@ckeditor/ckeditor5-format-painter 45.1.0-alpha.0 → 45.1.0-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/format-painter.js +1 -1
- package/dist/index.js +2 -2
- package/package.json +7 -7
- package/src/formatpainterui.js +2 -2
package/build/format-painter.js
CHANGED
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
/*!
|
|
3
3
|
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
4
4
|
* For licensing, see LICENSE.md.
|
|
5
|
-
*/(()=>{var t={168:t=>{"use strict";t.exports=function(t){return t[1]}},220:t=>{"use strict";t.exports=function(t,n){return n||(n={}),t?(t=String(t.__esModule?t.default:t),/^['"].*['"]$/.test(t)&&(t=t.slice(1,-1)),n.hash&&(t+=n.hash),/["'() \t\n]|(%20)/.test(t)||n.needQuotes?'"'.concat(t.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):t):t}},237:t=>{"use strict";t.exports=CKEditor5.dll},262:t=>{"use strict";var n={};t.exports=function(t,e){var r=function(t){if(void 0===n[t]){var e=document.querySelector(t);if(window.HTMLIFrameElement&&e instanceof window.HTMLIFrameElement)try{e=e.contentDocument.head}catch(t){e=null}n[t]=e}return n[t]}(t);if(!r)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");r.appendChild(e)}},311:(t,n,e)=>{t.exports=e(237)("./src/ui.js")},355:(t,n,e)=>{t.exports=e(237)("./src/icons.js")},357:t=>{"use strict";t.exports=function(t){var n=document.createElement("style");return t.setAttributes(n,t.attributes),t.insert(n,t.options),n}},415:t=>{"use strict";t.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMCIgaGVpZ2h0PSIyMCIgZmlsbD0ibm9uZSIgdmlld0JveD0iMCAwIDMxIDIwIj48cGF0aCBmaWxsPSIjMDAwIiBkPSJNMTQgM2ExIDEgMCAwIDEgMS0xaDEwYTEgMSAwIDAgMSAxIDF2MmExIDEgMCAwIDEtMSAxSDE1YTEgMSAwIDAgMS0xLTF6Ii8+PHBhdGggZmlsbD0iIzAwMCIgZD0iTTI3IDMuMjVhMS41IDEuNSAwIDAgMSAxLjUgMS41djEuN2EyLjI1IDIuMjUgMCAwIDEtMS45MzIgMi4yMjZsLTQuNDI0LjYzMmEuNzUuNzUgMCAwIDAtLjY0NC43NDNWMTFhMSAxIDAgMCAxIDEgMXY1YTEgMSAwIDAgMS0xIDFIMjBhMSAxIDAgMCAxLTEtMXYtNWExIDEgMCAwIDEgMS0xdi0uOTVhMi4yNSAyLjI1IDAgMCAxIDEuOTMyLTIuMjI2bDQuNDI0LS42MzJBLjc1Ljc1IDAgMCAwIDI3IDYuNDQ5eiIvPjxwYXRoIGZpbGw9IiNmZmYiIGZpbGwtcnVsZT0iZXZlbm9kZCIgZD0iTTI2Ljg1NSAyLjI1SDI3YTIuNSAyLjUgMCAwIDEgMi41IDIuNXYxLjdhMy4yNSAzLjI1IDAgMCAxLTIuNzkgMy4yMTZsLTQuMjEuNjAyYTIgMiAwIDAgMSAxIDEuNzMydjVhMiAyIDAgMCAxLTIgMkgyMGEyIDIgMCAwIDEtMi0ydi01YTIgMiAwIDAgMSAxLTEuNzMydi0uMjE3QTMuMjUgMy4yNSAwIDAgMSAyMS4xMjkgN0gxNWEyIDIgMCAwIDEtMi0yVjNhMiAyIDAgMCAxIDItMmgxMGEyIDIgMCAwIDEgMS44NTUgMS4yNU0yMCAxMC4wNVYxMWExIDEgMCAwIDAtMSAxdjVhMSAxIDAgMCAwIDEgMWgxLjVhMSAxIDAgMCAwIDEtMXYtNWExIDEgMCAwIDAtMS0xdi0uOTVxMC0uMDI0LjAwMi0uMDVhLjc1Ljc1IDAgMCAxIC42NDItLjY5Mmw0LjQyNC0uNjMyQTIuMjUgMi4yNSAwIDAgMCAyOC41IDYuNDV2LTEuN2ExLjQ5NiAxLjQ5NiAwIDAgMC0xLjUtMS41djMuMmEuNzUuNzUgMCAwIDEtLjY0NC43NDJsLTQuNDI0LjYzMkEyLjI1IDIuMjUgMCAwIDAgMjAgMTAuMDVNMTUgMmExIDEgMCAwIDAtMSAxdjJhMSAxIDAgMCAwIDEgMWgxMGExIDEgMCAwIDAgMS0xVjNhMSAxIDAgMCAwLTEtMXoiIGNsaXAtcnVsZT0iZXZlbm9kZCIvPjxwYXRoIGZpbGw9IiMwMDAiIGQ9Ik0yLjUgMi41QS41LjUgMCAwIDEgMyAyaDIuNWEuNS41IDAgMCAxIC4zNTQuMTQ2bC42NDYuNjQ3LjY0Ni0uNjQ3QS41LjUgMCAwIDEgNy41IDJIMTBhLjUuNSAwIDAgMSAwIDFINy43MDdMNyAzLjcwN1YxMGguNWEuNS41IDAgMCAxIDAgMUg3djQuNzkzbC43MDcuNzA3SDEwYS41LjUgMCAwIDEgMCAxSDcuNWEuNS41IDAgMCAxLS4zNTQtLjE0NmwtLjY0Ni0uNjQ3LS42NDYuNjQ3YS41LjUgMCAwIDEtLjM1NC4xNDZIM2EuNS41IDAgMCAxIDAtMWgyLjI5M0w2IDE1Ljc5M1YxMWgtLjVhLjUuNSAwIDAgMSAwLTFINlYzLjcwN0w1LjI5MyAzSDNhLjUuNSAwIDAgMS0uNS0uNSIvPjxwYXRoIGZpbGw9IiNmZmYiIGZpbGwtcnVsZT0iZXZlbm9kZCIgZD0ibTUuNzkzIDMuNS0uNS0uNUgzYS41LjUgMCAwIDEgMC0xaDIuNWEuNS41IDAgMCAxIC4zNTQuMTQ2bC4xNDUuMTQ2LjUwMS41LjY0Ni0uNjQ2QS41LjUgMCAwIDEgNy41IDJIMTBhLjUuNSAwIDAgMSAwIDFINy43MDdMNyAzLjcwN1YxMGguNWEuNS41IDAgMCAxIDAgMUg3djQuNzkzbC43MDcuNzA3SDEwYS41LjUgMCAwIDEgMCAxSDcuNWEuNS41IDAgMCAxLS4zNTQtLjE0NmwtLjY0Ni0uNjQ3LS41LjUtLjE0Ni4xNDdhLjUuNSAwIDAgMS0uMzU0LjE0NkgzYS41LjUgMCAwIDEgMC0xaDIuMjkzTDYgMTUuNzkzVjExaC0uNWEuNS41IDAgMCAxIDAtMUg2VjMuNzA3em0tLjkxNC41TDUgNC4xMjF2NC45NjRhMS41IDEuNSAwIDAgMCAwIDIuODN2My40NjRsLS4xMjEuMTIxSDNhMS41IDEuNSAwIDAgMCAwIDNoMi41YTEuNSAxLjUgMCAwIDAgMS0uMzgyIDEuNSAxLjUgMCAwIDAgMSAuMzgySDEwYTEuNSAxLjUgMCAwIDAgMC0zSDguMTIxTDggMTUuMzc5di0zLjQ2NGExLjUgMS41IDAgMCAwIDAtMi44M1Y0LjEyMUw4LjEyMSA0SDEwYTEuNSAxLjUgMCAwIDAgMC0zSDcuNWExLjUgMS41IDAgMCAwLTEgLjM4MkExLjUgMS41IDAgMCAwIDUuNSAxSDNhMS41IDEuNSAwIDEgMCAwIDN6IiBjbGlwLXJ1bGU9ImV2ZW5vZGQiLz48L3N2Zz4="},433:t=>{"use strict";t.exports=function(t){var n=[];return n.toString=function(){return this.map((function(n){var e="",r=void 0!==n[5];return n[4]&&(e+="@supports (".concat(n[4],") {")),n[2]&&(e+="@media ".concat(n[2]," {")),r&&(e+="@layer".concat(n[5].length>0?" ".concat(n[5]):""," {")),e+=t(n),r&&(e+="}"),n[2]&&(e+="}"),n[4]&&(e+="}"),e})).join("")},n.i=function(t,e,r,i,o){"string"==typeof t&&(t=[[null,t,void 0]]);var s={};if(r)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(s[c]=!0)}for(var u=0;u<t.length;u++){var I=[].concat(t[u]);r&&s[I[0]]||(void 0!==o&&(void 0===I[5]||(I[1]="@layer".concat(I[5].length>0?" ".concat(I[5]):""," {").concat(I[1],"}")),I[5]=o),e&&(I[2]?(I[1]="@media ".concat(I[2]," {").concat(I[1],"}"),I[2]=e):I[2]=e),i&&(I[4]?(I[1]="@supports (".concat(I[4],") {").concat(I[1],"}"),I[4]=i):I[4]="".concat(i)),n.push(I))}},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),I=s()(i()),g=c()(u);I.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(${g}) 3 3,text}`,""]);const f=I},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],I=o[u]||0,g="".concat(u," ").concat(I);o[u]=I+1;var f=e(g),M={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==f)n[f].references++,n[f].updater(M);else{var d=i(M,r);r.byIndex=a,n.splice(a,0,{identifier:g,updater:d,references:1})}s.push(g)}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 I=e(o[u]);0===n[I].references&&(n[I].updater(),n.splice(I,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:()=>p});var t=e(782);function n(){const t=["pasteFormat","4488696rcgeka","copyFormat","1506826JaHofQ","9374869HzMpNm","90996CAaOYt","1CAuKiN","ck-format-painter-active","24qlKXFJ","110uyhpQZ","1741496DgzRpm","168789MoGwFx","2003050jQXIHM"];return(n=function(){return t})()}const i=a;!function(t){const n=a,e=t();for(;;)try{if(905324===-parseInt(n(276))/1*(-parseInt(n(273))/2)+-parseInt(n(281))/3*(parseInt(n(278))/4)+parseInt(n(279))/5*(-parseInt(n(275))/6)+parseInt(n(274))/7+-parseInt(n(280))/8+-parseInt(n(271))/9+parseInt(n(282))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(n);const o=i(272),s=i(283);function a(t,e){const r=n();return(a=function(t,n){return r[t-=271]})(t,e)}const c=i(277),u=I;function I(t,n){const e=g();return(I=function(t,n){return e[t-=428]})(t,n)}function g(){const t=["value","4553340MmFrcB","reset","2908050dnUmpA","get","refresh","from","_getFormattingAttributes","schema","getAttributeProperties","3301120MVOIBq","commands","160jUjzCM","6499071FetDNQ","model","26btCsLO","change:value","filter","editor","fromEntries","11851567SAMvmO","87459jhSnag","isFormatting","getAttributes","selection","execute","document","103639HXCSXM","change:isEnabled"];return(g=function(){return t})()}!function(t){const n=I,e=t();for(;;)try{if(884476===parseInt(n(429))/1*(-parseInt(n(446))/2)+parseInt(n(452))/3*(-parseInt(n(443))/4)+parseInt(n(432))/5+parseInt(n(434))/6+parseInt(n(451))/7+-parseInt(n(441))/8+parseInt(n(444))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(g);class f extends t.Command{constructor(t){const n=I;super(t),this[n(431)]=void 0,this.on(n(430),((t,e,r)=>{r||this[n(433)]()})),this.on(n(447),(()=>t[n(442)][n(435)](s)[n(436)]()))}[u(456)](){const t=u;this[t(431)]=this[t(438)]()}[u(433)](){this[u(431)]=void 0}[u(438)](){const t=u,n=this[t(449)][t(445)],e=n[t(428)][t(455)];return Object[t(450)](Array[t(437)](e[t(454)]())[t(448)]((([e])=>n[t(439)][t(440)](e)[t(453)])))}}var M=e(584);const d=l;function l(t,n){const e=m();return(l=function(t,n){return e[t-=315]})(t,n)}!function(t){const n=l,e=t();for(;;)try{if(913640===parseInt(n(335))/1*(-parseInt(n(331))/2)+parseInt(n(316))/3*(-parseInt(n(355))/4)+-parseInt(n(344))/5*(parseInt(n(326))/6)+parseInt(n(329))/7*(parseInt(n(354))/8)+-parseInt(n(351))/9*(-parseInt(n(360))/10)+parseInt(n(357))/11*(-parseInt(n(358))/12)+parseInt(n(332))/13*(parseInt(n(353))/14))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(m);class p extends t.Command{constructor(t){const n=l;super(t),this[n(343)]=new A(t)}[d(317)](t={}){const n=d,e=this[n(339)][n(349)],r=e[n(337)][n(327)],i=Array[n(319)](r[n(361)]()),o=r[n(333)]?[this[n(321)](e,r)]:i;e[n(325)]((r=>{const s=n;r[s(324)](o),this[s(343)][s(317)]();for(const n in t)for(const i of e[s(315)][s(348)](o,n))r[s(334)](n,t[n],i);r[s(324)](i)}))}[d(321)](t,n){const e=d,r=t[e(322)](n);t[e(318)](r,{unit:e(338),direction:e(328)});const i=r[e(346)]();t[e(318)](r,{unit:e(338),direction:e(345)});const o=r[e(340)]();return t[e(350)](i,o)}}class A extends t.Command{[d(317)](){const t=d,n=this[t(339)][t(349)],e=n[t(315)];n[t(325)]((r=>{const i=t;for(const t of this[i(347)](n[i(337)][i(327)],e))if(t.is(i(327)))for(const n of this[i(336)](t,e))r[i(342)](n);else{const n=r[i(359)](t);for(const o of this[i(336)](t,e))r[i(323)](o,n)}}))}*[d(347)](t,n){const e=d,r=t=>!!(0,M.first)(this[e(336)](t,n));for(const i of t[e(361)]())for(const t of i[e(341)]())!n[e(362)](t)&&r(t)&&(yield t);for(const n of t[e(320)]())r(n)&&(yield n);r(t)&&(yield t)}*[d(336)](t,n){const e=d;for(const[r]of t[e(352)]()){const t=n[e(356)](r);t&&t[e(330)]&&(yield r)}}}function m(){const t=["70paYOFB","getRanges","isBlock","schema","4097757PYcmKH","execute","modifySelection","from","getSelectedBlocks","_createRangeOnEntireWord","createSelection","removeAttribute","setSelection","change","1268562JXJJDi","selection","backward","39809ffRWDj","isFormatting","328196apZBQz","48061DeUGdK","isCollapsed","setAttribute","2zVGOIY","_getFormattingAttributes","document","word","editor","getLastPosition","getItems","removeSelectionAttribute","_removeFormatCommand","10SxJwSL","forward","getFirstPosition","_getFormattingItems","getValidRanges","model","createRange","991539mGIQnk","getAttributes","5474bQxoNS","2152VbQvZS","4gEMkKe","getAttributeProperties","154KsaiFG","613644YbBOAm","createRangeOn"];return(m=function(){return t})()}const w=D;function h(){const t=["2485055CWsijN","destroy","_licenseKeyCheckInterval","usageLimit","config","formatPainterLicenseKeyUsageLimit","isPremiumPlugin","8hAoXJX","12ArGNtn","formatPainterLicenseKeyInvalid","invalid","isOfficialPlugin","_showLicenseError","init","23522013VyVjNa","pluginName","formatPainterLicenseKeyEvaluationLimit","domainLimit","featureNotAllowed","evaluationLimit","add","formatPainterLicenseKeyValid","commands","editor","5901602bQcyYQ","licenseKey","1719TzAVVu","expired","7048056XrVQzr","10ZDYBOk","get","formatPainterLicenseKeyNotAllowed","FormatPainter","formatPainterLicenseKeyDomainLimit","635522zYKPmz","691400xBagVJ","FormatPainterEditing","trialLimit","formatPainterLicenseKeyExpired","formatPainterLicenseKeyTrialLimit"];return(h=function(){return t})()}function D(t,n){const e=h();return(D=function(t,n){return e[t-=432]})(t,n)}!function(t){const n=D,e=t();for(;;)try{if(742286===-parseInt(n(466))/1+parseInt(n(440))/2*(parseInt(n(458))/3)+parseInt(n(439))/4*(-parseInt(n(432))/5)+-parseInt(n(460))/6+parseInt(n(456))/7+parseInt(n(467))/8+parseInt(n(446))/9*(parseInt(n(461))/10))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(h);class N extends t.Plugin{[w(457)];[w(434)];static get[w(447)](){return w(468)}static get[w(443)](){return!0}static get[w(438)](){return!0}[w(445)](){const t=w,n=this[t(455)];n[t(454)][t(452)](o,new f(n)),n[t(454)][t(452)](s,new p(n)),this[t(457)]=this[t(455)][t(436)][t(462)](t(457));const e=this[t(455)];this[t(434)]=setInterval((()=>{const n=t;let r;for(const t in e){const i=t,o=e[i];if(n(453)==o||n(441)==o||n(470)==o||n(465)==o||n(463)==o||n(448)==o||n(471)==o||n(437)==o){delete e[i],r=o,clearInterval(this[n(434)]),this[n(434)]=void 0;break}}n(441)==r&&e[n(444)](n(442)),n(470)==r&&e[n(444)](n(459)),n(465)==r&&e[n(444)](n(449)),n(463)==r&&e[n(444)](n(450),n(464)),n(448)==r&&e[n(444)](n(451)),n(471)==r&&e[n(444)](n(469)),n(437)==r&&e[n(444)](n(435))}),1e3)}[w(433)](){const t=w;super[t(433)](),this[t(434)]&&clearInterval(this[t(434)])}}var y=e(311),S=e(783),x=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),P=e.n(T),k=e(357),U=e.n(k),z=e(655),Y={attributes:{"data-cke":!0}};Y.setAttributes=P(),Y.insert=b().bind(null,"head"),Y.domAPI=E(),Y.insertStyleElement=U();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=O;function Z(){const t=["Ctrl+Alt+C","_pasteFormatting","keystrokes","fromCharCode","editing","init","view","addClass","window","11ZvnqOb","href","_toggleSpecialCursor","announce","change","mouseup","afterInit","menuitemcheckbox","roots","change:value","5342OlDQVB","Ctrl+Alt+V","ck-format-painter-dropdown","value","accessibility","4ReIpHd","addKeystrokeInfos","high","locale","Paint formatting","Copy text formatting","Formatting copied.","Pasted formatting.","_finishPainting","_copyFormatting","switchbutton","editor","listenTo","componentFactory","1211436tLUOwR","map","Keeps the painter on after setting the formatting.","focus","isEnabled","get","1059369igkRse","431874aYoYLc","document","class","2015040cwWAHw","destroy","isOn","Esc","execute","menu","set","change:isEnabled","buttonView","isOfficialPlugin","1313770BScQxe","pluginName","stopListening","14qajSja","reset","join","formatPainter","commands","194mfFaFy","Paste text formatting","7949210SgMaMm","isPremiumPlugin","removeClass","FormatPainterUI","bind","Continuous painting","ariaLiveAnnouncer","addObserver","add"];return(Z=function(){return t})()}function O(t,n){const e=Z();return(O=function(t,n){return e[t-=500]})(t,n)}!function(t){const n=O,e=t();for(;;)try{if(268576===parseInt(n(569))/1*(-parseInt(n(539))/2)+-parseInt(n(517))/3+-parseInt(n(574))/4*(parseInt(n(531))/5)+parseInt(n(511))/6*(parseInt(n(534))/7)+parseInt(n(521))/8+-parseInt(n(518))/9+-parseInt(n(541))/10*(-parseInt(n(559))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(Z);class V extends((0,M.DomEmitterMixin)(t.Plugin)){static get[Q(532)](){return Q(544)}static get[Q(530)](){return!0}static get[Q(542)](){return!0}[Q(555)](){const t=Q,n=this[t(508)];n[t(554)][t(556)][t(548)](S.ClickObserver),n[t(573)][t(575)]({keystrokes:[{label:F(n[t(500)],t(502)),keystroke:t(550)},{label:F(n[t(500)],t(540)),keystroke:t(570)}]}),n.ui[t(510)][t(549)](t(537),(e=>{const r=t,i=(0,y.createDropdown)(e,y.SplitButtonView),s=n[r(538)][r(516)](o);i[r(529)][r(527)]({label:F(n[r(500)],r(501)),icon:x.IconPaintRoller,keystroke:r(550),tooltip:!0}),i[r(520)]=r(571),s&&(i[r(545)](r(515)).to(s,r(515)),this[r(509)](s,r(528),((t,n,e)=>{e||this[r(505)]()})),i[r(529)][r(545)](r(523)).to(s,r(572),(t=>!!t)),this[r(509)](n,r(522),(()=>this[r(561)](!1))),this[r(509)](s,r(568),((t,n,e)=>{this[r(561)](!!e)})));const a=new y.ViewModel({withText:!0,label:F(n[r(500)],r(546)),tooltip:F(n[r(500)],r(513)),isOn:!1,role:r(566)});(0,y.addListToDropdown)(i,new M.Collection([{type:r(507),model:a}]),{role:r(526)});const c=()=>{const t=r;this[t(506)](),this[t(509)](M.global[t(558)][t(519)],t(564),(()=>{const n=t;this[n(551)](),a[n(523)]||this[n(505)]()}))};return this[r(509)](i,r(525),(()=>{const t=r;a[t(523)]=!a[t(523)]})),this[r(509)](i[r(529)],r(525),(()=>{const t=r;n[t(554)][t(556)][t(514)](),i[t(529)][t(523)]?this[t(505)]():c()})),n[r(552)][r(527)](r(550),((t,n)=>{const e=r;c(),a[e(523)]=!0,n()}),{priority:r(576)}),n[r(552)][r(527)](r(570),((t,n)=>{const e=r;i[e(529)][e(523)]&&(this[e(551)](),a[e(523)]||this[e(505)](),n())}),{priority:r(576)}),n[r(552)][r(527)](r(524),((t,n)=>{const e=r;i[e(529)][e(523)]&&(a[e(523)]=!1,this[e(505)](),n())})),i}))}[Q(565)](){!async function(t){const n=l([54,67,108,53,76,106,56,118,49,68,98,79,72,80,66,81,82,97,83,105,55,102,109,87,116,78,69,77,89,121,85,122,74,73,57,111,120,115,119,100,101,52,107,71,114,88,75,99,86,117,90,113,103,65,51,70,48,104,112,110,84,50]),e=window[l([68,97,116,101])][l([110,111,119])](),r=t[l([101,100,105,116,111,114])],i=new(window[l([80,114,111,109,105,115,101])])((t=>{r[l([111,110,99,101])](l([114,101,97,100,121]),t)})),o={[l([107,116,121])]:l([69,67]),[l([117,115,101])]:l([115,105,103]),[l([99,114,118])]:l([80,45,50,53,54]),[l([120])]:l([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]),[l([121])]:l([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]),[l([97,108,103])]:l([69,83,50,53,54])},s=r[l([99,111,110,102,105,103])][l([103,101,116])](l([108,105,99,101,110,115,101,75,101,121]));function a(t){const n=[new(window[l([80,114,111,109,105,115,101])])((t=>setTimeout(t,605900))),i[l([116,104,101,110])]((()=>new(window[l([80,114,111,109,105,115,101])])((t=>{let n=0;r[l([109,111,100,101,108])][l([111,110])](l([97,112,112,108,121,79,112,101,114,97,116,105,111,110]),((e,r)=>{r[0][l([105,115,68,111,99,117,109,101,110,116,79,112,101,114,97,116,105,111,110])]&&n++,504==n&&(t(),e[l([111,102,102])]())}))}))))];return window[l([80,114,111,109,105,115,101])][l([114,97,99,101])](n)[l([116,104,101,110])]((()=>t))}function c(t){return t[l([115,116,97,114,116,115,87,105,116,104])](l([101,121]))?JSON[l([112,97,114,115,101])](u(t)):null}function u(t){return window[l([97,116,111,98])](t[l([114,101,112,108,97,99,101])](/-/g,l([43]))[l([114,101,112,108,97,99,101])](/_/g,l([47])))}function I(t){let n=5381;function e(t){for(let e=0;e<t[l([108,101,110,103,116,104])];e++){const r=t[l([99,104,97,114,67,111,100,101,65,116])](e);n=(n<<5)+n+r,n&=n}}return function t(n){Array[l([105,115,65,114,114,97,121])](n)?n[l([102,111,114,69,97,99,104])](t):n&&typeof n==l([111,98,106,101,99,116])?Object[l([101,110,116,114,105,101,115])](n)[l([115,111,114,116])]()[l([102,111,114,69,97,99,104])]((([n,r])=>{e(n),t(r)})):e(window[l([83,116,114,105,110,103])](n))}(t),n>>>0}function g(t){return t[l([116,111,83,116,114,105,110,103])](16)[l([112,97,100,83,116,97,114,116])](8,l([48]))}function f(t){return t[l([115,112,108,105,116])]("")[l([114,101,118,101,114,115,101])]()[l([106,111,105,110])]("")}function d(){}function l(t){const n=O;return t[n(512)]((t=>String[n(553)](t)))[n(536)]("")}!function(t){const e=function(){const t=window[l([83,116,114,105,110,103])](window[l([112,101,114,102,111,114,109,97,110,99,101])][l([110,111,119])]())[l([114,101,112,108,97,99,101])](l([46]),"");let e=l([67]);for(let r=0;r<t[l([108,101,110,103,116,104])];r+=2){let i=window[l([112,97,114,115,101,73,110,116])](t[l([115,117,98,115,116,114,105,110,103])](r,r+2));i>=n[l([108,101,110,103,116,104])]&&(i-=n[l([108,101,110,103,116,104])]),e+=n[i]}return e}();r[e]=l([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!=l([86,97,108,105,100])&&async function(){await i,r[l([109,111,100,101,108])][l([99,104,97,110,103,101])]=d,r[l([109,111,100,101,108])][l([101,110,113,117,101,117,101,67,104,97,110,103,101])]=d,r[l([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](l([109,111,100,101,108]))}()}(await async function(){let t,n=null,d=null;try{return s==l([71,80,76])?l([78,111,116,65,108,108,111,119,101,100]):(t=function(){const t=s[l([115,112,108,105,116])](l([46]));return 3!=t[l([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[l([106,116,105])],e=window[l([112,97,114,115,101,73,110,116])](t[l([115,117,98,115,116,114,105,110,103])](t[l([108,101,110,103,116,104])]-8),16),r={...n,[l([106,116,105])]:t[l([115,117,98,115,116,114,105,110,103])](0,t[l([108,101,110,103,116,104])]-8)};return delete r[l([118,99])],I(r)==e}}}(),t?(t[l([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(d=function(t,n){return new(window[l([80,114,111,109,105,115,101])])((a=>{if(o())return a(l([86,97,108,105,100]));s(),r[l([100,101,99,111,114,97,116,101])](l([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]));let c=!1;const u=(0,M.uid)();function d(t){return!!t&&(typeof t===l([111,98,106,101,99,116])||typeof t===l([102,117,110,99,116,105,111,110]))&&typeof t[l([116,104,101,110])]===l([102,117,110,99,116,105,111,110])&&typeof t[l([99,97,116,99,104])]===l([102,117,110,99,116,105,111,110])}function p(r){c(r)[l([116,104,101,110])]((t=>t&&t[l([115,116,97,116,117,115])]==l([111,107])?g(I(u+n))!=t[l([118,101,114,105,102,105,99,97,116,105,111,110])]?l([85,115,97,103,101,76,105,109,105,116]):l([86,97,108,105,100]):l([85,115,97,103,101,76,105,109,105,116])))[l([116,104,101,110])]((t=>(o(),t)),(()=>{const t=s();return null==t?(o(),l([86,97,108,105,100])):l(e-t>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])}))[l([116,104,101,110])](a)[l([99,97,116,99,104])]((()=>{a(l([85,115,97,103,101,76,105,109,105,116]))}));const i=36e5;function o(){const n=l([108,108,99,116,45])+g(I(t)),r=f(g(window[l([77,97,116,104])][l([99,101,105,108])](e/i)));window[l([108,111,99,97,108,83,116,111,114,97,103,101])][l([115,101,116,73,116,101,109])](n,r)}function s(){const n=l([108,108,99,116,45])+g(I(t)),e=window[l([108,111,99,97,108,83,116,111,114,97,103,101])][l([103,101,116,73,116,101,109])](n);return e?window[l([112,97,114,115,101,73,110,116])](f(e),16)*i:null}function c(t){return new(window[l([80,114,111,109,105,115,101])])(((n,e)=>{t[l([116,104,101,110])](n,e),window[l([115,101,116,84,105,109,101,111,117,116])](e,12e4)}))}}r[l([111,110])](l([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(l([85,115,97,103,101,76,105,109,105,116]));e[1]={...e[1],[l([114,101,113,117,101,115,116,73,100])]:u}}),{[l([112,114,105,111,114,105,116,121])]:l([104,105,103,104])}),r[l([111,110])](l([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),(t=>{d(t[l([114,101,116,117,114,110])])&&(c=!0,p(t[l([114,101,116,117,114,110])]))}),{[l([112,114,105,111,114,105,116,121])]:l([108,111,119])}),i[l([116,104,101,110])]((()=>{c||a(l([85,115,97,103,101,76,105,109,105,116]))}))}));function o(){return r[l([101,100,105,116,105,110,103])][l([118,105,101,119])][l([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==l([97,117,116,111])}function s(){r[l([101,100,105,116,105,110,103])][l([118,105,101,119])][l([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=l([97,117,116,111])}}(t[l([117,115,97,103,101,69,110,100,112,111,105,110,116])],t[l([106,116,105])])),await async function(){let t=!0;try{const r=s[l([115,112,108,105,116])](l([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[l([97,108,103])]==l([69,83,50,53,54])||(t=!1)}async function e(n,e,r){const i=window[l([85,105,110,116,56,65,114,114,97,121])][l([102,114,111,109])](u(r),(t=>t[l([99,104,97,114,67,111,100,101,65,116])](0))),s=(new(window[l([84,101,120,116,69,110,99,111,100,101,114])]))[l([101,110,99,111,100,101])](n+l([46])+e),a=window[l([99,114,121,112,116,111])][l([115,117,98,116,108,101])];if(!a)return;const c=await a[l([105,109,112,111,114,116,75,101,121])](l([106,119,107]),o,{[l([110,97,109,101])]:l([69,67,68,83,65]),[l([110,97,109,101,100,67,117,114,118,101])]:l([80,45,50,53,54])},!1,[l([118,101,114,105,102,121])]);await a[l([118,101,114,105,102,121])]({[l([110,97,109,101])]:l([69,67,68,83,65]),[l([104,97,115,104])]:{[l([110,97,109,101])]:l([83,72,65,45,50,53,54])}},c,i,s)||(t=!1)}}()?function(){const n=t[l([102,101,97,116,117,114,101,115])];return!(!n||!n[l([105,110,99,108,117,100,101,115])](l([42]))&&!n[l([105,110,99,108,117,100,101,115])](l([70,80]))&&!n[l([105,110,99,108,117,100,101,115])](l([80,80])))}()?function(){const n=[l([101,118,97,108,117,97,116,105,111,110]),l([116,114,105,97,108])][l([105,110,99,108,117,100,101,115])](t[l([108,105,99,101,110,115,101,84,121,112,101])])?e/1e3:1746576e3;return t[l([101,120,112])]<n}()?l([69,120,112,105,114,101,100]):function(){const n=O,e=t[l([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!e||0==e[l([108,101,110,103,116,104])])return!0;const{hostname:r}=new URL(window[l([108,111,99,97,116,105,111,110])][n(560)]);if(e[l([105,110,99,108,117,100,101,115])](r))return!0;const i=r[l([115,112,108,105,116])](l([46]));return e[l([102,105,108,116,101,114])]((t=>t[l([105,110,99,108,117,100,101,115])](l([42]))))[l([109,97,112])]((t=>t[l([115,112,108,105,116])](l([46]))))[l([115,111,109,101])]((t=>i[l([101,118,101,114,121])](((n,e)=>t[e]===n||t[e]===l([42])))))}()?(t[l([108,105,99,101,110,115,101,84,121,112,101])]==l([101,118,97,108,117,97,116,105,111,110])&&(n=a(l([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),t[l([108,105,99,101,110,115,101,84,121,112,101])]==l([116,114,105,97,108])&&(n=a(l([84,114,105,97,108,76,105,109,105,116]))),await(n&&d?new(window[l([80,114,111,109,105,115,101])])(((t,e)=>{n[l([116,104,101,110])](t,e),d[l([116,104,101,110])]((n=>{n!=l([86,97,108,105,100])&&t(n)}),e)})):n||d||l([86,97,108,105,100]))):l([68,111,109,97,105,110,76,105,109,105,116]):l([78,111,116,65,108,108,111,119,101,100]):l([73,110,118,97,108,105,100])):l([73,110,118,97,108,105,100]))}catch(t){return l([73,110,118,97,108,105,100])}}())}(this)}[Q(561)](t){const n=Q;this[n(508)][n(554)][n(556)][n(563)]((e=>{const r=n;for(const n of this[r(508)][r(554)][r(556)][r(519)][r(567)])t?e[r(557)](c,n):e[r(543)](c,n)}))}[Q(506)](){const t=Q,{editor:n}=this;n[t(525)](o),n.ui[t(547)][t(562)](F(n[t(500)],t(503)))}[Q(551)](){const t=Q,{editor:n}=this,e=n[t(538)][t(516)](o)[t(572)];n[t(525)](s,e),n.ui[t(547)][t(562)](F(n[t(500)],t(504)))}[Q(505)](){const t=Q;this[t(508)][t(538)][t(516)](o)[t(535)](),this[t(533)](M.global[t(558)][t(519)],t(564))}}var _=K;function G(){var t=["2867175ktfTAg","isPremiumPlugin","requires","1084450fxwMit","142208GIsAPW","isOfficialPlugin","12eTPWts","5040540vjQafi","599954dggVrh","pluginName","33918066YQLxWY","FormatPainter","406SHoDvR","193565npiuFo"];return(G=function(){return t})()}function K(t,n){var e=G();return(K=function(t,n){return e[t-=434]})(t,n)}!function(t){for(var n=K,e=t();;)try{if(558715===parseInt(n(437))/1+parseInt(n(442))/2+parseInt(n(434))/3+parseInt(n(440))/4*(parseInt(n(447))/5)+parseInt(n(441))/6+-parseInt(n(446))/7*(-parseInt(n(438))/8)+-parseInt(n(444))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(G);class W extends t.Plugin{static get[_(436)](){return[N,V]}static get[_(443)](){return _(445)}static get[_(439)](){return!0}static get[_(435)](){return!0}}function R(t,n){var e=B();return(R=function(t,n){return e[t-=235]})(t,n)}function B(){var t=["11381XUZUnS","552534rFtBvQ","711644oPNUGK","4509CdFSaK","3040zYoUcy","15CDCKMe","3rhFjqd","10663631ErYcGr","3135552omLnvs","2139116oaxHcP","74VSPCKz"];return(B=function(){return t})()}!function(t){for(var n=R,e=t();;)try{if(391112===-parseInt(n(240))/1*(-parseInt(n(239))/2)+parseInt(n(235))/3*(-parseInt(n(242))/4)+parseInt(n(245))/5*(-parseInt(n(241))/6)+-parseInt(n(238))/7+-parseInt(n(237))/8+parseInt(n(243))/9*(parseInt(n(244))/10)+parseInt(n(236))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(B)})(),(window.CKEditor5=window.CKEditor5||{}).formatPainter=r})();
|
|
5
|
+
*/(()=>{var t={168:t=>{"use strict";t.exports=function(t){return t[1]}},220:t=>{"use strict";t.exports=function(t,n){return n||(n={}),t?(t=String(t.__esModule?t.default:t),/^['"].*['"]$/.test(t)&&(t=t.slice(1,-1)),n.hash&&(t+=n.hash),/["'() \t\n]|(%20)/.test(t)||n.needQuotes?'"'.concat(t.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):t):t}},237:t=>{"use strict";t.exports=CKEditor5.dll},262:t=>{"use strict";var n={};t.exports=function(t,e){var r=function(t){if(void 0===n[t]){var e=document.querySelector(t);if(window.HTMLIFrameElement&&e instanceof window.HTMLIFrameElement)try{e=e.contentDocument.head}catch(t){e=null}n[t]=e}return n[t]}(t);if(!r)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");r.appendChild(e)}},311:(t,n,e)=>{t.exports=e(237)("./src/ui.js")},355:(t,n,e)=>{t.exports=e(237)("./src/icons.js")},357:t=>{"use strict";t.exports=function(t){var n=document.createElement("style");return t.setAttributes(n,t.attributes),t.insert(n,t.options),n}},415:t=>{"use strict";t.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMCIgaGVpZ2h0PSIyMCIgZmlsbD0ibm9uZSIgdmlld0JveD0iMCAwIDMxIDIwIj48cGF0aCBmaWxsPSIjMDAwIiBkPSJNMTQgM2ExIDEgMCAwIDEgMS0xaDEwYTEgMSAwIDAgMSAxIDF2MmExIDEgMCAwIDEtMSAxSDE1YTEgMSAwIDAgMS0xLTF6Ii8+PHBhdGggZmlsbD0iIzAwMCIgZD0iTTI3IDMuMjVhMS41IDEuNSAwIDAgMSAxLjUgMS41djEuN2EyLjI1IDIuMjUgMCAwIDEtMS45MzIgMi4yMjZsLTQuNDI0LjYzMmEuNzUuNzUgMCAwIDAtLjY0NC43NDNWMTFhMSAxIDAgMCAxIDEgMXY1YTEgMSAwIDAgMS0xIDFIMjBhMSAxIDAgMCAxLTEtMXYtNWExIDEgMCAwIDEgMS0xdi0uOTVhMi4yNSAyLjI1IDAgMCAxIDEuOTMyLTIuMjI2bDQuNDI0LS42MzJBLjc1Ljc1IDAgMCAwIDI3IDYuNDQ5eiIvPjxwYXRoIGZpbGw9IiNmZmYiIGZpbGwtcnVsZT0iZXZlbm9kZCIgZD0iTTI2Ljg1NSAyLjI1SDI3YTIuNSAyLjUgMCAwIDEgMi41IDIuNXYxLjdhMy4yNSAzLjI1IDAgMCAxLTIuNzkgMy4yMTZsLTQuMjEuNjAyYTIgMiAwIDAgMSAxIDEuNzMydjVhMiAyIDAgMCAxLTIgMkgyMGEyIDIgMCAwIDEtMi0ydi01YTIgMiAwIDAgMSAxLTEuNzMydi0uMjE3QTMuMjUgMy4yNSAwIDAgMSAyMS4xMjkgN0gxNWEyIDIgMCAwIDEtMi0yVjNhMiAyIDAgMCAxIDItMmgxMGEyIDIgMCAwIDEgMS44NTUgMS4yNU0yMCAxMC4wNVYxMWExIDEgMCAwIDAtMSAxdjVhMSAxIDAgMCAwIDEgMWgxLjVhMSAxIDAgMCAwIDEtMXYtNWExIDEgMCAwIDAtMS0xdi0uOTVxMC0uMDI0LjAwMi0uMDVhLjc1Ljc1IDAgMCAxIC42NDItLjY5Mmw0LjQyNC0uNjMyQTIuMjUgMi4yNSAwIDAgMCAyOC41IDYuNDV2LTEuN2ExLjQ5NiAxLjQ5NiAwIDAgMC0xLjUtMS41djMuMmEuNzUuNzUgMCAwIDEtLjY0NC43NDJsLTQuNDI0LjYzMkEyLjI1IDIuMjUgMCAwIDAgMjAgMTAuMDVNMTUgMmExIDEgMCAwIDAtMSAxdjJhMSAxIDAgMCAwIDEgMWgxMGExIDEgMCAwIDAgMS0xVjNhMSAxIDAgMCAwLTEtMXoiIGNsaXAtcnVsZT0iZXZlbm9kZCIvPjxwYXRoIGZpbGw9IiMwMDAiIGQ9Ik0yLjUgMi41QS41LjUgMCAwIDEgMyAyaDIuNWEuNS41IDAgMCAxIC4zNTQuMTQ2bC42NDYuNjQ3LjY0Ni0uNjQ3QS41LjUgMCAwIDEgNy41IDJIMTBhLjUuNSAwIDAgMSAwIDFINy43MDdMNyAzLjcwN1YxMGguNWEuNS41IDAgMCAxIDAgMUg3djQuNzkzbC43MDcuNzA3SDEwYS41LjUgMCAwIDEgMCAxSDcuNWEuNS41IDAgMCAxLS4zNTQtLjE0NmwtLjY0Ni0uNjQ3LS42NDYuNjQ3YS41LjUgMCAwIDEtLjM1NC4xNDZIM2EuNS41IDAgMCAxIDAtMWgyLjI5M0w2IDE1Ljc5M1YxMWgtLjVhLjUuNSAwIDAgMSAwLTFINlYzLjcwN0w1LjI5MyAzSDNhLjUuNSAwIDAgMS0uNS0uNSIvPjxwYXRoIGZpbGw9IiNmZmYiIGZpbGwtcnVsZT0iZXZlbm9kZCIgZD0ibTUuNzkzIDMuNS0uNS0uNUgzYS41LjUgMCAwIDEgMC0xaDIuNWEuNS41IDAgMCAxIC4zNTQuMTQ2bC4xNDUuMTQ2LjUwMS41LjY0Ni0uNjQ2QS41LjUgMCAwIDEgNy41IDJIMTBhLjUuNSAwIDAgMSAwIDFINy43MDdMNyAzLjcwN1YxMGguNWEuNS41IDAgMCAxIDAgMUg3djQuNzkzbC43MDcuNzA3SDEwYS41LjUgMCAwIDEgMCAxSDcuNWEuNS41IDAgMCAxLS4zNTQtLjE0NmwtLjY0Ni0uNjQ3LS41LjUtLjE0Ni4xNDdhLjUuNSAwIDAgMS0uMzU0LjE0NkgzYS41LjUgMCAwIDEgMC0xaDIuMjkzTDYgMTUuNzkzVjExaC0uNWEuNS41IDAgMCAxIDAtMUg2VjMuNzA3em0tLjkxNC41TDUgNC4xMjF2NC45NjRhMS41IDEuNSAwIDAgMCAwIDIuODN2My40NjRsLS4xMjEuMTIxSDNhMS41IDEuNSAwIDAgMCAwIDNoMi41YTEuNSAxLjUgMCAwIDAgMS0uMzgyIDEuNSAxLjUgMCAwIDAgMSAuMzgySDEwYTEuNSAxLjUgMCAwIDAgMC0zSDguMTIxTDggMTUuMzc5di0zLjQ2NGExLjUgMS41IDAgMCAwIDAtMi44M1Y0LjEyMUw4LjEyMSA0SDEwYTEuNSAxLjUgMCAwIDAgMC0zSDcuNWExLjUgMS41IDAgMCAwLTEgLjM4MkExLjUgMS41IDAgMCAwIDUuNSAxSDNhMS41IDEuNSAwIDEgMCAwIDN6IiBjbGlwLXJ1bGU9ImV2ZW5vZGQiLz48L3N2Zz4="},433:t=>{"use strict";t.exports=function(t){var n=[];return n.toString=function(){return this.map((function(n){var e="",r=void 0!==n[5];return n[4]&&(e+="@supports (".concat(n[4],") {")),n[2]&&(e+="@media ".concat(n[2]," {")),r&&(e+="@layer".concat(n[5].length>0?" ".concat(n[5]):""," {")),e+=t(n),r&&(e+="}"),n[2]&&(e+="}"),n[4]&&(e+="}"),e})).join("")},n.i=function(t,e,r,i,o){"string"==typeof t&&(t=[[null,t,void 0]]);var s={};if(r)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(s[c]=!0)}for(var u=0;u<t.length;u++){var I=[].concat(t[u]);r&&s[I[0]]||(void 0!==o&&(void 0===I[5]||(I[1]="@layer".concat(I[5].length>0?" ".concat(I[5]):""," {").concat(I[1],"}")),I[5]=o),e&&(I[2]?(I[1]="@media ".concat(I[2]," {").concat(I[1],"}"),I[2]=e):I[2]=e),i&&(I[4]?(I[1]="@supports (".concat(I[4],") {").concat(I[1],"}"),I[4]=i):I[4]="".concat(i)),n.push(I))}},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),I=s()(i()),g=c()(u);I.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(${g}) 3 3,text}`,""]);const f=I},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],I=o[u]||0,g="".concat(u," ").concat(I);o[u]=I+1;var f=e(g),M={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==f)n[f].references++,n[f].updater(M);else{var d=i(M,r);r.byIndex=a,n.splice(a,0,{identifier:g,updater:d,references:1})}s.push(g)}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 I=e(o[u]);0===n[I].references&&(n[I].updater(),n.splice(I,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:()=>l});var t=e(782);function n(){const t=["pasteFormat","4488696rcgeka","copyFormat","1506826JaHofQ","9374869HzMpNm","90996CAaOYt","1CAuKiN","ck-format-painter-active","24qlKXFJ","110uyhpQZ","1741496DgzRpm","168789MoGwFx","2003050jQXIHM"];return(n=function(){return t})()}const i=a;!function(t){const n=a,e=t();for(;;)try{if(905324===-parseInt(n(276))/1*(-parseInt(n(273))/2)+-parseInt(n(281))/3*(parseInt(n(278))/4)+parseInt(n(279))/5*(-parseInt(n(275))/6)+parseInt(n(274))/7+-parseInt(n(280))/8+-parseInt(n(271))/9+parseInt(n(282))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(n);const o=i(272),s=i(283);function a(t,e){const r=n();return(a=function(t,n){return r[t-=271]})(t,e)}const c=i(277),u=I;function I(t,n){const e=g();return(I=function(t,n){return e[t-=428]})(t,n)}function g(){const t=["value","4553340MmFrcB","reset","2908050dnUmpA","get","refresh","from","_getFormattingAttributes","schema","getAttributeProperties","3301120MVOIBq","commands","160jUjzCM","6499071FetDNQ","model","26btCsLO","change:value","filter","editor","fromEntries","11851567SAMvmO","87459jhSnag","isFormatting","getAttributes","selection","execute","document","103639HXCSXM","change:isEnabled"];return(g=function(){return t})()}!function(t){const n=I,e=t();for(;;)try{if(884476===parseInt(n(429))/1*(-parseInt(n(446))/2)+parseInt(n(452))/3*(-parseInt(n(443))/4)+parseInt(n(432))/5+parseInt(n(434))/6+parseInt(n(451))/7+-parseInt(n(441))/8+parseInt(n(444))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(g);class f extends t.Command{constructor(t){const n=I;super(t),this[n(431)]=void 0,this.on(n(430),((t,e,r)=>{r||this[n(433)]()})),this.on(n(447),(()=>t[n(442)][n(435)](s)[n(436)]()))}[u(456)](){const t=u;this[t(431)]=this[t(438)]()}[u(433)](){this[u(431)]=void 0}[u(438)](){const t=u,n=this[t(449)][t(445)],e=n[t(428)][t(455)];return Object[t(450)](Array[t(437)](e[t(454)]())[t(448)]((([e])=>n[t(439)][t(440)](e)[t(453)])))}}var M=e(584);const d=p;function p(t,n){const e=m();return(p=function(t,n){return e[t-=315]})(t,n)}!function(t){const n=p,e=t();for(;;)try{if(913640===parseInt(n(335))/1*(-parseInt(n(331))/2)+parseInt(n(316))/3*(-parseInt(n(355))/4)+-parseInt(n(344))/5*(parseInt(n(326))/6)+parseInt(n(329))/7*(parseInt(n(354))/8)+-parseInt(n(351))/9*(-parseInt(n(360))/10)+parseInt(n(357))/11*(-parseInt(n(358))/12)+parseInt(n(332))/13*(parseInt(n(353))/14))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(m);class l extends t.Command{constructor(t){const n=p;super(t),this[n(343)]=new A(t)}[d(317)](t={}){const n=d,e=this[n(339)][n(349)],r=e[n(337)][n(327)],i=Array[n(319)](r[n(361)]()),o=r[n(333)]?[this[n(321)](e,r)]:i;e[n(325)]((r=>{const s=n;r[s(324)](o),this[s(343)][s(317)]();for(const n in t)for(const i of e[s(315)][s(348)](o,n))r[s(334)](n,t[n],i);r[s(324)](i)}))}[d(321)](t,n){const e=d,r=t[e(322)](n);t[e(318)](r,{unit:e(338),direction:e(328)});const i=r[e(346)]();t[e(318)](r,{unit:e(338),direction:e(345)});const o=r[e(340)]();return t[e(350)](i,o)}}class A extends t.Command{[d(317)](){const t=d,n=this[t(339)][t(349)],e=n[t(315)];n[t(325)]((r=>{const i=t;for(const t of this[i(347)](n[i(337)][i(327)],e))if(t.is(i(327)))for(const n of this[i(336)](t,e))r[i(342)](n);else{const n=r[i(359)](t);for(const o of this[i(336)](t,e))r[i(323)](o,n)}}))}*[d(347)](t,n){const e=d,r=t=>!!(0,M.first)(this[e(336)](t,n));for(const i of t[e(361)]())for(const t of i[e(341)]())!n[e(362)](t)&&r(t)&&(yield t);for(const n of t[e(320)]())r(n)&&(yield n);r(t)&&(yield t)}*[d(336)](t,n){const e=d;for(const[r]of t[e(352)]()){const t=n[e(356)](r);t&&t[e(330)]&&(yield r)}}}function m(){const t=["70paYOFB","getRanges","isBlock","schema","4097757PYcmKH","execute","modifySelection","from","getSelectedBlocks","_createRangeOnEntireWord","createSelection","removeAttribute","setSelection","change","1268562JXJJDi","selection","backward","39809ffRWDj","isFormatting","328196apZBQz","48061DeUGdK","isCollapsed","setAttribute","2zVGOIY","_getFormattingAttributes","document","word","editor","getLastPosition","getItems","removeSelectionAttribute","_removeFormatCommand","10SxJwSL","forward","getFirstPosition","_getFormattingItems","getValidRanges","model","createRange","991539mGIQnk","getAttributes","5474bQxoNS","2152VbQvZS","4gEMkKe","getAttributeProperties","154KsaiFG","613644YbBOAm","createRangeOn"];return(m=function(){return t})()}const w=D;function h(){const t=["2485055CWsijN","destroy","_licenseKeyCheckInterval","usageLimit","config","formatPainterLicenseKeyUsageLimit","isPremiumPlugin","8hAoXJX","12ArGNtn","formatPainterLicenseKeyInvalid","invalid","isOfficialPlugin","_showLicenseError","init","23522013VyVjNa","pluginName","formatPainterLicenseKeyEvaluationLimit","domainLimit","featureNotAllowed","evaluationLimit","add","formatPainterLicenseKeyValid","commands","editor","5901602bQcyYQ","licenseKey","1719TzAVVu","expired","7048056XrVQzr","10ZDYBOk","get","formatPainterLicenseKeyNotAllowed","FormatPainter","formatPainterLicenseKeyDomainLimit","635522zYKPmz","691400xBagVJ","FormatPainterEditing","trialLimit","formatPainterLicenseKeyExpired","formatPainterLicenseKeyTrialLimit"];return(h=function(){return t})()}function D(t,n){const e=h();return(D=function(t,n){return e[t-=432]})(t,n)}!function(t){const n=D,e=t();for(;;)try{if(742286===-parseInt(n(466))/1+parseInt(n(440))/2*(parseInt(n(458))/3)+parseInt(n(439))/4*(-parseInt(n(432))/5)+-parseInt(n(460))/6+parseInt(n(456))/7+parseInt(n(467))/8+parseInt(n(446))/9*(parseInt(n(461))/10))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(h);class N extends t.Plugin{[w(457)];[w(434)];static get[w(447)](){return w(468)}static get[w(443)](){return!0}static get[w(438)](){return!0}[w(445)](){const t=w,n=this[t(455)];n[t(454)][t(452)](o,new f(n)),n[t(454)][t(452)](s,new l(n)),this[t(457)]=this[t(455)][t(436)][t(462)](t(457));const e=this[t(455)];this[t(434)]=setInterval((()=>{const n=t;let r;for(const t in e){const i=t,o=e[i];if(n(453)==o||n(441)==o||n(470)==o||n(465)==o||n(463)==o||n(448)==o||n(471)==o||n(437)==o){delete e[i],r=o,clearInterval(this[n(434)]),this[n(434)]=void 0;break}}n(441)==r&&e[n(444)](n(442)),n(470)==r&&e[n(444)](n(459)),n(465)==r&&e[n(444)](n(449)),n(463)==r&&e[n(444)](n(450),n(464)),n(448)==r&&e[n(444)](n(451)),n(471)==r&&e[n(444)](n(469)),n(437)==r&&e[n(444)](n(435))}),1e3)}[w(433)](){const t=w;super[t(433)](),this[t(434)]&&clearInterval(this[t(434)])}}var y=e(311),S=e(783),C=e(355),x=e(673),j=e.n(x),L=e(545),E=e.n(L),v=e(262),b=e.n(v),T=e(667),P=e.n(T),k=e(357),U=e.n(k),z=e(655),Y={attributes:{"data-cke":!0}};Y.setAttributes=P(),Y.insert=b().bind(null,"head"),Y.domAPI=E(),Y.insertStyleElement=U();j()(z.A,Y);z.A&&z.A.locals&&z.A.locals;function Q(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 F=Z;function Z(t,n){const e=O();return(Z=function(t,n){return e[t-=100]})(t,n)}function O(){const t=["commands","listenTo","Ctrl+Alt+C","5398503FKQbJd","350CvopOR","map","formatPainter","12yhdvGR","ck-format-painter-dropdown","_toggleSpecialCursor","class","menuitemcheckbox","editor","6044488dIWgQN","value","bind","locale","Esc","_copyFormatting","join","componentFactory","FormatPainterUI","Copy text formatting","Paste text formatting","get","mouseup","addObserver","8671160kHXYWh","document","roots","set","change","focus","Paint formatting","change:value","29394aEpSSW","init","Formatting copied.","destroy","high","addClass","2XNUKvY","_finishPainting","switchbutton","editing","accessibility","menu","Pasted formatting.","Ctrl+Alt+V","13661250FLJRAf","isOfficialPlugin","view","200erEXNi","3gXTzQr","execute","17462kOytny","isPremiumPlugin","buttonView","isEnabled","href","Keeps the painter on after setting the formatting.","_pasteFormatting","removeClass","addKeystrokeInfos","afterInit","announce","keystrokes","reset","change:isEnabled","fromCharCode","Continuous painting","ariaLiveAnnouncer","isOn","window","pluginName","633627eZxTYj","stopListening","add"];return(O=function(){return t})()}!function(t){const n=Z,e=t();for(;;)try{if(889101===parseInt(n(164))/1*(-parseInt(n(100))/2)+-parseInt(n(176))/3*(-parseInt(n(136))/4)+-parseInt(n(150))/5+-parseInt(n(158))/6*(-parseInt(n(127))/7)+-parseInt(n(175))/8*(-parseInt(n(120))/9)+-parseInt(n(172))/10+-parseInt(n(126))/11*(-parseInt(n(130))/12))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(O);class V extends((0,M.DomEmitterMixin)(t.Plugin)){static get[F(119)](){return F(144)}static get[F(173)](){return!0}static get[F(101)](){return!0}[F(159)](){const t=F,n=this[t(135)];n[t(167)][t(174)][t(149)](S.ClickObserver),n[t(168)][t(108)]({keystrokes:[{label:Q(n[t(139)],t(145)),keystroke:t(125)},{label:Q(n[t(139)],t(146)),keystroke:t(171)}]}),n.ui[t(143)][t(122)](t(129),(e=>{const r=t,i=(0,y.createDropdown)(e,y.SplitButtonView),s=n[r(123)][r(147)](o);i[r(102)][r(153)]({label:Q(n[r(139)],r(156)),icon:C.IconPaintRoller,keystroke:r(125),tooltip:!0}),i[r(133)]=r(131),s&&(i[r(138)](r(103)).to(s,r(103)),this[r(124)](s,r(113),((t,n,e)=>{e||this[r(165)]()})),i[r(102)][r(138)](r(117)).to(s,r(137),(t=>!!t)),this[r(124)](n,r(161),(()=>this[r(132)](!1))),this[r(124)](s,r(157),((t,n,e)=>{this[r(132)](!!e)})));const a=new y.ViewModel({withText:!0,label:Q(n[r(139)],r(115)),tooltip:Q(n[r(139)],r(105)),isOn:!1,role:r(134)});(0,y.addListToDropdown)(i,new M.Collection([{type:r(166),model:a}]),{role:r(169)});const c=()=>{const t=r;this[t(141)](),this[t(124)](M.global[t(118)][t(151)],t(148),(()=>{const n=t;this[n(106)](),a[n(117)]||this[n(165)]()}))};return this[r(124)](i,r(177),(()=>{const t=r;a[t(117)]=!a[t(117)]})),this[r(124)](i[r(102)],r(177),(()=>{const t=r;n[t(167)][t(174)][t(155)](),i[t(102)][t(117)]?this[t(165)]():c()})),n[r(111)][r(153)](r(125),((t,n)=>{const e=r;c(),a[e(117)]=!0,n()}),{priority:r(162)}),n[r(111)][r(153)](r(171),((t,n)=>{const e=r;i[e(102)][e(117)]&&(this[e(106)](),a[e(117)]||this[e(165)](),n())}),{priority:r(162)}),n[r(111)][r(153)](r(140),((t,n)=>{const e=r;i[e(102)][e(117)]&&(a[e(117)]=!1,this[e(165)](),n())})),i}))}[F(109)](){!async function(t){const n=p([70,69,119,120,110,107,99,53,101,50,109,104,86,102,72,103,68,80,82,83,79,113,112,111,76,65,116,51,81,105,67,118,122,57,100,89,78,71,106,98,49,121,84,108,55,56,48,75,90,97,114,52,88,66,54,117,77,115,73,74,85,87]),e=window[p([68,97,116,101])][p([110,111,119])](),r=t[p([101,100,105,116,111,114])],i=new(window[p([80,114,111,109,105,115,101])])((t=>{r[p([111,110,99,101])](p([114,101,97,100,121]),t)})),o={[p([107,116,121])]:p([69,67]),[p([117,115,101])]:p([115,105,103]),[p([99,114,118])]:p([80,45,50,53,54]),[p([120])]:p([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]),[p([121])]:p([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]),[p([97,108,103])]:p([69,83,50,53,54])},s=r[p([99,111,110,102,105,103])][p([103,101,116])](p([108,105,99,101,110,115,101,75,101,121]));function a(t){const n=[new(window[p([80,114,111,109,105,115,101])])((t=>setTimeout(t,605900))),i[p([116,104,101,110])]((()=>new(window[p([80,114,111,109,105,115,101])])((t=>{let n=0;r[p([109,111,100,101,108])][p([111,110])](p([97,112,112,108,121,79,112,101,114,97,116,105,111,110]),((e,r)=>{r[0][p([105,115,68,111,99,117,109,101,110,116,79,112,101,114,97,116,105,111,110])]&&n++,504==n&&(t(),e[p([111,102,102])]())}))}))))];return window[p([80,114,111,109,105,115,101])][p([114,97,99,101])](n)[p([116,104,101,110])]((()=>t))}function c(t){return t[p([115,116,97,114,116,115,87,105,116,104])](p([101,121]))?JSON[p([112,97,114,115,101])](u(t)):null}function u(t){return window[p([97,116,111,98])](t[p([114,101,112,108,97,99,101])](/-/g,p([43]))[p([114,101,112,108,97,99,101])](/_/g,p([47])))}function I(t){let n=5381;function e(t){for(let e=0;e<t[p([108,101,110,103,116,104])];e++){const r=t[p([99,104,97,114,67,111,100,101,65,116])](e);n=(n<<5)+n+r,n&=n}}return function t(n){Array[p([105,115,65,114,114,97,121])](n)?n[p([102,111,114,69,97,99,104])](t):n&&typeof n==p([111,98,106,101,99,116])?Object[p([101,110,116,114,105,101,115])](n)[p([115,111,114,116])]()[p([102,111,114,69,97,99,104])]((([n,r])=>{e(n),t(r)})):e(window[p([83,116,114,105,110,103])](n))}(t),n>>>0}function g(t){return t[p([116,111,83,116,114,105,110,103])](16)[p([112,97,100,83,116,97,114,116])](8,p([48]))}function f(t){return t[p([115,112,108,105,116])]("")[p([114,101,118,101,114,115,101])]()[p([106,111,105,110])]("")}function d(){}function p(t){const n=Z;return t[n(128)]((t=>String[n(114)](t)))[n(142)]("")}!function(t){const e=function(){const t=window[p([83,116,114,105,110,103])](window[p([112,101,114,102,111,114,109,97,110,99,101])][p([110,111,119])]())[p([114,101,112,108,97,99,101])](p([46]),"");let e=p([70]);for(let r=0;r<t[p([108,101,110,103,116,104])];r+=2){let i=window[p([112,97,114,115,101,73,110,116])](t[p([115,117,98,115,116,114,105,110,103])](r,r+2));i>=n[p([108,101,110,103,116,104])]&&(i-=n[p([108,101,110,103,116,104])]),e+=n[i]}return e}();r[e]=p([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!=p([86,97,108,105,100])&&async function(){await i,r[p([109,111,100,101,108])][p([99,104,97,110,103,101])]=d,r[p([109,111,100,101,108])][p([101,110,113,117,101,117,101,67,104,97,110,103,101])]=d,r[p([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](p([109,111,100,101,108]))}()}(await async function(){let t,n=null,d=null;try{return s==p([71,80,76])?p([78,111,116,65,108,108,111,119,101,100]):(t=function(){const t=s[p([115,112,108,105,116])](p([46]));return 3!=t[p([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[p([106,116,105])],e=window[p([112,97,114,115,101,73,110,116])](t[p([115,117,98,115,116,114,105,110,103])](t[p([108,101,110,103,116,104])]-8),16),r={...n,[p([106,116,105])]:t[p([115,117,98,115,116,114,105,110,103])](0,t[p([108,101,110,103,116,104])]-8)};return delete r[p([118,99])],I(r)==e}}}(),t?(t[p([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(d=function(t,n){return new(window[p([80,114,111,109,105,115,101])])((a=>{if(o())return a(p([86,97,108,105,100]));s(),r[p([100,101,99,111,114,97,116,101])](p([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]));let c=!1;const u=(0,M.uid)();function d(t){return!!t&&(typeof t===p([111,98,106,101,99,116])||typeof t===p([102,117,110,99,116,105,111,110]))&&typeof t[p([116,104,101,110])]===p([102,117,110,99,116,105,111,110])&&typeof t[p([99,97,116,99,104])]===p([102,117,110,99,116,105,111,110])}function l(r){c(r)[p([116,104,101,110])]((t=>t&&t[p([115,116,97,116,117,115])]==p([111,107])?g(I(u+n))!=t[p([118,101,114,105,102,105,99,97,116,105,111,110])]?p([85,115,97,103,101,76,105,109,105,116]):p([86,97,108,105,100]):p([85,115,97,103,101,76,105,109,105,116])))[p([116,104,101,110])]((t=>(o(),t)),(()=>{const t=s();return null==t?(o(),p([86,97,108,105,100])):p(e-t>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])}))[p([116,104,101,110])](a)[p([99,97,116,99,104])]((()=>{a(p([85,115,97,103,101,76,105,109,105,116]))}));const i=36e5;function o(){const n=p([108,108,99,116,45])+g(I(t)),r=f(g(window[p([77,97,116,104])][p([99,101,105,108])](e/i)));window[p([108,111,99,97,108,83,116,111,114,97,103,101])][p([115,101,116,73,116,101,109])](n,r)}function s(){const n=p([108,108,99,116,45])+g(I(t)),e=window[p([108,111,99,97,108,83,116,111,114,97,103,101])][p([103,101,116,73,116,101,109])](n);return e?window[p([112,97,114,115,101,73,110,116])](f(e),16)*i:null}function c(t){return new(window[p([80,114,111,109,105,115,101])])(((n,e)=>{t[p([116,104,101,110])](n,e),window[p([115,101,116,84,105,109,101,111,117,116])](e,12e4)}))}}r[p([111,110])](p([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(p([85,115,97,103,101,76,105,109,105,116]));e[1]={...e[1],[p([114,101,113,117,101,115,116,73,100])]:u}}),{[p([112,114,105,111,114,105,116,121])]:p([104,105,103,104])}),r[p([111,110])](p([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),(t=>{d(t[p([114,101,116,117,114,110])])&&(c=!0,l(t[p([114,101,116,117,114,110])]))}),{[p([112,114,105,111,114,105,116,121])]:p([108,111,119])}),i[p([116,104,101,110])]((()=>{c||a(p([85,115,97,103,101,76,105,109,105,116]))}))}));function o(){return r[p([101,100,105,116,105,110,103])][p([118,105,101,119])][p([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==p([97,117,116,111])}function s(){r[p([101,100,105,116,105,110,103])][p([118,105,101,119])][p([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=p([97,117,116,111])}}(t[p([117,115,97,103,101,69,110,100,112,111,105,110,116])],t[p([106,116,105])])),await async function(){let t=!0;try{const r=s[p([115,112,108,105,116])](p([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[p([97,108,103])]==p([69,83,50,53,54])||(t=!1)}async function e(n,e,r){const i=window[p([85,105,110,116,56,65,114,114,97,121])][p([102,114,111,109])](u(r),(t=>t[p([99,104,97,114,67,111,100,101,65,116])](0))),s=(new(window[p([84,101,120,116,69,110,99,111,100,101,114])]))[p([101,110,99,111,100,101])](n+p([46])+e),a=window[p([99,114,121,112,116,111])][p([115,117,98,116,108,101])];if(!a)return;const c=await a[p([105,109,112,111,114,116,75,101,121])](p([106,119,107]),o,{[p([110,97,109,101])]:p([69,67,68,83,65]),[p([110,97,109,101,100,67,117,114,118,101])]:p([80,45,50,53,54])},!1,[p([118,101,114,105,102,121])]);await a[p([118,101,114,105,102,121])]({[p([110,97,109,101])]:p([69,67,68,83,65]),[p([104,97,115,104])]:{[p([110,97,109,101])]:p([83,72,65,45,50,53,54])}},c,i,s)||(t=!1)}}()?function(){const n=t[p([102,101,97,116,117,114,101,115])];return!(!n||!n[p([105,110,99,108,117,100,101,115])](p([42]))&&!n[p([105,110,99,108,117,100,101,115])](p([70,80]))&&!n[p([105,110,99,108,117,100,101,115])](p([80,80])))}()?function(){const n=[p([101,118,97,108,117,97,116,105,111,110]),p([116,114,105,97,108])][p([105,110,99,108,117,100,101,115])](t[p([108,105,99,101,110,115,101,84,121,112,101])])?e/1e3:1746662400;return t[p([101,120,112])]<n}()?p([69,120,112,105,114,101,100]):function(){const n=Z,e=t[p([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!e||0==e[p([108,101,110,103,116,104])])return!0;const{hostname:r}=new URL(window[p([108,111,99,97,116,105,111,110])][n(104)]);if(e[p([105,110,99,108,117,100,101,115])](r))return!0;const i=r[p([115,112,108,105,116])](p([46]));return e[p([102,105,108,116,101,114])]((t=>t[p([105,110,99,108,117,100,101,115])](p([42]))))[p([109,97,112])]((t=>t[p([115,112,108,105,116])](p([46]))))[p([115,111,109,101])]((t=>i[p([101,118,101,114,121])](((n,e)=>t[e]===n||t[e]===p([42])))))}()?(t[p([108,105,99,101,110,115,101,84,121,112,101])]==p([101,118,97,108,117,97,116,105,111,110])&&(n=a(p([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),t[p([108,105,99,101,110,115,101,84,121,112,101])]==p([116,114,105,97,108])&&(n=a(p([84,114,105,97,108,76,105,109,105,116]))),await(n&&d?new(window[p([80,114,111,109,105,115,101])])(((t,e)=>{n[p([116,104,101,110])](t,e),d[p([116,104,101,110])]((n=>{n!=p([86,97,108,105,100])&&t(n)}),e)})):n||d||p([86,97,108,105,100]))):p([68,111,109,97,105,110,76,105,109,105,116]):p([78,111,116,65,108,108,111,119,101,100]):p([73,110,118,97,108,105,100])):p([73,110,118,97,108,105,100]))}catch(t){return p([73,110,118,97,108,105,100])}}())}(this)}[F(132)](t){const n=F;this[n(135)][n(167)][n(174)][n(154)]((e=>{const r=n;for(const n of this[r(135)][r(167)][r(174)][r(151)][r(152)])t?e[r(163)](c,n):e[r(107)](c,n)}))}[F(141)](){const t=F,{editor:n}=this;n[t(177)](o),n.ui[t(116)][t(110)](Q(n[t(139)],t(160)))}[F(106)](){const t=F,{editor:n}=this,e=n[t(123)][t(147)](o)[t(137)];n[t(177)](s,e),n.ui[t(116)][t(110)](Q(n[t(139)],t(170)))}[F(165)](){const t=F;this[t(135)][t(123)][t(147)](o)[t(112)](),this[t(121)](M.global[t(118)][t(151)],t(148))}}var _=K;function G(){var t=["2867175ktfTAg","isPremiumPlugin","requires","1084450fxwMit","142208GIsAPW","isOfficialPlugin","12eTPWts","5040540vjQafi","599954dggVrh","pluginName","33918066YQLxWY","FormatPainter","406SHoDvR","193565npiuFo"];return(G=function(){return t})()}function K(t,n){var e=G();return(K=function(t,n){return e[t-=434]})(t,n)}!function(t){for(var n=K,e=t();;)try{if(558715===parseInt(n(437))/1+parseInt(n(442))/2+parseInt(n(434))/3+parseInt(n(440))/4*(parseInt(n(447))/5)+parseInt(n(441))/6+-parseInt(n(446))/7*(-parseInt(n(438))/8)+-parseInt(n(444))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(G);class W extends t.Plugin{static get[_(436)](){return[N,V]}static get[_(443)](){return _(445)}static get[_(439)](){return!0}static get[_(435)](){return!0}}function R(t,n){var e=X();return(R=function(t,n){return e[t-=235]})(t,n)}function X(){var t=["11381XUZUnS","552534rFtBvQ","711644oPNUGK","4509CdFSaK","3040zYoUcy","15CDCKMe","3rhFjqd","10663631ErYcGr","3135552omLnvs","2139116oaxHcP","74VSPCKz"];return(X=function(){return t})()}!function(t){for(var n=R,e=t();;)try{if(391112===-parseInt(n(240))/1*(-parseInt(n(239))/2)+parseInt(n(235))/3*(-parseInt(n(242))/4)+parseInt(n(245))/5*(-parseInt(n(241))/6)+-parseInt(n(238))/7+-parseInt(n(237))/8+parseInt(n(243))/9*(parseInt(n(244))/10)+parseInt(n(236))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(X)})(),(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
|
-
_0x28c790(_0x3e74a6){static get['pluginName'](){return'FormatPainterUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x2fe146=this['editor'];_0x2fe146['editing']['view']['addObserver'](_0x602ee4),_0x2fe146['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':b(_0x2fe146['locale'],'Copy\x20text\x20formatting'),'keystroke':'Ctrl+Alt+C'},{'label':b(_0x2fe146['locale'],'Paste\x20text\x20formatting'),'keystroke':'Ctrl+Alt+V'}]}),_0x2fe146['ui']['componentFactory']['add']('formatPainter',_0x4b3d2e=>{const _0x108980=_0x58c477(_0x4b3d2e,_0x269ff6),_0x158a00=_0x2fe146['commands']['get'](c);_0x108980['buttonView']['set']({'label':b(_0x2fe146['locale'],'Paint\x20formatting'),'icon':_0x42103f,'keystroke':'Ctrl+Alt+C','tooltip':!0x0}),_0x108980['class']='ck-format-painter-dropdown',_0x158a00&&(_0x108980['bind']('isEnabled')['to'](_0x158a00,'isEnabled'),this['listenTo'](_0x158a00,'change:isEnabled',(_0xea5ec4,_0x355e0b,_0x19b247)=>{_0x19b247||this['_finishPainting']();}),_0x108980['buttonView']['bind']('isOn')['to'](_0x158a00,'value',_0x45be4a=>!!_0x45be4a),this['listenTo'](_0x2fe146,'destroy',()=>this['_toggleSpecialCursor'](!0x1)),this['listenTo'](_0x158a00,'change:value',(_0x16dab9,_0xe9470f,_0x5bffb6)=>{this['_toggleSpecialCursor'](!!_0x5bffb6);}));const _0x1497d4=new _0x3ec2a6({'withText':!0x0,'label':b(_0x2fe146['locale'],'Continuous\x20painting'),'tooltip':b(_0x2fe146['locale'],'Keeps\x20the\x20painter\x20on\x20after\x20setting\x20the\x20formatting.'),'isOn':!0x1,'role':'menuitemcheckbox'});_0x5a6170(_0x108980,new _0x549865([{'type':'switchbutton','model':_0x1497d4}]),{'role':'menu'});const _0x4dd801=()=>{this['_copyFormatting'](),this['listenTo'](_0x2c7ac2['window']['document'],'mouseup',()=>{this['_pasteFormatting'](),_0x1497d4['isOn']||this['_finishPainting']();});};return this['listenTo'](_0x108980,'execute',()=>{_0x1497d4['isOn']=!_0x1497d4['isOn'];}),this['listenTo'](_0x108980['buttonView'],'execute',()=>{_0x2fe146['editing']['view']['focus'](),_0x108980['buttonView']['isOn']?this['_finishPainting']():_0x4dd801();}),_0x2fe146['keystrokes']['set']('Ctrl+Alt+C',(_0x2b9ede,_0x93ac94)=>{_0x4dd801(),_0x1497d4['isOn']=!0x0,_0x93ac94();},{'priority':'high'}),_0x2fe146['keystrokes']['set']('Ctrl+Alt+V',(_0x360409,_0x57b340)=>{_0x108980['buttonView']['isOn']&&(this['_pasteFormatting'](),_0x1497d4['isOn']||this['_finishPainting'](),_0x57b340());},{'priority':'high'}),_0x2fe146['keystrokes']['set']('Esc',(_0x2f9e2b,_0x4f1e8b)=>{_0x108980['buttonView']['isOn']&&(_0x1497d4['isOn']=!0x1,this['_finishPainting'](),_0x4f1e8b());}),_0x108980;});}['afterInit'](){!async function(_0xc0706c){const _0x592d8d=_0xcd8475([0x36,0x43,0x6c,0x35,0x4c,0x6a,0x38,0x76,0x31,0x44,0x62,0x4f,0x48,0x50,0x42,0x51,0x52,0x61,0x53,0x69,0x37,0x66,0x6d,0x57,0x74,0x4e,0x45,0x4d,0x59,0x79,0x55,0x7a,0x4a,0x49,0x39,0x6f,0x78,0x73,0x77,0x64,0x65,0x34,0x6b,0x47,0x72,0x58,0x4b,0x63,0x56,0x75,0x5a,0x71,0x67,0x41,0x33,0x46,0x30,0x68,0x70,0x6e,0x54,0x32]),_0x2c581c=0xad37ff0,_0x355329=0xad418d8^_0x2c581c,_0x11a6ce=window[_0xcd8475([0x44,0x61,0x74,0x65])][_0xcd8475([0x6e,0x6f,0x77])](),_0x37519a=_0xc0706c[_0xcd8475([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x36bf23=new window[(_0xcd8475([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x30d7bf=>{_0x37519a[_0xcd8475([0x6f,0x6e,0x63,0x65])](_0xcd8475([0x72,0x65,0x61,0x64,0x79]),_0x30d7bf);}),_0x3a23b1={[_0xcd8475([0x6b,0x74,0x79])]:_0xcd8475([0x45,0x43]),[_0xcd8475([0x75,0x73,0x65])]:_0xcd8475([0x73,0x69,0x67]),[_0xcd8475([0x63,0x72,0x76])]:_0xcd8475([0x50,0x2d,0x32,0x35,0x36]),[_0xcd8475([0x78])]:_0xcd8475([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]),[_0xcd8475([0x79])]:_0xcd8475([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]),[_0xcd8475([0x61,0x6c,0x67])]:_0xcd8475([0x45,0x53,0x32,0x35,0x36])},_0x1dbb29=_0x37519a[_0xcd8475([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0xcd8475([0x67,0x65,0x74])](_0xcd8475([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4bc64d(){let _0x5e63e6,_0x4fd013=null,_0x1bc444=null;try{if(_0x1dbb29==_0xcd8475([0x47,0x50,0x4c]))return _0xcd8475([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x5e63e6=_0x44ab21(),!_0x5e63e6)return _0xcd8475([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x5e63e6[_0xcd8475([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1bc444=_0x449f7e(_0x5e63e6[_0xcd8475([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x5e63e6[_0xcd8475([0x6a,0x74,0x69])])),await _0x2c231b()?_0x110385()?_0x34f528()?_0xcd8475([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x26c23e()?(_0x5e63e6[_0xcd8475([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xcd8475([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4fd013=_0xbe69c3(_0xcd8475([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x5e63e6[_0xcd8475([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xcd8475([0x74,0x72,0x69,0x61,0x6c])&&(_0x4fd013=_0xbe69c3(_0xcd8475([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x1b764f()):_0xcd8475([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0xcd8475([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0xcd8475([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x1c3c3c){return _0xcd8475([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x34f528(){const _0x13a43a=[_0xcd8475([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0xcd8475([0x74,0x72,0x69,0x61,0x6c])][_0xcd8475([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5e63e6[_0xcd8475([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x11a6ce/0x3e8:0xe10*_0x355329;return _0x5e63e6[_0xcd8475([0x65,0x78,0x70])]<_0x13a43a;}function _0x110385(){const _0x2f68f9=_0x5e63e6[_0xcd8475([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2f68f9&&(!!_0x2f68f9[_0xcd8475([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xcd8475([0x2a]))||(!!_0x2f68f9[_0xcd8475([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xcd8475([0x46,0x50]))||!!_0x2f68f9[_0xcd8475([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xcd8475([0x50,0x50]))));}function _0x26c23e(){const _0x732bc0=_0x5e63e6[_0xcd8475([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x732bc0||0x0==_0x732bc0[_0xcd8475([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x214fb7}=new URL(window[_0xcd8475([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x732bc0[_0xcd8475([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x214fb7))return!0x0;const _0x3f428f=_0x214fb7[_0xcd8475([0x73,0x70,0x6c,0x69,0x74])](_0xcd8475([0x2e]));return _0x732bc0[_0xcd8475([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2f0e1f=>_0x2f0e1f[_0xcd8475([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xcd8475([0x2a])))[_0xcd8475([0x6d,0x61,0x70])](_0x6a270c=>_0x6a270c[_0xcd8475([0x73,0x70,0x6c,0x69,0x74])](_0xcd8475([0x2e])))[_0xcd8475([0x73,0x6f,0x6d,0x65])](_0x441f6e=>_0x3f428f[_0xcd8475([0x65,0x76,0x65,0x72,0x79])]((_0x55180b,_0x1847cf)=>_0x441f6e[_0x1847cf]===_0x55180b||_0x441f6e[_0x1847cf]===_0xcd8475([0x2a])));}function _0x1b764f(){return _0x4fd013&&_0x1bc444?new window[(_0xcd8475([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1364bb,_0x324532)=>{_0x4fd013[_0xcd8475([0x74,0x68,0x65,0x6e])](_0x1364bb,_0x324532),_0x1bc444[_0xcd8475([0x74,0x68,0x65,0x6e])](_0x2a9c11=>{_0x2a9c11!=_0xcd8475([0x56,0x61,0x6c,0x69,0x64])&&_0x1364bb(_0x2a9c11);},_0x324532);}):_0x4fd013||_0x1bc444||_0xcd8475([0x56,0x61,0x6c,0x69,0x64]);}}function _0x449f7e(_0x1b0b39,_0x293ea8){return new window[(_0xcd8475([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xbbc70b=>{if(_0x2873e8())return _0xbbc70b(_0xcd8475([0x56,0x61,0x6c,0x69,0x64]));_0x23c5e5(),_0x37519a[_0xcd8475([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0xcd8475([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x22a0d6=!0x1;const _0x3be02e=_0x4cae6b();function _0x383fff(_0x1e42e7){return!!_0x1e42e7&&(typeof _0x1e42e7===_0xcd8475([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1e42e7===_0xcd8475([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1e42e7[_0xcd8475([0x74,0x68,0x65,0x6e])]===_0xcd8475([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1e42e7[_0xcd8475([0x63,0x61,0x74,0x63,0x68])]===_0xcd8475([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x5e07fe(_0x1ac277){_0x5497e2(_0x1ac277)[_0xcd8475([0x74,0x68,0x65,0x6e])](_0x59e5af=>{if(!_0x59e5af||_0x59e5af[_0xcd8475([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0xcd8475([0x6f,0x6b]))return _0xcd8475([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2ce54d(_0x1009b2(_0x3be02e+_0x293ea8))!=_0x59e5af[_0xcd8475([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0xcd8475([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0xcd8475([0x56,0x61,0x6c,0x69,0x64]);})[_0xcd8475([0x74,0x68,0x65,0x6e])](_0x1eb62=>(_0x28eafb(),_0x1eb62),()=>{const _0x3590ab=_0x238ed1();return null==_0x3590ab?(_0x28eafb(),_0xcd8475([0x56,0x61,0x6c,0x69,0x64])):_0xcd8475(_0x11a6ce-_0x3590ab>(0x2edffbf0^_0x2c581c)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0xcd8475([0x74,0x68,0x65,0x6e])](_0xbbc70b)[_0xcd8475([0x63,0x61,0x74,0x63,0x68])](()=>{_0xbbc70b(_0xcd8475([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x109e0f=0xae59170^_0x2c581c;function _0x28eafb(){const _0x55288d=_0xcd8475([0x6c,0x6c,0x63,0x74,0x2d])+_0x2ce54d(_0x1009b2(_0x1b0b39)),_0x57aef8=_0x2601ce(_0x2ce54d(window[_0xcd8475([0x4d,0x61,0x74,0x68])][_0xcd8475([0x63,0x65,0x69,0x6c])](_0x11a6ce/_0x109e0f)));window[_0xcd8475([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xcd8475([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x55288d,_0x57aef8);}function _0x238ed1(){const _0x37bb7c=_0xcd8475([0x6c,0x6c,0x63,0x74,0x2d])+_0x2ce54d(_0x1009b2(_0x1b0b39)),_0x1311c6=window[_0xcd8475([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xcd8475([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x37bb7c);return _0x1311c6?window[_0xcd8475([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2601ce(_0x1311c6),0x10)*_0x109e0f:null;}function _0x5497e2(_0x3994a7){return new window[(_0xcd8475([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x718399,_0x3cd42c)=>{_0x3994a7[_0xcd8475([0x74,0x68,0x65,0x6e])](_0x718399,_0x3cd42c),window[_0xcd8475([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3cd42c,0xad2ab30^_0x2c581c);});}}_0x37519a[_0xcd8475([0x6f,0x6e])](_0xcd8475([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1ae6fa,_0x1d6c92)=>{if(_0x1d6c92[0x0]!=_0x1b0b39)return _0xbbc70b(_0xcd8475([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1d6c92[0x1]={..._0x1d6c92[0x1],[_0xcd8475([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3be02e};},{[_0xcd8475([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xcd8475([0x68,0x69,0x67,0x68])}),_0x37519a[_0xcd8475([0x6f,0x6e])](_0xcd8475([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4c66f3=>{_0x383fff(_0x4c66f3[_0xcd8475([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x22a0d6=!0x0,_0x5e07fe(_0x4c66f3[_0xcd8475([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0xcd8475([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xcd8475([0x6c,0x6f,0x77])}),_0x36bf23[_0xcd8475([0x74,0x68,0x65,0x6e])](()=>{_0x22a0d6||_0xbbc70b(_0xcd8475([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2873e8(){return _0x37519a[_0xcd8475([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xcd8475([0x76,0x69,0x65,0x77])][_0xcd8475([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0xcd8475([0x61,0x75,0x74,0x6f]);}function _0x23c5e5(){_0x37519a[_0xcd8475([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xcd8475([0x76,0x69,0x65,0x77])][_0xcd8475([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0xcd8475([0x61,0x75,0x74,0x6f]);}}function _0xbe69c3(_0x21a57b){const _0x153a69=[new window[(_0xcd8475([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5db849=>setTimeout(_0x5db849,0xada413c^_0x2c581c)),_0x36bf23[_0xcd8475([0x74,0x68,0x65,0x6e])](()=>new window[(_0xcd8475([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x11cbea=>{let _0x2a0888=0x0;_0x37519a[_0xcd8475([0x6d,0x6f,0x64,0x65,0x6c])][_0xcd8475([0x6f,0x6e])](_0xcd8475([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x597817,_0x20ba3)=>{_0x20ba3[0x0][_0xcd8475([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2a0888++,_0x2a0888==(0xad37e08^_0x2c581c)&&(_0x11cbea(),_0x597817[_0xcd8475([0x6f,0x66,0x66])]());});}))];return window[_0xcd8475([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0xcd8475([0x72,0x61,0x63,0x65])](_0x153a69)[_0xcd8475([0x74,0x68,0x65,0x6e])](()=>_0x21a57b);}async function _0x4fc6e2(){await _0x36bf23,_0x37519a[_0xcd8475([0x6d,0x6f,0x64,0x65,0x6c])][_0xcd8475([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4f858f,_0x37519a[_0xcd8475([0x6d,0x6f,0x64,0x65,0x6c])][_0xcd8475([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4f858f,_0x37519a[_0xcd8475([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0xcd8475([0x6d,0x6f,0x64,0x65,0x6c]));}function _0xb66b22(_0x4e2930){const _0x338eff=_0x396584();_0x37519a[_0x338eff]=_0xcd8475([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x4e2930,_0x4e2930!=_0xcd8475([0x56,0x61,0x6c,0x69,0x64])&&_0x4fc6e2();}function _0x396584(){const _0xfeae6c=window[_0xcd8475([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0xcd8475([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0xcd8475([0x6e,0x6f,0x77])]())[_0xcd8475([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0xcd8475([0x2e]),'');let _0x494c85=_0xcd8475([0x43]);for(let _0x52f69b=0x0;_0x52f69b<_0xfeae6c[_0xcd8475([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x52f69b+=0x2){let _0x27b2f5=window[_0xcd8475([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xfeae6c[_0xcd8475([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x52f69b,_0x52f69b+0x2));_0x27b2f5>=_0x592d8d[_0xcd8475([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x27b2f5-=_0x592d8d[_0xcd8475([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x494c85+=_0x592d8d[_0x27b2f5];}return _0x494c85;}function _0x44ab21(){const _0x4f0426=_0x1dbb29[_0xcd8475([0x73,0x70,0x6c,0x69,0x74])](_0xcd8475([0x2e]));if(0x3!=_0x4f0426[_0xcd8475([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x139dfb(_0x4f0426[0x1]);function _0x139dfb(_0x4bf04a){const _0x27bc03=_0x279861(_0x4bf04a);return _0x27bc03&&_0x4d93d7()?_0x27bc03:null;function _0x4d93d7(){const _0x46b33d=_0x27bc03[_0xcd8475([0x6a,0x74,0x69])],_0x42f6f8=window[_0xcd8475([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x46b33d[_0xcd8475([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x46b33d[_0xcd8475([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4073b4={..._0x27bc03,[_0xcd8475([0x6a,0x74,0x69])]:_0x46b33d[_0xcd8475([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x46b33d[_0xcd8475([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4073b4[_0xcd8475([0x76,0x63])],_0x1009b2(_0x4073b4)==_0x42f6f8;}}}async function _0x2c231b(){let _0xffcfdb=!0x0;try{const _0x3b5545=_0x1dbb29[_0xcd8475([0x73,0x70,0x6c,0x69,0x74])](_0xcd8475([0x2e])),[_0x35bd8d,_0x4e4c98,_0x31d604]=_0x3b5545;return _0x200664(_0x35bd8d),await _0x40b82f(_0x35bd8d,_0x4e4c98,_0x31d604),_0xffcfdb;}catch(_0x5aabae){return!0x1;}function _0x200664(_0x91a83c){const _0x34d51a=_0x279861(_0x91a83c);_0x34d51a&&_0x34d51a[_0xcd8475([0x61,0x6c,0x67])]==_0xcd8475([0x45,0x53,0x32,0x35,0x36])||(_0xffcfdb=!0x1);}async function _0x40b82f(_0x13a0ca,_0x39e21c,_0x1c18ca){const _0x477382=window[_0xcd8475([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0xcd8475([0x66,0x72,0x6f,0x6d])](_0x1d8bcd(_0x1c18ca),_0x2b02aa=>_0x2b02aa[_0xcd8475([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0xd6c511=new window[(_0xcd8475([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0xcd8475([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x13a0ca+_0xcd8475([0x2e])+_0x39e21c),_0x2b499f=window[_0xcd8475([0x63,0x72,0x79,0x70,0x74,0x6f])][_0xcd8475([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2b499f)return;const _0x1b36cd=await _0x2b499f[_0xcd8475([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0xcd8475([0x6a,0x77,0x6b]),_0x3a23b1,{[_0xcd8475([0x6e,0x61,0x6d,0x65])]:_0xcd8475([0x45,0x43,0x44,0x53,0x41]),[_0xcd8475([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0xcd8475([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0xcd8475([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2b499f[_0xcd8475([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0xcd8475([0x6e,0x61,0x6d,0x65])]:_0xcd8475([0x45,0x43,0x44,0x53,0x41]),[_0xcd8475([0x68,0x61,0x73,0x68])]:{[_0xcd8475([0x6e,0x61,0x6d,0x65])]:_0xcd8475([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1b36cd,_0x477382,_0xd6c511)||(_0xffcfdb=!0x1);}}function _0x279861(_0x2b733f){return _0x2b733f[_0xcd8475([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0xcd8475([0x65,0x79]))?JSON[_0xcd8475([0x70,0x61,0x72,0x73,0x65])](_0x1d8bcd(_0x2b733f)):null;}function _0x1d8bcd(_0x5857b1){return window[_0xcd8475([0x61,0x74,0x6f,0x62])](_0x5857b1[_0xcd8475([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0xcd8475([0x2b]))[_0xcd8475([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0xcd8475([0x2f])));}function _0x1009b2(_0x9fe208){let _0x139be8=0x1505;function _0x1b0fa2(_0x70af59){for(let _0x1658a6=0x0;_0x1658a6<_0x70af59[_0xcd8475([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1658a6++){const _0x4c5432=_0x70af59[_0xcd8475([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1658a6);_0x139be8=(_0x139be8<<0x5)+_0x139be8+_0x4c5432,_0x139be8&=_0x139be8;}}function _0xc40890(_0x209b46){Array[_0xcd8475([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x209b46)?_0x209b46[_0xcd8475([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xc40890):_0x209b46&&typeof _0x209b46==_0xcd8475([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0xcd8475([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x209b46)[_0xcd8475([0x73,0x6f,0x72,0x74])]()[_0xcd8475([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4ca942,_0x83e3c3])=>{_0x1b0fa2(_0x4ca942),_0xc40890(_0x83e3c3);}):_0x1b0fa2(window[_0xcd8475([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x209b46));}return _0xc40890(_0x9fe208),_0x139be8>>>0x0;}function _0x2ce54d(_0x3f3bed){return _0x3f3bed[_0xcd8475([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0xcd8475([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0xcd8475([0x30]));}function _0x2601ce(_0x54900a){return _0x54900a[_0xcd8475([0x73,0x70,0x6c,0x69,0x74])]('')[_0xcd8475([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0xcd8475([0x6a,0x6f,0x69,0x6e])]('');}function _0x4f858f(){}function _0xcd8475(_0x2c8285){return _0x2c8285['map'](_0x34a322=>String['fromCharCode'](_0x34a322))['join']('');}_0xb66b22(await _0x4bc64d());}(this);}['_toggleSpecialCursor'](_0x417952){this['editor']['editing']['view']['change'](_0x45487c=>{for(const _0x43a059 of this['editor']['editing']['view']['document']['roots'])_0x417952?_0x45487c['addClass'](C,_0x43a059):_0x45487c['removeClass'](C,_0x43a059);});}['_copyFormatting'](){const {editor:_0x5dc312}=this;_0x5dc312['execute'](c),_0x5dc312['ui']['ariaLiveAnnouncer']['announce'](b(_0x5dc312['locale'],'Formatting\x20copied.'));}['_pasteFormatting'](){const {editor:_0x465055}=this,_0x4767ff=_0x465055['commands']['get'](c)['value'];_0x465055['execute'](e,_0x4767ff),_0x465055['ui']['ariaLiveAnnouncer']['announce'](b(_0x465055['locale'],'Pasted\x20formatting.'));}['_finishPainting'](){this['editor']['commands']['get'](c)['reset'](),this['stopListening'](_0x2c7ac2['window']['document'],'mouseup');}}class n extends _0x3e74a6{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 _0xf36755,Plugin as _0x5e56b5}from'@ckeditor/ckeditor5-core/dist/index.js';import{first as _0x464fba,DomEmitterMixin as _0x53d919,Collection as _0x3f84f0,global as _0x27a79e,uid as _0x36b867}from'@ckeditor/ckeditor5-utils/dist/index.js';import{createDropdown as _0x4510c4,SplitButtonView as _0x1085c2,ViewModel as _0x31cb44,addListToDropdown as _0xfc9964}from'@ckeditor/ckeditor5-ui/dist/index.js';import{ClickObserver as _0x517076}from'@ckeditor/ckeditor5-engine/dist/index.js';import{IconPaintRoller as _0x14c194}from'@ckeditor/ckeditor5-icons/dist/index.js';const c='copyFormat',e='pasteFormat',C='ck-format-painter-active';class r extends _0xf36755{constructor(_0x2b6989){super(_0x2b6989),this['value']=void 0x0,this['on']('change:isEnabled',(_0x11fc88,_0xd5f03d,_0x3ac631)=>{_0x3ac631||this['reset']();}),this['on']('change:value',()=>_0x2b6989['commands']['get'](e)['refresh']());}['execute'](){this['value']=this['_getFormattingAttributes']();}['reset'](){this['value']=void 0x0;}['_getFormattingAttributes'](){const _0x349349=this['editor']['model'],_0x5b912c=_0x349349['document']['selection'];return Object['fromEntries'](Array['from'](_0x5b912c['getAttributes']())['filter'](([_0xddbc2a])=>_0x349349['schema']['getAttributeProperties'](_0xddbc2a)['isFormatting']));}}class o extends _0xf36755{constructor(_0x31393b){super(_0x31393b),this['_removeFormatCommand']=new _(_0x31393b);}['execute'](_0x877b17={}){const _0x5c41de=this['editor']['model'],_0xd9cb9d=_0x5c41de['document']['selection'],_0x4ab700=Array['from'](_0xd9cb9d['getRanges']()),_0x11cf0a=_0xd9cb9d['isCollapsed']?[this['_createRangeOnEntireWord'](_0x5c41de,_0xd9cb9d)]:_0x4ab700;_0x5c41de['change'](_0x51e24c=>{_0x51e24c['setSelection'](_0x11cf0a),this['_removeFormatCommand']['execute']();for(const _0x351ff3 in _0x877b17)for(const _0x5c071b of _0x5c41de['schema']['getValidRanges'](_0x11cf0a,_0x351ff3))_0x51e24c['setAttribute'](_0x351ff3,_0x877b17[_0x351ff3],_0x5c071b);_0x51e24c['setSelection'](_0x4ab700);});}['_createRangeOnEntireWord'](_0xc2fe03,_0x530430){const _0x1c3b17=_0xc2fe03['createSelection'](_0x530430);_0xc2fe03['modifySelection'](_0x1c3b17,{'unit':'word','direction':'backward'});const _0x3efb21=_0x1c3b17['getFirstPosition']();_0xc2fe03['modifySelection'](_0x1c3b17,{'unit':'word','direction':'forward'});const _0x1b61d0=_0x1c3b17['getLastPosition']();return _0xc2fe03['createRange'](_0x3efb21,_0x1b61d0);}}class _ extends _0xf36755{['execute'](){const _0x3ad1a4=this['editor']['model'],_0x5e517d=_0x3ad1a4['schema'];_0x3ad1a4['change'](_0x1990b5=>{for(const _0x2666e7 of this['_getFormattingItems'](_0x3ad1a4['document']['selection'],_0x5e517d))if(_0x2666e7['is']('selection')){for(const _0x31a956 of this['_getFormattingAttributes'](_0x2666e7,_0x5e517d))_0x1990b5['removeSelectionAttribute'](_0x31a956);}else{const _0x8245e9=_0x1990b5['createRangeOn'](_0x2666e7);for(const _0x3b6619 of this['_getFormattingAttributes'](_0x2666e7,_0x5e517d))_0x1990b5['removeAttribute'](_0x3b6619,_0x8245e9);}});}*['_getFormattingItems'](_0x1730bd,_0x37da17){const _0x2187d4=_0x82e391=>!!_0x464fba(this['_getFormattingAttributes'](_0x82e391,_0x37da17));for(const _0x481c94 of _0x1730bd['getRanges']())for(const _0x231883 of _0x481c94['getItems']())!_0x37da17['isBlock'](_0x231883)&&_0x2187d4(_0x231883)&&(yield _0x231883);for(const _0x3310ef of _0x1730bd['getSelectedBlocks']())_0x2187d4(_0x3310ef)&&(yield _0x3310ef);_0x2187d4(_0x1730bd)&&(yield _0x1730bd);}*['_getFormattingAttributes'](_0x3aaab7,_0xf1e4dd){for(const [_0x2c90b7]of _0x3aaab7['getAttributes']()){const _0x597bb6=_0xf1e4dd['getAttributeProperties'](_0x2c90b7);_0x597bb6&&_0x597bb6['isFormatting']&&(yield _0x2c90b7);}}}class a extends _0x5e56b5{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FormatPainterEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x1fe53e=this['editor'];_0x1fe53e['commands']['add'](c,new r(_0x1fe53e)),_0x1fe53e['commands']['add'](e,new o(_0x1fe53e)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x124c61=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x5b6609;for(const _0x5c482a in _0x124c61){const _0x358e0d=_0x5c482a,_0xf3156d=_0x124c61[_0x358e0d];if('formatPainterLicenseKeyValid'==_0xf3156d||'formatPainterLicenseKeyInvalid'==_0xf3156d||'formatPainterLicenseKeyExpired'==_0xf3156d||'formatPainterLicenseKeyDomainLimit'==_0xf3156d||'formatPainterLicenseKeyNotAllowed'==_0xf3156d||'formatPainterLicenseKeyEvaluationLimit'==_0xf3156d||'formatPainterLicenseKeyTrialLimit'==_0xf3156d||'formatPainterLicenseKeyUsageLimit'==_0xf3156d){delete _0x124c61[_0x358e0d],_0x5b6609=_0xf3156d,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'formatPainterLicenseKeyInvalid'==_0x5b6609&&_0x124c61['_showLicenseError']('invalid'),'formatPainterLicenseKeyExpired'==_0x5b6609&&_0x124c61['_showLicenseError']('expired'),'formatPainterLicenseKeyDomainLimit'==_0x5b6609&&_0x124c61['_showLicenseError']('domainLimit'),'formatPainterLicenseKeyNotAllowed'==_0x5b6609&&_0x124c61['_showLicenseError']('featureNotAllowed','FormatPainter'),'formatPainterLicenseKeyEvaluationLimit'==_0x5b6609&&_0x124c61['_showLicenseError']('evaluationLimit'),'formatPainterLicenseKeyTrialLimit'==_0x5b6609&&_0x124c61['_showLicenseError']('trialLimit'),'formatPainterLicenseKeyUsageLimit'==_0x5b6609&&_0x124c61['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function b(_0x38f3ed,_0x34b561){const t=_0x38f3ed['t'];switch(_0x34b561){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 _0x34b561;}}class m extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x53d919(_0x5e56b5){static get['pluginName'](){return'FormatPainterUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x499348=this['editor'];_0x499348['editing']['view']['addObserver'](_0x517076),_0x499348['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':b(_0x499348['locale'],'Copy\x20text\x20formatting'),'keystroke':'Ctrl+Alt+C'},{'label':b(_0x499348['locale'],'Paste\x20text\x20formatting'),'keystroke':'Ctrl+Alt+V'}]}),_0x499348['ui']['componentFactory']['add']('formatPainter',_0x3e1713=>{const _0x346176=_0x4510c4(_0x3e1713,_0x1085c2),_0x13f06f=_0x499348['commands']['get'](c);_0x346176['buttonView']['set']({'label':b(_0x499348['locale'],'Paint\x20formatting'),'icon':_0x14c194,'keystroke':'Ctrl+Alt+C','tooltip':!0x0}),_0x346176['class']='ck-format-painter-dropdown',_0x13f06f&&(_0x346176['bind']('isEnabled')['to'](_0x13f06f,'isEnabled'),this['listenTo'](_0x13f06f,'change:isEnabled',(_0x353ddc,_0x5c93f0,_0x55c410)=>{_0x55c410||this['_finishPainting']();}),_0x346176['buttonView']['bind']('isOn')['to'](_0x13f06f,'value',_0x27fec8=>!!_0x27fec8),this['listenTo'](_0x499348,'destroy',()=>this['_toggleSpecialCursor'](!0x1)),this['listenTo'](_0x13f06f,'change:value',(_0x510a7f,_0x17ef5e,_0x27e16f)=>{this['_toggleSpecialCursor'](!!_0x27e16f);}));const _0x188dbe=new _0x31cb44({'withText':!0x0,'label':b(_0x499348['locale'],'Continuous\x20painting'),'tooltip':b(_0x499348['locale'],'Keeps\x20the\x20painter\x20on\x20after\x20setting\x20the\x20formatting.'),'isOn':!0x1,'role':'menuitemcheckbox'});_0xfc9964(_0x346176,new _0x3f84f0([{'type':'switchbutton','model':_0x188dbe}]),{'role':'menu'});const _0x47e126=()=>{this['_copyFormatting'](),this['listenTo'](_0x27a79e['window']['document'],'mouseup',()=>{this['_pasteFormatting'](),_0x188dbe['isOn']||this['_finishPainting']();});};return this['listenTo'](_0x346176,'execute',()=>{_0x188dbe['isOn']=!_0x188dbe['isOn'];}),this['listenTo'](_0x346176['buttonView'],'execute',()=>{_0x499348['editing']['view']['focus'](),_0x346176['buttonView']['isOn']?this['_finishPainting']():_0x47e126();}),_0x499348['keystrokes']['set']('Ctrl+Alt+C',(_0x2260fc,_0x5df244)=>{_0x47e126(),_0x188dbe['isOn']=!0x0,_0x5df244();},{'priority':'high'}),_0x499348['keystrokes']['set']('Ctrl+Alt+V',(_0x2e7131,_0x5bf4ee)=>{_0x346176['buttonView']['isOn']&&(this['_pasteFormatting'](),_0x188dbe['isOn']||this['_finishPainting'](),_0x5bf4ee());},{'priority':'high'}),_0x499348['keystrokes']['set']('Esc',(_0x33c281,_0x149622)=>{_0x346176['buttonView']['isOn']&&(_0x188dbe['isOn']=!0x1,this['_finishPainting'](),_0x149622());}),_0x346176;});}['afterInit'](){!async function(_0x26b24c){const _0x3ae8a2=_0x5776cd([0x46,0x45,0x77,0x78,0x6e,0x6b,0x63,0x35,0x65,0x32,0x6d,0x68,0x56,0x66,0x48,0x67,0x44,0x50,0x52,0x53,0x4f,0x71,0x70,0x6f,0x4c,0x41,0x74,0x33,0x51,0x69,0x43,0x76,0x7a,0x39,0x64,0x59,0x4e,0x47,0x6a,0x62,0x31,0x79,0x54,0x6c,0x37,0x38,0x30,0x4b,0x5a,0x61,0x72,0x34,0x58,0x42,0x36,0x75,0x4d,0x73,0x49,0x4a,0x55,0x57]),_0x50c548=0x3ecb4b99,_0x3a4866=0x3ecc2cd9^_0x50c548,_0x48336d=window[_0x5776cd([0x44,0x61,0x74,0x65])][_0x5776cd([0x6e,0x6f,0x77])](),_0x442970=_0x26b24c[_0x5776cd([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x36f740=new window[(_0x5776cd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x569c0b=>{_0x442970[_0x5776cd([0x6f,0x6e,0x63,0x65])](_0x5776cd([0x72,0x65,0x61,0x64,0x79]),_0x569c0b);}),_0x5a6724={[_0x5776cd([0x6b,0x74,0x79])]:_0x5776cd([0x45,0x43]),[_0x5776cd([0x75,0x73,0x65])]:_0x5776cd([0x73,0x69,0x67]),[_0x5776cd([0x63,0x72,0x76])]:_0x5776cd([0x50,0x2d,0x32,0x35,0x36]),[_0x5776cd([0x78])]:_0x5776cd([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]),[_0x5776cd([0x79])]:_0x5776cd([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]),[_0x5776cd([0x61,0x6c,0x67])]:_0x5776cd([0x45,0x53,0x32,0x35,0x36])},_0xce9df=_0x442970[_0x5776cd([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5776cd([0x67,0x65,0x74])](_0x5776cd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x11f3ba(){let _0xa4e377,_0x500d86=null,_0x2548c0=null;try{if(_0xce9df==_0x5776cd([0x47,0x50,0x4c]))return _0x5776cd([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0xa4e377=_0x436b5b(),!_0xa4e377)return _0x5776cd([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0xa4e377[_0x5776cd([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2548c0=_0x5d7185(_0xa4e377[_0x5776cd([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0xa4e377[_0x5776cd([0x6a,0x74,0x69])])),await _0xabad5a()?_0x4e0ef6()?_0x331996()?_0x5776cd([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x24a49d()?(_0xa4e377[_0x5776cd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5776cd([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x500d86=_0x1aacac(_0x5776cd([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0xa4e377[_0x5776cd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5776cd([0x74,0x72,0x69,0x61,0x6c])&&(_0x500d86=_0x1aacac(_0x5776cd([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4dd2a3()):_0x5776cd([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5776cd([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5776cd([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x19492e){return _0x5776cd([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x331996(){const _0x482c09=[_0x5776cd([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5776cd([0x74,0x72,0x69,0x61,0x6c])][_0x5776cd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xa4e377[_0x5776cd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x48336d/0x3e8:0xe10*_0x3a4866;return _0xa4e377[_0x5776cd([0x65,0x78,0x70])]<_0x482c09;}function _0x4e0ef6(){const _0x4afbe0=_0xa4e377[_0x5776cd([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4afbe0&&(!!_0x4afbe0[_0x5776cd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5776cd([0x2a]))||(!!_0x4afbe0[_0x5776cd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5776cd([0x46,0x50]))||!!_0x4afbe0[_0x5776cd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5776cd([0x50,0x50]))));}function _0x24a49d(){const _0x5baff9=_0xa4e377[_0x5776cd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5baff9||0x0==_0x5baff9[_0x5776cd([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x5e3f86}=new URL(window[_0x5776cd([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x5baff9[_0x5776cd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5e3f86))return!0x0;const _0x4d4f0a=_0x5e3f86[_0x5776cd([0x73,0x70,0x6c,0x69,0x74])](_0x5776cd([0x2e]));return _0x5baff9[_0x5776cd([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x148299=>_0x148299[_0x5776cd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5776cd([0x2a])))[_0x5776cd([0x6d,0x61,0x70])](_0x281ec9=>_0x281ec9[_0x5776cd([0x73,0x70,0x6c,0x69,0x74])](_0x5776cd([0x2e])))[_0x5776cd([0x73,0x6f,0x6d,0x65])](_0x4f6d2e=>_0x4d4f0a[_0x5776cd([0x65,0x76,0x65,0x72,0x79])]((_0x1f25da,_0x129507)=>_0x4f6d2e[_0x129507]===_0x1f25da||_0x4f6d2e[_0x129507]===_0x5776cd([0x2a])));}function _0x4dd2a3(){return _0x500d86&&_0x2548c0?new window[(_0x5776cd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5154ab,_0x4a7e16)=>{_0x500d86[_0x5776cd([0x74,0x68,0x65,0x6e])](_0x5154ab,_0x4a7e16),_0x2548c0[_0x5776cd([0x74,0x68,0x65,0x6e])](_0x13f26f=>{_0x13f26f!=_0x5776cd([0x56,0x61,0x6c,0x69,0x64])&&_0x5154ab(_0x13f26f);},_0x4a7e16);}):_0x500d86||_0x2548c0||_0x5776cd([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5d7185(_0x1bfb29,_0x30fccf){return new window[(_0x5776cd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xfcabcf=>{if(_0x28fc4f())return _0xfcabcf(_0x5776cd([0x56,0x61,0x6c,0x69,0x64]));_0x54b5d4(),_0x442970[_0x5776cd([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5776cd([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x51ff21=!0x1;const _0x443560=_0x36b867();function _0x59050a(_0x3e0ddf){return!!_0x3e0ddf&&(typeof _0x3e0ddf===_0x5776cd([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3e0ddf===_0x5776cd([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3e0ddf[_0x5776cd([0x74,0x68,0x65,0x6e])]===_0x5776cd([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3e0ddf[_0x5776cd([0x63,0x61,0x74,0x63,0x68])]===_0x5776cd([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x5079e7(_0x11e890){_0x2a5a4d(_0x11e890)[_0x5776cd([0x74,0x68,0x65,0x6e])](_0x35cddc=>{if(!_0x35cddc||_0x35cddc[_0x5776cd([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5776cd([0x6f,0x6b]))return _0x5776cd([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x440dc0(_0x5fd452(_0x443560+_0x30fccf))!=_0x35cddc[_0x5776cd([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5776cd([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5776cd([0x56,0x61,0x6c,0x69,0x64]);})[_0x5776cd([0x74,0x68,0x65,0x6e])](_0x497f3e=>(_0x16572f(),_0x497f3e),()=>{const _0xfc01ba=_0x4c226e();return null==_0xfc01ba?(_0x16572f(),_0x5776cd([0x56,0x61,0x6c,0x69,0x64])):_0x5776cd(_0x48336d-_0xfc01ba>(0x1ac7cf99^_0x50c548)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5776cd([0x74,0x68,0x65,0x6e])](_0xfcabcf)[_0x5776cd([0x63,0x61,0x74,0x63,0x68])](()=>{_0xfcabcf(_0x5776cd([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x515f67=0x3efda519^_0x50c548;function _0x16572f(){const _0xb530e5=_0x5776cd([0x6c,0x6c,0x63,0x74,0x2d])+_0x440dc0(_0x5fd452(_0x1bfb29)),_0x526839=_0x167607(_0x440dc0(window[_0x5776cd([0x4d,0x61,0x74,0x68])][_0x5776cd([0x63,0x65,0x69,0x6c])](_0x48336d/_0x515f67)));window[_0x5776cd([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5776cd([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xb530e5,_0x526839);}function _0x4c226e(){const _0x318ecb=_0x5776cd([0x6c,0x6c,0x63,0x74,0x2d])+_0x440dc0(_0x5fd452(_0x1bfb29)),_0x1436c5=window[_0x5776cd([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5776cd([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x318ecb);return _0x1436c5?window[_0x5776cd([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x167607(_0x1436c5),0x10)*_0x515f67:null;}function _0x2a5a4d(_0x451297){return new window[(_0x5776cd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x26c5e7,_0x42eec4)=>{_0x451297[_0x5776cd([0x74,0x68,0x65,0x6e])](_0x26c5e7,_0x42eec4),window[_0x5776cd([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x42eec4,0x3eca9f59^_0x50c548);});}}_0x442970[_0x5776cd([0x6f,0x6e])](_0x5776cd([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3fc5d9,_0x13f294)=>{if(_0x13f294[0x0]!=_0x1bfb29)return _0xfcabcf(_0x5776cd([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x13f294[0x1]={..._0x13f294[0x1],[_0x5776cd([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x443560};},{[_0x5776cd([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5776cd([0x68,0x69,0x67,0x68])}),_0x442970[_0x5776cd([0x6f,0x6e])](_0x5776cd([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x25d217=>{_0x59050a(_0x25d217[_0x5776cd([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x51ff21=!0x0,_0x5079e7(_0x25d217[_0x5776cd([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5776cd([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5776cd([0x6c,0x6f,0x77])}),_0x36f740[_0x5776cd([0x74,0x68,0x65,0x6e])](()=>{_0x51ff21||_0xfcabcf(_0x5776cd([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x28fc4f(){return _0x442970[_0x5776cd([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5776cd([0x76,0x69,0x65,0x77])][_0x5776cd([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5776cd([0x61,0x75,0x74,0x6f]);}function _0x54b5d4(){_0x442970[_0x5776cd([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5776cd([0x76,0x69,0x65,0x77])][_0x5776cd([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5776cd([0x61,0x75,0x74,0x6f]);}}function _0x1aacac(_0x187363){const _0x12170c=[new window[(_0x5776cd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x18c4d8=>setTimeout(_0x18c4d8,0x3ec27555^_0x50c548)),_0x36f740[_0x5776cd([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5776cd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x24c8f8=>{let _0x269267=0x0;_0x442970[_0x5776cd([0x6d,0x6f,0x64,0x65,0x6c])][_0x5776cd([0x6f,0x6e])](_0x5776cd([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5028e1,_0x45f438)=>{_0x45f438[0x0][_0x5776cd([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x269267++,_0x269267==(0x3ecb4a61^_0x50c548)&&(_0x24c8f8(),_0x5028e1[_0x5776cd([0x6f,0x66,0x66])]());});}))];return window[_0x5776cd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5776cd([0x72,0x61,0x63,0x65])](_0x12170c)[_0x5776cd([0x74,0x68,0x65,0x6e])](()=>_0x187363);}async function _0x49c468(){await _0x36f740,_0x442970[_0x5776cd([0x6d,0x6f,0x64,0x65,0x6c])][_0x5776cd([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2d6142,_0x442970[_0x5776cd([0x6d,0x6f,0x64,0x65,0x6c])][_0x5776cd([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2d6142,_0x442970[_0x5776cd([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5776cd([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3f266b(_0xf804bc){const _0x3e8c3a=_0x40b490();_0x442970[_0x3e8c3a]=_0x5776cd([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0xf804bc,_0xf804bc!=_0x5776cd([0x56,0x61,0x6c,0x69,0x64])&&_0x49c468();}function _0x40b490(){const _0x393894=window[_0x5776cd([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5776cd([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5776cd([0x6e,0x6f,0x77])]())[_0x5776cd([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5776cd([0x2e]),'');let _0x26d801=_0x5776cd([0x46]);for(let _0x4e29a1=0x0;_0x4e29a1<_0x393894[_0x5776cd([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4e29a1+=0x2){let _0x461fa5=window[_0x5776cd([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x393894[_0x5776cd([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4e29a1,_0x4e29a1+0x2));_0x461fa5>=_0x3ae8a2[_0x5776cd([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x461fa5-=_0x3ae8a2[_0x5776cd([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x26d801+=_0x3ae8a2[_0x461fa5];}return _0x26d801;}function _0x436b5b(){const _0x176cbe=_0xce9df[_0x5776cd([0x73,0x70,0x6c,0x69,0x74])](_0x5776cd([0x2e]));if(0x3!=_0x176cbe[_0x5776cd([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4d4424(_0x176cbe[0x1]);function _0x4d4424(_0x5ef510){const _0x35678d=_0xeba473(_0x5ef510);return _0x35678d&&_0x3dc419()?_0x35678d:null;function _0x3dc419(){const _0x116dd9=_0x35678d[_0x5776cd([0x6a,0x74,0x69])],_0xbaf382=window[_0x5776cd([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x116dd9[_0x5776cd([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x116dd9[_0x5776cd([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2b1cde={..._0x35678d,[_0x5776cd([0x6a,0x74,0x69])]:_0x116dd9[_0x5776cd([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x116dd9[_0x5776cd([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2b1cde[_0x5776cd([0x76,0x63])],_0x5fd452(_0x2b1cde)==_0xbaf382;}}}async function _0xabad5a(){let _0x6bba8e=!0x0;try{const _0xb924b9=_0xce9df[_0x5776cd([0x73,0x70,0x6c,0x69,0x74])](_0x5776cd([0x2e])),[_0x3fc0fc,_0x4f7d0d,_0x43c723]=_0xb924b9;return _0x515375(_0x3fc0fc),await _0x1d09d4(_0x3fc0fc,_0x4f7d0d,_0x43c723),_0x6bba8e;}catch(_0x2ebb8d){return!0x1;}function _0x515375(_0x8fa878){const _0x4bed17=_0xeba473(_0x8fa878);_0x4bed17&&_0x4bed17[_0x5776cd([0x61,0x6c,0x67])]==_0x5776cd([0x45,0x53,0x32,0x35,0x36])||(_0x6bba8e=!0x1);}async function _0x1d09d4(_0xf29a15,_0x3202b6,_0x44e8e8){const _0x306a6e=window[_0x5776cd([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5776cd([0x66,0x72,0x6f,0x6d])](_0x748077(_0x44e8e8),_0x341940=>_0x341940[_0x5776cd([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x5648cf=new window[(_0x5776cd([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5776cd([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0xf29a15+_0x5776cd([0x2e])+_0x3202b6),_0x1f1e3f=window[_0x5776cd([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5776cd([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1f1e3f)return;const _0x470b96=await _0x1f1e3f[_0x5776cd([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5776cd([0x6a,0x77,0x6b]),_0x5a6724,{[_0x5776cd([0x6e,0x61,0x6d,0x65])]:_0x5776cd([0x45,0x43,0x44,0x53,0x41]),[_0x5776cd([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5776cd([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5776cd([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1f1e3f[_0x5776cd([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5776cd([0x6e,0x61,0x6d,0x65])]:_0x5776cd([0x45,0x43,0x44,0x53,0x41]),[_0x5776cd([0x68,0x61,0x73,0x68])]:{[_0x5776cd([0x6e,0x61,0x6d,0x65])]:_0x5776cd([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x470b96,_0x306a6e,_0x5648cf)||(_0x6bba8e=!0x1);}}function _0xeba473(_0x2f375b){return _0x2f375b[_0x5776cd([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5776cd([0x65,0x79]))?JSON[_0x5776cd([0x70,0x61,0x72,0x73,0x65])](_0x748077(_0x2f375b)):null;}function _0x748077(_0x341b26){return window[_0x5776cd([0x61,0x74,0x6f,0x62])](_0x341b26[_0x5776cd([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5776cd([0x2b]))[_0x5776cd([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5776cd([0x2f])));}function _0x5fd452(_0x13944f){let _0x48c17d=0x1505;function _0xb2e3a8(_0x3084c5){for(let _0xd635b6=0x0;_0xd635b6<_0x3084c5[_0x5776cd([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xd635b6++){const _0x24a228=_0x3084c5[_0x5776cd([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0xd635b6);_0x48c17d=(_0x48c17d<<0x5)+_0x48c17d+_0x24a228,_0x48c17d&=_0x48c17d;}}function _0x3eba43(_0x48dd18){Array[_0x5776cd([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x48dd18)?_0x48dd18[_0x5776cd([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3eba43):_0x48dd18&&typeof _0x48dd18==_0x5776cd([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5776cd([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x48dd18)[_0x5776cd([0x73,0x6f,0x72,0x74])]()[_0x5776cd([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5221d8,_0x41fa6c])=>{_0xb2e3a8(_0x5221d8),_0x3eba43(_0x41fa6c);}):_0xb2e3a8(window[_0x5776cd([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x48dd18));}return _0x3eba43(_0x13944f),_0x48c17d>>>0x0;}function _0x440dc0(_0x475cb5){return _0x475cb5[_0x5776cd([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5776cd([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5776cd([0x30]));}function _0x167607(_0x499c67){return _0x499c67[_0x5776cd([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5776cd([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5776cd([0x6a,0x6f,0x69,0x6e])]('');}function _0x2d6142(){}function _0x5776cd(_0x2a8c32){return _0x2a8c32['map'](_0x3aebb3=>String['fromCharCode'](_0x3aebb3))['join']('');}_0x3f266b(await _0x11f3ba());}(this);}['_toggleSpecialCursor'](_0x5a2658){this['editor']['editing']['view']['change'](_0x173b41=>{for(const _0x13c553 of this['editor']['editing']['view']['document']['roots'])_0x5a2658?_0x173b41['addClass'](C,_0x13c553):_0x173b41['removeClass'](C,_0x13c553);});}['_copyFormatting'](){const {editor:_0x4224ed}=this;_0x4224ed['execute'](c),_0x4224ed['ui']['ariaLiveAnnouncer']['announce'](b(_0x4224ed['locale'],'Formatting\x20copied.'));}['_pasteFormatting'](){const {editor:_0x50911d}=this,_0x593438=_0x50911d['commands']['get'](c)['value'];_0x50911d['execute'](e,_0x593438),_0x50911d['ui']['ariaLiveAnnouncer']['announce'](b(_0x50911d['locale'],'Pasted\x20formatting.'));}['_finishPainting'](){this['editor']['commands']['get'](c)['reset'](),this['stopListening'](_0x27a79e['window']['document'],'mouseup');}}class n extends _0x5e56b5{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.1",
|
|
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.1",
|
|
16
|
+
"@ckeditor/ckeditor5-engine": "45.1.0-alpha.1",
|
|
17
|
+
"@ckeditor/ckeditor5-icons": "45.1.0-alpha.1",
|
|
18
|
+
"@ckeditor/ckeditor5-ui": "45.1.0-alpha.1",
|
|
19
|
+
"@ckeditor/ckeditor5-utils": "45.1.0-alpha.1",
|
|
20
|
+
"ckeditor5": "45.1.0-alpha.1"
|
|
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
|
-
_0x2bac62(_0x267b6e){static get[_0x4f3b08(0x214)](){const _0x2cac34=_0x4f3b08;return _0x2cac34(0x220);}static get[_0x4f3b08(0x212)](){return!0x0;}static get[_0x4f3b08(0x21e)](){return!0x0;}[_0x4f3b08(0x22b)](){const _0x3e9ac6=_0x4f3b08,_0x2e7d85=this[_0x3e9ac6(0x1fc)];_0x2e7d85[_0x3e9ac6(0x22a)][_0x3e9ac6(0x22c)][_0x3e9ac6(0x224)](_0x54ac64),_0x2e7d85[_0x3e9ac6(0x23d)][_0x3e9ac6(0x23f)]({'keystrokes':[{'label':_0x2040e0(_0x2e7d85[_0x3e9ac6(0x1f4)],_0x3e9ac6(0x1f6)),'keystroke':_0x3e9ac6(0x226)},{'label':_0x2040e0(_0x2e7d85[_0x3e9ac6(0x1f4)],_0x3e9ac6(0x21c)),'keystroke':_0x3e9ac6(0x23a)}]}),_0x2e7d85['ui'][_0x3e9ac6(0x1fe)][_0x3e9ac6(0x225)](_0x3e9ac6(0x219),_0x5ac4d4=>{const _0x301d77=_0x3e9ac6,_0x31dcae=_0x9ead54(_0x5ac4d4,_0x117612),_0x513a17=_0x2e7d85[_0x301d77(0x21a)][_0x301d77(0x204)](_0x1eca65);_0x31dcae[_0x301d77(0x211)][_0x301d77(0x20f)]({'label':_0x2040e0(_0x2e7d85[_0x301d77(0x1f4)],_0x301d77(0x1f5)),'icon':_0x13e1e2,'keystroke':_0x301d77(0x226),'tooltip':!0x0}),_0x31dcae[_0x301d77(0x208)]=_0x301d77(0x23b),_0x513a17&&(_0x31dcae[_0x301d77(0x221)](_0x301d77(0x203))['to'](_0x513a17,_0x301d77(0x203)),this[_0x301d77(0x1fd)](_0x513a17,_0x301d77(0x210),(_0x3650b8,_0x1a5f31,_0x5d48ab)=>{const _0xe69dfc=_0x301d77;_0x5d48ab||this[_0xe69dfc(0x1f9)]();}),_0x31dcae[_0x301d77(0x211)][_0x301d77(0x221)](_0x301d77(0x20b))['to'](_0x513a17,_0x301d77(0x23c),_0x5c1b9c=>!!_0x5c1b9c),this[_0x301d77(0x1fd)](_0x2e7d85,_0x301d77(0x20a),()=>this[_0x301d77(0x231)](!0x1)),this[_0x301d77(0x1fd)](_0x513a17,_0x301d77(0x238),(_0x4d2936,_0xea32a9,_0x34fe3c)=>{const _0x45d61a=_0x301d77;this[_0x45d61a(0x231)](!!_0x34fe3c);}));const _0x5623a1=new _0x293c16({'withText':!0x0,'label':_0x2040e0(_0x2e7d85[_0x301d77(0x1f4)],_0x301d77(0x222)),'tooltip':_0x2040e0(_0x2e7d85[_0x301d77(0x1f4)],_0x301d77(0x201)),'isOn':!0x1,'role':_0x301d77(0x236)});_0x303437(_0x31dcae,new _0x1d691e([{'type':_0x301d77(0x1fb),'model':_0x5623a1}]),{'role':_0x301d77(0x20e)});const _0x3719cb=()=>{const _0x44906d=_0x301d77;this[_0x44906d(0x1fa)](),this[_0x44906d(0x1fd)](_0x5c2d41[_0x44906d(0x22e)][_0x44906d(0x207)],_0x44906d(0x234),()=>{const _0x41b30c=_0x44906d;this[_0x41b30c(0x227)](),_0x5623a1[_0x41b30c(0x20b)]||this[_0x41b30c(0x1f9)]();});};return this[_0x301d77(0x1fd)](_0x31dcae,_0x301d77(0x20d),()=>{const _0x2646b7=_0x301d77;_0x5623a1[_0x2646b7(0x20b)]=!_0x5623a1[_0x2646b7(0x20b)];}),this[_0x301d77(0x1fd)](_0x31dcae[_0x301d77(0x211)],_0x301d77(0x20d),()=>{const _0x3b60ff=_0x301d77;_0x2e7d85[_0x3b60ff(0x22a)][_0x3b60ff(0x22c)][_0x3b60ff(0x202)](),_0x31dcae[_0x3b60ff(0x211)][_0x3b60ff(0x20b)]?this[_0x3b60ff(0x1f9)]():_0x3719cb();}),_0x2e7d85[_0x301d77(0x228)][_0x301d77(0x20f)](_0x301d77(0x226),(_0x498756,_0x1e4686)=>{const _0x411d9c=_0x301d77;_0x3719cb(),_0x5623a1[_0x411d9c(0x20b)]=!0x0,_0x1e4686();},{'priority':_0x301d77(0x240)}),_0x2e7d85[_0x301d77(0x228)][_0x301d77(0x20f)](_0x301d77(0x23a),(_0x52e46b,_0x36190d)=>{const _0x356a4a=_0x301d77;_0x31dcae[_0x356a4a(0x211)][_0x356a4a(0x20b)]&&(this[_0x356a4a(0x227)](),_0x5623a1[_0x356a4a(0x20b)]||this[_0x356a4a(0x1f9)](),_0x36190d());},{'priority':_0x301d77(0x240)}),_0x2e7d85[_0x301d77(0x228)][_0x301d77(0x20f)](_0x301d77(0x20c),(_0x3090f8,_0x3c0281)=>{const _0x69a4bf=_0x301d77;_0x31dcae[_0x69a4bf(0x211)][_0x69a4bf(0x20b)]&&(_0x5623a1[_0x69a4bf(0x20b)]=!0x1,this[_0x69a4bf(0x1f9)](),_0x3c0281());}),_0x31dcae;});}[_0x4f3b08(0x235)](){!async function(_0xf63ca5){const _0x29768b=_0x1c328f([0x36,0x43,0x6c,0x35,0x4c,0x6a,0x38,0x76,0x31,0x44,0x62,0x4f,0x48,0x50,0x42,0x51,0x52,0x61,0x53,0x69,0x37,0x66,0x6d,0x57,0x74,0x4e,0x45,0x4d,0x59,0x79,0x55,0x7a,0x4a,0x49,0x39,0x6f,0x78,0x73,0x77,0x64,0x65,0x34,0x6b,0x47,0x72,0x58,0x4b,0x63,0x56,0x75,0x5a,0x71,0x67,0x41,0x33,0x46,0x30,0x68,0x70,0x6e,0x54,0x32]),_0x38c6ff=0xad37ff0,_0x23355a=0xad418d8^_0x38c6ff,_0x1b5a53=window[_0x1c328f([0x44,0x61,0x74,0x65])][_0x1c328f([0x6e,0x6f,0x77])](),_0x11a2cf=_0xf63ca5[_0x1c328f([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x331507=new window[(_0x1c328f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x474b20=>{_0x11a2cf[_0x1c328f([0x6f,0x6e,0x63,0x65])](_0x1c328f([0x72,0x65,0x61,0x64,0x79]),_0x474b20);}),_0x507508={[_0x1c328f([0x6b,0x74,0x79])]:_0x1c328f([0x45,0x43]),[_0x1c328f([0x75,0x73,0x65])]:_0x1c328f([0x73,0x69,0x67]),[_0x1c328f([0x63,0x72,0x76])]:_0x1c328f([0x50,0x2d,0x32,0x35,0x36]),[_0x1c328f([0x78])]:_0x1c328f([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]),[_0x1c328f([0x79])]:_0x1c328f([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]),[_0x1c328f([0x61,0x6c,0x67])]:_0x1c328f([0x45,0x53,0x32,0x35,0x36])},_0x141040=_0x11a2cf[_0x1c328f([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1c328f([0x67,0x65,0x74])](_0x1c328f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4a398d(){let _0x4fb19d,_0x5f3e9f=null,_0x5d99fd=null;try{if(_0x141040==_0x1c328f([0x47,0x50,0x4c]))return _0x1c328f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4fb19d=_0x4bcfe8(),!_0x4fb19d)return _0x1c328f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4fb19d[_0x1c328f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5d99fd=_0x4edc12(_0x4fb19d[_0x1c328f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4fb19d[_0x1c328f([0x6a,0x74,0x69])])),await _0x17b2f0()?_0x464379()?_0x3fa08e()?_0x1c328f([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x535503()?(_0x4fb19d[_0x1c328f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1c328f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x5f3e9f=_0x162e7c(_0x1c328f([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x4fb19d[_0x1c328f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1c328f([0x74,0x72,0x69,0x61,0x6c])&&(_0x5f3e9f=_0x162e7c(_0x1c328f([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x1b1da9()):_0x1c328f([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1c328f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1c328f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x327bec){return _0x1c328f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x3fa08e(){const _0x2d2126=[_0x1c328f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1c328f([0x74,0x72,0x69,0x61,0x6c])][_0x1c328f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4fb19d[_0x1c328f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1b5a53/0x3e8:0xe10*_0x23355a;return _0x4fb19d[_0x1c328f([0x65,0x78,0x70])]<_0x2d2126;}function _0x464379(){const _0x1a886e=_0x4fb19d[_0x1c328f([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x1a886e&&(!!_0x1a886e[_0x1c328f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1c328f([0x2a]))||(!!_0x1a886e[_0x1c328f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1c328f([0x46,0x50]))||!!_0x1a886e[_0x1c328f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1c328f([0x50,0x50]))));}function _0x535503(){const _0x4857d5=_0x56c1,_0x1e41a1=_0x4fb19d[_0x1c328f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1e41a1||0x0==_0x1e41a1[_0x1c328f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x13cef2}=new URL(window[_0x1c328f([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x4857d5(0x230)]);if(_0x1e41a1[_0x1c328f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x13cef2))return!0x0;const _0x42899e=_0x13cef2[_0x1c328f([0x73,0x70,0x6c,0x69,0x74])](_0x1c328f([0x2e]));return _0x1e41a1[_0x1c328f([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x42ee08=>_0x42ee08[_0x1c328f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1c328f([0x2a])))[_0x1c328f([0x6d,0x61,0x70])](_0x4de62d=>_0x4de62d[_0x1c328f([0x73,0x70,0x6c,0x69,0x74])](_0x1c328f([0x2e])))[_0x1c328f([0x73,0x6f,0x6d,0x65])](_0x413984=>_0x42899e[_0x1c328f([0x65,0x76,0x65,0x72,0x79])]((_0x30921a,_0x232d5e)=>_0x413984[_0x232d5e]===_0x30921a||_0x413984[_0x232d5e]===_0x1c328f([0x2a])));}function _0x1b1da9(){return _0x5f3e9f&&_0x5d99fd?new window[(_0x1c328f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5c8b9f,_0x4e3b82)=>{_0x5f3e9f[_0x1c328f([0x74,0x68,0x65,0x6e])](_0x5c8b9f,_0x4e3b82),_0x5d99fd[_0x1c328f([0x74,0x68,0x65,0x6e])](_0x52ac3f=>{_0x52ac3f!=_0x1c328f([0x56,0x61,0x6c,0x69,0x64])&&_0x5c8b9f(_0x52ac3f);},_0x4e3b82);}):_0x5f3e9f||_0x5d99fd||_0x1c328f([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4edc12(_0x53d133,_0x81c9c1){return new window[(_0x1c328f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x407959=>{if(_0x3b6593())return _0x407959(_0x1c328f([0x56,0x61,0x6c,0x69,0x64]));_0x3b2974(),_0x11a2cf[_0x1c328f([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1c328f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x515b49=!0x1;const _0x47aaf2=_0xdf7424();function _0x100656(_0x447acf){return!!_0x447acf&&(typeof _0x447acf===_0x1c328f([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x447acf===_0x1c328f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x447acf[_0x1c328f([0x74,0x68,0x65,0x6e])]===_0x1c328f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x447acf[_0x1c328f([0x63,0x61,0x74,0x63,0x68])]===_0x1c328f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x5d2c89(_0x3316cb){_0x3a25cf(_0x3316cb)[_0x1c328f([0x74,0x68,0x65,0x6e])](_0x12de00=>{if(!_0x12de00||_0x12de00[_0x1c328f([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1c328f([0x6f,0x6b]))return _0x1c328f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2b9a4d(_0xc41b5d(_0x47aaf2+_0x81c9c1))!=_0x12de00[_0x1c328f([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1c328f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1c328f([0x56,0x61,0x6c,0x69,0x64]);})[_0x1c328f([0x74,0x68,0x65,0x6e])](_0x48fe1b=>(_0xe76484(),_0x48fe1b),()=>{const _0x4c956f=_0xc70aa6();return null==_0x4c956f?(_0xe76484(),_0x1c328f([0x56,0x61,0x6c,0x69,0x64])):_0x1c328f(_0x1b5a53-_0x4c956f>(0x2edffbf0^_0x38c6ff)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1c328f([0x74,0x68,0x65,0x6e])](_0x407959)[_0x1c328f([0x63,0x61,0x74,0x63,0x68])](()=>{_0x407959(_0x1c328f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x166a8c=0xae59170^_0x38c6ff;function _0xe76484(){const _0x4e50f4=_0x1c328f([0x6c,0x6c,0x63,0x74,0x2d])+_0x2b9a4d(_0xc41b5d(_0x53d133)),_0x2967a0=_0x34f170(_0x2b9a4d(window[_0x1c328f([0x4d,0x61,0x74,0x68])][_0x1c328f([0x63,0x65,0x69,0x6c])](_0x1b5a53/_0x166a8c)));window[_0x1c328f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1c328f([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4e50f4,_0x2967a0);}function _0xc70aa6(){const _0xc266e6=_0x1c328f([0x6c,0x6c,0x63,0x74,0x2d])+_0x2b9a4d(_0xc41b5d(_0x53d133)),_0x41da69=window[_0x1c328f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1c328f([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xc266e6);return _0x41da69?window[_0x1c328f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x34f170(_0x41da69),0x10)*_0x166a8c:null;}function _0x3a25cf(_0x1a36f5){return new window[(_0x1c328f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4531ab,_0xeca33e)=>{_0x1a36f5[_0x1c328f([0x74,0x68,0x65,0x6e])](_0x4531ab,_0xeca33e),window[_0x1c328f([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0xeca33e,0xad2ab30^_0x38c6ff);});}}_0x11a2cf[_0x1c328f([0x6f,0x6e])](_0x1c328f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x6927d6,_0x1a50e0)=>{if(_0x1a50e0[0x0]!=_0x53d133)return _0x407959(_0x1c328f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1a50e0[0x1]={..._0x1a50e0[0x1],[_0x1c328f([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x47aaf2};},{[_0x1c328f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1c328f([0x68,0x69,0x67,0x68])}),_0x11a2cf[_0x1c328f([0x6f,0x6e])](_0x1c328f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x26ceea=>{_0x100656(_0x26ceea[_0x1c328f([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x515b49=!0x0,_0x5d2c89(_0x26ceea[_0x1c328f([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1c328f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1c328f([0x6c,0x6f,0x77])}),_0x331507[_0x1c328f([0x74,0x68,0x65,0x6e])](()=>{_0x515b49||_0x407959(_0x1c328f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3b6593(){return _0x11a2cf[_0x1c328f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1c328f([0x76,0x69,0x65,0x77])][_0x1c328f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1c328f([0x61,0x75,0x74,0x6f]);}function _0x3b2974(){_0x11a2cf[_0x1c328f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1c328f([0x76,0x69,0x65,0x77])][_0x1c328f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1c328f([0x61,0x75,0x74,0x6f]);}}function _0x162e7c(_0x944f7b){const _0x63e57b=[new window[(_0x1c328f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x47c00e=>setTimeout(_0x47c00e,0xada413c^_0x38c6ff)),_0x331507[_0x1c328f([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1c328f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4d3309=>{let _0x28a64e=0x0;_0x11a2cf[_0x1c328f([0x6d,0x6f,0x64,0x65,0x6c])][_0x1c328f([0x6f,0x6e])](_0x1c328f([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x449111,_0x27a929)=>{_0x27a929[0x0][_0x1c328f([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x28a64e++,_0x28a64e==(0xad37e08^_0x38c6ff)&&(_0x4d3309(),_0x449111[_0x1c328f([0x6f,0x66,0x66])]());});}))];return window[_0x1c328f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1c328f([0x72,0x61,0x63,0x65])](_0x63e57b)[_0x1c328f([0x74,0x68,0x65,0x6e])](()=>_0x944f7b);}async function _0x56887f(){await _0x331507,_0x11a2cf[_0x1c328f([0x6d,0x6f,0x64,0x65,0x6c])][_0x1c328f([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xa3c145,_0x11a2cf[_0x1c328f([0x6d,0x6f,0x64,0x65,0x6c])][_0x1c328f([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xa3c145,_0x11a2cf[_0x1c328f([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1c328f([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x31866a(_0x4b2d89){const _0x1d6509=_0x593f23();_0x11a2cf[_0x1d6509]=_0x1c328f([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x4b2d89,_0x4b2d89!=_0x1c328f([0x56,0x61,0x6c,0x69,0x64])&&_0x56887f();}function _0x593f23(){const _0x28b647=window[_0x1c328f([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1c328f([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1c328f([0x6e,0x6f,0x77])]())[_0x1c328f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1c328f([0x2e]),'');let _0x46164c=_0x1c328f([0x43]);for(let _0x17d787=0x0;_0x17d787<_0x28b647[_0x1c328f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x17d787+=0x2){let _0x361694=window[_0x1c328f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x28b647[_0x1c328f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x17d787,_0x17d787+0x2));_0x361694>=_0x29768b[_0x1c328f([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x361694-=_0x29768b[_0x1c328f([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x46164c+=_0x29768b[_0x361694];}return _0x46164c;}function _0x4bcfe8(){const _0x3dca4e=_0x141040[_0x1c328f([0x73,0x70,0x6c,0x69,0x74])](_0x1c328f([0x2e]));if(0x3!=_0x3dca4e[_0x1c328f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x488c8b(_0x3dca4e[0x1]);function _0x488c8b(_0x54eeb0){const _0x1528b6=_0x4a0fff(_0x54eeb0);return _0x1528b6&&_0x3670f3()?_0x1528b6:null;function _0x3670f3(){const _0x22350a=_0x1528b6[_0x1c328f([0x6a,0x74,0x69])],_0x36075a=window[_0x1c328f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x22350a[_0x1c328f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x22350a[_0x1c328f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x5cf2fe={..._0x1528b6,[_0x1c328f([0x6a,0x74,0x69])]:_0x22350a[_0x1c328f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x22350a[_0x1c328f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x5cf2fe[_0x1c328f([0x76,0x63])],_0xc41b5d(_0x5cf2fe)==_0x36075a;}}}async function _0x17b2f0(){let _0x1d0856=!0x0;try{const _0x1207ee=_0x141040[_0x1c328f([0x73,0x70,0x6c,0x69,0x74])](_0x1c328f([0x2e])),[_0x4e7ab5,_0x955eb4,_0x306271]=_0x1207ee;return _0x3e5be4(_0x4e7ab5),await _0xff5094(_0x4e7ab5,_0x955eb4,_0x306271),_0x1d0856;}catch(_0x24672a){return!0x1;}function _0x3e5be4(_0x42e402){const _0xbf6844=_0x4a0fff(_0x42e402);_0xbf6844&&_0xbf6844[_0x1c328f([0x61,0x6c,0x67])]==_0x1c328f([0x45,0x53,0x32,0x35,0x36])||(_0x1d0856=!0x1);}async function _0xff5094(_0x19ce41,_0x3b999b,_0x536b2b){const _0x2c5f4d=window[_0x1c328f([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1c328f([0x66,0x72,0x6f,0x6d])](_0x4e2b3b(_0x536b2b),_0x5ca3a5=>_0x5ca3a5[_0x1c328f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x238735=new window[(_0x1c328f([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1c328f([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x19ce41+_0x1c328f([0x2e])+_0x3b999b),_0x3ff44a=window[_0x1c328f([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1c328f([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3ff44a)return;const _0x2e001d=await _0x3ff44a[_0x1c328f([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1c328f([0x6a,0x77,0x6b]),_0x507508,{[_0x1c328f([0x6e,0x61,0x6d,0x65])]:_0x1c328f([0x45,0x43,0x44,0x53,0x41]),[_0x1c328f([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1c328f([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1c328f([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3ff44a[_0x1c328f([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1c328f([0x6e,0x61,0x6d,0x65])]:_0x1c328f([0x45,0x43,0x44,0x53,0x41]),[_0x1c328f([0x68,0x61,0x73,0x68])]:{[_0x1c328f([0x6e,0x61,0x6d,0x65])]:_0x1c328f([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2e001d,_0x2c5f4d,_0x238735)||(_0x1d0856=!0x1);}}function _0x4a0fff(_0x5e4270){return _0x5e4270[_0x1c328f([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1c328f([0x65,0x79]))?JSON[_0x1c328f([0x70,0x61,0x72,0x73,0x65])](_0x4e2b3b(_0x5e4270)):null;}function _0x4e2b3b(_0x516fe7){return window[_0x1c328f([0x61,0x74,0x6f,0x62])](_0x516fe7[_0x1c328f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1c328f([0x2b]))[_0x1c328f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1c328f([0x2f])));}function _0xc41b5d(_0x4af82b){let _0x3749ef=0x1505;function _0x122d87(_0x1d6040){for(let _0x5085be=0x0;_0x5085be<_0x1d6040[_0x1c328f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5085be++){const _0x2115ae=_0x1d6040[_0x1c328f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5085be);_0x3749ef=(_0x3749ef<<0x5)+_0x3749ef+_0x2115ae,_0x3749ef&=_0x3749ef;}}function _0x4c37a6(_0x1eade1){Array[_0x1c328f([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1eade1)?_0x1eade1[_0x1c328f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4c37a6):_0x1eade1&&typeof _0x1eade1==_0x1c328f([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1c328f([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1eade1)[_0x1c328f([0x73,0x6f,0x72,0x74])]()[_0x1c328f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x1f3085,_0x4b9136])=>{_0x122d87(_0x1f3085),_0x4c37a6(_0x4b9136);}):_0x122d87(window[_0x1c328f([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1eade1));}return _0x4c37a6(_0x4af82b),_0x3749ef>>>0x0;}function _0x2b9a4d(_0x5a464c){return _0x5a464c[_0x1c328f([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1c328f([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1c328f([0x30]));}function _0x34f170(_0x311a4b){return _0x311a4b[_0x1c328f([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1c328f([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1c328f([0x6a,0x6f,0x69,0x6e])]('');}function _0xa3c145(){}function _0x1c328f(_0x71978){const _0x1ddb57=_0x56c1;return _0x71978[_0x1ddb57(0x200)](_0x3b57af=>String[_0x1ddb57(0x229)](_0x3b57af))[_0x1ddb57(0x218)]('');}_0x31866a(await _0x4a398d());}(this);}[_0x4f3b08(0x231)](_0x185a78){const _0x1df6f3=_0x4f3b08;this[_0x1df6f3(0x1fc)][_0x1df6f3(0x22a)][_0x1df6f3(0x22c)][_0x1df6f3(0x233)](_0x30a378=>{const _0x52594b=_0x1df6f3;for(const _0x413dd2 of this[_0x52594b(0x1fc)][_0x52594b(0x22a)][_0x52594b(0x22c)][_0x52594b(0x207)][_0x52594b(0x237)])_0x185a78?_0x30a378[_0x52594b(0x22d)](_0x2a085f,_0x413dd2):_0x30a378[_0x52594b(0x21f)](_0x2a085f,_0x413dd2);});}[_0x4f3b08(0x1fa)](){const _0xb2753d=_0x4f3b08,{editor:_0x5bec06}=this;_0x5bec06[_0xb2753d(0x20d)](_0x1eca65),_0x5bec06['ui'][_0xb2753d(0x223)][_0xb2753d(0x232)](_0x2040e0(_0x5bec06[_0xb2753d(0x1f4)],_0xb2753d(0x1f7)));}[_0x4f3b08(0x227)](){const _0xa2666f=_0x4f3b08,{editor:_0xa50507}=this,_0x467157=_0xa50507[_0xa2666f(0x21a)][_0xa2666f(0x204)](_0x1eca65)[_0xa2666f(0x23c)];_0xa50507[_0xa2666f(0x20d)](_0x3db0bc,_0x467157),_0xa50507['ui'][_0xa2666f(0x223)][_0xa2666f(0x232)](_0x2040e0(_0xa50507[_0xa2666f(0x1f4)],_0xa2666f(0x1f8)));}[_0x4f3b08(0x1f9)](){const _0x168c4f=_0x4f3b08;this[_0x168c4f(0x1fc)][_0x168c4f(0x21a)][_0x168c4f(0x204)](_0x1eca65)[_0x168c4f(0x217)](),this[_0x168c4f(0x215)](_0x5c2d41[_0x168c4f(0x22e)][_0x168c4f(0x207)],_0x168c4f(0x234));}}
|
|
23
|
+
const _0x2684d7=_0x2e61;function _0x2e61(_0xafe693,_0x361c79){const _0x1ad9a8=_0x1ad9();return _0x2e61=function(_0x2e6195,_0x56491){_0x2e6195=_0x2e6195-0x64;let _0x206d60=_0x1ad9a8[_0x2e6195];return _0x206d60;},_0x2e61(_0xafe693,_0x361c79);}(function(_0x24cf5f,_0x3e4aca){const _0x254097=_0x2e61,_0x15cd8a=_0x24cf5f();while(!![]){try{const _0x15a770=parseInt(_0x254097(0xa4))/0x1*(-parseInt(_0x254097(0x64))/0x2)+-parseInt(_0x254097(0xb0))/0x3*(-parseInt(_0x254097(0x88))/0x4)+-parseInt(_0x254097(0x96))/0x5+-parseInt(_0x254097(0x9e))/0x6*(-parseInt(_0x254097(0x7f))/0x7)+-parseInt(_0x254097(0xaf))/0x8*(-parseInt(_0x254097(0x78))/0x9)+-parseInt(_0x254097(0xac))/0xa+-parseInt(_0x254097(0x7e))/0xb*(-parseInt(_0x254097(0x82))/0xc);if(_0x15a770===_0x3e4aca)break;else _0x15cd8a['push'](_0x15cd8a['shift']());}catch(_0x277ac5){_0x15cd8a['push'](_0x15cd8a['shift']());}}}(_0x1ad9,0xd910d));import{Plugin as _0x3f32cc}from'ckeditor5/src/core.js';import{addListToDropdown as _0x37c922,createDropdown as _0x29e6c7,ViewModel as _0x17d365,SplitButtonView as _0x5e6b62}from'ckeditor5/src/ui.js';import{Collection as _0x56e0bc,global as _0x28e7e4,DomEmitterMixin as _0x20f6e0,uid as _0x1cfd46}from'ckeditor5/src/utils.js';function _0x1ad9(){const _0x584f54=['commands','listenTo','Ctrl+Alt+C','5398503FKQbJd','350CvopOR','map','formatPainter','12yhdvGR','ck-format-painter-dropdown','_toggleSpecialCursor','class','menuitemcheckbox','editor','6044488dIWgQN','value','bind','locale','Esc','_copyFormatting','join','componentFactory','FormatPainterUI','Copy\x20text\x20formatting','Paste\x20text\x20formatting','get','mouseup','addObserver','8671160kHXYWh','document','roots','set','change','focus','Paint\x20formatting','change:value','29394aEpSSW','init','Formatting\x20copied.','destroy','high','addClass','2XNUKvY','_finishPainting','switchbutton','editing','accessibility','menu','Pasted\x20formatting.','Ctrl+Alt+V','13661250FLJRAf','isOfficialPlugin','view','200erEXNi','3gXTzQr','execute','17462kOytny','isPremiumPlugin','buttonView','isEnabled','href','Keeps\x20the\x20painter\x20on\x20after\x20setting\x20the\x20formatting.','_pasteFormatting','removeClass','addKeystrokeInfos','afterInit','announce','keystrokes','reset','change:isEnabled','fromCharCode','Continuous\x20painting','ariaLiveAnnouncer','isOn','window','pluginName','633627eZxTYj','stopListening','add'];_0x1ad9=function(){return _0x584f54;};return _0x1ad9();}import{ClickObserver as _0x2098ae}from'ckeditor5/src/engine.js';import{IconPaintRoller as _0x162aed}from'ckeditor5/src/icons.js';import'../theme/formatpainter.css';import{COPY_FORMAT_COMMAND_NAME as _0x383842,PASTE_FORMAT_COMMAND_NAME as _0x531164,CURSOR_ACTIVE_CSS_CLASS as _0x20d28d}from'./utils.js';import{getTranslation as _0x1fa24e}from'./utils/common-translations.js';export default class m extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x20f6e0(_0x3f32cc){static get[_0x2684d7(0x77)](){const _0x5cfabb=_0x2684d7;return _0x5cfabb(0x90);}static get[_0x2684d7(0xad)](){return!0x0;}static get[_0x2684d7(0x65)](){return!0x0;}[_0x2684d7(0x9f)](){const _0x37ea96=_0x2684d7,_0x5ad266=this[_0x37ea96(0x87)];_0x5ad266[_0x37ea96(0xa7)][_0x37ea96(0xae)][_0x37ea96(0x95)](_0x2098ae),_0x5ad266[_0x37ea96(0xa8)][_0x37ea96(0x6c)]({'keystrokes':[{'label':_0x1fa24e(_0x5ad266[_0x37ea96(0x8b)],_0x37ea96(0x91)),'keystroke':_0x37ea96(0x7d)},{'label':_0x1fa24e(_0x5ad266[_0x37ea96(0x8b)],_0x37ea96(0x92)),'keystroke':_0x37ea96(0xab)}]}),_0x5ad266['ui'][_0x37ea96(0x8f)][_0x37ea96(0x7a)](_0x37ea96(0x81),_0x47f4fc=>{const _0x253434=_0x37ea96,_0xd5b116=_0x29e6c7(_0x47f4fc,_0x5e6b62),_0x115ca0=_0x5ad266[_0x253434(0x7b)][_0x253434(0x93)](_0x383842);_0xd5b116[_0x253434(0x66)][_0x253434(0x99)]({'label':_0x1fa24e(_0x5ad266[_0x253434(0x8b)],_0x253434(0x9c)),'icon':_0x162aed,'keystroke':_0x253434(0x7d),'tooltip':!0x0}),_0xd5b116[_0x253434(0x85)]=_0x253434(0x83),_0x115ca0&&(_0xd5b116[_0x253434(0x8a)](_0x253434(0x67))['to'](_0x115ca0,_0x253434(0x67)),this[_0x253434(0x7c)](_0x115ca0,_0x253434(0x71),(_0x5fffc2,_0x579886,_0x518939)=>{const _0x1ce65d=_0x253434;_0x518939||this[_0x1ce65d(0xa5)]();}),_0xd5b116[_0x253434(0x66)][_0x253434(0x8a)](_0x253434(0x75))['to'](_0x115ca0,_0x253434(0x89),_0x351b0b=>!!_0x351b0b),this[_0x253434(0x7c)](_0x5ad266,_0x253434(0xa1),()=>this[_0x253434(0x84)](!0x1)),this[_0x253434(0x7c)](_0x115ca0,_0x253434(0x9d),(_0xe63c7,_0x49d026,_0x3890e9)=>{const _0x39fa29=_0x253434;this[_0x39fa29(0x84)](!!_0x3890e9);}));const _0xba8abf=new _0x17d365({'withText':!0x0,'label':_0x1fa24e(_0x5ad266[_0x253434(0x8b)],_0x253434(0x73)),'tooltip':_0x1fa24e(_0x5ad266[_0x253434(0x8b)],_0x253434(0x69)),'isOn':!0x1,'role':_0x253434(0x86)});_0x37c922(_0xd5b116,new _0x56e0bc([{'type':_0x253434(0xa6),'model':_0xba8abf}]),{'role':_0x253434(0xa9)});const _0x313dac=()=>{const _0x2bfe61=_0x253434;this[_0x2bfe61(0x8d)](),this[_0x2bfe61(0x7c)](_0x28e7e4[_0x2bfe61(0x76)][_0x2bfe61(0x97)],_0x2bfe61(0x94),()=>{const _0x2312a1=_0x2bfe61;this[_0x2312a1(0x6a)](),_0xba8abf[_0x2312a1(0x75)]||this[_0x2312a1(0xa5)]();});};return this[_0x253434(0x7c)](_0xd5b116,_0x253434(0xb1),()=>{const _0x2a4bc2=_0x253434;_0xba8abf[_0x2a4bc2(0x75)]=!_0xba8abf[_0x2a4bc2(0x75)];}),this[_0x253434(0x7c)](_0xd5b116[_0x253434(0x66)],_0x253434(0xb1),()=>{const _0x2c77a2=_0x253434;_0x5ad266[_0x2c77a2(0xa7)][_0x2c77a2(0xae)][_0x2c77a2(0x9b)](),_0xd5b116[_0x2c77a2(0x66)][_0x2c77a2(0x75)]?this[_0x2c77a2(0xa5)]():_0x313dac();}),_0x5ad266[_0x253434(0x6f)][_0x253434(0x99)](_0x253434(0x7d),(_0x248c97,_0x4d13b4)=>{const _0x4d13df=_0x253434;_0x313dac(),_0xba8abf[_0x4d13df(0x75)]=!0x0,_0x4d13b4();},{'priority':_0x253434(0xa2)}),_0x5ad266[_0x253434(0x6f)][_0x253434(0x99)](_0x253434(0xab),(_0x567c56,_0x43db9e)=>{const _0x508838=_0x253434;_0xd5b116[_0x508838(0x66)][_0x508838(0x75)]&&(this[_0x508838(0x6a)](),_0xba8abf[_0x508838(0x75)]||this[_0x508838(0xa5)](),_0x43db9e());},{'priority':_0x253434(0xa2)}),_0x5ad266[_0x253434(0x6f)][_0x253434(0x99)](_0x253434(0x8c),(_0x452390,_0x595807)=>{const _0x532145=_0x253434;_0xd5b116[_0x532145(0x66)][_0x532145(0x75)]&&(_0xba8abf[_0x532145(0x75)]=!0x1,this[_0x532145(0xa5)](),_0x595807());}),_0xd5b116;});}[_0x2684d7(0x6d)](){!async function(_0x5339f5){const _0x528841=_0x560922([0x46,0x45,0x77,0x78,0x6e,0x6b,0x63,0x35,0x65,0x32,0x6d,0x68,0x56,0x66,0x48,0x67,0x44,0x50,0x52,0x53,0x4f,0x71,0x70,0x6f,0x4c,0x41,0x74,0x33,0x51,0x69,0x43,0x76,0x7a,0x39,0x64,0x59,0x4e,0x47,0x6a,0x62,0x31,0x79,0x54,0x6c,0x37,0x38,0x30,0x4b,0x5a,0x61,0x72,0x34,0x58,0x42,0x36,0x75,0x4d,0x73,0x49,0x4a,0x55,0x57]),_0x5629f9=0x3ecb4b99,_0x23a307=0x3ecc2cd9^_0x5629f9,_0x565dea=window[_0x560922([0x44,0x61,0x74,0x65])][_0x560922([0x6e,0x6f,0x77])](),_0xf3f6a8=_0x5339f5[_0x560922([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x4851a7=new window[(_0x560922([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1f1014=>{_0xf3f6a8[_0x560922([0x6f,0x6e,0x63,0x65])](_0x560922([0x72,0x65,0x61,0x64,0x79]),_0x1f1014);}),_0x57a227={[_0x560922([0x6b,0x74,0x79])]:_0x560922([0x45,0x43]),[_0x560922([0x75,0x73,0x65])]:_0x560922([0x73,0x69,0x67]),[_0x560922([0x63,0x72,0x76])]:_0x560922([0x50,0x2d,0x32,0x35,0x36]),[_0x560922([0x78])]:_0x560922([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]),[_0x560922([0x79])]:_0x560922([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]),[_0x560922([0x61,0x6c,0x67])]:_0x560922([0x45,0x53,0x32,0x35,0x36])},_0x5d3326=_0xf3f6a8[_0x560922([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x560922([0x67,0x65,0x74])](_0x560922([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4d3f26(){let _0x3f0334,_0x4c85f6=null,_0x247ac6=null;try{if(_0x5d3326==_0x560922([0x47,0x50,0x4c]))return _0x560922([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3f0334=_0x29645b(),!_0x3f0334)return _0x560922([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3f0334[_0x560922([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x247ac6=_0xa4bae9(_0x3f0334[_0x560922([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3f0334[_0x560922([0x6a,0x74,0x69])])),await _0x14d1b6()?_0x38a842()?_0x3de846()?_0x560922([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x393ec4()?(_0x3f0334[_0x560922([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x560922([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4c85f6=_0x42c057(_0x560922([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x3f0334[_0x560922([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x560922([0x74,0x72,0x69,0x61,0x6c])&&(_0x4c85f6=_0x42c057(_0x560922([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x508c61()):_0x560922([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x560922([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x560922([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x56d9b2){return _0x560922([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x3de846(){const _0x48f65c=[_0x560922([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x560922([0x74,0x72,0x69,0x61,0x6c])][_0x560922([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3f0334[_0x560922([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x565dea/0x3e8:0xe10*_0x23a307;return _0x3f0334[_0x560922([0x65,0x78,0x70])]<_0x48f65c;}function _0x38a842(){const _0x5c4662=_0x3f0334[_0x560922([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x5c4662&&(!!_0x5c4662[_0x560922([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x560922([0x2a]))||(!!_0x5c4662[_0x560922([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x560922([0x46,0x50]))||!!_0x5c4662[_0x560922([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x560922([0x50,0x50]))));}function _0x393ec4(){const _0x521b9c=_0x2e61,_0xc3c2ec=_0x3f0334[_0x560922([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xc3c2ec||0x0==_0xc3c2ec[_0x560922([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x569507}=new URL(window[_0x560922([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x521b9c(0x68)]);if(_0xc3c2ec[_0x560922([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x569507))return!0x0;const _0x2bc786=_0x569507[_0x560922([0x73,0x70,0x6c,0x69,0x74])](_0x560922([0x2e]));return _0xc3c2ec[_0x560922([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2d5482=>_0x2d5482[_0x560922([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x560922([0x2a])))[_0x560922([0x6d,0x61,0x70])](_0x47ce9e=>_0x47ce9e[_0x560922([0x73,0x70,0x6c,0x69,0x74])](_0x560922([0x2e])))[_0x560922([0x73,0x6f,0x6d,0x65])](_0x2d7625=>_0x2bc786[_0x560922([0x65,0x76,0x65,0x72,0x79])]((_0x363827,_0x45e0a7)=>_0x2d7625[_0x45e0a7]===_0x363827||_0x2d7625[_0x45e0a7]===_0x560922([0x2a])));}function _0x508c61(){return _0x4c85f6&&_0x247ac6?new window[(_0x560922([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1de7a0,_0x423515)=>{_0x4c85f6[_0x560922([0x74,0x68,0x65,0x6e])](_0x1de7a0,_0x423515),_0x247ac6[_0x560922([0x74,0x68,0x65,0x6e])](_0x32493c=>{_0x32493c!=_0x560922([0x56,0x61,0x6c,0x69,0x64])&&_0x1de7a0(_0x32493c);},_0x423515);}):_0x4c85f6||_0x247ac6||_0x560922([0x56,0x61,0x6c,0x69,0x64]);}}function _0xa4bae9(_0x1a8cc3,_0x1b2b8c){return new window[(_0x560922([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2762ad=>{if(_0xc7e6b6())return _0x2762ad(_0x560922([0x56,0x61,0x6c,0x69,0x64]));_0x18a937(),_0xf3f6a8[_0x560922([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x560922([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x22a0a5=!0x1;const _0x18c12e=_0x1cfd46();function _0x267586(_0x2234ff){return!!_0x2234ff&&(typeof _0x2234ff===_0x560922([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2234ff===_0x560922([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2234ff[_0x560922([0x74,0x68,0x65,0x6e])]===_0x560922([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2234ff[_0x560922([0x63,0x61,0x74,0x63,0x68])]===_0x560922([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x476b88(_0x1908ac){_0x210993(_0x1908ac)[_0x560922([0x74,0x68,0x65,0x6e])](_0x59429f=>{if(!_0x59429f||_0x59429f[_0x560922([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x560922([0x6f,0x6b]))return _0x560922([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x593a73(_0x45a3c9(_0x18c12e+_0x1b2b8c))!=_0x59429f[_0x560922([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x560922([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x560922([0x56,0x61,0x6c,0x69,0x64]);})[_0x560922([0x74,0x68,0x65,0x6e])](_0xdceb69=>(_0x56f752(),_0xdceb69),()=>{const _0x50a9ca=_0x57f1c0();return null==_0x50a9ca?(_0x56f752(),_0x560922([0x56,0x61,0x6c,0x69,0x64])):_0x560922(_0x565dea-_0x50a9ca>(0x1ac7cf99^_0x5629f9)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x560922([0x74,0x68,0x65,0x6e])](_0x2762ad)[_0x560922([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2762ad(_0x560922([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2eb2f8=0x3efda519^_0x5629f9;function _0x56f752(){const _0x56cfd2=_0x560922([0x6c,0x6c,0x63,0x74,0x2d])+_0x593a73(_0x45a3c9(_0x1a8cc3)),_0x2dd892=_0x182a56(_0x593a73(window[_0x560922([0x4d,0x61,0x74,0x68])][_0x560922([0x63,0x65,0x69,0x6c])](_0x565dea/_0x2eb2f8)));window[_0x560922([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x560922([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x56cfd2,_0x2dd892);}function _0x57f1c0(){const _0x17bc29=_0x560922([0x6c,0x6c,0x63,0x74,0x2d])+_0x593a73(_0x45a3c9(_0x1a8cc3)),_0x4fb46c=window[_0x560922([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x560922([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x17bc29);return _0x4fb46c?window[_0x560922([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x182a56(_0x4fb46c),0x10)*_0x2eb2f8:null;}function _0x210993(_0x115158){return new window[(_0x560922([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x49fc2f,_0x439954)=>{_0x115158[_0x560922([0x74,0x68,0x65,0x6e])](_0x49fc2f,_0x439954),window[_0x560922([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x439954,0x3eca9f59^_0x5629f9);});}}_0xf3f6a8[_0x560922([0x6f,0x6e])](_0x560922([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x50d258,_0x3f8bca)=>{if(_0x3f8bca[0x0]!=_0x1a8cc3)return _0x2762ad(_0x560922([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3f8bca[0x1]={..._0x3f8bca[0x1],[_0x560922([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x18c12e};},{[_0x560922([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x560922([0x68,0x69,0x67,0x68])}),_0xf3f6a8[_0x560922([0x6f,0x6e])](_0x560922([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x25ec40=>{_0x267586(_0x25ec40[_0x560922([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x22a0a5=!0x0,_0x476b88(_0x25ec40[_0x560922([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x560922([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x560922([0x6c,0x6f,0x77])}),_0x4851a7[_0x560922([0x74,0x68,0x65,0x6e])](()=>{_0x22a0a5||_0x2762ad(_0x560922([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0xc7e6b6(){return _0xf3f6a8[_0x560922([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x560922([0x76,0x69,0x65,0x77])][_0x560922([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x560922([0x61,0x75,0x74,0x6f]);}function _0x18a937(){_0xf3f6a8[_0x560922([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x560922([0x76,0x69,0x65,0x77])][_0x560922([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x560922([0x61,0x75,0x74,0x6f]);}}function _0x42c057(_0x3193b2){const _0x3c1db3=[new window[(_0x560922([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x30caa4=>setTimeout(_0x30caa4,0x3ec27555^_0x5629f9)),_0x4851a7[_0x560922([0x74,0x68,0x65,0x6e])](()=>new window[(_0x560922([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5353f7=>{let _0x5b292c=0x0;_0xf3f6a8[_0x560922([0x6d,0x6f,0x64,0x65,0x6c])][_0x560922([0x6f,0x6e])](_0x560922([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x45fc42,_0x2335a0)=>{_0x2335a0[0x0][_0x560922([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x5b292c++,_0x5b292c==(0x3ecb4a61^_0x5629f9)&&(_0x5353f7(),_0x45fc42[_0x560922([0x6f,0x66,0x66])]());});}))];return window[_0x560922([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x560922([0x72,0x61,0x63,0x65])](_0x3c1db3)[_0x560922([0x74,0x68,0x65,0x6e])](()=>_0x3193b2);}async function _0x16d70b(){await _0x4851a7,_0xf3f6a8[_0x560922([0x6d,0x6f,0x64,0x65,0x6c])][_0x560922([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xbdedbe,_0xf3f6a8[_0x560922([0x6d,0x6f,0x64,0x65,0x6c])][_0x560922([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xbdedbe,_0xf3f6a8[_0x560922([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x560922([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x492dcf(_0x18e97d){const _0x2aa26c=_0x577390();_0xf3f6a8[_0x2aa26c]=_0x560922([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x18e97d,_0x18e97d!=_0x560922([0x56,0x61,0x6c,0x69,0x64])&&_0x16d70b();}function _0x577390(){const _0x3059e5=window[_0x560922([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x560922([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x560922([0x6e,0x6f,0x77])]())[_0x560922([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x560922([0x2e]),'');let _0x562a59=_0x560922([0x46]);for(let _0x4403b8=0x0;_0x4403b8<_0x3059e5[_0x560922([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4403b8+=0x2){let _0x2ce9b9=window[_0x560922([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3059e5[_0x560922([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4403b8,_0x4403b8+0x2));_0x2ce9b9>=_0x528841[_0x560922([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2ce9b9-=_0x528841[_0x560922([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x562a59+=_0x528841[_0x2ce9b9];}return _0x562a59;}function _0x29645b(){const _0x449325=_0x5d3326[_0x560922([0x73,0x70,0x6c,0x69,0x74])](_0x560922([0x2e]));if(0x3!=_0x449325[_0x560922([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x307e30(_0x449325[0x1]);function _0x307e30(_0x12fd91){const _0x200b91=_0x6cea3(_0x12fd91);return _0x200b91&&_0xfdfa5e()?_0x200b91:null;function _0xfdfa5e(){const _0x5d9772=_0x200b91[_0x560922([0x6a,0x74,0x69])],_0x31ac4c=window[_0x560922([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5d9772[_0x560922([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5d9772[_0x560922([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x163ea4={..._0x200b91,[_0x560922([0x6a,0x74,0x69])]:_0x5d9772[_0x560922([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x5d9772[_0x560922([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x163ea4[_0x560922([0x76,0x63])],_0x45a3c9(_0x163ea4)==_0x31ac4c;}}}async function _0x14d1b6(){let _0x521f6f=!0x0;try{const _0x5117a4=_0x5d3326[_0x560922([0x73,0x70,0x6c,0x69,0x74])](_0x560922([0x2e])),[_0xab3157,_0x54a39e,_0x149248]=_0x5117a4;return _0x2a8449(_0xab3157),await _0x3ea270(_0xab3157,_0x54a39e,_0x149248),_0x521f6f;}catch(_0x4d5fc7){return!0x1;}function _0x2a8449(_0x4aeca3){const _0x50b095=_0x6cea3(_0x4aeca3);_0x50b095&&_0x50b095[_0x560922([0x61,0x6c,0x67])]==_0x560922([0x45,0x53,0x32,0x35,0x36])||(_0x521f6f=!0x1);}async function _0x3ea270(_0x519d66,_0xaf346a,_0xe30aed){const _0x44d3d5=window[_0x560922([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x560922([0x66,0x72,0x6f,0x6d])](_0x4e5204(_0xe30aed),_0x1d4923=>_0x1d4923[_0x560922([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x11e53c=new window[(_0x560922([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x560922([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x519d66+_0x560922([0x2e])+_0xaf346a),_0x16b18f=window[_0x560922([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x560922([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x16b18f)return;const _0x3aa011=await _0x16b18f[_0x560922([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x560922([0x6a,0x77,0x6b]),_0x57a227,{[_0x560922([0x6e,0x61,0x6d,0x65])]:_0x560922([0x45,0x43,0x44,0x53,0x41]),[_0x560922([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x560922([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x560922([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x16b18f[_0x560922([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x560922([0x6e,0x61,0x6d,0x65])]:_0x560922([0x45,0x43,0x44,0x53,0x41]),[_0x560922([0x68,0x61,0x73,0x68])]:{[_0x560922([0x6e,0x61,0x6d,0x65])]:_0x560922([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x3aa011,_0x44d3d5,_0x11e53c)||(_0x521f6f=!0x1);}}function _0x6cea3(_0x25c76d){return _0x25c76d[_0x560922([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x560922([0x65,0x79]))?JSON[_0x560922([0x70,0x61,0x72,0x73,0x65])](_0x4e5204(_0x25c76d)):null;}function _0x4e5204(_0x36433a){return window[_0x560922([0x61,0x74,0x6f,0x62])](_0x36433a[_0x560922([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x560922([0x2b]))[_0x560922([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x560922([0x2f])));}function _0x45a3c9(_0x302668){let _0x36e69e=0x1505;function _0x6a5b4a(_0x5a828c){for(let _0x1ecbaf=0x0;_0x1ecbaf<_0x5a828c[_0x560922([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1ecbaf++){const _0xbca68f=_0x5a828c[_0x560922([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1ecbaf);_0x36e69e=(_0x36e69e<<0x5)+_0x36e69e+_0xbca68f,_0x36e69e&=_0x36e69e;}}function _0x574b52(_0x3ddf04){Array[_0x560922([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x3ddf04)?_0x3ddf04[_0x560922([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x574b52):_0x3ddf04&&typeof _0x3ddf04==_0x560922([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x560922([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x3ddf04)[_0x560922([0x73,0x6f,0x72,0x74])]()[_0x560922([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x45b87c,_0x199945])=>{_0x6a5b4a(_0x45b87c),_0x574b52(_0x199945);}):_0x6a5b4a(window[_0x560922([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x3ddf04));}return _0x574b52(_0x302668),_0x36e69e>>>0x0;}function _0x593a73(_0x59b395){return _0x59b395[_0x560922([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x560922([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x560922([0x30]));}function _0x182a56(_0x233c01){return _0x233c01[_0x560922([0x73,0x70,0x6c,0x69,0x74])]('')[_0x560922([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x560922([0x6a,0x6f,0x69,0x6e])]('');}function _0xbdedbe(){}function _0x560922(_0x24915c){const _0x2bd7be=_0x2e61;return _0x24915c[_0x2bd7be(0x80)](_0x5123b1=>String[_0x2bd7be(0x72)](_0x5123b1))[_0x2bd7be(0x8e)]('');}_0x492dcf(await _0x4d3f26());}(this);}[_0x2684d7(0x84)](_0x48ee8b){const _0x28e298=_0x2684d7;this[_0x28e298(0x87)][_0x28e298(0xa7)][_0x28e298(0xae)][_0x28e298(0x9a)](_0x15474d=>{const _0x28856a=_0x28e298;for(const _0x5923cc of this[_0x28856a(0x87)][_0x28856a(0xa7)][_0x28856a(0xae)][_0x28856a(0x97)][_0x28856a(0x98)])_0x48ee8b?_0x15474d[_0x28856a(0xa3)](_0x20d28d,_0x5923cc):_0x15474d[_0x28856a(0x6b)](_0x20d28d,_0x5923cc);});}[_0x2684d7(0x8d)](){const _0x17c7a0=_0x2684d7,{editor:_0x284b90}=this;_0x284b90[_0x17c7a0(0xb1)](_0x383842),_0x284b90['ui'][_0x17c7a0(0x74)][_0x17c7a0(0x6e)](_0x1fa24e(_0x284b90[_0x17c7a0(0x8b)],_0x17c7a0(0xa0)));}[_0x2684d7(0x6a)](){const _0x4acf11=_0x2684d7,{editor:_0x334f77}=this,_0x4bf5c0=_0x334f77[_0x4acf11(0x7b)][_0x4acf11(0x93)](_0x383842)[_0x4acf11(0x89)];_0x334f77[_0x4acf11(0xb1)](_0x531164,_0x4bf5c0),_0x334f77['ui'][_0x4acf11(0x74)][_0x4acf11(0x6e)](_0x1fa24e(_0x334f77[_0x4acf11(0x8b)],_0x4acf11(0xaa)));}[_0x2684d7(0xa5)](){const _0x352925=_0x2684d7;this[_0x352925(0x87)][_0x352925(0x7b)][_0x352925(0x93)](_0x383842)[_0x352925(0x70)](),this[_0x352925(0x79)](_0x28e7e4[_0x352925(0x76)][_0x352925(0x97)],_0x352925(0x94));}}
|