@ckeditor/ckeditor5-import-word 0.0.0-internal-20241017.0 → 0.0.0-internal-20241206.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.
- package/LICENSE.md +6 -6
- package/README.md +19 -14
- package/build/import-word.js +1 -1
- package/build/translations/af.js +1 -0
- package/build/translations/ast.js +1 -0
- package/build/translations/az.js +1 -0
- package/build/translations/bs.js +1 -0
- package/build/translations/de-ch.js +1 -0
- package/build/translations/en-gb.js +1 -0
- package/build/translations/eo.js +1 -0
- package/build/translations/es-co.js +1 -0
- package/build/translations/eu.js +1 -0
- package/build/translations/fa.js +1 -0
- package/build/translations/gu.js +1 -0
- package/build/translations/hy.js +1 -0
- package/build/translations/jv.js +1 -0
- package/build/translations/kk.js +1 -0
- package/build/translations/km.js +1 -0
- package/build/translations/kn.js +1 -0
- package/build/translations/ku.js +1 -0
- package/build/translations/nb.js +1 -0
- package/build/translations/ne.js +1 -0
- package/build/translations/oc.js +1 -0
- package/build/translations/si.js +1 -0
- package/build/translations/sl.js +1 -0
- package/build/translations/sq.js +1 -0
- package/build/translations/ti.js +1 -0
- package/build/translations/tk.js +1 -0
- package/build/translations/tt.js +1 -0
- package/build/translations/ur.js +1 -0
- package/build/translations/uz.js +1 -0
- package/dist/index.js +1 -1
- package/dist/translations/af.d.ts +8 -0
- package/dist/translations/af.js +23 -0
- package/dist/translations/af.umd.js +23 -0
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.d.ts +8 -0
- package/dist/translations/ast.js +23 -0
- package/dist/translations/ast.umd.js +23 -0
- package/dist/translations/az.d.ts +8 -0
- package/dist/translations/az.js +23 -0
- package/dist/translations/az.umd.js +23 -0
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.d.ts +8 -0
- package/dist/translations/bs.js +23 -0
- package/dist/translations/bs.umd.js +23 -0
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.d.ts +8 -0
- package/dist/translations/de-ch.js +23 -0
- package/dist/translations/de-ch.umd.js +23 -0
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.d.ts +8 -0
- package/dist/translations/en-gb.js +23 -0
- package/dist/translations/en-gb.umd.js +23 -0
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.d.ts +8 -0
- package/dist/translations/eo.js +23 -0
- package/dist/translations/eo.umd.js +23 -0
- package/dist/translations/es-co.d.ts +8 -0
- package/dist/translations/es-co.js +23 -0
- package/dist/translations/es-co.umd.js +23 -0
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.d.ts +8 -0
- package/dist/translations/eu.js +23 -0
- package/dist/translations/eu.umd.js +23 -0
- package/dist/translations/fa.d.ts +8 -0
- package/dist/translations/fa.js +23 -0
- package/dist/translations/fa.umd.js +23 -0
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.d.ts +8 -0
- package/dist/translations/gu.js +23 -0
- package/dist/translations/gu.umd.js +23 -0
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.d.ts +8 -0
- package/dist/translations/hy.js +23 -0
- package/dist/translations/hy.umd.js +23 -0
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.d.ts +8 -0
- package/dist/translations/jv.js +23 -0
- package/dist/translations/jv.umd.js +23 -0
- package/dist/translations/kk.d.ts +8 -0
- package/dist/translations/kk.js +23 -0
- package/dist/translations/kk.umd.js +23 -0
- package/dist/translations/km.d.ts +8 -0
- package/dist/translations/km.js +23 -0
- package/dist/translations/km.umd.js +23 -0
- package/dist/translations/kn.d.ts +8 -0
- package/dist/translations/kn.js +23 -0
- package/dist/translations/kn.umd.js +23 -0
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.d.ts +8 -0
- package/dist/translations/ku.js +23 -0
- package/dist/translations/ku.umd.js +23 -0
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.d.ts +8 -0
- package/dist/translations/nb.js +23 -0
- package/dist/translations/nb.umd.js +23 -0
- package/dist/translations/ne.d.ts +8 -0
- package/dist/translations/ne.js +23 -0
- package/dist/translations/ne.umd.js +23 -0
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.d.ts +8 -0
- package/dist/translations/oc.js +23 -0
- package/dist/translations/oc.umd.js +23 -0
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.d.ts +8 -0
- package/dist/translations/si.js +23 -0
- package/dist/translations/si.umd.js +23 -0
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.d.ts +8 -0
- package/dist/translations/sl.js +23 -0
- package/dist/translations/sl.umd.js +23 -0
- package/dist/translations/sq.d.ts +8 -0
- package/dist/translations/sq.js +23 -0
- package/dist/translations/sq.umd.js +23 -0
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.d.ts +8 -0
- package/dist/translations/ti.js +23 -0
- package/dist/translations/ti.umd.js +23 -0
- package/dist/translations/tk.d.ts +8 -0
- package/dist/translations/tk.js +23 -0
- package/dist/translations/tk.umd.js +23 -0
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.d.ts +8 -0
- package/dist/translations/tt.js +23 -0
- package/dist/translations/tt.umd.js +23 -0
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.d.ts +8 -0
- package/dist/translations/ur.js +23 -0
- package/dist/translations/ur.umd.js +23 -0
- package/dist/translations/uz.d.ts +8 -0
- package/dist/translations/uz.js +23 -0
- package/dist/translations/uz.umd.js +23 -0
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/lang/translations/af.po +24 -0
- package/lang/translations/ar.po +4 -10
- package/lang/translations/ast.po +24 -0
- package/lang/translations/az.po +24 -0
- package/lang/translations/bg.po +3 -9
- package/lang/translations/bn.po +3 -9
- package/lang/translations/bs.po +24 -0
- package/lang/translations/ca.po +3 -9
- package/lang/translations/cs.po +4 -10
- package/lang/translations/da.po +3 -9
- package/lang/translations/de-ch.po +24 -0
- package/lang/translations/de.po +3 -9
- package/lang/translations/el.po +3 -9
- package/lang/translations/en-au.po +3 -9
- package/lang/translations/en-gb.po +24 -0
- package/lang/translations/en.po +5 -11
- package/lang/translations/eo.po +24 -0
- package/lang/translations/es-co.po +24 -0
- package/lang/translations/es.po +4 -10
- package/lang/translations/et.po +3 -9
- package/lang/translations/eu.po +24 -0
- package/lang/translations/fa.po +24 -0
- package/lang/translations/fi.po +3 -9
- package/lang/translations/fr.po +4 -10
- package/lang/translations/gl.po +3 -9
- package/lang/translations/gu.po +24 -0
- package/lang/translations/he.po +4 -10
- package/lang/translations/hi.po +3 -9
- package/lang/translations/hr.po +4 -10
- package/lang/translations/hu.po +3 -9
- package/lang/translations/hy.po +24 -0
- package/lang/translations/id.po +3 -9
- package/lang/translations/it.po +4 -10
- package/lang/translations/ja.po +3 -9
- package/lang/translations/jv.po +24 -0
- package/lang/translations/kk.po +24 -0
- package/lang/translations/km.po +24 -0
- package/lang/translations/kn.po +24 -0
- package/lang/translations/ko.po +3 -9
- package/lang/translations/ku.po +24 -0
- package/lang/translations/lt.po +4 -10
- package/lang/translations/lv.po +4 -10
- package/lang/translations/ms.po +3 -9
- package/lang/translations/nb.po +24 -0
- package/lang/translations/ne.po +24 -0
- package/lang/translations/nl.po +3 -9
- package/lang/translations/no.po +3 -9
- package/lang/translations/oc.po +24 -0
- package/lang/translations/pl.po +4 -10
- package/lang/translations/pt-br.po +4 -10
- package/lang/translations/pt.po +4 -10
- package/lang/translations/ro.po +4 -10
- package/lang/translations/ru.po +4 -10
- package/lang/translations/si.po +24 -0
- package/lang/translations/sk.po +4 -10
- package/lang/translations/sl.po +24 -0
- package/lang/translations/sq.po +24 -0
- package/lang/translations/sr-latn.po +4 -10
- package/lang/translations/sr.po +4 -10
- package/lang/translations/sv.po +3 -9
- package/lang/translations/th.po +3 -9
- package/lang/translations/ti.po +24 -0
- package/lang/translations/tk.po +24 -0
- package/lang/translations/tr.po +3 -9
- package/lang/translations/tt.po +24 -0
- package/lang/translations/ug.po +4 -10
- package/lang/translations/uk.po +4 -10
- package/lang/translations/ur.po +24 -0
- package/lang/translations/uz.po +24 -0
- package/lang/translations/vi.po +3 -9
- package/lang/translations/zh-cn.po +3 -9
- package/lang/translations/zh.po +3 -9
- package/package.json +26 -7
- package/src/augmentation.d.ts +1 -1
- package/src/importword.d.ts +1 -1
- package/src/importword.js +1 -1
- package/src/importwordcommand.d.ts +1 -1
- package/src/importwordcommand.js +1 -1
- package/src/importwordediting.d.ts +1 -1
- package/src/importwordediting.js +1 -1
- package/src/importwordui.d.ts +1 -1
- package/src/importwordui.js +1 -1
- package/src/index.d.ts +1 -1
- package/src/index.js +1 -1
- package/src/utils/common-translations.d.ts +1 -1
- package/src/utils/common-translations.js +1 -1
- package/dist/augmentation.d.ts +0 -27
- package/dist/importword.d.ts +0 -136
- package/dist/importwordcommand.d.ts +0 -58
- package/dist/importwordediting.d.ts +0 -51
- package/dist/importwordui.d.ts +0 -34
- package/dist/index.d.ts +0 -16
- package/dist/utils/common-translations.d.ts +0 -13
package/LICENSE.md
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
Software License Agreement
|
|
2
2
|
==========================
|
|
3
3
|
|
|
4
|
-
**CKEditor 5
|
|
4
|
+
**CKEditor 5 Import from Word feature** (https://ckeditor.com/ckeditor-5/)<br>
|
|
5
5
|
Copyright (c) 2003–2024, [CKSource Holding sp. z o.o.](https://cksource.com) All rights reserved.
|
|
6
6
|
|
|
7
|
-
CKEditor 5
|
|
8
|
-
For more
|
|
7
|
+
CKEditor 5 Import from Word feature is licensed under a commercial license and is protected by copyright law.
|
|
8
|
+
For more information, see: [https://ckeditor.com/pricing](https://ckeditor.com/pricing).
|
|
9
9
|
|
|
10
|
-
Sources of Intellectual Property Included in CKEditor 5
|
|
11
|
-
|
|
10
|
+
Sources of Intellectual Property Included in CKEditor 5 Import from Word feature
|
|
11
|
+
-------------------------------------------------------------------------------------
|
|
12
12
|
|
|
13
|
-
Where not otherwise indicated, all CKEditor 5
|
|
13
|
+
Where not otherwise indicated, all CKEditor 5 Import from Word feature content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
|
|
14
14
|
|
|
15
15
|
Trademarks
|
|
16
16
|
----------
|
package/README.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
CKEditor 5
|
|
2
|
-
|
|
1
|
+
CKEditor 5 Import from Word feature
|
|
2
|
+
========================================
|
|
3
3
|
|
|
4
4
|
[](https://www.npmjs.com/package/@ckeditor/ckeditor5-import-word)
|
|
5
5
|
|
|
@@ -7,7 +7,19 @@ This package contains the import from Word feature for CKEditor 5. It allow
|
|
|
7
7
|
|
|
8
8
|
When enabled, this feature sends the selected Word file to the CKEditor Cloud Services Word to HTML converter service. The service then generates the HTML document that is inserted into the editor.
|
|
9
9
|
|
|
10
|
-
This is a premium feature.
|
|
10
|
+
This is a premium feature. Sign up for a [free non-commitment 14-day trial](https://portal.ckeditor.com/checkout?plan=free), or see: [https://ckeditor.com/pricing](https://ckeditor.com/pricing) for more information.
|
|
11
|
+
|
|
12
|
+
## Installation
|
|
13
|
+
|
|
14
|
+
This plugin is part of the `ckeditor5-premium-features` package. Install the whole package to use it.
|
|
15
|
+
|
|
16
|
+
```bash
|
|
17
|
+
npm install ckeditor5-premium-features
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
## Create free account
|
|
21
|
+
|
|
22
|
+
If you want to check full CKEditor 5 capabilities, sign up for a [free non-commitment 14-day trial](https://portal.ckeditor.com/checkout?plan=free).
|
|
11
23
|
|
|
12
24
|
## Demo
|
|
13
25
|
|
|
@@ -17,26 +29,19 @@ Check out the [demo in the import from Word feature](https://ckeditor.com/docs/c
|
|
|
17
29
|
|
|
18
30
|
See the [`@ckeditor/ckeditor5-import-word` package](https://ckeditor.com/docs/ckeditor5/latest/api/import-word.html) page in [CKEditor 5 documentation](https://ckeditor.com/docs/ckeditor5/latest/) as well as the [import from Word](https://ckeditor.com/docs/ckeditor5/latest/features/converters/import-word/import-word/import-word.html) feature guide.
|
|
19
31
|
|
|
20
|
-
## Installation
|
|
21
|
-
|
|
22
|
-
```bash
|
|
23
|
-
npm install ckeditor5-premium-features
|
|
24
|
-
```
|
|
25
|
-
|
|
26
32
|
## Getting support
|
|
27
33
|
|
|
28
|
-
CKEditor 5
|
|
34
|
+
CKEditor 5 Import from Word feature comes with outstanding support from a dedicated team of customer care specialists, QA engineers and CKEditor 5 developers. The team will gladly assist you in all aspects from setting up your account to integrating CKEditor 5 Import from Word feature with your application.
|
|
29
35
|
|
|
30
|
-
As a licensed CKEditor 5
|
|
36
|
+
As a licensed CKEditor 5 Import from Word feature user you can report bugs and request features directly through the CKEditor Ecosystem customer dashboard.
|
|
31
37
|
|
|
32
38
|
|
|
33
39
|
## License
|
|
34
40
|
|
|
35
|
-
**CKEditor 5
|
|
41
|
+
**CKEditor 5 Import from Word feature** (https://ckeditor.com/ckeditor-5/)<br>
|
|
36
42
|
Copyright (c) 2003–2024, [CKSource Holding sp. z o.o.](https://cksource.com) All rights reserved.
|
|
37
43
|
|
|
38
|
-
CKEditor 5
|
|
39
|
-
For more details about available licensing options please contact us at sales@cksource.com.
|
|
44
|
+
CKEditor 5 Import from Word feature is licensed under a commercial license and is protected by copyright law. For more information, see: [https://ckeditor.com/pricing](https://ckeditor.com/pricing).
|
|
40
45
|
|
|
41
46
|
### Trademarks
|
|
42
47
|
|
package/build/import-word.js
CHANGED
|
@@ -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(n){var i=e[n];if(void 0!==i)return i.exports;var o=e[n]={exports:{}};return t[n](o,o.exports,r),o.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:()=>c});var t=r(782),e=r(311);function i(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}}function o(){const t=["focus","ImportWordUI","1775250DnLKlj","get","3171708aCRISj","isOn","children","isOfficialPlugin","view","application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.openxmlformats-officedocument.wordprocessingml.template","iconView","bind","add","isBusy","isEnabled","1421100AgZUBL","editor","done","44ErVmWq","tooltip","7QGcqZx","_createButton","pluginName","27xmQaqR","set","importWord","editing","346221geXdmH","init","locale","componentFactory","isVisible","Import from Word","4sWjseL","1353702eDysie","execute","label","1354040fbJYmU","Importing Word document","menuBar:importWord","40380GapbNi","commands","isPremiumPlugin"];return(o=function(){return t})()}const s=a;function a(t,e){const r=o();return(a=function(t,e){return r[t-=431]})(t,e)}!function(t){const e=a,r=t();for(;;)try{if(406203===-parseInt(e(440))/1*(-parseInt(e(446))/2)+parseInt(e(436))/3*(-parseInt(e(453))/4)+-parseInt(e(458))/5+-parseInt(e(447))/6+-parseInt(e(433))/7*(-parseInt(e(450))/8)+-parseInt(e(460))/9+parseInt(e(471))/10*(parseInt(e(431))/11))break;r.push(r.shift())}catch(t){r.push(r.shift())}}(o);class c extends t.Plugin{static get[s(435)](){return s(457)}static get[s(463)](){return!0}static get[s(455)](){return!0}[s(441)](){const t=s,r=this[t(472)];r.ui[t(443)][t(468)](t(438),(()=>{const n=t,i=this[n(434)](e.FileDialogButtonView),o=r[n(454)][n(459)](n(438));return i[n(467)](n(461)).to(o,n(469)),i[n(432)]=!0,i})),r.ui[t(443)][t(468)](t(452),(()=>this[t(434)](e.MenuBarMenuListItemFileDialogButtonView)))}[s(434)](t){const r=s,n=this[r(472)],o=n[r(454)][r(459)](r(438)),a=new t(n[r(442)]),c=new e.SpinnerView;return a[r(437)]({acceptedType:r(465)}),a[r(437)]({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(467)](r(470)).to(o),a[r(467)](r(449)).to(o,r(469),(t=>i(n[r(442)],r(t?451:445)))),c[r(467)](r(444)).to(o,r(469)),a[r(466)][r(467)](r(444)).to(o,r(469),(t=>!t)),a[r(462)][r(468)](c),a.on(r(473),((t,e)=>{const i=r;n[i(448)](i(438),e[0],{}),n[i(439)][i(464)][i(456)]()})),a}}var u=r(331),p=r(783),l=r(584);const h=d;function d(t,e){const r=m();return(d=function(t,e){return r[t-=372]})(t,e)}!function(t){const e=d,r=t();for(;;)try{if(545785===-parseInt(e(407))/1+parseInt(e(458))/2+parseInt(e(381))/3+-parseInt(e(416))/4*(parseInt(e(474))/5)+-parseInt(e(471))/6*(parseInt(e(378))/7)+-parseInt(e(459))/8+-parseInt(e(426))/9*(-parseInt(e(435))/10))break;r.push(r.shift())}catch(t){r.push(r.shift())}}(m);class f extends t.Command{constructor(t){const e=d;super(t),this[e(469)](e(447),!1),this[e(468)]=null,this[e(403)]=null,this[e(427)]=null,this.on(e(455),((r,n)=>{const i=e,o=new DataTransfer;o[i(466)](i(412),n[i(451)]);const s=this[i(468)][i(424)]();this[i(460)][i(389)][i(438)](this[i(403)],(e=>{const r=i;this[r(468)][r(393)](),e[r(406)](s),t[r(383)][r(437)][r(400)][r(386)](r(439),{dataTransfer:o})}))}),{priority:e(387)})}[h(409)](){const t=h;this[t(396)]=this[t(457)]()}[h(418)](t,e={}){const r=h;if(this[r(447)])return Promise[r(436)]();const n=this[r(460)][r(419)][r(443)](r(398));if(this[r(460)][r(405)][r(452)](r(373))){const{prefix:t,suffix:n}=this[r(460)][r(419)][r(443)](r(448));e[r(441)]={prefix:t,suffix:n}}const i={url:n[r(464)],file:t,serviceConfig:{...e,formatting:n[r(377)],timezone:(new(Intl[r(422)]))[r(376)]()[r(399)]}};return this[r(456)](),this[r(391)](i)[r(432)](this[r(402)][r(428)](this))[r(390)](this[r(415)][r(428)](this))[r(453)](this[r(450)][r(428)](this))}[h(457)](){const t=h;if(this[t(447)])return!1;const e=this[t(460)][t(389)],r=e[t(392)],n=e[t(400)][t(417)],i=(0,l.first)(n[t(413)]());return!!i&&r[t(411)](i[t(429)],t(380))}[h(456)](){const t=h,e=this[t(460)],r=e[t(389)],n=r[t(400)][t(417)];this[t(427)]=new AbortController,this[t(403)]=e[t(389)][t(433)]({isUndoable:!0}),r[t(438)](this[t(403)],(e=>{const i=t;n[i(442)]||r[i(397)](n,{leaveUnmerged:!0});const o=n[i(465)](),s=(0,l.first)(n[i(413)]());let a;a=s.is(i(425),i(380))&&s[i(384)]?o:o[i(454)]?r[i(374)](s):o[i(385)]?r[i(449)](s):e[i(434)](o)[i(462)],this[i(468)]=e[i(472)](i(394)+(0,l.uid)(),{usingOperation:!1,affectsData:!1,range:new p.Range(a)}),this[i(468)].on(i(420),(()=>{const t=i;t(445)===this[t(468)][t(424)]()[t(382)][t(410)]&&this[t(427)][t(372)]()}))})),this[t(447)]=!0,this[t(409)]()}[h(450)](){const t=h,e=this[t(460)][t(389)];e[t(388)][t(452)](this[t(468)])&&e[t(438)](this[t(403)],(e=>{const r=t;e[r(421)](this[r(468)])})),this[t(468)]=null,this[t(403)]=null,this[t(427)]=null,this[t(447)]=!1,this[t(409)]()}[h(391)]({url:t,file:e,serviceConfig:r}){const n=h,i=this[n(460)][n(405)][n(443)](n(395))[n(463)](),o=new FormData;o[n(469)](n(419),JSON[n(446)](r)),o[n(469)](n(440),e);const s={method:n(470),headers:{},body:o,signal:this[n(427)][n(461)]};return i&&(s[n(430)][n(414)]=i[n(444)]),fetch(t,s)}[h(402)](t){const e=h;return t.ok?t[e(473)]()[e(432)]((t=>{const r=e;this[r(460)][r(389)][r(388)][r(452)](this[r(468)])&&r(445)!==this[r(468)][r(424)]()[r(382)][r(410)]&&this[r(386)](r(455),t)})):Promise[e(431)]()}[h(415)](){const t=h;if(this[t(427)][t(461)][t(467)])return void(0,l.logWarning)(t(375));const e=this[t(460)],r=i(e[t(401)],t(379));e[t(405)][t(443)](t(408))[t(404)](r),(0,l.logError)(t(423))}}function m(){const t=["createPositionBefore","import-word-plugin-import-cancelled","resolvedOptions","formatting","21akOsUt","An error occurred while importing the Word file.","paragraph","353214YewOdr","root","editing","isEmpty","isAtEnd","fire","low","markers","model","catch","_sendImportRequest","schema","stopListening","importWord:","ImportWordEditing","isEnabled","deleteContent","importWord","timeZone","document","locale","_handleImportResponse","_undoStepBatch","showWarning","plugins","setSelection","431526zBeLTl","Notification","refresh","rootName","checkChild","text/html","getSelectedBlocks","Authorization","_handleImportFailure","5380mrNMmM","selection","execute","config","change:range","removeMarker","DateTimeFormat","import-word-plugin-conversion-failed","getRange","element","77967YLHQgy","_abortController","bind","parent","headers","reject","then","createBatch","split","2410tDfMGm","resolve","view","enqueueChange","clipboardInput","file","merge_fields","isCollapsed","get","value","$graveyard","stringify","isBusy","mergeFields","createPositionAfter","_cleanUpAfterImport","html","has","finally","isAtStart","dataInsert","_prepareForImport","_checkEnabled","1642570jNLWyF","1212664itXchJ","editor","signal","position","getToken","converterUrl","getFirstPosition","setData","aborted","_importMarker","set","POST","1807914eTmyLs","addMarker","json","3695yqZEPC","abort","MergeFields"];return(m=function(){return t})()}function g(){const t=["https://docx-converter.cke-cs.com/v2/convert/docx-html","tokenUrl","cloudServices","747897ZVAvOx","_token","registerTokenUrl","get","define","init","4iIxMqn","ImportWordEditing","1451548epXsHn","64254yIZerr","plugins","getToken","pluginName","1715784HmtHot","isPremiumPlugin","inline","CloudServices","663612XmUOYB","token","none","config","isOfficialPlugin","editor","54996GpKYQR","522765RPXOWn","add","importWord","commands","requires"];return(g=function(){return t})()}const I=v;function v(t,e){const r=g();return(v=function(t,e){return r[t-=110]})(t,e)}!function(t){const e=v,r=t();for(;;)try{if(128376===parseInt(e(138))/1+parseInt(e(124))/2+-parseInt(e(115))/3*(-parseInt(e(121))/4)+-parseInt(e(139))/5+-parseInt(e(132))/6+-parseInt(e(123))/7+parseInt(e(128))/8)break;r.push(r.shift())}catch(t){r.push(r.shift())}}(g);class w extends t.Plugin{static get[I(127)](){return I(122)}static get[I(136)](){return!0}static get[I(129)](){return!0}static get[I(111)](){const t=I;return[e.Notification,u.ClipboardPipeline,t(131)]}constructor(t){const e=I;super(t),this[e(116)]=null}async[I(120)](){const t=I,e=this[t(137)];e[t(135)][t(119)](t(141),{converterUrl:t(112),tokenUrl:(e[t(135)][t(118)](t(114))||{})[t(113)],formatting:{resets:t(134),defaults:t(134),styles:t(130)}}),e[t(110)][t(140)](t(141),new f(e));const{tokenUrl:r}=e[t(135)][t(118)](t(141));if(r){const{tokenUrl:n}=e[t(135)][t(118)](t(114))||{};this[t(116)]=r===n?e[t(125)][t(118)](t(131))[t(133)]:await e[t(125)][t(118)](t(131))[t(117)](r)}}[I(126)](){return this[I(116)]}}var y=b;!function(t){for(var e=b,r=t();;)try{if(330911===parseInt(e(425))/1*(-parseInt(e(434))/2)+-parseInt(e(423))/3+parseInt(e(421))/4+-parseInt(e(426))/5+parseInt(e(433))/6*(parseInt(e(424))/7)+-parseInt(e(435))/8*(-parseInt(e(429))/9)+parseInt(e(431))/10)break;r.push(r.shift())}catch(t){r.push(r.shift())}}(x);class W extends t.Plugin{static get[y(422)](){return y(427)}static get[y(428)](){return!0}static get[y(430)](){return!0}static get[y(432)](){return[w,c]}}function b(t,e){var r=x();return(b=function(t,e){return r[t-=421]})(t,e)}function x(){var t=["isPremiumPlugin","1043320zeieaO","requires","1253022mneQAt","9938hdqCKa","6568omxynh","1691848eXivXd","pluginName","1116624LPHcTV","7CXhFUb","33PLnidE","2001110oXcQhf","ImportWord","isOfficialPlugin","5823hAnvXY"];return(x=function(){return t})()}function P(){var t=["18259681PCyfIp","9237683JgJzSW","17703qrzAhq","884zughoH","1733090hWetqj","532124uzUeQc","7628464SBAGDY","20VjKcHv","9AbxahJ","6HzSpBU","1295614XsbPaw"];return(P=function(){return t})()}function k(t,e){var r=P();return(k=function(t,e){return r[t-=209]})(t,e)}!function(t){for(var e=k,r=t();;)try{if(719707===-parseInt(e(214))/1+parseInt(e(219))/2+parseInt(e(211))/3*(parseInt(e(212))/4)+-parseInt(e(213))/5*(-parseInt(e(218))/6)+parseInt(e(210))/7+parseInt(e(215))/8*(parseInt(e(217))/9)+-parseInt(e(216))/10*(parseInt(e(209))/11))break;r.push(r.shift())}catch(t){r.push(r.shift())}}(P)})(),(window.CKEditor5=window.CKEditor5||{}).importWord=n})();
|
|
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 i=e[n];if(void 0!==i)return i.exports;var o=e[n]={exports:{}};return t[n](o,o.exports,r),o.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:()=>b,ImportWordEditing:()=>v,ImportWordUI:()=>c});var t=r(782),e=r(311);function i(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 o=s;function s(t,e){const r=a();return(s=function(t,e){return r[t-=376]})(t,e)}function a(){const t=["13913030ZnNNlH","children","isEnabled","43166atVFdv","isOn","157576pTywhu","bind","iconView","componentFactory","180aQAZKa","ImportWordUI","editing","commands","focus","isPremiumPlugin","label","554289MdEQyf","Importing Word document","isOfficialPlugin","editor","Import from Word","17ITakZc","isVisible","importWord","add","init","done","menuBar:importWord","isBusy","7pGsuHO","set","locale","application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.openxmlformats-officedocument.wordprocessingml.template","tooltip","execute","view","_createButton","2917878BtMWFu","pluginName","1464855yQvMLd","get","2241236KTNakR"];return(a=function(){return t})()}!function(t){const e=s,r=t();for(;;)try{if(479918===-parseInt(e(384))/1*(parseInt(e(408))/2)+-parseInt(e(379))/3+-parseInt(e(404))/4+parseInt(e(402))/5+parseInt(e(400))/6*(-parseInt(e(392))/7)+-parseInt(e(410))/8*(-parseInt(e(414))/9)+parseInt(e(405))/10)break;r.push(r.shift())}catch(t){r.push(r.shift())}}(a);class c extends t.Plugin{static get[o(401)](){return o(415)}static get[o(381)](){return!0}static get[o(377)](){return!0}[o(388)](){const t=o,r=this[t(382)];r.ui[t(413)][t(387)](t(386),(()=>{const n=t,i=this[n(399)](e.FileDialogButtonView),o=r[n(417)][n(403)](n(386));return i[n(411)](n(409)).to(o,n(391)),i[n(396)]=!0,i})),r.ui[t(413)][t(387)](t(390),(()=>this[t(399)](e.MenuBarMenuListItemFileDialogButtonView)))}[o(399)](t){const r=o,n=this[r(382)],s=n[r(417)][r(403)](r(386)),a=new t(n[r(394)]),c=new e.SpinnerView;return a[r(393)]({acceptedType:r(395)}),a[r(393)]({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(411)](r(407)).to(s),a[r(411)](r(378)).to(s,r(391),(t=>i(n[r(394)],r(t?380:383)))),c[r(411)](r(385)).to(s,r(391)),a[r(412)][r(411)](r(385)).to(s,r(391),(t=>!t)),a[r(406)][r(387)](c),a.on(r(389),((t,e)=>{const i=r;n[i(397)](i(386),e[0],{}),n[i(416)][i(398)][i(376)]()})),a}}var u=r(331),p=r(783),l=r(584);const d=f;function h(){const t=["mergeFields","schema","deleteContent","file","POST","finally","headers","showWarning","6ePWajc","_importMarker","clipboardInput","low","converterUrl","aborted","signal","setSelection","createPositionAfter","$graveyard","4154117hclKlg","position","set","16vPsMOf","getSelectedBlocks","1340795ADwjVT","2305490xdXVBX","isCollapsed","bind","editing","model","removeMarker","timeZone","config","MergeFields","reject","isEnabled","fire","has","createBatch","formatting","getToken","then","catch","merge_fields","createPositionBefore","isAtStart","568545UBZbqv","root","checkChild","11333yzXlta","isBusy","importWord","resolvedOptions","9PAieSA","_checkEnabled","36194wgrSRh","get","execute","_cleanUpAfterImport","ImportWordEditing","rootName","_abortController","An error occurred while importing the Word file.","_undoStepBatch","_handleImportFailure","document","isEmpty","value","abort","html","addMarker","4SePviY","DateTimeFormat","_prepareForImport","isAtEnd","_handleImportResponse","selection","element","parent","stringify","getFirstPosition","refresh","import-word-plugin-import-cancelled","stopListening","getRange","enqueueChange","change:range","locale","markers","Authorization","json","resolve","plugins","1237208BrHGSi","setData","import-word-plugin-conversion-failed","split","_sendImportRequest","importWord:","editor","view","paragraph","dataInsert","Notification","text/html"];return(h=function(){return t})()}function f(t,e){const r=h();return(f=function(t,e){return r[t-=438]})(t,e)}!function(t){const e=f,r=t();for(;;)try{if(174056===parseInt(e(487))/1*(-parseInt(e(454))/2)+parseInt(e(478))/3+parseInt(e(503))/4*(parseInt(e(456))/5)+parseInt(e(441))/6*(-parseInt(e(481))/7)+parseInt(e(525))/8*(parseInt(e(485))/9)+parseInt(e(457))/10+-parseInt(e(451))/11)break;r.push(r.shift())}catch(t){r.push(r.shift())}}(h);class m extends t.Command{constructor(t){const e=f;super(t),this[e(453)](e(482),!1),this[e(442)]=null,this[e(495)]=null,this[e(493)]=null,this.on(e(534),((r,n)=>{const i=e,o=new DataTransfer;o[i(526)](i(536),n[i(501)]);const s=this[i(442)][i(516)]();this[i(531)][i(461)][i(517)](this[i(495)],(e=>{const r=i;this[r(442)][r(515)](),e[r(448)](s),t[r(460)][r(532)][r(497)][r(468)](r(443),{dataTransfer:o})}))}),{priority:e(444)})}[d(513)](){const t=d;this[t(467)]=this[t(486)]()}[d(489)](t,e={}){const r=d;if(this[r(482)])return Promise[r(523)]();const n=this[r(531)][r(464)][r(488)](r(483));if(this[r(531)][r(524)][r(469)](r(465))){const{prefix:t,suffix:n}=this[r(531)][r(464)][r(488)](r(537));e[r(475)]={prefix:t,suffix:n}}const i={url:n[r(445)],file:t,serviceConfig:{...e,formatting:n[r(471)],timezone:(new(Intl[r(504)]))[r(484)]()[r(463)]}};return this[r(505)](),this[r(529)](i)[r(473)](this[r(507)][r(459)](this))[r(474)](this[r(496)][r(459)](this))[r(438)](this[r(490)][r(459)](this))}[d(486)](){const t=d;if(this[t(482)])return!1;const e=this[t(531)][t(461)],r=e[t(538)],n=e[t(497)][t(508)],i=(0,l.first)(n[t(455)]());return!!i&&r[t(480)](i[t(510)],t(533))}[d(505)](){const t=d,e=this[t(531)],r=e[t(461)],n=r[t(497)][t(508)];this[t(493)]=new AbortController,this[t(495)]=e[t(461)][t(470)]({isUndoable:!0}),r[t(517)](this[t(495)],(e=>{const i=t;n[i(458)]||r[i(539)](n,{leaveUnmerged:!0});const o=n[i(512)](),s=(0,l.first)(n[i(455)]());let a;a=s.is(i(509),i(533))&&s[i(498)]?o:o[i(477)]?r[i(476)](s):o[i(506)]?r[i(449)](s):e[i(528)](o)[i(452)],this[i(442)]=e[i(502)](i(530)+(0,l.uid)(),{usingOperation:!1,affectsData:!1,range:new p.Range(a)}),this[i(442)].on(i(518),(()=>{const t=i;t(450)===this[t(442)][t(516)]()[t(479)][t(492)]&&this[t(493)][t(500)]()}))})),this[t(482)]=!0,this[t(513)]()}[d(490)](){const t=d,e=this[t(531)][t(461)];e[t(520)][t(469)](this[t(442)])&&e[t(517)](this[t(495)],(e=>{const r=t;e[r(462)](this[r(442)])})),this[t(442)]=null,this[t(495)]=null,this[t(493)]=null,this[t(482)]=!1,this[t(513)]()}[d(529)]({url:t,file:e,serviceConfig:r}){const n=d,i=this[n(531)][n(524)][n(488)](n(491))[n(472)](),o=new FormData;o[n(453)](n(464),JSON[n(511)](r)),o[n(453)](n(540),e);const s={method:n(541),headers:{},body:o,signal:this[n(493)][n(447)]};return i&&(s[n(439)][n(521)]=i[n(499)]),fetch(t,s)}[d(507)](t){const e=d;return t.ok?t[e(522)]()[e(473)]((t=>{const r=e;this[r(531)][r(461)][r(520)][r(469)](this[r(442)])&&r(450)!==this[r(442)][r(516)]()[r(479)][r(492)]&&this[r(468)](r(534),t)})):Promise[e(466)]()}[d(496)](){const t=d;if(this[t(493)][t(447)][t(446)])return void(0,l.logWarning)(t(514));const e=this[t(531)],r=i(e[t(519)],t(494));e[t(524)][t(488)](t(535))[t(440)](r),(0,l.logError)(t(527))}}function g(t,e){const r=w();return(g=function(t,e){return r[t-=368]})(t,e)}const I=g;!function(t){const e=g,r=t();for(;;)try{if(915698===parseInt(e(393))/1*(-parseInt(e(380))/2)+parseInt(e(382))/3*(parseInt(e(373))/4)+parseInt(e(383))/5+-parseInt(e(388))/6*(-parseInt(e(386))/7)+parseInt(e(391))/8+parseInt(e(370))/9*(-parseInt(e(395))/10)+parseInt(e(402))/11)break;r.push(r.shift())}catch(t){r.push(r.shift())}}(w);class v extends t.Plugin{static get[I(387)](){return I(371)}static get[I(392)](){return!0}static get[I(401)](){return!0}static get[I(400)](){const t=I;return[e.Notification,u.ClipboardPipeline,t(376)]}constructor(t){const e=I;super(t),this[e(378)]=null}async[I(375)](){const t=I,e=this[t(397)];e[t(390)][t(381)](t(384),{converterUrl:t(379),tokenUrl:(e[t(390)][t(377)](t(399))||{})[t(372)],formatting:{resets:t(374),defaults:t(374),styles:t(389)}}),e[t(369)][t(385)](t(384),new m(e));const{tokenUrl:r}=e[t(390)][t(377)](t(384));if(r){const{tokenUrl:n}=e[t(390)][t(377)](t(399))||{};this[t(378)]=r===n?e[t(398)][t(377)](t(376))[t(368)]:await e[t(398)][t(377)](t(376))[t(394)](r)}}[I(396)](){return this[I(378)]}}function w(){const t=["128900KMImEO","getToken","editor","plugins","cloudServices","requires","isPremiumPlugin","1849100MSxisN","token","commands","495JfDClU","ImportWordEditing","tokenUrl","1994764wHGaOk","none","init","CloudServices","get","_token","https://docx-converter.cke-cs.com/v2/convert/docx-html","23918DBjcom","define","6kTrtYi","6568750YAycCn","importWord","add","7yWfgqR","pluginName","3468462PzNxed","inline","config","115024lAoAWz","isOfficialPlugin","121yUYGgy","registerTokenUrl"];return(w=function(){return t})()}function y(){var t=["isOfficialPlugin","1133390ykwkCD","9SzidZB","98380NmSkhv","6wgWvai","845176feEgGt","requires","ImportWord","1260888UhIfQV","isPremiumPlugin","265836ZqiGtB","15347376SFqLeE","173351XaMZqT","7YngGJi","306ajIwdB","pluginName"];return(y=function(){return t})()}var W=k;function k(t,e){var r=y();return(k=function(t,e){return r[t-=223]})(t,e)}!function(t){for(var e=k,r=t();;)try{if(208258===-parseInt(e(230))/1+-parseInt(e(228))/2*(parseInt(e(236))/3)+-parseInt(e(223))/4+parseInt(e(235))/5*(-parseInt(e(238))/6)+-parseInt(e(231))/7*(-parseInt(e(226))/8)+parseInt(e(232))/9*(-parseInt(e(237))/10)+parseInt(e(229))/11)break;r.push(r.shift())}catch(t){r.push(r.shift())}}(y);class b extends t.Plugin{static get[W(233)](){return W(225)}static get[W(234)](){return!0}static get[W(227)](){return!0}static get[W(224)](){return[v,c]}}function x(t,e){var r=P();return(x=function(t,e){return r[t-=357]})(t,e)}function P(){var t=["6eACNbr","56kBHgDK","391938BmPfRO","100GIHUKU","1378719piWJqD","19038778Bjnygv","12690460hjDSlI","1808572cQkbND","1015084kzTUqV","8905FikeLC","12OfnmaG"];return(P=function(){return t})()}!function(t){for(var e=x,r=t();;)try{if(957872===parseInt(e(365))/1+-parseInt(e(357))/2*(-parseInt(e(360))/3)+parseInt(e(361))/4*(parseInt(e(367))/5)+parseInt(e(358))/6*(-parseInt(e(366))/7)+-parseInt(e(359))/8*(parseInt(e(362))/9)+parseInt(e(364))/10+-parseInt(e(363))/11)break;r.push(r.shift())}catch(t){r.push(r.shift())}}(P)})(),(window.CKEditor5=window.CKEditor5||{}).importWord=n})();
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
!function(o){const r=o.af=o.af||{};r.dictionary=Object.assign(r.dictionary||{},{"An error occurred while importing the Word file.":"","Import from Word":"","Importing Word document":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
!function(o){const r=o.ast=o.ast||{};r.dictionary=Object.assign(r.dictionary||{},{"An error occurred while importing the Word file.":"","Import from Word":"","Importing Word document":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
!function(o){const r=o.az=o.az||{};r.dictionary=Object.assign(r.dictionary||{},{"An error occurred while importing the Word file.":"","Import from Word":"","Importing Word document":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
!function(o){const r=o.bs=o.bs||{};r.dictionary=Object.assign(r.dictionary||{},{"An error occurred while importing the Word file.":"","Import from Word":"","Importing Word document":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
!function(o){const r=o["de-ch"]=o["de-ch"]||{};r.dictionary=Object.assign(r.dictionary||{},{"An error occurred while importing the Word file.":"","Import from Word":"","Importing Word document":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
!function(o){const n=o["en-gb"]=o["en-gb"]||{};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={}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
!function(o){const r=o.eo=o.eo||{};r.dictionary=Object.assign(r.dictionary||{},{"An error occurred while importing the Word file.":"","Import from Word":"","Importing Word document":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
!function(o){const r=o["es-co"]=o["es-co"]||{};r.dictionary=Object.assign(r.dictionary||{},{"An error occurred while importing the Word file.":"","Import from Word":"","Importing Word document":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
!function(o){const r=o.eu=o.eu||{};r.dictionary=Object.assign(r.dictionary||{},{"An error occurred while importing the Word file.":"","Import from Word":"","Importing Word document":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
!function(o){const r=o.fa=o.fa||{};r.dictionary=Object.assign(r.dictionary||{},{"An error occurred while importing the Word file.":"","Import from Word":"","Importing Word document":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
!function(o){const r=o.gu=o.gu||{};r.dictionary=Object.assign(r.dictionary||{},{"An error occurred while importing the Word file.":"","Import from Word":"","Importing Word document":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
!function(o){const r=o.hy=o.hy||{};r.dictionary=Object.assign(r.dictionary||{},{"An error occurred while importing the Word file.":"","Import from Word":"","Importing Word document":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
!function(o){const r=o.jv=o.jv||{};r.dictionary=Object.assign(r.dictionary||{},{"An error occurred while importing the Word file.":"","Import from Word":"","Importing Word document":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
!function(o){const r=o.kk=o.kk||{};r.dictionary=Object.assign(r.dictionary||{},{"An error occurred while importing the Word file.":"","Import from Word":"","Importing Word document":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
!function(o){const r=o.km=o.km||{};r.dictionary=Object.assign(r.dictionary||{},{"An error occurred while importing the Word file.":"","Import from Word":"","Importing Word document":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
!function(o){const n=o.kn=o.kn||{};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={}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
!function(o){const r=o.ku=o.ku||{};r.dictionary=Object.assign(r.dictionary||{},{"An error occurred while importing the Word file.":"","Import from Word":"","Importing Word document":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
!function(o){const n=o.nb=o.nb||{};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={}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
!function(o){const n=o.ne=o.ne||{};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={}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
!function(o){const r=o.oc=o.oc||{};r.dictionary=Object.assign(r.dictionary||{},{"An error occurred while importing the Word file.":"","Import from Word":"","Importing Word document":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
!function(o){const i=o.si=o.si||{};i.dictionary=Object.assign(i.dictionary||{},{"An error occurred while importing the Word file.":"","Import from Word":"","Importing Word document":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
!function(o){const r=o.sl=o.sl||{};r.dictionary=Object.assign(r.dictionary||{},{"An error occurred while importing the Word file.":"","Import from Word":"","Importing Word document":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
!function(o){const r=o.sq=o.sq||{};r.dictionary=Object.assign(r.dictionary||{},{"An error occurred while importing the Word file.":"","Import from Word":"","Importing Word document":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
!function(o){const i=o.ti=o.ti||{};i.dictionary=Object.assign(i.dictionary||{},{"An error occurred while importing the Word file.":"","Import from Word":"","Importing Word document":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
!function(o){const r=o.tk=o.tk||{};r.dictionary=Object.assign(r.dictionary||{},{"An error occurred while importing the Word file.":"","Import from Word":"","Importing Word document":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
!function(o){const r=o.tt=o.tt||{};r.dictionary=Object.assign(r.dictionary||{},{"An error occurred while importing the Word file.":"","Import from Word":"","Importing Word document":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
!function(o){const r=o.ur=o.ur||{};r.dictionary=Object.assign(r.dictionary||{},{"An error occurred while importing the Word file.":"","Import from Word":"","Importing Word document":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
!function(o){const r=o.uz=o.uz||{};r.dictionary=Object.assign(r.dictionary||{},{"An error occurred while importing the Word file.":"","Import from Word":"","Importing Word document":""})}(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
|
|
23
|
+
import{Plugin as _0x6e55bd,Command as _0x2542dc}from'@ckeditor/ckeditor5-core/dist/index.js';import{FileDialogButtonView as _0xf2df50,MenuBarMenuListItemFileDialogButtonView as _0x524e5e,SpinnerView as _0x543145,Notification as _0x5a244e}from'@ckeditor/ckeditor5-ui/dist/index.js';import{ClipboardPipeline as _0x20f626}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{Range as _0x4ca4ad}from'@ckeditor/ckeditor5-engine/dist/index.js';import{first as _0x5846eb,uid as _0x4d265f,logWarning as _0x265ca5,logError as _0x105812}from'@ckeditor/ckeditor5-utils/dist/index.js';function p(_0x3154f6,_0x1071df){const t=_0x3154f6['t'];switch(_0x1071df){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 _0x1071df;}}class i extends _0x6e55bd{static get['pluginName'](){return'ImportWordUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x33255f=this['editor'];_0x33255f['ui']['componentFactory']['add']('importWord',()=>{const _0x6730bc=this['_createButton'](_0xf2df50),_0x25b037=_0x33255f['commands']['get']('importWord');return _0x6730bc['bind']('isOn')['to'](_0x25b037,'isBusy'),_0x6730bc['tooltip']=!0x0,_0x6730bc;}),_0x33255f['ui']['componentFactory']['add']('menuBar:importWord',()=>this['_createButton'](_0x524e5e));}['_createButton'](_0x8f5e4b){const _0x54bcf1=this['editor'],_0x3d390d=_0x54bcf1['commands']['get']('importWord'),_0x2dd590=new _0x8f5e4b(_0x54bcf1['locale']),_0x57d287=new _0x543145();return _0x2dd590['set']({'acceptedType':'application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.openxmlformats-officedocument.wordprocessingml.template'}),_0x2dd590['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'}),_0x2dd590['bind']('isEnabled')['to'](_0x3d390d),_0x2dd590['bind']('label')['to'](_0x3d390d,'isBusy',_0x22afe5=>p(_0x54bcf1['locale'],_0x22afe5?'Importing\x20Word\x20document':'Import\x20from\x20Word')),_0x57d287['bind']('isVisible')['to'](_0x3d390d,'isBusy'),_0x2dd590['iconView']['bind']('isVisible')['to'](_0x3d390d,'isBusy',_0x543777=>!_0x543777),_0x2dd590['children']['add'](_0x57d287),_0x2dd590['on']('done',(_0x5c3b8b,_0x584955)=>{_0x54bcf1['execute']('importWord',_0x584955[0x0],{}),_0x54bcf1['editing']['view']['focus']();}),_0x2dd590;}}class d extends _0x2542dc{constructor(_0x462d84){super(_0x462d84),this['set']('isBusy',!0x1),this['_importMarker']=null,this['_undoStepBatch']=null,this['_abortController']=null,this['on']('dataInsert',(_0x10302a,_0x419bc0)=>{const _0x4d16c0=new DataTransfer();_0x4d16c0['setData']('text/html',_0x419bc0['html']);const _0xfab01b=this['_importMarker']['getRange']();this['editor']['model']['enqueueChange'](this['_undoStepBatch'],_0x419e0f=>{this['_importMarker']['stopListening'](),_0x419e0f['setSelection'](_0xfab01b),_0x462d84['editing']['view']['document']['fire']('clipboardInput',{'dataTransfer':_0x4d16c0});});},{'priority':'low'});}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x3cdc57,_0x56ec8a={}){if(this['isBusy'])return Promise['resolve']();const _0x3ac1eb=this['editor']['config']['get']('importWord');if(this['editor']['plugins']['has']('MergeFields')){const {prefix:_0x45c4fb,suffix:_0x44e6b8}=this['editor']['config']['get']('mergeFields');_0x56ec8a['merge_fields']={'prefix':_0x45c4fb,'suffix':_0x44e6b8};}const _0x205ede={'url':_0x3ac1eb['converterUrl'],'file':_0x3cdc57,'serviceConfig':{..._0x56ec8a,'formatting':_0x3ac1eb['formatting'],'timezone':new Intl['DateTimeFormat']()['resolvedOptions']()['timeZone']}};return this['_prepareForImport'](),this['_sendImportRequest'](_0x205ede)['then'](this['_handleImportResponse']['bind'](this))['catch'](this['_handleImportFailure']['bind'](this))['finally'](this['_cleanUpAfterImport']['bind'](this));}['_checkEnabled'](){if(this['isBusy'])return!0x1;const _0x37d8a7=this['editor']['model'],_0x25255d=_0x37d8a7['schema'],_0x21e24e=_0x37d8a7['document']['selection'],_0x191c14=_0x5846eb(_0x21e24e['getSelectedBlocks']());return!!_0x191c14&&_0x25255d['checkChild'](_0x191c14['parent'],'paragraph');}['_prepareForImport'](){const _0x131c82=this['editor'],_0x4d4188=_0x131c82['model'],_0x5ef57d=_0x4d4188['document']['selection'];this['_abortController']=new AbortController(),this['_undoStepBatch']=_0x131c82['model']['createBatch']({'isUndoable':!0x0}),_0x4d4188['enqueueChange'](this['_undoStepBatch'],_0x2e16db=>{_0x5ef57d['isCollapsed']||_0x4d4188['deleteContent'](_0x5ef57d,{'leaveUnmerged':!0x0});const _0xe40226=_0x5ef57d['getFirstPosition'](),_0x1a0d6a=_0x5846eb(_0x5ef57d['getSelectedBlocks']());let _0x41bbc3;_0x41bbc3=_0x1a0d6a['is']('element','paragraph')&&_0x1a0d6a['isEmpty']?_0xe40226:_0xe40226['isAtStart']?_0x4d4188['createPositionBefore'](_0x1a0d6a):_0xe40226['isAtEnd']?_0x4d4188['createPositionAfter'](_0x1a0d6a):_0x2e16db['split'](_0xe40226)['position'],this['_importMarker']=_0x2e16db['addMarker']('importWord:'+_0x4d265f(),{'usingOperation':!0x1,'affectsData':!0x1,'range':new _0x4ca4ad(_0x41bbc3)}),this['_importMarker']['on']('change:range',()=>{'$graveyard'===this['_importMarker']['getRange']()['root']['rootName']&&this['_abortController']['abort']();});}),this['isBusy']=!0x0,this['refresh']();}['_cleanUpAfterImport'](){const _0x182f6e=this['editor']['model'];_0x182f6e['markers']['has'](this['_importMarker'])&&_0x182f6e['enqueueChange'](this['_undoStepBatch'],_0x201816=>{_0x201816['removeMarker'](this['_importMarker']);}),this['_importMarker']=null,this['_undoStepBatch']=null,this['_abortController']=null,this['isBusy']=!0x1,this['refresh']();}['_sendImportRequest']({url:_0x1a1b62,file:_0x238533,serviceConfig:_0x2e62b1}){const _0x49ace7=this['editor']['plugins']['get']('ImportWordEditing')['getToken'](),_0x4a4fb1=new FormData();_0x4a4fb1['set']('config',JSON['stringify'](_0x2e62b1)),_0x4a4fb1['set']('file',_0x238533);const _0x57e68b={'method':'POST','headers':{},'body':_0x4a4fb1,'signal':this['_abortController']['signal']};return _0x49ace7&&(_0x57e68b['headers']['Authorization']=_0x49ace7['value']),fetch(_0x1a1b62,_0x57e68b);}['_handleImportResponse'](_0x28521f){return _0x28521f['ok']?_0x28521f['json']()['then'](_0x7e6f91=>{if(!this['editor']['model']['markers']['has'](this['_importMarker']))return;'$graveyard'!==this['_importMarker']['getRange']()['root']['rootName']&&this['fire']('dataInsert',_0x7e6f91);}):Promise['reject']();}['_handleImportFailure'](){if(this['_abortController']['signal']['aborted'])return void _0x265ca5('import-word-plugin-import-cancelled');const _0x420c45=this['editor'],_0x5ada6a=p(_0x420c45['locale'],'An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.');_0x420c45['plugins']['get']('Notification')['showWarning'](_0x5ada6a),_0x105812('import-word-plugin-conversion-failed');}}class e extends _0x6e55bd{static get['pluginName'](){return'ImportWordEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x5a244e,_0x20f626,'CloudServices'];}constructor(_0x1deca5){super(_0x1deca5),this['_token']=null;}async['init'](){const _0x46b5f5=this['editor'];_0x46b5f5['config']['define']('importWord',{'converterUrl':'https://docx-converter.cke-cs.com/v2/convert/docx-html','tokenUrl':(_0x46b5f5['config']['get']('cloudServices')||{})['tokenUrl'],'formatting':{'resets':'none','defaults':'none','styles':'inline'}}),_0x46b5f5['commands']['add']('importWord',new d(_0x46b5f5));const {tokenUrl:_0x46da63}=_0x46b5f5['config']['get']('importWord');if(_0x46da63){const {tokenUrl:_0x100ca1}=_0x46b5f5['config']['get']('cloudServices')||{};this['_token']=_0x46da63===_0x100ca1?_0x46b5f5['plugins']['get']('CloudServices')['token']:await _0x46b5f5['plugins']['get']('CloudServices')['registerTokenUrl'](_0x46da63);}}['getToken'](){return this['_token'];}}class o extends _0x6e55bd{static get['pluginName'](){return'ImportWord';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[e,i];}}export{o as ImportWord,e as ImportWordEditing,i 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 '@ckeditor/ckeditor5-utils';
|
|
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{'af':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x4cbfbd=>0x1!=_0x4cbfbd}};
|
|
@@ -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
|
+
(_0x128478=>{const {af:{dictionary:_0x58bdf4,getPluralForm:_0x23c911}}={'af':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x1dce7d=>0x1!=_0x1dce7d}};_0x128478['af']||={'dictionary':{},'getPluralForm':null},_0x128478['af']['dictionary']=Object['assign'](_0x128478['af']['dictionary'],_0x58bdf4),_0x128478['af']['getPluralForm']=_0x23c911;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/ar.js
CHANGED
|
@@ -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':
|
|
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':_0x220be9=>0x0==_0x220be9?0x0:0x1==_0x220be9?0x1:0x2==_0x220be9?0x2:_0x220be9%0x64>=0x3&&_0x220be9%0x64<=0xa?0x3:_0x220be9%0x64>=0xb?0x4:0x5}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x37ab2a=>{const {ar:{dictionary:_0x4c2116,getPluralForm:_0x28e418}}={'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':_0x47bb4e=>0x0==_0x47bb4e?0x0:0x1==_0x47bb4e?0x1:0x2==_0x47bb4e?0x2:_0x47bb4e%0x64>=0x3&&_0x47bb4e%0x64<=0xa?0x3:_0x47bb4e%0x64>=0xb?0x4:0x5}};_0x37ab2a['ar']||={'dictionary':{},'getPluralForm':null},_0x37ab2a['ar']['dictionary']=Object['assign'](_0x37ab2a['ar']['dictionary'],_0x4c2116),_0x37ab2a['ar']['getPluralForm']=_0x28e418;})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -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 '@ckeditor/ckeditor5-utils';
|
|
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{'ast':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x4f1ca9=>0x1!=_0x4f1ca9}};
|
|
@@ -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
|
+
(_0x359c3d=>{const {ast:{dictionary:_0x2a41ab,getPluralForm:_0x1d59ca}}={'ast':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x147d98=>0x1!=_0x147d98}};_0x359c3d['ast']||={'dictionary':{},'getPluralForm':null},_0x359c3d['ast']['dictionary']=Object['assign'](_0x359c3d['ast']['dictionary'],_0x2a41ab),_0x359c3d['ast']['getPluralForm']=_0x1d59ca;})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -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 '@ckeditor/ckeditor5-utils';
|
|
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{'az':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x4e3438=>0x1!=_0x4e3438}};
|
|
@@ -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
|
+
(_0x529009=>{const {az:{dictionary:_0x58e593,getPluralForm:_0x528d80}}={'az':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x391bb7=>0x1!=_0x391bb7}};_0x529009['az']||={'dictionary':{},'getPluralForm':null},_0x529009['az']['dictionary']=Object['assign'](_0x529009['az']['dictionary'],_0x58e593),_0x529009['az']['getPluralForm']=_0x528d80;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/bg.js
CHANGED
|
@@ -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':
|
|
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':_0x962ddd=>0x1!=_0x962ddd}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x5da72a=>{const {bg:{dictionary:_0x509548,getPluralForm:_0x538481}}={'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':_0x1b7d26=>0x1!=_0x1b7d26}};_0x5da72a['bg']||={'dictionary':{},'getPluralForm':null},_0x5da72a['bg']['dictionary']=Object['assign'](_0x5da72a['bg']['dictionary'],_0x509548),_0x5da72a['bg']['getPluralForm']=_0x538481;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/bn.js
CHANGED
|
@@ -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':
|
|
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':_0xbc86d5=>0x1!=_0xbc86d5}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x10dae4=>{const {bn:{dictionary:_0x19ffa2,getPluralForm:_0x3b3741}}={'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':_0x4eae21=>0x1!=_0x4eae21}};_0x10dae4['bn']||={'dictionary':{},'getPluralForm':null},_0x10dae4['bn']['dictionary']=Object['assign'](_0x10dae4['bn']['dictionary'],_0x19ffa2),_0x10dae4['bn']['getPluralForm']=_0x3b3741;})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -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 '@ckeditor/ckeditor5-utils';
|
|
7
|
+
declare const translations: Translations;
|
|
8
|
+
export default translations;
|