@ckeditor/ckeditor5-format-painter 45.2.0-alpha.1 → 45.2.0-alpha.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/format-painter.js +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),d={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==f)n[f].references++,n[f].updater(d);else{var l=i(d,r);r.byIndex=a,n.splice(a,0,{identifier:g,updater:l,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:()=>_,PasteFormatCommand:()=>A});var t=e(782);const n=i;function i(t,n){const e=c();return(i=function(t,n){return e[t-=417]})(t,n)}!function(t){const n=i,e=t();for(;;)try{if(605098===parseInt(n(423))/1+parseInt(n(426))/2+parseInt(n(417))/3+-parseInt(n(418))/4+-parseInt(n(424))/5*(-parseInt(n(421))/6)+-parseInt(n(419))/7+-parseInt(n(422))/8)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(c);const o=n(427),s=n(425),a=n(420);function c(){const t=["1456198bxABCt","copyFormat","3617889fZXdxa","404780eOCTfO","936929aAnWYP","ck-format-painter-active","6222pVODuS","21352448WoNFCN","416805LjGIqz","5585SikRgr","pasteFormat"];return(c=function(){return t})()}function u(){const t=["11369754jElBFK","1464429WiBeGD","execute","65emTkse","model","25736CaTbyP","change:isEnabled","isFormatting","value","1376340AXjWQa","26899qXlGoe","getAttributes","reset","fromEntries","schema","from","filter","selection","get","commands","editor","2913096CwcFmJ","_getFormattingAttributes","getAttributeProperties","1242372iqhDKY","change:value","document","78oxEnLU","refresh"];return(u=function(){return t})()}const I=g;function g(t,n){const e=u();return(g=function(t,n){return e[t-=151]})(t,n)}!function(t){const n=g,e=t();for(;;)try{if(579201===parseInt(n(151))/1*(-parseInt(n(168))/2)+parseInt(n(171))/3+parseInt(n(175))/4*(-parseInt(n(173))/5)+-parseInt(n(165))/6+-parseInt(n(179))/7+parseInt(n(162))/8+parseInt(n(170))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(u);class f extends t.Command{constructor(t){const n=g;super(t),this[n(178)]=void 0,this.on(n(176),((t,e,r)=>{r||this[n(153)]()})),this.on(n(166),(()=>t[n(160)][n(159)](s)[n(169)]()))}[I(172)](){const t=I;this[t(178)]=this[t(163)]()}[I(153)](){this[I(178)]=void 0}[I(163)](){const t=I,n=this[t(161)][t(174)],e=n[t(167)][t(158)];return Object[t(154)](Array[t(156)](e[t(152)]())[t(157)]((([e])=>n[t(155)][t(164)](e)[t(177)])))}}var d=e(584);const l=p;function M(){const t=["getSelectedBlocks","2094890eNUQbQ","getValidRanges","_removeFormatCommand","getRanges","getFirstPosition","model","schema","createRange","370008PEZYeb","getAttributeProperties","612yHQPMS","168157GjXrIP","word","_getFormattingItems","selection","execute","557451GerWSg","isCollapsed","getLastPosition","_createRangeOnEntireWord","49AaxQrq","getItems","backward","106331UKziya","createSelection","modifySelection","6fcgykA","forward","6OsQiPG","from","setAttribute","_getFormattingAttributes","change","createRangeOn","document","isFormatting","removeSelectionAttribute","getAttributes","259900OwvtfU","215994hZljGV","isBlock","editor","56CiILmg","removeAttribute","setSelection"];return(M=function(){return t})()}function p(t,n){const e=M();return(p=function(t,n){return e[t-=349]})(t,n)}!function(t){const n=p,e=t();for(;;)try{if(221551===parseInt(n(374))/1*(-parseInt(n(379))/2)+-parseInt(n(377))/3*(-parseInt(n(359))/4)+parseInt(n(389))/5+-parseInt(n(390))/6*(parseInt(n(371))/7)+-parseInt(n(393))/8*(parseInt(n(367))/9)+parseInt(n(351))/10+parseInt(n(362))/11*(parseInt(n(361))/12))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(M);class A extends t.Command{constructor(t){const n=p;super(t),this[n(353)]=new m(t)}[l(366)](t={}){const n=l,e=this[n(392)][n(356)],r=e[n(385)][n(365)],i=Array[n(380)](r[n(354)]()),o=r[n(368)]?[this[n(370)](e,r)]:i;e[n(383)]((r=>{const s=n;r[s(349)](o),this[s(353)][s(366)]();for(const n in t)for(const i of e[s(357)][s(352)](o,n))r[s(381)](n,t[n],i);r[s(349)](i)}))}[l(370)](t,n){const e=l,r=t[e(375)](n);t[e(376)](r,{unit:e(363),direction:e(373)});const i=r[e(355)]();t[e(376)](r,{unit:e(363),direction:e(378)});const o=r[e(369)]();return t[e(358)](i,o)}}class m extends t.Command{[l(366)](){const t=l,n=this[t(392)][t(356)],e=n[t(357)];n[t(383)]((r=>{const i=t;for(const t of this[i(364)](n[i(385)][i(365)],e))if(t.is(i(365)))for(const n of this[i(382)](t,e))r[i(387)](n);else{const n=r[i(384)](t);for(const o of this[i(382)](t,e))r[i(394)](o,n)}}))}*[l(364)](t,n){const e=l,r=t=>!!(0,d.first)(this[e(382)](t,n));for(const i of t[e(354)]())for(const t of i[e(372)]())!n[e(391)](t)&&r(t)&&(yield t);for(const n of t[e(350)]())r(n)&&(yield n);r(t)&&(yield t)}*[l(382)](t,n){const e=l;for(const[r]of t[e(388)]()){const t=n[e(360)](r);t&&t[e(386)]&&(yield r)}}}function w(t,n){const e=D();return(w=function(t,n){return e[t-=444]})(t,n)}const h=w;function D(){const t=["usageLimit","get","formatPainterLicenseKeyTrialLimit","formatPainterLicenseKeyUsageLimit","config","trialLimit","145324HjhBZb","33JXFcKR","domainLimit","7414660nBniIM","8IicQZz","formatPainterLicenseKeyExpired","formatPainterLicenseKeyInvalid","3448708ZkNyQt","273doipmV","formatPainterLicenseKeyEvaluationLimit","49946061OCbJPt","commands","formatPainterLicenseKeyValid","isOfficialPlugin","60132XwTdcr","add","pluginName","3721950RcQpGz","FormatPainter","formatPainterLicenseKeyDomainLimit","10wRiSas","licenseKey","expired","636012eZflQA","isPremiumPlugin","featureNotAllowed","destroy","evaluationLimit","FormatPainterEditing","_licenseKeyCheckInterval","invalid","formatPainterLicenseKeyNotAllowed","init","_showLicenseError","editor"];return(D=function(){return t})()}!function(t){const n=w,e=t();for(;;)try{if(782840===-parseInt(n(458))/1+-parseInt(n(476))/2*(parseInt(n(477))/3)+-parseInt(n(483))/4+-parseInt(n(479))/5+parseInt(n(449))/6*(-parseInt(n(484))/7)+-parseInt(n(480))/8*(-parseInt(n(452))/9)+-parseInt(n(455))/10*(-parseInt(n(445))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(D);class N extends t.Plugin{[h(456)];[h(464)];static get[h(451)](){return h(463)}static get[h(448)](){return!0}static get[h(459)](){return!0}[h(467)](){const t=h,n=this[t(469)];n[t(446)][t(450)](o,new f(n)),n[t(446)][t(450)](s,new A(n)),this[t(456)]=this[t(469)][t(474)][t(471)](t(456));const e=this[t(469)];this[t(464)]=setInterval((()=>{const n=t;let r;for(const t in e){const i=t,o=e[i];if(n(447)==o||n(482)==o||n(481)==o||n(454)==o||n(466)==o||n(444)==o||n(472)==o||n(473)==o){delete e[i],r=o,clearInterval(this[n(464)]),this[n(464)]=void 0;break}}n(482)==r&&e[n(468)](n(465)),n(481)==r&&e[n(468)](n(457)),n(454)==r&&e[n(468)](n(478)),n(466)==r&&e[n(468)](n(460),n(453)),n(444)==r&&e[n(468)](n(462)),n(472)==r&&e[n(468)](n(475)),n(473)==r&&e[n(468)](n(470))}),1e3)}[h(461)](){const t=h;super[t(461)](),this[t(464)]&&clearInterval(this[t(464)])}}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}}function Z(){const t=["isPremiumPlugin","change:value","addObserver","keystrokes","Pasted formatting.","reset","Paste text formatting","view","get","listenTo","afterInit","_finishPainting","isOn","announce","ck-format-painter-dropdown","5NodYLN","110872DmGiKs","locale","ariaLiveAnnouncer","_pasteFormatting","Keeps the painter on after setting the formatting.","window","isOfficialPlugin","stopListening","high","editor","bind","3533410ZuTiTP","mouseup","Formatting copied.","document","focus","addKeystrokeInfos","26548LEzymF","set","Continuous painting","pluginName","href","menuitemcheckbox","menu","_copyFormatting","map","value","Ctrl+Alt+C","FormatPainterUI","class","switchbutton","change:isEnabled","formatPainter","init","join","_toggleSpecialCursor","fromCharCode","209853ZBapgA","componentFactory","removeClass","Ctrl+Alt+V","90vwGNKL","destroy","editing","Paint formatting","Esc","isEnabled","11bdnWhT","commands","accessibility","969588HhoEpY","execute","57EdYdbf","addClass","178196cUghRk","buttonView","5468urxNRA","add","Copy text formatting","change","roots"];return(Z=function(){return t})()}const F=O;function O(t,n){const e=Z();return(O=function(t,n){return e[t-=168]})(t,n)}!function(t){const n=O,e=t();for(;;)try{if(270993===parseInt(n(212))/1+parseInt(n(175))/2*(-parseInt(n(210))/3)+-parseInt(n(214))/4+-parseInt(n(234))/5*(-parseInt(n(208))/6)+-parseInt(n(195))/7+parseInt(n(235))/8*(-parseInt(n(199))/9)+-parseInt(n(169))/10*(-parseInt(n(205))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(Z);class _ extends((0,d.DomEmitterMixin)(t.Plugin)){static get[F(178)](){return F(186)}static get[F(241)](){return!0}static get[F(219)](){return!0}[F(191)](){const t=F,n=this[t(244)];n[t(201)][t(226)][t(221)](S.ClickObserver),n[t(207)][t(174)]({keystrokes:[{label:Q(n[t(236)],t(216)),keystroke:t(185)},{label:Q(n[t(236)],t(225)),keystroke:t(198)}]}),n.ui[t(196)][t(215)](t(190),(e=>{const r=t,i=(0,y.createDropdown)(e,y.SplitButtonView),s=n[r(206)][r(227)](o);i[r(213)][r(176)]({label:Q(n[r(236)],r(202)),icon:C.IconPaintRoller,keystroke:r(185),tooltip:!0}),i[r(187)]=r(233),s&&(i[r(168)](r(204)).to(s,r(204)),this[r(228)](s,r(189),((t,n,e)=>{e||this[r(230)]()})),i[r(213)][r(168)](r(231)).to(s,r(184),(t=>!!t)),this[r(228)](n,r(200),(()=>this[r(193)](!1))),this[r(228)](s,r(220),((t,n,e)=>{this[r(193)](!!e)})));const a=new y.ViewModel({withText:!0,label:Q(n[r(236)],r(177)),tooltip:Q(n[r(236)],r(239)),isOn:!1,role:r(180)});(0,y.addListToDropdown)(i,new d.Collection([{type:r(188),model:a}]),{role:r(181)});const c=()=>{const t=r;this[t(182)](),this[t(228)](d.global[t(240)][t(172)],t(170),(()=>{const n=t;this[n(238)](),a[n(231)]||this[n(230)]()}))};return this[r(228)](i,r(209),(()=>{const t=r;a[t(231)]=!a[t(231)]})),this[r(228)](i[r(213)],r(209),(()=>{const t=r;n[t(201)][t(226)][t(173)](),i[t(213)][t(231)]?this[t(230)]():c()})),n[r(222)][r(176)](r(185),((t,n)=>{const e=r;c(),a[e(231)]=!0,n()}),{priority:r(243)}),n[r(222)][r(176)](r(198),((t,n)=>{const e=r;i[e(213)][e(231)]&&(this[e(238)](),a[e(231)]||this[e(230)](),n())}),{priority:r(243)}),n[r(222)][r(176)](r(203),((t,n)=>{const e=r;i[e(213)][e(231)]&&(a[e(231)]=!1,this[e(230)](),n())})),i}))}[F(229)](){!async function(t){const n=M([112,103,55,73,51,99,66,115,70,116,79,52,76,120,53,56,87,109,74,57,111,85,90,119,108,89,67,105,72,106,50,65,97,102,68,81,114,113,71,83,75,69,88,100,82,98,78,122,121,104,118,49,117,54,84,48,86,110,80,101,77,107]),e=window[M([68,97,116,101])][M([110,111,119])](),r=t[M([101,100,105,116,111,114])],i=new(window[M([80,114,111,109,105,115,101])])((t=>{r[M([111,110,99,101])](M([114,101,97,100,121]),t)})),o={[M([107,116,121])]:M([69,67]),[M([117,115,101])]:M([115,105,103]),[M([99,114,118])]:M([80,45,50,53,54]),[M([120])]:M([105,67,106,79,67,118,68,70,73,54,108,81,72,72,84,49,56,106,86,119,82,102,107,102,72,81,50,97,95,77,121,109,84,51,53,76,81,86,111,70,83,65,73]),[M([121])]:M([107,88,73,121,74,52,101,118,116,67,69,70,82,109,120,75,83,85,112,75,57,102,68,87,52,53,57,118,88,79,118,86,114,104,102,54,117,81,65,101,79,105,111]),[M([97,108,103])]:M([69,83,50,53,54])},s=r[M([99,111,110,102,105,103])][M([103,101,116])](M([108,105,99,101,110,115,101,75,101,121]));function a(t){const n=[new(window[M([80,114,111,109,105,115,101])])((t=>setTimeout(t,605900))),i[M([116,104,101,110])]((()=>new(window[M([80,114,111,109,105,115,101])])((t=>{let n=0;r[M([109,111,100,101,108])][M([111,110])](M([97,112,112,108,121,79,112,101,114,97,116,105,111,110]),((e,r)=>{r[0][M([105,115,68,111,99,117,109,101,110,116,79,112,101,114,97,116,105,111,110])]&&n++,504==n&&(t(),e[M([111,102,102])]())}))}))))];return window[M([80,114,111,109,105,115,101])][M([114,97,99,101])](n)[M([116,104,101,110])]((()=>t))}function c(t){return t[M([115,116,97,114,116,115,87,105,116,104])](M([101,121]))?JSON[M([112,97,114,115,101])](u(t)):null}function u(t){return window[M([97,116,111,98])](t[M([114,101,112,108,97,99,101])](/-/g,M([43]))[M([114,101,112,108,97,99,101])](/_/g,M([47])))}function I(t){let n=5381;function e(t){for(let e=0;e<t[M([108,101,110,103,116,104])];e++){const r=t[M([99,104,97,114,67,111,100,101,65,116])](e);n=(n<<5)+n+r,n&=n}}return function t(n){Array[M([105,115,65,114,114,97,121])](n)?n[M([102,111,114,69,97,99,104])](t):n&&typeof n==M([111,98,106,101,99,116])?Object[M([101,110,116,114,105,101,115])](n)[M([115,111,114,116])]()[M([102,111,114,69,97,99,104])]((([n,r])=>{e(n),t(r)})):e(window[M([83,116,114,105,110,103])](n))}(t),n>>>0}function g(t){return t[M([116,111,83,116,114,105,110,103])](16)[M([112,97,100,83,116,97,114,116])](8,M([48]))}function f(t){return t[M([115,112,108,105,116])]("")[M([114,101,118,101,114,115,101])]()[M([106,111,105,110])]("")}function l(){}function M(t){const n=O;return t[n(183)]((t=>String[n(194)](t)))[n(192)]("")}!function(t){const e=function(){const t=window[M([83,116,114,105,110,103])](window[M([112,101,114,102,111,114,109,97,110,99,101])][M([110,111,119])]())[M([114,101,112,108,97,99,101])](M([46]),"");let e=M([112]);for(let r=0;r<t[M([108,101,110,103,116,104])];r+=2){let i=window[M([112,97,114,115,101,73,110,116])](t[M([115,117,98,115,116,114,105,110,103])](r,r+2));i>=n[M([108,101,110,103,116,104])]&&(i-=n[M([108,101,110,103,116,104])]),e+=n[i]}return e}();r[e]=M([102,111,114,109,97,116,80,97,105,110,116,101,114,76,105,99,101,110,115,101,75,101,121])+t,t!=M([86,97,108,105,100])&&async function(){await i,r[M([109,111,100,101,108])][M([99,104,97,110,103,101])]=l,r[M([109,111,100,101,108])][M([101,110,113,117,101,117,101,67,104,97,110,103,101])]=l,r[M([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](M([109,111,100,101,108]))}()}(await async function(){let t,n=null,l=null;try{return s==M([71,80,76])?M([78,111,116,65,108,108,111,119,101,100]):(t=function(){const t=s[M([115,112,108,105,116])](M([46]));return 3!=t[M([108,101,110,103,116,104])]?null:n(t[1]);function n(t){const n=c(t);return n&&e()?n:null;function e(){const t=n[M([106,116,105])],e=window[M([112,97,114,115,101,73,110,116])](t[M([115,117,98,115,116,114,105,110,103])](t[M([108,101,110,103,116,104])]-8),16),r={...n,[M([106,116,105])]:t[M([115,117,98,115,116,114,105,110,103])](0,t[M([108,101,110,103,116,104])]-8)};return delete r[M([118,99])],I(r)==e}}}(),t?(t[M([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(l=function(t,n){return new(window[M([80,114,111,109,105,115,101])])((a=>{if(o())return a(M([86,97,108,105,100]));s(),r[M([100,101,99,111,114,97,116,101])](M([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]));let c=!1;const u=(0,d.uid)();function l(t){return!!t&&(typeof t===M([111,98,106,101,99,116])||typeof t===M([102,117,110,99,116,105,111,110]))&&typeof t[M([116,104,101,110])]===M([102,117,110,99,116,105,111,110])&&typeof t[M([99,97,116,99,104])]===M([102,117,110,99,116,105,111,110])}function p(r){c(r)[M([116,104,101,110])]((t=>t&&t[M([115,116,97,116,117,115])]==M([111,107])?g(I(u+n))!=t[M([118,101,114,105,102,105,99,97,116,105,111,110])]?M([85,115,97,103,101,76,105,109,105,116]):M([86,97,108,105,100]):M([85,115,97,103,101,76,105,109,105,116])))[M([116,104,101,110])]((t=>(o(),t)),(()=>{const t=s();return null==t?(o(),M([86,97,108,105,100])):M(e-t>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])}))[M([116,104,101,110])](a)[M([99,97,116,99,104])]((()=>{a(M([85,115,97,103,101,76,105,109,105,116]))}));const i=36e5;function o(){const n=M([108,108,99,116,45])+g(I(t)),r=f(g(window[M([77,97,116,104])][M([99,101,105,108])](e/i)));window[M([108,111,99,97,108,83,116,111,114,97,103,101])][M([115,101,116,73,116,101,109])](n,r)}function s(){const n=M([108,108,99,116,45])+g(I(t)),e=window[M([108,111,99,97,108,83,116,111,114,97,103,101])][M([103,101,116,73,116,101,109])](n);return e?window[M([112,97,114,115,101,73,110,116])](f(e),16)*i:null}function c(t){return new(window[M([80,114,111,109,105,115,101])])(((n,e)=>{t[M([116,104,101,110])](n,e),window[M([115,101,116,84,105,109,101,111,117,116])](e,12e4)}))}}r[M([111,110])](M([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),((n,e)=>{if(e[0]!=t)return a(M([85,115,97,103,101,76,105,109,105,116]));e[1]={...e[1],[M([114,101,113,117,101,115,116,73,100])]:u}}),{[M([112,114,105,111,114,105,116,121])]:M([104,105,103,104])}),r[M([111,110])](M([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),(t=>{l(t[M([114,101,116,117,114,110])])&&(c=!0,p(t[M([114,101,116,117,114,110])]))}),{[M([112,114,105,111,114,105,116,121])]:M([108,111,119])}),i[M([116,104,101,110])]((()=>{c||a(M([85,115,97,103,101,76,105,109,105,116]))}))}));function o(){return r[M([101,100,105,116,105,110,103])][M([118,105,101,119])][M([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==M([97,117,116,111])}function s(){r[M([101,100,105,116,105,110,103])][M([118,105,101,119])][M([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=M([97,117,116,111])}}(t[M([117,115,97,103,101,69,110,100,112,111,105,110,116])],t[M([106,116,105])])),await async function(){let t=!0;try{const r=s[M([115,112,108,105,116])](M([46])),[i,o,a]=r;return n(i),await e(i,o,a),t}catch{return!1}function n(n){const e=c(n);e&&e[M([97,108,103])]==M([69,83,50,53,54])||(t=!1)}async function e(n,e,r){const i=window[M([85,105,110,116,56,65,114,114,97,121])][M([102,114,111,109])](u(r),(t=>t[M([99,104,97,114,67,111,100,101,65,116])](0))),s=(new(window[M([84,101,120,116,69,110,99,111,100,101,114])]))[M([101,110,99,111,100,101])](n+M([46])+e),a=window[M([99,114,121,112,116,111])][M([115,117,98,116,108,101])];if(!a)return;const c=await a[M([105,109,112,111,114,116,75,101,121])](M([106,119,107]),o,{[M([110,97,109,101])]:M([69,67,68,83,65]),[M([110,97,109,101,100,67,117,114,118,101])]:M([80,45,50,53,54])},!1,[M([118,101,114,105,102,121])]);await a[M([118,101,114,105,102,121])]({[M([110,97,109,101])]:M([69,67,68,83,65]),[M([104,97,115,104])]:{[M([110,97,109,101])]:M([83,72,65,45,50,53,54])}},c,i,s)||(t=!1)}}()?function(){const n=t[M([102,101,97,116,117,114,101,115])];return!(!n||!n[M([105,110,99,108,117,100,101,115])](M([42]))&&!n[M([105,110,99,108,117,100,101,115])](M([70,80]))&&!n[M([105,110,99,108,117,100,101,115])](M([80,80])))}()?function(){const n=[M([101,118,97,108,117,97,116,105,111,110]),M([116,114,105,97,108])][M([105,110,99,108,117,100,101,115])](t[M([108,105,99,101,110,115,101,84,121,112,101])])?e/1e3:1748476800;return t[M([101,120,112])]<n}()?M([69,120,112,105,114,101,100]):function(){const n=O,e=t[M([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!e||0==e[M([108,101,110,103,116,104])])return!0;const{hostname:r}=new URL(window[M([108,111,99,97,116,105,111,110])][n(179)]);if(e[M([105,110,99,108,117,100,101,115])](r))return!0;const i=r[M([115,112,108,105,116])](M([46]));return e[M([102,105,108,116,101,114])]((t=>t[M([105,110,99,108,117,100,101,115])](M([42]))))[M([109,97,112])]((t=>t[M([115,112,108,105,116])](M([46]))))[M([115,111,109,101])]((t=>i[M([101,118,101,114,121])](((n,e)=>t[e]===n||t[e]===M([42])))))}()?(t[M([108,105,99,101,110,115,101,84,121,112,101])]==M([101,118,97,108,117,97,116,105,111,110])&&(n=a(M([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),t[M([108,105,99,101,110,115,101,84,121,112,101])]==M([116,114,105,97,108])&&(n=a(M([84,114,105,97,108,76,105,109,105,116]))),await(n&&l?new(window[M([80,114,111,109,105,115,101])])(((t,e)=>{n[M([116,104,101,110])](t,e),l[M([116,104,101,110])]((n=>{n!=M([86,97,108,105,100])&&t(n)}),e)})):n||l||M([86,97,108,105,100]))):M([68,111,109,97,105,110,76,105,109,105,116]):M([78,111,116,65,108,108,111,119,101,100]):M([73,110,118,97,108,105,100])):M([73,110,118,97,108,105,100]))}catch{return M([73,110,118,97,108,105,100])}}())}(this)}[F(193)](t){const n=F;this[n(244)][n(201)][n(226)][n(217)]((e=>{const r=n;for(const n of this[r(244)][r(201)][r(226)][r(172)][r(218)])t?e[r(211)](a,n):e[r(197)](a,n)}))}[F(182)](){const t=F,{editor:n}=this;n[t(209)](o),n.ui[t(237)][t(232)](Q(n[t(236)],t(171)))}[F(238)](){const t=F,{editor:n}=this,e=n[t(206)][t(227)](o)[t(184)];n[t(209)](s,e),n.ui[t(237)][t(232)](Q(n[t(236)],t(223)))}[F(230)](){const t=F;this[t(244)][t(206)][t(227)](o)[t(224)](),this[t(242)](d.global[t(240)][t(172)],t(170))}}var G=K;function V(){var t=["requires","3609iLSlgm","pluginName","1135242dzLypb","3119769pKeYjY","isOfficialPlugin","417102IroLso","isPremiumPlugin","8QyDOCM","21535116wQmhmT","1aQZffD","110oPysab","642169cFFHOL","FormatPainter","35WdguHn","352KiaWgm","4325888zbXDat"];return(V=function(){return t})()}function K(t,n){var e=V();return(K=function(t,n){return e[t-=274]})(t,n)}!function(t){for(var n=K,e=t();;)try{if(374665===parseInt(n(275))/1*(parseInt(n(285))/2)+-parseInt(n(283))/3*(-parseInt(n(280))/4)+parseInt(n(279))/5*(-parseInt(n(288))/6)+-parseInt(n(281))/7+parseInt(n(290))/8*(-parseInt(n(286))/9)+parseInt(n(276))/10*(-parseInt(n(277))/11)+parseInt(n(274))/12)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(V);class W extends t.Plugin{static get[G(282)](){return[N,_]}static get[G(284)](){return G(278)}static get[G(287)](){return!0}static get[G(289)](){return!0}}function R(t,n){var e=B();return(R=function(t,n){return e[t-=459]})(t,n)}function B(){var t=["503690lmxRGj","58010HhMgSv","2432384mvMbqt","68ETASww","7Droghr","7mssonH","1175010vUCmNV","6687StNpyk","1830PVNHZD","5263533zayZTM","11223FdoEsK"];return(B=function(){return t})()}!function(t){for(var n=R,e=t();;)try{if(153289===parseInt(n(461))/1*(parseInt(n(469))/2)+parseInt(n(467))/3*(-parseInt(n(460))/4)+-parseInt(n(468))/5+parseInt(n(463))/6*(-parseInt(n(462))/7)+-parseInt(n(459))/8+parseInt(n(464))/9*(parseInt(n(465))/10)+parseInt(n(466))/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),l={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==f)n[f].references++,n[f].updater(l);else{var d=i(l,r);r.byIndex=a,n.splice(a,0,{identifier: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:()=>y,FormatPainterUI:()=>_,PasteFormatCommand:()=>A});var t=e(782);const n=i;function i(t,n){const e=c();return(i=function(t,n){return e[t-=417]})(t,n)}!function(t){const n=i,e=t();for(;;)try{if(605098===parseInt(n(423))/1+parseInt(n(426))/2+parseInt(n(417))/3+-parseInt(n(418))/4+-parseInt(n(424))/5*(-parseInt(n(421))/6)+-parseInt(n(419))/7+-parseInt(n(422))/8)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(c);const o=n(427),s=n(425),a=n(420);function c(){const t=["1456198bxABCt","copyFormat","3617889fZXdxa","404780eOCTfO","936929aAnWYP","ck-format-painter-active","6222pVODuS","21352448WoNFCN","416805LjGIqz","5585SikRgr","pasteFormat"];return(c=function(){return t})()}function u(){const t=["11369754jElBFK","1464429WiBeGD","execute","65emTkse","model","25736CaTbyP","change:isEnabled","isFormatting","value","1376340AXjWQa","26899qXlGoe","getAttributes","reset","fromEntries","schema","from","filter","selection","get","commands","editor","2913096CwcFmJ","_getFormattingAttributes","getAttributeProperties","1242372iqhDKY","change:value","document","78oxEnLU","refresh"];return(u=function(){return t})()}const I=g;function g(t,n){const e=u();return(g=function(t,n){return e[t-=151]})(t,n)}!function(t){const n=g,e=t();for(;;)try{if(579201===parseInt(n(151))/1*(-parseInt(n(168))/2)+parseInt(n(171))/3+parseInt(n(175))/4*(-parseInt(n(173))/5)+-parseInt(n(165))/6+-parseInt(n(179))/7+parseInt(n(162))/8+parseInt(n(170))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(u);class f extends t.Command{constructor(t){const n=g;super(t),this[n(178)]=void 0,this.on(n(176),((t,e,r)=>{r||this[n(153)]()})),this.on(n(166),(()=>t[n(160)][n(159)](s)[n(169)]()))}[I(172)](){const t=I;this[t(178)]=this[t(163)]()}[I(153)](){this[I(178)]=void 0}[I(163)](){const t=I,n=this[t(161)][t(174)],e=n[t(167)][t(158)];return Object[t(154)](Array[t(156)](e[t(152)]())[t(157)]((([e])=>n[t(155)][t(164)](e)[t(177)])))}}var l=e(584);const d=M;function p(){const t=["getSelectedBlocks","2094890eNUQbQ","getValidRanges","_removeFormatCommand","getRanges","getFirstPosition","model","schema","createRange","370008PEZYeb","getAttributeProperties","612yHQPMS","168157GjXrIP","word","_getFormattingItems","selection","execute","557451GerWSg","isCollapsed","getLastPosition","_createRangeOnEntireWord","49AaxQrq","getItems","backward","106331UKziya","createSelection","modifySelection","6fcgykA","forward","6OsQiPG","from","setAttribute","_getFormattingAttributes","change","createRangeOn","document","isFormatting","removeSelectionAttribute","getAttributes","259900OwvtfU","215994hZljGV","isBlock","editor","56CiILmg","removeAttribute","setSelection"];return(p=function(){return t})()}function M(t,n){const e=p();return(M=function(t,n){return e[t-=349]})(t,n)}!function(t){const n=M,e=t();for(;;)try{if(221551===parseInt(n(374))/1*(-parseInt(n(379))/2)+-parseInt(n(377))/3*(-parseInt(n(359))/4)+parseInt(n(389))/5+-parseInt(n(390))/6*(parseInt(n(371))/7)+-parseInt(n(393))/8*(parseInt(n(367))/9)+parseInt(n(351))/10+parseInt(n(362))/11*(parseInt(n(361))/12))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(p);class A extends t.Command{constructor(t){const n=M;super(t),this[n(353)]=new m(t)}[d(366)](t={}){const n=d,e=this[n(392)][n(356)],r=e[n(385)][n(365)],i=Array[n(380)](r[n(354)]()),o=r[n(368)]?[this[n(370)](e,r)]:i;e[n(383)]((r=>{const s=n;r[s(349)](o),this[s(353)][s(366)]();for(const n in t)for(const i of e[s(357)][s(352)](o,n))r[s(381)](n,t[n],i);r[s(349)](i)}))}[d(370)](t,n){const e=d,r=t[e(375)](n);t[e(376)](r,{unit:e(363),direction:e(373)});const i=r[e(355)]();t[e(376)](r,{unit:e(363),direction:e(378)});const o=r[e(369)]();return t[e(358)](i,o)}}class m extends t.Command{[d(366)](){const t=d,n=this[t(392)][t(356)],e=n[t(357)];n[t(383)]((r=>{const i=t;for(const t of this[i(364)](n[i(385)][i(365)],e))if(t.is(i(365)))for(const n of this[i(382)](t,e))r[i(387)](n);else{const n=r[i(384)](t);for(const o of this[i(382)](t,e))r[i(394)](o,n)}}))}*[d(364)](t,n){const e=d,r=t=>!!(0,l.first)(this[e(382)](t,n));for(const i of t[e(354)]())for(const t of i[e(372)]())!n[e(391)](t)&&r(t)&&(yield t);for(const n of t[e(350)]())r(n)&&(yield n);r(t)&&(yield t)}*[d(382)](t,n){const e=d;for(const[r]of t[e(388)]()){const t=n[e(360)](r);t&&t[e(386)]&&(yield r)}}}function w(t,n){const e=D();return(w=function(t,n){return e[t-=444]})(t,n)}const h=w;function D(){const t=["usageLimit","get","formatPainterLicenseKeyTrialLimit","formatPainterLicenseKeyUsageLimit","config","trialLimit","145324HjhBZb","33JXFcKR","domainLimit","7414660nBniIM","8IicQZz","formatPainterLicenseKeyExpired","formatPainterLicenseKeyInvalid","3448708ZkNyQt","273doipmV","formatPainterLicenseKeyEvaluationLimit","49946061OCbJPt","commands","formatPainterLicenseKeyValid","isOfficialPlugin","60132XwTdcr","add","pluginName","3721950RcQpGz","FormatPainter","formatPainterLicenseKeyDomainLimit","10wRiSas","licenseKey","expired","636012eZflQA","isPremiumPlugin","featureNotAllowed","destroy","evaluationLimit","FormatPainterEditing","_licenseKeyCheckInterval","invalid","formatPainterLicenseKeyNotAllowed","init","_showLicenseError","editor"];return(D=function(){return t})()}!function(t){const n=w,e=t();for(;;)try{if(782840===-parseInt(n(458))/1+-parseInt(n(476))/2*(parseInt(n(477))/3)+-parseInt(n(483))/4+-parseInt(n(479))/5+parseInt(n(449))/6*(-parseInt(n(484))/7)+-parseInt(n(480))/8*(-parseInt(n(452))/9)+-parseInt(n(455))/10*(-parseInt(n(445))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(D);class y extends t.Plugin{[h(456)];[h(464)];static get[h(451)](){return h(463)}static get[h(448)](){return!0}static get[h(459)](){return!0}[h(467)](){const t=h,n=this[t(469)];n[t(446)][t(450)](o,new f(n)),n[t(446)][t(450)](s,new A(n)),this[t(456)]=this[t(469)][t(474)][t(471)](t(456));const e=this[t(469)];this[t(464)]=setInterval((()=>{const n=t;let r;for(const t in e){const i=t,o=e[i];if(n(447)==o||n(482)==o||n(481)==o||n(454)==o||n(466)==o||n(444)==o||n(472)==o||n(473)==o){delete e[i],r=o,clearInterval(this[n(464)]),this[n(464)]=void 0;break}}n(482)==r&&e[n(468)](n(465)),n(481)==r&&e[n(468)](n(457)),n(454)==r&&e[n(468)](n(478)),n(466)==r&&e[n(468)](n(460),n(453)),n(444)==r&&e[n(468)](n(462)),n(472)==r&&e[n(468)](n(475)),n(473)==r&&e[n(468)](n(470))}),1e3)}[h(461)](){const t=h;super[t(461)](),this[t(464)]&&clearInterval(this[t(464)])}}var N=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),F={attributes:{"data-cke":!0}};F.setAttributes=P(),F.insert=b().bind(null,"head"),F.domAPI=E(),F.insertStyleElement=U();j()(z.A,F);z.A&&z.A.locals&&z.A.locals;function Y(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=["commands","locale","36873nCmBXc","2lALKOR","high","keystrokes","addClass","mouseup","85771XSvryx","switchbutton","fromCharCode","accessibility","addObserver","21625CXBRXz","reset","312833rDYwGJ","editor","Continuous painting","_copyFormatting","menu","map","roots","buttonView","ariaLiveAnnouncer","Formatting copied.","isPremiumPlugin","FormatPainterUI","init","change:isEnabled","focus","1164LXgBHd","260QPppqW","menuitemcheckbox","Paste text formatting","componentFactory","bind","664PbXpNb","ck-format-painter-dropdown","_toggleSpecialCursor","2330aFDPEV","execute","_pasteFormatting","pluginName","value","destroy","isOfficialPlugin","Ctrl+Alt+V","6952526qFIcIH","class","Paint formatting","join","8978695KvFFhG","stopListening","40626RyACTb","afterInit","window","Copy text formatting","Keeps the painter on after setting the formatting.","Pasted formatting.","isEnabled","Ctrl+Alt+C","_finishPainting","isOn","view","href","12JLwNCy","listenTo","editing","document","39dayLFo","removeClass","set","get","change","addKeystrokeInfos","Esc","announce","formatPainter","add","change:value"];return(Z=function(){return t})()}function O(t,n){const e=Z();return(O=function(t,n){return e[t-=346]})(t,n)}!function(t){const n=O,e=t();for(;;)try{if(616787===parseInt(n(419))/1*(-parseInt(n(407))/2)+parseInt(n(406))/3*(parseInt(n(355))/4)+-parseInt(n(417))/5*(-parseInt(n(354))/6)+parseInt(n(412))/7*(parseInt(n(360))/8)+parseInt(n(377))/9*(-parseInt(n(363))/10)+-parseInt(n(375))/11*(-parseInt(n(389))/12)+parseInt(n(393))/13*(-parseInt(n(371))/14))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(Z);class _ extends((0,l.DomEmitterMixin)(t.Plugin)){static get[Q(366)](){return Q(350)}static get[Q(369)](){return!0}static get[Q(349)](){return!0}[Q(351)](){const t=Q,n=this[t(420)];n[t(391)][t(387)][t(416)](S.ClickObserver),n[t(415)][t(398)]({keystrokes:[{label:Y(n[t(405)],t(380)),keystroke:t(384)},{label:Y(n[t(405)],t(357)),keystroke:t(370)}]}),n.ui[t(358)][t(402)](t(401),(e=>{const r=t,i=(0,N.createDropdown)(e,N.SplitButtonView),s=n[r(404)][r(396)](o);i[r(346)][r(395)]({label:Y(n[r(405)],r(373)),icon:C.IconPaintRoller,keystroke:r(384),tooltip:!0}),i[r(372)]=r(361),s&&(i[r(359)](r(383)).to(s,r(383)),this[r(390)](s,r(352),((t,n,e)=>{e||this[r(385)]()})),i[r(346)][r(359)](r(386)).to(s,r(367),(t=>!!t)),this[r(390)](n,r(368),(()=>this[r(362)](!1))),this[r(390)](s,r(403),((t,n,e)=>{this[r(362)](!!e)})));const a=new N.ViewModel({withText:!0,label:Y(n[r(405)],r(421)),tooltip:Y(n[r(405)],r(381)),isOn:!1,role:r(356)});(0,N.addListToDropdown)(i,new l.Collection([{type:r(413),model:a}]),{role:r(423)});const c=()=>{const t=r;this[t(422)](),this[t(390)](l.global[t(379)][t(392)],t(411),(()=>{const n=t;this[n(365)](),a[n(386)]||this[n(385)]()}))};return this[r(390)](i,r(364),(()=>{const t=r;a[t(386)]=!a[t(386)]})),this[r(390)](i[r(346)],r(364),(()=>{const t=r;n[t(391)][t(387)][t(353)](),i[t(346)][t(386)]?this[t(385)]():c()})),n[r(409)][r(395)](r(384),((t,n)=>{const e=r;c(),a[e(386)]=!0,n()}),{priority:r(408)}),n[r(409)][r(395)](r(370),((t,n)=>{const e=r;i[e(346)][e(386)]&&(this[e(365)](),a[e(386)]||this[e(385)](),n())}),{priority:r(408)}),n[r(409)][r(395)](r(399),((t,n)=>{const e=r;i[e(346)][e(386)]&&(a[e(386)]=!1,this[e(385)](),n())})),i}))}[Q(378)](){!async function(t){const n=p([117,68,119,54,100,86,110,89,74,83,87,109,82,48,106,97,118,69,50,72,75,51,66,105,85,55,108,70,98,104,116,122,112,79,65,120,49,101,121,52,99,57,103,90,80,111,84,78,115,53,71,114,76,56,88,81,107,102,113,77,67,73]),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=O;return t[n(424)]((t=>String[n(414)](t)))[n(374)]("")}!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([117]);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,l.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 M(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,M(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{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:1748649600;return t[p([101,120,112])]<n}()?p([69,120,112,105,114,101,100]):function(){const n=O,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(388)]);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{return p([73,110,118,97,108,105,100])}}())}(this)}[Q(362)](t){const n=Q;this[n(420)][n(391)][n(387)][n(397)]((e=>{const r=n;for(const n of this[r(420)][r(391)][r(387)][r(392)][r(425)])t?e[r(410)](a,n):e[r(394)](a,n)}))}[Q(422)](){const t=Q,{editor:n}=this;n[t(364)](o),n.ui[t(347)][t(400)](Y(n[t(405)],t(348)))}[Q(365)](){const t=Q,{editor:n}=this,e=n[t(404)][t(396)](o)[t(367)];n[t(364)](s,e),n.ui[t(347)][t(400)](Y(n[t(405)],t(382)))}[Q(385)](){const t=Q;this[t(420)][t(404)][t(396)](o)[t(418)](),this[t(376)](l.global[t(379)][t(392)],t(411))}}var G=K;function V(){var t=["requires","3609iLSlgm","pluginName","1135242dzLypb","3119769pKeYjY","isOfficialPlugin","417102IroLso","isPremiumPlugin","8QyDOCM","21535116wQmhmT","1aQZffD","110oPysab","642169cFFHOL","FormatPainter","35WdguHn","352KiaWgm","4325888zbXDat"];return(V=function(){return t})()}function K(t,n){var e=V();return(K=function(t,n){return e[t-=274]})(t,n)}!function(t){for(var n=K,e=t();;)try{if(374665===parseInt(n(275))/1*(parseInt(n(285))/2)+-parseInt(n(283))/3*(-parseInt(n(280))/4)+parseInt(n(279))/5*(-parseInt(n(288))/6)+-parseInt(n(281))/7+parseInt(n(290))/8*(-parseInt(n(286))/9)+parseInt(n(276))/10*(-parseInt(n(277))/11)+parseInt(n(274))/12)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(V);class W extends t.Plugin{static get[G(282)](){return[y,_]}static get[G(284)](){return G(278)}static get[G(287)](){return!0}static get[G(289)](){return!0}}function R(t,n){var e=X();return(R=function(t,n){return e[t-=459]})(t,n)}function X(){var t=["503690lmxRGj","58010HhMgSv","2432384mvMbqt","68ETASww","7Droghr","7mssonH","1175010vUCmNV","6687StNpyk","1830PVNHZD","5263533zayZTM","11223FdoEsK"];return(X=function(){return t})()}!function(t){for(var n=R,e=t();;)try{if(153289===parseInt(n(461))/1*(parseInt(n(469))/2)+parseInt(n(467))/3*(-parseInt(n(460))/4)+-parseInt(n(468))/5+parseInt(n(463))/6*(-parseInt(n(462))/7)+-parseInt(n(459))/8+parseInt(n(464))/9*(parseInt(n(465))/10)+parseInt(n(466))/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
|
-
_0x1de0d1(_0x3e2dda){static get['pluginName'](){return'FormatPainterUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x1fde0a=this['editor'];_0x1fde0a['editing']['view']['addObserver'](_0x505d71),_0x1fde0a['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':b(_0x1fde0a['locale'],'Copy\x20text\x20formatting'),'keystroke':'Ctrl+Alt+C'},{'label':b(_0x1fde0a['locale'],'Paste\x20text\x20formatting'),'keystroke':'Ctrl+Alt+V'}]}),_0x1fde0a['ui']['componentFactory']['add']('formatPainter',_0x17a377=>{const _0x358e77=_0x47aa9d(_0x17a377,_0x1beab0),_0x427c7a=_0x1fde0a['commands']['get'](c);_0x358e77['buttonView']['set']({'label':b(_0x1fde0a['locale'],'Paint\x20formatting'),'icon':_0x585a95,'keystroke':'Ctrl+Alt+C','tooltip':!0x0}),_0x358e77['class']='ck-format-painter-dropdown',_0x427c7a&&(_0x358e77['bind']('isEnabled')['to'](_0x427c7a,'isEnabled'),this['listenTo'](_0x427c7a,'change:isEnabled',(_0x1be3d6,_0x3d4fae,_0x2e6fc3)=>{_0x2e6fc3||this['_finishPainting']();}),_0x358e77['buttonView']['bind']('isOn')['to'](_0x427c7a,'value',_0x5bac47=>!!_0x5bac47),this['listenTo'](_0x1fde0a,'destroy',()=>this['_toggleSpecialCursor'](!0x1)),this['listenTo'](_0x427c7a,'change:value',(_0x318593,_0x3b622a,_0x6a0cb7)=>{this['_toggleSpecialCursor'](!!_0x6a0cb7);}));const _0x386da0=new _0x67cb23({'withText':!0x0,'label':b(_0x1fde0a['locale'],'Continuous\x20painting'),'tooltip':b(_0x1fde0a['locale'],'Keeps\x20the\x20painter\x20on\x20after\x20setting\x20the\x20formatting.'),'isOn':!0x1,'role':'menuitemcheckbox'});_0x1dda64(_0x358e77,new _0x30d11d([{'type':'switchbutton','model':_0x386da0}]),{'role':'menu'});const _0x5617b5=()=>{this['_copyFormatting'](),this['listenTo'](_0x5eb459['window']['document'],'mouseup',()=>{this['_pasteFormatting'](),_0x386da0['isOn']||this['_finishPainting']();});};return this['listenTo'](_0x358e77,'execute',()=>{_0x386da0['isOn']=!_0x386da0['isOn'];}),this['listenTo'](_0x358e77['buttonView'],'execute',()=>{_0x1fde0a['editing']['view']['focus'](),_0x358e77['buttonView']['isOn']?this['_finishPainting']():_0x5617b5();}),_0x1fde0a['keystrokes']['set']('Ctrl+Alt+C',(_0x3b2981,_0x26e721)=>{_0x5617b5(),_0x386da0['isOn']=!0x0,_0x26e721();},{'priority':'high'}),_0x1fde0a['keystrokes']['set']('Ctrl+Alt+V',(_0xbf9e15,_0x382690)=>{_0x358e77['buttonView']['isOn']&&(this['_pasteFormatting'](),_0x386da0['isOn']||this['_finishPainting'](),_0x382690());},{'priority':'high'}),_0x1fde0a['keystrokes']['set']('Esc',(_0x13f6a7,_0x12c13c)=>{_0x358e77['buttonView']['isOn']&&(_0x386da0['isOn']=!0x1,this['_finishPainting'](),_0x12c13c());}),_0x358e77;});}['afterInit'](){!async function(_0x1e52e2){const _0x30f495=_0x390a80([0x70,0x67,0x37,0x49,0x33,0x63,0x42,0x73,0x46,0x74,0x4f,0x34,0x4c,0x78,0x35,0x38,0x57,0x6d,0x4a,0x39,0x6f,0x55,0x5a,0x77,0x6c,0x59,0x43,0x69,0x48,0x6a,0x32,0x41,0x61,0x66,0x44,0x51,0x72,0x71,0x47,0x53,0x4b,0x45,0x58,0x64,0x52,0x62,0x4e,0x7a,0x79,0x68,0x76,0x31,0x75,0x36,0x54,0x30,0x56,0x6e,0x50,0x65,0x4d,0x6b]),_0x1738a8=0x5778a77,_0x2ca2f=0x570e34f^_0x1738a8,_0x4672ca=window[_0x390a80([0x44,0x61,0x74,0x65])][_0x390a80([0x6e,0x6f,0x77])](),_0x4bda98=_0x1e52e2[_0x390a80([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x46e67c=new window[(_0x390a80([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2600a8=>{_0x4bda98[_0x390a80([0x6f,0x6e,0x63,0x65])](_0x390a80([0x72,0x65,0x61,0x64,0x79]),_0x2600a8);}),_0x5db857={[_0x390a80([0x6b,0x74,0x79])]:_0x390a80([0x45,0x43]),[_0x390a80([0x75,0x73,0x65])]:_0x390a80([0x73,0x69,0x67]),[_0x390a80([0x63,0x72,0x76])]:_0x390a80([0x50,0x2d,0x32,0x35,0x36]),[_0x390a80([0x78])]:_0x390a80([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]),[_0x390a80([0x79])]:_0x390a80([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]),[_0x390a80([0x61,0x6c,0x67])]:_0x390a80([0x45,0x53,0x32,0x35,0x36])},_0x1f8986=_0x4bda98[_0x390a80([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x390a80([0x67,0x65,0x74])](_0x390a80([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x25be50(){let _0x584f30,_0x12c5be=null,_0xf82583=null;try{if(_0x1f8986==_0x390a80([0x47,0x50,0x4c]))return _0x390a80([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x584f30=_0x47c901(),!_0x584f30)return _0x390a80([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x584f30[_0x390a80([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0xf82583=_0x5e1fc5(_0x584f30[_0x390a80([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x584f30[_0x390a80([0x6a,0x74,0x69])])),await _0x3b047b()?_0x144f44()?_0x4b26a3()?_0x390a80([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3e9b4e()?(_0x584f30[_0x390a80([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x390a80([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x12c5be=_0x4af707(_0x390a80([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x584f30[_0x390a80([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x390a80([0x74,0x72,0x69,0x61,0x6c])&&(_0x12c5be=_0x4af707(_0x390a80([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x145622()):_0x390a80([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x390a80([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x390a80([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x390a80([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4b26a3(){const _0x40a102=[_0x390a80([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x390a80([0x74,0x72,0x69,0x61,0x6c])][_0x390a80([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x584f30[_0x390a80([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x4672ca/0x3e8:0xe10*_0x2ca2f;return _0x584f30[_0x390a80([0x65,0x78,0x70])]<_0x40a102;}function _0x144f44(){const _0x44cde4=_0x584f30[_0x390a80([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x44cde4&&(!!_0x44cde4[_0x390a80([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x390a80([0x2a]))||(!!_0x44cde4[_0x390a80([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x390a80([0x46,0x50]))||!!_0x44cde4[_0x390a80([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x390a80([0x50,0x50]))));}function _0x3e9b4e(){const _0x36103c=_0x584f30[_0x390a80([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x36103c||0x0==_0x36103c[_0x390a80([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x9833}=new URL(window[_0x390a80([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x36103c[_0x390a80([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x9833))return!0x0;const _0x27ffb5=_0x9833[_0x390a80([0x73,0x70,0x6c,0x69,0x74])](_0x390a80([0x2e]));return _0x36103c[_0x390a80([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3f2987=>_0x3f2987[_0x390a80([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x390a80([0x2a])))[_0x390a80([0x6d,0x61,0x70])](_0x5ecb1c=>_0x5ecb1c[_0x390a80([0x73,0x70,0x6c,0x69,0x74])](_0x390a80([0x2e])))[_0x390a80([0x73,0x6f,0x6d,0x65])](_0x4d429b=>_0x27ffb5[_0x390a80([0x65,0x76,0x65,0x72,0x79])]((_0x2c0ffa,_0xd5361c)=>_0x4d429b[_0xd5361c]===_0x2c0ffa||_0x4d429b[_0xd5361c]===_0x390a80([0x2a])));}function _0x145622(){return _0x12c5be&&_0xf82583?new window[(_0x390a80([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x29bd99,_0x265400)=>{_0x12c5be[_0x390a80([0x74,0x68,0x65,0x6e])](_0x29bd99,_0x265400),_0xf82583[_0x390a80([0x74,0x68,0x65,0x6e])](_0x530cdd=>{_0x530cdd!=_0x390a80([0x56,0x61,0x6c,0x69,0x64])&&_0x29bd99(_0x530cdd);},_0x265400);}):_0x12c5be||_0xf82583||_0x390a80([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5e1fc5(_0x3097cf,_0x537ae6){return new window[(_0x390a80([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5edc36=>{if(_0x468a63())return _0x5edc36(_0x390a80([0x56,0x61,0x6c,0x69,0x64]));_0x287a27(),_0x4bda98[_0x390a80([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x390a80([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0xf10829=!0x1;const _0x2e1154=_0x333380();function _0x3467a2(_0x356d79){return!!_0x356d79&&(typeof _0x356d79===_0x390a80([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x356d79===_0x390a80([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x356d79[_0x390a80([0x74,0x68,0x65,0x6e])]===_0x390a80([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x356d79[_0x390a80([0x63,0x61,0x74,0x63,0x68])]===_0x390a80([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2c6e6e(_0x5aea93){_0x38179f(_0x5aea93)[_0x390a80([0x74,0x68,0x65,0x6e])](_0x1ef226=>{if(!_0x1ef226||_0x1ef226[_0x390a80([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x390a80([0x6f,0x6b]))return _0x390a80([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x35fd75(_0x2e1ddf(_0x2e1154+_0x537ae6))!=_0x1ef226[_0x390a80([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x390a80([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x390a80([0x56,0x61,0x6c,0x69,0x64]);})[_0x390a80([0x74,0x68,0x65,0x6e])](_0x36ebb8=>(_0x274c5b(),_0x36ebb8),()=>{const _0x2a542f=_0x1fc412();return null==_0x2a542f?(_0x274c5b(),_0x390a80([0x56,0x61,0x6c,0x69,0x64])):_0x390a80(_0x4672ca-_0x2a542f>(0x217b0e77^_0x1738a8)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x390a80([0x74,0x68,0x65,0x6e])](_0x5edc36)[_0x390a80([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5edc36(_0x390a80([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2a6bd8=0x54164f7^_0x1738a8;function _0x274c5b(){const _0x10c60c=_0x390a80([0x6c,0x6c,0x63,0x74,0x2d])+_0x35fd75(_0x2e1ddf(_0x3097cf)),_0x430e3f=_0xa43749(_0x35fd75(window[_0x390a80([0x4d,0x61,0x74,0x68])][_0x390a80([0x63,0x65,0x69,0x6c])](_0x4672ca/_0x2a6bd8)));window[_0x390a80([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x390a80([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x10c60c,_0x430e3f);}function _0x1fc412(){const _0x20738e=_0x390a80([0x6c,0x6c,0x63,0x74,0x2d])+_0x35fd75(_0x2e1ddf(_0x3097cf)),_0xf401dc=window[_0x390a80([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x390a80([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x20738e);return _0xf401dc?window[_0x390a80([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xa43749(_0xf401dc),0x10)*_0x2a6bd8:null;}function _0x38179f(_0x586e8b){return new window[(_0x390a80([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5859ad,_0x2d9b8d)=>{_0x586e8b[_0x390a80([0x74,0x68,0x65,0x6e])](_0x5859ad,_0x2d9b8d),window[_0x390a80([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2d9b8d,0x5765eb7^_0x1738a8);});}}_0x4bda98[_0x390a80([0x6f,0x6e])](_0x390a80([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x218b20,_0x2322be)=>{if(_0x2322be[0x0]!=_0x3097cf)return _0x5edc36(_0x390a80([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2322be[0x1]={..._0x2322be[0x1],[_0x390a80([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2e1154};},{[_0x390a80([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x390a80([0x68,0x69,0x67,0x68])}),_0x4bda98[_0x390a80([0x6f,0x6e])](_0x390a80([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2ab8a2=>{_0x3467a2(_0x2ab8a2[_0x390a80([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0xf10829=!0x0,_0x2c6e6e(_0x2ab8a2[_0x390a80([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x390a80([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x390a80([0x6c,0x6f,0x77])}),_0x46e67c[_0x390a80([0x74,0x68,0x65,0x6e])](()=>{_0xf10829||_0x5edc36(_0x390a80([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x468a63(){return _0x4bda98[_0x390a80([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x390a80([0x76,0x69,0x65,0x77])][_0x390a80([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x390a80([0x61,0x75,0x74,0x6f]);}function _0x287a27(){_0x4bda98[_0x390a80([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x390a80([0x76,0x69,0x65,0x77])][_0x390a80([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x390a80([0x61,0x75,0x74,0x6f]);}}function _0x4af707(_0x106c00){const _0x5082ec=[new window[(_0x390a80([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x41d483=>setTimeout(_0x41d483,0x57eb4bb^_0x1738a8)),_0x46e67c[_0x390a80([0x74,0x68,0x65,0x6e])](()=>new window[(_0x390a80([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x39d4de=>{let _0x34557c=0x0;_0x4bda98[_0x390a80([0x6d,0x6f,0x64,0x65,0x6c])][_0x390a80([0x6f,0x6e])](_0x390a80([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3fbca0,_0x35eaed)=>{_0x35eaed[0x0][_0x390a80([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x34557c++,_0x34557c==(0x5778b8f^_0x1738a8)&&(_0x39d4de(),_0x3fbca0[_0x390a80([0x6f,0x66,0x66])]());});}))];return window[_0x390a80([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x390a80([0x72,0x61,0x63,0x65])](_0x5082ec)[_0x390a80([0x74,0x68,0x65,0x6e])](()=>_0x106c00);}async function _0x468dbc(){await _0x46e67c,_0x4bda98[_0x390a80([0x6d,0x6f,0x64,0x65,0x6c])][_0x390a80([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x45080c,_0x4bda98[_0x390a80([0x6d,0x6f,0x64,0x65,0x6c])][_0x390a80([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x45080c,_0x4bda98[_0x390a80([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x390a80([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x16af16(_0xb812db){const _0x1235be=_0x4dbfd3();_0x4bda98[_0x1235be]=_0x390a80([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0xb812db,_0xb812db!=_0x390a80([0x56,0x61,0x6c,0x69,0x64])&&_0x468dbc();}function _0x4dbfd3(){const _0xabb21c=window[_0x390a80([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x390a80([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x390a80([0x6e,0x6f,0x77])]())[_0x390a80([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x390a80([0x2e]),'');let _0x2507af=_0x390a80([0x70]);for(let _0x34f1a4=0x0;_0x34f1a4<_0xabb21c[_0x390a80([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x34f1a4+=0x2){let _0x2b462a=window[_0x390a80([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xabb21c[_0x390a80([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x34f1a4,_0x34f1a4+0x2));_0x2b462a>=_0x30f495[_0x390a80([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2b462a-=_0x30f495[_0x390a80([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2507af+=_0x30f495[_0x2b462a];}return _0x2507af;}function _0x47c901(){const _0xdd3f69=_0x1f8986[_0x390a80([0x73,0x70,0x6c,0x69,0x74])](_0x390a80([0x2e]));if(0x3!=_0xdd3f69[_0x390a80([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x13126c(_0xdd3f69[0x1]);function _0x13126c(_0x13390e){const _0x55d130=_0x14b92b(_0x13390e);return _0x55d130&&_0x244ead()?_0x55d130:null;function _0x244ead(){const _0x26d426=_0x55d130[_0x390a80([0x6a,0x74,0x69])],_0x5d1acf=window[_0x390a80([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x26d426[_0x390a80([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x26d426[_0x390a80([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0xd20e65={..._0x55d130,[_0x390a80([0x6a,0x74,0x69])]:_0x26d426[_0x390a80([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x26d426[_0x390a80([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0xd20e65[_0x390a80([0x76,0x63])],_0x2e1ddf(_0xd20e65)==_0x5d1acf;}}}async function _0x3b047b(){let _0x5265b0=!0x0;try{const _0x395f15=_0x1f8986[_0x390a80([0x73,0x70,0x6c,0x69,0x74])](_0x390a80([0x2e])),[_0x4f17b5,_0x1e1e5e,_0x419568]=_0x395f15;return _0x5bc00f(_0x4f17b5),await _0x4d9000(_0x4f17b5,_0x1e1e5e,_0x419568),_0x5265b0;}catch{return!0x1;}function _0x5bc00f(_0x22f8b0){const _0x3c6280=_0x14b92b(_0x22f8b0);_0x3c6280&&_0x3c6280[_0x390a80([0x61,0x6c,0x67])]==_0x390a80([0x45,0x53,0x32,0x35,0x36])||(_0x5265b0=!0x1);}async function _0x4d9000(_0x50f691,_0x3c2a8b,_0x22c2f5){const _0xf721dc=window[_0x390a80([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x390a80([0x66,0x72,0x6f,0x6d])](_0x20503d(_0x22c2f5),_0x48f7d0=>_0x48f7d0[_0x390a80([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x5df6f2=new window[(_0x390a80([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x390a80([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x50f691+_0x390a80([0x2e])+_0x3c2a8b),_0x25f5f2=window[_0x390a80([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x390a80([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x25f5f2)return;const _0x5a8a5f=await _0x25f5f2[_0x390a80([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x390a80([0x6a,0x77,0x6b]),_0x5db857,{[_0x390a80([0x6e,0x61,0x6d,0x65])]:_0x390a80([0x45,0x43,0x44,0x53,0x41]),[_0x390a80([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x390a80([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x390a80([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x25f5f2[_0x390a80([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x390a80([0x6e,0x61,0x6d,0x65])]:_0x390a80([0x45,0x43,0x44,0x53,0x41]),[_0x390a80([0x68,0x61,0x73,0x68])]:{[_0x390a80([0x6e,0x61,0x6d,0x65])]:_0x390a80([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5a8a5f,_0xf721dc,_0x5df6f2)||(_0x5265b0=!0x1);}}function _0x14b92b(_0x373d46){return _0x373d46[_0x390a80([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x390a80([0x65,0x79]))?JSON[_0x390a80([0x70,0x61,0x72,0x73,0x65])](_0x20503d(_0x373d46)):null;}function _0x20503d(_0x1ed0a5){return window[_0x390a80([0x61,0x74,0x6f,0x62])](_0x1ed0a5[_0x390a80([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x390a80([0x2b]))[_0x390a80([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x390a80([0x2f])));}function _0x2e1ddf(_0x3271a5){let _0x480644=0x1505;function _0x3b7e6f(_0x19d2e3){for(let _0x209164=0x0;_0x209164<_0x19d2e3[_0x390a80([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x209164++){const _0x29a37d=_0x19d2e3[_0x390a80([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x209164);_0x480644=(_0x480644<<0x5)+_0x480644+_0x29a37d,_0x480644&=_0x480644;}}function _0x5d404d(_0x4e9285){Array[_0x390a80([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4e9285)?_0x4e9285[_0x390a80([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5d404d):_0x4e9285&&typeof _0x4e9285==_0x390a80([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x390a80([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4e9285)[_0x390a80([0x73,0x6f,0x72,0x74])]()[_0x390a80([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4cf7a5,_0x39d271])=>{_0x3b7e6f(_0x4cf7a5),_0x5d404d(_0x39d271);}):_0x3b7e6f(window[_0x390a80([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4e9285));}return _0x5d404d(_0x3271a5),_0x480644>>>0x0;}function _0x35fd75(_0x5fc420){return _0x5fc420[_0x390a80([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x390a80([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x390a80([0x30]));}function _0xa43749(_0x19c9c3){return _0x19c9c3[_0x390a80([0x73,0x70,0x6c,0x69,0x74])]('')[_0x390a80([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x390a80([0x6a,0x6f,0x69,0x6e])]('');}function _0x45080c(){}function _0x390a80(_0x57f250){return _0x57f250['map'](_0x5a0e57=>String['fromCharCode'](_0x5a0e57))['join']('');}_0x16af16(await _0x25be50());}(this);}['_toggleSpecialCursor'](_0xa075b9){this['editor']['editing']['view']['change'](_0x36a405=>{for(const _0x47d06d of this['editor']['editing']['view']['document']['roots'])_0xa075b9?_0x36a405['addClass'](C,_0x47d06d):_0x36a405['removeClass'](C,_0x47d06d);});}['_copyFormatting'](){const {editor:_0x581389}=this;_0x581389['execute'](c),_0x581389['ui']['ariaLiveAnnouncer']['announce'](b(_0x581389['locale'],'Formatting\x20copied.'));}['_pasteFormatting'](){const {editor:_0x2936ba}=this,_0x24c2af=_0x2936ba['commands']['get'](c)['value'];_0x2936ba['execute'](e,_0x24c2af),_0x2936ba['ui']['ariaLiveAnnouncer']['announce'](b(_0x2936ba['locale'],'Pasted\x20formatting.'));}['_finishPainting'](){this['editor']['commands']['get'](c)['reset'](),this['stopListening'](_0x5eb459['window']['document'],'mouseup');}}class n extends _0x3e2dda{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 _0x19ff8a,Plugin as _0x1130ef}from'@ckeditor/ckeditor5-core/dist/index.js';import{first as _0x313297,DomEmitterMixin as _0x2715e9,Collection as _0x9f3c9b,global as _0x3bd0bb,uid as _0x193a5a}from'@ckeditor/ckeditor5-utils/dist/index.js';import{createDropdown as _0x1ed2cc,SplitButtonView as _0x444a72,ViewModel as _0x2e00a7,addListToDropdown as _0x29bfab}from'@ckeditor/ckeditor5-ui/dist/index.js';import{ClickObserver as _0x4ba859}from'@ckeditor/ckeditor5-engine/dist/index.js';import{IconPaintRoller as _0x8af684}from'@ckeditor/ckeditor5-icons/dist/index.js';const c='copyFormat',e='pasteFormat',C='ck-format-painter-active';class r extends _0x19ff8a{constructor(_0x115f63){super(_0x115f63),this['value']=void 0x0,this['on']('change:isEnabled',(_0x48bcfa,_0x476cd4,_0x47301b)=>{_0x47301b||this['reset']();}),this['on']('change:value',()=>_0x115f63['commands']['get'](e)['refresh']());}['execute'](){this['value']=this['_getFormattingAttributes']();}['reset'](){this['value']=void 0x0;}['_getFormattingAttributes'](){const _0x193897=this['editor']['model'],_0xc2d53c=_0x193897['document']['selection'];return Object['fromEntries'](Array['from'](_0xc2d53c['getAttributes']())['filter'](([_0x5c8f65])=>_0x193897['schema']['getAttributeProperties'](_0x5c8f65)['isFormatting']));}}class o extends _0x19ff8a{constructor(_0x55295d){super(_0x55295d),this['_removeFormatCommand']=new _(_0x55295d);}['execute'](_0x4fde8f={}){const _0x49ceb4=this['editor']['model'],_0x53bd78=_0x49ceb4['document']['selection'],_0x3a6730=Array['from'](_0x53bd78['getRanges']()),_0x588d54=_0x53bd78['isCollapsed']?[this['_createRangeOnEntireWord'](_0x49ceb4,_0x53bd78)]:_0x3a6730;_0x49ceb4['change'](_0x288bdd=>{_0x288bdd['setSelection'](_0x588d54),this['_removeFormatCommand']['execute']();for(const _0x3d132f in _0x4fde8f)for(const _0x49e0e0 of _0x49ceb4['schema']['getValidRanges'](_0x588d54,_0x3d132f))_0x288bdd['setAttribute'](_0x3d132f,_0x4fde8f[_0x3d132f],_0x49e0e0);_0x288bdd['setSelection'](_0x3a6730);});}['_createRangeOnEntireWord'](_0x2ca9ec,_0xe6ec20){const _0x5768ca=_0x2ca9ec['createSelection'](_0xe6ec20);_0x2ca9ec['modifySelection'](_0x5768ca,{'unit':'word','direction':'backward'});const _0x1c8a84=_0x5768ca['getFirstPosition']();_0x2ca9ec['modifySelection'](_0x5768ca,{'unit':'word','direction':'forward'});const _0xc76534=_0x5768ca['getLastPosition']();return _0x2ca9ec['createRange'](_0x1c8a84,_0xc76534);}}class _ extends _0x19ff8a{['execute'](){const _0xffbd13=this['editor']['model'],_0x10425b=_0xffbd13['schema'];_0xffbd13['change'](_0x3a6cdc=>{for(const _0x21061f of this['_getFormattingItems'](_0xffbd13['document']['selection'],_0x10425b))if(_0x21061f['is']('selection')){for(const _0x11927e of this['_getFormattingAttributes'](_0x21061f,_0x10425b))_0x3a6cdc['removeSelectionAttribute'](_0x11927e);}else{const _0x3f9471=_0x3a6cdc['createRangeOn'](_0x21061f);for(const _0x4c3af5 of this['_getFormattingAttributes'](_0x21061f,_0x10425b))_0x3a6cdc['removeAttribute'](_0x4c3af5,_0x3f9471);}});}*['_getFormattingItems'](_0x9c946e,_0x3e04a8){const _0x1134dc=_0x2b2903=>!!_0x313297(this['_getFormattingAttributes'](_0x2b2903,_0x3e04a8));for(const _0x493665 of _0x9c946e['getRanges']())for(const _0x4eefb0 of _0x493665['getItems']())!_0x3e04a8['isBlock'](_0x4eefb0)&&_0x1134dc(_0x4eefb0)&&(yield _0x4eefb0);for(const _0x2fe3e4 of _0x9c946e['getSelectedBlocks']())_0x1134dc(_0x2fe3e4)&&(yield _0x2fe3e4);_0x1134dc(_0x9c946e)&&(yield _0x9c946e);}*['_getFormattingAttributes'](_0x4e3798,_0x535dab){for(const [_0x2e57b7]of _0x4e3798['getAttributes']()){const _0x341305=_0x535dab['getAttributeProperties'](_0x2e57b7);_0x341305&&_0x341305['isFormatting']&&(yield _0x2e57b7);}}}class a extends _0x1130ef{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FormatPainterEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x3b5661=this['editor'];_0x3b5661['commands']['add'](c,new r(_0x3b5661)),_0x3b5661['commands']['add'](e,new o(_0x3b5661)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x1ccfe2=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x30058d;for(const _0x118eb2 in _0x1ccfe2){const _0x31035e=_0x118eb2,_0x210589=_0x1ccfe2[_0x31035e];if('formatPainterLicenseKeyValid'==_0x210589||'formatPainterLicenseKeyInvalid'==_0x210589||'formatPainterLicenseKeyExpired'==_0x210589||'formatPainterLicenseKeyDomainLimit'==_0x210589||'formatPainterLicenseKeyNotAllowed'==_0x210589||'formatPainterLicenseKeyEvaluationLimit'==_0x210589||'formatPainterLicenseKeyTrialLimit'==_0x210589||'formatPainterLicenseKeyUsageLimit'==_0x210589){delete _0x1ccfe2[_0x31035e],_0x30058d=_0x210589,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'formatPainterLicenseKeyInvalid'==_0x30058d&&_0x1ccfe2['_showLicenseError']('invalid'),'formatPainterLicenseKeyExpired'==_0x30058d&&_0x1ccfe2['_showLicenseError']('expired'),'formatPainterLicenseKeyDomainLimit'==_0x30058d&&_0x1ccfe2['_showLicenseError']('domainLimit'),'formatPainterLicenseKeyNotAllowed'==_0x30058d&&_0x1ccfe2['_showLicenseError']('featureNotAllowed','FormatPainter'),'formatPainterLicenseKeyEvaluationLimit'==_0x30058d&&_0x1ccfe2['_showLicenseError']('evaluationLimit'),'formatPainterLicenseKeyTrialLimit'==_0x30058d&&_0x1ccfe2['_showLicenseError']('trialLimit'),'formatPainterLicenseKeyUsageLimit'==_0x30058d&&_0x1ccfe2['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function b(_0x19a782,_0x42e6e8){const t=_0x19a782['t'];switch(_0x42e6e8){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 _0x42e6e8;}}class m extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x2715e9(_0x1130ef){static get['pluginName'](){return'FormatPainterUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x5ee41c=this['editor'];_0x5ee41c['editing']['view']['addObserver'](_0x4ba859),_0x5ee41c['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':b(_0x5ee41c['locale'],'Copy\x20text\x20formatting'),'keystroke':'Ctrl+Alt+C'},{'label':b(_0x5ee41c['locale'],'Paste\x20text\x20formatting'),'keystroke':'Ctrl+Alt+V'}]}),_0x5ee41c['ui']['componentFactory']['add']('formatPainter',_0x5cdb57=>{const _0x5f0611=_0x1ed2cc(_0x5cdb57,_0x444a72),_0x399105=_0x5ee41c['commands']['get'](c);_0x5f0611['buttonView']['set']({'label':b(_0x5ee41c['locale'],'Paint\x20formatting'),'icon':_0x8af684,'keystroke':'Ctrl+Alt+C','tooltip':!0x0}),_0x5f0611['class']='ck-format-painter-dropdown',_0x399105&&(_0x5f0611['bind']('isEnabled')['to'](_0x399105,'isEnabled'),this['listenTo'](_0x399105,'change:isEnabled',(_0x41c29f,_0x2f74cc,_0x4c750c)=>{_0x4c750c||this['_finishPainting']();}),_0x5f0611['buttonView']['bind']('isOn')['to'](_0x399105,'value',_0x31690f=>!!_0x31690f),this['listenTo'](_0x5ee41c,'destroy',()=>this['_toggleSpecialCursor'](!0x1)),this['listenTo'](_0x399105,'change:value',(_0x28876a,_0x34a37e,_0x6891ee)=>{this['_toggleSpecialCursor'](!!_0x6891ee);}));const _0x54283b=new _0x2e00a7({'withText':!0x0,'label':b(_0x5ee41c['locale'],'Continuous\x20painting'),'tooltip':b(_0x5ee41c['locale'],'Keeps\x20the\x20painter\x20on\x20after\x20setting\x20the\x20formatting.'),'isOn':!0x1,'role':'menuitemcheckbox'});_0x29bfab(_0x5f0611,new _0x9f3c9b([{'type':'switchbutton','model':_0x54283b}]),{'role':'menu'});const _0x367042=()=>{this['_copyFormatting'](),this['listenTo'](_0x3bd0bb['window']['document'],'mouseup',()=>{this['_pasteFormatting'](),_0x54283b['isOn']||this['_finishPainting']();});};return this['listenTo'](_0x5f0611,'execute',()=>{_0x54283b['isOn']=!_0x54283b['isOn'];}),this['listenTo'](_0x5f0611['buttonView'],'execute',()=>{_0x5ee41c['editing']['view']['focus'](),_0x5f0611['buttonView']['isOn']?this['_finishPainting']():_0x367042();}),_0x5ee41c['keystrokes']['set']('Ctrl+Alt+C',(_0x205016,_0x35a24c)=>{_0x367042(),_0x54283b['isOn']=!0x0,_0x35a24c();},{'priority':'high'}),_0x5ee41c['keystrokes']['set']('Ctrl+Alt+V',(_0x2c94dd,_0x4f5c40)=>{_0x5f0611['buttonView']['isOn']&&(this['_pasteFormatting'](),_0x54283b['isOn']||this['_finishPainting'](),_0x4f5c40());},{'priority':'high'}),_0x5ee41c['keystrokes']['set']('Esc',(_0xa83499,_0x243615)=>{_0x5f0611['buttonView']['isOn']&&(_0x54283b['isOn']=!0x1,this['_finishPainting'](),_0x243615());}),_0x5f0611;});}['afterInit'](){!async function(_0x22f44f){const _0xbdc478=_0x52f381([0x75,0x44,0x77,0x36,0x64,0x56,0x6e,0x59,0x4a,0x53,0x57,0x6d,0x52,0x30,0x6a,0x61,0x76,0x45,0x32,0x48,0x4b,0x33,0x42,0x69,0x55,0x37,0x6c,0x46,0x62,0x68,0x74,0x7a,0x70,0x4f,0x41,0x78,0x31,0x65,0x79,0x34,0x63,0x39,0x67,0x5a,0x50,0x6f,0x54,0x4e,0x73,0x35,0x47,0x72,0x4c,0x38,0x58,0x51,0x6b,0x66,0x71,0x4d,0x43,0x49]),_0xf6e9f1=0x502b8039,_0x210daf=0x502ce951^_0xf6e9f1,_0x31fd43=window[_0x52f381([0x44,0x61,0x74,0x65])][_0x52f381([0x6e,0x6f,0x77])](),_0x2b88f4=_0x22f44f[_0x52f381([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x433a18=new window[(_0x52f381([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x87646b=>{_0x2b88f4[_0x52f381([0x6f,0x6e,0x63,0x65])](_0x52f381([0x72,0x65,0x61,0x64,0x79]),_0x87646b);}),_0x370429={[_0x52f381([0x6b,0x74,0x79])]:_0x52f381([0x45,0x43]),[_0x52f381([0x75,0x73,0x65])]:_0x52f381([0x73,0x69,0x67]),[_0x52f381([0x63,0x72,0x76])]:_0x52f381([0x50,0x2d,0x32,0x35,0x36]),[_0x52f381([0x78])]:_0x52f381([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]),[_0x52f381([0x79])]:_0x52f381([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]),[_0x52f381([0x61,0x6c,0x67])]:_0x52f381([0x45,0x53,0x32,0x35,0x36])},_0x2187f9=_0x2b88f4[_0x52f381([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x52f381([0x67,0x65,0x74])](_0x52f381([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x553c02(){let _0x160d6a,_0x3b4a2a=null,_0x2792f5=null;try{if(_0x2187f9==_0x52f381([0x47,0x50,0x4c]))return _0x52f381([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x160d6a=_0x234116(),!_0x160d6a)return _0x52f381([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x160d6a[_0x52f381([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2792f5=_0x28dd5e(_0x160d6a[_0x52f381([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x160d6a[_0x52f381([0x6a,0x74,0x69])])),await _0x102ac8()?_0x42d233()?_0x115081()?_0x52f381([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5f3709()?(_0x160d6a[_0x52f381([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x52f381([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3b4a2a=_0x47e635(_0x52f381([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x160d6a[_0x52f381([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x52f381([0x74,0x72,0x69,0x61,0x6c])&&(_0x3b4a2a=_0x47e635(_0x52f381([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x44514f()):_0x52f381([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x52f381([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x52f381([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x52f381([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x115081(){const _0x1efcf5=[_0x52f381([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x52f381([0x74,0x72,0x69,0x61,0x6c])][_0x52f381([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x160d6a[_0x52f381([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x31fd43/0x3e8:0xe10*_0x210daf;return _0x160d6a[_0x52f381([0x65,0x78,0x70])]<_0x1efcf5;}function _0x42d233(){const _0x629384=_0x160d6a[_0x52f381([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x629384&&(!!_0x629384[_0x52f381([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x52f381([0x2a]))||(!!_0x629384[_0x52f381([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x52f381([0x46,0x50]))||!!_0x629384[_0x52f381([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x52f381([0x50,0x50]))));}function _0x5f3709(){const _0x3e3399=_0x160d6a[_0x52f381([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3e3399||0x0==_0x3e3399[_0x52f381([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1cea94}=new URL(window[_0x52f381([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x3e3399[_0x52f381([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1cea94))return!0x0;const _0x3d57c6=_0x1cea94[_0x52f381([0x73,0x70,0x6c,0x69,0x74])](_0x52f381([0x2e]));return _0x3e3399[_0x52f381([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x6a059a=>_0x6a059a[_0x52f381([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x52f381([0x2a])))[_0x52f381([0x6d,0x61,0x70])](_0x1a958c=>_0x1a958c[_0x52f381([0x73,0x70,0x6c,0x69,0x74])](_0x52f381([0x2e])))[_0x52f381([0x73,0x6f,0x6d,0x65])](_0x3da792=>_0x3d57c6[_0x52f381([0x65,0x76,0x65,0x72,0x79])]((_0x41d82a,_0x4737fe)=>_0x3da792[_0x4737fe]===_0x41d82a||_0x3da792[_0x4737fe]===_0x52f381([0x2a])));}function _0x44514f(){return _0x3b4a2a&&_0x2792f5?new window[(_0x52f381([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x175dd4,_0x495c1c)=>{_0x3b4a2a[_0x52f381([0x74,0x68,0x65,0x6e])](_0x175dd4,_0x495c1c),_0x2792f5[_0x52f381([0x74,0x68,0x65,0x6e])](_0x905b8=>{_0x905b8!=_0x52f381([0x56,0x61,0x6c,0x69,0x64])&&_0x175dd4(_0x905b8);},_0x495c1c);}):_0x3b4a2a||_0x2792f5||_0x52f381([0x56,0x61,0x6c,0x69,0x64]);}}function _0x28dd5e(_0x1d160d,_0x78f074){return new window[(_0x52f381([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1e5896=>{if(_0x9a4199())return _0x1e5896(_0x52f381([0x56,0x61,0x6c,0x69,0x64]));_0x232a8d(),_0x2b88f4[_0x52f381([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x52f381([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4cd7ab=!0x1;const _0x455dde=_0x193a5a();function _0x75a3be(_0x56638b){return!!_0x56638b&&(typeof _0x56638b===_0x52f381([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x56638b===_0x52f381([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x56638b[_0x52f381([0x74,0x68,0x65,0x6e])]===_0x52f381([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x56638b[_0x52f381([0x63,0x61,0x74,0x63,0x68])]===_0x52f381([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3a632c(_0x3af653){_0x119aef(_0x3af653)[_0x52f381([0x74,0x68,0x65,0x6e])](_0x411051=>{if(!_0x411051||_0x411051[_0x52f381([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x52f381([0x6f,0x6b]))return _0x52f381([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4afdd8(_0x5355cf(_0x455dde+_0x78f074))!=_0x411051[_0x52f381([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x52f381([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x52f381([0x56,0x61,0x6c,0x69,0x64]);})[_0x52f381([0x74,0x68,0x65,0x6e])](_0x43a8d3=>(_0x223a7b(),_0x43a8d3),()=>{const _0x25533d=_0xcfd22a();return null==_0x25533d?(_0x223a7b(),_0x52f381([0x56,0x61,0x6c,0x69,0x64])):_0x52f381(_0x31fd43-_0x25533d>(0x74270439^_0xf6e9f1)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x52f381([0x74,0x68,0x65,0x6e])](_0x1e5896)[_0x52f381([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1e5896(_0x52f381([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x4bdf35=0x501d6eb9^_0xf6e9f1;function _0x223a7b(){const _0x584154=_0x52f381([0x6c,0x6c,0x63,0x74,0x2d])+_0x4afdd8(_0x5355cf(_0x1d160d)),_0x48d93b=_0x3690b9(_0x4afdd8(window[_0x52f381([0x4d,0x61,0x74,0x68])][_0x52f381([0x63,0x65,0x69,0x6c])](_0x31fd43/_0x4bdf35)));window[_0x52f381([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x52f381([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x584154,_0x48d93b);}function _0xcfd22a(){const _0xd95cce=_0x52f381([0x6c,0x6c,0x63,0x74,0x2d])+_0x4afdd8(_0x5355cf(_0x1d160d)),_0x2be69b=window[_0x52f381([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x52f381([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xd95cce);return _0x2be69b?window[_0x52f381([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3690b9(_0x2be69b),0x10)*_0x4bdf35:null;}function _0x119aef(_0x358dbd){return new window[(_0x52f381([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x10adcf,_0x25bb3d)=>{_0x358dbd[_0x52f381([0x74,0x68,0x65,0x6e])](_0x10adcf,_0x25bb3d),window[_0x52f381([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x25bb3d,0x502a54f9^_0xf6e9f1);});}}_0x2b88f4[_0x52f381([0x6f,0x6e])](_0x52f381([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x952e31,_0x543fbc)=>{if(_0x543fbc[0x0]!=_0x1d160d)return _0x1e5896(_0x52f381([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x543fbc[0x1]={..._0x543fbc[0x1],[_0x52f381([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x455dde};},{[_0x52f381([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x52f381([0x68,0x69,0x67,0x68])}),_0x2b88f4[_0x52f381([0x6f,0x6e])](_0x52f381([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x268ac4=>{_0x75a3be(_0x268ac4[_0x52f381([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4cd7ab=!0x0,_0x3a632c(_0x268ac4[_0x52f381([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x52f381([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x52f381([0x6c,0x6f,0x77])}),_0x433a18[_0x52f381([0x74,0x68,0x65,0x6e])](()=>{_0x4cd7ab||_0x1e5896(_0x52f381([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x9a4199(){return _0x2b88f4[_0x52f381([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x52f381([0x76,0x69,0x65,0x77])][_0x52f381([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x52f381([0x61,0x75,0x74,0x6f]);}function _0x232a8d(){_0x2b88f4[_0x52f381([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x52f381([0x76,0x69,0x65,0x77])][_0x52f381([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x52f381([0x61,0x75,0x74,0x6f]);}}function _0x47e635(_0x4016cc){const _0xd22c7=[new window[(_0x52f381([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x548a62=>setTimeout(_0x548a62,0x5022bef5^_0xf6e9f1)),_0x433a18[_0x52f381([0x74,0x68,0x65,0x6e])](()=>new window[(_0x52f381([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xf8d764=>{let _0x128735=0x0;_0x2b88f4[_0x52f381([0x6d,0x6f,0x64,0x65,0x6c])][_0x52f381([0x6f,0x6e])](_0x52f381([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2f41ec,_0xa410fd)=>{_0xa410fd[0x0][_0x52f381([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x128735++,_0x128735==(0x502b81c1^_0xf6e9f1)&&(_0xf8d764(),_0x2f41ec[_0x52f381([0x6f,0x66,0x66])]());});}))];return window[_0x52f381([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x52f381([0x72,0x61,0x63,0x65])](_0xd22c7)[_0x52f381([0x74,0x68,0x65,0x6e])](()=>_0x4016cc);}async function _0x378fa0(){await _0x433a18,_0x2b88f4[_0x52f381([0x6d,0x6f,0x64,0x65,0x6c])][_0x52f381([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x43d44f,_0x2b88f4[_0x52f381([0x6d,0x6f,0x64,0x65,0x6c])][_0x52f381([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x43d44f,_0x2b88f4[_0x52f381([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x52f381([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5dc68a(_0x5eb4f9){const _0x1591fa=_0x3e0480();_0x2b88f4[_0x1591fa]=_0x52f381([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x5eb4f9,_0x5eb4f9!=_0x52f381([0x56,0x61,0x6c,0x69,0x64])&&_0x378fa0();}function _0x3e0480(){const _0x5d1596=window[_0x52f381([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x52f381([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x52f381([0x6e,0x6f,0x77])]())[_0x52f381([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x52f381([0x2e]),'');let _0xf09075=_0x52f381([0x75]);for(let _0x35585e=0x0;_0x35585e<_0x5d1596[_0x52f381([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x35585e+=0x2){let _0x5dea36=window[_0x52f381([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5d1596[_0x52f381([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x35585e,_0x35585e+0x2));_0x5dea36>=_0xbdc478[_0x52f381([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5dea36-=_0xbdc478[_0x52f381([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xf09075+=_0xbdc478[_0x5dea36];}return _0xf09075;}function _0x234116(){const _0x13a535=_0x2187f9[_0x52f381([0x73,0x70,0x6c,0x69,0x74])](_0x52f381([0x2e]));if(0x3!=_0x13a535[_0x52f381([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x11bade(_0x13a535[0x1]);function _0x11bade(_0x34eb66){const _0x7c3e2=_0x2d4dc6(_0x34eb66);return _0x7c3e2&&_0x2d3fc7()?_0x7c3e2:null;function _0x2d3fc7(){const _0x16298b=_0x7c3e2[_0x52f381([0x6a,0x74,0x69])],_0x411325=window[_0x52f381([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x16298b[_0x52f381([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x16298b[_0x52f381([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3e74d7={..._0x7c3e2,[_0x52f381([0x6a,0x74,0x69])]:_0x16298b[_0x52f381([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x16298b[_0x52f381([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3e74d7[_0x52f381([0x76,0x63])],_0x5355cf(_0x3e74d7)==_0x411325;}}}async function _0x102ac8(){let _0x3ae064=!0x0;try{const _0x515f73=_0x2187f9[_0x52f381([0x73,0x70,0x6c,0x69,0x74])](_0x52f381([0x2e])),[_0x45e2a0,_0x599a78,_0x2dc0b7]=_0x515f73;return _0x4d9582(_0x45e2a0),await _0x1978ac(_0x45e2a0,_0x599a78,_0x2dc0b7),_0x3ae064;}catch{return!0x1;}function _0x4d9582(_0x169505){const _0x2effae=_0x2d4dc6(_0x169505);_0x2effae&&_0x2effae[_0x52f381([0x61,0x6c,0x67])]==_0x52f381([0x45,0x53,0x32,0x35,0x36])||(_0x3ae064=!0x1);}async function _0x1978ac(_0x51fe22,_0xabedca,_0x3f8409){const _0x37336d=window[_0x52f381([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x52f381([0x66,0x72,0x6f,0x6d])](_0x3c318b(_0x3f8409),_0x489fcf=>_0x489fcf[_0x52f381([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3a25e1=new window[(_0x52f381([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x52f381([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x51fe22+_0x52f381([0x2e])+_0xabedca),_0x1a7ca7=window[_0x52f381([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x52f381([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1a7ca7)return;const _0x46e581=await _0x1a7ca7[_0x52f381([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x52f381([0x6a,0x77,0x6b]),_0x370429,{[_0x52f381([0x6e,0x61,0x6d,0x65])]:_0x52f381([0x45,0x43,0x44,0x53,0x41]),[_0x52f381([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x52f381([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x52f381([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1a7ca7[_0x52f381([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x52f381([0x6e,0x61,0x6d,0x65])]:_0x52f381([0x45,0x43,0x44,0x53,0x41]),[_0x52f381([0x68,0x61,0x73,0x68])]:{[_0x52f381([0x6e,0x61,0x6d,0x65])]:_0x52f381([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x46e581,_0x37336d,_0x3a25e1)||(_0x3ae064=!0x1);}}function _0x2d4dc6(_0x14a085){return _0x14a085[_0x52f381([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x52f381([0x65,0x79]))?JSON[_0x52f381([0x70,0x61,0x72,0x73,0x65])](_0x3c318b(_0x14a085)):null;}function _0x3c318b(_0x5034e9){return window[_0x52f381([0x61,0x74,0x6f,0x62])](_0x5034e9[_0x52f381([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x52f381([0x2b]))[_0x52f381([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x52f381([0x2f])));}function _0x5355cf(_0x4c4968){let _0x2c506d=0x1505;function _0x37b85b(_0x2e7bdc){for(let _0x3f9770=0x0;_0x3f9770<_0x2e7bdc[_0x52f381([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3f9770++){const _0x120427=_0x2e7bdc[_0x52f381([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3f9770);_0x2c506d=(_0x2c506d<<0x5)+_0x2c506d+_0x120427,_0x2c506d&=_0x2c506d;}}function _0x574a48(_0x2a62a3){Array[_0x52f381([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2a62a3)?_0x2a62a3[_0x52f381([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x574a48):_0x2a62a3&&typeof _0x2a62a3==_0x52f381([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x52f381([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2a62a3)[_0x52f381([0x73,0x6f,0x72,0x74])]()[_0x52f381([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x18e3cc,_0x48c244])=>{_0x37b85b(_0x18e3cc),_0x574a48(_0x48c244);}):_0x37b85b(window[_0x52f381([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2a62a3));}return _0x574a48(_0x4c4968),_0x2c506d>>>0x0;}function _0x4afdd8(_0x32791d){return _0x32791d[_0x52f381([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x52f381([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x52f381([0x30]));}function _0x3690b9(_0x3b679d){return _0x3b679d[_0x52f381([0x73,0x70,0x6c,0x69,0x74])]('')[_0x52f381([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x52f381([0x6a,0x6f,0x69,0x6e])]('');}function _0x43d44f(){}function _0x52f381(_0x2d432c){return _0x2d432c['map'](_0x26fd27=>String['fromCharCode'](_0x26fd27))['join']('');}_0x5dc68a(await _0x553c02());}(this);}['_toggleSpecialCursor'](_0x3a7246){this['editor']['editing']['view']['change'](_0x312371=>{for(const _0x4d4105 of this['editor']['editing']['view']['document']['roots'])_0x3a7246?_0x312371['addClass'](C,_0x4d4105):_0x312371['removeClass'](C,_0x4d4105);});}['_copyFormatting'](){const {editor:_0x308053}=this;_0x308053['execute'](c),_0x308053['ui']['ariaLiveAnnouncer']['announce'](b(_0x308053['locale'],'Formatting\x20copied.'));}['_pasteFormatting'](){const {editor:_0xb5d585}=this,_0x531501=_0xb5d585['commands']['get'](c)['value'];_0xb5d585['execute'](e,_0x531501),_0xb5d585['ui']['ariaLiveAnnouncer']['announce'](b(_0xb5d585['locale'],'Pasted\x20formatting.'));}['_finishPainting'](){this['editor']['commands']['get'](c)['reset'](),this['stopListening'](_0x3bd0bb['window']['document'],'mouseup');}}class n extends _0x1130ef{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.2.0-alpha.
|
|
3
|
+
"version": "45.2.0-alpha.3",
|
|
4
4
|
"description": "Format painter feature for CKEditor 5.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ckeditor",
|
|
@@ -12,12 +12,12 @@
|
|
|
12
12
|
"type": "module",
|
|
13
13
|
"main": "src/index.js",
|
|
14
14
|
"dependencies": {
|
|
15
|
-
"@ckeditor/ckeditor5-core": "45.2.0-alpha.
|
|
16
|
-
"@ckeditor/ckeditor5-engine": "45.2.0-alpha.
|
|
17
|
-
"@ckeditor/ckeditor5-icons": "45.2.0-alpha.
|
|
18
|
-
"@ckeditor/ckeditor5-ui": "45.2.0-alpha.
|
|
19
|
-
"@ckeditor/ckeditor5-utils": "45.2.0-alpha.
|
|
20
|
-
"ckeditor5": "45.2.0-alpha.
|
|
15
|
+
"@ckeditor/ckeditor5-core": "45.2.0-alpha.3",
|
|
16
|
+
"@ckeditor/ckeditor5-engine": "45.2.0-alpha.3",
|
|
17
|
+
"@ckeditor/ckeditor5-icons": "45.2.0-alpha.3",
|
|
18
|
+
"@ckeditor/ckeditor5-ui": "45.2.0-alpha.3",
|
|
19
|
+
"@ckeditor/ckeditor5-utils": "45.2.0-alpha.3",
|
|
20
|
+
"ckeditor5": "45.2.0-alpha.3"
|
|
21
21
|
},
|
|
22
22
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
23
23
|
"author": "CKSource (http://cksource.com/)",
|
package/src/formatpainterui.js
CHANGED
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
_0x1fbfbe(_0x49f1e1){static get[_0x1df68e(0xb2)](){const _0x1957e2=_0x1df68e;return _0x1957e2(0xba);}static get[_0x1df68e(0xf1)](){return!0x0;}static get[_0x1df68e(0xdb)](){return!0x0;}[_0x1df68e(0xbf)](){const _0x52ddc4=_0x1df68e,_0x5bc436=this[_0x52ddc4(0xf4)];_0x5bc436[_0x52ddc4(0xc9)][_0x52ddc4(0xe2)][_0x52ddc4(0xdd)](_0x349f8a),_0x5bc436[_0x52ddc4(0xcf)][_0x52ddc4(0xae)]({'keystrokes':[{'label':_0xa0b44b(_0x5bc436[_0x52ddc4(0xec)],_0x52ddc4(0xd8)),'keystroke':_0x52ddc4(0xb9)},{'label':_0xa0b44b(_0x5bc436[_0x52ddc4(0xec)],_0x52ddc4(0xe1)),'keystroke':_0x52ddc4(0xc6)}]}),_0x5bc436['ui'][_0x52ddc4(0xc4)][_0x52ddc4(0xd7)](_0x52ddc4(0xbe),_0x13599b=>{const _0xd17f47=_0x52ddc4,_0x1b38c3=_0x385e4e(_0x13599b,_0x17e403),_0x20f14c=_0x5bc436[_0xd17f47(0xce)][_0xd17f47(0xe3)](_0x22de5e);_0x1b38c3[_0xd17f47(0xd5)][_0xd17f47(0xb0)]({'label':_0xa0b44b(_0x5bc436[_0xd17f47(0xec)],_0xd17f47(0xca)),'icon':_0x965f43,'keystroke':_0xd17f47(0xb9),'tooltip':!0x0}),_0x1b38c3[_0xd17f47(0xbb)]=_0xd17f47(0xe9),_0x20f14c&&(_0x1b38c3[_0xd17f47(0xa8)](_0xd17f47(0xcc))['to'](_0x20f14c,_0xd17f47(0xcc)),this[_0xd17f47(0xe4)](_0x20f14c,_0xd17f47(0xbd),(_0x1e4327,_0x20d02c,_0x4c46ad)=>{const _0x4056c4=_0xd17f47;_0x4c46ad||this[_0x4056c4(0xe6)]();}),_0x1b38c3[_0xd17f47(0xd5)][_0xd17f47(0xa8)](_0xd17f47(0xe7))['to'](_0x20f14c,_0xd17f47(0xb8),_0x444175=>!!_0x444175),this[_0xd17f47(0xe4)](_0x5bc436,_0xd17f47(0xc8),()=>this[_0xd17f47(0xc1)](!0x1)),this[_0xd17f47(0xe4)](_0x20f14c,_0xd17f47(0xdc),(_0x23ace2,_0x26297b,_0x2284a0)=>{const _0x46cdc2=_0xd17f47;this[_0x46cdc2(0xc1)](!!_0x2284a0);}));const _0x5dfafb=new _0x443996({'withText':!0x0,'label':_0xa0b44b(_0x5bc436[_0xd17f47(0xec)],_0xd17f47(0xb1)),'tooltip':_0xa0b44b(_0x5bc436[_0xd17f47(0xec)],_0xd17f47(0xef)),'isOn':!0x1,'role':_0xd17f47(0xb4)});_0x280036(_0x1b38c3,new _0x137849([{'type':_0xd17f47(0xbc),'model':_0x5dfafb}]),{'role':_0xd17f47(0xb5)});const _0x541bb1=()=>{const _0x428eb6=_0xd17f47;this[_0x428eb6(0xb6)](),this[_0x428eb6(0xe4)](_0x58ade8[_0x428eb6(0xf0)][_0x428eb6(0xac)],_0x428eb6(0xaa),()=>{const _0x1e59dd=_0x428eb6;this[_0x1e59dd(0xee)](),_0x5dfafb[_0x1e59dd(0xe7)]||this[_0x1e59dd(0xe6)]();});};return this[_0xd17f47(0xe4)](_0x1b38c3,_0xd17f47(0xd1),()=>{const _0x18eeb1=_0xd17f47;_0x5dfafb[_0x18eeb1(0xe7)]=!_0x5dfafb[_0x18eeb1(0xe7)];}),this[_0xd17f47(0xe4)](_0x1b38c3[_0xd17f47(0xd5)],_0xd17f47(0xd1),()=>{const _0x488980=_0xd17f47;_0x5bc436[_0x488980(0xc9)][_0x488980(0xe2)][_0x488980(0xad)](),_0x1b38c3[_0x488980(0xd5)][_0x488980(0xe7)]?this[_0x488980(0xe6)]():_0x541bb1();}),_0x5bc436[_0xd17f47(0xde)][_0xd17f47(0xb0)](_0xd17f47(0xb9),(_0x58522a,_0x1f6854)=>{const _0x23ebf7=_0xd17f47;_0x541bb1(),_0x5dfafb[_0x23ebf7(0xe7)]=!0x0,_0x1f6854();},{'priority':_0xd17f47(0xf3)}),_0x5bc436[_0xd17f47(0xde)][_0xd17f47(0xb0)](_0xd17f47(0xc6),(_0xd46c58,_0x428c36)=>{const _0x42694b=_0xd17f47;_0x1b38c3[_0x42694b(0xd5)][_0x42694b(0xe7)]&&(this[_0x42694b(0xee)](),_0x5dfafb[_0x42694b(0xe7)]||this[_0x42694b(0xe6)](),_0x428c36());},{'priority':_0xd17f47(0xf3)}),_0x5bc436[_0xd17f47(0xde)][_0xd17f47(0xb0)](_0xd17f47(0xcb),(_0x2bc452,_0x2498a2)=>{const _0x30073e=_0xd17f47;_0x1b38c3[_0x30073e(0xd5)][_0x30073e(0xe7)]&&(_0x5dfafb[_0x30073e(0xe7)]=!0x1,this[_0x30073e(0xe6)](),_0x2498a2());}),_0x1b38c3;});}[_0x1df68e(0xe5)](){!async function(_0x5f164b){const _0x2f805f=_0x26d6fa([0x70,0x67,0x37,0x49,0x33,0x63,0x42,0x73,0x46,0x74,0x4f,0x34,0x4c,0x78,0x35,0x38,0x57,0x6d,0x4a,0x39,0x6f,0x55,0x5a,0x77,0x6c,0x59,0x43,0x69,0x48,0x6a,0x32,0x41,0x61,0x66,0x44,0x51,0x72,0x71,0x47,0x53,0x4b,0x45,0x58,0x64,0x52,0x62,0x4e,0x7a,0x79,0x68,0x76,0x31,0x75,0x36,0x54,0x30,0x56,0x6e,0x50,0x65,0x4d,0x6b]),_0x574e7c=0x5778a77,_0x1fd89c=0x570e34f^_0x574e7c,_0x31edcd=window[_0x26d6fa([0x44,0x61,0x74,0x65])][_0x26d6fa([0x6e,0x6f,0x77])](),_0x4df353=_0x5f164b[_0x26d6fa([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2dc38c=new window[(_0x26d6fa([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x20a2b8=>{_0x4df353[_0x26d6fa([0x6f,0x6e,0x63,0x65])](_0x26d6fa([0x72,0x65,0x61,0x64,0x79]),_0x20a2b8);}),_0x39bb20={[_0x26d6fa([0x6b,0x74,0x79])]:_0x26d6fa([0x45,0x43]),[_0x26d6fa([0x75,0x73,0x65])]:_0x26d6fa([0x73,0x69,0x67]),[_0x26d6fa([0x63,0x72,0x76])]:_0x26d6fa([0x50,0x2d,0x32,0x35,0x36]),[_0x26d6fa([0x78])]:_0x26d6fa([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]),[_0x26d6fa([0x79])]:_0x26d6fa([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]),[_0x26d6fa([0x61,0x6c,0x67])]:_0x26d6fa([0x45,0x53,0x32,0x35,0x36])},_0x531973=_0x4df353[_0x26d6fa([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x26d6fa([0x67,0x65,0x74])](_0x26d6fa([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x493ad0(){let _0x4bf0f1,_0x3cbe01=null,_0x5bec30=null;try{if(_0x531973==_0x26d6fa([0x47,0x50,0x4c]))return _0x26d6fa([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4bf0f1=_0x4bbbe2(),!_0x4bf0f1)return _0x26d6fa([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4bf0f1[_0x26d6fa([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5bec30=_0xc32ca1(_0x4bf0f1[_0x26d6fa([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4bf0f1[_0x26d6fa([0x6a,0x74,0x69])])),await _0x3f4a98()?_0xcb9945()?_0x274045()?_0x26d6fa([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0xe9f220()?(_0x4bf0f1[_0x26d6fa([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x26d6fa([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3cbe01=_0x8af6ea(_0x26d6fa([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x4bf0f1[_0x26d6fa([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x26d6fa([0x74,0x72,0x69,0x61,0x6c])&&(_0x3cbe01=_0x8af6ea(_0x26d6fa([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x48203f()):_0x26d6fa([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x26d6fa([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x26d6fa([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x26d6fa([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x274045(){const _0x1338d6=[_0x26d6fa([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x26d6fa([0x74,0x72,0x69,0x61,0x6c])][_0x26d6fa([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4bf0f1[_0x26d6fa([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x31edcd/0x3e8:0xe10*_0x1fd89c;return _0x4bf0f1[_0x26d6fa([0x65,0x78,0x70])]<_0x1338d6;}function _0xcb9945(){const _0x343bd1=_0x4bf0f1[_0x26d6fa([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x343bd1&&(!!_0x343bd1[_0x26d6fa([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x26d6fa([0x2a]))||(!!_0x343bd1[_0x26d6fa([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x26d6fa([0x46,0x50]))||!!_0x343bd1[_0x26d6fa([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x26d6fa([0x50,0x50]))));}function _0xe9f220(){const _0x5dcf55=_0x1fac,_0x5054eb=_0x4bf0f1[_0x26d6fa([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5054eb||0x0==_0x5054eb[_0x26d6fa([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x5a9727}=new URL(window[_0x26d6fa([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x5dcf55(0xb3)]);if(_0x5054eb[_0x26d6fa([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5a9727))return!0x0;const _0x14f3e3=_0x5a9727[_0x26d6fa([0x73,0x70,0x6c,0x69,0x74])](_0x26d6fa([0x2e]));return _0x5054eb[_0x26d6fa([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x29e26a=>_0x29e26a[_0x26d6fa([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x26d6fa([0x2a])))[_0x26d6fa([0x6d,0x61,0x70])](_0x33e648=>_0x33e648[_0x26d6fa([0x73,0x70,0x6c,0x69,0x74])](_0x26d6fa([0x2e])))[_0x26d6fa([0x73,0x6f,0x6d,0x65])](_0x470398=>_0x14f3e3[_0x26d6fa([0x65,0x76,0x65,0x72,0x79])]((_0x2ca4b3,_0x24cec2)=>_0x470398[_0x24cec2]===_0x2ca4b3||_0x470398[_0x24cec2]===_0x26d6fa([0x2a])));}function _0x48203f(){return _0x3cbe01&&_0x5bec30?new window[(_0x26d6fa([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x10ffd6,_0x7fc16a)=>{_0x3cbe01[_0x26d6fa([0x74,0x68,0x65,0x6e])](_0x10ffd6,_0x7fc16a),_0x5bec30[_0x26d6fa([0x74,0x68,0x65,0x6e])](_0x11c418=>{_0x11c418!=_0x26d6fa([0x56,0x61,0x6c,0x69,0x64])&&_0x10ffd6(_0x11c418);},_0x7fc16a);}):_0x3cbe01||_0x5bec30||_0x26d6fa([0x56,0x61,0x6c,0x69,0x64]);}}function _0xc32ca1(_0x2057e5,_0x24a469){return new window[(_0x26d6fa([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x589595=>{if(_0x6c3ab5())return _0x589595(_0x26d6fa([0x56,0x61,0x6c,0x69,0x64]));_0x4e9dfb(),_0x4df353[_0x26d6fa([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x26d6fa([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x106542=!0x1;const _0x255f94=_0x58c5e6();function _0x455f01(_0x3dd1ca){return!!_0x3dd1ca&&(typeof _0x3dd1ca===_0x26d6fa([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3dd1ca===_0x26d6fa([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3dd1ca[_0x26d6fa([0x74,0x68,0x65,0x6e])]===_0x26d6fa([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3dd1ca[_0x26d6fa([0x63,0x61,0x74,0x63,0x68])]===_0x26d6fa([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x16cfdc(_0x124e06){_0x4647eb(_0x124e06)[_0x26d6fa([0x74,0x68,0x65,0x6e])](_0x2a529a=>{if(!_0x2a529a||_0x2a529a[_0x26d6fa([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x26d6fa([0x6f,0x6b]))return _0x26d6fa([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1fe8eb(_0x509908(_0x255f94+_0x24a469))!=_0x2a529a[_0x26d6fa([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x26d6fa([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x26d6fa([0x56,0x61,0x6c,0x69,0x64]);})[_0x26d6fa([0x74,0x68,0x65,0x6e])](_0x43c6e0=>(_0x12173f(),_0x43c6e0),()=>{const _0x5dcf86=_0x463745();return null==_0x5dcf86?(_0x12173f(),_0x26d6fa([0x56,0x61,0x6c,0x69,0x64])):_0x26d6fa(_0x31edcd-_0x5dcf86>(0x217b0e77^_0x574e7c)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x26d6fa([0x74,0x68,0x65,0x6e])](_0x589595)[_0x26d6fa([0x63,0x61,0x74,0x63,0x68])](()=>{_0x589595(_0x26d6fa([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2eeeac=0x54164f7^_0x574e7c;function _0x12173f(){const _0x5b6eb1=_0x26d6fa([0x6c,0x6c,0x63,0x74,0x2d])+_0x1fe8eb(_0x509908(_0x2057e5)),_0xb4f3b=_0x50ad18(_0x1fe8eb(window[_0x26d6fa([0x4d,0x61,0x74,0x68])][_0x26d6fa([0x63,0x65,0x69,0x6c])](_0x31edcd/_0x2eeeac)));window[_0x26d6fa([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x26d6fa([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5b6eb1,_0xb4f3b);}function _0x463745(){const _0x3c5465=_0x26d6fa([0x6c,0x6c,0x63,0x74,0x2d])+_0x1fe8eb(_0x509908(_0x2057e5)),_0x34dbfa=window[_0x26d6fa([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x26d6fa([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3c5465);return _0x34dbfa?window[_0x26d6fa([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x50ad18(_0x34dbfa),0x10)*_0x2eeeac:null;}function _0x4647eb(_0x4be288){return new window[(_0x26d6fa([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1af5b7,_0x575a38)=>{_0x4be288[_0x26d6fa([0x74,0x68,0x65,0x6e])](_0x1af5b7,_0x575a38),window[_0x26d6fa([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x575a38,0x5765eb7^_0x574e7c);});}}_0x4df353[_0x26d6fa([0x6f,0x6e])](_0x26d6fa([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x2fac64,_0x4a41ec)=>{if(_0x4a41ec[0x0]!=_0x2057e5)return _0x589595(_0x26d6fa([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4a41ec[0x1]={..._0x4a41ec[0x1],[_0x26d6fa([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x255f94};},{[_0x26d6fa([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x26d6fa([0x68,0x69,0x67,0x68])}),_0x4df353[_0x26d6fa([0x6f,0x6e])](_0x26d6fa([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x566274=>{_0x455f01(_0x566274[_0x26d6fa([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x106542=!0x0,_0x16cfdc(_0x566274[_0x26d6fa([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x26d6fa([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x26d6fa([0x6c,0x6f,0x77])}),_0x2dc38c[_0x26d6fa([0x74,0x68,0x65,0x6e])](()=>{_0x106542||_0x589595(_0x26d6fa([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x6c3ab5(){return _0x4df353[_0x26d6fa([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x26d6fa([0x76,0x69,0x65,0x77])][_0x26d6fa([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x26d6fa([0x61,0x75,0x74,0x6f]);}function _0x4e9dfb(){_0x4df353[_0x26d6fa([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x26d6fa([0x76,0x69,0x65,0x77])][_0x26d6fa([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x26d6fa([0x61,0x75,0x74,0x6f]);}}function _0x8af6ea(_0x4536e9){const _0x1e126b=[new window[(_0x26d6fa([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x617fff=>setTimeout(_0x617fff,0x57eb4bb^_0x574e7c)),_0x2dc38c[_0x26d6fa([0x74,0x68,0x65,0x6e])](()=>new window[(_0x26d6fa([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x18974d=>{let _0x5a0039=0x0;_0x4df353[_0x26d6fa([0x6d,0x6f,0x64,0x65,0x6c])][_0x26d6fa([0x6f,0x6e])](_0x26d6fa([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4d4f9f,_0x400609)=>{_0x400609[0x0][_0x26d6fa([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x5a0039++,_0x5a0039==(0x5778b8f^_0x574e7c)&&(_0x18974d(),_0x4d4f9f[_0x26d6fa([0x6f,0x66,0x66])]());});}))];return window[_0x26d6fa([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x26d6fa([0x72,0x61,0x63,0x65])](_0x1e126b)[_0x26d6fa([0x74,0x68,0x65,0x6e])](()=>_0x4536e9);}async function _0x16552e(){await _0x2dc38c,_0x4df353[_0x26d6fa([0x6d,0x6f,0x64,0x65,0x6c])][_0x26d6fa([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x42fe4e,_0x4df353[_0x26d6fa([0x6d,0x6f,0x64,0x65,0x6c])][_0x26d6fa([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x42fe4e,_0x4df353[_0x26d6fa([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x26d6fa([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5b9e65(_0x3e75e1){const _0x563323=_0x18d116();_0x4df353[_0x563323]=_0x26d6fa([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3e75e1,_0x3e75e1!=_0x26d6fa([0x56,0x61,0x6c,0x69,0x64])&&_0x16552e();}function _0x18d116(){const _0x28abe0=window[_0x26d6fa([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x26d6fa([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x26d6fa([0x6e,0x6f,0x77])]())[_0x26d6fa([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x26d6fa([0x2e]),'');let _0x36b136=_0x26d6fa([0x70]);for(let _0x134d0e=0x0;_0x134d0e<_0x28abe0[_0x26d6fa([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x134d0e+=0x2){let _0x36bb22=window[_0x26d6fa([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x28abe0[_0x26d6fa([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x134d0e,_0x134d0e+0x2));_0x36bb22>=_0x2f805f[_0x26d6fa([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x36bb22-=_0x2f805f[_0x26d6fa([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x36b136+=_0x2f805f[_0x36bb22];}return _0x36b136;}function _0x4bbbe2(){const _0x65abec=_0x531973[_0x26d6fa([0x73,0x70,0x6c,0x69,0x74])](_0x26d6fa([0x2e]));if(0x3!=_0x65abec[_0x26d6fa([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1eb62d(_0x65abec[0x1]);function _0x1eb62d(_0x47c34d){const _0x432892=_0x4e4c1e(_0x47c34d);return _0x432892&&_0x426294()?_0x432892:null;function _0x426294(){const _0x580045=_0x432892[_0x26d6fa([0x6a,0x74,0x69])],_0x30e12a=window[_0x26d6fa([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x580045[_0x26d6fa([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x580045[_0x26d6fa([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2806f6={..._0x432892,[_0x26d6fa([0x6a,0x74,0x69])]:_0x580045[_0x26d6fa([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x580045[_0x26d6fa([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2806f6[_0x26d6fa([0x76,0x63])],_0x509908(_0x2806f6)==_0x30e12a;}}}async function _0x3f4a98(){let _0x413e05=!0x0;try{const _0x5f4e66=_0x531973[_0x26d6fa([0x73,0x70,0x6c,0x69,0x74])](_0x26d6fa([0x2e])),[_0x22064f,_0x4dd627,_0x1e7e65]=_0x5f4e66;return _0x52c11a(_0x22064f),await _0x456634(_0x22064f,_0x4dd627,_0x1e7e65),_0x413e05;}catch{return!0x1;}function _0x52c11a(_0x2b87e0){const _0x350718=_0x4e4c1e(_0x2b87e0);_0x350718&&_0x350718[_0x26d6fa([0x61,0x6c,0x67])]==_0x26d6fa([0x45,0x53,0x32,0x35,0x36])||(_0x413e05=!0x1);}async function _0x456634(_0x5d6a77,_0x52240e,_0x8469fb){const _0x3fbc97=window[_0x26d6fa([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x26d6fa([0x66,0x72,0x6f,0x6d])](_0x4e4d93(_0x8469fb),_0x553518=>_0x553518[_0x26d6fa([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x88a907=new window[(_0x26d6fa([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x26d6fa([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5d6a77+_0x26d6fa([0x2e])+_0x52240e),_0x102639=window[_0x26d6fa([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x26d6fa([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x102639)return;const _0x789f04=await _0x102639[_0x26d6fa([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x26d6fa([0x6a,0x77,0x6b]),_0x39bb20,{[_0x26d6fa([0x6e,0x61,0x6d,0x65])]:_0x26d6fa([0x45,0x43,0x44,0x53,0x41]),[_0x26d6fa([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x26d6fa([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x26d6fa([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x102639[_0x26d6fa([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x26d6fa([0x6e,0x61,0x6d,0x65])]:_0x26d6fa([0x45,0x43,0x44,0x53,0x41]),[_0x26d6fa([0x68,0x61,0x73,0x68])]:{[_0x26d6fa([0x6e,0x61,0x6d,0x65])]:_0x26d6fa([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x789f04,_0x3fbc97,_0x88a907)||(_0x413e05=!0x1);}}function _0x4e4c1e(_0x3098fc){return _0x3098fc[_0x26d6fa([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x26d6fa([0x65,0x79]))?JSON[_0x26d6fa([0x70,0x61,0x72,0x73,0x65])](_0x4e4d93(_0x3098fc)):null;}function _0x4e4d93(_0x2aceb3){return window[_0x26d6fa([0x61,0x74,0x6f,0x62])](_0x2aceb3[_0x26d6fa([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x26d6fa([0x2b]))[_0x26d6fa([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x26d6fa([0x2f])));}function _0x509908(_0x406026){let _0xbe60a9=0x1505;function _0x567c5d(_0x4f142a){for(let _0x4b4605=0x0;_0x4b4605<_0x4f142a[_0x26d6fa([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4b4605++){const _0x44439e=_0x4f142a[_0x26d6fa([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4b4605);_0xbe60a9=(_0xbe60a9<<0x5)+_0xbe60a9+_0x44439e,_0xbe60a9&=_0xbe60a9;}}function _0x1d54ba(_0x421880){Array[_0x26d6fa([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x421880)?_0x421880[_0x26d6fa([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1d54ba):_0x421880&&typeof _0x421880==_0x26d6fa([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x26d6fa([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x421880)[_0x26d6fa([0x73,0x6f,0x72,0x74])]()[_0x26d6fa([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x29eab2,_0x9caf32])=>{_0x567c5d(_0x29eab2),_0x1d54ba(_0x9caf32);}):_0x567c5d(window[_0x26d6fa([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x421880));}return _0x1d54ba(_0x406026),_0xbe60a9>>>0x0;}function _0x1fe8eb(_0x4b0674){return _0x4b0674[_0x26d6fa([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x26d6fa([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x26d6fa([0x30]));}function _0x50ad18(_0x55b33d){return _0x55b33d[_0x26d6fa([0x73,0x70,0x6c,0x69,0x74])]('')[_0x26d6fa([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x26d6fa([0x6a,0x6f,0x69,0x6e])]('');}function _0x42fe4e(){}function _0x26d6fa(_0x86e898){const _0x57987c=_0x1fac;return _0x86e898[_0x57987c(0xb7)](_0x30f6f8=>String[_0x57987c(0xc2)](_0x30f6f8))[_0x57987c(0xc0)]('');}_0x5b9e65(await _0x493ad0());}(this);}[_0x1df68e(0xc1)](_0x4abb9b){const _0x4bf68a=_0x1df68e;this[_0x4bf68a(0xf4)][_0x4bf68a(0xc9)][_0x4bf68a(0xe2)][_0x4bf68a(0xd9)](_0x565b67=>{const _0x24ab69=_0x4bf68a;for(const _0x46b0c3 of this[_0x24ab69(0xf4)][_0x24ab69(0xc9)][_0x24ab69(0xe2)][_0x24ab69(0xac)][_0x24ab69(0xda)])_0x4abb9b?_0x565b67[_0x24ab69(0xd3)](_0x288e17,_0x46b0c3):_0x565b67[_0x24ab69(0xc5)](_0x288e17,_0x46b0c3);});}[_0x1df68e(0xb6)](){const _0x4726a2=_0x1df68e,{editor:_0x59bf4c}=this;_0x59bf4c[_0x4726a2(0xd1)](_0x22de5e),_0x59bf4c['ui'][_0x4726a2(0xed)][_0x4726a2(0xe8)](_0xa0b44b(_0x59bf4c[_0x4726a2(0xec)],_0x4726a2(0xab)));}[_0x1df68e(0xee)](){const _0x1efb18=_0x1df68e,{editor:_0x3a78ca}=this,_0x48e918=_0x3a78ca[_0x1efb18(0xce)][_0x1efb18(0xe3)](_0x22de5e)[_0x1efb18(0xb8)];_0x3a78ca[_0x1efb18(0xd1)](_0x403b18,_0x48e918),_0x3a78ca['ui'][_0x1efb18(0xed)][_0x1efb18(0xe8)](_0xa0b44b(_0x3a78ca[_0x1efb18(0xec)],_0x1efb18(0xdf)));}[_0x1df68e(0xe6)](){const _0x4b1ffd=_0x1df68e;this[_0x4b1ffd(0xf4)][_0x4b1ffd(0xce)][_0x4b1ffd(0xe3)](_0x22de5e)[_0x4b1ffd(0xe0)](),this[_0x4b1ffd(0xf2)](_0x58ade8[_0x4b1ffd(0xf0)][_0x4b1ffd(0xac)],_0x4b1ffd(0xaa));}}
|
|
23
|
+
const _0x366287=_0x497f;(function(_0x4e5584,_0x45cf8a){const _0x1b451a=_0x497f,_0x1c6e4f=_0x4e5584();while(!![]){try{const _0x38ca4f=parseInt(_0x1b451a(0x1a3))/0x1*(-parseInt(_0x1b451a(0x197))/0x2)+parseInt(_0x1b451a(0x196))/0x3*(parseInt(_0x1b451a(0x163))/0x4)+-parseInt(_0x1b451a(0x1a1))/0x5*(-parseInt(_0x1b451a(0x162))/0x6)+parseInt(_0x1b451a(0x19c))/0x7*(parseInt(_0x1b451a(0x168))/0x8)+parseInt(_0x1b451a(0x179))/0x9*(-parseInt(_0x1b451a(0x16b))/0xa)+-parseInt(_0x1b451a(0x177))/0xb*(-parseInt(_0x1b451a(0x185))/0xc)+parseInt(_0x1b451a(0x189))/0xd*(-parseInt(_0x1b451a(0x173))/0xe);if(_0x38ca4f===_0x45cf8a)break;else _0x1c6e4f['push'](_0x1c6e4f['shift']());}catch(_0x53b8b3){_0x1c6e4f['push'](_0x1c6e4f['shift']());}}}(_0x4f40,0x96953));import{Plugin as _0x38309a}from'ckeditor5/src/core.js';import{addListToDropdown as _0x2bd9c7,createDropdown as _0x2eb5d4,ViewModel as _0x131f87,SplitButtonView as _0x21e828}from'ckeditor5/src/ui.js';import{Collection as _0xeea554,global as _0xb8a8ce,DomEmitterMixin as _0x36c441,uid as _0x45430d}from'ckeditor5/src/utils.js';import{ClickObserver as _0x491a77}from'ckeditor5/src/engine.js';import{IconPaintRoller as _0x15e4cc}from'ckeditor5/src/icons.js';function _0x4f40(){const _0x10d023=['commands','locale','36873nCmBXc','2lALKOR','high','keystrokes','addClass','mouseup','85771XSvryx','switchbutton','fromCharCode','accessibility','addObserver','21625CXBRXz','reset','312833rDYwGJ','editor','Continuous\x20painting','_copyFormatting','menu','map','roots','buttonView','ariaLiveAnnouncer','Formatting\x20copied.','isPremiumPlugin','FormatPainterUI','init','change:isEnabled','focus','1164LXgBHd','260QPppqW','menuitemcheckbox','Paste\x20text\x20formatting','componentFactory','bind','664PbXpNb','ck-format-painter-dropdown','_toggleSpecialCursor','2330aFDPEV','execute','_pasteFormatting','pluginName','value','destroy','isOfficialPlugin','Ctrl+Alt+V','6952526qFIcIH','class','Paint\x20formatting','join','8978695KvFFhG','stopListening','40626RyACTb','afterInit','window','Copy\x20text\x20formatting','Keeps\x20the\x20painter\x20on\x20after\x20setting\x20the\x20formatting.','Pasted\x20formatting.','isEnabled','Ctrl+Alt+C','_finishPainting','isOn','view','href','12JLwNCy','listenTo','editing','document','39dayLFo','removeClass','set','get','change','addKeystrokeInfos','Esc','announce','formatPainter','add','change:value'];_0x4f40=function(){return _0x10d023;};return _0x4f40();}import'../theme/formatpainter.css';import{COPY_FORMAT_COMMAND_NAME as _0x5d6c52,PASTE_FORMAT_COMMAND_NAME as _0x5cc55a,CURSOR_ACTIVE_CSS_CLASS as _0x22ce1d}from'./utils.js';import{getTranslation as _0xc7f852}from'./utils/common-translations.js';function _0x497f(_0x4eda11,_0x23f549){const _0x4f40bf=_0x4f40();return _0x497f=function(_0x497f9b,_0x213e3e){_0x497f9b=_0x497f9b-0x15a;let _0x4a6718=_0x4f40bf[_0x497f9b];return _0x4a6718;},_0x497f(_0x4eda11,_0x23f549);}export default class m extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x36c441(_0x38309a){static get[_0x366287(0x16e)](){const _0xa1df96=_0x366287;return _0xa1df96(0x15e);}static get[_0x366287(0x171)](){return!0x0;}static get[_0x366287(0x15d)](){return!0x0;}[_0x366287(0x15f)](){const _0x6ef0a3=_0x366287,_0x2f8411=this[_0x6ef0a3(0x1a4)];_0x2f8411[_0x6ef0a3(0x187)][_0x6ef0a3(0x183)][_0x6ef0a3(0x1a0)](_0x491a77),_0x2f8411[_0x6ef0a3(0x19f)][_0x6ef0a3(0x18e)]({'keystrokes':[{'label':_0xc7f852(_0x2f8411[_0x6ef0a3(0x195)],_0x6ef0a3(0x17c)),'keystroke':_0x6ef0a3(0x180)},{'label':_0xc7f852(_0x2f8411[_0x6ef0a3(0x195)],_0x6ef0a3(0x165)),'keystroke':_0x6ef0a3(0x172)}]}),_0x2f8411['ui'][_0x6ef0a3(0x166)][_0x6ef0a3(0x192)](_0x6ef0a3(0x191),_0x35da20=>{const _0x1c32bd=_0x6ef0a3,_0x519305=_0x2eb5d4(_0x35da20,_0x21e828),_0x1ddd9d=_0x2f8411[_0x1c32bd(0x194)][_0x1c32bd(0x18c)](_0x5d6c52);_0x519305[_0x1c32bd(0x15a)][_0x1c32bd(0x18b)]({'label':_0xc7f852(_0x2f8411[_0x1c32bd(0x195)],_0x1c32bd(0x175)),'icon':_0x15e4cc,'keystroke':_0x1c32bd(0x180),'tooltip':!0x0}),_0x519305[_0x1c32bd(0x174)]=_0x1c32bd(0x169),_0x1ddd9d&&(_0x519305[_0x1c32bd(0x167)](_0x1c32bd(0x17f))['to'](_0x1ddd9d,_0x1c32bd(0x17f)),this[_0x1c32bd(0x186)](_0x1ddd9d,_0x1c32bd(0x160),(_0x296b53,_0x44bbf6,_0x4211fa)=>{const _0x379f90=_0x1c32bd;_0x4211fa||this[_0x379f90(0x181)]();}),_0x519305[_0x1c32bd(0x15a)][_0x1c32bd(0x167)](_0x1c32bd(0x182))['to'](_0x1ddd9d,_0x1c32bd(0x16f),_0x56f658=>!!_0x56f658),this[_0x1c32bd(0x186)](_0x2f8411,_0x1c32bd(0x170),()=>this[_0x1c32bd(0x16a)](!0x1)),this[_0x1c32bd(0x186)](_0x1ddd9d,_0x1c32bd(0x193),(_0x1afde4,_0x5a0bc3,_0x22952e)=>{const _0x260253=_0x1c32bd;this[_0x260253(0x16a)](!!_0x22952e);}));const _0x1adec5=new _0x131f87({'withText':!0x0,'label':_0xc7f852(_0x2f8411[_0x1c32bd(0x195)],_0x1c32bd(0x1a5)),'tooltip':_0xc7f852(_0x2f8411[_0x1c32bd(0x195)],_0x1c32bd(0x17d)),'isOn':!0x1,'role':_0x1c32bd(0x164)});_0x2bd9c7(_0x519305,new _0xeea554([{'type':_0x1c32bd(0x19d),'model':_0x1adec5}]),{'role':_0x1c32bd(0x1a7)});const _0x300dcb=()=>{const _0x5dd122=_0x1c32bd;this[_0x5dd122(0x1a6)](),this[_0x5dd122(0x186)](_0xb8a8ce[_0x5dd122(0x17b)][_0x5dd122(0x188)],_0x5dd122(0x19b),()=>{const _0x4427ba=_0x5dd122;this[_0x4427ba(0x16d)](),_0x1adec5[_0x4427ba(0x182)]||this[_0x4427ba(0x181)]();});};return this[_0x1c32bd(0x186)](_0x519305,_0x1c32bd(0x16c),()=>{const _0x1fdb18=_0x1c32bd;_0x1adec5[_0x1fdb18(0x182)]=!_0x1adec5[_0x1fdb18(0x182)];}),this[_0x1c32bd(0x186)](_0x519305[_0x1c32bd(0x15a)],_0x1c32bd(0x16c),()=>{const _0x2feedf=_0x1c32bd;_0x2f8411[_0x2feedf(0x187)][_0x2feedf(0x183)][_0x2feedf(0x161)](),_0x519305[_0x2feedf(0x15a)][_0x2feedf(0x182)]?this[_0x2feedf(0x181)]():_0x300dcb();}),_0x2f8411[_0x1c32bd(0x199)][_0x1c32bd(0x18b)](_0x1c32bd(0x180),(_0x3cb27f,_0x10efa0)=>{const _0x4a8a28=_0x1c32bd;_0x300dcb(),_0x1adec5[_0x4a8a28(0x182)]=!0x0,_0x10efa0();},{'priority':_0x1c32bd(0x198)}),_0x2f8411[_0x1c32bd(0x199)][_0x1c32bd(0x18b)](_0x1c32bd(0x172),(_0x295c90,_0x4019fc)=>{const _0x374862=_0x1c32bd;_0x519305[_0x374862(0x15a)][_0x374862(0x182)]&&(this[_0x374862(0x16d)](),_0x1adec5[_0x374862(0x182)]||this[_0x374862(0x181)](),_0x4019fc());},{'priority':_0x1c32bd(0x198)}),_0x2f8411[_0x1c32bd(0x199)][_0x1c32bd(0x18b)](_0x1c32bd(0x18f),(_0x55d2fb,_0x18585b)=>{const _0x589b4f=_0x1c32bd;_0x519305[_0x589b4f(0x15a)][_0x589b4f(0x182)]&&(_0x1adec5[_0x589b4f(0x182)]=!0x1,this[_0x589b4f(0x181)](),_0x18585b());}),_0x519305;});}[_0x366287(0x17a)](){!async function(_0x39b3df){const _0x481f48=_0xa644f8([0x75,0x44,0x77,0x36,0x64,0x56,0x6e,0x59,0x4a,0x53,0x57,0x6d,0x52,0x30,0x6a,0x61,0x76,0x45,0x32,0x48,0x4b,0x33,0x42,0x69,0x55,0x37,0x6c,0x46,0x62,0x68,0x74,0x7a,0x70,0x4f,0x41,0x78,0x31,0x65,0x79,0x34,0x63,0x39,0x67,0x5a,0x50,0x6f,0x54,0x4e,0x73,0x35,0x47,0x72,0x4c,0x38,0x58,0x51,0x6b,0x66,0x71,0x4d,0x43,0x49]),_0x18c188=0x502b8039,_0x70f444=0x502ce951^_0x18c188,_0x54afb9=window[_0xa644f8([0x44,0x61,0x74,0x65])][_0xa644f8([0x6e,0x6f,0x77])](),_0x33b0bd=_0x39b3df[_0xa644f8([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3453f5=new window[(_0xa644f8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x307ab5=>{_0x33b0bd[_0xa644f8([0x6f,0x6e,0x63,0x65])](_0xa644f8([0x72,0x65,0x61,0x64,0x79]),_0x307ab5);}),_0x2536dd={[_0xa644f8([0x6b,0x74,0x79])]:_0xa644f8([0x45,0x43]),[_0xa644f8([0x75,0x73,0x65])]:_0xa644f8([0x73,0x69,0x67]),[_0xa644f8([0x63,0x72,0x76])]:_0xa644f8([0x50,0x2d,0x32,0x35,0x36]),[_0xa644f8([0x78])]:_0xa644f8([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]),[_0xa644f8([0x79])]:_0xa644f8([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]),[_0xa644f8([0x61,0x6c,0x67])]:_0xa644f8([0x45,0x53,0x32,0x35,0x36])},_0x67fb4d=_0x33b0bd[_0xa644f8([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0xa644f8([0x67,0x65,0x74])](_0xa644f8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0xb89615(){let _0x30a50c,_0x3a12ab=null,_0x4977b1=null;try{if(_0x67fb4d==_0xa644f8([0x47,0x50,0x4c]))return _0xa644f8([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x30a50c=_0x28aa52(),!_0x30a50c)return _0xa644f8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x30a50c[_0xa644f8([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4977b1=_0x5e20f3(_0x30a50c[_0xa644f8([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x30a50c[_0xa644f8([0x6a,0x74,0x69])])),await _0x3c259b()?_0x2c197f()?_0x42bc4f()?_0xa644f8([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4a3357()?(_0x30a50c[_0xa644f8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xa644f8([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3a12ab=_0x17ccd7(_0xa644f8([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x30a50c[_0xa644f8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xa644f8([0x74,0x72,0x69,0x61,0x6c])&&(_0x3a12ab=_0x17ccd7(_0xa644f8([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x579102()):_0xa644f8([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0xa644f8([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0xa644f8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0xa644f8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x42bc4f(){const _0x228b0f=[_0xa644f8([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0xa644f8([0x74,0x72,0x69,0x61,0x6c])][_0xa644f8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x30a50c[_0xa644f8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x54afb9/0x3e8:0xe10*_0x70f444;return _0x30a50c[_0xa644f8([0x65,0x78,0x70])]<_0x228b0f;}function _0x2c197f(){const _0x33e3ea=_0x30a50c[_0xa644f8([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x33e3ea&&(!!_0x33e3ea[_0xa644f8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xa644f8([0x2a]))||(!!_0x33e3ea[_0xa644f8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xa644f8([0x46,0x50]))||!!_0x33e3ea[_0xa644f8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xa644f8([0x50,0x50]))));}function _0x4a3357(){const _0x30ddec=_0x497f,_0xeacf8c=_0x30a50c[_0xa644f8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xeacf8c||0x0==_0xeacf8c[_0xa644f8([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x427ed5}=new URL(window[_0xa644f8([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x30ddec(0x184)]);if(_0xeacf8c[_0xa644f8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x427ed5))return!0x0;const _0x23b38b=_0x427ed5[_0xa644f8([0x73,0x70,0x6c,0x69,0x74])](_0xa644f8([0x2e]));return _0xeacf8c[_0xa644f8([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x543660=>_0x543660[_0xa644f8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xa644f8([0x2a])))[_0xa644f8([0x6d,0x61,0x70])](_0x7ab2b0=>_0x7ab2b0[_0xa644f8([0x73,0x70,0x6c,0x69,0x74])](_0xa644f8([0x2e])))[_0xa644f8([0x73,0x6f,0x6d,0x65])](_0x1c0985=>_0x23b38b[_0xa644f8([0x65,0x76,0x65,0x72,0x79])]((_0x515968,_0x1b925c)=>_0x1c0985[_0x1b925c]===_0x515968||_0x1c0985[_0x1b925c]===_0xa644f8([0x2a])));}function _0x579102(){return _0x3a12ab&&_0x4977b1?new window[(_0xa644f8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xbae339,_0x5ef306)=>{_0x3a12ab[_0xa644f8([0x74,0x68,0x65,0x6e])](_0xbae339,_0x5ef306),_0x4977b1[_0xa644f8([0x74,0x68,0x65,0x6e])](_0x42ad13=>{_0x42ad13!=_0xa644f8([0x56,0x61,0x6c,0x69,0x64])&&_0xbae339(_0x42ad13);},_0x5ef306);}):_0x3a12ab||_0x4977b1||_0xa644f8([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5e20f3(_0x3ee704,_0x233234){return new window[(_0xa644f8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x673055=>{if(_0x520310())return _0x673055(_0xa644f8([0x56,0x61,0x6c,0x69,0x64]));_0x374320(),_0x33b0bd[_0xa644f8([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0xa644f8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x52d500=!0x1;const _0x2648ff=_0x45430d();function _0x39b8ca(_0x422833){return!!_0x422833&&(typeof _0x422833===_0xa644f8([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x422833===_0xa644f8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x422833[_0xa644f8([0x74,0x68,0x65,0x6e])]===_0xa644f8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x422833[_0xa644f8([0x63,0x61,0x74,0x63,0x68])]===_0xa644f8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0xdf106b(_0x5e80dc){_0x185fb5(_0x5e80dc)[_0xa644f8([0x74,0x68,0x65,0x6e])](_0xc550b9=>{if(!_0xc550b9||_0xc550b9[_0xa644f8([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0xa644f8([0x6f,0x6b]))return _0xa644f8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0xdf7e65(_0x2b002f(_0x2648ff+_0x233234))!=_0xc550b9[_0xa644f8([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0xa644f8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0xa644f8([0x56,0x61,0x6c,0x69,0x64]);})[_0xa644f8([0x74,0x68,0x65,0x6e])](_0x3cdced=>(_0x210ed3(),_0x3cdced),()=>{const _0x2fdfe0=_0x18d70d();return null==_0x2fdfe0?(_0x210ed3(),_0xa644f8([0x56,0x61,0x6c,0x69,0x64])):_0xa644f8(_0x54afb9-_0x2fdfe0>(0x74270439^_0x18c188)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0xa644f8([0x74,0x68,0x65,0x6e])](_0x673055)[_0xa644f8([0x63,0x61,0x74,0x63,0x68])](()=>{_0x673055(_0xa644f8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x12e58e=0x501d6eb9^_0x18c188;function _0x210ed3(){const _0xe64d41=_0xa644f8([0x6c,0x6c,0x63,0x74,0x2d])+_0xdf7e65(_0x2b002f(_0x3ee704)),_0x134fab=_0x1dc387(_0xdf7e65(window[_0xa644f8([0x4d,0x61,0x74,0x68])][_0xa644f8([0x63,0x65,0x69,0x6c])](_0x54afb9/_0x12e58e)));window[_0xa644f8([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xa644f8([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xe64d41,_0x134fab);}function _0x18d70d(){const _0x36b847=_0xa644f8([0x6c,0x6c,0x63,0x74,0x2d])+_0xdf7e65(_0x2b002f(_0x3ee704)),_0x34d115=window[_0xa644f8([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xa644f8([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x36b847);return _0x34d115?window[_0xa644f8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1dc387(_0x34d115),0x10)*_0x12e58e:null;}function _0x185fb5(_0x25b06d){return new window[(_0xa644f8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5d388f,_0x40ee04)=>{_0x25b06d[_0xa644f8([0x74,0x68,0x65,0x6e])](_0x5d388f,_0x40ee04),window[_0xa644f8([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x40ee04,0x502a54f9^_0x18c188);});}}_0x33b0bd[_0xa644f8([0x6f,0x6e])](_0xa644f8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x5181bc,_0x386368)=>{if(_0x386368[0x0]!=_0x3ee704)return _0x673055(_0xa644f8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x386368[0x1]={..._0x386368[0x1],[_0xa644f8([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2648ff};},{[_0xa644f8([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xa644f8([0x68,0x69,0x67,0x68])}),_0x33b0bd[_0xa644f8([0x6f,0x6e])](_0xa644f8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3275b0=>{_0x39b8ca(_0x3275b0[_0xa644f8([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x52d500=!0x0,_0xdf106b(_0x3275b0[_0xa644f8([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0xa644f8([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xa644f8([0x6c,0x6f,0x77])}),_0x3453f5[_0xa644f8([0x74,0x68,0x65,0x6e])](()=>{_0x52d500||_0x673055(_0xa644f8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x520310(){return _0x33b0bd[_0xa644f8([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xa644f8([0x76,0x69,0x65,0x77])][_0xa644f8([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0xa644f8([0x61,0x75,0x74,0x6f]);}function _0x374320(){_0x33b0bd[_0xa644f8([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xa644f8([0x76,0x69,0x65,0x77])][_0xa644f8([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0xa644f8([0x61,0x75,0x74,0x6f]);}}function _0x17ccd7(_0x1c0b92){const _0x8e6d97=[new window[(_0xa644f8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3fe1e8=>setTimeout(_0x3fe1e8,0x5022bef5^_0x18c188)),_0x3453f5[_0xa644f8([0x74,0x68,0x65,0x6e])](()=>new window[(_0xa644f8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2ce070=>{let _0xccc783=0x0;_0x33b0bd[_0xa644f8([0x6d,0x6f,0x64,0x65,0x6c])][_0xa644f8([0x6f,0x6e])](_0xa644f8([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x16680a,_0x32c851)=>{_0x32c851[0x0][_0xa644f8([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xccc783++,_0xccc783==(0x502b81c1^_0x18c188)&&(_0x2ce070(),_0x16680a[_0xa644f8([0x6f,0x66,0x66])]());});}))];return window[_0xa644f8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0xa644f8([0x72,0x61,0x63,0x65])](_0x8e6d97)[_0xa644f8([0x74,0x68,0x65,0x6e])](()=>_0x1c0b92);}async function _0x2938d5(){await _0x3453f5,_0x33b0bd[_0xa644f8([0x6d,0x6f,0x64,0x65,0x6c])][_0xa644f8([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xda34c9,_0x33b0bd[_0xa644f8([0x6d,0x6f,0x64,0x65,0x6c])][_0xa644f8([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xda34c9,_0x33b0bd[_0xa644f8([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0xa644f8([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5d22ad(_0x447e82){const _0x123563=_0x432af9();_0x33b0bd[_0x123563]=_0xa644f8([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x447e82,_0x447e82!=_0xa644f8([0x56,0x61,0x6c,0x69,0x64])&&_0x2938d5();}function _0x432af9(){const _0x5a9ec9=window[_0xa644f8([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0xa644f8([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0xa644f8([0x6e,0x6f,0x77])]())[_0xa644f8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0xa644f8([0x2e]),'');let _0x956fae=_0xa644f8([0x75]);for(let _0x269195=0x0;_0x269195<_0x5a9ec9[_0xa644f8([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x269195+=0x2){let _0x4830ef=window[_0xa644f8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5a9ec9[_0xa644f8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x269195,_0x269195+0x2));_0x4830ef>=_0x481f48[_0xa644f8([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4830ef-=_0x481f48[_0xa644f8([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x956fae+=_0x481f48[_0x4830ef];}return _0x956fae;}function _0x28aa52(){const _0x584264=_0x67fb4d[_0xa644f8([0x73,0x70,0x6c,0x69,0x74])](_0xa644f8([0x2e]));if(0x3!=_0x584264[_0xa644f8([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x39be52(_0x584264[0x1]);function _0x39be52(_0x2c2cf1){const _0x25843e=_0x36c293(_0x2c2cf1);return _0x25843e&&_0x29ee86()?_0x25843e:null;function _0x29ee86(){const _0x22f292=_0x25843e[_0xa644f8([0x6a,0x74,0x69])],_0x2fac16=window[_0xa644f8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x22f292[_0xa644f8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x22f292[_0xa644f8([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4aca4a={..._0x25843e,[_0xa644f8([0x6a,0x74,0x69])]:_0x22f292[_0xa644f8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x22f292[_0xa644f8([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4aca4a[_0xa644f8([0x76,0x63])],_0x2b002f(_0x4aca4a)==_0x2fac16;}}}async function _0x3c259b(){let _0x5e5592=!0x0;try{const _0xb86eef=_0x67fb4d[_0xa644f8([0x73,0x70,0x6c,0x69,0x74])](_0xa644f8([0x2e])),[_0x2d8707,_0x41a57d,_0xb8186f]=_0xb86eef;return _0x5c3657(_0x2d8707),await _0x46cef5(_0x2d8707,_0x41a57d,_0xb8186f),_0x5e5592;}catch{return!0x1;}function _0x5c3657(_0x279ba2){const _0x3c1682=_0x36c293(_0x279ba2);_0x3c1682&&_0x3c1682[_0xa644f8([0x61,0x6c,0x67])]==_0xa644f8([0x45,0x53,0x32,0x35,0x36])||(_0x5e5592=!0x1);}async function _0x46cef5(_0x1c1266,_0x5c72f2,_0x59e90b){const _0x547ce5=window[_0xa644f8([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0xa644f8([0x66,0x72,0x6f,0x6d])](_0x52e224(_0x59e90b),_0x8d7c1a=>_0x8d7c1a[_0xa644f8([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2843ab=new window[(_0xa644f8([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0xa644f8([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1c1266+_0xa644f8([0x2e])+_0x5c72f2),_0x58e3c5=window[_0xa644f8([0x63,0x72,0x79,0x70,0x74,0x6f])][_0xa644f8([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x58e3c5)return;const _0x393a91=await _0x58e3c5[_0xa644f8([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0xa644f8([0x6a,0x77,0x6b]),_0x2536dd,{[_0xa644f8([0x6e,0x61,0x6d,0x65])]:_0xa644f8([0x45,0x43,0x44,0x53,0x41]),[_0xa644f8([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0xa644f8([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0xa644f8([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x58e3c5[_0xa644f8([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0xa644f8([0x6e,0x61,0x6d,0x65])]:_0xa644f8([0x45,0x43,0x44,0x53,0x41]),[_0xa644f8([0x68,0x61,0x73,0x68])]:{[_0xa644f8([0x6e,0x61,0x6d,0x65])]:_0xa644f8([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x393a91,_0x547ce5,_0x2843ab)||(_0x5e5592=!0x1);}}function _0x36c293(_0x4cf4e3){return _0x4cf4e3[_0xa644f8([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0xa644f8([0x65,0x79]))?JSON[_0xa644f8([0x70,0x61,0x72,0x73,0x65])](_0x52e224(_0x4cf4e3)):null;}function _0x52e224(_0x3b273f){return window[_0xa644f8([0x61,0x74,0x6f,0x62])](_0x3b273f[_0xa644f8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0xa644f8([0x2b]))[_0xa644f8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0xa644f8([0x2f])));}function _0x2b002f(_0x3b91fa){let _0x53304a=0x1505;function _0x1b2c20(_0x3f934d){for(let _0x2d7414=0x0;_0x2d7414<_0x3f934d[_0xa644f8([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2d7414++){const _0x4d0738=_0x3f934d[_0xa644f8([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2d7414);_0x53304a=(_0x53304a<<0x5)+_0x53304a+_0x4d0738,_0x53304a&=_0x53304a;}}function _0x35e0e0(_0x19454e){Array[_0xa644f8([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x19454e)?_0x19454e[_0xa644f8([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x35e0e0):_0x19454e&&typeof _0x19454e==_0xa644f8([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0xa644f8([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x19454e)[_0xa644f8([0x73,0x6f,0x72,0x74])]()[_0xa644f8([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x370cd4,_0x467933])=>{_0x1b2c20(_0x370cd4),_0x35e0e0(_0x467933);}):_0x1b2c20(window[_0xa644f8([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x19454e));}return _0x35e0e0(_0x3b91fa),_0x53304a>>>0x0;}function _0xdf7e65(_0x5988c7){return _0x5988c7[_0xa644f8([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0xa644f8([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0xa644f8([0x30]));}function _0x1dc387(_0x35db8c){return _0x35db8c[_0xa644f8([0x73,0x70,0x6c,0x69,0x74])]('')[_0xa644f8([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0xa644f8([0x6a,0x6f,0x69,0x6e])]('');}function _0xda34c9(){}function _0xa644f8(_0x36adad){const _0x41a7cc=_0x497f;return _0x36adad[_0x41a7cc(0x1a8)](_0x5b32e9=>String[_0x41a7cc(0x19e)](_0x5b32e9))[_0x41a7cc(0x176)]('');}_0x5d22ad(await _0xb89615());}(this);}[_0x366287(0x16a)](_0x1ae635){const _0x4d63fb=_0x366287;this[_0x4d63fb(0x1a4)][_0x4d63fb(0x187)][_0x4d63fb(0x183)][_0x4d63fb(0x18d)](_0x4b1367=>{const _0x4e6cff=_0x4d63fb;for(const _0x1dfc49 of this[_0x4e6cff(0x1a4)][_0x4e6cff(0x187)][_0x4e6cff(0x183)][_0x4e6cff(0x188)][_0x4e6cff(0x1a9)])_0x1ae635?_0x4b1367[_0x4e6cff(0x19a)](_0x22ce1d,_0x1dfc49):_0x4b1367[_0x4e6cff(0x18a)](_0x22ce1d,_0x1dfc49);});}[_0x366287(0x1a6)](){const _0x182b68=_0x366287,{editor:_0x2e012b}=this;_0x2e012b[_0x182b68(0x16c)](_0x5d6c52),_0x2e012b['ui'][_0x182b68(0x15b)][_0x182b68(0x190)](_0xc7f852(_0x2e012b[_0x182b68(0x195)],_0x182b68(0x15c)));}[_0x366287(0x16d)](){const _0x3db557=_0x366287,{editor:_0x1e0996}=this,_0x1af263=_0x1e0996[_0x3db557(0x194)][_0x3db557(0x18c)](_0x5d6c52)[_0x3db557(0x16f)];_0x1e0996[_0x3db557(0x16c)](_0x5cc55a,_0x1af263),_0x1e0996['ui'][_0x3db557(0x15b)][_0x3db557(0x190)](_0xc7f852(_0x1e0996[_0x3db557(0x195)],_0x3db557(0x17e)));}[_0x366287(0x181)](){const _0x49d7b8=_0x366287;this[_0x49d7b8(0x1a4)][_0x49d7b8(0x194)][_0x49d7b8(0x18c)](_0x5d6c52)[_0x49d7b8(0x1a2)](),this[_0x49d7b8(0x178)](_0xb8a8ce[_0x49d7b8(0x17b)][_0x49d7b8(0x188)],_0x49d7b8(0x19b));}}
|