@ckeditor/ckeditor5-import-word 0.0.0-nightly-20241222.0 → 0.0.0-nightly-20241224.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/import-word.js +1 -1
- package/dist/index.js +1 -1
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +7 -7
- package/src/importword.js +1 -1
- package/src/importwordcommand.js +1 -1
- package/src/importwordediting.js +1 -1
- package/src/importwordui.js +1 -1
- package/src/index.js +1 -1
- package/src/utils/common-translations.js +1 -1
package/build/import-word.js
CHANGED
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
/*!
|
|
3
3
|
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
4
4
|
* For licensing, see LICENSE.md.
|
|
5
|
-
*/(()=>{var t={331:(t,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:()=>a});var t=e(782),r=e(311);function i(t,r){const e=t.t;switch(r){case"Import from Word":return e("Import from Word");case"An error occurred while importing the Word file.":return e("An error occurred while importing the Word file.");case"Importing Word document":return e("Importing Word document");default:return r}}const o=s;function s(t,r){const e=c();return(s=function(t,r){return e[t-=288]})(t,r)}!function(t){const r=s,e=t();for(;;)try{if(133609===parseInt(r(322))/1+-parseInt(r(298))/2*(-parseInt(r(300))/3)+parseInt(r(296))/4*(parseInt(r(313))/5)+-parseInt(r(311))/6*(parseInt(r(299))/7)+-parseInt(r(330))/8+-parseInt(r(321))/9*(parseInt(r(326))/10)+parseInt(r(302))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(c);class a extends t.Plugin{static get[o(288)](){return o(328)}static get[o(295)](){return!0}static get[o(294)](){return!0}[o(297)](){const t=o,e=this[t(327)];e.ui[t(290)][t(319)](t(309),(()=>{const n=t,i=this[n(303)](r.FileDialogButtonView),o=e[n(318)][n(292)](n(309));return i[n(306)](n(291)).to(o,n(307)),i[n(289)]=!0,i})),e.ui[t(290)][t(319)](t(323),(()=>this[t(303)](r.MenuBarMenuListItemFileDialogButtonView)))}[o(303)](t){const e=o,n=this[e(327)],s=n[e(318)][e(292)](e(309)),a=new t(n[e(324)]),c=new r.SpinnerView;return a[e(314)]({acceptedType:e(305)}),a[e(314)]({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(306)](e(304)).to(s),a[e(306)](e(310)).to(s,e(307),(t=>i(n[e(324)],e(t?329:312)))),c[e(306)](e(301)).to(s,e(307)),a[e(320)][e(306)](e(301)).to(s,e(307),(t=>!t)),a[e(308)][e(319)](c),a.on(e(315),((t,r)=>{const i=e;n[i(293)](i(309),r[0],{}),n[i(325)][i(316)][i(317)]()})),a}}function c(){const t=["84qszOdJ","init","8nuUUzF","182329uOkcBf","83019QmwArr","isVisible","5525025EFWUZT","_createButton","isEnabled","application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.openxmlformats-officedocument.wordprocessingml.template","bind","isBusy","children","importWord","label","60UGwRnl","Import from Word","9505XGhbQe","set","done","view","focus","commands","add","iconView","225468RSFdGr","127583KSZiai","menuBar:importWord","locale","editing","100FnTgzR","editor","ImportWordUI","Importing Word document","1086976ffzdpa","pluginName","tooltip","componentFactory","isOn","get","execute","isPremiumPlugin","isOfficialPlugin"];return(c=function(){return t})()}var u=e(331),p=e(783),l=e(584);const d=h;function h(t,r){const e=f();return(h=function(t,r){return e[t-=456]})(t,r)}function f(){const t=["config","4397048bzDhDD","position","change:range","import-word-plugin-import-cancelled","resolve","importWord:","signal","locale","element","selection","addMarker","refresh","isAtStart","getFirstPosition","getRange","document","json","then","editing","deleteContent","text/html","reject","bind","checkChild","merge_fields","markers","setSelection","POST","abort","get","has","_sendImportRequest","setData","Notification","createBatch","An error occurred while importing the Word file.","9259327EfuOYb","_handleImportFailure","split","ImportWordEditing","headers","_handleImportResponse","MergeFields","stopListening","stringify","Authorization","getToken","createPositionBefore","import-word-plugin-conversion-failed","826UiwQDb","2587490AbGEey","$graveyard","1731390woOkAv","9znWMHU","isCollapsed","editor","createPositionAfter","importWord","set","model","clipboardInput","html","timeZone","_checkEnabled","aborted","root","721iQfBRa","enqueueChange","converterUrl","isEmpty","low","_prepareForImport","isAtEnd","577076kuJjBu","showWarning","dataInsert","removeMarker","2374giIEca","_abortController","DateTimeFormat","isEnabled","execute","_cleanUpAfterImport","parent","schema","_undoStepBatch","isBusy","paragraph","plugins","file","18wTGNxF","value","_importMarker","fire","view","formatting","catch","finally","rootName","mergeFields","getSelectedBlocks","resolvedOptions","25032wAKzdh"];return(f=function(){return t})()}!function(t){const r=h,e=t();for(;;)try{if(492331===-parseInt(r(494))/1*(-parseInt(r(466))/2)+-parseInt(r(507))/3*(parseInt(r(490))/4)+-parseInt(r(467))/5+parseInt(r(519))/6*(parseInt(r(483))/7)+parseInt(r(521))/8*(-parseInt(r(470))/9)+parseInt(r(469))/10+parseInt(r(557))/11)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(475)](r(503),!1),this[r(509)]=null,this[r(502)]=null,this[r(495)]=null,this.on(r(492),((e,n)=>{const i=r,o=new DataTransfer;o[i(553)](i(541),n[i(478)]);const s=this[i(509)][i(535)]();this[i(472)][i(476)][i(484)](this[i(502)],(r=>{const e=i;this[e(509)][e(460)](),r[e(547)](s),t[e(539)][e(511)][e(536)][e(510)](e(477),{dataTransfer:o})}))}),{priority:r(487)})}[d(532)](){const t=d;this[t(497)]=this[t(480)]()}[d(498)](t,r={}){const e=d;if(this[e(503)])return Promise[e(525)]();const n=this[e(472)][e(520)][e(550)](e(474));if(this[e(472)][e(505)][e(551)](e(459))){const{prefix:t,suffix:n}=this[e(472)][e(520)][e(550)](e(516));r[e(545)]={prefix:t,suffix:n}}const i={url:n[e(485)],file:t,serviceConfig:{...r,formatting:n[e(512)],timezone:(new(Intl[e(496)]))[e(518)]()[e(479)]}};return this[e(488)](),this[e(552)](i)[e(538)](this[e(458)][e(543)](this))[e(513)](this[e(558)][e(543)](this))[e(514)](this[e(499)][e(543)](this))}[d(480)](){const t=d;if(this[t(503)])return!1;const r=this[t(472)][t(476)],e=r[t(501)],n=r[t(536)][t(530)],i=(0,l.first)(n[t(517)]());return!!i&&e[t(544)](i[t(500)],t(504))}[d(488)](){const t=d,r=this[t(472)],e=r[t(476)],n=e[t(536)][t(530)];this[t(495)]=new AbortController,this[t(502)]=r[t(476)][t(555)]({isUndoable:!0}),e[t(484)](this[t(502)],(r=>{const i=t;n[i(471)]||e[i(540)](n,{leaveUnmerged:!0});const o=n[i(534)](),s=(0,l.first)(n[i(517)]());let a;a=s.is(i(529),i(504))&&s[i(486)]?o:o[i(533)]?e[i(464)](s):o[i(489)]?e[i(473)](s):r[i(559)](o)[i(522)],this[i(509)]=r[i(531)](i(526)+(0,l.uid)(),{usingOperation:!1,affectsData:!1,range:new p.Range(a)}),this[i(509)].on(i(523),(()=>{const t=i;t(468)===this[t(509)][t(535)]()[t(482)][t(515)]&&this[t(495)][t(549)]()}))})),this[t(503)]=!0,this[t(532)]()}[d(499)](){const t=d,r=this[t(472)][t(476)];r[t(546)][t(551)](this[t(509)])&&r[t(484)](this[t(502)],(r=>{const e=t;r[e(493)](this[e(509)])})),this[t(509)]=null,this[t(502)]=null,this[t(495)]=null,this[t(503)]=!1,this[t(532)]()}[d(552)]({url:t,file:r,serviceConfig:e}){const n=d,i=this[n(472)][n(505)][n(550)](n(456))[n(463)](),o=new FormData;o[n(475)](n(520),JSON[n(461)](e)),o[n(475)](n(506),r);const s={method:n(548),headers:{},body:o,signal:this[n(495)][n(527)]};return i&&(s[n(457)][n(462)]=i[n(508)]),fetch(t,s)}[d(458)](t){const r=d;return t.ok?t[r(537)]()[r(538)]((t=>{const e=r;this[e(472)][e(476)][e(546)][e(551)](this[e(509)])&&e(468)!==this[e(509)][e(535)]()[e(482)][e(515)]&&this[e(510)](e(492),t)})):Promise[r(542)]()}[d(558)](){const t=d;if(this[t(495)][t(527)][t(481)])return void(0,l.logWarning)(t(524));const r=this[t(472)],e=i(r[t(528)],t(556));r[t(505)][t(550)](t(554))[t(491)](e),(0,l.logError)(t(465))}}const g=v;function I(){const t=["isPremiumPlugin","commands","get","token","define","cloudServices","18078mvSdCx","20PRgkLo","8809029AlKqtf","getToken","8OCQWkF","pluginName","ImportWordEditing","5363260vjWlFu","590680kfZusX","requires","79923GBXCjD","registerTokenUrl","259ZRhsAY","4881320wRarEj","importWord","_token","https://docx-converter.cke-cs.com/v2/convert/docx-html","2336650PaBbrD","none","editor","init","tokenUrl","plugins","add","config","isOfficialPlugin","CloudServices","inline"];return(I=function(){return t})()}function v(t,r){const e=I();return(v=function(t,r){return e[t-=306]})(t,r)}!function(t){const r=v,e=t();for(;;)try{if(658026===parseInt(r(323))/1+parseInt(r(316))/2*(parseInt(r(325))/3)+-parseInt(r(328))/4+parseInt(r(332))/5+-parseInt(r(315))/6*(-parseInt(r(327))/7)+-parseInt(r(319))/8*(-parseInt(r(317))/9)+-parseInt(r(322))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(I);class w extends t.Plugin{static get[g(320)](){return g(321)}static get[g(306)](){return!0}static get[g(309)](){return!0}static get[g(324)](){const t=g;return[r.Notification,u.ClipboardPipeline,t(307)]}constructor(t){const r=g;super(t),this[r(330)]=null}async[g(335)](){const t=g,r=this[t(334)];r[t(339)][t(313)](t(329),{converterUrl:t(331),tokenUrl:(r[t(339)][t(311)](t(314))||{})[t(336)],formatting:{resets:t(333),defaults:t(333),styles:t(308)}}),r[t(310)][t(338)](t(329),new m(r));const{tokenUrl:e}=r[t(339)][t(311)](t(329));if(e){const{tokenUrl:n}=r[t(339)][t(311)](t(314))||{};this[t(330)]=e===n?r[t(337)][t(311)](t(307))[t(312)]:await r[t(337)][t(311)](t(307))[t(326)](e)}}[g(318)](){return this[g(330)]}}var b=y;function W(){var t=["304VlSxKn","2928rXCAhn","isOfficialPlugin","900911vupFwq","4791627vuvjgC","10UuIfCs","1504428ECfRDj","869YtJmll","4498146GeprAG","pluginName","requires","82299hFIpkD","isPremiumPlugin","5ogniqs","ImportWord","215844DeNqDS","198CbdzgN"];return(W=function(){return t})()}function y(t,r){var e=W();return(y=function(t,r){return e[t-=415]})(t,r)}!function(t){for(var r=y,e=t();;)try{if(651488===-parseInt(r(426))/1+-parseInt(r(429))/2+parseInt(r(422))/3*(parseInt(r(424))/4)+-parseInt(r(419))/5*(-parseInt(r(431))/6)+parseInt(r(417))/7*(-parseInt(r(423))/8)+-parseInt(r(427))/9*(-parseInt(r(428))/10)+parseInt(r(430))/11*(parseInt(r(421))/12))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(W);class k extends t.Plugin{static get[b(415)](){return b(420)}static get[b(425)](){return!0}static get[b(418)](){return!0}static get[b(416)](){return[w,a]}}function x(){var t=["2477525ysoUgz","3635456MbQRBo","1223316PfjmHh","140BMhtKH","9LJocgY","5514nFLXDv","105396TshIpQ","390aYVfcU","8652620CiaEIv","35391rQVLyl"];return(x=function(){return t})()}function P(t,r){var e=x();return(P=function(t,r){return e[t-=422]})(t,r)}!function(t){for(var r=P,e=t();;)try{if(362203===-parseInt(r(424))/1+parseInt(r(422))/2*(parseInt(r(430))/3)+parseInt(r(427))/4+parseInt(r(425))/5+parseInt(r(431))/6*(-parseInt(r(428))/7)+parseInt(r(426))/8+-parseInt(r(429))/9*(parseInt(r(423))/10))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(x)})(),(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:()=>W,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=["pluginName","execute","set","ImportWordUI","8149260mBGAAm","isBusy","328HtsDoF","application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.openxmlformats-officedocument.wordprocessingml.template","3994989XACNWa","isEnabled","done","editing","isOfficialPlugin","view","editor","isPremiumPlugin","isOn","9KJOVrV","children","_createButton","Importing Word document","init","componentFactory","bind","352jVcvDL","commands","7204565Hjxqnv","menuBar:importWord","label","Import from Word","4MYOBkw","12yzbUVS","isVisible","get","14091858GsNGrg","tooltip","5768056ldwAqV","focus","iconView","importWord","1591816bmDumy","locale","add"];return(s=function(){return t})()}function a(t,r){const e=s();return(a=function(t,r){return e[t-=326]})(t,r)}!function(t){const r=a,e=t();for(;;)try{if(931365===-parseInt(r(338))/1*(-parseInt(r(356))/2)+-parseInt(r(340))/3*(-parseInt(r(362))/4)+-parseInt(r(358))/5+-parseInt(r(363))/6*(-parseInt(r(368))/7)+parseInt(r(329))/8*(-parseInt(r(349))/9)+parseInt(r(336))/10+-parseInt(r(366))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(s);class c extends t.Plugin{static get[o(332)](){return o(335)}static get[o(344)](){return!0}static get[o(347)](){return!0}[o(353)](){const t=o,e=this[t(346)];e.ui[t(354)][t(331)](t(328),(()=>{const n=t,i=this[n(351)](r.FileDialogButtonView),o=e[n(357)][n(365)](n(328));return i[n(355)](n(348)).to(o,n(337)),i[n(367)]=!0,i})),e.ui[t(354)][t(331)](t(359),(()=>this[t(351)](r.MenuBarMenuListItemFileDialogButtonView)))}[o(351)](t){const e=o,n=this[e(346)],s=n[e(357)][e(365)](e(328)),a=new t(n[e(330)]),c=new r.SpinnerView;return a[e(334)]({acceptedType:e(339)}),a[e(334)]({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(355)](e(341)).to(s),a[e(355)](e(360)).to(s,e(337),(t=>i(n[e(330)],e(t?352:361)))),c[e(355)](e(364)).to(s,e(337)),a[e(327)][e(355)](e(364)).to(s,e(337),(t=>!t)),a[e(350)][e(331)](c),a.on(e(342),((t,r)=>{const i=e;n[i(333)](i(328),r[0],{}),n[i(343)][i(345)][i(326)]()})),a}}var u=e(331),p=e(783),l=e(584);const d=f;function h(){const t=["split","$graveyard","showWarning","import-word-plugin-conversion-failed","2151fbrwAe","23mtHiZn","Notification","setData","position","finally","selection","DateTimeFormat","840240OjmXbO","element","importWord:","1739740qlbxwz","POST","rootName","import-word-plugin-import-cancelled","mergeFields","execute","fire","createBatch","getFirstPosition","plugins","view","removeMarker","_handleImportFailure","_prepareForImport","editing","1109886QFyXEx","27884knFGeM","374339OgUDKF","_importMarker","document","root","html","headers","_handleImportResponse","_undoStepBatch","then","isBusy","clipboardInput","11368SeToDY","_sendImportRequest","parent","merge_fields","paragraph","_abortController","isAtEnd","importWord","setSelection","isEmpty","set","abort","createPositionBefore","file","925076dftXTD","change:range","text/html","Authorization","schema","stringify","json","catch","low","markers","aborted","getRange","converterUrl","config","An error occurred while importing the Word file.","isAtStart","formatting","editor","ImportWordEditing","createPositionAfter","stopListening","refresh","reject","isCollapsed","has","_checkEnabled","bind","5HeJMUe","timeZone","_cleanUpAfterImport","MergeFields","locale","checkChild","resolve","resolvedOptions","get","dataInsert","getToken","getSelectedBlocks","model","deleteContent","enqueueChange","isEnabled","addMarker","value","signal"];return(h=function(){return t})()}function f(t,r){const e=h();return(f=function(t,r){return e[t-=404]})(t,r)}!function(t){const r=f,e=t();for(;;)try{if(214787===-parseInt(r(465))/1*(-parseInt(r(491))/2)+parseInt(r(490))/3+parseInt(r(414))/4*(parseInt(r(441))/5)+-parseInt(r(472))/6+-parseInt(r(492))/7+parseInt(r(503))/8*(-parseInt(r(464))/9)+-parseInt(r(475))/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(410)](r(501),!1),this[r(493)]=null,this[r(499)]=null,this[r(405)]=null,this.on(r(450),((e,n)=>{const i=r,o=new DataTransfer;o[i(467)](i(416),n[i(496)]);const s=this[i(493)][i(425)]();this[i(431)][i(453)][i(455)](this[i(499)],(r=>{const e=i;this[e(493)][e(434)](),r[e(408)](s),t[e(489)][e(485)][e(494)][e(481)](e(502),{dataTransfer:o})}))}),{priority:r(422)})}[d(435)](){const t=d;this[t(456)]=this[t(439)]()}[d(480)](t,r={}){const e=d;if(this[e(501)])return Promise[e(447)]();const n=this[e(431)][e(427)][e(449)](e(407));if(this[e(431)][e(484)][e(438)](e(444))){const{prefix:t,suffix:n}=this[e(431)][e(427)][e(449)](e(479));r[e(506)]={prefix:t,suffix:n}}const i={url:n[e(426)],file:t,serviceConfig:{...r,formatting:n[e(430)],timezone:(new(Intl[e(471)]))[e(448)]()[e(442)]}};return this[e(488)](),this[e(504)](i)[e(500)](this[e(498)][e(440)](this))[e(421)](this[e(487)][e(440)](this))[e(469)](this[e(443)][e(440)](this))}[d(439)](){const t=d;if(this[t(501)])return!1;const r=this[t(431)][t(453)],e=r[t(418)],n=r[t(494)][t(470)],i=(0,l.first)(n[t(452)]());return!!i&&e[t(446)](i[t(505)],t(404))}[d(488)](){const t=d,r=this[t(431)],e=r[t(453)],n=e[t(494)][t(470)];this[t(405)]=new AbortController,this[t(499)]=r[t(453)][t(482)]({isUndoable:!0}),e[t(455)](this[t(499)],(r=>{const i=t;n[i(437)]||e[i(454)](n,{leaveUnmerged:!0});const o=n[i(483)](),s=(0,l.first)(n[i(452)]());let a;a=s.is(i(473),i(404))&&s[i(409)]?o:o[i(429)]?e[i(412)](s):o[i(406)]?e[i(433)](s):r[i(460)](o)[i(468)],this[i(493)]=r[i(457)](i(474)+(0,l.uid)(),{usingOperation:!1,affectsData:!1,range:new p.Range(a)}),this[i(493)].on(i(415),(()=>{const t=i;t(461)===this[t(493)][t(425)]()[t(495)][t(477)]&&this[t(405)][t(411)]()}))})),this[t(501)]=!0,this[t(435)]()}[d(443)](){const t=d,r=this[t(431)][t(453)];r[t(423)][t(438)](this[t(493)])&&r[t(455)](this[t(499)],(r=>{const e=t;r[e(486)](this[e(493)])})),this[t(493)]=null,this[t(499)]=null,this[t(405)]=null,this[t(501)]=!1,this[t(435)]()}[d(504)]({url:t,file:r,serviceConfig:e}){const n=d,i=this[n(431)][n(484)][n(449)](n(432))[n(451)](),o=new FormData;o[n(410)](n(427),JSON[n(419)](e)),o[n(410)](n(413),r);const s={method:n(476),headers:{},body:o,signal:this[n(405)][n(459)]};return i&&(s[n(497)][n(417)]=i[n(458)]),fetch(t,s)}[d(498)](t){const r=d;return t.ok?t[r(420)]()[r(500)]((t=>{const e=r;this[e(431)][e(453)][e(423)][e(438)](this[e(493)])&&e(461)!==this[e(493)][e(425)]()[e(495)][e(477)]&&this[e(481)](e(450),t)})):Promise[r(436)]()}[d(487)](){const t=d;if(this[t(405)][t(459)][t(424)])return void(0,l.logWarning)(t(478));const r=this[t(431)],e=i(r[t(445)],t(428));r[t(484)][t(449)](t(466))[t(462)](e),(0,l.logError)(t(463))}}const g=v;function I(){const t=["importWord","isPremiumPlugin","3lkhXlr","6KDtdOr","11886XhxImV","getToken","1524vlLYNl","cloudServices","add","token","1632104MxsqOw","isOfficialPlugin","editor","_token","plugins","3132765Gjyhrm","none","1rqjiCE","inline","registerTokenUrl","get","364tSjfcU","init","define","config","commands","21417JNAnnu","requires","2280455hUauao","CloudServices","tokenUrl","pluginName","https://docx-converter.cke-cs.com/v2/convert/docx-html","ImportWordEditing","8712rwFjUJ","2829030kfdIai"];return(I=function(){return t})()}function v(t,r){const e=I();return(v=function(t,r){return e[t-=182]})(t,r)}!function(t){const r=v,e=t();for(;;)try{if(284969===-parseInt(r(213))/1*(-parseInt(r(200))/2)+parseInt(r(198))/3*(parseInt(r(206))/4)+parseInt(r(188))/5*(-parseInt(r(199))/6)+-parseInt(r(217))/7*(parseInt(r(194))/8)+parseInt(r(211))/9+parseInt(r(195))/10+parseInt(r(186))/11*(-parseInt(r(202))/12))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(I);class w extends t.Plugin{static get[g(191)](){return g(193)}static get[g(207)](){return!0}static get[g(197)](){return!0}static get[g(187)](){const t=g;return[r.Notification,u.ClipboardPipeline,t(189)]}constructor(t){const r=g;super(t),this[r(209)]=null}async[g(182)](){const t=g,r=this[t(208)];r[t(184)][t(183)](t(196),{converterUrl:t(192),tokenUrl:(r[t(184)][t(216)](t(203))||{})[t(190)],formatting:{resets:t(212),defaults:t(212),styles:t(214)}}),r[t(185)][t(204)](t(196),new m(r));const{tokenUrl:e}=r[t(184)][t(216)](t(196));if(e){const{tokenUrl:n}=r[t(184)][t(216)](t(203))||{};this[t(209)]=e===n?r[t(210)][t(216)](t(189))[t(205)]:await r[t(210)][t(216)](t(189))[t(215)](e)}}[g(201)](){return this[g(209)]}}var b=y;function y(t,r){var e=x();return(y=function(t,r){return e[t-=460]})(t,r)}function x(){var t=["isPremiumPlugin","472AyllYf","pluginName","698412xEbwnx","isOfficialPlugin","407862JWUexQ","120IcarUB","1410939upAbsG","32917368UkVKYq","118741ZbfdpO","698283FxCuOM","11TbmQJR","4uGtifo","75hcruKe","451096jcAzei","requires","ImportWord"];return(x=function(){return t})()}!function(t){for(var r=y,e=t();;)try{if(522617===-parseInt(r(470))/1+-parseInt(r(476))/2+parseInt(r(463))/3*(-parseInt(r(468))/4)+-parseInt(r(469))/5*(parseInt(r(461))/6)+-parseInt(r(465))/7*(-parseInt(r(474))/8)+parseInt(r(466))/9*(-parseInt(r(462))/10)+-parseInt(r(467))/11*(-parseInt(r(464))/12))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(x);class W extends t.Plugin{static get[b(475)](){return b(472)}static get[b(460)](){return!0}static get[b(473)](){return!0}static get[b(471)](){return[w,c]}}function k(){var t=["10oRiGAy","2448220AxlXVE","207294XdidQQ","95720ZAyycp","308ybdqGg","26621829ccyCVa","15SuNwHK","2982291gKkmgz","2508304OnAstn","320739lTeJQp"];return(k=function(){return t})()}function A(t,r){var e=k();return(A=function(t,r){return e[t-=316]})(t,r)}!function(t){for(var r=A,e=t();;)try{if(961771===-parseInt(r(316))/1+parseInt(r(318))/2+-parseInt(r(324))/3+-parseInt(r(320))/4*(parseInt(r(323))/5)+-parseInt(r(319))/6*(parseInt(r(321))/7)+-parseInt(r(325))/8+parseInt(r(322))/9*(parseInt(r(317))/10))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(k)})(),(window.CKEditor5=window.CKEditor5||{}).importWord=n})();
|
package/dist/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as
|
|
23
|
+
import{Plugin as _0x6b0cb9,Command as _0x39ee19}from'@ckeditor/ckeditor5-core/dist/index.js';import{FileDialogButtonView as _0x536ee7,MenuBarMenuListItemFileDialogButtonView as _0x14fabc,SpinnerView as _0x2efdce,Notification as _0x5c989c}from'@ckeditor/ckeditor5-ui/dist/index.js';import{ClipboardPipeline as _0x1f27b9}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{Range as _0x6fabce}from'@ckeditor/ckeditor5-engine/dist/index.js';import{first as _0x167cb5,uid as _0x3d99f4,logWarning as _0x18a037,logError as _0x4d76fd}from'@ckeditor/ckeditor5-utils/dist/index.js';function p(_0x915b2a,_0x316a9c){const t=_0x915b2a['t'];switch(_0x316a9c){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 _0x316a9c;}}class i extends _0x6b0cb9{static get['pluginName'](){return'ImportWordUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0xabb037=this['editor'];_0xabb037['ui']['componentFactory']['add']('importWord',()=>{const _0x21ed6f=this['_createButton'](_0x536ee7),_0x191236=_0xabb037['commands']['get']('importWord');return _0x21ed6f['bind']('isOn')['to'](_0x191236,'isBusy'),_0x21ed6f['tooltip']=!0x0,_0x21ed6f;}),_0xabb037['ui']['componentFactory']['add']('menuBar:importWord',()=>this['_createButton'](_0x14fabc));}['_createButton'](_0x2305a7){const _0x17f6f7=this['editor'],_0x903c4c=_0x17f6f7['commands']['get']('importWord'),_0x33278a=new _0x2305a7(_0x17f6f7['locale']),_0x4f8592=new _0x2efdce();return _0x33278a['set']({'acceptedType':'application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.openxmlformats-officedocument.wordprocessingml.template'}),_0x33278a['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'}),_0x33278a['bind']('isEnabled')['to'](_0x903c4c),_0x33278a['bind']('label')['to'](_0x903c4c,'isBusy',_0x5f0523=>p(_0x17f6f7['locale'],_0x5f0523?'Importing\x20Word\x20document':'Import\x20from\x20Word')),_0x4f8592['bind']('isVisible')['to'](_0x903c4c,'isBusy'),_0x33278a['iconView']['bind']('isVisible')['to'](_0x903c4c,'isBusy',_0x22bd4d=>!_0x22bd4d),_0x33278a['children']['add'](_0x4f8592),_0x33278a['on']('done',(_0x3b3a78,_0x5e6d2a)=>{_0x17f6f7['execute']('importWord',_0x5e6d2a[0x0],{}),_0x17f6f7['editing']['view']['focus']();}),_0x33278a;}}class d extends _0x39ee19{['_importMarker'];['_undoStepBatch'];['_abortController'];constructor(_0x297a99){super(_0x297a99),this['set']('isBusy',!0x1),this['_importMarker']=null,this['_undoStepBatch']=null,this['_abortController']=null,this['on']('dataInsert',(_0x27adf8,_0x4f7fca)=>{const _0x3c98f5=new DataTransfer();_0x3c98f5['setData']('text/html',_0x4f7fca['html']);const _0x1032db=this['_importMarker']['getRange']();this['editor']['model']['enqueueChange'](this['_undoStepBatch'],_0x5f094d=>{this['_importMarker']['stopListening'](),_0x5f094d['setSelection'](_0x1032db),_0x297a99['editing']['view']['document']['fire']('clipboardInput',{'dataTransfer':_0x3c98f5});});},{'priority':'low'});}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x1cd090,_0x48187e={}){if(this['isBusy'])return Promise['resolve']();const _0x15b05b=this['editor']['config']['get']('importWord');if(this['editor']['plugins']['has']('MergeFields')){const {prefix:_0x29deaf,suffix:_0x3f21ce}=this['editor']['config']['get']('mergeFields');_0x48187e['merge_fields']={'prefix':_0x29deaf,'suffix':_0x3f21ce};}const _0x4ee655={'url':_0x15b05b['converterUrl'],'file':_0x1cd090,'serviceConfig':{..._0x48187e,'formatting':_0x15b05b['formatting'],'timezone':new Intl['DateTimeFormat']()['resolvedOptions']()['timeZone']}};return this['_prepareForImport'](),this['_sendImportRequest'](_0x4ee655)['then'](this['_handleImportResponse']['bind'](this))['catch'](this['_handleImportFailure']['bind'](this))['finally'](this['_cleanUpAfterImport']['bind'](this));}['_checkEnabled'](){if(this['isBusy'])return!0x1;const _0x2e3a18=this['editor']['model'],_0x5ab4ba=_0x2e3a18['schema'],_0x455f7c=_0x2e3a18['document']['selection'],_0x3e7889=_0x167cb5(_0x455f7c['getSelectedBlocks']());return!!_0x3e7889&&_0x5ab4ba['checkChild'](_0x3e7889['parent'],'paragraph');}['_prepareForImport'](){const _0x6ba1d7=this['editor'],_0x167ea7=_0x6ba1d7['model'],_0xb5ba19=_0x167ea7['document']['selection'];this['_abortController']=new AbortController(),this['_undoStepBatch']=_0x6ba1d7['model']['createBatch']({'isUndoable':!0x0}),_0x167ea7['enqueueChange'](this['_undoStepBatch'],_0x2be22c=>{_0xb5ba19['isCollapsed']||_0x167ea7['deleteContent'](_0xb5ba19,{'leaveUnmerged':!0x0});const _0x3f62dd=_0xb5ba19['getFirstPosition'](),_0x3d5e81=_0x167cb5(_0xb5ba19['getSelectedBlocks']());let _0x99387a;_0x99387a=_0x3d5e81['is']('element','paragraph')&&_0x3d5e81['isEmpty']?_0x3f62dd:_0x3f62dd['isAtStart']?_0x167ea7['createPositionBefore'](_0x3d5e81):_0x3f62dd['isAtEnd']?_0x167ea7['createPositionAfter'](_0x3d5e81):_0x2be22c['split'](_0x3f62dd)['position'],this['_importMarker']=_0x2be22c['addMarker']('importWord:'+_0x3d99f4(),{'usingOperation':!0x1,'affectsData':!0x1,'range':new _0x6fabce(_0x99387a)}),this['_importMarker']['on']('change:range',()=>{'$graveyard'===this['_importMarker']['getRange']()['root']['rootName']&&this['_abortController']['abort']();});}),this['isBusy']=!0x0,this['refresh']();}['_cleanUpAfterImport'](){const _0x53bbd0=this['editor']['model'];_0x53bbd0['markers']['has'](this['_importMarker'])&&_0x53bbd0['enqueueChange'](this['_undoStepBatch'],_0x25d36c=>{_0x25d36c['removeMarker'](this['_importMarker']);}),this['_importMarker']=null,this['_undoStepBatch']=null,this['_abortController']=null,this['isBusy']=!0x1,this['refresh']();}['_sendImportRequest']({url:_0x1d0cb9,file:_0x3ca436,serviceConfig:_0x135efa}){const _0x180e60=this['editor']['plugins']['get']('ImportWordEditing')['getToken'](),_0x1a674b=new FormData();_0x1a674b['set']('config',JSON['stringify'](_0x135efa)),_0x1a674b['set']('file',_0x3ca436);const _0x33dbb9={'method':'POST','headers':{},'body':_0x1a674b,'signal':this['_abortController']['signal']};return _0x180e60&&(_0x33dbb9['headers']['Authorization']=_0x180e60['value']),fetch(_0x1d0cb9,_0x33dbb9);}['_handleImportResponse'](_0x298e28){return _0x298e28['ok']?_0x298e28['json']()['then'](_0x4e8060=>{if(!this['editor']['model']['markers']['has'](this['_importMarker']))return;'$graveyard'!==this['_importMarker']['getRange']()['root']['rootName']&&this['fire']('dataInsert',_0x4e8060);}):Promise['reject']();}['_handleImportFailure'](){if(this['_abortController']['signal']['aborted'])return void _0x18a037('import-word-plugin-import-cancelled');const _0x27f790=this['editor'],_0x2382d2=p(_0x27f790['locale'],'An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.');_0x27f790['plugins']['get']('Notification')['showWarning'](_0x2382d2),_0x4d76fd('import-word-plugin-conversion-failed');}}class e extends _0x6b0cb9{['_token'];static get['pluginName'](){return'ImportWordEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x5c989c,_0x1f27b9,'CloudServices'];}constructor(_0x30d199){super(_0x30d199),this['_token']=null;}async['init'](){const _0x3f4d90=this['editor'];_0x3f4d90['config']['define']('importWord',{'converterUrl':'https://docx-converter.cke-cs.com/v2/convert/docx-html','tokenUrl':(_0x3f4d90['config']['get']('cloudServices')||{})['tokenUrl'],'formatting':{'resets':'none','defaults':'none','styles':'inline'}}),_0x3f4d90['commands']['add']('importWord',new d(_0x3f4d90));const {tokenUrl:_0x1e5668}=_0x3f4d90['config']['get']('importWord');if(_0x1e5668){const {tokenUrl:_0x2f5b60}=_0x3f4d90['config']['get']('cloudServices')||{};this['_token']=_0x1e5668===_0x2f5b60?_0x3f4d90['plugins']['get']('CloudServices')['token']:await _0x3f4d90['plugins']['get']('CloudServices')['registerTokenUrl'](_0x1e5668);}}['getToken'](){return this['_token'];}}class o extends _0x6b0cb9{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':_0x3a73a4=>0x1!=_0x3a73a4}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x1ffba2=>{const {af:{dictionary:_0x550c8b,getPluralForm:_0x1c7b2a}}={'af':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x4a68a7=>0x1!=_0x4a68a7}};_0x1ffba2['af']||={'dictionary':{},'getPluralForm':null},_0x1ffba2['af']['dictionary']=Object['assign'](_0x1ffba2['af']['dictionary'],_0x550c8b),_0x1ffba2['af']['getPluralForm']=_0x1c7b2a;})(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':_0x599ffd=>0x0==_0x599ffd?0x0:0x1==_0x599ffd?0x1:0x2==_0x599ffd?0x2:_0x599ffd%0x64>=0x3&&_0x599ffd%0x64<=0xa?0x3:_0x599ffd%0x64>=0xb?0x4:0x5}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x297079=>{const {ar:{dictionary:_0x23ab9e,getPluralForm:_0x4ec6d3}}={'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':_0x1723e3=>0x0==_0x1723e3?0x0:0x1==_0x1723e3?0x1:0x2==_0x1723e3?0x2:_0x1723e3%0x64>=0x3&&_0x1723e3%0x64<=0xa?0x3:_0x1723e3%0x64>=0xb?0x4:0x5}};_0x297079['ar']||={'dictionary':{},'getPluralForm':null},_0x297079['ar']['dictionary']=Object['assign'](_0x297079['ar']['dictionary'],_0x23ab9e),_0x297079['ar']['getPluralForm']=_0x4ec6d3;})(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':_0xe20b1=>0x1!=_0xe20b1}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x12570b=>{const {ast:{dictionary:_0x5ababc,getPluralForm:_0x1d2832}}={'ast':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x512168=>0x1!=_0x512168}};_0x12570b['ast']||={'dictionary':{},'getPluralForm':null},_0x12570b['ast']['dictionary']=Object['assign'](_0x12570b['ast']['dictionary'],_0x5ababc),_0x12570b['ast']['getPluralForm']=_0x1d2832;})(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':_0x8e58c2=>0x1!=_0x8e58c2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x42c47b=>{const {az:{dictionary:_0x389ab8,getPluralForm:_0x1b5679}}={'az':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x4d816e=>0x1!=_0x4d816e}};_0x42c47b['az']||={'dictionary':{},'getPluralForm':null},_0x42c47b['az']['dictionary']=Object['assign'](_0x42c47b['az']['dictionary'],_0x389ab8),_0x42c47b['az']['getPluralForm']=_0x1b5679;})(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':_0x192e71=>0x1!=_0x192e71}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x4eb99a=>{const {bg:{dictionary:_0x5d798e,getPluralForm:_0x211255}}={'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':_0x488ca5=>0x1!=_0x488ca5}};_0x4eb99a['bg']||={'dictionary':{},'getPluralForm':null},_0x4eb99a['bg']['dictionary']=Object['assign'](_0x4eb99a['bg']['dictionary'],_0x5d798e),_0x4eb99a['bg']['getPluralForm']=_0x211255;})(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':_0x53a200=>0x1!=_0x53a200}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x19542c=>{const {bn:{dictionary:_0x1e181f,getPluralForm:_0x5c65bb}}={'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':_0x2bba90=>0x1!=_0x2bba90}};_0x19542c['bn']||={'dictionary':{},'getPluralForm':null},_0x19542c['bn']['dictionary']=Object['assign'](_0x19542c['bn']['dictionary'],_0x1e181f),_0x19542c['bn']['getPluralForm']=_0x5c65bb;})(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':_0x85c253=>_0x85c253%0xa==0x1&&_0x85c253%0x64!=0xb?0x0:_0x85c253%0xa>=0x2&&_0x85c253%0xa<=0x4&&(_0x85c253%0x64<0xa||_0x85c253%0x64>=0x14)?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x34ba64=>{const {bs:{dictionary:_0x2d3fd2,getPluralForm:_0x619a6c}}={'bs':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x391a71=>_0x391a71%0xa==0x1&&_0x391a71%0x64!=0xb?0x0:_0x391a71%0xa>=0x2&&_0x391a71%0xa<=0x4&&(_0x391a71%0x64<0xa||_0x391a71%0x64>=0x14)?0x1:0x2}};_0x34ba64['bs']||={'dictionary':{},'getPluralForm':null},_0x34ba64['bs']['dictionary']=Object['assign'](_0x34ba64['bs']['dictionary'],_0x2d3fd2),_0x34ba64['bs']['getPluralForm']=_0x619a6c;})(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':_0x13ad58=>0x1!=_0x13ad58}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x568f08=>{const {ca:{dictionary:_0x12f262,getPluralForm:_0x1234dc}}={'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':_0x54d151=>0x1!=_0x54d151}};_0x568f08['ca']||={'dictionary':{},'getPluralForm':null},_0x568f08['ca']['dictionary']=Object['assign'](_0x568f08['ca']['dictionary'],_0x12f262),_0x568f08['ca']['getPluralForm']=_0x1234dc;})(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':_0xd521ab=>0x1==_0xd521ab?0x0:_0xd521ab>=0x2&&_0xd521ab<=0x4?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x5e2660=>{const {cs:{dictionary:_0x461308,getPluralForm:_0x5229ff}}={'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':_0x39a5e7=>0x1==_0x39a5e7?0x0:_0x39a5e7>=0x2&&_0x39a5e7<=0x4?0x1:0x2}};_0x5e2660['cs']||={'dictionary':{},'getPluralForm':null},_0x5e2660['cs']['dictionary']=Object['assign'](_0x5e2660['cs']['dictionary'],_0x461308),_0x5e2660['cs']['getPluralForm']=_0x5229ff;})(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':_0x3919c5=>0x1!=_0x3919c5}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0xaeea8b=>{const {da:{dictionary:_0x47a048,getPluralForm:_0x3c810e}}={'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':_0x21ae9b=>0x1!=_0x21ae9b}};_0xaeea8b['da']||={'dictionary':{},'getPluralForm':null},_0xaeea8b['da']['dictionary']=Object['assign'](_0xaeea8b['da']['dictionary'],_0x47a048),_0xaeea8b['da']['getPluralForm']=_0x3c810e;})(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':_0x367260=>0x1!=_0x367260}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x35a42d=>{const {'de-ch':{dictionary:_0x902b6a,getPluralForm:_0x430dcf}}={'de-ch':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x4a8062=>0x1!=_0x4a8062}};_0x35a42d['de-ch']||={'dictionary':{},'getPluralForm':null},_0x35a42d['de-ch']['dictionary']=Object['assign'](_0x35a42d['de-ch']['dictionary'],_0x902b6a),_0x35a42d['de-ch']['getPluralForm']=_0x430dcf;})(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':_0x2ab3a8=>0x1!=_0x2ab3a8}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x190f88=>{const {de:{dictionary:_0x4aa411,getPluralForm:_0x559ac9}}={'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':_0x257281=>0x1!=_0x257281}};_0x190f88['de']||={'dictionary':{},'getPluralForm':null},_0x190f88['de']['dictionary']=Object['assign'](_0x190f88['de']['dictionary'],_0x4aa411),_0x190f88['de']['getPluralForm']=_0x559ac9;})(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':_0x34ae96=>0x1!=_0x34ae96}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0xd19549=>{const {el:{dictionary:_0x143c60,getPluralForm:_0x1b1c82}}={'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':_0x39480a=>0x1!=_0x39480a}};_0xd19549['el']||={'dictionary':{},'getPluralForm':null},_0xd19549['el']['dictionary']=Object['assign'](_0xd19549['el']['dictionary'],_0x143c60),_0xd19549['el']['getPluralForm']=_0x1b1c82;})(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':_0x6e3898=>0x1!=_0x6e3898}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x47332f=>{const {'en-au':{dictionary:_0x31d54c,getPluralForm:_0x33e613}}={'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':_0x5f0165=>0x1!=_0x5f0165}};_0x47332f['en-au']||={'dictionary':{},'getPluralForm':null},_0x47332f['en-au']['dictionary']=Object['assign'](_0x47332f['en-au']['dictionary'],_0x31d54c),_0x47332f['en-au']['getPluralForm']=_0x33e613;})(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':_0x54ab71=>0x1!=_0x54ab71}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x27b55b=>{const {'en-gb':{dictionary:_0xf39ba3,getPluralForm:_0x6a6f51}}={'en-gb':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x48684d=>0x1!=_0x48684d}};_0x27b55b['en-gb']||={'dictionary':{},'getPluralForm':null},_0x27b55b['en-gb']['dictionary']=Object['assign'](_0x27b55b['en-gb']['dictionary'],_0xf39ba3),_0x27b55b['en-gb']['getPluralForm']=_0x6a6f51;})(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':_0x35d701=>0x1!=_0x35d701}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x4ef469=>{const {en:{dictionary:_0x11464d,getPluralForm:_0x5f5c60}}={'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':_0x4d0519=>0x1!=_0x4d0519}};_0x4ef469['en']||={'dictionary':{},'getPluralForm':null},_0x4ef469['en']['dictionary']=Object['assign'](_0x4ef469['en']['dictionary'],_0x11464d),_0x4ef469['en']['getPluralForm']=_0x5f5c60;})(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':_0x1b2d56=>0x1!=_0x1b2d56}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x392ef9=>{const {eo:{dictionary:_0x35981e,getPluralForm:_0x18a8eb}}={'eo':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x1b6a9c=>0x1!=_0x1b6a9c}};_0x392ef9['eo']||={'dictionary':{},'getPluralForm':null},_0x392ef9['eo']['dictionary']=Object['assign'](_0x392ef9['eo']['dictionary'],_0x35981e),_0x392ef9['eo']['getPluralForm']=_0x18a8eb;})(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':_0x18f367=>0x1!=_0x18f367}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x25d595=>{const {'es-co':{dictionary:_0xb6da88,getPluralForm:_0x31f2ba}}={'es-co':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x469ea7=>0x1!=_0x469ea7}};_0x25d595['es-co']||={'dictionary':{},'getPluralForm':null},_0x25d595['es-co']['dictionary']=Object['assign'](_0x25d595['es-co']['dictionary'],_0xb6da88),_0x25d595['es-co']['getPluralForm']=_0x31f2ba;})(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':_0x2bbc64=>0x1!=_0x2bbc64}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0xe9589e=>{const {es:{dictionary:_0x7bf568,getPluralForm:_0x3373cf}}={'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':_0x364d7b=>0x1!=_0x364d7b}};_0xe9589e['es']||={'dictionary':{},'getPluralForm':null},_0xe9589e['es']['dictionary']=Object['assign'](_0xe9589e['es']['dictionary'],_0x7bf568),_0xe9589e['es']['getPluralForm']=_0x3373cf;})(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':_0x4c6d0c=>0x1!=_0x4c6d0c}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x322ce6=>{const {et:{dictionary:_0x5a4fa4,getPluralForm:_0x3813d5}}={'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':_0x5273f0=>0x1!=_0x5273f0}};_0x322ce6['et']||={'dictionary':{},'getPluralForm':null},_0x322ce6['et']['dictionary']=Object['assign'](_0x322ce6['et']['dictionary'],_0x5a4fa4),_0x322ce6['et']['getPluralForm']=_0x3813d5;})(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':_0x570701=>0x1!=_0x570701}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x11b5a5=>{const {eu:{dictionary:_0x411491,getPluralForm:_0x289b20}}={'eu':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x22de03=>0x1!=_0x22de03}};_0x11b5a5['eu']||={'dictionary':{},'getPluralForm':null},_0x11b5a5['eu']['dictionary']=Object['assign'](_0x11b5a5['eu']['dictionary'],_0x411491),_0x11b5a5['eu']['getPluralForm']=_0x289b20;})(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':_0x45d685=>0x0}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x427a90=>{const {fa:{dictionary:_0x2c3a97,getPluralForm:_0x47d758}}={'fa':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x39b7c=>0x0}};_0x427a90['fa']||={'dictionary':{},'getPluralForm':null},_0x427a90['fa']['dictionary']=Object['assign'](_0x427a90['fa']['dictionary'],_0x2c3a97),_0x427a90['fa']['getPluralForm']=_0x47d758;})(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':_0x2752a0=>0x1!=_0x2752a0}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x5ed080=>{const {fi:{dictionary:_0x142a07,getPluralForm:_0x46a114}}={'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':_0x53b5a4=>0x1!=_0x53b5a4}};_0x5ed080['fi']||={'dictionary':{},'getPluralForm':null},_0x5ed080['fi']['dictionary']=Object['assign'](_0x5ed080['fi']['dictionary'],_0x142a07),_0x5ed080['fi']['getPluralForm']=_0x46a114;})(window['CKEDITOR_TRANSLATIONS']||={});
|