@ckeditor/ckeditor5-import-word 42.0.1-alpha.3 → 42.0.2-alpha.0

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 (146) hide show
  1. package/LICENSE.md +1 -1
  2. package/build/import-word.js +1 -1
  3. package/dist/index.js +1 -1
  4. package/dist/translations/ar.d.ts +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/bg.d.ts +1 -1
  8. package/dist/translations/bg.js +1 -1
  9. package/dist/translations/bg.umd.js +1 -1
  10. package/dist/translations/bn.d.ts +1 -1
  11. package/dist/translations/bn.js +1 -1
  12. package/dist/translations/bn.umd.js +1 -1
  13. package/dist/translations/ca.d.ts +1 -1
  14. package/dist/translations/ca.js +1 -1
  15. package/dist/translations/ca.umd.js +1 -1
  16. package/dist/translations/cs.d.ts +1 -1
  17. package/dist/translations/cs.js +1 -1
  18. package/dist/translations/cs.umd.js +1 -1
  19. package/dist/translations/da.d.ts +1 -1
  20. package/dist/translations/da.js +1 -1
  21. package/dist/translations/da.umd.js +1 -1
  22. package/dist/translations/de.d.ts +1 -1
  23. package/dist/translations/de.js +1 -1
  24. package/dist/translations/de.umd.js +1 -1
  25. package/dist/translations/el.d.ts +1 -1
  26. package/dist/translations/el.js +1 -1
  27. package/dist/translations/el.umd.js +1 -1
  28. package/dist/translations/en-au.d.ts +1 -1
  29. package/dist/translations/en-au.js +1 -1
  30. package/dist/translations/en-au.umd.js +1 -1
  31. package/dist/translations/en.d.ts +1 -1
  32. package/dist/translations/en.umd.js +1 -1
  33. package/dist/translations/es.d.ts +1 -1
  34. package/dist/translations/es.js +1 -1
  35. package/dist/translations/es.umd.js +1 -1
  36. package/dist/translations/et.d.ts +1 -1
  37. package/dist/translations/et.js +1 -1
  38. package/dist/translations/et.umd.js +1 -1
  39. package/dist/translations/fi.d.ts +1 -1
  40. package/dist/translations/fi.js +1 -1
  41. package/dist/translations/fi.umd.js +1 -1
  42. package/dist/translations/fr.d.ts +1 -1
  43. package/dist/translations/fr.js +1 -1
  44. package/dist/translations/fr.umd.js +1 -1
  45. package/dist/translations/gl.d.ts +1 -1
  46. package/dist/translations/gl.js +1 -1
  47. package/dist/translations/gl.umd.js +1 -1
  48. package/dist/translations/he.d.ts +1 -1
  49. package/dist/translations/he.js +1 -1
  50. package/dist/translations/he.umd.js +1 -1
  51. package/dist/translations/hi.d.ts +1 -1
  52. package/dist/translations/hi.js +1 -1
  53. package/dist/translations/hi.umd.js +1 -1
  54. package/dist/translations/hr.d.ts +1 -1
  55. package/dist/translations/hr.js +1 -1
  56. package/dist/translations/hr.umd.js +1 -1
  57. package/dist/translations/hu.d.ts +1 -1
  58. package/dist/translations/hu.js +1 -1
  59. package/dist/translations/hu.umd.js +1 -1
  60. package/dist/translations/id.d.ts +1 -1
  61. package/dist/translations/id.js +1 -1
  62. package/dist/translations/id.umd.js +1 -1
  63. package/dist/translations/it.d.ts +1 -1
  64. package/dist/translations/it.js +1 -1
  65. package/dist/translations/it.umd.js +1 -1
  66. package/dist/translations/ja.d.ts +1 -1
  67. package/dist/translations/ja.js +1 -1
  68. package/dist/translations/ja.umd.js +1 -1
  69. package/dist/translations/ko.d.ts +1 -1
  70. package/dist/translations/ko.js +1 -1
  71. package/dist/translations/ko.umd.js +1 -1
  72. package/dist/translations/lt.d.ts +1 -1
  73. package/dist/translations/lt.js +1 -1
  74. package/dist/translations/lt.umd.js +1 -1
  75. package/dist/translations/lv.d.ts +1 -1
  76. package/dist/translations/lv.js +1 -1
  77. package/dist/translations/lv.umd.js +1 -1
  78. package/dist/translations/ms.d.ts +1 -1
  79. package/dist/translations/ms.js +1 -1
  80. package/dist/translations/ms.umd.js +1 -1
  81. package/dist/translations/nl.d.ts +1 -1
  82. package/dist/translations/nl.js +1 -1
  83. package/dist/translations/nl.umd.js +1 -1
  84. package/dist/translations/no.d.ts +1 -1
  85. package/dist/translations/no.js +1 -1
  86. package/dist/translations/no.umd.js +1 -1
  87. package/dist/translations/pl.d.ts +1 -1
  88. package/dist/translations/pl.js +1 -1
  89. package/dist/translations/pl.umd.js +1 -1
  90. package/dist/translations/pt-br.d.ts +1 -1
  91. package/dist/translations/pt-br.js +1 -1
  92. package/dist/translations/pt-br.umd.js +1 -1
  93. package/dist/translations/pt.d.ts +1 -1
  94. package/dist/translations/pt.js +1 -1
  95. package/dist/translations/pt.umd.js +1 -1
  96. package/dist/translations/ro.d.ts +1 -1
  97. package/dist/translations/ro.js +1 -1
  98. package/dist/translations/ro.umd.js +1 -1
  99. package/dist/translations/ru.d.ts +1 -1
  100. package/dist/translations/ru.js +1 -1
  101. package/dist/translations/ru.umd.js +1 -1
  102. package/dist/translations/sk.d.ts +1 -1
  103. package/dist/translations/sk.js +1 -1
  104. package/dist/translations/sk.umd.js +1 -1
  105. package/dist/translations/sr-latn.d.ts +1 -1
  106. package/dist/translations/sr-latn.js +1 -1
  107. package/dist/translations/sr-latn.umd.js +1 -1
  108. package/dist/translations/sr.d.ts +1 -1
  109. package/dist/translations/sr.js +1 -1
  110. package/dist/translations/sr.umd.js +1 -1
  111. package/dist/translations/sv.d.ts +1 -1
  112. package/dist/translations/sv.js +1 -1
  113. package/dist/translations/sv.umd.js +1 -1
  114. package/dist/translations/th.d.ts +1 -1
  115. package/dist/translations/th.js +1 -1
  116. package/dist/translations/th.umd.js +1 -1
  117. package/dist/translations/tr.d.ts +1 -1
  118. package/dist/translations/tr.js +1 -1
  119. package/dist/translations/tr.umd.js +1 -1
  120. package/dist/translations/ug.d.ts +1 -1
  121. package/dist/translations/ug.js +1 -1
  122. package/dist/translations/ug.umd.js +1 -1
  123. package/dist/translations/uk.d.ts +1 -1
  124. package/dist/translations/uk.js +1 -1
  125. package/dist/translations/uk.umd.js +1 -1
  126. package/dist/translations/vi.d.ts +1 -1
  127. package/dist/translations/vi.js +1 -1
  128. package/dist/translations/vi.umd.js +1 -1
  129. package/dist/translations/zh-cn.d.ts +1 -1
  130. package/dist/translations/zh-cn.js +1 -1
  131. package/dist/translations/zh-cn.umd.js +1 -1
  132. package/dist/translations/zh.d.ts +1 -1
  133. package/dist/translations/zh.js +1 -1
  134. package/dist/translations/zh.umd.js +1 -1
  135. package/package.json +7 -2
  136. package/src/importword.js +1 -1
  137. package/src/importwordcommand.js +1 -1
  138. package/src/importwordediting.js +1 -1
  139. package/src/importwordui.js +1 -1
  140. package/src/index.js +1 -1
  141. /package/dist/{types/augmentation.d.ts → augmentation.d.ts} +0 -0
  142. /package/dist/{types/importword.d.ts → importword.d.ts} +0 -0
  143. /package/dist/{types/importwordcommand.d.ts → importwordcommand.d.ts} +0 -0
  144. /package/dist/{types/importwordediting.d.ts → importwordediting.d.ts} +0 -0
  145. /package/dist/{types/importwordui.d.ts → importwordui.d.ts} +0 -0
  146. /package/dist/{types/index.d.ts → index.d.ts} +0 -0
package/LICENSE.md CHANGED
@@ -8,7 +8,7 @@ CKEditor 5 import from Word feature is licensed under a commercial license
8
8
  For more details about available licensing options please contact us at sales@cksource.com.
9
9
 
10
10
  Sources of Intellectual Property Included in CKEditor 5 import from Word
11
- ------------------------------------------------------------------------
11
+ -----------------------------------------------------------------------------
12
12
 
13
13
  Where not otherwise indicated, all CKEditor 5 import from Word feature content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
14
14
 
@@ -2,4 +2,4 @@
2
2
  /*!
3
3
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
4
4
  * For licensing, see LICENSE.md.
5
- */(()=>{var t={331:(t,e,r)=>{t.exports=r(237)("./src/clipboard.js")},782:(t,e,r)=>{t.exports=r(237)("./src/core.js")},783:(t,e,r)=>{t.exports=r(237)("./src/engine.js")},311:(t,e,r)=>{t.exports=r(237)("./src/ui.js")},584:(t,e,r)=>{t.exports=r(237)("./src/utils.js")},237:t=>{"use strict";t.exports=CKEditor5.dll}},e={};function r(o){var n=e[o];if(void 0!==n)return n.exports;var i=e[o]={exports:{}};return t[o](i,i.exports,r),i.exports}r.d=(t,e)=>{for(var o in e)r.o(e,o)&&!r.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:e[o]})},r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var o={};(()=>{"use strict";r.r(o),r.d(o,{ImportWord:()=>f,ImportWordEditing:()=>u,ImportWordUI:()=>n});var t=r(782),e=r(311);class n extends t.Plugin{static get pluginName(){return"ImportWordUI"}init(){const t=this.editor;t.ui.componentFactory.add("importWord",(()=>{const r=this._createButton(e.FileDialogButtonView),o=t.commands.get("importWord");return r.bind("isOn").to(o,"isBusy"),r.tooltip=!0,r})),t.ui.componentFactory.add("menuBar:importWord",(()=>this._createButton(e.MenuBarMenuListItemFileDialogButtonView)))}_createButton(t){const r=this.editor,o=r.locale.t,n=r.commands.get("importWord"),i=new t(r.locale),s=new e.SpinnerView;return i.set({acceptedType:"application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.openxmlformats-officedocument.wordprocessingml.template"}),i.set({icon:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="m14 0 5 4.5v8.892l-1.5-1.8V6.5h-5v-5h-8v3H3V0h11Zm0 2v3h3.3L14 2Z"/><path d="M10.74 18a2.76 2.76 0 0 1-.469-.5H3V19h9.25v-.374A2.737 2.737 0 0 1 10.74 18Z"/><path d="M8.5 6a1.5 1.5 0 0 1 1.493 1.356L10 7.5v7a1.5 1.5 0 0 1-1.356 1.493L8.5 16h-7a1.5 1.5 0 0 1-1.493-1.356L0 14.5v-7a1.5 1.5 0 0 1 1.356-1.493L1.5 6h7ZM7.483 8.795l-.042.088-.986 2.534-.947-2.528-.043-.092a.601.601 0 0 0-1.042.008l-.042.093-.883 2.465-.937-2.475-.042-.089a.6.6 0 0 0-1.107.42l.027.093 1.514 4 .044.092a.6.6 0 0 0 1.041-.01l.041-.092.88-2.458.925 2.467.046.096a.602.602 0 0 0 1.032 0l.043-.09 1.554-4 .028-.093a.6.6 0 0 0-1.104-.43v.001ZM11.674 15.407a.75.75 0 1 0 1.152.96L14 14.96V20h1.5v-5.04l1.174 1.408a.75.75 0 1 0 1.152-.96l-2.346-2.816a.95.95 0 0 0-1.46 0l-2.346 2.815Z"/></svg>\n'}),i.bind("isEnabled").to(n),i.bind("label").to(n,"isBusy",(t=>o(t?"Importing Word document":"Import from Word"))),s.bind("isVisible").to(n,"isBusy"),i.iconView.bind("isVisible").to(n,"isBusy",(t=>!t)),i.children.add(s),i.on("done",((t,e)=>{r.execute("importWord",e[0],{}),r.editing.view.focus()})),i}}var i=r(331),s=r(783),a=r(584);class c extends t.Command{constructor(t){super(t),this.set("isBusy",!1),this._importMarker=null,this._undoStepBatch=null,this._abortController=null,this.on("dataInsert",((e,r)=>{const o=new DataTransfer;o.setData("text/html",r.html);const n=this._importMarker.getRange();this.editor.model.enqueueChange(this._undoStepBatch,(e=>{this._importMarker.stopListening(),e.setSelection(n),t.editing.view.document.fire("clipboardInput",{dataTransfer:o})}))}),{priority:"low"})}refresh(){this.isEnabled=this._checkEnabled()}execute(t,e={}){if(this.isBusy)return Promise.resolve();const r=this.editor.config.get("importWord"),o={url:r.converterUrl,file:t,serviceConfig:{...e,formatting:r.formatting}};return this._prepareForImport(),this._sendImportRequest(o).then(this._handleImportResponse.bind(this)).catch(this._handleImportFailure.bind(this)).finally(this._cleanUpAfterImport.bind(this))}_checkEnabled(){if(this.isBusy)return!1;const t=this.editor.model,e=t.schema,r=t.document.selection,o=(0,a.first)(r.getSelectedBlocks());return!!o&&e.checkChild(o.parent,"paragraph")}_prepareForImport(){const t=this.editor,e=t.model,r=e.document.selection;this._abortController=new AbortController,this._undoStepBatch=t.model.createBatch({isUndoable:!0}),e.enqueueChange(this._undoStepBatch,(t=>{r.isCollapsed||e.deleteContent(r,{leaveUnmerged:!0});const o=r.getFirstPosition(),n=(0,a.first)(r.getSelectedBlocks());let i;i=n.is("element","paragraph")&&n.isEmpty?o:o.isAtStart?e.createPositionBefore(n):o.isAtEnd?e.createPositionAfter(n):t.split(o).position,this._importMarker=t.addMarker("importWord:"+(0,a.uid)(),{usingOperation:!1,affectsData:!1,range:new s.Range(i)}),this._importMarker.on("change:range",(()=>{"$graveyard"===this._importMarker.getRange().root.rootName&&this._abortController.abort()}))})),this.isBusy=!0,this.refresh()}_cleanUpAfterImport(){const t=this.editor.model;t.markers.has(this._importMarker)&&t.enqueueChange(this._undoStepBatch,(t=>{t.removeMarker(this._importMarker)})),this._importMarker=null,this._undoStepBatch=null,this._abortController=null,this.isBusy=!1,this.refresh()}_sendImportRequest({url:t,file:e,serviceConfig:r}){const o=this.editor.plugins.get("ImportWordEditing").getToken(),n=new FormData;n.set("config",JSON.stringify(r)),n.set("file",e);const i={method:"POST",headers:{},body:n,signal:this._abortController.signal};return o&&(i.headers.Authorization=o.value),fetch(t,i)}_handleImportResponse(t){return t.ok?t.json().then((t=>{this.editor.model.markers.has(this._importMarker)&&"$graveyard"!==this._importMarker.getRange().root.rootName&&this.fire("dataInsert",t)})):Promise.reject()}_handleImportFailure(){if(this._abortController.signal.aborted)return void(0,a.logWarning)("import-word-plugin-import-cancelled");const t=this.editor,e=(0,t.t)("An error occurred while importing the Word file.");t.plugins.get("Notification").showWarning(e),(0,a.logError)("import-word-plugin-conversion-failed")}}const p=l;function l(t,e){const r=d();return(l=function(t,e){return r[t-=128]})(t,e)}function d(){const t=["ImportWordEditing","cloudServices","define","48topxsj","token","67752yMlFKI","plugins","init","CloudServices","add","431328dBavxa","1465516kfcBXk","pluginName","4306676QsDbyv","72fAlEzE","5GDQlKg","none","inline","registerTokenUrl","config","commands","14LZyffA","148968CfcETv","17959kCTTuY","tokenUrl","importWord","https://docx-converter.cke-cs.com/v2/convert/docx-html","getToken","_token","requires","editor","get","4731510LYAPtI"];return(d=function(){return t})()}!function(t,e){const r=l,o=t();for(;;)try{if(419014===-parseInt(r(149))/1*(-parseInt(r(140))/2)+-parseInt(r(131))/3+-parseInt(r(137))/4*(parseInt(r(141))/5)+parseInt(r(136))/6*(parseInt(r(147))/7)+-parseInt(r(129))/8*(-parseInt(r(148))/9)+-parseInt(r(158))/10+parseInt(r(139))/11)break;o.push(o.shift())}catch(t){o.push(o.shift())}}(d);class u extends t.Plugin{static get[p(138)](){return p(159)}static get[p(155)](){const t=p;return[e.Notification,i.ClipboardPipeline,t(134)]}constructor(t){const e=p;super(t),this[e(154)]=null}async[p(133)](){const t=p,e=this[t(156)];e[t(145)][t(128)](t(151),{converterUrl:t(152),tokenUrl:(e[t(145)][t(157)](t(160))||{})[t(150)],formatting:{resets:t(142),defaults:t(142),styles:t(143)}}),e[t(146)][t(135)](t(151),new c(e));const{tokenUrl:r}=e[t(145)][t(157)](t(151));if(r){const{tokenUrl:o}=e[t(145)][t(157)](t(160))||{};this[t(154)]=r===o?e[t(132)][t(157)](t(134))[t(130)]:await e[t(132)][t(157)](t(134))[t(144)](r)}}[p(153)](){return this[p(154)]}}var h=g;function m(){var t=["requires","5379020VpOSpr","10082673YEjHME","ImportWord","2teaMmS","39823OGgeZi","36624ZENuhq","3497331MWoFYs","160RBrjYb","pluginName","34040080HRZcye","500URQPPQ","228295rDQKVe"];return(m=function(){return t})()}function g(t,e){var r=m();return(g=function(t,e){return r[t-=245]})(t,e)}!function(t,e){for(var r=g,o=t();;)try{if(725654===parseInt(r(256))/1+parseInt(r(248))/2*(-parseInt(r(251))/3)+-parseInt(r(245))/4+-parseInt(r(255))/5*(-parseInt(r(250))/6)+parseInt(r(249))/7*(parseInt(r(252))/8)+-parseInt(r(246))/9+parseInt(r(254))/10)break;o.push(o.shift())}catch(t){o.push(o.shift())}}(m);class f extends t.Plugin{static get[h(253)](){return h(247)}static get[h(257)](){return[u,n]}}function I(t,e){var r=v();return(I=function(t,e){return r[t-=353]})(t,e)}function v(){var t=["2118754hgLrgb","437015XEeDWW","2761220ziVlwf","6975198ZHoDrC","623763Ebpioi","686325tTBIGm","8SWczHP","4DvhEba","37890KJICvq","6ZVSRSr","60yPEzZk"];return(v=function(){return t})()}!function(t,e){for(var r=I,o=t();;)try{if(461436===parseInt(r(355))/1+parseInt(r(362))/2*(-parseInt(r(363))/3)+parseInt(r(361))/4*(-parseInt(r(359))/5)+parseInt(r(353))/6*(parseInt(r(358))/7)+-parseInt(r(360))/8*(parseInt(r(357))/9)+parseInt(r(356))/10+-parseInt(r(354))/11)break;o.push(o.shift())}catch(t){o.push(o.shift())}}(v)})(),(window.CKEditor5=window.CKEditor5||{}).importWord=o})();
5
+ */(()=>{var t={331:(t,e,r)=>{t.exports=r(237)("./src/clipboard.js")},782:(t,e,r)=>{t.exports=r(237)("./src/core.js")},783:(t,e,r)=>{t.exports=r(237)("./src/engine.js")},311:(t,e,r)=>{t.exports=r(237)("./src/ui.js")},584:(t,e,r)=>{t.exports=r(237)("./src/utils.js")},237:t=>{"use strict";t.exports=CKEditor5.dll}},e={};function r(o){var n=e[o];if(void 0!==n)return n.exports;var i=e[o]={exports:{}};return t[o](i,i.exports,r),i.exports}r.d=(t,e)=>{for(var o in e)r.o(e,o)&&!r.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:e[o]})},r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var o={};(()=>{"use strict";r.r(o),r.d(o,{ImportWord:()=>f,ImportWordEditing:()=>u,ImportWordUI:()=>n});var t=r(782),e=r(311);class n extends t.Plugin{static get pluginName(){return"ImportWordUI"}init(){const t=this.editor;t.ui.componentFactory.add("importWord",(()=>{const r=this._createButton(e.FileDialogButtonView),o=t.commands.get("importWord");return r.bind("isOn").to(o,"isBusy"),r.tooltip=!0,r})),t.ui.componentFactory.add("menuBar:importWord",(()=>this._createButton(e.MenuBarMenuListItemFileDialogButtonView)))}_createButton(t){const r=this.editor,o=r.locale.t,n=r.commands.get("importWord"),i=new t(r.locale),s=new e.SpinnerView;return i.set({acceptedType:"application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.openxmlformats-officedocument.wordprocessingml.template"}),i.set({icon:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="m14 0 5 4.5v8.892l-1.5-1.8V6.5h-5v-5h-8v3H3V0h11Zm0 2v3h3.3L14 2Z"/><path d="M10.74 18a2.76 2.76 0 0 1-.469-.5H3V19h9.25v-.374A2.737 2.737 0 0 1 10.74 18Z"/><path d="M8.5 6a1.5 1.5 0 0 1 1.493 1.356L10 7.5v7a1.5 1.5 0 0 1-1.356 1.493L8.5 16h-7a1.5 1.5 0 0 1-1.493-1.356L0 14.5v-7a1.5 1.5 0 0 1 1.356-1.493L1.5 6h7ZM7.483 8.795l-.042.088-.986 2.534-.947-2.528-.043-.092a.601.601 0 0 0-1.042.008l-.042.093-.883 2.465-.937-2.475-.042-.089a.6.6 0 0 0-1.107.42l.027.093 1.514 4 .044.092a.6.6 0 0 0 1.041-.01l.041-.092.88-2.458.925 2.467.046.096a.602.602 0 0 0 1.032 0l.043-.09 1.554-4 .028-.093a.6.6 0 0 0-1.104-.43v.001ZM11.674 15.407a.75.75 0 1 0 1.152.96L14 14.96V20h1.5v-5.04l1.174 1.408a.75.75 0 1 0 1.152-.96l-2.346-2.816a.95.95 0 0 0-1.46 0l-2.346 2.815Z"/></svg>\n'}),i.bind("isEnabled").to(n),i.bind("label").to(n,"isBusy",(t=>o(t?"Importing Word document":"Import from Word"))),s.bind("isVisible").to(n,"isBusy"),i.iconView.bind("isVisible").to(n,"isBusy",(t=>!t)),i.children.add(s),i.on("done",((t,e)=>{r.execute("importWord",e[0],{}),r.editing.view.focus()})),i}}var i=r(331),s=r(783),a=r(584);class c extends t.Command{constructor(t){super(t),this.set("isBusy",!1),this._importMarker=null,this._undoStepBatch=null,this._abortController=null,this.on("dataInsert",((e,r)=>{const o=new DataTransfer;o.setData("text/html",r.html);const n=this._importMarker.getRange();this.editor.model.enqueueChange(this._undoStepBatch,(e=>{this._importMarker.stopListening(),e.setSelection(n),t.editing.view.document.fire("clipboardInput",{dataTransfer:o})}))}),{priority:"low"})}refresh(){this.isEnabled=this._checkEnabled()}execute(t,e={}){if(this.isBusy)return Promise.resolve();const r=this.editor.config.get("importWord"),o={url:r.converterUrl,file:t,serviceConfig:{...e,formatting:r.formatting}};return this._prepareForImport(),this._sendImportRequest(o).then(this._handleImportResponse.bind(this)).catch(this._handleImportFailure.bind(this)).finally(this._cleanUpAfterImport.bind(this))}_checkEnabled(){if(this.isBusy)return!1;const t=this.editor.model,e=t.schema,r=t.document.selection,o=(0,a.first)(r.getSelectedBlocks());return!!o&&e.checkChild(o.parent,"paragraph")}_prepareForImport(){const t=this.editor,e=t.model,r=e.document.selection;this._abortController=new AbortController,this._undoStepBatch=t.model.createBatch({isUndoable:!0}),e.enqueueChange(this._undoStepBatch,(t=>{r.isCollapsed||e.deleteContent(r,{leaveUnmerged:!0});const o=r.getFirstPosition(),n=(0,a.first)(r.getSelectedBlocks());let i;i=n.is("element","paragraph")&&n.isEmpty?o:o.isAtStart?e.createPositionBefore(n):o.isAtEnd?e.createPositionAfter(n):t.split(o).position,this._importMarker=t.addMarker("importWord:"+(0,a.uid)(),{usingOperation:!1,affectsData:!1,range:new s.Range(i)}),this._importMarker.on("change:range",(()=>{"$graveyard"===this._importMarker.getRange().root.rootName&&this._abortController.abort()}))})),this.isBusy=!0,this.refresh()}_cleanUpAfterImport(){const t=this.editor.model;t.markers.has(this._importMarker)&&t.enqueueChange(this._undoStepBatch,(t=>{t.removeMarker(this._importMarker)})),this._importMarker=null,this._undoStepBatch=null,this._abortController=null,this.isBusy=!1,this.refresh()}_sendImportRequest({url:t,file:e,serviceConfig:r}){const o=this.editor.plugins.get("ImportWordEditing").getToken(),n=new FormData;n.set("config",JSON.stringify(r)),n.set("file",e);const i={method:"POST",headers:{},body:n,signal:this._abortController.signal};return o&&(i.headers.Authorization=o.value),fetch(t,i)}_handleImportResponse(t){return t.ok?t.json().then((t=>{this.editor.model.markers.has(this._importMarker)&&"$graveyard"!==this._importMarker.getRange().root.rootName&&this.fire("dataInsert",t)})):Promise.reject()}_handleImportFailure(){if(this._abortController.signal.aborted)return void(0,a.logWarning)("import-word-plugin-import-cancelled");const t=this.editor,e=(0,t.t)("An error occurred while importing the Word file.");t.plugins.get("Notification").showWarning(e),(0,a.logError)("import-word-plugin-conversion-failed")}}const d=l;function l(t,e){const r=p();return(l=function(t,e){return r[t-=211]})(t,e)}function p(){const t=["5831005uBTrKX","add","editor","plugins","2113191CGbKbJ","inline","337148HNoTdq","1058602YUvtbo","cloudServices","ImportWordEditing","requires","registerTokenUrl","pluginName","tokenUrl","132RVGhak","2548520RLiaTZ","importWord","_token","none","commands","176cPwwrX","get","https://docx-converter.cke-cs.com/v2/convert/docx-html","define","CloudServices","594568DnnMNj","9VezvXU","getToken","16gYibeV","init","config","token","684110piqltQ"];return(p=function(){return t})()}!function(t){const e=l,r=t();for(;;)try{if(796951===-parseInt(e(215))/1+-parseInt(e(233))/2*(-parseInt(e(234))/3)+-parseInt(e(223))/4+parseInt(e(241))/5+parseInt(e(222))/6*(parseInt(e(214))/7)+parseInt(e(236))/8*(parseInt(e(212))/9)+-parseInt(e(240))/10*(parseInt(e(228))/11))break;r.push(r.shift())}catch(t){r.push(r.shift())}}(p);class u extends t.Plugin{static get[d(220)](){return d(217)}static get[d(218)](){const t=d;return[e.Notification,i.ClipboardPipeline,t(232)]}constructor(t){const e=d;super(t),this[e(225)]=null}async[d(237)](){const t=d,e=this[t(243)];e[t(238)][t(231)](t(224),{converterUrl:t(230),tokenUrl:(e[t(238)][t(229)](t(216))||{})[t(221)],formatting:{resets:t(226),defaults:t(226),styles:t(213)}}),e[t(227)][t(242)](t(224),new c(e));const{tokenUrl:r}=e[t(238)][t(229)](t(224));if(r){const{tokenUrl:o}=e[t(238)][t(229)](t(216))||{};this[t(225)]=r===o?e[t(211)][t(229)](t(232))[t(239)]:await e[t(211)][t(229)](t(232))[t(219)](r)}}[d(235)](){return this[d(225)]}}var h=g;function m(){var t=["requires","563088LHvycW","124458oXpQDS","904dagqXF","42gxkIjA","517296mSEhfm","ImportWord","9237mlHgdV","29034126rfqbuN","8fzJbrX","16218jnYAhh","7440TWGKYI","6213190CMsJTC","pluginName"];return(m=function(){return t})()}function g(t,e){var r=m();return(g=function(t,e){return r[t-=235]})(t,e)}!function(t){for(var e=g,r=t();;)try{if(752588===parseInt(e(245))/1*(-parseInt(e(238))/2)+parseInt(e(236))/3*(parseInt(e(246))/4)+-parseInt(e(241))/5+-parseInt(e(244))/6*(-parseInt(e(247))/7)+-parseInt(e(248))/8+parseInt(e(239))/9*(-parseInt(e(240))/10)+parseInt(e(237))/11)break;r.push(r.shift())}catch(t){r.push(r.shift())}}(m);class f extends t.Plugin{static get[h(242)](){return h(235)}static get[h(243)](){return[u,n]}}function I(t,e){var r=v();return(I=function(t,e){return r[t-=238]})(t,e)}function v(){var t=["298965KHOQXn","117438WbBqNm","15TgEyUx","667996azTfUB","513044gutHYK","3917232tIrfSW","118781cSRJIQ","250748YlDcqx"];return(v=function(){return t})()}!function(t){for(var e=I,r=t();;)try{if(114184===-parseInt(e(242))/1+parseInt(e(243))/2+-parseInt(e(244))/3+-parseInt(e(240))/4+-parseInt(e(238))/5*(parseInt(e(245))/6)+-parseInt(e(239))/7+parseInt(e(241))/8)break;r.push(r.shift())}catch(t){r.push(r.shift())}}(v)})(),(window.CKEditor5=window.CKEditor5||{}).importWord=o})();
package/dist/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x3deda0,Command as _0x4a43b2}from'@ckeditor/ckeditor5-core/dist/index.js';import{FileDialogButtonView as _0x1e74a1,MenuBarMenuListItemFileDialogButtonView as _0x388d80,SpinnerView as _0x2a9539,Notification as _0xf11827}from'@ckeditor/ckeditor5-ui/dist/index.js';import{ClipboardPipeline as _0x5e6d50}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{Range as _0x428aff}from'@ckeditor/ckeditor5-engine/dist/index.js';import{first as _0x2d6c46,uid as _0x1dedb,logWarning as _0x5de0f2,logError as _0x52931f}from'@ckeditor/ckeditor5-utils/dist/index.js';class o extends _0x3deda0{static get['pluginName'](){return'ImportWordUI';}['init'](){const _0x30e5f0=this['editor'];_0x30e5f0['ui']['componentFactory']['add']('importWord',()=>{const _0x339af8=this['_createButton'](_0x1e74a1),_0xb1d145=_0x30e5f0['commands']['get']('importWord');return _0x339af8['bind']('isOn')['to'](_0xb1d145,'isBusy'),_0x339af8['tooltip']=!0x0,_0x339af8;}),_0x30e5f0['ui']['componentFactory']['add']('menuBar:importWord',()=>this['_createButton'](_0x388d80));}['_createButton'](_0x190b52){const _0x278743=this['editor'],t=_0x278743['locale']['t'],_0x4063be=_0x278743['commands']['get']('importWord'),_0x41fa71=new _0x190b52(_0x278743['locale']),_0x4340d8=new _0x2a9539();return _0x41fa71['set']({'acceptedType':'application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.openxmlformats-officedocument.wordprocessingml.template'}),_0x41fa71['set']({'icon':'<svg\x20viewBox=\x220\x200\x2020\x2020\x22\x20xmlns=\x22http://www.w3.org/2000/svg\x22><path\x20d=\x22m14\x200\x205\x204.5v8.892l-1.5-1.8V6.5h-5v-5h-8v3H3V0h11Zm0\x202v3h3.3L14\x202Z\x22/><path\x20d=\x22M10.74\x2018a2.76\x202.76\x200\x200\x201-.469-.5H3V19h9.25v-.374A2.737\x202.737\x200\x200\x201\x2010.74\x2018Z\x22/><path\x20d=\x22M8.5\x206a1.5\x201.5\x200\x200\x201\x201.493\x201.356L10\x207.5v7a1.5\x201.5\x200\x200\x201-1.356\x201.493L8.5\x2016h-7a1.5\x201.5\x200\x200\x201-1.493-1.356L0\x2014.5v-7a1.5\x201.5\x200\x200\x201\x201.356-1.493L1.5\x206h7ZM7.483\x208.795l-.042.088-.986\x202.534-.947-2.528-.043-.092a.601.601\x200\x200\x200-1.042.008l-.042.093-.883\x202.465-.937-2.475-.042-.089a.6.6\x200\x200\x200-1.107.42l.027.093\x201.514\x204\x20.044.092a.6.6\x200\x200\x200\x201.041-.01l.041-.092.88-2.458.925\x202.467.046.096a.602.602\x200\x200\x200\x201.032\x200l.043-.09\x201.554-4\x20.028-.093a.6.6\x200\x200\x200-1.104-.43v.001ZM11.674\x2015.407a.75.75\x200\x201\x200\x201.152.96L14\x2014.96V20h1.5v-5.04l1.174\x201.408a.75.75\x200\x201\x200\x201.152-.96l-2.346-2.816a.95.95\x200\x200\x200-1.46\x200l-2.346\x202.815Z\x22/></svg>\x0a'}),_0x41fa71['bind']('isEnabled')['to'](_0x4063be),_0x41fa71['bind']('label')['to'](_0x4063be,'isBusy',_0x19f61d=>t(_0x19f61d?'Importing\x20Word\x20document':'Import\x20from\x20Word')),_0x4340d8['bind']('isVisible')['to'](_0x4063be,'isBusy'),_0x41fa71['iconView']['bind']('isVisible')['to'](_0x4063be,'isBusy',_0x58ec78=>!_0x58ec78),_0x41fa71['children']['add'](_0x4340d8),_0x41fa71['on']('done',(_0x20a628,_0x426c3a)=>{_0x278743['execute']('importWord',_0x426c3a[0x0],{}),_0x278743['editing']['view']['focus']();}),_0x41fa71;}}class d extends _0x4a43b2{['_importMarker'];['_undoStepBatch'];['_abortController'];constructor(_0x285c3c){super(_0x285c3c),this['set']('isBusy',!0x1),this['_importMarker']=null,this['_undoStepBatch']=null,this['_abortController']=null,this['on']('dataInsert',(_0x2a6496,_0x2fcf56)=>{const _0x2587bf=new DataTransfer();_0x2587bf['setData']('text/html',_0x2fcf56['html']);const _0x4ba024=this['_importMarker']['getRange']();this['editor']['model']['enqueueChange'](this['_undoStepBatch'],_0x2972f7=>{this['_importMarker']['stopListening'](),_0x2972f7['setSelection'](_0x4ba024),_0x285c3c['editing']['view']['document']['fire']('clipboardInput',{'dataTransfer':_0x2587bf});});},{'priority':'low'});}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x284d9f,_0x5656f1={}){if(this['isBusy'])return Promise['resolve']();const _0x4f16c2=this['editor']['config']['get']('importWord'),_0x47b119={'url':_0x4f16c2['converterUrl'],'file':_0x284d9f,'serviceConfig':{..._0x5656f1,'formatting':_0x4f16c2['formatting']}};return this['_prepareForImport'](),this['_sendImportRequest'](_0x47b119)['then'](this['_handleImportResponse']['bind'](this))['catch'](this['_handleImportFailure']['bind'](this))['finally'](this['_cleanUpAfterImport']['bind'](this));}['_checkEnabled'](){if(this['isBusy'])return!0x1;const _0x37b107=this['editor']['model'],_0x17dd77=_0x37b107['schema'],_0x4f9c4e=_0x37b107['document']['selection'],_0x16ef1b=_0x2d6c46(_0x4f9c4e['getSelectedBlocks']());return!!_0x16ef1b&&_0x17dd77['checkChild'](_0x16ef1b['parent'],'paragraph');}['_prepareForImport'](){const _0x3f4da7=this['editor'],_0x12c514=_0x3f4da7['model'],_0x1695da=_0x12c514['document']['selection'];this['_abortController']=new AbortController(),this['_undoStepBatch']=_0x3f4da7['model']['createBatch']({'isUndoable':!0x0}),_0x12c514['enqueueChange'](this['_undoStepBatch'],_0x1335a9=>{_0x1695da['isCollapsed']||_0x12c514['deleteContent'](_0x1695da,{'leaveUnmerged':!0x0});const _0x3064aa=_0x1695da['getFirstPosition'](),_0x271d94=_0x2d6c46(_0x1695da['getSelectedBlocks']());let _0x41c993;_0x41c993=_0x271d94['is']('element','paragraph')&&_0x271d94['isEmpty']?_0x3064aa:_0x3064aa['isAtStart']?_0x12c514['createPositionBefore'](_0x271d94):_0x3064aa['isAtEnd']?_0x12c514['createPositionAfter'](_0x271d94):_0x1335a9['split'](_0x3064aa)['position'],this['_importMarker']=_0x1335a9['addMarker']('importWord:'+_0x1dedb(),{'usingOperation':!0x1,'affectsData':!0x1,'range':new _0x428aff(_0x41c993)}),this['_importMarker']['on']('change:range',()=>{'$graveyard'===this['_importMarker']['getRange']()['root']['rootName']&&this['_abortController']['abort']();});}),this['isBusy']=!0x0,this['refresh']();}['_cleanUpAfterImport'](){const _0x320cf5=this['editor']['model'];_0x320cf5['markers']['has'](this['_importMarker'])&&_0x320cf5['enqueueChange'](this['_undoStepBatch'],_0x28dcc8=>{_0x28dcc8['removeMarker'](this['_importMarker']);}),this['_importMarker']=null,this['_undoStepBatch']=null,this['_abortController']=null,this['isBusy']=!0x1,this['refresh']();}['_sendImportRequest']({url:_0x230775,file:_0x34c5cb,serviceConfig:_0x355a93}){const _0x508dab=this['editor']['plugins']['get']('ImportWordEditing')['getToken'](),_0x48c1e2=new FormData();_0x48c1e2['set']('config',JSON['stringify'](_0x355a93)),_0x48c1e2['set']('file',_0x34c5cb);const _0x17943c={'method':'POST','headers':{},'body':_0x48c1e2,'signal':this['_abortController']['signal']};return _0x508dab&&(_0x17943c['headers']['Authorization']=_0x508dab['value']),fetch(_0x230775,_0x17943c);}['_handleImportResponse'](_0x4698ba){return _0x4698ba['ok']?_0x4698ba['json']()['then'](_0x4fef75=>{if(!this['editor']['model']['markers']['has'](this['_importMarker']))return;'$graveyard'!==this['_importMarker']['getRange']()['root']['rootName']&&this['fire']('dataInsert',_0x4fef75);}):Promise['reject']();}['_handleImportFailure'](){if(this['_abortController']['signal']['aborted'])return void _0x5de0f2('import-word-plugin-import-cancelled');const _0x1e8bbb=this['editor'],_0x57a612=(0x0,_0x1e8bbb['t'])('An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.');_0x1e8bbb['plugins']['get']('Notification')['showWarning'](_0x57a612),_0x52931f('import-word-plugin-conversion-failed');}}class e extends _0x3deda0{['_token'];static get['pluginName'](){return'ImportWordEditing';}static get['requires'](){return[_0xf11827,_0x5e6d50,'CloudServices'];}constructor(_0xe73db9){super(_0xe73db9),this['_token']=null;}async['init'](){const _0x39972b=this['editor'];_0x39972b['config']['define']('importWord',{'converterUrl':'https://docx-converter.cke-cs.com/v2/convert/docx-html','tokenUrl':(_0x39972b['config']['get']('cloudServices')||{})['tokenUrl'],'formatting':{'resets':'none','defaults':'none','styles':'inline'}}),_0x39972b['commands']['add']('importWord',new d(_0x39972b));const {tokenUrl:_0x1d8629}=_0x39972b['config']['get']('importWord');if(_0x1d8629){const {tokenUrl:_0x3bab1a}=_0x39972b['config']['get']('cloudServices')||{};this['_token']=_0x1d8629===_0x3bab1a?_0x39972b['plugins']['get']('CloudServices')['token']:await _0x39972b['plugins']['get']('CloudServices')['registerTokenUrl'](_0x1d8629);}}['getToken'](){return this['_token'];}}class i extends _0x3deda0{static get['pluginName'](){return'ImportWord';}static get['requires'](){return[e,o];}}export{i as ImportWord,e as ImportWordEditing,o as ImportWordUI};
23
+ import{Plugin as _0x4f16fc,Command as _0x55fc23}from'@ckeditor/ckeditor5-core/dist/index.js';import{FileDialogButtonView as _0x21e195,MenuBarMenuListItemFileDialogButtonView as _0x26c4f9,SpinnerView as _0x22045c,Notification as _0x1f709e}from'@ckeditor/ckeditor5-ui/dist/index.js';import{ClipboardPipeline as _0x4b8a29}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{Range as _0x13dc59}from'@ckeditor/ckeditor5-engine/dist/index.js';import{first as _0x5f4aee,uid as _0x1befce,logWarning as _0x1fd27c,logError as _0x18531d}from'@ckeditor/ckeditor5-utils/dist/index.js';class o extends _0x4f16fc{static get['pluginName'](){return'ImportWordUI';}['init'](){const _0x1277dd=this['editor'];_0x1277dd['ui']['componentFactory']['add']('importWord',()=>{const _0x23bfe8=this['_createButton'](_0x21e195),_0x50e6c0=_0x1277dd['commands']['get']('importWord');return _0x23bfe8['bind']('isOn')['to'](_0x50e6c0,'isBusy'),_0x23bfe8['tooltip']=!0x0,_0x23bfe8;}),_0x1277dd['ui']['componentFactory']['add']('menuBar:importWord',()=>this['_createButton'](_0x26c4f9));}['_createButton'](_0x2d84d5){const _0x32f6c5=this['editor'],t=_0x32f6c5['locale']['t'],_0x336e81=_0x32f6c5['commands']['get']('importWord'),_0x14d5f4=new _0x2d84d5(_0x32f6c5['locale']),_0x4d16cf=new _0x22045c();return _0x14d5f4['set']({'acceptedType':'application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.openxmlformats-officedocument.wordprocessingml.template'}),_0x14d5f4['set']({'icon':'<svg\x20viewBox=\x220\x200\x2020\x2020\x22\x20xmlns=\x22http://www.w3.org/2000/svg\x22><path\x20d=\x22m14\x200\x205\x204.5v8.892l-1.5-1.8V6.5h-5v-5h-8v3H3V0h11Zm0\x202v3h3.3L14\x202Z\x22/><path\x20d=\x22M10.74\x2018a2.76\x202.76\x200\x200\x201-.469-.5H3V19h9.25v-.374A2.737\x202.737\x200\x200\x201\x2010.74\x2018Z\x22/><path\x20d=\x22M8.5\x206a1.5\x201.5\x200\x200\x201\x201.493\x201.356L10\x207.5v7a1.5\x201.5\x200\x200\x201-1.356\x201.493L8.5\x2016h-7a1.5\x201.5\x200\x200\x201-1.493-1.356L0\x2014.5v-7a1.5\x201.5\x200\x200\x201\x201.356-1.493L1.5\x206h7ZM7.483\x208.795l-.042.088-.986\x202.534-.947-2.528-.043-.092a.601.601\x200\x200\x200-1.042.008l-.042.093-.883\x202.465-.937-2.475-.042-.089a.6.6\x200\x200\x200-1.107.42l.027.093\x201.514\x204\x20.044.092a.6.6\x200\x200\x200\x201.041-.01l.041-.092.88-2.458.925\x202.467.046.096a.602.602\x200\x200\x200\x201.032\x200l.043-.09\x201.554-4\x20.028-.093a.6.6\x200\x200\x200-1.104-.43v.001ZM11.674\x2015.407a.75.75\x200\x201\x200\x201.152.96L14\x2014.96V20h1.5v-5.04l1.174\x201.408a.75.75\x200\x201\x200\x201.152-.96l-2.346-2.816a.95.95\x200\x200\x200-1.46\x200l-2.346\x202.815Z\x22/></svg>\x0a'}),_0x14d5f4['bind']('isEnabled')['to'](_0x336e81),_0x14d5f4['bind']('label')['to'](_0x336e81,'isBusy',_0x50ad59=>t(_0x50ad59?'Importing\x20Word\x20document':'Import\x20from\x20Word')),_0x4d16cf['bind']('isVisible')['to'](_0x336e81,'isBusy'),_0x14d5f4['iconView']['bind']('isVisible')['to'](_0x336e81,'isBusy',_0x38107d=>!_0x38107d),_0x14d5f4['children']['add'](_0x4d16cf),_0x14d5f4['on']('done',(_0x3bfae4,_0x1c5db1)=>{_0x32f6c5['execute']('importWord',_0x1c5db1[0x0],{}),_0x32f6c5['editing']['view']['focus']();}),_0x14d5f4;}}class d extends _0x55fc23{['_importMarker'];['_undoStepBatch'];['_abortController'];constructor(_0x32c716){super(_0x32c716),this['set']('isBusy',!0x1),this['_importMarker']=null,this['_undoStepBatch']=null,this['_abortController']=null,this['on']('dataInsert',(_0x3e37be,_0x52ff7c)=>{const _0x5d671f=new DataTransfer();_0x5d671f['setData']('text/html',_0x52ff7c['html']);const _0x4c8573=this['_importMarker']['getRange']();this['editor']['model']['enqueueChange'](this['_undoStepBatch'],_0x9a06dd=>{this['_importMarker']['stopListening'](),_0x9a06dd['setSelection'](_0x4c8573),_0x32c716['editing']['view']['document']['fire']('clipboardInput',{'dataTransfer':_0x5d671f});});},{'priority':'low'});}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x22950f,_0x5f1177={}){if(this['isBusy'])return Promise['resolve']();const _0x1077fe=this['editor']['config']['get']('importWord'),_0x527b1d={'url':_0x1077fe['converterUrl'],'file':_0x22950f,'serviceConfig':{..._0x5f1177,'formatting':_0x1077fe['formatting']}};return this['_prepareForImport'](),this['_sendImportRequest'](_0x527b1d)['then'](this['_handleImportResponse']['bind'](this))['catch'](this['_handleImportFailure']['bind'](this))['finally'](this['_cleanUpAfterImport']['bind'](this));}['_checkEnabled'](){if(this['isBusy'])return!0x1;const _0x32935e=this['editor']['model'],_0x23da3d=_0x32935e['schema'],_0x5599ef=_0x32935e['document']['selection'],_0x342b9a=_0x5f4aee(_0x5599ef['getSelectedBlocks']());return!!_0x342b9a&&_0x23da3d['checkChild'](_0x342b9a['parent'],'paragraph');}['_prepareForImport'](){const _0x224d93=this['editor'],_0x5a8b24=_0x224d93['model'],_0x1e6c67=_0x5a8b24['document']['selection'];this['_abortController']=new AbortController(),this['_undoStepBatch']=_0x224d93['model']['createBatch']({'isUndoable':!0x0}),_0x5a8b24['enqueueChange'](this['_undoStepBatch'],_0xe0fdba=>{_0x1e6c67['isCollapsed']||_0x5a8b24['deleteContent'](_0x1e6c67,{'leaveUnmerged':!0x0});const _0x16960b=_0x1e6c67['getFirstPosition'](),_0x1cd07d=_0x5f4aee(_0x1e6c67['getSelectedBlocks']());let _0x190b79;_0x190b79=_0x1cd07d['is']('element','paragraph')&&_0x1cd07d['isEmpty']?_0x16960b:_0x16960b['isAtStart']?_0x5a8b24['createPositionBefore'](_0x1cd07d):_0x16960b['isAtEnd']?_0x5a8b24['createPositionAfter'](_0x1cd07d):_0xe0fdba['split'](_0x16960b)['position'],this['_importMarker']=_0xe0fdba['addMarker']('importWord:'+_0x1befce(),{'usingOperation':!0x1,'affectsData':!0x1,'range':new _0x13dc59(_0x190b79)}),this['_importMarker']['on']('change:range',()=>{'$graveyard'===this['_importMarker']['getRange']()['root']['rootName']&&this['_abortController']['abort']();});}),this['isBusy']=!0x0,this['refresh']();}['_cleanUpAfterImport'](){const _0x4c2cf1=this['editor']['model'];_0x4c2cf1['markers']['has'](this['_importMarker'])&&_0x4c2cf1['enqueueChange'](this['_undoStepBatch'],_0x51d43f=>{_0x51d43f['removeMarker'](this['_importMarker']);}),this['_importMarker']=null,this['_undoStepBatch']=null,this['_abortController']=null,this['isBusy']=!0x1,this['refresh']();}['_sendImportRequest']({url:_0x87b339,file:_0x277648,serviceConfig:_0x211726}){const _0x2fc005=this['editor']['plugins']['get']('ImportWordEditing')['getToken'](),_0x5be4f1=new FormData();_0x5be4f1['set']('config',JSON['stringify'](_0x211726)),_0x5be4f1['set']('file',_0x277648);const _0x28ccc0={'method':'POST','headers':{},'body':_0x5be4f1,'signal':this['_abortController']['signal']};return _0x2fc005&&(_0x28ccc0['headers']['Authorization']=_0x2fc005['value']),fetch(_0x87b339,_0x28ccc0);}['_handleImportResponse'](_0x4bd63c){return _0x4bd63c['ok']?_0x4bd63c['json']()['then'](_0x3c1502=>{if(!this['editor']['model']['markers']['has'](this['_importMarker']))return;'$graveyard'!==this['_importMarker']['getRange']()['root']['rootName']&&this['fire']('dataInsert',_0x3c1502);}):Promise['reject']();}['_handleImportFailure'](){if(this['_abortController']['signal']['aborted'])return void _0x1fd27c('import-word-plugin-import-cancelled');const _0x2160f6=this['editor'],_0x50d630=(0x0,_0x2160f6['t'])('An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.');_0x2160f6['plugins']['get']('Notification')['showWarning'](_0x50d630),_0x18531d('import-word-plugin-conversion-failed');}}class e extends _0x4f16fc{['_token'];static get['pluginName'](){return'ImportWordEditing';}static get['requires'](){return[_0x1f709e,_0x4b8a29,'CloudServices'];}constructor(_0x100be0){super(_0x100be0),this['_token']=null;}async['init'](){const _0x2b8022=this['editor'];_0x2b8022['config']['define']('importWord',{'converterUrl':'https://docx-converter.cke-cs.com/v2/convert/docx-html','tokenUrl':(_0x2b8022['config']['get']('cloudServices')||{})['tokenUrl'],'formatting':{'resets':'none','defaults':'none','styles':'inline'}}),_0x2b8022['commands']['add']('importWord',new d(_0x2b8022));const {tokenUrl:_0x1a9ed1}=_0x2b8022['config']['get']('importWord');if(_0x1a9ed1){const {tokenUrl:_0x32ad30}=_0x2b8022['config']['get']('cloudServices')||{};this['_token']=_0x1a9ed1===_0x32ad30?_0x2b8022['plugins']['get']('CloudServices')['token']:await _0x2b8022['plugins']['get']('CloudServices')['registerTokenUrl'](_0x1a9ed1);}}['getToken'](){return this['_token'];}}class i extends _0x4f16fc{static get['pluginName'](){return'ImportWord';}static get['requires'](){return[e,o];}}export{i as ImportWord,e as ImportWordEditing,o as ImportWordUI};
@@ -3,6 +3,6 @@
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
 
6
- import type { Translations } from 'ckeditor5';
6
+ import type { Translations } from '@ckeditor/ckeditor5-utils';
7
7
  declare const translations: Translations;
8
8
  export default translations;
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'ar':{'dictionary':{'Import\x20from\x20Word':'استيراد\x20من\x20Word','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'حدث\x20خطأ\x20أثناء\x20استيراد\x20ملف\x20Word.','Importing\x20Word\x20document':'استيراد\x20مستند\x20Word'},'getPluralForm':_0x571756=>0x0==_0x571756?0x0:0x1==_0x571756?0x1:0x2==_0x571756?0x2:_0x571756%0x64>=0x3&&_0x571756%0x64<=0xa?0x3:_0x571756%0x64>=0xb&&_0x571756%0x64<=0x63?0x4:0x5}};
23
+ export default{'ar':{'dictionary':{'Import\x20from\x20Word':'استيراد\x20من\x20Word','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'حدث\x20خطأ\x20أثناء\x20استيراد\x20ملف\x20Word.','Importing\x20Word\x20document':'استيراد\x20مستند\x20Word'},'getPluralForm':_0x1ff409=>0x0==_0x1ff409?0x0:0x1==_0x1ff409?0x1:0x2==_0x1ff409?0x2:_0x1ff409%0x64>=0x3&&_0x1ff409%0x64<=0xa?0x3:_0x1ff409%0x64>=0xb&&_0x1ff409%0x64<=0x63?0x4:0x5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x3eb9b4=>{const {ar:{dictionary:_0x22c16d,getPluralForm:_0x51b88d}}={'ar':{'dictionary':{'Import\x20from\x20Word':'استيراد\x20من\x20Word','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'حدث\x20خطأ\x20أثناء\x20استيراد\x20ملف\x20Word.','Importing\x20Word\x20document':'استيراد\x20مستند\x20Word'},'getPluralForm':_0x44a3d4=>0x0==_0x44a3d4?0x0:0x1==_0x44a3d4?0x1:0x2==_0x44a3d4?0x2:_0x44a3d4%0x64>=0x3&&_0x44a3d4%0x64<=0xa?0x3:_0x44a3d4%0x64>=0xb&&_0x44a3d4%0x64<=0x63?0x4:0x5}};_0x3eb9b4['ar']||={'dictionary':{},'getPluralForm':null},_0x3eb9b4['ar']['dictionary']=Object['assign'](_0x3eb9b4['ar']['dictionary'],_0x22c16d),_0x3eb9b4['ar']['getPluralForm']=_0x51b88d;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x49dee6=>{const {ar:{dictionary:_0x3c2800,getPluralForm:_0x39ea6e}}={'ar':{'dictionary':{'Import\x20from\x20Word':'استيراد\x20من\x20Word','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'حدث\x20خطأ\x20أثناء\x20استيراد\x20ملف\x20Word.','Importing\x20Word\x20document':'استيراد\x20مستند\x20Word'},'getPluralForm':_0x1312db=>0x0==_0x1312db?0x0:0x1==_0x1312db?0x1:0x2==_0x1312db?0x2:_0x1312db%0x64>=0x3&&_0x1312db%0x64<=0xa?0x3:_0x1312db%0x64>=0xb&&_0x1312db%0x64<=0x63?0x4:0x5}};_0x49dee6['ar']||={'dictionary':{},'getPluralForm':null},_0x49dee6['ar']['dictionary']=Object['assign'](_0x49dee6['ar']['dictionary'],_0x3c2800),_0x49dee6['ar']['getPluralForm']=_0x39ea6e;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -3,6 +3,6 @@
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
 
6
- import type { Translations } from 'ckeditor5';
6
+ import type { Translations } from '@ckeditor/ckeditor5-utils';
7
7
  declare const translations: Translations;
8
8
  export default translations;
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'bg':{'dictionary':{'Import\x20from\x20Word':'Импортиране\x20от\x20Word','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Възникна\x20грешка\x20при\x20импортирането\x20на\x20Word\x20файла.','Importing\x20Word\x20document':'Въвеждане\x20на\x20документ\x20в\x20Word'},'getPluralForm':_0x123ffa=>0x1!=_0x123ffa}};
23
+ export default{'bg':{'dictionary':{'Import\x20from\x20Word':'Импортиране\x20от\x20Word','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Възникна\x20грешка\x20при\x20импортирането\x20на\x20Word\x20файла.','Importing\x20Word\x20document':'Въвеждане\x20на\x20документ\x20в\x20Word'},'getPluralForm':_0x1b2ee4=>0x1!=_0x1b2ee4}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x570b35=>{const {bg:{dictionary:_0x4afe7c,getPluralForm:_0x41b0e5}}={'bg':{'dictionary':{'Import\x20from\x20Word':'Импортиране\x20от\x20Word','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Възникна\x20грешка\x20при\x20импортирането\x20на\x20Word\x20файла.','Importing\x20Word\x20document':'Въвеждане\x20на\x20документ\x20в\x20Word'},'getPluralForm':_0x519003=>0x1!=_0x519003}};_0x570b35['bg']||={'dictionary':{},'getPluralForm':null},_0x570b35['bg']['dictionary']=Object['assign'](_0x570b35['bg']['dictionary'],_0x4afe7c),_0x570b35['bg']['getPluralForm']=_0x41b0e5;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x4f8a7c=>{const {bg:{dictionary:_0x21e1d5,getPluralForm:_0x3cfc70}}={'bg':{'dictionary':{'Import\x20from\x20Word':'Импортиране\x20от\x20Word','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Възникна\x20грешка\x20при\x20импортирането\x20на\x20Word\x20файла.','Importing\x20Word\x20document':'Въвеждане\x20на\x20документ\x20в\x20Word'},'getPluralForm':_0x384f26=>0x1!=_0x384f26}};_0x4f8a7c['bg']||={'dictionary':{},'getPluralForm':null},_0x4f8a7c['bg']['dictionary']=Object['assign'](_0x4f8a7c['bg']['dictionary'],_0x21e1d5),_0x4f8a7c['bg']['getPluralForm']=_0x3cfc70;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -3,6 +3,6 @@
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
 
6
- import type { Translations } from 'ckeditor5';
6
+ import type { Translations } from '@ckeditor/ckeditor5-utils';
7
7
  declare const translations: Translations;
8
8
  export default translations;
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'bn':{'dictionary':{'Import\x20from\x20Word':'ওয়ার্ড\x20থেকে\x20ইমপোর্ট\x20করুন','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'ওয়ার্ড\x20ফাইল\x20ইমপোর্ট\x20করার\x20সময়\x20একটি\x20ত্রুটি\x20ঘটেছে।','Importing\x20Word\x20document':'ওয়ার্ড\x20ডকুমেন্ট\x20ইম্পোর্ট\x20করা\x20হচ্ছে'},'getPluralForm':_0x163043=>0x1!=_0x163043}};
23
+ export default{'bn':{'dictionary':{'Import\x20from\x20Word':'ওয়ার্ড\x20থেকে\x20ইমপোর্ট\x20করুন','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'ওয়ার্ড\x20ফাইল\x20ইমপোর্ট\x20করার\x20সময়\x20একটি\x20ত্রুটি\x20ঘটেছে।','Importing\x20Word\x20document':'ওয়ার্ড\x20ডকুমেন্ট\x20ইম্পোর্ট\x20করা\x20হচ্ছে'},'getPluralForm':_0x30bd15=>0x1!=_0x30bd15}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x204119=>{const {bn:{dictionary:_0x40dbfa,getPluralForm:_0x53eb40}}={'bn':{'dictionary':{'Import\x20from\x20Word':'ওয়ার্ড\x20থেকে\x20ইমপোর্ট\x20করুন','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'ওয়ার্ড\x20ফাইল\x20ইমপোর্ট\x20করার\x20সময়\x20একটি\x20ত্রুটি\x20ঘটেছে।','Importing\x20Word\x20document':'ওয়ার্ড\x20ডকুমেন্ট\x20ইম্পোর্ট\x20করা\x20হচ্ছে'},'getPluralForm':_0x40096c=>0x1!=_0x40096c}};_0x204119['bn']||={'dictionary':{},'getPluralForm':null},_0x204119['bn']['dictionary']=Object['assign'](_0x204119['bn']['dictionary'],_0x40dbfa),_0x204119['bn']['getPluralForm']=_0x53eb40;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x19e91a=>{const {bn:{dictionary:_0xff34f1,getPluralForm:_0x41f8a2}}={'bn':{'dictionary':{'Import\x20from\x20Word':'ওয়ার্ড\x20থেকে\x20ইমপোর্ট\x20করুন','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'ওয়ার্ড\x20ফাইল\x20ইমপোর্ট\x20করার\x20সময়\x20একটি\x20ত্রুটি\x20ঘটেছে।','Importing\x20Word\x20document':'ওয়ার্ড\x20ডকুমেন্ট\x20ইম্পোর্ট\x20করা\x20হচ্ছে'},'getPluralForm':_0x4243c5=>0x1!=_0x4243c5}};_0x19e91a['bn']||={'dictionary':{},'getPluralForm':null},_0x19e91a['bn']['dictionary']=Object['assign'](_0x19e91a['bn']['dictionary'],_0xff34f1),_0x19e91a['bn']['getPluralForm']=_0x41f8a2;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -3,6 +3,6 @@
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
 
6
- import type { Translations } from 'ckeditor5';
6
+ import type { Translations } from '@ckeditor/ckeditor5-utils';
7
7
  declare const translations: Translations;
8
8
  export default translations;
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'ca':{'dictionary':{'Import\x20from\x20Word':'Importeu\x20de\x20Word','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Hi\x20ha\x20hagut\x20un\x20error\x20mentre\x20s\x27importava\x20l\x27arxiu\x20de\x20Word.','Importing\x20Word\x20document':'Important\x20document\x20de\x20Word'},'getPluralForm':_0x487810=>0x1!=_0x487810}};
23
+ export default{'ca':{'dictionary':{'Import\x20from\x20Word':'Importeu\x20de\x20Word','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Hi\x20ha\x20hagut\x20un\x20error\x20mentre\x20s\x27importava\x20l\x27arxiu\x20de\x20Word.','Importing\x20Word\x20document':'Important\x20document\x20de\x20Word'},'getPluralForm':_0x392a83=>0x1!=_0x392a83}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x50708=>{const {ca:{dictionary:_0x348646,getPluralForm:_0x1971a9}}={'ca':{'dictionary':{'Import\x20from\x20Word':'Importeu\x20de\x20Word','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Hi\x20ha\x20hagut\x20un\x20error\x20mentre\x20s\x27importava\x20l\x27arxiu\x20de\x20Word.','Importing\x20Word\x20document':'Important\x20document\x20de\x20Word'},'getPluralForm':_0x345a36=>0x1!=_0x345a36}};_0x50708['ca']||={'dictionary':{},'getPluralForm':null},_0x50708['ca']['dictionary']=Object['assign'](_0x50708['ca']['dictionary'],_0x348646),_0x50708['ca']['getPluralForm']=_0x1971a9;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x4f0460=>{const {ca:{dictionary:_0x3194f2,getPluralForm:_0x360378}}={'ca':{'dictionary':{'Import\x20from\x20Word':'Importeu\x20de\x20Word','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Hi\x20ha\x20hagut\x20un\x20error\x20mentre\x20s\x27importava\x20l\x27arxiu\x20de\x20Word.','Importing\x20Word\x20document':'Important\x20document\x20de\x20Word'},'getPluralForm':_0x1e5468=>0x1!=_0x1e5468}};_0x4f0460['ca']||={'dictionary':{},'getPluralForm':null},_0x4f0460['ca']['dictionary']=Object['assign'](_0x4f0460['ca']['dictionary'],_0x3194f2),_0x4f0460['ca']['getPluralForm']=_0x360378;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -3,6 +3,6 @@
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
 
6
- import type { Translations } from 'ckeditor5';
6
+ import type { Translations } from '@ckeditor/ckeditor5-utils';
7
7
  declare const translations: Translations;
8
8
  export default translations;
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'cs':{'dictionary':{'Import\x20from\x20Word':'Importovat\x20z\x20Wordu','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Při\x20importu\x20souboru\x20aplikace\x20Word\x20došlo\x20k\x20chybě.','Importing\x20Word\x20document':'Import\x20dokumentu\x20aplikace\x20Word'},'getPluralForm':_0x8a2cd8=>0x1==_0x8a2cd8&&_0x8a2cd8%0x1==0x0?0x0:_0x8a2cd8>=0x2&&_0x8a2cd8<=0x4&&_0x8a2cd8%0x1==0x0?0x1:_0x8a2cd8%0x1!=0x0?0x2:0x3}};
23
+ export default{'cs':{'dictionary':{'Import\x20from\x20Word':'Importovat\x20z\x20Wordu','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Při\x20importu\x20souboru\x20aplikace\x20Word\x20došlo\x20k\x20chybě.','Importing\x20Word\x20document':'Import\x20dokumentu\x20aplikace\x20Word'},'getPluralForm':_0x42b364=>0x1==_0x42b364&&_0x42b364%0x1==0x0?0x0:_0x42b364>=0x2&&_0x42b364<=0x4&&_0x42b364%0x1==0x0?0x1:_0x42b364%0x1!=0x0?0x2:0x3}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x11a7ad=>{const {cs:{dictionary:_0x44a8e7,getPluralForm:_0x1b8eee}}={'cs':{'dictionary':{'Import\x20from\x20Word':'Importovat\x20z\x20Wordu','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Při\x20importu\x20souboru\x20aplikace\x20Word\x20došlo\x20k\x20chybě.','Importing\x20Word\x20document':'Import\x20dokumentu\x20aplikace\x20Word'},'getPluralForm':_0x5e560e=>0x1==_0x5e560e&&_0x5e560e%0x1==0x0?0x0:_0x5e560e>=0x2&&_0x5e560e<=0x4&&_0x5e560e%0x1==0x0?0x1:_0x5e560e%0x1!=0x0?0x2:0x3}};_0x11a7ad['cs']||={'dictionary':{},'getPluralForm':null},_0x11a7ad['cs']['dictionary']=Object['assign'](_0x11a7ad['cs']['dictionary'],_0x44a8e7),_0x11a7ad['cs']['getPluralForm']=_0x1b8eee;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x25e96f=>{const {cs:{dictionary:_0x11f7ef,getPluralForm:_0x50849b}}={'cs':{'dictionary':{'Import\x20from\x20Word':'Importovat\x20z\x20Wordu','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Při\x20importu\x20souboru\x20aplikace\x20Word\x20došlo\x20k\x20chybě.','Importing\x20Word\x20document':'Import\x20dokumentu\x20aplikace\x20Word'},'getPluralForm':_0x490ad0=>0x1==_0x490ad0&&_0x490ad0%0x1==0x0?0x0:_0x490ad0>=0x2&&_0x490ad0<=0x4&&_0x490ad0%0x1==0x0?0x1:_0x490ad0%0x1!=0x0?0x2:0x3}};_0x25e96f['cs']||={'dictionary':{},'getPluralForm':null},_0x25e96f['cs']['dictionary']=Object['assign'](_0x25e96f['cs']['dictionary'],_0x11f7ef),_0x25e96f['cs']['getPluralForm']=_0x50849b;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -3,6 +3,6 @@
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
 
6
- import type { Translations } from 'ckeditor5';
6
+ import type { Translations } from '@ckeditor/ckeditor5-utils';
7
7
  declare const translations: Translations;
8
8
  export default translations;
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'da':{'dictionary':{'Import\x20from\x20Word':'Importér\x20fra\x20Word','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Der\x20opstod\x20en\x20fejl\x20unde\x20rimporteringen\x20af\x20Word-filen.','Importing\x20Word\x20document':'Import\x20af\x20Word-dokument'},'getPluralForm':_0x440288=>0x1!=_0x440288}};
23
+ export default{'da':{'dictionary':{'Import\x20from\x20Word':'Importér\x20fra\x20Word','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Der\x20opstod\x20en\x20fejl\x20unde\x20rimporteringen\x20af\x20Word-filen.','Importing\x20Word\x20document':'Import\x20af\x20Word-dokument'},'getPluralForm':_0x5d783=>0x1!=_0x5d783}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x33d2f7=>{const {da:{dictionary:_0x54018b,getPluralForm:_0x1711d1}}={'da':{'dictionary':{'Import\x20from\x20Word':'Importér\x20fra\x20Word','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Der\x20opstod\x20en\x20fejl\x20unde\x20rimporteringen\x20af\x20Word-filen.','Importing\x20Word\x20document':'Import\x20af\x20Word-dokument'},'getPluralForm':_0x5c9797=>0x1!=_0x5c9797}};_0x33d2f7['da']||={'dictionary':{},'getPluralForm':null},_0x33d2f7['da']['dictionary']=Object['assign'](_0x33d2f7['da']['dictionary'],_0x54018b),_0x33d2f7['da']['getPluralForm']=_0x1711d1;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x513d52=>{const {da:{dictionary:_0x3245b5,getPluralForm:_0x50d5c2}}={'da':{'dictionary':{'Import\x20from\x20Word':'Importér\x20fra\x20Word','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Der\x20opstod\x20en\x20fejl\x20unde\x20rimporteringen\x20af\x20Word-filen.','Importing\x20Word\x20document':'Import\x20af\x20Word-dokument'},'getPluralForm':_0x28b922=>0x1!=_0x28b922}};_0x513d52['da']||={'dictionary':{},'getPluralForm':null},_0x513d52['da']['dictionary']=Object['assign'](_0x513d52['da']['dictionary'],_0x3245b5),_0x513d52['da']['getPluralForm']=_0x50d5c2;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -3,6 +3,6 @@
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
 
6
- import type { Translations } from 'ckeditor5';
6
+ import type { Translations } from '@ckeditor/ckeditor5-utils';
7
7
  declare const translations: Translations;
8
8
  export default translations;
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'de':{'dictionary':{'Import\x20from\x20Word':'Aus\x20Word\x20importieren','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Beim\x20Importieren\x20der\x20Word-Datei\x20ist\x20ein\x20Fehler\x20aufgetreten.','Importing\x20Word\x20document':'Word-Dokument\x20importieren'},'getPluralForm':_0x4e3c54=>0x1!=_0x4e3c54}};
23
+ export default{'de':{'dictionary':{'Import\x20from\x20Word':'Aus\x20Word\x20importieren','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Beim\x20Importieren\x20der\x20Word-Datei\x20ist\x20ein\x20Fehler\x20aufgetreten.','Importing\x20Word\x20document':'Word-Dokument\x20importieren'},'getPluralForm':_0x562ee7=>0x1!=_0x562ee7}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0xf9036c=>{const {de:{dictionary:_0xe27244,getPluralForm:_0x3678e5}}={'de':{'dictionary':{'Import\x20from\x20Word':'Aus\x20Word\x20importieren','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Beim\x20Importieren\x20der\x20Word-Datei\x20ist\x20ein\x20Fehler\x20aufgetreten.','Importing\x20Word\x20document':'Word-Dokument\x20importieren'},'getPluralForm':_0x13d34b=>0x1!=_0x13d34b}};_0xf9036c['de']||={'dictionary':{},'getPluralForm':null},_0xf9036c['de']['dictionary']=Object['assign'](_0xf9036c['de']['dictionary'],_0xe27244),_0xf9036c['de']['getPluralForm']=_0x3678e5;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x54ba34=>{const {de:{dictionary:_0x520d70,getPluralForm:_0x28805a}}={'de':{'dictionary':{'Import\x20from\x20Word':'Aus\x20Word\x20importieren','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Beim\x20Importieren\x20der\x20Word-Datei\x20ist\x20ein\x20Fehler\x20aufgetreten.','Importing\x20Word\x20document':'Word-Dokument\x20importieren'},'getPluralForm':_0x5b1528=>0x1!=_0x5b1528}};_0x54ba34['de']||={'dictionary':{},'getPluralForm':null},_0x54ba34['de']['dictionary']=Object['assign'](_0x54ba34['de']['dictionary'],_0x520d70),_0x54ba34['de']['getPluralForm']=_0x28805a;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -3,6 +3,6 @@
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
 
6
- import type { Translations } from 'ckeditor5';
6
+ import type { Translations } from '@ckeditor/ckeditor5-utils';
7
7
  declare const translations: Translations;
8
8
  export default translations;
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'el':{'dictionary':{'Import\x20from\x20Word':'Εισαγωγή\x20από\x20Word','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Παρουσιάστηκε\x20σφάλμα\x20κατά\x20την\x20εισαγωγή\x20του\x20αρχείου\x20Word.','Importing\x20Word\x20document':'Εισαγωγή\x20εγγράφου\x20Κειμένου'},'getPluralForm':_0x57ce15=>0x1!=_0x57ce15}};
23
+ export default{'el':{'dictionary':{'Import\x20from\x20Word':'Εισαγωγή\x20από\x20Word','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Παρουσιάστηκε\x20σφάλμα\x20κατά\x20την\x20εισαγωγή\x20του\x20αρχείου\x20Word.','Importing\x20Word\x20document':'Εισαγωγή\x20εγγράφου\x20Κειμένου'},'getPluralForm':_0x1ba550=>0x1!=_0x1ba550}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x2c1825=>{const {el:{dictionary:_0x540fc0,getPluralForm:_0x365b26}}={'el':{'dictionary':{'Import\x20from\x20Word':'Εισαγωγή\x20από\x20Word','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Παρουσιάστηκε\x20σφάλμα\x20κατά\x20την\x20εισαγωγή\x20του\x20αρχείου\x20Word.','Importing\x20Word\x20document':'Εισαγωγή\x20εγγράφου\x20Κειμένου'},'getPluralForm':_0xb782d5=>0x1!=_0xb782d5}};_0x2c1825['el']||={'dictionary':{},'getPluralForm':null},_0x2c1825['el']['dictionary']=Object['assign'](_0x2c1825['el']['dictionary'],_0x540fc0),_0x2c1825['el']['getPluralForm']=_0x365b26;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x37523b=>{const {el:{dictionary:_0x481188,getPluralForm:_0x29e5f1}}={'el':{'dictionary':{'Import\x20from\x20Word':'Εισαγωγή\x20από\x20Word','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Παρουσιάστηκε\x20σφάλμα\x20κατά\x20την\x20εισαγωγή\x20του\x20αρχείου\x20Word.','Importing\x20Word\x20document':'Εισαγωγή\x20εγγράφου\x20Κειμένου'},'getPluralForm':_0x4aa1d7=>0x1!=_0x4aa1d7}};_0x37523b['el']||={'dictionary':{},'getPluralForm':null},_0x37523b['el']['dictionary']=Object['assign'](_0x37523b['el']['dictionary'],_0x481188),_0x37523b['el']['getPluralForm']=_0x29e5f1;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -3,6 +3,6 @@
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
 
6
- import type { Translations } from 'ckeditor5';
6
+ import type { Translations } from '@ckeditor/ckeditor5-utils';
7
7
  declare const translations: Translations;
8
8
  export default translations;
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'en-au':{'dictionary':{'Import\x20from\x20Word':'Import\x20from\x20Word','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.','Importing\x20Word\x20document':''},'getPluralForm':_0x120e5b=>0x1!=_0x120e5b}};
23
+ export default{'en-au':{'dictionary':{'Import\x20from\x20Word':'Import\x20from\x20Word','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.','Importing\x20Word\x20document':''},'getPluralForm':_0x3d9a2e=>0x1!=_0x3d9a2e}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x39e925=>{const {'en-au':{dictionary:_0x173b86,getPluralForm:_0xb82e0}}={'en-au':{'dictionary':{'Import\x20from\x20Word':'Import\x20from\x20Word','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.','Importing\x20Word\x20document':''},'getPluralForm':_0x2e6a67=>0x1!=_0x2e6a67}};_0x39e925['en-au']||={'dictionary':{},'getPluralForm':null},_0x39e925['en-au']['dictionary']=Object['assign'](_0x39e925['en-au']['dictionary'],_0x173b86),_0x39e925['en-au']['getPluralForm']=_0xb82e0;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x396661=>{const {'en-au':{dictionary:_0x11bbbe,getPluralForm:_0xf84763}}={'en-au':{'dictionary':{'Import\x20from\x20Word':'Import\x20from\x20Word','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.','Importing\x20Word\x20document':''},'getPluralForm':_0xcf1e76=>0x1!=_0xcf1e76}};_0x396661['en-au']||={'dictionary':{},'getPluralForm':null},_0x396661['en-au']['dictionary']=Object['assign'](_0x396661['en-au']['dictionary'],_0x11bbbe),_0x396661['en-au']['getPluralForm']=_0xf84763;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -3,6 +3,6 @@
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
 
6
- import type { Translations } from 'ckeditor5';
6
+ import type { Translations } from '@ckeditor/ckeditor5-utils';
7
7
  declare const translations: Translations;
8
8
  export default translations;
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0xceedc2=>{const {en:{dictionary:_0x10d547,getPluralForm:_0x105d32}}={'en':{'dictionary':{'Import\x20from\x20Word':'Import\x20from\x20Word','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.','Importing\x20Word\x20document':'Importing\x20Word\x20document'},'getPluralForm':null}};_0xceedc2['en']||={'dictionary':{},'getPluralForm':null},_0xceedc2['en']['dictionary']=Object['assign'](_0xceedc2['en']['dictionary'],_0x10d547),_0xceedc2['en']['getPluralForm']=_0x105d32;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x1caaa0=>{const {en:{dictionary:_0x55bbc7,getPluralForm:_0x50733c}}={'en':{'dictionary':{'Import\x20from\x20Word':'Import\x20from\x20Word','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.','Importing\x20Word\x20document':'Importing\x20Word\x20document'},'getPluralForm':null}};_0x1caaa0['en']||={'dictionary':{},'getPluralForm':null},_0x1caaa0['en']['dictionary']=Object['assign'](_0x1caaa0['en']['dictionary'],_0x55bbc7),_0x1caaa0['en']['getPluralForm']=_0x50733c;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -3,6 +3,6 @@
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
 
6
- import type { Translations } from 'ckeditor5';
6
+ import type { Translations } from '@ckeditor/ckeditor5-utils';
7
7
  declare const translations: Translations;
8
8
  export default translations;
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'es':{'dictionary':{'Import\x20from\x20Word':'Importar\x20desde\x20Word','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Se\x20ha\x20producido\x20un\x20error\x20al\x20importar\x20el\x20archivo\x20de\x20Word.','Importing\x20Word\x20document':'Importando\x20documento\x20de\x20Word'},'getPluralForm':_0x19cebb=>0x1==_0x19cebb?0x0:0x0!=_0x19cebb&&_0x19cebb%0xf4240==0x0?0x1:0x2}};
23
+ export default{'es':{'dictionary':{'Import\x20from\x20Word':'Importar\x20desde\x20Word','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Se\x20ha\x20producido\x20un\x20error\x20al\x20importar\x20el\x20archivo\x20de\x20Word.','Importing\x20Word\x20document':'Importando\x20documento\x20de\x20Word'},'getPluralForm':_0x369c60=>0x1==_0x369c60?0x0:0x0!=_0x369c60&&_0x369c60%0xf4240==0x0?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x2f1fa8=>{const {es:{dictionary:_0x239b33,getPluralForm:_0x581b39}}={'es':{'dictionary':{'Import\x20from\x20Word':'Importar\x20desde\x20Word','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Se\x20ha\x20producido\x20un\x20error\x20al\x20importar\x20el\x20archivo\x20de\x20Word.','Importing\x20Word\x20document':'Importando\x20documento\x20de\x20Word'},'getPluralForm':_0x26e143=>0x1==_0x26e143?0x0:0x0!=_0x26e143&&_0x26e143%0xf4240==0x0?0x1:0x2}};_0x2f1fa8['es']||={'dictionary':{},'getPluralForm':null},_0x2f1fa8['es']['dictionary']=Object['assign'](_0x2f1fa8['es']['dictionary'],_0x239b33),_0x2f1fa8['es']['getPluralForm']=_0x581b39;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x1cc358=>{const {es:{dictionary:_0x5449a0,getPluralForm:_0x36960d}}={'es':{'dictionary':{'Import\x20from\x20Word':'Importar\x20desde\x20Word','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Se\x20ha\x20producido\x20un\x20error\x20al\x20importar\x20el\x20archivo\x20de\x20Word.','Importing\x20Word\x20document':'Importando\x20documento\x20de\x20Word'},'getPluralForm':_0x1bc568=>0x1==_0x1bc568?0x0:0x0!=_0x1bc568&&_0x1bc568%0xf4240==0x0?0x1:0x2}};_0x1cc358['es']||={'dictionary':{},'getPluralForm':null},_0x1cc358['es']['dictionary']=Object['assign'](_0x1cc358['es']['dictionary'],_0x5449a0),_0x1cc358['es']['getPluralForm']=_0x36960d;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -3,6 +3,6 @@
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
 
6
- import type { Translations } from 'ckeditor5';
6
+ import type { Translations } from '@ckeditor/ckeditor5-utils';
7
7
  declare const translations: Translations;
8
8
  export default translations;
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'et':{'dictionary':{'Import\x20from\x20Word':'Wordist\x20importimine','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Wordi\x20faili\x20importimisel\x20tekkis\x20viga.','Importing\x20Word\x20document':'Word\x20dokumendi\x20importimine'},'getPluralForm':_0x166cb5=>0x1!=_0x166cb5}};
23
+ export default{'et':{'dictionary':{'Import\x20from\x20Word':'Wordist\x20importimine','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Wordi\x20faili\x20importimisel\x20tekkis\x20viga.','Importing\x20Word\x20document':'Word\x20dokumendi\x20importimine'},'getPluralForm':_0x1b89f0=>0x1!=_0x1b89f0}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x6eaad3=>{const {et:{dictionary:_0x341183,getPluralForm:_0x511bc2}}={'et':{'dictionary':{'Import\x20from\x20Word':'Wordist\x20importimine','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Wordi\x20faili\x20importimisel\x20tekkis\x20viga.','Importing\x20Word\x20document':'Word\x20dokumendi\x20importimine'},'getPluralForm':_0xecab9a=>0x1!=_0xecab9a}};_0x6eaad3['et']||={'dictionary':{},'getPluralForm':null},_0x6eaad3['et']['dictionary']=Object['assign'](_0x6eaad3['et']['dictionary'],_0x341183),_0x6eaad3['et']['getPluralForm']=_0x511bc2;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x88c4a2=>{const {et:{dictionary:_0x26cee6,getPluralForm:_0x241db5}}={'et':{'dictionary':{'Import\x20from\x20Word':'Wordist\x20importimine','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Wordi\x20faili\x20importimisel\x20tekkis\x20viga.','Importing\x20Word\x20document':'Word\x20dokumendi\x20importimine'},'getPluralForm':_0x130a3c=>0x1!=_0x130a3c}};_0x88c4a2['et']||={'dictionary':{},'getPluralForm':null},_0x88c4a2['et']['dictionary']=Object['assign'](_0x88c4a2['et']['dictionary'],_0x26cee6),_0x88c4a2['et']['getPluralForm']=_0x241db5;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -3,6 +3,6 @@
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
 
6
- import type { Translations } from 'ckeditor5';
6
+ import type { Translations } from '@ckeditor/ckeditor5-utils';
7
7
  declare const translations: Translations;
8
8
  export default translations;
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'fi':{'dictionary':{'Import\x20from\x20Word':'Tuo\x20Wordista','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Word-tiedoston\x20tuomisessa\x20tapahtui\x20virhe.','Importing\x20Word\x20document':'Tuodaan\x20Word-asiakirja'},'getPluralForm':_0x52a9d1=>0x1!=_0x52a9d1}};
23
+ export default{'fi':{'dictionary':{'Import\x20from\x20Word':'Tuo\x20Wordista','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Word-tiedoston\x20tuomisessa\x20tapahtui\x20virhe.','Importing\x20Word\x20document':'Tuodaan\x20Word-asiakirja'},'getPluralForm':_0x5372fa=>0x1!=_0x5372fa}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x199509=>{const {fi:{dictionary:_0x4494d6,getPluralForm:_0x29cbd7}}={'fi':{'dictionary':{'Import\x20from\x20Word':'Tuo\x20Wordista','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Word-tiedoston\x20tuomisessa\x20tapahtui\x20virhe.','Importing\x20Word\x20document':'Tuodaan\x20Word-asiakirja'},'getPluralForm':_0x46a8c3=>0x1!=_0x46a8c3}};_0x199509['fi']||={'dictionary':{},'getPluralForm':null},_0x199509['fi']['dictionary']=Object['assign'](_0x199509['fi']['dictionary'],_0x4494d6),_0x199509['fi']['getPluralForm']=_0x29cbd7;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x306b0b=>{const {fi:{dictionary:_0x1420de,getPluralForm:_0x3ae3be}}={'fi':{'dictionary':{'Import\x20from\x20Word':'Tuo\x20Wordista','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Word-tiedoston\x20tuomisessa\x20tapahtui\x20virhe.','Importing\x20Word\x20document':'Tuodaan\x20Word-asiakirja'},'getPluralForm':_0x16869a=>0x1!=_0x16869a}};_0x306b0b['fi']||={'dictionary':{},'getPluralForm':null},_0x306b0b['fi']['dictionary']=Object['assign'](_0x306b0b['fi']['dictionary'],_0x1420de),_0x306b0b['fi']['getPluralForm']=_0x3ae3be;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -3,6 +3,6 @@
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
 
6
- import type { Translations } from 'ckeditor5';
6
+ import type { Translations } from '@ckeditor/ckeditor5-utils';
7
7
  declare const translations: Translations;
8
8
  export default translations;
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'fr':{'dictionary':{'Import\x20from\x20Word':'Importer\x20depuis\x20Word','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Une\x20erreur\x20s\x27est\x20produite\x20lors\x20de\x20l\x27importation\x20du\x20fichier\x20Word.','Importing\x20Word\x20document':'Importation\x20d\x27un\x20document\x20Word'},'getPluralForm':_0x3e1bcd=>0x0==_0x3e1bcd||0x1==_0x3e1bcd?0x0:0x0!=_0x3e1bcd&&_0x3e1bcd%0xf4240==0x0?0x1:0x2}};
23
+ export default{'fr':{'dictionary':{'Import\x20from\x20Word':'Importer\x20depuis\x20Word','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Une\x20erreur\x20s\x27est\x20produite\x20lors\x20de\x20l\x27importation\x20du\x20fichier\x20Word.','Importing\x20Word\x20document':'Importation\x20d\x27un\x20document\x20Word'},'getPluralForm':_0x5f1aec=>0x0==_0x5f1aec||0x1==_0x5f1aec?0x0:0x0!=_0x5f1aec&&_0x5f1aec%0xf4240==0x0?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x55db6d=>{const {fr:{dictionary:_0x2313be,getPluralForm:_0xb28002}}={'fr':{'dictionary':{'Import\x20from\x20Word':'Importer\x20depuis\x20Word','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Une\x20erreur\x20s\x27est\x20produite\x20lors\x20de\x20l\x27importation\x20du\x20fichier\x20Word.','Importing\x20Word\x20document':'Importation\x20d\x27un\x20document\x20Word'},'getPluralForm':_0x10fb61=>0x0==_0x10fb61||0x1==_0x10fb61?0x0:0x0!=_0x10fb61&&_0x10fb61%0xf4240==0x0?0x1:0x2}};_0x55db6d['fr']||={'dictionary':{},'getPluralForm':null},_0x55db6d['fr']['dictionary']=Object['assign'](_0x55db6d['fr']['dictionary'],_0x2313be),_0x55db6d['fr']['getPluralForm']=_0xb28002;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x54b6e3=>{const {fr:{dictionary:_0x259dba,getPluralForm:_0x17b953}}={'fr':{'dictionary':{'Import\x20from\x20Word':'Importer\x20depuis\x20Word','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Une\x20erreur\x20s\x27est\x20produite\x20lors\x20de\x20l\x27importation\x20du\x20fichier\x20Word.','Importing\x20Word\x20document':'Importation\x20d\x27un\x20document\x20Word'},'getPluralForm':_0x47c553=>0x0==_0x47c553||0x1==_0x47c553?0x0:0x0!=_0x47c553&&_0x47c553%0xf4240==0x0?0x1:0x2}};_0x54b6e3['fr']||={'dictionary':{},'getPluralForm':null},_0x54b6e3['fr']['dictionary']=Object['assign'](_0x54b6e3['fr']['dictionary'],_0x259dba),_0x54b6e3['fr']['getPluralForm']=_0x17b953;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -3,6 +3,6 @@
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
 
6
- import type { Translations } from 'ckeditor5';
6
+ import type { Translations } from '@ckeditor/ckeditor5-utils';
7
7
  declare const translations: Translations;
8
8
  export default translations;
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'gl':{'dictionary':{'Import\x20from\x20Word':'Importar\x20dende\x20Word','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Produciuse\x20un\x20erro\x20ao\x20importar\x20o\x20ficheiro\x20de\x20Word.','Importing\x20Word\x20document':''},'getPluralForm':_0x44f22c=>0x1!=_0x44f22c}};
23
+ export default{'gl':{'dictionary':{'Import\x20from\x20Word':'Importar\x20dende\x20Word','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Produciuse\x20un\x20erro\x20ao\x20importar\x20o\x20ficheiro\x20de\x20Word.','Importing\x20Word\x20document':''},'getPluralForm':_0xfa2932=>0x1!=_0xfa2932}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x3434f8=>{const {gl:{dictionary:_0x4fd264,getPluralForm:_0xe2b7da}}={'gl':{'dictionary':{'Import\x20from\x20Word':'Importar\x20dende\x20Word','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Produciuse\x20un\x20erro\x20ao\x20importar\x20o\x20ficheiro\x20de\x20Word.','Importing\x20Word\x20document':''},'getPluralForm':_0x4787fe=>0x1!=_0x4787fe}};_0x3434f8['gl']||={'dictionary':{},'getPluralForm':null},_0x3434f8['gl']['dictionary']=Object['assign'](_0x3434f8['gl']['dictionary'],_0x4fd264),_0x3434f8['gl']['getPluralForm']=_0xe2b7da;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x3e8041=>{const {gl:{dictionary:_0x3c75d6,getPluralForm:_0x14edbf}}={'gl':{'dictionary':{'Import\x20from\x20Word':'Importar\x20dende\x20Word','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Produciuse\x20un\x20erro\x20ao\x20importar\x20o\x20ficheiro\x20de\x20Word.','Importing\x20Word\x20document':''},'getPluralForm':_0x156ea1=>0x1!=_0x156ea1}};_0x3e8041['gl']||={'dictionary':{},'getPluralForm':null},_0x3e8041['gl']['dictionary']=Object['assign'](_0x3e8041['gl']['dictionary'],_0x3c75d6),_0x3e8041['gl']['getPluralForm']=_0x14edbf;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -3,6 +3,6 @@
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
 
6
- import type { Translations } from 'ckeditor5';
6
+ import type { Translations } from '@ckeditor/ckeditor5-utils';
7
7
  declare const translations: Translations;
8
8
  export default translations;
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'he':{'dictionary':{'Import\x20from\x20Word':'ייבוא\x20מ-Word','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'אירעה\x20שגיאה\x20בעת\x20ייבוא\x20קובץ\x20ה-Word.','Importing\x20Word\x20document':'מייבא\x20מסמך\x20וורד'},'getPluralForm':_0x5242bf=>0x1==_0x5242bf&&_0x5242bf%0x1==0x0?0x0:0x2==_0x5242bf&&_0x5242bf%0x1==0x0?0x1:0x2}};
23
+ export default{'he':{'dictionary':{'Import\x20from\x20Word':'ייבוא\x20מ-Word','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'אירעה\x20שגיאה\x20בעת\x20ייבוא\x20קובץ\x20ה-Word.','Importing\x20Word\x20document':'מייבא\x20מסמך\x20וורד'},'getPluralForm':_0x463bc2=>0x1==_0x463bc2&&_0x463bc2%0x1==0x0?0x0:0x2==_0x463bc2&&_0x463bc2%0x1==0x0?0x1:0x2}};