@ckeditor/ckeditor5-format-painter 47.0.0-alpha.3 → 47.0.0-alpha.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/format-painter.js +1 -1
- package/dist/index.js +2 -2
- package/package.json +7 -7
- package/src/formatpainterui.js +2 -2
package/build/format-painter.js
CHANGED
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
/*!
|
|
3
3
|
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
4
4
|
* For licensing, see LICENSE.md.
|
|
5
|
-
*/(()=>{var t={6: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}}},237:t=>{"use strict";t.exports=CKEditor5.dll},290:t=>{"use strict";t.exports=function(t){var n=document.createElement("style");return t.setAttributes(n,t.attributes),t.insert(n,t.options),n}},302:t=>{"use strict";t.exports=function(t,n){Object.keys(n).forEach(function(e){t.setAttribute(e,n[e])})}},311:(t,n,e)=>{t.exports=e(237)("./src/ui.js")},355:(t,n,e)=>{t.exports=e(237)("./src/icons.js")},415:t=>{"use strict";t.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMCIgaGVpZ2h0PSIyMCIgZmlsbD0ibm9uZSIgdmlld0JveD0iMCAwIDMxIDIwIj48cGF0aCBmaWxsPSIjMDAwIiBkPSJNMTQgM2ExIDEgMCAwIDEgMS0xaDEwYTEgMSAwIDAgMSAxIDF2MmExIDEgMCAwIDEtMSAxSDE1YTEgMSAwIDAgMS0xLTF6Ii8+PHBhdGggZmlsbD0iIzAwMCIgZD0iTTI3IDMuMjVhMS41IDEuNSAwIDAgMSAxLjUgMS41djEuN2EyLjI1IDIuMjUgMCAwIDEtMS45MzIgMi4yMjZsLTQuNDI0LjYzMmEuNzUuNzUgMCAwIDAtLjY0NC43NDNWMTFhMSAxIDAgMCAxIDEgMXY1YTEgMSAwIDAgMS0xIDFIMjBhMSAxIDAgMCAxLTEtMXYtNWExIDEgMCAwIDEgMS0xdi0uOTVhMi4yNSAyLjI1IDAgMCAxIDEuOTMyLTIuMjI2bDQuNDI0LS42MzJBLjc1Ljc1IDAgMCAwIDI3IDYuNDQ5eiIvPjxwYXRoIGZpbGw9IiNmZmYiIGZpbGwtcnVsZT0iZXZlbm9kZCIgZD0iTTI2Ljg1NSAyLjI1SDI3YTIuNSAyLjUgMCAwIDEgMi41IDIuNXYxLjdhMy4yNSAzLjI1IDAgMCAxLTIuNzkgMy4yMTZsLTQuMjEuNjAyYTIgMiAwIDAgMSAxIDEuNzMydjVhMiAyIDAgMCAxLTIgMkgyMGEyIDIgMCAwIDEtMi0ydi01YTIgMiAwIDAgMSAxLTEuNzMydi0uMjE3QTMuMjUgMy4yNSAwIDAgMSAyMS4xMjkgN0gxNWEyIDIgMCAwIDEtMi0yVjNhMiAyIDAgMCAxIDItMmgxMGEyIDIgMCAwIDEgMS44NTUgMS4yNU0yMCAxMC4wNVYxMWExIDEgMCAwIDAtMSAxdjVhMSAxIDAgMCAwIDEgMWgxLjVhMSAxIDAgMCAwIDEtMXYtNWExIDEgMCAwIDAtMS0xdi0uOTVxMC0uMDI0LjAwMi0uMDVhLjc1Ljc1IDAgMCAxIC42NDItLjY5Mmw0LjQyNC0uNjMyQTIuMjUgMi4yNSAwIDAgMCAyOC41IDYuNDV2LTEuN2ExLjQ5NiAxLjQ5NiAwIDAgMC0xLjUtMS41djMuMmEuNzUuNzUgMCAwIDEtLjY0NC43NDJsLTQuNDI0LjYzMkEyLjI1IDIuMjUgMCAwIDAgMjAgMTAuMDVNMTUgMmExIDEgMCAwIDAtMSAxdjJhMSAxIDAgMCAwIDEgMWgxMGExIDEgMCAwIDAgMS0xVjNhMSAxIDAgMCAwLTEtMXoiIGNsaXAtcnVsZT0iZXZlbm9kZCIvPjxwYXRoIGZpbGw9IiMwMDAiIGQ9Ik0yLjUgMi41QS41LjUgMCAwIDEgMyAyaDIuNWEuNS41IDAgMCAxIC4zNTQuMTQ2bC42NDYuNjQ3LjY0Ni0uNjQ3QS41LjUgMCAwIDEgNy41IDJIMTBhLjUuNSAwIDAgMSAwIDFINy43MDdMNyAzLjcwN1YxMGguNWEuNS41IDAgMCAxIDAgMUg3djQuNzkzbC43MDcuNzA3SDEwYS41LjUgMCAwIDEgMCAxSDcuNWEuNS41IDAgMCAxLS4zNTQtLjE0NmwtLjY0Ni0uNjQ3LS42NDYuNjQ3YS41LjUgMCAwIDEtLjM1NC4xNDZIM2EuNS41IDAgMCAxIDAtMWgyLjI5M0w2IDE1Ljc5M1YxMWgtLjVhLjUuNSAwIDAgMSAwLTFINlYzLjcwN0w1LjI5MyAzSDNhLjUuNSAwIDAgMS0uNS0uNSIvPjxwYXRoIGZpbGw9IiNmZmYiIGZpbGwtcnVsZT0iZXZlbm9kZCIgZD0ibTUuNzkzIDMuNS0uNS0uNUgzYS41LjUgMCAwIDEgMC0xaDIuNWEuNS41IDAgMCAxIC4zNTQuMTQ2bC4xNDUuMTQ2LjUwMS41LjY0Ni0uNjQ2QS41LjUgMCAwIDEgNy41IDJIMTBhLjUuNSAwIDAgMSAwIDFINy43MDdMNyAzLjcwN1YxMGguNWEuNS41IDAgMCAxIDAgMUg3djQuNzkzbC43MDcuNzA3SDEwYS41LjUgMCAwIDEgMCAxSDcuNWEuNS41IDAgMCAxLS4zNTQtLjE0NmwtLjY0Ni0uNjQ3LS41LjUtLjE0Ni4xNDdhLjUuNSAwIDAgMS0uMzU0LjE0NkgzYS41LjUgMCAwIDEgMC0xaDIuMjkzTDYgMTUuNzkzVjExaC0uNWEuNS41IDAgMCAxIDAtMUg2VjMuNzA3em0tLjkxNC41TDUgNC4xMjF2NC45NjRhMS41IDEuNSAwIDAgMCAwIDIuODN2My40NjRsLS4xMjEuMTIxSDNhMS41IDEuNSAwIDAgMCAwIDNoMi41YTEuNSAxLjUgMCAwIDAgMS0uMzgyIDEuNSAxLjUgMCAwIDAgMSAuMzgySDEwYTEuNSAxLjUgMCAwIDAgMC0zSDguMTIxTDggMTUuMzc5di0zLjQ2NGExLjUgMS41IDAgMCAwIDAtMi44M1Y0LjEyMUw4LjEyMSA0SDEwYTEuNSAxLjUgMCAwIDAgMC0zSDcuNWExLjUgMS41IDAgMCAwLTEgLjM4MkExLjUgMS41IDAgMCAwIDUuNSAxSDNhMS41IDEuNSAwIDEgMCAwIDN6IiBjbGlwLXJ1bGU9ImV2ZW5vZGQiLz48L3N2Zz4="},523:(t,n,e)=>{"use strict";e.d(n,{A:()=>f});var r=e(933),i=e.n(r),o=e(718),s=e.n(o),a=e(725),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},557: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)}},584:(t,n,e)=>{t.exports=e(237)("./src/utils.js")},602: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)}}}},718: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}},725: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}},782:(t,n,e)=>{t.exports=e(237)("./src/core.js")},783:(t,n,e)=>{t.exports=e(237)("./src/engine.js")},933:t=>{"use strict";t.exports=function(t){return t[1]}}},n={};function e(r){var i=n[r];if(void 0!==i)return i.exports;var o=n[r]={id:r,exports:{}};return t[r](o,o.exports,e),o.exports}e.m=t,e.n=t=>{var n=t&&t.__esModule?()=>t.default:()=>t;return e.d(n,{a:n}),n},e.d=(t,n)=>{for(var r in n)e.o(n,r)&&!e.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:n[r]})},e.o=(t,n)=>Object.prototype.hasOwnProperty.call(t,n),e.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},e.b=document.baseURI||self.location.href;var r={};(()=>{"use strict";e.r(r),e.d(r,{CopyFormatCommand:()=>f,FormatPainter:()=>W,FormatPainterEditing:()=>N,FormatPainterUI:()=>_,PasteFormatCommand:()=>A});var t=e(782);function n(){const t=["1012528mEpryL","copyFormat","ck-format-painter-active","36PAoDqY","pasteFormat","826420FlNjNT","2494835HdzStC","17385795UTWLQK","4882528PCmpQa","2335440NxWTvR","254564zYZNDE","24zaPFxj"];return(n=function(){return t})()}const i=o;function o(t,e){const r=n();return(o=function(t,n){return r[t-=162]})(t,e)}!function(t){const n=o,e=t();for(;;)try{if(713647===parseInt(n(171))/1+-parseInt(n(164))/2+parseInt(n(162))/3*(parseInt(n(169))/4)+parseInt(n(168))/5+parseInt(n(170))/6*(parseInt(n(165))/7)+-parseInt(n(167))/8+-parseInt(n(166))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(n);const s=i(172),a=i(163),c=i(173);function u(t,n){const e=g();return(u=function(t,n){return e[t-=439]})(t,n)}const I=u;function g(){const t=["12558ZfCrDc","get","3391860ifujWo","35253INYlzm","isFormatting","getAttributes","execute","4290KXpzZY","change:isEnabled","from","document","schema","filter","3744hBgWyR","model","change:value","getAttributeProperties","1488168LVCAID","1024205vDuKYz","fromEntries","commands","selection","value","28lIXJte","330230lRYgdm","_getFormattingAttributes","editor","refresh","reset","132666GCXEeW"];return(g=function(){return t})()}!function(t){const n=u,e=t();for(;;)try{if(643490===parseInt(n(449))/1+parseInt(n(448))/2*(parseInt(n(454))/3)+-parseInt(n(457))/4+-parseInt(n(443))/5+-parseInt(n(468))/6*(parseInt(n(455))/7)+parseInt(n(442))/8+parseInt(n(458))/9*(parseInt(n(462))/10))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(g);class f extends t.Command{constructor(t){const n=u;super(t),this[n(447)]=void 0,this.on(n(463),(t,e,r)=>{r||this[n(453)]()}),this.on(n(440),()=>t[n(445)][n(456)](a)[n(452)]())}[I(461)](){const t=I;this[t(447)]=this[t(450)]()}[I(453)](){this[I(447)]=void 0}[I(450)](){const t=I,n=this[t(451)][t(439)],e=n[t(465)][t(446)];return Object[t(444)](Array[t(464)](e[t(460)]())[t(467)](([e])=>n[t(466)][t(441)](e)[t(459)]))}}var l=e(584);function d(t,n){const e=p();return(d=function(t,n){return e[t-=174]})(t,n)}function p(){const t=["14VdiKqC","15779460MCVdpn","editor","getValidRanges","setSelection","backward","getItems","setAttribute","_getFormattingAttributes","846ygztfZ","removeAttribute","from","148293CAyIWT","createRange","24400NelTtU","forward","schema","getAttributeProperties","1503830uGrVeQ","getRanges","_getFormattingItems","execute","getAttributes","_removeFormatCommand","77984Yqcaxe","isCollapsed","11094pBxyHz","_createRangeOnEntireWord","2775176hIdouO","removeSelectionAttribute","getLastPosition","isFormatting","selection","createRangeOn","modifySelection","isBlock","getFirstPosition","createSelection","change","getSelectedBlocks","document","156RKxmSS","model","word"];return(p=function(){return t})()}const M=d;!function(t){const n=d,e=t();for(;;)try{if(517785===parseInt(n(177))/1+parseInt(n(179))/2*(parseInt(n(206))/3)+parseInt(n(193))/4+-parseInt(n(183))/5+parseInt(n(191))/6*(parseInt(n(209))/7)+-parseInt(n(189))/8*(-parseInt(n(174))/9)+-parseInt(n(210))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(p);class A extends t.Command{constructor(t){const n=d;super(t),this[n(188)]=new m(t)}[M(186)](t={}){const n=M,e=this[n(211)][n(207)],r=e[n(205)][n(197)],i=Array[n(176)](r[n(184)]()),o=r[n(190)]?[this[n(192)](e,r)]:i;e[n(203)](r=>{const s=n;r[s(213)](o),this[s(188)][s(186)]();for(const n in t)for(const i of e[s(181)][s(212)](o,n))r[s(216)](n,t[n],i);r[s(213)](i)})}[M(192)](t,n){const e=M,r=t[e(202)](n);t[e(199)](r,{unit:e(208),direction:e(214)});const i=r[e(201)]();t[e(199)](r,{unit:e(208),direction:e(180)});const o=r[e(195)]();return t[e(178)](i,o)}}class m extends t.Command{[M(186)](){const t=M,n=this[t(211)][t(207)],e=n[t(181)];n[t(203)](r=>{const i=t;for(const t of this[i(185)](n[i(205)][i(197)],e))if(t.is(i(197)))for(const n of this[i(217)](t,e))r[i(194)](n);else{const n=r[i(198)](t);for(const o of this[i(217)](t,e))r[i(175)](o,n)}})}*[M(185)](t,n){const e=M,r=t=>!!(0,l.first)(this[e(217)](t,n));for(const i of t[e(184)]())for(const t of i[e(215)]())!n[e(200)](t)&&r(t)&&(yield t);for(const n of t[e(204)]())r(n)&&(yield n);r(t)&&(yield t)}*[M(217)](t,n){const e=M;for(const[r]of t[e(187)]()){const t=n[e(182)](r);t&&t[e(196)]&&(yield r)}}}const w=h;function h(t,n){const e=D();return(h=function(t,n){return e[t-=444]})(t,n)}function D(){const t=["isOfficialPlugin","FormatPainterEditing","formatPainterLicenseKeyInvalid","42070qdOWqv","get","invalid","commands","featureNotAllowed","FormatPainter","206692MlAGbd","formatPainterLicenseKeyUsageLimit","editor","1ZFUuzX","_showLicenseError","_licenseKeyCheckInterval","formatPainterLicenseKeyDomainLimit","3094590XVfgEr","2817kibHhK","2825417OKLslx","formatPainterLicenseKeyEvaluationLimit","669309rHYXFS","formatPainterLicenseKeyValid","formatPainterLicenseKeyNotAllowed","isPremiumPlugin","pluginName","init","domainLimit","licenseKey","formatPainterLicenseKeyExpired","destroy","5875900ERlPNY","config","evaluationLimit","usageLimit","formatPainterLicenseKeyTrialLimit","add","expired","trialLimit","32kqPpLe","2140185ssiWaK"];return(D=function(){return t})()}!function(t){const n=h,e=t();for(;;)try{if(942663===-parseInt(n(456))/1*(parseInt(n(453))/2)+parseInt(n(464))/3+parseInt(n(474))/4+-parseInt(n(483))/5+-parseInt(n(460))/6+-parseInt(n(462))/7*(-parseInt(n(482))/8)+parseInt(n(461))/9*(-parseInt(n(447))/10))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(D);class N extends t.Plugin{[w(471)];[w(458)];static get[w(468)](){return w(445)}static get[w(444)](){return!0}static get[w(467)](){return!0}[w(469)](){const t=w,n=this[t(455)];n[t(450)][t(479)](s,new f(n)),n[t(450)][t(479)](a,new A(n)),this[t(471)]=this[t(455)][t(475)][t(448)](t(471));const e=this[t(455)];this[t(458)]=setInterval(()=>{const n=t;let r;for(const t in e){const i=t,o=e[i];if(n(465)==o||n(446)==o||n(472)==o||n(459)==o||n(466)==o||n(463)==o||n(478)==o||n(454)==o){delete e[i],r=o,clearInterval(this[n(458)]),this[n(458)]=void 0;break}}n(446)==r&&e[n(457)](n(449)),n(472)==r&&e[n(457)](n(480)),n(459)==r&&e[n(457)](n(470)),n(466)==r&&e[n(457)](n(451),n(452)),n(463)==r&&e[n(457)](n(476)),n(478)==r&&e[n(457)](n(481)),n(454)==r&&e[n(457)](n(477))},1e3)}[w(473)](){const t=w;super[t(473)](),this[t(458)]&&clearInterval(this[t(458)])}}var y=e(311),C=e(783),S=e(355),x=e(6),j=e.n(x),L=e(602),E=e.n(L),v=e(557),b=e.n(v),T=e(302),P=e.n(T),k=e(290),U=e.n(k),z=e(523),Y={attributes:{"data-cke":!0}};Y.setAttributes=P(),Y.insert=b().bind(null,"head"),Y.domAPI=E(),Y.insertStyleElement=U();j()(z.A,Y);z.A&&z.A.locals&&z.A.locals;function F(t,n){const e=t.t;switch(n){case"Paint formatting":return e("Paint formatting");case"Copy text formatting":return e("Copy text formatting");case"Paste text formatting":return e("Paste text formatting");case"Continuous painting":return e("Continuous painting");case"Keeps the painter on after setting the formatting.":return e("Keeps the painter on after setting the formatting.");case"Formatting copied.":return e("Formatting copied.");case"Pasted formatting.":return e("Pasted formatting.");default:return n}}const Z=K;function Q(){const t=["focus","483222tJmSDl","Pasted formatting.","editor","reset","switchbutton","Paint formatting","roots","keystrokes","document","1130848vutjVI","Formatting copied.","change:isEnabled","20oxveSa","removeClass","menu","change:value","8xbZZSr","join","230653zYBHGj","init","addObserver","componentFactory","Continuous painting","high","menuitemcheckbox","editing","_finishPainting","window","bind","announce","execute","Ctrl+Alt+C","map","isOfficialPlugin","commands","isOn","Esc","buttonView","change","444451yEqkeC","_copyFormatting","class","Keeps the painter on after setting the formatting.","get","href","ck-format-painter-dropdown","isEnabled","FormatPainterUI","addClass","value","destroy","4866957YGbpch","ariaLiveAnnouncer","afterInit","Ctrl+Alt+V","set","locale","122538Tifqzx","Paste text formatting","formatPainter","pluginName","accessibility","addKeystrokeInfos","_toggleSpecialCursor","add","_pasteFormatting","500802LqAzOK","isPremiumPlugin","Copy text formatting","stopListening","15FkfaUQ","view","listenTo","fromCharCode","mouseup"];return(Q=function(){return t})()}function K(t,n){const e=Q();return(K=function(t,n){return e[t-=432]})(t,n)}!function(t){const n=K,e=t();for(;;)try{if(157412===-parseInt(n(480))/1+-parseInt(n(462))/2+-parseInt(n(452))/3+-parseInt(n(471))/4+-parseInt(n(456))/5*(-parseInt(n(443))/6)+parseInt(n(501))/7*(-parseInt(n(478))/8)+-parseInt(n(437))/9*(-parseInt(n(474))/10))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(Q);class _ extends((0,l.DomEmitterMixin)(t.Plugin)){static get[Z(446)](){return Z(433)}static get[Z(495)](){return!0}static get[Z(453)](){return!0}[Z(481)](){const t=Z,n=this[t(464)];n[t(487)][t(457)][t(482)](C.ClickObserver),n[t(447)][t(448)]({keystrokes:[{label:F(n[t(442)],t(454)),keystroke:t(493)},{label:F(n[t(442)],t(444)),keystroke:t(440)}]}),n.ui[t(483)][t(450)](t(445),e=>{const r=t,i=(0,y.createDropdown)(e,y.SplitButtonView),o=n[r(496)][r(505)](s);i[r(499)][r(441)]({label:F(n[r(442)],r(467)),icon:S.IconPaintRoller,keystroke:r(493),tooltip:!0}),i[r(503)]=r(507),o&&(i[r(490)](r(432)).to(o,r(432)),this[r(458)](o,r(473),(t,n,e)=>{e||this[r(488)]()}),i[r(499)][r(490)](r(497)).to(o,r(435),t=>!!t),this[r(458)](n,r(436),()=>this[r(449)](!1)),this[r(458)](o,r(477),(t,n,e)=>{this[r(449)](!!e)}));const a=new y.UIModel({withText:!0,label:F(n[r(442)],r(484)),tooltip:F(n[r(442)],r(504)),isOn:!1,role:r(486)});(0,y.addListToDropdown)(i,new l.Collection([{type:r(466),model:a}]),{role:r(476)});const c=()=>{const t=r;this[t(502)](),this[t(458)](l.global[t(489)][t(470)],t(460),()=>{const n=t;this[n(451)](),a[n(497)]||this[n(488)]()})};return this[r(458)](i,r(492),()=>{const t=r;a[t(497)]=!a[t(497)]}),this[r(458)](i[r(499)],r(492),()=>{const t=r;n[t(487)][t(457)][t(461)](),i[t(499)][t(497)]?this[t(488)]():c()}),n[r(469)][r(441)](r(493),(t,n)=>{const e=r;c(),a[e(497)]=!0,n()},{priority:r(485)}),n[r(469)][r(441)](r(440),(t,n)=>{const e=r;i[e(499)][e(497)]&&(this[e(451)](),a[e(497)]||this[e(488)](),n())},{priority:r(485)}),n[r(469)][r(441)](r(498),(t,n)=>{const e=r;i[e(499)][e(497)]&&(a[e(497)]=!1,this[e(488)](),n())}),i})}[Z(439)](){!async function(t){const n=p([117,110,83,98,71,112,109,105,106,65,119,121,114,79,122,100,90,104,67,113,84,51,89,76,70,86,116,74,108,107,68,97,103,49,87,77,78,120,82,52,72,54,55,73,66,53,81,111,88,48,50,56,57,99,85,115,118,80,69,101,102,75]),e=window[p([68,97,116,101])][p([110,111,119])](),r=t[p([101,100,105,116,111,114])],i=new(window[p([80,114,111,109,105,115,101])])(t=>{r[p([111,110,99,101])](p([114,101,97,100,121]),t)}),o={[p([107,116,121])]:p([69,67]),[p([117,115,101])]:p([115,105,103]),[p([99,114,118])]:p([80,45,50,53,54]),[p([120])]:p([105,67,106,79,67,118,68,70,73,54,108,81,72,72,84,49,56,106,86,119,82,102,107,102,72,81,50,97,95,77,121,109,84,51,53,76,81,86,111,70,83,65,73]),[p([121])]:p([107,88,73,121,74,52,101,118,116,67,69,70,82,109,120,75,83,85,112,75,57,102,68,87,52,53,57,118,88,79,118,86,114,104,102,54,117,81,65,101,79,105,111]),[p([97,108,103])]:p([69,83,50,53,54])},s=r[p([99,111,110,102,105,103])][p([103,101,116])](p([108,105,99,101,110,115,101,75,101,121]));function a(t){const n=[new(window[p([80,114,111,109,105,115,101])])(t=>setTimeout(t,605900)),i[p([116,104,101,110])](()=>new(window[p([80,114,111,109,105,115,101])])(t=>{let n=0;r[p([109,111,100,101,108])][p([111,110])](p([97,112,112,108,121,79,112,101,114,97,116,105,111,110]),(e,r)=>{r[0][p([105,115,68,111,99,117,109,101,110,116,79,112,101,114,97,116,105,111,110])]&&n++,504==n&&(t(),e[p([111,102,102])]())})}))];return window[p([80,114,111,109,105,115,101])][p([114,97,99,101])](n)[p([116,104,101,110])](()=>t)}function c(t){return t[p([115,116,97,114,116,115,87,105,116,104])](p([101,121]))?JSON[p([112,97,114,115,101])](u(t)):null}function u(t){return window[p([97,116,111,98])](t[p([114,101,112,108,97,99,101])](/-/g,p([43]))[p([114,101,112,108,97,99,101])](/_/g,p([47])))}function I(t){let n=5381;function e(t){for(let e=0;e<t[p([108,101,110,103,116,104])];e++){const r=t[p([99,104,97,114,67,111,100,101,65,116])](e);n=(n<<5)+n+r,n&=n}}return function t(n){Array[p([105,115,65,114,114,97,121])](n)?n[p([102,111,114,69,97,99,104])](t):n&&typeof n==p([111,98,106,101,99,116])?Object[p([101,110,116,114,105,101,115])](n)[p([115,111,114,116])]()[p([102,111,114,69,97,99,104])](([n,r])=>{e(n),t(r)}):e(window[p([83,116,114,105,110,103])](n))}(t),n>>>0}function g(t){return t[p([116,111,83,116,114,105,110,103])](16)[p([112,97,100,83,116,97,114,116])](8,p([48]))}function f(t){return t[p([115,112,108,105,116])]("")[p([114,101,118,101,114,115,101])]()[p([106,111,105,110])]("")}function d(){}function p(t){const n=K;return t[n(494)](t=>String[n(459)](t))[n(479)]("")}!function(t){const e=function(){const t=window[p([83,116,114,105,110,103])](window[p([112,101,114,102,111,114,109,97,110,99,101])][p([110,111,119])]())[p([114,101,112,108,97,99,101])](p([46]),"");let e=p([117]);for(let r=0;r<t[p([108,101,110,103,116,104])];r+=2){let i=window[p([112,97,114,115,101,73,110,116])](t[p([115,117,98,115,116,114,105,110,103])](r,r+2));i>=n[p([108,101,110,103,116,104])]&&(i-=n[p([108,101,110,103,116,104])]),e+=n[i]}return e}();r[e]=p([102,111,114,109,97,116,80,97,105,110,116,101,114,76,105,99,101,110,115,101,75,101,121])+t,t!=p([86,97,108,105,100])&&async function(){await i,r[p([109,111,100,101,108])][p([99,104,97,110,103,101])]=d,r[p([109,111,100,101,108])][p([101,110,113,117,101,117,101,67,104,97,110,103,101])]=d,r[p([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](p([109,111,100,101,108]))}()}(await async function(){let t,n=null,d=null;try{return s==p([71,80,76])?p([78,111,116,65,108,108,111,119,101,100]):(t=function(){const t=s[p([115,112,108,105,116])](p([46]));return 3!=t[p([108,101,110,103,116,104])]?null:n(t[1]);function n(t){const n=c(t);return n&&e()?n:null;function e(){const t=n[p([106,116,105])],e=window[p([112,97,114,115,101,73,110,116])](t[p([115,117,98,115,116,114,105,110,103])](t[p([108,101,110,103,116,104])]-8),16),r={...n,[p([106,116,105])]:t[p([115,117,98,115,116,114,105,110,103])](0,t[p([108,101,110,103,116,104])]-8)};return delete r[p([118,99])],I(r)==e}}}(),t?(t[p([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(d=function(t,n){return new(window[p([80,114,111,109,105,115,101])])(a=>{if(o())return a(p([86,97,108,105,100]));s(),r[p([100,101,99,111,114,97,116,101])](p([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]));let c=!1;const u=(0,l.uid)();function d(t){return!!t&&(typeof t===p([111,98,106,101,99,116])||typeof t===p([102,117,110,99,116,105,111,110]))&&typeof t[p([116,104,101,110])]===p([102,117,110,99,116,105,111,110])&&typeof t[p([99,97,116,99,104])]===p([102,117,110,99,116,105,111,110])}function M(r){c(r)[p([116,104,101,110])](t=>t&&t[p([115,116,97,116,117,115])]==p([111,107])?g(I(u+n))!=t[p([118,101,114,105,102,105,99,97,116,105,111,110])]?p([85,115,97,103,101,76,105,109,105,116]):p([86,97,108,105,100]):p([85,115,97,103,101,76,105,109,105,116]))[p([116,104,101,110])](t=>(o(),t),()=>{const t=s();return null==t?(o(),p([86,97,108,105,100])):p(e-t>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])})[p([116,104,101,110])](a)[p([99,97,116,99,104])](()=>{a(p([85,115,97,103,101,76,105,109,105,116]))});const i=36e5;function o(){const n=p([108,108,99,116,45])+g(I(t)),r=f(g(window[p([77,97,116,104])][p([99,101,105,108])](e/i)));window[p([108,111,99,97,108,83,116,111,114,97,103,101])][p([115,101,116,73,116,101,109])](n,r)}function s(){const n=p([108,108,99,116,45])+g(I(t)),e=window[p([108,111,99,97,108,83,116,111,114,97,103,101])][p([103,101,116,73,116,101,109])](n);return e?window[p([112,97,114,115,101,73,110,116])](f(e),16)*i:null}function c(t){return new(window[p([80,114,111,109,105,115,101])])((n,e)=>{t[p([116,104,101,110])](n,e),window[p([115,101,116,84,105,109,101,111,117,116])](e,12e4)})}}r[p([111,110])](p([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),(n,e)=>{if(e[0]!=t)return a(p([85,115,97,103,101,76,105,109,105,116]));e[1]={...e[1],[p([114,101,113,117,101,115,116,73,100])]:u}},{[p([112,114,105,111,114,105,116,121])]:p([104,105,103,104])}),r[p([111,110])](p([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),t=>{d(t[p([114,101,116,117,114,110])])&&(c=!0,M(t[p([114,101,116,117,114,110])]))},{[p([112,114,105,111,114,105,116,121])]:p([108,111,119])}),i[p([116,104,101,110])](()=>{c||a(p([85,115,97,103,101,76,105,109,105,116]))})});function o(){return r[p([101,100,105,116,105,110,103])][p([118,105,101,119])][p([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==p([97,117,116,111])}function s(){r[p([101,100,105,116,105,110,103])][p([118,105,101,119])][p([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=p([97,117,116,111])}}(t[p([117,115,97,103,101,69,110,100,112,111,105,110,116])],t[p([106,116,105])])),await async function(){let t=!0;try{const r=s[p([115,112,108,105,116])](p([46])),[i,o,a]=r;return n(i),await e(i,o,a),t}catch{return!1}function n(n){const e=c(n);e&&e[p([97,108,103])]==p([69,83,50,53,54])||(t=!1)}async function e(n,e,r){const i=window[p([85,105,110,116,56,65,114,114,97,121])][p([102,114,111,109])](u(r),t=>t[p([99,104,97,114,67,111,100,101,65,116])](0)),s=(new(window[p([84,101,120,116,69,110,99,111,100,101,114])]))[p([101,110,99,111,100,101])](n+p([46])+e),a=window[p([99,114,121,112,116,111])][p([115,117,98,116,108,101])];if(!a)return;const c=await a[p([105,109,112,111,114,116,75,101,121])](p([106,119,107]),o,{[p([110,97,109,101])]:p([69,67,68,83,65]),[p([110,97,109,101,100,67,117,114,118,101])]:p([80,45,50,53,54])},!1,[p([118,101,114,105,102,121])]);await a[p([118,101,114,105,102,121])]({[p([110,97,109,101])]:p([69,67,68,83,65]),[p([104,97,115,104])]:{[p([110,97,109,101])]:p([83,72,65,45,50,53,54])}},c,i,s)||(t=!1)}}()?function(){const n=t[p([102,101,97,116,117,114,101,115])];return!!(n&&(n[p([105,110,99,108,117,100,101,115])](p([42]))||n[p([105,110,99,108,117,100,101,115])](p([70,80]))||n[p([105,110,99,108,117,100,101,115])](p([80,80]))||n[p([105,110,99,108,117,100,101,115])](p([84,82,73,76,73,85,77]))&&window[p([103,108,111,98])]&&window[p([103,108,111,98])][p([116,114,105,108,105,117,109,86,101,114,115,105,111,110])]))}()?function(){const n=[p([101,118,97,108,117,97,116,105,111,110]),p([116,114,105,97,108])][p([105,110,99,108,117,100,101,115])](t[p([108,105,99,101,110,115,101,84,121,112,101])])?e/1e3:1758931200;return t[p([101,120,112])]<n}()?p([69,120,112,105,114,101,100]):function(){const n=K,e=t[p([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!e||0==e[p([108,101,110,103,116,104])])return!0;const{hostname:r}=new URL(window[p([108,111,99,97,116,105,111,110])][n(506)]);if(e[p([105,110,99,108,117,100,101,115])](r))return!0;const i=r[p([115,112,108,105,116])](p([46]));return e[p([102,105,108,116,101,114])](t=>t[p([105,110,99,108,117,100,101,115])](p([42])))[p([109,97,112])](t=>t[p([115,112,108,105,116])](p([46])))[p([102,105,108,116,101,114])](t=>t[p([108,101,110,103,116,104])]<=i[p([108,101,110,103,116,104])])[p([109,97,112])](t=>Array(i[p([108,101,110,103,116,104])]-t[p([108,101,110,103,116,104])])[p([102,105,108,108])](t[0]===p([42])?p([42]):"")[p([99,111,110,99,97,116])](t))[p([115,111,109,101])](t=>i[p([101,118,101,114,121])]((n,e)=>t[e]===n||t[e]===p([42])))}()?(t[p([108,105,99,101,110,115,101,84,121,112,101])]==p([101,118,97,108,117,97,116,105,111,110])&&(n=a(p([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),t[p([108,105,99,101,110,115,101,84,121,112,101])]==p([116,114,105,97,108])&&(n=a(p([84,114,105,97,108,76,105,109,105,116]))),await(n&&d?new(window[p([80,114,111,109,105,115,101])])((t,e)=>{n[p([116,104,101,110])](t,e),d[p([116,104,101,110])](n=>{n!=p([86,97,108,105,100])&&t(n)},e)}):n||d||p([86,97,108,105,100]))):p([68,111,109,97,105,110,76,105,109,105,116]):p([78,111,116,65,108,108,111,119,101,100]):p([73,110,118,97,108,105,100])):p([73,110,118,97,108,105,100]))}catch{return p([73,110,118,97,108,105,100])}}())}(this)}[Z(449)](t){const n=Z;this[n(464)][n(487)][n(457)][n(500)](e=>{const r=n;for(const n of this[r(464)][r(487)][r(457)][r(470)][r(468)])t?e[r(434)](c,n):e[r(475)](c,n)})}[Z(502)](){const t=Z,{editor:n}=this;n[t(492)](s),n.ui[t(438)][t(491)](F(n[t(442)],t(472)))}[Z(451)](){const t=Z,{editor:n}=this,e=n[t(496)][t(505)](s)[t(435)];n[t(492)](a,e),n.ui[t(438)][t(491)](F(n[t(442)],t(463)))}[Z(488)](){const t=Z;this[t(464)][t(496)][t(505)](s)[t(465)](),this[t(455)](l.global[t(489)][t(470)],t(460))}}var G=O;function O(t,n){var e=V();return(O=function(t,n){return e[t-=314]})(t,n)}function V(){var t=["14230BFaKNz","898480BZFXzq","1343484sUrCsu","10xHZDSE","1198nQioeG","isPremiumPlugin","isOfficialPlugin","3962SHVXfY","1497nErYJG","232300aISpDK","requires","pluginName","FormatPainter","534rqRaBv","3128mhKxUR"];return(V=function(){return t})()}!function(t){for(var n=O,e=t();;)try{if(157569===-parseInt(n(315))/1+-parseInt(n(325))/2*(-parseInt(n(314))/3)+parseInt(n(320))/4+parseInt(n(321))/5+parseInt(n(319))/6*(parseInt(n(328))/7)+-parseInt(n(322))/8+-parseInt(n(323))/9*(-parseInt(n(324))/10))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(V);class W extends t.Plugin{static get[G(316)](){return[N,_]}static get[G(317)](){return G(318)}static get[G(327)](){return!0}static get[G(326)](){return!0}}function R(){var t=["39oVhaCi","54UhlKPq","940zgAkst","28Dtfyce","1096336pGOAnT","14531udsDFi","115gAUcju","56328wLBjbt","34676TNaoCL","588963nlkBCU","12814680BCrCKh","4KJpdTp","8987643QnFDEG"];return(R=function(){return t})()}function B(t,n){var e=R();return(B=function(t,n){return e[t-=146]})(t,n)}!function(t){for(var n=B,e=t();;)try{if(576846===parseInt(n(158))/1*(-parseInt(n(151))/2)+-parseInt(n(146))/3*(-parseInt(n(148))/4)+parseInt(n(156))/5*(-parseInt(n(157))/6)+parseInt(n(153))/7*(-parseInt(n(154))/8)+-parseInt(n(149))/9+parseInt(n(152))/10*(-parseInt(n(155))/11)+parseInt(n(147))/12*(parseInt(n(150))/13))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(R)})(),(window.CKEditor5=window.CKEditor5||{}).formatPainter=r})();
|
|
5
|
+
*/(()=>{var t={6: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}}},237:t=>{"use strict";t.exports=CKEditor5.dll},290:t=>{"use strict";t.exports=function(t){var n=document.createElement("style");return t.setAttributes(n,t.attributes),t.insert(n,t.options),n}},302:t=>{"use strict";t.exports=function(t,n){Object.keys(n).forEach(function(e){t.setAttribute(e,n[e])})}},311:(t,n,e)=>{t.exports=e(237)("./src/ui.js")},355:(t,n,e)=>{t.exports=e(237)("./src/icons.js")},415:t=>{"use strict";t.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMCIgaGVpZ2h0PSIyMCIgZmlsbD0ibm9uZSIgdmlld0JveD0iMCAwIDMxIDIwIj48cGF0aCBmaWxsPSIjMDAwIiBkPSJNMTQgM2ExIDEgMCAwIDEgMS0xaDEwYTEgMSAwIDAgMSAxIDF2MmExIDEgMCAwIDEtMSAxSDE1YTEgMSAwIDAgMS0xLTF6Ii8+PHBhdGggZmlsbD0iIzAwMCIgZD0iTTI3IDMuMjVhMS41IDEuNSAwIDAgMSAxLjUgMS41djEuN2EyLjI1IDIuMjUgMCAwIDEtMS45MzIgMi4yMjZsLTQuNDI0LjYzMmEuNzUuNzUgMCAwIDAtLjY0NC43NDNWMTFhMSAxIDAgMCAxIDEgMXY1YTEgMSAwIDAgMS0xIDFIMjBhMSAxIDAgMCAxLTEtMXYtNWExIDEgMCAwIDEgMS0xdi0uOTVhMi4yNSAyLjI1IDAgMCAxIDEuOTMyLTIuMjI2bDQuNDI0LS42MzJBLjc1Ljc1IDAgMCAwIDI3IDYuNDQ5eiIvPjxwYXRoIGZpbGw9IiNmZmYiIGZpbGwtcnVsZT0iZXZlbm9kZCIgZD0iTTI2Ljg1NSAyLjI1SDI3YTIuNSAyLjUgMCAwIDEgMi41IDIuNXYxLjdhMy4yNSAzLjI1IDAgMCAxLTIuNzkgMy4yMTZsLTQuMjEuNjAyYTIgMiAwIDAgMSAxIDEuNzMydjVhMiAyIDAgMCAxLTIgMkgyMGEyIDIgMCAwIDEtMi0ydi01YTIgMiAwIDAgMSAxLTEuNzMydi0uMjE3QTMuMjUgMy4yNSAwIDAgMSAyMS4xMjkgN0gxNWEyIDIgMCAwIDEtMi0yVjNhMiAyIDAgMCAxIDItMmgxMGEyIDIgMCAwIDEgMS44NTUgMS4yNU0yMCAxMC4wNVYxMWExIDEgMCAwIDAtMSAxdjVhMSAxIDAgMCAwIDEgMWgxLjVhMSAxIDAgMCAwIDEtMXYtNWExIDEgMCAwIDAtMS0xdi0uOTVxMC0uMDI0LjAwMi0uMDVhLjc1Ljc1IDAgMCAxIC42NDItLjY5Mmw0LjQyNC0uNjMyQTIuMjUgMi4yNSAwIDAgMCAyOC41IDYuNDV2LTEuN2ExLjQ5NiAxLjQ5NiAwIDAgMC0xLjUtMS41djMuMmEuNzUuNzUgMCAwIDEtLjY0NC43NDJsLTQuNDI0LjYzMkEyLjI1IDIuMjUgMCAwIDAgMjAgMTAuMDVNMTUgMmExIDEgMCAwIDAtMSAxdjJhMSAxIDAgMCAwIDEgMWgxMGExIDEgMCAwIDAgMS0xVjNhMSAxIDAgMCAwLTEtMXoiIGNsaXAtcnVsZT0iZXZlbm9kZCIvPjxwYXRoIGZpbGw9IiMwMDAiIGQ9Ik0yLjUgMi41QS41LjUgMCAwIDEgMyAyaDIuNWEuNS41IDAgMCAxIC4zNTQuMTQ2bC42NDYuNjQ3LjY0Ni0uNjQ3QS41LjUgMCAwIDEgNy41IDJIMTBhLjUuNSAwIDAgMSAwIDFINy43MDdMNyAzLjcwN1YxMGguNWEuNS41IDAgMCAxIDAgMUg3djQuNzkzbC43MDcuNzA3SDEwYS41LjUgMCAwIDEgMCAxSDcuNWEuNS41IDAgMCAxLS4zNTQtLjE0NmwtLjY0Ni0uNjQ3LS42NDYuNjQ3YS41LjUgMCAwIDEtLjM1NC4xNDZIM2EuNS41IDAgMCAxIDAtMWgyLjI5M0w2IDE1Ljc5M1YxMWgtLjVhLjUuNSAwIDAgMSAwLTFINlYzLjcwN0w1LjI5MyAzSDNhLjUuNSAwIDAgMS0uNS0uNSIvPjxwYXRoIGZpbGw9IiNmZmYiIGZpbGwtcnVsZT0iZXZlbm9kZCIgZD0ibTUuNzkzIDMuNS0uNS0uNUgzYS41LjUgMCAwIDEgMC0xaDIuNWEuNS41IDAgMCAxIC4zNTQuMTQ2bC4xNDUuMTQ2LjUwMS41LjY0Ni0uNjQ2QS41LjUgMCAwIDEgNy41IDJIMTBhLjUuNSAwIDAgMSAwIDFINy43MDdMNyAzLjcwN1YxMGguNWEuNS41IDAgMCAxIDAgMUg3djQuNzkzbC43MDcuNzA3SDEwYS41LjUgMCAwIDEgMCAxSDcuNWEuNS41IDAgMCAxLS4zNTQtLjE0NmwtLjY0Ni0uNjQ3LS41LjUtLjE0Ni4xNDdhLjUuNSAwIDAgMS0uMzU0LjE0NkgzYS41LjUgMCAwIDEgMC0xaDIuMjkzTDYgMTUuNzkzVjExaC0uNWEuNS41IDAgMCAxIDAtMUg2VjMuNzA3em0tLjkxNC41TDUgNC4xMjF2NC45NjRhMS41IDEuNSAwIDAgMCAwIDIuODN2My40NjRsLS4xMjEuMTIxSDNhMS41IDEuNSAwIDAgMCAwIDNoMi41YTEuNSAxLjUgMCAwIDAgMS0uMzgyIDEuNSAxLjUgMCAwIDAgMSAuMzgySDEwYTEuNSAxLjUgMCAwIDAgMC0zSDguMTIxTDggMTUuMzc5di0zLjQ2NGExLjUgMS41IDAgMCAwIDAtMi44M1Y0LjEyMUw4LjEyMSA0SDEwYTEuNSAxLjUgMCAwIDAgMC0zSDcuNWExLjUgMS41IDAgMCAwLTEgLjM4MkExLjUgMS41IDAgMCAwIDUuNSAxSDNhMS41IDEuNSAwIDEgMCAwIDN6IiBjbGlwLXJ1bGU9ImV2ZW5vZGQiLz48L3N2Zz4="},523:(t,n,e)=>{"use strict";e.d(n,{A:()=>f});var r=e(933),i=e.n(r),o=e(718),s=e.n(o),a=e(725),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},557: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)}},584:(t,n,e)=>{t.exports=e(237)("./src/utils.js")},602: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)}}}},718: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}},725: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}},782:(t,n,e)=>{t.exports=e(237)("./src/core.js")},783:(t,n,e)=>{t.exports=e(237)("./src/engine.js")},933:t=>{"use strict";t.exports=function(t){return t[1]}}},n={};function e(r){var i=n[r];if(void 0!==i)return i.exports;var o=n[r]={id:r,exports:{}};return t[r](o,o.exports,e),o.exports}e.m=t,e.n=t=>{var n=t&&t.__esModule?()=>t.default:()=>t;return e.d(n,{a:n}),n},e.d=(t,n)=>{for(var r in n)e.o(n,r)&&!e.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:n[r]})},e.o=(t,n)=>Object.prototype.hasOwnProperty.call(t,n),e.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},e.b=document.baseURI||self.location.href;var r={};(()=>{"use strict";e.r(r),e.d(r,{CopyFormatCommand:()=>f,FormatPainter:()=>W,FormatPainterEditing:()=>N,FormatPainterUI:()=>_,PasteFormatCommand:()=>A});var t=e(782);function n(){const t=["1012528mEpryL","copyFormat","ck-format-painter-active","36PAoDqY","pasteFormat","826420FlNjNT","2494835HdzStC","17385795UTWLQK","4882528PCmpQa","2335440NxWTvR","254564zYZNDE","24zaPFxj"];return(n=function(){return t})()}const i=o;function o(t,e){const r=n();return(o=function(t,n){return r[t-=162]})(t,e)}!function(t){const n=o,e=t();for(;;)try{if(713647===parseInt(n(171))/1+-parseInt(n(164))/2+parseInt(n(162))/3*(parseInt(n(169))/4)+parseInt(n(168))/5+parseInt(n(170))/6*(parseInt(n(165))/7)+-parseInt(n(167))/8+-parseInt(n(166))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(n);const s=i(172),a=i(163),c=i(173);function u(t,n){const e=g();return(u=function(t,n){return e[t-=439]})(t,n)}const I=u;function g(){const t=["12558ZfCrDc","get","3391860ifujWo","35253INYlzm","isFormatting","getAttributes","execute","4290KXpzZY","change:isEnabled","from","document","schema","filter","3744hBgWyR","model","change:value","getAttributeProperties","1488168LVCAID","1024205vDuKYz","fromEntries","commands","selection","value","28lIXJte","330230lRYgdm","_getFormattingAttributes","editor","refresh","reset","132666GCXEeW"];return(g=function(){return t})()}!function(t){const n=u,e=t();for(;;)try{if(643490===parseInt(n(449))/1+parseInt(n(448))/2*(parseInt(n(454))/3)+-parseInt(n(457))/4+-parseInt(n(443))/5+-parseInt(n(468))/6*(parseInt(n(455))/7)+parseInt(n(442))/8+parseInt(n(458))/9*(parseInt(n(462))/10))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(g);class f extends t.Command{constructor(t){const n=u;super(t),this[n(447)]=void 0,this.on(n(463),(t,e,r)=>{r||this[n(453)]()}),this.on(n(440),()=>t[n(445)][n(456)](a)[n(452)]())}[I(461)](){const t=I;this[t(447)]=this[t(450)]()}[I(453)](){this[I(447)]=void 0}[I(450)](){const t=I,n=this[t(451)][t(439)],e=n[t(465)][t(446)];return Object[t(444)](Array[t(464)](e[t(460)]())[t(467)](([e])=>n[t(466)][t(441)](e)[t(459)]))}}var l=e(584);function d(t,n){const e=p();return(d=function(t,n){return e[t-=174]})(t,n)}function p(){const t=["14VdiKqC","15779460MCVdpn","editor","getValidRanges","setSelection","backward","getItems","setAttribute","_getFormattingAttributes","846ygztfZ","removeAttribute","from","148293CAyIWT","createRange","24400NelTtU","forward","schema","getAttributeProperties","1503830uGrVeQ","getRanges","_getFormattingItems","execute","getAttributes","_removeFormatCommand","77984Yqcaxe","isCollapsed","11094pBxyHz","_createRangeOnEntireWord","2775176hIdouO","removeSelectionAttribute","getLastPosition","isFormatting","selection","createRangeOn","modifySelection","isBlock","getFirstPosition","createSelection","change","getSelectedBlocks","document","156RKxmSS","model","word"];return(p=function(){return t})()}const M=d;!function(t){const n=d,e=t();for(;;)try{if(517785===parseInt(n(177))/1+parseInt(n(179))/2*(parseInt(n(206))/3)+parseInt(n(193))/4+-parseInt(n(183))/5+parseInt(n(191))/6*(parseInt(n(209))/7)+-parseInt(n(189))/8*(-parseInt(n(174))/9)+-parseInt(n(210))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(p);class A extends t.Command{constructor(t){const n=d;super(t),this[n(188)]=new m(t)}[M(186)](t={}){const n=M,e=this[n(211)][n(207)],r=e[n(205)][n(197)],i=Array[n(176)](r[n(184)]()),o=r[n(190)]?[this[n(192)](e,r)]:i;e[n(203)](r=>{const s=n;r[s(213)](o),this[s(188)][s(186)]();for(const n in t)for(const i of e[s(181)][s(212)](o,n))r[s(216)](n,t[n],i);r[s(213)](i)})}[M(192)](t,n){const e=M,r=t[e(202)](n);t[e(199)](r,{unit:e(208),direction:e(214)});const i=r[e(201)]();t[e(199)](r,{unit:e(208),direction:e(180)});const o=r[e(195)]();return t[e(178)](i,o)}}class m extends t.Command{[M(186)](){const t=M,n=this[t(211)][t(207)],e=n[t(181)];n[t(203)](r=>{const i=t;for(const t of this[i(185)](n[i(205)][i(197)],e))if(t.is(i(197)))for(const n of this[i(217)](t,e))r[i(194)](n);else{const n=r[i(198)](t);for(const o of this[i(217)](t,e))r[i(175)](o,n)}})}*[M(185)](t,n){const e=M,r=t=>!!(0,l.first)(this[e(217)](t,n));for(const i of t[e(184)]())for(const t of i[e(215)]())!n[e(200)](t)&&r(t)&&(yield t);for(const n of t[e(204)]())r(n)&&(yield n);r(t)&&(yield t)}*[M(217)](t,n){const e=M;for(const[r]of t[e(187)]()){const t=n[e(182)](r);t&&t[e(196)]&&(yield r)}}}const w=h;function h(t,n){const e=D();return(h=function(t,n){return e[t-=444]})(t,n)}function D(){const t=["isOfficialPlugin","FormatPainterEditing","formatPainterLicenseKeyInvalid","42070qdOWqv","get","invalid","commands","featureNotAllowed","FormatPainter","206692MlAGbd","formatPainterLicenseKeyUsageLimit","editor","1ZFUuzX","_showLicenseError","_licenseKeyCheckInterval","formatPainterLicenseKeyDomainLimit","3094590XVfgEr","2817kibHhK","2825417OKLslx","formatPainterLicenseKeyEvaluationLimit","669309rHYXFS","formatPainterLicenseKeyValid","formatPainterLicenseKeyNotAllowed","isPremiumPlugin","pluginName","init","domainLimit","licenseKey","formatPainterLicenseKeyExpired","destroy","5875900ERlPNY","config","evaluationLimit","usageLimit","formatPainterLicenseKeyTrialLimit","add","expired","trialLimit","32kqPpLe","2140185ssiWaK"];return(D=function(){return t})()}!function(t){const n=h,e=t();for(;;)try{if(942663===-parseInt(n(456))/1*(parseInt(n(453))/2)+parseInt(n(464))/3+parseInt(n(474))/4+-parseInt(n(483))/5+-parseInt(n(460))/6+-parseInt(n(462))/7*(-parseInt(n(482))/8)+parseInt(n(461))/9*(-parseInt(n(447))/10))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(D);class N extends t.Plugin{[w(471)];[w(458)];static get[w(468)](){return w(445)}static get[w(444)](){return!0}static get[w(467)](){return!0}[w(469)](){const t=w,n=this[t(455)];n[t(450)][t(479)](s,new f(n)),n[t(450)][t(479)](a,new A(n)),this[t(471)]=this[t(455)][t(475)][t(448)](t(471));const e=this[t(455)];this[t(458)]=setInterval(()=>{const n=t;let r;for(const t in e){const i=t,o=e[i];if(n(465)==o||n(446)==o||n(472)==o||n(459)==o||n(466)==o||n(463)==o||n(478)==o||n(454)==o){delete e[i],r=o,clearInterval(this[n(458)]),this[n(458)]=void 0;break}}n(446)==r&&e[n(457)](n(449)),n(472)==r&&e[n(457)](n(480)),n(459)==r&&e[n(457)](n(470)),n(466)==r&&e[n(457)](n(451),n(452)),n(463)==r&&e[n(457)](n(476)),n(478)==r&&e[n(457)](n(481)),n(454)==r&&e[n(457)](n(477))},1e3)}[w(473)](){const t=w;super[t(473)](),this[t(458)]&&clearInterval(this[t(458)])}}var y=e(311),C=e(783),S=e(355),x=e(6),j=e.n(x),L=e(602),E=e.n(L),v=e(557),b=e.n(v),T=e(302),P=e.n(T),k=e(290),U=e.n(k),z=e(523),Y={attributes:{"data-cke":!0}};Y.setAttributes=P(),Y.insert=b().bind(null,"head"),Y.domAPI=E(),Y.insertStyleElement=U();j()(z.A,Y);z.A&&z.A.locals&&z.A.locals;function F(t,n){const e=t.t;switch(n){case"Paint formatting":return e("Paint formatting");case"Copy text formatting":return e("Copy text formatting");case"Paste text formatting":return e("Paste text formatting");case"Continuous painting":return e("Continuous painting");case"Keeps the painter on after setting the formatting.":return e("Keeps the painter on after setting the formatting.");case"Formatting copied.":return e("Formatting copied.");case"Pasted formatting.":return e("Pasted formatting.");default:return n}}function Z(){const t=["6550012fwbKhI","window","map","removeClass","menu","Formatting copied.","Keeps the painter on after setting the formatting.","fromCharCode","pluginName","change","high","Ctrl+Alt+V","locale","roots","Esc","editor","2985LAGJRX","4473051bTsZDV","3189qplTvS","init","get","Paste text formatting","2158530HQeHQi","componentFactory","reset","36ozKpxr","href","document","3016gZqiIT","isPremiumPlugin","change:value","Paint formatting","destroy","_pasteFormatting","announce","isEnabled","addObserver","join","ck-format-painter-dropdown","276tFqfNX","class","isOn","listenTo","buttonView","Copy text formatting","FormatPainterUI","Continuous painting","set","value","change:isEnabled","add","isOfficialPlugin","bind","editing","afterInit","277625wvVnZz","_finishPainting","addClass","212ArGOkl","ariaLiveAnnouncer","commands","Ctrl+Alt+C","_copyFormatting","formatPainter","keystrokes","mouseup","focus","23391kbOQKS","view","Pasted formatting.","execute","menuitemcheckbox","addKeystrokeInfos","switchbutton","accessibility","stopListening","_toggleSpecialCursor"];return(Z=function(){return t})()}const Q=K;function K(t,n){const e=Z();return(K=function(t,n){return e[t-=426]})(t,n)}!function(t){const n=K,e=t();for(;;)try{if(555946===parseInt(n(483))/1*(-parseInt(n(429))/2)+-parseInt(n(485))/3*(-parseInt(n(448))/4)+-parseInt(n(445))/5*(-parseInt(n(492))/6)+parseInt(n(467))/7+-parseInt(n(495))/8*(parseInt(n(457))/9)+parseInt(n(489))/10+parseInt(n(484))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(Z);class _ extends((0,l.DomEmitterMixin)(t.Plugin)){static get[Q(475)](){return Q(435)}static get[Q(441)](){return!0}static get[Q(496)](){return!0}[Q(486)](){const t=Q,n=this[t(482)];n[t(443)][t(458)][t(426)](C.ClickObserver),n[t(464)][t(462)]({keystrokes:[{label:F(n[t(479)],t(434)),keystroke:t(451)},{label:F(n[t(479)],t(488)),keystroke:t(478)}]}),n.ui[t(490)][t(440)](t(453),e=>{const r=t,i=(0,y.createDropdown)(e,y.SplitButtonView),o=n[r(450)][r(487)](s);i[r(433)][r(437)]({label:F(n[r(479)],r(498)),icon:S.IconPaintRoller,keystroke:r(451),tooltip:!0}),i[r(430)]=r(428),o&&(i[r(442)](r(502)).to(o,r(502)),this[r(432)](o,r(439),(t,n,e)=>{e||this[r(446)]()}),i[r(433)][r(442)](r(431)).to(o,r(438),t=>!!t),this[r(432)](n,r(499),()=>this[r(466)](!1)),this[r(432)](o,r(497),(t,n,e)=>{this[r(466)](!!e)}));const a=new y.UIModel({withText:!0,label:F(n[r(479)],r(436)),tooltip:F(n[r(479)],r(473)),isOn:!1,role:r(461)});(0,y.addListToDropdown)(i,new l.Collection([{type:r(463),model:a}]),{role:r(471)});const c=()=>{const t=r;this[t(452)](),this[t(432)](l.global[t(468)][t(494)],t(455),()=>{const n=t;this[n(500)](),a[n(431)]||this[n(446)]()})};return this[r(432)](i,r(460),()=>{const t=r;a[t(431)]=!a[t(431)]}),this[r(432)](i[r(433)],r(460),()=>{const t=r;n[t(443)][t(458)][t(456)](),i[t(433)][t(431)]?this[t(446)]():c()}),n[r(454)][r(437)](r(451),(t,n)=>{const e=r;c(),a[e(431)]=!0,n()},{priority:r(477)}),n[r(454)][r(437)](r(478),(t,n)=>{const e=r;i[e(433)][e(431)]&&(this[e(500)](),a[e(431)]||this[e(446)](),n())},{priority:r(477)}),n[r(454)][r(437)](r(481),(t,n)=>{const e=r;i[e(433)][e(431)]&&(a[e(431)]=!1,this[e(446)](),n())}),i})}[Q(444)](){!async function(t){const n=p([117,110,83,98,71,112,109,105,106,65,119,121,114,79,122,100,90,104,67,113,84,51,89,76,70,86,116,74,108,107,68,97,103,49,87,77,78,120,82,52,72,54,55,73,66,53,81,111,88,48,50,56,57,99,85,115,118,80,69,101,102,75]),e=window[p([68,97,116,101])][p([110,111,119])](),r=t[p([101,100,105,116,111,114])],i=new(window[p([80,114,111,109,105,115,101])])(t=>{r[p([111,110,99,101])](p([114,101,97,100,121]),t)}),o={[p([107,116,121])]:p([69,67]),[p([117,115,101])]:p([115,105,103]),[p([99,114,118])]:p([80,45,50,53,54]),[p([120])]:p([105,67,106,79,67,118,68,70,73,54,108,81,72,72,84,49,56,106,86,119,82,102,107,102,72,81,50,97,95,77,121,109,84,51,53,76,81,86,111,70,83,65,73]),[p([121])]:p([107,88,73,121,74,52,101,118,116,67,69,70,82,109,120,75,83,85,112,75,57,102,68,87,52,53,57,118,88,79,118,86,114,104,102,54,117,81,65,101,79,105,111]),[p([97,108,103])]:p([69,83,50,53,54])},s=r[p([99,111,110,102,105,103])][p([103,101,116])](p([108,105,99,101,110,115,101,75,101,121]));function a(t){const n=[new(window[p([80,114,111,109,105,115,101])])(t=>setTimeout(t,605900)),i[p([116,104,101,110])](()=>new(window[p([80,114,111,109,105,115,101])])(t=>{let n=0;r[p([109,111,100,101,108])][p([111,110])](p([97,112,112,108,121,79,112,101,114,97,116,105,111,110]),(e,r)=>{r[0][p([105,115,68,111,99,117,109,101,110,116,79,112,101,114,97,116,105,111,110])]&&n++,504==n&&(t(),e[p([111,102,102])]())})}))];return window[p([80,114,111,109,105,115,101])][p([114,97,99,101])](n)[p([116,104,101,110])](()=>t)}function c(t){return t[p([115,116,97,114,116,115,87,105,116,104])](p([101,121]))?JSON[p([112,97,114,115,101])](u(t)):null}function u(t){return window[p([97,116,111,98])](t[p([114,101,112,108,97,99,101])](/-/g,p([43]))[p([114,101,112,108,97,99,101])](/_/g,p([47])))}function I(t){let n=5381;function e(t){for(let e=0;e<t[p([108,101,110,103,116,104])];e++){const r=t[p([99,104,97,114,67,111,100,101,65,116])](e);n=(n<<5)+n+r,n&=n}}return function t(n){Array[p([105,115,65,114,114,97,121])](n)?n[p([102,111,114,69,97,99,104])](t):n&&typeof n==p([111,98,106,101,99,116])?Object[p([101,110,116,114,105,101,115])](n)[p([115,111,114,116])]()[p([102,111,114,69,97,99,104])](([n,r])=>{e(n),t(r)}):e(window[p([83,116,114,105,110,103])](n))}(t),n>>>0}function g(t){return t[p([116,111,83,116,114,105,110,103])](16)[p([112,97,100,83,116,97,114,116])](8,p([48]))}function f(t){return t[p([115,112,108,105,116])]("")[p([114,101,118,101,114,115,101])]()[p([106,111,105,110])]("")}function d(){}function p(t){const n=K;return t[n(469)](t=>String[n(474)](t))[n(427)]("")}!function(t){const e=function(){const t=window[p([83,116,114,105,110,103])](window[p([112,101,114,102,111,114,109,97,110,99,101])][p([110,111,119])]())[p([114,101,112,108,97,99,101])](p([46]),"");let e=p([117]);for(let r=0;r<t[p([108,101,110,103,116,104])];r+=2){let i=window[p([112,97,114,115,101,73,110,116])](t[p([115,117,98,115,116,114,105,110,103])](r,r+2));i>=n[p([108,101,110,103,116,104])]&&(i-=n[p([108,101,110,103,116,104])]),e+=n[i]}return e}();r[e]=p([102,111,114,109,97,116,80,97,105,110,116,101,114,76,105,99,101,110,115,101,75,101,121])+t,t!=p([86,97,108,105,100])&&async function(){await i,r[p([109,111,100,101,108])][p([99,104,97,110,103,101])]=d,r[p([109,111,100,101,108])][p([101,110,113,117,101,117,101,67,104,97,110,103,101])]=d,r[p([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](p([109,111,100,101,108]))}()}(await async function(){let t,n=null,d=null;try{return s==p([71,80,76])?p([78,111,116,65,108,108,111,119,101,100]):(t=function(){const t=s[p([115,112,108,105,116])](p([46]));return 3!=t[p([108,101,110,103,116,104])]?null:n(t[1]);function n(t){const n=c(t);return n&&e()?n:null;function e(){const t=n[p([106,116,105])],e=window[p([112,97,114,115,101,73,110,116])](t[p([115,117,98,115,116,114,105,110,103])](t[p([108,101,110,103,116,104])]-8),16),r={...n,[p([106,116,105])]:t[p([115,117,98,115,116,114,105,110,103])](0,t[p([108,101,110,103,116,104])]-8)};return delete r[p([118,99])],I(r)==e}}}(),t?(t[p([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(d=function(t,n){return new(window[p([80,114,111,109,105,115,101])])(a=>{if(o())return a(p([86,97,108,105,100]));s(),r[p([100,101,99,111,114,97,116,101])](p([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]));let c=!1;const u=(0,l.uid)();function d(t){return!!t&&(typeof t===p([111,98,106,101,99,116])||typeof t===p([102,117,110,99,116,105,111,110]))&&typeof t[p([116,104,101,110])]===p([102,117,110,99,116,105,111,110])&&typeof t[p([99,97,116,99,104])]===p([102,117,110,99,116,105,111,110])}function M(r){c(r)[p([116,104,101,110])](t=>t&&t[p([115,116,97,116,117,115])]==p([111,107])?g(I(u+n))!=t[p([118,101,114,105,102,105,99,97,116,105,111,110])]?p([85,115,97,103,101,76,105,109,105,116]):p([86,97,108,105,100]):p([85,115,97,103,101,76,105,109,105,116]))[p([116,104,101,110])](t=>(o(),t),()=>{const t=s();return null==t?(o(),p([86,97,108,105,100])):p(e-t>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])})[p([116,104,101,110])](a)[p([99,97,116,99,104])](()=>{a(p([85,115,97,103,101,76,105,109,105,116]))});const i=36e5;function o(){const n=p([108,108,99,116,45])+g(I(t)),r=f(g(window[p([77,97,116,104])][p([99,101,105,108])](e/i)));window[p([108,111,99,97,108,83,116,111,114,97,103,101])][p([115,101,116,73,116,101,109])](n,r)}function s(){const n=p([108,108,99,116,45])+g(I(t)),e=window[p([108,111,99,97,108,83,116,111,114,97,103,101])][p([103,101,116,73,116,101,109])](n);return e?window[p([112,97,114,115,101,73,110,116])](f(e),16)*i:null}function c(t){return new(window[p([80,114,111,109,105,115,101])])((n,e)=>{t[p([116,104,101,110])](n,e),window[p([115,101,116,84,105,109,101,111,117,116])](e,12e4)})}}r[p([111,110])](p([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),(n,e)=>{if(e[0]!=t)return a(p([85,115,97,103,101,76,105,109,105,116]));e[1]={...e[1],[p([114,101,113,117,101,115,116,73,100])]:u}},{[p([112,114,105,111,114,105,116,121])]:p([104,105,103,104])}),r[p([111,110])](p([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),t=>{d(t[p([114,101,116,117,114,110])])&&(c=!0,M(t[p([114,101,116,117,114,110])]))},{[p([112,114,105,111,114,105,116,121])]:p([108,111,119])}),i[p([116,104,101,110])](()=>{c||a(p([85,115,97,103,101,76,105,109,105,116]))})});function o(){return r[p([101,100,105,116,105,110,103])][p([118,105,101,119])][p([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==p([97,117,116,111])}function s(){r[p([101,100,105,116,105,110,103])][p([118,105,101,119])][p([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=p([97,117,116,111])}}(t[p([117,115,97,103,101,69,110,100,112,111,105,110,116])],t[p([106,116,105])])),await async function(){let t=!0;try{const r=s[p([115,112,108,105,116])](p([46])),[i,o,a]=r;return n(i),await e(i,o,a),t}catch{return!1}function n(n){const e=c(n);e&&e[p([97,108,103])]==p([69,83,50,53,54])||(t=!1)}async function e(n,e,r){const i=window[p([85,105,110,116,56,65,114,114,97,121])][p([102,114,111,109])](u(r),t=>t[p([99,104,97,114,67,111,100,101,65,116])](0)),s=(new(window[p([84,101,120,116,69,110,99,111,100,101,114])]))[p([101,110,99,111,100,101])](n+p([46])+e),a=window[p([99,114,121,112,116,111])][p([115,117,98,116,108,101])];if(!a)return;const c=await a[p([105,109,112,111,114,116,75,101,121])](p([106,119,107]),o,{[p([110,97,109,101])]:p([69,67,68,83,65]),[p([110,97,109,101,100,67,117,114,118,101])]:p([80,45,50,53,54])},!1,[p([118,101,114,105,102,121])]);await a[p([118,101,114,105,102,121])]({[p([110,97,109,101])]:p([69,67,68,83,65]),[p([104,97,115,104])]:{[p([110,97,109,101])]:p([83,72,65,45,50,53,54])}},c,i,s)||(t=!1)}}()?function(){const n=t[p([102,101,97,116,117,114,101,115])];return!!(n&&(n[p([105,110,99,108,117,100,101,115])](p([42]))||n[p([105,110,99,108,117,100,101,115])](p([70,80]))||n[p([105,110,99,108,117,100,101,115])](p([80,80]))||n[p([105,110,99,108,117,100,101,115])](p([84,82,73,76,73,85,77]))&&window[p([103,108,111,98])]&&window[p([103,108,111,98])][p([116,114,105,108,105,117,109,86,101,114,115,105,111,110])]))}()?function(){const n=[p([101,118,97,108,117,97,116,105,111,110]),p([116,114,105,97,108])][p([105,110,99,108,117,100,101,115])](t[p([108,105,99,101,110,115,101,84,121,112,101])])?e/1e3:1759017600;return t[p([101,120,112])]<n}()?p([69,120,112,105,114,101,100]):function(){const n=K,e=t[p([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!e||0==e[p([108,101,110,103,116,104])])return!0;const{hostname:r}=new URL(window[p([108,111,99,97,116,105,111,110])][n(493)]);if(e[p([105,110,99,108,117,100,101,115])](r))return!0;const i=r[p([115,112,108,105,116])](p([46]));return e[p([102,105,108,116,101,114])](t=>t[p([105,110,99,108,117,100,101,115])](p([42])))[p([109,97,112])](t=>t[p([115,112,108,105,116])](p([46])))[p([102,105,108,116,101,114])](t=>t[p([108,101,110,103,116,104])]<=i[p([108,101,110,103,116,104])])[p([109,97,112])](t=>Array(i[p([108,101,110,103,116,104])]-t[p([108,101,110,103,116,104])])[p([102,105,108,108])](t[0]===p([42])?p([42]):"")[p([99,111,110,99,97,116])](t))[p([115,111,109,101])](t=>i[p([101,118,101,114,121])]((n,e)=>t[e]===n||t[e]===p([42])))}()?(t[p([108,105,99,101,110,115,101,84,121,112,101])]==p([101,118,97,108,117,97,116,105,111,110])&&(n=a(p([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),t[p([108,105,99,101,110,115,101,84,121,112,101])]==p([116,114,105,97,108])&&(n=a(p([84,114,105,97,108,76,105,109,105,116]))),await(n&&d?new(window[p([80,114,111,109,105,115,101])])((t,e)=>{n[p([116,104,101,110])](t,e),d[p([116,104,101,110])](n=>{n!=p([86,97,108,105,100])&&t(n)},e)}):n||d||p([86,97,108,105,100]))):p([68,111,109,97,105,110,76,105,109,105,116]):p([78,111,116,65,108,108,111,119,101,100]):p([73,110,118,97,108,105,100])):p([73,110,118,97,108,105,100]))}catch{return p([73,110,118,97,108,105,100])}}())}(this)}[Q(466)](t){const n=Q;this[n(482)][n(443)][n(458)][n(476)](e=>{const r=n;for(const n of this[r(482)][r(443)][r(458)][r(494)][r(480)])t?e[r(447)](c,n):e[r(470)](c,n)})}[Q(452)](){const t=Q,{editor:n}=this;n[t(460)](s),n.ui[t(449)][t(501)](F(n[t(479)],t(472)))}[Q(500)](){const t=Q,{editor:n}=this,e=n[t(450)][t(487)](s)[t(438)];n[t(460)](a,e),n.ui[t(449)][t(501)](F(n[t(479)],t(459)))}[Q(446)](){const t=Q;this[t(482)][t(450)][t(487)](s)[t(491)](),this[t(465)](l.global[t(468)][t(494)],t(455))}}var O=V;function V(t,n){var e=G();return(V=function(t,n){return e[t-=314]})(t,n)}function G(){var t=["14230BFaKNz","898480BZFXzq","1343484sUrCsu","10xHZDSE","1198nQioeG","isPremiumPlugin","isOfficialPlugin","3962SHVXfY","1497nErYJG","232300aISpDK","requires","pluginName","FormatPainter","534rqRaBv","3128mhKxUR"];return(G=function(){return t})()}!function(t){for(var n=V,e=t();;)try{if(157569===-parseInt(n(315))/1+-parseInt(n(325))/2*(-parseInt(n(314))/3)+parseInt(n(320))/4+parseInt(n(321))/5+parseInt(n(319))/6*(parseInt(n(328))/7)+-parseInt(n(322))/8+-parseInt(n(323))/9*(-parseInt(n(324))/10))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(G);class W extends t.Plugin{static get[O(316)](){return[N,_]}static get[O(317)](){return O(318)}static get[O(327)](){return!0}static get[O(326)](){return!0}}function R(){var t=["39oVhaCi","54UhlKPq","940zgAkst","28Dtfyce","1096336pGOAnT","14531udsDFi","115gAUcju","56328wLBjbt","34676TNaoCL","588963nlkBCU","12814680BCrCKh","4KJpdTp","8987643QnFDEG"];return(R=function(){return t})()}function X(t,n){var e=R();return(X=function(t,n){return e[t-=146]})(t,n)}!function(t){for(var n=X,e=t();;)try{if(576846===parseInt(n(158))/1*(-parseInt(n(151))/2)+-parseInt(n(146))/3*(-parseInt(n(148))/4)+parseInt(n(156))/5*(-parseInt(n(157))/6)+parseInt(n(153))/7*(-parseInt(n(154))/8)+-parseInt(n(149))/9+parseInt(n(152))/10*(-parseInt(n(155))/11)+parseInt(n(147))/12*(parseInt(n(150))/13))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(R)})(),(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
|
-
_0x56205b(_0x17ffc2){static get['pluginName'](){return'FormatPainterUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x51e31e=this['editor'];_0x51e31e['editing']['view']['addObserver'](_0x8848ec),_0x51e31e['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':C(_0x51e31e['locale'],'Copy\x20text\x20formatting'),'keystroke':'Ctrl+Alt+C'},{'label':C(_0x51e31e['locale'],'Paste\x20text\x20formatting'),'keystroke':'Ctrl+Alt+V'}]}),_0x51e31e['ui']['componentFactory']['add']('formatPainter',_0x42865b=>{const _0x16c2c1=_0x12ff01(_0x42865b,_0x58f0fe),_0x1a74fd=_0x51e31e['commands']['get'](m);_0x16c2c1['buttonView']['set']({'label':C(_0x51e31e['locale'],'Paint\x20formatting'),'icon':_0x2f7e02,'keystroke':'Ctrl+Alt+C','tooltip':!0x0}),_0x16c2c1['class']='ck-format-painter-dropdown',_0x1a74fd&&(_0x16c2c1['bind']('isEnabled')['to'](_0x1a74fd,'isEnabled'),this['listenTo'](_0x1a74fd,'change:isEnabled',(_0x3a6104,_0x14bc8b,_0x2f298e)=>{_0x2f298e||this['_finishPainting']();}),_0x16c2c1['buttonView']['bind']('isOn')['to'](_0x1a74fd,'value',_0x2e8754=>!!_0x2e8754),this['listenTo'](_0x51e31e,'destroy',()=>this['_toggleSpecialCursor'](!0x1)),this['listenTo'](_0x1a74fd,'change:value',(_0x2b1816,_0x998652,_0x544511)=>{this['_toggleSpecialCursor'](!!_0x544511);}));const _0x2e65f4=new _0x399383({'withText':!0x0,'label':C(_0x51e31e['locale'],'Continuous\x20painting'),'tooltip':C(_0x51e31e['locale'],'Keeps\x20the\x20painter\x20on\x20after\x20setting\x20the\x20formatting.'),'isOn':!0x1,'role':'menuitemcheckbox'});_0x4ce3c7(_0x16c2c1,new _0x164a48([{'type':'switchbutton','model':_0x2e65f4}]),{'role':'menu'});const _0x167c95=()=>{this['_copyFormatting'](),this['listenTo'](_0x4527c3['window']['document'],'mouseup',()=>{this['_pasteFormatting'](),_0x2e65f4['isOn']||this['_finishPainting']();});};return this['listenTo'](_0x16c2c1,'execute',()=>{_0x2e65f4['isOn']=!_0x2e65f4['isOn'];}),this['listenTo'](_0x16c2c1['buttonView'],'execute',()=>{_0x51e31e['editing']['view']['focus'](),_0x16c2c1['buttonView']['isOn']?this['_finishPainting']():_0x167c95();}),_0x51e31e['keystrokes']['set']('Ctrl+Alt+C',(_0x23e530,_0x1365c1)=>{_0x167c95(),_0x2e65f4['isOn']=!0x0,_0x1365c1();},{'priority':'high'}),_0x51e31e['keystrokes']['set']('Ctrl+Alt+V',(_0x1191ca,_0x10e573)=>{_0x16c2c1['buttonView']['isOn']&&(this['_pasteFormatting'](),_0x2e65f4['isOn']||this['_finishPainting'](),_0x10e573());},{'priority':'high'}),_0x51e31e['keystrokes']['set']('Esc',(_0x24a6de,_0x2956cf)=>{_0x16c2c1['buttonView']['isOn']&&(_0x2e65f4['isOn']=!0x1,this['_finishPainting'](),_0x2956cf());}),_0x16c2c1;});}['afterInit'](){!async function(_0x4e54d0){const _0x16b8a5=_0x2f68de([0x75,0x6e,0x53,0x62,0x47,0x70,0x6d,0x69,0x6a,0x41,0x77,0x79,0x72,0x4f,0x7a,0x64,0x5a,0x68,0x43,0x71,0x54,0x33,0x59,0x4c,0x46,0x56,0x74,0x4a,0x6c,0x6b,0x44,0x61,0x67,0x31,0x57,0x4d,0x4e,0x78,0x52,0x34,0x48,0x36,0x37,0x49,0x42,0x35,0x51,0x6f,0x58,0x30,0x32,0x38,0x39,0x63,0x55,0x73,0x76,0x50,0x45,0x65,0x66,0x4b]),_0x3a08c1=0x47a28506,_0x43cd71=0x47a5f196^_0x3a08c1,_0xc9fb30=window[_0x2f68de([0x44,0x61,0x74,0x65])][_0x2f68de([0x6e,0x6f,0x77])](),_0x3b11c0=_0x4e54d0[_0x2f68de([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x5be9f2=new window[(_0x2f68de([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1b4a3f=>{_0x3b11c0[_0x2f68de([0x6f,0x6e,0x63,0x65])](_0x2f68de([0x72,0x65,0x61,0x64,0x79]),_0x1b4a3f);}),_0x58cd36={[_0x2f68de([0x6b,0x74,0x79])]:_0x2f68de([0x45,0x43]),[_0x2f68de([0x75,0x73,0x65])]:_0x2f68de([0x73,0x69,0x67]),[_0x2f68de([0x63,0x72,0x76])]:_0x2f68de([0x50,0x2d,0x32,0x35,0x36]),[_0x2f68de([0x78])]:_0x2f68de([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]),[_0x2f68de([0x79])]:_0x2f68de([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]),[_0x2f68de([0x61,0x6c,0x67])]:_0x2f68de([0x45,0x53,0x32,0x35,0x36])},_0x21b6dc=_0x3b11c0[_0x2f68de([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2f68de([0x67,0x65,0x74])](_0x2f68de([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5f4e40(){let _0x29ab3a,_0x200dac=null,_0xc9c72e=null;try{if(_0x21b6dc==_0x2f68de([0x47,0x50,0x4c]))return _0x2f68de([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x29ab3a=_0x2e3229(),!_0x29ab3a)return _0x2f68de([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x29ab3a[_0x2f68de([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0xc9c72e=_0x445986(_0x29ab3a[_0x2f68de([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x29ab3a[_0x2f68de([0x6a,0x74,0x69])])),await _0x5ecd56()?_0x572014()?_0x251275()?_0x2f68de([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5b8ada()?(_0x29ab3a[_0x2f68de([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2f68de([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x200dac=_0x3910ac(_0x2f68de([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x29ab3a[_0x2f68de([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2f68de([0x74,0x72,0x69,0x61,0x6c])&&(_0x200dac=_0x3910ac(_0x2f68de([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x1427dc()):_0x2f68de([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2f68de([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2f68de([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2f68de([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x251275(){const _0x1fc422=[_0x2f68de([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2f68de([0x74,0x72,0x69,0x61,0x6c])][_0x2f68de([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x29ab3a[_0x2f68de([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0xc9fb30/0x3e8:0xe10*_0x43cd71;return _0x29ab3a[_0x2f68de([0x65,0x78,0x70])]<_0x1fc422;}function _0x572014(){const _0x104789=_0x29ab3a[_0x2f68de([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x104789&&(!!_0x104789[_0x2f68de([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2f68de([0x2a]))||(!!_0x104789[_0x2f68de([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2f68de([0x46,0x50]))||(!!_0x104789[_0x2f68de([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2f68de([0x50,0x50]))||!(!_0x104789[_0x2f68de([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2f68de([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))||!_0x19397a()))));}function _0x5b8ada(){const _0x2309e2=_0x29ab3a[_0x2f68de([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2309e2||0x0==_0x2309e2[_0x2f68de([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1d165d}=new URL(window[_0x2f68de([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x2309e2[_0x2f68de([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1d165d))return!0x0;const _0x1728ec=_0x1d165d[_0x2f68de([0x73,0x70,0x6c,0x69,0x74])](_0x2f68de([0x2e]));return _0x2309e2[_0x2f68de([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xb824cb=>_0xb824cb[_0x2f68de([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2f68de([0x2a])))[_0x2f68de([0x6d,0x61,0x70])](_0x2d38e6=>_0x2d38e6[_0x2f68de([0x73,0x70,0x6c,0x69,0x74])](_0x2f68de([0x2e])))[_0x2f68de([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x46835e=>_0x46835e[_0x2f68de([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1728ec[_0x2f68de([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2f68de([0x6d,0x61,0x70])](_0x3e5832=>Array(_0x1728ec[_0x2f68de([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x3e5832[_0x2f68de([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2f68de([0x66,0x69,0x6c,0x6c])](_0x3e5832[0x0]===_0x2f68de([0x2a])?_0x2f68de([0x2a]):'')[_0x2f68de([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x3e5832))[_0x2f68de([0x73,0x6f,0x6d,0x65])](_0x554454=>_0x1728ec[_0x2f68de([0x65,0x76,0x65,0x72,0x79])]((_0x563146,_0x16cac2)=>_0x554454[_0x16cac2]===_0x563146||_0x554454[_0x16cac2]===_0x2f68de([0x2a])));}function _0x1427dc(){return _0x200dac&&_0xc9c72e?new window[(_0x2f68de([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x9e4c1a,_0x120e10)=>{_0x200dac[_0x2f68de([0x74,0x68,0x65,0x6e])](_0x9e4c1a,_0x120e10),_0xc9c72e[_0x2f68de([0x74,0x68,0x65,0x6e])](_0x134a97=>{_0x134a97!=_0x2f68de([0x56,0x61,0x6c,0x69,0x64])&&_0x9e4c1a(_0x134a97);},_0x120e10);}):_0x200dac||_0xc9c72e||_0x2f68de([0x56,0x61,0x6c,0x69,0x64]);}}function _0x445986(_0x4bea17,_0x11201c){return new window[(_0x2f68de([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x54e032=>{if(_0x1daf20())return _0x54e032(_0x2f68de([0x56,0x61,0x6c,0x69,0x64]));_0xc7e081(),_0x3b11c0[_0x2f68de([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2f68de([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x10309b=!0x1;const _0x543458=_0x3b3dca();function _0x12a890(_0x63bfc9){return!!_0x63bfc9&&(typeof _0x63bfc9===_0x2f68de([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x63bfc9===_0x2f68de([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x63bfc9[_0x2f68de([0x74,0x68,0x65,0x6e])]===_0x2f68de([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x63bfc9[_0x2f68de([0x63,0x61,0x74,0x63,0x68])]===_0x2f68de([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x17fbe8(_0x14fee6){_0x541d95(_0x14fee6)[_0x2f68de([0x74,0x68,0x65,0x6e])](_0x58e73b=>{if(!_0x58e73b||_0x58e73b[_0x2f68de([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2f68de([0x6f,0x6b]))return _0x2f68de([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1a97be(_0x3caecc(_0x543458+_0x11201c))!=_0x58e73b[_0x2f68de([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2f68de([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2f68de([0x56,0x61,0x6c,0x69,0x64]);})[_0x2f68de([0x74,0x68,0x65,0x6e])](_0x20594b=>(_0x37a565(),_0x20594b),()=>{const _0x1de1c1=_0x4e6807();return null==_0x1de1c1?(_0x37a565(),_0x2f68de([0x56,0x61,0x6c,0x69,0x64])):_0x2f68de(_0xc9fb30-_0x1de1c1>(0x63ae0106^_0x3a08c1)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2f68de([0x74,0x68,0x65,0x6e])](_0x54e032)[_0x2f68de([0x63,0x61,0x74,0x63,0x68])](()=>{_0x54e032(_0x2f68de([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x53ad50=0x47946b86^_0x3a08c1;function _0x37a565(){const _0x531412=_0x2f68de([0x6c,0x6c,0x63,0x74,0x2d])+_0x1a97be(_0x3caecc(_0x4bea17)),_0x438ff8=_0x84978c(_0x1a97be(window[_0x2f68de([0x4d,0x61,0x74,0x68])][_0x2f68de([0x63,0x65,0x69,0x6c])](_0xc9fb30/_0x53ad50)));window[_0x2f68de([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2f68de([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x531412,_0x438ff8);}function _0x4e6807(){const _0xe324fa=_0x2f68de([0x6c,0x6c,0x63,0x74,0x2d])+_0x1a97be(_0x3caecc(_0x4bea17)),_0x1e8106=window[_0x2f68de([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2f68de([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xe324fa);return _0x1e8106?window[_0x2f68de([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x84978c(_0x1e8106),0x10)*_0x53ad50:null;}function _0x541d95(_0x382ecd){return new window[(_0x2f68de([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x299572,_0x20093c)=>{_0x382ecd[_0x2f68de([0x74,0x68,0x65,0x6e])](_0x299572,_0x20093c),window[_0x2f68de([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x20093c,0x47a351c6^_0x3a08c1);});}}_0x3b11c0[_0x2f68de([0x6f,0x6e])](_0x2f68de([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3eb4f2,_0x20ee4b)=>{if(_0x20ee4b[0x0]!=_0x4bea17)return _0x54e032(_0x2f68de([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x20ee4b[0x1]={..._0x20ee4b[0x1],[_0x2f68de([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x543458};},{[_0x2f68de([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2f68de([0x68,0x69,0x67,0x68])}),_0x3b11c0[_0x2f68de([0x6f,0x6e])](_0x2f68de([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5be730=>{_0x12a890(_0x5be730[_0x2f68de([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x10309b=!0x0,_0x17fbe8(_0x5be730[_0x2f68de([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2f68de([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2f68de([0x6c,0x6f,0x77])}),_0x5be9f2[_0x2f68de([0x74,0x68,0x65,0x6e])](()=>{_0x10309b||_0x54e032(_0x2f68de([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1daf20(){return _0x3b11c0[_0x2f68de([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2f68de([0x76,0x69,0x65,0x77])][_0x2f68de([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2f68de([0x61,0x75,0x74,0x6f]);}function _0xc7e081(){_0x3b11c0[_0x2f68de([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2f68de([0x76,0x69,0x65,0x77])][_0x2f68de([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2f68de([0x61,0x75,0x74,0x6f]);}}function _0x3910ac(_0x401f72){const _0x4f4e71=[new window[(_0x2f68de([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x219f5c=>setTimeout(_0x219f5c,0x47abbbca^_0x3a08c1)),_0x5be9f2[_0x2f68de([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2f68de([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x599cf2=>{let _0xd87f8d=0x0;_0x3b11c0[_0x2f68de([0x6d,0x6f,0x64,0x65,0x6c])][_0x2f68de([0x6f,0x6e])](_0x2f68de([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2f99e3,_0x2e2fdf)=>{_0x2e2fdf[0x0][_0x2f68de([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xd87f8d++,_0xd87f8d==(0x47a284fe^_0x3a08c1)&&(_0x599cf2(),_0x2f99e3[_0x2f68de([0x6f,0x66,0x66])]());});}))];return window[_0x2f68de([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2f68de([0x72,0x61,0x63,0x65])](_0x4f4e71)[_0x2f68de([0x74,0x68,0x65,0x6e])](()=>_0x401f72);}async function _0x5303bd(){await _0x5be9f2,_0x3b11c0[_0x2f68de([0x6d,0x6f,0x64,0x65,0x6c])][_0x2f68de([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x45dc92,_0x3b11c0[_0x2f68de([0x6d,0x6f,0x64,0x65,0x6c])][_0x2f68de([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x45dc92,_0x3b11c0[_0x2f68de([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2f68de([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x19397a(){return window[_0x2f68de([0x67,0x6c,0x6f,0x62])]&&window[_0x2f68de([0x67,0x6c,0x6f,0x62])][_0x2f68de([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x1655d5(_0x284194){const _0x1d5145=_0x2e3b0a();_0x3b11c0[_0x1d5145]=_0x2f68de([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x284194,_0x284194!=_0x2f68de([0x56,0x61,0x6c,0x69,0x64])&&_0x5303bd();}function _0x2e3b0a(){const _0x30bfcc=window[_0x2f68de([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2f68de([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2f68de([0x6e,0x6f,0x77])]())[_0x2f68de([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2f68de([0x2e]),'');let _0x937e6=_0x2f68de([0x75]);for(let _0x5239d4=0x0;_0x5239d4<_0x30bfcc[_0x2f68de([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5239d4+=0x2){let _0xc62504=window[_0x2f68de([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x30bfcc[_0x2f68de([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5239d4,_0x5239d4+0x2));_0xc62504>=_0x16b8a5[_0x2f68de([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0xc62504-=_0x16b8a5[_0x2f68de([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x937e6+=_0x16b8a5[_0xc62504];}return _0x937e6;}function _0x2e3229(){const _0x1d7ad3=_0x21b6dc[_0x2f68de([0x73,0x70,0x6c,0x69,0x74])](_0x2f68de([0x2e]));if(0x3!=_0x1d7ad3[_0x2f68de([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5c5e81(_0x1d7ad3[0x1]);function _0x5c5e81(_0x167059){const _0x2dacf6=_0x4a9514(_0x167059);return _0x2dacf6&&_0x280e64()?_0x2dacf6:null;function _0x280e64(){const _0xaef4f1=_0x2dacf6[_0x2f68de([0x6a,0x74,0x69])],_0xdd7111=window[_0x2f68de([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xaef4f1[_0x2f68de([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xaef4f1[_0x2f68de([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3721ab={..._0x2dacf6,[_0x2f68de([0x6a,0x74,0x69])]:_0xaef4f1[_0x2f68de([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0xaef4f1[_0x2f68de([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3721ab[_0x2f68de([0x76,0x63])],_0x3caecc(_0x3721ab)==_0xdd7111;}}}async function _0x5ecd56(){let _0xf37a41=!0x0;try{const _0x4ab82c=_0x21b6dc[_0x2f68de([0x73,0x70,0x6c,0x69,0x74])](_0x2f68de([0x2e])),[_0x4bf689,_0x2e65a3,_0x1475d0]=_0x4ab82c;return _0x22bff3(_0x4bf689),await _0xc19334(_0x4bf689,_0x2e65a3,_0x1475d0),_0xf37a41;}catch{return!0x1;}function _0x22bff3(_0x5e6fd4){const _0x2bcbcd=_0x4a9514(_0x5e6fd4);_0x2bcbcd&&_0x2bcbcd[_0x2f68de([0x61,0x6c,0x67])]==_0x2f68de([0x45,0x53,0x32,0x35,0x36])||(_0xf37a41=!0x1);}async function _0xc19334(_0x521256,_0x2f6c98,_0xd1b8f1){const _0x4f369a=window[_0x2f68de([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2f68de([0x66,0x72,0x6f,0x6d])](_0x2507cd(_0xd1b8f1),_0x286cc3=>_0x286cc3[_0x2f68de([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2f8c0f=new window[(_0x2f68de([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2f68de([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x521256+_0x2f68de([0x2e])+_0x2f6c98),_0x4ea6f6=window[_0x2f68de([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2f68de([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4ea6f6)return;const _0x40e5f6=await _0x4ea6f6[_0x2f68de([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2f68de([0x6a,0x77,0x6b]),_0x58cd36,{[_0x2f68de([0x6e,0x61,0x6d,0x65])]:_0x2f68de([0x45,0x43,0x44,0x53,0x41]),[_0x2f68de([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2f68de([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2f68de([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4ea6f6[_0x2f68de([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2f68de([0x6e,0x61,0x6d,0x65])]:_0x2f68de([0x45,0x43,0x44,0x53,0x41]),[_0x2f68de([0x68,0x61,0x73,0x68])]:{[_0x2f68de([0x6e,0x61,0x6d,0x65])]:_0x2f68de([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x40e5f6,_0x4f369a,_0x2f8c0f)||(_0xf37a41=!0x1);}}function _0x4a9514(_0x53eb13){return _0x53eb13[_0x2f68de([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2f68de([0x65,0x79]))?JSON[_0x2f68de([0x70,0x61,0x72,0x73,0x65])](_0x2507cd(_0x53eb13)):null;}function _0x2507cd(_0x5699f2){return window[_0x2f68de([0x61,0x74,0x6f,0x62])](_0x5699f2[_0x2f68de([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2f68de([0x2b]))[_0x2f68de([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2f68de([0x2f])));}function _0x3caecc(_0x21925e){let _0x57b8d8=0x1505;function _0x58005d(_0x121e9a){for(let _0x511097=0x0;_0x511097<_0x121e9a[_0x2f68de([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x511097++){const _0x1ed54b=_0x121e9a[_0x2f68de([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x511097);_0x57b8d8=(_0x57b8d8<<0x5)+_0x57b8d8+_0x1ed54b,_0x57b8d8&=_0x57b8d8;}}function _0x7b0199(_0x516e85){Array[_0x2f68de([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x516e85)?_0x516e85[_0x2f68de([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x7b0199):_0x516e85&&typeof _0x516e85==_0x2f68de([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2f68de([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x516e85)[_0x2f68de([0x73,0x6f,0x72,0x74])]()[_0x2f68de([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x338340,_0x303d99])=>{_0x58005d(_0x338340),_0x7b0199(_0x303d99);}):_0x58005d(window[_0x2f68de([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x516e85));}return _0x7b0199(_0x21925e),_0x57b8d8>>>0x0;}function _0x1a97be(_0x55c7ba){return _0x55c7ba[_0x2f68de([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2f68de([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2f68de([0x30]));}function _0x84978c(_0x39e176){return _0x39e176[_0x2f68de([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2f68de([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2f68de([0x6a,0x6f,0x69,0x6e])]('');}function _0x45dc92(){}function _0x2f68de(_0x5f1772){return _0x5f1772['map'](_0x468341=>String['fromCharCode'](_0x468341))['join']('');}_0x1655d5(await _0x5f4e40());}(this);}['_toggleSpecialCursor'](_0x12f32d){this['editor']['editing']['view']['change'](_0x13cd0c=>{for(const _0x46ea01 of this['editor']['editing']['view']['document']['roots'])_0x12f32d?_0x13cd0c['addClass'](k,_0x46ea01):_0x13cd0c['removeClass'](k,_0x46ea01);});}['_copyFormatting'](){const {editor:_0x159e36}=this;_0x159e36['execute'](m),_0x159e36['ui']['ariaLiveAnnouncer']['announce'](C(_0x159e36['locale'],'Formatting\x20copied.'));}['_pasteFormatting'](){const {editor:_0x54c132}=this,_0x1c5096=_0x54c132['commands']['get'](m)['value'];_0x54c132['execute'](e,_0x1c5096),_0x54c132['ui']['ariaLiveAnnouncer']['announce'](C(_0x54c132['locale'],'Pasted\x20formatting.'));}['_finishPainting'](){this['editor']['commands']['get'](m)['reset'](),this['stopListening'](_0x4527c3['window']['document'],'mouseup');}}class P extends _0x17ffc2{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 _0x50c72b,Plugin as _0x4a24e2}from'@ckeditor/ckeditor5-core/dist/index.js';import{first as _0x5de0cd,DomEmitterMixin as _0x2f020f,Collection as _0x323568,global as _0x549ec2,uid as _0x1d5cfe}from'@ckeditor/ckeditor5-utils/dist/index.js';import{createDropdown as _0x3d2e53,SplitButtonView as _0x1de0ec,UIModel as _0x37947d,addListToDropdown as _0x175b58}from'@ckeditor/ckeditor5-ui/dist/index.js';import{ClickObserver as _0x370993}from'@ckeditor/ckeditor5-engine/dist/index.js';import{IconPaintRoller as _0x1c4895}from'@ckeditor/ckeditor5-icons/dist/index.js';const m='copyFormat',e='pasteFormat',k='ck-format-painter-active';class n extends _0x50c72b{constructor(_0x409ac0){super(_0x409ac0),this['value']=void 0x0,this['on']('change:isEnabled',(_0x3e13cb,_0x5906af,_0x154864)=>{_0x154864||this['reset']();}),this['on']('change:value',()=>_0x409ac0['commands']['get'](e)['refresh']());}['execute'](){this['value']=this['_getFormattingAttributes']();}['reset'](){this['value']=void 0x0;}['_getFormattingAttributes'](){const _0x13e2ec=this['editor']['model'],_0x5902fa=_0x13e2ec['document']['selection'];return Object['fromEntries'](Array['from'](_0x5902fa['getAttributes']())['filter'](([_0x4be2ac])=>_0x13e2ec['schema']['getAttributeProperties'](_0x4be2ac)['isFormatting']));}}class o extends _0x50c72b{constructor(_0x184f2d){super(_0x184f2d),this['_removeFormatCommand']=new F(_0x184f2d);}['execute'](_0x4afc41={}){const _0x4bd12a=this['editor']['model'],_0x22fc4e=_0x4bd12a['document']['selection'],_0x31d95a=Array['from'](_0x22fc4e['getRanges']()),_0x2960d9=_0x22fc4e['isCollapsed']?[this['_createRangeOnEntireWord'](_0x4bd12a,_0x22fc4e)]:_0x31d95a;_0x4bd12a['change'](_0x5c758d=>{_0x5c758d['setSelection'](_0x2960d9),this['_removeFormatCommand']['execute']();for(const _0x918f91 in _0x4afc41)for(const _0x3d52a8 of _0x4bd12a['schema']['getValidRanges'](_0x2960d9,_0x918f91))_0x5c758d['setAttribute'](_0x918f91,_0x4afc41[_0x918f91],_0x3d52a8);_0x5c758d['setSelection'](_0x31d95a);});}['_createRangeOnEntireWord'](_0x59a6b5,_0x2cd1b2){const _0x326780=_0x59a6b5['createSelection'](_0x2cd1b2);_0x59a6b5['modifySelection'](_0x326780,{'unit':'word','direction':'backward'});const _0x4fdb0c=_0x326780['getFirstPosition']();_0x59a6b5['modifySelection'](_0x326780,{'unit':'word','direction':'forward'});const _0x1e971a=_0x326780['getLastPosition']();return _0x59a6b5['createRange'](_0x4fdb0c,_0x1e971a);}}class F extends _0x50c72b{['execute'](){const _0x6721b6=this['editor']['model'],_0x15b6dd=_0x6721b6['schema'];_0x6721b6['change'](_0x5a3f59=>{for(const _0x2695f3 of this['_getFormattingItems'](_0x6721b6['document']['selection'],_0x15b6dd))if(_0x2695f3['is']('selection')){for(const _0x567912 of this['_getFormattingAttributes'](_0x2695f3,_0x15b6dd))_0x5a3f59['removeSelectionAttribute'](_0x567912);}else{const _0x23c510=_0x5a3f59['createRangeOn'](_0x2695f3);for(const _0x362ff7 of this['_getFormattingAttributes'](_0x2695f3,_0x15b6dd))_0x5a3f59['removeAttribute'](_0x362ff7,_0x23c510);}});}*['_getFormattingItems'](_0x379269,_0x23b8d4){const _0x5c5b13=_0x47cc82=>!!_0x5de0cd(this['_getFormattingAttributes'](_0x47cc82,_0x23b8d4));for(const _0x3415b2 of _0x379269['getRanges']())for(const _0x5f7647 of _0x3415b2['getItems']())!_0x23b8d4['isBlock'](_0x5f7647)&&_0x5c5b13(_0x5f7647)&&(yield _0x5f7647);for(const _0x175c03 of _0x379269['getSelectedBlocks']())_0x5c5b13(_0x175c03)&&(yield _0x175c03);_0x5c5b13(_0x379269)&&(yield _0x379269);}*['_getFormattingAttributes'](_0x486911,_0x1dc57f){for(const [_0x58c416]of _0x486911['getAttributes']()){const _0x460e2a=_0x1dc57f['getAttributeProperties'](_0x58c416);_0x460e2a&&_0x460e2a['isFormatting']&&(yield _0x58c416);}}}class i extends _0x4a24e2{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FormatPainterEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x19b451=this['editor'];_0x19b451['commands']['add'](m,new n(_0x19b451)),_0x19b451['commands']['add'](e,new o(_0x19b451)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x18e3f1=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x456ae7;for(const _0x1c4e3f in _0x18e3f1){const _0x3445c9=_0x1c4e3f,_0x83ff8a=_0x18e3f1[_0x3445c9];if('formatPainterLicenseKeyValid'==_0x83ff8a||'formatPainterLicenseKeyInvalid'==_0x83ff8a||'formatPainterLicenseKeyExpired'==_0x83ff8a||'formatPainterLicenseKeyDomainLimit'==_0x83ff8a||'formatPainterLicenseKeyNotAllowed'==_0x83ff8a||'formatPainterLicenseKeyEvaluationLimit'==_0x83ff8a||'formatPainterLicenseKeyTrialLimit'==_0x83ff8a||'formatPainterLicenseKeyUsageLimit'==_0x83ff8a){delete _0x18e3f1[_0x3445c9],_0x456ae7=_0x83ff8a,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'formatPainterLicenseKeyInvalid'==_0x456ae7&&_0x18e3f1['_showLicenseError']('invalid'),'formatPainterLicenseKeyExpired'==_0x456ae7&&_0x18e3f1['_showLicenseError']('expired'),'formatPainterLicenseKeyDomainLimit'==_0x456ae7&&_0x18e3f1['_showLicenseError']('domainLimit'),'formatPainterLicenseKeyNotAllowed'==_0x456ae7&&_0x18e3f1['_showLicenseError']('featureNotAllowed','FormatPainter'),'formatPainterLicenseKeyEvaluationLimit'==_0x456ae7&&_0x18e3f1['_showLicenseError']('evaluationLimit'),'formatPainterLicenseKeyTrialLimit'==_0x456ae7&&_0x18e3f1['_showLicenseError']('trialLimit'),'formatPainterLicenseKeyUsageLimit'==_0x456ae7&&_0x18e3f1['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function C(_0x3ea2a8,_0x560700){const t=_0x3ea2a8['t'];switch(_0x560700){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 _0x560700;}}class a extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x2f020f(_0x4a24e2){static get['pluginName'](){return'FormatPainterUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x4a2119=this['editor'];_0x4a2119['editing']['view']['addObserver'](_0x370993),_0x4a2119['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':C(_0x4a2119['locale'],'Copy\x20text\x20formatting'),'keystroke':'Ctrl+Alt+C'},{'label':C(_0x4a2119['locale'],'Paste\x20text\x20formatting'),'keystroke':'Ctrl+Alt+V'}]}),_0x4a2119['ui']['componentFactory']['add']('formatPainter',_0x2640d5=>{const _0xe603f3=_0x3d2e53(_0x2640d5,_0x1de0ec),_0x18d80d=_0x4a2119['commands']['get'](m);_0xe603f3['buttonView']['set']({'label':C(_0x4a2119['locale'],'Paint\x20formatting'),'icon':_0x1c4895,'keystroke':'Ctrl+Alt+C','tooltip':!0x0}),_0xe603f3['class']='ck-format-painter-dropdown',_0x18d80d&&(_0xe603f3['bind']('isEnabled')['to'](_0x18d80d,'isEnabled'),this['listenTo'](_0x18d80d,'change:isEnabled',(_0x1b9754,_0x625b1b,_0x258573)=>{_0x258573||this['_finishPainting']();}),_0xe603f3['buttonView']['bind']('isOn')['to'](_0x18d80d,'value',_0x208b18=>!!_0x208b18),this['listenTo'](_0x4a2119,'destroy',()=>this['_toggleSpecialCursor'](!0x1)),this['listenTo'](_0x18d80d,'change:value',(_0x485f50,_0xc440e9,_0x5d12df)=>{this['_toggleSpecialCursor'](!!_0x5d12df);}));const _0x1f44ec=new _0x37947d({'withText':!0x0,'label':C(_0x4a2119['locale'],'Continuous\x20painting'),'tooltip':C(_0x4a2119['locale'],'Keeps\x20the\x20painter\x20on\x20after\x20setting\x20the\x20formatting.'),'isOn':!0x1,'role':'menuitemcheckbox'});_0x175b58(_0xe603f3,new _0x323568([{'type':'switchbutton','model':_0x1f44ec}]),{'role':'menu'});const _0x364dcb=()=>{this['_copyFormatting'](),this['listenTo'](_0x549ec2['window']['document'],'mouseup',()=>{this['_pasteFormatting'](),_0x1f44ec['isOn']||this['_finishPainting']();});};return this['listenTo'](_0xe603f3,'execute',()=>{_0x1f44ec['isOn']=!_0x1f44ec['isOn'];}),this['listenTo'](_0xe603f3['buttonView'],'execute',()=>{_0x4a2119['editing']['view']['focus'](),_0xe603f3['buttonView']['isOn']?this['_finishPainting']():_0x364dcb();}),_0x4a2119['keystrokes']['set']('Ctrl+Alt+C',(_0x3e141a,_0x3ef9df)=>{_0x364dcb(),_0x1f44ec['isOn']=!0x0,_0x3ef9df();},{'priority':'high'}),_0x4a2119['keystrokes']['set']('Ctrl+Alt+V',(_0x14998f,_0x1727a4)=>{_0xe603f3['buttonView']['isOn']&&(this['_pasteFormatting'](),_0x1f44ec['isOn']||this['_finishPainting'](),_0x1727a4());},{'priority':'high'}),_0x4a2119['keystrokes']['set']('Esc',(_0x441082,_0x5939c4)=>{_0xe603f3['buttonView']['isOn']&&(_0x1f44ec['isOn']=!0x1,this['_finishPainting'](),_0x5939c4());}),_0xe603f3;});}['afterInit'](){!async function(_0x3d537d){const _0x3d0222=_0x5741d7([0x75,0x6e,0x53,0x62,0x47,0x70,0x6d,0x69,0x6a,0x41,0x77,0x79,0x72,0x4f,0x7a,0x64,0x5a,0x68,0x43,0x71,0x54,0x33,0x59,0x4c,0x46,0x56,0x74,0x4a,0x6c,0x6b,0x44,0x61,0x67,0x31,0x57,0x4d,0x4e,0x78,0x52,0x34,0x48,0x36,0x37,0x49,0x42,0x35,0x51,0x6f,0x58,0x30,0x32,0x38,0x39,0x63,0x55,0x73,0x76,0x50,0x45,0x65,0x66,0x4b]),_0x2826ce=0x47a28506,_0x2fe4be=0x47a5f1ae^_0x2826ce,_0x2ae94f=window[_0x5741d7([0x44,0x61,0x74,0x65])][_0x5741d7([0x6e,0x6f,0x77])](),_0x4c907b=_0x3d537d[_0x5741d7([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x14869b=new window[(_0x5741d7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xf19e7f=>{_0x4c907b[_0x5741d7([0x6f,0x6e,0x63,0x65])](_0x5741d7([0x72,0x65,0x61,0x64,0x79]),_0xf19e7f);}),_0x14a4a4={[_0x5741d7([0x6b,0x74,0x79])]:_0x5741d7([0x45,0x43]),[_0x5741d7([0x75,0x73,0x65])]:_0x5741d7([0x73,0x69,0x67]),[_0x5741d7([0x63,0x72,0x76])]:_0x5741d7([0x50,0x2d,0x32,0x35,0x36]),[_0x5741d7([0x78])]:_0x5741d7([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]),[_0x5741d7([0x79])]:_0x5741d7([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]),[_0x5741d7([0x61,0x6c,0x67])]:_0x5741d7([0x45,0x53,0x32,0x35,0x36])},_0x2da56a=_0x4c907b[_0x5741d7([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5741d7([0x67,0x65,0x74])](_0x5741d7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5b98ff(){let _0x19fb2f,_0x429673=null,_0x531bae=null;try{if(_0x2da56a==_0x5741d7([0x47,0x50,0x4c]))return _0x5741d7([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x19fb2f=_0x2ad9e8(),!_0x19fb2f)return _0x5741d7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x19fb2f[_0x5741d7([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x531bae=_0xc02f61(_0x19fb2f[_0x5741d7([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x19fb2f[_0x5741d7([0x6a,0x74,0x69])])),await _0x308f76()?_0xac8fa6()?_0x2140cb()?_0x5741d7([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x59ea1a()?(_0x19fb2f[_0x5741d7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5741d7([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x429673=_0xe1b687(_0x5741d7([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x19fb2f[_0x5741d7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5741d7([0x74,0x72,0x69,0x61,0x6c])&&(_0x429673=_0xe1b687(_0x5741d7([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4d530b()):_0x5741d7([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5741d7([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5741d7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x5741d7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2140cb(){const _0x2483c6=[_0x5741d7([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5741d7([0x74,0x72,0x69,0x61,0x6c])][_0x5741d7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x19fb2f[_0x5741d7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2ae94f/0x3e8:0xe10*_0x2fe4be;return _0x19fb2f[_0x5741d7([0x65,0x78,0x70])]<_0x2483c6;}function _0xac8fa6(){const _0x2963d3=_0x19fb2f[_0x5741d7([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2963d3&&(!!_0x2963d3[_0x5741d7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5741d7([0x2a]))||(!!_0x2963d3[_0x5741d7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5741d7([0x46,0x50]))||(!!_0x2963d3[_0x5741d7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5741d7([0x50,0x50]))||!(!_0x2963d3[_0x5741d7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5741d7([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))||!_0x459dcd()))));}function _0x59ea1a(){const _0x144412=_0x19fb2f[_0x5741d7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x144412||0x0==_0x144412[_0x5741d7([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x2af518}=new URL(window[_0x5741d7([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x144412[_0x5741d7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2af518))return!0x0;const _0x950a57=_0x2af518[_0x5741d7([0x73,0x70,0x6c,0x69,0x74])](_0x5741d7([0x2e]));return _0x144412[_0x5741d7([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x23741e=>_0x23741e[_0x5741d7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5741d7([0x2a])))[_0x5741d7([0x6d,0x61,0x70])](_0x4a8237=>_0x4a8237[_0x5741d7([0x73,0x70,0x6c,0x69,0x74])](_0x5741d7([0x2e])))[_0x5741d7([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3340d6=>_0x3340d6[_0x5741d7([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x950a57[_0x5741d7([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5741d7([0x6d,0x61,0x70])](_0xfaf2ec=>Array(_0x950a57[_0x5741d7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0xfaf2ec[_0x5741d7([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5741d7([0x66,0x69,0x6c,0x6c])](_0xfaf2ec[0x0]===_0x5741d7([0x2a])?_0x5741d7([0x2a]):'')[_0x5741d7([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0xfaf2ec))[_0x5741d7([0x73,0x6f,0x6d,0x65])](_0x20ef63=>_0x950a57[_0x5741d7([0x65,0x76,0x65,0x72,0x79])]((_0x36461f,_0x427452)=>_0x20ef63[_0x427452]===_0x36461f||_0x20ef63[_0x427452]===_0x5741d7([0x2a])));}function _0x4d530b(){return _0x429673&&_0x531bae?new window[(_0x5741d7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xb88632,_0x1b71ed)=>{_0x429673[_0x5741d7([0x74,0x68,0x65,0x6e])](_0xb88632,_0x1b71ed),_0x531bae[_0x5741d7([0x74,0x68,0x65,0x6e])](_0x3ff88f=>{_0x3ff88f!=_0x5741d7([0x56,0x61,0x6c,0x69,0x64])&&_0xb88632(_0x3ff88f);},_0x1b71ed);}):_0x429673||_0x531bae||_0x5741d7([0x56,0x61,0x6c,0x69,0x64]);}}function _0xc02f61(_0x4efedc,_0x170cba){return new window[(_0x5741d7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x28ab32=>{if(_0x41dca0())return _0x28ab32(_0x5741d7([0x56,0x61,0x6c,0x69,0x64]));_0x555770(),_0x4c907b[_0x5741d7([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5741d7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x53ae88=!0x1;const _0x3d3763=_0x1d5cfe();function _0x563a50(_0x50edeb){return!!_0x50edeb&&(typeof _0x50edeb===_0x5741d7([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x50edeb===_0x5741d7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x50edeb[_0x5741d7([0x74,0x68,0x65,0x6e])]===_0x5741d7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x50edeb[_0x5741d7([0x63,0x61,0x74,0x63,0x68])]===_0x5741d7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2747f1(_0x4f5b9e){_0x3e3daa(_0x4f5b9e)[_0x5741d7([0x74,0x68,0x65,0x6e])](_0x353564=>{if(!_0x353564||_0x353564[_0x5741d7([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5741d7([0x6f,0x6b]))return _0x5741d7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x423989(_0x33161e(_0x3d3763+_0x170cba))!=_0x353564[_0x5741d7([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5741d7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5741d7([0x56,0x61,0x6c,0x69,0x64]);})[_0x5741d7([0x74,0x68,0x65,0x6e])](_0x4e46d5=>(_0x10e625(),_0x4e46d5),()=>{const _0x441faf=_0x1b81b4();return null==_0x441faf?(_0x10e625(),_0x5741d7([0x56,0x61,0x6c,0x69,0x64])):_0x5741d7(_0x2ae94f-_0x441faf>(0x63ae0106^_0x2826ce)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5741d7([0x74,0x68,0x65,0x6e])](_0x28ab32)[_0x5741d7([0x63,0x61,0x74,0x63,0x68])](()=>{_0x28ab32(_0x5741d7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1655e1=0x47946b86^_0x2826ce;function _0x10e625(){const _0x577094=_0x5741d7([0x6c,0x6c,0x63,0x74,0x2d])+_0x423989(_0x33161e(_0x4efedc)),_0x3bf643=_0x518754(_0x423989(window[_0x5741d7([0x4d,0x61,0x74,0x68])][_0x5741d7([0x63,0x65,0x69,0x6c])](_0x2ae94f/_0x1655e1)));window[_0x5741d7([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5741d7([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x577094,_0x3bf643);}function _0x1b81b4(){const _0x3f564b=_0x5741d7([0x6c,0x6c,0x63,0x74,0x2d])+_0x423989(_0x33161e(_0x4efedc)),_0x36074c=window[_0x5741d7([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5741d7([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3f564b);return _0x36074c?window[_0x5741d7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x518754(_0x36074c),0x10)*_0x1655e1:null;}function _0x3e3daa(_0x1939d7){return new window[(_0x5741d7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4e136a,_0x54b40d)=>{_0x1939d7[_0x5741d7([0x74,0x68,0x65,0x6e])](_0x4e136a,_0x54b40d),window[_0x5741d7([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x54b40d,0x47a351c6^_0x2826ce);});}}_0x4c907b[_0x5741d7([0x6f,0x6e])](_0x5741d7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0xf44175,_0x177668)=>{if(_0x177668[0x0]!=_0x4efedc)return _0x28ab32(_0x5741d7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x177668[0x1]={..._0x177668[0x1],[_0x5741d7([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3d3763};},{[_0x5741d7([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5741d7([0x68,0x69,0x67,0x68])}),_0x4c907b[_0x5741d7([0x6f,0x6e])](_0x5741d7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x32069c=>{_0x563a50(_0x32069c[_0x5741d7([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x53ae88=!0x0,_0x2747f1(_0x32069c[_0x5741d7([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5741d7([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5741d7([0x6c,0x6f,0x77])}),_0x14869b[_0x5741d7([0x74,0x68,0x65,0x6e])](()=>{_0x53ae88||_0x28ab32(_0x5741d7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x41dca0(){return _0x4c907b[_0x5741d7([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5741d7([0x76,0x69,0x65,0x77])][_0x5741d7([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5741d7([0x61,0x75,0x74,0x6f]);}function _0x555770(){_0x4c907b[_0x5741d7([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5741d7([0x76,0x69,0x65,0x77])][_0x5741d7([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5741d7([0x61,0x75,0x74,0x6f]);}}function _0xe1b687(_0x36ca48){const _0xeba160=[new window[(_0x5741d7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x12b18d=>setTimeout(_0x12b18d,0x47abbbca^_0x2826ce)),_0x14869b[_0x5741d7([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5741d7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x6dfd05=>{let _0xc68121=0x0;_0x4c907b[_0x5741d7([0x6d,0x6f,0x64,0x65,0x6c])][_0x5741d7([0x6f,0x6e])](_0x5741d7([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x417521,_0x458abf)=>{_0x458abf[0x0][_0x5741d7([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xc68121++,_0xc68121==(0x47a284fe^_0x2826ce)&&(_0x6dfd05(),_0x417521[_0x5741d7([0x6f,0x66,0x66])]());});}))];return window[_0x5741d7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5741d7([0x72,0x61,0x63,0x65])](_0xeba160)[_0x5741d7([0x74,0x68,0x65,0x6e])](()=>_0x36ca48);}async function _0x312ce8(){await _0x14869b,_0x4c907b[_0x5741d7([0x6d,0x6f,0x64,0x65,0x6c])][_0x5741d7([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x47ec4a,_0x4c907b[_0x5741d7([0x6d,0x6f,0x64,0x65,0x6c])][_0x5741d7([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x47ec4a,_0x4c907b[_0x5741d7([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5741d7([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x459dcd(){return window[_0x5741d7([0x67,0x6c,0x6f,0x62])]&&window[_0x5741d7([0x67,0x6c,0x6f,0x62])][_0x5741d7([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x45bc9c(_0x1a494d){const _0x503636=_0x4b123e();_0x4c907b[_0x503636]=_0x5741d7([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x1a494d,_0x1a494d!=_0x5741d7([0x56,0x61,0x6c,0x69,0x64])&&_0x312ce8();}function _0x4b123e(){const _0x311f65=window[_0x5741d7([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5741d7([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5741d7([0x6e,0x6f,0x77])]())[_0x5741d7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5741d7([0x2e]),'');let _0x20bf60=_0x5741d7([0x75]);for(let _0x16333d=0x0;_0x16333d<_0x311f65[_0x5741d7([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x16333d+=0x2){let _0x255a70=window[_0x5741d7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x311f65[_0x5741d7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x16333d,_0x16333d+0x2));_0x255a70>=_0x3d0222[_0x5741d7([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x255a70-=_0x3d0222[_0x5741d7([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x20bf60+=_0x3d0222[_0x255a70];}return _0x20bf60;}function _0x2ad9e8(){const _0x3230e0=_0x2da56a[_0x5741d7([0x73,0x70,0x6c,0x69,0x74])](_0x5741d7([0x2e]));if(0x3!=_0x3230e0[_0x5741d7([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x2b05a1(_0x3230e0[0x1]);function _0x2b05a1(_0x124d89){const _0x283710=_0xcde12e(_0x124d89);return _0x283710&&_0x2aca9e()?_0x283710:null;function _0x2aca9e(){const _0x54ca32=_0x283710[_0x5741d7([0x6a,0x74,0x69])],_0x3307c0=window[_0x5741d7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x54ca32[_0x5741d7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x54ca32[_0x5741d7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x527c46={..._0x283710,[_0x5741d7([0x6a,0x74,0x69])]:_0x54ca32[_0x5741d7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x54ca32[_0x5741d7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x527c46[_0x5741d7([0x76,0x63])],_0x33161e(_0x527c46)==_0x3307c0;}}}async function _0x308f76(){let _0x2ad0de=!0x0;try{const _0x41c87e=_0x2da56a[_0x5741d7([0x73,0x70,0x6c,0x69,0x74])](_0x5741d7([0x2e])),[_0x188d19,_0x446b64,_0x5df9eb]=_0x41c87e;return _0x103113(_0x188d19),await _0x573671(_0x188d19,_0x446b64,_0x5df9eb),_0x2ad0de;}catch{return!0x1;}function _0x103113(_0x254f00){const _0x394247=_0xcde12e(_0x254f00);_0x394247&&_0x394247[_0x5741d7([0x61,0x6c,0x67])]==_0x5741d7([0x45,0x53,0x32,0x35,0x36])||(_0x2ad0de=!0x1);}async function _0x573671(_0x17f9e9,_0x153de8,_0x93fc02){const _0x296e8d=window[_0x5741d7([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5741d7([0x66,0x72,0x6f,0x6d])](_0x172f0f(_0x93fc02),_0x3c0d84=>_0x3c0d84[_0x5741d7([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x571bce=new window[(_0x5741d7([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5741d7([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x17f9e9+_0x5741d7([0x2e])+_0x153de8),_0x3ed0b8=window[_0x5741d7([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5741d7([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3ed0b8)return;const _0xcda524=await _0x3ed0b8[_0x5741d7([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5741d7([0x6a,0x77,0x6b]),_0x14a4a4,{[_0x5741d7([0x6e,0x61,0x6d,0x65])]:_0x5741d7([0x45,0x43,0x44,0x53,0x41]),[_0x5741d7([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5741d7([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5741d7([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3ed0b8[_0x5741d7([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5741d7([0x6e,0x61,0x6d,0x65])]:_0x5741d7([0x45,0x43,0x44,0x53,0x41]),[_0x5741d7([0x68,0x61,0x73,0x68])]:{[_0x5741d7([0x6e,0x61,0x6d,0x65])]:_0x5741d7([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0xcda524,_0x296e8d,_0x571bce)||(_0x2ad0de=!0x1);}}function _0xcde12e(_0x59fa1f){return _0x59fa1f[_0x5741d7([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5741d7([0x65,0x79]))?JSON[_0x5741d7([0x70,0x61,0x72,0x73,0x65])](_0x172f0f(_0x59fa1f)):null;}function _0x172f0f(_0x3b4999){return window[_0x5741d7([0x61,0x74,0x6f,0x62])](_0x3b4999[_0x5741d7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5741d7([0x2b]))[_0x5741d7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5741d7([0x2f])));}function _0x33161e(_0x9383ac){let _0x1c4be3=0x1505;function _0x1d6ca7(_0x24b840){for(let _0x5d2ccd=0x0;_0x5d2ccd<_0x24b840[_0x5741d7([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5d2ccd++){const _0x1033a4=_0x24b840[_0x5741d7([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5d2ccd);_0x1c4be3=(_0x1c4be3<<0x5)+_0x1c4be3+_0x1033a4,_0x1c4be3&=_0x1c4be3;}}function _0x77b4fb(_0x36dae5){Array[_0x5741d7([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x36dae5)?_0x36dae5[_0x5741d7([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x77b4fb):_0x36dae5&&typeof _0x36dae5==_0x5741d7([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5741d7([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x36dae5)[_0x5741d7([0x73,0x6f,0x72,0x74])]()[_0x5741d7([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4a39ab,_0x487a32])=>{_0x1d6ca7(_0x4a39ab),_0x77b4fb(_0x487a32);}):_0x1d6ca7(window[_0x5741d7([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x36dae5));}return _0x77b4fb(_0x9383ac),_0x1c4be3>>>0x0;}function _0x423989(_0x293f3c){return _0x293f3c[_0x5741d7([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5741d7([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5741d7([0x30]));}function _0x518754(_0x233de6){return _0x233de6[_0x5741d7([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5741d7([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5741d7([0x6a,0x6f,0x69,0x6e])]('');}function _0x47ec4a(){}function _0x5741d7(_0x4a8b71){return _0x4a8b71['map'](_0x582438=>String['fromCharCode'](_0x582438))['join']('');}_0x45bc9c(await _0x5b98ff());}(this);}['_toggleSpecialCursor'](_0x1708c2){this['editor']['editing']['view']['change'](_0x53833a=>{for(const _0x4b51f2 of this['editor']['editing']['view']['document']['roots'])_0x1708c2?_0x53833a['addClass'](k,_0x4b51f2):_0x53833a['removeClass'](k,_0x4b51f2);});}['_copyFormatting'](){const {editor:_0x4ae748}=this;_0x4ae748['execute'](m),_0x4ae748['ui']['ariaLiveAnnouncer']['announce'](C(_0x4ae748['locale'],'Formatting\x20copied.'));}['_pasteFormatting'](){const {editor:_0x2b8ecb}=this,_0x27469c=_0x2b8ecb['commands']['get'](m)['value'];_0x2b8ecb['execute'](e,_0x27469c),_0x2b8ecb['ui']['ariaLiveAnnouncer']['announce'](C(_0x2b8ecb['locale'],'Pasted\x20formatting.'));}['_finishPainting'](){this['editor']['commands']['get'](m)['reset'](),this['stopListening'](_0x549ec2['window']['document'],'mouseup');}}class P extends _0x4a24e2{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": "47.0.0-alpha.
|
|
3
|
+
"version": "47.0.0-alpha.4",
|
|
4
4
|
"description": "Format painter feature for CKEditor 5.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ckeditor",
|
|
@@ -12,12 +12,12 @@
|
|
|
12
12
|
"type": "module",
|
|
13
13
|
"main": "src/index.js",
|
|
14
14
|
"dependencies": {
|
|
15
|
-
"@ckeditor/ckeditor5-core": "47.0.0-alpha.
|
|
16
|
-
"@ckeditor/ckeditor5-engine": "47.0.0-alpha.
|
|
17
|
-
"@ckeditor/ckeditor5-icons": "47.0.0-alpha.
|
|
18
|
-
"@ckeditor/ckeditor5-ui": "47.0.0-alpha.
|
|
19
|
-
"@ckeditor/ckeditor5-utils": "47.0.0-alpha.
|
|
20
|
-
"ckeditor5": "47.0.0-alpha.
|
|
15
|
+
"@ckeditor/ckeditor5-core": "47.0.0-alpha.4",
|
|
16
|
+
"@ckeditor/ckeditor5-engine": "47.0.0-alpha.4",
|
|
17
|
+
"@ckeditor/ckeditor5-icons": "47.0.0-alpha.4",
|
|
18
|
+
"@ckeditor/ckeditor5-ui": "47.0.0-alpha.4",
|
|
19
|
+
"@ckeditor/ckeditor5-utils": "47.0.0-alpha.4",
|
|
20
|
+
"ckeditor5": "47.0.0-alpha.4"
|
|
21
21
|
},
|
|
22
22
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
23
23
|
"author": "CKSource (http://cksource.com/)",
|
package/src/formatpainterui.js
CHANGED
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
_0x3ffaa7(_0x2cf953){static get[_0x4599c0(0x1be)](){const _0x2f69bb=_0x4599c0;return _0x2f69bb(0x1b1);}static get[_0x4599c0(0x1ef)](){return!0x0;}static get[_0x4599c0(0x1c5)](){return!0x0;}[_0x4599c0(0x1e1)](){const _0x36ee75=_0x4599c0,_0x24a7a2=this[_0x36ee75(0x1d0)];_0x24a7a2[_0x36ee75(0x1e7)][_0x36ee75(0x1c9)][_0x36ee75(0x1e2)](_0xbdf6b5),_0x24a7a2[_0x36ee75(0x1bf)][_0x36ee75(0x1c0)]({'keystrokes':[{'label':_0x249fdc(_0x24a7a2[_0x36ee75(0x1ba)],_0x36ee75(0x1c6)),'keystroke':_0x36ee75(0x1ed)},{'label':_0x249fdc(_0x24a7a2[_0x36ee75(0x1ba)],_0x36ee75(0x1bc)),'keystroke':_0x36ee75(0x1b8)}]}),_0x24a7a2['ui'][_0x36ee75(0x1e3)][_0x36ee75(0x1c2)](_0x36ee75(0x1bd),_0x4616f6=>{const _0x39e701=_0x36ee75,_0x54b0c9=_0xeea64c(_0x4616f6,_0x406fc6),_0xc6b8f7=_0x24a7a2[_0x39e701(0x1f0)][_0x39e701(0x1f9)](_0x11499f);_0x54b0c9[_0x39e701(0x1f3)][_0x39e701(0x1b9)]({'label':_0x249fdc(_0x24a7a2[_0x39e701(0x1ba)],_0x39e701(0x1d3)),'icon':_0x9c48a0,'keystroke':_0x39e701(0x1ed),'tooltip':!0x0}),_0x54b0c9[_0x39e701(0x1f7)]=_0x39e701(0x1fb),_0xc6b8f7&&(_0x54b0c9[_0x39e701(0x1ea)](_0x39e701(0x1b0))['to'](_0xc6b8f7,_0x39e701(0x1b0)),this[_0x39e701(0x1ca)](_0xc6b8f7,_0x39e701(0x1d9),(_0x231d5a,_0x396814,_0x19a31b)=>{const _0x55cd3e=_0x39e701;_0x19a31b||this[_0x55cd3e(0x1e8)]();}),_0x54b0c9[_0x39e701(0x1f3)][_0x39e701(0x1ea)](_0x39e701(0x1f1))['to'](_0xc6b8f7,_0x39e701(0x1b3),_0x46e015=>!!_0x46e015),this[_0x39e701(0x1ca)](_0x24a7a2,_0x39e701(0x1b4),()=>this[_0x39e701(0x1c1)](!0x1)),this[_0x39e701(0x1ca)](_0xc6b8f7,_0x39e701(0x1dd),(_0x168918,_0x1bea09,_0x15a1e9)=>{const _0x902daa=_0x39e701;this[_0x902daa(0x1c1)](!!_0x15a1e9);}));const _0x5ecb0f=new _0x3a247d({'withText':!0x0,'label':_0x249fdc(_0x24a7a2[_0x39e701(0x1ba)],_0x39e701(0x1e4)),'tooltip':_0x249fdc(_0x24a7a2[_0x39e701(0x1ba)],_0x39e701(0x1f8)),'isOn':!0x1,'role':_0x39e701(0x1e6)});_0x2fc81b(_0x54b0c9,new _0x441380([{'type':_0x39e701(0x1d2),'model':_0x5ecb0f}]),{'role':_0x39e701(0x1dc)});const _0x890d4c=()=>{const _0x4e34b5=_0x39e701;this[_0x4e34b5(0x1f6)](),this[_0x4e34b5(0x1ca)](_0x1fab0b[_0x4e34b5(0x1e9)][_0x4e34b5(0x1d6)],_0x4e34b5(0x1cc),()=>{const _0x1f9751=_0x4e34b5;this[_0x1f9751(0x1c3)](),_0x5ecb0f[_0x1f9751(0x1f1)]||this[_0x1f9751(0x1e8)]();});};return this[_0x39e701(0x1ca)](_0x54b0c9,_0x39e701(0x1ec),()=>{const _0x9b7a28=_0x39e701;_0x5ecb0f[_0x9b7a28(0x1f1)]=!_0x5ecb0f[_0x9b7a28(0x1f1)];}),this[_0x39e701(0x1ca)](_0x54b0c9[_0x39e701(0x1f3)],_0x39e701(0x1ec),()=>{const _0x39afe0=_0x39e701;_0x24a7a2[_0x39afe0(0x1e7)][_0x39afe0(0x1c9)][_0x39afe0(0x1cd)](),_0x54b0c9[_0x39afe0(0x1f3)][_0x39afe0(0x1f1)]?this[_0x39afe0(0x1e8)]():_0x890d4c();}),_0x24a7a2[_0x39e701(0x1d5)][_0x39e701(0x1b9)](_0x39e701(0x1ed),(_0x490044,_0x32ac20)=>{const _0x2c0e1d=_0x39e701;_0x890d4c(),_0x5ecb0f[_0x2c0e1d(0x1f1)]=!0x0,_0x32ac20();},{'priority':_0x39e701(0x1e5)}),_0x24a7a2[_0x39e701(0x1d5)][_0x39e701(0x1b9)](_0x39e701(0x1b8),(_0x59dc31,_0x319c85)=>{const _0x15bc0d=_0x39e701;_0x54b0c9[_0x15bc0d(0x1f3)][_0x15bc0d(0x1f1)]&&(this[_0x15bc0d(0x1c3)](),_0x5ecb0f[_0x15bc0d(0x1f1)]||this[_0x15bc0d(0x1e8)](),_0x319c85());},{'priority':_0x39e701(0x1e5)}),_0x24a7a2[_0x39e701(0x1d5)][_0x39e701(0x1b9)](_0x39e701(0x1f2),(_0x5ab654,_0xd99f2a)=>{const _0x25414b=_0x39e701;_0x54b0c9[_0x25414b(0x1f3)][_0x25414b(0x1f1)]&&(_0x5ecb0f[_0x25414b(0x1f1)]=!0x1,this[_0x25414b(0x1e8)](),_0xd99f2a());}),_0x54b0c9;});}[_0x4599c0(0x1b7)](){!async function(_0x4cf2a0){const _0x1e9a06=_0x2224e3([0x75,0x6e,0x53,0x62,0x47,0x70,0x6d,0x69,0x6a,0x41,0x77,0x79,0x72,0x4f,0x7a,0x64,0x5a,0x68,0x43,0x71,0x54,0x33,0x59,0x4c,0x46,0x56,0x74,0x4a,0x6c,0x6b,0x44,0x61,0x67,0x31,0x57,0x4d,0x4e,0x78,0x52,0x34,0x48,0x36,0x37,0x49,0x42,0x35,0x51,0x6f,0x58,0x30,0x32,0x38,0x39,0x63,0x55,0x73,0x76,0x50,0x45,0x65,0x66,0x4b]),_0x364f58=0x47a28506,_0x303fa4=0x47a5f196^_0x364f58,_0x14b1a5=window[_0x2224e3([0x44,0x61,0x74,0x65])][_0x2224e3([0x6e,0x6f,0x77])](),_0x18cdcc=_0x4cf2a0[_0x2224e3([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x34ec60=new window[(_0x2224e3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x384734=>{_0x18cdcc[_0x2224e3([0x6f,0x6e,0x63,0x65])](_0x2224e3([0x72,0x65,0x61,0x64,0x79]),_0x384734);}),_0x11deca={[_0x2224e3([0x6b,0x74,0x79])]:_0x2224e3([0x45,0x43]),[_0x2224e3([0x75,0x73,0x65])]:_0x2224e3([0x73,0x69,0x67]),[_0x2224e3([0x63,0x72,0x76])]:_0x2224e3([0x50,0x2d,0x32,0x35,0x36]),[_0x2224e3([0x78])]:_0x2224e3([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]),[_0x2224e3([0x79])]:_0x2224e3([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]),[_0x2224e3([0x61,0x6c,0x67])]:_0x2224e3([0x45,0x53,0x32,0x35,0x36])},_0x19523c=_0x18cdcc[_0x2224e3([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2224e3([0x67,0x65,0x74])](_0x2224e3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x22a770(){let _0x7daf14,_0x3c268c=null,_0x241893=null;try{if(_0x19523c==_0x2224e3([0x47,0x50,0x4c]))return _0x2224e3([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x7daf14=_0x243cef(),!_0x7daf14)return _0x2224e3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x7daf14[_0x2224e3([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x241893=_0x504b30(_0x7daf14[_0x2224e3([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x7daf14[_0x2224e3([0x6a,0x74,0x69])])),await _0x376f85()?_0x53e943()?_0x265ad6()?_0x2224e3([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5dd7d1()?(_0x7daf14[_0x2224e3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2224e3([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3c268c=_0x218b1a(_0x2224e3([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x7daf14[_0x2224e3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2224e3([0x74,0x72,0x69,0x61,0x6c])&&(_0x3c268c=_0x218b1a(_0x2224e3([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x3c592f()):_0x2224e3([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2224e3([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2224e3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2224e3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x265ad6(){const _0x253c3d=[_0x2224e3([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2224e3([0x74,0x72,0x69,0x61,0x6c])][_0x2224e3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x7daf14[_0x2224e3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x14b1a5/0x3e8:0xe10*_0x303fa4;return _0x7daf14[_0x2224e3([0x65,0x78,0x70])]<_0x253c3d;}function _0x53e943(){const _0x31c1e0=_0x7daf14[_0x2224e3([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x31c1e0&&(!!_0x31c1e0[_0x2224e3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2224e3([0x2a]))||(!!_0x31c1e0[_0x2224e3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2224e3([0x46,0x50]))||(!!_0x31c1e0[_0x2224e3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2224e3([0x50,0x50]))||!(!_0x31c1e0[_0x2224e3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2224e3([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))||!_0x270be1()))));}function _0x5dd7d1(){const _0x524e18=_0xc7d8,_0x25c6be=_0x7daf14[_0x2224e3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x25c6be||0x0==_0x25c6be[_0x2224e3([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x5edd01}=new URL(window[_0x2224e3([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x524e18(0x1fa)]);if(_0x25c6be[_0x2224e3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5edd01))return!0x0;const _0x4d0e05=_0x5edd01[_0x2224e3([0x73,0x70,0x6c,0x69,0x74])](_0x2224e3([0x2e]));return _0x25c6be[_0x2224e3([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4effe0=>_0x4effe0[_0x2224e3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2224e3([0x2a])))[_0x2224e3([0x6d,0x61,0x70])](_0x2ac618=>_0x2ac618[_0x2224e3([0x73,0x70,0x6c,0x69,0x74])](_0x2224e3([0x2e])))[_0x2224e3([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3df0ca=>_0x3df0ca[_0x2224e3([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x4d0e05[_0x2224e3([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2224e3([0x6d,0x61,0x70])](_0x589e14=>Array(_0x4d0e05[_0x2224e3([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x589e14[_0x2224e3([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2224e3([0x66,0x69,0x6c,0x6c])](_0x589e14[0x0]===_0x2224e3([0x2a])?_0x2224e3([0x2a]):'')[_0x2224e3([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x589e14))[_0x2224e3([0x73,0x6f,0x6d,0x65])](_0x196a8f=>_0x4d0e05[_0x2224e3([0x65,0x76,0x65,0x72,0x79])]((_0x2ad5c4,_0x14a4e6)=>_0x196a8f[_0x14a4e6]===_0x2ad5c4||_0x196a8f[_0x14a4e6]===_0x2224e3([0x2a])));}function _0x3c592f(){return _0x3c268c&&_0x241893?new window[(_0x2224e3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2d9a66,_0x33ee01)=>{_0x3c268c[_0x2224e3([0x74,0x68,0x65,0x6e])](_0x2d9a66,_0x33ee01),_0x241893[_0x2224e3([0x74,0x68,0x65,0x6e])](_0x384dd1=>{_0x384dd1!=_0x2224e3([0x56,0x61,0x6c,0x69,0x64])&&_0x2d9a66(_0x384dd1);},_0x33ee01);}):_0x3c268c||_0x241893||_0x2224e3([0x56,0x61,0x6c,0x69,0x64]);}}function _0x504b30(_0x404021,_0x3e01cf){return new window[(_0x2224e3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3c0700=>{if(_0x3dfd29())return _0x3c0700(_0x2224e3([0x56,0x61,0x6c,0x69,0x64]));_0x468da4(),_0x18cdcc[_0x2224e3([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2224e3([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x543c96=!0x1;const _0x5b1aee=_0x3a466b();function _0x5eb7a5(_0x4a7972){return!!_0x4a7972&&(typeof _0x4a7972===_0x2224e3([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4a7972===_0x2224e3([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4a7972[_0x2224e3([0x74,0x68,0x65,0x6e])]===_0x2224e3([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4a7972[_0x2224e3([0x63,0x61,0x74,0x63,0x68])]===_0x2224e3([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4e5d73(_0x26690d){_0x5e536f(_0x26690d)[_0x2224e3([0x74,0x68,0x65,0x6e])](_0x202bfe=>{if(!_0x202bfe||_0x202bfe[_0x2224e3([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2224e3([0x6f,0x6b]))return _0x2224e3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x30fa5f(_0x4bcb67(_0x5b1aee+_0x3e01cf))!=_0x202bfe[_0x2224e3([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2224e3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2224e3([0x56,0x61,0x6c,0x69,0x64]);})[_0x2224e3([0x74,0x68,0x65,0x6e])](_0x242f0f=>(_0x4443d9(),_0x242f0f),()=>{const _0x2e80b=_0x47d012();return null==_0x2e80b?(_0x4443d9(),_0x2224e3([0x56,0x61,0x6c,0x69,0x64])):_0x2224e3(_0x14b1a5-_0x2e80b>(0x63ae0106^_0x364f58)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2224e3([0x74,0x68,0x65,0x6e])](_0x3c0700)[_0x2224e3([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3c0700(_0x2224e3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x29e542=0x47946b86^_0x364f58;function _0x4443d9(){const _0x5e06a2=_0x2224e3([0x6c,0x6c,0x63,0x74,0x2d])+_0x30fa5f(_0x4bcb67(_0x404021)),_0x576f32=_0xc3a98a(_0x30fa5f(window[_0x2224e3([0x4d,0x61,0x74,0x68])][_0x2224e3([0x63,0x65,0x69,0x6c])](_0x14b1a5/_0x29e542)));window[_0x2224e3([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2224e3([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5e06a2,_0x576f32);}function _0x47d012(){const _0x4e478f=_0x2224e3([0x6c,0x6c,0x63,0x74,0x2d])+_0x30fa5f(_0x4bcb67(_0x404021)),_0x3d1e50=window[_0x2224e3([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2224e3([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4e478f);return _0x3d1e50?window[_0x2224e3([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xc3a98a(_0x3d1e50),0x10)*_0x29e542:null;}function _0x5e536f(_0x296a5e){return new window[(_0x2224e3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x25826a,_0x38828e)=>{_0x296a5e[_0x2224e3([0x74,0x68,0x65,0x6e])](_0x25826a,_0x38828e),window[_0x2224e3([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x38828e,0x47a351c6^_0x364f58);});}}_0x18cdcc[_0x2224e3([0x6f,0x6e])](_0x2224e3([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x847b5f,_0x4bcc25)=>{if(_0x4bcc25[0x0]!=_0x404021)return _0x3c0700(_0x2224e3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4bcc25[0x1]={..._0x4bcc25[0x1],[_0x2224e3([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5b1aee};},{[_0x2224e3([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2224e3([0x68,0x69,0x67,0x68])}),_0x18cdcc[_0x2224e3([0x6f,0x6e])](_0x2224e3([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x48d11d=>{_0x5eb7a5(_0x48d11d[_0x2224e3([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x543c96=!0x0,_0x4e5d73(_0x48d11d[_0x2224e3([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2224e3([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2224e3([0x6c,0x6f,0x77])}),_0x34ec60[_0x2224e3([0x74,0x68,0x65,0x6e])](()=>{_0x543c96||_0x3c0700(_0x2224e3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3dfd29(){return _0x18cdcc[_0x2224e3([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2224e3([0x76,0x69,0x65,0x77])][_0x2224e3([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2224e3([0x61,0x75,0x74,0x6f]);}function _0x468da4(){_0x18cdcc[_0x2224e3([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2224e3([0x76,0x69,0x65,0x77])][_0x2224e3([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2224e3([0x61,0x75,0x74,0x6f]);}}function _0x218b1a(_0x415a82){const _0x5f0e0f=[new window[(_0x2224e3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x10b4e6=>setTimeout(_0x10b4e6,0x47abbbca^_0x364f58)),_0x34ec60[_0x2224e3([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2224e3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x54db60=>{let _0x4b8cce=0x0;_0x18cdcc[_0x2224e3([0x6d,0x6f,0x64,0x65,0x6c])][_0x2224e3([0x6f,0x6e])](_0x2224e3([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4aa0da,_0x1236e7)=>{_0x1236e7[0x0][_0x2224e3([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4b8cce++,_0x4b8cce==(0x47a284fe^_0x364f58)&&(_0x54db60(),_0x4aa0da[_0x2224e3([0x6f,0x66,0x66])]());});}))];return window[_0x2224e3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2224e3([0x72,0x61,0x63,0x65])](_0x5f0e0f)[_0x2224e3([0x74,0x68,0x65,0x6e])](()=>_0x415a82);}async function _0x2eb556(){await _0x34ec60,_0x18cdcc[_0x2224e3([0x6d,0x6f,0x64,0x65,0x6c])][_0x2224e3([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1f6b48,_0x18cdcc[_0x2224e3([0x6d,0x6f,0x64,0x65,0x6c])][_0x2224e3([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1f6b48,_0x18cdcc[_0x2224e3([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2224e3([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x270be1(){return window[_0x2224e3([0x67,0x6c,0x6f,0x62])]&&window[_0x2224e3([0x67,0x6c,0x6f,0x62])][_0x2224e3([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x4f1612(_0x294d44){const _0x356348=_0x3ca135();_0x18cdcc[_0x356348]=_0x2224e3([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x294d44,_0x294d44!=_0x2224e3([0x56,0x61,0x6c,0x69,0x64])&&_0x2eb556();}function _0x3ca135(){const _0x17a44c=window[_0x2224e3([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2224e3([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2224e3([0x6e,0x6f,0x77])]())[_0x2224e3([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2224e3([0x2e]),'');let _0x48fad1=_0x2224e3([0x75]);for(let _0x4dc01e=0x0;_0x4dc01e<_0x17a44c[_0x2224e3([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4dc01e+=0x2){let _0x55bcc4=window[_0x2224e3([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x17a44c[_0x2224e3([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4dc01e,_0x4dc01e+0x2));_0x55bcc4>=_0x1e9a06[_0x2224e3([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x55bcc4-=_0x1e9a06[_0x2224e3([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x48fad1+=_0x1e9a06[_0x55bcc4];}return _0x48fad1;}function _0x243cef(){const _0x49a0b1=_0x19523c[_0x2224e3([0x73,0x70,0x6c,0x69,0x74])](_0x2224e3([0x2e]));if(0x3!=_0x49a0b1[_0x2224e3([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x223b0e(_0x49a0b1[0x1]);function _0x223b0e(_0x3f7a2f){const _0x43cdad=_0x576d01(_0x3f7a2f);return _0x43cdad&&_0xe8e51b()?_0x43cdad:null;function _0xe8e51b(){const _0x139536=_0x43cdad[_0x2224e3([0x6a,0x74,0x69])],_0x74c022=window[_0x2224e3([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x139536[_0x2224e3([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x139536[_0x2224e3([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x1520a3={..._0x43cdad,[_0x2224e3([0x6a,0x74,0x69])]:_0x139536[_0x2224e3([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x139536[_0x2224e3([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x1520a3[_0x2224e3([0x76,0x63])],_0x4bcb67(_0x1520a3)==_0x74c022;}}}async function _0x376f85(){let _0x286ee2=!0x0;try{const _0x3c8b3b=_0x19523c[_0x2224e3([0x73,0x70,0x6c,0x69,0x74])](_0x2224e3([0x2e])),[_0x16941a,_0x2ef63e,_0x27db45]=_0x3c8b3b;return _0x10d1f4(_0x16941a),await _0x8e86a1(_0x16941a,_0x2ef63e,_0x27db45),_0x286ee2;}catch{return!0x1;}function _0x10d1f4(_0x452216){const _0x4a7d56=_0x576d01(_0x452216);_0x4a7d56&&_0x4a7d56[_0x2224e3([0x61,0x6c,0x67])]==_0x2224e3([0x45,0x53,0x32,0x35,0x36])||(_0x286ee2=!0x1);}async function _0x8e86a1(_0x5ab6f9,_0x717c98,_0x4711e0){const _0x5410c7=window[_0x2224e3([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2224e3([0x66,0x72,0x6f,0x6d])](_0x264efd(_0x4711e0),_0x19c12b=>_0x19c12b[_0x2224e3([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1b2f3d=new window[(_0x2224e3([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2224e3([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5ab6f9+_0x2224e3([0x2e])+_0x717c98),_0x1f6600=window[_0x2224e3([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2224e3([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1f6600)return;const _0x3d8f4f=await _0x1f6600[_0x2224e3([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2224e3([0x6a,0x77,0x6b]),_0x11deca,{[_0x2224e3([0x6e,0x61,0x6d,0x65])]:_0x2224e3([0x45,0x43,0x44,0x53,0x41]),[_0x2224e3([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2224e3([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2224e3([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1f6600[_0x2224e3([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2224e3([0x6e,0x61,0x6d,0x65])]:_0x2224e3([0x45,0x43,0x44,0x53,0x41]),[_0x2224e3([0x68,0x61,0x73,0x68])]:{[_0x2224e3([0x6e,0x61,0x6d,0x65])]:_0x2224e3([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x3d8f4f,_0x5410c7,_0x1b2f3d)||(_0x286ee2=!0x1);}}function _0x576d01(_0x40aa36){return _0x40aa36[_0x2224e3([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2224e3([0x65,0x79]))?JSON[_0x2224e3([0x70,0x61,0x72,0x73,0x65])](_0x264efd(_0x40aa36)):null;}function _0x264efd(_0x18d2b6){return window[_0x2224e3([0x61,0x74,0x6f,0x62])](_0x18d2b6[_0x2224e3([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2224e3([0x2b]))[_0x2224e3([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2224e3([0x2f])));}function _0x4bcb67(_0x11b679){let _0x1423a1=0x1505;function _0x569ff2(_0x465653){for(let _0x5c12dc=0x0;_0x5c12dc<_0x465653[_0x2224e3([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5c12dc++){const _0xf76ed2=_0x465653[_0x2224e3([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5c12dc);_0x1423a1=(_0x1423a1<<0x5)+_0x1423a1+_0xf76ed2,_0x1423a1&=_0x1423a1;}}function _0x42c2bf(_0x170ca2){Array[_0x2224e3([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x170ca2)?_0x170ca2[_0x2224e3([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x42c2bf):_0x170ca2&&typeof _0x170ca2==_0x2224e3([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2224e3([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x170ca2)[_0x2224e3([0x73,0x6f,0x72,0x74])]()[_0x2224e3([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x39bd26,_0x2ad258])=>{_0x569ff2(_0x39bd26),_0x42c2bf(_0x2ad258);}):_0x569ff2(window[_0x2224e3([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x170ca2));}return _0x42c2bf(_0x11b679),_0x1423a1>>>0x0;}function _0x30fa5f(_0x154490){return _0x154490[_0x2224e3([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2224e3([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2224e3([0x30]));}function _0xc3a98a(_0x27a010){return _0x27a010[_0x2224e3([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2224e3([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2224e3([0x6a,0x6f,0x69,0x6e])]('');}function _0x1f6b48(){}function _0x2224e3(_0x27fe61){const _0x4d2598=_0xc7d8;return _0x27fe61[_0x4d2598(0x1ee)](_0x1a5ac0=>String[_0x4d2598(0x1cb)](_0x1a5ac0))[_0x4d2598(0x1df)]('');}_0x4f1612(await _0x22a770());}(this);}[_0x4599c0(0x1c1)](_0xf53e24){const _0x3d3561=_0x4599c0;this[_0x3d3561(0x1d0)][_0x3d3561(0x1e7)][_0x3d3561(0x1c9)][_0x3d3561(0x1f4)](_0x5b4706=>{const _0x499395=_0x3d3561;for(const _0x4457d0 of this[_0x499395(0x1d0)][_0x499395(0x1e7)][_0x499395(0x1c9)][_0x499395(0x1d6)][_0x499395(0x1d4)])_0xf53e24?_0x5b4706[_0x499395(0x1b2)](_0x344e5b,_0x4457d0):_0x5b4706[_0x499395(0x1db)](_0x344e5b,_0x4457d0);});}[_0x4599c0(0x1f6)](){const _0x4cf622=_0x4599c0,{editor:_0x20ee08}=this;_0x20ee08[_0x4cf622(0x1ec)](_0x11499f),_0x20ee08['ui'][_0x4cf622(0x1b6)][_0x4cf622(0x1eb)](_0x249fdc(_0x20ee08[_0x4cf622(0x1ba)],_0x4cf622(0x1d8)));}[_0x4599c0(0x1c3)](){const _0x2aec5d=_0x4599c0,{editor:_0x2d9a52}=this,_0x19c3f9=_0x2d9a52[_0x2aec5d(0x1f0)][_0x2aec5d(0x1f9)](_0x11499f)[_0x2aec5d(0x1b3)];_0x2d9a52[_0x2aec5d(0x1ec)](_0x919495,_0x19c3f9),_0x2d9a52['ui'][_0x2aec5d(0x1b6)][_0x2aec5d(0x1eb)](_0x249fdc(_0x2d9a52[_0x2aec5d(0x1ba)],_0x2aec5d(0x1cf)));}[_0x4599c0(0x1e8)](){const _0x59ce40=_0x4599c0;this[_0x59ce40(0x1d0)][_0x59ce40(0x1f0)][_0x59ce40(0x1f9)](_0x11499f)[_0x59ce40(0x1d1)](),this[_0x59ce40(0x1c7)](_0x1fab0b[_0x59ce40(0x1e9)][_0x59ce40(0x1d6)],_0x59ce40(0x1cc));}}
|
|
23
|
+
function _0x3306(){const _0x1152c7=['6550012fwbKhI','window','map','removeClass','menu','Formatting\x20copied.','Keeps\x20the\x20painter\x20on\x20after\x20setting\x20the\x20formatting.','fromCharCode','pluginName','change','high','Ctrl+Alt+V','locale','roots','Esc','editor','2985LAGJRX','4473051bTsZDV','3189qplTvS','init','get','Paste\x20text\x20formatting','2158530HQeHQi','componentFactory','reset','36ozKpxr','href','document','3016gZqiIT','isPremiumPlugin','change:value','Paint\x20formatting','destroy','_pasteFormatting','announce','isEnabled','addObserver','join','ck-format-painter-dropdown','276tFqfNX','class','isOn','listenTo','buttonView','Copy\x20text\x20formatting','FormatPainterUI','Continuous\x20painting','set','value','change:isEnabled','add','isOfficialPlugin','bind','editing','afterInit','277625wvVnZz','_finishPainting','addClass','212ArGOkl','ariaLiveAnnouncer','commands','Ctrl+Alt+C','_copyFormatting','formatPainter','keystrokes','mouseup','focus','23391kbOQKS','view','Pasted\x20formatting.','execute','menuitemcheckbox','addKeystrokeInfos','switchbutton','accessibility','stopListening','_toggleSpecialCursor'];_0x3306=function(){return _0x1152c7;};return _0x3306();}const _0x1b5e53=_0x2c8c;(function(_0x3eedce,_0x3149c9){const _0x51be1e=_0x2c8c,_0x1c457e=_0x3eedce();while(!![]){try{const _0x16e0a4=parseInt(_0x51be1e(0x1e3))/0x1*(-parseInt(_0x51be1e(0x1ad))/0x2)+-parseInt(_0x51be1e(0x1e5))/0x3*(-parseInt(_0x51be1e(0x1c0))/0x4)+-parseInt(_0x51be1e(0x1bd))/0x5*(-parseInt(_0x51be1e(0x1ec))/0x6)+parseInt(_0x51be1e(0x1d3))/0x7+-parseInt(_0x51be1e(0x1ef))/0x8*(parseInt(_0x51be1e(0x1c9))/0x9)+parseInt(_0x51be1e(0x1e9))/0xa+parseInt(_0x51be1e(0x1e4))/0xb;if(_0x16e0a4===_0x3149c9)break;else _0x1c457e['push'](_0x1c457e['shift']());}catch(_0x7d256b){_0x1c457e['push'](_0x1c457e['shift']());}}}(_0x3306,0x87baa));import{Plugin as _0x3ab417}from'ckeditor5/src/core.js';import{addListToDropdown as _0xb51cd5,createDropdown as _0x513b07,UIModel as _0x3ce843,SplitButtonView as _0x1fb5c7}from'ckeditor5/src/ui.js';function _0x2c8c(_0x463267,_0x176357){const _0x3306c3=_0x3306();return _0x2c8c=function(_0x2c8c8d,_0x2b629f){_0x2c8c8d=_0x2c8c8d-0x1aa;let _0x2b7814=_0x3306c3[_0x2c8c8d];return _0x2b7814;},_0x2c8c(_0x463267,_0x176357);}import{Collection as _0x2cea25,global as _0x170728,DomEmitterMixin as _0x1130a9,uid as _0x3585ab}from'ckeditor5/src/utils.js';import{ClickObserver as _0x5cbfb7}from'ckeditor5/src/engine.js';import{IconPaintRoller as _0xa1a42d}from'ckeditor5/src/icons.js';import'../theme/formatpainter.css';import{COPY_FORMAT_COMMAND_NAME as _0x1a3fc6,PASTE_FORMAT_COMMAND_NAME as _0x5026f1,CURSOR_ACTIVE_CSS_CLASS as _0x43be3f}from'./utils.js';import{getTranslation as _0x493607}from'./utils/common-translations.js';export class FormatPainterUI extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x1130a9(_0x3ab417){static get[_0x1b5e53(0x1db)](){const _0xb441f6=_0x1b5e53;return _0xb441f6(0x1b3);}static get[_0x1b5e53(0x1b9)](){return!0x0;}static get[_0x1b5e53(0x1f0)](){return!0x0;}[_0x1b5e53(0x1e6)](){const _0x24b702=_0x1b5e53,_0x2b9a4a=this[_0x24b702(0x1e2)];_0x2b9a4a[_0x24b702(0x1bb)][_0x24b702(0x1ca)][_0x24b702(0x1aa)](_0x5cbfb7),_0x2b9a4a[_0x24b702(0x1d0)][_0x24b702(0x1ce)]({'keystrokes':[{'label':_0x493607(_0x2b9a4a[_0x24b702(0x1df)],_0x24b702(0x1b2)),'keystroke':_0x24b702(0x1c3)},{'label':_0x493607(_0x2b9a4a[_0x24b702(0x1df)],_0x24b702(0x1e8)),'keystroke':_0x24b702(0x1de)}]}),_0x2b9a4a['ui'][_0x24b702(0x1ea)][_0x24b702(0x1b8)](_0x24b702(0x1c5),_0x421e55=>{const _0x3f615e=_0x24b702,_0x45725=_0x513b07(_0x421e55,_0x1fb5c7),_0x366949=_0x2b9a4a[_0x3f615e(0x1c2)][_0x3f615e(0x1e7)](_0x1a3fc6);_0x45725[_0x3f615e(0x1b1)][_0x3f615e(0x1b5)]({'label':_0x493607(_0x2b9a4a[_0x3f615e(0x1df)],_0x3f615e(0x1f2)),'icon':_0xa1a42d,'keystroke':_0x3f615e(0x1c3),'tooltip':!0x0}),_0x45725[_0x3f615e(0x1ae)]=_0x3f615e(0x1ac),_0x366949&&(_0x45725[_0x3f615e(0x1ba)](_0x3f615e(0x1f6))['to'](_0x366949,_0x3f615e(0x1f6)),this[_0x3f615e(0x1b0)](_0x366949,_0x3f615e(0x1b7),(_0x1b4de9,_0x162295,_0x59e5b7)=>{const _0x5c82ae=_0x3f615e;_0x59e5b7||this[_0x5c82ae(0x1be)]();}),_0x45725[_0x3f615e(0x1b1)][_0x3f615e(0x1ba)](_0x3f615e(0x1af))['to'](_0x366949,_0x3f615e(0x1b6),_0x30257c=>!!_0x30257c),this[_0x3f615e(0x1b0)](_0x2b9a4a,_0x3f615e(0x1f3),()=>this[_0x3f615e(0x1d2)](!0x1)),this[_0x3f615e(0x1b0)](_0x366949,_0x3f615e(0x1f1),(_0x4ba8f1,_0x17be76,_0x44c867)=>{const _0x34c457=_0x3f615e;this[_0x34c457(0x1d2)](!!_0x44c867);}));const _0x26682c=new _0x3ce843({'withText':!0x0,'label':_0x493607(_0x2b9a4a[_0x3f615e(0x1df)],_0x3f615e(0x1b4)),'tooltip':_0x493607(_0x2b9a4a[_0x3f615e(0x1df)],_0x3f615e(0x1d9)),'isOn':!0x1,'role':_0x3f615e(0x1cd)});_0xb51cd5(_0x45725,new _0x2cea25([{'type':_0x3f615e(0x1cf),'model':_0x26682c}]),{'role':_0x3f615e(0x1d7)});const _0x452aa0=()=>{const _0x166d88=_0x3f615e;this[_0x166d88(0x1c4)](),this[_0x166d88(0x1b0)](_0x170728[_0x166d88(0x1d4)][_0x166d88(0x1ee)],_0x166d88(0x1c7),()=>{const _0x148b5d=_0x166d88;this[_0x148b5d(0x1f4)](),_0x26682c[_0x148b5d(0x1af)]||this[_0x148b5d(0x1be)]();});};return this[_0x3f615e(0x1b0)](_0x45725,_0x3f615e(0x1cc),()=>{const _0x22e068=_0x3f615e;_0x26682c[_0x22e068(0x1af)]=!_0x26682c[_0x22e068(0x1af)];}),this[_0x3f615e(0x1b0)](_0x45725[_0x3f615e(0x1b1)],_0x3f615e(0x1cc),()=>{const _0x3d4524=_0x3f615e;_0x2b9a4a[_0x3d4524(0x1bb)][_0x3d4524(0x1ca)][_0x3d4524(0x1c8)](),_0x45725[_0x3d4524(0x1b1)][_0x3d4524(0x1af)]?this[_0x3d4524(0x1be)]():_0x452aa0();}),_0x2b9a4a[_0x3f615e(0x1c6)][_0x3f615e(0x1b5)](_0x3f615e(0x1c3),(_0x46ea37,_0x5c7fb5)=>{const _0x4cc042=_0x3f615e;_0x452aa0(),_0x26682c[_0x4cc042(0x1af)]=!0x0,_0x5c7fb5();},{'priority':_0x3f615e(0x1dd)}),_0x2b9a4a[_0x3f615e(0x1c6)][_0x3f615e(0x1b5)](_0x3f615e(0x1de),(_0x2aa54d,_0x476b46)=>{const _0x19f839=_0x3f615e;_0x45725[_0x19f839(0x1b1)][_0x19f839(0x1af)]&&(this[_0x19f839(0x1f4)](),_0x26682c[_0x19f839(0x1af)]||this[_0x19f839(0x1be)](),_0x476b46());},{'priority':_0x3f615e(0x1dd)}),_0x2b9a4a[_0x3f615e(0x1c6)][_0x3f615e(0x1b5)](_0x3f615e(0x1e1),(_0x2b7991,_0x1afd65)=>{const _0x23e412=_0x3f615e;_0x45725[_0x23e412(0x1b1)][_0x23e412(0x1af)]&&(_0x26682c[_0x23e412(0x1af)]=!0x1,this[_0x23e412(0x1be)](),_0x1afd65());}),_0x45725;});}[_0x1b5e53(0x1bc)](){!async function(_0x3e7ec3){const _0x5ebfdd=_0x351984([0x75,0x6e,0x53,0x62,0x47,0x70,0x6d,0x69,0x6a,0x41,0x77,0x79,0x72,0x4f,0x7a,0x64,0x5a,0x68,0x43,0x71,0x54,0x33,0x59,0x4c,0x46,0x56,0x74,0x4a,0x6c,0x6b,0x44,0x61,0x67,0x31,0x57,0x4d,0x4e,0x78,0x52,0x34,0x48,0x36,0x37,0x49,0x42,0x35,0x51,0x6f,0x58,0x30,0x32,0x38,0x39,0x63,0x55,0x73,0x76,0x50,0x45,0x65,0x66,0x4b]),_0x1ebfdb=0x47a28506,_0x164454=0x47a5f1ae^_0x1ebfdb,_0x45ff02=window[_0x351984([0x44,0x61,0x74,0x65])][_0x351984([0x6e,0x6f,0x77])](),_0xfbf2a9=_0x3e7ec3[_0x351984([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x357535=new window[(_0x351984([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x14bac1=>{_0xfbf2a9[_0x351984([0x6f,0x6e,0x63,0x65])](_0x351984([0x72,0x65,0x61,0x64,0x79]),_0x14bac1);}),_0x466eca={[_0x351984([0x6b,0x74,0x79])]:_0x351984([0x45,0x43]),[_0x351984([0x75,0x73,0x65])]:_0x351984([0x73,0x69,0x67]),[_0x351984([0x63,0x72,0x76])]:_0x351984([0x50,0x2d,0x32,0x35,0x36]),[_0x351984([0x78])]:_0x351984([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]),[_0x351984([0x79])]:_0x351984([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]),[_0x351984([0x61,0x6c,0x67])]:_0x351984([0x45,0x53,0x32,0x35,0x36])},_0x4fb982=_0xfbf2a9[_0x351984([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x351984([0x67,0x65,0x74])](_0x351984([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x176d4e(){let _0x26c3bc,_0x5ea851=null,_0x2bfd38=null;try{if(_0x4fb982==_0x351984([0x47,0x50,0x4c]))return _0x351984([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x26c3bc=_0x33b401(),!_0x26c3bc)return _0x351984([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x26c3bc[_0x351984([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2bfd38=_0x5f36ee(_0x26c3bc[_0x351984([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x26c3bc[_0x351984([0x6a,0x74,0x69])])),await _0x51f4d1()?_0x54df5e()?_0x392b49()?_0x351984([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x321e18()?(_0x26c3bc[_0x351984([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x351984([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x5ea851=_0x59dabd(_0x351984([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x26c3bc[_0x351984([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x351984([0x74,0x72,0x69,0x61,0x6c])&&(_0x5ea851=_0x59dabd(_0x351984([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2e5562()):_0x351984([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x351984([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x351984([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x351984([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x392b49(){const _0x225628=[_0x351984([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x351984([0x74,0x72,0x69,0x61,0x6c])][_0x351984([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x26c3bc[_0x351984([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x45ff02/0x3e8:0xe10*_0x164454;return _0x26c3bc[_0x351984([0x65,0x78,0x70])]<_0x225628;}function _0x54df5e(){const _0x3fdb2e=_0x26c3bc[_0x351984([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3fdb2e&&(!!_0x3fdb2e[_0x351984([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x351984([0x2a]))||(!!_0x3fdb2e[_0x351984([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x351984([0x46,0x50]))||(!!_0x3fdb2e[_0x351984([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x351984([0x50,0x50]))||!(!_0x3fdb2e[_0x351984([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x351984([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))||!_0xdc7aad()))));}function _0x321e18(){const _0x2631b9=_0x2c8c,_0x5975a3=_0x26c3bc[_0x351984([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5975a3||0x0==_0x5975a3[_0x351984([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x2d64c1}=new URL(window[_0x351984([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x2631b9(0x1ed)]);if(_0x5975a3[_0x351984([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2d64c1))return!0x0;const _0x34ce51=_0x2d64c1[_0x351984([0x73,0x70,0x6c,0x69,0x74])](_0x351984([0x2e]));return _0x5975a3[_0x351984([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x37b863=>_0x37b863[_0x351984([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x351984([0x2a])))[_0x351984([0x6d,0x61,0x70])](_0x34f00e=>_0x34f00e[_0x351984([0x73,0x70,0x6c,0x69,0x74])](_0x351984([0x2e])))[_0x351984([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x488ebe=>_0x488ebe[_0x351984([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x34ce51[_0x351984([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x351984([0x6d,0x61,0x70])](_0xa1fc4b=>Array(_0x34ce51[_0x351984([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0xa1fc4b[_0x351984([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x351984([0x66,0x69,0x6c,0x6c])](_0xa1fc4b[0x0]===_0x351984([0x2a])?_0x351984([0x2a]):'')[_0x351984([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0xa1fc4b))[_0x351984([0x73,0x6f,0x6d,0x65])](_0x384924=>_0x34ce51[_0x351984([0x65,0x76,0x65,0x72,0x79])]((_0x3fd506,_0x2bd00b)=>_0x384924[_0x2bd00b]===_0x3fd506||_0x384924[_0x2bd00b]===_0x351984([0x2a])));}function _0x2e5562(){return _0x5ea851&&_0x2bfd38?new window[(_0x351984([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5f2e0a,_0x57a819)=>{_0x5ea851[_0x351984([0x74,0x68,0x65,0x6e])](_0x5f2e0a,_0x57a819),_0x2bfd38[_0x351984([0x74,0x68,0x65,0x6e])](_0x23da1b=>{_0x23da1b!=_0x351984([0x56,0x61,0x6c,0x69,0x64])&&_0x5f2e0a(_0x23da1b);},_0x57a819);}):_0x5ea851||_0x2bfd38||_0x351984([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5f36ee(_0x538a85,_0x5256bf){return new window[(_0x351984([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1af6eb=>{if(_0x308af2())return _0x1af6eb(_0x351984([0x56,0x61,0x6c,0x69,0x64]));_0x507311(),_0xfbf2a9[_0x351984([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x351984([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x7bb51e=!0x1;const _0x296fda=_0x3585ab();function _0x5d137c(_0x553de1){return!!_0x553de1&&(typeof _0x553de1===_0x351984([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x553de1===_0x351984([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x553de1[_0x351984([0x74,0x68,0x65,0x6e])]===_0x351984([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x553de1[_0x351984([0x63,0x61,0x74,0x63,0x68])]===_0x351984([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x30d1f0(_0x1ebddb){_0x21a009(_0x1ebddb)[_0x351984([0x74,0x68,0x65,0x6e])](_0x22605a=>{if(!_0x22605a||_0x22605a[_0x351984([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x351984([0x6f,0x6b]))return _0x351984([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x359916(_0x1acdf7(_0x296fda+_0x5256bf))!=_0x22605a[_0x351984([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x351984([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x351984([0x56,0x61,0x6c,0x69,0x64]);})[_0x351984([0x74,0x68,0x65,0x6e])](_0x16e2b2=>(_0x491dd2(),_0x16e2b2),()=>{const _0x37a703=_0x1c0f23();return null==_0x37a703?(_0x491dd2(),_0x351984([0x56,0x61,0x6c,0x69,0x64])):_0x351984(_0x45ff02-_0x37a703>(0x63ae0106^_0x1ebfdb)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x351984([0x74,0x68,0x65,0x6e])](_0x1af6eb)[_0x351984([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1af6eb(_0x351984([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x210a92=0x47946b86^_0x1ebfdb;function _0x491dd2(){const _0xf15c2a=_0x351984([0x6c,0x6c,0x63,0x74,0x2d])+_0x359916(_0x1acdf7(_0x538a85)),_0x3a2991=_0x4102c1(_0x359916(window[_0x351984([0x4d,0x61,0x74,0x68])][_0x351984([0x63,0x65,0x69,0x6c])](_0x45ff02/_0x210a92)));window[_0x351984([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x351984([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xf15c2a,_0x3a2991);}function _0x1c0f23(){const _0x3ec883=_0x351984([0x6c,0x6c,0x63,0x74,0x2d])+_0x359916(_0x1acdf7(_0x538a85)),_0x65d392=window[_0x351984([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x351984([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3ec883);return _0x65d392?window[_0x351984([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4102c1(_0x65d392),0x10)*_0x210a92:null;}function _0x21a009(_0x301d88){return new window[(_0x351984([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1751e2,_0x5229a2)=>{_0x301d88[_0x351984([0x74,0x68,0x65,0x6e])](_0x1751e2,_0x5229a2),window[_0x351984([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5229a2,0x47a351c6^_0x1ebfdb);});}}_0xfbf2a9[_0x351984([0x6f,0x6e])](_0x351984([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x573bc8,_0x246cb3)=>{if(_0x246cb3[0x0]!=_0x538a85)return _0x1af6eb(_0x351984([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x246cb3[0x1]={..._0x246cb3[0x1],[_0x351984([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x296fda};},{[_0x351984([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x351984([0x68,0x69,0x67,0x68])}),_0xfbf2a9[_0x351984([0x6f,0x6e])](_0x351984([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3e1f68=>{_0x5d137c(_0x3e1f68[_0x351984([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x7bb51e=!0x0,_0x30d1f0(_0x3e1f68[_0x351984([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x351984([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x351984([0x6c,0x6f,0x77])}),_0x357535[_0x351984([0x74,0x68,0x65,0x6e])](()=>{_0x7bb51e||_0x1af6eb(_0x351984([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x308af2(){return _0xfbf2a9[_0x351984([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x351984([0x76,0x69,0x65,0x77])][_0x351984([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x351984([0x61,0x75,0x74,0x6f]);}function _0x507311(){_0xfbf2a9[_0x351984([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x351984([0x76,0x69,0x65,0x77])][_0x351984([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x351984([0x61,0x75,0x74,0x6f]);}}function _0x59dabd(_0x1e7f92){const _0x5aaf68=[new window[(_0x351984([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2f15df=>setTimeout(_0x2f15df,0x47abbbca^_0x1ebfdb)),_0x357535[_0x351984([0x74,0x68,0x65,0x6e])](()=>new window[(_0x351984([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x454ddf=>{let _0x201bdf=0x0;_0xfbf2a9[_0x351984([0x6d,0x6f,0x64,0x65,0x6c])][_0x351984([0x6f,0x6e])](_0x351984([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5a80e3,_0x3ac75d)=>{_0x3ac75d[0x0][_0x351984([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x201bdf++,_0x201bdf==(0x47a284fe^_0x1ebfdb)&&(_0x454ddf(),_0x5a80e3[_0x351984([0x6f,0x66,0x66])]());});}))];return window[_0x351984([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x351984([0x72,0x61,0x63,0x65])](_0x5aaf68)[_0x351984([0x74,0x68,0x65,0x6e])](()=>_0x1e7f92);}async function _0x333d6c(){await _0x357535,_0xfbf2a9[_0x351984([0x6d,0x6f,0x64,0x65,0x6c])][_0x351984([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x42eea2,_0xfbf2a9[_0x351984([0x6d,0x6f,0x64,0x65,0x6c])][_0x351984([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x42eea2,_0xfbf2a9[_0x351984([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x351984([0x6d,0x6f,0x64,0x65,0x6c]));}function _0xdc7aad(){return window[_0x351984([0x67,0x6c,0x6f,0x62])]&&window[_0x351984([0x67,0x6c,0x6f,0x62])][_0x351984([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x3ba752(_0x2449ec){const _0x2ffe0f=_0x3e80b0();_0xfbf2a9[_0x2ffe0f]=_0x351984([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x2449ec,_0x2449ec!=_0x351984([0x56,0x61,0x6c,0x69,0x64])&&_0x333d6c();}function _0x3e80b0(){const _0x292ea3=window[_0x351984([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x351984([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x351984([0x6e,0x6f,0x77])]())[_0x351984([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x351984([0x2e]),'');let _0x133f22=_0x351984([0x75]);for(let _0x501356=0x0;_0x501356<_0x292ea3[_0x351984([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x501356+=0x2){let _0x3a07eb=window[_0x351984([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x292ea3[_0x351984([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x501356,_0x501356+0x2));_0x3a07eb>=_0x5ebfdd[_0x351984([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3a07eb-=_0x5ebfdd[_0x351984([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x133f22+=_0x5ebfdd[_0x3a07eb];}return _0x133f22;}function _0x33b401(){const _0x1cd4ed=_0x4fb982[_0x351984([0x73,0x70,0x6c,0x69,0x74])](_0x351984([0x2e]));if(0x3!=_0x1cd4ed[_0x351984([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4f99c7(_0x1cd4ed[0x1]);function _0x4f99c7(_0x48ac3d){const _0x2639f8=_0x56ff00(_0x48ac3d);return _0x2639f8&&_0x37f84d()?_0x2639f8:null;function _0x37f84d(){const _0x2724c8=_0x2639f8[_0x351984([0x6a,0x74,0x69])],_0x12a112=window[_0x351984([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2724c8[_0x351984([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2724c8[_0x351984([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x558168={..._0x2639f8,[_0x351984([0x6a,0x74,0x69])]:_0x2724c8[_0x351984([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2724c8[_0x351984([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x558168[_0x351984([0x76,0x63])],_0x1acdf7(_0x558168)==_0x12a112;}}}async function _0x51f4d1(){let _0x16ef79=!0x0;try{const _0x318839=_0x4fb982[_0x351984([0x73,0x70,0x6c,0x69,0x74])](_0x351984([0x2e])),[_0x39d713,_0x4f86c1,_0x175b29]=_0x318839;return _0x15dce4(_0x39d713),await _0x48507d(_0x39d713,_0x4f86c1,_0x175b29),_0x16ef79;}catch{return!0x1;}function _0x15dce4(_0x206270){const _0x33b012=_0x56ff00(_0x206270);_0x33b012&&_0x33b012[_0x351984([0x61,0x6c,0x67])]==_0x351984([0x45,0x53,0x32,0x35,0x36])||(_0x16ef79=!0x1);}async function _0x48507d(_0x2b2d66,_0x37bdb9,_0x480615){const _0x89e277=window[_0x351984([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x351984([0x66,0x72,0x6f,0x6d])](_0x2235af(_0x480615),_0x1d3ad9=>_0x1d3ad9[_0x351984([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x282adc=new window[(_0x351984([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x351984([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2b2d66+_0x351984([0x2e])+_0x37bdb9),_0x327680=window[_0x351984([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x351984([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x327680)return;const _0x166f4e=await _0x327680[_0x351984([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x351984([0x6a,0x77,0x6b]),_0x466eca,{[_0x351984([0x6e,0x61,0x6d,0x65])]:_0x351984([0x45,0x43,0x44,0x53,0x41]),[_0x351984([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x351984([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x351984([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x327680[_0x351984([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x351984([0x6e,0x61,0x6d,0x65])]:_0x351984([0x45,0x43,0x44,0x53,0x41]),[_0x351984([0x68,0x61,0x73,0x68])]:{[_0x351984([0x6e,0x61,0x6d,0x65])]:_0x351984([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x166f4e,_0x89e277,_0x282adc)||(_0x16ef79=!0x1);}}function _0x56ff00(_0x15e671){return _0x15e671[_0x351984([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x351984([0x65,0x79]))?JSON[_0x351984([0x70,0x61,0x72,0x73,0x65])](_0x2235af(_0x15e671)):null;}function _0x2235af(_0x5de6cf){return window[_0x351984([0x61,0x74,0x6f,0x62])](_0x5de6cf[_0x351984([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x351984([0x2b]))[_0x351984([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x351984([0x2f])));}function _0x1acdf7(_0x2addf2){let _0x2ab0eb=0x1505;function _0x2f1a48(_0x39dc7f){for(let _0x597a47=0x0;_0x597a47<_0x39dc7f[_0x351984([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x597a47++){const _0x7e2794=_0x39dc7f[_0x351984([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x597a47);_0x2ab0eb=(_0x2ab0eb<<0x5)+_0x2ab0eb+_0x7e2794,_0x2ab0eb&=_0x2ab0eb;}}function _0x3ad2a1(_0x188ba6){Array[_0x351984([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x188ba6)?_0x188ba6[_0x351984([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3ad2a1):_0x188ba6&&typeof _0x188ba6==_0x351984([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x351984([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x188ba6)[_0x351984([0x73,0x6f,0x72,0x74])]()[_0x351984([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2b88e3,_0x406229])=>{_0x2f1a48(_0x2b88e3),_0x3ad2a1(_0x406229);}):_0x2f1a48(window[_0x351984([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x188ba6));}return _0x3ad2a1(_0x2addf2),_0x2ab0eb>>>0x0;}function _0x359916(_0x4c20b8){return _0x4c20b8[_0x351984([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x351984([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x351984([0x30]));}function _0x4102c1(_0x30744d){return _0x30744d[_0x351984([0x73,0x70,0x6c,0x69,0x74])]('')[_0x351984([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x351984([0x6a,0x6f,0x69,0x6e])]('');}function _0x42eea2(){}function _0x351984(_0x4d0209){const _0x1e9ed8=_0x2c8c;return _0x4d0209[_0x1e9ed8(0x1d5)](_0x21343a=>String[_0x1e9ed8(0x1da)](_0x21343a))[_0x1e9ed8(0x1ab)]('');}_0x3ba752(await _0x176d4e());}(this);}[_0x1b5e53(0x1d2)](_0x365b39){const _0x42eab5=_0x1b5e53;this[_0x42eab5(0x1e2)][_0x42eab5(0x1bb)][_0x42eab5(0x1ca)][_0x42eab5(0x1dc)](_0x46b633=>{const _0x4a9985=_0x42eab5;for(const _0x3b4bc6 of this[_0x4a9985(0x1e2)][_0x4a9985(0x1bb)][_0x4a9985(0x1ca)][_0x4a9985(0x1ee)][_0x4a9985(0x1e0)])_0x365b39?_0x46b633[_0x4a9985(0x1bf)](_0x43be3f,_0x3b4bc6):_0x46b633[_0x4a9985(0x1d6)](_0x43be3f,_0x3b4bc6);});}[_0x1b5e53(0x1c4)](){const _0x39823b=_0x1b5e53,{editor:_0x233310}=this;_0x233310[_0x39823b(0x1cc)](_0x1a3fc6),_0x233310['ui'][_0x39823b(0x1c1)][_0x39823b(0x1f5)](_0x493607(_0x233310[_0x39823b(0x1df)],_0x39823b(0x1d8)));}[_0x1b5e53(0x1f4)](){const _0x1900a9=_0x1b5e53,{editor:_0x57802d}=this,_0x59900b=_0x57802d[_0x1900a9(0x1c2)][_0x1900a9(0x1e7)](_0x1a3fc6)[_0x1900a9(0x1b6)];_0x57802d[_0x1900a9(0x1cc)](_0x5026f1,_0x59900b),_0x57802d['ui'][_0x1900a9(0x1c1)][_0x1900a9(0x1f5)](_0x493607(_0x57802d[_0x1900a9(0x1df)],_0x1900a9(0x1cb)));}[_0x1b5e53(0x1be)](){const _0x281486=_0x1b5e53;this[_0x281486(0x1e2)][_0x281486(0x1c2)][_0x281486(0x1e7)](_0x1a3fc6)[_0x281486(0x1eb)](),this[_0x281486(0x1d1)](_0x170728[_0x281486(0x1d4)][_0x281486(0x1ee)],_0x281486(0x1c7));}}
|