@ckeditor/ckeditor5-format-painter 45.2.0-alpha.2 → 45.2.0-alpha.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/format-painter.js +1 -1
- package/dist/index.js +2 -2
- package/package.json +7 -7
- package/src/formatpainterui.js +2 -2
package/build/format-painter.js
CHANGED
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
/*!
|
|
3
3
|
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
4
4
|
* For licensing, see LICENSE.md.
|
|
5
|
-
*/(()=>{var t={168:t=>{"use strict";t.exports=function(t){return t[1]}},220:t=>{"use strict";t.exports=function(t,n){return n||(n={}),t?(t=String(t.__esModule?t.default:t),/^['"].*['"]$/.test(t)&&(t=t.slice(1,-1)),n.hash&&(t+=n.hash),/["'() \t\n]|(%20)/.test(t)||n.needQuotes?'"'.concat(t.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):t):t}},237:t=>{"use strict";t.exports=CKEditor5.dll},262:t=>{"use strict";var n={};t.exports=function(t,e){var r=function(t){if(void 0===n[t]){var e=document.querySelector(t);if(window.HTMLIFrameElement&&e instanceof window.HTMLIFrameElement)try{e=e.contentDocument.head}catch(t){e=null}n[t]=e}return n[t]}(t);if(!r)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");r.appendChild(e)}},311:(t,n,e)=>{t.exports=e(237)("./src/ui.js")},355:(t,n,e)=>{t.exports=e(237)("./src/icons.js")},357:t=>{"use strict";t.exports=function(t){var n=document.createElement("style");return t.setAttributes(n,t.attributes),t.insert(n,t.options),n}},415:t=>{"use strict";t.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMCIgaGVpZ2h0PSIyMCIgZmlsbD0ibm9uZSIgdmlld0JveD0iMCAwIDMxIDIwIj48cGF0aCBmaWxsPSIjMDAwIiBkPSJNMTQgM2ExIDEgMCAwIDEgMS0xaDEwYTEgMSAwIDAgMSAxIDF2MmExIDEgMCAwIDEtMSAxSDE1YTEgMSAwIDAgMS0xLTF6Ii8+PHBhdGggZmlsbD0iIzAwMCIgZD0iTTI3IDMuMjVhMS41IDEuNSAwIDAgMSAxLjUgMS41djEuN2EyLjI1IDIuMjUgMCAwIDEtMS45MzIgMi4yMjZsLTQuNDI0LjYzMmEuNzUuNzUgMCAwIDAtLjY0NC43NDNWMTFhMSAxIDAgMCAxIDEgMXY1YTEgMSAwIDAgMS0xIDFIMjBhMSAxIDAgMCAxLTEtMXYtNWExIDEgMCAwIDEgMS0xdi0uOTVhMi4yNSAyLjI1IDAgMCAxIDEuOTMyLTIuMjI2bDQuNDI0LS42MzJBLjc1Ljc1IDAgMCAwIDI3IDYuNDQ5eiIvPjxwYXRoIGZpbGw9IiNmZmYiIGZpbGwtcnVsZT0iZXZlbm9kZCIgZD0iTTI2Ljg1NSAyLjI1SDI3YTIuNSAyLjUgMCAwIDEgMi41IDIuNXYxLjdhMy4yNSAzLjI1IDAgMCAxLTIuNzkgMy4yMTZsLTQuMjEuNjAyYTIgMiAwIDAgMSAxIDEuNzMydjVhMiAyIDAgMCAxLTIgMkgyMGEyIDIgMCAwIDEtMi0ydi01YTIgMiAwIDAgMSAxLTEuNzMydi0uMjE3QTMuMjUgMy4yNSAwIDAgMSAyMS4xMjkgN0gxNWEyIDIgMCAwIDEtMi0yVjNhMiAyIDAgMCAxIDItMmgxMGEyIDIgMCAwIDEgMS44NTUgMS4yNU0yMCAxMC4wNVYxMWExIDEgMCAwIDAtMSAxdjVhMSAxIDAgMCAwIDEgMWgxLjVhMSAxIDAgMCAwIDEtMXYtNWExIDEgMCAwIDAtMS0xdi0uOTVxMC0uMDI0LjAwMi0uMDVhLjc1Ljc1IDAgMCAxIC42NDItLjY5Mmw0LjQyNC0uNjMyQTIuMjUgMi4yNSAwIDAgMCAyOC41IDYuNDV2LTEuN2ExLjQ5NiAxLjQ5NiAwIDAgMC0xLjUtMS41djMuMmEuNzUuNzUgMCAwIDEtLjY0NC43NDJsLTQuNDI0LjYzMkEyLjI1IDIuMjUgMCAwIDAgMjAgMTAuMDVNMTUgMmExIDEgMCAwIDAtMSAxdjJhMSAxIDAgMCAwIDEgMWgxMGExIDEgMCAwIDAgMS0xVjNhMSAxIDAgMCAwLTEtMXoiIGNsaXAtcnVsZT0iZXZlbm9kZCIvPjxwYXRoIGZpbGw9IiMwMDAiIGQ9Ik0yLjUgMi41QS41LjUgMCAwIDEgMyAyaDIuNWEuNS41IDAgMCAxIC4zNTQuMTQ2bC42NDYuNjQ3LjY0Ni0uNjQ3QS41LjUgMCAwIDEgNy41IDJIMTBhLjUuNSAwIDAgMSAwIDFINy43MDdMNyAzLjcwN1YxMGguNWEuNS41IDAgMCAxIDAgMUg3djQuNzkzbC43MDcuNzA3SDEwYS41LjUgMCAwIDEgMCAxSDcuNWEuNS41IDAgMCAxLS4zNTQtLjE0NmwtLjY0Ni0uNjQ3LS42NDYuNjQ3YS41LjUgMCAwIDEtLjM1NC4xNDZIM2EuNS41IDAgMCAxIDAtMWgyLjI5M0w2IDE1Ljc5M1YxMWgtLjVhLjUuNSAwIDAgMSAwLTFINlYzLjcwN0w1LjI5MyAzSDNhLjUuNSAwIDAgMS0uNS0uNSIvPjxwYXRoIGZpbGw9IiNmZmYiIGZpbGwtcnVsZT0iZXZlbm9kZCIgZD0ibTUuNzkzIDMuNS0uNS0uNUgzYS41LjUgMCAwIDEgMC0xaDIuNWEuNS41IDAgMCAxIC4zNTQuMTQ2bC4xNDUuMTQ2LjUwMS41LjY0Ni0uNjQ2QS41LjUgMCAwIDEgNy41IDJIMTBhLjUuNSAwIDAgMSAwIDFINy43MDdMNyAzLjcwN1YxMGguNWEuNS41IDAgMCAxIDAgMUg3djQuNzkzbC43MDcuNzA3SDEwYS41LjUgMCAwIDEgMCAxSDcuNWEuNS41IDAgMCAxLS4zNTQtLjE0NmwtLjY0Ni0uNjQ3LS41LjUtLjE0Ni4xNDdhLjUuNSAwIDAgMS0uMzU0LjE0NkgzYS41LjUgMCAwIDEgMC0xaDIuMjkzTDYgMTUuNzkzVjExaC0uNWEuNS41IDAgMCAxIDAtMUg2VjMuNzA3em0tLjkxNC41TDUgNC4xMjF2NC45NjRhMS41IDEuNSAwIDAgMCAwIDIuODN2My40NjRsLS4xMjEuMTIxSDNhMS41IDEuNSAwIDAgMCAwIDNoMi41YTEuNSAxLjUgMCAwIDAgMS0uMzgyIDEuNSAxLjUgMCAwIDAgMSAuMzgySDEwYTEuNSAxLjUgMCAwIDAgMC0zSDguMTIxTDggMTUuMzc5di0zLjQ2NGExLjUgMS41IDAgMCAwIDAtMi44M1Y0LjEyMUw4LjEyMSA0SDEwYTEuNSAxLjUgMCAwIDAgMC0zSDcuNWExLjUgMS41IDAgMCAwLTEgLjM4MkExLjUgMS41IDAgMCAwIDUuNSAxSDNhMS41IDEuNSAwIDEgMCAwIDN6IiBjbGlwLXJ1bGU9ImV2ZW5vZGQiLz48L3N2Zz4="},433:t=>{"use strict";t.exports=function(t){var n=[];return n.toString=function(){return this.map((function(n){var e="",r=void 0!==n[5];return n[4]&&(e+="@supports (".concat(n[4],") {")),n[2]&&(e+="@media ".concat(n[2]," {")),r&&(e+="@layer".concat(n[5].length>0?" ".concat(n[5]):""," {")),e+=t(n),r&&(e+="}"),n[2]&&(e+="}"),n[4]&&(e+="}"),e})).join("")},n.i=function(t,e,r,i,o){"string"==typeof t&&(t=[[null,t,void 0]]);var s={};if(r)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(s[c]=!0)}for(var u=0;u<t.length;u++){var I=[].concat(t[u]);r&&s[I[0]]||(void 0!==o&&(void 0===I[5]||(I[1]="@layer".concat(I[5].length>0?" ".concat(I[5]):""," {").concat(I[1],"}")),I[5]=o),e&&(I[2]?(I[1]="@media ".concat(I[2]," {").concat(I[1],"}"),I[2]=e):I[2]=e),i&&(I[4]?(I[1]="@supports (".concat(I[4],") {").concat(I[1],"}"),I[4]=i):I[4]="".concat(i)),n.push(I))}},n}},545:t=>{"use strict";var n,e=(n=[],function(t,e){return n[t]=e,n.filter(Boolean).join("\n")});function r(t,n,r,i){var o;if(r)o="";else{o="",i.supports&&(o+="@supports (".concat(i.supports,") {")),i.media&&(o+="@media ".concat(i.media," {"));var s=void 0!==i.layer;s&&(o+="@layer".concat(i.layer.length>0?" ".concat(i.layer):""," {")),o+=i.css,s&&(o+="}"),i.media&&(o+="}"),i.supports&&(o+="}")}if(t.styleSheet)t.styleSheet.cssText=e(n,o);else{var a=document.createTextNode(o),c=t.childNodes;c[n]&&t.removeChild(c[n]),c.length?t.insertBefore(a,c[n]):t.appendChild(a)}}var i={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var n=i.singletonCounter++,e=i.singleton||(i.singleton=t.insertStyleElement(t));return{update:function(t){r(e,n,!1,t)},remove:function(t){r(e,n,!0,t)}}}},584:(t,n,e)=>{t.exports=e(237)("./src/utils.js")},655:(t,n,e)=>{"use strict";e.d(n,{A:()=>f});var r=e(168),i=e.n(r),o=e(433),s=e.n(o),a=e(220),c=e.n(a),u=new URL(e(415),e.b),I=s()(i()),g=c()(u);I.push([t.id,`.ck.ck-editor__editable_inline.ck-format-painter-active,.ck.ck-editor__editable_inline.ck-format-painter-active .ck-widget .ck-editor__nested-editable,.ck.ck-editor__editable_inline.ck-format-painter-active a,.ck.ck-editor__editable_inline.ck-format-painter-active a .ck-widget .ck-editor__nested-editable{cursor:url(${g}) 3 3,text}`,""]);const f=I},667:t=>{"use strict";t.exports=function(t,n){Object.keys(n).forEach((function(e){t.setAttribute(e,n[e])}))}},673:t=>{"use strict";var n=[];function e(t){for(var e=-1,r=0;r<n.length;r++)if(n[r].identifier===t){e=r;break}return e}function r(t,r){for(var o={},s=[],a=0;a<t.length;a++){var c=t[a],u=r.base?c[0]+r.base:c[0],I=o[u]||0,g="".concat(u," ").concat(I);o[u]=I+1;var f=e(g),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:()=>K,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),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),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=["isOn","get","view","menu","href","formatPainter","window","ariaLiveAnnouncer","Formatting copied.","high","mouseup","423114isBTJO","keystrokes","Keeps the painter on after setting the formatting.","19012980ItmeQi","menuitemcheckbox","execute","change:value","_toggleSpecialCursor","componentFactory","map","editing","addObserver","Continuous painting","commands","3801775bCGIHc","buttonView","value","change","isPremiumPlugin","join","171ApqLeH","class","bind","_pasteFormatting","7tpbzNy","roots","document","ck-format-painter-dropdown","FormatPainterUI","fromCharCode","announce","isOfficialPlugin","addKeystrokeInfos","afterInit","init","stopListening","Ctrl+Alt+C","_finishPainting","1131WMlTkB","add","reset","listenTo","4444sIJHQq","change:isEnabled","locale","addClass","Pasted formatting.","Paint formatting","22410DocTuO","switchbutton","accessibility","_copyFormatting","Esc","477032NnaSte","Copy text formatting","1131565JgXERL","focus","removeClass","set","pluginName","editor","Ctrl+Alt+V","isEnabled","Paste text formatting","destroy"];return(Z=function(){return t})()}function O(t,n){const e=Z();return(O=function(t,n){return e[t-=399]})(t,n)}!function(t){const n=O,e=t();for(;;)try{if(780024===parseInt(n(441))/1+-parseInt(n(434))/2+-parseInt(n(424))/3*(parseInt(n(428))/4)+-parseInt(n(400))/5+parseInt(n(462))/6*(parseInt(n(410))/7)+-parseInt(n(439))/8*(parseInt(n(406))/9)+parseInt(n(465))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(Z);class _ extends((0,l.DomEmitterMixin)(t.Plugin)){static get[F(445)](){return F(414)}static get[F(417)](){return!0}static get[F(404)](){return!0}[F(420)](){const t=F,n=this[t(446)];n[t(472)][t(453)][t(473)](S.ClickObserver),n[t(436)][t(418)]({keystrokes:[{label:Y(n[t(430)],t(440)),keystroke:t(422)},{label:Y(n[t(430)],t(449)),keystroke:t(447)}]}),n.ui[t(470)][t(425)](t(456),(e=>{const r=t,i=(0,y.createDropdown)(e,y.SplitButtonView),s=n[r(399)][r(452)](o);i[r(401)][r(444)]({label:Y(n[r(430)],r(433)),icon:C.IconPaintRoller,keystroke:r(422),tooltip:!0}),i[r(407)]=r(413),s&&(i[r(408)](r(448)).to(s,r(448)),this[r(427)](s,r(429),((t,n,e)=>{e||this[r(423)]()})),i[r(401)][r(408)](r(451)).to(s,r(402),(t=>!!t)),this[r(427)](n,r(450),(()=>this[r(469)](!1))),this[r(427)](s,r(468),((t,n,e)=>{this[r(469)](!!e)})));const a=new y.ViewModel({withText:!0,label:Y(n[r(430)],r(474)),tooltip:Y(n[r(430)],r(464)),isOn:!1,role:r(466)});(0,y.addListToDropdown)(i,new l.Collection([{type:r(435),model:a}]),{role:r(454)});const c=()=>{const t=r;this[t(437)](),this[t(427)](l.global[t(457)][t(412)],t(461),(()=>{const n=t;this[n(409)](),a[n(451)]||this[n(423)]()}))};return this[r(427)](i,r(467),(()=>{const t=r;a[t(451)]=!a[t(451)]})),this[r(427)](i[r(401)],r(467),(()=>{const t=r;n[t(472)][t(453)][t(442)](),i[t(401)][t(451)]?this[t(423)]():c()})),n[r(463)][r(444)](r(422),((t,n)=>{const e=r;c(),a[e(451)]=!0,n()}),{priority:r(460)}),n[r(463)][r(444)](r(447),((t,n)=>{const e=r;i[e(401)][e(451)]&&(this[e(409)](),a[e(451)]||this[e(423)](),n())}),{priority:r(460)}),n[r(463)][r(444)](r(438),((t,n)=>{const e=r;i[e(401)][e(451)]&&(a[e(451)]=!1,this[e(423)](),n())})),i}))}[F(419)](){!async function(t){const n=d([84,54,98,111,49,108,115,114,89,112,110,71,75,76,107,56,78,55,117,52,120,77,118,81,105,67,73,53,85,119,66,104,103,121,83,68,116,48,113,122,79,69,57,72,101,100,51,99,50,102,86,97,87,65,74,88,82,106,109,70,90,80]),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(471)]((t=>String[n(415)](t)))[n(405)]("")}!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([84]);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:1748563200;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(455)]);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(469)](t){const n=F;this[n(446)][n(472)][n(453)][n(403)]((e=>{const r=n;for(const n of this[r(446)][r(472)][r(453)][r(412)][r(411)])t?e[r(431)](a,n):e[r(443)](a,n)}))}[F(437)](){const t=F,{editor:n}=this;n[t(467)](o),n.ui[t(458)][t(416)](Y(n[t(430)],t(459)))}[F(409)](){const t=F,{editor:n}=this,e=n[t(399)][t(452)](o)[t(402)];n[t(467)](s,e),n.ui[t(458)][t(416)](Y(n[t(430)],t(432)))}[F(423)](){const t=F;this[t(446)][t(399)][t(452)](o)[t(426)](),this[t(421)](l.global[t(457)][t(412)],t(461))}}var G=W;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 W(t,n){var e=V();return(W=function(t,n){return e[t-=274]})(t,n)}!function(t){for(var n=W,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 K extends t.Plugin{static get[G(282)](){return[N,_]}static get[G(284)](){return G(278)}static get[G(287)](){return!0}static get[G(289)](){return!0}}function R(t,n){var e=B();return(R=function(t,n){return e[t-=459]})(t,n)}function B(){var t=["503690lmxRGj","58010HhMgSv","2432384mvMbqt","68ETASww","7Droghr","7mssonH","1175010vUCmNV","6687StNpyk","1830PVNHZD","5263533zayZTM","11223FdoEsK"];return(B=function(){return t})()}!function(t){for(var n=R,e=t();;)try{if(153289===parseInt(n(461))/1*(parseInt(n(469))/2)+parseInt(n(467))/3*(-parseInt(n(460))/4)+-parseInt(n(468))/5+parseInt(n(463))/6*(-parseInt(n(462))/7)+-parseInt(n(459))/8+parseInt(n(464))/9*(parseInt(n(465))/10)+parseInt(n(466))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(B)})(),(window.CKEditor5=window.CKEditor5||{}).formatPainter=r})();
|
|
5
|
+
*/(()=>{var t={168:t=>{"use strict";t.exports=function(t){return t[1]}},220:t=>{"use strict";t.exports=function(t,n){return n||(n={}),t?(t=String(t.__esModule?t.default:t),/^['"].*['"]$/.test(t)&&(t=t.slice(1,-1)),n.hash&&(t+=n.hash),/["'() \t\n]|(%20)/.test(t)||n.needQuotes?'"'.concat(t.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):t):t}},237:t=>{"use strict";t.exports=CKEditor5.dll},262:t=>{"use strict";var n={};t.exports=function(t,e){var r=function(t){if(void 0===n[t]){var e=document.querySelector(t);if(window.HTMLIFrameElement&&e instanceof window.HTMLIFrameElement)try{e=e.contentDocument.head}catch(t){e=null}n[t]=e}return n[t]}(t);if(!r)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");r.appendChild(e)}},311:(t,n,e)=>{t.exports=e(237)("./src/ui.js")},355:(t,n,e)=>{t.exports=e(237)("./src/icons.js")},357:t=>{"use strict";t.exports=function(t){var n=document.createElement("style");return t.setAttributes(n,t.attributes),t.insert(n,t.options),n}},415:t=>{"use strict";t.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMCIgaGVpZ2h0PSIyMCIgZmlsbD0ibm9uZSIgdmlld0JveD0iMCAwIDMxIDIwIj48cGF0aCBmaWxsPSIjMDAwIiBkPSJNMTQgM2ExIDEgMCAwIDEgMS0xaDEwYTEgMSAwIDAgMSAxIDF2MmExIDEgMCAwIDEtMSAxSDE1YTEgMSAwIDAgMS0xLTF6Ii8+PHBhdGggZmlsbD0iIzAwMCIgZD0iTTI3IDMuMjVhMS41IDEuNSAwIDAgMSAxLjUgMS41djEuN2EyLjI1IDIuMjUgMCAwIDEtMS45MzIgMi4yMjZsLTQuNDI0LjYzMmEuNzUuNzUgMCAwIDAtLjY0NC43NDNWMTFhMSAxIDAgMCAxIDEgMXY1YTEgMSAwIDAgMS0xIDFIMjBhMSAxIDAgMCAxLTEtMXYtNWExIDEgMCAwIDEgMS0xdi0uOTVhMi4yNSAyLjI1IDAgMCAxIDEuOTMyLTIuMjI2bDQuNDI0LS42MzJBLjc1Ljc1IDAgMCAwIDI3IDYuNDQ5eiIvPjxwYXRoIGZpbGw9IiNmZmYiIGZpbGwtcnVsZT0iZXZlbm9kZCIgZD0iTTI2Ljg1NSAyLjI1SDI3YTIuNSAyLjUgMCAwIDEgMi41IDIuNXYxLjdhMy4yNSAzLjI1IDAgMCAxLTIuNzkgMy4yMTZsLTQuMjEuNjAyYTIgMiAwIDAgMSAxIDEuNzMydjVhMiAyIDAgMCAxLTIgMkgyMGEyIDIgMCAwIDEtMi0ydi01YTIgMiAwIDAgMSAxLTEuNzMydi0uMjE3QTMuMjUgMy4yNSAwIDAgMSAyMS4xMjkgN0gxNWEyIDIgMCAwIDEtMi0yVjNhMiAyIDAgMCAxIDItMmgxMGEyIDIgMCAwIDEgMS44NTUgMS4yNU0yMCAxMC4wNVYxMWExIDEgMCAwIDAtMSAxdjVhMSAxIDAgMCAwIDEgMWgxLjVhMSAxIDAgMCAwIDEtMXYtNWExIDEgMCAwIDAtMS0xdi0uOTVxMC0uMDI0LjAwMi0uMDVhLjc1Ljc1IDAgMCAxIC42NDItLjY5Mmw0LjQyNC0uNjMyQTIuMjUgMi4yNSAwIDAgMCAyOC41IDYuNDV2LTEuN2ExLjQ5NiAxLjQ5NiAwIDAgMC0xLjUtMS41djMuMmEuNzUuNzUgMCAwIDEtLjY0NC43NDJsLTQuNDI0LjYzMkEyLjI1IDIuMjUgMCAwIDAgMjAgMTAuMDVNMTUgMmExIDEgMCAwIDAtMSAxdjJhMSAxIDAgMCAwIDEgMWgxMGExIDEgMCAwIDAgMS0xVjNhMSAxIDAgMCAwLTEtMXoiIGNsaXAtcnVsZT0iZXZlbm9kZCIvPjxwYXRoIGZpbGw9IiMwMDAiIGQ9Ik0yLjUgMi41QS41LjUgMCAwIDEgMyAyaDIuNWEuNS41IDAgMCAxIC4zNTQuMTQ2bC42NDYuNjQ3LjY0Ni0uNjQ3QS41LjUgMCAwIDEgNy41IDJIMTBhLjUuNSAwIDAgMSAwIDFINy43MDdMNyAzLjcwN1YxMGguNWEuNS41IDAgMCAxIDAgMUg3djQuNzkzbC43MDcuNzA3SDEwYS41LjUgMCAwIDEgMCAxSDcuNWEuNS41IDAgMCAxLS4zNTQtLjE0NmwtLjY0Ni0uNjQ3LS42NDYuNjQ3YS41LjUgMCAwIDEtLjM1NC4xNDZIM2EuNS41IDAgMCAxIDAtMWgyLjI5M0w2IDE1Ljc5M1YxMWgtLjVhLjUuNSAwIDAgMSAwLTFINlYzLjcwN0w1LjI5MyAzSDNhLjUuNSAwIDAgMS0uNS0uNSIvPjxwYXRoIGZpbGw9IiNmZmYiIGZpbGwtcnVsZT0iZXZlbm9kZCIgZD0ibTUuNzkzIDMuNS0uNS0uNUgzYS41LjUgMCAwIDEgMC0xaDIuNWEuNS41IDAgMCAxIC4zNTQuMTQ2bC4xNDUuMTQ2LjUwMS41LjY0Ni0uNjQ2QS41LjUgMCAwIDEgNy41IDJIMTBhLjUuNSAwIDAgMSAwIDFINy43MDdMNyAzLjcwN1YxMGguNWEuNS41IDAgMCAxIDAgMUg3djQuNzkzbC43MDcuNzA3SDEwYS41LjUgMCAwIDEgMCAxSDcuNWEuNS41IDAgMCAxLS4zNTQtLjE0NmwtLjY0Ni0uNjQ3LS41LjUtLjE0Ni4xNDdhLjUuNSAwIDAgMS0uMzU0LjE0NkgzYS41LjUgMCAwIDEgMC0xaDIuMjkzTDYgMTUuNzkzVjExaC0uNWEuNS41IDAgMCAxIDAtMUg2VjMuNzA3em0tLjkxNC41TDUgNC4xMjF2NC45NjRhMS41IDEuNSAwIDAgMCAwIDIuODN2My40NjRsLS4xMjEuMTIxSDNhMS41IDEuNSAwIDAgMCAwIDNoMi41YTEuNSAxLjUgMCAwIDAgMS0uMzgyIDEuNSAxLjUgMCAwIDAgMSAuMzgySDEwYTEuNSAxLjUgMCAwIDAgMC0zSDguMTIxTDggMTUuMzc5di0zLjQ2NGExLjUgMS41IDAgMCAwIDAtMi44M1Y0LjEyMUw4LjEyMSA0SDEwYTEuNSAxLjUgMCAwIDAgMC0zSDcuNWExLjUgMS41IDAgMCAwLTEgLjM4MkExLjUgMS41IDAgMCAwIDUuNSAxSDNhMS41IDEuNSAwIDEgMCAwIDN6IiBjbGlwLXJ1bGU9ImV2ZW5vZGQiLz48L3N2Zz4="},433:t=>{"use strict";t.exports=function(t){var n=[];return n.toString=function(){return this.map((function(n){var e="",r=void 0!==n[5];return n[4]&&(e+="@supports (".concat(n[4],") {")),n[2]&&(e+="@media ".concat(n[2]," {")),r&&(e+="@layer".concat(n[5].length>0?" ".concat(n[5]):""," {")),e+=t(n),r&&(e+="}"),n[2]&&(e+="}"),n[4]&&(e+="}"),e})).join("")},n.i=function(t,e,r,i,o){"string"==typeof t&&(t=[[null,t,void 0]]);var s={};if(r)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(s[c]=!0)}for(var u=0;u<t.length;u++){var I=[].concat(t[u]);r&&s[I[0]]||(void 0!==o&&(void 0===I[5]||(I[1]="@layer".concat(I[5].length>0?" ".concat(I[5]):""," {").concat(I[1],"}")),I[5]=o),e&&(I[2]?(I[1]="@media ".concat(I[2]," {").concat(I[1],"}"),I[2]=e):I[2]=e),i&&(I[4]?(I[1]="@supports (".concat(I[4],") {").concat(I[1],"}"),I[4]=i):I[4]="".concat(i)),n.push(I))}},n}},545:t=>{"use strict";var n,e=(n=[],function(t,e){return n[t]=e,n.filter(Boolean).join("\n")});function r(t,n,r,i){var o;if(r)o="";else{o="",i.supports&&(o+="@supports (".concat(i.supports,") {")),i.media&&(o+="@media ".concat(i.media," {"));var s=void 0!==i.layer;s&&(o+="@layer".concat(i.layer.length>0?" ".concat(i.layer):""," {")),o+=i.css,s&&(o+="}"),i.media&&(o+="}"),i.supports&&(o+="}")}if(t.styleSheet)t.styleSheet.cssText=e(n,o);else{var a=document.createTextNode(o),c=t.childNodes;c[n]&&t.removeChild(c[n]),c.length?t.insertBefore(a,c[n]):t.appendChild(a)}}var i={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var n=i.singletonCounter++,e=i.singleton||(i.singleton=t.insertStyleElement(t));return{update:function(t){r(e,n,!1,t)},remove:function(t){r(e,n,!0,t)}}}},584:(t,n,e)=>{t.exports=e(237)("./src/utils.js")},655:(t,n,e)=>{"use strict";e.d(n,{A:()=>f});var r=e(168),i=e.n(r),o=e(433),s=e.n(o),a=e(220),c=e.n(a),u=new URL(e(415),e.b),I=s()(i()),g=c()(u);I.push([t.id,`.ck.ck-editor__editable_inline.ck-format-painter-active,.ck.ck-editor__editable_inline.ck-format-painter-active .ck-widget .ck-editor__nested-editable,.ck.ck-editor__editable_inline.ck-format-painter-active a,.ck.ck-editor__editable_inline.ck-format-painter-active a .ck-widget .ck-editor__nested-editable{cursor:url(${g}) 3 3,text}`,""]);const f=I},667:t=>{"use strict";t.exports=function(t,n){Object.keys(n).forEach((function(e){t.setAttribute(e,n[e])}))}},673:t=>{"use strict";var n=[];function e(t){for(var e=-1,r=0;r<n.length;r++)if(n[r].identifier===t){e=r;break}return e}function r(t,r){for(var o={},s=[],a=0;a<t.length;a++){var c=t[a],u=r.base?c[0]+r.base:c[0],I=o[u]||0,g="".concat(u," ").concat(I);o[u]=I+1;var f=e(g),l={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==f)n[f].references++,n[f].updater(l);else{var d=i(l,r);r.byIndex=a,n.splice(a,0,{identifier:g,updater:d,references:1})}s.push(g)}return s}function i(t,n){var e=n.domAPI(n);e.update(t);return function(n){if(n){if(n.css===t.css&&n.media===t.media&&n.sourceMap===t.sourceMap&&n.supports===t.supports&&n.layer===t.layer)return;e.update(t=n)}else e.remove()}}t.exports=function(t,i){var o=r(t=t||[],i=i||{});return function(t){t=t||[];for(var s=0;s<o.length;s++){var a=e(o[s]);n[a].references--}for(var c=r(t,i),u=0;u<o.length;u++){var I=e(o[u]);0===n[I].references&&(n[I].updater(),n.splice(I,1))}o=c}}},782:(t,n,e)=>{t.exports=e(237)("./src/core.js")},783:(t,n,e)=>{t.exports=e(237)("./src/engine.js")}},n={};function e(r){var i=n[r];if(void 0!==i)return i.exports;var o=n[r]={id:r,exports:{}};return t[r](o,o.exports,e),o.exports}e.m=t,e.n=t=>{var n=t&&t.__esModule?()=>t.default:()=>t;return e.d(n,{a:n}),n},e.d=(t,n)=>{for(var r in n)e.o(n,r)&&!e.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:n[r]})},e.o=(t,n)=>Object.prototype.hasOwnProperty.call(t,n),e.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},e.b=document.baseURI||self.location.href;var r={};(()=>{"use strict";e.r(r),e.d(r,{CopyFormatCommand:()=>f,FormatPainter:()=>W,FormatPainterEditing:()=>y,FormatPainterUI:()=>_,PasteFormatCommand:()=>A});var t=e(782);const n=i;function i(t,n){const e=c();return(i=function(t,n){return e[t-=417]})(t,n)}!function(t){const n=i,e=t();for(;;)try{if(605098===parseInt(n(423))/1+parseInt(n(426))/2+parseInt(n(417))/3+-parseInt(n(418))/4+-parseInt(n(424))/5*(-parseInt(n(421))/6)+-parseInt(n(419))/7+-parseInt(n(422))/8)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(c);const o=n(427),s=n(425),a=n(420);function c(){const t=["1456198bxABCt","copyFormat","3617889fZXdxa","404780eOCTfO","936929aAnWYP","ck-format-painter-active","6222pVODuS","21352448WoNFCN","416805LjGIqz","5585SikRgr","pasteFormat"];return(c=function(){return t})()}function u(){const t=["11369754jElBFK","1464429WiBeGD","execute","65emTkse","model","25736CaTbyP","change:isEnabled","isFormatting","value","1376340AXjWQa","26899qXlGoe","getAttributes","reset","fromEntries","schema","from","filter","selection","get","commands","editor","2913096CwcFmJ","_getFormattingAttributes","getAttributeProperties","1242372iqhDKY","change:value","document","78oxEnLU","refresh"];return(u=function(){return t})()}const I=g;function g(t,n){const e=u();return(g=function(t,n){return e[t-=151]})(t,n)}!function(t){const n=g,e=t();for(;;)try{if(579201===parseInt(n(151))/1*(-parseInt(n(168))/2)+parseInt(n(171))/3+parseInt(n(175))/4*(-parseInt(n(173))/5)+-parseInt(n(165))/6+-parseInt(n(179))/7+parseInt(n(162))/8+parseInt(n(170))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(u);class f extends t.Command{constructor(t){const n=g;super(t),this[n(178)]=void 0,this.on(n(176),((t,e,r)=>{r||this[n(153)]()})),this.on(n(166),(()=>t[n(160)][n(159)](s)[n(169)]()))}[I(172)](){const t=I;this[t(178)]=this[t(163)]()}[I(153)](){this[I(178)]=void 0}[I(163)](){const t=I,n=this[t(161)][t(174)],e=n[t(167)][t(158)];return Object[t(154)](Array[t(156)](e[t(152)]())[t(157)]((([e])=>n[t(155)][t(164)](e)[t(177)])))}}var l=e(584);const d=M;function p(){const t=["getSelectedBlocks","2094890eNUQbQ","getValidRanges","_removeFormatCommand","getRanges","getFirstPosition","model","schema","createRange","370008PEZYeb","getAttributeProperties","612yHQPMS","168157GjXrIP","word","_getFormattingItems","selection","execute","557451GerWSg","isCollapsed","getLastPosition","_createRangeOnEntireWord","49AaxQrq","getItems","backward","106331UKziya","createSelection","modifySelection","6fcgykA","forward","6OsQiPG","from","setAttribute","_getFormattingAttributes","change","createRangeOn","document","isFormatting","removeSelectionAttribute","getAttributes","259900OwvtfU","215994hZljGV","isBlock","editor","56CiILmg","removeAttribute","setSelection"];return(p=function(){return t})()}function M(t,n){const e=p();return(M=function(t,n){return e[t-=349]})(t,n)}!function(t){const n=M,e=t();for(;;)try{if(221551===parseInt(n(374))/1*(-parseInt(n(379))/2)+-parseInt(n(377))/3*(-parseInt(n(359))/4)+parseInt(n(389))/5+-parseInt(n(390))/6*(parseInt(n(371))/7)+-parseInt(n(393))/8*(parseInt(n(367))/9)+parseInt(n(351))/10+parseInt(n(362))/11*(parseInt(n(361))/12))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(p);class A extends t.Command{constructor(t){const n=M;super(t),this[n(353)]=new m(t)}[d(366)](t={}){const n=d,e=this[n(392)][n(356)],r=e[n(385)][n(365)],i=Array[n(380)](r[n(354)]()),o=r[n(368)]?[this[n(370)](e,r)]:i;e[n(383)]((r=>{const s=n;r[s(349)](o),this[s(353)][s(366)]();for(const n in t)for(const i of e[s(357)][s(352)](o,n))r[s(381)](n,t[n],i);r[s(349)](i)}))}[d(370)](t,n){const e=d,r=t[e(375)](n);t[e(376)](r,{unit:e(363),direction:e(373)});const i=r[e(355)]();t[e(376)](r,{unit:e(363),direction:e(378)});const o=r[e(369)]();return t[e(358)](i,o)}}class m extends t.Command{[d(366)](){const t=d,n=this[t(392)][t(356)],e=n[t(357)];n[t(383)]((r=>{const i=t;for(const t of this[i(364)](n[i(385)][i(365)],e))if(t.is(i(365)))for(const n of this[i(382)](t,e))r[i(387)](n);else{const n=r[i(384)](t);for(const o of this[i(382)](t,e))r[i(394)](o,n)}}))}*[d(364)](t,n){const e=d,r=t=>!!(0,l.first)(this[e(382)](t,n));for(const i of t[e(354)]())for(const t of i[e(372)]())!n[e(391)](t)&&r(t)&&(yield t);for(const n of t[e(350)]())r(n)&&(yield n);r(t)&&(yield t)}*[d(382)](t,n){const e=d;for(const[r]of t[e(388)]()){const t=n[e(360)](r);t&&t[e(386)]&&(yield r)}}}function w(t,n){const e=D();return(w=function(t,n){return e[t-=444]})(t,n)}const h=w;function D(){const t=["usageLimit","get","formatPainterLicenseKeyTrialLimit","formatPainterLicenseKeyUsageLimit","config","trialLimit","145324HjhBZb","33JXFcKR","domainLimit","7414660nBniIM","8IicQZz","formatPainterLicenseKeyExpired","formatPainterLicenseKeyInvalid","3448708ZkNyQt","273doipmV","formatPainterLicenseKeyEvaluationLimit","49946061OCbJPt","commands","formatPainterLicenseKeyValid","isOfficialPlugin","60132XwTdcr","add","pluginName","3721950RcQpGz","FormatPainter","formatPainterLicenseKeyDomainLimit","10wRiSas","licenseKey","expired","636012eZflQA","isPremiumPlugin","featureNotAllowed","destroy","evaluationLimit","FormatPainterEditing","_licenseKeyCheckInterval","invalid","formatPainterLicenseKeyNotAllowed","init","_showLicenseError","editor"];return(D=function(){return t})()}!function(t){const n=w,e=t();for(;;)try{if(782840===-parseInt(n(458))/1+-parseInt(n(476))/2*(parseInt(n(477))/3)+-parseInt(n(483))/4+-parseInt(n(479))/5+parseInt(n(449))/6*(-parseInt(n(484))/7)+-parseInt(n(480))/8*(-parseInt(n(452))/9)+-parseInt(n(455))/10*(-parseInt(n(445))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(D);class y extends t.Plugin{[h(456)];[h(464)];static get[h(451)](){return h(463)}static get[h(448)](){return!0}static get[h(459)](){return!0}[h(467)](){const t=h,n=this[t(469)];n[t(446)][t(450)](o,new f(n)),n[t(446)][t(450)](s,new A(n)),this[t(456)]=this[t(469)][t(474)][t(471)](t(456));const e=this[t(469)];this[t(464)]=setInterval((()=>{const n=t;let r;for(const t in e){const i=t,o=e[i];if(n(447)==o||n(482)==o||n(481)==o||n(454)==o||n(466)==o||n(444)==o||n(472)==o||n(473)==o){delete e[i],r=o,clearInterval(this[n(464)]),this[n(464)]=void 0;break}}n(482)==r&&e[n(468)](n(465)),n(481)==r&&e[n(468)](n(457)),n(454)==r&&e[n(468)](n(478)),n(466)==r&&e[n(468)](n(460),n(453)),n(444)==r&&e[n(468)](n(462)),n(472)==r&&e[n(468)](n(475)),n(473)==r&&e[n(468)](n(470))}),1e3)}[h(461)](){const t=h;super[t(461)](),this[t(464)]&&clearInterval(this[t(464)])}}var N=e(311),S=e(783),C=e(355),x=e(673),j=e.n(x),L=e(545),E=e.n(L),v=e(262),b=e.n(v),T=e(667),P=e.n(T),k=e(357),U=e.n(k),z=e(655),F={attributes:{"data-cke":!0}};F.setAttributes=P(),F.insert=b().bind(null,"head"),F.domAPI=E(),F.insertStyleElement=U();j()(z.A,F);z.A&&z.A.locals&&z.A.locals;function Y(t,n){const e=t.t;switch(n){case"Paint formatting":return e("Paint formatting");case"Copy text formatting":return e("Copy text formatting");case"Paste text formatting":return e("Paste text formatting");case"Continuous painting":return e("Continuous painting");case"Keeps the painter on after setting the formatting.":return e("Keeps the painter on after setting the formatting.");case"Formatting copied.":return e("Formatting copied.");case"Pasted formatting.":return e("Pasted formatting.");default:return n}}const Q=O;function Z(){const t=["commands","locale","36873nCmBXc","2lALKOR","high","keystrokes","addClass","mouseup","85771XSvryx","switchbutton","fromCharCode","accessibility","addObserver","21625CXBRXz","reset","312833rDYwGJ","editor","Continuous painting","_copyFormatting","menu","map","roots","buttonView","ariaLiveAnnouncer","Formatting copied.","isPremiumPlugin","FormatPainterUI","init","change:isEnabled","focus","1164LXgBHd","260QPppqW","menuitemcheckbox","Paste text formatting","componentFactory","bind","664PbXpNb","ck-format-painter-dropdown","_toggleSpecialCursor","2330aFDPEV","execute","_pasteFormatting","pluginName","value","destroy","isOfficialPlugin","Ctrl+Alt+V","6952526qFIcIH","class","Paint formatting","join","8978695KvFFhG","stopListening","40626RyACTb","afterInit","window","Copy text formatting","Keeps the painter on after setting the formatting.","Pasted formatting.","isEnabled","Ctrl+Alt+C","_finishPainting","isOn","view","href","12JLwNCy","listenTo","editing","document","39dayLFo","removeClass","set","get","change","addKeystrokeInfos","Esc","announce","formatPainter","add","change:value"];return(Z=function(){return t})()}function O(t,n){const e=Z();return(O=function(t,n){return e[t-=346]})(t,n)}!function(t){const n=O,e=t();for(;;)try{if(616787===parseInt(n(419))/1*(-parseInt(n(407))/2)+parseInt(n(406))/3*(parseInt(n(355))/4)+-parseInt(n(417))/5*(-parseInt(n(354))/6)+parseInt(n(412))/7*(parseInt(n(360))/8)+parseInt(n(377))/9*(-parseInt(n(363))/10)+-parseInt(n(375))/11*(-parseInt(n(389))/12)+parseInt(n(393))/13*(-parseInt(n(371))/14))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(Z);class _ extends((0,l.DomEmitterMixin)(t.Plugin)){static get[Q(366)](){return Q(350)}static get[Q(369)](){return!0}static get[Q(349)](){return!0}[Q(351)](){const t=Q,n=this[t(420)];n[t(391)][t(387)][t(416)](S.ClickObserver),n[t(415)][t(398)]({keystrokes:[{label:Y(n[t(405)],t(380)),keystroke:t(384)},{label:Y(n[t(405)],t(357)),keystroke:t(370)}]}),n.ui[t(358)][t(402)](t(401),(e=>{const r=t,i=(0,N.createDropdown)(e,N.SplitButtonView),s=n[r(404)][r(396)](o);i[r(346)][r(395)]({label:Y(n[r(405)],r(373)),icon:C.IconPaintRoller,keystroke:r(384),tooltip:!0}),i[r(372)]=r(361),s&&(i[r(359)](r(383)).to(s,r(383)),this[r(390)](s,r(352),((t,n,e)=>{e||this[r(385)]()})),i[r(346)][r(359)](r(386)).to(s,r(367),(t=>!!t)),this[r(390)](n,r(368),(()=>this[r(362)](!1))),this[r(390)](s,r(403),((t,n,e)=>{this[r(362)](!!e)})));const a=new N.ViewModel({withText:!0,label:Y(n[r(405)],r(421)),tooltip:Y(n[r(405)],r(381)),isOn:!1,role:r(356)});(0,N.addListToDropdown)(i,new l.Collection([{type:r(413),model:a}]),{role:r(423)});const c=()=>{const t=r;this[t(422)](),this[t(390)](l.global[t(379)][t(392)],t(411),(()=>{const n=t;this[n(365)](),a[n(386)]||this[n(385)]()}))};return this[r(390)](i,r(364),(()=>{const t=r;a[t(386)]=!a[t(386)]})),this[r(390)](i[r(346)],r(364),(()=>{const t=r;n[t(391)][t(387)][t(353)](),i[t(346)][t(386)]?this[t(385)]():c()})),n[r(409)][r(395)](r(384),((t,n)=>{const e=r;c(),a[e(386)]=!0,n()}),{priority:r(408)}),n[r(409)][r(395)](r(370),((t,n)=>{const e=r;i[e(346)][e(386)]&&(this[e(365)](),a[e(386)]||this[e(385)](),n())}),{priority:r(408)}),n[r(409)][r(395)](r(399),((t,n)=>{const e=r;i[e(346)][e(386)]&&(a[e(386)]=!1,this[e(385)](),n())})),i}))}[Q(378)](){!async function(t){const n=p([117,68,119,54,100,86,110,89,74,83,87,109,82,48,106,97,118,69,50,72,75,51,66,105,85,55,108,70,98,104,116,122,112,79,65,120,49,101,121,52,99,57,103,90,80,111,84,78,115,53,71,114,76,56,88,81,107,102,113,77,67,73]),e=window[p([68,97,116,101])][p([110,111,119])](),r=t[p([101,100,105,116,111,114])],i=new(window[p([80,114,111,109,105,115,101])])((t=>{r[p([111,110,99,101])](p([114,101,97,100,121]),t)})),o={[p([107,116,121])]:p([69,67]),[p([117,115,101])]:p([115,105,103]),[p([99,114,118])]:p([80,45,50,53,54]),[p([120])]:p([105,67,106,79,67,118,68,70,73,54,108,81,72,72,84,49,56,106,86,119,82,102,107,102,72,81,50,97,95,77,121,109,84,51,53,76,81,86,111,70,83,65,73]),[p([121])]:p([107,88,73,121,74,52,101,118,116,67,69,70,82,109,120,75,83,85,112,75,57,102,68,87,52,53,57,118,88,79,118,86,114,104,102,54,117,81,65,101,79,105,111]),[p([97,108,103])]:p([69,83,50,53,54])},s=r[p([99,111,110,102,105,103])][p([103,101,116])](p([108,105,99,101,110,115,101,75,101,121]));function a(t){const n=[new(window[p([80,114,111,109,105,115,101])])((t=>setTimeout(t,605900))),i[p([116,104,101,110])]((()=>new(window[p([80,114,111,109,105,115,101])])((t=>{let n=0;r[p([109,111,100,101,108])][p([111,110])](p([97,112,112,108,121,79,112,101,114,97,116,105,111,110]),((e,r)=>{r[0][p([105,115,68,111,99,117,109,101,110,116,79,112,101,114,97,116,105,111,110])]&&n++,504==n&&(t(),e[p([111,102,102])]())}))}))))];return window[p([80,114,111,109,105,115,101])][p([114,97,99,101])](n)[p([116,104,101,110])]((()=>t))}function c(t){return t[p([115,116,97,114,116,115,87,105,116,104])](p([101,121]))?JSON[p([112,97,114,115,101])](u(t)):null}function u(t){return window[p([97,116,111,98])](t[p([114,101,112,108,97,99,101])](/-/g,p([43]))[p([114,101,112,108,97,99,101])](/_/g,p([47])))}function I(t){let n=5381;function e(t){for(let e=0;e<t[p([108,101,110,103,116,104])];e++){const r=t[p([99,104,97,114,67,111,100,101,65,116])](e);n=(n<<5)+n+r,n&=n}}return function t(n){Array[p([105,115,65,114,114,97,121])](n)?n[p([102,111,114,69,97,99,104])](t):n&&typeof n==p([111,98,106,101,99,116])?Object[p([101,110,116,114,105,101,115])](n)[p([115,111,114,116])]()[p([102,111,114,69,97,99,104])]((([n,r])=>{e(n),t(r)})):e(window[p([83,116,114,105,110,103])](n))}(t),n>>>0}function g(t){return t[p([116,111,83,116,114,105,110,103])](16)[p([112,97,100,83,116,97,114,116])](8,p([48]))}function f(t){return t[p([115,112,108,105,116])]("")[p([114,101,118,101,114,115,101])]()[p([106,111,105,110])]("")}function d(){}function p(t){const n=O;return t[n(424)]((t=>String[n(414)](t)))[n(374)]("")}!function(t){const e=function(){const t=window[p([83,116,114,105,110,103])](window[p([112,101,114,102,111,114,109,97,110,99,101])][p([110,111,119])]())[p([114,101,112,108,97,99,101])](p([46]),"");let e=p([117]);for(let r=0;r<t[p([108,101,110,103,116,104])];r+=2){let i=window[p([112,97,114,115,101,73,110,116])](t[p([115,117,98,115,116,114,105,110,103])](r,r+2));i>=n[p([108,101,110,103,116,104])]&&(i-=n[p([108,101,110,103,116,104])]),e+=n[i]}return e}();r[e]=p([102,111,114,109,97,116,80,97,105,110,116,101,114,76,105,99,101,110,115,101,75,101,121])+t,t!=p([86,97,108,105,100])&&async function(){await i,r[p([109,111,100,101,108])][p([99,104,97,110,103,101])]=d,r[p([109,111,100,101,108])][p([101,110,113,117,101,117,101,67,104,97,110,103,101])]=d,r[p([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](p([109,111,100,101,108]))}()}(await async function(){let t,n=null,d=null;try{return s==p([71,80,76])?p([78,111,116,65,108,108,111,119,101,100]):(t=function(){const t=s[p([115,112,108,105,116])](p([46]));return 3!=t[p([108,101,110,103,116,104])]?null:n(t[1]);function n(t){const n=c(t);return n&&e()?n:null;function e(){const t=n[p([106,116,105])],e=window[p([112,97,114,115,101,73,110,116])](t[p([115,117,98,115,116,114,105,110,103])](t[p([108,101,110,103,116,104])]-8),16),r={...n,[p([106,116,105])]:t[p([115,117,98,115,116,114,105,110,103])](0,t[p([108,101,110,103,116,104])]-8)};return delete r[p([118,99])],I(r)==e}}}(),t?(t[p([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(d=function(t,n){return new(window[p([80,114,111,109,105,115,101])])((a=>{if(o())return a(p([86,97,108,105,100]));s(),r[p([100,101,99,111,114,97,116,101])](p([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]));let c=!1;const u=(0,l.uid)();function d(t){return!!t&&(typeof t===p([111,98,106,101,99,116])||typeof t===p([102,117,110,99,116,105,111,110]))&&typeof t[p([116,104,101,110])]===p([102,117,110,99,116,105,111,110])&&typeof t[p([99,97,116,99,104])]===p([102,117,110,99,116,105,111,110])}function M(r){c(r)[p([116,104,101,110])]((t=>t&&t[p([115,116,97,116,117,115])]==p([111,107])?g(I(u+n))!=t[p([118,101,114,105,102,105,99,97,116,105,111,110])]?p([85,115,97,103,101,76,105,109,105,116]):p([86,97,108,105,100]):p([85,115,97,103,101,76,105,109,105,116])))[p([116,104,101,110])]((t=>(o(),t)),(()=>{const t=s();return null==t?(o(),p([86,97,108,105,100])):p(e-t>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])}))[p([116,104,101,110])](a)[p([99,97,116,99,104])]((()=>{a(p([85,115,97,103,101,76,105,109,105,116]))}));const i=36e5;function o(){const n=p([108,108,99,116,45])+g(I(t)),r=f(g(window[p([77,97,116,104])][p([99,101,105,108])](e/i)));window[p([108,111,99,97,108,83,116,111,114,97,103,101])][p([115,101,116,73,116,101,109])](n,r)}function s(){const n=p([108,108,99,116,45])+g(I(t)),e=window[p([108,111,99,97,108,83,116,111,114,97,103,101])][p([103,101,116,73,116,101,109])](n);return e?window[p([112,97,114,115,101,73,110,116])](f(e),16)*i:null}function c(t){return new(window[p([80,114,111,109,105,115,101])])(((n,e)=>{t[p([116,104,101,110])](n,e),window[p([115,101,116,84,105,109,101,111,117,116])](e,12e4)}))}}r[p([111,110])](p([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),((n,e)=>{if(e[0]!=t)return a(p([85,115,97,103,101,76,105,109,105,116]));e[1]={...e[1],[p([114,101,113,117,101,115,116,73,100])]:u}}),{[p([112,114,105,111,114,105,116,121])]:p([104,105,103,104])}),r[p([111,110])](p([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),(t=>{d(t[p([114,101,116,117,114,110])])&&(c=!0,M(t[p([114,101,116,117,114,110])]))}),{[p([112,114,105,111,114,105,116,121])]:p([108,111,119])}),i[p([116,104,101,110])]((()=>{c||a(p([85,115,97,103,101,76,105,109,105,116]))}))}));function o(){return r[p([101,100,105,116,105,110,103])][p([118,105,101,119])][p([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==p([97,117,116,111])}function s(){r[p([101,100,105,116,105,110,103])][p([118,105,101,119])][p([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=p([97,117,116,111])}}(t[p([117,115,97,103,101,69,110,100,112,111,105,110,116])],t[p([106,116,105])])),await async function(){let t=!0;try{const r=s[p([115,112,108,105,116])](p([46])),[i,o,a]=r;return n(i),await e(i,o,a),t}catch{return!1}function n(n){const e=c(n);e&&e[p([97,108,103])]==p([69,83,50,53,54])||(t=!1)}async function e(n,e,r){const i=window[p([85,105,110,116,56,65,114,114,97,121])][p([102,114,111,109])](u(r),(t=>t[p([99,104,97,114,67,111,100,101,65,116])](0))),s=(new(window[p([84,101,120,116,69,110,99,111,100,101,114])]))[p([101,110,99,111,100,101])](n+p([46])+e),a=window[p([99,114,121,112,116,111])][p([115,117,98,116,108,101])];if(!a)return;const c=await a[p([105,109,112,111,114,116,75,101,121])](p([106,119,107]),o,{[p([110,97,109,101])]:p([69,67,68,83,65]),[p([110,97,109,101,100,67,117,114,118,101])]:p([80,45,50,53,54])},!1,[p([118,101,114,105,102,121])]);await a[p([118,101,114,105,102,121])]({[p([110,97,109,101])]:p([69,67,68,83,65]),[p([104,97,115,104])]:{[p([110,97,109,101])]:p([83,72,65,45,50,53,54])}},c,i,s)||(t=!1)}}()?function(){const n=t[p([102,101,97,116,117,114,101,115])];return!(!n||!n[p([105,110,99,108,117,100,101,115])](p([42]))&&!n[p([105,110,99,108,117,100,101,115])](p([70,80]))&&!n[p([105,110,99,108,117,100,101,115])](p([80,80])))}()?function(){const n=[p([101,118,97,108,117,97,116,105,111,110]),p([116,114,105,97,108])][p([105,110,99,108,117,100,101,115])](t[p([108,105,99,101,110,115,101,84,121,112,101])])?e/1e3:1748649600;return t[p([101,120,112])]<n}()?p([69,120,112,105,114,101,100]):function(){const n=O,e=t[p([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!e||0==e[p([108,101,110,103,116,104])])return!0;const{hostname:r}=new URL(window[p([108,111,99,97,116,105,111,110])][n(388)]);if(e[p([105,110,99,108,117,100,101,115])](r))return!0;const i=r[p([115,112,108,105,116])](p([46]));return e[p([102,105,108,116,101,114])]((t=>t[p([105,110,99,108,117,100,101,115])](p([42]))))[p([109,97,112])]((t=>t[p([115,112,108,105,116])](p([46]))))[p([115,111,109,101])]((t=>i[p([101,118,101,114,121])](((n,e)=>t[e]===n||t[e]===p([42])))))}()?(t[p([108,105,99,101,110,115,101,84,121,112,101])]==p([101,118,97,108,117,97,116,105,111,110])&&(n=a(p([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),t[p([108,105,99,101,110,115,101,84,121,112,101])]==p([116,114,105,97,108])&&(n=a(p([84,114,105,97,108,76,105,109,105,116]))),await(n&&d?new(window[p([80,114,111,109,105,115,101])])(((t,e)=>{n[p([116,104,101,110])](t,e),d[p([116,104,101,110])]((n=>{n!=p([86,97,108,105,100])&&t(n)}),e)})):n||d||p([86,97,108,105,100]))):p([68,111,109,97,105,110,76,105,109,105,116]):p([78,111,116,65,108,108,111,119,101,100]):p([73,110,118,97,108,105,100])):p([73,110,118,97,108,105,100]))}catch{return p([73,110,118,97,108,105,100])}}())}(this)}[Q(362)](t){const n=Q;this[n(420)][n(391)][n(387)][n(397)]((e=>{const r=n;for(const n of this[r(420)][r(391)][r(387)][r(392)][r(425)])t?e[r(410)](a,n):e[r(394)](a,n)}))}[Q(422)](){const t=Q,{editor:n}=this;n[t(364)](o),n.ui[t(347)][t(400)](Y(n[t(405)],t(348)))}[Q(365)](){const t=Q,{editor:n}=this,e=n[t(404)][t(396)](o)[t(367)];n[t(364)](s,e),n.ui[t(347)][t(400)](Y(n[t(405)],t(382)))}[Q(385)](){const t=Q;this[t(420)][t(404)][t(396)](o)[t(418)](),this[t(376)](l.global[t(379)][t(392)],t(411))}}var G=K;function V(){var t=["requires","3609iLSlgm","pluginName","1135242dzLypb","3119769pKeYjY","isOfficialPlugin","417102IroLso","isPremiumPlugin","8QyDOCM","21535116wQmhmT","1aQZffD","110oPysab","642169cFFHOL","FormatPainter","35WdguHn","352KiaWgm","4325888zbXDat"];return(V=function(){return t})()}function K(t,n){var e=V();return(K=function(t,n){return e[t-=274]})(t,n)}!function(t){for(var n=K,e=t();;)try{if(374665===parseInt(n(275))/1*(parseInt(n(285))/2)+-parseInt(n(283))/3*(-parseInt(n(280))/4)+parseInt(n(279))/5*(-parseInt(n(288))/6)+-parseInt(n(281))/7+parseInt(n(290))/8*(-parseInt(n(286))/9)+parseInt(n(276))/10*(-parseInt(n(277))/11)+parseInt(n(274))/12)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(V);class W extends t.Plugin{static get[G(282)](){return[y,_]}static get[G(284)](){return G(278)}static get[G(287)](){return!0}static get[G(289)](){return!0}}function R(t,n){var e=X();return(R=function(t,n){return e[t-=459]})(t,n)}function X(){var t=["503690lmxRGj","58010HhMgSv","2432384mvMbqt","68ETASww","7Droghr","7mssonH","1175010vUCmNV","6687StNpyk","1830PVNHZD","5263533zayZTM","11223FdoEsK"];return(X=function(){return t})()}!function(t){for(var n=R,e=t();;)try{if(153289===parseInt(n(461))/1*(parseInt(n(469))/2)+parseInt(n(467))/3*(-parseInt(n(460))/4)+-parseInt(n(468))/5+parseInt(n(463))/6*(-parseInt(n(462))/7)+-parseInt(n(459))/8+parseInt(n(464))/9*(parseInt(n(465))/10)+parseInt(n(466))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(X)})(),(window.CKEditor5=window.CKEditor5||{}).formatPainter=r})();
|
package/dist/index.js
CHANGED
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Command as
|
|
24
|
-
_0x12751e(_0x5d493d){static get['pluginName'](){return'FormatPainterUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x52a96=this['editor'];_0x52a96['editing']['view']['addObserver'](_0x52924a),_0x52a96['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':b(_0x52a96['locale'],'Copy\x20text\x20formatting'),'keystroke':'Ctrl+Alt+C'},{'label':b(_0x52a96['locale'],'Paste\x20text\x20formatting'),'keystroke':'Ctrl+Alt+V'}]}),_0x52a96['ui']['componentFactory']['add']('formatPainter',_0x6cc112=>{const _0x6aa52b=_0x462040(_0x6cc112,_0x52f9f9),_0x33b862=_0x52a96['commands']['get'](c);_0x6aa52b['buttonView']['set']({'label':b(_0x52a96['locale'],'Paint\x20formatting'),'icon':_0x5f1673,'keystroke':'Ctrl+Alt+C','tooltip':!0x0}),_0x6aa52b['class']='ck-format-painter-dropdown',_0x33b862&&(_0x6aa52b['bind']('isEnabled')['to'](_0x33b862,'isEnabled'),this['listenTo'](_0x33b862,'change:isEnabled',(_0x1e5ad6,_0x3a7d0b,_0x133636)=>{_0x133636||this['_finishPainting']();}),_0x6aa52b['buttonView']['bind']('isOn')['to'](_0x33b862,'value',_0x242968=>!!_0x242968),this['listenTo'](_0x52a96,'destroy',()=>this['_toggleSpecialCursor'](!0x1)),this['listenTo'](_0x33b862,'change:value',(_0x3fbb3b,_0x5f0296,_0x23e44a)=>{this['_toggleSpecialCursor'](!!_0x23e44a);}));const _0x598a46=new _0xd17cd5({'withText':!0x0,'label':b(_0x52a96['locale'],'Continuous\x20painting'),'tooltip':b(_0x52a96['locale'],'Keeps\x20the\x20painter\x20on\x20after\x20setting\x20the\x20formatting.'),'isOn':!0x1,'role':'menuitemcheckbox'});_0x499078(_0x6aa52b,new _0xd94cee([{'type':'switchbutton','model':_0x598a46}]),{'role':'menu'});const _0x1425b5=()=>{this['_copyFormatting'](),this['listenTo'](_0xaff3e7['window']['document'],'mouseup',()=>{this['_pasteFormatting'](),_0x598a46['isOn']||this['_finishPainting']();});};return this['listenTo'](_0x6aa52b,'execute',()=>{_0x598a46['isOn']=!_0x598a46['isOn'];}),this['listenTo'](_0x6aa52b['buttonView'],'execute',()=>{_0x52a96['editing']['view']['focus'](),_0x6aa52b['buttonView']['isOn']?this['_finishPainting']():_0x1425b5();}),_0x52a96['keystrokes']['set']('Ctrl+Alt+C',(_0x48eb84,_0x3c5db9)=>{_0x1425b5(),_0x598a46['isOn']=!0x0,_0x3c5db9();},{'priority':'high'}),_0x52a96['keystrokes']['set']('Ctrl+Alt+V',(_0x403867,_0x50f348)=>{_0x6aa52b['buttonView']['isOn']&&(this['_pasteFormatting'](),_0x598a46['isOn']||this['_finishPainting'](),_0x50f348());},{'priority':'high'}),_0x52a96['keystrokes']['set']('Esc',(_0x261f87,_0x319859)=>{_0x6aa52b['buttonView']['isOn']&&(_0x598a46['isOn']=!0x1,this['_finishPainting'](),_0x319859());}),_0x6aa52b;});}['afterInit'](){!async function(_0x117140){const _0x39bddf=_0xb05cd5([0x54,0x36,0x62,0x6f,0x31,0x6c,0x73,0x72,0x59,0x70,0x6e,0x47,0x4b,0x4c,0x6b,0x38,0x4e,0x37,0x75,0x34,0x78,0x4d,0x76,0x51,0x69,0x43,0x49,0x35,0x55,0x77,0x42,0x68,0x67,0x79,0x53,0x44,0x74,0x30,0x71,0x7a,0x4f,0x45,0x39,0x48,0x65,0x64,0x33,0x63,0x32,0x66,0x56,0x61,0x57,0x41,0x4a,0x58,0x52,0x6a,0x6d,0x46,0x5a,0x50]),_0x49d7fd=0x2f1d987b,_0x1335cf=0x2f1af12b^_0x49d7fd,_0x58f778=window[_0xb05cd5([0x44,0x61,0x74,0x65])][_0xb05cd5([0x6e,0x6f,0x77])](),_0x26f9f3=_0x117140[_0xb05cd5([0x65,0x64,0x69,0x74,0x6f,0x72])],_0xdfd9b4=new window[(_0xb05cd5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x10471e=>{_0x26f9f3[_0xb05cd5([0x6f,0x6e,0x63,0x65])](_0xb05cd5([0x72,0x65,0x61,0x64,0x79]),_0x10471e);}),_0x269839={[_0xb05cd5([0x6b,0x74,0x79])]:_0xb05cd5([0x45,0x43]),[_0xb05cd5([0x75,0x73,0x65])]:_0xb05cd5([0x73,0x69,0x67]),[_0xb05cd5([0x63,0x72,0x76])]:_0xb05cd5([0x50,0x2d,0x32,0x35,0x36]),[_0xb05cd5([0x78])]:_0xb05cd5([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]),[_0xb05cd5([0x79])]:_0xb05cd5([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]),[_0xb05cd5([0x61,0x6c,0x67])]:_0xb05cd5([0x45,0x53,0x32,0x35,0x36])},_0x58376e=_0x26f9f3[_0xb05cd5([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0xb05cd5([0x67,0x65,0x74])](_0xb05cd5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x2b1291(){let _0x5a3fa2,_0x3b1128=null,_0x2b2d5=null;try{if(_0x58376e==_0xb05cd5([0x47,0x50,0x4c]))return _0xb05cd5([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x5a3fa2=_0x510ff4(),!_0x5a3fa2)return _0xb05cd5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x5a3fa2[_0xb05cd5([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2b2d5=_0x2d561c(_0x5a3fa2[_0xb05cd5([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x5a3fa2[_0xb05cd5([0x6a,0x74,0x69])])),await _0x5d3147()?_0x1e4cec()?_0x5423a3()?_0xb05cd5([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0xa286e3()?(_0x5a3fa2[_0xb05cd5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xb05cd5([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3b1128=_0x42aec5(_0xb05cd5([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x5a3fa2[_0xb05cd5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xb05cd5([0x74,0x72,0x69,0x61,0x6c])&&(_0x3b1128=_0x42aec5(_0xb05cd5([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x1987d9()):_0xb05cd5([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0xb05cd5([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0xb05cd5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0xb05cd5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x5423a3(){const _0x664197=[_0xb05cd5([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0xb05cd5([0x74,0x72,0x69,0x61,0x6c])][_0xb05cd5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5a3fa2[_0xb05cd5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x58f778/0x3e8:0xe10*_0x1335cf;return _0x5a3fa2[_0xb05cd5([0x65,0x78,0x70])]<_0x664197;}function _0x1e4cec(){const _0x4f1e4e=_0x5a3fa2[_0xb05cd5([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4f1e4e&&(!!_0x4f1e4e[_0xb05cd5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xb05cd5([0x2a]))||(!!_0x4f1e4e[_0xb05cd5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xb05cd5([0x46,0x50]))||!!_0x4f1e4e[_0xb05cd5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xb05cd5([0x50,0x50]))));}function _0xa286e3(){const _0x5b652e=_0x5a3fa2[_0xb05cd5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5b652e||0x0==_0x5b652e[_0xb05cd5([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1509cf}=new URL(window[_0xb05cd5([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x5b652e[_0xb05cd5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1509cf))return!0x0;const _0x4d8e58=_0x1509cf[_0xb05cd5([0x73,0x70,0x6c,0x69,0x74])](_0xb05cd5([0x2e]));return _0x5b652e[_0xb05cd5([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x55c78b=>_0x55c78b[_0xb05cd5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xb05cd5([0x2a])))[_0xb05cd5([0x6d,0x61,0x70])](_0x2c4487=>_0x2c4487[_0xb05cd5([0x73,0x70,0x6c,0x69,0x74])](_0xb05cd5([0x2e])))[_0xb05cd5([0x73,0x6f,0x6d,0x65])](_0x5169eb=>_0x4d8e58[_0xb05cd5([0x65,0x76,0x65,0x72,0x79])]((_0x237d2f,_0x54d401)=>_0x5169eb[_0x54d401]===_0x237d2f||_0x5169eb[_0x54d401]===_0xb05cd5([0x2a])));}function _0x1987d9(){return _0x3b1128&&_0x2b2d5?new window[(_0xb05cd5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3d0edd,_0x2e50b1)=>{_0x3b1128[_0xb05cd5([0x74,0x68,0x65,0x6e])](_0x3d0edd,_0x2e50b1),_0x2b2d5[_0xb05cd5([0x74,0x68,0x65,0x6e])](_0x582512=>{_0x582512!=_0xb05cd5([0x56,0x61,0x6c,0x69,0x64])&&_0x3d0edd(_0x582512);},_0x2e50b1);}):_0x3b1128||_0x2b2d5||_0xb05cd5([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2d561c(_0x4c1d16,_0x165b9b){return new window[(_0xb05cd5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x55ab3d=>{if(_0x56d88d())return _0x55ab3d(_0xb05cd5([0x56,0x61,0x6c,0x69,0x64]));_0x277895(),_0x26f9f3[_0xb05cd5([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0xb05cd5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1c07c8=!0x1;const _0x37f793=_0x3d66a9();function _0x232c25(_0x4ff530){return!!_0x4ff530&&(typeof _0x4ff530===_0xb05cd5([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4ff530===_0xb05cd5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4ff530[_0xb05cd5([0x74,0x68,0x65,0x6e])]===_0xb05cd5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4ff530[_0xb05cd5([0x63,0x61,0x74,0x63,0x68])]===_0xb05cd5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x426f4b(_0x3e1376){_0x342237(_0x3e1376)[_0xb05cd5([0x74,0x68,0x65,0x6e])](_0x48ac3f=>{if(!_0x48ac3f||_0x48ac3f[_0xb05cd5([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0xb05cd5([0x6f,0x6b]))return _0xb05cd5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3497ae(_0x3c3cf6(_0x37f793+_0x165b9b))!=_0x48ac3f[_0xb05cd5([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0xb05cd5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0xb05cd5([0x56,0x61,0x6c,0x69,0x64]);})[_0xb05cd5([0x74,0x68,0x65,0x6e])](_0x5593d8=>(_0x48f2c1(),_0x5593d8),()=>{const _0x2befb3=_0x42e946();return null==_0x2befb3?(_0x48f2c1(),_0xb05cd5([0x56,0x61,0x6c,0x69,0x64])):_0xb05cd5(_0x58f778-_0x2befb3>(0xb111c7b^_0x49d7fd)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0xb05cd5([0x74,0x68,0x65,0x6e])](_0x55ab3d)[_0xb05cd5([0x63,0x61,0x74,0x63,0x68])](()=>{_0x55ab3d(_0xb05cd5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2b7d27=0x2f2b76fb^_0x49d7fd;function _0x48f2c1(){const _0x32debc=_0xb05cd5([0x6c,0x6c,0x63,0x74,0x2d])+_0x3497ae(_0x3c3cf6(_0x4c1d16)),_0x56c977=_0x293bfa(_0x3497ae(window[_0xb05cd5([0x4d,0x61,0x74,0x68])][_0xb05cd5([0x63,0x65,0x69,0x6c])](_0x58f778/_0x2b7d27)));window[_0xb05cd5([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xb05cd5([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x32debc,_0x56c977);}function _0x42e946(){const _0x46ef69=_0xb05cd5([0x6c,0x6c,0x63,0x74,0x2d])+_0x3497ae(_0x3c3cf6(_0x4c1d16)),_0x16b742=window[_0xb05cd5([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xb05cd5([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x46ef69);return _0x16b742?window[_0xb05cd5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x293bfa(_0x16b742),0x10)*_0x2b7d27:null;}function _0x342237(_0x51cfb1){return new window[(_0xb05cd5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x446375,_0x4e67c7)=>{_0x51cfb1[_0xb05cd5([0x74,0x68,0x65,0x6e])](_0x446375,_0x4e67c7),window[_0xb05cd5([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4e67c7,0x2f1c4cbb^_0x49d7fd);});}}_0x26f9f3[_0xb05cd5([0x6f,0x6e])](_0xb05cd5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x7e0332,_0xe0cf69)=>{if(_0xe0cf69[0x0]!=_0x4c1d16)return _0x55ab3d(_0xb05cd5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0xe0cf69[0x1]={..._0xe0cf69[0x1],[_0xb05cd5([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x37f793};},{[_0xb05cd5([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xb05cd5([0x68,0x69,0x67,0x68])}),_0x26f9f3[_0xb05cd5([0x6f,0x6e])](_0xb05cd5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2f120b=>{_0x232c25(_0x2f120b[_0xb05cd5([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1c07c8=!0x0,_0x426f4b(_0x2f120b[_0xb05cd5([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0xb05cd5([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xb05cd5([0x6c,0x6f,0x77])}),_0xdfd9b4[_0xb05cd5([0x74,0x68,0x65,0x6e])](()=>{_0x1c07c8||_0x55ab3d(_0xb05cd5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x56d88d(){return _0x26f9f3[_0xb05cd5([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xb05cd5([0x76,0x69,0x65,0x77])][_0xb05cd5([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0xb05cd5([0x61,0x75,0x74,0x6f]);}function _0x277895(){_0x26f9f3[_0xb05cd5([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xb05cd5([0x76,0x69,0x65,0x77])][_0xb05cd5([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0xb05cd5([0x61,0x75,0x74,0x6f]);}}function _0x42aec5(_0x5cdcd4){const _0x33090d=[new window[(_0xb05cd5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x7e85a8=>setTimeout(_0x7e85a8,0x2f14a6b7^_0x49d7fd)),_0xdfd9b4[_0xb05cd5([0x74,0x68,0x65,0x6e])](()=>new window[(_0xb05cd5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x309b3c=>{let _0xbd5598=0x0;_0x26f9f3[_0xb05cd5([0x6d,0x6f,0x64,0x65,0x6c])][_0xb05cd5([0x6f,0x6e])](_0xb05cd5([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x241ec3,_0x1061c9)=>{_0x1061c9[0x0][_0xb05cd5([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xbd5598++,_0xbd5598==(0x2f1d9983^_0x49d7fd)&&(_0x309b3c(),_0x241ec3[_0xb05cd5([0x6f,0x66,0x66])]());});}))];return window[_0xb05cd5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0xb05cd5([0x72,0x61,0x63,0x65])](_0x33090d)[_0xb05cd5([0x74,0x68,0x65,0x6e])](()=>_0x5cdcd4);}async function _0x47c8a3(){await _0xdfd9b4,_0x26f9f3[_0xb05cd5([0x6d,0x6f,0x64,0x65,0x6c])][_0xb05cd5([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x341b6c,_0x26f9f3[_0xb05cd5([0x6d,0x6f,0x64,0x65,0x6c])][_0xb05cd5([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x341b6c,_0x26f9f3[_0xb05cd5([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0xb05cd5([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1e555f(_0x495120){const _0x39e09f=_0x3fcad4();_0x26f9f3[_0x39e09f]=_0xb05cd5([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x495120,_0x495120!=_0xb05cd5([0x56,0x61,0x6c,0x69,0x64])&&_0x47c8a3();}function _0x3fcad4(){const _0x374309=window[_0xb05cd5([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0xb05cd5([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0xb05cd5([0x6e,0x6f,0x77])]())[_0xb05cd5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0xb05cd5([0x2e]),'');let _0x21a829=_0xb05cd5([0x54]);for(let _0x44f760=0x0;_0x44f760<_0x374309[_0xb05cd5([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x44f760+=0x2){let _0x4aa08c=window[_0xb05cd5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x374309[_0xb05cd5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x44f760,_0x44f760+0x2));_0x4aa08c>=_0x39bddf[_0xb05cd5([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4aa08c-=_0x39bddf[_0xb05cd5([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x21a829+=_0x39bddf[_0x4aa08c];}return _0x21a829;}function _0x510ff4(){const _0xf29b32=_0x58376e[_0xb05cd5([0x73,0x70,0x6c,0x69,0x74])](_0xb05cd5([0x2e]));if(0x3!=_0xf29b32[_0xb05cd5([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x423461(_0xf29b32[0x1]);function _0x423461(_0x46d78c){const _0x18985a=_0xd2b24d(_0x46d78c);return _0x18985a&&_0x633a82()?_0x18985a:null;function _0x633a82(){const _0x51cdca=_0x18985a[_0xb05cd5([0x6a,0x74,0x69])],_0x5cf27f=window[_0xb05cd5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x51cdca[_0xb05cd5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x51cdca[_0xb05cd5([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0xb8526b={..._0x18985a,[_0xb05cd5([0x6a,0x74,0x69])]:_0x51cdca[_0xb05cd5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x51cdca[_0xb05cd5([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0xb8526b[_0xb05cd5([0x76,0x63])],_0x3c3cf6(_0xb8526b)==_0x5cf27f;}}}async function _0x5d3147(){let _0x3f947d=!0x0;try{const _0x5f47ba=_0x58376e[_0xb05cd5([0x73,0x70,0x6c,0x69,0x74])](_0xb05cd5([0x2e])),[_0x4092c5,_0x4a190a,_0x3487a3]=_0x5f47ba;return _0x30bbff(_0x4092c5),await _0x1c20b0(_0x4092c5,_0x4a190a,_0x3487a3),_0x3f947d;}catch{return!0x1;}function _0x30bbff(_0x441fc5){const _0x45a131=_0xd2b24d(_0x441fc5);_0x45a131&&_0x45a131[_0xb05cd5([0x61,0x6c,0x67])]==_0xb05cd5([0x45,0x53,0x32,0x35,0x36])||(_0x3f947d=!0x1);}async function _0x1c20b0(_0x5e6415,_0x2a7655,_0x147517){const _0x4b60b2=window[_0xb05cd5([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0xb05cd5([0x66,0x72,0x6f,0x6d])](_0x40494c(_0x147517),_0x3f4072=>_0x3f4072[_0xb05cd5([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3afb30=new window[(_0xb05cd5([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0xb05cd5([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5e6415+_0xb05cd5([0x2e])+_0x2a7655),_0x6f4505=window[_0xb05cd5([0x63,0x72,0x79,0x70,0x74,0x6f])][_0xb05cd5([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x6f4505)return;const _0x29e0ea=await _0x6f4505[_0xb05cd5([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0xb05cd5([0x6a,0x77,0x6b]),_0x269839,{[_0xb05cd5([0x6e,0x61,0x6d,0x65])]:_0xb05cd5([0x45,0x43,0x44,0x53,0x41]),[_0xb05cd5([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0xb05cd5([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0xb05cd5([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x6f4505[_0xb05cd5([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0xb05cd5([0x6e,0x61,0x6d,0x65])]:_0xb05cd5([0x45,0x43,0x44,0x53,0x41]),[_0xb05cd5([0x68,0x61,0x73,0x68])]:{[_0xb05cd5([0x6e,0x61,0x6d,0x65])]:_0xb05cd5([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x29e0ea,_0x4b60b2,_0x3afb30)||(_0x3f947d=!0x1);}}function _0xd2b24d(_0x2e1ce6){return _0x2e1ce6[_0xb05cd5([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0xb05cd5([0x65,0x79]))?JSON[_0xb05cd5([0x70,0x61,0x72,0x73,0x65])](_0x40494c(_0x2e1ce6)):null;}function _0x40494c(_0x4292bf){return window[_0xb05cd5([0x61,0x74,0x6f,0x62])](_0x4292bf[_0xb05cd5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0xb05cd5([0x2b]))[_0xb05cd5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0xb05cd5([0x2f])));}function _0x3c3cf6(_0x140f6b){let _0x5a397d=0x1505;function _0x56ba8b(_0x34c66d){for(let _0x43fda4=0x0;_0x43fda4<_0x34c66d[_0xb05cd5([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x43fda4++){const _0x5bad54=_0x34c66d[_0xb05cd5([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x43fda4);_0x5a397d=(_0x5a397d<<0x5)+_0x5a397d+_0x5bad54,_0x5a397d&=_0x5a397d;}}function _0x532ec1(_0x53441f){Array[_0xb05cd5([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x53441f)?_0x53441f[_0xb05cd5([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x532ec1):_0x53441f&&typeof _0x53441f==_0xb05cd5([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0xb05cd5([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x53441f)[_0xb05cd5([0x73,0x6f,0x72,0x74])]()[_0xb05cd5([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x1d780e,_0x392854])=>{_0x56ba8b(_0x1d780e),_0x532ec1(_0x392854);}):_0x56ba8b(window[_0xb05cd5([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x53441f));}return _0x532ec1(_0x140f6b),_0x5a397d>>>0x0;}function _0x3497ae(_0x4505f8){return _0x4505f8[_0xb05cd5([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0xb05cd5([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0xb05cd5([0x30]));}function _0x293bfa(_0x301611){return _0x301611[_0xb05cd5([0x73,0x70,0x6c,0x69,0x74])]('')[_0xb05cd5([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0xb05cd5([0x6a,0x6f,0x69,0x6e])]('');}function _0x341b6c(){}function _0xb05cd5(_0x131ea0){return _0x131ea0['map'](_0x4aa58f=>String['fromCharCode'](_0x4aa58f))['join']('');}_0x1e555f(await _0x2b1291());}(this);}['_toggleSpecialCursor'](_0x3398d0){this['editor']['editing']['view']['change'](_0x5543f4=>{for(const _0x1faedc of this['editor']['editing']['view']['document']['roots'])_0x3398d0?_0x5543f4['addClass'](C,_0x1faedc):_0x5543f4['removeClass'](C,_0x1faedc);});}['_copyFormatting'](){const {editor:_0x1a4100}=this;_0x1a4100['execute'](c),_0x1a4100['ui']['ariaLiveAnnouncer']['announce'](b(_0x1a4100['locale'],'Formatting\x20copied.'));}['_pasteFormatting'](){const {editor:_0x47f0cb}=this,_0x55fdb7=_0x47f0cb['commands']['get'](c)['value'];_0x47f0cb['execute'](e,_0x55fdb7),_0x47f0cb['ui']['ariaLiveAnnouncer']['announce'](b(_0x47f0cb['locale'],'Pasted\x20formatting.'));}['_finishPainting'](){this['editor']['commands']['get'](c)['reset'](),this['stopListening'](_0xaff3e7['window']['document'],'mouseup');}}class n extends _0x5d493d{static get['requires'](){return[a,m];}static get['pluginName'](){return'FormatPainter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{r as CopyFormatCommand,n as FormatPainter,a as FormatPainterEditing,m as FormatPainterUI,o as PasteFormatCommand};
|
|
23
|
+
import{Command as _0x19ff8a,Plugin as _0x1130ef}from'@ckeditor/ckeditor5-core/dist/index.js';import{first as _0x313297,DomEmitterMixin as _0x2715e9,Collection as _0x9f3c9b,global as _0x3bd0bb,uid as _0x193a5a}from'@ckeditor/ckeditor5-utils/dist/index.js';import{createDropdown as _0x1ed2cc,SplitButtonView as _0x444a72,ViewModel as _0x2e00a7,addListToDropdown as _0x29bfab}from'@ckeditor/ckeditor5-ui/dist/index.js';import{ClickObserver as _0x4ba859}from'@ckeditor/ckeditor5-engine/dist/index.js';import{IconPaintRoller as _0x8af684}from'@ckeditor/ckeditor5-icons/dist/index.js';const c='copyFormat',e='pasteFormat',C='ck-format-painter-active';class r extends _0x19ff8a{constructor(_0x115f63){super(_0x115f63),this['value']=void 0x0,this['on']('change:isEnabled',(_0x48bcfa,_0x476cd4,_0x47301b)=>{_0x47301b||this['reset']();}),this['on']('change:value',()=>_0x115f63['commands']['get'](e)['refresh']());}['execute'](){this['value']=this['_getFormattingAttributes']();}['reset'](){this['value']=void 0x0;}['_getFormattingAttributes'](){const _0x193897=this['editor']['model'],_0xc2d53c=_0x193897['document']['selection'];return Object['fromEntries'](Array['from'](_0xc2d53c['getAttributes']())['filter'](([_0x5c8f65])=>_0x193897['schema']['getAttributeProperties'](_0x5c8f65)['isFormatting']));}}class o extends _0x19ff8a{constructor(_0x55295d){super(_0x55295d),this['_removeFormatCommand']=new _(_0x55295d);}['execute'](_0x4fde8f={}){const _0x49ceb4=this['editor']['model'],_0x53bd78=_0x49ceb4['document']['selection'],_0x3a6730=Array['from'](_0x53bd78['getRanges']()),_0x588d54=_0x53bd78['isCollapsed']?[this['_createRangeOnEntireWord'](_0x49ceb4,_0x53bd78)]:_0x3a6730;_0x49ceb4['change'](_0x288bdd=>{_0x288bdd['setSelection'](_0x588d54),this['_removeFormatCommand']['execute']();for(const _0x3d132f in _0x4fde8f)for(const _0x49e0e0 of _0x49ceb4['schema']['getValidRanges'](_0x588d54,_0x3d132f))_0x288bdd['setAttribute'](_0x3d132f,_0x4fde8f[_0x3d132f],_0x49e0e0);_0x288bdd['setSelection'](_0x3a6730);});}['_createRangeOnEntireWord'](_0x2ca9ec,_0xe6ec20){const _0x5768ca=_0x2ca9ec['createSelection'](_0xe6ec20);_0x2ca9ec['modifySelection'](_0x5768ca,{'unit':'word','direction':'backward'});const _0x1c8a84=_0x5768ca['getFirstPosition']();_0x2ca9ec['modifySelection'](_0x5768ca,{'unit':'word','direction':'forward'});const _0xc76534=_0x5768ca['getLastPosition']();return _0x2ca9ec['createRange'](_0x1c8a84,_0xc76534);}}class _ extends _0x19ff8a{['execute'](){const _0xffbd13=this['editor']['model'],_0x10425b=_0xffbd13['schema'];_0xffbd13['change'](_0x3a6cdc=>{for(const _0x21061f of this['_getFormattingItems'](_0xffbd13['document']['selection'],_0x10425b))if(_0x21061f['is']('selection')){for(const _0x11927e of this['_getFormattingAttributes'](_0x21061f,_0x10425b))_0x3a6cdc['removeSelectionAttribute'](_0x11927e);}else{const _0x3f9471=_0x3a6cdc['createRangeOn'](_0x21061f);for(const _0x4c3af5 of this['_getFormattingAttributes'](_0x21061f,_0x10425b))_0x3a6cdc['removeAttribute'](_0x4c3af5,_0x3f9471);}});}*['_getFormattingItems'](_0x9c946e,_0x3e04a8){const _0x1134dc=_0x2b2903=>!!_0x313297(this['_getFormattingAttributes'](_0x2b2903,_0x3e04a8));for(const _0x493665 of _0x9c946e['getRanges']())for(const _0x4eefb0 of _0x493665['getItems']())!_0x3e04a8['isBlock'](_0x4eefb0)&&_0x1134dc(_0x4eefb0)&&(yield _0x4eefb0);for(const _0x2fe3e4 of _0x9c946e['getSelectedBlocks']())_0x1134dc(_0x2fe3e4)&&(yield _0x2fe3e4);_0x1134dc(_0x9c946e)&&(yield _0x9c946e);}*['_getFormattingAttributes'](_0x4e3798,_0x535dab){for(const [_0x2e57b7]of _0x4e3798['getAttributes']()){const _0x341305=_0x535dab['getAttributeProperties'](_0x2e57b7);_0x341305&&_0x341305['isFormatting']&&(yield _0x2e57b7);}}}class a extends _0x1130ef{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FormatPainterEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x3b5661=this['editor'];_0x3b5661['commands']['add'](c,new r(_0x3b5661)),_0x3b5661['commands']['add'](e,new o(_0x3b5661)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x1ccfe2=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x30058d;for(const _0x118eb2 in _0x1ccfe2){const _0x31035e=_0x118eb2,_0x210589=_0x1ccfe2[_0x31035e];if('formatPainterLicenseKeyValid'==_0x210589||'formatPainterLicenseKeyInvalid'==_0x210589||'formatPainterLicenseKeyExpired'==_0x210589||'formatPainterLicenseKeyDomainLimit'==_0x210589||'formatPainterLicenseKeyNotAllowed'==_0x210589||'formatPainterLicenseKeyEvaluationLimit'==_0x210589||'formatPainterLicenseKeyTrialLimit'==_0x210589||'formatPainterLicenseKeyUsageLimit'==_0x210589){delete _0x1ccfe2[_0x31035e],_0x30058d=_0x210589,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'formatPainterLicenseKeyInvalid'==_0x30058d&&_0x1ccfe2['_showLicenseError']('invalid'),'formatPainterLicenseKeyExpired'==_0x30058d&&_0x1ccfe2['_showLicenseError']('expired'),'formatPainterLicenseKeyDomainLimit'==_0x30058d&&_0x1ccfe2['_showLicenseError']('domainLimit'),'formatPainterLicenseKeyNotAllowed'==_0x30058d&&_0x1ccfe2['_showLicenseError']('featureNotAllowed','FormatPainter'),'formatPainterLicenseKeyEvaluationLimit'==_0x30058d&&_0x1ccfe2['_showLicenseError']('evaluationLimit'),'formatPainterLicenseKeyTrialLimit'==_0x30058d&&_0x1ccfe2['_showLicenseError']('trialLimit'),'formatPainterLicenseKeyUsageLimit'==_0x30058d&&_0x1ccfe2['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function b(_0x19a782,_0x42e6e8){const t=_0x19a782['t'];switch(_0x42e6e8){case'Paint\x20formatting':return t('Paint\x20formatting');case'Copy\x20text\x20formatting':return t('Copy\x20text\x20formatting');case'Paste\x20text\x20formatting':return t('Paste\x20text\x20formatting');case'Continuous\x20painting':return t('Continuous\x20painting');case'Keeps\x20the\x20painter\x20on\x20after\x20setting\x20the\x20formatting.':return t('Keeps\x20the\x20painter\x20on\x20after\x20setting\x20the\x20formatting.');case'Formatting\x20copied.':return t('Formatting\x20copied.');case'Pasted\x20formatting.':return t('Pasted\x20formatting.');default:return _0x42e6e8;}}class m extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x2715e9(_0x1130ef){static get['pluginName'](){return'FormatPainterUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x5ee41c=this['editor'];_0x5ee41c['editing']['view']['addObserver'](_0x4ba859),_0x5ee41c['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':b(_0x5ee41c['locale'],'Copy\x20text\x20formatting'),'keystroke':'Ctrl+Alt+C'},{'label':b(_0x5ee41c['locale'],'Paste\x20text\x20formatting'),'keystroke':'Ctrl+Alt+V'}]}),_0x5ee41c['ui']['componentFactory']['add']('formatPainter',_0x5cdb57=>{const _0x5f0611=_0x1ed2cc(_0x5cdb57,_0x444a72),_0x399105=_0x5ee41c['commands']['get'](c);_0x5f0611['buttonView']['set']({'label':b(_0x5ee41c['locale'],'Paint\x20formatting'),'icon':_0x8af684,'keystroke':'Ctrl+Alt+C','tooltip':!0x0}),_0x5f0611['class']='ck-format-painter-dropdown',_0x399105&&(_0x5f0611['bind']('isEnabled')['to'](_0x399105,'isEnabled'),this['listenTo'](_0x399105,'change:isEnabled',(_0x41c29f,_0x2f74cc,_0x4c750c)=>{_0x4c750c||this['_finishPainting']();}),_0x5f0611['buttonView']['bind']('isOn')['to'](_0x399105,'value',_0x31690f=>!!_0x31690f),this['listenTo'](_0x5ee41c,'destroy',()=>this['_toggleSpecialCursor'](!0x1)),this['listenTo'](_0x399105,'change:value',(_0x28876a,_0x34a37e,_0x6891ee)=>{this['_toggleSpecialCursor'](!!_0x6891ee);}));const _0x54283b=new _0x2e00a7({'withText':!0x0,'label':b(_0x5ee41c['locale'],'Continuous\x20painting'),'tooltip':b(_0x5ee41c['locale'],'Keeps\x20the\x20painter\x20on\x20after\x20setting\x20the\x20formatting.'),'isOn':!0x1,'role':'menuitemcheckbox'});_0x29bfab(_0x5f0611,new _0x9f3c9b([{'type':'switchbutton','model':_0x54283b}]),{'role':'menu'});const _0x367042=()=>{this['_copyFormatting'](),this['listenTo'](_0x3bd0bb['window']['document'],'mouseup',()=>{this['_pasteFormatting'](),_0x54283b['isOn']||this['_finishPainting']();});};return this['listenTo'](_0x5f0611,'execute',()=>{_0x54283b['isOn']=!_0x54283b['isOn'];}),this['listenTo'](_0x5f0611['buttonView'],'execute',()=>{_0x5ee41c['editing']['view']['focus'](),_0x5f0611['buttonView']['isOn']?this['_finishPainting']():_0x367042();}),_0x5ee41c['keystrokes']['set']('Ctrl+Alt+C',(_0x205016,_0x35a24c)=>{_0x367042(),_0x54283b['isOn']=!0x0,_0x35a24c();},{'priority':'high'}),_0x5ee41c['keystrokes']['set']('Ctrl+Alt+V',(_0x2c94dd,_0x4f5c40)=>{_0x5f0611['buttonView']['isOn']&&(this['_pasteFormatting'](),_0x54283b['isOn']||this['_finishPainting'](),_0x4f5c40());},{'priority':'high'}),_0x5ee41c['keystrokes']['set']('Esc',(_0xa83499,_0x243615)=>{_0x5f0611['buttonView']['isOn']&&(_0x54283b['isOn']=!0x1,this['_finishPainting'](),_0x243615());}),_0x5f0611;});}['afterInit'](){!async function(_0x22f44f){const _0xbdc478=_0x52f381([0x75,0x44,0x77,0x36,0x64,0x56,0x6e,0x59,0x4a,0x53,0x57,0x6d,0x52,0x30,0x6a,0x61,0x76,0x45,0x32,0x48,0x4b,0x33,0x42,0x69,0x55,0x37,0x6c,0x46,0x62,0x68,0x74,0x7a,0x70,0x4f,0x41,0x78,0x31,0x65,0x79,0x34,0x63,0x39,0x67,0x5a,0x50,0x6f,0x54,0x4e,0x73,0x35,0x47,0x72,0x4c,0x38,0x58,0x51,0x6b,0x66,0x71,0x4d,0x43,0x49]),_0xf6e9f1=0x502b8039,_0x210daf=0x502ce951^_0xf6e9f1,_0x31fd43=window[_0x52f381([0x44,0x61,0x74,0x65])][_0x52f381([0x6e,0x6f,0x77])](),_0x2b88f4=_0x22f44f[_0x52f381([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x433a18=new window[(_0x52f381([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x87646b=>{_0x2b88f4[_0x52f381([0x6f,0x6e,0x63,0x65])](_0x52f381([0x72,0x65,0x61,0x64,0x79]),_0x87646b);}),_0x370429={[_0x52f381([0x6b,0x74,0x79])]:_0x52f381([0x45,0x43]),[_0x52f381([0x75,0x73,0x65])]:_0x52f381([0x73,0x69,0x67]),[_0x52f381([0x63,0x72,0x76])]:_0x52f381([0x50,0x2d,0x32,0x35,0x36]),[_0x52f381([0x78])]:_0x52f381([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x52f381([0x79])]:_0x52f381([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x52f381([0x61,0x6c,0x67])]:_0x52f381([0x45,0x53,0x32,0x35,0x36])},_0x2187f9=_0x2b88f4[_0x52f381([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x52f381([0x67,0x65,0x74])](_0x52f381([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x553c02(){let _0x160d6a,_0x3b4a2a=null,_0x2792f5=null;try{if(_0x2187f9==_0x52f381([0x47,0x50,0x4c]))return _0x52f381([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x160d6a=_0x234116(),!_0x160d6a)return _0x52f381([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x160d6a[_0x52f381([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2792f5=_0x28dd5e(_0x160d6a[_0x52f381([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x160d6a[_0x52f381([0x6a,0x74,0x69])])),await _0x102ac8()?_0x42d233()?_0x115081()?_0x52f381([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5f3709()?(_0x160d6a[_0x52f381([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x52f381([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3b4a2a=_0x47e635(_0x52f381([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x160d6a[_0x52f381([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x52f381([0x74,0x72,0x69,0x61,0x6c])&&(_0x3b4a2a=_0x47e635(_0x52f381([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x44514f()):_0x52f381([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x52f381([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x52f381([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x52f381([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x115081(){const _0x1efcf5=[_0x52f381([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x52f381([0x74,0x72,0x69,0x61,0x6c])][_0x52f381([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x160d6a[_0x52f381([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x31fd43/0x3e8:0xe10*_0x210daf;return _0x160d6a[_0x52f381([0x65,0x78,0x70])]<_0x1efcf5;}function _0x42d233(){const _0x629384=_0x160d6a[_0x52f381([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x629384&&(!!_0x629384[_0x52f381([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x52f381([0x2a]))||(!!_0x629384[_0x52f381([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x52f381([0x46,0x50]))||!!_0x629384[_0x52f381([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x52f381([0x50,0x50]))));}function _0x5f3709(){const _0x3e3399=_0x160d6a[_0x52f381([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3e3399||0x0==_0x3e3399[_0x52f381([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1cea94}=new URL(window[_0x52f381([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x3e3399[_0x52f381([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1cea94))return!0x0;const _0x3d57c6=_0x1cea94[_0x52f381([0x73,0x70,0x6c,0x69,0x74])](_0x52f381([0x2e]));return _0x3e3399[_0x52f381([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x6a059a=>_0x6a059a[_0x52f381([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x52f381([0x2a])))[_0x52f381([0x6d,0x61,0x70])](_0x1a958c=>_0x1a958c[_0x52f381([0x73,0x70,0x6c,0x69,0x74])](_0x52f381([0x2e])))[_0x52f381([0x73,0x6f,0x6d,0x65])](_0x3da792=>_0x3d57c6[_0x52f381([0x65,0x76,0x65,0x72,0x79])]((_0x41d82a,_0x4737fe)=>_0x3da792[_0x4737fe]===_0x41d82a||_0x3da792[_0x4737fe]===_0x52f381([0x2a])));}function _0x44514f(){return _0x3b4a2a&&_0x2792f5?new window[(_0x52f381([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x175dd4,_0x495c1c)=>{_0x3b4a2a[_0x52f381([0x74,0x68,0x65,0x6e])](_0x175dd4,_0x495c1c),_0x2792f5[_0x52f381([0x74,0x68,0x65,0x6e])](_0x905b8=>{_0x905b8!=_0x52f381([0x56,0x61,0x6c,0x69,0x64])&&_0x175dd4(_0x905b8);},_0x495c1c);}):_0x3b4a2a||_0x2792f5||_0x52f381([0x56,0x61,0x6c,0x69,0x64]);}}function _0x28dd5e(_0x1d160d,_0x78f074){return new window[(_0x52f381([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1e5896=>{if(_0x9a4199())return _0x1e5896(_0x52f381([0x56,0x61,0x6c,0x69,0x64]));_0x232a8d(),_0x2b88f4[_0x52f381([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x52f381([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4cd7ab=!0x1;const _0x455dde=_0x193a5a();function _0x75a3be(_0x56638b){return!!_0x56638b&&(typeof _0x56638b===_0x52f381([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x56638b===_0x52f381([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x56638b[_0x52f381([0x74,0x68,0x65,0x6e])]===_0x52f381([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x56638b[_0x52f381([0x63,0x61,0x74,0x63,0x68])]===_0x52f381([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3a632c(_0x3af653){_0x119aef(_0x3af653)[_0x52f381([0x74,0x68,0x65,0x6e])](_0x411051=>{if(!_0x411051||_0x411051[_0x52f381([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x52f381([0x6f,0x6b]))return _0x52f381([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4afdd8(_0x5355cf(_0x455dde+_0x78f074))!=_0x411051[_0x52f381([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x52f381([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x52f381([0x56,0x61,0x6c,0x69,0x64]);})[_0x52f381([0x74,0x68,0x65,0x6e])](_0x43a8d3=>(_0x223a7b(),_0x43a8d3),()=>{const _0x25533d=_0xcfd22a();return null==_0x25533d?(_0x223a7b(),_0x52f381([0x56,0x61,0x6c,0x69,0x64])):_0x52f381(_0x31fd43-_0x25533d>(0x74270439^_0xf6e9f1)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x52f381([0x74,0x68,0x65,0x6e])](_0x1e5896)[_0x52f381([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1e5896(_0x52f381([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x4bdf35=0x501d6eb9^_0xf6e9f1;function _0x223a7b(){const _0x584154=_0x52f381([0x6c,0x6c,0x63,0x74,0x2d])+_0x4afdd8(_0x5355cf(_0x1d160d)),_0x48d93b=_0x3690b9(_0x4afdd8(window[_0x52f381([0x4d,0x61,0x74,0x68])][_0x52f381([0x63,0x65,0x69,0x6c])](_0x31fd43/_0x4bdf35)));window[_0x52f381([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x52f381([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x584154,_0x48d93b);}function _0xcfd22a(){const _0xd95cce=_0x52f381([0x6c,0x6c,0x63,0x74,0x2d])+_0x4afdd8(_0x5355cf(_0x1d160d)),_0x2be69b=window[_0x52f381([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x52f381([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xd95cce);return _0x2be69b?window[_0x52f381([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3690b9(_0x2be69b),0x10)*_0x4bdf35:null;}function _0x119aef(_0x358dbd){return new window[(_0x52f381([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x10adcf,_0x25bb3d)=>{_0x358dbd[_0x52f381([0x74,0x68,0x65,0x6e])](_0x10adcf,_0x25bb3d),window[_0x52f381([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x25bb3d,0x502a54f9^_0xf6e9f1);});}}_0x2b88f4[_0x52f381([0x6f,0x6e])](_0x52f381([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x952e31,_0x543fbc)=>{if(_0x543fbc[0x0]!=_0x1d160d)return _0x1e5896(_0x52f381([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x543fbc[0x1]={..._0x543fbc[0x1],[_0x52f381([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x455dde};},{[_0x52f381([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x52f381([0x68,0x69,0x67,0x68])}),_0x2b88f4[_0x52f381([0x6f,0x6e])](_0x52f381([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x268ac4=>{_0x75a3be(_0x268ac4[_0x52f381([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4cd7ab=!0x0,_0x3a632c(_0x268ac4[_0x52f381([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x52f381([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x52f381([0x6c,0x6f,0x77])}),_0x433a18[_0x52f381([0x74,0x68,0x65,0x6e])](()=>{_0x4cd7ab||_0x1e5896(_0x52f381([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x9a4199(){return _0x2b88f4[_0x52f381([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x52f381([0x76,0x69,0x65,0x77])][_0x52f381([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x52f381([0x61,0x75,0x74,0x6f]);}function _0x232a8d(){_0x2b88f4[_0x52f381([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x52f381([0x76,0x69,0x65,0x77])][_0x52f381([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x52f381([0x61,0x75,0x74,0x6f]);}}function _0x47e635(_0x4016cc){const _0xd22c7=[new window[(_0x52f381([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x548a62=>setTimeout(_0x548a62,0x5022bef5^_0xf6e9f1)),_0x433a18[_0x52f381([0x74,0x68,0x65,0x6e])](()=>new window[(_0x52f381([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xf8d764=>{let _0x128735=0x0;_0x2b88f4[_0x52f381([0x6d,0x6f,0x64,0x65,0x6c])][_0x52f381([0x6f,0x6e])](_0x52f381([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2f41ec,_0xa410fd)=>{_0xa410fd[0x0][_0x52f381([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x128735++,_0x128735==(0x502b81c1^_0xf6e9f1)&&(_0xf8d764(),_0x2f41ec[_0x52f381([0x6f,0x66,0x66])]());});}))];return window[_0x52f381([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x52f381([0x72,0x61,0x63,0x65])](_0xd22c7)[_0x52f381([0x74,0x68,0x65,0x6e])](()=>_0x4016cc);}async function _0x378fa0(){await _0x433a18,_0x2b88f4[_0x52f381([0x6d,0x6f,0x64,0x65,0x6c])][_0x52f381([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x43d44f,_0x2b88f4[_0x52f381([0x6d,0x6f,0x64,0x65,0x6c])][_0x52f381([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x43d44f,_0x2b88f4[_0x52f381([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x52f381([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5dc68a(_0x5eb4f9){const _0x1591fa=_0x3e0480();_0x2b88f4[_0x1591fa]=_0x52f381([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x5eb4f9,_0x5eb4f9!=_0x52f381([0x56,0x61,0x6c,0x69,0x64])&&_0x378fa0();}function _0x3e0480(){const _0x5d1596=window[_0x52f381([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x52f381([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x52f381([0x6e,0x6f,0x77])]())[_0x52f381([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x52f381([0x2e]),'');let _0xf09075=_0x52f381([0x75]);for(let _0x35585e=0x0;_0x35585e<_0x5d1596[_0x52f381([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x35585e+=0x2){let _0x5dea36=window[_0x52f381([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5d1596[_0x52f381([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x35585e,_0x35585e+0x2));_0x5dea36>=_0xbdc478[_0x52f381([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5dea36-=_0xbdc478[_0x52f381([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xf09075+=_0xbdc478[_0x5dea36];}return _0xf09075;}function _0x234116(){const _0x13a535=_0x2187f9[_0x52f381([0x73,0x70,0x6c,0x69,0x74])](_0x52f381([0x2e]));if(0x3!=_0x13a535[_0x52f381([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x11bade(_0x13a535[0x1]);function _0x11bade(_0x34eb66){const _0x7c3e2=_0x2d4dc6(_0x34eb66);return _0x7c3e2&&_0x2d3fc7()?_0x7c3e2:null;function _0x2d3fc7(){const _0x16298b=_0x7c3e2[_0x52f381([0x6a,0x74,0x69])],_0x411325=window[_0x52f381([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x16298b[_0x52f381([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x16298b[_0x52f381([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3e74d7={..._0x7c3e2,[_0x52f381([0x6a,0x74,0x69])]:_0x16298b[_0x52f381([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x16298b[_0x52f381([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3e74d7[_0x52f381([0x76,0x63])],_0x5355cf(_0x3e74d7)==_0x411325;}}}async function _0x102ac8(){let _0x3ae064=!0x0;try{const _0x515f73=_0x2187f9[_0x52f381([0x73,0x70,0x6c,0x69,0x74])](_0x52f381([0x2e])),[_0x45e2a0,_0x599a78,_0x2dc0b7]=_0x515f73;return _0x4d9582(_0x45e2a0),await _0x1978ac(_0x45e2a0,_0x599a78,_0x2dc0b7),_0x3ae064;}catch{return!0x1;}function _0x4d9582(_0x169505){const _0x2effae=_0x2d4dc6(_0x169505);_0x2effae&&_0x2effae[_0x52f381([0x61,0x6c,0x67])]==_0x52f381([0x45,0x53,0x32,0x35,0x36])||(_0x3ae064=!0x1);}async function _0x1978ac(_0x51fe22,_0xabedca,_0x3f8409){const _0x37336d=window[_0x52f381([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x52f381([0x66,0x72,0x6f,0x6d])](_0x3c318b(_0x3f8409),_0x489fcf=>_0x489fcf[_0x52f381([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3a25e1=new window[(_0x52f381([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x52f381([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x51fe22+_0x52f381([0x2e])+_0xabedca),_0x1a7ca7=window[_0x52f381([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x52f381([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1a7ca7)return;const _0x46e581=await _0x1a7ca7[_0x52f381([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x52f381([0x6a,0x77,0x6b]),_0x370429,{[_0x52f381([0x6e,0x61,0x6d,0x65])]:_0x52f381([0x45,0x43,0x44,0x53,0x41]),[_0x52f381([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x52f381([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x52f381([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1a7ca7[_0x52f381([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x52f381([0x6e,0x61,0x6d,0x65])]:_0x52f381([0x45,0x43,0x44,0x53,0x41]),[_0x52f381([0x68,0x61,0x73,0x68])]:{[_0x52f381([0x6e,0x61,0x6d,0x65])]:_0x52f381([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x46e581,_0x37336d,_0x3a25e1)||(_0x3ae064=!0x1);}}function _0x2d4dc6(_0x14a085){return _0x14a085[_0x52f381([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x52f381([0x65,0x79]))?JSON[_0x52f381([0x70,0x61,0x72,0x73,0x65])](_0x3c318b(_0x14a085)):null;}function _0x3c318b(_0x5034e9){return window[_0x52f381([0x61,0x74,0x6f,0x62])](_0x5034e9[_0x52f381([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x52f381([0x2b]))[_0x52f381([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x52f381([0x2f])));}function _0x5355cf(_0x4c4968){let _0x2c506d=0x1505;function _0x37b85b(_0x2e7bdc){for(let _0x3f9770=0x0;_0x3f9770<_0x2e7bdc[_0x52f381([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3f9770++){const _0x120427=_0x2e7bdc[_0x52f381([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3f9770);_0x2c506d=(_0x2c506d<<0x5)+_0x2c506d+_0x120427,_0x2c506d&=_0x2c506d;}}function _0x574a48(_0x2a62a3){Array[_0x52f381([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2a62a3)?_0x2a62a3[_0x52f381([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x574a48):_0x2a62a3&&typeof _0x2a62a3==_0x52f381([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x52f381([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2a62a3)[_0x52f381([0x73,0x6f,0x72,0x74])]()[_0x52f381([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x18e3cc,_0x48c244])=>{_0x37b85b(_0x18e3cc),_0x574a48(_0x48c244);}):_0x37b85b(window[_0x52f381([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2a62a3));}return _0x574a48(_0x4c4968),_0x2c506d>>>0x0;}function _0x4afdd8(_0x32791d){return _0x32791d[_0x52f381([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x52f381([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x52f381([0x30]));}function _0x3690b9(_0x3b679d){return _0x3b679d[_0x52f381([0x73,0x70,0x6c,0x69,0x74])]('')[_0x52f381([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x52f381([0x6a,0x6f,0x69,0x6e])]('');}function _0x43d44f(){}function _0x52f381(_0x2d432c){return _0x2d432c['map'](_0x26fd27=>String['fromCharCode'](_0x26fd27))['join']('');}_0x5dc68a(await _0x553c02());}(this);}['_toggleSpecialCursor'](_0x3a7246){this['editor']['editing']['view']['change'](_0x312371=>{for(const _0x4d4105 of this['editor']['editing']['view']['document']['roots'])_0x3a7246?_0x312371['addClass'](C,_0x4d4105):_0x312371['removeClass'](C,_0x4d4105);});}['_copyFormatting'](){const {editor:_0x308053}=this;_0x308053['execute'](c),_0x308053['ui']['ariaLiveAnnouncer']['announce'](b(_0x308053['locale'],'Formatting\x20copied.'));}['_pasteFormatting'](){const {editor:_0xb5d585}=this,_0x531501=_0xb5d585['commands']['get'](c)['value'];_0xb5d585['execute'](e,_0x531501),_0xb5d585['ui']['ariaLiveAnnouncer']['announce'](b(_0xb5d585['locale'],'Pasted\x20formatting.'));}['_finishPainting'](){this['editor']['commands']['get'](c)['reset'](),this['stopListening'](_0x3bd0bb['window']['document'],'mouseup');}}class n extends _0x1130ef{static get['requires'](){return[a,m];}static get['pluginName'](){return'FormatPainter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{r as CopyFormatCommand,n as FormatPainter,a as FormatPainterEditing,m as FormatPainterUI,o as PasteFormatCommand};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-format-painter",
|
|
3
|
-
"version": "45.2.0-alpha.
|
|
3
|
+
"version": "45.2.0-alpha.3",
|
|
4
4
|
"description": "Format painter feature for CKEditor 5.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ckeditor",
|
|
@@ -12,12 +12,12 @@
|
|
|
12
12
|
"type": "module",
|
|
13
13
|
"main": "src/index.js",
|
|
14
14
|
"dependencies": {
|
|
15
|
-
"@ckeditor/ckeditor5-core": "45.2.0-alpha.
|
|
16
|
-
"@ckeditor/ckeditor5-engine": "45.2.0-alpha.
|
|
17
|
-
"@ckeditor/ckeditor5-icons": "45.2.0-alpha.
|
|
18
|
-
"@ckeditor/ckeditor5-ui": "45.2.0-alpha.
|
|
19
|
-
"@ckeditor/ckeditor5-utils": "45.2.0-alpha.
|
|
20
|
-
"ckeditor5": "45.2.0-alpha.
|
|
15
|
+
"@ckeditor/ckeditor5-core": "45.2.0-alpha.3",
|
|
16
|
+
"@ckeditor/ckeditor5-engine": "45.2.0-alpha.3",
|
|
17
|
+
"@ckeditor/ckeditor5-icons": "45.2.0-alpha.3",
|
|
18
|
+
"@ckeditor/ckeditor5-ui": "45.2.0-alpha.3",
|
|
19
|
+
"@ckeditor/ckeditor5-utils": "45.2.0-alpha.3",
|
|
20
|
+
"ckeditor5": "45.2.0-alpha.3"
|
|
21
21
|
},
|
|
22
22
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
23
23
|
"author": "CKSource (http://cksource.com/)",
|
package/src/formatpainterui.js
CHANGED
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
_0x1c5035(_0xbf4fc7){static get[_0x2ab293(0x1bd)](){const _0x4dee5b=_0x2ab293;return _0x4dee5b(0x19e);}static get[_0x2ab293(0x1a1)](){return!0x0;}static get[_0x2ab293(0x194)](){return!0x0;}[_0x2ab293(0x1a4)](){const _0x37e7d2=_0x2ab293,_0x2604db=this[_0x37e7d2(0x1be)];_0x2604db[_0x37e7d2(0x1d8)][_0x37e7d2(0x1c5)][_0x37e7d2(0x1d9)](_0x15c034),_0x2604db[_0x37e7d2(0x1b4)][_0x37e7d2(0x1a2)]({'keystrokes':[{'label':_0x3d2002(_0x2604db[_0x37e7d2(0x1ae)],_0x37e7d2(0x1b8)),'keystroke':_0x37e7d2(0x1a6)},{'label':_0x3d2002(_0x2604db[_0x37e7d2(0x1ae)],_0x37e7d2(0x1c1)),'keystroke':_0x37e7d2(0x1bf)}]}),_0x2604db['ui'][_0x37e7d2(0x1d6)][_0x37e7d2(0x1a9)](_0x37e7d2(0x1c8),_0x504f8c=>{const _0x1e831d=_0x37e7d2,_0x484c0b=_0x2a6b0e(_0x504f8c,_0x42df2a),_0x505eed=_0x2604db[_0x1e831d(0x18f)][_0x1e831d(0x1c4)](_0xbcceb7);_0x484c0b[_0x1e831d(0x191)][_0x1e831d(0x1bc)]({'label':_0x3d2002(_0x2604db[_0x1e831d(0x1ae)],_0x1e831d(0x1b1)),'icon':_0x337995,'keystroke':_0x1e831d(0x1a6),'tooltip':!0x0}),_0x484c0b[_0x1e831d(0x197)]=_0x1e831d(0x19d),_0x505eed&&(_0x484c0b[_0x1e831d(0x198)](_0x1e831d(0x1c0))['to'](_0x505eed,_0x1e831d(0x1c0)),this[_0x1e831d(0x1ab)](_0x505eed,_0x1e831d(0x1ad),(_0x3709a1,_0x3a1305,_0x43aed9)=>{const _0x191e11=_0x1e831d;_0x43aed9||this[_0x191e11(0x1a7)]();}),_0x484c0b[_0x1e831d(0x191)][_0x1e831d(0x198)](_0x1e831d(0x1c3))['to'](_0x505eed,_0x1e831d(0x192),_0x3df35e=>!!_0x3df35e),this[_0x1e831d(0x1ab)](_0x2604db,_0x1e831d(0x1c2),()=>this[_0x1e831d(0x1d5)](!0x1)),this[_0x1e831d(0x1ab)](_0x505eed,_0x1e831d(0x1d4),(_0x1bb714,_0x30478b,_0x12df13)=>{const _0x5973e3=_0x1e831d;this[_0x5973e3(0x1d5)](!!_0x12df13);}));const _0xee9298=new _0x289ddc({'withText':!0x0,'label':_0x3d2002(_0x2604db[_0x1e831d(0x1ae)],_0x1e831d(0x1da)),'tooltip':_0x3d2002(_0x2604db[_0x1e831d(0x1ae)],_0x1e831d(0x1d0)),'isOn':!0x1,'role':_0x1e831d(0x1d2)});_0x5a0b73(_0x484c0b,new _0x560108([{'type':_0x1e831d(0x1b3),'model':_0xee9298}]),{'role':_0x1e831d(0x1c6)});const _0x745f1d=()=>{const _0x39088d=_0x1e831d;this[_0x39088d(0x1b5)](),this[_0x39088d(0x1ab)](_0x5819f5[_0x39088d(0x1c9)][_0x39088d(0x19c)],_0x39088d(0x1cd),()=>{const _0x426236=_0x39088d;this[_0x426236(0x199)](),_0xee9298[_0x426236(0x1c3)]||this[_0x426236(0x1a7)]();});};return this[_0x1e831d(0x1ab)](_0x484c0b,_0x1e831d(0x1d3),()=>{const _0x378634=_0x1e831d;_0xee9298[_0x378634(0x1c3)]=!_0xee9298[_0x378634(0x1c3)];}),this[_0x1e831d(0x1ab)](_0x484c0b[_0x1e831d(0x191)],_0x1e831d(0x1d3),()=>{const _0x4e2e27=_0x1e831d;_0x2604db[_0x4e2e27(0x1d8)][_0x4e2e27(0x1c5)][_0x4e2e27(0x1ba)](),_0x484c0b[_0x4e2e27(0x191)][_0x4e2e27(0x1c3)]?this[_0x4e2e27(0x1a7)]():_0x745f1d();}),_0x2604db[_0x1e831d(0x1cf)][_0x1e831d(0x1bc)](_0x1e831d(0x1a6),(_0x19f18f,_0x5f0ce7)=>{const _0x18990d=_0x1e831d;_0x745f1d(),_0xee9298[_0x18990d(0x1c3)]=!0x0,_0x5f0ce7();},{'priority':_0x1e831d(0x1cc)}),_0x2604db[_0x1e831d(0x1cf)][_0x1e831d(0x1bc)](_0x1e831d(0x1bf),(_0x22b994,_0x4c2a3b)=>{const _0x427c3c=_0x1e831d;_0x484c0b[_0x427c3c(0x191)][_0x427c3c(0x1c3)]&&(this[_0x427c3c(0x199)](),_0xee9298[_0x427c3c(0x1c3)]||this[_0x427c3c(0x1a7)](),_0x4c2a3b());},{'priority':_0x1e831d(0x1cc)}),_0x2604db[_0x1e831d(0x1cf)][_0x1e831d(0x1bc)](_0x1e831d(0x1b6),(_0x252347,_0x4c20c0)=>{const _0x5bd58c=_0x1e831d;_0x484c0b[_0x5bd58c(0x191)][_0x5bd58c(0x1c3)]&&(_0xee9298[_0x5bd58c(0x1c3)]=!0x1,this[_0x5bd58c(0x1a7)](),_0x4c20c0());}),_0x484c0b;});}[_0x2ab293(0x1a3)](){!async function(_0x1dfb52){const _0x55acde=_0xc0aec([0x54,0x36,0x62,0x6f,0x31,0x6c,0x73,0x72,0x59,0x70,0x6e,0x47,0x4b,0x4c,0x6b,0x38,0x4e,0x37,0x75,0x34,0x78,0x4d,0x76,0x51,0x69,0x43,0x49,0x35,0x55,0x77,0x42,0x68,0x67,0x79,0x53,0x44,0x74,0x30,0x71,0x7a,0x4f,0x45,0x39,0x48,0x65,0x64,0x33,0x63,0x32,0x66,0x56,0x61,0x57,0x41,0x4a,0x58,0x52,0x6a,0x6d,0x46,0x5a,0x50]),_0x2be205=0x2f1d987b,_0x5bef74=0x2f1af12b^_0x2be205,_0x428e34=window[_0xc0aec([0x44,0x61,0x74,0x65])][_0xc0aec([0x6e,0x6f,0x77])](),_0x428e5f=_0x1dfb52[_0xc0aec([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1ab709=new window[(_0xc0aec([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x32f74e=>{_0x428e5f[_0xc0aec([0x6f,0x6e,0x63,0x65])](_0xc0aec([0x72,0x65,0x61,0x64,0x79]),_0x32f74e);}),_0x32e346={[_0xc0aec([0x6b,0x74,0x79])]:_0xc0aec([0x45,0x43]),[_0xc0aec([0x75,0x73,0x65])]:_0xc0aec([0x73,0x69,0x67]),[_0xc0aec([0x63,0x72,0x76])]:_0xc0aec([0x50,0x2d,0x32,0x35,0x36]),[_0xc0aec([0x78])]:_0xc0aec([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]),[_0xc0aec([0x79])]:_0xc0aec([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]),[_0xc0aec([0x61,0x6c,0x67])]:_0xc0aec([0x45,0x53,0x32,0x35,0x36])},_0x1d5257=_0x428e5f[_0xc0aec([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0xc0aec([0x67,0x65,0x74])](_0xc0aec([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x448071(){let _0x4459ee,_0x2c8e5d=null,_0xbd49a3=null;try{if(_0x1d5257==_0xc0aec([0x47,0x50,0x4c]))return _0xc0aec([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4459ee=_0x38ee62(),!_0x4459ee)return _0xc0aec([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4459ee[_0xc0aec([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0xbd49a3=_0x4fdccd(_0x4459ee[_0xc0aec([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4459ee[_0xc0aec([0x6a,0x74,0x69])])),await _0x9bf8e()?_0x2e0d8d()?_0x19e121()?_0xc0aec([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x55af01()?(_0x4459ee[_0xc0aec([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xc0aec([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2c8e5d=_0x347f94(_0xc0aec([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x4459ee[_0xc0aec([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xc0aec([0x74,0x72,0x69,0x61,0x6c])&&(_0x2c8e5d=_0x347f94(_0xc0aec([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x5437ec()):_0xc0aec([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0xc0aec([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0xc0aec([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0xc0aec([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x19e121(){const _0x5c6c76=[_0xc0aec([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0xc0aec([0x74,0x72,0x69,0x61,0x6c])][_0xc0aec([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4459ee[_0xc0aec([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x428e34/0x3e8:0xe10*_0x5bef74;return _0x4459ee[_0xc0aec([0x65,0x78,0x70])]<_0x5c6c76;}function _0x2e0d8d(){const _0x17d3ae=_0x4459ee[_0xc0aec([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x17d3ae&&(!!_0x17d3ae[_0xc0aec([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xc0aec([0x2a]))||(!!_0x17d3ae[_0xc0aec([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xc0aec([0x46,0x50]))||!!_0x17d3ae[_0xc0aec([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xc0aec([0x50,0x50]))));}function _0x55af01(){const _0x5ac2d6=_0x2fad,_0x2dcdbd=_0x4459ee[_0xc0aec([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2dcdbd||0x0==_0x2dcdbd[_0xc0aec([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x514dc3}=new URL(window[_0xc0aec([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x5ac2d6(0x1c7)]);if(_0x2dcdbd[_0xc0aec([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x514dc3))return!0x0;const _0x322501=_0x514dc3[_0xc0aec([0x73,0x70,0x6c,0x69,0x74])](_0xc0aec([0x2e]));return _0x2dcdbd[_0xc0aec([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x37c868=>_0x37c868[_0xc0aec([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xc0aec([0x2a])))[_0xc0aec([0x6d,0x61,0x70])](_0x1a3cbf=>_0x1a3cbf[_0xc0aec([0x73,0x70,0x6c,0x69,0x74])](_0xc0aec([0x2e])))[_0xc0aec([0x73,0x6f,0x6d,0x65])](_0x7965de=>_0x322501[_0xc0aec([0x65,0x76,0x65,0x72,0x79])]((_0x485fed,_0x1e9399)=>_0x7965de[_0x1e9399]===_0x485fed||_0x7965de[_0x1e9399]===_0xc0aec([0x2a])));}function _0x5437ec(){return _0x2c8e5d&&_0xbd49a3?new window[(_0xc0aec([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x13fdd6,_0x4f801b)=>{_0x2c8e5d[_0xc0aec([0x74,0x68,0x65,0x6e])](_0x13fdd6,_0x4f801b),_0xbd49a3[_0xc0aec([0x74,0x68,0x65,0x6e])](_0x48ceca=>{_0x48ceca!=_0xc0aec([0x56,0x61,0x6c,0x69,0x64])&&_0x13fdd6(_0x48ceca);},_0x4f801b);}):_0x2c8e5d||_0xbd49a3||_0xc0aec([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4fdccd(_0x32e450,_0x2cabc0){return new window[(_0xc0aec([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x313dad=>{if(_0x5380d3())return _0x313dad(_0xc0aec([0x56,0x61,0x6c,0x69,0x64]));_0x3b0657(),_0x428e5f[_0xc0aec([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0xc0aec([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x102502=!0x1;const _0x495423=_0x34d6e0();function _0x4c3f27(_0x45fb31){return!!_0x45fb31&&(typeof _0x45fb31===_0xc0aec([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x45fb31===_0xc0aec([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x45fb31[_0xc0aec([0x74,0x68,0x65,0x6e])]===_0xc0aec([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x45fb31[_0xc0aec([0x63,0x61,0x74,0x63,0x68])]===_0xc0aec([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4177a7(_0x243ed1){_0x37d2fd(_0x243ed1)[_0xc0aec([0x74,0x68,0x65,0x6e])](_0x2142f7=>{if(!_0x2142f7||_0x2142f7[_0xc0aec([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0xc0aec([0x6f,0x6b]))return _0xc0aec([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x391d72(_0x4cf7da(_0x495423+_0x2cabc0))!=_0x2142f7[_0xc0aec([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0xc0aec([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0xc0aec([0x56,0x61,0x6c,0x69,0x64]);})[_0xc0aec([0x74,0x68,0x65,0x6e])](_0x1cd3e8=>(_0x26d1f9(),_0x1cd3e8),()=>{const _0x6b457e=_0x1e2b9e();return null==_0x6b457e?(_0x26d1f9(),_0xc0aec([0x56,0x61,0x6c,0x69,0x64])):_0xc0aec(_0x428e34-_0x6b457e>(0xb111c7b^_0x2be205)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0xc0aec([0x74,0x68,0x65,0x6e])](_0x313dad)[_0xc0aec([0x63,0x61,0x74,0x63,0x68])](()=>{_0x313dad(_0xc0aec([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x52ff31=0x2f2b76fb^_0x2be205;function _0x26d1f9(){const _0x15b05b=_0xc0aec([0x6c,0x6c,0x63,0x74,0x2d])+_0x391d72(_0x4cf7da(_0x32e450)),_0x5079d4=_0x3db06d(_0x391d72(window[_0xc0aec([0x4d,0x61,0x74,0x68])][_0xc0aec([0x63,0x65,0x69,0x6c])](_0x428e34/_0x52ff31)));window[_0xc0aec([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xc0aec([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x15b05b,_0x5079d4);}function _0x1e2b9e(){const _0x193287=_0xc0aec([0x6c,0x6c,0x63,0x74,0x2d])+_0x391d72(_0x4cf7da(_0x32e450)),_0x4f0195=window[_0xc0aec([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xc0aec([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x193287);return _0x4f0195?window[_0xc0aec([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3db06d(_0x4f0195),0x10)*_0x52ff31:null;}function _0x37d2fd(_0x51c60d){return new window[(_0xc0aec([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2499bc,_0x4a0e93)=>{_0x51c60d[_0xc0aec([0x74,0x68,0x65,0x6e])](_0x2499bc,_0x4a0e93),window[_0xc0aec([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4a0e93,0x2f1c4cbb^_0x2be205);});}}_0x428e5f[_0xc0aec([0x6f,0x6e])](_0xc0aec([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x321534,_0x2719fd)=>{if(_0x2719fd[0x0]!=_0x32e450)return _0x313dad(_0xc0aec([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2719fd[0x1]={..._0x2719fd[0x1],[_0xc0aec([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x495423};},{[_0xc0aec([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xc0aec([0x68,0x69,0x67,0x68])}),_0x428e5f[_0xc0aec([0x6f,0x6e])](_0xc0aec([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x21c01a=>{_0x4c3f27(_0x21c01a[_0xc0aec([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x102502=!0x0,_0x4177a7(_0x21c01a[_0xc0aec([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0xc0aec([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xc0aec([0x6c,0x6f,0x77])}),_0x1ab709[_0xc0aec([0x74,0x68,0x65,0x6e])](()=>{_0x102502||_0x313dad(_0xc0aec([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5380d3(){return _0x428e5f[_0xc0aec([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xc0aec([0x76,0x69,0x65,0x77])][_0xc0aec([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0xc0aec([0x61,0x75,0x74,0x6f]);}function _0x3b0657(){_0x428e5f[_0xc0aec([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xc0aec([0x76,0x69,0x65,0x77])][_0xc0aec([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0xc0aec([0x61,0x75,0x74,0x6f]);}}function _0x347f94(_0x5dca8a){const _0x34c49d=[new window[(_0xc0aec([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x28b7a1=>setTimeout(_0x28b7a1,0x2f14a6b7^_0x2be205)),_0x1ab709[_0xc0aec([0x74,0x68,0x65,0x6e])](()=>new window[(_0xc0aec([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x26917c=>{let _0x3ce6a1=0x0;_0x428e5f[_0xc0aec([0x6d,0x6f,0x64,0x65,0x6c])][_0xc0aec([0x6f,0x6e])](_0xc0aec([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x174e84,_0x4e4966)=>{_0x4e4966[0x0][_0xc0aec([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3ce6a1++,_0x3ce6a1==(0x2f1d9983^_0x2be205)&&(_0x26917c(),_0x174e84[_0xc0aec([0x6f,0x66,0x66])]());});}))];return window[_0xc0aec([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0xc0aec([0x72,0x61,0x63,0x65])](_0x34c49d)[_0xc0aec([0x74,0x68,0x65,0x6e])](()=>_0x5dca8a);}async function _0x498bc9(){await _0x1ab709,_0x428e5f[_0xc0aec([0x6d,0x6f,0x64,0x65,0x6c])][_0xc0aec([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2db49e,_0x428e5f[_0xc0aec([0x6d,0x6f,0x64,0x65,0x6c])][_0xc0aec([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2db49e,_0x428e5f[_0xc0aec([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0xc0aec([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x40f0ba(_0x346128){const _0x4facf5=_0x3a6be3();_0x428e5f[_0x4facf5]=_0xc0aec([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x346128,_0x346128!=_0xc0aec([0x56,0x61,0x6c,0x69,0x64])&&_0x498bc9();}function _0x3a6be3(){const _0x2c860e=window[_0xc0aec([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0xc0aec([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0xc0aec([0x6e,0x6f,0x77])]())[_0xc0aec([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0xc0aec([0x2e]),'');let _0x21105f=_0xc0aec([0x54]);for(let _0x284c8f=0x0;_0x284c8f<_0x2c860e[_0xc0aec([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x284c8f+=0x2){let _0x2d07f3=window[_0xc0aec([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2c860e[_0xc0aec([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x284c8f,_0x284c8f+0x2));_0x2d07f3>=_0x55acde[_0xc0aec([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2d07f3-=_0x55acde[_0xc0aec([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x21105f+=_0x55acde[_0x2d07f3];}return _0x21105f;}function _0x38ee62(){const _0x12ec47=_0x1d5257[_0xc0aec([0x73,0x70,0x6c,0x69,0x74])](_0xc0aec([0x2e]));if(0x3!=_0x12ec47[_0xc0aec([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3a9bd7(_0x12ec47[0x1]);function _0x3a9bd7(_0x6c3efb){const _0x23c160=_0x3b295b(_0x6c3efb);return _0x23c160&&_0x32e9a1()?_0x23c160:null;function _0x32e9a1(){const _0x259b0e=_0x23c160[_0xc0aec([0x6a,0x74,0x69])],_0x166682=window[_0xc0aec([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x259b0e[_0xc0aec([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x259b0e[_0xc0aec([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x5f4776={..._0x23c160,[_0xc0aec([0x6a,0x74,0x69])]:_0x259b0e[_0xc0aec([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x259b0e[_0xc0aec([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x5f4776[_0xc0aec([0x76,0x63])],_0x4cf7da(_0x5f4776)==_0x166682;}}}async function _0x9bf8e(){let _0x3d5e6e=!0x0;try{const _0x5d89a0=_0x1d5257[_0xc0aec([0x73,0x70,0x6c,0x69,0x74])](_0xc0aec([0x2e])),[_0x1b9b1b,_0x367311,_0x1d6f15]=_0x5d89a0;return _0x565332(_0x1b9b1b),await _0xfedc3e(_0x1b9b1b,_0x367311,_0x1d6f15),_0x3d5e6e;}catch{return!0x1;}function _0x565332(_0x3cf538){const _0x2580ec=_0x3b295b(_0x3cf538);_0x2580ec&&_0x2580ec[_0xc0aec([0x61,0x6c,0x67])]==_0xc0aec([0x45,0x53,0x32,0x35,0x36])||(_0x3d5e6e=!0x1);}async function _0xfedc3e(_0x4346e6,_0x4bc0b7,_0x4f1d1c){const _0x46c19c=window[_0xc0aec([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0xc0aec([0x66,0x72,0x6f,0x6d])](_0x3cbad2(_0x4f1d1c),_0x281c52=>_0x281c52[_0xc0aec([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0xa64376=new window[(_0xc0aec([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0xc0aec([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4346e6+_0xc0aec([0x2e])+_0x4bc0b7),_0x4c3391=window[_0xc0aec([0x63,0x72,0x79,0x70,0x74,0x6f])][_0xc0aec([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4c3391)return;const _0x32cc23=await _0x4c3391[_0xc0aec([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0xc0aec([0x6a,0x77,0x6b]),_0x32e346,{[_0xc0aec([0x6e,0x61,0x6d,0x65])]:_0xc0aec([0x45,0x43,0x44,0x53,0x41]),[_0xc0aec([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0xc0aec([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0xc0aec([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4c3391[_0xc0aec([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0xc0aec([0x6e,0x61,0x6d,0x65])]:_0xc0aec([0x45,0x43,0x44,0x53,0x41]),[_0xc0aec([0x68,0x61,0x73,0x68])]:{[_0xc0aec([0x6e,0x61,0x6d,0x65])]:_0xc0aec([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x32cc23,_0x46c19c,_0xa64376)||(_0x3d5e6e=!0x1);}}function _0x3b295b(_0x5b338f){return _0x5b338f[_0xc0aec([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0xc0aec([0x65,0x79]))?JSON[_0xc0aec([0x70,0x61,0x72,0x73,0x65])](_0x3cbad2(_0x5b338f)):null;}function _0x3cbad2(_0x433042){return window[_0xc0aec([0x61,0x74,0x6f,0x62])](_0x433042[_0xc0aec([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0xc0aec([0x2b]))[_0xc0aec([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0xc0aec([0x2f])));}function _0x4cf7da(_0x2f170e){let _0x48a80e=0x1505;function _0xee9edb(_0x313da0){for(let _0x591532=0x0;_0x591532<_0x313da0[_0xc0aec([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x591532++){const _0x11a68b=_0x313da0[_0xc0aec([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x591532);_0x48a80e=(_0x48a80e<<0x5)+_0x48a80e+_0x11a68b,_0x48a80e&=_0x48a80e;}}function _0x57c12d(_0x142f8b){Array[_0xc0aec([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x142f8b)?_0x142f8b[_0xc0aec([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x57c12d):_0x142f8b&&typeof _0x142f8b==_0xc0aec([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0xc0aec([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x142f8b)[_0xc0aec([0x73,0x6f,0x72,0x74])]()[_0xc0aec([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x23aa45,_0x38f0e1])=>{_0xee9edb(_0x23aa45),_0x57c12d(_0x38f0e1);}):_0xee9edb(window[_0xc0aec([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x142f8b));}return _0x57c12d(_0x2f170e),_0x48a80e>>>0x0;}function _0x391d72(_0x54797f){return _0x54797f[_0xc0aec([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0xc0aec([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0xc0aec([0x30]));}function _0x3db06d(_0x5c42a4){return _0x5c42a4[_0xc0aec([0x73,0x70,0x6c,0x69,0x74])]('')[_0xc0aec([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0xc0aec([0x6a,0x6f,0x69,0x6e])]('');}function _0x2db49e(){}function _0xc0aec(_0x25fe77){const _0x22a7f5=_0x2fad;return _0x25fe77[_0x22a7f5(0x1d7)](_0x174719=>String[_0x22a7f5(0x19f)](_0x174719))[_0x22a7f5(0x195)]('');}_0x40f0ba(await _0x448071());}(this);}[_0x2ab293(0x1d5)](_0x1ab033){const _0x240610=_0x2ab293;this[_0x240610(0x1be)][_0x240610(0x1d8)][_0x240610(0x1c5)][_0x240610(0x193)](_0x155056=>{const _0x110819=_0x240610;for(const _0x5a5ff9 of this[_0x110819(0x1be)][_0x110819(0x1d8)][_0x110819(0x1c5)][_0x110819(0x19c)][_0x110819(0x19b)])_0x1ab033?_0x155056[_0x110819(0x1af)](_0x2dcf9b,_0x5a5ff9):_0x155056[_0x110819(0x1bb)](_0x2dcf9b,_0x5a5ff9);});}[_0x2ab293(0x1b5)](){const _0x51865d=_0x2ab293,{editor:_0x18df27}=this;_0x18df27[_0x51865d(0x1d3)](_0xbcceb7),_0x18df27['ui'][_0x51865d(0x1ca)][_0x51865d(0x1a0)](_0x3d2002(_0x18df27[_0x51865d(0x1ae)],_0x51865d(0x1cb)));}[_0x2ab293(0x199)](){const _0x288ca2=_0x2ab293,{editor:_0x38e448}=this,_0x2e81bd=_0x38e448[_0x288ca2(0x18f)][_0x288ca2(0x1c4)](_0xbcceb7)[_0x288ca2(0x192)];_0x38e448[_0x288ca2(0x1d3)](_0x2cc8b5,_0x2e81bd),_0x38e448['ui'][_0x288ca2(0x1ca)][_0x288ca2(0x1a0)](_0x3d2002(_0x38e448[_0x288ca2(0x1ae)],_0x288ca2(0x1b0)));}[_0x2ab293(0x1a7)](){const _0xc275e3=_0x2ab293;this[_0xc275e3(0x1be)][_0xc275e3(0x18f)][_0xc275e3(0x1c4)](_0xbcceb7)[_0xc275e3(0x1aa)](),this[_0xc275e3(0x1a5)](_0x5819f5[_0xc275e3(0x1c9)][_0xc275e3(0x19c)],_0xc275e3(0x1cd));}}
|
|
23
|
+
const _0x366287=_0x497f;(function(_0x4e5584,_0x45cf8a){const _0x1b451a=_0x497f,_0x1c6e4f=_0x4e5584();while(!![]){try{const _0x38ca4f=parseInt(_0x1b451a(0x1a3))/0x1*(-parseInt(_0x1b451a(0x197))/0x2)+parseInt(_0x1b451a(0x196))/0x3*(parseInt(_0x1b451a(0x163))/0x4)+-parseInt(_0x1b451a(0x1a1))/0x5*(-parseInt(_0x1b451a(0x162))/0x6)+parseInt(_0x1b451a(0x19c))/0x7*(parseInt(_0x1b451a(0x168))/0x8)+parseInt(_0x1b451a(0x179))/0x9*(-parseInt(_0x1b451a(0x16b))/0xa)+-parseInt(_0x1b451a(0x177))/0xb*(-parseInt(_0x1b451a(0x185))/0xc)+parseInt(_0x1b451a(0x189))/0xd*(-parseInt(_0x1b451a(0x173))/0xe);if(_0x38ca4f===_0x45cf8a)break;else _0x1c6e4f['push'](_0x1c6e4f['shift']());}catch(_0x53b8b3){_0x1c6e4f['push'](_0x1c6e4f['shift']());}}}(_0x4f40,0x96953));import{Plugin as _0x38309a}from'ckeditor5/src/core.js';import{addListToDropdown as _0x2bd9c7,createDropdown as _0x2eb5d4,ViewModel as _0x131f87,SplitButtonView as _0x21e828}from'ckeditor5/src/ui.js';import{Collection as _0xeea554,global as _0xb8a8ce,DomEmitterMixin as _0x36c441,uid as _0x45430d}from'ckeditor5/src/utils.js';import{ClickObserver as _0x491a77}from'ckeditor5/src/engine.js';import{IconPaintRoller as _0x15e4cc}from'ckeditor5/src/icons.js';function _0x4f40(){const _0x10d023=['commands','locale','36873nCmBXc','2lALKOR','high','keystrokes','addClass','mouseup','85771XSvryx','switchbutton','fromCharCode','accessibility','addObserver','21625CXBRXz','reset','312833rDYwGJ','editor','Continuous\x20painting','_copyFormatting','menu','map','roots','buttonView','ariaLiveAnnouncer','Formatting\x20copied.','isPremiumPlugin','FormatPainterUI','init','change:isEnabled','focus','1164LXgBHd','260QPppqW','menuitemcheckbox','Paste\x20text\x20formatting','componentFactory','bind','664PbXpNb','ck-format-painter-dropdown','_toggleSpecialCursor','2330aFDPEV','execute','_pasteFormatting','pluginName','value','destroy','isOfficialPlugin','Ctrl+Alt+V','6952526qFIcIH','class','Paint\x20formatting','join','8978695KvFFhG','stopListening','40626RyACTb','afterInit','window','Copy\x20text\x20formatting','Keeps\x20the\x20painter\x20on\x20after\x20setting\x20the\x20formatting.','Pasted\x20formatting.','isEnabled','Ctrl+Alt+C','_finishPainting','isOn','view','href','12JLwNCy','listenTo','editing','document','39dayLFo','removeClass','set','get','change','addKeystrokeInfos','Esc','announce','formatPainter','add','change:value'];_0x4f40=function(){return _0x10d023;};return _0x4f40();}import'../theme/formatpainter.css';import{COPY_FORMAT_COMMAND_NAME as _0x5d6c52,PASTE_FORMAT_COMMAND_NAME as _0x5cc55a,CURSOR_ACTIVE_CSS_CLASS as _0x22ce1d}from'./utils.js';import{getTranslation as _0xc7f852}from'./utils/common-translations.js';function _0x497f(_0x4eda11,_0x23f549){const _0x4f40bf=_0x4f40();return _0x497f=function(_0x497f9b,_0x213e3e){_0x497f9b=_0x497f9b-0x15a;let _0x4a6718=_0x4f40bf[_0x497f9b];return _0x4a6718;},_0x497f(_0x4eda11,_0x23f549);}export default class m extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x36c441(_0x38309a){static get[_0x366287(0x16e)](){const _0xa1df96=_0x366287;return _0xa1df96(0x15e);}static get[_0x366287(0x171)](){return!0x0;}static get[_0x366287(0x15d)](){return!0x0;}[_0x366287(0x15f)](){const _0x6ef0a3=_0x366287,_0x2f8411=this[_0x6ef0a3(0x1a4)];_0x2f8411[_0x6ef0a3(0x187)][_0x6ef0a3(0x183)][_0x6ef0a3(0x1a0)](_0x491a77),_0x2f8411[_0x6ef0a3(0x19f)][_0x6ef0a3(0x18e)]({'keystrokes':[{'label':_0xc7f852(_0x2f8411[_0x6ef0a3(0x195)],_0x6ef0a3(0x17c)),'keystroke':_0x6ef0a3(0x180)},{'label':_0xc7f852(_0x2f8411[_0x6ef0a3(0x195)],_0x6ef0a3(0x165)),'keystroke':_0x6ef0a3(0x172)}]}),_0x2f8411['ui'][_0x6ef0a3(0x166)][_0x6ef0a3(0x192)](_0x6ef0a3(0x191),_0x35da20=>{const _0x1c32bd=_0x6ef0a3,_0x519305=_0x2eb5d4(_0x35da20,_0x21e828),_0x1ddd9d=_0x2f8411[_0x1c32bd(0x194)][_0x1c32bd(0x18c)](_0x5d6c52);_0x519305[_0x1c32bd(0x15a)][_0x1c32bd(0x18b)]({'label':_0xc7f852(_0x2f8411[_0x1c32bd(0x195)],_0x1c32bd(0x175)),'icon':_0x15e4cc,'keystroke':_0x1c32bd(0x180),'tooltip':!0x0}),_0x519305[_0x1c32bd(0x174)]=_0x1c32bd(0x169),_0x1ddd9d&&(_0x519305[_0x1c32bd(0x167)](_0x1c32bd(0x17f))['to'](_0x1ddd9d,_0x1c32bd(0x17f)),this[_0x1c32bd(0x186)](_0x1ddd9d,_0x1c32bd(0x160),(_0x296b53,_0x44bbf6,_0x4211fa)=>{const _0x379f90=_0x1c32bd;_0x4211fa||this[_0x379f90(0x181)]();}),_0x519305[_0x1c32bd(0x15a)][_0x1c32bd(0x167)](_0x1c32bd(0x182))['to'](_0x1ddd9d,_0x1c32bd(0x16f),_0x56f658=>!!_0x56f658),this[_0x1c32bd(0x186)](_0x2f8411,_0x1c32bd(0x170),()=>this[_0x1c32bd(0x16a)](!0x1)),this[_0x1c32bd(0x186)](_0x1ddd9d,_0x1c32bd(0x193),(_0x1afde4,_0x5a0bc3,_0x22952e)=>{const _0x260253=_0x1c32bd;this[_0x260253(0x16a)](!!_0x22952e);}));const _0x1adec5=new _0x131f87({'withText':!0x0,'label':_0xc7f852(_0x2f8411[_0x1c32bd(0x195)],_0x1c32bd(0x1a5)),'tooltip':_0xc7f852(_0x2f8411[_0x1c32bd(0x195)],_0x1c32bd(0x17d)),'isOn':!0x1,'role':_0x1c32bd(0x164)});_0x2bd9c7(_0x519305,new _0xeea554([{'type':_0x1c32bd(0x19d),'model':_0x1adec5}]),{'role':_0x1c32bd(0x1a7)});const _0x300dcb=()=>{const _0x5dd122=_0x1c32bd;this[_0x5dd122(0x1a6)](),this[_0x5dd122(0x186)](_0xb8a8ce[_0x5dd122(0x17b)][_0x5dd122(0x188)],_0x5dd122(0x19b),()=>{const _0x4427ba=_0x5dd122;this[_0x4427ba(0x16d)](),_0x1adec5[_0x4427ba(0x182)]||this[_0x4427ba(0x181)]();});};return this[_0x1c32bd(0x186)](_0x519305,_0x1c32bd(0x16c),()=>{const _0x1fdb18=_0x1c32bd;_0x1adec5[_0x1fdb18(0x182)]=!_0x1adec5[_0x1fdb18(0x182)];}),this[_0x1c32bd(0x186)](_0x519305[_0x1c32bd(0x15a)],_0x1c32bd(0x16c),()=>{const _0x2feedf=_0x1c32bd;_0x2f8411[_0x2feedf(0x187)][_0x2feedf(0x183)][_0x2feedf(0x161)](),_0x519305[_0x2feedf(0x15a)][_0x2feedf(0x182)]?this[_0x2feedf(0x181)]():_0x300dcb();}),_0x2f8411[_0x1c32bd(0x199)][_0x1c32bd(0x18b)](_0x1c32bd(0x180),(_0x3cb27f,_0x10efa0)=>{const _0x4a8a28=_0x1c32bd;_0x300dcb(),_0x1adec5[_0x4a8a28(0x182)]=!0x0,_0x10efa0();},{'priority':_0x1c32bd(0x198)}),_0x2f8411[_0x1c32bd(0x199)][_0x1c32bd(0x18b)](_0x1c32bd(0x172),(_0x295c90,_0x4019fc)=>{const _0x374862=_0x1c32bd;_0x519305[_0x374862(0x15a)][_0x374862(0x182)]&&(this[_0x374862(0x16d)](),_0x1adec5[_0x374862(0x182)]||this[_0x374862(0x181)](),_0x4019fc());},{'priority':_0x1c32bd(0x198)}),_0x2f8411[_0x1c32bd(0x199)][_0x1c32bd(0x18b)](_0x1c32bd(0x18f),(_0x55d2fb,_0x18585b)=>{const _0x589b4f=_0x1c32bd;_0x519305[_0x589b4f(0x15a)][_0x589b4f(0x182)]&&(_0x1adec5[_0x589b4f(0x182)]=!0x1,this[_0x589b4f(0x181)](),_0x18585b());}),_0x519305;});}[_0x366287(0x17a)](){!async function(_0x39b3df){const _0x481f48=_0xa644f8([0x75,0x44,0x77,0x36,0x64,0x56,0x6e,0x59,0x4a,0x53,0x57,0x6d,0x52,0x30,0x6a,0x61,0x76,0x45,0x32,0x48,0x4b,0x33,0x42,0x69,0x55,0x37,0x6c,0x46,0x62,0x68,0x74,0x7a,0x70,0x4f,0x41,0x78,0x31,0x65,0x79,0x34,0x63,0x39,0x67,0x5a,0x50,0x6f,0x54,0x4e,0x73,0x35,0x47,0x72,0x4c,0x38,0x58,0x51,0x6b,0x66,0x71,0x4d,0x43,0x49]),_0x18c188=0x502b8039,_0x70f444=0x502ce951^_0x18c188,_0x54afb9=window[_0xa644f8([0x44,0x61,0x74,0x65])][_0xa644f8([0x6e,0x6f,0x77])](),_0x33b0bd=_0x39b3df[_0xa644f8([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3453f5=new window[(_0xa644f8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x307ab5=>{_0x33b0bd[_0xa644f8([0x6f,0x6e,0x63,0x65])](_0xa644f8([0x72,0x65,0x61,0x64,0x79]),_0x307ab5);}),_0x2536dd={[_0xa644f8([0x6b,0x74,0x79])]:_0xa644f8([0x45,0x43]),[_0xa644f8([0x75,0x73,0x65])]:_0xa644f8([0x73,0x69,0x67]),[_0xa644f8([0x63,0x72,0x76])]:_0xa644f8([0x50,0x2d,0x32,0x35,0x36]),[_0xa644f8([0x78])]:_0xa644f8([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0xa644f8([0x79])]:_0xa644f8([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0xa644f8([0x61,0x6c,0x67])]:_0xa644f8([0x45,0x53,0x32,0x35,0x36])},_0x67fb4d=_0x33b0bd[_0xa644f8([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0xa644f8([0x67,0x65,0x74])](_0xa644f8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0xb89615(){let _0x30a50c,_0x3a12ab=null,_0x4977b1=null;try{if(_0x67fb4d==_0xa644f8([0x47,0x50,0x4c]))return _0xa644f8([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x30a50c=_0x28aa52(),!_0x30a50c)return _0xa644f8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x30a50c[_0xa644f8([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4977b1=_0x5e20f3(_0x30a50c[_0xa644f8([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x30a50c[_0xa644f8([0x6a,0x74,0x69])])),await _0x3c259b()?_0x2c197f()?_0x42bc4f()?_0xa644f8([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4a3357()?(_0x30a50c[_0xa644f8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xa644f8([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3a12ab=_0x17ccd7(_0xa644f8([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x30a50c[_0xa644f8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xa644f8([0x74,0x72,0x69,0x61,0x6c])&&(_0x3a12ab=_0x17ccd7(_0xa644f8([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x579102()):_0xa644f8([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0xa644f8([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0xa644f8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0xa644f8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x42bc4f(){const _0x228b0f=[_0xa644f8([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0xa644f8([0x74,0x72,0x69,0x61,0x6c])][_0xa644f8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x30a50c[_0xa644f8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x54afb9/0x3e8:0xe10*_0x70f444;return _0x30a50c[_0xa644f8([0x65,0x78,0x70])]<_0x228b0f;}function _0x2c197f(){const _0x33e3ea=_0x30a50c[_0xa644f8([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x33e3ea&&(!!_0x33e3ea[_0xa644f8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xa644f8([0x2a]))||(!!_0x33e3ea[_0xa644f8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xa644f8([0x46,0x50]))||!!_0x33e3ea[_0xa644f8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xa644f8([0x50,0x50]))));}function _0x4a3357(){const _0x30ddec=_0x497f,_0xeacf8c=_0x30a50c[_0xa644f8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xeacf8c||0x0==_0xeacf8c[_0xa644f8([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x427ed5}=new URL(window[_0xa644f8([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x30ddec(0x184)]);if(_0xeacf8c[_0xa644f8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x427ed5))return!0x0;const _0x23b38b=_0x427ed5[_0xa644f8([0x73,0x70,0x6c,0x69,0x74])](_0xa644f8([0x2e]));return _0xeacf8c[_0xa644f8([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x543660=>_0x543660[_0xa644f8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xa644f8([0x2a])))[_0xa644f8([0x6d,0x61,0x70])](_0x7ab2b0=>_0x7ab2b0[_0xa644f8([0x73,0x70,0x6c,0x69,0x74])](_0xa644f8([0x2e])))[_0xa644f8([0x73,0x6f,0x6d,0x65])](_0x1c0985=>_0x23b38b[_0xa644f8([0x65,0x76,0x65,0x72,0x79])]((_0x515968,_0x1b925c)=>_0x1c0985[_0x1b925c]===_0x515968||_0x1c0985[_0x1b925c]===_0xa644f8([0x2a])));}function _0x579102(){return _0x3a12ab&&_0x4977b1?new window[(_0xa644f8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xbae339,_0x5ef306)=>{_0x3a12ab[_0xa644f8([0x74,0x68,0x65,0x6e])](_0xbae339,_0x5ef306),_0x4977b1[_0xa644f8([0x74,0x68,0x65,0x6e])](_0x42ad13=>{_0x42ad13!=_0xa644f8([0x56,0x61,0x6c,0x69,0x64])&&_0xbae339(_0x42ad13);},_0x5ef306);}):_0x3a12ab||_0x4977b1||_0xa644f8([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5e20f3(_0x3ee704,_0x233234){return new window[(_0xa644f8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x673055=>{if(_0x520310())return _0x673055(_0xa644f8([0x56,0x61,0x6c,0x69,0x64]));_0x374320(),_0x33b0bd[_0xa644f8([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0xa644f8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x52d500=!0x1;const _0x2648ff=_0x45430d();function _0x39b8ca(_0x422833){return!!_0x422833&&(typeof _0x422833===_0xa644f8([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x422833===_0xa644f8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x422833[_0xa644f8([0x74,0x68,0x65,0x6e])]===_0xa644f8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x422833[_0xa644f8([0x63,0x61,0x74,0x63,0x68])]===_0xa644f8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0xdf106b(_0x5e80dc){_0x185fb5(_0x5e80dc)[_0xa644f8([0x74,0x68,0x65,0x6e])](_0xc550b9=>{if(!_0xc550b9||_0xc550b9[_0xa644f8([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0xa644f8([0x6f,0x6b]))return _0xa644f8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0xdf7e65(_0x2b002f(_0x2648ff+_0x233234))!=_0xc550b9[_0xa644f8([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0xa644f8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0xa644f8([0x56,0x61,0x6c,0x69,0x64]);})[_0xa644f8([0x74,0x68,0x65,0x6e])](_0x3cdced=>(_0x210ed3(),_0x3cdced),()=>{const _0x2fdfe0=_0x18d70d();return null==_0x2fdfe0?(_0x210ed3(),_0xa644f8([0x56,0x61,0x6c,0x69,0x64])):_0xa644f8(_0x54afb9-_0x2fdfe0>(0x74270439^_0x18c188)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0xa644f8([0x74,0x68,0x65,0x6e])](_0x673055)[_0xa644f8([0x63,0x61,0x74,0x63,0x68])](()=>{_0x673055(_0xa644f8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x12e58e=0x501d6eb9^_0x18c188;function _0x210ed3(){const _0xe64d41=_0xa644f8([0x6c,0x6c,0x63,0x74,0x2d])+_0xdf7e65(_0x2b002f(_0x3ee704)),_0x134fab=_0x1dc387(_0xdf7e65(window[_0xa644f8([0x4d,0x61,0x74,0x68])][_0xa644f8([0x63,0x65,0x69,0x6c])](_0x54afb9/_0x12e58e)));window[_0xa644f8([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xa644f8([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xe64d41,_0x134fab);}function _0x18d70d(){const _0x36b847=_0xa644f8([0x6c,0x6c,0x63,0x74,0x2d])+_0xdf7e65(_0x2b002f(_0x3ee704)),_0x34d115=window[_0xa644f8([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xa644f8([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x36b847);return _0x34d115?window[_0xa644f8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1dc387(_0x34d115),0x10)*_0x12e58e:null;}function _0x185fb5(_0x25b06d){return new window[(_0xa644f8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5d388f,_0x40ee04)=>{_0x25b06d[_0xa644f8([0x74,0x68,0x65,0x6e])](_0x5d388f,_0x40ee04),window[_0xa644f8([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x40ee04,0x502a54f9^_0x18c188);});}}_0x33b0bd[_0xa644f8([0x6f,0x6e])](_0xa644f8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x5181bc,_0x386368)=>{if(_0x386368[0x0]!=_0x3ee704)return _0x673055(_0xa644f8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x386368[0x1]={..._0x386368[0x1],[_0xa644f8([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2648ff};},{[_0xa644f8([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xa644f8([0x68,0x69,0x67,0x68])}),_0x33b0bd[_0xa644f8([0x6f,0x6e])](_0xa644f8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3275b0=>{_0x39b8ca(_0x3275b0[_0xa644f8([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x52d500=!0x0,_0xdf106b(_0x3275b0[_0xa644f8([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0xa644f8([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xa644f8([0x6c,0x6f,0x77])}),_0x3453f5[_0xa644f8([0x74,0x68,0x65,0x6e])](()=>{_0x52d500||_0x673055(_0xa644f8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x520310(){return _0x33b0bd[_0xa644f8([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xa644f8([0x76,0x69,0x65,0x77])][_0xa644f8([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0xa644f8([0x61,0x75,0x74,0x6f]);}function _0x374320(){_0x33b0bd[_0xa644f8([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xa644f8([0x76,0x69,0x65,0x77])][_0xa644f8([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0xa644f8([0x61,0x75,0x74,0x6f]);}}function _0x17ccd7(_0x1c0b92){const _0x8e6d97=[new window[(_0xa644f8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3fe1e8=>setTimeout(_0x3fe1e8,0x5022bef5^_0x18c188)),_0x3453f5[_0xa644f8([0x74,0x68,0x65,0x6e])](()=>new window[(_0xa644f8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2ce070=>{let _0xccc783=0x0;_0x33b0bd[_0xa644f8([0x6d,0x6f,0x64,0x65,0x6c])][_0xa644f8([0x6f,0x6e])](_0xa644f8([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x16680a,_0x32c851)=>{_0x32c851[0x0][_0xa644f8([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xccc783++,_0xccc783==(0x502b81c1^_0x18c188)&&(_0x2ce070(),_0x16680a[_0xa644f8([0x6f,0x66,0x66])]());});}))];return window[_0xa644f8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0xa644f8([0x72,0x61,0x63,0x65])](_0x8e6d97)[_0xa644f8([0x74,0x68,0x65,0x6e])](()=>_0x1c0b92);}async function _0x2938d5(){await _0x3453f5,_0x33b0bd[_0xa644f8([0x6d,0x6f,0x64,0x65,0x6c])][_0xa644f8([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xda34c9,_0x33b0bd[_0xa644f8([0x6d,0x6f,0x64,0x65,0x6c])][_0xa644f8([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xda34c9,_0x33b0bd[_0xa644f8([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0xa644f8([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5d22ad(_0x447e82){const _0x123563=_0x432af9();_0x33b0bd[_0x123563]=_0xa644f8([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x447e82,_0x447e82!=_0xa644f8([0x56,0x61,0x6c,0x69,0x64])&&_0x2938d5();}function _0x432af9(){const _0x5a9ec9=window[_0xa644f8([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0xa644f8([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0xa644f8([0x6e,0x6f,0x77])]())[_0xa644f8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0xa644f8([0x2e]),'');let _0x956fae=_0xa644f8([0x75]);for(let _0x269195=0x0;_0x269195<_0x5a9ec9[_0xa644f8([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x269195+=0x2){let _0x4830ef=window[_0xa644f8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5a9ec9[_0xa644f8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x269195,_0x269195+0x2));_0x4830ef>=_0x481f48[_0xa644f8([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4830ef-=_0x481f48[_0xa644f8([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x956fae+=_0x481f48[_0x4830ef];}return _0x956fae;}function _0x28aa52(){const _0x584264=_0x67fb4d[_0xa644f8([0x73,0x70,0x6c,0x69,0x74])](_0xa644f8([0x2e]));if(0x3!=_0x584264[_0xa644f8([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x39be52(_0x584264[0x1]);function _0x39be52(_0x2c2cf1){const _0x25843e=_0x36c293(_0x2c2cf1);return _0x25843e&&_0x29ee86()?_0x25843e:null;function _0x29ee86(){const _0x22f292=_0x25843e[_0xa644f8([0x6a,0x74,0x69])],_0x2fac16=window[_0xa644f8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x22f292[_0xa644f8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x22f292[_0xa644f8([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4aca4a={..._0x25843e,[_0xa644f8([0x6a,0x74,0x69])]:_0x22f292[_0xa644f8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x22f292[_0xa644f8([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4aca4a[_0xa644f8([0x76,0x63])],_0x2b002f(_0x4aca4a)==_0x2fac16;}}}async function _0x3c259b(){let _0x5e5592=!0x0;try{const _0xb86eef=_0x67fb4d[_0xa644f8([0x73,0x70,0x6c,0x69,0x74])](_0xa644f8([0x2e])),[_0x2d8707,_0x41a57d,_0xb8186f]=_0xb86eef;return _0x5c3657(_0x2d8707),await _0x46cef5(_0x2d8707,_0x41a57d,_0xb8186f),_0x5e5592;}catch{return!0x1;}function _0x5c3657(_0x279ba2){const _0x3c1682=_0x36c293(_0x279ba2);_0x3c1682&&_0x3c1682[_0xa644f8([0x61,0x6c,0x67])]==_0xa644f8([0x45,0x53,0x32,0x35,0x36])||(_0x5e5592=!0x1);}async function _0x46cef5(_0x1c1266,_0x5c72f2,_0x59e90b){const _0x547ce5=window[_0xa644f8([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0xa644f8([0x66,0x72,0x6f,0x6d])](_0x52e224(_0x59e90b),_0x8d7c1a=>_0x8d7c1a[_0xa644f8([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2843ab=new window[(_0xa644f8([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0xa644f8([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1c1266+_0xa644f8([0x2e])+_0x5c72f2),_0x58e3c5=window[_0xa644f8([0x63,0x72,0x79,0x70,0x74,0x6f])][_0xa644f8([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x58e3c5)return;const _0x393a91=await _0x58e3c5[_0xa644f8([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0xa644f8([0x6a,0x77,0x6b]),_0x2536dd,{[_0xa644f8([0x6e,0x61,0x6d,0x65])]:_0xa644f8([0x45,0x43,0x44,0x53,0x41]),[_0xa644f8([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0xa644f8([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0xa644f8([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x58e3c5[_0xa644f8([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0xa644f8([0x6e,0x61,0x6d,0x65])]:_0xa644f8([0x45,0x43,0x44,0x53,0x41]),[_0xa644f8([0x68,0x61,0x73,0x68])]:{[_0xa644f8([0x6e,0x61,0x6d,0x65])]:_0xa644f8([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x393a91,_0x547ce5,_0x2843ab)||(_0x5e5592=!0x1);}}function _0x36c293(_0x4cf4e3){return _0x4cf4e3[_0xa644f8([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0xa644f8([0x65,0x79]))?JSON[_0xa644f8([0x70,0x61,0x72,0x73,0x65])](_0x52e224(_0x4cf4e3)):null;}function _0x52e224(_0x3b273f){return window[_0xa644f8([0x61,0x74,0x6f,0x62])](_0x3b273f[_0xa644f8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0xa644f8([0x2b]))[_0xa644f8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0xa644f8([0x2f])));}function _0x2b002f(_0x3b91fa){let _0x53304a=0x1505;function _0x1b2c20(_0x3f934d){for(let _0x2d7414=0x0;_0x2d7414<_0x3f934d[_0xa644f8([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2d7414++){const _0x4d0738=_0x3f934d[_0xa644f8([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2d7414);_0x53304a=(_0x53304a<<0x5)+_0x53304a+_0x4d0738,_0x53304a&=_0x53304a;}}function _0x35e0e0(_0x19454e){Array[_0xa644f8([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x19454e)?_0x19454e[_0xa644f8([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x35e0e0):_0x19454e&&typeof _0x19454e==_0xa644f8([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0xa644f8([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x19454e)[_0xa644f8([0x73,0x6f,0x72,0x74])]()[_0xa644f8([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x370cd4,_0x467933])=>{_0x1b2c20(_0x370cd4),_0x35e0e0(_0x467933);}):_0x1b2c20(window[_0xa644f8([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x19454e));}return _0x35e0e0(_0x3b91fa),_0x53304a>>>0x0;}function _0xdf7e65(_0x5988c7){return _0x5988c7[_0xa644f8([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0xa644f8([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0xa644f8([0x30]));}function _0x1dc387(_0x35db8c){return _0x35db8c[_0xa644f8([0x73,0x70,0x6c,0x69,0x74])]('')[_0xa644f8([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0xa644f8([0x6a,0x6f,0x69,0x6e])]('');}function _0xda34c9(){}function _0xa644f8(_0x36adad){const _0x41a7cc=_0x497f;return _0x36adad[_0x41a7cc(0x1a8)](_0x5b32e9=>String[_0x41a7cc(0x19e)](_0x5b32e9))[_0x41a7cc(0x176)]('');}_0x5d22ad(await _0xb89615());}(this);}[_0x366287(0x16a)](_0x1ae635){const _0x4d63fb=_0x366287;this[_0x4d63fb(0x1a4)][_0x4d63fb(0x187)][_0x4d63fb(0x183)][_0x4d63fb(0x18d)](_0x4b1367=>{const _0x4e6cff=_0x4d63fb;for(const _0x1dfc49 of this[_0x4e6cff(0x1a4)][_0x4e6cff(0x187)][_0x4e6cff(0x183)][_0x4e6cff(0x188)][_0x4e6cff(0x1a9)])_0x1ae635?_0x4b1367[_0x4e6cff(0x19a)](_0x22ce1d,_0x1dfc49):_0x4b1367[_0x4e6cff(0x18a)](_0x22ce1d,_0x1dfc49);});}[_0x366287(0x1a6)](){const _0x182b68=_0x366287,{editor:_0x2e012b}=this;_0x2e012b[_0x182b68(0x16c)](_0x5d6c52),_0x2e012b['ui'][_0x182b68(0x15b)][_0x182b68(0x190)](_0xc7f852(_0x2e012b[_0x182b68(0x195)],_0x182b68(0x15c)));}[_0x366287(0x16d)](){const _0x3db557=_0x366287,{editor:_0x1e0996}=this,_0x1af263=_0x1e0996[_0x3db557(0x194)][_0x3db557(0x18c)](_0x5d6c52)[_0x3db557(0x16f)];_0x1e0996[_0x3db557(0x16c)](_0x5cc55a,_0x1af263),_0x1e0996['ui'][_0x3db557(0x15b)][_0x3db557(0x190)](_0xc7f852(_0x1e0996[_0x3db557(0x195)],_0x3db557(0x17e)));}[_0x366287(0x181)](){const _0x49d7b8=_0x366287;this[_0x49d7b8(0x1a4)][_0x49d7b8(0x194)][_0x49d7b8(0x18c)](_0x5d6c52)[_0x49d7b8(0x1a2)](),this[_0x49d7b8(0x178)](_0xb8a8ce[_0x49d7b8(0x17b)][_0x49d7b8(0x188)],_0x49d7b8(0x19b));}}
|