@ckeditor/ckeditor5-paste-from-office-enhanced 39.0.2 → 40.0.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.
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md.
4
- */(()=>{var t={945:(t,e,n)=>{t.exports=n(79)("./src/clipboard.js")},704:(t,e,n)=>{t.exports=n(79)("./src/core.js")},492:(t,e,n)=>{t.exports=n(79)("./src/engine.js")},209:(t,e,n)=>{t.exports=n(79)("./src/utils.js")},79:t=>{"use strict";t.exports=CKEditor5.dll}},e={};function n(r){var o=e[r];if(void 0!==o)return o.exports;var i=e[r]={exports:{}};return t[r](i,i.exports,n),i.exports}n.d=(t,e)=>{for(var r in e)n.o(e,r)&&!n.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),n.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var r={};(()=>{"use strict";n.r(r),n.d(r,{PasteFromOfficeEnhanced:()=>ft});var t=n(704),e=(n(945),n(492));function o(t,n){if(!t.childCount)return;const r=new e.UpcastWriter(t.document),o=function(t,n){const r=n.createRangeIn(t),o=new e.Matcher({name:/^p|h\d+$/,styles:{"mso-list":/.*/}}),i=[];for(const t of r)if("elementStart"===t.type&&o.match(t.item)){const e=c(t.item);i.push({element:t.item,id:e.id,order:e.order,indent:e.indent})}return i}(t,r);if(!o.length)return;let a=null,u=1;o.forEach(((t,c)=>{const l=function(t,e){if(!t)return!0;if(t.id!==e.id)return e.indent-t.indent!=1;const n=e.element.previousSibling;if(!n)return!0;return r=n,!(r.is("element","ol")||r.is("element","ul"));var r}(o[c-1],t),f=l?null:o[c-1],p=(m=t,(d=f)?m.indent-d.indent:m.indent-1);var d,m;if(l&&(a=null,u=1),!a||0!==p){const e=function(t,e){const n=new RegExp(`@list l${t.id}:level${t.indent}\\s*({[^}]*)`,"gi"),r=/mso-level-number-format:([^;]{0,100});/gi,o=/mso-level-start-at:\s{0,100}([0-9]{0,10})\s{0,100};/gi,s=n.exec(e);let c="decimal",a="ol",u=null;if(s&&s[1]){const e=r.exec(s[1]);if(e&&e[1]&&(c=e[1].trim(),a="bullet"!==c&&"image"!==c?"ol":"ul"),"bullet"===c){const e=function(t){const e=function(t){if(t.getChild(0).is("$text"))return null;for(const e of t.getChildren()){if(!e.is("element","span"))continue;const t=e.getChild(0);if(t)return t.is("$text")?t:t.getChild(0)}return null}(t);if(!e)return null;const n=e._data;if("o"===n)return"circle";if("·"===n)return"disc";if("§"===n)return"square";return null}(t.element);e&&(c=e)}else{const t=o.exec(s[1]);t&&t[1]&&(u=parseInt(t[1]))}}return{type:a,startIndex:u,style:i(c)}}(t,n);if(a){if(t.indent>u){const t=a.getChild(a.childCount-1),n=t.getChild(t.childCount-1);a=s(e,n,r),u+=1}else if(t.indent<u){const e=u-t.indent;a=function(t,e){const n=t.getAncestors({parentFirst:!0});let r=null,o=0;for(const t of n)if((t.is("element","ul")||t.is("element","ol"))&&o++,o===e){r=t;break}return r}(a,e),u=t.indent}}else a=s(e,t.element,r);t.indent<=u&&(a.is("element",e.type)||(a=r.rename(e.type,a)))}const x=function(t,n){return function(t,n){const r=new e.Matcher({name:"span",styles:{"mso-list":"Ignore"}}),o=n.createRangeIn(t);for(const t of o)"elementStart"===t.type&&r.match(t.item)&&n.remove(t.item)}(t,n),n.removeStyle("text-indent",t),n.rename("li",t)}(t.element,r);r.appendChild(x,a)}))}function i(t){if(t.startsWith("arabic-leading-zero"))return"decimal-leading-zero";switch(t){case"alpha-upper":return"upper-alpha";case"alpha-lower":return"lower-alpha";case"roman-upper":return"upper-roman";case"roman-lower":return"lower-roman";case"circle":case"disc":case"square":return t;default:return null}}function s(t,e,n){const r=e.parent,o=n.createElement(t.type),i=r.getChildIndex(e)+1;return n.insertChild(i,o,r),t.style&&n.setStyle("list-style-type",t.style,o),t.startIndex&&t.startIndex>1&&n.setAttribute("start",t.startIndex,o),o}function c(t){const e={},n=t.getStyle("mso-list");if(n){const t=n.match(/(^|\s{1,100})l(\d+)/i),r=n.match(/\s{0,100}lfo(\d+)/i),o=n.match(/\s{0,100}level(\d+)/i);t&&r&&o&&(e.id=t[2],e.order=r[1],e.indent=parseInt(o[1]))}return e}function a(t,n){if(!t.childCount)return;const r=new e.UpcastWriter(t.document),o=function(t,n){const r=n.createRangeIn(t),o=new e.Matcher({name:/v:(.+)/}),i=[];for(const t of r){if("elementStart"!=t.type)continue;const e=t.item,n=e.previousSibling,r=n&&n.is("element")?n.name:null;o.match(e)&&e.getAttribute("o:gfxdata")&&"v:shapetype"!==r&&i.push(t.item.getAttribute("id"))}return i}(t,r);!function(t,n,r){const o=r.createRangeIn(n),i=new e.Matcher({name:"img"}),s=[];for(const e of o)if(e.item.is("element")&&i.match(e.item)){const n=e.item,r=n.getAttribute("v:shapes")?n.getAttribute("v:shapes").split(" "):[];r.length&&r.every((e=>t.indexOf(e)>-1))?s.push(n):n.getAttribute("src")||s.push(n)}for(const t of s)r.remove(t)}(o,t,r),function(t,e,n){const r=n.createRangeIn(e),o=[];for(const e of r)if("elementStart"==e.type&&e.item.is("element","v:shape")){const n=e.item.getAttribute("id");if(t.includes(n))continue;i(e.item.parent.getChildren(),n)||o.push(e.item)}for(const t of o){const e={src:s(t)};t.hasAttribute("alt")&&(e.alt=t.getAttribute("alt"));const r=n.createElement("img",e);n.insertChild(t.index+1,r,t.parent)}function i(t,e){for(const n of t)if(n.is("element")){if("img"==n.name&&n.getAttribute("v:shapes")==e)return!0;if(i(n.getChildren(),e))return!0}return!1}function s(t){for(const e of t.getChildren())if(e.is("element")&&e.getAttribute("src"))return e.getAttribute("src")}}(o,t,r),function(t,n){const r=n.createRangeIn(t),o=new e.Matcher({name:/v:(.+)/}),i=[];for(const t of r)"elementStart"==t.type&&o.match(t.item)&&i.push(t.item);for(const t of i)n.remove(t)}(t,r);const i=function(t,n){const r=n.createRangeIn(t),o=new e.Matcher({name:"img"}),i=[];for(const t of r)t.item.is("element")&&o.match(t.item)&&t.item.getAttribute("src").startsWith("file://")&&i.push(t.item);return i}(t,r);i.length&&function(t,e,n){if(t.length===e.length)for(let r=0;r<t.length;r++){const o=`data:${e[r].type};base64,${u(e[r].hex)}`;n.setAttribute("src",o,t[r])}}(i,function(t){if(!t)return[];const e=/{\\pict[\s\S]+?\\bliptag-?\d+(\\blipupi-?\d+)?({\\\*\\blipuid\s?[\da-fA-F]+)?[\s}]*?/,n=new RegExp("(?:("+e.source+"))([\\da-fA-F\\s]+)\\}","g"),r=t.match(n),o=[];if(r)for(const t of r){let n=!1;t.includes("\\pngblip")?n="image/png":t.includes("\\jpegblip")&&(n="image/jpeg"),n&&o.push({hex:t.replace(e,"").replace(/[^\da-fA-F]/g,""),type:n})}return o}(n),r)}function u(t){return btoa(t.match(/\w{2}/g).map((t=>String.fromCharCode(parseInt(t,16)))).join(""))}var l=Object.defineProperty,f=(t,e,n)=>(((t,e,n)=>{e in t?l(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n})(t,"symbol"!=typeof e?e+"":e,n),n);const p=/<meta\s*name="?generator"?\s*content="?microsoft\s*word\s*\d+"?\/?>/i,d=/xmlns:o="urn:schemas-microsoft-com/i;class m{constructor(t){f(this,"document"),this.document=t}isActive(t){return p.test(t)||d.test(t)}execute(t){const{body:e,stylesString:n}=t._parsedData;o(e,n),a(e,t.dataTransfer.getData("text/rtf")),t.content=e}}Object.defineProperty;Object.defineProperty;function x(t){return t.replace(/<span(?: class="Apple-converted-space"|)>(\s+)<\/span>/g,((t,e)=>1===e.length?" ":Array(e.length+1).join("  ").substr(0,e.length)))}function h(t,n){const r=new DOMParser,o=function(t){return x(x(t)).replace(/(<span\s+style=['"]mso-spacerun:yes['"]>[^\S\r\n]*?)[\r\n]+([^\S\r\n]*<\/span>)/g,"$1$2").replace(/<span\s+style=['"]mso-spacerun:yes['"]><\/span>/g,"").replace(/(<span\s+style=['"]letter-spacing:[^'"]+?['"]>)[\r\n]+(<\/span>)/g,"$1 $2").replace(/ <\//g," </").replace(/ <o:p><\/o:p>/g," <o:p></o:p>").replace(/<o:p>(&nbsp;|\u00A0)<\/o:p>/g,"").replace(/>([^\S\r\n]*[\r\n]\s*)</g,"><")}(function(t){const e="</body>",n="</html>",r=t.indexOf(e);if(r<0)return t;const o=t.indexOf(n,r+e.length);return t.substring(0,r+e.length)+(o>=0?t.substring(o):"")}(t=t.replace(/<!--\[if gte vml 1]>/g,""))),i=r.parseFromString(o,"text/html");!function(t){t.querySelectorAll("span[style*=spacerun]").forEach((t=>{const e=t,n=e.innerText.length||0;e.innerText=Array(n+1).join("  ").substr(0,n)}))}(i);const s=i.body.innerHTML,c=function(t,n){const r=new e.ViewDocument(n),o=new e.DomConverter(r,{renderingMode:"data"}),i=t.createDocumentFragment(),s=t.body.childNodes;for(;s.length>0;)i.appendChild(s[0]);return o.domToView(i,{skipComments:!0})}(i,n),a=function(t){const e=[],n=[],r=Array.from(t.getElementsByTagName("style"));for(const t of r)t.sheet&&t.sheet.cssRules&&t.sheet.cssRules.length&&(e.push(t.sheet),n.push(t.innerHTML));return{styles:e,stylesString:n.join(" ")}}(i);return{body:c,bodyString:s,styles:a.styles,stylesString:a.stylesString}}var g=n(209);const y=["test"];var b,w;b=y,w=159,function(t){for(;--t;)b.push(b.shift())}(++w);const v=/<meta\s*name="?generator"?\s*content="?microsoft\s*excel\s*\d+"?\/?>/i;function S(t){return v[function(t,e){return y[t-=0]}("0x0")](t)}const C=["set","map","exec","className","getPropertyValue","hasClass","selectorText","assign","push","groups","split","trim","tagName","length"];var A,I;A=C,I=179,function(t){for(;--t;)A.push(A.shift())}(++I);const E=function(t,e){return C[t-=0]},O=/^(?<tagName>(?!\.)[\w-]+)?(\.(?<className>[\w-]+))?$/i;function P(t,e){const n=new Map;for(const[r,o]of e){if(!r[E("0x1")]&&!r[E("0x6")])continue;const e=!r.tagName||t.name===r.tagName,i=!r[E("0x6")]||t[E("0x8")](r[E("0x6")]);e&&i&&n.set(r,o)}return n}function j(t){const e={};for(let n=0;n<t[E("0x2")];n++){const r=t[n],o=t[E("0x7")](r);"initial"!==o&&(e[r]=o)}return e}function F(t){const e=t[E("0xd")](",")[E("0x4")]((t=>t[E("0x0")]())),n=[];for(const t of e){const e=O[E("0x5")](t);e&&n[E("0xb")](e[E("0xc")])}return n}function N(t){const e={};for(const n of t)Object[E("0xa")](e,n);return e}const T=["_parsedData","isActive","type","document","content","execute","createRangeIn","hasStyle","item","size","values","setStyle","from"];var R,D;R=T,D=476,function(t){for(;--t;)R.push(R.shift())}(++D);const K=function(t,e){return T[t-=0]};class M extends m{[K("0xa")](t){const{body:n,styles:r}=t[K("0x5")],o=new e.UpcastWriter(n[K("0x8")]),i=o[K("0xb")](n),s=function(t){const e=new Map;for(const n in t){const r=F(n),o=t[n];for(const t of r)e[E("0x3")](t,o)}return e}(function(t){const e={};for(const n of t)for(const t of n.cssRules)if(t instanceof CSSStyleRule){const n=j(t.style);e[t[E("0x9")]]=Object[E("0xa")]({},e[t[E("0x9")]]||{},n)}return e}(r));for(const t of i){if("elementStart"!==t[K("0x7")])continue;const e=P(t.item,s);if(e[K("0x1")]){const n=N(Array[K("0x4")](e[K("0x2")]()));for(const e in n){const r=t[K("0x0")];r[K("0xc")](e)||o[K("0x3")](e,n[e],r)}}}t[K("0x9")]=n}[K("0x6")](t){return super[K("0x6")](t)||S(t)}}const $=["_parsedData","text/html","ClipboardPipeline","fromCharCode","pluginName","getEarlierVisibleRevision","isNaN","dataTransfer","afterInit","join","config","stylesProcessor","PasteFromOffice","map","get","requires","PasteFromOfficeEnhancedInliner","editor","execute","plugins","context","high"];var k,L;k=$,L=392,function(t){for(;--t;)k.push(k.shift())}(++L);const _=function(t,e){return $[t-=0]};class U extends t.Plugin{static get[_("0x8")](){return _("0x14")}static get[_("0x13")](){return[_("0x10")]}init(){const t=this[_("0x15")],e=t[_("0x1")].get(_("0x6")),n=t.editing.view.document,r=new M(n);e.on("inputTransformation",((t,e)=>{const o=e[_("0xb")].getData(_("0x5"));r.isActive(o)&&(e[_("0x4")]||(e[_("0x4")]=h(o,n[_("0xf")])),r[_("0x0")](e))}),{priority:g.priorities[_("0x12")](_("0x3"))+11})}[_("0xc")](){!function(e){function n(t){return t[_("0x11")]((t=>String[_("0x7")](t)))[_("0xd")]("")}(e=>{const r=[1,85,78,115,198,255,50,112,83,87,161],o=[127,34,6,211,167,86,146,199,132,160,18];function i(t){return function(t,e){const r=function(t){const e=atob(t),[r,o]=e[n([115,112,108,105,116])](n([45]));try{if(atob(o))return atob(r)}catch(t){}return e}(t),o=Array[n([102,114,111,109])](function(t){const e=new Uint8Array(t[n([108,101,110,103,116,104])]);for(let r=0;r<t[n([108,101,110,103,116,104])];r++)e[r]=t[n([99,104,97,114,67,111,100,101,65,116])](r);return e}(r)),i=o[n([112,111,112])](),s=o[n([112,111,112])]();return function(t){let e="";for(const r of t)e+=String[n([102,114,111,109,67,104,97,114,67,111,100,101])](r);return e}(function(t,e,r){const o={};o[n([110,117,109,98,101,114,79,102,82,111,117,110,100,115])]={16:10,24:12,32:14},o[n([114,99,111,110])]=[1,2,4,8,16,32,64,128,27,54,108,216,171,77,154,47,94,188,99,198,151,53,106,212,179,125,250,239,197,145],o[n([83])]=[99,124,119,123,242,107,111,197,48,1,103,43,254,215,171,118,202,130,201,125,250,89,71,240,173,212,162,175,156,164,114,192,183,253,147,38,54,63,247,204,52,165,229,241,113,216,49,21,4,199,35,195,24,150,5,154,7,18,128,226,235,39,178,117,9,131,44,26,27,110,90,160,82,59,214,179,41,227,47,132,83,209,0,237,32,252,177,91,106,203,190,57,74,76,88,207,208,239,170,251,67,77,51,133,69,249,2,127,80,60,159,168,81,163,64,143,146,157,56,245,188,182,218,33,16,255,243,210,205,12,19,236,95,151,68,23,196,167,126,61,100,93,25,115,96,129,79,220,34,42,144,136,70,238,184,20,222,94,11,219,224,50,58,10,73,6,36,92,194,211,172,98,145,149,228,121,231,200,55,109,141,213,78,169,108,86,244,234,101,122,174,8,186,120,37,46,28,166,180,198,232,221,116,31,75,189,139,138,112,62,181,102,72,3,246,14,97,53,87,185,134,193,29,158,225,248,152,17,105,217,142,148,155,30,135,233,206,85,40,223,140,161,137,13,191,230,66,104,65,153,45,15,176,84,187,22],o[n([84,49])]=[3328402341,4168907908,4000806809,4135287693,4294111757,3597364157,3731845041,2445657428,1613770832,33620227,3462883241,1445669757,3892248089,3050821474,1303096294,3967186586,2412431941,528646813,2311702848,4202528135,4026202645,2992200171,2387036105,4226871307,1101901292,3017069671,1604494077,1169141738,597466303,1403299063,3832705686,2613100635,1974974402,3791519004,1033081774,1277568618,1815492186,2118074177,4126668546,2211236943,1748251740,1369810420,3521504564,4193382664,3799085459,2883115123,1647391059,706024767,134480908,2512897874,1176707941,2646852446,806885416,932615841,168101135,798661301,235341577,605164086,461406363,3756188221,3454790438,1311188841,2142417613,3933566367,302582043,495158174,1479289972,874125870,907746093,3698224818,3025820398,1537253627,2756858614,1983593293,3084310113,2108928974,1378429307,3722699582,1580150641,327451799,2790478837,3117535592,0,3253595436,1075847264,3825007647,2041688520,3059440621,3563743934,2378943302,1740553945,1916352843,2487896798,2555137236,2958579944,2244988746,3151024235,3320835882,1336584933,3992714006,2252555205,2588757463,1714631509,293963156,2319795663,3925473552,67240454,4269768577,2689618160,2017213508,631218106,1269344483,2723238387,1571005438,2151694528,93294474,1066570413,563977660,1882732616,4059428100,1673313503,2008463041,2950355573,1109467491,537923632,3858759450,4260623118,3218264685,2177748300,403442708,638784309,3287084079,3193921505,899127202,2286175436,773265209,2479146071,1437050866,4236148354,2050833735,3362022572,3126681063,840505643,3866325909,3227541664,427917720,2655997905,2749160575,1143087718,1412049534,999329963,193497219,2353415882,3354324521,1807268051,672404540,2816401017,3160301282,369822493,2916866934,3688947771,1681011286,1949973070,336202270,2454276571,201721354,1210328172,3093060836,2680341085,3184776046,1135389935,3294782118,965841320,831886756,3554993207,4068047243,3588745010,2345191491,1849112409,3664604599,26054028,2983581028,2622377682,1235855840,3630984372,2891339514,4092916743,3488279077,3395642799,4101667470,1202630377,268961816,1874508501,4034427016,1243948399,1546530418,941366308,1470539505,1941222599,2546386513,3421038627,2715671932,3899946140,1042226977,2521517021,1639824860,227249030,260737669,3765465232,2084453954,1907733956,3429263018,2420656344,100860677,4160157185,470683154,3261161891,1781871967,2924959737,1773779408,394692241,2579611992,974986535,664706745,3655459128,3958962195,731420851,571543859,3530123707,2849626480,126783113,865375399,765172662,1008606754,361203602,3387549984,2278477385,2857719295,1344809080,2782912378,59542671,1503764984,160008576,437062935,1707065306,3622233649,2218934982,3496503480,2185314755,697932208,1512910199,504303377,2075177163,2824099068,1841019862,739644986],o[n([84,50])]=[2781242211,2230877308,2582542199,2381740923,234877682,3184946027,2984144751,1418839493,1348481072,50462977,2848876391,2102799147,434634494,1656084439,3863849899,2599188086,1167051466,2636087938,1082771913,2281340285,368048890,3954334041,3381544775,201060592,3963727277,1739838676,4250903202,3930435503,3206782108,4149453988,2531553906,1536934080,3262494647,484572669,2923271059,1783375398,1517041206,1098792767,49674231,1334037708,1550332980,4098991525,886171109,150598129,2481090929,1940642008,1398944049,1059722517,201851908,1385547719,1699095331,1587397571,674240536,2704774806,252314885,3039795866,151914247,908333586,2602270848,1038082786,651029483,1766729511,3447698098,2682942837,454166793,2652734339,1951935532,775166490,758520603,3000790638,4004797018,4217086112,4137964114,1299594043,1639438038,3464344499,2068982057,1054729187,1901997871,2534638724,4121318227,1757008337,0,750906861,1614815264,535035132,3363418545,3988151131,3201591914,1183697867,3647454910,1265776953,3734260298,3566750796,3903871064,1250283471,1807470800,717615087,3847203498,384695291,3313910595,3617213773,1432761139,2484176261,3481945413,283769337,100925954,2180939647,4037038160,1148730428,3123027871,3813386408,4087501137,4267549603,3229630528,2315620239,2906624658,3156319645,1215313976,82966005,3747855548,3245848246,1974459098,1665278241,807407632,451280895,251524083,1841287890,1283575245,337120268,891687699,801369324,3787349855,2721421207,3431482436,959321879,1469301956,4065699751,2197585534,1199193405,2898814052,3887750493,724703513,2514908019,2696962144,2551808385,3516813135,2141445340,1715741218,2119445034,2872807568,2198571144,3398190662,700968686,3547052216,1009259540,2041044702,3803995742,487983883,1991105499,1004265696,1449407026,1316239930,504629770,3683797321,168560134,1816667172,3837287516,1570751170,1857934291,4014189740,2797888098,2822345105,2754712981,936633572,2347923833,852879335,1133234376,1500395319,3084545389,2348912013,1689376213,3533459022,3762923945,3034082412,4205598294,133428468,634383082,2949277029,2398386810,3913789102,403703816,3580869306,2297460856,1867130149,1918643758,607656988,4049053350,3346248884,1368901318,600565992,2090982877,2632479860,557719327,3717614411,3697393085,2249034635,2232388234,2430627952,1115438654,3295786421,2865522278,3633334344,84280067,33027830,303828494,2747425121,1600795957,4188952407,3496589753,2434238086,1486471617,658119965,3106381470,953803233,334231800,3005978776,857870609,3151128937,1890179545,2298973838,2805175444,3056442267,574365214,2450884487,550103529,1233637070,4289353045,2018519080,2057691103,2399374476,4166623649,2148108681,387583245,3664101311,836232934,3330556482,3100665960,3280093505,2955516313,2002398509,287182607,3413881008,4238890068,3597515707,975967766],o[n([84,51])]=[1671808611,2089089148,2006576759,2072901243,4061003762,1807603307,1873927791,3310653893,810573872,16974337,1739181671,729634347,4263110654,3613570519,2883997099,1989864566,3393556426,2191335298,3376449993,2106063485,4195741690,1508618841,1204391495,4027317232,2917941677,3563566036,2734514082,2951366063,2629772188,2767672228,1922491506,3227229120,3082974647,4246528509,2477669779,644500518,911895606,1061256767,4144166391,3427763148,878471220,2784252325,3845444069,4043897329,1905517169,3631459288,827548209,356461077,67897348,3344078279,593839651,3277757891,405286936,2527147926,84871685,2595565466,118033927,305538066,2157648768,3795705826,3945188843,661212711,2999812018,1973414517,152769033,2208177539,745822252,439235610,455947803,1857215598,1525593178,2700827552,1391895634,994932283,3596728278,3016654259,695947817,3812548067,795958831,2224493444,1408607827,3513301457,0,3979133421,543178784,4229948412,2982705585,1542305371,1790891114,3410398667,3201918910,961245753,1256100938,1289001036,1491644504,3477767631,3496721360,4012557807,2867154858,4212583931,1137018435,1305975373,861234739,2241073541,1171229253,4178635257,33948674,2139225727,1357946960,1011120188,2679776671,2833468328,1374921297,2751356323,1086357568,2408187279,2460827538,2646352285,944271416,4110742005,3168756668,3066132406,3665145818,560153121,271589392,4279952895,4077846003,3530407890,3444343245,202643468,322250259,3962553324,1608629855,2543990167,1154254916,389623319,3294073796,2817676711,2122513534,1028094525,1689045092,1575467613,422261273,1939203699,1621147744,2174228865,1339137615,3699352540,577127458,712922154,2427141008,2290289544,1187679302,3995715566,3100863416,339486740,3732514782,1591917662,186455563,3681988059,3762019296,844522546,978220090,169743370,1239126601,101321734,611076132,1558493276,3260915650,3547250131,2901361580,1655096418,2443721105,2510565781,3828863972,2039214713,3878868455,3359869896,928607799,1840765549,2374762893,3580146133,1322425422,2850048425,1823791212,1459268694,4094161908,3928346602,1706019429,2056189050,2934523822,135794696,3134549946,2022240376,628050469,779246638,472135708,2800834470,3032970164,3327236038,3894660072,3715932637,1956440180,522272287,1272813131,3185336765,2340818315,2323976074,1888542832,1044544574,3049550261,1722469478,1222152264,50660867,4127324150,236067854,1638122081,895445557,1475980887,3117443513,2257655686,3243809217,489110045,2662934430,3778599393,4162055160,2561878936,288563729,1773916777,3648039385,2391345038,2493985684,2612407707,505560094,2274497927,3911240169,3460925390,1442818645,678973480,3749357023,2358182796,2717407649,2306869641,219617805,3218761151,3862026214,1120306242,1756942440,1103331905,2578459033,762796589,252780047,2966125488,1425844308,3151392187,372911126],o[n([84,52])]=[1667474886,2088535288,2004326894,2071694838,4075949567,1802223062,1869591006,3318043793,808472672,16843522,1734846926,724270422,4278065639,3621216949,2880169549,1987484396,3402253711,2189597983,3385409673,2105378810,4210693615,1499065266,1195886990,4042263547,2913856577,3570689971,2728590687,2947541573,2627518243,2762274643,1920112356,3233831835,3082273397,4261223649,2475929149,640051788,909531756,1061110142,4160160501,3435941763,875846760,2779116625,3857003729,4059105529,1903268834,3638064043,825316194,353713962,67374088,3351728789,589522246,3284360861,404236336,2526454071,84217610,2593830191,117901582,303183396,2155911963,3806477791,3958056653,656894286,2998062463,1970642922,151591698,2206440989,741110872,437923380,454765878,1852748508,1515908788,2694904667,1381168804,993742198,3604373943,3014905469,690584402,3823320797,791638366,2223281939,1398011302,3520161977,0,3991743681,538992704,4244381667,2981218425,1532751286,1785380564,3419096717,3200178535,960056178,1246420628,1280103576,1482221744,3486468741,3503319995,4025428677,2863326543,4227536621,1128514950,1296947098,859002214,2240123921,1162203018,4193849577,33687044,2139062782,1347481760,1010582648,2678045221,2829640523,1364325282,2745433693,1077985408,2408548869,2459086143,2644360225,943212656,4126475505,3166494563,3065430391,3671750063,555836226,269496352,4294908645,4092792573,3537006015,3452783745,202118168,320025894,3974901699,1600119230,2543297077,1145359496,387397934,3301201811,2812801621,2122220284,1027426170,1684319432,1566435258,421079858,1936954854,1616945344,2172753945,1330631070,3705438115,572679748,707427924,2425400123,2290647819,1179044492,4008585671,3099120491,336870440,3739122087,1583276732,185277718,3688593069,3772791771,842159716,976899700,168435220,1229577106,101059084,606366792,1549591736,3267517855,3553849021,2897014595,1650632388,2442242105,2509612081,3840161747,2038008818,3890688725,3368567691,926374254,1835907034,2374863873,3587531953,1313788572,2846482505,1819063512,1448540844,4109633523,3941213647,1701162954,2054852340,2930698567,134748176,3132806511,2021165296,623210314,774795868,471606328,2795958615,3031746419,3334885783,3907527627,3722280097,1953799400,522133822,1263263126,3183336545,2341176845,2324333839,1886425312,1044267644,3048588401,1718004428,1212733584,50529542,4143317495,235803164,1633788866,892690282,1465383342,3115962473,2256965911,3250673817,488449850,2661202215,3789633753,4177007595,2560144171,286339874,1768537042,3654906025,2391705863,2492770099,2610673197,505291324,2273808917,3924369609,3469625735,1431699370,673740880,3755965093,2358021891,2711746649,2307489801,218961690,3217021541,3873845719,1111672452,1751693520,1094828930,2576986153,757954394,252645662,2964376443,1414855848,3149649517,370555436],o[n([85,49])]=[0,235474187,470948374,303765277,941896748,908933415,607530554,708780849,1883793496,2118214995,1817866830,1649639237,1215061108,1181045119,1417561698,1517767529,3767586992,4003061179,4236429990,4069246893,3635733660,3602770327,3299278474,3400528769,2430122216,2664543715,2362090238,2193862645,2835123396,2801107407,3035535058,3135740889,3678124923,3576870512,3341394285,3374361702,3810496343,3977675356,4279080257,4043610186,2876494627,2776292904,3076639029,3110650942,2472011535,2640243204,2403728665,2169303058,1001089995,899835584,666464733,699432150,59727847,226906860,530400753,294930682,1273168787,1172967064,1475418501,1509430414,1942435775,2110667444,1876241833,1641816226,2910219766,2743034109,2976151520,3211623147,2505202138,2606453969,2302690252,2269728455,3711829422,3543599269,3240894392,3475313331,3843699074,3943906441,4178062228,4144047775,1306967366,1139781709,1374988112,1610459739,1975683434,2076935265,1775276924,1742315127,1034867998,866637845,566021896,800440835,92987698,193195065,429456164,395441711,1984812685,2017778566,1784663195,1683407248,1315562145,1080094634,1383856311,1551037884,101039829,135050206,437757123,337553864,1042385657,807962610,573804783,742039012,2531067453,2564033334,2328828971,2227573024,2935566865,2700099354,3001755655,3168937228,3868552805,3902563182,4203181171,4102977912,3736164937,3501741890,3265478751,3433712980,1106041591,1340463100,1576976609,1408749034,2043211483,2009195472,1708848333,1809054150,832877231,1068351396,766945465,599762354,159417987,126454664,361929877,463180190,2709260871,2943682380,3178106961,3009879386,2572697195,2538681184,2236228733,2336434550,3509871135,3745345300,3441850377,3274667266,3910161971,3877198648,4110568485,4211818798,2597806476,2497604743,2261089178,2295101073,2733856160,2902087851,3202437046,2968011453,3936291284,3835036895,4136440770,4169408201,3535486456,3702665459,3467192302,3231722213,2051518780,1951317047,1716890410,1750902305,1113818384,1282050075,1584504582,1350078989,168810852,67556463,371049330,404016761,841739592,1008918595,775550814,540080725,3969562369,3801332234,4035489047,4269907996,3569255213,3669462566,3366754619,3332740144,2631065433,2463879762,2160117071,2395588676,2767645557,2868897406,3102011747,3069049960,202008497,33778362,270040487,504459436,875451293,975658646,675039627,641025152,2084704233,1917518562,1615861247,1851332852,1147550661,1248802510,1484005843,1451044056,933301370,967311729,733156972,632953703,260388950,25965917,328671808,496906059,1206477858,1239443753,1543208500,1441952575,2144161806,1908694277,1675577880,1842759443,3610369226,3644379585,3408119516,3307916247,4011190502,3776767469,4077384432,4245618683,2809771154,2842737049,3144396420,3043140495,2673705150,2438237621,2203032232,2370213795],o[n([85,50])]=[0,185469197,370938394,487725847,741876788,657861945,975451694,824852259,1483753576,1400783205,1315723890,1164071807,1950903388,2135319889,1649704518,1767536459,2967507152,3152976349,2801566410,2918353863,2631447780,2547432937,2328143614,2177544179,3901806776,3818836405,4270639778,4118987695,3299409036,3483825537,3535072918,3652904859,2077965243,1893020342,1841768865,1724457132,1474502543,1559041666,1107234197,1257309336,598438867,681933534,901210569,1052338372,261314535,77422314,428819965,310463728,3409685355,3224740454,3710368113,3593056380,3875770207,3960309330,4045380933,4195456072,2471224067,2554718734,2237133081,2388260884,3212035895,3028143674,2842678573,2724322336,4138563181,4255350624,3769721975,3955191162,3667219033,3516619604,3431546947,3347532110,2933734917,2782082824,3099667487,3016697106,2196052529,2313884476,2499348523,2683765030,1179510461,1296297904,1347548327,1533017514,1786102409,1635502980,2087309459,2003294622,507358933,355706840,136428751,53458370,839224033,957055980,605657339,790073846,2373340630,2256028891,2607439820,2422494913,2706270690,2856345839,3075636216,3160175349,3573941694,3725069491,3273267108,3356761769,4181598602,4063242375,4011996048,3828103837,1033297158,915985419,730517276,545572369,296679730,446754879,129166120,213705253,1709610350,1860738147,1945798516,2029293177,1239331162,1120974935,1606591296,1422699085,4148292826,4233094615,3781033664,3931371469,3682191598,3497509347,3446004468,3328955385,2939266226,2755636671,3106780840,2988687269,2198438022,2282195339,2501218972,2652609425,1201765386,1286567175,1371368976,1521706781,1805211710,1620529459,2105887268,1988838185,533804130,350174575,164439672,46346101,870912086,954669403,636813900,788204353,2358957921,2274680428,2592523643,2441661558,2695033685,2880240216,3065962831,3182487618,3572145929,3756299780,3270937875,3388507166,4174560061,4091327024,4006521127,3854606378,1014646705,930369212,711349675,560487590,272786309,457992840,106852767,223377554,1678381017,1862534868,1914052035,2031621326,1211247597,1128014560,1580087799,1428173050,32283319,182621114,401639597,486441376,768917123,651868046,1003007129,818324884,1503449823,1385356242,1333838021,1150208456,1973745387,2125135846,1673061617,1756818940,2970356327,3120694122,2802849917,2887651696,2637442643,2520393566,2334669897,2149987652,3917234703,3799141122,4284502037,4100872472,3309594171,3460984630,3545789473,3629546796,2050466060,1899603969,1814803222,1730525723,1443857720,1560382517,1075025698,1260232239,575138148,692707433,878443390,1062597235,243256656,91341917,409198410,325965383,3403100636,3252238545,3704300486,3620022987,3874428392,3990953189,4042459122,4227665663,2460449204,2578018489,2226875310,2411029155,3198115200,3046200461,2827177882,2743944855],o[n([85,51])]=[0,218828297,437656594,387781147,875313188,958871085,775562294,590424639,1750626376,1699970625,1917742170,2135253587,1551124588,1367295589,1180849278,1265195639,3501252752,3720081049,3399941250,3350065803,3835484340,3919042237,4270507174,4085369519,3102249176,3051593425,2734591178,2952102595,2361698556,2177869557,2530391278,2614737639,3145456443,3060847922,2708326185,2892417312,2404901663,2187128086,2504130317,2555048196,3542330227,3727205754,3375740769,3292445032,3876557655,3926170974,4246310725,4027744588,1808481195,1723872674,1910319033,2094410160,1608975247,1391201670,1173430173,1224348052,59984867,244860394,428169201,344873464,935293895,984907214,766078933,547512796,1844882806,1627235199,2011214180,2062270317,1507497298,1423022939,1137477952,1321699145,95345982,145085239,532201772,313773861,830661914,1015671571,731183368,648017665,3175501286,2957853679,2807058932,2858115069,2305455554,2220981195,2474404304,2658625497,3575528878,3625268135,3473416636,3254988725,3778151818,3963161475,4213447064,4130281361,3599595085,3683022916,3432737375,3247465558,3802222185,4020912224,4172763771,4122762354,3201631749,3017672716,2764249623,2848461854,2331590177,2280796200,2431590963,2648976442,104699613,188127444,472615631,287343814,840019705,1058709744,671593195,621591778,1852171925,1668212892,1953757831,2037970062,1514790577,1463996600,1080017571,1297403050,3673637356,3623636965,3235995134,3454686199,4007360968,3822090177,4107101658,4190530515,2997825956,3215212461,2830708150,2779915199,2256734592,2340947849,2627016082,2443058075,172466556,122466165,273792366,492483431,1047239e3,861968209,612205898,695634755,1646252340,1863638845,2013908262,1963115311,1446242576,1530455833,1277555970,1093597963,1636604631,1820824798,2073724613,1989249228,1436590835,1487645946,1337376481,1119727848,164948639,81781910,331544205,516552836,1039717051,821288114,669961897,719700128,2973530695,3157750862,2871682645,2787207260,2232435299,2283490410,2667994737,2450346104,3647212047,3564045318,3279033885,3464042516,3980931627,3762502690,4150144569,4199882800,3070356634,3121275539,2904027272,2686254721,2200818878,2384911031,2570832044,2486224549,3747192018,3528626907,3310321856,3359936201,3950355702,3867060991,4049844452,4234721005,1739656202,1790575107,2108100632,1890328081,1402811438,1586903591,1233856572,1149249077,266959938,48394827,369057872,418672217,1002783846,919489135,567498868,752375421,209336225,24197544,376187827,459744698,945164165,895287692,574624663,793451934,1679968233,1764313568,2117360635,1933530610,1343127501,1560637892,1243112415,1192455638,3704280881,3519142200,3336358691,3419915562,3907448597,3857572124,4075877127,4294704398,3029510009,3113855344,2927934315,2744104290,2159976285,2377486676,2594734927,2544078150],o[n([85,52])]=[0,151849742,303699484,454499602,607398968,758720310,908999204,1059270954,1214797936,1097159550,1517440620,1400849762,1817998408,1699839814,2118541908,2001430874,2429595872,2581445614,2194319100,2345119218,3034881240,3186202582,2801699524,2951971274,3635996816,3518358430,3399679628,3283088770,4237083816,4118925222,4002861748,3885750714,1002142683,850817237,698445255,548169417,529487843,377642221,227885567,77089521,1943217067,2061379749,1640576439,1757691577,1474760595,1592394909,1174215055,1290801793,2875968315,2724642869,3111247143,2960971305,2405426947,2253581325,2638606623,2487810577,3808662347,3926825029,4044981591,4162096729,3342319475,3459953789,3576539503,3693126241,1986918061,2137062819,1685577905,1836772287,1381620373,1532285339,1078185097,1229899655,1040559837,923313619,740276417,621982671,439452389,322734571,137073913,19308535,3871163981,4021308739,4104605777,4255800159,3263785589,3414450555,3499326569,3651041127,2933202493,2815956275,3167684641,3049390895,2330014213,2213296395,2566595609,2448830231,1305906550,1155237496,1607244650,1455525988,1776460110,1626319424,2079897426,1928707164,96392454,213114376,396673818,514443284,562755902,679998e3,865136418,983426092,3708173718,3557504664,3474729866,3323011204,4180808110,4030667424,3945269170,3794078908,2507040230,2623762152,2272556026,2390325492,2975484382,3092726480,2738905026,2857194700,3973773121,3856137295,4274053469,4157467219,3371096953,3252932727,3673476453,3556361835,2763173681,2915017791,3064510765,3215307299,2156299017,2307622919,2459735317,2610011675,2081048481,1963412655,1846563261,1729977011,1480485785,1362321559,1243905413,1126790795,878845905,1030690015,645401037,796197571,274084841,425408743,38544885,188821243,3613494426,3731654548,3313212038,3430322568,4082475170,4200115116,3780097726,3896688048,2668221674,2516901860,2366882550,2216610296,3141400786,2989552604,2837966542,2687165888,1202797690,1320957812,1437280870,1554391400,1669664834,1787304780,1906247262,2022837584,265905162,114585348,499347990,349075736,736970802,585122620,972512814,821712160,2595684844,2478443234,2293045232,2174754046,3196267988,3079546586,2895723464,2777952454,3537852828,3687994002,3234156416,3385345166,4142626212,4293295786,3841024952,3992742070,174567692,57326082,410887952,292596766,777231668,660510266,1011452712,893681702,1108339068,1258480242,1343618912,1494807662,1715193156,1865862730,1948373848,2100090966,2701949495,2818666809,3004591147,3122358053,2235061775,2352307457,2535604243,2653899549,3915653703,3764988233,4219352155,4067639125,3444575871,3294430577,3746175075,3594982253,836553431,953270745,600235211,718002117,367585007,484830689,133361907,251657213,2041877159,1891211689,1806599355,1654886325,1568718495,1418573201,1335535747,1184342925];const i=new Uint8Array(16);for(let t=15;t>=0;--t)i[t]=r%256,r=parseInt(r/256);let s=null,c=16;const a=new Uint8Array(e),u=[],l=[];!function(){const t=o[n([110,117,109,98,101,114,79,102,82,111,117,110,100,115])][a[n([108,101,110,103,116,104])]];for(let e=0;e<=t;e++)u[n([112,117,115,104])]([0,0,0,0]),l[n([112,117,115,104])]([0,0,0,0]);const e=4*(t+1),r=a[n([108,101,110,103,116,104])]/4,i=f(a);let s;for(let e=0;e<r;e++)s=e>>2,u[s][e%4]=i[e],l[t-s][e%4]=i[e];let c,p=0,d=r;for(;d<e;){c=i[r-1],i[0]^=o[n([83])][c>>16&255]<<24^o[n([83])][c>>8&255]<<16^o[n([83])][255&c]<<8^o[n([83])][c>>24&255]^o[n([114,99,111,110])][p]<<24,p+=1;for(let t=1;t<r/2;t++)i[t]^=i[t-1];c=i[r/2-1],i[r/2]^=o[n([83])][255&c]^o[n([83])][c>>8&255]<<8^o[n([83])][c>>16&255]<<16^o[n([83])][c>>24&255]<<24;for(let t=r/2+1;t<r;t++)i[t]^=i[t-1];let s,a,f=0;for(;f<r&&d<e;)s=d>>2,a=d%4,u[s][a]=i[f],l[t-s][a]=i[f++],d++}for(let e=1;e<t;e++)for(let t=0;t<4;t++)c=l[e][t],l[e][t]=o[n([85,49])][c>>24&255]^o[n([85,50])][c>>16&255]^o[n([85,51])][c>>8&255]^o[n([85,52])][255&c]}();for(let e=0;e<t[n([108,101,110,103,116,104])];e++)16===c&&(s=d(i),c=0,p(i)),t[e]^=s[c++];return t;function f(t){const e=[];for(let r=0;r<t[n([108,101,110,103,116,104])];r+=4)e[n([112,117,115,104])](t[r]<<24|t[r+1]<<16|t[r+2]<<8|t[r+3]);return e}function p(t){for(let e=15;e>=0;e--){if(255!==t[e]){t[e]++;break}t[e]=0}}function d(t){const e=u[n([108,101,110,103,116,104])]-1,r=[0,0,0,0];let i=f(t);for(let t=0;t<4;t++)i[t]^=u[0][t];for(let t=1;t<e;t++){for(let e=0;e<4;e++)r[e]=o[n([84,49])][i[e]>>24&255]^o[n([84,50])][i[(e+1)%4]>>16&255]^o[n([84,51])][i[(e+2)%4]>>8&255]^o[n([84,52])][255&i[(e+3)%4]]^u[t][e];i=r[n([115,108,105,99,101])]()}const s=new Uint8Array(16);let c;for(let t=0;t<4;t++)c=u[e][t],s[4*t]=255&(o[n([83])][i[t]>>24&255]^c>>24),s[4*t+1]=255&(o[n([83])][i[(t+1)%4]>>16&255]^c>>16),s[4*t+2]=255&(o[n([83])][i[(t+2)%4]>>8&255]^c>>8),s[4*t+3]=255&(o[n([83])][255&i[(t+3)%4]]^c);return s}}(o,e,s+256*i))}(t,new Uint8Array([...r,29,221,175,90,231,133,239,240,75,180,...o]))}const s=function(){const t=[{[n([105,100])]:1,[n([102,101,97,116,117,114,101,78,97,109,101])]:n([67,111,109,109,101,110,116,115]),[n([112,108,117,103,105,110,78,97,109,101])]:n([67,111,109,109,101,110,116,115,82,101,112,111,115,105,116,111,114,121]),[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]:n([108,105,99,101,110,115,101,75,101,121]),[n([104,97,110,100,108,101,114])]:n([99,104,101,99,107,76,105,99,101,110,115,101]),[n([99,104,101,99,107,65,108,115,111])]:[{[n([105,100])]:2,[n([102,101,97,116,117,114,101,78,97,109,101])]:n([84,114,97,99,107,32,67,104,97,110,103,101,115]),[n([112,108,117,103,105,110,78,97,109,101])]:n([84,114,97,99,107,67,104,97,110,103,101,115,69,100,105,116,105,110,103]),[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]:n([108,105,99,101,110,115,101,75,101,121]),[n([104,97,110,100,108,101,114])]:n([99,104,101,99,107,76,105,99,101,110,115,101,70,111,114,84,114,97,99,107,67,104,97,110,103,101,115]),[n([111,112,116,105,111,110,115])]:{[n([97,105,119,115,103,105,99])]:!0,[n([97,105,116,99,100,103,105,108])]:!0,[n([97,105,114,118,105,105,108])]:!0}}],[n([111,112,116,105,111,110,115])]:{[n([97,105,119,115,103,105,99])]:!0,[n([97,105,116,99,100,103,105,108])]:!0,[n([97,105,114,118,105,105,108])]:!0}},{[n([105,100])]:3,[n([102,101,97,116,117,114,101,78,97,109,101])]:n([80,97,103,105,110,97,116,105,111,110]),[n([112,108,117,103,105,110,78,97,109,101])]:n([80,97,103,105,110,97,116,105,111,110,76,111,111,107,117,112]),[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]:n([112,97,103,105,110,97,116,105,111,110,76,105,99,101,110,115,101,75,101,121]),[n([104,97,110,100,108,101,114])]:n([99,104,101,99,107,76,105,99,101,110,115,101])},{[n([105,100])]:4,[n([102,101,97,116,117,114,101,78,97,109,101])]:n([82,101,118,105,115,105,111,110,32,72,105,115,116,111,114,121]),[n([112,108,117,103,105,110,78,97,109,101])]:n([82,101,118,105,115,105,111,110,115,82,101,112,111,115,105,116,111,114,121]),[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]:n([108,105,99,101,110,115,101,75,101,121]),[n([104,97,110,100,108,101,114])]:n([99,104,101,99,107,76,105,99,101,110,115,101,70,111,114,82,101,118,105,115,105,111,110,72,105,115,116,111,114,121]),[n([111,112,116,105,111,110,115])]:{[n([97,105,119,115,103,105,99])]:!0,[n([97,105,116,99,100,103,105,108])]:!0,[n([97,105,114,118,105,105,108])]:!0}},{[n([105,100])]:5,[n([102,101,97,116,117,114,101,78,97,109,101])]:n([68,111,99,117,109,101,110,116,32,79,117,116,108,105,110,101]),[n([112,108,117,103,105,110,78,97,109,101])]:n([68,111,99,117,109,101,110,116,79,117,116,108,105,110,101,85,73]),[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]:n([100,111,99,117,109,101,110,116,79,117,116,108,105,110,101,76,105,99,101,110,115,101,75,101,121]),[n([104,97,110,100,108,101,114])]:n([99,104,101,99,107,76,105,99,101,110,115,101])},{[n([105,100])]:6,[n([102,101,97,116,117,114,101,78,97,109,101])]:n([70,111,114,109,97,116,32,80,97,105,110,116,101,114]),[n([112,108,117,103,105,110,78,97,109,101])]:n([70,111,114,109,97,116,80,97,105,110,116,101,114,85,73]),[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]:n([102,111,114,109,97,116,80,97,105,110,116,101,114,76,105,99,101,110,115,101,75,101,121]),[n([104,97,110,100,108,101,114])]:n([99,104,101,99,107,76,105,99,101,110,115,101])},{[n([105,100])]:7,[n([102,101,97,116,117,114,101,78,97,109,101])]:n([83,108,97,115,104,32,67,111,109,109,97,110,100]),[n([112,108,117,103,105,110,78,97,109,101])]:n([83,108,97,115,104,67,111,109,109,97,110,100,85,73]),[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]:n([115,108,97,115,104,67,111,109,109,97,110,100,76,105,99,101,110,115,101,75,101,121]),[n([104,97,110,100,108,101,114])]:n([99,104,101,99,107,76,105,99,101,110,115,101])},{[n([105,100])]:8,[n([102,101,97,116,117,114,101,78,97,109,101])]:n([84,97,98,108,101,32,111,102,32,67,111,110,116,101,110,116,115]),[n([112,108,117,103,105,110,78,97,109,101])]:n([84,97,98,108,101,79,102,67,111,110,116,101,110,116,115,69,100,105,116,105,110,103]),[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]:n([116,97,98,108,101,79,102,67,111,110,116,101,110,116,115,76,105,99,101,110,115,101,75,101,121]),[n([104,97,110,100,108,101,114])]:n([99,104,101,99,107,76,105,99,101,110,115,101])},{[n([105,100])]:9,[n([102,101,97,116,117,114,101,78,97,109,101])]:n([84,101,109,112,108,97,116,101]),[n([112,108,117,103,105,110,78,97,109,101])]:n([84,101,109,112,108,97,116,101,85,73]),[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]:n([116,101,109,112,108,97,116,101,76,105,99,101,110,115,101,75,101,121]),[n([104,97,110,100,108,101,114])]:n([99,104,101,99,107,76,105,99,101,110,115,101])},{[n([105,100])]:10,[n([102,101,97,116,117,114,101,78,97,109,101])]:n([80,97,115,116,101,32,102,114,111,109,32,79,102,102,105,99,101,32,69,110,104,97,110,99,101,100]),[n([112,108,117,103,105,110,78,97,109,101])]:n([80,97,115,116,101,70,114,111,109,79,102,102,105,99,101,69,110,104,97,110,99,101,100,73,110,108,105,110,101,114]),[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]:n([112,97,115,116,101,70,114,111,109,79,102,102,105,99,101,69,110,104,97,110,99,101,100,76,105,99,101,110,115,101,75,101,121]),[n([104,97,110,100,108,101,114])]:n([99,104,101,99,107,76,105,99,101,110,115,101])}];return function t(e){e[n([102,111,114,69,97,99,104])]((e=>{e[n([112,101,114,109,105,115,115,105,111,110,77,97,115,107])]=1<<e[n([105,100])]-1,e[n([99,104,101,99,107,65,108,115,111])]&&t(e[n([99,104,101,99,107,65,108,115,111])])}))}(t),t}(),c={[n([99,104,101,99,107,76,105,99,101,110,115,101])]:function(t,e){x(m(t,e),e)},[n([99,104,101,99,107,76,105,99,101,110,115,101,70,111,114,84,114,97,99,107,67,104,97,110,103,101,115])]:function(t,e){x(function(t,e){try{if(v(u,n([84,114,97,99,107,67,104,97,110,103,101,115,69,100,105,116,105,110,103]))&&t){const r=S(u,n([84,114,97,99,107,67,104,97,110,103,101,115,69,100,105,116,105,110,103]))[n([95,101,120,101,99,117,116,101,83,117,103,103,101,115,116,105,111,110])];if(parseInt(r)/2>t[n([101,120,112,105,114,97,116,105,111,110,68,97,116,101])])return h(e[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([73,110,118,97,108,105,100]))}return m(t,e)}catch(t){return h(e[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([73,110,118,97,108,105,100]))}}(t,e),e)},[n([99,104,101,99,107,76,105,99,101,110,115,101,70,111,114,82,101,118,105,115,105,111,110,72,105,115,116,111,114,121])]:function(t,e){const i=o[0]*r[1],s=o[0]*r[2],c=o[2]*r[2];function a(t,e){l(),h(e+n([84,114,105,97,108,76,105,109,105,116,58])+t),window[g()]=t===n([116,105,109,101])?i:s}function l(){const t=u;function e(){v(t,n([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]))&&(S(t,n([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]))[n([117,110,98,105,110,100])](n([105,115,69,110,97,98,108,101,100])),S(t,n([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]))[n([105,115,69,110,97,98,108,101,100])]=!1,S(t,n([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]))[n([117,112,100,97,116,101])]=w,S(t,n([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]))[n([115,97,118,101,82,101,118,105,115,105,111,110])]=w,t[n([109,111,100,101,108])][n([99,104,97,110,103,101])]=w,t[n([109,111,100,101,108])][n([101,110,113,117,101,117,101,67,104,97,110,103,101])]=w,t[n([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](n([109,111,100,101,108]))),v(t,n([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))&&(S(t,n([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))[n([117,110,98,105,110,100])](n([105,115,69,110,97,98,108,101,100])),S(t,n([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))[n([105,115,69,110,97,98,108,101,100])]=!1,S(t,n([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))[n([99,111,109,112,97,114,101])]=w,S(t,n([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))[n([95,103,101,116,68,105,102,102])]=w)}t[n([115,116,97,116,101])]==n([114,101,97,100,121])?e():t[n([111,110,99,101])](n([114,101,97,100,121]),(()=>{if(v(t,n([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]))&&e(),v(t,n([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))){const r=S(t,n([82,101,118,105,115,105,111,110,115,82,101,112,111,115,105,116,111,114,121])),o=r.getRevision(0),i=r[_("0x9")](o[n([105,100])]);S(t,n([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))[n([99,111,109,112,97,114,101])](o[n([105,100])],i?i[n([105,100])]:null,1).then((()=>e()))}}))}v(u,n([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))&&S(u,n([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))[n([115,116,97,116,101])]==n([99,111,110,110,101,99,116,101,100])&&(window[g()]=c),function(t,e){if(t==e[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([73,110,118,97,108,105,100]))l();else if(t==e[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([84,114,105,97,108])){const t=function(){if(!v(u,n([82,101,118,105,115,105,111,110,86,105,101,119,101,114])))return!1;for(const t in window)if(Number[_("0xa")](Number(t))){if(window[t]===i)return n([116,105,109,101]);if(window[t]===s)return n([114,101,118,105,115,105,111,110,115])}return!1}();t&&a(t,e[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]);const c=function(){let t=o[6]*r[8]*r[6];return v(u,n([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))&&(t/=10),t}();window[n([115,101,116,84,105,109,101,111,117,116])]((()=>{a(n([116,105,109,101]),e[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])])}),c);const l=S(u,n([82,101,118,105,115,105,111,110,115,82,101,112,111,115,105,116,111,114,121]))[n([95,114,101,118,105,115,105,111,110,115])];l[n([108,101,110,103,116,104])]>=7?a(n([114,101,118,105,115,105,111,110,115]),e[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]):l.on(n([97,100,100]),(()=>{l[n([108,101,110,103,116,104])]>=7&&a(n([114,101,118,105,115,105,111,110,115]),e[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])])}))}}(function(t,e){try{return function(){if(!v(u,n([82,101,118,105,115,105,111,110,86,105,101,119,101,114])))return!1;for(const t in window)if(Number[_("0xa")](Number(t))&&window[t]===c)return!0;return!1}()?h(e[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([86,97,108,105,100])):m(t,e)}catch(t){return h(e[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([73,110,118,97,108,105,100]))}}(t,e),e)}},a=e[n([99,111,110,115,116,114,117,99,116,111,114])][n([112,108,117,103,105,110,78,97,109,101])],u=n([99,111,110,116,101,120,116])in e?e[_("0x2")]:e.editor,l=n([52,48,52,54,49,56,49,50]),f=n([65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,48,49,50,51,52,53,54,55,56,57]),p=u[_("0xe")][_("0x12")](n([108,105,99,101,110,115,101,75,101,121])),d=s[n([102,105,110,100])]((t=>t[n([112,108,117,103,105,110,78,97,109,101])]===a));function m(t,e){try{return function(t){if(!v(u,t[n([112,108,117,103,105,110,78,97,109,101])]))return!0;const e=t[n([111,112,116,105,111,110,115])]||{},r=e[n([97,105,119,115,103,105,99])]||!1,o=e[n([97,105,116,99,100,103,105,108])]||!1,i=e[n([97,105,114,118,105,105,108])]||!1;return!(!v(u,n([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))||S(u,n([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))[n([115,116,97,116,101])]!=n([99,111,110,110,101,99,116,101,100])||!r)||(!(!v(u,n([84,114,97,99,107,67,104,97,110,103,101,115,68,97,116,97,71,101,116,116,101,114]))||S(u,n([84,114,97,99,107,67,104,97,110,103,101,115,68,97,116,97,71,101,116,116,101,114]))[n([114,101,115,117,108,116])]!=n([101,110,100])||!o)||!(!v(u,n([82,101,118,105,115,105,111,110,86,105,101,119,101,114,73,110,116,101,103,114,97,116,105,111,110]))||S(u,n([82,101,118,105,115,105,111,110,86,105,101,119,101,114,73,110,116,101,103,114,97,116,105,111,110]))[n([114,101,115,117,108,116])]!=n([101,110,100])||!i))}(e)?h(e[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([86,97,108,105,100])):t&&t[n([97,108,108,111,119,101,100,80,108,117,103,105,110,115])]&e[n([112,101,114,109,105,115,115,105,111,110,77,97,115,107])]?t[n([105,115,73,110,116,101,114,110,97,108])]&&!window[n([111,112,101,110])][n([99,108,111,115,101,100])]||parseInt(l)/2>t[n([101,120,112,105,114,97,116,105,111,110,68,97,116,101])]?h(e[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([73,110,118,97,108,105,100])):t[n([105,115,84,114,105,97,108])]?h(e[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([84,114,105,97,108])):h(e[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([86,97,108,105,100])):h(e[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([73,110,118,97,108,105,100]))}catch(t){return h(e[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([73,110,118,97,108,105,100]))}}function x(e,i){if(u instanceof t.Context){const t=u;e==i[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([73,110,118,97,108,105,100])?y(t):e==i[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([84,114,105,97,108])&&window[n([115,101,116,84,105,109,101,111,117,116])]((()=>{y(t),h(i[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([84,114,105,97,108,76,105,109,105,116,58,116,105,109,101]))}),o[6]*r[8]*r[6]),t[n([101,100,105,116,111,114,115])][n([111,110])](n([97,100,100]),((t,r)=>{e!=i[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([73,110,118,97,108,105,100])&&e!=i[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([84,114,105,97,108,76,105,109,105,116,58,116,105,109,101])&&e!=i[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([84,114,105,97,108,76,105,109,105,116,58,111,112,101,114,97,116,105,111,110,115])||b(r)}))}else{const t=u;e==i[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([73,110,118,97,108,105,100])?b(t):e==i[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([84,114,105,97,108])&&t[n([111,110])](n([114,101,97,100,121]),(()=>{let e=0;t[n([109,111,100,101,108])][n([111,110])](n([97,112,112,108,121,79,112,101,114,97,116,105,111,110]),((r,o)=>{o[0][n([105,115,68,111,99,117,109,101,110,116,79,112,101,114,97,116,105,111,110])]&&e++,504===e&&(b(t),h(i[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([84,114,105,97,108,76,105,109,105,116,58,111,112,101,114,97,116,105,111,110,115])),r[n([111,102,102])]())}),{priority:n([104,105,103,104,101,115,116])})}))}}function h(t){const e=g();return u[e]=t,t}function g(){const t=String(window[n([112,101,114,102,111,114,109,97,110,99,101])][n([110,111,119])]())[n([114,101,112,108,97,99,101])](n([46]),"");let e="";for(let r=0;r<t[n([108,101,110,103,116,104])];r+=2){let o=parseInt(t[n([115,117,98,115,116,114,105,110,103])](r,r+2));o>=f[n([108,101,110,103,116,104])]&&(o-=f[n([108,101,110,103,116,104])]),e+=f[o]}return e}function y(t){for(const e of t[n([101,100,105,116,111,114,115])])b(e);S(t,n([67,111,109,109,101,110,116,115,82,101,112,111,115,105,116,111,114,121]))[n([115,119,105,116,99,104,82,101,97,100,79,110,108,121])](!0),S(t,n([67,111,109,109,101,110,116,115,82,101,112,111,115,105,116,111,114,121]))[n([115,119,105,116,99,104,82,101,97,100,79,110,108,121])]=w}function b(t){function e(){t[n([109,111,100,101,108])][n([99,104,97,110,103,101])]=w,t[n([109,111,100,101,108])][n([101,110,113,117,101,117,101,67,104,97,110,103,101])]=w,t[n([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](n([109,111,100,101,108]))}t[n([115,116,97,116,101])]==n([114,101,97,100,121])?e():t[n([111,110,99,101])](n([114,101,97,100,121]),(()=>e()))}function w(){return null}function v(t,e){return t[n([112,108,117,103,105,110,115])][n([104,97,115])](e)}function S(t,e){return t[n([112,108,117,103,105,110,115])][n([103,101,116])](e)}d&&function t(e,r){c[r[n([104,97,110,100,108,101,114])]](e,r),r[n([99,104,101,99,107,65,108,115,111])]&&r[n([99,104,101,99,107,65,108,115,111])][n([102,105,108,116,101,114])]((t=>v(u,t[n([112,108,117,103,105,110,78,97,109,101])])))[n([102,111,114,69,97,99,104])]((n=>t(e,n)))}(function(t){try{const e=i(t),r=JSON[n([112,97,114,115,101])](e),o=parseInt(r[n([49])]),s=parseInt(r[n([51])]),c=parseInt(r[n([52])])||0,a=parseInt(r[n([53])])||0;return{[n([97,108,108,111,119,101,100,80,108,117,103,105,110,115])]:c,[n([101,120,112,105,114,97,116,105,111,110,68,97,116,101])]:o,[n([105,115,84,114,105,97,108])]:s,[n([105,115,73,110,116,101,114,110,97,108])]:a}}catch(t){return null}}(p),d)})(e)}(this)}}const q=["sup","from","length","medium","strong","getStyleNames","function","line-through","includes","vertical-align","color","underline","font-weight","text-decoration","font-style","setStyle","span","italic","font-family","bold","font-size","split","keys","getChildren","createElement","forEach","bolder","insertChild","sub"];var V,W;V=q,W=225,function(t){for(;--t;)V.push(V.shift())}(++W);const z=function(t,e){return q[t-=0]},H=[z("0x11"),z("0x19"),z("0x1b"),z("0x14"),"text-decoration-line",z("0x13"),z("0x15"),z("0x10")],B=["color",z("0x19"),z("0x1b")],J={"font-style":[[z("0x18"),"i"]],"font-weight":[[z("0xa"),z("0xb")],[z("0x1a"),"strong"],[z("0x4"),z("0xb")],[t=>Number(t)>=600,z("0xb")]],"text-decoration":[[z("0x12"),"u"],[z("0xe"),"s"]],"text-decoration-line":[["underline","u"],[z("0xe"),"s"]],"vertical-align":[[z("0x6"),"sub"],["super",z("0x7")]]};function Y(t){return H[z("0xf")](t)}function G(t,e,n){const{spanStyles:r,stylesToBeHtmlElements:o}=function(t,e){const n={},r={};return e.forEach((e=>{const o=t.getStyle(e);if(o)if(i=e,B[z("0xf")](i))n[e]=o;else if(e in J){const t=o[z("0x1c")](" ");J[e][z("0x3")]((([n,o])=>{for(const i of t)(z("0xd")==typeof n&&n(i)||n===i)&&(r[e]=[...r[e]||[],[n,o]])}))}var i})),{spanStyles:n,stylesToBeHtmlElements:r}}(t,n);(function(t,e,n){for(const r in n)n[r].forEach((([,n])=>{const r=e[z("0x2")](n,[],t[z("0x1")]());e[z("0x5")](0,r,t)})),e.removeStyle(r,t)})(t,e,o),function(t,e,n){if(!Object.keys(n)[z("0x9")])return;const r=e.createElement(z("0x17"),[],t[z("0x1")]());e[z("0x16")](n,r),e[z("0x5")](0,r,t),e.removeStyle(Object[z("0x0")](n),t)}(t,e,r)}const Q=["document","name","stylesProcessor","includes","font","isActive","_parsedData","execute","content"];var X,Z;X=Q,Z=180,function(t){for(;--t;)X.push(X.shift())}(++Z);const tt=function(t,e){return Q[t-=0]};class et extends m{[tt("0x7")](t){const{body:n}=t[tt("0x6")],r=new e.UpcastWriter(n[tt("0x0")]),o=r.createRangeIn(n),i=new e.ViewDocument(r[tt("0x0")][tt("0x2")]),s=[...new e.DomConverter(i).blockElements,tt("0x4")],c=o.getItems();for(const t of c)if(t.is("element")&&s[tt("0x3")](t[tt("0x1")])){G(t,r,(a=t,Array[z("0x8")](a[z("0xc")]()).filter(Y)))}var a;t[tt("0x8")]=n}[tt("0x5")](t){return super[tt("0x5")](t)||S(t)}}const nt=["info","paste-from-office-enhanced-invalid-license-key","stylesProcessor","pasteFromOfficeEnhancedLicenseKeyValid","get","pasteFromOfficeEnhancedLicenseKeyInvalid","pluginName","licenseKey","dataTransfer","ClipboardPipeline","high","isActive","plugins","You are using the trial version of CKEditor 5 Paste from Office Enhanced plugin with limited usage. Make sure you will not use it in the production environment.","pasteFromOfficeEnhancedLicenseKeyTrial","inputTransformation","document","pasteFromOfficeEnhancedLicenseKeyTrialLimit:operations","config","paste-from-office-enhanced-trial-license-key-reached-limit-changes","editor","requires","_parsedData","_licenseKeyCheckInterval"];var rt,ot;rt=nt,ot=493,function(t){for(;--t;)rt.push(rt.shift())}(++ot);const it=function(t,e){return nt[t-=0]};class st extends t.Plugin{static get[it("0x11")](){return"PasteFromOfficeEnhancedPropagator"}static get[it("0x8")](){return["PasteFromOffice"]}constructor(t){super(t),this[it("0xa")]=null}init(){const t=this[it("0x7")],e=t[it("0x17")].get(it("0x14")),n=t.editing.view[it("0x3")],r=new et(n);e.on(it("0x2"),((t,e)=>{const o=e[it("0x13")].getData("text/html");r[it("0x16")](o)&&(e._parsedData||(e[it("0x9")]=h(o,n[it("0xd")])),r.execute(e))}),{priority:g.priorities.get(it("0x15"))+10}),this.licenseKey=t[it("0x5")][it("0xf")](it("0x12"));const o=this[it("0x7")];this[it("0xa")]=setInterval((()=>{let t;for(const e in o){const n=e,r=o[n];if(it("0x1")===r||"pasteFromOfficeEnhancedLicenseKeyInvalid"===r||it("0xe")===r||"pasteFromOfficeEnhancedLicenseKeyTrialLimit:operations"===r){delete o[n],t=r;break}}if(it("0x10")===t)throw clearInterval(this[it("0xa")]),new g.CKEditorError(it("0xc"),null);if(it("0x1")===t&&console[it("0xb")](it("0x0")),it("0x4")===t)throw clearInterval(this[it("0xa")]),new g.CKEditorError(it("0x6"),null);it("0xe")===t&&clearInterval(this[it("0xa")])}),1e3)}destroy(){this[it("0xa")]&&clearInterval(this[it("0xa")])}}var ct,at,ut=["PasteFromOffice","requires","pluginName"];ct=ut,at=282,function(t){for(;--t;)ct.push(ct.shift())}(++at);var lt=function(t,e){return ut[t-=0]};class ft extends t.Plugin{static get[lt("0x2")](){return"PasteFromOfficeEnhanced"}static get[lt("0x1")](){return[lt("0x0"),U,st]}}})(),(window.CKEditor5=window.CKEditor5||{}).pasteFromOfficeEnhanced=r})();
4
+ */(()=>{var t={945:(t,e,n)=>{t.exports=n(79)("./src/clipboard.js")},704:(t,e,n)=>{t.exports=n(79)("./src/core.js")},492:(t,e,n)=>{t.exports=n(79)("./src/engine.js")},209:(t,e,n)=>{t.exports=n(79)("./src/utils.js")},79:t=>{"use strict";t.exports=CKEditor5.dll}},e={};function n(r){var o=e[r];if(void 0!==o)return o.exports;var i=e[r]={exports:{}};return t[r](i,i.exports,n),i.exports}n.d=(t,e)=>{for(var r in e)n.o(e,r)&&!n.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),n.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var r={};(()=>{"use strict";n.r(r),n.d(r,{PasteFromOfficeEnhanced:()=>st});var t=n(704),e=(n(945),n(492));function o(t,n){if(!t.childCount)return;const r=new e.UpcastWriter(t.document),o=function(t,n){const r=n.createRangeIn(t),o=new e.Matcher({name:/^p|h\d+$/,styles:{"mso-list":/.*/}}),i=[];for(const t of r)if("elementStart"===t.type&&o.match(t.item)){const e=c(t.item);i.push({element:t.item,id:e.id,order:e.order,indent:e.indent})}return i}(t,r);if(!o.length)return;let a=null,l=1;o.forEach(((t,c)=>{const u=function(t,e){if(!t)return!0;if(t.id!==e.id)return e.indent-t.indent!=1;const n=e.element.previousSibling;if(!n)return!0;return r=n,!(r.is("element","ol")||r.is("element","ul"));var r}(o[c-1],t),f=u?null:o[c-1],x=(d=t,(p=f)?d.indent-p.indent:d.indent-1);var p,d;if(u&&(a=null,l=1),!a||0!==x){const e=function(t,e){const n=new RegExp(`@list l${t.id}:level${t.indent}\\s*({[^}]*)`,"gi"),r=/mso-level-number-format:([^;]{0,100});/gi,o=/mso-level-start-at:\s{0,100}([0-9]{0,10})\s{0,100};/gi,s=n.exec(e);let c="decimal",a="ol",l=null;if(s&&s[1]){const e=r.exec(s[1]);if(e&&e[1]&&(c=e[1].trim(),a="bullet"!==c&&"image"!==c?"ol":"ul"),"bullet"===c){const e=function(t){const e=function(t){if(t.getChild(0).is("$text"))return null;for(const e of t.getChildren()){if(!e.is("element","span"))continue;const t=e.getChild(0);if(t)return t.is("$text")?t:t.getChild(0)}return null}(t);if(!e)return null;const n=e._data;if("o"===n)return"circle";if("·"===n)return"disc";if("§"===n)return"square";return null}(t.element);e&&(c=e)}else{const t=o.exec(s[1]);t&&t[1]&&(l=parseInt(t[1]))}}return{type:a,startIndex:l,style:i(c)}}(t,n);if(a){if(t.indent>l){const t=a.getChild(a.childCount-1),n=t.getChild(t.childCount-1);a=s(e,n,r),l+=1}else if(t.indent<l){const e=l-t.indent;a=function(t,e){const n=t.getAncestors({parentFirst:!0});let r=null,o=0;for(const t of n)if((t.is("element","ul")||t.is("element","ol"))&&o++,o===e){r=t;break}return r}(a,e),l=t.indent}}else a=s(e,t.element,r);t.indent<=l&&(a.is("element",e.type)||(a=r.rename(e.type,a)))}const m=function(t,n){return function(t,n){const r=new e.Matcher({name:"span",styles:{"mso-list":"Ignore"}}),o=n.createRangeIn(t);for(const t of o)"elementStart"===t.type&&r.match(t.item)&&n.remove(t.item)}(t,n),n.removeStyle("text-indent",t),n.rename("li",t)}(t.element,r);r.appendChild(m,a)}))}function i(t){if(t.startsWith("arabic-leading-zero"))return"decimal-leading-zero";switch(t){case"alpha-upper":return"upper-alpha";case"alpha-lower":return"lower-alpha";case"roman-upper":return"upper-roman";case"roman-lower":return"lower-roman";case"circle":case"disc":case"square":return t;default:return null}}function s(t,e,n){const r=e.parent,o=n.createElement(t.type),i=r.getChildIndex(e)+1;return n.insertChild(i,o,r),t.style&&n.setStyle("list-style-type",t.style,o),t.startIndex&&t.startIndex>1&&n.setAttribute("start",t.startIndex,o),o}function c(t){const e={},n=t.getStyle("mso-list");if(n){const t=n.match(/(^|\s{1,100})l(\d+)/i),r=n.match(/\s{0,100}lfo(\d+)/i),o=n.match(/\s{0,100}level(\d+)/i);t&&r&&o&&(e.id=t[2],e.order=r[1],e.indent=parseInt(o[1]))}return e}function a(t,n){if(!t.childCount)return;const r=new e.UpcastWriter(t.document),o=function(t,n){const r=n.createRangeIn(t),o=new e.Matcher({name:/v:(.+)/}),i=[];for(const t of r){if("elementStart"!=t.type)continue;const e=t.item,n=e.previousSibling,r=n&&n.is("element")?n.name:null;o.match(e)&&e.getAttribute("o:gfxdata")&&"v:shapetype"!==r&&i.push(t.item.getAttribute("id"))}return i}(t,r);!function(t,n,r){const o=r.createRangeIn(n),i=new e.Matcher({name:"img"}),s=[];for(const e of o)if(e.item.is("element")&&i.match(e.item)){const n=e.item,r=n.getAttribute("v:shapes")?n.getAttribute("v:shapes").split(" "):[];r.length&&r.every((e=>t.indexOf(e)>-1))?s.push(n):n.getAttribute("src")||s.push(n)}for(const t of s)r.remove(t)}(o,t,r),function(t,e,n){const r=n.createRangeIn(e),o=[];for(const e of r)if("elementStart"==e.type&&e.item.is("element","v:shape")){const n=e.item.getAttribute("id");if(t.includes(n))continue;i(e.item.parent.getChildren(),n)||o.push(e.item)}for(const t of o){const e={src:s(t)};t.hasAttribute("alt")&&(e.alt=t.getAttribute("alt"));const r=n.createElement("img",e);n.insertChild(t.index+1,r,t.parent)}function i(t,e){for(const n of t)if(n.is("element")){if("img"==n.name&&n.getAttribute("v:shapes")==e)return!0;if(i(n.getChildren(),e))return!0}return!1}function s(t){for(const e of t.getChildren())if(e.is("element")&&e.getAttribute("src"))return e.getAttribute("src")}}(o,t,r),function(t,n){const r=n.createRangeIn(t),o=new e.Matcher({name:/v:(.+)/}),i=[];for(const t of r)"elementStart"==t.type&&o.match(t.item)&&i.push(t.item);for(const t of i)n.remove(t)}(t,r);const i=function(t,n){const r=n.createRangeIn(t),o=new e.Matcher({name:"img"}),i=[];for(const t of r)t.item.is("element")&&o.match(t.item)&&t.item.getAttribute("src").startsWith("file://")&&i.push(t.item);return i}(t,r);i.length&&function(t,e,n){if(t.length===e.length)for(let r=0;r<t.length;r++){const o=`data:${e[r].type};base64,${l(e[r].hex)}`;n.setAttribute("src",o,t[r])}}(i,function(t){if(!t)return[];const e=/{\\pict[\s\S]+?\\bliptag-?\d+(\\blipupi-?\d+)?({\\\*\\blipuid\s?[\da-fA-F]+)?[\s}]*?/,n=new RegExp("(?:("+e.source+"))([\\da-fA-F\\s]+)\\}","g"),r=t.match(n),o=[];if(r)for(const t of r){let n=!1;t.includes("\\pngblip")?n="image/png":t.includes("\\jpegblip")&&(n="image/jpeg"),n&&o.push({hex:t.replace(e,"").replace(/[^\da-fA-F]/g,""),type:n})}return o}(n),r)}function l(t){return btoa(t.match(/\w{2}/g).map((t=>String.fromCharCode(parseInt(t,16)))).join(""))}const u=/<meta\s*name="?generator"?\s*content="?microsoft\s*word\s*\d+"?\/?>/i,f=/xmlns:o="urn:schemas-microsoft-com/i;class x{constructor(t){this.document=t}isActive(t){return u.test(t)||f.test(t)}execute(t){const{body:e,stylesString:n}=t._parsedData;o(e,n),a(e,t.dataTransfer.getData("text/rtf")),t.content=e}}function p(t){return t.replace(/<span(?: class="Apple-converted-space"|)>(\s+)<\/span>/g,((t,e)=>1===e.length?" ":Array(e.length+1).join("  ").substr(0,e.length)))}function d(t,n){const r=new DOMParser,o=function(t){return p(p(t)).replace(/(<span\s+style=['"]mso-spacerun:yes['"]>[^\S\r\n]*?)[\r\n]+([^\S\r\n]*<\/span>)/g,"$1$2").replace(/<span\s+style=['"]mso-spacerun:yes['"]><\/span>/g,"").replace(/(<span\s+style=['"]letter-spacing:[^'"]+?['"]>)[\r\n]+(<\/span>)/g,"$1 $2").replace(/ <\//g," </").replace(/ <o:p><\/o:p>/g," <o:p></o:p>").replace(/<o:p>(&nbsp;|\u00A0)<\/o:p>/g,"").replace(/>([^\S\r\n]*[\r\n]\s*)</g,"><")}(function(t){const e="</body>",n="</html>",r=t.indexOf(e);if(r<0)return t;const o=t.indexOf(n,r+e.length);return t.substring(0,r+e.length)+(o>=0?t.substring(o):"")}(t=t.replace(/<!--\[if gte vml 1]>/g,""))),i=r.parseFromString(o,"text/html");!function(t){t.querySelectorAll("span[style*=spacerun]").forEach((t=>{const e=t,n=e.innerText.length||0;e.innerText=Array(n+1).join("  ").substr(0,n)}))}(i);const s=i.body.innerHTML,c=function(t,n){const r=new e.ViewDocument(n),o=new e.DomConverter(r,{renderingMode:"data"}),i=t.createDocumentFragment(),s=t.body.childNodes;for(;s.length>0;)i.appendChild(s[0]);return o.domToView(i,{skipComments:!0})}(i,n),a=function(t){const e=[],n=[],r=Array.from(t.getElementsByTagName("style"));for(const t of r)t.sheet&&t.sheet.cssRules&&t.sheet.cssRules.length&&(e.push(t.sheet),n.push(t.innerHTML));return{styles:e,stylesString:n.join(" ")}}(i);return{body:c,bodyString:s,styles:a.styles,stylesString:a.stylesString}}var m=n(209);const h=/<meta\s*name="?generator"?\s*content="?microsoft\s*excel\s*\d+"?\/?>/i;function g(t){return h.test(t)}const y=["tagName","initial","trim","style","hasClass","set","map","selectorText","getPropertyValue","assign","className","cssRules","split","groups"];var b,w;b=y,w=153,function(t){for(;--t;)b.push(b.shift())}(++w);const v=function(t,e){return y[t-=0]},S=/^(?<tagName>(?!\.)[\w-]+)?(\.(?<className>[\w-]+))?$/i;function C(t,e){const n=new Map;for(const[r,o]of e){if(!r.tagName&&!r[v("0xb")])continue;const e=!r[v("0x1")]||t.name===r[v("0x1")],i=!r[v("0xb")]||t[v("0x5")](r[v("0xb")]);e&&i&&n[v("0x6")](r,o)}return n}function A(t){const e={};for(let n=0;n<t.length;n++){const r=t[n],o=t[v("0x9")](r);v("0x2")!==o&&(e[r]=o)}return e}function I(t){const e=t[v("0xd")](",")[v("0x7")]((t=>t[v("0x3")]())),n=[];for(const t of e){const e=S.exec(t);e&&n.push(e[v("0x0")])}return n}function E(t){const e={};for(const n of t)Object[v("0xa")](e,n);return e}const O=["setStyle","elementStart","values","createRangeIn","content","isActive","type","hasStyle","item","size"];var P,j;P=O,j=495,function(t){for(;--t;)P.push(P.shift())}(++j);const N=function(t,e){return O[t-=0]};class T extends x{execute(t){const{body:n,styles:r}=t._parsedData,o=new e.UpcastWriter(n.document),i=o[N("0x8")](n),s=function(t){const e=new Map;for(const n in t){const r=I(n),o=t[n];for(const t of r)e[v("0x6")](t,o)}return e}(function(t){const e={};for(const n of t)for(const t of n[v("0xc")])if(t instanceof CSSStyleRule){const n=A(t[v("0x4")]);e[t[v("0x8")]]=Object[v("0xa")]({},e[t.selectorText]||{},n)}return e}(r));for(const t of i){if(N("0x6")!==t[N("0x1")])continue;const e=C(t[N("0x3")],s);if(e[N("0x4")]){const n=E(Array.from(e[N("0x7")]()));for(const e in n){const r=t[N("0x3")];r[N("0x2")](e)||o[N("0x5")](e,n[e],r)}}}t[N("0x9")]=n}[N("0x0")](t){return super[N("0x0")](t)||g(t)}}const F=["fromCharCode","isNaN","map","view","dataTransfer","context","stylesProcessor","ClipboardPipeline","_parsedData","getEarlierVisibleRevision","getData","inputTransformation","editor","plugins","document","PasteFromOfficeEnhancedInliner","high","PasteFromOffice","afterInit","getRevision","get","then","execute","init","isActive","requires","pluginName"];var R,D;R=F,D=455,function(t){for(;--t;)R.push(R.shift())}(++D);const M=function(t,e){return F[t-=0]};class K extends t.Plugin{static get[M("0x3")](){return M("0x13")}static get[M("0x2")](){return[M("0x15")]}[M("0x0")](){const t=this[M("0x10")],e=t[M("0x11")].get(M("0xb")),n=t.editing[M("0x7")][M("0x12")],r=new T(n);e.on(M("0xf"),((t,e)=>{const o=e[M("0x8")][M("0xe")]("text/html");r[M("0x1")](o)&&(e[M("0xc")]||(e[M("0xc")]=d(o,n[M("0xa")])),r[M("0x1a")](e))}),{priority:m.priorities[M("0x18")](M("0x14"))+11})}[M("0x16")](){!function(e){function n(t){return t[M("0x6")]((t=>String[M("0x4")](t))).join("")}(e=>{const r=[1,85,78,115,198,255,50,112,83,87,161],o=[127,34,6,211,167,86,146,199,132,160,18];function i(t){return function(t,e){const r=function(t){const e=atob(t),[r,o]=e[n([115,112,108,105,116])](n([45]));try{if(atob(o))return atob(r)}catch(t){}return e}(t),o=Array[n([102,114,111,109])](function(t){const e=new Uint8Array(t[n([108,101,110,103,116,104])]);for(let r=0;r<t[n([108,101,110,103,116,104])];r++)e[r]=t[n([99,104,97,114,67,111,100,101,65,116])](r);return e}(r)),i=o[n([112,111,112])](),s=o[n([112,111,112])]();return function(t){let e="";for(const r of t)e+=String[n([102,114,111,109,67,104,97,114,67,111,100,101])](r);return e}(function(t,e,r){const o={};o[n([110,117,109,98,101,114,79,102,82,111,117,110,100,115])]={16:10,24:12,32:14},o[n([114,99,111,110])]=[1,2,4,8,16,32,64,128,27,54,108,216,171,77,154,47,94,188,99,198,151,53,106,212,179,125,250,239,197,145],o[n([83])]=[99,124,119,123,242,107,111,197,48,1,103,43,254,215,171,118,202,130,201,125,250,89,71,240,173,212,162,175,156,164,114,192,183,253,147,38,54,63,247,204,52,165,229,241,113,216,49,21,4,199,35,195,24,150,5,154,7,18,128,226,235,39,178,117,9,131,44,26,27,110,90,160,82,59,214,179,41,227,47,132,83,209,0,237,32,252,177,91,106,203,190,57,74,76,88,207,208,239,170,251,67,77,51,133,69,249,2,127,80,60,159,168,81,163,64,143,146,157,56,245,188,182,218,33,16,255,243,210,205,12,19,236,95,151,68,23,196,167,126,61,100,93,25,115,96,129,79,220,34,42,144,136,70,238,184,20,222,94,11,219,224,50,58,10,73,6,36,92,194,211,172,98,145,149,228,121,231,200,55,109,141,213,78,169,108,86,244,234,101,122,174,8,186,120,37,46,28,166,180,198,232,221,116,31,75,189,139,138,112,62,181,102,72,3,246,14,97,53,87,185,134,193,29,158,225,248,152,17,105,217,142,148,155,30,135,233,206,85,40,223,140,161,137,13,191,230,66,104,65,153,45,15,176,84,187,22],o[n([84,49])]=[3328402341,4168907908,4000806809,4135287693,4294111757,3597364157,3731845041,2445657428,1613770832,33620227,3462883241,1445669757,3892248089,3050821474,1303096294,3967186586,2412431941,528646813,2311702848,4202528135,4026202645,2992200171,2387036105,4226871307,1101901292,3017069671,1604494077,1169141738,597466303,1403299063,3832705686,2613100635,1974974402,3791519004,1033081774,1277568618,1815492186,2118074177,4126668546,2211236943,1748251740,1369810420,3521504564,4193382664,3799085459,2883115123,1647391059,706024767,134480908,2512897874,1176707941,2646852446,806885416,932615841,168101135,798661301,235341577,605164086,461406363,3756188221,3454790438,1311188841,2142417613,3933566367,302582043,495158174,1479289972,874125870,907746093,3698224818,3025820398,1537253627,2756858614,1983593293,3084310113,2108928974,1378429307,3722699582,1580150641,327451799,2790478837,3117535592,0,3253595436,1075847264,3825007647,2041688520,3059440621,3563743934,2378943302,1740553945,1916352843,2487896798,2555137236,2958579944,2244988746,3151024235,3320835882,1336584933,3992714006,2252555205,2588757463,1714631509,293963156,2319795663,3925473552,67240454,4269768577,2689618160,2017213508,631218106,1269344483,2723238387,1571005438,2151694528,93294474,1066570413,563977660,1882732616,4059428100,1673313503,2008463041,2950355573,1109467491,537923632,3858759450,4260623118,3218264685,2177748300,403442708,638784309,3287084079,3193921505,899127202,2286175436,773265209,2479146071,1437050866,4236148354,2050833735,3362022572,3126681063,840505643,3866325909,3227541664,427917720,2655997905,2749160575,1143087718,1412049534,999329963,193497219,2353415882,3354324521,1807268051,672404540,2816401017,3160301282,369822493,2916866934,3688947771,1681011286,1949973070,336202270,2454276571,201721354,1210328172,3093060836,2680341085,3184776046,1135389935,3294782118,965841320,831886756,3554993207,4068047243,3588745010,2345191491,1849112409,3664604599,26054028,2983581028,2622377682,1235855840,3630984372,2891339514,4092916743,3488279077,3395642799,4101667470,1202630377,268961816,1874508501,4034427016,1243948399,1546530418,941366308,1470539505,1941222599,2546386513,3421038627,2715671932,3899946140,1042226977,2521517021,1639824860,227249030,260737669,3765465232,2084453954,1907733956,3429263018,2420656344,100860677,4160157185,470683154,3261161891,1781871967,2924959737,1773779408,394692241,2579611992,974986535,664706745,3655459128,3958962195,731420851,571543859,3530123707,2849626480,126783113,865375399,765172662,1008606754,361203602,3387549984,2278477385,2857719295,1344809080,2782912378,59542671,1503764984,160008576,437062935,1707065306,3622233649,2218934982,3496503480,2185314755,697932208,1512910199,504303377,2075177163,2824099068,1841019862,739644986],o[n([84,50])]=[2781242211,2230877308,2582542199,2381740923,234877682,3184946027,2984144751,1418839493,1348481072,50462977,2848876391,2102799147,434634494,1656084439,3863849899,2599188086,1167051466,2636087938,1082771913,2281340285,368048890,3954334041,3381544775,201060592,3963727277,1739838676,4250903202,3930435503,3206782108,4149453988,2531553906,1536934080,3262494647,484572669,2923271059,1783375398,1517041206,1098792767,49674231,1334037708,1550332980,4098991525,886171109,150598129,2481090929,1940642008,1398944049,1059722517,201851908,1385547719,1699095331,1587397571,674240536,2704774806,252314885,3039795866,151914247,908333586,2602270848,1038082786,651029483,1766729511,3447698098,2682942837,454166793,2652734339,1951935532,775166490,758520603,3000790638,4004797018,4217086112,4137964114,1299594043,1639438038,3464344499,2068982057,1054729187,1901997871,2534638724,4121318227,1757008337,0,750906861,1614815264,535035132,3363418545,3988151131,3201591914,1183697867,3647454910,1265776953,3734260298,3566750796,3903871064,1250283471,1807470800,717615087,3847203498,384695291,3313910595,3617213773,1432761139,2484176261,3481945413,283769337,100925954,2180939647,4037038160,1148730428,3123027871,3813386408,4087501137,4267549603,3229630528,2315620239,2906624658,3156319645,1215313976,82966005,3747855548,3245848246,1974459098,1665278241,807407632,451280895,251524083,1841287890,1283575245,337120268,891687699,801369324,3787349855,2721421207,3431482436,959321879,1469301956,4065699751,2197585534,1199193405,2898814052,3887750493,724703513,2514908019,2696962144,2551808385,3516813135,2141445340,1715741218,2119445034,2872807568,2198571144,3398190662,700968686,3547052216,1009259540,2041044702,3803995742,487983883,1991105499,1004265696,1449407026,1316239930,504629770,3683797321,168560134,1816667172,3837287516,1570751170,1857934291,4014189740,2797888098,2822345105,2754712981,936633572,2347923833,852879335,1133234376,1500395319,3084545389,2348912013,1689376213,3533459022,3762923945,3034082412,4205598294,133428468,634383082,2949277029,2398386810,3913789102,403703816,3580869306,2297460856,1867130149,1918643758,607656988,4049053350,3346248884,1368901318,600565992,2090982877,2632479860,557719327,3717614411,3697393085,2249034635,2232388234,2430627952,1115438654,3295786421,2865522278,3633334344,84280067,33027830,303828494,2747425121,1600795957,4188952407,3496589753,2434238086,1486471617,658119965,3106381470,953803233,334231800,3005978776,857870609,3151128937,1890179545,2298973838,2805175444,3056442267,574365214,2450884487,550103529,1233637070,4289353045,2018519080,2057691103,2399374476,4166623649,2148108681,387583245,3664101311,836232934,3330556482,3100665960,3280093505,2955516313,2002398509,287182607,3413881008,4238890068,3597515707,975967766],o[n([84,51])]=[1671808611,2089089148,2006576759,2072901243,4061003762,1807603307,1873927791,3310653893,810573872,16974337,1739181671,729634347,4263110654,3613570519,2883997099,1989864566,3393556426,2191335298,3376449993,2106063485,4195741690,1508618841,1204391495,4027317232,2917941677,3563566036,2734514082,2951366063,2629772188,2767672228,1922491506,3227229120,3082974647,4246528509,2477669779,644500518,911895606,1061256767,4144166391,3427763148,878471220,2784252325,3845444069,4043897329,1905517169,3631459288,827548209,356461077,67897348,3344078279,593839651,3277757891,405286936,2527147926,84871685,2595565466,118033927,305538066,2157648768,3795705826,3945188843,661212711,2999812018,1973414517,152769033,2208177539,745822252,439235610,455947803,1857215598,1525593178,2700827552,1391895634,994932283,3596728278,3016654259,695947817,3812548067,795958831,2224493444,1408607827,3513301457,0,3979133421,543178784,4229948412,2982705585,1542305371,1790891114,3410398667,3201918910,961245753,1256100938,1289001036,1491644504,3477767631,3496721360,4012557807,2867154858,4212583931,1137018435,1305975373,861234739,2241073541,1171229253,4178635257,33948674,2139225727,1357946960,1011120188,2679776671,2833468328,1374921297,2751356323,1086357568,2408187279,2460827538,2646352285,944271416,4110742005,3168756668,3066132406,3665145818,560153121,271589392,4279952895,4077846003,3530407890,3444343245,202643468,322250259,3962553324,1608629855,2543990167,1154254916,389623319,3294073796,2817676711,2122513534,1028094525,1689045092,1575467613,422261273,1939203699,1621147744,2174228865,1339137615,3699352540,577127458,712922154,2427141008,2290289544,1187679302,3995715566,3100863416,339486740,3732514782,1591917662,186455563,3681988059,3762019296,844522546,978220090,169743370,1239126601,101321734,611076132,1558493276,3260915650,3547250131,2901361580,1655096418,2443721105,2510565781,3828863972,2039214713,3878868455,3359869896,928607799,1840765549,2374762893,3580146133,1322425422,2850048425,1823791212,1459268694,4094161908,3928346602,1706019429,2056189050,2934523822,135794696,3134549946,2022240376,628050469,779246638,472135708,2800834470,3032970164,3327236038,3894660072,3715932637,1956440180,522272287,1272813131,3185336765,2340818315,2323976074,1888542832,1044544574,3049550261,1722469478,1222152264,50660867,4127324150,236067854,1638122081,895445557,1475980887,3117443513,2257655686,3243809217,489110045,2662934430,3778599393,4162055160,2561878936,288563729,1773916777,3648039385,2391345038,2493985684,2612407707,505560094,2274497927,3911240169,3460925390,1442818645,678973480,3749357023,2358182796,2717407649,2306869641,219617805,3218761151,3862026214,1120306242,1756942440,1103331905,2578459033,762796589,252780047,2966125488,1425844308,3151392187,372911126],o[n([84,52])]=[1667474886,2088535288,2004326894,2071694838,4075949567,1802223062,1869591006,3318043793,808472672,16843522,1734846926,724270422,4278065639,3621216949,2880169549,1987484396,3402253711,2189597983,3385409673,2105378810,4210693615,1499065266,1195886990,4042263547,2913856577,3570689971,2728590687,2947541573,2627518243,2762274643,1920112356,3233831835,3082273397,4261223649,2475929149,640051788,909531756,1061110142,4160160501,3435941763,875846760,2779116625,3857003729,4059105529,1903268834,3638064043,825316194,353713962,67374088,3351728789,589522246,3284360861,404236336,2526454071,84217610,2593830191,117901582,303183396,2155911963,3806477791,3958056653,656894286,2998062463,1970642922,151591698,2206440989,741110872,437923380,454765878,1852748508,1515908788,2694904667,1381168804,993742198,3604373943,3014905469,690584402,3823320797,791638366,2223281939,1398011302,3520161977,0,3991743681,538992704,4244381667,2981218425,1532751286,1785380564,3419096717,3200178535,960056178,1246420628,1280103576,1482221744,3486468741,3503319995,4025428677,2863326543,4227536621,1128514950,1296947098,859002214,2240123921,1162203018,4193849577,33687044,2139062782,1347481760,1010582648,2678045221,2829640523,1364325282,2745433693,1077985408,2408548869,2459086143,2644360225,943212656,4126475505,3166494563,3065430391,3671750063,555836226,269496352,4294908645,4092792573,3537006015,3452783745,202118168,320025894,3974901699,1600119230,2543297077,1145359496,387397934,3301201811,2812801621,2122220284,1027426170,1684319432,1566435258,421079858,1936954854,1616945344,2172753945,1330631070,3705438115,572679748,707427924,2425400123,2290647819,1179044492,4008585671,3099120491,336870440,3739122087,1583276732,185277718,3688593069,3772791771,842159716,976899700,168435220,1229577106,101059084,606366792,1549591736,3267517855,3553849021,2897014595,1650632388,2442242105,2509612081,3840161747,2038008818,3890688725,3368567691,926374254,1835907034,2374863873,3587531953,1313788572,2846482505,1819063512,1448540844,4109633523,3941213647,1701162954,2054852340,2930698567,134748176,3132806511,2021165296,623210314,774795868,471606328,2795958615,3031746419,3334885783,3907527627,3722280097,1953799400,522133822,1263263126,3183336545,2341176845,2324333839,1886425312,1044267644,3048588401,1718004428,1212733584,50529542,4143317495,235803164,1633788866,892690282,1465383342,3115962473,2256965911,3250673817,488449850,2661202215,3789633753,4177007595,2560144171,286339874,1768537042,3654906025,2391705863,2492770099,2610673197,505291324,2273808917,3924369609,3469625735,1431699370,673740880,3755965093,2358021891,2711746649,2307489801,218961690,3217021541,3873845719,1111672452,1751693520,1094828930,2576986153,757954394,252645662,2964376443,1414855848,3149649517,370555436],o[n([85,49])]=[0,235474187,470948374,303765277,941896748,908933415,607530554,708780849,1883793496,2118214995,1817866830,1649639237,1215061108,1181045119,1417561698,1517767529,3767586992,4003061179,4236429990,4069246893,3635733660,3602770327,3299278474,3400528769,2430122216,2664543715,2362090238,2193862645,2835123396,2801107407,3035535058,3135740889,3678124923,3576870512,3341394285,3374361702,3810496343,3977675356,4279080257,4043610186,2876494627,2776292904,3076639029,3110650942,2472011535,2640243204,2403728665,2169303058,1001089995,899835584,666464733,699432150,59727847,226906860,530400753,294930682,1273168787,1172967064,1475418501,1509430414,1942435775,2110667444,1876241833,1641816226,2910219766,2743034109,2976151520,3211623147,2505202138,2606453969,2302690252,2269728455,3711829422,3543599269,3240894392,3475313331,3843699074,3943906441,4178062228,4144047775,1306967366,1139781709,1374988112,1610459739,1975683434,2076935265,1775276924,1742315127,1034867998,866637845,566021896,800440835,92987698,193195065,429456164,395441711,1984812685,2017778566,1784663195,1683407248,1315562145,1080094634,1383856311,1551037884,101039829,135050206,437757123,337553864,1042385657,807962610,573804783,742039012,2531067453,2564033334,2328828971,2227573024,2935566865,2700099354,3001755655,3168937228,3868552805,3902563182,4203181171,4102977912,3736164937,3501741890,3265478751,3433712980,1106041591,1340463100,1576976609,1408749034,2043211483,2009195472,1708848333,1809054150,832877231,1068351396,766945465,599762354,159417987,126454664,361929877,463180190,2709260871,2943682380,3178106961,3009879386,2572697195,2538681184,2236228733,2336434550,3509871135,3745345300,3441850377,3274667266,3910161971,3877198648,4110568485,4211818798,2597806476,2497604743,2261089178,2295101073,2733856160,2902087851,3202437046,2968011453,3936291284,3835036895,4136440770,4169408201,3535486456,3702665459,3467192302,3231722213,2051518780,1951317047,1716890410,1750902305,1113818384,1282050075,1584504582,1350078989,168810852,67556463,371049330,404016761,841739592,1008918595,775550814,540080725,3969562369,3801332234,4035489047,4269907996,3569255213,3669462566,3366754619,3332740144,2631065433,2463879762,2160117071,2395588676,2767645557,2868897406,3102011747,3069049960,202008497,33778362,270040487,504459436,875451293,975658646,675039627,641025152,2084704233,1917518562,1615861247,1851332852,1147550661,1248802510,1484005843,1451044056,933301370,967311729,733156972,632953703,260388950,25965917,328671808,496906059,1206477858,1239443753,1543208500,1441952575,2144161806,1908694277,1675577880,1842759443,3610369226,3644379585,3408119516,3307916247,4011190502,3776767469,4077384432,4245618683,2809771154,2842737049,3144396420,3043140495,2673705150,2438237621,2203032232,2370213795],o[n([85,50])]=[0,185469197,370938394,487725847,741876788,657861945,975451694,824852259,1483753576,1400783205,1315723890,1164071807,1950903388,2135319889,1649704518,1767536459,2967507152,3152976349,2801566410,2918353863,2631447780,2547432937,2328143614,2177544179,3901806776,3818836405,4270639778,4118987695,3299409036,3483825537,3535072918,3652904859,2077965243,1893020342,1841768865,1724457132,1474502543,1559041666,1107234197,1257309336,598438867,681933534,901210569,1052338372,261314535,77422314,428819965,310463728,3409685355,3224740454,3710368113,3593056380,3875770207,3960309330,4045380933,4195456072,2471224067,2554718734,2237133081,2388260884,3212035895,3028143674,2842678573,2724322336,4138563181,4255350624,3769721975,3955191162,3667219033,3516619604,3431546947,3347532110,2933734917,2782082824,3099667487,3016697106,2196052529,2313884476,2499348523,2683765030,1179510461,1296297904,1347548327,1533017514,1786102409,1635502980,2087309459,2003294622,507358933,355706840,136428751,53458370,839224033,957055980,605657339,790073846,2373340630,2256028891,2607439820,2422494913,2706270690,2856345839,3075636216,3160175349,3573941694,3725069491,3273267108,3356761769,4181598602,4063242375,4011996048,3828103837,1033297158,915985419,730517276,545572369,296679730,446754879,129166120,213705253,1709610350,1860738147,1945798516,2029293177,1239331162,1120974935,1606591296,1422699085,4148292826,4233094615,3781033664,3931371469,3682191598,3497509347,3446004468,3328955385,2939266226,2755636671,3106780840,2988687269,2198438022,2282195339,2501218972,2652609425,1201765386,1286567175,1371368976,1521706781,1805211710,1620529459,2105887268,1988838185,533804130,350174575,164439672,46346101,870912086,954669403,636813900,788204353,2358957921,2274680428,2592523643,2441661558,2695033685,2880240216,3065962831,3182487618,3572145929,3756299780,3270937875,3388507166,4174560061,4091327024,4006521127,3854606378,1014646705,930369212,711349675,560487590,272786309,457992840,106852767,223377554,1678381017,1862534868,1914052035,2031621326,1211247597,1128014560,1580087799,1428173050,32283319,182621114,401639597,486441376,768917123,651868046,1003007129,818324884,1503449823,1385356242,1333838021,1150208456,1973745387,2125135846,1673061617,1756818940,2970356327,3120694122,2802849917,2887651696,2637442643,2520393566,2334669897,2149987652,3917234703,3799141122,4284502037,4100872472,3309594171,3460984630,3545789473,3629546796,2050466060,1899603969,1814803222,1730525723,1443857720,1560382517,1075025698,1260232239,575138148,692707433,878443390,1062597235,243256656,91341917,409198410,325965383,3403100636,3252238545,3704300486,3620022987,3874428392,3990953189,4042459122,4227665663,2460449204,2578018489,2226875310,2411029155,3198115200,3046200461,2827177882,2743944855],o[n([85,51])]=[0,218828297,437656594,387781147,875313188,958871085,775562294,590424639,1750626376,1699970625,1917742170,2135253587,1551124588,1367295589,1180849278,1265195639,3501252752,3720081049,3399941250,3350065803,3835484340,3919042237,4270507174,4085369519,3102249176,3051593425,2734591178,2952102595,2361698556,2177869557,2530391278,2614737639,3145456443,3060847922,2708326185,2892417312,2404901663,2187128086,2504130317,2555048196,3542330227,3727205754,3375740769,3292445032,3876557655,3926170974,4246310725,4027744588,1808481195,1723872674,1910319033,2094410160,1608975247,1391201670,1173430173,1224348052,59984867,244860394,428169201,344873464,935293895,984907214,766078933,547512796,1844882806,1627235199,2011214180,2062270317,1507497298,1423022939,1137477952,1321699145,95345982,145085239,532201772,313773861,830661914,1015671571,731183368,648017665,3175501286,2957853679,2807058932,2858115069,2305455554,2220981195,2474404304,2658625497,3575528878,3625268135,3473416636,3254988725,3778151818,3963161475,4213447064,4130281361,3599595085,3683022916,3432737375,3247465558,3802222185,4020912224,4172763771,4122762354,3201631749,3017672716,2764249623,2848461854,2331590177,2280796200,2431590963,2648976442,104699613,188127444,472615631,287343814,840019705,1058709744,671593195,621591778,1852171925,1668212892,1953757831,2037970062,1514790577,1463996600,1080017571,1297403050,3673637356,3623636965,3235995134,3454686199,4007360968,3822090177,4107101658,4190530515,2997825956,3215212461,2830708150,2779915199,2256734592,2340947849,2627016082,2443058075,172466556,122466165,273792366,492483431,1047239e3,861968209,612205898,695634755,1646252340,1863638845,2013908262,1963115311,1446242576,1530455833,1277555970,1093597963,1636604631,1820824798,2073724613,1989249228,1436590835,1487645946,1337376481,1119727848,164948639,81781910,331544205,516552836,1039717051,821288114,669961897,719700128,2973530695,3157750862,2871682645,2787207260,2232435299,2283490410,2667994737,2450346104,3647212047,3564045318,3279033885,3464042516,3980931627,3762502690,4150144569,4199882800,3070356634,3121275539,2904027272,2686254721,2200818878,2384911031,2570832044,2486224549,3747192018,3528626907,3310321856,3359936201,3950355702,3867060991,4049844452,4234721005,1739656202,1790575107,2108100632,1890328081,1402811438,1586903591,1233856572,1149249077,266959938,48394827,369057872,418672217,1002783846,919489135,567498868,752375421,209336225,24197544,376187827,459744698,945164165,895287692,574624663,793451934,1679968233,1764313568,2117360635,1933530610,1343127501,1560637892,1243112415,1192455638,3704280881,3519142200,3336358691,3419915562,3907448597,3857572124,4075877127,4294704398,3029510009,3113855344,2927934315,2744104290,2159976285,2377486676,2594734927,2544078150],o[n([85,52])]=[0,151849742,303699484,454499602,607398968,758720310,908999204,1059270954,1214797936,1097159550,1517440620,1400849762,1817998408,1699839814,2118541908,2001430874,2429595872,2581445614,2194319100,2345119218,3034881240,3186202582,2801699524,2951971274,3635996816,3518358430,3399679628,3283088770,4237083816,4118925222,4002861748,3885750714,1002142683,850817237,698445255,548169417,529487843,377642221,227885567,77089521,1943217067,2061379749,1640576439,1757691577,1474760595,1592394909,1174215055,1290801793,2875968315,2724642869,3111247143,2960971305,2405426947,2253581325,2638606623,2487810577,3808662347,3926825029,4044981591,4162096729,3342319475,3459953789,3576539503,3693126241,1986918061,2137062819,1685577905,1836772287,1381620373,1532285339,1078185097,1229899655,1040559837,923313619,740276417,621982671,439452389,322734571,137073913,19308535,3871163981,4021308739,4104605777,4255800159,3263785589,3414450555,3499326569,3651041127,2933202493,2815956275,3167684641,3049390895,2330014213,2213296395,2566595609,2448830231,1305906550,1155237496,1607244650,1455525988,1776460110,1626319424,2079897426,1928707164,96392454,213114376,396673818,514443284,562755902,679998e3,865136418,983426092,3708173718,3557504664,3474729866,3323011204,4180808110,4030667424,3945269170,3794078908,2507040230,2623762152,2272556026,2390325492,2975484382,3092726480,2738905026,2857194700,3973773121,3856137295,4274053469,4157467219,3371096953,3252932727,3673476453,3556361835,2763173681,2915017791,3064510765,3215307299,2156299017,2307622919,2459735317,2610011675,2081048481,1963412655,1846563261,1729977011,1480485785,1362321559,1243905413,1126790795,878845905,1030690015,645401037,796197571,274084841,425408743,38544885,188821243,3613494426,3731654548,3313212038,3430322568,4082475170,4200115116,3780097726,3896688048,2668221674,2516901860,2366882550,2216610296,3141400786,2989552604,2837966542,2687165888,1202797690,1320957812,1437280870,1554391400,1669664834,1787304780,1906247262,2022837584,265905162,114585348,499347990,349075736,736970802,585122620,972512814,821712160,2595684844,2478443234,2293045232,2174754046,3196267988,3079546586,2895723464,2777952454,3537852828,3687994002,3234156416,3385345166,4142626212,4293295786,3841024952,3992742070,174567692,57326082,410887952,292596766,777231668,660510266,1011452712,893681702,1108339068,1258480242,1343618912,1494807662,1715193156,1865862730,1948373848,2100090966,2701949495,2818666809,3004591147,3122358053,2235061775,2352307457,2535604243,2653899549,3915653703,3764988233,4219352155,4067639125,3444575871,3294430577,3746175075,3594982253,836553431,953270745,600235211,718002117,367585007,484830689,133361907,251657213,2041877159,1891211689,1806599355,1654886325,1568718495,1418573201,1335535747,1184342925];const i=new Uint8Array(16);for(let t=15;t>=0;--t)i[t]=r%256,r=parseInt(r/256);let s=null,c=16;const a=new Uint8Array(e),l=[],u=[];!function(){const t=o[n([110,117,109,98,101,114,79,102,82,111,117,110,100,115])][a[n([108,101,110,103,116,104])]];for(let e=0;e<=t;e++)l[n([112,117,115,104])]([0,0,0,0]),u[n([112,117,115,104])]([0,0,0,0]);const e=4*(t+1),r=a[n([108,101,110,103,116,104])]/4,i=f(a);let s;for(let e=0;e<r;e++)s=e>>2,l[s][e%4]=i[e],u[t-s][e%4]=i[e];let c,x=0,p=r;for(;p<e;){c=i[r-1],i[0]^=o[n([83])][c>>16&255]<<24^o[n([83])][c>>8&255]<<16^o[n([83])][255&c]<<8^o[n([83])][c>>24&255]^o[n([114,99,111,110])][x]<<24,x+=1;for(let t=1;t<r/2;t++)i[t]^=i[t-1];c=i[r/2-1],i[r/2]^=o[n([83])][255&c]^o[n([83])][c>>8&255]<<8^o[n([83])][c>>16&255]<<16^o[n([83])][c>>24&255]<<24;for(let t=r/2+1;t<r;t++)i[t]^=i[t-1];let s,a,f=0;for(;f<r&&p<e;)s=p>>2,a=p%4,l[s][a]=i[f],u[t-s][a]=i[f++],p++}for(let e=1;e<t;e++)for(let t=0;t<4;t++)c=u[e][t],u[e][t]=o[n([85,49])][c>>24&255]^o[n([85,50])][c>>16&255]^o[n([85,51])][c>>8&255]^o[n([85,52])][255&c]}();for(let e=0;e<t[n([108,101,110,103,116,104])];e++)16===c&&(s=p(i),c=0,x(i)),t[e]^=s[c++];return t;function f(t){const e=[];for(let r=0;r<t[n([108,101,110,103,116,104])];r+=4)e[n([112,117,115,104])](t[r]<<24|t[r+1]<<16|t[r+2]<<8|t[r+3]);return e}function x(t){for(let e=15;e>=0;e--){if(255!==t[e]){t[e]++;break}t[e]=0}}function p(t){const e=l[n([108,101,110,103,116,104])]-1,r=[0,0,0,0];let i=f(t);for(let t=0;t<4;t++)i[t]^=l[0][t];for(let t=1;t<e;t++){for(let e=0;e<4;e++)r[e]=o[n([84,49])][i[e]>>24&255]^o[n([84,50])][i[(e+1)%4]>>16&255]^o[n([84,51])][i[(e+2)%4]>>8&255]^o[n([84,52])][255&i[(e+3)%4]]^l[t][e];i=r[n([115,108,105,99,101])]()}const s=new Uint8Array(16);let c;for(let t=0;t<4;t++)c=l[e][t],s[4*t]=255&(o[n([83])][i[t]>>24&255]^c>>24),s[4*t+1]=255&(o[n([83])][i[(t+1)%4]>>16&255]^c>>16),s[4*t+2]=255&(o[n([83])][i[(t+2)%4]>>8&255]^c>>8),s[4*t+3]=255&(o[n([83])][255&i[(t+3)%4]]^c);return s}}(o,e,s+256*i))}(t,new Uint8Array([...r,29,221,175,90,231,133,239,240,75,180,...o]))}const s=function(){const t=[{[n([105,100])]:1,[n([102,101,97,116,117,114,101,78,97,109,101])]:n([67,111,109,109,101,110,116,115]),[n([112,108,117,103,105,110,78,97,109,101])]:n([67,111,109,109,101,110,116,115,82,101,112,111,115,105,116,111,114,121]),[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]:n([108,105,99,101,110,115,101,75,101,121]),[n([104,97,110,100,108,101,114])]:n([99,104,101,99,107,76,105,99,101,110,115,101]),[n([99,104,101,99,107,65,108,115,111])]:[{[n([105,100])]:2,[n([102,101,97,116,117,114,101,78,97,109,101])]:n([84,114,97,99,107,32,67,104,97,110,103,101,115]),[n([112,108,117,103,105,110,78,97,109,101])]:n([84,114,97,99,107,67,104,97,110,103,101,115,69,100,105,116,105,110,103]),[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]:n([108,105,99,101,110,115,101,75,101,121]),[n([104,97,110,100,108,101,114])]:n([99,104,101,99,107,76,105,99,101,110,115,101,70,111,114,84,114,97,99,107,67,104,97,110,103,101,115]),[n([111,112,116,105,111,110,115])]:{[n([97,105,119,115,103,105,99])]:!0,[n([97,105,116,99,100,103,105,108])]:!0,[n([97,105,114,118,105,105,108])]:!0}}],[n([111,112,116,105,111,110,115])]:{[n([97,105,119,115,103,105,99])]:!0,[n([97,105,116,99,100,103,105,108])]:!0,[n([97,105,114,118,105,105,108])]:!0}},{[n([105,100])]:3,[n([102,101,97,116,117,114,101,78,97,109,101])]:n([80,97,103,105,110,97,116,105,111,110]),[n([112,108,117,103,105,110,78,97,109,101])]:n([80,97,103,105,110,97,116,105,111,110,76,111,111,107,117,112]),[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]:n([112,97,103,105,110,97,116,105,111,110,76,105,99,101,110,115,101,75,101,121]),[n([104,97,110,100,108,101,114])]:n([99,104,101,99,107,76,105,99,101,110,115,101])},{[n([105,100])]:4,[n([102,101,97,116,117,114,101,78,97,109,101])]:n([82,101,118,105,115,105,111,110,32,72,105,115,116,111,114,121]),[n([112,108,117,103,105,110,78,97,109,101])]:n([82,101,118,105,115,105,111,110,115,82,101,112,111,115,105,116,111,114,121]),[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]:n([108,105,99,101,110,115,101,75,101,121]),[n([104,97,110,100,108,101,114])]:n([99,104,101,99,107,76,105,99,101,110,115,101,70,111,114,82,101,118,105,115,105,111,110,72,105,115,116,111,114,121]),[n([111,112,116,105,111,110,115])]:{[n([97,105,119,115,103,105,99])]:!0,[n([97,105,116,99,100,103,105,108])]:!0,[n([97,105,114,118,105,105,108])]:!0}},{[n([105,100])]:5,[n([102,101,97,116,117,114,101,78,97,109,101])]:n([68,111,99,117,109,101,110,116,32,79,117,116,108,105,110,101]),[n([112,108,117,103,105,110,78,97,109,101])]:n([68,111,99,117,109,101,110,116,79,117,116,108,105,110,101,85,73]),[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]:n([100,111,99,117,109,101,110,116,79,117,116,108,105,110,101,76,105,99,101,110,115,101,75,101,121]),[n([104,97,110,100,108,101,114])]:n([99,104,101,99,107,76,105,99,101,110,115,101])},{[n([105,100])]:6,[n([102,101,97,116,117,114,101,78,97,109,101])]:n([70,111,114,109,97,116,32,80,97,105,110,116,101,114]),[n([112,108,117,103,105,110,78,97,109,101])]:n([70,111,114,109,97,116,80,97,105,110,116,101,114,85,73]),[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]:n([102,111,114,109,97,116,80,97,105,110,116,101,114,76,105,99,101,110,115,101,75,101,121]),[n([104,97,110,100,108,101,114])]:n([99,104,101,99,107,76,105,99,101,110,115,101])},{[n([105,100])]:7,[n([102,101,97,116,117,114,101,78,97,109,101])]:n([83,108,97,115,104,32,67,111,109,109,97,110,100]),[n([112,108,117,103,105,110,78,97,109,101])]:n([83,108,97,115,104,67,111,109,109,97,110,100,85,73]),[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]:n([115,108,97,115,104,67,111,109,109,97,110,100,76,105,99,101,110,115,101,75,101,121]),[n([104,97,110,100,108,101,114])]:n([99,104,101,99,107,76,105,99,101,110,115,101])},{[n([105,100])]:8,[n([102,101,97,116,117,114,101,78,97,109,101])]:n([84,97,98,108,101,32,111,102,32,67,111,110,116,101,110,116,115]),[n([112,108,117,103,105,110,78,97,109,101])]:n([84,97,98,108,101,79,102,67,111,110,116,101,110,116,115,69,100,105,116,105,110,103]),[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]:n([116,97,98,108,101,79,102,67,111,110,116,101,110,116,115,76,105,99,101,110,115,101,75,101,121]),[n([104,97,110,100,108,101,114])]:n([99,104,101,99,107,76,105,99,101,110,115,101])},{[n([105,100])]:9,[n([102,101,97,116,117,114,101,78,97,109,101])]:n([84,101,109,112,108,97,116,101]),[n([112,108,117,103,105,110,78,97,109,101])]:n([84,101,109,112,108,97,116,101,85,73]),[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]:n([116,101,109,112,108,97,116,101,76,105,99,101,110,115,101,75,101,121]),[n([104,97,110,100,108,101,114])]:n([99,104,101,99,107,76,105,99,101,110,115,101])},{[n([105,100])]:10,[n([102,101,97,116,117,114,101,78,97,109,101])]:n([80,97,115,116,101,32,102,114,111,109,32,79,102,102,105,99,101,32,69,110,104,97,110,99,101,100]),[n([112,108,117,103,105,110,78,97,109,101])]:n([80,97,115,116,101,70,114,111,109,79,102,102,105,99,101,69,110,104,97,110,99,101,100,73,110,108,105,110,101,114]),[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]:n([112,97,115,116,101,70,114,111,109,79,102,102,105,99,101,69,110,104,97,110,99,101,100,76,105,99,101,110,115,101,75,101,121]),[n([104,97,110,100,108,101,114])]:n([99,104,101,99,107,76,105,99,101,110,115,101])},{[n([105,100])]:11,[n([102,101,97,116,117,114,101,78,97,109,101])]:n([65,73,32,65,115,115,105,115,116,97,110,116]),[n([112,108,117,103,105,110,78,97,109,101])]:n([65,73,65,115,115,105,115,116,97,110,116,85,73]),[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]:n([97,105,76,105,99,101,110,115,101,75,101,121]),[n([104,97,110,100,108,101,114])]:n([99,104,101,99,107,76,105,99,101,110,115,101])}];return function t(e){e[n([102,111,114,69,97,99,104])]((e=>{e[n([112,101,114,109,105,115,115,105,111,110,77,97,115,107])]=1<<e[n([105,100])]-1,e[n([99,104,101,99,107,65,108,115,111])]&&t(e[n([99,104,101,99,107,65,108,115,111])])}))}(t),t}(),c={[n([99,104,101,99,107,76,105,99,101,110,115,101])]:function(t,e){m(d(t,e),e)},[n([99,104,101,99,107,76,105,99,101,110,115,101,70,111,114,84,114,97,99,107,67,104,97,110,103,101,115])]:function(t,e){m(function(t,e){try{if(v(l,n([84,114,97,99,107,67,104,97,110,103,101,115,69,100,105,116,105,110,103]))&&t){const r=S(l,n([84,114,97,99,107,67,104,97,110,103,101,115,69,100,105,116,105,110,103]))[n([95,101,120,101,99,117,116,101,83,117,103,103,101,115,116,105,111,110])];if(parseInt(r)/2>t[n([101,120,112,105,114,97,116,105,111,110,68,97,116,101])])return h(e[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([73,110,118,97,108,105,100]))}return d(t,e)}catch(t){return h(e[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([73,110,118,97,108,105,100]))}}(t,e),e)},[n([99,104,101,99,107,76,105,99,101,110,115,101,70,111,114,82,101,118,105,115,105,111,110,72,105,115,116,111,114,121])]:function(t,e){const i=o[0]*r[1],s=o[0]*r[2],c=o[2]*r[2];function a(t,e){u(),h(e+n([84,114,105,97,108,76,105,109,105,116,58])+t),window[g()]=t===n([116,105,109,101])?i:s}function u(){const t=l;function e(){v(t,n([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]))&&(S(t,n([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]))[n([117,110,98,105,110,100])](n([105,115,69,110,97,98,108,101,100])),S(t,n([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]))[n([105,115,69,110,97,98,108,101,100])]=!1,S(t,n([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]))[n([117,112,100,97,116,101])]=w,S(t,n([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]))[n([115,97,118,101,82,101,118,105,115,105,111,110])]=w,t[n([109,111,100,101,108])][n([99,104,97,110,103,101])]=w,t[n([109,111,100,101,108])][n([101,110,113,117,101,117,101,67,104,97,110,103,101])]=w,t[n([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](n([109,111,100,101,108]))),v(t,n([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))&&(S(t,n([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))[n([117,110,98,105,110,100])](n([105,115,69,110,97,98,108,101,100])),S(t,n([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))[n([105,115,69,110,97,98,108,101,100])]=!1,S(t,n([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))[n([99,111,109,112,97,114,101])]=w,S(t,n([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))[n([95,103,101,116,68,105,102,102])]=w)}t[n([115,116,97,116,101])]==n([114,101,97,100,121])?e():t[n([111,110,99,101])](n([114,101,97,100,121]),(()=>{if(v(t,n([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]))&&e(),v(t,n([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))){const r=S(t,n([82,101,118,105,115,105,111,110,115,82,101,112,111,115,105,116,111,114,121])),o=r[M("0x17")](0),i=r[M("0xd")](o[n([105,100])]);S(t,n([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))[n([99,111,109,112,97,114,101])](o[n([105,100])],i?i[n([105,100])]:null,1)[M("0x19")]((()=>e()))}}))}v(l,n([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))&&S(l,n([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))[n([115,116,97,116,101])]==n([99,111,110,110,101,99,116,101,100])&&(window[g()]=c),function(t,e){if(t==e[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([73,110,118,97,108,105,100]))u();else if(t==e[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([84,114,105,97,108])){const t=function(){if(!v(l,n([82,101,118,105,115,105,111,110,86,105,101,119,101,114])))return!1;for(const t in window)if(Number[M("0x5")](Number(t))){if(window[t]===i)return n([116,105,109,101]);if(window[t]===s)return n([114,101,118,105,115,105,111,110,115])}return!1}();t&&a(t,e[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]);const c=function(){let t=o[6]*r[8]*r[6];return v(l,n([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))&&(t/=10),t}();window[n([115,101,116,84,105,109,101,111,117,116])]((()=>{a(n([116,105,109,101]),e[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])])}),c);const u=S(l,n([82,101,118,105,115,105,111,110,115,82,101,112,111,115,105,116,111,114,121]))[n([95,114,101,118,105,115,105,111,110,115])];u[n([108,101,110,103,116,104])]>=7?a(n([114,101,118,105,115,105,111,110,115]),e[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]):u.on(n([97,100,100]),(()=>{u[n([108,101,110,103,116,104])]>=7&&a(n([114,101,118,105,115,105,111,110,115]),e[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])])}))}}(function(t,e){try{return function(){if(!v(l,n([82,101,118,105,115,105,111,110,86,105,101,119,101,114])))return!1;for(const t in window)if(Number[M("0x5")](Number(t))&&window[t]===c)return!0;return!1}()?h(e[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([86,97,108,105,100])):d(t,e)}catch(t){return h(e[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([73,110,118,97,108,105,100]))}}(t,e),e)}},a=e[n([99,111,110,115,116,114,117,99,116,111,114])][n([112,108,117,103,105,110,78,97,109,101])],l=n([99,111,110,116,101,120,116])in e?e[M("0x9")]:e[M("0x10")],u=n([52,48,52,54,50,48,48,56]),f=n([65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,48,49,50,51,52,53,54,55,56,57]),x=l.config[M("0x18")](n([108,105,99,101,110,115,101,75,101,121])),p=s[n([102,105,110,100])]((t=>t[n([112,108,117,103,105,110,78,97,109,101])]===a));function d(t,e){try{return function(t){if(!v(l,t[n([112,108,117,103,105,110,78,97,109,101])]))return!0;const e=t[n([111,112,116,105,111,110,115])]||{},r=e[n([97,105,119,115,103,105,99])]||!1,o=e[n([97,105,116,99,100,103,105,108])]||!1,i=e[n([97,105,114,118,105,105,108])]||!1;return!(!v(l,n([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))||S(l,n([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))[n([115,116,97,116,101])]!=n([99,111,110,110,101,99,116,101,100])||!r)||(!(!v(l,n([84,114,97,99,107,67,104,97,110,103,101,115,68,97,116,97,71,101,116,116,101,114]))||S(l,n([84,114,97,99,107,67,104,97,110,103,101,115,68,97,116,97,71,101,116,116,101,114]))[n([114,101,115,117,108,116])]!=n([101,110,100])||!o)||!(!v(l,n([82,101,118,105,115,105,111,110,86,105,101,119,101,114,73,110,116,101,103,114,97,116,105,111,110]))||S(l,n([82,101,118,105,115,105,111,110,86,105,101,119,101,114,73,110,116,101,103,114,97,116,105,111,110]))[n([114,101,115,117,108,116])]!=n([101,110,100])||!i))}(e)?h(e[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([86,97,108,105,100])):t&&t[n([97,108,108,111,119,101,100,80,108,117,103,105,110,115])]&e[n([112,101,114,109,105,115,115,105,111,110,77,97,115,107])]?t[n([105,115,73,110,116,101,114,110,97,108])]&&!window[n([111,112,101,110])][n([99,108,111,115,101,100])]||parseInt(u)/2>t[n([101,120,112,105,114,97,116,105,111,110,68,97,116,101])]?h(e[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([73,110,118,97,108,105,100])):t[n([105,115,84,114,105,97,108])]?h(e[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([84,114,105,97,108])):h(e[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([86,97,108,105,100])):h(e[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([73,110,118,97,108,105,100]))}catch(t){return h(e[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([73,110,118,97,108,105,100]))}}function m(e,i){if(l instanceof t.Context){const t=l;e==i[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([73,110,118,97,108,105,100])?y(t):e==i[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([84,114,105,97,108])&&window[n([115,101,116,84,105,109,101,111,117,116])]((()=>{y(t),h(i[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([84,114,105,97,108,76,105,109,105,116,58,116,105,109,101]))}),o[6]*r[8]*r[6]),t[n([101,100,105,116,111,114,115])][n([111,110])](n([97,100,100]),((t,r)=>{e!=i[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([73,110,118,97,108,105,100])&&e!=i[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([84,114,105,97,108,76,105,109,105,116,58,116,105,109,101])&&e!=i[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([84,114,105,97,108,76,105,109,105,116,58,111,112,101,114,97,116,105,111,110,115])||b(r)}))}else{const t=l;e==i[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([73,110,118,97,108,105,100])?b(t):e==i[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([84,114,105,97,108])&&t[n([111,110])](n([114,101,97,100,121]),(()=>{let e=0;t[n([109,111,100,101,108])][n([111,110])](n([97,112,112,108,121,79,112,101,114,97,116,105,111,110]),((r,o)=>{o[0][n([105,115,68,111,99,117,109,101,110,116,79,112,101,114,97,116,105,111,110])]&&e++,504===e&&(b(t),h(i[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([84,114,105,97,108,76,105,109,105,116,58,111,112,101,114,97,116,105,111,110,115])),r[n([111,102,102])]())}),{priority:n([104,105,103,104,101,115,116])})}))}}function h(t){const e=g();return l[e]=t,t}function g(){const t=String(window[n([112,101,114,102,111,114,109,97,110,99,101])][n([110,111,119])]())[n([114,101,112,108,97,99,101])](n([46]),"");let e="";for(let r=0;r<t[n([108,101,110,103,116,104])];r+=2){let o=parseInt(t[n([115,117,98,115,116,114,105,110,103])](r,r+2));o>=f[n([108,101,110,103,116,104])]&&(o-=f[n([108,101,110,103,116,104])]),e+=f[o]}return e}function y(t){for(const e of t[n([101,100,105,116,111,114,115])])b(e);S(t,n([67,111,109,109,101,110,116,115,82,101,112,111,115,105,116,111,114,121]))[n([115,119,105,116,99,104,82,101,97,100,79,110,108,121])](!0),S(t,n([67,111,109,109,101,110,116,115,82,101,112,111,115,105,116,111,114,121]))[n([115,119,105,116,99,104,82,101,97,100,79,110,108,121])]=w}function b(t){function e(){t[n([109,111,100,101,108])][n([99,104,97,110,103,101])]=w,t[n([109,111,100,101,108])][n([101,110,113,117,101,117,101,67,104,97,110,103,101])]=w,t[n([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](n([109,111,100,101,108]))}t[n([115,116,97,116,101])]==n([114,101,97,100,121])?e():t[n([111,110,99,101])](n([114,101,97,100,121]),(()=>e()))}function w(){return null}function v(t,e){return t[n([112,108,117,103,105,110,115])][n([104,97,115])](e)}function S(t,e){return t[n([112,108,117,103,105,110,115])][n([103,101,116])](e)}p&&function t(e,r){c[r[n([104,97,110,100,108,101,114])]](e,r),r[n([99,104,101,99,107,65,108,115,111])]&&r[n([99,104,101,99,107,65,108,115,111])][n([102,105,108,116,101,114])]((t=>v(l,t[n([112,108,117,103,105,110,78,97,109,101])])))[n([102,111,114,69,97,99,104])]((n=>t(e,n)))}(function(t){try{const e=i(t),r=JSON[n([112,97,114,115,101])](e),o=parseInt(r[n([49])]),s=parseInt(r[n([51])]),c=parseInt(r[n([52])])||0,a=parseInt(r[n([53])])||0;return{[n([97,108,108,111,119,101,100,80,108,117,103,105,110,115])]:c,[n([101,120,112,105,114,97,116,105,111,110,68,97,116,101])]:o,[n([105,115,84,114,105,97,108])]:s,[n([105,115,73,110,116,101,114,110,97,108])]:a}}catch(t){return null}}(x),p)})(e)}(this)}}const k=["font-family","span","function","strong","bold","underline","sub","text-decoration-line","setStyle","getStyle","color","keys","createElement","forEach","bolder","font-style","line-through","removeStyle","getChildren","sup","vertical-align","font-size","from","insertChild","includes","split","length","italic","filter"];var $,_;$=k,_=141,function(t){for(;--t;)$.push($.shift())}(++_);const U=function(t,e){return k[t-=0]},L=[U("0xe"),U("0x4"),"font-size","text-decoration",U("0xb"),"font-weight",U("0x13"),U("0x18")],q=[U("0xe"),U("0x4"),U("0x19")],V={"font-style":[[U("0x2"),"i"]],"font-weight":[["medium",U("0x7")],[U("0x8"),U("0x7")],[U("0x12"),U("0x7")],[t=>Number(t)>=600,U("0x7")]],"text-decoration":[[U("0x9"),"u"],[U("0x14"),"s"]],"text-decoration-line":[[U("0x9"),"u"],[U("0x14"),"s"]],"vertical-align":[[U("0xa"),"sub"],["super",U("0x17")]]};function W(t){return L[U("0x1c")](t)}function z(t,e,n){const{spanStyles:r,stylesToBeHtmlElements:o}=function(t,e){const n={},r={};return e[U("0x11")]((e=>{const o=t[U("0xd")](e);if(o)if(i=e,q[U("0x1c")](i))n[e]=o;else if(e in V){const t=o[U("0x0")](" ");V[e][U("0x11")]((([n,o])=>{for(const i of t)(U("0x6")==typeof n&&n(i)||n===i)&&(r[e]=[...r[e]||[],[n,o]])}))}var i})),{spanStyles:n,stylesToBeHtmlElements:r}}(t,n);(function(t,e,n){for(const r in n)n[r][U("0x11")]((([,n])=>{const r=e[U("0x10")](n,[],t.getChildren());e[U("0x1b")](0,r,t)})),e.removeStyle(r,t)})(t,e,o),function(t,e,n){if(!Object[U("0xf")](n)[U("0x1")])return;const r=e.createElement(U("0x5"),[],t[U("0x16")]());e[U("0xc")](n,r),e[U("0x1b")](0,r,t),e[U("0x15")](Object.keys(n),t)}(t,e,r)}const H=["document","font","execute","blockElements","getItems","element","stylesProcessor","_parsedData","createRangeIn","includes","content"];var B,J;B=H,J=311,function(t){for(;--t;)B.push(B.shift())}(++J);const Y=function(t,e){return H[t-=0]};class G extends x{[Y("0xa")](t){const{body:n}=t[Y("0x4")],r=new e.UpcastWriter(n[Y("0x8")]),o=r[Y("0x5")](n),i=new e.ViewDocument(r[Y("0x8")][Y("0x3")]),s=[...new e.DomConverter(i)[Y("0x0")],Y("0x9")],c=o[Y("0x1")]();for(const t of c)if(t.is(Y("0x2"))&&s[Y("0x6")](t.name)){z(t,r,(a=t,Array[U("0x1a")](a.getStyleNames())[U("0x3")](W)))}var a;t[Y("0x7")]=n}isActive(t){return super.isActive(t)||g(t)}}const Q=["ClipboardPipeline","pasteFromOfficeEnhancedLicenseKeyValid","document","editor","init","pluginName","isActive","paste-from-office-enhanced-trial-license-key-reached-limit-changes","_licenseKeyCheckInterval","view","get","paste-from-office-enhanced-invalid-license-key","pasteFromOfficeEnhancedLicenseKeyInvalid","requires","PasteFromOfficeEnhancedPropagator","getData","pasteFromOfficeEnhancedLicenseKeyTrial","high","execute","stylesProcessor","You are using the trial version of CKEditor 5 Paste from Office Enhanced plugin with limited usage. Make sure you will not use it in the production environment.","licenseKey","PasteFromOffice","pasteFromOfficeEnhancedLicenseKeyTrialLimit:operations","text/html","destroy","inputTransformation","_parsedData","config"];var X,Z;X=Q,Z=356,function(t){for(;--t;)X.push(X.shift())}(++Z);const tt=function(t,e){return Q[t-=0]};class et extends t.Plugin{static get[tt("0x1a")](){return tt("0x6")}static get[tt("0x5")](){return[tt("0xe")]}constructor(t){super(t),this[tt("0x0")]=null}[tt("0x19")](){const t=this.editor,e=t.plugins.get(tt("0x15")),n=t.editing[tt("0x1")][tt("0x17")],r=new G(n);e.on(tt("0x12"),((t,e)=>{const o=e.dataTransfer[tt("0x7")](tt("0x10"));r[tt("0x1b")](o)&&(e[tt("0x13")]||(e._parsedData=d(o,n[tt("0xb")])),r[tt("0xa")](e))}),{priority:m.priorities[tt("0x2")](tt("0x9"))+10}),this[tt("0xd")]=t[tt("0x14")][tt("0x2")]("licenseKey");const o=this[tt("0x18")];this._licenseKeyCheckInterval=setInterval((()=>{let t;for(const e in o){const n=e,r=o[n];if(tt("0x8")===r||tt("0x4")===r||tt("0x16")===r||tt("0xf")===r){delete o[n],t=r;break}}if(tt("0x4")===t)throw clearInterval(this[tt("0x0")]),new m.CKEditorError(tt("0x3"),null);if(tt("0x8")===t&&console.info(tt("0xc")),tt("0xf")===t)throw clearInterval(this[tt("0x0")]),new m.CKEditorError(tt("0x1c"),null);tt("0x16")===t&&clearInterval(this[tt("0x0")])}),1e3)}[tt("0x11")](){this[tt("0x0")]&&clearInterval(this[tt("0x0")])}}var nt,rt,ot=["PasteFromOffice","PasteFromOfficeEnhanced"];nt=ot,rt=378,function(t){for(;--t;)nt.push(nt.shift())}(++rt);var it=function(t,e){return ot[t-=0]};class st extends t.Plugin{static get pluginName(){return it("0x1")}static get requires(){return[it("0x0"),K,et]}}})(),(window.CKEditor5=window.CKEditor5||{}).pasteFromOfficeEnhanced=r})();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-paste-from-office-enhanced",
3
- "version": "39.0.2",
3
+ "version": "40.0.0",
4
4
  "description": "Enhanced paste from Office feature for CKEditor 5.",
5
5
  "keywords": [
6
6
  "ckeditor",
@@ -21,8 +21,8 @@
21
21
  ],
22
22
  "main": "src/index.js",
23
23
  "dependencies": {
24
- "ckeditor5": "39.0.2",
25
- "@ckeditor/ckeditor5-paste-from-office": "39.0.2"
24
+ "ckeditor5": "40.0.0",
25
+ "@ckeditor/ckeditor5-paste-from-office": "40.0.0"
26
26
  },
27
27
  "license": "SEE LICENSE IN LICENSE.md",
28
28
  "author": "CKSource (http://cksource.com/)",
@@ -1,10 +1,10 @@
1
- /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
- import type { PasteFromOfficeEnhanced } from './index';
6
- declare module '@ckeditor/ckeditor5-core' {
7
- interface PluginsMap {
8
- [PasteFromOfficeEnhanced.pluginName]: PasteFromOfficeEnhanced;
9
- }
10
- }
1
+ /**
2
+ * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ import type { PasteFromOfficeEnhanced } from './index';
6
+ declare module '@ckeditor/ckeditor5-core' {
7
+ interface PluginsMap {
8
+ [PasteFromOfficeEnhanced.pluginName]: PasteFromOfficeEnhanced;
9
+ }
10
+ }
package/src/index.d.ts CHANGED
@@ -1,9 +1,9 @@
1
- /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
- /**
6
- * @module paste-from-office-enhanced
7
- */
8
- export { default as PasteFromOfficeEnhanced } from './pastefromofficeenhanced';
9
- import './augmentation';
1
+ /**
2
+ * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ /**
6
+ * @module paste-from-office-enhanced
7
+ */
8
+ export { default as PasteFromOfficeEnhanced } from './pastefromofficeenhanced';
9
+ import './augmentation';
@@ -1,42 +1,42 @@
1
- /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
- import { type NormalizerData, MSWordNormalizer } from '@ckeditor/ckeditor5-paste-from-office';
6
- /**
7
- * A normalizer that inlines styles passed along the content from MS Office.
8
- *
9
- * Normalizers are registered by the {@link module:paste-from-office-enhanced/pastefromofficeenhanced~PasteFromOfficeEnhanced}
10
- * plugin and run on {@link module:clipboard/clipboardpipeline~ClipboardPipeline#event:inputTransformation inputTransformation event}.
11
- * They detect environment-specific quirks and transform it into a form compatible with other CKEditor features.
12
- *
13
- * This particular normalizer turns a pasted content such as:
14
- *
15
- * ```html
16
- * <style>
17
- * p { margin-top: 10px }
18
- * .foo { font-family: Arial }
19
- * <style>
20
- * <p class="foo">Foo</p>
21
- * ```
22
- *
23
- * into:
24
- *
25
- * ```html
26
- * <style>
27
- * p { margin-top: 10px }
28
- * .foo { font-family: Arial }
29
- * <style>
30
- * <p class="foo" style="margin-top: 10px; font-family: Arial">Foo</p>
31
- * ```
32
- */
33
- export default class MSOfficeStylesInliner extends MSWordNormalizer {
34
- /**
35
- * @inheritDoc
36
- */
37
- execute(data: NormalizerData): void;
38
- /**
39
- * @inheritDoc
40
- */
41
- isActive(htmlString: string): boolean;
42
- }
1
+ /**
2
+ * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ import { type NormalizerData, MSWordNormalizer } from '@ckeditor/ckeditor5-paste-from-office';
6
+ /**
7
+ * A normalizer that inlines styles passed along the content from MS Office.
8
+ *
9
+ * Normalizers are registered by the {@link module:paste-from-office-enhanced/pastefromofficeenhanced~PasteFromOfficeEnhanced}
10
+ * plugin and run on {@link module:clipboard/clipboardpipeline~ClipboardPipeline#event:inputTransformation inputTransformation event}.
11
+ * They detect environment-specific quirks and transform it into a form compatible with other CKEditor features.
12
+ *
13
+ * This particular normalizer turns a pasted content such as:
14
+ *
15
+ * ```html
16
+ * <style>
17
+ * p { margin-top: 10px }
18
+ * .foo { font-family: Arial }
19
+ * <style>
20
+ * <p class="foo">Foo</p>
21
+ * ```
22
+ *
23
+ * into:
24
+ *
25
+ * ```html
26
+ * <style>
27
+ * p { margin-top: 10px }
28
+ * .foo { font-family: Arial }
29
+ * <style>
30
+ * <p class="foo" style="margin-top: 10px; font-family: Arial">Foo</p>
31
+ * ```
32
+ */
33
+ export default class MSOfficeStylesInliner extends MSWordNormalizer {
34
+ /**
35
+ * @inheritDoc
36
+ */
37
+ execute(data: NormalizerData): void;
38
+ /**
39
+ * @inheritDoc
40
+ */
41
+ isActive(htmlString: string): boolean;
42
+ }
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xbc6f=['_parsedData','isActive','type','document','content','execute','createRangeIn','hasStyle','item','size','values','setStyle','from'];(function(_0x598dd4,_0xbc6f0e){const _0x29a344=function(_0x3bb5c0){while(--_0x3bb5c0){_0x598dd4['push'](_0x598dd4['shift']());}};_0x29a344(++_0xbc6f0e);}(_0xbc6f,0x1dc));const _0x29a3=function(_0x598dd4,_0xbc6f0e){_0x598dd4=_0x598dd4-0x0;let _0x29a344=_0xbc6f[_0x598dd4];return _0x29a344;};import{UpcastWriter as _0x58365b}from'ckeditor5/src/engine';import{MSWordNormalizer as _0x13ed5d}from'@ckeditor/ckeditor5-paste-from-office';import{isMSExcelContent as _0x3db6c3}from'../../utils';import{extractStyles as _0x17cc84,expandStyles as _0x27f45c,getMatchingStyles as _0x190efe,flattenStyleDefinitions as _0x348437}from'./utils';export default class f extends _0x13ed5d{[_0x29a3('0xa')](_0x4d6aed){const {body:_0x1362fd,styles:_0x40349d}=_0x4d6aed[_0x29a3('0x5')],_0xb60541=new _0x58365b(_0x1362fd[_0x29a3('0x8')]),_0x2ce2b0=_0xb60541[_0x29a3('0xb')](_0x1362fd),_0x2501a2=_0x17cc84(_0x40349d),_0x37935e=_0x27f45c(_0x2501a2);for(const _0x3f7eb8 of _0x2ce2b0){if('elementStart'!==_0x3f7eb8[_0x29a3('0x7')])continue;const _0x404694=_0x190efe(_0x3f7eb8['item'],_0x37935e);if(_0x404694[_0x29a3('0x1')]){const _0x35fe07=_0x348437(Array[_0x29a3('0x4')](_0x404694[_0x29a3('0x2')]()));for(const _0x5c4a60 in _0x35fe07){const _0x4f21f1=_0x3f7eb8[_0x29a3('0x0')];_0x4f21f1[_0x29a3('0xc')](_0x5c4a60)||_0xb60541[_0x29a3('0x3')](_0x5c4a60,_0x35fe07[_0x5c4a60],_0x4f21f1);}}}_0x4d6aed[_0x29a3('0x9')]=_0x1362fd;}[_0x29a3('0x6')](_0x538459){return super[_0x29a3('0x6')](_0x538459)||_0x3db6c3(_0x538459);}}
23
+ const _0x579a=['setStyle','elementStart','values','createRangeIn','content','isActive','type','hasStyle','item','size'];(function(_0x5e1f45,_0x579a68){const _0x5cc69f=function(_0x591286){while(--_0x591286){_0x5e1f45['push'](_0x5e1f45['shift']());}};_0x5cc69f(++_0x579a68);}(_0x579a,0x1ef));const _0x5cc6=function(_0x5e1f45,_0x579a68){_0x5e1f45=_0x5e1f45-0x0;let _0x5cc69f=_0x579a[_0x5e1f45];return _0x5cc69f;};import{UpcastWriter as _0x4cdba7}from'ckeditor5/src/engine';import{MSWordNormalizer as _0xb75a67}from'@ckeditor/ckeditor5-paste-from-office';import{isMSExcelContent as _0x5a82e5}from'../../utils';import{extractStyles as _0x2e6a09,expandStyles as _0x1c5823,getMatchingStyles as _0x5259f2,flattenStyleDefinitions as _0x4b59c0}from'./utils';export default class f extends _0xb75a67{['execute'](_0x1d54d2){const {body:_0x12a449,styles:_0x34d366}=_0x1d54d2['_parsedData'],_0x16e89a=new _0x4cdba7(_0x12a449['document']),_0xf77b78=_0x16e89a[_0x5cc6('0x8')](_0x12a449),_0x560412=_0x2e6a09(_0x34d366),_0xd0f712=_0x1c5823(_0x560412);for(const _0x11c127 of _0xf77b78){if(_0x5cc6('0x6')!==_0x11c127[_0x5cc6('0x1')])continue;const _0x4bdde1=_0x5259f2(_0x11c127[_0x5cc6('0x3')],_0xd0f712);if(_0x4bdde1[_0x5cc6('0x4')]){const _0x4dd9ee=_0x4b59c0(Array['from'](_0x4bdde1[_0x5cc6('0x7')]()));for(const _0x392dfc in _0x4dd9ee){const _0x2abf23=_0x11c127[_0x5cc6('0x3')];_0x2abf23[_0x5cc6('0x2')](_0x392dfc)||_0x16e89a[_0x5cc6('0x5')](_0x392dfc,_0x4dd9ee[_0x392dfc],_0x2abf23);}}}_0x1d54d2[_0x5cc6('0x9')]=_0x12a449;}[_0x5cc6('0x0')](_0x54f525){return super[_0x5cc6('0x0')](_0x54f525)||_0x5a82e5(_0x54f525);}}