@ckeditor/ckeditor5-import-word 0.0.0-nightly-20241218.0 → 0.0.0-nightly-20241219.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/import-word.js +1 -1
- package/dist/index.js +1 -1
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +7 -7
- package/src/importword.js +1 -1
- package/src/importwordcommand.js +1 -1
- package/src/importwordediting.js +1 -1
- package/src/importwordui.js +1 -1
- package/src/index.js +1 -1
- package/src/utils/common-translations.js +1 -1
package/build/import-word.js
CHANGED
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
/*!
|
|
3
3
|
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
4
4
|
* For licensing, see LICENSE.md.
|
|
5
|
-
*/(()=>{var t={331:(t,r,e)=>{t.exports=e(237)("./src/clipboard.js")},782:(t,r,e)=>{t.exports=e(237)("./src/core.js")},783:(t,r,e)=>{t.exports=e(237)("./src/engine.js")},311:(t,r,e)=>{t.exports=e(237)("./src/ui.js")},584:(t,r,e)=>{t.exports=e(237)("./src/utils.js")},237:t=>{"use strict";t.exports=CKEditor5.dll}},r={};function e(n){var i=r[n];if(void 0!==i)return i.exports;var o=r[n]={exports:{}};return t[n](o,o.exports,e),o.exports}e.d=(t,r)=>{for(var n in r)e.o(r,n)&&!e.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:r[n]})},e.o=(t,r)=>Object.prototype.hasOwnProperty.call(t,r),e.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var n={};(()=>{"use strict";e.r(n),e.d(n,{ImportWord:()=>P,ImportWordEditing:()=>w,ImportWordUI:()=>c});var t=e(782),r=e(311);function i(t,r){const e=t.t;switch(r){case"Import from Word":return e("Import from Word");case"An error occurred while importing the Word file.":return e("An error occurred while importing the Word file.");case"Importing Word document":return e("Importing Word document");default:return r}}const o=s;function s(t,r){const e=a();return(s=function(t,r){return e[t-=360]})(t,r)}function a(){const t=["9vhcIHZ","done","5294436zUSntp","children","locale","isBusy","54405lMMgFX","isOn","importWord","focus","Import from Word","menuBar:importWord","1275874IQPMwp","ImportWordUI","1130549DnlfSW","48sgcqUl","isPremiumPlugin","pluginName","commands","editor","view","isOfficialPlugin","application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.openxmlformats-officedocument.wordprocessingml.template","52OQyQbE","_createButton","add","isVisible","label","tooltip","isEnabled","get","432822mugXNL","set","init","execute","editing","11514170blKVbG","bind","Importing Word document","componentFactory","2IPbgAm","13447720QxIDXR","iconView"];return(a=function(){return t})()}!function(t){const r=s,e=t();for(;;)try{if(790198===parseInt(r(362))/1*(-parseInt(r(377))/2)+parseInt(r(396))/3+-parseInt(r(388))/4*(-parseInt(r(371))/5)+parseInt(r(367))/6+-parseInt(r(379))/7*(-parseInt(r(380))/8)+-parseInt(r(365))/9*(-parseInt(r(401))/10)+-parseInt(r(363))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(a);class c extends t.Plugin{static get[o(382)](){return o(378)}static get[o(386)](){return!0}static get[o(381)](){return!0}[o(398)](){const t=o,e=this[t(384)];e.ui[t(361)][t(390)](t(373),(()=>{const n=t,i=this[n(389)](r.FileDialogButtonView),o=e[n(383)][n(395)](n(373));return i[n(402)](n(372)).to(o,n(370)),i[n(393)]=!0,i})),e.ui[t(361)][t(390)](t(376),(()=>this[t(389)](r.MenuBarMenuListItemFileDialogButtonView)))}[o(389)](t){const e=o,n=this[e(384)],s=n[e(383)][e(395)](e(373)),a=new t(n[e(369)]),c=new r.SpinnerView;return a[e(397)]({acceptedType:e(387)}),a[e(397)]({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(402)](e(394)).to(s),a[e(402)](e(392)).to(s,e(370),(t=>i(n[e(369)],e(t?360:375)))),c[e(402)](e(391)).to(s,e(370)),a[e(364)][e(402)](e(391)).to(s,e(370),(t=>!t)),a[e(368)][e(390)](c),a.on(e(366),((t,r)=>{const i=e;n[i(399)](i(373),r[0],{}),n[i(400)][i(385)][i(374)]()})),a}}var p=e(331),u=e(783),l=e(584);const d=f;function h(){const t=["then","getFirstPosition","refresh","showWarning","rootName","createPositionBefore","low","finally","isCollapsed","stopListening","_cleanUpAfterImport","setData","dataInsert","addMarker","execute","selection","reject","resolvedOptions","timeZone","parent","_abortController","699210EOPDtC","isEnabled","Notification","4136319xdJPSX","model","getRange","view","ImportWordEditing","Authorization","bind","headers","change:range","4NAdxwL","resolve","$graveyard","abort","DateTimeFormat","218847ICHlaz","isAtStart","1831340JhsyMt","set","paragraph","html","catch","_handleImportResponse","value","2tPacJc","MergeFields","config","root","importWord:","import-word-plugin-conversion-failed","file","_checkEnabled","createBatch","editor","aborted","signal","getToken","schema","1291602GLJCIo","POST","has","151496IIJWeo","split","markers","editing","stringify","plugins","element","createPositionAfter","text/html","_undoStepBatch","importWord","removeMarker","isAtEnd","converterUrl","clipboardInput","json","isBusy","formatting","deleteContent","setSelection","getSelectedBlocks","get","isEmpty","fire","merge_fields","document","_handleImportFailure","mergeFields","checkChild","position","enqueueChange","_sendImportRequest","_prepareForImport","import-word-plugin-import-cancelled","582423QomomW","An error occurred while importing the Word file.","locale","_importMarker"];return(h=function(){return t})()}function f(t,r){const e=h();return(f=function(t,r){return e[t-=428]})(t,r)}!function(t){const r=f,e=t();for(;;)try{if(151369===-parseInt(r(483))/1*(parseInt(r(492))/2)+parseInt(r(441))/3*(parseInt(r(478))/4)+parseInt(r(466))/5+parseInt(r(506))/6+parseInt(r(485))/7+parseInt(r(509))/8+-parseInt(r(469))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(h);class m extends t.Command{constructor(t){const r=f;super(t),this[r(486)](r(525),!1),this[r(444)]=null,this[r(518)]=null,this[r(465)]=null,this.on(r(457),((e,n)=>{const i=r,o=new DataTransfer;o[i(456)](i(517),n[i(488)]);const s=this[i(444)][i(471)]();this[i(501)][i(470)][i(437)](this[i(518)],(r=>{const e=i;this[e(444)][e(454)](),r[e(528)](s),t[e(512)][e(472)][e(432)][e(430)](e(523),{dataTransfer:o})}))}),{priority:r(451)})}[d(447)](){const t=d;this[t(467)]=this[t(499)]()}[d(459)](t,r={}){const e=d;if(this[e(525)])return Promise[e(479)]();const n=this[e(501)][e(494)][e(428)](e(519));if(this[e(501)][e(514)][e(508)](e(493))){const{prefix:t,suffix:n}=this[e(501)][e(494)][e(428)](e(434));r[e(431)]={prefix:t,suffix:n}}const i={url:n[e(522)],file:t,serviceConfig:{...r,formatting:n[e(526)],timezone:(new(Intl[e(482)]))[e(462)]()[e(463)]}};return this[e(439)](),this[e(438)](i)[e(445)](this[e(490)][e(475)](this))[e(489)](this[e(433)][e(475)](this))[e(452)](this[e(455)][e(475)](this))}[d(499)](){const t=d;if(this[t(525)])return!1;const r=this[t(501)][t(470)],e=r[t(505)],n=r[t(432)][t(460)],i=(0,l.first)(n[t(529)]());return!!i&&e[t(435)](i[t(464)],t(487))}[d(439)](){const t=d,r=this[t(501)],e=r[t(470)],n=e[t(432)][t(460)];this[t(465)]=new AbortController,this[t(518)]=r[t(470)][t(500)]({isUndoable:!0}),e[t(437)](this[t(518)],(r=>{const i=t;n[i(453)]||e[i(527)](n,{leaveUnmerged:!0});const o=n[i(446)](),s=(0,l.first)(n[i(529)]());let a;a=s.is(i(515),i(487))&&s[i(429)]?o:o[i(484)]?e[i(450)](s):o[i(521)]?e[i(516)](s):r[i(510)](o)[i(436)],this[i(444)]=r[i(458)](i(496)+(0,l.uid)(),{usingOperation:!1,affectsData:!1,range:new u.Range(a)}),this[i(444)].on(i(477),(()=>{const t=i;t(480)===this[t(444)][t(471)]()[t(495)][t(449)]&&this[t(465)][t(481)]()}))})),this[t(525)]=!0,this[t(447)]()}[d(455)](){const t=d,r=this[t(501)][t(470)];r[t(511)][t(508)](this[t(444)])&&r[t(437)](this[t(518)],(r=>{const e=t;r[e(520)](this[e(444)])})),this[t(444)]=null,this[t(518)]=null,this[t(465)]=null,this[t(525)]=!1,this[t(447)]()}[d(438)]({url:t,file:r,serviceConfig:e}){const n=d,i=this[n(501)][n(514)][n(428)](n(473))[n(504)](),o=new FormData;o[n(486)](n(494),JSON[n(513)](e)),o[n(486)](n(498),r);const s={method:n(507),headers:{},body:o,signal:this[n(465)][n(503)]};return i&&(s[n(476)][n(474)]=i[n(491)]),fetch(t,s)}[d(490)](t){const r=d;return t.ok?t[r(524)]()[r(445)]((t=>{const e=r;this[e(501)][e(470)][e(511)][e(508)](this[e(444)])&&e(480)!==this[e(444)][e(471)]()[e(495)][e(449)]&&this[e(430)](e(457),t)})):Promise[r(461)]()}[d(433)](){const t=d;if(this[t(465)][t(503)][t(502)])return void(0,l.logWarning)(t(440));const r=this[t(501)],e=i(r[t(443)],t(442));r[t(514)][t(428)](t(468))[t(448)](e),(0,l.logError)(t(497))}}function g(t,r){const e=v();return(g=function(t,r){return e[t-=169]})(t,r)}const I=g;function v(){const t=["162RkbJpG","getToken","get","commands","pluginName","923504pYdTDS","11xIpBTA","token","156746bKJVxx","2DzRLuv","cloudServices","_token","config","plugins","https://docx-converter.cke-cs.com/v2/convert/docx-html","isOfficialPlugin","33795ROOLci","981837PFoddE","ImportWordEditing","602679MhzupS","CloudServices","define","72970saHSYj","1652301xqQDNe","inline","registerTokenUrl","init","editor","add","8mSjiNb","requires","tokenUrl","none","importWord","isPremiumPlugin"];return(v=function(){return t})()}!function(t){const r=g,e=t();for(;;)try{if(130011===parseInt(r(192))/1*(-parseInt(r(191))/2)+parseInt(r(202))/3+-parseInt(r(188))/4+-parseInt(r(199))/5*(-parseInt(r(183))/6)+-parseInt(r(171))/7*(-parseInt(r(177))/8)+-parseInt(r(200))/9+parseInt(r(170))/10*(parseInt(r(189))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(v);class w extends t.Plugin{static get[I(187)](){return I(201)}static get[I(198)](){return!0}static get[I(182)](){return!0}static get[I(178)](){const t=I;return[r.Notification,p.ClipboardPipeline,t(203)]}constructor(t){const r=I;super(t),this[r(194)]=null}async[I(174)](){const t=I,r=this[t(175)];r[t(195)][t(169)](t(181),{converterUrl:t(197),tokenUrl:(r[t(195)][t(185)](t(193))||{})[t(179)],formatting:{resets:t(180),defaults:t(180),styles:t(172)}}),r[t(186)][t(176)](t(181),new m(r));const{tokenUrl:e}=r[t(195)][t(185)](t(181));if(e){const{tokenUrl:n}=r[t(195)][t(185)](t(193))||{};this[t(194)]=e===n?r[t(196)][t(185)](t(203))[t(190)]:await r[t(196)][t(185)](t(203))[t(173)](e)}}[I(184)](){return this[I(194)]}}var b=x;function x(t,r){var e=W();return(x=function(t,r){return e[t-=422]})(t,r)}function W(){var t=["316380izzvJX","14KOIbAi","isPremiumPlugin","2BISAyV","2149848dQsuLn","48LEkNYo","2529GEwWGM","pluginName","isOfficialPlugin","3190759hbUdVj","501442rZqMrO","requires","1964Zuskvf","1280072PFAfcl","36emDnCW","ImportWord","3312340LfGYwc"];return(W=function(){return t})()}!function(t){for(var r=x,e=t();;)try{if(301268===parseInt(r(428))/1*(parseInt(r(435))/2)+-parseInt(r(431))/3*(-parseInt(r(437))/4)+parseInt(r(425))/5*(parseInt(r(430))/6)+parseInt(r(426))/7*(parseInt(r(438))/8)+-parseInt(r(429))/9+-parseInt(r(424))/10+parseInt(r(434))/11*(-parseInt(r(422))/12))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(W);class P extends t.Plugin{static get[b(432)](){return b(423)}static get[b(433)](){return!0}static get[b(427)](){return!0}static get[b(436)](){return[w,c]}}function y(){var t=["8nrNYqx","6105204lZbmxo","1636610Izlrvb","650938PpmafL","1188558NXQcWD","6cBbnKE","1255205tEiKbj","5150880oEshCR","2605658kpapnv","81PIzXfa"];return(y=function(){return t})()}function k(t,r){var e=y();return(k=function(t,r){return e[t-=270]})(t,r)}!function(t){for(var r=k,e=t();;)try{if(751221===parseInt(r(270))/1+parseInt(r(275))/2+-parseInt(r(271))/3+parseInt(r(274))/4+parseInt(r(273))/5*(parseInt(r(272))/6)+-parseInt(r(278))/7*(parseInt(r(277))/8)+-parseInt(r(276))/9*(parseInt(r(279))/10))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(y)})(),(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:()=>a});var t=e(782),r=e(311);function i(t,r){const e=t.t;switch(r){case"Import from Word":return e("Import from Word");case"An error occurred while importing the Word file.":return e("An error occurred while importing the Word file.");case"Importing Word document":return e("Importing Word document");default:return r}}const o=s;function s(t,r){const e=c();return(s=function(t,r){return e[t-=288]})(t,r)}!function(t){const r=s,e=t();for(;;)try{if(133609===parseInt(r(322))/1+-parseInt(r(298))/2*(-parseInt(r(300))/3)+parseInt(r(296))/4*(parseInt(r(313))/5)+-parseInt(r(311))/6*(parseInt(r(299))/7)+-parseInt(r(330))/8+-parseInt(r(321))/9*(parseInt(r(326))/10)+parseInt(r(302))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(c);class a extends t.Plugin{static get[o(288)](){return o(328)}static get[o(295)](){return!0}static get[o(294)](){return!0}[o(297)](){const t=o,e=this[t(327)];e.ui[t(290)][t(319)](t(309),(()=>{const n=t,i=this[n(303)](r.FileDialogButtonView),o=e[n(318)][n(292)](n(309));return i[n(306)](n(291)).to(o,n(307)),i[n(289)]=!0,i})),e.ui[t(290)][t(319)](t(323),(()=>this[t(303)](r.MenuBarMenuListItemFileDialogButtonView)))}[o(303)](t){const e=o,n=this[e(327)],s=n[e(318)][e(292)](e(309)),a=new t(n[e(324)]),c=new r.SpinnerView;return a[e(314)]({acceptedType:e(305)}),a[e(314)]({icon:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="m14 0 5 4.5v8.892l-1.5-1.8V6.5h-5v-5h-8v3H3V0h11Zm0 2v3h3.3L14 2Z"/><path d="M10.74 18a2.76 2.76 0 0 1-.469-.5H3V19h9.25v-.374A2.737 2.737 0 0 1 10.74 18Z"/><path d="M8.5 6a1.5 1.5 0 0 1 1.493 1.356L10 7.5v7a1.5 1.5 0 0 1-1.356 1.493L8.5 16h-7a1.5 1.5 0 0 1-1.493-1.356L0 14.5v-7a1.5 1.5 0 0 1 1.356-1.493L1.5 6h7ZM7.483 8.795l-.042.088-.986 2.534-.947-2.528-.043-.092a.601.601 0 0 0-1.042.008l-.042.093-.883 2.465-.937-2.475-.042-.089a.6.6 0 0 0-1.107.42l.027.093 1.514 4 .044.092a.6.6 0 0 0 1.041-.01l.041-.092.88-2.458.925 2.467.046.096a.602.602 0 0 0 1.032 0l.043-.09 1.554-4 .028-.093a.6.6 0 0 0-1.104-.43v.001ZM11.674 15.407a.75.75 0 1 0 1.152.96L14 14.96V20h1.5v-5.04l1.174 1.408a.75.75 0 1 0 1.152-.96l-2.346-2.816a.95.95 0 0 0-1.46 0l-2.346 2.815Z"/></svg>\n'}),a[e(306)](e(304)).to(s),a[e(306)](e(310)).to(s,e(307),(t=>i(n[e(324)],e(t?329:312)))),c[e(306)](e(301)).to(s,e(307)),a[e(320)][e(306)](e(301)).to(s,e(307),(t=>!t)),a[e(308)][e(319)](c),a.on(e(315),((t,r)=>{const i=e;n[i(293)](i(309),r[0],{}),n[i(325)][i(316)][i(317)]()})),a}}function c(){const t=["84qszOdJ","init","8nuUUzF","182329uOkcBf","83019QmwArr","isVisible","5525025EFWUZT","_createButton","isEnabled","application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.openxmlformats-officedocument.wordprocessingml.template","bind","isBusy","children","importWord","label","60UGwRnl","Import from Word","9505XGhbQe","set","done","view","focus","commands","add","iconView","225468RSFdGr","127583KSZiai","menuBar:importWord","locale","editing","100FnTgzR","editor","ImportWordUI","Importing Word document","1086976ffzdpa","pluginName","tooltip","componentFactory","isOn","get","execute","isPremiumPlugin","isOfficialPlugin"];return(c=function(){return t})()}var u=e(331),p=e(783),l=e(584);const d=h;function h(t,r){const e=f();return(h=function(t,r){return e[t-=456]})(t,r)}function f(){const t=["config","4397048bzDhDD","position","change:range","import-word-plugin-import-cancelled","resolve","importWord:","signal","locale","element","selection","addMarker","refresh","isAtStart","getFirstPosition","getRange","document","json","then","editing","deleteContent","text/html","reject","bind","checkChild","merge_fields","markers","setSelection","POST","abort","get","has","_sendImportRequest","setData","Notification","createBatch","An error occurred while importing the Word file.","9259327EfuOYb","_handleImportFailure","split","ImportWordEditing","headers","_handleImportResponse","MergeFields","stopListening","stringify","Authorization","getToken","createPositionBefore","import-word-plugin-conversion-failed","826UiwQDb","2587490AbGEey","$graveyard","1731390woOkAv","9znWMHU","isCollapsed","editor","createPositionAfter","importWord","set","model","clipboardInput","html","timeZone","_checkEnabled","aborted","root","721iQfBRa","enqueueChange","converterUrl","isEmpty","low","_prepareForImport","isAtEnd","577076kuJjBu","showWarning","dataInsert","removeMarker","2374giIEca","_abortController","DateTimeFormat","isEnabled","execute","_cleanUpAfterImport","parent","schema","_undoStepBatch","isBusy","paragraph","plugins","file","18wTGNxF","value","_importMarker","fire","view","formatting","catch","finally","rootName","mergeFields","getSelectedBlocks","resolvedOptions","25032wAKzdh"];return(f=function(){return t})()}!function(t){const r=h,e=t();for(;;)try{if(492331===-parseInt(r(494))/1*(-parseInt(r(466))/2)+-parseInt(r(507))/3*(parseInt(r(490))/4)+-parseInt(r(467))/5+parseInt(r(519))/6*(parseInt(r(483))/7)+parseInt(r(521))/8*(-parseInt(r(470))/9)+parseInt(r(469))/10+parseInt(r(557))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(f);class m extends t.Command{constructor(t){const r=h;super(t),this[r(475)](r(503),!1),this[r(509)]=null,this[r(502)]=null,this[r(495)]=null,this.on(r(492),((e,n)=>{const i=r,o=new DataTransfer;o[i(553)](i(541),n[i(478)]);const s=this[i(509)][i(535)]();this[i(472)][i(476)][i(484)](this[i(502)],(r=>{const e=i;this[e(509)][e(460)](),r[e(547)](s),t[e(539)][e(511)][e(536)][e(510)](e(477),{dataTransfer:o})}))}),{priority:r(487)})}[d(532)](){const t=d;this[t(497)]=this[t(480)]()}[d(498)](t,r={}){const e=d;if(this[e(503)])return Promise[e(525)]();const n=this[e(472)][e(520)][e(550)](e(474));if(this[e(472)][e(505)][e(551)](e(459))){const{prefix:t,suffix:n}=this[e(472)][e(520)][e(550)](e(516));r[e(545)]={prefix:t,suffix:n}}const i={url:n[e(485)],file:t,serviceConfig:{...r,formatting:n[e(512)],timezone:(new(Intl[e(496)]))[e(518)]()[e(479)]}};return this[e(488)](),this[e(552)](i)[e(538)](this[e(458)][e(543)](this))[e(513)](this[e(558)][e(543)](this))[e(514)](this[e(499)][e(543)](this))}[d(480)](){const t=d;if(this[t(503)])return!1;const r=this[t(472)][t(476)],e=r[t(501)],n=r[t(536)][t(530)],i=(0,l.first)(n[t(517)]());return!!i&&e[t(544)](i[t(500)],t(504))}[d(488)](){const t=d,r=this[t(472)],e=r[t(476)],n=e[t(536)][t(530)];this[t(495)]=new AbortController,this[t(502)]=r[t(476)][t(555)]({isUndoable:!0}),e[t(484)](this[t(502)],(r=>{const i=t;n[i(471)]||e[i(540)](n,{leaveUnmerged:!0});const o=n[i(534)](),s=(0,l.first)(n[i(517)]());let a;a=s.is(i(529),i(504))&&s[i(486)]?o:o[i(533)]?e[i(464)](s):o[i(489)]?e[i(473)](s):r[i(559)](o)[i(522)],this[i(509)]=r[i(531)](i(526)+(0,l.uid)(),{usingOperation:!1,affectsData:!1,range:new p.Range(a)}),this[i(509)].on(i(523),(()=>{const t=i;t(468)===this[t(509)][t(535)]()[t(482)][t(515)]&&this[t(495)][t(549)]()}))})),this[t(503)]=!0,this[t(532)]()}[d(499)](){const t=d,r=this[t(472)][t(476)];r[t(546)][t(551)](this[t(509)])&&r[t(484)](this[t(502)],(r=>{const e=t;r[e(493)](this[e(509)])})),this[t(509)]=null,this[t(502)]=null,this[t(495)]=null,this[t(503)]=!1,this[t(532)]()}[d(552)]({url:t,file:r,serviceConfig:e}){const n=d,i=this[n(472)][n(505)][n(550)](n(456))[n(463)](),o=new FormData;o[n(475)](n(520),JSON[n(461)](e)),o[n(475)](n(506),r);const s={method:n(548),headers:{},body:o,signal:this[n(495)][n(527)]};return i&&(s[n(457)][n(462)]=i[n(508)]),fetch(t,s)}[d(458)](t){const r=d;return t.ok?t[r(537)]()[r(538)]((t=>{const e=r;this[e(472)][e(476)][e(546)][e(551)](this[e(509)])&&e(468)!==this[e(509)][e(535)]()[e(482)][e(515)]&&this[e(510)](e(492),t)})):Promise[r(542)]()}[d(558)](){const t=d;if(this[t(495)][t(527)][t(481)])return void(0,l.logWarning)(t(524));const r=this[t(472)],e=i(r[t(528)],t(556));r[t(505)][t(550)](t(554))[t(491)](e),(0,l.logError)(t(465))}}const g=v;function I(){const t=["isPremiumPlugin","commands","get","token","define","cloudServices","18078mvSdCx","20PRgkLo","8809029AlKqtf","getToken","8OCQWkF","pluginName","ImportWordEditing","5363260vjWlFu","590680kfZusX","requires","79923GBXCjD","registerTokenUrl","259ZRhsAY","4881320wRarEj","importWord","_token","https://docx-converter.cke-cs.com/v2/convert/docx-html","2336650PaBbrD","none","editor","init","tokenUrl","plugins","add","config","isOfficialPlugin","CloudServices","inline"];return(I=function(){return t})()}function v(t,r){const e=I();return(v=function(t,r){return e[t-=306]})(t,r)}!function(t){const r=v,e=t();for(;;)try{if(658026===parseInt(r(323))/1+parseInt(r(316))/2*(parseInt(r(325))/3)+-parseInt(r(328))/4+parseInt(r(332))/5+-parseInt(r(315))/6*(-parseInt(r(327))/7)+-parseInt(r(319))/8*(-parseInt(r(317))/9)+-parseInt(r(322))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(I);class w extends t.Plugin{static get[g(320)](){return g(321)}static get[g(306)](){return!0}static get[g(309)](){return!0}static get[g(324)](){const t=g;return[r.Notification,u.ClipboardPipeline,t(307)]}constructor(t){const r=g;super(t),this[r(330)]=null}async[g(335)](){const t=g,r=this[t(334)];r[t(339)][t(313)](t(329),{converterUrl:t(331),tokenUrl:(r[t(339)][t(311)](t(314))||{})[t(336)],formatting:{resets:t(333),defaults:t(333),styles:t(308)}}),r[t(310)][t(338)](t(329),new m(r));const{tokenUrl:e}=r[t(339)][t(311)](t(329));if(e){const{tokenUrl:n}=r[t(339)][t(311)](t(314))||{};this[t(330)]=e===n?r[t(337)][t(311)](t(307))[t(312)]:await r[t(337)][t(311)](t(307))[t(326)](e)}}[g(318)](){return this[g(330)]}}var b=y;function W(){var t=["304VlSxKn","2928rXCAhn","isOfficialPlugin","900911vupFwq","4791627vuvjgC","10UuIfCs","1504428ECfRDj","869YtJmll","4498146GeprAG","pluginName","requires","82299hFIpkD","isPremiumPlugin","5ogniqs","ImportWord","215844DeNqDS","198CbdzgN"];return(W=function(){return t})()}function y(t,r){var e=W();return(y=function(t,r){return e[t-=415]})(t,r)}!function(t){for(var r=y,e=t();;)try{if(651488===-parseInt(r(426))/1+-parseInt(r(429))/2+parseInt(r(422))/3*(parseInt(r(424))/4)+-parseInt(r(419))/5*(-parseInt(r(431))/6)+parseInt(r(417))/7*(-parseInt(r(423))/8)+-parseInt(r(427))/9*(-parseInt(r(428))/10)+parseInt(r(430))/11*(parseInt(r(421))/12))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(W);class k extends t.Plugin{static get[b(415)](){return b(420)}static get[b(425)](){return!0}static get[b(418)](){return!0}static get[b(416)](){return[w,a]}}function x(){var t=["2477525ysoUgz","3635456MbQRBo","1223316PfjmHh","140BMhtKH","9LJocgY","5514nFLXDv","105396TshIpQ","390aYVfcU","8652620CiaEIv","35391rQVLyl"];return(x=function(){return t})()}function P(t,r){var e=x();return(P=function(t,r){return e[t-=422]})(t,r)}!function(t){for(var r=P,e=t();;)try{if(362203===-parseInt(r(424))/1+parseInt(r(422))/2*(parseInt(r(430))/3)+parseInt(r(427))/4+parseInt(r(425))/5+parseInt(r(431))/6*(-parseInt(r(428))/7)+parseInt(r(426))/8+-parseInt(r(429))/9*(parseInt(r(423))/10))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(x)})(),(window.CKEditor5=window.CKEditor5||{}).importWord=n})();
|
package/dist/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as
|
|
23
|
+
import{Plugin as _0x2d37f6,Command as _0x34917e}from'@ckeditor/ckeditor5-core/dist/index.js';import{FileDialogButtonView as _0xab7398,MenuBarMenuListItemFileDialogButtonView as _0x2e7acd,SpinnerView as _0x2902bc,Notification as _0x8350f2}from'@ckeditor/ckeditor5-ui/dist/index.js';import{ClipboardPipeline as _0x527d49}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{Range as _0x5905d2}from'@ckeditor/ckeditor5-engine/dist/index.js';import{first as _0x3e0690,uid as _0x51ade1,logWarning as _0x58c69f,logError as _0x350ba4}from'@ckeditor/ckeditor5-utils/dist/index.js';function p(_0x2f6bb0,_0x2648f2){const t=_0x2f6bb0['t'];switch(_0x2648f2){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 _0x2648f2;}}class i extends _0x2d37f6{static get['pluginName'](){return'ImportWordUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x440251=this['editor'];_0x440251['ui']['componentFactory']['add']('importWord',()=>{const _0x33e83d=this['_createButton'](_0xab7398),_0x50ce0f=_0x440251['commands']['get']('importWord');return _0x33e83d['bind']('isOn')['to'](_0x50ce0f,'isBusy'),_0x33e83d['tooltip']=!0x0,_0x33e83d;}),_0x440251['ui']['componentFactory']['add']('menuBar:importWord',()=>this['_createButton'](_0x2e7acd));}['_createButton'](_0x9700c3){const _0x23b011=this['editor'],_0x39e82c=_0x23b011['commands']['get']('importWord'),_0xba2beb=new _0x9700c3(_0x23b011['locale']),_0x98ac17=new _0x2902bc();return _0xba2beb['set']({'acceptedType':'application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.openxmlformats-officedocument.wordprocessingml.template'}),_0xba2beb['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'}),_0xba2beb['bind']('isEnabled')['to'](_0x39e82c),_0xba2beb['bind']('label')['to'](_0x39e82c,'isBusy',_0x150c39=>p(_0x23b011['locale'],_0x150c39?'Importing\x20Word\x20document':'Import\x20from\x20Word')),_0x98ac17['bind']('isVisible')['to'](_0x39e82c,'isBusy'),_0xba2beb['iconView']['bind']('isVisible')['to'](_0x39e82c,'isBusy',_0x17579f=>!_0x17579f),_0xba2beb['children']['add'](_0x98ac17),_0xba2beb['on']('done',(_0x17daac,_0x151353)=>{_0x23b011['execute']('importWord',_0x151353[0x0],{}),_0x23b011['editing']['view']['focus']();}),_0xba2beb;}}class d extends _0x34917e{['_importMarker'];['_undoStepBatch'];['_abortController'];constructor(_0x35803c){super(_0x35803c),this['set']('isBusy',!0x1),this['_importMarker']=null,this['_undoStepBatch']=null,this['_abortController']=null,this['on']('dataInsert',(_0x12d829,_0x3586a4)=>{const _0xb4b032=new DataTransfer();_0xb4b032['setData']('text/html',_0x3586a4['html']);const _0x36462b=this['_importMarker']['getRange']();this['editor']['model']['enqueueChange'](this['_undoStepBatch'],_0xee8b9f=>{this['_importMarker']['stopListening'](),_0xee8b9f['setSelection'](_0x36462b),_0x35803c['editing']['view']['document']['fire']('clipboardInput',{'dataTransfer':_0xb4b032});});},{'priority':'low'});}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x553676,_0x52d83b={}){if(this['isBusy'])return Promise['resolve']();const _0x4eb754=this['editor']['config']['get']('importWord');if(this['editor']['plugins']['has']('MergeFields')){const {prefix:_0x1db46c,suffix:_0x26f93b}=this['editor']['config']['get']('mergeFields');_0x52d83b['merge_fields']={'prefix':_0x1db46c,'suffix':_0x26f93b};}const _0x20aa21={'url':_0x4eb754['converterUrl'],'file':_0x553676,'serviceConfig':{..._0x52d83b,'formatting':_0x4eb754['formatting'],'timezone':new Intl['DateTimeFormat']()['resolvedOptions']()['timeZone']}};return this['_prepareForImport'](),this['_sendImportRequest'](_0x20aa21)['then'](this['_handleImportResponse']['bind'](this))['catch'](this['_handleImportFailure']['bind'](this))['finally'](this['_cleanUpAfterImport']['bind'](this));}['_checkEnabled'](){if(this['isBusy'])return!0x1;const _0x21647e=this['editor']['model'],_0x45c146=_0x21647e['schema'],_0x2e8c7b=_0x21647e['document']['selection'],_0x41e756=_0x3e0690(_0x2e8c7b['getSelectedBlocks']());return!!_0x41e756&&_0x45c146['checkChild'](_0x41e756['parent'],'paragraph');}['_prepareForImport'](){const _0x18e5ce=this['editor'],_0xf89d09=_0x18e5ce['model'],_0x27f512=_0xf89d09['document']['selection'];this['_abortController']=new AbortController(),this['_undoStepBatch']=_0x18e5ce['model']['createBatch']({'isUndoable':!0x0}),_0xf89d09['enqueueChange'](this['_undoStepBatch'],_0x212c7e=>{_0x27f512['isCollapsed']||_0xf89d09['deleteContent'](_0x27f512,{'leaveUnmerged':!0x0});const _0x5009a4=_0x27f512['getFirstPosition'](),_0x30f37b=_0x3e0690(_0x27f512['getSelectedBlocks']());let _0xe5d4f;_0xe5d4f=_0x30f37b['is']('element','paragraph')&&_0x30f37b['isEmpty']?_0x5009a4:_0x5009a4['isAtStart']?_0xf89d09['createPositionBefore'](_0x30f37b):_0x5009a4['isAtEnd']?_0xf89d09['createPositionAfter'](_0x30f37b):_0x212c7e['split'](_0x5009a4)['position'],this['_importMarker']=_0x212c7e['addMarker']('importWord:'+_0x51ade1(),{'usingOperation':!0x1,'affectsData':!0x1,'range':new _0x5905d2(_0xe5d4f)}),this['_importMarker']['on']('change:range',()=>{'$graveyard'===this['_importMarker']['getRange']()['root']['rootName']&&this['_abortController']['abort']();});}),this['isBusy']=!0x0,this['refresh']();}['_cleanUpAfterImport'](){const _0xca2621=this['editor']['model'];_0xca2621['markers']['has'](this['_importMarker'])&&_0xca2621['enqueueChange'](this['_undoStepBatch'],_0x46440e=>{_0x46440e['removeMarker'](this['_importMarker']);}),this['_importMarker']=null,this['_undoStepBatch']=null,this['_abortController']=null,this['isBusy']=!0x1,this['refresh']();}['_sendImportRequest']({url:_0x42a94c,file:_0x396f26,serviceConfig:_0xbf302c}){const _0x4dc9c1=this['editor']['plugins']['get']('ImportWordEditing')['getToken'](),_0x5010f1=new FormData();_0x5010f1['set']('config',JSON['stringify'](_0xbf302c)),_0x5010f1['set']('file',_0x396f26);const _0x456410={'method':'POST','headers':{},'body':_0x5010f1,'signal':this['_abortController']['signal']};return _0x4dc9c1&&(_0x456410['headers']['Authorization']=_0x4dc9c1['value']),fetch(_0x42a94c,_0x456410);}['_handleImportResponse'](_0x371cfa){return _0x371cfa['ok']?_0x371cfa['json']()['then'](_0x4142da=>{if(!this['editor']['model']['markers']['has'](this['_importMarker']))return;'$graveyard'!==this['_importMarker']['getRange']()['root']['rootName']&&this['fire']('dataInsert',_0x4142da);}):Promise['reject']();}['_handleImportFailure'](){if(this['_abortController']['signal']['aborted'])return void _0x58c69f('import-word-plugin-import-cancelled');const _0x4934ee=this['editor'],_0x376bd7=p(_0x4934ee['locale'],'An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.');_0x4934ee['plugins']['get']('Notification')['showWarning'](_0x376bd7),_0x350ba4('import-word-plugin-conversion-failed');}}class e extends _0x2d37f6{['_token'];static get['pluginName'](){return'ImportWordEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x8350f2,_0x527d49,'CloudServices'];}constructor(_0x37601a){super(_0x37601a),this['_token']=null;}async['init'](){const _0x284561=this['editor'];_0x284561['config']['define']('importWord',{'converterUrl':'https://docx-converter.cke-cs.com/v2/convert/docx-html','tokenUrl':(_0x284561['config']['get']('cloudServices')||{})['tokenUrl'],'formatting':{'resets':'none','defaults':'none','styles':'inline'}}),_0x284561['commands']['add']('importWord',new d(_0x284561));const {tokenUrl:_0x1ca4ed}=_0x284561['config']['get']('importWord');if(_0x1ca4ed){const {tokenUrl:_0x322665}=_0x284561['config']['get']('cloudServices')||{};this['_token']=_0x1ca4ed===_0x322665?_0x284561['plugins']['get']('CloudServices')['token']:await _0x284561['plugins']['get']('CloudServices')['registerTokenUrl'](_0x1ca4ed);}}['getToken'](){return this['_token'];}}class o extends _0x2d37f6{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':_0xbf8b59=>0x1!=_0xbf8b59}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x189f87=>{const {af:{dictionary:_0x501b8d,getPluralForm:_0x1f196d}}={'af':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x40b1f2=>0x1!=_0x40b1f2}};_0x189f87['af']||={'dictionary':{},'getPluralForm':null},_0x189f87['af']['dictionary']=Object['assign'](_0x189f87['af']['dictionary'],_0x501b8d),_0x189f87['af']['getPluralForm']=_0x1f196d;})(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':_0x26df03=>0x0==_0x26df03?0x0:0x1==_0x26df03?0x1:0x2==_0x26df03?0x2:_0x26df03%0x64>=0x3&&_0x26df03%0x64<=0xa?0x3:_0x26df03%0x64>=0xb?0x4:0x5}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x5b6ee1=>{const {ar:{dictionary:_0x3377d7,getPluralForm:_0x1cde37}}={'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':_0x1feb1d=>0x0==_0x1feb1d?0x0:0x1==_0x1feb1d?0x1:0x2==_0x1feb1d?0x2:_0x1feb1d%0x64>=0x3&&_0x1feb1d%0x64<=0xa?0x3:_0x1feb1d%0x64>=0xb?0x4:0x5}};_0x5b6ee1['ar']||={'dictionary':{},'getPluralForm':null},_0x5b6ee1['ar']['dictionary']=Object['assign'](_0x5b6ee1['ar']['dictionary'],_0x3377d7),_0x5b6ee1['ar']['getPluralForm']=_0x1cde37;})(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':_0x3b145b=>0x1!=_0x3b145b}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x34cb4b=>{const {ast:{dictionary:_0x128129,getPluralForm:_0x157d1e}}={'ast':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x4470bd=>0x1!=_0x4470bd}};_0x34cb4b['ast']||={'dictionary':{},'getPluralForm':null},_0x34cb4b['ast']['dictionary']=Object['assign'](_0x34cb4b['ast']['dictionary'],_0x128129),_0x34cb4b['ast']['getPluralForm']=_0x157d1e;})(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':_0x409e97=>0x1!=_0x409e97}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x4d8d6f=>{const {az:{dictionary:_0x427dfd,getPluralForm:_0x1e9996}}={'az':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x3877f9=>0x1!=_0x3877f9}};_0x4d8d6f['az']||={'dictionary':{},'getPluralForm':null},_0x4d8d6f['az']['dictionary']=Object['assign'](_0x4d8d6f['az']['dictionary'],_0x427dfd),_0x4d8d6f['az']['getPluralForm']=_0x1e9996;})(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':_0x5cb8ac=>0x1!=_0x5cb8ac}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x45e66e=>{const {bg:{dictionary:_0x3a0177,getPluralForm:_0x50f1db}}={'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':_0x5a43eb=>0x1!=_0x5a43eb}};_0x45e66e['bg']||={'dictionary':{},'getPluralForm':null},_0x45e66e['bg']['dictionary']=Object['assign'](_0x45e66e['bg']['dictionary'],_0x3a0177),_0x45e66e['bg']['getPluralForm']=_0x50f1db;})(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':_0x10c857=>0x1!=_0x10c857}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x338653=>{const {bn:{dictionary:_0x78070d,getPluralForm:_0x11944a}}={'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':_0x6e2d05=>0x1!=_0x6e2d05}};_0x338653['bn']||={'dictionary':{},'getPluralForm':null},_0x338653['bn']['dictionary']=Object['assign'](_0x338653['bn']['dictionary'],_0x78070d),_0x338653['bn']['getPluralForm']=_0x11944a;})(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':_0x1fccbc=>_0x1fccbc%0xa==0x1&&_0x1fccbc%0x64!=0xb?0x0:_0x1fccbc%0xa>=0x2&&_0x1fccbc%0xa<=0x4&&(_0x1fccbc%0x64<0xa||_0x1fccbc%0x64>=0x14)?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x2ca4cb=>{const {bs:{dictionary:_0x4246d4,getPluralForm:_0x178b57}}={'bs':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x5a2861=>_0x5a2861%0xa==0x1&&_0x5a2861%0x64!=0xb?0x0:_0x5a2861%0xa>=0x2&&_0x5a2861%0xa<=0x4&&(_0x5a2861%0x64<0xa||_0x5a2861%0x64>=0x14)?0x1:0x2}};_0x2ca4cb['bs']||={'dictionary':{},'getPluralForm':null},_0x2ca4cb['bs']['dictionary']=Object['assign'](_0x2ca4cb['bs']['dictionary'],_0x4246d4),_0x2ca4cb['bs']['getPluralForm']=_0x178b57;})(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':_0x3c190f=>0x1!=_0x3c190f}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x3f1f27=>{const {ca:{dictionary:_0x81ca40,getPluralForm:_0xe0a572}}={'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':_0x5bda0b=>0x1!=_0x5bda0b}};_0x3f1f27['ca']||={'dictionary':{},'getPluralForm':null},_0x3f1f27['ca']['dictionary']=Object['assign'](_0x3f1f27['ca']['dictionary'],_0x81ca40),_0x3f1f27['ca']['getPluralForm']=_0xe0a572;})(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':_0x248210=>0x1==_0x248210?0x0:_0x248210>=0x2&&_0x248210<=0x4?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x4d4da5=>{const {cs:{dictionary:_0x57be0f,getPluralForm:_0x5839d0}}={'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':_0x47d42c=>0x1==_0x47d42c?0x0:_0x47d42c>=0x2&&_0x47d42c<=0x4?0x1:0x2}};_0x4d4da5['cs']||={'dictionary':{},'getPluralForm':null},_0x4d4da5['cs']['dictionary']=Object['assign'](_0x4d4da5['cs']['dictionary'],_0x57be0f),_0x4d4da5['cs']['getPluralForm']=_0x5839d0;})(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':_0xea17c=>0x1!=_0xea17c}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x17c7b2=>{const {da:{dictionary:_0x9bdddf,getPluralForm:_0x58c215}}={'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':_0x5279db=>0x1!=_0x5279db}};_0x17c7b2['da']||={'dictionary':{},'getPluralForm':null},_0x17c7b2['da']['dictionary']=Object['assign'](_0x17c7b2['da']['dictionary'],_0x9bdddf),_0x17c7b2['da']['getPluralForm']=_0x58c215;})(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':_0x309c32=>0x1!=_0x309c32}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x584bdd=>{const {'de-ch':{dictionary:_0x5b5a8c,getPluralForm:_0x1ae199}}={'de-ch':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x123a1f=>0x1!=_0x123a1f}};_0x584bdd['de-ch']||={'dictionary':{},'getPluralForm':null},_0x584bdd['de-ch']['dictionary']=Object['assign'](_0x584bdd['de-ch']['dictionary'],_0x5b5a8c),_0x584bdd['de-ch']['getPluralForm']=_0x1ae199;})(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':_0x13bfae=>0x1!=_0x13bfae}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x15ae99=>{const {de:{dictionary:_0xbf5d92,getPluralForm:_0xc3cd3d}}={'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':_0x20e5ff=>0x1!=_0x20e5ff}};_0x15ae99['de']||={'dictionary':{},'getPluralForm':null},_0x15ae99['de']['dictionary']=Object['assign'](_0x15ae99['de']['dictionary'],_0xbf5d92),_0x15ae99['de']['getPluralForm']=_0xc3cd3d;})(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':_0x140c06=>0x1!=_0x140c06}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x53ccb4=>{const {el:{dictionary:_0x14d89e,getPluralForm:_0x244d29}}={'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':_0x3c6ef6=>0x1!=_0x3c6ef6}};_0x53ccb4['el']||={'dictionary':{},'getPluralForm':null},_0x53ccb4['el']['dictionary']=Object['assign'](_0x53ccb4['el']['dictionary'],_0x14d89e),_0x53ccb4['el']['getPluralForm']=_0x244d29;})(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':_0x540c55=>0x1!=_0x540c55}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x5bd660=>{const {'en-au':{dictionary:_0x259e12,getPluralForm:_0x43e60e}}={'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':_0x434143=>0x1!=_0x434143}};_0x5bd660['en-au']||={'dictionary':{},'getPluralForm':null},_0x5bd660['en-au']['dictionary']=Object['assign'](_0x5bd660['en-au']['dictionary'],_0x259e12),_0x5bd660['en-au']['getPluralForm']=_0x43e60e;})(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':_0x457cb0=>0x1!=_0x457cb0}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x5365a7=>{const {'en-gb':{dictionary:_0x1885e6,getPluralForm:_0x11c303}}={'en-gb':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x56702a=>0x1!=_0x56702a}};_0x5365a7['en-gb']||={'dictionary':{},'getPluralForm':null},_0x5365a7['en-gb']['dictionary']=Object['assign'](_0x5365a7['en-gb']['dictionary'],_0x1885e6),_0x5365a7['en-gb']['getPluralForm']=_0x11c303;})(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':_0x43535f=>0x1!=_0x43535f}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x3ae873=>{const {en:{dictionary:_0x5b62e3,getPluralForm:_0x4aaaa6}}={'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':_0x20cf30=>0x1!=_0x20cf30}};_0x3ae873['en']||={'dictionary':{},'getPluralForm':null},_0x3ae873['en']['dictionary']=Object['assign'](_0x3ae873['en']['dictionary'],_0x5b62e3),_0x3ae873['en']['getPluralForm']=_0x4aaaa6;})(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':_0x27c376=>0x1!=_0x27c376}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x57fded=>{const {eo:{dictionary:_0x2367b2,getPluralForm:_0x549057}}={'eo':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x5a221c=>0x1!=_0x5a221c}};_0x57fded['eo']||={'dictionary':{},'getPluralForm':null},_0x57fded['eo']['dictionary']=Object['assign'](_0x57fded['eo']['dictionary'],_0x2367b2),_0x57fded['eo']['getPluralForm']=_0x549057;})(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':_0x3dd316=>0x1!=_0x3dd316}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x1c95ca=>{const {'es-co':{dictionary:_0x432c9a,getPluralForm:_0xce409f}}={'es-co':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x581675=>0x1!=_0x581675}};_0x1c95ca['es-co']||={'dictionary':{},'getPluralForm':null},_0x1c95ca['es-co']['dictionary']=Object['assign'](_0x1c95ca['es-co']['dictionary'],_0x432c9a),_0x1c95ca['es-co']['getPluralForm']=_0xce409f;})(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':_0xfde52f=>0x1!=_0xfde52f}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x108c2e=>{const {es:{dictionary:_0x28a63c,getPluralForm:_0x160bbe}}={'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':_0x58abcb=>0x1!=_0x58abcb}};_0x108c2e['es']||={'dictionary':{},'getPluralForm':null},_0x108c2e['es']['dictionary']=Object['assign'](_0x108c2e['es']['dictionary'],_0x28a63c),_0x108c2e['es']['getPluralForm']=_0x160bbe;})(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':_0x2c4aaa=>0x1!=_0x2c4aaa}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x49a11e=>{const {et:{dictionary:_0x27f1b1,getPluralForm:_0x5caf92}}={'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':_0x50bea5=>0x1!=_0x50bea5}};_0x49a11e['et']||={'dictionary':{},'getPluralForm':null},_0x49a11e['et']['dictionary']=Object['assign'](_0x49a11e['et']['dictionary'],_0x27f1b1),_0x49a11e['et']['getPluralForm']=_0x5caf92;})(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':_0xf31767=>0x1!=_0xf31767}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x3e68ba=>{const {eu:{dictionary:_0x2fa752,getPluralForm:_0x34e707}}={'eu':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x5d2da3=>0x1!=_0x5d2da3}};_0x3e68ba['eu']||={'dictionary':{},'getPluralForm':null},_0x3e68ba['eu']['dictionary']=Object['assign'](_0x3e68ba['eu']['dictionary'],_0x2fa752),_0x3e68ba['eu']['getPluralForm']=_0x34e707;})(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':_0x2732ec=>0x0}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x12eb38=>{const {fa:{dictionary:_0xb171b6,getPluralForm:_0x329f04}}={'fa':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x2eb693=>0x0}};_0x12eb38['fa']||={'dictionary':{},'getPluralForm':null},_0x12eb38['fa']['dictionary']=Object['assign'](_0x12eb38['fa']['dictionary'],_0xb171b6),_0x12eb38['fa']['getPluralForm']=_0x329f04;})(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':_0x7b8df0=>0x1!=_0x7b8df0}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x48d4d0=>{const {fi:{dictionary:_0x5a8169,getPluralForm:_0x212f46}}={'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':_0x311f6c=>0x1!=_0x311f6c}};_0x48d4d0['fi']||={'dictionary':{},'getPluralForm':null},_0x48d4d0['fi']['dictionary']=Object['assign'](_0x48d4d0['fi']['dictionary'],_0x5a8169),_0x48d4d0['fi']['getPluralForm']=_0x212f46;})(window['CKEDITOR_TRANSLATIONS']||={});
|