@ckeditor/ckeditor5-import-word 44.3.0-alpha.2 → 44.3.0-alpha.3
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 +9 -9
- package/src/importword.js +1 -1
- package/src/importwordcommand.js +1 -1
- package/src/importwordediting.js +1 -1
- package/src/importwordui.js +1 -1
- package/src/index.js +1 -1
- package/src/utils/common-translations.js +1 -1
package/build/import-word.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
!function(t){const
|
|
1
|
+
!function(t){const e=t.en=t.en||{};e.dictionary=Object.assign(e.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={237:t=>{"use strict";t.exports=CKEditor5.dll},311:(t,r,e)=>{t.exports=e(237)("./src/ui.js")},331:(t,r,e)=>{t.exports=e(237)("./src/clipboard.js")},584:(t,r,e)=>{t.exports=e(237)("./src/utils.js")},782:(t,r,e)=>{t.exports=e(237)("./src/core.js")},783:(t,r,e)=>{t.exports=e(237)("./src/engine.js")}},r={};function e(n){var i=r[n];if(void 0!==i)return i.exports;var o=r[n]={exports:{}};return t[n](o,o.exports,e),o.exports}e.d=(t,r)=>{for(var n in r)e.o(r,n)&&!e.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:r[n]})},e.o=(t,r)=>Object.prototype.hasOwnProperty.call(t,r),e.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var n={};(()=>{"use strict";e.r(n),e.d(n,{ImportWord:()=>x,ImportWordEditing:()=>v,ImportWordUI:()=>a});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=c();return(s=function(t,r){return e[t-=224]})(t,r)}!function(t){const r=s,e=t();for(;;)try{if(333465===-parseInt(r(261))/1*(parseInt(r(230))/2)+parseInt(r(243))/3+parseInt(r(256))/4*(-parseInt(r(253))/5)+parseInt(r(234))/6+-parseInt(r(242))/7+parseInt(r(262))/8*(-parseInt(r(233))/9)+-parseInt(r(245))/10*(-parseInt(r(225))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(c);class a extends t.Plugin{static get[o(254)](){return o(240)}static get[o(259)](){return!0}static get[o(249)](){return!0}[o(236)](){const t=o,e=this[t(232)];e.ui[t(241)][t(235)](t(247),(()=>{const n=t,i=this[n(260)](r.FileDialogButtonView),o=e[n(244)][n(237)](n(247));return i[n(238)](n(228)).to(o,n(251)),i[n(266)]=!0,i})),e.ui[t(241)][t(235)](t(224),(()=>this[t(260)](r.MenuBarMenuListItemFileDialogButtonView)))}[o(260)](t){const e=o,n=this[e(232)],s=n[e(244)][e(237)](e(247)),a=new t(n[e(255)]),c=new r.SpinnerView;return a[e(250)]({acceptedType:e(257)}),a[e(250)]({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(238)](e(229)).to(s),a[e(238)](e(264)).to(s,e(251),(t=>i(n[e(255)],e(t?258:239)))),c[e(238)](e(248)).to(s,e(251)),a[e(265)][e(238)](e(248)).to(s,e(251),(t=>!t)),a[e(246)][e(235)](c),a.on(e(263),((t,r)=>{const i=e;n[i(226)](i(247),r[0],{}),n[i(231)][i(227)][i(252)]()})),a}}function c(){const t=["110524AuQstK","application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.openxmlformats-officedocument.wordprocessingml.template","Importing Word document","isOfficialPlugin","_createButton","1UDOsDf","16DSDbfX","done","label","iconView","tooltip","menuBar:importWord","6008651IpVDAz","execute","view","isOn","isEnabled","932390WKzByC","editing","editor","2464812eXzKMa","2044062ZNQAlm","add","init","get","bind","Import from Word","ImportWordUI","componentFactory","4171986bvwYAA","1715628QbMDaU","commands","30ntDQrz","children","importWord","isVisible","isPremiumPlugin","set","isBusy","focus","110WXDDGu","pluginName","locale"];return(c=function(){return t})()}var u=e(331),p=e(783),l=e(584);const h=d;function d(t,r){const e=f();return(d=function(t,r){return e[t-=207]})(t,r)}function f(){const t=["Notification","_undoStepBatch","paragraph","17696850BaMPpj","execute","document","set","mergeFields","parent","isCollapsed","getToken","_handleImportFailure","editing","POST","5704727kJMxHj","_handleImportResponse","config","isEnabled","has","_abortController","stringify","setSelection","deleteContent","view","fire","9kKdqbx","15ImokUU","MergeFields","_checkEnabled","An error occurred while importing the Word file.","markers","merge_fields","removeMarker","_prepareForImport","113052iEHVAZ","checkChild","html","then","import-word-plugin-conversion-failed","model","schema","createPositionAfter","_sendImportRequest","isAtStart","finally","dataInsert","1962428TlzbiX","split","bind","selection","setData","clipboardInput","change:range","signal","rootName","converterUrl","getSelectedBlocks","editor","json","root","importWord","getFirstPosition","resolve","get","addMarker","catch","DateTimeFormat","headers","timeZone","aborted","locale","refresh","298731Jwcarm","import-word-plugin-import-cancelled","resolvedOptions","8BOkgdD","501688uZhATC","isEmpty","text/html","reject","abort","formatting","element","showWarning","low","739026YCtDEf","importWord:","$graveyard","file","createPositionBefore","_importMarker","plugins","enqueueChange","isAtEnd","getRange","ImportWordEditing","position","value","createBatch","_cleanUpAfterImport","stopListening","isBusy","Authorization"];return(f=function(){return t})()}!function(t){const r=d,e=t();for(;;)try{if(862813===-parseInt(r(217))/1+parseInt(r(258))/2*(parseInt(r(255))/3)+-parseInt(r(229))/4*(-parseInt(r(209))/5)+parseInt(r(268))/6+parseInt(r(300))/7+-parseInt(r(259))/8+parseInt(r(208))/9*(-parseInt(r(289))/10))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(f);class m extends t.Command{constructor(t){const r=d;super(t),this[r(292)](r(284),!1),this[r(273)]=null,this[r(287)]=null,this[r(305)]=null,this.on(r(228),((e,n)=>{const i=r,o=new DataTransfer;o[i(233)](i(261),n[i(219)]);const s=this[i(273)][i(277)]();this[i(240)][i(222)][i(275)](this[i(287)],(r=>{const e=i;this[e(273)][e(283)](),r[e(307)](s),t[e(298)][e(309)][e(291)][e(207)](e(234),{dataTransfer:o})}))}),{priority:r(267)})}[h(254)](){const t=h;this[t(303)]=this[t(211)]()}[h(290)](t,r={}){const e=h;if(this[e(284)])return Promise[e(245)]();const n=this[e(240)][e(302)][e(246)](e(243));if(this[e(240)][e(274)][e(304)](e(210))){const{prefix:t,suffix:n}=this[e(240)][e(302)][e(246)](e(293));r[e(214)]={prefix:t,suffix:n}}const i={url:n[e(238)],file:t,serviceConfig:{...r,formatting:n[e(264)],timezone:(new(Intl[e(249)]))[e(257)]()[e(251)]}};return this[e(216)](),this[e(225)](i)[e(220)](this[e(301)][e(231)](this))[e(248)](this[e(297)][e(231)](this))[e(227)](this[e(282)][e(231)](this))}[h(211)](){const t=h;if(this[t(284)])return!1;const r=this[t(240)][t(222)],e=r[t(223)],n=r[t(291)][t(232)],i=(0,l.first)(n[t(239)]());return!!i&&e[t(218)](i[t(294)],t(288))}[h(216)](){const t=h,r=this[t(240)],e=r[t(222)],n=e[t(291)][t(232)];this[t(305)]=new AbortController,this[t(287)]=r[t(222)][t(281)]({isUndoable:!0}),e[t(275)](this[t(287)],(r=>{const i=t;n[i(295)]||e[i(308)](n,{leaveUnmerged:!0});const o=n[i(244)](),s=(0,l.first)(n[i(239)]());let a;a=s.is(i(265),i(288))&&s[i(260)]?o:o[i(226)]?e[i(272)](s):o[i(276)]?e[i(224)](s):r[i(230)](o)[i(279)],this[i(273)]=r[i(247)](i(269)+(0,l.uid)(),{usingOperation:!1,affectsData:!1,range:new p.Range(a)}),this[i(273)].on(i(235),(()=>{const t=i;t(270)===this[t(273)][t(277)]()[t(242)][t(237)]&&this[t(305)][t(263)]()}))})),this[t(284)]=!0,this[t(254)]()}[h(282)](){const t=h,r=this[t(240)][t(222)];r[t(213)][t(304)](this[t(273)])&&r[t(275)](this[t(287)],(r=>{const e=t;r[e(215)](this[e(273)])})),this[t(273)]=null,this[t(287)]=null,this[t(305)]=null,this[t(284)]=!1,this[t(254)]()}[h(225)]({url:t,file:r,serviceConfig:e}){const n=h,i=this[n(240)][n(274)][n(246)](n(278))[n(296)](),o=new FormData;o[n(292)](n(302),JSON[n(306)](e)),o[n(292)](n(271),r);const s={method:n(299),headers:{},body:o,signal:this[n(305)][n(236)]};return i&&(s[n(250)][n(285)]=i[n(280)]),fetch(t,s)}[h(301)](t){const r=h;return t.ok?t[r(241)]()[r(220)]((t=>{const e=r;this[e(240)][e(222)][e(213)][e(304)](this[e(273)])&&e(270)!==this[e(273)][e(277)]()[e(242)][e(237)]&&this[e(207)](e(228),t)})):Promise[r(262)]()}[h(297)](){const t=h;if(this[t(305)][t(236)][t(252)])return void(0,l.logWarning)(t(256));const r=this[t(240)],e=i(r[t(253)],t(212));r[t(274)][t(246)](t(286))[t(266)](e),(0,l.logError)(t(221))}}const I=g;function g(t,r){const e=w();return(g=function(t,r){return e[t-=335]})(t,r)}!function(t){const r=g,e=t();for(;;)try{if(676321===-parseInt(r(341))/1+parseInt(r(357))/2+parseInt(r(363))/3*(parseInt(r(336))/4)+-parseInt(r(347))/5*(parseInt(r(353))/6)+parseInt(r(366))/7+parseInt(r(368))/8*(parseInt(r(345))/9)+parseInt(r(339))/10*(-parseInt(r(349))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(w);class v extends t.Plugin{static get[I(337)](){return I(346)}static get[I(350)](){return!0}static get[I(343)](){return!0}static get[I(362)](){const t=I;return[r.Notification,u.ClipboardPipeline,t(356)]}constructor(t){const r=I;super(t),this[r(365)]=null}async[I(340)](){const t=I,r=this[t(367)];r[t(335)][t(360)](t(364),{converterUrl:t(344),tokenUrl:(r[t(335)][t(351)](t(342))||{})[t(359)],formatting:{resets:t(354),defaults:t(354),styles:t(352)}}),r[t(358)][t(361)](t(364),new m(r));const{tokenUrl:e}=r[t(335)][t(351)](t(364));if(e){const{tokenUrl:n}=r[t(335)][t(351)](t(342))||{};this[t(365)]=e===n?r[t(348)][t(351)](t(356))[t(369)]:await r[t(348)][t(351)](t(356))[t(338)](e)}}[I(355)](){return this[I(365)]}}function w(){const t=["https://docx-converter.cke-cs.com/v2/convert/docx-html","108027yCWGSA","ImportWordEditing","830IRxYwn","plugins","11ptVxhW","isOfficialPlugin","get","inline","11694vsTDYf","none","getToken","CloudServices","1244164ftMBpV","commands","tokenUrl","define","add","requires","129rhMBAE","importWord","_token","3620057NUhpMm","editor","808TIEaAt","token","config","109936cJNMfY","pluginName","registerTokenUrl","15218510hLzbvQ","init","1011642nFfUYs","cloudServices","isPremiumPlugin"];return(w=function(){return t})()}var b=W;function W(t,r){var e=y();return(W=function(t,r){return e[t-=462]})(t,r)}function y(){var t=["10bXVYku","5867778Spfapp","8792LpCIfV","1YvuIvj","3987CmEcBe","6958259IqFyAt","isPremiumPlugin","232756USbGKV","ImportWord","293842yYkhfI","pluginName","3311730imuyic","47487DeURrQ","requires","180dAdiov","isOfficialPlugin"];return(y=function(){return t})()}!function(t){for(var r=W,e=t();;)try{if(553816===-parseInt(r(476))/1*(-parseInt(r(466))/2)+parseInt(r(468))/3+parseInt(r(464))/4*(-parseInt(r(473))/5)+parseInt(r(474))/6+-parseInt(r(462))/7+parseInt(r(475))/8*(-parseInt(r(477))/9)+-parseInt(r(471))/10*(parseInt(r(469))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(y);class x extends t.Plugin{static get[b(467)](){return b(465)}static get[b(472)](){return!0}static get[b(463)](){return!0}static get[b(470)](){return[v,a]}}function k(){var t=["882VJrxKT","476464ZbJwUS","17472LENWAI","1244656IuKeNr","12WuuhNC","20rfDwvD","5IkYkXS","4551283MCRQee","1195326lYiSyP","438255wsvwuD","300797ILTRfh"];return(k=function(){return t})()}function A(t,r){var e=k();return(A=function(t,r){return e[t-=101]})(t,r)}!function(t){for(var r=A,e=t();;)try{if(240231===-parseInt(r(104))/1+parseInt(r(107))/2+-parseInt(r(103))/3+-parseInt(r(109))/4*(-parseInt(r(101))/5)+-parseInt(r(110))/6*(parseInt(r(105))/7)+parseInt(r(108))/8*(-parseInt(r(106))/9)+parseInt(r(111))/10*(parseInt(r(102))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(k)})(),(window.CKEditor5=window.CKEditor5||{}).importWord=n})();
|
|
5
|
+
*/(()=>{var t={237:t=>{"use strict";t.exports=CKEditor5.dll},311:(t,e,r)=>{t.exports=r(237)("./src/ui.js")},331:(t,e,r)=>{t.exports=r(237)("./src/clipboard.js")},584:(t,e,r)=>{t.exports=r(237)("./src/utils.js")},782:(t,e,r)=>{t.exports=r(237)("./src/core.js")},783:(t,e,r)=>{t.exports=r(237)("./src/engine.js")}},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:()=>x,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-=485]})(t,e)}function a(){const t=["36537OpbTtl","Import from Word","71268qOEBzl","editor","set","_createButton","importWord","tooltip","2316280sUzzhE","editing","14114682EFJzvO","bind","locale","done","get","18eUtMjb","isOfficialPlugin","commands","view","pluginName","isEnabled","Importing Word document","execute","isVisible","label","892557CWOWwk","init","isOn","add","385IYebmg","iconView","isPremiumPlugin","children","componentFactory","485890ozcsPh","focus","menuBar:importWord","7568992sMIMSR","ImportWordUI","isBusy","application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.openxmlformats-officedocument.wordprocessingml.template"];return(a=function(){return t})()}!function(t){const e=s,r=t();for(;;)try{if(482090===-parseInt(e(520))/1*(-parseInt(e(494))/2)+-parseInt(e(504))/3+parseInt(e(487))/4+-parseInt(e(513))/5+-parseInt(e(522))/6*(parseInt(e(508))/7)+-parseInt(e(516))/8+parseInt(e(489))/9)break;r.push(r.shift())}catch(t){r.push(r.shift())}}(a);class c extends t.Plugin{static get[o(498)](){return o(517)}static get[o(495)](){return!0}static get[o(510)](){return!0}[o(505)](){const t=o,r=this[t(523)];r.ui[t(512)][t(507)](t(485),(()=>{const n=t,i=this[n(525)](e.FileDialogButtonView),o=r[n(496)][n(493)](n(485));return i[n(490)](n(506)).to(o,n(518)),i[n(486)]=!0,i})),r.ui[t(512)][t(507)](t(515),(()=>this[t(525)](e.MenuBarMenuListItemFileDialogButtonView)))}[o(525)](t){const r=o,n=this[r(523)],s=n[r(496)][r(493)](r(485)),a=new t(n[r(491)]),c=new e.SpinnerView;return a[r(524)]({acceptedType:r(519)}),a[r(524)]({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(490)](r(499)).to(s),a[r(490)](r(503)).to(s,r(518),(t=>i(n[r(491)],r(t?500:521)))),c[r(490)](r(502)).to(s,r(518)),a[r(509)][r(490)](r(502)).to(s,r(518),(t=>!t)),a[r(511)][r(507)](c),a.on(r(492),((t,e)=>{const i=r;n[i(501)](i(485),e[0],{}),n[i(488)][i(497)][i(514)]()})),a}}var u=r(331),p=r(783),l=r(584);function d(t,e){const r=f();return(d=function(t,e){return r[t-=228]})(t,e)}const h=d;function f(){const t=["7dSChsD","import-word-plugin-import-cancelled","parent","abort","Authorization","model","rootName","selection","clipboardInput","showWarning","low","_undoStepBatch","stopListening","getRange","merge_fields","Notification","headers","setSelection","isAtStart","import-word-plugin-conversion-failed","fire","plugins","removeMarker","reject","1045696fPksIM","json","3505syJaqq","has","split","2024edcNiO","POST","schema","refresh","_handleImportResponse","DateTimeFormat","view","_cleanUpAfterImport","then","timeZone","getFirstPosition","_sendImportRequest","bind","setData","24017832jpbroB","getSelectedBlocks","catch","953205rAvSas","deleteContent","element","position","An error occurred while importing the Word file.","paragraph","checkChild","1613010byvVdS","isAtEnd","_handleImportFailure","change:range","isEmpty","resolvedOptions","565312ywMseK","set","ImportWordEditing","converterUrl","_prepareForImport","editor","locale","$graveyard","addMarker","importWord:","MergeFields","root","importWord","createPositionAfter","_checkEnabled","config","_importMarker","isEnabled","enqueueChange","_abortController","isBusy","html","isCollapsed","dataInsert","markers","getToken","signal","document","createPositionBefore","editing","createBatch","text/html","execute","get","resolve","formatting","aborted","mergeFields","8986050KoyCHw","stringify","finally","file","value"];return(f=function(){return t})()}!function(t){const e=d,r=t();for(;;)try{if(762097===parseInt(e(231))/1+-parseInt(e(327))/2+parseInt(e(320))/3+parseInt(e(303))/4*(-parseInt(e(300))/5)+parseInt(e(269))/6*(-parseInt(e(274))/7)+-parseInt(e(298))/8+parseInt(e(317))/9)break;r.push(r.shift())}catch(t){r.push(r.shift())}}(f);class m extends t.Command{constructor(t){const e=d;super(t),this[e(232)](e(251),!1),this[e(247)]=null,this[e(285)]=null,this[e(250)]=null,this.on(e(254),((r,n)=>{const i=e,o=new DataTransfer;o[i(316)](i(262),n[i(252)]);const s=this[i(247)][i(287)]();this[i(236)][i(279)][i(249)](this[i(285)],(e=>{const r=i;this[r(247)][r(286)](),e[r(291)](s),t[r(260)][r(309)][r(258)][r(294)](r(282),{dataTransfer:o})}))}),{priority:e(284)})}[h(306)](){const t=h;this[t(248)]=this[t(245)]()}[h(263)](t,e={}){const r=h;if(this[r(251)])return Promise[r(265)]();const n=this[r(236)][r(246)][r(264)](r(243));if(this[r(236)][r(295)][r(301)](r(241))){const{prefix:t,suffix:n}=this[r(236)][r(246)][r(264)](r(268));e[r(288)]={prefix:t,suffix:n}}const i={url:n[r(234)],file:t,serviceConfig:{...e,formatting:n[r(266)],timezone:(new(Intl[r(308)]))[r(230)]()[r(312)]}};return this[r(235)](),this[r(314)](i)[r(311)](this[r(307)][r(315)](this))[r(319)](this[r(329)][r(315)](this))[r(271)](this[r(310)][r(315)](this))}[h(245)](){const t=h;if(this[t(251)])return!1;const e=this[t(236)][t(279)],r=e[t(305)],n=e[t(258)][t(281)],i=(0,l.first)(n[t(318)]());return!!i&&r[t(326)](i[t(276)],t(325))}[h(235)](){const t=h,e=this[t(236)],r=e[t(279)],n=r[t(258)][t(281)];this[t(250)]=new AbortController,this[t(285)]=e[t(279)][t(261)]({isUndoable:!0}),r[t(249)](this[t(285)],(e=>{const i=t;n[i(253)]||r[i(321)](n,{leaveUnmerged:!0});const o=n[i(313)](),s=(0,l.first)(n[i(318)]());let a;a=s.is(i(322),i(325))&&s[i(229)]?o:o[i(292)]?r[i(259)](s):o[i(328)]?r[i(244)](s):e[i(302)](o)[i(323)],this[i(247)]=e[i(239)](i(240)+(0,l.uid)(),{usingOperation:!1,affectsData:!1,range:new p.Range(a)}),this[i(247)].on(i(228),(()=>{const t=i;t(238)===this[t(247)][t(287)]()[t(242)][t(280)]&&this[t(250)][t(277)]()}))})),this[t(251)]=!0,this[t(306)]()}[h(310)](){const t=h,e=this[t(236)][t(279)];e[t(255)][t(301)](this[t(247)])&&e[t(249)](this[t(285)],(e=>{const r=t;e[r(296)](this[r(247)])})),this[t(247)]=null,this[t(285)]=null,this[t(250)]=null,this[t(251)]=!1,this[t(306)]()}[h(314)]({url:t,file:e,serviceConfig:r}){const n=h,i=this[n(236)][n(295)][n(264)](n(233))[n(256)](),o=new FormData;o[n(232)](n(246),JSON[n(270)](r)),o[n(232)](n(272),e);const s={method:n(304),headers:{},body:o,signal:this[n(250)][n(257)]};return i&&(s[n(290)][n(278)]=i[n(273)]),fetch(t,s)}[h(307)](t){const e=h;return t.ok?t[e(299)]()[e(311)]((t=>{const r=e;this[r(236)][r(279)][r(255)][r(301)](this[r(247)])&&r(238)!==this[r(247)][r(287)]()[r(242)][r(280)]&&this[r(294)](r(254),t)})):Promise[e(297)]()}[h(329)](){const t=h;if(this[t(250)][t(257)][t(267)])return void(0,l.logWarning)(t(275));const e=this[t(236)],r=i(e[t(237)],t(324));e[t(295)][t(264)](t(289))[t(283)](r),(0,l.logError)(t(293))}}const g=I;function I(t,e){const r=v();return(I=function(t,e){return r[t-=270]})(t,e)}function v(){const t=["tokenUrl","pluginName","isOfficialPlugin","55jtUBmZ","add","5915EgAOWu","init","100839MsxQeK","getToken","CloudServices","707spKOkP","750498qJVHJa","get","_token","requires","cloudServices","116VCaQXe","4808PybSEG","editor","registerTokenUrl","token","config","define","203166FWmdGC","4IEWepw","3975876zrgPbL","inline","importWord","370rceqgx","https://docx-converter.cke-cs.com/v2/convert/docx-html","ImportWordEditing","plugins","commands","none","isPremiumPlugin","32826UDvtYB"];return(v=function(){return t})()}!function(t){const e=I,r=t();for(;;)try{if(642538===-parseInt(e(292))/1*(-parseInt(e(273))/2)+parseInt(e(284))/3*(-parseInt(e(301))/4)+parseInt(e(290))/5+-parseInt(e(296))/6+parseInt(e(295))/7*(parseInt(e(302))/8)+parseInt(e(272))/9*(-parseInt(e(277))/10)+parseInt(e(288))/11*(parseInt(e(274))/12))break;r.push(r.shift())}catch(t){r.push(r.shift())}}(v);class w extends t.Plugin{static get[g(286)](){return g(279)}static get[g(287)](){return!0}static get[g(283)](){return!0}static get[g(299)](){const t=g;return[e.Notification,u.ClipboardPipeline,t(294)]}constructor(t){const e=g;super(t),this[e(298)]=null}async[g(291)](){const t=g,e=this[t(303)];e[t(270)][t(271)](t(276),{converterUrl:t(278),tokenUrl:(e[t(270)][t(297)](t(300))||{})[t(285)],formatting:{resets:t(282),defaults:t(282),styles:t(275)}}),e[t(281)][t(289)](t(276),new m(e));const{tokenUrl:r}=e[t(270)][t(297)](t(276));if(r){const{tokenUrl:n}=e[t(270)][t(297)](t(300))||{};this[t(298)]=r===n?e[t(280)][t(297)](t(294))[t(305)]:await e[t(280)][t(297)](t(294))[t(304)](r)}}[g(293)](){return this[g(298)]}}var b=y;function y(t,e){var r=W();return(y=function(t,e){return r[t-=355]})(t,e)}function W(){var t=["2bULMxu","9602488rYyoej","ImportWord","3077690FwqtrQ","7gfaLNP","1705812tTxgvy","2808042URirme","isPremiumPlugin","888352ilSeXz","isOfficialPlugin","876367FlvkUq","207891kvLUsB","1110ALkzrJ","requires","pluginName"];return(W=function(){return t})()}!function(t){for(var e=y,r=t();;)try{if(673225===-parseInt(e(367))/1+-parseInt(e(357))/2*(parseInt(e(363))/3)+parseInt(e(365))/4+parseInt(e(360))/5+parseInt(e(362))/6*(parseInt(e(361))/7)+-parseInt(e(358))/8+-parseInt(e(368))/9*(-parseInt(e(369))/10))break;r.push(r.shift())}catch(t){r.push(r.shift())}}(W);class x extends t.Plugin{static get[b(356)](){return b(359)}static get[b(366)](){return!0}static get[b(364)](){return!0}static get[b(355)](){return[w,c]}}function k(t,e){var r=P();return(k=function(t,e){return r[t-=111]})(t,e)}function P(){var t=["8xYdKhU","2189564OvDeTl","3703335Qhwquh","6EFUgtU","21802TYaAtE","196BuJmEi","51351tVlUJs","2943kyGaxm","25332DBtenH","904900jlgcyt","20170vUABiA","7459802VaWYEe"];return(P=function(){return t})()}!function(t){for(var e=k,r=t();;)try{if(557141===-parseInt(e(119))/1+-parseInt(e(111))/2+-parseInt(e(116))/3*(-parseInt(e(115))/4)+parseInt(e(112))/5*(-parseInt(e(113))/6)+-parseInt(e(121))/7*(parseInt(e(122))/8)+parseInt(e(117))/9*(-parseInt(e(120))/10)+parseInt(e(114))/11*(parseInt(e(118))/12))break;r.push(r.shift())}catch(t){r.push(r.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 _0x25e6f4,Command as _0x4dd1a4}from'@ckeditor/ckeditor5-core/dist/index.js';import{FileDialogButtonView as _0x4ffce8,MenuBarMenuListItemFileDialogButtonView as _0x2fdcd3,SpinnerView as _0x3e4577,Notification as _0x47b459}from'@ckeditor/ckeditor5-ui/dist/index.js';import{ClipboardPipeline as _0x387e95}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{Range as _0x3bd882}from'@ckeditor/ckeditor5-engine/dist/index.js';import{first as _0xf6a22c,uid as _0x3a71ed,logWarning as _0x2b9013,logError as _0x33c479}from'@ckeditor/ckeditor5-utils/dist/index.js';function p(_0x1b949e,_0x476640){const t=_0x1b949e['t'];switch(_0x476640){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 _0x476640;}}class i extends _0x25e6f4{static get['pluginName'](){return'ImportWordUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x5a693a=this['editor'];_0x5a693a['ui']['componentFactory']['add']('importWord',()=>{const _0x4ee609=this['_createButton'](_0x4ffce8),_0x13b649=_0x5a693a['commands']['get']('importWord');return _0x4ee609['bind']('isOn')['to'](_0x13b649,'isBusy'),_0x4ee609['tooltip']=!0x0,_0x4ee609;}),_0x5a693a['ui']['componentFactory']['add']('menuBar:importWord',()=>this['_createButton'](_0x2fdcd3));}['_createButton'](_0x7f0701){const _0x522b09=this['editor'],_0x307afe=_0x522b09['commands']['get']('importWord'),_0x11392d=new _0x7f0701(_0x522b09['locale']),_0x189e5a=new _0x3e4577();return _0x11392d['set']({'acceptedType':'application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.openxmlformats-officedocument.wordprocessingml.template'}),_0x11392d['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'}),_0x11392d['bind']('isEnabled')['to'](_0x307afe),_0x11392d['bind']('label')['to'](_0x307afe,'isBusy',_0x1ff346=>p(_0x522b09['locale'],_0x1ff346?'Importing\x20Word\x20document':'Import\x20from\x20Word')),_0x189e5a['bind']('isVisible')['to'](_0x307afe,'isBusy'),_0x11392d['iconView']['bind']('isVisible')['to'](_0x307afe,'isBusy',_0x5134b1=>!_0x5134b1),_0x11392d['children']['add'](_0x189e5a),_0x11392d['on']('done',(_0x30f886,_0x5295ce)=>{_0x522b09['execute']('importWord',_0x5295ce[0x0],{}),_0x522b09['editing']['view']['focus']();}),_0x11392d;}}class d extends _0x4dd1a4{['_importMarker'];['_undoStepBatch'];['_abortController'];constructor(_0x44b009){super(_0x44b009),this['set']('isBusy',!0x1),this['_importMarker']=null,this['_undoStepBatch']=null,this['_abortController']=null,this['on']('dataInsert',(_0x1af412,_0x5a9be3)=>{const _0x595e10=new DataTransfer();_0x595e10['setData']('text/html',_0x5a9be3['html']);const _0x3bdcd1=this['_importMarker']['getRange']();this['editor']['model']['enqueueChange'](this['_undoStepBatch'],_0x17cf3e=>{this['_importMarker']['stopListening'](),_0x17cf3e['setSelection'](_0x3bdcd1),_0x44b009['editing']['view']['document']['fire']('clipboardInput',{'dataTransfer':_0x595e10});});},{'priority':'low'});}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x2954b3,_0x41e4e5={}){if(this['isBusy'])return Promise['resolve']();const _0x40ad64=this['editor']['config']['get']('importWord');if(this['editor']['plugins']['has']('MergeFields')){const {prefix:_0x354763,suffix:_0x3dfc81}=this['editor']['config']['get']('mergeFields');_0x41e4e5['merge_fields']={'prefix':_0x354763,'suffix':_0x3dfc81};}const _0x487332={'url':_0x40ad64['converterUrl'],'file':_0x2954b3,'serviceConfig':{..._0x41e4e5,'formatting':_0x40ad64['formatting'],'timezone':new Intl['DateTimeFormat']()['resolvedOptions']()['timeZone']}};return this['_prepareForImport'](),this['_sendImportRequest'](_0x487332)['then'](this['_handleImportResponse']['bind'](this))['catch'](this['_handleImportFailure']['bind'](this))['finally'](this['_cleanUpAfterImport']['bind'](this));}['_checkEnabled'](){if(this['isBusy'])return!0x1;const _0xce657b=this['editor']['model'],_0x4c64b2=_0xce657b['schema'],_0x4e8af3=_0xce657b['document']['selection'],_0x543955=_0xf6a22c(_0x4e8af3['getSelectedBlocks']());return!!_0x543955&&_0x4c64b2['checkChild'](_0x543955['parent'],'paragraph');}['_prepareForImport'](){const _0x1ca9f5=this['editor'],_0x2d4170=_0x1ca9f5['model'],_0x32398d=_0x2d4170['document']['selection'];this['_abortController']=new AbortController(),this['_undoStepBatch']=_0x1ca9f5['model']['createBatch']({'isUndoable':!0x0}),_0x2d4170['enqueueChange'](this['_undoStepBatch'],_0x162f6a=>{_0x32398d['isCollapsed']||_0x2d4170['deleteContent'](_0x32398d,{'leaveUnmerged':!0x0});const _0x30a6c3=_0x32398d['getFirstPosition'](),_0x1ee842=_0xf6a22c(_0x32398d['getSelectedBlocks']());let _0x5725d6;_0x5725d6=_0x1ee842['is']('element','paragraph')&&_0x1ee842['isEmpty']?_0x30a6c3:_0x30a6c3['isAtStart']?_0x2d4170['createPositionBefore'](_0x1ee842):_0x30a6c3['isAtEnd']?_0x2d4170['createPositionAfter'](_0x1ee842):_0x162f6a['split'](_0x30a6c3)['position'],this['_importMarker']=_0x162f6a['addMarker']('importWord:'+_0x3a71ed(),{'usingOperation':!0x1,'affectsData':!0x1,'range':new _0x3bd882(_0x5725d6)}),this['_importMarker']['on']('change:range',()=>{'$graveyard'===this['_importMarker']['getRange']()['root']['rootName']&&this['_abortController']['abort']();});}),this['isBusy']=!0x0,this['refresh']();}['_cleanUpAfterImport'](){const _0x51e894=this['editor']['model'];_0x51e894['markers']['has'](this['_importMarker'])&&_0x51e894['enqueueChange'](this['_undoStepBatch'],_0xf52af2=>{_0xf52af2['removeMarker'](this['_importMarker']);}),this['_importMarker']=null,this['_undoStepBatch']=null,this['_abortController']=null,this['isBusy']=!0x1,this['refresh']();}['_sendImportRequest']({url:_0xa1778c,file:_0x32f287,serviceConfig:_0xd5c09e}){const _0xeeb0da=this['editor']['plugins']['get']('ImportWordEditing')['getToken'](),_0x5679b7=new FormData();_0x5679b7['set']('config',JSON['stringify'](_0xd5c09e)),_0x5679b7['set']('file',_0x32f287);const _0x5c46b0={'method':'POST','headers':{},'body':_0x5679b7,'signal':this['_abortController']['signal']};return _0xeeb0da&&(_0x5c46b0['headers']['Authorization']=_0xeeb0da['value']),fetch(_0xa1778c,_0x5c46b0);}['_handleImportResponse'](_0x4b71ba){return _0x4b71ba['ok']?_0x4b71ba['json']()['then'](_0x514120=>{if(!this['editor']['model']['markers']['has'](this['_importMarker']))return;'$graveyard'!==this['_importMarker']['getRange']()['root']['rootName']&&this['fire']('dataInsert',_0x514120);}):Promise['reject']();}['_handleImportFailure'](){if(this['_abortController']['signal']['aborted'])return void _0x2b9013('import-word-plugin-import-cancelled');const _0x8b8ae7=this['editor'],_0xdffd2a=p(_0x8b8ae7['locale'],'An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.');_0x8b8ae7['plugins']['get']('Notification')['showWarning'](_0xdffd2a),_0x33c479('import-word-plugin-conversion-failed');}}class e extends _0x25e6f4{['_token'];static get['pluginName'](){return'ImportWordEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x47b459,_0x387e95,'CloudServices'];}constructor(_0x5184da){super(_0x5184da),this['_token']=null;}async['init'](){const _0x52cfd2=this['editor'];_0x52cfd2['config']['define']('importWord',{'converterUrl':'https://docx-converter.cke-cs.com/v2/convert/docx-html','tokenUrl':(_0x52cfd2['config']['get']('cloudServices')||{})['tokenUrl'],'formatting':{'resets':'none','defaults':'none','styles':'inline'}}),_0x52cfd2['commands']['add']('importWord',new d(_0x52cfd2));const {tokenUrl:_0xd74cf8}=_0x52cfd2['config']['get']('importWord');if(_0xd74cf8){const {tokenUrl:_0x238f72}=_0x52cfd2['config']['get']('cloudServices')||{};this['_token']=_0xd74cf8===_0x238f72?_0x52cfd2['plugins']['get']('CloudServices')['token']:await _0x52cfd2['plugins']['get']('CloudServices')['registerTokenUrl'](_0xd74cf8);}}['getToken'](){return this['_token'];}}class o extends _0x25e6f4{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':_0x1dcdde=>0x1!=_0x1dcdde}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x11c40e=>{const {af:{dictionary:_0xf27924,getPluralForm:_0x5a5797}}={'af':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x4cd730=>0x1!=_0x4cd730}};_0x11c40e['af']||={'dictionary':{},'getPluralForm':null},_0x11c40e['af']['dictionary']=Object['assign'](_0x11c40e['af']['dictionary'],_0xf27924),_0x11c40e['af']['getPluralForm']=_0x5a5797;})(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':_0x5c706e=>0x0==_0x5c706e?0x0:0x1==_0x5c706e?0x1:0x2==_0x5c706e?0x2:_0x5c706e%0x64>=0x3&&_0x5c706e%0x64<=0xa?0x3:_0x5c706e%0x64>=0xb?0x4:0x5}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x3edb5d=>{const {ar:{dictionary:_0x203773,getPluralForm:_0x2722f7}}={'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':_0x369059=>0x0==_0x369059?0x0:0x1==_0x369059?0x1:0x2==_0x369059?0x2:_0x369059%0x64>=0x3&&_0x369059%0x64<=0xa?0x3:_0x369059%0x64>=0xb?0x4:0x5}};_0x3edb5d['ar']||={'dictionary':{},'getPluralForm':null},_0x3edb5d['ar']['dictionary']=Object['assign'](_0x3edb5d['ar']['dictionary'],_0x203773),_0x3edb5d['ar']['getPluralForm']=_0x2722f7;})(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':_0xfe22a8=>0x1!=_0xfe22a8}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x29a5f7=>{const {ast:{dictionary:_0xdc25fb,getPluralForm:_0x50668a}}={'ast':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x3f0da7=>0x1!=_0x3f0da7}};_0x29a5f7['ast']||={'dictionary':{},'getPluralForm':null},_0x29a5f7['ast']['dictionary']=Object['assign'](_0x29a5f7['ast']['dictionary'],_0xdc25fb),_0x29a5f7['ast']['getPluralForm']=_0x50668a;})(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':_0x7a4620=>0x1!=_0x7a4620}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x3fa2f8=>{const {az:{dictionary:_0x32a53b,getPluralForm:_0x15d588}}={'az':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x225932=>0x1!=_0x225932}};_0x3fa2f8['az']||={'dictionary':{},'getPluralForm':null},_0x3fa2f8['az']['dictionary']=Object['assign'](_0x3fa2f8['az']['dictionary'],_0x32a53b),_0x3fa2f8['az']['getPluralForm']=_0x15d588;})(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':_0x423572=>0x1!=_0x423572}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x33ce28=>{const {bg:{dictionary:_0x298af3,getPluralForm:_0x377fc5}}={'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':_0x352544=>0x1!=_0x352544}};_0x33ce28['bg']||={'dictionary':{},'getPluralForm':null},_0x33ce28['bg']['dictionary']=Object['assign'](_0x33ce28['bg']['dictionary'],_0x298af3),_0x33ce28['bg']['getPluralForm']=_0x377fc5;})(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':_0x2242d7=>0x1!=_0x2242d7}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x33d05e=>{const {bn:{dictionary:_0x2c4d87,getPluralForm:_0x18bfdd}}={'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':_0x27abc1=>0x1!=_0x27abc1}};_0x33d05e['bn']||={'dictionary':{},'getPluralForm':null},_0x33d05e['bn']['dictionary']=Object['assign'](_0x33d05e['bn']['dictionary'],_0x2c4d87),_0x33d05e['bn']['getPluralForm']=_0x18bfdd;})(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':_0x29ea9c=>_0x29ea9c%0xa==0x1&&_0x29ea9c%0x64!=0xb?0x0:_0x29ea9c%0xa>=0x2&&_0x29ea9c%0xa<=0x4&&(_0x29ea9c%0x64<0xa||_0x29ea9c%0x64>=0x14)?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0xc3ec4d=>{const {bs:{dictionary:_0x382e16,getPluralForm:_0x11b087}}={'bs':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x46ecd5=>_0x46ecd5%0xa==0x1&&_0x46ecd5%0x64!=0xb?0x0:_0x46ecd5%0xa>=0x2&&_0x46ecd5%0xa<=0x4&&(_0x46ecd5%0x64<0xa||_0x46ecd5%0x64>=0x14)?0x1:0x2}};_0xc3ec4d['bs']||={'dictionary':{},'getPluralForm':null},_0xc3ec4d['bs']['dictionary']=Object['assign'](_0xc3ec4d['bs']['dictionary'],_0x382e16),_0xc3ec4d['bs']['getPluralForm']=_0x11b087;})(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':_0x4fbefe=>0x1!=_0x4fbefe}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x5e4421=>{const {ca:{dictionary:_0x179033,getPluralForm:_0x15f1a5}}={'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':_0x38b356=>0x1!=_0x38b356}};_0x5e4421['ca']||={'dictionary':{},'getPluralForm':null},_0x5e4421['ca']['dictionary']=Object['assign'](_0x5e4421['ca']['dictionary'],_0x179033),_0x5e4421['ca']['getPluralForm']=_0x15f1a5;})(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':_0x18c674=>0x1==_0x18c674?0x0:_0x18c674>=0x2&&_0x18c674<=0x4?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x305619=>{const {cs:{dictionary:_0x2c17c4,getPluralForm:_0x185528}}={'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':_0x272174=>0x1==_0x272174?0x0:_0x272174>=0x2&&_0x272174<=0x4?0x1:0x2}};_0x305619['cs']||={'dictionary':{},'getPluralForm':null},_0x305619['cs']['dictionary']=Object['assign'](_0x305619['cs']['dictionary'],_0x2c17c4),_0x305619['cs']['getPluralForm']=_0x185528;})(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':_0x1388d1=>0x1!=_0x1388d1}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0xa94541=>{const {da:{dictionary:_0x5c80fd,getPluralForm:_0x1b9e67}}={'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':_0x11ed64=>0x1!=_0x11ed64}};_0xa94541['da']||={'dictionary':{},'getPluralForm':null},_0xa94541['da']['dictionary']=Object['assign'](_0xa94541['da']['dictionary'],_0x5c80fd),_0xa94541['da']['getPluralForm']=_0x1b9e67;})(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':_0x124ad9=>0x1!=_0x124ad9}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x215fb6=>{const {'de-ch':{dictionary:_0x463099,getPluralForm:_0x323759}}={'de-ch':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x2fdf8e=>0x1!=_0x2fdf8e}};_0x215fb6['de-ch']||={'dictionary':{},'getPluralForm':null},_0x215fb6['de-ch']['dictionary']=Object['assign'](_0x215fb6['de-ch']['dictionary'],_0x463099),_0x215fb6['de-ch']['getPluralForm']=_0x323759;})(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':_0xd60b38=>0x1!=_0xd60b38}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0xabadd1=>{const {de:{dictionary:_0x29b5e6,getPluralForm:_0x5f36e7}}={'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':_0x54b4e1=>0x1!=_0x54b4e1}};_0xabadd1['de']||={'dictionary':{},'getPluralForm':null},_0xabadd1['de']['dictionary']=Object['assign'](_0xabadd1['de']['dictionary'],_0x29b5e6),_0xabadd1['de']['getPluralForm']=_0x5f36e7;})(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':_0x4e8577=>0x1!=_0x4e8577}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x134006=>{const {el:{dictionary:_0x205bd4,getPluralForm:_0x2cacc4}}={'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':_0x2965b1=>0x1!=_0x2965b1}};_0x134006['el']||={'dictionary':{},'getPluralForm':null},_0x134006['el']['dictionary']=Object['assign'](_0x134006['el']['dictionary'],_0x205bd4),_0x134006['el']['getPluralForm']=_0x2cacc4;})(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':_0x37cca8=>0x1!=_0x37cca8}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x3cfb55=>{const {'en-au':{dictionary:_0x7fa4cb,getPluralForm:_0x1a43dd}}={'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':_0x1f1072=>0x1!=_0x1f1072}};_0x3cfb55['en-au']||={'dictionary':{},'getPluralForm':null},_0x3cfb55['en-au']['dictionary']=Object['assign'](_0x3cfb55['en-au']['dictionary'],_0x7fa4cb),_0x3cfb55['en-au']['getPluralForm']=_0x1a43dd;})(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':_0x643a95=>0x1!=_0x643a95}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x1449f4=>{const {'en-gb':{dictionary:_0x52f2af,getPluralForm:_0x1f919f}}={'en-gb':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x300b12=>0x1!=_0x300b12}};_0x1449f4['en-gb']||={'dictionary':{},'getPluralForm':null},_0x1449f4['en-gb']['dictionary']=Object['assign'](_0x1449f4['en-gb']['dictionary'],_0x52f2af),_0x1449f4['en-gb']['getPluralForm']=_0x1f919f;})(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':_0x3de1ea=>0x1!=_0x3de1ea}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0xf040af=>{const {en:{dictionary:_0x2a2761,getPluralForm:_0x319141}}={'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':_0xe91d0b=>0x1!=_0xe91d0b}};_0xf040af['en']||={'dictionary':{},'getPluralForm':null},_0xf040af['en']['dictionary']=Object['assign'](_0xf040af['en']['dictionary'],_0x2a2761),_0xf040af['en']['getPluralForm']=_0x319141;})(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':_0x4b5850=>0x1!=_0x4b5850}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x257e7e=>{const {eo:{dictionary:_0xb2f626,getPluralForm:_0x2e8b04}}={'eo':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x13be71=>0x1!=_0x13be71}};_0x257e7e['eo']||={'dictionary':{},'getPluralForm':null},_0x257e7e['eo']['dictionary']=Object['assign'](_0x257e7e['eo']['dictionary'],_0xb2f626),_0x257e7e['eo']['getPluralForm']=_0x2e8b04;})(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':_0x47e6d9=>0x1!=_0x47e6d9}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x501c37=>{const {'es-co':{dictionary:_0x40a5a2,getPluralForm:_0x48e617}}={'es-co':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x561f6a=>0x1!=_0x561f6a}};_0x501c37['es-co']||={'dictionary':{},'getPluralForm':null},_0x501c37['es-co']['dictionary']=Object['assign'](_0x501c37['es-co']['dictionary'],_0x40a5a2),_0x501c37['es-co']['getPluralForm']=_0x48e617;})(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':_0x245418=>0x1!=_0x245418}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x310704=>{const {es:{dictionary:_0x4b58e7,getPluralForm:_0x1d85bd}}={'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':_0x5ccb1a=>0x1!=_0x5ccb1a}};_0x310704['es']||={'dictionary':{},'getPluralForm':null},_0x310704['es']['dictionary']=Object['assign'](_0x310704['es']['dictionary'],_0x4b58e7),_0x310704['es']['getPluralForm']=_0x1d85bd;})(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':_0x363814=>0x1!=_0x363814}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x4c1618=>{const {et:{dictionary:_0x204c78,getPluralForm:_0x1e2077}}={'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':_0x4fa93d=>0x1!=_0x4fa93d}};_0x4c1618['et']||={'dictionary':{},'getPluralForm':null},_0x4c1618['et']['dictionary']=Object['assign'](_0x4c1618['et']['dictionary'],_0x204c78),_0x4c1618['et']['getPluralForm']=_0x1e2077;})(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':_0x15e092=>0x1!=_0x15e092}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x352c35=>{const {eu:{dictionary:_0x1adc21,getPluralForm:_0xdaf910}}={'eu':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x27f282=>0x1!=_0x27f282}};_0x352c35['eu']||={'dictionary':{},'getPluralForm':null},_0x352c35['eu']['dictionary']=Object['assign'](_0x352c35['eu']['dictionary'],_0x1adc21),_0x352c35['eu']['getPluralForm']=_0xdaf910;})(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':_0x1b9694=>0x0}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x6fec87=>{const {fa:{dictionary:_0x31d2f8,getPluralForm:_0x235ddb}}={'fa':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x5c3ee3=>0x0}};_0x6fec87['fa']||={'dictionary':{},'getPluralForm':null},_0x6fec87['fa']['dictionary']=Object['assign'](_0x6fec87['fa']['dictionary'],_0x31d2f8),_0x6fec87['fa']['getPluralForm']=_0x235ddb;})(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':_0x53dc57=>0x1!=_0x53dc57}};
|