@ckeditor/ckeditor5-import-word 0.0.0-nightly-20241115.0 → 0.0.0-nightly-20241117.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/import-word.js +2 -2
- package/dist/index.js +1 -1
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +7 -7
- package/src/importword.js +1 -1
- package/src/importwordcommand.js +1 -1
- package/src/importwordediting.js +1 -1
- package/src/importwordui.js +1 -1
- package/src/index.js +1 -1
- package/src/utils/common-translations.js +1 -1
package/build/import-word.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
!function(t){const
|
|
1
|
+
!function(t){const 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-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:()=>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-=132]})(t,r)}function a(){const t=["importWord","7HQtQtO","tooltip","editing","execute","init","1709802PJPAmB","44452oGafPa","bind","label","isPremiumPlugin","done","isBusy","Importing Word document","isEnabled","children","locale","Import from Word","35PzkfiQ","componentFactory","add","get","3366LupzXY","1454696MxSFMf","commands","isOn","42348MhyuZS","pluginName","61054XXyPLb","view","1570YLBkre","isVisible","menuBar:importWord","editor","set","12feXxmB","iconView","_createButton","focus","24228iCxRLf","ImportWordUI","isOfficialPlugin","application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.openxmlformats-officedocument.wordprocessingml.template"];return(a=function(){return t})()}!function(t){const r=s,e=t();for(;;)try{if(112249===parseInt(r(139))/1+-parseInt(r(137))/2+parseInt(r(146))/3*(parseInt(r(161))/4)+-parseInt(r(172))/5*(parseInt(r(150))/6)+-parseInt(r(155))/7*(parseInt(r(134))/8)+parseInt(r(160))/9+-parseInt(r(141))/10*(-parseInt(r(133))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(a);class c extends t.Plugin{static get[o(138)](){return o(151)}static get[o(152)](){return!0}static get[o(164)](){return!0}[o(159)](){const t=o,e=this[t(144)];e.ui[t(173)][t(174)](t(154),(()=>{const n=t,i=this[n(148)](r.FileDialogButtonView),o=e[n(135)][n(132)](n(154));return i[n(162)](n(136)).to(o,n(166)),i[n(156)]=!0,i})),e.ui[t(173)][t(174)](t(143),(()=>this[t(148)](r.MenuBarMenuListItemFileDialogButtonView)))}[o(148)](t){const e=o,n=this[e(144)],s=n[e(135)][e(132)](e(154)),a=new t(n[e(170)]),c=new r.SpinnerView;return a[e(145)]({acceptedType:e(153)}),a[e(145)]({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(162)](e(168)).to(s),a[e(162)](e(163)).to(s,e(166),(t=>i(n[e(170)],e(t?167:171)))),c[e(162)](e(142)).to(s,e(166)),a[e(147)][e(162)](e(142)).to(s,e(166),(t=>!t)),a[e(169)][e(174)](c),a.on(e(165),((t,r)=>{const i=e;n[i(158)](i(154),r[0],{}),n[i(157)][i(140)][i(149)]()})),a}}var u=e(331),p=e(783),l=e(584);const d=f;function h(){const t=["736eQsXVg","getToken","paragraph","An error occurred while importing the Word file.","_sendImportRequest","config","position","resolvedOptions","import-word-plugin-conversion-failed","$graveyard","root","value","_undoStepBatch","selection","isCollapsed","isEnabled","clipboardInput","20421DgbyzF","locale","showWarning","importWord:","stopListening","dataInsert","addMarker","abort","low","MergeFields","get","1183014KsAGBl","deleteContent","execute","bind","document","checkChild","isAtStart","ImportWordEditing","_checkEnabled","11504TAQOlT","element","isBusy","text/html","_prepareForImport","3232140MMCFeu","json","removeMarker","setSelection","createPositionAfter","_importMarker","getFirstPosition","5YDdLgp","isEmpty","fire","setData","stringify","catch","POST","getSelectedBlocks","_handleImportFailure","headers","reject","isAtEnd","file","createPositionBefore","plugins","_cleanUpAfterImport","rootName","DateTimeFormat","editor","finally","getRange","185446IoQypK","resolve","Authorization","merge_fields","timeZone","has","111PJLLWs","mergeFields","html","createBatch","parent","formatting","importWord","set","schema","editing","markers","then","model","enqueueChange","split","converterUrl","Notification","refresh","signal","454797PuoOrO","_abortController","change:range","view","import-word-plugin-import-cancelled","6168RSrLif","_handleImportResponse","aborted"];return(h=function(){return t})()}function f(t,r){const e=h();return(f=function(t,r){return e[t-=263]})(t,r)}!function(t){const r=f,e=t();for(;;)try{if(124024===-parseInt(r(295))/1+parseInt(r(365))/2+parseInt(r(301))/3*(parseInt(r(325))/4)+-parseInt(r(274))/5*(-parseInt(r(356))/6)+-parseInt(r(320))/7+parseInt(r(328))/8*(-parseInt(r(345))/9)+parseInt(r(267))/10)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(308)](r(264),!1),this[r(272)]=null,this[r(340)]=null,this[r(321)]=null,this.on(r(350),((e,n)=>{const i=r,o=new DataTransfer;o[i(277)](i(265),n[i(303)]);const s=this[i(272)][i(294)]();this[i(292)][i(313)][i(314)](this[i(340)],(r=>{const e=i;this[e(272)][e(349)](),r[e(270)](s),t[e(310)][e(323)][e(360)][e(276)](e(344),{dataTransfer:o})}))}),{priority:r(353)})}[d(318)](){const t=d;this[t(343)]=this[t(364)]()}[d(358)](t,r={}){const e=d;if(this[e(264)])return Promise[e(296)]();const n=this[e(292)][e(333)][e(355)](e(307));if(this[e(292)][e(288)][e(300)](e(354))){const{prefix:t,suffix:n}=this[e(292)][e(333)][e(355)](e(302));r[e(298)]={prefix:t,suffix:n}}const i={url:n[e(316)],file:t,serviceConfig:{...r,formatting:n[e(306)],timezone:(new(Intl[e(291)]))[e(335)]()[e(299)]}};return this[e(266)](),this[e(332)](i)[e(312)](this[e(326)][e(359)](this))[e(279)](this[e(282)][e(359)](this))[e(293)](this[e(289)][e(359)](this))}[d(364)](){const t=d;if(this[t(264)])return!1;const r=this[t(292)][t(313)],e=r[t(309)],n=r[t(360)][t(341)],i=(0,l.first)(n[t(281)]());return!!i&&e[t(361)](i[t(305)],t(330))}[d(266)](){const t=d,r=this[t(292)],e=r[t(313)],n=e[t(360)][t(341)];this[t(321)]=new AbortController,this[t(340)]=r[t(313)][t(304)]({isUndoable:!0}),e[t(314)](this[t(340)],(r=>{const i=t;n[i(342)]||e[i(357)](n,{leaveUnmerged:!0});const o=n[i(273)](),s=(0,l.first)(n[i(281)]());let a;a=s.is(i(263),i(330))&&s[i(275)]?o:o[i(362)]?e[i(287)](s):o[i(285)]?e[i(271)](s):r[i(315)](o)[i(334)],this[i(272)]=r[i(351)](i(348)+(0,l.uid)(),{usingOperation:!1,affectsData:!1,range:new p.Range(a)}),this[i(272)].on(i(322),(()=>{const t=i;t(337)===this[t(272)][t(294)]()[t(338)][t(290)]&&this[t(321)][t(352)]()}))})),this[t(264)]=!0,this[t(318)]()}[d(289)](){const t=d,r=this[t(292)][t(313)];r[t(311)][t(300)](this[t(272)])&&r[t(314)](this[t(340)],(r=>{const e=t;r[e(269)](this[e(272)])})),this[t(272)]=null,this[t(340)]=null,this[t(321)]=null,this[t(264)]=!1,this[t(318)]()}[d(332)]({url:t,file:r,serviceConfig:e}){const n=d,i=this[n(292)][n(288)][n(355)](n(363))[n(329)](),o=new FormData;o[n(308)](n(333),JSON[n(278)](e)),o[n(308)](n(286),r);const s={method:n(280),headers:{},body:o,signal:this[n(321)][n(319)]};return i&&(s[n(283)][n(297)]=i[n(339)]),fetch(t,s)}[d(326)](t){const r=d;return t.ok?t[r(268)]()[r(312)]((t=>{const e=r;this[e(292)][e(313)][e(311)][e(300)](this[e(272)])&&e(337)!==this[e(272)][e(294)]()[e(338)][e(290)]&&this[e(276)](e(350),t)})):Promise[r(284)]()}[d(282)](){const t=d;if(this[t(321)][t(319)][t(327)])return void(0,l.logWarning)(t(324));const r=this[t(292)],e=i(r[t(346)],t(331));r[t(288)][t(355)](t(317))[t(347)](e),(0,l.logError)(t(336))}}const g=v;function I(){const t=["commands","2829HybkkC","get","155ipLYGz","9414020sXMDbo","3319545jYSVYe","isPremiumPlugin","token","cloudServices","editor","getToken","add","pluginName","7DxRxZi","isOfficialPlugin","importWord","CloudServices","init","https://docx-converter.cke-cs.com/v2/convert/docx-html","registerTokenUrl","tokenUrl","plugins","requires","config","define","inline","ImportWordEditing","157494DbZGLi","794pFbtlU","none","6928956suruJD","4EtBuch","_token","8068192uHLFLD","32263803QrlbjL"];return(I=function(){return t})()}function v(t,r){const e=I();return(v=function(t,r){return e[t-=465]})(t,r)}!function(t){const r=v,e=t();for(;;)try{if(592488===parseInt(r(495))/1*(-parseInt(r(487))/2)+-parseInt(r(499))/3*(parseInt(r(490))/4)+-parseInt(r(497))/5*(parseInt(r(486))/6)+parseInt(r(472))/7*(-parseInt(r(492))/8)+parseInt(r(489))/9+parseInt(r(498))/10+parseInt(r(493))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(I);class w extends t.Plugin{static get[g(471)](){return g(485)}static get[g(473)](){return!0}static get[g(465)](){return!0}static get[g(481)](){const t=g;return[r.Notification,u.ClipboardPipeline,t(475)]}constructor(t){const r=g;super(t),this[r(491)]=null}async[g(476)](){const t=g,r=this[t(468)];r[t(482)][t(483)](t(474),{converterUrl:t(477),tokenUrl:(r[t(482)][t(496)](t(467))||{})[t(479)],formatting:{resets:t(488),defaults:t(488),styles:t(484)}}),r[t(494)][t(470)](t(474),new m(r));const{tokenUrl:e}=r[t(482)][t(496)](t(474));if(e){const{tokenUrl:n}=r[t(482)][t(496)](t(467))||{};this[t(491)]=e===n?r[t(480)][t(496)](t(475))[t(466)]:await r[t(480)][t(496)](t(475))[t(478)](e)}}[g(469)](){return this[g(491)]}}var b=P;function y(){var t=["6153054ypCTls","1990VMzwUP","67zjVQuN","11440368ERfNVk","ImportWord","5RjNvTy","21910SgdeVB","pluginName","isOfficialPlugin","isPremiumPlugin","680337YmWIAJ","7zjfwcB","12122pKhAYS","10995usnzdz","9350368bzNXOi","1004LrgIPv","requires"];return(y=function(){return t})()}function P(t,r){var e=y();return(P=function(t,r){return e[t-=166]})(t,r)}!function(t){for(var r=P,e=t();;)try{if(615830===parseInt(r(181))/1*(parseInt(r(168))/2)+-parseInt(r(175))/3*(parseInt(r(177))/4)+-parseInt(r(167))/5*(parseInt(r(179))/6)+parseInt(r(173))/7*(parseInt(r(176))/8)+-parseInt(r(172))/9+-parseInt(r(180))/10*(parseInt(r(174))/11)+parseInt(r(182))/12)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(y);class x extends t.Plugin{static get[b(169)](){return b(166)}static get[b(170)](){return!0}static get[b(171)](){return!0}static get[b(178)](){return[w,c]}}function W(){var t=["10239432rSoYDl","1041622jpGcGv","12353270vbAstY","25OTihNc","427701HPdGYS","4565704AnIfHd","9BIAFmC","8mNNHND","2vtavCP","2359182ecAVYp","474404JqmJES"];return(W=function(){return t})()}function k(t,r){var e=W();return(k=function(t,r){return e[t-=495]})(t,r)}!function(t){for(var r=k,e=t();;)try{if(855333===parseInt(r(499))/1+parseInt(r(495))/2*(-parseInt(r(502))/3)+-parseInt(r(497))/4*(parseInt(r(501))/5)+parseInt(r(498))/6+parseInt(r(496))/7*(-parseInt(r(505))/8)+-parseInt(r(504))/9*(parseInt(r(500))/10)+parseInt(r(503))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(W)})(),(window.CKEditor5=window.CKEditor5||{}).importWord=n})();
|
|
5
|
+
*/(()=>{var t={331:(t,e,r)=>{t.exports=r(237)("./src/clipboard.js")},782:(t,e,r)=>{t.exports=r(237)("./src/core.js")},783:(t,e,r)=>{t.exports=r(237)("./src/engine.js")},311:(t,e,r)=>{t.exports=r(237)("./src/ui.js")},584:(t,e,r)=>{t.exports=r(237)("./src/utils.js")},237:t=>{"use strict";t.exports=CKEditor5.dll}},e={};function r(n){var i=e[n];if(void 0!==i)return i.exports;var o=e[n]={exports:{}};return t[n](o,o.exports,r),o.exports}r.d=(t,e)=>{for(var n in e)r.o(e,n)&&!r.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var n={};(()=>{"use strict";r.r(n),r.d(n,{ImportWord:()=>y,ImportWordEditing:()=>w,ImportWordUI:()=>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}}function o(){const t=["Import from Word","done","add","522856FBQWHI","ImportWordUI","get","children","3633725ifgjrA","importWord","isEnabled","view","6aCFzVF","427986LlMYwm","2024799hVqeQM","Importing Word document","3940601zbqeTM","tooltip","locale","8LHgIAm","execute","application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.openxmlformats-officedocument.wordprocessingml.template","init","menuBar:importWord","pluginName","bind","editing","editor","iconView","focus","_createButton","set","3140152QemtPe","isVisible","commands","label","isOn","isBusy","componentFactory","1504025jIdOoA","isPremiumPlugin","isOfficialPlugin"];return(o=function(){return t})()}const s=a;function a(t,e){const r=o();return(a=function(t,e){return r[t-=196]})(t,e)}!function(t){const e=a,r=t();for(;;)try{if(768918===parseInt(e(199))/1+parseInt(e(205))/2+parseInt(e(215))/3+-parseInt(e(220))/4*(parseInt(e(209))/5)+-parseInt(e(213))/6*(parseInt(e(217))/7)+parseInt(e(233))/8+-parseInt(e(214))/9)break;r.push(r.shift())}catch(t){r.push(r.shift())}}(o);class c extends t.Plugin{static get[s(225)](){return s(206)}static get[s(201)](){return!0}static get[s(200)](){return!0}[s(223)](){const t=s,r=this[t(228)];r.ui[t(198)][t(204)](t(210),(()=>{const n=t,i=this[n(231)](e.FileDialogButtonView),o=r[n(235)][n(207)](n(210));return i[n(226)](n(196)).to(o,n(197)),i[n(218)]=!0,i})),r.ui[t(198)][t(204)](t(224),(()=>this[t(231)](e.MenuBarMenuListItemFileDialogButtonView)))}[s(231)](t){const r=s,n=this[r(228)],o=n[r(235)][r(207)](r(210)),a=new t(n[r(219)]),c=new e.SpinnerView;return a[r(232)]({acceptedType:r(222)}),a[r(232)]({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(226)](r(211)).to(o),a[r(226)](r(236)).to(o,r(197),(t=>i(n[r(219)],r(t?216:202)))),c[r(226)](r(234)).to(o,r(197)),a[r(229)][r(226)](r(234)).to(o,r(197),(t=>!t)),a[r(208)][r(204)](c),a.on(r(203),((t,e)=>{const i=r;n[i(221)](i(210),e[0],{}),n[i(227)][i(212)][i(230)]()})),a}}var u=r(331),p=r(783),l=r(584);const d=h;function h(t,e){const r=m();return(h=function(t,e){return r[t-=375]})(t,e)}!function(t){const e=h,r=t();for(;;)try{if(635408===parseInt(e(454))/1*(-parseInt(e(416))/2)+-parseInt(e(396))/3+-parseInt(e(379))/4*(parseInt(e(383))/5)+parseInt(e(453))/6+parseInt(e(380))/7+-parseInt(e(440))/8+parseInt(e(456))/9*(parseInt(e(385))/10))break;r.push(r.shift())}catch(t){r.push(r.shift())}}(m);class f extends t.Command{constructor(t){const e=h;super(t),this[e(423)](e(475),!1),this[e(463)]=null,this[e(390)]=null,this[e(477)]=null,this.on(e(389),((r,n)=>{const i=e,o=new DataTransfer;o[i(458)](i(414),n[i(467)]);const s=this[i(463)][i(444)]();this[i(471)][i(403)][i(465)](this[i(390)],(e=>{const r=i;this[r(463)][r(435)](),e[r(468)](s),t[r(395)][r(447)][r(410)][r(412)](r(431),{dataTransfer:o})}))}),{priority:e(404)})}[d(455)](){const t=d;this[t(409)]=this[t(387)]()}[d(460)](t,e={}){const r=d;if(this[r(475)])return Promise[r(381)]();const n=this[r(471)][r(448)][r(443)](r(474));if(this[r(471)][r(401)][r(398)](r(388))){const{prefix:t,suffix:n}=this[r(471)][r(448)][r(443)](r(418));e[r(462)]={prefix:t,suffix:n}}const i={url:n[r(433)],file:t,serviceConfig:{...e,formatting:n[r(429)],timezone:(new(Intl[r(413)]))[r(466)]()[r(434)]}};return this[r(406)](),this[r(386)](i)[r(428)](this[r(430)][r(476)](this))[r(469)](this[r(411)][r(476)](this))[r(377)](this[r(461)][r(476)](this))}[d(387)](){const t=d;if(this[t(475)])return!1;const e=this[t(471)][t(403)],r=e[t(400)],n=e[t(410)][t(399)],i=(0,l.first)(n[t(457)]());return!!i&&r[t(459)](i[t(451)],t(408))}[d(406)](){const t=d,e=this[t(471)],r=e[t(403)],n=r[t(410)][t(399)];this[t(477)]=new AbortController,this[t(390)]=e[t(403)][t(415)]({isUndoable:!0}),r[t(465)](this[t(390)],(e=>{const i=t;n[i(450)]||r[i(439)](n,{leaveUnmerged:!0});const o=n[i(420)](),s=(0,l.first)(n[i(457)]());let a;a=s.is(i(432),i(408))&&s[i(437)]?o:o[i(405)]?r[i(446)](s):o[i(422)]?r[i(442)](s):e[i(441)](o)[i(421)],this[i(463)]=e[i(425)](i(424)+(0,l.uid)(),{usingOperation:!1,affectsData:!1,range:new p.Range(a)}),this[i(463)].on(i(397),(()=>{const t=i;t(384)===this[t(463)][t(444)]()[t(402)][t(438)]&&this[t(477)][t(419)]()}))})),this[t(475)]=!0,this[t(455)]()}[d(461)](){const t=d,e=this[t(471)][t(403)];e[t(470)][t(398)](this[t(463)])&&e[t(465)](this[t(390)],(e=>{const r=t;e[r(393)](this[r(463)])})),this[t(463)]=null,this[t(390)]=null,this[t(477)]=null,this[t(475)]=!1,this[t(455)]()}[d(386)]({url:t,file:e,serviceConfig:r}){const n=d,i=this[n(471)][n(401)][n(443)](n(407))[n(392)](),o=new FormData;o[n(423)](n(448),JSON[n(376)](r)),o[n(423)](n(464),e);const s={method:n(391),headers:{},body:o,signal:this[n(477)][n(449)]};return i&&(s[n(378)][n(375)]=i[n(426)]),fetch(t,s)}[d(430)](t){const e=d;return t.ok?t[e(436)]()[e(428)]((t=>{const r=e;this[r(471)][r(403)][r(470)][r(398)](this[r(463)])&&r(384)!==this[r(463)][r(444)]()[r(402)][r(438)]&&this[r(412)](r(389),t)})):Promise[e(417)]()}[d(411)](){const t=d;if(this[t(477)][t(449)][t(394)])return void(0,l.logWarning)(t(472));const e=this[t(471)],r=i(e[t(427)],t(382));e[t(401)][t(443)](t(445))[t(473)](r),(0,l.logError)(t(452))}}function m(){const t=["schema","plugins","root","model","low","isAtStart","_prepareForImport","ImportWordEditing","paragraph","isEnabled","document","_handleImportFailure","fire","DateTimeFormat","text/html","createBatch","4BOasUW","reject","mergeFields","abort","getFirstPosition","position","isAtEnd","set","importWord:","addMarker","value","locale","then","formatting","_handleImportResponse","clipboardInput","element","converterUrl","timeZone","stopListening","json","isEmpty","rootName","deleteContent","115176adZssM","split","createPositionAfter","get","getRange","Notification","createPositionBefore","view","config","signal","isCollapsed","parent","import-word-plugin-conversion-failed","571302cTSCnR","285295wsRWhR","refresh","2023353GVDGAS","getSelectedBlocks","setData","checkChild","execute","_cleanUpAfterImport","merge_fields","_importMarker","file","enqueueChange","resolvedOptions","html","setSelection","catch","markers","editor","import-word-plugin-import-cancelled","showWarning","importWord","isBusy","bind","_abortController","Authorization","stringify","finally","headers","36mTNgdd","184471cgPVDH","resolve","An error occurred while importing the Word file.","107645TLAzbs","$graveyard","110MjbazV","_sendImportRequest","_checkEnabled","MergeFields","dataInsert","_undoStepBatch","POST","getToken","removeMarker","aborted","editing","3541203WlwFdA","change:range","has","selection"];return(m=function(){return t})()}function g(){const t=["https://docx-converter.cke-cs.com/v2/convert/docx-html","editor","pluginName","1533098jRbJZe","395aUXpOH","commands","isOfficialPlugin","isPremiumPlugin","requires","init","token","13128cULQbC","none","_token","inline","5057040zfvilF","742378VdyBcW","398636CROCtn","getToken","define","plugins","get","registerTokenUrl","1127577xaemFI","config","cloudServices","1912128QrdJaZ","tokenUrl","importWord","add","ImportWordEditing","CloudServices"];return(g=function(){return t})()}const I=v;function v(t,e){const r=g();return(v=function(t,e){return r[t-=140]})(t,e)}!function(t){const e=v,r=t();for(;;)try{if(286030===parseInt(e(146))/1+parseInt(e(145))/2+-parseInt(e(152))/3+parseInt(e(155))/4+parseInt(e(165))/5*(-parseInt(e(140))/6)+parseInt(e(164))/7+-parseInt(e(144))/8)break;r.push(r.shift())}catch(t){r.push(r.shift())}}(g);class w extends t.Plugin{static get[I(163)](){return I(159)}static get[I(167)](){return!0}static get[I(168)](){return!0}static get[I(169)](){const t=I;return[e.Notification,u.ClipboardPipeline,t(160)]}constructor(t){const e=I;super(t),this[e(142)]=null}async[I(170)](){const t=I,e=this[t(162)];e[t(153)][t(148)](t(157),{converterUrl:t(161),tokenUrl:(e[t(153)][t(150)](t(154))||{})[t(156)],formatting:{resets:t(141),defaults:t(141),styles:t(143)}}),e[t(166)][t(158)](t(157),new f(e));const{tokenUrl:r}=e[t(153)][t(150)](t(157));if(r){const{tokenUrl:n}=e[t(153)][t(150)](t(154))||{};this[t(142)]=r===n?e[t(149)][t(150)](t(160))[t(171)]:await e[t(149)][t(150)](t(160))[t(151)](r)}}[I(147)](){return this[I(142)]}}var b=x;function W(){var t=["4pxOaLb","pluginName","13502313PACCLM","1EmvkNM","7772120HFEvTI","isPremiumPlugin","6556230itVpyj","8407LIxTmn","requires","6791934VoyqsK","ImportWord","4169817VCbtri","isOfficialPlugin","1807266pYJTiu","5672MvjHRZ"];return(W=function(){return t})()}function x(t,e){var r=W();return(x=function(t,e){return r[t-=472]})(t,e)}!function(t){for(var e=x,r=t();;)try{if(901866===parseInt(e(480))/1*(-parseInt(e(475))/2)+-parseInt(e(473))/3*(-parseInt(e(477))/4)+parseInt(e(481))/5+-parseInt(e(486))/6+-parseInt(e(484))/7*(parseInt(e(476))/8)+parseInt(e(479))/9+-parseInt(e(483))/10)break;r.push(r.shift())}catch(t){r.push(r.shift())}}(W);class y extends t.Plugin{static get[b(478)](){return b(472)}static get[b(474)](){return!0}static get[b(482)](){return!0}static get[b(485)](){return[w,c]}}function k(t,e){var r=P();return(k=function(t,e){return r[t-=382]})(t,e)}function P(){var t=["4699737tsxTCV","133IxmDfk","730662GdwxSo","769700nhlGWI","8836725stmrud","18720540hlspYn","7914480XckrkH","28yvYExV","13374EfHzcx"];return(P=function(){return t})()}!function(t){for(var e=k,r=t();;)try{if(919500===parseInt(e(382))/1*(parseInt(e(389))/2)+-parseInt(e(390))/3+-parseInt(e(384))/4+-parseInt(e(385))/5+parseInt(e(383))/6*(parseInt(e(388))/7)+parseInt(e(387))/8+parseInt(e(386))/9)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 _0x268f49,Command as _0x405121}from'@ckeditor/ckeditor5-core/dist/index.js';import{FileDialogButtonView as _0x40c808,MenuBarMenuListItemFileDialogButtonView as _0x1cf810,SpinnerView as _0x5dc2f8,Notification as _0x3982a6}from'@ckeditor/ckeditor5-ui/dist/index.js';import{ClipboardPipeline as _0x5bb098}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{Range as _0x23e2ce}from'@ckeditor/ckeditor5-engine/dist/index.js';import{first as _0x1ca11f,uid as _0x107d94,logWarning as _0x3885df,logError as _0x59221c}from'@ckeditor/ckeditor5-utils/dist/index.js';function p(_0x104af1,_0x5ed2c4){const t=_0x104af1['t'];switch(_0x5ed2c4){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 _0x5ed2c4;}}class i extends _0x268f49{static get['pluginName'](){return'ImportWordUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x3b9774=this['editor'];_0x3b9774['ui']['componentFactory']['add']('importWord',()=>{const _0x1470e2=this['_createButton'](_0x40c808),_0xf71ec6=_0x3b9774['commands']['get']('importWord');return _0x1470e2['bind']('isOn')['to'](_0xf71ec6,'isBusy'),_0x1470e2['tooltip']=!0x0,_0x1470e2;}),_0x3b9774['ui']['componentFactory']['add']('menuBar:importWord',()=>this['_createButton'](_0x1cf810));}['_createButton'](_0x2b5cd8){const _0x13ba65=this['editor'],_0x18c1a2=_0x13ba65['commands']['get']('importWord'),_0x5f55fc=new _0x2b5cd8(_0x13ba65['locale']),_0x6369a3=new _0x5dc2f8();return _0x5f55fc['set']({'acceptedType':'application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.openxmlformats-officedocument.wordprocessingml.template'}),_0x5f55fc['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'}),_0x5f55fc['bind']('isEnabled')['to'](_0x18c1a2),_0x5f55fc['bind']('label')['to'](_0x18c1a2,'isBusy',_0x4ff75a=>p(_0x13ba65['locale'],_0x4ff75a?'Importing\x20Word\x20document':'Import\x20from\x20Word')),_0x6369a3['bind']('isVisible')['to'](_0x18c1a2,'isBusy'),_0x5f55fc['iconView']['bind']('isVisible')['to'](_0x18c1a2,'isBusy',_0x4b1a80=>!_0x4b1a80),_0x5f55fc['children']['add'](_0x6369a3),_0x5f55fc['on']('done',(_0x3032dd,_0x31de04)=>{_0x13ba65['execute']('importWord',_0x31de04[0x0],{}),_0x13ba65['editing']['view']['focus']();}),_0x5f55fc;}}class d extends _0x405121{['_importMarker'];['_undoStepBatch'];['_abortController'];constructor(_0x60457){super(_0x60457),this['set']('isBusy',!0x1),this['_importMarker']=null,this['_undoStepBatch']=null,this['_abortController']=null,this['on']('dataInsert',(_0x3e94a6,_0x28da8a)=>{const _0x1fdce8=new DataTransfer();_0x1fdce8['setData']('text/html',_0x28da8a['html']);const _0x3ffcae=this['_importMarker']['getRange']();this['editor']['model']['enqueueChange'](this['_undoStepBatch'],_0x501dea=>{this['_importMarker']['stopListening'](),_0x501dea['setSelection'](_0x3ffcae),_0x60457['editing']['view']['document']['fire']('clipboardInput',{'dataTransfer':_0x1fdce8});});},{'priority':'low'});}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x43d0a2,_0x2ab198={}){if(this['isBusy'])return Promise['resolve']();const _0x43e1a4=this['editor']['config']['get']('importWord');if(this['editor']['plugins']['has']('MergeFields')){const {prefix:_0x1fb737,suffix:_0x29065c}=this['editor']['config']['get']('mergeFields');_0x2ab198['merge_fields']={'prefix':_0x1fb737,'suffix':_0x29065c};}const _0x5e224d={'url':_0x43e1a4['converterUrl'],'file':_0x43d0a2,'serviceConfig':{..._0x2ab198,'formatting':_0x43e1a4['formatting'],'timezone':new Intl['DateTimeFormat']()['resolvedOptions']()['timeZone']}};return this['_prepareForImport'](),this['_sendImportRequest'](_0x5e224d)['then'](this['_handleImportResponse']['bind'](this))['catch'](this['_handleImportFailure']['bind'](this))['finally'](this['_cleanUpAfterImport']['bind'](this));}['_checkEnabled'](){if(this['isBusy'])return!0x1;const _0x327be4=this['editor']['model'],_0x2915bc=_0x327be4['schema'],_0x57ca98=_0x327be4['document']['selection'],_0xaff62a=_0x1ca11f(_0x57ca98['getSelectedBlocks']());return!!_0xaff62a&&_0x2915bc['checkChild'](_0xaff62a['parent'],'paragraph');}['_prepareForImport'](){const _0x4a9761=this['editor'],_0x506287=_0x4a9761['model'],_0x413c24=_0x506287['document']['selection'];this['_abortController']=new AbortController(),this['_undoStepBatch']=_0x4a9761['model']['createBatch']({'isUndoable':!0x0}),_0x506287['enqueueChange'](this['_undoStepBatch'],_0x5b5444=>{_0x413c24['isCollapsed']||_0x506287['deleteContent'](_0x413c24,{'leaveUnmerged':!0x0});const _0x5f2256=_0x413c24['getFirstPosition'](),_0x4f4d7d=_0x1ca11f(_0x413c24['getSelectedBlocks']());let _0x366522;_0x366522=_0x4f4d7d['is']('element','paragraph')&&_0x4f4d7d['isEmpty']?_0x5f2256:_0x5f2256['isAtStart']?_0x506287['createPositionBefore'](_0x4f4d7d):_0x5f2256['isAtEnd']?_0x506287['createPositionAfter'](_0x4f4d7d):_0x5b5444['split'](_0x5f2256)['position'],this['_importMarker']=_0x5b5444['addMarker']('importWord:'+_0x107d94(),{'usingOperation':!0x1,'affectsData':!0x1,'range':new _0x23e2ce(_0x366522)}),this['_importMarker']['on']('change:range',()=>{'$graveyard'===this['_importMarker']['getRange']()['root']['rootName']&&this['_abortController']['abort']();});}),this['isBusy']=!0x0,this['refresh']();}['_cleanUpAfterImport'](){const _0x46fa39=this['editor']['model'];_0x46fa39['markers']['has'](this['_importMarker'])&&_0x46fa39['enqueueChange'](this['_undoStepBatch'],_0x408ccd=>{_0x408ccd['removeMarker'](this['_importMarker']);}),this['_importMarker']=null,this['_undoStepBatch']=null,this['_abortController']=null,this['isBusy']=!0x1,this['refresh']();}['_sendImportRequest']({url:_0x5aa7a8,file:_0xfe7df9,serviceConfig:_0x5babad}){const _0x13395a=this['editor']['plugins']['get']('ImportWordEditing')['getToken'](),_0x1d550b=new FormData();_0x1d550b['set']('config',JSON['stringify'](_0x5babad)),_0x1d550b['set']('file',_0xfe7df9);const _0x4ed73d={'method':'POST','headers':{},'body':_0x1d550b,'signal':this['_abortController']['signal']};return _0x13395a&&(_0x4ed73d['headers']['Authorization']=_0x13395a['value']),fetch(_0x5aa7a8,_0x4ed73d);}['_handleImportResponse'](_0x16b689){return _0x16b689['ok']?_0x16b689['json']()['then'](_0x3fa79c=>{if(!this['editor']['model']['markers']['has'](this['_importMarker']))return;'$graveyard'!==this['_importMarker']['getRange']()['root']['rootName']&&this['fire']('dataInsert',_0x3fa79c);}):Promise['reject']();}['_handleImportFailure'](){if(this['_abortController']['signal']['aborted'])return void _0x3885df('import-word-plugin-import-cancelled');const _0x6cfa38=this['editor'],_0xe0e6eb=p(_0x6cfa38['locale'],'An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.');_0x6cfa38['plugins']['get']('Notification')['showWarning'](_0xe0e6eb),_0x59221c('import-word-plugin-conversion-failed');}}class e extends _0x268f49{['_token'];static get['pluginName'](){return'ImportWordEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x3982a6,_0x5bb098,'CloudServices'];}constructor(_0x3fbc0d){super(_0x3fbc0d),this['_token']=null;}async['init'](){const _0x367f07=this['editor'];_0x367f07['config']['define']('importWord',{'converterUrl':'https://docx-converter.cke-cs.com/v2/convert/docx-html','tokenUrl':(_0x367f07['config']['get']('cloudServices')||{})['tokenUrl'],'formatting':{'resets':'none','defaults':'none','styles':'inline'}}),_0x367f07['commands']['add']('importWord',new d(_0x367f07));const {tokenUrl:_0x29e4fb}=_0x367f07['config']['get']('importWord');if(_0x29e4fb){const {tokenUrl:_0x14808d}=_0x367f07['config']['get']('cloudServices')||{};this['_token']=_0x29e4fb===_0x14808d?_0x367f07['plugins']['get']('CloudServices')['token']:await _0x367f07['plugins']['get']('CloudServices')['registerTokenUrl'](_0x29e4fb);}}['getToken'](){return this['_token'];}}class o extends _0x268f49{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':_0x5a7588=>0x1!=_0x5a7588}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x152481=>{const {af:{dictionary:_0x18ddc7,getPluralForm:_0x176665}}={'af':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x17b9ca=>0x1!=_0x17b9ca}};_0x152481['af']||={'dictionary':{},'getPluralForm':null},_0x152481['af']['dictionary']=Object['assign'](_0x152481['af']['dictionary'],_0x18ddc7),_0x152481['af']['getPluralForm']=_0x176665;})(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':_0x378a2c=>0x0==_0x378a2c?0x0:0x1==_0x378a2c?0x1:0x2==_0x378a2c?0x2:_0x378a2c%0x64>=0x3&&_0x378a2c%0x64<=0xa?0x3:_0x378a2c%0x64>=0xb?0x4:0x5}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x52a775=>{const {ar:{dictionary:_0x36f0cd,getPluralForm:_0x3f0925}}={'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':_0x4c08d9=>0x0==_0x4c08d9?0x0:0x1==_0x4c08d9?0x1:0x2==_0x4c08d9?0x2:_0x4c08d9%0x64>=0x3&&_0x4c08d9%0x64<=0xa?0x3:_0x4c08d9%0x64>=0xb?0x4:0x5}};_0x52a775['ar']||={'dictionary':{},'getPluralForm':null},_0x52a775['ar']['dictionary']=Object['assign'](_0x52a775['ar']['dictionary'],_0x36f0cd),_0x52a775['ar']['getPluralForm']=_0x3f0925;})(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':_0x52b746=>0x1!=_0x52b746}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x11d0d4=>{const {ast:{dictionary:_0x949f4a,getPluralForm:_0x4e0f9e}}={'ast':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x352696=>0x1!=_0x352696}};_0x11d0d4['ast']||={'dictionary':{},'getPluralForm':null},_0x11d0d4['ast']['dictionary']=Object['assign'](_0x11d0d4['ast']['dictionary'],_0x949f4a),_0x11d0d4['ast']['getPluralForm']=_0x4e0f9e;})(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':_0x463488=>0x1!=_0x463488}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x22a07e=>{const {az:{dictionary:_0x35600c,getPluralForm:_0x58393f}}={'az':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x1637d8=>0x1!=_0x1637d8}};_0x22a07e['az']||={'dictionary':{},'getPluralForm':null},_0x22a07e['az']['dictionary']=Object['assign'](_0x22a07e['az']['dictionary'],_0x35600c),_0x22a07e['az']['getPluralForm']=_0x58393f;})(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':_0x4dd011=>0x1!=_0x4dd011}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x37cbcd=>{const {bg:{dictionary:_0x55d755,getPluralForm:_0x5925aa}}={'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':_0x592682=>0x1!=_0x592682}};_0x37cbcd['bg']||={'dictionary':{},'getPluralForm':null},_0x37cbcd['bg']['dictionary']=Object['assign'](_0x37cbcd['bg']['dictionary'],_0x55d755),_0x37cbcd['bg']['getPluralForm']=_0x5925aa;})(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':_0x5e0a65=>0x1!=_0x5e0a65}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x3b5a89=>{const {bn:{dictionary:_0x1101e1,getPluralForm:_0x61d553}}={'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':_0x8d59de=>0x1!=_0x8d59de}};_0x3b5a89['bn']||={'dictionary':{},'getPluralForm':null},_0x3b5a89['bn']['dictionary']=Object['assign'](_0x3b5a89['bn']['dictionary'],_0x1101e1),_0x3b5a89['bn']['getPluralForm']=_0x61d553;})(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':_0x267f89=>_0x267f89%0xa==0x1&&_0x267f89%0x64!=0xb?0x0:_0x267f89%0xa>=0x2&&_0x267f89%0xa<=0x4&&(_0x267f89%0x64<0xa||_0x267f89%0x64>=0x14)?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x35a628=>{const {bs:{dictionary:_0xa9d9e9,getPluralForm:_0x3f7d01}}={'bs':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x5e5ce1=>_0x5e5ce1%0xa==0x1&&_0x5e5ce1%0x64!=0xb?0x0:_0x5e5ce1%0xa>=0x2&&_0x5e5ce1%0xa<=0x4&&(_0x5e5ce1%0x64<0xa||_0x5e5ce1%0x64>=0x14)?0x1:0x2}};_0x35a628['bs']||={'dictionary':{},'getPluralForm':null},_0x35a628['bs']['dictionary']=Object['assign'](_0x35a628['bs']['dictionary'],_0xa9d9e9),_0x35a628['bs']['getPluralForm']=_0x3f7d01;})(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':_0x916f4a=>0x1!=_0x916f4a}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x1c981e=>{const {ca:{dictionary:_0x58bed0,getPluralForm:_0x30cc7e}}={'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':_0x312185=>0x1!=_0x312185}};_0x1c981e['ca']||={'dictionary':{},'getPluralForm':null},_0x1c981e['ca']['dictionary']=Object['assign'](_0x1c981e['ca']['dictionary'],_0x58bed0),_0x1c981e['ca']['getPluralForm']=_0x30cc7e;})(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':_0x2c01d5=>0x1==_0x2c01d5?0x0:_0x2c01d5>=0x2&&_0x2c01d5<=0x4?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x4389b3=>{const {cs:{dictionary:_0x5e84a2,getPluralForm:_0x18362f}}={'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':_0x357e54=>0x1==_0x357e54?0x0:_0x357e54>=0x2&&_0x357e54<=0x4?0x1:0x2}};_0x4389b3['cs']||={'dictionary':{},'getPluralForm':null},_0x4389b3['cs']['dictionary']=Object['assign'](_0x4389b3['cs']['dictionary'],_0x5e84a2),_0x4389b3['cs']['getPluralForm']=_0x18362f;})(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':_0x9c95de=>0x1!=_0x9c95de}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x3d3c5b=>{const {da:{dictionary:_0x352404,getPluralForm:_0x2a0912}}={'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':_0x174f0d=>0x1!=_0x174f0d}};_0x3d3c5b['da']||={'dictionary':{},'getPluralForm':null},_0x3d3c5b['da']['dictionary']=Object['assign'](_0x3d3c5b['da']['dictionary'],_0x352404),_0x3d3c5b['da']['getPluralForm']=_0x2a0912;})(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':_0x86806a=>0x1!=_0x86806a}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x58715e=>{const {'de-ch':{dictionary:_0x1d6b0d,getPluralForm:_0x422721}}={'de-ch':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x33b664=>0x1!=_0x33b664}};_0x58715e['de-ch']||={'dictionary':{},'getPluralForm':null},_0x58715e['de-ch']['dictionary']=Object['assign'](_0x58715e['de-ch']['dictionary'],_0x1d6b0d),_0x58715e['de-ch']['getPluralForm']=_0x422721;})(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':_0x237952=>0x1!=_0x237952}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x52017a=>{const {de:{dictionary:_0x2978fd,getPluralForm:_0x34ffdd}}={'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':_0x4bec84=>0x1!=_0x4bec84}};_0x52017a['de']||={'dictionary':{},'getPluralForm':null},_0x52017a['de']['dictionary']=Object['assign'](_0x52017a['de']['dictionary'],_0x2978fd),_0x52017a['de']['getPluralForm']=_0x34ffdd;})(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':_0x2eef9f=>0x1!=_0x2eef9f}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x695e7=>{const {el:{dictionary:_0x32361c,getPluralForm:_0x43b9c2}}={'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':_0x2be160=>0x1!=_0x2be160}};_0x695e7['el']||={'dictionary':{},'getPluralForm':null},_0x695e7['el']['dictionary']=Object['assign'](_0x695e7['el']['dictionary'],_0x32361c),_0x695e7['el']['getPluralForm']=_0x43b9c2;})(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':_0x4f7881=>0x1!=_0x4f7881}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x169ea9=>{const {'en-au':{dictionary:_0x16597b,getPluralForm:_0x48765}}={'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':_0x5d29c0=>0x1!=_0x5d29c0}};_0x169ea9['en-au']||={'dictionary':{},'getPluralForm':null},_0x169ea9['en-au']['dictionary']=Object['assign'](_0x169ea9['en-au']['dictionary'],_0x16597b),_0x169ea9['en-au']['getPluralForm']=_0x48765;})(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':_0x397001=>0x1!=_0x397001}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x41a71e=>{const {'en-gb':{dictionary:_0x2c65e1,getPluralForm:_0x21d831}}={'en-gb':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x59996f=>0x1!=_0x59996f}};_0x41a71e['en-gb']||={'dictionary':{},'getPluralForm':null},_0x41a71e['en-gb']['dictionary']=Object['assign'](_0x41a71e['en-gb']['dictionary'],_0x2c65e1),_0x41a71e['en-gb']['getPluralForm']=_0x21d831;})(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':_0x309221=>0x1!=_0x309221}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x5d4be2=>{const {en:{dictionary:_0x15d40f,getPluralForm:_0x42fd81}}={'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':_0x559eea=>0x1!=_0x559eea}};_0x5d4be2['en']||={'dictionary':{},'getPluralForm':null},_0x5d4be2['en']['dictionary']=Object['assign'](_0x5d4be2['en']['dictionary'],_0x15d40f),_0x5d4be2['en']['getPluralForm']=_0x42fd81;})(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':_0x4643ad=>0x1!=_0x4643ad}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x49d071=>{const {eo:{dictionary:_0x28ccab,getPluralForm:_0x13ffbd}}={'eo':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x18e1c8=>0x1!=_0x18e1c8}};_0x49d071['eo']||={'dictionary':{},'getPluralForm':null},_0x49d071['eo']['dictionary']=Object['assign'](_0x49d071['eo']['dictionary'],_0x28ccab),_0x49d071['eo']['getPluralForm']=_0x13ffbd;})(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':_0x4582cc=>0x1!=_0x4582cc}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x90f2c1=>{const {'es-co':{dictionary:_0x4cc2b2,getPluralForm:_0x50417e}}={'es-co':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x4568a6=>0x1!=_0x4568a6}};_0x90f2c1['es-co']||={'dictionary':{},'getPluralForm':null},_0x90f2c1['es-co']['dictionary']=Object['assign'](_0x90f2c1['es-co']['dictionary'],_0x4cc2b2),_0x90f2c1['es-co']['getPluralForm']=_0x50417e;})(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':_0x33a5d7=>0x1!=_0x33a5d7}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x26cd81=>{const {es:{dictionary:_0x6134ce,getPluralForm:_0x5863ba}}={'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':_0x3aabff=>0x1!=_0x3aabff}};_0x26cd81['es']||={'dictionary':{},'getPluralForm':null},_0x26cd81['es']['dictionary']=Object['assign'](_0x26cd81['es']['dictionary'],_0x6134ce),_0x26cd81['es']['getPluralForm']=_0x5863ba;})(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':_0x15945c=>0x1!=_0x15945c}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x642a8c=>{const {et:{dictionary:_0x23aca2,getPluralForm:_0x55c4e8}}={'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':_0x4dd851=>0x1!=_0x4dd851}};_0x642a8c['et']||={'dictionary':{},'getPluralForm':null},_0x642a8c['et']['dictionary']=Object['assign'](_0x642a8c['et']['dictionary'],_0x23aca2),_0x642a8c['et']['getPluralForm']=_0x55c4e8;})(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':_0x55ec11=>0x1!=_0x55ec11}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x2f5962=>{const {eu:{dictionary:_0x51ef40,getPluralForm:_0x130df2}}={'eu':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x163dc6=>0x1!=_0x163dc6}};_0x2f5962['eu']||={'dictionary':{},'getPluralForm':null},_0x2f5962['eu']['dictionary']=Object['assign'](_0x2f5962['eu']['dictionary'],_0x51ef40),_0x2f5962['eu']['getPluralForm']=_0x130df2;})(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':_0x498eb9=>0x0}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x54e492=>{const {fa:{dictionary:_0x1a9e8,getPluralForm:_0x5e475f}}={'fa':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x588572=>0x0}};_0x54e492['fa']||={'dictionary':{},'getPluralForm':null},_0x54e492['fa']['dictionary']=Object['assign'](_0x54e492['fa']['dictionary'],_0x1a9e8),_0x54e492['fa']['getPluralForm']=_0x5e475f;})(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':_0x427407=>0x1!=_0x427407}};
|