@ckeditor/ckeditor5-import-word 0.0.0-nightly-20241211.0 → 0.0.0-nightly-20241212.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-2024, 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 s=e[n]={exports:{}};return t[n](s,s.exports,r),s.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:()=>W,ImportWordEditing:()=>v,ImportWordUI:()=>a});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 s=o;function o(t,e){const r=c();return(o=function(t,e){return r[t-=137]})(t,e)}!function(t){const e=o,r=t();for(;;)try{if(802880===parseInt(e(159))/1+-parseInt(e(153))/2+-parseInt(e(148))/3+parseInt(e(156))/4*(parseInt(e(163))/5)+-parseInt(e(150))/6+-parseInt(e(162))/7*(-parseInt(e(158))/8)+-parseInt(e(149))/9*(-parseInt(e(147))/10))break;r.push(r.shift())}catch(t){r.push(r.shift())}}(c);class a extends t.Plugin{static get[s(175)](){return s(154)}static get[s(173)](){return!0}static get[s(169)](){return!0}[s(151)](){const t=s,r=this[t(176)];r.ui[t(168)][t(152)](t(164),(()=>{const n=t,i=this[n(157)](e.FileDialogButtonView),s=r[n(170)][n(167)](n(164));return i[n(139)](n(172)).to(s,n(141)),i[n(138)]=!0,i})),r.ui[t(168)][t(152)](t(142),(()=>this[t(157)](e.MenuBarMenuListItemFileDialogButtonView)))}[s(157)](t){const r=s,n=this[r(176)],o=n[r(170)][r(167)](r(164)),a=new t(n[r(177)]),c=new e.SpinnerView;return a[r(171)]({acceptedType:r(166)}),a[r(171)]({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(139)](r(137)).to(o),a[r(139)](r(165)).to(o,r(141),(t=>i(n[r(177)],r(t?155:178)))),c[r(139)](r(140)).to(o,r(141)),a[r(145)][r(139)](r(140)).to(o,r(141),(t=>!t)),a[r(144)][r(152)](c),a.on(r(174),((t,e)=>{const i=r;n[i(146)](i(164),e[0],{}),n[i(161)][i(143)][i(160)]()})),a}}function c(){const t=["execute","3960030sdTeRC","4609686GdtHPh","36njVUuW","962436lcPRKO","init","add","1390402StahLa","ImportWordUI","Importing Word document","4MnCUyL","_createButton","39400ipvCEF","817618ksLsVw","focus","editing","1085NydSqt","150220OuIvks","importWord","label","application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.openxmlformats-officedocument.wordprocessingml.template","get","componentFactory","isPremiumPlugin","commands","set","isOn","isOfficialPlugin","done","pluginName","editor","locale","Import from Word","isEnabled","tooltip","bind","isVisible","isBusy","menuBar:importWord","view","children","iconView"];return(c=function(){return t})()}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-=315]})(t,e)}function f(){const t=["isBusy","signal","get","schema","955034eRPxLz","_handleImportFailure","import-word-plugin-conversion-failed","has","resolve","createBatch","resolvedOptions","isAtStart","1IEKgLs","removeMarker","locale","1648HhAVuj","editor","_abortController","mergeFields","enqueueChange","refresh","setSelection","MergeFields","stopListening","22652532leQNCi","getSelectedBlocks","isEnabled","reject","_checkEnabled","json","703720PNjcgm","bind","clipboardInput","catch","isCollapsed","22393KgYYdQ","change:range","197895kbjdWJ","isAtEnd","_handleImportResponse","file","importWord","setData","converterUrl","createPositionAfter","_undoStepBatch","timeZone","abort","merge_fields","importWord:","import-word-plugin-import-cancelled","markers","getRange","DateTimeFormat","createPositionBefore","position","paragraph","_cleanUpAfterImport","then","Authorization","getFirstPosition","_sendImportRequest","_prepareForImport","isEmpty","editing","document","text/html","selection","low","198676UQMLEL","deleteContent","plugins","99rZlern","An error occurred while importing the Word file.","dataInsert","headers","split","html","getToken","aborted","addMarker","fire","formatting","Notification","execute","root","set","6mFrMeb","showWarning","finally","_importMarker","value","$graveyard","57vbceHo","ImportWordEditing","view","config","rootName","parent","element","POST","stringify","checkChild","165462rVvTgb","model"];return(f=function(){return t})()}!function(t){const e=h,r=t();for(;;)try{if(557044===-parseInt(e(399))/1*(parseInt(e(391))/2)+parseInt(e(375))/3*(-parseInt(e(351))/4)+-parseInt(e(319))/5*(parseInt(e(369))/6)+parseInt(e(317))/7*(-parseInt(e(402))/8)+-parseInt(e(354))/9*(-parseInt(e(417))/10)+parseInt(e(385))/11+parseInt(e(411))/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(368)](e(387),!1),this[e(372)]=null,this[e(327)]=null,this[e(404)]=null,this.on(e(356),((r,n)=>{const i=e,s=new DataTransfer;s[i(324)](i(348),n[i(359)]);const o=this[i(372)][i(334)]();this[i(403)][i(386)][i(406)](this[i(327)],(e=>{const r=i;this[r(372)][r(410)](),e[r(408)](o),t[r(346)][r(377)][r(347)][r(363)](r(419),{dataTransfer:s})}))}),{priority:e(350)})}[d(407)](){const t=d;this[t(413)]=this[t(415)]()}[d(366)](t,e={}){const r=d;if(this[r(387)])return Promise[r(395)]();const n=this[r(403)][r(378)][r(389)](r(323));if(this[r(403)][r(353)][r(394)](r(409))){const{prefix:t,suffix:n}=this[r(403)][r(378)][r(389)](r(405));e[r(330)]={prefix:t,suffix:n}}const i={url:n[r(325)],file:t,serviceConfig:{...e,formatting:n[r(364)],timezone:(new(Intl[r(335)]))[r(397)]()[r(328)]}};return this[r(344)](),this[r(343)](i)[r(340)](this[r(321)][r(418)](this))[r(315)](this[r(392)][r(418)](this))[r(371)](this[r(339)][r(418)](this))}[d(415)](){const t=d;if(this[t(387)])return!1;const e=this[t(403)][t(386)],r=e[t(390)],n=e[t(347)][t(349)],i=(0,l.first)(n[t(412)]());return!!i&&r[t(384)](i[t(380)],t(338))}[d(344)](){const t=d,e=this[t(403)],r=e[t(386)],n=r[t(347)][t(349)];this[t(404)]=new AbortController,this[t(327)]=e[t(386)][t(396)]({isUndoable:!0}),r[t(406)](this[t(327)],(e=>{const i=t;n[i(316)]||r[i(352)](n,{leaveUnmerged:!0});const s=n[i(342)](),o=(0,l.first)(n[i(412)]());let a;a=o.is(i(381),i(338))&&o[i(345)]?s:s[i(398)]?r[i(336)](o):s[i(320)]?r[i(326)](o):e[i(358)](s)[i(337)],this[i(372)]=e[i(362)](i(331)+(0,l.uid)(),{usingOperation:!1,affectsData:!1,range:new p.Range(a)}),this[i(372)].on(i(318),(()=>{const t=i;t(374)===this[t(372)][t(334)]()[t(367)][t(379)]&&this[t(404)][t(329)]()}))})),this[t(387)]=!0,this[t(407)]()}[d(339)](){const t=d,e=this[t(403)][t(386)];e[t(333)][t(394)](this[t(372)])&&e[t(406)](this[t(327)],(e=>{const r=t;e[r(400)](this[r(372)])})),this[t(372)]=null,this[t(327)]=null,this[t(404)]=null,this[t(387)]=!1,this[t(407)]()}[d(343)]({url:t,file:e,serviceConfig:r}){const n=d,i=this[n(403)][n(353)][n(389)](n(376))[n(360)](),s=new FormData;s[n(368)](n(378),JSON[n(383)](r)),s[n(368)](n(322),e);const o={method:n(382),headers:{},body:s,signal:this[n(404)][n(388)]};return i&&(o[n(357)][n(341)]=i[n(373)]),fetch(t,o)}[d(321)](t){const e=d;return t.ok?t[e(416)]()[e(340)]((t=>{const r=e;this[r(403)][r(386)][r(333)][r(394)](this[r(372)])&&r(374)!==this[r(372)][r(334)]()[r(367)][r(379)]&&this[r(363)](r(356),t)})):Promise[e(414)]()}[d(392)](){const t=d;if(this[t(404)][t(388)][t(361)])return void(0,l.logWarning)(t(332));const e=this[t(403)],r=i(e[t(401)],t(355));e[t(353)][t(389)](t(365))[t(370)](r),(0,l.logError)(t(393))}}const g=I;function I(t,e){const r=w();return(I=function(t,e){return r[t-=426]})(t,e)}!function(t){const e=I,r=t();for(;;)try{if(803409===-parseInt(e(446))/1*(-parseInt(e(458))/2)+parseInt(e(451))/3*(-parseInt(e(432))/4)+parseInt(e(426))/5+parseInt(e(459))/6*(parseInt(e(439))/7)+-parseInt(e(448))/8+-parseInt(e(454))/9+parseInt(e(444))/10)break;r.push(r.shift())}catch(t){r.push(r.shift())}}(w);class v extends t.Plugin{static get[g(440)](){return g(445)}static get[g(456)](){return!0}static get[g(437)](){return!0}static get[g(438)](){const t=g;return[e.Notification,u.ClipboardPipeline,t(447)]}constructor(t){const e=g;super(t),this[e(452)]=null}async[g(428)](){const t=g,e=this[t(433)];e[t(427)][t(457)](t(429),{converterUrl:t(431),tokenUrl:(e[t(427)][t(434)](t(441))||{})[t(436)],formatting:{resets:t(453),defaults:t(453),styles:t(450)}}),e[t(455)][t(443)](t(429),new m(e));const{tokenUrl:r}=e[t(427)][t(434)](t(429));if(r){const{tokenUrl:n}=e[t(427)][t(434)](t(441))||{};this[t(452)]=r===n?e[t(430)][t(434)](t(447))[t(449)]:await e[t(430)][t(434)](t(447))[t(442)](r)}}[g(435)](){return this[g(452)]}}function w(){const t=["none","804447wusGEh","commands","isOfficialPlugin","define","460472cxwaeP","12666sSCsye","3867200caIGlz","config","init","importWord","plugins","https://docx-converter.cke-cs.com/v2/convert/docx-html","526728jfGKMc","editor","get","getToken","tokenUrl","isPremiumPlugin","requires","1771vvOnFP","pluginName","cloudServices","registerTokenUrl","add","3708540qRVjQu","ImportWordEditing","1lPGqMZ","CloudServices","7073112SZuwWq","token","inline","3VFLWrd","_token"];return(w=function(){return t})()}function y(t,e){var r=P();return(y=function(t,e){return r[t-=125]})(t,e)}var b=y;!function(t){for(var e=y,r=t();;)try{if(981158===-parseInt(e(133))/1*(parseInt(e(127))/2)+-parseInt(e(131))/3+-parseInt(e(135))/4*(-parseInt(e(132))/5)+parseInt(e(134))/6*(-parseInt(e(138))/7)+parseInt(e(139))/8*(-parseInt(e(136))/9)+-parseInt(e(140))/10+-parseInt(e(130))/11*(-parseInt(e(137))/12))break;r.push(r.shift())}catch(t){r.push(r.shift())}}(P);class W extends t.Plugin{static get[b(126)](){return b(125)}static get[b(128)](){return!0}static get[b(141)](){return!0}static get[b(129)](){return[v,a]}}function P(){var t=["requires","44nwwQvl","4282854qzQyke","10BDRJtw","175549sMqESG","6seVjKM","3345676BottMn","20637tKYTzk","14227860Rjuatd","11049178SIncVT","3552JMMjXG","8834890SHsbmR","isPremiumPlugin","ImportWord","pluginName","6yyxzPT","isOfficialPlugin"];return(P=function(){return t})()}function x(t,e){var r=k();return(x=function(t,e){return r[t-=180]})(t,e)}function k(){var t=["6kJrmEh","18yrzqzy","4TuOsce","11163944DtiNSU","1844956pBRVtg","754634sAnnnG","1987964ELJYov","9460297ltyqlI","2094695fPLgva","609170LwUPmF","18CBoonG"];return(k=function(){return t})()}!function(t){for(var e=x,r=t();;)try{if(844467===-parseInt(e(189))/1*(parseInt(e(186))/2)+-parseInt(e(184))/3*(-parseInt(e(188))/4)+parseInt(e(181))/5*(-parseInt(e(183))/6)+parseInt(e(180))/7+parseInt(e(187))/8+-parseInt(e(185))/9*(-parseInt(e(182))/10)+-parseInt(e(190))/11)break;r.push(r.shift())}catch(t){r.push(r.shift())}}(k)})(),(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:()=>y,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}}const o=a;function s(){const t=["798cuehOy","8533072tUsGeL","isBusy","importWord","add","init","locale","isOn","done","isEnabled","pluginName","editor","1705671pLiWmp","Import from Word","componentFactory","_createButton","view","label","bind","isPremiumPlugin","3407500dzRmeX","493231fmpawI","iconView","623792TBNNKX","children","441DyxrzI","set","tooltip","menuBar:importWord","commands","isOfficialPlugin","focus","49441NdMjqJ","get","349550FoJdjp","editing","application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.openxmlformats-officedocument.wordprocessingml.template","execute","2QRgEra","Importing Word document","ImportWordUI","isVisible"];return(s=function(){return t})()}function a(t,e){const r=s();return(a=function(t,e){return r[t-=277]})(t,e)}!function(t){const e=a,r=t();for(;;)try{if(619556===-parseInt(e(299))/1*(parseInt(e(316))/2)+parseInt(e(290))/3+parseInt(e(301))/4+parseInt(e(298))/5+parseInt(e(278))/6*(-parseInt(e(310))/7)+-parseInt(e(279))/8+parseInt(e(303))/9*(parseInt(e(312))/10))break;r.push(r.shift())}catch(t){r.push(r.shift())}}(s);class c extends t.Plugin{static get[o(288)](){return o(318)}static get[o(308)](){return!0}static get[o(297)](){return!0}[o(283)](){const t=o,r=this[t(289)];r.ui[t(292)][t(282)](t(281),(()=>{const n=t,i=this[n(293)](e.FileDialogButtonView),o=r[n(307)][n(311)](n(281));return i[n(296)](n(285)).to(o,n(280)),i[n(305)]=!0,i})),r.ui[t(292)][t(282)](t(306),(()=>this[t(293)](e.MenuBarMenuListItemFileDialogButtonView)))}[o(293)](t){const r=o,n=this[r(289)],s=n[r(307)][r(311)](r(281)),a=new t(n[r(284)]),c=new e.SpinnerView;return a[r(304)]({acceptedType:r(314)}),a[r(304)]({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(296)](r(287)).to(s),a[r(296)](r(295)).to(s,r(280),(t=>i(n[r(284)],r(t?317:291)))),c[r(296)](r(277)).to(s,r(280)),a[r(300)][r(296)](r(277)).to(s,r(280),(t=>!t)),a[r(302)][r(282)](c),a.on(r(286),((t,e)=>{const i=r;n[i(315)](i(281),e[0],{}),n[i(313)][i(294)][i(309)]()})),a}}var u=r(331),p=r(783),l=r(584);function d(t,e){const r=f();return(d=function(t,e){return r[t-=394]})(t,e)}const h=d;function f(){const t=["document","_sendImportRequest","value","catch","isBusy","deleteContent","DateTimeFormat","showWarning","$graveyard","_importMarker","converterUrl","view","POST","ImportWordEditing","rootName","_handleImportResponse","editing","dataInsert","enqueueChange","formatting","_cleanUpAfterImport","isEmpty","locale","isEnabled","_abortController","502226hiwaEX","signal","set","aborted","importWord","addMarker","_handleImportFailure","html","bind","isCollapsed","reject","refresh","createPositionBefore","resolvedOptions","188022PWLbNj","import-word-plugin-import-cancelled","has","405LVLbZr","finally","checkChild","getToken","createPositionAfter","change:range","fire","selection","timeZone","editor","242992GZMjXC","getSelectedBlocks","removeMarker","execute","abort","4ezFEQb","root","importWord:","24mMKMUe","5940438bHqCUh","setSelection","markers","_undoStepBatch","split","text/html","model","then","config","setData","An error occurred while importing the Word file.","clipboardInput","parent","2905833ilEXFu","element","createBatch","file","position","5076480eLtQzx","getFirstPosition","mergeFields","isAtEnd","import-word-plugin-conversion-failed","low","schema","get","json","MergeFields","stringify","_checkEnabled","Notification","plugins","merge_fields","headers","isAtStart","resolve","36947230RPpZxu","_prepareForImport","stopListening","getRange","Authorization","paragraph"];return(f=function(){return t})()}!function(t){const e=d,r=t();for(;;)try{if(721003===-parseInt(e(496))/1*(-parseInt(e(425))/2)+-parseInt(e(407))/3*(parseInt(e(428))/4)+parseInt(e(447))/5+parseInt(e(429))/6+parseInt(e(442))/7+-parseInt(e(420))/8*(-parseInt(e(410))/9)+-parseInt(e(465))/10)break;r.push(r.shift())}catch(t){r.push(r.shift())}}(f);class m extends t.Command{constructor(t){const e=d;super(t),this[e(395)](e(475),!1),this[e(480)]=null,this[e(432)]=null,this[e(495)]=null,this.on(e(488),((r,n)=>{const i=e,o=new DataTransfer;o[i(438)](i(434),n[i(400)]);const s=this[i(480)][i(468)]();this[i(419)][i(435)][i(489)](this[i(432)],(e=>{const r=i;this[r(480)][r(467)](),e[r(430)](s),t[r(487)][r(482)][r(471)][r(416)](r(440),{dataTransfer:o})}))}),{priority:e(452)})}[h(404)](){const t=h;this[t(494)]=this[t(458)]()}[h(423)](t,e={}){const r=h;if(this[r(475)])return Promise[r(464)]();const n=this[r(419)][r(437)][r(454)](r(397));if(this[r(419)][r(460)][r(409)](r(456))){const{prefix:t,suffix:n}=this[r(419)][r(437)][r(454)](r(449));e[r(461)]={prefix:t,suffix:n}}const i={url:n[r(481)],file:t,serviceConfig:{...e,formatting:n[r(490)],timezone:(new(Intl[r(477)]))[r(406)]()[r(418)]}};return this[r(466)](),this[r(472)](i)[r(436)](this[r(486)][r(401)](this))[r(474)](this[r(399)][r(401)](this))[r(411)](this[r(491)][r(401)](this))}[h(458)](){const t=h;if(this[t(475)])return!1;const e=this[t(419)][t(435)],r=e[t(453)],n=e[t(471)][t(417)],i=(0,l.first)(n[t(421)]());return!!i&&r[t(412)](i[t(441)],t(470))}[h(466)](){const t=h,e=this[t(419)],r=e[t(435)],n=r[t(471)][t(417)];this[t(495)]=new AbortController,this[t(432)]=e[t(435)][t(444)]({isUndoable:!0}),r[t(489)](this[t(432)],(e=>{const i=t;n[i(402)]||r[i(476)](n,{leaveUnmerged:!0});const o=n[i(448)](),s=(0,l.first)(n[i(421)]());let a;a=s.is(i(443),i(470))&&s[i(492)]?o:o[i(463)]?r[i(405)](s):o[i(450)]?r[i(414)](s):e[i(433)](o)[i(446)],this[i(480)]=e[i(398)](i(427)+(0,l.uid)(),{usingOperation:!1,affectsData:!1,range:new p.Range(a)}),this[i(480)].on(i(415),(()=>{const t=i;t(479)===this[t(480)][t(468)]()[t(426)][t(485)]&&this[t(495)][t(424)]()}))})),this[t(475)]=!0,this[t(404)]()}[h(491)](){const t=h,e=this[t(419)][t(435)];e[t(431)][t(409)](this[t(480)])&&e[t(489)](this[t(432)],(e=>{const r=t;e[r(422)](this[r(480)])})),this[t(480)]=null,this[t(432)]=null,this[t(495)]=null,this[t(475)]=!1,this[t(404)]()}[h(472)]({url:t,file:e,serviceConfig:r}){const n=h,i=this[n(419)][n(460)][n(454)](n(484))[n(413)](),o=new FormData;o[n(395)](n(437),JSON[n(457)](r)),o[n(395)](n(445),e);const s={method:n(483),headers:{},body:o,signal:this[n(495)][n(394)]};return i&&(s[n(462)][n(469)]=i[n(473)]),fetch(t,s)}[h(486)](t){const e=h;return t.ok?t[e(455)]()[e(436)]((t=>{const r=e;this[r(419)][r(435)][r(431)][r(409)](this[r(480)])&&r(479)!==this[r(480)][r(468)]()[r(426)][r(485)]&&this[r(416)](r(488),t)})):Promise[e(403)]()}[h(399)](){const t=h;if(this[t(495)][t(394)][t(396)])return void(0,l.logWarning)(t(408));const e=this[t(419)],r=i(e[t(493)],t(439));e[t(460)][t(454)](t(459))[t(478)](r),(0,l.logError)(t(451))}}const g=I;function I(t,e){const r=v();return(I=function(t,e){return r[t-=154]})(t,e)}function v(){const t=["getToken","requires","config","tokenUrl","token","pluginName","ImportWordEditing","527391zJkOvQ","isPremiumPlugin","importWord","registerTokenUrl","CloudServices","get","5785580weSAXd","129828CqFbLX","8pEraEh","plugins","editor","52GPjJmT","https://docx-converter.cke-cs.com/v2/convert/docx-html","isOfficialPlugin","none","846738KCBPmE","15UZIjoY","cloudServices","424854fkUZeH","add","8338xnuZHX","define","commands","1416597MVEoFr","init","_token","inline"];return(v=function(){return t})()}!function(t){const e=I,r=t();for(;;)try{if(114292===-parseInt(e(169))/1*(parseInt(e(160))/2)+-parseInt(e(183))/3+parseInt(e(156))/4+parseInt(e(165))/5*(-parseInt(e(167))/6)+-parseInt(e(172))/7*(-parseInt(e(157))/8)+-parseInt(e(164))/9+parseInt(e(155))/10)break;r.push(r.shift())}catch(t){r.push(r.shift())}}(v);class w extends t.Plugin{static get[g(181)](){return g(182)}static get[g(162)](){return!0}static get[g(184)](){return!0}static get[g(177)](){const t=g;return[e.Notification,u.ClipboardPipeline,t(187)]}constructor(t){const e=g;super(t),this[e(174)]=null}async[g(173)](){const t=g,e=this[t(159)];e[t(178)][t(170)](t(185),{converterUrl:t(161),tokenUrl:(e[t(178)][t(154)](t(166))||{})[t(179)],formatting:{resets:t(163),defaults:t(163),styles:t(175)}}),e[t(171)][t(168)](t(185),new m(e));const{tokenUrl:r}=e[t(178)][t(154)](t(185));if(r){const{tokenUrl:n}=e[t(178)][t(154)](t(166))||{};this[t(174)]=r===n?e[t(158)][t(154)](t(187))[t(180)]:await e[t(158)][t(154)](t(187))[t(186)](r)}}[g(176)](){return this[g(174)]}}var x=b;function b(t,e){var r=W();return(b=function(t,e){return r[t-=306]})(t,e)}!function(t){for(var e=b,r=t();;)try{if(246186===parseInt(e(309))/1*(-parseInt(e(318))/2)+parseInt(e(314))/3*(-parseInt(e(308))/4)+-parseInt(e(313))/5+-parseInt(e(307))/6+-parseInt(e(315))/7*(parseInt(e(310))/8)+parseInt(e(311))/9+parseInt(e(319))/10)break;r.push(r.shift())}catch(t){r.push(r.shift())}}(W);class y extends t.Plugin{static get[x(317)](){return x(306)}static get[x(316)](){return!0}static get[x(312)](){return!0}static get[x(320)](){return[w,c]}}function W(){var t=["requires","ImportWord","1475766jgAthL","4ehiBcx","49566WygCqE","3625832VFQYcR","2871747cuQjpE","isPremiumPlugin","2232135HyocJD","131640vYPRon","7GtyRfx","isOfficialPlugin","pluginName","14DxWxLm","14635620mEATJR"];return(W=function(){return t})()}function P(){var t=["2417412HPfaJg","5899260OylkqS","3201093ZQyZgY","6052392rJtHpp","15240616xnUrKQ","3ykHIrR","326544tTuITx","307632OYFRbq"];return(P=function(){return t})()}function k(t,e){var r=P();return(k=function(t,e){return r[t-=183]})(t,e)}!function(t){for(var e=k,r=t();;)try{if(607357===parseInt(e(186))/1+parseInt(e(185))/2+parseInt(e(184))/3*(-parseInt(e(187))/4)+parseInt(e(188))/5+parseInt(e(190))/6+parseInt(e(189))/7+-parseInt(e(183))/8)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 _0x57b1d0,Command as _0x4d1dbb}from'@ckeditor/ckeditor5-core/dist/index.js';import{FileDialogButtonView as _0x4cea8a,MenuBarMenuListItemFileDialogButtonView as _0x219e95,SpinnerView as _0x2abf2c,Notification as _0x2d4cc5}from'@ckeditor/ckeditor5-ui/dist/index.js';import{ClipboardPipeline as _0x4e03e3}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{Range as _0x8da739}from'@ckeditor/ckeditor5-engine/dist/index.js';import{first as _0x457aab,uid as _0x528c92,logWarning as _0x305533,logError as _0x15d7b4}from'@ckeditor/ckeditor5-utils/dist/index.js';function p(_0x143d63,_0x1ce7cf){const t=_0x143d63['t'];switch(_0x1ce7cf){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 _0x1ce7cf;}}class i extends _0x57b1d0{static get['pluginName'](){return'ImportWordUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x5855da=this['editor'];_0x5855da['ui']['componentFactory']['add']('importWord',()=>{const _0x26acb8=this['_createButton'](_0x4cea8a),_0x53fd4f=_0x5855da['commands']['get']('importWord');return _0x26acb8['bind']('isOn')['to'](_0x53fd4f,'isBusy'),_0x26acb8['tooltip']=!0x0,_0x26acb8;}),_0x5855da['ui']['componentFactory']['add']('menuBar:importWord',()=>this['_createButton'](_0x219e95));}['_createButton'](_0xfc2eca){const _0x487b5a=this['editor'],_0x32f12b=_0x487b5a['commands']['get']('importWord'),_0x1a5345=new _0xfc2eca(_0x487b5a['locale']),_0x145cd9=new _0x2abf2c();return _0x1a5345['set']({'acceptedType':'application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.openxmlformats-officedocument.wordprocessingml.template'}),_0x1a5345['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'}),_0x1a5345['bind']('isEnabled')['to'](_0x32f12b),_0x1a5345['bind']('label')['to'](_0x32f12b,'isBusy',_0x2871c2=>p(_0x487b5a['locale'],_0x2871c2?'Importing\x20Word\x20document':'Import\x20from\x20Word')),_0x145cd9['bind']('isVisible')['to'](_0x32f12b,'isBusy'),_0x1a5345['iconView']['bind']('isVisible')['to'](_0x32f12b,'isBusy',_0x1dda24=>!_0x1dda24),_0x1a5345['children']['add'](_0x145cd9),_0x1a5345['on']('done',(_0x4b0dbf,_0x2fbb4b)=>{_0x487b5a['execute']('importWord',_0x2fbb4b[0x0],{}),_0x487b5a['editing']['view']['focus']();}),_0x1a5345;}}class d extends _0x4d1dbb{['_importMarker'];['_undoStepBatch'];['_abortController'];constructor(_0x4b0d1d){super(_0x4b0d1d),this['set']('isBusy',!0x1),this['_importMarker']=null,this['_undoStepBatch']=null,this['_abortController']=null,this['on']('dataInsert',(_0x5f32e1,_0x3346ed)=>{const _0x155c7a=new DataTransfer();_0x155c7a['setData']('text/html',_0x3346ed['html']);const _0x150390=this['_importMarker']['getRange']();this['editor']['model']['enqueueChange'](this['_undoStepBatch'],_0x3d8c83=>{this['_importMarker']['stopListening'](),_0x3d8c83['setSelection'](_0x150390),_0x4b0d1d['editing']['view']['document']['fire']('clipboardInput',{'dataTransfer':_0x155c7a});});},{'priority':'low'});}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x50df46,_0x350bda={}){if(this['isBusy'])return Promise['resolve']();const _0x12d794=this['editor']['config']['get']('importWord');if(this['editor']['plugins']['has']('MergeFields')){const {prefix:_0xa63ff0,suffix:_0x1c223e}=this['editor']['config']['get']('mergeFields');_0x350bda['merge_fields']={'prefix':_0xa63ff0,'suffix':_0x1c223e};}const _0xfc3eac={'url':_0x12d794['converterUrl'],'file':_0x50df46,'serviceConfig':{..._0x350bda,'formatting':_0x12d794['formatting'],'timezone':new Intl['DateTimeFormat']()['resolvedOptions']()['timeZone']}};return this['_prepareForImport'](),this['_sendImportRequest'](_0xfc3eac)['then'](this['_handleImportResponse']['bind'](this))['catch'](this['_handleImportFailure']['bind'](this))['finally'](this['_cleanUpAfterImport']['bind'](this));}['_checkEnabled'](){if(this['isBusy'])return!0x1;const _0x55f2c4=this['editor']['model'],_0x1567b7=_0x55f2c4['schema'],_0x1df2a5=_0x55f2c4['document']['selection'],_0x30a482=_0x457aab(_0x1df2a5['getSelectedBlocks']());return!!_0x30a482&&_0x1567b7['checkChild'](_0x30a482['parent'],'paragraph');}['_prepareForImport'](){const _0xf7fc90=this['editor'],_0x328895=_0xf7fc90['model'],_0x2a054a=_0x328895['document']['selection'];this['_abortController']=new AbortController(),this['_undoStepBatch']=_0xf7fc90['model']['createBatch']({'isUndoable':!0x0}),_0x328895['enqueueChange'](this['_undoStepBatch'],_0x5e3149=>{_0x2a054a['isCollapsed']||_0x328895['deleteContent'](_0x2a054a,{'leaveUnmerged':!0x0});const _0x47b043=_0x2a054a['getFirstPosition'](),_0x2c0d6=_0x457aab(_0x2a054a['getSelectedBlocks']());let _0x4daa58;_0x4daa58=_0x2c0d6['is']('element','paragraph')&&_0x2c0d6['isEmpty']?_0x47b043:_0x47b043['isAtStart']?_0x328895['createPositionBefore'](_0x2c0d6):_0x47b043['isAtEnd']?_0x328895['createPositionAfter'](_0x2c0d6):_0x5e3149['split'](_0x47b043)['position'],this['_importMarker']=_0x5e3149['addMarker']('importWord:'+_0x528c92(),{'usingOperation':!0x1,'affectsData':!0x1,'range':new _0x8da739(_0x4daa58)}),this['_importMarker']['on']('change:range',()=>{'$graveyard'===this['_importMarker']['getRange']()['root']['rootName']&&this['_abortController']['abort']();});}),this['isBusy']=!0x0,this['refresh']();}['_cleanUpAfterImport'](){const _0xc98a7c=this['editor']['model'];_0xc98a7c['markers']['has'](this['_importMarker'])&&_0xc98a7c['enqueueChange'](this['_undoStepBatch'],_0x49fd63=>{_0x49fd63['removeMarker'](this['_importMarker']);}),this['_importMarker']=null,this['_undoStepBatch']=null,this['_abortController']=null,this['isBusy']=!0x1,this['refresh']();}['_sendImportRequest']({url:_0x520108,file:_0x51a9c9,serviceConfig:_0x3da069}){const _0x2f28e8=this['editor']['plugins']['get']('ImportWordEditing')['getToken'](),_0x26843d=new FormData();_0x26843d['set']('config',JSON['stringify'](_0x3da069)),_0x26843d['set']('file',_0x51a9c9);const _0xb46ab6={'method':'POST','headers':{},'body':_0x26843d,'signal':this['_abortController']['signal']};return _0x2f28e8&&(_0xb46ab6['headers']['Authorization']=_0x2f28e8['value']),fetch(_0x520108,_0xb46ab6);}['_handleImportResponse'](_0xf86a03){return _0xf86a03['ok']?_0xf86a03['json']()['then'](_0x2e11be=>{if(!this['editor']['model']['markers']['has'](this['_importMarker']))return;'$graveyard'!==this['_importMarker']['getRange']()['root']['rootName']&&this['fire']('dataInsert',_0x2e11be);}):Promise['reject']();}['_handleImportFailure'](){if(this['_abortController']['signal']['aborted'])return void _0x305533('import-word-plugin-import-cancelled');const _0x44d8bb=this['editor'],_0x34c757=p(_0x44d8bb['locale'],'An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.');_0x44d8bb['plugins']['get']('Notification')['showWarning'](_0x34c757),_0x15d7b4('import-word-plugin-conversion-failed');}}class e extends _0x57b1d0{['_token'];static get['pluginName'](){return'ImportWordEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x2d4cc5,_0x4e03e3,'CloudServices'];}constructor(_0x55672a){super(_0x55672a),this['_token']=null;}async['init'](){const _0x23db72=this['editor'];_0x23db72['config']['define']('importWord',{'converterUrl':'https://docx-converter.cke-cs.com/v2/convert/docx-html','tokenUrl':(_0x23db72['config']['get']('cloudServices')||{})['tokenUrl'],'formatting':{'resets':'none','defaults':'none','styles':'inline'}}),_0x23db72['commands']['add']('importWord',new d(_0x23db72));const {tokenUrl:_0xa65522}=_0x23db72['config']['get']('importWord');if(_0xa65522){const {tokenUrl:_0x3d2244}=_0x23db72['config']['get']('cloudServices')||{};this['_token']=_0xa65522===_0x3d2244?_0x23db72['plugins']['get']('CloudServices')['token']:await _0x23db72['plugins']['get']('CloudServices')['registerTokenUrl'](_0xa65522);}}['getToken'](){return this['_token'];}}class o extends _0x57b1d0{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':_0x205527=>0x1!=_0x205527}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x10763c=>{const {af:{dictionary:_0x4b9d4f,getPluralForm:_0x579380}}={'af':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x2a40fd=>0x1!=_0x2a40fd}};_0x10763c['af']||={'dictionary':{},'getPluralForm':null},_0x10763c['af']['dictionary']=Object['assign'](_0x10763c['af']['dictionary'],_0x4b9d4f),_0x10763c['af']['getPluralForm']=_0x579380;})(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':_0x410667=>0x0==_0x410667?0x0:0x1==_0x410667?0x1:0x2==_0x410667?0x2:_0x410667%0x64>=0x3&&_0x410667%0x64<=0xa?0x3:_0x410667%0x64>=0xb?0x4:0x5}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x4caae9=>{const {ar:{dictionary:_0xfbbb74,getPluralForm:_0x4d8a5}}={'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':_0x4a05b1=>0x0==_0x4a05b1?0x0:0x1==_0x4a05b1?0x1:0x2==_0x4a05b1?0x2:_0x4a05b1%0x64>=0x3&&_0x4a05b1%0x64<=0xa?0x3:_0x4a05b1%0x64>=0xb?0x4:0x5}};_0x4caae9['ar']||={'dictionary':{},'getPluralForm':null},_0x4caae9['ar']['dictionary']=Object['assign'](_0x4caae9['ar']['dictionary'],_0xfbbb74),_0x4caae9['ar']['getPluralForm']=_0x4d8a5;})(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':_0x14f3b4=>0x1!=_0x14f3b4}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x568539=>{const {ast:{dictionary:_0x23c7c6,getPluralForm:_0x54e41b}}={'ast':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x255ada=>0x1!=_0x255ada}};_0x568539['ast']||={'dictionary':{},'getPluralForm':null},_0x568539['ast']['dictionary']=Object['assign'](_0x568539['ast']['dictionary'],_0x23c7c6),_0x568539['ast']['getPluralForm']=_0x54e41b;})(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':_0x5abe78=>0x1!=_0x5abe78}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x4b501c=>{const {az:{dictionary:_0x143d37,getPluralForm:_0x343da1}}={'az':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x4fdafb=>0x1!=_0x4fdafb}};_0x4b501c['az']||={'dictionary':{},'getPluralForm':null},_0x4b501c['az']['dictionary']=Object['assign'](_0x4b501c['az']['dictionary'],_0x143d37),_0x4b501c['az']['getPluralForm']=_0x343da1;})(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':_0x48d200=>0x1!=_0x48d200}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x59a0f3=>{const {bg:{dictionary:_0x5a69bc,getPluralForm:_0x5e8d65}}={'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':_0x149861=>0x1!=_0x149861}};_0x59a0f3['bg']||={'dictionary':{},'getPluralForm':null},_0x59a0f3['bg']['dictionary']=Object['assign'](_0x59a0f3['bg']['dictionary'],_0x5a69bc),_0x59a0f3['bg']['getPluralForm']=_0x5e8d65;})(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':_0x52a53a=>0x1!=_0x52a53a}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x3a57dc=>{const {bn:{dictionary:_0x183fea,getPluralForm:_0x4de3af}}={'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':_0x3c2bd3=>0x1!=_0x3c2bd3}};_0x3a57dc['bn']||={'dictionary':{},'getPluralForm':null},_0x3a57dc['bn']['dictionary']=Object['assign'](_0x3a57dc['bn']['dictionary'],_0x183fea),_0x3a57dc['bn']['getPluralForm']=_0x4de3af;})(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':_0xce7d0a=>_0xce7d0a%0xa==0x1&&_0xce7d0a%0x64!=0xb?0x0:_0xce7d0a%0xa>=0x2&&_0xce7d0a%0xa<=0x4&&(_0xce7d0a%0x64<0xa||_0xce7d0a%0x64>=0x14)?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x396a29=>{const {bs:{dictionary:_0x188e4d,getPluralForm:_0x3a70bc}}={'bs':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x66f7a9=>_0x66f7a9%0xa==0x1&&_0x66f7a9%0x64!=0xb?0x0:_0x66f7a9%0xa>=0x2&&_0x66f7a9%0xa<=0x4&&(_0x66f7a9%0x64<0xa||_0x66f7a9%0x64>=0x14)?0x1:0x2}};_0x396a29['bs']||={'dictionary':{},'getPluralForm':null},_0x396a29['bs']['dictionary']=Object['assign'](_0x396a29['bs']['dictionary'],_0x188e4d),_0x396a29['bs']['getPluralForm']=_0x3a70bc;})(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':_0xd23602=>0x1!=_0xd23602}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x32a116=>{const {ca:{dictionary:_0x1b588d,getPluralForm:_0x4f0f7f}}={'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':_0x34716f=>0x1!=_0x34716f}};_0x32a116['ca']||={'dictionary':{},'getPluralForm':null},_0x32a116['ca']['dictionary']=Object['assign'](_0x32a116['ca']['dictionary'],_0x1b588d),_0x32a116['ca']['getPluralForm']=_0x4f0f7f;})(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':_0x1fe27d=>0x1==_0x1fe27d?0x0:_0x1fe27d>=0x2&&_0x1fe27d<=0x4?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x1ad7cb=>{const {cs:{dictionary:_0x310cf,getPluralForm:_0x5b68a9}}={'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':_0x5b2a02=>0x1==_0x5b2a02?0x0:_0x5b2a02>=0x2&&_0x5b2a02<=0x4?0x1:0x2}};_0x1ad7cb['cs']||={'dictionary':{},'getPluralForm':null},_0x1ad7cb['cs']['dictionary']=Object['assign'](_0x1ad7cb['cs']['dictionary'],_0x310cf),_0x1ad7cb['cs']['getPluralForm']=_0x5b68a9;})(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':_0x3084f2=>0x1!=_0x3084f2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x4a5bb3=>{const {da:{dictionary:_0x49c6fc,getPluralForm:_0x3e7034}}={'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':_0x2c2ed8=>0x1!=_0x2c2ed8}};_0x4a5bb3['da']||={'dictionary':{},'getPluralForm':null},_0x4a5bb3['da']['dictionary']=Object['assign'](_0x4a5bb3['da']['dictionary'],_0x49c6fc),_0x4a5bb3['da']['getPluralForm']=_0x3e7034;})(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':_0x44ef85=>0x1!=_0x44ef85}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x1636db=>{const {'de-ch':{dictionary:_0x26d14d,getPluralForm:_0x1d2479}}={'de-ch':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x52f3fe=>0x1!=_0x52f3fe}};_0x1636db['de-ch']||={'dictionary':{},'getPluralForm':null},_0x1636db['de-ch']['dictionary']=Object['assign'](_0x1636db['de-ch']['dictionary'],_0x26d14d),_0x1636db['de-ch']['getPluralForm']=_0x1d2479;})(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':_0x3a9c63=>0x1!=_0x3a9c63}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x1d1d5d=>{const {de:{dictionary:_0x8735f1,getPluralForm:_0x22abc0}}={'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':_0x224bb0=>0x1!=_0x224bb0}};_0x1d1d5d['de']||={'dictionary':{},'getPluralForm':null},_0x1d1d5d['de']['dictionary']=Object['assign'](_0x1d1d5d['de']['dictionary'],_0x8735f1),_0x1d1d5d['de']['getPluralForm']=_0x22abc0;})(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':_0x3b5106=>0x1!=_0x3b5106}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x53ecb3=>{const {el:{dictionary:_0x538d66,getPluralForm:_0x4de97e}}={'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':_0x5406cb=>0x1!=_0x5406cb}};_0x53ecb3['el']||={'dictionary':{},'getPluralForm':null},_0x53ecb3['el']['dictionary']=Object['assign'](_0x53ecb3['el']['dictionary'],_0x538d66),_0x53ecb3['el']['getPluralForm']=_0x4de97e;})(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':_0x2d6cf2=>0x1!=_0x2d6cf2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x3e49e3=>{const {'en-au':{dictionary:_0x13b1a5,getPluralForm:_0x19f4ae}}={'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':_0x5353cb=>0x1!=_0x5353cb}};_0x3e49e3['en-au']||={'dictionary':{},'getPluralForm':null},_0x3e49e3['en-au']['dictionary']=Object['assign'](_0x3e49e3['en-au']['dictionary'],_0x13b1a5),_0x3e49e3['en-au']['getPluralForm']=_0x19f4ae;})(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':_0x30b2d4=>0x1!=_0x30b2d4}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x2b7169=>{const {'en-gb':{dictionary:_0x327782,getPluralForm:_0x15b568}}={'en-gb':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x358a2f=>0x1!=_0x358a2f}};_0x2b7169['en-gb']||={'dictionary':{},'getPluralForm':null},_0x2b7169['en-gb']['dictionary']=Object['assign'](_0x2b7169['en-gb']['dictionary'],_0x327782),_0x2b7169['en-gb']['getPluralForm']=_0x15b568;})(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':_0x295f19=>0x1!=_0x295f19}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x38ee1e=>{const {en:{dictionary:_0x12e322,getPluralForm:_0x34e0f2}}={'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':_0x26ecc8=>0x1!=_0x26ecc8}};_0x38ee1e['en']||={'dictionary':{},'getPluralForm':null},_0x38ee1e['en']['dictionary']=Object['assign'](_0x38ee1e['en']['dictionary'],_0x12e322),_0x38ee1e['en']['getPluralForm']=_0x34e0f2;})(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':_0x402334=>0x1!=_0x402334}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x49480a=>{const {eo:{dictionary:_0x3f2046,getPluralForm:_0x29be5c}}={'eo':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x417f11=>0x1!=_0x417f11}};_0x49480a['eo']||={'dictionary':{},'getPluralForm':null},_0x49480a['eo']['dictionary']=Object['assign'](_0x49480a['eo']['dictionary'],_0x3f2046),_0x49480a['eo']['getPluralForm']=_0x29be5c;})(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':_0x58cf87=>0x1!=_0x58cf87}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x2bc3bb=>{const {'es-co':{dictionary:_0x364ffa,getPluralForm:_0x70395b}}={'es-co':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0xf3ee39=>0x1!=_0xf3ee39}};_0x2bc3bb['es-co']||={'dictionary':{},'getPluralForm':null},_0x2bc3bb['es-co']['dictionary']=Object['assign'](_0x2bc3bb['es-co']['dictionary'],_0x364ffa),_0x2bc3bb['es-co']['getPluralForm']=_0x70395b;})(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':_0x43137c=>0x1!=_0x43137c}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x6d4b36=>{const {es:{dictionary:_0x26bab8,getPluralForm:_0x258522}}={'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':_0x394d3d=>0x1!=_0x394d3d}};_0x6d4b36['es']||={'dictionary':{},'getPluralForm':null},_0x6d4b36['es']['dictionary']=Object['assign'](_0x6d4b36['es']['dictionary'],_0x26bab8),_0x6d4b36['es']['getPluralForm']=_0x258522;})(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':_0x223a47=>0x1!=_0x223a47}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x257e12=>{const {et:{dictionary:_0x385442,getPluralForm:_0x1e49d7}}={'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':_0x59fb51=>0x1!=_0x59fb51}};_0x257e12['et']||={'dictionary':{},'getPluralForm':null},_0x257e12['et']['dictionary']=Object['assign'](_0x257e12['et']['dictionary'],_0x385442),_0x257e12['et']['getPluralForm']=_0x1e49d7;})(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':_0x479787=>0x1!=_0x479787}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0xf94dc=>{const {eu:{dictionary:_0x1a49d5,getPluralForm:_0x1f3308}}={'eu':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x21ddbd=>0x1!=_0x21ddbd}};_0xf94dc['eu']||={'dictionary':{},'getPluralForm':null},_0xf94dc['eu']['dictionary']=Object['assign'](_0xf94dc['eu']['dictionary'],_0x1a49d5),_0xf94dc['eu']['getPluralForm']=_0x1f3308;})(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':_0x74ff6f=>0x0}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x409223=>{const {fa:{dictionary:_0x4a9e2d,getPluralForm:_0x205c6d}}={'fa':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x224621=>0x0}};_0x409223['fa']||={'dictionary':{},'getPluralForm':null},_0x409223['fa']['dictionary']=Object['assign'](_0x409223['fa']['dictionary'],_0x4a9e2d),_0x409223['fa']['getPluralForm']=_0x205c6d;})(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':_0x277dcd=>0x1!=_0x277dcd}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x5a32d1=>{const {fi:{dictionary:_0x10a7f0,getPluralForm:_0x4ab63f}}={'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':_0x3bba31=>0x1!=_0x3bba31}};_0x5a32d1['fi']||={'dictionary':{},'getPluralForm':null},_0x5a32d1['fi']['dictionary']=Object['assign'](_0x5a32d1['fi']['dictionary'],_0x10a7f0),_0x5a32d1['fi']['getPluralForm']=_0x4ab63f;})(window['CKEDITOR_TRANSLATIONS']||={});
|