@ckeditor/ckeditor5-import-word 0.0.0-nightly-20250131.0 → 0.0.0-nightly-20250201.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 +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 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:()=>y,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=["locale","add","focus","24lNrmUc","ImportWordUI","841389RjiAbG","3978370yUejGz","256820UNSgJn","isVisible","done","1209528yAeGtN","_createButton","init","isPremiumPlugin","2zDPXxV","Importing Word document","472760fVXOOo","Import from Word","isOfficialPlugin","311367bUWPeK","editor","view","isBusy","isEnabled","children","importWord","tooltip","application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.openxmlformats-officedocument.wordprocessingml.template","execute","commands","editing","label","menuBar:importWord","componentFactory","66438zfWDjP","bind","iconView","get","isOn","set","250NMcDTe","54rTsuuV","pluginName"];return(s=function(){return t})()}function a(t,r){const e=s();return(a=function(t,r){return e[t-=361]})(t,r)}!function(t){const r=a,e=t();for(;;)try{if(327111===-parseInt(r(369))/1+parseInt(r(376))/2*(-parseInt(r(367))/3)+parseInt(r(365))/4*(parseInt(r(378))/5)+parseInt(r(403))/6*(-parseInt(r(381))/7)+parseInt(r(372))/8+-parseInt(r(396))/9*(-parseInt(r(402))/10)+parseInt(r(368))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(s);class c extends t.Plugin{static get[o(361)](){return o(366)}static get[o(380)](){return!0}static get[o(375)](){return!0}[o(374)](){const t=o,e=this[t(382)];e.ui[t(395)][t(363)](t(387),(()=>{const n=t,i=this[n(373)](r.FileDialogButtonView),o=e[n(391)][n(399)](n(387));return i[n(397)](n(400)).to(o,n(384)),i[n(388)]=!0,i})),e.ui[t(395)][t(363)](t(394),(()=>this[t(373)](r.MenuBarMenuListItemFileDialogButtonView)))}[o(373)](t){const e=o,n=this[e(382)],s=n[e(391)][e(399)](e(387)),a=new t(n[e(362)]),c=new r.SpinnerView;return a[e(401)]({acceptedType:e(389)}),a[e(401)]({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(397)](e(385)).to(s),a[e(397)](e(393)).to(s,e(384),(t=>i(n[e(362)],e(t?377:379)))),c[e(397)](e(370)).to(s,e(384)),a[e(398)][e(397)](e(370)).to(s,e(384),(t=>!t)),a[e(386)][e(363)](c),a.on(e(371),((t,r)=>{const i=e;n[i(390)](i(387),r[0],{}),n[i(392)][i(383)][i(364)]()})),a}}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-=218]})(t,r)}function f(){const t=["enqueueChange","getToken","MergeFields","view","formatting","createPositionBefore","_importMarker","paragraph","ImportWordEditing","root","resolve","catch","isEmpty","getFirstPosition","30kjEWFc","setData","position","markers","DateTimeFormat","resolvedOptions","timeZone","791014eRDoXH","isAtEnd","isCollapsed","rootName","fire","importWord","parent","2159729inWttN","clipboardInput","locale","checkChild","selection","refresh","config","schema","_cleanUpAfterImport","Notification","isBusy","8459532igxgov","has","getRange","removeMarker","_prepareForImport","get","model","abort","POST","editing","stringify","createPositionAfter","addMarker","$graveyard","plugins","isAtStart","createBatch","then","_sendImportRequest","setSelection","stopListening","headers","set","58513MtoVyx","converterUrl","19638FjNHpX","_handleImportFailure","getSelectedBlocks","split","editor","_handleImportResponse","value","_undoStepBatch","json","importWord:","execute","file","An error occurred while importing the Word file.","import-word-plugin-conversion-failed","3292VGdvRx","import-word-plugin-import-cancelled","html","low","mergeFields","dataInsert","reject","showWarning","change:range","_abortController","2604450siAwCT","signal","_checkEnabled","985vfmBxy","Authorization","aborted","2937QiRdoH","deleteContent","document","bind","text/html","isEnabled","808ObZTrc","merge_fields","element","finally"];return(f=function(){return t})()}!function(t){const r=h,e=t();for(;;)try{if(766519===-parseInt(r(264))/1+parseInt(r(227))/2+-parseInt(r(233))/3*(-parseInt(r(321))/4)+parseInt(r(230))/5*(parseInt(r(307))/6)+parseInt(r(305))/7*(-parseInt(r(239))/8)+-parseInt(r(282))/9+-parseInt(r(257))/10*(-parseInt(r(271))/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(304)](r(281),!1),this[r(249)]=null,this[r(314)]=null,this[r(226)]=null,this.on(r(222),((e,n)=>{const i=r,o=new DataTransfer;o[i(258)](i(237),n[i(219)]);const s=this[i(249)][i(284)]();this[i(311)][i(288)][i(243)](this[i(314)],(r=>{const e=i;this[e(249)][e(302)](),r[e(301)](s),t[e(291)][e(246)][e(235)][e(268)](e(272),{dataTransfer:o})}))}),{priority:r(220)})}[d(276)](){const t=d;this[t(238)]=this[t(229)]()}[d(317)](t,r={}){const e=d;if(this[e(281)])return Promise[e(253)]();const n=this[e(311)][e(277)][e(287)](e(269));if(this[e(311)][e(296)][e(283)](e(245))){const{prefix:t,suffix:n}=this[e(311)][e(277)][e(287)](e(221));r[e(240)]={prefix:t,suffix:n}}const i={url:n[e(306)],file:t,serviceConfig:{...r,formatting:n[e(247)],timezone:(new(Intl[e(261)]))[e(262)]()[e(263)]}};return this[e(286)](),this[e(300)](i)[e(299)](this[e(312)][e(236)](this))[e(254)](this[e(308)][e(236)](this))[e(242)](this[e(279)][e(236)](this))}[d(229)](){const t=d;if(this[t(281)])return!1;const r=this[t(311)][t(288)],e=r[t(278)],n=r[t(235)][t(275)],i=(0,l.first)(n[t(309)]());return!!i&&e[t(274)](i[t(270)],t(250))}[d(286)](){const t=d,r=this[t(311)],e=r[t(288)],n=e[t(235)][t(275)];this[t(226)]=new AbortController,this[t(314)]=r[t(288)][t(298)]({isUndoable:!0}),e[t(243)](this[t(314)],(r=>{const i=t;n[i(266)]||e[i(234)](n,{leaveUnmerged:!0});const o=n[i(256)](),s=(0,l.first)(n[i(309)]());let a;a=s.is(i(241),i(250))&&s[i(255)]?o:o[i(297)]?e[i(248)](s):o[i(265)]?e[i(293)](s):r[i(310)](o)[i(259)],this[i(249)]=r[i(294)](i(316)+(0,l.uid)(),{usingOperation:!1,affectsData:!1,range:new p.Range(a)}),this[i(249)].on(i(225),(()=>{const t=i;t(295)===this[t(249)][t(284)]()[t(252)][t(267)]&&this[t(226)][t(289)]()}))})),this[t(281)]=!0,this[t(276)]()}[d(279)](){const t=d,r=this[t(311)][t(288)];r[t(260)][t(283)](this[t(249)])&&r[t(243)](this[t(314)],(r=>{const e=t;r[e(285)](this[e(249)])})),this[t(249)]=null,this[t(314)]=null,this[t(226)]=null,this[t(281)]=!1,this[t(276)]()}[d(300)]({url:t,file:r,serviceConfig:e}){const n=d,i=this[n(311)][n(296)][n(287)](n(251))[n(244)](),o=new FormData;o[n(304)](n(277),JSON[n(292)](e)),o[n(304)](n(318),r);const s={method:n(290),headers:{},body:o,signal:this[n(226)][n(228)]};return i&&(s[n(303)][n(231)]=i[n(313)]),fetch(t,s)}[d(312)](t){const r=d;return t.ok?t[r(315)]()[r(299)]((t=>{const e=r;this[e(311)][e(288)][e(260)][e(283)](this[e(249)])&&e(295)!==this[e(249)][e(284)]()[e(252)][e(267)]&&this[e(268)](e(222),t)})):Promise[r(223)]()}[d(308)](){const t=d;if(this[t(226)][t(228)][t(232)])return void(0,l.logWarning)(t(218));const r=this[t(311)],e=i(r[t(273)],t(319));r[t(296)][t(287)](t(280))[t(224)](e),(0,l.logError)(t(320))}}const g=v;function I(){const t=["94210fRDRgq","pluginName","editor","3483224VnmnCh","plugins","get","define","33rUhrtp","CloudServices","https://docx-converter.cke-cs.com/v2/convert/docx-html","none","token","ImportWordEditing","isPremiumPlugin","config","1836435raPQQx","isOfficialPlugin","27726IJNHIv","inline","_token","tokenUrl","1565710frvJfr","add","registerTokenUrl","commands","22211652AymkYy","init","4RIxELI","2080125grEaEi","cloudServices","7xaocnU","26GejUUC","getToken","importWord","requires","1150XSloiN"];return(I=function(){return t})()}function v(t,r){const e=I();return(v=function(t,r){return e[t-=377]})(t,r)}!function(t){const r=v,e=t();for(;;)try{if(783299===parseInt(r(401))/1*(parseInt(r(396))/2)+-parseInt(r(380))/3*(-parseInt(r(392))/4)+parseInt(r(400))/5*(parseInt(r(382))/6)+-parseInt(r(395))/7*(-parseInt(r(404))/8)+-parseInt(r(393))/9+-parseInt(r(386))/10*(parseInt(r(408))/11)+-parseInt(r(390))/12)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(I);class w extends t.Plugin{static get[g(402)](){return g(377)}static get[g(381)](){return!0}static get[g(378)](){return!0}static get[g(399)](){const t=g;return[r.Notification,u.ClipboardPipeline,t(409)]}constructor(t){const r=g;super(t),this[r(384)]=null}async[g(391)](){const t=g,r=this[t(403)];r[t(379)][t(407)](t(398),{converterUrl:t(410),tokenUrl:(r[t(379)][t(406)](t(394))||{})[t(385)],formatting:{resets:t(411),defaults:t(411),styles:t(383)}}),r[t(389)][t(387)](t(398),new m(r));const{tokenUrl:e}=r[t(379)][t(406)](t(398));if(e){const{tokenUrl:n}=r[t(379)][t(406)](t(394))||{};this[t(384)]=e===n?r[t(405)][t(406)](t(409))[t(412)]:await r[t(405)][t(406)](t(409))[t(388)](e)}}[g(397)](){return this[g(384)]}}var W=b;function b(t,r){var e=x();return(b=function(t,r){return e[t-=171]})(t,r)}!function(t){for(var r=b,e=t();;)try{if(503194===parseInt(r(174))/1+-parseInt(r(187))/2*(-parseInt(r(183))/3)+parseInt(r(173))/4*(-parseInt(r(181))/5)+parseInt(r(185))/6+parseInt(r(176))/7*(-parseInt(r(177))/8)+parseInt(r(171))/9*(parseInt(r(179))/10)+parseInt(r(184))/11*(-parseInt(r(172))/12))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(x);class y extends t.Plugin{static get[W(175)](){return W(178)}static get[W(182)](){return!0}static get[W(180)](){return!0}static get[W(186)](){return[w,c]}}function x(){var t=["isOfficialPlugin","1454946SDesfC","9911QqVowN","3785736vbULPE","requires","2GUrpDg","1494iGwWWH","7740HyFBTY","5284KpCOLW","555437AOBCZh","pluginName","81025rgkmmX","584nIzmcq","ImportWord","37900rzyIbx","isPremiumPlugin","1405rLwyOK"];return(x=function(){return t})()}function k(t,r){var e=P();return(k=function(t,r){return e[t-=375]})(t,r)}function P(){var t=["4606560KbCYnT","664243nEDVQG","2724204zFFiMb","1997682rhnJWK","2VusdhE","631590okTkKZ","5wOCWwz","21754071wUejov","2955048bZZMKg"];return(P=function(){return t})()}!function(t){for(var r=k,e=t();;)try{if(429603===parseInt(r(381))/1*(-parseInt(r(375))/2)+-parseInt(r(383))/3+-parseInt(r(379))/4*(parseInt(r(377))/5)+-parseInt(r(376))/6+-parseInt(r(382))/7+parseInt(r(380))/8+parseInt(r(378))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(P)})(),(window.CKEditor5=window.CKEditor5||{}).importWord=n})();
|
|
5
|
+
*/(()=>{var t={331:(t,r,e)=>{t.exports=e(237)("./src/clipboard.js")},782:(t,r,e)=>{t.exports=e(237)("./src/core.js")},783:(t,r,e)=>{t.exports=e(237)("./src/engine.js")},311:(t,r,e)=>{t.exports=e(237)("./src/ui.js")},584:(t,r,e)=>{t.exports=e(237)("./src/utils.js")},237:t=>{"use strict";t.exports=CKEditor5.dll}},r={};function e(n){var i=r[n];if(void 0!==i)return i.exports;var s=r[n]={exports:{}};return t[n](s,s.exports,e),s.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 s=o;function o(t,r){const e=a();return(o=function(t,r){return e[t-=293]})(t,r)}function a(){const t=["228159fAVGtF","7uDCCQk","250708dhrwgD","isPremiumPlugin","done","set","children","_createButton","pluginName","isOn","componentFactory","menuBar:importWord","label","ImportWordUI","380lnhbiV","init","editor","bind","execute","get","5472144fUGAxU","Import from Word","isVisible","isEnabled","add","13446367KEzkuB","commands","isBusy","locale","iconView","importWord","application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.openxmlformats-officedocument.wordprocessingml.template","tooltip","focus","12Betvlk","589285SMLrgp","isOfficialPlugin","112906bzyYzY","Importing Word document","6XVVzIK","84lcasnF","editing","490007gSROHz","view"];return(a=function(){return t})()}!function(t){const r=o,e=t();for(;;)try{if(886970===-parseInt(r(323))/1*(parseInt(r(315))/2)+parseInt(r(318))/3*(parseInt(r(324))/4)+-parseInt(r(313))/5+-parseInt(r(317))/6*(-parseInt(r(320))/7)+-parseInt(r(298))/8+-parseInt(r(322))/9*(parseInt(r(336))/10)+-parseInt(r(303))/11*(-parseInt(r(312))/12))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(a);class c extends t.Plugin{static get[s(330)](){return s(335)}static get[s(314)](){return!0}static get[s(325)](){return!0}[s(293)](){const t=s,e=this[t(294)];e.ui[t(332)][t(302)](t(308),(()=>{const n=t,i=this[n(329)](r.FileDialogButtonView),s=e[n(304)][n(297)](n(308));return i[n(295)](n(331)).to(s,n(305)),i[n(310)]=!0,i})),e.ui[t(332)][t(302)](t(333),(()=>this[t(329)](r.MenuBarMenuListItemFileDialogButtonView)))}[s(329)](t){const e=s,n=this[e(294)],o=n[e(304)][e(297)](e(308)),a=new t(n[e(306)]),c=new r.SpinnerView;return a[e(327)]({acceptedType:e(309)}),a[e(327)]({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(295)](e(301)).to(o),a[e(295)](e(334)).to(o,e(305),(t=>i(n[e(306)],e(t?316:299)))),c[e(295)](e(300)).to(o,e(305)),a[e(307)][e(295)](e(300)).to(o,e(305),(t=>!t)),a[e(328)][e(302)](c),a.on(e(326),((t,r)=>{const i=e;n[i(296)](i(308),r[0],{}),n[i(319)][i(321)][i(311)]()})),a}}var p=e(331),u=e(783),l=e(584);function d(t,r){const e=f();return(d=function(t,r){return e[t-=476]})(t,r)}const h=d;function f(){const t=["isEnabled","resolve","root","file","1059lXweAI","isAtStart","get","isEmpty","_abortController","ImportWordEditing","createPositionAfter","322jnwKZi","markers","DateTimeFormat","_checkEnabled","121GuDMKL","headers","parent","element","1186232JSmwKj","deleteContent","_importMarker","editing","schema","isCollapsed","mergeFields","_cleanUpAfterImport","has","_handleImportResponse","createPositionBefore","$graveyard","bind","getToken","5053575cClURr","Authorization","catch","plugins","html","332528sAqsRj","dataInsert","isAtEnd","stopListening","timeZone","set","POST","position","getRange","enqueueChange","reject","_undoStepBatch","Notification","MergeFields","json","config","1747187lxGTYW","resolvedOptions","importWord:","showWarning","isBusy","importWord","paragraph","import-word-plugin-conversion-failed","low","locale","216FwhYuE","84fXDblY","clipboardInput","converterUrl","_sendImportRequest","setSelection","fire","abort","import-word-plugin-import-cancelled","selection","refresh","An error occurred while importing the Word file.","10532FvaKDB","removeMarker","createBatch","formatting","_handleImportFailure","finally","merge_fields","_prepareForImport","466930BBQWPQ","stringify","getSelectedBlocks","change:range","then","getFirstPosition","text/html","signal","checkChild","document","rootName","addMarker","2dXsZfJ","editor","aborted","view","setData","value","split","model","143532PutGXn","execute"];return(f=function(){return t})()}!function(t){const r=d,e=t();for(;;)try{if(597656===parseInt(r(530))/1*(parseInt(r(559))/2)+parseInt(r(544))/3*(-parseInt(r(510))/4)+-parseInt(r(573))/5+-parseInt(r(538))/6*(parseInt(r(551))/7)+-parseInt(r(578))/8*(-parseInt(r(498))/9)+parseInt(r(518))/10*(parseInt(r(555))/11)+-parseInt(r(499))/12*(-parseInt(r(488))/13))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(f);class m extends t.Command{constructor(t){const r=d;super(t),this[r(477)](r(492),!1),this[r(561)]=null,this[r(483)]=null,this[r(548)]=null,this.on(r(579),((e,n)=>{const i=r,s=new DataTransfer;s[i(534)](i(524),n[i(577)]);const o=this[i(561)][i(480)]();this[i(531)][i(537)][i(481)](this[i(483)],(r=>{const e=i;this[e(561)][e(581)](),r[e(503)](o),t[e(562)][e(533)][e(527)][e(504)](e(500),{dataTransfer:s})}))}),{priority:r(496)})}[h(508)](){const t=h;this[t(540)]=this[t(554)]()}[h(539)](t,r={}){const e=h;if(this[e(492)])return Promise[e(541)]();const n=this[e(531)][e(487)][e(546)](e(493));if(this[e(531)][e(576)][e(567)](e(485))){const{prefix:t,suffix:n}=this[e(531)][e(487)][e(546)](e(565));r[e(516)]={prefix:t,suffix:n}}const i={url:n[e(501)],file:t,serviceConfig:{...r,formatting:n[e(513)],timezone:(new(Intl[e(553)]))[e(489)]()[e(476)]}};return this[e(517)](),this[e(502)](i)[e(522)](this[e(568)][e(571)](this))[e(575)](this[e(514)][e(571)](this))[e(515)](this[e(566)][e(571)](this))}[h(554)](){const t=h;if(this[t(492)])return!1;const r=this[t(531)][t(537)],e=r[t(563)],n=r[t(527)][t(507)],i=(0,l.first)(n[t(520)]());return!!i&&e[t(526)](i[t(557)],t(494))}[h(517)](){const t=h,r=this[t(531)],e=r[t(537)],n=e[t(527)][t(507)];this[t(548)]=new AbortController,this[t(483)]=r[t(537)][t(512)]({isUndoable:!0}),e[t(481)](this[t(483)],(r=>{const i=t;n[i(564)]||e[i(560)](n,{leaveUnmerged:!0});const s=n[i(523)](),o=(0,l.first)(n[i(520)]());let a;a=o.is(i(558),i(494))&&o[i(547)]?s:s[i(545)]?e[i(569)](o):s[i(580)]?e[i(550)](o):r[i(536)](s)[i(479)],this[i(561)]=r[i(529)](i(490)+(0,l.uid)(),{usingOperation:!1,affectsData:!1,range:new u.Range(a)}),this[i(561)].on(i(521),(()=>{const t=i;t(570)===this[t(561)][t(480)]()[t(542)][t(528)]&&this[t(548)][t(505)]()}))})),this[t(492)]=!0,this[t(508)]()}[h(566)](){const t=h,r=this[t(531)][t(537)];r[t(552)][t(567)](this[t(561)])&&r[t(481)](this[t(483)],(r=>{const e=t;r[e(511)](this[e(561)])})),this[t(561)]=null,this[t(483)]=null,this[t(548)]=null,this[t(492)]=!1,this[t(508)]()}[h(502)]({url:t,file:r,serviceConfig:e}){const n=h,i=this[n(531)][n(576)][n(546)](n(549))[n(572)](),s=new FormData;s[n(477)](n(487),JSON[n(519)](e)),s[n(477)](n(543),r);const o={method:n(478),headers:{},body:s,signal:this[n(548)][n(525)]};return i&&(o[n(556)][n(574)]=i[n(535)]),fetch(t,o)}[h(568)](t){const r=h;return t.ok?t[r(486)]()[r(522)]((t=>{const e=r;this[e(531)][e(537)][e(552)][e(567)](this[e(561)])&&e(570)!==this[e(561)][e(480)]()[e(542)][e(528)]&&this[e(504)](e(579),t)})):Promise[r(482)]()}[h(514)](){const t=h;if(this[t(548)][t(525)][t(532)])return void(0,l.logWarning)(t(506));const r=this[t(531)],e=i(r[t(497)],t(509));r[t(576)][t(546)](t(484))[t(491)](e),(0,l.logError)(t(495))}}const g=I;function I(t,r){const e=v();return(I=function(t,r){return e[t-=201]})(t,r)}function v(){const t=["cloudServices","commands","importWord","8221360KygfBI","216wzNlVo","7757379qJtpCu","requires","https://docx-converter.cke-cs.com/v2/convert/docx-html","define","CloudServices","270920UZdSTv","_token","1398CRCeJS","pluginName","1468qPkiYt","token","ImportWordEditing","2293870tBdyQB","add","getToken","registerTokenUrl","config","inline","1082780rfyiNk","tokenUrl","6XkbkPV","init","none","get","isOfficialPlugin","editor","387862cpYDrc","isPremiumPlugin","plugins"];return(v=function(){return t})()}!function(t){const r=I,e=t();for(;;)try{if(869137===parseInt(r(211))/1+parseInt(r(203))/2+parseInt(r(226))/3*(-parseInt(r(228))/4)+-parseInt(r(231))/5*(parseInt(r(205))/6)+-parseInt(r(219))/7+parseInt(r(217))/8+parseInt(r(218))/9*(parseInt(r(224))/10))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(v);class w extends t.Plugin{static get[g(227)](){return g(230)}static get[g(209)](){return!0}static get[g(212)](){return!0}static get[g(220)](){const t=g;return[r.Notification,p.ClipboardPipeline,t(223)]}constructor(t){const r=g;super(t),this[r(225)]=null}async[g(206)](){const t=g,r=this[t(210)];r[t(201)][t(222)](t(216),{converterUrl:t(221),tokenUrl:(r[t(201)][t(208)](t(214))||{})[t(204)],formatting:{resets:t(207),defaults:t(207),styles:t(202)}}),r[t(215)][t(232)](t(216),new m(r));const{tokenUrl:e}=r[t(201)][t(208)](t(216));if(e){const{tokenUrl:n}=r[t(201)][t(208)](t(214))||{};this[t(225)]=e===n?r[t(213)][t(208)](t(223))[t(229)]:await r[t(213)][t(208)](t(223))[t(234)](e)}}[g(233)](){return this[g(225)]}}var b=y;function y(t,r){var e=k();return(y=function(t,r){return e[t-=362]})(t,r)}function k(){var t=["1057fnhpaA","19528OdlHnn","15buUAWy","728883qfziGM","34084kcrNGd","47597daQstk","8805MTjfMq","isPremiumPlugin","ImportWord","299hycvDU","46hRClde","123lpppwZ","98308PetboJ","10lBAOFs","588jTquJH","84816AncYBZ","pluginName","isOfficialPlugin","requires"];return(k=function(){return t})()}!function(t){for(var r=y,e=t();;)try{if(190363===-parseInt(r(370))/1*(parseInt(r(374))/2)+parseInt(r(375))/3*(parseInt(r(368))/4)+parseInt(r(366))/5*(-parseInt(r(379))/6)+-parseInt(r(364))/7*(parseInt(r(365))/8)+-parseInt(r(367))/9*(-parseInt(r(377))/10)+parseInt(r(369))/11*(parseInt(r(378))/12)+-parseInt(r(373))/13*(-parseInt(r(376))/14))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(k);class W extends t.Plugin{static get[b(380)](){return b(372)}static get[b(362)](){return!0}static get[b(371)](){return!0}static get[b(363)](){return[w,c]}}function x(t,r){var e=P();return(x=function(t,r){return e[t-=144]})(t,r)}function P(){var t=["126wMUdhd","1403064KUkwEH","48302nZwDXc","9619379ipVqrK","29226wppXXc","3709220xuDaNp","2395HAdYEH","9AVycyr","130745JIVlcx","42CMhJdT","2872slZOTw"];return(P=function(){return t})()}!function(t){for(var r=x,e=t();;)try{if(290925===-parseInt(r(147))/1+-parseInt(r(152))/2*(parseInt(r(148))/3)+-parseInt(r(149))/4*(-parseInt(r(145))/5)+parseInt(r(154))/6*(parseInt(r(150))/7)+-parseInt(r(151))/8+-parseInt(r(146))/9*(parseInt(r(144))/10)+parseInt(r(153))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(P)})(),(window.CKEditor5=window.CKEditor5||{}).importWord=n})();
|
package/dist/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as
|
|
23
|
+
import{Plugin as _0x2ea36b,Command as _0x4f6673}from'@ckeditor/ckeditor5-core/dist/index.js';import{FileDialogButtonView as _0x549b93,MenuBarMenuListItemFileDialogButtonView as _0x338ffc,SpinnerView as _0x53c91e,Notification as _0x44e07c}from'@ckeditor/ckeditor5-ui/dist/index.js';import{ClipboardPipeline as _0x2fd332}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{Range as _0x55f723}from'@ckeditor/ckeditor5-engine/dist/index.js';import{first as _0x1b2c4c,uid as _0x5e99e6,logWarning as _0x2c578a,logError as _0x3b16b1}from'@ckeditor/ckeditor5-utils/dist/index.js';function p(_0x4cfcfd,_0x11da78){const t=_0x4cfcfd['t'];switch(_0x11da78){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 _0x11da78;}}class i extends _0x2ea36b{static get['pluginName'](){return'ImportWordUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x3cc2f0=this['editor'];_0x3cc2f0['ui']['componentFactory']['add']('importWord',()=>{const _0x30133f=this['_createButton'](_0x549b93),_0x24871e=_0x3cc2f0['commands']['get']('importWord');return _0x30133f['bind']('isOn')['to'](_0x24871e,'isBusy'),_0x30133f['tooltip']=!0x0,_0x30133f;}),_0x3cc2f0['ui']['componentFactory']['add']('menuBar:importWord',()=>this['_createButton'](_0x338ffc));}['_createButton'](_0x13c8fb){const _0x318d2c=this['editor'],_0x5704f6=_0x318d2c['commands']['get']('importWord'),_0x2287de=new _0x13c8fb(_0x318d2c['locale']),_0xd66c21=new _0x53c91e();return _0x2287de['set']({'acceptedType':'application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.openxmlformats-officedocument.wordprocessingml.template'}),_0x2287de['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'}),_0x2287de['bind']('isEnabled')['to'](_0x5704f6),_0x2287de['bind']('label')['to'](_0x5704f6,'isBusy',_0x36e5a1=>p(_0x318d2c['locale'],_0x36e5a1?'Importing\x20Word\x20document':'Import\x20from\x20Word')),_0xd66c21['bind']('isVisible')['to'](_0x5704f6,'isBusy'),_0x2287de['iconView']['bind']('isVisible')['to'](_0x5704f6,'isBusy',_0x55643b=>!_0x55643b),_0x2287de['children']['add'](_0xd66c21),_0x2287de['on']('done',(_0x5668e2,_0x527614)=>{_0x318d2c['execute']('importWord',_0x527614[0x0],{}),_0x318d2c['editing']['view']['focus']();}),_0x2287de;}}class d extends _0x4f6673{['_importMarker'];['_undoStepBatch'];['_abortController'];constructor(_0x38deac){super(_0x38deac),this['set']('isBusy',!0x1),this['_importMarker']=null,this['_undoStepBatch']=null,this['_abortController']=null,this['on']('dataInsert',(_0x145b37,_0x432d13)=>{const _0x5e7f5d=new DataTransfer();_0x5e7f5d['setData']('text/html',_0x432d13['html']);const _0x2af05a=this['_importMarker']['getRange']();this['editor']['model']['enqueueChange'](this['_undoStepBatch'],_0x29c3d9=>{this['_importMarker']['stopListening'](),_0x29c3d9['setSelection'](_0x2af05a),_0x38deac['editing']['view']['document']['fire']('clipboardInput',{'dataTransfer':_0x5e7f5d});});},{'priority':'low'});}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x2d8a0d,_0x5e5701={}){if(this['isBusy'])return Promise['resolve']();const _0x365b70=this['editor']['config']['get']('importWord');if(this['editor']['plugins']['has']('MergeFields')){const {prefix:_0x185d38,suffix:_0x437778}=this['editor']['config']['get']('mergeFields');_0x5e5701['merge_fields']={'prefix':_0x185d38,'suffix':_0x437778};}const _0x54ee71={'url':_0x365b70['converterUrl'],'file':_0x2d8a0d,'serviceConfig':{..._0x5e5701,'formatting':_0x365b70['formatting'],'timezone':new Intl['DateTimeFormat']()['resolvedOptions']()['timeZone']}};return this['_prepareForImport'](),this['_sendImportRequest'](_0x54ee71)['then'](this['_handleImportResponse']['bind'](this))['catch'](this['_handleImportFailure']['bind'](this))['finally'](this['_cleanUpAfterImport']['bind'](this));}['_checkEnabled'](){if(this['isBusy'])return!0x1;const _0xe58fb3=this['editor']['model'],_0xa98074=_0xe58fb3['schema'],_0x5a4ddb=_0xe58fb3['document']['selection'],_0x4f1788=_0x1b2c4c(_0x5a4ddb['getSelectedBlocks']());return!!_0x4f1788&&_0xa98074['checkChild'](_0x4f1788['parent'],'paragraph');}['_prepareForImport'](){const _0x574b92=this['editor'],_0x244610=_0x574b92['model'],_0x51e8ad=_0x244610['document']['selection'];this['_abortController']=new AbortController(),this['_undoStepBatch']=_0x574b92['model']['createBatch']({'isUndoable':!0x0}),_0x244610['enqueueChange'](this['_undoStepBatch'],_0x4f26dc=>{_0x51e8ad['isCollapsed']||_0x244610['deleteContent'](_0x51e8ad,{'leaveUnmerged':!0x0});const _0x1828e6=_0x51e8ad['getFirstPosition'](),_0x20d7a3=_0x1b2c4c(_0x51e8ad['getSelectedBlocks']());let _0x1defec;_0x1defec=_0x20d7a3['is']('element','paragraph')&&_0x20d7a3['isEmpty']?_0x1828e6:_0x1828e6['isAtStart']?_0x244610['createPositionBefore'](_0x20d7a3):_0x1828e6['isAtEnd']?_0x244610['createPositionAfter'](_0x20d7a3):_0x4f26dc['split'](_0x1828e6)['position'],this['_importMarker']=_0x4f26dc['addMarker']('importWord:'+_0x5e99e6(),{'usingOperation':!0x1,'affectsData':!0x1,'range':new _0x55f723(_0x1defec)}),this['_importMarker']['on']('change:range',()=>{'$graveyard'===this['_importMarker']['getRange']()['root']['rootName']&&this['_abortController']['abort']();});}),this['isBusy']=!0x0,this['refresh']();}['_cleanUpAfterImport'](){const _0x11acbd=this['editor']['model'];_0x11acbd['markers']['has'](this['_importMarker'])&&_0x11acbd['enqueueChange'](this['_undoStepBatch'],_0x5c0ce0=>{_0x5c0ce0['removeMarker'](this['_importMarker']);}),this['_importMarker']=null,this['_undoStepBatch']=null,this['_abortController']=null,this['isBusy']=!0x1,this['refresh']();}['_sendImportRequest']({url:_0x2cf296,file:_0x4634be,serviceConfig:_0x5b34ba}){const _0x2ef677=this['editor']['plugins']['get']('ImportWordEditing')['getToken'](),_0x3faa7f=new FormData();_0x3faa7f['set']('config',JSON['stringify'](_0x5b34ba)),_0x3faa7f['set']('file',_0x4634be);const _0xfed50c={'method':'POST','headers':{},'body':_0x3faa7f,'signal':this['_abortController']['signal']};return _0x2ef677&&(_0xfed50c['headers']['Authorization']=_0x2ef677['value']),fetch(_0x2cf296,_0xfed50c);}['_handleImportResponse'](_0x25bd50){return _0x25bd50['ok']?_0x25bd50['json']()['then'](_0xc772ae=>{if(!this['editor']['model']['markers']['has'](this['_importMarker']))return;'$graveyard'!==this['_importMarker']['getRange']()['root']['rootName']&&this['fire']('dataInsert',_0xc772ae);}):Promise['reject']();}['_handleImportFailure'](){if(this['_abortController']['signal']['aborted'])return void _0x2c578a('import-word-plugin-import-cancelled');const _0xfadbf=this['editor'],_0x59e2c1=p(_0xfadbf['locale'],'An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.');_0xfadbf['plugins']['get']('Notification')['showWarning'](_0x59e2c1),_0x3b16b1('import-word-plugin-conversion-failed');}}class e extends _0x2ea36b{['_token'];static get['pluginName'](){return'ImportWordEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x44e07c,_0x2fd332,'CloudServices'];}constructor(_0x3b93f5){super(_0x3b93f5),this['_token']=null;}async['init'](){const _0x4a8f9a=this['editor'];_0x4a8f9a['config']['define']('importWord',{'converterUrl':'https://docx-converter.cke-cs.com/v2/convert/docx-html','tokenUrl':(_0x4a8f9a['config']['get']('cloudServices')||{})['tokenUrl'],'formatting':{'resets':'none','defaults':'none','styles':'inline'}}),_0x4a8f9a['commands']['add']('importWord',new d(_0x4a8f9a));const {tokenUrl:_0x42883e}=_0x4a8f9a['config']['get']('importWord');if(_0x42883e){const {tokenUrl:_0x5e47ee}=_0x4a8f9a['config']['get']('cloudServices')||{};this['_token']=_0x42883e===_0x5e47ee?_0x4a8f9a['plugins']['get']('CloudServices')['token']:await _0x4a8f9a['plugins']['get']('CloudServices')['registerTokenUrl'](_0x42883e);}}['getToken'](){return this['_token'];}}class o extends _0x2ea36b{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':_0x3891f6=>0x1!=_0x3891f6}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x41e773=>{const {af:{dictionary:_0x5514ae,getPluralForm:_0x33336a}}={'af':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x38b45c=>0x1!=_0x38b45c}};_0x41e773['af']||={'dictionary':{},'getPluralForm':null},_0x41e773['af']['dictionary']=Object['assign'](_0x41e773['af']['dictionary'],_0x5514ae),_0x41e773['af']['getPluralForm']=_0x33336a;})(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':_0x19a4d5=>0x0==_0x19a4d5?0x0:0x1==_0x19a4d5?0x1:0x2==_0x19a4d5?0x2:_0x19a4d5%0x64>=0x3&&_0x19a4d5%0x64<=0xa?0x3:_0x19a4d5%0x64>=0xb?0x4:0x5}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x3162aa=>{const {ar:{dictionary:_0x518e1a,getPluralForm:_0x3696d2}}={'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':_0x196f48=>0x0==_0x196f48?0x0:0x1==_0x196f48?0x1:0x2==_0x196f48?0x2:_0x196f48%0x64>=0x3&&_0x196f48%0x64<=0xa?0x3:_0x196f48%0x64>=0xb?0x4:0x5}};_0x3162aa['ar']||={'dictionary':{},'getPluralForm':null},_0x3162aa['ar']['dictionary']=Object['assign'](_0x3162aa['ar']['dictionary'],_0x518e1a),_0x3162aa['ar']['getPluralForm']=_0x3696d2;})(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':_0x117383=>0x1!=_0x117383}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x28f1cd=>{const {ast:{dictionary:_0x1cb491,getPluralForm:_0x476cb2}}={'ast':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x4d107c=>0x1!=_0x4d107c}};_0x28f1cd['ast']||={'dictionary':{},'getPluralForm':null},_0x28f1cd['ast']['dictionary']=Object['assign'](_0x28f1cd['ast']['dictionary'],_0x1cb491),_0x28f1cd['ast']['getPluralForm']=_0x476cb2;})(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':_0x481be3=>0x1!=_0x481be3}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x34d474=>{const {az:{dictionary:_0x3d0299,getPluralForm:_0x39f7b9}}={'az':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x17ad0a=>0x1!=_0x17ad0a}};_0x34d474['az']||={'dictionary':{},'getPluralForm':null},_0x34d474['az']['dictionary']=Object['assign'](_0x34d474['az']['dictionary'],_0x3d0299),_0x34d474['az']['getPluralForm']=_0x39f7b9;})(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':_0xeca263=>0x1!=_0xeca263}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x346122=>{const {bg:{dictionary:_0x58c5d8,getPluralForm:_0x46dd95}}={'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':_0x2f2cd8=>0x1!=_0x2f2cd8}};_0x346122['bg']||={'dictionary':{},'getPluralForm':null},_0x346122['bg']['dictionary']=Object['assign'](_0x346122['bg']['dictionary'],_0x58c5d8),_0x346122['bg']['getPluralForm']=_0x46dd95;})(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':_0xf13fc3=>0x1!=_0xf13fc3}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x394de6=>{const {bn:{dictionary:_0x3ce3e0,getPluralForm:_0x14ab24}}={'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':_0x47b53d=>0x1!=_0x47b53d}};_0x394de6['bn']||={'dictionary':{},'getPluralForm':null},_0x394de6['bn']['dictionary']=Object['assign'](_0x394de6['bn']['dictionary'],_0x3ce3e0),_0x394de6['bn']['getPluralForm']=_0x14ab24;})(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':_0x20335a=>_0x20335a%0xa==0x1&&_0x20335a%0x64!=0xb?0x0:_0x20335a%0xa>=0x2&&_0x20335a%0xa<=0x4&&(_0x20335a%0x64<0xa||_0x20335a%0x64>=0x14)?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x224f92=>{const {bs:{dictionary:_0xd9f58e,getPluralForm:_0x3099b5}}={'bs':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x1cc938=>_0x1cc938%0xa==0x1&&_0x1cc938%0x64!=0xb?0x0:_0x1cc938%0xa>=0x2&&_0x1cc938%0xa<=0x4&&(_0x1cc938%0x64<0xa||_0x1cc938%0x64>=0x14)?0x1:0x2}};_0x224f92['bs']||={'dictionary':{},'getPluralForm':null},_0x224f92['bs']['dictionary']=Object['assign'](_0x224f92['bs']['dictionary'],_0xd9f58e),_0x224f92['bs']['getPluralForm']=_0x3099b5;})(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':_0x44653d=>0x1!=_0x44653d}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x2e3eb9=>{const {ca:{dictionary:_0x1eb27b,getPluralForm:_0x467d6d}}={'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':_0x508507=>0x1!=_0x508507}};_0x2e3eb9['ca']||={'dictionary':{},'getPluralForm':null},_0x2e3eb9['ca']['dictionary']=Object['assign'](_0x2e3eb9['ca']['dictionary'],_0x1eb27b),_0x2e3eb9['ca']['getPluralForm']=_0x467d6d;})(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':_0x3cc23a=>0x1==_0x3cc23a?0x0:_0x3cc23a>=0x2&&_0x3cc23a<=0x4?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x65b6e9=>{const {cs:{dictionary:_0x133f0e,getPluralForm:_0x42e18e}}={'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':_0x135974=>0x1==_0x135974?0x0:_0x135974>=0x2&&_0x135974<=0x4?0x1:0x2}};_0x65b6e9['cs']||={'dictionary':{},'getPluralForm':null},_0x65b6e9['cs']['dictionary']=Object['assign'](_0x65b6e9['cs']['dictionary'],_0x133f0e),_0x65b6e9['cs']['getPluralForm']=_0x42e18e;})(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':_0x45c79b=>0x1!=_0x45c79b}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x239aa1=>{const {da:{dictionary:_0x53624c,getPluralForm:_0x37a25a}}={'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':_0x346b9c=>0x1!=_0x346b9c}};_0x239aa1['da']||={'dictionary':{},'getPluralForm':null},_0x239aa1['da']['dictionary']=Object['assign'](_0x239aa1['da']['dictionary'],_0x53624c),_0x239aa1['da']['getPluralForm']=_0x37a25a;})(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':_0x23b363=>0x1!=_0x23b363}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x305248=>{const {'de-ch':{dictionary:_0x50eaae,getPluralForm:_0x33ca6f}}={'de-ch':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x46cd09=>0x1!=_0x46cd09}};_0x305248['de-ch']||={'dictionary':{},'getPluralForm':null},_0x305248['de-ch']['dictionary']=Object['assign'](_0x305248['de-ch']['dictionary'],_0x50eaae),_0x305248['de-ch']['getPluralForm']=_0x33ca6f;})(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':_0x4ca73a=>0x1!=_0x4ca73a}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x4e1929=>{const {de:{dictionary:_0x14ee66,getPluralForm:_0x3051a4}}={'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':_0x1caddf=>0x1!=_0x1caddf}};_0x4e1929['de']||={'dictionary':{},'getPluralForm':null},_0x4e1929['de']['dictionary']=Object['assign'](_0x4e1929['de']['dictionary'],_0x14ee66),_0x4e1929['de']['getPluralForm']=_0x3051a4;})(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':_0x1cc6db=>0x1!=_0x1cc6db}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x1aaaf7=>{const {el:{dictionary:_0x449312,getPluralForm:_0x72fc2a}}={'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':_0x36c243=>0x1!=_0x36c243}};_0x1aaaf7['el']||={'dictionary':{},'getPluralForm':null},_0x1aaaf7['el']['dictionary']=Object['assign'](_0x1aaaf7['el']['dictionary'],_0x449312),_0x1aaaf7['el']['getPluralForm']=_0x72fc2a;})(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':_0x1c517f=>0x1!=_0x1c517f}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x35082d=>{const {'en-au':{dictionary:_0x1afd5a,getPluralForm:_0x366f92}}={'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':_0x2c25ab=>0x1!=_0x2c25ab}};_0x35082d['en-au']||={'dictionary':{},'getPluralForm':null},_0x35082d['en-au']['dictionary']=Object['assign'](_0x35082d['en-au']['dictionary'],_0x1afd5a),_0x35082d['en-au']['getPluralForm']=_0x366f92;})(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':_0x304188=>0x1!=_0x304188}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x1e4db9=>{const {'en-gb':{dictionary:_0x2dfc5e,getPluralForm:_0x144c6a}}={'en-gb':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x3335b6=>0x1!=_0x3335b6}};_0x1e4db9['en-gb']||={'dictionary':{},'getPluralForm':null},_0x1e4db9['en-gb']['dictionary']=Object['assign'](_0x1e4db9['en-gb']['dictionary'],_0x2dfc5e),_0x1e4db9['en-gb']['getPluralForm']=_0x144c6a;})(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':_0x14bac4=>0x1!=_0x14bac4}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x387ea5=>{const {en:{dictionary:_0x1c3b04,getPluralForm:_0x271872}}={'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':_0x513311=>0x1!=_0x513311}};_0x387ea5['en']||={'dictionary':{},'getPluralForm':null},_0x387ea5['en']['dictionary']=Object['assign'](_0x387ea5['en']['dictionary'],_0x1c3b04),_0x387ea5['en']['getPluralForm']=_0x271872;})(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':_0x521e38=>0x1!=_0x521e38}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x519c9c=>{const {eo:{dictionary:_0x37c9c5,getPluralForm:_0x315b50}}={'eo':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x42bd77=>0x1!=_0x42bd77}};_0x519c9c['eo']||={'dictionary':{},'getPluralForm':null},_0x519c9c['eo']['dictionary']=Object['assign'](_0x519c9c['eo']['dictionary'],_0x37c9c5),_0x519c9c['eo']['getPluralForm']=_0x315b50;})(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':_0x4e5edd=>0x1!=_0x4e5edd}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x3307c8=>{const {'es-co':{dictionary:_0x14ef1e,getPluralForm:_0x37e3d0}}={'es-co':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x1c898b=>0x1!=_0x1c898b}};_0x3307c8['es-co']||={'dictionary':{},'getPluralForm':null},_0x3307c8['es-co']['dictionary']=Object['assign'](_0x3307c8['es-co']['dictionary'],_0x14ef1e),_0x3307c8['es-co']['getPluralForm']=_0x37e3d0;})(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':_0x488974=>0x1!=_0x488974}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x54073d=>{const {es:{dictionary:_0x58ce35,getPluralForm:_0x42f59d}}={'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':_0x116e16=>0x1!=_0x116e16}};_0x54073d['es']||={'dictionary':{},'getPluralForm':null},_0x54073d['es']['dictionary']=Object['assign'](_0x54073d['es']['dictionary'],_0x58ce35),_0x54073d['es']['getPluralForm']=_0x42f59d;})(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':_0x21da84=>0x1!=_0x21da84}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0xbc702=>{const {et:{dictionary:_0x59de39,getPluralForm:_0x3a5680}}={'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':_0x2bd103=>0x1!=_0x2bd103}};_0xbc702['et']||={'dictionary':{},'getPluralForm':null},_0xbc702['et']['dictionary']=Object['assign'](_0xbc702['et']['dictionary'],_0x59de39),_0xbc702['et']['getPluralForm']=_0x3a5680;})(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':_0x29202f=>0x1!=_0x29202f}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x35a79b=>{const {eu:{dictionary:_0x971847,getPluralForm:_0x5980dd}}={'eu':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x4e3ebf=>0x1!=_0x4e3ebf}};_0x35a79b['eu']||={'dictionary':{},'getPluralForm':null},_0x35a79b['eu']['dictionary']=Object['assign'](_0x35a79b['eu']['dictionary'],_0x971847),_0x35a79b['eu']['getPluralForm']=_0x5980dd;})(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':_0x1fec3b=>0x0}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x59f3e2=>{const {fa:{dictionary:_0x35fc37,getPluralForm:_0x5a8dda}}={'fa':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x4e7c26=>0x0}};_0x59f3e2['fa']||={'dictionary':{},'getPluralForm':null},_0x59f3e2['fa']['dictionary']=Object['assign'](_0x59f3e2['fa']['dictionary'],_0x35fc37),_0x59f3e2['fa']['getPluralForm']=_0x5a8dda;})(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':_0x115cd5=>0x1!=_0x115cd5}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0xfd905b=>{const {fi:{dictionary:_0xb49149,getPluralForm:_0xa8adb4}}={'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':_0x21324b=>0x1!=_0x21324b}};_0xfd905b['fi']||={'dictionary':{},'getPluralForm':null},_0xfd905b['fi']['dictionary']=Object['assign'](_0xfd905b['fi']['dictionary'],_0xb49149),_0xfd905b['fi']['getPluralForm']=_0xa8adb4;})(window['CKEDITOR_TRANSLATIONS']||={});
|