@ckeditor/ckeditor5-import-word 43.3.0-alpha.7 → 43.3.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,e,r)=>{t.exports=r(237)("./src/clipboard.js")},782:(t,e,r)=>{t.exports=r(237)("./src/core.js")},783:(t,e,r)=>{t.exports=r(237)("./src/engine.js")},311:(t,e,r)=>{t.exports=r(237)("./src/ui.js")},584:(t,e,r)=>{t.exports=r(237)("./src/utils.js")},237:t=>{"use strict";t.exports=CKEditor5.dll}},e={};function r(n){var i=e[n];if(void 0!==i)return i.exports;var o=e[n]={exports:{}};return t[n](o,o.exports,r),o.exports}r.d=(t,e)=>{for(var n in e)r.o(e,n)&&!r.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var n={};(()=>{"use strict";r.r(n),r.d(n,{ImportWord:()=>y,ImportWordEditing:()=>w,ImportWordUI:()=>c});var t=r(782),e=r(311);function i(t,e){const r=t.t;switch(e){case"Import from Word":return r("Import from Word");case"An error occurred while importing the Word file.":return r("An error occurred while importing the Word file.");case"Importing Word document":return r("Importing Word document");default:return e}}const o=s;function s(t,e){const r=a();return(s=function(t,e){return r[t-=106]})(t,e)}function a(){const t=["46881onVTOt","pluginName","set","_createButton","application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.openxmlformats-officedocument.wordprocessingml.template","7456QtgpsK","857046ecgZTZ","focus","tooltip","ImportWordUI","isOfficialPlugin","view","isEnabled","isBusy","label","get","children","isOn","isVisible","locale","4165fsFVpZ","execute","commands","632654KMdtti","Importing Word document","componentFactory","add","5914575GduBgE","Import from Word","init","editing","259660ddciLT","isPremiumPlugin","106229hayRdr","menuBar:importWord","20ezsvSN","done","iconView","importWord","bind","editor"];return(a=function(){return t})()}!function(t){const e=s,r=t();for(;;)try{if(298337===-parseInt(e(117))/1+-parseInt(e(107))/2+parseInt(e(125))/3+parseInt(e(115))/4+parseInt(e(119))/5*(-parseInt(e(131))/6)+parseInt(e(145))/7*(parseInt(e(130))/8)+parseInt(e(111))/9)break;r.push(r.shift())}catch(t){r.push(r.shift())}}(a);class c extends t.Plugin{static get[o(126)](){return o(134)}static get[o(135)](){return!0}static get[o(116)](){return!0}[o(113)](){const t=o,r=this[t(124)];r.ui[t(109)][t(110)](t(122),(()=>{const n=t,i=this[n(128)](e.FileDialogButtonView),o=r[n(106)][n(140)](n(122));return i[n(123)](n(142)).to(o,n(138)),i[n(133)]=!0,i})),r.ui[t(109)][t(110)](t(118),(()=>this[t(128)](e.MenuBarMenuListItemFileDialogButtonView)))}[o(128)](t){const r=o,n=this[r(124)],s=n[r(106)][r(140)](r(122)),a=new t(n[r(144)]),c=new e.SpinnerView;return a[r(127)]({acceptedType:r(129)}),a[r(127)]({icon:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="m14 0 5 4.5v8.892l-1.5-1.8V6.5h-5v-5h-8v3H3V0h11Zm0 2v3h3.3L14 2Z"/><path d="M10.74 18a2.76 2.76 0 0 1-.469-.5H3V19h9.25v-.374A2.737 2.737 0 0 1 10.74 18Z"/><path d="M8.5 6a1.5 1.5 0 0 1 1.493 1.356L10 7.5v7a1.5 1.5 0 0 1-1.356 1.493L8.5 16h-7a1.5 1.5 0 0 1-1.493-1.356L0 14.5v-7a1.5 1.5 0 0 1 1.356-1.493L1.5 6h7ZM7.483 8.795l-.042.088-.986 2.534-.947-2.528-.043-.092a.601.601 0 0 0-1.042.008l-.042.093-.883 2.465-.937-2.475-.042-.089a.6.6 0 0 0-1.107.42l.027.093 1.514 4 .044.092a.6.6 0 0 0 1.041-.01l.041-.092.88-2.458.925 2.467.046.096a.602.602 0 0 0 1.032 0l.043-.09 1.554-4 .028-.093a.6.6 0 0 0-1.104-.43v.001ZM11.674 15.407a.75.75 0 1 0 1.152.96L14 14.96V20h1.5v-5.04l1.174 1.408a.75.75 0 1 0 1.152-.96l-2.346-2.816a.95.95 0 0 0-1.46 0l-2.346 2.815Z"/></svg>\n'}),a[r(123)](r(137)).to(s),a[r(123)](r(139)).to(s,r(138),(t=>i(n[r(144)],r(t?108:112)))),c[r(123)](r(143)).to(s,r(138)),a[r(121)][r(123)](r(143)).to(s,r(138),(t=>!t)),a[r(141)][r(110)](c),a.on(r(120),((t,e)=>{const i=r;n[i(146)](i(122),e[0],{}),n[i(114)][i(136)][i(132)]()})),a}}var u=r(331),p=r(783),l=r(584);const d=f;function h(){const t=["paragraph","get","mergeFields","file","set","merge_fields","value","root","resolve","aborted","stringify","selection","addMarker","setData","execute","MergeFields","41145OvhgTx","schema","6293824pVrzop","importWord:","document","getToken","createBatch","model","view","html","stopListening","signal","low","36oZMEVr","change:range","createPositionAfter","import-word-plugin-import-cancelled","finally","isBusy","resolvedOptions","editing","4dXNNeU","bind","plugins","text/html","POST","_cleanUpAfterImport","ImportWordEditing","then","refresh","_handleImportResponse","getFirstPosition","An error occurred while importing the Word file.","dataInsert","2vQmtlb","markers","headers","json","rootName","showWarning","catch","setSelection","element","3011323Hebzlw","isCollapsed","_abortController","reject","10crySfY","removeMarker","importWord","clipboardInput","has","locale","_prepareForImport","formatting","Notification","deleteContent","parent","getRange","createPositionBefore","timeZone","isEnabled","split","editor","checkChild","enqueueChange","$graveyard","abort","Authorization","DateTimeFormat","isAtStart","4939bMnukz","isEmpty","isAtEnd","_checkEnabled","_undoStepBatch","import-word-plugin-conversion-failed","868143NWEzRV","position","_handleImportFailure","getSelectedBlocks","_sendImportRequest","6708ggQHPg","_importMarker","fire","6286509uloenK","config","converterUrl","1076063OJBwSh"];return(h=function(){return t})()}function f(t,e){const r=h();return(f=function(t,e){return r[t-=158]})(t,e)}!function(t){const e=f,r=t();for(;;)try{if(568631===parseInt(e(202))/1*(parseInt(e(253))/2)+parseInt(e(191))/3*(-parseInt(e(240))/4)+parseInt(e(219))/5*(parseInt(e(232))/6)+-parseInt(e(262))/7+-parseInt(e(221))/8+parseInt(e(199))/9*(parseInt(e(161))/10)+-parseInt(e(185))/11*(-parseInt(e(196))/12))break;r.push(r.shift())}catch(t){r.push(r.shift())}}(h);class m extends t.Command{constructor(t){const e=f;super(t),this[e(207)](e(237),!1),this[e(197)]=null,this[e(189)]=null,this[e(159)]=null,this.on(e(252),((r,n)=>{const i=e,o=new DataTransfer;o[i(216)](i(243),n[i(228)]);const s=this[i(197)][i(172)]();this[i(177)][i(226)][i(179)](this[i(189)],(e=>{const r=i;this[r(197)][r(229)](),e[r(260)](s),t[r(239)][r(227)][r(223)][r(198)](r(164),{dataTransfer:o})}))}),{priority:e(231)})}[d(248)](){const t=d;this[t(175)]=this[t(188)]()}[d(217)](t,e={}){const r=d;if(this[r(237)])return Promise[r(211)]();const n=this[r(177)][r(200)][r(204)](r(163));if(this[r(177)][r(242)][r(165)](r(218))){const{prefix:t,suffix:n}=this[r(177)][r(200)][r(204)](r(205));e[r(208)]={prefix:t,suffix:n}}const i={url:n[r(201)],file:t,serviceConfig:{...e,formatting:n[r(168)],timezone:(new(Intl[r(183)]))[r(238)]()[r(174)]}};return this[r(167)](),this[r(195)](i)[r(247)](this[r(249)][r(241)](this))[r(259)](this[r(193)][r(241)](this))[r(236)](this[r(245)][r(241)](this))}[d(188)](){const t=d;if(this[t(237)])return!1;const e=this[t(177)][t(226)],r=e[t(220)],n=e[t(223)][t(214)],i=(0,l.first)(n[t(194)]());return!!i&&r[t(178)](i[t(171)],t(203))}[d(167)](){const t=d,e=this[t(177)],r=e[t(226)],n=r[t(223)][t(214)];this[t(159)]=new AbortController,this[t(189)]=e[t(226)][t(225)]({isUndoable:!0}),r[t(179)](this[t(189)],(e=>{const i=t;n[i(158)]||r[i(170)](n,{leaveUnmerged:!0});const o=n[i(250)](),s=(0,l.first)(n[i(194)]());let a;a=s.is(i(261),i(203))&&s[i(186)]?o:o[i(184)]?r[i(173)](s):o[i(187)]?r[i(234)](s):e[i(176)](o)[i(192)],this[i(197)]=e[i(215)](i(222)+(0,l.uid)(),{usingOperation:!1,affectsData:!1,range:new p.Range(a)}),this[i(197)].on(i(233),(()=>{const t=i;t(180)===this[t(197)][t(172)]()[t(210)][t(257)]&&this[t(159)][t(181)]()}))})),this[t(237)]=!0,this[t(248)]()}[d(245)](){const t=d,e=this[t(177)][t(226)];e[t(254)][t(165)](this[t(197)])&&e[t(179)](this[t(189)],(e=>{const r=t;e[r(162)](this[r(197)])})),this[t(197)]=null,this[t(189)]=null,this[t(159)]=null,this[t(237)]=!1,this[t(248)]()}[d(195)]({url:t,file:e,serviceConfig:r}){const n=d,i=this[n(177)][n(242)][n(204)](n(246))[n(224)](),o=new FormData;o[n(207)](n(200),JSON[n(213)](r)),o[n(207)](n(206),e);const s={method:n(244),headers:{},body:o,signal:this[n(159)][n(230)]};return i&&(s[n(255)][n(182)]=i[n(209)]),fetch(t,s)}[d(249)](t){const e=d;return t.ok?t[e(256)]()[e(247)]((t=>{const r=e;this[r(177)][r(226)][r(254)][r(165)](this[r(197)])&&r(180)!==this[r(197)][r(172)]()[r(210)][r(257)]&&this[r(198)](r(252),t)})):Promise[e(160)]()}[d(193)](){const t=d;if(this[t(159)][t(230)][t(212)])return void(0,l.logWarning)(t(235));const e=this[t(177)],r=i(e[t(166)],t(251));e[t(242)][t(204)](t(169))[t(258)](r),(0,l.logError)(t(190))}}const g=v;function I(){const t=["define","pluginName","2872460JxTqTF","importWord","https://docx-converter.cke-cs.com/v2/convert/docx-html","495756pannYC","isOfficialPlugin","plugins","editor","tokenUrl","CloudServices","init","2hAfEWZ","857707DejMEI","commands","inline","1567902fdWlUx","669681iufuMB","68KqHsSc","get","token","cloudServices","108490dcLPEM","ImportWordEditing","add","27UtYIHt","config","_token","isPremiumPlugin","requires","getToken","6956768Ixtppm","registerTokenUrl","none"];return(I=function(){return t})()}function v(t,e){const r=I();return(v=function(t,e){return r[t-=273]})(t,e)}!function(t){const e=v,r=t();for(;;)try{if(562850===parseInt(e(290))/1*(parseInt(e(289))/2)+parseInt(e(294))/3+-parseInt(e(295))/4*(parseInt(e(299))/5)+parseInt(e(282))/6+-parseInt(e(293))/7+-parseInt(e(274))/8+parseInt(e(302))/9*(parseInt(e(279))/10))break;r.push(r.shift())}catch(t){r.push(r.shift())}}(I);class w extends t.Plugin{static get[g(278)](){return g(300)}static get[g(283)](){return!0}static get[g(305)](){return!0}static get[g(306)](){const t=g;return[e.Notification,u.ClipboardPipeline,t(287)]}constructor(t){const e=g;super(t),this[e(304)]=null}async[g(288)](){const t=g,e=this[t(285)];e[t(303)][t(277)](t(280),{converterUrl:t(281),tokenUrl:(e[t(303)][t(296)](t(298))||{})[t(286)],formatting:{resets:t(276),defaults:t(276),styles:t(292)}}),e[t(291)][t(301)](t(280),new m(e));const{tokenUrl:r}=e[t(303)][t(296)](t(280));if(r){const{tokenUrl:n}=e[t(303)][t(296)](t(298))||{};this[t(304)]=r===n?e[t(284)][t(296)](t(287))[t(297)]:await e[t(284)][t(296)](t(287))[t(275)](r)}}[g(273)](){return this[g(304)]}}var b=x;function W(){var t=["isOfficialPlugin","695250ruAHHV","isPremiumPlugin","4850209aCBlEs","pluginName","2280102jmHCaP","434439XYgevw","ImportWord","requires","16GkDeOu","514114EvXvnO","544532PYlLqm","562550KduaMs","5xhVNKI"];return(W=function(){return t})()}function x(t,e){var r=W();return(x=function(t,e){return r[t-=458]})(t,e)}!function(t){for(var e=x,r=t();;)try{if(393812===parseInt(e(462))/1+-parseInt(e(460))/2+-parseInt(e(469))/3+-parseInt(e(461))/4*(-parseInt(e(463))/5)+parseInt(e(465))/6+parseInt(e(467))/7+parseInt(e(459))/8*(-parseInt(e(470))/9))break;r.push(r.shift())}catch(t){r.push(r.shift())}}(W);class y extends t.Plugin{static get[b(468)](){return b(471)}static get[b(464)](){return!0}static get[b(466)](){return!0}static get[b(458)](){return[w,c]}}function P(t,e){var r=k();return(P=function(t,e){return r[t-=135]})(t,e)}function k(){var t=["320gsEDax","1624713gQrvQP","191688PhIvGf","40aGXFCp","917774XqgDHh","1648422ePfAbf","2802792uuVBRl","669218BnKgQj","2833425yBOGDg","20mTqqVh","2qkbKWK"];return(k=function(){return t})()}!function(t){for(var e=P,r=t();;)try{if(486692===-parseInt(e(145))/1*(parseInt(e(140))/2)+parseInt(e(142))/3+-parseInt(e(136))/4+parseInt(e(139))/5*(parseInt(e(143))/6)+parseInt(e(138))/7+parseInt(e(144))/8*(-parseInt(e(135))/9)+parseInt(e(141))/10*(parseInt(e(137))/11))break;r.push(r.shift())}catch(t){r.push(r.shift())}}(k)})(),(window.CKEditor5=window.CKEditor5||{}).importWord=n})();
|
|
5
|
+
*/(()=>{var t={331:(t,e,r)=>{t.exports=r(237)("./src/clipboard.js")},782:(t,e,r)=>{t.exports=r(237)("./src/core.js")},783:(t,e,r)=>{t.exports=r(237)("./src/engine.js")},311:(t,e,r)=>{t.exports=r(237)("./src/ui.js")},584:(t,e,r)=>{t.exports=r(237)("./src/utils.js")},237:t=>{"use strict";t.exports=CKEditor5.dll}},e={};function r(n){var i=e[n];if(void 0!==i)return i.exports;var o=e[n]={exports:{}};return t[n](o,o.exports,r),o.exports}r.d=(t,e)=>{for(var n in e)r.o(e,n)&&!r.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var n={};(()=>{"use strict";r.r(n),r.d(n,{ImportWord:()=>y,ImportWordEditing:()=>w,ImportWordUI:()=>a});var t=r(782),e=r(311);function i(t,e){const r=t.t;switch(e){case"Import from Word":return r("Import from Word");case"An error occurred while importing the Word file.":return r("An error occurred while importing the Word file.");case"Importing Word document":return r("Importing Word document");default:return e}}const o=s;function s(t,e){const r=c();return(s=function(t,e){return r[t-=323]})(t,e)}!function(t){const e=s,r=t();for(;;)try{if(288531===-parseInt(e(354))/1*(-parseInt(e(334))/2)+-parseInt(e(332))/3*(parseInt(e(324))/4)+-parseInt(e(326))/5+-parseInt(e(347))/6+parseInt(e(358))/7*(-parseInt(e(351))/8)+parseInt(e(365))/9+-parseInt(e(339))/10*(-parseInt(e(328))/11))break;r.push(r.shift())}catch(t){r.push(r.shift())}}(c);class a extends t.Plugin{static get[o(337)](){return o(349)}static get[o(325)](){return!0}static get[o(331)](){return!0}[o(348)](){const t=o,r=this[t(338)];r.ui[t(361)][t(353)](t(345),(()=>{const n=t,i=this[n(329)](e.FileDialogButtonView),o=r[n(344)][n(340)](n(345));return i[n(362)](n(352)).to(o,n(330)),i[n(346)]=!0,i})),r.ui[t(361)][t(353)](t(342),(()=>this[t(329)](e.MenuBarMenuListItemFileDialogButtonView)))}[o(329)](t){const r=o,n=this[r(338)],s=n[r(344)][r(340)](r(345)),a=new t(n[r(360)]),c=new e.SpinnerView;return a[r(364)]({acceptedType:r(355)}),a[r(364)]({icon:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="m14 0 5 4.5v8.892l-1.5-1.8V6.5h-5v-5h-8v3H3V0h11Zm0 2v3h3.3L14 2Z"/><path d="M10.74 18a2.76 2.76 0 0 1-.469-.5H3V19h9.25v-.374A2.737 2.737 0 0 1 10.74 18Z"/><path d="M8.5 6a1.5 1.5 0 0 1 1.493 1.356L10 7.5v7a1.5 1.5 0 0 1-1.356 1.493L8.5 16h-7a1.5 1.5 0 0 1-1.493-1.356L0 14.5v-7a1.5 1.5 0 0 1 1.356-1.493L1.5 6h7ZM7.483 8.795l-.042.088-.986 2.534-.947-2.528-.043-.092a.601.601 0 0 0-1.042.008l-.042.093-.883 2.465-.937-2.475-.042-.089a.6.6 0 0 0-1.107.42l.027.093 1.514 4 .044.092a.6.6 0 0 0 1.041-.01l.041-.092.88-2.458.925 2.467.046.096a.602.602 0 0 0 1.032 0l.043-.09 1.554-4 .028-.093a.6.6 0 0 0-1.104-.43v.001ZM11.674 15.407a.75.75 0 1 0 1.152.96L14 14.96V20h1.5v-5.04l1.174 1.408a.75.75 0 1 0 1.152-.96l-2.346-2.816a.95.95 0 0 0-1.46 0l-2.346 2.815Z"/></svg>\n'}),a[r(362)](r(363)).to(s),a[r(362)](r(341)).to(s,r(330),(t=>i(n[r(360)],r(t?357:350)))),c[r(362)](r(343)).to(s,r(330)),a[r(327)][r(362)](r(343)).to(s,r(330),(t=>!t)),a[r(333)][r(353)](c),a.on(r(323),((t,e)=>{const i=r;n[i(359)](i(345),e[0],{}),n[i(356)][i(335)][i(336)]()})),a}}function c(){const t=["focus","pluginName","editor","27070DOOEGM","get","label","menuBar:importWord","isVisible","commands","importWord","tooltip","2477124fqlghT","init","ImportWordUI","Import from Word","168QwzolO","isOn","add","1vkycIZ","application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.openxmlformats-officedocument.wordprocessingml.template","editing","Importing Word document","179613CBNQgc","execute","locale","componentFactory","bind","isEnabled","set","42939XeNrXU","done","4YdvwVm","isOfficialPlugin","1442280dJIRMe","iconView","6127AOxfUf","_createButton","isBusy","isPremiumPlugin","1651437qiLbNT","children","1133178jsEKjc","view"];return(c=function(){return t})()}var p=r(331),u=r(783),l=r(584);const d=h;function h(t,e){const r=f();return(h=function(t,e){return r[t-=373]})(t,e)}function f(){const t=["document","selection","set","resolve","resolvedOptions","locale","schema","signal","stringify","import-word-plugin-conversion-failed","isEmpty","get","isAtStart","158986zYceEk","stopListening","MergeFields","text/html","27QfirlK","getFirstPosition","split","reject","DateTimeFormat","_handleImportResponse","aborted","334788QbuBXZ","catch","744880qDPgmy","323281EpTcns","enqueueChange","clipboardInput","merge_fields","_sendImportRequest","_abortController","An error occurred while importing the Word file.","isCollapsed","createBatch","16yEiYCL","view","plugins","editing","editor","POST","isEnabled","importWord:","$graveyard","then","parent","105550yHMvYu","change:range","getToken","isAtEnd","84672otRHdU","isBusy","createPositionAfter","1628472VBKBsD","refresh","setSelection","showWarning","dataInsert","file","execute","mergeFields","_undoStepBatch","removeMarker","finally","Authorization","getSelectedBlocks","createPositionBefore","abort","headers","html","low","deleteContent","checkChild","markers","bind","_cleanUpAfterImport","addMarker","position","model","_importMarker","setData","importWord","root","fire","import-word-plugin-import-cancelled","_prepareForImport","json","ImportWordEditing","_handleImportFailure","formatting","value","paragraph","getRange","3pbmcib","has","_checkEnabled","Notification","element","rootName","converterUrl","config","timeZone"];return(f=function(){return t})()}!function(t){const e=h,r=t();for(;;)try{if(416998===-parseInt(e(407))/1*(-parseInt(e(429))/2)+parseInt(e(470))/3+-parseInt(e(440))/4+parseInt(e(463))/5+parseInt(e(467))/6+-parseInt(e(443))/7*(parseInt(e(452))/8)+parseInt(e(433))/9*(-parseInt(e(442))/10))break;r.push(r.shift())}catch(t){r.push(r.shift())}}(f);class m extends t.Command{constructor(t){const e=h;super(t),this[e(418)](e(468),!1),this[e(393)]=null,this[e(375)]=null,this[e(448)]=null,this.on(e(474),((r,n)=>{const i=e,o=new DataTransfer;o[i(394)](i(432),n[i(383)]);const s=this[i(393)][i(406)]();this[i(456)][i(392)][i(444)](this[i(375)],(e=>{const r=i;this[r(393)][r(430)](),e[r(472)](s),t[r(455)][r(453)][r(416)][r(397)](r(445),{dataTransfer:o})}))}),{priority:e(384)})}[d(471)](){const t=d;this[t(458)]=this[t(409)]()}[d(373)](t,e={}){const r=d;if(this[r(468)])return Promise[r(419)]();const n=this[r(456)][r(414)][r(427)](r(395));if(this[r(456)][r(454)][r(408)](r(431))){const{prefix:t,suffix:n}=this[r(456)][r(414)][r(427)](r(374));e[r(446)]={prefix:t,suffix:n}}const i={url:n[r(413)],file:t,serviceConfig:{...e,formatting:n[r(403)],timezone:(new(Intl[r(437)]))[r(420)]()[r(415)]}};return this[r(399)](),this[r(447)](i)[r(461)](this[r(438)][r(388)](this))[r(441)](this[r(402)][r(388)](this))[r(377)](this[r(389)][r(388)](this))}[d(409)](){const t=d;if(this[t(468)])return!1;const e=this[t(456)][t(392)],r=e[t(422)],n=e[t(416)][t(417)],i=(0,l.first)(n[t(379)]());return!!i&&r[t(386)](i[t(462)],t(405))}[d(399)](){const t=d,e=this[t(456)],r=e[t(392)],n=r[t(416)][t(417)];this[t(448)]=new AbortController,this[t(375)]=e[t(392)][t(451)]({isUndoable:!0}),r[t(444)](this[t(375)],(e=>{const i=t;n[i(450)]||r[i(385)](n,{leaveUnmerged:!0});const o=n[i(434)](),s=(0,l.first)(n[i(379)]());let a;a=s.is(i(411),i(405))&&s[i(426)]?o:o[i(428)]?r[i(380)](s):o[i(466)]?r[i(469)](s):e[i(435)](o)[i(391)],this[i(393)]=e[i(390)](i(459)+(0,l.uid)(),{usingOperation:!1,affectsData:!1,range:new u.Range(a)}),this[i(393)].on(i(464),(()=>{const t=i;t(460)===this[t(393)][t(406)]()[t(396)][t(412)]&&this[t(448)][t(381)]()}))})),this[t(468)]=!0,this[t(471)]()}[d(389)](){const t=d,e=this[t(456)][t(392)];e[t(387)][t(408)](this[t(393)])&&e[t(444)](this[t(375)],(e=>{const r=t;e[r(376)](this[r(393)])})),this[t(393)]=null,this[t(375)]=null,this[t(448)]=null,this[t(468)]=!1,this[t(471)]()}[d(447)]({url:t,file:e,serviceConfig:r}){const n=d,i=this[n(456)][n(454)][n(427)](n(401))[n(465)](),o=new FormData;o[n(418)](n(414),JSON[n(424)](r)),o[n(418)](n(475),e);const s={method:n(457),headers:{},body:o,signal:this[n(448)][n(423)]};return i&&(s[n(382)][n(378)]=i[n(404)]),fetch(t,s)}[d(438)](t){const e=d;return t.ok?t[e(400)]()[e(461)]((t=>{const r=e;this[r(456)][r(392)][r(387)][r(408)](this[r(393)])&&r(460)!==this[r(393)][r(406)]()[r(396)][r(412)]&&this[r(397)](r(474),t)})):Promise[e(436)]()}[d(402)](){const t=d;if(this[t(448)][t(423)][t(439)])return void(0,l.logWarning)(t(398));const e=this[t(456)],r=i(e[t(421)],t(449));e[t(454)][t(427)](t(410))[t(473)](r),(0,l.logError)(t(425))}}function g(){const t=["7mQuKIe","816232QcAPYX","requires","_token","token","init","tokenUrl","1506132OziXoQ","217180vTqqht","1562700xiVPai","commands","153hgWOYw","inline","get","editor","none","importWord","getToken","12dFIwGI","isPremiumPlugin","8266792TRHMEq","registerTokenUrl","cloudServices","8082846AvgreU","https://docx-converter.cke-cs.com/v2/convert/docx-html","ImportWordEditing","pluginName","599508zoRAvc","CloudServices","add","isOfficialPlugin","plugins","define","config"];return(g=function(){return t})()}const I=v;function v(t,e){const r=g();return(v=function(t,e){return r[t-=239]})(t,e)}!function(t){const e=v,r=t();for(;;)try{if(793468===-parseInt(e(264))/1+parseInt(e(270))/2+parseInt(e(256))/3*(parseInt(e(247))/4)+parseInt(e(272))/5+parseInt(e(252))/6+-parseInt(e(263))/7*(parseInt(e(249))/8)+-parseInt(e(240))/9*(parseInt(e(271))/10))break;r.push(r.shift())}catch(t){r.push(r.shift())}}(g);class w extends t.Plugin{static get[I(255)](){return I(254)}static get[I(259)](){return!0}static get[I(248)](){return!0}static get[I(265)](){const t=I;return[e.Notification,p.ClipboardPipeline,t(257)]}constructor(t){const e=I;super(t),this[e(266)]=null}async[I(268)](){const t=I,e=this[t(243)];e[t(262)][t(261)](t(245),{converterUrl:t(253),tokenUrl:(e[t(262)][t(242)](t(251))||{})[t(269)],formatting:{resets:t(244),defaults:t(244),styles:t(241)}}),e[t(239)][t(258)](t(245),new m(e));const{tokenUrl:r}=e[t(262)][t(242)](t(245));if(r){const{tokenUrl:n}=e[t(262)][t(242)](t(251))||{};this[t(266)]=r===n?e[t(260)][t(242)](t(257))[t(267)]:await e[t(260)][t(242)](t(257))[t(250)](r)}}[I(246)](){return this[I(266)]}}var b=x;function x(t,e){var r=W();return(x=function(t,e){return r[t-=342]})(t,e)}function W(){var t=["102nwYWNJ","17720120LCiIBm","377560BMZKom","isPremiumPlugin","7001280DjctCr","4675256jipiUm","isOfficialPlugin","391174oUQCMB","587488bMugQA","pluginName","ImportWord","3gDjpCj","45lafhKR","requires","350392gkZxKF"];return(W=function(){return t})()}!function(t){for(var e=x,r=t();;)try{if(845544===parseInt(e(349))/1+parseInt(e(348))/2*(-parseInt(e(352))/3)+parseInt(e(346))/4+-parseInt(e(345))/5+-parseInt(e(356))/6*(parseInt(e(355))/7)+parseInt(e(343))/8*(-parseInt(e(353))/9)+parseInt(e(342))/10)break;r.push(r.shift())}catch(t){r.push(r.shift())}}(W);class y extends t.Plugin{static get[b(350)](){return b(351)}static get[b(347)](){return!0}static get[b(344)](){return!0}static get[b(354)](){return[w,a]}}function P(t,e){var r=k();return(P=function(t,e){return r[t-=375]})(t,e)}function k(){var t=["162596ephjNP","8UWsNlw","9745960QIlOvA","14qjEoBp","10VswfYo","10809192LFGdHj","11tVHKUm","2057772FHaWyY","1814334sNdItN","3085587vIDvcT","116758pFNoOY","10WhFKYK","2067bPlvxx","7vKaxxx"];return(k=function(){return t})()}!function(t){for(var e=P,r=t();;)try{if(793816===parseInt(e(375))/1*(parseInt(e(382))/2)+parseInt(e(387))/3*(-parseInt(e(380))/4)+parseInt(e(383))/5*(-parseInt(e(386))/6)+parseInt(e(378))/7*(-parseInt(e(381))/8)+parseInt(e(388))/9*(parseInt(e(376))/10)+-parseInt(e(385))/11*(-parseInt(e(384))/12)+parseInt(e(377))/13*(parseInt(e(379))/14))break;r.push(r.shift())}catch(t){r.push(r.shift())}}(k)})(),(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 _0x39ba62,Command as _0x53eb99}from'@ckeditor/ckeditor5-core/dist/index.js';import{FileDialogButtonView as _0x40eb82,MenuBarMenuListItemFileDialogButtonView as _0xb95771,SpinnerView as _0x2e96f2,Notification as _0x1a30a4}from'@ckeditor/ckeditor5-ui/dist/index.js';import{ClipboardPipeline as _0x352614}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{Range as _0x59e7f9}from'@ckeditor/ckeditor5-engine/dist/index.js';import{first as _0x5570ff,uid as _0x2ca18a,logWarning as _0x49ae8b,logError as _0x23bea8}from'@ckeditor/ckeditor5-utils/dist/index.js';function p(_0x3f1042,_0x3a7556){const t=_0x3f1042['t'];switch(_0x3a7556){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 _0x3a7556;}}class i extends _0x39ba62{static get['pluginName'](){return'ImportWordUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x4d2b90=this['editor'];_0x4d2b90['ui']['componentFactory']['add']('importWord',()=>{const _0x1d6614=this['_createButton'](_0x40eb82),_0x5344c5=_0x4d2b90['commands']['get']('importWord');return _0x1d6614['bind']('isOn')['to'](_0x5344c5,'isBusy'),_0x1d6614['tooltip']=!0x0,_0x1d6614;}),_0x4d2b90['ui']['componentFactory']['add']('menuBar:importWord',()=>this['_createButton'](_0xb95771));}['_createButton'](_0x2c540e){const _0x5a62eb=this['editor'],_0x59173a=_0x5a62eb['commands']['get']('importWord'),_0x825227=new _0x2c540e(_0x5a62eb['locale']),_0x39e9aa=new _0x2e96f2();return _0x825227['set']({'acceptedType':'application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.openxmlformats-officedocument.wordprocessingml.template'}),_0x825227['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'}),_0x825227['bind']('isEnabled')['to'](_0x59173a),_0x825227['bind']('label')['to'](_0x59173a,'isBusy',_0x2a3063=>p(_0x5a62eb['locale'],_0x2a3063?'Importing\x20Word\x20document':'Import\x20from\x20Word')),_0x39e9aa['bind']('isVisible')['to'](_0x59173a,'isBusy'),_0x825227['iconView']['bind']('isVisible')['to'](_0x59173a,'isBusy',_0x218933=>!_0x218933),_0x825227['children']['add'](_0x39e9aa),_0x825227['on']('done',(_0x5aca14,_0x127b8b)=>{_0x5a62eb['execute']('importWord',_0x127b8b[0x0],{}),_0x5a62eb['editing']['view']['focus']();}),_0x825227;}}class d extends _0x53eb99{['_importMarker'];['_undoStepBatch'];['_abortController'];constructor(_0x299cec){super(_0x299cec),this['set']('isBusy',!0x1),this['_importMarker']=null,this['_undoStepBatch']=null,this['_abortController']=null,this['on']('dataInsert',(_0x331b90,_0x58340b)=>{const _0x1094ee=new DataTransfer();_0x1094ee['setData']('text/html',_0x58340b['html']);const _0x2be3a7=this['_importMarker']['getRange']();this['editor']['model']['enqueueChange'](this['_undoStepBatch'],_0x47bdab=>{this['_importMarker']['stopListening'](),_0x47bdab['setSelection'](_0x2be3a7),_0x299cec['editing']['view']['document']['fire']('clipboardInput',{'dataTransfer':_0x1094ee});});},{'priority':'low'});}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x8794cb,_0xf4fb54={}){if(this['isBusy'])return Promise['resolve']();const _0x550f38=this['editor']['config']['get']('importWord');if(this['editor']['plugins']['has']('MergeFields')){const {prefix:_0x4346d2,suffix:_0x3c6df2}=this['editor']['config']['get']('mergeFields');_0xf4fb54['merge_fields']={'prefix':_0x4346d2,'suffix':_0x3c6df2};}const _0x3ec4cc={'url':_0x550f38['converterUrl'],'file':_0x8794cb,'serviceConfig':{..._0xf4fb54,'formatting':_0x550f38['formatting'],'timezone':new Intl['DateTimeFormat']()['resolvedOptions']()['timeZone']}};return this['_prepareForImport'](),this['_sendImportRequest'](_0x3ec4cc)['then'](this['_handleImportResponse']['bind'](this))['catch'](this['_handleImportFailure']['bind'](this))['finally'](this['_cleanUpAfterImport']['bind'](this));}['_checkEnabled'](){if(this['isBusy'])return!0x1;const _0x4f7f28=this['editor']['model'],_0x8a41ee=_0x4f7f28['schema'],_0x31a0a4=_0x4f7f28['document']['selection'],_0x47ce7c=_0x5570ff(_0x31a0a4['getSelectedBlocks']());return!!_0x47ce7c&&_0x8a41ee['checkChild'](_0x47ce7c['parent'],'paragraph');}['_prepareForImport'](){const _0x545701=this['editor'],_0x5a9a60=_0x545701['model'],_0x5a5b52=_0x5a9a60['document']['selection'];this['_abortController']=new AbortController(),this['_undoStepBatch']=_0x545701['model']['createBatch']({'isUndoable':!0x0}),_0x5a9a60['enqueueChange'](this['_undoStepBatch'],_0x37b002=>{_0x5a5b52['isCollapsed']||_0x5a9a60['deleteContent'](_0x5a5b52,{'leaveUnmerged':!0x0});const _0x45027a=_0x5a5b52['getFirstPosition'](),_0x4783cd=_0x5570ff(_0x5a5b52['getSelectedBlocks']());let _0x393709;_0x393709=_0x4783cd['is']('element','paragraph')&&_0x4783cd['isEmpty']?_0x45027a:_0x45027a['isAtStart']?_0x5a9a60['createPositionBefore'](_0x4783cd):_0x45027a['isAtEnd']?_0x5a9a60['createPositionAfter'](_0x4783cd):_0x37b002['split'](_0x45027a)['position'],this['_importMarker']=_0x37b002['addMarker']('importWord:'+_0x2ca18a(),{'usingOperation':!0x1,'affectsData':!0x1,'range':new _0x59e7f9(_0x393709)}),this['_importMarker']['on']('change:range',()=>{'$graveyard'===this['_importMarker']['getRange']()['root']['rootName']&&this['_abortController']['abort']();});}),this['isBusy']=!0x0,this['refresh']();}['_cleanUpAfterImport'](){const _0x1661ce=this['editor']['model'];_0x1661ce['markers']['has'](this['_importMarker'])&&_0x1661ce['enqueueChange'](this['_undoStepBatch'],_0x2f2d2b=>{_0x2f2d2b['removeMarker'](this['_importMarker']);}),this['_importMarker']=null,this['_undoStepBatch']=null,this['_abortController']=null,this['isBusy']=!0x1,this['refresh']();}['_sendImportRequest']({url:_0x2e24ce,file:_0x194499,serviceConfig:_0xc93bf5}){const _0x4ea64c=this['editor']['plugins']['get']('ImportWordEditing')['getToken'](),_0x41caa8=new FormData();_0x41caa8['set']('config',JSON['stringify'](_0xc93bf5)),_0x41caa8['set']('file',_0x194499);const _0x137bb5={'method':'POST','headers':{},'body':_0x41caa8,'signal':this['_abortController']['signal']};return _0x4ea64c&&(_0x137bb5['headers']['Authorization']=_0x4ea64c['value']),fetch(_0x2e24ce,_0x137bb5);}['_handleImportResponse'](_0x39878e){return _0x39878e['ok']?_0x39878e['json']()['then'](_0x411cfc=>{if(!this['editor']['model']['markers']['has'](this['_importMarker']))return;'$graveyard'!==this['_importMarker']['getRange']()['root']['rootName']&&this['fire']('dataInsert',_0x411cfc);}):Promise['reject']();}['_handleImportFailure'](){if(this['_abortController']['signal']['aborted'])return void _0x49ae8b('import-word-plugin-import-cancelled');const _0x16fcd4=this['editor'],_0x59d8e3=p(_0x16fcd4['locale'],'An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.');_0x16fcd4['plugins']['get']('Notification')['showWarning'](_0x59d8e3),_0x23bea8('import-word-plugin-conversion-failed');}}class e extends _0x39ba62{['_token'];static get['pluginName'](){return'ImportWordEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x1a30a4,_0x352614,'CloudServices'];}constructor(_0x5ee873){super(_0x5ee873),this['_token']=null;}async['init'](){const _0x172c28=this['editor'];_0x172c28['config']['define']('importWord',{'converterUrl':'https://docx-converter.cke-cs.com/v2/convert/docx-html','tokenUrl':(_0x172c28['config']['get']('cloudServices')||{})['tokenUrl'],'formatting':{'resets':'none','defaults':'none','styles':'inline'}}),_0x172c28['commands']['add']('importWord',new d(_0x172c28));const {tokenUrl:_0xb38c98}=_0x172c28['config']['get']('importWord');if(_0xb38c98){const {tokenUrl:_0x4abdad}=_0x172c28['config']['get']('cloudServices')||{};this['_token']=_0xb38c98===_0x4abdad?_0x172c28['plugins']['get']('CloudServices')['token']:await _0x172c28['plugins']['get']('CloudServices')['registerTokenUrl'](_0xb38c98);}}['getToken'](){return this['_token'];}}class o extends _0x39ba62{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':_0x39fee1=>0x1!=_0x39fee1}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x27318f=>{const {af:{dictionary:_0x3211a7,getPluralForm:_0x661e2d}}={'af':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0xdcfce7=>0x1!=_0xdcfce7}};_0x27318f['af']||={'dictionary':{},'getPluralForm':null},_0x27318f['af']['dictionary']=Object['assign'](_0x27318f['af']['dictionary'],_0x3211a7),_0x27318f['af']['getPluralForm']=_0x661e2d;})(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':_0x13ff66=>0x0==_0x13ff66?0x0:0x1==_0x13ff66?0x1:0x2==_0x13ff66?0x2:_0x13ff66%0x64>=0x3&&_0x13ff66%0x64<=0xa?0x3:_0x13ff66%0x64>=0xb?0x4:0x5}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x1bb4c9=>{const {ar:{dictionary:_0x3a1c45,getPluralForm:_0xdcfa5e}}={'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':_0x3e95db=>0x0==_0x3e95db?0x0:0x1==_0x3e95db?0x1:0x2==_0x3e95db?0x2:_0x3e95db%0x64>=0x3&&_0x3e95db%0x64<=0xa?0x3:_0x3e95db%0x64>=0xb?0x4:0x5}};_0x1bb4c9['ar']||={'dictionary':{},'getPluralForm':null},_0x1bb4c9['ar']['dictionary']=Object['assign'](_0x1bb4c9['ar']['dictionary'],_0x3a1c45),_0x1bb4c9['ar']['getPluralForm']=_0xdcfa5e;})(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':_0x57bb55=>0x1!=_0x57bb55}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x1b3ff8=>{const {ast:{dictionary:_0x3022d3,getPluralForm:_0x1cba43}}={'ast':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x5e8920=>0x1!=_0x5e8920}};_0x1b3ff8['ast']||={'dictionary':{},'getPluralForm':null},_0x1b3ff8['ast']['dictionary']=Object['assign'](_0x1b3ff8['ast']['dictionary'],_0x3022d3),_0x1b3ff8['ast']['getPluralForm']=_0x1cba43;})(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':_0x2dccee=>0x1!=_0x2dccee}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0xc262f4=>{const {az:{dictionary:_0x5c61b0,getPluralForm:_0xc73078}}={'az':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x48ea83=>0x1!=_0x48ea83}};_0xc262f4['az']||={'dictionary':{},'getPluralForm':null},_0xc262f4['az']['dictionary']=Object['assign'](_0xc262f4['az']['dictionary'],_0x5c61b0),_0xc262f4['az']['getPluralForm']=_0xc73078;})(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':_0x40073e=>0x1!=_0x40073e}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x37a39d=>{const {bg:{dictionary:_0x597fc6,getPluralForm:_0x4b8145}}={'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':_0x3afc82=>0x1!=_0x3afc82}};_0x37a39d['bg']||={'dictionary':{},'getPluralForm':null},_0x37a39d['bg']['dictionary']=Object['assign'](_0x37a39d['bg']['dictionary'],_0x597fc6),_0x37a39d['bg']['getPluralForm']=_0x4b8145;})(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':_0x154f59=>0x1!=_0x154f59}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x2f89cb=>{const {bn:{dictionary:_0x3dcd9d,getPluralForm:_0x4c770b}}={'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':_0x4d1a01=>0x1!=_0x4d1a01}};_0x2f89cb['bn']||={'dictionary':{},'getPluralForm':null},_0x2f89cb['bn']['dictionary']=Object['assign'](_0x2f89cb['bn']['dictionary'],_0x3dcd9d),_0x2f89cb['bn']['getPluralForm']=_0x4c770b;})(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':_0x322a47=>_0x322a47%0xa==0x1&&_0x322a47%0x64!=0xb?0x0:_0x322a47%0xa>=0x2&&_0x322a47%0xa<=0x4&&(_0x322a47%0x64<0xa||_0x322a47%0x64>=0x14)?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x2cccb5=>{const {bs:{dictionary:_0x3d9c2a,getPluralForm:_0x4a53f6}}={'bs':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x1a00d1=>_0x1a00d1%0xa==0x1&&_0x1a00d1%0x64!=0xb?0x0:_0x1a00d1%0xa>=0x2&&_0x1a00d1%0xa<=0x4&&(_0x1a00d1%0x64<0xa||_0x1a00d1%0x64>=0x14)?0x1:0x2}};_0x2cccb5['bs']||={'dictionary':{},'getPluralForm':null},_0x2cccb5['bs']['dictionary']=Object['assign'](_0x2cccb5['bs']['dictionary'],_0x3d9c2a),_0x2cccb5['bs']['getPluralForm']=_0x4a53f6;})(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':_0x55db40=>0x1!=_0x55db40}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x2bf4e0=>{const {ca:{dictionary:_0xc7a749,getPluralForm:_0x567cf8}}={'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':_0x546798=>0x1!=_0x546798}};_0x2bf4e0['ca']||={'dictionary':{},'getPluralForm':null},_0x2bf4e0['ca']['dictionary']=Object['assign'](_0x2bf4e0['ca']['dictionary'],_0xc7a749),_0x2bf4e0['ca']['getPluralForm']=_0x567cf8;})(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':_0x302707=>0x1==_0x302707?0x0:_0x302707>=0x2&&_0x302707<=0x4?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x51de2f=>{const {cs:{dictionary:_0x3af596,getPluralForm:_0x1b9409}}={'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':_0x19de86=>0x1==_0x19de86?0x0:_0x19de86>=0x2&&_0x19de86<=0x4?0x1:0x2}};_0x51de2f['cs']||={'dictionary':{},'getPluralForm':null},_0x51de2f['cs']['dictionary']=Object['assign'](_0x51de2f['cs']['dictionary'],_0x3af596),_0x51de2f['cs']['getPluralForm']=_0x1b9409;})(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':_0x3dd1e5=>0x1!=_0x3dd1e5}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x277448=>{const {da:{dictionary:_0x4f9251,getPluralForm:_0x230033}}={'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':_0x14fa23=>0x1!=_0x14fa23}};_0x277448['da']||={'dictionary':{},'getPluralForm':null},_0x277448['da']['dictionary']=Object['assign'](_0x277448['da']['dictionary'],_0x4f9251),_0x277448['da']['getPluralForm']=_0x230033;})(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':_0x4e4848=>0x1!=_0x4e4848}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0xb8f1ea=>{const {'de-ch':{dictionary:_0x1a694d,getPluralForm:_0x17b6e1}}={'de-ch':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x31e312=>0x1!=_0x31e312}};_0xb8f1ea['de-ch']||={'dictionary':{},'getPluralForm':null},_0xb8f1ea['de-ch']['dictionary']=Object['assign'](_0xb8f1ea['de-ch']['dictionary'],_0x1a694d),_0xb8f1ea['de-ch']['getPluralForm']=_0x17b6e1;})(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':_0x246dbc=>0x1!=_0x246dbc}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x574187=>{const {de:{dictionary:_0x5ab62f,getPluralForm:_0x206ebc}}={'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':_0x456c4b=>0x1!=_0x456c4b}};_0x574187['de']||={'dictionary':{},'getPluralForm':null},_0x574187['de']['dictionary']=Object['assign'](_0x574187['de']['dictionary'],_0x5ab62f),_0x574187['de']['getPluralForm']=_0x206ebc;})(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':_0x48b2ab=>0x1!=_0x48b2ab}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x47c207=>{const {el:{dictionary:_0xcc40ec,getPluralForm:_0x2c200d}}={'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':_0x2b9c54=>0x1!=_0x2b9c54}};_0x47c207['el']||={'dictionary':{},'getPluralForm':null},_0x47c207['el']['dictionary']=Object['assign'](_0x47c207['el']['dictionary'],_0xcc40ec),_0x47c207['el']['getPluralForm']=_0x2c200d;})(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':_0x3801aa=>0x1!=_0x3801aa}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x586360=>{const {'en-au':{dictionary:_0x1fe4ce,getPluralForm:_0x2722d1}}={'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':_0x3681fc=>0x1!=_0x3681fc}};_0x586360['en-au']||={'dictionary':{},'getPluralForm':null},_0x586360['en-au']['dictionary']=Object['assign'](_0x586360['en-au']['dictionary'],_0x1fe4ce),_0x586360['en-au']['getPluralForm']=_0x2722d1;})(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':_0x104ed7=>0x1!=_0x104ed7}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x5063f5=>{const {'en-gb':{dictionary:_0x1e3338,getPluralForm:_0x24cc13}}={'en-gb':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x452e84=>0x1!=_0x452e84}};_0x5063f5['en-gb']||={'dictionary':{},'getPluralForm':null},_0x5063f5['en-gb']['dictionary']=Object['assign'](_0x5063f5['en-gb']['dictionary'],_0x1e3338),_0x5063f5['en-gb']['getPluralForm']=_0x24cc13;})(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':_0x330805=>0x1!=_0x330805}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x2e9443=>{const {en:{dictionary:_0x5972f0,getPluralForm:_0xafa65b}}={'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':_0x3833d6=>0x1!=_0x3833d6}};_0x2e9443['en']||={'dictionary':{},'getPluralForm':null},_0x2e9443['en']['dictionary']=Object['assign'](_0x2e9443['en']['dictionary'],_0x5972f0),_0x2e9443['en']['getPluralForm']=_0xafa65b;})(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':_0x1318e0=>0x1!=_0x1318e0}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x4fe3fd=>{const {eo:{dictionary:_0x381280,getPluralForm:_0x194352}}={'eo':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x1c48e9=>0x1!=_0x1c48e9}};_0x4fe3fd['eo']||={'dictionary':{},'getPluralForm':null},_0x4fe3fd['eo']['dictionary']=Object['assign'](_0x4fe3fd['eo']['dictionary'],_0x381280),_0x4fe3fd['eo']['getPluralForm']=_0x194352;})(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':_0x44ff92=>0x1!=_0x44ff92}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x583651=>{const {'es-co':{dictionary:_0x6a6af,getPluralForm:_0x6de83b}}={'es-co':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x3b8c02=>0x1!=_0x3b8c02}};_0x583651['es-co']||={'dictionary':{},'getPluralForm':null},_0x583651['es-co']['dictionary']=Object['assign'](_0x583651['es-co']['dictionary'],_0x6a6af),_0x583651['es-co']['getPluralForm']=_0x6de83b;})(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':_0x247a54=>0x1!=_0x247a54}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x1f6a04=>{const {es:{dictionary:_0x5a6b42,getPluralForm:_0x22e0a7}}={'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':_0xf69907=>0x1!=_0xf69907}};_0x1f6a04['es']||={'dictionary':{},'getPluralForm':null},_0x1f6a04['es']['dictionary']=Object['assign'](_0x1f6a04['es']['dictionary'],_0x5a6b42),_0x1f6a04['es']['getPluralForm']=_0x22e0a7;})(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':_0x4f6633=>0x1!=_0x4f6633}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x483335=>{const {et:{dictionary:_0x217f2b,getPluralForm:_0x25d8b6}}={'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':_0x235732=>0x1!=_0x235732}};_0x483335['et']||={'dictionary':{},'getPluralForm':null},_0x483335['et']['dictionary']=Object['assign'](_0x483335['et']['dictionary'],_0x217f2b),_0x483335['et']['getPluralForm']=_0x25d8b6;})(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':_0x50a551=>0x1!=_0x50a551}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x3a95ab=>{const {eu:{dictionary:_0x1225a6,getPluralForm:_0x3fbdab}}={'eu':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x1c433c=>0x1!=_0x1c433c}};_0x3a95ab['eu']||={'dictionary':{},'getPluralForm':null},_0x3a95ab['eu']['dictionary']=Object['assign'](_0x3a95ab['eu']['dictionary'],_0x1225a6),_0x3a95ab['eu']['getPluralForm']=_0x3fbdab;})(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':_0x3fbc0f=>0x0}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x11dbb6=>{const {fa:{dictionary:_0x536e74,getPluralForm:_0x3b938f}}={'fa':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x3f76d9=>0x0}};_0x11dbb6['fa']||={'dictionary':{},'getPluralForm':null},_0x11dbb6['fa']['dictionary']=Object['assign'](_0x11dbb6['fa']['dictionary'],_0x536e74),_0x11dbb6['fa']['getPluralForm']=_0x3b938f;})(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':_0x34785d=>0x1!=_0x34785d}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x2d4280=>{const {fi:{dictionary:_0x5203e6,getPluralForm:_0xf868b0}}={'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':_0x3d4a73=>0x1!=_0x3d4a73}};_0x2d4280['fi']||={'dictionary':{},'getPluralForm':null},_0x2d4280['fi']['dictionary']=Object['assign'](_0x2d4280['fi']['dictionary'],_0x5203e6),_0x2d4280['fi']['getPluralForm']=_0xf868b0;})(window['CKEDITOR_TRANSLATIONS']||={});
|