@ckeditor/ckeditor5-format-painter 45.1.0-alpha.2 → 45.1.0-alpha.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/format-painter.js +2 -2
- package/dist/index.js +2 -2
- package/package.json +7 -7
- package/src/formatpainterui.js +2 -2
package/build/format-painter.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
!function(t){const
|
|
1
|
+
!function(t){const n=t.en=t.en||{};n.dictionary=Object.assign(n.dictionary||{},{"Continuous painting":"Continuous painting","Copy text formatting":"Copy text formatting","Formatting copied.":"Formatting copied.","Keeps the painter on after setting the formatting.":"Keeps the painter on after setting the formatting.","Paint formatting":"Paint formatting","Paste text formatting":"Paste text formatting","Pasted formatting.":"Pasted formatting."})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})),
|
|
2
2
|
/*!
|
|
3
3
|
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
4
4
|
* For licensing, see LICENSE.md.
|
|
5
|
-
*/(()=>{var t={168:t=>{"use strict";t.exports=function(t){return t[1]}},220:t=>{"use strict";t.exports=function(t,e){return e||(e={}),t?(t=String(t.__esModule?t.default:t),/^['"].*['"]$/.test(t)&&(t=t.slice(1,-1)),e.hash&&(t+=e.hash),/["'() \t\n]|(%20)/.test(t)||e.needQuotes?'"'.concat(t.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):t):t}},237:t=>{"use strict";t.exports=CKEditor5.dll},262:t=>{"use strict";var e={};t.exports=function(t,n){var r=function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(t){n=null}e[t]=n}return e[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(n)}},311:(t,e,n)=>{t.exports=n(237)("./src/ui.js")},355:(t,e,n)=>{t.exports=n(237)("./src/icons.js")},357:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},415:t=>{"use strict";t.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMCIgaGVpZ2h0PSIyMCIgZmlsbD0ibm9uZSIgdmlld0JveD0iMCAwIDMxIDIwIj48cGF0aCBmaWxsPSIjMDAwIiBkPSJNMTQgM2ExIDEgMCAwIDEgMS0xaDEwYTEgMSAwIDAgMSAxIDF2MmExIDEgMCAwIDEtMSAxSDE1YTEgMSAwIDAgMS0xLTF6Ii8+PHBhdGggZmlsbD0iIzAwMCIgZD0iTTI3IDMuMjVhMS41IDEuNSAwIDAgMSAxLjUgMS41djEuN2EyLjI1IDIuMjUgMCAwIDEtMS45MzIgMi4yMjZsLTQuNDI0LjYzMmEuNzUuNzUgMCAwIDAtLjY0NC43NDNWMTFhMSAxIDAgMCAxIDEgMXY1YTEgMSAwIDAgMS0xIDFIMjBhMSAxIDAgMCAxLTEtMXYtNWExIDEgMCAwIDEgMS0xdi0uOTVhMi4yNSAyLjI1IDAgMCAxIDEuOTMyLTIuMjI2bDQuNDI0LS42MzJBLjc1Ljc1IDAgMCAwIDI3IDYuNDQ5eiIvPjxwYXRoIGZpbGw9IiNmZmYiIGZpbGwtcnVsZT0iZXZlbm9kZCIgZD0iTTI2Ljg1NSAyLjI1SDI3YTIuNSAyLjUgMCAwIDEgMi41IDIuNXYxLjdhMy4yNSAzLjI1IDAgMCAxLTIuNzkgMy4yMTZsLTQuMjEuNjAyYTIgMiAwIDAgMSAxIDEuNzMydjVhMiAyIDAgMCAxLTIgMkgyMGEyIDIgMCAwIDEtMi0ydi01YTIgMiAwIDAgMSAxLTEuNzMydi0uMjE3QTMuMjUgMy4yNSAwIDAgMSAyMS4xMjkgN0gxNWEyIDIgMCAwIDEtMi0yVjNhMiAyIDAgMCAxIDItMmgxMGEyIDIgMCAwIDEgMS44NTUgMS4yNU0yMCAxMC4wNVYxMWExIDEgMCAwIDAtMSAxdjVhMSAxIDAgMCAwIDEgMWgxLjVhMSAxIDAgMCAwIDEtMXYtNWExIDEgMCAwIDAtMS0xdi0uOTVxMC0uMDI0LjAwMi0uMDVhLjc1Ljc1IDAgMCAxIC42NDItLjY5Mmw0LjQyNC0uNjMyQTIuMjUgMi4yNSAwIDAgMCAyOC41IDYuNDV2LTEuN2ExLjQ5NiAxLjQ5NiAwIDAgMC0xLjUtMS41djMuMmEuNzUuNzUgMCAwIDEtLjY0NC43NDJsLTQuNDI0LjYzMkEyLjI1IDIuMjUgMCAwIDAgMjAgMTAuMDVNMTUgMmExIDEgMCAwIDAtMSAxdjJhMSAxIDAgMCAwIDEgMWgxMGExIDEgMCAwIDAgMS0xVjNhMSAxIDAgMCAwLTEtMXoiIGNsaXAtcnVsZT0iZXZlbm9kZCIvPjxwYXRoIGZpbGw9IiMwMDAiIGQ9Ik0yLjUgMi41QS41LjUgMCAwIDEgMyAyaDIuNWEuNS41IDAgMCAxIC4zNTQuMTQ2bC42NDYuNjQ3LjY0Ni0uNjQ3QS41LjUgMCAwIDEgNy41IDJIMTBhLjUuNSAwIDAgMSAwIDFINy43MDdMNyAzLjcwN1YxMGguNWEuNS41IDAgMCAxIDAgMUg3djQuNzkzbC43MDcuNzA3SDEwYS41LjUgMCAwIDEgMCAxSDcuNWEuNS41IDAgMCAxLS4zNTQtLjE0NmwtLjY0Ni0uNjQ3LS42NDYuNjQ3YS41LjUgMCAwIDEtLjM1NC4xNDZIM2EuNS41IDAgMCAxIDAtMWgyLjI5M0w2IDE1Ljc5M1YxMWgtLjVhLjUuNSAwIDAgMSAwLTFINlYzLjcwN0w1LjI5MyAzSDNhLjUuNSAwIDAgMS0uNS0uNSIvPjxwYXRoIGZpbGw9IiNmZmYiIGZpbGwtcnVsZT0iZXZlbm9kZCIgZD0ibTUuNzkzIDMuNS0uNS0uNUgzYS41LjUgMCAwIDEgMC0xaDIuNWEuNS41IDAgMCAxIC4zNTQuMTQ2bC4xNDUuMTQ2LjUwMS41LjY0Ni0uNjQ2QS41LjUgMCAwIDEgNy41IDJIMTBhLjUuNSAwIDAgMSAwIDFINy43MDdMNyAzLjcwN1YxMGguNWEuNS41IDAgMCAxIDAgMUg3djQuNzkzbC43MDcuNzA3SDEwYS41LjUgMCAwIDEgMCAxSDcuNWEuNS41IDAgMCAxLS4zNTQtLjE0NmwtLjY0Ni0uNjQ3LS41LjUtLjE0Ni4xNDdhLjUuNSAwIDAgMS0uMzU0LjE0NkgzYS41LjUgMCAwIDEgMC0xaDIuMjkzTDYgMTUuNzkzVjExaC0uNWEuNS41IDAgMCAxIDAtMUg2VjMuNzA3em0tLjkxNC41TDUgNC4xMjF2NC45NjRhMS41IDEuNSAwIDAgMCAwIDIuODN2My40NjRsLS4xMjEuMTIxSDNhMS41IDEuNSAwIDAgMCAwIDNoMi41YTEuNSAxLjUgMCAwIDAgMS0uMzgyIDEuNSAxLjUgMCAwIDAgMSAuMzgySDEwYTEuNSAxLjUgMCAwIDAgMC0zSDguMTIxTDggMTUuMzc5di0zLjQ2NGExLjUgMS41IDAgMCAwIDAtMi44M1Y0LjEyMUw4LjEyMSA0SDEwYTEuNSAxLjUgMCAwIDAgMC0zSDcuNWExLjUgMS41IDAgMCAwLTEgLjM4MkExLjUgMS41IDAgMCAwIDUuNSAxSDNhMS41IDEuNSAwIDEgMCAwIDN6IiBjbGlwLXJ1bGU9ImV2ZW5vZGQiLz48L3N2Zz4="},433:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var n="",r=void 0!==e[5];return e[4]&&(n+="@supports (".concat(e[4],") {")),e[2]&&(n+="@media ".concat(e[2]," {")),r&&(n+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),n+=t(e),r&&(n+="}"),e[2]&&(n+="}"),e[4]&&(n+="}"),n})).join("")},e.i=function(t,n,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),n&&(g[2]?(g[1]="@media ".concat(g[2]," {").concat(g[1],"}"),g[2]=n):g[2]=n),i&&(g[4]?(g[1]="@supports (".concat(g[4],") {").concat(g[1],"}"),g[4]=i):g[4]="".concat(i)),e.push(g))}},e}},545:t=>{"use strict";var e,n=(e=[],function(t,n){return e[t]=n,e.filter(Boolean).join("\n")});function r(t,e,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=n(e,o);else{var a=document.createTextNode(o),c=t.childNodes;c[e]&&t.removeChild(c[e]),c.length?t.insertBefore(a,c[e]):t.appendChild(a)}}var i={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=i.singletonCounter++,n=i.singleton||(i.singleton=t.insertStyleElement(t));return{update:function(t){r(n,e,!1,t)},remove:function(t){r(n,e,!0,t)}}}},584:(t,e,n)=>{t.exports=n(237)("./src/utils.js")},655:(t,e,n)=>{"use strict";n.d(e,{A:()=>f});var r=n(168),i=n.n(r),o=n(433),s=n.n(o),a=n(220),c=n.n(a),u=new URL(n(415),n.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,e){Object.keys(e).forEach((function(n){t.setAttribute(n,e[n])}))}},673:t=>{"use strict";var e=[];function n(t){for(var n=-1,r=0;r<e.length;r++)if(e[r].identifier===t){n=r;break}return n}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=n(I),d={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==f)e[f].references++,e[f].updater(d);else{var l=i(d,r);r.byIndex=a,e.splice(a,0,{identifier:I,updater:l,references:1})}s.push(I)}return s}function i(t,e){var n=e.domAPI(e);n.update(t);return function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap&&e.supports===t.supports&&e.layer===t.layer)return;n.update(t=e)}else n.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=n(o[s]);e[a].references--}for(var c=r(t,i),u=0;u<o.length;u++){var g=n(o[u]);0===e[g].references&&(e[g].updater(),e.splice(g,1))}o=c}}},782:(t,e,n)=>{t.exports=n(237)("./src/core.js")},783:(t,e,n)=>{t.exports=n(237)("./src/engine.js")}},e={};function n(r){var i=e[r];if(void 0!==i)return i.exports;var o=e[r]={id:r,exports:{}};return t[r](o,o.exports,n),o.exports}n.m=t,n.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return n.d(e,{a:e}),e},n.d=(t,e)=>{for(var r in e)n.o(e,r)&&!n.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),n.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.b=document.baseURI||self.location.href;var r={};(()=>{"use strict";n.r(r),n.d(r,{CopyFormatCommand:()=>f,FormatPainter:()=>W,FormatPainterEditing:()=>N,FormatPainterUI:()=>V,PasteFormatCommand:()=>A});var t=n(782);function e(t,n){const r=o();return(e=function(t,e){return r[t-=420]})(t,n)}const i=e;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 n=e,r=t();for(;;)try{if(301257===-parseInt(n(426))/1+parseInt(n(428))/2*(parseInt(n(429))/3)+-parseInt(n(421))/4+parseInt(n(430))/5+parseInt(n(422))/6*(parseInt(n(420))/7)+-parseInt(n(431))/8+parseInt(n(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,e){const n=I();return(g=function(t,e){return n[t-=199]})(t,e)}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 e=g,n=t();for(;;)try{if(697239===parseInt(e(205))/1+-parseInt(e(218))/2+parseInt(e(213))/3+-parseInt(e(224))/4+parseInt(e(203))/5+parseInt(e(214))/6+-parseInt(e(210))/7)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(I);class f extends t.Command{constructor(t){const e=g;super(t),this[e(215)]=void 0,this.on(e(206),((t,n,r)=>{r||this[e(208)]()})),this.on(e(204),(()=>t[e(216)][e(223)](a)[e(220)]()))}[u(211)](){const t=u;this[t(215)]=this[t(209)]()}[u(208)](){this[u(215)]=void 0}[u(209)](){const t=u,e=this[t(201)][t(212)],n=e[t(202)][t(219)];return Object[t(222)](Array[t(221)](n[t(217)]())[t(199)]((([n])=>e[t(207)][t(225)](n)[t(200)])))}}var d=n(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,e){const n=l();return(p=function(t,e){return n[t-=122]})(t,e)}!function(t){const e=p,n=t();for(;;)try{if(367337===-parseInt(e(151))/1*(-parseInt(e(128))/2)+parseInt(e(150))/3+parseInt(e(125))/4*(-parseInt(e(136))/5)+-parseInt(e(127))/6+-parseInt(e(122))/7*(-parseInt(e(148))/8)+-parseInt(e(129))/9+parseInt(e(152))/10*(parseInt(e(145))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(l);class A extends t.Command{constructor(t){const e=p;super(t),this[e(133)]=new m(t)}[M(147)](t={}){const e=M,n=this[e(162)][e(166)],r=n[e(160)][e(142)],i=Array[e(158)](r[e(132)]()),o=r[e(157)]?[this[e(165)](n,r)]:i;n[e(126)]((r=>{const s=e;r[s(130)](o),this[s(133)][s(147)]();for(const e in t)for(const i of n[s(155)][s(161)](o,e))r[s(153)](e,t[e],i);r[s(130)](i)}))}[M(165)](t,e){const n=M,r=t[n(140)](e);t[n(137)](r,{unit:n(143),direction:n(159)});const i=r[n(146)]();t[n(137)](r,{unit:n(143),direction:n(135)});const o=r[n(138)]();return t[n(123)](i,o)}}class m extends t.Command{[M(147)](){const t=M,e=this[t(162)][t(166)],n=e[t(155)];e[t(126)]((r=>{const i=t;for(const t of this[i(134)](e[i(160)][i(142)],n))if(t.is(i(142)))for(const e of this[i(164)](t,n))r[i(139)](e);else{const e=r[i(124)](t);for(const o of this[i(164)](t,n))r[i(156)](o,e)}}))}*[M(134)](t,e){const n=M,r=t=>!!(0,d.first)(this[n(164)](t,e));for(const i of t[n(132)]())for(const t of i[n(149)]())!e[n(163)](t)&&r(t)&&(yield t);for(const e of t[n(154)]())r(e)&&(yield e);r(t)&&(yield t)}*[M(164)](t,e){const n=M;for(const[r]of t[n(144)]()){const t=e[n(131)](r);t&&t[n(141)]&&(yield r)}}}const w=h;function h(t,e){const n=D();return(h=function(t,e){return n[t-=294]})(t,e)}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 e=h,n=t();for(;;)try{if(285648===parseInt(e(330))/1+-parseInt(e(297))/2+parseInt(e(302))/3*(-parseInt(e(311))/4)+parseInt(e(326))/5+-parseInt(e(327))/6*(-parseInt(e(309))/7)+parseInt(e(331))/8+-parseInt(e(314))/9)break;n.push(n.shift())}catch(t){n.push(n.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,e=this[t(329)];e[t(318)][t(307)](s,new f(e)),e[t(318)][t(307)](a,new A(e)),this[t(299)]=this[t(329)][t(308)][t(296)](t(299));const n=this[t(329)];this[t(328)]=setInterval((()=>{const e=t;let r;for(const t in n){const i=t,o=n[i];if(e(320)==o||e(306)==o||e(316)==o||e(315)==o||e(319)==o||e(310)==o||e(332)==o||e(324)==o){delete n[i],r=o,clearInterval(this[e(328)]),this[e(328)]=void 0;break}}e(306)==r&&n[e(298)](e(303)),e(316)==r&&n[e(298)](e(294)),e(315)==r&&n[e(298)](e(325)),e(319)==r&&n[e(298)](e(317),e(322)),e(310)==r&&n[e(298)](e(312)),e(332)==r&&n[e(298)](e(300)),e(324)==r&&n[e(298)](e(313))}),1e3)}[w(321)](){const t=w;super[t(321)](),this[t(328)]&&clearInterval(this[t(328)])}}var y=n(311),x=n(783),S=n(355),C=n(673),j=n.n(C),L=n(545),E=n.n(L),v=n(262),b=n.n(v),T=n(667),k=n.n(T),P=n(357),U=n.n(P),z=n(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,e){const n=t.t;switch(e){case"Paint formatting":return n("Paint formatting");case"Copy text formatting":return n("Copy text formatting");case"Paste text formatting":return n("Paste text formatting");case"Continuous painting":return n("Continuous painting");case"Keeps the painter on after setting the formatting.":return n("Keeps the painter on after setting the formatting.");case"Formatting copied.":return n("Formatting copied.");case"Pasted formatting.":return n("Pasted formatting.");default:return e}}const Q=Z;function Z(t,e){const n=_();return(Z=function(t,e){return n[t-=445]})(t,e)}function _(){const t=["menuitemcheckbox","value","focus","afterInit","_toggleSpecialCursor","fromCharCode","FormatPainterUI","mouseup","addObserver","set","reset","editor","bind","85mCpevE","196766kcFmgZ","destroy","916234cbmKQD","window","componentFactory","execute","Esc","map","9PtMeZC","isPremiumPlugin","stopListening","_finishPainting","_copyFormatting","get","_pasteFormatting","join","accessibility","change:value","ariaLiveAnnouncer","buttonView","locale","document","isEnabled","Ctrl+Alt+V","view","Paint formatting","44216rNLclo","commands","high","switchbutton","Keeps the painter on after setting the formatting.","roots","change:isEnabled","1540768tUrhCJ","Pasted formatting.","1436uicWZp","Copy text formatting","138jyZofe","9170Xcrkpo","1400100xRqzVO","Ctrl+Alt+C","Continuous painting","Formatting copied.","537XkvVwv","add","listenTo","Paste text formatting","keystrokes","class","change","isOfficialPlugin","addKeystrokeInfos","addClass","formatPainter","href","ck-format-painter-dropdown","menu","init","isOn","editing","removeClass","pluginName","announce"];return(_=function(){return t})()}!function(t){const e=Z,n=t();for(;;)try{if(243120===parseInt(e(489))/1+-parseInt(e(447))/2*(-parseInt(e(455))/3)+-parseInt(e(515))/4*(parseInt(e(488))/5)+-parseInt(e(449))/6*(parseInt(e(450))/7)+parseInt(e(445))/8*(parseInt(e(497))/9)+-parseInt(e(451))/10+parseInt(e(491))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(_);class V extends((0,d.DomEmitterMixin)(t.Plugin)){static get[Q(473)](){return Q(481)}static get[Q(462)](){return!0}static get[Q(498)](){return!0}[Q(469)](){const t=Q,e=this[t(486)];e[t(471)][t(513)][t(483)](x.ClickObserver),e[t(505)][t(463)]({keystrokes:[{label:F(e[t(509)],t(448)),keystroke:t(452)},{label:F(e[t(509)],t(458)),keystroke:t(512)}]}),e.ui[t(493)][t(456)](t(465),(n=>{const r=t,i=(0,y.createDropdown)(n,y.SplitButtonView),o=e[r(516)][r(502)](s);i[r(508)][r(484)]({label:F(e[r(509)],r(514)),icon:S.IconPaintRoller,keystroke:r(452),tooltip:!0}),i[r(460)]=r(467),o&&(i[r(487)](r(511)).to(o,r(511)),this[r(457)](o,r(521),((t,e,n)=>{n||this[r(500)]()})),i[r(508)][r(487)](r(470)).to(o,r(476),(t=>!!t)),this[r(457)](e,r(490),(()=>this[r(479)](!1))),this[r(457)](o,r(506),((t,e,n)=>{this[r(479)](!!n)})));const a=new y.ViewModel({withText:!0,label:F(e[r(509)],r(453)),tooltip:F(e[r(509)],r(519)),isOn:!1,role:r(475)});(0,y.addListToDropdown)(i,new d.Collection([{type:r(518),model:a}]),{role:r(468)});const c=()=>{const t=r;this[t(501)](),this[t(457)](d.global[t(492)][t(510)],t(482),(()=>{const e=t;this[e(503)](),a[e(470)]||this[e(500)]()}))};return this[r(457)](i,r(494),(()=>{const t=r;a[t(470)]=!a[t(470)]})),this[r(457)](i[r(508)],r(494),(()=>{const t=r;e[t(471)][t(513)][t(477)](),i[t(508)][t(470)]?this[t(500)]():c()})),e[r(459)][r(484)](r(452),((t,e)=>{const n=r;c(),a[n(470)]=!0,e()}),{priority:r(517)}),e[r(459)][r(484)](r(512),((t,e)=>{const n=r;i[n(508)][n(470)]&&(this[n(503)](),a[n(470)]||this[n(500)](),e())}),{priority:r(517)}),e[r(459)][r(484)](r(495),((t,e)=>{const n=r;i[n(508)][n(470)]&&(a[n(470)]=!1,this[n(500)](),e())})),i}))}[Q(478)](){!async function(t){const e=M([84,70,49,73,68,65,106,51,86,102,101,114,97,119,87,99,81,112,108,117,100,67,88,110,113,54,83,77,82,75,55,78,72,57,69,71,120,103,109,66,74,56,122,52,53,90,85,111,104,116,48,89,107,50,80,121,98,79,76,118,105,115]),n=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 e=[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 e=0;r[M([109,111,100,101,108])][M([111,110])](M([97,112,112,108,121,79,112,101,114,97,116,105,111,110]),((n,r)=>{r[0][M([105,115,68,111,99,117,109,101,110,116,79,112,101,114,97,116,105,111,110])]&&e++,504==e&&(t(),n[M([111,102,102])]())}))}))))];return window[M([80,114,111,109,105,115,101])][M([114,97,99,101])](e)[M([116,104,101,110])]((()=>t))}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 e=5381;function n(t){for(let n=0;n<t[M([108,101,110,103,116,104])];n++){const r=t[M([99,104,97,114,67,111,100,101,65,116])](n);e=(e<<5)+e+r,e&=e}}return function t(e){Array[M([105,115,65,114,114,97,121])](e)?e[M([102,111,114,69,97,99,104])](t):e&&typeof e==M([111,98,106,101,99,116])?Object[M([101,110,116,114,105,101,115])](e)[M([115,111,114,116])]()[M([102,111,114,69,97,99,104])]((([e,r])=>{n(e),t(r)})):n(window[M([83,116,114,105,110,103])](e))}(t),e>>>0}function 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 e=Z;return t[e(496)]((t=>String[e(480)](t)))[e(504)]("")}!function(t){const n=function(){const t=window[M([83,116,114,105,110,103])](window[M([112,101,114,102,111,114,109,97,110,99,101])][M([110,111,119])]())[M([114,101,112,108,97,99,101])](M([46]),"");let n=M([84]);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>=e[M([108,101,110,103,116,104])]&&(i-=e[M([108,101,110,103,116,104])]),n+=e[i]}return n}();r[n]=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,e=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:e(t[1]);function e(t){const e=c(t);return e&&n()?e:null;function n(){const t=e[M([106,116,105])],n=window[M([112,97,114,115,101,73,110,116])](t[M([115,117,98,115,116,114,105,110,103])](t[M([108,101,110,103,116,104])]-8),16),r={...e,[M([106,116,105])]:t[M([115,117,98,115,116,114,105,110,103])](0,t[M([108,101,110,103,116,104])]-8)};return delete r[M([118,99])],g(r)==n}}}(),t?(t[M([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(l=function(t,e){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+e))!=t[M([118,101,114,105,102,105,99,97,116,105,111,110])]?M([85,115,97,103,101,76,105,109,105,116]):M([86,97,108,105,100]):M([85,115,97,103,101,76,105,109,105,116])))[M([116,104,101,110])]((t=>(o(),t)),(()=>{const t=s();return null==t?(o(),M([86,97,108,105,100])):M(n-t>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])}))[M([116,104,101,110])](a)[M([99,97,116,99,104])]((()=>{a(M([85,115,97,103,101,76,105,109,105,116]))}));const i=36e5;function o(){const e=M([108,108,99,116,45])+I(g(t)),r=f(I(window[M([77,97,116,104])][M([99,101,105,108])](n/i)));window[M([108,111,99,97,108,83,116,111,114,97,103,101])][M([115,101,116,73,116,101,109])](e,r)}function s(){const e=M([108,108,99,116,45])+I(g(t)),n=window[M([108,111,99,97,108,83,116,111,114,97,103,101])][M([103,101,116,73,116,101,109])](e);return n?window[M([112,97,114,115,101,73,110,116])](f(n),16)*i:null}function c(t){return new(window[M([80,114,111,109,105,115,101])])(((e,n)=>{t[M([116,104,101,110])](e,n),window[M([115,101,116,84,105,109,101,111,117,116])](n,12e4)}))}}r[M([111,110])](M([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),((e,n)=>{if(n[0]!=t)return a(M([85,115,97,103,101,76,105,109,105,116]));n[1]={...n[1],[M([114,101,113,117,101,115,116,73,100])]: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 e(i),await n(i,o,a),t}catch(t){return!1}function e(e){const n=c(e);n&&n[M([97,108,103])]==M([69,83,50,53,54])||(t=!1)}async function n(e,n,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])](e+M([46])+n),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 e=t[M([102,101,97,116,117,114,101,115])];return!(!e||!e[M([105,110,99,108,117,100,101,115])](M([42]))&&!e[M([105,110,99,108,117,100,101,115])](M([70,80]))&&!e[M([105,110,99,108,117,100,101,115])](M([80,80])))}()?function(){const e=[M([101,118,97,108,117,97,116,105,111,110]),M([116,114,105,97,108])][M([105,110,99,108,117,100,101,115])](t[M([108,105,99,101,110,115,101,84,121,112,101])])?n/1e3:1746748800;return t[M([101,120,112])]<e}()?M([69,120,112,105,114,101,100]):function(){const e=Z,n=t[M([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!n||0==n[M([108,101,110,103,116,104])])return!0;const{hostname:r}=new URL(window[M([108,111,99,97,116,105,111,110])][e(466)]);if(n[M([105,110,99,108,117,100,101,115])](r))return!0;const i=r[M([115,112,108,105,116])](M([46]));return n[M([102,105,108,116,101,114])]((t=>t[M([105,110,99,108,117,100,101,115])](M([42]))))[M([109,97,112])]((t=>t[M([115,112,108,105,116])](M([46]))))[M([115,111,109,101])]((t=>i[M([101,118,101,114,121])](((e,n)=>t[n]===e||t[n]===M([42])))))}()?(t[M([108,105,99,101,110,115,101,84,121,112,101])]==M([101,118,97,108,117,97,116,105,111,110])&&(e=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])&&(e=a(M([84,114,105,97,108,76,105,109,105,116]))),await(e&&l?new(window[M([80,114,111,109,105,115,101])])(((t,n)=>{e[M([116,104,101,110])](t,n),l[M([116,104,101,110])]((e=>{e!=M([86,97,108,105,100])&&t(e)}),n)})):e||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(479)](t){const e=Q;this[e(486)][e(471)][e(513)][e(461)]((n=>{const r=e;for(const e of this[r(486)][r(471)][r(513)][r(510)][r(520)])t?n[r(464)](c,e):n[r(472)](c,e)}))}[Q(501)](){const t=Q,{editor:e}=this;e[t(494)](s),e.ui[t(507)][t(474)](F(e[t(509)],t(454)))}[Q(503)](){const t=Q,{editor:e}=this,n=e[t(516)][t(502)](s)[t(476)];e[t(494)](a,n),e.ui[t(507)][t(474)](F(e[t(509)],t(446)))}[Q(500)](){const t=Q;this[t(486)][t(516)][t(502)](s)[t(485)](),this[t(499)](d.global[t(492)][t(510)],t(482))}}function K(){var t=["isPremiumPlugin","requires","599302LLLRJI","pluginName","27935590KpWyUe","1sEKPWl","7433440IxcTVd","1914192yQHzin","126AjOovn","13451778EFokVT","FormatPainter","164402ysicGH","136461GrvBMz","isOfficialPlugin","4JccnSY"];return(K=function(){return t})()}var G=O;function O(t,e){var n=K();return(O=function(t,e){return n[t-=421]})(t,e)}!function(t){for(var e=O,n=t();;)try{if(798873===-parseInt(e(429))/1*(-parseInt(e(426))/2)+parseInt(e(421))/3*(-parseInt(e(423))/4)+-parseInt(e(430))/5+parseInt(e(432))/6*(parseInt(e(435))/7)+parseInt(e(431))/8+-parseInt(e(433))/9+parseInt(e(428))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(K);class W extends t.Plugin{static get[G(425)](){return[N,V]}static get[G(427)](){return G(434)}static get[G(422)](){return!0}static get[G(424)](){return!0}}function R(t,e){var n=B();return(R=function(t,e){return n[t-=373]})(t,e)}function B(){var t=["759hsQWeJ","173630Tzvktr","33720hhGCej","11883ajoBVq","1072585PKhjqx","2429190TKNawO","4eQhacD","394HKbKOL","908929tSgwrH","190144sQNFYb","1134dQJcdT"];return(B=function(){return t})()}!function(t){for(var e=R,n=t();;)try{if(396979===parseInt(e(383))/1+-parseInt(e(381))/2*(parseInt(e(377))/3)+-parseInt(e(380))/4*(parseInt(e(378))/5)+parseInt(e(379))/6+parseInt(e(382))/7+-parseInt(e(376))/8*(parseInt(e(373))/9)+parseInt(e(375))/10*(parseInt(e(374))/11))break;n.push(n.shift())}catch(t){n.push(n.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),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})();
|
package/dist/index.js
CHANGED
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Command as
|
|
24
|
-
_0xd4cb04(_0x20c373){static get['pluginName'](){return'FormatPainterUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x2665ca=this['editor'];_0x2665ca['editing']['view']['addObserver'](_0x2df059),_0x2665ca['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':b(_0x2665ca['locale'],'Copy\x20text\x20formatting'),'keystroke':'Ctrl+Alt+C'},{'label':b(_0x2665ca['locale'],'Paste\x20text\x20formatting'),'keystroke':'Ctrl+Alt+V'}]}),_0x2665ca['ui']['componentFactory']['add']('formatPainter',_0x493595=>{const _0x552f8b=_0x5a81f8(_0x493595,_0x2479e5),_0x150ace=_0x2665ca['commands']['get'](c);_0x552f8b['buttonView']['set']({'label':b(_0x2665ca['locale'],'Paint\x20formatting'),'icon':_0x1a7bf2,'keystroke':'Ctrl+Alt+C','tooltip':!0x0}),_0x552f8b['class']='ck-format-painter-dropdown',_0x150ace&&(_0x552f8b['bind']('isEnabled')['to'](_0x150ace,'isEnabled'),this['listenTo'](_0x150ace,'change:isEnabled',(_0x5c4847,_0x5d29bb,_0x5a9f96)=>{_0x5a9f96||this['_finishPainting']();}),_0x552f8b['buttonView']['bind']('isOn')['to'](_0x150ace,'value',_0x40432a=>!!_0x40432a),this['listenTo'](_0x2665ca,'destroy',()=>this['_toggleSpecialCursor'](!0x1)),this['listenTo'](_0x150ace,'change:value',(_0x3b1a2a,_0x2db103,_0x31f09a)=>{this['_toggleSpecialCursor'](!!_0x31f09a);}));const _0x401117=new _0x42ffc8({'withText':!0x0,'label':b(_0x2665ca['locale'],'Continuous\x20painting'),'tooltip':b(_0x2665ca['locale'],'Keeps\x20the\x20painter\x20on\x20after\x20setting\x20the\x20formatting.'),'isOn':!0x1,'role':'menuitemcheckbox'});_0x18bbb4(_0x552f8b,new _0x57036a([{'type':'switchbutton','model':_0x401117}]),{'role':'menu'});const _0x4a38e0=()=>{this['_copyFormatting'](),this['listenTo'](_0x10d0e4['window']['document'],'mouseup',()=>{this['_pasteFormatting'](),_0x401117['isOn']||this['_finishPainting']();});};return this['listenTo'](_0x552f8b,'execute',()=>{_0x401117['isOn']=!_0x401117['isOn'];}),this['listenTo'](_0x552f8b['buttonView'],'execute',()=>{_0x2665ca['editing']['view']['focus'](),_0x552f8b['buttonView']['isOn']?this['_finishPainting']():_0x4a38e0();}),_0x2665ca['keystrokes']['set']('Ctrl+Alt+C',(_0x5fd8e2,_0x463a0c)=>{_0x4a38e0(),_0x401117['isOn']=!0x0,_0x463a0c();},{'priority':'high'}),_0x2665ca['keystrokes']['set']('Ctrl+Alt+V',(_0x379a98,_0x4ffafa)=>{_0x552f8b['buttonView']['isOn']&&(this['_pasteFormatting'](),_0x401117['isOn']||this['_finishPainting'](),_0x4ffafa());},{'priority':'high'}),_0x2665ca['keystrokes']['set']('Esc',(_0x5894cc,_0xa85e4a)=>{_0x552f8b['buttonView']['isOn']&&(_0x401117['isOn']=!0x1,this['_finishPainting'](),_0xa85e4a());}),_0x552f8b;});}['afterInit'](){!async function(_0x6b8d6a){const _0x449d13=_0x1b0b8a([0x54,0x46,0x31,0x49,0x44,0x41,0x6a,0x33,0x56,0x66,0x65,0x72,0x61,0x77,0x57,0x63,0x51,0x70,0x6c,0x75,0x64,0x43,0x58,0x6e,0x71,0x36,0x53,0x4d,0x52,0x4b,0x37,0x4e,0x48,0x39,0x45,0x47,0x78,0x67,0x6d,0x42,0x4a,0x38,0x7a,0x34,0x35,0x5a,0x55,0x6f,0x68,0x74,0x30,0x59,0x6b,0x32,0x50,0x79,0x62,0x4f,0x4c,0x76,0x69,0x73]),_0x1e0c51=0x331eab84,_0x2497af=0x3319ccdc^_0x1e0c51,_0x16a644=window[_0x1b0b8a([0x44,0x61,0x74,0x65])][_0x1b0b8a([0x6e,0x6f,0x77])](),_0x4ce1f3=_0x6b8d6a[_0x1b0b8a([0x65,0x64,0x69,0x74,0x6f,0x72])],_0xe71faa=new window[(_0x1b0b8a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x50533f=>{_0x4ce1f3[_0x1b0b8a([0x6f,0x6e,0x63,0x65])](_0x1b0b8a([0x72,0x65,0x61,0x64,0x79]),_0x50533f);}),_0x22eead={[_0x1b0b8a([0x6b,0x74,0x79])]:_0x1b0b8a([0x45,0x43]),[_0x1b0b8a([0x75,0x73,0x65])]:_0x1b0b8a([0x73,0x69,0x67]),[_0x1b0b8a([0x63,0x72,0x76])]:_0x1b0b8a([0x50,0x2d,0x32,0x35,0x36]),[_0x1b0b8a([0x78])]:_0x1b0b8a([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]),[_0x1b0b8a([0x79])]:_0x1b0b8a([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]),[_0x1b0b8a([0x61,0x6c,0x67])]:_0x1b0b8a([0x45,0x53,0x32,0x35,0x36])},_0x5a0509=_0x4ce1f3[_0x1b0b8a([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1b0b8a([0x67,0x65,0x74])](_0x1b0b8a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x394624(){let _0x4ce06c,_0x27a77a=null,_0x2e416b=null;try{if(_0x5a0509==_0x1b0b8a([0x47,0x50,0x4c]))return _0x1b0b8a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4ce06c=_0xfe2b09(),!_0x4ce06c)return _0x1b0b8a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4ce06c[_0x1b0b8a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2e416b=_0x293da8(_0x4ce06c[_0x1b0b8a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4ce06c[_0x1b0b8a([0x6a,0x74,0x69])])),await _0x32de82()?_0x12c79f()?_0x149443()?_0x1b0b8a([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3dab95()?(_0x4ce06c[_0x1b0b8a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1b0b8a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x27a77a=_0x47d3f2(_0x1b0b8a([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x4ce06c[_0x1b0b8a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1b0b8a([0x74,0x72,0x69,0x61,0x6c])&&(_0x27a77a=_0x47d3f2(_0x1b0b8a([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x539a69()):_0x1b0b8a([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1b0b8a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1b0b8a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x462b27){return _0x1b0b8a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x149443(){const _0x36e065=[_0x1b0b8a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1b0b8a([0x74,0x72,0x69,0x61,0x6c])][_0x1b0b8a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4ce06c[_0x1b0b8a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x16a644/0x3e8:0xe10*_0x2497af;return _0x4ce06c[_0x1b0b8a([0x65,0x78,0x70])]<_0x36e065;}function _0x12c79f(){const _0x58f1d0=_0x4ce06c[_0x1b0b8a([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x58f1d0&&(!!_0x58f1d0[_0x1b0b8a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1b0b8a([0x2a]))||(!!_0x58f1d0[_0x1b0b8a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1b0b8a([0x46,0x50]))||!!_0x58f1d0[_0x1b0b8a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1b0b8a([0x50,0x50]))));}function _0x3dab95(){const _0x135d46=_0x4ce06c[_0x1b0b8a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x135d46||0x0==_0x135d46[_0x1b0b8a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1de3ee}=new URL(window[_0x1b0b8a([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x135d46[_0x1b0b8a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1de3ee))return!0x0;const _0x2bdcb3=_0x1de3ee[_0x1b0b8a([0x73,0x70,0x6c,0x69,0x74])](_0x1b0b8a([0x2e]));return _0x135d46[_0x1b0b8a([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3a0d7a=>_0x3a0d7a[_0x1b0b8a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1b0b8a([0x2a])))[_0x1b0b8a([0x6d,0x61,0x70])](_0x2819f4=>_0x2819f4[_0x1b0b8a([0x73,0x70,0x6c,0x69,0x74])](_0x1b0b8a([0x2e])))[_0x1b0b8a([0x73,0x6f,0x6d,0x65])](_0x77a0ae=>_0x2bdcb3[_0x1b0b8a([0x65,0x76,0x65,0x72,0x79])]((_0x34aaaa,_0x26955a)=>_0x77a0ae[_0x26955a]===_0x34aaaa||_0x77a0ae[_0x26955a]===_0x1b0b8a([0x2a])));}function _0x539a69(){return _0x27a77a&&_0x2e416b?new window[(_0x1b0b8a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x47c565,_0x5e1470)=>{_0x27a77a[_0x1b0b8a([0x74,0x68,0x65,0x6e])](_0x47c565,_0x5e1470),_0x2e416b[_0x1b0b8a([0x74,0x68,0x65,0x6e])](_0x1a9328=>{_0x1a9328!=_0x1b0b8a([0x56,0x61,0x6c,0x69,0x64])&&_0x47c565(_0x1a9328);},_0x5e1470);}):_0x27a77a||_0x2e416b||_0x1b0b8a([0x56,0x61,0x6c,0x69,0x64]);}}function _0x293da8(_0x515112,_0x1a42ae){return new window[(_0x1b0b8a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5eb0f2=>{if(_0x96cf57())return _0x5eb0f2(_0x1b0b8a([0x56,0x61,0x6c,0x69,0x64]));_0x4166ab(),_0x4ce1f3[_0x1b0b8a([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1b0b8a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x40e171=!0x1;const _0x509d6d=_0x50ab0a();function _0x44172d(_0x4c0475){return!!_0x4c0475&&(typeof _0x4c0475===_0x1b0b8a([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4c0475===_0x1b0b8a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4c0475[_0x1b0b8a([0x74,0x68,0x65,0x6e])]===_0x1b0b8a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4c0475[_0x1b0b8a([0x63,0x61,0x74,0x63,0x68])]===_0x1b0b8a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x15b6a2(_0x38e99c){_0x5b4620(_0x38e99c)[_0x1b0b8a([0x74,0x68,0x65,0x6e])](_0x4bf884=>{if(!_0x4bf884||_0x4bf884[_0x1b0b8a([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1b0b8a([0x6f,0x6b]))return _0x1b0b8a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x534076(_0x307aeb(_0x509d6d+_0x1a42ae))!=_0x4bf884[_0x1b0b8a([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1b0b8a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1b0b8a([0x56,0x61,0x6c,0x69,0x64]);})[_0x1b0b8a([0x74,0x68,0x65,0x6e])](_0x1b0a3f=>(_0x4bcf2d(),_0x1b0a3f),()=>{const _0x521ec9=_0x13b5fb();return null==_0x521ec9?(_0x4bcf2d(),_0x1b0b8a([0x56,0x61,0x6c,0x69,0x64])):_0x1b0b8a(_0x16a644-_0x521ec9>(0x17122f84^_0x1e0c51)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1b0b8a([0x74,0x68,0x65,0x6e])](_0x5eb0f2)[_0x1b0b8a([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5eb0f2(_0x1b0b8a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1a246a=0x33284504^_0x1e0c51;function _0x4bcf2d(){const _0x3437b0=_0x1b0b8a([0x6c,0x6c,0x63,0x74,0x2d])+_0x534076(_0x307aeb(_0x515112)),_0x41bf3c=_0x4dc931(_0x534076(window[_0x1b0b8a([0x4d,0x61,0x74,0x68])][_0x1b0b8a([0x63,0x65,0x69,0x6c])](_0x16a644/_0x1a246a)));window[_0x1b0b8a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1b0b8a([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3437b0,_0x41bf3c);}function _0x13b5fb(){const _0xbcb4af=_0x1b0b8a([0x6c,0x6c,0x63,0x74,0x2d])+_0x534076(_0x307aeb(_0x515112)),_0x52bb32=window[_0x1b0b8a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1b0b8a([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xbcb4af);return _0x52bb32?window[_0x1b0b8a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4dc931(_0x52bb32),0x10)*_0x1a246a:null;}function _0x5b4620(_0x1ace47){return new window[(_0x1b0b8a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x29dc40,_0x12e9b4)=>{_0x1ace47[_0x1b0b8a([0x74,0x68,0x65,0x6e])](_0x29dc40,_0x12e9b4),window[_0x1b0b8a([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x12e9b4,0x331f7f44^_0x1e0c51);});}}_0x4ce1f3[_0x1b0b8a([0x6f,0x6e])](_0x1b0b8a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x273072,_0x1b50fa)=>{if(_0x1b50fa[0x0]!=_0x515112)return _0x5eb0f2(_0x1b0b8a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1b50fa[0x1]={..._0x1b50fa[0x1],[_0x1b0b8a([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x509d6d};},{[_0x1b0b8a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1b0b8a([0x68,0x69,0x67,0x68])}),_0x4ce1f3[_0x1b0b8a([0x6f,0x6e])](_0x1b0b8a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4fe80e=>{_0x44172d(_0x4fe80e[_0x1b0b8a([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x40e171=!0x0,_0x15b6a2(_0x4fe80e[_0x1b0b8a([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1b0b8a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1b0b8a([0x6c,0x6f,0x77])}),_0xe71faa[_0x1b0b8a([0x74,0x68,0x65,0x6e])](()=>{_0x40e171||_0x5eb0f2(_0x1b0b8a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x96cf57(){return _0x4ce1f3[_0x1b0b8a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1b0b8a([0x76,0x69,0x65,0x77])][_0x1b0b8a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1b0b8a([0x61,0x75,0x74,0x6f]);}function _0x4166ab(){_0x4ce1f3[_0x1b0b8a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1b0b8a([0x76,0x69,0x65,0x77])][_0x1b0b8a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1b0b8a([0x61,0x75,0x74,0x6f]);}}function _0x47d3f2(_0x5dde2b){const _0x40c28d=[new window[(_0x1b0b8a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x320834=>setTimeout(_0x320834,0x33179548^_0x1e0c51)),_0xe71faa[_0x1b0b8a([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1b0b8a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4fd7c6=>{let _0x4db389=0x0;_0x4ce1f3[_0x1b0b8a([0x6d,0x6f,0x64,0x65,0x6c])][_0x1b0b8a([0x6f,0x6e])](_0x1b0b8a([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1e8f8e,_0x51f426)=>{_0x51f426[0x0][_0x1b0b8a([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4db389++,_0x4db389==(0x331eaa7c^_0x1e0c51)&&(_0x4fd7c6(),_0x1e8f8e[_0x1b0b8a([0x6f,0x66,0x66])]());});}))];return window[_0x1b0b8a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1b0b8a([0x72,0x61,0x63,0x65])](_0x40c28d)[_0x1b0b8a([0x74,0x68,0x65,0x6e])](()=>_0x5dde2b);}async function _0x9589af(){await _0xe71faa,_0x4ce1f3[_0x1b0b8a([0x6d,0x6f,0x64,0x65,0x6c])][_0x1b0b8a([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x8616bc,_0x4ce1f3[_0x1b0b8a([0x6d,0x6f,0x64,0x65,0x6c])][_0x1b0b8a([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x8616bc,_0x4ce1f3[_0x1b0b8a([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1b0b8a([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x51d5d5(_0x230087){const _0x2048be=_0x305ad7();_0x4ce1f3[_0x2048be]=_0x1b0b8a([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x230087,_0x230087!=_0x1b0b8a([0x56,0x61,0x6c,0x69,0x64])&&_0x9589af();}function _0x305ad7(){const _0x557420=window[_0x1b0b8a([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1b0b8a([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1b0b8a([0x6e,0x6f,0x77])]())[_0x1b0b8a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1b0b8a([0x2e]),'');let _0x529e34=_0x1b0b8a([0x54]);for(let _0x5ea78c=0x0;_0x5ea78c<_0x557420[_0x1b0b8a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5ea78c+=0x2){let _0x3245da=window[_0x1b0b8a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x557420[_0x1b0b8a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5ea78c,_0x5ea78c+0x2));_0x3245da>=_0x449d13[_0x1b0b8a([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3245da-=_0x449d13[_0x1b0b8a([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x529e34+=_0x449d13[_0x3245da];}return _0x529e34;}function _0xfe2b09(){const _0x26c8e1=_0x5a0509[_0x1b0b8a([0x73,0x70,0x6c,0x69,0x74])](_0x1b0b8a([0x2e]));if(0x3!=_0x26c8e1[_0x1b0b8a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x541091(_0x26c8e1[0x1]);function _0x541091(_0x12b479){const _0x2e23e1=_0x484a08(_0x12b479);return _0x2e23e1&&_0x216e7d()?_0x2e23e1:null;function _0x216e7d(){const _0x42a610=_0x2e23e1[_0x1b0b8a([0x6a,0x74,0x69])],_0x3ff5a1=window[_0x1b0b8a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x42a610[_0x1b0b8a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x42a610[_0x1b0b8a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x597ed2={..._0x2e23e1,[_0x1b0b8a([0x6a,0x74,0x69])]:_0x42a610[_0x1b0b8a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x42a610[_0x1b0b8a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x597ed2[_0x1b0b8a([0x76,0x63])],_0x307aeb(_0x597ed2)==_0x3ff5a1;}}}async function _0x32de82(){let _0x525da2=!0x0;try{const _0x39ed9d=_0x5a0509[_0x1b0b8a([0x73,0x70,0x6c,0x69,0x74])](_0x1b0b8a([0x2e])),[_0x31f2e4,_0x514461,_0x131eef]=_0x39ed9d;return _0x59e42b(_0x31f2e4),await _0x4d6648(_0x31f2e4,_0x514461,_0x131eef),_0x525da2;}catch(_0x226c0a){return!0x1;}function _0x59e42b(_0x10f92f){const _0xc70b7e=_0x484a08(_0x10f92f);_0xc70b7e&&_0xc70b7e[_0x1b0b8a([0x61,0x6c,0x67])]==_0x1b0b8a([0x45,0x53,0x32,0x35,0x36])||(_0x525da2=!0x1);}async function _0x4d6648(_0x369161,_0x417ac6,_0x3bbdef){const _0x4c8e12=window[_0x1b0b8a([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1b0b8a([0x66,0x72,0x6f,0x6d])](_0x44582f(_0x3bbdef),_0x33ebb3=>_0x33ebb3[_0x1b0b8a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x19ce06=new window[(_0x1b0b8a([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1b0b8a([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x369161+_0x1b0b8a([0x2e])+_0x417ac6),_0xbf3b4c=window[_0x1b0b8a([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1b0b8a([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0xbf3b4c)return;const _0x268b84=await _0xbf3b4c[_0x1b0b8a([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1b0b8a([0x6a,0x77,0x6b]),_0x22eead,{[_0x1b0b8a([0x6e,0x61,0x6d,0x65])]:_0x1b0b8a([0x45,0x43,0x44,0x53,0x41]),[_0x1b0b8a([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1b0b8a([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1b0b8a([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0xbf3b4c[_0x1b0b8a([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1b0b8a([0x6e,0x61,0x6d,0x65])]:_0x1b0b8a([0x45,0x43,0x44,0x53,0x41]),[_0x1b0b8a([0x68,0x61,0x73,0x68])]:{[_0x1b0b8a([0x6e,0x61,0x6d,0x65])]:_0x1b0b8a([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x268b84,_0x4c8e12,_0x19ce06)||(_0x525da2=!0x1);}}function _0x484a08(_0x4211e4){return _0x4211e4[_0x1b0b8a([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1b0b8a([0x65,0x79]))?JSON[_0x1b0b8a([0x70,0x61,0x72,0x73,0x65])](_0x44582f(_0x4211e4)):null;}function _0x44582f(_0x145f49){return window[_0x1b0b8a([0x61,0x74,0x6f,0x62])](_0x145f49[_0x1b0b8a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1b0b8a([0x2b]))[_0x1b0b8a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1b0b8a([0x2f])));}function _0x307aeb(_0x4e837f){let _0x310b3b=0x1505;function _0x119939(_0x28cdb1){for(let _0xfe16cb=0x0;_0xfe16cb<_0x28cdb1[_0x1b0b8a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xfe16cb++){const _0x27d375=_0x28cdb1[_0x1b0b8a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0xfe16cb);_0x310b3b=(_0x310b3b<<0x5)+_0x310b3b+_0x27d375,_0x310b3b&=_0x310b3b;}}function _0x1ac6a1(_0x4c8bc8){Array[_0x1b0b8a([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4c8bc8)?_0x4c8bc8[_0x1b0b8a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1ac6a1):_0x4c8bc8&&typeof _0x4c8bc8==_0x1b0b8a([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1b0b8a([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4c8bc8)[_0x1b0b8a([0x73,0x6f,0x72,0x74])]()[_0x1b0b8a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x56e179,_0x2fc0f4])=>{_0x119939(_0x56e179),_0x1ac6a1(_0x2fc0f4);}):_0x119939(window[_0x1b0b8a([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4c8bc8));}return _0x1ac6a1(_0x4e837f),_0x310b3b>>>0x0;}function _0x534076(_0x2d0840){return _0x2d0840[_0x1b0b8a([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1b0b8a([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1b0b8a([0x30]));}function _0x4dc931(_0x3ab048){return _0x3ab048[_0x1b0b8a([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1b0b8a([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1b0b8a([0x6a,0x6f,0x69,0x6e])]('');}function _0x8616bc(){}function _0x1b0b8a(_0x2d47a0){return _0x2d47a0['map'](_0x29ad91=>String['fromCharCode'](_0x29ad91))['join']('');}_0x51d5d5(await _0x394624());}(this);}['_toggleSpecialCursor'](_0x360ecb){this['editor']['editing']['view']['change'](_0x2da269=>{for(const _0x56c5bf of this['editor']['editing']['view']['document']['roots'])_0x360ecb?_0x2da269['addClass'](C,_0x56c5bf):_0x2da269['removeClass'](C,_0x56c5bf);});}['_copyFormatting'](){const {editor:_0x345daf}=this;_0x345daf['execute'](c),_0x345daf['ui']['ariaLiveAnnouncer']['announce'](b(_0x345daf['locale'],'Formatting\x20copied.'));}['_pasteFormatting'](){const {editor:_0x48817c}=this,_0x29fc2e=_0x48817c['commands']['get'](c)['value'];_0x48817c['execute'](e,_0x29fc2e),_0x48817c['ui']['ariaLiveAnnouncer']['announce'](b(_0x48817c['locale'],'Pasted\x20formatting.'));}['_finishPainting'](){this['editor']['commands']['get'](c)['reset'](),this['stopListening'](_0x10d0e4['window']['document'],'mouseup');}}class n extends _0x20c373{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 _0x4c5019,Plugin as _0x3002d7}from'@ckeditor/ckeditor5-core/dist/index.js';import{first as _0x484df5,DomEmitterMixin as _0x12f180,Collection as _0x1bf6ae,global as _0x150493,uid as _0x529c95}from'@ckeditor/ckeditor5-utils/dist/index.js';import{createDropdown as _0x350451,SplitButtonView as _0x67bf90,ViewModel as _0x50cafd,addListToDropdown as _0x8b5d37}from'@ckeditor/ckeditor5-ui/dist/index.js';import{ClickObserver as _0x1c1b58}from'@ckeditor/ckeditor5-engine/dist/index.js';import{IconPaintRoller as _0x10d8f8}from'@ckeditor/ckeditor5-icons/dist/index.js';const c='copyFormat',e='pasteFormat',C='ck-format-painter-active';class r extends _0x4c5019{constructor(_0x50535b){super(_0x50535b),this['value']=void 0x0,this['on']('change:isEnabled',(_0x20e839,_0x139fe8,_0x1ed1d0)=>{_0x1ed1d0||this['reset']();}),this['on']('change:value',()=>_0x50535b['commands']['get'](e)['refresh']());}['execute'](){this['value']=this['_getFormattingAttributes']();}['reset'](){this['value']=void 0x0;}['_getFormattingAttributes'](){const _0x531489=this['editor']['model'],_0x5295d0=_0x531489['document']['selection'];return Object['fromEntries'](Array['from'](_0x5295d0['getAttributes']())['filter'](([_0x261698])=>_0x531489['schema']['getAttributeProperties'](_0x261698)['isFormatting']));}}class o extends _0x4c5019{constructor(_0x3cede6){super(_0x3cede6),this['_removeFormatCommand']=new _(_0x3cede6);}['execute'](_0x4f5800={}){const _0xd9cd6b=this['editor']['model'],_0x4d3f29=_0xd9cd6b['document']['selection'],_0x288d55=Array['from'](_0x4d3f29['getRanges']()),_0x232355=_0x4d3f29['isCollapsed']?[this['_createRangeOnEntireWord'](_0xd9cd6b,_0x4d3f29)]:_0x288d55;_0xd9cd6b['change'](_0x49f437=>{_0x49f437['setSelection'](_0x232355),this['_removeFormatCommand']['execute']();for(const _0x423368 in _0x4f5800)for(const _0x471914 of _0xd9cd6b['schema']['getValidRanges'](_0x232355,_0x423368))_0x49f437['setAttribute'](_0x423368,_0x4f5800[_0x423368],_0x471914);_0x49f437['setSelection'](_0x288d55);});}['_createRangeOnEntireWord'](_0x41ce4f,_0x1a1885){const _0x175093=_0x41ce4f['createSelection'](_0x1a1885);_0x41ce4f['modifySelection'](_0x175093,{'unit':'word','direction':'backward'});const _0x5c642f=_0x175093['getFirstPosition']();_0x41ce4f['modifySelection'](_0x175093,{'unit':'word','direction':'forward'});const _0x1431fa=_0x175093['getLastPosition']();return _0x41ce4f['createRange'](_0x5c642f,_0x1431fa);}}class _ extends _0x4c5019{['execute'](){const _0x4ee6cb=this['editor']['model'],_0x51b9b5=_0x4ee6cb['schema'];_0x4ee6cb['change'](_0x11c3cf=>{for(const _0x56077b of this['_getFormattingItems'](_0x4ee6cb['document']['selection'],_0x51b9b5))if(_0x56077b['is']('selection')){for(const _0x46de91 of this['_getFormattingAttributes'](_0x56077b,_0x51b9b5))_0x11c3cf['removeSelectionAttribute'](_0x46de91);}else{const _0x3f8f4d=_0x11c3cf['createRangeOn'](_0x56077b);for(const _0x556a78 of this['_getFormattingAttributes'](_0x56077b,_0x51b9b5))_0x11c3cf['removeAttribute'](_0x556a78,_0x3f8f4d);}});}*['_getFormattingItems'](_0x3d82f2,_0x24d4fe){const _0x51bba7=_0x142786=>!!_0x484df5(this['_getFormattingAttributes'](_0x142786,_0x24d4fe));for(const _0x110728 of _0x3d82f2['getRanges']())for(const _0x59829a of _0x110728['getItems']())!_0x24d4fe['isBlock'](_0x59829a)&&_0x51bba7(_0x59829a)&&(yield _0x59829a);for(const _0x2a4783 of _0x3d82f2['getSelectedBlocks']())_0x51bba7(_0x2a4783)&&(yield _0x2a4783);_0x51bba7(_0x3d82f2)&&(yield _0x3d82f2);}*['_getFormattingAttributes'](_0x2ff381,_0x476cd8){for(const [_0xbcfd04]of _0x2ff381['getAttributes']()){const _0x5bffd4=_0x476cd8['getAttributeProperties'](_0xbcfd04);_0x5bffd4&&_0x5bffd4['isFormatting']&&(yield _0xbcfd04);}}}class a extends _0x3002d7{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FormatPainterEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x176a2b=this['editor'];_0x176a2b['commands']['add'](c,new r(_0x176a2b)),_0x176a2b['commands']['add'](e,new o(_0x176a2b)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x2e2fa5=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0xeb9cd7;for(const _0x228342 in _0x2e2fa5){const _0x1e06a2=_0x228342,_0x49d625=_0x2e2fa5[_0x1e06a2];if('formatPainterLicenseKeyValid'==_0x49d625||'formatPainterLicenseKeyInvalid'==_0x49d625||'formatPainterLicenseKeyExpired'==_0x49d625||'formatPainterLicenseKeyDomainLimit'==_0x49d625||'formatPainterLicenseKeyNotAllowed'==_0x49d625||'formatPainterLicenseKeyEvaluationLimit'==_0x49d625||'formatPainterLicenseKeyTrialLimit'==_0x49d625||'formatPainterLicenseKeyUsageLimit'==_0x49d625){delete _0x2e2fa5[_0x1e06a2],_0xeb9cd7=_0x49d625,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'formatPainterLicenseKeyInvalid'==_0xeb9cd7&&_0x2e2fa5['_showLicenseError']('invalid'),'formatPainterLicenseKeyExpired'==_0xeb9cd7&&_0x2e2fa5['_showLicenseError']('expired'),'formatPainterLicenseKeyDomainLimit'==_0xeb9cd7&&_0x2e2fa5['_showLicenseError']('domainLimit'),'formatPainterLicenseKeyNotAllowed'==_0xeb9cd7&&_0x2e2fa5['_showLicenseError']('featureNotAllowed','FormatPainter'),'formatPainterLicenseKeyEvaluationLimit'==_0xeb9cd7&&_0x2e2fa5['_showLicenseError']('evaluationLimit'),'formatPainterLicenseKeyTrialLimit'==_0xeb9cd7&&_0x2e2fa5['_showLicenseError']('trialLimit'),'formatPainterLicenseKeyUsageLimit'==_0xeb9cd7&&_0x2e2fa5['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function b(_0x55e43d,_0x424fef){const t=_0x55e43d['t'];switch(_0x424fef){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 _0x424fef;}}class m extends/* #__PURE__ -- @preserve */
|
|
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};
|
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.3",
|
|
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.3",
|
|
16
|
+
"@ckeditor/ckeditor5-engine": "45.1.0-alpha.3",
|
|
17
|
+
"@ckeditor/ckeditor5-icons": "45.1.0-alpha.3",
|
|
18
|
+
"@ckeditor/ckeditor5-ui": "45.1.0-alpha.3",
|
|
19
|
+
"@ckeditor/ckeditor5-utils": "45.1.0-alpha.3",
|
|
20
|
+
"ckeditor5": "45.1.0-alpha.3"
|
|
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
|
-
_0x147a49(_0x8389c7){static get[_0x714eae(0x1d9)](){const _0x5ab7ac=_0x714eae;return _0x5ab7ac(0x1e1);}static get[_0x714eae(0x1ce)](){return!0x0;}static get[_0x714eae(0x1f2)](){return!0x0;}[_0x714eae(0x1d5)](){const _0x3b0fef=_0x714eae,_0x47d93f=this[_0x3b0fef(0x1e6)];_0x47d93f[_0x3b0fef(0x1d7)][_0x3b0fef(0x201)][_0x3b0fef(0x1e3)](_0x58df30),_0x47d93f[_0x3b0fef(0x1f9)][_0x3b0fef(0x1cf)]({'keystrokes':[{'label':_0x932bc0(_0x47d93f[_0x3b0fef(0x1fd)],_0x3b0fef(0x1c0)),'keystroke':_0x3b0fef(0x1c4)},{'label':_0x932bc0(_0x47d93f[_0x3b0fef(0x1fd)],_0x3b0fef(0x1ca)),'keystroke':_0x3b0fef(0x200)}]}),_0x47d93f['ui'][_0x3b0fef(0x1ed)][_0x3b0fef(0x1c8)](_0x3b0fef(0x1d1),_0x3b3dc4=>{const _0xdaf191=_0x3b0fef,_0x668d7a=_0xe01ec5(_0x3b3dc4,_0x41cbca),_0x6e254b=_0x47d93f[_0xdaf191(0x204)][_0xdaf191(0x1f6)](_0x45fabc);_0x668d7a[_0xdaf191(0x1fc)][_0xdaf191(0x1e4)]({'label':_0x932bc0(_0x47d93f[_0xdaf191(0x1fd)],_0xdaf191(0x202)),'icon':_0x374d19,'keystroke':_0xdaf191(0x1c4),'tooltip':!0x0}),_0x668d7a[_0xdaf191(0x1cc)]=_0xdaf191(0x1d3),_0x6e254b&&(_0x668d7a[_0xdaf191(0x1e7)](_0xdaf191(0x1ff))['to'](_0x6e254b,_0xdaf191(0x1ff)),this[_0xdaf191(0x1c9)](_0x6e254b,_0xdaf191(0x209),(_0x4c6080,_0xdf000b,_0xa15729)=>{const _0xaa120a=_0xdaf191;_0xa15729||this[_0xaa120a(0x1f4)]();}),_0x668d7a[_0xdaf191(0x1fc)][_0xdaf191(0x1e7)](_0xdaf191(0x1d6))['to'](_0x6e254b,_0xdaf191(0x1dc),_0x23fc48=>!!_0x23fc48),this[_0xdaf191(0x1c9)](_0x47d93f,_0xdaf191(0x1ea),()=>this[_0xdaf191(0x1df)](!0x1)),this[_0xdaf191(0x1c9)](_0x6e254b,_0xdaf191(0x1fa),(_0x9588d,_0x3d4d19,_0x8e0b02)=>{const _0x1ff557=_0xdaf191;this[_0x1ff557(0x1df)](!!_0x8e0b02);}));const _0x280e7a=new _0x5dd2fd({'withText':!0x0,'label':_0x932bc0(_0x47d93f[_0xdaf191(0x1fd)],_0xdaf191(0x1c5)),'tooltip':_0x932bc0(_0x47d93f[_0xdaf191(0x1fd)],_0xdaf191(0x207)),'isOn':!0x1,'role':_0xdaf191(0x1db)});_0x384e6c(_0x668d7a,new _0x45c0bf([{'type':_0xdaf191(0x206),'model':_0x280e7a}]),{'role':_0xdaf191(0x1d4)});const _0x376816=()=>{const _0x1a6140=_0xdaf191;this[_0x1a6140(0x1f5)](),this[_0x1a6140(0x1c9)](_0x573eee[_0x1a6140(0x1ec)][_0x1a6140(0x1fe)],_0x1a6140(0x1e2),()=>{const _0x201c53=_0x1a6140;this[_0x201c53(0x1f7)](),_0x280e7a[_0x201c53(0x1d6)]||this[_0x201c53(0x1f4)]();});};return this[_0xdaf191(0x1c9)](_0x668d7a,_0xdaf191(0x1ee),()=>{const _0x2f184a=_0xdaf191;_0x280e7a[_0x2f184a(0x1d6)]=!_0x280e7a[_0x2f184a(0x1d6)];}),this[_0xdaf191(0x1c9)](_0x668d7a[_0xdaf191(0x1fc)],_0xdaf191(0x1ee),()=>{const _0x7e615e=_0xdaf191;_0x47d93f[_0x7e615e(0x1d7)][_0x7e615e(0x201)][_0x7e615e(0x1dd)](),_0x668d7a[_0x7e615e(0x1fc)][_0x7e615e(0x1d6)]?this[_0x7e615e(0x1f4)]():_0x376816();}),_0x47d93f[_0xdaf191(0x1cb)][_0xdaf191(0x1e4)](_0xdaf191(0x1c4),(_0x389604,_0x32f0b7)=>{const _0x161849=_0xdaf191;_0x376816(),_0x280e7a[_0x161849(0x1d6)]=!0x0,_0x32f0b7();},{'priority':_0xdaf191(0x205)}),_0x47d93f[_0xdaf191(0x1cb)][_0xdaf191(0x1e4)](_0xdaf191(0x200),(_0x15da17,_0x1df4d3)=>{const _0x4269b2=_0xdaf191;_0x668d7a[_0x4269b2(0x1fc)][_0x4269b2(0x1d6)]&&(this[_0x4269b2(0x1f7)](),_0x280e7a[_0x4269b2(0x1d6)]||this[_0x4269b2(0x1f4)](),_0x1df4d3());},{'priority':_0xdaf191(0x205)}),_0x47d93f[_0xdaf191(0x1cb)][_0xdaf191(0x1e4)](_0xdaf191(0x1ef),(_0x439ef7,_0x109913)=>{const _0x304bac=_0xdaf191;_0x668d7a[_0x304bac(0x1fc)][_0x304bac(0x1d6)]&&(_0x280e7a[_0x304bac(0x1d6)]=!0x1,this[_0x304bac(0x1f4)](),_0x109913());}),_0x668d7a;});}[_0x714eae(0x1de)](){!async function(_0x5f5204){const _0x1c4968=_0x1e23c1([0x54,0x46,0x31,0x49,0x44,0x41,0x6a,0x33,0x56,0x66,0x65,0x72,0x61,0x77,0x57,0x63,0x51,0x70,0x6c,0x75,0x64,0x43,0x58,0x6e,0x71,0x36,0x53,0x4d,0x52,0x4b,0x37,0x4e,0x48,0x39,0x45,0x47,0x78,0x67,0x6d,0x42,0x4a,0x38,0x7a,0x34,0x35,0x5a,0x55,0x6f,0x68,0x74,0x30,0x59,0x6b,0x32,0x50,0x79,0x62,0x4f,0x4c,0x76,0x69,0x73]),_0x3e0acb=0x331eab84,_0x29f8ed=0x3319ccdc^_0x3e0acb,_0x4b09f2=window[_0x1e23c1([0x44,0x61,0x74,0x65])][_0x1e23c1([0x6e,0x6f,0x77])](),_0x278cf0=_0x5f5204[_0x1e23c1([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x136900=new window[(_0x1e23c1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x39910a=>{_0x278cf0[_0x1e23c1([0x6f,0x6e,0x63,0x65])](_0x1e23c1([0x72,0x65,0x61,0x64,0x79]),_0x39910a);}),_0x8cd41b={[_0x1e23c1([0x6b,0x74,0x79])]:_0x1e23c1([0x45,0x43]),[_0x1e23c1([0x75,0x73,0x65])]:_0x1e23c1([0x73,0x69,0x67]),[_0x1e23c1([0x63,0x72,0x76])]:_0x1e23c1([0x50,0x2d,0x32,0x35,0x36]),[_0x1e23c1([0x78])]:_0x1e23c1([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]),[_0x1e23c1([0x79])]:_0x1e23c1([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]),[_0x1e23c1([0x61,0x6c,0x67])]:_0x1e23c1([0x45,0x53,0x32,0x35,0x36])},_0x1f0021=_0x278cf0[_0x1e23c1([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1e23c1([0x67,0x65,0x74])](_0x1e23c1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x3e8f10(){let _0xf203c6,_0x407436=null,_0x1f3340=null;try{if(_0x1f0021==_0x1e23c1([0x47,0x50,0x4c]))return _0x1e23c1([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0xf203c6=_0x52416b(),!_0xf203c6)return _0x1e23c1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0xf203c6[_0x1e23c1([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1f3340=_0x3cfbe5(_0xf203c6[_0x1e23c1([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0xf203c6[_0x1e23c1([0x6a,0x74,0x69])])),await _0x198516()?_0x5dd36d()?_0x51b4c1()?_0x1e23c1([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x70d3db()?(_0xf203c6[_0x1e23c1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1e23c1([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x407436=_0x2e0fc5(_0x1e23c1([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0xf203c6[_0x1e23c1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1e23c1([0x74,0x72,0x69,0x61,0x6c])&&(_0x407436=_0x2e0fc5(_0x1e23c1([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x3bf69d()):_0x1e23c1([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1e23c1([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1e23c1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x2be4f0){return _0x1e23c1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x51b4c1(){const _0xe8dd8c=[_0x1e23c1([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1e23c1([0x74,0x72,0x69,0x61,0x6c])][_0x1e23c1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xf203c6[_0x1e23c1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x4b09f2/0x3e8:0xe10*_0x29f8ed;return _0xf203c6[_0x1e23c1([0x65,0x78,0x70])]<_0xe8dd8c;}function _0x5dd36d(){const _0x44b764=_0xf203c6[_0x1e23c1([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x44b764&&(!!_0x44b764[_0x1e23c1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1e23c1([0x2a]))||(!!_0x44b764[_0x1e23c1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1e23c1([0x46,0x50]))||!!_0x44b764[_0x1e23c1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1e23c1([0x50,0x50]))));}function _0x70d3db(){const _0x294a51=_0x33ab,_0x426660=_0xf203c6[_0x1e23c1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x426660||0x0==_0x426660[_0x1e23c1([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3bfc64}=new URL(window[_0x1e23c1([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x294a51(0x1d2)]);if(_0x426660[_0x1e23c1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3bfc64))return!0x0;const _0x3cc7f0=_0x3bfc64[_0x1e23c1([0x73,0x70,0x6c,0x69,0x74])](_0x1e23c1([0x2e]));return _0x426660[_0x1e23c1([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x588995=>_0x588995[_0x1e23c1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1e23c1([0x2a])))[_0x1e23c1([0x6d,0x61,0x70])](_0x2b8c53=>_0x2b8c53[_0x1e23c1([0x73,0x70,0x6c,0x69,0x74])](_0x1e23c1([0x2e])))[_0x1e23c1([0x73,0x6f,0x6d,0x65])](_0x258ede=>_0x3cc7f0[_0x1e23c1([0x65,0x76,0x65,0x72,0x79])]((_0x4fc716,_0x5e5a10)=>_0x258ede[_0x5e5a10]===_0x4fc716||_0x258ede[_0x5e5a10]===_0x1e23c1([0x2a])));}function _0x3bf69d(){return _0x407436&&_0x1f3340?new window[(_0x1e23c1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x444b27,_0x501ea9)=>{_0x407436[_0x1e23c1([0x74,0x68,0x65,0x6e])](_0x444b27,_0x501ea9),_0x1f3340[_0x1e23c1([0x74,0x68,0x65,0x6e])](_0x3672a=>{_0x3672a!=_0x1e23c1([0x56,0x61,0x6c,0x69,0x64])&&_0x444b27(_0x3672a);},_0x501ea9);}):_0x407436||_0x1f3340||_0x1e23c1([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3cfbe5(_0x578918,_0xdd4676){return new window[(_0x1e23c1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x23b883=>{if(_0x18b1af())return _0x23b883(_0x1e23c1([0x56,0x61,0x6c,0x69,0x64]));_0x3c17c1(),_0x278cf0[_0x1e23c1([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1e23c1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x14ac19=!0x1;const _0x1951f7=_0x24875d();function _0x49d661(_0x3a8bc7){return!!_0x3a8bc7&&(typeof _0x3a8bc7===_0x1e23c1([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3a8bc7===_0x1e23c1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3a8bc7[_0x1e23c1([0x74,0x68,0x65,0x6e])]===_0x1e23c1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3a8bc7[_0x1e23c1([0x63,0x61,0x74,0x63,0x68])]===_0x1e23c1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x29ea6b(_0x398ed8){_0x20662d(_0x398ed8)[_0x1e23c1([0x74,0x68,0x65,0x6e])](_0x300dbc=>{if(!_0x300dbc||_0x300dbc[_0x1e23c1([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1e23c1([0x6f,0x6b]))return _0x1e23c1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x384f7d(_0x473588(_0x1951f7+_0xdd4676))!=_0x300dbc[_0x1e23c1([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1e23c1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1e23c1([0x56,0x61,0x6c,0x69,0x64]);})[_0x1e23c1([0x74,0x68,0x65,0x6e])](_0x5a7df5=>(_0x4b4bd1(),_0x5a7df5),()=>{const _0x13d18d=_0x59c2b5();return null==_0x13d18d?(_0x4b4bd1(),_0x1e23c1([0x56,0x61,0x6c,0x69,0x64])):_0x1e23c1(_0x4b09f2-_0x13d18d>(0x17122f84^_0x3e0acb)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1e23c1([0x74,0x68,0x65,0x6e])](_0x23b883)[_0x1e23c1([0x63,0x61,0x74,0x63,0x68])](()=>{_0x23b883(_0x1e23c1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1c9908=0x33284504^_0x3e0acb;function _0x4b4bd1(){const _0x261054=_0x1e23c1([0x6c,0x6c,0x63,0x74,0x2d])+_0x384f7d(_0x473588(_0x578918)),_0xc9c016=_0x3dbfa5(_0x384f7d(window[_0x1e23c1([0x4d,0x61,0x74,0x68])][_0x1e23c1([0x63,0x65,0x69,0x6c])](_0x4b09f2/_0x1c9908)));window[_0x1e23c1([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1e23c1([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x261054,_0xc9c016);}function _0x59c2b5(){const _0x81f17=_0x1e23c1([0x6c,0x6c,0x63,0x74,0x2d])+_0x384f7d(_0x473588(_0x578918)),_0x47aa39=window[_0x1e23c1([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1e23c1([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x81f17);return _0x47aa39?window[_0x1e23c1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3dbfa5(_0x47aa39),0x10)*_0x1c9908:null;}function _0x20662d(_0x4ad0f4){return new window[(_0x1e23c1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x40ed7b,_0x5a89b2)=>{_0x4ad0f4[_0x1e23c1([0x74,0x68,0x65,0x6e])](_0x40ed7b,_0x5a89b2),window[_0x1e23c1([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5a89b2,0x331f7f44^_0x3e0acb);});}}_0x278cf0[_0x1e23c1([0x6f,0x6e])](_0x1e23c1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x5d88e4,_0x130f77)=>{if(_0x130f77[0x0]!=_0x578918)return _0x23b883(_0x1e23c1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x130f77[0x1]={..._0x130f77[0x1],[_0x1e23c1([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1951f7};},{[_0x1e23c1([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1e23c1([0x68,0x69,0x67,0x68])}),_0x278cf0[_0x1e23c1([0x6f,0x6e])](_0x1e23c1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x357cf7=>{_0x49d661(_0x357cf7[_0x1e23c1([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x14ac19=!0x0,_0x29ea6b(_0x357cf7[_0x1e23c1([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1e23c1([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1e23c1([0x6c,0x6f,0x77])}),_0x136900[_0x1e23c1([0x74,0x68,0x65,0x6e])](()=>{_0x14ac19||_0x23b883(_0x1e23c1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x18b1af(){return _0x278cf0[_0x1e23c1([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1e23c1([0x76,0x69,0x65,0x77])][_0x1e23c1([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1e23c1([0x61,0x75,0x74,0x6f]);}function _0x3c17c1(){_0x278cf0[_0x1e23c1([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1e23c1([0x76,0x69,0x65,0x77])][_0x1e23c1([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1e23c1([0x61,0x75,0x74,0x6f]);}}function _0x2e0fc5(_0x5eb59a){const _0x5b2cf5=[new window[(_0x1e23c1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x273db6=>setTimeout(_0x273db6,0x33179548^_0x3e0acb)),_0x136900[_0x1e23c1([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1e23c1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1d6515=>{let _0x1b5aec=0x0;_0x278cf0[_0x1e23c1([0x6d,0x6f,0x64,0x65,0x6c])][_0x1e23c1([0x6f,0x6e])](_0x1e23c1([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0xacf632,_0x39a1c6)=>{_0x39a1c6[0x0][_0x1e23c1([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1b5aec++,_0x1b5aec==(0x331eaa7c^_0x3e0acb)&&(_0x1d6515(),_0xacf632[_0x1e23c1([0x6f,0x66,0x66])]());});}))];return window[_0x1e23c1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1e23c1([0x72,0x61,0x63,0x65])](_0x5b2cf5)[_0x1e23c1([0x74,0x68,0x65,0x6e])](()=>_0x5eb59a);}async function _0x2a5913(){await _0x136900,_0x278cf0[_0x1e23c1([0x6d,0x6f,0x64,0x65,0x6c])][_0x1e23c1([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x43e1e4,_0x278cf0[_0x1e23c1([0x6d,0x6f,0x64,0x65,0x6c])][_0x1e23c1([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x43e1e4,_0x278cf0[_0x1e23c1([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1e23c1([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x15cabd(_0x35ff5f){const _0x386894=_0x143f21();_0x278cf0[_0x386894]=_0x1e23c1([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x35ff5f,_0x35ff5f!=_0x1e23c1([0x56,0x61,0x6c,0x69,0x64])&&_0x2a5913();}function _0x143f21(){const _0x5671ee=window[_0x1e23c1([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1e23c1([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1e23c1([0x6e,0x6f,0x77])]())[_0x1e23c1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1e23c1([0x2e]),'');let _0x3b0c71=_0x1e23c1([0x54]);for(let _0x1787a9=0x0;_0x1787a9<_0x5671ee[_0x1e23c1([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1787a9+=0x2){let _0x41d46a=window[_0x1e23c1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5671ee[_0x1e23c1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1787a9,_0x1787a9+0x2));_0x41d46a>=_0x1c4968[_0x1e23c1([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x41d46a-=_0x1c4968[_0x1e23c1([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3b0c71+=_0x1c4968[_0x41d46a];}return _0x3b0c71;}function _0x52416b(){const _0x44b30f=_0x1f0021[_0x1e23c1([0x73,0x70,0x6c,0x69,0x74])](_0x1e23c1([0x2e]));if(0x3!=_0x44b30f[_0x1e23c1([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x34a3dc(_0x44b30f[0x1]);function _0x34a3dc(_0x33c81a){const _0x284271=_0x592891(_0x33c81a);return _0x284271&&_0x3c1258()?_0x284271:null;function _0x3c1258(){const _0x5f21fc=_0x284271[_0x1e23c1([0x6a,0x74,0x69])],_0x4d2f5c=window[_0x1e23c1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5f21fc[_0x1e23c1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5f21fc[_0x1e23c1([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x252bc2={..._0x284271,[_0x1e23c1([0x6a,0x74,0x69])]:_0x5f21fc[_0x1e23c1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x5f21fc[_0x1e23c1([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x252bc2[_0x1e23c1([0x76,0x63])],_0x473588(_0x252bc2)==_0x4d2f5c;}}}async function _0x198516(){let _0x113ba6=!0x0;try{const _0x2b81a0=_0x1f0021[_0x1e23c1([0x73,0x70,0x6c,0x69,0x74])](_0x1e23c1([0x2e])),[_0x51d3fa,_0x400880,_0x2c9ae6]=_0x2b81a0;return _0x3067cd(_0x51d3fa),await _0x38bfdc(_0x51d3fa,_0x400880,_0x2c9ae6),_0x113ba6;}catch(_0x544c3e){return!0x1;}function _0x3067cd(_0x401fa4){const _0x607567=_0x592891(_0x401fa4);_0x607567&&_0x607567[_0x1e23c1([0x61,0x6c,0x67])]==_0x1e23c1([0x45,0x53,0x32,0x35,0x36])||(_0x113ba6=!0x1);}async function _0x38bfdc(_0x4f7d82,_0x1e58c2,_0x36c743){const _0x3c01cb=window[_0x1e23c1([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1e23c1([0x66,0x72,0x6f,0x6d])](_0xed6e6c(_0x36c743),_0x36e192=>_0x36e192[_0x1e23c1([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2e6c6f=new window[(_0x1e23c1([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1e23c1([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4f7d82+_0x1e23c1([0x2e])+_0x1e58c2),_0x5682b9=window[_0x1e23c1([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1e23c1([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x5682b9)return;const _0x40e3c2=await _0x5682b9[_0x1e23c1([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1e23c1([0x6a,0x77,0x6b]),_0x8cd41b,{[_0x1e23c1([0x6e,0x61,0x6d,0x65])]:_0x1e23c1([0x45,0x43,0x44,0x53,0x41]),[_0x1e23c1([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1e23c1([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1e23c1([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x5682b9[_0x1e23c1([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1e23c1([0x6e,0x61,0x6d,0x65])]:_0x1e23c1([0x45,0x43,0x44,0x53,0x41]),[_0x1e23c1([0x68,0x61,0x73,0x68])]:{[_0x1e23c1([0x6e,0x61,0x6d,0x65])]:_0x1e23c1([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x40e3c2,_0x3c01cb,_0x2e6c6f)||(_0x113ba6=!0x1);}}function _0x592891(_0x56e882){return _0x56e882[_0x1e23c1([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1e23c1([0x65,0x79]))?JSON[_0x1e23c1([0x70,0x61,0x72,0x73,0x65])](_0xed6e6c(_0x56e882)):null;}function _0xed6e6c(_0x1a8291){return window[_0x1e23c1([0x61,0x74,0x6f,0x62])](_0x1a8291[_0x1e23c1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1e23c1([0x2b]))[_0x1e23c1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1e23c1([0x2f])));}function _0x473588(_0x1f20b9){let _0x5ecf3d=0x1505;function _0x354757(_0x2a6c63){for(let _0x373eb9=0x0;_0x373eb9<_0x2a6c63[_0x1e23c1([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x373eb9++){const _0x2a1ba2=_0x2a6c63[_0x1e23c1([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x373eb9);_0x5ecf3d=(_0x5ecf3d<<0x5)+_0x5ecf3d+_0x2a1ba2,_0x5ecf3d&=_0x5ecf3d;}}function _0x3e8efc(_0x2a5309){Array[_0x1e23c1([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2a5309)?_0x2a5309[_0x1e23c1([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3e8efc):_0x2a5309&&typeof _0x2a5309==_0x1e23c1([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1e23c1([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2a5309)[_0x1e23c1([0x73,0x6f,0x72,0x74])]()[_0x1e23c1([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0xd000c7,_0x5d0619])=>{_0x354757(_0xd000c7),_0x3e8efc(_0x5d0619);}):_0x354757(window[_0x1e23c1([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2a5309));}return _0x3e8efc(_0x1f20b9),_0x5ecf3d>>>0x0;}function _0x384f7d(_0x53f17d){return _0x53f17d[_0x1e23c1([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1e23c1([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1e23c1([0x30]));}function _0x3dbfa5(_0x2fbf38){return _0x2fbf38[_0x1e23c1([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1e23c1([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1e23c1([0x6a,0x6f,0x69,0x6e])]('');}function _0x43e1e4(){}function _0x1e23c1(_0x5b61ac){const _0x31bf7f=_0x33ab;return _0x5b61ac[_0x31bf7f(0x1f0)](_0x57195f=>String[_0x31bf7f(0x1e0)](_0x57195f))[_0x31bf7f(0x1f8)]('');}_0x15cabd(await _0x3e8f10());}(this);}[_0x714eae(0x1df)](_0x482bda){const _0xd6fa64=_0x714eae;this[_0xd6fa64(0x1e6)][_0xd6fa64(0x1d7)][_0xd6fa64(0x201)][_0xd6fa64(0x1cd)](_0x21c0a2=>{const _0x58c1d5=_0xd6fa64;for(const _0x35db69 of this[_0x58c1d5(0x1e6)][_0x58c1d5(0x1d7)][_0x58c1d5(0x201)][_0x58c1d5(0x1fe)][_0x58c1d5(0x208)])_0x482bda?_0x21c0a2[_0x58c1d5(0x1d0)](_0x161158,_0x35db69):_0x21c0a2[_0x58c1d5(0x1d8)](_0x161158,_0x35db69);});}[_0x714eae(0x1f5)](){const _0x12f9e7=_0x714eae,{editor:_0x5c568b}=this;_0x5c568b[_0x12f9e7(0x1ee)](_0x45fabc),_0x5c568b['ui'][_0x12f9e7(0x1fb)][_0x12f9e7(0x1da)](_0x932bc0(_0x5c568b[_0x12f9e7(0x1fd)],_0x12f9e7(0x1c6)));}[_0x714eae(0x1f7)](){const _0x562dd8=_0x714eae,{editor:_0xfb6b0}=this,_0x534e67=_0xfb6b0[_0x562dd8(0x204)][_0x562dd8(0x1f6)](_0x45fabc)[_0x562dd8(0x1dc)];_0xfb6b0[_0x562dd8(0x1ee)](_0x48cc6a,_0x534e67),_0xfb6b0['ui'][_0x562dd8(0x1fb)][_0x562dd8(0x1da)](_0x932bc0(_0xfb6b0[_0x562dd8(0x1fd)],_0x562dd8(0x1be)));}[_0x714eae(0x1f4)](){const _0x306be0=_0x714eae;this[_0x306be0(0x1e6)][_0x306be0(0x204)][_0x306be0(0x1f6)](_0x45fabc)[_0x306be0(0x1e5)](),this[_0x306be0(0x1f3)](_0x573eee[_0x306be0(0x1ec)][_0x306be0(0x1fe)],_0x306be0(0x1e2));}}
|
|
23
|
+
const _0x39a00f=_0x1089;(function(_0x307e6e,_0xb6ddb9){const _0x45c0de=_0x1089,_0x2e6176=_0x307e6e();while(!![]){try{const _0x321cf2=parseInt(_0x45c0de(0x12e))/0x1*(parseInt(_0x45c0de(0x128))/0x2)+-parseInt(_0x45c0de(0xf4))/0x3*(-parseInt(_0x45c0de(0x115))/0x4)+parseInt(_0x45c0de(0x108))/0x5+parseInt(_0x45c0de(0x12a))/0x6*(parseInt(_0x45c0de(0x136))/0x7)+parseInt(_0x45c0de(0x11f))/0x8+parseInt(_0x45c0de(0x11d))/0x9+parseInt(_0x45c0de(0x10b))/0xa*(-parseInt(_0x45c0de(0x121))/0xb);if(_0x321cf2===_0xb6ddb9)break;else _0x2e6176['push'](_0x2e6176['shift']());}catch(_0x25afd2){_0x2e6176['push'](_0x2e6176['shift']());}}}(_0x336a,0xe1603));import{Plugin as _0x2dff5c}from'ckeditor5/src/core.js';import{addListToDropdown as _0x5947e7,createDropdown as _0x5aad77,ViewModel as _0x52643d,SplitButtonView as _0x23a1ea}from'ckeditor5/src/ui.js';import{Collection as _0x11e2f2,global as _0x5e371f,DomEmitterMixin as _0xb66fcd,uid as _0x166ac6}from'ckeditor5/src/utils.js';import{ClickObserver as _0x2e30c8}from'ckeditor5/src/engine.js';function _0x336a(){const _0x270f3f=['commands','class','switchbutton','focus','isPremiumPlugin','editing','view','Keeps\x20the\x20painter\x20on\x20after\x20setting\x20the\x20formatting.','componentFactory','3912670SjlOkr','destroy','FormatPainterUI','20XUEXPb','init','set','document','editor','change','href','roots','keystrokes','Esc','1704hTafbA','Ctrl+Alt+C','announce','mouseup','Continuous\x20painting','stopListening','locale','ck-format-painter-dropdown','345159AcASfX','removeClass','13914160aUifig','join','15492587ltqOzx','Ctrl+Alt+V','reset','accessibility','execute','Formatting\x20copied.','_finishPainting','2RMwdHp','fromCharCode','6oCkyqn','Paint\x20formatting','addKeystrokeInfos','change:value','944157CLmHDm','get','high','change:isEnabled','buttonView','add','pluginName','isEnabled','936929lJWrSq','menuitemcheckbox','Paste\x20text\x20formatting','isOn','_copyFormatting','isOfficialPlugin','addClass','_pasteFormatting','bind','afterInit','value','717xkfnlV','Copy\x20text\x20formatting','ariaLiveAnnouncer','formatPainter','menu','window','map','listenTo','addObserver','Pasted\x20formatting.','_toggleSpecialCursor'];_0x336a=function(){return _0x270f3f;};return _0x336a();}import{IconPaintRoller as _0x16a8c7}from'ckeditor5/src/icons.js';function _0x1089(_0x2ade25,_0x4b560a){const _0x336ad0=_0x336a();return _0x1089=function(_0x108995,_0x31a1d2){_0x108995=_0x108995-0xec;let _0x246297=_0x336ad0[_0x108995];return _0x246297;},_0x1089(_0x2ade25,_0x4b560a);}import'../theme/formatpainter.css';import{COPY_FORMAT_COMMAND_NAME as _0x46e2b7,PASTE_FORMAT_COMMAND_NAME as _0x1281d9,CURSOR_ACTIVE_CSS_CLASS as _0x17908f}from'./utils.js';import{getTranslation as _0x38a581}from'./utils/common-translations.js';export default class m extends/* #__PURE__ -- @preserve */
|
|
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));}}
|