@ckeditor/ckeditor5-format-painter 45.1.0-alpha.3 → 45.1.0-alpha.4
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/format-painter.js +1 -1
- package/dist/index.js +2 -2
- package/package.json +7 -7
- package/src/formatpainterui.js +2 -2
package/build/format-painter.js
CHANGED
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
/*!
|
|
3
3
|
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
4
4
|
* For licensing, see LICENSE.md.
|
|
5
|
-
*/(()=>{var t={168:t=>{"use strict";t.exports=function(t){return t[1]}},220:t=>{"use strict";t.exports=function(t,n){return n||(n={}),t?(t=String(t.__esModule?t.default:t),/^['"].*['"]$/.test(t)&&(t=t.slice(1,-1)),n.hash&&(t+=n.hash),/["'() \t\n]|(%20)/.test(t)||n.needQuotes?'"'.concat(t.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):t):t}},237:t=>{"use strict";t.exports=CKEditor5.dll},262:t=>{"use strict";var n={};t.exports=function(t,e){var r=function(t){if(void 0===n[t]){var e=document.querySelector(t);if(window.HTMLIFrameElement&&e instanceof window.HTMLIFrameElement)try{e=e.contentDocument.head}catch(t){e=null}n[t]=e}return n[t]}(t);if(!r)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");r.appendChild(e)}},311:(t,n,e)=>{t.exports=e(237)("./src/ui.js")},355:(t,n,e)=>{t.exports=e(237)("./src/icons.js")},357:t=>{"use strict";t.exports=function(t){var n=document.createElement("style");return t.setAttributes(n,t.attributes),t.insert(n,t.options),n}},415:t=>{"use strict";t.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMCIgaGVpZ2h0PSIyMCIgZmlsbD0ibm9uZSIgdmlld0JveD0iMCAwIDMxIDIwIj48cGF0aCBmaWxsPSIjMDAwIiBkPSJNMTQgM2ExIDEgMCAwIDEgMS0xaDEwYTEgMSAwIDAgMSAxIDF2MmExIDEgMCAwIDEtMSAxSDE1YTEgMSAwIDAgMS0xLTF6Ii8+PHBhdGggZmlsbD0iIzAwMCIgZD0iTTI3IDMuMjVhMS41IDEuNSAwIDAgMSAxLjUgMS41djEuN2EyLjI1IDIuMjUgMCAwIDEtMS45MzIgMi4yMjZsLTQuNDI0LjYzMmEuNzUuNzUgMCAwIDAtLjY0NC43NDNWMTFhMSAxIDAgMCAxIDEgMXY1YTEgMSAwIDAgMS0xIDFIMjBhMSAxIDAgMCAxLTEtMXYtNWExIDEgMCAwIDEgMS0xdi0uOTVhMi4yNSAyLjI1IDAgMCAxIDEuOTMyLTIuMjI2bDQuNDI0LS42MzJBLjc1Ljc1IDAgMCAwIDI3IDYuNDQ5eiIvPjxwYXRoIGZpbGw9IiNmZmYiIGZpbGwtcnVsZT0iZXZlbm9kZCIgZD0iTTI2Ljg1NSAyLjI1SDI3YTIuNSAyLjUgMCAwIDEgMi41IDIuNXYxLjdhMy4yNSAzLjI1IDAgMCAxLTIuNzkgMy4yMTZsLTQuMjEuNjAyYTIgMiAwIDAgMSAxIDEuNzMydjVhMiAyIDAgMCAxLTIgMkgyMGEyIDIgMCAwIDEtMi0ydi01YTIgMiAwIDAgMSAxLTEuNzMydi0uMjE3QTMuMjUgMy4yNSAwIDAgMSAyMS4xMjkgN0gxNWEyIDIgMCAwIDEtMi0yVjNhMiAyIDAgMCAxIDItMmgxMGEyIDIgMCAwIDEgMS44NTUgMS4yNU0yMCAxMC4wNVYxMWExIDEgMCAwIDAtMSAxdjVhMSAxIDAgMCAwIDEgMWgxLjVhMSAxIDAgMCAwIDEtMXYtNWExIDEgMCAwIDAtMS0xdi0uOTVxMC0uMDI0LjAwMi0uMDVhLjc1Ljc1IDAgMCAxIC42NDItLjY5Mmw0LjQyNC0uNjMyQTIuMjUgMi4yNSAwIDAgMCAyOC41IDYuNDV2LTEuN2ExLjQ5NiAxLjQ5NiAwIDAgMC0xLjUtMS41djMuMmEuNzUuNzUgMCAwIDEtLjY0NC43NDJsLTQuNDI0LjYzMkEyLjI1IDIuMjUgMCAwIDAgMjAgMTAuMDVNMTUgMmExIDEgMCAwIDAtMSAxdjJhMSAxIDAgMCAwIDEgMWgxMGExIDEgMCAwIDAgMS0xVjNhMSAxIDAgMCAwLTEtMXoiIGNsaXAtcnVsZT0iZXZlbm9kZCIvPjxwYXRoIGZpbGw9IiMwMDAiIGQ9Ik0yLjUgMi41QS41LjUgMCAwIDEgMyAyaDIuNWEuNS41IDAgMCAxIC4zNTQuMTQ2bC42NDYuNjQ3LjY0Ni0uNjQ3QS41LjUgMCAwIDEgNy41IDJIMTBhLjUuNSAwIDAgMSAwIDFINy43MDdMNyAzLjcwN1YxMGguNWEuNS41IDAgMCAxIDAgMUg3djQuNzkzbC43MDcuNzA3SDEwYS41LjUgMCAwIDEgMCAxSDcuNWEuNS41IDAgMCAxLS4zNTQtLjE0NmwtLjY0Ni0uNjQ3LS42NDYuNjQ3YS41LjUgMCAwIDEtLjM1NC4xNDZIM2EuNS41IDAgMCAxIDAtMWgyLjI5M0w2IDE1Ljc5M1YxMWgtLjVhLjUuNSAwIDAgMSAwLTFINlYzLjcwN0w1LjI5MyAzSDNhLjUuNSAwIDAgMS0uNS0uNSIvPjxwYXRoIGZpbGw9IiNmZmYiIGZpbGwtcnVsZT0iZXZlbm9kZCIgZD0ibTUuNzkzIDMuNS0uNS0uNUgzYS41LjUgMCAwIDEgMC0xaDIuNWEuNS41IDAgMCAxIC4zNTQuMTQ2bC4xNDUuMTQ2LjUwMS41LjY0Ni0uNjQ2QS41LjUgMCAwIDEgNy41IDJIMTBhLjUuNSAwIDAgMSAwIDFINy43MDdMNyAzLjcwN1YxMGguNWEuNS41IDAgMCAxIDAgMUg3djQuNzkzbC43MDcuNzA3SDEwYS41LjUgMCAwIDEgMCAxSDcuNWEuNS41IDAgMCAxLS4zNTQtLjE0NmwtLjY0Ni0uNjQ3LS41LjUtLjE0Ni4xNDdhLjUuNSAwIDAgMS0uMzU0LjE0NkgzYS41LjUgMCAwIDEgMC0xaDIuMjkzTDYgMTUuNzkzVjExaC0uNWEuNS41IDAgMCAxIDAtMUg2VjMuNzA3em0tLjkxNC41TDUgNC4xMjF2NC45NjRhMS41IDEuNSAwIDAgMCAwIDIuODN2My40NjRsLS4xMjEuMTIxSDNhMS41IDEuNSAwIDAgMCAwIDNoMi41YTEuNSAxLjUgMCAwIDAgMS0uMzgyIDEuNSAxLjUgMCAwIDAgMSAuMzgySDEwYTEuNSAxLjUgMCAwIDAgMC0zSDguMTIxTDggMTUuMzc5di0zLjQ2NGExLjUgMS41IDAgMCAwIDAtMi44M1Y0LjEyMUw4LjEyMSA0SDEwYTEuNSAxLjUgMCAwIDAgMC0zSDcuNWExLjUgMS41IDAgMCAwLTEgLjM4MkExLjUgMS41IDAgMCAwIDUuNSAxSDNhMS41IDEuNSAwIDEgMCAwIDN6IiBjbGlwLXJ1bGU9ImV2ZW5vZGQiLz48L3N2Zz4="},433:t=>{"use strict";t.exports=function(t){var n=[];return n.toString=function(){return this.map((function(n){var e="",r=void 0!==n[5];return n[4]&&(e+="@supports (".concat(n[4],") {")),n[2]&&(e+="@media ".concat(n[2]," {")),r&&(e+="@layer".concat(n[5].length>0?" ".concat(n[5]):""," {")),e+=t(n),r&&(e+="}"),n[2]&&(e+="}"),n[4]&&(e+="}"),e})).join("")},n.i=function(t,e,r,i,o){"string"==typeof t&&(t=[[null,t,void 0]]);var s={};if(r)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(s[c]=!0)}for(var u=0;u<t.length;u++){var g=[].concat(t[u]);r&&s[g[0]]||(void 0!==o&&(void 0===g[5]||(g[1]="@layer".concat(g[5].length>0?" ".concat(g[5]):""," {").concat(g[1],"}")),g[5]=o),e&&(g[2]?(g[1]="@media ".concat(g[2]," {").concat(g[1],"}"),g[2]=e):g[2]=e),i&&(g[4]?(g[1]="@supports (".concat(g[4],") {").concat(g[1],"}"),g[4]=i):g[4]="".concat(i)),n.push(g))}},n}},545:t=>{"use strict";var n,e=(n=[],function(t,e){return n[t]=e,n.filter(Boolean).join("\n")});function r(t,n,r,i){var o;if(r)o="";else{o="",i.supports&&(o+="@supports (".concat(i.supports,") {")),i.media&&(o+="@media ".concat(i.media," {"));var s=void 0!==i.layer;s&&(o+="@layer".concat(i.layer.length>0?" ".concat(i.layer):""," {")),o+=i.css,s&&(o+="}"),i.media&&(o+="}"),i.supports&&(o+="}")}if(t.styleSheet)t.styleSheet.cssText=e(n,o);else{var a=document.createTextNode(o),c=t.childNodes;c[n]&&t.removeChild(c[n]),c.length?t.insertBefore(a,c[n]):t.appendChild(a)}}var i={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var n=i.singletonCounter++,e=i.singleton||(i.singleton=t.insertStyleElement(t));return{update:function(t){r(e,n,!1,t)},remove:function(t){r(e,n,!0,t)}}}},584:(t,n,e)=>{t.exports=e(237)("./src/utils.js")},655:(t,n,e)=>{"use strict";e.d(n,{A:()=>f});var r=e(168),i=e.n(r),o=e(433),s=e.n(o),a=e(220),c=e.n(a),u=new URL(e(415),e.b),g=s()(i()),I=c()(u);g.push([t.id,`.ck.ck-editor__editable_inline.ck-format-painter-active,.ck.ck-editor__editable_inline.ck-format-painter-active .ck-widget .ck-editor__nested-editable,.ck.ck-editor__editable_inline.ck-format-painter-active a,.ck.ck-editor__editable_inline.ck-format-painter-active a .ck-widget .ck-editor__nested-editable{cursor:url(${I}) 3 3,text}`,""]);const f=g},667:t=>{"use strict";t.exports=function(t,n){Object.keys(n).forEach((function(e){t.setAttribute(e,n[e])}))}},673:t=>{"use strict";var n=[];function e(t){for(var e=-1,r=0;r<n.length;r++)if(n[r].identifier===t){e=r;break}return e}function r(t,r){for(var o={},s=[],a=0;a<t.length;a++){var c=t[a],u=r.base?c[0]+r.base:c[0],g=o[u]||0,I="".concat(u," ").concat(g);o[u]=g+1;var f=e(I),l={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==f)n[f].references++,n[f].updater(l);else{var d=i(l,r);r.byIndex=a,n.splice(a,0,{identifier:I,updater:d,references:1})}s.push(I)}return s}function i(t,n){var e=n.domAPI(n);e.update(t);return function(n){if(n){if(n.css===t.css&&n.media===t.media&&n.sourceMap===t.sourceMap&&n.supports===t.supports&&n.layer===t.layer)return;e.update(t=n)}else e.remove()}}t.exports=function(t,i){var o=r(t=t||[],i=i||{});return function(t){t=t||[];for(var s=0;s<o.length;s++){var a=e(o[s]);n[a].references--}for(var c=r(t,i),u=0;u<o.length;u++){var g=e(o[u]);0===n[g].references&&(n[g].updater(),n.splice(g,1))}o=c}}},782:(t,n,e)=>{t.exports=e(237)("./src/core.js")},783:(t,n,e)=>{t.exports=e(237)("./src/engine.js")}},n={};function e(r){var i=n[r];if(void 0!==i)return i.exports;var o=n[r]={id:r,exports:{}};return t[r](o,o.exports,e),o.exports}e.m=t,e.n=t=>{var n=t&&t.__esModule?()=>t.default:()=>t;return e.d(n,{a:n}),n},e.d=(t,n)=>{for(var r in n)e.o(n,r)&&!e.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:n[r]})},e.o=(t,n)=>Object.prototype.hasOwnProperty.call(t,n),e.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},e.b=document.baseURI||self.location.href;var r={};(()=>{"use strict";e.r(r),e.d(r,{CopyFormatCommand:()=>f,FormatPainter:()=>W,FormatPainterEditing:()=>N,FormatPainterUI:()=>V,PasteFormatCommand:()=>A});var t=e(782);function n(t,e){const r=o();return(n=function(t,n){return r[t-=420]})(t,e)}const i=n;function o(){const t=["copyFormat","7734834GldoVk","pasteFormat","392973KmeHTC","ck-format-painter-active","8lheQij","92742YxhjKN","2001690YSLQrB","3557816QpgqaJ","413nQkLpH","2240452LuKbZS","32100JGGxFD"];return(o=function(){return t})()}!function(t){const e=n,r=t();for(;;)try{if(301257===-parseInt(e(426))/1+parseInt(e(428))/2*(parseInt(e(429))/3)+-parseInt(e(421))/4+parseInt(e(430))/5+parseInt(e(422))/6*(parseInt(e(420))/7)+-parseInt(e(431))/8+parseInt(e(424))/9)break;r.push(r.shift())}catch(t){r.push(r.shift())}}(o);const s=i(423),a=i(425),c=i(427),u=g;function g(t,n){const e=I();return(g=function(t,n){return e[t-=199]})(t,n)}function I(){const t=["isFormatting","editor","document","6359865CxBxqL","change:value","1104001CsqtQq","change:isEnabled","schema","reset","_getFormattingAttributes","7918512vsbccK","execute","model","2322717jcwVdw","1875354ShbZsl","value","commands","getAttributes","1727570gVEEzR","selection","refresh","from","fromEntries","get","3082128FmZjoU","getAttributeProperties","filter"];return(I=function(){return t})()}!function(t){const n=g,e=t();for(;;)try{if(697239===parseInt(n(205))/1+-parseInt(n(218))/2+parseInt(n(213))/3+-parseInt(n(224))/4+parseInt(n(203))/5+parseInt(n(214))/6+-parseInt(n(210))/7)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(I);class f extends t.Command{constructor(t){const n=g;super(t),this[n(215)]=void 0,this.on(n(206),((t,e,r)=>{r||this[n(208)]()})),this.on(n(204),(()=>t[n(216)][n(223)](a)[n(220)]()))}[u(211)](){const t=u;this[t(215)]=this[t(209)]()}[u(208)](){this[u(215)]=void 0}[u(209)](){const t=u,n=this[t(201)][t(212)],e=n[t(202)][t(219)];return Object[t(222)](Array[t(221)](e[t(217)]())[t(199)]((([e])=>n[t(207)][t(225)](e)[t(200)])))}}var l=e(584);function d(){const t=["removeSelectionAttribute","createSelection","isFormatting","selection","word","getAttributes","1700248dxTwxW","getFirstPosition","execute","16xqKpgJ","getItems","1320867YBhTBg","113143pGdBDp","20GzHbas","setAttribute","getSelectedBlocks","schema","removeAttribute","isCollapsed","from","backward","document","getValidRanges","editor","isBlock","_getFormattingAttributes","_createRangeOnEntireWord","model","1704703piSCJZ","createRange","createRangeOn","135112tFbCoJ","change","2220078kokXmd","4TtshTX","2576745EoGdyb","setSelection","getAttributeProperties","getRanges","_removeFormatCommand","_getFormattingItems","forward","65YxQsai","modifySelection","getLastPosition"];return(d=function(){return t})()}const M=p;function p(t,n){const e=d();return(p=function(t,n){return e[t-=122]})(t,n)}!function(t){const n=p,e=t();for(;;)try{if(367337===-parseInt(n(151))/1*(-parseInt(n(128))/2)+parseInt(n(150))/3+parseInt(n(125))/4*(-parseInt(n(136))/5)+-parseInt(n(127))/6+-parseInt(n(122))/7*(-parseInt(n(148))/8)+-parseInt(n(129))/9+parseInt(n(152))/10*(parseInt(n(145))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(d);class A extends t.Command{constructor(t){const n=p;super(t),this[n(133)]=new m(t)}[M(147)](t={}){const n=M,e=this[n(162)][n(166)],r=e[n(160)][n(142)],i=Array[n(158)](r[n(132)]()),o=r[n(157)]?[this[n(165)](e,r)]:i;e[n(126)]((r=>{const s=n;r[s(130)](o),this[s(133)][s(147)]();for(const n in t)for(const i of e[s(155)][s(161)](o,n))r[s(153)](n,t[n],i);r[s(130)](i)}))}[M(165)](t,n){const e=M,r=t[e(140)](n);t[e(137)](r,{unit:e(143),direction:e(159)});const i=r[e(146)]();t[e(137)](r,{unit:e(143),direction:e(135)});const o=r[e(138)]();return t[e(123)](i,o)}}class m extends t.Command{[M(147)](){const t=M,n=this[t(162)][t(166)],e=n[t(155)];n[t(126)]((r=>{const i=t;for(const t of this[i(134)](n[i(160)][i(142)],e))if(t.is(i(142)))for(const n of this[i(164)](t,e))r[i(139)](n);else{const n=r[i(124)](t);for(const o of this[i(164)](t,e))r[i(156)](o,n)}}))}*[M(134)](t,n){const e=M,r=t=>!!(0,l.first)(this[e(164)](t,n));for(const i of t[e(132)]())for(const t of i[e(149)]())!n[e(163)](t)&&r(t)&&(yield t);for(const n of t[e(154)]())r(n)&&(yield n);r(t)&&(yield t)}*[M(164)](t,n){const e=M;for(const[r]of t[e(144)]()){const t=n[e(131)](r);t&&t[e(141)]&&(yield r)}}}const w=h;function h(t,n){const e=D();return(h=function(t,n){return e[t-=294]})(t,n)}function D(){const t=["FormatPainter","FormatPainterEditing","formatPainterLicenseKeyUsageLimit","domainLimit","2548920kAsnHI","1530rFMcpg","_licenseKeyCheckInterval","editor","338995FpZFew","4470216oomBPL","formatPainterLicenseKeyTrialLimit","expired","isOfficialPlugin","get","301026zyuWzb","_showLicenseError","licenseKey","trialLimit","init","3srVzgs","invalid","pluginName","isPremiumPlugin","formatPainterLicenseKeyInvalid","add","config","994zIeZae","formatPainterLicenseKeyEvaluationLimit","194444TKsXam","evaluationLimit","usageLimit","8630946sYlNLU","formatPainterLicenseKeyDomainLimit","formatPainterLicenseKeyExpired","featureNotAllowed","commands","formatPainterLicenseKeyNotAllowed","formatPainterLicenseKeyValid","destroy"];return(D=function(){return t})()}!function(t){const n=h,e=t();for(;;)try{if(285648===parseInt(n(330))/1+-parseInt(n(297))/2+parseInt(n(302))/3*(-parseInt(n(311))/4)+parseInt(n(326))/5+-parseInt(n(327))/6*(-parseInt(n(309))/7)+parseInt(n(331))/8+-parseInt(n(314))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(D);class N extends t.Plugin{[w(299)];[w(328)];static get[w(304)](){return w(323)}static get[w(295)](){return!0}static get[w(305)](){return!0}[w(301)](){const t=w,n=this[t(329)];n[t(318)][t(307)](s,new f(n)),n[t(318)][t(307)](a,new A(n)),this[t(299)]=this[t(329)][t(308)][t(296)](t(299));const e=this[t(329)];this[t(328)]=setInterval((()=>{const n=t;let r;for(const t in e){const i=t,o=e[i];if(n(320)==o||n(306)==o||n(316)==o||n(315)==o||n(319)==o||n(310)==o||n(332)==o||n(324)==o){delete e[i],r=o,clearInterval(this[n(328)]),this[n(328)]=void 0;break}}n(306)==r&&e[n(298)](n(303)),n(316)==r&&e[n(298)](n(294)),n(315)==r&&e[n(298)](n(325)),n(319)==r&&e[n(298)](n(317),n(322)),n(310)==r&&e[n(298)](n(312)),n(332)==r&&e[n(298)](n(300)),n(324)==r&&e[n(298)](n(313))}),1e3)}[w(321)](){const t=w;super[t(321)](),this[t(328)]&&clearInterval(this[t(328)])}}var y=e(311),x=e(783),S=e(355),C=e(673),j=e.n(C),L=e(545),E=e.n(L),v=e(262),b=e.n(v),T=e(667),k=e.n(T),P=e(357),U=e.n(P),z=e(655),Y={attributes:{"data-cke":!0}};Y.setAttributes=k(),Y.insert=b().bind(null,"head"),Y.domAPI=E(),Y.insertStyleElement=U();j()(z.A,Y);z.A&&z.A.locals&&z.A.locals;function F(t,n){const e=t.t;switch(n){case"Paint formatting":return e("Paint formatting");case"Copy text formatting":return e("Copy text formatting");case"Paste text formatting":return e("Paste text formatting");case"Continuous painting":return e("Continuous painting");case"Keeps the painter on after setting the formatting.":return e("Keeps the painter on after setting the formatting.");case"Formatting copied.":return e("Formatting copied.");case"Pasted formatting.":return e("Pasted formatting.");default:return n}}const Q=_;function Z(){const t=["commands","class","switchbutton","focus","isPremiumPlugin","editing","view","Keeps the painter on after setting the formatting.","componentFactory","3912670SjlOkr","destroy","FormatPainterUI","20XUEXPb","init","set","document","editor","change","href","roots","keystrokes","Esc","1704hTafbA","Ctrl+Alt+C","announce","mouseup","Continuous painting","stopListening","locale","ck-format-painter-dropdown","345159AcASfX","removeClass","13914160aUifig","join","15492587ltqOzx","Ctrl+Alt+V","reset","accessibility","execute","Formatting copied.","_finishPainting","2RMwdHp","fromCharCode","6oCkyqn","Paint formatting","addKeystrokeInfos","change:value","944157CLmHDm","get","high","change:isEnabled","buttonView","add","pluginName","isEnabled","936929lJWrSq","menuitemcheckbox","Paste text formatting","isOn","_copyFormatting","isOfficialPlugin","addClass","_pasteFormatting","bind","afterInit","value","717xkfnlV","Copy text formatting","ariaLiveAnnouncer","formatPainter","menu","window","map","listenTo","addObserver","Pasted formatting.","_toggleSpecialCursor"];return(Z=function(){return t})()}function _(t,n){const e=Z();return(_=function(t,n){return e[t-=236]})(t,n)}!function(t){const n=_,e=t();for(;;)try{if(923139===parseInt(n(302))/1*(parseInt(n(296))/2)+-parseInt(n(244))/3*(-parseInt(n(277))/4)+parseInt(n(264))/5+parseInt(n(298))/6*(parseInt(n(310))/7)+parseInt(n(287))/8+parseInt(n(285))/9+parseInt(n(267))/10*(-parseInt(n(289))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(Z);class V extends((0,l.DomEmitterMixin)(t.Plugin)){static get[Q(308)](){return Q(266)}static get[Q(238)](){return!0}static get[Q(259)](){return!0}[Q(268)](){const t=Q,n=this[t(271)];n[t(260)][t(261)][t(252)](x.ClickObserver),n[t(292)][t(300)]({keystrokes:[{label:F(n[t(283)],t(245)),keystroke:t(278)},{label:F(n[t(283)],t(312)),keystroke:t(290)}]}),n.ui[t(263)][t(307)](t(247),(e=>{const r=t,i=(0,y.createDropdown)(e,y.SplitButtonView),o=n[r(255)][r(303)](s);i[r(306)][r(269)]({label:F(n[r(283)],r(299)),icon:S.IconPaintRoller,keystroke:r(278),tooltip:!0}),i[r(256)]=r(284),o&&(i[r(241)](r(309)).to(o,r(309)),this[r(251)](o,r(305),((t,n,e)=>{e||this[r(295)]()})),i[r(306)][r(241)](r(236)).to(o,r(243),(t=>!!t)),this[r(251)](n,r(265),(()=>this[r(254)](!1))),this[r(251)](o,r(301),((t,n,e)=>{this[r(254)](!!e)})));const a=new y.ViewModel({withText:!0,label:F(n[r(283)],r(281)),tooltip:F(n[r(283)],r(262)),isOn:!1,role:r(311)});(0,y.addListToDropdown)(i,new l.Collection([{type:r(257),model:a}]),{role:r(248)});const c=()=>{const t=r;this[t(237)](),this[t(251)](l.global[t(249)][t(270)],t(280),(()=>{const n=t;this[n(240)](),a[n(236)]||this[n(295)]()}))};return this[r(251)](i,r(293),(()=>{const t=r;a[t(236)]=!a[t(236)]})),this[r(251)](i[r(306)],r(293),(()=>{const t=r;n[t(260)][t(261)][t(258)](),i[t(306)][t(236)]?this[t(295)]():c()})),n[r(275)][r(269)](r(278),((t,n)=>{const e=r;c(),a[e(236)]=!0,n()}),{priority:r(304)}),n[r(275)][r(269)](r(290),((t,n)=>{const e=r;i[e(306)][e(236)]&&(this[e(240)](),a[e(236)]||this[e(295)](),n())}),{priority:r(304)}),n[r(275)][r(269)](r(276),((t,n)=>{const e=r;i[e(306)][e(236)]&&(a[e(236)]=!1,this[e(295)](),n())})),i}))}[Q(242)](){!async function(t){const n=M([110,81,104,79,55,74,88,68,102,85,98,86,77,118,57,51,97,105,56,112,111,87,100,115,108,66,49,71,109,73,116,103,107,114,78,80,113,50,106,89,72,76,99,52,117,121,69,119,75,53,54,70,90,101,48,122,83,82,65,84,67,120]),e=window[M([68,97,116,101])][M([110,111,119])](),r=t[M([101,100,105,116,111,114])],i=new(window[M([80,114,111,109,105,115,101])])((t=>{r[M([111,110,99,101])](M([114,101,97,100,121]),t)})),o={[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])},s=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){const n=[new(window[M([80,114,111,109,105,115,101])])((t=>setTimeout(t,605900))),i[M([116,104,101,110])]((()=>new(window[M([80,114,111,109,105,115,101])])((t=>{let n=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]),((e,r)=>{r[0][M([105,115,68,111,99,117,109,101,110,116,79,112,101,114,97,116,105,111,110])]&&n++,504==n&&(t(),e[M([111,102,102])]())}))}))))];return window[M([80,114,111,109,105,115,101])][M([114,97,99,101])](n)[M([116,104,101,110])]((()=>t))}function c(t){return t[M([115,116,97,114,116,115,87,105,116,104])](M([101,121]))?JSON[M([112,97,114,115,101])](u(t)):null}function u(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 g(t){let n=5381;function e(t){for(let e=0;e<t[M([108,101,110,103,116,104])];e++){const r=t[M([99,104,97,114,67,111,100,101,65,116])](e);n=(n<<5)+n+r,n&=n}}return function t(n){Array[M([105,115,65,114,114,97,121])](n)?n[M([102,111,114,69,97,99,104])](t):n&&typeof n==M([111,98,106,101,99,116])?Object[M([101,110,116,114,105,101,115])](n)[M([115,111,114,116])]()[M([102,111,114,69,97,99,104])]((([n,r])=>{e(n),t(r)})):e(window[M([83,116,114,105,110,103])](n))}(t),n>>>0}function I(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 d(){}function M(t){const n=_;return t[n(250)]((t=>String[n(297)](t)))[n(288)]("")}!function(t){const e=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 e=M([110]);for(let r=0;r<t[M([108,101,110,103,116,104])];r+=2){let i=window[M([112,97,114,115,101,73,110,116])](t[M([115,117,98,115,116,114,105,110,103])](r,r+2));i>=n[M([108,101,110,103,116,104])]&&(i-=n[M([108,101,110,103,116,104])]),e+=n[i]}return e}();r[e]=M([102,111,114,109,97,116,80,97,105,110,116,101,114,76,105,99,101,110,115,101,75,101,121])+t,t!=M([86,97,108,105,100])&&async function(){await i,r[M([109,111,100,101,108])][M([99,104,97,110,103,101])]=d,r[M([109,111,100,101,108])][M([101,110,113,117,101,117,101,67,104,97,110,103,101])]=d,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,n=null,d=null;try{return s==M([71,80,76])?M([78,111,116,65,108,108,111,119,101,100]):(t=function(){const t=s[M([115,112,108,105,116])](M([46]));return 3!=t[M([108,101,110,103,116,104])]?null:n(t[1]);function n(t){const n=c(t);return n&&e()?n:null;function e(){const t=n[M([106,116,105])],e=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={...n,[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])],g(r)==e}}}(),t?(t[M([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(d=function(t,n){return new(window[M([80,114,111,109,105,115,101])])((a=>{if(o())return a(M([86,97,108,105,100]));s(),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 u=(0,l.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 p(r){c(r)[M([116,104,101,110])]((t=>t&&t[M([115,116,97,116,117,115])]==M([111,107])?I(g(u+n))!=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=>(o(),t)),(()=>{const t=s();return null==t?(o(),M([86,97,108,105,100])):M(e-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 i=36e5;function o(){const n=M([108,108,99,116,45])+I(g(t)),r=f(I(window[M([77,97,116,104])][M([99,101,105,108])](e/i)));window[M([108,111,99,97,108,83,116,111,114,97,103,101])][M([115,101,116,73,116,101,109])](n,r)}function s(){const n=M([108,108,99,116,45])+I(g(t)),e=window[M([108,111,99,97,108,83,116,111,114,97,103,101])][M([103,101,116,73,116,101,109])](n);return e?window[M([112,97,114,115,101,73,110,116])](f(e),16)*i:null}function c(t){return new(window[M([80,114,111,109,105,115,101])])(((n,e)=>{t[M([116,104,101,110])](n,e),window[M([115,101,116,84,105,109,101,111,117,116])](e,12e4)}))}}r[M([111,110])](M([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),((n,e)=>{if(e[0]!=t)return a(M([85,115,97,103,101,76,105,109,105,116]));e[1]={...e[1],[M([114,101,113,117,101,115,116,73,100])]:u}}),{[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,p(t[M([114,101,116,117,114,110])]))}),{[M([112,114,105,111,114,105,116,121])]:M([108,111,119])}),i[M([116,104,101,110])]((()=>{c||a(M([85,115,97,103,101,76,105,109,105,116]))}))}));function o(){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 s(){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=s[M([115,112,108,105,116])](M([46])),[i,o,a]=r;return n(i),await e(i,o,a),t}catch(t){return!1}function n(n){const e=c(n);e&&e[M([97,108,103])]==M([69,83,50,53,54])||(t=!1)}async function e(n,e,r){const i=window[M([85,105,110,116,56,65,114,114,97,121])][M([102,114,111,109])](u(r),(t=>t[M([99,104,97,114,67,111,100,101,65,116])](0))),s=(new(window[M([84,101,120,116,69,110,99,111,100,101,114])]))[M([101,110,99,111,100,101])](n+M([46])+e),a=window[M([99,114,121,112,116,111])][M([115,117,98,116,108,101])];if(!a)return;const c=await a[M([105,109,112,111,114,116,75,101,121])](M([106,119,107]),o,{[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])}},c,i,s)||(t=!1)}}()?function(){const n=t[M([102,101,97,116,117,114,101,115])];return!(!n||!n[M([105,110,99,108,117,100,101,115])](M([42]))&&!n[M([105,110,99,108,117,100,101,115])](M([70,80]))&&!n[M([105,110,99,108,117,100,101,115])](M([80,80])))}()?function(){const n=[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])])?e/1e3:1746835200;return t[M([101,120,112])]<n}()?M([69,120,112,105,114,101,100]):function(){const n=_,e=t[M([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!e||0==e[M([108,101,110,103,116,104])])return!0;const{hostname:r}=new URL(window[M([108,111,99,97,116,105,111,110])][n(273)]);if(e[M([105,110,99,108,117,100,101,115])](r))return!0;const i=r[M([115,112,108,105,116])](M([46]));return e[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([115,111,109,101])]((t=>i[M([101,118,101,114,121])](((n,e)=>t[e]===n||t[e]===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])&&(n=a(M([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),t[M([108,105,99,101,110,115,101,84,121,112,101])]==M([116,114,105,97,108])&&(n=a(M([84,114,105,97,108,76,105,109,105,116]))),await(n&&d?new(window[M([80,114,111,109,105,115,101])])(((t,e)=>{n[M([116,104,101,110])](t,e),d[M([116,104,101,110])]((n=>{n!=M([86,97,108,105,100])&&t(n)}),e)})):n||d||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(t){return M([73,110,118,97,108,105,100])}}())}(this)}[Q(254)](t){const n=Q;this[n(271)][n(260)][n(261)][n(272)]((e=>{const r=n;for(const n of this[r(271)][r(260)][r(261)][r(270)][r(274)])t?e[r(239)](c,n):e[r(286)](c,n)}))}[Q(237)](){const t=Q,{editor:n}=this;n[t(293)](s),n.ui[t(246)][t(279)](F(n[t(283)],t(294)))}[Q(240)](){const t=Q,{editor:n}=this,e=n[t(255)][t(303)](s)[t(243)];n[t(293)](a,e),n.ui[t(246)][t(279)](F(n[t(283)],t(253)))}[Q(295)](){const t=Q;this[t(271)][t(255)][t(303)](s)[t(291)](),this[t(282)](l.global[t(249)][t(270)],t(280))}}function G(){var t=["isPremiumPlugin","requires","599302LLLRJI","pluginName","27935590KpWyUe","1sEKPWl","7433440IxcTVd","1914192yQHzin","126AjOovn","13451778EFokVT","FormatPainter","164402ysicGH","136461GrvBMz","isOfficialPlugin","4JccnSY"];return(G=function(){return t})()}var K=O;function O(t,n){var e=G();return(O=function(t,n){return e[t-=421]})(t,n)}!function(t){for(var n=O,e=t();;)try{if(798873===-parseInt(n(429))/1*(-parseInt(n(426))/2)+parseInt(n(421))/3*(-parseInt(n(423))/4)+-parseInt(n(430))/5+parseInt(n(432))/6*(parseInt(n(435))/7)+parseInt(n(431))/8+-parseInt(n(433))/9+parseInt(n(428))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(G);class W extends t.Plugin{static get[K(425)](){return[N,V]}static get[K(427)](){return K(434)}static get[K(422)](){return!0}static get[K(424)](){return!0}}function R(t,n){var e=B();return(R=function(t,n){return e[t-=373]})(t,n)}function B(){var t=["759hsQWeJ","173630Tzvktr","33720hhGCej","11883ajoBVq","1072585PKhjqx","2429190TKNawO","4eQhacD","394HKbKOL","908929tSgwrH","190144sQNFYb","1134dQJcdT"];return(B=function(){return t})()}!function(t){for(var n=R,e=t();;)try{if(396979===parseInt(n(383))/1+-parseInt(n(381))/2*(parseInt(n(377))/3)+-parseInt(n(380))/4*(parseInt(n(378))/5)+parseInt(n(379))/6+parseInt(n(382))/7+-parseInt(n(376))/8*(parseInt(n(373))/9)+parseInt(n(375))/10*(parseInt(n(374))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(B)})(),(window.CKEditor5=window.CKEditor5||{}).formatPainter=r})();
|
|
5
|
+
*/(()=>{var t={168:t=>{"use strict";t.exports=function(t){return t[1]}},220:t=>{"use strict";t.exports=function(t,n){return n||(n={}),t?(t=String(t.__esModule?t.default:t),/^['"].*['"]$/.test(t)&&(t=t.slice(1,-1)),n.hash&&(t+=n.hash),/["'() \t\n]|(%20)/.test(t)||n.needQuotes?'"'.concat(t.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):t):t}},237:t=>{"use strict";t.exports=CKEditor5.dll},262:t=>{"use strict";var n={};t.exports=function(t,e){var r=function(t){if(void 0===n[t]){var e=document.querySelector(t);if(window.HTMLIFrameElement&&e instanceof window.HTMLIFrameElement)try{e=e.contentDocument.head}catch(t){e=null}n[t]=e}return n[t]}(t);if(!r)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");r.appendChild(e)}},311:(t,n,e)=>{t.exports=e(237)("./src/ui.js")},355:(t,n,e)=>{t.exports=e(237)("./src/icons.js")},357:t=>{"use strict";t.exports=function(t){var n=document.createElement("style");return t.setAttributes(n,t.attributes),t.insert(n,t.options),n}},415:t=>{"use strict";t.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMCIgaGVpZ2h0PSIyMCIgZmlsbD0ibm9uZSIgdmlld0JveD0iMCAwIDMxIDIwIj48cGF0aCBmaWxsPSIjMDAwIiBkPSJNMTQgM2ExIDEgMCAwIDEgMS0xaDEwYTEgMSAwIDAgMSAxIDF2MmExIDEgMCAwIDEtMSAxSDE1YTEgMSAwIDAgMS0xLTF6Ii8+PHBhdGggZmlsbD0iIzAwMCIgZD0iTTI3IDMuMjVhMS41IDEuNSAwIDAgMSAxLjUgMS41djEuN2EyLjI1IDIuMjUgMCAwIDEtMS45MzIgMi4yMjZsLTQuNDI0LjYzMmEuNzUuNzUgMCAwIDAtLjY0NC43NDNWMTFhMSAxIDAgMCAxIDEgMXY1YTEgMSAwIDAgMS0xIDFIMjBhMSAxIDAgMCAxLTEtMXYtNWExIDEgMCAwIDEgMS0xdi0uOTVhMi4yNSAyLjI1IDAgMCAxIDEuOTMyLTIuMjI2bDQuNDI0LS42MzJBLjc1Ljc1IDAgMCAwIDI3IDYuNDQ5eiIvPjxwYXRoIGZpbGw9IiNmZmYiIGZpbGwtcnVsZT0iZXZlbm9kZCIgZD0iTTI2Ljg1NSAyLjI1SDI3YTIuNSAyLjUgMCAwIDEgMi41IDIuNXYxLjdhMy4yNSAzLjI1IDAgMCAxLTIuNzkgMy4yMTZsLTQuMjEuNjAyYTIgMiAwIDAgMSAxIDEuNzMydjVhMiAyIDAgMCAxLTIgMkgyMGEyIDIgMCAwIDEtMi0ydi01YTIgMiAwIDAgMSAxLTEuNzMydi0uMjE3QTMuMjUgMy4yNSAwIDAgMSAyMS4xMjkgN0gxNWEyIDIgMCAwIDEtMi0yVjNhMiAyIDAgMCAxIDItMmgxMGEyIDIgMCAwIDEgMS44NTUgMS4yNU0yMCAxMC4wNVYxMWExIDEgMCAwIDAtMSAxdjVhMSAxIDAgMCAwIDEgMWgxLjVhMSAxIDAgMCAwIDEtMXYtNWExIDEgMCAwIDAtMS0xdi0uOTVxMC0uMDI0LjAwMi0uMDVhLjc1Ljc1IDAgMCAxIC42NDItLjY5Mmw0LjQyNC0uNjMyQTIuMjUgMi4yNSAwIDAgMCAyOC41IDYuNDV2LTEuN2ExLjQ5NiAxLjQ5NiAwIDAgMC0xLjUtMS41djMuMmEuNzUuNzUgMCAwIDEtLjY0NC43NDJsLTQuNDI0LjYzMkEyLjI1IDIuMjUgMCAwIDAgMjAgMTAuMDVNMTUgMmExIDEgMCAwIDAtMSAxdjJhMSAxIDAgMCAwIDEgMWgxMGExIDEgMCAwIDAgMS0xVjNhMSAxIDAgMCAwLTEtMXoiIGNsaXAtcnVsZT0iZXZlbm9kZCIvPjxwYXRoIGZpbGw9IiMwMDAiIGQ9Ik0yLjUgMi41QS41LjUgMCAwIDEgMyAyaDIuNWEuNS41IDAgMCAxIC4zNTQuMTQ2bC42NDYuNjQ3LjY0Ni0uNjQ3QS41LjUgMCAwIDEgNy41IDJIMTBhLjUuNSAwIDAgMSAwIDFINy43MDdMNyAzLjcwN1YxMGguNWEuNS41IDAgMCAxIDAgMUg3djQuNzkzbC43MDcuNzA3SDEwYS41LjUgMCAwIDEgMCAxSDcuNWEuNS41IDAgMCAxLS4zNTQtLjE0NmwtLjY0Ni0uNjQ3LS42NDYuNjQ3YS41LjUgMCAwIDEtLjM1NC4xNDZIM2EuNS41IDAgMCAxIDAtMWgyLjI5M0w2IDE1Ljc5M1YxMWgtLjVhLjUuNSAwIDAgMSAwLTFINlYzLjcwN0w1LjI5MyAzSDNhLjUuNSAwIDAgMS0uNS0uNSIvPjxwYXRoIGZpbGw9IiNmZmYiIGZpbGwtcnVsZT0iZXZlbm9kZCIgZD0ibTUuNzkzIDMuNS0uNS0uNUgzYS41LjUgMCAwIDEgMC0xaDIuNWEuNS41IDAgMCAxIC4zNTQuMTQ2bC4xNDUuMTQ2LjUwMS41LjY0Ni0uNjQ2QS41LjUgMCAwIDEgNy41IDJIMTBhLjUuNSAwIDAgMSAwIDFINy43MDdMNyAzLjcwN1YxMGguNWEuNS41IDAgMCAxIDAgMUg3djQuNzkzbC43MDcuNzA3SDEwYS41LjUgMCAwIDEgMCAxSDcuNWEuNS41IDAgMCAxLS4zNTQtLjE0NmwtLjY0Ni0uNjQ3LS41LjUtLjE0Ni4xNDdhLjUuNSAwIDAgMS0uMzU0LjE0NkgzYS41LjUgMCAwIDEgMC0xaDIuMjkzTDYgMTUuNzkzVjExaC0uNWEuNS41IDAgMCAxIDAtMUg2VjMuNzA3em0tLjkxNC41TDUgNC4xMjF2NC45NjRhMS41IDEuNSAwIDAgMCAwIDIuODN2My40NjRsLS4xMjEuMTIxSDNhMS41IDEuNSAwIDAgMCAwIDNoMi41YTEuNSAxLjUgMCAwIDAgMS0uMzgyIDEuNSAxLjUgMCAwIDAgMSAuMzgySDEwYTEuNSAxLjUgMCAwIDAgMC0zSDguMTIxTDggMTUuMzc5di0zLjQ2NGExLjUgMS41IDAgMCAwIDAtMi44M1Y0LjEyMUw4LjEyMSA0SDEwYTEuNSAxLjUgMCAwIDAgMC0zSDcuNWExLjUgMS41IDAgMCAwLTEgLjM4MkExLjUgMS41IDAgMCAwIDUuNSAxSDNhMS41IDEuNSAwIDEgMCAwIDN6IiBjbGlwLXJ1bGU9ImV2ZW5vZGQiLz48L3N2Zz4="},433:t=>{"use strict";t.exports=function(t){var n=[];return n.toString=function(){return this.map((function(n){var e="",r=void 0!==n[5];return n[4]&&(e+="@supports (".concat(n[4],") {")),n[2]&&(e+="@media ".concat(n[2]," {")),r&&(e+="@layer".concat(n[5].length>0?" ".concat(n[5]):""," {")),e+=t(n),r&&(e+="}"),n[2]&&(e+="}"),n[4]&&(e+="}"),e})).join("")},n.i=function(t,e,r,i,o){"string"==typeof t&&(t=[[null,t,void 0]]);var s={};if(r)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(s[c]=!0)}for(var u=0;u<t.length;u++){var g=[].concat(t[u]);r&&s[g[0]]||(void 0!==o&&(void 0===g[5]||(g[1]="@layer".concat(g[5].length>0?" ".concat(g[5]):""," {").concat(g[1],"}")),g[5]=o),e&&(g[2]?(g[1]="@media ".concat(g[2]," {").concat(g[1],"}"),g[2]=e):g[2]=e),i&&(g[4]?(g[1]="@supports (".concat(g[4],") {").concat(g[1],"}"),g[4]=i):g[4]="".concat(i)),n.push(g))}},n}},545:t=>{"use strict";var n,e=(n=[],function(t,e){return n[t]=e,n.filter(Boolean).join("\n")});function r(t,n,r,i){var o;if(r)o="";else{o="",i.supports&&(o+="@supports (".concat(i.supports,") {")),i.media&&(o+="@media ".concat(i.media," {"));var s=void 0!==i.layer;s&&(o+="@layer".concat(i.layer.length>0?" ".concat(i.layer):""," {")),o+=i.css,s&&(o+="}"),i.media&&(o+="}"),i.supports&&(o+="}")}if(t.styleSheet)t.styleSheet.cssText=e(n,o);else{var a=document.createTextNode(o),c=t.childNodes;c[n]&&t.removeChild(c[n]),c.length?t.insertBefore(a,c[n]):t.appendChild(a)}}var i={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var n=i.singletonCounter++,e=i.singleton||(i.singleton=t.insertStyleElement(t));return{update:function(t){r(e,n,!1,t)},remove:function(t){r(e,n,!0,t)}}}},584:(t,n,e)=>{t.exports=e(237)("./src/utils.js")},655:(t,n,e)=>{"use strict";e.d(n,{A:()=>f});var r=e(168),i=e.n(r),o=e(433),s=e.n(o),a=e(220),c=e.n(a),u=new URL(e(415),e.b),g=s()(i()),I=c()(u);g.push([t.id,`.ck.ck-editor__editable_inline.ck-format-painter-active,.ck.ck-editor__editable_inline.ck-format-painter-active .ck-widget .ck-editor__nested-editable,.ck.ck-editor__editable_inline.ck-format-painter-active a,.ck.ck-editor__editable_inline.ck-format-painter-active a .ck-widget .ck-editor__nested-editable{cursor:url(${I}) 3 3,text}`,""]);const f=g},667:t=>{"use strict";t.exports=function(t,n){Object.keys(n).forEach((function(e){t.setAttribute(e,n[e])}))}},673:t=>{"use strict";var n=[];function e(t){for(var e=-1,r=0;r<n.length;r++)if(n[r].identifier===t){e=r;break}return e}function r(t,r){for(var o={},s=[],a=0;a<t.length;a++){var c=t[a],u=r.base?c[0]+r.base:c[0],g=o[u]||0,I="".concat(u," ").concat(g);o[u]=g+1;var f=e(I),d={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==f)n[f].references++,n[f].updater(d);else{var l=i(d,r);r.byIndex=a,n.splice(a,0,{identifier:I,updater:l,references:1})}s.push(I)}return s}function i(t,n){var e=n.domAPI(n);e.update(t);return function(n){if(n){if(n.css===t.css&&n.media===t.media&&n.sourceMap===t.sourceMap&&n.supports===t.supports&&n.layer===t.layer)return;e.update(t=n)}else e.remove()}}t.exports=function(t,i){var o=r(t=t||[],i=i||{});return function(t){t=t||[];for(var s=0;s<o.length;s++){var a=e(o[s]);n[a].references--}for(var c=r(t,i),u=0;u<o.length;u++){var g=e(o[u]);0===n[g].references&&(n[g].updater(),n.splice(g,1))}o=c}}},782:(t,n,e)=>{t.exports=e(237)("./src/core.js")},783:(t,n,e)=>{t.exports=e(237)("./src/engine.js")}},n={};function e(r){var i=n[r];if(void 0!==i)return i.exports;var o=n[r]={id:r,exports:{}};return t[r](o,o.exports,e),o.exports}e.m=t,e.n=t=>{var n=t&&t.__esModule?()=>t.default:()=>t;return e.d(n,{a:n}),n},e.d=(t,n)=>{for(var r in n)e.o(n,r)&&!e.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:n[r]})},e.o=(t,n)=>Object.prototype.hasOwnProperty.call(t,n),e.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},e.b=document.baseURI||self.location.href;var r={};(()=>{"use strict";e.r(r),e.d(r,{CopyFormatCommand:()=>f,FormatPainter:()=>W,FormatPainterEditing:()=>N,FormatPainterUI:()=>G,PasteFormatCommand:()=>A});var t=e(782);function n(t,e){const r=o();return(n=function(t,n){return r[t-=420]})(t,e)}const i=n;function o(){const t=["copyFormat","7734834GldoVk","pasteFormat","392973KmeHTC","ck-format-painter-active","8lheQij","92742YxhjKN","2001690YSLQrB","3557816QpgqaJ","413nQkLpH","2240452LuKbZS","32100JGGxFD"];return(o=function(){return t})()}!function(t){const e=n,r=t();for(;;)try{if(301257===-parseInt(e(426))/1+parseInt(e(428))/2*(parseInt(e(429))/3)+-parseInt(e(421))/4+parseInt(e(430))/5+parseInt(e(422))/6*(parseInt(e(420))/7)+-parseInt(e(431))/8+parseInt(e(424))/9)break;r.push(r.shift())}catch(t){r.push(r.shift())}}(o);const s=i(423),a=i(425),c=i(427),u=g;function g(t,n){const e=I();return(g=function(t,n){return e[t-=199]})(t,n)}function I(){const t=["isFormatting","editor","document","6359865CxBxqL","change:value","1104001CsqtQq","change:isEnabled","schema","reset","_getFormattingAttributes","7918512vsbccK","execute","model","2322717jcwVdw","1875354ShbZsl","value","commands","getAttributes","1727570gVEEzR","selection","refresh","from","fromEntries","get","3082128FmZjoU","getAttributeProperties","filter"];return(I=function(){return t})()}!function(t){const n=g,e=t();for(;;)try{if(697239===parseInt(n(205))/1+-parseInt(n(218))/2+parseInt(n(213))/3+-parseInt(n(224))/4+parseInt(n(203))/5+parseInt(n(214))/6+-parseInt(n(210))/7)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(I);class f extends t.Command{constructor(t){const n=g;super(t),this[n(215)]=void 0,this.on(n(206),((t,e,r)=>{r||this[n(208)]()})),this.on(n(204),(()=>t[n(216)][n(223)](a)[n(220)]()))}[u(211)](){const t=u;this[t(215)]=this[t(209)]()}[u(208)](){this[u(215)]=void 0}[u(209)](){const t=u,n=this[t(201)][t(212)],e=n[t(202)][t(219)];return Object[t(222)](Array[t(221)](e[t(217)]())[t(199)]((([e])=>n[t(207)][t(225)](e)[t(200)])))}}var d=e(584);function l(){const t=["removeSelectionAttribute","createSelection","isFormatting","selection","word","getAttributes","1700248dxTwxW","getFirstPosition","execute","16xqKpgJ","getItems","1320867YBhTBg","113143pGdBDp","20GzHbas","setAttribute","getSelectedBlocks","schema","removeAttribute","isCollapsed","from","backward","document","getValidRanges","editor","isBlock","_getFormattingAttributes","_createRangeOnEntireWord","model","1704703piSCJZ","createRange","createRangeOn","135112tFbCoJ","change","2220078kokXmd","4TtshTX","2576745EoGdyb","setSelection","getAttributeProperties","getRanges","_removeFormatCommand","_getFormattingItems","forward","65YxQsai","modifySelection","getLastPosition"];return(l=function(){return t})()}const M=p;function p(t,n){const e=l();return(p=function(t,n){return e[t-=122]})(t,n)}!function(t){const n=p,e=t();for(;;)try{if(367337===-parseInt(n(151))/1*(-parseInt(n(128))/2)+parseInt(n(150))/3+parseInt(n(125))/4*(-parseInt(n(136))/5)+-parseInt(n(127))/6+-parseInt(n(122))/7*(-parseInt(n(148))/8)+-parseInt(n(129))/9+parseInt(n(152))/10*(parseInt(n(145))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(l);class A extends t.Command{constructor(t){const n=p;super(t),this[n(133)]=new m(t)}[M(147)](t={}){const n=M,e=this[n(162)][n(166)],r=e[n(160)][n(142)],i=Array[n(158)](r[n(132)]()),o=r[n(157)]?[this[n(165)](e,r)]:i;e[n(126)]((r=>{const s=n;r[s(130)](o),this[s(133)][s(147)]();for(const n in t)for(const i of e[s(155)][s(161)](o,n))r[s(153)](n,t[n],i);r[s(130)](i)}))}[M(165)](t,n){const e=M,r=t[e(140)](n);t[e(137)](r,{unit:e(143),direction:e(159)});const i=r[e(146)]();t[e(137)](r,{unit:e(143),direction:e(135)});const o=r[e(138)]();return t[e(123)](i,o)}}class m extends t.Command{[M(147)](){const t=M,n=this[t(162)][t(166)],e=n[t(155)];n[t(126)]((r=>{const i=t;for(const t of this[i(134)](n[i(160)][i(142)],e))if(t.is(i(142)))for(const n of this[i(164)](t,e))r[i(139)](n);else{const n=r[i(124)](t);for(const o of this[i(164)](t,e))r[i(156)](o,n)}}))}*[M(134)](t,n){const e=M,r=t=>!!(0,d.first)(this[e(164)](t,n));for(const i of t[e(132)]())for(const t of i[e(149)]())!n[e(163)](t)&&r(t)&&(yield t);for(const n of t[e(154)]())r(n)&&(yield n);r(t)&&(yield t)}*[M(164)](t,n){const e=M;for(const[r]of t[e(144)]()){const t=n[e(131)](r);t&&t[e(141)]&&(yield r)}}}const w=h;function h(t,n){const e=D();return(h=function(t,n){return e[t-=294]})(t,n)}function D(){const t=["FormatPainter","FormatPainterEditing","formatPainterLicenseKeyUsageLimit","domainLimit","2548920kAsnHI","1530rFMcpg","_licenseKeyCheckInterval","editor","338995FpZFew","4470216oomBPL","formatPainterLicenseKeyTrialLimit","expired","isOfficialPlugin","get","301026zyuWzb","_showLicenseError","licenseKey","trialLimit","init","3srVzgs","invalid","pluginName","isPremiumPlugin","formatPainterLicenseKeyInvalid","add","config","994zIeZae","formatPainterLicenseKeyEvaluationLimit","194444TKsXam","evaluationLimit","usageLimit","8630946sYlNLU","formatPainterLicenseKeyDomainLimit","formatPainterLicenseKeyExpired","featureNotAllowed","commands","formatPainterLicenseKeyNotAllowed","formatPainterLicenseKeyValid","destroy"];return(D=function(){return t})()}!function(t){const n=h,e=t();for(;;)try{if(285648===parseInt(n(330))/1+-parseInt(n(297))/2+parseInt(n(302))/3*(-parseInt(n(311))/4)+parseInt(n(326))/5+-parseInt(n(327))/6*(-parseInt(n(309))/7)+parseInt(n(331))/8+-parseInt(n(314))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(D);class N extends t.Plugin{[w(299)];[w(328)];static get[w(304)](){return w(323)}static get[w(295)](){return!0}static get[w(305)](){return!0}[w(301)](){const t=w,n=this[t(329)];n[t(318)][t(307)](s,new f(n)),n[t(318)][t(307)](a,new A(n)),this[t(299)]=this[t(329)][t(308)][t(296)](t(299));const e=this[t(329)];this[t(328)]=setInterval((()=>{const n=t;let r;for(const t in e){const i=t,o=e[i];if(n(320)==o||n(306)==o||n(316)==o||n(315)==o||n(319)==o||n(310)==o||n(332)==o||n(324)==o){delete e[i],r=o,clearInterval(this[n(328)]),this[n(328)]=void 0;break}}n(306)==r&&e[n(298)](n(303)),n(316)==r&&e[n(298)](n(294)),n(315)==r&&e[n(298)](n(325)),n(319)==r&&e[n(298)](n(317),n(322)),n(310)==r&&e[n(298)](n(312)),n(332)==r&&e[n(298)](n(300)),n(324)==r&&e[n(298)](n(313))}),1e3)}[w(321)](){const t=w;super[t(321)](),this[t(328)]&&clearInterval(this[t(328)])}}var y=e(311),x=e(783),S=e(355),j=e(673),C=e.n(j),L=e(545),E=e.n(L),v=e(262),b=e.n(v),T=e(667),P=e.n(T),k=e(357),U=e.n(k),z=e(655),Y={attributes:{"data-cke":!0}};Y.setAttributes=P(),Y.insert=b().bind(null,"head"),Y.domAPI=E(),Y.insertStyleElement=U();C()(z.A,Y);z.A&&z.A.locals&&z.A.locals;function F(t,n){const e=t.t;switch(n){case"Paint formatting":return e("Paint formatting");case"Copy text formatting":return e("Copy text formatting");case"Paste text formatting":return e("Paste text formatting");case"Continuous painting":return e("Continuous painting");case"Keeps the painter on after setting the formatting.":return e("Keeps the painter on after setting the formatting.");case"Formatting copied.":return e("Formatting copied.");case"Pasted formatting.":return e("Pasted formatting.");default:return n}}const Q=_;function Z(){const t=["171xCTIGI","commands","get","document","high","36490TYdYKu","ck-format-painter-dropdown","class","set","_copyFormatting","Ctrl+Alt+V","roots","2574jmUhJG","Ctrl+Alt+C","href","view","removeClass","7523410NQrzim","formatPainter","isOn","ariaLiveAnnouncer","9148405tViMiF","accessibility","add","stopListening","window","Pasted formatting.","menuitemcheckbox","reset","Paste text formatting","24UTAiTf","_pasteFormatting","destroy","addObserver","change","keystrokes","join","change:isEnabled","menu","locale","isEnabled","change:value","_toggleSpecialCursor","afterInit","pluginName","Keeps the painter on after setting the formatting.","switchbutton","57476xzqWyT","bind","isPremiumPlugin","Esc","Paint formatting","componentFactory","value","addClass","buttonView","execute","focus","107720PnLjMq","Formatting copied.","Copy text formatting","FormatPainterUI","editor","fromCharCode","announce","editing","21gRmsFV","isOfficialPlugin","401889HRcJAO","init","listenTo","map","mouseup","Continuous painting","_finishPainting","addKeystrokeInfos","6823848xJjPgX"];return(Z=function(){return t})()}function _(t,n){const e=Z();return(_=function(t,n){return e[t-=194]})(t,n)}!function(t){const n=_,e=t();for(;;)try{if(875978===parseInt(n(244))/1*(parseInt(n(225))/2)+-parseInt(n(246))/3*(parseInt(n(208))/4)+parseInt(n(195))/5+-parseInt(n(254))/6+parseInt(n(199))/7+parseInt(n(236))/8*(parseInt(n(255))/9)+parseInt(n(260))/10*(-parseInt(n(267))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(Z);class G extends((0,d.DomEmitterMixin)(t.Plugin)){static get[Q(222)](){return Q(239)}static get[Q(245)](){return!0}static get[Q(227)](){return!0}[Q(247)](){const t=Q,n=this[t(240)];n[t(243)][t(270)][t(211)](x.ClickObserver),n[t(200)][t(253)]({keystrokes:[{label:F(n[t(217)],t(238)),keystroke:t(268)},{label:F(n[t(217)],t(207)),keystroke:t(265)}]}),n.ui[t(230)][t(201)](t(196),(e=>{const r=t,i=(0,y.createDropdown)(e,y.SplitButtonView),o=n[r(256)][r(257)](s);i[r(233)][r(263)]({label:F(n[r(217)],r(229)),icon:S.IconPaintRoller,keystroke:r(268),tooltip:!0}),i[r(262)]=r(261),o&&(i[r(226)](r(218)).to(o,r(218)),this[r(248)](o,r(215),((t,n,e)=>{e||this[r(252)]()})),i[r(233)][r(226)](r(197)).to(o,r(231),(t=>!!t)),this[r(248)](n,r(210),(()=>this[r(220)](!1))),this[r(248)](o,r(219),((t,n,e)=>{this[r(220)](!!e)})));const a=new y.ViewModel({withText:!0,label:F(n[r(217)],r(251)),tooltip:F(n[r(217)],r(223)),isOn:!1,role:r(205)});(0,y.addListToDropdown)(i,new d.Collection([{type:r(224),model:a}]),{role:r(216)});const c=()=>{const t=r;this[t(264)](),this[t(248)](d.global[t(203)][t(258)],t(250),(()=>{const n=t;this[n(209)](),a[n(197)]||this[n(252)]()}))};return this[r(248)](i,r(234),(()=>{const t=r;a[t(197)]=!a[t(197)]})),this[r(248)](i[r(233)],r(234),(()=>{const t=r;n[t(243)][t(270)][t(235)](),i[t(233)][t(197)]?this[t(252)]():c()})),n[r(213)][r(263)](r(268),((t,n)=>{const e=r;c(),a[e(197)]=!0,n()}),{priority:r(259)}),n[r(213)][r(263)](r(265),((t,n)=>{const e=r;i[e(233)][e(197)]&&(this[e(209)](),a[e(197)]||this[e(252)](),n())}),{priority:r(259)}),n[r(213)][r(263)](r(228),((t,n)=>{const e=r;i[e(233)][e(197)]&&(a[e(197)]=!1,this[e(252)](),n())})),i}))}[Q(221)](){!async function(t){const n=M([90,101,82,81,48,69,102,97,108,49,121,106,117,53,119,50,78,54,67,73,111,105,80,107,89,115,83,70,110,77,112,98,85,87,79,113,114,57,76,100,84,66,65,99,122,75,52,120,109,56,74,103,71,55,86,88,72,51,116,68,118,104]),e=window[M([68,97,116,101])][M([110,111,119])](),r=t[M([101,100,105,116,111,114])],i=new(window[M([80,114,111,109,105,115,101])])((t=>{r[M([111,110,99,101])](M([114,101,97,100,121]),t)})),o={[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])},s=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){const n=[new(window[M([80,114,111,109,105,115,101])])((t=>setTimeout(t,605900))),i[M([116,104,101,110])]((()=>new(window[M([80,114,111,109,105,115,101])])((t=>{let n=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]),((e,r)=>{r[0][M([105,115,68,111,99,117,109,101,110,116,79,112,101,114,97,116,105,111,110])]&&n++,504==n&&(t(),e[M([111,102,102])]())}))}))))];return window[M([80,114,111,109,105,115,101])][M([114,97,99,101])](n)[M([116,104,101,110])]((()=>t))}function c(t){return t[M([115,116,97,114,116,115,87,105,116,104])](M([101,121]))?JSON[M([112,97,114,115,101])](u(t)):null}function u(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 g(t){let n=5381;function e(t){for(let e=0;e<t[M([108,101,110,103,116,104])];e++){const r=t[M([99,104,97,114,67,111,100,101,65,116])](e);n=(n<<5)+n+r,n&=n}}return function t(n){Array[M([105,115,65,114,114,97,121])](n)?n[M([102,111,114,69,97,99,104])](t):n&&typeof n==M([111,98,106,101,99,116])?Object[M([101,110,116,114,105,101,115])](n)[M([115,111,114,116])]()[M([102,111,114,69,97,99,104])]((([n,r])=>{e(n),t(r)})):e(window[M([83,116,114,105,110,103])](n))}(t),n>>>0}function I(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 l(){}function M(t){const n=_;return t[n(249)]((t=>String[n(241)](t)))[n(214)]("")}!function(t){const e=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 e=M([90]);for(let r=0;r<t[M([108,101,110,103,116,104])];r+=2){let i=window[M([112,97,114,115,101,73,110,116])](t[M([115,117,98,115,116,114,105,110,103])](r,r+2));i>=n[M([108,101,110,103,116,104])]&&(i-=n[M([108,101,110,103,116,104])]),e+=n[i]}return e}();r[e]=M([102,111,114,109,97,116,80,97,105,110,116,101,114,76,105,99,101,110,115,101,75,101,121])+t,t!=M([86,97,108,105,100])&&async function(){await i,r[M([109,111,100,101,108])][M([99,104,97,110,103,101])]=l,r[M([109,111,100,101,108])][M([101,110,113,117,101,117,101,67,104,97,110,103,101])]=l,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,n=null,l=null;try{return s==M([71,80,76])?M([78,111,116,65,108,108,111,119,101,100]):(t=function(){const t=s[M([115,112,108,105,116])](M([46]));return 3!=t[M([108,101,110,103,116,104])]?null:n(t[1]);function n(t){const n=c(t);return n&&e()?n:null;function e(){const t=n[M([106,116,105])],e=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={...n,[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])],g(r)==e}}}(),t?(t[M([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(l=function(t,n){return new(window[M([80,114,111,109,105,115,101])])((a=>{if(o())return a(M([86,97,108,105,100]));s(),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 u=(0,d.uid)();function l(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 p(r){c(r)[M([116,104,101,110])]((t=>t&&t[M([115,116,97,116,117,115])]==M([111,107])?I(g(u+n))!=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=>(o(),t)),(()=>{const t=s();return null==t?(o(),M([86,97,108,105,100])):M(e-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 i=36e5;function o(){const n=M([108,108,99,116,45])+I(g(t)),r=f(I(window[M([77,97,116,104])][M([99,101,105,108])](e/i)));window[M([108,111,99,97,108,83,116,111,114,97,103,101])][M([115,101,116,73,116,101,109])](n,r)}function s(){const n=M([108,108,99,116,45])+I(g(t)),e=window[M([108,111,99,97,108,83,116,111,114,97,103,101])][M([103,101,116,73,116,101,109])](n);return e?window[M([112,97,114,115,101,73,110,116])](f(e),16)*i:null}function c(t){return new(window[M([80,114,111,109,105,115,101])])(((n,e)=>{t[M([116,104,101,110])](n,e),window[M([115,101,116,84,105,109,101,111,117,116])](e,12e4)}))}}r[M([111,110])](M([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),((n,e)=>{if(e[0]!=t)return a(M([85,115,97,103,101,76,105,109,105,116]));e[1]={...e[1],[M([114,101,113,117,101,115,116,73,100])]:u}}),{[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=>{l(t[M([114,101,116,117,114,110])])&&(c=!0,p(t[M([114,101,116,117,114,110])]))}),{[M([112,114,105,111,114,105,116,121])]:M([108,111,119])}),i[M([116,104,101,110])]((()=>{c||a(M([85,115,97,103,101,76,105,109,105,116]))}))}));function o(){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 s(){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=s[M([115,112,108,105,116])](M([46])),[i,o,a]=r;return n(i),await e(i,o,a),t}catch(t){return!1}function n(n){const e=c(n);e&&e[M([97,108,103])]==M([69,83,50,53,54])||(t=!1)}async function e(n,e,r){const i=window[M([85,105,110,116,56,65,114,114,97,121])][M([102,114,111,109])](u(r),(t=>t[M([99,104,97,114,67,111,100,101,65,116])](0))),s=(new(window[M([84,101,120,116,69,110,99,111,100,101,114])]))[M([101,110,99,111,100,101])](n+M([46])+e),a=window[M([99,114,121,112,116,111])][M([115,117,98,116,108,101])];if(!a)return;const c=await a[M([105,109,112,111,114,116,75,101,121])](M([106,119,107]),o,{[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])}},c,i,s)||(t=!1)}}()?function(){const n=t[M([102,101,97,116,117,114,101,115])];return!(!n||!n[M([105,110,99,108,117,100,101,115])](M([42]))&&!n[M([105,110,99,108,117,100,101,115])](M([70,80]))&&!n[M([105,110,99,108,117,100,101,115])](M([80,80])))}()?function(){const n=[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])])?e/1e3:1746921600;return t[M([101,120,112])]<n}()?M([69,120,112,105,114,101,100]):function(){const n=_,e=t[M([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!e||0==e[M([108,101,110,103,116,104])])return!0;const{hostname:r}=new URL(window[M([108,111,99,97,116,105,111,110])][n(269)]);if(e[M([105,110,99,108,117,100,101,115])](r))return!0;const i=r[M([115,112,108,105,116])](M([46]));return e[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([115,111,109,101])]((t=>i[M([101,118,101,114,121])](((n,e)=>t[e]===n||t[e]===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])&&(n=a(M([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),t[M([108,105,99,101,110,115,101,84,121,112,101])]==M([116,114,105,97,108])&&(n=a(M([84,114,105,97,108,76,105,109,105,116]))),await(n&&l?new(window[M([80,114,111,109,105,115,101])])(((t,e)=>{n[M([116,104,101,110])](t,e),l[M([116,104,101,110])]((n=>{n!=M([86,97,108,105,100])&&t(n)}),e)})):n||l||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(t){return M([73,110,118,97,108,105,100])}}())}(this)}[Q(220)](t){const n=Q;this[n(240)][n(243)][n(270)][n(212)]((e=>{const r=n;for(const n of this[r(240)][r(243)][r(270)][r(258)][r(266)])t?e[r(232)](c,n):e[r(194)](c,n)}))}[Q(264)](){const t=Q,{editor:n}=this;n[t(234)](s),n.ui[t(198)][t(242)](F(n[t(217)],t(237)))}[Q(209)](){const t=Q,{editor:n}=this,e=n[t(256)][t(257)](s)[t(231)];n[t(234)](a,e),n.ui[t(198)][t(242)](F(n[t(217)],t(204)))}[Q(252)](){const t=Q;this[t(240)][t(256)][t(257)](s)[t(206)](),this[t(202)](d.global[t(203)][t(258)],t(250))}}function V(){var t=["isPremiumPlugin","requires","599302LLLRJI","pluginName","27935590KpWyUe","1sEKPWl","7433440IxcTVd","1914192yQHzin","126AjOovn","13451778EFokVT","FormatPainter","164402ysicGH","136461GrvBMz","isOfficialPlugin","4JccnSY"];return(V=function(){return t})()}var K=O;function O(t,n){var e=V();return(O=function(t,n){return e[t-=421]})(t,n)}!function(t){for(var n=O,e=t();;)try{if(798873===-parseInt(n(429))/1*(-parseInt(n(426))/2)+parseInt(n(421))/3*(-parseInt(n(423))/4)+-parseInt(n(430))/5+parseInt(n(432))/6*(parseInt(n(435))/7)+parseInt(n(431))/8+-parseInt(n(433))/9+parseInt(n(428))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(V);class W extends t.Plugin{static get[K(425)](){return[N,G]}static get[K(427)](){return K(434)}static get[K(422)](){return!0}static get[K(424)](){return!0}}function R(t,n){var e=B();return(R=function(t,n){return e[t-=373]})(t,n)}function B(){var t=["759hsQWeJ","173630Tzvktr","33720hhGCej","11883ajoBVq","1072585PKhjqx","2429190TKNawO","4eQhacD","394HKbKOL","908929tSgwrH","190144sQNFYb","1134dQJcdT"];return(B=function(){return t})()}!function(t){for(var n=R,e=t();;)try{if(396979===parseInt(n(383))/1+-parseInt(n(381))/2*(parseInt(n(377))/3)+-parseInt(n(380))/4*(parseInt(n(378))/5)+parseInt(n(379))/6+parseInt(n(382))/7+-parseInt(n(376))/8*(parseInt(n(373))/9)+parseInt(n(375))/10*(parseInt(n(374))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(B)})(),(window.CKEditor5=window.CKEditor5||{}).formatPainter=r})();
|
package/dist/index.js
CHANGED
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Command as
|
|
24
|
-
_0x12f180(_0x3002d7){static get['pluginName'](){return'FormatPainterUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x14e23e=this['editor'];_0x14e23e['editing']['view']['addObserver'](_0x1c1b58),_0x14e23e['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':b(_0x14e23e['locale'],'Copy\x20text\x20formatting'),'keystroke':'Ctrl+Alt+C'},{'label':b(_0x14e23e['locale'],'Paste\x20text\x20formatting'),'keystroke':'Ctrl+Alt+V'}]}),_0x14e23e['ui']['componentFactory']['add']('formatPainter',_0x221428=>{const _0x2d0ace=_0x350451(_0x221428,_0x67bf90),_0x32b9d4=_0x14e23e['commands']['get'](c);_0x2d0ace['buttonView']['set']({'label':b(_0x14e23e['locale'],'Paint\x20formatting'),'icon':_0x10d8f8,'keystroke':'Ctrl+Alt+C','tooltip':!0x0}),_0x2d0ace['class']='ck-format-painter-dropdown',_0x32b9d4&&(_0x2d0ace['bind']('isEnabled')['to'](_0x32b9d4,'isEnabled'),this['listenTo'](_0x32b9d4,'change:isEnabled',(_0x410dc7,_0x149cf9,_0x33f78d)=>{_0x33f78d||this['_finishPainting']();}),_0x2d0ace['buttonView']['bind']('isOn')['to'](_0x32b9d4,'value',_0x5bfeff=>!!_0x5bfeff),this['listenTo'](_0x14e23e,'destroy',()=>this['_toggleSpecialCursor'](!0x1)),this['listenTo'](_0x32b9d4,'change:value',(_0x3b0c15,_0x5b2c39,_0x298420)=>{this['_toggleSpecialCursor'](!!_0x298420);}));const _0x34af59=new _0x50cafd({'withText':!0x0,'label':b(_0x14e23e['locale'],'Continuous\x20painting'),'tooltip':b(_0x14e23e['locale'],'Keeps\x20the\x20painter\x20on\x20after\x20setting\x20the\x20formatting.'),'isOn':!0x1,'role':'menuitemcheckbox'});_0x8b5d37(_0x2d0ace,new _0x1bf6ae([{'type':'switchbutton','model':_0x34af59}]),{'role':'menu'});const _0x38b140=()=>{this['_copyFormatting'](),this['listenTo'](_0x150493['window']['document'],'mouseup',()=>{this['_pasteFormatting'](),_0x34af59['isOn']||this['_finishPainting']();});};return this['listenTo'](_0x2d0ace,'execute',()=>{_0x34af59['isOn']=!_0x34af59['isOn'];}),this['listenTo'](_0x2d0ace['buttonView'],'execute',()=>{_0x14e23e['editing']['view']['focus'](),_0x2d0ace['buttonView']['isOn']?this['_finishPainting']():_0x38b140();}),_0x14e23e['keystrokes']['set']('Ctrl+Alt+C',(_0x4d2d49,_0x33f638)=>{_0x38b140(),_0x34af59['isOn']=!0x0,_0x33f638();},{'priority':'high'}),_0x14e23e['keystrokes']['set']('Ctrl+Alt+V',(_0xdbbf89,_0x2f474f)=>{_0x2d0ace['buttonView']['isOn']&&(this['_pasteFormatting'](),_0x34af59['isOn']||this['_finishPainting'](),_0x2f474f());},{'priority':'high'}),_0x14e23e['keystrokes']['set']('Esc',(_0x5e54c5,_0x267350)=>{_0x2d0ace['buttonView']['isOn']&&(_0x34af59['isOn']=!0x1,this['_finishPainting'](),_0x267350());}),_0x2d0ace;});}['afterInit'](){!async function(_0x4a23e9){const _0x5b1274=_0x49ed85([0x6e,0x51,0x68,0x4f,0x37,0x4a,0x58,0x44,0x66,0x55,0x62,0x56,0x4d,0x76,0x39,0x33,0x61,0x69,0x38,0x70,0x6f,0x57,0x64,0x73,0x6c,0x42,0x31,0x47,0x6d,0x49,0x74,0x67,0x6b,0x72,0x4e,0x50,0x71,0x32,0x6a,0x59,0x48,0x4c,0x63,0x34,0x75,0x79,0x45,0x77,0x4b,0x35,0x36,0x46,0x5a,0x65,0x30,0x7a,0x53,0x52,0x41,0x54,0x43,0x78]),_0x55e7f9=0x14810dce,_0x18f20b=0x14866abe^_0x55e7f9,_0x172930=window[_0x49ed85([0x44,0x61,0x74,0x65])][_0x49ed85([0x6e,0x6f,0x77])](),_0x144908=_0x4a23e9[_0x49ed85([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1b6e8e=new window[(_0x49ed85([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x11f30a=>{_0x144908[_0x49ed85([0x6f,0x6e,0x63,0x65])](_0x49ed85([0x72,0x65,0x61,0x64,0x79]),_0x11f30a);}),_0x299a05={[_0x49ed85([0x6b,0x74,0x79])]:_0x49ed85([0x45,0x43]),[_0x49ed85([0x75,0x73,0x65])]:_0x49ed85([0x73,0x69,0x67]),[_0x49ed85([0x63,0x72,0x76])]:_0x49ed85([0x50,0x2d,0x32,0x35,0x36]),[_0x49ed85([0x78])]:_0x49ed85([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]),[_0x49ed85([0x79])]:_0x49ed85([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]),[_0x49ed85([0x61,0x6c,0x67])]:_0x49ed85([0x45,0x53,0x32,0x35,0x36])},_0x2d1b6e=_0x144908[_0x49ed85([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x49ed85([0x67,0x65,0x74])](_0x49ed85([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5eda69(){let _0x8a68a7,_0x23b522=null,_0x16bfc3=null;try{if(_0x2d1b6e==_0x49ed85([0x47,0x50,0x4c]))return _0x49ed85([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x8a68a7=_0x29a8bf(),!_0x8a68a7)return _0x49ed85([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x8a68a7[_0x49ed85([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x16bfc3=_0x4d3d10(_0x8a68a7[_0x49ed85([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x8a68a7[_0x49ed85([0x6a,0x74,0x69])])),await _0x334362()?_0x41626f()?_0x1f6fed()?_0x49ed85([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5b42a3()?(_0x8a68a7[_0x49ed85([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x49ed85([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x23b522=_0x5e7598(_0x49ed85([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x8a68a7[_0x49ed85([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x49ed85([0x74,0x72,0x69,0x61,0x6c])&&(_0x23b522=_0x5e7598(_0x49ed85([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x11540c()):_0x49ed85([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x49ed85([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x49ed85([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x2d8cd1){return _0x49ed85([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1f6fed(){const _0x2f8e2a=[_0x49ed85([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x49ed85([0x74,0x72,0x69,0x61,0x6c])][_0x49ed85([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x8a68a7[_0x49ed85([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x172930/0x3e8:0xe10*_0x18f20b;return _0x8a68a7[_0x49ed85([0x65,0x78,0x70])]<_0x2f8e2a;}function _0x41626f(){const _0x20c36c=_0x8a68a7[_0x49ed85([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x20c36c&&(!!_0x20c36c[_0x49ed85([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x49ed85([0x2a]))||(!!_0x20c36c[_0x49ed85([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x49ed85([0x46,0x50]))||!!_0x20c36c[_0x49ed85([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x49ed85([0x50,0x50]))));}function _0x5b42a3(){const _0x1914e1=_0x8a68a7[_0x49ed85([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1914e1||0x0==_0x1914e1[_0x49ed85([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1da20b}=new URL(window[_0x49ed85([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x1914e1[_0x49ed85([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1da20b))return!0x0;const _0x1ac4e3=_0x1da20b[_0x49ed85([0x73,0x70,0x6c,0x69,0x74])](_0x49ed85([0x2e]));return _0x1914e1[_0x49ed85([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x8446ed=>_0x8446ed[_0x49ed85([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x49ed85([0x2a])))[_0x49ed85([0x6d,0x61,0x70])](_0x131fd2=>_0x131fd2[_0x49ed85([0x73,0x70,0x6c,0x69,0x74])](_0x49ed85([0x2e])))[_0x49ed85([0x73,0x6f,0x6d,0x65])](_0x370c2b=>_0x1ac4e3[_0x49ed85([0x65,0x76,0x65,0x72,0x79])]((_0x26624a,_0x198bc6)=>_0x370c2b[_0x198bc6]===_0x26624a||_0x370c2b[_0x198bc6]===_0x49ed85([0x2a])));}function _0x11540c(){return _0x23b522&&_0x16bfc3?new window[(_0x49ed85([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x321d2d,_0xd085a6)=>{_0x23b522[_0x49ed85([0x74,0x68,0x65,0x6e])](_0x321d2d,_0xd085a6),_0x16bfc3[_0x49ed85([0x74,0x68,0x65,0x6e])](_0x40bdeb=>{_0x40bdeb!=_0x49ed85([0x56,0x61,0x6c,0x69,0x64])&&_0x321d2d(_0x40bdeb);},_0xd085a6);}):_0x23b522||_0x16bfc3||_0x49ed85([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4d3d10(_0x56c29d,_0x20ea27){return new window[(_0x49ed85([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x17dfe9=>{if(_0x3e1c81())return _0x17dfe9(_0x49ed85([0x56,0x61,0x6c,0x69,0x64]));_0x2925b4(),_0x144908[_0x49ed85([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x49ed85([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x177f70=!0x1;const _0x468c71=_0x529c95();function _0x5e1f40(_0x1baa3c){return!!_0x1baa3c&&(typeof _0x1baa3c===_0x49ed85([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1baa3c===_0x49ed85([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1baa3c[_0x49ed85([0x74,0x68,0x65,0x6e])]===_0x49ed85([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1baa3c[_0x49ed85([0x63,0x61,0x74,0x63,0x68])]===_0x49ed85([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4436d6(_0x21d9c2){_0x1d3a07(_0x21d9c2)[_0x49ed85([0x74,0x68,0x65,0x6e])](_0x2bfaee=>{if(!_0x2bfaee||_0x2bfaee[_0x49ed85([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x49ed85([0x6f,0x6b]))return _0x49ed85([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x105da8(_0x580300(_0x468c71+_0x20ea27))!=_0x2bfaee[_0x49ed85([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x49ed85([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x49ed85([0x56,0x61,0x6c,0x69,0x64]);})[_0x49ed85([0x74,0x68,0x65,0x6e])](_0x468084=>(_0x468058(),_0x468084),()=>{const _0x4eff67=_0x2a4093();return null==_0x4eff67?(_0x468058(),_0x49ed85([0x56,0x61,0x6c,0x69,0x64])):_0x49ed85(_0x172930-_0x4eff67>(0x308d89ce^_0x55e7f9)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x49ed85([0x74,0x68,0x65,0x6e])](_0x17dfe9)[_0x49ed85([0x63,0x61,0x74,0x63,0x68])](()=>{_0x17dfe9(_0x49ed85([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x77b7c9=0x14b7e34e^_0x55e7f9;function _0x468058(){const _0x7b378=_0x49ed85([0x6c,0x6c,0x63,0x74,0x2d])+_0x105da8(_0x580300(_0x56c29d)),_0x37aaf2=_0x49b489(_0x105da8(window[_0x49ed85([0x4d,0x61,0x74,0x68])][_0x49ed85([0x63,0x65,0x69,0x6c])](_0x172930/_0x77b7c9)));window[_0x49ed85([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x49ed85([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x7b378,_0x37aaf2);}function _0x2a4093(){const _0x4b2315=_0x49ed85([0x6c,0x6c,0x63,0x74,0x2d])+_0x105da8(_0x580300(_0x56c29d)),_0x32e5fc=window[_0x49ed85([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x49ed85([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4b2315);return _0x32e5fc?window[_0x49ed85([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x49b489(_0x32e5fc),0x10)*_0x77b7c9:null;}function _0x1d3a07(_0x315191){return new window[(_0x49ed85([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x12f970,_0x3a53cc)=>{_0x315191[_0x49ed85([0x74,0x68,0x65,0x6e])](_0x12f970,_0x3a53cc),window[_0x49ed85([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3a53cc,0x1480d90e^_0x55e7f9);});}}_0x144908[_0x49ed85([0x6f,0x6e])](_0x49ed85([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x497e0e,_0x62cb28)=>{if(_0x62cb28[0x0]!=_0x56c29d)return _0x17dfe9(_0x49ed85([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x62cb28[0x1]={..._0x62cb28[0x1],[_0x49ed85([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x468c71};},{[_0x49ed85([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x49ed85([0x68,0x69,0x67,0x68])}),_0x144908[_0x49ed85([0x6f,0x6e])](_0x49ed85([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x764e2=>{_0x5e1f40(_0x764e2[_0x49ed85([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x177f70=!0x0,_0x4436d6(_0x764e2[_0x49ed85([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x49ed85([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x49ed85([0x6c,0x6f,0x77])}),_0x1b6e8e[_0x49ed85([0x74,0x68,0x65,0x6e])](()=>{_0x177f70||_0x17dfe9(_0x49ed85([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3e1c81(){return _0x144908[_0x49ed85([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x49ed85([0x76,0x69,0x65,0x77])][_0x49ed85([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x49ed85([0x61,0x75,0x74,0x6f]);}function _0x2925b4(){_0x144908[_0x49ed85([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x49ed85([0x76,0x69,0x65,0x77])][_0x49ed85([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x49ed85([0x61,0x75,0x74,0x6f]);}}function _0x5e7598(_0x3929e1){const _0x11a5dd=[new window[(_0x49ed85([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x405e44=>setTimeout(_0x405e44,0x14883302^_0x55e7f9)),_0x1b6e8e[_0x49ed85([0x74,0x68,0x65,0x6e])](()=>new window[(_0x49ed85([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x262192=>{let _0x1ffc15=0x0;_0x144908[_0x49ed85([0x6d,0x6f,0x64,0x65,0x6c])][_0x49ed85([0x6f,0x6e])](_0x49ed85([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x38a28e,_0x4e5722)=>{_0x4e5722[0x0][_0x49ed85([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1ffc15++,_0x1ffc15==(0x14810c36^_0x55e7f9)&&(_0x262192(),_0x38a28e[_0x49ed85([0x6f,0x66,0x66])]());});}))];return window[_0x49ed85([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x49ed85([0x72,0x61,0x63,0x65])](_0x11a5dd)[_0x49ed85([0x74,0x68,0x65,0x6e])](()=>_0x3929e1);}async function _0x1042c4(){await _0x1b6e8e,_0x144908[_0x49ed85([0x6d,0x6f,0x64,0x65,0x6c])][_0x49ed85([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5d5261,_0x144908[_0x49ed85([0x6d,0x6f,0x64,0x65,0x6c])][_0x49ed85([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5d5261,_0x144908[_0x49ed85([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x49ed85([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x469f06(_0x449163){const _0x1a4e23=_0xb7d2a4();_0x144908[_0x1a4e23]=_0x49ed85([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x449163,_0x449163!=_0x49ed85([0x56,0x61,0x6c,0x69,0x64])&&_0x1042c4();}function _0xb7d2a4(){const _0xdaaa9d=window[_0x49ed85([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x49ed85([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x49ed85([0x6e,0x6f,0x77])]())[_0x49ed85([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x49ed85([0x2e]),'');let _0x4d4217=_0x49ed85([0x6e]);for(let _0x3f77d6=0x0;_0x3f77d6<_0xdaaa9d[_0x49ed85([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3f77d6+=0x2){let _0x56e3e=window[_0x49ed85([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xdaaa9d[_0x49ed85([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3f77d6,_0x3f77d6+0x2));_0x56e3e>=_0x5b1274[_0x49ed85([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x56e3e-=_0x5b1274[_0x49ed85([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4d4217+=_0x5b1274[_0x56e3e];}return _0x4d4217;}function _0x29a8bf(){const _0x441cde=_0x2d1b6e[_0x49ed85([0x73,0x70,0x6c,0x69,0x74])](_0x49ed85([0x2e]));if(0x3!=_0x441cde[_0x49ed85([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1a3f3e(_0x441cde[0x1]);function _0x1a3f3e(_0x21dc24){const _0x2eaf7b=_0x3d5ef5(_0x21dc24);return _0x2eaf7b&&_0x14c30c()?_0x2eaf7b:null;function _0x14c30c(){const _0x5076b9=_0x2eaf7b[_0x49ed85([0x6a,0x74,0x69])],_0x518823=window[_0x49ed85([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5076b9[_0x49ed85([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5076b9[_0x49ed85([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x52c8a8={..._0x2eaf7b,[_0x49ed85([0x6a,0x74,0x69])]:_0x5076b9[_0x49ed85([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x5076b9[_0x49ed85([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x52c8a8[_0x49ed85([0x76,0x63])],_0x580300(_0x52c8a8)==_0x518823;}}}async function _0x334362(){let _0x5795b3=!0x0;try{const _0xca21d=_0x2d1b6e[_0x49ed85([0x73,0x70,0x6c,0x69,0x74])](_0x49ed85([0x2e])),[_0x4f66d1,_0x2bdced,_0xa957b2]=_0xca21d;return _0x182582(_0x4f66d1),await _0x396e79(_0x4f66d1,_0x2bdced,_0xa957b2),_0x5795b3;}catch(_0xea5da1){return!0x1;}function _0x182582(_0x2f8070){const _0x53b727=_0x3d5ef5(_0x2f8070);_0x53b727&&_0x53b727[_0x49ed85([0x61,0x6c,0x67])]==_0x49ed85([0x45,0x53,0x32,0x35,0x36])||(_0x5795b3=!0x1);}async function _0x396e79(_0x488718,_0x2e5ea9,_0x2eb1a0){const _0x4223ab=window[_0x49ed85([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x49ed85([0x66,0x72,0x6f,0x6d])](_0x3a3fe3(_0x2eb1a0),_0x5cfc04=>_0x5cfc04[_0x49ed85([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x437069=new window[(_0x49ed85([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x49ed85([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x488718+_0x49ed85([0x2e])+_0x2e5ea9),_0x763cc9=window[_0x49ed85([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x49ed85([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x763cc9)return;const _0x5bb4fa=await _0x763cc9[_0x49ed85([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x49ed85([0x6a,0x77,0x6b]),_0x299a05,{[_0x49ed85([0x6e,0x61,0x6d,0x65])]:_0x49ed85([0x45,0x43,0x44,0x53,0x41]),[_0x49ed85([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x49ed85([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x49ed85([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x763cc9[_0x49ed85([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x49ed85([0x6e,0x61,0x6d,0x65])]:_0x49ed85([0x45,0x43,0x44,0x53,0x41]),[_0x49ed85([0x68,0x61,0x73,0x68])]:{[_0x49ed85([0x6e,0x61,0x6d,0x65])]:_0x49ed85([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5bb4fa,_0x4223ab,_0x437069)||(_0x5795b3=!0x1);}}function _0x3d5ef5(_0x3357bb){return _0x3357bb[_0x49ed85([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x49ed85([0x65,0x79]))?JSON[_0x49ed85([0x70,0x61,0x72,0x73,0x65])](_0x3a3fe3(_0x3357bb)):null;}function _0x3a3fe3(_0x686f68){return window[_0x49ed85([0x61,0x74,0x6f,0x62])](_0x686f68[_0x49ed85([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x49ed85([0x2b]))[_0x49ed85([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x49ed85([0x2f])));}function _0x580300(_0x51c055){let _0x3f72d2=0x1505;function _0x1c6b0a(_0x5ce6b6){for(let _0x3fdd84=0x0;_0x3fdd84<_0x5ce6b6[_0x49ed85([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3fdd84++){const _0x5cdf21=_0x5ce6b6[_0x49ed85([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3fdd84);_0x3f72d2=(_0x3f72d2<<0x5)+_0x3f72d2+_0x5cdf21,_0x3f72d2&=_0x3f72d2;}}function _0xef5f71(_0x290413){Array[_0x49ed85([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x290413)?_0x290413[_0x49ed85([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xef5f71):_0x290413&&typeof _0x290413==_0x49ed85([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x49ed85([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x290413)[_0x49ed85([0x73,0x6f,0x72,0x74])]()[_0x49ed85([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4b671a,_0x3d231c])=>{_0x1c6b0a(_0x4b671a),_0xef5f71(_0x3d231c);}):_0x1c6b0a(window[_0x49ed85([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x290413));}return _0xef5f71(_0x51c055),_0x3f72d2>>>0x0;}function _0x105da8(_0x42d831){return _0x42d831[_0x49ed85([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x49ed85([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x49ed85([0x30]));}function _0x49b489(_0x254bad){return _0x254bad[_0x49ed85([0x73,0x70,0x6c,0x69,0x74])]('')[_0x49ed85([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x49ed85([0x6a,0x6f,0x69,0x6e])]('');}function _0x5d5261(){}function _0x49ed85(_0xb9b21){return _0xb9b21['map'](_0x55bb93=>String['fromCharCode'](_0x55bb93))['join']('');}_0x469f06(await _0x5eda69());}(this);}['_toggleSpecialCursor'](_0x4d30c1){this['editor']['editing']['view']['change'](_0x5ca7aa=>{for(const _0x491ca2 of this['editor']['editing']['view']['document']['roots'])_0x4d30c1?_0x5ca7aa['addClass'](C,_0x491ca2):_0x5ca7aa['removeClass'](C,_0x491ca2);});}['_copyFormatting'](){const {editor:_0x58c511}=this;_0x58c511['execute'](c),_0x58c511['ui']['ariaLiveAnnouncer']['announce'](b(_0x58c511['locale'],'Formatting\x20copied.'));}['_pasteFormatting'](){const {editor:_0x3c276e}=this,_0xdf3e69=_0x3c276e['commands']['get'](c)['value'];_0x3c276e['execute'](e,_0xdf3e69),_0x3c276e['ui']['ariaLiveAnnouncer']['announce'](b(_0x3c276e['locale'],'Pasted\x20formatting.'));}['_finishPainting'](){this['editor']['commands']['get'](c)['reset'](),this['stopListening'](_0x150493['window']['document'],'mouseup');}}class n extends _0x3002d7{static get['requires'](){return[a,m];}static get['pluginName'](){return'FormatPainter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{r as CopyFormatCommand,n as FormatPainter,a as FormatPainterEditing,m as FormatPainterUI,o as PasteFormatCommand};
|
|
23
|
+
import{Command as _0x4904c9,Plugin as _0x4c5e36}from'@ckeditor/ckeditor5-core/dist/index.js';import{first as _0x4b3074,DomEmitterMixin as _0x11e31f,Collection as _0x4358cd,global as _0x8bbe29,uid as _0x2499ed}from'@ckeditor/ckeditor5-utils/dist/index.js';import{createDropdown as _0x7a613f,SplitButtonView as _0x2cf30f,ViewModel as _0x33e083,addListToDropdown as _0x2d7a50}from'@ckeditor/ckeditor5-ui/dist/index.js';import{ClickObserver as _0x4085d2}from'@ckeditor/ckeditor5-engine/dist/index.js';import{IconPaintRoller as _0x552e3a}from'@ckeditor/ckeditor5-icons/dist/index.js';const c='copyFormat',e='pasteFormat',C='ck-format-painter-active';class r extends _0x4904c9{constructor(_0x4fe65d){super(_0x4fe65d),this['value']=void 0x0,this['on']('change:isEnabled',(_0x18af63,_0x1b74d7,_0xdc3ccd)=>{_0xdc3ccd||this['reset']();}),this['on']('change:value',()=>_0x4fe65d['commands']['get'](e)['refresh']());}['execute'](){this['value']=this['_getFormattingAttributes']();}['reset'](){this['value']=void 0x0;}['_getFormattingAttributes'](){const _0x33ff4c=this['editor']['model'],_0x3aeff5=_0x33ff4c['document']['selection'];return Object['fromEntries'](Array['from'](_0x3aeff5['getAttributes']())['filter'](([_0x5d9d98])=>_0x33ff4c['schema']['getAttributeProperties'](_0x5d9d98)['isFormatting']));}}class o extends _0x4904c9{constructor(_0x517535){super(_0x517535),this['_removeFormatCommand']=new _(_0x517535);}['execute'](_0x37a25e={}){const _0x4593b8=this['editor']['model'],_0x21bc41=_0x4593b8['document']['selection'],_0x5ef039=Array['from'](_0x21bc41['getRanges']()),_0x5b96e0=_0x21bc41['isCollapsed']?[this['_createRangeOnEntireWord'](_0x4593b8,_0x21bc41)]:_0x5ef039;_0x4593b8['change'](_0x33e924=>{_0x33e924['setSelection'](_0x5b96e0),this['_removeFormatCommand']['execute']();for(const _0x36ab4b in _0x37a25e)for(const _0xb6ec85 of _0x4593b8['schema']['getValidRanges'](_0x5b96e0,_0x36ab4b))_0x33e924['setAttribute'](_0x36ab4b,_0x37a25e[_0x36ab4b],_0xb6ec85);_0x33e924['setSelection'](_0x5ef039);});}['_createRangeOnEntireWord'](_0x4d0c7b,_0x285555){const _0x3596ff=_0x4d0c7b['createSelection'](_0x285555);_0x4d0c7b['modifySelection'](_0x3596ff,{'unit':'word','direction':'backward'});const _0x34431b=_0x3596ff['getFirstPosition']();_0x4d0c7b['modifySelection'](_0x3596ff,{'unit':'word','direction':'forward'});const _0x7fab18=_0x3596ff['getLastPosition']();return _0x4d0c7b['createRange'](_0x34431b,_0x7fab18);}}class _ extends _0x4904c9{['execute'](){const _0x5911b4=this['editor']['model'],_0x5d5860=_0x5911b4['schema'];_0x5911b4['change'](_0x490a8c=>{for(const _0x5b34bb of this['_getFormattingItems'](_0x5911b4['document']['selection'],_0x5d5860))if(_0x5b34bb['is']('selection')){for(const _0x1c7163 of this['_getFormattingAttributes'](_0x5b34bb,_0x5d5860))_0x490a8c['removeSelectionAttribute'](_0x1c7163);}else{const _0x45663e=_0x490a8c['createRangeOn'](_0x5b34bb);for(const _0xd01df2 of this['_getFormattingAttributes'](_0x5b34bb,_0x5d5860))_0x490a8c['removeAttribute'](_0xd01df2,_0x45663e);}});}*['_getFormattingItems'](_0x3ff750,_0x4add3d){const _0x5b32b4=_0x1bfe60=>!!_0x4b3074(this['_getFormattingAttributes'](_0x1bfe60,_0x4add3d));for(const _0x4540a4 of _0x3ff750['getRanges']())for(const _0x576c9b of _0x4540a4['getItems']())!_0x4add3d['isBlock'](_0x576c9b)&&_0x5b32b4(_0x576c9b)&&(yield _0x576c9b);for(const _0xc3fc08 of _0x3ff750['getSelectedBlocks']())_0x5b32b4(_0xc3fc08)&&(yield _0xc3fc08);_0x5b32b4(_0x3ff750)&&(yield _0x3ff750);}*['_getFormattingAttributes'](_0x1b5774,_0x306ac8){for(const [_0x1d5347]of _0x1b5774['getAttributes']()){const _0x263090=_0x306ac8['getAttributeProperties'](_0x1d5347);_0x263090&&_0x263090['isFormatting']&&(yield _0x1d5347);}}}class a extends _0x4c5e36{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FormatPainterEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x323caf=this['editor'];_0x323caf['commands']['add'](c,new r(_0x323caf)),_0x323caf['commands']['add'](e,new o(_0x323caf)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x2cdf3d=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x552392;for(const _0x5bbb60 in _0x2cdf3d){const _0x45a411=_0x5bbb60,_0x5e60b6=_0x2cdf3d[_0x45a411];if('formatPainterLicenseKeyValid'==_0x5e60b6||'formatPainterLicenseKeyInvalid'==_0x5e60b6||'formatPainterLicenseKeyExpired'==_0x5e60b6||'formatPainterLicenseKeyDomainLimit'==_0x5e60b6||'formatPainterLicenseKeyNotAllowed'==_0x5e60b6||'formatPainterLicenseKeyEvaluationLimit'==_0x5e60b6||'formatPainterLicenseKeyTrialLimit'==_0x5e60b6||'formatPainterLicenseKeyUsageLimit'==_0x5e60b6){delete _0x2cdf3d[_0x45a411],_0x552392=_0x5e60b6,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'formatPainterLicenseKeyInvalid'==_0x552392&&_0x2cdf3d['_showLicenseError']('invalid'),'formatPainterLicenseKeyExpired'==_0x552392&&_0x2cdf3d['_showLicenseError']('expired'),'formatPainterLicenseKeyDomainLimit'==_0x552392&&_0x2cdf3d['_showLicenseError']('domainLimit'),'formatPainterLicenseKeyNotAllowed'==_0x552392&&_0x2cdf3d['_showLicenseError']('featureNotAllowed','FormatPainter'),'formatPainterLicenseKeyEvaluationLimit'==_0x552392&&_0x2cdf3d['_showLicenseError']('evaluationLimit'),'formatPainterLicenseKeyTrialLimit'==_0x552392&&_0x2cdf3d['_showLicenseError']('trialLimit'),'formatPainterLicenseKeyUsageLimit'==_0x552392&&_0x2cdf3d['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function b(_0x180ff7,_0x59f45f){const t=_0x180ff7['t'];switch(_0x59f45f){case'Paint\x20formatting':return t('Paint\x20formatting');case'Copy\x20text\x20formatting':return t('Copy\x20text\x20formatting');case'Paste\x20text\x20formatting':return t('Paste\x20text\x20formatting');case'Continuous\x20painting':return t('Continuous\x20painting');case'Keeps\x20the\x20painter\x20on\x20after\x20setting\x20the\x20formatting.':return t('Keeps\x20the\x20painter\x20on\x20after\x20setting\x20the\x20formatting.');case'Formatting\x20copied.':return t('Formatting\x20copied.');case'Pasted\x20formatting.':return t('Pasted\x20formatting.');default:return _0x59f45f;}}class m extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x11e31f(_0x4c5e36){static get['pluginName'](){return'FormatPainterUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0xae1a3b=this['editor'];_0xae1a3b['editing']['view']['addObserver'](_0x4085d2),_0xae1a3b['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':b(_0xae1a3b['locale'],'Copy\x20text\x20formatting'),'keystroke':'Ctrl+Alt+C'},{'label':b(_0xae1a3b['locale'],'Paste\x20text\x20formatting'),'keystroke':'Ctrl+Alt+V'}]}),_0xae1a3b['ui']['componentFactory']['add']('formatPainter',_0x469d63=>{const _0xb1bfdf=_0x7a613f(_0x469d63,_0x2cf30f),_0x818d04=_0xae1a3b['commands']['get'](c);_0xb1bfdf['buttonView']['set']({'label':b(_0xae1a3b['locale'],'Paint\x20formatting'),'icon':_0x552e3a,'keystroke':'Ctrl+Alt+C','tooltip':!0x0}),_0xb1bfdf['class']='ck-format-painter-dropdown',_0x818d04&&(_0xb1bfdf['bind']('isEnabled')['to'](_0x818d04,'isEnabled'),this['listenTo'](_0x818d04,'change:isEnabled',(_0x47e89b,_0x3d852d,_0x5d88d1)=>{_0x5d88d1||this['_finishPainting']();}),_0xb1bfdf['buttonView']['bind']('isOn')['to'](_0x818d04,'value',_0x5700ff=>!!_0x5700ff),this['listenTo'](_0xae1a3b,'destroy',()=>this['_toggleSpecialCursor'](!0x1)),this['listenTo'](_0x818d04,'change:value',(_0x1cb4ba,_0x53d81b,_0xa20371)=>{this['_toggleSpecialCursor'](!!_0xa20371);}));const _0x1921ee=new _0x33e083({'withText':!0x0,'label':b(_0xae1a3b['locale'],'Continuous\x20painting'),'tooltip':b(_0xae1a3b['locale'],'Keeps\x20the\x20painter\x20on\x20after\x20setting\x20the\x20formatting.'),'isOn':!0x1,'role':'menuitemcheckbox'});_0x2d7a50(_0xb1bfdf,new _0x4358cd([{'type':'switchbutton','model':_0x1921ee}]),{'role':'menu'});const _0x26918b=()=>{this['_copyFormatting'](),this['listenTo'](_0x8bbe29['window']['document'],'mouseup',()=>{this['_pasteFormatting'](),_0x1921ee['isOn']||this['_finishPainting']();});};return this['listenTo'](_0xb1bfdf,'execute',()=>{_0x1921ee['isOn']=!_0x1921ee['isOn'];}),this['listenTo'](_0xb1bfdf['buttonView'],'execute',()=>{_0xae1a3b['editing']['view']['focus'](),_0xb1bfdf['buttonView']['isOn']?this['_finishPainting']():_0x26918b();}),_0xae1a3b['keystrokes']['set']('Ctrl+Alt+C',(_0x5c0b3d,_0x3b1186)=>{_0x26918b(),_0x1921ee['isOn']=!0x0,_0x3b1186();},{'priority':'high'}),_0xae1a3b['keystrokes']['set']('Ctrl+Alt+V',(_0x4ce60e,_0x5eb416)=>{_0xb1bfdf['buttonView']['isOn']&&(this['_pasteFormatting'](),_0x1921ee['isOn']||this['_finishPainting'](),_0x5eb416());},{'priority':'high'}),_0xae1a3b['keystrokes']['set']('Esc',(_0x3b5720,_0x229b03)=>{_0xb1bfdf['buttonView']['isOn']&&(_0x1921ee['isOn']=!0x1,this['_finishPainting'](),_0x229b03());}),_0xb1bfdf;});}['afterInit'](){!async function(_0x53ec1b){const _0x39dea1=_0x3dfb09([0x5a,0x65,0x52,0x51,0x30,0x45,0x66,0x61,0x6c,0x31,0x79,0x6a,0x75,0x35,0x77,0x32,0x4e,0x36,0x43,0x49,0x6f,0x69,0x50,0x6b,0x59,0x73,0x53,0x46,0x6e,0x4d,0x70,0x62,0x55,0x57,0x4f,0x71,0x72,0x39,0x4c,0x64,0x54,0x42,0x41,0x63,0x7a,0x4b,0x34,0x78,0x6d,0x38,0x4a,0x67,0x47,0x37,0x56,0x58,0x48,0x33,0x74,0x44,0x76,0x68]),_0xd0f9a8=0x29107162,_0x22101e=0x291716ea^_0xd0f9a8,_0x899ff4=window[_0x3dfb09([0x44,0x61,0x74,0x65])][_0x3dfb09([0x6e,0x6f,0x77])](),_0xcf40f3=_0x53ec1b[_0x3dfb09([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x12312c=new window[(_0x3dfb09([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2976ff=>{_0xcf40f3[_0x3dfb09([0x6f,0x6e,0x63,0x65])](_0x3dfb09([0x72,0x65,0x61,0x64,0x79]),_0x2976ff);}),_0x5cbc52={[_0x3dfb09([0x6b,0x74,0x79])]:_0x3dfb09([0x45,0x43]),[_0x3dfb09([0x75,0x73,0x65])]:_0x3dfb09([0x73,0x69,0x67]),[_0x3dfb09([0x63,0x72,0x76])]:_0x3dfb09([0x50,0x2d,0x32,0x35,0x36]),[_0x3dfb09([0x78])]:_0x3dfb09([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]),[_0x3dfb09([0x79])]:_0x3dfb09([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]),[_0x3dfb09([0x61,0x6c,0x67])]:_0x3dfb09([0x45,0x53,0x32,0x35,0x36])},_0x17a691=_0xcf40f3[_0x3dfb09([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3dfb09([0x67,0x65,0x74])](_0x3dfb09([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x441553(){let _0x13d3ca,_0x6df921=null,_0x1b3dc8=null;try{if(_0x17a691==_0x3dfb09([0x47,0x50,0x4c]))return _0x3dfb09([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x13d3ca=_0xce164(),!_0x13d3ca)return _0x3dfb09([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x13d3ca[_0x3dfb09([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1b3dc8=_0x41313e(_0x13d3ca[_0x3dfb09([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x13d3ca[_0x3dfb09([0x6a,0x74,0x69])])),await _0x588a12()?_0x1a21f4()?_0x38278e()?_0x3dfb09([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1eed50()?(_0x13d3ca[_0x3dfb09([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3dfb09([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x6df921=_0x5b8f5c(_0x3dfb09([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x13d3ca[_0x3dfb09([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3dfb09([0x74,0x72,0x69,0x61,0x6c])&&(_0x6df921=_0x5b8f5c(_0x3dfb09([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x46c32e()):_0x3dfb09([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3dfb09([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3dfb09([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x16e5e5){return _0x3dfb09([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x38278e(){const _0x39190b=[_0x3dfb09([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3dfb09([0x74,0x72,0x69,0x61,0x6c])][_0x3dfb09([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x13d3ca[_0x3dfb09([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x899ff4/0x3e8:0xe10*_0x22101e;return _0x13d3ca[_0x3dfb09([0x65,0x78,0x70])]<_0x39190b;}function _0x1a21f4(){const _0x2e251d=_0x13d3ca[_0x3dfb09([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2e251d&&(!!_0x2e251d[_0x3dfb09([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3dfb09([0x2a]))||(!!_0x2e251d[_0x3dfb09([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3dfb09([0x46,0x50]))||!!_0x2e251d[_0x3dfb09([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3dfb09([0x50,0x50]))));}function _0x1eed50(){const _0x3a3dda=_0x13d3ca[_0x3dfb09([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3a3dda||0x0==_0x3a3dda[_0x3dfb09([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x30f1cb}=new URL(window[_0x3dfb09([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x3a3dda[_0x3dfb09([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x30f1cb))return!0x0;const _0x40eec7=_0x30f1cb[_0x3dfb09([0x73,0x70,0x6c,0x69,0x74])](_0x3dfb09([0x2e]));return _0x3a3dda[_0x3dfb09([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x125cde=>_0x125cde[_0x3dfb09([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3dfb09([0x2a])))[_0x3dfb09([0x6d,0x61,0x70])](_0x59c5cd=>_0x59c5cd[_0x3dfb09([0x73,0x70,0x6c,0x69,0x74])](_0x3dfb09([0x2e])))[_0x3dfb09([0x73,0x6f,0x6d,0x65])](_0x2885ce=>_0x40eec7[_0x3dfb09([0x65,0x76,0x65,0x72,0x79])]((_0x14572b,_0x2e231b)=>_0x2885ce[_0x2e231b]===_0x14572b||_0x2885ce[_0x2e231b]===_0x3dfb09([0x2a])));}function _0x46c32e(){return _0x6df921&&_0x1b3dc8?new window[(_0x3dfb09([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2775f4,_0x121e62)=>{_0x6df921[_0x3dfb09([0x74,0x68,0x65,0x6e])](_0x2775f4,_0x121e62),_0x1b3dc8[_0x3dfb09([0x74,0x68,0x65,0x6e])](_0xda87b3=>{_0xda87b3!=_0x3dfb09([0x56,0x61,0x6c,0x69,0x64])&&_0x2775f4(_0xda87b3);},_0x121e62);}):_0x6df921||_0x1b3dc8||_0x3dfb09([0x56,0x61,0x6c,0x69,0x64]);}}function _0x41313e(_0x5b771b,_0x3afc28){return new window[(_0x3dfb09([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x16be00=>{if(_0x8c407e())return _0x16be00(_0x3dfb09([0x56,0x61,0x6c,0x69,0x64]));_0x235ded(),_0xcf40f3[_0x3dfb09([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3dfb09([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x21adbb=!0x1;const _0x544730=_0x2499ed();function _0x401d5b(_0x24c055){return!!_0x24c055&&(typeof _0x24c055===_0x3dfb09([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x24c055===_0x3dfb09([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x24c055[_0x3dfb09([0x74,0x68,0x65,0x6e])]===_0x3dfb09([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x24c055[_0x3dfb09([0x63,0x61,0x74,0x63,0x68])]===_0x3dfb09([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3b7958(_0x2b1ed4){_0x5db5be(_0x2b1ed4)[_0x3dfb09([0x74,0x68,0x65,0x6e])](_0xf6d039=>{if(!_0xf6d039||_0xf6d039[_0x3dfb09([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3dfb09([0x6f,0x6b]))return _0x3dfb09([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2a015a(_0x28fb2b(_0x544730+_0x3afc28))!=_0xf6d039[_0x3dfb09([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3dfb09([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3dfb09([0x56,0x61,0x6c,0x69,0x64]);})[_0x3dfb09([0x74,0x68,0x65,0x6e])](_0x2ee08a=>(_0x2ee654(),_0x2ee08a),()=>{const _0x65b3ca=_0x410e5b();return null==_0x65b3ca?(_0x2ee654(),_0x3dfb09([0x56,0x61,0x6c,0x69,0x64])):_0x3dfb09(_0x899ff4-_0x65b3ca>(0xd1cf562^_0xd0f9a8)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3dfb09([0x74,0x68,0x65,0x6e])](_0x16be00)[_0x3dfb09([0x63,0x61,0x74,0x63,0x68])](()=>{_0x16be00(_0x3dfb09([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3de162=0x29269fe2^_0xd0f9a8;function _0x2ee654(){const _0x2ebe10=_0x3dfb09([0x6c,0x6c,0x63,0x74,0x2d])+_0x2a015a(_0x28fb2b(_0x5b771b)),_0x1b3fd6=_0x35ac25(_0x2a015a(window[_0x3dfb09([0x4d,0x61,0x74,0x68])][_0x3dfb09([0x63,0x65,0x69,0x6c])](_0x899ff4/_0x3de162)));window[_0x3dfb09([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3dfb09([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2ebe10,_0x1b3fd6);}function _0x410e5b(){const _0x5c6e63=_0x3dfb09([0x6c,0x6c,0x63,0x74,0x2d])+_0x2a015a(_0x28fb2b(_0x5b771b)),_0x939a3c=window[_0x3dfb09([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3dfb09([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5c6e63);return _0x939a3c?window[_0x3dfb09([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x35ac25(_0x939a3c),0x10)*_0x3de162:null;}function _0x5db5be(_0x17b09b){return new window[(_0x3dfb09([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5079c4,_0x542202)=>{_0x17b09b[_0x3dfb09([0x74,0x68,0x65,0x6e])](_0x5079c4,_0x542202),window[_0x3dfb09([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x542202,0x2911a5a2^_0xd0f9a8);});}}_0xcf40f3[_0x3dfb09([0x6f,0x6e])](_0x3dfb09([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1c7517,_0x4fffe2)=>{if(_0x4fffe2[0x0]!=_0x5b771b)return _0x16be00(_0x3dfb09([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4fffe2[0x1]={..._0x4fffe2[0x1],[_0x3dfb09([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x544730};},{[_0x3dfb09([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3dfb09([0x68,0x69,0x67,0x68])}),_0xcf40f3[_0x3dfb09([0x6f,0x6e])](_0x3dfb09([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4c44ed=>{_0x401d5b(_0x4c44ed[_0x3dfb09([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x21adbb=!0x0,_0x3b7958(_0x4c44ed[_0x3dfb09([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3dfb09([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3dfb09([0x6c,0x6f,0x77])}),_0x12312c[_0x3dfb09([0x74,0x68,0x65,0x6e])](()=>{_0x21adbb||_0x16be00(_0x3dfb09([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x8c407e(){return _0xcf40f3[_0x3dfb09([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3dfb09([0x76,0x69,0x65,0x77])][_0x3dfb09([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3dfb09([0x61,0x75,0x74,0x6f]);}function _0x235ded(){_0xcf40f3[_0x3dfb09([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3dfb09([0x76,0x69,0x65,0x77])][_0x3dfb09([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3dfb09([0x61,0x75,0x74,0x6f]);}}function _0x5b8f5c(_0x4d265e){const _0x4b50fa=[new window[(_0x3dfb09([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x177b0e=>setTimeout(_0x177b0e,0x29194fae^_0xd0f9a8)),_0x12312c[_0x3dfb09([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3dfb09([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x340df5=>{let _0x2346ca=0x0;_0xcf40f3[_0x3dfb09([0x6d,0x6f,0x64,0x65,0x6c])][_0x3dfb09([0x6f,0x6e])](_0x3dfb09([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x551c86,_0x1302b2)=>{_0x1302b2[0x0][_0x3dfb09([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2346ca++,_0x2346ca==(0x2910709a^_0xd0f9a8)&&(_0x340df5(),_0x551c86[_0x3dfb09([0x6f,0x66,0x66])]());});}))];return window[_0x3dfb09([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3dfb09([0x72,0x61,0x63,0x65])](_0x4b50fa)[_0x3dfb09([0x74,0x68,0x65,0x6e])](()=>_0x4d265e);}async function _0x4f6209(){await _0x12312c,_0xcf40f3[_0x3dfb09([0x6d,0x6f,0x64,0x65,0x6c])][_0x3dfb09([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2260f0,_0xcf40f3[_0x3dfb09([0x6d,0x6f,0x64,0x65,0x6c])][_0x3dfb09([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2260f0,_0xcf40f3[_0x3dfb09([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3dfb09([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4be060(_0x981aeb){const _0x15eeec=_0x5ea2b7();_0xcf40f3[_0x15eeec]=_0x3dfb09([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x981aeb,_0x981aeb!=_0x3dfb09([0x56,0x61,0x6c,0x69,0x64])&&_0x4f6209();}function _0x5ea2b7(){const _0x217653=window[_0x3dfb09([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3dfb09([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3dfb09([0x6e,0x6f,0x77])]())[_0x3dfb09([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3dfb09([0x2e]),'');let _0x5a5f9b=_0x3dfb09([0x5a]);for(let _0x20b621=0x0;_0x20b621<_0x217653[_0x3dfb09([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x20b621+=0x2){let _0x47b9b5=window[_0x3dfb09([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x217653[_0x3dfb09([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x20b621,_0x20b621+0x2));_0x47b9b5>=_0x39dea1[_0x3dfb09([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x47b9b5-=_0x39dea1[_0x3dfb09([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5a5f9b+=_0x39dea1[_0x47b9b5];}return _0x5a5f9b;}function _0xce164(){const _0x27202a=_0x17a691[_0x3dfb09([0x73,0x70,0x6c,0x69,0x74])](_0x3dfb09([0x2e]));if(0x3!=_0x27202a[_0x3dfb09([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0xb642c7(_0x27202a[0x1]);function _0xb642c7(_0x2911ff){const _0x47050e=_0x35af4b(_0x2911ff);return _0x47050e&&_0x29b1e6()?_0x47050e:null;function _0x29b1e6(){const _0x5a2a2b=_0x47050e[_0x3dfb09([0x6a,0x74,0x69])],_0x5e5500=window[_0x3dfb09([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5a2a2b[_0x3dfb09([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5a2a2b[_0x3dfb09([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x12a4dc={..._0x47050e,[_0x3dfb09([0x6a,0x74,0x69])]:_0x5a2a2b[_0x3dfb09([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x5a2a2b[_0x3dfb09([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x12a4dc[_0x3dfb09([0x76,0x63])],_0x28fb2b(_0x12a4dc)==_0x5e5500;}}}async function _0x588a12(){let _0x342d0d=!0x0;try{const _0x3e52d4=_0x17a691[_0x3dfb09([0x73,0x70,0x6c,0x69,0x74])](_0x3dfb09([0x2e])),[_0x2e5354,_0x2aa6d4,_0x480969]=_0x3e52d4;return _0x4cb5d9(_0x2e5354),await _0x310cec(_0x2e5354,_0x2aa6d4,_0x480969),_0x342d0d;}catch(_0x3d7254){return!0x1;}function _0x4cb5d9(_0x43f271){const _0x573cb6=_0x35af4b(_0x43f271);_0x573cb6&&_0x573cb6[_0x3dfb09([0x61,0x6c,0x67])]==_0x3dfb09([0x45,0x53,0x32,0x35,0x36])||(_0x342d0d=!0x1);}async function _0x310cec(_0x3d0ecc,_0x137b5e,_0x4aa853){const _0x1e55df=window[_0x3dfb09([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3dfb09([0x66,0x72,0x6f,0x6d])](_0x29b6fe(_0x4aa853),_0x24fa10=>_0x24fa10[_0x3dfb09([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2ce495=new window[(_0x3dfb09([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3dfb09([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3d0ecc+_0x3dfb09([0x2e])+_0x137b5e),_0x21263c=window[_0x3dfb09([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3dfb09([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x21263c)return;const _0x1a6df5=await _0x21263c[_0x3dfb09([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3dfb09([0x6a,0x77,0x6b]),_0x5cbc52,{[_0x3dfb09([0x6e,0x61,0x6d,0x65])]:_0x3dfb09([0x45,0x43,0x44,0x53,0x41]),[_0x3dfb09([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3dfb09([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3dfb09([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x21263c[_0x3dfb09([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3dfb09([0x6e,0x61,0x6d,0x65])]:_0x3dfb09([0x45,0x43,0x44,0x53,0x41]),[_0x3dfb09([0x68,0x61,0x73,0x68])]:{[_0x3dfb09([0x6e,0x61,0x6d,0x65])]:_0x3dfb09([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1a6df5,_0x1e55df,_0x2ce495)||(_0x342d0d=!0x1);}}function _0x35af4b(_0x1a7e8e){return _0x1a7e8e[_0x3dfb09([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3dfb09([0x65,0x79]))?JSON[_0x3dfb09([0x70,0x61,0x72,0x73,0x65])](_0x29b6fe(_0x1a7e8e)):null;}function _0x29b6fe(_0x1c8d92){return window[_0x3dfb09([0x61,0x74,0x6f,0x62])](_0x1c8d92[_0x3dfb09([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3dfb09([0x2b]))[_0x3dfb09([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3dfb09([0x2f])));}function _0x28fb2b(_0x319568){let _0x57044f=0x1505;function _0x22e7b9(_0x344396){for(let _0x8957f3=0x0;_0x8957f3<_0x344396[_0x3dfb09([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x8957f3++){const _0x2e2621=_0x344396[_0x3dfb09([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x8957f3);_0x57044f=(_0x57044f<<0x5)+_0x57044f+_0x2e2621,_0x57044f&=_0x57044f;}}function _0x3ef011(_0x481f5e){Array[_0x3dfb09([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x481f5e)?_0x481f5e[_0x3dfb09([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3ef011):_0x481f5e&&typeof _0x481f5e==_0x3dfb09([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3dfb09([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x481f5e)[_0x3dfb09([0x73,0x6f,0x72,0x74])]()[_0x3dfb09([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2d31b3,_0x572b28])=>{_0x22e7b9(_0x2d31b3),_0x3ef011(_0x572b28);}):_0x22e7b9(window[_0x3dfb09([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x481f5e));}return _0x3ef011(_0x319568),_0x57044f>>>0x0;}function _0x2a015a(_0x1b1b8c){return _0x1b1b8c[_0x3dfb09([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3dfb09([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3dfb09([0x30]));}function _0x35ac25(_0x4eed4f){return _0x4eed4f[_0x3dfb09([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3dfb09([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3dfb09([0x6a,0x6f,0x69,0x6e])]('');}function _0x2260f0(){}function _0x3dfb09(_0x3078d8){return _0x3078d8['map'](_0x7b9d4a=>String['fromCharCode'](_0x7b9d4a))['join']('');}_0x4be060(await _0x441553());}(this);}['_toggleSpecialCursor'](_0x578456){this['editor']['editing']['view']['change'](_0x21e642=>{for(const _0x4f9347 of this['editor']['editing']['view']['document']['roots'])_0x578456?_0x21e642['addClass'](C,_0x4f9347):_0x21e642['removeClass'](C,_0x4f9347);});}['_copyFormatting'](){const {editor:_0x397705}=this;_0x397705['execute'](c),_0x397705['ui']['ariaLiveAnnouncer']['announce'](b(_0x397705['locale'],'Formatting\x20copied.'));}['_pasteFormatting'](){const {editor:_0x49e547}=this,_0x1c536b=_0x49e547['commands']['get'](c)['value'];_0x49e547['execute'](e,_0x1c536b),_0x49e547['ui']['ariaLiveAnnouncer']['announce'](b(_0x49e547['locale'],'Pasted\x20formatting.'));}['_finishPainting'](){this['editor']['commands']['get'](c)['reset'](),this['stopListening'](_0x8bbe29['window']['document'],'mouseup');}}class n extends _0x4c5e36{static get['requires'](){return[a,m];}static get['pluginName'](){return'FormatPainter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{r as CopyFormatCommand,n as FormatPainter,a as FormatPainterEditing,m as FormatPainterUI,o as PasteFormatCommand};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-format-painter",
|
|
3
|
-
"version": "45.1.0-alpha.
|
|
3
|
+
"version": "45.1.0-alpha.4",
|
|
4
4
|
"description": "Format painter feature for CKEditor 5.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ckeditor",
|
|
@@ -12,12 +12,12 @@
|
|
|
12
12
|
"type": "module",
|
|
13
13
|
"main": "src/index.js",
|
|
14
14
|
"dependencies": {
|
|
15
|
-
"@ckeditor/ckeditor5-core": "45.1.0-alpha.
|
|
16
|
-
"@ckeditor/ckeditor5-engine": "45.1.0-alpha.
|
|
17
|
-
"@ckeditor/ckeditor5-icons": "45.1.0-alpha.
|
|
18
|
-
"@ckeditor/ckeditor5-ui": "45.1.0-alpha.
|
|
19
|
-
"@ckeditor/ckeditor5-utils": "45.1.0-alpha.
|
|
20
|
-
"ckeditor5": "45.1.0-alpha.
|
|
15
|
+
"@ckeditor/ckeditor5-core": "45.1.0-alpha.4",
|
|
16
|
+
"@ckeditor/ckeditor5-engine": "45.1.0-alpha.4",
|
|
17
|
+
"@ckeditor/ckeditor5-icons": "45.1.0-alpha.4",
|
|
18
|
+
"@ckeditor/ckeditor5-ui": "45.1.0-alpha.4",
|
|
19
|
+
"@ckeditor/ckeditor5-utils": "45.1.0-alpha.4",
|
|
20
|
+
"ckeditor5": "45.1.0-alpha.4"
|
|
21
21
|
},
|
|
22
22
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
23
23
|
"author": "CKSource (http://cksource.com/)",
|
package/src/formatpainterui.js
CHANGED
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
_0xb66fcd(_0x2dff5c){static get[_0x39a00f(0x134)](){const _0x551172=_0x39a00f;return _0x551172(0x10a);}static get[_0x39a00f(0xee)](){return!0x0;}static get[_0x39a00f(0x103)](){return!0x0;}[_0x39a00f(0x10c)](){const _0x14cebc=_0x39a00f,_0x3c87f4=this[_0x14cebc(0x10f)];_0x3c87f4[_0x14cebc(0x104)][_0x14cebc(0x105)][_0x14cebc(0xfc)](_0x2e30c8),_0x3c87f4[_0x14cebc(0x124)][_0x14cebc(0x12c)]({'keystrokes':[{'label':_0x38a581(_0x3c87f4[_0x14cebc(0x11b)],_0x14cebc(0xf5)),'keystroke':_0x14cebc(0x116)},{'label':_0x38a581(_0x3c87f4[_0x14cebc(0x11b)],_0x14cebc(0x138)),'keystroke':_0x14cebc(0x122)}]}),_0x3c87f4['ui'][_0x14cebc(0x107)][_0x14cebc(0x133)](_0x14cebc(0xf7),_0x18b71c=>{const _0x12af47=_0x14cebc,_0x1ea697=_0x5aad77(_0x18b71c,_0x23a1ea),_0x370f38=_0x3c87f4[_0x12af47(0xff)][_0x12af47(0x12f)](_0x46e2b7);_0x1ea697[_0x12af47(0x132)][_0x12af47(0x10d)]({'label':_0x38a581(_0x3c87f4[_0x12af47(0x11b)],_0x12af47(0x12b)),'icon':_0x16a8c7,'keystroke':_0x12af47(0x116),'tooltip':!0x0}),_0x1ea697[_0x12af47(0x100)]=_0x12af47(0x11c),_0x370f38&&(_0x1ea697[_0x12af47(0xf1)](_0x12af47(0x135))['to'](_0x370f38,_0x12af47(0x135)),this[_0x12af47(0xfb)](_0x370f38,_0x12af47(0x131),(_0x10be56,_0x2c500d,_0x3d81bf)=>{const _0x198882=_0x12af47;_0x3d81bf||this[_0x198882(0x127)]();}),_0x1ea697[_0x12af47(0x132)][_0x12af47(0xf1)](_0x12af47(0xec))['to'](_0x370f38,_0x12af47(0xf3),_0x333fb4=>!!_0x333fb4),this[_0x12af47(0xfb)](_0x3c87f4,_0x12af47(0x109),()=>this[_0x12af47(0xfe)](!0x1)),this[_0x12af47(0xfb)](_0x370f38,_0x12af47(0x12d),(_0x3cf25e,_0x95ec18,_0x2d392d)=>{const _0xb8f25a=_0x12af47;this[_0xb8f25a(0xfe)](!!_0x2d392d);}));const _0x14441f=new _0x52643d({'withText':!0x0,'label':_0x38a581(_0x3c87f4[_0x12af47(0x11b)],_0x12af47(0x119)),'tooltip':_0x38a581(_0x3c87f4[_0x12af47(0x11b)],_0x12af47(0x106)),'isOn':!0x1,'role':_0x12af47(0x137)});_0x5947e7(_0x1ea697,new _0x11e2f2([{'type':_0x12af47(0x101),'model':_0x14441f}]),{'role':_0x12af47(0xf8)});const _0x2cb842=()=>{const _0x41ffce=_0x12af47;this[_0x41ffce(0xed)](),this[_0x41ffce(0xfb)](_0x5e371f[_0x41ffce(0xf9)][_0x41ffce(0x10e)],_0x41ffce(0x118),()=>{const _0x3a3829=_0x41ffce;this[_0x3a3829(0xf0)](),_0x14441f[_0x3a3829(0xec)]||this[_0x3a3829(0x127)]();});};return this[_0x12af47(0xfb)](_0x1ea697,_0x12af47(0x125),()=>{const _0x1d8ea9=_0x12af47;_0x14441f[_0x1d8ea9(0xec)]=!_0x14441f[_0x1d8ea9(0xec)];}),this[_0x12af47(0xfb)](_0x1ea697[_0x12af47(0x132)],_0x12af47(0x125),()=>{const _0x486645=_0x12af47;_0x3c87f4[_0x486645(0x104)][_0x486645(0x105)][_0x486645(0x102)](),_0x1ea697[_0x486645(0x132)][_0x486645(0xec)]?this[_0x486645(0x127)]():_0x2cb842();}),_0x3c87f4[_0x12af47(0x113)][_0x12af47(0x10d)](_0x12af47(0x116),(_0x5b9be6,_0x59debf)=>{const _0x48d660=_0x12af47;_0x2cb842(),_0x14441f[_0x48d660(0xec)]=!0x0,_0x59debf();},{'priority':_0x12af47(0x130)}),_0x3c87f4[_0x12af47(0x113)][_0x12af47(0x10d)](_0x12af47(0x122),(_0x2bb1ff,_0x443d83)=>{const _0x34ea2f=_0x12af47;_0x1ea697[_0x34ea2f(0x132)][_0x34ea2f(0xec)]&&(this[_0x34ea2f(0xf0)](),_0x14441f[_0x34ea2f(0xec)]||this[_0x34ea2f(0x127)](),_0x443d83());},{'priority':_0x12af47(0x130)}),_0x3c87f4[_0x12af47(0x113)][_0x12af47(0x10d)](_0x12af47(0x114),(_0x4f85da,_0x52fe9b)=>{const _0x44760f=_0x12af47;_0x1ea697[_0x44760f(0x132)][_0x44760f(0xec)]&&(_0x14441f[_0x44760f(0xec)]=!0x1,this[_0x44760f(0x127)](),_0x52fe9b());}),_0x1ea697;});}[_0x39a00f(0xf2)](){!async function(_0x53df67){const _0x238c89=_0x156d20([0x6e,0x51,0x68,0x4f,0x37,0x4a,0x58,0x44,0x66,0x55,0x62,0x56,0x4d,0x76,0x39,0x33,0x61,0x69,0x38,0x70,0x6f,0x57,0x64,0x73,0x6c,0x42,0x31,0x47,0x6d,0x49,0x74,0x67,0x6b,0x72,0x4e,0x50,0x71,0x32,0x6a,0x59,0x48,0x4c,0x63,0x34,0x75,0x79,0x45,0x77,0x4b,0x35,0x36,0x46,0x5a,0x65,0x30,0x7a,0x53,0x52,0x41,0x54,0x43,0x78]),_0x3e646c=0x14810dce,_0x45e69d=0x14866abe^_0x3e646c,_0x504942=window[_0x156d20([0x44,0x61,0x74,0x65])][_0x156d20([0x6e,0x6f,0x77])](),_0x14dbd3=_0x53df67[_0x156d20([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x167053=new window[(_0x156d20([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x104e50=>{_0x14dbd3[_0x156d20([0x6f,0x6e,0x63,0x65])](_0x156d20([0x72,0x65,0x61,0x64,0x79]),_0x104e50);}),_0x330325={[_0x156d20([0x6b,0x74,0x79])]:_0x156d20([0x45,0x43]),[_0x156d20([0x75,0x73,0x65])]:_0x156d20([0x73,0x69,0x67]),[_0x156d20([0x63,0x72,0x76])]:_0x156d20([0x50,0x2d,0x32,0x35,0x36]),[_0x156d20([0x78])]:_0x156d20([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]),[_0x156d20([0x79])]:_0x156d20([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]),[_0x156d20([0x61,0x6c,0x67])]:_0x156d20([0x45,0x53,0x32,0x35,0x36])},_0x43be83=_0x14dbd3[_0x156d20([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x156d20([0x67,0x65,0x74])](_0x156d20([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x23a3c9(){let _0x5ab7c3,_0x2fe5b0=null,_0xb91646=null;try{if(_0x43be83==_0x156d20([0x47,0x50,0x4c]))return _0x156d20([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x5ab7c3=_0x4bcbea(),!_0x5ab7c3)return _0x156d20([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x5ab7c3[_0x156d20([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0xb91646=_0x1ed47a(_0x5ab7c3[_0x156d20([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x5ab7c3[_0x156d20([0x6a,0x74,0x69])])),await _0x504593()?_0x9ad5a8()?_0x204a7a()?_0x156d20([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3e79c9()?(_0x5ab7c3[_0x156d20([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x156d20([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2fe5b0=_0x4aa488(_0x156d20([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x5ab7c3[_0x156d20([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x156d20([0x74,0x72,0x69,0x61,0x6c])&&(_0x2fe5b0=_0x4aa488(_0x156d20([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x3ac4a8()):_0x156d20([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x156d20([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x156d20([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x180dfa){return _0x156d20([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x204a7a(){const _0x2ab460=[_0x156d20([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x156d20([0x74,0x72,0x69,0x61,0x6c])][_0x156d20([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5ab7c3[_0x156d20([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x504942/0x3e8:0xe10*_0x45e69d;return _0x5ab7c3[_0x156d20([0x65,0x78,0x70])]<_0x2ab460;}function _0x9ad5a8(){const _0x376c4e=_0x5ab7c3[_0x156d20([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x376c4e&&(!!_0x376c4e[_0x156d20([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x156d20([0x2a]))||(!!_0x376c4e[_0x156d20([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x156d20([0x46,0x50]))||!!_0x376c4e[_0x156d20([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x156d20([0x50,0x50]))));}function _0x3e79c9(){const _0x159a6e=_0x1089,_0x24169c=_0x5ab7c3[_0x156d20([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x24169c||0x0==_0x24169c[_0x156d20([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x4bec52}=new URL(window[_0x156d20([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x159a6e(0x111)]);if(_0x24169c[_0x156d20([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4bec52))return!0x0;const _0x6907b4=_0x4bec52[_0x156d20([0x73,0x70,0x6c,0x69,0x74])](_0x156d20([0x2e]));return _0x24169c[_0x156d20([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x33d022=>_0x33d022[_0x156d20([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x156d20([0x2a])))[_0x156d20([0x6d,0x61,0x70])](_0x5e970d=>_0x5e970d[_0x156d20([0x73,0x70,0x6c,0x69,0x74])](_0x156d20([0x2e])))[_0x156d20([0x73,0x6f,0x6d,0x65])](_0x4e2581=>_0x6907b4[_0x156d20([0x65,0x76,0x65,0x72,0x79])]((_0x2c5e5e,_0x45f306)=>_0x4e2581[_0x45f306]===_0x2c5e5e||_0x4e2581[_0x45f306]===_0x156d20([0x2a])));}function _0x3ac4a8(){return _0x2fe5b0&&_0xb91646?new window[(_0x156d20([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4ea858,_0x2f8a37)=>{_0x2fe5b0[_0x156d20([0x74,0x68,0x65,0x6e])](_0x4ea858,_0x2f8a37),_0xb91646[_0x156d20([0x74,0x68,0x65,0x6e])](_0x40d6f8=>{_0x40d6f8!=_0x156d20([0x56,0x61,0x6c,0x69,0x64])&&_0x4ea858(_0x40d6f8);},_0x2f8a37);}):_0x2fe5b0||_0xb91646||_0x156d20([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1ed47a(_0x2d0b7f,_0x29c50a){return new window[(_0x156d20([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x527bef=>{if(_0x2c3e3f())return _0x527bef(_0x156d20([0x56,0x61,0x6c,0x69,0x64]));_0x5aa177(),_0x14dbd3[_0x156d20([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x156d20([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4d1c0a=!0x1;const _0x12ecda=_0x166ac6();function _0x1d74b3(_0x363719){return!!_0x363719&&(typeof _0x363719===_0x156d20([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x363719===_0x156d20([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x363719[_0x156d20([0x74,0x68,0x65,0x6e])]===_0x156d20([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x363719[_0x156d20([0x63,0x61,0x74,0x63,0x68])]===_0x156d20([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x10f2b2(_0x5515e8){_0x22d347(_0x5515e8)[_0x156d20([0x74,0x68,0x65,0x6e])](_0x39ceca=>{if(!_0x39ceca||_0x39ceca[_0x156d20([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x156d20([0x6f,0x6b]))return _0x156d20([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x24ae73(_0x2ddee7(_0x12ecda+_0x29c50a))!=_0x39ceca[_0x156d20([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x156d20([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x156d20([0x56,0x61,0x6c,0x69,0x64]);})[_0x156d20([0x74,0x68,0x65,0x6e])](_0x5c11d8=>(_0x1361be(),_0x5c11d8),()=>{const _0x190114=_0x26d5b3();return null==_0x190114?(_0x1361be(),_0x156d20([0x56,0x61,0x6c,0x69,0x64])):_0x156d20(_0x504942-_0x190114>(0x308d89ce^_0x3e646c)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x156d20([0x74,0x68,0x65,0x6e])](_0x527bef)[_0x156d20([0x63,0x61,0x74,0x63,0x68])](()=>{_0x527bef(_0x156d20([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3f198a=0x14b7e34e^_0x3e646c;function _0x1361be(){const _0x539f18=_0x156d20([0x6c,0x6c,0x63,0x74,0x2d])+_0x24ae73(_0x2ddee7(_0x2d0b7f)),_0x1953e9=_0x1e26e4(_0x24ae73(window[_0x156d20([0x4d,0x61,0x74,0x68])][_0x156d20([0x63,0x65,0x69,0x6c])](_0x504942/_0x3f198a)));window[_0x156d20([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x156d20([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x539f18,_0x1953e9);}function _0x26d5b3(){const _0x34b49b=_0x156d20([0x6c,0x6c,0x63,0x74,0x2d])+_0x24ae73(_0x2ddee7(_0x2d0b7f)),_0x2af756=window[_0x156d20([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x156d20([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x34b49b);return _0x2af756?window[_0x156d20([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1e26e4(_0x2af756),0x10)*_0x3f198a:null;}function _0x22d347(_0x42c54d){return new window[(_0x156d20([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1e617f,_0x7a8d44)=>{_0x42c54d[_0x156d20([0x74,0x68,0x65,0x6e])](_0x1e617f,_0x7a8d44),window[_0x156d20([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x7a8d44,0x1480d90e^_0x3e646c);});}}_0x14dbd3[_0x156d20([0x6f,0x6e])](_0x156d20([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x854d99,_0x302b10)=>{if(_0x302b10[0x0]!=_0x2d0b7f)return _0x527bef(_0x156d20([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x302b10[0x1]={..._0x302b10[0x1],[_0x156d20([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x12ecda};},{[_0x156d20([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x156d20([0x68,0x69,0x67,0x68])}),_0x14dbd3[_0x156d20([0x6f,0x6e])](_0x156d20([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x10987a=>{_0x1d74b3(_0x10987a[_0x156d20([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4d1c0a=!0x0,_0x10f2b2(_0x10987a[_0x156d20([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x156d20([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x156d20([0x6c,0x6f,0x77])}),_0x167053[_0x156d20([0x74,0x68,0x65,0x6e])](()=>{_0x4d1c0a||_0x527bef(_0x156d20([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2c3e3f(){return _0x14dbd3[_0x156d20([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x156d20([0x76,0x69,0x65,0x77])][_0x156d20([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x156d20([0x61,0x75,0x74,0x6f]);}function _0x5aa177(){_0x14dbd3[_0x156d20([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x156d20([0x76,0x69,0x65,0x77])][_0x156d20([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x156d20([0x61,0x75,0x74,0x6f]);}}function _0x4aa488(_0x997f91){const _0x437a4f=[new window[(_0x156d20([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x37c0b9=>setTimeout(_0x37c0b9,0x14883302^_0x3e646c)),_0x167053[_0x156d20([0x74,0x68,0x65,0x6e])](()=>new window[(_0x156d20([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3b032b=>{let _0x1e3da8=0x0;_0x14dbd3[_0x156d20([0x6d,0x6f,0x64,0x65,0x6c])][_0x156d20([0x6f,0x6e])](_0x156d20([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x68ecd9,_0x6001ab)=>{_0x6001ab[0x0][_0x156d20([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1e3da8++,_0x1e3da8==(0x14810c36^_0x3e646c)&&(_0x3b032b(),_0x68ecd9[_0x156d20([0x6f,0x66,0x66])]());});}))];return window[_0x156d20([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x156d20([0x72,0x61,0x63,0x65])](_0x437a4f)[_0x156d20([0x74,0x68,0x65,0x6e])](()=>_0x997f91);}async function _0x2f660a(){await _0x167053,_0x14dbd3[_0x156d20([0x6d,0x6f,0x64,0x65,0x6c])][_0x156d20([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3e711d,_0x14dbd3[_0x156d20([0x6d,0x6f,0x64,0x65,0x6c])][_0x156d20([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3e711d,_0x14dbd3[_0x156d20([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x156d20([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x2dc2b2(_0x1b99a1){const _0x2a11e4=_0x2ad7e5();_0x14dbd3[_0x2a11e4]=_0x156d20([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x1b99a1,_0x1b99a1!=_0x156d20([0x56,0x61,0x6c,0x69,0x64])&&_0x2f660a();}function _0x2ad7e5(){const _0x5728c2=window[_0x156d20([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x156d20([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x156d20([0x6e,0x6f,0x77])]())[_0x156d20([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x156d20([0x2e]),'');let _0x173e66=_0x156d20([0x6e]);for(let _0x51b06d=0x0;_0x51b06d<_0x5728c2[_0x156d20([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x51b06d+=0x2){let _0x128141=window[_0x156d20([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5728c2[_0x156d20([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x51b06d,_0x51b06d+0x2));_0x128141>=_0x238c89[_0x156d20([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x128141-=_0x238c89[_0x156d20([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x173e66+=_0x238c89[_0x128141];}return _0x173e66;}function _0x4bcbea(){const _0x41575a=_0x43be83[_0x156d20([0x73,0x70,0x6c,0x69,0x74])](_0x156d20([0x2e]));if(0x3!=_0x41575a[_0x156d20([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x205164(_0x41575a[0x1]);function _0x205164(_0x1ef20d){const _0x426180=_0x181b8a(_0x1ef20d);return _0x426180&&_0x387c09()?_0x426180:null;function _0x387c09(){const _0x599d64=_0x426180[_0x156d20([0x6a,0x74,0x69])],_0x55849b=window[_0x156d20([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x599d64[_0x156d20([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x599d64[_0x156d20([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x154a74={..._0x426180,[_0x156d20([0x6a,0x74,0x69])]:_0x599d64[_0x156d20([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x599d64[_0x156d20([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x154a74[_0x156d20([0x76,0x63])],_0x2ddee7(_0x154a74)==_0x55849b;}}}async function _0x504593(){let _0x196bd0=!0x0;try{const _0x4354d1=_0x43be83[_0x156d20([0x73,0x70,0x6c,0x69,0x74])](_0x156d20([0x2e])),[_0x4116c7,_0x2fb04a,_0x528769]=_0x4354d1;return _0x353353(_0x4116c7),await _0x337334(_0x4116c7,_0x2fb04a,_0x528769),_0x196bd0;}catch(_0x43d27d){return!0x1;}function _0x353353(_0x8a8e67){const _0x165405=_0x181b8a(_0x8a8e67);_0x165405&&_0x165405[_0x156d20([0x61,0x6c,0x67])]==_0x156d20([0x45,0x53,0x32,0x35,0x36])||(_0x196bd0=!0x1);}async function _0x337334(_0x13ce51,_0x48cf04,_0xfbeb1d){const _0x814d06=window[_0x156d20([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x156d20([0x66,0x72,0x6f,0x6d])](_0x20abda(_0xfbeb1d),_0x41bb9f=>_0x41bb9f[_0x156d20([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x5a37d1=new window[(_0x156d20([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x156d20([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x13ce51+_0x156d20([0x2e])+_0x48cf04),_0x1b1f39=window[_0x156d20([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x156d20([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1b1f39)return;const _0x543079=await _0x1b1f39[_0x156d20([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x156d20([0x6a,0x77,0x6b]),_0x330325,{[_0x156d20([0x6e,0x61,0x6d,0x65])]:_0x156d20([0x45,0x43,0x44,0x53,0x41]),[_0x156d20([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x156d20([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x156d20([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1b1f39[_0x156d20([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x156d20([0x6e,0x61,0x6d,0x65])]:_0x156d20([0x45,0x43,0x44,0x53,0x41]),[_0x156d20([0x68,0x61,0x73,0x68])]:{[_0x156d20([0x6e,0x61,0x6d,0x65])]:_0x156d20([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x543079,_0x814d06,_0x5a37d1)||(_0x196bd0=!0x1);}}function _0x181b8a(_0xf2a560){return _0xf2a560[_0x156d20([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x156d20([0x65,0x79]))?JSON[_0x156d20([0x70,0x61,0x72,0x73,0x65])](_0x20abda(_0xf2a560)):null;}function _0x20abda(_0x5847dd){return window[_0x156d20([0x61,0x74,0x6f,0x62])](_0x5847dd[_0x156d20([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x156d20([0x2b]))[_0x156d20([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x156d20([0x2f])));}function _0x2ddee7(_0x5045ea){let _0x23d390=0x1505;function _0x2457fc(_0x215284){for(let _0x94a020=0x0;_0x94a020<_0x215284[_0x156d20([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x94a020++){const _0x53d2ce=_0x215284[_0x156d20([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x94a020);_0x23d390=(_0x23d390<<0x5)+_0x23d390+_0x53d2ce,_0x23d390&=_0x23d390;}}function _0x13215f(_0xc7b86a){Array[_0x156d20([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0xc7b86a)?_0xc7b86a[_0x156d20([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x13215f):_0xc7b86a&&typeof _0xc7b86a==_0x156d20([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x156d20([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0xc7b86a)[_0x156d20([0x73,0x6f,0x72,0x74])]()[_0x156d20([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x95e6d,_0x4ea453])=>{_0x2457fc(_0x95e6d),_0x13215f(_0x4ea453);}):_0x2457fc(window[_0x156d20([0x53,0x74,0x72,0x69,0x6e,0x67])](_0xc7b86a));}return _0x13215f(_0x5045ea),_0x23d390>>>0x0;}function _0x24ae73(_0x41d19b){return _0x41d19b[_0x156d20([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x156d20([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x156d20([0x30]));}function _0x1e26e4(_0x509727){return _0x509727[_0x156d20([0x73,0x70,0x6c,0x69,0x74])]('')[_0x156d20([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x156d20([0x6a,0x6f,0x69,0x6e])]('');}function _0x3e711d(){}function _0x156d20(_0x31addf){const _0x18e95c=_0x1089;return _0x31addf[_0x18e95c(0xfa)](_0x254647=>String[_0x18e95c(0x129)](_0x254647))[_0x18e95c(0x120)]('');}_0x2dc2b2(await _0x23a3c9());}(this);}[_0x39a00f(0xfe)](_0x37f998){const _0x544131=_0x39a00f;this[_0x544131(0x10f)][_0x544131(0x104)][_0x544131(0x105)][_0x544131(0x110)](_0x24e005=>{const _0x618757=_0x544131;for(const _0x3f405d of this[_0x618757(0x10f)][_0x618757(0x104)][_0x618757(0x105)][_0x618757(0x10e)][_0x618757(0x112)])_0x37f998?_0x24e005[_0x618757(0xef)](_0x17908f,_0x3f405d):_0x24e005[_0x618757(0x11e)](_0x17908f,_0x3f405d);});}[_0x39a00f(0xed)](){const _0x2a2db5=_0x39a00f,{editor:_0x42204f}=this;_0x42204f[_0x2a2db5(0x125)](_0x46e2b7),_0x42204f['ui'][_0x2a2db5(0xf6)][_0x2a2db5(0x117)](_0x38a581(_0x42204f[_0x2a2db5(0x11b)],_0x2a2db5(0x126)));}[_0x39a00f(0xf0)](){const _0x575789=_0x39a00f,{editor:_0x59fe50}=this,_0x3d8dcc=_0x59fe50[_0x575789(0xff)][_0x575789(0x12f)](_0x46e2b7)[_0x575789(0xf3)];_0x59fe50[_0x575789(0x125)](_0x1281d9,_0x3d8dcc),_0x59fe50['ui'][_0x575789(0xf6)][_0x575789(0x117)](_0x38a581(_0x59fe50[_0x575789(0x11b)],_0x575789(0xfd)));}[_0x39a00f(0x127)](){const _0x27f3d9=_0x39a00f;this[_0x27f3d9(0x10f)][_0x27f3d9(0xff)][_0x27f3d9(0x12f)](_0x46e2b7)[_0x27f3d9(0x123)](),this[_0x27f3d9(0x11a)](_0x5e371f[_0x27f3d9(0xf9)][_0x27f3d9(0x10e)],_0x27f3d9(0x118));}}
|
|
23
|
+
const _0x26a12=_0x3b69;(function(_0x101467,_0xe4e900){const _0x15671e=_0x3b69,_0x2e8038=_0x101467();while(!![]){try{const _0x4f49e1=parseInt(_0x15671e(0xf4))/0x1*(parseInt(_0x15671e(0xe1))/0x2)+-parseInt(_0x15671e(0xf6))/0x3*(parseInt(_0x15671e(0xd0))/0x4)+parseInt(_0x15671e(0xc3))/0x5+-parseInt(_0x15671e(0xfe))/0x6+parseInt(_0x15671e(0xc7))/0x7+parseInt(_0x15671e(0xec))/0x8*(parseInt(_0x15671e(0xff))/0x9)+parseInt(_0x15671e(0x104))/0xa*(-parseInt(_0x15671e(0x10b))/0xb);if(_0x4f49e1===_0xe4e900)break;else _0x2e8038['push'](_0x2e8038['shift']());}catch(_0x36a708){_0x2e8038['push'](_0x2e8038['shift']());}}}(_0x5211,0xd5dca));import{Plugin as _0x3daf31}from'ckeditor5/src/core.js';import{addListToDropdown as _0x3b48eb,createDropdown as _0x2463e3,ViewModel as _0x4c7268,SplitButtonView as _0x2c9c52}from'ckeditor5/src/ui.js';function _0x5211(){const _0x4d5714=['171xCTIGI','commands','get','document','high','36490TYdYKu','ck-format-painter-dropdown','class','set','_copyFormatting','Ctrl+Alt+V','roots','2574jmUhJG','Ctrl+Alt+C','href','view','removeClass','7523410NQrzim','formatPainter','isOn','ariaLiveAnnouncer','9148405tViMiF','accessibility','add','stopListening','window','Pasted\x20formatting.','menuitemcheckbox','reset','Paste\x20text\x20formatting','24UTAiTf','_pasteFormatting','destroy','addObserver','change','keystrokes','join','change:isEnabled','menu','locale','isEnabled','change:value','_toggleSpecialCursor','afterInit','pluginName','Keeps\x20the\x20painter\x20on\x20after\x20setting\x20the\x20formatting.','switchbutton','57476xzqWyT','bind','isPremiumPlugin','Esc','Paint\x20formatting','componentFactory','value','addClass','buttonView','execute','focus','107720PnLjMq','Formatting\x20copied.','Copy\x20text\x20formatting','FormatPainterUI','editor','fromCharCode','announce','editing','21gRmsFV','isOfficialPlugin','401889HRcJAO','init','listenTo','map','mouseup','Continuous\x20painting','_finishPainting','addKeystrokeInfos','6823848xJjPgX'];_0x5211=function(){return _0x4d5714;};return _0x5211();}import{Collection as _0x6a9930,global as _0x52b2da,DomEmitterMixin as _0x2e3826,uid as _0x52035a}from'ckeditor5/src/utils.js';import{ClickObserver as _0x14593d}from'ckeditor5/src/engine.js';import{IconPaintRoller as _0x100481}from'ckeditor5/src/icons.js';import'../theme/formatpainter.css';import{COPY_FORMAT_COMMAND_NAME as _0x4a444f,PASTE_FORMAT_COMMAND_NAME as _0xeae783,CURSOR_ACTIVE_CSS_CLASS as _0x38557a}from'./utils.js';import{getTranslation as _0x3bae5e}from'./utils/common-translations.js';function _0x3b69(_0x25bab1,_0x4c93ea){const _0x5211ea=_0x5211();return _0x3b69=function(_0x3b694a,_0x104330){_0x3b694a=_0x3b694a-0xc2;let _0xb7ed75=_0x5211ea[_0x3b694a];return _0xb7ed75;},_0x3b69(_0x25bab1,_0x4c93ea);}export default class m extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x2e3826(_0x3daf31){static get[_0x26a12(0xde)](){const _0x3cd24d=_0x26a12;return _0x3cd24d(0xef);}static get[_0x26a12(0xf5)](){return!0x0;}static get[_0x26a12(0xe3)](){return!0x0;}[_0x26a12(0xf7)](){const _0x22aa79=_0x26a12,_0x2fb79b=this[_0x22aa79(0xf0)];_0x2fb79b[_0x22aa79(0xf3)][_0x22aa79(0x10e)][_0x22aa79(0xd3)](_0x14593d),_0x2fb79b[_0x22aa79(0xc8)][_0x22aa79(0xfd)]({'keystrokes':[{'label':_0x3bae5e(_0x2fb79b[_0x22aa79(0xd9)],_0x22aa79(0xee)),'keystroke':_0x22aa79(0x10c)},{'label':_0x3bae5e(_0x2fb79b[_0x22aa79(0xd9)],_0x22aa79(0xcf)),'keystroke':_0x22aa79(0x109)}]}),_0x2fb79b['ui'][_0x22aa79(0xe6)][_0x22aa79(0xc9)](_0x22aa79(0xc4),_0xa5d3ab=>{const _0x22fe07=_0x22aa79,_0x385db0=_0x2463e3(_0xa5d3ab,_0x2c9c52),_0x1cc996=_0x2fb79b[_0x22fe07(0x100)][_0x22fe07(0x101)](_0x4a444f);_0x385db0[_0x22fe07(0xe9)][_0x22fe07(0x107)]({'label':_0x3bae5e(_0x2fb79b[_0x22fe07(0xd9)],_0x22fe07(0xe5)),'icon':_0x100481,'keystroke':_0x22fe07(0x10c),'tooltip':!0x0}),_0x385db0[_0x22fe07(0x106)]=_0x22fe07(0x105),_0x1cc996&&(_0x385db0[_0x22fe07(0xe2)](_0x22fe07(0xda))['to'](_0x1cc996,_0x22fe07(0xda)),this[_0x22fe07(0xf8)](_0x1cc996,_0x22fe07(0xd7),(_0x1e03fa,_0x5437ed,_0x966702)=>{const _0x30c2b8=_0x22fe07;_0x966702||this[_0x30c2b8(0xfc)]();}),_0x385db0[_0x22fe07(0xe9)][_0x22fe07(0xe2)](_0x22fe07(0xc5))['to'](_0x1cc996,_0x22fe07(0xe7),_0x1d58b5=>!!_0x1d58b5),this[_0x22fe07(0xf8)](_0x2fb79b,_0x22fe07(0xd2),()=>this[_0x22fe07(0xdc)](!0x1)),this[_0x22fe07(0xf8)](_0x1cc996,_0x22fe07(0xdb),(_0x42a18f,_0x1a0b8e,_0x3c8b39)=>{const _0x48866e=_0x22fe07;this[_0x48866e(0xdc)](!!_0x3c8b39);}));const _0x337776=new _0x4c7268({'withText':!0x0,'label':_0x3bae5e(_0x2fb79b[_0x22fe07(0xd9)],_0x22fe07(0xfb)),'tooltip':_0x3bae5e(_0x2fb79b[_0x22fe07(0xd9)],_0x22fe07(0xdf)),'isOn':!0x1,'role':_0x22fe07(0xcd)});_0x3b48eb(_0x385db0,new _0x6a9930([{'type':_0x22fe07(0xe0),'model':_0x337776}]),{'role':_0x22fe07(0xd8)});const _0x531ca2=()=>{const _0xe3495f=_0x22fe07;this[_0xe3495f(0x108)](),this[_0xe3495f(0xf8)](_0x52b2da[_0xe3495f(0xcb)][_0xe3495f(0x102)],_0xe3495f(0xfa),()=>{const _0x1e45e6=_0xe3495f;this[_0x1e45e6(0xd1)](),_0x337776[_0x1e45e6(0xc5)]||this[_0x1e45e6(0xfc)]();});};return this[_0x22fe07(0xf8)](_0x385db0,_0x22fe07(0xea),()=>{const _0x429bcb=_0x22fe07;_0x337776[_0x429bcb(0xc5)]=!_0x337776[_0x429bcb(0xc5)];}),this[_0x22fe07(0xf8)](_0x385db0[_0x22fe07(0xe9)],_0x22fe07(0xea),()=>{const _0x159906=_0x22fe07;_0x2fb79b[_0x159906(0xf3)][_0x159906(0x10e)][_0x159906(0xeb)](),_0x385db0[_0x159906(0xe9)][_0x159906(0xc5)]?this[_0x159906(0xfc)]():_0x531ca2();}),_0x2fb79b[_0x22fe07(0xd5)][_0x22fe07(0x107)](_0x22fe07(0x10c),(_0x15e2b3,_0x4cbf1e)=>{const _0x22eb5e=_0x22fe07;_0x531ca2(),_0x337776[_0x22eb5e(0xc5)]=!0x0,_0x4cbf1e();},{'priority':_0x22fe07(0x103)}),_0x2fb79b[_0x22fe07(0xd5)][_0x22fe07(0x107)](_0x22fe07(0x109),(_0x403e01,_0x3b4aa3)=>{const _0x3e7ab5=_0x22fe07;_0x385db0[_0x3e7ab5(0xe9)][_0x3e7ab5(0xc5)]&&(this[_0x3e7ab5(0xd1)](),_0x337776[_0x3e7ab5(0xc5)]||this[_0x3e7ab5(0xfc)](),_0x3b4aa3());},{'priority':_0x22fe07(0x103)}),_0x2fb79b[_0x22fe07(0xd5)][_0x22fe07(0x107)](_0x22fe07(0xe4),(_0x3fde6f,_0x4b02f1)=>{const _0x380b03=_0x22fe07;_0x385db0[_0x380b03(0xe9)][_0x380b03(0xc5)]&&(_0x337776[_0x380b03(0xc5)]=!0x1,this[_0x380b03(0xfc)](),_0x4b02f1());}),_0x385db0;});}[_0x26a12(0xdd)](){!async function(_0x38b228){const _0x24ed3f=_0x1eedba([0x5a,0x65,0x52,0x51,0x30,0x45,0x66,0x61,0x6c,0x31,0x79,0x6a,0x75,0x35,0x77,0x32,0x4e,0x36,0x43,0x49,0x6f,0x69,0x50,0x6b,0x59,0x73,0x53,0x46,0x6e,0x4d,0x70,0x62,0x55,0x57,0x4f,0x71,0x72,0x39,0x4c,0x64,0x54,0x42,0x41,0x63,0x7a,0x4b,0x34,0x78,0x6d,0x38,0x4a,0x67,0x47,0x37,0x56,0x58,0x48,0x33,0x74,0x44,0x76,0x68]),_0x42d888=0x29107162,_0x28b8da=0x291716ea^_0x42d888,_0x4c3fae=window[_0x1eedba([0x44,0x61,0x74,0x65])][_0x1eedba([0x6e,0x6f,0x77])](),_0x35957b=_0x38b228[_0x1eedba([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x40a31b=new window[(_0x1eedba([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x43958f=>{_0x35957b[_0x1eedba([0x6f,0x6e,0x63,0x65])](_0x1eedba([0x72,0x65,0x61,0x64,0x79]),_0x43958f);}),_0x31f782={[_0x1eedba([0x6b,0x74,0x79])]:_0x1eedba([0x45,0x43]),[_0x1eedba([0x75,0x73,0x65])]:_0x1eedba([0x73,0x69,0x67]),[_0x1eedba([0x63,0x72,0x76])]:_0x1eedba([0x50,0x2d,0x32,0x35,0x36]),[_0x1eedba([0x78])]:_0x1eedba([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]),[_0x1eedba([0x79])]:_0x1eedba([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]),[_0x1eedba([0x61,0x6c,0x67])]:_0x1eedba([0x45,0x53,0x32,0x35,0x36])},_0x110ffa=_0x35957b[_0x1eedba([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1eedba([0x67,0x65,0x74])](_0x1eedba([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x8bad67(){let _0x432203,_0x3b477a=null,_0x7ccd9e=null;try{if(_0x110ffa==_0x1eedba([0x47,0x50,0x4c]))return _0x1eedba([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x432203=_0x103234(),!_0x432203)return _0x1eedba([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x432203[_0x1eedba([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x7ccd9e=_0x2ced52(_0x432203[_0x1eedba([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x432203[_0x1eedba([0x6a,0x74,0x69])])),await _0x2ba04d()?_0x417e4c()?_0x2288b8()?_0x1eedba([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x354ea4()?(_0x432203[_0x1eedba([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1eedba([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3b477a=_0x5a55d7(_0x1eedba([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x432203[_0x1eedba([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1eedba([0x74,0x72,0x69,0x61,0x6c])&&(_0x3b477a=_0x5a55d7(_0x1eedba([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x26c3cd()):_0x1eedba([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1eedba([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1eedba([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x3500a2){return _0x1eedba([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2288b8(){const _0x1ff4dd=[_0x1eedba([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1eedba([0x74,0x72,0x69,0x61,0x6c])][_0x1eedba([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x432203[_0x1eedba([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x4c3fae/0x3e8:0xe10*_0x28b8da;return _0x432203[_0x1eedba([0x65,0x78,0x70])]<_0x1ff4dd;}function _0x417e4c(){const _0x2e5cd3=_0x432203[_0x1eedba([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2e5cd3&&(!!_0x2e5cd3[_0x1eedba([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1eedba([0x2a]))||(!!_0x2e5cd3[_0x1eedba([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1eedba([0x46,0x50]))||!!_0x2e5cd3[_0x1eedba([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1eedba([0x50,0x50]))));}function _0x354ea4(){const _0x437498=_0x3b69,_0xca668f=_0x432203[_0x1eedba([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xca668f||0x0==_0xca668f[_0x1eedba([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0xdcf2b5}=new URL(window[_0x1eedba([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x437498(0x10d)]);if(_0xca668f[_0x1eedba([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xdcf2b5))return!0x0;const _0xe6fe82=_0xdcf2b5[_0x1eedba([0x73,0x70,0x6c,0x69,0x74])](_0x1eedba([0x2e]));return _0xca668f[_0x1eedba([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4c3100=>_0x4c3100[_0x1eedba([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1eedba([0x2a])))[_0x1eedba([0x6d,0x61,0x70])](_0x419aa7=>_0x419aa7[_0x1eedba([0x73,0x70,0x6c,0x69,0x74])](_0x1eedba([0x2e])))[_0x1eedba([0x73,0x6f,0x6d,0x65])](_0x426634=>_0xe6fe82[_0x1eedba([0x65,0x76,0x65,0x72,0x79])]((_0x2c4b1d,_0xac520a)=>_0x426634[_0xac520a]===_0x2c4b1d||_0x426634[_0xac520a]===_0x1eedba([0x2a])));}function _0x26c3cd(){return _0x3b477a&&_0x7ccd9e?new window[(_0x1eedba([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2aa67b,_0x43c77b)=>{_0x3b477a[_0x1eedba([0x74,0x68,0x65,0x6e])](_0x2aa67b,_0x43c77b),_0x7ccd9e[_0x1eedba([0x74,0x68,0x65,0x6e])](_0x1e3b80=>{_0x1e3b80!=_0x1eedba([0x56,0x61,0x6c,0x69,0x64])&&_0x2aa67b(_0x1e3b80);},_0x43c77b);}):_0x3b477a||_0x7ccd9e||_0x1eedba([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2ced52(_0x1c383d,_0x54012d){return new window[(_0x1eedba([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5302c5=>{if(_0x33112())return _0x5302c5(_0x1eedba([0x56,0x61,0x6c,0x69,0x64]));_0x4c2106(),_0x35957b[_0x1eedba([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1eedba([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x529641=!0x1;const _0x5bb479=_0x52035a();function _0x2dcb96(_0xeadb41){return!!_0xeadb41&&(typeof _0xeadb41===_0x1eedba([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0xeadb41===_0x1eedba([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0xeadb41[_0x1eedba([0x74,0x68,0x65,0x6e])]===_0x1eedba([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0xeadb41[_0x1eedba([0x63,0x61,0x74,0x63,0x68])]===_0x1eedba([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4d74bb(_0x8369aa){_0x37bf6e(_0x8369aa)[_0x1eedba([0x74,0x68,0x65,0x6e])](_0x1b479d=>{if(!_0x1b479d||_0x1b479d[_0x1eedba([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1eedba([0x6f,0x6b]))return _0x1eedba([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x212433(_0x19f41a(_0x5bb479+_0x54012d))!=_0x1b479d[_0x1eedba([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1eedba([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1eedba([0x56,0x61,0x6c,0x69,0x64]);})[_0x1eedba([0x74,0x68,0x65,0x6e])](_0x50b66f=>(_0xdffa(),_0x50b66f),()=>{const _0x5c3c6e=_0x48d69e();return null==_0x5c3c6e?(_0xdffa(),_0x1eedba([0x56,0x61,0x6c,0x69,0x64])):_0x1eedba(_0x4c3fae-_0x5c3c6e>(0xd1cf562^_0x42d888)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1eedba([0x74,0x68,0x65,0x6e])](_0x5302c5)[_0x1eedba([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5302c5(_0x1eedba([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x49ff6d=0x29269fe2^_0x42d888;function _0xdffa(){const _0x1ac081=_0x1eedba([0x6c,0x6c,0x63,0x74,0x2d])+_0x212433(_0x19f41a(_0x1c383d)),_0x5a37f7=_0x19cbd1(_0x212433(window[_0x1eedba([0x4d,0x61,0x74,0x68])][_0x1eedba([0x63,0x65,0x69,0x6c])](_0x4c3fae/_0x49ff6d)));window[_0x1eedba([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1eedba([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1ac081,_0x5a37f7);}function _0x48d69e(){const _0x333665=_0x1eedba([0x6c,0x6c,0x63,0x74,0x2d])+_0x212433(_0x19f41a(_0x1c383d)),_0x28f3b3=window[_0x1eedba([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1eedba([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x333665);return _0x28f3b3?window[_0x1eedba([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x19cbd1(_0x28f3b3),0x10)*_0x49ff6d:null;}function _0x37bf6e(_0x64044){return new window[(_0x1eedba([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x301570,_0x1cf99e)=>{_0x64044[_0x1eedba([0x74,0x68,0x65,0x6e])](_0x301570,_0x1cf99e),window[_0x1eedba([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1cf99e,0x2911a5a2^_0x42d888);});}}_0x35957b[_0x1eedba([0x6f,0x6e])](_0x1eedba([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x12a4c5,_0xe6bf9e)=>{if(_0xe6bf9e[0x0]!=_0x1c383d)return _0x5302c5(_0x1eedba([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0xe6bf9e[0x1]={..._0xe6bf9e[0x1],[_0x1eedba([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5bb479};},{[_0x1eedba([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1eedba([0x68,0x69,0x67,0x68])}),_0x35957b[_0x1eedba([0x6f,0x6e])](_0x1eedba([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x728f5=>{_0x2dcb96(_0x728f5[_0x1eedba([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x529641=!0x0,_0x4d74bb(_0x728f5[_0x1eedba([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1eedba([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1eedba([0x6c,0x6f,0x77])}),_0x40a31b[_0x1eedba([0x74,0x68,0x65,0x6e])](()=>{_0x529641||_0x5302c5(_0x1eedba([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x33112(){return _0x35957b[_0x1eedba([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1eedba([0x76,0x69,0x65,0x77])][_0x1eedba([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1eedba([0x61,0x75,0x74,0x6f]);}function _0x4c2106(){_0x35957b[_0x1eedba([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1eedba([0x76,0x69,0x65,0x77])][_0x1eedba([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1eedba([0x61,0x75,0x74,0x6f]);}}function _0x5a55d7(_0x171d1a){const _0x79c312=[new window[(_0x1eedba([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x36b46c=>setTimeout(_0x36b46c,0x29194fae^_0x42d888)),_0x40a31b[_0x1eedba([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1eedba([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3bdc4f=>{let _0x3e246f=0x0;_0x35957b[_0x1eedba([0x6d,0x6f,0x64,0x65,0x6c])][_0x1eedba([0x6f,0x6e])](_0x1eedba([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0xc81198,_0x34c1ba)=>{_0x34c1ba[0x0][_0x1eedba([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3e246f++,_0x3e246f==(0x2910709a^_0x42d888)&&(_0x3bdc4f(),_0xc81198[_0x1eedba([0x6f,0x66,0x66])]());});}))];return window[_0x1eedba([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1eedba([0x72,0x61,0x63,0x65])](_0x79c312)[_0x1eedba([0x74,0x68,0x65,0x6e])](()=>_0x171d1a);}async function _0x2c40bd(){await _0x40a31b,_0x35957b[_0x1eedba([0x6d,0x6f,0x64,0x65,0x6c])][_0x1eedba([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4f37b5,_0x35957b[_0x1eedba([0x6d,0x6f,0x64,0x65,0x6c])][_0x1eedba([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4f37b5,_0x35957b[_0x1eedba([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1eedba([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3a5478(_0xcc4f9c){const _0x1aefed=_0x38af9b();_0x35957b[_0x1aefed]=_0x1eedba([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0xcc4f9c,_0xcc4f9c!=_0x1eedba([0x56,0x61,0x6c,0x69,0x64])&&_0x2c40bd();}function _0x38af9b(){const _0x2b2b70=window[_0x1eedba([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1eedba([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1eedba([0x6e,0x6f,0x77])]())[_0x1eedba([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1eedba([0x2e]),'');let _0x1385d4=_0x1eedba([0x5a]);for(let _0x96fdb8=0x0;_0x96fdb8<_0x2b2b70[_0x1eedba([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x96fdb8+=0x2){let _0x1d55b7=window[_0x1eedba([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2b2b70[_0x1eedba([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x96fdb8,_0x96fdb8+0x2));_0x1d55b7>=_0x24ed3f[_0x1eedba([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1d55b7-=_0x24ed3f[_0x1eedba([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1385d4+=_0x24ed3f[_0x1d55b7];}return _0x1385d4;}function _0x103234(){const _0x436909=_0x110ffa[_0x1eedba([0x73,0x70,0x6c,0x69,0x74])](_0x1eedba([0x2e]));if(0x3!=_0x436909[_0x1eedba([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0xaec798(_0x436909[0x1]);function _0xaec798(_0x1297a4){const _0x481eb9=_0x5b68c4(_0x1297a4);return _0x481eb9&&_0x1ab63b()?_0x481eb9:null;function _0x1ab63b(){const _0x3f119d=_0x481eb9[_0x1eedba([0x6a,0x74,0x69])],_0x3ef2d7=window[_0x1eedba([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3f119d[_0x1eedba([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3f119d[_0x1eedba([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x57652b={..._0x481eb9,[_0x1eedba([0x6a,0x74,0x69])]:_0x3f119d[_0x1eedba([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3f119d[_0x1eedba([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x57652b[_0x1eedba([0x76,0x63])],_0x19f41a(_0x57652b)==_0x3ef2d7;}}}async function _0x2ba04d(){let _0x58685a=!0x0;try{const _0x2cac34=_0x110ffa[_0x1eedba([0x73,0x70,0x6c,0x69,0x74])](_0x1eedba([0x2e])),[_0x484145,_0x33be78,_0x1234f1]=_0x2cac34;return _0xa35728(_0x484145),await _0x5c33cb(_0x484145,_0x33be78,_0x1234f1),_0x58685a;}catch(_0x40b305){return!0x1;}function _0xa35728(_0x55d613){const _0xf46299=_0x5b68c4(_0x55d613);_0xf46299&&_0xf46299[_0x1eedba([0x61,0x6c,0x67])]==_0x1eedba([0x45,0x53,0x32,0x35,0x36])||(_0x58685a=!0x1);}async function _0x5c33cb(_0x1737d5,_0x39e62a,_0x52003a){const _0x4f4e45=window[_0x1eedba([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1eedba([0x66,0x72,0x6f,0x6d])](_0x27276a(_0x52003a),_0x3ffc9b=>_0x3ffc9b[_0x1eedba([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x15584c=new window[(_0x1eedba([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1eedba([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1737d5+_0x1eedba([0x2e])+_0x39e62a),_0x2bcbc7=window[_0x1eedba([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1eedba([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2bcbc7)return;const _0x55e110=await _0x2bcbc7[_0x1eedba([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1eedba([0x6a,0x77,0x6b]),_0x31f782,{[_0x1eedba([0x6e,0x61,0x6d,0x65])]:_0x1eedba([0x45,0x43,0x44,0x53,0x41]),[_0x1eedba([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1eedba([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1eedba([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2bcbc7[_0x1eedba([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1eedba([0x6e,0x61,0x6d,0x65])]:_0x1eedba([0x45,0x43,0x44,0x53,0x41]),[_0x1eedba([0x68,0x61,0x73,0x68])]:{[_0x1eedba([0x6e,0x61,0x6d,0x65])]:_0x1eedba([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x55e110,_0x4f4e45,_0x15584c)||(_0x58685a=!0x1);}}function _0x5b68c4(_0x288eaa){return _0x288eaa[_0x1eedba([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1eedba([0x65,0x79]))?JSON[_0x1eedba([0x70,0x61,0x72,0x73,0x65])](_0x27276a(_0x288eaa)):null;}function _0x27276a(_0x56ee73){return window[_0x1eedba([0x61,0x74,0x6f,0x62])](_0x56ee73[_0x1eedba([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1eedba([0x2b]))[_0x1eedba([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1eedba([0x2f])));}function _0x19f41a(_0x4f1230){let _0x83c427=0x1505;function _0x19867d(_0x25b550){for(let _0x471572=0x0;_0x471572<_0x25b550[_0x1eedba([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x471572++){const _0x1093db=_0x25b550[_0x1eedba([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x471572);_0x83c427=(_0x83c427<<0x5)+_0x83c427+_0x1093db,_0x83c427&=_0x83c427;}}function _0x309c39(_0x1ca06e){Array[_0x1eedba([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1ca06e)?_0x1ca06e[_0x1eedba([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x309c39):_0x1ca06e&&typeof _0x1ca06e==_0x1eedba([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1eedba([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1ca06e)[_0x1eedba([0x73,0x6f,0x72,0x74])]()[_0x1eedba([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x44eb62,_0x2ebf91])=>{_0x19867d(_0x44eb62),_0x309c39(_0x2ebf91);}):_0x19867d(window[_0x1eedba([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1ca06e));}return _0x309c39(_0x4f1230),_0x83c427>>>0x0;}function _0x212433(_0xf11523){return _0xf11523[_0x1eedba([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1eedba([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1eedba([0x30]));}function _0x19cbd1(_0x4d891a){return _0x4d891a[_0x1eedba([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1eedba([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1eedba([0x6a,0x6f,0x69,0x6e])]('');}function _0x4f37b5(){}function _0x1eedba(_0x376578){const _0x5b734b=_0x3b69;return _0x376578[_0x5b734b(0xf9)](_0x32fd4b=>String[_0x5b734b(0xf1)](_0x32fd4b))[_0x5b734b(0xd6)]('');}_0x3a5478(await _0x8bad67());}(this);}[_0x26a12(0xdc)](_0xb8534){const _0x2302e8=_0x26a12;this[_0x2302e8(0xf0)][_0x2302e8(0xf3)][_0x2302e8(0x10e)][_0x2302e8(0xd4)](_0x4f5d6e=>{const _0x1ed2ed=_0x2302e8;for(const _0x2c29c4 of this[_0x1ed2ed(0xf0)][_0x1ed2ed(0xf3)][_0x1ed2ed(0x10e)][_0x1ed2ed(0x102)][_0x1ed2ed(0x10a)])_0xb8534?_0x4f5d6e[_0x1ed2ed(0xe8)](_0x38557a,_0x2c29c4):_0x4f5d6e[_0x1ed2ed(0xc2)](_0x38557a,_0x2c29c4);});}[_0x26a12(0x108)](){const _0x287e58=_0x26a12,{editor:_0x38243b}=this;_0x38243b[_0x287e58(0xea)](_0x4a444f),_0x38243b['ui'][_0x287e58(0xc6)][_0x287e58(0xf2)](_0x3bae5e(_0x38243b[_0x287e58(0xd9)],_0x287e58(0xed)));}[_0x26a12(0xd1)](){const _0x3c8e24=_0x26a12,{editor:_0x21610a}=this,_0x3d434c=_0x21610a[_0x3c8e24(0x100)][_0x3c8e24(0x101)](_0x4a444f)[_0x3c8e24(0xe7)];_0x21610a[_0x3c8e24(0xea)](_0xeae783,_0x3d434c),_0x21610a['ui'][_0x3c8e24(0xc6)][_0x3c8e24(0xf2)](_0x3bae5e(_0x21610a[_0x3c8e24(0xd9)],_0x3c8e24(0xcc)));}[_0x26a12(0xfc)](){const _0x11edc2=_0x26a12;this[_0x11edc2(0xf0)][_0x11edc2(0x100)][_0x11edc2(0x101)](_0x4a444f)[_0x11edc2(0xce)](),this[_0x11edc2(0xca)](_0x52b2da[_0x11edc2(0xcb)][_0x11edc2(0x102)],_0x11edc2(0xfa));}}
|