@ckeditor/ckeditor5-import-word 0.0.0-nightly-20250106.0 → 0.0.0-nightly-20250108.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/import-word.js +2 -2
- package/dist/index.js +1 -1
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +7 -7
- package/src/importword.js +1 -1
- package/src/importwordcommand.js +1 -1
- package/src/importwordediting.js +1 -1
- package/src/importwordui.js +1 -1
- package/src/index.js +1 -1
- package/src/utils/common-translations.js +1 -1
package/build/import-word.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
!function(t){const
|
|
1
|
+
!function(t){const r=t.en=t.en||{};r.dictionary=Object.assign(r.dictionary||{},{"An error occurred while importing the Word file.":"An error occurred while importing the Word file.","Import from Word":"Import from Word","Importing Word document":"Importing Word document"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})),
|
|
2
2
|
/*!
|
|
3
3
|
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
4
4
|
* For licensing, see LICENSE.md.
|
|
5
|
-
*/(()=>{var t={331:(t,e,r)=>{t.exports=r(237)("./src/clipboard.js")},782:(t,e,r)=>{t.exports=r(237)("./src/core.js")},783:(t,e,r)=>{t.exports=r(237)("./src/engine.js")},311:(t,e,r)=>{t.exports=r(237)("./src/ui.js")},584:(t,e,r)=>{t.exports=r(237)("./src/utils.js")},237:t=>{"use strict";t.exports=CKEditor5.dll}},e={};function r(n){var i=e[n];if(void 0!==i)return i.exports;var o=e[n]={exports:{}};return t[n](o,o.exports,r),o.exports}r.d=(t,e)=>{for(var n in e)r.o(e,n)&&!r.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var n={};(()=>{"use strict";r.r(n),r.d(n,{ImportWord:()=>x,ImportWordEditing:()=>w,ImportWordUI:()=>s});var t=r(782),e=r(311);function i(t,e){const r=t.t;switch(e){case"Import from Word":return r("Import from Word");case"An error occurred while importing the Word file.":return r("An error occurred while importing the Word file.");case"Importing Word document":return r("Importing Word document");default:return e}}const o=a;!function(t){const e=a,r=t();for(;;)try{if(951415===parseInt(e(302))/1*(-parseInt(e(310))/2)+-parseInt(e(299))/3+parseInt(e(295))/4*(-parseInt(e(281))/5)+-parseInt(e(287))/6*(parseInt(e(293))/7)+parseInt(e(303))/8+parseInt(e(285))/9*(-parseInt(e(292))/10)+parseInt(e(309))/11)break;r.push(r.shift())}catch(t){r.push(r.shift())}}(c);class s extends t.Plugin{static get[o(289)](){return o(313)}static get[o(316)](){return!0}static get[o(288)](){return!0}[o(274)](){const t=o,r=this[t(314)];r.ui[t(300)][t(311)](t(315),(()=>{const n=t,i=this[n(278)](e.FileDialogButtonView),o=r[n(312)][n(304)](n(315));return i[n(298)](n(290)).to(o,n(307)),i[n(283)]=!0,i})),r.ui[t(300)][t(311)](t(296),(()=>this[t(278)](e.MenuBarMenuListItemFileDialogButtonView)))}[o(278)](t){const r=o,n=this[r(314)],s=n[r(312)][r(304)](r(315)),a=new t(n[r(277)]),c=new e.SpinnerView;return a[r(282)]({acceptedType:r(275)}),a[r(282)]({icon:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="m14 0 5 4.5v8.892l-1.5-1.8V6.5h-5v-5h-8v3H3V0h11Zm0 2v3h3.3L14 2Z"/><path d="M10.74 18a2.76 2.76 0 0 1-.469-.5H3V19h9.25v-.374A2.737 2.737 0 0 1 10.74 18Z"/><path d="M8.5 6a1.5 1.5 0 0 1 1.493 1.356L10 7.5v7a1.5 1.5 0 0 1-1.356 1.493L8.5 16h-7a1.5 1.5 0 0 1-1.493-1.356L0 14.5v-7a1.5 1.5 0 0 1 1.356-1.493L1.5 6h7ZM7.483 8.795l-.042.088-.986 2.534-.947-2.528-.043-.092a.601.601 0 0 0-1.042.008l-.042.093-.883 2.465-.937-2.475-.042-.089a.6.6 0 0 0-1.107.42l.027.093 1.514 4 .044.092a.6.6 0 0 0 1.041-.01l.041-.092.88-2.458.925 2.467.046.096a.602.602 0 0 0 1.032 0l.043-.09 1.554-4 .028-.093a.6.6 0 0 0-1.104-.43v.001ZM11.674 15.407a.75.75 0 1 0 1.152.96L14 14.96V20h1.5v-5.04l1.174 1.408a.75.75 0 1 0 1.152-.96l-2.346-2.816a.95.95 0 0 0-1.46 0l-2.346 2.815Z"/></svg>\n'}),a[r(298)](r(294)).to(s),a[r(298)](r(301)).to(s,r(307),(t=>i(n[r(277)],r(t?291:308)))),c[r(298)](r(279)).to(s,r(307)),a[r(306)][r(298)](r(279)).to(s,r(307),(t=>!t)),a[r(276)][r(311)](c),a.on(r(284),((t,e)=>{const i=r;n[i(286)](i(315),e[0],{}),n[i(305)][i(280)][i(297)]()})),a}}function a(t,e){const r=c();return(a=function(t,e){return r[t-=274]})(t,e)}function c(){const t=["editor","importWord","isOfficialPlugin","init","application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.openxmlformats-officedocument.wordprocessingml.template","children","locale","_createButton","isVisible","view","2391790UokbEc","set","tooltip","done","428427SZABJF","execute","18bdFaxQ","isPremiumPlugin","pluginName","isOn","Importing Word document","190BiFIyI","1508017KMBNFY","isEnabled","8ysIbxC","menuBar:importWord","focus","bind","290742vHfnce","componentFactory","label","1365609PaGvmN","10218800SeOLTR","get","editing","iconView","isBusy","Import from Word","40084594myWSyN","2khVjdD","add","commands","ImportWordUI"];return(c=function(){return t})()}var u=r(331),p=r(783),l=r(584);const d=f;function h(){const t=["setSelection","mergeFields","addMarker","dataInsert","finally","isCollapsed","schema","Notification","ImportWordEditing","removeMarker","enqueueChange","Authorization","stringify","rootName","POST","then","html","8vVqMDA","stopListening","isAtEnd","18054YmUCcu","getToken","_importMarker","signal","plugins","isEnabled","_handleImportFailure","_checkEnabled","text/html","showWarning","timeZone","1850cICFYm","DateTimeFormat","markers","createBatch","import-word-plugin-conversion-failed","isAtStart","5rjcAJC","checkChild","split","formatting","get","resolvedOptions","4426122plKTOe","set","_abortController","createPositionBefore","element","getSelectedBlocks","deleteContent","position","bind","4957183QbDJrQ","_sendImportRequest","21452JYOdPW","selection","abort","converterUrl","editing","catch","model","low","aborted","locale","paragraph","json","$graveyard","isEmpty","value","_handleImportResponse","createPositionAfter","refresh","_undoStepBatch","merge_fields","getRange","file","An error occurred while importing the Word file.","MergeFields","fire","isBusy","config","setData","getFirstPosition","resolve","clipboardInput","_prepareForImport","635678ybcLnr","551616bNSkNr","importWord","_cleanUpAfterImport","document","import-word-plugin-import-cancelled","change:range","execute","headers","has","importWord:","editor","parent","view","886560DqJuAN","root","reject"];return(h=function(){return t})()}function f(t,e){const r=h();return(f=function(t,e){return r[t-=422]})(t,e)}!function(t){const e=f,r=t();for(;;)try{if(499821===parseInt(e(491))/1+parseInt(e(505))/2+-parseInt(e(492))/3+parseInt(e(459))/4+-parseInt(e(442))/5*(parseInt(e(448))/6)+parseInt(e(457))/7*(parseInt(e(422))/8)+-parseInt(e(425))/9*(parseInt(e(436))/10))break;r.push(r.shift())}catch(t){r.push(r.shift())}}(h);class m extends t.Command{constructor(t){const e=f;super(t),this[e(449)](e(484),!1),this[e(427)]=null,this[e(477)]=null,this[e(450)]=null,this.on(e(511),((r,n)=>{const i=e,o=new DataTransfer;o[i(486)](i(433),n[i(524)]);const s=this[i(427)][i(479)]();this[i(502)][i(465)][i(518)](this[i(477)],(e=>{const r=i;this[r(427)][r(423)](),e[r(508)](s),t[r(463)][r(504)][r(495)][r(483)](r(489),{dataTransfer:o})}))}),{priority:e(466)})}[d(476)](){const t=d;this[t(430)]=this[t(432)]()}[d(498)](t,e={}){const r=d;if(this[r(484)])return Promise[r(488)]();const n=this[r(502)][r(485)][r(446)](r(493));if(this[r(502)][r(429)][r(500)](r(482))){const{prefix:t,suffix:n}=this[r(502)][r(485)][r(446)](r(509));e[r(478)]={prefix:t,suffix:n}}const i={url:n[r(462)],file:t,serviceConfig:{...e,formatting:n[r(445)],timezone:(new(Intl[r(437)]))[r(447)]()[r(435)]}};return this[r(490)](),this[r(458)](i)[r(523)](this[r(474)][r(456)](this))[r(464)](this[r(431)][r(456)](this))[r(512)](this[r(494)][r(456)](this))}[d(432)](){const t=d;if(this[t(484)])return!1;const e=this[t(502)][t(465)],r=e[t(514)],n=e[t(495)][t(460)],i=(0,l.first)(n[t(453)]());return!!i&&r[t(443)](i[t(503)],t(469))}[d(490)](){const t=d,e=this[t(502)],r=e[t(465)],n=r[t(495)][t(460)];this[t(450)]=new AbortController,this[t(477)]=e[t(465)][t(439)]({isUndoable:!0}),r[t(518)](this[t(477)],(e=>{const i=t;n[i(513)]||r[i(454)](n,{leaveUnmerged:!0});const o=n[i(487)](),s=(0,l.first)(n[i(453)]());let a;a=s.is(i(452),i(469))&&s[i(472)]?o:o[i(441)]?r[i(451)](s):o[i(424)]?r[i(475)](s):e[i(444)](o)[i(455)],this[i(427)]=e[i(510)](i(501)+(0,l.uid)(),{usingOperation:!1,affectsData:!1,range:new p.Range(a)}),this[i(427)].on(i(497),(()=>{const t=i;t(471)===this[t(427)][t(479)]()[t(506)][t(521)]&&this[t(450)][t(461)]()}))})),this[t(484)]=!0,this[t(476)]()}[d(494)](){const t=d,e=this[t(502)][t(465)];e[t(438)][t(500)](this[t(427)])&&e[t(518)](this[t(477)],(e=>{const r=t;e[r(517)](this[r(427)])})),this[t(427)]=null,this[t(477)]=null,this[t(450)]=null,this[t(484)]=!1,this[t(476)]()}[d(458)]({url:t,file:e,serviceConfig:r}){const n=d,i=this[n(502)][n(429)][n(446)](n(516))[n(426)](),o=new FormData;o[n(449)](n(485),JSON[n(520)](r)),o[n(449)](n(480),e);const s={method:n(522),headers:{},body:o,signal:this[n(450)][n(428)]};return i&&(s[n(499)][n(519)]=i[n(473)]),fetch(t,s)}[d(474)](t){const e=d;return t.ok?t[e(470)]()[e(523)]((t=>{const r=e;this[r(502)][r(465)][r(438)][r(500)](this[r(427)])&&r(471)!==this[r(427)][r(479)]()[r(506)][r(521)]&&this[r(483)](r(511),t)})):Promise[e(507)]()}[d(431)](){const t=d;if(this[t(450)][t(428)][t(467)])return void(0,l.logWarning)(t(496));const e=this[t(502)],r=i(e[t(468)],t(481));e[t(429)][t(446)](t(515))[t(434)](r),(0,l.logError)(t(440))}}function g(t,e){const r=v();return(g=function(t,e){return r[t-=169]})(t,e)}const I=g;function v(){const t=["importWord","421821BYLpfd","editor","1132338UsQbAe","11YkrkvJ","420366fZfNiu","isPremiumPlugin","plugins","tokenUrl","pluginName","config","1iDjyeB","242010XFkRvO","_token","add","inline","2346995TiLimu","getToken","token","registerTokenUrl","requires","CloudServices","14yVqmEa","ImportWordEditing","10935590Ydbsxw","1152888dHgfou","https://docx-converter.cke-cs.com/v2/convert/docx-html","none","define","get","4dxJIWY","cloudServices","init","isOfficialPlugin","commands"];return(v=function(){return t})()}!function(t){const e=g,r=t();for(;;)try{if(235119===-parseInt(e(187))/1*(-parseInt(e(181))/2)+parseInt(e(188))/3+-parseInt(e(171))/4*(-parseInt(e(192))/5)+-parseInt(e(179))/6*(-parseInt(e(198))/7)+parseInt(e(201))/8+parseInt(e(177))/9+parseInt(e(200))/10*(-parseInt(e(180))/11))break;r.push(r.shift())}catch(t){r.push(r.shift())}}(v);class w extends t.Plugin{static get[I(185)](){return I(199)}static get[I(174)](){return!0}static get[I(182)](){return!0}static get[I(196)](){const t=I;return[e.Notification,u.ClipboardPipeline,t(197)]}constructor(t){const e=I;super(t),this[e(189)]=null}async[I(173)](){const t=I,e=this[t(178)];e[t(186)][t(169)](t(176),{converterUrl:t(202),tokenUrl:(e[t(186)][t(170)](t(172))||{})[t(184)],formatting:{resets:t(203),defaults:t(203),styles:t(191)}}),e[t(175)][t(190)](t(176),new m(e));const{tokenUrl:r}=e[t(186)][t(170)](t(176));if(r){const{tokenUrl:n}=e[t(186)][t(170)](t(172))||{};this[t(189)]=r===n?e[t(183)][t(170)](t(197))[t(194)]:await e[t(183)][t(170)](t(197))[t(195)](r)}}[I(193)](){return this[I(189)]}}var b=W;function W(t,e){var r=y();return(W=function(t,e){return r[t-=359]})(t,e)}!function(t){for(var e=W,r=t();;)try{if(184378===parseInt(e(360))/1+parseInt(e(375))/2*(-parseInt(e(371))/3)+-parseInt(e(364))/4*(parseInt(e(370))/5)+parseInt(e(368))/6*(-parseInt(e(365))/7)+parseInt(e(362))/8*(-parseInt(e(363))/9)+parseInt(e(367))/10*(-parseInt(e(374))/11)+parseInt(e(361))/12)break;r.push(r.shift())}catch(t){r.push(r.shift())}}(y);class x extends t.Plugin{static get[b(359)](){return b(369)}static get[b(373)](){return!0}static get[b(372)](){return!0}static get[b(366)](){return[w,s]}}function y(){var t=["594zIRTdE","ImportWord","55SgShsf","315174SLumlu","isPremiumPlugin","isOfficialPlugin","11SWfgeY","2OxGRnR","pluginName","211531NtQPBG","8272668Rgkpnt","24nkisiV","388683IEqXUH","31604tYFcXc","19831ROWYXk","requires","1145450CnQoaS"];return(y=function(){return t})()}function k(t,e){var r=P();return(k=function(t,e){return r[t-=366]})(t,e)}function P(){var t=["11YfGgtz","8179AqVHxz","3946794FiBvSi","447643BbxtDj","232ggAqVO","23230XFNRjn","14605659DjVHnP","57297630RpWWwt","836cFAYxO","9614220jepVKX","12BqIPiz"];return(P=function(){return t})()}!function(t){for(var e=k,r=t();;)try{if(945531===-parseInt(e(369))/1*(parseInt(e(367))/2)+parseInt(e(370))/3+parseInt(e(376))/4*(-parseInt(e(373))/5)+-parseInt(e(366))/6+parseInt(e(371))/7*(-parseInt(e(372))/8)+-parseInt(e(374))/9+parseInt(e(375))/10*(parseInt(e(368))/11))break;r.push(r.shift())}catch(t){r.push(r.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 o=r[n]={exports:{}};return t[n](o,o.exports,e),o.exports}e.d=(t,r)=>{for(var n in r)e.o(r,n)&&!e.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:r[n]})},e.o=(t,r)=>Object.prototype.hasOwnProperty.call(t,r),e.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var n={};(()=>{"use strict";e.r(n),e.d(n,{ImportWord:()=>k,ImportWordEditing:()=>w,ImportWordUI:()=>c});var t=e(782),r=e(311);function i(t,r){const e=t.t;switch(r){case"Import from Word":return e("Import from Word");case"An error occurred while importing the Word file.":return e("An error occurred while importing the Word file.");case"Importing Word document":return e("Importing Word document");default:return r}}const o=s;function s(t,r){const e=a();return(s=function(t,r){return e[t-=236]})(t,r)}function a(){const t=["set","commands","2232535mAtrNh","focus","3070MpWZvV","Importing Word document","editor","_createButton","done","30177HUkLkb","importWord","locale","isPremiumPlugin","Import from Word","3285084QeDxcb","4104338qcOWld","3bgpVGi","menuBar:importWord","isEnabled","label","children","pluginName","isVisible","view","add","3093376qKJIoK","editing","application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.openxmlformats-officedocument.wordprocessingml.template","isOfficialPlugin","1575514jPGPcU","iconView","init","isOn","get","componentFactory","tooltip","isBusy","ImportWordUI","6kpDyvH","bind","222161HThTnb","execute"];return(a=function(){return t})()}!function(t){const r=s,e=t();for(;;)try{if(593879===-parseInt(r(253))/1+-parseInt(r(242))/2*(parseInt(r(271))/3)+parseInt(r(269))/4+-parseInt(r(257))/5*(parseInt(r(251))/6)+parseInt(r(270))/7+-parseInt(r(238))/8+-parseInt(r(264))/9*(-parseInt(r(259))/10))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(a);class c extends t.Plugin{static get[o(276)](){return o(250)}static get[o(241)](){return!0}static get[o(267)](){return!0}[o(244)](){const t=o,e=this[t(261)];e.ui[t(247)][t(237)](t(265),(()=>{const n=t,i=this[n(262)](r.FileDialogButtonView),o=e[n(256)][n(246)](n(265));return i[n(252)](n(245)).to(o,n(249)),i[n(248)]=!0,i})),e.ui[t(247)][t(237)](t(272),(()=>this[t(262)](r.MenuBarMenuListItemFileDialogButtonView)))}[o(262)](t){const e=o,n=this[e(261)],s=n[e(256)][e(246)](e(265)),a=new t(n[e(266)]),c=new r.SpinnerView;return a[e(255)]({acceptedType:e(240)}),a[e(255)]({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(252)](e(273)).to(s),a[e(252)](e(274)).to(s,e(249),(t=>i(n[e(266)],e(t?260:268)))),c[e(252)](e(277)).to(s,e(249)),a[e(243)][e(252)](e(277)).to(s,e(249),(t=>!t)),a[e(275)][e(237)](c),a.on(e(263),((t,r)=>{const i=e;n[i(254)](i(265),r[0],{}),n[i(239)][i(236)][i(258)]()})),a}}var u=e(331),p=e(783),l=e(584);function h(t,r){const e=f();return(h=function(t,r){return e[t-=160]})(t,r)}const d=h;function f(){const t=["import-word-plugin-import-cancelled","An error occurred while importing the Word file.","_handleImportFailure","221080WmptSP","merge_fields","plugins","value","isBusy","POST","setData","headers","stringify","10tyyDyC","element","signal","171SZiylD","getFirstPosition","locale","paragraph","237096EIRbLy","Notification","refresh","ImportWordEditing","timeZone","stopListening","aborted","_undoStepBatch","isAtEnd","bind","_sendImportRequest","mergeFields","_handleImportResponse","abort","get","text/html","_checkEnabled","position","formatting","DateTimeFormat","_prepareForImport","clipboardInput","isEmpty","reject","editor","resolvedOptions","Authorization","1285140gAAPNE","parent","getSelectedBlocks","execute","rootName","MergeFields","getToken","setSelection","deleteContent","1632928KhEmqs","1335522GxtDnk","showWarning","schema","fire","then","selection","isEnabled","_abortController","isCollapsed","resolve","finally","has","config","35124uznokn","set","root","editing","markers","file","dataInsert","document","html","low","json","getRange","isAtStart","removeMarker","enqueueChange","createBatch","addMarker","createPositionBefore","view","937118cqaGvi","_cleanUpAfterImport","createPositionAfter","change:range","split","_importMarker","catch","checkChild","importWord:","importWord","$graveyard","converterUrl","import-word-plugin-conversion-failed","model"];return(f=function(){return t})()}!function(t){const r=h,e=t();for(;;)try{if(458828===-parseInt(r(229))/1+parseInt(r(256))/2+-parseInt(r(177))/3+-parseInt(r(163))/4*(parseInt(r(222))/5)+parseInt(r(164))/6+parseInt(r(196))/7+parseInt(r(213))/8*(parseInt(r(225))/9))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(178)](r(217),!1),this[r(201)]=null,this[r(236)]=null,this[r(171)]=null,this.on(r(183),((e,n)=>{const i=r,o=new DataTransfer;o[i(219)](i(244),n[i(185)]);const s=this[i(201)][i(188)]();this[i(253)][i(209)][i(191)](this[i(236)],(r=>{const e=i;this[e(201)][e(234)](),r[e(161)](s),t[e(180)][e(195)][e(184)][e(167)](e(250),{dataTransfer:o})}))}),{priority:r(186)})}[d(231)](){const t=d;this[t(170)]=this[t(245)]()}[d(259)](t,r={}){const e=d;if(this[e(217)])return Promise[e(173)]();const n=this[e(253)][e(176)][e(243)](e(205));if(this[e(253)][e(215)][e(175)](e(261))){const{prefix:t,suffix:n}=this[e(253)][e(176)][e(243)](e(240));r[e(214)]={prefix:t,suffix:n}}const i={url:n[e(207)],file:t,serviceConfig:{...r,formatting:n[e(247)],timezone:(new(Intl[e(248)]))[e(254)]()[e(233)]}};return this[e(249)](),this[e(239)](i)[e(168)](this[e(241)][e(238)](this))[e(202)](this[e(212)][e(238)](this))[e(174)](this[e(197)][e(238)](this))}[d(245)](){const t=d;if(this[t(217)])return!1;const r=this[t(253)][t(209)],e=r[t(166)],n=r[t(184)][t(169)],i=(0,l.first)(n[t(258)]());return!!i&&e[t(203)](i[t(257)],t(228))}[d(249)](){const t=d,r=this[t(253)],e=r[t(209)],n=e[t(184)][t(169)];this[t(171)]=new AbortController,this[t(236)]=r[t(209)][t(192)]({isUndoable:!0}),e[t(191)](this[t(236)],(r=>{const i=t;n[i(172)]||e[i(162)](n,{leaveUnmerged:!0});const o=n[i(226)](),s=(0,l.first)(n[i(258)]());let a;a=s.is(i(223),i(228))&&s[i(251)]?o:o[i(189)]?e[i(194)](s):o[i(237)]?e[i(198)](s):r[i(200)](o)[i(246)],this[i(201)]=r[i(193)](i(204)+(0,l.uid)(),{usingOperation:!1,affectsData:!1,range:new p.Range(a)}),this[i(201)].on(i(199),(()=>{const t=i;t(206)===this[t(201)][t(188)]()[t(179)][t(260)]&&this[t(171)][t(242)]()}))})),this[t(217)]=!0,this[t(231)]()}[d(197)](){const t=d,r=this[t(253)][t(209)];r[t(181)][t(175)](this[t(201)])&&r[t(191)](this[t(236)],(r=>{const e=t;r[e(190)](this[e(201)])})),this[t(201)]=null,this[t(236)]=null,this[t(171)]=null,this[t(217)]=!1,this[t(231)]()}[d(239)]({url:t,file:r,serviceConfig:e}){const n=d,i=this[n(253)][n(215)][n(243)](n(232))[n(160)](),o=new FormData;o[n(178)](n(176),JSON[n(221)](e)),o[n(178)](n(182),r);const s={method:n(218),headers:{},body:o,signal:this[n(171)][n(224)]};return i&&(s[n(220)][n(255)]=i[n(216)]),fetch(t,s)}[d(241)](t){const r=d;return t.ok?t[r(187)]()[r(168)]((t=>{const e=r;this[e(253)][e(209)][e(181)][e(175)](this[e(201)])&&e(206)!==this[e(201)][e(188)]()[e(179)][e(260)]&&this[e(167)](e(183),t)})):Promise[r(252)]()}[d(212)](){const t=d;if(this[t(171)][t(224)][t(235)])return void(0,l.logWarning)(t(210));const r=this[t(253)],e=i(r[t(227)],t(211));r[t(215)][t(243)](t(230))[t(165)](e),(0,l.logError)(t(208))}}const g=v;function I(){const t=["24078rrDTkX","importWord","config","95566hQahID","none","114784kDLRYz","registerTokenUrl","ImportWordEditing","tokenUrl","isPremiumPlugin","3102420mlZnOy","CloudServices","https://docx-converter.cke-cs.com/v2/convert/docx-html","token","3348807TVvVQp","5YKfRKA","pluginName","init","isOfficialPlugin","add","231uRgQpU","requires","172obQesH","editor","1482816ONzELa","get","getToken","inline","cloudServices","define","plugins","3DPXCqt","153qtfrJV","82570WDKmoW","_token","commands"];return(I=function(){return t})()}function v(t,r){const e=I();return(v=function(t,r){return e[t-=185]})(t,r)}!function(t){const r=v,e=t();for(;;)try{if(241846===-parseInt(r(193))/1*(parseInt(r(201))/2)+parseInt(r(198))/3*(parseInt(r(220))/4)+-parseInt(r(213))/5*(parseInt(r(186))/6)+-parseInt(r(218))/7*(-parseInt(r(203))/8)+-parseInt(r(194))/9*(parseInt(r(195))/10)+-parseInt(r(212))/11+parseInt(r(208))/12)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(I);class w extends t.Plugin{static get[g(214)](){return g(205)}static get[g(216)](){return!0}static get[g(207)](){return!0}static get[g(219)](){const t=g;return[r.Notification,u.ClipboardPipeline,t(209)]}constructor(t){const r=g;super(t),this[r(196)]=null}async[g(215)](){const t=g,r=this[t(185)];r[t(200)][t(191)](t(199),{converterUrl:t(210),tokenUrl:(r[t(200)][t(187)](t(190))||{})[t(206)],formatting:{resets:t(202),defaults:t(202),styles:t(189)}}),r[t(197)][t(217)](t(199),new m(r));const{tokenUrl:e}=r[t(200)][t(187)](t(199));if(e){const{tokenUrl:n}=r[t(200)][t(187)](t(190))||{};this[t(196)]=e===n?r[t(192)][t(187)](t(209))[t(211)]:await r[t(192)][t(187)](t(209))[t(204)](e)}}[g(188)](){return this[g(196)]}}function b(){var t=["requires","22DQAeIr","1643716ybKDhv","isOfficialPlugin","ImportWord","1678605QeYmah","33054GFKbgl","5390OMeLQG","643542nWduFj","3226152WqYSoY","isPremiumPlugin","25657HdUppc","26748QiKZCK","pluginName","371GoljTn"];return(b=function(){return t})()}var W=y;function y(t,r){var e=b();return(y=function(t,r){return e[t-=224]})(t,r)}!function(t){for(var r=y,e=t();;)try{if(247225===parseInt(r(230))/1*(-parseInt(r(235))/2)+-parseInt(r(227))/3+-parseInt(r(236))/4+-parseInt(r(224))/5+-parseInt(r(225))/6*(-parseInt(r(233))/7)+-parseInt(r(228))/8+-parseInt(r(231))/9*(-parseInt(r(226))/10))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(b);class k extends t.Plugin{static get[W(232)](){return W(238)}static get[W(237)](){return!0}static get[W(229)](){return!0}static get[W(234)](){return[w,c]}}function x(t,r){var e=P();return(x=function(t,r){return e[t-=389]})(t,r)}function P(){var t=["6fsiVRC","86397FcHRMD","2DFZELR","2068408aLJaTs","7526055nVTgnv","4088181CjOrFu","11682489kWxioV","21429963CskrIQ","7346936oQGzTk"];return(P=function(){return t})()}!function(t){for(var r=x,e=t();;)try{if(952170===parseInt(r(396))/1+-parseInt(r(397))/2*(parseInt(r(391))/3)+parseInt(r(389))/4+parseInt(r(390))/5+parseInt(r(395))/6*(parseInt(r(392))/7)+parseInt(r(394))/8+-parseInt(r(393))/9)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 _0x3a7b92,Command as _0x37b83a}from'@ckeditor/ckeditor5-core/dist/index.js';import{FileDialogButtonView as _0x25511a,MenuBarMenuListItemFileDialogButtonView as _0x250f5e,SpinnerView as _0x5e3ad5,Notification as _0x21f8e4}from'@ckeditor/ckeditor5-ui/dist/index.js';import{ClipboardPipeline as _0x2b9619}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{Range as _0x5303bb}from'@ckeditor/ckeditor5-engine/dist/index.js';import{first as _0x56b9a4,uid as _0x4da40f,logWarning as _0x13d99b,logError as _0x5070f0}from'@ckeditor/ckeditor5-utils/dist/index.js';function p(_0x42091b,_0x106b7a){const t=_0x42091b['t'];switch(_0x106b7a){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 _0x106b7a;}}class i extends _0x3a7b92{static get['pluginName'](){return'ImportWordUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x5dd560=this['editor'];_0x5dd560['ui']['componentFactory']['add']('importWord',()=>{const _0x31266e=this['_createButton'](_0x25511a),_0x46e259=_0x5dd560['commands']['get']('importWord');return _0x31266e['bind']('isOn')['to'](_0x46e259,'isBusy'),_0x31266e['tooltip']=!0x0,_0x31266e;}),_0x5dd560['ui']['componentFactory']['add']('menuBar:importWord',()=>this['_createButton'](_0x250f5e));}['_createButton'](_0x4c957a){const _0x5f1bf5=this['editor'],_0x1dc2f2=_0x5f1bf5['commands']['get']('importWord'),_0x30c28d=new _0x4c957a(_0x5f1bf5['locale']),_0x24a3e7=new _0x5e3ad5();return _0x30c28d['set']({'acceptedType':'application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.openxmlformats-officedocument.wordprocessingml.template'}),_0x30c28d['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'}),_0x30c28d['bind']('isEnabled')['to'](_0x1dc2f2),_0x30c28d['bind']('label')['to'](_0x1dc2f2,'isBusy',_0x6134a=>p(_0x5f1bf5['locale'],_0x6134a?'Importing\x20Word\x20document':'Import\x20from\x20Word')),_0x24a3e7['bind']('isVisible')['to'](_0x1dc2f2,'isBusy'),_0x30c28d['iconView']['bind']('isVisible')['to'](_0x1dc2f2,'isBusy',_0x19dd23=>!_0x19dd23),_0x30c28d['children']['add'](_0x24a3e7),_0x30c28d['on']('done',(_0x2899f7,_0x168e45)=>{_0x5f1bf5['execute']('importWord',_0x168e45[0x0],{}),_0x5f1bf5['editing']['view']['focus']();}),_0x30c28d;}}class d extends _0x37b83a{['_importMarker'];['_undoStepBatch'];['_abortController'];constructor(_0x2c5d87){super(_0x2c5d87),this['set']('isBusy',!0x1),this['_importMarker']=null,this['_undoStepBatch']=null,this['_abortController']=null,this['on']('dataInsert',(_0x196910,_0x1df742)=>{const _0x115b45=new DataTransfer();_0x115b45['setData']('text/html',_0x1df742['html']);const _0x16b663=this['_importMarker']['getRange']();this['editor']['model']['enqueueChange'](this['_undoStepBatch'],_0xf9af4a=>{this['_importMarker']['stopListening'](),_0xf9af4a['setSelection'](_0x16b663),_0x2c5d87['editing']['view']['document']['fire']('clipboardInput',{'dataTransfer':_0x115b45});});},{'priority':'low'});}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x35ef61,_0x571b5a={}){if(this['isBusy'])return Promise['resolve']();const _0x3a4816=this['editor']['config']['get']('importWord');if(this['editor']['plugins']['has']('MergeFields')){const {prefix:_0x2151cd,suffix:_0x102da2}=this['editor']['config']['get']('mergeFields');_0x571b5a['merge_fields']={'prefix':_0x2151cd,'suffix':_0x102da2};}const _0x4189d3={'url':_0x3a4816['converterUrl'],'file':_0x35ef61,'serviceConfig':{..._0x571b5a,'formatting':_0x3a4816['formatting'],'timezone':new Intl['DateTimeFormat']()['resolvedOptions']()['timeZone']}};return this['_prepareForImport'](),this['_sendImportRequest'](_0x4189d3)['then'](this['_handleImportResponse']['bind'](this))['catch'](this['_handleImportFailure']['bind'](this))['finally'](this['_cleanUpAfterImport']['bind'](this));}['_checkEnabled'](){if(this['isBusy'])return!0x1;const _0x5811f5=this['editor']['model'],_0x121def=_0x5811f5['schema'],_0x43418f=_0x5811f5['document']['selection'],_0x1782a4=_0x56b9a4(_0x43418f['getSelectedBlocks']());return!!_0x1782a4&&_0x121def['checkChild'](_0x1782a4['parent'],'paragraph');}['_prepareForImport'](){const _0x2e73b8=this['editor'],_0x5972fa=_0x2e73b8['model'],_0x12a091=_0x5972fa['document']['selection'];this['_abortController']=new AbortController(),this['_undoStepBatch']=_0x2e73b8['model']['createBatch']({'isUndoable':!0x0}),_0x5972fa['enqueueChange'](this['_undoStepBatch'],_0x47903a=>{_0x12a091['isCollapsed']||_0x5972fa['deleteContent'](_0x12a091,{'leaveUnmerged':!0x0});const _0xd33186=_0x12a091['getFirstPosition'](),_0x245cbd=_0x56b9a4(_0x12a091['getSelectedBlocks']());let _0x4222fc;_0x4222fc=_0x245cbd['is']('element','paragraph')&&_0x245cbd['isEmpty']?_0xd33186:_0xd33186['isAtStart']?_0x5972fa['createPositionBefore'](_0x245cbd):_0xd33186['isAtEnd']?_0x5972fa['createPositionAfter'](_0x245cbd):_0x47903a['split'](_0xd33186)['position'],this['_importMarker']=_0x47903a['addMarker']('importWord:'+_0x4da40f(),{'usingOperation':!0x1,'affectsData':!0x1,'range':new _0x5303bb(_0x4222fc)}),this['_importMarker']['on']('change:range',()=>{'$graveyard'===this['_importMarker']['getRange']()['root']['rootName']&&this['_abortController']['abort']();});}),this['isBusy']=!0x0,this['refresh']();}['_cleanUpAfterImport'](){const _0x2d1d84=this['editor']['model'];_0x2d1d84['markers']['has'](this['_importMarker'])&&_0x2d1d84['enqueueChange'](this['_undoStepBatch'],_0x49a5fd=>{_0x49a5fd['removeMarker'](this['_importMarker']);}),this['_importMarker']=null,this['_undoStepBatch']=null,this['_abortController']=null,this['isBusy']=!0x1,this['refresh']();}['_sendImportRequest']({url:_0x5da256,file:_0x526ac6,serviceConfig:_0x1f4cab}){const _0x4578b0=this['editor']['plugins']['get']('ImportWordEditing')['getToken'](),_0x2675fa=new FormData();_0x2675fa['set']('config',JSON['stringify'](_0x1f4cab)),_0x2675fa['set']('file',_0x526ac6);const _0x1d42a4={'method':'POST','headers':{},'body':_0x2675fa,'signal':this['_abortController']['signal']};return _0x4578b0&&(_0x1d42a4['headers']['Authorization']=_0x4578b0['value']),fetch(_0x5da256,_0x1d42a4);}['_handleImportResponse'](_0x3aafab){return _0x3aafab['ok']?_0x3aafab['json']()['then'](_0x2c1a8a=>{if(!this['editor']['model']['markers']['has'](this['_importMarker']))return;'$graveyard'!==this['_importMarker']['getRange']()['root']['rootName']&&this['fire']('dataInsert',_0x2c1a8a);}):Promise['reject']();}['_handleImportFailure'](){if(this['_abortController']['signal']['aborted'])return void _0x13d99b('import-word-plugin-import-cancelled');const _0x414e60=this['editor'],_0x36da1e=p(_0x414e60['locale'],'An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.');_0x414e60['plugins']['get']('Notification')['showWarning'](_0x36da1e),_0x5070f0('import-word-plugin-conversion-failed');}}class e extends _0x3a7b92{['_token'];static get['pluginName'](){return'ImportWordEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x21f8e4,_0x2b9619,'CloudServices'];}constructor(_0x280bee){super(_0x280bee),this['_token']=null;}async['init'](){const _0x42bdf2=this['editor'];_0x42bdf2['config']['define']('importWord',{'converterUrl':'https://docx-converter.cke-cs.com/v2/convert/docx-html','tokenUrl':(_0x42bdf2['config']['get']('cloudServices')||{})['tokenUrl'],'formatting':{'resets':'none','defaults':'none','styles':'inline'}}),_0x42bdf2['commands']['add']('importWord',new d(_0x42bdf2));const {tokenUrl:_0x314ec4}=_0x42bdf2['config']['get']('importWord');if(_0x314ec4){const {tokenUrl:_0x3ce801}=_0x42bdf2['config']['get']('cloudServices')||{};this['_token']=_0x314ec4===_0x3ce801?_0x42bdf2['plugins']['get']('CloudServices')['token']:await _0x42bdf2['plugins']['get']('CloudServices')['registerTokenUrl'](_0x314ec4);}}['getToken'](){return this['_token'];}}class o extends _0x3a7b92{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':_0x4419bf=>0x1!=_0x4419bf}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x3feab8=>{const {af:{dictionary:_0x3e641b,getPluralForm:_0x1bc676}}={'af':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x20d864=>0x1!=_0x20d864}};_0x3feab8['af']||={'dictionary':{},'getPluralForm':null},_0x3feab8['af']['dictionary']=Object['assign'](_0x3feab8['af']['dictionary'],_0x3e641b),_0x3feab8['af']['getPluralForm']=_0x1bc676;})(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':_0x38da7f=>0x0==_0x38da7f?0x0:0x1==_0x38da7f?0x1:0x2==_0x38da7f?0x2:_0x38da7f%0x64>=0x3&&_0x38da7f%0x64<=0xa?0x3:_0x38da7f%0x64>=0xb?0x4:0x5}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x474086=>{const {ar:{dictionary:_0x2213bd,getPluralForm:_0x17c908}}={'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':_0x2e93b9=>0x0==_0x2e93b9?0x0:0x1==_0x2e93b9?0x1:0x2==_0x2e93b9?0x2:_0x2e93b9%0x64>=0x3&&_0x2e93b9%0x64<=0xa?0x3:_0x2e93b9%0x64>=0xb?0x4:0x5}};_0x474086['ar']||={'dictionary':{},'getPluralForm':null},_0x474086['ar']['dictionary']=Object['assign'](_0x474086['ar']['dictionary'],_0x2213bd),_0x474086['ar']['getPluralForm']=_0x17c908;})(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':_0x3432e0=>0x1!=_0x3432e0}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x4f880e=>{const {ast:{dictionary:_0x32198c,getPluralForm:_0x38d86a}}={'ast':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x46cc8c=>0x1!=_0x46cc8c}};_0x4f880e['ast']||={'dictionary':{},'getPluralForm':null},_0x4f880e['ast']['dictionary']=Object['assign'](_0x4f880e['ast']['dictionary'],_0x32198c),_0x4f880e['ast']['getPluralForm']=_0x38d86a;})(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':_0x1e1640=>0x1!=_0x1e1640}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x3a4650=>{const {az:{dictionary:_0x1e1a69,getPluralForm:_0x32e5c6}}={'az':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x514528=>0x1!=_0x514528}};_0x3a4650['az']||={'dictionary':{},'getPluralForm':null},_0x3a4650['az']['dictionary']=Object['assign'](_0x3a4650['az']['dictionary'],_0x1e1a69),_0x3a4650['az']['getPluralForm']=_0x32e5c6;})(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':_0x3a9ded=>0x1!=_0x3a9ded}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x54cc95=>{const {bg:{dictionary:_0x298b40,getPluralForm:_0x58a51f}}={'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':_0x6d1430=>0x1!=_0x6d1430}};_0x54cc95['bg']||={'dictionary':{},'getPluralForm':null},_0x54cc95['bg']['dictionary']=Object['assign'](_0x54cc95['bg']['dictionary'],_0x298b40),_0x54cc95['bg']['getPluralForm']=_0x58a51f;})(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':_0x3c7767=>0x1!=_0x3c7767}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x27f5d2=>{const {bn:{dictionary:_0x310edd,getPluralForm:_0x85ada8}}={'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':_0x438b2f=>0x1!=_0x438b2f}};_0x27f5d2['bn']||={'dictionary':{},'getPluralForm':null},_0x27f5d2['bn']['dictionary']=Object['assign'](_0x27f5d2['bn']['dictionary'],_0x310edd),_0x27f5d2['bn']['getPluralForm']=_0x85ada8;})(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':_0x3133e7=>_0x3133e7%0xa==0x1&&_0x3133e7%0x64!=0xb?0x0:_0x3133e7%0xa>=0x2&&_0x3133e7%0xa<=0x4&&(_0x3133e7%0x64<0xa||_0x3133e7%0x64>=0x14)?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x1e4521=>{const {bs:{dictionary:_0x283856,getPluralForm:_0x57ece2}}={'bs':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x5b4b90=>_0x5b4b90%0xa==0x1&&_0x5b4b90%0x64!=0xb?0x0:_0x5b4b90%0xa>=0x2&&_0x5b4b90%0xa<=0x4&&(_0x5b4b90%0x64<0xa||_0x5b4b90%0x64>=0x14)?0x1:0x2}};_0x1e4521['bs']||={'dictionary':{},'getPluralForm':null},_0x1e4521['bs']['dictionary']=Object['assign'](_0x1e4521['bs']['dictionary'],_0x283856),_0x1e4521['bs']['getPluralForm']=_0x57ece2;})(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':_0xebbc1f=>0x1!=_0xebbc1f}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x13fb1b=>{const {ca:{dictionary:_0x4415ee,getPluralForm:_0x843db4}}={'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':_0x13bc48=>0x1!=_0x13bc48}};_0x13fb1b['ca']||={'dictionary':{},'getPluralForm':null},_0x13fb1b['ca']['dictionary']=Object['assign'](_0x13fb1b['ca']['dictionary'],_0x4415ee),_0x13fb1b['ca']['getPluralForm']=_0x843db4;})(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':_0x3ce077=>0x1==_0x3ce077?0x0:_0x3ce077>=0x2&&_0x3ce077<=0x4?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x4091b7=>{const {cs:{dictionary:_0x566731,getPluralForm:_0x108884}}={'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':_0x56c223=>0x1==_0x56c223?0x0:_0x56c223>=0x2&&_0x56c223<=0x4?0x1:0x2}};_0x4091b7['cs']||={'dictionary':{},'getPluralForm':null},_0x4091b7['cs']['dictionary']=Object['assign'](_0x4091b7['cs']['dictionary'],_0x566731),_0x4091b7['cs']['getPluralForm']=_0x108884;})(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':_0xadef57=>0x1!=_0xadef57}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x252780=>{const {da:{dictionary:_0x325543,getPluralForm:_0x228507}}={'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':_0x4346d0=>0x1!=_0x4346d0}};_0x252780['da']||={'dictionary':{},'getPluralForm':null},_0x252780['da']['dictionary']=Object['assign'](_0x252780['da']['dictionary'],_0x325543),_0x252780['da']['getPluralForm']=_0x228507;})(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':_0x34d447=>0x1!=_0x34d447}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x2fbd52=>{const {'de-ch':{dictionary:_0x439fe8,getPluralForm:_0x4ce404}}={'de-ch':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x1db4ad=>0x1!=_0x1db4ad}};_0x2fbd52['de-ch']||={'dictionary':{},'getPluralForm':null},_0x2fbd52['de-ch']['dictionary']=Object['assign'](_0x2fbd52['de-ch']['dictionary'],_0x439fe8),_0x2fbd52['de-ch']['getPluralForm']=_0x4ce404;})(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':_0x4bb2ab=>0x1!=_0x4bb2ab}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x504649=>{const {de:{dictionary:_0x3bb011,getPluralForm:_0x44abe8}}={'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':_0x48dcc0=>0x1!=_0x48dcc0}};_0x504649['de']||={'dictionary':{},'getPluralForm':null},_0x504649['de']['dictionary']=Object['assign'](_0x504649['de']['dictionary'],_0x3bb011),_0x504649['de']['getPluralForm']=_0x44abe8;})(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':_0xa7e0f8=>0x1!=_0xa7e0f8}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x2a2616=>{const {el:{dictionary:_0x2f6940,getPluralForm:_0x5daaeb}}={'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':_0x1b4bc8=>0x1!=_0x1b4bc8}};_0x2a2616['el']||={'dictionary':{},'getPluralForm':null},_0x2a2616['el']['dictionary']=Object['assign'](_0x2a2616['el']['dictionary'],_0x2f6940),_0x2a2616['el']['getPluralForm']=_0x5daaeb;})(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':_0x128a5c=>0x1!=_0x128a5c}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x4cfdfd=>{const {'en-au':{dictionary:_0x5ac504,getPluralForm:_0x5d673a}}={'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':_0x1b47a2=>0x1!=_0x1b47a2}};_0x4cfdfd['en-au']||={'dictionary':{},'getPluralForm':null},_0x4cfdfd['en-au']['dictionary']=Object['assign'](_0x4cfdfd['en-au']['dictionary'],_0x5ac504),_0x4cfdfd['en-au']['getPluralForm']=_0x5d673a;})(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':_0x3580c0=>0x1!=_0x3580c0}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x1046d0=>{const {'en-gb':{dictionary:_0x43791d,getPluralForm:_0x153476}}={'en-gb':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x2db1c1=>0x1!=_0x2db1c1}};_0x1046d0['en-gb']||={'dictionary':{},'getPluralForm':null},_0x1046d0['en-gb']['dictionary']=Object['assign'](_0x1046d0['en-gb']['dictionary'],_0x43791d),_0x1046d0['en-gb']['getPluralForm']=_0x153476;})(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':_0x1e8c91=>0x1!=_0x1e8c91}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x5369ad=>{const {en:{dictionary:_0x16d0cf,getPluralForm:_0x597ef2}}={'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':_0x2ceb7c=>0x1!=_0x2ceb7c}};_0x5369ad['en']||={'dictionary':{},'getPluralForm':null},_0x5369ad['en']['dictionary']=Object['assign'](_0x5369ad['en']['dictionary'],_0x16d0cf),_0x5369ad['en']['getPluralForm']=_0x597ef2;})(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':_0x221ea4=>0x1!=_0x221ea4}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x458a94=>{const {eo:{dictionary:_0x1eb764,getPluralForm:_0x245b16}}={'eo':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x24e401=>0x1!=_0x24e401}};_0x458a94['eo']||={'dictionary':{},'getPluralForm':null},_0x458a94['eo']['dictionary']=Object['assign'](_0x458a94['eo']['dictionary'],_0x1eb764),_0x458a94['eo']['getPluralForm']=_0x245b16;})(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':_0x1ad0b3=>0x1!=_0x1ad0b3}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x2f6c95=>{const {'es-co':{dictionary:_0x4dc5b1,getPluralForm:_0x1a4eef}}={'es-co':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x4a7397=>0x1!=_0x4a7397}};_0x2f6c95['es-co']||={'dictionary':{},'getPluralForm':null},_0x2f6c95['es-co']['dictionary']=Object['assign'](_0x2f6c95['es-co']['dictionary'],_0x4dc5b1),_0x2f6c95['es-co']['getPluralForm']=_0x1a4eef;})(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':_0x316d11=>0x1!=_0x316d11}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0xe49ee7=>{const {es:{dictionary:_0x4870bb,getPluralForm:_0xe3648c}}={'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':_0x548ba7=>0x1!=_0x548ba7}};_0xe49ee7['es']||={'dictionary':{},'getPluralForm':null},_0xe49ee7['es']['dictionary']=Object['assign'](_0xe49ee7['es']['dictionary'],_0x4870bb),_0xe49ee7['es']['getPluralForm']=_0xe3648c;})(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':_0x329f60=>0x1!=_0x329f60}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x377922=>{const {et:{dictionary:_0x4ff41d,getPluralForm:_0x2e60f3}}={'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':_0x434230=>0x1!=_0x434230}};_0x377922['et']||={'dictionary':{},'getPluralForm':null},_0x377922['et']['dictionary']=Object['assign'](_0x377922['et']['dictionary'],_0x4ff41d),_0x377922['et']['getPluralForm']=_0x2e60f3;})(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':_0xd38ad3=>0x1!=_0xd38ad3}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x3e21b9=>{const {eu:{dictionary:_0x3b9a3e,getPluralForm:_0x15b104}}={'eu':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x1bf017=>0x1!=_0x1bf017}};_0x3e21b9['eu']||={'dictionary':{},'getPluralForm':null},_0x3e21b9['eu']['dictionary']=Object['assign'](_0x3e21b9['eu']['dictionary'],_0x3b9a3e),_0x3e21b9['eu']['getPluralForm']=_0x15b104;})(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':_0x2aba01=>0x0}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x3c0c05=>{const {fa:{dictionary:_0x35e965,getPluralForm:_0x561a26}}={'fa':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x2a5e4f=>0x0}};_0x3c0c05['fa']||={'dictionary':{},'getPluralForm':null},_0x3c0c05['fa']['dictionary']=Object['assign'](_0x3c0c05['fa']['dictionary'],_0x35e965),_0x3c0c05['fa']['getPluralForm']=_0x561a26;})(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':_0x3a52c4=>0x1!=_0x3a52c4}};
|