@ckeditor/ckeditor5-import-word 0.0.0-nightly-20241104.0 → 0.0.0-nightly-20241106.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/build/import-word.js +1 -1
- package/dist/index.js +1 -1
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- 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.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- 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.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- 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.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- 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.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- 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.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- 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.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- 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.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- 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.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- 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.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- 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.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- 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.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- 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.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- 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/package.json +7 -7
- package/src/importword.js +1 -1
- package/src/importwordcommand.js +1 -1
- package/src/importwordediting.js +1 -1
- package/src/importwordui.js +1 -1
- package/src/index.js +1 -1
- package/src/utils/common-translations.js +1 -1
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,r,e)=>{t.exports=e(237)("./src/clipboard.js")},782:(t,r,e)=>{t.exports=e(237)("./src/core.js")},783:(t,r,e)=>{t.exports=e(237)("./src/engine.js")},311:(t,r,e)=>{t.exports=e(237)("./src/ui.js")},584:(t,r,e)=>{t.exports=e(237)("./src/utils.js")},237:t=>{"use strict";t.exports=CKEditor5.dll}},r={};function e(n){var i=r[n];if(void 0!==i)return i.exports;var o=r[n]={exports:{}};return t[n](o,o.exports,e),o.exports}e.d=(t,r)=>{for(var n in r)e.o(r,n)&&!e.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:r[n]})},e.o=(t,r)=>Object.prototype.hasOwnProperty.call(t,r),e.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var n={};(()=>{"use strict";e.r(n),e.d(n,{ImportWord:()=>x,ImportWordEditing:()=>w,ImportWordUI:()=>c});var t=e(782),r=e(311);function i(t,r){const e=t.t;switch(r){case"Import from Word":return e("Import from Word");case"An error occurred while importing the Word file.":return e("An error occurred while importing the Word file.");case"Importing Word document":return e("Importing Word document");default:return r}}const o=s;function s(t,r){const e=a();return(s=function(t,r){return e[t-=123]})(t,r)}function a(){const t=["3553011MMVdHP","isOfficialPlugin","init","label","1242444uZDSVC","iconView","editor","3gAUTXQ","Importing Word document","importWord","6004278euOhBH","componentFactory","344269NjBBWn","bind","pluginName","_createButton","isOn","menuBar:importWord","get","execute","21yDEvWC","set","locale","editing","248135alSDVj","commands","isVisible","Import from Word","focus","children","tooltip","application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.openxmlformats-officedocument.wordprocessingml.template","8aIuXRH","add","63490MnrbdL","view","isPremiumPlugin","isEnabled","isBusy","ImportWordUI","done","2655016ORMVbE"];return(a=function(){return t})()}!function(t){const r=s,e=t();for(;;)try{if(668699===parseInt(r(164))/1+-parseInt(r(156))/2*(-parseInt(r(159))/3)+-parseInt(r(142))/4*(-parseInt(r(134))/5)+parseInt(r(162))/6+-parseInt(r(130))/7*(parseInt(r(151))/8)+-parseInt(r(152))/9+-parseInt(r(144))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(a);class c extends t.Plugin{static get[o(124)](){return o(149)}static get[o(153)](){return!0}static get[o(146)](){return!0}[o(154)](){const t=o,e=this[t(158)];e.ui[t(163)][t(143)](t(161),(()=>{const n=t,i=this[n(125)](r.FileDialogButtonView),o=e[n(135)][n(128)](n(161));return i[n(123)](n(126)).to(o,n(148)),i[n(140)]=!0,i})),e.ui[t(163)][t(143)](t(127),(()=>this[t(125)](r.MenuBarMenuListItemFileDialogButtonView)))}[o(125)](t){const e=o,n=this[e(158)],s=n[e(135)][e(128)](e(161)),a=new t(n[e(132)]),c=new r.SpinnerView;return a[e(131)]({acceptedType:e(141)}),a[e(131)]({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[e(123)](e(147)).to(s),a[e(123)](e(155)).to(s,e(148),(t=>i(n[e(132)],e(t?160:137)))),c[e(123)](e(136)).to(s,e(148)),a[e(157)][e(123)](e(136)).to(s,e(148),(t=>!t)),a[e(139)][e(143)](c),a.on(e(150),((t,r)=>{const i=e;n[i(129)](i(161),r[0],{}),n[i(133)][i(145)][i(138)]()})),a}}var u=e(331),p=e(783),l=e(584);function d(t,r){const e=f();return(d=function(t,r){return e[t-=137]})(t,r)}const h=d;function f(){const t=["addMarker","isBusy","8535570QLazkb","execute","editing","file","reject","POST","_checkEnabled","finally","locale","2124978iMfINI","import-word-plugin-conversion-failed","plugins","isCollapsed","stringify","headers","config","low","enqueueChange","markers","document","getFirstPosition","createPositionBefore","getRange","MergeFields","refresh","isAtStart","_handleImportResponse","Authorization","formatting","paragraph","catch","630yddfuq","value","3496HBLMZe","stopListening","resolve","setSelection","createBatch","bind","162WTSgQb","isEnabled","getSelectedBlocks","_handleImportFailure","clipboardInput","deleteContent","merge_fields","import-word-plugin-import-cancelled","492306wQUMbx","resolvedOptions","getToken","timeZone","_cleanUpAfterImport","dataInsert","2ukkyXl","root","position","removeMarker","aborted","element","importWord","ImportWordEditing","rootName","Notification","checkChild","createPositionAfter","parent","_prepareForImport","_importMarker","selection","2288432bdrmpg","setData","_undoStepBatch","_sendImportRequest","text/html","split","set","99815fkLywj","abort","signal","json","An error occurred while importing the Word file.","isEmpty","208838Pjdoha","editor","view","_abortController","has","mergeFields","isAtEnd","change:range","get","converterUrl","showWarning","$graveyard","fire","DateTimeFormat","model","html","schema","importWord:","then"];return(f=function(){return t})()}!function(t){const r=d,e=t();for(;;)try{if(529932===parseInt(r(230))/1+-parseInt(r(236))/2*(-parseInt(r(192))/3)+-parseInt(r(149))/4+-parseInt(r(156))/5+-parseInt(r(222))/6*(-parseInt(r(162))/7)+parseInt(r(216))/8*(-parseInt(r(214))/9)+-parseInt(r(183))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(f);class m extends t.Command{constructor(t){const r=d;super(t),this[r(155)](r(182),!1),this[r(147)]=null,this[r(151)]=null,this[r(165)]=null,this.on(r(235),((e,n)=>{const i=r,o=new DataTransfer;o[i(150)](i(153),n[i(177)]);const s=this[i(147)][i(205)]();this[i(163)][i(176)][i(200)](this[i(151)],(r=>{const e=i;this[e(147)][e(217)](),r[e(219)](s),t[e(185)][e(164)][e(202)][e(174)](e(226),{dataTransfer:o})}))}),{priority:r(199)})}[h(207)](){const t=h;this[t(223)]=this[t(189)]()}[h(184)](t,r={}){const e=h;if(this[e(182)])return Promise[e(218)]();const n=this[e(163)][e(198)][e(170)](e(139));if(this[e(163)][e(194)][e(166)](e(206))){const{prefix:t,suffix:n}=this[e(163)][e(198)][e(170)](e(167));r[e(228)]={prefix:t,suffix:n}}const i={url:n[e(171)],file:t,serviceConfig:{...r,formatting:n[e(211)],timezone:(new(Intl[e(175)]))[e(231)]()[e(233)]}};return this[e(146)](),this[e(152)](i)[e(180)](this[e(209)][e(221)](this))[e(213)](this[e(225)][e(221)](this))[e(190)](this[e(234)][e(221)](this))}[h(189)](){const t=h;if(this[t(182)])return!1;const r=this[t(163)][t(176)],e=r[t(178)],n=r[t(202)][t(148)],i=(0,l.first)(n[t(224)]());return!!i&&e[t(143)](i[t(145)],t(212))}[h(146)](){const t=h,r=this[t(163)],e=r[t(176)],n=e[t(202)][t(148)];this[t(165)]=new AbortController,this[t(151)]=r[t(176)][t(220)]({isUndoable:!0}),e[t(200)](this[t(151)],(r=>{const i=t;n[i(195)]||e[i(227)](n,{leaveUnmerged:!0});const o=n[i(203)](),s=(0,l.first)(n[i(224)]());let a;a=s.is(i(138),i(212))&&s[i(161)]?o:o[i(208)]?e[i(204)](s):o[i(168)]?e[i(144)](s):r[i(154)](o)[i(238)],this[i(147)]=r[i(181)](i(179)+(0,l.uid)(),{usingOperation:!1,affectsData:!1,range:new p.Range(a)}),this[i(147)].on(i(169),(()=>{const t=i;t(173)===this[t(147)][t(205)]()[t(237)][t(141)]&&this[t(165)][t(157)]()}))})),this[t(182)]=!0,this[t(207)]()}[h(234)](){const t=h,r=this[t(163)][t(176)];r[t(201)][t(166)](this[t(147)])&&r[t(200)](this[t(151)],(r=>{const e=t;r[e(239)](this[e(147)])})),this[t(147)]=null,this[t(151)]=null,this[t(165)]=null,this[t(182)]=!1,this[t(207)]()}[h(152)]({url:t,file:r,serviceConfig:e}){const n=h,i=this[n(163)][n(194)][n(170)](n(140))[n(232)](),o=new FormData;o[n(155)](n(198),JSON[n(196)](e)),o[n(155)](n(186),r);const s={method:n(188),headers:{},body:o,signal:this[n(165)][n(158)]};return i&&(s[n(197)][n(210)]=i[n(215)]),fetch(t,s)}[h(209)](t){const r=h;return t.ok?t[r(159)]()[r(180)]((t=>{const e=r;this[e(163)][e(176)][e(201)][e(166)](this[e(147)])&&e(173)!==this[e(147)][e(205)]()[e(237)][e(141)]&&this[e(174)](e(235),t)})):Promise[r(187)]()}[h(225)](){const t=h;if(this[t(165)][t(158)][t(137)])return void(0,l.logWarning)(t(229));const r=this[t(163)],e=i(r[t(191)],t(160));r[t(194)][t(170)](t(142))[t(172)](e),(0,l.logError)(t(193))}}function g(t,r){const e=v();return(g=function(t,r){return e[t-=156]})(t,r)}const I=g;function v(){const t=["CloudServices","pluginName","3848764DCUeTw","registerTokenUrl","define","2831130zJpkwq","config","get","isOfficialPlugin","_token","none","6898806rLDSVK","246060ZzjmUp","ImportWordEditing","4940424mLHdKh","commands","550627sNVnEh","init","token","inline","cloudServices","getToken","add","editor","isPremiumPlugin","https://docx-converter.cke-cs.com/v2/convert/docx-html","plugins","119VywZFV","506OWLnBw","tokenUrl","requires","importWord","3360SxuFcR","40FZKXaG"];return(v=function(){return t})()}!function(t){const r=g,e=t();for(;;)try{if(521461===-parseInt(r(178))/1+-parseInt(r(156))/2*(parseInt(r(160))/3)+-parseInt(r(164))/4+parseInt(r(167))/5+-parseInt(r(174))/6*(parseInt(r(189))/7)+-parseInt(r(176))/8+-parseInt(r(173))/9*(-parseInt(r(161))/10))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(v);class w extends t.Plugin{static get[I(163)](){return I(175)}static get[I(170)](){return!0}static get[I(186)](){return!0}static get[I(158)](){const t=I;return[r.Notification,u.ClipboardPipeline,t(162)]}constructor(t){const r=I;super(t),this[r(171)]=null}async[I(179)](){const t=I,r=this[t(185)];r[t(168)][t(166)](t(159),{converterUrl:t(187),tokenUrl:(r[t(168)][t(169)](t(182))||{})[t(157)],formatting:{resets:t(172),defaults:t(172),styles:t(181)}}),r[t(177)][t(184)](t(159),new m(r));const{tokenUrl:e}=r[t(168)][t(169)](t(159));if(e){const{tokenUrl:n}=r[t(168)][t(169)](t(182))||{};this[t(171)]=e===n?r[t(188)][t(169)](t(162))[t(180)]:await r[t(188)][t(169)](t(162))[t(165)](e)}}[I(183)](){return this[I(171)]}}function b(t,r){var e=y();return(b=function(t,r){return e[t-=311]})(t,r)}var W=b;function y(){var t=["2560620EXUTQq","210057VdZtOD","3896004BcgIWV","requires","68TreaXL","22dRzwHU","9gbMQFC","isPremiumPlugin","2zFqTfo","182EOylqi","ImportWord","60LAASwz","96YAmAsr","14626760rVcwxx","233255dumSOi","isOfficialPlugin","366191XPtQrx","pluginName","1708249kZPIQE"];return(y=function(){return t})()}!function(t){for(var r=b,e=t();;)try{if(939072===parseInt(r(311))/1*(-parseInt(r(320))/2)+-parseInt(r(313))/3*(parseInt(r(316))/4)+-parseInt(r(326))/5*(parseInt(r(323))/6)+-parseInt(r(328))/7*(parseInt(r(324))/8)+parseInt(r(318))/9*(parseInt(r(325))/10)+-parseInt(r(317))/11*(parseInt(r(312))/12)+-parseInt(r(321))/13*(-parseInt(r(314))/14))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(y);class x extends t.Plugin{static get[W(329)](){return W(322)}static get[W(327)](){return!0}static get[W(319)](){return!0}static get[W(315)](){return[w,c]}}function k(t,r){var e=O();return(k=function(t,r){return e[t-=461]})(t,r)}function O(){var t=["5568354LsQXKZ","34308sRawEY","2coZVdR","885KKScNU","4023397xcWOVJ","44292501jRyZMX","6459648puZOkE","1489309uMnMZm","7369740vZihgO"];return(O=function(){return t})()}!function(t){for(var r=k,e=t();;)try{if(937772===parseInt(r(464))/1*(parseInt(r(468))/2)+parseInt(r(466))/3+-parseInt(r(467))/4*(-parseInt(r(469))/5)+parseInt(r(465))/6+parseInt(r(461))/7+-parseInt(r(463))/8+-parseInt(r(462))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(O)})(),(window.CKEditor5=window.CKEditor5||{}).importWord=n})();
|
|
5
|
+
*/(()=>{var t={331:(t,r,e)=>{t.exports=e(237)("./src/clipboard.js")},782:(t,r,e)=>{t.exports=e(237)("./src/core.js")},783:(t,r,e)=>{t.exports=e(237)("./src/engine.js")},311:(t,r,e)=>{t.exports=e(237)("./src/ui.js")},584:(t,r,e)=>{t.exports=e(237)("./src/utils.js")},237:t=>{"use strict";t.exports=CKEditor5.dll}},r={};function e(n){var i=r[n];if(void 0!==i)return i.exports;var o=r[n]={exports:{}};return t[n](o,o.exports,e),o.exports}e.d=(t,r)=>{for(var n in r)e.o(r,n)&&!e.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:r[n]})},e.o=(t,r)=>Object.prototype.hasOwnProperty.call(t,r),e.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var n={};(()=>{"use strict";e.r(n),e.d(n,{ImportWord:()=>y,ImportWordEditing:()=>w,ImportWordUI:()=>c});var t=e(782),r=e(311);function i(t,r){const e=t.t;switch(r){case"Import from Word":return e("Import from Word");case"An error occurred while importing the Word file.":return e("An error occurred while importing the Word file.");case"Importing Word document":return e("Importing Word document");default:return r}}const o=a;function s(){const t=["locale","tooltip","10618029sOIiZv","isVisible","bind","editor","set","add","get","done","commands","iconView","focus","execute","_createButton","Import from Word","130wKkiLb","isPremiumPlugin","ImportWordUI","4541952EKmTIq","isOn","children","view","application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.openxmlformats-officedocument.wordprocessingml.template","isEnabled","importWord","init","3793592qQGTtj","pluginName","136388lxgIgc","53717fuIfAW","label","isOfficialPlugin","48fcBAwk","componentFactory","editing","menuBar:importWord","3779781ZcVvQa","Importing Word document","isBusy","8367072lGjmwg"];return(s=function(){return t})()}function a(t,r){const e=s();return(a=function(t,r){return e[t-=495]})(t,r)}!function(t){const r=a,e=t();for(;;)try{if(648525===parseInt(r(529))/1*(parseInt(r(532))/2)+-parseInt(r(495))/3+-parseInt(r(528))/4*(-parseInt(r(515))/5)+-parseInt(r(518))/6+parseInt(r(498))/7+parseInt(r(526))/8+-parseInt(r(501))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(s);class c extends t.Plugin{static get[o(527)](){return o(517)}static get[o(531)](){return!0}static get[o(516)](){return!0}[o(525)](){const t=o,e=this[t(504)];e.ui[t(533)][t(506)](t(524),(()=>{const n=t,i=this[n(513)](r.FileDialogButtonView),o=e[n(509)][n(507)](n(524));return i[n(503)](n(519)).to(o,n(497)),i[n(500)]=!0,i})),e.ui[t(533)][t(506)](t(535),(()=>this[t(513)](r.MenuBarMenuListItemFileDialogButtonView)))}[o(513)](t){const e=o,n=this[e(504)],s=n[e(509)][e(507)](e(524)),a=new t(n[e(499)]),c=new r.SpinnerView;return a[e(505)]({acceptedType:e(522)}),a[e(505)]({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[e(503)](e(523)).to(s),a[e(503)](e(530)).to(s,e(497),(t=>i(n[e(499)],e(t?496:514)))),c[e(503)](e(502)).to(s,e(497)),a[e(510)][e(503)](e(502)).to(s,e(497),(t=>!t)),a[e(520)][e(506)](c),a.on(e(508),((t,r)=>{const i=e;n[i(512)](i(524),r[0],{}),n[i(534)][i(521)][i(511)]()})),a}}var p=e(331),u=e(783),l=e(584);const d=f;function h(){const t=["then","clipboardInput","abort","finally","set","editor","5682635TkxcaS","timeZone","stopListening","addMarker","4806896cICXcI","4734ZpmUUO","resolvedOptions","change:range","_handleImportFailure","isCollapsed","split","reject","refresh","DateTimeFormat","headers","showWarning","importWord:","execute","_checkEnabled","_abortController","has","html","isEmpty","file","$graveyard","aborted","view","catch","dataInsert","isEnabled","locale","element","enqueueChange","merge_fields","document","position","isAtEnd","POST","import-word-plugin-conversion-failed","import-word-plugin-import-cancelled","text/html","MergeFields","deleteContent","importWord","54790tOKBwc","_importMarker","parent","_sendImportRequest","_prepareForImport","createPositionBefore","mergeFields","516zQZmTE","bind","isAtStart","json","schema","16289FbpaBT","An error occurred while importing the Word file.","removeMarker","createPositionAfter","1826360WtHKnP","value","selection","_cleanUpAfterImport","rootName","low","createBatch","getToken","resolve","config","456048PHYPkr","setSelection","ImportWordEditing","stringify","_undoStepBatch","1MsMoop","get","_handleImportResponse","editing","getRange","converterUrl","root","signal","setData","2303013mgSNSi","model","Authorization","markers","Notification","getSelectedBlocks","paragraph","fire","checkChild","getFirstPosition","formatting","isBusy","plugins"];return(h=function(){return t})()}function f(t,r){const e=h();return(f=function(t,r){return e[t-=496]})(t,r)}!function(t){const r=f,e=t();for(;;)try{if(684922===-parseInt(r(547))/1*(parseInt(r(532))/2)+parseInt(r(556))/3+-parseInt(r(542))/4+-parseInt(r(575))/5+parseInt(r(523))/6*(-parseInt(r(528))/7)+-parseInt(r(579))/8+parseInt(r(580))/9*(parseInt(r(516))/10))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(h);class m extends t.Command{constructor(t){const r=f;super(t),this[r(573)](r(567),!1),this[r(517)]=null,this[r(546)]=null,this[r(594)]=null,this.on(r(500),((e,n)=>{const i=r,o=new DataTransfer;o[i(555)](i(512),n[i(596)]);const s=this[i(517)][i(551)]();this[i(574)][i(557)][i(504)](this[i(546)],(r=>{const e=i;this[e(517)][e(577)](),r[e(543)](s),t[e(550)][e(498)][e(506)][e(563)](e(570),{dataTransfer:o})}))}),{priority:r(537)})}[d(587)](){const t=d;this[t(501)]=this[t(593)]()}[d(592)](t,r={}){const e=d;if(this[e(567)])return Promise[e(540)]();const n=this[e(574)][e(541)][e(548)](e(515));if(this[e(574)][e(568)][e(595)](e(513))){const{prefix:t,suffix:n}=this[e(574)][e(541)][e(548)](e(522));r[e(505)]={prefix:t,suffix:n}}const i={url:n[e(552)],file:t,serviceConfig:{...r,formatting:n[e(566)],timezone:(new(Intl[e(588)]))[e(581)]()[e(576)]}};return this[e(520)](),this[e(519)](i)[e(569)](this[e(549)][e(524)](this))[e(499)](this[e(583)][e(524)](this))[e(572)](this[e(535)][e(524)](this))}[d(593)](){const t=d;if(this[t(567)])return!1;const r=this[t(574)][t(557)],e=r[t(527)],n=r[t(506)][t(534)],i=(0,l.first)(n[t(561)]());return!!i&&e[t(564)](i[t(518)],t(562))}[d(520)](){const t=d,r=this[t(574)],e=r[t(557)],n=e[t(506)][t(534)];this[t(594)]=new AbortController,this[t(546)]=r[t(557)][t(538)]({isUndoable:!0}),e[t(504)](this[t(546)],(r=>{const i=t;n[i(584)]||e[i(514)](n,{leaveUnmerged:!0});const o=n[i(565)](),s=(0,l.first)(n[i(561)]());let a;a=s.is(i(503),i(562))&&s[i(597)]?o:o[i(525)]?e[i(521)](s):o[i(508)]?e[i(531)](s):r[i(585)](o)[i(507)],this[i(517)]=r[i(578)](i(591)+(0,l.uid)(),{usingOperation:!1,affectsData:!1,range:new u.Range(a)}),this[i(517)].on(i(582),(()=>{const t=i;t(496)===this[t(517)][t(551)]()[t(553)][t(536)]&&this[t(594)][t(571)]()}))})),this[t(567)]=!0,this[t(587)]()}[d(535)](){const t=d,r=this[t(574)][t(557)];r[t(559)][t(595)](this[t(517)])&&r[t(504)](this[t(546)],(r=>{const e=t;r[e(530)](this[e(517)])})),this[t(517)]=null,this[t(546)]=null,this[t(594)]=null,this[t(567)]=!1,this[t(587)]()}[d(519)]({url:t,file:r,serviceConfig:e}){const n=d,i=this[n(574)][n(568)][n(548)](n(544))[n(539)](),o=new FormData;o[n(573)](n(541),JSON[n(545)](e)),o[n(573)](n(598),r);const s={method:n(509),headers:{},body:o,signal:this[n(594)][n(554)]};return i&&(s[n(589)][n(558)]=i[n(533)]),fetch(t,s)}[d(549)](t){const r=d;return t.ok?t[r(526)]()[r(569)]((t=>{const e=r;this[e(574)][e(557)][e(559)][e(595)](this[e(517)])&&e(496)!==this[e(517)][e(551)]()[e(553)][e(536)]&&this[e(563)](e(500),t)})):Promise[r(586)]()}[d(583)](){const t=d;if(this[t(594)][t(554)][t(497)])return void(0,l.logWarning)(t(511));const r=this[t(574)],e=i(r[t(502)],t(529));r[t(568)][t(548)](t(560))[t(590)](e),(0,l.logError)(t(510))}}const g=I;function I(t,r){const e=v();return(I=function(t,r){return e[t-=403]})(t,r)}function v(){const t=["requires","ImportWordEditing","pluginName","registerTokenUrl","none","CloudServices","8qACTVg","4747840nJdmvn","20949VtOSCg","10UclaiW","config","inline","_token","init","getToken","391126TNmKPw","3novdJO","editor","970932GkcCzQ","define","get","33fkblnq","6mPuPAC","2263311YWdMrg","token","3896544JPZOSF","plugins","isPremiumPlugin","2002805mVkCat","https://docx-converter.cke-cs.com/v2/convert/docx-html","importWord","tokenUrl","isOfficialPlugin","cloudServices","add","commands"];return(v=function(){return t})()}!function(t){const r=I,e=t();for(;;)try{if(265034===parseInt(r(407))/1+parseInt(r(414))/2*(parseInt(r(415))/3)+parseInt(r(417))/4*(-parseInt(r(408))/5)+parseInt(r(421))/6*(parseInt(r(427))/7)+parseInt(r(405))/8*(-parseInt(r(422))/9)+-parseInt(r(406))/10+-parseInt(r(420))/11*(-parseInt(r(424))/12))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(v);class w extends t.Plugin{static get[g(437)](){return g(436)}static get[g(431)](){return!0}static get[g(426)](){return!0}static get[g(435)](){const t=g;return[r.Notification,p.ClipboardPipeline,t(404)]}constructor(t){const r=g;super(t),this[r(411)]=null}async[g(412)](){const t=g,r=this[t(416)];r[t(409)][t(418)](t(429),{converterUrl:t(428),tokenUrl:(r[t(409)][t(419)](t(432))||{})[t(430)],formatting:{resets:t(403),defaults:t(403),styles:t(410)}}),r[t(434)][t(433)](t(429),new m(r));const{tokenUrl:e}=r[t(409)][t(419)](t(429));if(e){const{tokenUrl:n}=r[t(409)][t(419)](t(432))||{};this[t(411)]=e===n?r[t(425)][t(419)](t(404))[t(423)]:await r[t(425)][t(419)](t(404))[t(438)](e)}}[g(413)](){return this[g(411)]}}function b(){var t=["596gaRVci","80mtykEO","492mqFwpO","ImportWord","pluginName","161478IbYRwZ","11umFiqq","454587yTBVPL","376744RMTBLT","isPremiumPlugin","41670EcCowC","isOfficialPlugin","2235xkfWrm","17906Lwynzp","6436386beSyUY","requires"];return(b=function(){return t})()}var W=k;function k(t,r){var e=b();return(k=function(t,r){return e[t-=447]})(t,r)}!function(t){for(var r=k,e=t();;)try{if(134668===-parseInt(r(451))/1*(parseInt(r(455))/2)+parseInt(r(452))/3+-parseInt(r(461))/4*(parseInt(r(457))/5)+parseInt(r(447))/6*(-parseInt(r(458))/7)+parseInt(r(453))/8+parseInt(r(450))/9*(-parseInt(r(462))/10)+parseInt(r(459))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(b);class y extends t.Plugin{static get[W(449)](){return W(448)}static get[W(456)](){return!0}static get[W(454)](){return!0}static get[W(460)](){return[w,c]}}function P(t,r){var e=x();return(P=function(t,r){return e[t-=369]})(t,r)}function x(){var t=["16855XwRqYw","534ttFLYg","2406VdEfZB","6957293BzCUNs","3166zIPDJR","3743061mShPEe","23026234ANekCN","65997miDLXT","2705548ojvXNp","1390IfRxyG","8IkJtpt"];return(x=function(){return t})()}!function(t){for(var r=P,e=t();;)try{if(700487===-parseInt(r(378))/1*(-parseInt(r(370))/2)+parseInt(r(371))/3+-parseInt(r(374))/4+-parseInt(r(377))/5*(-parseInt(r(379))/6)+parseInt(r(369))/7*(-parseInt(r(376))/8)+parseInt(r(373))/9*(parseInt(r(375))/10)+-parseInt(r(372))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(x)})(),(window.CKEditor5=window.CKEditor5||{}).importWord=n})();
|
package/dist/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as
|
|
23
|
+
import{Plugin as _0x5b1858,Command as _0x3ae094}from'@ckeditor/ckeditor5-core/dist/index.js';import{FileDialogButtonView as _0x448608,MenuBarMenuListItemFileDialogButtonView as _0x297b54,SpinnerView as _0x514d33,Notification as _0x4f8861}from'@ckeditor/ckeditor5-ui/dist/index.js';import{ClipboardPipeline as _0x4e9cc6}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{Range as _0x26ca03}from'@ckeditor/ckeditor5-engine/dist/index.js';import{first as _0x21c36b,uid as _0x51f0b0,logWarning as _0x17122c,logError as _0x90f2a9}from'@ckeditor/ckeditor5-utils/dist/index.js';function p(_0x2b1993,_0x4bafce){const t=_0x2b1993['t'];switch(_0x4bafce){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 _0x4bafce;}}class i extends _0x5b1858{static get['pluginName'](){return'ImportWordUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x50432a=this['editor'];_0x50432a['ui']['componentFactory']['add']('importWord',()=>{const _0x531861=this['_createButton'](_0x448608),_0x434961=_0x50432a['commands']['get']('importWord');return _0x531861['bind']('isOn')['to'](_0x434961,'isBusy'),_0x531861['tooltip']=!0x0,_0x531861;}),_0x50432a['ui']['componentFactory']['add']('menuBar:importWord',()=>this['_createButton'](_0x297b54));}['_createButton'](_0xd4a935){const _0x403d92=this['editor'],_0x127fa0=_0x403d92['commands']['get']('importWord'),_0x4bbd27=new _0xd4a935(_0x403d92['locale']),_0x24ecf5=new _0x514d33();return _0x4bbd27['set']({'acceptedType':'application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.openxmlformats-officedocument.wordprocessingml.template'}),_0x4bbd27['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'}),_0x4bbd27['bind']('isEnabled')['to'](_0x127fa0),_0x4bbd27['bind']('label')['to'](_0x127fa0,'isBusy',_0x5062ea=>p(_0x403d92['locale'],_0x5062ea?'Importing\x20Word\x20document':'Import\x20from\x20Word')),_0x24ecf5['bind']('isVisible')['to'](_0x127fa0,'isBusy'),_0x4bbd27['iconView']['bind']('isVisible')['to'](_0x127fa0,'isBusy',_0x32a2d0=>!_0x32a2d0),_0x4bbd27['children']['add'](_0x24ecf5),_0x4bbd27['on']('done',(_0x3e2b46,_0x4a26c4)=>{_0x403d92['execute']('importWord',_0x4a26c4[0x0],{}),_0x403d92['editing']['view']['focus']();}),_0x4bbd27;}}class d extends _0x3ae094{['_importMarker'];['_undoStepBatch'];['_abortController'];constructor(_0x1a466d){super(_0x1a466d),this['set']('isBusy',!0x1),this['_importMarker']=null,this['_undoStepBatch']=null,this['_abortController']=null,this['on']('dataInsert',(_0x104c5c,_0x363c15)=>{const _0x3e4d9d=new DataTransfer();_0x3e4d9d['setData']('text/html',_0x363c15['html']);const _0x4e8e91=this['_importMarker']['getRange']();this['editor']['model']['enqueueChange'](this['_undoStepBatch'],_0x5c9481=>{this['_importMarker']['stopListening'](),_0x5c9481['setSelection'](_0x4e8e91),_0x1a466d['editing']['view']['document']['fire']('clipboardInput',{'dataTransfer':_0x3e4d9d});});},{'priority':'low'});}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x48eb0c,_0x166704={}){if(this['isBusy'])return Promise['resolve']();const _0x6c0072=this['editor']['config']['get']('importWord');if(this['editor']['plugins']['has']('MergeFields')){const {prefix:_0x10ecac,suffix:_0x725ea3}=this['editor']['config']['get']('mergeFields');_0x166704['merge_fields']={'prefix':_0x10ecac,'suffix':_0x725ea3};}const _0x1d93da={'url':_0x6c0072['converterUrl'],'file':_0x48eb0c,'serviceConfig':{..._0x166704,'formatting':_0x6c0072['formatting'],'timezone':new Intl['DateTimeFormat']()['resolvedOptions']()['timeZone']}};return this['_prepareForImport'](),this['_sendImportRequest'](_0x1d93da)['then'](this['_handleImportResponse']['bind'](this))['catch'](this['_handleImportFailure']['bind'](this))['finally'](this['_cleanUpAfterImport']['bind'](this));}['_checkEnabled'](){if(this['isBusy'])return!0x1;const _0x5819c4=this['editor']['model'],_0x5ece20=_0x5819c4['schema'],_0x22721b=_0x5819c4['document']['selection'],_0x4b9862=_0x21c36b(_0x22721b['getSelectedBlocks']());return!!_0x4b9862&&_0x5ece20['checkChild'](_0x4b9862['parent'],'paragraph');}['_prepareForImport'](){const _0x102b2b=this['editor'],_0x13ca53=_0x102b2b['model'],_0x3c2740=_0x13ca53['document']['selection'];this['_abortController']=new AbortController(),this['_undoStepBatch']=_0x102b2b['model']['createBatch']({'isUndoable':!0x0}),_0x13ca53['enqueueChange'](this['_undoStepBatch'],_0x2ab88f=>{_0x3c2740['isCollapsed']||_0x13ca53['deleteContent'](_0x3c2740,{'leaveUnmerged':!0x0});const _0x15400f=_0x3c2740['getFirstPosition'](),_0x2c672f=_0x21c36b(_0x3c2740['getSelectedBlocks']());let _0x3648f9;_0x3648f9=_0x2c672f['is']('element','paragraph')&&_0x2c672f['isEmpty']?_0x15400f:_0x15400f['isAtStart']?_0x13ca53['createPositionBefore'](_0x2c672f):_0x15400f['isAtEnd']?_0x13ca53['createPositionAfter'](_0x2c672f):_0x2ab88f['split'](_0x15400f)['position'],this['_importMarker']=_0x2ab88f['addMarker']('importWord:'+_0x51f0b0(),{'usingOperation':!0x1,'affectsData':!0x1,'range':new _0x26ca03(_0x3648f9)}),this['_importMarker']['on']('change:range',()=>{'$graveyard'===this['_importMarker']['getRange']()['root']['rootName']&&this['_abortController']['abort']();});}),this['isBusy']=!0x0,this['refresh']();}['_cleanUpAfterImport'](){const _0x379cc5=this['editor']['model'];_0x379cc5['markers']['has'](this['_importMarker'])&&_0x379cc5['enqueueChange'](this['_undoStepBatch'],_0x3ecd38=>{_0x3ecd38['removeMarker'](this['_importMarker']);}),this['_importMarker']=null,this['_undoStepBatch']=null,this['_abortController']=null,this['isBusy']=!0x1,this['refresh']();}['_sendImportRequest']({url:_0x389de6,file:_0x29f830,serviceConfig:_0x1e578d}){const _0x5e40e4=this['editor']['plugins']['get']('ImportWordEditing')['getToken'](),_0x18b9f8=new FormData();_0x18b9f8['set']('config',JSON['stringify'](_0x1e578d)),_0x18b9f8['set']('file',_0x29f830);const _0x114343={'method':'POST','headers':{},'body':_0x18b9f8,'signal':this['_abortController']['signal']};return _0x5e40e4&&(_0x114343['headers']['Authorization']=_0x5e40e4['value']),fetch(_0x389de6,_0x114343);}['_handleImportResponse'](_0x4a91c2){return _0x4a91c2['ok']?_0x4a91c2['json']()['then'](_0x41c332=>{if(!this['editor']['model']['markers']['has'](this['_importMarker']))return;'$graveyard'!==this['_importMarker']['getRange']()['root']['rootName']&&this['fire']('dataInsert',_0x41c332);}):Promise['reject']();}['_handleImportFailure'](){if(this['_abortController']['signal']['aborted'])return void _0x17122c('import-word-plugin-import-cancelled');const _0x4428f6=this['editor'],_0x20a2bc=p(_0x4428f6['locale'],'An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.');_0x4428f6['plugins']['get']('Notification')['showWarning'](_0x20a2bc),_0x90f2a9('import-word-plugin-conversion-failed');}}class e extends _0x5b1858{['_token'];static get['pluginName'](){return'ImportWordEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x4f8861,_0x4e9cc6,'CloudServices'];}constructor(_0x5eb69f){super(_0x5eb69f),this['_token']=null;}async['init'](){const _0x3c6342=this['editor'];_0x3c6342['config']['define']('importWord',{'converterUrl':'https://docx-converter.cke-cs.com/v2/convert/docx-html','tokenUrl':(_0x3c6342['config']['get']('cloudServices')||{})['tokenUrl'],'formatting':{'resets':'none','defaults':'none','styles':'inline'}}),_0x3c6342['commands']['add']('importWord',new d(_0x3c6342));const {tokenUrl:_0x3d7b88}=_0x3c6342['config']['get']('importWord');if(_0x3d7b88){const {tokenUrl:_0x22c098}=_0x3c6342['config']['get']('cloudServices')||{};this['_token']=_0x3d7b88===_0x22c098?_0x3c6342['plugins']['get']('CloudServices')['token']:await _0x3c6342['plugins']['get']('CloudServices')['registerTokenUrl'](_0x3d7b88);}}['getToken'](){return this['_token'];}}class o extends _0x5b1858{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};
|
package/dist/translations/af.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'af':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':
|
|
23
|
+
export default{'af':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x45ee06=>0x1!=_0x45ee06}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x510920=>{const {af:{dictionary:_0x24d757,getPluralForm:_0x29645e}}={'af':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x2a7b53=>0x1!=_0x2a7b53}};_0x510920['af']||={'dictionary':{},'getPluralForm':null},_0x510920['af']['dictionary']=Object['assign'](_0x510920['af']['dictionary'],_0x24d757),_0x510920['af']['getPluralForm']=_0x29645e;})(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':_0x13f685=>0x0==_0x13f685?0x0:0x1==_0x13f685?0x1:0x2==_0x13f685?0x2:_0x13f685%0x64>=0x3&&_0x13f685%0x64<=0xa?0x3:_0x13f685%0x64>=0xb?0x4:0x5}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x16944c=>{const {ar:{dictionary:_0x3ecd59,getPluralForm:_0x28c485}}={'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':_0x1f6731=>0x0==_0x1f6731?0x0:0x1==_0x1f6731?0x1:0x2==_0x1f6731?0x2:_0x1f6731%0x64>=0x3&&_0x1f6731%0x64<=0xa?0x3:_0x1f6731%0x64>=0xb?0x4:0x5}};_0x16944c['ar']||={'dictionary':{},'getPluralForm':null},_0x16944c['ar']['dictionary']=Object['assign'](_0x16944c['ar']['dictionary'],_0x3ecd59),_0x16944c['ar']['getPluralForm']=_0x28c485;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/ast.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'ast':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':
|
|
23
|
+
export default{'ast':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0xcd4335=>0x1!=_0xcd4335}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x23f3f2=>{const {ast:{dictionary:_0x5b5f82,getPluralForm:_0x4f6b92}}={'ast':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x48f436=>0x1!=_0x48f436}};_0x23f3f2['ast']||={'dictionary':{},'getPluralForm':null},_0x23f3f2['ast']['dictionary']=Object['assign'](_0x23f3f2['ast']['dictionary'],_0x5b5f82),_0x23f3f2['ast']['getPluralForm']=_0x4f6b92;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/az.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'az':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':
|
|
23
|
+
export default{'az':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x438879=>0x1!=_0x438879}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x3996e6=>{const {az:{dictionary:_0x36b57e,getPluralForm:_0x112b9b}}={'az':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x5be039=>0x1!=_0x5be039}};_0x3996e6['az']||={'dictionary':{},'getPluralForm':null},_0x3996e6['az']['dictionary']=Object['assign'](_0x3996e6['az']['dictionary'],_0x36b57e),_0x3996e6['az']['getPluralForm']=_0x112b9b;})(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':_0x4a22d7=>0x1!=_0x4a22d7}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x535efa=>{const {bg:{dictionary:_0x118017,getPluralForm:_0x1a4756}}={'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':_0x1b0e35=>0x1!=_0x1b0e35}};_0x535efa['bg']||={'dictionary':{},'getPluralForm':null},_0x535efa['bg']['dictionary']=Object['assign'](_0x535efa['bg']['dictionary'],_0x118017),_0x535efa['bg']['getPluralForm']=_0x1a4756;})(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':_0x2bc90f=>0x1!=_0x2bc90f}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x33e315=>{const {bn:{dictionary:_0x3ef3f2,getPluralForm:_0x19eaa7}}={'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':_0x1e4e17=>0x1!=_0x1e4e17}};_0x33e315['bn']||={'dictionary':{},'getPluralForm':null},_0x33e315['bn']['dictionary']=Object['assign'](_0x33e315['bn']['dictionary'],_0x3ef3f2),_0x33e315['bn']['getPluralForm']=_0x19eaa7;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/bs.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'bs':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':
|
|
23
|
+
export default{'bs':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x13ddc1=>_0x13ddc1%0xa==0x1&&_0x13ddc1%0x64!=0xb?0x0:_0x13ddc1%0xa>=0x2&&_0x13ddc1%0xa<=0x4&&(_0x13ddc1%0x64<0xa||_0x13ddc1%0x64>=0x14)?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x4ab3dc=>{const {bs:{dictionary:_0x49c0a4,getPluralForm:_0x26214e}}={'bs':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x2d4a7a=>_0x2d4a7a%0xa==0x1&&_0x2d4a7a%0x64!=0xb?0x0:_0x2d4a7a%0xa>=0x2&&_0x2d4a7a%0xa<=0x4&&(_0x2d4a7a%0x64<0xa||_0x2d4a7a%0x64>=0x14)?0x1:0x2}};_0x4ab3dc['bs']||={'dictionary':{},'getPluralForm':null},_0x4ab3dc['bs']['dictionary']=Object['assign'](_0x4ab3dc['bs']['dictionary'],_0x49c0a4),_0x4ab3dc['bs']['getPluralForm']=_0x26214e;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/ca.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'ca':{'dictionary':{'Import\x20from\x20Word':'Importeu\x20de\x20Word','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Hi\x20ha\x20hagut\x20un\x20error\x20mentre\x20s\x27importava\x20l\x27arxiu\x20de\x20Word.','Importing\x20Word\x20document':'Important\x20document\x20de\x20Word'},'getPluralForm':
|
|
23
|
+
export default{'ca':{'dictionary':{'Import\x20from\x20Word':'Importeu\x20de\x20Word','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Hi\x20ha\x20hagut\x20un\x20error\x20mentre\x20s\x27importava\x20l\x27arxiu\x20de\x20Word.','Importing\x20Word\x20document':'Important\x20document\x20de\x20Word'},'getPluralForm':_0x9c4194=>0x1!=_0x9c4194}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x4a938c=>{const {ca:{dictionary:_0x2b2da1,getPluralForm:_0x2d1fe0}}={'ca':{'dictionary':{'Import\x20from\x20Word':'Importeu\x20de\x20Word','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Hi\x20ha\x20hagut\x20un\x20error\x20mentre\x20s\x27importava\x20l\x27arxiu\x20de\x20Word.','Importing\x20Word\x20document':'Important\x20document\x20de\x20Word'},'getPluralForm':_0x40179e=>0x1!=_0x40179e}};_0x4a938c['ca']||={'dictionary':{},'getPluralForm':null},_0x4a938c['ca']['dictionary']=Object['assign'](_0x4a938c['ca']['dictionary'],_0x2b2da1),_0x4a938c['ca']['getPluralForm']=_0x2d1fe0;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/cs.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'cs':{'dictionary':{'Import\x20from\x20Word':'Importovat\x20z\x20Wordu','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Při\x20importu\x20souboru\x20aplikace\x20Word\x20došlo\x20k\x20chybě.','Importing\x20Word\x20document':'Import\x20dokumentu\x20aplikace\x20Word'},'getPluralForm':
|
|
23
|
+
export default{'cs':{'dictionary':{'Import\x20from\x20Word':'Importovat\x20z\x20Wordu','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Při\x20importu\x20souboru\x20aplikace\x20Word\x20došlo\x20k\x20chybě.','Importing\x20Word\x20document':'Import\x20dokumentu\x20aplikace\x20Word'},'getPluralForm':_0x57fa4c=>0x1==_0x57fa4c?0x0:_0x57fa4c>=0x2&&_0x57fa4c<=0x4?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x4acf6b=>{const {cs:{dictionary:_0x2e639b,getPluralForm:_0x4a239e}}={'cs':{'dictionary':{'Import\x20from\x20Word':'Importovat\x20z\x20Wordu','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Při\x20importu\x20souboru\x20aplikace\x20Word\x20došlo\x20k\x20chybě.','Importing\x20Word\x20document':'Import\x20dokumentu\x20aplikace\x20Word'},'getPluralForm':_0x1c6c3f=>0x1==_0x1c6c3f?0x0:_0x1c6c3f>=0x2&&_0x1c6c3f<=0x4?0x1:0x2}};_0x4acf6b['cs']||={'dictionary':{},'getPluralForm':null},_0x4acf6b['cs']['dictionary']=Object['assign'](_0x4acf6b['cs']['dictionary'],_0x2e639b),_0x4acf6b['cs']['getPluralForm']=_0x4a239e;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/da.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'da':{'dictionary':{'Import\x20from\x20Word':'Importér\x20fra\x20Word','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Der\x20opstod\x20en\x20fejl\x20unde\x20rimporteringen\x20af\x20Word-filen.','Importing\x20Word\x20document':'Import\x20af\x20Word-dokument'},'getPluralForm':
|
|
23
|
+
export default{'da':{'dictionary':{'Import\x20from\x20Word':'Importér\x20fra\x20Word','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Der\x20opstod\x20en\x20fejl\x20unde\x20rimporteringen\x20af\x20Word-filen.','Importing\x20Word\x20document':'Import\x20af\x20Word-dokument'},'getPluralForm':_0x25e8ab=>0x1!=_0x25e8ab}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x492a61=>{const {da:{dictionary:_0xbb27aa,getPluralForm:_0x7c07ae}}={'da':{'dictionary':{'Import\x20from\x20Word':'Importér\x20fra\x20Word','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Der\x20opstod\x20en\x20fejl\x20unde\x20rimporteringen\x20af\x20Word-filen.','Importing\x20Word\x20document':'Import\x20af\x20Word-dokument'},'getPluralForm':_0x484132=>0x1!=_0x484132}};_0x492a61['da']||={'dictionary':{},'getPluralForm':null},_0x492a61['da']['dictionary']=Object['assign'](_0x492a61['da']['dictionary'],_0xbb27aa),_0x492a61['da']['getPluralForm']=_0x7c07ae;})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'de-ch':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':
|
|
23
|
+
export default{'de-ch':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x593603=>0x1!=_0x593603}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x470a1f=>{const {'de-ch':{dictionary:_0x167834,getPluralForm:_0x5daa2d}}={'de-ch':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0xfd9bf0=>0x1!=_0xfd9bf0}};_0x470a1f['de-ch']||={'dictionary':{},'getPluralForm':null},_0x470a1f['de-ch']['dictionary']=Object['assign'](_0x470a1f['de-ch']['dictionary'],_0x167834),_0x470a1f['de-ch']['getPluralForm']=_0x5daa2d;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/de.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'de':{'dictionary':{'Import\x20from\x20Word':'Aus\x20Word\x20importieren','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Beim\x20Importieren\x20der\x20Word-Datei\x20ist\x20ein\x20Fehler\x20aufgetreten.','Importing\x20Word\x20document':'Word-Dokument\x20importieren'},'getPluralForm':
|
|
23
|
+
export default{'de':{'dictionary':{'Import\x20from\x20Word':'Aus\x20Word\x20importieren','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Beim\x20Importieren\x20der\x20Word-Datei\x20ist\x20ein\x20Fehler\x20aufgetreten.','Importing\x20Word\x20document':'Word-Dokument\x20importieren'},'getPluralForm':_0x410be7=>0x1!=_0x410be7}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x4b7933=>{const {de:{dictionary:_0x2c8b90,getPluralForm:_0x412f1a}}={'de':{'dictionary':{'Import\x20from\x20Word':'Aus\x20Word\x20importieren','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Beim\x20Importieren\x20der\x20Word-Datei\x20ist\x20ein\x20Fehler\x20aufgetreten.','Importing\x20Word\x20document':'Word-Dokument\x20importieren'},'getPluralForm':_0x122187=>0x1!=_0x122187}};_0x4b7933['de']||={'dictionary':{},'getPluralForm':null},_0x4b7933['de']['dictionary']=Object['assign'](_0x4b7933['de']['dictionary'],_0x2c8b90),_0x4b7933['de']['getPluralForm']=_0x412f1a;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/el.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'el':{'dictionary':{'Import\x20from\x20Word':'Εισαγωγή\x20από\x20Word','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Παρουσιάστηκε\x20σφάλμα\x20κατά\x20την\x20εισαγωγή\x20του\x20αρχείου\x20Word.','Importing\x20Word\x20document':'Εισαγωγή\x20εγγράφου\x20Κειμένου'},'getPluralForm':
|
|
23
|
+
export default{'el':{'dictionary':{'Import\x20from\x20Word':'Εισαγωγή\x20από\x20Word','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Παρουσιάστηκε\x20σφάλμα\x20κατά\x20την\x20εισαγωγή\x20του\x20αρχείου\x20Word.','Importing\x20Word\x20document':'Εισαγωγή\x20εγγράφου\x20Κειμένου'},'getPluralForm':_0x5c8ee4=>0x1!=_0x5c8ee4}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0xd66556=>{const {el:{dictionary:_0x2cde4d,getPluralForm:_0x45eb45}}={'el':{'dictionary':{'Import\x20from\x20Word':'Εισαγωγή\x20από\x20Word','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Παρουσιάστηκε\x20σφάλμα\x20κατά\x20την\x20εισαγωγή\x20του\x20αρχείου\x20Word.','Importing\x20Word\x20document':'Εισαγωγή\x20εγγράφου\x20Κειμένου'},'getPluralForm':_0xee0410=>0x1!=_0xee0410}};_0xd66556['el']||={'dictionary':{},'getPluralForm':null},_0xd66556['el']['dictionary']=Object['assign'](_0xd66556['el']['dictionary'],_0x2cde4d),_0xd66556['el']['getPluralForm']=_0x45eb45;})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'en-au':{'dictionary':{'Import\x20from\x20Word':'Import\x20from\x20Word','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.','Importing\x20Word\x20document':''},'getPluralForm':
|
|
23
|
+
export default{'en-au':{'dictionary':{'Import\x20from\x20Word':'Import\x20from\x20Word','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.','Importing\x20Word\x20document':''},'getPluralForm':_0x581443=>0x1!=_0x581443}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x47832f=>{const {'en-au':{dictionary:_0x4ccee5,getPluralForm:_0x639cac}}={'en-au':{'dictionary':{'Import\x20from\x20Word':'Import\x20from\x20Word','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.','Importing\x20Word\x20document':''},'getPluralForm':_0x219496=>0x1!=_0x219496}};_0x47832f['en-au']||={'dictionary':{},'getPluralForm':null},_0x47832f['en-au']['dictionary']=Object['assign'](_0x47832f['en-au']['dictionary'],_0x4ccee5),_0x47832f['en-au']['getPluralForm']=_0x639cac;})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'en-gb':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':
|
|
23
|
+
export default{'en-gb':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x2795fb=>0x1!=_0x2795fb}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x29b9e8=>{const {'en-gb':{dictionary:_0x4149c4,getPluralForm:_0xf4d1cd}}={'en-gb':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0xcdb16b=>0x1!=_0xcdb16b}};_0x29b9e8['en-gb']||={'dictionary':{},'getPluralForm':null},_0x29b9e8['en-gb']['dictionary']=Object['assign'](_0x29b9e8['en-gb']['dictionary'],_0x4149c4),_0x29b9e8['en-gb']['getPluralForm']=_0xf4d1cd;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/en.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
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.','Importing\x20Word\x20document':'Importing\x20Word\x20document'},'getPluralForm':
|
|
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.','Importing\x20Word\x20document':'Importing\x20Word\x20document'},'getPluralForm':_0x4d1a94=>0x1!=_0x4d1a94}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x17997d=>{const {en:{dictionary:_0x4def04,getPluralForm:_0x5077f6}}={'en':{'dictionary':{'Import\x20from\x20Word':'Import\x20from\x20Word','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.','Importing\x20Word\x20document':'Importing\x20Word\x20document'},'getPluralForm':_0x4ebeef=>0x1!=_0x4ebeef}};_0x17997d['en']||={'dictionary':{},'getPluralForm':null},_0x17997d['en']['dictionary']=Object['assign'](_0x17997d['en']['dictionary'],_0x4def04),_0x17997d['en']['getPluralForm']=_0x5077f6;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/eo.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'eo':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':
|
|
23
|
+
export default{'eo':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x56bc22=>0x1!=_0x56bc22}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x439e8f=>{const {eo:{dictionary:_0x12ee7e,getPluralForm:_0x5d461d}}={'eo':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x30c3fe=>0x1!=_0x30c3fe}};_0x439e8f['eo']||={'dictionary':{},'getPluralForm':null},_0x439e8f['eo']['dictionary']=Object['assign'](_0x439e8f['eo']['dictionary'],_0x12ee7e),_0x439e8f['eo']['getPluralForm']=_0x5d461d;})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'es-co':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':
|
|
23
|
+
export default{'es-co':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x6c531b=>0x1!=_0x6c531b}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x5d80fb=>{const {'es-co':{dictionary:_0x49a489,getPluralForm:_0x2e2edf}}={'es-co':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x2098ab=>0x1!=_0x2098ab}};_0x5d80fb['es-co']||={'dictionary':{},'getPluralForm':null},_0x5d80fb['es-co']['dictionary']=Object['assign'](_0x5d80fb['es-co']['dictionary'],_0x49a489),_0x5d80fb['es-co']['getPluralForm']=_0x2e2edf;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/es.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'es':{'dictionary':{'Import\x20from\x20Word':'Importar\x20desde\x20Word','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Se\x20ha\x20producido\x20un\x20error\x20al\x20importar\x20el\x20archivo\x20de\x20Word.','Importing\x20Word\x20document':'Importando\x20documento\x20de\x20Word'},'getPluralForm':
|
|
23
|
+
export default{'es':{'dictionary':{'Import\x20from\x20Word':'Importar\x20desde\x20Word','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Se\x20ha\x20producido\x20un\x20error\x20al\x20importar\x20el\x20archivo\x20de\x20Word.','Importing\x20Word\x20document':'Importando\x20documento\x20de\x20Word'},'getPluralForm':_0x3fde72=>0x1!=_0x3fde72}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x3d6c46=>{const {es:{dictionary:_0x5461ac,getPluralForm:_0xc9a9ba}}={'es':{'dictionary':{'Import\x20from\x20Word':'Importar\x20desde\x20Word','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Se\x20ha\x20producido\x20un\x20error\x20al\x20importar\x20el\x20archivo\x20de\x20Word.','Importing\x20Word\x20document':'Importando\x20documento\x20de\x20Word'},'getPluralForm':_0x54340c=>0x1!=_0x54340c}};_0x3d6c46['es']||={'dictionary':{},'getPluralForm':null},_0x3d6c46['es']['dictionary']=Object['assign'](_0x3d6c46['es']['dictionary'],_0x5461ac),_0x3d6c46['es']['getPluralForm']=_0xc9a9ba;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/et.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'et':{'dictionary':{'Import\x20from\x20Word':'Wordist\x20importimine','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Wordi\x20faili\x20importimisel\x20tekkis\x20viga.','Importing\x20Word\x20document':'Word\x20dokumendi\x20importimine'},'getPluralForm':
|
|
23
|
+
export default{'et':{'dictionary':{'Import\x20from\x20Word':'Wordist\x20importimine','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Wordi\x20faili\x20importimisel\x20tekkis\x20viga.','Importing\x20Word\x20document':'Word\x20dokumendi\x20importimine'},'getPluralForm':_0x440a0b=>0x1!=_0x440a0b}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x1db34b=>{const {et:{dictionary:_0x50f23b,getPluralForm:_0x1bab29}}={'et':{'dictionary':{'Import\x20from\x20Word':'Wordist\x20importimine','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Wordi\x20faili\x20importimisel\x20tekkis\x20viga.','Importing\x20Word\x20document':'Word\x20dokumendi\x20importimine'},'getPluralForm':_0x3aecad=>0x1!=_0x3aecad}};_0x1db34b['et']||={'dictionary':{},'getPluralForm':null},_0x1db34b['et']['dictionary']=Object['assign'](_0x1db34b['et']['dictionary'],_0x50f23b),_0x1db34b['et']['getPluralForm']=_0x1bab29;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/eu.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'eu':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':
|
|
23
|
+
export default{'eu':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x59fb96=>0x1!=_0x59fb96}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x4cf8d5=>{const {eu:{dictionary:_0x32eb34,getPluralForm:_0x4a83b7}}={'eu':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x546741=>0x1!=_0x546741}};_0x4cf8d5['eu']||={'dictionary':{},'getPluralForm':null},_0x4cf8d5['eu']['dictionary']=Object['assign'](_0x4cf8d5['eu']['dictionary'],_0x32eb34),_0x4cf8d5['eu']['getPluralForm']=_0x4a83b7;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/fa.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'fa':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':
|
|
23
|
+
export default{'fa':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x1bbaa1=>0x0}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x3d8618=>{const {fa:{dictionary:_0x403313,getPluralForm:_0x3b2214}}={'fa':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x5b4aea=>0x0}};_0x3d8618['fa']||={'dictionary':{},'getPluralForm':null},_0x3d8618['fa']['dictionary']=Object['assign'](_0x3d8618['fa']['dictionary'],_0x403313),_0x3d8618['fa']['getPluralForm']=_0x3b2214;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/fi.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'fi':{'dictionary':{'Import\x20from\x20Word':'Tuo\x20Wordista','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Word-tiedoston\x20tuomisessa\x20tapahtui\x20virhe.','Importing\x20Word\x20document':'Tuodaan\x20Word-asiakirja'},'getPluralForm':
|
|
23
|
+
export default{'fi':{'dictionary':{'Import\x20from\x20Word':'Tuo\x20Wordista','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Word-tiedoston\x20tuomisessa\x20tapahtui\x20virhe.','Importing\x20Word\x20document':'Tuodaan\x20Word-asiakirja'},'getPluralForm':_0x3cdcfa=>0x1!=_0x3cdcfa}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x4f6551=>{const {fi:{dictionary:_0xe3f89b,getPluralForm:_0x25218a}}={'fi':{'dictionary':{'Import\x20from\x20Word':'Tuo\x20Wordista','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Word-tiedoston\x20tuomisessa\x20tapahtui\x20virhe.','Importing\x20Word\x20document':'Tuodaan\x20Word-asiakirja'},'getPluralForm':_0x5c1307=>0x1!=_0x5c1307}};_0x4f6551['fi']||={'dictionary':{},'getPluralForm':null},_0x4f6551['fi']['dictionary']=Object['assign'](_0x4f6551['fi']['dictionary'],_0xe3f89b),_0x4f6551['fi']['getPluralForm']=_0x25218a;})(window['CKEDITOR_TRANSLATIONS']||={});
|