@ckeditor/ckeditor5-format-painter 45.2.0-alpha.3 → 45.2.0-alpha.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/format-painter.js +1 -1
- package/dist/index.js +2 -2
- package/package.json +7 -7
- package/src/formatpainterui.js +2 -2
package/build/format-painter.js
CHANGED
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
/*!
|
|
3
3
|
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
4
4
|
* For licensing, see LICENSE.md.
|
|
5
|
-
*/(()=>{var t={168:t=>{"use strict";t.exports=function(t){return t[1]}},220:t=>{"use strict";t.exports=function(t,n){return n||(n={}),t?(t=String(t.__esModule?t.default:t),/^['"].*['"]$/.test(t)&&(t=t.slice(1,-1)),n.hash&&(t+=n.hash),/["'() \t\n]|(%20)/.test(t)||n.needQuotes?'"'.concat(t.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):t):t}},237:t=>{"use strict";t.exports=CKEditor5.dll},262:t=>{"use strict";var n={};t.exports=function(t,e){var r=function(t){if(void 0===n[t]){var e=document.querySelector(t);if(window.HTMLIFrameElement&&e instanceof window.HTMLIFrameElement)try{e=e.contentDocument.head}catch(t){e=null}n[t]=e}return n[t]}(t);if(!r)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");r.appendChild(e)}},311:(t,n,e)=>{t.exports=e(237)("./src/ui.js")},355:(t,n,e)=>{t.exports=e(237)("./src/icons.js")},357:t=>{"use strict";t.exports=function(t){var n=document.createElement("style");return t.setAttributes(n,t.attributes),t.insert(n,t.options),n}},415:t=>{"use strict";t.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMCIgaGVpZ2h0PSIyMCIgZmlsbD0ibm9uZSIgdmlld0JveD0iMCAwIDMxIDIwIj48cGF0aCBmaWxsPSIjMDAwIiBkPSJNMTQgM2ExIDEgMCAwIDEgMS0xaDEwYTEgMSAwIDAgMSAxIDF2MmExIDEgMCAwIDEtMSAxSDE1YTEgMSAwIDAgMS0xLTF6Ii8+PHBhdGggZmlsbD0iIzAwMCIgZD0iTTI3IDMuMjVhMS41IDEuNSAwIDAgMSAxLjUgMS41djEuN2EyLjI1IDIuMjUgMCAwIDEtMS45MzIgMi4yMjZsLTQuNDI0LjYzMmEuNzUuNzUgMCAwIDAtLjY0NC43NDNWMTFhMSAxIDAgMCAxIDEgMXY1YTEgMSAwIDAgMS0xIDFIMjBhMSAxIDAgMCAxLTEtMXYtNWExIDEgMCAwIDEgMS0xdi0uOTVhMi4yNSAyLjI1IDAgMCAxIDEuOTMyLTIuMjI2bDQuNDI0LS42MzJBLjc1Ljc1IDAgMCAwIDI3IDYuNDQ5eiIvPjxwYXRoIGZpbGw9IiNmZmYiIGZpbGwtcnVsZT0iZXZlbm9kZCIgZD0iTTI2Ljg1NSAyLjI1SDI3YTIuNSAyLjUgMCAwIDEgMi41IDIuNXYxLjdhMy4yNSAzLjI1IDAgMCAxLTIuNzkgMy4yMTZsLTQuMjEuNjAyYTIgMiAwIDAgMSAxIDEuNzMydjVhMiAyIDAgMCAxLTIgMkgyMGEyIDIgMCAwIDEtMi0ydi01YTIgMiAwIDAgMSAxLTEuNzMydi0uMjE3QTMuMjUgMy4yNSAwIDAgMSAyMS4xMjkgN0gxNWEyIDIgMCAwIDEtMi0yVjNhMiAyIDAgMCAxIDItMmgxMGEyIDIgMCAwIDEgMS44NTUgMS4yNU0yMCAxMC4wNVYxMWExIDEgMCAwIDAtMSAxdjVhMSAxIDAgMCAwIDEgMWgxLjVhMSAxIDAgMCAwIDEtMXYtNWExIDEgMCAwIDAtMS0xdi0uOTVxMC0uMDI0LjAwMi0uMDVhLjc1Ljc1IDAgMCAxIC42NDItLjY5Mmw0LjQyNC0uNjMyQTIuMjUgMi4yNSAwIDAgMCAyOC41IDYuNDV2LTEuN2ExLjQ5NiAxLjQ5NiAwIDAgMC0xLjUtMS41djMuMmEuNzUuNzUgMCAwIDEtLjY0NC43NDJsLTQuNDI0LjYzMkEyLjI1IDIuMjUgMCAwIDAgMjAgMTAuMDVNMTUgMmExIDEgMCAwIDAtMSAxdjJhMSAxIDAgMCAwIDEgMWgxMGExIDEgMCAwIDAgMS0xVjNhMSAxIDAgMCAwLTEtMXoiIGNsaXAtcnVsZT0iZXZlbm9kZCIvPjxwYXRoIGZpbGw9IiMwMDAiIGQ9Ik0yLjUgMi41QS41LjUgMCAwIDEgMyAyaDIuNWEuNS41IDAgMCAxIC4zNTQuMTQ2bC42NDYuNjQ3LjY0Ni0uNjQ3QS41LjUgMCAwIDEgNy41IDJIMTBhLjUuNSAwIDAgMSAwIDFINy43MDdMNyAzLjcwN1YxMGguNWEuNS41IDAgMCAxIDAgMUg3djQuNzkzbC43MDcuNzA3SDEwYS41LjUgMCAwIDEgMCAxSDcuNWEuNS41IDAgMCAxLS4zNTQtLjE0NmwtLjY0Ni0uNjQ3LS42NDYuNjQ3YS41LjUgMCAwIDEtLjM1NC4xNDZIM2EuNS41IDAgMCAxIDAtMWgyLjI5M0w2IDE1Ljc5M1YxMWgtLjVhLjUuNSAwIDAgMSAwLTFINlYzLjcwN0w1LjI5MyAzSDNhLjUuNSAwIDAgMS0uNS0uNSIvPjxwYXRoIGZpbGw9IiNmZmYiIGZpbGwtcnVsZT0iZXZlbm9kZCIgZD0ibTUuNzkzIDMuNS0uNS0uNUgzYS41LjUgMCAwIDEgMC0xaDIuNWEuNS41IDAgMCAxIC4zNTQuMTQ2bC4xNDUuMTQ2LjUwMS41LjY0Ni0uNjQ2QS41LjUgMCAwIDEgNy41IDJIMTBhLjUuNSAwIDAgMSAwIDFINy43MDdMNyAzLjcwN1YxMGguNWEuNS41IDAgMCAxIDAgMUg3djQuNzkzbC43MDcuNzA3SDEwYS41LjUgMCAwIDEgMCAxSDcuNWEuNS41IDAgMCAxLS4zNTQtLjE0NmwtLjY0Ni0uNjQ3LS41LjUtLjE0Ni4xNDdhLjUuNSAwIDAgMS0uMzU0LjE0NkgzYS41LjUgMCAwIDEgMC0xaDIuMjkzTDYgMTUuNzkzVjExaC0uNWEuNS41IDAgMCAxIDAtMUg2VjMuNzA3em0tLjkxNC41TDUgNC4xMjF2NC45NjRhMS41IDEuNSAwIDAgMCAwIDIuODN2My40NjRsLS4xMjEuMTIxSDNhMS41IDEuNSAwIDAgMCAwIDNoMi41YTEuNSAxLjUgMCAwIDAgMS0uMzgyIDEuNSAxLjUgMCAwIDAgMSAuMzgySDEwYTEuNSAxLjUgMCAwIDAgMC0zSDguMTIxTDggMTUuMzc5di0zLjQ2NGExLjUgMS41IDAgMCAwIDAtMi44M1Y0LjEyMUw4LjEyMSA0SDEwYTEuNSAxLjUgMCAwIDAgMC0zSDcuNWExLjUgMS41IDAgMCAwLTEgLjM4MkExLjUgMS41IDAgMCAwIDUuNSAxSDNhMS41IDEuNSAwIDEgMCAwIDN6IiBjbGlwLXJ1bGU9ImV2ZW5vZGQiLz48L3N2Zz4="},433:t=>{"use strict";t.exports=function(t){var n=[];return n.toString=function(){return this.map((function(n){var e="",r=void 0!==n[5];return n[4]&&(e+="@supports (".concat(n[4],") {")),n[2]&&(e+="@media ".concat(n[2]," {")),r&&(e+="@layer".concat(n[5].length>0?" ".concat(n[5]):""," {")),e+=t(n),r&&(e+="}"),n[2]&&(e+="}"),n[4]&&(e+="}"),e})).join("")},n.i=function(t,e,r,i,o){"string"==typeof t&&(t=[[null,t,void 0]]);var s={};if(r)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(s[c]=!0)}for(var u=0;u<t.length;u++){var 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})();
|
|
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 M=i(l,r);r.byIndex=a,n.splice(a,0,{identifier:g,updater:M,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 l=e(584);const M=p;function d(){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(d=function(){return t})()}function p(t,n){const e=d();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())}}(d);class A extends t.Command{constructor(t){const n=p;super(t),this[n(353)]=new m(t)}[M(366)](t={}){const n=M,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)}))}[M(370)](t,n){const e=M,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{[M(366)](){const t=M,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)}}))}*[M(364)](t,n){const e=M,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)}*[M(382)](t,n){const e=M;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),x=e(355),C=e(673),j=e.n(C),L=e(545),E=e.n(L),v=e(262),b=e.n(v),T=e(667),P=e.n(T),k=e(357),U=e.n(k),z=e(655),Q={attributes:{"data-cke":!0}};Q.setAttributes=P(),Q.insert=b().bind(null,"head"),Q.domAPI=E(),Q.insertStyleElement=U();j()(z.A,Q);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 F=O;function Z(){const t=["execute","Formatting copied.","destroy","_toggleSpecialCursor","Copy text formatting","Continuous painting","editing","Keeps the painter on after setting the formatting.","isEnabled","change","reset","afterInit","get","_finishPainting","6iJtQQp","view","announce","Esc","change:isEnabled","focus","18339630jNhaTQ","menuitemcheckbox","commands","Ctrl+Alt+V","formatPainter","keystrokes","document","menu","init","switchbutton","roots","FormatPainterUI","map","removeClass","editor","join","class","componentFactory","ariaLiveAnnouncer","Pasted formatting.","mouseup","isPremiumPlugin","value","set","add","Paint formatting","Paste text formatting","Ctrl+Alt+C","pluginName","10110037IvHLUk","_copyFormatting","high","15msvZYV","fromCharCode","1425616WbQpBV","16701540JDNhMr","listenTo","stopListening","accessibility","bind","isOn","8iWOQgn","locale","addClass","_pasteFormatting","window","addKeystrokeInfos","11KJfHDd","addObserver","ck-format-painter-dropdown","change:value","href","isOfficialPlugin","26nQaFgI","buttonView","1357119SAqnas","50108NKKyVa","8ggxabQ","287635tuxWxO"];return(Z=function(){return t})()}function O(t,n){const e=Z();return(O=function(t,n){return e[t-=426]})(t,n)}!function(t){const n=O,e=t();for(;;)try{if(982492===parseInt(n(488))/1*(-parseInt(n(489))/2)+parseInt(n(464))/3*(-parseInt(n(466))/4)+-parseInt(n(490))/5*(parseInt(n(426))/6)+-parseInt(n(461))/7+parseInt(n(473))/8*(-parseInt(n(487))/9)+parseInt(n(432))/10*(parseInt(n(479))/11)+parseInt(n(467))/12*(parseInt(n(485))/13))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(Z);class _ extends((0,l.DomEmitterMixin)(t.Plugin)){static get[F(460)](){return F(443)}static get[F(484)](){return!0}static get[F(453)](){return!0}[F(440)](){const t=F,n=this[t(446)];n[t(497)][t(427)][t(480)](S.ClickObserver),n[t(470)][t(478)]({keystrokes:[{label:Y(n[t(474)],t(495)),keystroke:t(459)},{label:Y(n[t(474)],t(458)),keystroke:t(435)}]}),n.ui[t(449)][t(456)](t(436),(e=>{const r=t,i=(0,y.createDropdown)(e,y.SplitButtonView),s=n[r(434)][r(503)](o);i[r(486)][r(455)]({label:Y(n[r(474)],r(457)),icon:x.IconPaintRoller,keystroke:r(459),tooltip:!0}),i[r(448)]=r(481),s&&(i[r(471)](r(499)).to(s,r(499)),this[r(468)](s,r(430),((t,n,e)=>{e||this[r(504)]()})),i[r(486)][r(471)](r(472)).to(s,r(454),(t=>!!t)),this[r(468)](n,r(493),(()=>this[r(494)](!1))),this[r(468)](s,r(482),((t,n,e)=>{this[r(494)](!!e)})));const a=new y.ViewModel({withText:!0,label:Y(n[r(474)],r(496)),tooltip:Y(n[r(474)],r(498)),isOn:!1,role:r(433)});(0,y.addListToDropdown)(i,new l.Collection([{type:r(441),model:a}]),{role:r(439)});const c=()=>{const t=r;this[t(462)](),this[t(468)](l.global[t(477)][t(438)],t(452),(()=>{const n=t;this[n(476)](),a[n(472)]||this[n(504)]()}))};return this[r(468)](i,r(491),(()=>{const t=r;a[t(472)]=!a[t(472)]})),this[r(468)](i[r(486)],r(491),(()=>{const t=r;n[t(497)][t(427)][t(431)](),i[t(486)][t(472)]?this[t(504)]():c()})),n[r(437)][r(455)](r(459),((t,n)=>{const e=r;c(),a[e(472)]=!0,n()}),{priority:r(463)}),n[r(437)][r(455)](r(435),((t,n)=>{const e=r;i[e(486)][e(472)]&&(this[e(476)](),a[e(472)]||this[e(504)](),n())}),{priority:r(463)}),n[r(437)][r(455)](r(429),((t,n)=>{const e=r;i[e(486)][e(472)]&&(a[e(472)]=!1,this[e(504)](),n())})),i}))}[F(502)](){!async function(t){const n=d([107,116,70,112,88,100,84,118,105,74,122,85,101,83,80,54,67,82,117,76,113,121,89,52,110,51,68,56,102,49,69,97,73,57,108,120,86,55,115,109,78,104,53,81,71,98,114,48,103,119,111,106,77,75,90,66,99,65,87,79,50,72]),e=window[d([68,97,116,101])][d([110,111,119])](),r=t[d([101,100,105,116,111,114])],i=new(window[d([80,114,111,109,105,115,101])])((t=>{r[d([111,110,99,101])](d([114,101,97,100,121]),t)})),o={[d([107,116,121])]:d([69,67]),[d([117,115,101])]:d([115,105,103]),[d([99,114,118])]:d([80,45,50,53,54]),[d([120])]:d([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]),[d([121])]:d([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]),[d([97,108,103])]:d([69,83,50,53,54])},s=r[d([99,111,110,102,105,103])][d([103,101,116])](d([108,105,99,101,110,115,101,75,101,121]));function a(t){const n=[new(window[d([80,114,111,109,105,115,101])])((t=>setTimeout(t,605900))),i[d([116,104,101,110])]((()=>new(window[d([80,114,111,109,105,115,101])])((t=>{let n=0;r[d([109,111,100,101,108])][d([111,110])](d([97,112,112,108,121,79,112,101,114,97,116,105,111,110]),((e,r)=>{r[0][d([105,115,68,111,99,117,109,101,110,116,79,112,101,114,97,116,105,111,110])]&&n++,504==n&&(t(),e[d([111,102,102])]())}))}))))];return window[d([80,114,111,109,105,115,101])][d([114,97,99,101])](n)[d([116,104,101,110])]((()=>t))}function c(t){return t[d([115,116,97,114,116,115,87,105,116,104])](d([101,121]))?JSON[d([112,97,114,115,101])](u(t)):null}function u(t){return window[d([97,116,111,98])](t[d([114,101,112,108,97,99,101])](/-/g,d([43]))[d([114,101,112,108,97,99,101])](/_/g,d([47])))}function I(t){let n=5381;function e(t){for(let e=0;e<t[d([108,101,110,103,116,104])];e++){const r=t[d([99,104,97,114,67,111,100,101,65,116])](e);n=(n<<5)+n+r,n&=n}}return function t(n){Array[d([105,115,65,114,114,97,121])](n)?n[d([102,111,114,69,97,99,104])](t):n&&typeof n==d([111,98,106,101,99,116])?Object[d([101,110,116,114,105,101,115])](n)[d([115,111,114,116])]()[d([102,111,114,69,97,99,104])]((([n,r])=>{e(n),t(r)})):e(window[d([83,116,114,105,110,103])](n))}(t),n>>>0}function g(t){return t[d([116,111,83,116,114,105,110,103])](16)[d([112,97,100,83,116,97,114,116])](8,d([48]))}function f(t){return t[d([115,112,108,105,116])]("")[d([114,101,118,101,114,115,101])]()[d([106,111,105,110])]("")}function M(){}function d(t){const n=O;return t[n(444)]((t=>String[n(465)](t)))[n(447)]("")}!function(t){const e=function(){const t=window[d([83,116,114,105,110,103])](window[d([112,101,114,102,111,114,109,97,110,99,101])][d([110,111,119])]())[d([114,101,112,108,97,99,101])](d([46]),"");let e=d([107]);for(let r=0;r<t[d([108,101,110,103,116,104])];r+=2){let i=window[d([112,97,114,115,101,73,110,116])](t[d([115,117,98,115,116,114,105,110,103])](r,r+2));i>=n[d([108,101,110,103,116,104])]&&(i-=n[d([108,101,110,103,116,104])]),e+=n[i]}return e}();r[e]=d([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!=d([86,97,108,105,100])&&async function(){await i,r[d([109,111,100,101,108])][d([99,104,97,110,103,101])]=M,r[d([109,111,100,101,108])][d([101,110,113,117,101,117,101,67,104,97,110,103,101])]=M,r[d([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](d([109,111,100,101,108]))}()}(await async function(){let t,n=null,M=null;try{return s==d([71,80,76])?d([78,111,116,65,108,108,111,119,101,100]):(t=function(){const t=s[d([115,112,108,105,116])](d([46]));return 3!=t[d([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[d([106,116,105])],e=window[d([112,97,114,115,101,73,110,116])](t[d([115,117,98,115,116,114,105,110,103])](t[d([108,101,110,103,116,104])]-8),16),r={...n,[d([106,116,105])]:t[d([115,117,98,115,116,114,105,110,103])](0,t[d([108,101,110,103,116,104])]-8)};return delete r[d([118,99])],I(r)==e}}}(),t?(t[d([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(M=function(t,n){return new(window[d([80,114,111,109,105,115,101])])((a=>{if(o())return a(d([86,97,108,105,100]));s(),r[d([100,101,99,111,114,97,116,101])](d([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 M(t){return!!t&&(typeof t===d([111,98,106,101,99,116])||typeof t===d([102,117,110,99,116,105,111,110]))&&typeof t[d([116,104,101,110])]===d([102,117,110,99,116,105,111,110])&&typeof t[d([99,97,116,99,104])]===d([102,117,110,99,116,105,111,110])}function p(r){c(r)[d([116,104,101,110])]((t=>t&&t[d([115,116,97,116,117,115])]==d([111,107])?g(I(u+n))!=t[d([118,101,114,105,102,105,99,97,116,105,111,110])]?d([85,115,97,103,101,76,105,109,105,116]):d([86,97,108,105,100]):d([85,115,97,103,101,76,105,109,105,116])))[d([116,104,101,110])]((t=>(o(),t)),(()=>{const t=s();return null==t?(o(),d([86,97,108,105,100])):d(e-t>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])}))[d([116,104,101,110])](a)[d([99,97,116,99,104])]((()=>{a(d([85,115,97,103,101,76,105,109,105,116]))}));const i=36e5;function o(){const n=d([108,108,99,116,45])+g(I(t)),r=f(g(window[d([77,97,116,104])][d([99,101,105,108])](e/i)));window[d([108,111,99,97,108,83,116,111,114,97,103,101])][d([115,101,116,73,116,101,109])](n,r)}function s(){const n=d([108,108,99,116,45])+g(I(t)),e=window[d([108,111,99,97,108,83,116,111,114,97,103,101])][d([103,101,116,73,116,101,109])](n);return e?window[d([112,97,114,115,101,73,110,116])](f(e),16)*i:null}function c(t){return new(window[d([80,114,111,109,105,115,101])])(((n,e)=>{t[d([116,104,101,110])](n,e),window[d([115,101,116,84,105,109,101,111,117,116])](e,12e4)}))}}r[d([111,110])](d([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(d([85,115,97,103,101,76,105,109,105,116]));e[1]={...e[1],[d([114,101,113,117,101,115,116,73,100])]:u}}),{[d([112,114,105,111,114,105,116,121])]:d([104,105,103,104])}),r[d([111,110])](d([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),(t=>{M(t[d([114,101,116,117,114,110])])&&(c=!0,p(t[d([114,101,116,117,114,110])]))}),{[d([112,114,105,111,114,105,116,121])]:d([108,111,119])}),i[d([116,104,101,110])]((()=>{c||a(d([85,115,97,103,101,76,105,109,105,116]))}))}));function o(){return r[d([101,100,105,116,105,110,103])][d([118,105,101,119])][d([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==d([97,117,116,111])}function s(){r[d([101,100,105,116,105,110,103])][d([118,105,101,119])][d([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=d([97,117,116,111])}}(t[d([117,115,97,103,101,69,110,100,112,111,105,110,116])],t[d([106,116,105])])),await async function(){let t=!0;try{const r=s[d([115,112,108,105,116])](d([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[d([97,108,103])]==d([69,83,50,53,54])||(t=!1)}async function e(n,e,r){const i=window[d([85,105,110,116,56,65,114,114,97,121])][d([102,114,111,109])](u(r),(t=>t[d([99,104,97,114,67,111,100,101,65,116])](0))),s=(new(window[d([84,101,120,116,69,110,99,111,100,101,114])]))[d([101,110,99,111,100,101])](n+d([46])+e),a=window[d([99,114,121,112,116,111])][d([115,117,98,116,108,101])];if(!a)return;const c=await a[d([105,109,112,111,114,116,75,101,121])](d([106,119,107]),o,{[d([110,97,109,101])]:d([69,67,68,83,65]),[d([110,97,109,101,100,67,117,114,118,101])]:d([80,45,50,53,54])},!1,[d([118,101,114,105,102,121])]);await a[d([118,101,114,105,102,121])]({[d([110,97,109,101])]:d([69,67,68,83,65]),[d([104,97,115,104])]:{[d([110,97,109,101])]:d([83,72,65,45,50,53,54])}},c,i,s)||(t=!1)}}()?function(){const n=t[d([102,101,97,116,117,114,101,115])];return!(!n||!n[d([105,110,99,108,117,100,101,115])](d([42]))&&!n[d([105,110,99,108,117,100,101,115])](d([70,80]))&&!n[d([105,110,99,108,117,100,101,115])](d([80,80])))}()?function(){const n=[d([101,118,97,108,117,97,116,105,111,110]),d([116,114,105,97,108])][d([105,110,99,108,117,100,101,115])](t[d([108,105,99,101,110,115,101,84,121,112,101])])?e/1e3:1748736e3;return t[d([101,120,112])]<n}()?d([69,120,112,105,114,101,100]):function(){const n=O,e=t[d([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!e||0==e[d([108,101,110,103,116,104])])return!0;const{hostname:r}=new URL(window[d([108,111,99,97,116,105,111,110])][n(483)]);if(e[d([105,110,99,108,117,100,101,115])](r))return!0;const i=r[d([115,112,108,105,116])](d([46]));return e[d([102,105,108,116,101,114])]((t=>t[d([105,110,99,108,117,100,101,115])](d([42]))))[d([109,97,112])]((t=>t[d([115,112,108,105,116])](d([46]))))[d([115,111,109,101])]((t=>i[d([101,118,101,114,121])](((n,e)=>t[e]===n||t[e]===d([42])))))}()?(t[d([108,105,99,101,110,115,101,84,121,112,101])]==d([101,118,97,108,117,97,116,105,111,110])&&(n=a(d([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),t[d([108,105,99,101,110,115,101,84,121,112,101])]==d([116,114,105,97,108])&&(n=a(d([84,114,105,97,108,76,105,109,105,116]))),await(n&&M?new(window[d([80,114,111,109,105,115,101])])(((t,e)=>{n[d([116,104,101,110])](t,e),M[d([116,104,101,110])]((n=>{n!=d([86,97,108,105,100])&&t(n)}),e)})):n||M||d([86,97,108,105,100]))):d([68,111,109,97,105,110,76,105,109,105,116]):d([78,111,116,65,108,108,111,119,101,100]):d([73,110,118,97,108,105,100])):d([73,110,118,97,108,105,100]))}catch{return d([73,110,118,97,108,105,100])}}())}(this)}[F(494)](t){const n=F;this[n(446)][n(497)][n(427)][n(500)]((e=>{const r=n;for(const n of this[r(446)][r(497)][r(427)][r(438)][r(442)])t?e[r(475)](a,n):e[r(445)](a,n)}))}[F(462)](){const t=F,{editor:n}=this;n[t(491)](o),n.ui[t(450)][t(428)](Y(n[t(474)],t(492)))}[F(476)](){const t=F,{editor:n}=this,e=n[t(434)][t(503)](o)[t(454)];n[t(491)](s,e),n.ui[t(450)][t(428)](Y(n[t(474)],t(451)))}[F(504)](){const t=F;this[t(446)][t(434)][t(503)](o)[t(501)](),this[t(469)](l.global[t(477)][t(438)],t(452))}}var V=K;function G(){var t=["requires","3609iLSlgm","pluginName","1135242dzLypb","3119769pKeYjY","isOfficialPlugin","417102IroLso","isPremiumPlugin","8QyDOCM","21535116wQmhmT","1aQZffD","110oPysab","642169cFFHOL","FormatPainter","35WdguHn","352KiaWgm","4325888zbXDat"];return(G=function(){return t})()}function K(t,n){var e=G();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())}}(G);class W extends t.Plugin{static get[V(282)](){return[N,_]}static get[V(284)](){return V(278)}static get[V(287)](){return!0}static get[V(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})();
|
package/dist/index.js
CHANGED
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Command as
|
|
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};
|
|
23
|
+
import{Command as _0x2dbc9a,Plugin as _0x2f7339}from'@ckeditor/ckeditor5-core/dist/index.js';import{first as _0x138c23,DomEmitterMixin as _0x5600ac,Collection as _0x457475,global as _0x1b570b,uid as _0x152b78}from'@ckeditor/ckeditor5-utils/dist/index.js';import{createDropdown as _0x5e8783,SplitButtonView as _0x667a44,ViewModel as _0x2bc945,addListToDropdown as _0x5494b1}from'@ckeditor/ckeditor5-ui/dist/index.js';import{ClickObserver as _0x4b3b5b}from'@ckeditor/ckeditor5-engine/dist/index.js';import{IconPaintRoller as _0x5df863}from'@ckeditor/ckeditor5-icons/dist/index.js';const c='copyFormat',e='pasteFormat',C='ck-format-painter-active';class r extends _0x2dbc9a{constructor(_0xd7b00){super(_0xd7b00),this['value']=void 0x0,this['on']('change:isEnabled',(_0x4ef6f7,_0x51a139,_0x162394)=>{_0x162394||this['reset']();}),this['on']('change:value',()=>_0xd7b00['commands']['get'](e)['refresh']());}['execute'](){this['value']=this['_getFormattingAttributes']();}['reset'](){this['value']=void 0x0;}['_getFormattingAttributes'](){const _0x466f79=this['editor']['model'],_0x5a55ba=_0x466f79['document']['selection'];return Object['fromEntries'](Array['from'](_0x5a55ba['getAttributes']())['filter'](([_0x5977fe])=>_0x466f79['schema']['getAttributeProperties'](_0x5977fe)['isFormatting']));}}class o extends _0x2dbc9a{constructor(_0x13a79b){super(_0x13a79b),this['_removeFormatCommand']=new _(_0x13a79b);}['execute'](_0x23b8bb={}){const _0x2cf8aa=this['editor']['model'],_0x494718=_0x2cf8aa['document']['selection'],_0x4326d1=Array['from'](_0x494718['getRanges']()),_0x9f8e66=_0x494718['isCollapsed']?[this['_createRangeOnEntireWord'](_0x2cf8aa,_0x494718)]:_0x4326d1;_0x2cf8aa['change'](_0x1df070=>{_0x1df070['setSelection'](_0x9f8e66),this['_removeFormatCommand']['execute']();for(const _0x52b411 in _0x23b8bb)for(const _0x2c5c36 of _0x2cf8aa['schema']['getValidRanges'](_0x9f8e66,_0x52b411))_0x1df070['setAttribute'](_0x52b411,_0x23b8bb[_0x52b411],_0x2c5c36);_0x1df070['setSelection'](_0x4326d1);});}['_createRangeOnEntireWord'](_0x342b65,_0x2d3aeb){const _0x48b9b9=_0x342b65['createSelection'](_0x2d3aeb);_0x342b65['modifySelection'](_0x48b9b9,{'unit':'word','direction':'backward'});const _0x152673=_0x48b9b9['getFirstPosition']();_0x342b65['modifySelection'](_0x48b9b9,{'unit':'word','direction':'forward'});const _0x599b40=_0x48b9b9['getLastPosition']();return _0x342b65['createRange'](_0x152673,_0x599b40);}}class _ extends _0x2dbc9a{['execute'](){const _0x1b1b90=this['editor']['model'],_0x19f764=_0x1b1b90['schema'];_0x1b1b90['change'](_0x5048f5=>{for(const _0x4e975d of this['_getFormattingItems'](_0x1b1b90['document']['selection'],_0x19f764))if(_0x4e975d['is']('selection')){for(const _0x169d31 of this['_getFormattingAttributes'](_0x4e975d,_0x19f764))_0x5048f5['removeSelectionAttribute'](_0x169d31);}else{const _0x2328e8=_0x5048f5['createRangeOn'](_0x4e975d);for(const _0x5257a2 of this['_getFormattingAttributes'](_0x4e975d,_0x19f764))_0x5048f5['removeAttribute'](_0x5257a2,_0x2328e8);}});}*['_getFormattingItems'](_0x5d9136,_0x3c4fd2){const _0x22a5eb=_0x4b28ca=>!!_0x138c23(this['_getFormattingAttributes'](_0x4b28ca,_0x3c4fd2));for(const _0x2943e4 of _0x5d9136['getRanges']())for(const _0x1b3c9f of _0x2943e4['getItems']())!_0x3c4fd2['isBlock'](_0x1b3c9f)&&_0x22a5eb(_0x1b3c9f)&&(yield _0x1b3c9f);for(const _0x485ca0 of _0x5d9136['getSelectedBlocks']())_0x22a5eb(_0x485ca0)&&(yield _0x485ca0);_0x22a5eb(_0x5d9136)&&(yield _0x5d9136);}*['_getFormattingAttributes'](_0x414e81,_0x226fd6){for(const [_0xa0912]of _0x414e81['getAttributes']()){const _0x2fc235=_0x226fd6['getAttributeProperties'](_0xa0912);_0x2fc235&&_0x2fc235['isFormatting']&&(yield _0xa0912);}}}class a extends _0x2f7339{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FormatPainterEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x27d0a1=this['editor'];_0x27d0a1['commands']['add'](c,new r(_0x27d0a1)),_0x27d0a1['commands']['add'](e,new o(_0x27d0a1)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x17b0b2=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x4681dc;for(const _0x414b2a in _0x17b0b2){const _0x2937b3=_0x414b2a,_0x258124=_0x17b0b2[_0x2937b3];if('formatPainterLicenseKeyValid'==_0x258124||'formatPainterLicenseKeyInvalid'==_0x258124||'formatPainterLicenseKeyExpired'==_0x258124||'formatPainterLicenseKeyDomainLimit'==_0x258124||'formatPainterLicenseKeyNotAllowed'==_0x258124||'formatPainterLicenseKeyEvaluationLimit'==_0x258124||'formatPainterLicenseKeyTrialLimit'==_0x258124||'formatPainterLicenseKeyUsageLimit'==_0x258124){delete _0x17b0b2[_0x2937b3],_0x4681dc=_0x258124,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'formatPainterLicenseKeyInvalid'==_0x4681dc&&_0x17b0b2['_showLicenseError']('invalid'),'formatPainterLicenseKeyExpired'==_0x4681dc&&_0x17b0b2['_showLicenseError']('expired'),'formatPainterLicenseKeyDomainLimit'==_0x4681dc&&_0x17b0b2['_showLicenseError']('domainLimit'),'formatPainterLicenseKeyNotAllowed'==_0x4681dc&&_0x17b0b2['_showLicenseError']('featureNotAllowed','FormatPainter'),'formatPainterLicenseKeyEvaluationLimit'==_0x4681dc&&_0x17b0b2['_showLicenseError']('evaluationLimit'),'formatPainterLicenseKeyTrialLimit'==_0x4681dc&&_0x17b0b2['_showLicenseError']('trialLimit'),'formatPainterLicenseKeyUsageLimit'==_0x4681dc&&_0x17b0b2['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function b(_0x98550f,_0x4b2b9d){const t=_0x98550f['t'];switch(_0x4b2b9d){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 _0x4b2b9d;}}class m extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x5600ac(_0x2f7339){static get['pluginName'](){return'FormatPainterUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x15f0b2=this['editor'];_0x15f0b2['editing']['view']['addObserver'](_0x4b3b5b),_0x15f0b2['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':b(_0x15f0b2['locale'],'Copy\x20text\x20formatting'),'keystroke':'Ctrl+Alt+C'},{'label':b(_0x15f0b2['locale'],'Paste\x20text\x20formatting'),'keystroke':'Ctrl+Alt+V'}]}),_0x15f0b2['ui']['componentFactory']['add']('formatPainter',_0x5683be=>{const _0x1f4e83=_0x5e8783(_0x5683be,_0x667a44),_0x544dba=_0x15f0b2['commands']['get'](c);_0x1f4e83['buttonView']['set']({'label':b(_0x15f0b2['locale'],'Paint\x20formatting'),'icon':_0x5df863,'keystroke':'Ctrl+Alt+C','tooltip':!0x0}),_0x1f4e83['class']='ck-format-painter-dropdown',_0x544dba&&(_0x1f4e83['bind']('isEnabled')['to'](_0x544dba,'isEnabled'),this['listenTo'](_0x544dba,'change:isEnabled',(_0x4e9306,_0x4b82b0,_0x38a2aa)=>{_0x38a2aa||this['_finishPainting']();}),_0x1f4e83['buttonView']['bind']('isOn')['to'](_0x544dba,'value',_0x157cb2=>!!_0x157cb2),this['listenTo'](_0x15f0b2,'destroy',()=>this['_toggleSpecialCursor'](!0x1)),this['listenTo'](_0x544dba,'change:value',(_0x4c6d9c,_0xcf8335,_0x39cfaa)=>{this['_toggleSpecialCursor'](!!_0x39cfaa);}));const _0x168314=new _0x2bc945({'withText':!0x0,'label':b(_0x15f0b2['locale'],'Continuous\x20painting'),'tooltip':b(_0x15f0b2['locale'],'Keeps\x20the\x20painter\x20on\x20after\x20setting\x20the\x20formatting.'),'isOn':!0x1,'role':'menuitemcheckbox'});_0x5494b1(_0x1f4e83,new _0x457475([{'type':'switchbutton','model':_0x168314}]),{'role':'menu'});const _0x18c644=()=>{this['_copyFormatting'](),this['listenTo'](_0x1b570b['window']['document'],'mouseup',()=>{this['_pasteFormatting'](),_0x168314['isOn']||this['_finishPainting']();});};return this['listenTo'](_0x1f4e83,'execute',()=>{_0x168314['isOn']=!_0x168314['isOn'];}),this['listenTo'](_0x1f4e83['buttonView'],'execute',()=>{_0x15f0b2['editing']['view']['focus'](),_0x1f4e83['buttonView']['isOn']?this['_finishPainting']():_0x18c644();}),_0x15f0b2['keystrokes']['set']('Ctrl+Alt+C',(_0x57f2c2,_0x483241)=>{_0x18c644(),_0x168314['isOn']=!0x0,_0x483241();},{'priority':'high'}),_0x15f0b2['keystrokes']['set']('Ctrl+Alt+V',(_0x48af60,_0x5e4e99)=>{_0x1f4e83['buttonView']['isOn']&&(this['_pasteFormatting'](),_0x168314['isOn']||this['_finishPainting'](),_0x5e4e99());},{'priority':'high'}),_0x15f0b2['keystrokes']['set']('Esc',(_0x48a950,_0x114212)=>{_0x1f4e83['buttonView']['isOn']&&(_0x168314['isOn']=!0x1,this['_finishPainting'](),_0x114212());}),_0x1f4e83;});}['afterInit'](){!async function(_0x2dc54d){const _0x1e9674=_0x4e1665([0x6b,0x74,0x46,0x70,0x58,0x64,0x54,0x76,0x69,0x4a,0x7a,0x55,0x65,0x53,0x50,0x36,0x43,0x52,0x75,0x4c,0x71,0x79,0x59,0x34,0x6e,0x33,0x44,0x38,0x66,0x31,0x45,0x61,0x49,0x39,0x6c,0x78,0x56,0x37,0x73,0x6d,0x4e,0x68,0x35,0x51,0x47,0x62,0x72,0x30,0x67,0x77,0x6f,0x6a,0x4d,0x4b,0x5a,0x42,0x63,0x41,0x57,0x4f,0x32,0x48]),_0x8d8df7=0x5f6eb779,_0x1fc362=0x5f69def9^_0x8d8df7,_0x56693=window[_0x4e1665([0x44,0x61,0x74,0x65])][_0x4e1665([0x6e,0x6f,0x77])](),_0xa55707=_0x2dc54d[_0x4e1665([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x31735f=new window[(_0x4e1665([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x35551d=>{_0xa55707[_0x4e1665([0x6f,0x6e,0x63,0x65])](_0x4e1665([0x72,0x65,0x61,0x64,0x79]),_0x35551d);}),_0x8fc5c8={[_0x4e1665([0x6b,0x74,0x79])]:_0x4e1665([0x45,0x43]),[_0x4e1665([0x75,0x73,0x65])]:_0x4e1665([0x73,0x69,0x67]),[_0x4e1665([0x63,0x72,0x76])]:_0x4e1665([0x50,0x2d,0x32,0x35,0x36]),[_0x4e1665([0x78])]:_0x4e1665([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]),[_0x4e1665([0x79])]:_0x4e1665([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]),[_0x4e1665([0x61,0x6c,0x67])]:_0x4e1665([0x45,0x53,0x32,0x35,0x36])},_0x388dea=_0xa55707[_0x4e1665([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4e1665([0x67,0x65,0x74])](_0x4e1665([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x3766ac(){let _0x15fb4c,_0x3cf115=null,_0x3501b5=null;try{if(_0x388dea==_0x4e1665([0x47,0x50,0x4c]))return _0x4e1665([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x15fb4c=_0x4cb2da(),!_0x15fb4c)return _0x4e1665([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x15fb4c[_0x4e1665([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x3501b5=_0x134a23(_0x15fb4c[_0x4e1665([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x15fb4c[_0x4e1665([0x6a,0x74,0x69])])),await _0x22a387()?_0x4dbce6()?_0x2aa732()?_0x4e1665([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x569c51()?(_0x15fb4c[_0x4e1665([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4e1665([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3cf115=_0x5e618d(_0x4e1665([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x15fb4c[_0x4e1665([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4e1665([0x74,0x72,0x69,0x61,0x6c])&&(_0x3cf115=_0x5e618d(_0x4e1665([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x309224()):_0x4e1665([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4e1665([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4e1665([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x4e1665([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2aa732(){const _0xc3812c=[_0x4e1665([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4e1665([0x74,0x72,0x69,0x61,0x6c])][_0x4e1665([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x15fb4c[_0x4e1665([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x56693/0x3e8:0xe10*_0x1fc362;return _0x15fb4c[_0x4e1665([0x65,0x78,0x70])]<_0xc3812c;}function _0x4dbce6(){const _0x3fef4a=_0x15fb4c[_0x4e1665([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3fef4a&&(!!_0x3fef4a[_0x4e1665([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4e1665([0x2a]))||(!!_0x3fef4a[_0x4e1665([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4e1665([0x46,0x50]))||!!_0x3fef4a[_0x4e1665([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4e1665([0x50,0x50]))));}function _0x569c51(){const _0x301545=_0x15fb4c[_0x4e1665([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x301545||0x0==_0x301545[_0x4e1665([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x269d6a}=new URL(window[_0x4e1665([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x301545[_0x4e1665([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x269d6a))return!0x0;const _0x5d8cbe=_0x269d6a[_0x4e1665([0x73,0x70,0x6c,0x69,0x74])](_0x4e1665([0x2e]));return _0x301545[_0x4e1665([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x56f01f=>_0x56f01f[_0x4e1665([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4e1665([0x2a])))[_0x4e1665([0x6d,0x61,0x70])](_0x553866=>_0x553866[_0x4e1665([0x73,0x70,0x6c,0x69,0x74])](_0x4e1665([0x2e])))[_0x4e1665([0x73,0x6f,0x6d,0x65])](_0x1c6147=>_0x5d8cbe[_0x4e1665([0x65,0x76,0x65,0x72,0x79])]((_0x47f12c,_0x5697a0)=>_0x1c6147[_0x5697a0]===_0x47f12c||_0x1c6147[_0x5697a0]===_0x4e1665([0x2a])));}function _0x309224(){return _0x3cf115&&_0x3501b5?new window[(_0x4e1665([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4bf4b3,_0x46b3e9)=>{_0x3cf115[_0x4e1665([0x74,0x68,0x65,0x6e])](_0x4bf4b3,_0x46b3e9),_0x3501b5[_0x4e1665([0x74,0x68,0x65,0x6e])](_0x32bc7f=>{_0x32bc7f!=_0x4e1665([0x56,0x61,0x6c,0x69,0x64])&&_0x4bf4b3(_0x32bc7f);},_0x46b3e9);}):_0x3cf115||_0x3501b5||_0x4e1665([0x56,0x61,0x6c,0x69,0x64]);}}function _0x134a23(_0x137031,_0x1cbeb4){return new window[(_0x4e1665([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x205da2=>{if(_0x5c2551())return _0x205da2(_0x4e1665([0x56,0x61,0x6c,0x69,0x64]));_0x4f9f42(),_0xa55707[_0x4e1665([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4e1665([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2efd13=!0x1;const _0x162fa2=_0x152b78();function _0x1a3efa(_0x485205){return!!_0x485205&&(typeof _0x485205===_0x4e1665([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x485205===_0x4e1665([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x485205[_0x4e1665([0x74,0x68,0x65,0x6e])]===_0x4e1665([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x485205[_0x4e1665([0x63,0x61,0x74,0x63,0x68])]===_0x4e1665([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x23854f(_0x16722e){_0x44d656(_0x16722e)[_0x4e1665([0x74,0x68,0x65,0x6e])](_0x1adbbe=>{if(!_0x1adbbe||_0x1adbbe[_0x4e1665([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4e1665([0x6f,0x6b]))return _0x4e1665([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x401e3e(_0x29ff65(_0x162fa2+_0x1cbeb4))!=_0x1adbbe[_0x4e1665([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4e1665([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4e1665([0x56,0x61,0x6c,0x69,0x64]);})[_0x4e1665([0x74,0x68,0x65,0x6e])](_0x442855=>(_0x4ec931(),_0x442855),()=>{const _0x10a173=_0x357d8b();return null==_0x10a173?(_0x4ec931(),_0x4e1665([0x56,0x61,0x6c,0x69,0x64])):_0x4e1665(_0x56693-_0x10a173>(0x7b623379^_0x8d8df7)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4e1665([0x74,0x68,0x65,0x6e])](_0x205da2)[_0x4e1665([0x63,0x61,0x74,0x63,0x68])](()=>{_0x205da2(_0x4e1665([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x59d395=0x5f5859f9^_0x8d8df7;function _0x4ec931(){const _0x1a2a04=_0x4e1665([0x6c,0x6c,0x63,0x74,0x2d])+_0x401e3e(_0x29ff65(_0x137031)),_0x793985=_0x2d517a(_0x401e3e(window[_0x4e1665([0x4d,0x61,0x74,0x68])][_0x4e1665([0x63,0x65,0x69,0x6c])](_0x56693/_0x59d395)));window[_0x4e1665([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4e1665([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1a2a04,_0x793985);}function _0x357d8b(){const _0x282d6c=_0x4e1665([0x6c,0x6c,0x63,0x74,0x2d])+_0x401e3e(_0x29ff65(_0x137031)),_0x51753d=window[_0x4e1665([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4e1665([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x282d6c);return _0x51753d?window[_0x4e1665([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2d517a(_0x51753d),0x10)*_0x59d395:null;}function _0x44d656(_0x1b2b0c){return new window[(_0x4e1665([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x112be5,_0x536010)=>{_0x1b2b0c[_0x4e1665([0x74,0x68,0x65,0x6e])](_0x112be5,_0x536010),window[_0x4e1665([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x536010,0x5f6f63b9^_0x8d8df7);});}}_0xa55707[_0x4e1665([0x6f,0x6e])](_0x4e1665([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0xcf763e,_0x165a5d)=>{if(_0x165a5d[0x0]!=_0x137031)return _0x205da2(_0x4e1665([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x165a5d[0x1]={..._0x165a5d[0x1],[_0x4e1665([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x162fa2};},{[_0x4e1665([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4e1665([0x68,0x69,0x67,0x68])}),_0xa55707[_0x4e1665([0x6f,0x6e])](_0x4e1665([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0xd75113=>{_0x1a3efa(_0xd75113[_0x4e1665([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2efd13=!0x0,_0x23854f(_0xd75113[_0x4e1665([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4e1665([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4e1665([0x6c,0x6f,0x77])}),_0x31735f[_0x4e1665([0x74,0x68,0x65,0x6e])](()=>{_0x2efd13||_0x205da2(_0x4e1665([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5c2551(){return _0xa55707[_0x4e1665([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4e1665([0x76,0x69,0x65,0x77])][_0x4e1665([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4e1665([0x61,0x75,0x74,0x6f]);}function _0x4f9f42(){_0xa55707[_0x4e1665([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4e1665([0x76,0x69,0x65,0x77])][_0x4e1665([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4e1665([0x61,0x75,0x74,0x6f]);}}function _0x5e618d(_0xdcadf3){const _0x29dfea=[new window[(_0x4e1665([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x25f451=>setTimeout(_0x25f451,0x5f6789b5^_0x8d8df7)),_0x31735f[_0x4e1665([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4e1665([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x33ee94=>{let _0x4d16b8=0x0;_0xa55707[_0x4e1665([0x6d,0x6f,0x64,0x65,0x6c])][_0x4e1665([0x6f,0x6e])](_0x4e1665([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0xdf16e9,_0x5a52ab)=>{_0x5a52ab[0x0][_0x4e1665([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4d16b8++,_0x4d16b8==(0x5f6eb681^_0x8d8df7)&&(_0x33ee94(),_0xdf16e9[_0x4e1665([0x6f,0x66,0x66])]());});}))];return window[_0x4e1665([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4e1665([0x72,0x61,0x63,0x65])](_0x29dfea)[_0x4e1665([0x74,0x68,0x65,0x6e])](()=>_0xdcadf3);}async function _0x10ca9d(){await _0x31735f,_0xa55707[_0x4e1665([0x6d,0x6f,0x64,0x65,0x6c])][_0x4e1665([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x577822,_0xa55707[_0x4e1665([0x6d,0x6f,0x64,0x65,0x6c])][_0x4e1665([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x577822,_0xa55707[_0x4e1665([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4e1665([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x51c35c(_0x3edc19){const _0x56b253=_0x56d5f9();_0xa55707[_0x56b253]=_0x4e1665([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3edc19,_0x3edc19!=_0x4e1665([0x56,0x61,0x6c,0x69,0x64])&&_0x10ca9d();}function _0x56d5f9(){const _0x1600e9=window[_0x4e1665([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4e1665([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4e1665([0x6e,0x6f,0x77])]())[_0x4e1665([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4e1665([0x2e]),'');let _0x562929=_0x4e1665([0x6b]);for(let _0x183667=0x0;_0x183667<_0x1600e9[_0x4e1665([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x183667+=0x2){let _0x492cc9=window[_0x4e1665([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1600e9[_0x4e1665([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x183667,_0x183667+0x2));_0x492cc9>=_0x1e9674[_0x4e1665([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x492cc9-=_0x1e9674[_0x4e1665([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x562929+=_0x1e9674[_0x492cc9];}return _0x562929;}function _0x4cb2da(){const _0x32b529=_0x388dea[_0x4e1665([0x73,0x70,0x6c,0x69,0x74])](_0x4e1665([0x2e]));if(0x3!=_0x32b529[_0x4e1665([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x383a7a(_0x32b529[0x1]);function _0x383a7a(_0x5f091d){const _0x536c63=_0x66b0bd(_0x5f091d);return _0x536c63&&_0x6bff58()?_0x536c63:null;function _0x6bff58(){const _0x1bfc41=_0x536c63[_0x4e1665([0x6a,0x74,0x69])],_0x4481dd=window[_0x4e1665([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1bfc41[_0x4e1665([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1bfc41[_0x4e1665([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x16b3db={..._0x536c63,[_0x4e1665([0x6a,0x74,0x69])]:_0x1bfc41[_0x4e1665([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1bfc41[_0x4e1665([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x16b3db[_0x4e1665([0x76,0x63])],_0x29ff65(_0x16b3db)==_0x4481dd;}}}async function _0x22a387(){let _0x3507e8=!0x0;try{const _0x345940=_0x388dea[_0x4e1665([0x73,0x70,0x6c,0x69,0x74])](_0x4e1665([0x2e])),[_0x2a5ea2,_0x308493,_0x2aee7f]=_0x345940;return _0x4479ac(_0x2a5ea2),await _0x1c0c90(_0x2a5ea2,_0x308493,_0x2aee7f),_0x3507e8;}catch{return!0x1;}function _0x4479ac(_0x2f669e){const _0x503f02=_0x66b0bd(_0x2f669e);_0x503f02&&_0x503f02[_0x4e1665([0x61,0x6c,0x67])]==_0x4e1665([0x45,0x53,0x32,0x35,0x36])||(_0x3507e8=!0x1);}async function _0x1c0c90(_0x46b904,_0x365691,_0x245505){const _0xb64148=window[_0x4e1665([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4e1665([0x66,0x72,0x6f,0x6d])](_0x1ea2d1(_0x245505),_0x2040f5=>_0x2040f5[_0x4e1665([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2f3b7f=new window[(_0x4e1665([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4e1665([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x46b904+_0x4e1665([0x2e])+_0x365691),_0x2e5568=window[_0x4e1665([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4e1665([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2e5568)return;const _0x4aeb4f=await _0x2e5568[_0x4e1665([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4e1665([0x6a,0x77,0x6b]),_0x8fc5c8,{[_0x4e1665([0x6e,0x61,0x6d,0x65])]:_0x4e1665([0x45,0x43,0x44,0x53,0x41]),[_0x4e1665([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4e1665([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4e1665([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2e5568[_0x4e1665([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4e1665([0x6e,0x61,0x6d,0x65])]:_0x4e1665([0x45,0x43,0x44,0x53,0x41]),[_0x4e1665([0x68,0x61,0x73,0x68])]:{[_0x4e1665([0x6e,0x61,0x6d,0x65])]:_0x4e1665([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4aeb4f,_0xb64148,_0x2f3b7f)||(_0x3507e8=!0x1);}}function _0x66b0bd(_0x145ce4){return _0x145ce4[_0x4e1665([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4e1665([0x65,0x79]))?JSON[_0x4e1665([0x70,0x61,0x72,0x73,0x65])](_0x1ea2d1(_0x145ce4)):null;}function _0x1ea2d1(_0x1a02c0){return window[_0x4e1665([0x61,0x74,0x6f,0x62])](_0x1a02c0[_0x4e1665([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4e1665([0x2b]))[_0x4e1665([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4e1665([0x2f])));}function _0x29ff65(_0xb776fc){let _0x42171e=0x1505;function _0x3256f2(_0x50a9f7){for(let _0x946980=0x0;_0x946980<_0x50a9f7[_0x4e1665([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x946980++){const _0x23a10e=_0x50a9f7[_0x4e1665([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x946980);_0x42171e=(_0x42171e<<0x5)+_0x42171e+_0x23a10e,_0x42171e&=_0x42171e;}}function _0x597a5(_0x244392){Array[_0x4e1665([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x244392)?_0x244392[_0x4e1665([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x597a5):_0x244392&&typeof _0x244392==_0x4e1665([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4e1665([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x244392)[_0x4e1665([0x73,0x6f,0x72,0x74])]()[_0x4e1665([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x305893,_0x527b8b])=>{_0x3256f2(_0x305893),_0x597a5(_0x527b8b);}):_0x3256f2(window[_0x4e1665([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x244392));}return _0x597a5(_0xb776fc),_0x42171e>>>0x0;}function _0x401e3e(_0x45e97c){return _0x45e97c[_0x4e1665([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4e1665([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4e1665([0x30]));}function _0x2d517a(_0x2b99b7){return _0x2b99b7[_0x4e1665([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4e1665([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4e1665([0x6a,0x6f,0x69,0x6e])]('');}function _0x577822(){}function _0x4e1665(_0x4ae46e){return _0x4ae46e['map'](_0xab9b05=>String['fromCharCode'](_0xab9b05))['join']('');}_0x51c35c(await _0x3766ac());}(this);}['_toggleSpecialCursor'](_0x414bae){this['editor']['editing']['view']['change'](_0x56c562=>{for(const _0x3c427f of this['editor']['editing']['view']['document']['roots'])_0x414bae?_0x56c562['addClass'](C,_0x3c427f):_0x56c562['removeClass'](C,_0x3c427f);});}['_copyFormatting'](){const {editor:_0x59e180}=this;_0x59e180['execute'](c),_0x59e180['ui']['ariaLiveAnnouncer']['announce'](b(_0x59e180['locale'],'Formatting\x20copied.'));}['_pasteFormatting'](){const {editor:_0x38f685}=this,_0x8f2a8e=_0x38f685['commands']['get'](c)['value'];_0x38f685['execute'](e,_0x8f2a8e),_0x38f685['ui']['ariaLiveAnnouncer']['announce'](b(_0x38f685['locale'],'Pasted\x20formatting.'));}['_finishPainting'](){this['editor']['commands']['get'](c)['reset'](),this['stopListening'](_0x1b570b['window']['document'],'mouseup');}}class n extends _0x2f7339{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.4",
|
|
4
4
|
"description": "Format painter feature for CKEditor 5.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ckeditor",
|
|
@@ -12,12 +12,12 @@
|
|
|
12
12
|
"type": "module",
|
|
13
13
|
"main": "src/index.js",
|
|
14
14
|
"dependencies": {
|
|
15
|
-
"@ckeditor/ckeditor5-core": "45.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.4",
|
|
16
|
+
"@ckeditor/ckeditor5-engine": "45.2.0-alpha.4",
|
|
17
|
+
"@ckeditor/ckeditor5-icons": "45.2.0-alpha.4",
|
|
18
|
+
"@ckeditor/ckeditor5-ui": "45.2.0-alpha.4",
|
|
19
|
+
"@ckeditor/ckeditor5-utils": "45.2.0-alpha.4",
|
|
20
|
+
"ckeditor5": "45.2.0-alpha.4"
|
|
21
21
|
},
|
|
22
22
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
23
23
|
"author": "CKSource (http://cksource.com/)",
|
package/src/formatpainterui.js
CHANGED
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
_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));}}
|
|
23
|
+
const _0x32cf3a=_0x4c18;function _0x4ee9(){const _0x1e76f7=['execute','Formatting\x20copied.','destroy','_toggleSpecialCursor','Copy\x20text\x20formatting','Continuous\x20painting','editing','Keeps\x20the\x20painter\x20on\x20after\x20setting\x20the\x20formatting.','isEnabled','change','reset','afterInit','get','_finishPainting','6iJtQQp','view','announce','Esc','change:isEnabled','focus','18339630jNhaTQ','menuitemcheckbox','commands','Ctrl+Alt+V','formatPainter','keystrokes','document','menu','init','switchbutton','roots','FormatPainterUI','map','removeClass','editor','join','class','componentFactory','ariaLiveAnnouncer','Pasted\x20formatting.','mouseup','isPremiumPlugin','value','set','add','Paint\x20formatting','Paste\x20text\x20formatting','Ctrl+Alt+C','pluginName','10110037IvHLUk','_copyFormatting','high','15msvZYV','fromCharCode','1425616WbQpBV','16701540JDNhMr','listenTo','stopListening','accessibility','bind','isOn','8iWOQgn','locale','addClass','_pasteFormatting','window','addKeystrokeInfos','11KJfHDd','addObserver','ck-format-painter-dropdown','change:value','href','isOfficialPlugin','26nQaFgI','buttonView','1357119SAqnas','50108NKKyVa','8ggxabQ','287635tuxWxO'];_0x4ee9=function(){return _0x1e76f7;};return _0x4ee9();}(function(_0x13832b,_0x15126d){const _0x149694=_0x4c18,_0xccafee=_0x13832b();while(!![]){try{const _0x2fc3f6=parseInt(_0x149694(0x1e8))/0x1*(-parseInt(_0x149694(0x1e9))/0x2)+parseInt(_0x149694(0x1d0))/0x3*(-parseInt(_0x149694(0x1d2))/0x4)+-parseInt(_0x149694(0x1ea))/0x5*(parseInt(_0x149694(0x1aa))/0x6)+-parseInt(_0x149694(0x1cd))/0x7+parseInt(_0x149694(0x1d9))/0x8*(-parseInt(_0x149694(0x1e7))/0x9)+parseInt(_0x149694(0x1b0))/0xa*(parseInt(_0x149694(0x1df))/0xb)+parseInt(_0x149694(0x1d3))/0xc*(parseInt(_0x149694(0x1e5))/0xd);if(_0x2fc3f6===_0x15126d)break;else _0xccafee['push'](_0xccafee['shift']());}catch(_0x166960){_0xccafee['push'](_0xccafee['shift']());}}}(_0x4ee9,0xefddc));import{Plugin as _0x1b31c7}from'ckeditor5/src/core.js';import{addListToDropdown as _0x1980a0,createDropdown as _0x312afb,ViewModel as _0x30750c,SplitButtonView as _0x216de1}from'ckeditor5/src/ui.js';import{Collection as _0x375efe,global as _0x58220e,DomEmitterMixin as _0x2058e4,uid as _0x621ea6}from'ckeditor5/src/utils.js';import{ClickObserver as _0x5150cf}from'ckeditor5/src/engine.js';import{IconPaintRoller as _0x488137}from'ckeditor5/src/icons.js';import'../theme/formatpainter.css';import{COPY_FORMAT_COMMAND_NAME as _0xa01b03,PASTE_FORMAT_COMMAND_NAME as _0x2fd116,CURSOR_ACTIVE_CSS_CLASS as _0x58539a}from'./utils.js';import{getTranslation as _0x1bb876}from'./utils/common-translations.js';function _0x4c18(_0x2c51b5,_0x195af4){const _0x4ee90c=_0x4ee9();return _0x4c18=function(_0x4c1833,_0x1999f2){_0x4c1833=_0x4c1833-0x1aa;let _0xe38ff9=_0x4ee90c[_0x4c1833];return _0xe38ff9;},_0x4c18(_0x2c51b5,_0x195af4);}export default class m extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x2058e4(_0x1b31c7){static get[_0x32cf3a(0x1cc)](){const _0x196467=_0x32cf3a;return _0x196467(0x1bb);}static get[_0x32cf3a(0x1e4)](){return!0x0;}static get[_0x32cf3a(0x1c5)](){return!0x0;}[_0x32cf3a(0x1b8)](){const _0x4cda43=_0x32cf3a,_0x22dd2b=this[_0x4cda43(0x1be)];_0x22dd2b[_0x4cda43(0x1f1)][_0x4cda43(0x1ab)][_0x4cda43(0x1e0)](_0x5150cf),_0x22dd2b[_0x4cda43(0x1d6)][_0x4cda43(0x1de)]({'keystrokes':[{'label':_0x1bb876(_0x22dd2b[_0x4cda43(0x1da)],_0x4cda43(0x1ef)),'keystroke':_0x4cda43(0x1cb)},{'label':_0x1bb876(_0x22dd2b[_0x4cda43(0x1da)],_0x4cda43(0x1ca)),'keystroke':_0x4cda43(0x1b3)}]}),_0x22dd2b['ui'][_0x4cda43(0x1c1)][_0x4cda43(0x1c8)](_0x4cda43(0x1b4),_0x10781d=>{const _0x3b9edd=_0x4cda43,_0x5d535b=_0x312afb(_0x10781d,_0x216de1),_0x15b9cc=_0x22dd2b[_0x3b9edd(0x1b2)][_0x3b9edd(0x1f7)](_0xa01b03);_0x5d535b[_0x3b9edd(0x1e6)][_0x3b9edd(0x1c7)]({'label':_0x1bb876(_0x22dd2b[_0x3b9edd(0x1da)],_0x3b9edd(0x1c9)),'icon':_0x488137,'keystroke':_0x3b9edd(0x1cb),'tooltip':!0x0}),_0x5d535b[_0x3b9edd(0x1c0)]=_0x3b9edd(0x1e1),_0x15b9cc&&(_0x5d535b[_0x3b9edd(0x1d7)](_0x3b9edd(0x1f3))['to'](_0x15b9cc,_0x3b9edd(0x1f3)),this[_0x3b9edd(0x1d4)](_0x15b9cc,_0x3b9edd(0x1ae),(_0x5c98a2,_0x49d7ff,_0x249157)=>{const _0x2b0a2f=_0x3b9edd;_0x249157||this[_0x2b0a2f(0x1f8)]();}),_0x5d535b[_0x3b9edd(0x1e6)][_0x3b9edd(0x1d7)](_0x3b9edd(0x1d8))['to'](_0x15b9cc,_0x3b9edd(0x1c6),_0x268946=>!!_0x268946),this[_0x3b9edd(0x1d4)](_0x22dd2b,_0x3b9edd(0x1ed),()=>this[_0x3b9edd(0x1ee)](!0x1)),this[_0x3b9edd(0x1d4)](_0x15b9cc,_0x3b9edd(0x1e2),(_0x41fce0,_0x557549,_0x8c9cf)=>{const _0x577d62=_0x3b9edd;this[_0x577d62(0x1ee)](!!_0x8c9cf);}));const _0x41f9ff=new _0x30750c({'withText':!0x0,'label':_0x1bb876(_0x22dd2b[_0x3b9edd(0x1da)],_0x3b9edd(0x1f0)),'tooltip':_0x1bb876(_0x22dd2b[_0x3b9edd(0x1da)],_0x3b9edd(0x1f2)),'isOn':!0x1,'role':_0x3b9edd(0x1b1)});_0x1980a0(_0x5d535b,new _0x375efe([{'type':_0x3b9edd(0x1b9),'model':_0x41f9ff}]),{'role':_0x3b9edd(0x1b7)});const _0x14bf65=()=>{const _0x36fa26=_0x3b9edd;this[_0x36fa26(0x1ce)](),this[_0x36fa26(0x1d4)](_0x58220e[_0x36fa26(0x1dd)][_0x36fa26(0x1b6)],_0x36fa26(0x1c4),()=>{const _0x3a8833=_0x36fa26;this[_0x3a8833(0x1dc)](),_0x41f9ff[_0x3a8833(0x1d8)]||this[_0x3a8833(0x1f8)]();});};return this[_0x3b9edd(0x1d4)](_0x5d535b,_0x3b9edd(0x1eb),()=>{const _0x196d26=_0x3b9edd;_0x41f9ff[_0x196d26(0x1d8)]=!_0x41f9ff[_0x196d26(0x1d8)];}),this[_0x3b9edd(0x1d4)](_0x5d535b[_0x3b9edd(0x1e6)],_0x3b9edd(0x1eb),()=>{const _0x1fed4e=_0x3b9edd;_0x22dd2b[_0x1fed4e(0x1f1)][_0x1fed4e(0x1ab)][_0x1fed4e(0x1af)](),_0x5d535b[_0x1fed4e(0x1e6)][_0x1fed4e(0x1d8)]?this[_0x1fed4e(0x1f8)]():_0x14bf65();}),_0x22dd2b[_0x3b9edd(0x1b5)][_0x3b9edd(0x1c7)](_0x3b9edd(0x1cb),(_0x44212e,_0x73d694)=>{const _0x39b6d1=_0x3b9edd;_0x14bf65(),_0x41f9ff[_0x39b6d1(0x1d8)]=!0x0,_0x73d694();},{'priority':_0x3b9edd(0x1cf)}),_0x22dd2b[_0x3b9edd(0x1b5)][_0x3b9edd(0x1c7)](_0x3b9edd(0x1b3),(_0x105fb8,_0x20573a)=>{const _0x2e7268=_0x3b9edd;_0x5d535b[_0x2e7268(0x1e6)][_0x2e7268(0x1d8)]&&(this[_0x2e7268(0x1dc)](),_0x41f9ff[_0x2e7268(0x1d8)]||this[_0x2e7268(0x1f8)](),_0x20573a());},{'priority':_0x3b9edd(0x1cf)}),_0x22dd2b[_0x3b9edd(0x1b5)][_0x3b9edd(0x1c7)](_0x3b9edd(0x1ad),(_0x15f905,_0x97dc65)=>{const _0x5de519=_0x3b9edd;_0x5d535b[_0x5de519(0x1e6)][_0x5de519(0x1d8)]&&(_0x41f9ff[_0x5de519(0x1d8)]=!0x1,this[_0x5de519(0x1f8)](),_0x97dc65());}),_0x5d535b;});}[_0x32cf3a(0x1f6)](){!async function(_0x56a0f3){const _0x18ec82=_0x2a2263([0x6b,0x74,0x46,0x70,0x58,0x64,0x54,0x76,0x69,0x4a,0x7a,0x55,0x65,0x53,0x50,0x36,0x43,0x52,0x75,0x4c,0x71,0x79,0x59,0x34,0x6e,0x33,0x44,0x38,0x66,0x31,0x45,0x61,0x49,0x39,0x6c,0x78,0x56,0x37,0x73,0x6d,0x4e,0x68,0x35,0x51,0x47,0x62,0x72,0x30,0x67,0x77,0x6f,0x6a,0x4d,0x4b,0x5a,0x42,0x63,0x41,0x57,0x4f,0x32,0x48]),_0x2b829b=0x5f6eb779,_0x1ef35b=0x5f69def9^_0x2b829b,_0x4d5eb2=window[_0x2a2263([0x44,0x61,0x74,0x65])][_0x2a2263([0x6e,0x6f,0x77])](),_0xba1b25=_0x56a0f3[_0x2a2263([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x42120b=new window[(_0x2a2263([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x216edc=>{_0xba1b25[_0x2a2263([0x6f,0x6e,0x63,0x65])](_0x2a2263([0x72,0x65,0x61,0x64,0x79]),_0x216edc);}),_0x287af0={[_0x2a2263([0x6b,0x74,0x79])]:_0x2a2263([0x45,0x43]),[_0x2a2263([0x75,0x73,0x65])]:_0x2a2263([0x73,0x69,0x67]),[_0x2a2263([0x63,0x72,0x76])]:_0x2a2263([0x50,0x2d,0x32,0x35,0x36]),[_0x2a2263([0x78])]:_0x2a2263([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]),[_0x2a2263([0x79])]:_0x2a2263([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]),[_0x2a2263([0x61,0x6c,0x67])]:_0x2a2263([0x45,0x53,0x32,0x35,0x36])},_0x44199b=_0xba1b25[_0x2a2263([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2a2263([0x67,0x65,0x74])](_0x2a2263([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x3ca3e3(){let _0xe4abd6,_0xb4a99=null,_0x5bd792=null;try{if(_0x44199b==_0x2a2263([0x47,0x50,0x4c]))return _0x2a2263([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0xe4abd6=_0x10d46f(),!_0xe4abd6)return _0x2a2263([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0xe4abd6[_0x2a2263([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5bd792=_0x349bcc(_0xe4abd6[_0x2a2263([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0xe4abd6[_0x2a2263([0x6a,0x74,0x69])])),await _0x16b64f()?_0x42cf07()?_0x3d17dd()?_0x2a2263([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x18fe90()?(_0xe4abd6[_0x2a2263([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2a2263([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0xb4a99=_0x543ad3(_0x2a2263([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0xe4abd6[_0x2a2263([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2a2263([0x74,0x72,0x69,0x61,0x6c])&&(_0xb4a99=_0x543ad3(_0x2a2263([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x5436a7()):_0x2a2263([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2a2263([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2a2263([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2a2263([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x3d17dd(){const _0x2e33d0=[_0x2a2263([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2a2263([0x74,0x72,0x69,0x61,0x6c])][_0x2a2263([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xe4abd6[_0x2a2263([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x4d5eb2/0x3e8:0xe10*_0x1ef35b;return _0xe4abd6[_0x2a2263([0x65,0x78,0x70])]<_0x2e33d0;}function _0x42cf07(){const _0x1d9346=_0xe4abd6[_0x2a2263([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x1d9346&&(!!_0x1d9346[_0x2a2263([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2a2263([0x2a]))||(!!_0x1d9346[_0x2a2263([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2a2263([0x46,0x50]))||!!_0x1d9346[_0x2a2263([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2a2263([0x50,0x50]))));}function _0x18fe90(){const _0x4c6136=_0x4c18,_0x326509=_0xe4abd6[_0x2a2263([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x326509||0x0==_0x326509[_0x2a2263([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x22f9f0}=new URL(window[_0x2a2263([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x4c6136(0x1e3)]);if(_0x326509[_0x2a2263([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x22f9f0))return!0x0;const _0x2a7a1a=_0x22f9f0[_0x2a2263([0x73,0x70,0x6c,0x69,0x74])](_0x2a2263([0x2e]));return _0x326509[_0x2a2263([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xaca1ee=>_0xaca1ee[_0x2a2263([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2a2263([0x2a])))[_0x2a2263([0x6d,0x61,0x70])](_0x5b6ae3=>_0x5b6ae3[_0x2a2263([0x73,0x70,0x6c,0x69,0x74])](_0x2a2263([0x2e])))[_0x2a2263([0x73,0x6f,0x6d,0x65])](_0x49c189=>_0x2a7a1a[_0x2a2263([0x65,0x76,0x65,0x72,0x79])]((_0x5669f9,_0x4b4dfd)=>_0x49c189[_0x4b4dfd]===_0x5669f9||_0x49c189[_0x4b4dfd]===_0x2a2263([0x2a])));}function _0x5436a7(){return _0xb4a99&&_0x5bd792?new window[(_0x2a2263([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3f66ba,_0x3b6af4)=>{_0xb4a99[_0x2a2263([0x74,0x68,0x65,0x6e])](_0x3f66ba,_0x3b6af4),_0x5bd792[_0x2a2263([0x74,0x68,0x65,0x6e])](_0x3aa4ad=>{_0x3aa4ad!=_0x2a2263([0x56,0x61,0x6c,0x69,0x64])&&_0x3f66ba(_0x3aa4ad);},_0x3b6af4);}):_0xb4a99||_0x5bd792||_0x2a2263([0x56,0x61,0x6c,0x69,0x64]);}}function _0x349bcc(_0x55ca24,_0x459fee){return new window[(_0x2a2263([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xe36fc=>{if(_0x31d534())return _0xe36fc(_0x2a2263([0x56,0x61,0x6c,0x69,0x64]));_0x20b12d(),_0xba1b25[_0x2a2263([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2a2263([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x5b5e5c=!0x1;const _0x29b638=_0x621ea6();function _0xcfdf6c(_0x12bd91){return!!_0x12bd91&&(typeof _0x12bd91===_0x2a2263([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x12bd91===_0x2a2263([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x12bd91[_0x2a2263([0x74,0x68,0x65,0x6e])]===_0x2a2263([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x12bd91[_0x2a2263([0x63,0x61,0x74,0x63,0x68])]===_0x2a2263([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3dcdd8(_0x34d365){_0x59178b(_0x34d365)[_0x2a2263([0x74,0x68,0x65,0x6e])](_0x534915=>{if(!_0x534915||_0x534915[_0x2a2263([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2a2263([0x6f,0x6b]))return _0x2a2263([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x364200(_0x54b28d(_0x29b638+_0x459fee))!=_0x534915[_0x2a2263([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2a2263([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2a2263([0x56,0x61,0x6c,0x69,0x64]);})[_0x2a2263([0x74,0x68,0x65,0x6e])](_0x5c1f91=>(_0xb106a4(),_0x5c1f91),()=>{const _0x1ddb92=_0x188808();return null==_0x1ddb92?(_0xb106a4(),_0x2a2263([0x56,0x61,0x6c,0x69,0x64])):_0x2a2263(_0x4d5eb2-_0x1ddb92>(0x7b623379^_0x2b829b)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2a2263([0x74,0x68,0x65,0x6e])](_0xe36fc)[_0x2a2263([0x63,0x61,0x74,0x63,0x68])](()=>{_0xe36fc(_0x2a2263([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x4e65b2=0x5f5859f9^_0x2b829b;function _0xb106a4(){const _0x181faa=_0x2a2263([0x6c,0x6c,0x63,0x74,0x2d])+_0x364200(_0x54b28d(_0x55ca24)),_0x5f0a04=_0x345976(_0x364200(window[_0x2a2263([0x4d,0x61,0x74,0x68])][_0x2a2263([0x63,0x65,0x69,0x6c])](_0x4d5eb2/_0x4e65b2)));window[_0x2a2263([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2a2263([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x181faa,_0x5f0a04);}function _0x188808(){const _0x24c386=_0x2a2263([0x6c,0x6c,0x63,0x74,0x2d])+_0x364200(_0x54b28d(_0x55ca24)),_0x51646e=window[_0x2a2263([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2a2263([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x24c386);return _0x51646e?window[_0x2a2263([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x345976(_0x51646e),0x10)*_0x4e65b2:null;}function _0x59178b(_0xb75fea){return new window[(_0x2a2263([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3396b9,_0x5b602e)=>{_0xb75fea[_0x2a2263([0x74,0x68,0x65,0x6e])](_0x3396b9,_0x5b602e),window[_0x2a2263([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5b602e,0x5f6f63b9^_0x2b829b);});}}_0xba1b25[_0x2a2263([0x6f,0x6e])](_0x2a2263([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x127c72,_0x49481a)=>{if(_0x49481a[0x0]!=_0x55ca24)return _0xe36fc(_0x2a2263([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x49481a[0x1]={..._0x49481a[0x1],[_0x2a2263([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x29b638};},{[_0x2a2263([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2a2263([0x68,0x69,0x67,0x68])}),_0xba1b25[_0x2a2263([0x6f,0x6e])](_0x2a2263([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5a1fac=>{_0xcfdf6c(_0x5a1fac[_0x2a2263([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x5b5e5c=!0x0,_0x3dcdd8(_0x5a1fac[_0x2a2263([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2a2263([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2a2263([0x6c,0x6f,0x77])}),_0x42120b[_0x2a2263([0x74,0x68,0x65,0x6e])](()=>{_0x5b5e5c||_0xe36fc(_0x2a2263([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x31d534(){return _0xba1b25[_0x2a2263([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2a2263([0x76,0x69,0x65,0x77])][_0x2a2263([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2a2263([0x61,0x75,0x74,0x6f]);}function _0x20b12d(){_0xba1b25[_0x2a2263([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2a2263([0x76,0x69,0x65,0x77])][_0x2a2263([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2a2263([0x61,0x75,0x74,0x6f]);}}function _0x543ad3(_0x31f706){const _0x296310=[new window[(_0x2a2263([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x284438=>setTimeout(_0x284438,0x5f6789b5^_0x2b829b)),_0x42120b[_0x2a2263([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2a2263([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1dc46f=>{let _0x3b0485=0x0;_0xba1b25[_0x2a2263([0x6d,0x6f,0x64,0x65,0x6c])][_0x2a2263([0x6f,0x6e])](_0x2a2263([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4b7dcf,_0x40898c)=>{_0x40898c[0x0][_0x2a2263([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3b0485++,_0x3b0485==(0x5f6eb681^_0x2b829b)&&(_0x1dc46f(),_0x4b7dcf[_0x2a2263([0x6f,0x66,0x66])]());});}))];return window[_0x2a2263([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2a2263([0x72,0x61,0x63,0x65])](_0x296310)[_0x2a2263([0x74,0x68,0x65,0x6e])](()=>_0x31f706);}async function _0x92e450(){await _0x42120b,_0xba1b25[_0x2a2263([0x6d,0x6f,0x64,0x65,0x6c])][_0x2a2263([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x13bc0b,_0xba1b25[_0x2a2263([0x6d,0x6f,0x64,0x65,0x6c])][_0x2a2263([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x13bc0b,_0xba1b25[_0x2a2263([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2a2263([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x598be7(_0x462a48){const _0x86ccb8=_0x6c08ae();_0xba1b25[_0x86ccb8]=_0x2a2263([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x462a48,_0x462a48!=_0x2a2263([0x56,0x61,0x6c,0x69,0x64])&&_0x92e450();}function _0x6c08ae(){const _0x294442=window[_0x2a2263([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2a2263([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2a2263([0x6e,0x6f,0x77])]())[_0x2a2263([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2a2263([0x2e]),'');let _0x537698=_0x2a2263([0x6b]);for(let _0x4a245f=0x0;_0x4a245f<_0x294442[_0x2a2263([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4a245f+=0x2){let _0x384895=window[_0x2a2263([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x294442[_0x2a2263([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4a245f,_0x4a245f+0x2));_0x384895>=_0x18ec82[_0x2a2263([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x384895-=_0x18ec82[_0x2a2263([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x537698+=_0x18ec82[_0x384895];}return _0x537698;}function _0x10d46f(){const _0x51660b=_0x44199b[_0x2a2263([0x73,0x70,0x6c,0x69,0x74])](_0x2a2263([0x2e]));if(0x3!=_0x51660b[_0x2a2263([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x69b080(_0x51660b[0x1]);function _0x69b080(_0x23b46d){const _0x12a496=_0x23f7f3(_0x23b46d);return _0x12a496&&_0x53144c()?_0x12a496:null;function _0x53144c(){const _0x4854fb=_0x12a496[_0x2a2263([0x6a,0x74,0x69])],_0x335829=window[_0x2a2263([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4854fb[_0x2a2263([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4854fb[_0x2a2263([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0xfc610a={..._0x12a496,[_0x2a2263([0x6a,0x74,0x69])]:_0x4854fb[_0x2a2263([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4854fb[_0x2a2263([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0xfc610a[_0x2a2263([0x76,0x63])],_0x54b28d(_0xfc610a)==_0x335829;}}}async function _0x16b64f(){let _0x583d4f=!0x0;try{const _0x5946c8=_0x44199b[_0x2a2263([0x73,0x70,0x6c,0x69,0x74])](_0x2a2263([0x2e])),[_0x5cc0f2,_0x57174b,_0x2db9c6]=_0x5946c8;return _0x24345e(_0x5cc0f2),await _0x382c6d(_0x5cc0f2,_0x57174b,_0x2db9c6),_0x583d4f;}catch{return!0x1;}function _0x24345e(_0xc107a9){const _0x10655c=_0x23f7f3(_0xc107a9);_0x10655c&&_0x10655c[_0x2a2263([0x61,0x6c,0x67])]==_0x2a2263([0x45,0x53,0x32,0x35,0x36])||(_0x583d4f=!0x1);}async function _0x382c6d(_0x9097e9,_0x1eb738,_0x22be46){const _0x3e3c73=window[_0x2a2263([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2a2263([0x66,0x72,0x6f,0x6d])](_0x524d6b(_0x22be46),_0x4abdb2=>_0x4abdb2[_0x2a2263([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2edec9=new window[(_0x2a2263([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2a2263([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x9097e9+_0x2a2263([0x2e])+_0x1eb738),_0x58a260=window[_0x2a2263([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2a2263([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x58a260)return;const _0x17eb61=await _0x58a260[_0x2a2263([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2a2263([0x6a,0x77,0x6b]),_0x287af0,{[_0x2a2263([0x6e,0x61,0x6d,0x65])]:_0x2a2263([0x45,0x43,0x44,0x53,0x41]),[_0x2a2263([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2a2263([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2a2263([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x58a260[_0x2a2263([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2a2263([0x6e,0x61,0x6d,0x65])]:_0x2a2263([0x45,0x43,0x44,0x53,0x41]),[_0x2a2263([0x68,0x61,0x73,0x68])]:{[_0x2a2263([0x6e,0x61,0x6d,0x65])]:_0x2a2263([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x17eb61,_0x3e3c73,_0x2edec9)||(_0x583d4f=!0x1);}}function _0x23f7f3(_0x4c1979){return _0x4c1979[_0x2a2263([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2a2263([0x65,0x79]))?JSON[_0x2a2263([0x70,0x61,0x72,0x73,0x65])](_0x524d6b(_0x4c1979)):null;}function _0x524d6b(_0xecddfc){return window[_0x2a2263([0x61,0x74,0x6f,0x62])](_0xecddfc[_0x2a2263([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2a2263([0x2b]))[_0x2a2263([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2a2263([0x2f])));}function _0x54b28d(_0x3a8812){let _0xad668c=0x1505;function _0x2c3e4a(_0x38eac6){for(let _0xffbd4e=0x0;_0xffbd4e<_0x38eac6[_0x2a2263([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xffbd4e++){const _0x4d5198=_0x38eac6[_0x2a2263([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0xffbd4e);_0xad668c=(_0xad668c<<0x5)+_0xad668c+_0x4d5198,_0xad668c&=_0xad668c;}}function _0xd65643(_0x540428){Array[_0x2a2263([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x540428)?_0x540428[_0x2a2263([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xd65643):_0x540428&&typeof _0x540428==_0x2a2263([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2a2263([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x540428)[_0x2a2263([0x73,0x6f,0x72,0x74])]()[_0x2a2263([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x1ec886,_0x270700])=>{_0x2c3e4a(_0x1ec886),_0xd65643(_0x270700);}):_0x2c3e4a(window[_0x2a2263([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x540428));}return _0xd65643(_0x3a8812),_0xad668c>>>0x0;}function _0x364200(_0x427c89){return _0x427c89[_0x2a2263([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2a2263([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2a2263([0x30]));}function _0x345976(_0x475f38){return _0x475f38[_0x2a2263([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2a2263([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2a2263([0x6a,0x6f,0x69,0x6e])]('');}function _0x13bc0b(){}function _0x2a2263(_0xbe55f0){const _0x4461a8=_0x4c18;return _0xbe55f0[_0x4461a8(0x1bc)](_0x4fe641=>String[_0x4461a8(0x1d1)](_0x4fe641))[_0x4461a8(0x1bf)]('');}_0x598be7(await _0x3ca3e3());}(this);}[_0x32cf3a(0x1ee)](_0x549f01){const _0x2a4425=_0x32cf3a;this[_0x2a4425(0x1be)][_0x2a4425(0x1f1)][_0x2a4425(0x1ab)][_0x2a4425(0x1f4)](_0x42c34d=>{const _0x4764f3=_0x2a4425;for(const _0x134065 of this[_0x4764f3(0x1be)][_0x4764f3(0x1f1)][_0x4764f3(0x1ab)][_0x4764f3(0x1b6)][_0x4764f3(0x1ba)])_0x549f01?_0x42c34d[_0x4764f3(0x1db)](_0x58539a,_0x134065):_0x42c34d[_0x4764f3(0x1bd)](_0x58539a,_0x134065);});}[_0x32cf3a(0x1ce)](){const _0x17726a=_0x32cf3a,{editor:_0xc4d5a6}=this;_0xc4d5a6[_0x17726a(0x1eb)](_0xa01b03),_0xc4d5a6['ui'][_0x17726a(0x1c2)][_0x17726a(0x1ac)](_0x1bb876(_0xc4d5a6[_0x17726a(0x1da)],_0x17726a(0x1ec)));}[_0x32cf3a(0x1dc)](){const _0x1fb7b2=_0x32cf3a,{editor:_0x3ef080}=this,_0x993571=_0x3ef080[_0x1fb7b2(0x1b2)][_0x1fb7b2(0x1f7)](_0xa01b03)[_0x1fb7b2(0x1c6)];_0x3ef080[_0x1fb7b2(0x1eb)](_0x2fd116,_0x993571),_0x3ef080['ui'][_0x1fb7b2(0x1c2)][_0x1fb7b2(0x1ac)](_0x1bb876(_0x3ef080[_0x1fb7b2(0x1da)],_0x1fb7b2(0x1c3)));}[_0x32cf3a(0x1f8)](){const _0x4b709f=_0x32cf3a;this[_0x4b709f(0x1be)][_0x4b709f(0x1b2)][_0x4b709f(0x1f7)](_0xa01b03)[_0x4b709f(0x1f5)](),this[_0x4b709f(0x1d5)](_0x58220e[_0x4b709f(0x1dd)][_0x4b709f(0x1b6)],_0x4b709f(0x1c4));}}
|