@ckeditor/ckeditor5-ai 47.6.2-alpha.0 → 47.6.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 (102) 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/model/aiactionsinteraction.js +1 -1
  5. package/src/aiassistant/adapters/aitextadapter.js +1 -1
  6. package/src/aiassistant/adapters/awstextadapter.js +1 -1
  7. package/src/aiassistant/adapters/openaitextadapter.js +1 -1
  8. package/src/aiassistant/aiassistantediting.js +1 -1
  9. package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
  10. package/src/aiassistant/ui/form/aiformcontentarea.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/prompthistory.js +1 -1
  15. package/src/aichat/model/aichatcontext.js +1 -1
  16. package/src/aichat/model/aichatconversation.js +1 -1
  17. package/src/aichat/model/aichatinteraction.js +1 -1
  18. package/src/aichat/ui/aichatfeedview.js +1 -1
  19. package/src/aichat/ui/aichatheaderview.js +1 -1
  20. package/src/aichat/ui/aichatview.js +1 -1
  21. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
  22. package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
  23. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
  24. package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
  25. package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
  26. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
  27. package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
  28. package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
  29. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
  30. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
  31. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
  32. package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
  33. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
  34. package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
  35. package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
  36. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
  37. package/src/aichat/utils/promisequeue.js +1 -1
  38. package/src/aichathistory/model/aichathistoryconversations.js +1 -1
  39. package/src/aichathistory/model/aichathistoryitem.js +1 -1
  40. package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
  41. package/src/aichathistory/ui/aichathistoryview.js +1 -1
  42. package/src/aichatshortcuts/ui/aichatshortcutview.js +1 -1
  43. package/src/aicore/model/aicapabilities.js +1 -1
  44. package/src/aicore/model/aiinteraction.js +1 -1
  45. package/src/aicore/model/aimodels.js +1 -1
  46. package/src/aicore/model/aireply.js +1 -1
  47. package/src/aicore/pipeline/airesponseapplier.js +2 -2
  48. package/src/aicore/pipeline/airesponseparser.js +2 -2
  49. package/src/aicore/ui/aiskeleton.js +1 -1
  50. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  51. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  52. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  53. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartstateview.js +1 -1
  54. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentparttoolbarview.js +1 -1
  55. package/src/aicore/ui/suggestioncontainer/aisuggestionloaderview.js +1 -1
  56. package/src/aicore/ui/suggestioncontainer/aisuggestionstreamablecontentview.js +1 -1
  57. package/src/aicore/ui/suggestioncontainer/aiwebsourcesview.js +1 -1
  58. package/src/aicore/utils/documentrange.js +1 -1
  59. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  60. package/src/aicore/utils/htmlparser.js +1 -1
  61. package/src/aicore/utils/htmlstreamer.js +1 -1
  62. package/src/aicore/utils/scrollmanager.js +1 -1
  63. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
  64. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  65. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
  66. package/src/aiquickactions/ui/balloon/aiactionsballoonview.js +1 -1
  67. package/src/aireviewcore/aireviewcorecontroller.js +1 -1
  68. package/src/aireviewcore/aireviewcoreediting.js +1 -1
  69. package/src/aireviewcore/aireviewcoreui.js +1 -1
  70. package/src/aireviewcore/model/aireviewchecklist.js +1 -1
  71. package/src/aireviewcore/model/aireviewcheckresult.js +1 -1
  72. package/src/aireviewcore/model/aireviewcheckrun.js +1 -1
  73. package/src/aireviewcore/model/aireviewsystemcheckrun.js +1 -1
  74. package/src/aireviewcore/ui/aireviewcoreballoonsuggestionview.js +1 -1
  75. package/src/aireviewcore/ui/aireviewcorechecklistitemresultview.js +1 -1
  76. package/src/aireviewcore/ui/aireviewcorecustomcheckview.js +1 -1
  77. package/src/aireviewcore/ui/aireviewcorereviewchecklistview.js +1 -1
  78. package/src/aireviewcore/ui/aireviewcorereviewcommandlistitemview.js +1 -1
  79. package/src/aireviewcore/ui/aireviewcorereviewcompletedview.js +1 -1
  80. package/src/aireviewcore/ui/aireviewcoreuicheckresultsview.js +1 -1
  81. package/src/aireviewcore/ui/form/aireviewcoreformdropdown.js +1 -1
  82. package/src/aireviewcore/ui/form/aireviewcoreformmanager.js +1 -1
  83. package/src/aireviewmode/aireviewmode.js +1 -1
  84. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  85. package/src/aireviewmode/aireviewmodeui.js +1 -1
  86. package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
  87. package/src/aireviewmode/model/aireviewcheckextra.js +1 -1
  88. package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
  89. package/src/aireviewmode/model/aireviewextracheckrun.js +1 -1
  90. package/src/aireviewmode/model/aireviewmodechecklist.js +1 -1
  91. package/src/aitabs/aitabs.js +1 -1
  92. package/src/aitabs/tabs/aitabsview.js +1 -1
  93. package/src/aitabs/tabs/tabbuttonview.js +1 -1
  94. package/src/aitabs/tabs/tabpanelview.js +1 -1
  95. package/src/aitranslate/aitranslate.js +1 -1
  96. package/src/aitranslate/aitranslatecontroller.js +1 -1
  97. package/src/aitranslate/aitranslateui.js +1 -1
  98. package/src/aitranslate/model/aitranslatecheck.js +1 -1
  99. package/src/aitranslate/model/aitranslatechecklist.js +1 -1
  100. package/src/aitranslate/model/aitranslatecheckrun.js +1 -1
  101. package/src/aitranslate/ui/aitranslatechecklistview.js +1 -1
  102. package/src/aitranslate/ui/aitranslatecheckresultsview.js +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-ai",
3
- "version": "47.6.2-alpha.0",
3
+ "version": "47.6.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.6.2-alpha.0",
32
- "@ckeditor/ckeditor5-cloud-services": "47.6.2-alpha.0",
33
- "@ckeditor/ckeditor5-collaboration-core": "47.6.2-alpha.0",
34
- "@ckeditor/ckeditor5-core": "47.6.2-alpha.0",
35
- "@ckeditor/ckeditor5-engine": "47.6.2-alpha.0",
36
- "@ckeditor/ckeditor5-icons": "47.6.2-alpha.0",
37
- "@ckeditor/ckeditor5-markdown-gfm": "47.6.2-alpha.0",
38
- "@ckeditor/ckeditor5-real-time-collaboration": "47.6.2-alpha.0",
39
- "@ckeditor/ckeditor5-table": "47.6.2-alpha.0",
40
- "@ckeditor/ckeditor5-theme-lark": "47.6.2-alpha.0",
41
- "@ckeditor/ckeditor5-ui": "47.6.2-alpha.0",
42
- "@ckeditor/ckeditor5-utils": "47.6.2-alpha.0",
43
- "ckeditor5": "47.6.2-alpha.0",
44
- "ckeditor5-collaboration": "47.6.2-alpha.0",
31
+ "@ckeditor/ckeditor5-clipboard": "47.6.2",
32
+ "@ckeditor/ckeditor5-cloud-services": "47.6.2",
33
+ "@ckeditor/ckeditor5-collaboration-core": "47.6.2",
34
+ "@ckeditor/ckeditor5-core": "47.6.2",
35
+ "@ckeditor/ckeditor5-engine": "47.6.2",
36
+ "@ckeditor/ckeditor5-icons": "47.6.2",
37
+ "@ckeditor/ckeditor5-markdown-gfm": "47.6.2",
38
+ "@ckeditor/ckeditor5-real-time-collaboration": "47.6.2",
39
+ "@ckeditor/ckeditor5-table": "47.6.2",
40
+ "@ckeditor/ckeditor5-theme-lark": "47.6.2",
41
+ "@ckeditor/ckeditor5-ui": "47.6.2",
42
+ "@ckeditor/ckeditor5-utils": "47.6.2",
43
+ "ckeditor5": "47.6.2",
44
+ "ckeditor5-collaboration": "47.6.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
- function _0x1751(_0xde2560,_0x4c4152){const _0x3b0152=_0x3b01();return _0x1751=function(_0x175117,_0xcb8cb1){_0x175117=_0x175117-0x194;let _0x1775ba=_0x3b0152[_0x175117];return _0x1775ba;},_0x1751(_0xde2560,_0x4c4152);}function _0x3b01(){const _0x5ae763=['replyCreated','connector','sendRequest','96248ljuUAM','1075884YSaCja','executeAction','40450UigXGp','79960KPqhMe','2323806ZJAZXE','delegate','TEXT','html','editor','actionName','522dmYYND','fire','current-document','getDocumentContext','args','6ieBTbM','version','275IvrbXh','model','hasError','content','replies','40681927ptAyGG','userMessage','Current\x20document','executeCustomAction','21rEGMdT','9364424DxmljY','createReply','push'];_0x3b01=function(){return _0x5ae763;};return _0x3b01();}const _0xfeaa89=_0x1751;(function(_0x3481da,_0x473833){const _0x10402f=_0x1751,_0x10fc2f=_0x3481da();while(!![]){try{const _0x11b4c1=-parseInt(_0x10402f(0x1ab))/0x1+parseInt(_0x10402f(0x1a8))/0x2*(parseInt(_0x10402f(0x195))/0x3)+parseInt(_0x10402f(0x1a7))/0x4*(parseInt(_0x10402f(0x197))/0x5)+parseInt(_0x10402f(0x1ac))/0x6*(parseInt(_0x10402f(0x1a0))/0x7)+parseInt(_0x10402f(0x1a1))/0x8+-parseInt(_0x10402f(0x1b2))/0x9*(parseInt(_0x10402f(0x1aa))/0xa)+-parseInt(_0x10402f(0x19c))/0xb;if(_0x11b4c1===_0x473833)break;else _0x10fc2f['push'](_0x10fc2f['shift']());}catch(_0x5cd10b){_0x10fc2f['push'](_0x10fc2f['shift']());}}}(_0x3b01,0xaf7e7));import{AIInteraction as _0x36dca3,AI_MODEL_EVENT_NAMES as _0x242972}from'../../aicore/model/aiinteraction.js';import{AIContextItemType as _0x5e5e9c}from'../../aicore/model/aicontext.js';import{AIActionsReply as _0x1b5e50}from'./aiactionsreply.js';export class AIActionsInteraction extends _0x36dca3{[_0xfeaa89(0x19a)];[_0xfeaa89(0x196)];[_0xfeaa89(0x1b1)];[_0xfeaa89(0x194)];[_0xfeaa89(0x19d)];[_0xfeaa89(0x198)];[_0xfeaa89(0x199)]=!0x1;constructor(_0x321753){const _0x22fe93=_0xfeaa89;super(_0x321753),this[_0x22fe93(0x19a)]=_0x321753[_0x22fe93(0x19a)],this[_0x22fe93(0x196)]=_0x321753[_0x22fe93(0x196)],this[_0x22fe93(0x1b1)]=_0x321753[_0x22fe93(0x1b1)],this[_0x22fe93(0x194)]=_0x321753[_0x22fe93(0x194)],this[_0x22fe93(0x19d)]=_0x321753[_0x22fe93(0x19d)],this[_0x22fe93(0x198)]=_0x321753[_0x22fe93(0x198)];}async[_0xfeaa89(0x1a6)](){const _0x56a52e=_0xfeaa89;return this[_0x56a52e(0x1b1)]?this[_0x56a52e(0x1a5)][_0x56a52e(0x1a9)]({'content':this[_0x56a52e(0x19a)],'actionName':this[_0x56a52e(0x1b1)],'args':this[_0x56a52e(0x194)]}):this[_0x56a52e(0x1a5)][_0x56a52e(0x19f)]({'content':this[_0x56a52e(0x19a)],'message':this[_0x56a52e(0x19d)],'model':this[_0x56a52e(0x198)],'outputFormat':_0x56a52e(0x1af)});}[_0xfeaa89(0x1b5)](){const _0x6823e9=_0xfeaa89;return{'type':_0x5e5e9c[_0x6823e9(0x1ae)],'content':this[_0x6823e9(0x19a)],'version':this[_0x6823e9(0x196)],'label':_0x6823e9(0x19e),'uiId':_0x6823e9(0x1b4)};}[_0xfeaa89(0x1a2)](_0x4bbd02){const _0x5b69f6=_0xfeaa89,_0x57632c=new _0x1b5e50({'editor':this[_0x5b69f6(0x1b0)],'documentContextContent':this[_0x5b69f6(0x19a)],..._0x4bbd02});return this[_0x5b69f6(0x19b)][_0x5b69f6(0x1a3)](_0x57632c),_0x57632c[_0x5b69f6(0x1ad)](..._0x242972)['to'](this),this[_0x5b69f6(0x1b3)](_0x5b69f6(0x1a4),_0x57632c),_0x57632c;}}
23
+ const _0x59288e=_0x304d;(function(_0x41afe1,_0x5ab6c0){const _0x4c50b8=_0x304d,_0x51ca5d=_0x41afe1();while(!![]){try{const _0x461ee2=parseInt(_0x4c50b8(0x1ad))/0x1+-parseInt(_0x4c50b8(0x1a8))/0x2*(-parseInt(_0x4c50b8(0x1c2))/0x3)+parseInt(_0x4c50b8(0x1b3))/0x4+parseInt(_0x4c50b8(0x1b4))/0x5*(-parseInt(_0x4c50b8(0x1bc))/0x6)+-parseInt(_0x4c50b8(0x1bf))/0x7*(-parseInt(_0x4c50b8(0x1ae))/0x8)+-parseInt(_0x4c50b8(0x1bd))/0x9*(-parseInt(_0x4c50b8(0x1c4))/0xa)+-parseInt(_0x4c50b8(0x1ab))/0xb;if(_0x461ee2===_0x5ab6c0)break;else _0x51ca5d['push'](_0x51ca5d['shift']());}catch(_0xa35a5d){_0x51ca5d['push'](_0x51ca5d['shift']());}}}(_0x2fc1,0x6d8fc));import{AIInteraction as _0xc7968a,AI_MODEL_EVENT_NAMES as _0x22b17d}from'../../aicore/model/aiinteraction.js';import{AIContextItemType as _0x13e074}from'../../aicore/model/aicontext.js';import{AIActionsReply as _0x536e5f}from'./aiactionsreply.js';function _0x304d(_0x45f2ce,_0x587b19){const _0x2fc15a=_0x2fc1();return _0x304d=function(_0x304d51,_0x3784f4){_0x304d51=_0x304d51-0x1a4;let _0xb34e52=_0x2fc15a[_0x304d51];return _0xb34e52;},_0x304d(_0x45f2ce,_0x587b19);}function _0x2fc1(){const _0x1ae742=['replies','6MVKeCu','819PbQTuo','replyCreated','77nqkpxi','executeAction','hasError','1452bfgywU','args','65530VQVakQ','delegate','createReply','current-document','TEXT','model','350olQjwO','editor','content','1567599XFCIPs','fire','93004CKuyYl','467272JrMyIn','userMessage','version','Current\x20document','html','245412RBMioc','4433030RQLvQy','connector','getDocumentContext','push','actionName','executeCustomAction','sendRequest'];_0x2fc1=function(){return _0x1ae742;};return _0x2fc1();}export class AIActionsInteraction extends _0xc7968a{[_0x59288e(0x1aa)];[_0x59288e(0x1b0)];[_0x59288e(0x1b8)];[_0x59288e(0x1c3)];[_0x59288e(0x1af)];[_0x59288e(0x1a7)];[_0x59288e(0x1c1)]=!0x1;constructor(_0x3ae1b9){const _0x58c637=_0x59288e;super(_0x3ae1b9),this[_0x58c637(0x1aa)]=_0x3ae1b9[_0x58c637(0x1aa)],this[_0x58c637(0x1b0)]=_0x3ae1b9[_0x58c637(0x1b0)],this[_0x58c637(0x1b8)]=_0x3ae1b9[_0x58c637(0x1b8)],this[_0x58c637(0x1c3)]=_0x3ae1b9[_0x58c637(0x1c3)],this[_0x58c637(0x1af)]=_0x3ae1b9[_0x58c637(0x1af)],this[_0x58c637(0x1a7)]=_0x3ae1b9[_0x58c637(0x1a7)];}async[_0x59288e(0x1ba)](){const _0x14d698=_0x59288e;return this[_0x14d698(0x1b8)]?this[_0x14d698(0x1b5)][_0x14d698(0x1c0)]({'content':this[_0x14d698(0x1aa)],'actionName':this[_0x14d698(0x1b8)],'args':this[_0x14d698(0x1c3)]}):this[_0x14d698(0x1b5)][_0x14d698(0x1b9)]({'content':this[_0x14d698(0x1aa)],'message':this[_0x14d698(0x1af)],'model':this[_0x14d698(0x1a7)],'outputFormat':_0x14d698(0x1b2)});}[_0x59288e(0x1b6)](){const _0xb09339=_0x59288e;return{'type':_0x13e074[_0xb09339(0x1a6)],'content':this[_0xb09339(0x1aa)],'version':this[_0xb09339(0x1b0)],'label':_0xb09339(0x1b1),'uiId':_0xb09339(0x1a5)};}[_0x59288e(0x1a4)](_0xc5a30){const _0x4f1207=_0x59288e,_0x443823=new _0x536e5f({'editor':this[_0x4f1207(0x1a9)],'documentContextContent':this[_0x4f1207(0x1aa)],..._0xc5a30});return this[_0x4f1207(0x1bb)][_0x4f1207(0x1b7)](_0x443823),_0x443823[_0x4f1207(0x1c5)](..._0x22b17d)['to'](this),this[_0x4f1207(0x1ac)](_0x4f1207(0x1be),_0x443823),_0x443823;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4081dc=_0x2e59;function _0x2e59(_0x3aadf5,_0x326b11){const _0x32c368=_0x32c3();return _0x2e59=function(_0x2e59bc,_0x3f6e5f){_0x2e59bc=_0x2e59bc-0xbc;let _0x25a2c1=_0x32c368[_0x2e59bc];return _0x25a2c1;},_0x2e59(_0x3aadf5,_0x326b11);}(function(_0x5485c3,_0x51e368){const _0x4810d9=_0x2e59,_0x62d233=_0x5485c3();while(!![]){try{const _0x1f661f=parseInt(_0x4810d9(0xca))/0x1+parseInt(_0x4810d9(0xc6))/0x2+parseInt(_0x4810d9(0xd6))/0x3+-parseInt(_0x4810d9(0xbf))/0x4*(parseInt(_0x4810d9(0xd2))/0x5)+-parseInt(_0x4810d9(0xce))/0x6*(-parseInt(_0x4810d9(0xcc))/0x7)+parseInt(_0x4810d9(0xcb))/0x8*(parseInt(_0x4810d9(0xdd))/0x9)+-parseInt(_0x4810d9(0xdb))/0xa;if(_0x1f661f===_0x51e368)break;else _0x62d233['push'](_0x62d233['shift']());}catch(_0x5479be){_0x62d233['push'](_0x62d233['shift']());}}}(_0x32c3,0x371ba));import{Plugin as _0x5c8810}from'ckeditor5/src/core.js';import{CKEditorError as _0x3a2bd2}from'ckeditor5/src/utils.js';function _0x32c3(){const _0x4c102c=['editor','assign','186114RaVDUC','plugins','_prepareRequestParameters','reject','250654oriLvx','8YKHvVi','14tGCxnt','makeRequest','403356AugGMm','resolve','abortController','AbortError','1454665bxOQFm','init','application/json','abort','450819KZqGmT','name','locale','aborted','signal','2611420DJDvgl','textAdapter','1344249pnxQwa','requires','error','sendRequest','get','aitextadapter-send-request-failed','AI_ERROR_GET_PARAMETERS','4PVOEVg','catch','_prepareRequestHeaders','AI_ERROR_GET_HEADERS','object'];_0x32c3=function(){return _0x4c102c;};return _0x32c3();}import{AIAdapter as _0x19c7e9,AIRequestError as _0xafb05d}from'./aiadapter.js';import{getTranslation as _0x1cb346}from'../utils/common-translations.js';export class AITextAdapter extends _0x5c8810{[_0x4081dc(0xd0)];static get[_0x4081dc(0xde)](){return[_0x19c7e9];}constructor(_0x4f1884){const _0x3b8209=_0x4081dc;super(_0x4f1884),this[_0x3b8209(0xd0)]=new AbortController();}[_0x4081dc(0xd3)](){const _0x9a10f6=_0x4081dc;this[_0x9a10f6(0xc4)][_0x9a10f6(0xc7)][_0x9a10f6(0xbc)](_0x19c7e9)[_0x9a10f6(0xdc)]=this;}[_0x4081dc(0xd5)](){const _0x5140ee=_0x4081dc;this[_0x5140ee(0xd0)][_0x5140ee(0xda)][_0x5140ee(0xd9)]||(this[_0x5140ee(0xd0)][_0x5140ee(0xd5)](),this[_0x5140ee(0xd0)]=new AbortController());}async[_0x4081dc(0xcd)](_0x5dcb02){const _0x444ea2=_0x4081dc;return this[_0x444ea2(0xe0)](_0x5dcb02)[_0x444ea2(0xc0)](_0x5ee7b2=>{const _0x18ba57=_0x444ea2;if(_0x5ee7b2 instanceof _0xafb05d)return Promise[_0x18ba57(0xc9)](_0x5ee7b2);if(_0x18ba57(0xd1)==_0x5ee7b2[_0x18ba57(0xd7)])return Promise[_0x18ba57(0xcf)]();throw console[_0x18ba57(0xdf)](_0x5ee7b2),new _0x3a2bd2(_0x18ba57(0xbd),null);});}async[_0x4081dc(0xc1)](_0x8830d9,_0x35296f){const _0x5a970e=_0x4081dc,_0x45e72f=this[_0x5a970e(0xc4)][_0x5a970e(0xd8)],_0xd44e6b={'Content-Type':_0x5a970e(0xd4)};if(_0x5a970e(0xc3)==typeof _0x8830d9)Object[_0x5a970e(0xc5)](_0xd44e6b,_0x8830d9);else{if(_0x8830d9)try{const _0x9c5572=await _0x8830d9(_0x35296f);Object[_0x5a970e(0xc5)](_0xd44e6b,_0x9c5572);}catch{return Promise[_0x5a970e(0xc9)](new _0xafb05d(_0x1cb346(_0x45e72f,_0x5a970e(0xc2))));}}return _0xd44e6b;}async[_0x4081dc(0xc8)](_0x358776,_0x11702){const _0x2e2a8b=_0x4081dc,_0x390623=this[_0x2e2a8b(0xc4)][_0x2e2a8b(0xd8)];if(_0x2e2a8b(0xc3)==typeof _0x358776)return _0x358776;try{return await _0x358776(_0x11702);}catch{return Promise[_0x2e2a8b(0xc9)](new _0xafb05d(_0x1cb346(_0x390623,_0x2e2a8b(0xbe))));}}}
23
+ const _0x40f059=_0x4704;(function(_0x14b9b1,_0x529a6e){const _0x12d7df=_0x4704,_0x31f9f7=_0x14b9b1();while(!![]){try{const _0x2cb5bf=-parseInt(_0x12d7df(0x177))/0x1+parseInt(_0x12d7df(0x16b))/0x2+-parseInt(_0x12d7df(0x169))/0x3+-parseInt(_0x12d7df(0x179))/0x4*(-parseInt(_0x12d7df(0x172))/0x5)+parseInt(_0x12d7df(0x15a))/0x6+-parseInt(_0x12d7df(0x168))/0x7+-parseInt(_0x12d7df(0x170))/0x8*(-parseInt(_0x12d7df(0x15f))/0x9);if(_0x2cb5bf===_0x529a6e)break;else _0x31f9f7['push'](_0x31f9f7['shift']());}catch(_0x58f927){_0x31f9f7['push'](_0x31f9f7['shift']());}}}(_0x46e2,0x190a8));import{Plugin as _0xbe7ca2}from'ckeditor5/src/core.js';import{CKEditorError as _0x119456}from'ckeditor5/src/utils.js';import{AIAdapter as _0x3bfbf9,AIRequestError as _0x2af5a5}from'./aiadapter.js';import{getTranslation as _0x53f59f}from'../utils/common-translations.js';function _0x4704(_0xe5c267,_0x2ca139){const _0x46e2aa=_0x46e2();return _0x4704=function(_0x470475,_0x1d94e0){_0x470475=_0x470475-0x159;let _0x6374ce=_0x46e2aa[_0x470475];return _0x6374ce;},_0x4704(_0xe5c267,_0x2ca139);}function _0x46e2(){const _0x347e21=['428MdSRhl','application/json','resolve','AbortError','textAdapter','709344GRTegH','error','name','abortController','editor','250326FhTUiK','aborted','aitextadapter-send-request-failed','abort','_prepareRequestParameters','get','sendRequest','requires','_prepareRequestHeaders','848162YMHKTC','467454EmbLtY','AI_ERROR_GET_HEADERS','284920jMOqVM','signal','locale','init','assign','40oiAGil','catch','8130RxYvYA','plugins','AI_ERROR_GET_PARAMETERS','object','makeRequest','194184ITukeA','reject'];_0x46e2=function(){return _0x347e21;};return _0x46e2();}export class AITextAdapter extends _0xbe7ca2{[_0x40f059(0x15d)];static get[_0x40f059(0x166)](){return[_0x3bfbf9];}constructor(_0x8cf3ae){const _0x29e01b=_0x40f059;super(_0x8cf3ae),this[_0x29e01b(0x15d)]=new AbortController();}[_0x40f059(0x16e)](){const _0x467ce3=_0x40f059;this[_0x467ce3(0x15e)][_0x467ce3(0x173)][_0x467ce3(0x164)](_0x3bfbf9)[_0x467ce3(0x159)]=this;}[_0x40f059(0x162)](){const _0x17f394=_0x40f059;this[_0x17f394(0x15d)][_0x17f394(0x16c)][_0x17f394(0x160)]||(this[_0x17f394(0x15d)][_0x17f394(0x162)](),this[_0x17f394(0x15d)]=new AbortController());}async[_0x40f059(0x176)](_0x698094){const _0x2d6d92=_0x40f059;return this[_0x2d6d92(0x165)](_0x698094)[_0x2d6d92(0x171)](_0x4829f0=>{const _0x5e44a4=_0x2d6d92;if(_0x4829f0 instanceof _0x2af5a5)return Promise[_0x5e44a4(0x178)](_0x4829f0);if(_0x5e44a4(0x17c)==_0x4829f0[_0x5e44a4(0x15c)])return Promise[_0x5e44a4(0x17b)]();throw console[_0x5e44a4(0x15b)](_0x4829f0),new _0x119456(_0x5e44a4(0x161),null);});}async[_0x40f059(0x167)](_0x481002,_0x48e6b4){const _0x8216cd=_0x40f059,_0x5d2467=this[_0x8216cd(0x15e)][_0x8216cd(0x16d)],_0x28d0ca={'Content-Type':_0x8216cd(0x17a)};if(_0x8216cd(0x175)==typeof _0x481002)Object[_0x8216cd(0x16f)](_0x28d0ca,_0x481002);else{if(_0x481002)try{const _0x21192c=await _0x481002(_0x48e6b4);Object[_0x8216cd(0x16f)](_0x28d0ca,_0x21192c);}catch{return Promise[_0x8216cd(0x178)](new _0x2af5a5(_0x53f59f(_0x5d2467,_0x8216cd(0x16a))));}}return _0x28d0ca;}async[_0x40f059(0x163)](_0x5102b5,_0x407db1){const _0x2cd211=_0x40f059,_0x474617=this[_0x2cd211(0x15e)][_0x2cd211(0x16d)];if(_0x2cd211(0x175)==typeof _0x5102b5)return _0x5102b5;try{return await _0x5102b5(_0x407db1);}catch{return Promise[_0x2cd211(0x178)](new _0x2af5a5(_0x53f59f(_0x474617,_0x2cd211(0x174))));}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x4d2b40=_0x2cc4;function _0x2cc4(_0x55ab0c,_0xace548){var _0xcd0558=_0xcd05();return _0x2cc4=function(_0x2cc446,_0x22fa64){_0x2cc446=_0x2cc446-0x14c;var _0x241529=_0xcd0558[_0x2cc446];return _0x241529;},_0x2cc4(_0x55ab0c,_0xace548);}(function(_0x49f394,_0x4bdee3){var _0x4c591d=_0x2cc4,_0x127763=_0x49f394();while(!![]){try{var _0x125eac=parseInt(_0x4c591d(0x152))/0x1+parseInt(_0x4c591d(0x158))/0x2+parseInt(_0x4c591d(0x151))/0x3*(-parseInt(_0x4c591d(0x15b))/0x4)+-parseInt(_0x4c591d(0x157))/0x5*(parseInt(_0x4c591d(0x154))/0x6)+parseInt(_0x4c591d(0x153))/0x7+-parseInt(_0x4c591d(0x15d))/0x8+parseInt(_0x4c591d(0x150))/0x9*(parseInt(_0x4c591d(0x14f))/0xa);if(_0x125eac===_0x4bdee3)break;else _0x127763['push'](_0x127763['shift']());}catch(_0x3d2fac){_0x127763['push'](_0x127763['shift']());}}}(_0xcd05,0xd4411));import{AITextAdapter as _0x327abe}from'./aitextadapter.js';import{AIRequestError as _0x593b1b}from'./aiadapter.js';import{getTranslation as _0xdcd246}from'../utils/common-translations.js';import{logWarning as _0x3bb38b,logError as _0x4259a2}from'ckeditor5/src/utils.js';export class AWSTextAdapter extends _0x327abe{static get[_0x4d2b40(0x14e)](){var _0x348913=_0x4d2b40;return _0x348913(0x15c);}[_0x4d2b40(0x155)](){var _0x578a14=_0x4d2b40;super[_0x578a14(0x155)](),_0x3bb38b(_0x578a14(0x14d));}async[_0x4d2b40(0x14c)](_0x4289c8){var _0x58d2e9=_0x4d2b40;throw _0x4259a2(_0x58d2e9(0x14d)),new _0x593b1b(_0xdcd246(this[_0x58d2e9(0x156)][_0x58d2e9(0x15a)],_0x58d2e9(0x159)));}}function _0xcd05(){var _0x3c3aa2=['locale','12ZAtUPo','AWSTextAdapter','12687008FhqBht','sendRequest','ai-aws-adapter-not-supported','pluginName','146130gukHWa','927GljeLn','1713165rNYBLW','1250016XUsYiz','8363180vgAjSr','7358370ClBgMS','init','editor','5gJvLDN','2889868FpESMB','AI_ERROR_AWS_NOT_SUPPORTED'];_0xcd05=function(){return _0x3c3aa2;};return _0xcd05();}
23
+ var _0x53e7d7=_0x1af5;(function(_0x30bf1a,_0x50aa72){var _0x5cb1ee=_0x1af5,_0x209ad2=_0x30bf1a();while(!![]){try{var _0x43fa03=parseInt(_0x5cb1ee(0xac))/0x1+parseInt(_0x5cb1ee(0xa9))/0x2*(-parseInt(_0x5cb1ee(0xb6))/0x3)+-parseInt(_0x5cb1ee(0xb0))/0x4*(-parseInt(_0x5cb1ee(0xa8))/0x5)+parseInt(_0x5cb1ee(0xb4))/0x6*(parseInt(_0x5cb1ee(0xaf))/0x7)+-parseInt(_0x5cb1ee(0xb7))/0x8*(-parseInt(_0x5cb1ee(0xb8))/0x9)+-parseInt(_0x5cb1ee(0xad))/0xa+-parseInt(_0x5cb1ee(0xb5))/0xb*(parseInt(_0x5cb1ee(0xba))/0xc);if(_0x43fa03===_0x50aa72)break;else _0x209ad2['push'](_0x209ad2['shift']());}catch(_0x457e54){_0x209ad2['push'](_0x209ad2['shift']());}}}(_0x3222,0xf3e08));function _0x1af5(_0x238d44,_0xf94c67){var _0x3222e6=_0x3222();return _0x1af5=function(_0x1af573,_0xc567b0){_0x1af573=_0x1af573-0xa8;var _0x1118ed=_0x3222e6[_0x1af573];return _0x1118ed;},_0x1af5(_0x238d44,_0xf94c67);}import{AITextAdapter as _0x420e9a}from'./aitextadapter.js';import{AIRequestError as _0x5e4247}from'./aiadapter.js';import{getTranslation as _0x135579}from'../utils/common-translations.js';import{logWarning as _0x2b9fd8,logError as _0x1e0891}from'ckeditor5/src/utils.js';export class AWSTextAdapter extends _0x420e9a{static get[_0x53e7d7(0xbb)](){var _0x51f862=_0x53e7d7;return _0x51f862(0xae);}[_0x53e7d7(0xb3)](){var _0x366366=_0x53e7d7;super[_0x366366(0xb3)](),_0x2b9fd8(_0x366366(0xab));}async[_0x53e7d7(0xaa)](_0x1e9248){var _0xa8da32=_0x53e7d7;throw _0x1e0891(_0xa8da32(0xab)),new _0x5e4247(_0x135579(this[_0xa8da32(0xb2)][_0xa8da32(0xb9)],_0xa8da32(0xb1)));}}function _0x3222(){var _0x53abb4=['48AoPjXq','pluginName','20pwbOwt','49340OYdLOh','sendRequest','ai-aws-adapter-not-supported','1125893IvKhZy','14488970IpzZdD','AWSTextAdapter','6797147ICHQYV','844868ZOQkVb','AI_ERROR_AWS_NOT_SUPPORTED','editor','init','6fEtrjr','837133DaTWmf','45bkemQs','8OlEErh','1624473TRcELx','locale'];_0x3222=function(){return _0x53abb4;};return _0x3222();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x515f59=_0x38e0;(function(_0xd9b819,_0x25af29){const _0x287344=_0x38e0,_0x5b3ab0=_0xd9b819();while(!![]){try{const _0x3fe081=-parseInt(_0x287344(0x1cb))/0x1+-parseInt(_0x287344(0x1c0))/0x2+-parseInt(_0x287344(0x1c1))/0x3+parseInt(_0x287344(0x1cc))/0x4*(-parseInt(_0x287344(0x1af))/0x5)+parseInt(_0x287344(0x1bc))/0x6+-parseInt(_0x287344(0x1ae))/0x7*(parseInt(_0x287344(0x199))/0x8)+-parseInt(_0x287344(0x1c9))/0x9*(-parseInt(_0x287344(0x1c5))/0xa);if(_0x3fe081===_0x25af29)break;else _0x5b3ab0['push'](_0x5b3ab0['shift']());}catch(_0x19883a){_0x5b3ab0['push'](_0x5b3ab0['shift']());}}}(_0x2dd4,0xebfb0));import{AITextAdapter as _0x183a6c}from'./aitextadapter.js';function _0x2dd4(){const _0x425e61=['_isBufferIncomplete','signal','locale','stringify','context_length_exceeded','text','split','_readStreamableResponse','sendRequest','decode','pluginName','7rPIsxF','5IWsFHk','gpt-4o','abortController','https://api.openai.com/v1/chat/completions','user','ai.assistant.adapter.openAI.apiUrl','message','map','includes','filter','parse','choices','content','2940564qQAvPR','Your\x20task\x20is\x20to\x20generate\x20HTML\x20content\x20accordingly\x20to\x20the\x20given\x20instruction.\x20Never\x20include\x20<img>\x20tag\x20in\x20your\x20response\x20even\x20if\x20asked\x20for.\x20Your\x20answer\x20must\x20be\x20a\x20well-structured\x20and\x20properly\x20formatted\x20HTML\x20code.\x20Answer\x20only\x20with\x20the\x20generated\x20HTML\x20content.\x20Do\x20not\x20add\x20any\x20additional\x20remarks\x20or\x20notes.\x20Do\x20not\x20act\x20like\x20a\x20chatbot\x20or\x20a\x20real\x20person.','Your\x20task\x20is\x20to\x20execute\x20the\x20instruction\x20using\x20the\x20provided\x20HTML\x20content.\x20Follow\x20the\x20instruction\x20closely.\x20Your\x20answer\x20must\x20be\x20a\x20properly\x20formatted\x20HTML\x20code.\x20Do\x20not\x20add\x20any\x20additional\x20remarks\x20or\x20notes.\x20Do\x20not\x20act\x20like\x20a\x20chatbot\x20or\x20a\x20real\x20person.','stream','1682676ABBtqP','4391643rmUKzp','[DONE]','Moderation','_requestParameters','20013380cwWohu','getReader','_prepareRequestParameters','system','27zIutxU','delta','751178SrGmWS','3248272MqCVmY','define','_apiUrl','get','_readStaticResponse','_prepareRequestHeaders','\x0aYou\x20must\x20keep\x20the\x20text\x20formatting.\x0a\x0aContent:\x0a','data:\x20','read','reject','resolve','editor','replace','AI_ERROR_CONTEXT_LENGTH','prepareMessages','Instruction:\x0a','OpenAITextAdapter','ai.assistant.adapter.openAI.requestHeaders','length','13272536gBbZMT','ai.assistant.adapter.openAI.requestParameters','AI_ERROR_MODERATION','_requestHeaders','json','_cleanUpData','POST','body','join','config'];_0x2dd4=function(){return _0x425e61;};return _0x2dd4();}import{AIRequestError as _0xd170b}from'./aiadapter.js';import{getTranslation as _0x449e67}from'../utils/common-translations.js';function _0x38e0(_0x4bcd20,_0x15e017){const _0x2dd445=_0x2dd4();return _0x38e0=function(_0x38e0e9,_0x24e268){_0x38e0e9=_0x38e0e9-0x189;let _0x23afb9=_0x2dd445[_0x38e0e9];return _0x23afb9;},_0x38e0(_0x4bcd20,_0x15e017);}export class OpenAITextAdapter extends _0x183a6c{[_0x515f59(0x1ce)];[_0x515f59(0x19c)];[_0x515f59(0x1c4)];static get[_0x515f59(0x1ad)](){const _0x4fb53a=_0x515f59;return _0x4fb53a(0x196);}constructor(_0x1c080e){const _0x4490f7=_0x515f59;super(_0x1c080e),_0x1c080e[_0x4490f7(0x1a2)][_0x4490f7(0x1cd)](_0x4490f7(0x1b4),_0x4490f7(0x1b2)),_0x1c080e[_0x4490f7(0x1a2)][_0x4490f7(0x189)](_0x4490f7(0x19a))||_0x1c080e[_0x4490f7(0x1a2)][_0x4490f7(0x1cd)](_0x4490f7(0x19a),{'model':_0x4490f7(0x1b0),'temperature':0x1,'top_p':0x1,'stream':!0x0}),this[_0x4490f7(0x1ce)]=_0x1c080e[_0x4490f7(0x1a2)][_0x4490f7(0x189)](_0x4490f7(0x1b4)),this[_0x4490f7(0x19c)]=_0x1c080e[_0x4490f7(0x1a2)][_0x4490f7(0x189)](_0x4490f7(0x197))||{},this[_0x4490f7(0x1c4)]=_0x1c080e[_0x4490f7(0x1a2)][_0x4490f7(0x189)](_0x4490f7(0x19a));}async[_0x515f59(0x1ab)]({query:_0x51165e,context:_0x29020b,onData:_0xfaf36e,actionId:_0xc1a3f1}){const _0x1441ae=_0x515f59,_0x4af93f=this[_0x1441ae(0x191)][_0x1441ae(0x1a5)],_0x9b1f81=await this[_0x1441ae(0x194)](_0x51165e,_0x29020b,_0xc1a3f1),_0x6a468f=await this[_0x1441ae(0x18b)](this[_0x1441ae(0x19c)],_0xc1a3f1),_0x172d91=await this[_0x1441ae(0x1c7)](this[_0x1441ae(0x1c4)],_0xc1a3f1),_0x4e7758={'messages':_0x9b1f81,..._0x172d91},_0x4e562c={'method':_0x1441ae(0x19f),'headers':_0x6a468f,'body':JSON[_0x1441ae(0x1a6)](_0x4e7758),'signal':this[_0x1441ae(0x1b1)][_0x1441ae(0x1a4)]},_0x41939e=await fetch(this[_0x1441ae(0x1ce)],_0x4e562c);if(_0x41939e['ok'])return _0x172d91[_0x1441ae(0x1bf)]?await this[_0x1441ae(0x1aa)](_0x41939e,_0xfaf36e):await this[_0x1441ae(0x18a)](_0x41939e,_0xfaf36e),Promise[_0x1441ae(0x190)]();{const _0x2f87f9=await _0x41939e[_0x1441ae(0x1a8)]();return _0x2f87f9[_0x1441ae(0x1b7)](_0x1441ae(0x1a7))?Promise[_0x1441ae(0x18f)](new _0xd170b(_0x449e67(_0x4af93f,_0x1441ae(0x193)))):_0x2f87f9[_0x1441ae(0x1b7)](_0x1441ae(0x1c3))?Promise[_0x1441ae(0x18f)](new _0xd170b(_0x449e67(_0x4af93f,_0x1441ae(0x19b)))):Promise[_0x1441ae(0x18f)](new Error(_0x2f87f9));}}async[_0x515f59(0x194)](_0x3d8bc5,_0xbc652d,_0x1fabae){const _0x26a5a3=_0x515f59;let _0x56efe3,_0xc650e9;return _0xbc652d?(_0x56efe3=_0x26a5a3(0x1be),_0xc650e9=_0x26a5a3(0x195)+_0x3d8bc5+_0x26a5a3(0x18c)+_0xbc652d):(_0x56efe3=_0x26a5a3(0x1bd),_0xc650e9=_0x3d8bc5),[{'role':_0x26a5a3(0x1c8),'content':_0x56efe3},{'role':_0x26a5a3(0x1b3),'content':_0xc650e9}];}async[_0x515f59(0x1aa)](_0x166849,_0x438ea5){const _0x53fcea=_0x515f59,_0x3d5ce5=_0x166849[_0x53fcea(0x1a0)][_0x53fcea(0x1c6)](),_0x1eb152=new TextDecoder();let _0x49c9a5='',_0x349405='',_0x5cc0dd='',_0x53d0de=!0x1;for(;!_0x53d0de;){const {done:_0x1de10b,value:_0x22feba}=await _0x3d5ce5[_0x53fcea(0x18e)](),_0x4e1ed9=_0x49c9a5+_0x1eb152[_0x53fcea(0x1ac)](_0x22feba);let _0x426e45='';_0x53d0de=_0x1de10b;try{_0x426e45=this[_0x53fcea(0x19e)](_0x4e1ed9),_0x49c9a5='';}catch{_0x49c9a5=_0x4e1ed9;continue;}_0x349405+=_0x426e45,!_0x53d0de&&this[_0x53fcea(0x1a3)](_0x349405)||_0x349405&&(_0x5cc0dd+=_0x349405,_0x349405='',_0x438ea5(_0x5cc0dd));}return Promise[_0x53fcea(0x190)]();}async[_0x515f59(0x18a)](_0x3d578a,_0x1af824){const _0x2f5daa=_0x515f59;return _0x1af824((await _0x3d578a[_0x2f5daa(0x19d)]())[_0x2f5daa(0x1ba)][0x0][_0x2f5daa(0x1b5)][_0x2f5daa(0x1bb)]),Promise[_0x2f5daa(0x190)]();}[_0x515f59(0x1a3)](_0x28cd51){const _0x132c87=_0x515f59,_0x54cb2e=_0x28cd51[_0x132c87(0x1a9)]('<')[_0x132c87(0x198)]!==_0x28cd51[_0x132c87(0x1a9)]('>')[_0x132c87(0x198)],_0x156ca4=_0x28cd51[_0x132c87(0x198)]<0x1e;return _0x54cb2e&&_0x156ca4;}[_0x515f59(0x19e)](_0x1bf87a){const _0x3649bf=_0x515f59;return _0x1bf87a[_0x3649bf(0x1a9)](/\n(?![^{]*\})/g)[_0x3649bf(0x1b6)](_0x2ba8b9=>_0x2ba8b9[_0x3649bf(0x192)](_0x3649bf(0x18d),''))[_0x3649bf(0x1b8)](_0x59a068=>_0x59a068&&_0x59a068[_0x3649bf(0x198)]>0x0&&_0x3649bf(0x1c2)!==_0x59a068)[_0x3649bf(0x1b6)](_0x587ca5=>{const _0x17abc3=_0x3649bf,{choices:_0x39492c}=JSON[_0x17abc3(0x1b9)](_0x587ca5);if(_0x39492c[0x0]?.[_0x17abc3(0x1ca)]?.[_0x17abc3(0x1bb)])return _0x39492c[0x0][_0x17abc3(0x1ca)][_0x17abc3(0x1bb)];})[_0x3649bf(0x1b8)](_0x47287f=>_0x47287f)[_0x3649bf(0x1a1)]('');}}
23
+ const _0x27759c=_0x4520;(function(_0x2bea0a,_0x35a9b5){const _0x201dc9=_0x4520,_0x1d15b8=_0x2bea0a();while(!![]){try{const _0x979573=-parseInt(_0x201dc9(0x1a7))/0x1*(parseInt(_0x201dc9(0x1d1))/0x2)+parseInt(_0x201dc9(0x1b8))/0x3+parseInt(_0x201dc9(0x199))/0x4+-parseInt(_0x201dc9(0x1c0))/0x5*(-parseInt(_0x201dc9(0x19b))/0x6)+parseInt(_0x201dc9(0x195))/0x7+parseInt(_0x201dc9(0x1d7))/0x8*(parseInt(_0x201dc9(0x1c5))/0x9)+-parseInt(_0x201dc9(0x1a6))/0xa;if(_0x979573===_0x35a9b5)break;else _0x1d15b8['push'](_0x1d15b8['shift']());}catch(_0x2feef2){_0x1d15b8['push'](_0x1d15b8['shift']());}}}(_0x59d9,0xa631d));function _0x4520(_0x22e6bb,_0x211e53){const _0x59d937=_0x59d9();return _0x4520=function(_0x452068,_0x46bacd){_0x452068=_0x452068-0x192;let _0x35cece=_0x59d937[_0x452068];return _0x35cece;},_0x4520(_0x22e6bb,_0x211e53);}import{AITextAdapter as _0x4308e2}from'./aitextadapter.js';import{AIRequestError as _0x1decf3}from'./aiadapter.js';function _0x59d9(){const _0x4fa853=['abortController','_requestParameters','join','config','stream','33000010TzUgqH','83azBTRb','body','message','get','define','choices','decode','user','_isBufferIncomplete','AI_ERROR_MODERATION','sendRequest','pluginName','ai.assistant.adapter.openAI.apiUrl','filter','stringify','system','signal','1903470GAPIuL','_readStreamableResponse','length','_prepareRequestParameters','resolve','https://api.openai.com/v1/chat/completions','\x0aYou\x20must\x20keep\x20the\x20text\x20formatting.\x0a\x0aContent:\x0a','Your\x20task\x20is\x20to\x20generate\x20HTML\x20content\x20accordingly\x20to\x20the\x20given\x20instruction.\x20Never\x20include\x20<img>\x20tag\x20in\x20your\x20response\x20even\x20if\x20asked\x20for.\x20Your\x20answer\x20must\x20be\x20a\x20well-structured\x20and\x20properly\x20formatted\x20HTML\x20code.\x20Answer\x20only\x20with\x20the\x20generated\x20HTML\x20content.\x20Do\x20not\x20add\x20any\x20additional\x20remarks\x20or\x20notes.\x20Do\x20not\x20act\x20like\x20a\x20chatbot\x20or\x20a\x20real\x20person.','545sxPVFr','Instruction:\x0a','data:\x20','split','replace','405cwwcoC','_apiUrl','includes','gpt-4o','context_length_exceeded','content','POST','parse','Your\x20task\x20is\x20to\x20execute\x20the\x20instruction\x20using\x20the\x20provided\x20HTML\x20content.\x20Follow\x20the\x20instruction\x20closely.\x20Your\x20answer\x20must\x20be\x20a\x20properly\x20formatted\x20HTML\x20code.\x20Do\x20not\x20add\x20any\x20additional\x20remarks\x20or\x20notes.\x20Do\x20not\x20act\x20like\x20a\x20chatbot\x20or\x20a\x20real\x20person.','Moderation','json','text','6368wRkrol','editor','delta','[DONE]','_cleanUpData','ai.assistant.adapter.openAI.requestParameters','222648cpddAK','_requestHeaders','_readStaticResponse','reject','7536123yPBEtd','OpenAITextAdapter','locale','map','4694052gOqqAq','AI_ERROR_CONTEXT_LENGTH','5946eqABIs','_prepareRequestHeaders','getReader','ai.assistant.adapter.openAI.requestHeaders','prepareMessages','read'];_0x59d9=function(){return _0x4fa853;};return _0x59d9();}import{getTranslation as _0xffe544}from'../utils/common-translations.js';export class OpenAITextAdapter extends _0x4308e2{[_0x27759c(0x1c6)];[_0x27759c(0x192)];[_0x27759c(0x1a2)];static get[_0x27759c(0x1b2)](){const _0x1acce7=_0x27759c;return _0x1acce7(0x196);}constructor(_0x1b8620){const _0x1f0253=_0x27759c;super(_0x1b8620),_0x1b8620[_0x1f0253(0x1a4)][_0x1f0253(0x1ab)](_0x1f0253(0x1b3),_0x1f0253(0x1bd)),_0x1b8620[_0x1f0253(0x1a4)][_0x1f0253(0x1aa)](_0x1f0253(0x1d6))||_0x1b8620[_0x1f0253(0x1a4)][_0x1f0253(0x1ab)](_0x1f0253(0x1d6),{'model':_0x1f0253(0x1c8),'temperature':0x1,'top_p':0x1,'stream':!0x0}),this[_0x1f0253(0x1c6)]=_0x1b8620[_0x1f0253(0x1a4)][_0x1f0253(0x1aa)](_0x1f0253(0x1b3)),this[_0x1f0253(0x192)]=_0x1b8620[_0x1f0253(0x1a4)][_0x1f0253(0x1aa)](_0x1f0253(0x19e))||{},this[_0x1f0253(0x1a2)]=_0x1b8620[_0x1f0253(0x1a4)][_0x1f0253(0x1aa)](_0x1f0253(0x1d6));}async[_0x27759c(0x1b1)]({query:_0x1b6463,context:_0x41fa0d,onData:_0x2efdb5,actionId:_0x5bc83b}){const _0x67aaa5=_0x27759c,_0x437e65=this[_0x67aaa5(0x1d2)][_0x67aaa5(0x197)],_0x3e0894=await this[_0x67aaa5(0x19f)](_0x1b6463,_0x41fa0d,_0x5bc83b),_0x3966e2=await this[_0x67aaa5(0x19c)](this[_0x67aaa5(0x192)],_0x5bc83b),_0x244e9b=await this[_0x67aaa5(0x1bb)](this[_0x67aaa5(0x1a2)],_0x5bc83b),_0x58c717={'messages':_0x3e0894,..._0x244e9b},_0x57e6e0={'method':_0x67aaa5(0x1cb),'headers':_0x3966e2,'body':JSON[_0x67aaa5(0x1b5)](_0x58c717),'signal':this[_0x67aaa5(0x1a1)][_0x67aaa5(0x1b7)]},_0x2aef6c=await fetch(this[_0x67aaa5(0x1c6)],_0x57e6e0);if(_0x2aef6c['ok'])return _0x244e9b[_0x67aaa5(0x1a5)]?await this[_0x67aaa5(0x1b9)](_0x2aef6c,_0x2efdb5):await this[_0x67aaa5(0x193)](_0x2aef6c,_0x2efdb5),Promise[_0x67aaa5(0x1bc)]();{const _0x5d9567=await _0x2aef6c[_0x67aaa5(0x1d0)]();return _0x5d9567[_0x67aaa5(0x1c7)](_0x67aaa5(0x1c9))?Promise[_0x67aaa5(0x194)](new _0x1decf3(_0xffe544(_0x437e65,_0x67aaa5(0x19a)))):_0x5d9567[_0x67aaa5(0x1c7)](_0x67aaa5(0x1ce))?Promise[_0x67aaa5(0x194)](new _0x1decf3(_0xffe544(_0x437e65,_0x67aaa5(0x1b0)))):Promise[_0x67aaa5(0x194)](new Error(_0x5d9567));}}async[_0x27759c(0x19f)](_0x25969f,_0x3b1351,_0x912415){const _0x35e484=_0x27759c;let _0x35d4c0,_0x3b9608;return _0x3b1351?(_0x35d4c0=_0x35e484(0x1cd),_0x3b9608=_0x35e484(0x1c1)+_0x25969f+_0x35e484(0x1be)+_0x3b1351):(_0x35d4c0=_0x35e484(0x1bf),_0x3b9608=_0x25969f),[{'role':_0x35e484(0x1b6),'content':_0x35d4c0},{'role':_0x35e484(0x1ae),'content':_0x3b9608}];}async[_0x27759c(0x1b9)](_0x1227e5,_0x25e4d6){const _0x4cb103=_0x27759c,_0x118b4d=_0x1227e5[_0x4cb103(0x1a8)][_0x4cb103(0x19d)](),_0x3ac7fe=new TextDecoder();let _0x4a44e3='',_0x4a83bf='',_0x59fa0d='',_0x599ea1=!0x1;for(;!_0x599ea1;){const {done:_0x2a8685,value:_0x2f9327}=await _0x118b4d[_0x4cb103(0x1a0)](),_0x43a197=_0x4a44e3+_0x3ac7fe[_0x4cb103(0x1ad)](_0x2f9327);let _0x3440f4='';_0x599ea1=_0x2a8685;try{_0x3440f4=this[_0x4cb103(0x1d5)](_0x43a197),_0x4a44e3='';}catch{_0x4a44e3=_0x43a197;continue;}_0x4a83bf+=_0x3440f4,!_0x599ea1&&this[_0x4cb103(0x1af)](_0x4a83bf)||_0x4a83bf&&(_0x59fa0d+=_0x4a83bf,_0x4a83bf='',_0x25e4d6(_0x59fa0d));}return Promise[_0x4cb103(0x1bc)]();}async[_0x27759c(0x193)](_0x1b59fa,_0x448329){const _0x24d447=_0x27759c;return _0x448329((await _0x1b59fa[_0x24d447(0x1cf)]())[_0x24d447(0x1ac)][0x0][_0x24d447(0x1a9)][_0x24d447(0x1ca)]),Promise[_0x24d447(0x1bc)]();}[_0x27759c(0x1af)](_0x397e43){const _0x4a8652=_0x27759c,_0x9bafc2=_0x397e43[_0x4a8652(0x1c3)]('<')[_0x4a8652(0x1ba)]!==_0x397e43[_0x4a8652(0x1c3)]('>')[_0x4a8652(0x1ba)],_0x506537=_0x397e43[_0x4a8652(0x1ba)]<0x1e;return _0x9bafc2&&_0x506537;}[_0x27759c(0x1d5)](_0x20c740){const _0x35dfcd=_0x27759c;return _0x20c740[_0x35dfcd(0x1c3)](/\n(?![^{]*\})/g)[_0x35dfcd(0x198)](_0x4fc79c=>_0x4fc79c[_0x35dfcd(0x1c4)](_0x35dfcd(0x1c2),''))[_0x35dfcd(0x1b4)](_0x56c7ad=>_0x56c7ad&&_0x56c7ad[_0x35dfcd(0x1ba)]>0x0&&_0x35dfcd(0x1d4)!==_0x56c7ad)[_0x35dfcd(0x198)](_0x2e3002=>{const _0x3d843d=_0x35dfcd,{choices:_0x1f8ef7}=JSON[_0x3d843d(0x1cc)](_0x2e3002);if(_0x1f8ef7[0x0]?.[_0x3d843d(0x1d3)]?.[_0x3d843d(0x1ca)])return _0x1f8ef7[0x0][_0x3d843d(0x1d3)][_0x3d843d(0x1ca)];})[_0x35dfcd(0x1b4)](_0x5e2dba=>_0x5e2dba)[_0x35dfcd(0x1a3)]('');}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x39f3ea=_0x1c72;(function(_0x3d19fa,_0xa797d0){const _0x41e0c7=_0x1c72,_0x502661=_0x3d19fa();while(!![]){try{const _0x1515ac=parseInt(_0x41e0c7(0x138))/0x1+-parseInt(_0x41e0c7(0x177))/0x2*(-parseInt(_0x41e0c7(0x160))/0x3)+-parseInt(_0x41e0c7(0x17e))/0x4*(parseInt(_0x41e0c7(0x14f))/0x5)+-parseInt(_0x41e0c7(0x156))/0x6*(parseInt(_0x41e0c7(0x129))/0x7)+parseInt(_0x41e0c7(0x11b))/0x8+parseInt(_0x41e0c7(0x154))/0x9*(-parseInt(_0x41e0c7(0x185))/0xa)+parseInt(_0x41e0c7(0x12f))/0xb;if(_0x1515ac===_0xa797d0)break;else _0x502661['push'](_0x502661['shift']());}catch(_0x3008ce){_0x502661['push'](_0x502661['shift']());}}}(_0x3adf,0xac0bb));import{uid as _0x512362}from'ckeditor5/src/utils.js';import{Plugin as _0x4ed674}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0x36236b}from'ckeditor5/src/clipboard.js';function _0x3adf(){const _0x4c1e9b=['element','editingDowncast','getSelectedTableCells','off','table','markerToElement','_resetContentOfSelectedTableCells','parse','isOfficialPlugin','deleteContent','showFakeVisualSelection','_getDefaultInsertBelowPosition','addMarker','afterInit','first','getRowIndexes','selection','setSelection','contentInsertion','2531728eUGOjB','lowest','filter','editing','getMarkersGroup','isAtEnd','isCollapsed','276SXbtuk','pop','ck-ai-assistant-ui_theme','ai-ui','insertRows','editor','insertContent','195830KgOpCV','DataTransfer','has','_createEmptyTableRows','TableUtils','4450424ehfnlK','push','getChildren','ck-fake-ai-selection','forEach','resultRange','getLastPosition','fire','_pasteHTMLUsingClipboard','markerRange','getChild','getFirstRange','paste','_getTableRowCountFromContent','3249127inwZCq','span','getLastMatchingPosition','createPositionAt','getColumnIndexes','plugins','10267983FouNzg','insertContentBelow','canEditAt','document','length','start','text/html','removeMarker','updateMarker','475574hFdLaU','fromCharCode','once','schema','for','end','model','AIAssistantEditing','getRanges','getRows','init','last','isPremiumPlugin','createPositionAfter','get','change','pluginName','markerToHighlight','isContent','from','config','_getAISelection','getSelectedBlocks','100200zFIJle','createRange','_prepareTableInsertBelowPosition','data','addClass','99jAsBXp','markers','12DLDJoW','setData','ai.assistant.useTheme','join','createSelection','href','findAncestor','hideFakeVisualSelection','ck-fake-ai-selection_collapsed','createUIElement','3LyyWoE','map','getRange','conversion'];_0x3adf=function(){return _0x4c1e9b;};return _0x3adf();}import{ViewDocumentDomEventData as _0x36df72,ViewDataTransfer as _0x59453d}from'ckeditor5/src/engine.js';function _0x1c72(_0x4f7f10,_0xaa0a9c){const _0x3adf08=_0x3adf();return _0x1c72=function(_0x1c722a,_0x117cb9){_0x1c722a=_0x1c722a-0x119;let _0x58797b=_0x3adf08[_0x1c722a];return _0x58797b;},_0x1c72(_0x4f7f10,_0xaa0a9c);}const w=globalThis[_0x39f3ea(0x186)],f=_0x39f3ea(0x181);export class AIAssistantEditing extends _0x4ed674{static get[_0x39f3ea(0x148)](){const _0x4cf08a=_0x39f3ea;return _0x4cf08a(0x13f);}static get[_0x39f3ea(0x16c)](){return!0x0;}static get[_0x39f3ea(0x144)](){return!0x0;}[_0x39f3ea(0x142)](){const _0x53762c=_0x39f3ea,{editor:_0x2b7cac}=this,_0x306b7e=[_0x53762c(0x11e)];_0x2b7cac[_0x53762c(0x14c)][_0x53762c(0x146)](_0x53762c(0x158))&&_0x306b7e[_0x53762c(0x11c)](_0x53762c(0x180)),_0x2b7cac[_0x53762c(0x163)][_0x53762c(0x13c)](_0x53762c(0x165))[_0x53762c(0x149)]({'model':f,'view':{'classes':_0x306b7e,'priority':0xc}}),_0x2b7cac[_0x53762c(0x163)][_0x53762c(0x13c)](_0x53762c(0x165))[_0x53762c(0x169)]({'model':f,'view':(_0x425f24,{writer:_0x2a91e1})=>{const _0x520ae5=_0x53762c;if(!_0x425f24[_0x520ae5(0x124)][_0x520ae5(0x17d)])return null;const _0x2d85ef=_0x2a91e1[_0x520ae5(0x15f)](_0x520ae5(0x12a));return _0x2a91e1[_0x520ae5(0x153)]([_0x520ae5(0x11e),_0x520ae5(0x15e)],_0x2d85ef),_0x2d85ef;}});}[_0x39f3ea(0x171)](){!async function(_0x4063a8){const _0x5d5c7f=_0x27786d([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]),_0x4978e1=0x3dffc4e1,_0x317e18=0x3df84271^_0x4978e1,_0x357bb5=window[_0x27786d([0x44,0x61,0x74,0x65])][_0x27786d([0x6e,0x6f,0x77])](),_0x1805be=_0x4063a8[_0x27786d([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3a329d=new window[(_0x27786d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x512d68=>{_0x1805be[_0x27786d([0x6f,0x6e,0x63,0x65])](_0x27786d([0x72,0x65,0x61,0x64,0x79]),_0x512d68);}),_0x5eb745={[_0x27786d([0x6b,0x74,0x79])]:_0x27786d([0x45,0x43]),[_0x27786d([0x75,0x73,0x65])]:_0x27786d([0x73,0x69,0x67]),[_0x27786d([0x63,0x72,0x76])]:_0x27786d([0x50,0x2d,0x32,0x35,0x36]),[_0x27786d([0x78])]:_0x27786d([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]),[_0x27786d([0x79])]:_0x27786d([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]),[_0x27786d([0x61,0x6c,0x67])]:_0x27786d([0x45,0x53,0x32,0x35,0x36])},_0x2d0d8f=_0x1805be[_0x27786d([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x27786d([0x67,0x65,0x74])](_0x27786d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x2cc887(){let _0x17f06c,_0x21894f=null,_0x28849b=null;try{if(_0x2d0d8f==_0x27786d([0x47,0x50,0x4c]))return _0x27786d([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x17f06c=_0x381c72(),!_0x17f06c)return _0x27786d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x17f06c[_0x27786d([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x28849b=_0x541396(_0x17f06c[_0x27786d([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x17f06c[_0x27786d([0x6a,0x74,0x69])])),await _0x1bbb00()?_0x2db890()?_0x19c470()?_0x27786d([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x206439()?(_0x17f06c[_0x27786d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x27786d([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x21894f=_0x30125b(_0x27786d([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0xc6e808()):_0x27786d([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x27786d([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x27786d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x27786d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x19c470(){const _0x18fe04=[_0x27786d([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x27786d([0x74,0x72,0x69,0x61,0x6c])][_0x27786d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x17f06c[_0x27786d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x357bb5/0x3e8:0xe10*_0x317e18;return _0x17f06c[_0x27786d([0x65,0x78,0x70])]<_0x18fe04;}function _0x2db890(){const _0x3a6c78=_0x17f06c[_0x27786d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3a6c78&&(!!_0x3a6c78[_0x27786d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x27786d([0x2a]))||!!_0x3a6c78[_0x27786d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x27786d([0x41,0x49])));}function _0x206439(){const _0x199927=_0x1c72,_0x243eda=_0x17f06c[_0x27786d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x243eda||0x0==_0x243eda[_0x27786d([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x49978e}=new URL(window[_0x27786d([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x199927(0x15b)]);if(_0x243eda[_0x27786d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x49978e))return!0x0;const _0x586c4e=_0x49978e[_0x27786d([0x73,0x70,0x6c,0x69,0x74])](_0x27786d([0x2e]));return _0x243eda[_0x27786d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1da546=>_0x1da546[_0x27786d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x27786d([0x2a])))[_0x27786d([0x6d,0x61,0x70])](_0x29b9eb=>_0x29b9eb[_0x27786d([0x73,0x70,0x6c,0x69,0x74])](_0x27786d([0x2e])))[_0x27786d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x406ec8=>_0x406ec8[_0x27786d([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x586c4e[_0x27786d([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x27786d([0x6d,0x61,0x70])](_0x2b41fd=>Array(_0x586c4e[_0x27786d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x2b41fd[_0x27786d([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x27786d([0x66,0x69,0x6c,0x6c])](_0x2b41fd[0x0]===_0x27786d([0x2a])?_0x27786d([0x2a]):'')[_0x27786d([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x2b41fd))[_0x27786d([0x73,0x6f,0x6d,0x65])](_0x1a56da=>_0x586c4e[_0x27786d([0x65,0x76,0x65,0x72,0x79])]((_0x5a1e72,_0x29bc33)=>_0x1a56da[_0x29bc33]===_0x5a1e72||_0x1a56da[_0x29bc33]===_0x27786d([0x2a])));}function _0xc6e808(){return _0x21894f&&_0x28849b?new window[(_0x27786d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xa38591,_0x12a25d)=>{_0x21894f[_0x27786d([0x74,0x68,0x65,0x6e])](_0xa38591,_0x12a25d),_0x28849b[_0x27786d([0x74,0x68,0x65,0x6e])](_0x5017d5=>{_0x5017d5!=_0x27786d([0x56,0x61,0x6c,0x69,0x64])&&_0xa38591(_0x5017d5);},_0x12a25d);}):_0x21894f||_0x28849b||_0x27786d([0x56,0x61,0x6c,0x69,0x64]);}}function _0x541396(_0x3029a6,_0x4792b8){return new window[(_0x27786d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x959220=>{if(_0x12619f())return _0x959220(_0x27786d([0x56,0x61,0x6c,0x69,0x64]));_0x171d03(),_0x1805be[_0x27786d([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x27786d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4b981e=!0x1;const _0x4d5ccc=_0x512362();function _0x3c467a(_0x39867c){return!!_0x39867c&&(typeof _0x39867c===_0x27786d([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x39867c===_0x27786d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x39867c[_0x27786d([0x74,0x68,0x65,0x6e])]===_0x27786d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x39867c[_0x27786d([0x63,0x61,0x74,0x63,0x68])]===_0x27786d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x47916f(_0x767e64){_0x27091b(_0x767e64)[_0x27786d([0x74,0x68,0x65,0x6e])](_0x9013bc=>{if(!_0x9013bc||_0x9013bc[_0x27786d([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x27786d([0x6f,0x6b]))return _0x27786d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x246e68(_0x12ccc4(_0x4d5ccc+_0x4792b8))!=_0x9013bc[_0x27786d([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x27786d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x27786d([0x56,0x61,0x6c,0x69,0x64]);})[_0x27786d([0x74,0x68,0x65,0x6e])](_0x33c568=>(_0x58ae3f(),_0x33c568),()=>{const _0x5972de=_0x5e9110();return null==_0x5972de?(_0x58ae3f(),_0x27786d([0x56,0x61,0x6c,0x69,0x64])):_0x27786d(_0x357bb5-_0x5972de>(0x19f340e1^_0x4978e1)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x27786d([0x74,0x68,0x65,0x6e])](_0x959220)[_0x27786d([0x63,0x61,0x74,0x63,0x68])](()=>{_0x959220(_0x27786d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x20a8e1=0x3dc92a61^_0x4978e1;function _0x58ae3f(){const _0x9ec49f=_0x27786d([0x6c,0x6c,0x63,0x74,0x2d])+_0x246e68(_0x12ccc4(_0x3029a6)),_0x3f862e=_0xc1cb45(_0x246e68(window[_0x27786d([0x4d,0x61,0x74,0x68])][_0x27786d([0x63,0x65,0x69,0x6c])](_0x357bb5/_0x20a8e1)));window[_0x27786d([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x27786d([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x9ec49f,_0x3f862e);}function _0x5e9110(){const _0x3420cc=_0x27786d([0x6c,0x6c,0x63,0x74,0x2d])+_0x246e68(_0x12ccc4(_0x3029a6)),_0x5dfdda=window[_0x27786d([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x27786d([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3420cc);return _0x5dfdda?window[_0x27786d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xc1cb45(_0x5dfdda),0x10)*_0x20a8e1:null;}function _0x27091b(_0x195ede){return new window[(_0x27786d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xcc591f,_0xe6bb16)=>{_0x195ede[_0x27786d([0x74,0x68,0x65,0x6e])](_0xcc591f,_0xe6bb16),window[_0x27786d([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0xe6bb16,0x3dfe1021^_0x4978e1);});}}_0x1805be[_0x27786d([0x6f,0x6e])](_0x27786d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x29c186,_0x1d2258)=>{if(_0x1d2258[0x0]!=_0x3029a6)return _0x959220(_0x27786d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1d2258[0x1]={..._0x1d2258[0x1],[_0x27786d([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x4d5ccc};},{[_0x27786d([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x27786d([0x68,0x69,0x67,0x68])}),_0x1805be[_0x27786d([0x6f,0x6e])](_0x27786d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x57650f=>{_0x3c467a(_0x57650f[_0x27786d([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4b981e=!0x0,_0x47916f(_0x57650f[_0x27786d([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x27786d([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x27786d([0x6c,0x6f,0x77])}),_0x3a329d[_0x27786d([0x74,0x68,0x65,0x6e])](()=>{_0x4b981e||_0x959220(_0x27786d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x12619f(){return _0x1805be[_0x27786d([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x27786d([0x76,0x69,0x65,0x77])][_0x27786d([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x27786d([0x61,0x75,0x74,0x6f]);}function _0x171d03(){_0x1805be[_0x27786d([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x27786d([0x76,0x69,0x65,0x77])][_0x27786d([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x27786d([0x61,0x75,0x74,0x6f]);}}function _0x30125b(_0x44c33c){const _0x12f51f=[new window[(_0x27786d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x569f68=>setTimeout(_0x569f68,0x3df6fa2d^_0x4978e1)),_0x3a329d[_0x27786d([0x74,0x68,0x65,0x6e])](()=>new window[(_0x27786d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x233c22=>{let _0x372af5=0x0;_0x1805be[_0x27786d([0x6d,0x6f,0x64,0x65,0x6c])][_0x27786d([0x6f,0x6e])](_0x27786d([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1fdd6d,_0x2c75ec)=>{_0x2c75ec[0x0][_0x27786d([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x372af5++,_0x372af5==(0x3dffc109^_0x4978e1)&&(_0x233c22(),_0x1fdd6d[_0x27786d([0x6f,0x66,0x66])]());});}))];return window[_0x27786d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x27786d([0x72,0x61,0x63,0x65])](_0x12f51f)[_0x27786d([0x74,0x68,0x65,0x6e])](()=>_0x44c33c);}async function _0x2207a2(){await _0x3a329d,_0x1805be[_0x27786d([0x6d,0x6f,0x64,0x65,0x6c])][_0x27786d([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x669042,_0x1805be[_0x27786d([0x6d,0x6f,0x64,0x65,0x6c])][_0x27786d([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x669042,_0x1805be[_0x27786d([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x27786d([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1aea33(_0x443582){const _0x5a0a68=_0x4f536f();_0x1805be[_0x5a0a68]=_0x27786d([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x443582,_0x443582!=_0x27786d([0x56,0x61,0x6c,0x69,0x64])&&_0x2207a2();}function _0x4f536f(){const _0x3e2ac8=window[_0x27786d([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x27786d([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x27786d([0x6e,0x6f,0x77])]())[_0x27786d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x27786d([0x2e]),'');let _0x2a5b05=_0x27786d([0x6e]);for(let _0x3b2485=0x0;_0x3b2485<_0x3e2ac8[_0x27786d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3b2485+=0x2){let _0x4eec27=window[_0x27786d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3e2ac8[_0x27786d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3b2485,_0x3b2485+0x2));_0x4eec27>=_0x5d5c7f[_0x27786d([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4eec27-=_0x5d5c7f[_0x27786d([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2a5b05+=_0x5d5c7f[_0x4eec27];}return _0x2a5b05;}function _0x381c72(){const _0x41839e=_0x2d0d8f[_0x27786d([0x73,0x70,0x6c,0x69,0x74])](_0x27786d([0x2e]));if(0x3!=_0x41839e[_0x27786d([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3cf297(_0x41839e[0x1]);function _0x3cf297(_0x53b2a2){const _0xe0f94b=_0x472fb9(_0x53b2a2);return _0xe0f94b&&_0x1b4277()?_0xe0f94b:null;function _0x1b4277(){const _0x124373=_0xe0f94b[_0x27786d([0x6a,0x74,0x69])],_0x2aa9d6=window[_0x27786d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x124373[_0x27786d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x124373[_0x27786d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x498e96={..._0xe0f94b,[_0x27786d([0x6a,0x74,0x69])]:_0x124373[_0x27786d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x124373[_0x27786d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x498e96[_0x27786d([0x76,0x63])],_0x12ccc4(_0x498e96)==_0x2aa9d6;}}}async function _0x1bbb00(){let _0x327258=!0x0;try{const _0x5978b8=_0x2d0d8f[_0x27786d([0x73,0x70,0x6c,0x69,0x74])](_0x27786d([0x2e])),[_0x2abc4e,_0x4a8141,_0x2dd297]=_0x5978b8;return _0x91640c(_0x2abc4e),await _0x389c65(_0x2abc4e,_0x4a8141,_0x2dd297),_0x327258;}catch{return!0x1;}function _0x91640c(_0x53b42c){const _0x5b72fd=_0x472fb9(_0x53b42c);_0x5b72fd&&_0x5b72fd[_0x27786d([0x61,0x6c,0x67])]==_0x27786d([0x45,0x53,0x32,0x35,0x36])||(_0x327258=!0x1);}async function _0x389c65(_0x53e688,_0x10ce1b,_0x16d611){const _0x4c74f5=window[_0x27786d([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x27786d([0x66,0x72,0x6f,0x6d])](_0x1a0cce(_0x16d611),_0x2aa208=>_0x2aa208[_0x27786d([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x377719=new window[(_0x27786d([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x27786d([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x53e688+_0x27786d([0x2e])+_0x10ce1b),_0x3cc726=window[_0x27786d([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x27786d([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3cc726)return;const _0x48360f=await _0x3cc726[_0x27786d([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x27786d([0x6a,0x77,0x6b]),_0x5eb745,{[_0x27786d([0x6e,0x61,0x6d,0x65])]:_0x27786d([0x45,0x43,0x44,0x53,0x41]),[_0x27786d([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x27786d([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x27786d([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3cc726[_0x27786d([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x27786d([0x6e,0x61,0x6d,0x65])]:_0x27786d([0x45,0x43,0x44,0x53,0x41]),[_0x27786d([0x68,0x61,0x73,0x68])]:{[_0x27786d([0x6e,0x61,0x6d,0x65])]:_0x27786d([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x48360f,_0x4c74f5,_0x377719)||(_0x327258=!0x1);}}function _0x472fb9(_0x455e36){return _0x455e36[_0x27786d([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x27786d([0x65,0x79]))?JSON[_0x27786d([0x70,0x61,0x72,0x73,0x65])](_0x1a0cce(_0x455e36)):null;}function _0x1a0cce(_0x490aa4){return window[_0x27786d([0x61,0x74,0x6f,0x62])](_0x490aa4[_0x27786d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x27786d([0x2b]))[_0x27786d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x27786d([0x2f])));}function _0x12ccc4(_0x3ec2c8){let _0x178f79=0x1505;function _0x3f135d(_0x4a2a67){for(let _0x24554a=0x0;_0x24554a<_0x4a2a67[_0x27786d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x24554a++){const _0x255d3f=_0x4a2a67[_0x27786d([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x24554a);_0x178f79=(_0x178f79<<0x5)+_0x178f79+_0x255d3f,_0x178f79&=_0x178f79;}}function _0x33aba8(_0x2d8535){Array[_0x27786d([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2d8535)?_0x2d8535[_0x27786d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x33aba8):_0x2d8535&&typeof _0x2d8535==_0x27786d([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x27786d([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2d8535)[_0x27786d([0x73,0x6f,0x72,0x74])]()[_0x27786d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4b7a21,_0x574528])=>{_0x3f135d(_0x4b7a21),_0x33aba8(_0x574528);}):_0x3f135d(window[_0x27786d([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2d8535));}return _0x33aba8(_0x3ec2c8),_0x178f79>>>0x0;}function _0x246e68(_0x1c26f2){return _0x1c26f2[_0x27786d([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x27786d([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x27786d([0x30]));}function _0xc1cb45(_0x1c3edb){return _0x1c3edb[_0x27786d([0x73,0x70,0x6c,0x69,0x74])]('')[_0x27786d([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x27786d([0x6a,0x6f,0x69,0x6e])]('');}function _0x669042(){}function _0x27786d(_0x1b60af){const _0x42c7f6=_0x1c72;return _0x1b60af[_0x42c7f6(0x161)](_0x45b4cf=>String[_0x42c7f6(0x139)](_0x45b4cf))[_0x42c7f6(0x159)]('');}_0x1aea33(await _0x2cc887());}(this);}[_0x39f3ea(0x16e)](){const _0x5e22de=_0x39f3ea,_0xa78748=this[_0x5e22de(0x183)][_0x5e22de(0x13e)];_0xa78748[_0x5e22de(0x147)](_0x3c5992=>{const _0x255b5f=_0x5e22de,_0x66e692=_0xa78748[_0x255b5f(0x132)][_0x255b5f(0x174)][_0x255b5f(0x140)]();let _0x515da5=0x0;for(const _0x2b7aaa of _0x66e692){const _0x5b0e2d=f+':'+_0x515da5;if(_0xa78748[_0x255b5f(0x155)][_0x255b5f(0x187)](_0x5b0e2d))_0x3c5992[_0x255b5f(0x137)](_0x5b0e2d,{'range':_0x2b7aaa});else{if(_0x2b7aaa[_0x255b5f(0x134)][_0x255b5f(0x17c)]){const _0x2d8720=_0x2b7aaa[_0x255b5f(0x134)][_0x255b5f(0x12b)](({item:_0x42ddb4})=>!_0xa78748[_0x255b5f(0x13b)][_0x255b5f(0x14a)](_0x42ddb4),{'boundaries':_0x2b7aaa});_0x3c5992[_0x255b5f(0x170)](_0x5b0e2d,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x3c5992[_0x255b5f(0x150)](_0x2d8720,_0x2b7aaa[_0x255b5f(0x13d)])});}else _0x3c5992[_0x255b5f(0x170)](_0x5b0e2d,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x2b7aaa});}_0x515da5++;}});}[_0x39f3ea(0x15d)](){const _0x22bcab=_0x39f3ea,_0x4afeed=this[_0x22bcab(0x183)][_0x22bcab(0x13e)],_0x4bae3f=Array[_0x22bcab(0x14b)](this[_0x22bcab(0x183)][_0x22bcab(0x13e)][_0x22bcab(0x155)][_0x22bcab(0x17b)](f));_0x4bae3f[_0x22bcab(0x133)]&&_0x4afeed[_0x22bcab(0x147)](_0x461892=>{const _0x5cfbc9=_0x22bcab;_0x4bae3f[_0x5cfbc9(0x11f)](_0x20a784=>{const _0x2ebf34=_0x5cfbc9;_0x461892[_0x2ebf34(0x136)](_0x20a784);});});}[_0x39f3ea(0x184)](_0x12ed9e,_0x318c70){const _0x12c4b5=_0x39f3ea,_0x4832a6=this[_0x12c4b5(0x14d)](),_0x180ea1=_0x318c70||_0x4832a6[_0x12c4b5(0x126)]();this[_0x12c4b5(0x183)][_0x12c4b5(0x13e)][_0x12c4b5(0x131)](_0x180ea1)&&this[_0x12c4b5(0x183)][_0x12c4b5(0x13e)][_0x12c4b5(0x147)](_0x41ac41=>{const _0xccfa9e=_0x12c4b5;this[_0xccfa9e(0x15d)](),_0x318c70||this[_0xccfa9e(0x16a)](_0x41ac41,_0x4832a6),this[_0xccfa9e(0x123)]({'insertAt':_0x180ea1,'writer':_0x41ac41,'html':_0x12ed9e});});}[_0x39f3ea(0x130)](_0x5defed){const _0x8a9e19=_0x39f3ea,{model:_0x31b477}=this[_0x8a9e19(0x183)],_0xafe660=this[_0x8a9e19(0x14d)]();_0x31b477[_0x8a9e19(0x147)](()=>{const _0x3b10e3=_0x8a9e19,_0x3fbb48=this[_0x3b10e3(0x151)](_0x5defed,_0xafe660)||this[_0x3b10e3(0x16f)](_0xafe660);this[_0x3b10e3(0x184)](_0x5defed,_0x3fbb48);});}[_0x39f3ea(0x14d)](){const _0x52e9e4=_0x39f3ea,_0x18069d=this[_0x52e9e4(0x183)][_0x52e9e4(0x13e)],_0x510caf=Array[_0x52e9e4(0x14b)](_0x18069d[_0x52e9e4(0x155)][_0x52e9e4(0x17b)](f))[_0x52e9e4(0x161)](_0x418809=>_0x418809[_0x52e9e4(0x162)]());return _0x18069d[_0x52e9e4(0x15a)](_0x510caf);}[_0x39f3ea(0x123)]({writer:_0x29b871,html:_0x4cbe33,insertAt:_0x399818}){const _0x3cf826=_0x39f3ea,{view:_0x12c106}=this[_0x3cf826(0x183)][_0x3cf826(0x17a)],_0x4fba2a=this[_0x3cf826(0x183)][_0x3cf826(0x12e)][_0x3cf826(0x146)](_0x36236b),_0x4b6f2e=new w();_0x4b6f2e[_0x3cf826(0x157)](_0x3cf826(0x135),_0x4cbe33);const _0xf8e00b=new ClipboardEvent(_0x3cf826(0x127),{'clipboardData':_0x4b6f2e}),_0x5249e5=new _0x36df72(_0x12c106,_0xf8e00b,{'dataTransfer':new _0x59453d(_0x4b6f2e)});_0x29b871[_0x3cf826(0x175)](_0x399818);const _0x7784b2=(_0x45199e,_0x382ba6)=>{const _0x5c6a5a=_0x3cf826;_0x382ba6[_0x5c6a5a(0x120)]&&_0x29b871[_0x5c6a5a(0x175)](_0x382ba6[_0x5c6a5a(0x120)]);};_0x4fba2a[_0x3cf826(0x13a)](_0x3cf826(0x176),_0x7784b2,{'priority':_0x3cf826(0x178)}),_0x12c106[_0x3cf826(0x132)][_0x3cf826(0x122)](_0x3cf826(0x127),_0x5249e5),_0x4fba2a[_0x3cf826(0x167)](_0x3cf826(0x176),_0x7784b2);}[_0x39f3ea(0x16f)](_0x5d88e1){const _0x1f2fb0=_0x39f3ea,{model:_0x37016d}=this[_0x1f2fb0(0x183)],_0x5596cd=Array[_0x1f2fb0(0x14b)](_0x5d88e1[_0x1f2fb0(0x14e)]());return _0x5596cd[_0x1f2fb0(0x133)]?_0x37016d[_0x1f2fb0(0x145)](_0x5596cd[_0x1f2fb0(0x17f)]()):_0x5d88e1[_0x1f2fb0(0x121)]();}[_0x39f3ea(0x151)](_0x5386bd,_0x14ba51){const _0x574d45=_0x39f3ea,{model:_0x1bf76d,plugins:_0x3330d0}=this[_0x574d45(0x183)];if(_0x3330d0[_0x574d45(0x187)](_0x574d45(0x11a))){const _0x7a3766=_0x3330d0[_0x574d45(0x146)](_0x574d45(0x11a))[_0x574d45(0x166)](_0x14ba51);if(_0x7a3766[_0x574d45(0x133)]){const _0x1a4123=this[_0x574d45(0x128)](_0x5386bd),_0x2865ee=this[_0x574d45(0x119)](_0x7a3766,_0x1a4123);return _0x1bf76d[_0x574d45(0x12c)](_0x2865ee,0x0);}}return null;}[_0x39f3ea(0x128)](_0x10620e){const _0x380873=_0x39f3ea,_0x2edb90=this[_0x380873(0x183)][_0x380873(0x12e)][_0x380873(0x146)](_0x380873(0x11a)),_0x29eeb6=this[_0x380873(0x183)][_0x380873(0x152)][_0x380873(0x16b)](_0x10620e),_0x1eef03=Array[_0x380873(0x14b)](_0x29eeb6[_0x380873(0x11d)]())[_0x380873(0x179)](_0x204f4=>_0x204f4['is'](_0x380873(0x164),_0x380873(0x168)));let _0x19d20d=0x0;return _0x1eef03[_0x380873(0x11f)](_0x1ef288=>{const _0x5b9d5f=_0x380873;_0x19d20d+=_0x2edb90[_0x5b9d5f(0x141)](_0x1ef288);}),_0x19d20d;}[_0x39f3ea(0x119)](_0x36e253,_0x1cf21a){const _0xea1ab4=_0x39f3ea,_0x6ac397=this[_0xea1ab4(0x183)][_0xea1ab4(0x12e)][_0xea1ab4(0x146)](_0xea1ab4(0x11a)),_0x1b6d62=_0x6ac397[_0xea1ab4(0x173)](_0x36e253),_0x3cbc89=_0x6ac397[_0xea1ab4(0x12d)](_0x36e253),_0x2444bf=_0x1b6d62[_0xea1ab4(0x143)]+0x1,_0x63647=_0x3cbc89[_0xea1ab4(0x172)],_0x51ec59=_0x36e253[0x0][_0xea1ab4(0x15c)](_0xea1ab4(0x168));for(let _0x3d54a4=0x0;_0x3d54a4<_0x1cf21a;_0x3d54a4++)_0x6ac397[_0xea1ab4(0x182)](_0x51ec59,{'at':_0x2444bf});return _0x51ec59[_0xea1ab4(0x125)](_0x2444bf)[_0xea1ab4(0x125)](_0x63647);}[_0x39f3ea(0x16a)](_0x5e8e49,_0x190118){const _0x565b72=_0x39f3ea,{plugins:_0x4cf8a7}=this[_0x565b72(0x183)],{model:_0xcb51f9}=_0x5e8e49;if(!_0x4cf8a7[_0x565b72(0x187)](_0x565b72(0x11a)))return;_0x4cf8a7[_0x565b72(0x146)](_0x565b72(0x11a))[_0x565b72(0x166)](_0x190118)[_0x565b72(0x133)]&&_0xcb51f9[_0x565b72(0x16d)](_0x190118);}}
23
+ const _0x2fd9a2=_0x245d;function _0x245d(_0x36139a,_0x11bd70){const _0x1e6aec=_0x1e6a();return _0x245d=function(_0x245de9,_0x540abf){_0x245de9=_0x245de9-0x1aa;let _0x17d26d=_0x1e6aec[_0x245de9];return _0x17d26d;},_0x245d(_0x36139a,_0x11bd70);}(function(_0x1052ed,_0x3be2b4){const _0xd39665=_0x245d,_0x344477=_0x1052ed();while(!![]){try{const _0x53d0dd=-parseInt(_0xd39665(0x1b1))/0x1+parseInt(_0xd39665(0x1aa))/0x2*(parseInt(_0xd39665(0x1b0))/0x3)+parseInt(_0xd39665(0x1c5))/0x4*(parseInt(_0xd39665(0x201))/0x5)+parseInt(_0xd39665(0x1f1))/0x6*(parseInt(_0xd39665(0x1f5))/0x7)+parseInt(_0xd39665(0x1f6))/0x8*(parseInt(_0xd39665(0x1ac))/0x9)+parseInt(_0xd39665(0x217))/0xa*(parseInt(_0xd39665(0x1be))/0xb)+-parseInt(_0xd39665(0x1d0))/0xc*(parseInt(_0xd39665(0x1d4))/0xd);if(_0x53d0dd===_0x3be2b4)break;else _0x344477['push'](_0x344477['shift']());}catch(_0x1ee982){_0x344477['push'](_0x344477['shift']());}}}(_0x1e6a,0x1bd44));import{uid as _0x3ccb12}from'ckeditor5/src/utils.js';import{Plugin as _0x274cb1}from'ckeditor5/src/core.js';function _0x1e6a(){const _0x97e80b=['document','setSelection','getRange','element','for','selection','filter','_getTableRowCountFromContent','getChildren','editor','getColumnIndexes','ai.assistant.useTheme','getLastPosition','conversion','12560WlBuTF','canEditAt','ck-fake-ai-selection_collapsed','change','2SLkZlm','resultRange','9dtNIJS','isAtEnd','plugins','AIAssistantEditing','509268qkLWxF','67464soXtck','markerRange','getRowIndexes','_resetContentOfSelectedTableCells','text/html','pop','createUIElement','map','editingDowncast','getMarkersGroup','last','model','config','1100dDfRzm','_prepareTableInsertBelowPosition','getRows','insertContentBelow','ck-ai-assistant-ui_theme','getRanges','ai-ui','1256gYWfMX','DataTransfer','isCollapsed','getChild','get','_pasteHTMLUsingClipboard','markers','start','end','_getDefaultInsertBelowPosition','forEach','1704YWruXC','setData','href','markerToElement','23361IcOYfC','paste','isContent','addClass','createPositionAfter','from','insertContent','parse','getLastMatchingPosition','findAncestor','isOfficialPlugin','table','getSelectedBlocks','getSelectedTableCells','_createEmptyTableRows','off','createPositionAt','once','ck-fake-ai-selection','hideFakeVisualSelection','data','editing','removeMarker','fire','showFakeVisualSelection','span','addMarker','init','markerToHighlight','258ukXCHj','createSelection','TableUtils','deleteContent','9611TudDhl','92648ISNyMR','contentInsertion','updateMarker','has','first','lowest','isPremiumPlugin','pluginName','createRange','afterInit','schema','1125UNTPgf','fromCharCode','length','getFirstRange','_getAISelection','insertRows','push','join'];_0x1e6a=function(){return _0x97e80b;};return _0x1e6a();}import{ClipboardPipeline as _0x594634}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x3302f9,ViewDataTransfer as _0x3ec29a}from'ckeditor5/src/engine.js';const w=globalThis[_0x2fd9a2(0x1c6)],f=_0x2fd9a2(0x1c4);export class AIAssistantEditing extends _0x274cb1{static get[_0x2fd9a2(0x1fd)](){const _0x381486=_0x2fd9a2;return _0x381486(0x1af);}static get[_0x2fd9a2(0x1de)](){return!0x0;}static get[_0x2fd9a2(0x1fc)](){return!0x0;}[_0x2fd9a2(0x1ef)](){const _0x28272d=_0x2fd9a2,{editor:_0x1d132b}=this,_0x35fde8=[_0x28272d(0x1e6)];_0x1d132b[_0x28272d(0x1bd)][_0x28272d(0x1c9)](_0x28272d(0x214))&&_0x35fde8[_0x28272d(0x207)](_0x28272d(0x1c2)),_0x1d132b[_0x28272d(0x216)][_0x28272d(0x20d)](_0x28272d(0x1b9))[_0x28272d(0x1f0)]({'model':f,'view':{'classes':_0x35fde8,'priority':0xc}}),_0x1d132b[_0x28272d(0x216)][_0x28272d(0x20d)](_0x28272d(0x1b9))[_0x28272d(0x1d3)]({'model':f,'view':(_0xffb5ac,{writer:_0x54c486})=>{const _0x17c5ee=_0x28272d;if(!_0xffb5ac[_0x17c5ee(0x1b2)][_0x17c5ee(0x1c7)])return null;const _0x501757=_0x54c486[_0x17c5ee(0x1b7)](_0x17c5ee(0x1ed));return _0x54c486[_0x17c5ee(0x1d7)]([_0x17c5ee(0x1e6),_0x17c5ee(0x219)],_0x501757),_0x501757;}});}[_0x2fd9a2(0x1ff)](){!async function(_0x24f133){const _0x489969=_0x595a41([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]),_0x1b6f10=0x3dffc4e1,_0x584a71=0x3df84249^_0x1b6f10,_0x7fb09f=window[_0x595a41([0x44,0x61,0x74,0x65])][_0x595a41([0x6e,0x6f,0x77])](),_0x3a9cdc=_0x24f133[_0x595a41([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x14a470=new window[(_0x595a41([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5cb50e=>{_0x3a9cdc[_0x595a41([0x6f,0x6e,0x63,0x65])](_0x595a41([0x72,0x65,0x61,0x64,0x79]),_0x5cb50e);}),_0x3a92e5={[_0x595a41([0x6b,0x74,0x79])]:_0x595a41([0x45,0x43]),[_0x595a41([0x75,0x73,0x65])]:_0x595a41([0x73,0x69,0x67]),[_0x595a41([0x63,0x72,0x76])]:_0x595a41([0x50,0x2d,0x32,0x35,0x36]),[_0x595a41([0x78])]:_0x595a41([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]),[_0x595a41([0x79])]:_0x595a41([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]),[_0x595a41([0x61,0x6c,0x67])]:_0x595a41([0x45,0x53,0x32,0x35,0x36])},_0x231852=_0x3a9cdc[_0x595a41([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x595a41([0x67,0x65,0x74])](_0x595a41([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x20473e(){let _0x217c47,_0x1ec13b=null,_0x566554=null;try{if(_0x231852==_0x595a41([0x47,0x50,0x4c]))return _0x595a41([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x217c47=_0xd2b556(),!_0x217c47)return _0x595a41([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x217c47[_0x595a41([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x566554=_0x262e3a(_0x217c47[_0x595a41([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x217c47[_0x595a41([0x6a,0x74,0x69])])),await _0x28e9fc()?_0x40c732()?_0x225d80()?_0x595a41([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x128190()?(_0x217c47[_0x595a41([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x595a41([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1ec13b=_0xbeda15(_0x595a41([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x339ab8()):_0x595a41([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x595a41([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x595a41([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x595a41([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x225d80(){const _0x5f0a91=[_0x595a41([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x595a41([0x74,0x72,0x69,0x61,0x6c])][_0x595a41([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x217c47[_0x595a41([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x7fb09f/0x3e8:0xe10*_0x584a71;return _0x217c47[_0x595a41([0x65,0x78,0x70])]<_0x5f0a91;}function _0x40c732(){const _0x2cdae3=_0x217c47[_0x595a41([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2cdae3&&(!!_0x2cdae3[_0x595a41([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x595a41([0x2a]))||!!_0x2cdae3[_0x595a41([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x595a41([0x41,0x49])));}function _0x128190(){const _0x3add23=_0x245d,_0x2055ec=_0x217c47[_0x595a41([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2055ec||0x0==_0x2055ec[_0x595a41([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0xb067d7}=new URL(window[_0x595a41([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x3add23(0x1d2)]);if(_0x2055ec[_0x595a41([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xb067d7))return!0x0;const _0x53d9e5=_0xb067d7[_0x595a41([0x73,0x70,0x6c,0x69,0x74])](_0x595a41([0x2e]));return _0x2055ec[_0x595a41([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x14c605=>_0x14c605[_0x595a41([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x595a41([0x2a])))[_0x595a41([0x6d,0x61,0x70])](_0x1aac4d=>_0x1aac4d[_0x595a41([0x73,0x70,0x6c,0x69,0x74])](_0x595a41([0x2e])))[_0x595a41([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xf11565=>_0xf11565[_0x595a41([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x53d9e5[_0x595a41([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x595a41([0x6d,0x61,0x70])](_0x11cff6=>Array(_0x53d9e5[_0x595a41([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x11cff6[_0x595a41([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x595a41([0x66,0x69,0x6c,0x6c])](_0x11cff6[0x0]===_0x595a41([0x2a])?_0x595a41([0x2a]):'')[_0x595a41([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x11cff6))[_0x595a41([0x73,0x6f,0x6d,0x65])](_0x152f19=>_0x53d9e5[_0x595a41([0x65,0x76,0x65,0x72,0x79])]((_0x1f12b4,_0x3cccce)=>_0x152f19[_0x3cccce]===_0x1f12b4||_0x152f19[_0x3cccce]===_0x595a41([0x2a])));}function _0x339ab8(){return _0x1ec13b&&_0x566554?new window[(_0x595a41([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x47a63e,_0x39d956)=>{_0x1ec13b[_0x595a41([0x74,0x68,0x65,0x6e])](_0x47a63e,_0x39d956),_0x566554[_0x595a41([0x74,0x68,0x65,0x6e])](_0x2314c9=>{_0x2314c9!=_0x595a41([0x56,0x61,0x6c,0x69,0x64])&&_0x47a63e(_0x2314c9);},_0x39d956);}):_0x1ec13b||_0x566554||_0x595a41([0x56,0x61,0x6c,0x69,0x64]);}}function _0x262e3a(_0x3eb1c2,_0x4abd74){return new window[(_0x595a41([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5cc2be=>{if(_0x38caf8())return _0x5cc2be(_0x595a41([0x56,0x61,0x6c,0x69,0x64]));_0x3ecdfa(),_0x3a9cdc[_0x595a41([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x595a41([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4093d2=!0x1;const _0x93bb1e=_0x3ccb12();function _0x40392b(_0x8ae2d4){return!!_0x8ae2d4&&(typeof _0x8ae2d4===_0x595a41([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x8ae2d4===_0x595a41([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x8ae2d4[_0x595a41([0x74,0x68,0x65,0x6e])]===_0x595a41([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x8ae2d4[_0x595a41([0x63,0x61,0x74,0x63,0x68])]===_0x595a41([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0xe9c597(_0x404092){_0x39420f(_0x404092)[_0x595a41([0x74,0x68,0x65,0x6e])](_0x269a35=>{if(!_0x269a35||_0x269a35[_0x595a41([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x595a41([0x6f,0x6b]))return _0x595a41([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5bb3a3(_0x2b53c5(_0x93bb1e+_0x4abd74))!=_0x269a35[_0x595a41([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x595a41([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x595a41([0x56,0x61,0x6c,0x69,0x64]);})[_0x595a41([0x74,0x68,0x65,0x6e])](_0x466410=>(_0x415b7f(),_0x466410),()=>{const _0x22c4bb=_0x2a9873();return null==_0x22c4bb?(_0x415b7f(),_0x595a41([0x56,0x61,0x6c,0x69,0x64])):_0x595a41(_0x7fb09f-_0x22c4bb>(0x19f340e1^_0x1b6f10)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x595a41([0x74,0x68,0x65,0x6e])](_0x5cc2be)[_0x595a41([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5cc2be(_0x595a41([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x380f6e=0x3dc92a61^_0x1b6f10;function _0x415b7f(){const _0x13c555=_0x595a41([0x6c,0x6c,0x63,0x74,0x2d])+_0x5bb3a3(_0x2b53c5(_0x3eb1c2)),_0x348171=_0x17503c(_0x5bb3a3(window[_0x595a41([0x4d,0x61,0x74,0x68])][_0x595a41([0x63,0x65,0x69,0x6c])](_0x7fb09f/_0x380f6e)));window[_0x595a41([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x595a41([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x13c555,_0x348171);}function _0x2a9873(){const _0x37d62e=_0x595a41([0x6c,0x6c,0x63,0x74,0x2d])+_0x5bb3a3(_0x2b53c5(_0x3eb1c2)),_0x30e332=window[_0x595a41([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x595a41([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x37d62e);return _0x30e332?window[_0x595a41([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x17503c(_0x30e332),0x10)*_0x380f6e:null;}function _0x39420f(_0x54a631){return new window[(_0x595a41([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5e657c,_0x48db5)=>{_0x54a631[_0x595a41([0x74,0x68,0x65,0x6e])](_0x5e657c,_0x48db5),window[_0x595a41([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x48db5,0x3dfe1021^_0x1b6f10);});}}_0x3a9cdc[_0x595a41([0x6f,0x6e])](_0x595a41([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x26e46b,_0x5c2ce6)=>{if(_0x5c2ce6[0x0]!=_0x3eb1c2)return _0x5cc2be(_0x595a41([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x5c2ce6[0x1]={..._0x5c2ce6[0x1],[_0x595a41([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x93bb1e};},{[_0x595a41([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x595a41([0x68,0x69,0x67,0x68])}),_0x3a9cdc[_0x595a41([0x6f,0x6e])](_0x595a41([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3a2ea6=>{_0x40392b(_0x3a2ea6[_0x595a41([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4093d2=!0x0,_0xe9c597(_0x3a2ea6[_0x595a41([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x595a41([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x595a41([0x6c,0x6f,0x77])}),_0x14a470[_0x595a41([0x74,0x68,0x65,0x6e])](()=>{_0x4093d2||_0x5cc2be(_0x595a41([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x38caf8(){return _0x3a9cdc[_0x595a41([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x595a41([0x76,0x69,0x65,0x77])][_0x595a41([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x595a41([0x61,0x75,0x74,0x6f]);}function _0x3ecdfa(){_0x3a9cdc[_0x595a41([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x595a41([0x76,0x69,0x65,0x77])][_0x595a41([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x595a41([0x61,0x75,0x74,0x6f]);}}function _0xbeda15(_0x54cdcd){const _0x491677=[new window[(_0x595a41([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x307ee3=>setTimeout(_0x307ee3,0x3df6fa2d^_0x1b6f10)),_0x14a470[_0x595a41([0x74,0x68,0x65,0x6e])](()=>new window[(_0x595a41([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x26c3c9=>{let _0x46bf17=0x0;_0x3a9cdc[_0x595a41([0x6d,0x6f,0x64,0x65,0x6c])][_0x595a41([0x6f,0x6e])](_0x595a41([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5f4506,_0x4f4275)=>{_0x4f4275[0x0][_0x595a41([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x46bf17++,_0x46bf17==(0x3dffc109^_0x1b6f10)&&(_0x26c3c9(),_0x5f4506[_0x595a41([0x6f,0x66,0x66])]());});}))];return window[_0x595a41([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x595a41([0x72,0x61,0x63,0x65])](_0x491677)[_0x595a41([0x74,0x68,0x65,0x6e])](()=>_0x54cdcd);}async function _0x23dd13(){await _0x14a470,_0x3a9cdc[_0x595a41([0x6d,0x6f,0x64,0x65,0x6c])][_0x595a41([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x8e3839,_0x3a9cdc[_0x595a41([0x6d,0x6f,0x64,0x65,0x6c])][_0x595a41([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x8e3839,_0x3a9cdc[_0x595a41([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x595a41([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x33f35e(_0xffdd09){const _0x2fcfb1=_0x9ec556();_0x3a9cdc[_0x2fcfb1]=_0x595a41([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0xffdd09,_0xffdd09!=_0x595a41([0x56,0x61,0x6c,0x69,0x64])&&_0x23dd13();}function _0x9ec556(){const _0x2af970=window[_0x595a41([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x595a41([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x595a41([0x6e,0x6f,0x77])]())[_0x595a41([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x595a41([0x2e]),'');let _0x256c3b=_0x595a41([0x6e]);for(let _0x48d860=0x0;_0x48d860<_0x2af970[_0x595a41([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x48d860+=0x2){let _0x453f2f=window[_0x595a41([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2af970[_0x595a41([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x48d860,_0x48d860+0x2));_0x453f2f>=_0x489969[_0x595a41([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x453f2f-=_0x489969[_0x595a41([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x256c3b+=_0x489969[_0x453f2f];}return _0x256c3b;}function _0xd2b556(){const _0x1b16d7=_0x231852[_0x595a41([0x73,0x70,0x6c,0x69,0x74])](_0x595a41([0x2e]));if(0x3!=_0x1b16d7[_0x595a41([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5717fa(_0x1b16d7[0x1]);function _0x5717fa(_0x28d317){const _0x27014e=_0x2b2b27(_0x28d317);return _0x27014e&&_0xf62156()?_0x27014e:null;function _0xf62156(){const _0x32ffe0=_0x27014e[_0x595a41([0x6a,0x74,0x69])],_0x4a9ce8=window[_0x595a41([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x32ffe0[_0x595a41([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x32ffe0[_0x595a41([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x38a27d={..._0x27014e,[_0x595a41([0x6a,0x74,0x69])]:_0x32ffe0[_0x595a41([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x32ffe0[_0x595a41([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x38a27d[_0x595a41([0x76,0x63])],_0x2b53c5(_0x38a27d)==_0x4a9ce8;}}}async function _0x28e9fc(){let _0x53715d=!0x0;try{const _0x1cfa27=_0x231852[_0x595a41([0x73,0x70,0x6c,0x69,0x74])](_0x595a41([0x2e])),[_0x5787b4,_0x41768b,_0x4110b7]=_0x1cfa27;return _0x35c51b(_0x5787b4),await _0x43ea79(_0x5787b4,_0x41768b,_0x4110b7),_0x53715d;}catch{return!0x1;}function _0x35c51b(_0x1e9bcc){const _0x4dc062=_0x2b2b27(_0x1e9bcc);_0x4dc062&&_0x4dc062[_0x595a41([0x61,0x6c,0x67])]==_0x595a41([0x45,0x53,0x32,0x35,0x36])||(_0x53715d=!0x1);}async function _0x43ea79(_0x338b64,_0x52b94d,_0x3370b2){const _0x53ffb8=window[_0x595a41([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x595a41([0x66,0x72,0x6f,0x6d])](_0x35b56b(_0x3370b2),_0xbb4333=>_0xbb4333[_0x595a41([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3a0db5=new window[(_0x595a41([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x595a41([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x338b64+_0x595a41([0x2e])+_0x52b94d),_0x10945f=window[_0x595a41([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x595a41([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x10945f)return;const _0x19e1ed=await _0x10945f[_0x595a41([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x595a41([0x6a,0x77,0x6b]),_0x3a92e5,{[_0x595a41([0x6e,0x61,0x6d,0x65])]:_0x595a41([0x45,0x43,0x44,0x53,0x41]),[_0x595a41([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x595a41([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x595a41([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x10945f[_0x595a41([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x595a41([0x6e,0x61,0x6d,0x65])]:_0x595a41([0x45,0x43,0x44,0x53,0x41]),[_0x595a41([0x68,0x61,0x73,0x68])]:{[_0x595a41([0x6e,0x61,0x6d,0x65])]:_0x595a41([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x19e1ed,_0x53ffb8,_0x3a0db5)||(_0x53715d=!0x1);}}function _0x2b2b27(_0x382e98){return _0x382e98[_0x595a41([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x595a41([0x65,0x79]))?JSON[_0x595a41([0x70,0x61,0x72,0x73,0x65])](_0x35b56b(_0x382e98)):null;}function _0x35b56b(_0x35ff41){return window[_0x595a41([0x61,0x74,0x6f,0x62])](_0x35ff41[_0x595a41([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x595a41([0x2b]))[_0x595a41([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x595a41([0x2f])));}function _0x2b53c5(_0x2782ed){let _0x31ddd3=0x1505;function _0x593ff9(_0x57f445){for(let _0x337aee=0x0;_0x337aee<_0x57f445[_0x595a41([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x337aee++){const _0x110c1f=_0x57f445[_0x595a41([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x337aee);_0x31ddd3=(_0x31ddd3<<0x5)+_0x31ddd3+_0x110c1f,_0x31ddd3&=_0x31ddd3;}}function _0x1a0766(_0xb3d78d){Array[_0x595a41([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0xb3d78d)?_0xb3d78d[_0x595a41([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1a0766):_0xb3d78d&&typeof _0xb3d78d==_0x595a41([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x595a41([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0xb3d78d)[_0x595a41([0x73,0x6f,0x72,0x74])]()[_0x595a41([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x265e96,_0x2687f5])=>{_0x593ff9(_0x265e96),_0x1a0766(_0x2687f5);}):_0x593ff9(window[_0x595a41([0x53,0x74,0x72,0x69,0x6e,0x67])](_0xb3d78d));}return _0x1a0766(_0x2782ed),_0x31ddd3>>>0x0;}function _0x5bb3a3(_0x5a0f3e){return _0x5a0f3e[_0x595a41([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x595a41([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x595a41([0x30]));}function _0x17503c(_0x2d6292){return _0x2d6292[_0x595a41([0x73,0x70,0x6c,0x69,0x74])]('')[_0x595a41([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x595a41([0x6a,0x6f,0x69,0x6e])]('');}function _0x8e3839(){}function _0x595a41(_0x5e12de){const _0x564379=_0x245d;return _0x5e12de[_0x564379(0x1b8)](_0x83921f=>String[_0x564379(0x202)](_0x83921f))[_0x564379(0x208)]('');}_0x33f35e(await _0x20473e());}(this);}[_0x2fd9a2(0x1ec)](){const _0x6745a5=_0x2fd9a2,_0x9f0209=this[_0x6745a5(0x212)][_0x6745a5(0x1bc)];_0x9f0209[_0x6745a5(0x21a)](_0x45ac44=>{const _0x47e249=_0x6745a5,_0x481c20=_0x9f0209[_0x47e249(0x209)][_0x47e249(0x20e)][_0x47e249(0x1c3)]();let _0x1eee3d=0x0;for(const _0x5dc398 of _0x481c20){const _0x4cbab3=f+':'+_0x1eee3d;if(_0x9f0209[_0x47e249(0x1cb)][_0x47e249(0x1f9)](_0x4cbab3))_0x45ac44[_0x47e249(0x1f8)](_0x4cbab3,{'range':_0x5dc398});else{if(_0x5dc398[_0x47e249(0x1cc)][_0x47e249(0x1ad)]){const _0x578669=_0x5dc398[_0x47e249(0x1cc)][_0x47e249(0x1dc)](({item:_0x1cb2f5})=>!_0x9f0209[_0x47e249(0x200)][_0x47e249(0x1d6)](_0x1cb2f5),{'boundaries':_0x5dc398});_0x45ac44[_0x47e249(0x1ee)](_0x4cbab3,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x45ac44[_0x47e249(0x1fe)](_0x578669,_0x5dc398[_0x47e249(0x1cd)])});}else _0x45ac44[_0x47e249(0x1ee)](_0x4cbab3,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x5dc398});}_0x1eee3d++;}});}[_0x2fd9a2(0x1e7)](){const _0x359f69=_0x2fd9a2,_0x28ca0=this[_0x359f69(0x212)][_0x359f69(0x1bc)],_0x22495f=Array[_0x359f69(0x1d9)](this[_0x359f69(0x212)][_0x359f69(0x1bc)][_0x359f69(0x1cb)][_0x359f69(0x1ba)](f));_0x22495f[_0x359f69(0x203)]&&_0x28ca0[_0x359f69(0x21a)](_0x4a51ba=>{const _0x4f0e88=_0x359f69;_0x22495f[_0x4f0e88(0x1cf)](_0x3befc8=>{const _0x48f5d9=_0x4f0e88;_0x4a51ba[_0x48f5d9(0x1ea)](_0x3befc8);});});}[_0x2fd9a2(0x1da)](_0x1af8e8,_0x42f072){const _0x956aaa=_0x2fd9a2,_0x4121f6=this[_0x956aaa(0x205)](),_0xd86a54=_0x42f072||_0x4121f6[_0x956aaa(0x204)]();this[_0x956aaa(0x212)][_0x956aaa(0x1bc)][_0x956aaa(0x218)](_0xd86a54)&&this[_0x956aaa(0x212)][_0x956aaa(0x1bc)][_0x956aaa(0x21a)](_0x363492=>{const _0x49d445=_0x956aaa;this[_0x49d445(0x1e7)](),_0x42f072||this[_0x49d445(0x1b4)](_0x363492,_0x4121f6),this[_0x49d445(0x1ca)]({'insertAt':_0xd86a54,'writer':_0x363492,'html':_0x1af8e8});});}[_0x2fd9a2(0x1c1)](_0xbfb7d9){const _0x2e5ba9=_0x2fd9a2,{model:_0x106bde}=this[_0x2e5ba9(0x212)],_0x54456d=this[_0x2e5ba9(0x205)]();_0x106bde[_0x2e5ba9(0x21a)](()=>{const _0x4c1e60=_0x2e5ba9,_0x53df5d=this[_0x4c1e60(0x1bf)](_0xbfb7d9,_0x54456d)||this[_0x4c1e60(0x1ce)](_0x54456d);this[_0x4c1e60(0x1da)](_0xbfb7d9,_0x53df5d);});}[_0x2fd9a2(0x205)](){const _0x578bce=_0x2fd9a2,_0xde0d79=this[_0x578bce(0x212)][_0x578bce(0x1bc)],_0x1798db=Array[_0x578bce(0x1d9)](_0xde0d79[_0x578bce(0x1cb)][_0x578bce(0x1ba)](f))[_0x578bce(0x1b8)](_0x36814d=>_0x36814d[_0x578bce(0x20b)]());return _0xde0d79[_0x578bce(0x1f2)](_0x1798db);}[_0x2fd9a2(0x1ca)]({writer:_0x46f523,html:_0x387da2,insertAt:_0x22b8a3}){const _0x3f81c0=_0x2fd9a2,{view:_0x127d72}=this[_0x3f81c0(0x212)][_0x3f81c0(0x1e9)],_0x50aca0=this[_0x3f81c0(0x212)][_0x3f81c0(0x1ae)][_0x3f81c0(0x1c9)](_0x594634),_0x4f3e05=new w();_0x4f3e05[_0x3f81c0(0x1d1)](_0x3f81c0(0x1b5),_0x387da2);const _0x1d948e=new ClipboardEvent(_0x3f81c0(0x1d5),{'clipboardData':_0x4f3e05}),_0x3105fa=new _0x3302f9(_0x127d72,_0x1d948e,{'dataTransfer':new _0x3ec29a(_0x4f3e05)});_0x46f523[_0x3f81c0(0x20a)](_0x22b8a3);const _0x247bb2=(_0x223fdc,_0x4cbc76)=>{const _0x524b32=_0x3f81c0;_0x4cbc76[_0x524b32(0x1ab)]&&_0x46f523[_0x524b32(0x20a)](_0x4cbc76[_0x524b32(0x1ab)]);};_0x50aca0[_0x3f81c0(0x1e5)](_0x3f81c0(0x1f7),_0x247bb2,{'priority':_0x3f81c0(0x1fb)}),_0x127d72[_0x3f81c0(0x209)][_0x3f81c0(0x1eb)](_0x3f81c0(0x1d5),_0x3105fa),_0x50aca0[_0x3f81c0(0x1e3)](_0x3f81c0(0x1f7),_0x247bb2);}[_0x2fd9a2(0x1ce)](_0x506cef){const _0x2aa825=_0x2fd9a2,{model:_0x32cfa1}=this[_0x2aa825(0x212)],_0x227c8b=Array[_0x2aa825(0x1d9)](_0x506cef[_0x2aa825(0x1e0)]());return _0x227c8b[_0x2aa825(0x203)]?_0x32cfa1[_0x2aa825(0x1d8)](_0x227c8b[_0x2aa825(0x1b6)]()):_0x506cef[_0x2aa825(0x215)]();}[_0x2fd9a2(0x1bf)](_0x33ccef,_0x48b1fd){const _0x2572fe=_0x2fd9a2,{model:_0x14c309,plugins:_0x3b9e8f}=this[_0x2572fe(0x212)];if(_0x3b9e8f[_0x2572fe(0x1f9)](_0x2572fe(0x1f3))){const _0x2d8f58=_0x3b9e8f[_0x2572fe(0x1c9)](_0x2572fe(0x1f3))[_0x2572fe(0x1e1)](_0x48b1fd);if(_0x2d8f58[_0x2572fe(0x203)]){const _0x57dd26=this[_0x2572fe(0x210)](_0x33ccef),_0x5d8e9a=this[_0x2572fe(0x1e2)](_0x2d8f58,_0x57dd26);return _0x14c309[_0x2572fe(0x1e4)](_0x5d8e9a,0x0);}}return null;}[_0x2fd9a2(0x210)](_0x3b700a){const _0x569d18=_0x2fd9a2,_0x5cdace=this[_0x569d18(0x212)][_0x569d18(0x1ae)][_0x569d18(0x1c9)](_0x569d18(0x1f3)),_0x32d300=this[_0x569d18(0x212)][_0x569d18(0x1e8)][_0x569d18(0x1db)](_0x3b700a),_0x431e93=Array[_0x569d18(0x1d9)](_0x32d300[_0x569d18(0x211)]())[_0x569d18(0x20f)](_0x4ffa07=>_0x4ffa07['is'](_0x569d18(0x20c),_0x569d18(0x1df)));let _0x5453b7=0x0;return _0x431e93[_0x569d18(0x1cf)](_0x3728b8=>{const _0x3376be=_0x569d18;_0x5453b7+=_0x5cdace[_0x3376be(0x1c0)](_0x3728b8);}),_0x5453b7;}[_0x2fd9a2(0x1e2)](_0x7c347b,_0x415449){const _0x27501b=_0x2fd9a2,_0x45e399=this[_0x27501b(0x212)][_0x27501b(0x1ae)][_0x27501b(0x1c9)](_0x27501b(0x1f3)),_0x4f43e0=_0x45e399[_0x27501b(0x1b3)](_0x7c347b),_0x3e7650=_0x45e399[_0x27501b(0x213)](_0x7c347b),_0x4319ab=_0x4f43e0[_0x27501b(0x1bb)]+0x1,_0x1719d4=_0x3e7650[_0x27501b(0x1fa)],_0x43233b=_0x7c347b[0x0][_0x27501b(0x1dd)](_0x27501b(0x1df));for(let _0x313744=0x0;_0x313744<_0x415449;_0x313744++)_0x45e399[_0x27501b(0x206)](_0x43233b,{'at':_0x4319ab});return _0x43233b[_0x27501b(0x1c8)](_0x4319ab)[_0x27501b(0x1c8)](_0x1719d4);}[_0x2fd9a2(0x1b4)](_0x10d08b,_0x118a1b){const _0x306526=_0x2fd9a2,{plugins:_0x5ea36f}=this[_0x306526(0x212)],{model:_0x18e91b}=_0x10d08b;if(!_0x5ea36f[_0x306526(0x1f9)](_0x306526(0x1f3)))return;_0x5ea36f[_0x306526(0x1c9)](_0x306526(0x1f3))[_0x306526(0x1e1)](_0x118a1b)[_0x306526(0x203)]&&_0x18e91b[_0x306526(0x1f4)](_0x118a1b);}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3a3e69=_0x3f76;function _0x595f(){const _0x288e90=['previousActionId','match','render','data','abort','stopListening','2925cXQtTj','domConverter','5070BlYDCb','exec','substring','trim','1850052MyjkQM','handleError','```','tryAgainEvent','6hALyYa','_stripMarkdownSyntax','14UdmPWT','12jiUVlt','_sanitizationContainer','innerHTML','destroy','prompt','processor','markers','makeRequest','1091768zpPoCw','catch','329717gPhAzQ','once','createElement','ai.assistant.preserveComments','element','get','document','_xmlSerializer','htmlProcessor','body','238iCfLkA','remove','stopProcessing','stringify','listenTo','currentContext','name','_normalizeResponseHeadings','querySelector','ELEMENT_NODE','previousLabel','rename','_parseAndNormalizeContent','currentResponse','text/html','startsWith','config','6823619HQIqOH','4GmDNxq','set:currentContext','endsWith','previousContext','nodeType','199537ixszyb','custom','view','_handleQuery','toView','message','_domParser','mainAction','editor','from','childNodes','```html','parseFromString','initialContext','isRendered','<h1></h1>','isProcessing','editing','push','3aAoHpv','reverse','finishProcessing','startProcessing','viewToDom','_sanitizeHTML','submitPrompt','clear','div','finally','toModel','set','setContentOf','serializeToString','3128885EOEZSO','previousQuery','value','textAdapter','reset','_isH1TagSupportEnabled','then','updateView','length'];_0x595f=function(){return _0x288e90;};return _0x595f();}(function(_0x303df8,_0x1becc1){const _0x9ef047=_0x3f76,_0x31660d=_0x303df8();while(!![]){try{const _0x24c16a=parseInt(_0x9ef047(0x182))/0x1*(parseInt(_0x9ef047(0x136))/0x2)+-parseInt(_0x9ef047(0x14e))/0x3*(parseInt(_0x9ef047(0x171))/0x4)+-parseInt(_0x9ef047(0x15c))/0x5*(parseInt(_0x9ef047(0x175))/0x6)+parseInt(_0x9ef047(0x177))/0x7*(parseInt(_0x9ef047(0x180))/0x8)+parseInt(_0x9ef047(0x16b))/0x9*(parseInt(_0x9ef047(0x16d))/0xa)+parseInt(_0x9ef047(0x135))/0xb*(parseInt(_0x9ef047(0x178))/0xc)+parseInt(_0x9ef047(0x13b))/0xd*(-parseInt(_0x9ef047(0x18c))/0xe);if(_0x24c16a===_0x1becc1)break;else _0x31660d['push'](_0x31660d['shift']());}catch(_0x4459c5){_0x31660d['push'](_0x31660d['shift']());}}}(_0x595f,0x59e81));import{ObservableMixin as _0x135f0d}from'ckeditor5/src/utils.js';import{AIRequestError as _0x2325bd}from'../adapters/aiadapter.js';function _0x3f76(_0x3d11c7,_0xfc5e04){const _0x595f67=_0x595f();return _0x3f76=function(_0x3f765b,_0x4c6088){_0x3f765b=_0x3f765b-0x12b;let _0x1516fd=_0x595f67[_0x3f765b];return _0x1516fd;},_0x3f76(_0x3d11c7,_0xfc5e04);}import{Matcher as _0x460a60,ViewUpcastWriter as _0x21e43f}from'ckeditor5/src/engine.js';const hs=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');export class AIAssistantController extends/* #__PURE__ -- @preserve */
24
- _0x135f0d(){[_0x3a3e69(0x143)];[_0x3a3e69(0x15f)];[_0x3a3e69(0x13d)];[_0x3a3e69(0x179)];[_0x3a3e69(0x141)];[_0x3a3e69(0x189)];constructor(_0x437069,_0x552f8d,_0x28e891){const _0xd9722=_0x3a3e69;super(),this[_0xd9722(0x143)]=_0x437069,this[_0xd9722(0x15f)]=_0x552f8d,this[_0xd9722(0x179)]=document[_0xd9722(0x184)](_0xd9722(0x156)),this[_0xd9722(0x141)]=new DOMParser(),this[_0xd9722(0x189)]=new XMLSerializer(),this[_0xd9722(0x13d)]=_0x28e891,this[_0xd9722(0x159)]({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on'](_0xd9722(0x137),(_0x4def06,_0x3ef830,_0x76f442)=>{const _0x1a5a3a=_0xd9722;this[_0x1a5a3a(0x13d)][_0x1a5a3a(0x15e)]=this[_0x1a5a3a(0x153)](_0x76f442);}),this[_0xd9722(0x190)](this[_0xd9722(0x13d)],_0xd9722(0x154),(_0x521da2,_0x5621c0)=>{const _0x5a9247=_0xd9722,_0x2fb601=this[_0x5a9247(0x191)]||this[_0x5a9247(0x148)];this[_0x5a9247(0x13e)](_0x5621c0,_0x2fb601,_0x5a9247(0x13c));}),this[_0xd9722(0x190)](this[_0xd9722(0x13d)],_0xd9722(0x174),()=>{const _0xd6bf06=_0xd9722;this[_0xd6bf06(0x13d)][_0xd6bf06(0x17c)]=this[_0xd6bf06(0x12e)],this[_0xd6bf06(0x13e)](this[_0xd6bf06(0x15d)],this[_0xd6bf06(0x139)],this[_0xd6bf06(0x165)],this[_0xd6bf06(0x12e)]);}),this[_0xd9722(0x190)](this[_0xd9722(0x13d)],_0xd9722(0x18e),()=>{const _0x49806d=_0xd9722;this[_0x49806d(0x18e)]();});}[_0x3a3e69(0x17b)](){const _0x1a84c7=_0x3a3e69;this[_0x1a84c7(0x16a)]();}async[_0x3a3e69(0x163)]({actionId:_0xc32b01,query:_0x2be4b1,htmlContent:_0x4320bf,label:_0x4d4fdd,mainActionLabel:_0x4f500c}){const _0x2a2142=_0x3a3e69;this[_0x2a2142(0x13d)][_0x2a2142(0x17c)]=_0x4d4fdd,this[_0x2a2142(0x13d)][_0x2a2142(0x142)]=_0x4f500c,this[_0x2a2142(0x148)]=_0x4320bf,_0x2be4b1&&(this[_0x2a2142(0x13d)][_0x2a2142(0x149)]?this[_0x2a2142(0x13e)](_0x2be4b1,_0x4320bf,_0xc32b01,_0x4d4fdd):this[_0x2a2142(0x13d)][_0x2a2142(0x183)](_0x2a2142(0x167),()=>{const _0x584662=_0x2a2142;this[_0x584662(0x13e)](_0x2be4b1,_0x4320bf,_0xc32b01,_0x4d4fdd);}));}[_0x3a3e69(0x18e)](){const _0x35c981=_0x3a3e69;this[_0x35c981(0x14b)]&&(this[_0x35c981(0x14b)]=!0x1,this[_0x35c981(0x13d)][_0x35c981(0x150)](),this[_0x35c981(0x15f)][_0x35c981(0x169)]());}[_0x3a3e69(0x160)](){const _0x1dd385=_0x3a3e69;this[_0x1dd385(0x148)]='',this[_0x1dd385(0x191)]='',this[_0x1dd385(0x131)]='',this[_0x1dd385(0x139)]='',this[_0x1dd385(0x15d)]='',this[_0x1dd385(0x12e)]='',this[_0x1dd385(0x165)]=void 0x0,this[_0x1dd385(0x13d)][_0x1dd385(0x160)](),this[_0x1dd385(0x18e)]();}async[_0x3a3e69(0x13e)](_0x474e9e,_0x3910cd,_0x4d604b,_0x28840b){const _0x4b96ec=_0x3a3e69;return this[_0x4b96ec(0x14b)]=!0x0,this[_0x4b96ec(0x13d)][_0x4b96ec(0x151)](),this[_0x4b96ec(0x139)]=_0x3910cd,this[_0x4b96ec(0x15d)]=_0x474e9e,this[_0x4b96ec(0x12e)]=_0x28840b||_0x474e9e,this[_0x4b96ec(0x165)]=_0x4d604b,new Promise(_0x346ea6=>{const _0x579f91=_0x4b96ec;this[_0x579f91(0x15f)][_0x579f91(0x17f)]({'query':_0x474e9e,'context':_0x3910cd,'onData':_0x29f3c3=>{const _0x34977c=_0x579f91;this[_0x34977c(0x131)]=_0x29f3c3,this[_0x34977c(0x191)]=this[_0x34977c(0x130)](this[_0x34977c(0x131)]);},'actionId':_0x4d604b})[_0x579f91(0x162)](()=>{const _0x264bd1=_0x579f91;!this[_0x264bd1(0x191)]&&this[_0x264bd1(0x131)]&&(this[_0x264bd1(0x191)]=this[_0x264bd1(0x130)](this[_0x264bd1(0x131)],!0x0));})[_0x579f91(0x181)](_0xe875b8=>{const _0x3bb9e9=_0x579f91;_0xe875b8 instanceof _0x2325bd?this[_0x3bb9e9(0x13d)][_0x3bb9e9(0x172)](_0xe875b8[_0x3bb9e9(0x140)]):this[_0x3bb9e9(0x13d)][_0x3bb9e9(0x172)](),_0x346ea6();})[_0x579f91(0x157)](()=>{const _0x3e029f=_0x579f91;this[_0x3e029f(0x18e)](),_0x346ea6();});});}[_0x3a3e69(0x130)](_0x228938,_0x584a0f=!0x1){const _0x16a33d=_0x3a3e69,_0x4fa938=hs[_0x16a33d(0x16e)](_0x228938);_0x228938=_0x4fa938?_0x228938[_0x16a33d(0x16f)](_0x4fa938[0x1][_0x16a33d(0x164)]):_0x228938[_0x16a33d(0x164)]<0x64&&!_0x584a0f?'':this[_0x16a33d(0x176)](_0x228938);const _0x5bc486=this[_0x16a33d(0x141)][_0x16a33d(0x147)](_0x228938,_0x16a33d(0x132));if(_0x4fa938){const _0x3ba721=Array[_0x16a33d(0x144)](_0x5bc486[_0x16a33d(0x18b)][_0x16a33d(0x145)]);_0x3ba721[_0x16a33d(0x14f)]();for(const _0x5b7656 of _0x3ba721){if(_0x5b7656[_0x16a33d(0x13a)]==Node[_0x16a33d(0x12d)])break;_0x5b7656[_0x16a33d(0x18d)]();}}const _0x2efe5e=this[_0x16a33d(0x143)][_0x16a33d(0x168)][_0x16a33d(0x17d)][_0x16a33d(0x13f)](this[_0x16a33d(0x189)][_0x16a33d(0x15b)](_0x5bc486[_0x16a33d(0x18b)]));this[_0x16a33d(0x161)]()||this[_0x16a33d(0x12b)](_0x2efe5e);const _0xd87473=this[_0x16a33d(0x143)][_0x16a33d(0x134)][_0x16a33d(0x187)](_0x16a33d(0x185)),_0x57e5de=this[_0x16a33d(0x143)][_0x16a33d(0x168)][_0x16a33d(0x158)](_0x2efe5e);return _0xd87473||_0x57e5de[_0x16a33d(0x17e)][_0x16a33d(0x155)](),this[_0x16a33d(0x143)][_0x16a33d(0x168)][_0x16a33d(0x18f)](_0x57e5de);}[_0x3a3e69(0x12b)](_0x318dc3){const _0x32607c=_0x3a3e69,_0x516928=new _0x21e43f(this[_0x32607c(0x143)][_0x32607c(0x14c)][_0x32607c(0x13d)][_0x32607c(0x188)]),_0x391d25=new _0x460a60({'name':/^h[1-5]$/}),_0x4dbae=[];let _0x381328=!0x1;for(const _0x1a7398 of _0x318dc3)_0x1a7398['is'](_0x32607c(0x186))&&_0x391d25[_0x32607c(0x166)](_0x1a7398)&&(_0x4dbae[_0x32607c(0x14d)](_0x1a7398),'h1'==_0x1a7398[_0x32607c(0x192)]&&(_0x381328=!0x0));if(_0x381328){for(const _0x4bdea3 of _0x4dbae)_0x516928[_0x32607c(0x12f)]('h'+(parseInt(_0x4bdea3[_0x32607c(0x192)][0x1])+0x1),_0x4bdea3);}}[_0x3a3e69(0x161)](){const _0x289f66=_0x3a3e69,{data:_0x2148f6,editing:_0xe1e8ba}=this[_0x289f66(0x143)],_0x2ebc31=_0x2148f6[_0x289f66(0x18a)][_0x289f66(0x13f)](_0x289f66(0x14a)),_0x3418b1=_0x2148f6[_0x289f66(0x13f)](_0x2148f6[_0x289f66(0x158)](_0x2ebc31));return!!_0xe1e8ba[_0x289f66(0x13d)][_0x289f66(0x16c)][_0x289f66(0x152)](_0x3418b1)[_0x289f66(0x12c)]('h1');}[_0x3a3e69(0x153)](_0x740ac5){const _0x1b5ce7=_0x3a3e69;return this[_0x1b5ce7(0x143)][_0x1b5ce7(0x14c)][_0x1b5ce7(0x13d)][_0x1b5ce7(0x16c)][_0x1b5ce7(0x15a)](this[_0x1b5ce7(0x179)],_0x740ac5),this[_0x1b5ce7(0x179)][_0x1b5ce7(0x17a)];}[_0x3a3e69(0x176)](_0x37a4eb){const _0x3d5a82=_0x3a3e69,_0x531eef=_0x37a4eb[_0x3d5a82(0x170)]();return _0x531eef[_0x3d5a82(0x133)](_0x3d5a82(0x146))?_0x531eef[_0x3d5a82(0x138)](_0x3d5a82(0x173))?_0x531eef[_0x3d5a82(0x16f)](0x7,_0x531eef[_0x3d5a82(0x164)]-0x3):_0x531eef[_0x3d5a82(0x16f)](0x7):_0x37a4eb;}}
23
+ const _0x19946a=_0x23a8;(function(_0x2d2f7e,_0x592c87){const _0x323ea4=_0x23a8,_0x5afde1=_0x2d2f7e();while(!![]){try{const _0x1f84c6=-parseInt(_0x323ea4(0x124))/0x1+parseInt(_0x323ea4(0x123))/0x2+-parseInt(_0x323ea4(0x142))/0x3*(-parseInt(_0x323ea4(0x146))/0x4)+parseInt(_0x323ea4(0x129))/0x5+-parseInt(_0x323ea4(0x144))/0x6+-parseInt(_0x323ea4(0x112))/0x7*(parseInt(_0x323ea4(0x134))/0x8)+parseInt(_0x323ea4(0x133))/0x9;if(_0x1f84c6===_0x592c87)break;else _0x5afde1['push'](_0x5afde1['shift']());}catch(_0x32cd59){_0x5afde1['push'](_0x5afde1['shift']());}}}(_0x7645,0x467fd));import{ObservableMixin as _0x2f552b}from'ckeditor5/src/utils.js';import{AIRequestError as _0x1304f6}from'../adapters/aiadapter.js';import{Matcher as _0x5d4b2f,ViewUpcastWriter as _0x1850d6}from'ckeditor5/src/engine.js';function _0x23a8(_0x37e4ec,_0x452040){const _0x7645f5=_0x7645();return _0x23a8=function(_0x23a869,_0x3815b6){_0x23a869=_0x23a869-0xf7;let _0x15d373=_0x7645f5[_0x23a869];return _0x15d373;},_0x23a8(_0x37e4ec,_0x452040);}const hs=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');export class AIAssistantController extends/* #__PURE__ -- @preserve */
24
+ _0x2f552b(){[_0x19946a(0x130)];[_0x19946a(0xfe)];[_0x19946a(0x116)];[_0x19946a(0x10d)];[_0x19946a(0x105)];[_0x19946a(0x14f)];constructor(_0x2c2f49,_0x1ef4b7,_0x44d362){const _0xce46dc=_0x19946a;super(),this[_0xce46dc(0x130)]=_0x2c2f49,this[_0xce46dc(0xfe)]=_0x1ef4b7,this[_0xce46dc(0x10d)]=document[_0xce46dc(0x119)](_0xce46dc(0xf7)),this[_0xce46dc(0x105)]=new DOMParser(),this[_0xce46dc(0x14f)]=new XMLSerializer(),this[_0xce46dc(0x116)]=_0x44d362,this[_0xce46dc(0xfa)]({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on'](_0xce46dc(0x120),(_0x44d3d6,_0x381934,_0x2fdbbf)=>{const _0x37748d=_0xce46dc;this[_0x37748d(0x116)][_0x37748d(0x11c)]=this[_0x37748d(0xf8)](_0x2fdbbf);}),this[_0xce46dc(0x10f)](this[_0xce46dc(0x116)],_0xce46dc(0x157),(_0x464286,_0x11032e)=>{const _0x5f23e3=_0xce46dc,_0x11dec7=this[_0x5f23e3(0x152)]||this[_0x5f23e3(0x111)];this[_0x5f23e3(0x122)](_0x11032e,_0x11dec7,_0x5f23e3(0x140));}),this[_0xce46dc(0x10f)](this[_0xce46dc(0x116)],_0xce46dc(0xfd),()=>{const _0x1c80bd=_0xce46dc;this[_0x1c80bd(0x116)][_0x1c80bd(0x102)]=this[_0x1c80bd(0x115)],this[_0x1c80bd(0x122)](this[_0x1c80bd(0x132)],this[_0x1c80bd(0x14e)],this[_0x1c80bd(0x10e)],this[_0x1c80bd(0x115)]);}),this[_0xce46dc(0x10f)](this[_0xce46dc(0x116)],_0xce46dc(0x110),()=>{const _0x18c015=_0xce46dc;this[_0x18c015(0x110)]();});}[_0x19946a(0x11e)](){const _0x5c26a0=_0x19946a;this[_0x5c26a0(0x12a)]();}async[_0x19946a(0x151)]({actionId:_0x4068d7,query:_0x29a2f9,htmlContent:_0x77e41,label:_0x666343,mainActionLabel:_0xdbc9f}){const _0x4f22c5=_0x19946a;this[_0x4f22c5(0x116)][_0x4f22c5(0x102)]=_0x666343,this[_0x4f22c5(0x116)][_0x4f22c5(0x147)]=_0xdbc9f,this[_0x4f22c5(0x111)]=_0x77e41,_0x29a2f9&&(this[_0x4f22c5(0x116)][_0x4f22c5(0x12e)]?this[_0x4f22c5(0x122)](_0x29a2f9,_0x77e41,_0x4068d7,_0x666343):this[_0x4f22c5(0x116)][_0x4f22c5(0x13c)](_0x4f22c5(0x118),()=>{const _0x46815b=_0x4f22c5;this[_0x46815b(0x122)](_0x29a2f9,_0x77e41,_0x4068d7,_0x666343);}));}[_0x19946a(0x110)](){const _0x581afe=_0x19946a;this[_0x581afe(0x149)]&&(this[_0x581afe(0x149)]=!0x1,this[_0x581afe(0x116)][_0x581afe(0x159)](),this[_0x581afe(0xfe)][_0x581afe(0x156)]());}[_0x19946a(0x10a)](){const _0x57fccf=_0x19946a;this[_0x57fccf(0x111)]='',this[_0x57fccf(0x152)]='',this[_0x57fccf(0x158)]='',this[_0x57fccf(0x14e)]='',this[_0x57fccf(0x132)]='',this[_0x57fccf(0x115)]='',this[_0x57fccf(0x10e)]=void 0x0,this[_0x57fccf(0x116)][_0x57fccf(0x10a)](),this[_0x57fccf(0x110)]();}async[_0x19946a(0x122)](_0x202e89,_0x45a1f4,_0x12cd01,_0x176f54){const _0x22b1fd=_0x19946a;return this[_0x22b1fd(0x149)]=!0x0,this[_0x22b1fd(0x116)][_0x22b1fd(0x14d)](),this[_0x22b1fd(0x14e)]=_0x45a1f4,this[_0x22b1fd(0x132)]=_0x202e89,this[_0x22b1fd(0x115)]=_0x176f54||_0x202e89,this[_0x22b1fd(0x10e)]=_0x12cd01,new Promise(_0x59dba5=>{const _0x3e12fe=_0x22b1fd;this[_0x3e12fe(0xfe)][_0x3e12fe(0x101)]({'query':_0x202e89,'context':_0x45a1f4,'onData':_0x3943df=>{const _0x1015c1=_0x3e12fe;this[_0x1015c1(0x158)]=_0x3943df,this[_0x1015c1(0x152)]=this[_0x1015c1(0x14c)](this[_0x1015c1(0x158)]);},'actionId':_0x12cd01})[_0x3e12fe(0xfb)](()=>{const _0x5c4ce0=_0x3e12fe;!this[_0x5c4ce0(0x152)]&&this[_0x5c4ce0(0x158)]&&(this[_0x5c4ce0(0x152)]=this[_0x5c4ce0(0x14c)](this[_0x5c4ce0(0x158)],!0x0));})[_0x3e12fe(0x13d)](_0x1bd2f4=>{const _0x1dd26f=_0x3e12fe;_0x1bd2f4 instanceof _0x1304f6?this[_0x1dd26f(0x116)][_0x1dd26f(0x138)](_0x1bd2f4[_0x1dd26f(0x14b)]):this[_0x1dd26f(0x116)][_0x1dd26f(0x138)](),_0x59dba5();})[_0x3e12fe(0x139)](()=>{const _0x22b3f1=_0x3e12fe;this[_0x22b3f1(0x110)](),_0x59dba5();});});}[_0x19946a(0x14c)](_0x47ed19,_0xa0d759=!0x1){const _0x5efbb3=_0x19946a,_0x38907d=hs[_0x5efbb3(0x13b)](_0x47ed19);_0x47ed19=_0x38907d?_0x47ed19[_0x5efbb3(0x12d)](_0x38907d[0x1][_0x5efbb3(0x126)]):_0x47ed19[_0x5efbb3(0x126)]<0x64&&!_0xa0d759?'':this[_0x5efbb3(0x11b)](_0x47ed19);const _0x551a0e=this[_0x5efbb3(0x105)][_0x5efbb3(0x13f)](_0x47ed19,_0x5efbb3(0x143));if(_0x38907d){const _0x30c78f=Array[_0x5efbb3(0x117)](_0x551a0e[_0x5efbb3(0x128)][_0x5efbb3(0x10b)]);_0x30c78f[_0x5efbb3(0x13a)]();for(const _0x8d8ca7 of _0x30c78f){if(_0x8d8ca7[_0x5efbb3(0x114)]==Node[_0x5efbb3(0x107)])break;_0x8d8ca7[_0x5efbb3(0x141)]();}}const _0x6c7029=this[_0x5efbb3(0x130)][_0x5efbb3(0x10c)][_0x5efbb3(0x11f)][_0x5efbb3(0x127)](this[_0x5efbb3(0x14f)][_0x5efbb3(0x104)](_0x551a0e[_0x5efbb3(0x128)]));this[_0x5efbb3(0x131)]()||this[_0x5efbb3(0x12f)](_0x6c7029);const _0x40359b=this[_0x5efbb3(0x130)][_0x5efbb3(0x153)][_0x5efbb3(0xf9)](_0x5efbb3(0x12c)),_0x5b5415=this[_0x5efbb3(0x130)][_0x5efbb3(0x10c)][_0x5efbb3(0x11a)](_0x6c7029);return _0x40359b||_0x5b5415[_0x5efbb3(0x150)][_0x5efbb3(0xff)](),this[_0x5efbb3(0x130)][_0x5efbb3(0x10c)][_0x5efbb3(0x13e)](_0x5b5415);}[_0x19946a(0x12f)](_0x31c6f1){const _0x3c7fa2=_0x19946a,_0x8b277a=new _0x1850d6(this[_0x3c7fa2(0x130)][_0x3c7fa2(0x109)][_0x3c7fa2(0x116)][_0x3c7fa2(0x14a)]),_0x30dbd9=new _0x5d4b2f({'name':/^h[1-5]$/}),_0x55ae12=[];let _0x349f9f=!0x1;for(const _0x998a2e of _0x31c6f1)_0x998a2e['is'](_0x3c7fa2(0xfc))&&_0x30dbd9[_0x3c7fa2(0x154)](_0x998a2e)&&(_0x55ae12[_0x3c7fa2(0x135)](_0x998a2e),'h1'==_0x998a2e[_0x3c7fa2(0x108)]&&(_0x349f9f=!0x0));if(_0x349f9f){for(const _0x39bcaf of _0x55ae12)_0x8b277a[_0x3c7fa2(0x103)]('h'+(parseInt(_0x39bcaf[_0x3c7fa2(0x108)][0x1])+0x1),_0x39bcaf);}}[_0x19946a(0x131)](){const _0x41116b=_0x19946a,{data:_0x482b23,editing:_0x2eee47}=this[_0x41116b(0x130)],_0x2d98b5=_0x482b23[_0x41116b(0x11d)][_0x41116b(0x127)](_0x41116b(0x100)),_0x3b7627=_0x482b23[_0x41116b(0x127)](_0x482b23[_0x41116b(0x11a)](_0x2d98b5));return!!_0x2eee47[_0x41116b(0x116)][_0x41116b(0x12b)][_0x41116b(0x113)](_0x3b7627)[_0x41116b(0x106)]('h1');}[_0x19946a(0xf8)](_0x414c12){const _0x55565f=_0x19946a;return this[_0x55565f(0x130)][_0x55565f(0x109)][_0x55565f(0x116)][_0x55565f(0x12b)][_0x55565f(0x155)](this[_0x55565f(0x10d)],_0x414c12),this[_0x55565f(0x10d)][_0x55565f(0x125)];}[_0x19946a(0x11b)](_0x39650a){const _0x4add7c=_0x19946a,_0x48029d=_0x39650a[_0x4add7c(0x121)]();return _0x48029d[_0x4add7c(0x148)](_0x4add7c(0x145))?_0x48029d[_0x4add7c(0x136)](_0x4add7c(0x137))?_0x48029d[_0x4add7c(0x12d)](0x7,_0x48029d[_0x4add7c(0x126)]-0x3):_0x48029d[_0x4add7c(0x12d)](0x7):_0x39650a;}}function _0x7645(){const _0x258d67=['previousLabel','view','from','render','createElement','toModel','_stripMarkdownSyntax','value','htmlProcessor','destroy','processor','set:currentContext','trim','_handleQuery','381356YPnBHt','360676EUoctl','innerHTML','length','toView','body','1144965JPKbGq','stopListening','domConverter','ai.assistant.preserveComments','substring','isRendered','_normalizeResponseHeadings','editor','_isH1TagSupportEnabled','previousQuery','5419962GdgKfv','7272eAKUuE','push','endsWith','```','handleError','finally','reverse','exec','once','catch','stringify','parseFromString','custom','remove','3WYcKey','text/html','896172hiMBwr','```html','892932MRlyeU','mainAction','startsWith','isProcessing','document','message','_parseAndNormalizeContent','startProcessing','previousContext','_xmlSerializer','markers','updateView','currentContext','config','match','setContentOf','abort','submitPrompt','currentResponse','finishProcessing','div','_sanitizeHTML','get','set','then','element','tryAgainEvent','textAdapter','clear','<h1></h1>','makeRequest','prompt','rename','serializeToString','_domParser','querySelector','ELEMENT_NODE','name','editing','reset','childNodes','data','_sanitizationContainer','previousActionId','listenTo','stopProcessing','initialContext','3437LUqbVL','viewToDom','nodeType'];_0x7645=function(){return _0x258d67;};return _0x7645();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x53664d=_0x23c7;(function(_0x352316,_0xdf2f15){const _0x4bb4c4=_0x23c7,_0x34415e=_0x352316();while(!![]){try{const _0x3e47ae=-parseInt(_0x4bb4c4(0xbe))/0x1*(parseInt(_0x4bb4c4(0x8d))/0x2)+parseInt(_0x4bb4c4(0xc3))/0x3+-parseInt(_0x4bb4c4(0xb6))/0x4*(parseInt(_0x4bb4c4(0x92))/0x5)+-parseInt(_0x4bb4c4(0xc2))/0x6*(-parseInt(_0x4bb4c4(0xa2))/0x7)+-parseInt(_0x4bb4c4(0x7f))/0x8+-parseInt(_0x4bb4c4(0x84))/0x9+parseInt(_0x4bb4c4(0xb3))/0xa;if(_0x3e47ae===_0xdf2f15)break;else _0x34415e['push'](_0x34415e['shift']());}catch(_0x10e016){_0x34415e['push'](_0x34415e['shift']());}}}(_0x32cc,0x9aa41));import{global as _0x53eebf}from'ckeditor5/src/utils.js';import{View as _0x26544a,ButtonView as _0x467f5c,SpinnerView as _0x205d3b}from'ckeditor5/src/ui.js';import{IconCheck as _0xa319c5,IconCopy as _0x8eeb0c}from'ckeditor5/src/icons.js';function _0x23c7(_0x38bcb8,_0x29a84d){const _0x32cc42=_0x32cc();return _0x23c7=function(_0x23c7de,_0xbe67ea){_0x23c7de=_0x23c7de-0x7b;let _0x4eb1c2=_0x32cc42[_0x23c7de];return _0x4eb1c2;},_0x23c7(_0x38bcb8,_0x29a84d);}import{getTranslation as _0x1b10af}from'../../utils/common-translations.js';export class AIFormContentArea extends _0x26544a{[_0x53664d(0x9c)];[_0x53664d(0x98)];constructor(_0x15ee25,_0x2088fe=''){const _0x345182=_0x53664d;super(_0x15ee25),this[_0x345182(0xa7)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x13b31e=this[_0x345182(0x91)];this[_0x345182(0x9c)]=new ContentFieldView(_0x15ee25,_0x2088fe),this[_0x345182(0x98)]=this[_0x345182(0x99)](),this[_0x345182(0x89)]({'tag':_0x345182(0xbd),'attributes':{'class':['ck',_0x345182(0x85),_0x13b31e['if'](_0x345182(0xc1),_0x345182(0x81),_0x11d825=>!_0x11d825)],'tabindex':'-1'},'children':[{'tag':_0x345182(0xbd),'attributes':{'class':['ck',_0x345182(0xa3),_0x13b31e['if'](_0x345182(0xbb),_0x345182(0xab))]},'children':[this[_0x345182(0x9c)],{'tag':_0x345182(0xbd),'attributes':{'class':['ck',_0x345182(0xb8)]},'children':[this[_0x345182(0x98)]]}]}]});}[_0x53664d(0x94)](){const _0x5c177d=_0x53664d;super[_0x5c177d(0x94)](),this[_0x5c177d(0xb9)]&&this[_0x5c177d(0x9c)][_0x5c177d(0xb0)](this[_0x5c177d(0xb9)]);let _0x171ec0=!0x1;this['on'](_0x5c177d(0xc8),(_0xf98ce7,_0x2534d3,_0x3c1fae)=>{const _0xeefe0=_0x5c177d,_0x1e5da3=!this[_0xeefe0(0x9c)][_0xeefe0(0xa1)][_0xeefe0(0x96)](_0xeefe0(0xbf));this[_0xeefe0(0x9c)][_0xeefe0(0xb0)](_0x3c1fae),this[_0xeefe0(0xbb)]&&_0x1e5da3&&!_0x171ec0&&this[_0xeefe0(0xa1)][_0xeefe0(0xb1)]({'top':this[_0xeefe0(0xa1)][_0xeefe0(0x88)],'behavior':_0xeefe0(0xa8)});}),this['on'](_0x5c177d(0xaa),(_0x50dec3,_0x4c297b,_0x18bed4)=>{const _0x33bb1e=_0x5c177d;_0x171ec0=!0x1,_0x18bed4?(this[_0x33bb1e(0xb9)]=null,this[_0x33bb1e(0x9c)][_0x33bb1e(0xa0)]()):this[_0x33bb1e(0xb9)]||this[_0x33bb1e(0x9c)][_0x33bb1e(0xb0)]('');}),this[_0x5c177d(0xb7)](this[_0x5c177d(0xa1)],_0x5c177d(0xc5),()=>{_0x171ec0=!0x0;}),this[_0x5c177d(0xb7)](this[_0x5c177d(0xa1)],_0x5c177d(0xb2),()=>{_0x171ec0=!0x0;});}[_0x53664d(0xc9)](){const _0x1f4691=_0x53664d;this[_0x1f4691(0xa1)][_0x1f4691(0xc9)]();}[_0x53664d(0x99)](){const _0x26db1=_0x53664d,_0x18caa3=this[_0x26db1(0xcc)],_0x14ff77=new _0x467f5c(this[_0x26db1(0xcc)]),_0x37fe72=_0x26db1(0x8a);return _0x14ff77[_0x26db1(0xa7)]({'label':_0x1b10af(_0x18caa3,_0x26db1(0x7b)),'icon':_0x8eeb0c,'class':_0x37fe72,'tooltip':!0x0}),_0x14ff77[_0x26db1(0x8f)](_0x26db1(0xc1))['to'](this,_0x26db1(0xb9),_0x20d9ee=>!!_0x20d9ee),_0x14ff77[_0x26db1(0x8f)](_0x26db1(0x9a))['to'](this,_0x26db1(0xbb),_0x194f36=>!_0x194f36),_0x14ff77['on'](_0x26db1(0xce),()=>{const _0x4efe6c=_0x26db1;this[_0x4efe6c(0xc4)](this[_0x4efe6c(0x9c)][_0x4efe6c(0xa1)]),_0x14ff77[_0x4efe6c(0x90)]=_0xa319c5,_0x14ff77[_0x4efe6c(0xb4)]=_0x37fe72+_0x4efe6c(0x80),this[_0x4efe6c(0xc9)](),setTimeout(()=>{const _0x35bc3a=_0x4efe6c;_0x14ff77[_0x35bc3a(0x90)]=_0x8eeb0c,_0x14ff77[_0x35bc3a(0xb4)]=_0x37fe72;},0x3e8);}),_0x14ff77;}[_0x53664d(0xc4)](_0x7e999b){const _0x166a8f=_0x53664d,{window:_0x1f5924,document:_0x2e27ed}=_0x53eebf;if(_0x1f5924[_0x166a8f(0xcf)]){const {Blob:_0x5886dc,ClipboardItem:_0x2fa0b3}=_0x1f5924,_0x3d5fa0=[new _0x2fa0b3({'text/html':new _0x5886dc([_0x7e999b[_0x166a8f(0x87)]],{'type':_0x166a8f(0xba)}),'text/plain':new _0x5886dc([_0x7e999b[_0x166a8f(0xca)]||''],{'type':_0x166a8f(0xbc)})})];navigator[_0x166a8f(0x7e)][_0x166a8f(0x9b)](_0x3d5fa0);}else{const _0x1382dc=_0x2e27ed[_0x166a8f(0x8b)](_0x166a8f(0xbd));_0x1382dc[_0x166a8f(0x97)][_0x166a8f(0x82)]=_0x166a8f(0x7c),_0x1382dc[_0x166a8f(0x97)][_0x166a8f(0xaf)]=_0x166a8f(0xa9),_0x1382dc[_0x166a8f(0x87)]=_0x166a8f(0x7d)+_0x7e999b[_0x166a8f(0x87)]+_0x166a8f(0x9f),_0x2e27ed[_0x166a8f(0xc6)][_0x166a8f(0xae)](_0x1382dc);const _0x150dd9=_0x2e27ed[_0x166a8f(0xb5)]();_0x150dd9[_0x166a8f(0xc7)](_0x1382dc[_0x166a8f(0xac)]),_0x150dd9[_0x166a8f(0xa6)](_0x1382dc[_0x166a8f(0xc0)]);const _0x1b40b4=_0x1f5924[_0x166a8f(0x83)]();_0x1b40b4[_0x166a8f(0x8e)](),_0x1b40b4[_0x166a8f(0x9d)](_0x150dd9),_0x2e27ed[_0x166a8f(0x93)](_0x166a8f(0xa5)),_0x1382dc[_0x166a8f(0x86)]();}}}function _0x32cc(){const _0x15e9dc=['getSelection','4041117wVMala','ck-ai-form__content-area-wrapper','remove','innerHTML','scrollHeight','setTemplate','ck-ai-form__copy-button','createElement','_createLoader','1770jcBhzC','removeAllRanges','bind','icon','bindTemplate','5TsBEum','execCommand','render','ck-content','querySelector','style','copyButtonView','_createCopyButton','isEnabled','write','contentFieldView','addRange','ck-reset_all-excluded','<span>]</span>','appendLoader','element','406TXNVfq','ck-ai-form__content-area','loaderView','copy','setEndBefore','set','smooth','-9999px','change:isProcessing','ck-ai-form__content-area--processing','firstElementChild','AI\x20is\x20writing...','appendChild','left','setContent','scrollTo','mousedown','15825310sYndlo','class','createRange','2335236INRsOq','listenTo','ck-ai-form__copy-button-wrapper','value','text/html','isProcessing','text/plain','div','733zvHsKb','.ck-ai-form__loader','lastElementChild','isVisible','19014XZpIdJ','2535204ZqZwZk','_copyHTMLToClipboard','wheel','body','setStartAfter','change:value','focus','textContent','ck-ai-form__loader','locale','ck-ai-form__content-field','execute','ClipboardItem','Copy','absolute','<span>[</span>','clipboard','2371720Hmynfx','\x20ck-ai-form__copy-button--copied','ck-hidden','position'];_0x32cc=function(){return _0x15e9dc;};return _0x32cc();}export class ContentFieldView extends _0x26544a{constructor(_0x4d1970,_0x4cf25d=''){const _0x2e7f1f=_0x53664d;super(_0x4d1970),this[_0x2e7f1f(0xa4)]=this[_0x2e7f1f(0x8c)](),this[_0x2e7f1f(0x89)]({'tag':_0x2e7f1f(0xbd),'attributes':{'class':['ck',_0x2e7f1f(0x95),_0x4cf25d,_0x2e7f1f(0x9e),_0x2e7f1f(0xcd)]}});}[_0x53664d(0xb0)](_0x4e6371){const _0x2d02f0=_0x53664d;this[_0x2d02f0(0xa1)][_0x2d02f0(0x87)]=_0x4e6371;}[_0x53664d(0xa0)](){const _0x559989=_0x53664d;this[_0x559989(0xa1)][_0x559989(0xae)](this[_0x559989(0xa4)][_0x559989(0xa1)]);}[_0x53664d(0x8c)](){const _0x111f0b=_0x53664d,_0x306d43=new _0x26544a(),_0x373980=this[_0x111f0b(0xcc)],_0x64eede=new _0x205d3b();return _0x64eede[_0x111f0b(0xc1)]=!0x0,_0x306d43[_0x111f0b(0x89)]({'tag':_0x111f0b(0xbd),'attributes':{'class':['ck',_0x111f0b(0xcb)]},'children':[_0x64eede,{'text':_0x1b10af(_0x373980,_0x111f0b(0xad))}]}),_0x306d43[_0x111f0b(0x94)](),_0x306d43;}}
23
+ function _0x95b8(){const _0x4c2148=['isVisible','setStartAfter','-9999px','write','render','scrollHeight','value','AI\x20is\x20writing...','ck-ai-form__copy-button','listenTo','setContent','ck-ai-form__content-area','<span>[</span>','contentFieldView','execCommand','text/html','textContent','12uASlby','18484OHCTko','17tPGuMj','createElement','clipboard','appendChild','362298aoiftr','class','set','_copyHTMLToClipboard','mousedown','bind','ck-ai-form__content-area-wrapper','body','3229061PRmFYg','loaderView','style','getSelection','removeAllRanges','isEnabled','24246xAMyYU','ck-ai-form__content-field','setTemplate','1454523lobaDZ','absolute','position','_createCopyButton','createRange','copyButtonView','ck-ai-form__copy-button-wrapper','10AYBGYm','4duUjif','bindTemplate','wheel','ck-ai-form__loader','locale','ck-reset_all-excluded','ck-ai-form__content-area--processing','change:value','<span>]</span>','firstElementChild','Copy','ClipboardItem','scrollTo','.ck-ai-form__loader','ck-content','lastElementChild','isProcessing','appendLoader','smooth','addRange','element','copy','change:isProcessing','_createLoader','setEndBefore','777444dJvbxF','ck-hidden','innerHTML','text/plain','64790wNOujU','216mdXhZo','left','\x20ck-ai-form__copy-button--copied','icon','remove','div','querySelector','execute','focus'];_0x95b8=function(){return _0x4c2148;};return _0x95b8();}const _0x8f50c0=_0x50ec;(function(_0x102a6d,_0x4011a5){const _0x2383e1=_0x50ec,_0x382d40=_0x102a6d();while(!![]){try{const _0x4ff05f=parseInt(_0x2383e1(0x114))/0x1*(parseInt(_0x2383e1(0x113))/0x2)+-parseInt(_0x2383e1(0xf3))/0x3*(-parseInt(_0x2383e1(0xda))/0x4)+-parseInt(_0x2383e1(0xd9))/0x5*(parseInt(_0x2383e1(0x118))/0x6)+parseInt(_0x2383e1(0xd2))/0x7+parseInt(_0x2383e1(0xf8))/0x8*(-parseInt(_0x2383e1(0xcf))/0x9)+-parseInt(_0x2383e1(0xf7))/0xa+parseInt(_0x2383e1(0xc9))/0xb*(-parseInt(_0x2383e1(0x112))/0xc);if(_0x4ff05f===_0x4011a5)break;else _0x382d40['push'](_0x382d40['shift']());}catch(_0x32cdfa){_0x382d40['push'](_0x382d40['shift']());}}}(_0x95b8,0x1fdd5));function _0x50ec(_0x50e1a1,_0x323822){const _0x95b851=_0x95b8();return _0x50ec=function(_0x50ec6a,_0x2d1a75){_0x50ec6a=_0x50ec6a-0xc5;let _0xd2078a=_0x95b851[_0x50ec6a];return _0xd2078a;},_0x50ec(_0x50e1a1,_0x323822);}import{global as _0x39352b}from'ckeditor5/src/utils.js';import{View as _0xdb5ef4,ButtonView as _0x191ffd,SpinnerView as _0x3a8841}from'ckeditor5/src/ui.js';import{IconCheck as _0x4406cd,IconCopy as _0x536b14}from'ckeditor5/src/icons.js';import{getTranslation as _0x2fc6b4}from'../../utils/common-translations.js';export class AIFormContentArea extends _0xdb5ef4{[_0x8f50c0(0x10e)];[_0x8f50c0(0xd7)];constructor(_0x3ba779,_0x1b06c8=''){const _0x29de2e=_0x8f50c0;super(_0x3ba779),this[_0x29de2e(0x11a)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0xd99d5e=this[_0x29de2e(0xdb)];this[_0x29de2e(0x10e)]=new ContentFieldView(_0x3ba779,_0x1b06c8),this[_0x29de2e(0xd7)]=this[_0x29de2e(0xd5)](),this[_0x29de2e(0xd1)]({'tag':_0x29de2e(0xfd),'attributes':{'class':['ck',_0x29de2e(0xc7),_0xd99d5e['if'](_0x29de2e(0x101),_0x29de2e(0xf4),_0x46c448=>!_0x46c448)],'tabindex':'-1'},'children':[{'tag':_0x29de2e(0xfd),'attributes':{'class':['ck',_0x29de2e(0x10c),_0xd99d5e['if'](_0x29de2e(0xea),_0x29de2e(0xe0))]},'children':[this[_0x29de2e(0x10e)],{'tag':_0x29de2e(0xfd),'attributes':{'class':['ck',_0x29de2e(0xd8)]},'children':[this[_0x29de2e(0xd7)]]}]}]});}[_0x8f50c0(0x105)](){const _0x40c12f=_0x8f50c0;super[_0x40c12f(0x105)](),this[_0x40c12f(0x107)]&&this[_0x40c12f(0x10e)][_0x40c12f(0x10b)](this[_0x40c12f(0x107)]);let _0x59bd84=!0x1;this['on'](_0x40c12f(0xe1),(_0x434866,_0x60d793,_0x4144e6)=>{const _0x241087=_0x40c12f,_0x4aee59=!this[_0x241087(0x10e)][_0x241087(0xee)][_0x241087(0xfe)](_0x241087(0xe7));this[_0x241087(0x10e)][_0x241087(0x10b)](_0x4144e6),this[_0x241087(0xea)]&&_0x4aee59&&!_0x59bd84&&this[_0x241087(0xee)][_0x241087(0xe6)]({'top':this[_0x241087(0xee)][_0x241087(0x106)],'behavior':_0x241087(0xec)});}),this['on'](_0x40c12f(0xf0),(_0x4f360b,_0x483fd5,_0x4019e4)=>{const _0xb77f9a=_0x40c12f;_0x59bd84=!0x1,_0x4019e4?(this[_0xb77f9a(0x107)]=null,this[_0xb77f9a(0x10e)][_0xb77f9a(0xeb)]()):this[_0xb77f9a(0x107)]||this[_0xb77f9a(0x10e)][_0xb77f9a(0x10b)]('');}),this[_0x40c12f(0x10a)](this[_0x40c12f(0xee)],_0x40c12f(0xdc),()=>{_0x59bd84=!0x0;}),this[_0x40c12f(0x10a)](this[_0x40c12f(0xee)],_0x40c12f(0xc5),()=>{_0x59bd84=!0x0;});}[_0x8f50c0(0x100)](){const _0x1429ae=_0x8f50c0;this[_0x1429ae(0xee)][_0x1429ae(0x100)]();}[_0x8f50c0(0xd5)](){const _0x1c1903=_0x8f50c0,_0x11cca3=this[_0x1c1903(0xde)],_0x22cbab=new _0x191ffd(this[_0x1c1903(0xde)]),_0x5d6345=_0x1c1903(0x109);return _0x22cbab[_0x1c1903(0x11a)]({'label':_0x2fc6b4(_0x11cca3,_0x1c1903(0xe4)),'icon':_0x536b14,'class':_0x5d6345,'tooltip':!0x0}),_0x22cbab[_0x1c1903(0xc6)](_0x1c1903(0x101))['to'](this,_0x1c1903(0x107),_0xb8877a=>!!_0xb8877a),_0x22cbab[_0x1c1903(0xc6)](_0x1c1903(0xce))['to'](this,_0x1c1903(0xea),_0x291680=>!_0x291680),_0x22cbab['on'](_0x1c1903(0xff),()=>{const _0xf02384=_0x1c1903;this[_0xf02384(0x11b)](this[_0xf02384(0x10e)][_0xf02384(0xee)]),_0x22cbab[_0xf02384(0xfb)]=_0x4406cd,_0x22cbab[_0xf02384(0x119)]=_0x5d6345+_0xf02384(0xfa),this[_0xf02384(0x100)](),setTimeout(()=>{const _0x3811d8=_0xf02384;_0x22cbab[_0x3811d8(0xfb)]=_0x536b14,_0x22cbab[_0x3811d8(0x119)]=_0x5d6345;},0x3e8);}),_0x22cbab;}[_0x8f50c0(0x11b)](_0x30e227){const _0x9d335f=_0x8f50c0,{window:_0x3b5f6b,document:_0x48e506}=_0x39352b;if(_0x3b5f6b[_0x9d335f(0xe5)]){const {Blob:_0x4e5299,ClipboardItem:_0x274711}=_0x3b5f6b,_0x43a2d5=[new _0x274711({'text/html':new _0x4e5299([_0x30e227[_0x9d335f(0xf5)]],{'type':_0x9d335f(0x110)}),'text/plain':new _0x4e5299([_0x30e227[_0x9d335f(0x111)]||''],{'type':_0x9d335f(0xf6)})})];navigator[_0x9d335f(0x116)][_0x9d335f(0x104)](_0x43a2d5);}else{const _0x416405=_0x48e506[_0x9d335f(0x115)](_0x9d335f(0xfd));_0x416405[_0x9d335f(0xcb)][_0x9d335f(0xd4)]=_0x9d335f(0xd3),_0x416405[_0x9d335f(0xcb)][_0x9d335f(0xf9)]=_0x9d335f(0x103),_0x416405[_0x9d335f(0xf5)]=_0x9d335f(0x10d)+_0x30e227[_0x9d335f(0xf5)]+_0x9d335f(0xe2),_0x48e506[_0x9d335f(0xc8)][_0x9d335f(0x117)](_0x416405);const _0x2d9328=_0x48e506[_0x9d335f(0xd6)]();_0x2d9328[_0x9d335f(0x102)](_0x416405[_0x9d335f(0xe3)]),_0x2d9328[_0x9d335f(0xf2)](_0x416405[_0x9d335f(0xe9)]);const _0x4eae1b=_0x3b5f6b[_0x9d335f(0xcc)]();_0x4eae1b[_0x9d335f(0xcd)](),_0x4eae1b[_0x9d335f(0xed)](_0x2d9328),_0x48e506[_0x9d335f(0x10f)](_0x9d335f(0xef)),_0x416405[_0x9d335f(0xfc)]();}}}export class ContentFieldView extends _0xdb5ef4{constructor(_0x253c79,_0x342113=''){const _0x15cb90=_0x8f50c0;super(_0x253c79),this[_0x15cb90(0xca)]=this[_0x15cb90(0xf1)](),this[_0x15cb90(0xd1)]({'tag':_0x15cb90(0xfd),'attributes':{'class':['ck',_0x15cb90(0xe8),_0x342113,_0x15cb90(0xdf),_0x15cb90(0xd0)]}});}[_0x8f50c0(0x10b)](_0x4c5e68){const _0x112416=_0x8f50c0;this[_0x112416(0xee)][_0x112416(0xf5)]=_0x4c5e68;}[_0x8f50c0(0xeb)](){const _0x5b461f=_0x8f50c0;this[_0x5b461f(0xee)][_0x5b461f(0x117)](this[_0x5b461f(0xca)][_0x5b461f(0xee)]);}[_0x8f50c0(0xf1)](){const _0x832b0a=_0x8f50c0,_0x51dd14=new _0xdb5ef4(),_0x5a4ed0=this[_0x832b0a(0xde)],_0x2c38c8=new _0x3a8841();return _0x2c38c8[_0x832b0a(0x101)]=!0x0,_0x51dd14[_0x832b0a(0xd1)]({'tag':_0x832b0a(0xfd),'attributes':{'class':['ck',_0x832b0a(0xdd)]},'children':[_0x2c38c8,{'text':_0x2fc6b4(_0x5a4ed0,_0x832b0a(0x108))}]}),_0x51dd14[_0x832b0a(0x105)](),_0x51dd14;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2e1eeb=_0x1389;function _0x1389(_0x2a558e,_0x5df45d){const _0x2b2c66=_0x2b2c();return _0x1389=function(_0x138923,_0xdbba4d){_0x138923=_0x138923-0x138;let _0x4c36c1=_0x2b2c66[_0x138923];return _0x4c36c1;},_0x1389(_0x2a558e,_0x5df45d);}(function(_0x2b6021,_0x4cb026){const _0x337ce6=_0x1389,_0x223f05=_0x2b6021();while(!![]){try{const _0x3106fa=-parseInt(_0x337ce6(0x159))/0x1+parseInt(_0x337ce6(0x16c))/0x2+parseInt(_0x337ce6(0x165))/0x3+parseInt(_0x337ce6(0x169))/0x4+parseInt(_0x337ce6(0x13a))/0x5+parseInt(_0x337ce6(0x156))/0x6+parseInt(_0x337ce6(0x142))/0x7*(-parseInt(_0x337ce6(0x158))/0x8);if(_0x3106fa===_0x4cb026)break;else _0x223f05['push'](_0x223f05['shift']());}catch(_0x19900a){_0x223f05['push'](_0x223f05['shift']());}}}(_0x2b2c,0x7cb6b));import{Rect as _0x2a80c1,global as _0x409517,isVisible as _0x49a8f2}from'ckeditor5/src/utils.js';import{IconAIHistory as _0x341b37,IconSubmit as _0x1e755c}from'ckeditor5/src/icons.js';function _0x2b2c(){const _0x28c314=['submitButtonView','bind','keystrokes','isEmpty','7ACdVYu','left','History','execute','excludeScrollbarsAndBorders','fieldView','style','maxRows','minRows','isVisible','render','focusCycler','fire','children','width','submit','element','_createSubmitButton','requestAnimationFrame','isOn','3066516sUQiQK','fieldWrapperChildren','20215432SuTEpG','298880schwpU','window','target','locale','focusableChildren','focusLast','Submit','focusFirst','filteredView','focus','uiLanguageDirection','_createShowHistoryButton','609711MglEHs','queryView','rtl','enter','3087928nUeoXD','ck-ai-form__toggle-history','set','1688048qRsLTL','isEnabled','update','showHistoryButtonView','right','ck-ai-form__submit','5031535hXITZC','value','add','resultsView'];_0x2b2c=function(){return _0x28c314;};return _0x2b2c();}import{AutocompleteView as _0x1821a2,ButtonView as _0x48c21f}from'ckeditor5/src/ui.js';import{getTranslation as _0x280591}from'../../utils/common-translations.js';export class AIFormPromptView extends _0x1821a2{[_0x2e1eeb(0x13e)];[_0x2e1eeb(0x16f)];constructor(_0x11827f,_0x1896cf){const _0x267cea=_0x2e1eeb;super(_0x11827f,_0x1896cf),this[_0x267cea(0x166)][_0x267cea(0x147)][_0x267cea(0x14a)]=0x1,this[_0x267cea(0x166)][_0x267cea(0x147)][_0x267cea(0x149)]=0x3,this[_0x267cea(0x13e)]=this[_0x267cea(0x153)](),this[_0x267cea(0x16f)]=this[_0x267cea(0x164)](),this[_0x267cea(0x15d)][_0x267cea(0x13c)](this[_0x267cea(0x16f)],0x1),this[_0x267cea(0x15d)][_0x267cea(0x13c)](this[_0x267cea(0x13e)]);}[_0x2e1eeb(0x14c)](){const _0x472f63=_0x2e1eeb;super[_0x472f63(0x14c)](),this[_0x472f63(0x166)][_0x472f63(0x157)][_0x472f63(0x13c)](this[_0x472f63(0x16f)]),this[_0x472f63(0x14f)][_0x472f63(0x13c)](this[_0x472f63(0x13e)]),this[_0x472f63(0x140)][_0x472f63(0x16b)](_0x472f63(0x168),(_0x2ae7b6,_0x43ca05)=>{const _0x46a298=_0x472f63;_0x2ae7b6[_0x46a298(0x15b)]==this[_0x46a298(0x166)][_0x46a298(0x147)][_0x46a298(0x152)]&&(this[_0x46a298(0x151)](),_0x43ca05());});}[_0x2e1eeb(0x153)](){const _0xfcb916=_0x2e1eeb,_0x5ab576=new _0x48c21f(this[_0xfcb916(0x15c)]),_0x384ebc=this[_0xfcb916(0x15c)];return _0x5ab576[_0xfcb916(0x16b)]({'icon':_0x1e755c,'label':_0x280591(_0x384ebc,_0xfcb916(0x15f)),'isVisible':!0x0,'tooltip':!0x0,'class':_0xfcb916(0x139)}),_0x5ab576['on'](_0xfcb916(0x145),()=>{const _0x14a053=_0xfcb916;this[_0x14a053(0x151)]();}),_0x5ab576[_0xfcb916(0x13f)](_0xfcb916(0x16d))['to'](this[_0xfcb916(0x166)][_0xfcb916(0x147)],_0xfcb916(0x141),this,_0xfcb916(0x16d),(_0x47b20b,_0x171a65)=>!_0x47b20b&&_0x171a65),_0x5ab576;}[_0x2e1eeb(0x164)](){const _0x167ba2=_0x2e1eeb,_0x3291c9=new _0x48c21f(this[_0x167ba2(0x15c)]),_0x1bfb82=this[_0x167ba2(0x13d)],_0x966703=this[_0x167ba2(0x15c)];_0x3291c9[_0x167ba2(0x16b)]({'label':_0x280591(_0x966703,_0x167ba2(0x144)),'withText':!0x1,'icon':_0x341b37,'tooltip':!0x0,'tooltipPosition':'sw','class':_0x167ba2(0x16a)}),_0x3291c9[_0x167ba2(0x13f)](_0x167ba2(0x155))['to'](_0x1bfb82,_0x167ba2(0x14b)),_0x3291c9[_0x167ba2(0x13f)](_0x167ba2(0x16d))['to'](this,_0x167ba2(0x16d)),_0x3291c9['on'](_0x167ba2(0x145),()=>{const _0x3273fa=_0x167ba2;_0x1bfb82[_0x3273fa(0x14b)]=!_0x1bfb82[_0x3273fa(0x14b)],_0x1bfb82[_0x3273fa(0x14b)]?this[_0x3273fa(0x161)][_0x3273fa(0x162)]():this[_0x3273fa(0x162)]();});const _0x11a352=()=>{const _0x19981c=_0x167ba2;_0x409517[_0x19981c(0x15a)][_0x19981c(0x154)](()=>{const _0x16040f=_0x19981c;if(_0x49a8f2(this[_0x16040f(0x152)])){const _0xd0baaa=new _0x2a80c1(this[_0x16040f(0x166)][_0x16040f(0x147)][_0x16040f(0x152)]),_0x3e67c8=_0xd0baaa[_0x16040f(0x150)],_0x59044d=_0x16040f(0x167)===_0x966703[_0x16040f(0x163)]?_0x16040f(0x143):_0x16040f(0x138);_0xd0baaa[_0x16040f(0x146)](),_0x3291c9[_0x16040f(0x152)][_0x16040f(0x148)][_0x59044d]=_0x3e67c8-_0xd0baaa[_0x16040f(0x150)]+0x1+'px';}});};return this[_0x167ba2(0x166)][_0x167ba2(0x147)]['on'](_0x167ba2(0x16e),_0x11a352),this['on'](_0x167ba2(0x14c),_0x11a352),_0x3291c9;}[_0x2e1eeb(0x151)](){const _0x400fea=_0x2e1eeb,_0x4db5d5=this[_0x400fea(0x166)][_0x400fea(0x147)][_0x400fea(0x152)][_0x400fea(0x13b)];this[_0x400fea(0x14e)](_0x400fea(0x151),_0x4db5d5);}[_0x2e1eeb(0x162)](_0x5232b1){const _0x136e2d=_0x2e1eeb;-0x1===_0x5232b1?this[_0x136e2d(0x14d)][_0x136e2d(0x15e)]():this[_0x136e2d(0x14d)][_0x136e2d(0x160)]();}}
23
+ function _0x2a9d(){const _0x2f134d=['isOn','_createShowHistoryButton','3767796qLOjod','focusableChildren','470232sOJFfj','locale','element','resultsView','ck-ai-form__toggle-history','execute','focusCycler','maxRows','queryView','showHistoryButtonView','update','isEnabled','render','right','width','focus','uiLanguageDirection','fire','4313432ILNixR','value','add','requestAnimationFrame','focusLast','style','ck-ai-form__submit','isVisible','fieldWrapperChildren','children','focusFirst','submitButtonView','set','keystrokes','_createSubmitButton','window','6724440JrFDcA','38KBhNiw','excludeScrollbarsAndBorders','target','1082532yAErrE','enter','bind','minRows','History','20nqozJC','313530DulTMY','rtl','Submit','43541WemaeY','fieldView','isEmpty','left','submit','filteredView'];_0x2a9d=function(){return _0x2f134d;};return _0x2a9d();}const _0x2d2c9c=_0x5167;(function(_0x1b444e,_0xfab4c0){const _0x37ed70=_0x5167,_0x181bb4=_0x1b444e();while(!![]){try{const _0x5c6caa=parseInt(_0x37ed70(0x125))/0x1*(-parseInt(_0x37ed70(0x152))/0x2)+-parseInt(_0x37ed70(0x155))/0x3+parseInt(_0x37ed70(0x151))/0x4+-parseInt(_0x37ed70(0x121))/0x5*(-parseInt(_0x37ed70(0x12f))/0x6)+-parseInt(_0x37ed70(0x122))/0x7+parseInt(_0x37ed70(0x141))/0x8+-parseInt(_0x37ed70(0x12d))/0x9;if(_0x5c6caa===_0xfab4c0)break;else _0x181bb4['push'](_0x181bb4['shift']());}catch(_0x5b48eb){_0x181bb4['push'](_0x181bb4['shift']());}}}(_0x2a9d,0xd762c));import{Rect as _0x2a6634,global as _0x470b18,isVisible as _0x3d4bc9}from'ckeditor5/src/utils.js';import{IconAIHistory as _0x34ea11,IconSubmit as _0x18ef55}from'ckeditor5/src/icons.js';import{AutocompleteView as _0x86cc5f,ButtonView as _0x38655d}from'ckeditor5/src/ui.js';function _0x5167(_0x30fb7b,_0x43e908){const _0x2a9df5=_0x2a9d();return _0x5167=function(_0x5167a5,_0x23d3df){_0x5167a5=_0x5167a5-0x11d;let _0x5b3ae7=_0x2a9df5[_0x5167a5];return _0x5b3ae7;},_0x5167(_0x30fb7b,_0x43e908);}import{getTranslation as _0x284464}from'../../utils/common-translations.js';export class AIFormPromptView extends _0x86cc5f{[_0x2d2c9c(0x14c)];[_0x2d2c9c(0x138)];constructor(_0x4d8308,_0x36ce1f){const _0x154e6c=_0x2d2c9c;super(_0x4d8308,_0x36ce1f),this[_0x154e6c(0x137)][_0x154e6c(0x126)][_0x154e6c(0x11f)]=0x1,this[_0x154e6c(0x137)][_0x154e6c(0x126)][_0x154e6c(0x136)]=0x3,this[_0x154e6c(0x14c)]=this[_0x154e6c(0x14f)](),this[_0x154e6c(0x138)]=this[_0x154e6c(0x12c)](),this[_0x154e6c(0x12e)][_0x154e6c(0x143)](this[_0x154e6c(0x138)],0x1),this[_0x154e6c(0x12e)][_0x154e6c(0x143)](this[_0x154e6c(0x14c)]);}[_0x2d2c9c(0x13b)](){const _0xb83349=_0x2d2c9c;super[_0xb83349(0x13b)](),this[_0xb83349(0x137)][_0xb83349(0x149)][_0xb83349(0x143)](this[_0xb83349(0x138)]),this[_0xb83349(0x14a)][_0xb83349(0x143)](this[_0xb83349(0x14c)]),this[_0xb83349(0x14e)][_0xb83349(0x14d)](_0xb83349(0x11d),(_0x503687,_0x245da0)=>{const _0x38d71f=_0xb83349;_0x503687[_0x38d71f(0x154)]==this[_0x38d71f(0x137)][_0x38d71f(0x126)][_0x38d71f(0x131)]&&(this[_0x38d71f(0x129)](),_0x245da0());});}[_0x2d2c9c(0x14f)](){const _0x10db35=_0x2d2c9c,_0x1f197c=new _0x38655d(this[_0x10db35(0x130)]),_0x4e5ee4=this[_0x10db35(0x130)];return _0x1f197c[_0x10db35(0x14d)]({'icon':_0x18ef55,'label':_0x284464(_0x4e5ee4,_0x10db35(0x124)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x10db35(0x147)}),_0x1f197c['on'](_0x10db35(0x134),()=>{const _0x2f8e38=_0x10db35;this[_0x2f8e38(0x129)]();}),_0x1f197c[_0x10db35(0x11e)](_0x10db35(0x13a))['to'](this[_0x10db35(0x137)][_0x10db35(0x126)],_0x10db35(0x127),this,_0x10db35(0x13a),(_0x155487,_0x2be93a)=>!_0x155487&&_0x2be93a),_0x1f197c;}[_0x2d2c9c(0x12c)](){const _0x9cf6ec=_0x2d2c9c,_0x4799f3=new _0x38655d(this[_0x9cf6ec(0x130)]),_0x4ce4b7=this[_0x9cf6ec(0x132)],_0x415cf8=this[_0x9cf6ec(0x130)];_0x4799f3[_0x9cf6ec(0x14d)]({'label':_0x284464(_0x415cf8,_0x9cf6ec(0x120)),'withText':!0x1,'icon':_0x34ea11,'tooltip':!0x0,'tooltipPosition':'sw','class':_0x9cf6ec(0x133)}),_0x4799f3[_0x9cf6ec(0x11e)](_0x9cf6ec(0x12b))['to'](_0x4ce4b7,_0x9cf6ec(0x148)),_0x4799f3[_0x9cf6ec(0x11e)](_0x9cf6ec(0x13a))['to'](this,_0x9cf6ec(0x13a)),_0x4799f3['on'](_0x9cf6ec(0x134),()=>{const _0x2b91c5=_0x9cf6ec;_0x4ce4b7[_0x2b91c5(0x148)]=!_0x4ce4b7[_0x2b91c5(0x148)],_0x4ce4b7[_0x2b91c5(0x148)]?this[_0x2b91c5(0x12a)][_0x2b91c5(0x13e)]():this[_0x2b91c5(0x13e)]();});const _0x237c77=()=>{const _0x6b2ec=_0x9cf6ec;_0x470b18[_0x6b2ec(0x150)][_0x6b2ec(0x144)](()=>{const _0x6203d6=_0x6b2ec;if(_0x3d4bc9(this[_0x6203d6(0x131)])){const _0x43e7d9=new _0x2a6634(this[_0x6203d6(0x137)][_0x6203d6(0x126)][_0x6203d6(0x131)]),_0x1cdeb4=_0x43e7d9[_0x6203d6(0x13d)],_0x1b0b85=_0x6203d6(0x123)===_0x415cf8[_0x6203d6(0x13f)]?_0x6203d6(0x128):_0x6203d6(0x13c);_0x43e7d9[_0x6203d6(0x153)](),_0x4799f3[_0x6203d6(0x131)][_0x6203d6(0x146)][_0x1b0b85]=_0x1cdeb4-_0x43e7d9[_0x6203d6(0x13d)]+0x1+'px';}});};return this[_0x9cf6ec(0x137)][_0x9cf6ec(0x126)]['on'](_0x9cf6ec(0x139),_0x237c77),this['on'](_0x9cf6ec(0x13b),_0x237c77),_0x4799f3;}[_0x2d2c9c(0x129)](){const _0x5a2bc9=_0x2d2c9c,_0x365a7d=this[_0x5a2bc9(0x137)][_0x5a2bc9(0x126)][_0x5a2bc9(0x131)][_0x5a2bc9(0x142)];this[_0x5a2bc9(0x140)](_0x5a2bc9(0x129),_0x365a7d);}[_0x2d2c9c(0x13e)](_0x3fe417){const _0x1f185e=_0x2d2c9c;-0x1===_0x3fe417?this[_0x1f185e(0x135)][_0x1f185e(0x145)]():this[_0x1f185e(0x135)][_0x1f185e(0x14b)]();}}