@ckeditor/ckeditor5-format-painter 46.0.1-alpha.12 → 46.0.1-alpha.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/format-painter.js +1 -1
- package/dist/index.js +2 -2
- package/package.json +7 -7
- package/src/formatpainterui.js +2 -2
package/build/format-painter.js
CHANGED
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
/*!
|
|
3
3
|
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
4
4
|
* For licensing, see LICENSE.md.
|
|
5
|
-
*/(()=>{var t={168:t=>{"use strict";t.exports=function(t){return t[1]}},220:t=>{"use strict";t.exports=function(t,n){return n||(n={}),t?(t=String(t.__esModule?t.default:t),/^['"].*['"]$/.test(t)&&(t=t.slice(1,-1)),n.hash&&(t+=n.hash),/["'() \t\n]|(%20)/.test(t)||n.needQuotes?'"'.concat(t.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):t):t}},237:t=>{"use strict";t.exports=CKEditor5.dll},262:t=>{"use strict";var n={};t.exports=function(t,e){var r=function(t){if(void 0===n[t]){var e=document.querySelector(t);if(window.HTMLIFrameElement&&e instanceof window.HTMLIFrameElement)try{e=e.contentDocument.head}catch(t){e=null}n[t]=e}return n[t]}(t);if(!r)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");r.appendChild(e)}},311:(t,n,e)=>{t.exports=e(237)("./src/ui.js")},355:(t,n,e)=>{t.exports=e(237)("./src/icons.js")},357:t=>{"use strict";t.exports=function(t){var n=document.createElement("style");return t.setAttributes(n,t.attributes),t.insert(n,t.options),n}},415:t=>{"use strict";t.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMCIgaGVpZ2h0PSIyMCIgZmlsbD0ibm9uZSIgdmlld0JveD0iMCAwIDMxIDIwIj48cGF0aCBmaWxsPSIjMDAwIiBkPSJNMTQgM2ExIDEgMCAwIDEgMS0xaDEwYTEgMSAwIDAgMSAxIDF2MmExIDEgMCAwIDEtMSAxSDE1YTEgMSAwIDAgMS0xLTF6Ii8+PHBhdGggZmlsbD0iIzAwMCIgZD0iTTI3IDMuMjVhMS41IDEuNSAwIDAgMSAxLjUgMS41djEuN2EyLjI1IDIuMjUgMCAwIDEtMS45MzIgMi4yMjZsLTQuNDI0LjYzMmEuNzUuNzUgMCAwIDAtLjY0NC43NDNWMTFhMSAxIDAgMCAxIDEgMXY1YTEgMSAwIDAgMS0xIDFIMjBhMSAxIDAgMCAxLTEtMXYtNWExIDEgMCAwIDEgMS0xdi0uOTVhMi4yNSAyLjI1IDAgMCAxIDEuOTMyLTIuMjI2bDQuNDI0LS42MzJBLjc1Ljc1IDAgMCAwIDI3IDYuNDQ5eiIvPjxwYXRoIGZpbGw9IiNmZmYiIGZpbGwtcnVsZT0iZXZlbm9kZCIgZD0iTTI2Ljg1NSAyLjI1SDI3YTIuNSAyLjUgMCAwIDEgMi41IDIuNXYxLjdhMy4yNSAzLjI1IDAgMCAxLTIuNzkgMy4yMTZsLTQuMjEuNjAyYTIgMiAwIDAgMSAxIDEuNzMydjVhMiAyIDAgMCAxLTIgMkgyMGEyIDIgMCAwIDEtMi0ydi01YTIgMiAwIDAgMSAxLTEuNzMydi0uMjE3QTMuMjUgMy4yNSAwIDAgMSAyMS4xMjkgN0gxNWEyIDIgMCAwIDEtMi0yVjNhMiAyIDAgMCAxIDItMmgxMGEyIDIgMCAwIDEgMS44NTUgMS4yNU0yMCAxMC4wNVYxMWExIDEgMCAwIDAtMSAxdjVhMSAxIDAgMCAwIDEgMWgxLjVhMSAxIDAgMCAwIDEtMXYtNWExIDEgMCAwIDAtMS0xdi0uOTVxMC0uMDI0LjAwMi0uMDVhLjc1Ljc1IDAgMCAxIC42NDItLjY5Mmw0LjQyNC0uNjMyQTIuMjUgMi4yNSAwIDAgMCAyOC41IDYuNDV2LTEuN2ExLjQ5NiAxLjQ5NiAwIDAgMC0xLjUtMS41djMuMmEuNzUuNzUgMCAwIDEtLjY0NC43NDJsLTQuNDI0LjYzMkEyLjI1IDIuMjUgMCAwIDAgMjAgMTAuMDVNMTUgMmExIDEgMCAwIDAtMSAxdjJhMSAxIDAgMCAwIDEgMWgxMGExIDEgMCAwIDAgMS0xVjNhMSAxIDAgMCAwLTEtMXoiIGNsaXAtcnVsZT0iZXZlbm9kZCIvPjxwYXRoIGZpbGw9IiMwMDAiIGQ9Ik0yLjUgMi41QS41LjUgMCAwIDEgMyAyaDIuNWEuNS41IDAgMCAxIC4zNTQuMTQ2bC42NDYuNjQ3LjY0Ni0uNjQ3QS41LjUgMCAwIDEgNy41IDJIMTBhLjUuNSAwIDAgMSAwIDFINy43MDdMNyAzLjcwN1YxMGguNWEuNS41IDAgMCAxIDAgMUg3djQuNzkzbC43MDcuNzA3SDEwYS41LjUgMCAwIDEgMCAxSDcuNWEuNS41IDAgMCAxLS4zNTQtLjE0NmwtLjY0Ni0uNjQ3LS42NDYuNjQ3YS41LjUgMCAwIDEtLjM1NC4xNDZIM2EuNS41IDAgMCAxIDAtMWgyLjI5M0w2IDE1Ljc5M1YxMWgtLjVhLjUuNSAwIDAgMSAwLTFINlYzLjcwN0w1LjI5MyAzSDNhLjUuNSAwIDAgMS0uNS0uNSIvPjxwYXRoIGZpbGw9IiNmZmYiIGZpbGwtcnVsZT0iZXZlbm9kZCIgZD0ibTUuNzkzIDMuNS0uNS0uNUgzYS41LjUgMCAwIDEgMC0xaDIuNWEuNS41IDAgMCAxIC4zNTQuMTQ2bC4xNDUuMTQ2LjUwMS41LjY0Ni0uNjQ2QS41LjUgMCAwIDEgNy41IDJIMTBhLjUuNSAwIDAgMSAwIDFINy43MDdMNyAzLjcwN1YxMGguNWEuNS41IDAgMCAxIDAgMUg3djQuNzkzbC43MDcuNzA3SDEwYS41LjUgMCAwIDEgMCAxSDcuNWEuNS41IDAgMCAxLS4zNTQtLjE0NmwtLjY0Ni0uNjQ3LS41LjUtLjE0Ni4xNDdhLjUuNSAwIDAgMS0uMzU0LjE0NkgzYS41LjUgMCAwIDEgMC0xaDIuMjkzTDYgMTUuNzkzVjExaC0uNWEuNS41IDAgMCAxIDAtMUg2VjMuNzA3em0tLjkxNC41TDUgNC4xMjF2NC45NjRhMS41IDEuNSAwIDAgMCAwIDIuODN2My40NjRsLS4xMjEuMTIxSDNhMS41IDEuNSAwIDAgMCAwIDNoMi41YTEuNSAxLjUgMCAwIDAgMS0uMzgyIDEuNSAxLjUgMCAwIDAgMSAuMzgySDEwYTEuNSAxLjUgMCAwIDAgMC0zSDguMTIxTDggMTUuMzc5di0zLjQ2NGExLjUgMS41IDAgMCAwIDAtMi44M1Y0LjEyMUw4LjEyMSA0SDEwYTEuNSAxLjUgMCAwIDAgMC0zSDcuNWExLjUgMS41IDAgMCAwLTEgLjM4MkExLjUgMS41IDAgMCAwIDUuNSAxSDNhMS41IDEuNSAwIDEgMCAwIDN6IiBjbGlwLXJ1bGU9ImV2ZW5vZGQiLz48L3N2Zz4="},433:t=>{"use strict";t.exports=function(t){var n=[];return n.toString=function(){return this.map(function(n){var e="",r=void 0!==n[5];return n[4]&&(e+="@supports (".concat(n[4],") {")),n[2]&&(e+="@media ".concat(n[2]," {")),r&&(e+="@layer".concat(n[5].length>0?" ".concat(n[5]):""," {")),e+=t(n),r&&(e+="}"),n[2]&&(e+="}"),n[4]&&(e+="}"),e}).join("")},n.i=function(t,e,r,i,o){"string"==typeof t&&(t=[[null,t,void 0]]);var s={};if(r)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(s[c]=!0)}for(var u=0;u<t.length;u++){var I=[].concat(t[u]);r&&s[I[0]]||(void 0!==o&&(void 0===I[5]||(I[1]="@layer".concat(I[5].length>0?" ".concat(I[5]):""," {").concat(I[1],"}")),I[5]=o),e&&(I[2]?(I[1]="@media ".concat(I[2]," {").concat(I[1],"}"),I[2]=e):I[2]=e),i&&(I[4]?(I[1]="@supports (".concat(I[4],") {").concat(I[1],"}"),I[4]=i):I[4]="".concat(i)),n.push(I))}},n}},545:t=>{"use strict";var n,e=(n=[],function(t,e){return n[t]=e,n.filter(Boolean).join("\n")});function r(t,n,r,i){var o;if(r)o="";else{o="",i.supports&&(o+="@supports (".concat(i.supports,") {")),i.media&&(o+="@media ".concat(i.media," {"));var s=void 0!==i.layer;s&&(o+="@layer".concat(i.layer.length>0?" ".concat(i.layer):""," {")),o+=i.css,s&&(o+="}"),i.media&&(o+="}"),i.supports&&(o+="}")}if(t.styleSheet)t.styleSheet.cssText=e(n,o);else{var a=document.createTextNode(o),c=t.childNodes;c[n]&&t.removeChild(c[n]),c.length?t.insertBefore(a,c[n]):t.appendChild(a)}}var i={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var n=i.singletonCounter++,e=i.singleton||(i.singleton=t.insertStyleElement(t));return{update:function(t){r(e,n,!1,t)},remove:function(t){r(e,n,!0,t)}}}},584:(t,n,e)=>{t.exports=e(237)("./src/utils.js")},655:(t,n,e)=>{"use strict";e.d(n,{A:()=>f});var r=e(168),i=e.n(r),o=e(433),s=e.n(o),a=e(220),c=e.n(a),u=new URL(e(415),e.b),I=s()(i()),g=c()(u);I.push([t.id,`.ck.ck-editor__editable_inline.ck-format-painter-active,.ck.ck-editor__editable_inline.ck-format-painter-active .ck-widget .ck-editor__nested-editable,.ck.ck-editor__editable_inline.ck-format-painter-active a,.ck.ck-editor__editable_inline.ck-format-painter-active a .ck-widget .ck-editor__nested-editable{cursor:url(${g}) 3 3,text}`,""]);const f=I},667:t=>{"use strict";t.exports=function(t,n){Object.keys(n).forEach(function(e){t.setAttribute(e,n[e])})}},673:t=>{"use strict";var n=[];function e(t){for(var e=-1,r=0;r<n.length;r++)if(n[r].identifier===t){e=r;break}return e}function r(t,r){for(var o={},s=[],a=0;a<t.length;a++){var c=t[a],u=r.base?c[0]+r.base:c[0],I=o[u]||0,g="".concat(u," ").concat(I);o[u]=I+1;var f=e(g),l={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==f)n[f].references++,n[f].updater(l);else{var d=i(l,r);r.byIndex=a,n.splice(a,0,{identifier:g,updater:d,references:1})}s.push(g)}return s}function i(t,n){var e=n.domAPI(n);e.update(t);return function(n){if(n){if(n.css===t.css&&n.media===t.media&&n.sourceMap===t.sourceMap&&n.supports===t.supports&&n.layer===t.layer)return;e.update(t=n)}else e.remove()}}t.exports=function(t,i){var o=r(t=t||[],i=i||{});return function(t){t=t||[];for(var s=0;s<o.length;s++){var a=e(o[s]);n[a].references--}for(var c=r(t,i),u=0;u<o.length;u++){var I=e(o[u]);0===n[I].references&&(n[I].updater(),n.splice(I,1))}o=c}}},782:(t,n,e)=>{t.exports=e(237)("./src/core.js")},783:(t,n,e)=>{t.exports=e(237)("./src/engine.js")}},n={};function e(r){var i=n[r];if(void 0!==i)return i.exports;var o=n[r]={id:r,exports:{}};return t[r](o,o.exports,e),o.exports}e.m=t,e.n=t=>{var n=t&&t.__esModule?()=>t.default:()=>t;return e.d(n,{a:n}),n},e.d=(t,n)=>{for(var r in n)e.o(n,r)&&!e.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:n[r]})},e.o=(t,n)=>Object.prototype.hasOwnProperty.call(t,n),e.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},e.b=document.baseURI||self.location.href;var r={};(()=>{"use strict";e.r(r),e.d(r,{CopyFormatCommand:()=>f,FormatPainter:()=>K,FormatPainterEditing:()=>N,FormatPainterUI:()=>V,PasteFormatCommand:()=>A});var t=e(782);function n(t,e){const r=o();return(n=function(t,n){return r[t-=130]})(t,e)}const i=n;function o(){const t=["2345481hyTojL","ck-format-painter-active","928568UaMHZa","pasteFormat","copyFormat","8yHEtNg","225164hFFoep","5192350cscaeT","12jNKQDY","835012JGPOpG","507795yadKVy","945826EBfMla"];return(o=function(){return t})()}!function(t){const e=n,r=t();for(;;)try{if(525238===-parseInt(e(138))/1+-parseInt(e(141))/2+-parseInt(e(130))/3+-parseInt(e(134))/4+parseInt(e(139))/5+parseInt(e(140))/6*(parseInt(e(131))/7)+parseInt(e(137))/8*(parseInt(e(132))/9))break;r.push(r.shift())}catch(t){r.push(r.shift())}}(o);const s=i(136),a=i(135),c=i(133),u=g;function I(){const t=["108139KJNnpE","fromEntries","72oHeFPG","commands","195258iNeuyI","from","isFormatting","2868QVyJLx","_getFormattingAttributes","get","execute","reset","65abeENA","selection","getAttributeProperties","editor","543100vAZojs","11527720CZWkOB","change:isEnabled","value","212337UmxfmX","change:value","2536LFsIWN","filter","schema","model","refresh","getAttributes","466788jpfRNW","document"];return(I=function(){return t})()}function g(t,n){const e=I();return(g=function(t,n){return e[t-=445]})(t,n)}!function(t){const n=g,e=t();for(;;)try{if(332379===-parseInt(n(463))/1+-parseInt(n(449))/2+parseInt(n(470))/3*(parseInt(n(455))/4)+-parseInt(n(445))/5*(parseInt(n(467))/6)+-parseInt(n(461))/7*(parseInt(n(465))/8)+-parseInt(n(453))/9+parseInt(n(450))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(I);class f extends t.Command{constructor(t){const n=g;super(t),this[n(452)]=void 0,this.on(n(451),(t,e,r)=>{r||this[n(474)]()}),this.on(n(454),()=>t[n(466)][n(472)](a)[n(459)]())}[u(473)](){const t=u;this[t(452)]=this[t(471)]()}[u(474)](){this[u(452)]=void 0}[u(471)](){const t=u,n=this[t(448)][t(458)],e=n[t(462)][t(446)];return Object[t(464)](Array[t(468)](e[t(460)]())[t(456)](([e])=>n[t(457)][t(447)](e)[t(469)]))}}var l=e(584);const d=p;function M(){const t=["getLastPosition","16139904ltJEkv","3012023VtLyUb","getFirstPosition","16610sINHSj","_getFormattingAttributes","_createRangeOnEntireWord","isCollapsed","word","createSelection","createRange","_removeFormatCommand","getItems","schema","getValidRanges","getRanges","2DzeKWv","from","_getFormattingItems","setAttribute","editor","43592pWVkLP","setSelection","createRangeOn","getAttributeProperties","document","model","backward","removeSelectionAttribute","11tJOSRn","execute","removeAttribute","687839jmrwYL","4299282WlvqaY","getAttributes","modifySelection","isFormatting","8mUhtAd","forward","change","1653610duovqy","getSelectedBlocks","isBlock","219UBjlMt","selection","1488oOjgam"];return(M=function(){return t})()}function p(t,n){const e=M();return(p=function(t,n){return e[t-=454]})(t,n)}!function(t){const n=p,e=t();for(;;)try{if(510899===parseInt(n(467))/1*(-parseInt(n(497))/2)+-parseInt(n(478))/3*(-parseInt(n(456))/4)+parseInt(n(485))/5*(-parseInt(n(480))/6)+parseInt(n(483))/7*(-parseInt(n(472))/8)+parseInt(n(468))/9+parseInt(n(475))/10*(-parseInt(n(464))/11)+parseInt(n(482))/12)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(M);class A extends t.Command{constructor(t){const n=p;super(t),this[n(492)]=new m(t)}[d(465)](t={}){const n=d,e=this[n(455)][n(461)],r=e[n(460)][n(479)],i=Array[n(498)](r[n(496)]()),o=r[n(488)]?[this[n(487)](e,r)]:i;e[n(474)](r=>{const s=n;r[s(457)](o),this[s(492)][s(465)]();for(const n in t)for(const i of e[s(494)][s(495)](o,n))r[s(454)](n,t[n],i);r[s(457)](i)})}[d(487)](t,n){const e=d,r=t[e(490)](n);t[e(470)](r,{unit:e(489),direction:e(462)});const i=r[e(484)]();t[e(470)](r,{unit:e(489),direction:e(473)});const o=r[e(481)]();return t[e(491)](i,o)}}class m extends t.Command{[d(465)](){const t=d,n=this[t(455)][t(461)],e=n[t(494)];n[t(474)](r=>{const i=t;for(const t of this[i(499)](n[i(460)][i(479)],e))if(t.is(i(479)))for(const n of this[i(486)](t,e))r[i(463)](n);else{const n=r[i(458)](t);for(const o of this[i(486)](t,e))r[i(466)](o,n)}})}*[d(499)](t,n){const e=d,r=t=>!!(0,l.first)(this[e(486)](t,n));for(const i of t[e(496)]())for(const t of i[e(493)]())!n[e(477)](t)&&r(t)&&(yield t);for(const n of t[e(476)]())r(n)&&(yield n);r(t)&&(yield t)}*[d(486)](t,n){const e=d;for(const[r]of t[e(469)]()){const t=n[e(459)](r);t&&t[e(471)]&&(yield r)}}}const w=D;function h(){const t=["formatPainterLicenseKeyInvalid","formatPainterLicenseKeyValid","formatPainterLicenseKeyEvaluationLimit","147IsKDhG","domainLimit","expired","_licenseKeyCheckInterval","formatPainterLicenseKeyExpired","31396FinHcu","6830109MhjtHQ","formatPainterLicenseKeyTrialLimit","config","editor","5275830RdEEyl","3860790iwEYaN","invalid","init","formatPainterLicenseKeyDomainLimit","isPremiumPlugin","9GYwqbs","licenseKey","pluginName","evaluationLimit","trialLimit","add","625201FbxZvS","1725944uFHQBG","commands","usageLimit","FormatPainterEditing","formatPainterLicenseKeyNotAllowed","destroy","formatPainterLicenseKeyUsageLimit","featureNotAllowed","_showLicenseError","FormatPainter","get","isOfficialPlugin","165368wmwBfL"];return(h=function(){return t})()}function D(t,n){const e=h();return(D=function(t,n){return e[t-=367]})(t,n)}!function(t){const n=D,e=t();for(;;)try{if(683335===parseInt(n(373))/1+parseInt(n(374))/2+parseInt(n(367))/3*(-parseInt(n(395))/4)+parseInt(n(400))/5+-parseInt(n(401))/6+parseInt(n(390))/7*(-parseInt(n(386))/8)+-parseInt(n(396))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(h);class N extends t.Plugin{[w(368)];[w(393)];static get[w(369)](){return w(377)}static get[w(385)](){return!0}static get[w(405)](){return!0}[w(403)](){const t=w,n=this[t(399)];n[t(375)][t(372)](s,new f(n)),n[t(375)][t(372)](a,new A(n)),this[t(368)]=this[t(399)][t(398)][t(384)](t(368));const e=this[t(399)];this[t(393)]=setInterval(()=>{const n=t;let r;for(const t in e){const i=t,o=e[i];if(n(388)==o||n(387)==o||n(394)==o||n(404)==o||n(378)==o||n(389)==o||n(397)==o||n(380)==o){delete e[i],r=o,clearInterval(this[n(393)]),this[n(393)]=void 0;break}}n(387)==r&&e[n(382)](n(402)),n(394)==r&&e[n(382)](n(392)),n(404)==r&&e[n(382)](n(391)),n(378)==r&&e[n(382)](n(381),n(383)),n(389)==r&&e[n(382)](n(370)),n(397)==r&&e[n(382)](n(371)),n(380)==r&&e[n(382)](n(376))},1e3)}[w(379)](){const t=w;super[t(379)](),this[t(393)]&&clearInterval(this[t(393)])}}var y=e(311),S=e(783),j=e(355),C=e(673),x=e.n(C),L=e(545),E=e.n(L),v=e(262),b=e.n(v),T=e(667),k=e.n(T),P=e(357),U=e.n(P),Y=e(655),z={attributes:{"data-cke":!0}};z.setAttributes=k(),z.insert=b().bind(null,"head"),z.domAPI=E(),z.insertStyleElement=U();x()(Y.A,z);Y.A&&Y.A.locals&&Y.A.locals;function F(t,n){const e=t.t;switch(n){case"Paint formatting":return e("Paint formatting");case"Copy text formatting":return e("Copy text formatting");case"Paste text formatting":return e("Paste text formatting");case"Continuous painting":return e("Continuous painting");case"Keeps the painter on after setting the formatting.":return e("Keeps the painter on after setting the formatting.");case"Formatting copied.":return e("Formatting copied.");case"Pasted formatting.":return e("Pasted formatting.");default:return n}}const Z=G;function Q(){const t=["formatPainter","reset","Continuous painting","focus","buttonView","ariaLiveAnnouncer","listenTo","switchbutton","get","bind","componentFactory","addObserver","high","menu","_finishPainting","keystrokes","announce","Formatting copied.","locale","Paint formatting","Keeps the painter on after setting the formatting.","5718419GARcoU","890056gcLNGX","pluginName","Pasted formatting.","isOn","3458765JoVrjL","addKeystrokeInfos","window","init","1789869qtDPDV","destroy","value","_copyFormatting","add","Paste text formatting","join","isPremiumPlugin","roots","menuitemcheckbox","editing","Esc","addClass","Ctrl+Alt+C","6SfekBu","accessibility","_toggleSpecialCursor","isOfficialPlugin","class","map","change","editor","view","document","4WQCkoN","afterInit","ck-format-painter-dropdown","commands","640303dkWNrA","isEnabled","mouseup","Ctrl+Alt+V","set","12389490qDGDtC","href","722122JyVFdH","Copy text formatting","change:isEnabled","execute","removeClass","_pasteFormatting","fromCharCode","change:value","stopListening","FormatPainterUI"];return(Q=function(){return t})()}function G(t,n){const e=Q();return(G=function(t,n){return e[t-=498]})(t,n)}!function(t){const n=G,e=t();for(;;)try{if(457798===parseInt(n(536))/1+parseInt(n(543))/2+parseInt(n(508))/3*(parseInt(n(532))/4)+-parseInt(n(504))/5+-parseInt(n(522))/6*(-parseInt(n(499))/7)+parseInt(n(500))/8+-parseInt(n(541))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(Q);class V extends((0,l.DomEmitterMixin)(t.Plugin)){static get[Z(501)](){return Z(552)}static get[Z(525)](){return!0}static get[Z(515)](){return!0}[Z(507)](){const t=Z,n=this[t(529)];n[t(518)][t(530)][t(564)](S.ClickObserver),n[t(523)][t(505)]({keystrokes:[{label:F(n[t(571)],t(544)),keystroke:t(521)},{label:F(n[t(571)],t(513)),keystroke:t(539)}]}),n.ui[t(563)][t(512)](t(553),e=>{const r=t,i=(0,y.createDropdown)(e,y.SplitButtonView),o=n[r(535)][r(561)](s);i[r(557)][r(540)]({label:F(n[r(571)],r(572)),icon:j.IconPaintRoller,keystroke:r(521),tooltip:!0}),i[r(526)]=r(534),o&&(i[r(562)](r(537)).to(o,r(537)),this[r(559)](o,r(545),(t,n,e)=>{e||this[r(567)]()}),i[r(557)][r(562)](r(503)).to(o,r(510),t=>!!t),this[r(559)](n,r(509),()=>this[r(524)](!1)),this[r(559)](o,r(550),(t,n,e)=>{this[r(524)](!!e)}));const a=new y.UIModel({withText:!0,label:F(n[r(571)],r(555)),tooltip:F(n[r(571)],r(498)),isOn:!1,role:r(517)});(0,y.addListToDropdown)(i,new l.Collection([{type:r(560),model:a}]),{role:r(566)});const c=()=>{const t=r;this[t(511)](),this[t(559)](l.global[t(506)][t(531)],t(538),()=>{const n=t;this[n(548)](),a[n(503)]||this[n(567)]()})};return this[r(559)](i,r(546),()=>{const t=r;a[t(503)]=!a[t(503)]}),this[r(559)](i[r(557)],r(546),()=>{const t=r;n[t(518)][t(530)][t(556)](),i[t(557)][t(503)]?this[t(567)]():c()}),n[r(568)][r(540)](r(521),(t,n)=>{const e=r;c(),a[e(503)]=!0,n()},{priority:r(565)}),n[r(568)][r(540)](r(539),(t,n)=>{const e=r;i[e(557)][e(503)]&&(this[e(548)](),a[e(503)]||this[e(567)](),n())},{priority:r(565)}),n[r(568)][r(540)](r(519),(t,n)=>{const e=r;i[e(557)][e(503)]&&(a[e(503)]=!1,this[e(567)](),n())}),i})}[Z(533)](){!async function(t){const n=M([90,111,68,117,103,74,119,86,73,67,110,52,116,85,65,49,55,108,114,82,121,78,105,72,100,83,69,89,112,104,75,56,115,71,102,97,88,109,120,101,107,51,54,79,48,113,106,66,53,84,50,98,57,76,80,77,118,122,81,70,87,99]),e=window[M([68,97,116,101])][M([110,111,119])](),r=t[M([101,100,105,116,111,114])],i=new(window[M([80,114,111,109,105,115,101])])(t=>{r[M([111,110,99,101])](M([114,101,97,100,121]),t)}),o={[M([107,116,121])]:M([69,67]),[M([117,115,101])]:M([115,105,103]),[M([99,114,118])]:M([80,45,50,53,54]),[M([120])]:M([105,67,106,79,67,118,68,70,73,54,108,81,72,72,84,49,56,106,86,119,82,102,107,102,72,81,50,97,95,77,121,109,84,51,53,76,81,86,111,70,83,65,73]),[M([121])]:M([107,88,73,121,74,52,101,118,116,67,69,70,82,109,120,75,83,85,112,75,57,102,68,87,52,53,57,118,88,79,118,86,114,104,102,54,117,81,65,101,79,105,111]),[M([97,108,103])]:M([69,83,50,53,54])},s=r[M([99,111,110,102,105,103])][M([103,101,116])](M([108,105,99,101,110,115,101,75,101,121]));function a(t){const n=[new(window[M([80,114,111,109,105,115,101])])(t=>setTimeout(t,605900)),i[M([116,104,101,110])](()=>new(window[M([80,114,111,109,105,115,101])])(t=>{let n=0;r[M([109,111,100,101,108])][M([111,110])](M([97,112,112,108,121,79,112,101,114,97,116,105,111,110]),(e,r)=>{r[0][M([105,115,68,111,99,117,109,101,110,116,79,112,101,114,97,116,105,111,110])]&&n++,504==n&&(t(),e[M([111,102,102])]())})}))];return window[M([80,114,111,109,105,115,101])][M([114,97,99,101])](n)[M([116,104,101,110])](()=>t)}function c(t){return t[M([115,116,97,114,116,115,87,105,116,104])](M([101,121]))?JSON[M([112,97,114,115,101])](u(t)):null}function u(t){return window[M([97,116,111,98])](t[M([114,101,112,108,97,99,101])](/-/g,M([43]))[M([114,101,112,108,97,99,101])](/_/g,M([47])))}function I(t){let n=5381;function e(t){for(let e=0;e<t[M([108,101,110,103,116,104])];e++){const r=t[M([99,104,97,114,67,111,100,101,65,116])](e);n=(n<<5)+n+r,n&=n}}return function t(n){Array[M([105,115,65,114,114,97,121])](n)?n[M([102,111,114,69,97,99,104])](t):n&&typeof n==M([111,98,106,101,99,116])?Object[M([101,110,116,114,105,101,115])](n)[M([115,111,114,116])]()[M([102,111,114,69,97,99,104])](([n,r])=>{e(n),t(r)}):e(window[M([83,116,114,105,110,103])](n))}(t),n>>>0}function g(t){return t[M([116,111,83,116,114,105,110,103])](16)[M([112,97,100,83,116,97,114,116])](8,M([48]))}function f(t){return t[M([115,112,108,105,116])]("")[M([114,101,118,101,114,115,101])]()[M([106,111,105,110])]("")}function d(){}function M(t){const n=G;return t[n(527)](t=>String[n(549)](t))[n(514)]("")}!function(t){const e=function(){const t=window[M([83,116,114,105,110,103])](window[M([112,101,114,102,111,114,109,97,110,99,101])][M([110,111,119])]())[M([114,101,112,108,97,99,101])](M([46]),"");let e=M([90]);for(let r=0;r<t[M([108,101,110,103,116,104])];r+=2){let i=window[M([112,97,114,115,101,73,110,116])](t[M([115,117,98,115,116,114,105,110,103])](r,r+2));i>=n[M([108,101,110,103,116,104])]&&(i-=n[M([108,101,110,103,116,104])]),e+=n[i]}return e}();r[e]=M([102,111,114,109,97,116,80,97,105,110,116,101,114,76,105,99,101,110,115,101,75,101,121])+t,t!=M([86,97,108,105,100])&&async function(){await i,r[M([109,111,100,101,108])][M([99,104,97,110,103,101])]=d,r[M([109,111,100,101,108])][M([101,110,113,117,101,117,101,67,104,97,110,103,101])]=d,r[M([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](M([109,111,100,101,108]))}()}(await async function(){let t,n=null,d=null;try{return s==M([71,80,76])?M([78,111,116,65,108,108,111,119,101,100]):(t=function(){const t=s[M([115,112,108,105,116])](M([46]));return 3!=t[M([108,101,110,103,116,104])]?null:n(t[1]);function n(t){const n=c(t);return n&&e()?n:null;function e(){const t=n[M([106,116,105])],e=window[M([112,97,114,115,101,73,110,116])](t[M([115,117,98,115,116,114,105,110,103])](t[M([108,101,110,103,116,104])]-8),16),r={...n,[M([106,116,105])]:t[M([115,117,98,115,116,114,105,110,103])](0,t[M([108,101,110,103,116,104])]-8)};return delete r[M([118,99])],I(r)==e}}}(),t?(t[M([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(d=function(t,n){return new(window[M([80,114,111,109,105,115,101])])(a=>{if(o())return a(M([86,97,108,105,100]));s(),r[M([100,101,99,111,114,97,116,101])](M([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]));let c=!1;const u=(0,l.uid)();function d(t){return!!t&&(typeof t===M([111,98,106,101,99,116])||typeof t===M([102,117,110,99,116,105,111,110]))&&typeof t[M([116,104,101,110])]===M([102,117,110,99,116,105,111,110])&&typeof t[M([99,97,116,99,104])]===M([102,117,110,99,116,105,111,110])}function p(r){c(r)[M([116,104,101,110])](t=>t&&t[M([115,116,97,116,117,115])]==M([111,107])?g(I(u+n))!=t[M([118,101,114,105,102,105,99,97,116,105,111,110])]?M([85,115,97,103,101,76,105,109,105,116]):M([86,97,108,105,100]):M([85,115,97,103,101,76,105,109,105,116]))[M([116,104,101,110])](t=>(o(),t),()=>{const t=s();return null==t?(o(),M([86,97,108,105,100])):M(e-t>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])})[M([116,104,101,110])](a)[M([99,97,116,99,104])](()=>{a(M([85,115,97,103,101,76,105,109,105,116]))});const i=36e5;function o(){const n=M([108,108,99,116,45])+g(I(t)),r=f(g(window[M([77,97,116,104])][M([99,101,105,108])](e/i)));window[M([108,111,99,97,108,83,116,111,114,97,103,101])][M([115,101,116,73,116,101,109])](n,r)}function s(){const n=M([108,108,99,116,45])+g(I(t)),e=window[M([108,111,99,97,108,83,116,111,114,97,103,101])][M([103,101,116,73,116,101,109])](n);return e?window[M([112,97,114,115,101,73,110,116])](f(e),16)*i:null}function c(t){return new(window[M([80,114,111,109,105,115,101])])((n,e)=>{t[M([116,104,101,110])](n,e),window[M([115,101,116,84,105,109,101,111,117,116])](e,12e4)})}}r[M([111,110])](M([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),(n,e)=>{if(e[0]!=t)return a(M([85,115,97,103,101,76,105,109,105,116]));e[1]={...e[1],[M([114,101,113,117,101,115,116,73,100])]:u}},{[M([112,114,105,111,114,105,116,121])]:M([104,105,103,104])}),r[M([111,110])](M([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),t=>{d(t[M([114,101,116,117,114,110])])&&(c=!0,p(t[M([114,101,116,117,114,110])]))},{[M([112,114,105,111,114,105,116,121])]:M([108,111,119])}),i[M([116,104,101,110])](()=>{c||a(M([85,115,97,103,101,76,105,109,105,116]))})});function o(){return r[M([101,100,105,116,105,110,103])][M([118,105,101,119])][M([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==M([97,117,116,111])}function s(){r[M([101,100,105,116,105,110,103])][M([118,105,101,119])][M([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=M([97,117,116,111])}}(t[M([117,115,97,103,101,69,110,100,112,111,105,110,116])],t[M([106,116,105])])),await async function(){let t=!0;try{const r=s[M([115,112,108,105,116])](M([46])),[i,o,a]=r;return n(i),await e(i,o,a),t}catch{return!1}function n(n){const e=c(n);e&&e[M([97,108,103])]==M([69,83,50,53,54])||(t=!1)}async function e(n,e,r){const i=window[M([85,105,110,116,56,65,114,114,97,121])][M([102,114,111,109])](u(r),t=>t[M([99,104,97,114,67,111,100,101,65,116])](0)),s=(new(window[M([84,101,120,116,69,110,99,111,100,101,114])]))[M([101,110,99,111,100,101])](n+M([46])+e),a=window[M([99,114,121,112,116,111])][M([115,117,98,116,108,101])];if(!a)return;const c=await a[M([105,109,112,111,114,116,75,101,121])](M([106,119,107]),o,{[M([110,97,109,101])]:M([69,67,68,83,65]),[M([110,97,109,101,100,67,117,114,118,101])]:M([80,45,50,53,54])},!1,[M([118,101,114,105,102,121])]);await a[M([118,101,114,105,102,121])]({[M([110,97,109,101])]:M([69,67,68,83,65]),[M([104,97,115,104])]:{[M([110,97,109,101])]:M([83,72,65,45,50,53,54])}},c,i,s)||(t=!1)}}()?function(){const n=t[M([102,101,97,116,117,114,101,115])];return!(!n||!n[M([105,110,99,108,117,100,101,115])](M([42]))&&!n[M([105,110,99,108,117,100,101,115])](M([70,80]))&&!n[M([105,110,99,108,117,100,101,115])](M([80,80])))}()?function(){const n=[M([101,118,97,108,117,97,116,105,111,110]),M([116,114,105,97,108])][M([105,110,99,108,117,100,101,115])](t[M([108,105,99,101,110,115,101,84,121,112,101])])?e/1e3:1754697600;return t[M([101,120,112])]<n}()?M([69,120,112,105,114,101,100]):function(){const n=G,e=t[M([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!e||0==e[M([108,101,110,103,116,104])])return!0;const{hostname:r}=new URL(window[M([108,111,99,97,116,105,111,110])][n(542)]);if(e[M([105,110,99,108,117,100,101,115])](r))return!0;const i=r[M([115,112,108,105,116])](M([46]));return e[M([102,105,108,116,101,114])](t=>t[M([105,110,99,108,117,100,101,115])](M([42])))[M([109,97,112])](t=>t[M([115,112,108,105,116])](M([46])))[M([102,105,108,116,101,114])](t=>t[M([108,101,110,103,116,104])]<=i[M([108,101,110,103,116,104])])[M([109,97,112])](t=>Array(i[M([108,101,110,103,116,104])]-t[M([108,101,110,103,116,104])])[M([102,105,108,108])](t[0]===M([42])?M([42]):"")[M([99,111,110,99,97,116])](t))[M([115,111,109,101])](t=>i[M([101,118,101,114,121])]((n,e)=>t[e]===n||t[e]===M([42])))}()?(t[M([108,105,99,101,110,115,101,84,121,112,101])]==M([101,118,97,108,117,97,116,105,111,110])&&(n=a(M([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),t[M([108,105,99,101,110,115,101,84,121,112,101])]==M([116,114,105,97,108])&&(n=a(M([84,114,105,97,108,76,105,109,105,116]))),await(n&&d?new(window[M([80,114,111,109,105,115,101])])((t,e)=>{n[M([116,104,101,110])](t,e),d[M([116,104,101,110])](n=>{n!=M([86,97,108,105,100])&&t(n)},e)}):n||d||M([86,97,108,105,100]))):M([68,111,109,97,105,110,76,105,109,105,116]):M([78,111,116,65,108,108,111,119,101,100]):M([73,110,118,97,108,105,100])):M([73,110,118,97,108,105,100]))}catch{return M([73,110,118,97,108,105,100])}}())}(this)}[Z(524)](t){const n=Z;this[n(529)][n(518)][n(530)][n(528)](e=>{const r=n;for(const n of this[r(529)][r(518)][r(530)][r(531)][r(516)])t?e[r(520)](c,n):e[r(547)](c,n)})}[Z(511)](){const t=Z,{editor:n}=this;n[t(546)](s),n.ui[t(558)][t(569)](F(n[t(571)],t(570)))}[Z(548)](){const t=Z,{editor:n}=this,e=n[t(535)][t(561)](s)[t(510)];n[t(546)](a,e),n.ui[t(558)][t(569)](F(n[t(571)],t(502)))}[Z(567)](){const t=Z;this[t(529)][t(535)][t(561)](s)[t(554)](),this[t(551)](l.global[t(506)][t(531)],t(538))}}var O=_;function _(t,n){var e=W();return(_=function(t,n){return e[t-=234]})(t,n)}function W(){var t=["FormatPainter","isOfficialPlugin","requires","pluginName","22WbkKdG","118483UGcaHY","4754364GjJaAo","10509200UBMSIE","7nJmDRt","143VPdfmV","9XkvGkE","75261vlxCLs","isPremiumPlugin","5703612ZKXIvC","3105544iqJyBB","120KcsXeU","3240260rtimEX"];return(W=function(){return t})()}!function(t){for(var n=_,e=t();;)try{if(833257===parseInt(n(249))/1*(-parseInt(n(248))/2)+-parseInt(n(238))/3*(parseInt(n(242))/4)+-parseInt(n(243))/5+-parseInt(n(240))/6*(parseInt(n(235))/7)+-parseInt(n(241))/8*(-parseInt(n(237))/9)+-parseInt(n(234))/10+-parseInt(n(236))/11*(-parseInt(n(250))/12))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(W);class K extends t.Plugin{static get[O(246)](){return[N,V]}static get[O(247)](){return O(244)}static get[O(245)](){return!0}static get[O(239)](){return!0}}function R(t,n){var e=B();return(R=function(t,n){return e[t-=461]})(t,n)}function B(){var t=["2ObVCBQ","2260ezJFmZ","280596lQGYLK","1034712OdQVws","2508470NLYxCi","4470ASZWqZ","3997848VpCHJJ","9cOuMEZ","586488OiTVtR","522256ijbJre"];return(B=function(){return t})()}!function(t){for(var n=R,e=t();;)try{if(293602===-parseInt(n(466))/1+parseInt(n(464))/2*(-parseInt(n(462))/3)+parseInt(n(467))/4+-parseInt(n(465))/5*(-parseInt(n(469))/6)+-parseInt(n(463))/7+parseInt(n(470))/8+-parseInt(n(461))/9*(parseInt(n(468))/10))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(B)})(),(window.CKEditor5=window.CKEditor5||{}).formatPainter=r})();
|
|
5
|
+
*/(()=>{var t={168:t=>{"use strict";t.exports=function(t){return t[1]}},220:t=>{"use strict";t.exports=function(t,n){return n||(n={}),t?(t=String(t.__esModule?t.default:t),/^['"].*['"]$/.test(t)&&(t=t.slice(1,-1)),n.hash&&(t+=n.hash),/["'() \t\n]|(%20)/.test(t)||n.needQuotes?'"'.concat(t.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):t):t}},237:t=>{"use strict";t.exports=CKEditor5.dll},262:t=>{"use strict";var n={};t.exports=function(t,e){var r=function(t){if(void 0===n[t]){var e=document.querySelector(t);if(window.HTMLIFrameElement&&e instanceof window.HTMLIFrameElement)try{e=e.contentDocument.head}catch(t){e=null}n[t]=e}return n[t]}(t);if(!r)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");r.appendChild(e)}},311:(t,n,e)=>{t.exports=e(237)("./src/ui.js")},355:(t,n,e)=>{t.exports=e(237)("./src/icons.js")},357:t=>{"use strict";t.exports=function(t){var n=document.createElement("style");return t.setAttributes(n,t.attributes),t.insert(n,t.options),n}},415:t=>{"use strict";t.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMCIgaGVpZ2h0PSIyMCIgZmlsbD0ibm9uZSIgdmlld0JveD0iMCAwIDMxIDIwIj48cGF0aCBmaWxsPSIjMDAwIiBkPSJNMTQgM2ExIDEgMCAwIDEgMS0xaDEwYTEgMSAwIDAgMSAxIDF2MmExIDEgMCAwIDEtMSAxSDE1YTEgMSAwIDAgMS0xLTF6Ii8+PHBhdGggZmlsbD0iIzAwMCIgZD0iTTI3IDMuMjVhMS41IDEuNSAwIDAgMSAxLjUgMS41djEuN2EyLjI1IDIuMjUgMCAwIDEtMS45MzIgMi4yMjZsLTQuNDI0LjYzMmEuNzUuNzUgMCAwIDAtLjY0NC43NDNWMTFhMSAxIDAgMCAxIDEgMXY1YTEgMSAwIDAgMS0xIDFIMjBhMSAxIDAgMCAxLTEtMXYtNWExIDEgMCAwIDEgMS0xdi0uOTVhMi4yNSAyLjI1IDAgMCAxIDEuOTMyLTIuMjI2bDQuNDI0LS42MzJBLjc1Ljc1IDAgMCAwIDI3IDYuNDQ5eiIvPjxwYXRoIGZpbGw9IiNmZmYiIGZpbGwtcnVsZT0iZXZlbm9kZCIgZD0iTTI2Ljg1NSAyLjI1SDI3YTIuNSAyLjUgMCAwIDEgMi41IDIuNXYxLjdhMy4yNSAzLjI1IDAgMCAxLTIuNzkgMy4yMTZsLTQuMjEuNjAyYTIgMiAwIDAgMSAxIDEuNzMydjVhMiAyIDAgMCAxLTIgMkgyMGEyIDIgMCAwIDEtMi0ydi01YTIgMiAwIDAgMSAxLTEuNzMydi0uMjE3QTMuMjUgMy4yNSAwIDAgMSAyMS4xMjkgN0gxNWEyIDIgMCAwIDEtMi0yVjNhMiAyIDAgMCAxIDItMmgxMGEyIDIgMCAwIDEgMS44NTUgMS4yNU0yMCAxMC4wNVYxMWExIDEgMCAwIDAtMSAxdjVhMSAxIDAgMCAwIDEgMWgxLjVhMSAxIDAgMCAwIDEtMXYtNWExIDEgMCAwIDAtMS0xdi0uOTVxMC0uMDI0LjAwMi0uMDVhLjc1Ljc1IDAgMCAxIC42NDItLjY5Mmw0LjQyNC0uNjMyQTIuMjUgMi4yNSAwIDAgMCAyOC41IDYuNDV2LTEuN2ExLjQ5NiAxLjQ5NiAwIDAgMC0xLjUtMS41djMuMmEuNzUuNzUgMCAwIDEtLjY0NC43NDJsLTQuNDI0LjYzMkEyLjI1IDIuMjUgMCAwIDAgMjAgMTAuMDVNMTUgMmExIDEgMCAwIDAtMSAxdjJhMSAxIDAgMCAwIDEgMWgxMGExIDEgMCAwIDAgMS0xVjNhMSAxIDAgMCAwLTEtMXoiIGNsaXAtcnVsZT0iZXZlbm9kZCIvPjxwYXRoIGZpbGw9IiMwMDAiIGQ9Ik0yLjUgMi41QS41LjUgMCAwIDEgMyAyaDIuNWEuNS41IDAgMCAxIC4zNTQuMTQ2bC42NDYuNjQ3LjY0Ni0uNjQ3QS41LjUgMCAwIDEgNy41IDJIMTBhLjUuNSAwIDAgMSAwIDFINy43MDdMNyAzLjcwN1YxMGguNWEuNS41IDAgMCAxIDAgMUg3djQuNzkzbC43MDcuNzA3SDEwYS41LjUgMCAwIDEgMCAxSDcuNWEuNS41IDAgMCAxLS4zNTQtLjE0NmwtLjY0Ni0uNjQ3LS42NDYuNjQ3YS41LjUgMCAwIDEtLjM1NC4xNDZIM2EuNS41IDAgMCAxIDAtMWgyLjI5M0w2IDE1Ljc5M1YxMWgtLjVhLjUuNSAwIDAgMSAwLTFINlYzLjcwN0w1LjI5MyAzSDNhLjUuNSAwIDAgMS0uNS0uNSIvPjxwYXRoIGZpbGw9IiNmZmYiIGZpbGwtcnVsZT0iZXZlbm9kZCIgZD0ibTUuNzkzIDMuNS0uNS0uNUgzYS41LjUgMCAwIDEgMC0xaDIuNWEuNS41IDAgMCAxIC4zNTQuMTQ2bC4xNDUuMTQ2LjUwMS41LjY0Ni0uNjQ2QS41LjUgMCAwIDEgNy41IDJIMTBhLjUuNSAwIDAgMSAwIDFINy43MDdMNyAzLjcwN1YxMGguNWEuNS41IDAgMCAxIDAgMUg3djQuNzkzbC43MDcuNzA3SDEwYS41LjUgMCAwIDEgMCAxSDcuNWEuNS41IDAgMCAxLS4zNTQtLjE0NmwtLjY0Ni0uNjQ3LS41LjUtLjE0Ni4xNDdhLjUuNSAwIDAgMS0uMzU0LjE0NkgzYS41LjUgMCAwIDEgMC0xaDIuMjkzTDYgMTUuNzkzVjExaC0uNWEuNS41IDAgMCAxIDAtMUg2VjMuNzA3em0tLjkxNC41TDUgNC4xMjF2NC45NjRhMS41IDEuNSAwIDAgMCAwIDIuODN2My40NjRsLS4xMjEuMTIxSDNhMS41IDEuNSAwIDAgMCAwIDNoMi41YTEuNSAxLjUgMCAwIDAgMS0uMzgyIDEuNSAxLjUgMCAwIDAgMSAuMzgySDEwYTEuNSAxLjUgMCAwIDAgMC0zSDguMTIxTDggMTUuMzc5di0zLjQ2NGExLjUgMS41IDAgMCAwIDAtMi44M1Y0LjEyMUw4LjEyMSA0SDEwYTEuNSAxLjUgMCAwIDAgMC0zSDcuNWExLjUgMS41IDAgMCAwLTEgLjM4MkExLjUgMS41IDAgMCAwIDUuNSAxSDNhMS41IDEuNSAwIDEgMCAwIDN6IiBjbGlwLXJ1bGU9ImV2ZW5vZGQiLz48L3N2Zz4="},433:t=>{"use strict";t.exports=function(t){var n=[];return n.toString=function(){return this.map(function(n){var e="",r=void 0!==n[5];return n[4]&&(e+="@supports (".concat(n[4],") {")),n[2]&&(e+="@media ".concat(n[2]," {")),r&&(e+="@layer".concat(n[5].length>0?" ".concat(n[5]):""," {")),e+=t(n),r&&(e+="}"),n[2]&&(e+="}"),n[4]&&(e+="}"),e}).join("")},n.i=function(t,e,r,i,o){"string"==typeof t&&(t=[[null,t,void 0]]);var s={};if(r)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(s[c]=!0)}for(var u=0;u<t.length;u++){var I=[].concat(t[u]);r&&s[I[0]]||(void 0!==o&&(void 0===I[5]||(I[1]="@layer".concat(I[5].length>0?" ".concat(I[5]):""," {").concat(I[1],"}")),I[5]=o),e&&(I[2]?(I[1]="@media ".concat(I[2]," {").concat(I[1],"}"),I[2]=e):I[2]=e),i&&(I[4]?(I[1]="@supports (".concat(I[4],") {").concat(I[1],"}"),I[4]=i):I[4]="".concat(i)),n.push(I))}},n}},545:t=>{"use strict";var n,e=(n=[],function(t,e){return n[t]=e,n.filter(Boolean).join("\n")});function r(t,n,r,i){var o;if(r)o="";else{o="",i.supports&&(o+="@supports (".concat(i.supports,") {")),i.media&&(o+="@media ".concat(i.media," {"));var s=void 0!==i.layer;s&&(o+="@layer".concat(i.layer.length>0?" ".concat(i.layer):""," {")),o+=i.css,s&&(o+="}"),i.media&&(o+="}"),i.supports&&(o+="}")}if(t.styleSheet)t.styleSheet.cssText=e(n,o);else{var a=document.createTextNode(o),c=t.childNodes;c[n]&&t.removeChild(c[n]),c.length?t.insertBefore(a,c[n]):t.appendChild(a)}}var i={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var n=i.singletonCounter++,e=i.singleton||(i.singleton=t.insertStyleElement(t));return{update:function(t){r(e,n,!1,t)},remove:function(t){r(e,n,!0,t)}}}},584:(t,n,e)=>{t.exports=e(237)("./src/utils.js")},655:(t,n,e)=>{"use strict";e.d(n,{A:()=>f});var r=e(168),i=e.n(r),o=e(433),s=e.n(o),a=e(220),c=e.n(a),u=new URL(e(415),e.b),I=s()(i()),g=c()(u);I.push([t.id,`.ck.ck-editor__editable_inline.ck-format-painter-active,.ck.ck-editor__editable_inline.ck-format-painter-active .ck-widget .ck-editor__nested-editable,.ck.ck-editor__editable_inline.ck-format-painter-active a,.ck.ck-editor__editable_inline.ck-format-painter-active a .ck-widget .ck-editor__nested-editable{cursor:url(${g}) 3 3,text}`,""]);const f=I},667:t=>{"use strict";t.exports=function(t,n){Object.keys(n).forEach(function(e){t.setAttribute(e,n[e])})}},673:t=>{"use strict";var n=[];function e(t){for(var e=-1,r=0;r<n.length;r++)if(n[r].identifier===t){e=r;break}return e}function r(t,r){for(var o={},s=[],a=0;a<t.length;a++){var c=t[a],u=r.base?c[0]+r.base:c[0],I=o[u]||0,g="".concat(u," ").concat(I);o[u]=I+1;var f=e(g),l={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==f)n[f].references++,n[f].updater(l);else{var M=i(l,r);r.byIndex=a,n.splice(a,0,{identifier:g,updater:M,references:1})}s.push(g)}return s}function i(t,n){var e=n.domAPI(n);e.update(t);return function(n){if(n){if(n.css===t.css&&n.media===t.media&&n.sourceMap===t.sourceMap&&n.supports===t.supports&&n.layer===t.layer)return;e.update(t=n)}else e.remove()}}t.exports=function(t,i){var o=r(t=t||[],i=i||{});return function(t){t=t||[];for(var s=0;s<o.length;s++){var a=e(o[s]);n[a].references--}for(var c=r(t,i),u=0;u<o.length;u++){var I=e(o[u]);0===n[I].references&&(n[I].updater(),n.splice(I,1))}o=c}}},782:(t,n,e)=>{t.exports=e(237)("./src/core.js")},783:(t,n,e)=>{t.exports=e(237)("./src/engine.js")}},n={};function e(r){var i=n[r];if(void 0!==i)return i.exports;var o=n[r]={id:r,exports:{}};return t[r](o,o.exports,e),o.exports}e.m=t,e.n=t=>{var n=t&&t.__esModule?()=>t.default:()=>t;return e.d(n,{a:n}),n},e.d=(t,n)=>{for(var r in n)e.o(n,r)&&!e.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:n[r]})},e.o=(t,n)=>Object.prototype.hasOwnProperty.call(t,n),e.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},e.b=document.baseURI||self.location.href;var r={};(()=>{"use strict";e.r(r),e.d(r,{CopyFormatCommand:()=>f,FormatPainter:()=>R,FormatPainterEditing:()=>N,FormatPainterUI:()=>O,PasteFormatCommand:()=>A});var t=e(782);function n(t,e){const r=o();return(n=function(t,n){return r[t-=130]})(t,e)}const i=n;function o(){const t=["2345481hyTojL","ck-format-painter-active","928568UaMHZa","pasteFormat","copyFormat","8yHEtNg","225164hFFoep","5192350cscaeT","12jNKQDY","835012JGPOpG","507795yadKVy","945826EBfMla"];return(o=function(){return t})()}!function(t){const e=n,r=t();for(;;)try{if(525238===-parseInt(e(138))/1+-parseInt(e(141))/2+-parseInt(e(130))/3+-parseInt(e(134))/4+parseInt(e(139))/5+parseInt(e(140))/6*(parseInt(e(131))/7)+parseInt(e(137))/8*(parseInt(e(132))/9))break;r.push(r.shift())}catch(t){r.push(r.shift())}}(o);const s=i(136),a=i(135),c=i(133),u=g;function I(){const t=["108139KJNnpE","fromEntries","72oHeFPG","commands","195258iNeuyI","from","isFormatting","2868QVyJLx","_getFormattingAttributes","get","execute","reset","65abeENA","selection","getAttributeProperties","editor","543100vAZojs","11527720CZWkOB","change:isEnabled","value","212337UmxfmX","change:value","2536LFsIWN","filter","schema","model","refresh","getAttributes","466788jpfRNW","document"];return(I=function(){return t})()}function g(t,n){const e=I();return(g=function(t,n){return e[t-=445]})(t,n)}!function(t){const n=g,e=t();for(;;)try{if(332379===-parseInt(n(463))/1+-parseInt(n(449))/2+parseInt(n(470))/3*(parseInt(n(455))/4)+-parseInt(n(445))/5*(parseInt(n(467))/6)+-parseInt(n(461))/7*(parseInt(n(465))/8)+-parseInt(n(453))/9+parseInt(n(450))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(I);class f extends t.Command{constructor(t){const n=g;super(t),this[n(452)]=void 0,this.on(n(451),(t,e,r)=>{r||this[n(474)]()}),this.on(n(454),()=>t[n(466)][n(472)](a)[n(459)]())}[u(473)](){const t=u;this[t(452)]=this[t(471)]()}[u(474)](){this[u(452)]=void 0}[u(471)](){const t=u,n=this[t(448)][t(458)],e=n[t(462)][t(446)];return Object[t(464)](Array[t(468)](e[t(460)]())[t(456)](([e])=>n[t(457)][t(447)](e)[t(469)]))}}var l=e(584);const M=p;function d(){const t=["getLastPosition","16139904ltJEkv","3012023VtLyUb","getFirstPosition","16610sINHSj","_getFormattingAttributes","_createRangeOnEntireWord","isCollapsed","word","createSelection","createRange","_removeFormatCommand","getItems","schema","getValidRanges","getRanges","2DzeKWv","from","_getFormattingItems","setAttribute","editor","43592pWVkLP","setSelection","createRangeOn","getAttributeProperties","document","model","backward","removeSelectionAttribute","11tJOSRn","execute","removeAttribute","687839jmrwYL","4299282WlvqaY","getAttributes","modifySelection","isFormatting","8mUhtAd","forward","change","1653610duovqy","getSelectedBlocks","isBlock","219UBjlMt","selection","1488oOjgam"];return(d=function(){return t})()}function p(t,n){const e=d();return(p=function(t,n){return e[t-=454]})(t,n)}!function(t){const n=p,e=t();for(;;)try{if(510899===parseInt(n(467))/1*(-parseInt(n(497))/2)+-parseInt(n(478))/3*(-parseInt(n(456))/4)+parseInt(n(485))/5*(-parseInt(n(480))/6)+parseInt(n(483))/7*(-parseInt(n(472))/8)+parseInt(n(468))/9+parseInt(n(475))/10*(-parseInt(n(464))/11)+parseInt(n(482))/12)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(d);class A extends t.Command{constructor(t){const n=p;super(t),this[n(492)]=new m(t)}[M(465)](t={}){const n=M,e=this[n(455)][n(461)],r=e[n(460)][n(479)],i=Array[n(498)](r[n(496)]()),o=r[n(488)]?[this[n(487)](e,r)]:i;e[n(474)](r=>{const s=n;r[s(457)](o),this[s(492)][s(465)]();for(const n in t)for(const i of e[s(494)][s(495)](o,n))r[s(454)](n,t[n],i);r[s(457)](i)})}[M(487)](t,n){const e=M,r=t[e(490)](n);t[e(470)](r,{unit:e(489),direction:e(462)});const i=r[e(484)]();t[e(470)](r,{unit:e(489),direction:e(473)});const o=r[e(481)]();return t[e(491)](i,o)}}class m extends t.Command{[M(465)](){const t=M,n=this[t(455)][t(461)],e=n[t(494)];n[t(474)](r=>{const i=t;for(const t of this[i(499)](n[i(460)][i(479)],e))if(t.is(i(479)))for(const n of this[i(486)](t,e))r[i(463)](n);else{const n=r[i(458)](t);for(const o of this[i(486)](t,e))r[i(466)](o,n)}})}*[M(499)](t,n){const e=M,r=t=>!!(0,l.first)(this[e(486)](t,n));for(const i of t[e(496)]())for(const t of i[e(493)]())!n[e(477)](t)&&r(t)&&(yield t);for(const n of t[e(476)]())r(n)&&(yield n);r(t)&&(yield t)}*[M(486)](t,n){const e=M;for(const[r]of t[e(469)]()){const t=n[e(459)](r);t&&t[e(471)]&&(yield r)}}}const w=D;function h(){const t=["formatPainterLicenseKeyInvalid","formatPainterLicenseKeyValid","formatPainterLicenseKeyEvaluationLimit","147IsKDhG","domainLimit","expired","_licenseKeyCheckInterval","formatPainterLicenseKeyExpired","31396FinHcu","6830109MhjtHQ","formatPainterLicenseKeyTrialLimit","config","editor","5275830RdEEyl","3860790iwEYaN","invalid","init","formatPainterLicenseKeyDomainLimit","isPremiumPlugin","9GYwqbs","licenseKey","pluginName","evaluationLimit","trialLimit","add","625201FbxZvS","1725944uFHQBG","commands","usageLimit","FormatPainterEditing","formatPainterLicenseKeyNotAllowed","destroy","formatPainterLicenseKeyUsageLimit","featureNotAllowed","_showLicenseError","FormatPainter","get","isOfficialPlugin","165368wmwBfL"];return(h=function(){return t})()}function D(t,n){const e=h();return(D=function(t,n){return e[t-=367]})(t,n)}!function(t){const n=D,e=t();for(;;)try{if(683335===parseInt(n(373))/1+parseInt(n(374))/2+parseInt(n(367))/3*(-parseInt(n(395))/4)+parseInt(n(400))/5+-parseInt(n(401))/6+parseInt(n(390))/7*(-parseInt(n(386))/8)+-parseInt(n(396))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(h);class N extends t.Plugin{[w(368)];[w(393)];static get[w(369)](){return w(377)}static get[w(385)](){return!0}static get[w(405)](){return!0}[w(403)](){const t=w,n=this[t(399)];n[t(375)][t(372)](s,new f(n)),n[t(375)][t(372)](a,new A(n)),this[t(368)]=this[t(399)][t(398)][t(384)](t(368));const e=this[t(399)];this[t(393)]=setInterval(()=>{const n=t;let r;for(const t in e){const i=t,o=e[i];if(n(388)==o||n(387)==o||n(394)==o||n(404)==o||n(378)==o||n(389)==o||n(397)==o||n(380)==o){delete e[i],r=o,clearInterval(this[n(393)]),this[n(393)]=void 0;break}}n(387)==r&&e[n(382)](n(402)),n(394)==r&&e[n(382)](n(392)),n(404)==r&&e[n(382)](n(391)),n(378)==r&&e[n(382)](n(381),n(383)),n(389)==r&&e[n(382)](n(370)),n(397)==r&&e[n(382)](n(371)),n(380)==r&&e[n(382)](n(376))},1e3)}[w(379)](){const t=w;super[t(379)](),this[t(393)]&&clearInterval(this[t(393)])}}var y=e(311),j=e(783),S=e(355),x=e(673),C=e.n(x),L=e(545),E=e.n(L),v=e(262),b=e.n(v),T=e(667),P=e.n(T),k=e(357),U=e.n(k),Y=e(655),z={attributes:{"data-cke":!0}};z.setAttributes=P(),z.insert=b().bind(null,"head"),z.domAPI=E(),z.insertStyleElement=U();C()(Y.A,z);Y.A&&Y.A.locals&&Y.A.locals;function F(t,n){const e=t.t;switch(n){case"Paint formatting":return e("Paint formatting");case"Copy text formatting":return e("Copy text formatting");case"Paste text formatting":return e("Paste text formatting");case"Continuous painting":return e("Continuous painting");case"Keeps the painter on after setting the formatting.":return e("Keeps the painter on after setting the formatting.");case"Formatting copied.":return e("Formatting copied.");case"Pasted formatting.":return e("Pasted formatting.");default:return n}}const Z=Q;function Q(t,n){const e=G();return(Q=function(t,n){return e[t-=300]})(t,n)}function G(){const t=["editor","26285MZVOjr","listenTo","6488qreoKO","isEnabled","high","init","switchbutton","Esc","ck-format-painter-dropdown","view","Copy text formatting","document","addObserver","locale","Paste text formatting","componentFactory","window","reset","execute","menu","_pasteFormatting","class","Ctrl+Alt+V","Continuous painting","pluginName","set","editing","accessibility","value","bind","stopListening","12294UGqoqB","change:isEnabled","_copyFormatting","Formatting copied.","removeClass","get","ariaLiveAnnouncer","Ctrl+Alt+C","add","join","href","change","roots","9661790aQPNQe","change:value","Keeps the painter on after setting the formatting.","28qHGHqL","afterInit","formatPainter","menuitemcheckbox","8659035njheNo","834UFwPGV","mouseup","137699JzgrGl","isOn","announce","buttonView","Pasted formatting.","3164165RcRIZE","addKeystrokeInfos","Paint formatting","fromCharCode","_toggleSpecialCursor","keystrokes","map","FormatPainterUI","248061IYjVRh","isOfficialPlugin","addClass","destroy","_finishPainting","isPremiumPlugin","6FfGbRD","commands","focus"];return(G=function(){return t})()}!function(t){const n=Q,e=t();for(;;)try{if(674952===parseInt(n(343))/1*(-parseInt(n(362))/2)+-parseInt(n(356))/3*(-parseInt(n(336))/4)+parseInt(n(348))/5+-parseInt(n(341))/6*(-parseInt(n(366))/7)+parseInt(n(368))/8*(parseInt(n(320))/9)+-parseInt(n(333))/10+-parseInt(n(340))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(G);class O extends((0,l.DomEmitterMixin)(t.Plugin)){static get[Z(313)](){return Z(355)}static get[Z(357)](){return!0}static get[Z(361)](){return!0}[Z(371)](){const t=Z,n=this[t(365)];n[t(315)][t(375)][t(301)](j.ClickObserver),n[t(316)][t(349)]({keystrokes:[{label:F(n[t(302)],t(376)),keystroke:t(327)},{label:F(n[t(302)],t(303)),keystroke:t(311)}]}),n.ui[t(304)][t(328)](t(338),e=>{const r=t,i=(0,y.createDropdown)(e,y.SplitButtonView),o=n[r(363)][r(325)](s);i[r(346)][r(314)]({label:F(n[r(302)],r(350)),icon:S.IconPaintRoller,keystroke:r(327),tooltip:!0}),i[r(310)]=r(374),o&&(i[r(318)](r(369)).to(o,r(369)),this[r(367)](o,r(321),(t,n,e)=>{e||this[r(360)]()}),i[r(346)][r(318)](r(344)).to(o,r(317),t=>!!t),this[r(367)](n,r(359),()=>this[r(352)](!1)),this[r(367)](o,r(334),(t,n,e)=>{this[r(352)](!!e)}));const a=new y.UIModel({withText:!0,label:F(n[r(302)],r(312)),tooltip:F(n[r(302)],r(335)),isOn:!1,role:r(339)});(0,y.addListToDropdown)(i,new l.Collection([{type:r(372),model:a}]),{role:r(308)});const c=()=>{const t=r;this[t(322)](),this[t(367)](l.global[t(305)][t(300)],t(342),()=>{const n=t;this[n(309)](),a[n(344)]||this[n(360)]()})};return this[r(367)](i,r(307),()=>{const t=r;a[t(344)]=!a[t(344)]}),this[r(367)](i[r(346)],r(307),()=>{const t=r;n[t(315)][t(375)][t(364)](),i[t(346)][t(344)]?this[t(360)]():c()}),n[r(353)][r(314)](r(327),(t,n)=>{const e=r;c(),a[e(344)]=!0,n()},{priority:r(370)}),n[r(353)][r(314)](r(311),(t,n)=>{const e=r;i[e(346)][e(344)]&&(this[e(309)](),a[e(344)]||this[e(360)](),n())},{priority:r(370)}),n[r(353)][r(314)](r(373),(t,n)=>{const e=r;i[e(346)][e(344)]&&(a[e(344)]=!1,this[e(360)](),n())}),i})}[Z(337)](){!async function(t){const n=d([67,66,79,120,117,113,110,86,76,78,105,84,69,98,85,89,90,116,71,50,80,121,75,104,54,103,48,111,114,49,106,112,82,100,83,108,101,53,81,122,118,102,72,87,115,57,97,99,119,52,109,65,51,55,56,68,73,70,107,74,77,88]),e=window[d([68,97,116,101])][d([110,111,119])](),r=t[d([101,100,105,116,111,114])],i=new(window[d([80,114,111,109,105,115,101])])(t=>{r[d([111,110,99,101])](d([114,101,97,100,121]),t)}),o={[d([107,116,121])]:d([69,67]),[d([117,115,101])]:d([115,105,103]),[d([99,114,118])]:d([80,45,50,53,54]),[d([120])]:d([105,67,106,79,67,118,68,70,73,54,108,81,72,72,84,49,56,106,86,119,82,102,107,102,72,81,50,97,95,77,121,109,84,51,53,76,81,86,111,70,83,65,73]),[d([121])]:d([107,88,73,121,74,52,101,118,116,67,69,70,82,109,120,75,83,85,112,75,57,102,68,87,52,53,57,118,88,79,118,86,114,104,102,54,117,81,65,101,79,105,111]),[d([97,108,103])]:d([69,83,50,53,54])},s=r[d([99,111,110,102,105,103])][d([103,101,116])](d([108,105,99,101,110,115,101,75,101,121]));function a(t){const n=[new(window[d([80,114,111,109,105,115,101])])(t=>setTimeout(t,605900)),i[d([116,104,101,110])](()=>new(window[d([80,114,111,109,105,115,101])])(t=>{let n=0;r[d([109,111,100,101,108])][d([111,110])](d([97,112,112,108,121,79,112,101,114,97,116,105,111,110]),(e,r)=>{r[0][d([105,115,68,111,99,117,109,101,110,116,79,112,101,114,97,116,105,111,110])]&&n++,504==n&&(t(),e[d([111,102,102])]())})}))];return window[d([80,114,111,109,105,115,101])][d([114,97,99,101])](n)[d([116,104,101,110])](()=>t)}function c(t){return t[d([115,116,97,114,116,115,87,105,116,104])](d([101,121]))?JSON[d([112,97,114,115,101])](u(t)):null}function u(t){return window[d([97,116,111,98])](t[d([114,101,112,108,97,99,101])](/-/g,d([43]))[d([114,101,112,108,97,99,101])](/_/g,d([47])))}function I(t){let n=5381;function e(t){for(let e=0;e<t[d([108,101,110,103,116,104])];e++){const r=t[d([99,104,97,114,67,111,100,101,65,116])](e);n=(n<<5)+n+r,n&=n}}return function t(n){Array[d([105,115,65,114,114,97,121])](n)?n[d([102,111,114,69,97,99,104])](t):n&&typeof n==d([111,98,106,101,99,116])?Object[d([101,110,116,114,105,101,115])](n)[d([115,111,114,116])]()[d([102,111,114,69,97,99,104])](([n,r])=>{e(n),t(r)}):e(window[d([83,116,114,105,110,103])](n))}(t),n>>>0}function g(t){return t[d([116,111,83,116,114,105,110,103])](16)[d([112,97,100,83,116,97,114,116])](8,d([48]))}function f(t){return t[d([115,112,108,105,116])]("")[d([114,101,118,101,114,115,101])]()[d([106,111,105,110])]("")}function M(){}function d(t){const n=Q;return t[n(354)](t=>String[n(351)](t))[n(329)]("")}!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([67]);for(let r=0;r<t[d([108,101,110,103,116,104])];r+=2){let i=window[d([112,97,114,115,101,73,110,116])](t[d([115,117,98,115,116,114,105,110,103])](r,r+2));i>=n[d([108,101,110,103,116,104])]&&(i-=n[d([108,101,110,103,116,104])]),e+=n[i]}return e}();r[e]=d([102,111,114,109,97,116,80,97,105,110,116,101,114,76,105,99,101,110,115,101,75,101,121])+t,t!=d([86,97,108,105,100])&&async function(){await i,r[d([109,111,100,101,108])][d([99,104,97,110,103,101])]=M,r[d([109,111,100,101,108])][d([101,110,113,117,101,117,101,67,104,97,110,103,101])]=M,r[d([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](d([109,111,100,101,108]))}()}(await async function(){let t,n=null,M=null;try{return s==d([71,80,76])?d([78,111,116,65,108,108,111,119,101,100]):(t=function(){const t=s[d([115,112,108,105,116])](d([46]));return 3!=t[d([108,101,110,103,116,104])]?null:n(t[1]);function n(t){const n=c(t);return n&&e()?n:null;function e(){const t=n[d([106,116,105])],e=window[d([112,97,114,115,101,73,110,116])](t[d([115,117,98,115,116,114,105,110,103])](t[d([108,101,110,103,116,104])]-8),16),r={...n,[d([106,116,105])]:t[d([115,117,98,115,116,114,105,110,103])](0,t[d([108,101,110,103,116,104])]-8)};return delete r[d([118,99])],I(r)==e}}}(),t?(t[d([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(M=function(t,n){return new(window[d([80,114,111,109,105,115,101])])(a=>{if(o())return a(d([86,97,108,105,100]));s(),r[d([100,101,99,111,114,97,116,101])](d([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]));let c=!1;const u=(0,l.uid)();function M(t){return!!t&&(typeof t===d([111,98,106,101,99,116])||typeof t===d([102,117,110,99,116,105,111,110]))&&typeof t[d([116,104,101,110])]===d([102,117,110,99,116,105,111,110])&&typeof t[d([99,97,116,99,104])]===d([102,117,110,99,116,105,111,110])}function p(r){c(r)[d([116,104,101,110])](t=>t&&t[d([115,116,97,116,117,115])]==d([111,107])?g(I(u+n))!=t[d([118,101,114,105,102,105,99,97,116,105,111,110])]?d([85,115,97,103,101,76,105,109,105,116]):d([86,97,108,105,100]):d([85,115,97,103,101,76,105,109,105,116]))[d([116,104,101,110])](t=>(o(),t),()=>{const t=s();return null==t?(o(),d([86,97,108,105,100])):d(e-t>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])})[d([116,104,101,110])](a)[d([99,97,116,99,104])](()=>{a(d([85,115,97,103,101,76,105,109,105,116]))});const i=36e5;function o(){const n=d([108,108,99,116,45])+g(I(t)),r=f(g(window[d([77,97,116,104])][d([99,101,105,108])](e/i)));window[d([108,111,99,97,108,83,116,111,114,97,103,101])][d([115,101,116,73,116,101,109])](n,r)}function s(){const n=d([108,108,99,116,45])+g(I(t)),e=window[d([108,111,99,97,108,83,116,111,114,97,103,101])][d([103,101,116,73,116,101,109])](n);return e?window[d([112,97,114,115,101,73,110,116])](f(e),16)*i:null}function c(t){return new(window[d([80,114,111,109,105,115,101])])((n,e)=>{t[d([116,104,101,110])](n,e),window[d([115,101,116,84,105,109,101,111,117,116])](e,12e4)})}}r[d([111,110])](d([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),(n,e)=>{if(e[0]!=t)return a(d([85,115,97,103,101,76,105,109,105,116]));e[1]={...e[1],[d([114,101,113,117,101,115,116,73,100])]:u}},{[d([112,114,105,111,114,105,116,121])]:d([104,105,103,104])}),r[d([111,110])](d([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),t=>{M(t[d([114,101,116,117,114,110])])&&(c=!0,p(t[d([114,101,116,117,114,110])]))},{[d([112,114,105,111,114,105,116,121])]:d([108,111,119])}),i[d([116,104,101,110])](()=>{c||a(d([85,115,97,103,101,76,105,109,105,116]))})});function o(){return r[d([101,100,105,116,105,110,103])][d([118,105,101,119])][d([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==d([97,117,116,111])}function s(){r[d([101,100,105,116,105,110,103])][d([118,105,101,119])][d([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=d([97,117,116,111])}}(t[d([117,115,97,103,101,69,110,100,112,111,105,110,116])],t[d([106,116,105])])),await async function(){let t=!0;try{const r=s[d([115,112,108,105,116])](d([46])),[i,o,a]=r;return n(i),await e(i,o,a),t}catch{return!1}function n(n){const e=c(n);e&&e[d([97,108,103])]==d([69,83,50,53,54])||(t=!1)}async function e(n,e,r){const i=window[d([85,105,110,116,56,65,114,114,97,121])][d([102,114,111,109])](u(r),t=>t[d([99,104,97,114,67,111,100,101,65,116])](0)),s=(new(window[d([84,101,120,116,69,110,99,111,100,101,114])]))[d([101,110,99,111,100,101])](n+d([46])+e),a=window[d([99,114,121,112,116,111])][d([115,117,98,116,108,101])];if(!a)return;const c=await a[d([105,109,112,111,114,116,75,101,121])](d([106,119,107]),o,{[d([110,97,109,101])]:d([69,67,68,83,65]),[d([110,97,109,101,100,67,117,114,118,101])]:d([80,45,50,53,54])},!1,[d([118,101,114,105,102,121])]);await a[d([118,101,114,105,102,121])]({[d([110,97,109,101])]:d([69,67,68,83,65]),[d([104,97,115,104])]:{[d([110,97,109,101])]:d([83,72,65,45,50,53,54])}},c,i,s)||(t=!1)}}()?function(){const n=t[d([102,101,97,116,117,114,101,115])];return!(!n||!n[d([105,110,99,108,117,100,101,115])](d([42]))&&!n[d([105,110,99,108,117,100,101,115])](d([70,80]))&&!n[d([105,110,99,108,117,100,101,115])](d([80,80])))}()?function(){const n=[d([101,118,97,108,117,97,116,105,111,110]),d([116,114,105,97,108])][d([105,110,99,108,117,100,101,115])](t[d([108,105,99,101,110,115,101,84,121,112,101])])?e/1e3:1754870400;return t[d([101,120,112])]<n}()?d([69,120,112,105,114,101,100]):function(){const n=Q,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(330)]);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([102,105,108,116,101,114])](t=>t[d([108,101,110,103,116,104])]<=i[d([108,101,110,103,116,104])])[d([109,97,112])](t=>Array(i[d([108,101,110,103,116,104])]-t[d([108,101,110,103,116,104])])[d([102,105,108,108])](t[0]===d([42])?d([42]):"")[d([99,111,110,99,97,116])](t))[d([115,111,109,101])](t=>i[d([101,118,101,114,121])]((n,e)=>t[e]===n||t[e]===d([42])))}()?(t[d([108,105,99,101,110,115,101,84,121,112,101])]==d([101,118,97,108,117,97,116,105,111,110])&&(n=a(d([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),t[d([108,105,99,101,110,115,101,84,121,112,101])]==d([116,114,105,97,108])&&(n=a(d([84,114,105,97,108,76,105,109,105,116]))),await(n&&M?new(window[d([80,114,111,109,105,115,101])])((t,e)=>{n[d([116,104,101,110])](t,e),M[d([116,104,101,110])](n=>{n!=d([86,97,108,105,100])&&t(n)},e)}):n||M||d([86,97,108,105,100]))):d([68,111,109,97,105,110,76,105,109,105,116]):d([78,111,116,65,108,108,111,119,101,100]):d([73,110,118,97,108,105,100])):d([73,110,118,97,108,105,100]))}catch{return d([73,110,118,97,108,105,100])}}())}(this)}[Z(352)](t){const n=Z;this[n(365)][n(315)][n(375)][n(331)](e=>{const r=n;for(const n of this[r(365)][r(315)][r(375)][r(300)][r(332)])t?e[r(358)](c,n):e[r(324)](c,n)})}[Z(322)](){const t=Z,{editor:n}=this;n[t(307)](s),n.ui[t(326)][t(345)](F(n[t(302)],t(323)))}[Z(309)](){const t=Z,{editor:n}=this,e=n[t(363)][t(325)](s)[t(317)];n[t(307)](a,e),n.ui[t(326)][t(345)](F(n[t(302)],t(347)))}[Z(360)](){const t=Z;this[t(365)][t(363)][t(325)](s)[t(306)](),this[t(319)](l.global[t(305)][t(300)],t(342))}}var V=_;function _(t,n){var e=K();return(_=function(t,n){return e[t-=234]})(t,n)}function K(){var t=["FormatPainter","isOfficialPlugin","requires","pluginName","22WbkKdG","118483UGcaHY","4754364GjJaAo","10509200UBMSIE","7nJmDRt","143VPdfmV","9XkvGkE","75261vlxCLs","isPremiumPlugin","5703612ZKXIvC","3105544iqJyBB","120KcsXeU","3240260rtimEX"];return(K=function(){return t})()}!function(t){for(var n=_,e=t();;)try{if(833257===parseInt(n(249))/1*(-parseInt(n(248))/2)+-parseInt(n(238))/3*(parseInt(n(242))/4)+-parseInt(n(243))/5+-parseInt(n(240))/6*(parseInt(n(235))/7)+-parseInt(n(241))/8*(-parseInt(n(237))/9)+-parseInt(n(234))/10+-parseInt(n(236))/11*(-parseInt(n(250))/12))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(K);class R extends t.Plugin{static get[V(246)](){return[N,O]}static get[V(247)](){return V(244)}static get[V(245)](){return!0}static get[V(239)](){return!0}}function W(t,n){var e=B();return(W=function(t,n){return e[t-=461]})(t,n)}function B(){var t=["2ObVCBQ","2260ezJFmZ","280596lQGYLK","1034712OdQVws","2508470NLYxCi","4470ASZWqZ","3997848VpCHJJ","9cOuMEZ","586488OiTVtR","522256ijbJre"];return(B=function(){return t})()}!function(t){for(var n=W,e=t();;)try{if(293602===-parseInt(n(466))/1+parseInt(n(464))/2*(-parseInt(n(462))/3)+parseInt(n(467))/4+-parseInt(n(465))/5*(-parseInt(n(469))/6)+-parseInt(n(463))/7+parseInt(n(470))/8+-parseInt(n(461))/9*(parseInt(n(468))/10))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(B)})(),(window.CKEditor5=window.CKEditor5||{}).formatPainter=r})();
|
package/dist/index.js
CHANGED
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Command as
|
|
24
|
-
_0x4c3588(_0x3d68ce){static get['pluginName'](){return'FormatPainterUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x4a255d=this['editor'];_0x4a255d['editing']['view']['addObserver'](_0x20367f),_0x4a255d['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':C(_0x4a255d['locale'],'Copy\x20text\x20formatting'),'keystroke':'Ctrl+Alt+C'},{'label':C(_0x4a255d['locale'],'Paste\x20text\x20formatting'),'keystroke':'Ctrl+Alt+V'}]}),_0x4a255d['ui']['componentFactory']['add']('formatPainter',_0x2adfea=>{const _0x2a67bb=_0x195bf2(_0x2adfea,_0x31f75b),_0x39ee24=_0x4a255d['commands']['get'](m);_0x2a67bb['buttonView']['set']({'label':C(_0x4a255d['locale'],'Paint\x20formatting'),'icon':_0x2f217d,'keystroke':'Ctrl+Alt+C','tooltip':!0x0}),_0x2a67bb['class']='ck-format-painter-dropdown',_0x39ee24&&(_0x2a67bb['bind']('isEnabled')['to'](_0x39ee24,'isEnabled'),this['listenTo'](_0x39ee24,'change:isEnabled',(_0x5e7bf4,_0x1c907d,_0x4468a8)=>{_0x4468a8||this['_finishPainting']();}),_0x2a67bb['buttonView']['bind']('isOn')['to'](_0x39ee24,'value',_0x260f9c=>!!_0x260f9c),this['listenTo'](_0x4a255d,'destroy',()=>this['_toggleSpecialCursor'](!0x1)),this['listenTo'](_0x39ee24,'change:value',(_0x550ed5,_0x2af1c9,_0x4bb30e)=>{this['_toggleSpecialCursor'](!!_0x4bb30e);}));const _0x1f5f39=new _0x1efc32({'withText':!0x0,'label':C(_0x4a255d['locale'],'Continuous\x20painting'),'tooltip':C(_0x4a255d['locale'],'Keeps\x20the\x20painter\x20on\x20after\x20setting\x20the\x20formatting.'),'isOn':!0x1,'role':'menuitemcheckbox'});_0x2aca39(_0x2a67bb,new _0x56941e([{'type':'switchbutton','model':_0x1f5f39}]),{'role':'menu'});const _0xe6e169=()=>{this['_copyFormatting'](),this['listenTo'](_0x56e6f1['window']['document'],'mouseup',()=>{this['_pasteFormatting'](),_0x1f5f39['isOn']||this['_finishPainting']();});};return this['listenTo'](_0x2a67bb,'execute',()=>{_0x1f5f39['isOn']=!_0x1f5f39['isOn'];}),this['listenTo'](_0x2a67bb['buttonView'],'execute',()=>{_0x4a255d['editing']['view']['focus'](),_0x2a67bb['buttonView']['isOn']?this['_finishPainting']():_0xe6e169();}),_0x4a255d['keystrokes']['set']('Ctrl+Alt+C',(_0x20f36c,_0x43a40e)=>{_0xe6e169(),_0x1f5f39['isOn']=!0x0,_0x43a40e();},{'priority':'high'}),_0x4a255d['keystrokes']['set']('Ctrl+Alt+V',(_0x163071,_0x1bc60a)=>{_0x2a67bb['buttonView']['isOn']&&(this['_pasteFormatting'](),_0x1f5f39['isOn']||this['_finishPainting'](),_0x1bc60a());},{'priority':'high'}),_0x4a255d['keystrokes']['set']('Esc',(_0x31da5a,_0x22fc1c)=>{_0x2a67bb['buttonView']['isOn']&&(_0x1f5f39['isOn']=!0x1,this['_finishPainting'](),_0x22fc1c());}),_0x2a67bb;});}['afterInit'](){!async function(_0x51ea81){const _0x37492d=_0x772c7([0x5a,0x6f,0x44,0x75,0x67,0x4a,0x77,0x56,0x49,0x43,0x6e,0x34,0x74,0x55,0x41,0x31,0x37,0x6c,0x72,0x52,0x79,0x4e,0x69,0x48,0x64,0x53,0x45,0x59,0x70,0x68,0x4b,0x38,0x73,0x47,0x66,0x61,0x58,0x6d,0x78,0x65,0x6b,0x33,0x36,0x4f,0x30,0x71,0x6a,0x42,0x35,0x54,0x32,0x62,0x39,0x4c,0x50,0x4d,0x76,0x7a,0x51,0x46,0x57,0x63]),_0xa2a512=0x47ff57f8,_0x3d9919=0x47f83800^_0xa2a512,_0x232e55=window[_0x772c7([0x44,0x61,0x74,0x65])][_0x772c7([0x6e,0x6f,0x77])](),_0x2253b9=_0x51ea81[_0x772c7([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x50c0e4=new window[(_0x772c7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x44f021=>{_0x2253b9[_0x772c7([0x6f,0x6e,0x63,0x65])](_0x772c7([0x72,0x65,0x61,0x64,0x79]),_0x44f021);}),_0x4989a3={[_0x772c7([0x6b,0x74,0x79])]:_0x772c7([0x45,0x43]),[_0x772c7([0x75,0x73,0x65])]:_0x772c7([0x73,0x69,0x67]),[_0x772c7([0x63,0x72,0x76])]:_0x772c7([0x50,0x2d,0x32,0x35,0x36]),[_0x772c7([0x78])]:_0x772c7([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]),[_0x772c7([0x79])]:_0x772c7([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]),[_0x772c7([0x61,0x6c,0x67])]:_0x772c7([0x45,0x53,0x32,0x35,0x36])},_0x58068f=_0x2253b9[_0x772c7([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x772c7([0x67,0x65,0x74])](_0x772c7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x524a40(){let _0x495f94,_0x50f8b3=null,_0x2ba6b1=null;try{if(_0x58068f==_0x772c7([0x47,0x50,0x4c]))return _0x772c7([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x495f94=_0xfd7524(),!_0x495f94)return _0x772c7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x495f94[_0x772c7([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2ba6b1=_0x1df275(_0x495f94[_0x772c7([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x495f94[_0x772c7([0x6a,0x74,0x69])])),await _0x27abbc()?_0x4dadbf()?_0x4ef4be()?_0x772c7([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x322715()?(_0x495f94[_0x772c7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x772c7([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x50f8b3=_0x5ec388(_0x772c7([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x495f94[_0x772c7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x772c7([0x74,0x72,0x69,0x61,0x6c])&&(_0x50f8b3=_0x5ec388(_0x772c7([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x1bb50c()):_0x772c7([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x772c7([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x772c7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x772c7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4ef4be(){const _0x4be86d=[_0x772c7([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x772c7([0x74,0x72,0x69,0x61,0x6c])][_0x772c7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x495f94[_0x772c7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x232e55/0x3e8:0xe10*_0x3d9919;return _0x495f94[_0x772c7([0x65,0x78,0x70])]<_0x4be86d;}function _0x4dadbf(){const _0x4a47e7=_0x495f94[_0x772c7([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4a47e7&&(!!_0x4a47e7[_0x772c7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x772c7([0x2a]))||(!!_0x4a47e7[_0x772c7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x772c7([0x46,0x50]))||!!_0x4a47e7[_0x772c7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x772c7([0x50,0x50]))));}function _0x322715(){const _0x43ee4b=_0x495f94[_0x772c7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x43ee4b||0x0==_0x43ee4b[_0x772c7([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x23a572}=new URL(window[_0x772c7([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x43ee4b[_0x772c7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x23a572))return!0x0;const _0x271b4c=_0x23a572[_0x772c7([0x73,0x70,0x6c,0x69,0x74])](_0x772c7([0x2e]));return _0x43ee4b[_0x772c7([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1af574=>_0x1af574[_0x772c7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x772c7([0x2a])))[_0x772c7([0x6d,0x61,0x70])](_0xfc115c=>_0xfc115c[_0x772c7([0x73,0x70,0x6c,0x69,0x74])](_0x772c7([0x2e])))[_0x772c7([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5ecc14=>_0x5ecc14[_0x772c7([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x271b4c[_0x772c7([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x772c7([0x6d,0x61,0x70])](_0x474dfa=>Array(_0x271b4c[_0x772c7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x474dfa[_0x772c7([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x772c7([0x66,0x69,0x6c,0x6c])](_0x474dfa[0x0]===_0x772c7([0x2a])?_0x772c7([0x2a]):'')[_0x772c7([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x474dfa))[_0x772c7([0x73,0x6f,0x6d,0x65])](_0x257ebc=>_0x271b4c[_0x772c7([0x65,0x76,0x65,0x72,0x79])]((_0x1027b7,_0x38c22a)=>_0x257ebc[_0x38c22a]===_0x1027b7||_0x257ebc[_0x38c22a]===_0x772c7([0x2a])));}function _0x1bb50c(){return _0x50f8b3&&_0x2ba6b1?new window[(_0x772c7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5776ec,_0x6f8f8f)=>{_0x50f8b3[_0x772c7([0x74,0x68,0x65,0x6e])](_0x5776ec,_0x6f8f8f),_0x2ba6b1[_0x772c7([0x74,0x68,0x65,0x6e])](_0x82e599=>{_0x82e599!=_0x772c7([0x56,0x61,0x6c,0x69,0x64])&&_0x5776ec(_0x82e599);},_0x6f8f8f);}):_0x50f8b3||_0x2ba6b1||_0x772c7([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1df275(_0x851e79,_0x134223){return new window[(_0x772c7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x170344=>{if(_0x2109c8())return _0x170344(_0x772c7([0x56,0x61,0x6c,0x69,0x64]));_0x50ce15(),_0x2253b9[_0x772c7([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x772c7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4e97b9=!0x1;const _0x38bcec=_0x203fea();function _0x37f73b(_0x6dd2e1){return!!_0x6dd2e1&&(typeof _0x6dd2e1===_0x772c7([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x6dd2e1===_0x772c7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x6dd2e1[_0x772c7([0x74,0x68,0x65,0x6e])]===_0x772c7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x6dd2e1[_0x772c7([0x63,0x61,0x74,0x63,0x68])]===_0x772c7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0xa10638(_0x4efbd6){_0x47ea41(_0x4efbd6)[_0x772c7([0x74,0x68,0x65,0x6e])](_0x361539=>{if(!_0x361539||_0x361539[_0x772c7([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x772c7([0x6f,0x6b]))return _0x772c7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x10b5f0(_0x4bbaee(_0x38bcec+_0x134223))!=_0x361539[_0x772c7([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x772c7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x772c7([0x56,0x61,0x6c,0x69,0x64]);})[_0x772c7([0x74,0x68,0x65,0x6e])](_0x1d156a=>(_0xd3536c(),_0x1d156a),()=>{const _0x229124=_0x4765c5();return null==_0x229124?(_0xd3536c(),_0x772c7([0x56,0x61,0x6c,0x69,0x64])):_0x772c7(_0x232e55-_0x229124>(0x63f3d3f8^_0xa2a512)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x772c7([0x74,0x68,0x65,0x6e])](_0x170344)[_0x772c7([0x63,0x61,0x74,0x63,0x68])](()=>{_0x170344(_0x772c7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x4e7a8b=0x47c9b978^_0xa2a512;function _0xd3536c(){const _0x52481c=_0x772c7([0x6c,0x6c,0x63,0x74,0x2d])+_0x10b5f0(_0x4bbaee(_0x851e79)),_0x577828=_0x52e237(_0x10b5f0(window[_0x772c7([0x4d,0x61,0x74,0x68])][_0x772c7([0x63,0x65,0x69,0x6c])](_0x232e55/_0x4e7a8b)));window[_0x772c7([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x772c7([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x52481c,_0x577828);}function _0x4765c5(){const _0x4215bf=_0x772c7([0x6c,0x6c,0x63,0x74,0x2d])+_0x10b5f0(_0x4bbaee(_0x851e79)),_0x832b2b=window[_0x772c7([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x772c7([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4215bf);return _0x832b2b?window[_0x772c7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x52e237(_0x832b2b),0x10)*_0x4e7a8b:null;}function _0x47ea41(_0x5b41c8){return new window[(_0x772c7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xe73257,_0x401f61)=>{_0x5b41c8[_0x772c7([0x74,0x68,0x65,0x6e])](_0xe73257,_0x401f61),window[_0x772c7([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x401f61,0x47fe8338^_0xa2a512);});}}_0x2253b9[_0x772c7([0x6f,0x6e])](_0x772c7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x373971,_0xf40a86)=>{if(_0xf40a86[0x0]!=_0x851e79)return _0x170344(_0x772c7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0xf40a86[0x1]={..._0xf40a86[0x1],[_0x772c7([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x38bcec};},{[_0x772c7([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x772c7([0x68,0x69,0x67,0x68])}),_0x2253b9[_0x772c7([0x6f,0x6e])](_0x772c7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3c7b8a=>{_0x37f73b(_0x3c7b8a[_0x772c7([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4e97b9=!0x0,_0xa10638(_0x3c7b8a[_0x772c7([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x772c7([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x772c7([0x6c,0x6f,0x77])}),_0x50c0e4[_0x772c7([0x74,0x68,0x65,0x6e])](()=>{_0x4e97b9||_0x170344(_0x772c7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2109c8(){return _0x2253b9[_0x772c7([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x772c7([0x76,0x69,0x65,0x77])][_0x772c7([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x772c7([0x61,0x75,0x74,0x6f]);}function _0x50ce15(){_0x2253b9[_0x772c7([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x772c7([0x76,0x69,0x65,0x77])][_0x772c7([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x772c7([0x61,0x75,0x74,0x6f]);}}function _0x5ec388(_0x5c81b7){const _0xa1e1a2=[new window[(_0x772c7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x535cde=>setTimeout(_0x535cde,0x47f66934^_0xa2a512)),_0x50c0e4[_0x772c7([0x74,0x68,0x65,0x6e])](()=>new window[(_0x772c7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x345c74=>{let _0x41d138=0x0;_0x2253b9[_0x772c7([0x6d,0x6f,0x64,0x65,0x6c])][_0x772c7([0x6f,0x6e])](_0x772c7([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x165951,_0xc62607)=>{_0xc62607[0x0][_0x772c7([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x41d138++,_0x41d138==(0x47ff5600^_0xa2a512)&&(_0x345c74(),_0x165951[_0x772c7([0x6f,0x66,0x66])]());});}))];return window[_0x772c7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x772c7([0x72,0x61,0x63,0x65])](_0xa1e1a2)[_0x772c7([0x74,0x68,0x65,0x6e])](()=>_0x5c81b7);}async function _0x52bcf6(){await _0x50c0e4,_0x2253b9[_0x772c7([0x6d,0x6f,0x64,0x65,0x6c])][_0x772c7([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x30694f,_0x2253b9[_0x772c7([0x6d,0x6f,0x64,0x65,0x6c])][_0x772c7([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x30694f,_0x2253b9[_0x772c7([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x772c7([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x24b6b(_0x1ace7a){const _0x6d345d=_0x2e942a();_0x2253b9[_0x6d345d]=_0x772c7([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x1ace7a,_0x1ace7a!=_0x772c7([0x56,0x61,0x6c,0x69,0x64])&&_0x52bcf6();}function _0x2e942a(){const _0x2fd164=window[_0x772c7([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x772c7([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x772c7([0x6e,0x6f,0x77])]())[_0x772c7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x772c7([0x2e]),'');let _0x4b7d12=_0x772c7([0x5a]);for(let _0x175d63=0x0;_0x175d63<_0x2fd164[_0x772c7([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x175d63+=0x2){let _0x50f4ac=window[_0x772c7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2fd164[_0x772c7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x175d63,_0x175d63+0x2));_0x50f4ac>=_0x37492d[_0x772c7([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x50f4ac-=_0x37492d[_0x772c7([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4b7d12+=_0x37492d[_0x50f4ac];}return _0x4b7d12;}function _0xfd7524(){const _0x5579cf=_0x58068f[_0x772c7([0x73,0x70,0x6c,0x69,0x74])](_0x772c7([0x2e]));if(0x3!=_0x5579cf[_0x772c7([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x28d509(_0x5579cf[0x1]);function _0x28d509(_0x1d5c15){const _0x3252b3=_0x47b4b7(_0x1d5c15);return _0x3252b3&&_0x45535b()?_0x3252b3:null;function _0x45535b(){const _0x48b0bf=_0x3252b3[_0x772c7([0x6a,0x74,0x69])],_0x49c739=window[_0x772c7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x48b0bf[_0x772c7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x48b0bf[_0x772c7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x5277aa={..._0x3252b3,[_0x772c7([0x6a,0x74,0x69])]:_0x48b0bf[_0x772c7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x48b0bf[_0x772c7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x5277aa[_0x772c7([0x76,0x63])],_0x4bbaee(_0x5277aa)==_0x49c739;}}}async function _0x27abbc(){let _0xd0f2e3=!0x0;try{const _0x53a191=_0x58068f[_0x772c7([0x73,0x70,0x6c,0x69,0x74])](_0x772c7([0x2e])),[_0x4adc33,_0x19b61c,_0x3bbb91]=_0x53a191;return _0x1a6660(_0x4adc33),await _0x360a06(_0x4adc33,_0x19b61c,_0x3bbb91),_0xd0f2e3;}catch{return!0x1;}function _0x1a6660(_0x2c2c14){const _0x5970c8=_0x47b4b7(_0x2c2c14);_0x5970c8&&_0x5970c8[_0x772c7([0x61,0x6c,0x67])]==_0x772c7([0x45,0x53,0x32,0x35,0x36])||(_0xd0f2e3=!0x1);}async function _0x360a06(_0x582ad0,_0x698460,_0x11842d){const _0x1467cb=window[_0x772c7([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x772c7([0x66,0x72,0x6f,0x6d])](_0x183c8e(_0x11842d),_0x12cefb=>_0x12cefb[_0x772c7([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3b5348=new window[(_0x772c7([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x772c7([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x582ad0+_0x772c7([0x2e])+_0x698460),_0x2f163c=window[_0x772c7([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x772c7([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2f163c)return;const _0x444bcb=await _0x2f163c[_0x772c7([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x772c7([0x6a,0x77,0x6b]),_0x4989a3,{[_0x772c7([0x6e,0x61,0x6d,0x65])]:_0x772c7([0x45,0x43,0x44,0x53,0x41]),[_0x772c7([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x772c7([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x772c7([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2f163c[_0x772c7([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x772c7([0x6e,0x61,0x6d,0x65])]:_0x772c7([0x45,0x43,0x44,0x53,0x41]),[_0x772c7([0x68,0x61,0x73,0x68])]:{[_0x772c7([0x6e,0x61,0x6d,0x65])]:_0x772c7([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x444bcb,_0x1467cb,_0x3b5348)||(_0xd0f2e3=!0x1);}}function _0x47b4b7(_0x2906af){return _0x2906af[_0x772c7([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x772c7([0x65,0x79]))?JSON[_0x772c7([0x70,0x61,0x72,0x73,0x65])](_0x183c8e(_0x2906af)):null;}function _0x183c8e(_0x2e726e){return window[_0x772c7([0x61,0x74,0x6f,0x62])](_0x2e726e[_0x772c7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x772c7([0x2b]))[_0x772c7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x772c7([0x2f])));}function _0x4bbaee(_0x2a12f7){let _0x48b309=0x1505;function _0x215512(_0x170d37){for(let _0x588368=0x0;_0x588368<_0x170d37[_0x772c7([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x588368++){const _0x22ead0=_0x170d37[_0x772c7([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x588368);_0x48b309=(_0x48b309<<0x5)+_0x48b309+_0x22ead0,_0x48b309&=_0x48b309;}}function _0xa4bc8e(_0x6a6fe7){Array[_0x772c7([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x6a6fe7)?_0x6a6fe7[_0x772c7([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xa4bc8e):_0x6a6fe7&&typeof _0x6a6fe7==_0x772c7([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x772c7([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x6a6fe7)[_0x772c7([0x73,0x6f,0x72,0x74])]()[_0x772c7([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4b6a58,_0x5e291d])=>{_0x215512(_0x4b6a58),_0xa4bc8e(_0x5e291d);}):_0x215512(window[_0x772c7([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x6a6fe7));}return _0xa4bc8e(_0x2a12f7),_0x48b309>>>0x0;}function _0x10b5f0(_0x24bcf6){return _0x24bcf6[_0x772c7([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x772c7([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x772c7([0x30]));}function _0x52e237(_0x45dcd3){return _0x45dcd3[_0x772c7([0x73,0x70,0x6c,0x69,0x74])]('')[_0x772c7([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x772c7([0x6a,0x6f,0x69,0x6e])]('');}function _0x30694f(){}function _0x772c7(_0x3c9b43){return _0x3c9b43['map'](_0x166ae1=>String['fromCharCode'](_0x166ae1))['join']('');}_0x24b6b(await _0x524a40());}(this);}['_toggleSpecialCursor'](_0x39963f){this['editor']['editing']['view']['change'](_0x486c3d=>{for(const _0x75b289 of this['editor']['editing']['view']['document']['roots'])_0x39963f?_0x486c3d['addClass'](k,_0x75b289):_0x486c3d['removeClass'](k,_0x75b289);});}['_copyFormatting'](){const {editor:_0x442a34}=this;_0x442a34['execute'](m),_0x442a34['ui']['ariaLiveAnnouncer']['announce'](C(_0x442a34['locale'],'Formatting\x20copied.'));}['_pasteFormatting'](){const {editor:_0x1088db}=this,_0x25a7b9=_0x1088db['commands']['get'](m)['value'];_0x1088db['execute'](e,_0x25a7b9),_0x1088db['ui']['ariaLiveAnnouncer']['announce'](C(_0x1088db['locale'],'Pasted\x20formatting.'));}['_finishPainting'](){this['editor']['commands']['get'](m)['reset'](),this['stopListening'](_0x56e6f1['window']['document'],'mouseup');}}class P extends _0x3d68ce{static get['requires'](){return[i,a];}static get['pluginName'](){return'FormatPainter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{n as CopyFormatCommand,P as FormatPainter,i as FormatPainterEditing,a as FormatPainterUI,o as PasteFormatCommand};
|
|
23
|
+
import{Command as _0x330dd0,Plugin as _0x2375e9}from'@ckeditor/ckeditor5-core/dist/index.js';import{first as _0x45dce6,DomEmitterMixin as _0x33f0df,Collection as _0xb6e12d,global as _0x3802f2,uid as _0x2c9587}from'@ckeditor/ckeditor5-utils/dist/index.js';import{createDropdown as _0x34ca3b,SplitButtonView as _0x241b1d,UIModel as _0xd4076,addListToDropdown as _0x412d5c}from'@ckeditor/ckeditor5-ui/dist/index.js';import{ClickObserver as _0xae256f}from'@ckeditor/ckeditor5-engine/dist/index.js';import{IconPaintRoller as _0x4488f0}from'@ckeditor/ckeditor5-icons/dist/index.js';const m='copyFormat',e='pasteFormat',k='ck-format-painter-active';class n extends _0x330dd0{constructor(_0x3cc8cf){super(_0x3cc8cf),this['value']=void 0x0,this['on']('change:isEnabled',(_0x574880,_0xa66120,_0x435205)=>{_0x435205||this['reset']();}),this['on']('change:value',()=>_0x3cc8cf['commands']['get'](e)['refresh']());}['execute'](){this['value']=this['_getFormattingAttributes']();}['reset'](){this['value']=void 0x0;}['_getFormattingAttributes'](){const _0x2f1057=this['editor']['model'],_0x2a3cfb=_0x2f1057['document']['selection'];return Object['fromEntries'](Array['from'](_0x2a3cfb['getAttributes']())['filter'](([_0x5ceea7])=>_0x2f1057['schema']['getAttributeProperties'](_0x5ceea7)['isFormatting']));}}class o extends _0x330dd0{constructor(_0x5c21b4){super(_0x5c21b4),this['_removeFormatCommand']=new F(_0x5c21b4);}['execute'](_0x3c90af={}){const _0x5d1e39=this['editor']['model'],_0x4c886e=_0x5d1e39['document']['selection'],_0x350cff=Array['from'](_0x4c886e['getRanges']()),_0x572d75=_0x4c886e['isCollapsed']?[this['_createRangeOnEntireWord'](_0x5d1e39,_0x4c886e)]:_0x350cff;_0x5d1e39['change'](_0x2ed648=>{_0x2ed648['setSelection'](_0x572d75),this['_removeFormatCommand']['execute']();for(const _0x5a9a6b in _0x3c90af)for(const _0x4ccb15 of _0x5d1e39['schema']['getValidRanges'](_0x572d75,_0x5a9a6b))_0x2ed648['setAttribute'](_0x5a9a6b,_0x3c90af[_0x5a9a6b],_0x4ccb15);_0x2ed648['setSelection'](_0x350cff);});}['_createRangeOnEntireWord'](_0x9fa00c,_0x534bf3){const _0x68da8f=_0x9fa00c['createSelection'](_0x534bf3);_0x9fa00c['modifySelection'](_0x68da8f,{'unit':'word','direction':'backward'});const _0x31ef82=_0x68da8f['getFirstPosition']();_0x9fa00c['modifySelection'](_0x68da8f,{'unit':'word','direction':'forward'});const _0x5c73f2=_0x68da8f['getLastPosition']();return _0x9fa00c['createRange'](_0x31ef82,_0x5c73f2);}}class F extends _0x330dd0{['execute'](){const _0x55f677=this['editor']['model'],_0x1e9d5c=_0x55f677['schema'];_0x55f677['change'](_0xa4446f=>{for(const _0x4ccbb3 of this['_getFormattingItems'](_0x55f677['document']['selection'],_0x1e9d5c))if(_0x4ccbb3['is']('selection')){for(const _0x675c04 of this['_getFormattingAttributes'](_0x4ccbb3,_0x1e9d5c))_0xa4446f['removeSelectionAttribute'](_0x675c04);}else{const _0x2a7638=_0xa4446f['createRangeOn'](_0x4ccbb3);for(const _0x57f456 of this['_getFormattingAttributes'](_0x4ccbb3,_0x1e9d5c))_0xa4446f['removeAttribute'](_0x57f456,_0x2a7638);}});}*['_getFormattingItems'](_0x37eb62,_0x2e972c){const _0x5e12cd=_0x6bbb90=>!!_0x45dce6(this['_getFormattingAttributes'](_0x6bbb90,_0x2e972c));for(const _0x257868 of _0x37eb62['getRanges']())for(const _0x203cb9 of _0x257868['getItems']())!_0x2e972c['isBlock'](_0x203cb9)&&_0x5e12cd(_0x203cb9)&&(yield _0x203cb9);for(const _0x4c1232 of _0x37eb62['getSelectedBlocks']())_0x5e12cd(_0x4c1232)&&(yield _0x4c1232);_0x5e12cd(_0x37eb62)&&(yield _0x37eb62);}*['_getFormattingAttributes'](_0x5c9bd0,_0x2d7e8f){for(const [_0x2aa092]of _0x5c9bd0['getAttributes']()){const _0x121e4f=_0x2d7e8f['getAttributeProperties'](_0x2aa092);_0x121e4f&&_0x121e4f['isFormatting']&&(yield _0x2aa092);}}}class i extends _0x2375e9{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FormatPainterEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x374ea1=this['editor'];_0x374ea1['commands']['add'](m,new n(_0x374ea1)),_0x374ea1['commands']['add'](e,new o(_0x374ea1)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x32db8d=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x3e5de6;for(const _0x4d5db5 in _0x32db8d){const _0x122a1f=_0x4d5db5,_0x313b2e=_0x32db8d[_0x122a1f];if('formatPainterLicenseKeyValid'==_0x313b2e||'formatPainterLicenseKeyInvalid'==_0x313b2e||'formatPainterLicenseKeyExpired'==_0x313b2e||'formatPainterLicenseKeyDomainLimit'==_0x313b2e||'formatPainterLicenseKeyNotAllowed'==_0x313b2e||'formatPainterLicenseKeyEvaluationLimit'==_0x313b2e||'formatPainterLicenseKeyTrialLimit'==_0x313b2e||'formatPainterLicenseKeyUsageLimit'==_0x313b2e){delete _0x32db8d[_0x122a1f],_0x3e5de6=_0x313b2e,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'formatPainterLicenseKeyInvalid'==_0x3e5de6&&_0x32db8d['_showLicenseError']('invalid'),'formatPainterLicenseKeyExpired'==_0x3e5de6&&_0x32db8d['_showLicenseError']('expired'),'formatPainterLicenseKeyDomainLimit'==_0x3e5de6&&_0x32db8d['_showLicenseError']('domainLimit'),'formatPainterLicenseKeyNotAllowed'==_0x3e5de6&&_0x32db8d['_showLicenseError']('featureNotAllowed','FormatPainter'),'formatPainterLicenseKeyEvaluationLimit'==_0x3e5de6&&_0x32db8d['_showLicenseError']('evaluationLimit'),'formatPainterLicenseKeyTrialLimit'==_0x3e5de6&&_0x32db8d['_showLicenseError']('trialLimit'),'formatPainterLicenseKeyUsageLimit'==_0x3e5de6&&_0x32db8d['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function C(_0x1b53c2,_0x38fac4){const t=_0x1b53c2['t'];switch(_0x38fac4){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 _0x38fac4;}}class a extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x33f0df(_0x2375e9){static get['pluginName'](){return'FormatPainterUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x29e1a0=this['editor'];_0x29e1a0['editing']['view']['addObserver'](_0xae256f),_0x29e1a0['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':C(_0x29e1a0['locale'],'Copy\x20text\x20formatting'),'keystroke':'Ctrl+Alt+C'},{'label':C(_0x29e1a0['locale'],'Paste\x20text\x20formatting'),'keystroke':'Ctrl+Alt+V'}]}),_0x29e1a0['ui']['componentFactory']['add']('formatPainter',_0x3b61f4=>{const _0x29500b=_0x34ca3b(_0x3b61f4,_0x241b1d),_0x56915a=_0x29e1a0['commands']['get'](m);_0x29500b['buttonView']['set']({'label':C(_0x29e1a0['locale'],'Paint\x20formatting'),'icon':_0x4488f0,'keystroke':'Ctrl+Alt+C','tooltip':!0x0}),_0x29500b['class']='ck-format-painter-dropdown',_0x56915a&&(_0x29500b['bind']('isEnabled')['to'](_0x56915a,'isEnabled'),this['listenTo'](_0x56915a,'change:isEnabled',(_0x124f83,_0x484fb3,_0x513201)=>{_0x513201||this['_finishPainting']();}),_0x29500b['buttonView']['bind']('isOn')['to'](_0x56915a,'value',_0x20a06f=>!!_0x20a06f),this['listenTo'](_0x29e1a0,'destroy',()=>this['_toggleSpecialCursor'](!0x1)),this['listenTo'](_0x56915a,'change:value',(_0x1bcf63,_0xc4ff1a,_0x23fb1c)=>{this['_toggleSpecialCursor'](!!_0x23fb1c);}));const _0x358d8e=new _0xd4076({'withText':!0x0,'label':C(_0x29e1a0['locale'],'Continuous\x20painting'),'tooltip':C(_0x29e1a0['locale'],'Keeps\x20the\x20painter\x20on\x20after\x20setting\x20the\x20formatting.'),'isOn':!0x1,'role':'menuitemcheckbox'});_0x412d5c(_0x29500b,new _0xb6e12d([{'type':'switchbutton','model':_0x358d8e}]),{'role':'menu'});const _0x59e733=()=>{this['_copyFormatting'](),this['listenTo'](_0x3802f2['window']['document'],'mouseup',()=>{this['_pasteFormatting'](),_0x358d8e['isOn']||this['_finishPainting']();});};return this['listenTo'](_0x29500b,'execute',()=>{_0x358d8e['isOn']=!_0x358d8e['isOn'];}),this['listenTo'](_0x29500b['buttonView'],'execute',()=>{_0x29e1a0['editing']['view']['focus'](),_0x29500b['buttonView']['isOn']?this['_finishPainting']():_0x59e733();}),_0x29e1a0['keystrokes']['set']('Ctrl+Alt+C',(_0x380073,_0x4036e6)=>{_0x59e733(),_0x358d8e['isOn']=!0x0,_0x4036e6();},{'priority':'high'}),_0x29e1a0['keystrokes']['set']('Ctrl+Alt+V',(_0x30663d,_0xc351a4)=>{_0x29500b['buttonView']['isOn']&&(this['_pasteFormatting'](),_0x358d8e['isOn']||this['_finishPainting'](),_0xc351a4());},{'priority':'high'}),_0x29e1a0['keystrokes']['set']('Esc',(_0x498805,_0x4b3ec1)=>{_0x29500b['buttonView']['isOn']&&(_0x358d8e['isOn']=!0x1,this['_finishPainting'](),_0x4b3ec1());}),_0x29500b;});}['afterInit'](){!async function(_0x5ed99d){const _0x539fe2=_0x5ec4d3([0x43,0x42,0x4f,0x78,0x75,0x71,0x6e,0x56,0x4c,0x4e,0x69,0x54,0x45,0x62,0x55,0x59,0x5a,0x74,0x47,0x32,0x50,0x79,0x4b,0x68,0x36,0x67,0x30,0x6f,0x72,0x31,0x6a,0x70,0x52,0x64,0x53,0x6c,0x65,0x35,0x51,0x7a,0x76,0x66,0x48,0x57,0x73,0x39,0x61,0x63,0x77,0x34,0x6d,0x41,0x33,0x37,0x38,0x44,0x49,0x46,0x6b,0x4a,0x4d,0x58]),_0xebbff1=0x4565432e,_0x589ef4=0x45623306^_0xebbff1,_0x1fe1b0=window[_0x5ec4d3([0x44,0x61,0x74,0x65])][_0x5ec4d3([0x6e,0x6f,0x77])](),_0x470943=_0x5ed99d[_0x5ec4d3([0x65,0x64,0x69,0x74,0x6f,0x72])],_0xf8fcbe=new window[(_0x5ec4d3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x51863c=>{_0x470943[_0x5ec4d3([0x6f,0x6e,0x63,0x65])](_0x5ec4d3([0x72,0x65,0x61,0x64,0x79]),_0x51863c);}),_0x4bc6d2={[_0x5ec4d3([0x6b,0x74,0x79])]:_0x5ec4d3([0x45,0x43]),[_0x5ec4d3([0x75,0x73,0x65])]:_0x5ec4d3([0x73,0x69,0x67]),[_0x5ec4d3([0x63,0x72,0x76])]:_0x5ec4d3([0x50,0x2d,0x32,0x35,0x36]),[_0x5ec4d3([0x78])]:_0x5ec4d3([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]),[_0x5ec4d3([0x79])]:_0x5ec4d3([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]),[_0x5ec4d3([0x61,0x6c,0x67])]:_0x5ec4d3([0x45,0x53,0x32,0x35,0x36])},_0x17a3c7=_0x470943[_0x5ec4d3([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5ec4d3([0x67,0x65,0x74])](_0x5ec4d3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x40a2e1(){let _0x53ce29,_0x4246e3=null,_0x2a0f2d=null;try{if(_0x17a3c7==_0x5ec4d3([0x47,0x50,0x4c]))return _0x5ec4d3([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x53ce29=_0x45a99d(),!_0x53ce29)return _0x5ec4d3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x53ce29[_0x5ec4d3([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2a0f2d=_0x130d1d(_0x53ce29[_0x5ec4d3([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x53ce29[_0x5ec4d3([0x6a,0x74,0x69])])),await _0x2a28b3()?_0x308e5a()?_0xdf4459()?_0x5ec4d3([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4c7d4e()?(_0x53ce29[_0x5ec4d3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5ec4d3([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4246e3=_0x2699a3(_0x5ec4d3([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x53ce29[_0x5ec4d3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5ec4d3([0x74,0x72,0x69,0x61,0x6c])&&(_0x4246e3=_0x2699a3(_0x5ec4d3([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4406a2()):_0x5ec4d3([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5ec4d3([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5ec4d3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x5ec4d3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0xdf4459(){const _0x3fde9e=[_0x5ec4d3([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5ec4d3([0x74,0x72,0x69,0x61,0x6c])][_0x5ec4d3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x53ce29[_0x5ec4d3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1fe1b0/0x3e8:0xe10*_0x589ef4;return _0x53ce29[_0x5ec4d3([0x65,0x78,0x70])]<_0x3fde9e;}function _0x308e5a(){const _0x18c630=_0x53ce29[_0x5ec4d3([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x18c630&&(!!_0x18c630[_0x5ec4d3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5ec4d3([0x2a]))||(!!_0x18c630[_0x5ec4d3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5ec4d3([0x46,0x50]))||!!_0x18c630[_0x5ec4d3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5ec4d3([0x50,0x50]))));}function _0x4c7d4e(){const _0x527d60=_0x53ce29[_0x5ec4d3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x527d60||0x0==_0x527d60[_0x5ec4d3([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x21b67a}=new URL(window[_0x5ec4d3([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x527d60[_0x5ec4d3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x21b67a))return!0x0;const _0x53bca1=_0x21b67a[_0x5ec4d3([0x73,0x70,0x6c,0x69,0x74])](_0x5ec4d3([0x2e]));return _0x527d60[_0x5ec4d3([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x417485=>_0x417485[_0x5ec4d3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5ec4d3([0x2a])))[_0x5ec4d3([0x6d,0x61,0x70])](_0x24ab7f=>_0x24ab7f[_0x5ec4d3([0x73,0x70,0x6c,0x69,0x74])](_0x5ec4d3([0x2e])))[_0x5ec4d3([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xfd0bb1=>_0xfd0bb1[_0x5ec4d3([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x53bca1[_0x5ec4d3([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5ec4d3([0x6d,0x61,0x70])](_0x332c57=>Array(_0x53bca1[_0x5ec4d3([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x332c57[_0x5ec4d3([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5ec4d3([0x66,0x69,0x6c,0x6c])](_0x332c57[0x0]===_0x5ec4d3([0x2a])?_0x5ec4d3([0x2a]):'')[_0x5ec4d3([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x332c57))[_0x5ec4d3([0x73,0x6f,0x6d,0x65])](_0x5f1d20=>_0x53bca1[_0x5ec4d3([0x65,0x76,0x65,0x72,0x79])]((_0x36e882,_0x1f2079)=>_0x5f1d20[_0x1f2079]===_0x36e882||_0x5f1d20[_0x1f2079]===_0x5ec4d3([0x2a])));}function _0x4406a2(){return _0x4246e3&&_0x2a0f2d?new window[(_0x5ec4d3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3369e6,_0x4dd6a3)=>{_0x4246e3[_0x5ec4d3([0x74,0x68,0x65,0x6e])](_0x3369e6,_0x4dd6a3),_0x2a0f2d[_0x5ec4d3([0x74,0x68,0x65,0x6e])](_0x7dd9c2=>{_0x7dd9c2!=_0x5ec4d3([0x56,0x61,0x6c,0x69,0x64])&&_0x3369e6(_0x7dd9c2);},_0x4dd6a3);}):_0x4246e3||_0x2a0f2d||_0x5ec4d3([0x56,0x61,0x6c,0x69,0x64]);}}function _0x130d1d(_0x24ee21,_0x1f2b86){return new window[(_0x5ec4d3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xacd990=>{if(_0x495513())return _0xacd990(_0x5ec4d3([0x56,0x61,0x6c,0x69,0x64]));_0x1105ca(),_0x470943[_0x5ec4d3([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5ec4d3([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x41ae92=!0x1;const _0x1b94b3=_0x2c9587();function _0x4c63ba(_0x10a187){return!!_0x10a187&&(typeof _0x10a187===_0x5ec4d3([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x10a187===_0x5ec4d3([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x10a187[_0x5ec4d3([0x74,0x68,0x65,0x6e])]===_0x5ec4d3([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x10a187[_0x5ec4d3([0x63,0x61,0x74,0x63,0x68])]===_0x5ec4d3([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x590d76(_0x2bd1dc){_0xc88173(_0x2bd1dc)[_0x5ec4d3([0x74,0x68,0x65,0x6e])](_0xba7793=>{if(!_0xba7793||_0xba7793[_0x5ec4d3([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5ec4d3([0x6f,0x6b]))return _0x5ec4d3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x20110c(_0x2c48d3(_0x1b94b3+_0x1f2b86))!=_0xba7793[_0x5ec4d3([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5ec4d3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5ec4d3([0x56,0x61,0x6c,0x69,0x64]);})[_0x5ec4d3([0x74,0x68,0x65,0x6e])](_0x1a3bba=>(_0x46e398(),_0x1a3bba),()=>{const _0x3baa64=_0x51bca8();return null==_0x3baa64?(_0x46e398(),_0x5ec4d3([0x56,0x61,0x6c,0x69,0x64])):_0x5ec4d3(_0x1fe1b0-_0x3baa64>(0x6169c72e^_0xebbff1)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5ec4d3([0x74,0x68,0x65,0x6e])](_0xacd990)[_0x5ec4d3([0x63,0x61,0x74,0x63,0x68])](()=>{_0xacd990(_0x5ec4d3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1ee56c=0x4553adae^_0xebbff1;function _0x46e398(){const _0x38b5be=_0x5ec4d3([0x6c,0x6c,0x63,0x74,0x2d])+_0x20110c(_0x2c48d3(_0x24ee21)),_0xd8bcf8=_0x6361fc(_0x20110c(window[_0x5ec4d3([0x4d,0x61,0x74,0x68])][_0x5ec4d3([0x63,0x65,0x69,0x6c])](_0x1fe1b0/_0x1ee56c)));window[_0x5ec4d3([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5ec4d3([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x38b5be,_0xd8bcf8);}function _0x51bca8(){const _0x444aaf=_0x5ec4d3([0x6c,0x6c,0x63,0x74,0x2d])+_0x20110c(_0x2c48d3(_0x24ee21)),_0x186504=window[_0x5ec4d3([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5ec4d3([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x444aaf);return _0x186504?window[_0x5ec4d3([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x6361fc(_0x186504),0x10)*_0x1ee56c:null;}function _0xc88173(_0x11ec06){return new window[(_0x5ec4d3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x11bb33,_0x2ef33a)=>{_0x11ec06[_0x5ec4d3([0x74,0x68,0x65,0x6e])](_0x11bb33,_0x2ef33a),window[_0x5ec4d3([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2ef33a,0x456497ee^_0xebbff1);});}}_0x470943[_0x5ec4d3([0x6f,0x6e])](_0x5ec4d3([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1ea0a0,_0x2e49cd)=>{if(_0x2e49cd[0x0]!=_0x24ee21)return _0xacd990(_0x5ec4d3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2e49cd[0x1]={..._0x2e49cd[0x1],[_0x5ec4d3([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1b94b3};},{[_0x5ec4d3([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5ec4d3([0x68,0x69,0x67,0x68])}),_0x470943[_0x5ec4d3([0x6f,0x6e])](_0x5ec4d3([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x40f9c8=>{_0x4c63ba(_0x40f9c8[_0x5ec4d3([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x41ae92=!0x0,_0x590d76(_0x40f9c8[_0x5ec4d3([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5ec4d3([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5ec4d3([0x6c,0x6f,0x77])}),_0xf8fcbe[_0x5ec4d3([0x74,0x68,0x65,0x6e])](()=>{_0x41ae92||_0xacd990(_0x5ec4d3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x495513(){return _0x470943[_0x5ec4d3([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5ec4d3([0x76,0x69,0x65,0x77])][_0x5ec4d3([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5ec4d3([0x61,0x75,0x74,0x6f]);}function _0x1105ca(){_0x470943[_0x5ec4d3([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5ec4d3([0x76,0x69,0x65,0x77])][_0x5ec4d3([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5ec4d3([0x61,0x75,0x74,0x6f]);}}function _0x2699a3(_0x5f4030){const _0x3a1705=[new window[(_0x5ec4d3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x250311=>setTimeout(_0x250311,0x456c7de2^_0xebbff1)),_0xf8fcbe[_0x5ec4d3([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5ec4d3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3df87b=>{let _0x4d8cb0=0x0;_0x470943[_0x5ec4d3([0x6d,0x6f,0x64,0x65,0x6c])][_0x5ec4d3([0x6f,0x6e])](_0x5ec4d3([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x6f6e6c,_0x4ff6e0)=>{_0x4ff6e0[0x0][_0x5ec4d3([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4d8cb0++,_0x4d8cb0==(0x456542d6^_0xebbff1)&&(_0x3df87b(),_0x6f6e6c[_0x5ec4d3([0x6f,0x66,0x66])]());});}))];return window[_0x5ec4d3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5ec4d3([0x72,0x61,0x63,0x65])](_0x3a1705)[_0x5ec4d3([0x74,0x68,0x65,0x6e])](()=>_0x5f4030);}async function _0x56cfbe(){await _0xf8fcbe,_0x470943[_0x5ec4d3([0x6d,0x6f,0x64,0x65,0x6c])][_0x5ec4d3([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x26a836,_0x470943[_0x5ec4d3([0x6d,0x6f,0x64,0x65,0x6c])][_0x5ec4d3([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x26a836,_0x470943[_0x5ec4d3([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5ec4d3([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4d21de(_0x2717a9){const _0x3d2121=_0x5ae579();_0x470943[_0x3d2121]=_0x5ec4d3([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x2717a9,_0x2717a9!=_0x5ec4d3([0x56,0x61,0x6c,0x69,0x64])&&_0x56cfbe();}function _0x5ae579(){const _0xd27c61=window[_0x5ec4d3([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5ec4d3([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5ec4d3([0x6e,0x6f,0x77])]())[_0x5ec4d3([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5ec4d3([0x2e]),'');let _0x1fe3f9=_0x5ec4d3([0x43]);for(let _0x11b2cd=0x0;_0x11b2cd<_0xd27c61[_0x5ec4d3([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x11b2cd+=0x2){let _0x34ac7e=window[_0x5ec4d3([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xd27c61[_0x5ec4d3([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x11b2cd,_0x11b2cd+0x2));_0x34ac7e>=_0x539fe2[_0x5ec4d3([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x34ac7e-=_0x539fe2[_0x5ec4d3([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1fe3f9+=_0x539fe2[_0x34ac7e];}return _0x1fe3f9;}function _0x45a99d(){const _0x512111=_0x17a3c7[_0x5ec4d3([0x73,0x70,0x6c,0x69,0x74])](_0x5ec4d3([0x2e]));if(0x3!=_0x512111[_0x5ec4d3([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x26562e(_0x512111[0x1]);function _0x26562e(_0x5582a2){const _0x5f4c84=_0x495dd8(_0x5582a2);return _0x5f4c84&&_0x15931c()?_0x5f4c84:null;function _0x15931c(){const _0xb17fc6=_0x5f4c84[_0x5ec4d3([0x6a,0x74,0x69])],_0x36b477=window[_0x5ec4d3([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xb17fc6[_0x5ec4d3([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xb17fc6[_0x5ec4d3([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x5df263={..._0x5f4c84,[_0x5ec4d3([0x6a,0x74,0x69])]:_0xb17fc6[_0x5ec4d3([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0xb17fc6[_0x5ec4d3([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x5df263[_0x5ec4d3([0x76,0x63])],_0x2c48d3(_0x5df263)==_0x36b477;}}}async function _0x2a28b3(){let _0x1d1b73=!0x0;try{const _0x392d04=_0x17a3c7[_0x5ec4d3([0x73,0x70,0x6c,0x69,0x74])](_0x5ec4d3([0x2e])),[_0x583dd8,_0x116750,_0x207bfa]=_0x392d04;return _0xd80312(_0x583dd8),await _0x96c148(_0x583dd8,_0x116750,_0x207bfa),_0x1d1b73;}catch{return!0x1;}function _0xd80312(_0x20bcbf){const _0x102e70=_0x495dd8(_0x20bcbf);_0x102e70&&_0x102e70[_0x5ec4d3([0x61,0x6c,0x67])]==_0x5ec4d3([0x45,0x53,0x32,0x35,0x36])||(_0x1d1b73=!0x1);}async function _0x96c148(_0x2eddb8,_0x1ef9ce,_0x51e36c){const _0xeee677=window[_0x5ec4d3([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5ec4d3([0x66,0x72,0x6f,0x6d])](_0xb20269(_0x51e36c),_0x123a51=>_0x123a51[_0x5ec4d3([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2d2369=new window[(_0x5ec4d3([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5ec4d3([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2eddb8+_0x5ec4d3([0x2e])+_0x1ef9ce),_0x12a68f=window[_0x5ec4d3([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5ec4d3([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x12a68f)return;const _0x588eca=await _0x12a68f[_0x5ec4d3([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5ec4d3([0x6a,0x77,0x6b]),_0x4bc6d2,{[_0x5ec4d3([0x6e,0x61,0x6d,0x65])]:_0x5ec4d3([0x45,0x43,0x44,0x53,0x41]),[_0x5ec4d3([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5ec4d3([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5ec4d3([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x12a68f[_0x5ec4d3([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5ec4d3([0x6e,0x61,0x6d,0x65])]:_0x5ec4d3([0x45,0x43,0x44,0x53,0x41]),[_0x5ec4d3([0x68,0x61,0x73,0x68])]:{[_0x5ec4d3([0x6e,0x61,0x6d,0x65])]:_0x5ec4d3([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x588eca,_0xeee677,_0x2d2369)||(_0x1d1b73=!0x1);}}function _0x495dd8(_0x2a412e){return _0x2a412e[_0x5ec4d3([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5ec4d3([0x65,0x79]))?JSON[_0x5ec4d3([0x70,0x61,0x72,0x73,0x65])](_0xb20269(_0x2a412e)):null;}function _0xb20269(_0x15f5b9){return window[_0x5ec4d3([0x61,0x74,0x6f,0x62])](_0x15f5b9[_0x5ec4d3([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5ec4d3([0x2b]))[_0x5ec4d3([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5ec4d3([0x2f])));}function _0x2c48d3(_0x20ef54){let _0x5d60c4=0x1505;function _0x30893f(_0x4bf06a){for(let _0x44d9fd=0x0;_0x44d9fd<_0x4bf06a[_0x5ec4d3([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x44d9fd++){const _0x10d6b4=_0x4bf06a[_0x5ec4d3([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x44d9fd);_0x5d60c4=(_0x5d60c4<<0x5)+_0x5d60c4+_0x10d6b4,_0x5d60c4&=_0x5d60c4;}}function _0xf49159(_0xa870fa){Array[_0x5ec4d3([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0xa870fa)?_0xa870fa[_0x5ec4d3([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xf49159):_0xa870fa&&typeof _0xa870fa==_0x5ec4d3([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5ec4d3([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0xa870fa)[_0x5ec4d3([0x73,0x6f,0x72,0x74])]()[_0x5ec4d3([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x29009d,_0x55e476])=>{_0x30893f(_0x29009d),_0xf49159(_0x55e476);}):_0x30893f(window[_0x5ec4d3([0x53,0x74,0x72,0x69,0x6e,0x67])](_0xa870fa));}return _0xf49159(_0x20ef54),_0x5d60c4>>>0x0;}function _0x20110c(_0x2a3112){return _0x2a3112[_0x5ec4d3([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5ec4d3([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5ec4d3([0x30]));}function _0x6361fc(_0x3a54a0){return _0x3a54a0[_0x5ec4d3([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5ec4d3([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5ec4d3([0x6a,0x6f,0x69,0x6e])]('');}function _0x26a836(){}function _0x5ec4d3(_0x341e0c){return _0x341e0c['map'](_0x3798e1=>String['fromCharCode'](_0x3798e1))['join']('');}_0x4d21de(await _0x40a2e1());}(this);}['_toggleSpecialCursor'](_0x4350fe){this['editor']['editing']['view']['change'](_0x456845=>{for(const _0x39acd0 of this['editor']['editing']['view']['document']['roots'])_0x4350fe?_0x456845['addClass'](k,_0x39acd0):_0x456845['removeClass'](k,_0x39acd0);});}['_copyFormatting'](){const {editor:_0x58a234}=this;_0x58a234['execute'](m),_0x58a234['ui']['ariaLiveAnnouncer']['announce'](C(_0x58a234['locale'],'Formatting\x20copied.'));}['_pasteFormatting'](){const {editor:_0x5259ab}=this,_0x1d8f3b=_0x5259ab['commands']['get'](m)['value'];_0x5259ab['execute'](e,_0x1d8f3b),_0x5259ab['ui']['ariaLiveAnnouncer']['announce'](C(_0x5259ab['locale'],'Pasted\x20formatting.'));}['_finishPainting'](){this['editor']['commands']['get'](m)['reset'](),this['stopListening'](_0x3802f2['window']['document'],'mouseup');}}class P extends _0x2375e9{static get['requires'](){return[i,a];}static get['pluginName'](){return'FormatPainter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{n as CopyFormatCommand,P as FormatPainter,i as FormatPainterEditing,a as FormatPainterUI,o as PasteFormatCommand};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-format-painter",
|
|
3
|
-
"version": "46.0.1-alpha.
|
|
3
|
+
"version": "46.0.1-alpha.14",
|
|
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": "46.0.1-alpha.
|
|
16
|
-
"@ckeditor/ckeditor5-engine": "46.0.1-alpha.
|
|
17
|
-
"@ckeditor/ckeditor5-icons": "46.0.1-alpha.
|
|
18
|
-
"@ckeditor/ckeditor5-ui": "46.0.1-alpha.
|
|
19
|
-
"@ckeditor/ckeditor5-utils": "46.0.1-alpha.
|
|
20
|
-
"ckeditor5": "46.0.1-alpha.
|
|
15
|
+
"@ckeditor/ckeditor5-core": "46.0.1-alpha.14",
|
|
16
|
+
"@ckeditor/ckeditor5-engine": "46.0.1-alpha.14",
|
|
17
|
+
"@ckeditor/ckeditor5-icons": "46.0.1-alpha.14",
|
|
18
|
+
"@ckeditor/ckeditor5-ui": "46.0.1-alpha.14",
|
|
19
|
+
"@ckeditor/ckeditor5-utils": "46.0.1-alpha.14",
|
|
20
|
+
"ckeditor5": "46.0.1-alpha.14"
|
|
21
21
|
},
|
|
22
22
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
23
23
|
"author": "CKSource (http://cksource.com/)",
|
package/src/formatpainterui.js
CHANGED
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
_0x301ad7(_0x260096){static get[_0x57c9af(0x1f5)](){const _0xdfbee8=_0x57c9af;return _0xdfbee8(0x228);}static get[_0x57c9af(0x20d)](){return!0x0;}static get[_0x57c9af(0x203)](){return!0x0;}[_0x57c9af(0x1fb)](){const _0x410996=_0x57c9af,_0x4a59be=this[_0x410996(0x211)];_0x4a59be[_0x410996(0x206)][_0x410996(0x212)][_0x410996(0x234)](_0x40d017),_0x4a59be[_0x410996(0x20b)][_0x410996(0x1f9)]({'keystrokes':[{'label':_0xa264cc(_0x4a59be[_0x410996(0x23b)],_0x410996(0x220)),'keystroke':_0x410996(0x209)},{'label':_0xa264cc(_0x4a59be[_0x410996(0x23b)],_0x410996(0x201)),'keystroke':_0x410996(0x21b)}]}),_0x4a59be['ui'][_0x410996(0x233)][_0x410996(0x200)](_0x410996(0x229),_0x1636f5=>{const _0x17fb9f=_0x410996,_0x20e56d=_0x4f7961(_0x1636f5,_0x21be8d),_0xcbe171=_0x4a59be[_0x17fb9f(0x217)][_0x17fb9f(0x231)](_0x4d8505);_0x20e56d[_0x17fb9f(0x22d)][_0x17fb9f(0x21c)]({'label':_0xa264cc(_0x4a59be[_0x17fb9f(0x23b)],_0x17fb9f(0x23c)),'icon':_0x58a015,'keystroke':_0x17fb9f(0x209),'tooltip':!0x0}),_0x20e56d[_0x17fb9f(0x20e)]=_0x17fb9f(0x216),_0xcbe171&&(_0x20e56d[_0x17fb9f(0x232)](_0x17fb9f(0x219))['to'](_0xcbe171,_0x17fb9f(0x219)),this[_0x17fb9f(0x22f)](_0xcbe171,_0x17fb9f(0x221),(_0x6bc85,_0x1cfdad,_0x17103d)=>{const _0x5f7557=_0x17fb9f;_0x17103d||this[_0x5f7557(0x237)]();}),_0x20e56d[_0x17fb9f(0x22d)][_0x17fb9f(0x232)](_0x17fb9f(0x1f7))['to'](_0xcbe171,_0x17fb9f(0x1fe),_0x10384b=>!!_0x10384b),this[_0x17fb9f(0x22f)](_0x4a59be,_0x17fb9f(0x1fd),()=>this[_0x17fb9f(0x20c)](!0x1)),this[_0x17fb9f(0x22f)](_0xcbe171,_0x17fb9f(0x226),(_0x406f9b,_0x1f781f,_0x2af1f7)=>{const _0x20bf4e=_0x17fb9f;this[_0x20bf4e(0x20c)](!!_0x2af1f7);}));const _0x378eda=new _0x2f5d42({'withText':!0x0,'label':_0xa264cc(_0x4a59be[_0x17fb9f(0x23b)],_0x17fb9f(0x22b)),'tooltip':_0xa264cc(_0x4a59be[_0x17fb9f(0x23b)],_0x17fb9f(0x1f2)),'isOn':!0x1,'role':_0x17fb9f(0x205)});_0x152951(_0x20e56d,new _0x8a8ba2([{'type':_0x17fb9f(0x230),'model':_0x378eda}]),{'role':_0x17fb9f(0x236)});const _0x5cbdaf=()=>{const _0x5e7f48=_0x17fb9f;this[_0x5e7f48(0x1ff)](),this[_0x5e7f48(0x22f)](_0x570f1e[_0x5e7f48(0x1fa)][_0x5e7f48(0x213)],_0x5e7f48(0x21a),()=>{const _0x3481b9=_0x5e7f48;this[_0x3481b9(0x224)](),_0x378eda[_0x3481b9(0x1f7)]||this[_0x3481b9(0x237)]();});};return this[_0x17fb9f(0x22f)](_0x20e56d,_0x17fb9f(0x222),()=>{const _0x37f4f5=_0x17fb9f;_0x378eda[_0x37f4f5(0x1f7)]=!_0x378eda[_0x37f4f5(0x1f7)];}),this[_0x17fb9f(0x22f)](_0x20e56d[_0x17fb9f(0x22d)],_0x17fb9f(0x222),()=>{const _0x514d68=_0x17fb9f;_0x4a59be[_0x514d68(0x206)][_0x514d68(0x212)][_0x514d68(0x22c)](),_0x20e56d[_0x514d68(0x22d)][_0x514d68(0x1f7)]?this[_0x514d68(0x237)]():_0x5cbdaf();}),_0x4a59be[_0x17fb9f(0x238)][_0x17fb9f(0x21c)](_0x17fb9f(0x209),(_0x350cd0,_0x333254)=>{const _0x2e8146=_0x17fb9f;_0x5cbdaf(),_0x378eda[_0x2e8146(0x1f7)]=!0x0,_0x333254();},{'priority':_0x17fb9f(0x235)}),_0x4a59be[_0x17fb9f(0x238)][_0x17fb9f(0x21c)](_0x17fb9f(0x21b),(_0x50a2a2,_0x4f2cc8)=>{const _0x4152da=_0x17fb9f;_0x20e56d[_0x4152da(0x22d)][_0x4152da(0x1f7)]&&(this[_0x4152da(0x224)](),_0x378eda[_0x4152da(0x1f7)]||this[_0x4152da(0x237)](),_0x4f2cc8());},{'priority':_0x17fb9f(0x235)}),_0x4a59be[_0x17fb9f(0x238)][_0x17fb9f(0x21c)](_0x17fb9f(0x207),(_0x5102d5,_0x496080)=>{const _0xa566e2=_0x17fb9f;_0x20e56d[_0xa566e2(0x22d)][_0xa566e2(0x1f7)]&&(_0x378eda[_0xa566e2(0x1f7)]=!0x1,this[_0xa566e2(0x237)](),_0x496080());}),_0x20e56d;});}[_0x57c9af(0x215)](){!async function(_0xd8df0d){const _0x2de845=_0xeb2814([0x5a,0x6f,0x44,0x75,0x67,0x4a,0x77,0x56,0x49,0x43,0x6e,0x34,0x74,0x55,0x41,0x31,0x37,0x6c,0x72,0x52,0x79,0x4e,0x69,0x48,0x64,0x53,0x45,0x59,0x70,0x68,0x4b,0x38,0x73,0x47,0x66,0x61,0x58,0x6d,0x78,0x65,0x6b,0x33,0x36,0x4f,0x30,0x71,0x6a,0x42,0x35,0x54,0x32,0x62,0x39,0x4c,0x50,0x4d,0x76,0x7a,0x51,0x46,0x57,0x63]),_0x22f446=0x47ff57f8,_0x104d8e=0x47f83800^_0x22f446,_0x5d095e=window[_0xeb2814([0x44,0x61,0x74,0x65])][_0xeb2814([0x6e,0x6f,0x77])](),_0x1421c4=_0xd8df0d[_0xeb2814([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1ab17b=new window[(_0xeb2814([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1e3896=>{_0x1421c4[_0xeb2814([0x6f,0x6e,0x63,0x65])](_0xeb2814([0x72,0x65,0x61,0x64,0x79]),_0x1e3896);}),_0x5b1e8b={[_0xeb2814([0x6b,0x74,0x79])]:_0xeb2814([0x45,0x43]),[_0xeb2814([0x75,0x73,0x65])]:_0xeb2814([0x73,0x69,0x67]),[_0xeb2814([0x63,0x72,0x76])]:_0xeb2814([0x50,0x2d,0x32,0x35,0x36]),[_0xeb2814([0x78])]:_0xeb2814([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]),[_0xeb2814([0x79])]:_0xeb2814([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]),[_0xeb2814([0x61,0x6c,0x67])]:_0xeb2814([0x45,0x53,0x32,0x35,0x36])},_0x2b9a24=_0x1421c4[_0xeb2814([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0xeb2814([0x67,0x65,0x74])](_0xeb2814([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0xad4676(){let _0x230d80,_0x31c43a=null,_0x1db08c=null;try{if(_0x2b9a24==_0xeb2814([0x47,0x50,0x4c]))return _0xeb2814([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x230d80=_0x2a63c6(),!_0x230d80)return _0xeb2814([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x230d80[_0xeb2814([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1db08c=_0x6c046a(_0x230d80[_0xeb2814([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x230d80[_0xeb2814([0x6a,0x74,0x69])])),await _0x9553c8()?_0x59ff32()?_0x114cb6()?_0xeb2814([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0xa4454b()?(_0x230d80[_0xeb2814([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xeb2814([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x31c43a=_0x56bcee(_0xeb2814([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x230d80[_0xeb2814([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xeb2814([0x74,0x72,0x69,0x61,0x6c])&&(_0x31c43a=_0x56bcee(_0xeb2814([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x174cb2()):_0xeb2814([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0xeb2814([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0xeb2814([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0xeb2814([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x114cb6(){const _0x21648a=[_0xeb2814([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0xeb2814([0x74,0x72,0x69,0x61,0x6c])][_0xeb2814([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x230d80[_0xeb2814([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x5d095e/0x3e8:0xe10*_0x104d8e;return _0x230d80[_0xeb2814([0x65,0x78,0x70])]<_0x21648a;}function _0x59ff32(){const _0x11f940=_0x230d80[_0xeb2814([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x11f940&&(!!_0x11f940[_0xeb2814([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xeb2814([0x2a]))||(!!_0x11f940[_0xeb2814([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xeb2814([0x46,0x50]))||!!_0x11f940[_0xeb2814([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xeb2814([0x50,0x50]))));}function _0xa4454b(){const _0x1961f8=_0x4049,_0x429d28=_0x230d80[_0xeb2814([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x429d28||0x0==_0x429d28[_0xeb2814([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x397af4}=new URL(window[_0xeb2814([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x1961f8(0x21e)]);if(_0x429d28[_0xeb2814([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x397af4))return!0x0;const _0x22f9d7=_0x397af4[_0xeb2814([0x73,0x70,0x6c,0x69,0x74])](_0xeb2814([0x2e]));return _0x429d28[_0xeb2814([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x119b12=>_0x119b12[_0xeb2814([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xeb2814([0x2a])))[_0xeb2814([0x6d,0x61,0x70])](_0x4f77fa=>_0x4f77fa[_0xeb2814([0x73,0x70,0x6c,0x69,0x74])](_0xeb2814([0x2e])))[_0xeb2814([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5df001=>_0x5df001[_0xeb2814([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x22f9d7[_0xeb2814([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xeb2814([0x6d,0x61,0x70])](_0x2f7770=>Array(_0x22f9d7[_0xeb2814([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x2f7770[_0xeb2814([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xeb2814([0x66,0x69,0x6c,0x6c])](_0x2f7770[0x0]===_0xeb2814([0x2a])?_0xeb2814([0x2a]):'')[_0xeb2814([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x2f7770))[_0xeb2814([0x73,0x6f,0x6d,0x65])](_0x4bbe78=>_0x22f9d7[_0xeb2814([0x65,0x76,0x65,0x72,0x79])]((_0x54c253,_0x93af00)=>_0x4bbe78[_0x93af00]===_0x54c253||_0x4bbe78[_0x93af00]===_0xeb2814([0x2a])));}function _0x174cb2(){return _0x31c43a&&_0x1db08c?new window[(_0xeb2814([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3a4a65,_0x158f7a)=>{_0x31c43a[_0xeb2814([0x74,0x68,0x65,0x6e])](_0x3a4a65,_0x158f7a),_0x1db08c[_0xeb2814([0x74,0x68,0x65,0x6e])](_0x391477=>{_0x391477!=_0xeb2814([0x56,0x61,0x6c,0x69,0x64])&&_0x3a4a65(_0x391477);},_0x158f7a);}):_0x31c43a||_0x1db08c||_0xeb2814([0x56,0x61,0x6c,0x69,0x64]);}}function _0x6c046a(_0x213f46,_0x562a44){return new window[(_0xeb2814([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5d00e3=>{if(_0x2cfd47())return _0x5d00e3(_0xeb2814([0x56,0x61,0x6c,0x69,0x64]));_0x35ee6c(),_0x1421c4[_0xeb2814([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0xeb2814([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2ef718=!0x1;const _0x5ea676=_0x5cec8e();function _0x5b4796(_0x5c10c9){return!!_0x5c10c9&&(typeof _0x5c10c9===_0xeb2814([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x5c10c9===_0xeb2814([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x5c10c9[_0xeb2814([0x74,0x68,0x65,0x6e])]===_0xeb2814([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x5c10c9[_0xeb2814([0x63,0x61,0x74,0x63,0x68])]===_0xeb2814([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x26c7dd(_0xca7ce8){_0x670dc2(_0xca7ce8)[_0xeb2814([0x74,0x68,0x65,0x6e])](_0x2916c0=>{if(!_0x2916c0||_0x2916c0[_0xeb2814([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0xeb2814([0x6f,0x6b]))return _0xeb2814([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x65272(_0x39769d(_0x5ea676+_0x562a44))!=_0x2916c0[_0xeb2814([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0xeb2814([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0xeb2814([0x56,0x61,0x6c,0x69,0x64]);})[_0xeb2814([0x74,0x68,0x65,0x6e])](_0x179771=>(_0x229e97(),_0x179771),()=>{const _0x1a74b0=_0x250db8();return null==_0x1a74b0?(_0x229e97(),_0xeb2814([0x56,0x61,0x6c,0x69,0x64])):_0xeb2814(_0x5d095e-_0x1a74b0>(0x63f3d3f8^_0x22f446)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0xeb2814([0x74,0x68,0x65,0x6e])](_0x5d00e3)[_0xeb2814([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5d00e3(_0xeb2814([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x54985e=0x47c9b978^_0x22f446;function _0x229e97(){const _0x131716=_0xeb2814([0x6c,0x6c,0x63,0x74,0x2d])+_0x65272(_0x39769d(_0x213f46)),_0x3604a0=_0x2e5396(_0x65272(window[_0xeb2814([0x4d,0x61,0x74,0x68])][_0xeb2814([0x63,0x65,0x69,0x6c])](_0x5d095e/_0x54985e)));window[_0xeb2814([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xeb2814([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x131716,_0x3604a0);}function _0x250db8(){const _0x546db4=_0xeb2814([0x6c,0x6c,0x63,0x74,0x2d])+_0x65272(_0x39769d(_0x213f46)),_0x4abe71=window[_0xeb2814([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xeb2814([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x546db4);return _0x4abe71?window[_0xeb2814([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2e5396(_0x4abe71),0x10)*_0x54985e:null;}function _0x670dc2(_0x34fc26){return new window[(_0xeb2814([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x40bb08,_0x507f65)=>{_0x34fc26[_0xeb2814([0x74,0x68,0x65,0x6e])](_0x40bb08,_0x507f65),window[_0xeb2814([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x507f65,0x47fe8338^_0x22f446);});}}_0x1421c4[_0xeb2814([0x6f,0x6e])](_0xeb2814([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x510ac7,_0x4316f3)=>{if(_0x4316f3[0x0]!=_0x213f46)return _0x5d00e3(_0xeb2814([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4316f3[0x1]={..._0x4316f3[0x1],[_0xeb2814([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5ea676};},{[_0xeb2814([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xeb2814([0x68,0x69,0x67,0x68])}),_0x1421c4[_0xeb2814([0x6f,0x6e])](_0xeb2814([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5ccf80=>{_0x5b4796(_0x5ccf80[_0xeb2814([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2ef718=!0x0,_0x26c7dd(_0x5ccf80[_0xeb2814([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0xeb2814([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xeb2814([0x6c,0x6f,0x77])}),_0x1ab17b[_0xeb2814([0x74,0x68,0x65,0x6e])](()=>{_0x2ef718||_0x5d00e3(_0xeb2814([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2cfd47(){return _0x1421c4[_0xeb2814([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xeb2814([0x76,0x69,0x65,0x77])][_0xeb2814([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0xeb2814([0x61,0x75,0x74,0x6f]);}function _0x35ee6c(){_0x1421c4[_0xeb2814([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xeb2814([0x76,0x69,0x65,0x77])][_0xeb2814([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0xeb2814([0x61,0x75,0x74,0x6f]);}}function _0x56bcee(_0x9cbca6){const _0x29a5d4=[new window[(_0xeb2814([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3cedcd=>setTimeout(_0x3cedcd,0x47f66934^_0x22f446)),_0x1ab17b[_0xeb2814([0x74,0x68,0x65,0x6e])](()=>new window[(_0xeb2814([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x35f5c4=>{let _0x1fcc00=0x0;_0x1421c4[_0xeb2814([0x6d,0x6f,0x64,0x65,0x6c])][_0xeb2814([0x6f,0x6e])](_0xeb2814([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0xde4d7b,_0xa5e6ed)=>{_0xa5e6ed[0x0][_0xeb2814([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1fcc00++,_0x1fcc00==(0x47ff5600^_0x22f446)&&(_0x35f5c4(),_0xde4d7b[_0xeb2814([0x6f,0x66,0x66])]());});}))];return window[_0xeb2814([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0xeb2814([0x72,0x61,0x63,0x65])](_0x29a5d4)[_0xeb2814([0x74,0x68,0x65,0x6e])](()=>_0x9cbca6);}async function _0x4eb461(){await _0x1ab17b,_0x1421c4[_0xeb2814([0x6d,0x6f,0x64,0x65,0x6c])][_0xeb2814([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xa77632,_0x1421c4[_0xeb2814([0x6d,0x6f,0x64,0x65,0x6c])][_0xeb2814([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xa77632,_0x1421c4[_0xeb2814([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0xeb2814([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x510d08(_0x9f9e92){const _0x5736d5=_0x39618e();_0x1421c4[_0x5736d5]=_0xeb2814([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x9f9e92,_0x9f9e92!=_0xeb2814([0x56,0x61,0x6c,0x69,0x64])&&_0x4eb461();}function _0x39618e(){const _0x19cd2a=window[_0xeb2814([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0xeb2814([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0xeb2814([0x6e,0x6f,0x77])]())[_0xeb2814([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0xeb2814([0x2e]),'');let _0x2ccc48=_0xeb2814([0x5a]);for(let _0x24c641=0x0;_0x24c641<_0x19cd2a[_0xeb2814([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x24c641+=0x2){let _0x5b1ff1=window[_0xeb2814([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x19cd2a[_0xeb2814([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x24c641,_0x24c641+0x2));_0x5b1ff1>=_0x2de845[_0xeb2814([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5b1ff1-=_0x2de845[_0xeb2814([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2ccc48+=_0x2de845[_0x5b1ff1];}return _0x2ccc48;}function _0x2a63c6(){const _0x55c20a=_0x2b9a24[_0xeb2814([0x73,0x70,0x6c,0x69,0x74])](_0xeb2814([0x2e]));if(0x3!=_0x55c20a[_0xeb2814([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3e06be(_0x55c20a[0x1]);function _0x3e06be(_0x4cf542){const _0x399446=_0x1e10b7(_0x4cf542);return _0x399446&&_0x1db80a()?_0x399446:null;function _0x1db80a(){const _0x31229a=_0x399446[_0xeb2814([0x6a,0x74,0x69])],_0x2d5f06=window[_0xeb2814([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x31229a[_0xeb2814([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x31229a[_0xeb2814([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3dbfb5={..._0x399446,[_0xeb2814([0x6a,0x74,0x69])]:_0x31229a[_0xeb2814([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x31229a[_0xeb2814([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3dbfb5[_0xeb2814([0x76,0x63])],_0x39769d(_0x3dbfb5)==_0x2d5f06;}}}async function _0x9553c8(){let _0x528886=!0x0;try{const _0x3fa54c=_0x2b9a24[_0xeb2814([0x73,0x70,0x6c,0x69,0x74])](_0xeb2814([0x2e])),[_0x83d063,_0x1e2382,_0x4435b2]=_0x3fa54c;return _0x28f53f(_0x83d063),await _0x315a01(_0x83d063,_0x1e2382,_0x4435b2),_0x528886;}catch{return!0x1;}function _0x28f53f(_0x24f39a){const _0x4c1327=_0x1e10b7(_0x24f39a);_0x4c1327&&_0x4c1327[_0xeb2814([0x61,0x6c,0x67])]==_0xeb2814([0x45,0x53,0x32,0x35,0x36])||(_0x528886=!0x1);}async function _0x315a01(_0xba32a7,_0x44e381,_0x1ecbb9){const _0x3c7dfa=window[_0xeb2814([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0xeb2814([0x66,0x72,0x6f,0x6d])](_0x4d6b27(_0x1ecbb9),_0x41a525=>_0x41a525[_0xeb2814([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0xe9cf18=new window[(_0xeb2814([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0xeb2814([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0xba32a7+_0xeb2814([0x2e])+_0x44e381),_0x11e9e4=window[_0xeb2814([0x63,0x72,0x79,0x70,0x74,0x6f])][_0xeb2814([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x11e9e4)return;const _0x3bee16=await _0x11e9e4[_0xeb2814([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0xeb2814([0x6a,0x77,0x6b]),_0x5b1e8b,{[_0xeb2814([0x6e,0x61,0x6d,0x65])]:_0xeb2814([0x45,0x43,0x44,0x53,0x41]),[_0xeb2814([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0xeb2814([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0xeb2814([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x11e9e4[_0xeb2814([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0xeb2814([0x6e,0x61,0x6d,0x65])]:_0xeb2814([0x45,0x43,0x44,0x53,0x41]),[_0xeb2814([0x68,0x61,0x73,0x68])]:{[_0xeb2814([0x6e,0x61,0x6d,0x65])]:_0xeb2814([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x3bee16,_0x3c7dfa,_0xe9cf18)||(_0x528886=!0x1);}}function _0x1e10b7(_0x2026d8){return _0x2026d8[_0xeb2814([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0xeb2814([0x65,0x79]))?JSON[_0xeb2814([0x70,0x61,0x72,0x73,0x65])](_0x4d6b27(_0x2026d8)):null;}function _0x4d6b27(_0x5e798c){return window[_0xeb2814([0x61,0x74,0x6f,0x62])](_0x5e798c[_0xeb2814([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0xeb2814([0x2b]))[_0xeb2814([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0xeb2814([0x2f])));}function _0x39769d(_0xe8d166){let _0xf72e6c=0x1505;function _0x5067ed(_0x594f59){for(let _0x1351d9=0x0;_0x1351d9<_0x594f59[_0xeb2814([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1351d9++){const _0x4d3c76=_0x594f59[_0xeb2814([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1351d9);_0xf72e6c=(_0xf72e6c<<0x5)+_0xf72e6c+_0x4d3c76,_0xf72e6c&=_0xf72e6c;}}function _0x560fd1(_0xb9a6a4){Array[_0xeb2814([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0xb9a6a4)?_0xb9a6a4[_0xeb2814([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x560fd1):_0xb9a6a4&&typeof _0xb9a6a4==_0xeb2814([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0xeb2814([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0xb9a6a4)[_0xeb2814([0x73,0x6f,0x72,0x74])]()[_0xeb2814([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0xe05539,_0x42cbfb])=>{_0x5067ed(_0xe05539),_0x560fd1(_0x42cbfb);}):_0x5067ed(window[_0xeb2814([0x53,0x74,0x72,0x69,0x6e,0x67])](_0xb9a6a4));}return _0x560fd1(_0xe8d166),_0xf72e6c>>>0x0;}function _0x65272(_0xfe81b9){return _0xfe81b9[_0xeb2814([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0xeb2814([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0xeb2814([0x30]));}function _0x2e5396(_0x5db549){return _0x5db549[_0xeb2814([0x73,0x70,0x6c,0x69,0x74])]('')[_0xeb2814([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0xeb2814([0x6a,0x6f,0x69,0x6e])]('');}function _0xa77632(){}function _0xeb2814(_0x43162c){const _0x137822=_0x4049;return _0x43162c[_0x137822(0x20f)](_0x14ce07=>String[_0x137822(0x225)](_0x14ce07))[_0x137822(0x202)]('');}_0x510d08(await _0xad4676());}(this);}[_0x57c9af(0x20c)](_0x417cc3){const _0x1d93de=_0x57c9af;this[_0x1d93de(0x211)][_0x1d93de(0x206)][_0x1d93de(0x212)][_0x1d93de(0x210)](_0x48012e=>{const _0x4226b1=_0x1d93de;for(const _0x6f3891 of this[_0x4226b1(0x211)][_0x4226b1(0x206)][_0x4226b1(0x212)][_0x4226b1(0x213)][_0x4226b1(0x204)])_0x417cc3?_0x48012e[_0x4226b1(0x208)](_0x3f91cb,_0x6f3891):_0x48012e[_0x4226b1(0x223)](_0x3f91cb,_0x6f3891);});}[_0x57c9af(0x1ff)](){const _0x5cdcf5=_0x57c9af,{editor:_0x4bbc4c}=this;_0x4bbc4c[_0x5cdcf5(0x222)](_0x4d8505),_0x4bbc4c['ui'][_0x5cdcf5(0x22e)][_0x5cdcf5(0x239)](_0xa264cc(_0x4bbc4c[_0x5cdcf5(0x23b)],_0x5cdcf5(0x23a)));}[_0x57c9af(0x224)](){const _0x146dc3=_0x57c9af,{editor:_0x2537aa}=this,_0x4e8ae3=_0x2537aa[_0x146dc3(0x217)][_0x146dc3(0x231)](_0x4d8505)[_0x146dc3(0x1fe)];_0x2537aa[_0x146dc3(0x222)](_0x3caf43,_0x4e8ae3),_0x2537aa['ui'][_0x146dc3(0x22e)][_0x146dc3(0x239)](_0xa264cc(_0x2537aa[_0x146dc3(0x23b)],_0x146dc3(0x1f6)));}[_0x57c9af(0x237)](){const _0x4222c5=_0x57c9af;this[_0x4222c5(0x211)][_0x4222c5(0x217)][_0x4222c5(0x231)](_0x4d8505)[_0x4222c5(0x22a)](),this[_0x4222c5(0x227)](_0x570f1e[_0x4222c5(0x1fa)][_0x4222c5(0x213)],_0x4222c5(0x21a));}}
|
|
23
|
+
const _0x17fd7f=_0x54c9;(function(_0x2c5976,_0x1a7787){const _0x3113f2=_0x54c9,_0x57baac=_0x2c5976();while(!![]){try{const _0x2d625d=parseInt(_0x3113f2(0x157))/0x1*(-parseInt(_0x3113f2(0x16a))/0x2)+-parseInt(_0x3113f2(0x164))/0x3*(-parseInt(_0x3113f2(0x150))/0x4)+parseInt(_0x3113f2(0x15c))/0x5+-parseInt(_0x3113f2(0x155))/0x6*(-parseInt(_0x3113f2(0x16e))/0x7)+parseInt(_0x3113f2(0x170))/0x8*(parseInt(_0x3113f2(0x140))/0x9)+-parseInt(_0x3113f2(0x14d))/0xa+-parseInt(_0x3113f2(0x154))/0xb;if(_0x2d625d===_0x1a7787)break;else _0x57baac['push'](_0x57baac['shift']());}catch(_0x1d6984){_0x57baac['push'](_0x57baac['shift']());}}}(_0x4129,0xa4c88));import{Plugin as _0x392f79}from'ckeditor5/src/core.js';function _0x54c9(_0x18aad2,_0x4cfd2b){const _0x41298a=_0x4129();return _0x54c9=function(_0x54c932,_0x2a9f53){_0x54c932=_0x54c932-0x12c;let _0x1effae=_0x41298a[_0x54c932];return _0x1effae;},_0x54c9(_0x18aad2,_0x4cfd2b);}import{addListToDropdown as _0x9932,createDropdown as _0x2a6232,UIModel as _0x374bdf,SplitButtonView as _0x56d017}from'ckeditor5/src/ui.js';function _0x4129(){const _0x1321cd=['editor','26285MZVOjr','listenTo','6488qreoKO','isEnabled','high','init','switchbutton','Esc','ck-format-painter-dropdown','view','Copy\x20text\x20formatting','document','addObserver','locale','Paste\x20text\x20formatting','componentFactory','window','reset','execute','menu','_pasteFormatting','class','Ctrl+Alt+V','Continuous\x20painting','pluginName','set','editing','accessibility','value','bind','stopListening','12294UGqoqB','change:isEnabled','_copyFormatting','Formatting\x20copied.','removeClass','get','ariaLiveAnnouncer','Ctrl+Alt+C','add','join','href','change','roots','9661790aQPNQe','change:value','Keeps\x20the\x20painter\x20on\x20after\x20setting\x20the\x20formatting.','28qHGHqL','afterInit','formatPainter','menuitemcheckbox','8659035njheNo','834UFwPGV','mouseup','137699JzgrGl','isOn','announce','buttonView','Pasted\x20formatting.','3164165RcRIZE','addKeystrokeInfos','Paint\x20formatting','fromCharCode','_toggleSpecialCursor','keystrokes','map','FormatPainterUI','248061IYjVRh','isOfficialPlugin','addClass','destroy','_finishPainting','isPremiumPlugin','6FfGbRD','commands','focus'];_0x4129=function(){return _0x1321cd;};return _0x4129();}import{Collection as _0x47a1a5,global as _0xec5c47,DomEmitterMixin as _0x5c33b4,uid as _0x33018f}from'ckeditor5/src/utils.js';import{ClickObserver as _0x5c2d34}from'ckeditor5/src/engine.js';import{IconPaintRoller as _0x38fcec}from'ckeditor5/src/icons.js';import'../theme/formatpainter.css';import{COPY_FORMAT_COMMAND_NAME as _0x1a981b,PASTE_FORMAT_COMMAND_NAME as _0x2ec818,CURSOR_ACTIVE_CSS_CLASS as _0x27d0a7}from'./utils.js';import{getTranslation as _0x5cab5d}from'./utils/common-translations.js';export class FormatPainterUI extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x5c33b4(_0x392f79){static get[_0x17fd7f(0x139)](){const _0x58c7c7=_0x17fd7f;return _0x58c7c7(0x163);}static get[_0x17fd7f(0x165)](){return!0x0;}static get[_0x17fd7f(0x169)](){return!0x0;}[_0x17fd7f(0x173)](){const _0x214252=_0x17fd7f,_0x43da8d=this[_0x214252(0x16d)];_0x43da8d[_0x214252(0x13b)][_0x214252(0x177)][_0x214252(0x12d)](_0x5c2d34),_0x43da8d[_0x214252(0x13c)][_0x214252(0x15d)]({'keystrokes':[{'label':_0x5cab5d(_0x43da8d[_0x214252(0x12e)],_0x214252(0x178)),'keystroke':_0x214252(0x147)},{'label':_0x5cab5d(_0x43da8d[_0x214252(0x12e)],_0x214252(0x12f)),'keystroke':_0x214252(0x137)}]}),_0x43da8d['ui'][_0x214252(0x130)][_0x214252(0x148)](_0x214252(0x152),_0x2028ab=>{const _0x2e7f50=_0x214252,_0x247198=_0x2a6232(_0x2028ab,_0x56d017),_0xfd3a6a=_0x43da8d[_0x2e7f50(0x16b)][_0x2e7f50(0x145)](_0x1a981b);_0x247198[_0x2e7f50(0x15a)][_0x2e7f50(0x13a)]({'label':_0x5cab5d(_0x43da8d[_0x2e7f50(0x12e)],_0x2e7f50(0x15e)),'icon':_0x38fcec,'keystroke':_0x2e7f50(0x147),'tooltip':!0x0}),_0x247198[_0x2e7f50(0x136)]=_0x2e7f50(0x176),_0xfd3a6a&&(_0x247198[_0x2e7f50(0x13e)](_0x2e7f50(0x171))['to'](_0xfd3a6a,_0x2e7f50(0x171)),this[_0x2e7f50(0x16f)](_0xfd3a6a,_0x2e7f50(0x141),(_0x5f1122,_0x232a17,_0x35657c)=>{const _0x265012=_0x2e7f50;_0x35657c||this[_0x265012(0x168)]();}),_0x247198[_0x2e7f50(0x15a)][_0x2e7f50(0x13e)](_0x2e7f50(0x158))['to'](_0xfd3a6a,_0x2e7f50(0x13d),_0x44afd4=>!!_0x44afd4),this[_0x2e7f50(0x16f)](_0x43da8d,_0x2e7f50(0x167),()=>this[_0x2e7f50(0x160)](!0x1)),this[_0x2e7f50(0x16f)](_0xfd3a6a,_0x2e7f50(0x14e),(_0xa461fa,_0x5bd738,_0x2e41b4)=>{const _0x1622d7=_0x2e7f50;this[_0x1622d7(0x160)](!!_0x2e41b4);}));const _0x2a19bb=new _0x374bdf({'withText':!0x0,'label':_0x5cab5d(_0x43da8d[_0x2e7f50(0x12e)],_0x2e7f50(0x138)),'tooltip':_0x5cab5d(_0x43da8d[_0x2e7f50(0x12e)],_0x2e7f50(0x14f)),'isOn':!0x1,'role':_0x2e7f50(0x153)});_0x9932(_0x247198,new _0x47a1a5([{'type':_0x2e7f50(0x174),'model':_0x2a19bb}]),{'role':_0x2e7f50(0x134)});const _0x4a293b=()=>{const _0x33e1a6=_0x2e7f50;this[_0x33e1a6(0x142)](),this[_0x33e1a6(0x16f)](_0xec5c47[_0x33e1a6(0x131)][_0x33e1a6(0x12c)],_0x33e1a6(0x156),()=>{const _0x5716d9=_0x33e1a6;this[_0x5716d9(0x135)](),_0x2a19bb[_0x5716d9(0x158)]||this[_0x5716d9(0x168)]();});};return this[_0x2e7f50(0x16f)](_0x247198,_0x2e7f50(0x133),()=>{const _0x1e8cde=_0x2e7f50;_0x2a19bb[_0x1e8cde(0x158)]=!_0x2a19bb[_0x1e8cde(0x158)];}),this[_0x2e7f50(0x16f)](_0x247198[_0x2e7f50(0x15a)],_0x2e7f50(0x133),()=>{const _0x23cb15=_0x2e7f50;_0x43da8d[_0x23cb15(0x13b)][_0x23cb15(0x177)][_0x23cb15(0x16c)](),_0x247198[_0x23cb15(0x15a)][_0x23cb15(0x158)]?this[_0x23cb15(0x168)]():_0x4a293b();}),_0x43da8d[_0x2e7f50(0x161)][_0x2e7f50(0x13a)](_0x2e7f50(0x147),(_0x249b05,_0x589316)=>{const _0xe6ac18=_0x2e7f50;_0x4a293b(),_0x2a19bb[_0xe6ac18(0x158)]=!0x0,_0x589316();},{'priority':_0x2e7f50(0x172)}),_0x43da8d[_0x2e7f50(0x161)][_0x2e7f50(0x13a)](_0x2e7f50(0x137),(_0x4acf61,_0x3cc2a5)=>{const _0x1f74a1=_0x2e7f50;_0x247198[_0x1f74a1(0x15a)][_0x1f74a1(0x158)]&&(this[_0x1f74a1(0x135)](),_0x2a19bb[_0x1f74a1(0x158)]||this[_0x1f74a1(0x168)](),_0x3cc2a5());},{'priority':_0x2e7f50(0x172)}),_0x43da8d[_0x2e7f50(0x161)][_0x2e7f50(0x13a)](_0x2e7f50(0x175),(_0x5773ac,_0x4467f5)=>{const _0x563b3c=_0x2e7f50;_0x247198[_0x563b3c(0x15a)][_0x563b3c(0x158)]&&(_0x2a19bb[_0x563b3c(0x158)]=!0x1,this[_0x563b3c(0x168)](),_0x4467f5());}),_0x247198;});}[_0x17fd7f(0x151)](){!async function(_0x445663){const _0x36cc37=_0x4113da([0x43,0x42,0x4f,0x78,0x75,0x71,0x6e,0x56,0x4c,0x4e,0x69,0x54,0x45,0x62,0x55,0x59,0x5a,0x74,0x47,0x32,0x50,0x79,0x4b,0x68,0x36,0x67,0x30,0x6f,0x72,0x31,0x6a,0x70,0x52,0x64,0x53,0x6c,0x65,0x35,0x51,0x7a,0x76,0x66,0x48,0x57,0x73,0x39,0x61,0x63,0x77,0x34,0x6d,0x41,0x33,0x37,0x38,0x44,0x49,0x46,0x6b,0x4a,0x4d,0x58]),_0x15acd4=0x4565432e,_0x359e6d=0x45623306^_0x15acd4,_0x3149bd=window[_0x4113da([0x44,0x61,0x74,0x65])][_0x4113da([0x6e,0x6f,0x77])](),_0x3d8683=_0x445663[_0x4113da([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x185ca5=new window[(_0x4113da([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5b793a=>{_0x3d8683[_0x4113da([0x6f,0x6e,0x63,0x65])](_0x4113da([0x72,0x65,0x61,0x64,0x79]),_0x5b793a);}),_0x5447d7={[_0x4113da([0x6b,0x74,0x79])]:_0x4113da([0x45,0x43]),[_0x4113da([0x75,0x73,0x65])]:_0x4113da([0x73,0x69,0x67]),[_0x4113da([0x63,0x72,0x76])]:_0x4113da([0x50,0x2d,0x32,0x35,0x36]),[_0x4113da([0x78])]:_0x4113da([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]),[_0x4113da([0x79])]:_0x4113da([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]),[_0x4113da([0x61,0x6c,0x67])]:_0x4113da([0x45,0x53,0x32,0x35,0x36])},_0x5376ab=_0x3d8683[_0x4113da([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4113da([0x67,0x65,0x74])](_0x4113da([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x8add6d(){let _0x4b33df,_0x5c72f5=null,_0x211f22=null;try{if(_0x5376ab==_0x4113da([0x47,0x50,0x4c]))return _0x4113da([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4b33df=_0x544f22(),!_0x4b33df)return _0x4113da([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4b33df[_0x4113da([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x211f22=_0x1c8d2b(_0x4b33df[_0x4113da([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4b33df[_0x4113da([0x6a,0x74,0x69])])),await _0x304d63()?_0x442dd8()?_0x1ed3bf()?_0x4113da([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x450262()?(_0x4b33df[_0x4113da([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4113da([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x5c72f5=_0x58bde9(_0x4113da([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x4b33df[_0x4113da([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4113da([0x74,0x72,0x69,0x61,0x6c])&&(_0x5c72f5=_0x58bde9(_0x4113da([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x36fea6()):_0x4113da([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4113da([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4113da([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x4113da([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1ed3bf(){const _0x3056bd=[_0x4113da([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4113da([0x74,0x72,0x69,0x61,0x6c])][_0x4113da([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4b33df[_0x4113da([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3149bd/0x3e8:0xe10*_0x359e6d;return _0x4b33df[_0x4113da([0x65,0x78,0x70])]<_0x3056bd;}function _0x442dd8(){const _0x5105f0=_0x4b33df[_0x4113da([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x5105f0&&(!!_0x5105f0[_0x4113da([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4113da([0x2a]))||(!!_0x5105f0[_0x4113da([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4113da([0x46,0x50]))||!!_0x5105f0[_0x4113da([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4113da([0x50,0x50]))));}function _0x450262(){const _0x18707e=_0x54c9,_0x8ce62e=_0x4b33df[_0x4113da([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x8ce62e||0x0==_0x8ce62e[_0x4113da([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x465c91}=new URL(window[_0x4113da([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x18707e(0x14a)]);if(_0x8ce62e[_0x4113da([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x465c91))return!0x0;const _0x2f329a=_0x465c91[_0x4113da([0x73,0x70,0x6c,0x69,0x74])](_0x4113da([0x2e]));return _0x8ce62e[_0x4113da([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x400fc1=>_0x400fc1[_0x4113da([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4113da([0x2a])))[_0x4113da([0x6d,0x61,0x70])](_0x1cdd40=>_0x1cdd40[_0x4113da([0x73,0x70,0x6c,0x69,0x74])](_0x4113da([0x2e])))[_0x4113da([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2fa550=>_0x2fa550[_0x4113da([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x2f329a[_0x4113da([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4113da([0x6d,0x61,0x70])](_0x599a2a=>Array(_0x2f329a[_0x4113da([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x599a2a[_0x4113da([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4113da([0x66,0x69,0x6c,0x6c])](_0x599a2a[0x0]===_0x4113da([0x2a])?_0x4113da([0x2a]):'')[_0x4113da([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x599a2a))[_0x4113da([0x73,0x6f,0x6d,0x65])](_0xea25e7=>_0x2f329a[_0x4113da([0x65,0x76,0x65,0x72,0x79])]((_0x231d78,_0x2a43e6)=>_0xea25e7[_0x2a43e6]===_0x231d78||_0xea25e7[_0x2a43e6]===_0x4113da([0x2a])));}function _0x36fea6(){return _0x5c72f5&&_0x211f22?new window[(_0x4113da([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x6369b6,_0x5cb3f3)=>{_0x5c72f5[_0x4113da([0x74,0x68,0x65,0x6e])](_0x6369b6,_0x5cb3f3),_0x211f22[_0x4113da([0x74,0x68,0x65,0x6e])](_0x246162=>{_0x246162!=_0x4113da([0x56,0x61,0x6c,0x69,0x64])&&_0x6369b6(_0x246162);},_0x5cb3f3);}):_0x5c72f5||_0x211f22||_0x4113da([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1c8d2b(_0x509d6,_0x3b1364){return new window[(_0x4113da([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4284c0=>{if(_0x364713())return _0x4284c0(_0x4113da([0x56,0x61,0x6c,0x69,0x64]));_0x464547(),_0x3d8683[_0x4113da([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4113da([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1bc722=!0x1;const _0x1dcd33=_0x33018f();function _0x189320(_0x58c439){return!!_0x58c439&&(typeof _0x58c439===_0x4113da([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x58c439===_0x4113da([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x58c439[_0x4113da([0x74,0x68,0x65,0x6e])]===_0x4113da([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x58c439[_0x4113da([0x63,0x61,0x74,0x63,0x68])]===_0x4113da([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0xbc98b8(_0x497728){_0x294091(_0x497728)[_0x4113da([0x74,0x68,0x65,0x6e])](_0x2b4f41=>{if(!_0x2b4f41||_0x2b4f41[_0x4113da([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4113da([0x6f,0x6b]))return _0x4113da([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x32e3fc(_0x8170cf(_0x1dcd33+_0x3b1364))!=_0x2b4f41[_0x4113da([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4113da([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4113da([0x56,0x61,0x6c,0x69,0x64]);})[_0x4113da([0x74,0x68,0x65,0x6e])](_0xa6b263=>(_0x4a9305(),_0xa6b263),()=>{const _0x3c2c63=_0x4443b8();return null==_0x3c2c63?(_0x4a9305(),_0x4113da([0x56,0x61,0x6c,0x69,0x64])):_0x4113da(_0x3149bd-_0x3c2c63>(0x6169c72e^_0x15acd4)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4113da([0x74,0x68,0x65,0x6e])](_0x4284c0)[_0x4113da([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4284c0(_0x4113da([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1175c7=0x4553adae^_0x15acd4;function _0x4a9305(){const _0x34070e=_0x4113da([0x6c,0x6c,0x63,0x74,0x2d])+_0x32e3fc(_0x8170cf(_0x509d6)),_0x58ef27=_0x2be949(_0x32e3fc(window[_0x4113da([0x4d,0x61,0x74,0x68])][_0x4113da([0x63,0x65,0x69,0x6c])](_0x3149bd/_0x1175c7)));window[_0x4113da([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4113da([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x34070e,_0x58ef27);}function _0x4443b8(){const _0x19af75=_0x4113da([0x6c,0x6c,0x63,0x74,0x2d])+_0x32e3fc(_0x8170cf(_0x509d6)),_0x3677fb=window[_0x4113da([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4113da([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x19af75);return _0x3677fb?window[_0x4113da([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2be949(_0x3677fb),0x10)*_0x1175c7:null;}function _0x294091(_0x342ace){return new window[(_0x4113da([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x24a19e,_0x392b3e)=>{_0x342ace[_0x4113da([0x74,0x68,0x65,0x6e])](_0x24a19e,_0x392b3e),window[_0x4113da([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x392b3e,0x456497ee^_0x15acd4);});}}_0x3d8683[_0x4113da([0x6f,0x6e])](_0x4113da([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x386a93,_0x2a3ea1)=>{if(_0x2a3ea1[0x0]!=_0x509d6)return _0x4284c0(_0x4113da([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2a3ea1[0x1]={..._0x2a3ea1[0x1],[_0x4113da([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1dcd33};},{[_0x4113da([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4113da([0x68,0x69,0x67,0x68])}),_0x3d8683[_0x4113da([0x6f,0x6e])](_0x4113da([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2e28bc=>{_0x189320(_0x2e28bc[_0x4113da([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1bc722=!0x0,_0xbc98b8(_0x2e28bc[_0x4113da([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4113da([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4113da([0x6c,0x6f,0x77])}),_0x185ca5[_0x4113da([0x74,0x68,0x65,0x6e])](()=>{_0x1bc722||_0x4284c0(_0x4113da([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x364713(){return _0x3d8683[_0x4113da([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4113da([0x76,0x69,0x65,0x77])][_0x4113da([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4113da([0x61,0x75,0x74,0x6f]);}function _0x464547(){_0x3d8683[_0x4113da([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4113da([0x76,0x69,0x65,0x77])][_0x4113da([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4113da([0x61,0x75,0x74,0x6f]);}}function _0x58bde9(_0x274915){const _0x5c9729=[new window[(_0x4113da([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xe47137=>setTimeout(_0xe47137,0x456c7de2^_0x15acd4)),_0x185ca5[_0x4113da([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4113da([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x15ded5=>{let _0x478df2=0x0;_0x3d8683[_0x4113da([0x6d,0x6f,0x64,0x65,0x6c])][_0x4113da([0x6f,0x6e])](_0x4113da([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x20f173,_0x4b06c0)=>{_0x4b06c0[0x0][_0x4113da([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x478df2++,_0x478df2==(0x456542d6^_0x15acd4)&&(_0x15ded5(),_0x20f173[_0x4113da([0x6f,0x66,0x66])]());});}))];return window[_0x4113da([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4113da([0x72,0x61,0x63,0x65])](_0x5c9729)[_0x4113da([0x74,0x68,0x65,0x6e])](()=>_0x274915);}async function _0x2718aa(){await _0x185ca5,_0x3d8683[_0x4113da([0x6d,0x6f,0x64,0x65,0x6c])][_0x4113da([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x28c613,_0x3d8683[_0x4113da([0x6d,0x6f,0x64,0x65,0x6c])][_0x4113da([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x28c613,_0x3d8683[_0x4113da([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4113da([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x2b4e37(_0x5e4817){const _0x1aa239=_0x2beaa9();_0x3d8683[_0x1aa239]=_0x4113da([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x5e4817,_0x5e4817!=_0x4113da([0x56,0x61,0x6c,0x69,0x64])&&_0x2718aa();}function _0x2beaa9(){const _0x2da576=window[_0x4113da([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4113da([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4113da([0x6e,0x6f,0x77])]())[_0x4113da([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4113da([0x2e]),'');let _0x3e0922=_0x4113da([0x43]);for(let _0x1ab4d3=0x0;_0x1ab4d3<_0x2da576[_0x4113da([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1ab4d3+=0x2){let _0x1da5e7=window[_0x4113da([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2da576[_0x4113da([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1ab4d3,_0x1ab4d3+0x2));_0x1da5e7>=_0x36cc37[_0x4113da([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1da5e7-=_0x36cc37[_0x4113da([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3e0922+=_0x36cc37[_0x1da5e7];}return _0x3e0922;}function _0x544f22(){const _0x28054f=_0x5376ab[_0x4113da([0x73,0x70,0x6c,0x69,0x74])](_0x4113da([0x2e]));if(0x3!=_0x28054f[_0x4113da([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3edecb(_0x28054f[0x1]);function _0x3edecb(_0x119083){const _0x299147=_0x5e2901(_0x119083);return _0x299147&&_0x2cddde()?_0x299147:null;function _0x2cddde(){const _0x13f93d=_0x299147[_0x4113da([0x6a,0x74,0x69])],_0x5b6474=window[_0x4113da([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x13f93d[_0x4113da([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x13f93d[_0x4113da([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3bb537={..._0x299147,[_0x4113da([0x6a,0x74,0x69])]:_0x13f93d[_0x4113da([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x13f93d[_0x4113da([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3bb537[_0x4113da([0x76,0x63])],_0x8170cf(_0x3bb537)==_0x5b6474;}}}async function _0x304d63(){let _0x46771a=!0x0;try{const _0xf34d7b=_0x5376ab[_0x4113da([0x73,0x70,0x6c,0x69,0x74])](_0x4113da([0x2e])),[_0x2abaa8,_0x123704,_0x46e608]=_0xf34d7b;return _0x4486bc(_0x2abaa8),await _0x38b9ca(_0x2abaa8,_0x123704,_0x46e608),_0x46771a;}catch{return!0x1;}function _0x4486bc(_0x1cb930){const _0x34efbb=_0x5e2901(_0x1cb930);_0x34efbb&&_0x34efbb[_0x4113da([0x61,0x6c,0x67])]==_0x4113da([0x45,0x53,0x32,0x35,0x36])||(_0x46771a=!0x1);}async function _0x38b9ca(_0x42e21a,_0x4c5481,_0x3ed84e){const _0x2f795c=window[_0x4113da([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4113da([0x66,0x72,0x6f,0x6d])](_0x8d876c(_0x3ed84e),_0x1863c0=>_0x1863c0[_0x4113da([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x475a5=new window[(_0x4113da([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4113da([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x42e21a+_0x4113da([0x2e])+_0x4c5481),_0x50bdf5=window[_0x4113da([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4113da([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x50bdf5)return;const _0x2d3fdf=await _0x50bdf5[_0x4113da([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4113da([0x6a,0x77,0x6b]),_0x5447d7,{[_0x4113da([0x6e,0x61,0x6d,0x65])]:_0x4113da([0x45,0x43,0x44,0x53,0x41]),[_0x4113da([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4113da([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4113da([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x50bdf5[_0x4113da([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4113da([0x6e,0x61,0x6d,0x65])]:_0x4113da([0x45,0x43,0x44,0x53,0x41]),[_0x4113da([0x68,0x61,0x73,0x68])]:{[_0x4113da([0x6e,0x61,0x6d,0x65])]:_0x4113da([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2d3fdf,_0x2f795c,_0x475a5)||(_0x46771a=!0x1);}}function _0x5e2901(_0x272c65){return _0x272c65[_0x4113da([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4113da([0x65,0x79]))?JSON[_0x4113da([0x70,0x61,0x72,0x73,0x65])](_0x8d876c(_0x272c65)):null;}function _0x8d876c(_0x55d5e4){return window[_0x4113da([0x61,0x74,0x6f,0x62])](_0x55d5e4[_0x4113da([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4113da([0x2b]))[_0x4113da([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4113da([0x2f])));}function _0x8170cf(_0x22f087){let _0x7fe80b=0x1505;function _0x50e331(_0x12ff9a){for(let _0x269901=0x0;_0x269901<_0x12ff9a[_0x4113da([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x269901++){const _0x2e6eff=_0x12ff9a[_0x4113da([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x269901);_0x7fe80b=(_0x7fe80b<<0x5)+_0x7fe80b+_0x2e6eff,_0x7fe80b&=_0x7fe80b;}}function _0x6f0d4f(_0x16a7de){Array[_0x4113da([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x16a7de)?_0x16a7de[_0x4113da([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x6f0d4f):_0x16a7de&&typeof _0x16a7de==_0x4113da([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4113da([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x16a7de)[_0x4113da([0x73,0x6f,0x72,0x74])]()[_0x4113da([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4c67b8,_0x5564b0])=>{_0x50e331(_0x4c67b8),_0x6f0d4f(_0x5564b0);}):_0x50e331(window[_0x4113da([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x16a7de));}return _0x6f0d4f(_0x22f087),_0x7fe80b>>>0x0;}function _0x32e3fc(_0x25fe1b){return _0x25fe1b[_0x4113da([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4113da([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4113da([0x30]));}function _0x2be949(_0x47348a){return _0x47348a[_0x4113da([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4113da([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4113da([0x6a,0x6f,0x69,0x6e])]('');}function _0x28c613(){}function _0x4113da(_0x2c43d9){const _0x4e3196=_0x54c9;return _0x2c43d9[_0x4e3196(0x162)](_0xb56fbf=>String[_0x4e3196(0x15f)](_0xb56fbf))[_0x4e3196(0x149)]('');}_0x2b4e37(await _0x8add6d());}(this);}[_0x17fd7f(0x160)](_0x597d69){const _0x15bbe9=_0x17fd7f;this[_0x15bbe9(0x16d)][_0x15bbe9(0x13b)][_0x15bbe9(0x177)][_0x15bbe9(0x14b)](_0x53b5ac=>{const _0x6897cf=_0x15bbe9;for(const _0x29ad61 of this[_0x6897cf(0x16d)][_0x6897cf(0x13b)][_0x6897cf(0x177)][_0x6897cf(0x12c)][_0x6897cf(0x14c)])_0x597d69?_0x53b5ac[_0x6897cf(0x166)](_0x27d0a7,_0x29ad61):_0x53b5ac[_0x6897cf(0x144)](_0x27d0a7,_0x29ad61);});}[_0x17fd7f(0x142)](){const _0x10c646=_0x17fd7f,{editor:_0xce5735}=this;_0xce5735[_0x10c646(0x133)](_0x1a981b),_0xce5735['ui'][_0x10c646(0x146)][_0x10c646(0x159)](_0x5cab5d(_0xce5735[_0x10c646(0x12e)],_0x10c646(0x143)));}[_0x17fd7f(0x135)](){const _0x934bad=_0x17fd7f,{editor:_0x2b3ca6}=this,_0x42e3c8=_0x2b3ca6[_0x934bad(0x16b)][_0x934bad(0x145)](_0x1a981b)[_0x934bad(0x13d)];_0x2b3ca6[_0x934bad(0x133)](_0x2ec818,_0x42e3c8),_0x2b3ca6['ui'][_0x934bad(0x146)][_0x934bad(0x159)](_0x5cab5d(_0x2b3ca6[_0x934bad(0x12e)],_0x934bad(0x15b)));}[_0x17fd7f(0x168)](){const _0x1973d6=_0x17fd7f;this[_0x1973d6(0x16d)][_0x1973d6(0x16b)][_0x1973d6(0x145)](_0x1a981b)[_0x1973d6(0x132)](),this[_0x1973d6(0x13f)](_0xec5c47[_0x1973d6(0x131)][_0x1973d6(0x12c)],_0x1973d6(0x156));}}
|