@ckeditor/ckeditor5-import-word 42.0.2-alpha.2 → 43.0.0-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 (143) hide show
  1. package/CHANGELOG.md +1 -1
  2. package/build/import-word.js +2 -2
  3. package/build/translations/ar.js +1 -1
  4. package/build/translations/bg.js +1 -1
  5. package/build/translations/bn.js +1 -1
  6. package/build/translations/ca.js +1 -1
  7. package/build/translations/cs.js +1 -1
  8. package/build/translations/da.js +1 -1
  9. package/build/translations/de.js +1 -1
  10. package/build/translations/el.js +1 -1
  11. package/build/translations/en-au.js +1 -1
  12. package/build/translations/es.js +1 -1
  13. package/build/translations/et.js +1 -1
  14. package/build/translations/fi.js +1 -1
  15. package/build/translations/fr.js +1 -1
  16. package/build/translations/gl.js +1 -1
  17. package/build/translations/he.js +1 -1
  18. package/build/translations/hi.js +1 -1
  19. package/build/translations/hr.js +1 -1
  20. package/build/translations/hu.js +1 -1
  21. package/build/translations/id.js +1 -1
  22. package/build/translations/it.js +1 -1
  23. package/build/translations/ja.js +1 -1
  24. package/build/translations/ko.js +1 -1
  25. package/build/translations/lt.js +1 -1
  26. package/build/translations/lv.js +1 -1
  27. package/build/translations/ms.js +1 -1
  28. package/build/translations/nl.js +1 -1
  29. package/build/translations/no.js +1 -1
  30. package/build/translations/pl.js +1 -1
  31. package/build/translations/pt-br.js +1 -1
  32. package/build/translations/pt.js +1 -1
  33. package/build/translations/ro.js +1 -1
  34. package/build/translations/ru.js +1 -1
  35. package/build/translations/sk.js +1 -1
  36. package/build/translations/sr-latn.js +1 -1
  37. package/build/translations/sr.js +1 -1
  38. package/build/translations/sv.js +1 -1
  39. package/build/translations/th.js +1 -1
  40. package/build/translations/tr.js +1 -1
  41. package/build/translations/ug.js +1 -1
  42. package/build/translations/uk.js +1 -1
  43. package/build/translations/vi.js +1 -1
  44. package/build/translations/zh-cn.js +1 -1
  45. package/build/translations/zh.js +1 -1
  46. package/dist/index.js +1 -1
  47. package/dist/translations/ar.js +1 -1
  48. package/dist/translations/ar.umd.js +1 -1
  49. package/dist/translations/bg.js +1 -1
  50. package/dist/translations/bg.umd.js +1 -1
  51. package/dist/translations/bn.js +1 -1
  52. package/dist/translations/bn.umd.js +1 -1
  53. package/dist/translations/ca.js +1 -1
  54. package/dist/translations/ca.umd.js +1 -1
  55. package/dist/translations/cs.js +1 -1
  56. package/dist/translations/cs.umd.js +1 -1
  57. package/dist/translations/da.js +1 -1
  58. package/dist/translations/da.umd.js +1 -1
  59. package/dist/translations/de.js +1 -1
  60. package/dist/translations/de.umd.js +1 -1
  61. package/dist/translations/el.js +1 -1
  62. package/dist/translations/el.umd.js +1 -1
  63. package/dist/translations/en-au.js +1 -1
  64. package/dist/translations/en-au.umd.js +1 -1
  65. package/dist/translations/en.umd.js +1 -1
  66. package/dist/translations/es.js +1 -1
  67. package/dist/translations/es.umd.js +1 -1
  68. package/dist/translations/et.js +1 -1
  69. package/dist/translations/et.umd.js +1 -1
  70. package/dist/translations/fi.js +1 -1
  71. package/dist/translations/fi.umd.js +1 -1
  72. package/dist/translations/fr.js +1 -1
  73. package/dist/translations/fr.umd.js +1 -1
  74. package/dist/translations/gl.js +1 -1
  75. package/dist/translations/gl.umd.js +1 -1
  76. package/dist/translations/he.js +1 -1
  77. package/dist/translations/he.umd.js +1 -1
  78. package/dist/translations/hi.js +1 -1
  79. package/dist/translations/hi.umd.js +1 -1
  80. package/dist/translations/hr.js +1 -1
  81. package/dist/translations/hr.umd.js +1 -1
  82. package/dist/translations/hu.js +1 -1
  83. package/dist/translations/hu.umd.js +1 -1
  84. package/dist/translations/id.js +1 -1
  85. package/dist/translations/id.umd.js +1 -1
  86. package/dist/translations/it.js +1 -1
  87. package/dist/translations/it.umd.js +1 -1
  88. package/dist/translations/ja.js +1 -1
  89. package/dist/translations/ja.umd.js +1 -1
  90. package/dist/translations/ko.js +1 -1
  91. package/dist/translations/ko.umd.js +1 -1
  92. package/dist/translations/lt.js +1 -1
  93. package/dist/translations/lt.umd.js +1 -1
  94. package/dist/translations/lv.js +1 -1
  95. package/dist/translations/lv.umd.js +1 -1
  96. package/dist/translations/ms.js +1 -1
  97. package/dist/translations/ms.umd.js +1 -1
  98. package/dist/translations/nl.js +1 -1
  99. package/dist/translations/nl.umd.js +1 -1
  100. package/dist/translations/no.js +1 -1
  101. package/dist/translations/no.umd.js +1 -1
  102. package/dist/translations/pl.js +1 -1
  103. package/dist/translations/pl.umd.js +1 -1
  104. package/dist/translations/pt-br.js +1 -1
  105. package/dist/translations/pt-br.umd.js +1 -1
  106. package/dist/translations/pt.js +1 -1
  107. package/dist/translations/pt.umd.js +1 -1
  108. package/dist/translations/ro.js +1 -1
  109. package/dist/translations/ro.umd.js +1 -1
  110. package/dist/translations/ru.js +1 -1
  111. package/dist/translations/ru.umd.js +1 -1
  112. package/dist/translations/sk.js +1 -1
  113. package/dist/translations/sk.umd.js +1 -1
  114. package/dist/translations/sr-latn.js +1 -1
  115. package/dist/translations/sr-latn.umd.js +1 -1
  116. package/dist/translations/sr.js +1 -1
  117. package/dist/translations/sr.umd.js +1 -1
  118. package/dist/translations/sv.js +1 -1
  119. package/dist/translations/sv.umd.js +1 -1
  120. package/dist/translations/th.js +1 -1
  121. package/dist/translations/th.umd.js +1 -1
  122. package/dist/translations/tr.js +1 -1
  123. package/dist/translations/tr.umd.js +1 -1
  124. package/dist/translations/ug.js +1 -1
  125. package/dist/translations/ug.umd.js +1 -1
  126. package/dist/translations/uk.js +1 -1
  127. package/dist/translations/uk.umd.js +1 -1
  128. package/dist/translations/vi.js +1 -1
  129. package/dist/translations/vi.umd.js +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.js +1 -1
  133. package/dist/translations/zh.umd.js +1 -1
  134. package/dist/utils/common-translations.d.ts +13 -0
  135. package/lang/translations/sr-latn.po +1 -1
  136. package/package.json +7 -7
  137. package/src/importword.js +1 -1
  138. package/src/importwordcommand.js +1 -1
  139. package/src/importwordediting.js +1 -1
  140. package/src/importwordui.js +1 -1
  141. package/src/index.js +1 -1
  142. package/src/utils/common-translations.d.ts +9 -0
  143. package/src/utils/common-translations.js +23 -0
package/CHANGELOG.md CHANGED
@@ -1,4 +1,4 @@
1
1
  Changelog
2
2
  =========
3
3
 
4
- All changes in the package are documented in the CKEditor 5 repository. See: https://github.com/ckeditor/ckeditor5/blob/master/CHANGELOG.md.
4
+ All changes in the package are documented in https://github.com/ckeditor/ckeditor5/blob/master/CHANGELOG.md.
@@ -1,5 +1,5 @@
1
- !function(t){const e=t.en=t.en||{};e.dictionary=Object.assign(e.dictionary||{},{"Import from Word":"Import from Word","Importing Word document":"Importing Word document"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})),
1
+ !function(t){const e=t.en=t.en||{};e.dictionary=Object.assign(e.dictionary||{},{"An error occurred while importing the Word file.":"An error occurred while importing the Word file.","Import from Word":"Import from Word","Importing Word document":"Importing Word document"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})),
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 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})();
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(n){var o=e[n];if(void 0!==o)return o.exports;var i=e[n]={exports:{}};return t[n](i,i.exports,r),i.exports}r.d=(t,e)=>{for(var n in e)r.o(e,n)&&!r.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},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 n={};(()=>{"use strict";r.r(n),r.d(n,{ImportWord:()=>W,ImportWordEditing:()=>w,ImportWordUI:()=>a});var t=r(782),e=r(311);function o(t,e){const r=t.t;switch(e){case"Import from Word":return r("Import from Word");case"An error occurred while importing the Word file.":return r("An error occurred while importing the Word file.");case"Importing Word document":return r("Importing Word document");default:return e}}const i=s;function s(t,e){const r=c();return(s=function(t,e){return r[t-=194]})(t,e)}!function(t){const e=s,r=t();for(;;)try{if(556661===parseInt(e(211))/1+parseInt(e(215))/2*(-parseInt(e(206))/3)+parseInt(e(228))/4*(parseInt(e(212))/5)+-parseInt(e(219))/6+parseInt(e(196))/7+-parseInt(e(229))/8+-parseInt(e(224))/9)break;r.push(r.shift())}catch(t){r.push(r.shift())}}(c);class a extends t.Plugin{static get[i(230)](){return i(216)}[i(194)](){const t=i,r=this[t(220)];r.ui[t(208)][t(204)](t(202),(()=>{const n=t,o=this[n(213)](e.FileDialogButtonView),i=r[n(227)][n(226)](n(202));return o[n(200)](n(201)).to(i,n(221)),o[n(199)]=!0,o})),r.ui[t(208)][t(204)](t(232),(()=>this[t(213)](e.MenuBarMenuListItemFileDialogButtonView)))}[i(213)](t){const r=i,n=this[r(220)],s=n[r(227)][r(226)](r(202)),a=new t(n[r(214)]),c=new e.SpinnerView;return a[r(223)]({acceptedType:r(209)}),a[r(223)]({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'}),a[r(200)](r(197)).to(s),a[r(200)](r(231)).to(s,r(221),(t=>o(n[r(214)],r(t?205:207)))),c[r(200)](r(218)).to(s,r(221)),a[r(225)][r(200)](r(218)).to(s,r(221),(t=>!t)),a[r(195)][r(204)](c),a.on(r(198),((t,e)=>{const o=r;n[o(203)](o(202),e[0],{}),n[o(222)][o(217)][o(210)]()})),a}}function c(){const t=["isOn","importWord","execute","add","Importing Word document","147fMVhTJ","Import from Word","componentFactory","application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.openxmlformats-officedocument.wordprocessingml.template","focus","107407UGRfQm","4205XZizZs","_createButton","locale","2506gWntaX","ImportWordUI","view","isVisible","746508pJZUhq","editor","isBusy","editing","set","6518439fSqdZB","iconView","get","commands","4292RDypEz","1405280CNNtME","pluginName","label","menuBar:importWord","init","children","4428249GSbJJf","isEnabled","done","tooltip","bind"];return(c=function(){return t})()}var p=r(331),u=r(783),l=r(584);const d=h;function h(t,e){const r=f();return(h=function(t,e){return r[t-=217]})(t,e)}function f(){const t=["createBatch","resolvedOptions","isBusy","model","1049422sBxsbV","json","4MHNSIi","fire","root","isEnabled","isAtStart","deleteContent","stringify","catch","$graveyard","enqueueChange","html","finally","resolve","text/html","import-word-plugin-import-cancelled","removeMarker","refresh","has","editor","getFirstPosition","paragraph","timeZone","signal","153692ukYpeq","getToken","Authorization","file","document","merge_fields","plugins","dataInsert","config","isAtEnd","value","21ZoLhUl","checkChild","_abortController","_importMarker","_undoStepBatch","importWord:","mergeFields","aborted","clipboardInput","rootName","change:range","reject","parent","529140kZaOdt","Notification","DateTimeFormat","isEmpty","getRange","showWarning","_prepareForImport","import-word-plugin-conversion-failed","then","setSelection","ImportWordEditing","markers","isCollapsed","split","bind","importWord","313182zwzlNM","headers","locale","MergeFields","createPositionBefore","_sendImportRequest","71206StRbVd","_cleanUpAfterImport","selection","createPositionAfter","view","low","9XCeNjL","set","formatting","addMarker","7NiXMTo","converterUrl","editing","593995xGyGPf","An error occurred while importing the Word file.","schema","setData","60FPpKMe","position","_handleImportFailure","abort","_handleImportResponse","execute","POST","stopListening","getSelectedBlocks","1528552qMpceP","get","element","_checkEnabled"];return(f=function(){return t})()}!function(t){const e=h,r=t();for(;;)try{if(145650===-parseInt(e(272))/1+-parseInt(e(318))/2*(parseInt(e(283))/3)+parseInt(e(249))/4*(-parseInt(e(226))/5)+-parseInt(e(312))/6*(-parseInt(e(223))/7)+-parseInt(e(239))/8*(-parseInt(e(219))/9)+-parseInt(e(296))/10+parseInt(e(247))/11*(parseInt(e(230))/12))break;r.push(r.shift())}catch(t){r.push(r.shift())}}(f);class m extends t.Command{constructor(t){const e=h;super(t),this[e(220)](e(245),!1),this[e(286)]=null,this[e(287)]=null,this[e(285)]=null,this.on(e(279),((r,n)=>{const o=e,i=new DataTransfer;i[o(229)](o(262),n[o(259)]);const s=this[o(286)][o(300)]();this[o(267)][o(246)][o(258)](this[o(287)],(e=>{const r=o;this[r(286)][r(237)](),e[r(305)](s),t[r(225)][r(217)][r(276)][r(250)](r(291),{dataTransfer:i})}))}),{priority:e(218)})}[d(265)](){const t=d;this[t(252)]=this[t(242)]()}[d(235)](t,e={}){const r=d;if(this[r(245)])return Promise[r(261)]();const n=this[r(267)][r(280)][r(240)](r(311));if(this[r(267)][r(278)][r(266)](r(315))){const{prefix:t,suffix:n}=this[r(267)][r(280)][r(240)](r(289));e[r(277)]={prefix:t,suffix:n}}const o={url:n[r(224)],file:t,serviceConfig:{...e,formatting:n[r(221)],timezone:(new(Intl[r(298)]))[r(244)]()[r(270)]}};return this[r(302)](),this[r(317)](o)[r(304)](this[r(234)][r(310)](this))[r(256)](this[r(232)][r(310)](this))[r(260)](this[r(319)][r(310)](this))}[d(242)](){const t=d;if(this[t(245)])return!1;const e=this[t(267)][t(246)],r=e[t(228)],n=e[t(276)][t(320)],o=(0,l.first)(n[t(238)]());return!!o&&r[t(284)](o[t(295)],t(269))}[d(302)](){const t=d,e=this[t(267)],r=e[t(246)],n=r[t(276)][t(320)];this[t(285)]=new AbortController,this[t(287)]=e[t(246)][t(243)]({isUndoable:!0}),r[t(258)](this[t(287)],(e=>{const o=t;n[o(308)]||r[o(254)](n,{leaveUnmerged:!0});const i=n[o(268)](),s=(0,l.first)(n[o(238)]());let a;a=s.is(o(241),o(269))&&s[o(299)]?i:i[o(253)]?r[o(316)](s):i[o(281)]?r[o(321)](s):e[o(309)](i)[o(231)],this[o(286)]=e[o(222)](o(288)+(0,l.uid)(),{usingOperation:!1,affectsData:!1,range:new u.Range(a)}),this[o(286)].on(o(293),(()=>{const t=o;t(257)===this[t(286)][t(300)]()[t(251)][t(292)]&&this[t(285)][t(233)]()}))})),this[t(245)]=!0,this[t(265)]()}[d(319)](){const t=d,e=this[t(267)][t(246)];e[t(307)][t(266)](this[t(286)])&&e[t(258)](this[t(287)],(e=>{const r=t;e[r(264)](this[r(286)])})),this[t(286)]=null,this[t(287)]=null,this[t(285)]=null,this[t(245)]=!1,this[t(265)]()}[d(317)]({url:t,file:e,serviceConfig:r}){const n=d,o=this[n(267)][n(278)][n(240)](n(306))[n(273)](),i=new FormData;i[n(220)](n(280),JSON[n(255)](r)),i[n(220)](n(275),e);const s={method:n(236),headers:{},body:i,signal:this[n(285)][n(271)]};return o&&(s[n(313)][n(274)]=o[n(282)]),fetch(t,s)}[d(234)](t){const e=d;return t.ok?t[e(248)]()[e(304)]((t=>{const r=e;this[r(267)][r(246)][r(307)][r(266)](this[r(286)])&&r(257)!==this[r(286)][r(300)]()[r(251)][r(292)]&&this[r(250)](r(279),t)})):Promise[e(294)]()}[d(232)](){const t=d;if(this[t(285)][t(271)][t(290)])return void(0,l.logWarning)(t(263));const e=this[t(267)],r=o(e[t(314)],t(227));e[t(278)][t(240)](t(297))[t(301)](r),(0,l.logError)(t(303))}}function I(){const t=["10mOPPgz","24567633upvMbL","ImportWordEditing","_token","8680528rOHGQJ","requires","config","9680083GUWbbf","tokenUrl","CloudServices","get","editor","commands","registerTokenUrl","2zUFfqN","4klHjVK","1923137tIkeVI","token","none","init","https://docx-converter.cke-cs.com/v2/convert/docx-html","getToken","2335195JdiVcY","define","add","importWord","2012157jgLdyx","1941276MVejdm","pluginName","cloudServices","inline","plugins"];return(I=function(){return t})()}const g=v;function v(t,e){const r=I();return(v=function(t,e){return r[t-=484]})(t,e)}!function(t){const e=v,r=t();for(;;)try{if(984537===parseInt(e(506))/1*(-parseInt(e(504))/2)+parseInt(e(484))/3+-parseInt(e(505))/4*(parseInt(e(512))/5)+-parseInt(e(485))/6+parseInt(e(497))/7+-parseInt(e(494))/8+parseInt(e(491))/9*(parseInt(e(490))/10))break;r.push(r.shift())}catch(t){r.push(r.shift())}}(I);class w extends t.Plugin{static get[g(486)](){return g(492)}static get[g(495)](){const t=g;return[e.Notification,p.ClipboardPipeline,t(499)]}constructor(t){const e=g;super(t),this[e(493)]=null}async[g(509)](){const t=g,e=this[t(501)];e[t(496)][t(513)](t(515),{converterUrl:t(510),tokenUrl:(e[t(496)][t(500)](t(487))||{})[t(498)],formatting:{resets:t(508),defaults:t(508),styles:t(488)}}),e[t(502)][t(514)](t(515),new m(e));const{tokenUrl:r}=e[t(496)][t(500)](t(515));if(r){const{tokenUrl:n}=e[t(496)][t(500)](t(487))||{};this[t(493)]=r===n?e[t(489)][t(500)](t(499))[t(507)]:await e[t(489)][t(500)](t(499))[t(503)](r)}}[g(511)](){return this[g(493)]}}var b=x;function x(t,e){var r=y();return(x=function(t,e){return r[t-=351]})(t,e)}!function(t){for(var e=x,r=t();;)try{if(932371===-parseInt(e(357))/1*(-parseInt(e(362))/2)+parseInt(e(356))/3*(-parseInt(e(365))/4)+-parseInt(e(359))/5+-parseInt(e(363))/6*(-parseInt(e(354))/7)+-parseInt(e(364))/8*(-parseInt(e(361))/9)+parseInt(e(351))/10*(parseInt(e(358))/11)+parseInt(e(355))/12)break;r.push(r.shift())}catch(t){r.push(r.shift())}}(y);class W extends t.Plugin{static get[b(360)](){return b(353)}static get[b(352)](){return[w,a]}}function y(){var t=["1GiBrpN","869dPFVNY","2465050IQGccc","pluginName","10377FkZAop","51220NYxQjs","6KFXrre","976mGdImW","2092RqQXPq","83120DYgTna","requires","ImportWord","5412491bCPQyA","16163880anxgVm","8706vTKmQE"];return(y=function(){return t})()}function k(t,e){var r=P();return(k=function(t,e){return r[t-=113]})(t,e)}function P(){var t=["2048400IFaahG","15GvcUog","583512hPonDq","603336IvjuMV","46898GlmNSC","26zJfXui","3242289vfnctF","583eWxozE","6494301kEipxi","42wTghry","38188MpPlfX","10oRHSas"];return(P=function(){return t})()}!function(t){for(var e=k,r=t();;)try{if(619239===-parseInt(e(121))/1*(-parseInt(e(120))/2)+-parseInt(e(122))/3+parseInt(e(114))/4*(parseInt(e(117))/5)+-parseInt(e(116))/6+parseInt(e(113))/7*(-parseInt(e(119))/8)+parseInt(e(124))/9*(-parseInt(e(115))/10)+parseInt(e(123))/11*(parseInt(e(118))/12))break;r.push(r.shift())}catch(t){r.push(r.shift())}}(P)})(),(window.CKEditor5=window.CKEditor5||{}).importWord=n})();
@@ -1 +1 @@
1
- !function(o){const r=o.ar=o.ar||{};r.dictionary=Object.assign(r.dictionary||{},{"Import from Word":"استيراد من Word","Importing Word document":"استيراد مستند Word"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
1
+ !function(o){const r=o.ar=o.ar||{};r.dictionary=Object.assign(r.dictionary||{},{"An error occurred while importing the Word file.":"حدث خطأ أثناء استيراد ملف Word.","Import from Word":"استيراد من Word","Importing Word document":"استيراد مستند Word"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -1 +1 @@
1
- !function(o){const n=o.bg=o.bg||{};n.dictionary=Object.assign(n.dictionary||{},{"Import from Word":"Импортиране от Word","Importing Word document":"Въвеждане на документ в Word"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
1
+ !function(o){const r=o.bg=o.bg||{};r.dictionary=Object.assign(r.dictionary||{},{"An error occurred while importing the Word file.":"Възникна грешка при импортирането на Word файла.","Import from Word":"Импортиране от Word","Importing Word document":"Въвеждане на документ в Word"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -1 +1 @@
1
- !function(n){const o=n.bn=n.bn||{};o.dictionary=Object.assign(o.dictionary||{},{"Import from Word":"ওয়ার্ড থেকে ইমপোর্ট করুন","Importing Word document":"ওয়ার্ড ডকুমেন্ট ইম্পোর্ট করা হচ্ছে"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
1
+ !function(o){const n=o.bn=o.bn||{};n.dictionary=Object.assign(n.dictionary||{},{"An error occurred while importing the Word file.":"ওয়ার্ড ফাইল ইমপোর্ট করার সময় একটি ত্রুটি ঘটেছে।","Import from Word":"ওয়ার্ড থেকে ইমপোর্ট করুন","Importing Word document":"ওয়ার্ড ডকুমেন্ট ইম্পোর্ট করা হচ্ছে"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -1 +1 @@
1
- !function(o){const d=o.ca=o.ca||{};d.dictionary=Object.assign(d.dictionary||{},{"Import from Word":"Importeu de Word","Importing Word document":"Important document de Word"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
1
+ !function(r){const o=r.ca=r.ca||{};o.dictionary=Object.assign(o.dictionary||{},{"An error occurred while importing the Word file.":"Hi ha hagut un error mentre s'importava l'arxiu de Word.","Import from Word":"Importeu de Word","Importing Word document":"Important document de Word"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -1 +1 @@
1
- !function(o){const t=o.cs=o.cs||{};t.dictionary=Object.assign(t.dictionary||{},{"Import from Word":"Importovat z Wordu","Importing Word document":"Import dokumentu aplikace Word"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
1
+ !function(o){const r=o.cs=o.cs||{};r.dictionary=Object.assign(r.dictionary||{},{"An error occurred while importing the Word file.":"Při importu souboru aplikace Word došlo k chybě.","Import from Word":"Importovat z Wordu","Importing Word document":"Import dokumentu aplikace Word"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -1 +1 @@
1
- !function(o){const r=o.da=o.da||{};r.dictionary=Object.assign(r.dictionary||{},{"Import from Word":"Importér fra Word","Importing Word document":"Import af Word-dokument"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
1
+ !function(o){const r=o.da=o.da||{};r.dictionary=Object.assign(r.dictionary||{},{"An error occurred while importing the Word file.":"Der opstod en fejl unde rimporteringen af Word-filen.","Import from Word":"Importér fra Word","Importing Word document":"Import af Word-dokument"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -1 +1 @@
1
- !function(o){const i=o.de=o.de||{};i.dictionary=Object.assign(i.dictionary||{},{"Import from Word":"Aus Word importieren","Importing Word document":"Word-Dokument importieren"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
1
+ !function(r){const e=r.de=r.de||{};e.dictionary=Object.assign(e.dictionary||{},{"An error occurred while importing the Word file.":"Beim Importieren der Word-Datei ist ein Fehler aufgetreten.","Import from Word":"Aus Word importieren","Importing Word document":"Word-Dokument importieren"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -1 +1 @@
1
- !function(o){const n=o.el=o.el||{};n.dictionary=Object.assign(n.dictionary||{},{"Import from Word":"Εισαγωγή από Word","Importing Word document":"Εισαγωγή εγγράφου Κειμένου"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
1
+ !function(o){const r=o.el=o.el||{};r.dictionary=Object.assign(r.dictionary||{},{"An error occurred while importing the Word file.":"Παρουσιάστηκε σφάλμα κατά την εισαγωγή του αρχείου Word.","Import from Word":"Εισαγωγή από Word","Importing Word document":"Εισαγωγή εγγράφου Κειμένου"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -1 +1 @@
1
- !function(o){const n=o["en-au"]=o["en-au"]||{};n.dictionary=Object.assign(n.dictionary||{},{"Import from Word":"Import from Word","Importing Word document":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
1
+ !function(r){const o=r["en-au"]=r["en-au"]||{};o.dictionary=Object.assign(o.dictionary||{},{"An error occurred while importing the Word file.":"An error occurred while importing the Word file.","Import from Word":"Import from Word","Importing Word document":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -1 +1 @@
1
- !function(o){const d=o.es=o.es||{};d.dictionary=Object.assign(d.dictionary||{},{"Import from Word":"Importar desde Word","Importing Word document":"Importando documento de Word"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
1
+ !function(o){const r=o.es=o.es||{};r.dictionary=Object.assign(r.dictionary||{},{"An error occurred while importing the Word file.":"Se ha producido un error al importar el archivo de Word.","Import from Word":"Importar desde Word","Importing Word document":"Importando documento de Word"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -1 +1 @@
1
- !function(i){const o=i.et=i.et||{};o.dictionary=Object.assign(o.dictionary||{},{"Import from Word":"Wordist importimine","Importing Word document":"Word dokumendi importimine"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
1
+ !function(i){const o=i.et=i.et||{};o.dictionary=Object.assign(o.dictionary||{},{"An error occurred while importing the Word file.":"Wordi faili importimisel tekkis viga.","Import from Word":"Wordist importimine","Importing Word document":"Word dokumendi importimine"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -1 +1 @@
1
- !function(o){const i=o.fi=o.fi||{};i.dictionary=Object.assign(i.dictionary||{},{"Import from Word":"Tuo Wordista","Importing Word document":"Tuodaan Word-asiakirja"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
1
+ !function(o){const i=o.fi=o.fi||{};i.dictionary=Object.assign(i.dictionary||{},{"An error occurred while importing the Word file.":"Word-tiedoston tuomisessa tapahtui virhe.","Import from Word":"Tuo Wordista","Importing Word document":"Tuodaan Word-asiakirja"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -1 +1 @@
1
- !function(o){const r=o.fr=o.fr||{};r.dictionary=Object.assign(r.dictionary||{},{"Import from Word":"Importer depuis Word","Importing Word document":"Importation d'un document Word"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
1
+ !function(r){const o=r.fr=r.fr||{};o.dictionary=Object.assign(o.dictionary||{},{"An error occurred while importing the Word file.":"Une erreur s'est produite lors de l'importation du fichier Word.","Import from Word":"Importer depuis Word","Importing Word document":"Importation d'un document Word"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -1 +1 @@
1
- !function(o){const n=o.gl=o.gl||{};n.dictionary=Object.assign(n.dictionary||{},{"Import from Word":"Importar dende Word","Importing Word document":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
1
+ !function(o){const r=o.gl=o.gl||{};r.dictionary=Object.assign(r.dictionary||{},{"An error occurred while importing the Word file.":"Produciuse un erro ao importar o ficheiro de Word.","Import from Word":"Importar dende Word","Importing Word document":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -1 +1 @@
1
- !function(o){const n=o.he=o.he||{};n.dictionary=Object.assign(n.dictionary||{},{"Import from Word":"ייבוא מ-Word","Importing Word document":"מייבא מסמך וורד"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
1
+ !function(o){const r=o.he=o.he||{};r.dictionary=Object.assign(r.dictionary||{},{"An error occurred while importing the Word file.":"אירעה שגיאה בעת ייבוא קובץ ה-Word.","Import from Word":"ייבוא מ-Word","Importing Word document":"מייבא מסמך וורד"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -1 +1 @@
1
- !function(o){const i=o.hi=o.hi||{};i.dictionary=Object.assign(i.dictionary||{},{"Import from Word":"वर्ड से इंपोर्ट करें","Importing Word document":"Word डॉक्यूमेंट इम्पोर्ट की जा रही है"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
1
+ !function(o){const i=o.hi=o.hi||{};i.dictionary=Object.assign(i.dictionary||{},{"An error occurred while importing the Word file.":"वर्ड फाइल इंपोर्ट करते वक्त एरर हो गया","Import from Word":"वर्ड से इंपोर्ट करें","Importing Word document":"Word डॉक्यूमेंट इम्पोर्ट की जा रही है"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -1 +1 @@
1
- !function(o){const i=o.hr=o.hr||{};i.dictionary=Object.assign(i.dictionary||{},{"Import from Word":"Uvoz iz Worda","Importing Word document":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
1
+ !function(o){const r=o.hr=o.hr||{};r.dictionary=Object.assign(r.dictionary||{},{"An error occurred while importing the Word file.":"Dogodila se greška prilikom uvoza iz Worda","Import from Word":"Uvoz iz Worda","Importing Word document":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -1 +1 @@
1
- !function(o){const n=o.hu=o.hu||{};n.dictionary=Object.assign(n.dictionary||{},{"Import from Word":"Importálás Word dokumentumból","Importing Word document":"Word dokumentum importálása"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
1
+ !function(o){const r=o.hu=o.hu||{};r.dictionary=Object.assign(r.dictionary||{},{"An error occurred while importing the Word file.":"Hiba történt a Word fájl importálása közben.","Import from Word":"Importálás Word dokumentumból","Importing Word document":"Word dokumentum importálása"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -1 +1 @@
1
- !function(o){const d=o.id=o.id||{};d.dictionary=Object.assign(d.dictionary||{},{"Import from Word":"Impor dari Word","Importing Word document":"mengimpor dokumen Word"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
1
+ !function(o){const r=o.id=o.id||{};r.dictionary=Object.assign(r.dictionary||{},{"An error occurred while importing the Word file.":"Terjadi kesalahan saat mengimpor file Word.","Import from Word":"Impor dari Word","Importing Word document":"mengimpor dokumen Word"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -1 +1 @@
1
- !function(o){const t=o.it=o.it||{};t.dictionary=Object.assign(t.dictionary||{},{"Import from Word":"Importa da Word","Importing Word document":"Importa documento Word"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
1
+ !function(o){const r=o.it=o.it||{};r.dictionary=Object.assign(r.dictionary||{},{"An error occurred while importing the Word file.":"Si è verificato un errore durante l'importazione del file Word.","Import from Word":"Importa da Word","Importing Word document":"Importa documento Word"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -1 +1 @@
1
- !function(o){const n=o.ja=o.ja||{};n.dictionary=Object.assign(n.dictionary||{},{"Import from Word":"Wordからインポート","Importing Word document":"Word文書をインポート中"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
1
+ !function(o){const r=o.ja=o.ja||{};r.dictionary=Object.assign(r.dictionary||{},{"An error occurred while importing the Word file.":"Wordフィアルのインポート中にエラーが発生しました","Import from Word":"Wordからインポート","Importing Word document":"Word文書をインポート中"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -1 +1 @@
1
- !function(o){const n=o.ko=o.ko||{};n.dictionary=Object.assign(n.dictionary||{},{"Import from Word":"Word에서 가져오기","Importing Word document":"Word 문서 가져오는 중"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
1
+ !function(o){const r=o.ko=o.ko||{};r.dictionary=Object.assign(r.dictionary||{},{"An error occurred while importing the Word file.":"Word 파일을 가져오는 중 오류가 발생했습니다.","Import from Word":"Word에서 가져오기","Importing Word document":"Word 문서 가져오는 중"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -1 +1 @@
1
- !function(o){const t=o.lt=o.lt||{};t.dictionary=Object.assign(t.dictionary||{},{"Import from Word":"Importuoti iš ,,Word''","Importing Word document":"Įkeliamas „Word“ dokumentas"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
1
+ !function(o){const i=o.lt=o.lt||{};i.dictionary=Object.assign(i.dictionary||{},{"An error occurred while importing the Word file.":'Įvyko klaida importuojant ,,Word" failą.',"Import from Word":"Importuoti iš ,,Word''","Importing Word document":"Įkeliamas „Word“ dokumentas"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -1 +1 @@
1
- !function(o){const n=o.lv=o.lv||{};n.dictionary=Object.assign(n.dictionary||{},{"Import from Word":"Importēt no Word","Importing Word document":'Importē "Word" dokumentu'})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
1
+ !function(o){const r=o.lv=o.lv||{};r.dictionary=Object.assign(r.dictionary||{},{"An error occurred while importing the Word file.":"Importējot Word failu, radās kļūda","Import from Word":"Importēt no Word","Importing Word document":'Importē "Word" dokumentu'})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -1 +1 @@
1
- !function(o){const d=o.ms=o.ms||{};d.dictionary=Object.assign(d.dictionary||{},{"Import from Word":"Import daripada Word","Importing Word document":"Mengimport dokumen Word"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
1
+ !function(o){const r=o.ms=o.ms||{};r.dictionary=Object.assign(r.dictionary||{},{"An error occurred while importing the Word file.":"Ralat berlaku semasa mengimport fail Word.","Import from Word":"Import daripada Word","Importing Word document":"Mengimport dokumen Word"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -1 +1 @@
1
- !function(o){const n=o.nl=o.nl||{};n.dictionary=Object.assign(n.dictionary||{},{"Import from Word":"Importeer vanuit Word","Importing Word document":"Word-document importeren"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
1
+ !function(o){const r=o.nl=o.nl||{};r.dictionary=Object.assign(r.dictionary||{},{"An error occurred while importing the Word file.":"Er is een fout opgetreden bij het importeren van het Word-bestand.","Import from Word":"Importeer vanuit Word","Importing Word document":"Word-document importeren"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -1 +1 @@
1
- !function(o){const r=o.no=o.no||{};r.dictionary=Object.assign(r.dictionary||{},{"Import from Word":"Importer fra Word","Importing Word document":"Importerer Word-dokument"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
1
+ !function(o){const r=o.no=o.no||{};r.dictionary=Object.assign(r.dictionary||{},{"An error occurred while importing the Word file.":"Det oppstod en feil ved importering av Word-filen.","Import from Word":"Importer fra Word","Importing Word document":"Importerer Word-dokument"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -1 +1 @@
1
- !function(o){const r=o.pl=o.pl||{};r.dictionary=Object.assign(r.dictionary||{},{"Import from Word":"Importuj z programu Word","Importing Word document":"Importowanie dokumentu Word"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
1
+ !function(o){const r=o.pl=o.pl||{};r.dictionary=Object.assign(r.dictionary||{},{"An error occurred while importing the Word file.":"Podczas importowania pliku z programu Word wystąpił błąd.","Import from Word":"Importuj z programu Word","Importing Word document":"Importowanie dokumentu Word"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -1 +1 @@
1
- !function(o){const r=o["pt-br"]=o["pt-br"]||{};r.dictionary=Object.assign(r.dictionary||{},{"Import from Word":"Importar do Word","Importing Word document":"Importação de documento do Word"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
1
+ !function(o){const r=o["pt-br"]=o["pt-br"]||{};r.dictionary=Object.assign(r.dictionary||{},{"An error occurred while importing the Word file.":"Ocorreu um erro ao importar o arquivo do Word.","Import from Word":"Importar do Word","Importing Word document":"Importação de documento do Word"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -1 +1 @@
1
- !function(o){const r=o.pt=o.pt||{};r.dictionary=Object.assign(r.dictionary||{},{"Import from Word":"Importar do Word","Importing Word document":"A importar documento do Word"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
1
+ !function(o){const r=o.pt=o.pt||{};r.dictionary=Object.assign(r.dictionary||{},{"An error occurred while importing the Word file.":"Ocorreu um erro ao importar o ficheiro Word.","Import from Word":"Importar do Word","Importing Word document":"A importar documento do Word"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -1 +1 @@
1
- !function(o){const r=o.ro=o.ro||{};r.dictionary=Object.assign(r.dictionary||{},{"Import from Word":"Importați din Word","Importing Word document":"Importarea unui document Word"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
1
+ !function(r){const o=r.ro=r.ro||{};o.dictionary=Object.assign(o.dictionary||{},{"An error occurred while importing the Word file.":"A apărut o eroare în timpul importării fișierului Word.","Import from Word":"Importați din Word","Importing Word document":"Importarea unui document Word"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -1 +1 @@
1
- !function(o){const r=o.ru=o.ru||{};r.dictionary=Object.assign(r.dictionary||{},{"Import from Word":"Импорт из Word","Importing Word document":"Импорт документа Word"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
1
+ !function(o){const r=o.ru=o.ru||{};r.dictionary=Object.assign(r.dictionary||{},{"An error occurred while importing the Word file.":"При импорте файла Word произошла ошибка.","Import from Word":"Импорт из Word","Importing Word document":"Импорт документа Word"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -1 +1 @@
1
- !function(o){const r=o.sk=o.sk||{};r.dictionary=Object.assign(r.dictionary||{},{"Import from Word":"Importovať z Wordu","Importing Word document":"Import dokumentu vo formáte Word"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
1
+ !function(o){const r=o.sk=o.sk||{};r.dictionary=Object.assign(r.dictionary||{},{"An error occurred while importing the Word file.":"Pri importovaní súboru programu Word sa vyskytla chyba.","Import from Word":"Importovať z Wordu","Importing Word document":"Import dokumentu vo formáte Word"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -1 +1 @@
1
- !function(o){const n=o["sr-latn"]=o["sr-latn"]||{};n.dictionary=Object.assign(n.dictionary||{},{"Import from Word":"Uvezi iz word-a","Importing Word document":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
1
+ !function(o){const r=o["sr-latn"]=o["sr-latn"]||{};r.dictionary=Object.assign(r.dictionary||{},{"An error occurred while importing the Word file.":"Došlo je do greške pri uvozu Word datoteke.","Import from Word":"Uvezi iz word-a","Importing Word document":"Uvoz Vord dokumenta"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -1 +1 @@
1
- !function(o){const n=o.sr=o.sr||{};n.dictionary=Object.assign(n.dictionary||{},{"Import from Word":"Увези из Ворд-а","Importing Word document":"Uvoz Word dokumenta"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
1
+ !function(o){const r=o.sr=o.sr||{};r.dictionary=Object.assign(r.dictionary||{},{"An error occurred while importing the Word file.":"Дошло је до грешке при увозу Ворд датотеке","Import from Word":"Увези из Ворд-а","Importing Word document":"Uvoz Word dokumenta"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -1 +1 @@
1
- !function(o){const r=o.sv=o.sv||{};r.dictionary=Object.assign(r.dictionary||{},{"Import from Word":"Importera från Word","Importing Word document":"Importerar Worddokument"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
1
+ !function(r){const o=r.sv=r.sv||{};o.dictionary=Object.assign(o.dictionary||{},{"An error occurred while importing the Word file.":"Ett fel inträffade vid import av Word-filen.","Import from Word":"Importera från Word","Importing Word document":"Importerar Worddokument"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -1 +1 @@
1
- !function(o){const n=o.th=o.th||{};n.dictionary=Object.assign(n.dictionary||{},{"Import from Word":"นำเข้าจาก Word","Importing Word document":"กำลังนำเข้าเอกสาร Word"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
1
+ !function(o){const r=o.th=o.th||{};r.dictionary=Object.assign(r.dictionary||{},{"An error occurred while importing the Word file.":"เกิดข้อผิดพลาดขณะนำเข้าไฟล์ Word","Import from Word":"นำเข้าจาก Word","Importing Word document":"กำลังนำเข้าเอกสาร Word"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -1 +1 @@
1
- !function(o){const r=o.tr=o.tr||{};r.dictionary=Object.assign(r.dictionary||{},{"Import from Word":"Word'den içe aktar","Importing Word document":"Word belgesi içe aktarılıyor"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
1
+ !function(r){const o=r.tr=r.tr||{};o.dictionary=Object.assign(o.dictionary||{},{"An error occurred while importing the Word file.":"Word dosyası içe aktarılırken bir hata oluştu.","Import from Word":"Word'den içe aktar","Importing Word document":"Word belgesi içe aktarılıyor"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -1 +1 @@
1
- !function(o){const n=o.ug=o.ug||{};n.dictionary=Object.assign(n.dictionary||{},{"Import from Word":"Word تىن ئەكىر","Importing Word document":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
1
+ !function(o){const r=o.ug=o.ug||{};r.dictionary=Object.assign(r.dictionary||{},{"An error occurred while importing the Word file.":"Word ھۆججەتتىن ئەكىرىۋاتقاندا بىر خاتالىق كۆرۈلدى.","Import from Word":"Word تىن ئەكىر","Importing Word document":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -1 +1 @@
1
- !function(o){const n=o.uk=o.uk||{};n.dictionary=Object.assign(n.dictionary||{},{"Import from Word":"Імпортувати з Word","Importing Word document":"Імпорт документа Word"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
1
+ !function(o){const r=o.uk=o.uk||{};r.dictionary=Object.assign(r.dictionary||{},{"An error occurred while importing the Word file.":"Під час імпортування файлу Word сталася помилка.","Import from Word":"Імпортувати з Word","Importing Word document":"Імпорт документа Word"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -1 +1 @@
1
- !function(o){const i=o.vi=o.vi||{};i.dictionary=Object.assign(i.dictionary||{},{"Import from Word":"Nhập từ Word","Importing Word document":"Đang nhập tài liệu Word"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
1
+ !function(i){const o=i.vi=i.vi||{};o.dictionary=Object.assign(o.dictionary||{},{"An error occurred while importing the Word file.":"Đã xảy ra lỗi khi nhập tệp Word.","Import from Word":"Nhập từ Word","Importing Word document":"Đang nhập tài liệu Word"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -1 +1 @@
1
- !function(o){const n=o["zh-cn"]=o["zh-cn"]||{};n.dictionary=Object.assign(n.dictionary||{},{"Import from Word":"从 Word 导入","Importing Word document":"正在导入 Word 文档"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
1
+ !function(o){const r=o["zh-cn"]=o["zh-cn"]||{};r.dictionary=Object.assign(r.dictionary||{},{"An error occurred while importing the Word file.":"导入 Word 文件时出错了。","Import from Word":"从 Word 导入","Importing Word document":"正在导入 Word 文档"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -1 +1 @@
1
- !function(o){const n=o.zh=o.zh||{};n.dictionary=Object.assign(n.dictionary||{},{"Import from Word":"從 Word 匯入","Importing Word document":"匯入 Word 文件"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
1
+ !function(o){const r=o.zh=o.zh||{};r.dictionary=Object.assign(r.dictionary||{},{"An error occurred while importing the Word file.":"匯入 Word 檔時發生錯誤。","Import from Word":"從 Word 匯入","Importing Word document":"匯入 Word 文件"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
package/dist/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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};
23
+ import{Plugin as _0x4a5e4a,Command as _0x30d71e}from'@ckeditor/ckeditor5-core/dist/index.js';import{FileDialogButtonView as _0x3cb8e3,MenuBarMenuListItemFileDialogButtonView as _0x1d9018,SpinnerView as _0x29faf2,Notification as _0x3bd149}from'@ckeditor/ckeditor5-ui/dist/index.js';import{ClipboardPipeline as _0x244939}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{Range as _0x7fc54}from'@ckeditor/ckeditor5-engine/dist/index.js';import{first as _0x228f2e,uid as _0x11f137,logWarning as _0x4696ce,logError as _0x384532}from'@ckeditor/ckeditor5-utils/dist/index.js';function p(_0xe4bec7,_0x5e2cb3){const t=_0xe4bec7['t'];switch(_0x5e2cb3){case'Import\x20from\x20Word':return t('Import\x20from\x20Word');case'An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':return t('An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.');case'Importing\x20Word\x20document':return t('Importing\x20Word\x20document');default:return _0x5e2cb3;}}class o extends _0x4a5e4a{static get['pluginName'](){return'ImportWordUI';}['init'](){const _0x500613=this['editor'];_0x500613['ui']['componentFactory']['add']('importWord',()=>{const _0x163452=this['_createButton'](_0x3cb8e3),_0x1678ec=_0x500613['commands']['get']('importWord');return _0x163452['bind']('isOn')['to'](_0x1678ec,'isBusy'),_0x163452['tooltip']=!0x0,_0x163452;}),_0x500613['ui']['componentFactory']['add']('menuBar:importWord',()=>this['_createButton'](_0x1d9018));}['_createButton'](_0x103127){const _0x60fa79=this['editor'],_0x3ad92c=_0x60fa79['commands']['get']('importWord'),_0x5613c9=new _0x103127(_0x60fa79['locale']),_0x40c74b=new _0x29faf2();return _0x5613c9['set']({'acceptedType':'application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.openxmlformats-officedocument.wordprocessingml.template'}),_0x5613c9['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'}),_0x5613c9['bind']('isEnabled')['to'](_0x3ad92c),_0x5613c9['bind']('label')['to'](_0x3ad92c,'isBusy',_0x461b6d=>p(_0x60fa79['locale'],_0x461b6d?'Importing\x20Word\x20document':'Import\x20from\x20Word')),_0x40c74b['bind']('isVisible')['to'](_0x3ad92c,'isBusy'),_0x5613c9['iconView']['bind']('isVisible')['to'](_0x3ad92c,'isBusy',_0x4a7e4c=>!_0x4a7e4c),_0x5613c9['children']['add'](_0x40c74b),_0x5613c9['on']('done',(_0x4bb8e2,_0xbf3699)=>{_0x60fa79['execute']('importWord',_0xbf3699[0x0],{}),_0x60fa79['editing']['view']['focus']();}),_0x5613c9;}}class d extends _0x30d71e{['_importMarker'];['_undoStepBatch'];['_abortController'];constructor(_0x308b82){super(_0x308b82),this['set']('isBusy',!0x1),this['_importMarker']=null,this['_undoStepBatch']=null,this['_abortController']=null,this['on']('dataInsert',(_0x184e79,_0x57853c)=>{const _0x336873=new DataTransfer();_0x336873['setData']('text/html',_0x57853c['html']);const _0x1d2911=this['_importMarker']['getRange']();this['editor']['model']['enqueueChange'](this['_undoStepBatch'],_0x40c334=>{this['_importMarker']['stopListening'](),_0x40c334['setSelection'](_0x1d2911),_0x308b82['editing']['view']['document']['fire']('clipboardInput',{'dataTransfer':_0x336873});});},{'priority':'low'});}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x15149c,_0x4689d3={}){if(this['isBusy'])return Promise['resolve']();const _0x30eb22=this['editor']['config']['get']('importWord');if(this['editor']['plugins']['has']('MergeFields')){const {prefix:_0x3cf743,suffix:_0x24e77d}=this['editor']['config']['get']('mergeFields');_0x4689d3['merge_fields']={'prefix':_0x3cf743,'suffix':_0x24e77d};}const _0x130d4a={'url':_0x30eb22['converterUrl'],'file':_0x15149c,'serviceConfig':{..._0x4689d3,'formatting':_0x30eb22['formatting'],'timezone':new Intl['DateTimeFormat']()['resolvedOptions']()['timeZone']}};return this['_prepareForImport'](),this['_sendImportRequest'](_0x130d4a)['then'](this['_handleImportResponse']['bind'](this))['catch'](this['_handleImportFailure']['bind'](this))['finally'](this['_cleanUpAfterImport']['bind'](this));}['_checkEnabled'](){if(this['isBusy'])return!0x1;const _0x201f06=this['editor']['model'],_0x2016ac=_0x201f06['schema'],_0x191af8=_0x201f06['document']['selection'],_0x439466=_0x228f2e(_0x191af8['getSelectedBlocks']());return!!_0x439466&&_0x2016ac['checkChild'](_0x439466['parent'],'paragraph');}['_prepareForImport'](){const _0x4f82dc=this['editor'],_0x1a2c16=_0x4f82dc['model'],_0x3a1859=_0x1a2c16['document']['selection'];this['_abortController']=new AbortController(),this['_undoStepBatch']=_0x4f82dc['model']['createBatch']({'isUndoable':!0x0}),_0x1a2c16['enqueueChange'](this['_undoStepBatch'],_0x54ab29=>{_0x3a1859['isCollapsed']||_0x1a2c16['deleteContent'](_0x3a1859,{'leaveUnmerged':!0x0});const _0x3accea=_0x3a1859['getFirstPosition'](),_0x47c9ba=_0x228f2e(_0x3a1859['getSelectedBlocks']());let _0x3843de;_0x3843de=_0x47c9ba['is']('element','paragraph')&&_0x47c9ba['isEmpty']?_0x3accea:_0x3accea['isAtStart']?_0x1a2c16['createPositionBefore'](_0x47c9ba):_0x3accea['isAtEnd']?_0x1a2c16['createPositionAfter'](_0x47c9ba):_0x54ab29['split'](_0x3accea)['position'],this['_importMarker']=_0x54ab29['addMarker']('importWord:'+_0x11f137(),{'usingOperation':!0x1,'affectsData':!0x1,'range':new _0x7fc54(_0x3843de)}),this['_importMarker']['on']('change:range',()=>{'$graveyard'===this['_importMarker']['getRange']()['root']['rootName']&&this['_abortController']['abort']();});}),this['isBusy']=!0x0,this['refresh']();}['_cleanUpAfterImport'](){const _0x4e0f3a=this['editor']['model'];_0x4e0f3a['markers']['has'](this['_importMarker'])&&_0x4e0f3a['enqueueChange'](this['_undoStepBatch'],_0x1b2635=>{_0x1b2635['removeMarker'](this['_importMarker']);}),this['_importMarker']=null,this['_undoStepBatch']=null,this['_abortController']=null,this['isBusy']=!0x1,this['refresh']();}['_sendImportRequest']({url:_0x28a315,file:_0x452949,serviceConfig:_0x56a613}){const _0x28bf7b=this['editor']['plugins']['get']('ImportWordEditing')['getToken'](),_0x8de166=new FormData();_0x8de166['set']('config',JSON['stringify'](_0x56a613)),_0x8de166['set']('file',_0x452949);const _0x523435={'method':'POST','headers':{},'body':_0x8de166,'signal':this['_abortController']['signal']};return _0x28bf7b&&(_0x523435['headers']['Authorization']=_0x28bf7b['value']),fetch(_0x28a315,_0x523435);}['_handleImportResponse'](_0x102f18){return _0x102f18['ok']?_0x102f18['json']()['then'](_0x155657=>{if(!this['editor']['model']['markers']['has'](this['_importMarker']))return;'$graveyard'!==this['_importMarker']['getRange']()['root']['rootName']&&this['fire']('dataInsert',_0x155657);}):Promise['reject']();}['_handleImportFailure'](){if(this['_abortController']['signal']['aborted'])return void _0x4696ce('import-word-plugin-import-cancelled');const _0x20943d=this['editor'],_0x293d03=p(_0x20943d['locale'],'An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.');_0x20943d['plugins']['get']('Notification')['showWarning'](_0x293d03),_0x384532('import-word-plugin-conversion-failed');}}class e extends _0x4a5e4a{['_token'];static get['pluginName'](){return'ImportWordEditing';}static get['requires'](){return[_0x3bd149,_0x244939,'CloudServices'];}constructor(_0x1cec0d){super(_0x1cec0d),this['_token']=null;}async['init'](){const _0x1a8d55=this['editor'];_0x1a8d55['config']['define']('importWord',{'converterUrl':'https://docx-converter.cke-cs.com/v2/convert/docx-html','tokenUrl':(_0x1a8d55['config']['get']('cloudServices')||{})['tokenUrl'],'formatting':{'resets':'none','defaults':'none','styles':'inline'}}),_0x1a8d55['commands']['add']('importWord',new d(_0x1a8d55));const {tokenUrl:_0x1d742a}=_0x1a8d55['config']['get']('importWord');if(_0x1d742a){const {tokenUrl:_0x9323be}=_0x1a8d55['config']['get']('cloudServices')||{};this['_token']=_0x1d742a===_0x9323be?_0x1a8d55['plugins']['get']('CloudServices')['token']:await _0x1a8d55['plugins']['get']('CloudServices')['registerTokenUrl'](_0x1d742a);}}['getToken'](){return this['_token'];}}class i extends _0x4a5e4a{static get['pluginName'](){return'ImportWord';}static get['requires'](){return[e,o];}}export{i as ImportWord,e as ImportWordEditing,o as ImportWordUI};
@@ -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':_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}};
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':_0x29d03f=>0x0==_0x29d03f?0x0:0x1==_0x29d03f?0x1:0x2==_0x29d03f?0x2:_0x29d03f%0x64>=0x3&&_0x29d03f%0x64<=0xa?0x3:_0x29d03f%0x64>=0xb&&_0x29d03f%0x64<=0x63?0x4:0x5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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']||={});
23
+ (_0x1d2b80=>{const {ar:{dictionary:_0x2e9081,getPluralForm:_0x7f480d}}={'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':_0x2e72ed=>0x0==_0x2e72ed?0x0:0x1==_0x2e72ed?0x1:0x2==_0x2e72ed?0x2:_0x2e72ed%0x64>=0x3&&_0x2e72ed%0x64<=0xa?0x3:_0x2e72ed%0x64>=0xb&&_0x2e72ed%0x64<=0x63?0x4:0x5}};_0x1d2b80['ar']||={'dictionary':{},'getPluralForm':null},_0x1d2b80['ar']['dictionary']=Object['assign'](_0x1d2b80['ar']['dictionary'],_0x2e9081),_0x1d2b80['ar']['getPluralForm']=_0x7f480d;})(window['CKEDITOR_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':_0x1b2ee4=>0x1!=_0x1b2ee4}};
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':_0x4162ba=>0x1!=_0x4162ba}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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']||={});
23
+ (_0x123bcd=>{const {bg:{dictionary:_0x13aa85,getPluralForm:_0x1a7284}}={'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':_0x221f0f=>0x1!=_0x221f0f}};_0x123bcd['bg']||={'dictionary':{},'getPluralForm':null},_0x123bcd['bg']['dictionary']=Object['assign'](_0x123bcd['bg']['dictionary'],_0x13aa85),_0x123bcd['bg']['getPluralForm']=_0x1a7284;})(window['CKEDITOR_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':_0x30bd15=>0x1!=_0x30bd15}};
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':_0x24b147=>0x1!=_0x24b147}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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']||={});
23
+ (_0x104f5c=>{const {bn:{dictionary:_0x1794e5,getPluralForm:_0x156192}}={'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':_0xa85f62=>0x1!=_0xa85f62}};_0x104f5c['bn']||={'dictionary':{},'getPluralForm':null},_0x104f5c['bn']['dictionary']=Object['assign'](_0x104f5c['bn']['dictionary'],_0x1794e5),_0x104f5c['bn']['getPluralForm']=_0x156192;})(window['CKEDITOR_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':_0x392a83=>0x1!=_0x392a83}};
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':_0x2460b6=>0x1!=_0x2460b6}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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']||={});
23
+ (_0x57ccf9=>{const {ca:{dictionary:_0x4fa24a,getPluralForm:_0x1f1694}}={'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':_0x6f84f5=>0x1!=_0x6f84f5}};_0x57ccf9['ca']||={'dictionary':{},'getPluralForm':null},_0x57ccf9['ca']['dictionary']=Object['assign'](_0x57ccf9['ca']['dictionary'],_0x4fa24a),_0x57ccf9['ca']['getPluralForm']=_0x1f1694;})(window['CKEDITOR_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':_0x42b364=>0x1==_0x42b364&&_0x42b364%0x1==0x0?0x0:_0x42b364>=0x2&&_0x42b364<=0x4&&_0x42b364%0x1==0x0?0x1:_0x42b364%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':_0x173678=>0x1==_0x173678&&_0x173678%0x1==0x0?0x0:_0x173678>=0x2&&_0x173678<=0x4&&_0x173678%0x1==0x0?0x1:_0x173678%0x1!=0x0?0x2:0x3}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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']||={});
23
+ (_0x30fa42=>{const {cs:{dictionary:_0x3a4a34,getPluralForm:_0x3b87f8}}={'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':_0x466c10=>0x1==_0x466c10&&_0x466c10%0x1==0x0?0x0:_0x466c10>=0x2&&_0x466c10<=0x4&&_0x466c10%0x1==0x0?0x1:_0x466c10%0x1!=0x0?0x2:0x3}};_0x30fa42['cs']||={'dictionary':{},'getPluralForm':null},_0x30fa42['cs']['dictionary']=Object['assign'](_0x30fa42['cs']['dictionary'],_0x3a4a34),_0x30fa42['cs']['getPluralForm']=_0x3b87f8;})(window['CKEDITOR_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':_0x5d783=>0x1!=_0x5d783}};
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':_0x1117c4=>0x1!=_0x1117c4}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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']||={});
23
+ (_0x38c56e=>{const {da:{dictionary:_0x3ce11a,getPluralForm:_0x4a37b4}}={'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':_0x299a67=>0x1!=_0x299a67}};_0x38c56e['da']||={'dictionary':{},'getPluralForm':null},_0x38c56e['da']['dictionary']=Object['assign'](_0x38c56e['da']['dictionary'],_0x3ce11a),_0x38c56e['da']['getPluralForm']=_0x4a37b4;})(window['CKEDITOR_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':_0x562ee7=>0x1!=_0x562ee7}};
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':_0x4287b5=>0x1!=_0x4287b5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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']||={});
23
+ (_0x11317c=>{const {de:{dictionary:_0x434106,getPluralForm:_0x20df1c}}={'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':_0x483125=>0x1!=_0x483125}};_0x11317c['de']||={'dictionary':{},'getPluralForm':null},_0x11317c['de']['dictionary']=Object['assign'](_0x11317c['de']['dictionary'],_0x434106),_0x11317c['de']['getPluralForm']=_0x20df1c;})(window['CKEDITOR_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':_0x1ba550=>0x1!=_0x1ba550}};
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':_0xa4c445=>0x1!=_0xa4c445}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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']||={});
23
+ (_0x3877d1=>{const {el:{dictionary:_0x2208bc,getPluralForm:_0x3108f3}}={'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':_0x170ee2=>0x1!=_0x170ee2}};_0x3877d1['el']||={'dictionary':{},'getPluralForm':null},_0x3877d1['el']['dictionary']=Object['assign'](_0x3877d1['el']['dictionary'],_0x2208bc),_0x3877d1['el']['getPluralForm']=_0x3108f3;})(window['CKEDITOR_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':_0x3d9a2e=>0x1!=_0x3d9a2e}};
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':_0x35f851=>0x1!=_0x35f851}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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']||={});
23
+ (_0x1ad101=>{const {'en-au':{dictionary:_0x2b6506,getPluralForm:_0x5be614}}={'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':_0x5cb5fa=>0x1!=_0x5cb5fa}};_0x1ad101['en-au']||={'dictionary':{},'getPluralForm':null},_0x1ad101['en-au']['dictionary']=Object['assign'](_0x1ad101['en-au']['dictionary'],_0x2b6506),_0x1ad101['en-au']['getPluralForm']=_0x5be614;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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']||={});
23
+ (_0x3dcb4e=>{const {en:{dictionary:_0x447d88,getPluralForm:_0x54a5d5}}={'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}};_0x3dcb4e['en']||={'dictionary':{},'getPluralForm':null},_0x3dcb4e['en']['dictionary']=Object['assign'](_0x3dcb4e['en']['dictionary'],_0x447d88),_0x3dcb4e['en']['getPluralForm']=_0x54a5d5;})(window['CKEDITOR_TRANSLATIONS']||={});