@ckeditor/ckeditor5-import-word 0.0.0-nightly-20250107.0 → 0.0.0-nightly-20250109.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/import-word.js +1 -1
- package/dist/index.js +1 -1
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +7 -7
- package/src/importword.js +1 -1
- package/src/importwordcommand.js +1 -1
- package/src/importwordediting.js +1 -1
- package/src/importwordui.js +1 -1
- package/src/index.js +1 -1
- package/src/utils/common-translations.js +1 -1
package/build/import-word.js
CHANGED
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
/*!
|
|
3
3
|
* @license Copyright (c) 2003-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,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:()=>k,ImportWordEditing:()=>w,ImportWordUI:()=>c});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}}function o(t,e){const r=a();return(o=function(t,e){return r[t-=331]})(t,e)}const s=o;function a(){const t=["commands","7574WwDBNh","169VjBKri","Import from Word","isEnabled","764916gsqPjc","4522540osPTdC","add","tooltip","menuBar:importWord","focus","set","editor","isVisible","application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.openxmlformats-officedocument.wordprocessingml.template","ImportWordUI","isOn","605fvxNgl","children","8ByGpbY","isOfficialPlugin","label","pluginName","get","_createButton","importWord","done","init","componentFactory","3536532FuxRDh","isBusy","4596647TRKkXP","locale","isPremiumPlugin","Importing Word document","30vuQHoz","5641062iyEcYB","iconView","8BTefsq","editing","bind","view","execute"];return(a=function(){return t})()}!function(t){const e=o,r=t();for(;;)try{if(919603===-parseInt(e(349))/1*(parseInt(e(348))/2)+parseInt(e(352))/3*(-parseInt(e(366))/4)+parseInt(e(364))/5*(parseInt(e(339))/6)+parseInt(e(340))/7*(parseInt(e(342))/8)+parseInt(e(333))/9+parseInt(e(353))/10+parseInt(e(335))/11)break;r.push(r.shift())}catch(t){r.push(r.shift())}}(a);class c extends t.Plugin{static get[s(369)](){return s(362)}static get[s(367)](){return!0}static get[s(337)](){return!0}[s(331)](){const t=s,r=this[t(359)];r.ui[t(332)][t(354)](t(372),(()=>{const n=t,i=this[n(371)](e.FileDialogButtonView),o=r[n(347)][n(370)](n(372));return i[n(344)](n(363)).to(o,n(334)),i[n(355)]=!0,i})),r.ui[t(332)][t(354)](t(356),(()=>this[t(371)](e.MenuBarMenuListItemFileDialogButtonView)))}[s(371)](t){const r=s,n=this[r(359)],o=n[r(347)][r(370)](r(372)),a=new t(n[r(336)]),c=new e.SpinnerView;return a[r(358)]({acceptedType:r(361)}),a[r(358)]({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(344)](r(351)).to(o),a[r(344)](r(368)).to(o,r(334),(t=>i(n[r(336)],r(t?338:350)))),c[r(344)](r(360)).to(o,r(334)),a[r(341)][r(344)](r(360)).to(o,r(334),(t=>!t)),a[r(365)][r(354)](c),a.on(r(373),((t,e)=>{const i=r;n[i(346)](i(372),e[0],{}),n[i(343)][i(345)][i(357)]()})),a}}var u=r(331),p=r(783),l=r(584);const d=h;function h(t,e){const r=f();return(h=function(t,e){return r[t-=175]})(t,e)}function f(){const t=["12457921AbiFTV","element","3116223jdbSJG","finally","position","formatting","enqueueChange","getToken","headers","refresh","setSelection","_importMarker","24jTAjKY","Authorization","6NdSMtB","mergeFields","stringify","text/html","change:range","aborted","An error occurred while importing the Word file.","_sendImportRequest","split","signal","get","1145419JQUmpe","timeZone","createPositionAfter","_checkEnabled","execute","fire","locale","getFirstPosition","file","5InFjYA","has","getSelectedBlocks","isAtEnd","html","createPositionBefore","then","2703pRdbMu","json","ImportWordEditing","low","model","abort","catch","dataInsert","isEnabled","MergeFields","schema","Notification","resolvedOptions","3172704wvmztW","19281660DvEMAG","value","121aVMUub","set","config","$graveyard","setData","checkChild","resolve","plugins","importWord","showWarning","editor","reject","_prepareForImport","selection","merge_fields","1385950rbucnw","clipboardInput","addMarker","_abortController","editing","_cleanUpAfterImport","import-word-plugin-conversion-failed","paragraph","createBatch","isAtStart","_undoStepBatch","isBusy","removeMarker","import-word-plugin-import-cancelled","POST","2JCCKOD","root","importWord:","_handleImportFailure","converterUrl","getRange","deleteContent","parent","stopListening","bind","document","rootName","_handleImportResponse","markers","DateTimeFormat","isEmpty","view","isCollapsed"];return(f=function(){return t})()}!function(t){const e=h,r=t();for(;;)try{if(961208===-parseInt(e(207))/1+-parseInt(e(269))/2*(parseInt(e(223))/3)+parseInt(e(236))/4*(-parseInt(e(216))/5)+parseInt(e(196))/6*(parseInt(e(182))/7)+parseInt(e(194))/8*(parseInt(e(184))/9)+parseInt(e(254))/10*(-parseInt(e(239))/11)+parseInt(e(237))/12)break;r.push(r.shift())}catch(t){r.push(r.shift())}}(f);class m extends t.Command{constructor(t){const e=h;super(t),this[e(240)](e(265),!1),this[e(193)]=null,this[e(264)]=null,this[e(257)]=null,this.on(e(230),((r,n)=>{const i=e,o=new DataTransfer;o[i(243)](i(199),n[i(220)]);const s=this[i(193)][i(274)]();this[i(249)][i(227)][i(188)](this[i(264)],(e=>{const r=i;this[r(193)][r(277)](),e[r(192)](s),t[r(258)][r(180)][r(279)][r(212)](r(255),{dataTransfer:o})}))}),{priority:e(226)})}[d(191)](){const t=d;this[t(231)]=this[t(210)]()}[d(211)](t,e={}){const r=d;if(this[r(265)])return Promise[r(245)]();const n=this[r(249)][r(241)][r(206)](r(247));if(this[r(249)][r(246)][r(217)](r(232))){const{prefix:t,suffix:n}=this[r(249)][r(241)][r(206)](r(197));e[r(253)]={prefix:t,suffix:n}}const i={url:n[r(273)],file:t,serviceConfig:{...e,formatting:n[r(187)],timezone:(new(Intl[r(178)]))[r(235)]()[r(208)]}};return this[r(251)](),this[r(203)](i)[r(222)](this[r(176)][r(278)](this))[r(229)](this[r(272)][r(278)](this))[r(185)](this[r(259)][r(278)](this))}[d(210)](){const t=d;if(this[t(265)])return!1;const e=this[t(249)][t(227)],r=e[t(233)],n=e[t(279)][t(252)],i=(0,l.first)(n[t(218)]());return!!i&&r[t(244)](i[t(276)],t(261))}[d(251)](){const t=d,e=this[t(249)],r=e[t(227)],n=r[t(279)][t(252)];this[t(257)]=new AbortController,this[t(264)]=e[t(227)][t(262)]({isUndoable:!0}),r[t(188)](this[t(264)],(e=>{const i=t;n[i(181)]||r[i(275)](n,{leaveUnmerged:!0});const o=n[i(214)](),s=(0,l.first)(n[i(218)]());let a;a=s.is(i(183),i(261))&&s[i(179)]?o:o[i(263)]?r[i(221)](s):o[i(219)]?r[i(209)](s):e[i(204)](o)[i(186)],this[i(193)]=e[i(256)](i(271)+(0,l.uid)(),{usingOperation:!1,affectsData:!1,range:new p.Range(a)}),this[i(193)].on(i(200),(()=>{const t=i;t(242)===this[t(193)][t(274)]()[t(270)][t(175)]&&this[t(257)][t(228)]()}))})),this[t(265)]=!0,this[t(191)]()}[d(259)](){const t=d,e=this[t(249)][t(227)];e[t(177)][t(217)](this[t(193)])&&e[t(188)](this[t(264)],(e=>{const r=t;e[r(266)](this[r(193)])})),this[t(193)]=null,this[t(264)]=null,this[t(257)]=null,this[t(265)]=!1,this[t(191)]()}[d(203)]({url:t,file:e,serviceConfig:r}){const n=d,i=this[n(249)][n(246)][n(206)](n(225))[n(189)](),o=new FormData;o[n(240)](n(241),JSON[n(198)](r)),o[n(240)](n(215),e);const s={method:n(268),headers:{},body:o,signal:this[n(257)][n(205)]};return i&&(s[n(190)][n(195)]=i[n(238)]),fetch(t,s)}[d(176)](t){const e=d;return t.ok?t[e(224)]()[e(222)]((t=>{const r=e;this[r(249)][r(227)][r(177)][r(217)](this[r(193)])&&r(242)!==this[r(193)][r(274)]()[r(270)][r(175)]&&this[r(212)](r(230),t)})):Promise[e(250)]()}[d(272)](){const t=d;if(this[t(257)][t(205)][t(201)])return void(0,l.logWarning)(t(267));const e=this[t(249)],r=i(e[t(213)],t(202));e[t(246)][t(206)](t(234))[t(248)](r),(0,l.logError)(t(260))}}const g=I;function I(t,e){const r=v();return(I=function(t,e){return r[t-=370]})(t,e)}function v(){const t=["config","pluginName","121498Tecqpd","666BqcfPx","ImportWordEditing","importWord","inline","define","20HlVJVU","_token","tokenUrl","74HdprFy","isPremiumPlugin","27voCQMq","commands","editor","1252tFaKGO","add","requires","get","1149456qhkaGm","569896dYLOjb","token","1807751QcbOGd","init","registerTokenUrl","cloudServices","https://docx-converter.cke-cs.com/v2/convert/docx-html","getToken","CloudServices","1325CmulTo","151207FlfksC","plugins","none","isOfficialPlugin"];return(v=function(){return t})()}!function(t){const e=I,r=t();for(;;)try{if(116559===-parseInt(e(380))/1+parseInt(e(389))/2*(-parseInt(e(381))/3)+parseInt(e(394))/4*(-parseInt(e(373))/5)+-parseInt(e(398))/6+-parseInt(e(374))/7+parseInt(e(399))/8*(parseInt(e(391))/9)+parseInt(e(386))/10*(parseInt(e(401))/11))break;r.push(r.shift())}catch(t){r.push(r.shift())}}(v);class w extends t.Plugin{static get[g(379)](){return g(382)}static get[g(377)](){return!0}static get[g(390)](){return!0}static get[g(396)](){const t=g;return[e.Notification,u.ClipboardPipeline,t(372)]}constructor(t){const e=g;super(t),this[e(387)]=null}async[g(402)](){const t=g,e=this[t(393)];e[t(378)][t(385)](t(383),{converterUrl:t(370),tokenUrl:(e[t(378)][t(397)](t(404))||{})[t(388)],formatting:{resets:t(376),defaults:t(376),styles:t(384)}}),e[t(392)][t(395)](t(383),new m(e));const{tokenUrl:r}=e[t(378)][t(397)](t(383));if(r){const{tokenUrl:n}=e[t(378)][t(397)](t(404))||{};this[t(387)]=r===n?e[t(375)][t(397)](t(372))[t(400)]:await e[t(375)][t(397)](t(372))[t(403)](r)}}[g(371)](){return this[g(387)]}}function b(t,e){var r=W();return(b=function(t,e){return r[t-=334]})(t,e)}var y=b;function W(){var t=["19335ebfkVN","50LYdZuH","1743256wtUDGx","38780CyvsLM","isOfficialPlugin","ImportWord","22420mNSTeE","requires","pluginName","1156420uotnTX","7DkmcWD","isPremiumPlugin","2076075SkKYqv","51ZaNutZ","264473NOuvPU","354jTcytr"];return(W=function(){return t})()}!function(t){for(var e=b,r=t();;)try{if(320189===-parseInt(e(349))/1+parseInt(e(336))/2*(parseInt(e(343))/3)+parseInt(e(339))/4+-parseInt(e(346))/5*(parseInt(e(345))/6)+-parseInt(e(340))/7*(-parseInt(e(348))/8)+-parseInt(e(342))/9+-parseInt(e(347))/10*(-parseInt(e(344))/11))break;r.push(r.shift())}catch(t){r.push(r.shift())}}(W);class k extends t.Plugin{static get[y(338)](){return y(335)}static get[y(334)](){return!0}static get[y(341)](){return!0}static get[y(337)](){return[w,c]}}function x(t,e){var r=P();return(x=function(t,e){return r[t-=130]})(t,e)}function P(){var t=["778990lQUXVu","12MeAWkR","853084ezwmEy","33552qCyrbO","419934ukPsqn","2046UNSXlm","728Swfvmq","847040fNsAZa","3595491yaAovZ"];return(P=function(){return t})()}!function(t){for(var e=x,r=t();;)try{if(219848===-parseInt(e(132))/1+parseInt(e(134))/2+-parseInt(e(131))/3+parseInt(e(138))/4+parseInt(e(136))/5*(-parseInt(e(137))/6)+parseInt(e(133))/7*(parseInt(e(130))/8)+-parseInt(e(135))/9)break;r.push(r.shift())}catch(t){r.push(r.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 _0x15e371,Command as _0x1242aa}from'@ckeditor/ckeditor5-core/dist/index.js';import{FileDialogButtonView as _0x3d7fb1,MenuBarMenuListItemFileDialogButtonView as _0x1cc8bc,SpinnerView as _0x4372b6,Notification as _0x16dc8b}from'@ckeditor/ckeditor5-ui/dist/index.js';import{ClipboardPipeline as _0x18860d}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{Range as _0x2f0fa8}from'@ckeditor/ckeditor5-engine/dist/index.js';import{first as _0x41791c,uid as _0x4e4790,logWarning as _0x422ec9,logError as _0x4d7765}from'@ckeditor/ckeditor5-utils/dist/index.js';function p(_0x3ac2a1,_0x133b01){const t=_0x3ac2a1['t'];switch(_0x133b01){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 _0x133b01;}}class i extends _0x15e371{static get['pluginName'](){return'ImportWordUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x4ac25f=this['editor'];_0x4ac25f['ui']['componentFactory']['add']('importWord',()=>{const _0x411c07=this['_createButton'](_0x3d7fb1),_0x16aa91=_0x4ac25f['commands']['get']('importWord');return _0x411c07['bind']('isOn')['to'](_0x16aa91,'isBusy'),_0x411c07['tooltip']=!0x0,_0x411c07;}),_0x4ac25f['ui']['componentFactory']['add']('menuBar:importWord',()=>this['_createButton'](_0x1cc8bc));}['_createButton'](_0x39f7ff){const _0x14a48a=this['editor'],_0x329ab9=_0x14a48a['commands']['get']('importWord'),_0x421c6c=new _0x39f7ff(_0x14a48a['locale']),_0x1867a1=new _0x4372b6();return _0x421c6c['set']({'acceptedType':'application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.openxmlformats-officedocument.wordprocessingml.template'}),_0x421c6c['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'}),_0x421c6c['bind']('isEnabled')['to'](_0x329ab9),_0x421c6c['bind']('label')['to'](_0x329ab9,'isBusy',_0x2c99c3=>p(_0x14a48a['locale'],_0x2c99c3?'Importing\x20Word\x20document':'Import\x20from\x20Word')),_0x1867a1['bind']('isVisible')['to'](_0x329ab9,'isBusy'),_0x421c6c['iconView']['bind']('isVisible')['to'](_0x329ab9,'isBusy',_0x20b5c1=>!_0x20b5c1),_0x421c6c['children']['add'](_0x1867a1),_0x421c6c['on']('done',(_0x4c1f13,_0x954350)=>{_0x14a48a['execute']('importWord',_0x954350[0x0],{}),_0x14a48a['editing']['view']['focus']();}),_0x421c6c;}}class d extends _0x1242aa{['_importMarker'];['_undoStepBatch'];['_abortController'];constructor(_0x319194){super(_0x319194),this['set']('isBusy',!0x1),this['_importMarker']=null,this['_undoStepBatch']=null,this['_abortController']=null,this['on']('dataInsert',(_0x273bb7,_0x17b1eb)=>{const _0x3cbb3d=new DataTransfer();_0x3cbb3d['setData']('text/html',_0x17b1eb['html']);const _0x2fa53a=this['_importMarker']['getRange']();this['editor']['model']['enqueueChange'](this['_undoStepBatch'],_0x3dd3fc=>{this['_importMarker']['stopListening'](),_0x3dd3fc['setSelection'](_0x2fa53a),_0x319194['editing']['view']['document']['fire']('clipboardInput',{'dataTransfer':_0x3cbb3d});});},{'priority':'low'});}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x5996c2,_0x59ee0c={}){if(this['isBusy'])return Promise['resolve']();const _0xe2e8a6=this['editor']['config']['get']('importWord');if(this['editor']['plugins']['has']('MergeFields')){const {prefix:_0x3490aa,suffix:_0x1d5c8c}=this['editor']['config']['get']('mergeFields');_0x59ee0c['merge_fields']={'prefix':_0x3490aa,'suffix':_0x1d5c8c};}const _0x4ff459={'url':_0xe2e8a6['converterUrl'],'file':_0x5996c2,'serviceConfig':{..._0x59ee0c,'formatting':_0xe2e8a6['formatting'],'timezone':new Intl['DateTimeFormat']()['resolvedOptions']()['timeZone']}};return this['_prepareForImport'](),this['_sendImportRequest'](_0x4ff459)['then'](this['_handleImportResponse']['bind'](this))['catch'](this['_handleImportFailure']['bind'](this))['finally'](this['_cleanUpAfterImport']['bind'](this));}['_checkEnabled'](){if(this['isBusy'])return!0x1;const _0x2da1b5=this['editor']['model'],_0x45be96=_0x2da1b5['schema'],_0x5c0cf5=_0x2da1b5['document']['selection'],_0x5749fc=_0x41791c(_0x5c0cf5['getSelectedBlocks']());return!!_0x5749fc&&_0x45be96['checkChild'](_0x5749fc['parent'],'paragraph');}['_prepareForImport'](){const _0x4e8a9f=this['editor'],_0x303a03=_0x4e8a9f['model'],_0x563b0d=_0x303a03['document']['selection'];this['_abortController']=new AbortController(),this['_undoStepBatch']=_0x4e8a9f['model']['createBatch']({'isUndoable':!0x0}),_0x303a03['enqueueChange'](this['_undoStepBatch'],_0x5e806b=>{_0x563b0d['isCollapsed']||_0x303a03['deleteContent'](_0x563b0d,{'leaveUnmerged':!0x0});const _0x18d527=_0x563b0d['getFirstPosition'](),_0x217e36=_0x41791c(_0x563b0d['getSelectedBlocks']());let _0x539ce3;_0x539ce3=_0x217e36['is']('element','paragraph')&&_0x217e36['isEmpty']?_0x18d527:_0x18d527['isAtStart']?_0x303a03['createPositionBefore'](_0x217e36):_0x18d527['isAtEnd']?_0x303a03['createPositionAfter'](_0x217e36):_0x5e806b['split'](_0x18d527)['position'],this['_importMarker']=_0x5e806b['addMarker']('importWord:'+_0x4e4790(),{'usingOperation':!0x1,'affectsData':!0x1,'range':new _0x2f0fa8(_0x539ce3)}),this['_importMarker']['on']('change:range',()=>{'$graveyard'===this['_importMarker']['getRange']()['root']['rootName']&&this['_abortController']['abort']();});}),this['isBusy']=!0x0,this['refresh']();}['_cleanUpAfterImport'](){const _0x3f8d08=this['editor']['model'];_0x3f8d08['markers']['has'](this['_importMarker'])&&_0x3f8d08['enqueueChange'](this['_undoStepBatch'],_0x548f04=>{_0x548f04['removeMarker'](this['_importMarker']);}),this['_importMarker']=null,this['_undoStepBatch']=null,this['_abortController']=null,this['isBusy']=!0x1,this['refresh']();}['_sendImportRequest']({url:_0x15aaaf,file:_0x1f807e,serviceConfig:_0x51700d}){const _0x463afa=this['editor']['plugins']['get']('ImportWordEditing')['getToken'](),_0x13ed67=new FormData();_0x13ed67['set']('config',JSON['stringify'](_0x51700d)),_0x13ed67['set']('file',_0x1f807e);const _0x4e408f={'method':'POST','headers':{},'body':_0x13ed67,'signal':this['_abortController']['signal']};return _0x463afa&&(_0x4e408f['headers']['Authorization']=_0x463afa['value']),fetch(_0x15aaaf,_0x4e408f);}['_handleImportResponse'](_0x33f1cb){return _0x33f1cb['ok']?_0x33f1cb['json']()['then'](_0x1053ed=>{if(!this['editor']['model']['markers']['has'](this['_importMarker']))return;'$graveyard'!==this['_importMarker']['getRange']()['root']['rootName']&&this['fire']('dataInsert',_0x1053ed);}):Promise['reject']();}['_handleImportFailure'](){if(this['_abortController']['signal']['aborted'])return void _0x422ec9('import-word-plugin-import-cancelled');const _0x1f0837=this['editor'],_0x582eec=p(_0x1f0837['locale'],'An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.');_0x1f0837['plugins']['get']('Notification')['showWarning'](_0x582eec),_0x4d7765('import-word-plugin-conversion-failed');}}class e extends _0x15e371{['_token'];static get['pluginName'](){return'ImportWordEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x16dc8b,_0x18860d,'CloudServices'];}constructor(_0x1e251f){super(_0x1e251f),this['_token']=null;}async['init'](){const _0x7d30df=this['editor'];_0x7d30df['config']['define']('importWord',{'converterUrl':'https://docx-converter.cke-cs.com/v2/convert/docx-html','tokenUrl':(_0x7d30df['config']['get']('cloudServices')||{})['tokenUrl'],'formatting':{'resets':'none','defaults':'none','styles':'inline'}}),_0x7d30df['commands']['add']('importWord',new d(_0x7d30df));const {tokenUrl:_0x58a765}=_0x7d30df['config']['get']('importWord');if(_0x58a765){const {tokenUrl:_0x5304de}=_0x7d30df['config']['get']('cloudServices')||{};this['_token']=_0x58a765===_0x5304de?_0x7d30df['plugins']['get']('CloudServices')['token']:await _0x7d30df['plugins']['get']('CloudServices')['registerTokenUrl'](_0x58a765);}}['getToken'](){return this['_token'];}}class o extends _0x15e371{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':_0x1a3c5b=>0x1!=_0x1a3c5b}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x107f65=>{const {af:{dictionary:_0x5b3ba8,getPluralForm:_0x5e7f03}}={'af':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x1facd9=>0x1!=_0x1facd9}};_0x107f65['af']||={'dictionary':{},'getPluralForm':null},_0x107f65['af']['dictionary']=Object['assign'](_0x107f65['af']['dictionary'],_0x5b3ba8),_0x107f65['af']['getPluralForm']=_0x5e7f03;})(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':_0x3ee48e=>0x0==_0x3ee48e?0x0:0x1==_0x3ee48e?0x1:0x2==_0x3ee48e?0x2:_0x3ee48e%0x64>=0x3&&_0x3ee48e%0x64<=0xa?0x3:_0x3ee48e%0x64>=0xb?0x4:0x5}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x57e6ba=>{const {ar:{dictionary:_0x4c4fe3,getPluralForm:_0x500a8b}}={'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':_0x333039=>0x0==_0x333039?0x0:0x1==_0x333039?0x1:0x2==_0x333039?0x2:_0x333039%0x64>=0x3&&_0x333039%0x64<=0xa?0x3:_0x333039%0x64>=0xb?0x4:0x5}};_0x57e6ba['ar']||={'dictionary':{},'getPluralForm':null},_0x57e6ba['ar']['dictionary']=Object['assign'](_0x57e6ba['ar']['dictionary'],_0x4c4fe3),_0x57e6ba['ar']['getPluralForm']=_0x500a8b;})(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':_0x1c9070=>0x1!=_0x1c9070}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x24d1f5=>{const {ast:{dictionary:_0x209f71,getPluralForm:_0x327105}}={'ast':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x4f01f4=>0x1!=_0x4f01f4}};_0x24d1f5['ast']||={'dictionary':{},'getPluralForm':null},_0x24d1f5['ast']['dictionary']=Object['assign'](_0x24d1f5['ast']['dictionary'],_0x209f71),_0x24d1f5['ast']['getPluralForm']=_0x327105;})(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':_0x1acfc4=>0x1!=_0x1acfc4}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x1dbae5=>{const {az:{dictionary:_0x3769fc,getPluralForm:_0x1feb30}}={'az':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x5c7bb3=>0x1!=_0x5c7bb3}};_0x1dbae5['az']||={'dictionary':{},'getPluralForm':null},_0x1dbae5['az']['dictionary']=Object['assign'](_0x1dbae5['az']['dictionary'],_0x3769fc),_0x1dbae5['az']['getPluralForm']=_0x1feb30;})(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':_0x1aa342=>0x1!=_0x1aa342}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x20c5f1=>{const {bg:{dictionary:_0x5435b9,getPluralForm:_0x104f5c}}={'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':_0x4859df=>0x1!=_0x4859df}};_0x20c5f1['bg']||={'dictionary':{},'getPluralForm':null},_0x20c5f1['bg']['dictionary']=Object['assign'](_0x20c5f1['bg']['dictionary'],_0x5435b9),_0x20c5f1['bg']['getPluralForm']=_0x104f5c;})(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':_0x4daff7=>0x1!=_0x4daff7}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x331820=>{const {bn:{dictionary:_0x56ae0b,getPluralForm:_0x40560f}}={'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':_0x2523ee=>0x1!=_0x2523ee}};_0x331820['bn']||={'dictionary':{},'getPluralForm':null},_0x331820['bn']['dictionary']=Object['assign'](_0x331820['bn']['dictionary'],_0x56ae0b),_0x331820['bn']['getPluralForm']=_0x40560f;})(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':_0x2a5670=>_0x2a5670%0xa==0x1&&_0x2a5670%0x64!=0xb?0x0:_0x2a5670%0xa>=0x2&&_0x2a5670%0xa<=0x4&&(_0x2a5670%0x64<0xa||_0x2a5670%0x64>=0x14)?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x15fd80=>{const {bs:{dictionary:_0x1ff297,getPluralForm:_0x15be4f}}={'bs':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x2fd6fe=>_0x2fd6fe%0xa==0x1&&_0x2fd6fe%0x64!=0xb?0x0:_0x2fd6fe%0xa>=0x2&&_0x2fd6fe%0xa<=0x4&&(_0x2fd6fe%0x64<0xa||_0x2fd6fe%0x64>=0x14)?0x1:0x2}};_0x15fd80['bs']||={'dictionary':{},'getPluralForm':null},_0x15fd80['bs']['dictionary']=Object['assign'](_0x15fd80['bs']['dictionary'],_0x1ff297),_0x15fd80['bs']['getPluralForm']=_0x15be4f;})(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':_0x343e18=>0x1!=_0x343e18}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x78a239=>{const {ca:{dictionary:_0x58d193,getPluralForm:_0x9a6904}}={'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':_0x1c2953=>0x1!=_0x1c2953}};_0x78a239['ca']||={'dictionary':{},'getPluralForm':null},_0x78a239['ca']['dictionary']=Object['assign'](_0x78a239['ca']['dictionary'],_0x58d193),_0x78a239['ca']['getPluralForm']=_0x9a6904;})(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':_0x358359=>0x1==_0x358359?0x0:_0x358359>=0x2&&_0x358359<=0x4?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x31c61f=>{const {cs:{dictionary:_0x55faf3,getPluralForm:_0x32e059}}={'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':_0xa35e53=>0x1==_0xa35e53?0x0:_0xa35e53>=0x2&&_0xa35e53<=0x4?0x1:0x2}};_0x31c61f['cs']||={'dictionary':{},'getPluralForm':null},_0x31c61f['cs']['dictionary']=Object['assign'](_0x31c61f['cs']['dictionary'],_0x55faf3),_0x31c61f['cs']['getPluralForm']=_0x32e059;})(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':_0x589128=>0x1!=_0x589128}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x192221=>{const {da:{dictionary:_0x4102e2,getPluralForm:_0x36d573}}={'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':_0x2a5082=>0x1!=_0x2a5082}};_0x192221['da']||={'dictionary':{},'getPluralForm':null},_0x192221['da']['dictionary']=Object['assign'](_0x192221['da']['dictionary'],_0x4102e2),_0x192221['da']['getPluralForm']=_0x36d573;})(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':_0x410466=>0x1!=_0x410466}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x57829a=>{const {'de-ch':{dictionary:_0x35f91c,getPluralForm:_0x12f51b}}={'de-ch':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x420fc0=>0x1!=_0x420fc0}};_0x57829a['de-ch']||={'dictionary':{},'getPluralForm':null},_0x57829a['de-ch']['dictionary']=Object['assign'](_0x57829a['de-ch']['dictionary'],_0x35f91c),_0x57829a['de-ch']['getPluralForm']=_0x12f51b;})(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':_0x3ceb7a=>0x1!=_0x3ceb7a}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x305db9=>{const {de:{dictionary:_0x49eb41,getPluralForm:_0x343a28}}={'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':_0x415922=>0x1!=_0x415922}};_0x305db9['de']||={'dictionary':{},'getPluralForm':null},_0x305db9['de']['dictionary']=Object['assign'](_0x305db9['de']['dictionary'],_0x49eb41),_0x305db9['de']['getPluralForm']=_0x343a28;})(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':_0x59b15a=>0x1!=_0x59b15a}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x1a227e=>{const {el:{dictionary:_0x4da4b1,getPluralForm:_0x23e822}}={'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':_0x1987b3=>0x1!=_0x1987b3}};_0x1a227e['el']||={'dictionary':{},'getPluralForm':null},_0x1a227e['el']['dictionary']=Object['assign'](_0x1a227e['el']['dictionary'],_0x4da4b1),_0x1a227e['el']['getPluralForm']=_0x23e822;})(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':_0x3804f7=>0x1!=_0x3804f7}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x2e4af9=>{const {'en-au':{dictionary:_0x3beaa6,getPluralForm:_0xd6e528}}={'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':_0x477145=>0x1!=_0x477145}};_0x2e4af9['en-au']||={'dictionary':{},'getPluralForm':null},_0x2e4af9['en-au']['dictionary']=Object['assign'](_0x2e4af9['en-au']['dictionary'],_0x3beaa6),_0x2e4af9['en-au']['getPluralForm']=_0xd6e528;})(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':_0x6bfc78=>0x1!=_0x6bfc78}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x57ea49=>{const {'en-gb':{dictionary:_0x2720d7,getPluralForm:_0x4e5605}}={'en-gb':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x50b1a4=>0x1!=_0x50b1a4}};_0x57ea49['en-gb']||={'dictionary':{},'getPluralForm':null},_0x57ea49['en-gb']['dictionary']=Object['assign'](_0x57ea49['en-gb']['dictionary'],_0x2720d7),_0x57ea49['en-gb']['getPluralForm']=_0x4e5605;})(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':_0x5dfdd1=>0x1!=_0x5dfdd1}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x1d1a81=>{const {en:{dictionary:_0x2e4a5d,getPluralForm:_0x2f5ebb}}={'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':_0x532439=>0x1!=_0x532439}};_0x1d1a81['en']||={'dictionary':{},'getPluralForm':null},_0x1d1a81['en']['dictionary']=Object['assign'](_0x1d1a81['en']['dictionary'],_0x2e4a5d),_0x1d1a81['en']['getPluralForm']=_0x2f5ebb;})(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':_0x34038f=>0x1!=_0x34038f}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x6a27e9=>{const {eo:{dictionary:_0x3c87be,getPluralForm:_0x3ca14b}}={'eo':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x4d3542=>0x1!=_0x4d3542}};_0x6a27e9['eo']||={'dictionary':{},'getPluralForm':null},_0x6a27e9['eo']['dictionary']=Object['assign'](_0x6a27e9['eo']['dictionary'],_0x3c87be),_0x6a27e9['eo']['getPluralForm']=_0x3ca14b;})(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':_0xa1ae03=>0x1!=_0xa1ae03}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x50a253=>{const {'es-co':{dictionary:_0x5327af,getPluralForm:_0x3da9f2}}={'es-co':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x164918=>0x1!=_0x164918}};_0x50a253['es-co']||={'dictionary':{},'getPluralForm':null},_0x50a253['es-co']['dictionary']=Object['assign'](_0x50a253['es-co']['dictionary'],_0x5327af),_0x50a253['es-co']['getPluralForm']=_0x3da9f2;})(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':_0x40548d=>0x1!=_0x40548d}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0xa692b3=>{const {es:{dictionary:_0x3b2de2,getPluralForm:_0x1c83f0}}={'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':_0x273113=>0x1!=_0x273113}};_0xa692b3['es']||={'dictionary':{},'getPluralForm':null},_0xa692b3['es']['dictionary']=Object['assign'](_0xa692b3['es']['dictionary'],_0x3b2de2),_0xa692b3['es']['getPluralForm']=_0x1c83f0;})(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':_0x2fdb2b=>0x1!=_0x2fdb2b}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x34fc79=>{const {et:{dictionary:_0x5d65b5,getPluralForm:_0x33bad7}}={'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':_0x1639f2=>0x1!=_0x1639f2}};_0x34fc79['et']||={'dictionary':{},'getPluralForm':null},_0x34fc79['et']['dictionary']=Object['assign'](_0x34fc79['et']['dictionary'],_0x5d65b5),_0x34fc79['et']['getPluralForm']=_0x33bad7;})(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':_0x434705=>0x1!=_0x434705}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x54d128=>{const {eu:{dictionary:_0x341be2,getPluralForm:_0x176e7b}}={'eu':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x333f6e=>0x1!=_0x333f6e}};_0x54d128['eu']||={'dictionary':{},'getPluralForm':null},_0x54d128['eu']['dictionary']=Object['assign'](_0x54d128['eu']['dictionary'],_0x341be2),_0x54d128['eu']['getPluralForm']=_0x176e7b;})(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':_0x4dd0b5=>0x0}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x47e4ee=>{const {fa:{dictionary:_0x352605,getPluralForm:_0x1b2112}}={'fa':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x4db191=>0x0}};_0x47e4ee['fa']||={'dictionary':{},'getPluralForm':null},_0x47e4ee['fa']['dictionary']=Object['assign'](_0x47e4ee['fa']['dictionary'],_0x352605),_0x47e4ee['fa']['getPluralForm']=_0x1b2112;})(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':_0x31af86=>0x1!=_0x31af86}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x5f0c45=>{const {fi:{dictionary:_0x4c12e8,getPluralForm:_0x3bf85b}}={'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':_0x446697=>0x1!=_0x446697}};_0x5f0c45['fi']||={'dictionary':{},'getPluralForm':null},_0x5f0c45['fi']['dictionary']=Object['assign'](_0x5f0c45['fi']['dictionary'],_0x4c12e8),_0x5f0c45['fi']['getPluralForm']=_0x3bf85b;})(window['CKEDITOR_TRANSLATIONS']||={});
|