@ckeditor/ckeditor5-ai 47.7.2-alpha.0 → 47.7.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (110) hide show
  1. package/build/ai.js +1 -1
  2. package/dist/index.js +5 -5
  3. package/package.json +15 -15
  4. package/src/aiactions/aiactions.js +1 -1
  5. package/src/aiactions/model/aiactionsinteraction.js +1 -1
  6. package/src/aiactions/model/aiactionsreply.js +1 -1
  7. package/src/aiassistant/adapters/awstextadapter.js +1 -1
  8. package/src/aiassistant/aiassistantediting.js +1 -1
  9. package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
  10. package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
  11. package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
  12. package/src/aiassistant/ui/form/aiformview.js +1 -1
  13. package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
  14. package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
  15. package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
  16. package/src/aiballoon/aiballoon.js +1 -1
  17. package/src/aichat/aichat.js +1 -1
  18. package/src/aichat/aichatballoon.js +1 -1
  19. package/src/aichat/aichatcontroller.js +1 -1
  20. package/src/aichat/aichatui.js +1 -1
  21. package/src/aichat/model/aichatcontext.js +1 -1
  22. package/src/aichat/model/aichatconversation.js +1 -1
  23. package/src/aichat/model/aichatinteraction.js +1 -1
  24. package/src/aichat/ui/aichatballoonview.js +1 -1
  25. package/src/aichat/ui/aichatcontrolsview.js +1 -1
  26. package/src/aichat/ui/aichatfeedview.js +1 -1
  27. package/src/aichat/ui/aichatheaderview.js +1 -1
  28. package/src/aichat/ui/aichatview.js +1 -1
  29. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
  30. package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
  31. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
  32. package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
  33. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
  34. package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
  35. package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
  36. package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +1 -1
  37. package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
  38. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
  39. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
  40. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
  41. package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
  42. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
  43. package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
  44. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
  45. package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
  46. package/src/aichat/utils/eventnames.js +1 -1
  47. package/src/aichathistory/aichathistory.js +1 -1
  48. package/src/aichathistory/aichathistorycontroller.js +1 -1
  49. package/src/aichathistory/aichathistoryui.js +1 -1
  50. package/src/aichathistory/model/aichathistoryconversations.js +1 -1
  51. package/src/aichathistory/model/aichathistoryitem.js +1 -1
  52. package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
  53. package/src/aichathistory/ui/aichathistorylistview.js +1 -1
  54. package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
  55. package/src/aichathistory/ui/aichathistoryview.js +1 -1
  56. package/src/aichatshortcuts/aichatshortcuts.js +1 -1
  57. package/src/aichatshortcuts/ui/aichatshortcutsview.js +1 -1
  58. package/src/aichatshortcuts/ui/aichatshortcutview.js +1 -1
  59. package/src/aicore/aiconnector.js +1 -1
  60. package/src/aicore/aiediting.js +1 -1
  61. package/src/aicore/model/aiinteraction.js +1 -1
  62. package/src/aicore/model/aimodels.js +1 -1
  63. package/src/aicore/model/aireply.js +1 -1
  64. package/src/aicore/pipeline/airesponseapplier.js +2 -2
  65. package/src/aicore/pipeline/airesponseparser.js +2 -2
  66. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  67. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  68. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  69. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartheaderview.js +1 -1
  70. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartstateview.js +1 -1
  71. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentparttoolbarview.js +1 -1
  72. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
  73. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  74. package/src/aicore/ui/suggestioncontainer/aisuggestionloaderview.js +1 -1
  75. package/src/aicore/ui/suggestioncontainer/aisuggestionstreamablecontentview.js +1 -1
  76. package/src/aicore/ui/suggestioncontainer/aiwebsourcesview.js +1 -1
  77. package/src/aicore/utils/documentposition.js +1 -1
  78. package/src/aicore/utils/documentrange.js +1 -1
  79. package/src/aicore/utils/geteditorfromcontext.js +1 -1
  80. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  81. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  82. package/src/aicore/utils/htmlparser.js +1 -1
  83. package/src/aicore/utils/htmlstreamer.js +1 -1
  84. package/src/aieditorintegration/aieditorintegration.js +1 -1
  85. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
  86. package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
  87. package/src/aiquickactions/aiquickactionscommand.js +1 -1
  88. package/src/aiquickactions/aiquickactionsui.js +1 -1
  89. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
  90. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  91. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
  92. package/src/aiquickactions/ui/aiquickactionsfilteredlistview.js +1 -1
  93. package/src/aiquickactions/ui/balloon/aiactionsballoonview.js +1 -1
  94. package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.js +1 -1
  95. package/src/aireviewcore/aireviewcorecontroller.js +1 -1
  96. package/src/aireviewcore/aireviewcoreediting.js +1 -1
  97. package/src/aireviewcore/aireviewcoreui.js +1 -1
  98. package/src/aireviewcore/ui/aireviewcoreballoonsuggestionview.js +1 -1
  99. package/src/aireviewcore/ui/aireviewcorechecklistitemresultview.js +1 -1
  100. package/src/aireviewcore/ui/aireviewcorecustomcheckview.js +1 -1
  101. package/src/aireviewcore/ui/aireviewcorepromptinputview.js +1 -1
  102. package/src/aireviewcore/ui/aireviewcorereviewchecklistview.js +1 -1
  103. package/src/aireviewcore/ui/aireviewcorereviewcommandlistitemview.js +1 -1
  104. package/src/aireviewcore/ui/aireviewcorereviewcompletedview.js +1 -1
  105. package/src/aireviewcore/ui/aireviewcoreuicheckresultsview.js +1 -1
  106. package/src/aireviewcore/ui/form/aireviewcoreformmanager.js +1 -1
  107. package/src/aireviewmode/aireviewmode.js +1 -1
  108. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  109. package/src/aitabs/aitabs.js +1 -1
  110. package/src/aitranslate/aitranslate.js +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-ai",
3
- "version": "47.7.2-alpha.0",
3
+ "version": "47.7.2",
4
4
  "description": "AI features for CKEditor 5.",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "author": "CKSource (http://cksource.com/)",
@@ -28,20 +28,20 @@
28
28
  "dist/translations/*.umd.js"
29
29
  ],
30
30
  "dependencies": {
31
- "@ckeditor/ckeditor5-clipboard": "47.7.2-alpha.0",
32
- "@ckeditor/ckeditor5-cloud-services": "47.7.2-alpha.0",
33
- "@ckeditor/ckeditor5-collaboration-core": "47.7.2-alpha.0",
34
- "@ckeditor/ckeditor5-core": "47.7.2-alpha.0",
35
- "@ckeditor/ckeditor5-engine": "47.7.2-alpha.0",
36
- "@ckeditor/ckeditor5-icons": "47.7.2-alpha.0",
37
- "@ckeditor/ckeditor5-markdown-gfm": "47.7.2-alpha.0",
38
- "@ckeditor/ckeditor5-real-time-collaboration": "47.7.2-alpha.0",
39
- "@ckeditor/ckeditor5-table": "47.7.2-alpha.0",
40
- "@ckeditor/ckeditor5-theme-lark": "47.7.2-alpha.0",
41
- "@ckeditor/ckeditor5-ui": "47.7.2-alpha.0",
42
- "@ckeditor/ckeditor5-utils": "47.7.2-alpha.0",
43
- "ckeditor5": "47.7.2-alpha.0",
44
- "ckeditor5-collaboration": "47.7.2-alpha.0",
31
+ "@ckeditor/ckeditor5-clipboard": "47.7.2",
32
+ "@ckeditor/ckeditor5-cloud-services": "47.7.2",
33
+ "@ckeditor/ckeditor5-collaboration-core": "47.7.2",
34
+ "@ckeditor/ckeditor5-core": "47.7.2",
35
+ "@ckeditor/ckeditor5-engine": "47.7.2",
36
+ "@ckeditor/ckeditor5-icons": "47.7.2",
37
+ "@ckeditor/ckeditor5-markdown-gfm": "47.7.2",
38
+ "@ckeditor/ckeditor5-real-time-collaboration": "47.7.2",
39
+ "@ckeditor/ckeditor5-table": "47.7.2",
40
+ "@ckeditor/ckeditor5-theme-lark": "47.7.2",
41
+ "@ckeditor/ckeditor5-ui": "47.7.2",
42
+ "@ckeditor/ckeditor5-utils": "47.7.2",
43
+ "ckeditor5": "47.7.2",
44
+ "ckeditor5-collaboration": "47.7.2",
45
45
  "diff": "8.0.3",
46
46
  "dom-serializer": "2.0.0",
47
47
  "domhandler": "5.0.3",
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4e645e=_0x2db9;function _0x2db9(_0x139f0d,_0x1344a6){const _0x1680ea=_0x1680();return _0x2db9=function(_0x2db90c,_0x2bc686){_0x2db90c=_0x2db90c-0x121;let _0x52b762=_0x1680ea[_0x2db90c];return _0x52b762;},_0x2db9(_0x139f0d,_0x1344a6);}(function(_0x5d8a97,_0x4a6063){const _0x97c0ed=_0x2db9,_0x5d7a60=_0x5d8a97();while(!![]){try{const _0x4457cf=parseInt(_0x97c0ed(0x1f3))/0x1+parseInt(_0x97c0ed(0x1b3))/0x2*(-parseInt(_0x97c0ed(0x1a1))/0x3)+parseInt(_0x97c0ed(0x1c4))/0x4+parseInt(_0x97c0ed(0x173))/0x5*(-parseInt(_0x97c0ed(0x1cf))/0x6)+parseInt(_0x97c0ed(0x158))/0x7*(parseInt(_0x97c0ed(0x15b))/0x8)+parseInt(_0x97c0ed(0x1d6))/0x9*(-parseInt(_0x97c0ed(0x138))/0xa)+-parseInt(_0x97c0ed(0x16a))/0xb;if(_0x4457cf===_0x4a6063)break;else _0x5d7a60['push'](_0x5d7a60['shift']());}catch(_0x1909ae){_0x5d7a60['push'](_0x5d7a60['shift']());}}}(_0x1680,0xc47d7));import{Plugin as _0x4adf4c}from'ckeditor5/src/core.js';import{AIConnector as _0x2a8410}from'../aicore/aiconnector.js';import{Dialog as _0x44f1cd,BodyCollection as _0x4eea69}from'ckeditor5/src/ui.js';import{AIEditing as _0x1c9bf8,AI_VISUAL_SELECTION_MARKER_NAME as _0x572ea5}from'../aicore/aiediting.js';import{AIActionsInteraction as _0x2f3c08}from'./model/aiactionsinteraction.js';import{CKEditorError as _0x2f2b4d,first as _0xaa9bbc}from'ckeditor5/src/utils.js';import{IconAIQuickActions as _0xcbe6e0}from'@ckeditor/ckeditor5-icons';import{AIBalloon as _0x1b1892}from'../aiballoon/aiballoon.js';import{PromiseQueue as _0x3c4ac4}from'../aichat/utils/promisequeue.js';import{getTranslation as _0x2208b6}from'../aicore/utils/common-translations.js';import{getSuggestionPartsFromReply as _0x54b0b9}from'../aicore/utils/getsuggestionpartsfromreply.js';import{DocumentCompare as _0x1ccdf3}from'ckeditor5-collaboration/src/collaboration-core.js';import{fixMarkerOperationOldRange as _0x2b7e69,getOperationsFromReply as _0x1710d9}from'../aicore/utils/getoperationsfromreply.js';import{ModelDocumentFragment as _0x4c91a6,ModelRange as _0x2c5cbd,ModelPosition as _0x39d850,_DetachOperation as _0x581e35,transformOperationSets as _0x4caed5}from'ckeditor5/src/engine.js';import{AI_REPLY_ACTIONS as _0x3125d9}from'../aichat/ui/feed/aichatfeedsuggestionitemactionsview.js';function _0x1680(){const _0x131bb6=['_refreshInteraction','5nJOjTx','sourcePosition','replyContentUpdated','map','applySuggestion','AIBalloon','TrackChanges','getSelectedTableCells','hideError','start','_executeAction','icon','getAncestors','Attribute','pending','position','updateContent','_execute','setChangeGroupState','open','affectsData','TableSelection','signal','selection','_getExecuteDataRegular','get','range','ai-no-track-changes','message','clone','operationsA','indexOf','close','schema','_clearInteractionHistory','markers','split','_appendChild','getChildAtOffset','root','slice','plugins','stopAutoScroll','clearContent','_applyChanges','_filterOperationsOutsideRange','15yQitce','createRange','toggleSuggestionDisplayMode','dialogClosed','Error\x20updating\x20content\x20in\x20replyCreated:','disableMiniToolbarButtons','showNext','ck-ai-actions-balloon','isOfficialPlugin','version','accepted','max','replyCreated','includes','isPremiumPlugin','history','isTableSelection','_interaction','189190MSluAv','_interactions','resetShowChangesButton','getCommonAncestor','end','showPrevious','getSelectedBlocks','hideLoader','_clearErrorState','set','AIActions','isCollapsed','getFirstRange','rootName','$graveyard','filter','some','5520268sCHwPm','replies','documentFragment','_currentInteractionIndex','stopInteraction','startsWith','interactionFinished','AIConnector','_clearLoadingState','_copyMarkersToFragment','_setLoadingState','4069086bRFKui','baseVersion','_setupApplyListeners','_setErrorState','batch','type','toggleIsLoading','702usyRCW','queueEmptyPromise','_getExecuteDataInTable','Error\x20updating\x20content\x20in\x20replyContentUpdated:','_createInteraction','push','selectionRemoved','state','hasError','streaming','_anchorOperation','_interactionParams','attachToDom','requires','createPositionFromPath','isEqual','Error\x20refreshing\x20interaction:','upsertAIActionRating','getRanges','destroy','containsRange','static','actionCallId','ai-request-aborted','stop','replyChangeGroupStateUpdated','focus','insertSuggestion','_displayInteractionAtIndex','889148QAvijD','path','changeGroups','move','change','getRange','_balloonShowDiff','name','applyOperation','remove','rename','createPositionAt','Error\x20updating\x20content\x20during\x20navigation:','document','stopListening','nodeAfter','getRoot','Error\x20updating\x20content\x20in\x20toggleSuggestionDisplayMode:','model','trackChanges','_actionsBalloonView','startAutoScroll','pluginName','_applyOperationsAsSuggestions','_createActionsBalloonView','detachFromDom','catch','ai.availableReplyActions','addOperation','insert','has','_regularCalculateMarkerPath','enqueue','reinsert','37950UfuNtT','length','merge','_wrapWithCommonAncestors','upsertCustomAIActionRating','commands','getOperations','_bodyCollection','howMany','isBusy','getChild','_clone','documentContextContent','_navigateToPrevious','setErrorState','rejected','random','TrackChangesEditing','bind','listenTo','showLoader','isTrackChangesOn','aiActionsBalloon','value','Error\x20clearing\x20loading\x20state\x20in\x20interactionFinished:','showError','_stopInteraction','locale','abort','editor','_promiseQueue','from','14axiSfN','stickiness','getDocumentContext','3789976OIcGGS','setSelection','config','_navigateToNext','isDocumentOperation','getLimitElement','getSelectionAsFragment','getSelectedContent','parent','createPositionBefore','AI_ACTIONS_GENERIC_ERROR','executeAction','nextSibling','actionName','_isAbortError','10611920FrrnCn','updateMiniToolbarButtons','modelToDataWithIds','error','_aiConnector','setIsLoading','tryAgain','createPositionAfter'];_0x1680=function(){return _0x131bb6;};return _0x1680();}import{AIActionsBalloonView as _0x18783b}from'../aiquickactions/ui/balloon/aiactionsballoonview.js';export class AIActions extends _0x4adf4c{static get[_0x4e645e(0x1e3)](){return[_0x2a8410,_0x44f1cd,_0x1c9bf8,_0x1b1892,_0x1ccdf3];}static get[_0x4e645e(0x12c)](){const _0x2f308d=_0x4e645e;return _0x2f308d(0x1bd);}static get[_0x4e645e(0x1a9)](){return!0x0;}static get[_0x4e645e(0x1af)](){return!0x0;}[_0x4e645e(0x16e)];[_0x4e645e(0x1b4)]=[];[_0x4e645e(0x1c7)]=0x0;[_0x4e645e(0x1e1)];[_0x4e645e(0x1f9)]=!0x1;[_0x4e645e(0x156)];[_0x4e645e(0x13f)];get[_0x4e645e(0x1b2)](){const _0x3e90f3=_0x4e645e;return this[_0x3e90f3(0x1b4)][this[_0x3e90f3(0x1b4)][_0x3e90f3(0x139)]-0x1];}[_0x4e645e(0x12a)];constructor(_0x547118){const _0x1d022a=_0x4e645e;super(_0x547118),this[_0x1d022a(0x13f)]=new _0x4eea69(this[_0x1d022a(0x155)][_0x1d022a(0x153)]),this[_0x1d022a(0x13f)][_0x1d022a(0x1e2)](),this[_0x1d022a(0x16e)]=this[_0x1d022a(0x155)][_0x1d022a(0x19c)][_0x1d022a(0x18c)](_0x1d022a(0x1cb)),this[_0x1d022a(0x1bc)](_0x1d022a(0x141),!0x1),this[_0x1d022a(0x156)]=new _0x3c4ac4();}[_0x4e645e(0x1c8)](){const _0x116887=_0x4e645e;this[_0x116887(0x152)]();}async[_0x4e645e(0x166)](_0x989a77,_0x15720f,_0xcc279f){const _0x3b2761=_0x4e645e;if(this[_0x3b2761(0x152)](),this[_0x3b2761(0x155)][_0x3b2761(0x19c)][_0x3b2761(0x134)](_0x3b2761(0x188))){if(this[_0x3b2761(0x155)][_0x3b2761(0x19c)][_0x3b2761(0x18c)](_0x3b2761(0x188))[_0x3b2761(0x17a)]()){const {modelFragment:_0x1b8b63,anchorData:_0x443fda}=this[_0x3b2761(0x1d8)]();return this[_0x3b2761(0x17d)](_0x989a77,_0x1b8b63,_0x443fda,_0x15720f,_0xcc279f);}}const {modelFragment:_0x18aac1,anchorData:_0xe44f98}=this[_0x3b2761(0x18b)]();return this[_0x3b2761(0x17d)](_0x989a77,_0x18aac1,_0xe44f98,_0x15720f,_0xcc279f);}async[_0x4e645e(0x1e9)](){const _0x1d2da5=_0x4e645e;return this[_0x1d2da5(0x152)](),this[_0x1d2da5(0x13f)][_0x1d2da5(0x12f)](),super[_0x1d2da5(0x1e9)]();}[_0x4e645e(0x12e)](){const _0x501533=_0x4e645e,_0xfcfc78=this[_0x501533(0x155)][_0x501533(0x19c)][_0x501533(0x134)](_0x501533(0x179));let _0x1dae5a=this[_0x501533(0x155)][_0x501533(0x15d)][_0x501533(0x18c)](_0x501533(0x131))||[..._0x3125d9];_0xfcfc78||(_0x1dae5a=_0x1dae5a[_0x501533(0x1c2)](_0x3f0ce6=>_0x501533(0x1f1)!=_0x3f0ce6));const _0x3feb0a=this[_0x501533(0x155)][_0x501533(0x13d)][_0x501533(0x18c)](_0x501533(0x129)),_0x2fcb8e=new _0x18783b(this[_0x501533(0x155)][_0x501533(0x153)],{'showApplyButton':!0x0,'showSuggestButton':_0xfcfc78,'miniToolbarConfig':{'showChanges':_0x501533(0x17e)},'availableActions':_0x1dae5a});return _0x2fcb8e[_0x501533(0x14a)](_0x501533(0x141))['to'](this),_0x3feb0a&&_0x2fcb8e[_0x501533(0x14a)](_0x501533(0x14d))['to'](_0x3feb0a,_0x501533(0x14f)),_0x2fcb8e['on'](_0x501533(0x170),()=>{const _0x176a1e=_0x501533;this[_0x176a1e(0x172)]();}),_0x2fcb8e['on'](_0x501533(0x1b8),()=>{const _0x552db6=_0x501533;this[_0x552db6(0x145)]();}),_0x2fcb8e['on'](_0x501533(0x1a7),()=>{const _0x3e0d69=_0x501533;this[_0x3e0d69(0x15e)]();}),_0x2fcb8e;}[_0x4e645e(0x18b)](){const _0x4960bc=_0x4e645e,_0x22e261=this[_0x4960bc(0x155)][_0x4960bc(0x128)][_0x4960bc(0x123)][_0x4960bc(0x18a)];if(_0x22e261[_0x4960bc(0x1be)]){const _0x44697c=_0xaa9bbc(_0x22e261[_0x4960bc(0x1b9)]())||this[_0x4960bc(0x155)][_0x4960bc(0x128)][_0x4960bc(0x194)][_0x4960bc(0x160)](_0x22e261);this[_0x4960bc(0x155)][_0x4960bc(0x128)][_0x4960bc(0x1f7)](_0x2398d9=>{const _0x6bd991=_0x4960bc;_0x2398d9[_0x6bd991(0x15c)](_0x44697c,'in');});}const _0x1905e6=_0x22e261[_0x4960bc(0x1bf)](),_0xd08f6c=this[_0x4960bc(0x13b)](this[_0x4960bc(0x155)][_0x4960bc(0x128)][_0x4960bc(0x162)](_0x22e261),_0x1905e6[_0x4960bc(0x17c)],_0x1905e6[_0x4960bc(0x1b7)]);this[_0x4960bc(0x1cd)](_0xd08f6c,_0x22e261,{'isTableSelection':!0x1});const _0x46d9d6=_0x22e261[_0x4960bc(0x1bf)]()[_0x4960bc(0x17c)],_0x307604=new Map();let _0x168e3d=_0xd08f6c;for(let _0x5c3353=0x0;_0x5c3353<_0x46d9d6[_0x4960bc(0x1f4)][_0x4960bc(0x139)];_0x5c3353++)_0x307604[_0x4960bc(0x1bc)](_0x168e3d,_0x46d9d6[_0x4960bc(0x1f4)][_0x5c3353]),_0x168e3d=_0x168e3d[_0x4960bc(0x142)](0x0);return{'modelFragment':_0xd08f6c,'anchorData':_0x307604};}[_0x4e645e(0x1d8)](){const _0x4b61ae=_0x4e645e,_0x9491e4=this[_0x4b61ae(0x155)][_0x4b61ae(0x128)][_0x4b61ae(0x123)][_0x4b61ae(0x18a)],_0x191d34=this[_0x4b61ae(0x155)][_0x4b61ae(0x19c)][_0x4b61ae(0x18c)](_0x4b61ae(0x188))[_0x4b61ae(0x161)](),_0xf0be4a=_0x9491e4[_0x4b61ae(0x1bf)]()[_0x4b61ae(0x17c)][_0x4b61ae(0x163)][_0x4b61ae(0x163)],_0x2a865c=this[_0x4b61ae(0x155)][_0x4b61ae(0x128)][_0x4b61ae(0x1a2)](this[_0x4b61ae(0x155)][_0x4b61ae(0x128)][_0x4b61ae(0x164)](_0xf0be4a),this[_0x4b61ae(0x155)][_0x4b61ae(0x128)][_0x4b61ae(0x171)](_0xf0be4a)),_0x13ee89=this[_0x4b61ae(0x13b)](_0x191d34,_0x2a865c[_0x4b61ae(0x17c)],_0x2a865c[_0x4b61ae(0x1b7)]);this[_0x4b61ae(0x1cd)](_0x13ee89,_0x9491e4,{'isTableSelection':!0x0});const _0x1e4c06=_0x9491e4[_0x4b61ae(0x1bf)]()[_0x4b61ae(0x17c)],_0x265fb7=new Map();let _0x1321f0=_0x13ee89;for(let _0x4e11ed=0x0;_0x4e11ed<_0x1e4c06[_0x4b61ae(0x1f4)][_0x4b61ae(0x139)];_0x4e11ed++)if(_0x265fb7[_0x4b61ae(0x1bc)](_0x1321f0,_0x1e4c06[_0x4b61ae(0x1f4)][_0x4e11ed]),_0x4e11ed<_0x1e4c06[_0x4b61ae(0x1f4)][_0x4b61ae(0x139)]-0x1)_0x1321f0=_0x1321f0[_0x4b61ae(0x142)](0x0);else{let _0x1df2f3=_0x1321f0[_0x4b61ae(0x167)];for(;_0x1df2f3;)_0x265fb7[_0x4b61ae(0x1bc)](_0x1df2f3,_0x1e4c06[_0x4b61ae(0x1f4)][_0x4e11ed]),_0x1df2f3=_0x1df2f3[_0x4b61ae(0x167)];}return{'modelFragment':_0x13ee89,'anchorData':_0x265fb7};}async[_0x4e645e(0x17d)](_0xcf8799,_0x119b23,_0x43fabe,_0x5095f4,_0x3d9db1){const _0x317434=_0x4e645e,_0x4f19d3=this[_0x317434(0x155)][_0x317434(0x19c)][_0x317434(0x18c)](_0x1c9bf8),_0x4d4044=this[_0x317434(0x155)][_0x317434(0x19c)][_0x317434(0x18c)](_0x1b1892),_0xb7dc68=this[_0x317434(0x155)][_0x317434(0x128)][_0x317434(0x123)][_0x317434(0x18a)],_0x4c51f2=await _0x4f19d3[_0x317434(0x16c)](_0x119b23),_0x56c6b7=this[_0x317434(0x155)][_0x317434(0x128)][_0x317434(0x123)][_0x317434(0x1aa)],_0x195423=[..._0xb7dc68[_0x317434(0x1e8)]()];return this[_0x317434(0x12a)]||(this[_0x317434(0x12a)]=this[_0x317434(0x12e)]()),this[_0x317434(0x195)](),this[_0x317434(0x1bb)](),this[_0x317434(0x12a)][_0x317434(0x19e)](),_0x4d4044[_0x317434(0x186)]({'index':0x3e8*Math[_0x317434(0x148)]()%0x3e8,'title':_0x5095f4,'icon':_0x3d9db1||_0xcbe6e0,'mainView':this[_0x317434(0x12a)],'class':_0x317434(0x1a8),'ranges':_0x195423,'id':_0x317434(0x14e)}),this[_0x317434(0x1ce)](),this[_0x317434(0x124)](this[_0x317434(0x12a)]),this[_0x317434(0x124)](_0x4d4044),this[_0x317434(0x1e1)]={'action':_0xcf8799,'content':_0x4c51f2,'version':_0x56c6b7,'aiBalloon':_0x4d4044,'modelFragment':_0x119b23,'anchorData':_0x43fabe},this[_0x317434(0x1d1)](),this[_0x317434(0x14b)](_0x4d4044,_0x317434(0x1dc),()=>{const _0x4fc466=_0x317434;this[_0x4fc466(0x152)](),this[_0x4fc466(0x12a)][_0x4fc466(0x1a6)]();}),this[_0x317434(0x14b)](_0x4d4044,_0x317434(0x1a4),(_0x29b03e,{id:_0x366b8f})=>{const _0x1a294e=_0x317434;if(_0x1a294e(0x14e)===_0x366b8f){if(this[_0x1a294e(0x1b2)]&&this[_0x1a294e(0x1b2)][_0x1a294e(0x1c5)][_0x1a294e(0x139)]>0x0){const _0x416625=this[_0x1a294e(0x1b2)][_0x1a294e(0x1c5)][this[_0x1a294e(0x1b2)][_0x1a294e(0x1c5)][_0x1a294e(0x139)]-0x1],_0x18b9dc=_0x416625[_0x1a294e(0x1f5)][0x0];_0x18b9dc&&_0x1a294e(0x181)===_0x18b9dc[_0x1a294e(0x1dd)]&&_0x416625[_0x1a294e(0x185)](0x0,_0x1a294e(0x147));}this[_0x1a294e(0x152)](),this[_0x1a294e(0x195)](),this[_0x1a294e(0x124)](this[_0x1a294e(0x12a)]),this[_0x1a294e(0x124)](_0x4d4044);}}),this[_0x317434(0x1da)](_0x4c51f2,_0x56c6b7,_0x4d4044,_0xcf8799);}[_0x4e645e(0x1d1)](){const _0x48c8d8=_0x4e645e;if(!this[_0x48c8d8(0x1e1)])return;const {modelFragment:_0x14803b,anchorData:_0x20727c}=this[_0x48c8d8(0x1e1)];this[_0x48c8d8(0x14b)](this[_0x48c8d8(0x12a)],_0x48c8d8(0x177),()=>{const _0x22df1f=_0x48c8d8;this[_0x22df1f(0x19f)](_0x14803b,_0x20727c,!0x1);}),this[_0x48c8d8(0x14b)](this[_0x48c8d8(0x12a)],_0x48c8d8(0x1f1),()=>{const _0x537b9c=_0x48c8d8;this[_0x537b9c(0x19f)](_0x14803b,_0x20727c,!0x0);});}[_0x4e645e(0x13b)](_0x4988d9,_0x3e3ced,_0x17ce04){const _0x46d38a=_0x4e645e,_0x2138ea=this[_0x46d38a(0x155)][_0x46d38a(0x128)][_0x46d38a(0x1a2)](_0x3e3ced,_0x17ce04)[_0x46d38a(0x1b6)](),_0x4fb3ee=_0x2138ea['is'](_0x46d38a(0x1c6))?[]:_0x2138ea[_0x46d38a(0x17f)]({'includeSelf':!0x0})[_0x46d38a(0x19b)](0x1);if(_0x4fb3ee[_0x46d38a(0x139)]){const _0x12c37c=_0x4fb3ee[_0x46d38a(0x176)](_0x1eaf51=>_0x1eaf51[_0x46d38a(0x143)](!0x1));for(let _0x5b3683=0x1;_0x5b3683<_0x12c37c[_0x46d38a(0x139)];_0x5b3683++)_0x12c37c[_0x5b3683-0x1][_0x46d38a(0x198)](_0x12c37c[_0x5b3683]);return _0x12c37c[_0x12c37c[_0x46d38a(0x139)]-0x1][_0x46d38a(0x198)](_0x4988d9),new _0x4c91a6(_0x12c37c[0x0]);}return _0x4988d9;}[_0x4e645e(0x1cd)](_0x3a3098,_0x4668f7,_0x39e92f={'isTableSelection':!0x1}){const _0x44e837=_0x4e645e,_0x6c2627=this[_0x44e837(0x155)][_0x44e837(0x128)],_0x5f0914=Array[_0x44e837(0x157)](_0x4668f7[_0x44e837(0x1e8)]()),_0x41a10a=_0x4668f7[_0x44e837(0x1bf)]()[_0x44e837(0x17c)];for(const _0xd59542 of _0x6c2627[_0x44e837(0x196)]){if(_0xd59542[_0x44e837(0x1fa)][_0x44e837(0x1c9)](_0x572ea5)||!_0xd59542[_0x44e837(0x187)])continue;const _0x42aa1a=_0xd59542[_0x44e837(0x1f8)]();if(!_0x5f0914[_0x44e837(0x1c3)](_0x3594bd=>_0x3594bd[_0x44e837(0x1ea)](_0x42aa1a,!0x0)))continue;const _0xf7c2e9=this[_0x44e837(0x135)](_0x42aa1a[_0x44e837(0x17c)],_0x41a10a,_0x39e92f[_0x44e837(0x1b1)]),_0x159780=this[_0x44e837(0x135)](_0x42aa1a[_0x44e837(0x1b7)],_0x41a10a,_0x39e92f[_0x44e837(0x1b1)]),_0x5b5afe=_0x6c2627[_0x44e837(0x1e4)](_0x3a3098,_0xf7c2e9),_0x31de14=_0x6c2627[_0x44e837(0x1e4)](_0x3a3098,_0x159780);if(!_0x5b5afe[_0x44e837(0x1e5)](_0x31de14)){const _0x821172=_0x6c2627[_0x44e837(0x1a2)](_0x5b5afe,_0x31de14);_0x3a3098[_0x44e837(0x196)][_0x44e837(0x1bc)](_0xd59542[_0x44e837(0x1fa)],_0x821172);}}}[_0x4e645e(0x135)](_0x5e4e27,_0x19a82f,_0x402ff7=!0x1){const _0x4f3f2c=_0x4e645e,_0x49a741=[..._0x5e4e27[_0x4f3f2c(0x1f4)][_0x4f3f2c(0x19b)]()];for(let _0x7736d5=0x0;_0x7736d5<Math[_0x4f3f2c(0x1ac)](_0x19a82f[_0x4f3f2c(0x1f4)][_0x4f3f2c(0x139)],_0x5e4e27[_0x4f3f2c(0x1f4)][_0x4f3f2c(0x139)]);_0x7736d5++){const _0x2bd55a=_0x19a82f[_0x4f3f2c(0x1f4)][_0x7736d5]||0x0,_0x27d8fe=(_0x5e4e27[_0x4f3f2c(0x1f4)][_0x7736d5]||0x0)-_0x2bd55a;if(_0x49a741[_0x7736d5]=_0x27d8fe,0x0!==_0x27d8fe&&!_0x402ff7)break;}return _0x49a741;}async[_0x4e645e(0x1da)](_0x104b1e,_0x18afa0,_0x5afd16,_0x5472f3){const _0x475d09=_0x4e645e,_0x26e684=this[_0x475d09(0x155)];this[_0x475d09(0x1e1)]||(this[_0x475d09(0x1e1)]={'action':_0x5472f3,'content':_0x104b1e,'version':_0x18afa0,'aiBalloon':_0x5afd16,'modelFragment':this[_0x475d09(0x155)][_0x475d09(0x128)][_0x475d09(0x162)](this[_0x475d09(0x155)][_0x475d09(0x128)][_0x475d09(0x123)][_0x475d09(0x18a)]),'anchorData':new Map()});const _0x3cfc40=new _0x2f3c08({'connector':this[_0x475d09(0x16e)],'editor':_0x26e684,'content':_0x104b1e,'version':_0x18afa0,..._0x5472f3});this[_0x475d09(0x1b4)][_0x475d09(0x1db)](_0x3cfc40);const _0x4bfb7e=(_0x11089e,_0x27dc49=!0x1,_0x1cc12b=_0x475d09(0x1df))=>this[_0x475d09(0x156)][_0x475d09(0x136)](async _0x417fe0=>{const _0x3eeedf=_0x475d09;try{const _0x1221c1=_0x54b0b9({'editor':_0x26e684,'changeGroups':_0x11089e[_0x3eeedf(0x1f5)],'documentContextContent':_0x11089e[_0x3eeedf(0x144)],'showDiff':_0x27dc49,'trimUnchanged':!0x1});_0x1221c1[_0x3eeedf(0x139)]&&await this[_0x3eeedf(0x12a)][_0x3eeedf(0x183)]({'part':_0x1221c1[0x0],'renderingStrategy':_0x1cc12b,'abortSignal':_0x417fe0});}catch(_0x2bc264){if(this[_0x3eeedf(0x169)](_0x2bc264))return;throw _0x2bc264;}});this[_0x475d09(0x1b2)]['on'](_0x475d09(0x1ad),(_0xc114,_0x2ab432)=>{const _0x60e271=_0x475d09;this[_0x60e271(0x12a)][_0x60e271(0x1ba)](),this[_0x60e271(0x12a)][_0x60e271(0x12b)](),_0x4bfb7e(_0x2ab432)[_0x60e271(0x130)](_0x2591b1=>{const _0x1d10dc=_0x60e271;this[_0x1d10dc(0x169)](_0x2591b1)||(console[_0x1d10dc(0x16d)](_0x1d10dc(0x1a5),_0x2591b1),this[_0x1d10dc(0x1d2)](_0x3cfc40));});}),this[_0x475d09(0x1b2)]['on'](_0x475d09(0x175),(_0x597fcd,_0x5bc5a0)=>{const _0x44a75f=_0x475d09;_0x4bfb7e(_0x5bc5a0)[_0x44a75f(0x130)](_0x1827c9=>{const _0x4c38b3=_0x44a75f;this[_0x4c38b3(0x169)](_0x1827c9)||(console[_0x4c38b3(0x16d)](_0x4c38b3(0x1d9),_0x1827c9),this[_0x4c38b3(0x1d2)](_0x3cfc40));});}),this[_0x475d09(0x1b2)]['on'](_0x475d09(0x1ca),async()=>{const _0x40f27a=_0x475d09;try{await this[_0x40f27a(0x1cc)](),this[_0x40f27a(0x12a)][_0x40f27a(0x16b)](this[_0x40f27a(0x1b4)][_0x40f27a(0x139)],this[_0x40f27a(0x1c7)]),await this[_0x40f27a(0x156)][_0x40f27a(0x1d7)];}catch(_0x5c7160){this[_0x40f27a(0x169)](_0x5c7160)||(console[_0x40f27a(0x16d)](_0x40f27a(0x150),_0x5c7160),this[_0x40f27a(0x1d2)](_0x3cfc40));}finally{this[_0x40f27a(0x12a)][_0x40f27a(0x19d)]();}}),this[_0x475d09(0x14b)](this[_0x475d09(0x12a)],_0x475d09(0x1a3),async(_0x2c2bd8,{showDiff:_0x4cfea2})=>{const _0x48e435=_0x475d09;try{this[_0x48e435(0x1f9)]=_0x4cfea2;const _0x5089fe=this[_0x48e435(0x1b2)][_0x48e435(0x1c5)][this[_0x48e435(0x1b2)][_0x48e435(0x1c5)][_0x48e435(0x139)]-0x1];_0x5089fe&&await _0x4bfb7e(_0x5089fe,_0x4cfea2,_0x48e435(0x1eb));}catch(_0x2ec614){this[_0x48e435(0x169)](_0x2ec614)||(console[_0x48e435(0x16d)](_0x48e435(0x127),_0x2ec614),this[_0x48e435(0x1d2)](_0x3cfc40));}}),this[_0x475d09(0x1b2)]['on'](_0x475d09(0x1ef),(_0x2f5666,{reply:_0x378079})=>{const _0x165b80=_0x475d09,_0x73ef8f={'positiveCount':_0x378079[_0x165b80(0x1f5)][_0x165b80(0x1c2)](_0x4e4cf1=>_0x165b80(0x1ab)===_0x4e4cf1[_0x165b80(0x1dd)])[_0x165b80(0x139)],'totalCount':_0x378079[_0x165b80(0x1f5)][_0x165b80(0x139)]},_0x47e0de=this[_0x165b80(0x1b2)][_0x165b80(0x1ec)],_0x2a04c3=this[_0x165b80(0x1b2)][_0x165b80(0x168)];_0x2a04c3?this[_0x165b80(0x16e)][_0x165b80(0x1e7)](_0x2a04c3,_0x47e0de,_0x73ef8f):this[_0x165b80(0x16e)][_0x165b80(0x13c)](_0x47e0de,_0x73ef8f);}),this[_0x475d09(0x1ce)]();try{const _0x3f61ab=await this[_0x475d09(0x1b2)][_0x475d09(0x17c)]();return this[_0x475d09(0x12a)][_0x475d09(0x16b)](this[_0x475d09(0x1b4)][_0x475d09(0x139)],this[_0x475d09(0x1c7)]),_0x3f61ab;}catch(_0x236df1){if(this[_0x475d09(0x169)](_0x236df1))return;this[_0x475d09(0x12a)][_0x475d09(0x1ba)](),this[_0x475d09(0x1d2)](_0x3cfc40);}}[_0x4e645e(0x19f)](_0x49c5da,_0x55bc71,_0x361dc2){const _0x4b11ed=_0x4e645e,_0x4f930f=this[_0x4b11ed(0x155)];if(_0x361dc2&&!_0x4f930f[_0x4b11ed(0x19c)][_0x4b11ed(0x134)](_0x4b11ed(0x179)))throw new _0x2f2b4d(_0x4b11ed(0x18e),null);const _0x160c84=this[_0x4b11ed(0x155)][_0x4b11ed(0x19c)][_0x4b11ed(0x18c)](_0x1ccdf3),_0xa43f3=this[_0x4b11ed(0x1b4)][this[_0x4b11ed(0x1b4)][_0x4b11ed(0x139)]-0x1-this[_0x4b11ed(0x1c7)]];if(!_0xa43f3||!_0xa43f3[_0x4b11ed(0x1c5)][_0x4b11ed(0x139)])return;const _0x4c5764=_0xa43f3[_0x4b11ed(0x1c5)][_0xa43f3[_0x4b11ed(0x1c5)][_0x4b11ed(0x139)]-0x1],_0x3627f0=_0x4c5764[_0x4b11ed(0x1f5)];_0x4c5764[_0x4b11ed(0x185)](0x0,_0x4b11ed(0x1ab));let _0x52d142=_0x1710d9({'editor':_0x4f930f,'reply':_0x4c5764,'interaction':_0xa43f3,'groups':_0x3627f0,'transform':!0x1,'documentCompare':_0x160c84,'documentCompareOptions':{'anchor':_0x4f930f[_0x4b11ed(0x128)][_0x4b11ed(0x121)](_0x49c5da,0x0),'markDeletions':_0x361dc2}});_0x52d142=this[_0x4b11ed(0x1a0)](_0x52d142,_0x55bc71);for(const _0x51f3e5 of _0x52d142)this[_0x4b11ed(0x1e0)](_0x55bc71,_0x51f3e5,_0x4f930f[_0x4b11ed(0x128)][_0x4b11ed(0x123)][_0x4b11ed(0x126)]());const _0x47f22c=_0xa43f3[_0x4b11ed(0x15a)]()[_0x4b11ed(0x1aa)],_0x2908f8=_0x4f930f[_0x4b11ed(0x128)][_0x4b11ed(0x123)][_0x4b11ed(0x1b0)][_0x4b11ed(0x13e)](_0x47f22c),_0x547c15={'document':_0x4f930f[_0x4b11ed(0x128)][_0x4b11ed(0x123)],'useRelations':!0x1,'padWithNoOps':!0x1},_0x4b5504=_0x4caed5(_0x52d142,_0x2908f8,_0x547c15)[_0x4b11ed(0x191)];_0x4f930f[_0x4b11ed(0x128)][_0x4b11ed(0x1f7)](_0x26c79f=>{const _0x50a943=_0x4b11ed;if(_0x26c79f[_0x50a943(0x15c)](_0x4f930f[_0x50a943(0x128)][_0x50a943(0x123)][_0x50a943(0x18a)][_0x50a943(0x1f0)]),_0x361dc2)_0x4f930f[_0x50a943(0x19c)][_0x50a943(0x18c)](_0x50a943(0x149))[_0x50a943(0x12d)](_0x4b5504);else{for(const _0x29e065 of _0x4b5504)_0x29e065[_0x50a943(0x1d0)]=_0x4f930f[_0x50a943(0x128)][_0x50a943(0x123)][_0x50a943(0x1aa)],_0x2b7e69(_0x4f930f,_0x29e065),_0x26c79f[_0x50a943(0x1d3)][_0x50a943(0x132)](_0x29e065),_0x4f930f[_0x50a943(0x128)][_0x50a943(0x1fb)](_0x29e065);}}),this[_0x4b11ed(0x155)][_0x4b11ed(0x19c)][_0x4b11ed(0x18c)](_0x4b11ed(0x178))[_0x4b11ed(0x193)]();}[_0x4e645e(0x1a0)](_0x598015,_0x1f1da3){const _0x366f9c=_0x4e645e;return _0x598015[_0x366f9c(0x1c2)](_0x59a186=>{const _0x27966f=_0x366f9c;if(_0x27966f(0x1fd)==_0x59a186[_0x27966f(0x1d4)]){const _0x1a59fd=_0x59a186[_0x27966f(0x182)][_0x27966f(0x125)];return!_0x1f1da3[_0x27966f(0x134)](_0x1a59fd);}if(_0x59a186[_0x27966f(0x1d4)][_0x27966f(0x192)](_0x27966f(0x180))>-0x1){const _0x347e0c=_0x59a186[_0x27966f(0x18d)][_0x27966f(0x17c)][_0x27966f(0x125)];return!_0x1f1da3[_0x27966f(0x134)](_0x347e0c);}return!0x0;});}[_0x4e645e(0x1e0)](_0x2a3faf,_0x322d6f,_0x5a1382){const _0x48d381=_0x4e645e,_0x4cfdbc=_0x322d6f[_0x48d381(0x190)]();for(const _0x1efeaf in _0x322d6f){const _0x5533a1=_0x322d6f[_0x1efeaf];_0x5533a1 instanceof _0x2c5cbd?_0x322d6f[_0x1efeaf]=new _0x2c5cbd(_0x5bf4e6(_0x5533a1[_0x48d381(0x17c)]),_0x5bf4e6(_0x5533a1[_0x48d381(0x1b7)])):_0x5533a1 instanceof _0x39d850&&(_0x322d6f[_0x1efeaf]=_0x5bf4e6(_0x5533a1));}if([_0x48d381(0x133),_0x48d381(0x1f6),_0x48d381(0x1fc),_0x48d381(0x137),_0x48d381(0x197),_0x48d381(0x13a)][_0x48d381(0x1ae)](_0x4cfdbc[_0x48d381(0x1d4)])){if(_0x4cfdbc[_0x48d381(0x15f)]=!0x1,_0x4cfdbc[_0x48d381(0x1d0)]=null,_0x48d381(0x1fc)==_0x4cfdbc[_0x48d381(0x1d4)]){const _0x1aeac6=_0x4cfdbc[_0x48d381(0x174)],_0x11bbb1=_0x4cfdbc[_0x48d381(0x140)];new _0x581e35(_0x1aeac6,_0x11bbb1)[_0x48d381(0x184)]();}else _0x4cfdbc[_0x48d381(0x184)]();}function _0x5bf4e6(_0x64f360){const _0x552b93=_0x48d381;if(_0x552b93(0x1c1)==_0x64f360[_0x552b93(0x19a)][_0x552b93(0x1c0)])return _0x64f360;const _0x12f0e5=[];let _0x39c13e=_0x64f360[_0x552b93(0x19a)];for(let _0x3d4334=0x0;_0x3d4334<_0x64f360[_0x552b93(0x1f4)][_0x552b93(0x139)];_0x3d4334++){const _0x5dd795=_0x2a3faf[_0x552b93(0x18c)](_0x39c13e)||0x0;_0x12f0e5[_0x3d4334]=_0x64f360[_0x552b93(0x1f4)][_0x3d4334]+_0x5dd795,_0x39c13e=_0x39c13e[_0x552b93(0x199)](_0x64f360[_0x552b93(0x1f4)][_0x3d4334]);}return new _0x39d850(_0x5a1382,_0x12f0e5,_0x64f360[_0x552b93(0x159)]);}}[_0x4e645e(0x172)](){const _0x664f90=_0x4e645e;if(!this[_0x664f90(0x1e1)])return;this[_0x664f90(0x1b4)][_0x664f90(0x139)]>0x0&&this[_0x664f90(0x152)](),this[_0x664f90(0x1c7)]=0x0,this[_0x664f90(0x1f9)]=!0x1;const {action:_0x23d079,content:_0x56c877,version:_0x2f28c6,aiBalloon:_0x434220}=this[_0x664f90(0x1e1)];this[_0x664f90(0x1bb)](),this[_0x664f90(0x12a)][_0x664f90(0x19e)](),this[_0x664f90(0x12a)][_0x664f90(0x14c)](),this[_0x664f90(0x12a)][_0x664f90(0x1b5)](),this[_0x664f90(0x12a)][_0x664f90(0x16b)](this[_0x664f90(0x1b4)][_0x664f90(0x139)],this[_0x664f90(0x1c7)]),this[_0x664f90(0x124)](this[_0x664f90(0x12a)]),this[_0x664f90(0x1d1)](),this[_0x664f90(0x1da)](_0x56c877,_0x2f28c6,_0x434220,_0x23d079)[_0x664f90(0x130)](_0x30b862=>{const _0x27cf69=_0x664f90;this[_0x27cf69(0x169)](_0x30b862)||console[_0x27cf69(0x16d)](_0x27cf69(0x1e6),_0x30b862);});}[_0x4e645e(0x169)](_0x582eb0){const _0x1547a9=_0x4e645e;return!!_0x582eb0[_0x1547a9(0x18f)]&&_0x582eb0[_0x1547a9(0x18f)][_0x1547a9(0x1c9)](_0x1547a9(0x1ed));}[_0x4e645e(0x195)](){const _0x52b20f=_0x4e645e;this[_0x52b20f(0x1b4)]=[],this[_0x52b20f(0x1e1)]=void 0x0,this[_0x52b20f(0x1c7)]=0x0,this[_0x52b20f(0x12a)][_0x52b20f(0x16b)](this[_0x52b20f(0x1b4)][_0x52b20f(0x139)],this[_0x52b20f(0x1c7)]);}[_0x4e645e(0x152)](){const _0x5c0a98=_0x4e645e;this[_0x5c0a98(0x1b2)]&&this[_0x5c0a98(0x1b2)][_0x5c0a98(0x1ee)](),this[_0x5c0a98(0x156)][_0x5c0a98(0x154)](),this[_0x5c0a98(0x141)]=!0x1,this[_0x5c0a98(0x1e1)]&&this[_0x5c0a98(0x12a)][_0x5c0a98(0x19d)]();}[_0x4e645e(0x145)](){const _0x33eed9=_0x4e645e,_0x3a1f9c=this[_0x33eed9(0x1b4)][_0x33eed9(0x139)];this[_0x33eed9(0x1c7)]<_0x3a1f9c-0x1&&this[_0x33eed9(0x1f2)](this[_0x33eed9(0x1c7)]+0x1);}[_0x4e645e(0x15e)](){const _0x320f25=_0x4e645e;this[_0x320f25(0x1c7)]>0x0&&this[_0x320f25(0x1f2)](this[_0x320f25(0x1c7)]-0x1);}async[_0x4e645e(0x1f2)](_0x311ce9){const _0x2d67df=_0x4e645e;if(!this[_0x2d67df(0x1e1)])return;this[_0x2d67df(0x1c7)]=_0x311ce9;const _0x3dda3e=this[_0x2d67df(0x1b4)][this[_0x2d67df(0x1b4)][_0x2d67df(0x139)]-0x1-this[_0x2d67df(0x1c7)]];if(!_0x3dda3e)return;if(_0x3dda3e[_0x2d67df(0x1de)])return this[_0x2d67df(0x1d2)](_0x3dda3e),void this[_0x2d67df(0x12a)][_0x2d67df(0x16b)](this[_0x2d67df(0x1b4)][_0x2d67df(0x139)],this[_0x2d67df(0x1c7)]);if(!_0x3dda3e[_0x2d67df(0x1c5)][_0x2d67df(0x139)])return;this[_0x2d67df(0x12a)][_0x2d67df(0x17b)](),this[_0x2d67df(0x1e1)]&&this[_0x2d67df(0x1bb)]();const _0x467a87=_0x3dda3e[_0x2d67df(0x1c5)][_0x3dda3e[_0x2d67df(0x1c5)][_0x2d67df(0x139)]-0x1];if(_0x467a87){const _0x236318=this[_0x2d67df(0x155)];try{const _0x3d0b48=_0x54b0b9({'editor':_0x236318,'changeGroups':_0x467a87[_0x2d67df(0x1f5)],'documentContextContent':_0x467a87[_0x2d67df(0x144)],'showDiff':this[_0x2d67df(0x1f9)],'trimUnchanged':!0x1});await new Promise(_0x3e1f2f=>setTimeout(_0x3e1f2f,0x32)),await this[_0x2d67df(0x12a)][_0x2d67df(0x183)]({'part':_0x3d0b48[0x0],'renderingStrategy':_0x2d67df(0x1eb),'abortSignal':new AbortController()[_0x2d67df(0x189)]});}catch(_0x487198){this[_0x2d67df(0x169)](_0x487198)||console[_0x2d67df(0x16d)](_0x2d67df(0x122),_0x487198);}}this[_0x2d67df(0x12a)][_0x2d67df(0x16b)](this[_0x2d67df(0x1b4)][_0x2d67df(0x139)],this[_0x2d67df(0x1c7)]);}[_0x4e645e(0x1ce)](){const _0x19f89c=_0x4e645e;this[_0x19f89c(0x12a)][_0x19f89c(0x16f)](!0x0),this[_0x19f89c(0x141)]=!0x0;}async[_0x4e645e(0x1d2)](_0x3ca277){const _0x4b7ef3=_0x4e645e,_0x4a908e=_0x2208b6(this[_0x4b7ef3(0x155)][_0x4b7ef3(0x153)],_0x4b7ef3(0x165));this[_0x4b7ef3(0x12a)][_0x4b7ef3(0x151)](_0x4a908e),_0x3ca277[_0x4b7ef3(0x1de)]=!0x0,await this[_0x4b7ef3(0x156)][_0x4b7ef3(0x1d7)],this[_0x4b7ef3(0x12a)][_0x4b7ef3(0x146)](),this[_0x4b7ef3(0x12a)][_0x4b7ef3(0x1d5)](!0x0);}[_0x4e645e(0x1bb)](){const _0x2cb1c2=_0x4e645e;this[_0x2cb1c2(0x12a)][_0x2cb1c2(0x17b)](),this[_0x2cb1c2(0x12a)][_0x2cb1c2(0x1d5)](!0x1);}async[_0x4e645e(0x1cc)](){const _0x177002=_0x4e645e;await this[_0x177002(0x156)][_0x177002(0x1d7)],this[_0x177002(0x141)]=!0x1,this[_0x177002(0x12a)][_0x177002(0x16f)](!0x1);}}
23
+ const _0x54ed73=_0x546f;(function(_0x42d746,_0x510eb7){const _0x5a0d9f=_0x546f,_0x77a6b3=_0x42d746();while(!![]){try{const _0x28c27e=parseInt(_0x5a0d9f(0x1aa))/0x1*(-parseInt(_0x5a0d9f(0xe7))/0x2)+-parseInt(_0x5a0d9f(0x153))/0x3*(-parseInt(_0x5a0d9f(0x10b))/0x4)+-parseInt(_0x5a0d9f(0x118))/0x5*(-parseInt(_0x5a0d9f(0x103))/0x6)+-parseInt(_0x5a0d9f(0x1a2))/0x7+-parseInt(_0x5a0d9f(0xfa))/0x8*(parseInt(_0x5a0d9f(0x132))/0x9)+-parseInt(_0x5a0d9f(0x16f))/0xa*(parseInt(_0x5a0d9f(0x154))/0xb)+-parseInt(_0x5a0d9f(0x106))/0xc*(-parseInt(_0x5a0d9f(0x167))/0xd);if(_0x28c27e===_0x510eb7)break;else _0x77a6b3['push'](_0x77a6b3['shift']());}catch(_0x548980){_0x77a6b3['push'](_0x77a6b3['shift']());}}}(_0x3f31,0xa02c0));import{Plugin as _0x2d3be1}from'ckeditor5/src/core.js';import{AIConnector as _0xbb2ad8}from'../aicore/aiconnector.js';import{Dialog as _0x1b676f,BodyCollection as _0x2749d3}from'ckeditor5/src/ui.js';import{AIEditing as _0xa3fd21,AI_VISUAL_SELECTION_MARKER_NAME as _0x1ecc9a}from'../aicore/aiediting.js';import{AIActionsInteraction as _0xc3a897}from'./model/aiactionsinteraction.js';import{CKEditorError as _0xc121f5,first as _0x2e46a5}from'ckeditor5/src/utils.js';import{IconAIQuickActions as _0x386f2c}from'@ckeditor/ckeditor5-icons';import{AIBalloon as _0x2becc5}from'../aiballoon/aiballoon.js';function _0x3f31(){const _0x3bb205=['_createActionsBalloonView','hideLoader','range','_createInteraction','some','getRanges','clone','ai-no-track-changes','670084weitBw','get','upsertAIActionRating','replyChangeGroupStateUpdated','getOperations','nextSibling','replyCreated','stickiness','static','history','createPositionAt','stopAutoScroll','applyOperation','stop','modelToDataWithIds','getRange','parent','pluginName','commands','16dpQwkX','_setErrorState','model','icon','signal','TableSelection','queueEmptyPromise','Error\x20refreshing\x20interaction:','isTableSelection','6ZbUkmX','_actionsBalloonView','remove','33871044akiKsM','stopListening','start','hideError','path','722576NtzaLC','showNext','aiActionsBalloon','detachFromDom','value','executeAction','locale','random','_applyOperationsAsSuggestions','destroy','toggleIsLoading','_clearLoadingState','Error\x20updating\x20content\x20in\x20replyCreated:','2028205oldfBH','getSelectedBlocks','containsRange','showLoader','getRoot','end','_appendChild','plugins','merge','setErrorState','enqueue','abort','_execute','Error\x20updating\x20content\x20in\x20toggleSuggestionDisplayMode:','version','Attribute','resetShowChangesButton','from','ai.availableReplyActions','filter','trackChanges','documentFragment','requires','markers','hasError','_wrapWithCommonAncestors','4997232uzQGDL','setIsLoading','upsertCustomAIActionRating','editor','_filterOperationsOutsideRange','_navigateToNext','listenTo','isCollapsed','getChild','catch','_applyChanges','root','createPositionAfter','TrackChanges','_refreshInteraction','_clearInteractionHistory','AIActions','_balloonShowDiff','replyContentUpdated','getSelectionAsFragment','_executeAction','max','showError','reinsert','getAncestors','startAutoScroll','_interaction','open','includes','TrackChangesEditing','change','Error\x20updating\x20content\x20in\x20replyContentUpdated:','_getExecuteDataRegular','6SlkOjX','11283074ZtFnVe','AIConnector','getSelectedContent','bind','_currentInteractionIndex','close','indexOf','_setLoadingState','ai-request-aborted','clearContent','nodeAfter','Error\x20updating\x20content\x20during\x20navigation:','message','operationsA','insert','streaming','split','push','_interactions','13VCLSZD','batch','focus','howMany','insertSuggestion','schema','Error\x20clearing\x20loading\x20state\x20in\x20interactionFinished:','accepted','10Wjdiru','$graveyard','rootName','_clone','length','addOperation','getCommonAncestor','state','_promiseQueue','createRange','_copyMarkersToFragment','position','slice','_getExecuteDataInTable','isTrackChangesOn','document','disableMiniToolbarButtons','_navigateToPrevious','showPrevious','_clearErrorState','tryAgain','rejected','toggleSuggestionDisplayMode','type','baseVersion','_regularCalculateMarkerPath','map','applySuggestion','getDocumentContext','setSelection','_bodyCollection','_interactionParams','name','documentContextContent','getFirstRange','getChildAtOffset','rename','ck-ai-actions-balloon','_isAbortError','move','selectionRemoved','isDocumentOperation','_aiConnector','affectsData','isPremiumPlugin','replies','createPositionFromPath','selection','_anchorOperation','stopInteraction','_setupApplyListeners','889966SkBZwI','isEqual','_displayInteractionAtIndex','error','attachToDom','pending','AIBalloon','interactionFinished','2nmfKri','getLimitElement','AI_ACTIONS_GENERIC_ERROR','changeGroups','actionCallId','dialogClosed','createPositionBefore','startsWith','has','getSelectedTableCells','actionName','setChangeGroupState','set','updateContent','isOfficialPlugin','updateMiniToolbarButtons','isBusy','sourcePosition','_stopInteraction','config'];_0x3f31=function(){return _0x3bb205;};return _0x3f31();}import{PromiseQueue as _0x471b38}from'../aichat/utils/promisequeue.js';import{getTranslation as _0x502259}from'../aicore/utils/common-translations.js';function _0x546f(_0x22f50d,_0x42ebac){const _0x3f314d=_0x3f31();return _0x546f=function(_0x546f86,_0x17ce90){_0x546f86=_0x546f86-0xd4;let _0x247d34=_0x3f314d[_0x546f86];return _0x247d34;},_0x546f(_0x22f50d,_0x42ebac);}import{getSuggestionPartsFromReply as _0x48aa6c}from'../aicore/utils/getsuggestionpartsfromreply.js';import{DocumentCompare as _0x1a2edd}from'ckeditor5-collaboration/src/collaboration-core.js';import{fixMarkerOperationOldRange as _0xa599d,getOperationsFromReply as _0x4c29be}from'../aicore/utils/getoperationsfromreply.js';import{ModelDocumentFragment as _0xf75a4d,ModelRange as _0x11a745,ModelPosition as _0x10b9b7,_DetachOperation as _0x2952c0,transformOperationSets as _0x372093}from'ckeditor5/src/engine.js';import{AI_REPLY_ACTIONS as _0x367067}from'../aichat/ui/feed/aichatfeedsuggestionitemactionsview.js';import{AIActionsBalloonView as _0xa34efa}from'../aiquickactions/ui/balloon/aiactionsballoonview.js';export class AIActions extends _0x2d3be1{static get[_0x54ed73(0x12e)](){return[_0xbb2ad8,_0x1b676f,_0xa3fd21,_0x2becc5,_0x1a2edd];}static get[_0x54ed73(0xf8)](){const _0x450bd1=_0x54ed73;return _0x450bd1(0x142);}static get[_0x54ed73(0xd9)](){return!0x0;}static get[_0x54ed73(0x19b)](){return!0x0;}[_0x54ed73(0x199)];[_0x54ed73(0x166)]=[];[_0x54ed73(0x158)]=0x0;[_0x54ed73(0x18e)];[_0x54ed73(0x143)]=!0x1;[_0x54ed73(0x177)];[_0x54ed73(0x18d)];get[_0x54ed73(0x14c)](){const _0x543d25=_0x54ed73;return this[_0x543d25(0x166)][this[_0x543d25(0x166)][_0x543d25(0x173)]-0x1];}[_0x54ed73(0x104)];constructor(_0x42c2a0){const _0x54d0a3=_0x54ed73;super(_0x42c2a0),this[_0x54d0a3(0x18d)]=new _0x2749d3(this[_0x54d0a3(0x135)][_0x54d0a3(0x111)]),this[_0x54d0a3(0x18d)][_0x54d0a3(0x1a6)](),this[_0x54d0a3(0x199)]=this[_0x54d0a3(0x135)][_0x54d0a3(0x11f)][_0x54d0a3(0xe8)](_0x54d0a3(0x155)),this[_0x54d0a3(0xd7)](_0x54d0a3(0xdb),!0x1),this[_0x54d0a3(0x177)]=new _0x471b38();}[_0x54ed73(0x1a0)](){const _0x3231df=_0x54ed73;this[_0x3231df(0xdd)]();}async[_0x54ed73(0x110)](_0x5affe0,_0x5c41f3,_0xd5b02b){const _0x4b7d7a=_0x54ed73;if(this[_0x4b7d7a(0xdd)](),this[_0x4b7d7a(0x135)][_0x4b7d7a(0x11f)][_0x4b7d7a(0x1b2)](_0x4b7d7a(0xff))){if(this[_0x4b7d7a(0x135)][_0x4b7d7a(0x11f)][_0x4b7d7a(0xe8)](_0x4b7d7a(0xff))[_0x4b7d7a(0xd4)]()){const {modelFragment:_0x5aa5b9,anchorData:_0x4fe892}=this[_0x4b7d7a(0x17c)]();return this[_0x4b7d7a(0x146)](_0x5affe0,_0x5aa5b9,_0x4fe892,_0x5c41f3,_0xd5b02b);}}const {modelFragment:_0x4c7dc6,anchorData:_0x4c5be7}=this[_0x4b7d7a(0x152)]();return this[_0x4b7d7a(0x146)](_0x5affe0,_0x4c7dc6,_0x4c5be7,_0x5c41f3,_0xd5b02b);}async[_0x54ed73(0x114)](){const _0x3832e5=_0x54ed73;return this[_0x3832e5(0xdd)](),this[_0x3832e5(0x18d)][_0x3832e5(0x10e)](),super[_0x3832e5(0x114)]();}[_0x54ed73(0xdf)](){const _0x3900da=_0x54ed73,_0x40c364=this[_0x3900da(0x135)][_0x3900da(0x11f)][_0x3900da(0x1b2)](_0x3900da(0x13f));let _0x358abb=this[_0x3900da(0x135)][_0x3900da(0xde)][_0x3900da(0xe8)](_0x3900da(0x12a))||[..._0x367067];_0x40c364||(_0x358abb=_0x358abb[_0x3900da(0x12b)](_0x27562c=>_0x3900da(0x16b)!=_0x27562c));const _0x415af4=this[_0x3900da(0x135)][_0x3900da(0xf9)][_0x3900da(0xe8)](_0x3900da(0x12c)),_0x4cf1b8=new _0xa34efa(this[_0x3900da(0x135)][_0x3900da(0x111)],{'showApplyButton':!0x0,'showSuggestButton':_0x40c364,'miniToolbarConfig':{'showChanges':_0x3900da(0xfd)},'availableActions':_0x358abb});return _0x4cf1b8[_0x3900da(0x157)](_0x3900da(0xdb))['to'](this),_0x415af4&&_0x4cf1b8[_0x3900da(0x157)](_0x3900da(0x17d))['to'](_0x415af4,_0x3900da(0x10f)),_0x4cf1b8['on'](_0x3900da(0x183),()=>{const _0x2c4679=_0x3900da;this[_0x2c4679(0x140)]();}),_0x4cf1b8['on'](_0x3900da(0x181),()=>{const _0x4b1e81=_0x3900da;this[_0x4b1e81(0x180)]();}),_0x4cf1b8['on'](_0x3900da(0x10c),()=>{const _0xe5aadb=_0x3900da;this[_0xe5aadb(0x137)]();}),_0x4cf1b8;}[_0x54ed73(0x152)](){const _0x2dd411=_0x54ed73,_0x322939=this[_0x2dd411(0x135)][_0x2dd411(0xfc)][_0x2dd411(0x17e)][_0x2dd411(0x19e)];if(_0x322939[_0x2dd411(0x139)]){const _0x13967b=_0x2e46a5(_0x322939[_0x2dd411(0x119)]())||this[_0x2dd411(0x135)][_0x2dd411(0xfc)][_0x2dd411(0x16c)][_0x2dd411(0x1ab)](_0x322939);this[_0x2dd411(0x135)][_0x2dd411(0xfc)][_0x2dd411(0x150)](_0x567263=>{const _0x380aa3=_0x2dd411;_0x567263[_0x380aa3(0x18c)](_0x13967b,'in');});}const _0x5411e1=_0x322939[_0x2dd411(0x191)](),_0x2ce7ca=this[_0x2dd411(0x131)](this[_0x2dd411(0x135)][_0x2dd411(0xfc)][_0x2dd411(0x156)](_0x322939),_0x5411e1[_0x2dd411(0x108)],_0x5411e1[_0x2dd411(0x11d)]);this[_0x2dd411(0x179)](_0x2ce7ca,_0x322939,{'isTableSelection':!0x1});const _0x42931b=_0x322939[_0x2dd411(0x191)]()[_0x2dd411(0x108)],_0x5d83dc=new Map();let _0x251a5f=_0x2ce7ca;for(let _0x4b575b=0x0;_0x4b575b<_0x42931b[_0x2dd411(0x10a)][_0x2dd411(0x173)];_0x4b575b++)_0x5d83dc[_0x2dd411(0xd7)](_0x251a5f,_0x42931b[_0x2dd411(0x10a)][_0x4b575b]),_0x251a5f=_0x251a5f[_0x2dd411(0x13a)](0x0);return{'modelFragment':_0x2ce7ca,'anchorData':_0x5d83dc};}[_0x54ed73(0x17c)](){const _0x2329f4=_0x54ed73,_0xe18bc1=this[_0x2329f4(0x135)][_0x2329f4(0xfc)][_0x2329f4(0x17e)][_0x2329f4(0x19e)],_0x55f7bf=this[_0x2329f4(0x135)][_0x2329f4(0x11f)][_0x2329f4(0xe8)](_0x2329f4(0xff))[_0x2329f4(0x145)](),_0x33e593=_0xe18bc1[_0x2329f4(0x191)]()[_0x2329f4(0x108)][_0x2329f4(0xf7)][_0x2329f4(0xf7)],_0x443c01=this[_0x2329f4(0x135)][_0x2329f4(0xfc)][_0x2329f4(0x178)](this[_0x2329f4(0x135)][_0x2329f4(0xfc)][_0x2329f4(0x1b0)](_0x33e593),this[_0x2329f4(0x135)][_0x2329f4(0xfc)][_0x2329f4(0x13e)](_0x33e593)),_0xf42a9=this[_0x2329f4(0x131)](_0x55f7bf,_0x443c01[_0x2329f4(0x108)],_0x443c01[_0x2329f4(0x11d)]);this[_0x2329f4(0x179)](_0xf42a9,_0xe18bc1,{'isTableSelection':!0x0});const _0x1a1445=_0xe18bc1[_0x2329f4(0x191)]()[_0x2329f4(0x108)],_0x5c6e15=new Map();let _0x17e396=_0xf42a9;for(let _0x5dad3f=0x0;_0x5dad3f<_0x1a1445[_0x2329f4(0x10a)][_0x2329f4(0x173)];_0x5dad3f++)if(_0x5c6e15[_0x2329f4(0xd7)](_0x17e396,_0x1a1445[_0x2329f4(0x10a)][_0x5dad3f]),_0x5dad3f<_0x1a1445[_0x2329f4(0x10a)][_0x2329f4(0x173)]-0x1)_0x17e396=_0x17e396[_0x2329f4(0x13a)](0x0);else{let _0x2f41cf=_0x17e396[_0x2329f4(0xec)];for(;_0x2f41cf;)_0x5c6e15[_0x2329f4(0xd7)](_0x2f41cf,_0x1a1445[_0x2329f4(0x10a)][_0x5dad3f]),_0x2f41cf=_0x2f41cf[_0x2329f4(0xec)];}return{'modelFragment':_0xf42a9,'anchorData':_0x5c6e15};}async[_0x54ed73(0x146)](_0x3e1d00,_0x53aab1,_0x28dc2c,_0x1fc017,_0x492c9f){const _0x599179=_0x54ed73,_0xdb1c8f=this[_0x599179(0x135)][_0x599179(0x11f)][_0x599179(0xe8)](_0xa3fd21),_0xeb26ea=this[_0x599179(0x135)][_0x599179(0x11f)][_0x599179(0xe8)](_0x2becc5),_0x3b323a=this[_0x599179(0x135)][_0x599179(0xfc)][_0x599179(0x17e)][_0x599179(0x19e)],_0x3e20a6=await _0xdb1c8f[_0x599179(0xf5)](_0x53aab1),_0x10602d=this[_0x599179(0x135)][_0x599179(0xfc)][_0x599179(0x17e)][_0x599179(0x126)],_0x6fb495=[..._0x3b323a[_0x599179(0xe4)]()];return this[_0x599179(0x104)]||(this[_0x599179(0x104)]=this[_0x599179(0xdf)]()),this[_0x599179(0x141)](),this[_0x599179(0x182)](),this[_0x599179(0x104)][_0x599179(0x15d)](),_0xeb26ea[_0x599179(0x14d)]({'index':0x3e8*Math[_0x599179(0x112)]()%0x3e8,'title':_0x1fc017,'icon':_0x492c9f||_0x386f2c,'mainView':this[_0x599179(0x104)],'class':_0x599179(0x194),'ranges':_0x6fb495,'id':_0x599179(0x10d)}),this[_0x599179(0x15b)](),this[_0x599179(0x107)](this[_0x599179(0x104)]),this[_0x599179(0x107)](_0xeb26ea),this[_0x599179(0x18e)]={'action':_0x3e1d00,'content':_0x3e20a6,'version':_0x10602d,'aiBalloon':_0xeb26ea,'modelFragment':_0x53aab1,'anchorData':_0x28dc2c},this[_0x599179(0x1a1)](),this[_0x599179(0x138)](_0xeb26ea,_0x599179(0x197),()=>{const _0x3f0903=_0x599179;this[_0x3f0903(0xdd)](),this[_0x3f0903(0x104)][_0x3f0903(0x17f)]();}),this[_0x599179(0x138)](_0xeb26ea,_0x599179(0x1af),(_0x4fcd8b,{id:_0x1468c7})=>{const _0x27e8b0=_0x599179;if(_0x27e8b0(0x10d)===_0x1468c7){if(this[_0x27e8b0(0x14c)]&&this[_0x27e8b0(0x14c)][_0x27e8b0(0x19c)][_0x27e8b0(0x173)]>0x0){const _0x4ec9d4=this[_0x27e8b0(0x14c)][_0x27e8b0(0x19c)][this[_0x27e8b0(0x14c)][_0x27e8b0(0x19c)][_0x27e8b0(0x173)]-0x1],_0x35c7ec=_0x4ec9d4[_0x27e8b0(0x1ad)][0x0];_0x35c7ec&&_0x27e8b0(0x1a7)===_0x35c7ec[_0x27e8b0(0x176)]&&_0x4ec9d4[_0x27e8b0(0xd6)](0x0,_0x27e8b0(0x184));}this[_0x27e8b0(0xdd)](),this[_0x27e8b0(0x141)](),this[_0x27e8b0(0x107)](this[_0x27e8b0(0x104)]),this[_0x27e8b0(0x107)](_0xeb26ea);}}),this[_0x599179(0xe2)](_0x3e20a6,_0x10602d,_0xeb26ea,_0x3e1d00);}[_0x54ed73(0x1a1)](){const _0x4603de=_0x54ed73;if(!this[_0x4603de(0x18e)])return;const {modelFragment:_0x472179,anchorData:_0x187517}=this[_0x4603de(0x18e)];this[_0x4603de(0x138)](this[_0x4603de(0x104)],_0x4603de(0x18a),()=>{const _0x5ed176=_0x4603de;this[_0x5ed176(0x13c)](_0x472179,_0x187517,!0x1);}),this[_0x4603de(0x138)](this[_0x4603de(0x104)],_0x4603de(0x16b),()=>{const _0xdda447=_0x4603de;this[_0xdda447(0x13c)](_0x472179,_0x187517,!0x0);});}[_0x54ed73(0x131)](_0x5b5d13,_0x34fa1a,_0x3ceb4c){const _0x3baddd=_0x54ed73,_0x386468=this[_0x3baddd(0x135)][_0x3baddd(0xfc)][_0x3baddd(0x178)](_0x34fa1a,_0x3ceb4c)[_0x3baddd(0x175)](),_0x3b1e51=_0x386468['is'](_0x3baddd(0x12d))?[]:_0x386468[_0x3baddd(0x14a)]({'includeSelf':!0x0})[_0x3baddd(0x17b)](0x1);if(_0x3b1e51[_0x3baddd(0x173)]){const _0x59b518=_0x3b1e51[_0x3baddd(0x189)](_0x3b53f2=>_0x3b53f2[_0x3baddd(0x172)](!0x1));for(let _0x512a86=0x1;_0x512a86<_0x59b518[_0x3baddd(0x173)];_0x512a86++)_0x59b518[_0x512a86-0x1][_0x3baddd(0x11e)](_0x59b518[_0x512a86]);return _0x59b518[_0x59b518[_0x3baddd(0x173)]-0x1][_0x3baddd(0x11e)](_0x5b5d13),new _0xf75a4d(_0x59b518[0x0]);}return _0x5b5d13;}[_0x54ed73(0x179)](_0x43ff55,_0x28ea38,_0x2a5ab5={'isTableSelection':!0x1}){const _0x216631=_0x54ed73,_0x34c664=this[_0x216631(0x135)][_0x216631(0xfc)],_0x3f0d99=Array[_0x216631(0x129)](_0x28ea38[_0x216631(0xe4)]()),_0x6fed61=_0x28ea38[_0x216631(0x191)]()[_0x216631(0x108)];for(const _0x22b4e2 of _0x34c664[_0x216631(0x12f)]){if(_0x22b4e2[_0x216631(0x18f)][_0x216631(0x1b1)](_0x1ecc9a)||!_0x22b4e2[_0x216631(0x19a)])continue;const _0x115eb6=_0x22b4e2[_0x216631(0xf6)]();if(!_0x3f0d99[_0x216631(0xe3)](_0x2b38b8=>_0x2b38b8[_0x216631(0x11a)](_0x115eb6,!0x0)))continue;const _0x28b68a=this[_0x216631(0x188)](_0x115eb6[_0x216631(0x108)],_0x6fed61,_0x2a5ab5[_0x216631(0x102)]),_0x24d39a=this[_0x216631(0x188)](_0x115eb6[_0x216631(0x11d)],_0x6fed61,_0x2a5ab5[_0x216631(0x102)]),_0x16a346=_0x34c664[_0x216631(0x19d)](_0x43ff55,_0x28b68a),_0x5c31c6=_0x34c664[_0x216631(0x19d)](_0x43ff55,_0x24d39a);if(!_0x16a346[_0x216631(0x1a3)](_0x5c31c6)){const _0x21f101=_0x34c664[_0x216631(0x178)](_0x16a346,_0x5c31c6);_0x43ff55[_0x216631(0x12f)][_0x216631(0xd7)](_0x22b4e2[_0x216631(0x18f)],_0x21f101);}}}[_0x54ed73(0x188)](_0x138572,_0x451345,_0x43563c=!0x1){const _0x436422=_0x54ed73,_0x92f47=[..._0x138572[_0x436422(0x10a)][_0x436422(0x17b)]()];for(let _0x4ab61b=0x0;_0x4ab61b<Math[_0x436422(0x147)](_0x451345[_0x436422(0x10a)][_0x436422(0x173)],_0x138572[_0x436422(0x10a)][_0x436422(0x173)]);_0x4ab61b++){const _0x4ffc95=_0x451345[_0x436422(0x10a)][_0x4ab61b]||0x0,_0xd0bf1c=(_0x138572[_0x436422(0x10a)][_0x4ab61b]||0x0)-_0x4ffc95;if(_0x92f47[_0x4ab61b]=_0xd0bf1c,0x0!==_0xd0bf1c&&!_0x43563c)break;}return _0x92f47;}async[_0x54ed73(0xe2)](_0x257851,_0x213628,_0x54cb53,_0x50de7d){const _0x58b796=_0x54ed73,_0x381bab=this[_0x58b796(0x135)];this[_0x58b796(0x18e)]||(this[_0x58b796(0x18e)]={'action':_0x50de7d,'content':_0x257851,'version':_0x213628,'aiBalloon':_0x54cb53,'modelFragment':this[_0x58b796(0x135)][_0x58b796(0xfc)][_0x58b796(0x156)](this[_0x58b796(0x135)][_0x58b796(0xfc)][_0x58b796(0x17e)][_0x58b796(0x19e)]),'anchorData':new Map()});const _0x3ad598=new _0xc3a897({'connector':this[_0x58b796(0x199)],'editor':_0x381bab,'content':_0x257851,'version':_0x213628,..._0x50de7d});this[_0x58b796(0x166)][_0x58b796(0x165)](_0x3ad598);const _0x2cf876=(_0x54d960,_0x4b5340=!0x1,_0x28c9e1=_0x58b796(0x163))=>this[_0x58b796(0x177)][_0x58b796(0x122)](async _0x906294=>{const _0x4e4932=_0x58b796;try{const _0x4fa3ab=_0x48aa6c({'editor':_0x381bab,'changeGroups':_0x54d960[_0x4e4932(0x1ad)],'documentContextContent':_0x54d960[_0x4e4932(0x190)],'showDiff':_0x4b5340,'trimUnchanged':!0x1});_0x4fa3ab[_0x4e4932(0x173)]&&await this[_0x4e4932(0x104)][_0x4e4932(0xd8)]({'part':_0x4fa3ab[0x0],'renderingStrategy':_0x28c9e1,'abortSignal':_0x906294});}catch(_0x38f725){if(this[_0x4e4932(0x195)](_0x38f725))return;throw _0x38f725;}});this[_0x58b796(0x14c)]['on'](_0x58b796(0xed),(_0x4c3cde,_0x161ff4)=>{const _0x12f8d5=_0x58b796;this[_0x12f8d5(0x104)][_0x12f8d5(0xe0)](),this[_0x12f8d5(0x104)][_0x12f8d5(0x14b)](),_0x2cf876(_0x161ff4)[_0x12f8d5(0x13b)](_0x19abf4=>{const _0x1609e3=_0x12f8d5;this[_0x1609e3(0x195)](_0x19abf4)||(console[_0x1609e3(0x1a5)](_0x1609e3(0x117),_0x19abf4),this[_0x1609e3(0xfb)](_0x3ad598));});}),this[_0x58b796(0x14c)]['on'](_0x58b796(0x144),(_0x124eba,_0x2457e2)=>{const _0x18a6b3=_0x58b796;_0x2cf876(_0x2457e2)[_0x18a6b3(0x13b)](_0x3fcf8a=>{const _0x17ef10=_0x18a6b3;this[_0x17ef10(0x195)](_0x3fcf8a)||(console[_0x17ef10(0x1a5)](_0x17ef10(0x151),_0x3fcf8a),this[_0x17ef10(0xfb)](_0x3ad598));});}),this[_0x58b796(0x14c)]['on'](_0x58b796(0x1a9),async()=>{const _0x4ae77f=_0x58b796;try{await this[_0x4ae77f(0x116)](),this[_0x4ae77f(0x104)][_0x4ae77f(0xda)](this[_0x4ae77f(0x166)][_0x4ae77f(0x173)],this[_0x4ae77f(0x158)]),await this[_0x4ae77f(0x177)][_0x4ae77f(0x100)];}catch(_0x2798a1){this[_0x4ae77f(0x195)](_0x2798a1)||(console[_0x4ae77f(0x1a5)](_0x4ae77f(0x16d),_0x2798a1),this[_0x4ae77f(0xfb)](_0x3ad598));}finally{this[_0x4ae77f(0x104)][_0x4ae77f(0xf2)]();}}),this[_0x58b796(0x138)](this[_0x58b796(0x104)],_0x58b796(0x185),async(_0x9df8f8,{showDiff:_0x40e602})=>{const _0x2d370a=_0x58b796;try{this[_0x2d370a(0x143)]=_0x40e602;const _0x3ecbf4=this[_0x2d370a(0x14c)][_0x2d370a(0x19c)][this[_0x2d370a(0x14c)][_0x2d370a(0x19c)][_0x2d370a(0x173)]-0x1];_0x3ecbf4&&await _0x2cf876(_0x3ecbf4,_0x40e602,_0x2d370a(0xef));}catch(_0x4878ff){this[_0x2d370a(0x195)](_0x4878ff)||(console[_0x2d370a(0x1a5)](_0x2d370a(0x125),_0x4878ff),this[_0x2d370a(0xfb)](_0x3ad598));}}),this[_0x58b796(0x14c)]['on'](_0x58b796(0xea),(_0x262b5a,{reply:_0x3b6caa})=>{const _0x57f558=_0x58b796,_0x32b9e9={'positiveCount':_0x3b6caa[_0x57f558(0x1ad)][_0x57f558(0x12b)](_0x40e16b=>_0x57f558(0x16e)===_0x40e16b[_0x57f558(0x176)])[_0x57f558(0x173)],'totalCount':_0x3b6caa[_0x57f558(0x1ad)][_0x57f558(0x173)]},_0x2a19a9=this[_0x57f558(0x14c)][_0x57f558(0x1ae)],_0x2afa1b=this[_0x57f558(0x14c)][_0x57f558(0xd5)];_0x2afa1b?this[_0x57f558(0x199)][_0x57f558(0xe9)](_0x2afa1b,_0x2a19a9,_0x32b9e9):this[_0x57f558(0x199)][_0x57f558(0x134)](_0x2a19a9,_0x32b9e9);}),this[_0x58b796(0x15b)]();try{const _0x39bebe=await this[_0x58b796(0x14c)][_0x58b796(0x108)]();return this[_0x58b796(0x104)][_0x58b796(0xda)](this[_0x58b796(0x166)][_0x58b796(0x173)],this[_0x58b796(0x158)]),_0x39bebe;}catch(_0x112b39){if(this[_0x58b796(0x195)](_0x112b39))return;this[_0x58b796(0x104)][_0x58b796(0xe0)](),this[_0x58b796(0xfb)](_0x3ad598);}}[_0x54ed73(0x13c)](_0x3e5b83,_0x247ba9,_0x32eb15){const _0x18729e=_0x54ed73,_0x428861=this[_0x18729e(0x135)];if(_0x32eb15&&!_0x428861[_0x18729e(0x11f)][_0x18729e(0x1b2)](_0x18729e(0x13f)))throw new _0xc121f5(_0x18729e(0xe6),null);const _0x3fef9f=this[_0x18729e(0x135)][_0x18729e(0x11f)][_0x18729e(0xe8)](_0x1a2edd),_0x26a5b9=this[_0x18729e(0x166)][this[_0x18729e(0x166)][_0x18729e(0x173)]-0x1-this[_0x18729e(0x158)]];if(!_0x26a5b9||!_0x26a5b9[_0x18729e(0x19c)][_0x18729e(0x173)])return;const _0x4fe378=_0x26a5b9[_0x18729e(0x19c)][_0x26a5b9[_0x18729e(0x19c)][_0x18729e(0x173)]-0x1],_0x27c834=_0x4fe378[_0x18729e(0x1ad)];_0x4fe378[_0x18729e(0xd6)](0x0,_0x18729e(0x16e));let _0x23362a=_0x4c29be({'editor':_0x428861,'reply':_0x4fe378,'interaction':_0x26a5b9,'groups':_0x27c834,'transform':!0x1,'documentCompare':_0x3fef9f,'documentCompareOptions':{'anchor':_0x428861[_0x18729e(0xfc)][_0x18729e(0xf1)](_0x3e5b83,0x0),'markDeletions':_0x32eb15}});_0x23362a=this[_0x18729e(0x136)](_0x23362a,_0x247ba9);for(const _0x4068b0 of _0x23362a)this[_0x18729e(0x19f)](_0x247ba9,_0x4068b0,_0x428861[_0x18729e(0xfc)][_0x18729e(0x17e)][_0x18729e(0x11c)]());const _0x2d2755=_0x26a5b9[_0x18729e(0x18b)]()[_0x18729e(0x126)],_0x1cd068=_0x428861[_0x18729e(0xfc)][_0x18729e(0x17e)][_0x18729e(0xf0)][_0x18729e(0xeb)](_0x2d2755),_0x3b0a3f={'document':_0x428861[_0x18729e(0xfc)][_0x18729e(0x17e)],'useRelations':!0x1,'padWithNoOps':!0x1},_0x2c9479=_0x372093(_0x23362a,_0x1cd068,_0x3b0a3f)[_0x18729e(0x161)];_0x428861[_0x18729e(0xfc)][_0x18729e(0x150)](_0x481650=>{const _0x4d28e0=_0x18729e;if(_0x481650[_0x4d28e0(0x18c)](_0x428861[_0x4d28e0(0xfc)][_0x4d28e0(0x17e)][_0x4d28e0(0x19e)][_0x4d28e0(0x169)]),_0x32eb15)_0x428861[_0x4d28e0(0x11f)][_0x4d28e0(0xe8)](_0x4d28e0(0x14f))[_0x4d28e0(0x113)](_0x2c9479);else{for(const _0x89784e of _0x2c9479)_0x89784e[_0x4d28e0(0x187)]=_0x428861[_0x4d28e0(0xfc)][_0x4d28e0(0x17e)][_0x4d28e0(0x126)],_0xa599d(_0x428861,_0x89784e),_0x481650[_0x4d28e0(0x168)][_0x4d28e0(0x174)](_0x89784e),_0x428861[_0x4d28e0(0xfc)][_0x4d28e0(0xf3)](_0x89784e);}}),this[_0x18729e(0x135)][_0x18729e(0x11f)][_0x18729e(0xe8)](_0x18729e(0x1a8))[_0x18729e(0x159)]();}[_0x54ed73(0x136)](_0x3d44c6,_0x507afa){const _0x4f69ac=_0x54ed73;return _0x3d44c6[_0x4f69ac(0x12b)](_0x5bffe9=>{const _0x2ae1c9=_0x4f69ac;if(_0x2ae1c9(0x193)==_0x5bffe9[_0x2ae1c9(0x186)]){const _0x552cb4=_0x5bffe9[_0x2ae1c9(0x17a)][_0x2ae1c9(0x15e)];return!_0x507afa[_0x2ae1c9(0x1b2)](_0x552cb4);}if(_0x5bffe9[_0x2ae1c9(0x186)][_0x2ae1c9(0x15a)](_0x2ae1c9(0x127))>-0x1){const _0x245e8e=_0x5bffe9[_0x2ae1c9(0xe1)][_0x2ae1c9(0x108)][_0x2ae1c9(0x15e)];return!_0x507afa[_0x2ae1c9(0x1b2)](_0x245e8e);}return!0x0;});}[_0x54ed73(0x19f)](_0x1cac2a,_0x259316,_0x196aa3){const _0x3fc097=_0x54ed73,_0x49be8c=_0x259316[_0x3fc097(0xe5)]();for(const _0x3ce6f5 in _0x259316){const _0x1c5e01=_0x259316[_0x3ce6f5];_0x1c5e01 instanceof _0x11a745?_0x259316[_0x3ce6f5]=new _0x11a745(_0x252552(_0x1c5e01[_0x3fc097(0x108)]),_0x252552(_0x1c5e01[_0x3fc097(0x11d)])):_0x1c5e01 instanceof _0x10b9b7&&(_0x259316[_0x3ce6f5]=_0x252552(_0x1c5e01));}if([_0x3fc097(0x162),_0x3fc097(0x196),_0x3fc097(0x105),_0x3fc097(0x149),_0x3fc097(0x164),_0x3fc097(0x120)][_0x3fc097(0x14e)](_0x49be8c[_0x3fc097(0x186)])){if(_0x49be8c[_0x3fc097(0x198)]=!0x1,_0x49be8c[_0x3fc097(0x187)]=null,_0x3fc097(0x105)==_0x49be8c[_0x3fc097(0x186)]){const _0x4c5a2d=_0x49be8c[_0x3fc097(0xdc)],_0x21054e=_0x49be8c[_0x3fc097(0x16a)];new _0x2952c0(_0x4c5a2d,_0x21054e)[_0x3fc097(0x124)]();}else _0x49be8c[_0x3fc097(0x124)]();}function _0x252552(_0x11b5a8){const _0x19cfdc=_0x3fc097;if(_0x19cfdc(0x170)==_0x11b5a8[_0x19cfdc(0x13d)][_0x19cfdc(0x171)])return _0x11b5a8;const _0x5d3cb1=[];let _0x7d246d=_0x11b5a8[_0x19cfdc(0x13d)];for(let _0x8bee76=0x0;_0x8bee76<_0x11b5a8[_0x19cfdc(0x10a)][_0x19cfdc(0x173)];_0x8bee76++){const _0x4cabd1=_0x1cac2a[_0x19cfdc(0xe8)](_0x7d246d)||0x0;_0x5d3cb1[_0x8bee76]=_0x11b5a8[_0x19cfdc(0x10a)][_0x8bee76]+_0x4cabd1,_0x7d246d=_0x7d246d[_0x19cfdc(0x192)](_0x11b5a8[_0x19cfdc(0x10a)][_0x8bee76]);}return new _0x10b9b7(_0x196aa3,_0x5d3cb1,_0x11b5a8[_0x19cfdc(0xee)]);}}[_0x54ed73(0x140)](){const _0x3e088f=_0x54ed73;if(!this[_0x3e088f(0x18e)])return;this[_0x3e088f(0x166)][_0x3e088f(0x173)]>0x0&&this[_0x3e088f(0xdd)](),this[_0x3e088f(0x158)]=0x0,this[_0x3e088f(0x143)]=!0x1;const {action:_0xdbf543,content:_0x3bc0be,version:_0x36319e,aiBalloon:_0x37d97c}=this[_0x3e088f(0x18e)];this[_0x3e088f(0x182)](),this[_0x3e088f(0x104)][_0x3e088f(0x15d)](),this[_0x3e088f(0x104)][_0x3e088f(0x11b)](),this[_0x3e088f(0x104)][_0x3e088f(0x128)](),this[_0x3e088f(0x104)][_0x3e088f(0xda)](this[_0x3e088f(0x166)][_0x3e088f(0x173)],this[_0x3e088f(0x158)]),this[_0x3e088f(0x107)](this[_0x3e088f(0x104)]),this[_0x3e088f(0x1a1)](),this[_0x3e088f(0xe2)](_0x3bc0be,_0x36319e,_0x37d97c,_0xdbf543)[_0x3e088f(0x13b)](_0x1be2a3=>{const _0x2118df=_0x3e088f;this[_0x2118df(0x195)](_0x1be2a3)||console[_0x2118df(0x1a5)](_0x2118df(0x101),_0x1be2a3);});}[_0x54ed73(0x195)](_0x19d188){const _0x37baad=_0x54ed73;return!!_0x19d188[_0x37baad(0x160)]&&_0x19d188[_0x37baad(0x160)][_0x37baad(0x1b1)](_0x37baad(0x15c));}[_0x54ed73(0x141)](){const _0x54e570=_0x54ed73;this[_0x54e570(0x166)]=[],this[_0x54e570(0x18e)]=void 0x0,this[_0x54e570(0x158)]=0x0,this[_0x54e570(0x104)][_0x54e570(0xda)](this[_0x54e570(0x166)][_0x54e570(0x173)],this[_0x54e570(0x158)]);}[_0x54ed73(0xdd)](){const _0x1776cf=_0x54ed73;this[_0x1776cf(0x14c)]&&this[_0x1776cf(0x14c)][_0x1776cf(0xf4)](),this[_0x1776cf(0x177)][_0x1776cf(0x123)](),this[_0x1776cf(0xdb)]=!0x1,this[_0x1776cf(0x18e)]&&this[_0x1776cf(0x104)][_0x1776cf(0xf2)]();}[_0x54ed73(0x180)](){const _0xc4f30c=_0x54ed73,_0x5c0179=this[_0xc4f30c(0x166)][_0xc4f30c(0x173)];this[_0xc4f30c(0x158)]<_0x5c0179-0x1&&this[_0xc4f30c(0x1a4)](this[_0xc4f30c(0x158)]+0x1);}[_0x54ed73(0x137)](){const _0x3d5680=_0x54ed73;this[_0x3d5680(0x158)]>0x0&&this[_0x3d5680(0x1a4)](this[_0x3d5680(0x158)]-0x1);}async[_0x54ed73(0x1a4)](_0x14eee3){const _0x46cad9=_0x54ed73;if(!this[_0x46cad9(0x18e)])return;this[_0x46cad9(0x158)]=_0x14eee3;const _0x415754=this[_0x46cad9(0x166)][this[_0x46cad9(0x166)][_0x46cad9(0x173)]-0x1-this[_0x46cad9(0x158)]];if(!_0x415754)return;if(_0x415754[_0x46cad9(0x130)])return this[_0x46cad9(0xfb)](_0x415754),void this[_0x46cad9(0x104)][_0x46cad9(0xda)](this[_0x46cad9(0x166)][_0x46cad9(0x173)],this[_0x46cad9(0x158)]);if(!_0x415754[_0x46cad9(0x19c)][_0x46cad9(0x173)])return;this[_0x46cad9(0x104)][_0x46cad9(0x109)](),this[_0x46cad9(0x18e)]&&this[_0x46cad9(0x182)]();const _0x124d10=_0x415754[_0x46cad9(0x19c)][_0x415754[_0x46cad9(0x19c)][_0x46cad9(0x173)]-0x1];if(_0x124d10){const _0x2656ee=this[_0x46cad9(0x135)];try{const _0x4739e0=_0x48aa6c({'editor':_0x2656ee,'changeGroups':_0x124d10[_0x46cad9(0x1ad)],'documentContextContent':_0x124d10[_0x46cad9(0x190)],'showDiff':this[_0x46cad9(0x143)],'trimUnchanged':!0x1});await new Promise(_0x3a0033=>setTimeout(_0x3a0033,0x32)),await this[_0x46cad9(0x104)][_0x46cad9(0xd8)]({'part':_0x4739e0[0x0],'renderingStrategy':_0x46cad9(0xef),'abortSignal':new AbortController()[_0x46cad9(0xfe)]});}catch(_0x2d0e6e){this[_0x46cad9(0x195)](_0x2d0e6e)||console[_0x46cad9(0x1a5)](_0x46cad9(0x15f),_0x2d0e6e);}}this[_0x46cad9(0x104)][_0x46cad9(0xda)](this[_0x46cad9(0x166)][_0x46cad9(0x173)],this[_0x46cad9(0x158)]);}[_0x54ed73(0x15b)](){const _0x5d589a=_0x54ed73;this[_0x5d589a(0x104)][_0x5d589a(0x133)](!0x0),this[_0x5d589a(0xdb)]=!0x0;}async[_0x54ed73(0xfb)](_0x4fef8b){const _0xb32265=_0x54ed73,_0x20d619=_0x502259(this[_0xb32265(0x135)][_0xb32265(0x111)],_0xb32265(0x1ac));this[_0xb32265(0x104)][_0xb32265(0x148)](_0x20d619),_0x4fef8b[_0xb32265(0x130)]=!0x0,await this[_0xb32265(0x177)][_0xb32265(0x100)],this[_0xb32265(0x104)][_0xb32265(0x121)](),this[_0xb32265(0x104)][_0xb32265(0x115)](!0x0);}[_0x54ed73(0x182)](){const _0xf1b8fd=_0x54ed73;this[_0xf1b8fd(0x104)][_0xf1b8fd(0x109)](),this[_0xf1b8fd(0x104)][_0xf1b8fd(0x115)](!0x1);}async[_0x54ed73(0x116)](){const _0x4ac574=_0x54ed73;await this[_0x4ac574(0x177)][_0x4ac574(0x100)],this[_0x4ac574(0xdb)]=!0x1,this[_0x4ac574(0x104)][_0x4ac574(0x133)](!0x1);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x3ba5(_0x4f29c1,_0x47d44c){const _0x2817a4=_0x2817();return _0x3ba5=function(_0x3ba567,_0x199799){_0x3ba567=_0x3ba567-0xd2;let _0x3edebb=_0x2817a4[_0x3ba567];return _0x3edebb;},_0x3ba5(_0x4f29c1,_0x47d44c);}const _0x1b4bf3=_0x3ba5;function _0x2817(){const _0x1b40c0=['1172950HYscPR','673218DhWoOK','TEXT','313282scCvKc','html','replyCreated','editor','content','args','191110KMAFUJ','push','fire','sendRequest','version','replies','370192WCEgmz','delegate','createReply','getDocumentContext','connector','actionName','model','Current\x20document','current-document','hasError','1435626GCqQjT','181188zULpSz','userMessage','32fAghEL','executeAction','executeCustomAction'];_0x2817=function(){return _0x1b40c0;};return _0x2817();}(function(_0xa3a8c6,_0x37d8e8){const _0x18496b=_0x3ba5,_0x18860c=_0xa3a8c6();while(!![]){try{const _0x4008c0=-parseInt(_0x18496b(0xea))/0x1+-parseInt(_0x18496b(0xe4))/0x2+parseInt(_0x18496b(0xe2))/0x3+-parseInt(_0x18496b(0xf0))/0x4+parseInt(_0x18496b(0xe1))/0x5+parseInt(_0x18496b(0xdb))/0x6+-parseInt(_0x18496b(0xdc))/0x7*(parseInt(_0x18496b(0xde))/0x8);if(_0x4008c0===_0x37d8e8)break;else _0x18860c['push'](_0x18860c['shift']());}catch(_0x5a1e44){_0x18860c['push'](_0x18860c['shift']());}}}(_0x2817,0x25b40));import{AIInteraction as _0x4d4e16,AI_MODEL_EVENT_NAMES as _0x19affb}from'../../aicore/model/aiinteraction.js';import{AIContextItemType as _0x1e2505}from'../../aicore/model/aicontext.js';import{AIActionsReply as _0x5b03bd}from'./aiactionsreply.js';export class AIActionsInteraction extends _0x4d4e16{[_0x1b4bf3(0xe8)];[_0x1b4bf3(0xee)];[_0x1b4bf3(0xd6)];[_0x1b4bf3(0xe9)];[_0x1b4bf3(0xdd)];[_0x1b4bf3(0xd7)];[_0x1b4bf3(0xda)]=!0x1;constructor(_0x475b95){const _0x19d48f=_0x1b4bf3;super(_0x475b95),this[_0x19d48f(0xe8)]=_0x475b95[_0x19d48f(0xe8)],this[_0x19d48f(0xee)]=_0x475b95[_0x19d48f(0xee)],this[_0x19d48f(0xd6)]=_0x475b95[_0x19d48f(0xd6)],this[_0x19d48f(0xe9)]=_0x475b95[_0x19d48f(0xe9)],this[_0x19d48f(0xdd)]=_0x475b95[_0x19d48f(0xdd)],this[_0x19d48f(0xd7)]=_0x475b95[_0x19d48f(0xd7)];}async[_0x1b4bf3(0xed)](){const _0x1c0c57=_0x1b4bf3;return this[_0x1c0c57(0xd6)]?this[_0x1c0c57(0xd5)][_0x1c0c57(0xdf)]({'content':this[_0x1c0c57(0xe8)],'actionName':this[_0x1c0c57(0xd6)],'args':this[_0x1c0c57(0xe9)]}):this[_0x1c0c57(0xd5)][_0x1c0c57(0xe0)]({'content':this[_0x1c0c57(0xe8)],'message':this[_0x1c0c57(0xdd)],'model':this[_0x1c0c57(0xd7)],'outputFormat':_0x1c0c57(0xe5)});}[_0x1b4bf3(0xd4)](){const _0x1fb780=_0x1b4bf3;return{'type':_0x1e2505[_0x1fb780(0xe3)],'content':this[_0x1fb780(0xe8)],'version':this[_0x1fb780(0xee)],'label':_0x1fb780(0xd8),'uiId':_0x1fb780(0xd9)};}[_0x1b4bf3(0xd3)](_0x368a16){const _0x3d36ee=_0x1b4bf3,_0x476cc2=new _0x5b03bd({'editor':this[_0x3d36ee(0xe7)],'documentContextContent':this[_0x3d36ee(0xe8)],..._0x368a16});return this[_0x3d36ee(0xef)][_0x3d36ee(0xeb)](_0x476cc2),_0x476cc2[_0x3d36ee(0xd2)](..._0x19affb)['to'](this),this[_0x3d36ee(0xec)](_0x3d36ee(0xe6),_0x476cc2),_0x476cc2;}}
23
+ const _0x5c8b1c=_0x4331;(function(_0x4727c1,_0x1d325c){const _0x5aa484=_0x4331,_0x271903=_0x4727c1();while(!![]){try{const _0x496478=parseInt(_0x5aa484(0x1d8))/0x1+-parseInt(_0x5aa484(0x1e5))/0x2+parseInt(_0x5aa484(0x1dd))/0x3+-parseInt(_0x5aa484(0x1e7))/0x4+-parseInt(_0x5aa484(0x1d7))/0x5+-parseInt(_0x5aa484(0x1e8))/0x6*(parseInt(_0x5aa484(0x1ea))/0x7)+parseInt(_0x5aa484(0x1ee))/0x8;if(_0x496478===_0x1d325c)break;else _0x271903['push'](_0x271903['shift']());}catch(_0x15d6ea){_0x271903['push'](_0x271903['shift']());}}}(_0x15d8,0xaf0dc));import{AIInteraction as _0x2b7264,AI_MODEL_EVENT_NAMES as _0xa0f551}from'../../aicore/model/aiinteraction.js';import{AIContextItemType as _0x9a07f9}from'../../aicore/model/aicontext.js';function _0x15d8(){const _0x212c88=['582436hqfpHv','Current\x20document','html','replies','actionName','1733688arTRnw','userMessage','model','hasError','fire','args','getDocumentContext','executeAction','2726138MXdiof','push','890716SCvCqD','1926OTnvkA','replyCreated','6839AQtgYE','current-document','editor','connector','20498048aMUshd','createReply','delegate','executeCustomAction','content','TEXT','sendRequest','version','5531015psctVn'];_0x15d8=function(){return _0x212c88;};return _0x15d8();}function _0x4331(_0x4097bf,_0x245139){const _0x15d8a8=_0x15d8();return _0x4331=function(_0x43313c,_0x1a9556){_0x43313c=_0x43313c-0x1d0;let _0xe1044f=_0x15d8a8[_0x43313c];return _0xe1044f;},_0x4331(_0x4097bf,_0x245139);}import{AIActionsReply as _0x59804c}from'./aiactionsreply.js';export class AIActionsInteraction extends _0x2b7264{[_0x5c8b1c(0x1d3)];[_0x5c8b1c(0x1d6)];[_0x5c8b1c(0x1dc)];[_0x5c8b1c(0x1e2)];[_0x5c8b1c(0x1de)];[_0x5c8b1c(0x1df)];[_0x5c8b1c(0x1e0)]=!0x1;constructor(_0x3fc7c8){const _0x2f464b=_0x5c8b1c;super(_0x3fc7c8),this[_0x2f464b(0x1d3)]=_0x3fc7c8[_0x2f464b(0x1d3)],this[_0x2f464b(0x1d6)]=_0x3fc7c8[_0x2f464b(0x1d6)],this[_0x2f464b(0x1dc)]=_0x3fc7c8[_0x2f464b(0x1dc)],this[_0x2f464b(0x1e2)]=_0x3fc7c8[_0x2f464b(0x1e2)],this[_0x2f464b(0x1de)]=_0x3fc7c8[_0x2f464b(0x1de)],this[_0x2f464b(0x1df)]=_0x3fc7c8[_0x2f464b(0x1df)];}async[_0x5c8b1c(0x1d5)](){const _0x1acdec=_0x5c8b1c;return this[_0x1acdec(0x1dc)]?this[_0x1acdec(0x1ed)][_0x1acdec(0x1e4)]({'content':this[_0x1acdec(0x1d3)],'actionName':this[_0x1acdec(0x1dc)],'args':this[_0x1acdec(0x1e2)]}):this[_0x1acdec(0x1ed)][_0x1acdec(0x1d2)]({'content':this[_0x1acdec(0x1d3)],'message':this[_0x1acdec(0x1de)],'model':this[_0x1acdec(0x1df)],'outputFormat':_0x1acdec(0x1da)});}[_0x5c8b1c(0x1e3)](){const _0x362cbf=_0x5c8b1c;return{'type':_0x9a07f9[_0x362cbf(0x1d4)],'content':this[_0x362cbf(0x1d3)],'version':this[_0x362cbf(0x1d6)],'label':_0x362cbf(0x1d9),'uiId':_0x362cbf(0x1eb)};}[_0x5c8b1c(0x1d0)](_0x5773b8){const _0x128867=_0x5c8b1c,_0x3febcd=new _0x59804c({'editor':this[_0x128867(0x1ec)],'documentContextContent':this[_0x128867(0x1d3)],..._0x5773b8});return this[_0x128867(0x1db)][_0x128867(0x1e6)](_0x3febcd),_0x3febcd[_0x128867(0x1d1)](..._0xa0f551)['to'](this),this[_0x128867(0x1e1)](_0x128867(0x1e9),_0x3febcd),_0x3febcd;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5cb044=_0x2719;(function(_0x230fa7,_0x4826d2){const _0x24d9de=_0x2719,_0x4ccbb7=_0x230fa7();while(!![]){try{const _0x51bcf2=parseInt(_0x24d9de(0x1e0))/0x1+-parseInt(_0x24d9de(0x1c8))/0x2+parseInt(_0x24d9de(0x1d3))/0x3+-parseInt(_0x24d9de(0x1d2))/0x4+-parseInt(_0x24d9de(0x1cc))/0x5*(parseInt(_0x24d9de(0x1d1))/0x6)+parseInt(_0x24d9de(0x1cf))/0x7+parseInt(_0x24d9de(0x1e2))/0x8;if(_0x51bcf2===_0x4826d2)break;else _0x4ccbb7['push'](_0x4ccbb7['shift']());}catch(_0x141d47){_0x4ccbb7['push'](_0x4ccbb7['shift']());}}}(_0x518f,0x2954f));import{AIReply as _0x488072}from'../../aicore/model/aireply.js';import{getAttribute as _0x2483e9}from'../../aicore/utils/htmlparser.js';import{uid as _0x1409a8}from'ckeditor5/src/utils.js';import{diffArrays as _0x13a2f1}from'diff';export class AIActionsReply extends _0x488072{[_0x5cb044(0x1d0)](){const _0x47a4f8=_0x5cb044;if(this[_0x47a4f8(0x1cb)]=this[_0x47a4f8(0x1c6)][_0x47a4f8(0x1d9)](!0x0),0x0==this[_0x47a4f8(0x1cb)][_0x47a4f8(0x1d6)][_0x47a4f8(0x1e1)])return void(this[_0x47a4f8(0x1dc)]=[]);const _0x422c48=this[_0x47a4f8(0x1c7)][_0x47a4f8(0x1db)][_0x47a4f8(0x1d5)](_0xc9eaf3=>({'node':_0xc9eaf3,'id':_0x2483e9(_0xc9eaf3,_0x47a4f8(0x1dd))})),_0x30ed22=this[_0x47a4f8(0x1cb)][_0x47a4f8(0x1db)][_0x47a4f8(0x1d5)](_0x1a7103=>({'node':_0x1a7103,'id':_0x2483e9(_0x1a7103,_0x47a4f8(0x1dd))||_0x1409a8()})),_0x5780f7=_0x13a2f1(_0x422c48,_0x30ed22,{'comparator':(_0x26acb6,_0x2363e8)=>_0x26acb6['id']==_0x2363e8['id'],'oneChangePerToken':!0x0});if(!this[_0x47a4f8(0x1df)]){for(;_0x5780f7[_0x47a4f8(0x1e1)]&&_0x5780f7[_0x5780f7[_0x47a4f8(0x1e1)]-0x1][_0x47a4f8(0x1da)];)_0x5780f7[_0x47a4f8(0x1de)]();}const _0x1d1f86=_0x5780f7[_0x47a4f8(0x1d5)](_0xf4c21e=>{const _0x5e6a8f=_0x47a4f8,_0x552680=_0xf4c21e[_0x5e6a8f(0x1ca)]?_0x5e6a8f(0x1d7):_0xf4c21e[_0x5e6a8f(0x1da)]?_0x5e6a8f(0x1da):_0x5e6a8f(0x1d8);return{'node':_0xf4c21e[_0x5e6a8f(0x1c9)][0x0][_0x5e6a8f(0x1d4)],'type':_0x552680,'id':_0xf4c21e[_0x5e6a8f(0x1c9)][0x0]['id']};});this[_0x47a4f8(0x1dc)]=[{'changes':_0x1d1f86,'state':_0x47a4f8(0x1cd),'index':0x0}];}[_0x5cb044(0x1ce)](_0x1ef0c1,_0x1ca481){return _0x1ca481;}}function _0x2719(_0x51cd5a,_0x3ad3ff){const _0x518f7a=_0x518f();return _0x2719=function(_0x2719cc,_0xaf5b4d){_0x2719cc=_0x2719cc-0x1c6;let _0x567dc5=_0x518f7a[_0x2719cc];return _0x567dc5;},_0x2719(_0x51cd5a,_0x3ad3ff);}function _0x518f(){const _0x7a9a75=['node','map','childNodes','new','modified','cloneNode','removed','children','changeGroups','data-id','pop','isDone','111316WhqRMk','length','2740448zXUuvI','parsedContent','documentContextContent','534496VhSAVm','value','added','parsedMergedContent','45Nplaru','pending','_getDifferentChangeGroups','936138WuHAwc','updateChangeGroups','87186jUMnKE','633616FpGFGI','414360hiwciy'];_0x518f=function(){return _0x7a9a75;};return _0x518f();}
23
+ function _0x4607(_0x2b45be,_0x58bf57){const _0x2dfed1=_0x2dfe();return _0x4607=function(_0x460743,_0x50ac92){_0x460743=_0x460743-0x192;let _0x1dc4e8=_0x2dfed1[_0x460743];return _0x1dc4e8;},_0x4607(_0x2b45be,_0x58bf57);}const _0x593573=_0x4607;(function(_0x3fcd6d,_0x52c504){const _0x5ab50c=_0x4607,_0x522aa4=_0x3fcd6d();while(!![]){try{const _0x4002c2=parseInt(_0x5ab50c(0x1a6))/0x1*(parseInt(_0x5ab50c(0x1a0))/0x2)+parseInt(_0x5ab50c(0x1a5))/0x3*(-parseInt(_0x5ab50c(0x19a))/0x4)+parseInt(_0x5ab50c(0x19c))/0x5*(parseInt(_0x5ab50c(0x1a3))/0x6)+parseInt(_0x5ab50c(0x195))/0x7+parseInt(_0x5ab50c(0x1ab))/0x8+parseInt(_0x5ab50c(0x19b))/0x9+parseInt(_0x5ab50c(0x1a9))/0xa*(-parseInt(_0x5ab50c(0x1af))/0xb);if(_0x4002c2===_0x52c504)break;else _0x522aa4['push'](_0x522aa4['shift']());}catch(_0x35585b){_0x522aa4['push'](_0x522aa4['shift']());}}}(_0x2dfe,0xea64c));import{AIReply as _0x31bef7}from'../../aicore/model/aireply.js';import{getAttribute as _0x2c42d6}from'../../aicore/utils/htmlparser.js';function _0x2dfe(){const _0x5d8984=['value','_getDifferentChangeGroups','60870ZwmhUj','childNodes','12gpPkxf','607OVnGHB','added','parsedMergedContent','80dzrFGA','data-id','3194048DuUkiO','cloneNode','children','isDone','4036538SSprqa','new','updateChangeGroups','changeGroups','pop','documentContextContent','7689605qOHrvZ','map','node','modified','pending','1263404XEZEYn','13768263eRtCIY','390GtfglW','length','parsedContent','removed','4416QXgOtM'];_0x2dfe=function(){return _0x5d8984;};return _0x2dfe();}import{uid as _0x5cb5ff}from'ckeditor5/src/utils.js';import{diffArrays as _0x42c039}from'diff';export class AIActionsReply extends _0x31bef7{[_0x593573(0x1b1)](){const _0x41d473=_0x593573;if(this[_0x41d473(0x1a8)]=this[_0x41d473(0x19e)][_0x41d473(0x1ac)](!0x0),0x0==this[_0x41d473(0x1a8)][_0x41d473(0x1a4)][_0x41d473(0x19d)])return void(this[_0x41d473(0x192)]=[]);const _0x370178=this[_0x41d473(0x194)][_0x41d473(0x1ad)][_0x41d473(0x196)](_0x1a6481=>({'node':_0x1a6481,'id':_0x2c42d6(_0x1a6481,_0x41d473(0x1aa))})),_0x1c2ed2=this[_0x41d473(0x1a8)][_0x41d473(0x1ad)][_0x41d473(0x196)](_0x5f55fc=>({'node':_0x5f55fc,'id':_0x2c42d6(_0x5f55fc,_0x41d473(0x1aa))||_0x5cb5ff()})),_0x30f7ef=_0x42c039(_0x370178,_0x1c2ed2,{'comparator':(_0x46a7b3,_0x16d9d9)=>_0x46a7b3['id']==_0x16d9d9['id'],'oneChangePerToken':!0x0});if(!this[_0x41d473(0x1ae)]){for(;_0x30f7ef[_0x41d473(0x19d)]&&_0x30f7ef[_0x30f7ef[_0x41d473(0x19d)]-0x1][_0x41d473(0x19f)];)_0x30f7ef[_0x41d473(0x193)]();}const _0x3bfc00=_0x30f7ef[_0x41d473(0x196)](_0x2e9bae=>{const _0x24402e=_0x41d473,_0x504f89=_0x2e9bae[_0x24402e(0x1a7)]?_0x24402e(0x1b0):_0x2e9bae[_0x24402e(0x19f)]?_0x24402e(0x19f):_0x24402e(0x198);return{'node':_0x2e9bae[_0x24402e(0x1a1)][0x0][_0x24402e(0x197)],'type':_0x504f89,'id':_0x2e9bae[_0x24402e(0x1a1)][0x0]['id']};});this[_0x41d473(0x192)]=[{'changes':_0x3bfc00,'state':_0x41d473(0x199),'index':0x0}];}[_0x593573(0x1a2)](_0x4dc22b,_0x28bcb3){return _0x28bcb3;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x338aa2=_0x2e59;function _0x2e59(_0x2f670d,_0x20b449){var _0x31ea1f=_0x31ea();return _0x2e59=function(_0x2e5979,_0x1a6c1b){_0x2e5979=_0x2e5979-0x1a9;var _0x24e9c1=_0x31ea1f[_0x2e5979];return _0x24e9c1;},_0x2e59(_0x2f670d,_0x20b449);}(function(_0x15031a,_0x595591){var _0x26e6ab=_0x2e59,_0x35891f=_0x15031a();while(!![]){try{var _0x4a5c07=parseInt(_0x26e6ab(0x1aa))/0x1+parseInt(_0x26e6ab(0x1b5))/0x2*(-parseInt(_0x26e6ab(0x1b6))/0x3)+parseInt(_0x26e6ab(0x1b2))/0x4*(parseInt(_0x26e6ab(0x1b7))/0x5)+-parseInt(_0x26e6ab(0x1b3))/0x6+parseInt(_0x26e6ab(0x1b1))/0x7+-parseInt(_0x26e6ab(0x1ac))/0x8*(parseInt(_0x26e6ab(0x1a9))/0x9)+-parseInt(_0x26e6ab(0x1ae))/0xa*(parseInt(_0x26e6ab(0x1ad))/0xb);if(_0x4a5c07===_0x595591)break;else _0x35891f['push'](_0x35891f['shift']());}catch(_0x48d063){_0x35891f['push'](_0x35891f['shift']());}}}(_0x31ea,0x93ec7));import{AITextAdapter as _0x5e74f9}from'./aitextadapter.js';import{AIRequestError as _0x21db68}from'./aiadapter.js';import{getTranslation as _0x397de4}from'../utils/common-translations.js';import{logWarning as _0x5a269c,logError as _0x5b716d}from'ckeditor5/src/utils.js';function _0x31ea(){var _0x1e7e9e=['10pZtvjH','locale','AI_ERROR_AWS_NOT_SUPPORTED','7559566LjQEFX','25084ypLOXz','2003946dLRTlr','sendRequest','6mYevTQ','94818dgCqfL','305vhtvxm','editor','init','pluginName','AWSTextAdapter','171kepbSv','384967vJByGR','ai-aws-adapter-not-supported','83848dIXhJi','6749523DwtfiT'];_0x31ea=function(){return _0x1e7e9e;};return _0x31ea();}export class AWSTextAdapter extends _0x5e74f9{static get[_0x338aa2(0x1ba)](){var _0x337ae5=_0x338aa2;return _0x337ae5(0x1bb);}[_0x338aa2(0x1b9)](){var _0xb21a81=_0x338aa2;super[_0xb21a81(0x1b9)](),_0x5a269c(_0xb21a81(0x1ab));}async[_0x338aa2(0x1b4)](_0x5703da){var _0x4a0ab1=_0x338aa2;throw _0x5b716d(_0x4a0ab1(0x1ab)),new _0x21db68(_0x397de4(this[_0x4a0ab1(0x1b8)][_0x4a0ab1(0x1af)],_0x4a0ab1(0x1b0)));}}
23
+ var _0x403a63=_0x56dc;(function(_0xa6844e,_0x289020){var _0x55c455=_0x56dc,_0x5403d0=_0xa6844e();while(!![]){try{var _0x26bffc=-parseInt(_0x55c455(0xe3))/0x1*(-parseInt(_0x55c455(0xdf))/0x2)+-parseInt(_0x55c455(0xce))/0x3*(parseInt(_0x55c455(0xdb))/0x4)+-parseInt(_0x55c455(0xd0))/0x5*(-parseInt(_0x55c455(0xd2))/0x6)+-parseInt(_0x55c455(0xe0))/0x7*(parseInt(_0x55c455(0xd5))/0x8)+parseInt(_0x55c455(0xda))/0x9*(parseInt(_0x55c455(0xdc))/0xa)+-parseInt(_0x55c455(0xd7))/0xb*(parseInt(_0x55c455(0xd4))/0xc)+-parseInt(_0x55c455(0xdd))/0xd*(-parseInt(_0x55c455(0xcf))/0xe);if(_0x26bffc===_0x289020)break;else _0x5403d0['push'](_0x5403d0['shift']());}catch(_0x2cf054){_0x5403d0['push'](_0x5403d0['shift']());}}}(_0x369f,0x44918));import{AITextAdapter as _0xd247d8}from'./aitextadapter.js';import{AIRequestError as _0x5e2219}from'./aiadapter.js';import{getTranslation as _0x51eb0f}from'../utils/common-translations.js';import{logWarning as _0xa73cc4,logError as _0x361df7}from'ckeditor5/src/utils.js';function _0x56dc(_0x268f34,_0x2012a8){var _0x369fca=_0x369f();return _0x56dc=function(_0x56dcff,_0x4c2904){_0x56dcff=_0x56dcff-0xce;var _0x64e0e7=_0x369fca[_0x56dcff];return _0x64e0e7;},_0x56dc(_0x268f34,_0x2012a8);}export class AWSTextAdapter extends _0xd247d8{static get[_0x403a63(0xe1)](){var _0x43e7a3=_0x403a63;return _0x43e7a3(0xd3);}[_0x403a63(0xde)](){var _0x27fca1=_0x403a63;super[_0x27fca1(0xde)](),_0xa73cc4(_0x27fca1(0xd9));}async[_0x403a63(0xe2)](_0x20329a){var _0x5f0b99=_0x403a63;throw _0x361df7(_0x5f0b99(0xd9)),new _0x5e2219(_0x51eb0f(this[_0x5f0b99(0xd1)][_0x5f0b99(0xd6)],_0x5f0b99(0xd8)));}}function _0x369f(){var _0x255263=['275751MiUxEm','pluginName','sendRequest','31436ecodZr','830193VZCLOW','14pRKHTu','8115BGzKIJ','editor','24MPRyhK','AWSTextAdapter','72OXYmEW','96ZCweVk','locale','744469rzThRj','AI_ERROR_AWS_NOT_SUPPORTED','ai-aws-adapter-not-supported','234bzdmxF','8uICuFD','31630gxAaSg','15804230FQMXHR','init','26BilVoH'];_0x369f=function(){return _0x255263;};return _0x369f();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x32731c=_0x5902;(function(_0x1bb602,_0x106d74){const _0x33ac69=_0x5902,_0x11b7bb=_0x1bb602();while(!![]){try{const _0x59d402=parseInt(_0x33ac69(0x203))/0x1*(parseInt(_0x33ac69(0x1b5))/0x2)+parseInt(_0x33ac69(0x1e4))/0x3+-parseInt(_0x33ac69(0x19a))/0x4+-parseInt(_0x33ac69(0x1f8))/0x5*(-parseInt(_0x33ac69(0x1c1))/0x6)+parseInt(_0x33ac69(0x19f))/0x7*(parseInt(_0x33ac69(0x1ff))/0x8)+parseInt(_0x33ac69(0x1ce))/0x9*(-parseInt(_0x33ac69(0x1db))/0xa)+-parseInt(_0x33ac69(0x1b3))/0xb*(parseInt(_0x33ac69(0x1ae))/0xc);if(_0x59d402===_0x106d74)break;else _0x11b7bb['push'](_0x11b7bb['shift']());}catch(_0x5d7bab){_0x11b7bb['push'](_0x11b7bb['shift']());}}}(_0x4c4b,0xda01d));import{uid as _0xf6fb67}from'ckeditor5/src/utils.js';function _0x4c4b(){const _0x56273b=['pluginName','ck-fake-ai-selection_collapsed','resultRange','getFirstRange','removeMarker','markers','join','_getAISelection','getRange','plugins','1073418BcSqlW','element','getLastPosition','first','updateMarker','addMarker','span','fire','addClass','isContent','getMarkersGroup','document','map','27oEPzBO','length','text/html','init','hideFakeVisualSelection','ck-fake-ai-selection','change','afterInit','for','push','createRange','getChild','findAncestor','1216570yqaRKD','_getDefaultInsertBelowPosition','off','parse','createUIElement','getRows','getLastMatchingPosition','deleteContent','setData','2308464tNGZVI','insertContentBelow','filter','_createEmptyTableRows','insertContent','ck-ai-assistant-ui_theme','markerRange','insertRows','paste','href','schema','canEditAt','editor','pop','config','TableUtils','last','model','contentInsertion','editingDowncast','45UicOKp','lowest','_pasteHTMLUsingClipboard','isPremiumPlugin','createPositionAt','createPositionAfter','has','64312QGAxDQ','start','fromCharCode','get','65asHGXD','setSelection','AIAssistantEditing','getChildren','conversion','table','markerToHighlight','2352344Pbfazk','createSelection','getRowIndexes','editing','showFakeVisualSelection','651nvmfmD','from','isOfficialPlugin','forEach','ai-ui','getSelectedBlocks','getColumnIndexes','isAtEnd','getSelectedTableCells','once','DataTransfer','selection','markerToElement','isCollapsed','_getTableRowCountFromContent','84kVuAHt','end','_resetContentOfSelectedTableCells','getRanges','data','2284854yfEndZ','ai.assistant.useTheme','5316TQQhdX','_prepareTableInsertBelowPosition'];_0x4c4b=function(){return _0x56273b;};return _0x4c4b();}import{Plugin as _0x422cda}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0x4f5297}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x2d9520,ViewDataTransfer as _0x34a105}from'ckeditor5/src/engine.js';function _0x5902(_0x20e80b,_0x18760b){const _0x4c4bbd=_0x4c4b();return _0x5902=function(_0x590258,_0x5be8a2){_0x590258=_0x590258-0x195;let _0x52de0d=_0x4c4bbd[_0x590258];return _0x52de0d;},_0x5902(_0x20e80b,_0x18760b);}const w=globalThis[_0x32731c(0x1a9)],f=_0x32731c(0x1a3);export class AIAssistantEditing extends _0x422cda{static get[_0x32731c(0x1b7)](){const _0x1879b3=_0x32731c;return _0x1879b3(0x195);}static get[_0x32731c(0x1a1)](){return!0x0;}static get[_0x32731c(0x1fb)](){return!0x0;}[_0x32731c(0x1d1)](){const _0x288148=_0x32731c,{editor:_0x427cef}=this,_0x4e105e=[_0x288148(0x1d3)];_0x427cef[_0x288148(0x1f2)][_0x288148(0x202)](_0x288148(0x1b4))&&_0x4e105e[_0x288148(0x1d7)](_0x288148(0x1e9)),_0x427cef[_0x288148(0x197)][_0x288148(0x1d6)](_0x288148(0x1f7))[_0x288148(0x199)]({'model':f,'view':{'classes':_0x4e105e,'priority':0xc}}),_0x427cef[_0x288148(0x197)][_0x288148(0x1d6)](_0x288148(0x1f7))[_0x288148(0x1ab)]({'model':f,'view':(_0x270888,{writer:_0x13fd8d})=>{const _0x43988e=_0x288148;if(!_0x270888[_0x43988e(0x1ea)][_0x43988e(0x1ac)])return null;const _0x4fa416=_0x13fd8d[_0x43988e(0x1df)](_0x43988e(0x1c7));return _0x13fd8d[_0x43988e(0x1c9)]([_0x43988e(0x1d3),_0x43988e(0x1b8)],_0x4fa416),_0x4fa416;}});}[_0x32731c(0x1d5)](){!async function(_0x401524){const _0x250012=_0x414aa5([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]),_0x483e9a=0x3dffc4e1,_0x28b8c7=0x3df84ec1^_0x483e9a,_0x39148f=window[_0x414aa5([0x44,0x61,0x74,0x65])][_0x414aa5([0x6e,0x6f,0x77])](),_0x32d347=_0x401524[_0x414aa5([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x4c2f12=new window[(_0x414aa5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x38c1ac=>{_0x32d347[_0x414aa5([0x6f,0x6e,0x63,0x65])](_0x414aa5([0x72,0x65,0x61,0x64,0x79]),_0x38c1ac);}),_0x128c5c={[_0x414aa5([0x6b,0x74,0x79])]:_0x414aa5([0x45,0x43]),[_0x414aa5([0x75,0x73,0x65])]:_0x414aa5([0x73,0x69,0x67]),[_0x414aa5([0x63,0x72,0x76])]:_0x414aa5([0x50,0x2d,0x32,0x35,0x36]),[_0x414aa5([0x78])]:_0x414aa5([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]),[_0x414aa5([0x79])]:_0x414aa5([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]),[_0x414aa5([0x61,0x6c,0x67])]:_0x414aa5([0x45,0x53,0x32,0x35,0x36])},_0x33d12e=_0x32d347[_0x414aa5([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x414aa5([0x67,0x65,0x74])](_0x414aa5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x74176(){let _0x1da05c,_0x18af59=null,_0x4d0061=null;try{if(_0x33d12e==_0x414aa5([0x47,0x50,0x4c]))return _0x414aa5([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1da05c=_0x2514b9(),!_0x1da05c)return _0x414aa5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1da05c[_0x414aa5([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4d0061=_0x12d5d5(_0x1da05c[_0x414aa5([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1da05c[_0x414aa5([0x6a,0x74,0x69])])),await _0x1a4c2b()?_0x4d527f()?_0x450c24()?_0x414aa5([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1d82ca()?(_0x1da05c[_0x414aa5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x414aa5([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x18af59=_0x114a97(_0x414aa5([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x50c72d()):_0x414aa5([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x414aa5([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x414aa5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x414aa5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x450c24(){const _0x370469=[_0x414aa5([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x414aa5([0x74,0x72,0x69,0x61,0x6c])][_0x414aa5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1da05c[_0x414aa5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x39148f/0x3e8:0xe10*_0x28b8c7;return _0x1da05c[_0x414aa5([0x65,0x78,0x70])]<_0x370469;}function _0x4d527f(){const _0x2c096d=_0x1da05c[_0x414aa5([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2c096d&&(!!_0x2c096d[_0x414aa5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x414aa5([0x2a]))||!!_0x2c096d[_0x414aa5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x414aa5([0x41,0x49])));}function _0x1d82ca(){const _0x364bc0=_0x5902,_0x2a22f9=_0x1da05c[_0x414aa5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2a22f9||0x0==_0x2a22f9[_0x414aa5([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x4e6d9c}=new URL(window[_0x414aa5([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x364bc0(0x1ed)]);if(_0x2a22f9[_0x414aa5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4e6d9c))return!0x0;const _0x1ca93a=_0x4e6d9c[_0x414aa5([0x73,0x70,0x6c,0x69,0x74])](_0x414aa5([0x2e]));return _0x2a22f9[_0x414aa5([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x272491=>_0x272491[_0x414aa5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x414aa5([0x2a])))[_0x414aa5([0x6d,0x61,0x70])](_0x3954f7=>_0x3954f7[_0x414aa5([0x73,0x70,0x6c,0x69,0x74])](_0x414aa5([0x2e])))[_0x414aa5([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xb7b61a=>_0xb7b61a[_0x414aa5([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1ca93a[_0x414aa5([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x414aa5([0x6d,0x61,0x70])](_0x25e08e=>Array(_0x1ca93a[_0x414aa5([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x25e08e[_0x414aa5([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x414aa5([0x66,0x69,0x6c,0x6c])](_0x25e08e[0x0]===_0x414aa5([0x2a])?_0x414aa5([0x2a]):'')[_0x414aa5([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x25e08e))[_0x414aa5([0x73,0x6f,0x6d,0x65])](_0x33eab6=>_0x1ca93a[_0x414aa5([0x65,0x76,0x65,0x72,0x79])]((_0x2c2bb5,_0x328862)=>_0x33eab6[_0x328862]===_0x2c2bb5||_0x33eab6[_0x328862]===_0x414aa5([0x2a])));}function _0x50c72d(){return _0x18af59&&_0x4d0061?new window[(_0x414aa5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1bc195,_0x4cf193)=>{_0x18af59[_0x414aa5([0x74,0x68,0x65,0x6e])](_0x1bc195,_0x4cf193),_0x4d0061[_0x414aa5([0x74,0x68,0x65,0x6e])](_0x4f4ad5=>{_0x4f4ad5!=_0x414aa5([0x56,0x61,0x6c,0x69,0x64])&&_0x1bc195(_0x4f4ad5);},_0x4cf193);}):_0x18af59||_0x4d0061||_0x414aa5([0x56,0x61,0x6c,0x69,0x64]);}}function _0x12d5d5(_0x1f9fe0,_0x4ad5bb){return new window[(_0x414aa5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4ab6e0=>{if(_0x2d0fd0())return _0x4ab6e0(_0x414aa5([0x56,0x61,0x6c,0x69,0x64]));_0x84258c(),_0x32d347[_0x414aa5([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x414aa5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3a2cd8=!0x1;const _0x39bf6d=_0xf6fb67();function _0x477a3d(_0x5b2afb){return!!_0x5b2afb&&(typeof _0x5b2afb===_0x414aa5([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x5b2afb===_0x414aa5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x5b2afb[_0x414aa5([0x74,0x68,0x65,0x6e])]===_0x414aa5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x5b2afb[_0x414aa5([0x63,0x61,0x74,0x63,0x68])]===_0x414aa5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3fb80a(_0x5ce893){_0x74debb(_0x5ce893)[_0x414aa5([0x74,0x68,0x65,0x6e])](_0x39d85b=>{if(!_0x39d85b||_0x39d85b[_0x414aa5([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x414aa5([0x6f,0x6b]))return _0x414aa5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4440c5(_0x4322f4(_0x39bf6d+_0x4ad5bb))!=_0x39d85b[_0x414aa5([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x414aa5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x414aa5([0x56,0x61,0x6c,0x69,0x64]);})[_0x414aa5([0x74,0x68,0x65,0x6e])](_0x559a4b=>(_0xc08777(),_0x559a4b),()=>{const _0x101acf=_0x5856bc();return null==_0x101acf?(_0xc08777(),_0x414aa5([0x56,0x61,0x6c,0x69,0x64])):_0x414aa5(_0x39148f-_0x101acf>(0x19f340e1^_0x483e9a)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x414aa5([0x74,0x68,0x65,0x6e])](_0x4ab6e0)[_0x414aa5([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4ab6e0(_0x414aa5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x41a98b=0x3dc92a61^_0x483e9a;function _0xc08777(){const _0x20a9cf=_0x414aa5([0x6c,0x6c,0x63,0x74,0x2d])+_0x4440c5(_0x4322f4(_0x1f9fe0)),_0x2bcb26=_0x38d069(_0x4440c5(window[_0x414aa5([0x4d,0x61,0x74,0x68])][_0x414aa5([0x63,0x65,0x69,0x6c])](_0x39148f/_0x41a98b)));window[_0x414aa5([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x414aa5([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x20a9cf,_0x2bcb26);}function _0x5856bc(){const _0x5b759f=_0x414aa5([0x6c,0x6c,0x63,0x74,0x2d])+_0x4440c5(_0x4322f4(_0x1f9fe0)),_0x677c1c=window[_0x414aa5([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x414aa5([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5b759f);return _0x677c1c?window[_0x414aa5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x38d069(_0x677c1c),0x10)*_0x41a98b:null;}function _0x74debb(_0x11d210){return new window[(_0x414aa5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x23cbaf,_0x50ebd9)=>{_0x11d210[_0x414aa5([0x74,0x68,0x65,0x6e])](_0x23cbaf,_0x50ebd9),window[_0x414aa5([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x50ebd9,0x3dfe1021^_0x483e9a);});}}_0x32d347[_0x414aa5([0x6f,0x6e])](_0x414aa5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x405ab7,_0x1232b9)=>{if(_0x1232b9[0x0]!=_0x1f9fe0)return _0x4ab6e0(_0x414aa5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1232b9[0x1]={..._0x1232b9[0x1],[_0x414aa5([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x39bf6d};},{[_0x414aa5([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x414aa5([0x68,0x69,0x67,0x68])}),_0x32d347[_0x414aa5([0x6f,0x6e])](_0x414aa5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4f3e7f=>{_0x477a3d(_0x4f3e7f[_0x414aa5([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3a2cd8=!0x0,_0x3fb80a(_0x4f3e7f[_0x414aa5([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x414aa5([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x414aa5([0x6c,0x6f,0x77])}),_0x4c2f12[_0x414aa5([0x74,0x68,0x65,0x6e])](()=>{_0x3a2cd8||_0x4ab6e0(_0x414aa5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2d0fd0(){return _0x32d347[_0x414aa5([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x414aa5([0x76,0x69,0x65,0x77])][_0x414aa5([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x414aa5([0x61,0x75,0x74,0x6f]);}function _0x84258c(){_0x32d347[_0x414aa5([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x414aa5([0x76,0x69,0x65,0x77])][_0x414aa5([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x414aa5([0x61,0x75,0x74,0x6f]);}}function _0x114a97(_0x580bff){const _0x3f78ce=[new window[(_0x414aa5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1af3c4=>setTimeout(_0x1af3c4,0x3df6fa2d^_0x483e9a)),_0x4c2f12[_0x414aa5([0x74,0x68,0x65,0x6e])](()=>new window[(_0x414aa5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x50e4e9=>{let _0x1de9d3=0x0;_0x32d347[_0x414aa5([0x6d,0x6f,0x64,0x65,0x6c])][_0x414aa5([0x6f,0x6e])](_0x414aa5([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x21a269,_0x537116)=>{_0x537116[0x0][_0x414aa5([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1de9d3++,_0x1de9d3==(0x3dffc109^_0x483e9a)&&(_0x50e4e9(),_0x21a269[_0x414aa5([0x6f,0x66,0x66])]());});}))];return window[_0x414aa5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x414aa5([0x72,0x61,0x63,0x65])](_0x3f78ce)[_0x414aa5([0x74,0x68,0x65,0x6e])](()=>_0x580bff);}async function _0x510aa1(){await _0x4c2f12,_0x32d347[_0x414aa5([0x6d,0x6f,0x64,0x65,0x6c])][_0x414aa5([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4a2a79,_0x32d347[_0x414aa5([0x6d,0x6f,0x64,0x65,0x6c])][_0x414aa5([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4a2a79,_0x32d347[_0x414aa5([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x414aa5([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x450876(_0x131d52){const _0x6c67cf=_0x2ad80c();_0x32d347[_0x6c67cf]=_0x414aa5([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x131d52,_0x131d52!=_0x414aa5([0x56,0x61,0x6c,0x69,0x64])&&_0x510aa1();}function _0x2ad80c(){const _0x15fbf8=window[_0x414aa5([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x414aa5([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x414aa5([0x6e,0x6f,0x77])]())[_0x414aa5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x414aa5([0x2e]),'');let _0x144156=_0x414aa5([0x6e]);for(let _0x9e0455=0x0;_0x9e0455<_0x15fbf8[_0x414aa5([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x9e0455+=0x2){let _0x256c7b=window[_0x414aa5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x15fbf8[_0x414aa5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x9e0455,_0x9e0455+0x2));_0x256c7b>=_0x250012[_0x414aa5([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x256c7b-=_0x250012[_0x414aa5([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x144156+=_0x250012[_0x256c7b];}return _0x144156;}function _0x2514b9(){const _0xc2ea8f=_0x33d12e[_0x414aa5([0x73,0x70,0x6c,0x69,0x74])](_0x414aa5([0x2e]));if(0x3!=_0xc2ea8f[_0x414aa5([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0xfa3549(_0xc2ea8f[0x1]);function _0xfa3549(_0x1dbd1e){const _0x55e548=_0x1176c4(_0x1dbd1e);return _0x55e548&&_0x4ee104()?_0x55e548:null;function _0x4ee104(){const _0x1765f3=_0x55e548[_0x414aa5([0x6a,0x74,0x69])],_0x899d33=window[_0x414aa5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1765f3[_0x414aa5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1765f3[_0x414aa5([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x30088b={..._0x55e548,[_0x414aa5([0x6a,0x74,0x69])]:_0x1765f3[_0x414aa5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1765f3[_0x414aa5([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x30088b[_0x414aa5([0x76,0x63])],_0x4322f4(_0x30088b)==_0x899d33;}}}async function _0x1a4c2b(){let _0x3a5449=!0x0;try{const _0x8bc99a=_0x33d12e[_0x414aa5([0x73,0x70,0x6c,0x69,0x74])](_0x414aa5([0x2e])),[_0x2ac052,_0x4446cf,_0xeacfb]=_0x8bc99a;return _0x4d0ff6(_0x2ac052),await _0x155cb8(_0x2ac052,_0x4446cf,_0xeacfb),_0x3a5449;}catch{return!0x1;}function _0x4d0ff6(_0x1fb178){const _0x42f6eb=_0x1176c4(_0x1fb178);_0x42f6eb&&_0x42f6eb[_0x414aa5([0x61,0x6c,0x67])]==_0x414aa5([0x45,0x53,0x32,0x35,0x36])||(_0x3a5449=!0x1);}async function _0x155cb8(_0x29daaa,_0x236e14,_0x5d7171){const _0x12edfd=window[_0x414aa5([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x414aa5([0x66,0x72,0x6f,0x6d])](_0x9b18e3(_0x5d7171),_0x5ba107=>_0x5ba107[_0x414aa5([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x173b43=new window[(_0x414aa5([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x414aa5([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x29daaa+_0x414aa5([0x2e])+_0x236e14),_0x40c6e2=window[_0x414aa5([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x414aa5([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x40c6e2)return;const _0xe379fd=await _0x40c6e2[_0x414aa5([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x414aa5([0x6a,0x77,0x6b]),_0x128c5c,{[_0x414aa5([0x6e,0x61,0x6d,0x65])]:_0x414aa5([0x45,0x43,0x44,0x53,0x41]),[_0x414aa5([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x414aa5([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x414aa5([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x40c6e2[_0x414aa5([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x414aa5([0x6e,0x61,0x6d,0x65])]:_0x414aa5([0x45,0x43,0x44,0x53,0x41]),[_0x414aa5([0x68,0x61,0x73,0x68])]:{[_0x414aa5([0x6e,0x61,0x6d,0x65])]:_0x414aa5([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0xe379fd,_0x12edfd,_0x173b43)||(_0x3a5449=!0x1);}}function _0x1176c4(_0xda8d47){return _0xda8d47[_0x414aa5([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x414aa5([0x65,0x79]))?JSON[_0x414aa5([0x70,0x61,0x72,0x73,0x65])](_0x9b18e3(_0xda8d47)):null;}function _0x9b18e3(_0x38956b){return window[_0x414aa5([0x61,0x74,0x6f,0x62])](_0x38956b[_0x414aa5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x414aa5([0x2b]))[_0x414aa5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x414aa5([0x2f])));}function _0x4322f4(_0x42c3e8){let _0x3b1551=0x1505;function _0x4c078d(_0x239cf5){for(let _0xfd5ee=0x0;_0xfd5ee<_0x239cf5[_0x414aa5([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xfd5ee++){const _0x5c0992=_0x239cf5[_0x414aa5([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0xfd5ee);_0x3b1551=(_0x3b1551<<0x5)+_0x3b1551+_0x5c0992,_0x3b1551&=_0x3b1551;}}function _0x2e8473(_0x3a0d42){Array[_0x414aa5([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x3a0d42)?_0x3a0d42[_0x414aa5([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2e8473):_0x3a0d42&&typeof _0x3a0d42==_0x414aa5([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x414aa5([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x3a0d42)[_0x414aa5([0x73,0x6f,0x72,0x74])]()[_0x414aa5([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x34a36d,_0x343500])=>{_0x4c078d(_0x34a36d),_0x2e8473(_0x343500);}):_0x4c078d(window[_0x414aa5([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x3a0d42));}return _0x2e8473(_0x42c3e8),_0x3b1551>>>0x0;}function _0x4440c5(_0x3ca3a4){return _0x3ca3a4[_0x414aa5([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x414aa5([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x414aa5([0x30]));}function _0x38d069(_0x440d20){return _0x440d20[_0x414aa5([0x73,0x70,0x6c,0x69,0x74])]('')[_0x414aa5([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x414aa5([0x6a,0x6f,0x69,0x6e])]('');}function _0x4a2a79(){}function _0x414aa5(_0x47d6a2){const _0x4617ea=_0x5902;return _0x47d6a2[_0x4617ea(0x1cd)](_0x165b39=>String[_0x4617ea(0x201)](_0x165b39))[_0x4617ea(0x1bd)]('');}_0x450876(await _0x74176());}(this);}[_0x32731c(0x19e)](){const _0x23556b=_0x32731c,_0x15aa3d=this[_0x23556b(0x1f0)][_0x23556b(0x1f5)];_0x15aa3d[_0x23556b(0x1d4)](_0x3185a5=>{const _0x43f152=_0x23556b,_0x3a1853=_0x15aa3d[_0x43f152(0x1cc)][_0x43f152(0x1aa)][_0x43f152(0x1b1)]();let _0x5f180c=0x0;for(const _0x149456 of _0x3a1853){const _0x275ee3=f+':'+_0x5f180c;if(_0x15aa3d[_0x43f152(0x1bc)][_0x43f152(0x1fe)](_0x275ee3))_0x3185a5[_0x43f152(0x1c5)](_0x275ee3,{'range':_0x149456});else{if(_0x149456[_0x43f152(0x200)][_0x43f152(0x1a6)]){const _0x37fbb8=_0x149456[_0x43f152(0x200)][_0x43f152(0x1e1)](({item:_0x2369d3})=>!_0x15aa3d[_0x43f152(0x1ee)][_0x43f152(0x1ca)](_0x2369d3),{'boundaries':_0x149456});_0x3185a5[_0x43f152(0x1c6)](_0x275ee3,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x3185a5[_0x43f152(0x1d8)](_0x37fbb8,_0x149456[_0x43f152(0x1af)])});}else _0x3185a5[_0x43f152(0x1c6)](_0x275ee3,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x149456});}_0x5f180c++;}});}[_0x32731c(0x1d2)](){const _0x457743=_0x32731c,_0xb23208=this[_0x457743(0x1f0)][_0x457743(0x1f5)],_0x23c0d0=Array[_0x457743(0x1a0)](this[_0x457743(0x1f0)][_0x457743(0x1f5)][_0x457743(0x1bc)][_0x457743(0x1cb)](f));_0x23c0d0[_0x457743(0x1cf)]&&_0xb23208[_0x457743(0x1d4)](_0x39d40e=>{const _0x1f615c=_0x457743;_0x23c0d0[_0x1f615c(0x1a2)](_0x2f26f2=>{const _0x3eb0e5=_0x1f615c;_0x39d40e[_0x3eb0e5(0x1bb)](_0x2f26f2);});});}[_0x32731c(0x1e8)](_0x38e375,_0x4c47b3){const _0x28e8bc=_0x32731c,_0x40b78a=this[_0x28e8bc(0x1be)](),_0x2f48f0=_0x4c47b3||_0x40b78a[_0x28e8bc(0x1ba)]();this[_0x28e8bc(0x1f0)][_0x28e8bc(0x1f5)][_0x28e8bc(0x1ef)](_0x2f48f0)&&this[_0x28e8bc(0x1f0)][_0x28e8bc(0x1f5)][_0x28e8bc(0x1d4)](_0x2bd527=>{const _0xeaff0c=_0x28e8bc;this[_0xeaff0c(0x1d2)](),_0x4c47b3||this[_0xeaff0c(0x1b0)](_0x2bd527,_0x40b78a),this[_0xeaff0c(0x1fa)]({'insertAt':_0x2f48f0,'writer':_0x2bd527,'html':_0x38e375});});}[_0x32731c(0x1e5)](_0x3e33b1){const _0x1993d3=_0x32731c,{model:_0x35e122}=this[_0x1993d3(0x1f0)],_0x4fa816=this[_0x1993d3(0x1be)]();_0x35e122[_0x1993d3(0x1d4)](()=>{const _0xda391a=_0x1993d3,_0x5163cf=this[_0xda391a(0x1b6)](_0x3e33b1,_0x4fa816)||this[_0xda391a(0x1dc)](_0x4fa816);this[_0xda391a(0x1e8)](_0x3e33b1,_0x5163cf);});}[_0x32731c(0x1be)](){const _0x1eac4b=_0x32731c,_0x3da5a2=this[_0x1eac4b(0x1f0)][_0x1eac4b(0x1f5)],_0x441977=Array[_0x1eac4b(0x1a0)](_0x3da5a2[_0x1eac4b(0x1bc)][_0x1eac4b(0x1cb)](f))[_0x1eac4b(0x1cd)](_0x91ba39=>_0x91ba39[_0x1eac4b(0x1bf)]());return _0x3da5a2[_0x1eac4b(0x19b)](_0x441977);}[_0x32731c(0x1fa)]({writer:_0x3c963c,html:_0x373c9d,insertAt:_0x1ade35}){const _0x3021e8=_0x32731c,{view:_0x44e5ae}=this[_0x3021e8(0x1f0)][_0x3021e8(0x19d)],_0x3c5b88=this[_0x3021e8(0x1f0)][_0x3021e8(0x1c0)][_0x3021e8(0x202)](_0x4f5297),_0x8c577b=new w();_0x8c577b[_0x3021e8(0x1e3)](_0x3021e8(0x1d0),_0x373c9d);const _0x3fd444=new ClipboardEvent(_0x3021e8(0x1ec),{'clipboardData':_0x8c577b}),_0x3e6f49=new _0x2d9520(_0x44e5ae,_0x3fd444,{'dataTransfer':new _0x34a105(_0x8c577b)});_0x3c963c[_0x3021e8(0x204)](_0x1ade35);const _0x388b2d=(_0x3b2403,_0x10c566)=>{const _0x40aed7=_0x3021e8;_0x10c566[_0x40aed7(0x1b9)]&&_0x3c963c[_0x40aed7(0x204)](_0x10c566[_0x40aed7(0x1b9)]);};_0x3c5b88[_0x3021e8(0x1a8)](_0x3021e8(0x1f6),_0x388b2d,{'priority':_0x3021e8(0x1f9)}),_0x44e5ae[_0x3021e8(0x1cc)][_0x3021e8(0x1c8)](_0x3021e8(0x1ec),_0x3e6f49),_0x3c5b88[_0x3021e8(0x1dd)](_0x3021e8(0x1f6),_0x388b2d);}[_0x32731c(0x1dc)](_0x556f5d){const _0x425391=_0x32731c,{model:_0xb89059}=this[_0x425391(0x1f0)],_0x5b0c6e=Array[_0x425391(0x1a0)](_0x556f5d[_0x425391(0x1a4)]());return _0x5b0c6e[_0x425391(0x1cf)]?_0xb89059[_0x425391(0x1fd)](_0x5b0c6e[_0x425391(0x1f1)]()):_0x556f5d[_0x425391(0x1c3)]();}[_0x32731c(0x1b6)](_0x14008f,_0x149dde){const _0x38134d=_0x32731c,{model:_0x52ac5d,plugins:_0x936cca}=this[_0x38134d(0x1f0)];if(_0x936cca[_0x38134d(0x1fe)](_0x38134d(0x1f3))){const _0x41bd91=_0x936cca[_0x38134d(0x202)](_0x38134d(0x1f3))[_0x38134d(0x1a7)](_0x149dde);if(_0x41bd91[_0x38134d(0x1cf)]){const _0x4c87b4=this[_0x38134d(0x1ad)](_0x14008f),_0x33d05a=this[_0x38134d(0x1e7)](_0x41bd91,_0x4c87b4);return _0x52ac5d[_0x38134d(0x1fc)](_0x33d05a,0x0);}}return null;}[_0x32731c(0x1ad)](_0x491815){const _0x178a34=_0x32731c,_0x26e3a4=this[_0x178a34(0x1f0)][_0x178a34(0x1c0)][_0x178a34(0x202)](_0x178a34(0x1f3)),_0x70d29d=this[_0x178a34(0x1f0)][_0x178a34(0x1b2)][_0x178a34(0x1de)](_0x491815),_0x58bca0=Array[_0x178a34(0x1a0)](_0x70d29d[_0x178a34(0x196)]())[_0x178a34(0x1e6)](_0x169303=>_0x169303['is'](_0x178a34(0x1c2),_0x178a34(0x198)));let _0x58e5cb=0x0;return _0x58bca0[_0x178a34(0x1a2)](_0x47bc46=>{const _0x52507b=_0x178a34;_0x58e5cb+=_0x26e3a4[_0x52507b(0x1e0)](_0x47bc46);}),_0x58e5cb;}[_0x32731c(0x1e7)](_0x13d0bb,_0x51fbbf){const _0x3eb3ff=_0x32731c,_0x5c1516=this[_0x3eb3ff(0x1f0)][_0x3eb3ff(0x1c0)][_0x3eb3ff(0x202)](_0x3eb3ff(0x1f3)),_0x44761e=_0x5c1516[_0x3eb3ff(0x19c)](_0x13d0bb),_0xed23cb=_0x5c1516[_0x3eb3ff(0x1a5)](_0x13d0bb),_0x5db727=_0x44761e[_0x3eb3ff(0x1f4)]+0x1,_0x29252f=_0xed23cb[_0x3eb3ff(0x1c4)],_0x385b02=_0x13d0bb[0x0][_0x3eb3ff(0x1da)](_0x3eb3ff(0x198));for(let _0x5a1057=0x0;_0x5a1057<_0x51fbbf;_0x5a1057++)_0x5c1516[_0x3eb3ff(0x1eb)](_0x385b02,{'at':_0x5db727});return _0x385b02[_0x3eb3ff(0x1d9)](_0x5db727)[_0x3eb3ff(0x1d9)](_0x29252f);}[_0x32731c(0x1b0)](_0x5cdbfd,_0x5c6fc2){const _0x4a4862=_0x32731c,{plugins:_0x1c054d}=this[_0x4a4862(0x1f0)],{model:_0x117186}=_0x5cdbfd;if(!_0x1c054d[_0x4a4862(0x1fe)](_0x4a4862(0x1f3)))return;_0x1c054d[_0x4a4862(0x202)](_0x4a4862(0x1f3))[_0x4a4862(0x1a7)](_0x5c6fc2)[_0x4a4862(0x1cf)]&&_0x117186[_0x4a4862(0x1e2)](_0x5c6fc2);}}
23
+ const _0x3e6f1f=_0x5683;(function(_0x3a1197,_0x1a0870){const _0x1aaa5c=_0x5683,_0x46e45=_0x3a1197();while(!![]){try{const _0x26e795=parseInt(_0x1aaa5c(0x199))/0x1*(parseInt(_0x1aaa5c(0x18e))/0x2)+parseInt(_0x1aaa5c(0x1d0))/0x3+parseInt(_0x1aaa5c(0x1ae))/0x4*(parseInt(_0x1aaa5c(0x17b))/0x5)+parseInt(_0x1aaa5c(0x1c9))/0x6*(-parseInt(_0x1aaa5c(0x169))/0x7)+-parseInt(_0x1aaa5c(0x1a2))/0x8*(-parseInt(_0x1aaa5c(0x174))/0x9)+-parseInt(_0x1aaa5c(0x172))/0xa*(parseInt(_0x1aaa5c(0x19f))/0xb)+parseInt(_0x1aaa5c(0x173))/0xc*(-parseInt(_0x1aaa5c(0x1a1))/0xd);if(_0x26e795===_0x1a0870)break;else _0x46e45['push'](_0x46e45['shift']());}catch(_0x204513){_0x46e45['push'](_0x46e45['shift']());}}}(_0x2d61,0x3fb9a));import{uid as _0x5b4a8e}from'ckeditor5/src/utils.js';import{Plugin as _0x2007fb}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0x131add}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x258622,ViewDataTransfer as _0x1912bd}from'ckeditor5/src/engine.js';function _0x5683(_0x180e1e,_0x137d7d){const _0x2d617a=_0x2d61();return _0x5683=function(_0x5683c9,_0x2786db){_0x5683c9=_0x5683c9-0x164;let _0xe7762e=_0x2d617a[_0x5683c9];return _0xe7762e;},_0x5683(_0x180e1e,_0x137d7d);}const w=globalThis[_0x3e6f1f(0x19c)],f=_0x3e6f1f(0x1af);function _0x2d61(){const _0x1ff604=['TableUtils','from','_createEmptyTableRows','createPositionAfter','init','insertRows','getRange','parse','markers','plugins','markerToElement','removeMarker','selection','document','_getAISelection','fromCharCode','findAncestor','insertContentBelow','createPositionAt','join','_getDefaultInsertBelowPosition','createSelection','6cxTJQZ','config','change','getRowIndexes','end','lowest','getLastPosition','885450hgYXUO','addClass','ck-ai-assistant-ui_theme','_getTableRowCountFromContent','ck-fake-ai-selection_collapsed','getRows','_pasteHTMLUsingClipboard','markerRange','forEach','table','1983849SACIZw','schema','markerToHighlight','data','deleteContent','text/html','getColumnIndexes','get','editor','1550DYZYwj','12PwBEXU','5571YVRcnv','model','ck-fake-ai-selection','getLastMatchingPosition','map','resultRange','isAtEnd','3835TYOJrS','addMarker','conversion','hideFakeVisualSelection','insertContent','paste','getSelectedBlocks','off','isContent','isOfficialPlugin','isCollapsed','canEditAt','setSelection','contentInsertion','createRange','editingDowncast','first','AIAssistantEditing','element','14abmaaM','showFakeVisualSelection','getChild','span','start','setData','href','updateMarker','filter','fire','pop','8617DkSRPB','length','getSelectedTableCells','DataTransfer','ai.assistant.useTheme','getMarkersGroup','1441gazgjb','pluginName','8303854nnttpI','5944LMwXmA','once','_resetContentOfSelectedTableCells','createUIElement','_prepareTableInsertBelowPosition','push','last','has','afterInit','for','getFirstRange','editing','2024qpQpXv','ai-ui','getRanges','getChildren','isPremiumPlugin'];_0x2d61=function(){return _0x1ff604;};return _0x2d61();}export class AIAssistantEditing extends _0x2007fb{static get[_0x3e6f1f(0x1a0)](){const _0x32e732=_0x3e6f1f;return _0x32e732(0x18c);}static get[_0x3e6f1f(0x184)](){return!0x0;}static get[_0x3e6f1f(0x1b2)](){return!0x0;}[_0x3e6f1f(0x1b7)](){const _0x64cf44=_0x3e6f1f,{editor:_0x21daae}=this,_0x32fe4f=[_0x64cf44(0x176)];_0x21daae[_0x64cf44(0x1ca)][_0x64cf44(0x170)](_0x64cf44(0x19d))&&_0x32fe4f[_0x64cf44(0x1a7)](_0x64cf44(0x1d2)),_0x21daae[_0x64cf44(0x17d)][_0x64cf44(0x1ab)](_0x64cf44(0x18a))[_0x64cf44(0x16b)]({'model':f,'view':{'classes':_0x32fe4f,'priority':0xc}}),_0x21daae[_0x64cf44(0x17d)][_0x64cf44(0x1ab)](_0x64cf44(0x18a))[_0x64cf44(0x1bd)]({'model':f,'view':(_0x546686,{writer:_0x3f0e75})=>{const _0x139e16=_0x64cf44;if(!_0x546686[_0x139e16(0x166)][_0x139e16(0x185)])return null;const _0x176c3c=_0x3f0e75[_0x139e16(0x1a5)](_0x139e16(0x191));return _0x3f0e75[_0x139e16(0x1d1)]([_0x139e16(0x176),_0x139e16(0x1d4)],_0x176c3c),_0x176c3c;}});}[_0x3e6f1f(0x1aa)](){!async function(_0x34ab7e){const _0x1394ac=_0x5f4929([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]),_0x501bbc=0x3dffc4e1,_0x5561aa=0x3df84e89^_0x501bbc,_0x31da11=window[_0x5f4929([0x44,0x61,0x74,0x65])][_0x5f4929([0x6e,0x6f,0x77])](),_0x11e009=_0x34ab7e[_0x5f4929([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1d0660=new window[(_0x5f4929([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1d2585=>{_0x11e009[_0x5f4929([0x6f,0x6e,0x63,0x65])](_0x5f4929([0x72,0x65,0x61,0x64,0x79]),_0x1d2585);}),_0x4cbdda={[_0x5f4929([0x6b,0x74,0x79])]:_0x5f4929([0x45,0x43]),[_0x5f4929([0x75,0x73,0x65])]:_0x5f4929([0x73,0x69,0x67]),[_0x5f4929([0x63,0x72,0x76])]:_0x5f4929([0x50,0x2d,0x32,0x35,0x36]),[_0x5f4929([0x78])]:_0x5f4929([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]),[_0x5f4929([0x79])]:_0x5f4929([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]),[_0x5f4929([0x61,0x6c,0x67])]:_0x5f4929([0x45,0x53,0x32,0x35,0x36])},_0x28d885=_0x11e009[_0x5f4929([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5f4929([0x67,0x65,0x74])](_0x5f4929([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x3c1aa0(){let _0x2045f3,_0x3f9986=null,_0x2cb8db=null;try{if(_0x28d885==_0x5f4929([0x47,0x50,0x4c]))return _0x5f4929([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2045f3=_0x27a4dd(),!_0x2045f3)return _0x5f4929([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2045f3[_0x5f4929([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2cb8db=_0x360278(_0x2045f3[_0x5f4929([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2045f3[_0x5f4929([0x6a,0x74,0x69])])),await _0x3aa784()?_0x52f25a()?_0x1aae10()?_0x5f4929([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5ae128()?(_0x2045f3[_0x5f4929([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5f4929([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3f9986=_0x21b202(_0x5f4929([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x59147e()):_0x5f4929([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5f4929([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5f4929([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x5f4929([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1aae10(){const _0x1f3184=[_0x5f4929([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5f4929([0x74,0x72,0x69,0x61,0x6c])][_0x5f4929([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2045f3[_0x5f4929([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x31da11/0x3e8:0xe10*_0x5561aa;return _0x2045f3[_0x5f4929([0x65,0x78,0x70])]<_0x1f3184;}function _0x52f25a(){const _0x48f49d=_0x2045f3[_0x5f4929([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x48f49d&&(!!_0x48f49d[_0x5f4929([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5f4929([0x2a]))||!!_0x48f49d[_0x5f4929([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5f4929([0x41,0x49])));}function _0x5ae128(){const _0x221ed3=_0x5683,_0x1998b4=_0x2045f3[_0x5f4929([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1998b4||0x0==_0x1998b4[_0x5f4929([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x6a81c2}=new URL(window[_0x5f4929([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x221ed3(0x194)]);if(_0x1998b4[_0x5f4929([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x6a81c2))return!0x0;const _0x42052e=_0x6a81c2[_0x5f4929([0x73,0x70,0x6c,0x69,0x74])](_0x5f4929([0x2e]));return _0x1998b4[_0x5f4929([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4bb297=>_0x4bb297[_0x5f4929([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5f4929([0x2a])))[_0x5f4929([0x6d,0x61,0x70])](_0x50bed5=>_0x50bed5[_0x5f4929([0x73,0x70,0x6c,0x69,0x74])](_0x5f4929([0x2e])))[_0x5f4929([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x10b6cb=>_0x10b6cb[_0x5f4929([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x42052e[_0x5f4929([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5f4929([0x6d,0x61,0x70])](_0x1568ba=>Array(_0x42052e[_0x5f4929([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x1568ba[_0x5f4929([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5f4929([0x66,0x69,0x6c,0x6c])](_0x1568ba[0x0]===_0x5f4929([0x2a])?_0x5f4929([0x2a]):'')[_0x5f4929([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x1568ba))[_0x5f4929([0x73,0x6f,0x6d,0x65])](_0xc9e8cf=>_0x42052e[_0x5f4929([0x65,0x76,0x65,0x72,0x79])]((_0x18e772,_0x211452)=>_0xc9e8cf[_0x211452]===_0x18e772||_0xc9e8cf[_0x211452]===_0x5f4929([0x2a])));}function _0x59147e(){return _0x3f9986&&_0x2cb8db?new window[(_0x5f4929([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x168552,_0x54050)=>{_0x3f9986[_0x5f4929([0x74,0x68,0x65,0x6e])](_0x168552,_0x54050),_0x2cb8db[_0x5f4929([0x74,0x68,0x65,0x6e])](_0x2cfd77=>{_0x2cfd77!=_0x5f4929([0x56,0x61,0x6c,0x69,0x64])&&_0x168552(_0x2cfd77);},_0x54050);}):_0x3f9986||_0x2cb8db||_0x5f4929([0x56,0x61,0x6c,0x69,0x64]);}}function _0x360278(_0x168c12,_0x2b093e){return new window[(_0x5f4929([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1f1fa0=>{if(_0x48c168())return _0x1f1fa0(_0x5f4929([0x56,0x61,0x6c,0x69,0x64]));_0x2c8248(),_0x11e009[_0x5f4929([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5f4929([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0xaf9f80=!0x1;const _0x1f5359=_0x5b4a8e();function _0x5dcb22(_0x410434){return!!_0x410434&&(typeof _0x410434===_0x5f4929([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x410434===_0x5f4929([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x410434[_0x5f4929([0x74,0x68,0x65,0x6e])]===_0x5f4929([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x410434[_0x5f4929([0x63,0x61,0x74,0x63,0x68])]===_0x5f4929([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x28388c(_0x4a0ed2){_0x3bcdf2(_0x4a0ed2)[_0x5f4929([0x74,0x68,0x65,0x6e])](_0x3221b7=>{if(!_0x3221b7||_0x3221b7[_0x5f4929([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5f4929([0x6f,0x6b]))return _0x5f4929([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x522fb8(_0x2c8b8a(_0x1f5359+_0x2b093e))!=_0x3221b7[_0x5f4929([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5f4929([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5f4929([0x56,0x61,0x6c,0x69,0x64]);})[_0x5f4929([0x74,0x68,0x65,0x6e])](_0x276b78=>(_0x5b81bc(),_0x276b78),()=>{const _0x300812=_0x20ef15();return null==_0x300812?(_0x5b81bc(),_0x5f4929([0x56,0x61,0x6c,0x69,0x64])):_0x5f4929(_0x31da11-_0x300812>(0x19f340e1^_0x501bbc)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5f4929([0x74,0x68,0x65,0x6e])](_0x1f1fa0)[_0x5f4929([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1f1fa0(_0x5f4929([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x18d538=0x3dc92a61^_0x501bbc;function _0x5b81bc(){const _0x2f2eb9=_0x5f4929([0x6c,0x6c,0x63,0x74,0x2d])+_0x522fb8(_0x2c8b8a(_0x168c12)),_0x2aaffc=_0x421a33(_0x522fb8(window[_0x5f4929([0x4d,0x61,0x74,0x68])][_0x5f4929([0x63,0x65,0x69,0x6c])](_0x31da11/_0x18d538)));window[_0x5f4929([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5f4929([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2f2eb9,_0x2aaffc);}function _0x20ef15(){const _0x38903e=_0x5f4929([0x6c,0x6c,0x63,0x74,0x2d])+_0x522fb8(_0x2c8b8a(_0x168c12)),_0x2eef31=window[_0x5f4929([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5f4929([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x38903e);return _0x2eef31?window[_0x5f4929([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x421a33(_0x2eef31),0x10)*_0x18d538:null;}function _0x3bcdf2(_0x2af7b6){return new window[(_0x5f4929([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5049ea,_0x136dfc)=>{_0x2af7b6[_0x5f4929([0x74,0x68,0x65,0x6e])](_0x5049ea,_0x136dfc),window[_0x5f4929([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x136dfc,0x3dfe1021^_0x501bbc);});}}_0x11e009[_0x5f4929([0x6f,0x6e])](_0x5f4929([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x2af3c2,_0x31e20c)=>{if(_0x31e20c[0x0]!=_0x168c12)return _0x1f1fa0(_0x5f4929([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x31e20c[0x1]={..._0x31e20c[0x1],[_0x5f4929([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1f5359};},{[_0x5f4929([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5f4929([0x68,0x69,0x67,0x68])}),_0x11e009[_0x5f4929([0x6f,0x6e])](_0x5f4929([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x436105=>{_0x5dcb22(_0x436105[_0x5f4929([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0xaf9f80=!0x0,_0x28388c(_0x436105[_0x5f4929([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5f4929([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5f4929([0x6c,0x6f,0x77])}),_0x1d0660[_0x5f4929([0x74,0x68,0x65,0x6e])](()=>{_0xaf9f80||_0x1f1fa0(_0x5f4929([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x48c168(){return _0x11e009[_0x5f4929([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5f4929([0x76,0x69,0x65,0x77])][_0x5f4929([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5f4929([0x61,0x75,0x74,0x6f]);}function _0x2c8248(){_0x11e009[_0x5f4929([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5f4929([0x76,0x69,0x65,0x77])][_0x5f4929([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5f4929([0x61,0x75,0x74,0x6f]);}}function _0x21b202(_0x473995){const _0xedd551=[new window[(_0x5f4929([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3dd37f=>setTimeout(_0x3dd37f,0x3df6fa2d^_0x501bbc)),_0x1d0660[_0x5f4929([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5f4929([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x108774=>{let _0x251cd6=0x0;_0x11e009[_0x5f4929([0x6d,0x6f,0x64,0x65,0x6c])][_0x5f4929([0x6f,0x6e])](_0x5f4929([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3ac15c,_0x5007a5)=>{_0x5007a5[0x0][_0x5f4929([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x251cd6++,_0x251cd6==(0x3dffc109^_0x501bbc)&&(_0x108774(),_0x3ac15c[_0x5f4929([0x6f,0x66,0x66])]());});}))];return window[_0x5f4929([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5f4929([0x72,0x61,0x63,0x65])](_0xedd551)[_0x5f4929([0x74,0x68,0x65,0x6e])](()=>_0x473995);}async function _0x2b5b3a(){await _0x1d0660,_0x11e009[_0x5f4929([0x6d,0x6f,0x64,0x65,0x6c])][_0x5f4929([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x522fb5,_0x11e009[_0x5f4929([0x6d,0x6f,0x64,0x65,0x6c])][_0x5f4929([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x522fb5,_0x11e009[_0x5f4929([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5f4929([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x167d11(_0x238360){const _0x566a93=_0x1d0462();_0x11e009[_0x566a93]=_0x5f4929([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x238360,_0x238360!=_0x5f4929([0x56,0x61,0x6c,0x69,0x64])&&_0x2b5b3a();}function _0x1d0462(){const _0x2e88cb=window[_0x5f4929([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5f4929([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5f4929([0x6e,0x6f,0x77])]())[_0x5f4929([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5f4929([0x2e]),'');let _0x41e0f3=_0x5f4929([0x6e]);for(let _0x2f1fdd=0x0;_0x2f1fdd<_0x2e88cb[_0x5f4929([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2f1fdd+=0x2){let _0x16c26a=window[_0x5f4929([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2e88cb[_0x5f4929([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2f1fdd,_0x2f1fdd+0x2));_0x16c26a>=_0x1394ac[_0x5f4929([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x16c26a-=_0x1394ac[_0x5f4929([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x41e0f3+=_0x1394ac[_0x16c26a];}return _0x41e0f3;}function _0x27a4dd(){const _0x5f305b=_0x28d885[_0x5f4929([0x73,0x70,0x6c,0x69,0x74])](_0x5f4929([0x2e]));if(0x3!=_0x5f305b[_0x5f4929([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x2635a1(_0x5f305b[0x1]);function _0x2635a1(_0x194996){const _0x26d2ef=_0x45eed7(_0x194996);return _0x26d2ef&&_0x302586()?_0x26d2ef:null;function _0x302586(){const _0xa56f46=_0x26d2ef[_0x5f4929([0x6a,0x74,0x69])],_0x46bb3a=window[_0x5f4929([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xa56f46[_0x5f4929([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xa56f46[_0x5f4929([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x45ac01={..._0x26d2ef,[_0x5f4929([0x6a,0x74,0x69])]:_0xa56f46[_0x5f4929([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0xa56f46[_0x5f4929([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x45ac01[_0x5f4929([0x76,0x63])],_0x2c8b8a(_0x45ac01)==_0x46bb3a;}}}async function _0x3aa784(){let _0x12e991=!0x0;try{const _0x515939=_0x28d885[_0x5f4929([0x73,0x70,0x6c,0x69,0x74])](_0x5f4929([0x2e])),[_0x348b9c,_0x4b71a6,_0x470070]=_0x515939;return _0x40ac2d(_0x348b9c),await _0x578f66(_0x348b9c,_0x4b71a6,_0x470070),_0x12e991;}catch{return!0x1;}function _0x40ac2d(_0x3f18e4){const _0xa9190d=_0x45eed7(_0x3f18e4);_0xa9190d&&_0xa9190d[_0x5f4929([0x61,0x6c,0x67])]==_0x5f4929([0x45,0x53,0x32,0x35,0x36])||(_0x12e991=!0x1);}async function _0x578f66(_0x451865,_0x37e0b6,_0x2453af){const _0x1eb371=window[_0x5f4929([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5f4929([0x66,0x72,0x6f,0x6d])](_0x31c8fc(_0x2453af),_0x392322=>_0x392322[_0x5f4929([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x175c46=new window[(_0x5f4929([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5f4929([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x451865+_0x5f4929([0x2e])+_0x37e0b6),_0x1f3453=window[_0x5f4929([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5f4929([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1f3453)return;const _0x4545c5=await _0x1f3453[_0x5f4929([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5f4929([0x6a,0x77,0x6b]),_0x4cbdda,{[_0x5f4929([0x6e,0x61,0x6d,0x65])]:_0x5f4929([0x45,0x43,0x44,0x53,0x41]),[_0x5f4929([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5f4929([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5f4929([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1f3453[_0x5f4929([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5f4929([0x6e,0x61,0x6d,0x65])]:_0x5f4929([0x45,0x43,0x44,0x53,0x41]),[_0x5f4929([0x68,0x61,0x73,0x68])]:{[_0x5f4929([0x6e,0x61,0x6d,0x65])]:_0x5f4929([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4545c5,_0x1eb371,_0x175c46)||(_0x12e991=!0x1);}}function _0x45eed7(_0x23498a){return _0x23498a[_0x5f4929([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5f4929([0x65,0x79]))?JSON[_0x5f4929([0x70,0x61,0x72,0x73,0x65])](_0x31c8fc(_0x23498a)):null;}function _0x31c8fc(_0x3ce319){return window[_0x5f4929([0x61,0x74,0x6f,0x62])](_0x3ce319[_0x5f4929([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5f4929([0x2b]))[_0x5f4929([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5f4929([0x2f])));}function _0x2c8b8a(_0x39c553){let _0x2d2015=0x1505;function _0x162cd4(_0x27fb91){for(let _0x31fd40=0x0;_0x31fd40<_0x27fb91[_0x5f4929([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x31fd40++){const _0x414c64=_0x27fb91[_0x5f4929([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x31fd40);_0x2d2015=(_0x2d2015<<0x5)+_0x2d2015+_0x414c64,_0x2d2015&=_0x2d2015;}}function _0x36ca49(_0x4cf577){Array[_0x5f4929([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4cf577)?_0x4cf577[_0x5f4929([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x36ca49):_0x4cf577&&typeof _0x4cf577==_0x5f4929([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5f4929([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4cf577)[_0x5f4929([0x73,0x6f,0x72,0x74])]()[_0x5f4929([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x8ce812,_0x369782])=>{_0x162cd4(_0x8ce812),_0x36ca49(_0x369782);}):_0x162cd4(window[_0x5f4929([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4cf577));}return _0x36ca49(_0x39c553),_0x2d2015>>>0x0;}function _0x522fb8(_0x527aa1){return _0x527aa1[_0x5f4929([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5f4929([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5f4929([0x30]));}function _0x421a33(_0x586a3a){return _0x586a3a[_0x5f4929([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5f4929([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5f4929([0x6a,0x6f,0x69,0x6e])]('');}function _0x522fb5(){}function _0x5f4929(_0x5008f3){const _0x2dc507=_0x5683;return _0x5008f3[_0x2dc507(0x178)](_0x372305=>String[_0x2dc507(0x1c2)](_0x372305))[_0x2dc507(0x1c6)]('');}_0x167d11(await _0x3c1aa0());}(this);}[_0x3e6f1f(0x18f)](){const _0x13103c=_0x3e6f1f,_0x157f0d=this[_0x13103c(0x171)][_0x13103c(0x175)];_0x157f0d[_0x13103c(0x1cb)](_0x50ea2e=>{const _0x2b1e92=_0x13103c,_0x5b25b7=_0x157f0d[_0x2b1e92(0x1c0)][_0x2b1e92(0x1bf)][_0x2b1e92(0x1b0)]();let _0x187a7b=0x0;for(const _0x68727b of _0x5b25b7){const _0xa55545=f+':'+_0x187a7b;if(_0x157f0d[_0x2b1e92(0x1bb)][_0x2b1e92(0x1a9)](_0xa55545))_0x50ea2e[_0x2b1e92(0x195)](_0xa55545,{'range':_0x68727b});else{if(_0x68727b[_0x2b1e92(0x192)][_0x2b1e92(0x17a)]){const _0x129fa1=_0x68727b[_0x2b1e92(0x192)][_0x2b1e92(0x177)](({item:_0xaf2b95})=>!_0x157f0d[_0x2b1e92(0x16a)][_0x2b1e92(0x183)](_0xaf2b95),{'boundaries':_0x68727b});_0x50ea2e[_0x2b1e92(0x17c)](_0xa55545,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x50ea2e[_0x2b1e92(0x189)](_0x129fa1,_0x68727b[_0x2b1e92(0x1cd)])});}else _0x50ea2e[_0x2b1e92(0x17c)](_0xa55545,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x68727b});}_0x187a7b++;}});}[_0x3e6f1f(0x17e)](){const _0x1f6d9d=_0x3e6f1f,_0x493144=this[_0x1f6d9d(0x171)][_0x1f6d9d(0x175)],_0x46926d=Array[_0x1f6d9d(0x1b4)](this[_0x1f6d9d(0x171)][_0x1f6d9d(0x175)][_0x1f6d9d(0x1bb)][_0x1f6d9d(0x19e)](f));_0x46926d[_0x1f6d9d(0x19a)]&&_0x493144[_0x1f6d9d(0x1cb)](_0x3ff4d6=>{const _0x73da23=_0x1f6d9d;_0x46926d[_0x73da23(0x167)](_0x32420d=>{const _0x3a2bcb=_0x73da23;_0x3ff4d6[_0x3a2bcb(0x1be)](_0x32420d);});});}[_0x3e6f1f(0x17f)](_0x55ee1d,_0x1dca1c){const _0x62d162=_0x3e6f1f,_0x4dbc2e=this[_0x62d162(0x1c1)](),_0x36aced=_0x1dca1c||_0x4dbc2e[_0x62d162(0x1ac)]();this[_0x62d162(0x171)][_0x62d162(0x175)][_0x62d162(0x186)](_0x36aced)&&this[_0x62d162(0x171)][_0x62d162(0x175)][_0x62d162(0x1cb)](_0x5a8842=>{const _0x35c988=_0x62d162;this[_0x35c988(0x17e)](),_0x1dca1c||this[_0x35c988(0x1a4)](_0x5a8842,_0x4dbc2e),this[_0x35c988(0x165)]({'insertAt':_0x36aced,'writer':_0x5a8842,'html':_0x55ee1d});});}[_0x3e6f1f(0x1c4)](_0x298318){const _0x41f2b2=_0x3e6f1f,{model:_0x5c035a}=this[_0x41f2b2(0x171)],_0x760c53=this[_0x41f2b2(0x1c1)]();_0x5c035a[_0x41f2b2(0x1cb)](()=>{const _0x442357=_0x41f2b2,_0x1d4f25=this[_0x442357(0x1a6)](_0x298318,_0x760c53)||this[_0x442357(0x1c7)](_0x760c53);this[_0x442357(0x17f)](_0x298318,_0x1d4f25);});}[_0x3e6f1f(0x1c1)](){const _0x29dfe0=_0x3e6f1f,_0xcbc199=this[_0x29dfe0(0x171)][_0x29dfe0(0x175)],_0x248cc2=Array[_0x29dfe0(0x1b4)](_0xcbc199[_0x29dfe0(0x1bb)][_0x29dfe0(0x19e)](f))[_0x29dfe0(0x178)](_0x4e8d25=>_0x4e8d25[_0x29dfe0(0x1b9)]());return _0xcbc199[_0x29dfe0(0x1c8)](_0x248cc2);}[_0x3e6f1f(0x165)]({writer:_0x35545d,html:_0x1a6b1d,insertAt:_0x1c7630}){const _0x5a845f=_0x3e6f1f,{view:_0x4553fb}=this[_0x5a845f(0x171)][_0x5a845f(0x1ad)],_0x1ec35c=this[_0x5a845f(0x171)][_0x5a845f(0x1bc)][_0x5a845f(0x170)](_0x131add),_0x13db21=new w();_0x13db21[_0x5a845f(0x193)](_0x5a845f(0x16e),_0x1a6b1d);const _0x5ae188=new ClipboardEvent(_0x5a845f(0x180),{'clipboardData':_0x13db21}),_0x471599=new _0x258622(_0x4553fb,_0x5ae188,{'dataTransfer':new _0x1912bd(_0x13db21)});_0x35545d[_0x5a845f(0x187)](_0x1c7630);const _0x5bd71a=(_0x2c3437,_0x1e277f)=>{const _0x1bb0dc=_0x5a845f;_0x1e277f[_0x1bb0dc(0x179)]&&_0x35545d[_0x1bb0dc(0x187)](_0x1e277f[_0x1bb0dc(0x179)]);};_0x1ec35c[_0x5a845f(0x1a3)](_0x5a845f(0x188),_0x5bd71a,{'priority':_0x5a845f(0x1ce)}),_0x4553fb[_0x5a845f(0x1c0)][_0x5a845f(0x197)](_0x5a845f(0x180),_0x471599),_0x1ec35c[_0x5a845f(0x182)](_0x5a845f(0x188),_0x5bd71a);}[_0x3e6f1f(0x1c7)](_0x522888){const _0x5215f6=_0x3e6f1f,{model:_0x217475}=this[_0x5215f6(0x171)],_0x1caa05=Array[_0x5215f6(0x1b4)](_0x522888[_0x5215f6(0x181)]());return _0x1caa05[_0x5215f6(0x19a)]?_0x217475[_0x5215f6(0x1b6)](_0x1caa05[_0x5215f6(0x198)]()):_0x522888[_0x5215f6(0x1cf)]();}[_0x3e6f1f(0x1a6)](_0x1f13c5,_0x375361){const _0x2b0b50=_0x3e6f1f,{model:_0x5a7546,plugins:_0x3ef36f}=this[_0x2b0b50(0x171)];if(_0x3ef36f[_0x2b0b50(0x1a9)](_0x2b0b50(0x1b3))){const _0x3bc87c=_0x3ef36f[_0x2b0b50(0x170)](_0x2b0b50(0x1b3))[_0x2b0b50(0x19b)](_0x375361);if(_0x3bc87c[_0x2b0b50(0x19a)]){const _0x3087b3=this[_0x2b0b50(0x1d3)](_0x1f13c5),_0x467561=this[_0x2b0b50(0x1b5)](_0x3bc87c,_0x3087b3);return _0x5a7546[_0x2b0b50(0x1c5)](_0x467561,0x0);}}return null;}[_0x3e6f1f(0x1d3)](_0x1d5081){const _0x1319cd=_0x3e6f1f,_0x12c299=this[_0x1319cd(0x171)][_0x1319cd(0x1bc)][_0x1319cd(0x170)](_0x1319cd(0x1b3)),_0x3e5149=this[_0x1319cd(0x171)][_0x1319cd(0x16c)][_0x1319cd(0x1ba)](_0x1d5081),_0x12b9fd=Array[_0x1319cd(0x1b4)](_0x3e5149[_0x1319cd(0x1b1)]())[_0x1319cd(0x196)](_0x3c91a0=>_0x3c91a0['is'](_0x1319cd(0x18d),_0x1319cd(0x168)));let _0x1b7dae=0x0;return _0x12b9fd[_0x1319cd(0x167)](_0x30f125=>{const _0x3e92fe=_0x1319cd;_0x1b7dae+=_0x12c299[_0x3e92fe(0x164)](_0x30f125);}),_0x1b7dae;}[_0x3e6f1f(0x1b5)](_0x561a85,_0x50082b){const _0x469d2a=_0x3e6f1f,_0x609bdc=this[_0x469d2a(0x171)][_0x469d2a(0x1bc)][_0x469d2a(0x170)](_0x469d2a(0x1b3)),_0x480412=_0x609bdc[_0x469d2a(0x1cc)](_0x561a85),_0x4db012=_0x609bdc[_0x469d2a(0x16f)](_0x561a85),_0x499d2f=_0x480412[_0x469d2a(0x1a8)]+0x1,_0x1f6f17=_0x4db012[_0x469d2a(0x18b)],_0x5a64b7=_0x561a85[0x0][_0x469d2a(0x1c3)](_0x469d2a(0x168));for(let _0x126b33=0x0;_0x126b33<_0x50082b;_0x126b33++)_0x609bdc[_0x469d2a(0x1b8)](_0x5a64b7,{'at':_0x499d2f});return _0x5a64b7[_0x469d2a(0x190)](_0x499d2f)[_0x469d2a(0x190)](_0x1f6f17);}[_0x3e6f1f(0x1a4)](_0x590d90,_0xb98bc){const _0xd3ec8a=_0x3e6f1f,{plugins:_0x481123}=this[_0xd3ec8a(0x171)],{model:_0x4c3f45}=_0x590d90;if(!_0x481123[_0xd3ec8a(0x1a9)](_0xd3ec8a(0x1b3)))return;_0x481123[_0xd3ec8a(0x170)](_0xd3ec8a(0x1b3))[_0xd3ec8a(0x19b)](_0xb98bc)[_0xd3ec8a(0x19a)]&&_0x4c3f45[_0xd3ec8a(0x16d)](_0xb98bc);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x1577(_0x512c07,_0x31938b){const _0x5ada17=_0x5ada();return _0x1577=function(_0x157722,_0x5e06d5){_0x157722=_0x157722-0x15c;let _0x85b989=_0x5ada17[_0x157722];return _0x85b989;},_0x1577(_0x512c07,_0x31938b);}function _0x5ada(){const _0x2adfae=['ck-ai-form__content-area-wrapper','1LLOYLF','<span>]</span>','3256MuesnP','clipboard','ck-ai-form__copy-button-wrapper','Copy','querySelector','removeAllRanges','setStartAfter','ClipboardItem','div','text/plain','absolute','1546386ScXhGY','write','locale','addRange','13164096SkAvrl','createElement','textContent','9097020pHChBZ','focus','ck-ai-form__content-area--processing','mousedown','setTemplate','execute','left','setEndBefore','ck-reset_all-excluded','setContent','ck-ai-form__content-field','_copyHTMLToClipboard','69pPWhUS','ck-ai-form__copy-button','contentFieldView','889884ylCIxu','icon','<span>[</span>','isEnabled','smooth','render','ck-content','style','body','10EJTDPi','change:isProcessing','class','appendLoader','AI\x20is\x20writing...','element','set','148915MTVveg','loaderView','-9999px','_createLoader','innerHTML','scrollTo','.ck-ai-form__loader','text/html','wheel','appendChild','firstElementChild','48nUZleD','isProcessing','40EawZeu','lastElementChild','bindTemplate','_createCopyButton','1099581QUtQSM','ck-ai-form__loader','copy','listenTo','bind','position','\x20ck-ai-form__copy-button--copied','remove','execCommand','scrollHeight','ck-ai-form__content-area','ck-hidden','createRange','getSelection','84YfQJvt','copyButtonView','change:value','isVisible','value'];_0x5ada=function(){return _0x2adfae;};return _0x5ada();}const _0x4e0d93=_0x1577;(function(_0x4e0e49,_0x28f3da){const _0x536943=_0x1577,_0x1d77d8=_0x4e0e49();while(!![]){try{const _0x80c768=-parseInt(_0x536943(0x1a9))/0x1*(-parseInt(_0x536943(0x15e))/0x2)+-parseInt(_0x536943(0x171))/0x3*(parseInt(_0x536943(0x1ab))/0x4)+-parseInt(_0x536943(0x191))/0x5*(parseInt(_0x536943(0x174))/0x6)+-parseInt(_0x536943(0x195))/0x7*(-parseInt(_0x536943(0x18f))/0x8)+-parseInt(_0x536943(0x165))/0x9+-parseInt(_0x536943(0x17d))/0xa*(-parseInt(_0x536943(0x162))/0xb)+-parseInt(_0x536943(0x1a3))/0xc*(parseInt(_0x536943(0x184))/0xd);if(_0x80c768===_0x28f3da)break;else _0x1d77d8['push'](_0x1d77d8['shift']());}catch(_0x1754c1){_0x1d77d8['push'](_0x1d77d8['shift']());}}}(_0x5ada,0x96724));import{global as _0x29e19d}from'ckeditor5/src/utils.js';import{View as _0x87e296,ButtonView as _0x1ba16b,SpinnerView as _0x5edb2a}from'ckeditor5/src/ui.js';import{IconCheck as _0x423652,IconCopy as _0x25969d}from'ckeditor5/src/icons.js';import{getTranslation as _0x4e2608}from'../../utils/common-translations.js';export class AIFormContentArea extends _0x87e296{[_0x4e0d93(0x173)];[_0x4e0d93(0x1a4)];constructor(_0x5aa5bb,_0x5e4812=''){const _0x3aebab=_0x4e0d93;super(_0x5aa5bb),this[_0x3aebab(0x183)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x2b1f45=this[_0x3aebab(0x193)];this[_0x3aebab(0x173)]=new ContentFieldView(_0x5aa5bb,_0x5e4812),this[_0x3aebab(0x1a4)]=this[_0x3aebab(0x194)](),this[_0x3aebab(0x169)]({'tag':_0x3aebab(0x1b3),'attributes':{'class':['ck',_0x3aebab(0x1a8),_0x2b1f45['if'](_0x3aebab(0x1a6),_0x3aebab(0x1a0),_0x41cb4d=>!_0x41cb4d)],'tabindex':'-1'},'children':[{'tag':_0x3aebab(0x1b3),'attributes':{'class':['ck',_0x3aebab(0x19f),_0x2b1f45['if'](_0x3aebab(0x190),_0x3aebab(0x167))]},'children':[this[_0x3aebab(0x173)],{'tag':_0x3aebab(0x1b3),'attributes':{'class':['ck',_0x3aebab(0x1ad)]},'children':[this[_0x3aebab(0x1a4)]]}]}]});}[_0x4e0d93(0x179)](){const _0x367ee0=_0x4e0d93;super[_0x367ee0(0x179)](),this[_0x367ee0(0x1a7)]&&this[_0x367ee0(0x173)][_0x367ee0(0x16e)](this[_0x367ee0(0x1a7)]);let _0x4bf52f=!0x1;this['on'](_0x367ee0(0x1a5),(_0x1d93fe,_0x4974e7,_0xd5e38b)=>{const _0x3a4853=_0x367ee0,_0x4be4f3=!this[_0x3a4853(0x173)][_0x3a4853(0x182)][_0x3a4853(0x1af)](_0x3a4853(0x18a));this[_0x3a4853(0x173)][_0x3a4853(0x16e)](_0xd5e38b),this[_0x3a4853(0x190)]&&_0x4be4f3&&!_0x4bf52f&&this[_0x3a4853(0x182)][_0x3a4853(0x189)]({'top':this[_0x3a4853(0x182)][_0x3a4853(0x19e)],'behavior':_0x3a4853(0x178)});}),this['on'](_0x367ee0(0x17e),(_0x1c10ad,_0x4b07d2,_0x53f71a)=>{const _0x4e1a70=_0x367ee0;_0x4bf52f=!0x1,_0x53f71a?(this[_0x4e1a70(0x1a7)]=null,this[_0x4e1a70(0x173)][_0x4e1a70(0x180)]()):this[_0x4e1a70(0x1a7)]||this[_0x4e1a70(0x173)][_0x4e1a70(0x16e)]('');}),this[_0x367ee0(0x198)](this[_0x367ee0(0x182)],_0x367ee0(0x18c),()=>{_0x4bf52f=!0x0;}),this[_0x367ee0(0x198)](this[_0x367ee0(0x182)],_0x367ee0(0x168),()=>{_0x4bf52f=!0x0;});}[_0x4e0d93(0x166)](){const _0x50fcef=_0x4e0d93;this[_0x50fcef(0x182)][_0x50fcef(0x166)]();}[_0x4e0d93(0x194)](){const _0x41ecca=_0x4e0d93,_0x5649dd=this[_0x41ecca(0x160)],_0x30ff9c=new _0x1ba16b(this[_0x41ecca(0x160)]),_0x15061c=_0x41ecca(0x172);return _0x30ff9c[_0x41ecca(0x183)]({'label':_0x4e2608(_0x5649dd,_0x41ecca(0x1ae)),'icon':_0x25969d,'class':_0x15061c,'tooltip':!0x0}),_0x30ff9c[_0x41ecca(0x199)](_0x41ecca(0x1a6))['to'](this,_0x41ecca(0x1a7),_0x4257c8=>!!_0x4257c8),_0x30ff9c[_0x41ecca(0x199)](_0x41ecca(0x177))['to'](this,_0x41ecca(0x190),_0x165af4=>!_0x165af4),_0x30ff9c['on'](_0x41ecca(0x16a),()=>{const _0x1c622b=_0x41ecca;this[_0x1c622b(0x170)](this[_0x1c622b(0x173)][_0x1c622b(0x182)]),_0x30ff9c[_0x1c622b(0x175)]=_0x423652,_0x30ff9c[_0x1c622b(0x17f)]=_0x15061c+_0x1c622b(0x19b),this[_0x1c622b(0x166)](),setTimeout(()=>{const _0x3b7480=_0x1c622b;_0x30ff9c[_0x3b7480(0x175)]=_0x25969d,_0x30ff9c[_0x3b7480(0x17f)]=_0x15061c;},0x3e8);}),_0x30ff9c;}[_0x4e0d93(0x170)](_0x5055bc){const _0x328108=_0x4e0d93,{window:_0x2c4e2f,document:_0x5487b6}=_0x29e19d;if(_0x2c4e2f[_0x328108(0x1b2)]){const {Blob:_0x36ec97,ClipboardItem:_0x5e0e72}=_0x2c4e2f,_0x1e8c08=[new _0x5e0e72({'text/html':new _0x36ec97([_0x5055bc[_0x328108(0x188)]],{'type':_0x328108(0x18b)}),'text/plain':new _0x36ec97([_0x5055bc[_0x328108(0x164)]||''],{'type':_0x328108(0x15c)})})];navigator[_0x328108(0x1ac)][_0x328108(0x15f)](_0x1e8c08);}else{const _0xa48b7d=_0x5487b6[_0x328108(0x163)](_0x328108(0x1b3));_0xa48b7d[_0x328108(0x17b)][_0x328108(0x19a)]=_0x328108(0x15d),_0xa48b7d[_0x328108(0x17b)][_0x328108(0x16b)]=_0x328108(0x186),_0xa48b7d[_0x328108(0x188)]=_0x328108(0x176)+_0x5055bc[_0x328108(0x188)]+_0x328108(0x1aa),_0x5487b6[_0x328108(0x17c)][_0x328108(0x18d)](_0xa48b7d);const _0x123527=_0x5487b6[_0x328108(0x1a1)]();_0x123527[_0x328108(0x1b1)](_0xa48b7d[_0x328108(0x18e)]),_0x123527[_0x328108(0x16c)](_0xa48b7d[_0x328108(0x192)]);const _0x257467=_0x2c4e2f[_0x328108(0x1a2)]();_0x257467[_0x328108(0x1b0)](),_0x257467[_0x328108(0x161)](_0x123527),_0x5487b6[_0x328108(0x19d)](_0x328108(0x197)),_0xa48b7d[_0x328108(0x19c)]();}}}export class ContentFieldView extends _0x87e296{constructor(_0x16c111,_0x54c9ce=''){const _0x26b258=_0x4e0d93;super(_0x16c111),this[_0x26b258(0x185)]=this[_0x26b258(0x187)](),this[_0x26b258(0x169)]({'tag':_0x26b258(0x1b3),'attributes':{'class':['ck',_0x26b258(0x17a),_0x54c9ce,_0x26b258(0x16d),_0x26b258(0x16f)]}});}[_0x4e0d93(0x16e)](_0x44173a){const _0x47d887=_0x4e0d93;this[_0x47d887(0x182)][_0x47d887(0x188)]=_0x44173a;}[_0x4e0d93(0x180)](){const _0x226862=_0x4e0d93;this[_0x226862(0x182)][_0x226862(0x18d)](this[_0x226862(0x185)][_0x226862(0x182)]);}[_0x4e0d93(0x187)](){const _0x39517f=_0x4e0d93,_0xb0bd75=new _0x87e296(),_0x1fd78a=this[_0x39517f(0x160)],_0x4de717=new _0x5edb2a();return _0x4de717[_0x39517f(0x1a6)]=!0x0,_0xb0bd75[_0x39517f(0x169)]({'tag':_0x39517f(0x1b3),'attributes':{'class':['ck',_0x39517f(0x196)]},'children':[_0x4de717,{'text':_0x4e2608(_0x1fd78a,_0x39517f(0x181))}]}),_0xb0bd75[_0x39517f(0x179)](),_0xb0bd75;}}
23
+ const _0x124c3d=_0x5836;(function(_0x1ffd86,_0x5b069a){const _0x54e47e=_0x5836,_0x5658c6=_0x1ffd86();while(!![]){try{const _0x204231=-parseInt(_0x54e47e(0xff))/0x1+-parseInt(_0x54e47e(0xeb))/0x2*(parseInt(_0x54e47e(0xec))/0x3)+-parseInt(_0x54e47e(0x11a))/0x4*(parseInt(_0x54e47e(0x12f))/0x5)+parseInt(_0x54e47e(0xf9))/0x6+-parseInt(_0x54e47e(0xf3))/0x7+-parseInt(_0x54e47e(0x138))/0x8*(-parseInt(_0x54e47e(0x135))/0x9)+parseInt(_0x54e47e(0x128))/0xa;if(_0x204231===_0x5b069a)break;else _0x5658c6['push'](_0x5658c6['shift']());}catch(_0xbeb347){_0x5658c6['push'](_0x5658c6['shift']());}}}(_0x4834,0x97fc4));function _0x5836(_0x830f9f,_0x59a396){const _0x4834e1=_0x4834();return _0x5836=function(_0x5836ea,_0x3742c3){_0x5836ea=_0x5836ea-0xe7;let _0x1133ef=_0x4834e1[_0x5836ea];return _0x1133ef;},_0x5836(_0x830f9f,_0x59a396);}import{global as _0x205980}from'ckeditor5/src/utils.js';import{View as _0x4b5dc0,ButtonView as _0x456a47,SpinnerView as _0x47e2ca}from'ckeditor5/src/ui.js';import{IconCheck as _0x1429c9,IconCopy as _0x3e85c8}from'ckeditor5/src/icons.js';import{getTranslation as _0x4126da}from'../../utils/common-translations.js';export class AIFormContentArea extends _0x4b5dc0{[_0x124c3d(0xf7)];[_0x124c3d(0x114)];constructor(_0x5048d6,_0x459208=''){const _0x51c85c=_0x124c3d;super(_0x5048d6),this[_0x51c85c(0x136)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x5b5b03=this[_0x51c85c(0xe7)];this[_0x51c85c(0xf7)]=new ContentFieldView(_0x5048d6,_0x459208),this[_0x51c85c(0x114)]=this[_0x51c85c(0x10e)](),this[_0x51c85c(0x102)]({'tag':_0x51c85c(0xf4),'attributes':{'class':['ck',_0x51c85c(0x124),_0x5b5b03['if'](_0x51c85c(0x107),_0x51c85c(0x13b),_0x140b5a=>!_0x140b5a)],'tabindex':'-1'},'children':[{'tag':_0x51c85c(0xf4),'attributes':{'class':['ck',_0x51c85c(0x111),_0x5b5b03['if'](_0x51c85c(0x121),_0x51c85c(0x112))]},'children':[this[_0x51c85c(0xf7)],{'tag':_0x51c85c(0xf4),'attributes':{'class':['ck',_0x51c85c(0x106)]},'children':[this[_0x51c85c(0x114)]]}]}]});}[_0x124c3d(0x129)](){const _0x513277=_0x124c3d;super[_0x513277(0x129)](),this[_0x513277(0x10c)]&&this[_0x513277(0xf7)][_0x513277(0x130)](this[_0x513277(0x10c)]);let _0x301046=!0x1;this['on'](_0x513277(0xfc),(_0x49b2bc,_0x4ae70a,_0x4e852b)=>{const _0x56e080=_0x513277,_0x42a618=!this[_0x56e080(0xf7)][_0x56e080(0x113)][_0x56e080(0x101)](_0x56e080(0x12c));this[_0x56e080(0xf7)][_0x56e080(0x130)](_0x4e852b),this[_0x56e080(0x121)]&&_0x42a618&&!_0x301046&&this[_0x56e080(0x113)][_0x56e080(0xf8)]({'top':this[_0x56e080(0x113)][_0x56e080(0x115)],'behavior':_0x56e080(0xfd)});}),this['on'](_0x513277(0x125),(_0x58d5e6,_0x5349b3,_0x21c76f)=>{const _0x157658=_0x513277;_0x301046=!0x1,_0x21c76f?(this[_0x157658(0x10c)]=null,this[_0x157658(0xf7)][_0x157658(0xed)]()):this[_0x157658(0x10c)]||this[_0x157658(0xf7)][_0x157658(0x130)]('');}),this[_0x513277(0x108)](this[_0x513277(0x113)],_0x513277(0x120),()=>{_0x301046=!0x0;}),this[_0x513277(0x108)](this[_0x513277(0x113)],_0x513277(0x13a),()=>{_0x301046=!0x0;});}[_0x124c3d(0x10a)](){const _0x418496=_0x124c3d;this[_0x418496(0x113)][_0x418496(0x10a)]();}[_0x124c3d(0x10e)](){const _0x5702d8=_0x124c3d,_0x2c22c9=this[_0x5702d8(0xef)],_0x3dddce=new _0x456a47(this[_0x5702d8(0xef)]),_0x2ce866=_0x5702d8(0x10d);return _0x3dddce[_0x5702d8(0x136)]({'label':_0x4126da(_0x2c22c9,_0x5702d8(0x134)),'icon':_0x3e85c8,'class':_0x2ce866,'tooltip':!0x0}),_0x3dddce[_0x5702d8(0x139)](_0x5702d8(0x107))['to'](this,_0x5702d8(0x10c),_0x1aa433=>!!_0x1aa433),_0x3dddce[_0x5702d8(0x139)](_0x5702d8(0xf5))['to'](this,_0x5702d8(0x121),_0x388f9b=>!_0x388f9b),_0x3dddce['on'](_0x5702d8(0x12e),()=>{const _0x3d8fa8=_0x5702d8;this[_0x3d8fa8(0x116)](this[_0x3d8fa8(0xf7)][_0x3d8fa8(0x113)]),_0x3dddce[_0x3d8fa8(0xf1)]=_0x1429c9,_0x3dddce[_0x3d8fa8(0x110)]=_0x2ce866+_0x3d8fa8(0x122),this[_0x3d8fa8(0x10a)](),setTimeout(()=>{const _0x153a0d=_0x3d8fa8;_0x3dddce[_0x153a0d(0xf1)]=_0x3e85c8,_0x3dddce[_0x153a0d(0x110)]=_0x2ce866;},0x3e8);}),_0x3dddce;}[_0x124c3d(0x116)](_0x512bed){const _0x547124=_0x124c3d,{window:_0x3c6f25,document:_0x3215cc}=_0x205980;if(_0x3c6f25[_0x547124(0x133)]){const {Blob:_0xa5de44,ClipboardItem:_0x28a156}=_0x3c6f25,_0x585aa9=[new _0x28a156({'text/html':new _0xa5de44([_0x512bed[_0x547124(0xf6)]],{'type':_0x547124(0x10b)}),'text/plain':new _0xa5de44([_0x512bed[_0x547124(0x11e)]||''],{'type':_0x547124(0x12b)})})];navigator[_0x547124(0x11f)][_0x547124(0xea)](_0x585aa9);}else{const _0x48f1fc=_0x3215cc[_0x547124(0xf0)](_0x547124(0xf4));_0x48f1fc[_0x547124(0xe9)][_0x547124(0x137)]=_0x547124(0x109),_0x48f1fc[_0x547124(0xe9)][_0x547124(0xf2)]=_0x547124(0xe8),_0x48f1fc[_0x547124(0xf6)]=_0x547124(0x11d)+_0x512bed[_0x547124(0xf6)]+_0x547124(0x103),_0x3215cc[_0x547124(0x117)][_0x547124(0x119)](_0x48f1fc);const _0x332d9e=_0x3215cc[_0x547124(0x105)]();_0x332d9e[_0x547124(0xee)](_0x48f1fc[_0x547124(0x12a)]),_0x332d9e[_0x547124(0x11c)](_0x48f1fc[_0x547124(0x100)]);const _0x3a6afa=_0x3c6f25[_0x547124(0x127)]();_0x3a6afa[_0x547124(0xfa)](),_0x3a6afa[_0x547124(0x132)](_0x332d9e),_0x3215cc[_0x547124(0xfb)](_0x547124(0x12d)),_0x48f1fc[_0x547124(0x10f)]();}}}export class ContentFieldView extends _0x4b5dc0{constructor(_0x41a955,_0x5151a5=''){const _0x3c7083=_0x124c3d;super(_0x41a955),this[_0x3c7083(0x131)]=this[_0x3c7083(0x123)](),this[_0x3c7083(0x102)]({'tag':_0x3c7083(0xf4),'attributes':{'class':['ck',_0x3c7083(0x11b),_0x5151a5,_0x3c7083(0xfe),_0x3c7083(0x126)]}});}[_0x124c3d(0x130)](_0x44e65a){const _0x4d7bb5=_0x124c3d;this[_0x4d7bb5(0x113)][_0x4d7bb5(0xf6)]=_0x44e65a;}[_0x124c3d(0xed)](){const _0x9cae1f=_0x124c3d;this[_0x9cae1f(0x113)][_0x9cae1f(0x119)](this[_0x9cae1f(0x131)][_0x9cae1f(0x113)]);}[_0x124c3d(0x123)](){const _0x202241=_0x124c3d,_0x55e2be=new _0x4b5dc0(),_0xd3332f=this[_0x202241(0xef)],_0x469a4c=new _0x47e2ca();return _0x469a4c[_0x202241(0x107)]=!0x0,_0x55e2be[_0x202241(0x102)]({'tag':_0x202241(0xf4),'attributes':{'class':['ck',_0x202241(0x118)]},'children':[_0x469a4c,{'text':_0x4126da(_0xd3332f,_0x202241(0x104))}]}),_0x55e2be[_0x202241(0x129)](),_0x55e2be;}}function _0x4834(){const _0xba6cd2=['_createCopyButton','remove','class','ck-ai-form__content-area','ck-ai-form__content-area--processing','element','copyButtonView','scrollHeight','_copyHTMLToClipboard','body','ck-ai-form__loader','appendChild','2364iYAbCB','ck-content','setEndBefore','<span>[</span>','textContent','clipboard','wheel','isProcessing','\x20ck-ai-form__copy-button--copied','_createLoader','ck-ai-form__content-area-wrapper','change:isProcessing','ck-ai-form__content-field','getSelection','16973390PAduIz','render','firstElementChild','text/plain','.ck-ai-form__loader','copy','execute','3670cFQZfg','setContent','loaderView','addRange','ClipboardItem','Copy','207xPgdsL','set','position','117992vMpHoG','bind','mousedown','ck-hidden','bindTemplate','-9999px','style','write','4dTLTai','1809531zGFPEV','appendLoader','setStartAfter','locale','createElement','icon','left','3724140suaMJi','div','isEnabled','innerHTML','contentFieldView','scrollTo','5666676hkakJh','removeAllRanges','execCommand','change:value','smooth','ck-reset_all-excluded','186312qbkMoa','lastElementChild','querySelector','setTemplate','<span>]</span>','AI\x20is\x20writing...','createRange','ck-ai-form__copy-button-wrapper','isVisible','listenTo','absolute','focus','text/html','value','ck-ai-form__copy-button'];_0x4834=function(){return _0xba6cd2;};return _0x4834();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x4b4856,_0x2d8735){const _0x25418e=_0x58fe,_0xf6bf31=_0x4b4856();while(!![]){try{const _0x8cf9f6=-parseInt(_0x25418e(0x8e))/0x1*(-parseInt(_0x25418e(0x88))/0x2)+parseInt(_0x25418e(0x8d))/0x3*(-parseInt(_0x25418e(0x99))/0x4)+parseInt(_0x25418e(0x98))/0x5+-parseInt(_0x25418e(0x89))/0x6*(-parseInt(_0x25418e(0x86))/0x7)+-parseInt(_0x25418e(0x93))/0x8*(parseInt(_0x25418e(0x8f))/0x9)+-parseInt(_0x25418e(0x8c))/0xa*(-parseInt(_0x25418e(0x92))/0xb)+-parseInt(_0x25418e(0x8a))/0xc*(parseInt(_0x25418e(0x95))/0xd);if(_0x8cf9f6===_0x2d8735)break;else _0xf6bf31['push'](_0xf6bf31['shift']());}catch(_0x5e2cb8){_0xf6bf31['push'](_0xf6bf31['shift']());}}}(_0x43bf,0x25fc5));function _0x58fe(_0x44dd93,_0x430ea2){const _0x43bf30=_0x43bf();return _0x58fe=function(_0x58fe48,_0x846aa8){_0x58fe48=_0x58fe48-0x86;let _0x183c12=_0x43bf30[_0x58fe48];return _0x183c12;},_0x58fe(_0x44dd93,_0x430ea2);}import{IconError as _0x4ec884}from'ckeditor5/src/icons.js';import{View as _0x14975c,IconView as _0x1554cb}from'ckeditor5/src/ui.js';function _0x43bf(){const _0x4eaf61=['610uPXtbl','624669UfDTIW','44644bgbPcA','9Mvbofd','bindTemplate','content','24112hoSyIX','671896hSTaFD','setTemplate','13fQdwSO','text','div','535995qXGtiY','4xXwyKL','721RffJjQ','set','10XjHQRD','12678kuLLZn','2807652RqyiiI','ck-ai-form__error'];_0x43bf=function(){return _0x4eaf61;};return _0x43bf();}export class AIFormErrorView extends _0x14975c{constructor(_0x26b720,_0x56b5bd=''){const _0x2f2da7=_0x58fe;super(_0x26b720);const _0x43a2bf=new _0x1554cb(),_0x358285=this[_0x2f2da7(0x90)];this[_0x2f2da7(0x87)](_0x2f2da7(0x96),_0x56b5bd),_0x43a2bf[_0x2f2da7(0x91)]=_0x4ec884,this[_0x2f2da7(0x94)]({'tag':_0x2f2da7(0x97),'attributes':{'class':['ck',_0x2f2da7(0x8b)]},'children':[_0x43a2bf,{'text':_0x358285['to'](_0x2f2da7(0x96))}]});}}
23
+ (function(_0x2fcbff,_0x3be0b5){const _0x567712=_0x328d,_0x646f51=_0x2fcbff();while(!![]){try{const _0x370dab=-parseInt(_0x567712(0x1b4))/0x1*(-parseInt(_0x567712(0x1ad))/0x2)+parseInt(_0x567712(0x1ac))/0x3*(parseInt(_0x567712(0x1a5))/0x4)+parseInt(_0x567712(0x1b0))/0x5+-parseInt(_0x567712(0x1ae))/0x6+-parseInt(_0x567712(0x1a8))/0x7*(-parseInt(_0x567712(0x1b2))/0x8)+parseInt(_0x567712(0x1af))/0x9+-parseInt(_0x567712(0x1a9))/0xa*(parseInt(_0x567712(0x1b1))/0xb);if(_0x370dab===_0x3be0b5)break;else _0x646f51['push'](_0x646f51['shift']());}catch(_0x5e9ff2){_0x646f51['push'](_0x646f51['shift']());}}}(_0x2ea9,0x73a06));import{IconError as _0x5e5500}from'ckeditor5/src/icons.js';function _0x2ea9(){const _0x637fd1=['2132880mJrUUW','121dnqsBw','24dlStBY','content','16931iJTnkd','div','setTemplate','601444NdJvCX','ck-ai-form__error','bindTemplate','549262qbPjEa','439390eegMhb','set','text','3tiroSA','2dlWrah','1189194iZBDck','2932812ymdCVp'];_0x2ea9=function(){return _0x637fd1;};return _0x2ea9();}import{View as _0x1ea7c3,IconView as _0x419737}from'ckeditor5/src/ui.js';function _0x328d(_0x55dab9,_0x27adfc){const _0x2ea90d=_0x2ea9();return _0x328d=function(_0x328d1b,_0x334f3b){_0x328d1b=_0x328d1b-0x1a3;let _0x4462a8=_0x2ea90d[_0x328d1b];return _0x4462a8;},_0x328d(_0x55dab9,_0x27adfc);}export class AIFormErrorView extends _0x1ea7c3{constructor(_0x679991,_0x272e47=''){const _0x5be892=_0x328d;super(_0x679991);const _0x426ec3=new _0x419737(),_0x4fc470=this[_0x5be892(0x1a7)];this[_0x5be892(0x1aa)](_0x5be892(0x1ab),_0x272e47),_0x426ec3[_0x5be892(0x1b3)]=_0x5e5500,this[_0x5be892(0x1a4)]({'tag':_0x5be892(0x1a3),'attributes':{'class':['ck',_0x5be892(0x1a6)]},'children':[_0x426ec3,{'text':_0x4fc470['to'](_0x5be892(0x1ab))}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4bbef9=_0x4ee2;(function(_0x2e62c8,_0x2e4833){const _0x365c1d=_0x4ee2,_0x34478d=_0x2e62c8();while(!![]){try{const _0x556c43=parseInt(_0x365c1d(0x16a))/0x1*(parseInt(_0x365c1d(0x177))/0x2)+-parseInt(_0x365c1d(0x163))/0x3*(parseInt(_0x365c1d(0x17e))/0x4)+parseInt(_0x365c1d(0x155))/0x5+-parseInt(_0x365c1d(0x173))/0x6*(-parseInt(_0x365c1d(0x174))/0x7)+parseInt(_0x365c1d(0x15d))/0x8+-parseInt(_0x365c1d(0x17f))/0x9+-parseInt(_0x365c1d(0x17c))/0xa*(parseInt(_0x365c1d(0x181))/0xb);if(_0x556c43===_0x2e4833)break;else _0x34478d['push'](_0x34478d['shift']());}catch(_0x32a0ee){_0x34478d['push'](_0x34478d['shift']());}}}(_0x6d42,0x826a0));function _0x4ee2(_0x2d870e,_0x896ced){const _0x6d42b4=_0x6d42();return _0x4ee2=function(_0x4ee252,_0x5eaed2){_0x4ee252=_0x4ee252-0x14d;let _0x661cbe=_0x6d42b4[_0x4ee252];return _0x661cbe;},_0x4ee2(_0x2d870e,_0x896ced);}import{Rect as _0x1c507c,global as _0x4b2498,isVisible as _0x36ebd5}from'ckeditor5/src/utils.js';function _0x6d42(){const _0x21cfb5=['11MjhXYA','isVisible','update','execute','set','minRows','style','_createShowHistoryButton','value','24ROtCrl','414799zAKMPa','submitButtonView','left','135794bdxIUc','_createSubmitButton','uiLanguageDirection','focusCycler','bind','2731430pVnWGa','fire','20igWsrd','9242811BQBDtp','maxRows','44tZAgip','Submit','queryView','width','right','ck-ai-form__toggle-history','element','isEnabled','resultsView','focusLast','fieldView','keystrokes','render','submit','filteredView','4895220ctKtoT','enter','window','excludeScrollbarsAndBorders','rtl','focusFirst','isEmpty','showHistoryButtonView','6395544sgHrdF','add','focus','requestAnimationFrame','isOn','History','65193lMNDcZ','target','focusableChildren','locale','fieldWrapperChildren','ck-ai-form__submit','children'];_0x6d42=function(){return _0x21cfb5;};return _0x6d42();}import{IconAIHistory as _0x1d3e21,IconSubmit as _0xa97234}from'ckeditor5/src/icons.js';import{AutocompleteView as _0x33e03a,ButtonView as _0x50d96c}from'ckeditor5/src/ui.js';import{getTranslation as _0x5ab309}from'../../utils/common-translations.js';export class AIFormPromptView extends _0x33e03a{[_0x4bbef9(0x175)];[_0x4bbef9(0x15c)];constructor(_0x36c47d,_0x39628d){const _0xfe999f=_0x4bbef9;super(_0x36c47d,_0x39628d),this[_0xfe999f(0x183)][_0xfe999f(0x150)][_0xfe999f(0x16f)]=0x1,this[_0xfe999f(0x183)][_0xfe999f(0x150)][_0xfe999f(0x180)]=0x3,this[_0xfe999f(0x175)]=this[_0xfe999f(0x178)](),this[_0xfe999f(0x15c)]=this[_0xfe999f(0x171)](),this[_0xfe999f(0x165)][_0xfe999f(0x15e)](this[_0xfe999f(0x15c)],0x1),this[_0xfe999f(0x165)][_0xfe999f(0x15e)](this[_0xfe999f(0x175)]);}[_0x4bbef9(0x152)](){const _0xaf0632=_0x4bbef9;super[_0xaf0632(0x152)](),this[_0xaf0632(0x183)][_0xaf0632(0x167)][_0xaf0632(0x15e)](this[_0xaf0632(0x15c)]),this[_0xaf0632(0x169)][_0xaf0632(0x15e)](this[_0xaf0632(0x175)]),this[_0xaf0632(0x151)][_0xaf0632(0x16e)](_0xaf0632(0x156),(_0x32be19,_0x102a17)=>{const _0x409dda=_0xaf0632;_0x32be19[_0x409dda(0x164)]==this[_0x409dda(0x183)][_0x409dda(0x150)][_0x409dda(0x187)]&&(this[_0x409dda(0x153)](),_0x102a17());});}[_0x4bbef9(0x178)](){const _0x31207c=_0x4bbef9,_0x2ec0b6=new _0x50d96c(this[_0x31207c(0x166)]),_0xde6f63=this[_0x31207c(0x166)];return _0x2ec0b6[_0x31207c(0x16e)]({'icon':_0xa97234,'label':_0x5ab309(_0xde6f63,_0x31207c(0x182)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x31207c(0x168)}),_0x2ec0b6['on'](_0x31207c(0x16d),()=>{const _0x31a2d7=_0x31207c;this[_0x31a2d7(0x153)]();}),_0x2ec0b6[_0x31207c(0x17b)](_0x31207c(0x14d))['to'](this[_0x31207c(0x183)][_0x31207c(0x150)],_0x31207c(0x15b),this,_0x31207c(0x14d),(_0x381b21,_0x24bf60)=>!_0x381b21&&_0x24bf60),_0x2ec0b6;}[_0x4bbef9(0x171)](){const _0x2db4a0=_0x4bbef9,_0x1a3449=new _0x50d96c(this[_0x2db4a0(0x166)]),_0x1778ac=this[_0x2db4a0(0x14e)],_0x19af11=this[_0x2db4a0(0x166)];_0x1a3449[_0x2db4a0(0x16e)]({'label':_0x5ab309(_0x19af11,_0x2db4a0(0x162)),'withText':!0x1,'icon':_0x1d3e21,'tooltip':!0x0,'tooltipPosition':'sw','class':_0x2db4a0(0x186)}),_0x1a3449[_0x2db4a0(0x17b)](_0x2db4a0(0x161))['to'](_0x1778ac,_0x2db4a0(0x16b)),_0x1a3449[_0x2db4a0(0x17b)](_0x2db4a0(0x14d))['to'](this,_0x2db4a0(0x14d)),_0x1a3449['on'](_0x2db4a0(0x16d),()=>{const _0x4753ea=_0x2db4a0;_0x1778ac[_0x4753ea(0x16b)]=!_0x1778ac[_0x4753ea(0x16b)],_0x1778ac[_0x4753ea(0x16b)]?this[_0x4753ea(0x154)][_0x4753ea(0x15f)]():this[_0x4753ea(0x15f)]();});const _0x58a6c9=()=>{const _0xb85282=_0x2db4a0;_0x4b2498[_0xb85282(0x157)][_0xb85282(0x160)](()=>{const _0x4430b5=_0xb85282;if(_0x36ebd5(this[_0x4430b5(0x187)])){const _0x50e613=new _0x1c507c(this[_0x4430b5(0x183)][_0x4430b5(0x150)][_0x4430b5(0x187)]),_0x22f6d9=_0x50e613[_0x4430b5(0x184)],_0x4fc0de=_0x4430b5(0x159)===_0x19af11[_0x4430b5(0x179)]?_0x4430b5(0x176):_0x4430b5(0x185);_0x50e613[_0x4430b5(0x158)](),_0x1a3449[_0x4430b5(0x187)][_0x4430b5(0x170)][_0x4fc0de]=_0x22f6d9-_0x50e613[_0x4430b5(0x184)]+0x1+'px';}});};return this[_0x2db4a0(0x183)][_0x2db4a0(0x150)]['on'](_0x2db4a0(0x16c),_0x58a6c9),this['on'](_0x2db4a0(0x152),_0x58a6c9),_0x1a3449;}[_0x4bbef9(0x153)](){const _0x3dbeb0=_0x4bbef9,_0x362a0e=this[_0x3dbeb0(0x183)][_0x3dbeb0(0x150)][_0x3dbeb0(0x187)][_0x3dbeb0(0x172)];this[_0x3dbeb0(0x17d)](_0x3dbeb0(0x153),_0x362a0e);}[_0x4bbef9(0x15f)](_0x3156de){const _0x4aee6f=_0x4bbef9;-0x1===_0x3156de?this[_0x4aee6f(0x17a)][_0x4aee6f(0x14f)]():this[_0x4aee6f(0x17a)][_0x4aee6f(0x15a)]();}}
23
+ const _0x5a0415=_0x55fe;(function(_0xdb3178,_0x238aa8){const _0x177c6c=_0x55fe,_0x3dad30=_0xdb3178();while(!![]){try{const _0x3194a6=parseInt(_0x177c6c(0x83))/0x1+parseInt(_0x177c6c(0x8c))/0x2*(-parseInt(_0x177c6c(0x99))/0x3)+-parseInt(_0x177c6c(0xb5))/0x4+-parseInt(_0x177c6c(0x8d))/0x5+-parseInt(_0x177c6c(0xb1))/0x6+-parseInt(_0x177c6c(0x82))/0x7*(parseInt(_0x177c6c(0x8f))/0x8)+parseInt(_0x177c6c(0x9e))/0x9;if(_0x3194a6===_0x238aa8)break;else _0x3dad30['push'](_0x3dad30['shift']());}catch(_0xc2bb16){_0x3dad30['push'](_0x3dad30['shift']());}}}(_0x2ee5,0x8296e));import{Rect as _0x279b10,global as _0x598b95,isVisible as _0x4bd1ba}from'ckeditor5/src/utils.js';function _0x55fe(_0x70ab30,_0x13ea0b){const _0x2ee537=_0x2ee5();return _0x55fe=function(_0x55fe0b,_0x1acb85){_0x55fe0b=_0x55fe0b-0x80;let _0x50deb0=_0x2ee537[_0x55fe0b];return _0x50deb0;},_0x55fe(_0x70ab30,_0x13ea0b);}import{IconAIHistory as _0x48b661,IconSubmit as _0x44cae4}from'ckeditor5/src/icons.js';import{AutocompleteView as _0x44f92a,ButtonView as _0xb1b708}from'ckeditor5/src/ui.js';import{getTranslation as _0x563b8a}from'../../utils/common-translations.js';function _0x2ee5(){const _0x41e721=['locale','filteredView','render','4135708jRTeGK','enter','value','History','ck-ai-form__submit','excludeScrollbarsAndBorders','10871BALoij','727001SsioAa','focusCycler','focus','fieldView','target','queryView','focusableChildren','submit','focusLast','26hQdXwU','2848295WtrYsB','submitButtonView','56tgHxfv','children','add','rtl','_createSubmitButton','minRows','showHistoryButtonView','isEnabled','isVisible','Submit','186153Rnkowr','fire','set','update','right','22469130hitAZt','uiLanguageDirection','isEmpty','left','style','fieldWrapperChildren','resultsView','focusFirst','width','requestAnimationFrame','execute','_createShowHistoryButton','ck-ai-form__toggle-history','window','element','isOn','keystrokes','maxRows','bind','1605342BCrwLC'];_0x2ee5=function(){return _0x41e721;};return _0x2ee5();}export class AIFormPromptView extends _0x44f92a{[_0x5a0415(0x8e)];[_0x5a0415(0x95)];constructor(_0x136299,_0x335eba){const _0x16c3d7=_0x5a0415;super(_0x136299,_0x335eba),this[_0x16c3d7(0x88)][_0x16c3d7(0x86)][_0x16c3d7(0x94)]=0x1,this[_0x16c3d7(0x88)][_0x16c3d7(0x86)][_0x16c3d7(0xaf)]=0x3,this[_0x16c3d7(0x8e)]=this[_0x16c3d7(0x93)](),this[_0x16c3d7(0x95)]=this[_0x16c3d7(0xa9)](),this[_0x16c3d7(0x89)][_0x16c3d7(0x91)](this[_0x16c3d7(0x95)],0x1),this[_0x16c3d7(0x89)][_0x16c3d7(0x91)](this[_0x16c3d7(0x8e)]);}[_0x5a0415(0xb4)](){const _0x622728=_0x5a0415;super[_0x622728(0xb4)](),this[_0x622728(0x88)][_0x622728(0xa3)][_0x622728(0x91)](this[_0x622728(0x95)]),this[_0x622728(0x90)][_0x622728(0x91)](this[_0x622728(0x8e)]),this[_0x622728(0xae)][_0x622728(0x9b)](_0x622728(0xb6),(_0x2553a8,_0x3b4ec1)=>{const _0x5533ce=_0x622728;_0x2553a8[_0x5533ce(0x87)]==this[_0x5533ce(0x88)][_0x5533ce(0x86)][_0x5533ce(0xac)]&&(this[_0x5533ce(0x8a)](),_0x3b4ec1());});}[_0x5a0415(0x93)](){const _0x279e82=_0x5a0415,_0x37fbe9=new _0xb1b708(this[_0x279e82(0xb2)]),_0x4d32da=this[_0x279e82(0xb2)];return _0x37fbe9[_0x279e82(0x9b)]({'icon':_0x44cae4,'label':_0x563b8a(_0x4d32da,_0x279e82(0x98)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x279e82(0x80)}),_0x37fbe9['on'](_0x279e82(0xa8),()=>{const _0x916a6=_0x279e82;this[_0x916a6(0x8a)]();}),_0x37fbe9[_0x279e82(0xb0)](_0x279e82(0x96))['to'](this[_0x279e82(0x88)][_0x279e82(0x86)],_0x279e82(0xa0),this,_0x279e82(0x96),(_0x1e234d,_0x57d3ba)=>!_0x1e234d&&_0x57d3ba),_0x37fbe9;}[_0x5a0415(0xa9)](){const _0x221ed7=_0x5a0415,_0x27824b=new _0xb1b708(this[_0x221ed7(0xb2)]),_0x165a1d=this[_0x221ed7(0xa4)],_0x57cfa2=this[_0x221ed7(0xb2)];_0x27824b[_0x221ed7(0x9b)]({'label':_0x563b8a(_0x57cfa2,_0x221ed7(0xb8)),'withText':!0x1,'icon':_0x48b661,'tooltip':!0x0,'tooltipPosition':'sw','class':_0x221ed7(0xaa)}),_0x27824b[_0x221ed7(0xb0)](_0x221ed7(0xad))['to'](_0x165a1d,_0x221ed7(0x97)),_0x27824b[_0x221ed7(0xb0)](_0x221ed7(0x96))['to'](this,_0x221ed7(0x96)),_0x27824b['on'](_0x221ed7(0xa8),()=>{const _0x262d75=_0x221ed7;_0x165a1d[_0x262d75(0x97)]=!_0x165a1d[_0x262d75(0x97)],_0x165a1d[_0x262d75(0x97)]?this[_0x262d75(0xb3)][_0x262d75(0x85)]():this[_0x262d75(0x85)]();});const _0x2ae330=()=>{const _0x1960c0=_0x221ed7;_0x598b95[_0x1960c0(0xab)][_0x1960c0(0xa7)](()=>{const _0xcc8a01=_0x1960c0;if(_0x4bd1ba(this[_0xcc8a01(0xac)])){const _0x5ca8bb=new _0x279b10(this[_0xcc8a01(0x88)][_0xcc8a01(0x86)][_0xcc8a01(0xac)]),_0x2264ef=_0x5ca8bb[_0xcc8a01(0xa6)],_0x43bdc7=_0xcc8a01(0x92)===_0x57cfa2[_0xcc8a01(0x9f)]?_0xcc8a01(0xa1):_0xcc8a01(0x9d);_0x5ca8bb[_0xcc8a01(0x81)](),_0x27824b[_0xcc8a01(0xac)][_0xcc8a01(0xa2)][_0x43bdc7]=_0x2264ef-_0x5ca8bb[_0xcc8a01(0xa6)]+0x1+'px';}});};return this[_0x221ed7(0x88)][_0x221ed7(0x86)]['on'](_0x221ed7(0x9c),_0x2ae330),this['on'](_0x221ed7(0xb4),_0x2ae330),_0x27824b;}[_0x5a0415(0x8a)](){const _0x4c663d=_0x5a0415,_0x19a24f=this[_0x4c663d(0x88)][_0x4c663d(0x86)][_0x4c663d(0xac)][_0x4c663d(0xb7)];this[_0x4c663d(0x9a)](_0x4c663d(0x8a),_0x19a24f);}[_0x5a0415(0x85)](_0x349592){const _0xe2cdb8=_0x5a0415;-0x1===_0x349592?this[_0xe2cdb8(0x84)][_0xe2cdb8(0x8b)]():this[_0xe2cdb8(0x84)][_0xe2cdb8(0xa5)]();}}