@ckeditor/ckeditor5-import-word 43.3.1-alpha.0 → 43.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/import-word.js +1 -1
- package/dist/index.js +1 -1
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +7 -7
- package/src/importword.js +1 -1
- package/src/importwordcommand.js +1 -1
- package/src/importwordediting.js +1 -1
- package/src/importwordui.js +1 -1
- package/src/index.js +1 -1
- package/src/utils/common-translations.js +1 -1
package/build/import-word.js
CHANGED
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
/*!
|
|
3
3
|
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
4
4
|
* For licensing, see LICENSE.md.
|
|
5
|
-
*/(()=>{var t={331:(t,r,e)=>{t.exports=e(237)("./src/clipboard.js")},782:(t,r,e)=>{t.exports=e(237)("./src/core.js")},783:(t,r,e)=>{t.exports=e(237)("./src/engine.js")},311:(t,r,e)=>{t.exports=e(237)("./src/ui.js")},584:(t,r,e)=>{t.exports=e(237)("./src/utils.js")},237:t=>{"use strict";t.exports=CKEditor5.dll}},r={};function e(n){var i=r[n];if(void 0!==i)return i.exports;var o=r[n]={exports:{}};return t[n](o,o.exports,e),o.exports}e.d=(t,r)=>{for(var n in r)e.o(r,n)&&!e.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:r[n]})},e.o=(t,r)=>Object.prototype.hasOwnProperty.call(t,r),e.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var n={};(()=>{"use strict";e.r(n),e.d(n,{ImportWord:()=>k,ImportWordEditing:()=>w,ImportWordUI:()=>c});var t=e(782),r=e(311);function i(t,r){const e=t.t;switch(r){case"Import from Word":return e("Import from Word");case"An error occurred while importing the Word file.":return e("An error occurred while importing the Word file.");case"Importing Word document":return e("Importing Word document");default:return r}}const o=a;function s(){const t=["isOfficialPlugin","menuBar:importWord","label","locale","add","editing","iconView","focus","ImportWordUI","9772ktTCZG","40941EXdMRr","isVisible","application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.openxmlformats-officedocument.wordprocessingml.template","_createButton","pluginName","4173468kXOJng","init","isOn","296590Uwvlzg","view","tooltip","401009DoaiSe","bind","isEnabled","get","88LfhRpe","editor","componentFactory","Importing Word document","children","8275840gJLfHL","isBusy","importWord","done","isPremiumPlugin","execute","41080ENjrHU","commands","Import from Word","167vQRinL","69WTNaLX","set"];return(s=function(){return t})()}function a(t,r){const e=s();return(a=function(t,r){return e[t-=117]})(t,r)}!function(t){const r=a,e=t();for(;;)try{if(490154===parseInt(r(125))/1*(parseInt(r(137))/2)+parseInt(r(126))/3*(parseInt(r(122))/4)+-parseInt(r(146))/5+-parseInt(r(143))/6+parseInt(r(149))/7*(-parseInt(r(153))/8)+-parseInt(r(138))/9+parseInt(r(158))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(s);class c extends t.Plugin{static get[o(142)](){return o(136)}static get[o(128)](){return!0}static get[o(120)](){return!0}[o(144)](){const t=o,e=this[t(154)];e.ui[t(155)][t(132)](t(118),(()=>{const n=t,i=this[n(141)](r.FileDialogButtonView),o=e[n(123)][n(152)](n(118));return i[n(150)](n(145)).to(o,n(117)),i[n(148)]=!0,i})),e.ui[t(155)][t(132)](t(129),(()=>this[t(141)](r.MenuBarMenuListItemFileDialogButtonView)))}[o(141)](t){const e=o,n=this[e(154)],s=n[e(123)][e(152)](e(118)),a=new t(n[e(131)]),c=new r.SpinnerView;return a[e(127)]({acceptedType:e(140)}),a[e(127)]({icon:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="m14 0 5 4.5v8.892l-1.5-1.8V6.5h-5v-5h-8v3H3V0h11Zm0 2v3h3.3L14 2Z"/><path d="M10.74 18a2.76 2.76 0 0 1-.469-.5H3V19h9.25v-.374A2.737 2.737 0 0 1 10.74 18Z"/><path d="M8.5 6a1.5 1.5 0 0 1 1.493 1.356L10 7.5v7a1.5 1.5 0 0 1-1.356 1.493L8.5 16h-7a1.5 1.5 0 0 1-1.493-1.356L0 14.5v-7a1.5 1.5 0 0 1 1.356-1.493L1.5 6h7ZM7.483 8.795l-.042.088-.986 2.534-.947-2.528-.043-.092a.601.601 0 0 0-1.042.008l-.042.093-.883 2.465-.937-2.475-.042-.089a.6.6 0 0 0-1.107.42l.027.093 1.514 4 .044.092a.6.6 0 0 0 1.041-.01l.041-.092.88-2.458.925 2.467.046.096a.602.602 0 0 0 1.032 0l.043-.09 1.554-4 .028-.093a.6.6 0 0 0-1.104-.43v.001ZM11.674 15.407a.75.75 0 1 0 1.152.96L14 14.96V20h1.5v-5.04l1.174 1.408a.75.75 0 1 0 1.152-.96l-2.346-2.816a.95.95 0 0 0-1.46 0l-2.346 2.815Z"/></svg>\n'}),a[e(150)](e(151)).to(s),a[e(150)](e(130)).to(s,e(117),(t=>i(n[e(131)],e(t?156:124)))),c[e(150)](e(139)).to(s,e(117)),a[e(134)][e(150)](e(139)).to(s,e(117),(t=>!t)),a[e(157)][e(132)](c),a.on(e(119),((t,r)=>{const i=e;n[i(121)](i(118),r[0],{}),n[i(133)][i(147)][i(135)]()})),a}}var u=e(331),p=e(783),l=e(584);const d=f;function h(){const t=["rootName","25794FUCjKV","parent","MergeFields","element","text/html","file","32144316koBeTb","_handleImportResponse","plugins","split","addMarker","change:range","model","fire","createPositionBefore","editor","has","_cleanUpAfterImport","693395wWIiWt","abort","formatting","ImportWordEditing","html","An error occurred while importing the Word file.","POST","mergeFields","document","value","2900770ybNlCo","aborted","Authorization","4CbirAj","catch","createBatch","clipboardInput","json","_abortController","timeZone","stopListening","execute","setData","root","resolvedOptions","$graveyard","reject","30eIPBdl","refresh","getToken","finally","getFirstPosition","_prepareForImport","stringify","import-word-plugin-conversion-failed","set","importWord","then","paragraph","isEnabled","getSelectedBlocks","setSelection","resolve","getRange","removeMarker","editing","DateTimeFormat","44fJVkrd","bind","get","createPositionAfter","3847818JLhmcB","isCollapsed","653556rqBAUF","4jkZUsy","isAtEnd","isBusy","enqueueChange","selection","isAtStart","importWord:","merge_fields","showWarning","_undoStepBatch","import-word-plugin-import-cancelled","deleteContent","headers","position","dataInsert","_handleImportFailure","isEmpty","low","136YZSahM","_sendImportRequest","converterUrl","Notification","markers","schema","signal","locale","_checkEnabled","_importMarker","view","checkChild","config","931959FafNeN"];return(h=function(){return t})()}function f(t,r){const e=h();return(f=function(t,r){return e[t-=169]})(t,r)}!function(t){const r=f,e=t();for(;;)try{if(738237===-parseInt(r(250))/1*(parseInt(r(210))/2)+parseInt(r(248))/3+parseInt(r(251))/4*(-parseInt(r(197))/5)+parseInt(r(224))/6*(-parseInt(r(177))/7)+-parseInt(r(269))/8*(-parseInt(r(179))/9)+-parseInt(r(207))/10*(parseInt(r(244))/11)+parseInt(r(185))/12)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(232)](r(253),!1),this[r(173)]=null,this[r(260)]=null,this[r(215)]=null,this.on(r(265),((e,n)=>{const i=r,o=new DataTransfer;o[i(219)](i(183),n[i(201)]);const s=this[i(173)][i(240)]();this[i(194)][i(191)][i(254)](this[i(260)],(r=>{const e=i;this[e(173)][e(217)](),r[e(238)](s),t[e(242)][e(174)][e(205)][e(192)](e(213),{dataTransfer:o})}))}),{priority:r(268)})}[d(225)](){const t=d;this[t(236)]=this[t(172)]()}[d(218)](t,r={}){const e=d;if(this[e(253)])return Promise[e(239)]();const n=this[e(194)][e(176)][e(246)](e(233));if(this[e(194)][e(187)][e(195)](e(181))){const{prefix:t,suffix:n}=this[e(194)][e(176)][e(246)](e(204));r[e(258)]={prefix:t,suffix:n}}const i={url:n[e(271)],file:t,serviceConfig:{...r,formatting:n[e(199)],timezone:(new(Intl[e(243)]))[e(221)]()[e(216)]}};return this[e(229)](),this[e(270)](i)[e(234)](this[e(186)][e(245)](this))[e(211)](this[e(266)][e(245)](this))[e(227)](this[e(196)][e(245)](this))}[d(172)](){const t=d;if(this[t(253)])return!1;const r=this[t(194)][t(191)],e=r[t(169)],n=r[t(205)][t(255)],i=(0,l.first)(n[t(237)]());return!!i&&e[t(175)](i[t(180)],t(235))}[d(229)](){const t=d,r=this[t(194)],e=r[t(191)],n=e[t(205)][t(255)];this[t(215)]=new AbortController,this[t(260)]=r[t(191)][t(212)]({isUndoable:!0}),e[t(254)](this[t(260)],(r=>{const i=t;n[i(249)]||e[i(262)](n,{leaveUnmerged:!0});const o=n[i(228)](),s=(0,l.first)(n[i(237)]());let a;a=s.is(i(182),i(235))&&s[i(267)]?o:o[i(256)]?e[i(193)](s):o[i(252)]?e[i(247)](s):r[i(188)](o)[i(264)],this[i(173)]=r[i(189)](i(257)+(0,l.uid)(),{usingOperation:!1,affectsData:!1,range:new p.Range(a)}),this[i(173)].on(i(190),(()=>{const t=i;t(222)===this[t(173)][t(240)]()[t(220)][t(178)]&&this[t(215)][t(198)]()}))})),this[t(253)]=!0,this[t(225)]()}[d(196)](){const t=d,r=this[t(194)][t(191)];r[t(273)][t(195)](this[t(173)])&&r[t(254)](this[t(260)],(r=>{const e=t;r[e(241)](this[e(173)])})),this[t(173)]=null,this[t(260)]=null,this[t(215)]=null,this[t(253)]=!1,this[t(225)]()}[d(270)]({url:t,file:r,serviceConfig:e}){const n=d,i=this[n(194)][n(187)][n(246)](n(200))[n(226)](),o=new FormData;o[n(232)](n(176),JSON[n(230)](e)),o[n(232)](n(184),r);const s={method:n(203),headers:{},body:o,signal:this[n(215)][n(170)]};return i&&(s[n(263)][n(209)]=i[n(206)]),fetch(t,s)}[d(186)](t){const r=d;return t.ok?t[r(214)]()[r(234)]((t=>{const e=r;this[e(194)][e(191)][e(273)][e(195)](this[e(173)])&&e(222)!==this[e(173)][e(240)]()[e(220)][e(178)]&&this[e(192)](e(265),t)})):Promise[r(223)]()}[d(266)](){const t=d;if(this[t(215)][t(170)][t(208)])return void(0,l.logWarning)(t(261));const r=this[t(194)],e=i(r[t(171)],t(202));r[t(187)][t(246)](t(272))[t(259)](e),(0,l.logError)(t(231))}}const g=v;function I(){const t=["15278049TNfEZQ","2879HGIWNp","_token","https://docx-converter.cke-cs.com/v2/convert/docx-html","646udQAVL","registerTokenUrl","12155668JNWjXc","tokenUrl","add","52433320WiBaTz","getToken","CloudServices","config","911255XvTcAT","pluginName","token","3308463UNrqxb","811608wtrarh","editor","isPremiumPlugin","requires","importWord","18VZEVJV","11JgxcUj","inline","isOfficialPlugin","cloudServices","plugins","8QNvwTI","none","ImportWordEditing","init","commands","get","define"];return(I=function(){return t})()}function v(t,r){const e=I();return(v=function(t,r){return e[t-=269]})(t,r)}!function(t){const r=v,e=t();for(;;)try{if(973146===-parseInt(r(282))/1*(-parseInt(r(285))/2)+parseInt(r(297))/3+parseInt(r(298))/4+-parseInt(r(294))/5*(-parseInt(r(303))/6)+parseInt(r(287))/7+parseInt(r(274))/8*(parseInt(r(281))/9)+-parseInt(r(290))/10*(parseInt(r(269))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(I);class w extends t.Plugin{static get[g(295)](){return g(276)}static get[g(271)](){return!0}static get[g(300)](){return!0}static get[g(301)](){const t=g;return[r.Notification,u.ClipboardPipeline,t(292)]}constructor(t){const r=g;super(t),this[r(283)]=null}async[g(277)](){const t=g,r=this[t(299)];r[t(293)][t(280)](t(302),{converterUrl:t(284),tokenUrl:(r[t(293)][t(279)](t(272))||{})[t(288)],formatting:{resets:t(275),defaults:t(275),styles:t(270)}}),r[t(278)][t(289)](t(302),new m(r));const{tokenUrl:e}=r[t(293)][t(279)](t(302));if(e){const{tokenUrl:n}=r[t(293)][t(279)](t(272))||{};this[t(283)]=e===n?r[t(273)][t(279)](t(292))[t(296)]:await r[t(273)][t(279)](t(292))[t(286)](e)}}[g(291)](){return this[g(283)]}}var b=W;function W(t,r){var e=y();return(W=function(t,r){return e[t-=435]})(t,r)}function y(){var t=["requires","491425XWGLHZ","1130016JjopuS","pluginName","isPremiumPlugin","ImportWord","209974ADfgUg","3NtGACf","28LeasNj","2037240SiQPmN","210969nYckoE","isOfficialPlugin","5550216Golzjp","8170128rGFDaM"];return(y=function(){return t})()}!function(t){for(var r=W,e=t();;)try{if(533428===-parseInt(r(436))/1+-parseInt(r(446))/2*(-parseInt(r(447))/3)+parseInt(r(448))/4*(parseInt(r(441))/5)+-parseInt(r(442))/6+parseInt(r(438))/7+parseInt(r(435))/8+-parseInt(r(439))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(y);class k extends t.Plugin{static get[b(443)](){return b(445)}static get[b(437)](){return!0}static get[b(444)](){return!0}static get[b(440)](){return[w,c]}}function x(t,r){var e=P();return(x=function(t,r){return e[t-=300]})(t,r)}function P(){var t=["108mvxSPw","783884uVIUSd","103095wXUPrV","1096470sjDfhZ","340310PGObkB","26ubLtVl","77ZVAmbd","251647HhsJGK","10qYIFRy","176424HsacTB","876MZpunP","38726JcUSdd"];return(P=function(){return t})()}!function(t){for(var r=x,e=t();;)try{if(272066===parseInt(r(303))/1*(-parseInt(r(309))/2)+-parseInt(r(300))/3+-parseInt(r(311))/4*(parseInt(r(306))/5)+parseInt(r(301))/6+parseInt(r(304))/7*(-parseInt(r(307))/8)+parseInt(r(310))/9*(-parseInt(r(302))/10)+-parseInt(r(305))/11*(-parseInt(r(308))/12))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(P)})(),(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:()=>x,ImportWordEditing:()=>w,ImportWordUI:()=>c});var t=e(782),r=e(311);function i(t,r){const e=t.t;switch(r){case"Import from Word":return e("Import from Word");case"An error occurred while importing the Word file.":return e("An error occurred while importing the Word file.");case"Importing Word document":return e("Importing Word document");default:return r}}const o=s;function s(t,r){const e=a();return(s=function(t,r){return e[t-=429]})(t,r)}function a(){const t=["826500QzzBti","focus","application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.openxmlformats-officedocument.wordprocessingml.template","273704cmgFaB","5650cFSwRG","_createButton","1097634IiWMZT","commands","4869018JwzeaT","iconView","Importing Word document","editing","1514723UtqZZc","Import from Word","menuBar:importWord","isPremiumPlugin","40NeMyiN","isBusy","importWord","view","bind","isOfficialPlugin","27lCXFfX","label","1855128FlgWXx","done","1SCfVIY","tooltip","isOn","locale","init","children","execute","componentFactory","isEnabled","isVisible","pluginName","editor","add","set","get","ImportWordUI","1312irByYN"];return(a=function(){return t})()}!function(t){const r=s,e=t();for(;;)try{if(443559===parseInt(r(458))/1*(-parseInt(r(435))/2)+parseInt(r(432))/3+-parseInt(r(431))/4*(parseInt(r(436))/5)+-parseInt(r(438))/6+-parseInt(r(444))/7+parseInt(r(456))/8*(-parseInt(r(454))/9)+parseInt(r(448))/10*(parseInt(r(440))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(a);class c extends t.Plugin{static get[o(468)](){return o(430)}static get[o(453)](){return!0}static get[o(447)](){return!0}[o(462)](){const t=o,e=this[t(469)];e.ui[t(465)][t(470)](t(450),(()=>{const n=t,i=this[n(437)](r.FileDialogButtonView),o=e[n(439)][n(429)](n(450));return i[n(452)](n(460)).to(o,n(449)),i[n(459)]=!0,i})),e.ui[t(465)][t(470)](t(446),(()=>this[t(437)](r.MenuBarMenuListItemFileDialogButtonView)))}[o(437)](t){const e=o,n=this[e(469)],s=n[e(439)][e(429)](e(450)),a=new t(n[e(461)]),c=new r.SpinnerView;return a[e(471)]({acceptedType:e(434)}),a[e(471)]({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(452)](e(466)).to(s),a[e(452)](e(455)).to(s,e(449),(t=>i(n[e(461)],e(t?442:445)))),c[e(452)](e(467)).to(s,e(449)),a[e(441)][e(452)](e(467)).to(s,e(449),(t=>!t)),a[e(463)][e(470)](c),a.on(e(457),((t,r)=>{const i=e;n[i(464)](i(450),r[0],{}),n[i(443)][i(451)][i(433)]()})),a}}var p=e(331),u=e(783),l=e(584);function h(t,r){const e=f();return(h=function(t,r){return e[t-=186]})(t,r)}const d=h;function f(){const t=["isBusy","ImportWordEditing","resolve","bind","plugins","then","formatting","showWarning","file","setSelection","split","deleteContent","editor","element","removeMarker","MergeFields","_handleImportResponse","catch","createBatch","paragraph","checkChild","editing","low","selection","position","importWord:","model","Authorization","57765fcUJMw","_abortController","_cleanUpAfterImport","_checkEnabled","document","5MvjVHV","createPositionAfter","$graveyard","10800AebJVL","headers","clipboardInput","16OLJRGi","signal","abort","631694QoldAp","execute","text/html","isAtEnd","mergeFields","_handleImportFailure","setData","POST","getToken","json","fire","set","_importMarker","20880ACOXLt","has","resolvedOptions","html","18720CkSDER","Notification","reject","isEnabled","DateTimeFormat","finally","get","createPositionBefore","2967309HUAmAS","_undoStepBatch","71cyTxHJ","_prepareForImport","An error occurred while importing the Word file.","value","isCollapsed","getSelectedBlocks","view","_sendImportRequest","2826384IDqDoG","stopListening","6UrerMP","importWord","aborted","locale","merge_fields","import-word-plugin-conversion-failed","12280ECJFDh","timeZone","rootName","getFirstPosition","change:range","refresh","dataInsert","3223odzJAC","addMarker","config","converterUrl","markers","parent","root","getRange","import-word-plugin-import-cancelled","schema","enqueueChange","isAtStart","isEmpty","stringify"];return(f=function(){return t})()}!function(t){const r=h,e=t();for(;;)try{if(355339===parseInt(r(237))/1*(-parseInt(r(253))/2)+parseInt(r(196))/3+parseInt(r(245))/4*(parseInt(r(201))/5)+-parseInt(r(247))/6*(-parseInt(r(210))/7)+-parseInt(r(207))/8*(-parseInt(r(235))/9)+parseInt(r(223))/10*(parseInt(r(260))/11)+parseInt(r(204))/12*(-parseInt(r(227))/13))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(f);class m extends t.Command{constructor(t){const r=h;super(t),this[r(221)](r(274),!1),this[r(222)]=null,this[r(236)]=null,this[r(197)]=null,this.on(r(259),((e,n)=>{const i=r,o=new DataTransfer;o[i(216)](i(212),n[i(226)]);const s=this[i(222)][i(267)]();this[i(286)][i(194)][i(270)](this[i(236)],(r=>{const e=i;this[e(222)][e(246)](),r[e(283)](s),t[e(189)][e(243)][e(200)][e(220)](e(206),{dataTransfer:o})}))}),{priority:r(190)})}[d(258)](){const t=d;this[t(230)]=this[t(199)]()}[d(211)](t,r={}){const e=d;if(this[e(274)])return Promise[e(276)]();const n=this[e(286)][e(262)][e(233)](e(248));if(this[e(286)][e(278)][e(224)](e(289))){const{prefix:t,suffix:n}=this[e(286)][e(262)][e(233)](e(214));r[e(251)]={prefix:t,suffix:n}}const i={url:n[e(263)],file:t,serviceConfig:{...r,formatting:n[e(280)],timezone:(new(Intl[e(231)]))[e(225)]()[e(254)]}};return this[e(238)](),this[e(244)](i)[e(279)](this[e(290)][e(277)](this))[e(291)](this[e(215)][e(277)](this))[e(232)](this[e(198)][e(277)](this))}[d(199)](){const t=d;if(this[t(274)])return!1;const r=this[t(286)][t(194)],e=r[t(269)],n=r[t(200)][t(191)],i=(0,l.first)(n[t(242)]());return!!i&&e[t(188)](i[t(265)],t(187))}[d(238)](){const t=d,r=this[t(286)],e=r[t(194)],n=e[t(200)][t(191)];this[t(197)]=new AbortController,this[t(236)]=r[t(194)][t(186)]({isUndoable:!0}),e[t(270)](this[t(236)],(r=>{const i=t;n[i(241)]||e[i(285)](n,{leaveUnmerged:!0});const o=n[i(256)](),s=(0,l.first)(n[i(242)]());let a;a=s.is(i(287),i(187))&&s[i(272)]?o:o[i(271)]?e[i(234)](s):o[i(213)]?e[i(202)](s):r[i(284)](o)[i(192)],this[i(222)]=r[i(261)](i(193)+(0,l.uid)(),{usingOperation:!1,affectsData:!1,range:new u.Range(a)}),this[i(222)].on(i(257),(()=>{const t=i;t(203)===this[t(222)][t(267)]()[t(266)][t(255)]&&this[t(197)][t(209)]()}))})),this[t(274)]=!0,this[t(258)]()}[d(198)](){const t=d,r=this[t(286)][t(194)];r[t(264)][t(224)](this[t(222)])&&r[t(270)](this[t(236)],(r=>{const e=t;r[e(288)](this[e(222)])})),this[t(222)]=null,this[t(236)]=null,this[t(197)]=null,this[t(274)]=!1,this[t(258)]()}[d(244)]({url:t,file:r,serviceConfig:e}){const n=d,i=this[n(286)][n(278)][n(233)](n(275))[n(218)](),o=new FormData;o[n(221)](n(262),JSON[n(273)](e)),o[n(221)](n(282),r);const s={method:n(217),headers:{},body:o,signal:this[n(197)][n(208)]};return i&&(s[n(205)][n(195)]=i[n(240)]),fetch(t,s)}[d(290)](t){const r=d;return t.ok?t[r(219)]()[r(279)]((t=>{const e=r;this[e(286)][e(194)][e(264)][e(224)](this[e(222)])&&e(203)!==this[e(222)][e(267)]()[e(266)][e(255)]&&this[e(220)](e(259),t)})):Promise[r(229)]()}[d(215)](){const t=d;if(this[t(197)][t(208)][t(249)])return void(0,l.logWarning)(t(268));const r=this[t(286)],e=i(r[t(250)],t(239));r[t(278)][t(233)](t(228))[t(281)](e),(0,l.logError)(t(252))}}const g=I;function I(t,r){const e=v();return(I=function(t,r){return e[t-=461]})(t,r)}function v(){const t=["10073714qhnhAG","requires","https://docx-converter.cke-cs.com/v2/convert/docx-html","ImportWordEditing","64112pcTyxN","255332kNkAWN","88TSTnCh","2270RyTkEr","init","cloudServices","editor","token","inline","isOfficialPlugin","65wTdEbw","tokenUrl","pluginName","CloudServices","importWord","get","63327OXFErZ","plugins","726ubdmAq","registerTokenUrl","commands","getToken","_token","130869KqMKhA","config","isPremiumPlugin","3042082ukIHgm","define","624aqOuix","none","add"];return(v=function(){return t})()}!function(t){const r=I,e=t();for(;;)try{if(772924===parseInt(r(489))/1+-parseInt(r(480))/2+-parseInt(r(470))/3*(parseInt(r(491))/4)+parseInt(r(464))/5*(-parseInt(r(472))/6)+-parseInt(r(485))/7+-parseInt(r(482))/8*(parseInt(r(477))/9)+-parseInt(r(492))/10*(-parseInt(r(490))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(v);class w extends t.Plugin{static get[g(466)](){return g(488)}static get[g(463)](){return!0}static get[g(479)](){return!0}static get[g(486)](){const t=g;return[r.Notification,p.ClipboardPipeline,t(467)]}constructor(t){const r=g;super(t),this[r(476)]=null}async[g(493)](){const t=g,r=this[t(495)];r[t(478)][t(481)](t(468),{converterUrl:t(487),tokenUrl:(r[t(478)][t(469)](t(494))||{})[t(465)],formatting:{resets:t(483),defaults:t(483),styles:t(462)}}),r[t(474)][t(484)](t(468),new m(r));const{tokenUrl:e}=r[t(478)][t(469)](t(468));if(e){const{tokenUrl:n}=r[t(478)][t(469)](t(494))||{};this[t(476)]=e===n?r[t(471)][t(469)](t(467))[t(461)]:await r[t(471)][t(469)](t(467))[t(473)](e)}}[g(475)](){return this[g(476)]}}function y(){var t=["288942gFVwoO","isOfficialPlugin","pluginName","ImportWord","8QByUli","5mZlvfa","requires","isPremiumPlugin","34033910hPAvcv","4012176LlInhk","8kjqBYx","1687068HEcQXF","5582934wNpnwE","606603lkkXzw","455680CshRCl"];return(y=function(){return t})()}var k=b;function b(t,r){var e=y();return(b=function(t,r){return e[t-=326]})(t,r)}!function(t){for(var r=b,e=t();;)try{if(458124===-parseInt(r(336))/1+-parseInt(r(333))/2+-parseInt(r(335))/3*(parseInt(r(326))/4)+parseInt(r(327))/5*(-parseInt(r(337))/6)+-parseInt(r(331))/7+parseInt(r(332))/8*(-parseInt(r(334))/9)+parseInt(r(330))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(y);class x extends t.Plugin{static get[k(339)](){return k(340)}static get[k(338)](){return!0}static get[k(329)](){return!0}static get[k(328)](){return[w,c]}}function W(){var t=["852nCwmTZ","7607724EMBuiy","1zYGmkZ","14492TcsoDn","2291316BJxKjf","984Dpjpht","7966990VovREK","9946002TkBReo","9uSUikx","1276234IhAccG","39hTjOqb","26446RrpNLy","5QcHjfU"];return(W=function(){return t})()}function A(t,r){var e=W();return(A=function(t,r){return e[t-=430]})(t,r)}!function(t){for(var r=A,e=t();;)try{if(557053===parseInt(r(431))/1*(parseInt(r(438))/2)+parseInt(r(442))/3*(-parseInt(r(432))/4)+parseInt(r(441))/5*(-parseInt(r(433))/6)+parseInt(r(440))/7*(-parseInt(r(434))/8)+-parseInt(r(437))/9*(-parseInt(r(435))/10)+-parseInt(r(436))/11+-parseInt(r(430))/12*(-parseInt(r(439))/13))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(W)})(),(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 _0x46ad71,Command as _0x310cb5}from'@ckeditor/ckeditor5-core/dist/index.js';import{FileDialogButtonView as _0x43de9f,MenuBarMenuListItemFileDialogButtonView as _0xfdaae5,SpinnerView as _0x25eb7d,Notification as _0x44877e}from'@ckeditor/ckeditor5-ui/dist/index.js';import{ClipboardPipeline as _0x5196d4}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{Range as _0x45ccc4}from'@ckeditor/ckeditor5-engine/dist/index.js';import{first as _0x54fbbf,uid as _0x420808,logWarning as _0x41d5e2,logError as _0x2cd2f5}from'@ckeditor/ckeditor5-utils/dist/index.js';function p(_0x5ab0eb,_0x2c6748){const t=_0x5ab0eb['t'];switch(_0x2c6748){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 _0x2c6748;}}class i extends _0x46ad71{static get['pluginName'](){return'ImportWordUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x567a3f=this['editor'];_0x567a3f['ui']['componentFactory']['add']('importWord',()=>{const _0x372633=this['_createButton'](_0x43de9f),_0x539770=_0x567a3f['commands']['get']('importWord');return _0x372633['bind']('isOn')['to'](_0x539770,'isBusy'),_0x372633['tooltip']=!0x0,_0x372633;}),_0x567a3f['ui']['componentFactory']['add']('menuBar:importWord',()=>this['_createButton'](_0xfdaae5));}['_createButton'](_0xc97bf4){const _0xee316d=this['editor'],_0x89801b=_0xee316d['commands']['get']('importWord'),_0x2cf2ca=new _0xc97bf4(_0xee316d['locale']),_0xdb6c30=new _0x25eb7d();return _0x2cf2ca['set']({'acceptedType':'application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.openxmlformats-officedocument.wordprocessingml.template'}),_0x2cf2ca['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'}),_0x2cf2ca['bind']('isEnabled')['to'](_0x89801b),_0x2cf2ca['bind']('label')['to'](_0x89801b,'isBusy',_0x365eaf=>p(_0xee316d['locale'],_0x365eaf?'Importing\x20Word\x20document':'Import\x20from\x20Word')),_0xdb6c30['bind']('isVisible')['to'](_0x89801b,'isBusy'),_0x2cf2ca['iconView']['bind']('isVisible')['to'](_0x89801b,'isBusy',_0x29621f=>!_0x29621f),_0x2cf2ca['children']['add'](_0xdb6c30),_0x2cf2ca['on']('done',(_0x207e0f,_0x1da099)=>{_0xee316d['execute']('importWord',_0x1da099[0x0],{}),_0xee316d['editing']['view']['focus']();}),_0x2cf2ca;}}class d extends _0x310cb5{['_importMarker'];['_undoStepBatch'];['_abortController'];constructor(_0xbb12db){super(_0xbb12db),this['set']('isBusy',!0x1),this['_importMarker']=null,this['_undoStepBatch']=null,this['_abortController']=null,this['on']('dataInsert',(_0x35b20a,_0x2fe3eb)=>{const _0x18221e=new DataTransfer();_0x18221e['setData']('text/html',_0x2fe3eb['html']);const _0x8b5646=this['_importMarker']['getRange']();this['editor']['model']['enqueueChange'](this['_undoStepBatch'],_0x133a5c=>{this['_importMarker']['stopListening'](),_0x133a5c['setSelection'](_0x8b5646),_0xbb12db['editing']['view']['document']['fire']('clipboardInput',{'dataTransfer':_0x18221e});});},{'priority':'low'});}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x7edad5,_0xbce185={}){if(this['isBusy'])return Promise['resolve']();const _0x44f699=this['editor']['config']['get']('importWord');if(this['editor']['plugins']['has']('MergeFields')){const {prefix:_0x5ac06c,suffix:_0x3bcef9}=this['editor']['config']['get']('mergeFields');_0xbce185['merge_fields']={'prefix':_0x5ac06c,'suffix':_0x3bcef9};}const _0x572096={'url':_0x44f699['converterUrl'],'file':_0x7edad5,'serviceConfig':{..._0xbce185,'formatting':_0x44f699['formatting'],'timezone':new Intl['DateTimeFormat']()['resolvedOptions']()['timeZone']}};return this['_prepareForImport'](),this['_sendImportRequest'](_0x572096)['then'](this['_handleImportResponse']['bind'](this))['catch'](this['_handleImportFailure']['bind'](this))['finally'](this['_cleanUpAfterImport']['bind'](this));}['_checkEnabled'](){if(this['isBusy'])return!0x1;const _0xa418b5=this['editor']['model'],_0x5e9fe7=_0xa418b5['schema'],_0x455720=_0xa418b5['document']['selection'],_0x3678af=_0x54fbbf(_0x455720['getSelectedBlocks']());return!!_0x3678af&&_0x5e9fe7['checkChild'](_0x3678af['parent'],'paragraph');}['_prepareForImport'](){const _0xd7d412=this['editor'],_0x319a21=_0xd7d412['model'],_0x5d0f8c=_0x319a21['document']['selection'];this['_abortController']=new AbortController(),this['_undoStepBatch']=_0xd7d412['model']['createBatch']({'isUndoable':!0x0}),_0x319a21['enqueueChange'](this['_undoStepBatch'],_0x8ac2c6=>{_0x5d0f8c['isCollapsed']||_0x319a21['deleteContent'](_0x5d0f8c,{'leaveUnmerged':!0x0});const _0x4933ce=_0x5d0f8c['getFirstPosition'](),_0x271947=_0x54fbbf(_0x5d0f8c['getSelectedBlocks']());let _0x251279;_0x251279=_0x271947['is']('element','paragraph')&&_0x271947['isEmpty']?_0x4933ce:_0x4933ce['isAtStart']?_0x319a21['createPositionBefore'](_0x271947):_0x4933ce['isAtEnd']?_0x319a21['createPositionAfter'](_0x271947):_0x8ac2c6['split'](_0x4933ce)['position'],this['_importMarker']=_0x8ac2c6['addMarker']('importWord:'+_0x420808(),{'usingOperation':!0x1,'affectsData':!0x1,'range':new _0x45ccc4(_0x251279)}),this['_importMarker']['on']('change:range',()=>{'$graveyard'===this['_importMarker']['getRange']()['root']['rootName']&&this['_abortController']['abort']();});}),this['isBusy']=!0x0,this['refresh']();}['_cleanUpAfterImport'](){const _0x2cfce0=this['editor']['model'];_0x2cfce0['markers']['has'](this['_importMarker'])&&_0x2cfce0['enqueueChange'](this['_undoStepBatch'],_0x5ddeda=>{_0x5ddeda['removeMarker'](this['_importMarker']);}),this['_importMarker']=null,this['_undoStepBatch']=null,this['_abortController']=null,this['isBusy']=!0x1,this['refresh']();}['_sendImportRequest']({url:_0x59d166,file:_0x5d301d,serviceConfig:_0x1d4ff1}){const _0x4deca0=this['editor']['plugins']['get']('ImportWordEditing')['getToken'](),_0x44f155=new FormData();_0x44f155['set']('config',JSON['stringify'](_0x1d4ff1)),_0x44f155['set']('file',_0x5d301d);const _0x56a795={'method':'POST','headers':{},'body':_0x44f155,'signal':this['_abortController']['signal']};return _0x4deca0&&(_0x56a795['headers']['Authorization']=_0x4deca0['value']),fetch(_0x59d166,_0x56a795);}['_handleImportResponse'](_0x2e5713){return _0x2e5713['ok']?_0x2e5713['json']()['then'](_0x579b97=>{if(!this['editor']['model']['markers']['has'](this['_importMarker']))return;'$graveyard'!==this['_importMarker']['getRange']()['root']['rootName']&&this['fire']('dataInsert',_0x579b97);}):Promise['reject']();}['_handleImportFailure'](){if(this['_abortController']['signal']['aborted'])return void _0x41d5e2('import-word-plugin-import-cancelled');const _0x373408=this['editor'],_0x4fd371=p(_0x373408['locale'],'An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.');_0x373408['plugins']['get']('Notification')['showWarning'](_0x4fd371),_0x2cd2f5('import-word-plugin-conversion-failed');}}class e extends _0x46ad71{['_token'];static get['pluginName'](){return'ImportWordEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x44877e,_0x5196d4,'CloudServices'];}constructor(_0x331e3e){super(_0x331e3e),this['_token']=null;}async['init'](){const _0x2d6696=this['editor'];_0x2d6696['config']['define']('importWord',{'converterUrl':'https://docx-converter.cke-cs.com/v2/convert/docx-html','tokenUrl':(_0x2d6696['config']['get']('cloudServices')||{})['tokenUrl'],'formatting':{'resets':'none','defaults':'none','styles':'inline'}}),_0x2d6696['commands']['add']('importWord',new d(_0x2d6696));const {tokenUrl:_0x48eec6}=_0x2d6696['config']['get']('importWord');if(_0x48eec6){const {tokenUrl:_0x233545}=_0x2d6696['config']['get']('cloudServices')||{};this['_token']=_0x48eec6===_0x233545?_0x2d6696['plugins']['get']('CloudServices')['token']:await _0x2d6696['plugins']['get']('CloudServices')['registerTokenUrl'](_0x48eec6);}}['getToken'](){return this['_token'];}}class o extends _0x46ad71{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':_0x237626=>0x1!=_0x237626}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x59448e=>{const {af:{dictionary:_0x4a4639,getPluralForm:_0x521c29}}={'af':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x524458=>0x1!=_0x524458}};_0x59448e['af']||={'dictionary':{},'getPluralForm':null},_0x59448e['af']['dictionary']=Object['assign'](_0x59448e['af']['dictionary'],_0x4a4639),_0x59448e['af']['getPluralForm']=_0x521c29;})(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':_0x657dc0=>0x0==_0x657dc0?0x0:0x1==_0x657dc0?0x1:0x2==_0x657dc0?0x2:_0x657dc0%0x64>=0x3&&_0x657dc0%0x64<=0xa?0x3:_0x657dc0%0x64>=0xb?0x4:0x5}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x527686=>{const {ar:{dictionary:_0x4456a7,getPluralForm:_0x5cdb0c}}={'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':_0x2f600b=>0x0==_0x2f600b?0x0:0x1==_0x2f600b?0x1:0x2==_0x2f600b?0x2:_0x2f600b%0x64>=0x3&&_0x2f600b%0x64<=0xa?0x3:_0x2f600b%0x64>=0xb?0x4:0x5}};_0x527686['ar']||={'dictionary':{},'getPluralForm':null},_0x527686['ar']['dictionary']=Object['assign'](_0x527686['ar']['dictionary'],_0x4456a7),_0x527686['ar']['getPluralForm']=_0x5cdb0c;})(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':_0x465dae=>0x1!=_0x465dae}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0xebd5b6=>{const {ast:{dictionary:_0x49893b,getPluralForm:_0x155393}}={'ast':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x546f61=>0x1!=_0x546f61}};_0xebd5b6['ast']||={'dictionary':{},'getPluralForm':null},_0xebd5b6['ast']['dictionary']=Object['assign'](_0xebd5b6['ast']['dictionary'],_0x49893b),_0xebd5b6['ast']['getPluralForm']=_0x155393;})(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':_0x47e6fa=>0x1!=_0x47e6fa}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x1be48f=>{const {az:{dictionary:_0x134efe,getPluralForm:_0x444971}}={'az':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x12f401=>0x1!=_0x12f401}};_0x1be48f['az']||={'dictionary':{},'getPluralForm':null},_0x1be48f['az']['dictionary']=Object['assign'](_0x1be48f['az']['dictionary'],_0x134efe),_0x1be48f['az']['getPluralForm']=_0x444971;})(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':_0x215323=>0x1!=_0x215323}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x48c5f3=>{const {bg:{dictionary:_0x14bd1e,getPluralForm:_0x3e046a}}={'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':_0x4f8120=>0x1!=_0x4f8120}};_0x48c5f3['bg']||={'dictionary':{},'getPluralForm':null},_0x48c5f3['bg']['dictionary']=Object['assign'](_0x48c5f3['bg']['dictionary'],_0x14bd1e),_0x48c5f3['bg']['getPluralForm']=_0x3e046a;})(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':_0x5c5b1a=>0x1!=_0x5c5b1a}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x3ab641=>{const {bn:{dictionary:_0x365c1d,getPluralForm:_0x56cabf}}={'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':_0x43a0be=>0x1!=_0x43a0be}};_0x3ab641['bn']||={'dictionary':{},'getPluralForm':null},_0x3ab641['bn']['dictionary']=Object['assign'](_0x3ab641['bn']['dictionary'],_0x365c1d),_0x3ab641['bn']['getPluralForm']=_0x56cabf;})(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':_0x320f2d=>_0x320f2d%0xa==0x1&&_0x320f2d%0x64!=0xb?0x0:_0x320f2d%0xa>=0x2&&_0x320f2d%0xa<=0x4&&(_0x320f2d%0x64<0xa||_0x320f2d%0x64>=0x14)?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x25e2b1=>{const {bs:{dictionary:_0x348fc5,getPluralForm:_0x2b7adb}}={'bs':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x86a2ad=>_0x86a2ad%0xa==0x1&&_0x86a2ad%0x64!=0xb?0x0:_0x86a2ad%0xa>=0x2&&_0x86a2ad%0xa<=0x4&&(_0x86a2ad%0x64<0xa||_0x86a2ad%0x64>=0x14)?0x1:0x2}};_0x25e2b1['bs']||={'dictionary':{},'getPluralForm':null},_0x25e2b1['bs']['dictionary']=Object['assign'](_0x25e2b1['bs']['dictionary'],_0x348fc5),_0x25e2b1['bs']['getPluralForm']=_0x2b7adb;})(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':_0x2c1dc8=>0x1!=_0x2c1dc8}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x414e45=>{const {ca:{dictionary:_0x391846,getPluralForm:_0x59936c}}={'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':_0x28c5d7=>0x1!=_0x28c5d7}};_0x414e45['ca']||={'dictionary':{},'getPluralForm':null},_0x414e45['ca']['dictionary']=Object['assign'](_0x414e45['ca']['dictionary'],_0x391846),_0x414e45['ca']['getPluralForm']=_0x59936c;})(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':_0x50b62c=>0x1==_0x50b62c?0x0:_0x50b62c>=0x2&&_0x50b62c<=0x4?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x3f928a=>{const {cs:{dictionary:_0x4424e7,getPluralForm:_0x5373f0}}={'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':_0xa6a5df=>0x1==_0xa6a5df?0x0:_0xa6a5df>=0x2&&_0xa6a5df<=0x4?0x1:0x2}};_0x3f928a['cs']||={'dictionary':{},'getPluralForm':null},_0x3f928a['cs']['dictionary']=Object['assign'](_0x3f928a['cs']['dictionary'],_0x4424e7),_0x3f928a['cs']['getPluralForm']=_0x5373f0;})(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':_0x239627=>0x1!=_0x239627}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x22a221=>{const {da:{dictionary:_0x751b53,getPluralForm:_0x518b6b}}={'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':_0x1b973c=>0x1!=_0x1b973c}};_0x22a221['da']||={'dictionary':{},'getPluralForm':null},_0x22a221['da']['dictionary']=Object['assign'](_0x22a221['da']['dictionary'],_0x751b53),_0x22a221['da']['getPluralForm']=_0x518b6b;})(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':_0x355adb=>0x1!=_0x355adb}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x544413=>{const {'de-ch':{dictionary:_0x24ae4b,getPluralForm:_0x5f0f31}}={'de-ch':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x5b54ae=>0x1!=_0x5b54ae}};_0x544413['de-ch']||={'dictionary':{},'getPluralForm':null},_0x544413['de-ch']['dictionary']=Object['assign'](_0x544413['de-ch']['dictionary'],_0x24ae4b),_0x544413['de-ch']['getPluralForm']=_0x5f0f31;})(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':_0x10fcce=>0x1!=_0x10fcce}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0xe934d1=>{const {de:{dictionary:_0x433536,getPluralForm:_0xcc437d}}={'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':_0x252b66=>0x1!=_0x252b66}};_0xe934d1['de']||={'dictionary':{},'getPluralForm':null},_0xe934d1['de']['dictionary']=Object['assign'](_0xe934d1['de']['dictionary'],_0x433536),_0xe934d1['de']['getPluralForm']=_0xcc437d;})(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':_0x559efe=>0x1!=_0x559efe}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x3a19e0=>{const {el:{dictionary:_0x4e84c1,getPluralForm:_0x1de437}}={'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':_0x3707d8=>0x1!=_0x3707d8}};_0x3a19e0['el']||={'dictionary':{},'getPluralForm':null},_0x3a19e0['el']['dictionary']=Object['assign'](_0x3a19e0['el']['dictionary'],_0x4e84c1),_0x3a19e0['el']['getPluralForm']=_0x1de437;})(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':_0x48c9b8=>0x1!=_0x48c9b8}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x3cd692=>{const {'en-au':{dictionary:_0x1bb4f7,getPluralForm:_0x29b0df}}={'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':_0x2b482b=>0x1!=_0x2b482b}};_0x3cd692['en-au']||={'dictionary':{},'getPluralForm':null},_0x3cd692['en-au']['dictionary']=Object['assign'](_0x3cd692['en-au']['dictionary'],_0x1bb4f7),_0x3cd692['en-au']['getPluralForm']=_0x29b0df;})(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':_0x429c41=>0x1!=_0x429c41}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x2915fa=>{const {'en-gb':{dictionary:_0x57f37b,getPluralForm:_0x106fc6}}={'en-gb':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x44f12a=>0x1!=_0x44f12a}};_0x2915fa['en-gb']||={'dictionary':{},'getPluralForm':null},_0x2915fa['en-gb']['dictionary']=Object['assign'](_0x2915fa['en-gb']['dictionary'],_0x57f37b),_0x2915fa['en-gb']['getPluralForm']=_0x106fc6;})(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':_0x23577d=>0x1!=_0x23577d}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x51b728=>{const {en:{dictionary:_0x35df4d,getPluralForm:_0x5521e1}}={'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':_0x2daa4b=>0x1!=_0x2daa4b}};_0x51b728['en']||={'dictionary':{},'getPluralForm':null},_0x51b728['en']['dictionary']=Object['assign'](_0x51b728['en']['dictionary'],_0x35df4d),_0x51b728['en']['getPluralForm']=_0x5521e1;})(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':_0x220c8b=>0x1!=_0x220c8b}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x3a59e4=>{const {eo:{dictionary:_0x525db2,getPluralForm:_0x274ae9}}={'eo':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x2906bb=>0x1!=_0x2906bb}};_0x3a59e4['eo']||={'dictionary':{},'getPluralForm':null},_0x3a59e4['eo']['dictionary']=Object['assign'](_0x3a59e4['eo']['dictionary'],_0x525db2),_0x3a59e4['eo']['getPluralForm']=_0x274ae9;})(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':_0x542321=>0x1!=_0x542321}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x4df452=>{const {'es-co':{dictionary:_0x463cd3,getPluralForm:_0x48589f}}={'es-co':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x44b7d6=>0x1!=_0x44b7d6}};_0x4df452['es-co']||={'dictionary':{},'getPluralForm':null},_0x4df452['es-co']['dictionary']=Object['assign'](_0x4df452['es-co']['dictionary'],_0x463cd3),_0x4df452['es-co']['getPluralForm']=_0x48589f;})(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':_0xe8f656=>0x1!=_0xe8f656}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x5f5cc5=>{const {es:{dictionary:_0x5633cd,getPluralForm:_0x4d11ed}}={'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':_0x2620d0=>0x1!=_0x2620d0}};_0x5f5cc5['es']||={'dictionary':{},'getPluralForm':null},_0x5f5cc5['es']['dictionary']=Object['assign'](_0x5f5cc5['es']['dictionary'],_0x5633cd),_0x5f5cc5['es']['getPluralForm']=_0x4d11ed;})(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':_0x57a014=>0x1!=_0x57a014}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x498a4c=>{const {et:{dictionary:_0x2889a1,getPluralForm:_0x34917b}}={'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':_0x12635b=>0x1!=_0x12635b}};_0x498a4c['et']||={'dictionary':{},'getPluralForm':null},_0x498a4c['et']['dictionary']=Object['assign'](_0x498a4c['et']['dictionary'],_0x2889a1),_0x498a4c['et']['getPluralForm']=_0x34917b;})(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':_0x2087e4=>0x1!=_0x2087e4}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x3e563c=>{const {eu:{dictionary:_0x5cc921,getPluralForm:_0x1f2e62}}={'eu':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x102fda=>0x1!=_0x102fda}};_0x3e563c['eu']||={'dictionary':{},'getPluralForm':null},_0x3e563c['eu']['dictionary']=Object['assign'](_0x3e563c['eu']['dictionary'],_0x5cc921),_0x3e563c['eu']['getPluralForm']=_0x1f2e62;})(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':_0x437e1e=>0x0}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x2b9217=>{const {fa:{dictionary:_0x51d53e,getPluralForm:_0x543b56}}={'fa':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x26623c=>0x0}};_0x2b9217['fa']||={'dictionary':{},'getPluralForm':null},_0x2b9217['fa']['dictionary']=Object['assign'](_0x2b9217['fa']['dictionary'],_0x51d53e),_0x2b9217['fa']['getPluralForm']=_0x543b56;})(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':_0x5a51b0=>0x1!=_0x5a51b0}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x86248=>{const {fi:{dictionary:_0x4d7e91,getPluralForm:_0x38d2a0}}={'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':_0x161a94=>0x1!=_0x161a94}};_0x86248['fi']||={'dictionary':{},'getPluralForm':null},_0x86248['fi']['dictionary']=Object['assign'](_0x86248['fi']['dictionary'],_0x4d7e91),_0x86248['fi']['getPluralForm']=_0x38d2a0;})(window['CKEDITOR_TRANSLATIONS']||={});
|