@ckeditor/ckeditor5-paste-from-office-enhanced 47.7.0-alpha.1 → 47.7.0-alpha.3
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:()=>mt});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 x(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 S=/<meta\s*name="?generator"?\s*content="?microsoft\s*word\s*\d+"?\/?>/i,A=/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 S.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,v(e,t));const o=x(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 L(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 L(L(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 O=n(584);function P(t,e){const n=R();return(P=function(t,e){return n[t-=324]})(t,e)}!function(t){const e=P,n=t();for(;;)try{if(935090===parseInt(e(327))/1+parseInt(e(333))/2*(parseInt(e(332))/3)+-parseInt(e(334))/4+parseInt(e(329))/5+parseInt(e(326))/6*(parseInt(e(324))/7)+-parseInt(e(325))/8+parseInt(e(330))/9*(-parseInt(e(331))/10))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(R);const M=/<meta\s*name="?generator"?\s*content="?microsoft\s*excel\s*\d+"?\/?>/i;function F(t){return M[P(328)](t)}function R(){const t=["test","5846120IbXBWy","308619boHuqk","460KrNEXo","33RHtnaf","23988OKAFFq","1433860vOfpsd","42sjDiGQ","3460544ZMvesk","704796BEhuDG","1297555rQehJD"];return(R=function(){return t})()}!function(t){const e=j,n=t();for(;;)try{if(677961===-parseInt(e(421))/1+-parseInt(e(404))/2*(-parseInt(e(416))/3)+-parseInt(e(410))/4*(parseInt(e(406))/5)+parseInt(e(402))/6+-parseInt(e(413))/7*(-parseInt(e(398))/8)+-parseInt(e(394))/9+-parseInt(e(401))/10*(-parseInt(e(408))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(D);const T=/^(?<tagName>(?!\.)[\w-]+)?(\.(?<className>[\w-]+))?$/i;function k(t,e){const n=j,r=new Map;for(const[s,i]of e){if(!s[n(397)]&&!s[n(400)])continue;const e=!s[n(397)]||t[n(422)]===s[n(397)],o=!s[n(400)]||t[n(395)](s[n(400)]);e&&o&&r[n(419)](s,i)}return r}function j(t,e){const n=D();return(j=function(t,e){return n[t-=394]})(t,e)}function N(t){const e=j,n={};for(let r=0;r<t[e(415)];r++){const s=t[r],i=t[e(405)](s);e(418)!==i&&(n[s]=i)}return n}function D(){const t=["tagName","549760LxIWfs","assign","className","40zQCwlC","1158858ogzAcK","groups","6BVXBtO","getPropertyValue","131660obRzKd","style","2758085RWoNln","cssRules","32mTPVvd","trim","exec","77ryqgZn","map","length","336858hmtnRV","selectorText","initial","set","push","537914iYidYg","name","7760970IQmvHV","hasClass","split"];return(D=function(){return t})()}function K(t){const e=j,n=t[e(396)](",")[e(414)](t=>t[e(411)]()),r=[];for(const t of n){const n=T[e(412)](t);n&&r[e(420)](n[e(403)])}return r}function V(t){const e=j,n={};for(const r of t)Object[e(399)](n,r);return n}const W=q;function $(){const t=["276egKFaF","_parsedData","execute","78MqhGjA","createRangeIn","from","36434IiYDJG","isActive","size","hasStyle","126zQrrQi","220256eehovK","8800134XFsgiU","document","setStyle","568757ktxtAB","item","26920BIzLnv","type","elementStart","3149613cyKjoD","content","values","26276910WawmYQ"];return($=function(){return t})()}function q(t,e){const n=$();return(q=function(t,e){return n[t-=265]})(t,e)}!function(t){const e=q,n=t();for(;;)try{if(857246===parseInt(e(287))/1*(-parseInt(e(284))/2)+parseInt(e(277))/3+-parseInt(e(281))/4*(-parseInt(e(274))/5)+-parseInt(e(269))/6+parseInt(e(272))/7+-parseInt(e(268))/8*(parseInt(e(267))/9)+parseInt(e(280))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}($);class B extends E{[W(283)](t){const n=W,{body:r,styles:s}=t[n(282)],i=new e.ViewUpcastWriter(r[n(270)]),o=i[n(285)](r),a=function(t){const e=j,n=new Map;for(const r in t){const s=K(r),i=t[r];for(const t of s)n[e(419)](t,i)}return n}(function(t){const e=j,n={};for(const r of t)for(const t of r[e(409)])if(t instanceof CSSStyleRule){const r=N(t[e(407)]);n[t[e(417)]]=Object[e(399)]({},n[t[e(417)]]||{},r)}return n}(s));for(const t of o){if(n(276)!==t[n(275)])continue;const e=k(t[n(273)],a);if(e[n(265)]){const r=V(Array[n(286)](e[n(279)]()));for(const e in r){const s=t[n(273)];s[n(266)](e)||i[n(271)](e,r[e],s)}}}t[n(278)]=r}[W(288)](t){return super[W(288)](t)||F(t)}}function H(){const t=["editor","inputTransformation","isActive","plugins","PasteFromOfficeEnhancedInliner","isPremiumPlugin","3660270CLNsbi","map","isOfficialPlugin","join","1266986DjyeBP","get","PasteFromOffice","_parsedData","high","9230760qqmoVg","getData","init","pluginName","9084696LndJSU","ClipboardPipeline","4767256QRrRDy","view","2zIjRgc","fromCharCode","stylesProcessor","requires","document","9105750EUxnEs","execute","dataTransfer","editing","text/html","afterInit","href","13062056uOYEeS"];return(H=function(){return t})()}const z=G;function G(t,e){const n=H();return(G=function(t,e){return n[t-=367]})(t,e)}!function(t){const e=G,n=t();for(;;)try{if(979849===-parseInt(e(367))/1*(-parseInt(e(380))/2)+parseInt(e(399))/3+-parseInt(e(378))/4+-parseInt(e(385))/5+-parseInt(e(376))/6+parseInt(e(392))/7+parseInt(e(372))/8)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(H);class U extends t.Plugin{static get[z(375)](){return z(397)}static get[z(401)](){return!0}static get[z(398)](){return!0}static get[z(383)](){return[z(369)]}[z(374)](){const t=z,e=this[t(393)],n=e[t(396)][t(368)](t(377)),r=e[t(388)][t(379)][t(384)],s=new B(r);n.on(t(394),(e,n)=>{const i=t,o=n[i(387)][i(373)](i(389));s[i(395)](o)&&(n[i(370)]||(n[i(370)]=C(o,r[i(382)])),s[i(386)](n))},{priority:O.priorities[t(368)](t(371))+11})}[z(390)](){!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=G;return t[e(400)](t=>String[e(381)](t))[e(402)]("")}!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,O.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:1776038400;return t[m([101,120,112])]<e}()?m([69,120,112,105,114,101,100]):function(){const e=G,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(391)]);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=nt;!function(t){const e=nt,n=t();for(;;)try{if(326137===parseInt(e(443))/1*(parseInt(e(464))/2)+-parseInt(e(468))/3*(parseInt(e(455))/4)+-parseInt(e(454))/5+-parseInt(e(476))/6*(-parseInt(e(451))/7)+parseInt(e(439))/8*(parseInt(e(445))/9)+-parseInt(e(452))/10+-parseInt(e(444))/11*(-parseInt(e(441))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(_);const Y=[Q(440),Q(453),Q(477),Q(466),Q(479),Q(450),Q(460),Q(465)];function _(){const t=["color","10435956pkbPGI","length","478787OrEibm","11IPbKNt","494946rcBCYh","sup","sub","filter","italic","font-weight","469enomAY","2850310glNIdQ","font-family","2648600iubVZo","4uutIaN","createElement","function","getChildren","removeStyle","font-style","setStyle","split","underline","2yhpnxA","vertical-align","text-decoration","bolder","1599267jqBOjV","span","includes","line-through","medium","keys","strong","getStyle","19302trRsTL","font-size","bold","text-decoration-line","super","insertChild","getStyleNames","forEach","from","16iONQaT"];return(_=function(){return t})()}const X=[Q(440),Q(453),Q(477)],J={"font-style":[[Q(449),"i"]],"font-weight":[[Q(472),Q(474)],[Q(478),Q(474)],[Q(467),Q(474)],[t=>Number(t)>=600,Q(474)]],"text-decoration":[[Q(463),"u"],[Q(471),"s"]],"text-decoration-line":[[Q(463),"u"],[Q(471),"s"]],"vertical-align":[[Q(447),Q(447)],[Q(480),Q(446)]]};function Z(t){return Y[Q(470)](t)}function tt(t){const e=Q;return Array[e(438)](t[e(482)]())[e(448)](Z)}function et(t,e,n){const{spanStyles:r,stylesToBeHtmlElements:s}=function(t,e){const n=Q,r={},s={};return e[n(437)](e=>{const i=n,o=t[i(475)](e);if(o)if(a=e,X[Q(470)](a))r[e]=o;else if(e in J){const t=o[i(462)](" ");J[e][i(437)](([n,r])=>{const o=i;for(const i of t)(o(457)==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(437)](([,n])=>{const s=r,i=e[s(456)](n,[],t[s(458)]());e[s(481)](0,i,t)}),e[r(459)](s,t)})(t,e,s),function(t,e,n){const r=Q;if(!Object[r(473)](n)[r(442)])return;const s=e[r(456)](r(469),[],t[r(458)]());e[r(461)](n,s),e[r(481)](0,s,t),e[r(459)](Object[r(473)](n),t)}(t,e,r)}function nt(t,e){const n=_();return(nt=function(t,e){return n[t-=437]})(t,e)}const rt=st;function st(t,e){const n=it();return(st=function(t,e){return n[t-=423]})(t,e)}function it(){const t=["content","40omwqpG","blockElements","createRangeIn","execute","3537216oJDWCR","725279qwNPhO","isActive","name","document","123fEVhrX","stylesProcessor","font","1205701RfoQkK","38914HrHbMW","includes","13579110ktpHVU","_parsedData","3887080FIGIIv","element","getItems","4xYCmuH","3608460gLALeX"];return(it=function(){return t})()}!function(t){const e=st,n=t();for(;;)try{if(457290===parseInt(e(440))/1+-parseInt(e(425))/2*(-parseInt(e(444))/3)+parseInt(e(432))/4*(-parseInt(e(429))/5)+parseInt(e(433))/6+-parseInt(e(424))/7*(-parseInt(e(435))/8)+-parseInt(e(439))/9+-parseInt(e(427))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(it);class ot extends E{[rt(438)](t){const n=rt,{body:r}=t[n(428)],s=new e.ViewUpcastWriter(r[n(443)]),i=s[n(437)](r),o=new e.ViewDocument(s[n(443)][n(445)]),a=[...new e.ViewDomConverter(o)[n(436)],n(423)],c=i[n(431)]();for(const t of c)if(t.is(n(430))&&a[n(426)](t[n(442)])){et(t,s,tt(t))}t[n(434)]=r}[rt(441)](t){return super[rt(441)](t)||F(t)}}function at(){const t=["pasteFromOfficeEnhancedLicenseKeyEvaluationLimit","pasteFromOfficeEnhancedLicenseKeyExpired","PasteFromOffice","editor","pasteFromOfficeEnhancedLicenseKeyValid","pasteFromOfficeEnhancedLicenseKeyInvalid","3105ciMPOk","requires","PasteFromOfficeEnhancedPropagator","PasteFromOfficeEnhanced","pasteFromOfficeEnhancedLicenseKeyNotAllowed","inputTransformation","config","3343146KUzBTT","document","get","high","plugins","60ltONma","execute","licenseKey","getData","pasteFromOfficeEnhancedLicenseKeyDomainLimit","8650664EooGVH","ClipboardPipeline","pluginName","_showLicenseError","dataTransfer","1bMVhwS","expired","domainLimit","stylesProcessor","featureNotAllowed","isPremiumPlugin","_licenseKeyCheckInterval","view","text/html","editing","10ajoYaG","isOfficialPlugin","invalid","11630iTdepi","_parsedData","105544SrvaKE","pasteFromOfficeEnhancedLicenseKeyUsageLimit","destroy","evaluationLimit","usageLimit","init","756448iLYtkY","3740734bFZEIX","6301372vGbPWI","isActive"];return(at=function(){return t})()}const ct=lt;function lt(t,e){const n=at();return(lt=function(t,e){return n[t-=351]})(t,e)}!function(t){const e=lt,n=t();for(;;)try{if(945503===-parseInt(e(394))/1*(-parseInt(e(363))/2)+parseInt(e(384))/3*(-parseInt(e(356))/4)+parseInt(e(351))/5*(parseInt(e(379))/6)+-parseInt(e(364))/7+-parseInt(e(389))/8+parseInt(e(372))/9*(parseInt(e(354))/10)+parseInt(e(362))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(at);class ut extends t.Plugin{[ct(386)];[ct(400)];static get[ct(391)](){return ct(374)}static get[ct(352)](){return!0}static get[ct(399)](){return!0}static get[ct(373)](){return[ct(368)]}[ct(361)](){const t=ct,e=this[t(369)],n=e[t(383)][t(381)](t(390)),r=e[t(403)][t(401)][t(380)],s=new ot(r);n.on(t(377),(e,n)=>{const i=t,o=n[i(393)][i(387)](i(402));s[i(365)](o)&&(n[i(355)]||(n[i(355)]=C(o,r[i(397)])),s[i(385)](n))},{priority:O.priorities[t(381)](t(382))+10}),this[t(386)]=this[t(369)][t(378)][t(381)](t(386));const i=this[t(369)];this[t(400)]=setInterval(()=>{const e=t;let n;for(const t in i){const r=t,s=i[r];if(e(370)==s||e(371)==s||e(367)==s||e(388)==s||e(376)==s||e(366)==s||e(357)==s){delete i[r],n=s,clearInterval(this[e(400)]),this[e(400)]=void 0;break}}e(371)==n&&i[e(392)](e(353)),e(367)==n&&i[e(392)](e(395)),e(388)==n&&i[e(392)](e(396)),e(376)==n&&i[e(392)](e(398),e(375)),e(366)==n&&i[e(392)](e(359)),e(357)==n&&i[e(392)](e(360))},1e3)}[ct(358)](){const t=ct;super[t(358)](),this[t(400)]&&clearInterval(this[t(400)])}}var ft=pt;function pt(t,e){var n=dt();return(pt=function(t,e){return n[t-=251]})(t,e)}!function(t){for(var e=pt,n=t();;)try{if(724713===-parseInt(e(263))/1+parseInt(e(254))/2+-parseInt(e(258))/3+parseInt(e(259))/4+-parseInt(e(260))/5*(parseInt(e(255))/6)+-parseInt(e(261))/7*(parseInt(e(265))/8)+parseInt(e(262))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(dt);class mt extends t.Plugin{static get[ft(264)](){return ft(251)}static get[ft(253)](){return!0}static get[ft(252)](){return!0}static get[ft(256)](){return[ft(257),U,ut]}}function dt(){var t=["PasteFromOfficeEnhanced","isPremiumPlugin","isOfficialPlugin","1989210qZREHk","317562BALxCo","requires","PasteFromOffice","1506303QCKFcp","1524024hzAKMm","95iUFHAi","375697kXGRMo","21703410pNcdcS","159228MKCsbr","pluginName","208klGhJB"];return(dt=function(){return t})()}function gt(){var t=["7JXDgsi","30232unPtgV","4986728fekEqH","632093LwWaGW","184900FoWOzB","1164affkfs","1386006qChqJQ","3344680MwqAGu","15DnhuyD","639botCSi","83TovbPM","4059438VFvcpn"];return(gt=function(){return t})()}function ht(t,e){var n=gt();return(ht=function(t,e){return n[t-=314]})(t,e)}!function(t){for(var e=ht,n=t();;)try{if(681583===-parseInt(e(317))/1*(parseInt(e(320))/2)+-parseInt(e(318))/3+-parseInt(e(321))/4+-parseInt(e(315))/5*(-parseInt(e(325))/6)+-parseInt(e(319))/7*(parseInt(e(314))/8)+-parseInt(e(316))/9*(parseInt(e(323))/10)+-parseInt(e(322))/11*(-parseInt(e(324))/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 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 x(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 S=/<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 S.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=x(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 O=n(584);function P(){const t=["26815752HeSNqD","42115TvPvZA","test","1912470GEcSPP","104529XTwCSZ","126LRxYMP","1958104oozgvT","14WoLwtA","54421lwRVNO","2DWUcIz","36NYOwdV","10233949qmbtTt","116rmDChM"];return(P=function(){return t})()}function M(t,e){const n=P();return(M=function(t,e){return n[t-=221]})(t,e)}!function(t){const e=M,n=t();for(;;)try{if(777582===parseInt(e(231))/1*(parseInt(e(232))/2)+-parseInt(e(227))/3*(parseInt(e(222))/4)+-parseInt(e(224))/5*(parseInt(e(228))/6)+parseInt(e(230))/7*(-parseInt(e(229))/8)+-parseInt(e(233))/9*(parseInt(e(226))/10)+parseInt(e(221))/11+parseInt(e(223))/12)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(P);const T=/<meta\s*name="?generator"?\s*content="?microsoft\s*excel\s*\d+"?\/?>/i;function R(t){return T[M(225)](t)}!function(t){const e=j,n=t();for(;;)try{if(927297===-parseInt(e(147))/1*(parseInt(e(160))/2)+parseInt(e(171))/3*(-parseInt(e(146))/4)+-parseInt(e(164))/5*(parseInt(e(159))/6)+parseInt(e(165))/7+-parseInt(e(157))/8+-parseInt(e(151))/9*(parseInt(e(153))/10)+parseInt(e(167))/11*(parseInt(e(154))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(D);const N=/^(?<tagName>(?!\.)[\w-]+)?(\.(?<className>[\w-]+))?$/i;function F(t,e){const n=j,r=new Map;for(const[s,i]of e){if(!s[n(172)]&&!s[n(158)])continue;const e=!s[n(172)]||t[n(161)]===s[n(172)],o=!s[n(158)]||t[n(173)](s[n(158)]);e&&o&&r[n(175)](s,i)}return r}function D(){const t=["944OMFLwU","147349YiuvSp","split","push","exec","621jnpfWC","length","63690twSPLM","62577588VKikTP","assign","trim","13494488bWfcsx","className","4614CqiEtd","4GiHlAn","name","cssRules","selectorText","8615oVHRuA","312753dvNjLU","groups","11zdGyOo","style","initial","map","7452apTvJH","tagName","hasClass","getPropertyValue","set"];return(D=function(){return t})()}function k(t){const e=j,n={};for(let r=0;r<t[e(152)];r++){const s=t[r],i=t[e(174)](s);e(169)!==i&&(n[s]=i)}return n}function j(t,e){const n=D();return(j=function(t,e){return n[t-=146]})(t,e)}function $(t){const e=j,n=t[e(148)](",")[e(170)](t=>t[e(156)]()),r=[];for(const t of n){const n=N[e(150)](t);n&&r[e(149)](n[e(166)])}return r}function U(t){const e=j,n={};for(const r of t)Object[e(155)](n,r);return n}function W(t,e){const n=z();return(W=function(t,e){return n[t-=174]})(t,e)}const V=W;function z(){const t=["isActive","setStyle","createRangeIn","6039220AAUUOc","_parsedData","444GMCIfm","3002680WQrPzh","type","hasStyle","5451110Ybqbke","74686NsiNLD","8gToMmw","elementStart","size","document","execute","item","49347ewLUiY","5324778hCIlAO","from","28quRiAV","content","1424iDNUYo","values"];return(z=function(){return t})()}!function(t){const e=W,n=t();for(;;)try{if(572919===-parseInt(e(194))/1*(parseInt(e(195))/2)+parseInt(e(189))/3*(parseInt(e(180))/4)+-parseInt(e(190))/5+-parseInt(e(178))/6+parseInt(e(193))/7+-parseInt(e(182))/8*(-parseInt(e(177))/9)+parseInt(e(187))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(z);class K extends L{[V(175)](t){const n=V,{body:r,styles:s}=t[n(188)],i=new e.ViewUpcastWriter(r[n(174)]),o=i[n(186)](r),a=function(t){const e=j,n=new Map;for(const r in t){const s=$(r),i=t[r];for(const t of s)n[e(175)](t,i)}return n}(function(t){const e=j,n={};for(const r of t)for(const t of r[e(162)])if(t instanceof CSSStyleRule){const r=k(t[e(168)]);n[t[e(163)]]=Object[e(155)]({},n[t[e(163)]]||{},r)}return n}(s));for(const t of o){if(n(196)!==t[n(191)])continue;const e=F(t[n(176)],a);if(e[n(197)]){const r=U(Array[n(179)](e[n(183)]()));for(const e in r){const s=t[n(176)];s[n(192)](e)||i[n(185)](e,r[e],s)}}}t[n(181)]=r}[V(184)](t){return super[V(184)](t)||R(t)}}const q=H;function H(t,e){const n=Y();return(H=function(t,e){return n[t-=341]})(t,e)}function Y(){const t=["editor","343701xtuvOE","4FxmQZl","view","get","document","afterInit","2204814sMMCup","8473140yEmzVb","execute","344866CGpNDy","init","inputTransformation","editing","isPremiumPlugin","ClipboardPipeline","isActive","high","isOfficialPlugin","1608zJzkFQ","9rlfMnJ","requires","PasteFromOffice","pluginName","30961MutzfJ","href","fromCharCode","PasteFromOfficeEnhancedInliner","1590838KueMmf","_parsedData","stylesProcessor","join","dataTransfer","getData","text/html","2445155ydZDaN","plugins","map"];return(Y=function(){return t})()}!function(t){const e=H,n=t();for(;;)try{if(478805===parseInt(e(341))/1+-parseInt(e(359))/2+-parseInt(e(370))/3*(-parseInt(e(371))/4)+parseInt(e(366))/5+parseInt(e(376))/6+-parseInt(e(355))/7*(parseInt(e(350))/8)+-parseInt(e(351))/9*(-parseInt(e(377))/10))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Y);class Z extends t.Plugin{static get[q(354)](){return q(358)}static get[q(349)](){return!0}static get[q(345)](){return!0}static get[q(352)](){return[q(353)]}[q(342)](){const t=q,e=this[t(369)],n=e[t(367)][t(373)](t(346)),r=e[t(344)][t(372)][t(374)],s=new K(r);n.on(t(343),(e,n)=>{const i=t,o=n[i(363)][i(364)](i(365));s[i(347)](o)&&(n[i(360)]||(n[i(360)]=C(o,r[i(361)])),s[i(378)](n))},{priority:O.priorities[t(373)](t(348))+11})}[q(375)](){!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=H;return t[e(368)](t=>String[e(357)](t))[e(362)]("")}!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,O.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:1776124800;return t[m([101,120,112])]<e}()?m([69,120,112,105,114,101,100]):function(){const e=H,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(356)]);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 J=nt;function G(){const t=["1070hZEwyn","super","insertChild","line-through","bold","bolder","createElement","keys","medium","forEach","209JhMhqu","10StGiWo","4394232JdStJo","span","sub","function","split","vertical-align","395sUxTMu","6136431GzjlrU","underline","sup","filter","font-family","4437708ZbYcJh","text-decoration","removeStyle","setStyle","font-weight","font-style","5YunZBR","2136570DgfSDZ","getChildren","text-decoration-line","getStyle","includes","getStyleNames","2943171hcUrxt","strong","length","8xoZBra","from","font-size","1230852DWGuIz","color","italic"];return(G=function(){return t})()}!function(t){const e=nt,n=t();for(;;)try{if(600368===-parseInt(e(206))/1*(parseInt(e(188))/2)+parseInt(e(225))/3+parseInt(e(212))/4*(-parseInt(e(218))/5)+parseInt(e(219))/6+parseInt(e(207))/7*(-parseInt(e(182))/8)+-parseInt(e(200))/9*(parseInt(e(199))/10)+-parseInt(e(198))/11*(-parseInt(e(185))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(G);const B=[J(186),J(211),J(184),J(213),J(221),J(216),J(217),J(205)],_=[J(186),J(211),J(184)],Q={"font-style":[[J(187),"i"]],"font-weight":[[J(196),J(226)],[J(192),J(226)],[J(193),J(226)],[t=>Number(t)>=600,J(226)]],"text-decoration":[[J(208),"u"],[J(191),"s"]],"text-decoration-line":[[J(208),"u"],[J(191),"s"]],"vertical-align":[[J(202),J(202)],[J(189),J(209)]]};function X(t){return B[J(223)](t)}function tt(t){const e=J;return Array[e(183)](t[e(224)]())[e(210)](X)}function et(t,e,n){const{spanStyles:r,stylesToBeHtmlElements:s}=function(t,e){const n=J,r={},s={};return e[n(197)](e=>{const i=n,o=t[i(222)](e);if(o)if(a=e,_[J(223)](a))r[e]=o;else if(e in Q){const t=o[i(204)](" ");Q[e][i(197)](([n,r])=>{const o=i;for(const i of t)(o(203)==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=J;for(const s in n)n[s][r(197)](([,n])=>{const s=r,i=e[s(194)](n,[],t[s(220)]());e[s(190)](0,i,t)}),e[r(214)](s,t)})(t,e,s),function(t,e,n){const r=J;if(!Object[r(195)](n)[r(227)])return;const s=e[r(194)](r(201),[],t[r(220)]());e[r(215)](n,s),e[r(190)](0,s,t),e[r(214)](Object[r(195)](n),t)}(t,e,r)}function nt(t,e){const n=G();return(nt=function(t,e){return n[t-=182]})(t,e)}const rt=st;function st(t,e){const n=it();return(st=function(t,e){return n[t-=258]})(t,e)}function it(){const t=["document","execute","getItems","includes","5iLPzmh","1317638QOylEk","content","isActive","element","350988yYTrpG","456ZRPNMX","1266996pifrXk","createRangeIn","80802YYcfRZ","blockElements","name","10TBnudH","_parsedData","798612qaucnX","font","196678MuzGFm","16ZfouzN","stylesProcessor","934132TphLuI","3jKKERn"];return(it=function(){return t})()}!function(t){const e=st,n=t();for(;;)try{if(208707===-parseInt(e(267))/1+-parseInt(e(265))/2+-parseInt(e(271))/3*(parseInt(e(270))/4)+-parseInt(e(276))/5*(-parseInt(e(258))/6)+parseInt(e(277))/7*(-parseInt(e(268))/8)+parseInt(e(260))/9*(-parseInt(e(263))/10)+-parseInt(e(281))/11*(-parseInt(e(282))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(it);class ot extends L{[rt(273)](t){const n=rt,{body:r}=t[n(264)],s=new e.ViewUpcastWriter(r[n(272)]),i=s[n(259)](r),o=new e.ViewDocument(s[n(272)][n(269)]),a=[...new e.ViewDomConverter(o)[n(261)],n(266)],c=i[n(274)]();for(const t of c)if(t.is(n(280))&&a[n(275)](t[n(262)])){et(t,s,tt(t))}t[n(278)]=r}[rt(279)](t){return super[rt(279)](t)||R(t)}}const at=ct;function ct(t,e){const n=ut();return(ct=function(t,e){return n[t-=291]})(t,e)}!function(t){const e=ct,n=t();for(;;)try{if(328408===parseInt(e(293))/1+-parseInt(e(328))/2+-parseInt(e(331))/3+-parseInt(e(304))/4*(-parseInt(e(296))/5)+-parseInt(e(310))/6+parseInt(e(338))/7+parseInt(e(312))/8*(parseInt(e(299))/9))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(ut);class lt extends t.Plugin{[at(297)];[at(323)];static get[at(321)](){return at(303)}static get[at(319)](){return!0}static get[at(334)](){return!0}static get[at(333)](){return[at(295)]}[at(332)](){const t=at,e=this[t(294)],n=e[t(329)][t(316)](t(307)),r=e[t(337)][t(300)][t(335)],s=new ot(r);n.on(t(301),(e,n)=>{const i=t,o=n[i(291)][i(341)](i(340));s[i(330)](o)&&(n[i(313)]||(n[i(313)]=C(o,r[i(320)])),s[i(325)](n))},{priority:O.priorities[t(316)](t(327))+10}),this[t(297)]=this[t(294)][t(308)][t(316)](t(297));const i=this[t(294)];this[t(323)]=setInterval(()=>{const e=t;let n;for(const t in i){const r=t,s=i[r];if(e(339)==s||e(292)==s||e(314)==s||e(318)==s||e(317)==s||e(298)==s||e(305)==s){delete i[r],n=s,clearInterval(this[e(323)]),this[e(323)]=void 0;break}}e(292)==n&&i[e(326)](e(322)),e(314)==n&&i[e(326)](e(309)),e(318)==n&&i[e(326)](e(302)),e(317)==n&&i[e(326)](e(306),e(324)),e(298)==n&&i[e(326)](e(315)),e(305)==n&&i[e(326)](e(311))},1e3)}[at(336)](){const t=at;super[t(336)](),this[t(323)]&&clearInterval(this[t(323)])}}function ut(){const t=["pasteFromOfficeEnhancedLicenseKeyNotAllowed","pasteFromOfficeEnhancedLicenseKeyDomainLimit","isOfficialPlugin","stylesProcessor","pluginName","invalid","_licenseKeyCheckInterval","PasteFromOfficeEnhanced","execute","_showLicenseError","high","1080698LhkeVN","plugins","isActive","1080573NaOrSm","init","requires","isPremiumPlugin","document","destroy","editing","995092fGaRVZ","pasteFromOfficeEnhancedLicenseKeyValid","text/html","getData","dataTransfer","pasteFromOfficeEnhancedLicenseKeyInvalid","47586pxQcIq","editor","PasteFromOffice","1865OvJkHx","licenseKey","pasteFromOfficeEnhancedLicenseKeyEvaluationLimit","153lDLJMQ","view","inputTransformation","domainLimit","PasteFromOfficeEnhancedPropagator","5116vdbxRH","pasteFromOfficeEnhancedLicenseKeyUsageLimit","featureNotAllowed","ClipboardPipeline","config","expired","3025830Uwohxd","usageLimit","501856fxUZHu","_parsedData","pasteFromOfficeEnhancedLicenseKeyExpired","evaluationLimit","get"];return(ut=function(){return t})()}function ft(t,e){var n=mt();return(ft=function(t,e){return n[t-=202]})(t,e)}var pt=ft;function mt(){var t=["isPremiumPlugin","PasteFromOfficeEnhanced","79400COFOiV","PasteFromOffice","1062966gmaHms","88DlgqAz","35SUvNUR","requires","18zTsYiO","9QlMlvS","23530vulbOK","isOfficialPlugin","102776KjoUBH","pluginName","1264263kNQeYQ","10659192gYNOTx","324bgusXK","2379372mTdBYe"];return(mt=function(){return t})()}!function(t){for(var e=ft,n=t();;)try{if(705494===parseInt(e(218))/1+parseInt(e(208))/2*(parseInt(e(205))/3)+-parseInt(e(216))/4*(parseInt(e(202))/5)+parseInt(e(204))/6*(-parseInt(e(210))/7)+-parseInt(e(211))/8+-parseInt(e(212))/9*(parseInt(e(206))/10)+parseInt(e(219))/11*(parseInt(e(213))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(mt);class dt extends t.Plugin{static get[pt(209)](){return pt(215)}static get[pt(207)](){return!0}static get[pt(214)](){return!0}static get[pt(203)](){return[pt(217),Z,lt]}}function gt(t,e){var n=ht();return(gt=function(t,e){return n[t-=498]})(t,e)}function ht(){var t=["6455whFtXJ","1830qvneJL","623134FFDqsH","204204YKliCH","4192632QtNeMR","16018ltvbvZ","2588EHcmRC","3461367ouoowb","65691qahyli","246nGDpkj"];return(ht=function(){return t})()}!function(t){for(var e=gt,n=t();;)try{if(530468===parseInt(e(504))/1+parseInt(e(507))/2*(-parseInt(e(501))/3)+parseInt(e(498))/4*(-parseInt(e(502))/5)+parseInt(e(505))/6+-parseInt(e(499))/7+parseInt(e(506))/8+parseInt(e(500))/9*(parseInt(e(503))/10))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(ht)})(),(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 _0x365f1f}from'@ckeditor/ckeditor5-core/dist/index.js';import{PasteFromOfficeMSWordNormalizer as _0xb9b218,parsePasteOfficeHtml as _0x4996ce}from'@ckeditor/ckeditor5-paste-from-office/dist/index.js';import{priorities as _0x3e72aa,uid as _0x22ad70}from'@ckeditor/ckeditor5-utils/dist/index.js';import{ViewUpcastWriter as _0x597835,ViewDocument as _0x42b7c1,ViewDomConverter as _0x54712a}from'@ckeditor/ckeditor5-engine/dist/index.js';const m=/<meta\s*name="?generator"?\s*content="?microsoft\s*excel\s*\d+"?\/?>/i;function p(_0x5949be){return m['test'](_0x5949be);}const S=/^(?<tagName>(?!\.)[\w-]+)?(\.(?<className>[\w-]+))?$/i;function j(_0x5878bc,_0x2ca89d){const _0x2f5254=new Map();for(const [_0x4a640c,_0x17fdc4]of _0x2ca89d){if(!_0x4a640c['tagName']&&!_0x4a640c['className'])continue;const _0x204b79=!_0x4a640c['tagName']||_0x5878bc['name']===_0x4a640c['tagName'],_0x1c8067=!_0x4a640c['className']||_0x5878bc['hasClass'](_0x4a640c['className']);_0x204b79&&_0x1c8067&&_0x2f5254['set'](_0x4a640c,_0x17fdc4);}return _0x2f5254;}function h(_0x198f8b){const _0x5ecfd2={};for(let _0x5b1d2a=0x0;_0x5b1d2a<_0x198f8b['length'];_0x5b1d2a++){const _0x30a39e=_0x198f8b[_0x5b1d2a],_0x8b9b10=_0x198f8b['getPropertyValue'](_0x30a39e);'initial'!==_0x8b9b10&&(_0x5ecfd2[_0x30a39e]=_0x8b9b10);}return _0x5ecfd2;}function O(_0x479a42){const _0x3b0dde=_0x479a42['split'](',')['map'](_0x17d52d=>_0x17d52d['trim']()),_0xf3993a=[];for(const _0x1035b6 of _0x3b0dde){const _0x1a3477=S['exec'](_0x1035b6);_0x1a3477&&_0xf3993a['push'](_0x1a3477['groups']);}return _0xf3993a;}function k(_0x7841e4){const _0x16afd8={};for(const _0x5a6114 of _0x7841e4)Object['assign'](_0x16afd8,_0x5a6114);return _0x16afd8;}class c extends _0xb9b218{['execute'](_0x2a9e54){const {body:_0x334123,styles:_0x32eb0b}=_0x2a9e54['_parsedData'],_0x4d3d4a=new _0x597835(_0x334123['document']),_0x5f4ce4=_0x4d3d4a['createRangeIn'](_0x334123),_0x342d2e=function(_0x542cf8){const _0x567fd0={};for(const _0x5b240e of _0x542cf8)for(const _0x42b438 of _0x5b240e['cssRules'])if(_0x42b438 instanceof CSSStyleRule){const _0x39ca56=h(_0x42b438['style']);_0x567fd0[_0x42b438['selectorText']]=Object['assign']({},_0x567fd0[_0x42b438['selectorText']]||{},_0x39ca56);}return _0x567fd0;}(_0x32eb0b),_0x5d9969=function(_0x29bac2){const _0x2e6bb7=new Map();for(const _0x2ed0ea in _0x29bac2){const _0x354fdf=O(_0x2ed0ea),_0x3ef221=_0x29bac2[_0x2ed0ea];for(const _0x2a1c61 of _0x354fdf)_0x2e6bb7['set'](_0x2a1c61,_0x3ef221);}return _0x2e6bb7;}(_0x342d2e);for(const _0x458fae of _0x5f4ce4){if('elementStart'!==_0x458fae['type'])continue;const _0x50f974=j(_0x458fae['item'],_0x5d9969);if(_0x50f974['size']){const _0x3b4d8e=k(Array['from'](_0x50f974['values']()));for(const _0x56fbd7 in _0x3b4d8e){const _0x4fc334=_0x458fae['item'];_0x4fc334['hasStyle'](_0x56fbd7)||_0x4d3d4a['setStyle'](_0x56fbd7,_0x3b4d8e[_0x56fbd7],_0x4fc334);}}}_0x2a9e54['content']=_0x334123;}['isActive'](_0x1ddbb0){return super['isActive'](_0x1ddbb0)||p(_0x1ddbb0);}}class i extends _0x365f1f{static get['pluginName'](){return'PasteFromOfficeEnhancedInliner';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return['PasteFromOffice'];}['init'](){const _0x3d1415=this['editor'],_0x4bf0a1=_0x3d1415['plugins']['get']('ClipboardPipeline'),_0x69909b=_0x3d1415['editing']['view']['document'],_0x2725cb=new c(_0x69909b);_0x4bf0a1['on']('inputTransformation',(_0x4aa87a,_0x4aea0a)=>{const _0x5ade2c=_0x4aea0a['dataTransfer']['getData']('text/html');_0x2725cb['isActive'](_0x5ade2c)&&(_0x4aea0a['_parsedData']||(_0x4aea0a['_parsedData']=_0x4996ce(_0x5ade2c,_0x69909b['stylesProcessor'])),_0x2725cb['execute'](_0x4aea0a));},{'priority':_0x3e72aa['get']('high')+0xb});}['afterInit'](){!async function(_0x32f2af){const _0x169acf=_0x5e39bc([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]),_0x3bb416=0x7374585f,_0xdc806a=0x7373df7f^_0x3bb416,_0x53d018=window[_0x5e39bc([0x44,0x61,0x74,0x65])][_0x5e39bc([0x6e,0x6f,0x77])](),_0x41ed38=_0x32f2af[_0x5e39bc([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x168fb2=new window[(_0x5e39bc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5ae150=>{_0x41ed38[_0x5e39bc([0x6f,0x6e,0x63,0x65])](_0x5e39bc([0x72,0x65,0x61,0x64,0x79]),_0x5ae150);}),_0x2f528a={[_0x5e39bc([0x6b,0x74,0x79])]:_0x5e39bc([0x45,0x43]),[_0x5e39bc([0x75,0x73,0x65])]:_0x5e39bc([0x73,0x69,0x67]),[_0x5e39bc([0x63,0x72,0x76])]:_0x5e39bc([0x50,0x2d,0x32,0x35,0x36]),[_0x5e39bc([0x78])]:_0x5e39bc([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]),[_0x5e39bc([0x79])]:_0x5e39bc([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]),[_0x5e39bc([0x61,0x6c,0x67])]:_0x5e39bc([0x45,0x53,0x32,0x35,0x36])},_0x44eafc=_0x41ed38[_0x5e39bc([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5e39bc([0x67,0x65,0x74])](_0x5e39bc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x6ea170(){let _0x2b9981,_0x27d403=null,_0x1bc3f8=null;try{if(_0x44eafc==_0x5e39bc([0x47,0x50,0x4c]))return _0x5e39bc([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2b9981=_0x1f9a0c(),!_0x2b9981)return _0x5e39bc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2b9981[_0x5e39bc([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1bc3f8=_0x548256(_0x2b9981[_0x5e39bc([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2b9981[_0x5e39bc([0x6a,0x74,0x69])])),await _0x1e7e8d()?_0x56735a()?_0x3ddf46()?_0x5e39bc([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x20c75d()?(_0x2b9981[_0x5e39bc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5e39bc([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x27d403=_0x285c60(_0x5e39bc([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x630dfe()):_0x5e39bc([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5e39bc([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5e39bc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x5e39bc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x3ddf46(){const _0x3d2c08=[_0x5e39bc([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5e39bc([0x74,0x72,0x69,0x61,0x6c])][_0x5e39bc([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2b9981[_0x5e39bc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x53d018/0x3e8:0xe10*_0xdc806a;return _0x2b9981[_0x5e39bc([0x65,0x78,0x70])]<_0x3d2c08;}function _0x56735a(){const _0x1d9fe1=_0x2b9981[_0x5e39bc([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x1d9fe1&&(!!_0x1d9fe1[_0x5e39bc([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5e39bc([0x2a]))||(!!_0x1d9fe1[_0x5e39bc([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5e39bc([0x50,0x4f,0x45]))||(!!_0x1d9fe1[_0x5e39bc([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5e39bc([0x50,0x50]))||!(!_0x1d9fe1[_0x5e39bc([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5e39bc([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))||!_0x3da8ae()))));}function _0x20c75d(){const _0xf3d545=_0x2b9981[_0x5e39bc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xf3d545||0x0==_0xf3d545[_0x5e39bc([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x46ad5c}=new URL(window[_0x5e39bc([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0xf3d545[_0x5e39bc([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x46ad5c))return!0x0;const _0x3c256f=_0x46ad5c[_0x5e39bc([0x73,0x70,0x6c,0x69,0x74])](_0x5e39bc([0x2e]));return _0xf3d545[_0x5e39bc([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1c78d8=>_0x1c78d8[_0x5e39bc([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5e39bc([0x2a])))[_0x5e39bc([0x6d,0x61,0x70])](_0x168832=>_0x168832[_0x5e39bc([0x73,0x70,0x6c,0x69,0x74])](_0x5e39bc([0x2e])))[_0x5e39bc([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1e5b85=>_0x1e5b85[_0x5e39bc([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x3c256f[_0x5e39bc([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5e39bc([0x6d,0x61,0x70])](_0x411806=>Array(_0x3c256f[_0x5e39bc([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x411806[_0x5e39bc([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5e39bc([0x66,0x69,0x6c,0x6c])](_0x411806[0x0]===_0x5e39bc([0x2a])?_0x5e39bc([0x2a]):'')[_0x5e39bc([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x411806))[_0x5e39bc([0x73,0x6f,0x6d,0x65])](_0x5e61ef=>_0x3c256f[_0x5e39bc([0x65,0x76,0x65,0x72,0x79])]((_0x33ba57,_0x59da57)=>_0x5e61ef[_0x59da57]===_0x33ba57||_0x5e61ef[_0x59da57]===_0x5e39bc([0x2a])));}function _0x630dfe(){return _0x27d403&&_0x1bc3f8?new window[(_0x5e39bc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2c3449,_0x322e0a)=>{_0x27d403[_0x5e39bc([0x74,0x68,0x65,0x6e])](_0x2c3449,_0x322e0a),_0x1bc3f8[_0x5e39bc([0x74,0x68,0x65,0x6e])](_0x36d73e=>{_0x36d73e!=_0x5e39bc([0x56,0x61,0x6c,0x69,0x64])&&_0x2c3449(_0x36d73e);},_0x322e0a);}):_0x27d403||_0x1bc3f8||_0x5e39bc([0x56,0x61,0x6c,0x69,0x64]);}}function _0x548256(_0x1ad3a0,_0x451a1b){return new window[(_0x5e39bc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1bfc77=>{if(_0xb22c68())return _0x1bfc77(_0x5e39bc([0x56,0x61,0x6c,0x69,0x64]));_0x308617(),_0x41ed38[_0x5e39bc([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5e39bc([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x44baac=!0x1;const _0x1081dd=_0x22ad70();function _0x904594(_0x507272){return!!_0x507272&&(typeof _0x507272===_0x5e39bc([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x507272===_0x5e39bc([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x507272[_0x5e39bc([0x74,0x68,0x65,0x6e])]===_0x5e39bc([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x507272[_0x5e39bc([0x63,0x61,0x74,0x63,0x68])]===_0x5e39bc([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2e171c(_0x2410ba){_0x35f705(_0x2410ba)[_0x5e39bc([0x74,0x68,0x65,0x6e])](_0x4eeb6a=>{if(!_0x4eeb6a||_0x4eeb6a[_0x5e39bc([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5e39bc([0x6f,0x6b]))return _0x5e39bc([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5dd46f(_0x5210e2(_0x1081dd+_0x451a1b))!=_0x4eeb6a[_0x5e39bc([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5e39bc([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5e39bc([0x56,0x61,0x6c,0x69,0x64]);})[_0x5e39bc([0x74,0x68,0x65,0x6e])](_0x52c6e3=>(_0x9cc1cd(),_0x52c6e3),()=>{const _0x5ef388=_0x42c53a();return null==_0x5ef388?(_0x9cc1cd(),_0x5e39bc([0x56,0x61,0x6c,0x69,0x64])):_0x5e39bc(_0x53d018-_0x5ef388>(0x5778dc5f^_0x3bb416)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5e39bc([0x74,0x68,0x65,0x6e])](_0x1bfc77)[_0x5e39bc([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1bfc77(_0x5e39bc([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x260750=0x7342b6df^_0x3bb416;function _0x9cc1cd(){const _0x225b9e=_0x5e39bc([0x6c,0x6c,0x63,0x74,0x2d])+_0x5dd46f(_0x5210e2(_0x1ad3a0)),_0x3dfd87=_0x4464cb(_0x5dd46f(window[_0x5e39bc([0x4d,0x61,0x74,0x68])][_0x5e39bc([0x63,0x65,0x69,0x6c])](_0x53d018/_0x260750)));window[_0x5e39bc([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5e39bc([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x225b9e,_0x3dfd87);}function _0x42c53a(){const _0x7a1f75=_0x5e39bc([0x6c,0x6c,0x63,0x74,0x2d])+_0x5dd46f(_0x5210e2(_0x1ad3a0)),_0x56a272=window[_0x5e39bc([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5e39bc([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x7a1f75);return _0x56a272?window[_0x5e39bc([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4464cb(_0x56a272),0x10)*_0x260750:null;}function _0x35f705(_0x2afd1f){return new window[(_0x5e39bc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3e6302,_0x4d8589)=>{_0x2afd1f[_0x5e39bc([0x74,0x68,0x65,0x6e])](_0x3e6302,_0x4d8589),window[_0x5e39bc([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4d8589,0x73758c9f^_0x3bb416);});}}_0x41ed38[_0x5e39bc([0x6f,0x6e])](_0x5e39bc([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4a6da1,_0x45d238)=>{if(_0x45d238[0x0]!=_0x1ad3a0)return _0x1bfc77(_0x5e39bc([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x45d238[0x1]={..._0x45d238[0x1],[_0x5e39bc([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1081dd};},{[_0x5e39bc([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5e39bc([0x68,0x69,0x67,0x68])}),_0x41ed38[_0x5e39bc([0x6f,0x6e])](_0x5e39bc([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x487aa8=>{_0x904594(_0x487aa8[_0x5e39bc([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x44baac=!0x0,_0x2e171c(_0x487aa8[_0x5e39bc([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5e39bc([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5e39bc([0x6c,0x6f,0x77])}),_0x168fb2[_0x5e39bc([0x74,0x68,0x65,0x6e])](()=>{_0x44baac||_0x1bfc77(_0x5e39bc([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0xb22c68(){return _0x41ed38[_0x5e39bc([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5e39bc([0x76,0x69,0x65,0x77])][_0x5e39bc([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5e39bc([0x61,0x75,0x74,0x6f]);}function _0x308617(){_0x41ed38[_0x5e39bc([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5e39bc([0x76,0x69,0x65,0x77])][_0x5e39bc([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5e39bc([0x61,0x75,0x74,0x6f]);}}function _0x285c60(_0x2267e7){const _0x558703=[new window[(_0x5e39bc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2ef4c3=>setTimeout(_0x2ef4c3,0x737d6693^_0x3bb416)),_0x168fb2[_0x5e39bc([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5e39bc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2a9e81=>{let _0x13ea16=0x0;_0x41ed38[_0x5e39bc([0x6d,0x6f,0x64,0x65,0x6c])][_0x5e39bc([0x6f,0x6e])](_0x5e39bc([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x39880b,_0x624275)=>{_0x624275[0x0][_0x5e39bc([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x13ea16++,_0x13ea16==(0x73745db7^_0x3bb416)&&(_0x2a9e81(),_0x39880b[_0x5e39bc([0x6f,0x66,0x66])]());});}))];return window[_0x5e39bc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5e39bc([0x72,0x61,0x63,0x65])](_0x558703)[_0x5e39bc([0x74,0x68,0x65,0x6e])](()=>_0x2267e7);}async function _0x4fc526(){await _0x168fb2,_0x41ed38[_0x5e39bc([0x6d,0x6f,0x64,0x65,0x6c])][_0x5e39bc([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x247132,_0x41ed38[_0x5e39bc([0x6d,0x6f,0x64,0x65,0x6c])][_0x5e39bc([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x247132,_0x41ed38[_0x5e39bc([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5e39bc([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3da8ae(){return window[_0x5e39bc([0x67,0x6c,0x6f,0x62])]&&window[_0x5e39bc([0x67,0x6c,0x6f,0x62])][_0x5e39bc([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0xc922b2(_0x374f1b){const _0xcb245b=_0x1f2dcc();_0x41ed38[_0xcb245b]=_0x5e39bc([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])+_0x374f1b,_0x374f1b!=_0x5e39bc([0x56,0x61,0x6c,0x69,0x64])&&_0x4fc526();}function _0x1f2dcc(){const _0x387dd3=window[_0x5e39bc([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5e39bc([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5e39bc([0x6e,0x6f,0x77])]())[_0x5e39bc([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5e39bc([0x2e]),'');let _0x1bb541=_0x5e39bc([0x73]);for(let _0x488da5=0x0;_0x488da5<_0x387dd3[_0x5e39bc([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x488da5+=0x2){let _0x1c9d7e=window[_0x5e39bc([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x387dd3[_0x5e39bc([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x488da5,_0x488da5+0x2));_0x1c9d7e>=_0x169acf[_0x5e39bc([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1c9d7e-=_0x169acf[_0x5e39bc([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1bb541+=_0x169acf[_0x1c9d7e];}return _0x1bb541;}function _0x1f9a0c(){const _0x5f07e0=_0x44eafc[_0x5e39bc([0x73,0x70,0x6c,0x69,0x74])](_0x5e39bc([0x2e]));if(0x3!=_0x5f07e0[_0x5e39bc([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x384b80(_0x5f07e0[0x1]);function _0x384b80(_0x557343){const _0x14f110=_0x4b024d(_0x557343);return _0x14f110&&_0x7c3d16()?_0x14f110:null;function _0x7c3d16(){const _0x582764=_0x14f110[_0x5e39bc([0x6a,0x74,0x69])],_0x1de63a=window[_0x5e39bc([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x582764[_0x5e39bc([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x582764[_0x5e39bc([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x349b71={..._0x14f110,[_0x5e39bc([0x6a,0x74,0x69])]:_0x582764[_0x5e39bc([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x582764[_0x5e39bc([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x349b71[_0x5e39bc([0x76,0x63])],_0x5210e2(_0x349b71)==_0x1de63a;}}}async function _0x1e7e8d(){let _0x28a7a5=!0x0;try{const _0x49fa20=_0x44eafc[_0x5e39bc([0x73,0x70,0x6c,0x69,0x74])](_0x5e39bc([0x2e])),[_0x26f46c,_0x44a875,_0x10605d]=_0x49fa20;return _0xb34132(_0x26f46c),await _0x5e2248(_0x26f46c,_0x44a875,_0x10605d),_0x28a7a5;}catch{return!0x1;}function _0xb34132(_0x3ab803){const _0x18ab7d=_0x4b024d(_0x3ab803);_0x18ab7d&&_0x18ab7d[_0x5e39bc([0x61,0x6c,0x67])]==_0x5e39bc([0x45,0x53,0x32,0x35,0x36])||(_0x28a7a5=!0x1);}async function _0x5e2248(_0x26bfe4,_0x52aeff,_0x48b01f){const _0x1c9e1d=window[_0x5e39bc([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5e39bc([0x66,0x72,0x6f,0x6d])](_0x10f5e8(_0x48b01f),_0x10cca=>_0x10cca[_0x5e39bc([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x5b9e59=new window[(_0x5e39bc([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5e39bc([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x26bfe4+_0x5e39bc([0x2e])+_0x52aeff),_0x2aba96=window[_0x5e39bc([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5e39bc([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2aba96)return;const _0x36f219=await _0x2aba96[_0x5e39bc([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5e39bc([0x6a,0x77,0x6b]),_0x2f528a,{[_0x5e39bc([0x6e,0x61,0x6d,0x65])]:_0x5e39bc([0x45,0x43,0x44,0x53,0x41]),[_0x5e39bc([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5e39bc([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5e39bc([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2aba96[_0x5e39bc([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5e39bc([0x6e,0x61,0x6d,0x65])]:_0x5e39bc([0x45,0x43,0x44,0x53,0x41]),[_0x5e39bc([0x68,0x61,0x73,0x68])]:{[_0x5e39bc([0x6e,0x61,0x6d,0x65])]:_0x5e39bc([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x36f219,_0x1c9e1d,_0x5b9e59)||(_0x28a7a5=!0x1);}}function _0x4b024d(_0xe95f9c){return _0xe95f9c[_0x5e39bc([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5e39bc([0x65,0x79]))?JSON[_0x5e39bc([0x70,0x61,0x72,0x73,0x65])](_0x10f5e8(_0xe95f9c)):null;}function _0x10f5e8(_0x2eeec9){return window[_0x5e39bc([0x61,0x74,0x6f,0x62])](_0x2eeec9[_0x5e39bc([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5e39bc([0x2b]))[_0x5e39bc([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5e39bc([0x2f])));}function _0x5210e2(_0x4ce24c){let _0x5942d0=0x1505;function _0x489179(_0x3fabd8){for(let _0x28f5f9=0x0;_0x28f5f9<_0x3fabd8[_0x5e39bc([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x28f5f9++){const _0x47dad2=_0x3fabd8[_0x5e39bc([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x28f5f9);_0x5942d0=(_0x5942d0<<0x5)+_0x5942d0+_0x47dad2,_0x5942d0&=_0x5942d0;}}function _0x30c7e1(_0x304da5){Array[_0x5e39bc([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x304da5)?_0x304da5[_0x5e39bc([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x30c7e1):_0x304da5&&typeof _0x304da5==_0x5e39bc([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5e39bc([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x304da5)[_0x5e39bc([0x73,0x6f,0x72,0x74])]()[_0x5e39bc([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x1c51ef,_0x4a958b])=>{_0x489179(_0x1c51ef),_0x30c7e1(_0x4a958b);}):_0x489179(window[_0x5e39bc([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x304da5));}return _0x30c7e1(_0x4ce24c),_0x5942d0>>>0x0;}function _0x5dd46f(_0x3f24b6){return _0x3f24b6[_0x5e39bc([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5e39bc([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5e39bc([0x30]));}function _0x4464cb(_0x2fb699){return _0x2fb699[_0x5e39bc([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5e39bc([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5e39bc([0x6a,0x6f,0x69,0x6e])]('');}function _0x247132(){}function _0x5e39bc(_0x24d0ef){return _0x24d0ef['map'](_0x51f34b=>String['fromCharCode'](_0x51f34b))['join']('');}_0xc922b2(await _0x6ea170());}(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'],[_0x203051=>Number(_0x203051)>=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(_0x329a33){return E['includes'](_0x329a33);}function g(_0x1ae16f){return Array['from'](_0x1ae16f['getStyleNames']())['filter'](P);}function b(_0x1f82c3,_0x710d13,_0x5863b6){const {spanStyles:_0x46ea8b,stylesToBeHtmlElements:_0x2d6743}=function(_0x5c6efe,_0x1913e7){const _0x2f708e={},_0x15b61a={};return _0x1913e7['forEach'](_0x4b0922=>{const _0x57f42b=_0x5c6efe['getStyle'](_0x4b0922);if(_0x57f42b){if(function(_0x1c747e){return L['includes'](_0x1c747e);}(_0x4b0922))_0x2f708e[_0x4b0922]=_0x57f42b;else{if(function(_0x5b4479){return _0x5b4479 in F;}(_0x4b0922)){const _0x4df36a=_0x57f42b['split']('\x20');F[_0x4b0922]['forEach'](([_0x30d8d2,_0x14bb9])=>{for(const _0x93a25b of _0x4df36a){('function'==typeof _0x30d8d2&&_0x30d8d2(_0x93a25b)||_0x30d8d2===_0x93a25b)&&(_0x15b61a[_0x4b0922]=[..._0x15b61a[_0x4b0922]||[],[_0x30d8d2,_0x14bb9]]);}});}}}}),{'spanStyles':_0x2f708e,'stylesToBeHtmlElements':_0x15b61a};}(_0x1f82c3,_0x5863b6);!function(_0x269d64,_0x5ba40a,_0x1c9456){for(const _0x1e5917 in _0x1c9456){_0x1c9456[_0x1e5917]['forEach'](([,_0x2a13c6])=>{const _0x595358=_0x5ba40a['createElement'](_0x2a13c6,[],_0x269d64['getChildren']());_0x5ba40a['insertChild'](0x0,_0x595358,_0x269d64);}),_0x5ba40a['removeStyle'](_0x1e5917,_0x269d64);}}(_0x1f82c3,_0x710d13,_0x2d6743),function(_0x4adab6,_0x5dd0eb,_0x124a1e){if(!Object['keys'](_0x124a1e)['length'])return;const _0x4de8c2=_0x5dd0eb['createElement']('span',[],_0x4adab6['getChildren']());_0x5dd0eb['setStyle'](_0x124a1e,_0x4de8c2),_0x5dd0eb['insertChild'](0x0,_0x4de8c2,_0x4adab6),_0x5dd0eb['removeStyle'](Object['keys'](_0x124a1e),_0x4adab6);}(_0x1f82c3,_0x710d13,_0x46ea8b);}class a extends _0xb9b218{['execute'](_0x195ef9){const {body:_0xd79053}=_0x195ef9['_parsedData'],_0x4db0d7=new _0x597835(_0xd79053['document']),_0x31ef71=_0x4db0d7['createRangeIn'](_0xd79053),_0x5b88f2=new _0x42b7c1(_0x4db0d7['document']['stylesProcessor']),_0x524b7a=[...new _0x54712a(_0x5b88f2)['blockElements'],'font'],_0x3391d4=_0x31ef71['getItems']();for(const _0x10b941 of _0x3391d4)_0x10b941['is']('element')&&_0x524b7a['includes'](_0x10b941['name'])&&b(_0x10b941,_0x4db0d7,g(_0x10b941));_0x195ef9['content']=_0xd79053;}['isActive'](_0x172fe2){return super['isActive'](_0x172fe2)||p(_0x172fe2);}}class s extends _0x365f1f{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'PasteFromOfficeEnhancedPropagator';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return['PasteFromOffice'];}['init'](){const _0x4c8e3b=this['editor'],_0x1bb108=_0x4c8e3b['plugins']['get']('ClipboardPipeline'),_0x5901f2=_0x4c8e3b['editing']['view']['document'],_0x323d7e=new a(_0x5901f2);_0x1bb108['on']('inputTransformation',(_0x203724,_0x52a630)=>{const _0x5981b6=_0x52a630['dataTransfer']['getData']('text/html');_0x323d7e['isActive'](_0x5981b6)&&(_0x52a630['_parsedData']||(_0x52a630['_parsedData']=_0x4996ce(_0x5981b6,_0x5901f2['stylesProcessor'])),_0x323d7e['execute'](_0x52a630));},{'priority':_0x3e72aa['get']('high')+0xa}),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x2a2b32=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x235533;for(const _0x534c29 in _0x2a2b32){const _0x88bc6d=_0x534c29,_0x23f280=_0x2a2b32[_0x88bc6d];if('pasteFromOfficeEnhancedLicenseKeyValid'==_0x23f280||'pasteFromOfficeEnhancedLicenseKeyInvalid'==_0x23f280||'pasteFromOfficeEnhancedLicenseKeyExpired'==_0x23f280||'pasteFromOfficeEnhancedLicenseKeyDomainLimit'==_0x23f280||'pasteFromOfficeEnhancedLicenseKeyNotAllowed'==_0x23f280||'pasteFromOfficeEnhancedLicenseKeyEvaluationLimit'==_0x23f280||'pasteFromOfficeEnhancedLicenseKeyUsageLimit'==_0x23f280){delete _0x2a2b32[_0x88bc6d],_0x235533=_0x23f280,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'pasteFromOfficeEnhancedLicenseKeyInvalid'==_0x235533&&_0x2a2b32['_showLicenseError']('invalid'),'pasteFromOfficeEnhancedLicenseKeyExpired'==_0x235533&&_0x2a2b32['_showLicenseError']('expired'),'pasteFromOfficeEnhancedLicenseKeyDomainLimit'==_0x235533&&_0x2a2b32['_showLicenseError']('domainLimit'),'pasteFromOfficeEnhancedLicenseKeyNotAllowed'==_0x235533&&_0x2a2b32['_showLicenseError']('featureNotAllowed','PasteFromOfficeEnhanced'),'pasteFromOfficeEnhancedLicenseKeyEvaluationLimit'==_0x235533&&_0x2a2b32['_showLicenseError']('evaluationLimit'),'pasteFromOfficeEnhancedLicenseKeyUsageLimit'==_0x235533&&_0x2a2b32['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class K extends _0x365f1f{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 _0xcb13ac}from'@ckeditor/ckeditor5-core/dist/index.js';import{PasteFromOfficeMSWordNormalizer as _0x1a48e0,parsePasteOfficeHtml as _0x52933c}from'@ckeditor/ckeditor5-paste-from-office/dist/index.js';import{priorities as _0x46339d,uid as _0x1bc3be}from'@ckeditor/ckeditor5-utils/dist/index.js';import{ViewUpcastWriter as _0x2e5f4f,ViewDocument as _0x208ba,ViewDomConverter as _0x5c071e}from'@ckeditor/ckeditor5-engine/dist/index.js';const m=/<meta\s*name="?generator"?\s*content="?microsoft\s*excel\s*\d+"?\/?>/i;function p(_0x52e35a){return m['test'](_0x52e35a);}const S=/^(?<tagName>(?!\.)[\w-]+)?(\.(?<className>[\w-]+))?$/i;function j(_0x33f020,_0x113334){const _0x3aa240=new Map();for(const [_0x2e9342,_0x2d8029]of _0x113334){if(!_0x2e9342['tagName']&&!_0x2e9342['className'])continue;const _0x50d30f=!_0x2e9342['tagName']||_0x33f020['name']===_0x2e9342['tagName'],_0x37b5fe=!_0x2e9342['className']||_0x33f020['hasClass'](_0x2e9342['className']);_0x50d30f&&_0x37b5fe&&_0x3aa240['set'](_0x2e9342,_0x2d8029);}return _0x3aa240;}function h(_0xcf6895){const _0x51b32d={};for(let _0x1ca35b=0x0;_0x1ca35b<_0xcf6895['length'];_0x1ca35b++){const _0x36982e=_0xcf6895[_0x1ca35b],_0x2d756d=_0xcf6895['getPropertyValue'](_0x36982e);'initial'!==_0x2d756d&&(_0x51b32d[_0x36982e]=_0x2d756d);}return _0x51b32d;}function O(_0x5b82a3){const _0x1b0cc6=_0x5b82a3['split'](',')['map'](_0x1edab9=>_0x1edab9['trim']()),_0x33cceb=[];for(const _0x626ffd of _0x1b0cc6){const _0x372110=S['exec'](_0x626ffd);_0x372110&&_0x33cceb['push'](_0x372110['groups']);}return _0x33cceb;}function k(_0x23cbc5){const _0x24d7f7={};for(const _0x1c2d07 of _0x23cbc5)Object['assign'](_0x24d7f7,_0x1c2d07);return _0x24d7f7;}class c extends _0x1a48e0{['execute'](_0x597803){const {body:_0x229e9a,styles:_0x14aae1}=_0x597803['_parsedData'],_0x1ceb4a=new _0x2e5f4f(_0x229e9a['document']),_0x2b253c=_0x1ceb4a['createRangeIn'](_0x229e9a),_0xa0141b=function(_0x53e560){const _0x29f38f={};for(const _0xfa5dbc of _0x53e560)for(const _0x472247 of _0xfa5dbc['cssRules'])if(_0x472247 instanceof CSSStyleRule){const _0x16005c=h(_0x472247['style']);_0x29f38f[_0x472247['selectorText']]=Object['assign']({},_0x29f38f[_0x472247['selectorText']]||{},_0x16005c);}return _0x29f38f;}(_0x14aae1),_0x3cbd10=function(_0x3528af){const _0x56d0ce=new Map();for(const _0x494aa8 in _0x3528af){const _0x1f12b5=O(_0x494aa8),_0x2145af=_0x3528af[_0x494aa8];for(const _0x5bb906 of _0x1f12b5)_0x56d0ce['set'](_0x5bb906,_0x2145af);}return _0x56d0ce;}(_0xa0141b);for(const _0x27aaed of _0x2b253c){if('elementStart'!==_0x27aaed['type'])continue;const _0x435feb=j(_0x27aaed['item'],_0x3cbd10);if(_0x435feb['size']){const _0x2706a7=k(Array['from'](_0x435feb['values']()));for(const _0x34b21e in _0x2706a7){const _0xec1bad=_0x27aaed['item'];_0xec1bad['hasStyle'](_0x34b21e)||_0x1ceb4a['setStyle'](_0x34b21e,_0x2706a7[_0x34b21e],_0xec1bad);}}}_0x597803['content']=_0x229e9a;}['isActive'](_0xf27fc3){return super['isActive'](_0xf27fc3)||p(_0xf27fc3);}}class i extends _0xcb13ac{static get['pluginName'](){return'PasteFromOfficeEnhancedInliner';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return['PasteFromOffice'];}['init'](){const _0x432628=this['editor'],_0x1bffd5=_0x432628['plugins']['get']('ClipboardPipeline'),_0x176935=_0x432628['editing']['view']['document'],_0x5aaadd=new c(_0x176935);_0x1bffd5['on']('inputTransformation',(_0x101802,_0x1a7a37)=>{const _0x129f76=_0x1a7a37['dataTransfer']['getData']('text/html');_0x5aaadd['isActive'](_0x129f76)&&(_0x1a7a37['_parsedData']||(_0x1a7a37['_parsedData']=_0x52933c(_0x129f76,_0x176935['stylesProcessor'])),_0x5aaadd['execute'](_0x1a7a37));},{'priority':_0x46339d['get']('high')+0xb});}['afterInit'](){!async function(_0x25cd97){const _0x2ae30f=_0x146266([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]),_0x485452=0x7374585f,_0x5d5b7b=0x7373df67^_0x485452,_0x460f26=window[_0x146266([0x44,0x61,0x74,0x65])][_0x146266([0x6e,0x6f,0x77])](),_0x51cc33=_0x25cd97[_0x146266([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x214b32=new window[(_0x146266([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1efd4f=>{_0x51cc33[_0x146266([0x6f,0x6e,0x63,0x65])](_0x146266([0x72,0x65,0x61,0x64,0x79]),_0x1efd4f);}),_0x363318={[_0x146266([0x6b,0x74,0x79])]:_0x146266([0x45,0x43]),[_0x146266([0x75,0x73,0x65])]:_0x146266([0x73,0x69,0x67]),[_0x146266([0x63,0x72,0x76])]:_0x146266([0x50,0x2d,0x32,0x35,0x36]),[_0x146266([0x78])]:_0x146266([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]),[_0x146266([0x79])]:_0x146266([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]),[_0x146266([0x61,0x6c,0x67])]:_0x146266([0x45,0x53,0x32,0x35,0x36])},_0x49b5e9=_0x51cc33[_0x146266([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x146266([0x67,0x65,0x74])](_0x146266([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x917a29(){let _0x51959f,_0x159f17=null,_0x3f7f94=null;try{if(_0x49b5e9==_0x146266([0x47,0x50,0x4c]))return _0x146266([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x51959f=_0x2b6348(),!_0x51959f)return _0x146266([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x51959f[_0x146266([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x3f7f94=_0xeea054(_0x51959f[_0x146266([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x51959f[_0x146266([0x6a,0x74,0x69])])),await _0x26e78b()?_0x496833()?_0x229649()?_0x146266([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x11b26b()?(_0x51959f[_0x146266([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x146266([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x159f17=_0x51af89(_0x146266([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x3232f2()):_0x146266([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x146266([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x146266([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x146266([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x229649(){const _0x303b36=[_0x146266([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x146266([0x74,0x72,0x69,0x61,0x6c])][_0x146266([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x51959f[_0x146266([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x460f26/0x3e8:0xe10*_0x5d5b7b;return _0x51959f[_0x146266([0x65,0x78,0x70])]<_0x303b36;}function _0x496833(){const _0x2712bd=_0x51959f[_0x146266([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2712bd&&(!!_0x2712bd[_0x146266([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x146266([0x2a]))||(!!_0x2712bd[_0x146266([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x146266([0x50,0x4f,0x45]))||(!!_0x2712bd[_0x146266([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x146266([0x50,0x50]))||!(!_0x2712bd[_0x146266([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x146266([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))||!_0x4a72d5()))));}function _0x11b26b(){const _0xc25e05=_0x51959f[_0x146266([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xc25e05||0x0==_0xc25e05[_0x146266([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x16902b}=new URL(window[_0x146266([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0xc25e05[_0x146266([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x16902b))return!0x0;const _0x5e7341=_0x16902b[_0x146266([0x73,0x70,0x6c,0x69,0x74])](_0x146266([0x2e]));return _0xc25e05[_0x146266([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3c3a5a=>_0x3c3a5a[_0x146266([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x146266([0x2a])))[_0x146266([0x6d,0x61,0x70])](_0xbcb4c9=>_0xbcb4c9[_0x146266([0x73,0x70,0x6c,0x69,0x74])](_0x146266([0x2e])))[_0x146266([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xa2828b=>_0xa2828b[_0x146266([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x5e7341[_0x146266([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x146266([0x6d,0x61,0x70])](_0x443bb7=>Array(_0x5e7341[_0x146266([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x443bb7[_0x146266([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x146266([0x66,0x69,0x6c,0x6c])](_0x443bb7[0x0]===_0x146266([0x2a])?_0x146266([0x2a]):'')[_0x146266([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x443bb7))[_0x146266([0x73,0x6f,0x6d,0x65])](_0x41a0e6=>_0x5e7341[_0x146266([0x65,0x76,0x65,0x72,0x79])]((_0x18c491,_0x49594d)=>_0x41a0e6[_0x49594d]===_0x18c491||_0x41a0e6[_0x49594d]===_0x146266([0x2a])));}function _0x3232f2(){return _0x159f17&&_0x3f7f94?new window[(_0x146266([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1b4de4,_0x2c9d08)=>{_0x159f17[_0x146266([0x74,0x68,0x65,0x6e])](_0x1b4de4,_0x2c9d08),_0x3f7f94[_0x146266([0x74,0x68,0x65,0x6e])](_0x32d1d7=>{_0x32d1d7!=_0x146266([0x56,0x61,0x6c,0x69,0x64])&&_0x1b4de4(_0x32d1d7);},_0x2c9d08);}):_0x159f17||_0x3f7f94||_0x146266([0x56,0x61,0x6c,0x69,0x64]);}}function _0xeea054(_0x1ddb1c,_0x51c75a){return new window[(_0x146266([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x408571=>{if(_0x49a845())return _0x408571(_0x146266([0x56,0x61,0x6c,0x69,0x64]));_0x4ffac4(),_0x51cc33[_0x146266([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x146266([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x385903=!0x1;const _0x3a9654=_0x1bc3be();function _0x22cdbc(_0x556ba2){return!!_0x556ba2&&(typeof _0x556ba2===_0x146266([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x556ba2===_0x146266([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x556ba2[_0x146266([0x74,0x68,0x65,0x6e])]===_0x146266([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x556ba2[_0x146266([0x63,0x61,0x74,0x63,0x68])]===_0x146266([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x5cb766(_0x4e67c0){_0x126d5a(_0x4e67c0)[_0x146266([0x74,0x68,0x65,0x6e])](_0x3c55b5=>{if(!_0x3c55b5||_0x3c55b5[_0x146266([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x146266([0x6f,0x6b]))return _0x146266([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x29b78e(_0x3dec0e(_0x3a9654+_0x51c75a))!=_0x3c55b5[_0x146266([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x146266([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x146266([0x56,0x61,0x6c,0x69,0x64]);})[_0x146266([0x74,0x68,0x65,0x6e])](_0x39a219=>(_0x237fd3(),_0x39a219),()=>{const _0x43b2f6=_0x78b71b();return null==_0x43b2f6?(_0x237fd3(),_0x146266([0x56,0x61,0x6c,0x69,0x64])):_0x146266(_0x460f26-_0x43b2f6>(0x5778dc5f^_0x485452)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x146266([0x74,0x68,0x65,0x6e])](_0x408571)[_0x146266([0x63,0x61,0x74,0x63,0x68])](()=>{_0x408571(_0x146266([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x29b427=0x7342b6df^_0x485452;function _0x237fd3(){const _0x52133c=_0x146266([0x6c,0x6c,0x63,0x74,0x2d])+_0x29b78e(_0x3dec0e(_0x1ddb1c)),_0xc0cee1=_0x438ce5(_0x29b78e(window[_0x146266([0x4d,0x61,0x74,0x68])][_0x146266([0x63,0x65,0x69,0x6c])](_0x460f26/_0x29b427)));window[_0x146266([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x146266([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x52133c,_0xc0cee1);}function _0x78b71b(){const _0x226a67=_0x146266([0x6c,0x6c,0x63,0x74,0x2d])+_0x29b78e(_0x3dec0e(_0x1ddb1c)),_0x1983f4=window[_0x146266([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x146266([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x226a67);return _0x1983f4?window[_0x146266([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x438ce5(_0x1983f4),0x10)*_0x29b427:null;}function _0x126d5a(_0x5ddc62){return new window[(_0x146266([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x226fb0,_0x447652)=>{_0x5ddc62[_0x146266([0x74,0x68,0x65,0x6e])](_0x226fb0,_0x447652),window[_0x146266([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x447652,0x73758c9f^_0x485452);});}}_0x51cc33[_0x146266([0x6f,0x6e])](_0x146266([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x27176b,_0x4e2402)=>{if(_0x4e2402[0x0]!=_0x1ddb1c)return _0x408571(_0x146266([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4e2402[0x1]={..._0x4e2402[0x1],[_0x146266([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3a9654};},{[_0x146266([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x146266([0x68,0x69,0x67,0x68])}),_0x51cc33[_0x146266([0x6f,0x6e])](_0x146266([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x472a3d=>{_0x22cdbc(_0x472a3d[_0x146266([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x385903=!0x0,_0x5cb766(_0x472a3d[_0x146266([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x146266([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x146266([0x6c,0x6f,0x77])}),_0x214b32[_0x146266([0x74,0x68,0x65,0x6e])](()=>{_0x385903||_0x408571(_0x146266([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x49a845(){return _0x51cc33[_0x146266([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x146266([0x76,0x69,0x65,0x77])][_0x146266([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x146266([0x61,0x75,0x74,0x6f]);}function _0x4ffac4(){_0x51cc33[_0x146266([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x146266([0x76,0x69,0x65,0x77])][_0x146266([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x146266([0x61,0x75,0x74,0x6f]);}}function _0x51af89(_0x4f0d4a){const _0x5b1e95=[new window[(_0x146266([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x19be6c=>setTimeout(_0x19be6c,0x737d6693^_0x485452)),_0x214b32[_0x146266([0x74,0x68,0x65,0x6e])](()=>new window[(_0x146266([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1be157=>{let _0x4f94f5=0x0;_0x51cc33[_0x146266([0x6d,0x6f,0x64,0x65,0x6c])][_0x146266([0x6f,0x6e])](_0x146266([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x22df40,_0x1312aa)=>{_0x1312aa[0x0][_0x146266([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4f94f5++,_0x4f94f5==(0x73745db7^_0x485452)&&(_0x1be157(),_0x22df40[_0x146266([0x6f,0x66,0x66])]());});}))];return window[_0x146266([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x146266([0x72,0x61,0x63,0x65])](_0x5b1e95)[_0x146266([0x74,0x68,0x65,0x6e])](()=>_0x4f0d4a);}async function _0x59f248(){await _0x214b32,_0x51cc33[_0x146266([0x6d,0x6f,0x64,0x65,0x6c])][_0x146266([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x13bff8,_0x51cc33[_0x146266([0x6d,0x6f,0x64,0x65,0x6c])][_0x146266([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x13bff8,_0x51cc33[_0x146266([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x146266([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4a72d5(){return window[_0x146266([0x67,0x6c,0x6f,0x62])]&&window[_0x146266([0x67,0x6c,0x6f,0x62])][_0x146266([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x6d0356(_0x692bd3){const _0x5b7e75=_0x200270();_0x51cc33[_0x5b7e75]=_0x146266([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])+_0x692bd3,_0x692bd3!=_0x146266([0x56,0x61,0x6c,0x69,0x64])&&_0x59f248();}function _0x200270(){const _0x1b171d=window[_0x146266([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x146266([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x146266([0x6e,0x6f,0x77])]())[_0x146266([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x146266([0x2e]),'');let _0x312e2d=_0x146266([0x73]);for(let _0x2ee94b=0x0;_0x2ee94b<_0x1b171d[_0x146266([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2ee94b+=0x2){let _0x4af798=window[_0x146266([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1b171d[_0x146266([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2ee94b,_0x2ee94b+0x2));_0x4af798>=_0x2ae30f[_0x146266([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4af798-=_0x2ae30f[_0x146266([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x312e2d+=_0x2ae30f[_0x4af798];}return _0x312e2d;}function _0x2b6348(){const _0x164ad3=_0x49b5e9[_0x146266([0x73,0x70,0x6c,0x69,0x74])](_0x146266([0x2e]));if(0x3!=_0x164ad3[_0x146266([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x547c03(_0x164ad3[0x1]);function _0x547c03(_0xf431a7){const _0x203366=_0x2a3510(_0xf431a7);return _0x203366&&_0x4bc50a()?_0x203366:null;function _0x4bc50a(){const _0x163988=_0x203366[_0x146266([0x6a,0x74,0x69])],_0x5ac660=window[_0x146266([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x163988[_0x146266([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x163988[_0x146266([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x165459={..._0x203366,[_0x146266([0x6a,0x74,0x69])]:_0x163988[_0x146266([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x163988[_0x146266([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x165459[_0x146266([0x76,0x63])],_0x3dec0e(_0x165459)==_0x5ac660;}}}async function _0x26e78b(){let _0x52877b=!0x0;try{const _0x17169b=_0x49b5e9[_0x146266([0x73,0x70,0x6c,0x69,0x74])](_0x146266([0x2e])),[_0x2f3b3d,_0x1a95ae,_0x1b0613]=_0x17169b;return _0x1b4763(_0x2f3b3d),await _0x5a7da4(_0x2f3b3d,_0x1a95ae,_0x1b0613),_0x52877b;}catch{return!0x1;}function _0x1b4763(_0x4f1f90){const _0x4576f1=_0x2a3510(_0x4f1f90);_0x4576f1&&_0x4576f1[_0x146266([0x61,0x6c,0x67])]==_0x146266([0x45,0x53,0x32,0x35,0x36])||(_0x52877b=!0x1);}async function _0x5a7da4(_0x3ec40d,_0x2fd605,_0x815447){const _0x2bb7ad=window[_0x146266([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x146266([0x66,0x72,0x6f,0x6d])](_0x2598c4(_0x815447),_0x1880a7=>_0x1880a7[_0x146266([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x37b97e=new window[(_0x146266([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x146266([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3ec40d+_0x146266([0x2e])+_0x2fd605),_0x45d136=window[_0x146266([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x146266([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x45d136)return;const _0xf813c1=await _0x45d136[_0x146266([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x146266([0x6a,0x77,0x6b]),_0x363318,{[_0x146266([0x6e,0x61,0x6d,0x65])]:_0x146266([0x45,0x43,0x44,0x53,0x41]),[_0x146266([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x146266([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x146266([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x45d136[_0x146266([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x146266([0x6e,0x61,0x6d,0x65])]:_0x146266([0x45,0x43,0x44,0x53,0x41]),[_0x146266([0x68,0x61,0x73,0x68])]:{[_0x146266([0x6e,0x61,0x6d,0x65])]:_0x146266([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0xf813c1,_0x2bb7ad,_0x37b97e)||(_0x52877b=!0x1);}}function _0x2a3510(_0x30838f){return _0x30838f[_0x146266([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x146266([0x65,0x79]))?JSON[_0x146266([0x70,0x61,0x72,0x73,0x65])](_0x2598c4(_0x30838f)):null;}function _0x2598c4(_0x477656){return window[_0x146266([0x61,0x74,0x6f,0x62])](_0x477656[_0x146266([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x146266([0x2b]))[_0x146266([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x146266([0x2f])));}function _0x3dec0e(_0x51ec25){let _0x139c5a=0x1505;function _0x10c455(_0x3c79bf){for(let _0x542ee8=0x0;_0x542ee8<_0x3c79bf[_0x146266([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x542ee8++){const _0x47d3cd=_0x3c79bf[_0x146266([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x542ee8);_0x139c5a=(_0x139c5a<<0x5)+_0x139c5a+_0x47d3cd,_0x139c5a&=_0x139c5a;}}function _0x254303(_0x2ea6ee){Array[_0x146266([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2ea6ee)?_0x2ea6ee[_0x146266([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x254303):_0x2ea6ee&&typeof _0x2ea6ee==_0x146266([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x146266([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2ea6ee)[_0x146266([0x73,0x6f,0x72,0x74])]()[_0x146266([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3e9254,_0x534f9f])=>{_0x10c455(_0x3e9254),_0x254303(_0x534f9f);}):_0x10c455(window[_0x146266([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2ea6ee));}return _0x254303(_0x51ec25),_0x139c5a>>>0x0;}function _0x29b78e(_0x5f8cc4){return _0x5f8cc4[_0x146266([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x146266([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x146266([0x30]));}function _0x438ce5(_0x5caf04){return _0x5caf04[_0x146266([0x73,0x70,0x6c,0x69,0x74])]('')[_0x146266([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x146266([0x6a,0x6f,0x69,0x6e])]('');}function _0x13bff8(){}function _0x146266(_0x16f5fd){return _0x16f5fd['map'](_0x4f7b29=>String['fromCharCode'](_0x4f7b29))['join']('');}_0x6d0356(await _0x917a29());}(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'],[_0x40d2da=>Number(_0x40d2da)>=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(_0x2b87a8){return E['includes'](_0x2b87a8);}function g(_0x388b5b){return Array['from'](_0x388b5b['getStyleNames']())['filter'](P);}function b(_0x3398d1,_0x32197f,_0x56c671){const {spanStyles:_0x65e707,stylesToBeHtmlElements:_0x5961d9}=function(_0x12a35e,_0x5f175e){const _0x4d2d93={},_0x4b0d8d={};return _0x5f175e['forEach'](_0x258407=>{const _0x5037a4=_0x12a35e['getStyle'](_0x258407);if(_0x5037a4){if(function(_0xa413a4){return L['includes'](_0xa413a4);}(_0x258407))_0x4d2d93[_0x258407]=_0x5037a4;else{if(function(_0x3efc1f){return _0x3efc1f in F;}(_0x258407)){const _0x49280b=_0x5037a4['split']('\x20');F[_0x258407]['forEach'](([_0x15ea3f,_0x4fef60])=>{for(const _0x22fb19 of _0x49280b){('function'==typeof _0x15ea3f&&_0x15ea3f(_0x22fb19)||_0x15ea3f===_0x22fb19)&&(_0x4b0d8d[_0x258407]=[..._0x4b0d8d[_0x258407]||[],[_0x15ea3f,_0x4fef60]]);}});}}}}),{'spanStyles':_0x4d2d93,'stylesToBeHtmlElements':_0x4b0d8d};}(_0x3398d1,_0x56c671);!function(_0x2b128a,_0x382e2f,_0x3a52c6){for(const _0x2e3054 in _0x3a52c6){_0x3a52c6[_0x2e3054]['forEach'](([,_0x21a06a])=>{const _0x5a6a20=_0x382e2f['createElement'](_0x21a06a,[],_0x2b128a['getChildren']());_0x382e2f['insertChild'](0x0,_0x5a6a20,_0x2b128a);}),_0x382e2f['removeStyle'](_0x2e3054,_0x2b128a);}}(_0x3398d1,_0x32197f,_0x5961d9),function(_0x474680,_0x47094b,_0x12c0fc){if(!Object['keys'](_0x12c0fc)['length'])return;const _0x4a127b=_0x47094b['createElement']('span',[],_0x474680['getChildren']());_0x47094b['setStyle'](_0x12c0fc,_0x4a127b),_0x47094b['insertChild'](0x0,_0x4a127b,_0x474680),_0x47094b['removeStyle'](Object['keys'](_0x12c0fc),_0x474680);}(_0x3398d1,_0x32197f,_0x65e707);}class a extends _0x1a48e0{['execute'](_0x7a8979){const {body:_0x4d35e5}=_0x7a8979['_parsedData'],_0x124138=new _0x2e5f4f(_0x4d35e5['document']),_0x2c78be=_0x124138['createRangeIn'](_0x4d35e5),_0x5bfd9b=new _0x208ba(_0x124138['document']['stylesProcessor']),_0x430d78=[...new _0x5c071e(_0x5bfd9b)['blockElements'],'font'],_0x33187f=_0x2c78be['getItems']();for(const _0x49b56d of _0x33187f)_0x49b56d['is']('element')&&_0x430d78['includes'](_0x49b56d['name'])&&b(_0x49b56d,_0x124138,g(_0x49b56d));_0x7a8979['content']=_0x4d35e5;}['isActive'](_0x4aa6c6){return super['isActive'](_0x4aa6c6)||p(_0x4aa6c6);}}class s extends _0xcb13ac{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'PasteFromOfficeEnhancedPropagator';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return['PasteFromOffice'];}['init'](){const _0x403286=this['editor'],_0x2c9d18=_0x403286['plugins']['get']('ClipboardPipeline'),_0x5d2a18=_0x403286['editing']['view']['document'],_0x425e8d=new a(_0x5d2a18);_0x2c9d18['on']('inputTransformation',(_0x5d07b6,_0x9d9c90)=>{const _0x3c5d11=_0x9d9c90['dataTransfer']['getData']('text/html');_0x425e8d['isActive'](_0x3c5d11)&&(_0x9d9c90['_parsedData']||(_0x9d9c90['_parsedData']=_0x52933c(_0x3c5d11,_0x5d2a18['stylesProcessor'])),_0x425e8d['execute'](_0x9d9c90));},{'priority':_0x46339d['get']('high')+0xa}),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x246055=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x326d31;for(const _0x1374a9 in _0x246055){const _0x982647=_0x1374a9,_0x410128=_0x246055[_0x982647];if('pasteFromOfficeEnhancedLicenseKeyValid'==_0x410128||'pasteFromOfficeEnhancedLicenseKeyInvalid'==_0x410128||'pasteFromOfficeEnhancedLicenseKeyExpired'==_0x410128||'pasteFromOfficeEnhancedLicenseKeyDomainLimit'==_0x410128||'pasteFromOfficeEnhancedLicenseKeyNotAllowed'==_0x410128||'pasteFromOfficeEnhancedLicenseKeyEvaluationLimit'==_0x410128||'pasteFromOfficeEnhancedLicenseKeyUsageLimit'==_0x410128){delete _0x246055[_0x982647],_0x326d31=_0x410128,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'pasteFromOfficeEnhancedLicenseKeyInvalid'==_0x326d31&&_0x246055['_showLicenseError']('invalid'),'pasteFromOfficeEnhancedLicenseKeyExpired'==_0x326d31&&_0x246055['_showLicenseError']('expired'),'pasteFromOfficeEnhancedLicenseKeyDomainLimit'==_0x326d31&&_0x246055['_showLicenseError']('domainLimit'),'pasteFromOfficeEnhancedLicenseKeyNotAllowed'==_0x326d31&&_0x246055['_showLicenseError']('featureNotAllowed','PasteFromOfficeEnhanced'),'pasteFromOfficeEnhancedLicenseKeyEvaluationLimit'==_0x326d31&&_0x246055['_showLicenseError']('evaluationLimit'),'pasteFromOfficeEnhancedLicenseKeyUsageLimit'==_0x326d31&&_0x246055['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class K extends _0xcb13ac{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.7.0-alpha.
|
|
3
|
+
"version": "47.7.0-alpha.3",
|
|
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.7.0-alpha.
|
|
26
|
-
"@ckeditor/ckeditor5-engine": "47.7.0-alpha.
|
|
27
|
-
"@ckeditor/ckeditor5-paste-from-office": "47.7.0-alpha.
|
|
28
|
-
"@ckeditor/ckeditor5-utils": "47.7.0-alpha.
|
|
29
|
-
"ckeditor5": "47.7.0-alpha.
|
|
25
|
+
"@ckeditor/ckeditor5-core": "47.7.0-alpha.3",
|
|
26
|
+
"@ckeditor/ckeditor5-engine": "47.7.0-alpha.3",
|
|
27
|
+
"@ckeditor/ckeditor5-paste-from-office": "47.7.0-alpha.3",
|
|
28
|
+
"@ckeditor/ckeditor5-utils": "47.7.0-alpha.3",
|
|
29
|
+
"ckeditor5": "47.7.0-alpha.3"
|
|
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(_0x4a5617,_0x323b40){var _0x3b942c=_0x125a,_0x572127=_0x4a5617();while(!![]){try{var _0x5eaf59=parseInt(_0x3b942c(0x1f8))/0x1+parseInt(_0x3b942c(0x1fb))/0x2*(-parseInt(_0x3b942c(0x1f5))/0x3)+parseInt(_0x3b942c(0x1f2))/0x4*(-parseInt(_0x3b942c(0x1f6))/0x5)+parseInt(_0x3b942c(0x1f9))/0x6+-parseInt(_0x3b942c(0x1f3))/0x7+parseInt(_0x3b942c(0x1fa))/0x8+parseInt(_0x3b942c(0x1f4))/0x9*(parseInt(_0x3b942c(0x1f7))/0xa);if(_0x5eaf59===_0x323b40)break;else _0x572127['push'](_0x572127['shift']());}catch(_0x15695a){_0x572127['push'](_0x572127['shift']());}}}(_0x1317,0x81824));function _0x125a(_0x39ca6e,_0x3a34cb){var _0x131735=_0x1317();return _0x125a=function(_0x125aba,_0x2de047){_0x125aba=_0x125aba-0x1f2;var _0x52036b=_0x131735[_0x125aba];return _0x52036b;},_0x125a(_0x39ca6e,_0x3a34cb);}export{PasteFromOfficeEnhanced}from'./pastefromofficeenhanced.js';import'./augmentation.js';function _0x1317(){var _0x3ce1ed=['6455whFtXJ','1830qvneJL','623134FFDqsH','204204YKliCH','4192632QtNeMR','16018ltvbvZ','2588EHcmRC','3461367ouoowb','65691qahyli','246nGDpkj'];_0x1317=function(){return _0x3ce1ed;};return _0x1317();}
|
package/src/legacyerrors.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x49dc(){var _0x8cde65=['15064iBVFDG','1928820kCthsP','10GHeLju','51435qqmSER','2793JkalWr','4339560aMMuCo','269265QLRHjK','9517680nnWUCb','2009048jCPLVZ'];_0x49dc=function(){return _0x8cde65;};return _0x49dc();}(function(_0x539d1e,_0x52ab6a){var _0x46ca14=_0x5c41,_0x593807=_0x539d1e();while(!![]){try{var _0x128bcb=-parseInt(_0x46ca14(0x11d))/0x1+parseInt(_0x46ca14(0x11c))/0x2*(-parseInt(_0x46ca14(0x120))/0x3)+-parseInt(_0x46ca14(0x122))/0x4+parseInt(_0x46ca14(0x124))/0x5+-parseInt(_0x46ca14(0x11f))/0x6+parseInt(_0x46ca14(0x11e))/0x7*(parseInt(_0x46ca14(0x123))/0x8)+parseInt(_0x46ca14(0x121))/0x9;if(_0x128bcb===_0x52ab6a)break;else _0x593807['push'](_0x593807['shift']());}catch(_0x350d2a){_0x593807['push'](_0x593807['shift']());}}}(_0x49dc,0x72785));function _0x5c41(_0x55f3c3,_0x203044){var _0x49dcba=_0x49dc();return _0x5c41=function(_0x5c41d3,_0x2d08cc){_0x5c41d3=_0x5c41d3-0x11c;var _0x40691c=_0x49dcba[_0x5c41d3];return _0x40691c;},_0x5c41(_0x55f3c3,_0x203044);}import{CKEditorError as _0x28bfc7}from'ckeditor5/src/utils.js';
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x4cb0(_0x461fb4,_0x2ae4be){const _0xd41efa=_0xd41e();return _0x4cb0=function(_0x4cb017,_0x18f59e){_0x4cb017=_0x4cb017-0xae;let _0x44de90=_0xd41efa[_0x4cb017];return _0x44de90;},_0x4cb0(_0x461fb4,_0x2ae4be);}const _0x19a07f=_0x4cb0;(function(_0x20af88,_0x2955ac){const _0x4b9804=_0x4cb0,_0x4e4122=_0x20af88();while(!![]){try{const _0x5389d9=-parseInt(_0x4b9804(0xc2))/0x1*(parseInt(_0x4b9804(0xc3))/0x2)+parseInt(_0x4b9804(0xbd))/0x3*(parseInt(_0x4b9804(0xb4))/0x4)+-parseInt(_0x4b9804(0xbe))/0x5+-parseInt(_0x4b9804(0xb2))/0x6+parseInt(_0x4b9804(0xc1))/0x7+-parseInt(_0x4b9804(0xb6))/0x8*(-parseInt(_0x4b9804(0xb1))/0x9)+parseInt(_0x4b9804(0xbb))/0xa;if(_0x5389d9===_0x2955ac)break;else _0x4e4122['push'](_0x4e4122['shift']());}catch(_0x383e49){_0x4e4122['push'](_0x4e4122['shift']());}}}(_0xd41e,0x8bdf7));import{ViewUpcastWriter as _0x5e673d}from'ckeditor5/src/engine.js';import{PasteFromOfficeMSWordNormalizer as _0x190639}from'@ckeditor/ckeditor5-paste-from-office';import{isMSExcelContent as _0x499788}from'../../utils.js';function _0xd41e(){const _0x1b717d=['isActive','setStyle','createRangeIn','6039220AAUUOc','_parsedData','444GMCIfm','3002680WQrPzh','type','hasStyle','5451110Ybqbke','74686NsiNLD','8gToMmw','elementStart','size','document','execute','item','49347ewLUiY','5324778hCIlAO','from','28quRiAV','content','1424iDNUYo','values'];_0xd41e=function(){return _0x1b717d;};return _0xd41e();}import{extractStyles as _0x320da4,expandStyles as _0x1a6c3b,getMatchingStyles as _0x42e7be,flattenStyleDefinitions as _0x528ed6}from'./utils.js';export class MSOfficeStylesInliner extends _0x190639{[_0x19a07f(0xaf)](_0x40aac6){const _0x548b1a=_0x19a07f,{body:_0x33ea63,styles:_0x5975fc}=_0x40aac6[_0x548b1a(0xbc)],_0x952dcf=new _0x5e673d(_0x33ea63[_0x548b1a(0xae)]),_0x45862a=_0x952dcf[_0x548b1a(0xba)](_0x33ea63),_0x47cf4b=_0x320da4(_0x5975fc),_0x5459ac=_0x1a6c3b(_0x47cf4b);for(const _0x5a06bc of _0x45862a){if(_0x548b1a(0xc4)!==_0x5a06bc[_0x548b1a(0xbf)])continue;const _0x5463ba=_0x42e7be(_0x5a06bc[_0x548b1a(0xb0)],_0x5459ac);if(_0x5463ba[_0x548b1a(0xc5)]){const _0x2da021=_0x528ed6(Array[_0x548b1a(0xb3)](_0x5463ba[_0x548b1a(0xb7)]()));for(const _0x579823 in _0x2da021){const _0x2ff0f9=_0x5a06bc[_0x548b1a(0xb0)];_0x2ff0f9[_0x548b1a(0xc0)](_0x579823)||_0x952dcf[_0x548b1a(0xb9)](_0x579823,_0x2da021[_0x579823],_0x2ff0f9);}}}_0x40aac6[_0x548b1a(0xb5)]=_0x33ea63;}[_0x19a07f(0xb8)](_0x563a51){const _0x4b3166=_0x19a07f;return super[_0x4b3166(0xb8)](_0x563a51)||_0x499788(_0x563a51);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x15993c,_0x11aa75){const _0x31e00f=_0x3d7a,_0x10f7b8=_0x15993c();while(!![]){try{const _0x3972fa=-parseInt(_0x31e00f(0x93))/0x1*(parseInt(_0x31e00f(0xa0))/0x2)+parseInt(_0x31e00f(0xab))/0x3*(-parseInt(_0x31e00f(0x92))/0x4)+-parseInt(_0x31e00f(0xa4))/0x5*(parseInt(_0x31e00f(0x9f))/0x6)+parseInt(_0x31e00f(0xa5))/0x7+-parseInt(_0x31e00f(0x9d))/0x8+-parseInt(_0x31e00f(0x97))/0x9*(parseInt(_0x31e00f(0x99))/0xa)+parseInt(_0x31e00f(0xa7))/0xb*(parseInt(_0x31e00f(0x9a))/0xc);if(_0x3972fa===_0x11aa75)break;else _0x10f7b8['push'](_0x10f7b8['shift']());}catch(_0x123dd0){_0x10f7b8['push'](_0x10f7b8['shift']());}}}(_0x4896,0xe2641));const S=/^(?<tagName>(?!\.)[\w-]+)?(\.(?<className>[\w-]+))?$/i;export function getMatchingStyles(_0x5806f1,_0x29f195){const _0x1a5217=_0x3d7a,_0x5d4faf=new Map();for(const [_0x4282f9,_0x319131]of _0x29f195){if(!_0x4282f9[_0x1a5217(0xac)]&&!_0x4282f9[_0x1a5217(0x9e)])continue;const _0x1c84db=!_0x4282f9[_0x1a5217(0xac)]||_0x5806f1[_0x1a5217(0xa1)]===_0x4282f9[_0x1a5217(0xac)],_0x1e48a0=!_0x4282f9[_0x1a5217(0x9e)]||_0x5806f1[_0x1a5217(0xad)](_0x4282f9[_0x1a5217(0x9e)]);_0x1c84db&&_0x1e48a0&&_0x5d4faf[_0x1a5217(0xaf)](_0x4282f9,_0x319131);}return _0x5d4faf;}function _0x4896(){const _0x402e35=['944OMFLwU','147349YiuvSp','split','push','exec','621jnpfWC','length','63690twSPLM','62577588VKikTP','assign','trim','13494488bWfcsx','className','4614CqiEtd','4GiHlAn','name','cssRules','selectorText','8615oVHRuA','312753dvNjLU','groups','11zdGyOo','style','initial','map','7452apTvJH','tagName','hasClass','getPropertyValue','set'];_0x4896=function(){return _0x402e35;};return _0x4896();}export function extractStyles(_0x4ea1a4){const _0x56a175=_0x3d7a,_0x4448f9={};for(const _0x20684b of _0x4ea1a4)for(const _0x614233 of _0x20684b[_0x56a175(0xa2)])if(_0x614233 instanceof CSSStyleRule){const _0x15d2fd=parseCSSStyleDeclaration(_0x614233[_0x56a175(0xa8)]);_0x4448f9[_0x614233[_0x56a175(0xa3)]]=Object[_0x56a175(0x9b)]({},_0x4448f9[_0x614233[_0x56a175(0xa3)]]||{},_0x15d2fd);}return _0x4448f9;}export function expandStyles(_0x153734){const _0xe8dbf3=_0x3d7a,_0x13596b=new Map();for(const _0x3161c8 in _0x153734){const _0x577acc=parseCSSSelector(_0x3161c8),_0x3fd503=_0x153734[_0x3161c8];for(const _0x367d90 of _0x577acc)_0x13596b[_0xe8dbf3(0xaf)](_0x367d90,_0x3fd503);}return _0x13596b;}export function parseCSSStyleDeclaration(_0x2fc5dc){const _0x39fec7=_0x3d7a,_0xd8ce94={};for(let _0x4e01dc=0x0;_0x4e01dc<_0x2fc5dc[_0x39fec7(0x98)];_0x4e01dc++){const _0x3d6563=_0x2fc5dc[_0x4e01dc],_0x4ba319=_0x2fc5dc[_0x39fec7(0xae)](_0x3d6563);_0x39fec7(0xa9)!==_0x4ba319&&(_0xd8ce94[_0x3d6563]=_0x4ba319);}return _0xd8ce94;}function _0x3d7a(_0x2e57cd,_0x204a67){const _0x4896d2=_0x4896();return _0x3d7a=function(_0x3d7ae8,_0x5f1afc){_0x3d7ae8=_0x3d7ae8-0x92;let _0x365774=_0x4896d2[_0x3d7ae8];return _0x365774;},_0x3d7a(_0x2e57cd,_0x204a67);}export function parseCSSSelector(_0x4295ab){const _0x1c134e=_0x3d7a,_0x4cb7ac=_0x4295ab[_0x1c134e(0x94)](',')[_0x1c134e(0xaa)](_0x1199e=>_0x1199e[_0x1c134e(0x9c)]()),_0x29215d=[];for(const _0x44b740 of _0x4cb7ac){const _0x2581da=S[_0x1c134e(0x96)](_0x44b740);_0x2581da&&_0x29215d[_0x1c134e(0x95)](_0x2581da[_0x1c134e(0xa6)]);}return _0x29215d;}export function flattenStyleDefinitions(_0x5ccf38){const _0x475675=_0x3d7a,_0x332016={};for(const _0x137238 of _0x5ccf38)Object[_0x475675(0x9b)](_0x332016,_0x137238);return _0x332016;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x28d968=_0x1395;(function(_0x530930,_0x196b83){const _0x1f9eaa=_0x1395,_0x5be272=_0x530930();while(!![]){try{const _0x3fea2f=-parseInt(_0x1f9eaa(0x10b))/0x1+-parseInt(_0x1f9eaa(0x109))/0x2+-parseInt(_0x1f9eaa(0x10f))/0x3*(parseInt(_0x1f9eaa(0x10e))/0x4)+-parseInt(_0x1f9eaa(0x114))/0x5*(-parseInt(_0x1f9eaa(0x102))/0x6)+parseInt(_0x1f9eaa(0x115))/0x7*(-parseInt(_0x1f9eaa(0x10c))/0x8)+parseInt(_0x1f9eaa(0x104))/0x9*(-parseInt(_0x1f9eaa(0x107))/0xa)+-parseInt(_0x1f9eaa(0x119))/0xb*(-parseInt(_0x1f9eaa(0x11a))/0xc);if(_0x3fea2f===_0x196b83)break;else _0x5be272['push'](_0x5be272['shift']());}catch(_0x4db431){_0x5be272['push'](_0x5be272['shift']());}}}(_0x2fc5,0x32f43));import{ViewUpcastWriter as _0x26f887,ViewDomConverter as _0x5ce46f,ViewDocument as _0x150a4c}from'ckeditor5/src/engine.js';import{PasteFromOfficeMSWordNormalizer as _0x7e7e7f}from'@ckeditor/ckeditor5-paste-from-office';function _0x1395(_0x702704,_0x41bf5a){const _0x2fc58f=_0x2fc5();return _0x1395=function(_0x139517,_0x2519b4){_0x139517=_0x139517-0x102;let _0x481714=_0x2fc58f[_0x139517];return _0x481714;},_0x1395(_0x702704,_0x41bf5a);}import{isMSExcelContent as _0x1f59d8}from'../../utils.js';function _0x2fc5(){const _0x22072b=['document','execute','getItems','includes','5iLPzmh','1317638QOylEk','content','isActive','element','350988yYTrpG','456ZRPNMX','1266996pifrXk','createRangeIn','80802YYcfRZ','blockElements','name','10TBnudH','_parsedData','798612qaucnX','font','196678MuzGFm','16ZfouzN','stylesProcessor','934132TphLuI','3jKKERn'];_0x2fc5=function(){return _0x22072b;};return _0x2fc5();}import{getStylePropertyNamesToPropagate as _0x3d8810,propagateStyleProperties as _0x26d5de}from'./utils.js';export class MSOfficeInlineStylePropagator extends _0x7e7e7f{[_0x28d968(0x111)](_0x1e9b2d){const _0x2c315d=_0x28d968,{body:_0x2f78a3}=_0x1e9b2d[_0x2c315d(0x108)],_0x5cf345=new _0x26f887(_0x2f78a3[_0x2c315d(0x110)]),_0x55b9bf=_0x5cf345[_0x2c315d(0x103)](_0x2f78a3),_0x330651=new _0x150a4c(_0x5cf345[_0x2c315d(0x110)][_0x2c315d(0x10d)]),_0x4bda83=[...new _0x5ce46f(_0x330651)[_0x2c315d(0x105)],_0x2c315d(0x10a)],_0x156862=_0x55b9bf[_0x2c315d(0x112)]();for(const _0x5666e4 of _0x156862)if(_0x5666e4['is'](_0x2c315d(0x118))&&_0x4bda83[_0x2c315d(0x113)](_0x5666e4[_0x2c315d(0x106)])){const _0x4357c2=_0x3d8810(_0x5666e4);_0x26d5de(_0x5666e4,_0x5cf345,_0x4357c2);}_0x1e9b2d[_0x2c315d(0x116)]=_0x2f78a3;}[_0x28d968(0x117)](_0x3d55ec){const _0x2cca48=_0x28d968;return super[_0x2cca48(0x117)](_0x3d55ec)||_0x1f59d8(_0x3d55ec);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x16982a=_0x20ab;function _0x3eca(){const _0x5448a9=['1070hZEwyn','super','insertChild','line-through','bold','bolder','createElement','keys','medium','forEach','209JhMhqu','10StGiWo','4394232JdStJo','span','sub','function','split','vertical-align','395sUxTMu','6136431GzjlrU','underline','sup','filter','font-family','4437708ZbYcJh','text-decoration','removeStyle','setStyle','font-weight','font-style','5YunZBR','2136570DgfSDZ','getChildren','text-decoration-line','getStyle','includes','getStyleNames','2943171hcUrxt','strong','length','8xoZBra','from','font-size','1230852DWGuIz','color','italic'];_0x3eca=function(){return _0x5448a9;};return _0x3eca();}(function(_0x3a197c,_0x44048f){const _0xda213=_0x20ab,_0x2a5759=_0x3a197c();while(!![]){try{const _0x294e8b=-parseInt(_0xda213(0xce))/0x1*(parseInt(_0xda213(0xbc))/0x2)+parseInt(_0xda213(0xe1))/0x3+parseInt(_0xda213(0xd4))/0x4*(-parseInt(_0xda213(0xda))/0x5)+parseInt(_0xda213(0xdb))/0x6+parseInt(_0xda213(0xcf))/0x7*(-parseInt(_0xda213(0xb6))/0x8)+-parseInt(_0xda213(0xc8))/0x9*(parseInt(_0xda213(0xc7))/0xa)+-parseInt(_0xda213(0xc6))/0xb*(-parseInt(_0xda213(0xb9))/0xc);if(_0x294e8b===_0x44048f)break;else _0x2a5759['push'](_0x2a5759['shift']());}catch(_0x309825){_0x2a5759['push'](_0x2a5759['shift']());}}}(_0x3eca,0x92930));export const CSS_PROPERTIES_TO_PROPAGATE=[_0x16982a(0xba),_0x16982a(0xd3),_0x16982a(0xb8),_0x16982a(0xd5),_0x16982a(0xdd),_0x16982a(0xd8),_0x16982a(0xd9),_0x16982a(0xcd)];export const CSS_PROPERTIES_TO_BE_SPANS=[_0x16982a(0xba),_0x16982a(0xd3),_0x16982a(0xb8)];export const CSS_PROPERTIES_TO_BE_HTML_ELEMENTS={'font-style':[[_0x16982a(0xbb),'i']],'font-weight':[[_0x16982a(0xc4),_0x16982a(0xe2)],[_0x16982a(0xc0),_0x16982a(0xe2)],[_0x16982a(0xc1),_0x16982a(0xe2)],[_0x520f08=>Number(_0x520f08)>=0x258,_0x16982a(0xe2)]],'text-decoration':[[_0x16982a(0xd0),'u'],[_0x16982a(0xbf),'s']],'text-decoration-line':[[_0x16982a(0xd0),'u'],[_0x16982a(0xbf),'s']],'vertical-align':[[_0x16982a(0xca),_0x16982a(0xca)],[_0x16982a(0xbd),_0x16982a(0xd1)]]};export function isPropertyToBePropagated(_0x2e3651){const _0x5aa99d=_0x16982a;return CSS_PROPERTIES_TO_PROPAGATE[_0x5aa99d(0xdf)](_0x2e3651);}export function isPropertyToBePropagatedAsSpan(_0xf28053){const _0x12bd13=_0x16982a;return CSS_PROPERTIES_TO_BE_SPANS[_0x12bd13(0xdf)](_0xf28053);}export function isPropertyToBePropagatedAsHTMLElement(_0x198858){return _0x198858 in CSS_PROPERTIES_TO_BE_HTML_ELEMENTS;}export function getStylePropertyNamesToPropagate(_0x9cb347){const _0x5150d1=_0x16982a;return Array[_0x5150d1(0xb7)](_0x9cb347[_0x5150d1(0xe0)]())[_0x5150d1(0xd2)](isPropertyToBePropagated);}export function propagateStyleProperties(_0x26d8bf,_0xb86b18,_0xd8cc68){const {spanStyles:_0x1109b3,stylesToBeHtmlElements:_0x1d8f6e}=getStylesToPropagate(_0x26d8bf,_0xd8cc68);propagateStylesAsHTMLElements(_0x26d8bf,_0xb86b18,_0x1d8f6e),propagateStylesAsSpan(_0x26d8bf,_0xb86b18,_0x1109b3);}function _0x20ab(_0x1f1d5e,_0x3d74b3){const _0x3ecaa1=_0x3eca();return _0x20ab=function(_0x20ab3e,_0x172a8c){_0x20ab3e=_0x20ab3e-0xb6;let _0x4df5df=_0x3ecaa1[_0x20ab3e];return _0x4df5df;},_0x20ab(_0x1f1d5e,_0x3d74b3);}export function propagateStylesAsHTMLElements(_0x264e19,_0x227280,_0x203db6){const _0x1f52e4=_0x16982a;for(const _0x5acc06 in _0x203db6){_0x203db6[_0x5acc06][_0x1f52e4(0xc5)](([,_0x36e276])=>{const _0x308668=_0x1f52e4,_0x3356b2=_0x227280[_0x308668(0xc2)](_0x36e276,[],_0x264e19[_0x308668(0xdc)]());_0x227280[_0x308668(0xbe)](0x0,_0x3356b2,_0x264e19);}),_0x227280[_0x1f52e4(0xd6)](_0x5acc06,_0x264e19);}}export function propagateStylesAsSpan(_0x41ae5e,_0x23679f,_0xc847eb){const _0x57af69=_0x16982a;if(!Object[_0x57af69(0xc3)](_0xc847eb)[_0x57af69(0xe3)])return;const _0x12d6b9=_0x23679f[_0x57af69(0xc2)](_0x57af69(0xc9),[],_0x41ae5e[_0x57af69(0xdc)]());_0x23679f[_0x57af69(0xd7)](_0xc847eb,_0x12d6b9),_0x23679f[_0x57af69(0xbe)](0x0,_0x12d6b9,_0x41ae5e),_0x23679f[_0x57af69(0xd6)](Object[_0x57af69(0xc3)](_0xc847eb),_0x41ae5e);}export function getStylesToPropagate(_0x253262,_0x3c3f80){const _0x4a9c9b=_0x16982a,_0x59ba6b={},_0x37b257={};return _0x3c3f80[_0x4a9c9b(0xc5)](_0x2e4c7a=>{const _0x3f7d5e=_0x4a9c9b,_0x5b91e1=_0x253262[_0x3f7d5e(0xde)](_0x2e4c7a);if(_0x5b91e1){if(isPropertyToBePropagatedAsSpan(_0x2e4c7a))_0x59ba6b[_0x2e4c7a]=_0x5b91e1;else{if(isPropertyToBePropagatedAsHTMLElement(_0x2e4c7a)){const _0x38eb91=_0x5b91e1[_0x3f7d5e(0xcc)]('\x20');CSS_PROPERTIES_TO_BE_HTML_ELEMENTS[_0x2e4c7a][_0x3f7d5e(0xc5)](([_0x742035,_0x350849])=>{const _0x2d3f93=_0x3f7d5e;for(const _0x109336 of _0x38eb91){(_0x2d3f93(0xcb)==typeof _0x742035&&_0x742035(_0x109336)||_0x742035===_0x109336)&&(_0x37b257[_0x2e4c7a]=[..._0x37b257[_0x2e4c7a]||[],[_0x742035,_0x350849]]);}});}}}}),{'spanStyles':_0x59ba6b,'stylesToBeHtmlElements':_0x37b257};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
function _0x5543(_0x14013d,_0x1346f4){var _0x4ccc8e=_0x4ccc();return _0x5543=function(_0x5543ac,_0x2110a3){_0x5543ac=_0x5543ac-0xca;var _0x117f3c=_0x4ccc8e[_0x5543ac];return _0x117f3c;},_0x5543(_0x14013d,_0x1346f4);}var _0xd21f9e=_0x5543;(function(_0x300e12,_0x10f542){var _0x1d8967=_0x5543,_0x229526=_0x300e12();while(!![]){try{var _0x323027=parseInt(_0x1d8967(0xda))/0x1+parseInt(_0x1d8967(0xd0))/0x2*(parseInt(_0x1d8967(0xcd))/0x3)+-parseInt(_0x1d8967(0xd8))/0x4*(parseInt(_0x1d8967(0xca))/0x5)+parseInt(_0x1d8967(0xcc))/0x6*(-parseInt(_0x1d8967(0xd2))/0x7)+-parseInt(_0x1d8967(0xd3))/0x8+-parseInt(_0x1d8967(0xd4))/0x9*(parseInt(_0x1d8967(0xce))/0xa)+parseInt(_0x1d8967(0xdb))/0xb*(parseInt(_0x1d8967(0xd5))/0xc);if(_0x323027===_0x10f542)break;else _0x229526['push'](_0x229526['shift']());}catch(_0x4ac83c){_0x229526['push'](_0x229526['shift']());}}}(_0x4ccc,0xac3d6));import{Plugin as _0x1a5160}from'ckeditor5/src/core.js';function _0x4ccc(){var _0x3834a4=['isPremiumPlugin','PasteFromOfficeEnhanced','79400COFOiV','PasteFromOffice','1062966gmaHms','88DlgqAz','35SUvNUR','requires','18zTsYiO','9QlMlvS','23530vulbOK','isOfficialPlugin','102776KjoUBH','pluginName','1264263kNQeYQ','10659192gYNOTx','324bgusXK','2379372mTdBYe'];_0x4ccc=function(){return _0x3834a4;};return _0x4ccc();}import{PasteFromOfficeEnhancedInliner as _0x114d20}from'./pastefromofficeenhancedinliner.js';import{PasteFromOfficeEnhancedPropagator as _0x199f14}from'./pastefromofficeenhancedpropagator.js';export class PasteFromOfficeEnhanced extends _0x1a5160{static get[_0xd21f9e(0xd1)](){var _0x437dee=_0xd21f9e;return _0x437dee(0xd7);}static get[_0xd21f9e(0xcf)](){return!0x0;}static get[_0xd21f9e(0xd6)](){return!0x0;}static get[_0xd21f9e(0xcb)](){var _0x3739f6=_0xd21f9e;return[_0x3739f6(0xd9),_0x114d20,_0x199f14];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0xbe0c(){const _0x35d3fb=['editor','inputTransformation','isActive','plugins','PasteFromOfficeEnhancedInliner','isPremiumPlugin','3660270CLNsbi','map','isOfficialPlugin','join','1266986DjyeBP','get','PasteFromOffice','_parsedData','high','9230760qqmoVg','getData','init','pluginName','9084696LndJSU','ClipboardPipeline','4767256QRrRDy','view','2zIjRgc','fromCharCode','stylesProcessor','requires','document','9105750EUxnEs','execute','dataTransfer','editing','text/html','afterInit','href','13062056uOYEeS'];_0xbe0c=function(){return _0x35d3fb;};return _0xbe0c();}const _0x1231d5=_0x5b02;(function(_0x44d5e2,_0x30676f){const _0x56c727=_0x5b02,_0x1bdca4=_0x44d5e2();while(!![]){try{const _0x3f3864=-parseInt(_0x56c727(0x16f))/0x1*(-parseInt(_0x56c727(0x17c))/0x2)+parseInt(_0x56c727(0x18f))/0x3+-parseInt(_0x56c727(0x17a))/0x4+-parseInt(_0x56c727(0x181))/0x5+-parseInt(_0x56c727(0x178))/0x6+parseInt(_0x56c727(0x188))/0x7+parseInt(_0x56c727(0x174))/0x8;if(_0x3f3864===_0x30676f)break;else _0x1bdca4['push'](_0x1bdca4['shift']());}catch(_0x41fd56){_0x1bdca4['push'](_0x1bdca4['shift']());}}}(_0xbe0c,0xef389));import{Plugin as _0x52528e}from'ckeditor5/src/core.js';import{parsePasteOfficeHtml as _0x449b58}from'@ckeditor/ckeditor5-paste-from-office';import{priorities as _0x304ab7,uid as _0x1659c1}from'ckeditor5/src/utils.js';function _0x5b02(_0xca0f0,_0xe2b9b5){const _0xbe0c4f=_0xbe0c();return _0x5b02=function(_0x5b02d4,_0x261afe){_0x5b02d4=_0x5b02d4-0x16f;let _0x1dbdca=_0xbe0c4f[_0x5b02d4];return _0x1dbdca;},_0x5b02(_0xca0f0,_0xe2b9b5);}import{MSOfficeStylesInliner as _0x623ec1}from'./normalizers/inliner/msofficestylesinliner.js';export class PasteFromOfficeEnhancedInliner extends _0x52528e{static get[_0x1231d5(0x177)](){const _0x1fd6d4=_0x1231d5;return _0x1fd6d4(0x18d);}static get[_0x1231d5(0x191)](){return!0x0;}static get[_0x1231d5(0x18e)](){return!0x0;}static get[_0x1231d5(0x17f)](){const _0x1c22e7=_0x1231d5;return[_0x1c22e7(0x171)];}[_0x1231d5(0x176)](){const _0x3ce9c4=_0x1231d5,_0x446a2e=this[_0x3ce9c4(0x189)],_0x21ad89=_0x446a2e[_0x3ce9c4(0x18c)][_0x3ce9c4(0x170)](_0x3ce9c4(0x179)),_0x393968=_0x446a2e[_0x3ce9c4(0x184)][_0x3ce9c4(0x17b)][_0x3ce9c4(0x180)],_0x240a1c=new _0x623ec1(_0x393968);_0x21ad89['on'](_0x3ce9c4(0x18a),(_0x15b4ab,_0x5cc639)=>{const _0xb6d3f6=_0x3ce9c4,_0x20f21e=_0x5cc639[_0xb6d3f6(0x183)][_0xb6d3f6(0x175)](_0xb6d3f6(0x185));_0x240a1c[_0xb6d3f6(0x18b)](_0x20f21e)&&(_0x5cc639[_0xb6d3f6(0x172)]||(_0x5cc639[_0xb6d3f6(0x172)]=_0x449b58(_0x20f21e,_0x393968[_0xb6d3f6(0x17e)])),_0x240a1c[_0xb6d3f6(0x182)](_0x5cc639));},{'priority':_0x304ab7[_0x3ce9c4(0x170)](_0x3ce9c4(0x173))+0xb});}[_0x1231d5(0x186)](){!async function(_0x2fa4cb){const _0xadc79a=_0xda0074([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]),_0x63f899=0x7374585f,_0x280c57=0x7373df7f^_0x63f899,_0x2ada1b=window[_0xda0074([0x44,0x61,0x74,0x65])][_0xda0074([0x6e,0x6f,0x77])](),_0xde7d16=_0x2fa4cb[_0xda0074([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x67c855=new window[(_0xda0074([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x380fa2=>{_0xde7d16[_0xda0074([0x6f,0x6e,0x63,0x65])](_0xda0074([0x72,0x65,0x61,0x64,0x79]),_0x380fa2);}),_0x253a66={[_0xda0074([0x6b,0x74,0x79])]:_0xda0074([0x45,0x43]),[_0xda0074([0x75,0x73,0x65])]:_0xda0074([0x73,0x69,0x67]),[_0xda0074([0x63,0x72,0x76])]:_0xda0074([0x50,0x2d,0x32,0x35,0x36]),[_0xda0074([0x78])]:_0xda0074([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]),[_0xda0074([0x79])]:_0xda0074([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]),[_0xda0074([0x61,0x6c,0x67])]:_0xda0074([0x45,0x53,0x32,0x35,0x36])},_0x5a741e=_0xde7d16[_0xda0074([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0xda0074([0x67,0x65,0x74])](_0xda0074([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x2f4dd2(){let _0x4cba85,_0x594778=null,_0x383743=null;try{if(_0x5a741e==_0xda0074([0x47,0x50,0x4c]))return _0xda0074([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4cba85=_0x2d9e48(),!_0x4cba85)return _0xda0074([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4cba85[_0xda0074([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x383743=_0x54ca29(_0x4cba85[_0xda0074([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4cba85[_0xda0074([0x6a,0x74,0x69])])),await _0x381f30()?_0x3e5a8e()?_0x56d34e()?_0xda0074([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x337609()?(_0x4cba85[_0xda0074([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xda0074([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x594778=_0x265823(_0xda0074([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x32cb4f()):_0xda0074([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0xda0074([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0xda0074([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0xda0074([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x56d34e(){const _0x1e323f=[_0xda0074([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0xda0074([0x74,0x72,0x69,0x61,0x6c])][_0xda0074([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4cba85[_0xda0074([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2ada1b/0x3e8:0xe10*_0x280c57;return _0x4cba85[_0xda0074([0x65,0x78,0x70])]<_0x1e323f;}function _0x3e5a8e(){const _0x5d7642=_0x4cba85[_0xda0074([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x5d7642&&(!!_0x5d7642[_0xda0074([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xda0074([0x2a]))||(!!_0x5d7642[_0xda0074([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xda0074([0x50,0x4f,0x45]))||(!!_0x5d7642[_0xda0074([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xda0074([0x50,0x50]))||!(!_0x5d7642[_0xda0074([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xda0074([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))||!_0x358c8a()))));}function _0x337609(){const _0x4882a1=_0x5b02,_0x539ce8=_0x4cba85[_0xda0074([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x539ce8||0x0==_0x539ce8[_0xda0074([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x4eef8d}=new URL(window[_0xda0074([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x4882a1(0x187)]);if(_0x539ce8[_0xda0074([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4eef8d))return!0x0;const _0x1593bd=_0x4eef8d[_0xda0074([0x73,0x70,0x6c,0x69,0x74])](_0xda0074([0x2e]));return _0x539ce8[_0xda0074([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xa8ade2=>_0xa8ade2[_0xda0074([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xda0074([0x2a])))[_0xda0074([0x6d,0x61,0x70])](_0x3f926b=>_0x3f926b[_0xda0074([0x73,0x70,0x6c,0x69,0x74])](_0xda0074([0x2e])))[_0xda0074([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x577dae=>_0x577dae[_0xda0074([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1593bd[_0xda0074([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xda0074([0x6d,0x61,0x70])](_0x1d79a0=>Array(_0x1593bd[_0xda0074([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x1d79a0[_0xda0074([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xda0074([0x66,0x69,0x6c,0x6c])](_0x1d79a0[0x0]===_0xda0074([0x2a])?_0xda0074([0x2a]):'')[_0xda0074([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x1d79a0))[_0xda0074([0x73,0x6f,0x6d,0x65])](_0x446a57=>_0x1593bd[_0xda0074([0x65,0x76,0x65,0x72,0x79])]((_0x1ce299,_0x33562c)=>_0x446a57[_0x33562c]===_0x1ce299||_0x446a57[_0x33562c]===_0xda0074([0x2a])));}function _0x32cb4f(){return _0x594778&&_0x383743?new window[(_0xda0074([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x50d40a,_0x469bc8)=>{_0x594778[_0xda0074([0x74,0x68,0x65,0x6e])](_0x50d40a,_0x469bc8),_0x383743[_0xda0074([0x74,0x68,0x65,0x6e])](_0x749438=>{_0x749438!=_0xda0074([0x56,0x61,0x6c,0x69,0x64])&&_0x50d40a(_0x749438);},_0x469bc8);}):_0x594778||_0x383743||_0xda0074([0x56,0x61,0x6c,0x69,0x64]);}}function _0x54ca29(_0x37101f,_0x46ff4c){return new window[(_0xda0074([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5e77cf=>{if(_0x59db18())return _0x5e77cf(_0xda0074([0x56,0x61,0x6c,0x69,0x64]));_0x5292be(),_0xde7d16[_0xda0074([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0xda0074([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4371a1=!0x1;const _0x195a9e=_0x1659c1();function _0xc47109(_0x230c0b){return!!_0x230c0b&&(typeof _0x230c0b===_0xda0074([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x230c0b===_0xda0074([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x230c0b[_0xda0074([0x74,0x68,0x65,0x6e])]===_0xda0074([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x230c0b[_0xda0074([0x63,0x61,0x74,0x63,0x68])]===_0xda0074([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x394c23(_0x512cd2){_0x469d26(_0x512cd2)[_0xda0074([0x74,0x68,0x65,0x6e])](_0x159f2c=>{if(!_0x159f2c||_0x159f2c[_0xda0074([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0xda0074([0x6f,0x6b]))return _0xda0074([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1338d9(_0x425a56(_0x195a9e+_0x46ff4c))!=_0x159f2c[_0xda0074([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0xda0074([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0xda0074([0x56,0x61,0x6c,0x69,0x64]);})[_0xda0074([0x74,0x68,0x65,0x6e])](_0x35e1f4=>(_0x1567c0(),_0x35e1f4),()=>{const _0x3466f9=_0x5ceae2();return null==_0x3466f9?(_0x1567c0(),_0xda0074([0x56,0x61,0x6c,0x69,0x64])):_0xda0074(_0x2ada1b-_0x3466f9>(0x5778dc5f^_0x63f899)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0xda0074([0x74,0x68,0x65,0x6e])](_0x5e77cf)[_0xda0074([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5e77cf(_0xda0074([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x55ede9=0x7342b6df^_0x63f899;function _0x1567c0(){const _0x1984c5=_0xda0074([0x6c,0x6c,0x63,0x74,0x2d])+_0x1338d9(_0x425a56(_0x37101f)),_0xb1b12f=_0x2e0e66(_0x1338d9(window[_0xda0074([0x4d,0x61,0x74,0x68])][_0xda0074([0x63,0x65,0x69,0x6c])](_0x2ada1b/_0x55ede9)));window[_0xda0074([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xda0074([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1984c5,_0xb1b12f);}function _0x5ceae2(){const _0x12fc4c=_0xda0074([0x6c,0x6c,0x63,0x74,0x2d])+_0x1338d9(_0x425a56(_0x37101f)),_0x377fa4=window[_0xda0074([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xda0074([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x12fc4c);return _0x377fa4?window[_0xda0074([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2e0e66(_0x377fa4),0x10)*_0x55ede9:null;}function _0x469d26(_0x5b6e11){return new window[(_0xda0074([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4e9181,_0x265230)=>{_0x5b6e11[_0xda0074([0x74,0x68,0x65,0x6e])](_0x4e9181,_0x265230),window[_0xda0074([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x265230,0x73758c9f^_0x63f899);});}}_0xde7d16[_0xda0074([0x6f,0x6e])](_0xda0074([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3092d6,_0x58f8a2)=>{if(_0x58f8a2[0x0]!=_0x37101f)return _0x5e77cf(_0xda0074([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x58f8a2[0x1]={..._0x58f8a2[0x1],[_0xda0074([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x195a9e};},{[_0xda0074([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xda0074([0x68,0x69,0x67,0x68])}),_0xde7d16[_0xda0074([0x6f,0x6e])](_0xda0074([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x217a64=>{_0xc47109(_0x217a64[_0xda0074([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4371a1=!0x0,_0x394c23(_0x217a64[_0xda0074([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0xda0074([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xda0074([0x6c,0x6f,0x77])}),_0x67c855[_0xda0074([0x74,0x68,0x65,0x6e])](()=>{_0x4371a1||_0x5e77cf(_0xda0074([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x59db18(){return _0xde7d16[_0xda0074([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xda0074([0x76,0x69,0x65,0x77])][_0xda0074([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0xda0074([0x61,0x75,0x74,0x6f]);}function _0x5292be(){_0xde7d16[_0xda0074([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xda0074([0x76,0x69,0x65,0x77])][_0xda0074([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0xda0074([0x61,0x75,0x74,0x6f]);}}function _0x265823(_0x534c38){const _0x39073b=[new window[(_0xda0074([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3155ef=>setTimeout(_0x3155ef,0x737d6693^_0x63f899)),_0x67c855[_0xda0074([0x74,0x68,0x65,0x6e])](()=>new window[(_0xda0074([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3a401a=>{let _0x13b53c=0x0;_0xde7d16[_0xda0074([0x6d,0x6f,0x64,0x65,0x6c])][_0xda0074([0x6f,0x6e])](_0xda0074([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x9582db,_0x4c85b4)=>{_0x4c85b4[0x0][_0xda0074([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x13b53c++,_0x13b53c==(0x73745db7^_0x63f899)&&(_0x3a401a(),_0x9582db[_0xda0074([0x6f,0x66,0x66])]());});}))];return window[_0xda0074([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0xda0074([0x72,0x61,0x63,0x65])](_0x39073b)[_0xda0074([0x74,0x68,0x65,0x6e])](()=>_0x534c38);}async function _0x4d9662(){await _0x67c855,_0xde7d16[_0xda0074([0x6d,0x6f,0x64,0x65,0x6c])][_0xda0074([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5f23d5,_0xde7d16[_0xda0074([0x6d,0x6f,0x64,0x65,0x6c])][_0xda0074([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5f23d5,_0xde7d16[_0xda0074([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0xda0074([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x358c8a(){return window[_0xda0074([0x67,0x6c,0x6f,0x62])]&&window[_0xda0074([0x67,0x6c,0x6f,0x62])][_0xda0074([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x3e5714(_0x2fa337){const _0x458f72=_0x2b0ab3();_0xde7d16[_0x458f72]=_0xda0074([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])+_0x2fa337,_0x2fa337!=_0xda0074([0x56,0x61,0x6c,0x69,0x64])&&_0x4d9662();}function _0x2b0ab3(){const _0xc0f4b0=window[_0xda0074([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0xda0074([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0xda0074([0x6e,0x6f,0x77])]())[_0xda0074([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0xda0074([0x2e]),'');let _0xd7cf0a=_0xda0074([0x73]);for(let _0x201d2b=0x0;_0x201d2b<_0xc0f4b0[_0xda0074([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x201d2b+=0x2){let _0x4d1538=window[_0xda0074([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xc0f4b0[_0xda0074([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x201d2b,_0x201d2b+0x2));_0x4d1538>=_0xadc79a[_0xda0074([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4d1538-=_0xadc79a[_0xda0074([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xd7cf0a+=_0xadc79a[_0x4d1538];}return _0xd7cf0a;}function _0x2d9e48(){const _0x1ea237=_0x5a741e[_0xda0074([0x73,0x70,0x6c,0x69,0x74])](_0xda0074([0x2e]));if(0x3!=_0x1ea237[_0xda0074([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0xd72c0c(_0x1ea237[0x1]);function _0xd72c0c(_0x23c598){const _0x2048dc=_0x54e462(_0x23c598);return _0x2048dc&&_0x153d01()?_0x2048dc:null;function _0x153d01(){const _0x5cd38d=_0x2048dc[_0xda0074([0x6a,0x74,0x69])],_0x431e62=window[_0xda0074([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5cd38d[_0xda0074([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5cd38d[_0xda0074([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x175cb3={..._0x2048dc,[_0xda0074([0x6a,0x74,0x69])]:_0x5cd38d[_0xda0074([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x5cd38d[_0xda0074([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x175cb3[_0xda0074([0x76,0x63])],_0x425a56(_0x175cb3)==_0x431e62;}}}async function _0x381f30(){let _0x2de8ab=!0x0;try{const _0x321ae7=_0x5a741e[_0xda0074([0x73,0x70,0x6c,0x69,0x74])](_0xda0074([0x2e])),[_0x2c2412,_0x513f55,_0x36a07]=_0x321ae7;return _0x2592e6(_0x2c2412),await _0x160b56(_0x2c2412,_0x513f55,_0x36a07),_0x2de8ab;}catch{return!0x1;}function _0x2592e6(_0x3ef968){const _0x4adac6=_0x54e462(_0x3ef968);_0x4adac6&&_0x4adac6[_0xda0074([0x61,0x6c,0x67])]==_0xda0074([0x45,0x53,0x32,0x35,0x36])||(_0x2de8ab=!0x1);}async function _0x160b56(_0x2d5b13,_0xc21646,_0x56d014){const _0x41d8bf=window[_0xda0074([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0xda0074([0x66,0x72,0x6f,0x6d])](_0x319c95(_0x56d014),_0x3eaf50=>_0x3eaf50[_0xda0074([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2bf93b=new window[(_0xda0074([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0xda0074([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2d5b13+_0xda0074([0x2e])+_0xc21646),_0xc8ced5=window[_0xda0074([0x63,0x72,0x79,0x70,0x74,0x6f])][_0xda0074([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0xc8ced5)return;const _0x510e20=await _0xc8ced5[_0xda0074([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0xda0074([0x6a,0x77,0x6b]),_0x253a66,{[_0xda0074([0x6e,0x61,0x6d,0x65])]:_0xda0074([0x45,0x43,0x44,0x53,0x41]),[_0xda0074([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0xda0074([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0xda0074([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0xc8ced5[_0xda0074([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0xda0074([0x6e,0x61,0x6d,0x65])]:_0xda0074([0x45,0x43,0x44,0x53,0x41]),[_0xda0074([0x68,0x61,0x73,0x68])]:{[_0xda0074([0x6e,0x61,0x6d,0x65])]:_0xda0074([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x510e20,_0x41d8bf,_0x2bf93b)||(_0x2de8ab=!0x1);}}function _0x54e462(_0x3f4f43){return _0x3f4f43[_0xda0074([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0xda0074([0x65,0x79]))?JSON[_0xda0074([0x70,0x61,0x72,0x73,0x65])](_0x319c95(_0x3f4f43)):null;}function _0x319c95(_0x5dc23a){return window[_0xda0074([0x61,0x74,0x6f,0x62])](_0x5dc23a[_0xda0074([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0xda0074([0x2b]))[_0xda0074([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0xda0074([0x2f])));}function _0x425a56(_0x2707da){let _0x26b78f=0x1505;function _0x434b4c(_0x170d4e){for(let _0x257e64=0x0;_0x257e64<_0x170d4e[_0xda0074([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x257e64++){const _0x36d156=_0x170d4e[_0xda0074([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x257e64);_0x26b78f=(_0x26b78f<<0x5)+_0x26b78f+_0x36d156,_0x26b78f&=_0x26b78f;}}function _0xaef962(_0x244698){Array[_0xda0074([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x244698)?_0x244698[_0xda0074([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xaef962):_0x244698&&typeof _0x244698==_0xda0074([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0xda0074([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x244698)[_0xda0074([0x73,0x6f,0x72,0x74])]()[_0xda0074([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x249c59,_0x30e70d])=>{_0x434b4c(_0x249c59),_0xaef962(_0x30e70d);}):_0x434b4c(window[_0xda0074([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x244698));}return _0xaef962(_0x2707da),_0x26b78f>>>0x0;}function _0x1338d9(_0x203f03){return _0x203f03[_0xda0074([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0xda0074([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0xda0074([0x30]));}function _0x2e0e66(_0x781157){return _0x781157[_0xda0074([0x73,0x70,0x6c,0x69,0x74])]('')[_0xda0074([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0xda0074([0x6a,0x6f,0x69,0x6e])]('');}function _0x5f23d5(){}function _0xda0074(_0x26995a){const _0x40793c=_0x5b02;return _0x26995a[_0x40793c(0x190)](_0x424c8b=>String[_0x40793c(0x17d)](_0x424c8b))[_0x40793c(0x192)]('');}_0x3e5714(await _0x2f4dd2());}(this);}}
|
|
23
|
+
const _0x4f307e=_0x5552;function _0x5552(_0x14e13a,_0x4ecf1b){const _0x134152=_0x1341();return _0x5552=function(_0x555290,_0x3836cc){_0x555290=_0x555290-0x155;let _0x265f09=_0x134152[_0x555290];return _0x265f09;},_0x5552(_0x14e13a,_0x4ecf1b);}(function(_0x34e9fd,_0x57db29){const _0x34b092=_0x5552,_0x29670c=_0x34e9fd();while(!![]){try{const _0x219d0d=parseInt(_0x34b092(0x155))/0x1+-parseInt(_0x34b092(0x167))/0x2+-parseInt(_0x34b092(0x172))/0x3*(-parseInt(_0x34b092(0x173))/0x4)+parseInt(_0x34b092(0x16e))/0x5+parseInt(_0x34b092(0x178))/0x6+-parseInt(_0x34b092(0x163))/0x7*(parseInt(_0x34b092(0x15e))/0x8)+-parseInt(_0x34b092(0x15f))/0x9*(-parseInt(_0x34b092(0x179))/0xa);if(_0x219d0d===_0x57db29)break;else _0x29670c['push'](_0x29670c['shift']());}catch(_0x42664c){_0x29670c['push'](_0x29670c['shift']());}}}(_0x1341,0x74e55));import{Plugin as _0x5da921}from'ckeditor5/src/core.js';function _0x1341(){const _0x116bb7=['editor','343701xtuvOE','4FxmQZl','view','get','document','afterInit','2204814sMMCup','8473140yEmzVb','execute','344866CGpNDy','init','inputTransformation','editing','isPremiumPlugin','ClipboardPipeline','isActive','high','isOfficialPlugin','1608zJzkFQ','9rlfMnJ','requires','PasteFromOffice','pluginName','30961MutzfJ','href','fromCharCode','PasteFromOfficeEnhancedInliner','1590838KueMmf','_parsedData','stylesProcessor','join','dataTransfer','getData','text/html','2445155ydZDaN','plugins','map'];_0x1341=function(){return _0x116bb7;};return _0x1341();}import{parsePasteOfficeHtml as _0x340d48}from'@ckeditor/ckeditor5-paste-from-office';import{priorities as _0x1880fb,uid as _0x13c921}from'ckeditor5/src/utils.js';import{MSOfficeStylesInliner as _0x3f20dc}from'./normalizers/inliner/msofficestylesinliner.js';export class PasteFromOfficeEnhancedInliner extends _0x5da921{static get[_0x4f307e(0x162)](){const _0x3e5209=_0x4f307e;return _0x3e5209(0x166);}static get[_0x4f307e(0x15d)](){return!0x0;}static get[_0x4f307e(0x159)](){return!0x0;}static get[_0x4f307e(0x160)](){const _0x20f09c=_0x4f307e;return[_0x20f09c(0x161)];}[_0x4f307e(0x156)](){const _0x1b5a60=_0x4f307e,_0x1cc622=this[_0x1b5a60(0x171)],_0x3aee8c=_0x1cc622[_0x1b5a60(0x16f)][_0x1b5a60(0x175)](_0x1b5a60(0x15a)),_0x1014ae=_0x1cc622[_0x1b5a60(0x158)][_0x1b5a60(0x174)][_0x1b5a60(0x176)],_0xc64843=new _0x3f20dc(_0x1014ae);_0x3aee8c['on'](_0x1b5a60(0x157),(_0x3f6869,_0x2e0a71)=>{const _0xe8de2a=_0x1b5a60,_0x20aa2a=_0x2e0a71[_0xe8de2a(0x16b)][_0xe8de2a(0x16c)](_0xe8de2a(0x16d));_0xc64843[_0xe8de2a(0x15b)](_0x20aa2a)&&(_0x2e0a71[_0xe8de2a(0x168)]||(_0x2e0a71[_0xe8de2a(0x168)]=_0x340d48(_0x20aa2a,_0x1014ae[_0xe8de2a(0x169)])),_0xc64843[_0xe8de2a(0x17a)](_0x2e0a71));},{'priority':_0x1880fb[_0x1b5a60(0x175)](_0x1b5a60(0x15c))+0xb});}[_0x4f307e(0x177)](){!async function(_0x305752){const _0x839f76=_0xf37a7([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]),_0x34dae9=0x7374585f,_0x5d6e34=0x7373df67^_0x34dae9,_0x8710fb=window[_0xf37a7([0x44,0x61,0x74,0x65])][_0xf37a7([0x6e,0x6f,0x77])](),_0xea42c5=_0x305752[_0xf37a7([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x225ff3=new window[(_0xf37a7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x7cf4c2=>{_0xea42c5[_0xf37a7([0x6f,0x6e,0x63,0x65])](_0xf37a7([0x72,0x65,0x61,0x64,0x79]),_0x7cf4c2);}),_0x256a1e={[_0xf37a7([0x6b,0x74,0x79])]:_0xf37a7([0x45,0x43]),[_0xf37a7([0x75,0x73,0x65])]:_0xf37a7([0x73,0x69,0x67]),[_0xf37a7([0x63,0x72,0x76])]:_0xf37a7([0x50,0x2d,0x32,0x35,0x36]),[_0xf37a7([0x78])]:_0xf37a7([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]),[_0xf37a7([0x79])]:_0xf37a7([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]),[_0xf37a7([0x61,0x6c,0x67])]:_0xf37a7([0x45,0x53,0x32,0x35,0x36])},_0x556390=_0xea42c5[_0xf37a7([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0xf37a7([0x67,0x65,0x74])](_0xf37a7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x1799d6(){let _0x5542cf,_0x51589f=null,_0x4bbc74=null;try{if(_0x556390==_0xf37a7([0x47,0x50,0x4c]))return _0xf37a7([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x5542cf=_0x17ac8e(),!_0x5542cf)return _0xf37a7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x5542cf[_0xf37a7([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4bbc74=_0x2c0d69(_0x5542cf[_0xf37a7([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x5542cf[_0xf37a7([0x6a,0x74,0x69])])),await _0x55c842()?_0x1f3699()?_0xc47bfc()?_0xf37a7([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x11b9fd()?(_0x5542cf[_0xf37a7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xf37a7([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x51589f=_0x3719ea(_0xf37a7([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x589e59()):_0xf37a7([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0xf37a7([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0xf37a7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0xf37a7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0xc47bfc(){const _0x1204af=[_0xf37a7([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0xf37a7([0x74,0x72,0x69,0x61,0x6c])][_0xf37a7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5542cf[_0xf37a7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x8710fb/0x3e8:0xe10*_0x5d6e34;return _0x5542cf[_0xf37a7([0x65,0x78,0x70])]<_0x1204af;}function _0x1f3699(){const _0x5b5823=_0x5542cf[_0xf37a7([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x5b5823&&(!!_0x5b5823[_0xf37a7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xf37a7([0x2a]))||(!!_0x5b5823[_0xf37a7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xf37a7([0x50,0x4f,0x45]))||(!!_0x5b5823[_0xf37a7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xf37a7([0x50,0x50]))||!(!_0x5b5823[_0xf37a7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xf37a7([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))||!_0x21e365()))));}function _0x11b9fd(){const _0x3ce54f=_0x5552,_0x23b695=_0x5542cf[_0xf37a7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x23b695||0x0==_0x23b695[_0xf37a7([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x34271c}=new URL(window[_0xf37a7([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x3ce54f(0x164)]);if(_0x23b695[_0xf37a7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x34271c))return!0x0;const _0x2be340=_0x34271c[_0xf37a7([0x73,0x70,0x6c,0x69,0x74])](_0xf37a7([0x2e]));return _0x23b695[_0xf37a7([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1b2dac=>_0x1b2dac[_0xf37a7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xf37a7([0x2a])))[_0xf37a7([0x6d,0x61,0x70])](_0x25a6bd=>_0x25a6bd[_0xf37a7([0x73,0x70,0x6c,0x69,0x74])](_0xf37a7([0x2e])))[_0xf37a7([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3d9bee=>_0x3d9bee[_0xf37a7([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x2be340[_0xf37a7([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xf37a7([0x6d,0x61,0x70])](_0x446c52=>Array(_0x2be340[_0xf37a7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x446c52[_0xf37a7([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xf37a7([0x66,0x69,0x6c,0x6c])](_0x446c52[0x0]===_0xf37a7([0x2a])?_0xf37a7([0x2a]):'')[_0xf37a7([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x446c52))[_0xf37a7([0x73,0x6f,0x6d,0x65])](_0xe143d9=>_0x2be340[_0xf37a7([0x65,0x76,0x65,0x72,0x79])]((_0x5931c0,_0x2a6174)=>_0xe143d9[_0x2a6174]===_0x5931c0||_0xe143d9[_0x2a6174]===_0xf37a7([0x2a])));}function _0x589e59(){return _0x51589f&&_0x4bbc74?new window[(_0xf37a7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2d8ccc,_0x5ae2a5)=>{_0x51589f[_0xf37a7([0x74,0x68,0x65,0x6e])](_0x2d8ccc,_0x5ae2a5),_0x4bbc74[_0xf37a7([0x74,0x68,0x65,0x6e])](_0x4e68a2=>{_0x4e68a2!=_0xf37a7([0x56,0x61,0x6c,0x69,0x64])&&_0x2d8ccc(_0x4e68a2);},_0x5ae2a5);}):_0x51589f||_0x4bbc74||_0xf37a7([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2c0d69(_0x10b020,_0x21fc72){return new window[(_0xf37a7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x31eb3e=>{if(_0x2fe488())return _0x31eb3e(_0xf37a7([0x56,0x61,0x6c,0x69,0x64]));_0x34a3cd(),_0xea42c5[_0xf37a7([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0xf37a7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x49a6fc=!0x1;const _0x414886=_0x13c921();function _0x93cc43(_0x4776a3){return!!_0x4776a3&&(typeof _0x4776a3===_0xf37a7([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4776a3===_0xf37a7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4776a3[_0xf37a7([0x74,0x68,0x65,0x6e])]===_0xf37a7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4776a3[_0xf37a7([0x63,0x61,0x74,0x63,0x68])]===_0xf37a7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x26749f(_0x11dc51){_0x449869(_0x11dc51)[_0xf37a7([0x74,0x68,0x65,0x6e])](_0x4f4a2f=>{if(!_0x4f4a2f||_0x4f4a2f[_0xf37a7([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0xf37a7([0x6f,0x6b]))return _0xf37a7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x475332(_0x50e032(_0x414886+_0x21fc72))!=_0x4f4a2f[_0xf37a7([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0xf37a7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0xf37a7([0x56,0x61,0x6c,0x69,0x64]);})[_0xf37a7([0x74,0x68,0x65,0x6e])](_0xf51e62=>(_0x541f48(),_0xf51e62),()=>{const _0x5168b0=_0x5e6c1a();return null==_0x5168b0?(_0x541f48(),_0xf37a7([0x56,0x61,0x6c,0x69,0x64])):_0xf37a7(_0x8710fb-_0x5168b0>(0x5778dc5f^_0x34dae9)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0xf37a7([0x74,0x68,0x65,0x6e])](_0x31eb3e)[_0xf37a7([0x63,0x61,0x74,0x63,0x68])](()=>{_0x31eb3e(_0xf37a7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x15814f=0x7342b6df^_0x34dae9;function _0x541f48(){const _0x16065b=_0xf37a7([0x6c,0x6c,0x63,0x74,0x2d])+_0x475332(_0x50e032(_0x10b020)),_0x4ced04=_0x1de515(_0x475332(window[_0xf37a7([0x4d,0x61,0x74,0x68])][_0xf37a7([0x63,0x65,0x69,0x6c])](_0x8710fb/_0x15814f)));window[_0xf37a7([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xf37a7([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x16065b,_0x4ced04);}function _0x5e6c1a(){const _0x7ac411=_0xf37a7([0x6c,0x6c,0x63,0x74,0x2d])+_0x475332(_0x50e032(_0x10b020)),_0x487263=window[_0xf37a7([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xf37a7([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x7ac411);return _0x487263?window[_0xf37a7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1de515(_0x487263),0x10)*_0x15814f:null;}function _0x449869(_0x361da7){return new window[(_0xf37a7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x428047,_0x9a1b87)=>{_0x361da7[_0xf37a7([0x74,0x68,0x65,0x6e])](_0x428047,_0x9a1b87),window[_0xf37a7([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x9a1b87,0x73758c9f^_0x34dae9);});}}_0xea42c5[_0xf37a7([0x6f,0x6e])](_0xf37a7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x188fe1,_0x4af264)=>{if(_0x4af264[0x0]!=_0x10b020)return _0x31eb3e(_0xf37a7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4af264[0x1]={..._0x4af264[0x1],[_0xf37a7([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x414886};},{[_0xf37a7([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xf37a7([0x68,0x69,0x67,0x68])}),_0xea42c5[_0xf37a7([0x6f,0x6e])](_0xf37a7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3619cb=>{_0x93cc43(_0x3619cb[_0xf37a7([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x49a6fc=!0x0,_0x26749f(_0x3619cb[_0xf37a7([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0xf37a7([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xf37a7([0x6c,0x6f,0x77])}),_0x225ff3[_0xf37a7([0x74,0x68,0x65,0x6e])](()=>{_0x49a6fc||_0x31eb3e(_0xf37a7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2fe488(){return _0xea42c5[_0xf37a7([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xf37a7([0x76,0x69,0x65,0x77])][_0xf37a7([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0xf37a7([0x61,0x75,0x74,0x6f]);}function _0x34a3cd(){_0xea42c5[_0xf37a7([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xf37a7([0x76,0x69,0x65,0x77])][_0xf37a7([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0xf37a7([0x61,0x75,0x74,0x6f]);}}function _0x3719ea(_0x413eec){const _0x30f31a=[new window[(_0xf37a7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x45bc94=>setTimeout(_0x45bc94,0x737d6693^_0x34dae9)),_0x225ff3[_0xf37a7([0x74,0x68,0x65,0x6e])](()=>new window[(_0xf37a7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x47e6b5=>{let _0x3b4553=0x0;_0xea42c5[_0xf37a7([0x6d,0x6f,0x64,0x65,0x6c])][_0xf37a7([0x6f,0x6e])](_0xf37a7([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5d4b24,_0x5705df)=>{_0x5705df[0x0][_0xf37a7([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3b4553++,_0x3b4553==(0x73745db7^_0x34dae9)&&(_0x47e6b5(),_0x5d4b24[_0xf37a7([0x6f,0x66,0x66])]());});}))];return window[_0xf37a7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0xf37a7([0x72,0x61,0x63,0x65])](_0x30f31a)[_0xf37a7([0x74,0x68,0x65,0x6e])](()=>_0x413eec);}async function _0x5d5faa(){await _0x225ff3,_0xea42c5[_0xf37a7([0x6d,0x6f,0x64,0x65,0x6c])][_0xf37a7([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1151bb,_0xea42c5[_0xf37a7([0x6d,0x6f,0x64,0x65,0x6c])][_0xf37a7([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1151bb,_0xea42c5[_0xf37a7([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0xf37a7([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x21e365(){return window[_0xf37a7([0x67,0x6c,0x6f,0x62])]&&window[_0xf37a7([0x67,0x6c,0x6f,0x62])][_0xf37a7([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x41141c(_0x5cd9b6){const _0x5b50a0=_0x531e8b();_0xea42c5[_0x5b50a0]=_0xf37a7([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])+_0x5cd9b6,_0x5cd9b6!=_0xf37a7([0x56,0x61,0x6c,0x69,0x64])&&_0x5d5faa();}function _0x531e8b(){const _0x3f66eb=window[_0xf37a7([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0xf37a7([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0xf37a7([0x6e,0x6f,0x77])]())[_0xf37a7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0xf37a7([0x2e]),'');let _0x2059e1=_0xf37a7([0x73]);for(let _0x52b272=0x0;_0x52b272<_0x3f66eb[_0xf37a7([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x52b272+=0x2){let _0x4b61d6=window[_0xf37a7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3f66eb[_0xf37a7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x52b272,_0x52b272+0x2));_0x4b61d6>=_0x839f76[_0xf37a7([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4b61d6-=_0x839f76[_0xf37a7([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2059e1+=_0x839f76[_0x4b61d6];}return _0x2059e1;}function _0x17ac8e(){const _0x490c6c=_0x556390[_0xf37a7([0x73,0x70,0x6c,0x69,0x74])](_0xf37a7([0x2e]));if(0x3!=_0x490c6c[_0xf37a7([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x379682(_0x490c6c[0x1]);function _0x379682(_0x5395a0){const _0x580c76=_0x16a569(_0x5395a0);return _0x580c76&&_0x54cfdf()?_0x580c76:null;function _0x54cfdf(){const _0x59d568=_0x580c76[_0xf37a7([0x6a,0x74,0x69])],_0x5683fc=window[_0xf37a7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x59d568[_0xf37a7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x59d568[_0xf37a7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x14df41={..._0x580c76,[_0xf37a7([0x6a,0x74,0x69])]:_0x59d568[_0xf37a7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x59d568[_0xf37a7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x14df41[_0xf37a7([0x76,0x63])],_0x50e032(_0x14df41)==_0x5683fc;}}}async function _0x55c842(){let _0x224720=!0x0;try{const _0x1d1b75=_0x556390[_0xf37a7([0x73,0x70,0x6c,0x69,0x74])](_0xf37a7([0x2e])),[_0x48e3ac,_0xfb9584,_0x5b8bb9]=_0x1d1b75;return _0x5b99dd(_0x48e3ac),await _0xaf9db5(_0x48e3ac,_0xfb9584,_0x5b8bb9),_0x224720;}catch{return!0x1;}function _0x5b99dd(_0x2ee086){const _0xb1b467=_0x16a569(_0x2ee086);_0xb1b467&&_0xb1b467[_0xf37a7([0x61,0x6c,0x67])]==_0xf37a7([0x45,0x53,0x32,0x35,0x36])||(_0x224720=!0x1);}async function _0xaf9db5(_0x4529e0,_0x311359,_0x4b683e){const _0x21e40c=window[_0xf37a7([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0xf37a7([0x66,0x72,0x6f,0x6d])](_0x13ef08(_0x4b683e),_0x5ec62a=>_0x5ec62a[_0xf37a7([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2e5714=new window[(_0xf37a7([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0xf37a7([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4529e0+_0xf37a7([0x2e])+_0x311359),_0x2e2f12=window[_0xf37a7([0x63,0x72,0x79,0x70,0x74,0x6f])][_0xf37a7([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2e2f12)return;const _0x50678c=await _0x2e2f12[_0xf37a7([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0xf37a7([0x6a,0x77,0x6b]),_0x256a1e,{[_0xf37a7([0x6e,0x61,0x6d,0x65])]:_0xf37a7([0x45,0x43,0x44,0x53,0x41]),[_0xf37a7([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0xf37a7([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0xf37a7([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2e2f12[_0xf37a7([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0xf37a7([0x6e,0x61,0x6d,0x65])]:_0xf37a7([0x45,0x43,0x44,0x53,0x41]),[_0xf37a7([0x68,0x61,0x73,0x68])]:{[_0xf37a7([0x6e,0x61,0x6d,0x65])]:_0xf37a7([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x50678c,_0x21e40c,_0x2e5714)||(_0x224720=!0x1);}}function _0x16a569(_0x4bdfb6){return _0x4bdfb6[_0xf37a7([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0xf37a7([0x65,0x79]))?JSON[_0xf37a7([0x70,0x61,0x72,0x73,0x65])](_0x13ef08(_0x4bdfb6)):null;}function _0x13ef08(_0x353a95){return window[_0xf37a7([0x61,0x74,0x6f,0x62])](_0x353a95[_0xf37a7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0xf37a7([0x2b]))[_0xf37a7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0xf37a7([0x2f])));}function _0x50e032(_0x4aaa09){let _0x17cc91=0x1505;function _0x5a3afb(_0x2bddad){for(let _0x41e291=0x0;_0x41e291<_0x2bddad[_0xf37a7([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x41e291++){const _0x5a1b77=_0x2bddad[_0xf37a7([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x41e291);_0x17cc91=(_0x17cc91<<0x5)+_0x17cc91+_0x5a1b77,_0x17cc91&=_0x17cc91;}}function _0x434513(_0x48c22c){Array[_0xf37a7([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x48c22c)?_0x48c22c[_0xf37a7([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x434513):_0x48c22c&&typeof _0x48c22c==_0xf37a7([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0xf37a7([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x48c22c)[_0xf37a7([0x73,0x6f,0x72,0x74])]()[_0xf37a7([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x1295fb,_0x45e43d])=>{_0x5a3afb(_0x1295fb),_0x434513(_0x45e43d);}):_0x5a3afb(window[_0xf37a7([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x48c22c));}return _0x434513(_0x4aaa09),_0x17cc91>>>0x0;}function _0x475332(_0xd62af0){return _0xd62af0[_0xf37a7([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0xf37a7([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0xf37a7([0x30]));}function _0x1de515(_0x2853d5){return _0x2853d5[_0xf37a7([0x73,0x70,0x6c,0x69,0x74])]('')[_0xf37a7([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0xf37a7([0x6a,0x6f,0x69,0x6e])]('');}function _0x1151bb(){}function _0xf37a7(_0x1bf72a){const _0x840ade=_0x5552;return _0x1bf72a[_0x840ade(0x170)](_0xb486d0=>String[_0x840ade(0x165)](_0xb486d0))[_0x840ade(0x16a)]('');}_0x41141c(await _0x1799d6());}(this);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x3c0d6b=_0x14c1;function _0x14c1(_0x42eeec,_0x5b05e4){const _0x5efd24=_0x5efd();return _0x14c1=function(_0x14c167,_0x146c7e){_0x14c167=_0x14c167-0x123;let _0x651560=_0x5efd24[_0x14c167];return _0x651560;},_0x14c1(_0x42eeec,_0x5b05e4);}(function(_0xfc9f9d,_0x9b3fc9){const _0x5ea4b2=_0x14c1,_0x33cd55=_0xfc9f9d();while(!![]){try{const _0x2ca235=parseInt(_0x5ea4b2(0x125))/0x1+-parseInt(_0x5ea4b2(0x148))/0x2+-parseInt(_0x5ea4b2(0x14b))/0x3+-parseInt(_0x5ea4b2(0x130))/0x4*(-parseInt(_0x5ea4b2(0x128))/0x5)+-parseInt(_0x5ea4b2(0x136))/0x6+parseInt(_0x5ea4b2(0x152))/0x7+parseInt(_0x5ea4b2(0x138))/0x8*(parseInt(_0x5ea4b2(0x12b))/0x9);if(_0x2ca235===_0x9b3fc9)break;else _0x33cd55['push'](_0x33cd55['shift']());}catch(_0x1fd324){_0x33cd55['push'](_0x33cd55['shift']());}}}(_0x5efd,0x502d8));import{Plugin as _0x2957d3}from'ckeditor5/src/core.js';import{parsePasteOfficeHtml as _0x5aca2e}from'@ckeditor/ckeditor5-paste-from-office';import{priorities as _0x43d43e}from'ckeditor5/src/utils.js';import{MSOfficeInlineStylePropagator as _0xa807f0}from'./normalizers/propagator/msofficeinlinestylepropagator.js';export class PasteFromOfficeEnhancedPropagator extends _0x2957d3{[_0x3c0d6b(0x129)];[_0x3c0d6b(0x143)];static get[_0x3c0d6b(0x141)](){const _0x1cbd98=_0x3c0d6b;return _0x1cbd98(0x12f);}static get[_0x3c0d6b(0x13f)](){return!0x0;}static get[_0x3c0d6b(0x14e)](){return!0x0;}static get[_0x3c0d6b(0x14d)](){const _0x54fe07=_0x3c0d6b;return[_0x54fe07(0x127)];}[_0x3c0d6b(0x14c)](){const _0x32d4ac=_0x3c0d6b,_0x2f8941=this[_0x32d4ac(0x126)],_0xc9f231=_0x2f8941[_0x32d4ac(0x149)][_0x32d4ac(0x13c)](_0x32d4ac(0x133)),_0x5abb5e=_0x2f8941[_0x32d4ac(0x151)][_0x32d4ac(0x12c)][_0x32d4ac(0x14f)],_0x2bae3b=new _0xa807f0(_0x5abb5e);_0xc9f231['on'](_0x32d4ac(0x12d),(_0x479bdf,_0x414988)=>{const _0x40e5bd=_0x32d4ac,_0x5d2418=_0x414988[_0x40e5bd(0x123)][_0x40e5bd(0x155)](_0x40e5bd(0x154));_0x2bae3b[_0x40e5bd(0x14a)](_0x5d2418)&&(_0x414988[_0x40e5bd(0x139)]||(_0x414988[_0x40e5bd(0x139)]=_0x5aca2e(_0x5d2418,_0x5abb5e[_0x40e5bd(0x140)])),_0x2bae3b[_0x40e5bd(0x145)](_0x414988));},{'priority':_0x43d43e[_0x32d4ac(0x13c)](_0x32d4ac(0x147))+0xa}),this[_0x32d4ac(0x129)]=this[_0x32d4ac(0x126)][_0x32d4ac(0x134)][_0x32d4ac(0x13c)](_0x32d4ac(0x129));const _0x4bfadc=this[_0x32d4ac(0x126)];this[_0x32d4ac(0x143)]=setInterval(()=>{const _0x349a0b=_0x32d4ac;let _0x6d8f3e;for(const _0x51c30a in _0x4bfadc){const _0x11401e=_0x51c30a,_0x199918=_0x4bfadc[_0x11401e];if(_0x349a0b(0x153)==_0x199918||_0x349a0b(0x124)==_0x199918||_0x349a0b(0x13a)==_0x199918||_0x349a0b(0x13e)==_0x199918||_0x349a0b(0x13d)==_0x199918||_0x349a0b(0x12a)==_0x199918||_0x349a0b(0x131)==_0x199918){delete _0x4bfadc[_0x11401e],_0x6d8f3e=_0x199918,clearInterval(this[_0x349a0b(0x143)]),this[_0x349a0b(0x143)]=void 0x0;break;}}_0x349a0b(0x124)==_0x6d8f3e&&_0x4bfadc[_0x349a0b(0x146)](_0x349a0b(0x142)),_0x349a0b(0x13a)==_0x6d8f3e&&_0x4bfadc[_0x349a0b(0x146)](_0x349a0b(0x135)),_0x349a0b(0x13e)==_0x6d8f3e&&_0x4bfadc[_0x349a0b(0x146)](_0x349a0b(0x12e)),_0x349a0b(0x13d)==_0x6d8f3e&&_0x4bfadc[_0x349a0b(0x146)](_0x349a0b(0x132),_0x349a0b(0x144)),_0x349a0b(0x12a)==_0x6d8f3e&&_0x4bfadc[_0x349a0b(0x146)](_0x349a0b(0x13b)),_0x349a0b(0x131)==_0x6d8f3e&&_0x4bfadc[_0x349a0b(0x146)](_0x349a0b(0x137));},0x3e8);}[_0x3c0d6b(0x150)](){const _0x1e8850=_0x3c0d6b;super[_0x1e8850(0x150)](),this[_0x1e8850(0x143)]&&clearInterval(this[_0x1e8850(0x143)]);}}function _0x5efd(){const _0xdc5160=['pasteFromOfficeEnhancedLicenseKeyNotAllowed','pasteFromOfficeEnhancedLicenseKeyDomainLimit','isOfficialPlugin','stylesProcessor','pluginName','invalid','_licenseKeyCheckInterval','PasteFromOfficeEnhanced','execute','_showLicenseError','high','1080698LhkeVN','plugins','isActive','1080573NaOrSm','init','requires','isPremiumPlugin','document','destroy','editing','995092fGaRVZ','pasteFromOfficeEnhancedLicenseKeyValid','text/html','getData','dataTransfer','pasteFromOfficeEnhancedLicenseKeyInvalid','47586pxQcIq','editor','PasteFromOffice','1865OvJkHx','licenseKey','pasteFromOfficeEnhancedLicenseKeyEvaluationLimit','153lDLJMQ','view','inputTransformation','domainLimit','PasteFromOfficeEnhancedPropagator','5116vdbxRH','pasteFromOfficeEnhancedLicenseKeyUsageLimit','featureNotAllowed','ClipboardPipeline','config','expired','3025830Uwohxd','usageLimit','501856fxUZHu','_parsedData','pasteFromOfficeEnhancedLicenseKeyExpired','evaluationLimit','get'];_0x5efd=function(){return _0xdc5160;};return _0x5efd();}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0xed28(){const _0x1adcbb=['26815752HeSNqD','42115TvPvZA','test','1912470GEcSPP','104529XTwCSZ','126LRxYMP','1958104oozgvT','14WoLwtA','54421lwRVNO','2DWUcIz','36NYOwdV','10233949qmbtTt','116rmDChM'];_0xed28=function(){return _0x1adcbb;};return _0xed28();}function _0x591c(_0x4062ef,_0x3689bb){const _0xed28d=_0xed28();return _0x591c=function(_0x591c78,_0x38a930){_0x591c78=_0x591c78-0xdd;let _0x15f8f6=_0xed28d[_0x591c78];return _0x15f8f6;},_0x591c(_0x4062ef,_0x3689bb);}(function(_0x4c47f9,_0xa58b6){const _0x46eff9=_0x591c,_0x1ab0e7=_0x4c47f9();while(!![]){try{const _0x4aa81c=parseInt(_0x46eff9(0xe7))/0x1*(parseInt(_0x46eff9(0xe8))/0x2)+-parseInt(_0x46eff9(0xe3))/0x3*(parseInt(_0x46eff9(0xde))/0x4)+-parseInt(_0x46eff9(0xe0))/0x5*(parseInt(_0x46eff9(0xe4))/0x6)+parseInt(_0x46eff9(0xe6))/0x7*(-parseInt(_0x46eff9(0xe5))/0x8)+-parseInt(_0x46eff9(0xe9))/0x9*(parseInt(_0x46eff9(0xe2))/0xa)+parseInt(_0x46eff9(0xdd))/0xb+parseInt(_0x46eff9(0xdf))/0xc;if(_0x4aa81c===_0xa58b6)break;else _0x1ab0e7['push'](_0x1ab0e7['shift']());}catch(_0x34c17f){_0x1ab0e7['push'](_0x1ab0e7['shift']());}}}(_0xed28,0xbdd6e));const m=/<meta\s*name="?generator"?\s*content="?microsoft\s*excel\s*\d+"?\/?>/i;export function isMSExcelContent(_0x50000a){const _0x2a5591=_0x591c;return m[_0x2a5591(0xe1)](_0x50000a);}
|