@ckeditor/ckeditor5-format-painter 0.0.0-nightly-20250405.0 → 0.0.0-nightly-20250406.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/format-painter.js +2 -2
- package/dist/index.js +2 -2
- package/package.json +7 -7
- package/src/formatpainterui.js +2 -2
package/build/format-painter.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
!function(t){const
|
|
1
|
+
!function(t){const e=t.en=t.en||{};e.dictionary=Object.assign(e.dictionary||{},{"Continuous painting":"Continuous painting","Copy text formatting":"Copy text formatting","Formatting copied.":"Formatting copied.","Keeps the painter on after setting the formatting.":"Keeps the painter on after setting the formatting.","Paint formatting":"Paint formatting","Paste text formatting":"Paste text formatting","Pasted formatting.":"Pasted formatting."})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})),
|
|
2
2
|
/*!
|
|
3
3
|
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
4
4
|
* For licensing, see LICENSE.md.
|
|
5
|
-
*/(()=>{var t={168:t=>{"use strict";t.exports=function(t){return t[1]}},220:t=>{"use strict";t.exports=function(t,n){return n||(n={}),t?(t=String(t.__esModule?t.default:t),/^['"].*['"]$/.test(t)&&(t=t.slice(1,-1)),n.hash&&(t+=n.hash),/["'() \t\n]|(%20)/.test(t)||n.needQuotes?'"'.concat(t.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):t):t}},237:t=>{"use strict";t.exports=CKEditor5.dll},262:t=>{"use strict";var n={};t.exports=function(t,e){var r=function(t){if(void 0===n[t]){var e=document.querySelector(t);if(window.HTMLIFrameElement&&e instanceof window.HTMLIFrameElement)try{e=e.contentDocument.head}catch(t){e=null}n[t]=e}return n[t]}(t);if(!r)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");r.appendChild(e)}},311:(t,n,e)=>{t.exports=e(237)("./src/ui.js")},355:(t,n,e)=>{t.exports=e(237)("./src/icons.js")},357:t=>{"use strict";t.exports=function(t){var n=document.createElement("style");return t.setAttributes(n,t.attributes),t.insert(n,t.options),n}},415:t=>{"use strict";t.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMCIgaGVpZ2h0PSIyMCIgZmlsbD0ibm9uZSIgdmlld0JveD0iMCAwIDMxIDIwIj48cGF0aCBmaWxsPSIjMDAwIiBkPSJNMTQgM2ExIDEgMCAwIDEgMS0xaDEwYTEgMSAwIDAgMSAxIDF2MmExIDEgMCAwIDEtMSAxSDE1YTEgMSAwIDAgMS0xLTF6Ii8+PHBhdGggZmlsbD0iIzAwMCIgZD0iTTI3IDMuMjVhMS41IDEuNSAwIDAgMSAxLjUgMS41djEuN2EyLjI1IDIuMjUgMCAwIDEtMS45MzIgMi4yMjZsLTQuNDI0LjYzMmEuNzUuNzUgMCAwIDAtLjY0NC43NDNWMTFhMSAxIDAgMCAxIDEgMXY1YTEgMSAwIDAgMS0xIDFIMjBhMSAxIDAgMCAxLTEtMXYtNWExIDEgMCAwIDEgMS0xdi0uOTVhMi4yNSAyLjI1IDAgMCAxIDEuOTMyLTIuMjI2bDQuNDI0LS42MzJBLjc1Ljc1IDAgMCAwIDI3IDYuNDQ5eiIvPjxwYXRoIGZpbGw9IiNmZmYiIGZpbGwtcnVsZT0iZXZlbm9kZCIgZD0iTTI2Ljg1NSAyLjI1SDI3YTIuNSAyLjUgMCAwIDEgMi41IDIuNXYxLjdhMy4yNSAzLjI1IDAgMCAxLTIuNzkgMy4yMTZsLTQuMjEuNjAyYTIgMiAwIDAgMSAxIDEuNzMydjVhMiAyIDAgMCAxLTIgMkgyMGEyIDIgMCAwIDEtMi0ydi01YTIgMiAwIDAgMSAxLTEuNzMydi0uMjE3QTMuMjUgMy4yNSAwIDAgMSAyMS4xMjkgN0gxNWEyIDIgMCAwIDEtMi0yVjNhMiAyIDAgMCAxIDItMmgxMGEyIDIgMCAwIDEgMS44NTUgMS4yNU0yMCAxMC4wNVYxMWExIDEgMCAwIDAtMSAxdjVhMSAxIDAgMCAwIDEgMWgxLjVhMSAxIDAgMCAwIDEtMXYtNWExIDEgMCAwIDAtMS0xdi0uOTVxMC0uMDI0LjAwMi0uMDVhLjc1Ljc1IDAgMCAxIC42NDItLjY5Mmw0LjQyNC0uNjMyQTIuMjUgMi4yNSAwIDAgMCAyOC41IDYuNDV2LTEuN2ExLjQ5NiAxLjQ5NiAwIDAgMC0xLjUtMS41djMuMmEuNzUuNzUgMCAwIDEtLjY0NC43NDJsLTQuNDI0LjYzMkEyLjI1IDIuMjUgMCAwIDAgMjAgMTAuMDVNMTUgMmExIDEgMCAwIDAtMSAxdjJhMSAxIDAgMCAwIDEgMWgxMGExIDEgMCAwIDAgMS0xVjNhMSAxIDAgMCAwLTEtMXoiIGNsaXAtcnVsZT0iZXZlbm9kZCIvPjxwYXRoIGZpbGw9IiMwMDAiIGQ9Ik0yLjUgMi41QS41LjUgMCAwIDEgMyAyaDIuNWEuNS41IDAgMCAxIC4zNTQuMTQ2bC42NDYuNjQ3LjY0Ni0uNjQ3QS41LjUgMCAwIDEgNy41IDJIMTBhLjUuNSAwIDAgMSAwIDFINy43MDdMNyAzLjcwN1YxMGguNWEuNS41IDAgMCAxIDAgMUg3djQuNzkzbC43MDcuNzA3SDEwYS41LjUgMCAwIDEgMCAxSDcuNWEuNS41IDAgMCAxLS4zNTQtLjE0NmwtLjY0Ni0uNjQ3LS42NDYuNjQ3YS41LjUgMCAwIDEtLjM1NC4xNDZIM2EuNS41IDAgMCAxIDAtMWgyLjI5M0w2IDE1Ljc5M1YxMWgtLjVhLjUuNSAwIDAgMSAwLTFINlYzLjcwN0w1LjI5MyAzSDNhLjUuNSAwIDAgMS0uNS0uNSIvPjxwYXRoIGZpbGw9IiNmZmYiIGZpbGwtcnVsZT0iZXZlbm9kZCIgZD0ibTUuNzkzIDMuNS0uNS0uNUgzYS41LjUgMCAwIDEgMC0xaDIuNWEuNS41IDAgMCAxIC4zNTQuMTQ2bC4xNDUuMTQ2LjUwMS41LjY0Ni0uNjQ2QS41LjUgMCAwIDEgNy41IDJIMTBhLjUuNSAwIDAgMSAwIDFINy43MDdMNyAzLjcwN1YxMGguNWEuNS41IDAgMCAxIDAgMUg3djQuNzkzbC43MDcuNzA3SDEwYS41LjUgMCAwIDEgMCAxSDcuNWEuNS41IDAgMCAxLS4zNTQtLjE0NmwtLjY0Ni0uNjQ3LS41LjUtLjE0Ni4xNDdhLjUuNSAwIDAgMS0uMzU0LjE0NkgzYS41LjUgMCAwIDEgMC0xaDIuMjkzTDYgMTUuNzkzVjExaC0uNWEuNS41IDAgMCAxIDAtMUg2VjMuNzA3em0tLjkxNC41TDUgNC4xMjF2NC45NjRhMS41IDEuNSAwIDAgMCAwIDIuODN2My40NjRsLS4xMjEuMTIxSDNhMS41IDEuNSAwIDAgMCAwIDNoMi41YTEuNSAxLjUgMCAwIDAgMS0uMzgyIDEuNSAxLjUgMCAwIDAgMSAuMzgySDEwYTEuNSAxLjUgMCAwIDAgMC0zSDguMTIxTDggMTUuMzc5di0zLjQ2NGExLjUgMS41IDAgMCAwIDAtMi44M1Y0LjEyMUw4LjEyMSA0SDEwYTEuNSAxLjUgMCAwIDAgMC0zSDcuNWExLjUgMS41IDAgMCAwLTEgLjM4MkExLjUgMS41IDAgMCAwIDUuNSAxSDNhMS41IDEuNSAwIDEgMCAwIDN6IiBjbGlwLXJ1bGU9ImV2ZW5vZGQiLz48L3N2Zz4="},433:t=>{"use strict";t.exports=function(t){var n=[];return n.toString=function(){return this.map((function(n){var e="",r=void 0!==n[5];return n[4]&&(e+="@supports (".concat(n[4],") {")),n[2]&&(e+="@media ".concat(n[2]," {")),r&&(e+="@layer".concat(n[5].length>0?" ".concat(n[5]):""," {")),e+=t(n),r&&(e+="}"),n[2]&&(e+="}"),n[4]&&(e+="}"),e})).join("")},n.i=function(t,e,r,i,o){"string"==typeof t&&(t=[[null,t,void 0]]);var s={};if(r)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(s[c]=!0)}for(var u=0;u<t.length;u++){var I=[].concat(t[u]);r&&s[I[0]]||(void 0!==o&&(void 0===I[5]||(I[1]="@layer".concat(I[5].length>0?" ".concat(I[5]):""," {").concat(I[1],"}")),I[5]=o),e&&(I[2]?(I[1]="@media ".concat(I[2]," {").concat(I[1],"}"),I[2]=e):I[2]=e),i&&(I[4]?(I[1]="@supports (".concat(I[4],") {").concat(I[1],"}"),I[4]=i):I[4]="".concat(i)),n.push(I))}},n}},545:t=>{"use strict";var n,e=(n=[],function(t,e){return n[t]=e,n.filter(Boolean).join("\n")});function r(t,n,r,i){var o;if(r)o="";else{o="",i.supports&&(o+="@supports (".concat(i.supports,") {")),i.media&&(o+="@media ".concat(i.media," {"));var s=void 0!==i.layer;s&&(o+="@layer".concat(i.layer.length>0?" ".concat(i.layer):""," {")),o+=i.css,s&&(o+="}"),i.media&&(o+="}"),i.supports&&(o+="}")}if(t.styleSheet)t.styleSheet.cssText=e(n,o);else{var a=document.createTextNode(o),c=t.childNodes;c[n]&&t.removeChild(c[n]),c.length?t.insertBefore(a,c[n]):t.appendChild(a)}}var i={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var n=i.singletonCounter++,e=i.singleton||(i.singleton=t.insertStyleElement(t));return{update:function(t){r(e,n,!1,t)},remove:function(t){r(e,n,!0,t)}}}},584:(t,n,e)=>{t.exports=e(237)("./src/utils.js")},655:(t,n,e)=>{"use strict";e.d(n,{A:()=>f});var r=e(168),i=e.n(r),o=e(433),s=e.n(o),a=e(220),c=e.n(a),u=new URL(e(415),e.b),I=s()(i()),g=c()(u);I.push([t.id,`.ck.ck-editor__editable_inline.ck-format-painter-active,.ck.ck-editor__editable_inline.ck-format-painter-active .ck-widget .ck-editor__nested-editable,.ck.ck-editor__editable_inline.ck-format-painter-active a,.ck.ck-editor__editable_inline.ck-format-painter-active a .ck-widget .ck-editor__nested-editable{cursor:url(${g}) 3 3,text}`,""]);const f=I},667:t=>{"use strict";t.exports=function(t,n){Object.keys(n).forEach((function(e){t.setAttribute(e,n[e])}))}},673:t=>{"use strict";var n=[];function e(t){for(var e=-1,r=0;r<n.length;r++)if(n[r].identifier===t){e=r;break}return e}function r(t,r){for(var o={},s=[],a=0;a<t.length;a++){var c=t[a],u=r.base?c[0]+r.base:c[0],I=o[u]||0,g="".concat(u," ").concat(I);o[u]=I+1;var f=e(g),M={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==f)n[f].references++,n[f].updater(M);else{var l=i(M,r);r.byIndex=a,n.splice(a,0,{identifier:g,updater:l,references:1})}s.push(g)}return s}function i(t,n){var e=n.domAPI(n);e.update(t);return function(n){if(n){if(n.css===t.css&&n.media===t.media&&n.sourceMap===t.sourceMap&&n.supports===t.supports&&n.layer===t.layer)return;e.update(t=n)}else e.remove()}}t.exports=function(t,i){var o=r(t=t||[],i=i||{});return function(t){t=t||[];for(var s=0;s<o.length;s++){var a=e(o[s]);n[a].references--}for(var c=r(t,i),u=0;u<o.length;u++){var I=e(o[u]);0===n[I].references&&(n[I].updater(),n.splice(I,1))}o=c}}},782:(t,n,e)=>{t.exports=e(237)("./src/core.js")},783:(t,n,e)=>{t.exports=e(237)("./src/engine.js")}},n={};function e(r){var i=n[r];if(void 0!==i)return i.exports;var o=n[r]={id:r,exports:{}};return t[r](o,o.exports,e),o.exports}e.m=t,e.n=t=>{var n=t&&t.__esModule?()=>t.default:()=>t;return e.d(n,{a:n}),n},e.d=(t,n)=>{for(var r in n)e.o(n,r)&&!e.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:n[r]})},e.o=(t,n)=>Object.prototype.hasOwnProperty.call(t,n),e.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},e.b=document.baseURI||self.location.href;var r={};(()=>{"use strict";e.r(r),e.d(r,{CopyFormatCommand:()=>f,FormatPainter:()=>R,FormatPainterEditing:()=>N,FormatPainterUI:()=>_,PasteFormatCommand:()=>A});var t=e(782);const n=o;function i(){const t=["ck-format-painter-active","2567761JxjkpD","660411oqeQCC","988616HRtCMn","3hsNLoJ","copyFormat","1388705gZLISI","24otbmib","755739GVflOW","6875752OPuRlg","pasteFormat","1648756DqLZhq","30FiXrfJ"];return(i=function(){return t})()}function o(t,n){const e=i();return(o=function(t,n){return e[t-=131]})(t,n)}!function(t){const n=o,e=t();for(;;)try{if(568811===parseInt(n(143))/1+-parseInt(n(138))/2+parseInt(n(139))/3*(parseInt(n(133))/4)+parseInt(n(141))/5*(-parseInt(n(142))/6)+parseInt(n(136))/7+parseInt(n(131))/8+parseInt(n(137))/9*(-parseInt(n(134))/10))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(i);const s=n(140),a=n(132),c=n(135),u=I;function I(t,n){const e=g();return(I=function(t,n){return e[t-=322]})(t,n)}function g(){const t=["3JFogna","1032318ZVdzkz","filter","model","4979052TNEEgR","refresh","6551752DoYBPI","902235EddGog","getAttributeProperties","fromEntries","get","change:value","3563630rKCSZJ","isFormatting","document","selection","2151518KUIgCP","commands","873CuNxXb","schema","_getFormattingAttributes","reset","execute","4MgojxP","from","58130xcRwpz","change:isEnabled","getAttributes","value","editor"];return(g=function(){return t})()}!function(t){const n=I,e=t();for(;;)try{if(584942===parseInt(n(339))/1+parseInt(n(324))/2*(parseInt(n(338))/3)+-parseInt(n(331))/4*(-parseInt(n(345))/5)+-parseInt(n(342))/6+parseInt(n(350))/7+-parseInt(n(344))/8+parseInt(n(326))/9*(-parseInt(n(333))/10))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(g);class f extends t.Command{constructor(t){const n=I;super(t),this[n(336)]=void 0,this.on(n(334),((t,e,r)=>{r||this[n(329)]()})),this.on(n(349),(()=>t[n(325)][n(348)](a)[n(343)]()))}[u(330)](){const t=u;this[t(336)]=this[t(328)]()}[u(329)](){this[u(336)]=void 0}[u(328)](){const t=u,n=this[t(337)][t(341)],e=n[t(322)][t(323)];return Object[t(347)](Array[t(332)](e[t(335)]())[t(340)]((([e])=>n[t(327)][t(346)](e)[t(351)])))}}var M=e(584);const l=d;function d(t,n){const e=p();return(d=function(t,n){return e[t-=480]})(t,n)}function p(){const t=["editor","createRangeOn","createSelection","421428LbzljI","createRange","_getFormattingItems","isCollapsed","isBlock","getRanges","61570xSsrrv","19925FCbLPs","schema","document","438zDTPMQ","setAttribute","modifySelection","5837252zqYuEM","_createRangeOnEntireWord","9BxycSi","setSelection","selection","8XioZmn","getValidRanges","_removeFormatCommand","word","getAttributes","getItems","getLastPosition","getFirstPosition","from","change","removeAttribute","218729igzrlr","execute","forward","model","423YqToMK","761700ZxmImo","getAttributeProperties","backward","328747SyNbxI","removeSelectionAttribute","_getFormattingAttributes","957LdTURK","getSelectedBlocks","isFormatting"];return(p=function(){return t})()}!function(t){const n=d,e=t();for(;;)try{if(736274===-parseInt(n(505))/1+-parseInt(n(502))/2*(parseInt(n(483))/3)+-parseInt(n(481))/4+-parseInt(n(521))/5*(-parseInt(n(524))/6)+-parseInt(n(497))/7*(-parseInt(n(486))/8)+-parseInt(n(501))/9*(-parseInt(n(520))/10)+-parseInt(n(508))/11*(-parseInt(n(514))/12))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(p);class A extends t.Command{constructor(t){const n=d;super(t),this[n(488)]=new w(t)}[l(498)](t={}){const n=l,e=this[n(511)][n(500)],r=e[n(523)][n(485)],i=Array[n(494)](r[n(519)]()),o=r[n(517)]?[this[n(482)](e,r)]:i;e[n(495)]((r=>{const s=n;r[s(484)](o),this[s(488)][s(498)]();for(const n in t)for(const i of e[s(522)][s(487)](o,n))r[s(525)](n,t[n],i);r[s(484)](i)}))}[l(482)](t,n){const e=l,r=t[e(513)](n);t[e(480)](r,{unit:e(489),direction:e(504)});const i=r[e(493)]();t[e(480)](r,{unit:e(489),direction:e(499)});const o=r[e(492)]();return t[e(515)](i,o)}}class w extends t.Command{[l(498)](){const t=l,n=this[t(511)][t(500)],e=n[t(522)];n[t(495)]((r=>{const i=t;for(const t of this[i(516)](n[i(523)][i(485)],e))if(t.is(i(485)))for(const n of this[i(507)](t,e))r[i(506)](n);else{const n=r[i(512)](t);for(const o of this[i(507)](t,e))r[i(496)](o,n)}}))}*[l(516)](t,n){const e=l,r=t=>!!(0,M.first)(this[e(507)](t,n));for(const i of t[e(519)]())for(const t of i[e(491)]())!n[e(518)](t)&&r(t)&&(yield t);for(const n of t[e(509)]())r(n)&&(yield n);r(t)&&(yield t)}*[l(507)](t,n){const e=l;for(const[r]of t[e(490)]()){const t=n[e(503)](r);t&&t[e(510)]&&(yield r)}}}const m=D;function D(t,n){const e=h();return(D=function(t,n){return e[t-=307]})(t,n)}function h(){const t=["formatPainterLicenseKeyExpired","1064MIqOiT","pluginName","formatPainterLicenseKeyUsageLimit","1514740ZTgNbX","evaluationLimit","FormatPainterEditing","domainLimit","trialLimit","6xqDkwy","147123tdbyzf","_showLicenseError","formatPainterLicenseKeyNotAllowed","editor","featureNotAllowed","FormatPainter","licenseKey","1674233zDdliC","_licenseKeyCheckInterval","init","formatPainterLicenseKeyTrialLimit","invalid","20zDuOBj","add","85835fpfeqA","formatPainterLicenseKeyValid","36azyKvu","482626yFEEJz","140390HHWWPR","formatPainterLicenseKeyInvalid","isPremiumPlugin","usageLimit","isOfficialPlugin","config","destroy","90ISqrld","formatPainterLicenseKeyEvaluationLimit","12088NeBpls","formatPainterLicenseKeyDomainLimit","commands","expired","get"];return(h=function(){return t})()}!function(t){const n=D,e=t();for(;;)try{if(161e3===-parseInt(n(316))/1+-parseInt(n(319))/2+parseInt(n(344))/3*(parseInt(n(314))/4)+parseInt(n(338))/5*(-parseInt(n(343))/6)+parseInt(n(335))/7*(parseInt(n(329))/8)+parseInt(n(327))/9*(-parseInt(n(320))/10)+-parseInt(n(309))/11*(-parseInt(n(318))/12))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(h);class N extends t.Plugin{[m(308)];[m(310)];static get[m(336)](){return m(340)}static get[m(324)](){return!0}static get[m(322)](){return!0}[m(311)](){const t=m,n=this[t(347)];n[t(331)][t(315)](s,new f(n)),n[t(331)][t(315)](a,new A(n)),this[t(308)]=this[t(347)][t(325)][t(333)](t(308));const e=this[t(347)];this[t(310)]=setInterval((()=>{const n=t;let r;for(const t in e){const i=t,o=e[i];if(n(317)==o||n(321)==o||n(334)==o||n(330)==o||n(346)==o||n(328)==o||n(312)==o||n(337)==o){delete e[i],r=o,clearInterval(this[n(310)]),this[n(310)]=void 0;break}}n(321)==r&&e[n(345)](n(313)),n(334)==r&&e[n(345)](n(332)),n(330)==r&&e[n(345)](n(341)),n(346)==r&&e[n(345)](n(348),n(307)),n(328)==r&&e[n(345)](n(339)),n(312)==r&&e[n(345)](n(342)),n(337)==r&&e[n(345)](n(323))}),1e3)}[m(326)](){const t=m;super[t(326)](),this[t(310)]&&clearInterval(this[t(310)])}}var y=e(311),x=e(783),S=e(355),C=e(673),j=e.n(C),L=e(545),E=e.n(L),v=e(262),b=e.n(v),T=e(667),P=e.n(T),k=e(357),U=e.n(k),z=e(655),Y={attributes:{"data-cke":!0}};Y.setAttributes=P(),Y.insert=b().bind(null,"head"),Y.domAPI=E(),Y.insertStyleElement=U();j()(z.A,Y);z.A&&z.A.locals&&z.A.locals;function F(t,n){const e=t.t;switch(n){case"Paint formatting":return e("Paint formatting");case"Copy text formatting":return e("Copy text formatting");case"Paste text formatting":return e("Paste text formatting");case"Continuous painting":return e("Continuous painting");case"Keeps the painter on after setting the formatting.":return e("Keeps the painter on after setting the formatting.");case"Formatting copied.":return e("Formatting copied.");case"Pasted formatting.":return e("Pasted formatting.");default:return n}}function Z(t,n){const e=Q();return(Z=function(t,n){return e[t-=275]})(t,n)}function Q(){const t=["3375528lwOLbM","Copy text formatting","Ctrl+Alt+C","40585325pEmGYZ","document","listenTo","locale","bind","value","switchbutton","Ctrl+Alt+V","_pasteFormatting","buttonView","mouseup","ariaLiveAnnouncer","change","join","isOn","_copyFormatting","Pasted formatting.","commands","292NdoWvf","addClass","editor","6366270dwUMGx","isEnabled","keystrokes","change:value","200627dVYnTk","addObserver","high","pluginName","class","init","focus","664964MYFVJV","set","add","view","formatPainter","FormatPainterUI","announce","change:isEnabled","Esc","menu","Formatting copied.","Paste text formatting","_toggleSpecialCursor","10UPEJPn","reset","execute","fromCharCode","Paint formatting","Continuous painting","Keeps the painter on after setting the formatting.","addKeystrokeInfos","roots","3085524QzCrKu","window","35517ITIHcC","get","stopListening","menuitemcheckbox","128jBMvuH","accessibility","removeClass","componentFactory","_finishPainting","href","2LQgBRw","map","editing","destroy","ck-format-painter-dropdown","afterInit","isOfficialPlugin","isPremiumPlugin"];return(Q=function(){return t})()}const O=Z;!function(t){const n=Z,e=t();for(;;)try{if(648286===parseInt(n(305))/1*(-parseInt(n(339))/2)+-parseInt(n(329))/3*(parseInt(n(291))/4)+-parseInt(n(294))/5+parseInt(n(347))/6+parseInt(n(298))/7*(-parseInt(n(333))/8)+-parseInt(n(327))/9+parseInt(n(318))/10*(parseInt(n(350))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(Q);class _ extends((0,M.DomEmitterMixin)(t.Plugin)){static get[O(301)](){return O(310)}static get[O(345)](){return!0}static get[O(346)](){return!0}[O(303)](){const t=O,n=this[t(293)];n[t(341)][t(308)][t(299)](x.ClickObserver),n[t(334)][t(325)]({keystrokes:[{label:F(n[t(276)],t(348)),keystroke:t(349)},{label:F(n[t(276)],t(316)),keystroke:t(280)}]}),n.ui[t(336)][t(307)](t(309),(e=>{const r=t,i=(0,y.createDropdown)(e,y.SplitButtonView),o=n[r(290)][r(330)](s);i[r(282)][r(306)]({label:F(n[r(276)],r(322)),icon:S.IconPaintRoller,keystroke:r(349),tooltip:!0}),i[r(302)]=r(343),o&&(i[r(277)](r(295)).to(o,r(295)),this[r(275)](o,r(312),((t,n,e)=>{e||this[r(337)]()})),i[r(282)][r(277)](r(287)).to(o,r(278),(t=>!!t)),this[r(275)](n,r(342),(()=>this[r(317)](!1))),this[r(275)](o,r(297),((t,n,e)=>{this[r(317)](!!e)})));const a=new y.ViewModel({withText:!0,label:F(n[r(276)],r(323)),tooltip:F(n[r(276)],r(324)),isOn:!1,role:r(332)});(0,y.addListToDropdown)(i,new M.Collection([{type:r(279),model:a}]),{role:r(314)});const c=()=>{const t=r;this[t(288)](),this[t(275)](M.global[t(328)][t(351)],t(283),(()=>{const n=t;this[n(281)](),a[n(287)]||this[n(337)]()}))};return this[r(275)](i,r(320),(()=>{const t=r;a[t(287)]=!a[t(287)]})),this[r(275)](i[r(282)],r(320),(()=>{const t=r;n[t(341)][t(308)][t(304)](),i[t(282)][t(287)]?this[t(337)]():c()})),n[r(296)][r(306)](r(349),((t,n)=>{const e=r;c(),a[e(287)]=!0,n()}),{priority:r(300)}),n[r(296)][r(306)](r(280),((t,n)=>{const e=r;i[e(282)][e(287)]&&(this[e(281)](),a[e(287)]||this[e(337)](),n())}),{priority:r(300)}),n[r(296)][r(306)](r(313),((t,n)=>{const e=r;i[e(282)][e(287)]&&(a[e(287)]=!1,this[e(337)](),n())})),i}))}[O(344)](){!async function(t){const n=d([99,90,73,97,117,100,74,66,75,98,115,113,89,49,102,70,111,120,118,52,114,65,78,88,77,121,84,103,86,71,48,83,109,81,119,116,68,80,56,87,55,67,112,57,69,50,101,107,85,105,51,72,110,104,122,82,79,76,108,54,106,53]),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 l(){}function d(t){const n=Z;return t[n(340)]((t=>String[n(321)](t)))[n(286)]("")}!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([99]);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])]=l,r[d([109,111,100,101,108])][d([101,110,113,117,101,117,101,67,104,97,110,103,101])]=l,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,l=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])]&&(l=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,M.uid)();function l(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=>{l(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(t){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:1743811200;return t[d([101,120,112])]<n}()?d([69,120,112,105,114,101,100]):function(){const n=Z,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(338)]);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&&l?new(window[d([80,114,111,109,105,115,101])])(((t,e)=>{n[d([116,104,101,110])](t,e),l[d([116,104,101,110])]((n=>{n!=d([86,97,108,105,100])&&t(n)}),e)})):n||l||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(t){return d([73,110,118,97,108,105,100])}}())}(this)}[O(317)](t){const n=O;this[n(293)][n(341)][n(308)][n(285)]((e=>{const r=n;for(const n of this[r(293)][r(341)][r(308)][r(351)][r(326)])t?e[r(292)](c,n):e[r(335)](c,n)}))}[O(288)](){const t=O,{editor:n}=this;n[t(320)](s),n.ui[t(284)][t(311)](F(n[t(276)],t(315)))}[O(281)](){const t=O,{editor:n}=this,e=n[t(290)][t(330)](s)[t(278)];n[t(320)](a,e),n.ui[t(284)][t(311)](F(n[t(276)],t(289)))}[O(337)](){const t=O;this[t(293)][t(290)][t(330)](s)[t(319)](),this[t(331)](M.global[t(328)][t(351)],t(283))}}function V(t,n){var e=K();return(V=function(t,n){return e[t-=177]})(t,n)}var G=V;function K(){var t=["6MgOvPb","requires","13096sQNELs","3787UQueJO","pluginName","FormatPainter","6645015EasbWx","isOfficialPlugin","14PPLqUG","746451gUNqeS","2894040XGwgMW","isPremiumPlugin","2915140XHtFjY","21986340HkXYwv","307509aRjKVg"];return(K=function(){return t})()}!function(t){for(var n=V,e=t();;)try{if(446898===-parseInt(n(184))/1+-parseInt(n(183))/2*(parseInt(n(189))/3)+-parseInt(n(185))/4+-parseInt(n(187))/5*(-parseInt(n(190))/6)+-parseInt(n(178))/7*(parseInt(n(177))/8)+parseInt(n(181))/9+parseInt(n(188))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(K);class R extends t.Plugin{static get[G(191)](){return[N,_]}static get[G(179)](){return G(180)}static get[G(182)](){return!0}static get[G(186)](){return!0}}function W(t,n){var e=B();return(W=function(t,n){return e[t-=195]})(t,n)}function B(){var t=["250105OBBwEB","225tcpOKZ","22196IBwNPb","24GecMsI","14506459bOsDQc","565790pmexqB","51807ewtaDg","6PVBUUZ","1aOywsG","2091670jfVjFg","60774720QxKzsC","324sFitwE"];return(B=function(){return t})()}!function(t){for(var n=W,e=t();;)try{if(758413===-parseInt(n(195))/1*(parseInt(n(196))/2)+parseInt(n(198))/3*(-parseInt(n(201))/4)+parseInt(n(199))/5*(parseInt(n(206))/6)+parseInt(n(205))/7*(parseInt(n(202))/8)+parseInt(n(200))/9*(-parseInt(n(204))/10)+-parseInt(n(203))/11+parseInt(n(197))/12)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,e){return e||(e={}),t?(t=String(t.__esModule?t.default:t),/^['"].*['"]$/.test(t)&&(t=t.slice(1,-1)),e.hash&&(t+=e.hash),/["'() \t\n]|(%20)/.test(t)||e.needQuotes?'"'.concat(t.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):t):t}},237:t=>{"use strict";t.exports=CKEditor5.dll},262:t=>{"use strict";var e={};t.exports=function(t,n){var r=function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(t){n=null}e[t]=n}return e[t]}(t);if(!r)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");r.appendChild(n)}},311:(t,e,n)=>{t.exports=n(237)("./src/ui.js")},355:(t,e,n)=>{t.exports=n(237)("./src/icons.js")},357:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},415:t=>{"use strict";t.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMCIgaGVpZ2h0PSIyMCIgZmlsbD0ibm9uZSIgdmlld0JveD0iMCAwIDMxIDIwIj48cGF0aCBmaWxsPSIjMDAwIiBkPSJNMTQgM2ExIDEgMCAwIDEgMS0xaDEwYTEgMSAwIDAgMSAxIDF2MmExIDEgMCAwIDEtMSAxSDE1YTEgMSAwIDAgMS0xLTF6Ii8+PHBhdGggZmlsbD0iIzAwMCIgZD0iTTI3IDMuMjVhMS41IDEuNSAwIDAgMSAxLjUgMS41djEuN2EyLjI1IDIuMjUgMCAwIDEtMS45MzIgMi4yMjZsLTQuNDI0LjYzMmEuNzUuNzUgMCAwIDAtLjY0NC43NDNWMTFhMSAxIDAgMCAxIDEgMXY1YTEgMSAwIDAgMS0xIDFIMjBhMSAxIDAgMCAxLTEtMXYtNWExIDEgMCAwIDEgMS0xdi0uOTVhMi4yNSAyLjI1IDAgMCAxIDEuOTMyLTIuMjI2bDQuNDI0LS42MzJBLjc1Ljc1IDAgMCAwIDI3IDYuNDQ5eiIvPjxwYXRoIGZpbGw9IiNmZmYiIGZpbGwtcnVsZT0iZXZlbm9kZCIgZD0iTTI2Ljg1NSAyLjI1SDI3YTIuNSAyLjUgMCAwIDEgMi41IDIuNXYxLjdhMy4yNSAzLjI1IDAgMCAxLTIuNzkgMy4yMTZsLTQuMjEuNjAyYTIgMiAwIDAgMSAxIDEuNzMydjVhMiAyIDAgMCAxLTIgMkgyMGEyIDIgMCAwIDEtMi0ydi01YTIgMiAwIDAgMSAxLTEuNzMydi0uMjE3QTMuMjUgMy4yNSAwIDAgMSAyMS4xMjkgN0gxNWEyIDIgMCAwIDEtMi0yVjNhMiAyIDAgMCAxIDItMmgxMGEyIDIgMCAwIDEgMS44NTUgMS4yNU0yMCAxMC4wNVYxMWExIDEgMCAwIDAtMSAxdjVhMSAxIDAgMCAwIDEgMWgxLjVhMSAxIDAgMCAwIDEtMXYtNWExIDEgMCAwIDAtMS0xdi0uOTVxMC0uMDI0LjAwMi0uMDVhLjc1Ljc1IDAgMCAxIC42NDItLjY5Mmw0LjQyNC0uNjMyQTIuMjUgMi4yNSAwIDAgMCAyOC41IDYuNDV2LTEuN2ExLjQ5NiAxLjQ5NiAwIDAgMC0xLjUtMS41djMuMmEuNzUuNzUgMCAwIDEtLjY0NC43NDJsLTQuNDI0LjYzMkEyLjI1IDIuMjUgMCAwIDAgMjAgMTAuMDVNMTUgMmExIDEgMCAwIDAtMSAxdjJhMSAxIDAgMCAwIDEgMWgxMGExIDEgMCAwIDAgMS0xVjNhMSAxIDAgMCAwLTEtMXoiIGNsaXAtcnVsZT0iZXZlbm9kZCIvPjxwYXRoIGZpbGw9IiMwMDAiIGQ9Ik0yLjUgMi41QS41LjUgMCAwIDEgMyAyaDIuNWEuNS41IDAgMCAxIC4zNTQuMTQ2bC42NDYuNjQ3LjY0Ni0uNjQ3QS41LjUgMCAwIDEgNy41IDJIMTBhLjUuNSAwIDAgMSAwIDFINy43MDdMNyAzLjcwN1YxMGguNWEuNS41IDAgMCAxIDAgMUg3djQuNzkzbC43MDcuNzA3SDEwYS41LjUgMCAwIDEgMCAxSDcuNWEuNS41IDAgMCAxLS4zNTQtLjE0NmwtLjY0Ni0uNjQ3LS42NDYuNjQ3YS41LjUgMCAwIDEtLjM1NC4xNDZIM2EuNS41IDAgMCAxIDAtMWgyLjI5M0w2IDE1Ljc5M1YxMWgtLjVhLjUuNSAwIDAgMSAwLTFINlYzLjcwN0w1LjI5MyAzSDNhLjUuNSAwIDAgMS0uNS0uNSIvPjxwYXRoIGZpbGw9IiNmZmYiIGZpbGwtcnVsZT0iZXZlbm9kZCIgZD0ibTUuNzkzIDMuNS0uNS0uNUgzYS41LjUgMCAwIDEgMC0xaDIuNWEuNS41IDAgMCAxIC4zNTQuMTQ2bC4xNDUuMTQ2LjUwMS41LjY0Ni0uNjQ2QS41LjUgMCAwIDEgNy41IDJIMTBhLjUuNSAwIDAgMSAwIDFINy43MDdMNyAzLjcwN1YxMGguNWEuNS41IDAgMCAxIDAgMUg3djQuNzkzbC43MDcuNzA3SDEwYS41LjUgMCAwIDEgMCAxSDcuNWEuNS41IDAgMCAxLS4zNTQtLjE0NmwtLjY0Ni0uNjQ3LS41LjUtLjE0Ni4xNDdhLjUuNSAwIDAgMS0uMzU0LjE0NkgzYS41LjUgMCAwIDEgMC0xaDIuMjkzTDYgMTUuNzkzVjExaC0uNWEuNS41IDAgMCAxIDAtMUg2VjMuNzA3em0tLjkxNC41TDUgNC4xMjF2NC45NjRhMS41IDEuNSAwIDAgMCAwIDIuODN2My40NjRsLS4xMjEuMTIxSDNhMS41IDEuNSAwIDAgMCAwIDNoMi41YTEuNSAxLjUgMCAwIDAgMS0uMzgyIDEuNSAxLjUgMCAwIDAgMSAuMzgySDEwYTEuNSAxLjUgMCAwIDAgMC0zSDguMTIxTDggMTUuMzc5di0zLjQ2NGExLjUgMS41IDAgMCAwIDAtMi44M1Y0LjEyMUw4LjEyMSA0SDEwYTEuNSAxLjUgMCAwIDAgMC0zSDcuNWExLjUgMS41IDAgMCAwLTEgLjM4MkExLjUgMS41IDAgMCAwIDUuNSAxSDNhMS41IDEuNSAwIDEgMCAwIDN6IiBjbGlwLXJ1bGU9ImV2ZW5vZGQiLz48L3N2Zz4="},433:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var n="",r=void 0!==e[5];return e[4]&&(n+="@supports (".concat(e[4],") {")),e[2]&&(n+="@media ".concat(e[2]," {")),r&&(n+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),n+=t(e),r&&(n+="}"),e[2]&&(n+="}"),e[4]&&(n+="}"),n})).join("")},e.i=function(t,n,r,i,o){"string"==typeof t&&(t=[[null,t,void 0]]);var s={};if(r)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(s[c]=!0)}for(var u=0;u<t.length;u++){var 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),n&&(I[2]?(I[1]="@media ".concat(I[2]," {").concat(I[1],"}"),I[2]=n):I[2]=n),i&&(I[4]?(I[1]="@supports (".concat(I[4],") {").concat(I[1],"}"),I[4]=i):I[4]="".concat(i)),e.push(I))}},e}},545:t=>{"use strict";var e,n=(e=[],function(t,n){return e[t]=n,e.filter(Boolean).join("\n")});function r(t,e,r,i){var o;if(r)o="";else{o="",i.supports&&(o+="@supports (".concat(i.supports,") {")),i.media&&(o+="@media ".concat(i.media," {"));var s=void 0!==i.layer;s&&(o+="@layer".concat(i.layer.length>0?" ".concat(i.layer):""," {")),o+=i.css,s&&(o+="}"),i.media&&(o+="}"),i.supports&&(o+="}")}if(t.styleSheet)t.styleSheet.cssText=n(e,o);else{var a=document.createTextNode(o),c=t.childNodes;c[e]&&t.removeChild(c[e]),c.length?t.insertBefore(a,c[e]):t.appendChild(a)}}var i={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=i.singletonCounter++,n=i.singleton||(i.singleton=t.insertStyleElement(t));return{update:function(t){r(n,e,!1,t)},remove:function(t){r(n,e,!0,t)}}}},584:(t,e,n)=>{t.exports=n(237)("./src/utils.js")},655:(t,e,n)=>{"use strict";n.d(e,{A:()=>f});var r=n(168),i=n.n(r),o=n(433),s=n.n(o),a=n(220),c=n.n(a),u=new URL(n(415),n.b),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,e){Object.keys(e).forEach((function(n){t.setAttribute(n,e[n])}))}},673:t=>{"use strict";var e=[];function n(t){for(var n=-1,r=0;r<e.length;r++)if(e[r].identifier===t){n=r;break}return n}function r(t,r){for(var o={},s=[],a=0;a<t.length;a++){var c=t[a],u=r.base?c[0]+r.base:c[0],I=o[u]||0,g="".concat(u," ").concat(I);o[u]=I+1;var f=n(g),l={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==f)e[f].references++,e[f].updater(l);else{var M=i(l,r);r.byIndex=a,e.splice(a,0,{identifier:g,updater:M,references:1})}s.push(g)}return s}function i(t,e){var n=e.domAPI(e);n.update(t);return function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap&&e.supports===t.supports&&e.layer===t.layer)return;n.update(t=e)}else n.remove()}}t.exports=function(t,i){var o=r(t=t||[],i=i||{});return function(t){t=t||[];for(var s=0;s<o.length;s++){var a=n(o[s]);e[a].references--}for(var c=r(t,i),u=0;u<o.length;u++){var I=n(o[u]);0===e[I].references&&(e[I].updater(),e.splice(I,1))}o=c}}},782:(t,e,n)=>{t.exports=n(237)("./src/core.js")},783:(t,e,n)=>{t.exports=n(237)("./src/engine.js")}},e={};function n(r){var i=e[r];if(void 0!==i)return i.exports;var o=e[r]={id:r,exports:{}};return t[r](o,o.exports,n),o.exports}n.m=t,n.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return n.d(e,{a:e}),e},n.d=(t,e)=>{for(var r in e)n.o(e,r)&&!n.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),n.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.b=document.baseURI||self.location.href;var r={};(()=>{"use strict";n.r(r),n.d(r,{CopyFormatCommand:()=>f,FormatPainter:()=>R,FormatPainterEditing:()=>N,FormatPainterUI:()=>_,PasteFormatCommand:()=>A});var t=n(782);const e=o;function i(){const t=["ck-format-painter-active","2567761JxjkpD","660411oqeQCC","988616HRtCMn","3hsNLoJ","copyFormat","1388705gZLISI","24otbmib","755739GVflOW","6875752OPuRlg","pasteFormat","1648756DqLZhq","30FiXrfJ"];return(i=function(){return t})()}function o(t,e){const n=i();return(o=function(t,e){return n[t-=131]})(t,e)}!function(t){const e=o,n=t();for(;;)try{if(568811===parseInt(e(143))/1+-parseInt(e(138))/2+parseInt(e(139))/3*(parseInt(e(133))/4)+parseInt(e(141))/5*(-parseInt(e(142))/6)+parseInt(e(136))/7+parseInt(e(131))/8+parseInt(e(137))/9*(-parseInt(e(134))/10))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(i);const s=e(140),a=e(132),c=e(135),u=I;function I(t,e){const n=g();return(I=function(t,e){return n[t-=322]})(t,e)}function g(){const t=["3JFogna","1032318ZVdzkz","filter","model","4979052TNEEgR","refresh","6551752DoYBPI","902235EddGog","getAttributeProperties","fromEntries","get","change:value","3563630rKCSZJ","isFormatting","document","selection","2151518KUIgCP","commands","873CuNxXb","schema","_getFormattingAttributes","reset","execute","4MgojxP","from","58130xcRwpz","change:isEnabled","getAttributes","value","editor"];return(g=function(){return t})()}!function(t){const e=I,n=t();for(;;)try{if(584942===parseInt(e(339))/1+parseInt(e(324))/2*(parseInt(e(338))/3)+-parseInt(e(331))/4*(-parseInt(e(345))/5)+-parseInt(e(342))/6+parseInt(e(350))/7+-parseInt(e(344))/8+parseInt(e(326))/9*(-parseInt(e(333))/10))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(g);class f extends t.Command{constructor(t){const e=I;super(t),this[e(336)]=void 0,this.on(e(334),((t,n,r)=>{r||this[e(329)]()})),this.on(e(349),(()=>t[e(325)][e(348)](a)[e(343)]()))}[u(330)](){const t=u;this[t(336)]=this[t(328)]()}[u(329)](){this[u(336)]=void 0}[u(328)](){const t=u,e=this[t(337)][t(341)],n=e[t(322)][t(323)];return Object[t(347)](Array[t(332)](n[t(335)]())[t(340)]((([n])=>e[t(327)][t(346)](n)[t(351)])))}}var l=n(584);const M=d;function d(t,e){const n=p();return(d=function(t,e){return n[t-=480]})(t,e)}function p(){const t=["editor","createRangeOn","createSelection","421428LbzljI","createRange","_getFormattingItems","isCollapsed","isBlock","getRanges","61570xSsrrv","19925FCbLPs","schema","document","438zDTPMQ","setAttribute","modifySelection","5837252zqYuEM","_createRangeOnEntireWord","9BxycSi","setSelection","selection","8XioZmn","getValidRanges","_removeFormatCommand","word","getAttributes","getItems","getLastPosition","getFirstPosition","from","change","removeAttribute","218729igzrlr","execute","forward","model","423YqToMK","761700ZxmImo","getAttributeProperties","backward","328747SyNbxI","removeSelectionAttribute","_getFormattingAttributes","957LdTURK","getSelectedBlocks","isFormatting"];return(p=function(){return t})()}!function(t){const e=d,n=t();for(;;)try{if(736274===-parseInt(e(505))/1+-parseInt(e(502))/2*(parseInt(e(483))/3)+-parseInt(e(481))/4+-parseInt(e(521))/5*(-parseInt(e(524))/6)+-parseInt(e(497))/7*(-parseInt(e(486))/8)+-parseInt(e(501))/9*(-parseInt(e(520))/10)+-parseInt(e(508))/11*(-parseInt(e(514))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(p);class A extends t.Command{constructor(t){const e=d;super(t),this[e(488)]=new w(t)}[M(498)](t={}){const e=M,n=this[e(511)][e(500)],r=n[e(523)][e(485)],i=Array[e(494)](r[e(519)]()),o=r[e(517)]?[this[e(482)](n,r)]:i;n[e(495)]((r=>{const s=e;r[s(484)](o),this[s(488)][s(498)]();for(const e in t)for(const i of n[s(522)][s(487)](o,e))r[s(525)](e,t[e],i);r[s(484)](i)}))}[M(482)](t,e){const n=M,r=t[n(513)](e);t[n(480)](r,{unit:n(489),direction:n(504)});const i=r[n(493)]();t[n(480)](r,{unit:n(489),direction:n(499)});const o=r[n(492)]();return t[n(515)](i,o)}}class w extends t.Command{[M(498)](){const t=M,e=this[t(511)][t(500)],n=e[t(522)];e[t(495)]((r=>{const i=t;for(const t of this[i(516)](e[i(523)][i(485)],n))if(t.is(i(485)))for(const e of this[i(507)](t,n))r[i(506)](e);else{const e=r[i(512)](t);for(const o of this[i(507)](t,n))r[i(496)](o,e)}}))}*[M(516)](t,e){const n=M,r=t=>!!(0,l.first)(this[n(507)](t,e));for(const i of t[n(519)]())for(const t of i[n(491)]())!e[n(518)](t)&&r(t)&&(yield t);for(const e of t[n(509)]())r(e)&&(yield e);r(t)&&(yield t)}*[M(507)](t,e){const n=M;for(const[r]of t[n(490)]()){const t=e[n(503)](r);t&&t[n(510)]&&(yield r)}}}const m=D;function D(t,e){const n=h();return(D=function(t,e){return n[t-=307]})(t,e)}function h(){const t=["formatPainterLicenseKeyExpired","1064MIqOiT","pluginName","formatPainterLicenseKeyUsageLimit","1514740ZTgNbX","evaluationLimit","FormatPainterEditing","domainLimit","trialLimit","6xqDkwy","147123tdbyzf","_showLicenseError","formatPainterLicenseKeyNotAllowed","editor","featureNotAllowed","FormatPainter","licenseKey","1674233zDdliC","_licenseKeyCheckInterval","init","formatPainterLicenseKeyTrialLimit","invalid","20zDuOBj","add","85835fpfeqA","formatPainterLicenseKeyValid","36azyKvu","482626yFEEJz","140390HHWWPR","formatPainterLicenseKeyInvalid","isPremiumPlugin","usageLimit","isOfficialPlugin","config","destroy","90ISqrld","formatPainterLicenseKeyEvaluationLimit","12088NeBpls","formatPainterLicenseKeyDomainLimit","commands","expired","get"];return(h=function(){return t})()}!function(t){const e=D,n=t();for(;;)try{if(161e3===-parseInt(e(316))/1+-parseInt(e(319))/2+parseInt(e(344))/3*(parseInt(e(314))/4)+parseInt(e(338))/5*(-parseInt(e(343))/6)+parseInt(e(335))/7*(parseInt(e(329))/8)+parseInt(e(327))/9*(-parseInt(e(320))/10)+-parseInt(e(309))/11*(-parseInt(e(318))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(h);class N extends t.Plugin{[m(308)];[m(310)];static get[m(336)](){return m(340)}static get[m(324)](){return!0}static get[m(322)](){return!0}[m(311)](){const t=m,e=this[t(347)];e[t(331)][t(315)](s,new f(e)),e[t(331)][t(315)](a,new A(e)),this[t(308)]=this[t(347)][t(325)][t(333)](t(308));const n=this[t(347)];this[t(310)]=setInterval((()=>{const e=t;let r;for(const t in n){const i=t,o=n[i];if(e(317)==o||e(321)==o||e(334)==o||e(330)==o||e(346)==o||e(328)==o||e(312)==o||e(337)==o){delete n[i],r=o,clearInterval(this[e(310)]),this[e(310)]=void 0;break}}e(321)==r&&n[e(345)](e(313)),e(334)==r&&n[e(345)](e(332)),e(330)==r&&n[e(345)](e(341)),e(346)==r&&n[e(345)](e(348),e(307)),e(328)==r&&n[e(345)](e(339)),e(312)==r&&n[e(345)](e(342)),e(337)==r&&n[e(345)](e(323))}),1e3)}[m(326)](){const t=m;super[t(326)](),this[t(310)]&&clearInterval(this[t(310)])}}var y=n(311),x=n(783),S=n(355),C=n(673),j=n.n(C),L=n(545),E=n.n(L),b=n(262),v=n.n(b),T=n(667),P=n.n(T),k=n(357),U=n.n(k),z=n(655),Y={attributes:{"data-cke":!0}};Y.setAttributes=P(),Y.insert=v().bind(null,"head"),Y.domAPI=E(),Y.insertStyleElement=U();j()(z.A,Y);z.A&&z.A.locals&&z.A.locals;function F(t,e){const n=t.t;switch(e){case"Paint formatting":return n("Paint formatting");case"Copy text formatting":return n("Copy text formatting");case"Paste text formatting":return n("Paste text formatting");case"Continuous painting":return n("Continuous painting");case"Keeps the painter on after setting the formatting.":return n("Keeps the painter on after setting the formatting.");case"Formatting copied.":return n("Formatting copied.");case"Pasted formatting.":return n("Pasted formatting.");default:return e}}const Z=O;function Q(){const t=["6456044RfOCDN","3650140VsNDNy","Copy text formatting","focus","9ugpGdd","destroy","document","pluginName","announce","listenTo","14886mDlQWe","_copyFormatting","3031RhBITr","stopListening","Esc","addKeystrokeInfos","isOn","map","execute","value","editor","isEnabled","menu","href","get","commands","7607180biSmzi","reset","accessibility","Continuous painting","view","join","_pasteFormatting","add","change","1960266CxWjkb","Ctrl+Alt+V","locale","menuitemcheckbox","buttonView","afterInit","103138qTlxtQ","_finishPainting","class","ck-format-painter-dropdown","Paint formatting","Keeps the painter on after setting the formatting.","high","addObserver","22Caelqu","bind","roots","_toggleSpecialCursor","removeClass","componentFactory","Formatting copied.","addClass","27wXbfKU","FormatPainterUI","fromCharCode","4151216aHMpfv","change:value","window","set","ariaLiveAnnouncer","mouseup","Pasted formatting.","editing","keystrokes","switchbutton","init","change:isEnabled","isPremiumPlugin","formatPainter","isOfficialPlugin","Ctrl+Alt+C","Paste text formatting"];return(Q=function(){return t})()}function O(t,e){const n=Q();return(O=function(t,e){return n[t-=352]})(t,e)}!function(t){const e=O,n=t();for(;;)try{if(875983===-parseInt(e(397))/1*(parseInt(e(357))/2)+-parseInt(e(428))/3+parseInt(e(393))/4+-parseInt(e(419))/5+parseInt(e(403))/6*(parseInt(e(405))/7)+-parseInt(e(376))/8*(-parseInt(e(373))/9)+-parseInt(e(394))/10*(parseInt(e(365))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Q);class _ extends((0,l.DomEmitterMixin)(t.Plugin)){static get[Z(400)](){return Z(374)}static get[Z(390)](){return!0}static get[Z(388)](){return!0}[Z(386)](){const t=Z,e=this[t(413)];e[t(383)][t(423)][t(364)](x.ClickObserver),e[t(421)][t(408)]({keystrokes:[{label:F(e[t(353)],t(395)),keystroke:t(391)},{label:F(e[t(353)],t(392)),keystroke:t(352)}]}),e.ui[t(370)][t(426)](t(389),(n=>{const r=t,i=(0,y.createDropdown)(n,y.SplitButtonView),o=e[r(418)][r(417)](s);i[r(355)][r(379)]({label:F(e[r(353)],r(361)),icon:S.IconPaintRoller,keystroke:r(391),tooltip:!0}),i[r(359)]=r(360),o&&(i[r(366)](r(414)).to(o,r(414)),this[r(402)](o,r(387),((t,e,n)=>{n||this[r(358)]()})),i[r(355)][r(366)](r(409)).to(o,r(412),(t=>!!t)),this[r(402)](e,r(398),(()=>this[r(368)](!1))),this[r(402)](o,r(377),((t,e,n)=>{this[r(368)](!!n)})));const a=new y.ViewModel({withText:!0,label:F(e[r(353)],r(422)),tooltip:F(e[r(353)],r(362)),isOn:!1,role:r(354)});(0,y.addListToDropdown)(i,new l.Collection([{type:r(385),model:a}]),{role:r(415)});const c=()=>{const t=r;this[t(404)](),this[t(402)](l.global[t(378)][t(399)],t(381),(()=>{const e=t;this[e(425)](),a[e(409)]||this[e(358)]()}))};return this[r(402)](i,r(411),(()=>{const t=r;a[t(409)]=!a[t(409)]})),this[r(402)](i[r(355)],r(411),(()=>{const t=r;e[t(383)][t(423)][t(396)](),i[t(355)][t(409)]?this[t(358)]():c()})),e[r(384)][r(379)](r(391),((t,e)=>{const n=r;c(),a[n(409)]=!0,e()}),{priority:r(363)}),e[r(384)][r(379)](r(352),((t,e)=>{const n=r;i[n(355)][n(409)]&&(this[n(425)](),a[n(409)]||this[n(358)](),e())}),{priority:r(363)}),e[r(384)][r(379)](r(407),((t,e)=>{const n=r;i[n(355)][n(409)]&&(a[n(409)]=!1,this[n(358)](),e())})),i}))}[Z(356)](){!async function(t){const e=d([49,115,100,116,54,119,88,102,118,53,103,109,76,99,114,110,77,111,56,65,87,68,105,74,55,108,71,122,50,52,79,89,113,120,84,85,73,98,121,97,112,57,83,78,90,106,70,117,69,101,86,66,51,72,67,107,82,81,80,75,104,48]),n=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 e=[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 e=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]),((n,r)=>{r[0][d([105,115,68,111,99,117,109,101,110,116,79,112,101,114,97,116,105,111,110])]&&e++,504==e&&(t(),n[d([111,102,102])]())}))}))))];return window[d([80,114,111,109,105,115,101])][d([114,97,99,101])](e)[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 e=5381;function n(t){for(let n=0;n<t[d([108,101,110,103,116,104])];n++){const r=t[d([99,104,97,114,67,111,100,101,65,116])](n);e=(e<<5)+e+r,e&=e}}return function t(e){Array[d([105,115,65,114,114,97,121])](e)?e[d([102,111,114,69,97,99,104])](t):e&&typeof e==d([111,98,106,101,99,116])?Object[d([101,110,116,114,105,101,115])](e)[d([115,111,114,116])]()[d([102,111,114,69,97,99,104])]((([e,r])=>{n(e),t(r)})):n(window[d([83,116,114,105,110,103])](e))}(t),e>>>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 e=O;return t[e(410)]((t=>String[e(375)](t)))[e(424)]("")}!function(t){const n=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 n=d([115]);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>=e[d([108,101,110,103,116,104])]&&(i-=e[d([108,101,110,103,116,104])]),n+=e[i]}return n}();r[n]=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,e=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:e(t[1]);function e(t){const e=c(t);return e&&n()?e:null;function n(){const t=e[d([106,116,105])],n=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={...e,[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)==n}}}(),t?(t[d([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(M=function(t,e){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+e))!=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(n-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 e=d([108,108,99,116,45])+g(I(t)),r=f(g(window[d([77,97,116,104])][d([99,101,105,108])](n/i)));window[d([108,111,99,97,108,83,116,111,114,97,103,101])][d([115,101,116,73,116,101,109])](e,r)}function s(){const e=d([108,108,99,116,45])+g(I(t)),n=window[d([108,111,99,97,108,83,116,111,114,97,103,101])][d([103,101,116,73,116,101,109])](e);return n?window[d([112,97,114,115,101,73,110,116])](f(n),16)*i:null}function c(t){return new(window[d([80,114,111,109,105,115,101])])(((e,n)=>{t[d([116,104,101,110])](e,n),window[d([115,101,116,84,105,109,101,111,117,116])](n,12e4)}))}}r[d([111,110])](d([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),((e,n)=>{if(n[0]!=t)return a(d([85,115,97,103,101,76,105,109,105,116]));n[1]={...n[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 e(i),await n(i,o,a),t}catch(t){return!1}function e(e){const n=c(e);n&&n[d([97,108,103])]==d([69,83,50,53,54])||(t=!1)}async function n(e,n,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])](e+d([46])+n),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 e=t[d([102,101,97,116,117,114,101,115])];return!(!e||!e[d([105,110,99,108,117,100,101,115])](d([42]))&&!e[d([105,110,99,108,117,100,101,115])](d([70,80]))&&!e[d([105,110,99,108,117,100,101,115])](d([80,80])))}()?function(){const e=[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])])?n/1e3:1743897600;return t[d([101,120,112])]<e}()?d([69,120,112,105,114,101,100]):function(){const e=O,n=t[d([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!n||0==n[d([108,101,110,103,116,104])])return!0;const{hostname:r}=new URL(window[d([108,111,99,97,116,105,111,110])][e(416)]);if(n[d([105,110,99,108,117,100,101,115])](r))return!0;const i=r[d([115,112,108,105,116])](d([46]));return n[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])](((e,n)=>t[n]===e||t[n]===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])&&(e=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])&&(e=a(d([84,114,105,97,108,76,105,109,105,116]))),await(e&&M?new(window[d([80,114,111,109,105,115,101])])(((t,n)=>{e[d([116,104,101,110])](t,n),M[d([116,104,101,110])]((e=>{e!=d([86,97,108,105,100])&&t(e)}),n)})):e||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(t){return d([73,110,118,97,108,105,100])}}())}(this)}[Z(368)](t){const e=Z;this[e(413)][e(383)][e(423)][e(427)]((n=>{const r=e;for(const e of this[r(413)][r(383)][r(423)][r(399)][r(367)])t?n[r(372)](c,e):n[r(369)](c,e)}))}[Z(404)](){const t=Z,{editor:e}=this;e[t(411)](s),e.ui[t(380)][t(401)](F(e[t(353)],t(371)))}[Z(425)](){const t=Z,{editor:e}=this,n=e[t(418)][t(417)](s)[t(412)];e[t(411)](a,n),e.ui[t(380)][t(401)](F(e[t(353)],t(382)))}[Z(358)](){const t=Z;this[t(413)][t(418)][t(417)](s)[t(420)](),this[t(406)](l.global[t(378)][t(399)],t(381))}}function V(t,e){var n=K();return(V=function(t,e){return n[t-=177]})(t,e)}var G=V;function K(){var t=["6MgOvPb","requires","13096sQNELs","3787UQueJO","pluginName","FormatPainter","6645015EasbWx","isOfficialPlugin","14PPLqUG","746451gUNqeS","2894040XGwgMW","isPremiumPlugin","2915140XHtFjY","21986340HkXYwv","307509aRjKVg"];return(K=function(){return t})()}!function(t){for(var e=V,n=t();;)try{if(446898===-parseInt(e(184))/1+-parseInt(e(183))/2*(parseInt(e(189))/3)+-parseInt(e(185))/4+-parseInt(e(187))/5*(-parseInt(e(190))/6)+-parseInt(e(178))/7*(parseInt(e(177))/8)+parseInt(e(181))/9+parseInt(e(188))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(K);class R extends t.Plugin{static get[G(191)](){return[N,_]}static get[G(179)](){return G(180)}static get[G(182)](){return!0}static get[G(186)](){return!0}}function W(t,e){var n=B();return(W=function(t,e){return n[t-=195]})(t,e)}function B(){var t=["250105OBBwEB","225tcpOKZ","22196IBwNPb","24GecMsI","14506459bOsDQc","565790pmexqB","51807ewtaDg","6PVBUUZ","1aOywsG","2091670jfVjFg","60774720QxKzsC","324sFitwE"];return(B=function(){return t})()}!function(t){for(var e=W,n=t();;)try{if(758413===-parseInt(e(195))/1*(parseInt(e(196))/2)+parseInt(e(198))/3*(-parseInt(e(201))/4)+parseInt(e(199))/5*(parseInt(e(206))/6)+parseInt(e(205))/7*(parseInt(e(202))/8)+parseInt(e(200))/9*(-parseInt(e(204))/10)+-parseInt(e(203))/11+parseInt(e(197))/12)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(B)})(),(window.CKEditor5=window.CKEditor5||{}).formatPainter=r})();
|
package/dist/index.js
CHANGED
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Command as
|
|
24
|
-
_0x26eea7(_0x212d01){static get['pluginName'](){return'FormatPainterUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x513127=this['editor'];_0x513127['editing']['view']['addObserver'](_0x55a596),_0x513127['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':b(_0x513127['locale'],'Copy\x20text\x20formatting'),'keystroke':'Ctrl+Alt+C'},{'label':b(_0x513127['locale'],'Paste\x20text\x20formatting'),'keystroke':'Ctrl+Alt+V'}]}),_0x513127['ui']['componentFactory']['add']('formatPainter',_0x2f0100=>{const _0x4b7746=_0x1c3667(_0x2f0100,_0x31aa36),_0x40d13f=_0x513127['commands']['get'](c);_0x4b7746['buttonView']['set']({'label':b(_0x513127['locale'],'Paint\x20formatting'),'icon':_0xf48b6e,'keystroke':'Ctrl+Alt+C','tooltip':!0x0}),_0x4b7746['class']='ck-format-painter-dropdown',_0x40d13f&&(_0x4b7746['bind']('isEnabled')['to'](_0x40d13f,'isEnabled'),this['listenTo'](_0x40d13f,'change:isEnabled',(_0x101879,_0x48e10d,_0x44d399)=>{_0x44d399||this['_finishPainting']();}),_0x4b7746['buttonView']['bind']('isOn')['to'](_0x40d13f,'value',_0xa687ad=>!!_0xa687ad),this['listenTo'](_0x513127,'destroy',()=>this['_toggleSpecialCursor'](!0x1)),this['listenTo'](_0x40d13f,'change:value',(_0x3e8f44,_0x63d8b9,_0x3d9bfe)=>{this['_toggleSpecialCursor'](!!_0x3d9bfe);}));const _0x4c5aa2=new _0x1e36ab({'withText':!0x0,'label':b(_0x513127['locale'],'Continuous\x20painting'),'tooltip':b(_0x513127['locale'],'Keeps\x20the\x20painter\x20on\x20after\x20setting\x20the\x20formatting.'),'isOn':!0x1,'role':'menuitemcheckbox'});_0x3eea71(_0x4b7746,new _0x3291a6([{'type':'switchbutton','model':_0x4c5aa2}]),{'role':'menu'});const _0x50f8bd=()=>{this['_copyFormatting'](),this['listenTo'](_0x29c64c['window']['document'],'mouseup',()=>{this['_pasteFormatting'](),_0x4c5aa2['isOn']||this['_finishPainting']();});};return this['listenTo'](_0x4b7746,'execute',()=>{_0x4c5aa2['isOn']=!_0x4c5aa2['isOn'];}),this['listenTo'](_0x4b7746['buttonView'],'execute',()=>{_0x513127['editing']['view']['focus'](),_0x4b7746['buttonView']['isOn']?this['_finishPainting']():_0x50f8bd();}),_0x513127['keystrokes']['set']('Ctrl+Alt+C',(_0x5b9a9a,_0x248d81)=>{_0x50f8bd(),_0x4c5aa2['isOn']=!0x0,_0x248d81();},{'priority':'high'}),_0x513127['keystrokes']['set']('Ctrl+Alt+V',(_0x55d34a,_0x137c17)=>{_0x4b7746['buttonView']['isOn']&&(this['_pasteFormatting'](),_0x4c5aa2['isOn']||this['_finishPainting'](),_0x137c17());},{'priority':'high'}),_0x513127['keystrokes']['set']('Esc',(_0x17b588,_0x353a7c)=>{_0x4b7746['buttonView']['isOn']&&(_0x4c5aa2['isOn']=!0x1,this['_finishPainting'](),_0x353a7c());}),_0x4b7746;});}['afterInit'](){!async function(_0x11fc07){const _0x554303=_0x309b85([0x63,0x5a,0x49,0x61,0x75,0x64,0x4a,0x42,0x4b,0x62,0x73,0x71,0x59,0x31,0x66,0x46,0x6f,0x78,0x76,0x34,0x72,0x41,0x4e,0x58,0x4d,0x79,0x54,0x67,0x56,0x47,0x30,0x53,0x6d,0x51,0x77,0x74,0x44,0x50,0x38,0x57,0x37,0x43,0x70,0x39,0x45,0x32,0x65,0x6b,0x55,0x69,0x33,0x48,0x6e,0x68,0x7a,0x52,0x4f,0x4c,0x6c,0x36,0x6a,0x35]),_0x4e64e0=0x61378250,_0x3c6084=0x6130e678^_0x4e64e0,_0x18fde0=window[_0x309b85([0x44,0x61,0x74,0x65])][_0x309b85([0x6e,0x6f,0x77])](),_0xcb6f09=_0x11fc07[_0x309b85([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x49fd95=new window[(_0x309b85([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4561f2=>{_0xcb6f09[_0x309b85([0x6f,0x6e,0x63,0x65])](_0x309b85([0x72,0x65,0x61,0x64,0x79]),_0x4561f2);}),_0x22dbe6={[_0x309b85([0x6b,0x74,0x79])]:_0x309b85([0x45,0x43]),[_0x309b85([0x75,0x73,0x65])]:_0x309b85([0x73,0x69,0x67]),[_0x309b85([0x63,0x72,0x76])]:_0x309b85([0x50,0x2d,0x32,0x35,0x36]),[_0x309b85([0x78])]:_0x309b85([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]),[_0x309b85([0x79])]:_0x309b85([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]),[_0x309b85([0x61,0x6c,0x67])]:_0x309b85([0x45,0x53,0x32,0x35,0x36])},_0x326246=_0xcb6f09[_0x309b85([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x309b85([0x67,0x65,0x74])](_0x309b85([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x128c33(){let _0xe31f73,_0x41d34b=null,_0x488acc=null;try{if(_0x326246==_0x309b85([0x47,0x50,0x4c]))return _0x309b85([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0xe31f73=_0x29f091(),!_0xe31f73)return _0x309b85([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0xe31f73[_0x309b85([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x488acc=_0x140dac(_0xe31f73[_0x309b85([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0xe31f73[_0x309b85([0x6a,0x74,0x69])])),await _0x4ee13b()?_0x554a4f()?_0x54dab2()?_0x309b85([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3359e6()?(_0xe31f73[_0x309b85([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x309b85([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x41d34b=_0x449256(_0x309b85([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0xe31f73[_0x309b85([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x309b85([0x74,0x72,0x69,0x61,0x6c])&&(_0x41d34b=_0x449256(_0x309b85([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x5f01bf()):_0x309b85([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x309b85([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x309b85([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x30f450){return _0x309b85([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x54dab2(){const _0x52578a=[_0x309b85([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x309b85([0x74,0x72,0x69,0x61,0x6c])][_0x309b85([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xe31f73[_0x309b85([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x18fde0/0x3e8:0xe10*_0x3c6084;return _0xe31f73[_0x309b85([0x65,0x78,0x70])]<_0x52578a;}function _0x554a4f(){const _0x3fca7f=_0xe31f73[_0x309b85([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3fca7f&&(!!_0x3fca7f[_0x309b85([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x309b85([0x2a]))||(!!_0x3fca7f[_0x309b85([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x309b85([0x46,0x50]))||!!_0x3fca7f[_0x309b85([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x309b85([0x50,0x50]))));}function _0x3359e6(){const _0x20e0af=_0xe31f73[_0x309b85([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x20e0af||0x0==_0x20e0af[_0x309b85([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x57dd14}=new URL(window[_0x309b85([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x20e0af[_0x309b85([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x57dd14))return!0x0;const _0x3ad5d6=_0x57dd14[_0x309b85([0x73,0x70,0x6c,0x69,0x74])](_0x309b85([0x2e]));return _0x20e0af[_0x309b85([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4117a0=>_0x4117a0[_0x309b85([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x309b85([0x2a])))[_0x309b85([0x6d,0x61,0x70])](_0x1b804c=>_0x1b804c[_0x309b85([0x73,0x70,0x6c,0x69,0x74])](_0x309b85([0x2e])))[_0x309b85([0x73,0x6f,0x6d,0x65])](_0x3dced2=>_0x3ad5d6[_0x309b85([0x65,0x76,0x65,0x72,0x79])]((_0x56e64c,_0x4dabe2)=>_0x3dced2[_0x4dabe2]===_0x56e64c||_0x3dced2[_0x4dabe2]===_0x309b85([0x2a])));}function _0x5f01bf(){return _0x41d34b&&_0x488acc?new window[(_0x309b85([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3442b8,_0x4733ca)=>{_0x41d34b[_0x309b85([0x74,0x68,0x65,0x6e])](_0x3442b8,_0x4733ca),_0x488acc[_0x309b85([0x74,0x68,0x65,0x6e])](_0x5e79ca=>{_0x5e79ca!=_0x309b85([0x56,0x61,0x6c,0x69,0x64])&&_0x3442b8(_0x5e79ca);},_0x4733ca);}):_0x41d34b||_0x488acc||_0x309b85([0x56,0x61,0x6c,0x69,0x64]);}}function _0x140dac(_0xc8098a,_0x1d26ca){return new window[(_0x309b85([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x562cea=>{if(_0xa1ed41())return _0x562cea(_0x309b85([0x56,0x61,0x6c,0x69,0x64]));_0x1d8879(),_0xcb6f09[_0x309b85([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x309b85([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x8a07a5=!0x1;const _0xca3d8f=_0x2e6280();function _0x2f37d2(_0x101c08){return!!_0x101c08&&(typeof _0x101c08===_0x309b85([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x101c08===_0x309b85([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x101c08[_0x309b85([0x74,0x68,0x65,0x6e])]===_0x309b85([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x101c08[_0x309b85([0x63,0x61,0x74,0x63,0x68])]===_0x309b85([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x8e84e3(_0x1e56eb){_0x1be104(_0x1e56eb)[_0x309b85([0x74,0x68,0x65,0x6e])](_0xba9f69=>{if(!_0xba9f69||_0xba9f69[_0x309b85([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x309b85([0x6f,0x6b]))return _0x309b85([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1ba73f(_0x35a336(_0xca3d8f+_0x1d26ca))!=_0xba9f69[_0x309b85([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x309b85([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x309b85([0x56,0x61,0x6c,0x69,0x64]);})[_0x309b85([0x74,0x68,0x65,0x6e])](_0xa22752=>(_0x5c355d(),_0xa22752),()=>{const _0x523648=_0x57dd01();return null==_0x523648?(_0x5c355d(),_0x309b85([0x56,0x61,0x6c,0x69,0x64])):_0x309b85(_0x18fde0-_0x523648>(0x453b0650^_0x4e64e0)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x309b85([0x74,0x68,0x65,0x6e])](_0x562cea)[_0x309b85([0x63,0x61,0x74,0x63,0x68])](()=>{_0x562cea(_0x309b85([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x16f76c=0x61016cd0^_0x4e64e0;function _0x5c355d(){const _0x51d23f=_0x309b85([0x6c,0x6c,0x63,0x74,0x2d])+_0x1ba73f(_0x35a336(_0xc8098a)),_0x36d523=_0x1fdd17(_0x1ba73f(window[_0x309b85([0x4d,0x61,0x74,0x68])][_0x309b85([0x63,0x65,0x69,0x6c])](_0x18fde0/_0x16f76c)));window[_0x309b85([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x309b85([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x51d23f,_0x36d523);}function _0x57dd01(){const _0x2b84f0=_0x309b85([0x6c,0x6c,0x63,0x74,0x2d])+_0x1ba73f(_0x35a336(_0xc8098a)),_0x31170d=window[_0x309b85([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x309b85([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2b84f0);return _0x31170d?window[_0x309b85([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1fdd17(_0x31170d),0x10)*_0x16f76c:null;}function _0x1be104(_0xac7e8e){return new window[(_0x309b85([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4c865b,_0x82f35a)=>{_0xac7e8e[_0x309b85([0x74,0x68,0x65,0x6e])](_0x4c865b,_0x82f35a),window[_0x309b85([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x82f35a,0x61365690^_0x4e64e0);});}}_0xcb6f09[_0x309b85([0x6f,0x6e])](_0x309b85([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1d1127,_0x5d723e)=>{if(_0x5d723e[0x0]!=_0xc8098a)return _0x562cea(_0x309b85([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x5d723e[0x1]={..._0x5d723e[0x1],[_0x309b85([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xca3d8f};},{[_0x309b85([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x309b85([0x68,0x69,0x67,0x68])}),_0xcb6f09[_0x309b85([0x6f,0x6e])](_0x309b85([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0xf37377=>{_0x2f37d2(_0xf37377[_0x309b85([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x8a07a5=!0x0,_0x8e84e3(_0xf37377[_0x309b85([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x309b85([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x309b85([0x6c,0x6f,0x77])}),_0x49fd95[_0x309b85([0x74,0x68,0x65,0x6e])](()=>{_0x8a07a5||_0x562cea(_0x309b85([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0xa1ed41(){return _0xcb6f09[_0x309b85([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x309b85([0x76,0x69,0x65,0x77])][_0x309b85([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x309b85([0x61,0x75,0x74,0x6f]);}function _0x1d8879(){_0xcb6f09[_0x309b85([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x309b85([0x76,0x69,0x65,0x77])][_0x309b85([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x309b85([0x61,0x75,0x74,0x6f]);}}function _0x449256(_0x6c8830){const _0x168b8d=[new window[(_0x309b85([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x459a33=>setTimeout(_0x459a33,0x613ebc9c^_0x4e64e0)),_0x49fd95[_0x309b85([0x74,0x68,0x65,0x6e])](()=>new window[(_0x309b85([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x17cf85=>{let _0x420c2f=0x0;_0xcb6f09[_0x309b85([0x6d,0x6f,0x64,0x65,0x6c])][_0x309b85([0x6f,0x6e])](_0x309b85([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x200a15,_0x33cf33)=>{_0x33cf33[0x0][_0x309b85([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x420c2f++,_0x420c2f==(0x613783a8^_0x4e64e0)&&(_0x17cf85(),_0x200a15[_0x309b85([0x6f,0x66,0x66])]());});}))];return window[_0x309b85([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x309b85([0x72,0x61,0x63,0x65])](_0x168b8d)[_0x309b85([0x74,0x68,0x65,0x6e])](()=>_0x6c8830);}async function _0x3639a2(){await _0x49fd95,_0xcb6f09[_0x309b85([0x6d,0x6f,0x64,0x65,0x6c])][_0x309b85([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4f3505,_0xcb6f09[_0x309b85([0x6d,0x6f,0x64,0x65,0x6c])][_0x309b85([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4f3505,_0xcb6f09[_0x309b85([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x309b85([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3a837e(_0xb1dbc2){const _0x142f0a=_0x5f1630();_0xcb6f09[_0x142f0a]=_0x309b85([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0xb1dbc2,_0xb1dbc2!=_0x309b85([0x56,0x61,0x6c,0x69,0x64])&&_0x3639a2();}function _0x5f1630(){const _0x59046e=window[_0x309b85([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x309b85([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x309b85([0x6e,0x6f,0x77])]())[_0x309b85([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x309b85([0x2e]),'');let _0x11e4b0=_0x309b85([0x63]);for(let _0x59ccad=0x0;_0x59ccad<_0x59046e[_0x309b85([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x59ccad+=0x2){let _0x3be3e2=window[_0x309b85([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x59046e[_0x309b85([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x59ccad,_0x59ccad+0x2));_0x3be3e2>=_0x554303[_0x309b85([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3be3e2-=_0x554303[_0x309b85([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x11e4b0+=_0x554303[_0x3be3e2];}return _0x11e4b0;}function _0x29f091(){const _0x58a5d7=_0x326246[_0x309b85([0x73,0x70,0x6c,0x69,0x74])](_0x309b85([0x2e]));if(0x3!=_0x58a5d7[_0x309b85([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0xb8456e(_0x58a5d7[0x1]);function _0xb8456e(_0x34f66b){const _0x2f2eb8=_0x3e71a0(_0x34f66b);return _0x2f2eb8&&_0x3f14fb()?_0x2f2eb8:null;function _0x3f14fb(){const _0x1801ba=_0x2f2eb8[_0x309b85([0x6a,0x74,0x69])],_0xa7f574=window[_0x309b85([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1801ba[_0x309b85([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1801ba[_0x309b85([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4f17bf={..._0x2f2eb8,[_0x309b85([0x6a,0x74,0x69])]:_0x1801ba[_0x309b85([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1801ba[_0x309b85([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4f17bf[_0x309b85([0x76,0x63])],_0x35a336(_0x4f17bf)==_0xa7f574;}}}async function _0x4ee13b(){let _0x599b2d=!0x0;try{const _0x2e1174=_0x326246[_0x309b85([0x73,0x70,0x6c,0x69,0x74])](_0x309b85([0x2e])),[_0x3fb32a,_0x26777a,_0x2fde84]=_0x2e1174;return _0x364003(_0x3fb32a),await _0x2bafe1(_0x3fb32a,_0x26777a,_0x2fde84),_0x599b2d;}catch(_0x2d1f94){return!0x1;}function _0x364003(_0x2816ad){const _0x23acf3=_0x3e71a0(_0x2816ad);_0x23acf3&&_0x23acf3[_0x309b85([0x61,0x6c,0x67])]==_0x309b85([0x45,0x53,0x32,0x35,0x36])||(_0x599b2d=!0x1);}async function _0x2bafe1(_0x57c9a9,_0x27db6f,_0x4a6534){const _0x490948=window[_0x309b85([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x309b85([0x66,0x72,0x6f,0x6d])](_0x46b472(_0x4a6534),_0xe2f344=>_0xe2f344[_0x309b85([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x210352=new window[(_0x309b85([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x309b85([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x57c9a9+_0x309b85([0x2e])+_0x27db6f),_0x37201f=window[_0x309b85([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x309b85([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x37201f)return;const _0x9cf4d1=await _0x37201f[_0x309b85([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x309b85([0x6a,0x77,0x6b]),_0x22dbe6,{[_0x309b85([0x6e,0x61,0x6d,0x65])]:_0x309b85([0x45,0x43,0x44,0x53,0x41]),[_0x309b85([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x309b85([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x309b85([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x37201f[_0x309b85([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x309b85([0x6e,0x61,0x6d,0x65])]:_0x309b85([0x45,0x43,0x44,0x53,0x41]),[_0x309b85([0x68,0x61,0x73,0x68])]:{[_0x309b85([0x6e,0x61,0x6d,0x65])]:_0x309b85([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x9cf4d1,_0x490948,_0x210352)||(_0x599b2d=!0x1);}}function _0x3e71a0(_0x1483eb){return _0x1483eb[_0x309b85([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x309b85([0x65,0x79]))?JSON[_0x309b85([0x70,0x61,0x72,0x73,0x65])](_0x46b472(_0x1483eb)):null;}function _0x46b472(_0x43df04){return window[_0x309b85([0x61,0x74,0x6f,0x62])](_0x43df04[_0x309b85([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x309b85([0x2b]))[_0x309b85([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x309b85([0x2f])));}function _0x35a336(_0x2207d1){let _0x12d2ca=0x1505;function _0x43a183(_0x12c0b6){for(let _0x1054eb=0x0;_0x1054eb<_0x12c0b6[_0x309b85([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1054eb++){const _0x2a7dea=_0x12c0b6[_0x309b85([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1054eb);_0x12d2ca=(_0x12d2ca<<0x5)+_0x12d2ca+_0x2a7dea,_0x12d2ca&=_0x12d2ca;}}function _0x2c3540(_0x4f2a53){Array[_0x309b85([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4f2a53)?_0x4f2a53[_0x309b85([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2c3540):_0x4f2a53&&typeof _0x4f2a53==_0x309b85([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x309b85([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4f2a53)[_0x309b85([0x73,0x6f,0x72,0x74])]()[_0x309b85([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x58a3fb,_0x1d9bc6])=>{_0x43a183(_0x58a3fb),_0x2c3540(_0x1d9bc6);}):_0x43a183(window[_0x309b85([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4f2a53));}return _0x2c3540(_0x2207d1),_0x12d2ca>>>0x0;}function _0x1ba73f(_0x1ef024){return _0x1ef024[_0x309b85([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x309b85([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x309b85([0x30]));}function _0x1fdd17(_0x125863){return _0x125863[_0x309b85([0x73,0x70,0x6c,0x69,0x74])]('')[_0x309b85([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x309b85([0x6a,0x6f,0x69,0x6e])]('');}function _0x4f3505(){}function _0x309b85(_0xa64407){return _0xa64407['map'](_0x10ba6c=>String['fromCharCode'](_0x10ba6c))['join']('');}_0x3a837e(await _0x128c33());}(this);}['_toggleSpecialCursor'](_0x2230c3){this['editor']['editing']['view']['change'](_0x1d6869=>{for(const _0x589b9f of this['editor']['editing']['view']['document']['roots'])_0x2230c3?_0x1d6869['addClass'](C,_0x589b9f):_0x1d6869['removeClass'](C,_0x589b9f);});}['_copyFormatting'](){const {editor:_0x4ad904}=this;_0x4ad904['execute'](c),_0x4ad904['ui']['ariaLiveAnnouncer']['announce'](b(_0x4ad904['locale'],'Formatting\x20copied.'));}['_pasteFormatting'](){const {editor:_0x102c57}=this,_0x459d43=_0x102c57['commands']['get'](c)['value'];_0x102c57['execute'](e,_0x459d43),_0x102c57['ui']['ariaLiveAnnouncer']['announce'](b(_0x102c57['locale'],'Pasted\x20formatting.'));}['_finishPainting'](){this['editor']['commands']['get'](c)['reset'](),this['stopListening'](_0x29c64c['window']['document'],'mouseup');}}class n extends _0x212d01{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 _0x70222,Plugin as _0x16b2c2}from'@ckeditor/ckeditor5-core/dist/index.js';import{first as _0x1089ec,DomEmitterMixin as _0x35e8c7,Collection as _0xde652b,global as _0x5c74fb,uid as _0x17b866}from'@ckeditor/ckeditor5-utils/dist/index.js';import{createDropdown as _0x2a341b,SplitButtonView as _0x47496b,ViewModel as _0x1f1ee1,addListToDropdown as _0x59afbf}from'@ckeditor/ckeditor5-ui/dist/index.js';import{ClickObserver as _0x113237}from'@ckeditor/ckeditor5-engine/dist/index.js';import{IconPaintRoller as _0x4536e4}from'@ckeditor/ckeditor5-icons/dist/index.js';const c='copyFormat',e='pasteFormat',C='ck-format-painter-active';class r extends _0x70222{constructor(_0xc8ea47){super(_0xc8ea47),this['value']=void 0x0,this['on']('change:isEnabled',(_0x5b5f16,_0x375f99,_0x1c9a69)=>{_0x1c9a69||this['reset']();}),this['on']('change:value',()=>_0xc8ea47['commands']['get'](e)['refresh']());}['execute'](){this['value']=this['_getFormattingAttributes']();}['reset'](){this['value']=void 0x0;}['_getFormattingAttributes'](){const _0x1bb993=this['editor']['model'],_0x25c542=_0x1bb993['document']['selection'];return Object['fromEntries'](Array['from'](_0x25c542['getAttributes']())['filter'](([_0x455a45])=>_0x1bb993['schema']['getAttributeProperties'](_0x455a45)['isFormatting']));}}class o extends _0x70222{constructor(_0x1978d5){super(_0x1978d5),this['_removeFormatCommand']=new _(_0x1978d5);}['execute'](_0x573196={}){const _0x5c5c1e=this['editor']['model'],_0x296091=_0x5c5c1e['document']['selection'],_0x82c7be=Array['from'](_0x296091['getRanges']()),_0x5ac144=_0x296091['isCollapsed']?[this['_createRangeOnEntireWord'](_0x5c5c1e,_0x296091)]:_0x82c7be;_0x5c5c1e['change'](_0xdd019c=>{_0xdd019c['setSelection'](_0x5ac144),this['_removeFormatCommand']['execute']();for(const _0x538779 in _0x573196)for(const _0x375cca of _0x5c5c1e['schema']['getValidRanges'](_0x5ac144,_0x538779))_0xdd019c['setAttribute'](_0x538779,_0x573196[_0x538779],_0x375cca);_0xdd019c['setSelection'](_0x82c7be);});}['_createRangeOnEntireWord'](_0xd9ac97,_0x1bdf42){const _0x3db808=_0xd9ac97['createSelection'](_0x1bdf42);_0xd9ac97['modifySelection'](_0x3db808,{'unit':'word','direction':'backward'});const _0x11212a=_0x3db808['getFirstPosition']();_0xd9ac97['modifySelection'](_0x3db808,{'unit':'word','direction':'forward'});const _0x109846=_0x3db808['getLastPosition']();return _0xd9ac97['createRange'](_0x11212a,_0x109846);}}class _ extends _0x70222{['execute'](){const _0x31a90f=this['editor']['model'],_0x58513a=_0x31a90f['schema'];_0x31a90f['change'](_0x1edfec=>{for(const _0xc2a97e of this['_getFormattingItems'](_0x31a90f['document']['selection'],_0x58513a))if(_0xc2a97e['is']('selection')){for(const _0x30e445 of this['_getFormattingAttributes'](_0xc2a97e,_0x58513a))_0x1edfec['removeSelectionAttribute'](_0x30e445);}else{const _0x1350a0=_0x1edfec['createRangeOn'](_0xc2a97e);for(const _0x33501b of this['_getFormattingAttributes'](_0xc2a97e,_0x58513a))_0x1edfec['removeAttribute'](_0x33501b,_0x1350a0);}});}*['_getFormattingItems'](_0x2f49a3,_0x441f77){const _0x4736b4=_0x25d2be=>!!_0x1089ec(this['_getFormattingAttributes'](_0x25d2be,_0x441f77));for(const _0x7c9310 of _0x2f49a3['getRanges']())for(const _0x4e87ff of _0x7c9310['getItems']())!_0x441f77['isBlock'](_0x4e87ff)&&_0x4736b4(_0x4e87ff)&&(yield _0x4e87ff);for(const _0x37b74a of _0x2f49a3['getSelectedBlocks']())_0x4736b4(_0x37b74a)&&(yield _0x37b74a);_0x4736b4(_0x2f49a3)&&(yield _0x2f49a3);}*['_getFormattingAttributes'](_0x3a79a5,_0x5a9391){for(const [_0x2e4534]of _0x3a79a5['getAttributes']()){const _0x4855b9=_0x5a9391['getAttributeProperties'](_0x2e4534);_0x4855b9&&_0x4855b9['isFormatting']&&(yield _0x2e4534);}}}class a extends _0x16b2c2{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FormatPainterEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x4db282=this['editor'];_0x4db282['commands']['add'](c,new r(_0x4db282)),_0x4db282['commands']['add'](e,new o(_0x4db282)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x2873d9=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x5e07c7;for(const _0xdc75cb in _0x2873d9){const _0x42202a=_0xdc75cb,_0x1bde4c=_0x2873d9[_0x42202a];if('formatPainterLicenseKeyValid'==_0x1bde4c||'formatPainterLicenseKeyInvalid'==_0x1bde4c||'formatPainterLicenseKeyExpired'==_0x1bde4c||'formatPainterLicenseKeyDomainLimit'==_0x1bde4c||'formatPainterLicenseKeyNotAllowed'==_0x1bde4c||'formatPainterLicenseKeyEvaluationLimit'==_0x1bde4c||'formatPainterLicenseKeyTrialLimit'==_0x1bde4c||'formatPainterLicenseKeyUsageLimit'==_0x1bde4c){delete _0x2873d9[_0x42202a],_0x5e07c7=_0x1bde4c,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'formatPainterLicenseKeyInvalid'==_0x5e07c7&&_0x2873d9['_showLicenseError']('invalid'),'formatPainterLicenseKeyExpired'==_0x5e07c7&&_0x2873d9['_showLicenseError']('expired'),'formatPainterLicenseKeyDomainLimit'==_0x5e07c7&&_0x2873d9['_showLicenseError']('domainLimit'),'formatPainterLicenseKeyNotAllowed'==_0x5e07c7&&_0x2873d9['_showLicenseError']('featureNotAllowed','FormatPainter'),'formatPainterLicenseKeyEvaluationLimit'==_0x5e07c7&&_0x2873d9['_showLicenseError']('evaluationLimit'),'formatPainterLicenseKeyTrialLimit'==_0x5e07c7&&_0x2873d9['_showLicenseError']('trialLimit'),'formatPainterLicenseKeyUsageLimit'==_0x5e07c7&&_0x2873d9['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function b(_0x27c6c9,_0x3ff1bb){const t=_0x27c6c9['t'];switch(_0x3ff1bb){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 _0x3ff1bb;}}class m extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x35e8c7(_0x16b2c2){static get['pluginName'](){return'FormatPainterUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x49fbb7=this['editor'];_0x49fbb7['editing']['view']['addObserver'](_0x113237),_0x49fbb7['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':b(_0x49fbb7['locale'],'Copy\x20text\x20formatting'),'keystroke':'Ctrl+Alt+C'},{'label':b(_0x49fbb7['locale'],'Paste\x20text\x20formatting'),'keystroke':'Ctrl+Alt+V'}]}),_0x49fbb7['ui']['componentFactory']['add']('formatPainter',_0xdeaad7=>{const _0x214ca8=_0x2a341b(_0xdeaad7,_0x47496b),_0x9d0c40=_0x49fbb7['commands']['get'](c);_0x214ca8['buttonView']['set']({'label':b(_0x49fbb7['locale'],'Paint\x20formatting'),'icon':_0x4536e4,'keystroke':'Ctrl+Alt+C','tooltip':!0x0}),_0x214ca8['class']='ck-format-painter-dropdown',_0x9d0c40&&(_0x214ca8['bind']('isEnabled')['to'](_0x9d0c40,'isEnabled'),this['listenTo'](_0x9d0c40,'change:isEnabled',(_0x73942f,_0x2c36dd,_0x289875)=>{_0x289875||this['_finishPainting']();}),_0x214ca8['buttonView']['bind']('isOn')['to'](_0x9d0c40,'value',_0x5f4393=>!!_0x5f4393),this['listenTo'](_0x49fbb7,'destroy',()=>this['_toggleSpecialCursor'](!0x1)),this['listenTo'](_0x9d0c40,'change:value',(_0x5c8e8b,_0x4716ba,_0x170452)=>{this['_toggleSpecialCursor'](!!_0x170452);}));const _0x463d55=new _0x1f1ee1({'withText':!0x0,'label':b(_0x49fbb7['locale'],'Continuous\x20painting'),'tooltip':b(_0x49fbb7['locale'],'Keeps\x20the\x20painter\x20on\x20after\x20setting\x20the\x20formatting.'),'isOn':!0x1,'role':'menuitemcheckbox'});_0x59afbf(_0x214ca8,new _0xde652b([{'type':'switchbutton','model':_0x463d55}]),{'role':'menu'});const _0x18a714=()=>{this['_copyFormatting'](),this['listenTo'](_0x5c74fb['window']['document'],'mouseup',()=>{this['_pasteFormatting'](),_0x463d55['isOn']||this['_finishPainting']();});};return this['listenTo'](_0x214ca8,'execute',()=>{_0x463d55['isOn']=!_0x463d55['isOn'];}),this['listenTo'](_0x214ca8['buttonView'],'execute',()=>{_0x49fbb7['editing']['view']['focus'](),_0x214ca8['buttonView']['isOn']?this['_finishPainting']():_0x18a714();}),_0x49fbb7['keystrokes']['set']('Ctrl+Alt+C',(_0x421f74,_0x2ca4a3)=>{_0x18a714(),_0x463d55['isOn']=!0x0,_0x2ca4a3();},{'priority':'high'}),_0x49fbb7['keystrokes']['set']('Ctrl+Alt+V',(_0x51c352,_0x2d69b6)=>{_0x214ca8['buttonView']['isOn']&&(this['_pasteFormatting'](),_0x463d55['isOn']||this['_finishPainting'](),_0x2d69b6());},{'priority':'high'}),_0x49fbb7['keystrokes']['set']('Esc',(_0x226fa3,_0x5bb3e3)=>{_0x214ca8['buttonView']['isOn']&&(_0x463d55['isOn']=!0x1,this['_finishPainting'](),_0x5bb3e3());}),_0x214ca8;});}['afterInit'](){!async function(_0xf74803){const _0x3b7f11=_0xbf6ce4([0x31,0x73,0x64,0x74,0x36,0x77,0x58,0x66,0x76,0x35,0x67,0x6d,0x4c,0x63,0x72,0x6e,0x4d,0x6f,0x38,0x41,0x57,0x44,0x69,0x4a,0x37,0x6c,0x47,0x7a,0x32,0x34,0x4f,0x59,0x71,0x78,0x54,0x55,0x49,0x62,0x79,0x61,0x70,0x39,0x53,0x4e,0x5a,0x6a,0x46,0x75,0x45,0x65,0x56,0x42,0x33,0x48,0x43,0x6b,0x52,0x51,0x50,0x4b,0x68,0x30]),_0x593dcc=0x2c0464d0,_0x32d9bc=0x2c030090^_0x593dcc,_0x42772f=window[_0xbf6ce4([0x44,0x61,0x74,0x65])][_0xbf6ce4([0x6e,0x6f,0x77])](),_0x4169ab=_0xf74803[_0xbf6ce4([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x56b348=new window[(_0xbf6ce4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5f4194=>{_0x4169ab[_0xbf6ce4([0x6f,0x6e,0x63,0x65])](_0xbf6ce4([0x72,0x65,0x61,0x64,0x79]),_0x5f4194);}),_0x5ebb15={[_0xbf6ce4([0x6b,0x74,0x79])]:_0xbf6ce4([0x45,0x43]),[_0xbf6ce4([0x75,0x73,0x65])]:_0xbf6ce4([0x73,0x69,0x67]),[_0xbf6ce4([0x63,0x72,0x76])]:_0xbf6ce4([0x50,0x2d,0x32,0x35,0x36]),[_0xbf6ce4([0x78])]:_0xbf6ce4([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]),[_0xbf6ce4([0x79])]:_0xbf6ce4([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]),[_0xbf6ce4([0x61,0x6c,0x67])]:_0xbf6ce4([0x45,0x53,0x32,0x35,0x36])},_0x31733b=_0x4169ab[_0xbf6ce4([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0xbf6ce4([0x67,0x65,0x74])](_0xbf6ce4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x1dace7(){let _0x6c322,_0x29299b=null,_0x12d59c=null;try{if(_0x31733b==_0xbf6ce4([0x47,0x50,0x4c]))return _0xbf6ce4([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x6c322=_0x11b179(),!_0x6c322)return _0xbf6ce4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x6c322[_0xbf6ce4([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x12d59c=_0x227bad(_0x6c322[_0xbf6ce4([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x6c322[_0xbf6ce4([0x6a,0x74,0x69])])),await _0x5f5650()?_0x14116a()?_0x21adda()?_0xbf6ce4([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x333fcd()?(_0x6c322[_0xbf6ce4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xbf6ce4([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x29299b=_0x14d424(_0xbf6ce4([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x6c322[_0xbf6ce4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xbf6ce4([0x74,0x72,0x69,0x61,0x6c])&&(_0x29299b=_0x14d424(_0xbf6ce4([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x47e096()):_0xbf6ce4([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0xbf6ce4([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0xbf6ce4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x32494f){return _0xbf6ce4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x21adda(){const _0x20eaa4=[_0xbf6ce4([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0xbf6ce4([0x74,0x72,0x69,0x61,0x6c])][_0xbf6ce4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x6c322[_0xbf6ce4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x42772f/0x3e8:0xe10*_0x32d9bc;return _0x6c322[_0xbf6ce4([0x65,0x78,0x70])]<_0x20eaa4;}function _0x14116a(){const _0x294fdc=_0x6c322[_0xbf6ce4([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x294fdc&&(!!_0x294fdc[_0xbf6ce4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xbf6ce4([0x2a]))||(!!_0x294fdc[_0xbf6ce4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xbf6ce4([0x46,0x50]))||!!_0x294fdc[_0xbf6ce4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xbf6ce4([0x50,0x50]))));}function _0x333fcd(){const _0x4bfc1c=_0x6c322[_0xbf6ce4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x4bfc1c||0x0==_0x4bfc1c[_0xbf6ce4([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0xf771c9}=new URL(window[_0xbf6ce4([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x4bfc1c[_0xbf6ce4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xf771c9))return!0x0;const _0x783f69=_0xf771c9[_0xbf6ce4([0x73,0x70,0x6c,0x69,0x74])](_0xbf6ce4([0x2e]));return _0x4bfc1c[_0xbf6ce4([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4fcd55=>_0x4fcd55[_0xbf6ce4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xbf6ce4([0x2a])))[_0xbf6ce4([0x6d,0x61,0x70])](_0x4f9cf9=>_0x4f9cf9[_0xbf6ce4([0x73,0x70,0x6c,0x69,0x74])](_0xbf6ce4([0x2e])))[_0xbf6ce4([0x73,0x6f,0x6d,0x65])](_0x17da73=>_0x783f69[_0xbf6ce4([0x65,0x76,0x65,0x72,0x79])]((_0x1b03dd,_0x52e6d0)=>_0x17da73[_0x52e6d0]===_0x1b03dd||_0x17da73[_0x52e6d0]===_0xbf6ce4([0x2a])));}function _0x47e096(){return _0x29299b&&_0x12d59c?new window[(_0xbf6ce4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x163f22,_0x30a95c)=>{_0x29299b[_0xbf6ce4([0x74,0x68,0x65,0x6e])](_0x163f22,_0x30a95c),_0x12d59c[_0xbf6ce4([0x74,0x68,0x65,0x6e])](_0x1b1b55=>{_0x1b1b55!=_0xbf6ce4([0x56,0x61,0x6c,0x69,0x64])&&_0x163f22(_0x1b1b55);},_0x30a95c);}):_0x29299b||_0x12d59c||_0xbf6ce4([0x56,0x61,0x6c,0x69,0x64]);}}function _0x227bad(_0x142d3b,_0x1cd523){return new window[(_0xbf6ce4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x57241c=>{if(_0x288557())return _0x57241c(_0xbf6ce4([0x56,0x61,0x6c,0x69,0x64]));_0x4405b7(),_0x4169ab[_0xbf6ce4([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0xbf6ce4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3e735f=!0x1;const _0x9c5ab9=_0x17b866();function _0x1834bb(_0x149117){return!!_0x149117&&(typeof _0x149117===_0xbf6ce4([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x149117===_0xbf6ce4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x149117[_0xbf6ce4([0x74,0x68,0x65,0x6e])]===_0xbf6ce4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x149117[_0xbf6ce4([0x63,0x61,0x74,0x63,0x68])]===_0xbf6ce4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x149e7c(_0x44a697){_0x14265f(_0x44a697)[_0xbf6ce4([0x74,0x68,0x65,0x6e])](_0x48b235=>{if(!_0x48b235||_0x48b235[_0xbf6ce4([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0xbf6ce4([0x6f,0x6b]))return _0xbf6ce4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2f0f90(_0x204eec(_0x9c5ab9+_0x1cd523))!=_0x48b235[_0xbf6ce4([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0xbf6ce4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0xbf6ce4([0x56,0x61,0x6c,0x69,0x64]);})[_0xbf6ce4([0x74,0x68,0x65,0x6e])](_0x177942=>(_0x293b8f(),_0x177942),()=>{const _0x117cee=_0x12766c();return null==_0x117cee?(_0x293b8f(),_0xbf6ce4([0x56,0x61,0x6c,0x69,0x64])):_0xbf6ce4(_0x42772f-_0x117cee>(0x808e0d0^_0x593dcc)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0xbf6ce4([0x74,0x68,0x65,0x6e])](_0x57241c)[_0xbf6ce4([0x63,0x61,0x74,0x63,0x68])](()=>{_0x57241c(_0xbf6ce4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0xfbe8fa=0x2c328a50^_0x593dcc;function _0x293b8f(){const _0xe3f379=_0xbf6ce4([0x6c,0x6c,0x63,0x74,0x2d])+_0x2f0f90(_0x204eec(_0x142d3b)),_0x4cee84=_0x37b78a(_0x2f0f90(window[_0xbf6ce4([0x4d,0x61,0x74,0x68])][_0xbf6ce4([0x63,0x65,0x69,0x6c])](_0x42772f/_0xfbe8fa)));window[_0xbf6ce4([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xbf6ce4([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xe3f379,_0x4cee84);}function _0x12766c(){const _0xecfc08=_0xbf6ce4([0x6c,0x6c,0x63,0x74,0x2d])+_0x2f0f90(_0x204eec(_0x142d3b)),_0x20c094=window[_0xbf6ce4([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xbf6ce4([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xecfc08);return _0x20c094?window[_0xbf6ce4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x37b78a(_0x20c094),0x10)*_0xfbe8fa:null;}function _0x14265f(_0x3dc33e){return new window[(_0xbf6ce4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x482b79,_0x4011a5)=>{_0x3dc33e[_0xbf6ce4([0x74,0x68,0x65,0x6e])](_0x482b79,_0x4011a5),window[_0xbf6ce4([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4011a5,0x2c05b010^_0x593dcc);});}}_0x4169ab[_0xbf6ce4([0x6f,0x6e])](_0xbf6ce4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3221c8,_0x237135)=>{if(_0x237135[0x0]!=_0x142d3b)return _0x57241c(_0xbf6ce4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x237135[0x1]={..._0x237135[0x1],[_0xbf6ce4([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x9c5ab9};},{[_0xbf6ce4([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xbf6ce4([0x68,0x69,0x67,0x68])}),_0x4169ab[_0xbf6ce4([0x6f,0x6e])](_0xbf6ce4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3a3475=>{_0x1834bb(_0x3a3475[_0xbf6ce4([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3e735f=!0x0,_0x149e7c(_0x3a3475[_0xbf6ce4([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0xbf6ce4([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xbf6ce4([0x6c,0x6f,0x77])}),_0x56b348[_0xbf6ce4([0x74,0x68,0x65,0x6e])](()=>{_0x3e735f||_0x57241c(_0xbf6ce4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x288557(){return _0x4169ab[_0xbf6ce4([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xbf6ce4([0x76,0x69,0x65,0x77])][_0xbf6ce4([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0xbf6ce4([0x61,0x75,0x74,0x6f]);}function _0x4405b7(){_0x4169ab[_0xbf6ce4([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xbf6ce4([0x76,0x69,0x65,0x77])][_0xbf6ce4([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0xbf6ce4([0x61,0x75,0x74,0x6f]);}}function _0x14d424(_0x5a831b){const _0x40b027=[new window[(_0xbf6ce4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3e16b3=>setTimeout(_0x3e16b3,0x2c0d5a1c^_0x593dcc)),_0x56b348[_0xbf6ce4([0x74,0x68,0x65,0x6e])](()=>new window[(_0xbf6ce4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3b1db4=>{let _0x169339=0x0;_0x4169ab[_0xbf6ce4([0x6d,0x6f,0x64,0x65,0x6c])][_0xbf6ce4([0x6f,0x6e])](_0xbf6ce4([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2105f4,_0x230f55)=>{_0x230f55[0x0][_0xbf6ce4([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x169339++,_0x169339==(0x2c046528^_0x593dcc)&&(_0x3b1db4(),_0x2105f4[_0xbf6ce4([0x6f,0x66,0x66])]());});}))];return window[_0xbf6ce4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0xbf6ce4([0x72,0x61,0x63,0x65])](_0x40b027)[_0xbf6ce4([0x74,0x68,0x65,0x6e])](()=>_0x5a831b);}async function _0x137b58(){await _0x56b348,_0x4169ab[_0xbf6ce4([0x6d,0x6f,0x64,0x65,0x6c])][_0xbf6ce4([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5deb32,_0x4169ab[_0xbf6ce4([0x6d,0x6f,0x64,0x65,0x6c])][_0xbf6ce4([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5deb32,_0x4169ab[_0xbf6ce4([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0xbf6ce4([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x8c9f04(_0x273b21){const _0x54a0a4=_0x51e0af();_0x4169ab[_0x54a0a4]=_0xbf6ce4([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x273b21,_0x273b21!=_0xbf6ce4([0x56,0x61,0x6c,0x69,0x64])&&_0x137b58();}function _0x51e0af(){const _0x5b7c51=window[_0xbf6ce4([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0xbf6ce4([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0xbf6ce4([0x6e,0x6f,0x77])]())[_0xbf6ce4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0xbf6ce4([0x2e]),'');let _0x274edc=_0xbf6ce4([0x73]);for(let _0x45ec4b=0x0;_0x45ec4b<_0x5b7c51[_0xbf6ce4([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x45ec4b+=0x2){let _0x45fdc9=window[_0xbf6ce4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5b7c51[_0xbf6ce4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x45ec4b,_0x45ec4b+0x2));_0x45fdc9>=_0x3b7f11[_0xbf6ce4([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x45fdc9-=_0x3b7f11[_0xbf6ce4([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x274edc+=_0x3b7f11[_0x45fdc9];}return _0x274edc;}function _0x11b179(){const _0x1932cd=_0x31733b[_0xbf6ce4([0x73,0x70,0x6c,0x69,0x74])](_0xbf6ce4([0x2e]));if(0x3!=_0x1932cd[_0xbf6ce4([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x2390c9(_0x1932cd[0x1]);function _0x2390c9(_0x2a094c){const _0x1ab95d=_0x17c452(_0x2a094c);return _0x1ab95d&&_0x3f6ba6()?_0x1ab95d:null;function _0x3f6ba6(){const _0x8c6460=_0x1ab95d[_0xbf6ce4([0x6a,0x74,0x69])],_0x10695c=window[_0xbf6ce4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x8c6460[_0xbf6ce4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x8c6460[_0xbf6ce4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3db846={..._0x1ab95d,[_0xbf6ce4([0x6a,0x74,0x69])]:_0x8c6460[_0xbf6ce4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x8c6460[_0xbf6ce4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3db846[_0xbf6ce4([0x76,0x63])],_0x204eec(_0x3db846)==_0x10695c;}}}async function _0x5f5650(){let _0x5c1a01=!0x0;try{const _0x1147e8=_0x31733b[_0xbf6ce4([0x73,0x70,0x6c,0x69,0x74])](_0xbf6ce4([0x2e])),[_0xba84d7,_0x556c66,_0x5d6185]=_0x1147e8;return _0x1f9682(_0xba84d7),await _0x580b87(_0xba84d7,_0x556c66,_0x5d6185),_0x5c1a01;}catch(_0x94496){return!0x1;}function _0x1f9682(_0x4bbf09){const _0x202f75=_0x17c452(_0x4bbf09);_0x202f75&&_0x202f75[_0xbf6ce4([0x61,0x6c,0x67])]==_0xbf6ce4([0x45,0x53,0x32,0x35,0x36])||(_0x5c1a01=!0x1);}async function _0x580b87(_0x5b52f3,_0x3ea7f2,_0x376d01){const _0xf811f7=window[_0xbf6ce4([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0xbf6ce4([0x66,0x72,0x6f,0x6d])](_0x435759(_0x376d01),_0x32e769=>_0x32e769[_0xbf6ce4([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2a6543=new window[(_0xbf6ce4([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0xbf6ce4([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5b52f3+_0xbf6ce4([0x2e])+_0x3ea7f2),_0x31f7fc=window[_0xbf6ce4([0x63,0x72,0x79,0x70,0x74,0x6f])][_0xbf6ce4([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x31f7fc)return;const _0x5331b8=await _0x31f7fc[_0xbf6ce4([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0xbf6ce4([0x6a,0x77,0x6b]),_0x5ebb15,{[_0xbf6ce4([0x6e,0x61,0x6d,0x65])]:_0xbf6ce4([0x45,0x43,0x44,0x53,0x41]),[_0xbf6ce4([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0xbf6ce4([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0xbf6ce4([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x31f7fc[_0xbf6ce4([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0xbf6ce4([0x6e,0x61,0x6d,0x65])]:_0xbf6ce4([0x45,0x43,0x44,0x53,0x41]),[_0xbf6ce4([0x68,0x61,0x73,0x68])]:{[_0xbf6ce4([0x6e,0x61,0x6d,0x65])]:_0xbf6ce4([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5331b8,_0xf811f7,_0x2a6543)||(_0x5c1a01=!0x1);}}function _0x17c452(_0x250365){return _0x250365[_0xbf6ce4([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0xbf6ce4([0x65,0x79]))?JSON[_0xbf6ce4([0x70,0x61,0x72,0x73,0x65])](_0x435759(_0x250365)):null;}function _0x435759(_0x5d0f6b){return window[_0xbf6ce4([0x61,0x74,0x6f,0x62])](_0x5d0f6b[_0xbf6ce4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0xbf6ce4([0x2b]))[_0xbf6ce4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0xbf6ce4([0x2f])));}function _0x204eec(_0x5072ea){let _0x227cbb=0x1505;function _0x40d5f2(_0x5a08bb){for(let _0x5a7f85=0x0;_0x5a7f85<_0x5a08bb[_0xbf6ce4([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5a7f85++){const _0x398874=_0x5a08bb[_0xbf6ce4([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5a7f85);_0x227cbb=(_0x227cbb<<0x5)+_0x227cbb+_0x398874,_0x227cbb&=_0x227cbb;}}function _0x1ff944(_0x30cb77){Array[_0xbf6ce4([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x30cb77)?_0x30cb77[_0xbf6ce4([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1ff944):_0x30cb77&&typeof _0x30cb77==_0xbf6ce4([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0xbf6ce4([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x30cb77)[_0xbf6ce4([0x73,0x6f,0x72,0x74])]()[_0xbf6ce4([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x243e21,_0x271596])=>{_0x40d5f2(_0x243e21),_0x1ff944(_0x271596);}):_0x40d5f2(window[_0xbf6ce4([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x30cb77));}return _0x1ff944(_0x5072ea),_0x227cbb>>>0x0;}function _0x2f0f90(_0x4c2c6e){return _0x4c2c6e[_0xbf6ce4([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0xbf6ce4([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0xbf6ce4([0x30]));}function _0x37b78a(_0x1f5ad4){return _0x1f5ad4[_0xbf6ce4([0x73,0x70,0x6c,0x69,0x74])]('')[_0xbf6ce4([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0xbf6ce4([0x6a,0x6f,0x69,0x6e])]('');}function _0x5deb32(){}function _0xbf6ce4(_0x361b00){return _0x361b00['map'](_0x128642=>String['fromCharCode'](_0x128642))['join']('');}_0x8c9f04(await _0x1dace7());}(this);}['_toggleSpecialCursor'](_0x526d1e){this['editor']['editing']['view']['change'](_0xf89553=>{for(const _0x3eab71 of this['editor']['editing']['view']['document']['roots'])_0x526d1e?_0xf89553['addClass'](C,_0x3eab71):_0xf89553['removeClass'](C,_0x3eab71);});}['_copyFormatting'](){const {editor:_0x39e30d}=this;_0x39e30d['execute'](c),_0x39e30d['ui']['ariaLiveAnnouncer']['announce'](b(_0x39e30d['locale'],'Formatting\x20copied.'));}['_pasteFormatting'](){const {editor:_0x5134c6}=this,_0xd177e7=_0x5134c6['commands']['get'](c)['value'];_0x5134c6['execute'](e,_0xd177e7),_0x5134c6['ui']['ariaLiveAnnouncer']['announce'](b(_0x5134c6['locale'],'Pasted\x20formatting.'));}['_finishPainting'](){this['editor']['commands']['get'](c)['reset'](),this['stopListening'](_0x5c74fb['window']['document'],'mouseup');}}class n extends _0x16b2c2{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": "0.0.0-nightly-
|
|
3
|
+
"version": "0.0.0-nightly-20250406.0",
|
|
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": "0.0.0-nightly-
|
|
16
|
-
"@ckeditor/ckeditor5-engine": "0.0.0-nightly-
|
|
17
|
-
"@ckeditor/ckeditor5-icons": "0.0.0-nightly-
|
|
18
|
-
"@ckeditor/ckeditor5-ui": "0.0.0-nightly-
|
|
19
|
-
"@ckeditor/ckeditor5-utils": "0.0.0-nightly-
|
|
20
|
-
"ckeditor5": "0.0.0-nightly-
|
|
15
|
+
"@ckeditor/ckeditor5-core": "0.0.0-nightly-20250406.0",
|
|
16
|
+
"@ckeditor/ckeditor5-engine": "0.0.0-nightly-20250406.0",
|
|
17
|
+
"@ckeditor/ckeditor5-icons": "0.0.0-nightly-20250406.0",
|
|
18
|
+
"@ckeditor/ckeditor5-ui": "0.0.0-nightly-20250406.0",
|
|
19
|
+
"@ckeditor/ckeditor5-utils": "0.0.0-nightly-20250406.0",
|
|
20
|
+
"ckeditor5": "0.0.0-nightly-20250406.0"
|
|
21
21
|
},
|
|
22
22
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
23
23
|
"author": "CKSource (http://cksource.com/)",
|
package/src/formatpainterui.js
CHANGED
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
_0x584f3e(_0x1dd914){static get[_0x22b34f(0x12d)](){const _0x12fc16=_0x22b34f;return _0x12fc16(0x136);}static get[_0x22b34f(0x159)](){return!0x0;}static get[_0x22b34f(0x15a)](){return!0x0;}[_0x22b34f(0x12f)](){const _0x3023d7=_0x22b34f,_0x6fb675=this[_0x3023d7(0x125)];_0x6fb675[_0x3023d7(0x155)][_0x3023d7(0x134)][_0x3023d7(0x12b)](_0x5a713a),_0x6fb675[_0x3023d7(0x14e)][_0x3023d7(0x145)]({'keystrokes':[{'label':_0x1b3c9b(_0x6fb675[_0x3023d7(0x114)],_0x3023d7(0x15c)),'keystroke':_0x3023d7(0x15d)},{'label':_0x1b3c9b(_0x6fb675[_0x3023d7(0x114)],_0x3023d7(0x13c)),'keystroke':_0x3023d7(0x118)}]}),_0x6fb675['ui'][_0x3023d7(0x150)][_0x3023d7(0x133)](_0x3023d7(0x135),_0x325308=>{const _0x103d1e=_0x3023d7,_0x251d97=_0x535e7e(_0x325308,_0x1f38a1),_0x26022f=_0x6fb675[_0x103d1e(0x122)][_0x103d1e(0x14a)](_0x32196d);_0x251d97[_0x103d1e(0x11a)][_0x103d1e(0x132)]({'label':_0x1b3c9b(_0x6fb675[_0x103d1e(0x114)],_0x103d1e(0x142)),'icon':_0x60b082,'keystroke':_0x103d1e(0x15d),'tooltip':!0x0}),_0x251d97[_0x103d1e(0x12e)]=_0x103d1e(0x157),_0x26022f&&(_0x251d97[_0x103d1e(0x115)](_0x103d1e(0x127))['to'](_0x26022f,_0x103d1e(0x127)),this[_0x103d1e(0x113)](_0x26022f,_0x103d1e(0x138),(_0x17f18e,_0x3ad144,_0x2610f2)=>{const _0x418f01=_0x103d1e;_0x2610f2||this[_0x418f01(0x151)]();}),_0x251d97[_0x103d1e(0x11a)][_0x103d1e(0x115)](_0x103d1e(0x11f))['to'](_0x26022f,_0x103d1e(0x116),_0x412f11=>!!_0x412f11),this[_0x103d1e(0x113)](_0x6fb675,_0x103d1e(0x156),()=>this[_0x103d1e(0x13d)](!0x1)),this[_0x103d1e(0x113)](_0x26022f,_0x103d1e(0x129),(_0x39bc2f,_0x548fcb,_0x5c344f)=>{const _0x4d1eb2=_0x103d1e;this[_0x4d1eb2(0x13d)](!!_0x5c344f);}));const _0x3819bc=new _0x4091f1({'withText':!0x0,'label':_0x1b3c9b(_0x6fb675[_0x103d1e(0x114)],_0x103d1e(0x143)),'tooltip':_0x1b3c9b(_0x6fb675[_0x103d1e(0x114)],_0x103d1e(0x144)),'isOn':!0x1,'role':_0x103d1e(0x14c)});_0x5716a8(_0x251d97,new _0x3dad89([{'type':_0x103d1e(0x117),'model':_0x3819bc}]),{'role':_0x103d1e(0x13a)});const _0x12916d=()=>{const _0x53b576=_0x103d1e;this[_0x53b576(0x120)](),this[_0x53b576(0x113)](_0x211ed[_0x53b576(0x148)][_0x53b576(0x15f)],_0x53b576(0x11b),()=>{const _0x579852=_0x53b576;this[_0x579852(0x119)](),_0x3819bc[_0x579852(0x11f)]||this[_0x579852(0x151)]();});};return this[_0x103d1e(0x113)](_0x251d97,_0x103d1e(0x140),()=>{const _0x12f427=_0x103d1e;_0x3819bc[_0x12f427(0x11f)]=!_0x3819bc[_0x12f427(0x11f)];}),this[_0x103d1e(0x113)](_0x251d97[_0x103d1e(0x11a)],_0x103d1e(0x140),()=>{const _0xa99374=_0x103d1e;_0x6fb675[_0xa99374(0x155)][_0xa99374(0x134)][_0xa99374(0x130)](),_0x251d97[_0xa99374(0x11a)][_0xa99374(0x11f)]?this[_0xa99374(0x151)]():_0x12916d();}),_0x6fb675[_0x103d1e(0x128)][_0x103d1e(0x132)](_0x103d1e(0x15d),(_0x38bce2,_0x1b707f)=>{const _0x5b9625=_0x103d1e;_0x12916d(),_0x3819bc[_0x5b9625(0x11f)]=!0x0,_0x1b707f();},{'priority':_0x103d1e(0x12c)}),_0x6fb675[_0x103d1e(0x128)][_0x103d1e(0x132)](_0x103d1e(0x118),(_0x4f41a5,_0x35b45)=>{const _0xb40ed3=_0x103d1e;_0x251d97[_0xb40ed3(0x11a)][_0xb40ed3(0x11f)]&&(this[_0xb40ed3(0x119)](),_0x3819bc[_0xb40ed3(0x11f)]||this[_0xb40ed3(0x151)](),_0x35b45());},{'priority':_0x103d1e(0x12c)}),_0x6fb675[_0x103d1e(0x128)][_0x103d1e(0x132)](_0x103d1e(0x139),(_0x1220a5,_0x26a1a1)=>{const _0x89c9e6=_0x103d1e;_0x251d97[_0x89c9e6(0x11a)][_0x89c9e6(0x11f)]&&(_0x3819bc[_0x89c9e6(0x11f)]=!0x1,this[_0x89c9e6(0x151)](),_0x26a1a1());}),_0x251d97;});}[_0x22b34f(0x158)](){!async function(_0x3581d5){const _0x3eef6f=_0x51082c([0x63,0x5a,0x49,0x61,0x75,0x64,0x4a,0x42,0x4b,0x62,0x73,0x71,0x59,0x31,0x66,0x46,0x6f,0x78,0x76,0x34,0x72,0x41,0x4e,0x58,0x4d,0x79,0x54,0x67,0x56,0x47,0x30,0x53,0x6d,0x51,0x77,0x74,0x44,0x50,0x38,0x57,0x37,0x43,0x70,0x39,0x45,0x32,0x65,0x6b,0x55,0x69,0x33,0x48,0x6e,0x68,0x7a,0x52,0x4f,0x4c,0x6c,0x36,0x6a,0x35]),_0xcd6eb6=0x61378250,_0x13cd37=0x6130e678^_0xcd6eb6,_0x3922c2=window[_0x51082c([0x44,0x61,0x74,0x65])][_0x51082c([0x6e,0x6f,0x77])](),_0x3e9383=_0x3581d5[_0x51082c([0x65,0x64,0x69,0x74,0x6f,0x72])],_0xd197c2=new window[(_0x51082c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x217a23=>{_0x3e9383[_0x51082c([0x6f,0x6e,0x63,0x65])](_0x51082c([0x72,0x65,0x61,0x64,0x79]),_0x217a23);}),_0x3f1370={[_0x51082c([0x6b,0x74,0x79])]:_0x51082c([0x45,0x43]),[_0x51082c([0x75,0x73,0x65])]:_0x51082c([0x73,0x69,0x67]),[_0x51082c([0x63,0x72,0x76])]:_0x51082c([0x50,0x2d,0x32,0x35,0x36]),[_0x51082c([0x78])]:_0x51082c([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]),[_0x51082c([0x79])]:_0x51082c([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]),[_0x51082c([0x61,0x6c,0x67])]:_0x51082c([0x45,0x53,0x32,0x35,0x36])},_0x2e241e=_0x3e9383[_0x51082c([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x51082c([0x67,0x65,0x74])](_0x51082c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x3ea795(){let _0x1542c0,_0xb66763=null,_0x320a7a=null;try{if(_0x2e241e==_0x51082c([0x47,0x50,0x4c]))return _0x51082c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1542c0=_0x39b8bd(),!_0x1542c0)return _0x51082c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1542c0[_0x51082c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x320a7a=_0x2330cd(_0x1542c0[_0x51082c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1542c0[_0x51082c([0x6a,0x74,0x69])])),await _0x56cd51()?_0x4672b0()?_0x5627d6()?_0x51082c([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5ab082()?(_0x1542c0[_0x51082c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x51082c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0xb66763=_0x19630e(_0x51082c([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x1542c0[_0x51082c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x51082c([0x74,0x72,0x69,0x61,0x6c])&&(_0xb66763=_0x19630e(_0x51082c([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x330694()):_0x51082c([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x51082c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x51082c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x37060f){return _0x51082c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x5627d6(){const _0xdcc7b7=[_0x51082c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x51082c([0x74,0x72,0x69,0x61,0x6c])][_0x51082c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1542c0[_0x51082c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3922c2/0x3e8:0xe10*_0x13cd37;return _0x1542c0[_0x51082c([0x65,0x78,0x70])]<_0xdcc7b7;}function _0x4672b0(){const _0x1ed884=_0x1542c0[_0x51082c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x1ed884&&(!!_0x1ed884[_0x51082c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x51082c([0x2a]))||(!!_0x1ed884[_0x51082c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x51082c([0x46,0x50]))||!!_0x1ed884[_0x51082c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x51082c([0x50,0x50]))));}function _0x5ab082(){const _0x4e2365=_0x5128,_0xcb4ddc=_0x1542c0[_0x51082c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xcb4ddc||0x0==_0xcb4ddc[_0x51082c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x5de202}=new URL(window[_0x51082c([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x4e2365(0x152)]);if(_0xcb4ddc[_0x51082c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5de202))return!0x0;const _0x588d10=_0x5de202[_0x51082c([0x73,0x70,0x6c,0x69,0x74])](_0x51082c([0x2e]));return _0xcb4ddc[_0x51082c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5a737b=>_0x5a737b[_0x51082c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x51082c([0x2a])))[_0x51082c([0x6d,0x61,0x70])](_0x45c078=>_0x45c078[_0x51082c([0x73,0x70,0x6c,0x69,0x74])](_0x51082c([0x2e])))[_0x51082c([0x73,0x6f,0x6d,0x65])](_0x450433=>_0x588d10[_0x51082c([0x65,0x76,0x65,0x72,0x79])]((_0x3da618,_0x34e242)=>_0x450433[_0x34e242]===_0x3da618||_0x450433[_0x34e242]===_0x51082c([0x2a])));}function _0x330694(){return _0xb66763&&_0x320a7a?new window[(_0x51082c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2d099c,_0x417739)=>{_0xb66763[_0x51082c([0x74,0x68,0x65,0x6e])](_0x2d099c,_0x417739),_0x320a7a[_0x51082c([0x74,0x68,0x65,0x6e])](_0x433bd3=>{_0x433bd3!=_0x51082c([0x56,0x61,0x6c,0x69,0x64])&&_0x2d099c(_0x433bd3);},_0x417739);}):_0xb66763||_0x320a7a||_0x51082c([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2330cd(_0x131846,_0x3e7bc8){return new window[(_0x51082c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x299dd7=>{if(_0x312e11())return _0x299dd7(_0x51082c([0x56,0x61,0x6c,0x69,0x64]));_0x1fef24(),_0x3e9383[_0x51082c([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x51082c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2b41c7=!0x1;const _0x60c8b0=_0x361a2e();function _0x3f08ed(_0xf8fb45){return!!_0xf8fb45&&(typeof _0xf8fb45===_0x51082c([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0xf8fb45===_0x51082c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0xf8fb45[_0x51082c([0x74,0x68,0x65,0x6e])]===_0x51082c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0xf8fb45[_0x51082c([0x63,0x61,0x74,0x63,0x68])]===_0x51082c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x108ea4(_0x5c8716){_0x1a025f(_0x5c8716)[_0x51082c([0x74,0x68,0x65,0x6e])](_0x20dc34=>{if(!_0x20dc34||_0x20dc34[_0x51082c([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x51082c([0x6f,0x6b]))return _0x51082c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x305909(_0x454a3c(_0x60c8b0+_0x3e7bc8))!=_0x20dc34[_0x51082c([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x51082c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x51082c([0x56,0x61,0x6c,0x69,0x64]);})[_0x51082c([0x74,0x68,0x65,0x6e])](_0x5931c=>(_0x7d3a49(),_0x5931c),()=>{const _0x7922d9=_0x538fc7();return null==_0x7922d9?(_0x7d3a49(),_0x51082c([0x56,0x61,0x6c,0x69,0x64])):_0x51082c(_0x3922c2-_0x7922d9>(0x453b0650^_0xcd6eb6)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x51082c([0x74,0x68,0x65,0x6e])](_0x299dd7)[_0x51082c([0x63,0x61,0x74,0x63,0x68])](()=>{_0x299dd7(_0x51082c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x4a29ba=0x61016cd0^_0xcd6eb6;function _0x7d3a49(){const _0x289bf9=_0x51082c([0x6c,0x6c,0x63,0x74,0x2d])+_0x305909(_0x454a3c(_0x131846)),_0x470c22=_0x102f13(_0x305909(window[_0x51082c([0x4d,0x61,0x74,0x68])][_0x51082c([0x63,0x65,0x69,0x6c])](_0x3922c2/_0x4a29ba)));window[_0x51082c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x51082c([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x289bf9,_0x470c22);}function _0x538fc7(){const _0x41a951=_0x51082c([0x6c,0x6c,0x63,0x74,0x2d])+_0x305909(_0x454a3c(_0x131846)),_0x3d0f0f=window[_0x51082c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x51082c([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x41a951);return _0x3d0f0f?window[_0x51082c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x102f13(_0x3d0f0f),0x10)*_0x4a29ba:null;}function _0x1a025f(_0xd484bc){return new window[(_0x51082c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x193cc8,_0x2d7980)=>{_0xd484bc[_0x51082c([0x74,0x68,0x65,0x6e])](_0x193cc8,_0x2d7980),window[_0x51082c([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2d7980,0x61365690^_0xcd6eb6);});}}_0x3e9383[_0x51082c([0x6f,0x6e])](_0x51082c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x725861,_0x384f67)=>{if(_0x384f67[0x0]!=_0x131846)return _0x299dd7(_0x51082c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x384f67[0x1]={..._0x384f67[0x1],[_0x51082c([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x60c8b0};},{[_0x51082c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x51082c([0x68,0x69,0x67,0x68])}),_0x3e9383[_0x51082c([0x6f,0x6e])](_0x51082c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x25af21=>{_0x3f08ed(_0x25af21[_0x51082c([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2b41c7=!0x0,_0x108ea4(_0x25af21[_0x51082c([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x51082c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x51082c([0x6c,0x6f,0x77])}),_0xd197c2[_0x51082c([0x74,0x68,0x65,0x6e])](()=>{_0x2b41c7||_0x299dd7(_0x51082c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x312e11(){return _0x3e9383[_0x51082c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x51082c([0x76,0x69,0x65,0x77])][_0x51082c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x51082c([0x61,0x75,0x74,0x6f]);}function _0x1fef24(){_0x3e9383[_0x51082c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x51082c([0x76,0x69,0x65,0x77])][_0x51082c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x51082c([0x61,0x75,0x74,0x6f]);}}function _0x19630e(_0x1ec612){const _0x3f278a=[new window[(_0x51082c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3e585a=>setTimeout(_0x3e585a,0x613ebc9c^_0xcd6eb6)),_0xd197c2[_0x51082c([0x74,0x68,0x65,0x6e])](()=>new window[(_0x51082c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2c5afa=>{let _0x4151ce=0x0;_0x3e9383[_0x51082c([0x6d,0x6f,0x64,0x65,0x6c])][_0x51082c([0x6f,0x6e])](_0x51082c([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0xc11b61,_0x2d5f64)=>{_0x2d5f64[0x0][_0x51082c([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4151ce++,_0x4151ce==(0x613783a8^_0xcd6eb6)&&(_0x2c5afa(),_0xc11b61[_0x51082c([0x6f,0x66,0x66])]());});}))];return window[_0x51082c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x51082c([0x72,0x61,0x63,0x65])](_0x3f278a)[_0x51082c([0x74,0x68,0x65,0x6e])](()=>_0x1ec612);}async function _0x356b73(){await _0xd197c2,_0x3e9383[_0x51082c([0x6d,0x6f,0x64,0x65,0x6c])][_0x51082c([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5e8e30,_0x3e9383[_0x51082c([0x6d,0x6f,0x64,0x65,0x6c])][_0x51082c([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5e8e30,_0x3e9383[_0x51082c([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x51082c([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x496666(_0x15b895){const _0x4f057e=_0x71a13();_0x3e9383[_0x4f057e]=_0x51082c([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x15b895,_0x15b895!=_0x51082c([0x56,0x61,0x6c,0x69,0x64])&&_0x356b73();}function _0x71a13(){const _0x1d7450=window[_0x51082c([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x51082c([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x51082c([0x6e,0x6f,0x77])]())[_0x51082c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x51082c([0x2e]),'');let _0x29fe39=_0x51082c([0x63]);for(let _0x593767=0x0;_0x593767<_0x1d7450[_0x51082c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x593767+=0x2){let _0x2b45ad=window[_0x51082c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1d7450[_0x51082c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x593767,_0x593767+0x2));_0x2b45ad>=_0x3eef6f[_0x51082c([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2b45ad-=_0x3eef6f[_0x51082c([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x29fe39+=_0x3eef6f[_0x2b45ad];}return _0x29fe39;}function _0x39b8bd(){const _0x2faeb5=_0x2e241e[_0x51082c([0x73,0x70,0x6c,0x69,0x74])](_0x51082c([0x2e]));if(0x3!=_0x2faeb5[_0x51082c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4a5462(_0x2faeb5[0x1]);function _0x4a5462(_0x229196){const _0xfcc8e7=_0x13a18e(_0x229196);return _0xfcc8e7&&_0x4beef1()?_0xfcc8e7:null;function _0x4beef1(){const _0x54adf4=_0xfcc8e7[_0x51082c([0x6a,0x74,0x69])],_0x4b07c6=window[_0x51082c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x54adf4[_0x51082c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x54adf4[_0x51082c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2f791d={..._0xfcc8e7,[_0x51082c([0x6a,0x74,0x69])]:_0x54adf4[_0x51082c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x54adf4[_0x51082c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2f791d[_0x51082c([0x76,0x63])],_0x454a3c(_0x2f791d)==_0x4b07c6;}}}async function _0x56cd51(){let _0xe2e286=!0x0;try{const _0x445ec0=_0x2e241e[_0x51082c([0x73,0x70,0x6c,0x69,0x74])](_0x51082c([0x2e])),[_0x4aa0d2,_0x3563bf,_0x4eaf45]=_0x445ec0;return _0x4b1831(_0x4aa0d2),await _0x406451(_0x4aa0d2,_0x3563bf,_0x4eaf45),_0xe2e286;}catch(_0x410dfe){return!0x1;}function _0x4b1831(_0x1f323d){const _0x288c5b=_0x13a18e(_0x1f323d);_0x288c5b&&_0x288c5b[_0x51082c([0x61,0x6c,0x67])]==_0x51082c([0x45,0x53,0x32,0x35,0x36])||(_0xe2e286=!0x1);}async function _0x406451(_0x4f4451,_0x291391,_0x1c782f){const _0x34b332=window[_0x51082c([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x51082c([0x66,0x72,0x6f,0x6d])](_0x3e9968(_0x1c782f),_0x1b24f5=>_0x1b24f5[_0x51082c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0xa7dd65=new window[(_0x51082c([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x51082c([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4f4451+_0x51082c([0x2e])+_0x291391),_0x3eff29=window[_0x51082c([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x51082c([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3eff29)return;const _0x3e0185=await _0x3eff29[_0x51082c([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x51082c([0x6a,0x77,0x6b]),_0x3f1370,{[_0x51082c([0x6e,0x61,0x6d,0x65])]:_0x51082c([0x45,0x43,0x44,0x53,0x41]),[_0x51082c([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x51082c([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x51082c([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3eff29[_0x51082c([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x51082c([0x6e,0x61,0x6d,0x65])]:_0x51082c([0x45,0x43,0x44,0x53,0x41]),[_0x51082c([0x68,0x61,0x73,0x68])]:{[_0x51082c([0x6e,0x61,0x6d,0x65])]:_0x51082c([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x3e0185,_0x34b332,_0xa7dd65)||(_0xe2e286=!0x1);}}function _0x13a18e(_0x1569be){return _0x1569be[_0x51082c([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x51082c([0x65,0x79]))?JSON[_0x51082c([0x70,0x61,0x72,0x73,0x65])](_0x3e9968(_0x1569be)):null;}function _0x3e9968(_0x17b0d3){return window[_0x51082c([0x61,0x74,0x6f,0x62])](_0x17b0d3[_0x51082c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x51082c([0x2b]))[_0x51082c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x51082c([0x2f])));}function _0x454a3c(_0x5c2343){let _0x400432=0x1505;function _0x30526e(_0xa354b6){for(let _0x1d14c0=0x0;_0x1d14c0<_0xa354b6[_0x51082c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1d14c0++){const _0x364609=_0xa354b6[_0x51082c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1d14c0);_0x400432=(_0x400432<<0x5)+_0x400432+_0x364609,_0x400432&=_0x400432;}}function _0x10ef0f(_0x463891){Array[_0x51082c([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x463891)?_0x463891[_0x51082c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x10ef0f):_0x463891&&typeof _0x463891==_0x51082c([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x51082c([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x463891)[_0x51082c([0x73,0x6f,0x72,0x74])]()[_0x51082c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x726814,_0x2ebd4b])=>{_0x30526e(_0x726814),_0x10ef0f(_0x2ebd4b);}):_0x30526e(window[_0x51082c([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x463891));}return _0x10ef0f(_0x5c2343),_0x400432>>>0x0;}function _0x305909(_0x477631){return _0x477631[_0x51082c([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x51082c([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x51082c([0x30]));}function _0x102f13(_0x38d87e){return _0x38d87e[_0x51082c([0x73,0x70,0x6c,0x69,0x74])]('')[_0x51082c([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x51082c([0x6a,0x6f,0x69,0x6e])]('');}function _0x5e8e30(){}function _0x51082c(_0xe85a60){const _0xc96192=_0x5128;return _0xe85a60[_0xc96192(0x154)](_0x15e41f=>String[_0xc96192(0x141)](_0x15e41f))[_0xc96192(0x11e)]('');}_0x496666(await _0x3ea795());}(this);}[_0x22b34f(0x13d)](_0x46733a){const _0x1e62ad=_0x22b34f;this[_0x1e62ad(0x125)][_0x1e62ad(0x155)][_0x1e62ad(0x134)][_0x1e62ad(0x11d)](_0x24e3fd=>{const _0x413fb0=_0x1e62ad;for(const _0x1cca5b of this[_0x413fb0(0x125)][_0x413fb0(0x155)][_0x413fb0(0x134)][_0x413fb0(0x15f)][_0x413fb0(0x146)])_0x46733a?_0x24e3fd[_0x413fb0(0x124)](_0xd357d,_0x1cca5b):_0x24e3fd[_0x413fb0(0x14f)](_0xd357d,_0x1cca5b);});}[_0x22b34f(0x120)](){const _0x4eae19=_0x22b34f,{editor:_0x3d7c12}=this;_0x3d7c12[_0x4eae19(0x140)](_0x32196d),_0x3d7c12['ui'][_0x4eae19(0x11c)][_0x4eae19(0x137)](_0x1b3c9b(_0x3d7c12[_0x4eae19(0x114)],_0x4eae19(0x13b)));}[_0x22b34f(0x119)](){const _0x3206b0=_0x22b34f,{editor:_0x121752}=this,_0x1d01e0=_0x121752[_0x3206b0(0x122)][_0x3206b0(0x14a)](_0x32196d)[_0x3206b0(0x116)];_0x121752[_0x3206b0(0x140)](_0x5f0a55,_0x1d01e0),_0x121752['ui'][_0x3206b0(0x11c)][_0x3206b0(0x137)](_0x1b3c9b(_0x121752[_0x3206b0(0x114)],_0x3206b0(0x121)));}[_0x22b34f(0x151)](){const _0x46583b=_0x22b34f;this[_0x46583b(0x125)][_0x46583b(0x122)][_0x46583b(0x14a)](_0x32196d)[_0x46583b(0x13f)](),this[_0x46583b(0x14b)](_0x211ed[_0x46583b(0x148)][_0x46583b(0x15f)],_0x46583b(0x11b));}}
|
|
23
|
+
const _0x584949=_0x2d7b;(function(_0x24a754,_0x3d973f){const _0x1df030=_0x2d7b,_0x189a16=_0x24a754();while(!![]){try{const _0xea568b=-parseInt(_0x1df030(0x18d))/0x1*(parseInt(_0x1df030(0x165))/0x2)+-parseInt(_0x1df030(0x1ac))/0x3+parseInt(_0x1df030(0x189))/0x4+-parseInt(_0x1df030(0x1a3))/0x5+parseInt(_0x1df030(0x193))/0x6*(parseInt(_0x1df030(0x195))/0x7)+-parseInt(_0x1df030(0x178))/0x8*(-parseInt(_0x1df030(0x175))/0x9)+-parseInt(_0x1df030(0x18a))/0xa*(parseInt(_0x1df030(0x16d))/0xb);if(_0xea568b===_0x3d973f)break;else _0x189a16['push'](_0x189a16['shift']());}catch(_0x33ebec){_0x189a16['push'](_0x189a16['shift']());}}}(_0x7fb8,0xd5dcf));import{Plugin as _0x14609a}from'ckeditor5/src/core.js';import{addListToDropdown as _0x46d98f,createDropdown as _0x213198,ViewModel as _0x59083c,SplitButtonView as _0x3483c1}from'ckeditor5/src/ui.js';function _0x7fb8(){const _0x458429=['6456044RfOCDN','3650140VsNDNy','Copy\x20text\x20formatting','focus','9ugpGdd','destroy','document','pluginName','announce','listenTo','14886mDlQWe','_copyFormatting','3031RhBITr','stopListening','Esc','addKeystrokeInfos','isOn','map','execute','value','editor','isEnabled','menu','href','get','commands','7607180biSmzi','reset','accessibility','Continuous\x20painting','view','join','_pasteFormatting','add','change','1960266CxWjkb','Ctrl+Alt+V','locale','menuitemcheckbox','buttonView','afterInit','103138qTlxtQ','_finishPainting','class','ck-format-painter-dropdown','Paint\x20formatting','Keeps\x20the\x20painter\x20on\x20after\x20setting\x20the\x20formatting.','high','addObserver','22Caelqu','bind','roots','_toggleSpecialCursor','removeClass','componentFactory','Formatting\x20copied.','addClass','27wXbfKU','FormatPainterUI','fromCharCode','4151216aHMpfv','change:value','window','set','ariaLiveAnnouncer','mouseup','Pasted\x20formatting.','editing','keystrokes','switchbutton','init','change:isEnabled','isPremiumPlugin','formatPainter','isOfficialPlugin','Ctrl+Alt+C','Paste\x20text\x20formatting'];_0x7fb8=function(){return _0x458429;};return _0x7fb8();}import{Collection as _0x5d6a85,global as _0x33f4fc,DomEmitterMixin as _0x53445b,uid as _0x4d0a68}from'ckeditor5/src/utils.js';import{ClickObserver as _0x3d1185}from'ckeditor5/src/engine.js';import{IconPaintRoller as _0x3ae8df}from'ckeditor5/src/icons.js';import'../theme/formatpainter.css';import{COPY_FORMAT_COMMAND_NAME as _0x3b45f9,PASTE_FORMAT_COMMAND_NAME as _0x120f71,CURSOR_ACTIVE_CSS_CLASS as _0x352fde}from'./utils.js';import{getTranslation as _0x548504}from'./utils/common-translations.js';function _0x2d7b(_0x8fa943,_0x37745c){const _0x7fb890=_0x7fb8();return _0x2d7b=function(_0x2d7bfd,_0x5bb2e7){_0x2d7bfd=_0x2d7bfd-0x160;let _0x5d6c12=_0x7fb890[_0x2d7bfd];return _0x5d6c12;},_0x2d7b(_0x8fa943,_0x37745c);}export default class m extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x53445b(_0x14609a){static get[_0x584949(0x190)](){const _0x11f171=_0x584949;return _0x11f171(0x176);}static get[_0x584949(0x186)](){return!0x0;}static get[_0x584949(0x184)](){return!0x0;}[_0x584949(0x182)](){const _0xc70a91=_0x584949,_0x478240=this[_0xc70a91(0x19d)];_0x478240[_0xc70a91(0x17f)][_0xc70a91(0x1a7)][_0xc70a91(0x16c)](_0x3d1185),_0x478240[_0xc70a91(0x1a5)][_0xc70a91(0x198)]({'keystrokes':[{'label':_0x548504(_0x478240[_0xc70a91(0x161)],_0xc70a91(0x18b)),'keystroke':_0xc70a91(0x187)},{'label':_0x548504(_0x478240[_0xc70a91(0x161)],_0xc70a91(0x188)),'keystroke':_0xc70a91(0x160)}]}),_0x478240['ui'][_0xc70a91(0x172)][_0xc70a91(0x1aa)](_0xc70a91(0x185),_0x1247a9=>{const _0x7e4f5e=_0xc70a91,_0xc655e0=_0x213198(_0x1247a9,_0x3483c1),_0x53fe12=_0x478240[_0x7e4f5e(0x1a2)][_0x7e4f5e(0x1a1)](_0x3b45f9);_0xc655e0[_0x7e4f5e(0x163)][_0x7e4f5e(0x17b)]({'label':_0x548504(_0x478240[_0x7e4f5e(0x161)],_0x7e4f5e(0x169)),'icon':_0x3ae8df,'keystroke':_0x7e4f5e(0x187),'tooltip':!0x0}),_0xc655e0[_0x7e4f5e(0x167)]=_0x7e4f5e(0x168),_0x53fe12&&(_0xc655e0[_0x7e4f5e(0x16e)](_0x7e4f5e(0x19e))['to'](_0x53fe12,_0x7e4f5e(0x19e)),this[_0x7e4f5e(0x192)](_0x53fe12,_0x7e4f5e(0x183),(_0x11def0,_0x3407a1,_0x185139)=>{const _0xe66c12=_0x7e4f5e;_0x185139||this[_0xe66c12(0x166)]();}),_0xc655e0[_0x7e4f5e(0x163)][_0x7e4f5e(0x16e)](_0x7e4f5e(0x199))['to'](_0x53fe12,_0x7e4f5e(0x19c),_0x1618bc=>!!_0x1618bc),this[_0x7e4f5e(0x192)](_0x478240,_0x7e4f5e(0x18e),()=>this[_0x7e4f5e(0x170)](!0x1)),this[_0x7e4f5e(0x192)](_0x53fe12,_0x7e4f5e(0x179),(_0x5e1c8a,_0x56fd7c,_0x1b3122)=>{const _0x9d13ab=_0x7e4f5e;this[_0x9d13ab(0x170)](!!_0x1b3122);}));const _0x202438=new _0x59083c({'withText':!0x0,'label':_0x548504(_0x478240[_0x7e4f5e(0x161)],_0x7e4f5e(0x1a6)),'tooltip':_0x548504(_0x478240[_0x7e4f5e(0x161)],_0x7e4f5e(0x16a)),'isOn':!0x1,'role':_0x7e4f5e(0x162)});_0x46d98f(_0xc655e0,new _0x5d6a85([{'type':_0x7e4f5e(0x181),'model':_0x202438}]),{'role':_0x7e4f5e(0x19f)});const _0x27e304=()=>{const _0x1a8003=_0x7e4f5e;this[_0x1a8003(0x194)](),this[_0x1a8003(0x192)](_0x33f4fc[_0x1a8003(0x17a)][_0x1a8003(0x18f)],_0x1a8003(0x17d),()=>{const _0x418077=_0x1a8003;this[_0x418077(0x1a9)](),_0x202438[_0x418077(0x199)]||this[_0x418077(0x166)]();});};return this[_0x7e4f5e(0x192)](_0xc655e0,_0x7e4f5e(0x19b),()=>{const _0x590047=_0x7e4f5e;_0x202438[_0x590047(0x199)]=!_0x202438[_0x590047(0x199)];}),this[_0x7e4f5e(0x192)](_0xc655e0[_0x7e4f5e(0x163)],_0x7e4f5e(0x19b),()=>{const _0x3798d7=_0x7e4f5e;_0x478240[_0x3798d7(0x17f)][_0x3798d7(0x1a7)][_0x3798d7(0x18c)](),_0xc655e0[_0x3798d7(0x163)][_0x3798d7(0x199)]?this[_0x3798d7(0x166)]():_0x27e304();}),_0x478240[_0x7e4f5e(0x180)][_0x7e4f5e(0x17b)](_0x7e4f5e(0x187),(_0x2a5053,_0x375fb8)=>{const _0x3e0b88=_0x7e4f5e;_0x27e304(),_0x202438[_0x3e0b88(0x199)]=!0x0,_0x375fb8();},{'priority':_0x7e4f5e(0x16b)}),_0x478240[_0x7e4f5e(0x180)][_0x7e4f5e(0x17b)](_0x7e4f5e(0x160),(_0x11f18d,_0x131a49)=>{const _0x2ecd75=_0x7e4f5e;_0xc655e0[_0x2ecd75(0x163)][_0x2ecd75(0x199)]&&(this[_0x2ecd75(0x1a9)](),_0x202438[_0x2ecd75(0x199)]||this[_0x2ecd75(0x166)](),_0x131a49());},{'priority':_0x7e4f5e(0x16b)}),_0x478240[_0x7e4f5e(0x180)][_0x7e4f5e(0x17b)](_0x7e4f5e(0x197),(_0x2a1a56,_0x1a0dfd)=>{const _0x4c4d84=_0x7e4f5e;_0xc655e0[_0x4c4d84(0x163)][_0x4c4d84(0x199)]&&(_0x202438[_0x4c4d84(0x199)]=!0x1,this[_0x4c4d84(0x166)](),_0x1a0dfd());}),_0xc655e0;});}[_0x584949(0x164)](){!async function(_0xf6a346){const _0x35600a=_0x134f22([0x31,0x73,0x64,0x74,0x36,0x77,0x58,0x66,0x76,0x35,0x67,0x6d,0x4c,0x63,0x72,0x6e,0x4d,0x6f,0x38,0x41,0x57,0x44,0x69,0x4a,0x37,0x6c,0x47,0x7a,0x32,0x34,0x4f,0x59,0x71,0x78,0x54,0x55,0x49,0x62,0x79,0x61,0x70,0x39,0x53,0x4e,0x5a,0x6a,0x46,0x75,0x45,0x65,0x56,0x42,0x33,0x48,0x43,0x6b,0x52,0x51,0x50,0x4b,0x68,0x30]),_0x226a92=0x2c0464d0,_0x43afd9=0x2c030090^_0x226a92,_0x22af1d=window[_0x134f22([0x44,0x61,0x74,0x65])][_0x134f22([0x6e,0x6f,0x77])](),_0x373735=_0xf6a346[_0x134f22([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x5051e8=new window[(_0x134f22([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x59b2ec=>{_0x373735[_0x134f22([0x6f,0x6e,0x63,0x65])](_0x134f22([0x72,0x65,0x61,0x64,0x79]),_0x59b2ec);}),_0xaed9f3={[_0x134f22([0x6b,0x74,0x79])]:_0x134f22([0x45,0x43]),[_0x134f22([0x75,0x73,0x65])]:_0x134f22([0x73,0x69,0x67]),[_0x134f22([0x63,0x72,0x76])]:_0x134f22([0x50,0x2d,0x32,0x35,0x36]),[_0x134f22([0x78])]:_0x134f22([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]),[_0x134f22([0x79])]:_0x134f22([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]),[_0x134f22([0x61,0x6c,0x67])]:_0x134f22([0x45,0x53,0x32,0x35,0x36])},_0x3f9a87=_0x373735[_0x134f22([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x134f22([0x67,0x65,0x74])](_0x134f22([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5270ae(){let _0x52f757,_0x21edc1=null,_0x1eadb6=null;try{if(_0x3f9a87==_0x134f22([0x47,0x50,0x4c]))return _0x134f22([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x52f757=_0x18f6b3(),!_0x52f757)return _0x134f22([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x52f757[_0x134f22([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1eadb6=_0x1024d9(_0x52f757[_0x134f22([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x52f757[_0x134f22([0x6a,0x74,0x69])])),await _0x277a35()?_0x5783d8()?_0x1c3e38()?_0x134f22([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0xfa3c3c()?(_0x52f757[_0x134f22([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x134f22([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x21edc1=_0x57ea46(_0x134f22([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x52f757[_0x134f22([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x134f22([0x74,0x72,0x69,0x61,0x6c])&&(_0x21edc1=_0x57ea46(_0x134f22([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x7d5fea()):_0x134f22([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x134f22([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x134f22([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x53bf08){return _0x134f22([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1c3e38(){const _0xd77f4e=[_0x134f22([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x134f22([0x74,0x72,0x69,0x61,0x6c])][_0x134f22([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x52f757[_0x134f22([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x22af1d/0x3e8:0xe10*_0x43afd9;return _0x52f757[_0x134f22([0x65,0x78,0x70])]<_0xd77f4e;}function _0x5783d8(){const _0x57c798=_0x52f757[_0x134f22([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x57c798&&(!!_0x57c798[_0x134f22([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x134f22([0x2a]))||(!!_0x57c798[_0x134f22([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x134f22([0x46,0x50]))||!!_0x57c798[_0x134f22([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x134f22([0x50,0x50]))));}function _0xfa3c3c(){const _0x29df12=_0x2d7b,_0x229ffb=_0x52f757[_0x134f22([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x229ffb||0x0==_0x229ffb[_0x134f22([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3f7b19}=new URL(window[_0x134f22([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x29df12(0x1a0)]);if(_0x229ffb[_0x134f22([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3f7b19))return!0x0;const _0xa9aec4=_0x3f7b19[_0x134f22([0x73,0x70,0x6c,0x69,0x74])](_0x134f22([0x2e]));return _0x229ffb[_0x134f22([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x28d8c9=>_0x28d8c9[_0x134f22([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x134f22([0x2a])))[_0x134f22([0x6d,0x61,0x70])](_0x42430a=>_0x42430a[_0x134f22([0x73,0x70,0x6c,0x69,0x74])](_0x134f22([0x2e])))[_0x134f22([0x73,0x6f,0x6d,0x65])](_0x2a8f18=>_0xa9aec4[_0x134f22([0x65,0x76,0x65,0x72,0x79])]((_0x435cf8,_0x36ba3e)=>_0x2a8f18[_0x36ba3e]===_0x435cf8||_0x2a8f18[_0x36ba3e]===_0x134f22([0x2a])));}function _0x7d5fea(){return _0x21edc1&&_0x1eadb6?new window[(_0x134f22([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xdfaaef,_0x59257c)=>{_0x21edc1[_0x134f22([0x74,0x68,0x65,0x6e])](_0xdfaaef,_0x59257c),_0x1eadb6[_0x134f22([0x74,0x68,0x65,0x6e])](_0x3c772a=>{_0x3c772a!=_0x134f22([0x56,0x61,0x6c,0x69,0x64])&&_0xdfaaef(_0x3c772a);},_0x59257c);}):_0x21edc1||_0x1eadb6||_0x134f22([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1024d9(_0x5effb6,_0x3c2a60){return new window[(_0x134f22([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x374a2f=>{if(_0x12fff4())return _0x374a2f(_0x134f22([0x56,0x61,0x6c,0x69,0x64]));_0x3c3b00(),_0x373735[_0x134f22([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x134f22([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x365782=!0x1;const _0x2dbbea=_0x4d0a68();function _0x44cd8c(_0x22a707){return!!_0x22a707&&(typeof _0x22a707===_0x134f22([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x22a707===_0x134f22([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x22a707[_0x134f22([0x74,0x68,0x65,0x6e])]===_0x134f22([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x22a707[_0x134f22([0x63,0x61,0x74,0x63,0x68])]===_0x134f22([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x28f549(_0x36e1ef){_0x9438f1(_0x36e1ef)[_0x134f22([0x74,0x68,0x65,0x6e])](_0x243adb=>{if(!_0x243adb||_0x243adb[_0x134f22([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x134f22([0x6f,0x6b]))return _0x134f22([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x367541(_0x331ff5(_0x2dbbea+_0x3c2a60))!=_0x243adb[_0x134f22([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x134f22([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x134f22([0x56,0x61,0x6c,0x69,0x64]);})[_0x134f22([0x74,0x68,0x65,0x6e])](_0x39ef46=>(_0x182886(),_0x39ef46),()=>{const _0x1c1fa1=_0xe3a0e7();return null==_0x1c1fa1?(_0x182886(),_0x134f22([0x56,0x61,0x6c,0x69,0x64])):_0x134f22(_0x22af1d-_0x1c1fa1>(0x808e0d0^_0x226a92)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x134f22([0x74,0x68,0x65,0x6e])](_0x374a2f)[_0x134f22([0x63,0x61,0x74,0x63,0x68])](()=>{_0x374a2f(_0x134f22([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x33e15b=0x2c328a50^_0x226a92;function _0x182886(){const _0x5cfae7=_0x134f22([0x6c,0x6c,0x63,0x74,0x2d])+_0x367541(_0x331ff5(_0x5effb6)),_0x30a3fb=_0x198e17(_0x367541(window[_0x134f22([0x4d,0x61,0x74,0x68])][_0x134f22([0x63,0x65,0x69,0x6c])](_0x22af1d/_0x33e15b)));window[_0x134f22([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x134f22([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5cfae7,_0x30a3fb);}function _0xe3a0e7(){const _0x12b187=_0x134f22([0x6c,0x6c,0x63,0x74,0x2d])+_0x367541(_0x331ff5(_0x5effb6)),_0x388fd1=window[_0x134f22([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x134f22([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x12b187);return _0x388fd1?window[_0x134f22([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x198e17(_0x388fd1),0x10)*_0x33e15b:null;}function _0x9438f1(_0x2a85b2){return new window[(_0x134f22([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x54ef6c,_0x49810b)=>{_0x2a85b2[_0x134f22([0x74,0x68,0x65,0x6e])](_0x54ef6c,_0x49810b),window[_0x134f22([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x49810b,0x2c05b010^_0x226a92);});}}_0x373735[_0x134f22([0x6f,0x6e])](_0x134f22([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x14234e,_0x3a9024)=>{if(_0x3a9024[0x0]!=_0x5effb6)return _0x374a2f(_0x134f22([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3a9024[0x1]={..._0x3a9024[0x1],[_0x134f22([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2dbbea};},{[_0x134f22([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x134f22([0x68,0x69,0x67,0x68])}),_0x373735[_0x134f22([0x6f,0x6e])](_0x134f22([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x33314f=>{_0x44cd8c(_0x33314f[_0x134f22([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x365782=!0x0,_0x28f549(_0x33314f[_0x134f22([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x134f22([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x134f22([0x6c,0x6f,0x77])}),_0x5051e8[_0x134f22([0x74,0x68,0x65,0x6e])](()=>{_0x365782||_0x374a2f(_0x134f22([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x12fff4(){return _0x373735[_0x134f22([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x134f22([0x76,0x69,0x65,0x77])][_0x134f22([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x134f22([0x61,0x75,0x74,0x6f]);}function _0x3c3b00(){_0x373735[_0x134f22([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x134f22([0x76,0x69,0x65,0x77])][_0x134f22([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x134f22([0x61,0x75,0x74,0x6f]);}}function _0x57ea46(_0x2e3ecc){const _0x4cc38a=[new window[(_0x134f22([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x522045=>setTimeout(_0x522045,0x2c0d5a1c^_0x226a92)),_0x5051e8[_0x134f22([0x74,0x68,0x65,0x6e])](()=>new window[(_0x134f22([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1a50dd=>{let _0x12940b=0x0;_0x373735[_0x134f22([0x6d,0x6f,0x64,0x65,0x6c])][_0x134f22([0x6f,0x6e])](_0x134f22([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x507768,_0x1c8ada)=>{_0x1c8ada[0x0][_0x134f22([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x12940b++,_0x12940b==(0x2c046528^_0x226a92)&&(_0x1a50dd(),_0x507768[_0x134f22([0x6f,0x66,0x66])]());});}))];return window[_0x134f22([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x134f22([0x72,0x61,0x63,0x65])](_0x4cc38a)[_0x134f22([0x74,0x68,0x65,0x6e])](()=>_0x2e3ecc);}async function _0x902828(){await _0x5051e8,_0x373735[_0x134f22([0x6d,0x6f,0x64,0x65,0x6c])][_0x134f22([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4e72ab,_0x373735[_0x134f22([0x6d,0x6f,0x64,0x65,0x6c])][_0x134f22([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4e72ab,_0x373735[_0x134f22([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x134f22([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3cc18f(_0x340268){const _0xcaeae9=_0x1544cf();_0x373735[_0xcaeae9]=_0x134f22([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x340268,_0x340268!=_0x134f22([0x56,0x61,0x6c,0x69,0x64])&&_0x902828();}function _0x1544cf(){const _0x253076=window[_0x134f22([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x134f22([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x134f22([0x6e,0x6f,0x77])]())[_0x134f22([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x134f22([0x2e]),'');let _0x2833d0=_0x134f22([0x73]);for(let _0x324f94=0x0;_0x324f94<_0x253076[_0x134f22([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x324f94+=0x2){let _0x2d3ca2=window[_0x134f22([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x253076[_0x134f22([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x324f94,_0x324f94+0x2));_0x2d3ca2>=_0x35600a[_0x134f22([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2d3ca2-=_0x35600a[_0x134f22([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2833d0+=_0x35600a[_0x2d3ca2];}return _0x2833d0;}function _0x18f6b3(){const _0x28ca13=_0x3f9a87[_0x134f22([0x73,0x70,0x6c,0x69,0x74])](_0x134f22([0x2e]));if(0x3!=_0x28ca13[_0x134f22([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x133510(_0x28ca13[0x1]);function _0x133510(_0x3ae27c){const _0x5844b8=_0x1a9ee4(_0x3ae27c);return _0x5844b8&&_0x13d105()?_0x5844b8:null;function _0x13d105(){const _0x21116a=_0x5844b8[_0x134f22([0x6a,0x74,0x69])],_0x2ad0af=window[_0x134f22([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x21116a[_0x134f22([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x21116a[_0x134f22([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x45b6cd={..._0x5844b8,[_0x134f22([0x6a,0x74,0x69])]:_0x21116a[_0x134f22([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x21116a[_0x134f22([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x45b6cd[_0x134f22([0x76,0x63])],_0x331ff5(_0x45b6cd)==_0x2ad0af;}}}async function _0x277a35(){let _0x4639bc=!0x0;try{const _0x375fc6=_0x3f9a87[_0x134f22([0x73,0x70,0x6c,0x69,0x74])](_0x134f22([0x2e])),[_0xbd274c,_0x478501,_0x1040e5]=_0x375fc6;return _0x4b17c0(_0xbd274c),await _0x369003(_0xbd274c,_0x478501,_0x1040e5),_0x4639bc;}catch(_0x493e04){return!0x1;}function _0x4b17c0(_0x7b67cb){const _0x2e9c11=_0x1a9ee4(_0x7b67cb);_0x2e9c11&&_0x2e9c11[_0x134f22([0x61,0x6c,0x67])]==_0x134f22([0x45,0x53,0x32,0x35,0x36])||(_0x4639bc=!0x1);}async function _0x369003(_0x21fb5d,_0x4512d3,_0x5d28db){const _0x90c767=window[_0x134f22([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x134f22([0x66,0x72,0x6f,0x6d])](_0x3809cb(_0x5d28db),_0x183fdc=>_0x183fdc[_0x134f22([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x40b74f=new window[(_0x134f22([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x134f22([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x21fb5d+_0x134f22([0x2e])+_0x4512d3),_0x4ddcd6=window[_0x134f22([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x134f22([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4ddcd6)return;const _0x4520b5=await _0x4ddcd6[_0x134f22([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x134f22([0x6a,0x77,0x6b]),_0xaed9f3,{[_0x134f22([0x6e,0x61,0x6d,0x65])]:_0x134f22([0x45,0x43,0x44,0x53,0x41]),[_0x134f22([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x134f22([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x134f22([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4ddcd6[_0x134f22([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x134f22([0x6e,0x61,0x6d,0x65])]:_0x134f22([0x45,0x43,0x44,0x53,0x41]),[_0x134f22([0x68,0x61,0x73,0x68])]:{[_0x134f22([0x6e,0x61,0x6d,0x65])]:_0x134f22([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4520b5,_0x90c767,_0x40b74f)||(_0x4639bc=!0x1);}}function _0x1a9ee4(_0x53fbcc){return _0x53fbcc[_0x134f22([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x134f22([0x65,0x79]))?JSON[_0x134f22([0x70,0x61,0x72,0x73,0x65])](_0x3809cb(_0x53fbcc)):null;}function _0x3809cb(_0x3d5b85){return window[_0x134f22([0x61,0x74,0x6f,0x62])](_0x3d5b85[_0x134f22([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x134f22([0x2b]))[_0x134f22([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x134f22([0x2f])));}function _0x331ff5(_0x4a790d){let _0x16493b=0x1505;function _0x486c4d(_0x2528e8){for(let _0x242a81=0x0;_0x242a81<_0x2528e8[_0x134f22([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x242a81++){const _0x17538b=_0x2528e8[_0x134f22([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x242a81);_0x16493b=(_0x16493b<<0x5)+_0x16493b+_0x17538b,_0x16493b&=_0x16493b;}}function _0x463625(_0x320957){Array[_0x134f22([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x320957)?_0x320957[_0x134f22([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x463625):_0x320957&&typeof _0x320957==_0x134f22([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x134f22([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x320957)[_0x134f22([0x73,0x6f,0x72,0x74])]()[_0x134f22([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5911ff,_0x36ca09])=>{_0x486c4d(_0x5911ff),_0x463625(_0x36ca09);}):_0x486c4d(window[_0x134f22([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x320957));}return _0x463625(_0x4a790d),_0x16493b>>>0x0;}function _0x367541(_0x599aa4){return _0x599aa4[_0x134f22([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x134f22([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x134f22([0x30]));}function _0x198e17(_0x19b4e9){return _0x19b4e9[_0x134f22([0x73,0x70,0x6c,0x69,0x74])]('')[_0x134f22([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x134f22([0x6a,0x6f,0x69,0x6e])]('');}function _0x4e72ab(){}function _0x134f22(_0xabc2ca){const _0x5f0f99=_0x2d7b;return _0xabc2ca[_0x5f0f99(0x19a)](_0x49efda=>String[_0x5f0f99(0x177)](_0x49efda))[_0x5f0f99(0x1a8)]('');}_0x3cc18f(await _0x5270ae());}(this);}[_0x584949(0x170)](_0x34437c){const _0xb54cc0=_0x584949;this[_0xb54cc0(0x19d)][_0xb54cc0(0x17f)][_0xb54cc0(0x1a7)][_0xb54cc0(0x1ab)](_0x3ca83a=>{const _0x2666b6=_0xb54cc0;for(const _0xb8567d of this[_0x2666b6(0x19d)][_0x2666b6(0x17f)][_0x2666b6(0x1a7)][_0x2666b6(0x18f)][_0x2666b6(0x16f)])_0x34437c?_0x3ca83a[_0x2666b6(0x174)](_0x352fde,_0xb8567d):_0x3ca83a[_0x2666b6(0x171)](_0x352fde,_0xb8567d);});}[_0x584949(0x194)](){const _0x44b849=_0x584949,{editor:_0x3eadf4}=this;_0x3eadf4[_0x44b849(0x19b)](_0x3b45f9),_0x3eadf4['ui'][_0x44b849(0x17c)][_0x44b849(0x191)](_0x548504(_0x3eadf4[_0x44b849(0x161)],_0x44b849(0x173)));}[_0x584949(0x1a9)](){const _0x38ae98=_0x584949,{editor:_0x2a4064}=this,_0x1ef70f=_0x2a4064[_0x38ae98(0x1a2)][_0x38ae98(0x1a1)](_0x3b45f9)[_0x38ae98(0x19c)];_0x2a4064[_0x38ae98(0x19b)](_0x120f71,_0x1ef70f),_0x2a4064['ui'][_0x38ae98(0x17c)][_0x38ae98(0x191)](_0x548504(_0x2a4064[_0x38ae98(0x161)],_0x38ae98(0x17e)));}[_0x584949(0x166)](){const _0x59e3d4=_0x584949;this[_0x59e3d4(0x19d)][_0x59e3d4(0x1a2)][_0x59e3d4(0x1a1)](_0x3b45f9)[_0x59e3d4(0x1a4)](),this[_0x59e3d4(0x196)](_0x33f4fc[_0x59e3d4(0x17a)][_0x59e3d4(0x18f)],_0x59e3d4(0x17d));}}
|