@ckeditor/ckeditor5-import-word 0.0.0-nightly-20250304.0 → 0.0.0-nightly-20250305.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 +9 -9
- 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-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
4
4
|
* For licensing, see LICENSE.md.
|
|
5
|
-
*/(()=>{var t={237:t=>{"use strict";t.exports=CKEditor5.dll},311:(t,r,e)=>{t.exports=e(237)("./src/ui.js")},331:(t,r,e)=>{t.exports=e(237)("./src/clipboard.js")},584:(t,r,e)=>{t.exports=e(237)("./src/utils.js")},782:(t,r,e)=>{t.exports=e(237)("./src/core.js")},783:(t,r,e)=>{t.exports=e(237)("./src/engine.js")}},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:()=>b,ImportWordEditing:()=>v,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-=466]})(t,r)}function a(){const t=["isPremiumPlugin","isOfficialPlugin","label","8414844eEXicF","iconView","init","editing","editor","add","tooltip","locale","Importing Word document","15427368JaIgVo","set","470IIxWLi","126WCewra","isVisible","Import from Word","201112dNYFxJ","2347350xabUvc","isBusy","execute","focus","isEnabled","53978uTSmbU","menuBar:importWord","ImportWordUI","44wURqMG","_createButton","componentFactory","49mesjZS","33093EtpxAR","pluginName","application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.openxmlformats-officedocument.wordprocessingml.template","isOn","done","commands","importWord","get","144132aBkHaz","view","children","bind"];return(a=function(){return t})()}!function(t){const r=s,e=t();for(;;)try{if(792200===-parseInt(r(497))/1*(parseInt(r(500))/2)+-parseInt(r(488))/3*(-parseInt(r(469))/4)+parseInt(r(492))/5+-parseInt(r(476))/6+parseInt(r(503))/7*(-parseInt(r(491))/8)+parseInt(r(504))/9*(parseInt(r(487))/10)+parseInt(r(485))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(a);class c extends t.Plugin{static get[o(505)](){return o(499)}static get[o(474)](){return!0}static get[o(473)](){return!0}[o(478)](){const t=o,e=this[t(480)];e.ui[t(502)][t(481)](t(467),(()=>{const n=t,i=this[n(501)](r.FileDialogButtonView),o=e[n(466)][n(468)](n(467));return i[n(472)](n(507)).to(o,n(493)),i[n(482)]=!0,i})),e.ui[t(502)][t(481)](t(498),(()=>this[t(501)](r.MenuBarMenuListItemFileDialogButtonView)))}[o(501)](t){const e=o,n=this[e(480)],s=n[e(466)][e(468)](e(467)),a=new t(n[e(483)]),c=new r.SpinnerView;return a[e(486)]({acceptedType:e(506)}),a[e(486)]({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(472)](e(496)).to(s),a[e(472)](e(475)).to(s,e(493),(t=>i(n[e(483)],e(t?484:490)))),c[e(472)](e(489)).to(s,e(493)),a[e(477)][e(472)](e(489)).to(s,e(493),(t=>!t)),a[e(471)][e(481)](c),a.on(e(508),((t,r)=>{const i=e;n[i(494)](i(467),r[0],{}),n[i(479)][i(470)][i(495)]()})),a}}var p=e(331),u=e(783),l=e(584);const d=h;function h(t,r){const e=f();return(h=function(t,r){return e[t-=463]})(t,r)}function f(){const t=["low","selection","7HGomJM","element","2366268vrFxvq","change:range","paragraph","getToken","execute","parent","refresh","fire","312495sxeHrh","model","isEmpty","isBusy","finally","schema","bind","importWord:","removeMarker","then","3524910fZWPDo","editing","view","plugins","has","dataInsert","stopListening","editor","45pfhMLJ","createPositionBefore","config","_checkEnabled","import-word-plugin-conversion-failed","An error occurred while importing the Word file.","_undoStepBatch","ImportWordEditing","import-word-plugin-import-cancelled","showWarning","checkChild","catch","_abortController","locale","rootName","_handleImportResponse","isCollapsed","MergeFields","getFirstPosition","createBatch","formatting","file","_prepareForImport","$graveyard","position","converterUrl","resolve","_sendImportRequest","json","resolvedOptions","stringify","importWord","getRange","addMarker","set","headers","isAtStart","78542XqHVtY","abort","mergeFields","1785448VrHAwk","markers","timeZone","document","split","_cleanUpAfterImport","1181674AyXDKx","signal","Notification","4BNJEdk","isEnabled","root","DateTimeFormat","value","isAtEnd","_handleImportFailure","Authorization","941496OpKjvp","createPositionAfter","_importMarker","enqueueChange","get","merge_fields","POST","clipboardInput","text/html","setData","html","aborted","reject","deleteContent","setSelection","getSelectedBlocks"];return(f=function(){return t})()}!function(t){const r=h,e=t();for(;;)try{if(381268===parseInt(r(471))/1+-parseInt(r(480))/2+-parseInt(r(491))/3+parseInt(r(483))/4*(parseInt(r(519))/5)+parseInt(r(511))/6*(-parseInt(r(509))/7)+-parseInt(r(474))/8+-parseInt(r(537))/9*(-parseInt(r(529))/10))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(f);class m extends t.Command{constructor(t){const r=h;super(t),this[r(468)](r(522),!1),this[r(493)]=null,this[r(543)]=null,this[r(549)]=null,this.on(r(534),((e,n)=>{const i=r,o=new DataTransfer;o[i(500)](i(499),n[i(501)]);const s=this[i(493)][i(466)]();this[i(536)][i(520)][i(494)](this[i(543)],(r=>{const e=i;this[e(493)][e(535)](),r[e(505)](s),t[e(530)][e(531)][e(477)][e(518)](e(498),{dataTransfer:o})}))}),{priority:r(507)})}[d(517)](){const t=d;this[t(484)]=this[t(540)]()}[d(515)](t,r={}){const e=d;if(this[e(522)])return Promise[e(563)]();const n=this[e(536)][e(539)][e(495)](e(465));if(this[e(536)][e(532)][e(533)](e(554))){const{prefix:t,suffix:n}=this[e(536)][e(539)][e(495)](e(473));r[e(496)]={prefix:t,suffix:n}}const i={url:n[e(562)],file:t,serviceConfig:{...r,formatting:n[e(557)],timezone:(new(Intl[e(486)]))[e(463)]()[e(476)]}};return this[e(559)](),this[e(564)](i)[e(528)](this[e(552)][e(525)](this))[e(548)](this[e(489)][e(525)](this))[e(523)](this[e(479)][e(525)](this))}[d(540)](){const t=d;if(this[t(522)])return!1;const r=this[t(536)][t(520)],e=r[t(524)],n=r[t(477)][t(508)],i=(0,l.first)(n[t(506)]());return!!i&&e[t(547)](i[t(516)],t(513))}[d(559)](){const t=d,r=this[t(536)],e=r[t(520)],n=e[t(477)][t(508)];this[t(549)]=new AbortController,this[t(543)]=r[t(520)][t(556)]({isUndoable:!0}),e[t(494)](this[t(543)],(r=>{const i=t;n[i(553)]||e[i(504)](n,{leaveUnmerged:!0});const o=n[i(555)](),s=(0,l.first)(n[i(506)]());let a;a=s.is(i(510),i(513))&&s[i(521)]?o:o[i(470)]?e[i(538)](s):o[i(488)]?e[i(492)](s):r[i(478)](o)[i(561)],this[i(493)]=r[i(467)](i(526)+(0,l.uid)(),{usingOperation:!1,affectsData:!1,range:new u.Range(a)}),this[i(493)].on(i(512),(()=>{const t=i;t(560)===this[t(493)][t(466)]()[t(485)][t(551)]&&this[t(549)][t(472)]()}))})),this[t(522)]=!0,this[t(517)]()}[d(479)](){const t=d,r=this[t(536)][t(520)];r[t(475)][t(533)](this[t(493)])&&r[t(494)](this[t(543)],(r=>{const e=t;r[e(527)](this[e(493)])})),this[t(493)]=null,this[t(543)]=null,this[t(549)]=null,this[t(522)]=!1,this[t(517)]()}[d(564)]({url:t,file:r,serviceConfig:e}){const n=d,i=this[n(536)][n(532)][n(495)](n(544))[n(514)](),o=new FormData;o[n(468)](n(539),JSON[n(464)](e)),o[n(468)](n(558),r);const s={method:n(497),headers:{},body:o,signal:this[n(549)][n(481)]};return i&&(s[n(469)][n(490)]=i[n(487)]),fetch(t,s)}[d(552)](t){const r=d;return t.ok?t[r(565)]()[r(528)]((t=>{const e=r;this[e(536)][e(520)][e(475)][e(533)](this[e(493)])&&e(560)!==this[e(493)][e(466)]()[e(485)][e(551)]&&this[e(518)](e(534),t)})):Promise[r(503)]()}[d(489)](){const t=d;if(this[t(549)][t(481)][t(502)])return void(0,l.logWarning)(t(545));const r=this[t(536)],e=i(r[t(550)],t(542));r[t(532)][t(495)](t(482))[t(546)](e),(0,l.logError)(t(541))}}const g=I;function I(t,r){const e=w();return(I=function(t,r){return e[t-=178]})(t,r)}!function(t){const r=I,e=t();for(;;)try{if(764052===-parseInt(r(199))/1+parseInt(r(207))/2*(-parseInt(r(188))/3)+parseInt(r(203))/4*(parseInt(r(180))/5)+parseInt(r(189))/6+parseInt(r(194))/7*(parseInt(r(182))/8)+-parseInt(r(196))/9+-parseInt(r(193))/10*(parseInt(r(200))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(w);class v extends t.Plugin{static get[g(185)](){return g(211)}static get[g(204)](){return!0}static get[g(192)](){return!0}static get[g(209)](){const t=g;return[r.Notification,p.ClipboardPipeline,t(179)]}constructor(t){const r=g;super(t),this[r(210)]=null}async[g(205)](){const t=g,r=this[t(206)];r[t(195)][t(186)](t(187),{converterUrl:t(191),tokenUrl:(r[t(195)][t(184)](t(183))||{})[t(181)],formatting:{resets:t(178),defaults:t(178),styles:t(212)}}),r[t(201)][t(197)](t(187),new m(r));const{tokenUrl:e}=r[t(195)][t(184)](t(187));if(e){const{tokenUrl:n}=r[t(195)][t(184)](t(183))||{};this[t(210)]=e===n?r[t(208)][t(184)](t(179))[t(190)]:await r[t(208)][t(184)](t(179))[t(202)](e)}}[g(198)](){return this[g(210)]}}function w(){const t=["isPremiumPlugin","110aqkXNe","35nPDWlO","config","1602171DRjSAA","add","getToken","569989WVmolj","1735844hsMVvz","commands","registerTokenUrl","43996GmdggM","isOfficialPlugin","init","editor","13572xQMlxW","plugins","requires","_token","ImportWordEditing","inline","none","CloudServices","685oDTMvS","tokenUrl","972976Nggixa","cloudServices","get","pluginName","define","importWord","72dlMGxI","7774770ipBHLA","token","https://docx-converter.cke-cs.com/v2/convert/docx-html"];return(w=function(){return t})()}var x=W;function W(t,r){var e=k();return(W=function(t,r){return e[t-=313]})(t,r)}!function(t){for(var r=W,e=t();;)try{if(306604===parseInt(r(322))/1*(parseInt(r(326))/2)+-parseInt(r(329))/3*(parseInt(r(314))/4)+-parseInt(r(313))/5*(parseInt(r(327))/6)+-parseInt(r(316))/7*(-parseInt(r(323))/8)+parseInt(r(318))/9*(-parseInt(r(319))/10)+-parseInt(r(328))/11+parseInt(r(317))/12)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(k);class b extends t.Plugin{static get[x(320)](){return x(321)}static get[x(324)](){return!0}static get[x(325)](){return!0}static get[x(315)](){return[v,c]}}function k(){var t=["79204CCChiE","6JNJaFs","2529296cdmsiL","9pwJQnc","565715vVwcjQ","360988BfnSTL","requires","217jEQVns","7517940UjrGhA","666RmKlHZ","5860YRlnMR","pluginName","ImportWord","5QGdzjF","35944xJsiNf","isOfficialPlugin","isPremiumPlugin"];return(k=function(){return t})()}function y(t,r){var e=A();return(y=function(t,r){return e[t-=293]})(t,r)}function A(){var t=["102612QtakAk","291417WdBNDN","4OZpTtC","20XUQAGf","18149494LVXBUO","85BfbLla","1839425gRpfms","2925664zXaFmW","333468AUjMtF","2IALcBs","3247146UfCQlU"];return(A=function(){return t})()}!function(t){for(var r=y,e=t();;)try{if(595344===parseInt(r(299))/1*(parseInt(r(296))/2)+-parseInt(r(297))/3*(parseInt(r(300))/4)+parseInt(r(303))/5*(parseInt(r(298))/6)+-parseInt(r(293))/7+-parseInt(r(294))/8+-parseInt(r(295))/9*(-parseInt(r(301))/10)+parseInt(r(302))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(A)})(),(window.CKEditor5=window.CKEditor5||{}).importWord=n})();
|
|
5
|
+
*/(()=>{var t={237:t=>{"use strict";t.exports=CKEditor5.dll},311:(t,r,e)=>{t.exports=e(237)("./src/ui.js")},331:(t,r,e)=>{t.exports=e(237)("./src/clipboard.js")},584:(t,r,e)=>{t.exports=e(237)("./src/utils.js")},782:(t,r,e)=>{t.exports=e(237)("./src/core.js")},783:(t,r,e)=>{t.exports=e(237)("./src/engine.js")}},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:()=>k,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-=222]})(t,r)}function a(){const t=["tooltip","application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.openxmlformats-officedocument.wordprocessingml.template","103176UtFNHH","commands","locale","5491374xSoFWZ","isOfficialPlugin","2157800jiRxoE","editing","label","99ZRMNuU","init","done","pluginName","bind","isBusy","18SbFhII","ImportWordUI","iconView","Import from Word","isEnabled","componentFactory","6928659vPJhge","execute","set","isOn","focus","6091976OVrFMR","view","editor","416523nsCGkk","_createButton","isPremiumPlugin","395qOZMgQ","14DELPKj","get","16556pVRBYm","menuBar:importWord","importWord","children","isVisible","Importing Word document","add"];return(a=function(){return t})()}!function(t){const r=s,e=t();for(;;)try{if(922620===-parseInt(r(239))/1+-parseInt(r(253))/2*(-parseInt(r(224))/3)+parseInt(r(230))/4*(-parseInt(r(227))/5)+parseInt(r(242))/6*(-parseInt(r(228))/7)+parseInt(r(264))/8+-parseInt(r(259))/9+parseInt(r(244))/10*(parseInt(r(247))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(a);class c extends t.Plugin{static get[o(250)](){return o(254)}static get[o(243)](){return!0}static get[o(226)](){return!0}[o(248)](){const t=o,e=this[t(223)];e.ui[t(258)][t(236)](t(232),(()=>{const n=t,i=this[n(225)](r.FileDialogButtonView),o=e[n(240)][n(229)](n(232));return i[n(251)](n(262)).to(o,n(252)),i[n(237)]=!0,i})),e.ui[t(258)][t(236)](t(231),(()=>this[t(225)](r.MenuBarMenuListItemFileDialogButtonView)))}[o(225)](t){const e=o,n=this[e(223)],s=n[e(240)][e(229)](e(232)),a=new t(n[e(241)]),c=new r.SpinnerView;return a[e(261)]({acceptedType:e(238)}),a[e(261)]({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(251)](e(257)).to(s),a[e(251)](e(246)).to(s,e(252),(t=>i(n[e(241)],e(t?235:256)))),c[e(251)](e(234)).to(s,e(252)),a[e(255)][e(251)](e(234)).to(s,e(252),(t=>!t)),a[e(233)][e(236)](c),a.on(e(249),((t,r)=>{const i=e;n[i(260)](i(232),r[0],{}),n[i(245)][i(222)][i(263)]()})),a}}var u=e(331),p=e(783),l=e(584);const h=d;function d(t,r){const e=m();return(d=function(t,r){return e[t-=355]})(t,r)}!function(t){const r=d,e=t();for(;;)try{if(294206===parseInt(r(453))/1+parseInt(r(435))/2*(-parseInt(r(397))/3)+parseInt(r(377))/4+parseInt(r(393))/5+parseInt(r(391))/6+parseInt(r(452))/7*(-parseInt(r(445))/8)+parseInt(r(359))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(m);class f extends t.Command{constructor(t){const r=d;super(t),this[r(409)](r(434),!1),this[r(440)]=null,this[r(404)]=null,this[r(406)]=null,this.on(r(387),((e,n)=>{const i=r,o=new DataTransfer;o[i(431)](i(433),n[i(451)]);const s=this[i(440)][i(369)]();this[i(356)][i(386)][i(408)](this[i(404)],(r=>{const e=i;this[e(440)][e(361)](),r[e(403)](s),t[e(373)][e(399)][e(374)][e(415)](e(436),{dataTransfer:o})}))}),{priority:r(376)})}[h(456)](){const t=h;this[t(429)]=this[t(437)]()}[h(396)](t,r={}){const e=h;if(this[e(434)])return Promise[e(414)]();const n=this[e(356)][e(418)][e(364)](e(357));if(this[e(356)][e(439)][e(380)](e(366))){const{prefix:t,suffix:n}=this[e(356)][e(418)][e(364)](e(383));r[e(441)]={prefix:t,suffix:n}}const i={url:n[e(375)],file:t,serviceConfig:{...r,formatting:n[e(358)],timezone:(new(Intl[e(385)]))[e(454)]()[e(410)]}};return this[e(423)](),this[e(455)](i)[e(378)](this[e(362)][e(447)](this))[e(363)](this[e(368)][e(447)](this))[e(392)](this[e(394)][e(447)](this))}[h(437)](){const t=h;if(this[t(434)])return!1;const r=this[t(356)][t(386)],e=r[t(444)],n=r[t(374)][t(370)],i=(0,l.first)(n[t(424)]());return!!i&&e[t(448)](i[t(421)],t(372))}[h(423)](){const t=h,r=this[t(356)],e=r[t(386)],n=e[t(374)][t(370)];this[t(406)]=new AbortController,this[t(404)]=r[t(386)][t(384)]({isUndoable:!0}),e[t(408)](this[t(404)],(r=>{const i=t;n[i(379)]||e[i(427)](n,{leaveUnmerged:!0});const o=n[i(426)](),s=(0,l.first)(n[i(424)]());let a;a=s.is(i(425),i(372))&&s[i(417)]?o:o[i(381)]?e[i(390)](s):o[i(428)]?e[i(389)](s):r[i(365)](o)[i(400)],this[i(440)]=r[i(438)](i(411)+(0,l.uid)(),{usingOperation:!1,affectsData:!1,range:new p.Range(a)}),this[i(440)].on(i(407),(()=>{const t=i;t(355)===this[t(440)][t(369)]()[t(382)][t(388)]&&this[t(406)][t(446)]()}))})),this[t(434)]=!0,this[t(456)]()}[h(394)](){const t=h,r=this[t(356)][t(386)];r[t(360)][t(380)](this[t(440)])&&r[t(408)](this[t(404)],(r=>{const e=t;r[e(405)](this[e(440)])})),this[t(440)]=null,this[t(404)]=null,this[t(406)]=null,this[t(434)]=!1,this[t(456)]()}[h(455)]({url:t,file:r,serviceConfig:e}){const n=h,i=this[n(356)][n(439)][n(364)](n(371))[n(367)](),o=new FormData;o[n(409)](n(418),JSON[n(395)](e)),o[n(409)](n(416),r);const s={method:n(432),headers:{},body:o,signal:this[n(406)][n(442)]};return i&&(s[n(413)][n(422)]=i[n(412)]),fetch(t,s)}[h(362)](t){const r=h;return t.ok?t[r(401)]()[r(378)]((t=>{const e=r;this[e(356)][e(386)][e(360)][e(380)](this[e(440)])&&e(355)!==this[e(440)][e(369)]()[e(382)][e(388)]&&this[e(415)](e(387),t)})):Promise[r(430)]()}[h(368)](){const t=h;if(this[t(406)][t(442)][t(443)])return void(0,l.logWarning)(t(402));const r=this[t(356)],e=i(r[t(450)],t(398));r[t(439)][t(364)](t(449))[t(420)](e),(0,l.logError)(t(419))}}function m(){const t=["get","split","MergeFields","getToken","_handleImportFailure","getRange","selection","ImportWordEditing","paragraph","editing","document","converterUrl","low","1309180QrOXqn","then","isCollapsed","has","isAtStart","root","mergeFields","createBatch","DateTimeFormat","model","dataInsert","rootName","createPositionAfter","createPositionBefore","1834482Hcmequ","finally","1175545NhqrGV","_cleanUpAfterImport","stringify","execute","14295YWkZWQ","An error occurred while importing the Word file.","view","position","json","import-word-plugin-import-cancelled","setSelection","_undoStepBatch","removeMarker","_abortController","change:range","enqueueChange","set","timeZone","importWord:","value","headers","resolve","fire","file","isEmpty","config","import-word-plugin-conversion-failed","showWarning","parent","Authorization","_prepareForImport","getSelectedBlocks","element","getFirstPosition","deleteContent","isAtEnd","isEnabled","reject","setData","POST","text/html","isBusy","174YALMKk","clipboardInput","_checkEnabled","addMarker","plugins","_importMarker","merge_fields","signal","aborted","schema","32WAcxhy","abort","bind","checkChild","Notification","locale","html","654059YJNPjs","10770wwQQOt","resolvedOptions","_sendImportRequest","refresh","$graveyard","editor","importWord","formatting","1832292pajbqe","markers","stopListening","_handleImportResponse","catch"];return(m=function(){return t})()}function g(){const t=["getToken","https://docx-converter.cke-cs.com/v2/convert/docx-html","cloudServices","715728xkJRTs","config","pluginName","get","init","1582512MByqfk","requires","ImportWordEditing","inline","1917644nubVIC","none","commands","editor","isPremiumPlugin","token","5008362QpGbVn","_token","isOfficialPlugin","4958625atpnEG","CloudServices","tokenUrl","plugins","registerTokenUrl","importWord","9847744ESlEhw","add","5qGARPI","194569EXKXoZ","define"];return(g=function(){return t})()}function I(t,r){const e=g();return(I=function(t,r){return e[t-=283]})(t,r)}const v=I;!function(t){const r=I,e=t();for(;;)try{if(427336===-parseInt(r(285))/1+parseInt(r(290))/2+-parseInt(r(295))/3+parseInt(r(299))/4+parseInt(r(284))/5*(parseInt(r(305))/6)+parseInt(r(308))/7+-parseInt(r(314))/8)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(g);class w extends t.Plugin{static get[v(292)](){return v(297)}static get[v(307)](){return!0}static get[v(303)](){return!0}static get[v(296)](){const t=v;return[r.Notification,u.ClipboardPipeline,t(309)]}constructor(t){const r=v;super(t),this[r(306)]=null}async[v(294)](){const t=v,r=this[t(302)];r[t(291)][t(286)](t(313),{converterUrl:t(288),tokenUrl:(r[t(291)][t(293)](t(289))||{})[t(310)],formatting:{resets:t(300),defaults:t(300),styles:t(298)}}),r[t(301)][t(283)](t(313),new f(r));const{tokenUrl:e}=r[t(291)][t(293)](t(313));if(e){const{tokenUrl:n}=r[t(291)][t(293)](t(289))||{};this[t(306)]=e===n?r[t(311)][t(293)](t(309))[t(304)]:await r[t(311)][t(293)](t(309))[t(312)](e)}}[v(287)](){return this[v(306)]}}var W=b;function b(t,r){var e=x();return(b=function(t,r){return e[t-=444]})(t,r)}function x(){var t=["73652uXhjOb","isOfficialPlugin","749JNMLEJ","9391206KheVWP","2bsnmEN","isPremiumPlugin","8116047mJFmqH","requires","pluginName","176105qwYeBY","1131617nQuIoj","19352quWWhH","ImportWord","126AOLZKU","123310KelDLd","75tvtrwz"];return(x=function(){return t})()}!function(t){for(var r=b,e=t();;)try{if(615760===parseInt(r(455))/1*(-parseInt(r(449))/2)+parseInt(r(444))/3*(parseInt(r(445))/4)+-parseInt(r(454))/5*(parseInt(r(458))/6)+parseInt(r(447))/7*(parseInt(r(456))/8)+parseInt(r(451))/9+parseInt(r(459))/10+parseInt(r(448))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(x);class k extends t.Plugin{static get[W(453)](){return W(457)}static get[W(446)](){return!0}static get[W(450)](){return!0}static get[W(452)](){return[w,c]}}function y(t,r){var e=P();return(y=function(t,r){return e[t-=180]})(t,r)}function P(){var t=["21996qlcckB","302230rHNLtL","371UYBWrt","99VBlrfX","1508132czCbzT","4940824UgRWeK","3198870OtkQPz","858691CcPCoe","4iGqZrs","5191880frxGfF"];return(P=function(){return t})()}!function(t){for(var r=y,e=t();;)try{if(556159===parseInt(r(189))/1+-parseInt(r(186))/2+-parseInt(r(188))/3*(parseInt(r(180))/4)+parseInt(r(181))/5+-parseInt(r(182))/6*(-parseInt(r(184))/7)+parseInt(r(187))/8+-parseInt(r(185))/9*(parseInt(r(183))/10))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(P)})(),(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 _0x28545d,Command as _0x9d16f5}from'@ckeditor/ckeditor5-core/dist/index.js';import{FileDialogButtonView as _0x3f7be1,MenuBarMenuListItemFileDialogButtonView as _0x566e7a,SpinnerView as _0xabc625,Notification as _0x5c54f7}from'@ckeditor/ckeditor5-ui/dist/index.js';import{ClipboardPipeline as _0x507016}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{Range as _0x199efa}from'@ckeditor/ckeditor5-engine/dist/index.js';import{first as _0x50e7f1,uid as _0x5e0f5f,logWarning as _0x28d32e,logError as _0x471298}from'@ckeditor/ckeditor5-utils/dist/index.js';function p(_0x3f062c,_0x2101df){const t=_0x3f062c['t'];switch(_0x2101df){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 _0x2101df;}}class i extends _0x28545d{static get['pluginName'](){return'ImportWordUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x4de8fa=this['editor'];_0x4de8fa['ui']['componentFactory']['add']('importWord',()=>{const _0x316606=this['_createButton'](_0x3f7be1),_0x2af89c=_0x4de8fa['commands']['get']('importWord');return _0x316606['bind']('isOn')['to'](_0x2af89c,'isBusy'),_0x316606['tooltip']=!0x0,_0x316606;}),_0x4de8fa['ui']['componentFactory']['add']('menuBar:importWord',()=>this['_createButton'](_0x566e7a));}['_createButton'](_0x55ba4d){const _0x2ed50e=this['editor'],_0x57cf16=_0x2ed50e['commands']['get']('importWord'),_0x4eda16=new _0x55ba4d(_0x2ed50e['locale']),_0x14f859=new _0xabc625();return _0x4eda16['set']({'acceptedType':'application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.openxmlformats-officedocument.wordprocessingml.template'}),_0x4eda16['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'}),_0x4eda16['bind']('isEnabled')['to'](_0x57cf16),_0x4eda16['bind']('label')['to'](_0x57cf16,'isBusy',_0x259cec=>p(_0x2ed50e['locale'],_0x259cec?'Importing\x20Word\x20document':'Import\x20from\x20Word')),_0x14f859['bind']('isVisible')['to'](_0x57cf16,'isBusy'),_0x4eda16['iconView']['bind']('isVisible')['to'](_0x57cf16,'isBusy',_0x15e775=>!_0x15e775),_0x4eda16['children']['add'](_0x14f859),_0x4eda16['on']('done',(_0x16ca1d,_0x3cee24)=>{_0x2ed50e['execute']('importWord',_0x3cee24[0x0],{}),_0x2ed50e['editing']['view']['focus']();}),_0x4eda16;}}class d extends _0x9d16f5{['_importMarker'];['_undoStepBatch'];['_abortController'];constructor(_0xa750eb){super(_0xa750eb),this['set']('isBusy',!0x1),this['_importMarker']=null,this['_undoStepBatch']=null,this['_abortController']=null,this['on']('dataInsert',(_0x37a49c,_0x3bf13f)=>{const _0x1dee16=new DataTransfer();_0x1dee16['setData']('text/html',_0x3bf13f['html']);const _0x3b9fb7=this['_importMarker']['getRange']();this['editor']['model']['enqueueChange'](this['_undoStepBatch'],_0x130945=>{this['_importMarker']['stopListening'](),_0x130945['setSelection'](_0x3b9fb7),_0xa750eb['editing']['view']['document']['fire']('clipboardInput',{'dataTransfer':_0x1dee16});});},{'priority':'low'});}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x40add4,_0x2e326e={}){if(this['isBusy'])return Promise['resolve']();const _0x3e3cb8=this['editor']['config']['get']('importWord');if(this['editor']['plugins']['has']('MergeFields')){const {prefix:_0x3dc9a4,suffix:_0x211f00}=this['editor']['config']['get']('mergeFields');_0x2e326e['merge_fields']={'prefix':_0x3dc9a4,'suffix':_0x211f00};}const _0x1fc00f={'url':_0x3e3cb8['converterUrl'],'file':_0x40add4,'serviceConfig':{..._0x2e326e,'formatting':_0x3e3cb8['formatting'],'timezone':new Intl['DateTimeFormat']()['resolvedOptions']()['timeZone']}};return this['_prepareForImport'](),this['_sendImportRequest'](_0x1fc00f)['then'](this['_handleImportResponse']['bind'](this))['catch'](this['_handleImportFailure']['bind'](this))['finally'](this['_cleanUpAfterImport']['bind'](this));}['_checkEnabled'](){if(this['isBusy'])return!0x1;const _0x3593d9=this['editor']['model'],_0x5766ae=_0x3593d9['schema'],_0x3d3783=_0x3593d9['document']['selection'],_0x4a68ee=_0x50e7f1(_0x3d3783['getSelectedBlocks']());return!!_0x4a68ee&&_0x5766ae['checkChild'](_0x4a68ee['parent'],'paragraph');}['_prepareForImport'](){const _0x576ca8=this['editor'],_0x4f62ed=_0x576ca8['model'],_0x53b581=_0x4f62ed['document']['selection'];this['_abortController']=new AbortController(),this['_undoStepBatch']=_0x576ca8['model']['createBatch']({'isUndoable':!0x0}),_0x4f62ed['enqueueChange'](this['_undoStepBatch'],_0x411fcd=>{_0x53b581['isCollapsed']||_0x4f62ed['deleteContent'](_0x53b581,{'leaveUnmerged':!0x0});const _0xd58293=_0x53b581['getFirstPosition'](),_0x912cc1=_0x50e7f1(_0x53b581['getSelectedBlocks']());let _0x29b69f;_0x29b69f=_0x912cc1['is']('element','paragraph')&&_0x912cc1['isEmpty']?_0xd58293:_0xd58293['isAtStart']?_0x4f62ed['createPositionBefore'](_0x912cc1):_0xd58293['isAtEnd']?_0x4f62ed['createPositionAfter'](_0x912cc1):_0x411fcd['split'](_0xd58293)['position'],this['_importMarker']=_0x411fcd['addMarker']('importWord:'+_0x5e0f5f(),{'usingOperation':!0x1,'affectsData':!0x1,'range':new _0x199efa(_0x29b69f)}),this['_importMarker']['on']('change:range',()=>{'$graveyard'===this['_importMarker']['getRange']()['root']['rootName']&&this['_abortController']['abort']();});}),this['isBusy']=!0x0,this['refresh']();}['_cleanUpAfterImport'](){const _0xdbc970=this['editor']['model'];_0xdbc970['markers']['has'](this['_importMarker'])&&_0xdbc970['enqueueChange'](this['_undoStepBatch'],_0x443481=>{_0x443481['removeMarker'](this['_importMarker']);}),this['_importMarker']=null,this['_undoStepBatch']=null,this['_abortController']=null,this['isBusy']=!0x1,this['refresh']();}['_sendImportRequest']({url:_0x3374e8,file:_0x39f16f,serviceConfig:_0x569eca}){const _0x1437bc=this['editor']['plugins']['get']('ImportWordEditing')['getToken'](),_0x49174f=new FormData();_0x49174f['set']('config',JSON['stringify'](_0x569eca)),_0x49174f['set']('file',_0x39f16f);const _0x45c503={'method':'POST','headers':{},'body':_0x49174f,'signal':this['_abortController']['signal']};return _0x1437bc&&(_0x45c503['headers']['Authorization']=_0x1437bc['value']),fetch(_0x3374e8,_0x45c503);}['_handleImportResponse'](_0x5d063e){return _0x5d063e['ok']?_0x5d063e['json']()['then'](_0x58e6fe=>{if(!this['editor']['model']['markers']['has'](this['_importMarker']))return;'$graveyard'!==this['_importMarker']['getRange']()['root']['rootName']&&this['fire']('dataInsert',_0x58e6fe);}):Promise['reject']();}['_handleImportFailure'](){if(this['_abortController']['signal']['aborted'])return void _0x28d32e('import-word-plugin-import-cancelled');const _0x250309=this['editor'],_0x1a2cb6=p(_0x250309['locale'],'An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.');_0x250309['plugins']['get']('Notification')['showWarning'](_0x1a2cb6),_0x471298('import-word-plugin-conversion-failed');}}class e extends _0x28545d{['_token'];static get['pluginName'](){return'ImportWordEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x5c54f7,_0x507016,'CloudServices'];}constructor(_0x4d5b31){super(_0x4d5b31),this['_token']=null;}async['init'](){const _0x30caf5=this['editor'];_0x30caf5['config']['define']('importWord',{'converterUrl':'https://docx-converter.cke-cs.com/v2/convert/docx-html','tokenUrl':(_0x30caf5['config']['get']('cloudServices')||{})['tokenUrl'],'formatting':{'resets':'none','defaults':'none','styles':'inline'}}),_0x30caf5['commands']['add']('importWord',new d(_0x30caf5));const {tokenUrl:_0x124bf2}=_0x30caf5['config']['get']('importWord');if(_0x124bf2){const {tokenUrl:_0x5d1ac0}=_0x30caf5['config']['get']('cloudServices')||{};this['_token']=_0x124bf2===_0x5d1ac0?_0x30caf5['plugins']['get']('CloudServices')['token']:await _0x30caf5['plugins']['get']('CloudServices')['registerTokenUrl'](_0x124bf2);}}['getToken'](){return this['_token'];}}class o extends _0x28545d{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':_0x5f44de=>0x1!=_0x5f44de}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x18b294=>{const {af:{dictionary:_0x578738,getPluralForm:_0x2e6822}}={'af':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x762885=>0x1!=_0x762885}};_0x18b294['af']||={'dictionary':{},'getPluralForm':null},_0x18b294['af']['dictionary']=Object['assign'](_0x18b294['af']['dictionary'],_0x578738),_0x18b294['af']['getPluralForm']=_0x2e6822;})(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':_0xaeea64=>0x0==_0xaeea64?0x0:0x1==_0xaeea64?0x1:0x2==_0xaeea64?0x2:_0xaeea64%0x64>=0x3&&_0xaeea64%0x64<=0xa?0x3:_0xaeea64%0x64>=0xb?0x4:0x5}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x57cce4=>{const {ar:{dictionary:_0x59ee31,getPluralForm:_0x514d23}}={'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':_0x1b4d17=>0x0==_0x1b4d17?0x0:0x1==_0x1b4d17?0x1:0x2==_0x1b4d17?0x2:_0x1b4d17%0x64>=0x3&&_0x1b4d17%0x64<=0xa?0x3:_0x1b4d17%0x64>=0xb?0x4:0x5}};_0x57cce4['ar']||={'dictionary':{},'getPluralForm':null},_0x57cce4['ar']['dictionary']=Object['assign'](_0x57cce4['ar']['dictionary'],_0x59ee31),_0x57cce4['ar']['getPluralForm']=_0x514d23;})(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':_0x2f08b2=>0x1!=_0x2f08b2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x3705f8=>{const {ast:{dictionary:_0x129f74,getPluralForm:_0x26b113}}={'ast':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x38e3e4=>0x1!=_0x38e3e4}};_0x3705f8['ast']||={'dictionary':{},'getPluralForm':null},_0x3705f8['ast']['dictionary']=Object['assign'](_0x3705f8['ast']['dictionary'],_0x129f74),_0x3705f8['ast']['getPluralForm']=_0x26b113;})(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':_0x29ba64=>0x1!=_0x29ba64}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x12c5f9=>{const {az:{dictionary:_0x350594,getPluralForm:_0x22fb08}}={'az':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x39ab5d=>0x1!=_0x39ab5d}};_0x12c5f9['az']||={'dictionary':{},'getPluralForm':null},_0x12c5f9['az']['dictionary']=Object['assign'](_0x12c5f9['az']['dictionary'],_0x350594),_0x12c5f9['az']['getPluralForm']=_0x22fb08;})(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':_0x4d0245=>0x1!=_0x4d0245}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x183a23=>{const {bg:{dictionary:_0x4d4b0e,getPluralForm:_0xa6d3cb}}={'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':_0x29b023=>0x1!=_0x29b023}};_0x183a23['bg']||={'dictionary':{},'getPluralForm':null},_0x183a23['bg']['dictionary']=Object['assign'](_0x183a23['bg']['dictionary'],_0x4d4b0e),_0x183a23['bg']['getPluralForm']=_0xa6d3cb;})(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':_0x22cbb3=>0x1!=_0x22cbb3}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x1e81c8=>{const {bn:{dictionary:_0x2d6448,getPluralForm:_0x341575}}={'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':_0x1b0665=>0x1!=_0x1b0665}};_0x1e81c8['bn']||={'dictionary':{},'getPluralForm':null},_0x1e81c8['bn']['dictionary']=Object['assign'](_0x1e81c8['bn']['dictionary'],_0x2d6448),_0x1e81c8['bn']['getPluralForm']=_0x341575;})(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':_0x2d10a2=>_0x2d10a2%0xa==0x1&&_0x2d10a2%0x64!=0xb?0x0:_0x2d10a2%0xa>=0x2&&_0x2d10a2%0xa<=0x4&&(_0x2d10a2%0x64<0xa||_0x2d10a2%0x64>=0x14)?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x518a69=>{const {bs:{dictionary:_0x29b67c,getPluralForm:_0x4c4591}}={'bs':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x39e054=>_0x39e054%0xa==0x1&&_0x39e054%0x64!=0xb?0x0:_0x39e054%0xa>=0x2&&_0x39e054%0xa<=0x4&&(_0x39e054%0x64<0xa||_0x39e054%0x64>=0x14)?0x1:0x2}};_0x518a69['bs']||={'dictionary':{},'getPluralForm':null},_0x518a69['bs']['dictionary']=Object['assign'](_0x518a69['bs']['dictionary'],_0x29b67c),_0x518a69['bs']['getPluralForm']=_0x4c4591;})(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':_0x1b2e66=>0x1!=_0x1b2e66}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x5e0a76=>{const {ca:{dictionary:_0x150f37,getPluralForm:_0x59001a}}={'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':_0x1cdf1b=>0x1!=_0x1cdf1b}};_0x5e0a76['ca']||={'dictionary':{},'getPluralForm':null},_0x5e0a76['ca']['dictionary']=Object['assign'](_0x5e0a76['ca']['dictionary'],_0x150f37),_0x5e0a76['ca']['getPluralForm']=_0x59001a;})(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':_0x125abf=>0x1==_0x125abf?0x0:_0x125abf>=0x2&&_0x125abf<=0x4?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x3fcabe=>{const {cs:{dictionary:_0x5b14b5,getPluralForm:_0xeb19b1}}={'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':_0x351a16=>0x1==_0x351a16?0x0:_0x351a16>=0x2&&_0x351a16<=0x4?0x1:0x2}};_0x3fcabe['cs']||={'dictionary':{},'getPluralForm':null},_0x3fcabe['cs']['dictionary']=Object['assign'](_0x3fcabe['cs']['dictionary'],_0x5b14b5),_0x3fcabe['cs']['getPluralForm']=_0xeb19b1;})(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':_0x347a4c=>0x1!=_0x347a4c}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x3f3d2f=>{const {da:{dictionary:_0x3083a3,getPluralForm:_0x67b9ac}}={'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':_0x12ebc8=>0x1!=_0x12ebc8}};_0x3f3d2f['da']||={'dictionary':{},'getPluralForm':null},_0x3f3d2f['da']['dictionary']=Object['assign'](_0x3f3d2f['da']['dictionary'],_0x3083a3),_0x3f3d2f['da']['getPluralForm']=_0x67b9ac;})(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':_0x1de0c3=>0x1!=_0x1de0c3}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x38c4a9=>{const {'de-ch':{dictionary:_0x2138ef,getPluralForm:_0x30f7b8}}={'de-ch':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x24acf1=>0x1!=_0x24acf1}};_0x38c4a9['de-ch']||={'dictionary':{},'getPluralForm':null},_0x38c4a9['de-ch']['dictionary']=Object['assign'](_0x38c4a9['de-ch']['dictionary'],_0x2138ef),_0x38c4a9['de-ch']['getPluralForm']=_0x30f7b8;})(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':_0x4f8855=>0x1!=_0x4f8855}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x44e8a2=>{const {de:{dictionary:_0x4a7ab,getPluralForm:_0x57fa23}}={'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':_0x5e398a=>0x1!=_0x5e398a}};_0x44e8a2['de']||={'dictionary':{},'getPluralForm':null},_0x44e8a2['de']['dictionary']=Object['assign'](_0x44e8a2['de']['dictionary'],_0x4a7ab),_0x44e8a2['de']['getPluralForm']=_0x57fa23;})(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':_0x89f9b2=>0x1!=_0x89f9b2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x1a7839=>{const {el:{dictionary:_0x23ec0a,getPluralForm:_0x1529ec}}={'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':_0x3ee4c1=>0x1!=_0x3ee4c1}};_0x1a7839['el']||={'dictionary':{},'getPluralForm':null},_0x1a7839['el']['dictionary']=Object['assign'](_0x1a7839['el']['dictionary'],_0x23ec0a),_0x1a7839['el']['getPluralForm']=_0x1529ec;})(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':_0x4574ba=>0x1!=_0x4574ba}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x576227=>{const {'en-au':{dictionary:_0x307e35,getPluralForm:_0x40ebd9}}={'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':_0x356743=>0x1!=_0x356743}};_0x576227['en-au']||={'dictionary':{},'getPluralForm':null},_0x576227['en-au']['dictionary']=Object['assign'](_0x576227['en-au']['dictionary'],_0x307e35),_0x576227['en-au']['getPluralForm']=_0x40ebd9;})(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':_0x5e13fb=>0x1!=_0x5e13fb}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x98425e=>{const {'en-gb':{dictionary:_0xe15c34,getPluralForm:_0x4bba20}}={'en-gb':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x43a7e7=>0x1!=_0x43a7e7}};_0x98425e['en-gb']||={'dictionary':{},'getPluralForm':null},_0x98425e['en-gb']['dictionary']=Object['assign'](_0x98425e['en-gb']['dictionary'],_0xe15c34),_0x98425e['en-gb']['getPluralForm']=_0x4bba20;})(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':_0x1fc560=>0x1!=_0x1fc560}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x304064=>{const {en:{dictionary:_0x375275,getPluralForm:_0x28c357}}={'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':_0x572e20=>0x1!=_0x572e20}};_0x304064['en']||={'dictionary':{},'getPluralForm':null},_0x304064['en']['dictionary']=Object['assign'](_0x304064['en']['dictionary'],_0x375275),_0x304064['en']['getPluralForm']=_0x28c357;})(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':_0xbe207b=>0x1!=_0xbe207b}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0xa135e5=>{const {eo:{dictionary:_0x1faa79,getPluralForm:_0x4d6a53}}={'eo':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x4965cf=>0x1!=_0x4965cf}};_0xa135e5['eo']||={'dictionary':{},'getPluralForm':null},_0xa135e5['eo']['dictionary']=Object['assign'](_0xa135e5['eo']['dictionary'],_0x1faa79),_0xa135e5['eo']['getPluralForm']=_0x4d6a53;})(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':_0xd87ad2=>0x1!=_0xd87ad2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x34c4bc=>{const {'es-co':{dictionary:_0x2ece77,getPluralForm:_0x32fd07}}={'es-co':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x3db251=>0x1!=_0x3db251}};_0x34c4bc['es-co']||={'dictionary':{},'getPluralForm':null},_0x34c4bc['es-co']['dictionary']=Object['assign'](_0x34c4bc['es-co']['dictionary'],_0x2ece77),_0x34c4bc['es-co']['getPluralForm']=_0x32fd07;})(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':_0x2796ed=>0x1!=_0x2796ed}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0xc2d13e=>{const {es:{dictionary:_0x4e4b0f,getPluralForm:_0x34e80b}}={'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':_0x3e7345=>0x1!=_0x3e7345}};_0xc2d13e['es']||={'dictionary':{},'getPluralForm':null},_0xc2d13e['es']['dictionary']=Object['assign'](_0xc2d13e['es']['dictionary'],_0x4e4b0f),_0xc2d13e['es']['getPluralForm']=_0x34e80b;})(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':_0x178ef4=>0x1!=_0x178ef4}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x6e942a=>{const {et:{dictionary:_0x1c2fa1,getPluralForm:_0x156c92}}={'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':_0x21fee4=>0x1!=_0x21fee4}};_0x6e942a['et']||={'dictionary':{},'getPluralForm':null},_0x6e942a['et']['dictionary']=Object['assign'](_0x6e942a['et']['dictionary'],_0x1c2fa1),_0x6e942a['et']['getPluralForm']=_0x156c92;})(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':_0x201e0b=>0x1!=_0x201e0b}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x4c928e=>{const {eu:{dictionary:_0x1a2e4c,getPluralForm:_0x7c45eb}}={'eu':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0xfa8e17=>0x1!=_0xfa8e17}};_0x4c928e['eu']||={'dictionary':{},'getPluralForm':null},_0x4c928e['eu']['dictionary']=Object['assign'](_0x4c928e['eu']['dictionary'],_0x1a2e4c),_0x4c928e['eu']['getPluralForm']=_0x7c45eb;})(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':_0x4f7043=>0x0}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x2051a7=>{const {fa:{dictionary:_0x52b8c0,getPluralForm:_0x223cad}}={'fa':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x41f9bb=>0x0}};_0x2051a7['fa']||={'dictionary':{},'getPluralForm':null},_0x2051a7['fa']['dictionary']=Object['assign'](_0x2051a7['fa']['dictionary'],_0x52b8c0),_0x2051a7['fa']['getPluralForm']=_0x223cad;})(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':_0x527cf7=>0x1!=_0x527cf7}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x48b7e1=>{const {fi:{dictionary:_0x2a8731,getPluralForm:_0xc69647}}={'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':_0x532af8=>0x1!=_0x532af8}};_0x48b7e1['fi']||={'dictionary':{},'getPluralForm':null},_0x48b7e1['fi']['dictionary']=Object['assign'](_0x48b7e1['fi']['dictionary'],_0x2a8731),_0x48b7e1['fi']['getPluralForm']=_0xc69647;})(window['CKEDITOR_TRANSLATIONS']||={});
|