@ckeditor/ckeditor5-paste-from-office-enhanced 47.6.1 → 47.6.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/paste-from-office-enhanced.js +1 -1
- package/dist/index.js +1 -1
- package/package.json +6 -6
- package/src/index.js +1 -1
- package/src/legacyerrors.js +1 -1
- package/src/normalizers/inliner/msofficestylesinliner.js +1 -1
- package/src/normalizers/inliner/utils.js +1 -1
- package/src/normalizers/propagator/msofficeinlinestylepropagator.js +1 -1
- package/src/normalizers/propagator/utils.js +1 -1
- package/src/pastefromofficeenhanced.js +1 -1
- package/src/pastefromofficeenhancedinliner.js +1 -1
- package/src/pastefromofficeenhancedpropagator.js +1 -1
- package/src/utils.js +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md.
|
|
4
|
-
*/(()=>{var t={237:t=>{"use strict";t.exports=CKEditor5.dll},331:(t,e,n)=>{t.exports=n(237)("./src/clipboard.js")},584:(t,e,n)=>{t.exports=n(237)("./src/utils.js")},782:(t,e,n)=>{t.exports=n(237)("./src/core.js")},783:(t,e,n)=>{t.exports=n(237)("./src/engine.js")}},e={};function n(r){var s=e[r];if(void 0!==s)return s.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:()=>dt});var t=n(782);n(331);var e=n(783);function s(t){const e=parseFloat(t);return t.endsWith("pt")?i(96*e/72):t.endsWith("pc")?i(12*e*96/72):t.endsWith("in")?i(96*e):t.endsWith("cm")?i(96*e/2.54):t.endsWith("mm")?i(e/10*96/2.54):t}function i(t){return Math.round(t)+"px"}function o(t,n,r){if(!t.childCount)return;const s=new e.ViewUpcastWriter(t.document),i=function(t,e){const n=e.createRangeIn(t),r=[],s=new Set;for(const t of n.getItems()){if(!t.is("element")||!t.name.match(/^(p|h\d+|li|div)$/))continue;let e=y(t);if(void 0===e||0!=parseFloat(e)||Array.from(t.getClassNames()).find(t=>t.startsWith("MsoList"))||(e=void 0),t.hasStyle("mso-list")&&"none"!==t.getStyle("mso-list")||void 0!==e&&s.has(e)){const n=g(t);r.push({element:t,id:n.id,order:n.order,indent:n.indent,marginLeft:e}),void 0!==e&&s.add(e)}else s.clear()}return r}(t,s);if(!i.length)return;const o={},f=[];let m={marginLeft:void 0,canApplyMarginOnList:!0,topLevelListItemElements:[]};for(const t of i)if(void 0!==t.indent){u(t)||(l(s,f,m),m=c(),f.length=0);const e=`${t.id}:${t.indent}`,i=Math.min(t.indent-1,f.length);if(i<f.length&&f[i].id!==t.id&&(f.length=i),i<f.length-1)f.length=i+1;else{const a=p(t,n);if(i>f.length-1||f[i].listElement.name!=a.type){0==i&&"ol"==a.type&&void 0!==t.id&&o[e]&&(a.startIndex=o[e]);const n=d(a,s,r);if(0==f.length){const e=t.element.parent,r=e.getChildIndex(t.element)+1;s.insertChild(r,n,e)}else{const t=f[i-1].listItemElements;s.appendChild(n,t[t.length-1])}f[i]={...t,listElement:n,listItemElements:[]},0==i&&void 0!==t.id&&(o[e]=a.startIndex||1)}}const g="li"==t.element.name?t.element:s.createElement("li");a(s,f,m,t,g,i),s.appendChild(g,f[i].listElement),f[i].listItemElements.push(g),0==i&&void 0!==t.id&&o[e]++,t.element!=g&&s.appendChild(t.element,g),h(t.element,s),s.removeStyle("text-indent",t.element),s.removeStyle("margin-left",t.element)}else{const e=f.find(e=>e.marginLeft==t.marginLeft);if(e){const n=e.listItemElements;s.appendChild(t.element,n[n.length-1]),s.removeStyle("margin-left",t.element)}else f.length=0}l(s,f,m)}function a(t,e,n,r,s,o){if(void 0===r.marginLeft)return void(0==o&&(n.canApplyMarginOnList=!1));const a=parseFloat(r.marginLeft);let c=0;if(e.length>1){const t=e[e.length-2].listItemElements;if(t.length>0){const e=t[t.length-1].getStyle("margin-left");void 0!==e&&(c+=parseFloat(e))}}c+=40*e.length;const l=a-c,u=0!==l?i(l):void 0;u&&(t.setStyle("margin-left",u,s),0==o&&n.canApplyMarginOnList&&(void 0===n.marginLeft&&(n.marginLeft=u),u!==n.marginLeft&&(n.canApplyMarginOnList=!1),n.topLevelListItemElements.push(s)))}function c(){return{marginLeft:void 0,canApplyMarginOnList:!0,topLevelListItemElements:[]}}function l(t,e,n){if(n.canApplyMarginOnList&&n.marginLeft&&n.topLevelListItemElements.length>0){t.setStyle("margin-left",n.marginLeft,e[0].listElement);for(const e of n.topLevelListItemElements)t.removeStyle("margin-left",e)}}function u(t){const e=t.element.previousSibling;if(!e){const e=t.element.parent;return f(e)&&(!e.previousSibling||f(e.previousSibling))}return f(e)}function f(t){return t.is("element","ol")||t.is("element","ul")}function p(t,e){const n=new RegExp(`@list l${t.id}:level${t.indent}\\s*({[^}]*)`,"gi"),r=/mso-level-number-format:([^;]{0,100});/gi,s=/mso-level-start-at:\s{0,100}([0-9]{0,10})\s{0,100};/gi,i=new RegExp(`@list\\s+l${t.id}:level\\d\\s*{[^{]*mso-level-text:"%\\d\\\\.`,"gi"),o=new RegExp(`@list l${t.id}:level\\d\\s*{[^{]*mso-level-number-format:`,"gi"),a=i.exec(e),c=o.exec(e),l=a&&!c,u=n.exec(e);let f="decimal",p="ol",d=null;if(u&&u[1]){const e=r.exec(u[1]);if(e&&e[1]&&(f=e[1].trim(),p="bullet"!==f&&"image"!==f?"ol":"ul"),"bullet"===f){const e=function(t){if("li"==t.name&&"ul"==t.parent.name&&t.parent.hasAttribute("type"))return t.parent.getAttribute("type");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&&(f=e)}else{const t=s.exec(u[1]);t&&t[1]&&(d=parseInt(t[1]))}l&&(p="ol")}return{type:p,startIndex:d,style:m(f),isLegalStyleList:l}}function m(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 d(t,e,n){const r=e.createElement(t.type);return t.style&&e.setStyle("list-style-type",t.style,r),t.startIndex&&t.startIndex>1&&e.setAttribute("start",t.startIndex,r),t.isLegalStyleList&&n&&e.addClass("legal-list",r),r}function g(t){const e=t.getStyle("mso-list");if(void 0===e)return{};const n=e.match(/(^|\s{1,100})l(\d+)/i),r=e.match(/\s{0,100}lfo(\d+)/i),s=e.match(/\s{0,100}level(\d+)/i);return n&&r&&s?{id:n[2],order:r[1],indent:parseInt(s[1])}:{indent:1}}function h(t,n){const r=new e.Matcher({name:"span",styles:{"mso-list":"Ignore"}}),s=n.createRangeIn(t);for(const t of s)"elementStart"===t.type&&r.match(t.item)&&n.remove(t.item)}function y(t){const e=t.getStyle("margin-left");return void 0===e||e.endsWith("px")?e:s(e)}function I(t,n){if(!t.childCount)return;const r=new e.ViewUpcastWriter(t.document),s=function(t,n){const r=n.createRangeIn(t),s=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=["Chart"],a=s.match(e),c=e.getAttribute("o:gfxdata"),l="v:shapetype"===r,u=c&&o.some(t=>e.getAttribute("id").includes(t));a&&c&&!l&&!u&&i.push(t.item.getAttribute("id"))}return i}(t,r);!function(t,n,r){const s=r.createRangeIn(n),i=new e.Matcher({name:"img"}),o=[];for(const e of s)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)?o.push(n):n.getAttribute("src")||o.push(n)}for(const t of o)r.remove(t)}(s,t,r),function(t,e,n){const r=n.createRangeIn(e),s=[];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)||s.push(e.item)}for(const t of s){const e={src:o(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 o(t){for(const e of t.getChildren())if(e.is("element")&&e.getAttribute("src"))return e.getAttribute("src")}}(s,t,r),function(t,n){const r=n.createRangeIn(t),s=new e.Matcher({name:/v:(.+)/}),i=[];for(const t of r)"elementStart"==t.type&&s.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),s=new e.Matcher({name:"img"}),i=[];let o=0;for(const t of r)t.item.is("element")&&s.match(t.item)&&(t.item.getAttribute("src").startsWith("file://")&&i.push({element:t.item,imageIndex:o}),o++);return i}(t,r);i.length&&function(t,e,n){for(let r=0;r<t.length;r++){const{element:s,imageIndex:i}=t[r],o=e[i];if(o){const t=`data:${o.type};base64,${w(o.hex)}`;n.setAttribute("src",t,s)}}}(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),s=[];if(r)for(const t of r){let n=!1;t.includes("\\pngblip")?n="image/png":t.includes("\\jpegblip")&&(n="image/jpeg"),n&&s.push({hex:t.replace(e,"").replace(/[^\da-fA-F]/g,""),type:n})}return s}(n),r)}function w(t){return btoa(t.match(/\w{2}/g).map(t=>String.fromCharCode(parseInt(t,16))).join(""))}function v(t,e){const n=[],r=[];for(const{item:s}of t.createRangeIn(e))if(s.is("element")&&s.getStyle("mso-footnote-id")){n.unshift(s);const{nextSibling:t}=s;t?.is("$text")&&t.data.startsWith(" ")&&r.unshift(t)}for(const e of n)t.remove(e);for(const e of r){const n=e.data.substring(1);if(n.length>0){const r=e.parent,s=r.getChildIndex(e),i=t.createText(n);t.remove(e),t.insertChild(s,i,r)}else t.remove(e)}return e}function b(t,e){const n=t.createElement("sup",{class:"footnote"}),r=t.createElement("a",{id:`ref-${e}`,href:`#${e}`});return t.appendChild(r,n),n}function S(t,e){const n=t.createElement("li",{id:e,class:"footnote-definition"}),r=t.createElement("a",{href:`#ref-${e}`,class:"footnote-backlink"}),s=t.createElement("div",{class:"footnote-content"});return t.appendChild(t.createText("^"),r),t.appendChild(r,n),t.appendChild(s,n),{listItem:n,content:s}}const x=/<meta\s*name="?generator"?\s*content="?microsoft\s*word\s*\d+"?\/?>/i,A=/xmlns:o="urn:schemas-microsoft-com/i;class L{document;hasMultiLevelListPlugin;hasTablePropertiesPlugin;hasExtendedTableBlockAlignment;constructor(t,e=!1,n=!1,r=!1){this.document=t,this.hasMultiLevelListPlugin=e,this.hasTablePropertiesPlugin=n,this.hasExtendedTableBlockAlignment=r}isActive(t){return x.test(t)||A.test(t)}execute(t){const n=new e.ViewUpcastWriter(this.document),{body:r,stylesString:i}=t._parsedData;!function(t,e){const n=[];for(const r of e.createRangeIn(t)){const t=r.item;t.is("element","a")&&!t.hasAttribute("href")&&(t.hasAttribute("id")||t.hasAttribute("name"))&&n.push(t)}for(const t of n){const n=t.parent.getChildIndex(t)+1,r=t.getChildren();e.insertChild(n,r,t.parent)}}(r,n),o(r,i,this.hasMultiLevelListPlugin),I(r,t.dataTransfer.getData("text/rtf")),function(t,e,n=!1,r=!1){for(const i of e.createRangeIn(t).getItems()){if(!i.is("element","table")&&!i.is("element","td")&&!i.is("element","th"))continue;if(n&&r&&i.is("element","table")){const t=i.parent?.is("element","div")?i.parent:null,n=i.parent?.parent?.is("element","div")?i.parent.parent:null,r=t??n;r&&"center"===r.getAttribute("align")&&!i.getAttribute("align")?(e.setStyle("margin-left","auto",i),e.setStyle("margin-right","auto",i)):r&&"right"===r.getAttribute("align")&&!i.getAttribute("align")?(e.setStyle("margin-left","auto",i),e.setStyle("margin-right","0",i)):r||i.getAttribute("align")||(e.setStyle("margin-left","0",i),e.setStyle("margin-right","auto",i))}const t=["left","top","right","bottom"];if(t.every(t=>!i.hasStyle(`border-${t}-style`)))e.setStyle("border-style","none",i);else for(const n of t)i.hasStyle(`border-${n}-style`)||e.setStyle(`border-${n}-style`,"none",i);const o=["width","height",...t.map(t=>`border-${t}-width`),...t.map(t=>`padding-${t}`)];for(const t of o)i.hasStyle(t)&&e.setStyle(t,s(i.getStyle(t)),i)}}(r,n,this.hasTablePropertiesPlugin,this.hasExtendedTableBlockAlignment),function(t,e){for(const n of e.createRangeIn(t).getItems())n.is("element","table")&&("0px"===n.getStyle("width")&&e.removeStyle("width",n),"0"===n.getAttribute("width")&&e.removeAttribute("width",n))}(r,n),function(t,e){const n=new Map,r=new Map;let s=null;for(const{item:i}of e.createRangeIn(t))if(i.is("element"))if("footnote-list"!==i.getStyle("mso-element")){if(i.hasStyle("mso-footnote-id")){const t=i.findAncestor("element",t=>"footnote"===t.getStyle("mso-element"));if(t){const e=t.getAttribute("id");r.set(e,t)}else{const t=i.getStyle("mso-footnote-id");n.set(t,i)}continue}}else s=i;if(!n.size||!s)return;const i=function(t){return t.createElement("ol",{class:"footnotes"})}(e);e.replace(s,i);for(const[t,s]of n){const n=r.get(t);if(!n)continue;e.replace(s,b(e,t));const o=S(e,t);v(e,n);for(const t of n.getChildren()){let n=t;t.is("element")&&(n=e.clone(t,!0)),e.appendChild(n,o.content)}e.appendChild(o.listItem,i)}}(r,n),function(t){const n=[],r=new e.ViewUpcastWriter(t.document);for(const{item:e}of r.createRangeIn(t))if(e.is("element")){for(const t of e.getClassNames())/\bmso/gi.exec(t)&&r.removeClass(t,e);for(const t of e.getStyleNames())/\bmso/gi.exec(t)&&r.removeStyle(t,e);(e.is("element","w:sdt")||e.is("element","w:sdtpr")&&e.isEmpty||e.is("element","o:p")&&e.isEmpty)&&n.push(e)}for(const t of n){const e=t.parent,n=e.getChildIndex(t);r.insertChild(n,t.getChildren(),e),r.remove(t)}}(r),t.content=r}}function E(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 C(t,n){const r=new DOMParser,s=function(t){return E(E(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>( |\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 s=t.indexOf(n,r+e.length);return t.substring(0,r+e.length)+(s>=0?t.substring(s):"")}(t=(t=t.replace(/<!--\[if gte vml 1]>/g,"")).replace(/<o:SmartTagType(?:\s+[^\s>=]+(?:="[^"]*")?)*\s*\/?>/gi,""))),i=r.parseFromString(s,"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 o=i.body.innerHTML,a=function(t,n){const r=new e.ViewDocument(n),s=new e.ViewDomConverter(r,{renderingMode:"data"}),i=t.createDocumentFragment(),o=t.body.childNodes;for(;o.length>0;)i.appendChild(o[0]);return s.domToView(i,{skipComments:!0})}(i,n),c=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:a,bodyString:o,styles:c.styles,stylesString:c.stylesString}}var P=n(584);function O(t,e){const n=F();return(O=function(t,e){return n[t-=158]})(t,e)}!function(t){const e=O,n=t();for(;;)try{if(534978===-parseInt(e(160))/1+-parseInt(e(162))/2*(parseInt(e(159))/3)+-parseInt(e(166))/4+parseInt(e(163))/5*(parseInt(e(167))/6)+parseInt(e(158))/7*(-parseInt(e(164))/8)+-parseInt(e(165))/9+parseInt(e(161))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(F);const T=/<meta\s*name="?generator"?\s*content="?microsoft\s*excel\s*\d+"?\/?>/i;function M(t){return T[O(168)](t)}function F(){const t=["9UlmNGU","359031GuIWLl","28728300WBQtcA","290018BnMIoX","5kzAKYI","80GFgYIY","3785922lAPaqv","2432284DoYmoB","2855730FUerck","test","693714YvWjSL"];return(F=function(){return t})()}!function(t){const e=j,n=t();for(;;)try{if(451363===parseInt(e(510))/1*(parseInt(e(512))/2)+parseInt(e(511))/3*(-parseInt(e(514))/4)+parseInt(e(508))/5*(-parseInt(e(509))/6)+parseInt(e(517))/7+parseInt(e(501))/8+-parseInt(e(494))/9*(-parseInt(e(503))/10)+parseInt(e(515))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(D);const N=/^(?<tagName>(?!\.)[\w-]+)?(\.(?<className>[\w-]+))?$/i;function R(t,e){const n=j,r=new Map;for(const[s,i]of e){if(!s[n(500)]&&!s[n(502)])continue;const e=!s[n(500)]||t[n(495)]===s[n(500)],o=!s[n(502)]||t[n(513)](s[n(502)]);e&&o&&r[n(492)](s,i)}return r}function j(t,e){const n=D();return(j=function(t,e){return n[t-=492]})(t,e)}function k(t){const e=j,n={};for(let r=0;r<t[e(498)];r++){const s=t[r],i=t[e(499)](s);e(507)!==i&&(n[s]=i)}return n}function W(t){const e=j,n=t[e(504)](",")[e(516)](t=>t[e(506)]()),r=[];for(const t of n){const n=N[e(518)](t);n&&r[e(497)](n[e(520)])}return r}function D(){const t=["assign","54lIrAzN","name","style","push","length","getPropertyValue","tagName","322760ZaeFnj","className","158050BNniWy","split","selectorText","trim","initial","10LtgOVO","1309722ddAaCt","137182PFmjNq","107988BMWhLQ","2qoNmvw","hasClass","80rTYChH","13409550JCwDvn","map","815150mQDikQ","exec","cssRules","groups","set"];return(D=function(){return t})()}function $(t){const e=j,n={};for(const r of t)Object[e(493)](n,r);return n}const V=B;function B(t,e){const n=z();return(B=function(t,e){return n[t-=208]})(t,e)}function z(){const t=["elementStart","9999055nbEVbn","values","172240AjUVgO","546aoPIJt","6424yyZrlR","from","hasStyle","17545aacfoD","execute","document","content","970152sCppzz","574368KQMmJY","type","1505QcTCbk","size","isActive","createRangeIn","162dKhvYT","setStyle","3gmNIzZ","_parsedData","364754uQcDpP","item"];return(z=function(){return t})()}!function(t){const e=B,n=t();for(;;)try{if(213099===parseInt(e(217))/1+-parseInt(e(232))/2+parseInt(e(215))/3*(parseInt(e(231))/4)+parseInt(e(227))/5*(parseInt(e(223))/6)+-parseInt(e(209))/7*(-parseInt(e(224))/8)+parseInt(e(213))/9*(parseInt(e(222))/10)+-parseInt(e(220))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(z);class K extends L{[V(228)](t){const n=V,{body:r,styles:s}=t[n(216)],i=new e.ViewUpcastWriter(r[n(229)]),o=i[n(212)](r),a=function(t){const e=j,n=new Map;for(const r in t){const s=W(r),i=t[r];for(const t of s)n[e(492)](t,i)}return n}(function(t){const e=j,n={};for(const r of t)for(const t of r[e(519)])if(t instanceof CSSStyleRule){const r=k(t[e(496)]);n[t[e(505)]]=Object[e(493)]({},n[t[e(505)]]||{},r)}return n}(s));for(const t of o){if(n(219)!==t[n(208)])continue;const e=R(t[n(218)],a);if(e[n(210)]){const r=$(Array[n(225)](e[n(221)]()));for(const e in r){const s=t[n(218)];s[n(226)](e)||i[n(214)](e,r[e],s)}}}t[n(230)]=r}[V(211)](t){return super[V(211)](t)||M(t)}}const U=J;function Y(){const t=["document","698906DqeRdD","view","40pAoejW","isOfficialPlugin","stylesProcessor","pluginName","isPremiumPlugin","join","1776783NzLbQT","3933108JAdNdn","inputTransformation","2498328zBcEOC","fromCharCode","716080fWHTyl","editor","execute","10unKKeg","get","high","6580470pmllNr","afterInit","requires","15llThRV","ClipboardPipeline","map","editing","_parsedData","PasteFromOffice","dataTransfer","getData","PasteFromOfficeEnhancedInliner","isActive","plugins","init","13157360TDANJo","text/html","href"];return(Y=function(){return t})()}function J(t,e){const n=Y();return(J=function(t,e){return n[t-=449]})(t,e)}!function(t){const e=J,n=t();for(;;)try{if(964279===-parseInt(e(475))/1+-parseInt(e(467))/2*(parseInt(e(451))/3)+-parseInt(e(480))/4*(parseInt(e(483))/5)+parseInt(e(486))/6+parseInt(e(478))/7+parseInt(e(463))/8+parseInt(e(476))/9*(parseInt(e(469))/10))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Y);class Q extends t.Plugin{static get[U(472)](){return U(459)}static get[U(470)](){return!0}static get[U(473)](){return!0}static get[U(450)](){return[U(456)]}[U(462)](){const t=U,e=this[t(481)],n=e[t(461)][t(484)](t(452)),r=e[t(454)][t(468)][t(466)],s=new K(r);n.on(t(477),(e,n)=>{const i=t,o=n[i(457)][i(458)](i(464));s[i(460)](o)&&(n[i(455)]||(n[i(455)]=C(o,r[i(471)])),s[i(482)](n))},{priority:P.priorities[t(484)](t(485))+11})}[U(449)](){!async function(t){const e=m([115,71,54,53,67,114,107,49,99,100,50,105,103,76,78,55,122,73,69,65,89,106,117,57,74,51,104,98,80,66,116,110,70,77,120,81,102,52,72,119,90,97,108,48,113,84,83,86,75,121,68,109,111,82,118,85,88,101,112,87,79,56]),n=window[m([68,97,116,101])][m([110,111,119])](),r=t[m([101,100,105,116,111,114])],s=new(window[m([80,114,111,109,105,115,101])])(t=>{r[m([111,110,99,101])](m([114,101,97,100,121]),t)}),i={[m([107,116,121])]:m([69,67]),[m([117,115,101])]:m([115,105,103]),[m([99,114,118])]:m([80,45,50,53,54]),[m([120])]:m([105,67,106,79,67,118,68,70,73,54,108,81,72,72,84,49,56,106,86,119,82,102,107,102,72,81,50,97,95,77,121,109,84,51,53,76,81,86,111,70,83,65,73]),[m([121])]:m([107,88,73,121,74,52,101,118,116,67,69,70,82,109,120,75,83,85,112,75,57,102,68,87,52,53,57,118,88,79,118,86,114,104,102,54,117,81,65,101,79,105,111]),[m([97,108,103])]:m([69,83,50,53,54])},o=r[m([99,111,110,102,105,103])][m([103,101,116])](m([108,105,99,101,110,115,101,75,101,121]));function a(t){return t[m([115,116,97,114,116,115,87,105,116,104])](m([101,121]))?JSON[m([112,97,114,115,101])](c(t)):null}function c(t){return window[m([97,116,111,98])](t[m([114,101,112,108,97,99,101])](/-/g,m([43]))[m([114,101,112,108,97,99,101])](/_/g,m([47])))}function l(t){let e=5381;function n(t){for(let n=0;n<t[m([108,101,110,103,116,104])];n++){const r=t[m([99,104,97,114,67,111,100,101,65,116])](n);e=(e<<5)+e+r,e&=e}}return function t(e){Array[m([105,115,65,114,114,97,121])](e)?e[m([102,111,114,69,97,99,104])](t):e&&typeof e==m([111,98,106,101,99,116])?Object[m([101,110,116,114,105,101,115])](e)[m([115,111,114,116])]()[m([102,111,114,69,97,99,104])](([e,r])=>{n(e),t(r)}):n(window[m([83,116,114,105,110,103])](e))}(t),e>>>0}function u(t){return t[m([116,111,83,116,114,105,110,103])](16)[m([112,97,100,83,116,97,114,116])](8,m([48]))}function f(t){return t[m([115,112,108,105,116])]("")[m([114,101,118,101,114,115,101])]()[m([106,111,105,110])]("")}function p(){}function m(t){const e=J;return t[e(453)](t=>String[e(479)](t))[e(474)]("")}!function(t){const n=function(){const t=window[m([83,116,114,105,110,103])](window[m([112,101,114,102,111,114,109,97,110,99,101])][m([110,111,119])]())[m([114,101,112,108,97,99,101])](m([46]),"");let n=m([115]);for(let r=0;r<t[m([108,101,110,103,116,104])];r+=2){let s=window[m([112,97,114,115,101,73,110,116])](t[m([115,117,98,115,116,114,105,110,103])](r,r+2));s>=e[m([108,101,110,103,116,104])]&&(s-=e[m([108,101,110,103,116,104])]),n+=e[s]}return n}();r[n]=m([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])+t,t!=m([86,97,108,105,100])&&async function(){await s,r[m([109,111,100,101,108])][m([99,104,97,110,103,101])]=p,r[m([109,111,100,101,108])][m([101,110,113,117,101,117,101,67,104,97,110,103,101])]=p,r[m([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](m([109,111,100,101,108]))}()}(await async function(){let t,e=null,p=null;try{return o==m([71,80,76])?m([78,111,116,65,108,108,111,119,101,100]):(t=function(){const t=o[m([115,112,108,105,116])](m([46]));return 3!=t[m([108,101,110,103,116,104])]?null:e(t[1]);function e(t){const e=a(t);return e&&n()?e:null;function n(){const t=e[m([106,116,105])],n=window[m([112,97,114,115,101,73,110,116])](t[m([115,117,98,115,116,114,105,110,103])](t[m([108,101,110,103,116,104])]-8),16),r={...e,[m([106,116,105])]:t[m([115,117,98,115,116,114,105,110,103])](0,t[m([108,101,110,103,116,104])]-8)};return delete r[m([118,99])],l(r)==n}}}(),t?(t[m([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(p=function(t,e){return new(window[m([80,114,111,109,105,115,101])])(a=>{if(i())return a(m([86,97,108,105,100]));o(),r[m([100,101,99,111,114,97,116,101])](m([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]));let c=!1;const p=(0,P.uid)();function d(t){return!!t&&(typeof t===m([111,98,106,101,99,116])||typeof t===m([102,117,110,99,116,105,111,110]))&&typeof t[m([116,104,101,110])]===m([102,117,110,99,116,105,111,110])&&typeof t[m([99,97,116,99,104])]===m([102,117,110,99,116,105,111,110])}function g(r){c(r)[m([116,104,101,110])](t=>t&&t[m([115,116,97,116,117,115])]==m([111,107])?u(l(p+e))!=t[m([118,101,114,105,102,105,99,97,116,105,111,110])]?m([85,115,97,103,101,76,105,109,105,116]):m([86,97,108,105,100]):m([85,115,97,103,101,76,105,109,105,116]))[m([116,104,101,110])](t=>(i(),t),()=>{const t=o();return null==t?(i(),m([86,97,108,105,100])):m(n-t>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])})[m([116,104,101,110])](a)[m([99,97,116,99,104])](()=>{a(m([85,115,97,103,101,76,105,109,105,116]))});const s=36e5;function i(){const e=m([108,108,99,116,45])+u(l(t)),r=f(u(window[m([77,97,116,104])][m([99,101,105,108])](n/s)));window[m([108,111,99,97,108,83,116,111,114,97,103,101])][m([115,101,116,73,116,101,109])](e,r)}function o(){const e=m([108,108,99,116,45])+u(l(t)),n=window[m([108,111,99,97,108,83,116,111,114,97,103,101])][m([103,101,116,73,116,101,109])](e);return n?window[m([112,97,114,115,101,73,110,116])](f(n),16)*s:null}function c(t){return new(window[m([80,114,111,109,105,115,101])])((e,n)=>{t[m([116,104,101,110])](e,n),window[m([115,101,116,84,105,109,101,111,117,116])](n,12e4)})}}r[m([111,110])](m([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),(e,n)=>{if(n[0]!=t)return a(m([85,115,97,103,101,76,105,109,105,116]));n[1]={...n[1],[m([114,101,113,117,101,115,116,73,100])]:p}},{[m([112,114,105,111,114,105,116,121])]:m([104,105,103,104])}),r[m([111,110])](m([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),t=>{d(t[m([114,101,116,117,114,110])])&&(c=!0,g(t[m([114,101,116,117,114,110])]))},{[m([112,114,105,111,114,105,116,121])]:m([108,111,119])}),s[m([116,104,101,110])](()=>{c||a(m([85,115,97,103,101,76,105,109,105,116]))})});function i(){return r[m([101,100,105,116,105,110,103])][m([118,105,101,119])][m([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==m([97,117,116,111])}function o(){r[m([101,100,105,116,105,110,103])][m([118,105,101,119])][m([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=m([97,117,116,111])}}(t[m([117,115,97,103,101,69,110,100,112,111,105,110,116])],t[m([106,116,105])])),await async function(){let t=!0;try{const r=o[m([115,112,108,105,116])](m([46])),[s,i,a]=r;return e(s),await n(s,i,a),t}catch{return!1}function e(e){const n=a(e);n&&n[m([97,108,103])]==m([69,83,50,53,54])||(t=!1)}async function n(e,n,r){const s=window[m([85,105,110,116,56,65,114,114,97,121])][m([102,114,111,109])](c(r),t=>t[m([99,104,97,114,67,111,100,101,65,116])](0)),o=(new(window[m([84,101,120,116,69,110,99,111,100,101,114])]))[m([101,110,99,111,100,101])](e+m([46])+n),a=window[m([99,114,121,112,116,111])][m([115,117,98,116,108,101])];if(!a)return;const l=await a[m([105,109,112,111,114,116,75,101,121])](m([106,119,107]),i,{[m([110,97,109,101])]:m([69,67,68,83,65]),[m([110,97,109,101,100,67,117,114,118,101])]:m([80,45,50,53,54])},!1,[m([118,101,114,105,102,121])]);await a[m([118,101,114,105,102,121])]({[m([110,97,109,101])]:m([69,67,68,83,65]),[m([104,97,115,104])]:{[m([110,97,109,101])]:m([83,72,65,45,50,53,54])}},l,s,o)||(t=!1)}}()?function(){const e=t[m([102,101,97,116,117,114,101,115])];return!!(e&&(e[m([105,110,99,108,117,100,101,115])](m([42]))||e[m([105,110,99,108,117,100,101,115])](m([80,79,69]))||e[m([105,110,99,108,117,100,101,115])](m([80,80]))||e[m([105,110,99,108,117,100,101,115])](m([84,82,73,76,73,85,77]))&&window[m([103,108,111,98])]&&window[m([103,108,111,98])][m([116,114,105,108,105,117,109,86,101,114,115,105,111,110])]))}()?function(){const e=[m([101,118,97,108,117,97,116,105,111,110]),m([116,114,105,97,108])][m([105,110,99,108,117,100,101,115])](t[m([108,105,99,101,110,115,101,84,121,112,101])])?n/1e3:1773187200;return t[m([101,120,112])]<e}()?m([69,120,112,105,114,101,100]):function(){const e=J,n=t[m([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!n||0==n[m([108,101,110,103,116,104])])return!0;const{hostname:r}=new URL(window[m([108,111,99,97,116,105,111,110])][e(465)]);if(n[m([105,110,99,108,117,100,101,115])](r))return!0;const s=r[m([115,112,108,105,116])](m([46]));return n[m([102,105,108,116,101,114])](t=>t[m([105,110,99,108,117,100,101,115])](m([42])))[m([109,97,112])](t=>t[m([115,112,108,105,116])](m([46])))[m([102,105,108,116,101,114])](t=>t[m([108,101,110,103,116,104])]<=s[m([108,101,110,103,116,104])])[m([109,97,112])](t=>Array(s[m([108,101,110,103,116,104])]-t[m([108,101,110,103,116,104])])[m([102,105,108,108])](t[0]===m([42])?m([42]):"")[m([99,111,110,99,97,116])](t))[m([115,111,109,101])](t=>s[m([101,118,101,114,121])]((e,n)=>t[n]===e||t[n]===m([42])))}()?(t[m([108,105,99,101,110,115,101,84,121,112,101])]==m([101,118,97,108,117,97,116,105,111,110])&&(e=function(t){const e=[new(window[m([80,114,111,109,105,115,101])])(t=>setTimeout(t,605900)),s[m([116,104,101,110])](()=>new(window[m([80,114,111,109,105,115,101])])(t=>{let e=0;r[m([109,111,100,101,108])][m([111,110])](m([97,112,112,108,121,79,112,101,114,97,116,105,111,110]),(n,r)=>{r[0][m([105,115,68,111,99,117,109,101,110,116,79,112,101,114,97,116,105,111,110])]&&e++,1512==e&&(t(),n[m([111,102,102])]())})}))];return window[m([80,114,111,109,105,115,101])][m([114,97,99,101])](e)[m([116,104,101,110])](()=>t)}(m([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),await(e&&p?new(window[m([80,114,111,109,105,115,101])])((t,n)=>{e[m([116,104,101,110])](t,n),p[m([116,104,101,110])](e=>{e!=m([86,97,108,105,100])&&t(e)},n)}):e||p||m([86,97,108,105,100]))):m([68,111,109,97,105,110,76,105,109,105,116]):m([78,111,116,65,108,108,111,119,101,100]):m([73,110,118,97,108,105,100])):m([73,110,118,97,108,105,100]))}catch{return m([73,110,118,97,108,105,100])}}())}(this)}}const q=_;!function(t){const e=_,n=t();for(;;)try{if(891372===-parseInt(e(332))/1+-parseInt(e(310))/2+-parseInt(e(345))/3*(parseInt(e(308))/4)+-parseInt(e(313))/5*(parseInt(e(326))/6)+-parseInt(e(321))/7+-parseInt(e(309))/8*(-parseInt(e(343))/9)+parseInt(e(312))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(H);const G=[q(336),q(305),q(315),q(318),q(328),q(325),q(316),q(317)];function H(){const t=["11764361EEGJtk","bolder","includes","bold","font-weight","205644YNBMjJ","line-through","text-decoration-line","keys","getStyle","strong","791144OTuNEL","length","function","medium","color","super","italic","underline","removeStyle","insertChild","from","866718ugMWmg","getStyleNames","437817omIjpB","sub","split","createElement","font-family","forEach","span","44vgGVGl","104otXvgS","1818896psiGhv","filter","63054160rPBTlF","245GawjON","getChildren","font-size","font-style","vertical-align","text-decoration","sup","setStyle"];return(H=function(){return t})()}function _(t,e){const n=H();return(_=function(t,e){return n[t-=305]})(t,e)}const X=[q(336),q(305),q(315)],Z={"font-style":[[q(338),"i"]],"font-weight":[[q(335),q(331)],[q(324),q(331)],[q(322),q(331)],[t=>Number(t)>=600,q(331)]],"text-decoration":[[q(339),"u"],[q(327),"s"]],"text-decoration-line":[[q(339),"u"],[q(327),"s"]],"vertical-align":[[q(346),q(346)],[q(337),q(319)]]};function tt(t){return G[q(323)](t)}function et(t){const e=q;return Array[e(342)](t[e(344)]())[e(311)](tt)}function nt(t,e,n){const{spanStyles:r,stylesToBeHtmlElements:s}=function(t,e){const n=q,r={},s={};return e[n(306)](e=>{const i=n,o=t[i(330)](e);if(o)if(a=e,X[q(323)](a))r[e]=o;else if(e in Z){const t=o[i(347)](" ");Z[e][i(306)](([n,r])=>{const o=i;for(const i of t)(o(334)==typeof n&&n(i)||n===i)&&(s[e]=[...s[e]||[],[n,r]])})}var a}),{spanStyles:r,stylesToBeHtmlElements:s}}(t,n);(function(t,e,n){const r=q;for(const s in n)n[s][r(306)](([,n])=>{const s=r,i=e[s(348)](n,[],t[s(314)]());e[s(341)](0,i,t)}),e[r(340)](s,t)})(t,e,s),function(t,e,n){const r=q;if(!Object[r(329)](n)[r(333)])return;const s=e[r(348)](r(307),[],t[r(314)]());e[r(320)](n,s),e[r(341)](0,s,t),e[r(340)](Object[r(329)](n),t)}(t,e,r)}const rt=it;function st(){const t=["40obzxNm","stylesProcessor","7tLeYJJ","isActive","4741518qQyOpe","15773499XwscbD","358164VdZdyD","content","element","document","3402904kLQEkn","34096010zXYlVV","15824AgLsFu","execute","blockElements","name","font","6054852mHdHFc","getItems","_parsedData","createRangeIn","136REcRrz","includes"];return(st=function(){return t})()}function it(t,e){const n=st();return(it=function(t,e){return n[t-=491]})(t,e)}!function(t){const e=it,n=t();for(;;)try{if(939772===parseInt(e(505))/1*(-parseInt(e(496))/2)+-parseInt(e(511))/3+-parseInt(e(501))/4+parseInt(e(507))/5*(-parseInt(e(513))/6)+parseInt(e(509))/7*(parseInt(e(494))/8)+parseInt(e(512))/9+parseInt(e(495))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(st);class ot extends L{[rt(497)](t){const n=rt,{body:r}=t[n(503)],s=new e.ViewUpcastWriter(r[n(493)]),i=s[n(504)](r),o=new e.ViewDocument(s[n(493)][n(508)]),a=[...new e.ViewDomConverter(o)[n(498)],n(500)],c=i[n(502)]();for(const t of c)if(t.is(n(492))&&a[n(506)](t[n(499)])){nt(t,s,et(t))}t[n(491)]=r}[rt(510)](t){return super[rt(510)](t)||M(t)}}const at=ct;function ct(t,e){const n=lt();return(ct=function(t,e){return n[t-=240]})(t,e)}function lt(){const t=["editor","view","595210JNazpu","pasteFromOfficeEnhancedLicenseKeyDomainLimit","execute","pasteFromOfficeEnhancedLicenseKeyEvaluationLimit","getData","editing","stylesProcessor","high","pasteFromOfficeEnhancedLicenseKeyUsageLimit","usageLimit","PasteFromOfficeEnhanced","_licenseKeyCheckInterval","18128MjROnG","pasteFromOfficeEnhancedLicenseKeyExpired","init","isOfficialPlugin","pasteFromOfficeEnhancedLicenseKeyNotAllowed","619932wyPkRh","isPremiumPlugin","domainLimit","isActive","pluginName","_parsedData","invalid","config","_showLicenseError","545217YrSrQQ","pasteFromOfficeEnhancedLicenseKeyValid","300UJoiFm","get","evaluationLimit","PasteFromOfficeEnhancedPropagator","18bCvMQs","licenseKey","963632YnMoPz","plugins","text/html","destroy","requires","80IEAdxR","1235780oWQECl","document","featureNotAllowed","pasteFromOfficeEnhancedLicenseKeyInvalid","236aodZpn","inputTransformation","PasteFromOffice","ClipboardPipeline","expired","dataTransfer"];return(lt=function(){return t})()}!function(t){const e=ct,n=t();for(;;)try{if(154796===-parseInt(e(289))/1*(-parseInt(e(273))/2)+-parseInt(e(271))/3+parseInt(e(257))/4*(-parseInt(e(284))/5)+-parseInt(e(262))/6+parseInt(e(285))/7+-parseInt(e(279))/8*(-parseInt(e(277))/9)+parseInt(e(245))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(lt);class ut extends t.Plugin{[at(278)];[at(256)];static get[at(266)](){return at(276)}static get[at(260)](){return!0}static get[at(263)](){return!0}static get[at(283)](){return[at(291)]}[at(259)](){const t=at,e=this[t(243)],n=e[t(280)][t(274)](t(240)),r=e[t(250)][t(244)][t(286)],s=new ot(r);n.on(t(290),(e,n)=>{const i=t,o=n[i(242)][i(249)](i(281));s[i(265)](o)&&(n[i(267)]||(n[i(267)]=C(o,r[i(251)])),s[i(247)](n))},{priority:P.priorities[t(274)](t(252))+10}),this[t(278)]=this[t(243)][t(269)][t(274)](t(278));const i=this[t(243)];this[t(256)]=setInterval(()=>{const e=t;let n;for(const t in i){const r=t,s=i[r];if(e(272)==s||e(288)==s||e(258)==s||e(246)==s||e(261)==s||e(248)==s||e(253)==s){delete i[r],n=s,clearInterval(this[e(256)]),this[e(256)]=void 0;break}}e(288)==n&&i[e(270)](e(268)),e(258)==n&&i[e(270)](e(241)),e(246)==n&&i[e(270)](e(264)),e(261)==n&&i[e(270)](e(287),e(255)),e(248)==n&&i[e(270)](e(275)),e(253)==n&&i[e(270)](e(254))},1e3)}[at(282)](){const t=at;super[t(282)](),this[t(256)]&&clearInterval(this[t(256)])}}function ft(t,e){var n=mt();return(ft=function(t,e){return n[t-=226]})(t,e)}var pt=ft;function mt(){var t=["isOfficialPlugin","1916495MoTsGH","2mcMXmY","isPremiumPlugin","2169417lAwvNg","6396192shDjBt","3014948xPuAbX","626944IyqkbU","PasteFromOffice","requires","PasteFromOfficeEnhanced","6xCQGhd","747341oclCYu","20SPoBoF","425133cUwidO","5NWVfoI","pluginName"];return(mt=function(){return t})()}!function(t){for(var e=ft,n=t();;)try{if(486358===parseInt(e(235))/1+parseInt(e(242))/2*(-parseInt(e(227))/3)+-parseInt(e(229))/4*(-parseInt(e(238))/5)+parseInt(e(234))/6*(parseInt(e(241))/7)+-parseInt(e(230))/8+-parseInt(e(237))/9*(-parseInt(e(236))/10)+-parseInt(e(228))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(mt);class dt extends t.Plugin{static get[pt(239)](){return pt(233)}static get[pt(240)](){return!0}static get[pt(226)](){return!0}static get[pt(232)](){return[pt(231),Q,ut]}}function gt(){var t=["20580468slAkPA","165390dvpTXG","175659SnkjPs","8fgvXLO","8fZJLHp","40330FWOWGp","197PgcLJP","4803106CPwyWu","1227842uLAthq","216YHmISI","7496SCmUBv","12JdOXbN"];return(gt=function(){return t})()}function ht(t,e){var n=gt();return(ht=function(t,e){return n[t-=494]})(t,e)}!function(t){for(var e=ht,n=t();;)try{if(474865===parseInt(e(495))/1*(-parseInt(e(499))/2)+-parseInt(e(503))/3*(parseInt(e(505))/4)+-parseInt(e(494))/5*(-parseInt(e(500))/6)+parseInt(e(496))/7*(-parseInt(e(504))/8)+parseInt(e(498))/9*(parseInt(e(502))/10)+-parseInt(e(497))/11+parseInt(e(501))/12)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(gt)})(),(window.CKEditor5=window.CKEditor5||{}).pasteFromOfficeEnhanced=r})();
|
|
4
|
+
*/(()=>{var t={237:t=>{"use strict";t.exports=CKEditor5.dll},331:(t,e,n)=>{t.exports=n(237)("./src/clipboard.js")},584:(t,e,n)=>{t.exports=n(237)("./src/utils.js")},782:(t,e,n)=>{t.exports=n(237)("./src/core.js")},783:(t,e,n)=>{t.exports=n(237)("./src/engine.js")}},e={};function n(r){var s=e[r];if(void 0!==s)return s.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:()=>dt});var t=n(782);n(331);var e=n(783);function s(t){const e=parseFloat(t);return t.endsWith("pt")?i(96*e/72):t.endsWith("pc")?i(12*e*96/72):t.endsWith("in")?i(96*e):t.endsWith("cm")?i(96*e/2.54):t.endsWith("mm")?i(e/10*96/2.54):t}function i(t){return Math.round(t)+"px"}function o(t,n,r){if(!t.childCount)return;const s=new e.ViewUpcastWriter(t.document),i=function(t,e){const n=e.createRangeIn(t),r=[],s=new Set;for(const t of n.getItems()){if(!t.is("element")||!t.name.match(/^(p|h\d+|li|div)$/))continue;let e=y(t);if(void 0===e||0!=parseFloat(e)||Array.from(t.getClassNames()).find(t=>t.startsWith("MsoList"))||(e=void 0),t.hasStyle("mso-list")&&"none"!==t.getStyle("mso-list")||void 0!==e&&s.has(e)){const n=g(t);r.push({element:t,id:n.id,order:n.order,indent:n.indent,marginLeft:e}),void 0!==e&&s.add(e)}else s.clear()}return r}(t,s);if(!i.length)return;const o={},f=[];let m={marginLeft:void 0,canApplyMarginOnList:!0,topLevelListItemElements:[]};for(const t of i)if(void 0!==t.indent){u(t)||(l(s,f,m),m=c(),f.length=0);const e=`${t.id}:${t.indent}`,i=Math.min(t.indent-1,f.length);if(i<f.length&&f[i].id!==t.id&&(f.length=i),i<f.length-1)f.length=i+1;else{const a=p(t,n);if(i>f.length-1||f[i].listElement.name!=a.type){0==i&&"ol"==a.type&&void 0!==t.id&&o[e]&&(a.startIndex=o[e]);const n=d(a,s,r);if(0==f.length){const e=t.element.parent,r=e.getChildIndex(t.element)+1;s.insertChild(r,n,e)}else{const t=f[i-1].listItemElements;s.appendChild(n,t[t.length-1])}f[i]={...t,listElement:n,listItemElements:[]},0==i&&void 0!==t.id&&(o[e]=a.startIndex||1)}}const g="li"==t.element.name?t.element:s.createElement("li");a(s,f,m,t,g,i),s.appendChild(g,f[i].listElement),f[i].listItemElements.push(g),0==i&&void 0!==t.id&&o[e]++,t.element!=g&&s.appendChild(t.element,g),h(t.element,s),s.removeStyle("text-indent",t.element),s.removeStyle("margin-left",t.element)}else{const e=f.find(e=>e.marginLeft==t.marginLeft);if(e){const n=e.listItemElements;s.appendChild(t.element,n[n.length-1]),s.removeStyle("margin-left",t.element)}else f.length=0}l(s,f,m)}function a(t,e,n,r,s,o){if(void 0===r.marginLeft)return void(0==o&&(n.canApplyMarginOnList=!1));const a=parseFloat(r.marginLeft);let c=0;if(e.length>1){const t=e[e.length-2].listItemElements;if(t.length>0){const e=t[t.length-1].getStyle("margin-left");void 0!==e&&(c+=parseFloat(e))}}c+=40*e.length;const l=a-c,u=0!==l?i(l):void 0;u&&(t.setStyle("margin-left",u,s),0==o&&n.canApplyMarginOnList&&(void 0===n.marginLeft&&(n.marginLeft=u),u!==n.marginLeft&&(n.canApplyMarginOnList=!1),n.topLevelListItemElements.push(s)))}function c(){return{marginLeft:void 0,canApplyMarginOnList:!0,topLevelListItemElements:[]}}function l(t,e,n){if(n.canApplyMarginOnList&&n.marginLeft&&n.topLevelListItemElements.length>0){t.setStyle("margin-left",n.marginLeft,e[0].listElement);for(const e of n.topLevelListItemElements)t.removeStyle("margin-left",e)}}function u(t){const e=t.element.previousSibling;if(!e){const e=t.element.parent;return f(e)&&(!e.previousSibling||f(e.previousSibling))}return f(e)}function f(t){return t.is("element","ol")||t.is("element","ul")}function p(t,e){const n=new RegExp(`@list l${t.id}:level${t.indent}\\s*({[^}]*)`,"gi"),r=/mso-level-number-format:([^;]{0,100});/gi,s=/mso-level-start-at:\s{0,100}([0-9]{0,10})\s{0,100};/gi,i=new RegExp(`@list\\s+l${t.id}:level\\d\\s*{[^{]*mso-level-text:"%\\d\\\\.`,"gi"),o=new RegExp(`@list l${t.id}:level\\d\\s*{[^{]*mso-level-number-format:`,"gi"),a=i.exec(e),c=o.exec(e),l=a&&!c,u=n.exec(e);let f="decimal",p="ol",d=null;if(u&&u[1]){const e=r.exec(u[1]);if(e&&e[1]&&(f=e[1].trim(),p="bullet"!==f&&"image"!==f?"ol":"ul"),"bullet"===f){const e=function(t){if("li"==t.name&&"ul"==t.parent.name&&t.parent.hasAttribute("type"))return t.parent.getAttribute("type");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&&(f=e)}else{const t=s.exec(u[1]);t&&t[1]&&(d=parseInt(t[1]))}l&&(p="ol")}return{type:p,startIndex:d,style:m(f),isLegalStyleList:l}}function m(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 d(t,e,n){const r=e.createElement(t.type);return t.style&&e.setStyle("list-style-type",t.style,r),t.startIndex&&t.startIndex>1&&e.setAttribute("start",t.startIndex,r),t.isLegalStyleList&&n&&e.addClass("legal-list",r),r}function g(t){const e=t.getStyle("mso-list");if(void 0===e)return{};const n=e.match(/(^|\s{1,100})l(\d+)/i),r=e.match(/\s{0,100}lfo(\d+)/i),s=e.match(/\s{0,100}level(\d+)/i);return n&&r&&s?{id:n[2],order:r[1],indent:parseInt(s[1])}:{indent:1}}function h(t,n){const r=new e.Matcher({name:"span",styles:{"mso-list":"Ignore"}}),s=n.createRangeIn(t);for(const t of s)"elementStart"===t.type&&r.match(t.item)&&n.remove(t.item)}function y(t){const e=t.getStyle("margin-left");return void 0===e||e.endsWith("px")?e:s(e)}function I(t,n){if(!t.childCount)return;const r=new e.ViewUpcastWriter(t.document),s=function(t,n){const r=n.createRangeIn(t),s=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=["Chart"],a=s.match(e),c=e.getAttribute("o:gfxdata"),l="v:shapetype"===r,u=c&&o.some(t=>e.getAttribute("id").includes(t));a&&c&&!l&&!u&&i.push(t.item.getAttribute("id"))}return i}(t,r);!function(t,n,r){const s=r.createRangeIn(n),i=new e.Matcher({name:"img"}),o=[];for(const e of s)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)?o.push(n):n.getAttribute("src")||o.push(n)}for(const t of o)r.remove(t)}(s,t,r),function(t,e,n){const r=n.createRangeIn(e),s=[];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)||s.push(e.item)}for(const t of s){const e={src:o(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 o(t){for(const e of t.getChildren())if(e.is("element")&&e.getAttribute("src"))return e.getAttribute("src")}}(s,t,r),function(t,n){const r=n.createRangeIn(t),s=new e.Matcher({name:/v:(.+)/}),i=[];for(const t of r)"elementStart"==t.type&&s.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),s=new e.Matcher({name:"img"}),i=[];let o=0;for(const t of r)t.item.is("element")&&s.match(t.item)&&(t.item.getAttribute("src").startsWith("file://")&&i.push({element:t.item,imageIndex:o}),o++);return i}(t,r);i.length&&function(t,e,n){for(let r=0;r<t.length;r++){const{element:s,imageIndex:i}=t[r],o=e[i];if(o){const t=`data:${o.type};base64,${w(o.hex)}`;n.setAttribute("src",t,s)}}}(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),s=[];if(r)for(const t of r){let n=!1;t.includes("\\pngblip")?n="image/png":t.includes("\\jpegblip")&&(n="image/jpeg"),n&&s.push({hex:t.replace(e,"").replace(/[^\da-fA-F]/g,""),type:n})}return s}(n),r)}function w(t){return btoa(t.match(/\w{2}/g).map(t=>String.fromCharCode(parseInt(t,16))).join(""))}function b(t,e){const n=[],r=[];for(const{item:s}of t.createRangeIn(e))if(s.is("element")&&s.getStyle("mso-footnote-id")){n.unshift(s);const{nextSibling:t}=s;t?.is("$text")&&t.data.startsWith(" ")&&r.unshift(t)}for(const e of n)t.remove(e);for(const e of r){const n=e.data.substring(1);if(n.length>0){const r=e.parent,s=r.getChildIndex(e),i=t.createText(n);t.remove(e),t.insertChild(s,i,r)}else t.remove(e)}return e}function v(t,e){const n=t.createElement("sup",{class:"footnote"}),r=t.createElement("a",{id:`ref-${e}`,href:`#${e}`});return t.appendChild(r,n),n}function S(t,e){const n=t.createElement("li",{id:e,class:"footnote-definition"}),r=t.createElement("a",{href:`#ref-${e}`,class:"footnote-backlink"}),s=t.createElement("div",{class:"footnote-content"});return t.appendChild(t.createText("^"),r),t.appendChild(r,n),t.appendChild(s,n),{listItem:n,content:s}}const x=/<meta\s*name="?generator"?\s*content="?microsoft\s*word\s*\d+"?\/?>/i,L=/xmlns:o="urn:schemas-microsoft-com/i;class E{document;hasMultiLevelListPlugin;hasTablePropertiesPlugin;hasExtendedTableBlockAlignment;constructor(t,e=!1,n=!1,r=!1){this.document=t,this.hasMultiLevelListPlugin=e,this.hasTablePropertiesPlugin=n,this.hasExtendedTableBlockAlignment=r}isActive(t){return x.test(t)||L.test(t)}execute(t){const n=new e.ViewUpcastWriter(this.document),{body:r,stylesString:i}=t._parsedData;!function(t,e){const n=[];for(const r of e.createRangeIn(t)){const t=r.item;t.is("element","a")&&!t.hasAttribute("href")&&(t.hasAttribute("id")||t.hasAttribute("name"))&&n.push(t)}for(const t of n){const n=t.parent.getChildIndex(t)+1,r=t.getChildren();e.insertChild(n,r,t.parent)}}(r,n),o(r,i,this.hasMultiLevelListPlugin),I(r,t.dataTransfer.getData("text/rtf")),function(t,e,n=!1,r=!1){for(const i of e.createRangeIn(t).getItems()){if(!i.is("element","table")&&!i.is("element","td")&&!i.is("element","th"))continue;if(n&&r&&i.is("element","table")){const t=i.parent?.is("element","div")?i.parent:null,n=i.parent?.parent?.is("element","div")?i.parent.parent:null,r=t??n;r&&"center"===r.getAttribute("align")&&!i.getAttribute("align")?(e.setStyle("margin-left","auto",i),e.setStyle("margin-right","auto",i)):r&&"right"===r.getAttribute("align")&&!i.getAttribute("align")?(e.setStyle("margin-left","auto",i),e.setStyle("margin-right","0",i)):r||i.getAttribute("align")||(e.setStyle("margin-left","0",i),e.setStyle("margin-right","auto",i))}const t=["left","top","right","bottom"];if(t.every(t=>!i.hasStyle(`border-${t}-style`)))e.setStyle("border-style","none",i);else for(const n of t)i.hasStyle(`border-${n}-style`)||e.setStyle(`border-${n}-style`,"none",i);const o=["width","height",...t.map(t=>`border-${t}-width`),...t.map(t=>`padding-${t}`)];for(const t of o)i.hasStyle(t)&&e.setStyle(t,s(i.getStyle(t)),i)}}(r,n,this.hasTablePropertiesPlugin,this.hasExtendedTableBlockAlignment),function(t,e){for(const n of e.createRangeIn(t).getItems())n.is("element","table")&&("0px"===n.getStyle("width")&&e.removeStyle("width",n),"0"===n.getAttribute("width")&&e.removeAttribute("width",n))}(r,n),function(t,e){const n=new Map,r=new Map;let s=null;for(const{item:i}of e.createRangeIn(t))if(i.is("element"))if("footnote-list"!==i.getStyle("mso-element")){if(i.hasStyle("mso-footnote-id")){const t=i.findAncestor("element",t=>"footnote"===t.getStyle("mso-element"));if(t){const e=t.getAttribute("id");r.set(e,t)}else{const t=i.getStyle("mso-footnote-id");n.set(t,i)}continue}}else s=i;if(!n.size||!s)return;const i=function(t){return t.createElement("ol",{class:"footnotes"})}(e);e.replace(s,i);for(const[t,s]of n){const n=r.get(t);if(!n)continue;e.replace(s,v(e,t));const o=S(e,t);b(e,n);for(const t of n.getChildren()){let n=t;t.is("element")&&(n=e.clone(t,!0)),e.appendChild(n,o.content)}e.appendChild(o.listItem,i)}}(r,n),function(t){const n=[],r=new e.ViewUpcastWriter(t.document);for(const{item:e}of r.createRangeIn(t))if(e.is("element")){for(const t of e.getClassNames())/\bmso/gi.exec(t)&&r.removeClass(t,e);for(const t of e.getStyleNames())/\bmso/gi.exec(t)&&r.removeStyle(t,e);(e.is("element","w:sdt")||e.is("element","w:sdtpr")&&e.isEmpty||e.is("element","o:p")&&e.isEmpty)&&n.push(e)}for(const t of n){const e=t.parent,n=e.getChildIndex(t);r.insertChild(n,t.getChildren(),e),r.remove(t)}}(r),t.content=r}}function A(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 C(t,n){const r=new DOMParser,s=function(t){return A(A(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>( |\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 s=t.indexOf(n,r+e.length);return t.substring(0,r+e.length)+(s>=0?t.substring(s):"")}(t=(t=t.replace(/<!--\[if gte vml 1]>/g,"")).replace(/<o:SmartTagType(?:\s+[^\s>=]+(?:="[^"]*")?)*\s*\/?>/gi,""))),i=r.parseFromString(s,"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 o=i.body.innerHTML,a=function(t,n){const r=new e.ViewDocument(n),s=new e.ViewDomConverter(r,{renderingMode:"data"}),i=t.createDocumentFragment(),o=t.body.childNodes;for(;o.length>0;)i.appendChild(o[0]);return s.domToView(i,{skipComments:!0})}(i,n),c=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:a,bodyString:o,styles:c.styles,stylesString:c.stylesString}}var P=n(584);function O(t,e){const n=T();return(O=function(t,e){return n[t-=335]})(t,e)}!function(t){const e=O,n=t();for(;;)try{if(103004===-parseInt(e(341))/1*(-parseInt(e(339))/2)+parseInt(e(345))/3+parseInt(e(338))/4+parseInt(e(340))/5*(-parseInt(e(335))/6)+parseInt(e(343))/7+parseInt(e(336))/8*(-parseInt(e(337))/9)+parseInt(e(342))/10*(-parseInt(e(346))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(T);const M=/<meta\s*name="?generator"?\s*content="?microsoft\s*excel\s*\d+"?\/?>/i;function T(){const t=["130198GMOCPl","2795YPOrRM","1MLYbPu","2000ObiksO","692587KWeSvD","test","212574NvgSAw","4631GVnWjj","114LcpILP","18184TDYyis","657cuYQhv","515424xuDJOR"];return(T=function(){return t})()}function F(t){return M[O(344)](t)}!function(t){const e=D,n=t();for(;;)try{if(574760===-parseInt(e(132))/1+parseInt(e(143))/2*(parseInt(e(141))/3)+parseInt(e(124))/4+-parseInt(e(133))/5+-parseInt(e(125))/6+parseInt(e(147))/7+parseInt(e(135))/8*(parseInt(e(139))/9))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(N);const R=/^(?<tagName>(?!\.)[\w-]+)?(\.(?<className>[\w-]+))?$/i;function j(t,e){const n=D,r=new Map;for(const[s,i]of e){if(!s[n(129)]&&!s[n(130)])continue;const e=!s[n(129)]||t[n(148)]===s[n(129)],o=!s[n(130)]||t[n(150)](s[n(130)]);e&&o&&r[n(145)](s,i)}return r}function W(t){const e=D,n={};for(let r=0;r<t[e(126)];r++){const s=t[r],i=t[e(140)](s);e(149)!==i&&(n[s]=i)}return n}function k(t){const e=D,n=t[e(131)](",")[e(137)](t=>t[e(127)]()),r=[];for(const t of n){const n=R[e(128)](t);n&&r[e(142)](n[e(134)])}return r}function N(){const t=["map","cssRules","9RoUlbU","getPropertyValue","15nMtlxh","push","54418hYozmW","style","set","assign","4437818fnNcNG","name","initial","hasClass","475304mqrkmD","5908338CeZbGv","length","trim","exec","tagName","className","split","874795UASHWE","3907565OBKFHB","groups","18615568NkRYLT","selectorText"];return(N=function(){return t})()}function D(t,e){const n=N();return(D=function(t,e){return n[t-=124]})(t,e)}function V(t){const e=D,n={};for(const r of t)Object[e(146)](n,r);return n}const $=z;function U(){const t=["465969WJznLD","5631564stVnsj","type","from","120CnEjzg","4422730GgPfHk","44fcxCGM","84GVQRWG","129616oDFMAY","execute","values","item","239148YmKMhm","elementStart","hasStyle","document","createRangeIn","40779pjWGCW","_parsedData","setStyle","content","16IUCkEU","843140sOszDS","isActive","2xxLxYw","size"];return(U=function(){return t})()}function z(t,e){const n=U();return(z=function(t,e){return n[t-=216]})(t,e)}!function(t){const e=z,n=t();for(;;)try{if(628345===-parseInt(e(234))/1*(parseInt(e(224))/2)+parseInt(e(217))/3*(-parseInt(e(230))/4)+-parseInt(e(222))/5+parseInt(e(233))/6*(-parseInt(e(226))/7)+-parseInt(e(221))/8*(parseInt(e(238))/9)+parseInt(e(231))/10+parseInt(e(232))/11*(parseInt(e(227))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(U);class K extends E{[$(235)](t){const n=$,{body:r,styles:s}=t[n(218)],i=new e.ViewUpcastWriter(r[n(241)]),o=i[n(216)](r),a=function(t){const e=D,n=new Map;for(const r in t){const s=k(r),i=t[r];for(const t of s)n[e(145)](t,i)}return n}(function(t){const e=D,n={};for(const r of t)for(const t of r[e(138)])if(t instanceof CSSStyleRule){const r=W(t[e(144)]);n[t[e(136)]]=Object[e(146)]({},n[t[e(136)]]||{},r)}return n}(s));for(const t of o){if(n(239)!==t[n(228)])continue;const e=j(t[n(237)],a);if(e[n(225)]){const r=V(Array[n(229)](e[n(236)]()));for(const e in r){const s=t[n(237)];s[n(240)](e)||i[n(219)](e,r[e],s)}}}t[n(220)]=r}[$(223)](t){return super[$(223)](t)||F(t)}}const q=Y;function Y(t,e){const n=G();return(Y=function(t,e){return n[t-=389]})(t,e)}!function(t){const e=Y,n=t();for(;;)try{if(106977===parseInt(e(402))/1*(-parseInt(e(418))/2)+parseInt(e(390))/3+parseInt(e(414))/4*(parseInt(e(412))/5)+parseInt(e(389))/6*(parseInt(e(426))/7)+parseInt(e(427))/8*(-parseInt(e(392))/9)+parseInt(e(421))/10*(parseInt(e(425))/11)+-parseInt(e(399))/12)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(G);class H extends t.Plugin{static get[q(394)](){return q(406)}static get[q(403)](){return!0}static get[q(411)](){return!0}static get[q(413)](){return[q(420)]}[q(408)](){const t=q,e=this[t(410)],n=e[t(417)][t(396)](t(416)),r=e[t(407)][t(415)][t(423)],s=new K(r);n.on(t(391),(e,n)=>{const i=t,o=n[i(395)][i(428)](i(393));s[i(422)](o)&&(n[i(398)]||(n[i(398)]=C(o,r[i(404)])),s[i(397)](n))},{priority:P.priorities[t(396)](t(419))+11})}[q(401)](){!async function(t){const e=m([115,71,54,53,67,114,107,49,99,100,50,105,103,76,78,55,122,73,69,65,89,106,117,57,74,51,104,98,80,66,116,110,70,77,120,81,102,52,72,119,90,97,108,48,113,84,83,86,75,121,68,109,111,82,118,85,88,101,112,87,79,56]),n=window[m([68,97,116,101])][m([110,111,119])](),r=t[m([101,100,105,116,111,114])],s=new(window[m([80,114,111,109,105,115,101])])(t=>{r[m([111,110,99,101])](m([114,101,97,100,121]),t)}),i={[m([107,116,121])]:m([69,67]),[m([117,115,101])]:m([115,105,103]),[m([99,114,118])]:m([80,45,50,53,54]),[m([120])]:m([105,67,106,79,67,118,68,70,73,54,108,81,72,72,84,49,56,106,86,119,82,102,107,102,72,81,50,97,95,77,121,109,84,51,53,76,81,86,111,70,83,65,73]),[m([121])]:m([107,88,73,121,74,52,101,118,116,67,69,70,82,109,120,75,83,85,112,75,57,102,68,87,52,53,57,118,88,79,118,86,114,104,102,54,117,81,65,101,79,105,111]),[m([97,108,103])]:m([69,83,50,53,54])},o=r[m([99,111,110,102,105,103])][m([103,101,116])](m([108,105,99,101,110,115,101,75,101,121]));function a(t){return t[m([115,116,97,114,116,115,87,105,116,104])](m([101,121]))?JSON[m([112,97,114,115,101])](c(t)):null}function c(t){return window[m([97,116,111,98])](t[m([114,101,112,108,97,99,101])](/-/g,m([43]))[m([114,101,112,108,97,99,101])](/_/g,m([47])))}function l(t){let e=5381;function n(t){for(let n=0;n<t[m([108,101,110,103,116,104])];n++){const r=t[m([99,104,97,114,67,111,100,101,65,116])](n);e=(e<<5)+e+r,e&=e}}return function t(e){Array[m([105,115,65,114,114,97,121])](e)?e[m([102,111,114,69,97,99,104])](t):e&&typeof e==m([111,98,106,101,99,116])?Object[m([101,110,116,114,105,101,115])](e)[m([115,111,114,116])]()[m([102,111,114,69,97,99,104])](([e,r])=>{n(e),t(r)}):n(window[m([83,116,114,105,110,103])](e))}(t),e>>>0}function u(t){return t[m([116,111,83,116,114,105,110,103])](16)[m([112,97,100,83,116,97,114,116])](8,m([48]))}function f(t){return t[m([115,112,108,105,116])]("")[m([114,101,118,101,114,115,101])]()[m([106,111,105,110])]("")}function p(){}function m(t){const e=Y;return t[e(409)](t=>String[e(400)](t))[e(405)]("")}!function(t){const n=function(){const t=window[m([83,116,114,105,110,103])](window[m([112,101,114,102,111,114,109,97,110,99,101])][m([110,111,119])]())[m([114,101,112,108,97,99,101])](m([46]),"");let n=m([115]);for(let r=0;r<t[m([108,101,110,103,116,104])];r+=2){let s=window[m([112,97,114,115,101,73,110,116])](t[m([115,117,98,115,116,114,105,110,103])](r,r+2));s>=e[m([108,101,110,103,116,104])]&&(s-=e[m([108,101,110,103,116,104])]),n+=e[s]}return n}();r[n]=m([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])+t,t!=m([86,97,108,105,100])&&async function(){await s,r[m([109,111,100,101,108])][m([99,104,97,110,103,101])]=p,r[m([109,111,100,101,108])][m([101,110,113,117,101,117,101,67,104,97,110,103,101])]=p,r[m([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](m([109,111,100,101,108]))}()}(await async function(){let t,e=null,p=null;try{return o==m([71,80,76])?m([78,111,116,65,108,108,111,119,101,100]):(t=function(){const t=o[m([115,112,108,105,116])](m([46]));return 3!=t[m([108,101,110,103,116,104])]?null:e(t[1]);function e(t){const e=a(t);return e&&n()?e:null;function n(){const t=e[m([106,116,105])],n=window[m([112,97,114,115,101,73,110,116])](t[m([115,117,98,115,116,114,105,110,103])](t[m([108,101,110,103,116,104])]-8),16),r={...e,[m([106,116,105])]:t[m([115,117,98,115,116,114,105,110,103])](0,t[m([108,101,110,103,116,104])]-8)};return delete r[m([118,99])],l(r)==n}}}(),t?(t[m([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(p=function(t,e){return new(window[m([80,114,111,109,105,115,101])])(a=>{if(i())return a(m([86,97,108,105,100]));o(),r[m([100,101,99,111,114,97,116,101])](m([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]));let c=!1;const p=(0,P.uid)();function d(t){return!!t&&(typeof t===m([111,98,106,101,99,116])||typeof t===m([102,117,110,99,116,105,111,110]))&&typeof t[m([116,104,101,110])]===m([102,117,110,99,116,105,111,110])&&typeof t[m([99,97,116,99,104])]===m([102,117,110,99,116,105,111,110])}function g(r){c(r)[m([116,104,101,110])](t=>t&&t[m([115,116,97,116,117,115])]==m([111,107])?u(l(p+e))!=t[m([118,101,114,105,102,105,99,97,116,105,111,110])]?m([85,115,97,103,101,76,105,109,105,116]):m([86,97,108,105,100]):m([85,115,97,103,101,76,105,109,105,116]))[m([116,104,101,110])](t=>(i(),t),()=>{const t=o();return null==t?(i(),m([86,97,108,105,100])):m(n-t>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])})[m([116,104,101,110])](a)[m([99,97,116,99,104])](()=>{a(m([85,115,97,103,101,76,105,109,105,116]))});const s=36e5;function i(){const e=m([108,108,99,116,45])+u(l(t)),r=f(u(window[m([77,97,116,104])][m([99,101,105,108])](n/s)));window[m([108,111,99,97,108,83,116,111,114,97,103,101])][m([115,101,116,73,116,101,109])](e,r)}function o(){const e=m([108,108,99,116,45])+u(l(t)),n=window[m([108,111,99,97,108,83,116,111,114,97,103,101])][m([103,101,116,73,116,101,109])](e);return n?window[m([112,97,114,115,101,73,110,116])](f(n),16)*s:null}function c(t){return new(window[m([80,114,111,109,105,115,101])])((e,n)=>{t[m([116,104,101,110])](e,n),window[m([115,101,116,84,105,109,101,111,117,116])](n,12e4)})}}r[m([111,110])](m([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),(e,n)=>{if(n[0]!=t)return a(m([85,115,97,103,101,76,105,109,105,116]));n[1]={...n[1],[m([114,101,113,117,101,115,116,73,100])]:p}},{[m([112,114,105,111,114,105,116,121])]:m([104,105,103,104])}),r[m([111,110])](m([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),t=>{d(t[m([114,101,116,117,114,110])])&&(c=!0,g(t[m([114,101,116,117,114,110])]))},{[m([112,114,105,111,114,105,116,121])]:m([108,111,119])}),s[m([116,104,101,110])](()=>{c||a(m([85,115,97,103,101,76,105,109,105,116]))})});function i(){return r[m([101,100,105,116,105,110,103])][m([118,105,101,119])][m([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==m([97,117,116,111])}function o(){r[m([101,100,105,116,105,110,103])][m([118,105,101,119])][m([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=m([97,117,116,111])}}(t[m([117,115,97,103,101,69,110,100,112,111,105,110,116])],t[m([106,116,105])])),await async function(){let t=!0;try{const r=o[m([115,112,108,105,116])](m([46])),[s,i,a]=r;return e(s),await n(s,i,a),t}catch{return!1}function e(e){const n=a(e);n&&n[m([97,108,103])]==m([69,83,50,53,54])||(t=!1)}async function n(e,n,r){const s=window[m([85,105,110,116,56,65,114,114,97,121])][m([102,114,111,109])](c(r),t=>t[m([99,104,97,114,67,111,100,101,65,116])](0)),o=(new(window[m([84,101,120,116,69,110,99,111,100,101,114])]))[m([101,110,99,111,100,101])](e+m([46])+n),a=window[m([99,114,121,112,116,111])][m([115,117,98,116,108,101])];if(!a)return;const l=await a[m([105,109,112,111,114,116,75,101,121])](m([106,119,107]),i,{[m([110,97,109,101])]:m([69,67,68,83,65]),[m([110,97,109,101,100,67,117,114,118,101])]:m([80,45,50,53,54])},!1,[m([118,101,114,105,102,121])]);await a[m([118,101,114,105,102,121])]({[m([110,97,109,101])]:m([69,67,68,83,65]),[m([104,97,115,104])]:{[m([110,97,109,101])]:m([83,72,65,45,50,53,54])}},l,s,o)||(t=!1)}}()?function(){const e=t[m([102,101,97,116,117,114,101,115])];return!!(e&&(e[m([105,110,99,108,117,100,101,115])](m([42]))||e[m([105,110,99,108,117,100,101,115])](m([80,79,69]))||e[m([105,110,99,108,117,100,101,115])](m([80,80]))||e[m([105,110,99,108,117,100,101,115])](m([84,82,73,76,73,85,77]))&&window[m([103,108,111,98])]&&window[m([103,108,111,98])][m([116,114,105,108,105,117,109,86,101,114,115,105,111,110])]))}()?function(){const e=[m([101,118,97,108,117,97,116,105,111,110]),m([116,114,105,97,108])][m([105,110,99,108,117,100,101,115])](t[m([108,105,99,101,110,115,101,84,121,112,101])])?n/1e3:1775606400;return t[m([101,120,112])]<e}()?m([69,120,112,105,114,101,100]):function(){const e=Y,n=t[m([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!n||0==n[m([108,101,110,103,116,104])])return!0;const{hostname:r}=new URL(window[m([108,111,99,97,116,105,111,110])][e(424)]);if(n[m([105,110,99,108,117,100,101,115])](r))return!0;const s=r[m([115,112,108,105,116])](m([46]));return n[m([102,105,108,116,101,114])](t=>t[m([105,110,99,108,117,100,101,115])](m([42])))[m([109,97,112])](t=>t[m([115,112,108,105,116])](m([46])))[m([102,105,108,116,101,114])](t=>t[m([108,101,110,103,116,104])]<=s[m([108,101,110,103,116,104])])[m([109,97,112])](t=>Array(s[m([108,101,110,103,116,104])]-t[m([108,101,110,103,116,104])])[m([102,105,108,108])](t[0]===m([42])?m([42]):"")[m([99,111,110,99,97,116])](t))[m([115,111,109,101])](t=>s[m([101,118,101,114,121])]((e,n)=>t[n]===e||t[n]===m([42])))}()?(t[m([108,105,99,101,110,115,101,84,121,112,101])]==m([101,118,97,108,117,97,116,105,111,110])&&(e=function(t){const e=[new(window[m([80,114,111,109,105,115,101])])(t=>setTimeout(t,605900)),s[m([116,104,101,110])](()=>new(window[m([80,114,111,109,105,115,101])])(t=>{let e=0;r[m([109,111,100,101,108])][m([111,110])](m([97,112,112,108,121,79,112,101,114,97,116,105,111,110]),(n,r)=>{r[0][m([105,115,68,111,99,117,109,101,110,116,79,112,101,114,97,116,105,111,110])]&&e++,1512==e&&(t(),n[m([111,102,102])]())})}))];return window[m([80,114,111,109,105,115,101])][m([114,97,99,101])](e)[m([116,104,101,110])](()=>t)}(m([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),await(e&&p?new(window[m([80,114,111,109,105,115,101])])((t,n)=>{e[m([116,104,101,110])](t,n),p[m([116,104,101,110])](e=>{e!=m([86,97,108,105,100])&&t(e)},n)}):e||p||m([86,97,108,105,100]))):m([68,111,109,97,105,110,76,105,109,105,116]):m([78,111,116,65,108,108,111,119,101,100]):m([73,110,118,97,108,105,100])):m([73,110,118,97,108,105,100]))}catch{return m([73,110,118,97,108,105,100])}}())}(this)}}function G(){const t=["inputTransformation","198hpeytQ","text/html","pluginName","dataTransfer","get","execute","_parsedData","2263620bzlajh","fromCharCode","afterInit","12689YOqxQi","isOfficialPlugin","stylesProcessor","join","PasteFromOfficeEnhancedInliner","editing","init","map","editor","isPremiumPlugin","5ZetOmU","requires","524180fivIcn","view","ClipboardPipeline","plugins","20LyQIuc","high","PasteFromOffice","1550EqgeHJ","isActive","document","href","8624DucVQj","70qcMeSw","27784pUVQye","getData","96618ICGQin","255939aLVycz"];return(G=function(){return t})()}const B=Z;!function(t){const e=Z,n=t();for(;;)try{if(763536===parseInt(e(198))/1*(parseInt(e(217))/2)+parseInt(e(211))/3*(-parseInt(e(195))/4)+parseInt(e(229))/5*(-parseInt(e(216))/6)+-parseInt(e(230))/7*(-parseInt(e(205))/8)+parseInt(e(233))/9*(-parseInt(e(212))/10)+parseInt(e(193))/11*(-parseInt(e(215))/12)+-parseInt(e(232))/13*(-parseInt(e(203))/14))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(nt);const Q=[B(236),B(210),B(204),B(201),B(226),B(206),B(225),B(194)],X=[B(236),B(210),B(204)],_={"font-style":[[B(208),"i"]],"font-weight":[[B(223),B(197)],[B(237),B(197)],[B(224),B(197)],[t=>Number(t)>=600,B(197)]],"text-decoration":[[B(213),"u"],[B(228),"s"]],"text-decoration-line":[[B(213),"u"],[B(228),"s"]],"vertical-align":[[B(207),B(207)],[B(202),B(240)]]};function J(t){return Q[B(209)](t)}function Z(t,e){const n=nt();return(Z=function(t,e){return n[t-=193]})(t,e)}function tt(t){const e=B;return Array[e(199)](t[e(231)]())[e(221)](J)}function et(t,e,n){const{spanStyles:r,stylesToBeHtmlElements:s}=function(t,e){const n=B,r={},s={};return e[n(234)](e=>{const i=n,o=t[i(238)](e);if(o)if(a=e,X[B(209)](a))r[e]=o;else if(e in _){const t=o[i(222)](" ");_[e][i(234)](([n,r])=>{const o=i;for(const i of t)(o(220)==typeof n&&n(i)||n===i)&&(s[e]=[...s[e]||[],[n,r]])})}var a}),{spanStyles:r,stylesToBeHtmlElements:s}}(t,n);(function(t,e,n){const r=B;for(const s in n)n[s][r(234)](([,n])=>{const s=r,i=e[s(200)](n,[],t[s(227)]());e[s(214)](0,i,t)}),e[r(239)](s,t)})(t,e,s),function(t,e,n){const r=B;if(!Object[r(235)](n)[r(218)])return;const s=e[r(200)](r(196),[],t[r(227)]());e[r(219)](n,s),e[r(214)](0,s,t),e[r(239)](Object[r(235)](n),t)}(t,e,r)}function nt(){const t=["bolder","font-style","text-decoration-line","getChildren","line-through","41620qOeznz","21oXCLvF","getStyleNames","676oYlGpz","4189221JiHsMB","forEach","keys","color","bold","getStyle","removeStyle","sup","187mUugbZ","vertical-align","4921156lzWXrP","span","strong","11onwXXC","from","createElement","text-decoration","super","608006sNHmea","font-size","875496IfLmLh","font-weight","sub","italic","includes","font-family","3XdnLsl","10DrJYiV","underline","insertChild","971268UhWTkV","144yBcFGi","263348zAWqEt","length","setStyle","function","filter","split","medium"];return(nt=function(){return t})()}function rt(){const t=["_parsedData","font","includes","3314210DdSaPp","6462346GgZMOI","6364520XxPisu","getItems","9eAtEwH","createRangeIn","244OipIqc","isActive","element","7ubAVdj","1683912CjcnUT","35995pcxidt","content","stylesProcessor","document","2SnDIQP","execute","50794PqzbCA","blockElements","839109UYQYhm","name"];return(rt=function(){return t})()}const st=it;function it(t,e){const n=rt();return(it=function(t,e){return n[t-=320]})(t,e)}!function(t){const e=it,n=t();for(;;)try{if(512636===-parseInt(e(335))/1+parseInt(e(333))/2*(-parseInt(e(337))/3)+-parseInt(e(324))/4*(-parseInt(e(329))/5)+parseInt(e(328))/6+parseInt(e(327))/7*(-parseInt(e(320))/8)+parseInt(e(322))/9*(parseInt(e(342))/10)+parseInt(e(343))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(rt);class ot extends E{[st(334)](t){const n=st,{body:r}=t[n(339)],s=new e.ViewUpcastWriter(r[n(332)]),i=s[n(323)](r),o=new e.ViewDocument(s[n(332)][n(331)]),a=[...new e.ViewDomConverter(o)[n(336)],n(340)],c=i[n(321)]();for(const t of c)if(t.is(n(326))&&a[n(341)](t[n(338)])){et(t,s,tt(t))}t[n(330)]=r}[st(325)](t){return super[st(325)](t)||F(t)}}function at(t,e){const n=lt();return(at=function(t,e){return n[t-=399]})(t,e)}const ct=at;function lt(){const t=["expired","document","pasteFromOfficeEnhancedLicenseKeyExpired","pasteFromOfficeEnhancedLicenseKeyValid","init","usageLimit","pasteFromOfficeEnhancedLicenseKeyUsageLimit","execute","_showLicenseError","licenseKey","9RdPiXb","4423962ixcRES","domainLimit","destroy","plugins","1342708WuoFgT","isPremiumPlugin","PasteFromOffice","15iQpCXM","config","get","1997967imkobq","pluginName","isActive","45625932NmKRBm","dataTransfer","requires","1456cHLlFy","ClipboardPipeline","featureNotAllowed","1552970iOfXdh","editing","pasteFromOfficeEnhancedLicenseKeyNotAllowed","_parsedData","inputTransformation","getData","118VKKczH","invalid","15041qRPlkP","_licenseKeyCheckInterval","pasteFromOfficeEnhancedLicenseKeyInvalid","PasteFromOfficeEnhancedPropagator","isOfficialPlugin","text/html","editor","pasteFromOfficeEnhancedLicenseKeyDomainLimit","high","PasteFromOfficeEnhanced","view","evaluationLimit","4991ENzgWe","pasteFromOfficeEnhancedLicenseKeyEvaluationLimit","stylesProcessor"];return(lt=function(){return t})()}!function(t){const e=at,n=t();for(;;)try{if(824515===parseInt(e(445))/1*(-parseInt(e(443))/2)+-parseInt(e(428))/3+-parseInt(e(422))/4*(parseInt(e(425))/5)+-parseInt(e(418))/6+parseInt(e(404))/7*(parseInt(e(434))/8)+-parseInt(e(417))/9*(parseInt(e(437))/10)+parseInt(e(431))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(lt);class ut extends t.Plugin{[ct(416)];[ct(446)];static get[ct(429)](){return ct(448)}static get[ct(449)](){return!0}static get[ct(423)](){return!0}static get[ct(433)](){return[ct(424)]}[ct(411)](){const t=ct,e=this[t(451)],n=e[t(421)][t(427)](t(435)),r=e[t(438)][t(402)][t(408)],s=new ot(r);n.on(t(441),(e,n)=>{const i=t,o=n[i(432)][i(442)](i(450));s[i(430)](o)&&(n[i(440)]||(n[i(440)]=C(o,r[i(406)])),s[i(414)](n))},{priority:P.priorities[t(427)](t(400))+10}),this[t(416)]=this[t(451)][t(426)][t(427)](t(416));const i=this[t(451)];this[t(446)]=setInterval(()=>{const e=t;let n;for(const t in i){const r=t,s=i[r];if(e(410)==s||e(447)==s||e(409)==s||e(399)==s||e(439)==s||e(405)==s||e(413)==s){delete i[r],n=s,clearInterval(this[e(446)]),this[e(446)]=void 0;break}}e(447)==n&&i[e(415)](e(444)),e(409)==n&&i[e(415)](e(407)),e(399)==n&&i[e(415)](e(419)),e(439)==n&&i[e(415)](e(436),e(401)),e(405)==n&&i[e(415)](e(403)),e(413)==n&&i[e(415)](e(412))},1e3)}[ct(420)](){const t=ct;super[t(420)](),this[t(446)]&&clearInterval(this[t(446)])}}var ft=mt;function pt(){var t=["2447310EmSldV","1532145NMfdrY","isPremiumPlugin","PasteFromOffice","2456950PAiSaz","1028240euUTiK","791594nMNiBj","isOfficialPlugin","PasteFromOfficeEnhanced","3652334FlbXhO","pluginName","requires","250426nqHomC"];return(pt=function(){return t})()}function mt(t,e){var n=pt();return(mt=function(t,e){return n[t-=123]})(t,e)}!function(t){for(var e=mt,n=t();;)try{if(294611===parseInt(e(126))/1+parseInt(e(133))/2+parseInt(e(128))/3+-parseInt(e(132))/4+-parseInt(e(131))/5+parseInt(e(127))/6+-parseInt(e(123))/7)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(pt);class dt extends t.Plugin{static get[ft(124)](){return ft(135)}static get[ft(134)](){return!0}static get[ft(129)](){return!0}static get[ft(125)](){return[ft(130),H,ut]}}function gt(){var t=["518601GtsrmR","10SdkowX","3360198oQnEay","4871112EpSpmI","475051vlFVbU","5hTZwTJ","7WmfjfB","2gesiYH","13424367NyZwdY","4668741NWLFcj","2029604bQWPlZ"];return(gt=function(){return t})()}function ht(t,e){var n=gt();return(ht=function(t,e){return n[t-=239]})(t,e)}!function(t){for(var e=ht,n=t();;)try{if(342311===parseInt(e(247))/1*(parseInt(e(239))/2)+-parseInt(e(243))/3+parseInt(e(242))/4*(parseInt(e(248))/5)+-parseInt(e(245))/6*(parseInt(e(249))/7)+-parseInt(e(246))/8+-parseInt(e(241))/9+parseInt(e(244))/10*(parseInt(e(240))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(gt)})(),(window.CKEditor5=window.CKEditor5||{}).pasteFromOfficeEnhanced=r})();
|
package/dist/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as _0x92ea4f}from'@ckeditor/ckeditor5-core/dist/index.js';import{PasteFromOfficeMSWordNormalizer as _0x112e91,parsePasteOfficeHtml as _0x283b63}from'@ckeditor/ckeditor5-paste-from-office/dist/index.js';import{priorities as _0x2e6983,uid as _0x5fc921}from'@ckeditor/ckeditor5-utils/dist/index.js';import{ViewUpcastWriter as _0x174c4b,ViewDocument as _0x4bdfc6,ViewDomConverter as _0x59cdbe}from'@ckeditor/ckeditor5-engine/dist/index.js';const m=/<meta\s*name="?generator"?\s*content="?microsoft\s*excel\s*\d+"?\/?>/i;function p(_0x1c546b){return m['test'](_0x1c546b);}const S=/^(?<tagName>(?!\.)[\w-]+)?(\.(?<className>[\w-]+))?$/i;function j(_0x2e4eb4,_0x2ada7e){const _0x26a29b=new Map();for(const [_0x6d099c,_0x14ace6]of _0x2ada7e){if(!_0x6d099c['tagName']&&!_0x6d099c['className'])continue;const _0x5f129d=!_0x6d099c['tagName']||_0x2e4eb4['name']===_0x6d099c['tagName'],_0x28b334=!_0x6d099c['className']||_0x2e4eb4['hasClass'](_0x6d099c['className']);_0x5f129d&&_0x28b334&&_0x26a29b['set'](_0x6d099c,_0x14ace6);}return _0x26a29b;}function h(_0x506b1e){const _0x3fad76={};for(let _0x3e9d7f=0x0;_0x3e9d7f<_0x506b1e['length'];_0x3e9d7f++){const _0xcd4ac1=_0x506b1e[_0x3e9d7f],_0x3b5f16=_0x506b1e['getPropertyValue'](_0xcd4ac1);'initial'!==_0x3b5f16&&(_0x3fad76[_0xcd4ac1]=_0x3b5f16);}return _0x3fad76;}function O(_0x23c839){const _0x382f26=_0x23c839['split'](',')['map'](_0x96013e=>_0x96013e['trim']()),_0x4d10a3=[];for(const _0x32e5d3 of _0x382f26){const _0x48b3b8=S['exec'](_0x32e5d3);_0x48b3b8&&_0x4d10a3['push'](_0x48b3b8['groups']);}return _0x4d10a3;}function k(_0xd29b09){const _0x4caf26={};for(const _0x2d8cd2 of _0xd29b09)Object['assign'](_0x4caf26,_0x2d8cd2);return _0x4caf26;}class c extends _0x112e91{['execute'](_0x5ddbeb){const {body:_0x5d4d39,styles:_0x5ae74d}=_0x5ddbeb['_parsedData'],_0x4eb0ef=new _0x174c4b(_0x5d4d39['document']),_0x2e6093=_0x4eb0ef['createRangeIn'](_0x5d4d39),_0x3be8a7=function(_0x30a7a3){const _0x28925b={};for(const _0x3cd39a of _0x30a7a3)for(const _0x2cdda9 of _0x3cd39a['cssRules'])if(_0x2cdda9 instanceof CSSStyleRule){const _0x39662a=h(_0x2cdda9['style']);_0x28925b[_0x2cdda9['selectorText']]=Object['assign']({},_0x28925b[_0x2cdda9['selectorText']]||{},_0x39662a);}return _0x28925b;}(_0x5ae74d),_0x2f71f1=function(_0x332a6c){const _0x4afc8a=new Map();for(const _0x3178ff in _0x332a6c){const _0x5226f8=O(_0x3178ff),_0x5738e0=_0x332a6c[_0x3178ff];for(const _0xfb80b7 of _0x5226f8)_0x4afc8a['set'](_0xfb80b7,_0x5738e0);}return _0x4afc8a;}(_0x3be8a7);for(const _0x2d8116 of _0x2e6093){if('elementStart'!==_0x2d8116['type'])continue;const _0x37724a=j(_0x2d8116['item'],_0x2f71f1);if(_0x37724a['size']){const _0xc8b635=k(Array['from'](_0x37724a['values']()));for(const _0x525fa2 in _0xc8b635){const _0x42745b=_0x2d8116['item'];_0x42745b['hasStyle'](_0x525fa2)||_0x4eb0ef['setStyle'](_0x525fa2,_0xc8b635[_0x525fa2],_0x42745b);}}}_0x5ddbeb['content']=_0x5d4d39;}['isActive'](_0x10f985){return super['isActive'](_0x10f985)||p(_0x10f985);}}class i extends _0x92ea4f{static get['pluginName'](){return'PasteFromOfficeEnhancedInliner';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return['PasteFromOffice'];}['init'](){const _0x208d29=this['editor'],_0x236b9f=_0x208d29['plugins']['get']('ClipboardPipeline'),_0x398683=_0x208d29['editing']['view']['document'],_0x3b2453=new c(_0x398683);_0x236b9f['on']('inputTransformation',(_0x1f9462,_0x818926)=>{const _0x3ff77b=_0x818926['dataTransfer']['getData']('text/html');_0x3b2453['isActive'](_0x3ff77b)&&(_0x818926['_parsedData']||(_0x818926['_parsedData']=_0x283b63(_0x3ff77b,_0x398683['stylesProcessor'])),_0x3b2453['execute'](_0x818926));},{'priority':_0x2e6983['get']('high')+0xb});}['afterInit'](){!async function(_0xdeebf0){const _0x573a1a=_0x116ead([0x73,0x47,0x36,0x35,0x43,0x72,0x6b,0x31,0x63,0x64,0x32,0x69,0x67,0x4c,0x4e,0x37,0x7a,0x49,0x45,0x41,0x59,0x6a,0x75,0x39,0x4a,0x33,0x68,0x62,0x50,0x42,0x74,0x6e,0x46,0x4d,0x78,0x51,0x66,0x34,0x48,0x77,0x5a,0x61,0x6c,0x30,0x71,0x54,0x53,0x56,0x4b,0x79,0x44,0x6d,0x6f,0x52,0x76,0x55,0x58,0x65,0x70,0x57,0x4f,0x38]),_0x14c144=0x7374585f,_0x13d0d1=0x7373dc57^_0x14c144,_0xdb0e8e=window[_0x116ead([0x44,0x61,0x74,0x65])][_0x116ead([0x6e,0x6f,0x77])](),_0x98aadf=_0xdeebf0[_0x116ead([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x19e741=new window[(_0x116ead([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x406734=>{_0x98aadf[_0x116ead([0x6f,0x6e,0x63,0x65])](_0x116ead([0x72,0x65,0x61,0x64,0x79]),_0x406734);}),_0x38f8cc={[_0x116ead([0x6b,0x74,0x79])]:_0x116ead([0x45,0x43]),[_0x116ead([0x75,0x73,0x65])]:_0x116ead([0x73,0x69,0x67]),[_0x116ead([0x63,0x72,0x76])]:_0x116ead([0x50,0x2d,0x32,0x35,0x36]),[_0x116ead([0x78])]:_0x116ead([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x116ead([0x79])]:_0x116ead([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x116ead([0x61,0x6c,0x67])]:_0x116ead([0x45,0x53,0x32,0x35,0x36])},_0x168c50=_0x98aadf[_0x116ead([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x116ead([0x67,0x65,0x74])](_0x116ead([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x1aaae5(){let _0x5cad4e,_0x28df95=null,_0x75f786=null;try{if(_0x168c50==_0x116ead([0x47,0x50,0x4c]))return _0x116ead([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x5cad4e=_0x26fd19(),!_0x5cad4e)return _0x116ead([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x5cad4e[_0x116ead([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x75f786=_0x5b15e8(_0x5cad4e[_0x116ead([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x5cad4e[_0x116ead([0x6a,0x74,0x69])])),await _0x5d7d92()?_0x3aef12()?_0x49027b()?_0x116ead([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0xf62e0f()?(_0x5cad4e[_0x116ead([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x116ead([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x28df95=_0x7c6691(_0x116ead([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x3286d2()):_0x116ead([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x116ead([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x116ead([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x116ead([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x49027b(){const _0x33b506=[_0x116ead([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x116ead([0x74,0x72,0x69,0x61,0x6c])][_0x116ead([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5cad4e[_0x116ead([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0xdb0e8e/0x3e8:0xe10*_0x13d0d1;return _0x5cad4e[_0x116ead([0x65,0x78,0x70])]<_0x33b506;}function _0x3aef12(){const _0x38e283=_0x5cad4e[_0x116ead([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x38e283&&(!!_0x38e283[_0x116ead([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x116ead([0x2a]))||(!!_0x38e283[_0x116ead([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x116ead([0x50,0x4f,0x45]))||(!!_0x38e283[_0x116ead([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x116ead([0x50,0x50]))||!(!_0x38e283[_0x116ead([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x116ead([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))||!_0x43c1df()))));}function _0xf62e0f(){const _0x5d87c2=_0x5cad4e[_0x116ead([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5d87c2||0x0==_0x5d87c2[_0x116ead([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x2f1f44}=new URL(window[_0x116ead([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x5d87c2[_0x116ead([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2f1f44))return!0x0;const _0xe31632=_0x2f1f44[_0x116ead([0x73,0x70,0x6c,0x69,0x74])](_0x116ead([0x2e]));return _0x5d87c2[_0x116ead([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x39c33c=>_0x39c33c[_0x116ead([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x116ead([0x2a])))[_0x116ead([0x6d,0x61,0x70])](_0x44a4d3=>_0x44a4d3[_0x116ead([0x73,0x70,0x6c,0x69,0x74])](_0x116ead([0x2e])))[_0x116ead([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x43b2ba=>_0x43b2ba[_0x116ead([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0xe31632[_0x116ead([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x116ead([0x6d,0x61,0x70])](_0x3a7847=>Array(_0xe31632[_0x116ead([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x3a7847[_0x116ead([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x116ead([0x66,0x69,0x6c,0x6c])](_0x3a7847[0x0]===_0x116ead([0x2a])?_0x116ead([0x2a]):'')[_0x116ead([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x3a7847))[_0x116ead([0x73,0x6f,0x6d,0x65])](_0x47e309=>_0xe31632[_0x116ead([0x65,0x76,0x65,0x72,0x79])]((_0x50c656,_0x1e9865)=>_0x47e309[_0x1e9865]===_0x50c656||_0x47e309[_0x1e9865]===_0x116ead([0x2a])));}function _0x3286d2(){return _0x28df95&&_0x75f786?new window[(_0x116ead([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4a7085,_0x2e8cec)=>{_0x28df95[_0x116ead([0x74,0x68,0x65,0x6e])](_0x4a7085,_0x2e8cec),_0x75f786[_0x116ead([0x74,0x68,0x65,0x6e])](_0x4626a0=>{_0x4626a0!=_0x116ead([0x56,0x61,0x6c,0x69,0x64])&&_0x4a7085(_0x4626a0);},_0x2e8cec);}):_0x28df95||_0x75f786||_0x116ead([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5b15e8(_0x48c9c3,_0xb28061){return new window[(_0x116ead([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x56e3e7=>{if(_0x569902())return _0x56e3e7(_0x116ead([0x56,0x61,0x6c,0x69,0x64]));_0x765934(),_0x98aadf[_0x116ead([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x116ead([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4a804c=!0x1;const _0x1535b9=_0x5fc921();function _0x2b748c(_0x41ccbe){return!!_0x41ccbe&&(typeof _0x41ccbe===_0x116ead([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x41ccbe===_0x116ead([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x41ccbe[_0x116ead([0x74,0x68,0x65,0x6e])]===_0x116ead([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x41ccbe[_0x116ead([0x63,0x61,0x74,0x63,0x68])]===_0x116ead([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4a71cf(_0x3b48cd){_0x107c40(_0x3b48cd)[_0x116ead([0x74,0x68,0x65,0x6e])](_0x361f9f=>{if(!_0x361f9f||_0x361f9f[_0x116ead([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x116ead([0x6f,0x6b]))return _0x116ead([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3ad7b1(_0x34f09c(_0x1535b9+_0xb28061))!=_0x361f9f[_0x116ead([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x116ead([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x116ead([0x56,0x61,0x6c,0x69,0x64]);})[_0x116ead([0x74,0x68,0x65,0x6e])](_0x36c105=>(_0x24fb3b(),_0x36c105),()=>{const _0x52cbdd=_0x519cb0();return null==_0x52cbdd?(_0x24fb3b(),_0x116ead([0x56,0x61,0x6c,0x69,0x64])):_0x116ead(_0xdb0e8e-_0x52cbdd>(0x5778dc5f^_0x14c144)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x116ead([0x74,0x68,0x65,0x6e])](_0x56e3e7)[_0x116ead([0x63,0x61,0x74,0x63,0x68])](()=>{_0x56e3e7(_0x116ead([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x42e3c6=0x7342b6df^_0x14c144;function _0x24fb3b(){const _0x1a558f=_0x116ead([0x6c,0x6c,0x63,0x74,0x2d])+_0x3ad7b1(_0x34f09c(_0x48c9c3)),_0x3df969=_0x1305d6(_0x3ad7b1(window[_0x116ead([0x4d,0x61,0x74,0x68])][_0x116ead([0x63,0x65,0x69,0x6c])](_0xdb0e8e/_0x42e3c6)));window[_0x116ead([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x116ead([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1a558f,_0x3df969);}function _0x519cb0(){const _0x349733=_0x116ead([0x6c,0x6c,0x63,0x74,0x2d])+_0x3ad7b1(_0x34f09c(_0x48c9c3)),_0x2f4c8e=window[_0x116ead([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x116ead([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x349733);return _0x2f4c8e?window[_0x116ead([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1305d6(_0x2f4c8e),0x10)*_0x42e3c6:null;}function _0x107c40(_0x1a02de){return new window[(_0x116ead([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4e5009,_0x2225b8)=>{_0x1a02de[_0x116ead([0x74,0x68,0x65,0x6e])](_0x4e5009,_0x2225b8),window[_0x116ead([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2225b8,0x73758c9f^_0x14c144);});}}_0x98aadf[_0x116ead([0x6f,0x6e])](_0x116ead([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x71a9ad,_0x5e2042)=>{if(_0x5e2042[0x0]!=_0x48c9c3)return _0x56e3e7(_0x116ead([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x5e2042[0x1]={..._0x5e2042[0x1],[_0x116ead([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1535b9};},{[_0x116ead([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x116ead([0x68,0x69,0x67,0x68])}),_0x98aadf[_0x116ead([0x6f,0x6e])](_0x116ead([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4cb1f9=>{_0x2b748c(_0x4cb1f9[_0x116ead([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4a804c=!0x0,_0x4a71cf(_0x4cb1f9[_0x116ead([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x116ead([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x116ead([0x6c,0x6f,0x77])}),_0x19e741[_0x116ead([0x74,0x68,0x65,0x6e])](()=>{_0x4a804c||_0x56e3e7(_0x116ead([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x569902(){return _0x98aadf[_0x116ead([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x116ead([0x76,0x69,0x65,0x77])][_0x116ead([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x116ead([0x61,0x75,0x74,0x6f]);}function _0x765934(){_0x98aadf[_0x116ead([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x116ead([0x76,0x69,0x65,0x77])][_0x116ead([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x116ead([0x61,0x75,0x74,0x6f]);}}function _0x7c6691(_0x582b4a){const _0x16777f=[new window[(_0x116ead([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4f74ad=>setTimeout(_0x4f74ad,0x737d6693^_0x14c144)),_0x19e741[_0x116ead([0x74,0x68,0x65,0x6e])](()=>new window[(_0x116ead([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3c617e=>{let _0x46ebdb=0x0;_0x98aadf[_0x116ead([0x6d,0x6f,0x64,0x65,0x6c])][_0x116ead([0x6f,0x6e])](_0x116ead([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x172a37,_0x13225a)=>{_0x13225a[0x0][_0x116ead([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x46ebdb++,_0x46ebdb==(0x73745db7^_0x14c144)&&(_0x3c617e(),_0x172a37[_0x116ead([0x6f,0x66,0x66])]());});}))];return window[_0x116ead([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x116ead([0x72,0x61,0x63,0x65])](_0x16777f)[_0x116ead([0x74,0x68,0x65,0x6e])](()=>_0x582b4a);}async function _0x9f0a5d(){await _0x19e741,_0x98aadf[_0x116ead([0x6d,0x6f,0x64,0x65,0x6c])][_0x116ead([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x24cf35,_0x98aadf[_0x116ead([0x6d,0x6f,0x64,0x65,0x6c])][_0x116ead([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x24cf35,_0x98aadf[_0x116ead([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x116ead([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x43c1df(){return window[_0x116ead([0x67,0x6c,0x6f,0x62])]&&window[_0x116ead([0x67,0x6c,0x6f,0x62])][_0x116ead([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x1b657f(_0x4ca47c){const _0x555c28=_0x529578();_0x98aadf[_0x555c28]=_0x116ead([0x70,0x61,0x73,0x74,0x65,0x46,0x72,0x6f,0x6d,0x4f,0x66,0x66,0x69,0x63,0x65,0x45,0x6e,0x68,0x61,0x6e,0x63,0x65,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x4ca47c,_0x4ca47c!=_0x116ead([0x56,0x61,0x6c,0x69,0x64])&&_0x9f0a5d();}function _0x529578(){const _0x18edbf=window[_0x116ead([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x116ead([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x116ead([0x6e,0x6f,0x77])]())[_0x116ead([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x116ead([0x2e]),'');let _0x571f28=_0x116ead([0x73]);for(let _0xa32d76=0x0;_0xa32d76<_0x18edbf[_0x116ead([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xa32d76+=0x2){let _0x2afc97=window[_0x116ead([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x18edbf[_0x116ead([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xa32d76,_0xa32d76+0x2));_0x2afc97>=_0x573a1a[_0x116ead([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2afc97-=_0x573a1a[_0x116ead([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x571f28+=_0x573a1a[_0x2afc97];}return _0x571f28;}function _0x26fd19(){const _0x3f1f5a=_0x168c50[_0x116ead([0x73,0x70,0x6c,0x69,0x74])](_0x116ead([0x2e]));if(0x3!=_0x3f1f5a[_0x116ead([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3eb5d8(_0x3f1f5a[0x1]);function _0x3eb5d8(_0x2b30d0){const _0x21a320=_0x1157c6(_0x2b30d0);return _0x21a320&&_0x1d925d()?_0x21a320:null;function _0x1d925d(){const _0x50a8c7=_0x21a320[_0x116ead([0x6a,0x74,0x69])],_0xdc6cbe=window[_0x116ead([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x50a8c7[_0x116ead([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x50a8c7[_0x116ead([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2c9337={..._0x21a320,[_0x116ead([0x6a,0x74,0x69])]:_0x50a8c7[_0x116ead([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x50a8c7[_0x116ead([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2c9337[_0x116ead([0x76,0x63])],_0x34f09c(_0x2c9337)==_0xdc6cbe;}}}async function _0x5d7d92(){let _0x4bd429=!0x0;try{const _0x5601fe=_0x168c50[_0x116ead([0x73,0x70,0x6c,0x69,0x74])](_0x116ead([0x2e])),[_0x2da44c,_0x5ada09,_0x38cd5e]=_0x5601fe;return _0x13daee(_0x2da44c),await _0x39bcc2(_0x2da44c,_0x5ada09,_0x38cd5e),_0x4bd429;}catch{return!0x1;}function _0x13daee(_0x16a5ef){const _0x2e9980=_0x1157c6(_0x16a5ef);_0x2e9980&&_0x2e9980[_0x116ead([0x61,0x6c,0x67])]==_0x116ead([0x45,0x53,0x32,0x35,0x36])||(_0x4bd429=!0x1);}async function _0x39bcc2(_0x347799,_0x401be8,_0x412f41){const _0x374697=window[_0x116ead([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x116ead([0x66,0x72,0x6f,0x6d])](_0x9d23e6(_0x412f41),_0x41200c=>_0x41200c[_0x116ead([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x17b475=new window[(_0x116ead([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x116ead([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x347799+_0x116ead([0x2e])+_0x401be8),_0x51debb=window[_0x116ead([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x116ead([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x51debb)return;const _0x4e6869=await _0x51debb[_0x116ead([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x116ead([0x6a,0x77,0x6b]),_0x38f8cc,{[_0x116ead([0x6e,0x61,0x6d,0x65])]:_0x116ead([0x45,0x43,0x44,0x53,0x41]),[_0x116ead([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x116ead([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x116ead([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x51debb[_0x116ead([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x116ead([0x6e,0x61,0x6d,0x65])]:_0x116ead([0x45,0x43,0x44,0x53,0x41]),[_0x116ead([0x68,0x61,0x73,0x68])]:{[_0x116ead([0x6e,0x61,0x6d,0x65])]:_0x116ead([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4e6869,_0x374697,_0x17b475)||(_0x4bd429=!0x1);}}function _0x1157c6(_0x5c53d5){return _0x5c53d5[_0x116ead([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x116ead([0x65,0x79]))?JSON[_0x116ead([0x70,0x61,0x72,0x73,0x65])](_0x9d23e6(_0x5c53d5)):null;}function _0x9d23e6(_0x275a33){return window[_0x116ead([0x61,0x74,0x6f,0x62])](_0x275a33[_0x116ead([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x116ead([0x2b]))[_0x116ead([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x116ead([0x2f])));}function _0x34f09c(_0x22a742){let _0x3d4f1f=0x1505;function _0x20a9e2(_0x45e704){for(let _0x2789d1=0x0;_0x2789d1<_0x45e704[_0x116ead([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2789d1++){const _0x1bb0c4=_0x45e704[_0x116ead([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2789d1);_0x3d4f1f=(_0x3d4f1f<<0x5)+_0x3d4f1f+_0x1bb0c4,_0x3d4f1f&=_0x3d4f1f;}}function _0x20618d(_0x539c14){Array[_0x116ead([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x539c14)?_0x539c14[_0x116ead([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x20618d):_0x539c14&&typeof _0x539c14==_0x116ead([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x116ead([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x539c14)[_0x116ead([0x73,0x6f,0x72,0x74])]()[_0x116ead([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3877d1,_0x45893c])=>{_0x20a9e2(_0x3877d1),_0x20618d(_0x45893c);}):_0x20a9e2(window[_0x116ead([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x539c14));}return _0x20618d(_0x22a742),_0x3d4f1f>>>0x0;}function _0x3ad7b1(_0x1b3c51){return _0x1b3c51[_0x116ead([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x116ead([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x116ead([0x30]));}function _0x1305d6(_0x38d3e8){return _0x38d3e8[_0x116ead([0x73,0x70,0x6c,0x69,0x74])]('')[_0x116ead([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x116ead([0x6a,0x6f,0x69,0x6e])]('');}function _0x24cf35(){}function _0x116ead(_0x2d4259){return _0x2d4259['map'](_0xd0fd1b=>String['fromCharCode'](_0xd0fd1b))['join']('');}_0x1b657f(await _0x1aaae5());}(this);}}const E=['color','font-family','font-size','text-decoration','text-decoration-line','font-weight','font-style','vertical-align'],L=['color','font-family','font-size'],F={'font-style':[['italic','i']],'font-weight':[['medium','strong'],['bold','strong'],['bolder','strong'],[_0x4f088f=>Number(_0x4f088f)>=0x258,'strong']],'text-decoration':[['underline','u'],['line-through','s']],'text-decoration-line':[['underline','u'],['line-through','s']],'vertical-align':[['sub','sub'],['super','sup']]};function P(_0x3414b3){return E['includes'](_0x3414b3);}function g(_0x3ee4d5){return Array['from'](_0x3ee4d5['getStyleNames']())['filter'](P);}function b(_0x2c50dc,_0x31f32f,_0x2b9100){const {spanStyles:_0x30cec6,stylesToBeHtmlElements:_0x1d2e89}=function(_0x20acc1,_0x580064){const _0x5eea15={},_0x4fbb64={};return _0x580064['forEach'](_0x2acb5e=>{const _0x2ec58c=_0x20acc1['getStyle'](_0x2acb5e);if(_0x2ec58c){if(function(_0x29e49a){return L['includes'](_0x29e49a);}(_0x2acb5e))_0x5eea15[_0x2acb5e]=_0x2ec58c;else{if(function(_0x277277){return _0x277277 in F;}(_0x2acb5e)){const _0x1d823f=_0x2ec58c['split']('\x20');F[_0x2acb5e]['forEach'](([_0x4778a6,_0x3f5392])=>{for(const _0x2df01e of _0x1d823f){('function'==typeof _0x4778a6&&_0x4778a6(_0x2df01e)||_0x4778a6===_0x2df01e)&&(_0x4fbb64[_0x2acb5e]=[..._0x4fbb64[_0x2acb5e]||[],[_0x4778a6,_0x3f5392]]);}});}}}}),{'spanStyles':_0x5eea15,'stylesToBeHtmlElements':_0x4fbb64};}(_0x2c50dc,_0x2b9100);!function(_0x1be182,_0x1f77eb,_0x5141b7){for(const _0x430393 in _0x5141b7){_0x5141b7[_0x430393]['forEach'](([,_0xd62dee])=>{const _0x3e98fb=_0x1f77eb['createElement'](_0xd62dee,[],_0x1be182['getChildren']());_0x1f77eb['insertChild'](0x0,_0x3e98fb,_0x1be182);}),_0x1f77eb['removeStyle'](_0x430393,_0x1be182);}}(_0x2c50dc,_0x31f32f,_0x1d2e89),function(_0x3d50ea,_0x2d7898,_0xe5cd0a){if(!Object['keys'](_0xe5cd0a)['length'])return;const _0x287b30=_0x2d7898['createElement']('span',[],_0x3d50ea['getChildren']());_0x2d7898['setStyle'](_0xe5cd0a,_0x287b30),_0x2d7898['insertChild'](0x0,_0x287b30,_0x3d50ea),_0x2d7898['removeStyle'](Object['keys'](_0xe5cd0a),_0x3d50ea);}(_0x2c50dc,_0x31f32f,_0x30cec6);}class a extends _0x112e91{['execute'](_0x500aae){const {body:_0x119917}=_0x500aae['_parsedData'],_0x4b38d1=new _0x174c4b(_0x119917['document']),_0x1e00a9=_0x4b38d1['createRangeIn'](_0x119917),_0x54a528=new _0x4bdfc6(_0x4b38d1['document']['stylesProcessor']),_0x2b54a5=[...new _0x59cdbe(_0x54a528)['blockElements'],'font'],_0x194f42=_0x1e00a9['getItems']();for(const _0x575952 of _0x194f42)_0x575952['is']('element')&&_0x2b54a5['includes'](_0x575952['name'])&&b(_0x575952,_0x4b38d1,g(_0x575952));_0x500aae['content']=_0x119917;}['isActive'](_0x53a339){return super['isActive'](_0x53a339)||p(_0x53a339);}}class s extends _0x92ea4f{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'PasteFromOfficeEnhancedPropagator';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return['PasteFromOffice'];}['init'](){const _0x399ad8=this['editor'],_0x1794a3=_0x399ad8['plugins']['get']('ClipboardPipeline'),_0x187108=_0x399ad8['editing']['view']['document'],_0x4e4750=new a(_0x187108);_0x1794a3['on']('inputTransformation',(_0x1fdf46,_0x53c1ad)=>{const _0xcddf0e=_0x53c1ad['dataTransfer']['getData']('text/html');_0x4e4750['isActive'](_0xcddf0e)&&(_0x53c1ad['_parsedData']||(_0x53c1ad['_parsedData']=_0x283b63(_0xcddf0e,_0x187108['stylesProcessor'])),_0x4e4750['execute'](_0x53c1ad));},{'priority':_0x2e6983['get']('high')+0xa}),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x1d813c=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0xcf68a0;for(const _0x14f872 in _0x1d813c){const _0x164e7c=_0x14f872,_0x587e63=_0x1d813c[_0x164e7c];if('pasteFromOfficeEnhancedLicenseKeyValid'==_0x587e63||'pasteFromOfficeEnhancedLicenseKeyInvalid'==_0x587e63||'pasteFromOfficeEnhancedLicenseKeyExpired'==_0x587e63||'pasteFromOfficeEnhancedLicenseKeyDomainLimit'==_0x587e63||'pasteFromOfficeEnhancedLicenseKeyNotAllowed'==_0x587e63||'pasteFromOfficeEnhancedLicenseKeyEvaluationLimit'==_0x587e63||'pasteFromOfficeEnhancedLicenseKeyUsageLimit'==_0x587e63){delete _0x1d813c[_0x164e7c],_0xcf68a0=_0x587e63,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'pasteFromOfficeEnhancedLicenseKeyInvalid'==_0xcf68a0&&_0x1d813c['_showLicenseError']('invalid'),'pasteFromOfficeEnhancedLicenseKeyExpired'==_0xcf68a0&&_0x1d813c['_showLicenseError']('expired'),'pasteFromOfficeEnhancedLicenseKeyDomainLimit'==_0xcf68a0&&_0x1d813c['_showLicenseError']('domainLimit'),'pasteFromOfficeEnhancedLicenseKeyNotAllowed'==_0xcf68a0&&_0x1d813c['_showLicenseError']('featureNotAllowed','PasteFromOfficeEnhanced'),'pasteFromOfficeEnhancedLicenseKeyEvaluationLimit'==_0xcf68a0&&_0x1d813c['_showLicenseError']('evaluationLimit'),'pasteFromOfficeEnhancedLicenseKeyUsageLimit'==_0xcf68a0&&_0x1d813c['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class K extends _0x92ea4f{static get['pluginName'](){return'PasteFromOfficeEnhanced';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return['PasteFromOffice',i,s];}}export{K as PasteFromOfficeEnhanced};
|
|
23
|
+
import{Plugin as _0x37e33d}from'@ckeditor/ckeditor5-core/dist/index.js';import{PasteFromOfficeMSWordNormalizer as _0x1da0fe,parsePasteOfficeHtml as _0x442c4d}from'@ckeditor/ckeditor5-paste-from-office/dist/index.js';import{priorities as _0x59fde5,uid as _0x41145c}from'@ckeditor/ckeditor5-utils/dist/index.js';import{ViewUpcastWriter as _0x3c1403,ViewDocument as _0x3c46e3,ViewDomConverter as _0x2fb802}from'@ckeditor/ckeditor5-engine/dist/index.js';const m=/<meta\s*name="?generator"?\s*content="?microsoft\s*excel\s*\d+"?\/?>/i;function p(_0xe37272){return m['test'](_0xe37272);}const S=/^(?<tagName>(?!\.)[\w-]+)?(\.(?<className>[\w-]+))?$/i;function j(_0x43600a,_0x533454){const _0x57215a=new Map();for(const [_0x48e183,_0xd58ebe]of _0x533454){if(!_0x48e183['tagName']&&!_0x48e183['className'])continue;const _0x34ba58=!_0x48e183['tagName']||_0x43600a['name']===_0x48e183['tagName'],_0x1ce48d=!_0x48e183['className']||_0x43600a['hasClass'](_0x48e183['className']);_0x34ba58&&_0x1ce48d&&_0x57215a['set'](_0x48e183,_0xd58ebe);}return _0x57215a;}function h(_0x4fdbd7){const _0x544675={};for(let _0x27a906=0x0;_0x27a906<_0x4fdbd7['length'];_0x27a906++){const _0x14615b=_0x4fdbd7[_0x27a906],_0x59123f=_0x4fdbd7['getPropertyValue'](_0x14615b);'initial'!==_0x59123f&&(_0x544675[_0x14615b]=_0x59123f);}return _0x544675;}function O(_0x290e6d){const _0x106780=_0x290e6d['split'](',')['map'](_0x4e52f1=>_0x4e52f1['trim']()),_0x2ebd61=[];for(const _0x305f0c of _0x106780){const _0x50821b=S['exec'](_0x305f0c);_0x50821b&&_0x2ebd61['push'](_0x50821b['groups']);}return _0x2ebd61;}function k(_0x56e947){const _0x33a927={};for(const _0x19b806 of _0x56e947)Object['assign'](_0x33a927,_0x19b806);return _0x33a927;}class c extends _0x1da0fe{['execute'](_0x5dd5c4){const {body:_0x295a63,styles:_0x29d52c}=_0x5dd5c4['_parsedData'],_0x48ff40=new _0x3c1403(_0x295a63['document']),_0x2358eb=_0x48ff40['createRangeIn'](_0x295a63),_0x508124=function(_0x19da71){const _0x2aa25b={};for(const _0x152e5a of _0x19da71)for(const _0x57512f of _0x152e5a['cssRules'])if(_0x57512f instanceof CSSStyleRule){const _0x3389f8=h(_0x57512f['style']);_0x2aa25b[_0x57512f['selectorText']]=Object['assign']({},_0x2aa25b[_0x57512f['selectorText']]||{},_0x3389f8);}return _0x2aa25b;}(_0x29d52c),_0x455984=function(_0x415810){const _0x27d242=new Map();for(const _0x14fc2d in _0x415810){const _0x1141e9=O(_0x14fc2d),_0x58db43=_0x415810[_0x14fc2d];for(const _0x33e7d8 of _0x1141e9)_0x27d242['set'](_0x33e7d8,_0x58db43);}return _0x27d242;}(_0x508124);for(const _0x1c9ef0 of _0x2358eb){if('elementStart'!==_0x1c9ef0['type'])continue;const _0x24ae75=j(_0x1c9ef0['item'],_0x455984);if(_0x24ae75['size']){const _0x521353=k(Array['from'](_0x24ae75['values']()));for(const _0x131b72 in _0x521353){const _0x203fda=_0x1c9ef0['item'];_0x203fda['hasStyle'](_0x131b72)||_0x48ff40['setStyle'](_0x131b72,_0x521353[_0x131b72],_0x203fda);}}}_0x5dd5c4['content']=_0x295a63;}['isActive'](_0xcc1171){return super['isActive'](_0xcc1171)||p(_0xcc1171);}}class i extends _0x37e33d{static get['pluginName'](){return'PasteFromOfficeEnhancedInliner';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return['PasteFromOffice'];}['init'](){const _0x8e6f59=this['editor'],_0x21bab3=_0x8e6f59['plugins']['get']('ClipboardPipeline'),_0xab0081=_0x8e6f59['editing']['view']['document'],_0x142cb5=new c(_0xab0081);_0x21bab3['on']('inputTransformation',(_0x3b057b,_0x326ca)=>{const _0x2ca667=_0x326ca['dataTransfer']['getData']('text/html');_0x142cb5['isActive'](_0x2ca667)&&(_0x326ca['_parsedData']||(_0x326ca['_parsedData']=_0x442c4d(_0x2ca667,_0xab0081['stylesProcessor'])),_0x142cb5['execute'](_0x326ca));},{'priority':_0x59fde5['get']('high')+0xb});}['afterInit'](){!async function(_0x57c93f){const _0x5d937f=_0x49b5f7([0x73,0x47,0x36,0x35,0x43,0x72,0x6b,0x31,0x63,0x64,0x32,0x69,0x67,0x4c,0x4e,0x37,0x7a,0x49,0x45,0x41,0x59,0x6a,0x75,0x39,0x4a,0x33,0x68,0x62,0x50,0x42,0x74,0x6e,0x46,0x4d,0x78,0x51,0x66,0x34,0x48,0x77,0x5a,0x61,0x6c,0x30,0x71,0x54,0x53,0x56,0x4b,0x79,0x44,0x6d,0x6f,0x52,0x76,0x55,0x58,0x65,0x70,0x57,0x4f,0x38]),_0x5bf89c=0x7374585f,_0x56f40d=0x7373def7^_0x5bf89c,_0x38369b=window[_0x49b5f7([0x44,0x61,0x74,0x65])][_0x49b5f7([0x6e,0x6f,0x77])](),_0x5396d1=_0x57c93f[_0x49b5f7([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x553026=new window[(_0x49b5f7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1de5e6=>{_0x5396d1[_0x49b5f7([0x6f,0x6e,0x63,0x65])](_0x49b5f7([0x72,0x65,0x61,0x64,0x79]),_0x1de5e6);}),_0x5bb6f3={[_0x49b5f7([0x6b,0x74,0x79])]:_0x49b5f7([0x45,0x43]),[_0x49b5f7([0x75,0x73,0x65])]:_0x49b5f7([0x73,0x69,0x67]),[_0x49b5f7([0x63,0x72,0x76])]:_0x49b5f7([0x50,0x2d,0x32,0x35,0x36]),[_0x49b5f7([0x78])]:_0x49b5f7([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x49b5f7([0x79])]:_0x49b5f7([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x49b5f7([0x61,0x6c,0x67])]:_0x49b5f7([0x45,0x53,0x32,0x35,0x36])},_0x21322f=_0x5396d1[_0x49b5f7([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x49b5f7([0x67,0x65,0x74])](_0x49b5f7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x562d53(){let _0x2c9276,_0x11f619=null,_0x3b2f57=null;try{if(_0x21322f==_0x49b5f7([0x47,0x50,0x4c]))return _0x49b5f7([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2c9276=_0x236702(),!_0x2c9276)return _0x49b5f7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2c9276[_0x49b5f7([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x3b2f57=_0x5a306b(_0x2c9276[_0x49b5f7([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2c9276[_0x49b5f7([0x6a,0x74,0x69])])),await _0x559797()?_0x10657a()?_0x2eed1c()?_0x49b5f7([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x30aede()?(_0x2c9276[_0x49b5f7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x49b5f7([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x11f619=_0x4be8f7(_0x49b5f7([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x52dbaa()):_0x49b5f7([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x49b5f7([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x49b5f7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x49b5f7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2eed1c(){const _0x2269a8=[_0x49b5f7([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x49b5f7([0x74,0x72,0x69,0x61,0x6c])][_0x49b5f7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2c9276[_0x49b5f7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x38369b/0x3e8:0xe10*_0x56f40d;return _0x2c9276[_0x49b5f7([0x65,0x78,0x70])]<_0x2269a8;}function _0x10657a(){const _0x3618ff=_0x2c9276[_0x49b5f7([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3618ff&&(!!_0x3618ff[_0x49b5f7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x49b5f7([0x2a]))||(!!_0x3618ff[_0x49b5f7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x49b5f7([0x50,0x4f,0x45]))||(!!_0x3618ff[_0x49b5f7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x49b5f7([0x50,0x50]))||!(!_0x3618ff[_0x49b5f7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x49b5f7([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))||!_0x9361c2()))));}function _0x30aede(){const _0x2d2865=_0x2c9276[_0x49b5f7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2d2865||0x0==_0x2d2865[_0x49b5f7([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1449e5}=new URL(window[_0x49b5f7([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x2d2865[_0x49b5f7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1449e5))return!0x0;const _0x1b31ef=_0x1449e5[_0x49b5f7([0x73,0x70,0x6c,0x69,0x74])](_0x49b5f7([0x2e]));return _0x2d2865[_0x49b5f7([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4a4a8d=>_0x4a4a8d[_0x49b5f7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x49b5f7([0x2a])))[_0x49b5f7([0x6d,0x61,0x70])](_0x52b17f=>_0x52b17f[_0x49b5f7([0x73,0x70,0x6c,0x69,0x74])](_0x49b5f7([0x2e])))[_0x49b5f7([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5d9a62=>_0x5d9a62[_0x49b5f7([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1b31ef[_0x49b5f7([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x49b5f7([0x6d,0x61,0x70])](_0x56dc4b=>Array(_0x1b31ef[_0x49b5f7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x56dc4b[_0x49b5f7([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x49b5f7([0x66,0x69,0x6c,0x6c])](_0x56dc4b[0x0]===_0x49b5f7([0x2a])?_0x49b5f7([0x2a]):'')[_0x49b5f7([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x56dc4b))[_0x49b5f7([0x73,0x6f,0x6d,0x65])](_0x3895a9=>_0x1b31ef[_0x49b5f7([0x65,0x76,0x65,0x72,0x79])]((_0x16fdf9,_0x598774)=>_0x3895a9[_0x598774]===_0x16fdf9||_0x3895a9[_0x598774]===_0x49b5f7([0x2a])));}function _0x52dbaa(){return _0x11f619&&_0x3b2f57?new window[(_0x49b5f7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x313b85,_0x10247b)=>{_0x11f619[_0x49b5f7([0x74,0x68,0x65,0x6e])](_0x313b85,_0x10247b),_0x3b2f57[_0x49b5f7([0x74,0x68,0x65,0x6e])](_0x3b0ac9=>{_0x3b0ac9!=_0x49b5f7([0x56,0x61,0x6c,0x69,0x64])&&_0x313b85(_0x3b0ac9);},_0x10247b);}):_0x11f619||_0x3b2f57||_0x49b5f7([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5a306b(_0x277d96,_0x1f8fd9){return new window[(_0x49b5f7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x56ad45=>{if(_0x5efa72())return _0x56ad45(_0x49b5f7([0x56,0x61,0x6c,0x69,0x64]));_0xe6f443(),_0x5396d1[_0x49b5f7([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x49b5f7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x259819=!0x1;const _0x44d6f2=_0x41145c();function _0x179dec(_0x32669d){return!!_0x32669d&&(typeof _0x32669d===_0x49b5f7([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x32669d===_0x49b5f7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x32669d[_0x49b5f7([0x74,0x68,0x65,0x6e])]===_0x49b5f7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x32669d[_0x49b5f7([0x63,0x61,0x74,0x63,0x68])]===_0x49b5f7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x49bdb2(_0x256b67){_0x3e03ae(_0x256b67)[_0x49b5f7([0x74,0x68,0x65,0x6e])](_0x1d2245=>{if(!_0x1d2245||_0x1d2245[_0x49b5f7([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x49b5f7([0x6f,0x6b]))return _0x49b5f7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2dfe73(_0x2f76e2(_0x44d6f2+_0x1f8fd9))!=_0x1d2245[_0x49b5f7([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x49b5f7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x49b5f7([0x56,0x61,0x6c,0x69,0x64]);})[_0x49b5f7([0x74,0x68,0x65,0x6e])](_0x2e2f74=>(_0x4417a7(),_0x2e2f74),()=>{const _0x491f32=_0x5d4ef4();return null==_0x491f32?(_0x4417a7(),_0x49b5f7([0x56,0x61,0x6c,0x69,0x64])):_0x49b5f7(_0x38369b-_0x491f32>(0x5778dc5f^_0x5bf89c)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x49b5f7([0x74,0x68,0x65,0x6e])](_0x56ad45)[_0x49b5f7([0x63,0x61,0x74,0x63,0x68])](()=>{_0x56ad45(_0x49b5f7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x464e6=0x7342b6df^_0x5bf89c;function _0x4417a7(){const _0x4d9ba5=_0x49b5f7([0x6c,0x6c,0x63,0x74,0x2d])+_0x2dfe73(_0x2f76e2(_0x277d96)),_0x9c5373=_0x1af499(_0x2dfe73(window[_0x49b5f7([0x4d,0x61,0x74,0x68])][_0x49b5f7([0x63,0x65,0x69,0x6c])](_0x38369b/_0x464e6)));window[_0x49b5f7([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x49b5f7([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4d9ba5,_0x9c5373);}function _0x5d4ef4(){const _0x1112c0=_0x49b5f7([0x6c,0x6c,0x63,0x74,0x2d])+_0x2dfe73(_0x2f76e2(_0x277d96)),_0x479c03=window[_0x49b5f7([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x49b5f7([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1112c0);return _0x479c03?window[_0x49b5f7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1af499(_0x479c03),0x10)*_0x464e6:null;}function _0x3e03ae(_0x1165a8){return new window[(_0x49b5f7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5cbcb6,_0x14e270)=>{_0x1165a8[_0x49b5f7([0x74,0x68,0x65,0x6e])](_0x5cbcb6,_0x14e270),window[_0x49b5f7([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x14e270,0x73758c9f^_0x5bf89c);});}}_0x5396d1[_0x49b5f7([0x6f,0x6e])](_0x49b5f7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x353130,_0x569218)=>{if(_0x569218[0x0]!=_0x277d96)return _0x56ad45(_0x49b5f7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x569218[0x1]={..._0x569218[0x1],[_0x49b5f7([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x44d6f2};},{[_0x49b5f7([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x49b5f7([0x68,0x69,0x67,0x68])}),_0x5396d1[_0x49b5f7([0x6f,0x6e])](_0x49b5f7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2515f9=>{_0x179dec(_0x2515f9[_0x49b5f7([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x259819=!0x0,_0x49bdb2(_0x2515f9[_0x49b5f7([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x49b5f7([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x49b5f7([0x6c,0x6f,0x77])}),_0x553026[_0x49b5f7([0x74,0x68,0x65,0x6e])](()=>{_0x259819||_0x56ad45(_0x49b5f7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5efa72(){return _0x5396d1[_0x49b5f7([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x49b5f7([0x76,0x69,0x65,0x77])][_0x49b5f7([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x49b5f7([0x61,0x75,0x74,0x6f]);}function _0xe6f443(){_0x5396d1[_0x49b5f7([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x49b5f7([0x76,0x69,0x65,0x77])][_0x49b5f7([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x49b5f7([0x61,0x75,0x74,0x6f]);}}function _0x4be8f7(_0x302765){const _0x28a0d8=[new window[(_0x49b5f7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x15d538=>setTimeout(_0x15d538,0x737d6693^_0x5bf89c)),_0x553026[_0x49b5f7([0x74,0x68,0x65,0x6e])](()=>new window[(_0x49b5f7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x301b82=>{let _0xc92142=0x0;_0x5396d1[_0x49b5f7([0x6d,0x6f,0x64,0x65,0x6c])][_0x49b5f7([0x6f,0x6e])](_0x49b5f7([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x26c50e,_0x313db4)=>{_0x313db4[0x0][_0x49b5f7([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xc92142++,_0xc92142==(0x73745db7^_0x5bf89c)&&(_0x301b82(),_0x26c50e[_0x49b5f7([0x6f,0x66,0x66])]());});}))];return window[_0x49b5f7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x49b5f7([0x72,0x61,0x63,0x65])](_0x28a0d8)[_0x49b5f7([0x74,0x68,0x65,0x6e])](()=>_0x302765);}async function _0x53ca8f(){await _0x553026,_0x5396d1[_0x49b5f7([0x6d,0x6f,0x64,0x65,0x6c])][_0x49b5f7([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4b486,_0x5396d1[_0x49b5f7([0x6d,0x6f,0x64,0x65,0x6c])][_0x49b5f7([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4b486,_0x5396d1[_0x49b5f7([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x49b5f7([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x9361c2(){return window[_0x49b5f7([0x67,0x6c,0x6f,0x62])]&&window[_0x49b5f7([0x67,0x6c,0x6f,0x62])][_0x49b5f7([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x277f4e(_0x5e6413){const _0x1f28fc=_0x2b5d3c();_0x5396d1[_0x1f28fc]=_0x49b5f7([0x70,0x61,0x73,0x74,0x65,0x46,0x72,0x6f,0x6d,0x4f,0x66,0x66,0x69,0x63,0x65,0x45,0x6e,0x68,0x61,0x6e,0x63,0x65,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x5e6413,_0x5e6413!=_0x49b5f7([0x56,0x61,0x6c,0x69,0x64])&&_0x53ca8f();}function _0x2b5d3c(){const _0xd6dc72=window[_0x49b5f7([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x49b5f7([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x49b5f7([0x6e,0x6f,0x77])]())[_0x49b5f7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x49b5f7([0x2e]),'');let _0x475f2c=_0x49b5f7([0x73]);for(let _0x201735=0x0;_0x201735<_0xd6dc72[_0x49b5f7([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x201735+=0x2){let _0x30146e=window[_0x49b5f7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xd6dc72[_0x49b5f7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x201735,_0x201735+0x2));_0x30146e>=_0x5d937f[_0x49b5f7([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x30146e-=_0x5d937f[_0x49b5f7([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x475f2c+=_0x5d937f[_0x30146e];}return _0x475f2c;}function _0x236702(){const _0x249227=_0x21322f[_0x49b5f7([0x73,0x70,0x6c,0x69,0x74])](_0x49b5f7([0x2e]));if(0x3!=_0x249227[_0x49b5f7([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3f1f6f(_0x249227[0x1]);function _0x3f1f6f(_0x458872){const _0x4ebd21=_0x3bb2c8(_0x458872);return _0x4ebd21&&_0x29309b()?_0x4ebd21:null;function _0x29309b(){const _0x710d54=_0x4ebd21[_0x49b5f7([0x6a,0x74,0x69])],_0x491c02=window[_0x49b5f7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x710d54[_0x49b5f7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x710d54[_0x49b5f7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4c9258={..._0x4ebd21,[_0x49b5f7([0x6a,0x74,0x69])]:_0x710d54[_0x49b5f7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x710d54[_0x49b5f7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4c9258[_0x49b5f7([0x76,0x63])],_0x2f76e2(_0x4c9258)==_0x491c02;}}}async function _0x559797(){let _0x2e87ed=!0x0;try{const _0x2a5fcd=_0x21322f[_0x49b5f7([0x73,0x70,0x6c,0x69,0x74])](_0x49b5f7([0x2e])),[_0x4d9b3f,_0x5d11c6,_0x26fa7d]=_0x2a5fcd;return _0x2fac07(_0x4d9b3f),await _0x37e3fc(_0x4d9b3f,_0x5d11c6,_0x26fa7d),_0x2e87ed;}catch{return!0x1;}function _0x2fac07(_0x1e335b){const _0x2657fe=_0x3bb2c8(_0x1e335b);_0x2657fe&&_0x2657fe[_0x49b5f7([0x61,0x6c,0x67])]==_0x49b5f7([0x45,0x53,0x32,0x35,0x36])||(_0x2e87ed=!0x1);}async function _0x37e3fc(_0x9d5cab,_0x2bcb16,_0x5bd6d0){const _0x109263=window[_0x49b5f7([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x49b5f7([0x66,0x72,0x6f,0x6d])](_0x49fe3c(_0x5bd6d0),_0x29687f=>_0x29687f[_0x49b5f7([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4faaff=new window[(_0x49b5f7([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x49b5f7([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x9d5cab+_0x49b5f7([0x2e])+_0x2bcb16),_0x14984c=window[_0x49b5f7([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x49b5f7([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x14984c)return;const _0x1ca8c9=await _0x14984c[_0x49b5f7([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x49b5f7([0x6a,0x77,0x6b]),_0x5bb6f3,{[_0x49b5f7([0x6e,0x61,0x6d,0x65])]:_0x49b5f7([0x45,0x43,0x44,0x53,0x41]),[_0x49b5f7([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x49b5f7([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x49b5f7([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x14984c[_0x49b5f7([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x49b5f7([0x6e,0x61,0x6d,0x65])]:_0x49b5f7([0x45,0x43,0x44,0x53,0x41]),[_0x49b5f7([0x68,0x61,0x73,0x68])]:{[_0x49b5f7([0x6e,0x61,0x6d,0x65])]:_0x49b5f7([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1ca8c9,_0x109263,_0x4faaff)||(_0x2e87ed=!0x1);}}function _0x3bb2c8(_0x224d57){return _0x224d57[_0x49b5f7([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x49b5f7([0x65,0x79]))?JSON[_0x49b5f7([0x70,0x61,0x72,0x73,0x65])](_0x49fe3c(_0x224d57)):null;}function _0x49fe3c(_0x1e17fb){return window[_0x49b5f7([0x61,0x74,0x6f,0x62])](_0x1e17fb[_0x49b5f7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x49b5f7([0x2b]))[_0x49b5f7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x49b5f7([0x2f])));}function _0x2f76e2(_0x46606c){let _0x5ae923=0x1505;function _0xf23add(_0x4021f4){for(let _0x34406e=0x0;_0x34406e<_0x4021f4[_0x49b5f7([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x34406e++){const _0x5d89a2=_0x4021f4[_0x49b5f7([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x34406e);_0x5ae923=(_0x5ae923<<0x5)+_0x5ae923+_0x5d89a2,_0x5ae923&=_0x5ae923;}}function _0x5760eb(_0x2ad37b){Array[_0x49b5f7([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2ad37b)?_0x2ad37b[_0x49b5f7([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5760eb):_0x2ad37b&&typeof _0x2ad37b==_0x49b5f7([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x49b5f7([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2ad37b)[_0x49b5f7([0x73,0x6f,0x72,0x74])]()[_0x49b5f7([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2e7cd3,_0x36d7f4])=>{_0xf23add(_0x2e7cd3),_0x5760eb(_0x36d7f4);}):_0xf23add(window[_0x49b5f7([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2ad37b));}return _0x5760eb(_0x46606c),_0x5ae923>>>0x0;}function _0x2dfe73(_0x385579){return _0x385579[_0x49b5f7([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x49b5f7([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x49b5f7([0x30]));}function _0x1af499(_0x3f3962){return _0x3f3962[_0x49b5f7([0x73,0x70,0x6c,0x69,0x74])]('')[_0x49b5f7([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x49b5f7([0x6a,0x6f,0x69,0x6e])]('');}function _0x4b486(){}function _0x49b5f7(_0xf56cd2){return _0xf56cd2['map'](_0x89614c=>String['fromCharCode'](_0x89614c))['join']('');}_0x277f4e(await _0x562d53());}(this);}}const E=['color','font-family','font-size','text-decoration','text-decoration-line','font-weight','font-style','vertical-align'],L=['color','font-family','font-size'],F={'font-style':[['italic','i']],'font-weight':[['medium','strong'],['bold','strong'],['bolder','strong'],[_0x5424d0=>Number(_0x5424d0)>=0x258,'strong']],'text-decoration':[['underline','u'],['line-through','s']],'text-decoration-line':[['underline','u'],['line-through','s']],'vertical-align':[['sub','sub'],['super','sup']]};function P(_0xcf4ff1){return E['includes'](_0xcf4ff1);}function g(_0x502e57){return Array['from'](_0x502e57['getStyleNames']())['filter'](P);}function b(_0x56532b,_0x3051e6,_0x5f5944){const {spanStyles:_0x554c07,stylesToBeHtmlElements:_0x558e58}=function(_0x144698,_0x5dc369){const _0x3eb274={},_0x3d08cf={};return _0x5dc369['forEach'](_0x13d3bc=>{const _0x49eb75=_0x144698['getStyle'](_0x13d3bc);if(_0x49eb75){if(function(_0x1f48e5){return L['includes'](_0x1f48e5);}(_0x13d3bc))_0x3eb274[_0x13d3bc]=_0x49eb75;else{if(function(_0x47164b){return _0x47164b in F;}(_0x13d3bc)){const _0x29c3ac=_0x49eb75['split']('\x20');F[_0x13d3bc]['forEach'](([_0x3f30a1,_0x21b084])=>{for(const _0x20db2f of _0x29c3ac){('function'==typeof _0x3f30a1&&_0x3f30a1(_0x20db2f)||_0x3f30a1===_0x20db2f)&&(_0x3d08cf[_0x13d3bc]=[..._0x3d08cf[_0x13d3bc]||[],[_0x3f30a1,_0x21b084]]);}});}}}}),{'spanStyles':_0x3eb274,'stylesToBeHtmlElements':_0x3d08cf};}(_0x56532b,_0x5f5944);!function(_0x23b16c,_0x4c6ebc,_0x46e3e1){for(const _0x86296b in _0x46e3e1){_0x46e3e1[_0x86296b]['forEach'](([,_0x2965a5])=>{const _0x368ee3=_0x4c6ebc['createElement'](_0x2965a5,[],_0x23b16c['getChildren']());_0x4c6ebc['insertChild'](0x0,_0x368ee3,_0x23b16c);}),_0x4c6ebc['removeStyle'](_0x86296b,_0x23b16c);}}(_0x56532b,_0x3051e6,_0x558e58),function(_0x510470,_0xa3b3a9,_0x399bf0){if(!Object['keys'](_0x399bf0)['length'])return;const _0x1190ca=_0xa3b3a9['createElement']('span',[],_0x510470['getChildren']());_0xa3b3a9['setStyle'](_0x399bf0,_0x1190ca),_0xa3b3a9['insertChild'](0x0,_0x1190ca,_0x510470),_0xa3b3a9['removeStyle'](Object['keys'](_0x399bf0),_0x510470);}(_0x56532b,_0x3051e6,_0x554c07);}class a extends _0x1da0fe{['execute'](_0x230ef8){const {body:_0xe9ddd}=_0x230ef8['_parsedData'],_0xa5de33=new _0x3c1403(_0xe9ddd['document']),_0x4c7d1b=_0xa5de33['createRangeIn'](_0xe9ddd),_0x173631=new _0x3c46e3(_0xa5de33['document']['stylesProcessor']),_0x4a6f31=[...new _0x2fb802(_0x173631)['blockElements'],'font'],_0xf17c28=_0x4c7d1b['getItems']();for(const _0x489be9 of _0xf17c28)_0x489be9['is']('element')&&_0x4a6f31['includes'](_0x489be9['name'])&&b(_0x489be9,_0xa5de33,g(_0x489be9));_0x230ef8['content']=_0xe9ddd;}['isActive'](_0x407464){return super['isActive'](_0x407464)||p(_0x407464);}}class s extends _0x37e33d{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'PasteFromOfficeEnhancedPropagator';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return['PasteFromOffice'];}['init'](){const _0x1bd380=this['editor'],_0x330e9d=_0x1bd380['plugins']['get']('ClipboardPipeline'),_0x107833=_0x1bd380['editing']['view']['document'],_0x5ce4e4=new a(_0x107833);_0x330e9d['on']('inputTransformation',(_0x11baa6,_0x308ded)=>{const _0x4bc05b=_0x308ded['dataTransfer']['getData']('text/html');_0x5ce4e4['isActive'](_0x4bc05b)&&(_0x308ded['_parsedData']||(_0x308ded['_parsedData']=_0x442c4d(_0x4bc05b,_0x107833['stylesProcessor'])),_0x5ce4e4['execute'](_0x308ded));},{'priority':_0x59fde5['get']('high')+0xa}),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x31b7ec=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x574f25;for(const _0x1d861c in _0x31b7ec){const _0x52a8d2=_0x1d861c,_0x5cbb1c=_0x31b7ec[_0x52a8d2];if('pasteFromOfficeEnhancedLicenseKeyValid'==_0x5cbb1c||'pasteFromOfficeEnhancedLicenseKeyInvalid'==_0x5cbb1c||'pasteFromOfficeEnhancedLicenseKeyExpired'==_0x5cbb1c||'pasteFromOfficeEnhancedLicenseKeyDomainLimit'==_0x5cbb1c||'pasteFromOfficeEnhancedLicenseKeyNotAllowed'==_0x5cbb1c||'pasteFromOfficeEnhancedLicenseKeyEvaluationLimit'==_0x5cbb1c||'pasteFromOfficeEnhancedLicenseKeyUsageLimit'==_0x5cbb1c){delete _0x31b7ec[_0x52a8d2],_0x574f25=_0x5cbb1c,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'pasteFromOfficeEnhancedLicenseKeyInvalid'==_0x574f25&&_0x31b7ec['_showLicenseError']('invalid'),'pasteFromOfficeEnhancedLicenseKeyExpired'==_0x574f25&&_0x31b7ec['_showLicenseError']('expired'),'pasteFromOfficeEnhancedLicenseKeyDomainLimit'==_0x574f25&&_0x31b7ec['_showLicenseError']('domainLimit'),'pasteFromOfficeEnhancedLicenseKeyNotAllowed'==_0x574f25&&_0x31b7ec['_showLicenseError']('featureNotAllowed','PasteFromOfficeEnhanced'),'pasteFromOfficeEnhancedLicenseKeyEvaluationLimit'==_0x574f25&&_0x31b7ec['_showLicenseError']('evaluationLimit'),'pasteFromOfficeEnhancedLicenseKeyUsageLimit'==_0x574f25&&_0x31b7ec['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class K extends _0x37e33d{static get['pluginName'](){return'PasteFromOfficeEnhanced';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return['PasteFromOffice',i,s];}}export{K as PasteFromOfficeEnhanced};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-paste-from-office-enhanced",
|
|
3
|
-
"version": "47.6.
|
|
3
|
+
"version": "47.6.2",
|
|
4
4
|
"description": "Enhanced paste from Office feature for CKEditor 5.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ckeditor",
|
|
@@ -22,11 +22,11 @@
|
|
|
22
22
|
"type": "module",
|
|
23
23
|
"main": "src/index.js",
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@ckeditor/ckeditor5-core": "47.6.
|
|
26
|
-
"@ckeditor/ckeditor5-engine": "47.6.
|
|
27
|
-
"@ckeditor/ckeditor5-paste-from-office": "47.6.
|
|
28
|
-
"@ckeditor/ckeditor5-utils": "47.6.
|
|
29
|
-
"ckeditor5": "47.6.
|
|
25
|
+
"@ckeditor/ckeditor5-core": "47.6.2",
|
|
26
|
+
"@ckeditor/ckeditor5-engine": "47.6.2",
|
|
27
|
+
"@ckeditor/ckeditor5-paste-from-office": "47.6.2",
|
|
28
|
+
"@ckeditor/ckeditor5-utils": "47.6.2",
|
|
29
|
+
"ckeditor5": "47.6.2"
|
|
30
30
|
},
|
|
31
31
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
32
32
|
"author": "CKSource (http://cksource.com/)",
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x3189(){var _0x496294=['518601GtsrmR','10SdkowX','3360198oQnEay','4871112EpSpmI','475051vlFVbU','5hTZwTJ','7WmfjfB','2gesiYH','13424367NyZwdY','4668741NWLFcj','2029604bQWPlZ'];_0x3189=function(){return _0x496294;};return _0x3189();}(function(_0x4e0d1b,_0x233d22){var _0x51725c=_0x2e8d,_0x17abb3=_0x4e0d1b();while(!![]){try{var _0x5d23ab=parseInt(_0x51725c(0xf7))/0x1*(parseInt(_0x51725c(0xef))/0x2)+-parseInt(_0x51725c(0xf3))/0x3+parseInt(_0x51725c(0xf2))/0x4*(parseInt(_0x51725c(0xf8))/0x5)+-parseInt(_0x51725c(0xf5))/0x6*(parseInt(_0x51725c(0xf9))/0x7)+-parseInt(_0x51725c(0xf6))/0x8+-parseInt(_0x51725c(0xf1))/0x9+parseInt(_0x51725c(0xf4))/0xa*(parseInt(_0x51725c(0xf0))/0xb);if(_0x5d23ab===_0x233d22)break;else _0x17abb3['push'](_0x17abb3['shift']());}catch(_0x3ab306){_0x17abb3['push'](_0x17abb3['shift']());}}}(_0x3189,0x53927));export{PasteFromOfficeEnhanced}from'./pastefromofficeenhanced.js';function _0x2e8d(_0x5690d9,_0x3cafd2){var _0x31896c=_0x3189();return _0x2e8d=function(_0x2e8d6b,_0x54f881){_0x2e8d6b=_0x2e8d6b-0xef;var _0x1f70d6=_0x31896c[_0x2e8d6b];return _0x1f70d6;},_0x2e8d(_0x5690d9,_0x3cafd2);}import'./augmentation.js';
|
package/src/legacyerrors.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x8cbc1b,_0x1eeb2e){var _0x10ea29=_0x4837,_0x3e7cd1=_0x8cbc1b();while(!![]){try{var _0x52affe=-parseInt(_0x10ea29(0x151))/0x1+-parseInt(_0x10ea29(0x14f))/0x2*(parseInt(_0x10ea29(0x152))/0x3)+-parseInt(_0x10ea29(0x155))/0x4+parseInt(_0x10ea29(0x154))/0x5*(parseInt(_0x10ea29(0x150))/0x6)+parseInt(_0x10ea29(0x14c))/0x7+parseInt(_0x10ea29(0x14e))/0x8+-parseInt(_0x10ea29(0x14d))/0x9*(parseInt(_0x10ea29(0x153))/0xa);if(_0x52affe===_0x1eeb2e)break;else _0x3e7cd1['push'](_0x3e7cd1['shift']());}catch(_0x58c1ce){_0x3e7cd1['push'](_0x3e7cd1['shift']());}}}(_0x2337,0x35da2));function _0x2337(){var _0x59ba2b=['21HYDJSU','270fxWNhI','1333305gQiBAA','963648ynsdRP','1711010smOFfp','26010SWNIPh','2384616OpbxUY','62584auVdHE','6yJBOXf','50604PteyjB'];_0x2337=function(){return _0x59ba2b;};return _0x2337();}function _0x4837(_0x24c133,_0x87ea8c){var _0x23378d=_0x2337();return _0x4837=function(_0x4837f7,_0x285ca1){_0x4837f7=_0x4837f7-0x14c;var _0x2221e2=_0x23378d[_0x4837f7];return _0x2221e2;},_0x4837(_0x24c133,_0x87ea8c);}import{CKEditorError as _0x3bce4e}from'ckeditor5/src/utils.js';
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x341601=_0x2a03;function _0x2fd0(){const _0x2980f0=['465969WJznLD','5631564stVnsj','type','from','120CnEjzg','4422730GgPfHk','44fcxCGM','84GVQRWG','129616oDFMAY','execute','values','item','239148YmKMhm','elementStart','hasStyle','document','createRangeIn','40779pjWGCW','_parsedData','setStyle','content','16IUCkEU','843140sOszDS','isActive','2xxLxYw','size'];_0x2fd0=function(){return _0x2980f0;};return _0x2fd0();}function _0x2a03(_0x5cd7c4,_0x225cdc){const _0x2fd0ff=_0x2fd0();return _0x2a03=function(_0x2a0367,_0x238505){_0x2a0367=_0x2a0367-0xd8;let _0x5f080a=_0x2fd0ff[_0x2a0367];return _0x5f080a;},_0x2a03(_0x5cd7c4,_0x225cdc);}(function(_0x1ff508,_0x3499da){const _0x1c70e1=_0x2a03,_0x53f516=_0x1ff508();while(!![]){try{const _0x4b196a=-parseInt(_0x1c70e1(0xea))/0x1*(parseInt(_0x1c70e1(0xe0))/0x2)+parseInt(_0x1c70e1(0xd9))/0x3*(-parseInt(_0x1c70e1(0xe6))/0x4)+-parseInt(_0x1c70e1(0xde))/0x5+parseInt(_0x1c70e1(0xe9))/0x6*(-parseInt(_0x1c70e1(0xe2))/0x7)+-parseInt(_0x1c70e1(0xdd))/0x8*(parseInt(_0x1c70e1(0xee))/0x9)+parseInt(_0x1c70e1(0xe7))/0xa+parseInt(_0x1c70e1(0xe8))/0xb*(parseInt(_0x1c70e1(0xe3))/0xc);if(_0x4b196a===_0x3499da)break;else _0x53f516['push'](_0x53f516['shift']());}catch(_0x40066f){_0x53f516['push'](_0x53f516['shift']());}}}(_0x2fd0,0x99679));import{ViewUpcastWriter as _0x168068}from'ckeditor5/src/engine.js';import{PasteFromOfficeMSWordNormalizer as _0x57e43a}from'@ckeditor/ckeditor5-paste-from-office';import{isMSExcelContent as _0x2acff8}from'../../utils.js';import{extractStyles as _0x290673,expandStyles as _0x7ebce9,getMatchingStyles as _0x281a12,flattenStyleDefinitions as _0x53ea97}from'./utils.js';export class MSOfficeStylesInliner extends _0x57e43a{[_0x341601(0xeb)](_0x278f9c){const _0x87b087=_0x341601,{body:_0x38fef5,styles:_0xf09384}=_0x278f9c[_0x87b087(0xda)],_0x5d7ba8=new _0x168068(_0x38fef5[_0x87b087(0xf1)]),_0x436212=_0x5d7ba8[_0x87b087(0xd8)](_0x38fef5),_0x3b071a=_0x290673(_0xf09384),_0x3a81fe=_0x7ebce9(_0x3b071a);for(const _0x43be9c of _0x436212){if(_0x87b087(0xef)!==_0x43be9c[_0x87b087(0xe4)])continue;const _0xcb9b27=_0x281a12(_0x43be9c[_0x87b087(0xed)],_0x3a81fe);if(_0xcb9b27[_0x87b087(0xe1)]){const _0x566bd0=_0x53ea97(Array[_0x87b087(0xe5)](_0xcb9b27[_0x87b087(0xec)]()));for(const _0x4a995e in _0x566bd0){const _0x5cca97=_0x43be9c[_0x87b087(0xed)];_0x5cca97[_0x87b087(0xf0)](_0x4a995e)||_0x5d7ba8[_0x87b087(0xdb)](_0x4a995e,_0x566bd0[_0x4a995e],_0x5cca97);}}}_0x278f9c[_0x87b087(0xdc)]=_0x38fef5;}[_0x341601(0xdf)](_0x3256f5){const _0x5555d5=_0x341601;return super[_0x5555d5(0xdf)](_0x3256f5)||_0x2acff8(_0x3256f5);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x5aa979,_0x1458e1){const _0xf3268b=_0x1ede,_0x5f330e=_0x5aa979();while(!![]){try{const _0x20e76d=-parseInt(_0xf3268b(0x84))/0x1+parseInt(_0xf3268b(0x8f))/0x2*(parseInt(_0xf3268b(0x8d))/0x3)+parseInt(_0xf3268b(0x7c))/0x4+-parseInt(_0xf3268b(0x85))/0x5+-parseInt(_0xf3268b(0x7d))/0x6+parseInt(_0xf3268b(0x93))/0x7+parseInt(_0xf3268b(0x87))/0x8*(parseInt(_0xf3268b(0x8b))/0x9);if(_0x20e76d===_0x1458e1)break;else _0x5f330e['push'](_0x5f330e['shift']());}catch(_0x205192){_0x5f330e['push'](_0x5f330e['shift']());}}}(_0x52c6,0x8c528));const S=/^(?<tagName>(?!\.)[\w-]+)?(\.(?<className>[\w-]+))?$/i;export function getMatchingStyles(_0x4d8659,_0x18f98c){const _0x725e74=_0x1ede,_0x412e8f=new Map();for(const [_0xe6f00f,_0x4a43f9]of _0x18f98c){if(!_0xe6f00f[_0x725e74(0x81)]&&!_0xe6f00f[_0x725e74(0x82)])continue;const _0x1aca01=!_0xe6f00f[_0x725e74(0x81)]||_0x4d8659[_0x725e74(0x94)]===_0xe6f00f[_0x725e74(0x81)],_0x125d1e=!_0xe6f00f[_0x725e74(0x82)]||_0x4d8659[_0x725e74(0x96)](_0xe6f00f[_0x725e74(0x82)]);_0x1aca01&&_0x125d1e&&_0x412e8f[_0x725e74(0x91)](_0xe6f00f,_0x4a43f9);}return _0x412e8f;}export function extractStyles(_0x38d639){const _0x587497=_0x1ede,_0x18c64d={};for(const _0x578572 of _0x38d639)for(const _0x46c1c1 of _0x578572[_0x587497(0x8a)])if(_0x46c1c1 instanceof CSSStyleRule){const _0x22e267=parseCSSStyleDeclaration(_0x46c1c1[_0x587497(0x90)]);_0x18c64d[_0x46c1c1[_0x587497(0x88)]]=Object[_0x587497(0x92)]({},_0x18c64d[_0x46c1c1[_0x587497(0x88)]]||{},_0x22e267);}return _0x18c64d;}export function expandStyles(_0x521ccf){const _0x1d0132=_0x1ede,_0x39820a=new Map();for(const _0x6bf049 in _0x521ccf){const _0x69259a=parseCSSSelector(_0x6bf049),_0xc6b354=_0x521ccf[_0x6bf049];for(const _0x25aa99 of _0x69259a)_0x39820a[_0x1d0132(0x91)](_0x25aa99,_0xc6b354);}return _0x39820a;}export function parseCSSStyleDeclaration(_0x2f6bc3){const _0x328574=_0x1ede,_0x248c79={};for(let _0x35c395=0x0;_0x35c395<_0x2f6bc3[_0x328574(0x7e)];_0x35c395++){const _0x3ec614=_0x2f6bc3[_0x35c395],_0x15ef04=_0x2f6bc3[_0x328574(0x8c)](_0x3ec614);_0x328574(0x95)!==_0x15ef04&&(_0x248c79[_0x3ec614]=_0x15ef04);}return _0x248c79;}export function parseCSSSelector(_0x19cc2a){const _0x453ec1=_0x1ede,_0x552af4=_0x19cc2a[_0x453ec1(0x83)](',')[_0x453ec1(0x89)](_0x2d39e3=>_0x2d39e3[_0x453ec1(0x7f)]()),_0x2bc33d=[];for(const _0x8bb845 of _0x552af4){const _0x3d512c=S[_0x453ec1(0x80)](_0x8bb845);_0x3d512c&&_0x2bc33d[_0x453ec1(0x8e)](_0x3d512c[_0x453ec1(0x86)]);}return _0x2bc33d;}function _0x52c6(){const _0x2cf255=['map','cssRules','9RoUlbU','getPropertyValue','15nMtlxh','push','54418hYozmW','style','set','assign','4437818fnNcNG','name','initial','hasClass','475304mqrkmD','5908338CeZbGv','length','trim','exec','tagName','className','split','874795UASHWE','3907565OBKFHB','groups','18615568NkRYLT','selectorText'];_0x52c6=function(){return _0x2cf255;};return _0x52c6();}function _0x1ede(_0x5852b5,_0x333bd0){const _0x52c68e=_0x52c6();return _0x1ede=function(_0x1edee0,_0x5be371){_0x1edee0=_0x1edee0-0x7c;let _0x35c969=_0x52c68e[_0x1edee0];return _0x35c969;},_0x1ede(_0x5852b5,_0x333bd0);}export function flattenStyleDefinitions(_0x8891f0){const _0x594b23=_0x1ede,_0x4421d2={};for(const _0x5ef611 of _0x8891f0)Object[_0x594b23(0x92)](_0x4421d2,_0x5ef611);return _0x4421d2;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x292a(){const _0xde916c=['_parsedData','font','includes','3314210DdSaPp','6462346GgZMOI','6364520XxPisu','getItems','9eAtEwH','createRangeIn','244OipIqc','isActive','element','7ubAVdj','1683912CjcnUT','35995pcxidt','content','stylesProcessor','document','2SnDIQP','execute','50794PqzbCA','blockElements','839109UYQYhm','name'];_0x292a=function(){return _0xde916c;};return _0x292a();}const _0x2a46e3=_0x4cbd;(function(_0x2eb85e,_0x5dcb3c){const _0x872a0a=_0x4cbd,_0x3ac924=_0x2eb85e();while(!![]){try{const _0xd4a9a1=-parseInt(_0x872a0a(0x14f))/0x1+parseInt(_0x872a0a(0x14d))/0x2*(-parseInt(_0x872a0a(0x151))/0x3)+-parseInt(_0x872a0a(0x144))/0x4*(-parseInt(_0x872a0a(0x149))/0x5)+parseInt(_0x872a0a(0x148))/0x6+parseInt(_0x872a0a(0x147))/0x7*(-parseInt(_0x872a0a(0x140))/0x8)+parseInt(_0x872a0a(0x142))/0x9*(parseInt(_0x872a0a(0x156))/0xa)+parseInt(_0x872a0a(0x157))/0xb;if(_0xd4a9a1===_0x5dcb3c)break;else _0x3ac924['push'](_0x3ac924['shift']());}catch(_0x58bce1){_0x3ac924['push'](_0x3ac924['shift']());}}}(_0x292a,0x7d27c));function _0x4cbd(_0x18a35b,_0x549649){const _0x292a46=_0x292a();return _0x4cbd=function(_0x4cbddf,_0x300bc3){_0x4cbddf=_0x4cbddf-0x140;let _0x42d87e=_0x292a46[_0x4cbddf];return _0x42d87e;},_0x4cbd(_0x18a35b,_0x549649);}import{ViewUpcastWriter as _0x23dc47,ViewDomConverter as _0x7a9d58,ViewDocument as _0x49cb02}from'ckeditor5/src/engine.js';import{PasteFromOfficeMSWordNormalizer as _0x5adffd}from'@ckeditor/ckeditor5-paste-from-office';import{isMSExcelContent as _0xb71093}from'../../utils.js';import{getStylePropertyNamesToPropagate as _0x434cc4,propagateStyleProperties as _0x2e8d5a}from'./utils.js';export class MSOfficeInlineStylePropagator extends _0x5adffd{[_0x2a46e3(0x14e)](_0x15c59a){const _0x5468b5=_0x2a46e3,{body:_0xd2198}=_0x15c59a[_0x5468b5(0x153)],_0x3aa164=new _0x23dc47(_0xd2198[_0x5468b5(0x14c)]),_0x4e50bd=_0x3aa164[_0x5468b5(0x143)](_0xd2198),_0x567e6a=new _0x49cb02(_0x3aa164[_0x5468b5(0x14c)][_0x5468b5(0x14b)]),_0x557c5f=[...new _0x7a9d58(_0x567e6a)[_0x5468b5(0x150)],_0x5468b5(0x154)],_0x22517e=_0x4e50bd[_0x5468b5(0x141)]();for(const _0x12cc95 of _0x22517e)if(_0x12cc95['is'](_0x5468b5(0x146))&&_0x557c5f[_0x5468b5(0x155)](_0x12cc95[_0x5468b5(0x152)])){const _0x4999cc=_0x434cc4(_0x12cc95);_0x2e8d5a(_0x12cc95,_0x3aa164,_0x4999cc);}_0x15c59a[_0x5468b5(0x14a)]=_0xd2198;}[_0x2a46e3(0x145)](_0x7a7d7b){const _0x4a6d8e=_0x2a46e3;return super[_0x4a6d8e(0x145)](_0x7a7d7b)||_0xb71093(_0x7a7d7b);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x236233=_0x27a8;(function(_0x363acd,_0x3573cc){const _0xf906e9=_0x27a8,_0x3aa5b3=_0x363acd();while(!![]){try{const _0x47bae4=parseInt(_0xf906e9(0xc6))/0x1*(parseInt(_0xf906e9(0xd9))/0x2)+parseInt(_0xf906e9(0xd3))/0x3*(-parseInt(_0xf906e9(0xc3))/0x4)+parseInt(_0xf906e9(0xe5))/0x5*(-parseInt(_0xf906e9(0xd8))/0x6)+-parseInt(_0xf906e9(0xe6))/0x7*(-parseInt(_0xf906e9(0xcd))/0x8)+parseInt(_0xf906e9(0xe9))/0x9*(-parseInt(_0xf906e9(0xd4))/0xa)+parseInt(_0xf906e9(0xc1))/0xb*(-parseInt(_0xf906e9(0xd7))/0xc)+-parseInt(_0xf906e9(0xe8))/0xd*(-parseInt(_0xf906e9(0xcb))/0xe);if(_0x47bae4===_0x3573cc)break;else _0x3aa5b3['push'](_0x3aa5b3['shift']());}catch(_0x452d25){_0x3aa5b3['push'](_0x3aa5b3['shift']());}}}(_0xe4c9,0xba690));export const CSS_PROPERTIES_TO_PROPAGATE=[_0x236233(0xec),_0x236233(0xd2),_0x236233(0xcc),_0x236233(0xc9),_0x236233(0xe2),_0x236233(0xce),_0x236233(0xe1),_0x236233(0xc2)];export const CSS_PROPERTIES_TO_BE_SPANS=[_0x236233(0xec),_0x236233(0xd2),_0x236233(0xcc)];export const CSS_PROPERTIES_TO_BE_HTML_ELEMENTS={'font-style':[[_0x236233(0xd0),'i']],'font-weight':[[_0x236233(0xdf),_0x236233(0xc5)],[_0x236233(0xed),_0x236233(0xc5)],[_0x236233(0xe0),_0x236233(0xc5)],[_0x23d298=>Number(_0x23d298)>=0x258,_0x236233(0xc5)]],'text-decoration':[[_0x236233(0xd5),'u'],[_0x236233(0xe4),'s']],'text-decoration-line':[[_0x236233(0xd5),'u'],[_0x236233(0xe4),'s']],'vertical-align':[[_0x236233(0xcf),_0x236233(0xcf)],[_0x236233(0xca),_0x236233(0xf0)]]};export function isPropertyToBePropagated(_0x7573db){const _0x542e98=_0x236233;return CSS_PROPERTIES_TO_PROPAGATE[_0x542e98(0xd1)](_0x7573db);}export function isPropertyToBePropagatedAsSpan(_0xfce0a8){const _0x2aa63f=_0x236233;return CSS_PROPERTIES_TO_BE_SPANS[_0x2aa63f(0xd1)](_0xfce0a8);}function _0x27a8(_0x22cff2,_0x3bd65a){const _0xe4c9a9=_0xe4c9();return _0x27a8=function(_0x27a89f,_0x273d89){_0x27a89f=_0x27a89f-0xc1;let _0x3014b3=_0xe4c9a9[_0x27a89f];return _0x3014b3;},_0x27a8(_0x22cff2,_0x3bd65a);}export function isPropertyToBePropagatedAsHTMLElement(_0xbfd71c){return _0xbfd71c in CSS_PROPERTIES_TO_BE_HTML_ELEMENTS;}export function getStylePropertyNamesToPropagate(_0x44e175){const _0x49ae6c=_0x236233;return Array[_0x49ae6c(0xc7)](_0x44e175[_0x49ae6c(0xe7)]())[_0x49ae6c(0xdd)](isPropertyToBePropagated);}export function propagateStyleProperties(_0x27da5a,_0x23ffce,_0x1c7a04){const {spanStyles:_0x596da7,stylesToBeHtmlElements:_0x50b522}=getStylesToPropagate(_0x27da5a,_0x1c7a04);propagateStylesAsHTMLElements(_0x27da5a,_0x23ffce,_0x50b522),propagateStylesAsSpan(_0x27da5a,_0x23ffce,_0x596da7);}export function propagateStylesAsHTMLElements(_0x6c92a7,_0xd9bb39,_0x1d5758){const _0x2cc180=_0x236233;for(const _0x281157 in _0x1d5758){_0x1d5758[_0x281157][_0x2cc180(0xea)](([,_0x4de49b])=>{const _0x5bff89=_0x2cc180,_0x27a308=_0xd9bb39[_0x5bff89(0xc8)](_0x4de49b,[],_0x6c92a7[_0x5bff89(0xe3)]());_0xd9bb39[_0x5bff89(0xd6)](0x0,_0x27a308,_0x6c92a7);}),_0xd9bb39[_0x2cc180(0xef)](_0x281157,_0x6c92a7);}}export function propagateStylesAsSpan(_0xd51370,_0x356e79,_0x3337d4){const _0xfb9d14=_0x236233;if(!Object[_0xfb9d14(0xeb)](_0x3337d4)[_0xfb9d14(0xda)])return;const _0x6a838c=_0x356e79[_0xfb9d14(0xc8)](_0xfb9d14(0xc4),[],_0xd51370[_0xfb9d14(0xe3)]());_0x356e79[_0xfb9d14(0xdb)](_0x3337d4,_0x6a838c),_0x356e79[_0xfb9d14(0xd6)](0x0,_0x6a838c,_0xd51370),_0x356e79[_0xfb9d14(0xef)](Object[_0xfb9d14(0xeb)](_0x3337d4),_0xd51370);}export function getStylesToPropagate(_0x4109f0,_0x221e88){const _0x4cbcf3=_0x236233,_0x4fd5e6={},_0x4e3166={};return _0x221e88[_0x4cbcf3(0xea)](_0xca209f=>{const _0x135df1=_0x4cbcf3,_0x5df64d=_0x4109f0[_0x135df1(0xee)](_0xca209f);if(_0x5df64d){if(isPropertyToBePropagatedAsSpan(_0xca209f))_0x4fd5e6[_0xca209f]=_0x5df64d;else{if(isPropertyToBePropagatedAsHTMLElement(_0xca209f)){const _0x13c253=_0x5df64d[_0x135df1(0xde)]('\x20');CSS_PROPERTIES_TO_BE_HTML_ELEMENTS[_0xca209f][_0x135df1(0xea)](([_0x53e770,_0x15b5ab])=>{const _0x4d9fec=_0x135df1;for(const _0x5b103b of _0x13c253){(_0x4d9fec(0xdc)==typeof _0x53e770&&_0x53e770(_0x5b103b)||_0x53e770===_0x5b103b)&&(_0x4e3166[_0xca209f]=[..._0x4e3166[_0xca209f]||[],[_0x53e770,_0x15b5ab]]);}});}}}}),{'spanStyles':_0x4fd5e6,'stylesToBeHtmlElements':_0x4e3166};}function _0xe4c9(){const _0x3dc2fe=['bolder','font-style','text-decoration-line','getChildren','line-through','41620qOeznz','21oXCLvF','getStyleNames','676oYlGpz','4189221JiHsMB','forEach','keys','color','bold','getStyle','removeStyle','sup','187mUugbZ','vertical-align','4921156lzWXrP','span','strong','11onwXXC','from','createElement','text-decoration','super','608006sNHmea','font-size','875496IfLmLh','font-weight','sub','italic','includes','font-family','3XdnLsl','10DrJYiV','underline','insertChild','971268UhWTkV','144yBcFGi','263348zAWqEt','length','setStyle','function','filter','split','medium'];_0xe4c9=function(){return _0x3dc2fe;};return _0xe4c9();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
var _0x220aa4=_0x1931;(function(_0x588b2e,_0x31772f){var _0x2fdb26=_0x1931,_0x10e697=_0x588b2e();while(!![]){try{var _0x34f86b=parseInt(_0x2fdb26(0x7e))/0x1+parseInt(_0x2fdb26(0x85))/0x2+parseInt(_0x2fdb26(0x80))/0x3+-parseInt(_0x2fdb26(0x84))/0x4+-parseInt(_0x2fdb26(0x83))/0x5+parseInt(_0x2fdb26(0x7f))/0x6+-parseInt(_0x2fdb26(0x7b))/0x7;if(_0x34f86b===_0x31772f)break;else _0x10e697['push'](_0x10e697['shift']());}catch(_0x3149b6){_0x10e697['push'](_0x10e697['shift']());}}}(_0x3871,0x47ed3));import{Plugin as _0x2feba9}from'ckeditor5/src/core.js';function _0x3871(){var _0x3a72bd=['2447310EmSldV','1532145NMfdrY','isPremiumPlugin','PasteFromOffice','2456950PAiSaz','1028240euUTiK','791594nMNiBj','isOfficialPlugin','PasteFromOfficeEnhanced','3652334FlbXhO','pluginName','requires','250426nqHomC'];_0x3871=function(){return _0x3a72bd;};return _0x3871();}import{PasteFromOfficeEnhancedInliner as _0x5a18f9}from'./pastefromofficeenhancedinliner.js';function _0x1931(_0x498ea9,_0x5b705b){var _0x387176=_0x3871();return _0x1931=function(_0x193177,_0x22f825){_0x193177=_0x193177-0x7b;var _0x4a1ccf=_0x387176[_0x193177];return _0x4a1ccf;},_0x1931(_0x498ea9,_0x5b705b);}import{PasteFromOfficeEnhancedPropagator as _0x47df22}from'./pastefromofficeenhancedpropagator.js';export class PasteFromOfficeEnhanced extends _0x2feba9{static get[_0x220aa4(0x7c)](){var _0x516b7a=_0x220aa4;return _0x516b7a(0x87);}static get[_0x220aa4(0x86)](){return!0x0;}static get[_0x220aa4(0x81)](){return!0x0;}static get[_0x220aa4(0x7d)](){var _0x4e53c0=_0x220aa4;return[_0x4e53c0(0x82),_0x5a18f9,_0x47df22];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x1c820f=_0x2be6;(function(_0x34398b,_0x3f5082){const _0x1bfea9=_0x2be6,_0x49c4ad=_0x34398b();while(!![]){try{const _0x425e10=-parseInt(_0x1bfea9(0x1db))/0x1+-parseInt(_0x1bfea9(0x1d3))/0x2*(parseInt(_0x1bfea9(0x1c3))/0x3)+-parseInt(_0x1bfea9(0x1e0))/0x4*(parseInt(_0x1bfea9(0x1e3))/0x5)+parseInt(_0x1bfea9(0x1e6))/0x6+parseInt(_0x1bfea9(0x1de))/0x7+parseInt(_0x1bfea9(0x1cf))/0x8+parseInt(_0x1bfea9(0x1dc))/0x9*(parseInt(_0x1bfea9(0x1d5))/0xa);if(_0x425e10===_0x3f5082)break;else _0x49c4ad['push'](_0x49c4ad['shift']());}catch(_0x25f6e1){_0x49c4ad['push'](_0x49c4ad['shift']());}}}(_0x4224,0xeb6b7));import{Plugin as _0x3e2e7e}from'ckeditor5/src/core.js';import{parsePasteOfficeHtml as _0x3ea768}from'@ckeditor/ckeditor5-paste-from-office';import{priorities as _0x5b9be4,uid as _0x47e966}from'ckeditor5/src/utils.js';import{MSOfficeStylesInliner as _0x43ef7f}from'./normalizers/inliner/msofficestylesinliner.js';function _0x4224(){const _0x5749d1=['document','698906DqeRdD','view','40pAoejW','isOfficialPlugin','stylesProcessor','pluginName','isPremiumPlugin','join','1776783NzLbQT','3933108JAdNdn','inputTransformation','2498328zBcEOC','fromCharCode','716080fWHTyl','editor','execute','10unKKeg','get','high','6580470pmllNr','afterInit','requires','15llThRV','ClipboardPipeline','map','editing','_parsedData','PasteFromOffice','dataTransfer','getData','PasteFromOfficeEnhancedInliner','isActive','plugins','init','13157360TDANJo','text/html','href'];_0x4224=function(){return _0x5749d1;};return _0x4224();}function _0x2be6(_0x4df5b6,_0x3bc576){const _0x42249b=_0x4224();return _0x2be6=function(_0x2be6cb,_0x1efda2){_0x2be6cb=_0x2be6cb-0x1c1;let _0x2c2668=_0x42249b[_0x2be6cb];return _0x2c2668;},_0x2be6(_0x4df5b6,_0x3bc576);}export class PasteFromOfficeEnhancedInliner extends _0x3e2e7e{static get[_0x1c820f(0x1d8)](){const _0x32bffe=_0x1c820f;return _0x32bffe(0x1cb);}static get[_0x1c820f(0x1d6)](){return!0x0;}static get[_0x1c820f(0x1d9)](){return!0x0;}static get[_0x1c820f(0x1c2)](){const _0x5fde9f=_0x1c820f;return[_0x5fde9f(0x1c8)];}[_0x1c820f(0x1ce)](){const _0x10f407=_0x1c820f,_0x1b8f29=this[_0x10f407(0x1e1)],_0xa7bfda=_0x1b8f29[_0x10f407(0x1cd)][_0x10f407(0x1e4)](_0x10f407(0x1c4)),_0x58222e=_0x1b8f29[_0x10f407(0x1c6)][_0x10f407(0x1d4)][_0x10f407(0x1d2)],_0x221abe=new _0x43ef7f(_0x58222e);_0xa7bfda['on'](_0x10f407(0x1dd),(_0x5ceb38,_0xffecdd)=>{const _0xa51fba=_0x10f407,_0x21922f=_0xffecdd[_0xa51fba(0x1c9)][_0xa51fba(0x1ca)](_0xa51fba(0x1d0));_0x221abe[_0xa51fba(0x1cc)](_0x21922f)&&(_0xffecdd[_0xa51fba(0x1c7)]||(_0xffecdd[_0xa51fba(0x1c7)]=_0x3ea768(_0x21922f,_0x58222e[_0xa51fba(0x1d7)])),_0x221abe[_0xa51fba(0x1e2)](_0xffecdd));},{'priority':_0x5b9be4[_0x10f407(0x1e4)](_0x10f407(0x1e5))+0xb});}[_0x1c820f(0x1c1)](){!async function(_0x1ce2ed){const _0x4817b0=_0x7ca63c([0x73,0x47,0x36,0x35,0x43,0x72,0x6b,0x31,0x63,0x64,0x32,0x69,0x67,0x4c,0x4e,0x37,0x7a,0x49,0x45,0x41,0x59,0x6a,0x75,0x39,0x4a,0x33,0x68,0x62,0x50,0x42,0x74,0x6e,0x46,0x4d,0x78,0x51,0x66,0x34,0x48,0x77,0x5a,0x61,0x6c,0x30,0x71,0x54,0x53,0x56,0x4b,0x79,0x44,0x6d,0x6f,0x52,0x76,0x55,0x58,0x65,0x70,0x57,0x4f,0x38]),_0x452e2d=0x7374585f,_0x3a0cfd=0x7373dc57^_0x452e2d,_0x4cba4d=window[_0x7ca63c([0x44,0x61,0x74,0x65])][_0x7ca63c([0x6e,0x6f,0x77])](),_0x2c3b07=_0x1ce2ed[_0x7ca63c([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x151cd4=new window[(_0x7ca63c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5e6c1e=>{_0x2c3b07[_0x7ca63c([0x6f,0x6e,0x63,0x65])](_0x7ca63c([0x72,0x65,0x61,0x64,0x79]),_0x5e6c1e);}),_0x3e701b={[_0x7ca63c([0x6b,0x74,0x79])]:_0x7ca63c([0x45,0x43]),[_0x7ca63c([0x75,0x73,0x65])]:_0x7ca63c([0x73,0x69,0x67]),[_0x7ca63c([0x63,0x72,0x76])]:_0x7ca63c([0x50,0x2d,0x32,0x35,0x36]),[_0x7ca63c([0x78])]:_0x7ca63c([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x7ca63c([0x79])]:_0x7ca63c([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x7ca63c([0x61,0x6c,0x67])]:_0x7ca63c([0x45,0x53,0x32,0x35,0x36])},_0x262a50=_0x2c3b07[_0x7ca63c([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x7ca63c([0x67,0x65,0x74])](_0x7ca63c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x2b9633(){let _0x38b4a0,_0x3888be=null,_0x3fa49d=null;try{if(_0x262a50==_0x7ca63c([0x47,0x50,0x4c]))return _0x7ca63c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x38b4a0=_0x45fffe(),!_0x38b4a0)return _0x7ca63c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x38b4a0[_0x7ca63c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x3fa49d=_0x332bd4(_0x38b4a0[_0x7ca63c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x38b4a0[_0x7ca63c([0x6a,0x74,0x69])])),await _0x4e18c2()?_0x2eeda1()?_0x248463()?_0x7ca63c([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3615b2()?(_0x38b4a0[_0x7ca63c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x7ca63c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3888be=_0x509fe0(_0x7ca63c([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x698582()):_0x7ca63c([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x7ca63c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x7ca63c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x7ca63c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x248463(){const _0x4fee49=[_0x7ca63c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x7ca63c([0x74,0x72,0x69,0x61,0x6c])][_0x7ca63c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x38b4a0[_0x7ca63c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x4cba4d/0x3e8:0xe10*_0x3a0cfd;return _0x38b4a0[_0x7ca63c([0x65,0x78,0x70])]<_0x4fee49;}function _0x2eeda1(){const _0x37335a=_0x38b4a0[_0x7ca63c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x37335a&&(!!_0x37335a[_0x7ca63c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x7ca63c([0x2a]))||(!!_0x37335a[_0x7ca63c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x7ca63c([0x50,0x4f,0x45]))||(!!_0x37335a[_0x7ca63c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x7ca63c([0x50,0x50]))||!(!_0x37335a[_0x7ca63c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x7ca63c([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))||!_0x16e135()))));}function _0x3615b2(){const _0x1999ac=_0x2be6,_0x27e2a3=_0x38b4a0[_0x7ca63c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x27e2a3||0x0==_0x27e2a3[_0x7ca63c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x43b020}=new URL(window[_0x7ca63c([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x1999ac(0x1d1)]);if(_0x27e2a3[_0x7ca63c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x43b020))return!0x0;const _0x10ab33=_0x43b020[_0x7ca63c([0x73,0x70,0x6c,0x69,0x74])](_0x7ca63c([0x2e]));return _0x27e2a3[_0x7ca63c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3c5ae3=>_0x3c5ae3[_0x7ca63c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x7ca63c([0x2a])))[_0x7ca63c([0x6d,0x61,0x70])](_0x1ca2ad=>_0x1ca2ad[_0x7ca63c([0x73,0x70,0x6c,0x69,0x74])](_0x7ca63c([0x2e])))[_0x7ca63c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x268a5d=>_0x268a5d[_0x7ca63c([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x10ab33[_0x7ca63c([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x7ca63c([0x6d,0x61,0x70])](_0x1146d0=>Array(_0x10ab33[_0x7ca63c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x1146d0[_0x7ca63c([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x7ca63c([0x66,0x69,0x6c,0x6c])](_0x1146d0[0x0]===_0x7ca63c([0x2a])?_0x7ca63c([0x2a]):'')[_0x7ca63c([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x1146d0))[_0x7ca63c([0x73,0x6f,0x6d,0x65])](_0x54d415=>_0x10ab33[_0x7ca63c([0x65,0x76,0x65,0x72,0x79])]((_0x45d1bc,_0x31dc9c)=>_0x54d415[_0x31dc9c]===_0x45d1bc||_0x54d415[_0x31dc9c]===_0x7ca63c([0x2a])));}function _0x698582(){return _0x3888be&&_0x3fa49d?new window[(_0x7ca63c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2ef4f5,_0xf15bc2)=>{_0x3888be[_0x7ca63c([0x74,0x68,0x65,0x6e])](_0x2ef4f5,_0xf15bc2),_0x3fa49d[_0x7ca63c([0x74,0x68,0x65,0x6e])](_0x5910e5=>{_0x5910e5!=_0x7ca63c([0x56,0x61,0x6c,0x69,0x64])&&_0x2ef4f5(_0x5910e5);},_0xf15bc2);}):_0x3888be||_0x3fa49d||_0x7ca63c([0x56,0x61,0x6c,0x69,0x64]);}}function _0x332bd4(_0xe5004f,_0x1a7840){return new window[(_0x7ca63c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5c6710=>{if(_0x1636b0())return _0x5c6710(_0x7ca63c([0x56,0x61,0x6c,0x69,0x64]));_0x2e08de(),_0x2c3b07[_0x7ca63c([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x7ca63c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4bb72f=!0x1;const _0x321dd4=_0x47e966();function _0x14f5c9(_0x296dde){return!!_0x296dde&&(typeof _0x296dde===_0x7ca63c([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x296dde===_0x7ca63c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x296dde[_0x7ca63c([0x74,0x68,0x65,0x6e])]===_0x7ca63c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x296dde[_0x7ca63c([0x63,0x61,0x74,0x63,0x68])]===_0x7ca63c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3cebab(_0x45f7b2){_0x51f20e(_0x45f7b2)[_0x7ca63c([0x74,0x68,0x65,0x6e])](_0x33eb7a=>{if(!_0x33eb7a||_0x33eb7a[_0x7ca63c([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x7ca63c([0x6f,0x6b]))return _0x7ca63c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x36ae9a(_0x37aa9e(_0x321dd4+_0x1a7840))!=_0x33eb7a[_0x7ca63c([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x7ca63c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x7ca63c([0x56,0x61,0x6c,0x69,0x64]);})[_0x7ca63c([0x74,0x68,0x65,0x6e])](_0x23ae86=>(_0x5cd441(),_0x23ae86),()=>{const _0x3e1ebd=_0x20869b();return null==_0x3e1ebd?(_0x5cd441(),_0x7ca63c([0x56,0x61,0x6c,0x69,0x64])):_0x7ca63c(_0x4cba4d-_0x3e1ebd>(0x5778dc5f^_0x452e2d)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x7ca63c([0x74,0x68,0x65,0x6e])](_0x5c6710)[_0x7ca63c([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5c6710(_0x7ca63c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x7257f4=0x7342b6df^_0x452e2d;function _0x5cd441(){const _0x2e389a=_0x7ca63c([0x6c,0x6c,0x63,0x74,0x2d])+_0x36ae9a(_0x37aa9e(_0xe5004f)),_0x4f1015=_0x4e5982(_0x36ae9a(window[_0x7ca63c([0x4d,0x61,0x74,0x68])][_0x7ca63c([0x63,0x65,0x69,0x6c])](_0x4cba4d/_0x7257f4)));window[_0x7ca63c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x7ca63c([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2e389a,_0x4f1015);}function _0x20869b(){const _0x5c39b3=_0x7ca63c([0x6c,0x6c,0x63,0x74,0x2d])+_0x36ae9a(_0x37aa9e(_0xe5004f)),_0x1de3b6=window[_0x7ca63c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x7ca63c([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5c39b3);return _0x1de3b6?window[_0x7ca63c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4e5982(_0x1de3b6),0x10)*_0x7257f4:null;}function _0x51f20e(_0x2b7b32){return new window[(_0x7ca63c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4dddaa,_0x5a6212)=>{_0x2b7b32[_0x7ca63c([0x74,0x68,0x65,0x6e])](_0x4dddaa,_0x5a6212),window[_0x7ca63c([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5a6212,0x73758c9f^_0x452e2d);});}}_0x2c3b07[_0x7ca63c([0x6f,0x6e])](_0x7ca63c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x5e98bf,_0x5700b8)=>{if(_0x5700b8[0x0]!=_0xe5004f)return _0x5c6710(_0x7ca63c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x5700b8[0x1]={..._0x5700b8[0x1],[_0x7ca63c([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x321dd4};},{[_0x7ca63c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x7ca63c([0x68,0x69,0x67,0x68])}),_0x2c3b07[_0x7ca63c([0x6f,0x6e])](_0x7ca63c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x37490f=>{_0x14f5c9(_0x37490f[_0x7ca63c([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4bb72f=!0x0,_0x3cebab(_0x37490f[_0x7ca63c([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x7ca63c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x7ca63c([0x6c,0x6f,0x77])}),_0x151cd4[_0x7ca63c([0x74,0x68,0x65,0x6e])](()=>{_0x4bb72f||_0x5c6710(_0x7ca63c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1636b0(){return _0x2c3b07[_0x7ca63c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x7ca63c([0x76,0x69,0x65,0x77])][_0x7ca63c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x7ca63c([0x61,0x75,0x74,0x6f]);}function _0x2e08de(){_0x2c3b07[_0x7ca63c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x7ca63c([0x76,0x69,0x65,0x77])][_0x7ca63c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x7ca63c([0x61,0x75,0x74,0x6f]);}}function _0x509fe0(_0x3c8a32){const _0x2c01dc=[new window[(_0x7ca63c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x60d6b=>setTimeout(_0x60d6b,0x737d6693^_0x452e2d)),_0x151cd4[_0x7ca63c([0x74,0x68,0x65,0x6e])](()=>new window[(_0x7ca63c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x353407=>{let _0x35301b=0x0;_0x2c3b07[_0x7ca63c([0x6d,0x6f,0x64,0x65,0x6c])][_0x7ca63c([0x6f,0x6e])](_0x7ca63c([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3db85d,_0x28331c)=>{_0x28331c[0x0][_0x7ca63c([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x35301b++,_0x35301b==(0x73745db7^_0x452e2d)&&(_0x353407(),_0x3db85d[_0x7ca63c([0x6f,0x66,0x66])]());});}))];return window[_0x7ca63c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x7ca63c([0x72,0x61,0x63,0x65])](_0x2c01dc)[_0x7ca63c([0x74,0x68,0x65,0x6e])](()=>_0x3c8a32);}async function _0x13c150(){await _0x151cd4,_0x2c3b07[_0x7ca63c([0x6d,0x6f,0x64,0x65,0x6c])][_0x7ca63c([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x15c86c,_0x2c3b07[_0x7ca63c([0x6d,0x6f,0x64,0x65,0x6c])][_0x7ca63c([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x15c86c,_0x2c3b07[_0x7ca63c([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x7ca63c([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x16e135(){return window[_0x7ca63c([0x67,0x6c,0x6f,0x62])]&&window[_0x7ca63c([0x67,0x6c,0x6f,0x62])][_0x7ca63c([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x2659f6(_0x19d625){const _0x54ca81=_0x532fc1();_0x2c3b07[_0x54ca81]=_0x7ca63c([0x70,0x61,0x73,0x74,0x65,0x46,0x72,0x6f,0x6d,0x4f,0x66,0x66,0x69,0x63,0x65,0x45,0x6e,0x68,0x61,0x6e,0x63,0x65,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x19d625,_0x19d625!=_0x7ca63c([0x56,0x61,0x6c,0x69,0x64])&&_0x13c150();}function _0x532fc1(){const _0x364c0c=window[_0x7ca63c([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x7ca63c([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x7ca63c([0x6e,0x6f,0x77])]())[_0x7ca63c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x7ca63c([0x2e]),'');let _0xdb29fc=_0x7ca63c([0x73]);for(let _0x3cfa46=0x0;_0x3cfa46<_0x364c0c[_0x7ca63c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3cfa46+=0x2){let _0x2fd2f1=window[_0x7ca63c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x364c0c[_0x7ca63c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3cfa46,_0x3cfa46+0x2));_0x2fd2f1>=_0x4817b0[_0x7ca63c([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2fd2f1-=_0x4817b0[_0x7ca63c([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xdb29fc+=_0x4817b0[_0x2fd2f1];}return _0xdb29fc;}function _0x45fffe(){const _0x33b356=_0x262a50[_0x7ca63c([0x73,0x70,0x6c,0x69,0x74])](_0x7ca63c([0x2e]));if(0x3!=_0x33b356[_0x7ca63c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1c6895(_0x33b356[0x1]);function _0x1c6895(_0x31c93b){const _0x190f77=_0x5b6a7f(_0x31c93b);return _0x190f77&&_0x3a4289()?_0x190f77:null;function _0x3a4289(){const _0x15a501=_0x190f77[_0x7ca63c([0x6a,0x74,0x69])],_0x312f5b=window[_0x7ca63c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x15a501[_0x7ca63c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x15a501[_0x7ca63c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3eb915={..._0x190f77,[_0x7ca63c([0x6a,0x74,0x69])]:_0x15a501[_0x7ca63c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x15a501[_0x7ca63c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3eb915[_0x7ca63c([0x76,0x63])],_0x37aa9e(_0x3eb915)==_0x312f5b;}}}async function _0x4e18c2(){let _0x2c57f3=!0x0;try{const _0x1d6ce6=_0x262a50[_0x7ca63c([0x73,0x70,0x6c,0x69,0x74])](_0x7ca63c([0x2e])),[_0x88161a,_0x3cba6e,_0x1b5fa6]=_0x1d6ce6;return _0x4e63f7(_0x88161a),await _0x32dc6a(_0x88161a,_0x3cba6e,_0x1b5fa6),_0x2c57f3;}catch{return!0x1;}function _0x4e63f7(_0x165c12){const _0x308cbc=_0x5b6a7f(_0x165c12);_0x308cbc&&_0x308cbc[_0x7ca63c([0x61,0x6c,0x67])]==_0x7ca63c([0x45,0x53,0x32,0x35,0x36])||(_0x2c57f3=!0x1);}async function _0x32dc6a(_0x512fa4,_0x13d4c2,_0x5e7d8c){const _0x232030=window[_0x7ca63c([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x7ca63c([0x66,0x72,0x6f,0x6d])](_0x1b1c42(_0x5e7d8c),_0x554a0a=>_0x554a0a[_0x7ca63c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0xf81367=new window[(_0x7ca63c([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x7ca63c([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x512fa4+_0x7ca63c([0x2e])+_0x13d4c2),_0xe5c3ec=window[_0x7ca63c([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x7ca63c([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0xe5c3ec)return;const _0x4b76f3=await _0xe5c3ec[_0x7ca63c([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x7ca63c([0x6a,0x77,0x6b]),_0x3e701b,{[_0x7ca63c([0x6e,0x61,0x6d,0x65])]:_0x7ca63c([0x45,0x43,0x44,0x53,0x41]),[_0x7ca63c([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x7ca63c([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x7ca63c([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0xe5c3ec[_0x7ca63c([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x7ca63c([0x6e,0x61,0x6d,0x65])]:_0x7ca63c([0x45,0x43,0x44,0x53,0x41]),[_0x7ca63c([0x68,0x61,0x73,0x68])]:{[_0x7ca63c([0x6e,0x61,0x6d,0x65])]:_0x7ca63c([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4b76f3,_0x232030,_0xf81367)||(_0x2c57f3=!0x1);}}function _0x5b6a7f(_0x460a51){return _0x460a51[_0x7ca63c([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x7ca63c([0x65,0x79]))?JSON[_0x7ca63c([0x70,0x61,0x72,0x73,0x65])](_0x1b1c42(_0x460a51)):null;}function _0x1b1c42(_0xb2e411){return window[_0x7ca63c([0x61,0x74,0x6f,0x62])](_0xb2e411[_0x7ca63c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x7ca63c([0x2b]))[_0x7ca63c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x7ca63c([0x2f])));}function _0x37aa9e(_0x23618c){let _0x179d90=0x1505;function _0x1990af(_0x28c6cc){for(let _0x9221be=0x0;_0x9221be<_0x28c6cc[_0x7ca63c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x9221be++){const _0x133bce=_0x28c6cc[_0x7ca63c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x9221be);_0x179d90=(_0x179d90<<0x5)+_0x179d90+_0x133bce,_0x179d90&=_0x179d90;}}function _0x4445ca(_0x3a0ba6){Array[_0x7ca63c([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x3a0ba6)?_0x3a0ba6[_0x7ca63c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4445ca):_0x3a0ba6&&typeof _0x3a0ba6==_0x7ca63c([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x7ca63c([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x3a0ba6)[_0x7ca63c([0x73,0x6f,0x72,0x74])]()[_0x7ca63c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3ee1fc,_0xf4698b])=>{_0x1990af(_0x3ee1fc),_0x4445ca(_0xf4698b);}):_0x1990af(window[_0x7ca63c([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x3a0ba6));}return _0x4445ca(_0x23618c),_0x179d90>>>0x0;}function _0x36ae9a(_0x49a0dd){return _0x49a0dd[_0x7ca63c([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x7ca63c([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x7ca63c([0x30]));}function _0x4e5982(_0x2bfb88){return _0x2bfb88[_0x7ca63c([0x73,0x70,0x6c,0x69,0x74])]('')[_0x7ca63c([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x7ca63c([0x6a,0x6f,0x69,0x6e])]('');}function _0x15c86c(){}function _0x7ca63c(_0x2bea7a){const _0x194a00=_0x2be6;return _0x2bea7a[_0x194a00(0x1c5)](_0x572227=>String[_0x194a00(0x1df)](_0x572227))[_0x194a00(0x1da)]('');}_0x2659f6(await _0x2b9633());}(this);}}
|
|
23
|
+
const _0x5afaf1=_0x45b8;function _0x45b8(_0x2d7c95,_0x5978ef){const _0xa9616=_0xa961();return _0x45b8=function(_0x45b83b,_0xf0a37){_0x45b83b=_0x45b83b-0x185;let _0xa9ad7b=_0xa9616[_0x45b83b];return _0xa9ad7b;},_0x45b8(_0x2d7c95,_0x5978ef);}(function(_0x4c428f,_0xef9b0d){const _0xc505bc=_0x45b8,_0x4347cd=_0x4c428f();while(!![]){try{const _0x5d238a=parseInt(_0xc505bc(0x192))/0x1*(-parseInt(_0xc505bc(0x1a2))/0x2)+parseInt(_0xc505bc(0x186))/0x3+parseInt(_0xc505bc(0x19e))/0x4*(parseInt(_0xc505bc(0x19c))/0x5)+parseInt(_0xc505bc(0x185))/0x6*(parseInt(_0xc505bc(0x1aa))/0x7)+parseInt(_0xc505bc(0x1ab))/0x8*(-parseInt(_0xc505bc(0x188))/0x9)+parseInt(_0xc505bc(0x1a5))/0xa*(parseInt(_0xc505bc(0x1a9))/0xb)+-parseInt(_0xc505bc(0x18f))/0xc;if(_0x5d238a===_0xef9b0d)break;else _0x4347cd['push'](_0x4347cd['shift']());}catch(_0x4d345d){_0x4347cd['push'](_0x4347cd['shift']());}}}(_0xa961,0x1a1e1));import{Plugin as _0x3e24c1}from'ckeditor5/src/core.js';import{parsePasteOfficeHtml as _0x329e44}from'@ckeditor/ckeditor5-paste-from-office';import{priorities as _0x43071e,uid as _0x339332}from'ckeditor5/src/utils.js';import{MSOfficeStylesInliner as _0x554b05}from'./normalizers/inliner/msofficestylesinliner.js';export class PasteFromOfficeEnhancedInliner extends _0x3e24c1{static get[_0x5afaf1(0x18a)](){const _0xfd25af=_0x5afaf1;return _0xfd25af(0x196);}static get[_0x5afaf1(0x193)](){return!0x0;}static get[_0x5afaf1(0x19b)](){return!0x0;}static get[_0x5afaf1(0x19d)](){const _0x5ea7ef=_0x5afaf1;return[_0x5ea7ef(0x1a4)];}[_0x5afaf1(0x198)](){const _0x4359b3=_0x5afaf1,_0x5e00da=this[_0x4359b3(0x19a)],_0x31aee2=_0x5e00da[_0x4359b3(0x1a1)][_0x4359b3(0x18c)](_0x4359b3(0x1a0)),_0x3bec9e=_0x5e00da[_0x4359b3(0x197)][_0x4359b3(0x19f)][_0x4359b3(0x1a7)],_0x4d38a3=new _0x554b05(_0x3bec9e);_0x31aee2['on'](_0x4359b3(0x187),(_0x486323,_0x3119b6)=>{const _0x1976fd=_0x4359b3,_0x53c912=_0x3119b6[_0x1976fd(0x18b)][_0x1976fd(0x1ac)](_0x1976fd(0x189));_0x4d38a3[_0x1976fd(0x1a6)](_0x53c912)&&(_0x3119b6[_0x1976fd(0x18e)]||(_0x3119b6[_0x1976fd(0x18e)]=_0x329e44(_0x53c912,_0x3bec9e[_0x1976fd(0x194)])),_0x4d38a3[_0x1976fd(0x18d)](_0x3119b6));},{'priority':_0x43071e[_0x4359b3(0x18c)](_0x4359b3(0x1a3))+0xb});}[_0x5afaf1(0x191)](){!async function(_0x5c523f){const _0x503d06=_0x2961a4([0x73,0x47,0x36,0x35,0x43,0x72,0x6b,0x31,0x63,0x64,0x32,0x69,0x67,0x4c,0x4e,0x37,0x7a,0x49,0x45,0x41,0x59,0x6a,0x75,0x39,0x4a,0x33,0x68,0x62,0x50,0x42,0x74,0x6e,0x46,0x4d,0x78,0x51,0x66,0x34,0x48,0x77,0x5a,0x61,0x6c,0x30,0x71,0x54,0x53,0x56,0x4b,0x79,0x44,0x6d,0x6f,0x52,0x76,0x55,0x58,0x65,0x70,0x57,0x4f,0x38]),_0x4cfd96=0x7374585f,_0x1ff36b=0x7373def7^_0x4cfd96,_0xc9ae14=window[_0x2961a4([0x44,0x61,0x74,0x65])][_0x2961a4([0x6e,0x6f,0x77])](),_0x18a674=_0x5c523f[_0x2961a4([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x361d1f=new window[(_0x2961a4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2a3d9c=>{_0x18a674[_0x2961a4([0x6f,0x6e,0x63,0x65])](_0x2961a4([0x72,0x65,0x61,0x64,0x79]),_0x2a3d9c);}),_0x508667={[_0x2961a4([0x6b,0x74,0x79])]:_0x2961a4([0x45,0x43]),[_0x2961a4([0x75,0x73,0x65])]:_0x2961a4([0x73,0x69,0x67]),[_0x2961a4([0x63,0x72,0x76])]:_0x2961a4([0x50,0x2d,0x32,0x35,0x36]),[_0x2961a4([0x78])]:_0x2961a4([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x2961a4([0x79])]:_0x2961a4([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x2961a4([0x61,0x6c,0x67])]:_0x2961a4([0x45,0x53,0x32,0x35,0x36])},_0x2421a0=_0x18a674[_0x2961a4([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2961a4([0x67,0x65,0x74])](_0x2961a4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x263fe6(){let _0x1cca59,_0x34ef9f=null,_0x22a36a=null;try{if(_0x2421a0==_0x2961a4([0x47,0x50,0x4c]))return _0x2961a4([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1cca59=_0x294c24(),!_0x1cca59)return _0x2961a4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1cca59[_0x2961a4([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x22a36a=_0x32d36a(_0x1cca59[_0x2961a4([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1cca59[_0x2961a4([0x6a,0x74,0x69])])),await _0x1b4085()?_0x5045aa()?_0x3d4422()?_0x2961a4([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x133cd4()?(_0x1cca59[_0x2961a4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2961a4([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x34ef9f=_0xf140da(_0x2961a4([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x151ed2()):_0x2961a4([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2961a4([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2961a4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2961a4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x3d4422(){const _0x577c61=[_0x2961a4([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2961a4([0x74,0x72,0x69,0x61,0x6c])][_0x2961a4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1cca59[_0x2961a4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0xc9ae14/0x3e8:0xe10*_0x1ff36b;return _0x1cca59[_0x2961a4([0x65,0x78,0x70])]<_0x577c61;}function _0x5045aa(){const _0x3fdfa1=_0x1cca59[_0x2961a4([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3fdfa1&&(!!_0x3fdfa1[_0x2961a4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2961a4([0x2a]))||(!!_0x3fdfa1[_0x2961a4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2961a4([0x50,0x4f,0x45]))||(!!_0x3fdfa1[_0x2961a4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2961a4([0x50,0x50]))||!(!_0x3fdfa1[_0x2961a4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2961a4([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))||!_0x5cc04a()))));}function _0x133cd4(){const _0x1fa4b1=_0x45b8,_0x74b364=_0x1cca59[_0x2961a4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x74b364||0x0==_0x74b364[_0x2961a4([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x558c30}=new URL(window[_0x2961a4([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x1fa4b1(0x1a8)]);if(_0x74b364[_0x2961a4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x558c30))return!0x0;const _0x4e4962=_0x558c30[_0x2961a4([0x73,0x70,0x6c,0x69,0x74])](_0x2961a4([0x2e]));return _0x74b364[_0x2961a4([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4b305c=>_0x4b305c[_0x2961a4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2961a4([0x2a])))[_0x2961a4([0x6d,0x61,0x70])](_0x12ba78=>_0x12ba78[_0x2961a4([0x73,0x70,0x6c,0x69,0x74])](_0x2961a4([0x2e])))[_0x2961a4([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3268eb=>_0x3268eb[_0x2961a4([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x4e4962[_0x2961a4([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2961a4([0x6d,0x61,0x70])](_0x2c7418=>Array(_0x4e4962[_0x2961a4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x2c7418[_0x2961a4([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2961a4([0x66,0x69,0x6c,0x6c])](_0x2c7418[0x0]===_0x2961a4([0x2a])?_0x2961a4([0x2a]):'')[_0x2961a4([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x2c7418))[_0x2961a4([0x73,0x6f,0x6d,0x65])](_0x24d3d0=>_0x4e4962[_0x2961a4([0x65,0x76,0x65,0x72,0x79])]((_0x469583,_0xab15e5)=>_0x24d3d0[_0xab15e5]===_0x469583||_0x24d3d0[_0xab15e5]===_0x2961a4([0x2a])));}function _0x151ed2(){return _0x34ef9f&&_0x22a36a?new window[(_0x2961a4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4362ec,_0xc5f491)=>{_0x34ef9f[_0x2961a4([0x74,0x68,0x65,0x6e])](_0x4362ec,_0xc5f491),_0x22a36a[_0x2961a4([0x74,0x68,0x65,0x6e])](_0x3fca60=>{_0x3fca60!=_0x2961a4([0x56,0x61,0x6c,0x69,0x64])&&_0x4362ec(_0x3fca60);},_0xc5f491);}):_0x34ef9f||_0x22a36a||_0x2961a4([0x56,0x61,0x6c,0x69,0x64]);}}function _0x32d36a(_0xf35858,_0x55afee){return new window[(_0x2961a4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1eac33=>{if(_0x1060e9())return _0x1eac33(_0x2961a4([0x56,0x61,0x6c,0x69,0x64]));_0x479fc6(),_0x18a674[_0x2961a4([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2961a4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x54683f=!0x1;const _0x432518=_0x339332();function _0x431bb5(_0x1a6354){return!!_0x1a6354&&(typeof _0x1a6354===_0x2961a4([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1a6354===_0x2961a4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1a6354[_0x2961a4([0x74,0x68,0x65,0x6e])]===_0x2961a4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1a6354[_0x2961a4([0x63,0x61,0x74,0x63,0x68])]===_0x2961a4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1e50e2(_0x34fd8e){_0x47537f(_0x34fd8e)[_0x2961a4([0x74,0x68,0x65,0x6e])](_0x15404b=>{if(!_0x15404b||_0x15404b[_0x2961a4([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2961a4([0x6f,0x6b]))return _0x2961a4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x753724(_0x35aceb(_0x432518+_0x55afee))!=_0x15404b[_0x2961a4([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2961a4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2961a4([0x56,0x61,0x6c,0x69,0x64]);})[_0x2961a4([0x74,0x68,0x65,0x6e])](_0x578ad9=>(_0xf76405(),_0x578ad9),()=>{const _0x4c1a64=_0x27d710();return null==_0x4c1a64?(_0xf76405(),_0x2961a4([0x56,0x61,0x6c,0x69,0x64])):_0x2961a4(_0xc9ae14-_0x4c1a64>(0x5778dc5f^_0x4cfd96)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2961a4([0x74,0x68,0x65,0x6e])](_0x1eac33)[_0x2961a4([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1eac33(_0x2961a4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2b12b3=0x7342b6df^_0x4cfd96;function _0xf76405(){const _0x2476b5=_0x2961a4([0x6c,0x6c,0x63,0x74,0x2d])+_0x753724(_0x35aceb(_0xf35858)),_0x3841ed=_0x3fdc88(_0x753724(window[_0x2961a4([0x4d,0x61,0x74,0x68])][_0x2961a4([0x63,0x65,0x69,0x6c])](_0xc9ae14/_0x2b12b3)));window[_0x2961a4([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2961a4([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2476b5,_0x3841ed);}function _0x27d710(){const _0x183a79=_0x2961a4([0x6c,0x6c,0x63,0x74,0x2d])+_0x753724(_0x35aceb(_0xf35858)),_0x20969b=window[_0x2961a4([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2961a4([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x183a79);return _0x20969b?window[_0x2961a4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3fdc88(_0x20969b),0x10)*_0x2b12b3:null;}function _0x47537f(_0x53a60d){return new window[(_0x2961a4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xf7445,_0x5e2064)=>{_0x53a60d[_0x2961a4([0x74,0x68,0x65,0x6e])](_0xf7445,_0x5e2064),window[_0x2961a4([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5e2064,0x73758c9f^_0x4cfd96);});}}_0x18a674[_0x2961a4([0x6f,0x6e])](_0x2961a4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x5c40c1,_0x5c97d2)=>{if(_0x5c97d2[0x0]!=_0xf35858)return _0x1eac33(_0x2961a4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x5c97d2[0x1]={..._0x5c97d2[0x1],[_0x2961a4([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x432518};},{[_0x2961a4([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2961a4([0x68,0x69,0x67,0x68])}),_0x18a674[_0x2961a4([0x6f,0x6e])](_0x2961a4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x38f069=>{_0x431bb5(_0x38f069[_0x2961a4([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x54683f=!0x0,_0x1e50e2(_0x38f069[_0x2961a4([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2961a4([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2961a4([0x6c,0x6f,0x77])}),_0x361d1f[_0x2961a4([0x74,0x68,0x65,0x6e])](()=>{_0x54683f||_0x1eac33(_0x2961a4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1060e9(){return _0x18a674[_0x2961a4([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2961a4([0x76,0x69,0x65,0x77])][_0x2961a4([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2961a4([0x61,0x75,0x74,0x6f]);}function _0x479fc6(){_0x18a674[_0x2961a4([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2961a4([0x76,0x69,0x65,0x77])][_0x2961a4([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2961a4([0x61,0x75,0x74,0x6f]);}}function _0xf140da(_0x10780c){const _0x4372ee=[new window[(_0x2961a4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x11fb68=>setTimeout(_0x11fb68,0x737d6693^_0x4cfd96)),_0x361d1f[_0x2961a4([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2961a4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x22597c=>{let _0xae8f03=0x0;_0x18a674[_0x2961a4([0x6d,0x6f,0x64,0x65,0x6c])][_0x2961a4([0x6f,0x6e])](_0x2961a4([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5168c5,_0x58dfe8)=>{_0x58dfe8[0x0][_0x2961a4([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xae8f03++,_0xae8f03==(0x73745db7^_0x4cfd96)&&(_0x22597c(),_0x5168c5[_0x2961a4([0x6f,0x66,0x66])]());});}))];return window[_0x2961a4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2961a4([0x72,0x61,0x63,0x65])](_0x4372ee)[_0x2961a4([0x74,0x68,0x65,0x6e])](()=>_0x10780c);}async function _0x1a4df8(){await _0x361d1f,_0x18a674[_0x2961a4([0x6d,0x6f,0x64,0x65,0x6c])][_0x2961a4([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x428ea0,_0x18a674[_0x2961a4([0x6d,0x6f,0x64,0x65,0x6c])][_0x2961a4([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x428ea0,_0x18a674[_0x2961a4([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2961a4([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5cc04a(){return window[_0x2961a4([0x67,0x6c,0x6f,0x62])]&&window[_0x2961a4([0x67,0x6c,0x6f,0x62])][_0x2961a4([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x2f75d4(_0x27bcef){const _0x40e91b=_0x22887c();_0x18a674[_0x40e91b]=_0x2961a4([0x70,0x61,0x73,0x74,0x65,0x46,0x72,0x6f,0x6d,0x4f,0x66,0x66,0x69,0x63,0x65,0x45,0x6e,0x68,0x61,0x6e,0x63,0x65,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x27bcef,_0x27bcef!=_0x2961a4([0x56,0x61,0x6c,0x69,0x64])&&_0x1a4df8();}function _0x22887c(){const _0x6f3e0=window[_0x2961a4([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2961a4([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2961a4([0x6e,0x6f,0x77])]())[_0x2961a4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2961a4([0x2e]),'');let _0x50041d=_0x2961a4([0x73]);for(let _0x25a83a=0x0;_0x25a83a<_0x6f3e0[_0x2961a4([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x25a83a+=0x2){let _0xe15fdd=window[_0x2961a4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x6f3e0[_0x2961a4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x25a83a,_0x25a83a+0x2));_0xe15fdd>=_0x503d06[_0x2961a4([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0xe15fdd-=_0x503d06[_0x2961a4([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x50041d+=_0x503d06[_0xe15fdd];}return _0x50041d;}function _0x294c24(){const _0x5503ac=_0x2421a0[_0x2961a4([0x73,0x70,0x6c,0x69,0x74])](_0x2961a4([0x2e]));if(0x3!=_0x5503ac[_0x2961a4([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x9a3b14(_0x5503ac[0x1]);function _0x9a3b14(_0xd7cf7a){const _0x3b8026=_0x2f77e3(_0xd7cf7a);return _0x3b8026&&_0xeb8ebe()?_0x3b8026:null;function _0xeb8ebe(){const _0x3128c5=_0x3b8026[_0x2961a4([0x6a,0x74,0x69])],_0x49d67d=window[_0x2961a4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3128c5[_0x2961a4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3128c5[_0x2961a4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0xe45290={..._0x3b8026,[_0x2961a4([0x6a,0x74,0x69])]:_0x3128c5[_0x2961a4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3128c5[_0x2961a4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0xe45290[_0x2961a4([0x76,0x63])],_0x35aceb(_0xe45290)==_0x49d67d;}}}async function _0x1b4085(){let _0x2833c5=!0x0;try{const _0x5655ac=_0x2421a0[_0x2961a4([0x73,0x70,0x6c,0x69,0x74])](_0x2961a4([0x2e])),[_0x157076,_0x30c61c,_0x759f7a]=_0x5655ac;return _0x46805f(_0x157076),await _0x26c487(_0x157076,_0x30c61c,_0x759f7a),_0x2833c5;}catch{return!0x1;}function _0x46805f(_0x28a51e){const _0x597ca2=_0x2f77e3(_0x28a51e);_0x597ca2&&_0x597ca2[_0x2961a4([0x61,0x6c,0x67])]==_0x2961a4([0x45,0x53,0x32,0x35,0x36])||(_0x2833c5=!0x1);}async function _0x26c487(_0x370dee,_0x2b4861,_0x4a6952){const _0x348332=window[_0x2961a4([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2961a4([0x66,0x72,0x6f,0x6d])](_0x274a6f(_0x4a6952),_0x52ee26=>_0x52ee26[_0x2961a4([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2b56c7=new window[(_0x2961a4([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2961a4([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x370dee+_0x2961a4([0x2e])+_0x2b4861),_0x120b9a=window[_0x2961a4([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2961a4([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x120b9a)return;const _0x6b32ef=await _0x120b9a[_0x2961a4([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2961a4([0x6a,0x77,0x6b]),_0x508667,{[_0x2961a4([0x6e,0x61,0x6d,0x65])]:_0x2961a4([0x45,0x43,0x44,0x53,0x41]),[_0x2961a4([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2961a4([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2961a4([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x120b9a[_0x2961a4([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2961a4([0x6e,0x61,0x6d,0x65])]:_0x2961a4([0x45,0x43,0x44,0x53,0x41]),[_0x2961a4([0x68,0x61,0x73,0x68])]:{[_0x2961a4([0x6e,0x61,0x6d,0x65])]:_0x2961a4([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x6b32ef,_0x348332,_0x2b56c7)||(_0x2833c5=!0x1);}}function _0x2f77e3(_0x22f128){return _0x22f128[_0x2961a4([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2961a4([0x65,0x79]))?JSON[_0x2961a4([0x70,0x61,0x72,0x73,0x65])](_0x274a6f(_0x22f128)):null;}function _0x274a6f(_0x40cae2){return window[_0x2961a4([0x61,0x74,0x6f,0x62])](_0x40cae2[_0x2961a4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2961a4([0x2b]))[_0x2961a4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2961a4([0x2f])));}function _0x35aceb(_0x5dad72){let _0x536053=0x1505;function _0xd12204(_0x38b0bc){for(let _0x445309=0x0;_0x445309<_0x38b0bc[_0x2961a4([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x445309++){const _0x577dd1=_0x38b0bc[_0x2961a4([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x445309);_0x536053=(_0x536053<<0x5)+_0x536053+_0x577dd1,_0x536053&=_0x536053;}}function _0x43960a(_0x42b29a){Array[_0x2961a4([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x42b29a)?_0x42b29a[_0x2961a4([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x43960a):_0x42b29a&&typeof _0x42b29a==_0x2961a4([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2961a4([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x42b29a)[_0x2961a4([0x73,0x6f,0x72,0x74])]()[_0x2961a4([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x357581,_0x2021c4])=>{_0xd12204(_0x357581),_0x43960a(_0x2021c4);}):_0xd12204(window[_0x2961a4([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x42b29a));}return _0x43960a(_0x5dad72),_0x536053>>>0x0;}function _0x753724(_0x1e5b57){return _0x1e5b57[_0x2961a4([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2961a4([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2961a4([0x30]));}function _0x3fdc88(_0x303e04){return _0x303e04[_0x2961a4([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2961a4([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2961a4([0x6a,0x6f,0x69,0x6e])]('');}function _0x428ea0(){}function _0x2961a4(_0xf4dc11){const _0x613a4a=_0x45b8;return _0xf4dc11[_0x613a4a(0x199)](_0x49a2c9=>String[_0x613a4a(0x190)](_0x49a2c9))[_0x613a4a(0x195)]('');}_0x2f75d4(await _0x263fe6());}(this);}}function _0xa961(){const _0xf454d0=['inputTransformation','198hpeytQ','text/html','pluginName','dataTransfer','get','execute','_parsedData','2263620bzlajh','fromCharCode','afterInit','12689YOqxQi','isOfficialPlugin','stylesProcessor','join','PasteFromOfficeEnhancedInliner','editing','init','map','editor','isPremiumPlugin','5ZetOmU','requires','524180fivIcn','view','ClipboardPipeline','plugins','20LyQIuc','high','PasteFromOffice','1550EqgeHJ','isActive','document','href','8624DucVQj','70qcMeSw','27784pUVQye','getData','96618ICGQin','255939aLVycz'];_0xa961=function(){return _0xf454d0;};return _0xa961();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x8faa(_0x1a191d,_0x364220){const _0x28578b=_0x2857();return _0x8faa=function(_0x8faae8,_0x1525f3){_0x8faae8=_0x8faae8-0x18f;let _0x1fb6e3=_0x28578b[_0x8faae8];return _0x1fb6e3;},_0x8faa(_0x1a191d,_0x364220);}const _0x1da97b=_0x8faa;(function(_0x222c14,_0x254aa4){const _0x270291=_0x8faa,_0xfd2d92=_0x222c14();while(!![]){try{const _0x465601=parseInt(_0x270291(0x1bd))/0x1*(-parseInt(_0x270291(0x1bb))/0x2)+-parseInt(_0x270291(0x1ac))/0x3+-parseInt(_0x270291(0x1a6))/0x4*(parseInt(_0x270291(0x1a9))/0x5)+-parseInt(_0x270291(0x1a2))/0x6+parseInt(_0x270291(0x194))/0x7*(parseInt(_0x270291(0x1b2))/0x8)+-parseInt(_0x270291(0x1a1))/0x9*(parseInt(_0x270291(0x1b5))/0xa)+parseInt(_0x270291(0x1af))/0xb;if(_0x465601===_0x254aa4)break;else _0xfd2d92['push'](_0xfd2d92['shift']());}catch(_0x5970ad){_0xfd2d92['push'](_0xfd2d92['shift']());}}}(_0x2857,0xc94c3));import{Plugin as _0x812b43}from'ckeditor5/src/core.js';import{parsePasteOfficeHtml as _0x1e0d62}from'@ckeditor/ckeditor5-paste-from-office';import{priorities as _0x2ed2ea}from'ckeditor5/src/utils.js';import{MSOfficeInlineStylePropagator as _0x2fc420}from'./normalizers/propagator/msofficeinlinestylepropagator.js';function _0x2857(){const _0x4d8269=['expired','document','pasteFromOfficeEnhancedLicenseKeyExpired','pasteFromOfficeEnhancedLicenseKeyValid','init','usageLimit','pasteFromOfficeEnhancedLicenseKeyUsageLimit','execute','_showLicenseError','licenseKey','9RdPiXb','4423962ixcRES','domainLimit','destroy','plugins','1342708WuoFgT','isPremiumPlugin','PasteFromOffice','15iQpCXM','config','get','1997967imkobq','pluginName','isActive','45625932NmKRBm','dataTransfer','requires','1456cHLlFy','ClipboardPipeline','featureNotAllowed','1552970iOfXdh','editing','pasteFromOfficeEnhancedLicenseKeyNotAllowed','_parsedData','inputTransformation','getData','118VKKczH','invalid','15041qRPlkP','_licenseKeyCheckInterval','pasteFromOfficeEnhancedLicenseKeyInvalid','PasteFromOfficeEnhancedPropagator','isOfficialPlugin','text/html','editor','pasteFromOfficeEnhancedLicenseKeyDomainLimit','high','PasteFromOfficeEnhanced','view','evaluationLimit','4991ENzgWe','pasteFromOfficeEnhancedLicenseKeyEvaluationLimit','stylesProcessor'];_0x2857=function(){return _0x4d8269;};return _0x2857();}export class PasteFromOfficeEnhancedPropagator extends _0x812b43{[_0x1da97b(0x1a0)];[_0x1da97b(0x1be)];static get[_0x1da97b(0x1ad)](){const _0x543eb2=_0x1da97b;return _0x543eb2(0x1c0);}static get[_0x1da97b(0x1c1)](){return!0x0;}static get[_0x1da97b(0x1a7)](){return!0x0;}static get[_0x1da97b(0x1b1)](){const _0x559b17=_0x1da97b;return[_0x559b17(0x1a8)];}[_0x1da97b(0x19b)](){const _0xeceb7a=_0x1da97b,_0x1bda0a=this[_0xeceb7a(0x1c3)],_0x2d67d3=_0x1bda0a[_0xeceb7a(0x1a5)][_0xeceb7a(0x1ab)](_0xeceb7a(0x1b3)),_0x56d578=_0x1bda0a[_0xeceb7a(0x1b6)][_0xeceb7a(0x192)][_0xeceb7a(0x198)],_0x332ce=new _0x2fc420(_0x56d578);_0x2d67d3['on'](_0xeceb7a(0x1b9),(_0x4042c4,_0x51f31e)=>{const _0x30b5bc=_0xeceb7a,_0x40d69c=_0x51f31e[_0x30b5bc(0x1b0)][_0x30b5bc(0x1ba)](_0x30b5bc(0x1c2));_0x332ce[_0x30b5bc(0x1ae)](_0x40d69c)&&(_0x51f31e[_0x30b5bc(0x1b8)]||(_0x51f31e[_0x30b5bc(0x1b8)]=_0x1e0d62(_0x40d69c,_0x56d578[_0x30b5bc(0x196)])),_0x332ce[_0x30b5bc(0x19e)](_0x51f31e));},{'priority':_0x2ed2ea[_0xeceb7a(0x1ab)](_0xeceb7a(0x190))+0xa}),this[_0xeceb7a(0x1a0)]=this[_0xeceb7a(0x1c3)][_0xeceb7a(0x1aa)][_0xeceb7a(0x1ab)](_0xeceb7a(0x1a0));const _0x36a4aa=this[_0xeceb7a(0x1c3)];this[_0xeceb7a(0x1be)]=setInterval(()=>{const _0xfe64ec=_0xeceb7a;let _0x45e9d5;for(const _0x16a0d7 in _0x36a4aa){const _0x16cdca=_0x16a0d7,_0x5f0b09=_0x36a4aa[_0x16cdca];if(_0xfe64ec(0x19a)==_0x5f0b09||_0xfe64ec(0x1bf)==_0x5f0b09||_0xfe64ec(0x199)==_0x5f0b09||_0xfe64ec(0x18f)==_0x5f0b09||_0xfe64ec(0x1b7)==_0x5f0b09||_0xfe64ec(0x195)==_0x5f0b09||_0xfe64ec(0x19d)==_0x5f0b09){delete _0x36a4aa[_0x16cdca],_0x45e9d5=_0x5f0b09,clearInterval(this[_0xfe64ec(0x1be)]),this[_0xfe64ec(0x1be)]=void 0x0;break;}}_0xfe64ec(0x1bf)==_0x45e9d5&&_0x36a4aa[_0xfe64ec(0x19f)](_0xfe64ec(0x1bc)),_0xfe64ec(0x199)==_0x45e9d5&&_0x36a4aa[_0xfe64ec(0x19f)](_0xfe64ec(0x197)),_0xfe64ec(0x18f)==_0x45e9d5&&_0x36a4aa[_0xfe64ec(0x19f)](_0xfe64ec(0x1a3)),_0xfe64ec(0x1b7)==_0x45e9d5&&_0x36a4aa[_0xfe64ec(0x19f)](_0xfe64ec(0x1b4),_0xfe64ec(0x191)),_0xfe64ec(0x195)==_0x45e9d5&&_0x36a4aa[_0xfe64ec(0x19f)](_0xfe64ec(0x193)),_0xfe64ec(0x19d)==_0x45e9d5&&_0x36a4aa[_0xfe64ec(0x19f)](_0xfe64ec(0x19c));},0x3e8);}[_0x1da97b(0x1a4)](){const _0x441ae8=_0x1da97b;super[_0x441ae8(0x1a4)](),this[_0x441ae8(0x1be)]&&clearInterval(this[_0x441ae8(0x1be)]);}}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x5d11(_0x16ddf8,_0x26ed0e){const _0x3f6e1a=_0x3f6e();return _0x5d11=function(_0x5d11e7,_0x586469){_0x5d11e7=_0x5d11e7-0x14f;let _0x49c0c3=_0x3f6e1a[_0x5d11e7];return _0x49c0c3;},_0x5d11(_0x16ddf8,_0x26ed0e);}(function(_0x2cf091,_0xf330ba){const _0x26a7fd=_0x5d11,_0x16c23a=_0x2cf091();while(!![]){try{const _0x3b96f9=-parseInt(_0x26a7fd(0x155))/0x1*(-parseInt(_0x26a7fd(0x153))/0x2)+parseInt(_0x26a7fd(0x159))/0x3+parseInt(_0x26a7fd(0x152))/0x4+parseInt(_0x26a7fd(0x154))/0x5*(-parseInt(_0x26a7fd(0x14f))/0x6)+parseInt(_0x26a7fd(0x157))/0x7+parseInt(_0x26a7fd(0x150))/0x8*(-parseInt(_0x26a7fd(0x151))/0x9)+parseInt(_0x26a7fd(0x156))/0xa*(-parseInt(_0x26a7fd(0x15a))/0xb);if(_0x3b96f9===_0xf330ba)break;else _0x16c23a['push'](_0x16c23a['shift']());}catch(_0x533abb){_0x16c23a['push'](_0x16c23a['shift']());}}}(_0x3f6e,0x1925c));const m=/<meta\s*name="?generator"?\s*content="?microsoft\s*excel\s*\d+"?\/?>/i;function _0x3f6e(){const _0x430731=['130198GMOCPl','2795YPOrRM','1MLYbPu','2000ObiksO','692587KWeSvD','test','212574NvgSAw','4631GVnWjj','114LcpILP','18184TDYyis','657cuYQhv','515424xuDJOR'];_0x3f6e=function(){return _0x430731;};return _0x3f6e();}export function isMSExcelContent(_0x2d789b){const _0x143d63=_0x5d11;return m[_0x143d63(0x158)](_0x2d789b);}
|