@ckeditor/ckeditor5-import-word 0.0.0-nightly-20240422.0 → 0.0.0-nightly-20240424.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 (105) hide show
  1. package/build/import-word.js +1 -1
  2. package/dist/index-content.css +4 -0
  3. package/dist/index-editor.css +4 -0
  4. package/dist/index.css +4 -0
  5. package/dist/index.js +23 -0
  6. package/dist/translations/ar.d.ts +8 -0
  7. package/dist/translations/ar.js +23 -0
  8. package/dist/translations/bg.d.ts +8 -0
  9. package/dist/translations/bg.js +23 -0
  10. package/dist/translations/bn.d.ts +8 -0
  11. package/dist/translations/bn.js +23 -0
  12. package/dist/translations/ca.d.ts +8 -0
  13. package/dist/translations/ca.js +23 -0
  14. package/dist/translations/cs.d.ts +8 -0
  15. package/dist/translations/cs.js +23 -0
  16. package/dist/translations/da.d.ts +8 -0
  17. package/dist/translations/da.js +23 -0
  18. package/dist/translations/de.d.ts +8 -0
  19. package/dist/translations/de.js +23 -0
  20. package/dist/translations/el.d.ts +8 -0
  21. package/dist/translations/el.js +23 -0
  22. package/dist/translations/en-au.d.ts +8 -0
  23. package/dist/translations/en-au.js +23 -0
  24. package/dist/translations/en.d.ts +8 -0
  25. package/dist/translations/en.js +23 -0
  26. package/dist/translations/es.d.ts +8 -0
  27. package/dist/translations/es.js +23 -0
  28. package/dist/translations/et.d.ts +8 -0
  29. package/dist/translations/et.js +23 -0
  30. package/dist/translations/fi.d.ts +8 -0
  31. package/dist/translations/fi.js +23 -0
  32. package/dist/translations/fr.d.ts +8 -0
  33. package/dist/translations/fr.js +23 -0
  34. package/dist/translations/gl.d.ts +8 -0
  35. package/dist/translations/gl.js +23 -0
  36. package/dist/translations/he.d.ts +8 -0
  37. package/dist/translations/he.js +23 -0
  38. package/dist/translations/hi.d.ts +8 -0
  39. package/dist/translations/hi.js +23 -0
  40. package/dist/translations/hr.d.ts +8 -0
  41. package/dist/translations/hr.js +23 -0
  42. package/dist/translations/hu.d.ts +8 -0
  43. package/dist/translations/hu.js +23 -0
  44. package/dist/translations/id.d.ts +8 -0
  45. package/dist/translations/id.js +23 -0
  46. package/dist/translations/it.d.ts +8 -0
  47. package/dist/translations/it.js +23 -0
  48. package/dist/translations/ja.d.ts +8 -0
  49. package/dist/translations/ja.js +23 -0
  50. package/dist/translations/ko.d.ts +8 -0
  51. package/dist/translations/ko.js +23 -0
  52. package/dist/translations/lt.d.ts +8 -0
  53. package/dist/translations/lt.js +23 -0
  54. package/dist/translations/lv.d.ts +8 -0
  55. package/dist/translations/lv.js +23 -0
  56. package/dist/translations/ms.d.ts +8 -0
  57. package/dist/translations/ms.js +23 -0
  58. package/dist/translations/nl.d.ts +8 -0
  59. package/dist/translations/nl.js +23 -0
  60. package/dist/translations/no.d.ts +8 -0
  61. package/dist/translations/no.js +23 -0
  62. package/dist/translations/pl.d.ts +8 -0
  63. package/dist/translations/pl.js +23 -0
  64. package/dist/translations/pt-br.d.ts +8 -0
  65. package/dist/translations/pt-br.js +23 -0
  66. package/dist/translations/pt.d.ts +8 -0
  67. package/dist/translations/pt.js +23 -0
  68. package/dist/translations/ro.d.ts +8 -0
  69. package/dist/translations/ro.js +23 -0
  70. package/dist/translations/ru.d.ts +8 -0
  71. package/dist/translations/ru.js +23 -0
  72. package/dist/translations/sk.d.ts +8 -0
  73. package/dist/translations/sk.js +23 -0
  74. package/dist/translations/sr-latn.d.ts +8 -0
  75. package/dist/translations/sr-latn.js +23 -0
  76. package/dist/translations/sr.d.ts +8 -0
  77. package/dist/translations/sr.js +23 -0
  78. package/dist/translations/sv.d.ts +8 -0
  79. package/dist/translations/sv.js +23 -0
  80. package/dist/translations/th.d.ts +8 -0
  81. package/dist/translations/th.js +23 -0
  82. package/dist/translations/tr.d.ts +8 -0
  83. package/dist/translations/tr.js +23 -0
  84. package/dist/translations/ug.d.ts +8 -0
  85. package/dist/translations/ug.js +23 -0
  86. package/dist/translations/uk.d.ts +8 -0
  87. package/dist/translations/uk.js +23 -0
  88. package/dist/translations/vi.d.ts +8 -0
  89. package/dist/translations/vi.js +23 -0
  90. package/dist/translations/zh-cn.d.ts +8 -0
  91. package/dist/translations/zh-cn.js +23 -0
  92. package/dist/translations/zh.d.ts +8 -0
  93. package/dist/translations/zh.js +23 -0
  94. package/dist/types/augmentation.d.ts +27 -0
  95. package/dist/types/importword.d.ts +128 -0
  96. package/dist/types/importwordcommand.d.ts +58 -0
  97. package/dist/types/importwordediting.d.ts +43 -0
  98. package/dist/types/importwordui.d.ts +26 -0
  99. package/dist/types/index.d.ts +16 -0
  100. package/package.json +3 -2
  101. package/src/importword.js +1 -1
  102. package/src/importwordcommand.js +1 -1
  103. package/src/importwordediting.js +1 -1
  104. package/src/importwordui.js +1 -1
  105. package/src/index.js +1 -1
@@ -2,4 +2,4 @@
2
2
  /*!
3
3
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
4
4
  * For licensing, see LICENSE.md.
5
- */(()=>{var t={331:(t,e,r)=>{t.exports=r(237)("./src/clipboard.js")},782:(t,e,r)=>{t.exports=r(237)("./src/core.js")},783:(t,e,r)=>{t.exports=r(237)("./src/engine.js")},311:(t,e,r)=>{t.exports=r(237)("./src/ui.js")},584:(t,e,r)=>{t.exports=r(237)("./src/utils.js")},237:t=>{"use strict";t.exports=CKEditor5.dll}},e={};function r(o){var n=e[o];if(void 0!==n)return n.exports;var i=e[o]={exports:{}};return t[o](i,i.exports,r),i.exports}r.d=(t,e)=>{for(var o in e)r.o(e,o)&&!r.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:e[o]})},r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var o={};(()=>{"use strict";r.r(o),r.d(o,{ImportWord:()=>g,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({label:o("Import from Word"),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),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")}}function l(t,e){const r=d();return(l=function(t,e){return r[t-=314]})(t,e)}const p=l;function d(){const t=["registerTokenUrl","3732ybXiDd","40sAeMOb","2060QHyUkM","635922PUAwJY","init","requires","inline","token","editor","cloudServices","add","pluginName","7sxvsKS","get","CloudServices","4477527BorhXV","1761940dLwVCD","_token","1407045zDCpPJ","tokenUrl","https://docx-converter.cke-cs.com/v2/convert/docx-html","importWord","define","plugins","getToken","ImportWordEditing","commands","3069032wQLTOx","none","config","1298652TNTVET"];return(d=function(){return t})()}!function(t,e){const r=l,o=t();for(;;)try{if(435157===-parseInt(r(324))/1+-parseInt(r(319))/2+-parseInt(r(339))/3+-parseInt(r(337))/4+parseInt(r(323))/5*(parseInt(r(321))/6)+-parseInt(r(333))/7*(-parseInt(r(316))/8)+parseInt(r(336))/9*(parseInt(r(322))/10))break;o.push(o.shift())}catch(t){o.push(o.shift())}}(d);class u extends t.Plugin{static get[p(332)](){return p(314)}static get[p(326)](){const t=p;return[e.Notification,i.ClipboardPipeline,t(335)]}constructor(t){const e=p;super(t),this[e(338)]=null}async[p(325)](){const t=p,e=this[t(329)];e[t(318)][t(343)](t(342),{converterUrl:t(341),tokenUrl:(e[t(318)][t(334)](t(330))||{})[t(340)],formatting:{resets:t(317),defaults:t(317),styles:t(327)}}),e[t(315)][t(331)](t(342),new c(e));const{tokenUrl:r}=e[t(318)][t(334)](t(342));if(r){const{tokenUrl:o}=e[t(318)][t(334)](t(330))||{};this[t(338)]=r===o?e[t(344)][t(334)](t(335))[t(328)]:await e[t(344)][t(334)](t(335))[t(320)](r)}}[p(345)](){return this[p(338)]}}var h=m;function m(t,e){var r=f();return(m=function(t,e){return r[t-=229]})(t,e)}function f(){var t=["14kXazlb","1160592GkBFHS","1240874KAzmCx","requires","ImportWord","144bqQALe","4769664GcVeLG","2542250mmfJPt","28tNbEAA","980430UfWwSf","pluginName","212431hWNCEj","7611SKgQor"];return(f=function(){return t})()}!function(t,e){for(var r=m,o=t();;)try{if(313081===-parseInt(r(235))/1+parseInt(r(239))/2+parseInt(r(236))/3*(-parseInt(r(232))/4)+parseInt(r(231))/5+parseInt(r(238))/6*(parseInt(r(237))/7)+parseInt(r(230))/8+-parseInt(r(229))/9*(parseInt(r(233))/10))break;o.push(o.shift())}catch(t){o.push(o.shift())}}(f);class g extends t.Plugin{static get[h(234)](){return h(241)}static get[h(240)](){return[u,n]}}function I(t,e){var r=v();return(I=function(t,e){return r[t-=328]})(t,e)}function v(){var t=["3028553ESnMVA","6hVYwIR","8KLkIwD","19436Reuvml","60EJLaBa","958779pYFIeL","537RVMvNP","743620ublKRI","2189250fwEDVn","16933WcEUpr","456tBfUBf"];return(v=function(){return t})()}!function(t,e){for(var r=I,o=t();;)try{if(118606===-parseInt(r(333))/1*(-parseInt(r(337))/2)+parseInt(r(331))/3*(parseInt(r(330))/4)+-parseInt(r(334))/5+-parseInt(r(328))/6*(parseInt(r(336))/7)+parseInt(r(329))/8*(parseInt(r(332))/9)+parseInt(r(335))/10+-parseInt(r(338))/11)break;o.push(o.shift())}catch(t){o.push(o.shift())}}(v)})(),(window.CKEditor5=window.CKEditor5||{}).importWord=o})();
5
+ */(()=>{var t={331:(t,e,r)=>{t.exports=r(237)("./src/clipboard.js")},782:(t,e,r)=>{t.exports=r(237)("./src/core.js")},783:(t,e,r)=>{t.exports=r(237)("./src/engine.js")},311:(t,e,r)=>{t.exports=r(237)("./src/ui.js")},584:(t,e,r)=>{t.exports=r(237)("./src/utils.js")},237:t=>{"use strict";t.exports=CKEditor5.dll}},e={};function r(o){var n=e[o];if(void 0!==n)return n.exports;var i=e[o]={exports:{}};return t[o](i,i.exports,r),i.exports}r.d=(t,e)=>{for(var o in e)r.o(e,o)&&!r.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:e[o]})},r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var o={};(()=>{"use strict";r.r(o),r.d(o,{ImportWord:()=>f,ImportWordEditing:()=>u,ImportWordUI:()=>n});var t=r(782),e=r(311);class n extends t.Plugin{static get pluginName(){return"ImportWordUI"}init(){const t=this.editor;t.ui.componentFactory.add("importWord",(()=>{const r=this._createButton(e.FileDialogButtonView),o=t.commands.get("importWord");return r.bind("isOn").to(o,"isBusy"),r.tooltip=!0,r})),t.ui.componentFactory.add("menuBar:importWord",(()=>this._createButton(e.MenuBarMenuListItemFileDialogButtonView)))}_createButton(t){const r=this.editor,o=r.locale.t,n=r.commands.get("importWord"),i=new t(r.locale),s=new e.SpinnerView;return i.set({acceptedType:"application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.openxmlformats-officedocument.wordprocessingml.template"}),i.set({label:o("Import from Word"),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),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 l=p;function p(t,e){const r=d();return(p=function(t,e){return r[t-=423]})(t,e)}function d(){const t=["get","requires","commands","ImportWordEditing","225TOYHRp","editor","CloudServices","95166XqYCtC","1933962npQKQD","plugins","none","cloudServices","registerTokenUrl","add","162626OdpQpj","init","pluginName","config","inline","importWord","_token","https://docx-converter.cke-cs.com/v2/convert/docx-html","token","17380mYWLXa","672592ssJPJq","tokenUrl","1439420RyWItb","14959IurHZq","1136gUoaAp","define","getToken"];return(d=function(){return t})()}!function(t,e){const r=p,o=t();for(;;)try{if(219960===-parseInt(r(427))/1+parseInt(r(437))/2+-parseInt(r(448))/3*(-parseInt(r(436))/4)+-parseInt(r(439))/5+parseInt(r(452))/6+parseInt(r(440))/7*(-parseInt(r(441))/8)+-parseInt(r(451))/9)break;o.push(o.shift())}catch(t){o.push(o.shift())}}(d);class u extends t.Plugin{static get[l(429)](){return l(447)}static get[l(445)](){const t=l;return[e.Notification,i.ClipboardPipeline,t(450)]}constructor(t){const e=l;super(t),this[e(433)]=null}async[l(428)](){const t=l,e=this[t(449)];e[t(430)][t(442)](t(432),{converterUrl:t(434),tokenUrl:(e[t(430)][t(444)](t(424))||{})[t(438)],formatting:{resets:t(423),defaults:t(423),styles:t(431)}}),e[t(446)][t(426)](t(432),new c(e));const{tokenUrl:r}=e[t(430)][t(444)](t(432));if(r){const{tokenUrl:o}=e[t(430)][t(444)](t(424))||{};this[t(433)]=r===o?e[t(453)][t(444)](t(450))[t(435)]:await e[t(453)][t(444)](t(450))[t(425)](r)}}[l(443)](){return this[l(433)]}}function h(t,e){var r=g();return(h=function(t,e){return r[t-=150]})(t,e)}var m=h;function g(){var t=["5BeHEMO","9900KsFQIx","ImportWord","pluginName","requires","1581oNDTpI","596992BvDbnG","519496xbhcug","9369666hzUaYX","206248ngxdLj","2148rfJMRM","4180236NNFsJl"];return(g=function(){return t})()}!function(t,e){for(var r=h,o=t();;)try{if(465492===parseInt(r(159))/1+-parseInt(r(156))/2*(-parseInt(r(151))/3)+parseInt(r(153))/4*(parseInt(r(158))/5)+parseInt(r(157))/6+parseInt(r(155))/7+parseInt(r(152))/8+-parseInt(r(154))/9)break;o.push(o.shift())}catch(t){o.push(o.shift())}}(g);class f extends t.Plugin{static get[m(161)](){return m(160)}static get[m(150)](){return[u,n]}}function I(t,e){var r=v();return(I=function(t,e){return r[t-=197]})(t,e)}function v(){var t=["3048582bVXIGy","21915929meJefB","4989642fwHCWi","1654100ywtkwM","122479CyqDzj","4998650yghqPU","143474alGVtr"];return(v=function(){return t})()}!function(t,e){for(var r=I,o=t();;)try{if(747583===parseInt(r(198))/1+-parseInt(r(200))/2+-parseInt(r(201))/3+parseInt(r(197))/4+-parseInt(r(199))/5+-parseInt(r(203))/6+parseInt(r(202))/7)break;o.push(o.shift())}catch(t){o.push(o.shift())}}(v)})(),(window.CKEditor5=window.CKEditor5||{}).importWord=o})();
@@ -0,0 +1,4 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
@@ -0,0 +1,4 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
package/dist/index.css ADDED
@@ -0,0 +1,4 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
package/dist/index.js ADDED
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ import{Plugin as _0x37e065,Command as _0x3518e8}from'@ckeditor/ckeditor5-core/dist/index.js';import{FileDialogButtonView as _0x36a178,MenuBarMenuListItemFileDialogButtonView as _0x3f102e,SpinnerView as _0x385801,Notification as _0x12debf}from'@ckeditor/ckeditor5-ui/dist/index.js';import{ClipboardPipeline as _0x286946}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{Range as _0x38cd67}from'@ckeditor/ckeditor5-engine/dist/index.js';import{first as _0x4db0ba,uid as _0x56b289,logWarning as _0x59c33c,logError as _0x1f634b}from'@ckeditor/ckeditor5-utils/dist/index.js';class o extends _0x37e065{static get['pluginName'](){return'ImportWordUI';}['init'](){const _0x25f716=this['editor'];_0x25f716['ui']['componentFactory']['add']('importWord',()=>{const _0xbde5b1=this['_createButton'](_0x36a178),_0x2e5126=_0x25f716['commands']['get']('importWord');return _0xbde5b1['bind']('isOn')['to'](_0x2e5126,'isBusy'),_0xbde5b1['tooltip']=!0x0,_0xbde5b1;}),_0x25f716['ui']['componentFactory']['add']('menuBar:importWord',()=>this['_createButton'](_0x3f102e));}['_createButton'](_0x2f34b8){const _0x47c931=this['editor'],t=_0x47c931['locale']['t'],_0x2ee66d=_0x47c931['commands']['get']('importWord'),_0x20389d=new _0x2f34b8(_0x47c931['locale']),_0x176d04=new _0x385801();return _0x20389d['set']({'acceptedType':'application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.openxmlformats-officedocument.wordprocessingml.template'}),_0x20389d['set']({'label':t('Import\x20from\x20Word'),'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'}),_0x20389d['bind']('isEnabled')['to'](_0x2ee66d),_0x176d04['bind']('isVisible')['to'](_0x2ee66d,'isBusy'),_0x20389d['iconView']['bind']('isVisible')['to'](_0x2ee66d,'isBusy',_0x4e7637=>!_0x4e7637),_0x20389d['children']['add'](_0x176d04),_0x20389d['on']('done',(_0x37901e,_0x1d66f6)=>{_0x47c931['execute']('importWord',_0x1d66f6[0x0],{}),_0x47c931['editing']['view']['focus']();}),_0x20389d;}}class d extends _0x3518e8{['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0xc4ae96,_0x36f9f5={}){if(this['isBusy'])return Promise['resolve']();const _0x3cd95d=this['editor']['config']['get']('importWord'),_0x69324b={'url':_0x3cd95d['converterUrl'],'file':_0xc4ae96,'serviceConfig':{..._0x36f9f5,'formatting':_0x3cd95d['formatting']}};return this['_prepareForImport'](),this['_sendImportRequest'](_0x69324b)['then'](this['_handleImportResponse']['bind'](this))['catch'](this['_handleImportFailure']['bind'](this))['finally'](this['_cleanUpAfterImport']['bind'](this));}['_checkEnabled'](){if(this['isBusy'])return!0x1;const _0xaa3301=this['editor']['model'],_0x55e983=_0xaa3301['schema'],_0x26b3b0=_0xaa3301['document']['selection'],_0x45d787=_0x4db0ba(_0x26b3b0['getSelectedBlocks']());return!!_0x45d787&&_0x55e983['checkChild'](_0x45d787['parent'],'paragraph');}['_prepareForImport'](){const _0x39fab6=this['editor'],_0x3c1c29=_0x39fab6['model'],_0x1abc3d=_0x3c1c29['document']['selection'];this['_abortController']=new AbortController(),this['_undoStepBatch']=_0x39fab6['model']['createBatch']({'isUndoable':!0x0}),_0x3c1c29['enqueueChange'](this['_undoStepBatch'],_0x2f8518=>{_0x1abc3d['isCollapsed']||_0x3c1c29['deleteContent'](_0x1abc3d,{'leaveUnmerged':!0x0});const _0x2ca4a6=_0x1abc3d['getFirstPosition'](),_0x4d9190=_0x4db0ba(_0x1abc3d['getSelectedBlocks']());let _0x1cec90;_0x1cec90=_0x4d9190['is']('element','paragraph')&&_0x4d9190['isEmpty']?_0x2ca4a6:_0x2ca4a6['isAtStart']?_0x3c1c29['createPositionBefore'](_0x4d9190):_0x2ca4a6['isAtEnd']?_0x3c1c29['createPositionAfter'](_0x4d9190):_0x2f8518['split'](_0x2ca4a6)['position'],this['_importMarker']=_0x2f8518['addMarker']('importWord:'+_0x56b289(),{'usingOperation':!0x1,'affectsData':!0x1,'range':new _0x38cd67(_0x1cec90)}),this['_importMarker']['on']('change:range',()=>{'$graveyard'===this['_importMarker']['getRange']()['root']['rootName']&&this['_abortController']['abort']();});}),this['isBusy']=!0x0,this['refresh']();}['_cleanUpAfterImport'](){const _0x56407d=this['editor']['model'];_0x56407d['markers']['has'](this['_importMarker'])&&_0x56407d['enqueueChange'](this['_undoStepBatch'],_0x417a82=>{_0x417a82['removeMarker'](this['_importMarker']);}),this['_importMarker']=null,this['_undoStepBatch']=null,this['_abortController']=null,this['isBusy']=!0x1,this['refresh']();}['_sendImportRequest']({url:_0x339ff0,file:_0x1e8201,serviceConfig:_0x2143a2}){const _0x2d487e=this['editor']['plugins']['get']('ImportWordEditing')['getToken'](),_0xc450f5=new FormData();_0xc450f5['set']('config',JSON['stringify'](_0x2143a2)),_0xc450f5['set']('file',_0x1e8201);const _0x322ef3={'method':'POST','headers':{},'body':_0xc450f5,'signal':this['_abortController']['signal']};return _0x2d487e&&(_0x322ef3['headers']['Authorization']=_0x2d487e['value']),fetch(_0x339ff0,_0x322ef3);}['_handleImportResponse'](_0x3af123){return _0x3af123['ok']?_0x3af123['json']()['then'](_0x23dd44=>{if(!this['editor']['model']['markers']['has'](this['_importMarker']))return;'$graveyard'!==this['_importMarker']['getRange']()['root']['rootName']&&this['fire']('dataInsert',_0x23dd44);}):Promise['reject']();}['_handleImportFailure'](){if(this['_abortController']['signal']['aborted'])return void _0x59c33c('import-word-plugin-import-cancelled');const _0x3e2174=this['editor'],_0xdbec29=(0x0,_0x3e2174['t'])('An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.');_0x3e2174['plugins']['get']('Notification')['showWarning'](_0xdbec29),_0x1f634b('import-word-plugin-conversion-failed');}constructor(_0x1d8a48){super(_0x1d8a48),this['set']('isBusy',!0x1),this['_importMarker']=null,this['_undoStepBatch']=null,this['_abortController']=null,this['on']('dataInsert',(_0x4adeef,_0x3ae1b6)=>{const _0xae45df=new DataTransfer();_0xae45df['setData']('text/html',_0x3ae1b6['html']);const _0x67bbdc=this['_importMarker']['getRange']();this['editor']['model']['enqueueChange'](this['_undoStepBatch'],_0x3b7167=>{this['_importMarker']['stopListening'](),_0x3b7167['setSelection'](_0x67bbdc),_0x1d8a48['editing']['view']['document']['fire']('clipboardInput',{'dataTransfer':_0xae45df});});},{'priority':'low'});}}class e extends _0x37e065{static get['pluginName'](){return'ImportWordEditing';}static get['requires'](){return[_0x12debf,_0x286946,'CloudServices'];}async['init'](){const _0x383cde=this['editor'];_0x383cde['config']['define']('importWord',{'converterUrl':'https://docx-converter.cke-cs.com/v2/convert/docx-html','tokenUrl':(_0x383cde['config']['get']('cloudServices')||{})['tokenUrl'],'formatting':{'resets':'none','defaults':'none','styles':'inline'}}),_0x383cde['commands']['add']('importWord',new d(_0x383cde));const {tokenUrl:_0x318727}=_0x383cde['config']['get']('importWord');if(_0x318727){const {tokenUrl:_0x9dc6c1}=_0x383cde['config']['get']('cloudServices')||{};this['_token']=_0x318727===_0x9dc6c1?_0x383cde['plugins']['get']('CloudServices')['token']:await _0x383cde['plugins']['get']('CloudServices')['registerTokenUrl'](_0x318727);}}['getToken'](){return this['_token'];}constructor(_0x3f10d3){super(_0x3f10d3),this['_token']=null;}}class i extends _0x37e065{static get['pluginName'](){return'ImportWord';}static get['requires'](){return[e,o];}}export{i as ImportWord,e as ImportWordEditing,o as ImportWordUI};
@@ -0,0 +1,8 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+
6
+ import type { Translations } from 'ckeditor5';
7
+ declare const translations: Translations;
8
+ export default translations;
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ export default{'ar':{'dictionary':{'Import\x20from\x20Word':'استيراد\x20من\x20Word','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'حدث\x20خطأ\x20أثناء\x20استيراد\x20ملف\x20Word.'},'getPluralForm':_0x2026b6=>0x0==_0x2026b6?0x0:0x1==_0x2026b6?0x1:0x2==_0x2026b6?0x2:_0x2026b6%0x64>=0x3&&_0x2026b6%0x64<=0xa?0x3:_0x2026b6%0x64>=0xb&&_0x2026b6%0x64<=0x63?0x4:0x5}};
@@ -0,0 +1,8 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+
6
+ import type { Translations } from 'ckeditor5';
7
+ declare const translations: Translations;
8
+ export default translations;
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
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файла.'},'getPluralForm':_0x467986=>0x1!=_0x467986}};
@@ -0,0 +1,8 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+
6
+ import type { Translations } from 'ckeditor5';
7
+ declare const translations: Translations;
8
+ export default translations;
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
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ঘটেছে।'},'getPluralForm':_0x54d1e3=>0x1!=_0x54d1e3}};
@@ -0,0 +1,8 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+
6
+ import type { Translations } from 'ckeditor5';
7
+ declare const translations: Translations;
8
+ export default translations;
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
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.'},'getPluralForm':_0x2c83ad=>0x1!=_0x2c83ad}};
@@ -0,0 +1,8 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+
6
+ import type { Translations } from 'ckeditor5';
7
+ declare const translations: Translations;
8
+ export default translations;
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
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ě.'},'getPluralForm':_0x5971b7=>0x1==_0x5971b7&&_0x5971b7%0x1==0x0?0x0:_0x5971b7>=0x2&&_0x5971b7<=0x4&&_0x5971b7%0x1==0x0?0x1:_0x5971b7%0x1!=0x0?0x2:0x3}};
@@ -0,0 +1,8 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+
6
+ import type { Translations } from 'ckeditor5';
7
+ declare const translations: Translations;
8
+ export default translations;
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
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.'},'getPluralForm':_0x4d3ab2=>0x1!=_0x4d3ab2}};
@@ -0,0 +1,8 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+
6
+ import type { Translations } from 'ckeditor5';
7
+ declare const translations: Translations;
8
+ export default translations;
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
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.'},'getPluralForm':_0x459827=>0x1!=_0x459827}};
@@ -0,0 +1,8 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+
6
+ import type { Translations } from 'ckeditor5';
7
+ declare const translations: Translations;
8
+ export default translations;
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
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.'},'getPluralForm':_0xdf599a=>0x1!=_0xdf599a}};
@@ -0,0 +1,8 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+
6
+ import type { Translations } from 'ckeditor5';
7
+ declare const translations: Translations;
8
+ export default translations;
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
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.'},'getPluralForm':_0x43d994=>0x1!=_0x43d994}};
@@ -0,0 +1,8 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+
6
+ import type { Translations } from 'ckeditor5';
7
+ declare const translations: Translations;
8
+ export default translations;
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ export default{'en':{'dictionary':{'Import\x20from\x20Word':'Import\x20from\x20Word','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.'},'getPluralForm':null}};
@@ -0,0 +1,8 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+
6
+ import type { Translations } from 'ckeditor5';
7
+ declare const translations: Translations;
8
+ export default translations;
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ export default{'es':{'dictionary':{'Import\x20from\x20Word':'Importar\x20desde\x20Word','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Se\x20ha\x20producido\x20un\x20error\x20al\x20importar\x20el\x20archivo\x20de\x20Word.'},'getPluralForm':_0x15d4b2=>0x1==_0x15d4b2?0x0:0x0!=_0x15d4b2&&_0x15d4b2%0xf4240==0x0?0x1:0x2}};
@@ -0,0 +1,8 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+
6
+ import type { Translations } from 'ckeditor5';
7
+ declare const translations: Translations;
8
+ export default translations;
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ export default{'et':{'dictionary':{'Import\x20from\x20Word':'Wordist\x20importimine','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Wordi\x20faili\x20importimisel\x20tekkis\x20viga.'},'getPluralForm':_0x51b027=>0x1!=_0x51b027}};
@@ -0,0 +1,8 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+
6
+ import type { Translations } from 'ckeditor5';
7
+ declare const translations: Translations;
8
+ export default translations;
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ export default{'fi':{'dictionary':{'Import\x20from\x20Word':'Tuo\x20Wordista','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Word-tiedoston\x20tuomisessa\x20tapahtui\x20virhe.'},'getPluralForm':_0x26289f=>0x1!=_0x26289f}};
@@ -0,0 +1,8 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+
6
+ import type { Translations } from 'ckeditor5';
7
+ declare const translations: Translations;
8
+ export default translations;
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ export default{'fr':{'dictionary':{'Import\x20from\x20Word':'Importer\x20depuis\x20Word','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Une\x20erreur\x20s\x27est\x20produite\x20lors\x20de\x20l\x27importation\x20du\x20fichier\x20Word.'},'getPluralForm':_0x2fe6a6=>0x0==_0x2fe6a6||0x1==_0x2fe6a6?0x0:0x0!=_0x2fe6a6&&_0x2fe6a6%0xf4240==0x0?0x1:0x2}};
@@ -0,0 +1,8 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+
6
+ import type { Translations } from 'ckeditor5';
7
+ declare const translations: Translations;
8
+ export default translations;