@ckeditor/ckeditor5-import-word 0.0.0-nightly-20250113.0 → 0.0.0-nightly-20250115.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 +2 -2
- 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
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
!function(t){const
|
|
1
|
+
!function(t){const r=t.en=t.en||{};r.dictionary=Object.assign(r.dictionary||{},{"An error occurred while importing the Word file.":"An error occurred while importing the Word file.","Import from Word":"Import from Word","Importing Word document":"Importing Word document"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})),
|
|
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={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:()=>k,ImportWordEditing:()=>v,ImportWordUI:()=>c});var t=r(782),e=r(311);function i(t,e){const r=t.t;switch(e){case"Import from Word":return r("Import from Word");case"An error occurred while importing the Word file.":return r("An error occurred while importing the Word file.");case"Importing Word document":return r("Importing Word document");default:return e}}const o=a;function s(){const t=["label","isOn","add","226410ETLSqj","importWord","283230FXMgiQ","54885YYfhHD","pluginName","set","focus","bind","get","isOfficialPlugin","iconView","view","334299XACosx","init","33kGhWmO","2929065hYZRYx","6AGLFnE","editor","done","application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.openxmlformats-officedocument.wordprocessingml.template","4148949kdUpHh","componentFactory","tooltip","577305kUuzuu","16FQQopE","commands","isPremiumPlugin","isEnabled","ImportWordUI","execute","isBusy","children","locale","Import from Word","editing","isVisible","_createButton","20WWMkoW","menuBar:importWord","Importing Word document"];return(s=function(){return t})()}function a(t,e){const r=s();return(a=function(t,e){return r[t-=401]})(t,e)}!function(t){const e=a,r=t();for(;;)try{if(406244===parseInt(e(418))/1+parseInt(e(406))/2+parseInt(e(409))/3*(-parseInt(e(443))/4)+parseInt(e(421))/5*(-parseInt(e(422))/6)+parseInt(e(426))/7+parseInt(e(430))/8*(parseInt(e(429))/9)+parseInt(e(408))/10*(-parseInt(e(420))/11))break;r.push(r.shift())}catch(t){r.push(r.shift())}}(s);class c extends t.Plugin{static get[o(410)](){return o(434)}static get[o(415)](){return!0}static get[o(432)](){return!0}[o(419)](){const t=o,r=this[t(423)];r.ui[t(427)][t(405)](t(407),(()=>{const n=t,i=this[n(442)](e.FileDialogButtonView),o=r[n(431)][n(414)](n(407));return i[n(413)](n(404)).to(o,n(436)),i[n(428)]=!0,i})),r.ui[t(427)][t(405)](t(401),(()=>this[t(442)](e.MenuBarMenuListItemFileDialogButtonView)))}[o(442)](t){const r=o,n=this[r(423)],s=n[r(431)][r(414)](r(407)),a=new t(n[r(438)]),c=new e.SpinnerView;return a[r(411)]({acceptedType:r(425)}),a[r(411)]({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(413)](r(433)).to(s),a[r(413)](r(403)).to(s,r(436),(t=>i(n[r(438)],r(t?402:439)))),c[r(413)](r(441)).to(s,r(436)),a[r(416)][r(413)](r(441)).to(s,r(436),(t=>!t)),a[r(437)][r(405)](c),a.on(r(424),((t,e)=>{const i=r;n[i(435)](i(407),e[0],{}),n[i(440)][i(417)][i(412)]()})),a}}var u=r(331),p=r(783),l=r(584);const h=f;function d(){const t=["5339652wBqAbr","addMarker","createPositionBefore","value","_cleanUpAfterImport","converterUrl","POST","get","html","parent","dataInsert","stopListening","ImportWordEditing","import-word-plugin-import-cancelled","change:range","137790SfuwlT","stringify","then","Notification","getToken","24psNLvQ","_prepareForImport","removeMarker","markers","paragraph","signal","isAtEnd","10bEIKlt","MergeFields","root","bind","mergeFields","138313DOPHkY","schema","_sendImportRequest","_undoStepBatch","_importMarker","merge_fields","selection","resolvedOptions","execute","clipboardInput","json","isEnabled","importWord","file","position","importWord:","aborted","enqueueChange","820pAgqCX","locale","getSelectedBlocks","isEmpty","getRange","_handleImportResponse","catch","4621240ioJnge","_abortController","296dBGtFE","element","61739Jngpva","view","timeZone","$graveyard","low","config","_handleImportFailure","isBusy","plugins","finally","reject","isCollapsed","fire","61316695ZpUSbU","editing","model","createPositionAfter","An error occurred while importing the Word file.","Authorization","deleteContent","split","import-word-plugin-conversion-failed","showWarning","has","checkChild","resolve","createBatch","setSelection","refresh","_checkEnabled","editor","headers","document","set","text/html","abort","rootName","getFirstPosition","DateTimeFormat","1255242SZhrdX","formatting","isAtStart","setData"];return(d=function(){return t})()}function f(t,e){const r=d();return(f=function(t,e){return r[t-=184]})(t,e)}!function(t){const e=f,r=t();for(;;)try{if(955432===-parseInt(e(207))/1*(parseInt(e(270))/2)+-parseInt(e(246))/3+-parseInt(e(203))/4+parseInt(e(277))/5*(-parseInt(e(250))/6)+-parseInt(e(282))/7*(-parseInt(e(205))/8)+parseInt(e(265))/9*(-parseInt(e(196))/10)+parseInt(e(220))/11)break;r.push(r.shift())}catch(t){r.push(r.shift())}}(d);class m extends t.Command{constructor(t){const e=f;super(t),this[e(240)](e(214),!1),this[e(286)]=null,this[e(285)]=null,this[e(204)]=null,this.on(e(260),((r,n)=>{const i=e,o=new DataTransfer;o[i(249)](i(241),n[i(258)]);const s=this[i(286)][i(200)]();this[i(237)][i(222)][i(195)](this[i(285)],(e=>{const r=i;this[r(286)][r(261)](),e[r(234)](s),t[r(221)][r(208)][r(239)][r(219)](r(187),{dataTransfer:o})}))}),{priority:e(211)})}[h(235)](){const t=h;this[t(189)]=this[t(236)]()}[h(186)](t,e={}){const r=h;if(this[r(214)])return Promise[r(232)]();const n=this[r(237)][r(212)][r(257)](r(190));if(this[r(237)][r(215)][r(230)](r(278))){const{prefix:t,suffix:n}=this[r(237)][r(212)][r(257)](r(281));e[r(287)]={prefix:t,suffix:n}}const i={url:n[r(255)],file:t,serviceConfig:{...e,formatting:n[r(247)],timezone:(new(Intl[r(245)]))[r(185)]()[r(209)]}};return this[r(271)](),this[r(284)](i)[r(267)](this[r(201)][r(280)](this))[r(202)](this[r(213)][r(280)](this))[r(216)](this[r(254)][r(280)](this))}[h(236)](){const t=h;if(this[t(214)])return!1;const e=this[t(237)][t(222)],r=e[t(283)],n=e[t(239)][t(184)],i=(0,l.first)(n[t(198)]());return!!i&&r[t(231)](i[t(259)],t(274))}[h(271)](){const t=h,e=this[t(237)],r=e[t(222)],n=r[t(239)][t(184)];this[t(204)]=new AbortController,this[t(285)]=e[t(222)][t(233)]({isUndoable:!0}),r[t(195)](this[t(285)],(e=>{const i=t;n[i(218)]||r[i(226)](n,{leaveUnmerged:!0});const o=n[i(244)](),s=(0,l.first)(n[i(198)]());let a;a=s.is(i(206),i(274))&&s[i(199)]?o:o[i(248)]?r[i(252)](s):o[i(276)]?r[i(223)](s):e[i(227)](o)[i(192)],this[i(286)]=e[i(251)](i(193)+(0,l.uid)(),{usingOperation:!1,affectsData:!1,range:new p.Range(a)}),this[i(286)].on(i(264),(()=>{const t=i;t(210)===this[t(286)][t(200)]()[t(279)][t(243)]&&this[t(204)][t(242)]()}))})),this[t(214)]=!0,this[t(235)]()}[h(254)](){const t=h,e=this[t(237)][t(222)];e[t(273)][t(230)](this[t(286)])&&e[t(195)](this[t(285)],(e=>{const r=t;e[r(272)](this[r(286)])})),this[t(286)]=null,this[t(285)]=null,this[t(204)]=null,this[t(214)]=!1,this[t(235)]()}[h(284)]({url:t,file:e,serviceConfig:r}){const n=h,i=this[n(237)][n(215)][n(257)](n(262))[n(269)](),o=new FormData;o[n(240)](n(212),JSON[n(266)](r)),o[n(240)](n(191),e);const s={method:n(256),headers:{},body:o,signal:this[n(204)][n(275)]};return i&&(s[n(238)][n(225)]=i[n(253)]),fetch(t,s)}[h(201)](t){const e=h;return t.ok?t[e(188)]()[e(267)]((t=>{const r=e;this[r(237)][r(222)][r(273)][r(230)](this[r(286)])&&r(210)!==this[r(286)][r(200)]()[r(279)][r(243)]&&this[r(219)](r(260),t)})):Promise[e(217)]()}[h(213)](){const t=h;if(this[t(204)][t(275)][t(194)])return void(0,l.logWarning)(t(263));const e=this[t(237)],r=i(e[t(197)],t(224));e[t(215)][t(257)](t(268))[t(229)](r),(0,l.logError)(t(228))}}const g=I;function I(t,e){const r=w();return(I=function(t,e){return r[t-=166]})(t,e)}!function(t){const e=I,r=t();for(;;)try{if(593225===parseInt(e(184))/1*(-parseInt(e(180))/2)+parseInt(e(174))/3+parseInt(e(188))/4+-parseInt(e(173))/5+parseInt(e(178))/6+parseInt(e(171))/7*(-parseInt(e(198))/8)+parseInt(e(168))/9)break;r.push(r.shift())}catch(t){r.push(r.shift())}}(w);class v extends t.Plugin{static get[g(186)](){return g(167)}static get[g(176)](){return!0}static get[g(185)](){return!0}static get[g(183)](){const t=g;return[e.Notification,u.ClipboardPipeline,t(197)]}constructor(t){const e=g;super(t),this[e(189)]=null}async[g(190)](){const t=g,e=this[t(196)];e[t(193)][t(177)](t(181),{converterUrl:t(182),tokenUrl:(e[t(193)][t(179)](t(172))||{})[t(169)],formatting:{resets:t(166),defaults:t(166),styles:t(195)}}),e[t(175)][t(187)](t(181),new m(e));const{tokenUrl:r}=e[t(193)][t(179)](t(181));if(r){const{tokenUrl:n}=e[t(193)][t(179)](t(172))||{};this[t(189)]=r===n?e[t(194)][t(179)](t(197))[t(192)]:await e[t(194)][t(179)](t(197))[t(170)](r)}}[g(191)](){return this[g(189)]}}function w(){const t=["2698945EEoIlY","256983RKeiVG","commands","isOfficialPlugin","define","3290010IStEgw","get","1548waaonu","importWord","https://docx-converter.cke-cs.com/v2/convert/docx-html","requires","1244wStNTU","isPremiumPlugin","pluginName","add","409464RtaEhr","_token","init","getToken","token","config","plugins","inline","editor","CloudServices","1576VkHhAV","none","ImportWordEditing","22770738wjjeFU","tokenUrl","registerTokenUrl","41594HMeBRn","cloudServices"];return(w=function(){return t})()}function W(){var t=["ImportWord","isPremiumPlugin","2677782ZydGjd","99YRAuuR","1469017jWFPpc","304AYPBEj","9Yihgwv","requires","isOfficialPlugin","553510sPOtLi","268050YUHLik","5QtqlWn","38297vidhlp","pluginName","119692CWlzcm","607891ZFxraz"];return(W=function(){return t})()}var b=x;function x(t,e){var r=W();return(x=function(t,e){return r[t-=350]})(t,e)}!function(t){for(var e=x,r=t();;)try{if(328116===-parseInt(e(351))/1+parseInt(e(362))/2*(parseInt(e(358))/3)+-parseInt(e(350))/4*(-parseInt(e(363))/5)+-parseInt(e(354))/6+parseInt(e(364))/7*(parseInt(e(357))/8)+-parseInt(e(355))/9*(-parseInt(e(361))/10)+parseInt(e(356))/11)break;r.push(r.shift())}catch(t){r.push(r.shift())}}(W);class k extends t.Plugin{static get[b(365)](){return b(352)}static get[b(360)](){return!0}static get[b(353)](){return!0}static get[b(359)](){return[v,c]}}function y(){var t=["34hwcQdR","6bBMVqR","27128NxMFZJ","494643IgOEPe","459148TwlwoT","37460HMTIfD","1017PVZxmD","1667455bOLWtt","13007hSewLz","22aXFRWp","3814594xjzrmv"];return(y=function(){return t})()}function P(t,e){var r=y();return(P=function(t,e){return r[t-=316]})(t,e)}!function(t){for(var e=P,r=t();;)try{if(315929===parseInt(e(319))/1*(-parseInt(e(322))/2)+-parseInt(e(325))/3+parseInt(e(326))/4+parseInt(e(318))/5*(-parseInt(e(323))/6)+parseInt(e(321))/7+parseInt(e(324))/8*(parseInt(e(317))/9)+parseInt(e(316))/10*(-parseInt(e(320))/11))break;r.push(r.shift())}catch(t){r.push(r.shift())}}(y)})(),(window.CKEditor5=window.CKEditor5||{}).importWord=n})();
|
|
5
|
+
*/(()=>{var t={331:(t,r,e)=>{t.exports=e(237)("./src/clipboard.js")},782:(t,r,e)=>{t.exports=e(237)("./src/core.js")},783:(t,r,e)=>{t.exports=e(237)("./src/engine.js")},311:(t,r,e)=>{t.exports=e(237)("./src/ui.js")},584:(t,r,e)=>{t.exports=e(237)("./src/utils.js")},237:t=>{"use strict";t.exports=CKEditor5.dll}},r={};function e(n){var i=r[n];if(void 0!==i)return i.exports;var o=r[n]={exports:{}};return t[n](o,o.exports,e),o.exports}e.d=(t,r)=>{for(var n in r)e.o(r,n)&&!e.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:r[n]})},e.o=(t,r)=>Object.prototype.hasOwnProperty.call(t,r),e.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var n={};(()=>{"use strict";e.r(n),e.d(n,{ImportWord:()=>y,ImportWordEditing:()=>w,ImportWordUI:()=>c});var t=e(782),r=e(311);function i(t,r){const e=t.t;switch(r){case"Import from Word":return e("Import from Word");case"An error occurred while importing the Word file.":return e("An error occurred while importing the Word file.");case"Importing Word document":return e("Importing Word document");default:return r}}const o=s;function s(t,r){const e=a();return(s=function(t,r){return e[t-=481]})(t,r)}function a(){const t=["1482335aWzzbg","isEnabled","isVisible","isOfficialPlugin","1869844AZdDab","commands","3hHAqLn","editing","ImportWordUI","1730414qkmmsa","isPremiumPlugin","6004670TGLcBs","execute","30jhBpad","Import from Word","isOn","get","menuBar:importWord","2722312WdolSn","add","1476888xUrfBa","set","bind","tooltip","27wdazPr","done","iconView","_createButton","application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.openxmlformats-officedocument.wordprocessingml.template","Importing Word document","init","children","view","importWord","locale","componentFactory","label","25394680WwWQfy","isBusy","pluginName","focus","editor"];return(a=function(){return t})()}!function(t){const r=s,e=t();for(;;)try{if(891432===parseInt(r(499))/1+-parseInt(r(494))/2*(-parseInt(r(496))/3)+parseInt(r(510))/4+parseInt(r(490))/5*(-parseInt(r(503))/6)+parseInt(r(501))/7+-parseInt(r(508))/8*(-parseInt(r(514))/9)+-parseInt(r(485))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(a);class c extends t.Plugin{static get[o(487)](){return o(498)}static get[o(493)](){return!0}static get[o(500)](){return!0}[o(520)](){const t=o,e=this[t(489)];e.ui[t(483)][t(509)](t(481),(()=>{const n=t,i=this[n(517)](r.FileDialogButtonView),o=e[n(495)][n(506)](n(481));return i[n(512)](n(505)).to(o,n(486)),i[n(513)]=!0,i})),e.ui[t(483)][t(509)](t(507),(()=>this[t(517)](r.MenuBarMenuListItemFileDialogButtonView)))}[o(517)](t){const e=o,n=this[e(489)],s=n[e(495)][e(506)](e(481)),a=new t(n[e(482)]),c=new r.SpinnerView;return a[e(511)]({acceptedType:e(518)}),a[e(511)]({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(512)](e(491)).to(s),a[e(512)](e(484)).to(s,e(486),(t=>i(n[e(482)],e(t?519:504)))),c[e(512)](e(492)).to(s,e(486)),a[e(516)][e(512)](e(492)).to(s,e(486),(t=>!t)),a[e(521)][e(509)](c),a.on(e(515),((t,r)=>{const i=e;n[i(502)](i(481),r[0],{}),n[i(497)][i(522)][i(488)]()})),a}}var u=e(331),p=e(783),l=e(584);const d=f;function h(){const t=["refresh","position","_importMarker","isAtEnd","_sendImportRequest","createPositionBefore","plugins","get","176GnVrta","Authorization","catch","showWarning","704804UeoDUl","json","markers","editing","118EnkTeT","html","paragraph","getSelectedBlocks","$graveyard","_handleImportFailure","resolvedOptions","text/html","selection","model","stopListening","bind","DateTimeFormat","isEnabled","headers","_checkEnabled","resolve","import-word-plugin-conversion-failed","createPositionAfter","config","importWord","aborted","7789806LftaTn","Notification","mergeFields","set","locale","finally","_cleanUpAfterImport","MergeFields","getRange","abort","3hCxwwE","merge_fields","document","_abortController","value","POST","parent","signal","importWord:","ImportWordEditing","then","setSelection","180agtijN","deleteContent","isAtStart","_handleImportResponse","view","removeMarker","clipboardInput","formatting","low","getToken","schema","setData","file","isCollapsed","converterUrl","isEmpty","dataInsert","checkChild","change:range","timeZone","execute","enqueueChange","isBusy","fire","has","editor","addMarker","An error occurred while importing the Word file.","getFirstPosition","615294EFCwGP","import-word-plugin-import-cancelled","_prepareForImport","28113613YQKxfc","split","createBatch","4639kIulmp","115297ERPQwc","stringify","reject","4142025nxeAcr","_undoStepBatch","element","rootName","root"];return(h=function(){return t})()}function f(t,r){const e=h();return(f=function(t,r){return e[t-=303]})(t,r)}!function(t){const r=f,e=t();for(;;)try{if(767759===-parseInt(r(396))/1*(parseInt(r(317))/2)+-parseInt(r(349))/3*(parseInt(r(313))/4)+parseInt(r(400))/5+-parseInt(r(339))/6+parseInt(r(397))/7*(parseInt(r(309))/8)+-parseInt(r(390))/9*(parseInt(r(361))/10)+parseInt(r(393))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(h);class m extends t.Command{constructor(t){const r=f;super(t),this[r(342)](r(383),!1),this[r(303)]=null,this[r(401)]=null,this[r(352)]=null,this.on(r(377),((e,n)=>{const i=r,o=new DataTransfer;o[i(372)](i(324),n[i(318)]);const s=this[i(303)][i(347)]();this[i(386)][i(326)][i(382)](this[i(401)],(r=>{const e=i;this[e(303)][e(327)](),r[e(360)](s),t[e(316)][e(365)][e(351)][e(384)](e(367),{dataTransfer:o})}))}),{priority:r(369)})}[d(405)](){const t=d;this[t(330)]=this[t(332)]()}[d(381)](t,r={}){const e=d;if(this[e(383)])return Promise[e(333)]();const n=this[e(386)][e(336)][e(308)](e(337));if(this[e(386)][e(307)][e(385)](e(346))){const{prefix:t,suffix:n}=this[e(386)][e(336)][e(308)](e(341));r[e(350)]={prefix:t,suffix:n}}const i={url:n[e(375)],file:t,serviceConfig:{...r,formatting:n[e(368)],timezone:(new(Intl[e(329)]))[e(323)]()[e(380)]}};return this[e(392)](),this[e(305)](i)[e(359)](this[e(364)][e(328)](this))[e(311)](this[e(322)][e(328)](this))[e(344)](this[e(345)][e(328)](this))}[d(332)](){const t=d;if(this[t(383)])return!1;const r=this[t(386)][t(326)],e=r[t(371)],n=r[t(351)][t(325)],i=(0,l.first)(n[t(320)]());return!!i&&e[t(378)](i[t(355)],t(319))}[d(392)](){const t=d,r=this[t(386)],e=r[t(326)],n=e[t(351)][t(325)];this[t(352)]=new AbortController,this[t(401)]=r[t(326)][t(395)]({isUndoable:!0}),e[t(382)](this[t(401)],(r=>{const i=t;n[i(374)]||e[i(362)](n,{leaveUnmerged:!0});const o=n[i(389)](),s=(0,l.first)(n[i(320)]());let a;a=s.is(i(402),i(319))&&s[i(376)]?o:o[i(363)]?e[i(306)](s):o[i(304)]?e[i(335)](s):r[i(394)](o)[i(406)],this[i(303)]=r[i(387)](i(357)+(0,l.uid)(),{usingOperation:!1,affectsData:!1,range:new p.Range(a)}),this[i(303)].on(i(379),(()=>{const t=i;t(321)===this[t(303)][t(347)]()[t(404)][t(403)]&&this[t(352)][t(348)]()}))})),this[t(383)]=!0,this[t(405)]()}[d(345)](){const t=d,r=this[t(386)][t(326)];r[t(315)][t(385)](this[t(303)])&&r[t(382)](this[t(401)],(r=>{const e=t;r[e(366)](this[e(303)])})),this[t(303)]=null,this[t(401)]=null,this[t(352)]=null,this[t(383)]=!1,this[t(405)]()}[d(305)]({url:t,file:r,serviceConfig:e}){const n=d,i=this[n(386)][n(307)][n(308)](n(358))[n(370)](),o=new FormData;o[n(342)](n(336),JSON[n(398)](e)),o[n(342)](n(373),r);const s={method:n(354),headers:{},body:o,signal:this[n(352)][n(356)]};return i&&(s[n(331)][n(310)]=i[n(353)]),fetch(t,s)}[d(364)](t){const r=d;return t.ok?t[r(314)]()[r(359)]((t=>{const e=r;this[e(386)][e(326)][e(315)][e(385)](this[e(303)])&&e(321)!==this[e(303)][e(347)]()[e(404)][e(403)]&&this[e(384)](e(377),t)})):Promise[r(399)]()}[d(322)](){const t=d;if(this[t(352)][t(356)][t(338)])return void(0,l.logWarning)(t(391));const r=this[t(386)],e=i(r[t(343)],t(388));r[t(307)][t(308)](t(340))[t(312)](e),(0,l.logError)(t(334))}}const g=v;function I(){const t=["2640786BLrWbj","define","_token","1502752gSXBiT","80giLOzc","9ucqpvq","get","1035731inFxAn","205HaliJK","commands","inline","plugins","registerTokenUrl","editor","isOfficialPlugin","getToken","ImportWordEditing","token","pluginName","tokenUrl","add","requires","36508TwpgQA","https://docx-converter.cke-cs.com/v2/convert/docx-html","config","1783092eOBKxq","CloudServices","init","cloudServices","importWord","isPremiumPlugin","none","1174838zTzxcq","12777710ffFTnN"];return(I=function(){return t})()}function v(t,r){const e=I();return(v=function(t,r){return e[t-=184]})(t,r)}!function(t){const r=v,e=t();for(;;)try{if(919451===-parseInt(r(216))/1+parseInt(r(212))/2+parseInt(r(209))/3+parseInt(r(197))/4*(-parseInt(r(217))/5)+parseInt(r(200))/6+parseInt(r(207))/7*(parseInt(r(213))/8)+parseInt(r(214))/9*(-parseInt(r(208))/10))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(I);class w extends t.Plugin{static get[g(193)](){return g(191)}static get[g(189)](){return!0}static get[g(205)](){return!0}static get[g(196)](){const t=g;return[r.Notification,u.ClipboardPipeline,t(201)]}constructor(t){const r=g;super(t),this[r(211)]=null}async[g(202)](){const t=g,r=this[t(188)];r[t(199)][t(210)](t(204),{converterUrl:t(198),tokenUrl:(r[t(199)][t(215)](t(203))||{})[t(194)],formatting:{resets:t(206),defaults:t(206),styles:t(185)}}),r[t(184)][t(195)](t(204),new m(r));const{tokenUrl:e}=r[t(199)][t(215)](t(204));if(e){const{tokenUrl:n}=r[t(199)][t(215)](t(203))||{};this[t(211)]=e===n?r[t(186)][t(215)](t(201))[t(192)]:await r[t(186)][t(215)](t(201))[t(187)](e)}}[g(190)](){return this[g(211)]}}var x=W;function b(){var t=["2697310IicjVm","746756koRvJC","1896699ZuxqMb","1503341lckJrH","ImportWord","1726302iMncIX","4eSJLwP","isPremiumPlugin","5577620pRqqSc","8CLejLd","6sMzaKI","3876516axnLtd","isOfficialPlugin","requires","pluginName"];return(b=function(){return t})()}function W(t,r){var e=b();return(W=function(t,r){return e[t-=169]})(t,r)}!function(t){for(var r=W,e=t();;)try{if(514367===-parseInt(r(171))/1+parseInt(r(175))/2+-parseInt(r(172))/3*(-parseInt(r(176))/4)+parseInt(r(170))/5+parseInt(r(180))/6*(parseInt(r(173))/7)+-parseInt(r(179))/8*(parseInt(r(181))/9)+-parseInt(r(178))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(b);class y extends t.Plugin{static get[x(169)](){return x(174)}static get[x(182)](){return!0}static get[x(177)](){return!0}static get[x(183)](){return[w,c]}}function k(t,r){var e=P();return(k=function(t,r){return e[t-=347]})(t,r)}function P(){var t=["2599902tnEbZM","2141272TCkEUZ","1212pFrNSA","225ZdHJuj","217874vbXosT","879868tqryOU","7InPagh","2LTRcRk","5aXhtpZ","168790RiocxC","12256596ZyZVXc","3816jKMvFe"];return(P=function(){return t})()}!function(t){for(var r=k,e=t();;)try{if(219080===parseInt(r(358))/1*(-parseInt(r(349))/2)+-parseInt(r(353))/3*(parseInt(r(356))/4)+parseInt(r(350))/5*(-parseInt(r(354))/6)+parseInt(r(348))/7*(-parseInt(r(355))/8)+parseInt(r(357))/9*(parseInt(r(351))/10)+parseInt(r(347))/11+parseInt(r(352))/12)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 _0x171a62,Command as _0x551b98}from'@ckeditor/ckeditor5-core/dist/index.js';import{FileDialogButtonView as _0x20b4a4,MenuBarMenuListItemFileDialogButtonView as _0xc5e5eb,SpinnerView as _0x4f72a2,Notification as _0x2339d8}from'@ckeditor/ckeditor5-ui/dist/index.js';import{ClipboardPipeline as _0x212117}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{Range as _0x4d1961}from'@ckeditor/ckeditor5-engine/dist/index.js';import{first as _0x4063fe,uid as _0x10ce85,logWarning as _0x165acf,logError as _0x3d5274}from'@ckeditor/ckeditor5-utils/dist/index.js';function p(_0x5a0763,_0x1f43fe){const t=_0x5a0763['t'];switch(_0x1f43fe){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 _0x1f43fe;}}class i extends _0x171a62{static get['pluginName'](){return'ImportWordUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x47b33c=this['editor'];_0x47b33c['ui']['componentFactory']['add']('importWord',()=>{const _0xce6c91=this['_createButton'](_0x20b4a4),_0x3e7024=_0x47b33c['commands']['get']('importWord');return _0xce6c91['bind']('isOn')['to'](_0x3e7024,'isBusy'),_0xce6c91['tooltip']=!0x0,_0xce6c91;}),_0x47b33c['ui']['componentFactory']['add']('menuBar:importWord',()=>this['_createButton'](_0xc5e5eb));}['_createButton'](_0x29db3c){const _0x174a70=this['editor'],_0x54043a=_0x174a70['commands']['get']('importWord'),_0x7cdd37=new _0x29db3c(_0x174a70['locale']),_0x267de5=new _0x4f72a2();return _0x7cdd37['set']({'acceptedType':'application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.openxmlformats-officedocument.wordprocessingml.template'}),_0x7cdd37['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'}),_0x7cdd37['bind']('isEnabled')['to'](_0x54043a),_0x7cdd37['bind']('label')['to'](_0x54043a,'isBusy',_0x598f59=>p(_0x174a70['locale'],_0x598f59?'Importing\x20Word\x20document':'Import\x20from\x20Word')),_0x267de5['bind']('isVisible')['to'](_0x54043a,'isBusy'),_0x7cdd37['iconView']['bind']('isVisible')['to'](_0x54043a,'isBusy',_0x27ea1a=>!_0x27ea1a),_0x7cdd37['children']['add'](_0x267de5),_0x7cdd37['on']('done',(_0x37cfae,_0x11a561)=>{_0x174a70['execute']('importWord',_0x11a561[0x0],{}),_0x174a70['editing']['view']['focus']();}),_0x7cdd37;}}class d extends _0x551b98{['_importMarker'];['_undoStepBatch'];['_abortController'];constructor(_0x4e4bbf){super(_0x4e4bbf),this['set']('isBusy',!0x1),this['_importMarker']=null,this['_undoStepBatch']=null,this['_abortController']=null,this['on']('dataInsert',(_0xc48a18,_0x5b660d)=>{const _0x110e09=new DataTransfer();_0x110e09['setData']('text/html',_0x5b660d['html']);const _0x30f790=this['_importMarker']['getRange']();this['editor']['model']['enqueueChange'](this['_undoStepBatch'],_0x505322=>{this['_importMarker']['stopListening'](),_0x505322['setSelection'](_0x30f790),_0x4e4bbf['editing']['view']['document']['fire']('clipboardInput',{'dataTransfer':_0x110e09});});},{'priority':'low'});}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x50f6c9,_0x1f8bc2={}){if(this['isBusy'])return Promise['resolve']();const _0x81a903=this['editor']['config']['get']('importWord');if(this['editor']['plugins']['has']('MergeFields')){const {prefix:_0x3ccf92,suffix:_0x496d9}=this['editor']['config']['get']('mergeFields');_0x1f8bc2['merge_fields']={'prefix':_0x3ccf92,'suffix':_0x496d9};}const _0x4e7292={'url':_0x81a903['converterUrl'],'file':_0x50f6c9,'serviceConfig':{..._0x1f8bc2,'formatting':_0x81a903['formatting'],'timezone':new Intl['DateTimeFormat']()['resolvedOptions']()['timeZone']}};return this['_prepareForImport'](),this['_sendImportRequest'](_0x4e7292)['then'](this['_handleImportResponse']['bind'](this))['catch'](this['_handleImportFailure']['bind'](this))['finally'](this['_cleanUpAfterImport']['bind'](this));}['_checkEnabled'](){if(this['isBusy'])return!0x1;const _0x7992b4=this['editor']['model'],_0x432c9c=_0x7992b4['schema'],_0x4b6deb=_0x7992b4['document']['selection'],_0x15f3d7=_0x4063fe(_0x4b6deb['getSelectedBlocks']());return!!_0x15f3d7&&_0x432c9c['checkChild'](_0x15f3d7['parent'],'paragraph');}['_prepareForImport'](){const _0x2e9cf9=this['editor'],_0x4431a5=_0x2e9cf9['model'],_0x268c6a=_0x4431a5['document']['selection'];this['_abortController']=new AbortController(),this['_undoStepBatch']=_0x2e9cf9['model']['createBatch']({'isUndoable':!0x0}),_0x4431a5['enqueueChange'](this['_undoStepBatch'],_0x2815d1=>{_0x268c6a['isCollapsed']||_0x4431a5['deleteContent'](_0x268c6a,{'leaveUnmerged':!0x0});const _0x362443=_0x268c6a['getFirstPosition'](),_0x4110ad=_0x4063fe(_0x268c6a['getSelectedBlocks']());let _0x2d8a89;_0x2d8a89=_0x4110ad['is']('element','paragraph')&&_0x4110ad['isEmpty']?_0x362443:_0x362443['isAtStart']?_0x4431a5['createPositionBefore'](_0x4110ad):_0x362443['isAtEnd']?_0x4431a5['createPositionAfter'](_0x4110ad):_0x2815d1['split'](_0x362443)['position'],this['_importMarker']=_0x2815d1['addMarker']('importWord:'+_0x10ce85(),{'usingOperation':!0x1,'affectsData':!0x1,'range':new _0x4d1961(_0x2d8a89)}),this['_importMarker']['on']('change:range',()=>{'$graveyard'===this['_importMarker']['getRange']()['root']['rootName']&&this['_abortController']['abort']();});}),this['isBusy']=!0x0,this['refresh']();}['_cleanUpAfterImport'](){const _0x3c6e83=this['editor']['model'];_0x3c6e83['markers']['has'](this['_importMarker'])&&_0x3c6e83['enqueueChange'](this['_undoStepBatch'],_0x59dcf7=>{_0x59dcf7['removeMarker'](this['_importMarker']);}),this['_importMarker']=null,this['_undoStepBatch']=null,this['_abortController']=null,this['isBusy']=!0x1,this['refresh']();}['_sendImportRequest']({url:_0x49da2b,file:_0x5326a1,serviceConfig:_0x3d6b2c}){const _0x438556=this['editor']['plugins']['get']('ImportWordEditing')['getToken'](),_0x1c3211=new FormData();_0x1c3211['set']('config',JSON['stringify'](_0x3d6b2c)),_0x1c3211['set']('file',_0x5326a1);const _0x29fa15={'method':'POST','headers':{},'body':_0x1c3211,'signal':this['_abortController']['signal']};return _0x438556&&(_0x29fa15['headers']['Authorization']=_0x438556['value']),fetch(_0x49da2b,_0x29fa15);}['_handleImportResponse'](_0x4f0d14){return _0x4f0d14['ok']?_0x4f0d14['json']()['then'](_0x377677=>{if(!this['editor']['model']['markers']['has'](this['_importMarker']))return;'$graveyard'!==this['_importMarker']['getRange']()['root']['rootName']&&this['fire']('dataInsert',_0x377677);}):Promise['reject']();}['_handleImportFailure'](){if(this['_abortController']['signal']['aborted'])return void _0x165acf('import-word-plugin-import-cancelled');const _0x51104f=this['editor'],_0x25a15b=p(_0x51104f['locale'],'An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.');_0x51104f['plugins']['get']('Notification')['showWarning'](_0x25a15b),_0x3d5274('import-word-plugin-conversion-failed');}}class e extends _0x171a62{['_token'];static get['pluginName'](){return'ImportWordEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x2339d8,_0x212117,'CloudServices'];}constructor(_0x9d3275){super(_0x9d3275),this['_token']=null;}async['init'](){const _0x5eb977=this['editor'];_0x5eb977['config']['define']('importWord',{'converterUrl':'https://docx-converter.cke-cs.com/v2/convert/docx-html','tokenUrl':(_0x5eb977['config']['get']('cloudServices')||{})['tokenUrl'],'formatting':{'resets':'none','defaults':'none','styles':'inline'}}),_0x5eb977['commands']['add']('importWord',new d(_0x5eb977));const {tokenUrl:_0x4bf876}=_0x5eb977['config']['get']('importWord');if(_0x4bf876){const {tokenUrl:_0x33964e}=_0x5eb977['config']['get']('cloudServices')||{};this['_token']=_0x4bf876===_0x33964e?_0x5eb977['plugins']['get']('CloudServices')['token']:await _0x5eb977['plugins']['get']('CloudServices')['registerTokenUrl'](_0x4bf876);}}['getToken'](){return this['_token'];}}class o extends _0x171a62{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':_0x241231=>0x1!=_0x241231}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x270277=>{const {af:{dictionary:_0x2b9309,getPluralForm:_0x405ce8}}={'af':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x1eb470=>0x1!=_0x1eb470}};_0x270277['af']||={'dictionary':{},'getPluralForm':null},_0x270277['af']['dictionary']=Object['assign'](_0x270277['af']['dictionary'],_0x2b9309),_0x270277['af']['getPluralForm']=_0x405ce8;})(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':_0x50d23e=>0x0==_0x50d23e?0x0:0x1==_0x50d23e?0x1:0x2==_0x50d23e?0x2:_0x50d23e%0x64>=0x3&&_0x50d23e%0x64<=0xa?0x3:_0x50d23e%0x64>=0xb?0x4:0x5}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x1fa3c8=>{const {ar:{dictionary:_0x4b9a77,getPluralForm:_0x3528}}={'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':_0xac298d=>0x0==_0xac298d?0x0:0x1==_0xac298d?0x1:0x2==_0xac298d?0x2:_0xac298d%0x64>=0x3&&_0xac298d%0x64<=0xa?0x3:_0xac298d%0x64>=0xb?0x4:0x5}};_0x1fa3c8['ar']||={'dictionary':{},'getPluralForm':null},_0x1fa3c8['ar']['dictionary']=Object['assign'](_0x1fa3c8['ar']['dictionary'],_0x4b9a77),_0x1fa3c8['ar']['getPluralForm']=_0x3528;})(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':_0x22529b=>0x1!=_0x22529b}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x4adaba=>{const {ast:{dictionary:_0x3cd47d,getPluralForm:_0x14a977}}={'ast':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x4954e1=>0x1!=_0x4954e1}};_0x4adaba['ast']||={'dictionary':{},'getPluralForm':null},_0x4adaba['ast']['dictionary']=Object['assign'](_0x4adaba['ast']['dictionary'],_0x3cd47d),_0x4adaba['ast']['getPluralForm']=_0x14a977;})(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':_0x5424b3=>0x1!=_0x5424b3}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x1d2fd1=>{const {az:{dictionary:_0x160457,getPluralForm:_0x53a40f}}={'az':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x351add=>0x1!=_0x351add}};_0x1d2fd1['az']||={'dictionary':{},'getPluralForm':null},_0x1d2fd1['az']['dictionary']=Object['assign'](_0x1d2fd1['az']['dictionary'],_0x160457),_0x1d2fd1['az']['getPluralForm']=_0x53a40f;})(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':_0x328c3e=>0x1!=_0x328c3e}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x214602=>{const {bg:{dictionary:_0x296a6b,getPluralForm:_0xf38333}}={'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':_0x1ca224=>0x1!=_0x1ca224}};_0x214602['bg']||={'dictionary':{},'getPluralForm':null},_0x214602['bg']['dictionary']=Object['assign'](_0x214602['bg']['dictionary'],_0x296a6b),_0x214602['bg']['getPluralForm']=_0xf38333;})(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':_0xd144b2=>0x1!=_0xd144b2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x31c376=>{const {bn:{dictionary:_0x487584,getPluralForm:_0x5e7477}}={'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':_0x1326ff=>0x1!=_0x1326ff}};_0x31c376['bn']||={'dictionary':{},'getPluralForm':null},_0x31c376['bn']['dictionary']=Object['assign'](_0x31c376['bn']['dictionary'],_0x487584),_0x31c376['bn']['getPluralForm']=_0x5e7477;})(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':_0x73db0=>_0x73db0%0xa==0x1&&_0x73db0%0x64!=0xb?0x0:_0x73db0%0xa>=0x2&&_0x73db0%0xa<=0x4&&(_0x73db0%0x64<0xa||_0x73db0%0x64>=0x14)?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x24ffee=>{const {bs:{dictionary:_0xf013ab,getPluralForm:_0x392184}}={'bs':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x205a49=>_0x205a49%0xa==0x1&&_0x205a49%0x64!=0xb?0x0:_0x205a49%0xa>=0x2&&_0x205a49%0xa<=0x4&&(_0x205a49%0x64<0xa||_0x205a49%0x64>=0x14)?0x1:0x2}};_0x24ffee['bs']||={'dictionary':{},'getPluralForm':null},_0x24ffee['bs']['dictionary']=Object['assign'](_0x24ffee['bs']['dictionary'],_0xf013ab),_0x24ffee['bs']['getPluralForm']=_0x392184;})(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':_0x55a2bd=>0x1!=_0x55a2bd}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x1ae0a5=>{const {ca:{dictionary:_0x2e391d,getPluralForm:_0xd4f1cd}}={'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':_0x27b3da=>0x1!=_0x27b3da}};_0x1ae0a5['ca']||={'dictionary':{},'getPluralForm':null},_0x1ae0a5['ca']['dictionary']=Object['assign'](_0x1ae0a5['ca']['dictionary'],_0x2e391d),_0x1ae0a5['ca']['getPluralForm']=_0xd4f1cd;})(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':_0x3d7e9f=>0x1==_0x3d7e9f?0x0:_0x3d7e9f>=0x2&&_0x3d7e9f<=0x4?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x4aeefe=>{const {cs:{dictionary:_0x29c6b3,getPluralForm:_0x1db27c}}={'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':_0x5efbb9=>0x1==_0x5efbb9?0x0:_0x5efbb9>=0x2&&_0x5efbb9<=0x4?0x1:0x2}};_0x4aeefe['cs']||={'dictionary':{},'getPluralForm':null},_0x4aeefe['cs']['dictionary']=Object['assign'](_0x4aeefe['cs']['dictionary'],_0x29c6b3),_0x4aeefe['cs']['getPluralForm']=_0x1db27c;})(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':_0x26ffe5=>0x1!=_0x26ffe5}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x86b3e2=>{const {da:{dictionary:_0x5010fc,getPluralForm:_0x166825}}={'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':_0x1553ce=>0x1!=_0x1553ce}};_0x86b3e2['da']||={'dictionary':{},'getPluralForm':null},_0x86b3e2['da']['dictionary']=Object['assign'](_0x86b3e2['da']['dictionary'],_0x5010fc),_0x86b3e2['da']['getPluralForm']=_0x166825;})(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':_0x21a8bc=>0x1!=_0x21a8bc}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x286e25=>{const {'de-ch':{dictionary:_0x386c77,getPluralForm:_0x51082d}}={'de-ch':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x4ed0be=>0x1!=_0x4ed0be}};_0x286e25['de-ch']||={'dictionary':{},'getPluralForm':null},_0x286e25['de-ch']['dictionary']=Object['assign'](_0x286e25['de-ch']['dictionary'],_0x386c77),_0x286e25['de-ch']['getPluralForm']=_0x51082d;})(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':_0x23b68c=>0x1!=_0x23b68c}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x2238a=>{const {de:{dictionary:_0x5240d7,getPluralForm:_0x417a4c}}={'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':_0x2a0f58=>0x1!=_0x2a0f58}};_0x2238a['de']||={'dictionary':{},'getPluralForm':null},_0x2238a['de']['dictionary']=Object['assign'](_0x2238a['de']['dictionary'],_0x5240d7),_0x2238a['de']['getPluralForm']=_0x417a4c;})(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':_0x2182e5=>0x1!=_0x2182e5}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x4502ea=>{const {el:{dictionary:_0x3ec13f,getPluralForm:_0x59749a}}={'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':_0x1df3ac=>0x1!=_0x1df3ac}};_0x4502ea['el']||={'dictionary':{},'getPluralForm':null},_0x4502ea['el']['dictionary']=Object['assign'](_0x4502ea['el']['dictionary'],_0x3ec13f),_0x4502ea['el']['getPluralForm']=_0x59749a;})(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':_0x3da1dd=>0x1!=_0x3da1dd}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x5c3742=>{const {'en-au':{dictionary:_0x197332,getPluralForm:_0x32bc2a}}={'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':_0x16ad01=>0x1!=_0x16ad01}};_0x5c3742['en-au']||={'dictionary':{},'getPluralForm':null},_0x5c3742['en-au']['dictionary']=Object['assign'](_0x5c3742['en-au']['dictionary'],_0x197332),_0x5c3742['en-au']['getPluralForm']=_0x32bc2a;})(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':_0x344a52=>0x1!=_0x344a52}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x2d0d61=>{const {'en-gb':{dictionary:_0x2614fa,getPluralForm:_0x254705}}={'en-gb':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x4e505f=>0x1!=_0x4e505f}};_0x2d0d61['en-gb']||={'dictionary':{},'getPluralForm':null},_0x2d0d61['en-gb']['dictionary']=Object['assign'](_0x2d0d61['en-gb']['dictionary'],_0x2614fa),_0x2d0d61['en-gb']['getPluralForm']=_0x254705;})(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':_0x418cfe=>0x1!=_0x418cfe}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x3f60f6=>{const {en:{dictionary:_0x123fb9,getPluralForm:_0x42deb7}}={'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':_0x91447f=>0x1!=_0x91447f}};_0x3f60f6['en']||={'dictionary':{},'getPluralForm':null},_0x3f60f6['en']['dictionary']=Object['assign'](_0x3f60f6['en']['dictionary'],_0x123fb9),_0x3f60f6['en']['getPluralForm']=_0x42deb7;})(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':_0x54b16c=>0x1!=_0x54b16c}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x4637b8=>{const {eo:{dictionary:_0x1d0c75,getPluralForm:_0xfa97e7}}={'eo':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x37d0de=>0x1!=_0x37d0de}};_0x4637b8['eo']||={'dictionary':{},'getPluralForm':null},_0x4637b8['eo']['dictionary']=Object['assign'](_0x4637b8['eo']['dictionary'],_0x1d0c75),_0x4637b8['eo']['getPluralForm']=_0xfa97e7;})(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':_0xae63a5=>0x1!=_0xae63a5}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x2d8180=>{const {'es-co':{dictionary:_0x160059,getPluralForm:_0x25d486}}={'es-co':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x55a618=>0x1!=_0x55a618}};_0x2d8180['es-co']||={'dictionary':{},'getPluralForm':null},_0x2d8180['es-co']['dictionary']=Object['assign'](_0x2d8180['es-co']['dictionary'],_0x160059),_0x2d8180['es-co']['getPluralForm']=_0x25d486;})(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':_0x139b24=>0x1!=_0x139b24}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x4cec1f=>{const {es:{dictionary:_0x5ea41c,getPluralForm:_0x4d97e1}}={'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':_0xbf3c50=>0x1!=_0xbf3c50}};_0x4cec1f['es']||={'dictionary':{},'getPluralForm':null},_0x4cec1f['es']['dictionary']=Object['assign'](_0x4cec1f['es']['dictionary'],_0x5ea41c),_0x4cec1f['es']['getPluralForm']=_0x4d97e1;})(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':_0x30de34=>0x1!=_0x30de34}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x2cc2f9=>{const {et:{dictionary:_0x26df85,getPluralForm:_0x58497d}}={'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':_0x251d72=>0x1!=_0x251d72}};_0x2cc2f9['et']||={'dictionary':{},'getPluralForm':null},_0x2cc2f9['et']['dictionary']=Object['assign'](_0x2cc2f9['et']['dictionary'],_0x26df85),_0x2cc2f9['et']['getPluralForm']=_0x58497d;})(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':_0x23ff27=>0x1!=_0x23ff27}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x31d423=>{const {eu:{dictionary:_0x3a97e6,getPluralForm:_0x386c4b}}={'eu':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x352e0b=>0x1!=_0x352e0b}};_0x31d423['eu']||={'dictionary':{},'getPluralForm':null},_0x31d423['eu']['dictionary']=Object['assign'](_0x31d423['eu']['dictionary'],_0x3a97e6),_0x31d423['eu']['getPluralForm']=_0x386c4b;})(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':_0x35040d=>0x0}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x5bdda9=>{const {fa:{dictionary:_0x4247d6,getPluralForm:_0x1ece31}}={'fa':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x37f169=>0x0}};_0x5bdda9['fa']||={'dictionary':{},'getPluralForm':null},_0x5bdda9['fa']['dictionary']=Object['assign'](_0x5bdda9['fa']['dictionary'],_0x4247d6),_0x5bdda9['fa']['getPluralForm']=_0x1ece31;})(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':_0x57cb33=>0x1!=_0x57cb33}};
|