@ckeditor/ckeditor5-import-word 0.0.0-nightly-20250122.0 → 0.0.0-nightly-20250124.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/import-word.js +2 -2
- package/dist/index.js +1 -1
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +9 -7
- package/src/importword.js +1 -1
- package/src/importwordcommand.js +1 -1
- package/src/importwordediting.js +1 -1
- package/src/importwordui.js +1 -1
- package/src/index.js +1 -1
- package/src/utils/common-translations.js +1 -1
package/build/import-word.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
!function(t){const
|
|
1
|
+
!function(t){const e=t.en=t.en||{};e.dictionary=Object.assign(e.dictionary||{},{"An error occurred while importing the Word file.":"An error occurred while importing the Word file.","Import from Word":"Import from Word","Importing Word document":"Importing Word document"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})),
|
|
2
2
|
/*!
|
|
3
3
|
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
4
4
|
* For licensing, see LICENSE.md.
|
|
5
|
-
*/(()=>{var t={331:(t,r,e)=>{t.exports=e(237)("./src/clipboard.js")},782:(t,r,e)=>{t.exports=e(237)("./src/core.js")},783:(t,r,e)=>{t.exports=e(237)("./src/engine.js")},311:(t,r,e)=>{t.exports=e(237)("./src/ui.js")},584:(t,r,e)=>{t.exports=e(237)("./src/utils.js")},237:t=>{"use strict";t.exports=CKEditor5.dll}},r={};function e(n){var i=r[n];if(void 0!==i)return i.exports;var o=r[n]={exports:{}};return t[n](o,o.exports,e),o.exports}e.d=(t,r)=>{for(var n in r)e.o(r,n)&&!e.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:r[n]})},e.o=(t,r)=>Object.prototype.hasOwnProperty.call(t,r),e.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var n={};(()=>{"use strict";e.r(n),e.d(n,{ImportWord:()=>k,ImportWordEditing:()=>v,ImportWordUI:()=>c});var t=e(782),r=e(311);function i(t,r){const e=t.t;switch(r){case"Import from Word":return e("Import from Word");case"An error occurred while importing the Word file.":return e("An error occurred while importing the Word file.");case"Importing Word document":return e("Importing Word document");default:return r}}const o=a;function s(){const t=["Import from Word","get","children","isOfficialPlugin","isOn","set","init","commands","locale","125361SCBwAZ","componentFactory","27618ucOzYL","isPremiumPlugin","isEnabled","execute","view","isVisible","2034525WoEeYI","tooltip","bind","editing","isBusy","pluginName","_createButton","8169968UMVLoi","ImportWordUI","190zxumFk","label","importWord","editor","iconView","focus","done","15919kSMDZh","1371588TturKS","Importing Word document","40FyFWMx","menuBar:importWord","application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.openxmlformats-officedocument.wordprocessingml.template","2641877BmFWHj","18Ubozoz","add"];return(s=function(){return t})()}function a(t,r){const e=s();return(a=function(t,r){return e[t-=314]})(t,r)}!function(t){const r=a,e=t();for(;;)try{if(629645===parseInt(r(319))/1+parseInt(r(322))/2*(parseInt(r(339))/3)+parseInt(r(320))/4+-parseInt(r(345))/5*(-parseInt(r(326))/6)+-parseInt(r(325))/7+-parseInt(r(352))/8+parseInt(r(337))/9*(parseInt(r(354))/10))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(s);class c extends t.Plugin{static get[o(350)](){return o(353)}static get[o(331)](){return!0}static get[o(340)](){return!0}[o(334)](){const t=o,e=this[t(315)];e.ui[t(338)][t(327)](t(314),(()=>{const n=t,i=this[n(351)](r.FileDialogButtonView),o=e[n(335)][n(329)](n(314));return i[n(347)](n(332)).to(o,n(349)),i[n(346)]=!0,i})),e.ui[t(338)][t(327)](t(323),(()=>this[t(351)](r.MenuBarMenuListItemFileDialogButtonView)))}[o(351)](t){const e=o,n=this[e(315)],s=n[e(335)][e(329)](e(314)),a=new t(n[e(336)]),c=new r.SpinnerView;return a[e(333)]({acceptedType:e(324)}),a[e(333)]({icon:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="m14 0 5 4.5v8.892l-1.5-1.8V6.5h-5v-5h-8v3H3V0h11Zm0 2v3h3.3L14 2Z"/><path d="M10.74 18a2.76 2.76 0 0 1-.469-.5H3V19h9.25v-.374A2.737 2.737 0 0 1 10.74 18Z"/><path d="M8.5 6a1.5 1.5 0 0 1 1.493 1.356L10 7.5v7a1.5 1.5 0 0 1-1.356 1.493L8.5 16h-7a1.5 1.5 0 0 1-1.493-1.356L0 14.5v-7a1.5 1.5 0 0 1 1.356-1.493L1.5 6h7ZM7.483 8.795l-.042.088-.986 2.534-.947-2.528-.043-.092a.601.601 0 0 0-1.042.008l-.042.093-.883 2.465-.937-2.475-.042-.089a.6.6 0 0 0-1.107.42l.027.093 1.514 4 .044.092a.6.6 0 0 0 1.041-.01l.041-.092.88-2.458.925 2.467.046.096a.602.602 0 0 0 1.032 0l.043-.09 1.554-4 .028-.093a.6.6 0 0 0-1.104-.43v.001ZM11.674 15.407a.75.75 0 1 0 1.152.96L14 14.96V20h1.5v-5.04l1.174 1.408a.75.75 0 1 0 1.152-.96l-2.346-2.816a.95.95 0 0 0-1.46 0l-2.346 2.815Z"/></svg>\n'}),a[e(347)](e(341)).to(s),a[e(347)](e(355)).to(s,e(349),(t=>i(n[e(336)],e(t?321:328)))),c[e(347)](e(344)).to(s,e(349)),a[e(316)][e(347)](e(344)).to(s,e(349),(t=>!t)),a[e(330)][e(327)](c),a.on(e(318),((t,r)=>{const i=e;n[i(342)](i(314),r[0],{}),n[i(348)][i(343)][i(317)]()})),a}}var u=e(331),p=e(783),l=e(584);const d=h;function h(t,r){const e=f();return(h=function(t,r){return e[t-=381]})(t,r)}function f(){const t=["setSelection","bind","POST","_cleanUpAfterImport","catch","stringify","isEmpty","createBatch","isAtStart","clipboardInput","timeZone","getToken","_prepareForImport","isBusy","low","createPositionBefore","isAtEnd","resolve","395272CIRpsi","editing","paragraph","enqueueChange","_checkEnabled","file","set","json","split","html","checkChild","634551REAjLO","reject","change:range","element","_importMarker","_sendImportRequest","value","357990gOkXIh","3258423RpOlqr","formatting","root","setData","15830576XIfOsz","text/html","refresh","isCollapsed","aborted","locale","addMarker","import-word-plugin-import-cancelled","showWarning","model","signal","execute","converterUrl","position","getRange","schema","dataInsert","abort","getSelectedBlocks","plugins","Authorization","getFirstPosition","has","_handleImportResponse","removeMarker","get","MergeFields","rootName","editor","view","importWord:","resolvedOptions","parent","merge_fields","importWord","headers","stopListening","ImportWordEditing","1SIBEzC","DateTimeFormat","$graveyard","import-word-plugin-conversion-failed","finally","1377516OCyCAb","An error occurred while importing the Word file.","Notification","document","fire","mergeFields","config","deleteContent","isEnabled","selection","createPositionAfter","_abortController","1921608RBEUcH","_undoStepBatch","then","markers","_handleImportFailure"];return(f=function(){return t})()}!function(t){const r=h,e=t();for(;;)try{if(322594===parseInt(r(478))/1*(-parseInt(r(417))/2)+-parseInt(r(428))/3+-parseInt(r(394))/4+-parseInt(r(435))/5+-parseInt(r(382))/6+-parseInt(r(436))/7+parseInt(r(440))/8)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(f);class m extends t.Command{constructor(t){const r=h;super(t),this[r(423)](r(412),!1),this[r(432)]=null,this[r(395)]=null,this[r(393)]=null,this.on(r(456),((e,n)=>{const i=r,o=new DataTransfer;o[i(439)](i(441),n[i(426)]);const s=this[i(432)][i(454)]();this[i(468)][i(449)][i(420)](this[i(395)],(r=>{const e=i;this[e(432)][e(476)](),r[e(399)](s),t[e(418)][e(469)][e(385)][e(386)](e(408),{dataTransfer:o})}))}),{priority:r(413)})}[d(442)](){const t=d;this[t(390)]=this[t(421)]()}[d(451)](t,r={}){const e=d;if(this[e(412)])return Promise[e(416)]();const n=this[e(468)][e(388)][e(465)](e(474));if(this[e(468)][e(459)][e(462)](e(466))){const{prefix:t,suffix:n}=this[e(468)][e(388)][e(465)](e(387));r[e(473)]={prefix:t,suffix:n}}const i={url:n[e(452)],file:t,serviceConfig:{...r,formatting:n[e(437)],timezone:(new(Intl[e(479)]))[e(471)]()[e(409)]}};return this[e(411)](),this[e(433)](i)[e(396)](this[e(463)][e(400)](this))[e(403)](this[e(398)][e(400)](this))[e(381)](this[e(402)][e(400)](this))}[d(421)](){const t=d;if(this[t(412)])return!1;const r=this[t(468)][t(449)],e=r[t(455)],n=r[t(385)][t(391)],i=(0,l.first)(n[t(458)]());return!!i&&e[t(427)](i[t(472)],t(419))}[d(411)](){const t=d,r=this[t(468)],e=r[t(449)],n=e[t(385)][t(391)];this[t(393)]=new AbortController,this[t(395)]=r[t(449)][t(406)]({isUndoable:!0}),e[t(420)](this[t(395)],(r=>{const i=t;n[i(443)]||e[i(389)](n,{leaveUnmerged:!0});const o=n[i(461)](),s=(0,l.first)(n[i(458)]());let a;a=s.is(i(431),i(419))&&s[i(405)]?o:o[i(407)]?e[i(414)](s):o[i(415)]?e[i(392)](s):r[i(425)](o)[i(453)],this[i(432)]=r[i(446)](i(470)+(0,l.uid)(),{usingOperation:!1,affectsData:!1,range:new p.Range(a)}),this[i(432)].on(i(430),(()=>{const t=i;t(480)===this[t(432)][t(454)]()[t(438)][t(467)]&&this[t(393)][t(457)]()}))})),this[t(412)]=!0,this[t(442)]()}[d(402)](){const t=d,r=this[t(468)][t(449)];r[t(397)][t(462)](this[t(432)])&&r[t(420)](this[t(395)],(r=>{const e=t;r[e(464)](this[e(432)])})),this[t(432)]=null,this[t(395)]=null,this[t(393)]=null,this[t(412)]=!1,this[t(442)]()}[d(433)]({url:t,file:r,serviceConfig:e}){const n=d,i=this[n(468)][n(459)][n(465)](n(477))[n(410)](),o=new FormData;o[n(423)](n(388),JSON[n(404)](e)),o[n(423)](n(422),r);const s={method:n(401),headers:{},body:o,signal:this[n(393)][n(450)]};return i&&(s[n(475)][n(460)]=i[n(434)]),fetch(t,s)}[d(463)](t){const r=d;return t.ok?t[r(424)]()[r(396)]((t=>{const e=r;this[e(468)][e(449)][e(397)][e(462)](this[e(432)])&&e(480)!==this[e(432)][e(454)]()[e(438)][e(467)]&&this[e(386)](e(456),t)})):Promise[r(429)]()}[d(398)](){const t=d;if(this[t(393)][t(450)][t(444)])return void(0,l.logWarning)(t(447));const r=this[t(468)],e=i(r[t(445)],t(383));r[t(459)][t(465)](t(384))[t(448)](e),(0,l.logError)(t(481))}}const g=I;function I(t,r){const e=w();return(I=function(t,r){return e[t-=306]})(t,r)}!function(t){const r=I,e=t();for(;;)try{if(637994===parseInt(r(321))/1+parseInt(r(316))/2*(parseInt(r(336))/3)+-parseInt(r(334))/4+-parseInt(r(307))/5+parseInt(r(330))/6*(parseInt(r(323))/7)+-parseInt(r(332))/8*(-parseInt(r(328))/9)+parseInt(r(333))/10*(-parseInt(r(310))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(w);class v extends t.Plugin{static get[g(312)](){return g(337)}static get[g(315)](){return!0}static get[g(308)](){return!0}static get[g(324)](){const t=g;return[r.Notification,u.ClipboardPipeline,t(320)]}constructor(t){const r=g;super(t),this[r(322)]=null}async[g(338)](){const t=g,r=this[t(327)];r[t(340)][t(326)](t(309),{converterUrl:t(335),tokenUrl:(r[t(340)][t(318)](t(313))||{})[t(311)],formatting:{resets:t(319),defaults:t(319),styles:t(329)}}),r[t(325)][t(339)](t(309),new m(r));const{tokenUrl:e}=r[t(340)][t(318)](t(309));if(e){const{tokenUrl:n}=r[t(340)][t(318)](t(313))||{};this[t(322)]=e===n?r[t(314)][t(318)](t(320))[t(306)]:await r[t(314)][t(318)](t(320))[t(331)](e)}}[g(317)](){return this[g(322)]}}function w(){const t=["requires","commands","define","editor","514881ucYnkJ","inline","1446feBbrI","registerTokenUrl","112ilyBrV","8920PGJlho","2220232wUCdjy","https://docx-converter.cke-cs.com/v2/convert/docx-html","189798LPgalV","ImportWordEditing","init","add","config","token","4387340qHsnIh","isPremiumPlugin","importWord","8822BhvEpN","tokenUrl","pluginName","cloudServices","plugins","isOfficialPlugin","32pYQGnl","getToken","get","none","CloudServices","222489nYpECq","_token","21791dhNIvQ"];return(w=function(){return t})()}var y=W;function W(t,r){var e=b();return(W=function(t,r){return e[t-=201]})(t,r)}function b(){var t=["1143lNfViY","3954aJyYOq","isPremiumPlugin","isOfficialPlugin","67384RLWXOy","595144RJXXaO","5685GBEGxq","525TSgFsI","13210GbhiBg","pluginName","2TkSdZL","10317406JdXaMz","1460265OrcVCd","requires","388169qKzkSM","ImportWord"];return(b=function(){return t})()}!function(t){for(var r=W,e=t();;)try{if(405249===parseInt(r(201))/1*(parseInt(r(213))/2)+-parseInt(r(215))/3+-parseInt(r(208))/4+parseInt(r(209))/5*(-parseInt(r(204))/6)+-parseInt(r(210))/7*(-parseInt(r(207))/8)+parseInt(r(203))/9*(-parseInt(r(211))/10)+parseInt(r(214))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(b);class k extends t.Plugin{static get[y(212)](){return y(202)}static get[y(206)](){return!0}static get[y(205)](){return!0}static get[y(216)](){return[v,c]}}function x(){var t=["3142548Kqzvcy","117312APfVvh","350FZinKG","8XTjZVm","24OrkHON","1197kqjxvz","1424620iUCokI","336556YxoYSU","49982PqJQHE","2174485DpBZzB","13404zdWekG"];return(x=function(){return t})()}function O(t,r){var e=x();return(O=function(t,r){return e[t-=246]})(t,r)}!function(t){for(var r=O,e=t();;)try{if(320388===-parseInt(r(246))/1*(parseInt(r(250))/2)+-parseInt(r(254))/3+parseInt(r(248))/4+-parseInt(r(251))/5+parseInt(r(252))/6*(-parseInt(r(247))/7)+-parseInt(r(256))/8*(-parseInt(r(253))/9)+-parseInt(r(255))/10*(-parseInt(r(249))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(x)})(),(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 o=e[n];if(void 0!==o)return o.exports;var i=e[n]={exports:{}};return t[n](i,i.exports,r),i.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:()=>a});var t=r(782),e=r(311);function o(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 i=s;function s(t,e){const r=c();return(s=function(t,e){return r[t-=285]})(t,e)}!function(t){const e=s,r=t();for(;;)try{if(429648===parseInt(e(286))/1*(parseInt(e(297))/2)+parseInt(e(304))/3*(parseInt(e(307))/4)+parseInt(e(314))/5*(-parseInt(e(291))/6)+parseInt(e(317))/7+-parseInt(e(288))/8*(-parseInt(e(303))/9)+parseInt(e(306))/10+-parseInt(e(309))/11)break;r.push(r.shift())}catch(t){r.push(r.shift())}}(c);class a extends t.Plugin{static get[i(324)](){return i(313)}static get[i(287)](){return!0}static get[i(315)](){return!0}[i(321)](){const t=i,r=this[t(308)];r.ui[t(305)][t(293)](t(290),(()=>{const n=t,o=this[n(298)](e.FileDialogButtonView),i=r[n(295)][n(319)](n(290));return o[n(289)](n(300)).to(i,n(318)),o[n(312)]=!0,o})),r.ui[t(305)][t(293)](t(294),(()=>this[t(298)](e.MenuBarMenuListItemFileDialogButtonView)))}[i(298)](t){const r=i,n=this[r(308)],s=n[r(295)][r(319)](r(290)),a=new t(n[r(299)]),c=new e.SpinnerView;return a[r(311)]({acceptedType:r(310)}),a[r(311)]({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(289)](r(296)).to(s),a[r(289)](r(322)).to(s,r(318),(t=>o(n[r(299)],r(t?326:285)))),c[r(289)](r(316)).to(s,r(318)),a[r(301)][r(289)](r(316)).to(s,r(318),(t=>!t)),a[r(323)][r(293)](c),a.on(r(302),((t,e)=>{const o=r;n[o(325)](o(290),e[0],{}),n[o(327)][o(292)][o(320)]()})),a}}function c(){const t=["280yMdNVT","bind","importWord","4295646oIbRhd","view","add","menuBar:importWord","commands","isEnabled","466btxjaO","_createButton","locale","isOn","iconView","done","30663FJvDgc","38055PsKJbi","componentFactory","804830VcbWgz","220vzglwI","editor","10043770FoeDOr","application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.openxmlformats-officedocument.wordprocessingml.template","set","tooltip","ImportWordUI","5VaUjaj","isPremiumPlugin","isVisible","4839065xMmkZZ","isBusy","get","focus","init","label","children","pluginName","execute","Importing Word document","editing","Import from Word","2017vuOGKg","isOfficialPlugin"];return(c=function(){return t})()}var u=r(331),p=r(783),l=r(584);const d=f;function h(){const t=["_cleanUpAfterImport","setData","4645HDolSM","root","stopListening","isAtStart","change:range","addMarker","aborted","14CuDMSC","schema","view","document","import-word-plugin-conversion-failed","file","bind","refresh","_handleImportResponse","_checkEnabled","deleteContent","text/html","349394GDwyBw","position","160JatGAw","locale","isBusy","getToken","resolve","headers","parent","_abortController","element","plugins","getFirstPosition","rootName","import-word-plugin-import-cancelled","execute","isEnabled","getRange","Notification","createPositionBefore","selection","clipboardInput","MergeFields","timeZone","_undoStepBatch","11890406jYFUjO","setSelection","removeMarker","importWord","2733762vQoSWX","isEmpty","json","reject","editor","enqueueChange","DateTimeFormat","set","2056UvCGMW","_importMarker","mergeFields","158643FRmBno","6xBTDtl","555456dneZKM","dataInsert","signal","_sendImportRequest","paragraph","html","_prepareForImport","merge_fields","abort","converterUrl","fire","split","resolvedOptions","createBatch","value","low","createPositionAfter","model","Authorization","finally","POST","importWord:","isAtEnd","isCollapsed","41187zuoeot","get","getSelectedBlocks","$graveyard","_handleImportFailure","ImportWordEditing","An error occurred while importing the Word file.","editing","formatting","showWarning","config","checkChild","has","catch","then","markers","stringify"];return(h=function(){return t})()}function f(t,e){const r=h();return(f=function(t,e){return r[t-=384]})(t,e)}!function(t){const e=f,r=t();for(;;)try{if(329964===-parseInt(e(450))/1+parseInt(e(387))/2*(parseInt(e(412))/3)+parseInt(e(487))/4*(-parseInt(e(431))/5)+parseInt(e(479))/6+parseInt(e(438))/7*(-parseInt(e(388))/8)+parseInt(e(386))/9*(-parseInt(e(452))/10)+parseInt(e(475))/11)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(486)](e(454),!1),this[e(384)]=null,this[e(474)]=null,this[e(459)]=null,this.on(e(389),((r,n)=>{const o=e,i=new DataTransfer;i[o(430)](o(449),n[o(393)]);const s=this[o(384)][o(467)]();this[o(483)][o(405)][o(484)](this[o(474)],(e=>{const r=o;this[r(384)][r(433)](),e[r(476)](s),t[r(419)][r(440)][r(441)][r(398)](r(471),{dataTransfer:i})}))}),{priority:e(403)})}[d(445)](){const t=d;this[t(466)]=this[t(447)]()}[d(465)](t,e={}){const r=d;if(this[r(454)])return Promise[r(456)]();const n=this[r(483)][r(422)][r(413)](r(478));if(this[r(483)][r(461)][r(424)](r(472))){const{prefix:t,suffix:n}=this[r(483)][r(422)][r(413)](r(385));e[r(395)]={prefix:t,suffix:n}}const o={url:n[r(397)],file:t,serviceConfig:{...e,formatting:n[r(420)],timezone:(new(Intl[r(485)]))[r(400)]()[r(473)]}};return this[r(394)](),this[r(391)](o)[r(426)](this[r(446)][r(444)](this))[r(425)](this[r(416)][r(444)](this))[r(407)](this[r(429)][r(444)](this))}[d(447)](){const t=d;if(this[t(454)])return!1;const e=this[t(483)][t(405)],r=e[t(439)],n=e[t(441)][t(470)],o=(0,l.first)(n[t(414)]());return!!o&&r[t(423)](o[t(458)],t(392))}[d(394)](){const t=d,e=this[t(483)],r=e[t(405)],n=r[t(441)][t(470)];this[t(459)]=new AbortController,this[t(474)]=e[t(405)][t(401)]({isUndoable:!0}),r[t(484)](this[t(474)],(e=>{const o=t;n[o(411)]||r[o(448)](n,{leaveUnmerged:!0});const i=n[o(462)](),s=(0,l.first)(n[o(414)]());let a;a=s.is(o(460),o(392))&&s[o(480)]?i:i[o(434)]?r[o(469)](s):i[o(410)]?r[o(404)](s):e[o(399)](i)[o(451)],this[o(384)]=e[o(436)](o(409)+(0,l.uid)(),{usingOperation:!1,affectsData:!1,range:new p.Range(a)}),this[o(384)].on(o(435),(()=>{const t=o;t(415)===this[t(384)][t(467)]()[t(432)][t(463)]&&this[t(459)][t(396)]()}))})),this[t(454)]=!0,this[t(445)]()}[d(429)](){const t=d,e=this[t(483)][t(405)];e[t(427)][t(424)](this[t(384)])&&e[t(484)](this[t(474)],(e=>{const r=t;e[r(477)](this[r(384)])})),this[t(384)]=null,this[t(474)]=null,this[t(459)]=null,this[t(454)]=!1,this[t(445)]()}[d(391)]({url:t,file:e,serviceConfig:r}){const n=d,o=this[n(483)][n(461)][n(413)](n(417))[n(455)](),i=new FormData;i[n(486)](n(422),JSON[n(428)](r)),i[n(486)](n(443),e);const s={method:n(408),headers:{},body:i,signal:this[n(459)][n(390)]};return o&&(s[n(457)][n(406)]=o[n(402)]),fetch(t,s)}[d(446)](t){const e=d;return t.ok?t[e(481)]()[e(426)]((t=>{const r=e;this[r(483)][r(405)][r(427)][r(424)](this[r(384)])&&r(415)!==this[r(384)][r(467)]()[r(432)][r(463)]&&this[r(398)](r(389),t)})):Promise[e(482)]()}[d(416)](){const t=d;if(this[t(459)][t(390)][t(437)])return void(0,l.logWarning)(t(464));const e=this[t(483)],r=o(e[t(453)],t(418));e[t(461)][t(413)](t(468))[t(421)](r),(0,l.logError)(t(442))}}const g=I;function I(t,e){const r=v();return(I=function(t,e){return r[t-=275]})(t,e)}function v(){const t=["isPremiumPlugin","registerTokenUrl","https://docx-converter.cke-cs.com/v2/convert/docx-html","add","779336akxMtq","init","293062FPnDJV","192388nABeqM","define","CloudServices","get","15CerDTK","_token","editor","config","token","plugins","ImportWordEditing","importWord","cloudServices","604915krSCJQ","8471133EFDgdO","commands","36UDvEvD","tokenUrl","none","inline","getToken","requires","isOfficialPlugin","492324jSthHj","pluginName","280888jPVUpK"];return(v=function(){return t})()}!function(t){const e=I,r=t();for(;;)try{if(471733===parseInt(e(294))/1+-parseInt(e(293))/2*(-parseInt(e(298))/3)+-parseInt(e(286))/4+-parseInt(e(307))/5*(-parseInt(e(277))/6)+-parseInt(e(284))/7+-parseInt(e(291))/8+-parseInt(e(275))/9)break;r.push(r.shift())}catch(t){r.push(r.shift())}}(v);class w extends t.Plugin{static get[g(285)](){return g(304)}static get[g(283)](){return!0}static get[g(287)](){return!0}static get[g(282)](){const t=g;return[e.Notification,u.ClipboardPipeline,t(296)]}constructor(t){const e=g;super(t),this[e(299)]=null}async[g(292)](){const t=g,e=this[t(300)];e[t(301)][t(295)](t(305),{converterUrl:t(289),tokenUrl:(e[t(301)][t(297)](t(306))||{})[t(278)],formatting:{resets:t(279),defaults:t(279),styles:t(280)}}),e[t(276)][t(290)](t(305),new m(e));const{tokenUrl:r}=e[t(301)][t(297)](t(305));if(r){const{tokenUrl:n}=e[t(301)][t(297)](t(306))||{};this[t(299)]=r===n?e[t(303)][t(297)](t(296))[t(302)]:await e[t(303)][t(297)](t(296))[t(288)](r)}}[g(281)](){return this[g(299)]}}var b=W;function W(t,e){var r=x();return(W=function(t,e){return r[t-=121]})(t,e)}function x(){var t=["pluginName","521830JGKQUn","isPremiumPlugin","356454VtvZJU","18mejVVv","769159eDaden","2qGqRrh","6562240WwFLDK","ImportWord","1385740Ryhxfy","411897bPtfYN","isOfficialPlugin","requires","4609480LNrKRr","66lUVLjR"];return(x=function(){return t})()}!function(t){for(var e=W,r=t();;)try{if(946752===-parseInt(e(128))/1*(-parseInt(e(129))/2)+-parseInt(e(133))/3+-parseInt(e(130))/4+parseInt(e(124))/5+-parseInt(e(122))/6*(-parseInt(e(126))/7)+parseInt(e(121))/8*(parseInt(e(127))/9)+parseInt(e(132))/10)break;r.push(r.shift())}catch(t){r.push(r.shift())}}(x);class y extends t.Plugin{static get[b(123)](){return b(131)}static get[b(134)](){return!0}static get[b(125)](){return!0}static get[b(135)](){return[w,a]}}function k(){var t=["326406UvimGn","8XgrmGD","3bIVgax","834584koVNnr","10018WokZQZ","1997605cteMFA","3267693koQXct","48132WZnIQj","11lVgGog","20gkPAZU","168806EfuoIQ","2977bhawOw","28bHMVDo"];return(k=function(){return t})()}function P(t,e){var r=k();return(P=function(t,e){return r[t-=328]})(t,e)}!function(t){for(var e=P,r=t();;)try{if(232754===-parseInt(e(334))/1*(-parseInt(e(330))/2)+-parseInt(e(328))/3*(-parseInt(e(329))/4)+-parseInt(e(331))/5+-parseInt(e(339))/6*(parseInt(e(338))/7)+-parseInt(e(340))/8*(parseInt(e(332))/9)+-parseInt(e(335))/10*(-parseInt(e(336))/11)+-parseInt(e(333))/12*(-parseInt(e(337))/13))break;r.push(r.shift())}catch(t){r.push(r.shift())}}(k)})(),(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 _0x23bac9,Command as _0x3c5054}from'@ckeditor/ckeditor5-core/dist/index.js';import{FileDialogButtonView as _0x444c71,MenuBarMenuListItemFileDialogButtonView as _0x26bb25,SpinnerView as _0x16f704,Notification as _0x496fdc}from'@ckeditor/ckeditor5-ui/dist/index.js';import{ClipboardPipeline as _0x15b290}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{Range as _0x1892e6}from'@ckeditor/ckeditor5-engine/dist/index.js';import{first as _0x1ffbc4,uid as _0x44179c,logWarning as _0xed1c2e,logError as _0x322637}from'@ckeditor/ckeditor5-utils/dist/index.js';function p(_0x4d250d,_0x2b2700){const t=_0x4d250d['t'];switch(_0x2b2700){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 _0x2b2700;}}class i extends _0x23bac9{static get['pluginName'](){return'ImportWordUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x58882d=this['editor'];_0x58882d['ui']['componentFactory']['add']('importWord',()=>{const _0x25f26c=this['_createButton'](_0x444c71),_0x5ad9db=_0x58882d['commands']['get']('importWord');return _0x25f26c['bind']('isOn')['to'](_0x5ad9db,'isBusy'),_0x25f26c['tooltip']=!0x0,_0x25f26c;}),_0x58882d['ui']['componentFactory']['add']('menuBar:importWord',()=>this['_createButton'](_0x26bb25));}['_createButton'](_0x3bcbf6){const _0x5be335=this['editor'],_0x4cf177=_0x5be335['commands']['get']('importWord'),_0x54d3e2=new _0x3bcbf6(_0x5be335['locale']),_0x1daf7c=new _0x16f704();return _0x54d3e2['set']({'acceptedType':'application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.openxmlformats-officedocument.wordprocessingml.template'}),_0x54d3e2['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'}),_0x54d3e2['bind']('isEnabled')['to'](_0x4cf177),_0x54d3e2['bind']('label')['to'](_0x4cf177,'isBusy',_0x317343=>p(_0x5be335['locale'],_0x317343?'Importing\x20Word\x20document':'Import\x20from\x20Word')),_0x1daf7c['bind']('isVisible')['to'](_0x4cf177,'isBusy'),_0x54d3e2['iconView']['bind']('isVisible')['to'](_0x4cf177,'isBusy',_0x4522aa=>!_0x4522aa),_0x54d3e2['children']['add'](_0x1daf7c),_0x54d3e2['on']('done',(_0x2607bd,_0x45026)=>{_0x5be335['execute']('importWord',_0x45026[0x0],{}),_0x5be335['editing']['view']['focus']();}),_0x54d3e2;}}class d extends _0x3c5054{['_importMarker'];['_undoStepBatch'];['_abortController'];constructor(_0x3b1f29){super(_0x3b1f29),this['set']('isBusy',!0x1),this['_importMarker']=null,this['_undoStepBatch']=null,this['_abortController']=null,this['on']('dataInsert',(_0x4b419e,_0x4855b7)=>{const _0x3aed3b=new DataTransfer();_0x3aed3b['setData']('text/html',_0x4855b7['html']);const _0x49dabf=this['_importMarker']['getRange']();this['editor']['model']['enqueueChange'](this['_undoStepBatch'],_0x46abc6=>{this['_importMarker']['stopListening'](),_0x46abc6['setSelection'](_0x49dabf),_0x3b1f29['editing']['view']['document']['fire']('clipboardInput',{'dataTransfer':_0x3aed3b});});},{'priority':'low'});}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x619589,_0x31879a={}){if(this['isBusy'])return Promise['resolve']();const _0x259386=this['editor']['config']['get']('importWord');if(this['editor']['plugins']['has']('MergeFields')){const {prefix:_0x5b71db,suffix:_0x4c275d}=this['editor']['config']['get']('mergeFields');_0x31879a['merge_fields']={'prefix':_0x5b71db,'suffix':_0x4c275d};}const _0x515757={'url':_0x259386['converterUrl'],'file':_0x619589,'serviceConfig':{..._0x31879a,'formatting':_0x259386['formatting'],'timezone':new Intl['DateTimeFormat']()['resolvedOptions']()['timeZone']}};return this['_prepareForImport'](),this['_sendImportRequest'](_0x515757)['then'](this['_handleImportResponse']['bind'](this))['catch'](this['_handleImportFailure']['bind'](this))['finally'](this['_cleanUpAfterImport']['bind'](this));}['_checkEnabled'](){if(this['isBusy'])return!0x1;const _0x13c770=this['editor']['model'],_0x4ab002=_0x13c770['schema'],_0x2deb4d=_0x13c770['document']['selection'],_0x3646cc=_0x1ffbc4(_0x2deb4d['getSelectedBlocks']());return!!_0x3646cc&&_0x4ab002['checkChild'](_0x3646cc['parent'],'paragraph');}['_prepareForImport'](){const _0x39d53c=this['editor'],_0xe460c6=_0x39d53c['model'],_0x2b331a=_0xe460c6['document']['selection'];this['_abortController']=new AbortController(),this['_undoStepBatch']=_0x39d53c['model']['createBatch']({'isUndoable':!0x0}),_0xe460c6['enqueueChange'](this['_undoStepBatch'],_0x2d6e31=>{_0x2b331a['isCollapsed']||_0xe460c6['deleteContent'](_0x2b331a,{'leaveUnmerged':!0x0});const _0x22b5a5=_0x2b331a['getFirstPosition'](),_0x364243=_0x1ffbc4(_0x2b331a['getSelectedBlocks']());let _0x2a8385;_0x2a8385=_0x364243['is']('element','paragraph')&&_0x364243['isEmpty']?_0x22b5a5:_0x22b5a5['isAtStart']?_0xe460c6['createPositionBefore'](_0x364243):_0x22b5a5['isAtEnd']?_0xe460c6['createPositionAfter'](_0x364243):_0x2d6e31['split'](_0x22b5a5)['position'],this['_importMarker']=_0x2d6e31['addMarker']('importWord:'+_0x44179c(),{'usingOperation':!0x1,'affectsData':!0x1,'range':new _0x1892e6(_0x2a8385)}),this['_importMarker']['on']('change:range',()=>{'$graveyard'===this['_importMarker']['getRange']()['root']['rootName']&&this['_abortController']['abort']();});}),this['isBusy']=!0x0,this['refresh']();}['_cleanUpAfterImport'](){const _0x53a271=this['editor']['model'];_0x53a271['markers']['has'](this['_importMarker'])&&_0x53a271['enqueueChange'](this['_undoStepBatch'],_0x52b84f=>{_0x52b84f['removeMarker'](this['_importMarker']);}),this['_importMarker']=null,this['_undoStepBatch']=null,this['_abortController']=null,this['isBusy']=!0x1,this['refresh']();}['_sendImportRequest']({url:_0xbb090c,file:_0x3d68da,serviceConfig:_0x12ba2c}){const _0x3759bb=this['editor']['plugins']['get']('ImportWordEditing')['getToken'](),_0xa1a0c7=new FormData();_0xa1a0c7['set']('config',JSON['stringify'](_0x12ba2c)),_0xa1a0c7['set']('file',_0x3d68da);const _0x189a00={'method':'POST','headers':{},'body':_0xa1a0c7,'signal':this['_abortController']['signal']};return _0x3759bb&&(_0x189a00['headers']['Authorization']=_0x3759bb['value']),fetch(_0xbb090c,_0x189a00);}['_handleImportResponse'](_0x4766d4){return _0x4766d4['ok']?_0x4766d4['json']()['then'](_0x16a527=>{if(!this['editor']['model']['markers']['has'](this['_importMarker']))return;'$graveyard'!==this['_importMarker']['getRange']()['root']['rootName']&&this['fire']('dataInsert',_0x16a527);}):Promise['reject']();}['_handleImportFailure'](){if(this['_abortController']['signal']['aborted'])return void _0xed1c2e('import-word-plugin-import-cancelled');const _0x4b09b0=this['editor'],_0x1cb24c=p(_0x4b09b0['locale'],'An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.');_0x4b09b0['plugins']['get']('Notification')['showWarning'](_0x1cb24c),_0x322637('import-word-plugin-conversion-failed');}}class e extends _0x23bac9{['_token'];static get['pluginName'](){return'ImportWordEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x496fdc,_0x15b290,'CloudServices'];}constructor(_0xe320e8){super(_0xe320e8),this['_token']=null;}async['init'](){const _0x79dd86=this['editor'];_0x79dd86['config']['define']('importWord',{'converterUrl':'https://docx-converter.cke-cs.com/v2/convert/docx-html','tokenUrl':(_0x79dd86['config']['get']('cloudServices')||{})['tokenUrl'],'formatting':{'resets':'none','defaults':'none','styles':'inline'}}),_0x79dd86['commands']['add']('importWord',new d(_0x79dd86));const {tokenUrl:_0x1c4b1a}=_0x79dd86['config']['get']('importWord');if(_0x1c4b1a){const {tokenUrl:_0x30f2e0}=_0x79dd86['config']['get']('cloudServices')||{};this['_token']=_0x1c4b1a===_0x30f2e0?_0x79dd86['plugins']['get']('CloudServices')['token']:await _0x79dd86['plugins']['get']('CloudServices')['registerTokenUrl'](_0x1c4b1a);}}['getToken'](){return this['_token'];}}class o extends _0x23bac9{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':_0x42366c=>0x1!=_0x42366c}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x5f5aae=>{const {af:{dictionary:_0x4cb524,getPluralForm:_0x584716}}={'af':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x1d608c=>0x1!=_0x1d608c}};_0x5f5aae['af']||={'dictionary':{},'getPluralForm':null},_0x5f5aae['af']['dictionary']=Object['assign'](_0x5f5aae['af']['dictionary'],_0x4cb524),_0x5f5aae['af']['getPluralForm']=_0x584716;})(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':_0x3d1757=>0x0==_0x3d1757?0x0:0x1==_0x3d1757?0x1:0x2==_0x3d1757?0x2:_0x3d1757%0x64>=0x3&&_0x3d1757%0x64<=0xa?0x3:_0x3d1757%0x64>=0xb?0x4:0x5}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x4dd738=>{const {ar:{dictionary:_0xea2805,getPluralForm:_0x54c904}}={'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':_0x30e7fa=>0x0==_0x30e7fa?0x0:0x1==_0x30e7fa?0x1:0x2==_0x30e7fa?0x2:_0x30e7fa%0x64>=0x3&&_0x30e7fa%0x64<=0xa?0x3:_0x30e7fa%0x64>=0xb?0x4:0x5}};_0x4dd738['ar']||={'dictionary':{},'getPluralForm':null},_0x4dd738['ar']['dictionary']=Object['assign'](_0x4dd738['ar']['dictionary'],_0xea2805),_0x4dd738['ar']['getPluralForm']=_0x54c904;})(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':_0x3e3b2f=>0x1!=_0x3e3b2f}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x48a4c3=>{const {ast:{dictionary:_0x234aa0,getPluralForm:_0x3e8525}}={'ast':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x26d4a2=>0x1!=_0x26d4a2}};_0x48a4c3['ast']||={'dictionary':{},'getPluralForm':null},_0x48a4c3['ast']['dictionary']=Object['assign'](_0x48a4c3['ast']['dictionary'],_0x234aa0),_0x48a4c3['ast']['getPluralForm']=_0x3e8525;})(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':_0x9d0036=>0x1!=_0x9d0036}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0xb64afc=>{const {az:{dictionary:_0x31d32d,getPluralForm:_0x1fa169}}={'az':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x13b8a2=>0x1!=_0x13b8a2}};_0xb64afc['az']||={'dictionary':{},'getPluralForm':null},_0xb64afc['az']['dictionary']=Object['assign'](_0xb64afc['az']['dictionary'],_0x31d32d),_0xb64afc['az']['getPluralForm']=_0x1fa169;})(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':_0x3e88f8=>0x1!=_0x3e88f8}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x436f39=>{const {bg:{dictionary:_0x42e57e,getPluralForm:_0x70aa4c}}={'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':_0x48f0dd=>0x1!=_0x48f0dd}};_0x436f39['bg']||={'dictionary':{},'getPluralForm':null},_0x436f39['bg']['dictionary']=Object['assign'](_0x436f39['bg']['dictionary'],_0x42e57e),_0x436f39['bg']['getPluralForm']=_0x70aa4c;})(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':_0x43f3e5=>0x1!=_0x43f3e5}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x147e73=>{const {bn:{dictionary:_0x536572,getPluralForm:_0x13f01c}}={'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':_0x439bd9=>0x1!=_0x439bd9}};_0x147e73['bn']||={'dictionary':{},'getPluralForm':null},_0x147e73['bn']['dictionary']=Object['assign'](_0x147e73['bn']['dictionary'],_0x536572),_0x147e73['bn']['getPluralForm']=_0x13f01c;})(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':_0x4dde20=>_0x4dde20%0xa==0x1&&_0x4dde20%0x64!=0xb?0x0:_0x4dde20%0xa>=0x2&&_0x4dde20%0xa<=0x4&&(_0x4dde20%0x64<0xa||_0x4dde20%0x64>=0x14)?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x5a2fbf=>{const {bs:{dictionary:_0x40911a,getPluralForm:_0x52c2e4}}={'bs':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x20feb8=>_0x20feb8%0xa==0x1&&_0x20feb8%0x64!=0xb?0x0:_0x20feb8%0xa>=0x2&&_0x20feb8%0xa<=0x4&&(_0x20feb8%0x64<0xa||_0x20feb8%0x64>=0x14)?0x1:0x2}};_0x5a2fbf['bs']||={'dictionary':{},'getPluralForm':null},_0x5a2fbf['bs']['dictionary']=Object['assign'](_0x5a2fbf['bs']['dictionary'],_0x40911a),_0x5a2fbf['bs']['getPluralForm']=_0x52c2e4;})(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':_0x487de5=>0x1!=_0x487de5}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x18def1=>{const {ca:{dictionary:_0xfc4046,getPluralForm:_0x3b9df7}}={'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':_0x357a41=>0x1!=_0x357a41}};_0x18def1['ca']||={'dictionary':{},'getPluralForm':null},_0x18def1['ca']['dictionary']=Object['assign'](_0x18def1['ca']['dictionary'],_0xfc4046),_0x18def1['ca']['getPluralForm']=_0x3b9df7;})(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':_0x319df8=>0x1==_0x319df8?0x0:_0x319df8>=0x2&&_0x319df8<=0x4?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x321987=>{const {cs:{dictionary:_0x18b83d,getPluralForm:_0x1dac31}}={'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':_0x3381ee=>0x1==_0x3381ee?0x0:_0x3381ee>=0x2&&_0x3381ee<=0x4?0x1:0x2}};_0x321987['cs']||={'dictionary':{},'getPluralForm':null},_0x321987['cs']['dictionary']=Object['assign'](_0x321987['cs']['dictionary'],_0x18b83d),_0x321987['cs']['getPluralForm']=_0x1dac31;})(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':_0x4f37eb=>0x1!=_0x4f37eb}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x320035=>{const {da:{dictionary:_0xec9d18,getPluralForm:_0x2a175f}}={'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':_0x499949=>0x1!=_0x499949}};_0x320035['da']||={'dictionary':{},'getPluralForm':null},_0x320035['da']['dictionary']=Object['assign'](_0x320035['da']['dictionary'],_0xec9d18),_0x320035['da']['getPluralForm']=_0x2a175f;})(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':_0x352e9a=>0x1!=_0x352e9a}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x5577a9=>{const {'de-ch':{dictionary:_0x56288c,getPluralForm:_0x33dcba}}={'de-ch':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x39f43e=>0x1!=_0x39f43e}};_0x5577a9['de-ch']||={'dictionary':{},'getPluralForm':null},_0x5577a9['de-ch']['dictionary']=Object['assign'](_0x5577a9['de-ch']['dictionary'],_0x56288c),_0x5577a9['de-ch']['getPluralForm']=_0x33dcba;})(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':_0x15f65a=>0x1!=_0x15f65a}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x390bdc=>{const {de:{dictionary:_0x3a4e90,getPluralForm:_0x5a1673}}={'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':_0x14f6c8=>0x1!=_0x14f6c8}};_0x390bdc['de']||={'dictionary':{},'getPluralForm':null},_0x390bdc['de']['dictionary']=Object['assign'](_0x390bdc['de']['dictionary'],_0x3a4e90),_0x390bdc['de']['getPluralForm']=_0x5a1673;})(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':_0x3848bd=>0x1!=_0x3848bd}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x42bae2=>{const {el:{dictionary:_0xbb2e4d,getPluralForm:_0x7d3634}}={'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':_0x4b747d=>0x1!=_0x4b747d}};_0x42bae2['el']||={'dictionary':{},'getPluralForm':null},_0x42bae2['el']['dictionary']=Object['assign'](_0x42bae2['el']['dictionary'],_0xbb2e4d),_0x42bae2['el']['getPluralForm']=_0x7d3634;})(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':_0x5bc838=>0x1!=_0x5bc838}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x3e8b9d=>{const {'en-au':{dictionary:_0x5de3af,getPluralForm:_0x531c2f}}={'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':_0x7759a1=>0x1!=_0x7759a1}};_0x3e8b9d['en-au']||={'dictionary':{},'getPluralForm':null},_0x3e8b9d['en-au']['dictionary']=Object['assign'](_0x3e8b9d['en-au']['dictionary'],_0x5de3af),_0x3e8b9d['en-au']['getPluralForm']=_0x531c2f;})(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':_0x34127a=>0x1!=_0x34127a}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x4a8619=>{const {'en-gb':{dictionary:_0x6c16fa,getPluralForm:_0x4af9c2}}={'en-gb':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x27c97f=>0x1!=_0x27c97f}};_0x4a8619['en-gb']||={'dictionary':{},'getPluralForm':null},_0x4a8619['en-gb']['dictionary']=Object['assign'](_0x4a8619['en-gb']['dictionary'],_0x6c16fa),_0x4a8619['en-gb']['getPluralForm']=_0x4af9c2;})(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':_0x113778=>0x1!=_0x113778}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x5c1f75=>{const {en:{dictionary:_0xc0eaa7,getPluralForm:_0x2f767b}}={'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':_0x8c6374=>0x1!=_0x8c6374}};_0x5c1f75['en']||={'dictionary':{},'getPluralForm':null},_0x5c1f75['en']['dictionary']=Object['assign'](_0x5c1f75['en']['dictionary'],_0xc0eaa7),_0x5c1f75['en']['getPluralForm']=_0x2f767b;})(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':_0x367cfc=>0x1!=_0x367cfc}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x4c614a=>{const {eo:{dictionary:_0x5ed956,getPluralForm:_0x45d3a1}}={'eo':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x27d522=>0x1!=_0x27d522}};_0x4c614a['eo']||={'dictionary':{},'getPluralForm':null},_0x4c614a['eo']['dictionary']=Object['assign'](_0x4c614a['eo']['dictionary'],_0x5ed956),_0x4c614a['eo']['getPluralForm']=_0x45d3a1;})(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':_0x30efb2=>0x1!=_0x30efb2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x5b1b82=>{const {'es-co':{dictionary:_0xf406c7,getPluralForm:_0x3cc603}}={'es-co':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x52cbab=>0x1!=_0x52cbab}};_0x5b1b82['es-co']||={'dictionary':{},'getPluralForm':null},_0x5b1b82['es-co']['dictionary']=Object['assign'](_0x5b1b82['es-co']['dictionary'],_0xf406c7),_0x5b1b82['es-co']['getPluralForm']=_0x3cc603;})(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':_0x150bf2=>0x1!=_0x150bf2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x34e86b=>{const {es:{dictionary:_0x5f3750,getPluralForm:_0x255bb6}}={'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':_0x285f5c=>0x1!=_0x285f5c}};_0x34e86b['es']||={'dictionary':{},'getPluralForm':null},_0x34e86b['es']['dictionary']=Object['assign'](_0x34e86b['es']['dictionary'],_0x5f3750),_0x34e86b['es']['getPluralForm']=_0x255bb6;})(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':_0x26eee0=>0x1!=_0x26eee0}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x3bd4d9=>{const {et:{dictionary:_0x172da2,getPluralForm:_0x1d7915}}={'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':_0x5babe6=>0x1!=_0x5babe6}};_0x3bd4d9['et']||={'dictionary':{},'getPluralForm':null},_0x3bd4d9['et']['dictionary']=Object['assign'](_0x3bd4d9['et']['dictionary'],_0x172da2),_0x3bd4d9['et']['getPluralForm']=_0x1d7915;})(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':_0x1e01c4=>0x1!=_0x1e01c4}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x1fce0c=>{const {eu:{dictionary:_0x4e907e,getPluralForm:_0x259c92}}={'eu':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x47faf2=>0x1!=_0x47faf2}};_0x1fce0c['eu']||={'dictionary':{},'getPluralForm':null},_0x1fce0c['eu']['dictionary']=Object['assign'](_0x1fce0c['eu']['dictionary'],_0x4e907e),_0x1fce0c['eu']['getPluralForm']=_0x259c92;})(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':_0x55b0db=>0x0}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x17a081=>{const {fa:{dictionary:_0x54e1d6,getPluralForm:_0x370014}}={'fa':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x259b33=>0x0}};_0x17a081['fa']||={'dictionary':{},'getPluralForm':null},_0x17a081['fa']['dictionary']=Object['assign'](_0x17a081['fa']['dictionary'],_0x54e1d6),_0x17a081['fa']['getPluralForm']=_0x370014;})(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':_0x128881=>0x1!=_0x128881}};
|