@ckeditor/ckeditor5-import-word 44.2.0-alpha.1 → 44.2.0-alpha.10
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 +9 -9
- package/src/importword.js +1 -1
- package/src/importwordcommand.js +1 -1
- package/src/importwordediting.js +1 -1
- package/src/importwordui.js +1 -1
- package/src/index.js +1 -1
- package/src/utils/common-translations.js +1 -1
package/build/import-word.js
CHANGED
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
/*!
|
|
3
3
|
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
4
4
|
* For licensing, see LICENSE.md.
|
|
5
|
-
*/(()=>{var t={331:(t,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 o=r[n];if(void 0!==o)return o.exports;var i=r[n]={exports:{}};return t[n](i,i.exports,e),i.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:()=>v,ImportWordUI:()=>c});var t=e(782),r=e(311);function o(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 i=s;function s(t,r){const e=a();return(s=function(t,r){return e[t-=376]})(t,r)}function a(){const t=["1198083btxtIk","148603atLNAd","locale","232508hpLHhf","pluginName","editing","get","isPremiumPlugin","125LqDhcj","27592oVcsII","add","ImportWordUI","2308382WWuEoQ","editor","menuBar:importWord","Import from Word","importWord","_createButton","application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.openxmlformats-officedocument.wordprocessingml.template","init","componentFactory","done","isBusy","iconView","isVisible","bind","isEnabled","label","4275834BMIYZM","Importing Word document","focus","execute","tooltip","isOn","view","commands","set","isOfficialPlugin","13554dKtOZW","children","5616016XKNkhA"];return(a=function(){return t})()}!function(t){const r=s,e=t();for(;;)try{if(821143===parseInt(r(394))/1+-parseInt(r(405))/2+-parseInt(r(393))/3+parseInt(r(396))/4*(-parseInt(r(401))/5)+-parseInt(r(380))/6+-parseInt(r(392))/7+parseInt(r(402))/8*(parseInt(r(390))/9))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(a);class c extends t.Plugin{static get[i(397)](){return i(404)}static get[i(389)](){return!0}static get[i(400)](){return!0}[i(412)](){const t=i,e=this[t(406)];e.ui[t(413)][t(403)](t(409),(()=>{const n=t,o=this[n(410)](r.FileDialogButtonView),i=e[n(387)][n(399)](n(409));return o[n(377)](n(385)).to(i,n(415)),o[n(384)]=!0,o})),e.ui[t(413)][t(403)](t(407),(()=>this[t(410)](r.MenuBarMenuListItemFileDialogButtonView)))}[i(410)](t){const e=i,n=this[e(406)],s=n[e(387)][e(399)](e(409)),a=new t(n[e(395)]),c=new r.SpinnerView;return a[e(388)]({acceptedType:e(411)}),a[e(388)]({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(377)](e(378)).to(s),a[e(377)](e(379)).to(s,e(415),(t=>o(n[e(395)],e(t?381:408)))),c[e(377)](e(376)).to(s,e(415)),a[e(416)][e(377)](e(376)).to(s,e(415),(t=>!t)),a[e(391)][e(403)](c),a.on(e(414),((t,r)=>{const o=e;n[o(383)](o(409),r[0],{}),n[o(398)][o(386)][o(382)]()})),a}}var u=e(331),p=e(783),l=e(584);const h=f;function d(){const t=["147404fPWepe","_abortController","ImportWordEditing","_undoStepBatch","removeMarker","change:range","markers","resolvedOptions","setSelection","refresh","enqueueChange","selection","plugins","showWarning","clipboardInput","locale","import-word-plugin-import-cancelled","25240sneqnj","finally","html","fire","importWord","has","6201744ryKChj","position","getToken","_checkEnabled","_prepareForImport","138xNrSsj","isAtStart","importWord:","_cleanUpAfterImport","isEmpty","view","POST","resolve","DateTimeFormat","value","bind","12010oDeGZj","get","catch","_handleImportResponse","execute","rootName","2645988cvPYie","model","_importMarker","mergeFields","root","converterUrl","config","createBatch","Notification","formatting","checkChild","Authorization","editor","file","getRange","import-word-plugin-conversion-failed","split","1204TGAsTw","createPositionBefore","then","document","aborted","editing","signal","dataInsert","_sendImportRequest","deleteContent","createPositionAfter","isBusy","getFirstPosition","addMarker","_handleImportFailure","$graveyard","json","setData","isEnabled","getSelectedBlocks","MergeFields","18549351xwcENI","reject","paragraph","text/html","element","stopListening","isCollapsed","headers","3057369MbLlvU","set","merge_fields","stringify","abort","timeZone","schema","parent","An error occurred while importing the Word file.","low","isAtEnd"];return(d=function(){return t})()}function f(t,r){const e=d();return(f=function(t,r){return e[t-=423]})(t,r)}!function(t){const r=f,e=t();for(;;)try{if(929348===parseInt(r(514))/1+-parseInt(r(457))/2+-parseInt(r(503))/3+parseInt(r(435))/4+parseInt(r(451))/5*(parseInt(r(440))/6)+-parseInt(r(474))/7*(parseInt(r(429))/8)+parseInt(r(495))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(d);class m extends t.Command{constructor(t){const r=f;super(t),this[r(504)](r(485),!1),this[r(459)]=null,this[r(517)]=null,this[r(515)]=null,this.on(r(481),((e,n)=>{const o=r,i=new DataTransfer;i[o(491)](o(498),n[o(431)]);const s=this[o(459)][o(471)]();this[o(469)][o(458)][o(524)](this[o(517)],(r=>{const e=o;this[e(459)][e(500)](),r[e(522)](s),t[e(479)][e(445)][e(477)][e(432)](e(426),{dataTransfer:i})}))}),{priority:r(512)})}[h(523)](){const t=h;this[t(492)]=this[t(438)]()}[h(455)](t,r={}){const e=h;if(this[e(485)])return Promise[e(447)]();const n=this[e(469)][e(463)][e(452)](e(433));if(this[e(469)][e(424)][e(434)](e(494))){const{prefix:t,suffix:n}=this[e(469)][e(463)][e(452)](e(460));r[e(505)]={prefix:t,suffix:n}}const o={url:n[e(462)],file:t,serviceConfig:{...r,formatting:n[e(466)],timezone:(new(Intl[e(448)]))[e(521)]()[e(508)]}};return this[e(439)](),this[e(482)](o)[e(476)](this[e(454)][e(450)](this))[e(453)](this[e(488)][e(450)](this))[e(430)](this[e(443)][e(450)](this))}[h(438)](){const t=h;if(this[t(485)])return!1;const r=this[t(469)][t(458)],e=r[t(509)],n=r[t(477)][t(423)],o=(0,l.first)(n[t(493)]());return!!o&&e[t(467)](o[t(510)],t(497))}[h(439)](){const t=h,r=this[t(469)],e=r[t(458)],n=e[t(477)][t(423)];this[t(515)]=new AbortController,this[t(517)]=r[t(458)][t(464)]({isUndoable:!0}),e[t(524)](this[t(517)],(r=>{const o=t;n[o(501)]||e[o(483)](n,{leaveUnmerged:!0});const i=n[o(486)](),s=(0,l.first)(n[o(493)]());let a;a=s.is(o(499),o(497))&&s[o(444)]?i:i[o(441)]?e[o(475)](s):i[o(513)]?e[o(484)](s):r[o(473)](i)[o(436)],this[o(459)]=r[o(487)](o(442)+(0,l.uid)(),{usingOperation:!1,affectsData:!1,range:new p.Range(a)}),this[o(459)].on(o(519),(()=>{const t=o;t(489)===this[t(459)][t(471)]()[t(461)][t(456)]&&this[t(515)][t(507)]()}))})),this[t(485)]=!0,this[t(523)]()}[h(443)](){const t=h,r=this[t(469)][t(458)];r[t(520)][t(434)](this[t(459)])&&r[t(524)](this[t(517)],(r=>{const e=t;r[e(518)](this[e(459)])})),this[t(459)]=null,this[t(517)]=null,this[t(515)]=null,this[t(485)]=!1,this[t(523)]()}[h(482)]({url:t,file:r,serviceConfig:e}){const n=h,o=this[n(469)][n(424)][n(452)](n(516))[n(437)](),i=new FormData;i[n(504)](n(463),JSON[n(506)](e)),i[n(504)](n(470),r);const s={method:n(446),headers:{},body:i,signal:this[n(515)][n(480)]};return o&&(s[n(502)][n(468)]=o[n(449)]),fetch(t,s)}[h(454)](t){const r=h;return t.ok?t[r(490)]()[r(476)]((t=>{const e=r;this[e(469)][e(458)][e(520)][e(434)](this[e(459)])&&e(489)!==this[e(459)][e(471)]()[e(461)][e(456)]&&this[e(432)](e(481),t)})):Promise[r(496)]()}[h(488)](){const t=h;if(this[t(515)][t(480)][t(478)])return void(0,l.logWarning)(t(428));const r=this[t(469)],e=o(r[t(427)],t(511));r[t(424)][t(452)](t(465))[t(425)](e),(0,l.logError)(t(472))}}const g=I;function I(t,r){const e=w();return(I=function(t,r){return e[t-=226]})(t,r)}!function(t){const r=I,e=t();for(;;)try{if(516245===parseInt(r(246))/1*(-parseInt(r(250))/2)+parseInt(r(228))/3*(-parseInt(r(255))/4)+parseInt(r(249))/5*(-parseInt(r(254))/6)+parseInt(r(240))/7*(parseInt(r(251))/8)+-parseInt(r(245))/9+-parseInt(r(258))/10*(-parseInt(r(248))/11)+parseInt(r(244))/12)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(w);class v extends t.Plugin{static get[g(257)](){return g(236)}static get[g(252)](){return!0}static get[g(235)](){return!0}static get[g(247)](){const t=g;return[r.Notification,u.ClipboardPipeline,t(256)]}constructor(t){const r=g;super(t),this[r(234)]=null}async[g(233)](){const t=g,r=this[t(226)];r[t(242)][t(259)](t(241),{converterUrl:t(229),tokenUrl:(r[t(242)][t(243)](t(261))||{})[t(227)],formatting:{resets:t(239),defaults:t(239),styles:t(232)}}),r[t(231)][t(260)](t(241),new m(r));const{tokenUrl:e}=r[t(242)][t(243)](t(241));if(e){const{tokenUrl:n}=r[t(242)][t(243)](t(261))||{};this[t(234)]=e===n?r[t(230)][t(243)](t(256))[t(238)]:await r[t(230)][t(243)](t(256))[t(253)](e)}}[g(237)](){return this[g(234)]}}function w(){const t=["ImportWordEditing","getToken","token","none","21028bSWWrU","importWord","config","get","8691768egURxc","74268pQDAGZ","168023xkIIqC","requires","33mraDXH","20bRAzJV","8MajJUV","1864snTxEN","isOfficialPlugin","registerTokenUrl","81372kTNwFL","16rxUqFF","CloudServices","pluginName","1471090CmoWuy","define","add","cloudServices","editor","tokenUrl","461052Ejlwll","https://docx-converter.cke-cs.com/v2/convert/docx-html","plugins","commands","inline","init","_token","isPremiumPlugin"];return(w=function(){return t})()}var W=b;function b(t,r){var e=x();return(b=function(t,r){return e[t-=381]})(t,r)}function x(){var t=["808tKASmb","332caYrjA","requires","207372kYJbpF","isOfficialPlugin","1139999LTOKaS","pluginName","6uWApHv","192kpTCRh","548880vEfroQ","4581KwwkIA","ImportWord","639450tXxYMI","isPremiumPlugin","508qHGvNZ","4825FwHrBB"];return(x=function(){return t})()}!function(t){for(var r=b,e=t();;)try{if(102936===-parseInt(r(394))/1*(-parseInt(r(387))/2)+-parseInt(r(395))/3+parseInt(r(384))/4*(parseInt(r(385))/5)+parseInt(r(393))/6*(parseInt(r(391))/7)+-parseInt(r(386))/8*(-parseInt(r(396))/9)+-parseInt(r(382))/10+-parseInt(r(389))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(x);class k extends t.Plugin{static get[W(392)](){return W(381)}static get[W(390)](){return!0}static get[W(383)](){return!0}static get[W(388)](){return[v,c]}}function y(t,r){var e=A();return(y=function(t,r){return e[t-=452]})(t,r)}function A(){var t=["11646SWGkfX","102751qqASYG","1010xtUocA","2604tHJvim","31626goYZtm","568JcMuCQ","2EcDZVs","1513572dfhAsY","2399535DAoKzs","245210KcQuaM","983613VfmSQp"];return(A=function(){return t})()}!function(t){for(var r=y,e=t();;)try{if(489736===parseInt(r(453))/1+-parseInt(r(461))/2*(parseInt(r(454))/3)+-parseInt(r(462))/4+parseInt(r(452))/5+parseInt(r(455))/6*(-parseInt(r(458))/7)+parseInt(r(460))/8*(parseInt(r(459))/9)+-parseInt(r(457))/10*(-parseInt(r(456))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(A)})(),(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:()=>k,ImportWordEditing:()=>w,ImportWordUI:()=>c});var t=e(782),r=e(311);function i(t,r){const e=t.t;switch(r){case"Import from Word":return e("Import from Word");case"An error occurred while importing the Word file.":return e("An error occurred while importing the Word file.");case"Importing Word document":return e("Importing Word document");default:return r}}const o=a;function s(){const t=["children","add","isPremiumPlugin","isEnabled","isOfficialPlugin","editing","menuBar:importWord","commands","editor","pluginName","bind","15590hPPRPv","label","Import from Word","2yZnLEY","567EtSOst","4917gQhvzG","focus","get","41540HFRhlX","done","set","isBusy","3085110OtGMTF","importWord","application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.openxmlformats-officedocument.wordprocessingml.template","724640gEYUpF","ImportWordUI","componentFactory","isVisible","1130829wkfBFb","335AnwPae","locale","4953987PLjiRv","iconView","view","init","_createButton","execute","Importing Word document","tooltip","68872HoqrxL","isOn"];return(s=function(){return t})()}function a(t,r){const e=s();return(a=function(t,r){return e[t-=366]})(t,r)}!function(t){const r=a,e=t();for(;;)try{if(369074===parseInt(r(401))/1+parseInt(r(389))/2*(parseInt(r(405))/3)+parseInt(r(394))/4*(-parseInt(r(406))/5)+parseInt(r(398))/6+-parseInt(r(390))/7*(parseInt(r(373))/8)+-parseInt(r(408))/9+parseInt(r(386))/10*(parseInt(r(391))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(s);class c extends t.Plugin{static get[o(384)](){return o(402)}static get[o(379)](){return!0}static get[o(377)](){return!0}[o(368)](){const t=o,e=this[t(383)];e.ui[t(403)][t(376)](t(399),(()=>{const n=t,i=this[n(369)](r.FileDialogButtonView),o=e[n(382)][n(393)](n(399));return i[n(385)](n(374)).to(o,n(397)),i[n(372)]=!0,i})),e.ui[t(403)][t(376)](t(381),(()=>this[t(369)](r.MenuBarMenuListItemFileDialogButtonView)))}[o(369)](t){const e=o,n=this[e(383)],s=n[e(382)][e(393)](e(399)),a=new t(n[e(407)]),c=new r.SpinnerView;return a[e(396)]({acceptedType:e(400)}),a[e(396)]({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(385)](e(378)).to(s),a[e(385)](e(387)).to(s,e(397),(t=>i(n[e(407)],e(t?371:388)))),c[e(385)](e(404)).to(s,e(397)),a[e(366)][e(385)](e(404)).to(s,e(397),(t=>!t)),a[e(375)][e(376)](c),a.on(e(395),((t,r)=>{const i=e;n[i(370)](i(399),r[0],{}),n[i(380)][i(367)][i(392)]()})),a}}var u=e(331),p=e(783),l=e(584);const h=f;function d(){const t=["fire","enqueueChange","checkChild","split","change:range","get","2665200zcAIdo","setData","stopListening","290035ZThVKu","import-word-plugin-import-cancelled","_prepareForImport","isBusy","removeMarker","createPositionAfter","isAtStart","view","Authorization","getRange","merge_fields","getFirstPosition","_undoStepBatch","locale","_handleImportFailure","Notification","editor","_abortController","clipboardInput","aborted","An error occurred while importing the Word file.","isAtEnd","converterUrl","_sendImportRequest","rootName","model","createBatch","then","ImportWordEditing","bind","9AMsiYW","has","MergeFields","_handleImportResponse","9413456wxmBkP","4588087ywyOpm","reject","showWarning","2616664MJxgwQ","8202670FVNQWC","text/html","refresh","finally","html","DateTimeFormat","timeZone","set","selection","setSelection","dataInsert","resolve","element","_cleanUpAfterImport","schema","execute","import-word-plugin-conversion-failed","root","resolvedOptions","document","$graveyard","isCollapsed","addMarker","_checkEnabled","config","deleteContent","position","abort","editing","parent","importWord","isEmpty","value","POST","getSelectedBlocks","importWord:","_importMarker","isEnabled","signal","stringify","getToken","6ILlNht","low","mergeFields","formatting","catch","plugins","json","417676KzEOyC","createPositionBefore","paragraph","headers","markers","file"];return(d=function(){return t})()}function f(t,r){const e=d();return(f=function(t,r){return e[t-=324]})(t,r)}!function(t){const r=f,e=t();for(;;)try{if(908116===parseInt(r(335))/1+-parseInt(r(373))/2+-parseInt(r(415))/3*(-parseInt(r(422))/4)+parseInt(r(374))/5+-parseInt(r(332))/6+-parseInt(r(370))/7+-parseInt(r(369))/8*(-parseInt(r(365))/9))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(d);class m extends t.Command{constructor(t){const r=f;super(t),this[r(381)](r(338),!1),this[r(410)]=null,this[r(347)]=null,this[r(352)]=null,this.on(r(384),((e,n)=>{const i=r,o=new DataTransfer;o[i(333)](i(375),n[i(378)]);const s=this[i(410)][i(344)]();this[i(351)][i(360)][i(327)](this[i(347)],(r=>{const e=i;this[e(410)][e(334)](),r[e(383)](s),t[e(402)][e(342)][e(393)][e(326)](e(353),{dataTransfer:o})}))}),{priority:r(416)})}[h(376)](){const t=h;this[t(411)]=this[t(397)]()}[h(389)](t,r={}){const e=h;if(this[e(338)])return Promise[e(385)]();const n=this[e(351)][e(398)][e(331)](e(404));if(this[e(351)][e(420)][e(366)](e(367))){const{prefix:t,suffix:n}=this[e(351)][e(398)][e(331)](e(417));r[e(345)]={prefix:t,suffix:n}}const i={url:n[e(357)],file:t,serviceConfig:{...r,formatting:n[e(418)],timezone:(new(Intl[e(379)]))[e(392)]()[e(380)]}};return this[e(337)](),this[e(358)](i)[e(362)](this[e(368)][e(364)](this))[e(419)](this[e(349)][e(364)](this))[e(377)](this[e(387)][e(364)](this))}[h(397)](){const t=h;if(this[t(338)])return!1;const r=this[t(351)][t(360)],e=r[t(388)],n=r[t(393)][t(382)],i=(0,l.first)(n[t(408)]());return!!i&&e[t(328)](i[t(403)],t(424))}[h(337)](){const t=h,r=this[t(351)],e=r[t(360)],n=e[t(393)][t(382)];this[t(352)]=new AbortController,this[t(347)]=r[t(360)][t(361)]({isUndoable:!0}),e[t(327)](this[t(347)],(r=>{const i=t;n[i(395)]||e[i(399)](n,{leaveUnmerged:!0});const o=n[i(346)](),s=(0,l.first)(n[i(408)]());let a;a=s.is(i(386),i(424))&&s[i(405)]?o:o[i(341)]?e[i(423)](s):o[i(356)]?e[i(340)](s):r[i(329)](o)[i(400)],this[i(410)]=r[i(396)](i(409)+(0,l.uid)(),{usingOperation:!1,affectsData:!1,range:new p.Range(a)}),this[i(410)].on(i(330),(()=>{const t=i;t(394)===this[t(410)][t(344)]()[t(391)][t(359)]&&this[t(352)][t(401)]()}))})),this[t(338)]=!0,this[t(376)]()}[h(387)](){const t=h,r=this[t(351)][t(360)];r[t(324)][t(366)](this[t(410)])&&r[t(327)](this[t(347)],(r=>{const e=t;r[e(339)](this[e(410)])})),this[t(410)]=null,this[t(347)]=null,this[t(352)]=null,this[t(338)]=!1,this[t(376)]()}[h(358)]({url:t,file:r,serviceConfig:e}){const n=h,i=this[n(351)][n(420)][n(331)](n(363))[n(414)](),o=new FormData;o[n(381)](n(398),JSON[n(413)](e)),o[n(381)](n(325),r);const s={method:n(407),headers:{},body:o,signal:this[n(352)][n(412)]};return i&&(s[n(425)][n(343)]=i[n(406)]),fetch(t,s)}[h(368)](t){const r=h;return t.ok?t[r(421)]()[r(362)]((t=>{const e=r;this[e(351)][e(360)][e(324)][e(366)](this[e(410)])&&e(394)!==this[e(410)][e(344)]()[e(391)][e(359)]&&this[e(326)](e(384),t)})):Promise[r(371)]()}[h(349)](){const t=h;if(this[t(352)][t(412)][t(354)])return void(0,l.logWarning)(t(336));const r=this[t(351)],e=i(r[t(348)],t(355));r[t(420)][t(331)](t(350))[t(372)](e),(0,l.logError)(t(390))}}function g(){const t=["isPremiumPlugin","isOfficialPlugin","importWord","get","1061616uCttRI","11GctSta","3uRIZNZ","cloudServices","getToken","plugins","7NmvsdB","editor","36ksHaDo","config","ImportWordEditing","1082750hCyZLX","https://docx-converter.cke-cs.com/v2/convert/docx-html","token","101624mhFSNI","define","inline","commands","tokenUrl","pluginName","registerTokenUrl","none","6586090JwDyMJ","init","add","291008yFzGuh","_token","1474280tdWONp","requires","2908686wzBfnk","CloudServices"];return(g=function(){return t})()}const I=v;function v(t,r){const e=g();return(v=function(t,r){return e[t-=115]})(t,r)}!function(t){const r=v,e=t();for(;;)try{if(371970===-parseInt(r(149))/1+parseInt(r(116))/2*(parseInt(r(126))/3)+parseInt(r(124))/4+-parseInt(r(135))/5+-parseInt(r(118))/6*(-parseInt(r(130))/7)+parseInt(r(138))/8*(parseInt(r(132))/9)+-parseInt(r(146))/10*(parseInt(r(125))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(g);class w extends t.Plugin{static get[I(143)](){return I(134)}static get[I(121)](){return!0}static get[I(120)](){return!0}static get[I(117)](){const t=I;return[r.Notification,u.ClipboardPipeline,t(119)]}constructor(t){const r=I;super(t),this[r(115)]=null}async[I(147)](){const t=I,r=this[t(131)];r[t(133)][t(139)](t(122),{converterUrl:t(136),tokenUrl:(r[t(133)][t(123)](t(127))||{})[t(142)],formatting:{resets:t(145),defaults:t(145),styles:t(140)}}),r[t(141)][t(148)](t(122),new m(r));const{tokenUrl:e}=r[t(133)][t(123)](t(122));if(e){const{tokenUrl:n}=r[t(133)][t(123)](t(127))||{};this[t(115)]=e===n?r[t(129)][t(123)](t(119))[t(137)]:await r[t(129)][t(123)](t(119))[t(144)](e)}}[I(128)](){return this[I(115)]}}var y=b;function W(){var t=["3554747GkFlkp","5KUrgqQ","pluginName","3oAbmyk","6QSKNqV","458007FyBiPZ","requires","isPremiumPlugin","3923811HBaoSC","isOfficialPlugin","337615ilIjDc","540620AZENjc","3565064IYomDA","450xSoWjV","ImportWord","3746856IDSAOi"];return(W=function(){return t})()}function b(t,r){var e=W();return(b=function(t,r){return e[t-=410]})(t,r)}!function(t){for(var r=b,e=t();;)try{if(509505===parseInt(r(422))/1+-parseInt(r(423))/2*(parseInt(r(415))/3)+-parseInt(r(424))/4*(parseInt(r(413))/5)+parseInt(r(416))/6*(-parseInt(r(412))/7)+-parseInt(r(411))/8+parseInt(r(420))/9+-parseInt(r(425))/10*(-parseInt(r(417))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(W);class k extends t.Plugin{static get[y(414)](){return y(410)}static get[y(421)](){return!0}static get[y(419)](){return!0}static get[y(418)](){return[w,c]}}function x(){var t=["2397486tfyqrn","1022335tELdHu","1023576fJyhFb","18095490QWfZmk","1521oXkgFT","23692JIrkbD","4oEsWuT","6554870qJKZjq","43264kMdlfE","58XyLQHG"];return(x=function(){return t})()}function P(t,r){var e=x();return(P=function(t,r){return e[t-=435]})(t,r)}!function(t){for(var r=P,e=t();;)try{if(792333===parseInt(r(435))/1*(parseInt(r(441))/2)+-parseInt(r(438))/3*(-parseInt(r(442))/4)+parseInt(r(437))/5+-parseInt(r(436))/6+-parseInt(r(443))/7+-parseInt(r(444))/8*(parseInt(r(440))/9)+parseInt(r(439))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(x)})(),(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 _0x1070c4,Command as _0x23ae58}from'@ckeditor/ckeditor5-core/dist/index.js';import{FileDialogButtonView as _0x537264,MenuBarMenuListItemFileDialogButtonView as _0x20a366,SpinnerView as _0x159dc6,Notification as _0x3a2060}from'@ckeditor/ckeditor5-ui/dist/index.js';import{ClipboardPipeline as _0x917b79}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{Range as _0x1f6645}from'@ckeditor/ckeditor5-engine/dist/index.js';import{first as _0x52daa1,uid as _0x463feb,logWarning as _0x168ec6,logError as _0x1a6b73}from'@ckeditor/ckeditor5-utils/dist/index.js';function p(_0x3a9593,_0x4ab206){const t=_0x3a9593['t'];switch(_0x4ab206){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 _0x4ab206;}}class i extends _0x1070c4{static get['pluginName'](){return'ImportWordUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x1ff6f3=this['editor'];_0x1ff6f3['ui']['componentFactory']['add']('importWord',()=>{const _0x52492a=this['_createButton'](_0x537264),_0x49c439=_0x1ff6f3['commands']['get']('importWord');return _0x52492a['bind']('isOn')['to'](_0x49c439,'isBusy'),_0x52492a['tooltip']=!0x0,_0x52492a;}),_0x1ff6f3['ui']['componentFactory']['add']('menuBar:importWord',()=>this['_createButton'](_0x20a366));}['_createButton'](_0x10b41d){const _0x140a76=this['editor'],_0x3a4942=_0x140a76['commands']['get']('importWord'),_0x234caf=new _0x10b41d(_0x140a76['locale']),_0x1c4a36=new _0x159dc6();return _0x234caf['set']({'acceptedType':'application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.openxmlformats-officedocument.wordprocessingml.template'}),_0x234caf['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'}),_0x234caf['bind']('isEnabled')['to'](_0x3a4942),_0x234caf['bind']('label')['to'](_0x3a4942,'isBusy',_0x15a5df=>p(_0x140a76['locale'],_0x15a5df?'Importing\x20Word\x20document':'Import\x20from\x20Word')),_0x1c4a36['bind']('isVisible')['to'](_0x3a4942,'isBusy'),_0x234caf['iconView']['bind']('isVisible')['to'](_0x3a4942,'isBusy',_0x3a0911=>!_0x3a0911),_0x234caf['children']['add'](_0x1c4a36),_0x234caf['on']('done',(_0x9ce357,_0x1920ee)=>{_0x140a76['execute']('importWord',_0x1920ee[0x0],{}),_0x140a76['editing']['view']['focus']();}),_0x234caf;}}class d extends _0x23ae58{['_importMarker'];['_undoStepBatch'];['_abortController'];constructor(_0x5508be){super(_0x5508be),this['set']('isBusy',!0x1),this['_importMarker']=null,this['_undoStepBatch']=null,this['_abortController']=null,this['on']('dataInsert',(_0x5eb439,_0xefb404)=>{const _0x1f4391=new DataTransfer();_0x1f4391['setData']('text/html',_0xefb404['html']);const _0x3c9992=this['_importMarker']['getRange']();this['editor']['model']['enqueueChange'](this['_undoStepBatch'],_0x34dd4e=>{this['_importMarker']['stopListening'](),_0x34dd4e['setSelection'](_0x3c9992),_0x5508be['editing']['view']['document']['fire']('clipboardInput',{'dataTransfer':_0x1f4391});});},{'priority':'low'});}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x22986a,_0x2b953f={}){if(this['isBusy'])return Promise['resolve']();const _0x3713a4=this['editor']['config']['get']('importWord');if(this['editor']['plugins']['has']('MergeFields')){const {prefix:_0x3224e8,suffix:_0x149f67}=this['editor']['config']['get']('mergeFields');_0x2b953f['merge_fields']={'prefix':_0x3224e8,'suffix':_0x149f67};}const _0x74ee19={'url':_0x3713a4['converterUrl'],'file':_0x22986a,'serviceConfig':{..._0x2b953f,'formatting':_0x3713a4['formatting'],'timezone':new Intl['DateTimeFormat']()['resolvedOptions']()['timeZone']}};return this['_prepareForImport'](),this['_sendImportRequest'](_0x74ee19)['then'](this['_handleImportResponse']['bind'](this))['catch'](this['_handleImportFailure']['bind'](this))['finally'](this['_cleanUpAfterImport']['bind'](this));}['_checkEnabled'](){if(this['isBusy'])return!0x1;const _0x203ffb=this['editor']['model'],_0x377adc=_0x203ffb['schema'],_0xed6c9d=_0x203ffb['document']['selection'],_0x583654=_0x52daa1(_0xed6c9d['getSelectedBlocks']());return!!_0x583654&&_0x377adc['checkChild'](_0x583654['parent'],'paragraph');}['_prepareForImport'](){const _0x39896a=this['editor'],_0x3b65e7=_0x39896a['model'],_0x270891=_0x3b65e7['document']['selection'];this['_abortController']=new AbortController(),this['_undoStepBatch']=_0x39896a['model']['createBatch']({'isUndoable':!0x0}),_0x3b65e7['enqueueChange'](this['_undoStepBatch'],_0x2c7002=>{_0x270891['isCollapsed']||_0x3b65e7['deleteContent'](_0x270891,{'leaveUnmerged':!0x0});const _0x375434=_0x270891['getFirstPosition'](),_0x3d7dd0=_0x52daa1(_0x270891['getSelectedBlocks']());let _0x164116;_0x164116=_0x3d7dd0['is']('element','paragraph')&&_0x3d7dd0['isEmpty']?_0x375434:_0x375434['isAtStart']?_0x3b65e7['createPositionBefore'](_0x3d7dd0):_0x375434['isAtEnd']?_0x3b65e7['createPositionAfter'](_0x3d7dd0):_0x2c7002['split'](_0x375434)['position'],this['_importMarker']=_0x2c7002['addMarker']('importWord:'+_0x463feb(),{'usingOperation':!0x1,'affectsData':!0x1,'range':new _0x1f6645(_0x164116)}),this['_importMarker']['on']('change:range',()=>{'$graveyard'===this['_importMarker']['getRange']()['root']['rootName']&&this['_abortController']['abort']();});}),this['isBusy']=!0x0,this['refresh']();}['_cleanUpAfterImport'](){const _0x58f490=this['editor']['model'];_0x58f490['markers']['has'](this['_importMarker'])&&_0x58f490['enqueueChange'](this['_undoStepBatch'],_0x4e3cc5=>{_0x4e3cc5['removeMarker'](this['_importMarker']);}),this['_importMarker']=null,this['_undoStepBatch']=null,this['_abortController']=null,this['isBusy']=!0x1,this['refresh']();}['_sendImportRequest']({url:_0x3dfaae,file:_0x435509,serviceConfig:_0xa0f8af}){const _0x34b506=this['editor']['plugins']['get']('ImportWordEditing')['getToken'](),_0x5dc054=new FormData();_0x5dc054['set']('config',JSON['stringify'](_0xa0f8af)),_0x5dc054['set']('file',_0x435509);const _0x253ba3={'method':'POST','headers':{},'body':_0x5dc054,'signal':this['_abortController']['signal']};return _0x34b506&&(_0x253ba3['headers']['Authorization']=_0x34b506['value']),fetch(_0x3dfaae,_0x253ba3);}['_handleImportResponse'](_0x11b3a1){return _0x11b3a1['ok']?_0x11b3a1['json']()['then'](_0xa7cfac=>{if(!this['editor']['model']['markers']['has'](this['_importMarker']))return;'$graveyard'!==this['_importMarker']['getRange']()['root']['rootName']&&this['fire']('dataInsert',_0xa7cfac);}):Promise['reject']();}['_handleImportFailure'](){if(this['_abortController']['signal']['aborted'])return void _0x168ec6('import-word-plugin-import-cancelled');const _0x181730=this['editor'],_0x54b335=p(_0x181730['locale'],'An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.');_0x181730['plugins']['get']('Notification')['showWarning'](_0x54b335),_0x1a6b73('import-word-plugin-conversion-failed');}}class e extends _0x1070c4{['_token'];static get['pluginName'](){return'ImportWordEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x3a2060,_0x917b79,'CloudServices'];}constructor(_0x2b2fcd){super(_0x2b2fcd),this['_token']=null;}async['init'](){const _0x9df28=this['editor'];_0x9df28['config']['define']('importWord',{'converterUrl':'https://docx-converter.cke-cs.com/v2/convert/docx-html','tokenUrl':(_0x9df28['config']['get']('cloudServices')||{})['tokenUrl'],'formatting':{'resets':'none','defaults':'none','styles':'inline'}}),_0x9df28['commands']['add']('importWord',new d(_0x9df28));const {tokenUrl:_0x3820c3}=_0x9df28['config']['get']('importWord');if(_0x3820c3){const {tokenUrl:_0x646e08}=_0x9df28['config']['get']('cloudServices')||{};this['_token']=_0x3820c3===_0x646e08?_0x9df28['plugins']['get']('CloudServices')['token']:await _0x9df28['plugins']['get']('CloudServices')['registerTokenUrl'](_0x3820c3);}}['getToken'](){return this['_token'];}}class o extends _0x1070c4{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':_0xf6c968=>0x1!=_0xf6c968}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x2ec38d=>{const {af:{dictionary:_0x15f46f,getPluralForm:_0x1eabc4}}={'af':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x3499ae=>0x1!=_0x3499ae}};_0x2ec38d['af']||={'dictionary':{},'getPluralForm':null},_0x2ec38d['af']['dictionary']=Object['assign'](_0x2ec38d['af']['dictionary'],_0x15f46f),_0x2ec38d['af']['getPluralForm']=_0x1eabc4;})(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':_0x368522=>0x0==_0x368522?0x0:0x1==_0x368522?0x1:0x2==_0x368522?0x2:_0x368522%0x64>=0x3&&_0x368522%0x64<=0xa?0x3:_0x368522%0x64>=0xb?0x4:0x5}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x54455e=>{const {ar:{dictionary:_0x3380ad,getPluralForm:_0x3f7a86}}={'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':_0x15304a=>0x0==_0x15304a?0x0:0x1==_0x15304a?0x1:0x2==_0x15304a?0x2:_0x15304a%0x64>=0x3&&_0x15304a%0x64<=0xa?0x3:_0x15304a%0x64>=0xb?0x4:0x5}};_0x54455e['ar']||={'dictionary':{},'getPluralForm':null},_0x54455e['ar']['dictionary']=Object['assign'](_0x54455e['ar']['dictionary'],_0x3380ad),_0x54455e['ar']['getPluralForm']=_0x3f7a86;})(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':_0x5337a3=>0x1!=_0x5337a3}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x4dad25=>{const {ast:{dictionary:_0x1ba875,getPluralForm:_0x315ca8}}={'ast':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x43bd9a=>0x1!=_0x43bd9a}};_0x4dad25['ast']||={'dictionary':{},'getPluralForm':null},_0x4dad25['ast']['dictionary']=Object['assign'](_0x4dad25['ast']['dictionary'],_0x1ba875),_0x4dad25['ast']['getPluralForm']=_0x315ca8;})(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':_0x2a327a=>0x1!=_0x2a327a}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x509fc7=>{const {az:{dictionary:_0x3fc1cf,getPluralForm:_0x48c101}}={'az':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x12ab63=>0x1!=_0x12ab63}};_0x509fc7['az']||={'dictionary':{},'getPluralForm':null},_0x509fc7['az']['dictionary']=Object['assign'](_0x509fc7['az']['dictionary'],_0x3fc1cf),_0x509fc7['az']['getPluralForm']=_0x48c101;})(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':_0x4b818b=>0x1!=_0x4b818b}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x320189=>{const {bg:{dictionary:_0x30a612,getPluralForm:_0x3ef35a}}={'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':_0x439b18=>0x1!=_0x439b18}};_0x320189['bg']||={'dictionary':{},'getPluralForm':null},_0x320189['bg']['dictionary']=Object['assign'](_0x320189['bg']['dictionary'],_0x30a612),_0x320189['bg']['getPluralForm']=_0x3ef35a;})(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':_0xd8f3cf=>0x1!=_0xd8f3cf}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0xc49d9b=>{const {bn:{dictionary:_0x1e5938,getPluralForm:_0x178200}}={'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':_0xcbe3a6=>0x1!=_0xcbe3a6}};_0xc49d9b['bn']||={'dictionary':{},'getPluralForm':null},_0xc49d9b['bn']['dictionary']=Object['assign'](_0xc49d9b['bn']['dictionary'],_0x1e5938),_0xc49d9b['bn']['getPluralForm']=_0x178200;})(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':_0x572cc3=>_0x572cc3%0xa==0x1&&_0x572cc3%0x64!=0xb?0x0:_0x572cc3%0xa>=0x2&&_0x572cc3%0xa<=0x4&&(_0x572cc3%0x64<0xa||_0x572cc3%0x64>=0x14)?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x621a41=>{const {bs:{dictionary:_0x45345c,getPluralForm:_0x35598d}}={'bs':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x566a11=>_0x566a11%0xa==0x1&&_0x566a11%0x64!=0xb?0x0:_0x566a11%0xa>=0x2&&_0x566a11%0xa<=0x4&&(_0x566a11%0x64<0xa||_0x566a11%0x64>=0x14)?0x1:0x2}};_0x621a41['bs']||={'dictionary':{},'getPluralForm':null},_0x621a41['bs']['dictionary']=Object['assign'](_0x621a41['bs']['dictionary'],_0x45345c),_0x621a41['bs']['getPluralForm']=_0x35598d;})(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':_0x50a815=>0x1!=_0x50a815}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x39f5f7=>{const {ca:{dictionary:_0x210f3d,getPluralForm:_0x201e2c}}={'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':_0x1bbf35=>0x1!=_0x1bbf35}};_0x39f5f7['ca']||={'dictionary':{},'getPluralForm':null},_0x39f5f7['ca']['dictionary']=Object['assign'](_0x39f5f7['ca']['dictionary'],_0x210f3d),_0x39f5f7['ca']['getPluralForm']=_0x201e2c;})(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':_0x19309a=>0x1==_0x19309a?0x0:_0x19309a>=0x2&&_0x19309a<=0x4?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0xb98095=>{const {cs:{dictionary:_0x2f0bfd,getPluralForm:_0x4796d5}}={'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':_0x2efaf5=>0x1==_0x2efaf5?0x0:_0x2efaf5>=0x2&&_0x2efaf5<=0x4?0x1:0x2}};_0xb98095['cs']||={'dictionary':{},'getPluralForm':null},_0xb98095['cs']['dictionary']=Object['assign'](_0xb98095['cs']['dictionary'],_0x2f0bfd),_0xb98095['cs']['getPluralForm']=_0x4796d5;})(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':_0x342e4d=>0x1!=_0x342e4d}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x54c605=>{const {da:{dictionary:_0x539178,getPluralForm:_0x3938a4}}={'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':_0x15ab8d=>0x1!=_0x15ab8d}};_0x54c605['da']||={'dictionary':{},'getPluralForm':null},_0x54c605['da']['dictionary']=Object['assign'](_0x54c605['da']['dictionary'],_0x539178),_0x54c605['da']['getPluralForm']=_0x3938a4;})(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':_0x5b155c=>0x1!=_0x5b155c}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x1557d6=>{const {'de-ch':{dictionary:_0x5a69f9,getPluralForm:_0x992ca5}}={'de-ch':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x44cc0e=>0x1!=_0x44cc0e}};_0x1557d6['de-ch']||={'dictionary':{},'getPluralForm':null},_0x1557d6['de-ch']['dictionary']=Object['assign'](_0x1557d6['de-ch']['dictionary'],_0x5a69f9),_0x1557d6['de-ch']['getPluralForm']=_0x992ca5;})(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':_0x19290f=>0x1!=_0x19290f}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x4debf5=>{const {de:{dictionary:_0x1d0638,getPluralForm:_0x31d61c}}={'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':_0x1a0b92=>0x1!=_0x1a0b92}};_0x4debf5['de']||={'dictionary':{},'getPluralForm':null},_0x4debf5['de']['dictionary']=Object['assign'](_0x4debf5['de']['dictionary'],_0x1d0638),_0x4debf5['de']['getPluralForm']=_0x31d61c;})(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':_0x43c717=>0x1!=_0x43c717}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x340931=>{const {el:{dictionary:_0x2f387b,getPluralForm:_0x350b94}}={'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':_0x35bd41=>0x1!=_0x35bd41}};_0x340931['el']||={'dictionary':{},'getPluralForm':null},_0x340931['el']['dictionary']=Object['assign'](_0x340931['el']['dictionary'],_0x2f387b),_0x340931['el']['getPluralForm']=_0x350b94;})(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':_0x4ee0d6=>0x1!=_0x4ee0d6}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x5af31d=>{const {'en-au':{dictionary:_0x113042,getPluralForm:_0x4e45ae}}={'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':_0x26bc4b=>0x1!=_0x26bc4b}};_0x5af31d['en-au']||={'dictionary':{},'getPluralForm':null},_0x5af31d['en-au']['dictionary']=Object['assign'](_0x5af31d['en-au']['dictionary'],_0x113042),_0x5af31d['en-au']['getPluralForm']=_0x4e45ae;})(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':_0x2e7af4=>0x1!=_0x2e7af4}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x2dce81=>{const {'en-gb':{dictionary:_0x484e97,getPluralForm:_0x2ee611}}={'en-gb':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x10363b=>0x1!=_0x10363b}};_0x2dce81['en-gb']||={'dictionary':{},'getPluralForm':null},_0x2dce81['en-gb']['dictionary']=Object['assign'](_0x2dce81['en-gb']['dictionary'],_0x484e97),_0x2dce81['en-gb']['getPluralForm']=_0x2ee611;})(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':_0x343c7a=>0x1!=_0x343c7a}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x5e04f8=>{const {en:{dictionary:_0x179a46,getPluralForm:_0x3ed538}}={'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':_0x4d586d=>0x1!=_0x4d586d}};_0x5e04f8['en']||={'dictionary':{},'getPluralForm':null},_0x5e04f8['en']['dictionary']=Object['assign'](_0x5e04f8['en']['dictionary'],_0x179a46),_0x5e04f8['en']['getPluralForm']=_0x3ed538;})(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':_0x3c3947=>0x1!=_0x3c3947}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x13a938=>{const {eo:{dictionary:_0x8ed885,getPluralForm:_0x36e49c}}={'eo':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x42b619=>0x1!=_0x42b619}};_0x13a938['eo']||={'dictionary':{},'getPluralForm':null},_0x13a938['eo']['dictionary']=Object['assign'](_0x13a938['eo']['dictionary'],_0x8ed885),_0x13a938['eo']['getPluralForm']=_0x36e49c;})(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':_0x5b7826=>0x1!=_0x5b7826}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0xdd6589=>{const {'es-co':{dictionary:_0x282d61,getPluralForm:_0x1f1a96}}={'es-co':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x3fa396=>0x1!=_0x3fa396}};_0xdd6589['es-co']||={'dictionary':{},'getPluralForm':null},_0xdd6589['es-co']['dictionary']=Object['assign'](_0xdd6589['es-co']['dictionary'],_0x282d61),_0xdd6589['es-co']['getPluralForm']=_0x1f1a96;})(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':_0x1380d3=>0x1!=_0x1380d3}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x5dc35f=>{const {es:{dictionary:_0x212a92,getPluralForm:_0x46a5d1}}={'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':_0x23b2e7=>0x1!=_0x23b2e7}};_0x5dc35f['es']||={'dictionary':{},'getPluralForm':null},_0x5dc35f['es']['dictionary']=Object['assign'](_0x5dc35f['es']['dictionary'],_0x212a92),_0x5dc35f['es']['getPluralForm']=_0x46a5d1;})(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':_0x219336=>0x1!=_0x219336}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x11352e=>{const {et:{dictionary:_0x4e52c5,getPluralForm:_0x442cdf}}={'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':_0x384fca=>0x1!=_0x384fca}};_0x11352e['et']||={'dictionary':{},'getPluralForm':null},_0x11352e['et']['dictionary']=Object['assign'](_0x11352e['et']['dictionary'],_0x4e52c5),_0x11352e['et']['getPluralForm']=_0x442cdf;})(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':_0x38edbe=>0x1!=_0x38edbe}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x4b0ba4=>{const {eu:{dictionary:_0xe14dbe,getPluralForm:_0x32bbf5}}={'eu':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x1234d5=>0x1!=_0x1234d5}};_0x4b0ba4['eu']||={'dictionary':{},'getPluralForm':null},_0x4b0ba4['eu']['dictionary']=Object['assign'](_0x4b0ba4['eu']['dictionary'],_0xe14dbe),_0x4b0ba4['eu']['getPluralForm']=_0x32bbf5;})(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':_0x3fed3a=>0x0}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0xddd4cf=>{const {fa:{dictionary:_0x57a0fd,getPluralForm:_0x1c32b7}}={'fa':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x263139=>0x0}};_0xddd4cf['fa']||={'dictionary':{},'getPluralForm':null},_0xddd4cf['fa']['dictionary']=Object['assign'](_0xddd4cf['fa']['dictionary'],_0x57a0fd),_0xddd4cf['fa']['getPluralForm']=_0x1c32b7;})(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':_0x3f2c61=>0x1!=_0x3f2c61}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x4e12eb=>{const {fi:{dictionary:_0x2abda2,getPluralForm:_0x50f7d0}}={'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':_0x349b42=>0x1!=_0x349b42}};_0x4e12eb['fi']||={'dictionary':{},'getPluralForm':null},_0x4e12eb['fi']['dictionary']=Object['assign'](_0x4e12eb['fi']['dictionary'],_0x2abda2),_0x4e12eb['fi']['getPluralForm']=_0x50f7d0;})(window['CKEDITOR_TRANSLATIONS']||={});
|