@ckeditor/ckeditor5-case-change 45.0.0-alpha.3 → 45.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/case-change.js +1 -1
- package/dist/index.js +1 -1
- package/package.json +6 -6
- package/src/casechangeediting.js +1 -1
package/build/case-change.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 e={237:e=>{"use strict";e.exports=CKEditor5.dll},311:(e,t,n)=>{e.exports=n(237)("./src/ui.js")},355:(e,t,n)=>{e.exports=n(237)("./src/icons.js")},584:(e,t,n)=>{e.exports=n(237)("./src/utils.js")},782:(e,t,n)=>{e.exports=n(237)("./src/core.js")}},t={};function n(s){var r=t[s];if(void 0!==r)return r.exports;var i=t[s]={exports:{}};return e[s](i,i.exports,n),i.exports}n.d=(e,t)=>{for(var s in t)n.o(t,s)&&!n.o(e,s)&&Object.defineProperty(e,s,{enumerable:!0,get:t[s]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var s={};(()=>{"use strict";n.r(s),n.d(s,{CaseChange:()=>L,CaseChangeCommand:()=>a,CaseChangeEditing:()=>l,CaseChangeUI:()=>I});var e=n(782),t=n(584);const r=i;function i(e,t){const n=o();return(i=function(e,t){return n[e-=274]})(e,t)}function o(){const e=["setSelection","model","add","3972184hDvejl","item","getItems","parent","isLimit","endOffset","getFirstPosition","$text","getChildren","getIntersection","createRangeIn","isEnabled","isCollapsed","execute","editor","_getAffectedRanges","data","getWalker","2386QlUApr","_getTextNodesRangeLimited","selection","$textProxy","has","_getElementTextContent","_replaceTextNodeData","checkChild","2136XFNeVA","1063476YifeUd","createRangeOn","2017631hoLvel","schema","element","_getElementsAllowingText","396708NtulLh","getRanges","_transformCallback","_modifyContent","change","document","5215ZfjutP","10230950YplyuA","347YbMOyS","getAttributes","9DihiLS","substring","from","refresh","createSelection","insertContent","startOffset","createText","_findAncestorTextBlock","reduce"];return(o=function(){return e})()}!function(e){const t=i,n=e();for(;;)try{if(459363===-parseInt(t(306))/1*(-parseInt(t(283))/2)+-parseInt(t(298))/3+-parseInt(t(292))/4+-parseInt(t(304))/5*(parseInt(t(291))/6)+parseInt(t(294))/7+-parseInt(t(321))/8*(parseInt(t(308))/9)+parseInt(t(305))/10)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(o);class a extends e.Command{[r(300)];constructor(e,t){const n=r;super(e),this[n(300)]=t}[r(278)](){const e=r,t=this[e(279)][e(319)],n=Array[e(310)](this[e(280)]()),s=Array[e(310)](t[e(303)][e(285)][e(299)]());t[e(302)]((t=>{const r=e;for(const e of n)this[r(301)](e,t);t[r(318)](s)}))}[r(311)](){const e=r;for(const t of this[e(280)]())for(const n of t)if(n[e(322)].is(e(286)))return void(this[e(276)]=!0);this[e(276)]=!1}[r(280)](){const e=r,t=this[e(279)][e(319)],n=t[e(303)][e(285)];if(n[e(277)]){const s=this[e(316)](n[e(327)]()[e(324)]);return s?[t[e(275)](s)]:[]}return n[e(299)]()}[r(301)](e,t){const n=r;for(const s of this[n(297)](e)){const r=this[n(288)](s),i=this[n(300)](r);for(const r of this[n(284)](s,e))this[n(289)](r,i,t)}}[r(316)](e){const t=r,n=this[t(279)][t(319)][t(295)];if(e.is(t(296))&&n[t(290)](e,t(328)))return e;const s=e[t(324)];return!s||n[t(325)](e)?null:this[t(316)](s)}*[r(297)](e){const t=r,n=new Set;for(const{item:s}of e[t(282)]()){const e=this[t(316)](s);e&&!n[t(287)](e)&&(n[t(320)](e),yield e)}}[r(288)](e){const t=r;return Array[t(310)](e[t(329)]())[t(317)](((e,n)=>e+(n.is(t(328))?n[t(281)]:" ")),"")}*[r(284)](e,t){const n=r,s=t[n(274)](this[n(279)][n(319)][n(275)](e));if(s)for(const t of s[n(323)]())t.is(n(286))&&t[n(324)]==e&&(yield t)}[r(289)](e,t,n){const s=r,i=t[s(309)](e[s(314)],e[s(326)]);if(i===e[s(281)])return;const o=e[s(307)]();this[s(279)][s(319)][s(313)](n[s(315)](i,o),n[s(312)](n[s(293)](e)))}}function c(e,t,...n){const s=e.t;switch(t){case"Case change":return s("Case change");case"UPPERCASE":return s("UPPERCASE");case"lowercase":return s("lowercase");case"Title Case":return s("Title Case");case"Change text case":return s("Change text case");case"Changed case to %0":return s("Changed case to %0",...n);default:return t}}const u=f;function f(e,t){const n=d();return(f=function(e,t){return n[e-=277]})(e,t)}!function(e){const t=f,n=e();for(;;)try{if(128929===parseInt(t(330))/1*(-parseInt(t(296))/2)+-parseInt(t(324))/3+-parseInt(t(310))/4+-parseInt(t(323))/5+-parseInt(t(288))/6+-parseInt(t(314))/7*(parseInt(t(305))/8)+parseInt(t(295))/9*(parseInt(t(293))/10))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(d);class l extends e.Plugin{[u(281)]=0;static get[u(307)](){return u(277)}static get[u(294)](){return!0}static get[u(334)](){return!0}[u(320)](){const e=u,t=this[e(299)],n=t[e(302)][e(319)],s=function(t=[]){const n=e;return n(282)==typeof t?t:(e,{wordIndex:s})=>s>0&&t[n(283)](e)}(t[e(325)][e(291)](e(332))),r={changeCaseUpper:new a(t,(t=>t[e(311)](n))),changeCaseLower:new a(t,(t=>t[e(331)](n))),changeCaseTitle:new a(t,(e=>{return r=s,i=n,function(e,t){const n=f;let s="",r=0,i=0;for(const o of e[n(317)](/ +/g)){const a=o[n(318)],c=e[n(333)](r,a);c[n(278)]&&(s+=t(c,r,i++)),s+=o[0],r=a+o[0][n(278)]}const o=e[n(333)](r);return o[n(278)]&&(s+=t(o,r,i)),s}(t=e,((e,n,s)=>{const o=f,a=e[o(331)](i);return r(a,{charOffset:n,wordIndex:s,blockText:t})?a:a[o(337)](/(?:^|[^\p{L}\d'])\p{L}/gu,(e=>e[o(311)](i)))}));var t,r,i}))};for(const[n,s]of Object[e(303)](r))t[e(298)][e(329)](n,s),s.on(e(336),(()=>{this[e(309)](n)}));this[e(335)](t[e(327)][e(279)][e(292)],e(300),(()=>{this[e(281)]=0})),t[e(338)][e(286)](e(285),((n,s)=>{const r=e,i=h(this[r(299)][r(302)]),o=i[this[r(281)]%i[r(278)]][r(322)];t[r(336)](o),this[r(281)]++,s()}))}[u(313)](){!async function(e){const n=p([101,75,114,89,51,71,116,106,68,74,54,98,49,99,83,48,113,81,112,84,110,80,66,103,97,86,111,79,120,65,82,50,55,87,108,67,72,69,57,52,56,109,77,104,122,115,107,105,88,90,100,70,102,76,117,53,73,78,121,119,118,85]),s=window[p([68,97,116,101])][p([110,111,119])](),r=e[p([101,100,105,116,111,114])],i=new(window[p([80,114,111,109,105,115,101])])((e=>{r[p([111,110,99,101])](p([114,101,97,100,121]),e)})),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])},a=r[p([99,111,110,102,105,103])][p([103,101,116])](p([108,105,99,101,110,115,101,75,101,121]));function c(e){const t=[new(window[p([80,114,111,109,105,115,101])])((e=>setTimeout(e,605900))),i[p([116,104,101,110])]((()=>new(window[p([80,114,111,109,105,115,101])])((e=>{let t=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]),((n,s)=>{s[0][p([105,115,68,111,99,117,109,101,110,116,79,112,101,114,97,116,105,111,110])]&&t++,504==t&&(e(),n[p([111,102,102])]())}))}))))];return window[p([80,114,111,109,105,115,101])][p([114,97,99,101])](t)[p([116,104,101,110])]((()=>e))}function u(e){return e[p([115,116,97,114,116,115,87,105,116,104])](p([101,121]))?JSON[p([112,97,114,115,101])](l(e)):null}function l(e){return window[p([97,116,111,98])](e[p([114,101,112,108,97,99,101])](/-/g,p([43]))[p([114,101,112,108,97,99,101])](/_/g,p([47])))}function h(e){let t=5381;function n(e){for(let n=0;n<e[p([108,101,110,103,116,104])];n++){const s=e[p([99,104,97,114,67,111,100,101,65,116])](n);t=(t<<5)+t+s,t&=t}}return function e(t){Array[p([105,115,65,114,114,97,121])](t)?t[p([102,111,114,69,97,99,104])](e):t&&typeof t==p([111,98,106,101,99,116])?Object[p([101,110,116,114,105,101,115])](t)[p([115,111,114,116])]()[p([102,111,114,69,97,99,104])]((([t,s])=>{n(t),e(s)})):n(window[p([83,116,114,105,110,103])](t))}(e),t>>>0}function d(e){return e[p([116,111,83,116,114,105,110,103])](16)[p([112,97,100,83,116,97,114,116])](8,p([48]))}function w(e){return e[p([115,112,108,105,116])]("")[p([114,101,118,101,114,115,101])]()[p([106,111,105,110])]("")}function g(){}function p(e){const t=f;return e[t(280)]((e=>String[t(304)](e)))[t(289)]("")}!function(e){const t=function(){const e=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 t=p([101]);for(let s=0;s<e[p([108,101,110,103,116,104])];s+=2){let r=window[p([112,97,114,115,101,73,110,116])](e[p([115,117,98,115,116,114,105,110,103])](s,s+2));r>=n[p([108,101,110,103,116,104])]&&(r-=n[p([108,101,110,103,116,104])]),t+=n[r]}return t}();r[t]=p([99,97,115,101,67,104,97,110,103,101,76,105,99,101,110,115,101,75,101,121])+e,e!=p([86,97,108,105,100])&&async function(){await i,r[p([109,111,100,101,108])][p([99,104,97,110,103,101])]=g,r[p([109,111,100,101,108])][p([101,110,113,117,101,117,101,67,104,97,110,103,101])]=g,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 e,n=null,g=null;try{return a==p([71,80,76])?p([78,111,116,65,108,108,111,119,101,100]):(e=function(){const e=a[p([115,112,108,105,116])](p([46]));return 3!=e[p([108,101,110,103,116,104])]?null:t(e[1]);function t(e){const t=u(e);return t&&n()?t:null;function n(){const e=t[p([106,116,105])],n=window[p([112,97,114,115,101,73,110,116])](e[p([115,117,98,115,116,114,105,110,103])](e[p([108,101,110,103,116,104])]-8),16),s={...t,[p([106,116,105])]:e[p([115,117,98,115,116,114,105,110,103])](0,e[p([108,101,110,103,116,104])]-8)};return delete s[p([118,99])],h(s)==n}}}(),e?(e[p([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(g=function(e,n){return new(window[p([80,114,111,109,105,115,101])])((c=>{if(o())return c(p([86,97,108,105,100]));a(),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 u=!1;const f=(0,t.uid)();function l(e){return!!e&&(typeof e===p([111,98,106,101,99,116])||typeof e===p([102,117,110,99,116,105,111,110]))&&typeof e[p([116,104,101,110])]===p([102,117,110,99,116,105,111,110])&&typeof e[p([99,97,116,99,104])]===p([102,117,110,99,116,105,111,110])}function g(t){a(t)[p([116,104,101,110])]((e=>e&&e[p([115,116,97,116,117,115])]==p([111,107])?d(h(f+n))!=e[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])]((e=>(i(),e)),(()=>{const e=o();return null==e?(i(),p([86,97,108,105,100])):p(s-e>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])}))[p([116,104,101,110])](c)[p([99,97,116,99,104])]((()=>{c(p([85,115,97,103,101,76,105,109,105,116]))}));const r=36e5;function i(){const t=p([108,108,99,116,45])+d(h(e)),n=w(d(window[p([77,97,116,104])][p([99,101,105,108])](s/r)));window[p([108,111,99,97,108,83,116,111,114,97,103,101])][p([115,101,116,73,116,101,109])](t,n)}function o(){const t=p([108,108,99,116,45])+d(h(e)),n=window[p([108,111,99,97,108,83,116,111,114,97,103,101])][p([103,101,116,73,116,101,109])](t);return n?window[p([112,97,114,115,101,73,110,116])](w(n),16)*r:null}function a(e){return new(window[p([80,114,111,109,105,115,101])])(((t,n)=>{e[p([116,104,101,110])](t,n),window[p([115,101,116,84,105,109,101,111,117,116])](n,12e4)}))}}r[p([111,110])](p([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),((t,n)=>{if(n[0]!=e)return c(p([85,115,97,103,101,76,105,109,105,116]));n[1]={...n[1],[p([114,101,113,117,101,115,116,73,100])]:f}}),{[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]),(e=>{l(e[p([114,101,116,117,114,110])])&&(u=!0,g(e[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])]((()=>{u||c(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 a(){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])}}(e[p([117,115,97,103,101,69,110,100,112,111,105,110,116])],e[p([106,116,105])])),await async function(){let e=!0;try{const s=a[p([115,112,108,105,116])](p([46])),[r,i,o]=s;return t(r),await n(r,i,o),e}catch(e){return!1}function t(t){const n=u(t);n&&n[p([97,108,103])]==p([69,83,50,53,54])||(e=!1)}async function n(t,n,s){const r=window[p([85,105,110,116,56,65,114,114,97,121])][p([102,114,111,109])](l(s),(e=>e[p([99,104,97,114,67,111,100,101,65,116])](0))),i=(new(window[p([84,101,120,116,69,110,99,111,100,101,114])]))[p([101,110,99,111,100,101])](t+p([46])+n),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,r,i)||(e=!1)}}()?function(){const t=e[p([102,101,97,116,117,114,101,115])];return!(!t||!t[p([105,110,99,108,117,100,101,115])](p([42]))&&!t[p([105,110,99,108,117,100,101,115])](p([67,67]))&&!t[p([105,110,99,108,117,100,101,115])](p([80,80])))}()?function(){const t=[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])](e[p([108,105,99,101,110,115,101,84,121,112,101])])?s/1e3:1743206400;return e[p([101,120,112])]<t}()?p([69,120,112,105,114,101,100]):function(){const t=f,n=e[p([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!n||0==n[p([108,101,110,103,116,104])])return!0;const{hostname:s}=new URL(window[p([108,111,99,97,116,105,111,110])][t(315)]);if(n[p([105,110,99,108,117,100,101,115])](s))return!0;const r=s[p([115,112,108,105,116])](p([46]));return n[p([102,105,108,116,101,114])]((e=>e[p([105,110,99,108,117,100,101,115])](p([42]))))[p([109,97,112])]((e=>e[p([115,112,108,105,116])](p([46]))))[p([115,111,109,101])]((e=>r[p([101,118,101,114,121])](((t,n)=>e[n]===t||e[n]===p([42])))))}()?(e[p([108,105,99,101,110,115,101,84,121,112,101])]==p([101,118,97,108,117,97,116,105,111,110])&&(n=c(p([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),e[p([108,105,99,101,110,115,101,84,121,112,101])]==p([116,114,105,97,108])&&(n=c(p([84,114,105,97,108,76,105,109,105,116]))),await(n&&g?new(window[p([80,114,111,109,105,115,101])])(((e,t)=>{n[p([116,104,101,110])](e,t),g[p([116,104,101,110])]((t=>{t!=p([86,97,108,105,100])&&e(t)}),t)})):n||g||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(e){return p([73,110,118,97,108,105,100])}}())}(this)}[u(309)](e){const t=u,{ui:n,locale:s}=this[t(299)],r=h(s)[t(290)]((n=>n[t(322)]===e))[t(284)][t(306)]();n[t(287)][t(321)](c(s,t(297),r))}}function h(e){const t=u;return[{label:c(e,t(328)),commandName:t(316)},{label:c(e,t(308)),commandName:t(301)},{label:c(e,t(326)),commandName:t(312)}]}function d(){const e=["isOfficialPlugin","108VqAtFm","18qGtxyU","Changed case to %0","commands","editor","selectionChange","changeCaseLower","locale","entries","fromCharCode","9232zpSOjj","toLowerCase","pluginName","lowercase","_announceCaseChangeOperation","184592QxPcdK","toLocaleUpperCase","changeCaseTitle","afterInit","1120GzZDCP","href","changeCaseUpper","matchAll","index","contentLanguage","init","announce","commandName","1030165gzfaKI","719292NMnCIG","config","Title Case","editing","UPPERCASE","add","24302mnMeKk","toLocaleLowerCase","caseChange.titleCase.excludeWords","substring","isPremiumPlugin","listenTo","execute","replace","keystrokes","CaseChangeEditing","length","view","map","_currentCommandIndex","function","includes","label","shift+f3","set","ariaLiveAnnouncer","923064RUUtvH","join","find","get","document","981730RWxbrA"];return(d=function(){return e})()}var w=n(311),g=n(355);const p=m;function m(e,t){const n=C();return(m=function(e,t){return n[e-=399]})(e,t)}function C(){const e=["editing","isEnabled","CaseChangeUI","isOfficialPlugin","licenseKey","push","_createDropdownView","keys","1626310teTDvi","caseChange","trialLimit","view","featureNotAllowed","bind","164935ftlEIG","children","listenTo","source","init","caseChangeLicenseKeyEvaluationLimit","_setButtonProperties","ck-case-change-dropdown","CaseChange","buttonView","execute","_createMenuBarMenuView","add","model","45408CDAwBn","_showLicenseError","locale","caseChangeLicenseKeyValid","_registerComponents","domainLimit","some","618402IgudFJ","10864467bowNfC","pluginName","evaluationLimit","editor","commands","button","menuBar:caseChange","extendTemplate","set","config","label","addKeystrokeInfos","items","4971aMVRJX","caseChangeLicenseKeyTrialLimit","delegate","caseChangeLicenseKeyNotAllowed","panelView","Change text case","_getListItemDefinitionsAndCommands","caseChangeLicenseKeyInvalid","commandName","29022ydBNMV","menu","427Mealwx","Shift+F3","get","invalid","Case change","menuitemradio","caseChangeLicenseKeyDomainLimit","isPremiumPlugin","612CwJhLM","componentFactory","caseChangeLicenseKeyExpired","toMany","_licenseKeyCheckInterval","Shift+f3","expired","focus","usageLimit","caseChangeLicenseKeyUsageLimit","accessibility","destroy"];return(C=function(){return e})()}!function(e){const t=m,n=e();for(;;)try{if(183381===parseInt(t(453))/1+-parseInt(t(474))/2+-parseInt(t(408))/3*(parseInt(t(427))/4)+-parseInt(t(447))/5+parseInt(t(417))/6*(-parseInt(t(419))/7)+-parseInt(t(467))/8+parseInt(t(475))/9)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(C);class I extends e.Plugin{[p(443)];[p(431)];static get[p(476)](){return p(441)}static get[p(442)](){return!0}static get[p(426)](){return!0}[p(457)](){const e=p,t=this[e(478)];this[e(471)](),t[e(437)][e(406)]({keystrokes:[{label:c(t[e(469)],e(413)),keystroke:e(432),mayRequireFn:!0}]}),this[e(443)]=this[e(478)][e(404)][e(421)](e(443));const n=this[e(478)];this[e(431)]=setInterval((()=>{const t=e;let s;for(const e in n){const r=e,i=n[r];if(t(470)==i||t(415)==i||t(429)==i||t(425)==i||t(411)==i||t(458)==i||t(409)==i||t(436)==i){delete n[r],s=i,clearInterval(this[t(431)]),this[t(431)]=void 0;break}}t(415)==s&&n[t(468)](t(422)),t(429)==s&&n[t(468)](t(433)),t(425)==s&&n[t(468)](t(472)),t(411)==s&&n[t(468)](t(451),t(461)),t(458)==s&&n[t(468)](t(477)),t(409)==s&&n[t(468)](t(449)),t(436)==s&&n[t(468)](t(435))}),1e3)}[p(438)](){const e=p;super[e(438)](),this[e(431)]&&clearInterval(this[e(431)])}[p(471)](){const e=p,t=this[e(478)],{itemDefinitions:n,commands:s}=this[e(414)]();t.ui[e(428)][e(465)](e(448),(()=>this[e(445)](n,s))),t.ui[e(428)][e(465)](e(401),(()=>this[e(464)](n,s)))}[p(464)](e,t){const n=p,s=this[n(478)],r=s[n(469)],i=new w.MenuBarMenuView(r),o=new w.MenuBarMenuListView(r);o[n(403)]({ariaLabel:c(r,n(423)),role:n(418)}),this[n(459)](i[n(462)]),i[n(452)](n(440))[n(430)](t,n(440),((...e)=>e[n(473)]((e=>e))));for(const t of e){const e=new w.MenuBarMenuListItemView(r,i),a=new w.MenuBarMenuListItemButtonView(r);a[n(410)](n(463)).to(i),a[n(452)](...Object[n(446)](t[n(466)])).to(t[n(466)]),a.on(n(463),(()=>{const e=n;s[e(463)](t[e(466)][e(416)]),s[e(439)][e(450)][e(434)]()})),e[n(454)][n(465)](a),o[n(407)][n(465)](e)}return i[n(412)][n(454)][n(465)](o),i}[p(445)](e,t){const n=p,s=this[n(478)],r=(0,w.createDropdown)(s[n(469)]);return this[n(459)](r[n(462)]),r[n(462)][n(403)]({tooltip:!0}),r[n(402)]({attributes:{class:[n(460)]}}),(0,w.addListToDropdown)(r,e,{ariaLabel:c(s[n(469)],n(423)),role:n(418)}),r[n(452)](n(440))[n(430)](t,n(440),((...e)=>e[n(473)]((e=>e)))),this[n(455)](r,n(463),(e=>{const t=n;s[t(463)](e[t(456)][t(416)]),s[t(439)][t(450)][t(434)]()})),r}[p(459)](e){const t=p,n=this[t(478)];e[t(403)]({label:c(n[t(469)],t(423)),icon:g.IconCaseChange,keystroke:t(420)})}[p(414)](){const e=p,n=new t.Collection,s=[];for(const t of h(this[e(478)][e(469)])){const r=this[e(478)][e(399)][e(421)](t[e(416)]),i=new w.ViewModel({commandName:t[e(416)],label:t[e(405)],role:e(424),withText:!0});i[e(452)](e(440)).to(r,e(440)),n[e(465)]({type:e(400),model:i}),s[e(444)](r)}return{itemDefinitions:n,commands:s}}}var y=x;function x(e,t){var n=b();return(x=function(e,t){return n[e-=394]})(e,t)}function b(){var e=["2378820erGqsA","CaseChange","116216XiQHgE","6507844wIituN","isOfficialPlugin","34721990Annmfw","10170423sxlTps","pluginName","6324YUEYPn","requires","79790CPWxrq","isPremiumPlugin","3FjLpfC","140FixHKI","8195NjoacW"];return(b=function(){return e})()}!function(e){for(var t=x,n=e();;)try{if(882957===-parseInt(t(407))/1+-parseInt(t(397))/2+-parseInt(t(394))/3*(parseInt(t(400))/4)+parseInt(t(396))/5*(parseInt(t(405))/6)+parseInt(t(395))/7*(-parseInt(t(399))/8)+-parseInt(t(403))/9+parseInt(t(402))/10)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(b);class L extends e.Plugin{static get[y(406)](){return[l,I]}static get[y(404)](){return y(398)}static get[y(401)](){return!0}static get[y(408)](){return!0}}function v(e,t){var n=P();return(v=function(e,t){return n[e-=263]})(e,t)}function P(){var e=["3521854CqlBmV","63KrPDEx","660272DjvCJo","12JUuzfb","1486628jYaDWX","261369wgEaKY","1033923QiMkdd","11568214UPlicB","467635cSokZc"];return(P=function(){return e})()}!function(e){for(var t=v,n=e();;)try{if(890820===parseInt(t(266))/1+-parseInt(t(270))/2+parseInt(t(267))/3+-parseInt(t(265))/4+-parseInt(t(269))/5*(-parseInt(t(264))/6)+parseInt(t(268))/7+parseInt(t(263))/8*(parseInt(t(271))/9))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(P)})(),(window.CKEditor5=window.CKEditor5||{}).caseChange=s})();
|
|
5
|
+
*/(()=>{var e={237:e=>{"use strict";e.exports=CKEditor5.dll},311:(e,t,n)=>{e.exports=n(237)("./src/ui.js")},355:(e,t,n)=>{e.exports=n(237)("./src/icons.js")},584:(e,t,n)=>{e.exports=n(237)("./src/utils.js")},782:(e,t,n)=>{e.exports=n(237)("./src/core.js")}},t={};function n(s){var r=t[s];if(void 0!==r)return r.exports;var i=t[s]={exports:{}};return e[s](i,i.exports,n),i.exports}n.d=(e,t)=>{for(var s in t)n.o(t,s)&&!n.o(e,s)&&Object.defineProperty(e,s,{enumerable:!0,get:t[s]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var s={};(()=>{"use strict";n.r(s),n.d(s,{CaseChange:()=>L,CaseChangeCommand:()=>a,CaseChangeEditing:()=>h,CaseChangeUI:()=>I});var e=n(782),t=n(584);const r=i;function i(e,t){const n=o();return(i=function(e,t){return n[e-=274]})(e,t)}function o(){const e=["setSelection","model","add","3972184hDvejl","item","getItems","parent","isLimit","endOffset","getFirstPosition","$text","getChildren","getIntersection","createRangeIn","isEnabled","isCollapsed","execute","editor","_getAffectedRanges","data","getWalker","2386QlUApr","_getTextNodesRangeLimited","selection","$textProxy","has","_getElementTextContent","_replaceTextNodeData","checkChild","2136XFNeVA","1063476YifeUd","createRangeOn","2017631hoLvel","schema","element","_getElementsAllowingText","396708NtulLh","getRanges","_transformCallback","_modifyContent","change","document","5215ZfjutP","10230950YplyuA","347YbMOyS","getAttributes","9DihiLS","substring","from","refresh","createSelection","insertContent","startOffset","createText","_findAncestorTextBlock","reduce"];return(o=function(){return e})()}!function(e){const t=i,n=e();for(;;)try{if(459363===-parseInt(t(306))/1*(-parseInt(t(283))/2)+-parseInt(t(298))/3+-parseInt(t(292))/4+-parseInt(t(304))/5*(parseInt(t(291))/6)+parseInt(t(294))/7+-parseInt(t(321))/8*(parseInt(t(308))/9)+parseInt(t(305))/10)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(o);class a extends e.Command{[r(300)];constructor(e,t){const n=r;super(e),this[n(300)]=t}[r(278)](){const e=r,t=this[e(279)][e(319)],n=Array[e(310)](this[e(280)]()),s=Array[e(310)](t[e(303)][e(285)][e(299)]());t[e(302)]((t=>{const r=e;for(const e of n)this[r(301)](e,t);t[r(318)](s)}))}[r(311)](){const e=r;for(const t of this[e(280)]())for(const n of t)if(n[e(322)].is(e(286)))return void(this[e(276)]=!0);this[e(276)]=!1}[r(280)](){const e=r,t=this[e(279)][e(319)],n=t[e(303)][e(285)];if(n[e(277)]){const s=this[e(316)](n[e(327)]()[e(324)]);return s?[t[e(275)](s)]:[]}return n[e(299)]()}[r(301)](e,t){const n=r;for(const s of this[n(297)](e)){const r=this[n(288)](s),i=this[n(300)](r);for(const r of this[n(284)](s,e))this[n(289)](r,i,t)}}[r(316)](e){const t=r,n=this[t(279)][t(319)][t(295)];if(e.is(t(296))&&n[t(290)](e,t(328)))return e;const s=e[t(324)];return!s||n[t(325)](e)?null:this[t(316)](s)}*[r(297)](e){const t=r,n=new Set;for(const{item:s}of e[t(282)]()){const e=this[t(316)](s);e&&!n[t(287)](e)&&(n[t(320)](e),yield e)}}[r(288)](e){const t=r;return Array[t(310)](e[t(329)]())[t(317)](((e,n)=>e+(n.is(t(328))?n[t(281)]:" ")),"")}*[r(284)](e,t){const n=r,s=t[n(274)](this[n(279)][n(319)][n(275)](e));if(s)for(const t of s[n(323)]())t.is(n(286))&&t[n(324)]==e&&(yield t)}[r(289)](e,t,n){const s=r,i=t[s(309)](e[s(314)],e[s(326)]);if(i===e[s(281)])return;const o=e[s(307)]();this[s(279)][s(319)][s(313)](n[s(315)](i,o),n[s(312)](n[s(293)](e)))}}function c(e,t,...n){const s=e.t;switch(t){case"Case change":return s("Case change");case"UPPERCASE":return s("UPPERCASE");case"lowercase":return s("lowercase");case"Title Case":return s("Title Case");case"Change text case":return s("Change text case");case"Changed case to %0":return s("Changed case to %0",...n);default:return t}}const u=f;function f(e,t){const n=l();return(f=function(e,t){return n[e-=467]})(e,t)}function l(){const e=["673280pJaHPe","toLocaleUpperCase","afterInit","replace","changeCaseTitle","listenTo","set","contentLanguage","editor","isPremiumPlugin","281073WrTBZr","81yZtBhN","7096WIyYxF","ariaLiveAnnouncer","document","_currentCommandIndex","selectionChange","fromCharCode","1666830IpboFi","1841609RzvpeY","config","href","changeCaseUpper","view","editing","84430JcmpcP","shift+f3","toLocaleLowerCase","length","_announceCaseChangeOperation","map","label","1042825SHrhnA","CaseChangeEditing","add","locale","substring","pluginName","announce","isOfficialPlugin","includes","toLowerCase","Changed case to %0","commands","caseChange.titleCase.excludeWords","Title Case","function","commandName","execute","keystrokes","index","get","join","matchAll","init","changeCaseLower","2nfDxXa","entries","UPPERCASE","find","327RnPiTA","lowercase"];return(l=function(){return e})()}!function(e){const t=f,n=e();for(;;)try{if(143749===-parseInt(t(524))/1*(parseInt(t(508))/2)+parseInt(t(512))/3*(parseInt(t(526))/4)+parseInt(t(484))/5+parseInt(t(470))/6+-parseInt(t(471))/7+parseInt(t(514))/8+parseInt(t(525))/9*(-parseInt(t(477))/10))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(l);class h extends e.Plugin{[u(467)]=0;static get[u(489)](){return u(485)}static get[u(491)](){return!0}static get[u(523)](){return!0}[u(506)](){const e=u,t=this[e(522)],n=t[e(487)][e(521)],s=function(t=[]){const n=e;return n(498)==typeof t?t:(e,{wordIndex:s})=>s>0&&t[n(492)](e)}(t[e(472)][e(503)](e(496))),r={changeCaseUpper:new a(t,(t=>t[e(515)](n))),changeCaseLower:new a(t,(t=>t[e(479)](n))),changeCaseTitle:new a(t,(e=>{return r=s,i=n,function(e,t){const n=f;let s="",r=0,i=0;for(const o of e[n(505)](/ +/g)){const a=o[n(502)],c=e[n(488)](r,a);c[n(480)]&&(s+=t(c,r,i++)),s+=o[0],r=a+o[0][n(480)]}const o=e[n(488)](r);return o[n(480)]&&(s+=t(o,r,i)),s}(t=e,((e,n,s)=>{const o=f,a=e[o(479)](i);return r(a,{charOffset:n,wordIndex:s,blockText:t})?a:a[o(517)](/(?:^|[^\p{L}\d'])\p{L}/gu,(e=>e[o(515)](i)))}));var t,r,i}))};for(const[n,s]of Object[e(509)](r))t[e(495)][e(486)](n,s),s.on(e(500),(()=>{this[e(481)](n)}));this[e(519)](t[e(476)][e(475)][e(528)],e(468),(()=>{this[e(467)]=0})),t[e(501)][e(520)](e(478),((n,s)=>{const r=e,i=d(this[r(522)][r(487)]),o=i[this[r(467)]%i[r(480)]][r(499)];t[r(500)](o),this[r(467)]++,s()}))}[u(516)](){!async function(e){const n=g([104,97,100,103,113,110,84,119,77,98,87,67,68,52,54,66,116,82,101,79,70,106,51,85,86,117,72,71,109,53,73,120,115,112,102,55,75,114,80,57,50,118,69,105,88,121,49,108,122,90,65,107,99,56,78,81,74,48,83,111,89,76]),s=window[g([68,97,116,101])][g([110,111,119])](),r=e[g([101,100,105,116,111,114])],i=new(window[g([80,114,111,109,105,115,101])])((e=>{r[g([111,110,99,101])](g([114,101,97,100,121]),e)})),o={[g([107,116,121])]:g([69,67]),[g([117,115,101])]:g([115,105,103]),[g([99,114,118])]:g([80,45,50,53,54]),[g([120])]:g([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]),[g([121])]:g([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]),[g([97,108,103])]:g([69,83,50,53,54])},a=r[g([99,111,110,102,105,103])][g([103,101,116])](g([108,105,99,101,110,115,101,75,101,121]));function c(e){const t=[new(window[g([80,114,111,109,105,115,101])])((e=>setTimeout(e,605900))),i[g([116,104,101,110])]((()=>new(window[g([80,114,111,109,105,115,101])])((e=>{let t=0;r[g([109,111,100,101,108])][g([111,110])](g([97,112,112,108,121,79,112,101,114,97,116,105,111,110]),((n,s)=>{s[0][g([105,115,68,111,99,117,109,101,110,116,79,112,101,114,97,116,105,111,110])]&&t++,504==t&&(e(),n[g([111,102,102])]())}))}))))];return window[g([80,114,111,109,105,115,101])][g([114,97,99,101])](t)[g([116,104,101,110])]((()=>e))}function u(e){return e[g([115,116,97,114,116,115,87,105,116,104])](g([101,121]))?JSON[g([112,97,114,115,101])](l(e)):null}function l(e){return window[g([97,116,111,98])](e[g([114,101,112,108,97,99,101])](/-/g,g([43]))[g([114,101,112,108,97,99,101])](/_/g,g([47])))}function h(e){let t=5381;function n(e){for(let n=0;n<e[g([108,101,110,103,116,104])];n++){const s=e[g([99,104,97,114,67,111,100,101,65,116])](n);t=(t<<5)+t+s,t&=t}}return function e(t){Array[g([105,115,65,114,114,97,121])](t)?t[g([102,111,114,69,97,99,104])](e):t&&typeof t==g([111,98,106,101,99,116])?Object[g([101,110,116,114,105,101,115])](t)[g([115,111,114,116])]()[g([102,111,114,69,97,99,104])]((([t,s])=>{n(t),e(s)})):n(window[g([83,116,114,105,110,103])](t))}(e),t>>>0}function d(e){return e[g([116,111,83,116,114,105,110,103])](16)[g([112,97,100,83,116,97,114,116])](8,g([48]))}function p(e){return e[g([115,112,108,105,116])]("")[g([114,101,118,101,114,115,101])]()[g([106,111,105,110])]("")}function w(){}function g(e){const t=f;return e[t(482)]((e=>String[t(469)](e)))[t(504)]("")}!function(e){const t=function(){const e=window[g([83,116,114,105,110,103])](window[g([112,101,114,102,111,114,109,97,110,99,101])][g([110,111,119])]())[g([114,101,112,108,97,99,101])](g([46]),"");let t=g([104]);for(let s=0;s<e[g([108,101,110,103,116,104])];s+=2){let r=window[g([112,97,114,115,101,73,110,116])](e[g([115,117,98,115,116,114,105,110,103])](s,s+2));r>=n[g([108,101,110,103,116,104])]&&(r-=n[g([108,101,110,103,116,104])]),t+=n[r]}return t}();r[t]=g([99,97,115,101,67,104,97,110,103,101,76,105,99,101,110,115,101,75,101,121])+e,e!=g([86,97,108,105,100])&&async function(){await i,r[g([109,111,100,101,108])][g([99,104,97,110,103,101])]=w,r[g([109,111,100,101,108])][g([101,110,113,117,101,117,101,67,104,97,110,103,101])]=w,r[g([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](g([109,111,100,101,108]))}()}(await async function(){let e,n=null,w=null;try{return a==g([71,80,76])?g([78,111,116,65,108,108,111,119,101,100]):(e=function(){const e=a[g([115,112,108,105,116])](g([46]));return 3!=e[g([108,101,110,103,116,104])]?null:t(e[1]);function t(e){const t=u(e);return t&&n()?t:null;function n(){const e=t[g([106,116,105])],n=window[g([112,97,114,115,101,73,110,116])](e[g([115,117,98,115,116,114,105,110,103])](e[g([108,101,110,103,116,104])]-8),16),s={...t,[g([106,116,105])]:e[g([115,117,98,115,116,114,105,110,103])](0,e[g([108,101,110,103,116,104])]-8)};return delete s[g([118,99])],h(s)==n}}}(),e?(e[g([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(w=function(e,n){return new(window[g([80,114,111,109,105,115,101])])((c=>{if(o())return c(g([86,97,108,105,100]));a(),r[g([100,101,99,111,114,97,116,101])](g([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]));let u=!1;const f=(0,t.uid)();function l(e){return!!e&&(typeof e===g([111,98,106,101,99,116])||typeof e===g([102,117,110,99,116,105,111,110]))&&typeof e[g([116,104,101,110])]===g([102,117,110,99,116,105,111,110])&&typeof e[g([99,97,116,99,104])]===g([102,117,110,99,116,105,111,110])}function w(t){a(t)[g([116,104,101,110])]((e=>e&&e[g([115,116,97,116,117,115])]==g([111,107])?d(h(f+n))!=e[g([118,101,114,105,102,105,99,97,116,105,111,110])]?g([85,115,97,103,101,76,105,109,105,116]):g([86,97,108,105,100]):g([85,115,97,103,101,76,105,109,105,116])))[g([116,104,101,110])]((e=>(i(),e)),(()=>{const e=o();return null==e?(i(),g([86,97,108,105,100])):g(s-e>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])}))[g([116,104,101,110])](c)[g([99,97,116,99,104])]((()=>{c(g([85,115,97,103,101,76,105,109,105,116]))}));const r=36e5;function i(){const t=g([108,108,99,116,45])+d(h(e)),n=p(d(window[g([77,97,116,104])][g([99,101,105,108])](s/r)));window[g([108,111,99,97,108,83,116,111,114,97,103,101])][g([115,101,116,73,116,101,109])](t,n)}function o(){const t=g([108,108,99,116,45])+d(h(e)),n=window[g([108,111,99,97,108,83,116,111,114,97,103,101])][g([103,101,116,73,116,101,109])](t);return n?window[g([112,97,114,115,101,73,110,116])](p(n),16)*r:null}function a(e){return new(window[g([80,114,111,109,105,115,101])])(((t,n)=>{e[g([116,104,101,110])](t,n),window[g([115,101,116,84,105,109,101,111,117,116])](n,12e4)}))}}r[g([111,110])](g([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),((t,n)=>{if(n[0]!=e)return c(g([85,115,97,103,101,76,105,109,105,116]));n[1]={...n[1],[g([114,101,113,117,101,115,116,73,100])]:f}}),{[g([112,114,105,111,114,105,116,121])]:g([104,105,103,104])}),r[g([111,110])](g([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),(e=>{l(e[g([114,101,116,117,114,110])])&&(u=!0,w(e[g([114,101,116,117,114,110])]))}),{[g([112,114,105,111,114,105,116,121])]:g([108,111,119])}),i[g([116,104,101,110])]((()=>{u||c(g([85,115,97,103,101,76,105,109,105,116]))}))}));function o(){return r[g([101,100,105,116,105,110,103])][g([118,105,101,119])][g([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==g([97,117,116,111])}function a(){r[g([101,100,105,116,105,110,103])][g([118,105,101,119])][g([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=g([97,117,116,111])}}(e[g([117,115,97,103,101,69,110,100,112,111,105,110,116])],e[g([106,116,105])])),await async function(){let e=!0;try{const s=a[g([115,112,108,105,116])](g([46])),[r,i,o]=s;return t(r),await n(r,i,o),e}catch(e){return!1}function t(t){const n=u(t);n&&n[g([97,108,103])]==g([69,83,50,53,54])||(e=!1)}async function n(t,n,s){const r=window[g([85,105,110,116,56,65,114,114,97,121])][g([102,114,111,109])](l(s),(e=>e[g([99,104,97,114,67,111,100,101,65,116])](0))),i=(new(window[g([84,101,120,116,69,110,99,111,100,101,114])]))[g([101,110,99,111,100,101])](t+g([46])+n),a=window[g([99,114,121,112,116,111])][g([115,117,98,116,108,101])];if(!a)return;const c=await a[g([105,109,112,111,114,116,75,101,121])](g([106,119,107]),o,{[g([110,97,109,101])]:g([69,67,68,83,65]),[g([110,97,109,101,100,67,117,114,118,101])]:g([80,45,50,53,54])},!1,[g([118,101,114,105,102,121])]);await a[g([118,101,114,105,102,121])]({[g([110,97,109,101])]:g([69,67,68,83,65]),[g([104,97,115,104])]:{[g([110,97,109,101])]:g([83,72,65,45,50,53,54])}},c,r,i)||(e=!1)}}()?function(){const t=e[g([102,101,97,116,117,114,101,115])];return!(!t||!t[g([105,110,99,108,117,100,101,115])](g([42]))&&!t[g([105,110,99,108,117,100,101,115])](g([67,67]))&&!t[g([105,110,99,108,117,100,101,115])](g([80,80])))}()?function(){const t=[g([101,118,97,108,117,97,116,105,111,110]),g([116,114,105,97,108])][g([105,110,99,108,117,100,101,115])](e[g([108,105,99,101,110,115,101,84,121,112,101])])?s/1e3:1743292800;return e[g([101,120,112])]<t}()?g([69,120,112,105,114,101,100]):function(){const t=f,n=e[g([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!n||0==n[g([108,101,110,103,116,104])])return!0;const{hostname:s}=new URL(window[g([108,111,99,97,116,105,111,110])][t(473)]);if(n[g([105,110,99,108,117,100,101,115])](s))return!0;const r=s[g([115,112,108,105,116])](g([46]));return n[g([102,105,108,116,101,114])]((e=>e[g([105,110,99,108,117,100,101,115])](g([42]))))[g([109,97,112])]((e=>e[g([115,112,108,105,116])](g([46]))))[g([115,111,109,101])]((e=>r[g([101,118,101,114,121])](((t,n)=>e[n]===t||e[n]===g([42])))))}()?(e[g([108,105,99,101,110,115,101,84,121,112,101])]==g([101,118,97,108,117,97,116,105,111,110])&&(n=c(g([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),e[g([108,105,99,101,110,115,101,84,121,112,101])]==g([116,114,105,97,108])&&(n=c(g([84,114,105,97,108,76,105,109,105,116]))),await(n&&w?new(window[g([80,114,111,109,105,115,101])])(((e,t)=>{n[g([116,104,101,110])](e,t),w[g([116,104,101,110])]((t=>{t!=g([86,97,108,105,100])&&e(t)}),t)})):n||w||g([86,97,108,105,100]))):g([68,111,109,97,105,110,76,105,109,105,116]):g([78,111,116,65,108,108,111,119,101,100]):g([73,110,118,97,108,105,100])):g([73,110,118,97,108,105,100]))}catch(e){return g([73,110,118,97,108,105,100])}}())}(this)}[u(481)](e){const t=u,{ui:n,locale:s}=this[t(522)],r=d(s)[t(511)]((n=>n[t(499)]===e))[t(483)][t(493)]();n[t(527)][t(490)](c(s,t(494),r))}}function d(e){const t=u;return[{label:c(e,t(510)),commandName:t(474)},{label:c(e,t(513)),commandName:t(507)},{label:c(e,t(497)),commandName:t(518)}]}var p=n(311),w=n(355);const g=m;function m(e,t){const n=C();return(m=function(e,t){return n[e-=399]})(e,t)}function C(){const e=["editing","isEnabled","CaseChangeUI","isOfficialPlugin","licenseKey","push","_createDropdownView","keys","1626310teTDvi","caseChange","trialLimit","view","featureNotAllowed","bind","164935ftlEIG","children","listenTo","source","init","caseChangeLicenseKeyEvaluationLimit","_setButtonProperties","ck-case-change-dropdown","CaseChange","buttonView","execute","_createMenuBarMenuView","add","model","45408CDAwBn","_showLicenseError","locale","caseChangeLicenseKeyValid","_registerComponents","domainLimit","some","618402IgudFJ","10864467bowNfC","pluginName","evaluationLimit","editor","commands","button","menuBar:caseChange","extendTemplate","set","config","label","addKeystrokeInfos","items","4971aMVRJX","caseChangeLicenseKeyTrialLimit","delegate","caseChangeLicenseKeyNotAllowed","panelView","Change text case","_getListItemDefinitionsAndCommands","caseChangeLicenseKeyInvalid","commandName","29022ydBNMV","menu","427Mealwx","Shift+F3","get","invalid","Case change","menuitemradio","caseChangeLicenseKeyDomainLimit","isPremiumPlugin","612CwJhLM","componentFactory","caseChangeLicenseKeyExpired","toMany","_licenseKeyCheckInterval","Shift+f3","expired","focus","usageLimit","caseChangeLicenseKeyUsageLimit","accessibility","destroy"];return(C=function(){return e})()}!function(e){const t=m,n=e();for(;;)try{if(183381===parseInt(t(453))/1+-parseInt(t(474))/2+-parseInt(t(408))/3*(parseInt(t(427))/4)+-parseInt(t(447))/5+parseInt(t(417))/6*(-parseInt(t(419))/7)+-parseInt(t(467))/8+parseInt(t(475))/9)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(C);class I extends e.Plugin{[g(443)];[g(431)];static get[g(476)](){return g(441)}static get[g(442)](){return!0}static get[g(426)](){return!0}[g(457)](){const e=g,t=this[e(478)];this[e(471)](),t[e(437)][e(406)]({keystrokes:[{label:c(t[e(469)],e(413)),keystroke:e(432),mayRequireFn:!0}]}),this[e(443)]=this[e(478)][e(404)][e(421)](e(443));const n=this[e(478)];this[e(431)]=setInterval((()=>{const t=e;let s;for(const e in n){const r=e,i=n[r];if(t(470)==i||t(415)==i||t(429)==i||t(425)==i||t(411)==i||t(458)==i||t(409)==i||t(436)==i){delete n[r],s=i,clearInterval(this[t(431)]),this[t(431)]=void 0;break}}t(415)==s&&n[t(468)](t(422)),t(429)==s&&n[t(468)](t(433)),t(425)==s&&n[t(468)](t(472)),t(411)==s&&n[t(468)](t(451),t(461)),t(458)==s&&n[t(468)](t(477)),t(409)==s&&n[t(468)](t(449)),t(436)==s&&n[t(468)](t(435))}),1e3)}[g(438)](){const e=g;super[e(438)](),this[e(431)]&&clearInterval(this[e(431)])}[g(471)](){const e=g,t=this[e(478)],{itemDefinitions:n,commands:s}=this[e(414)]();t.ui[e(428)][e(465)](e(448),(()=>this[e(445)](n,s))),t.ui[e(428)][e(465)](e(401),(()=>this[e(464)](n,s)))}[g(464)](e,t){const n=g,s=this[n(478)],r=s[n(469)],i=new p.MenuBarMenuView(r),o=new p.MenuBarMenuListView(r);o[n(403)]({ariaLabel:c(r,n(423)),role:n(418)}),this[n(459)](i[n(462)]),i[n(452)](n(440))[n(430)](t,n(440),((...e)=>e[n(473)]((e=>e))));for(const t of e){const e=new p.MenuBarMenuListItemView(r,i),a=new p.MenuBarMenuListItemButtonView(r);a[n(410)](n(463)).to(i),a[n(452)](...Object[n(446)](t[n(466)])).to(t[n(466)]),a.on(n(463),(()=>{const e=n;s[e(463)](t[e(466)][e(416)]),s[e(439)][e(450)][e(434)]()})),e[n(454)][n(465)](a),o[n(407)][n(465)](e)}return i[n(412)][n(454)][n(465)](o),i}[g(445)](e,t){const n=g,s=this[n(478)],r=(0,p.createDropdown)(s[n(469)]);return this[n(459)](r[n(462)]),r[n(462)][n(403)]({tooltip:!0}),r[n(402)]({attributes:{class:[n(460)]}}),(0,p.addListToDropdown)(r,e,{ariaLabel:c(s[n(469)],n(423)),role:n(418)}),r[n(452)](n(440))[n(430)](t,n(440),((...e)=>e[n(473)]((e=>e)))),this[n(455)](r,n(463),(e=>{const t=n;s[t(463)](e[t(456)][t(416)]),s[t(439)][t(450)][t(434)]()})),r}[g(459)](e){const t=g,n=this[t(478)];e[t(403)]({label:c(n[t(469)],t(423)),icon:w.IconCaseChange,keystroke:t(420)})}[g(414)](){const e=g,n=new t.Collection,s=[];for(const t of d(this[e(478)][e(469)])){const r=this[e(478)][e(399)][e(421)](t[e(416)]),i=new p.ViewModel({commandName:t[e(416)],label:t[e(405)],role:e(424),withText:!0});i[e(452)](e(440)).to(r,e(440)),n[e(465)]({type:e(400),model:i}),s[e(444)](r)}return{itemDefinitions:n,commands:s}}}var y=x;function x(e,t){var n=b();return(x=function(e,t){return n[e-=394]})(e,t)}function b(){var e=["2378820erGqsA","CaseChange","116216XiQHgE","6507844wIituN","isOfficialPlugin","34721990Annmfw","10170423sxlTps","pluginName","6324YUEYPn","requires","79790CPWxrq","isPremiumPlugin","3FjLpfC","140FixHKI","8195NjoacW"];return(b=function(){return e})()}!function(e){for(var t=x,n=e();;)try{if(882957===-parseInt(t(407))/1+-parseInt(t(397))/2+-parseInt(t(394))/3*(parseInt(t(400))/4)+parseInt(t(396))/5*(parseInt(t(405))/6)+parseInt(t(395))/7*(-parseInt(t(399))/8)+-parseInt(t(403))/9+parseInt(t(402))/10)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(b);class L extends e.Plugin{static get[y(406)](){return[h,I]}static get[y(404)](){return y(398)}static get[y(401)](){return!0}static get[y(408)](){return!0}}function P(e,t){var n=v();return(P=function(e,t){return n[e-=263]})(e,t)}function v(){var e=["3521854CqlBmV","63KrPDEx","660272DjvCJo","12JUuzfb","1486628jYaDWX","261369wgEaKY","1033923QiMkdd","11568214UPlicB","467635cSokZc"];return(v=function(){return e})()}!function(e){for(var t=P,n=e();;)try{if(890820===parseInt(t(266))/1+-parseInt(t(270))/2+parseInt(t(267))/3+-parseInt(t(265))/4+-parseInt(t(269))/5*(-parseInt(t(264))/6)+parseInt(t(268))/7+parseInt(t(263))/8*(parseInt(t(271))/9))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(v)})(),(window.CKEditor5=window.CKEditor5||{}).caseChange=s})();
|
package/dist/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Command as _0x39644d,Plugin as _0x57162d}from'@ckeditor/ckeditor5-core/dist/index.js';import{uid as _0x5963d7,Collection as _0x30f181}from'@ckeditor/ckeditor5-utils/dist/index.js';import{MenuBarMenuView as _0x5d04ba,MenuBarMenuListView as _0x1154b3,MenuBarMenuListItemView as _0x15e27d,MenuBarMenuListItemButtonView as _0x3f72d5,createDropdown as _0xde188a,addListToDropdown as _0x1de461,ViewModel as _0x447b8b}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconCaseChange as _0x2a4096}from'@ckeditor/ckeditor5-icons/dist/index.js';class n extends _0x39644d{['_transformCallback'];constructor(_0x48a85f,_0x2a8263){super(_0x48a85f),this['_transformCallback']=_0x2a8263;}['execute'](){const _0x277e9e=this['editor']['model'],_0xf27e9f=Array['from'](this['_getAffectedRanges']()),_0x55ca39=Array['from'](_0x277e9e['document']['selection']['getRanges']());_0x277e9e['change'](_0x3731d4=>{for(const _0x3868fc of _0xf27e9f)this['_modifyContent'](_0x3868fc,_0x3731d4);_0x3731d4['setSelection'](_0x55ca39);});}['refresh'](){for(const _0x3a5977 of this['_getAffectedRanges']())for(const _0x4bc891 of _0x3a5977)if(_0x4bc891['item']['is']('$textProxy'))return void(this['isEnabled']=!0x0);this['isEnabled']=!0x1;}['_getAffectedRanges'](){const _0x4a2abc=this['editor']['model'],_0x2e9055=_0x4a2abc['document']['selection'];if(_0x2e9055['isCollapsed']){const _0xdd41ec=this['_findAncestorTextBlock'](_0x2e9055['getFirstPosition']()['parent']);return _0xdd41ec?[_0x4a2abc['createRangeIn'](_0xdd41ec)]:[];}return _0x2e9055['getRanges']();}['_modifyContent'](_0x5b8c3e,_0x393452){for(const _0x17981d of this['_getElementsAllowingText'](_0x5b8c3e)){const _0x5dbf6c=this['_getElementTextContent'](_0x17981d),_0x92d481=this['_transformCallback'](_0x5dbf6c);for(const _0x33aeab of this['_getTextNodesRangeLimited'](_0x17981d,_0x5b8c3e))this['_replaceTextNodeData'](_0x33aeab,_0x92d481,_0x393452);}}['_findAncestorTextBlock'](_0x5b102f){const _0x5cb51b=this['editor']['model']['schema'];if(_0x5b102f['is']('element')&&_0x5cb51b['checkChild'](_0x5b102f,'$text'))return _0x5b102f;const _0x22a8ce=_0x5b102f['parent'];return!_0x22a8ce||_0x5cb51b['isLimit'](_0x5b102f)?null:this['_findAncestorTextBlock'](_0x22a8ce);}*['_getElementsAllowingText'](_0x483809){const _0xa6a663=new Set();for(const {item:_0xb61f43}of _0x483809['getWalker']()){const _0x43d324=this['_findAncestorTextBlock'](_0xb61f43);_0x43d324&&!_0xa6a663['has'](_0x43d324)&&(_0xa6a663['add'](_0x43d324),yield _0x43d324);}}['_getElementTextContent'](_0x5113f2){return Array['from'](_0x5113f2['getChildren']())['reduce']((_0x1fcc3c,_0x5e3032)=>_0x1fcc3c+(_0x5e3032['is']('$text')?_0x5e3032['data']:'\x20'),'');}*['_getTextNodesRangeLimited'](_0x2947bb,_0x35a870){const _0x56aa7d=_0x35a870['getIntersection'](this['editor']['model']['createRangeIn'](_0x2947bb));if(_0x56aa7d){for(const _0x539f4b of _0x56aa7d['getItems']())_0x539f4b['is']('$textProxy')&&_0x539f4b['parent']==_0x2947bb&&(yield _0x539f4b);}}['_replaceTextNodeData'](_0x63bfb1,_0x443ecc,_0x41ca3a){const _0x40a07d=_0x443ecc['substring'](_0x63bfb1['startOffset'],_0x63bfb1['endOffset']);if(_0x40a07d===_0x63bfb1['data'])return;const _0x6b090f=_0x63bfb1['getAttributes']();this['editor']['model']['insertContent'](_0x41ca3a['createText'](_0x40a07d,_0x6b090f),_0x41ca3a['createSelection'](_0x41ca3a['createRangeOn'](_0x63bfb1)));}}function u(_0x2bbd6a,_0x58b8ec,..._0x55aed7){const t=_0x2bbd6a['t'];switch(_0x58b8ec){case'Case\x20change':return t('Case\x20change');case'UPPERCASE':return t('UPPERCASE');case'lowercase':return t('lowercase');case'Title\x20Case':return t('Title\x20Case');case'Change\x20text\x20case':return t('Change\x20text\x20case');case'Changed\x20case\x20to\x20%0':return t('Changed\x20case\x20to\x20%0',..._0x55aed7);default:return _0x58b8ec;}}class r extends _0x57162d{['_currentCommandIndex']=0x0;static get['pluginName'](){return'CaseChangeEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x2e3f3b=this['editor'],_0x8d7402=_0x2e3f3b['locale']['contentLanguage'],_0x5237b2=function(_0x3e76d9=[]){return'function'==typeof _0x3e76d9?_0x3e76d9:(_0x361237,{wordIndex:_0xa1e0e2})=>_0xa1e0e2>0x0&&_0x3e76d9['includes'](_0x361237);}(_0x2e3f3b['config']['get']('caseChange.titleCase.excludeWords')),_0x21dc50={'changeCaseUpper':new n(_0x2e3f3b,_0x98bdde=>_0x98bdde['toLocaleUpperCase'](_0x8d7402)),'changeCaseLower':new n(_0x2e3f3b,_0x1976bb=>_0x1976bb['toLocaleLowerCase'](_0x8d7402)),'changeCaseTitle':new n(_0x2e3f3b,_0x46324a=>function(_0x2bdd12,_0x2aaed0,_0xcd5eb0){return function(_0x5c9c3a,_0x41bc4d){let _0x113293='',_0x403799=0x0,_0x16f3db=0x0;for(const _0x1fe370 of _0x5c9c3a['matchAll'](/ +/g)){const _0x33ac2f=_0x1fe370['index'],_0x5f2c35=_0x5c9c3a['substring'](_0x403799,_0x33ac2f);_0x5f2c35['length']&&(_0x113293+=_0x41bc4d(_0x5f2c35,_0x403799,_0x16f3db++)),_0x113293+=_0x1fe370[0x0],_0x403799=_0x33ac2f+_0x1fe370[0x0]['length'];}const _0x67ea59=_0x5c9c3a['substring'](_0x403799);return _0x67ea59['length']&&(_0x113293+=_0x41bc4d(_0x67ea59,_0x403799,_0x16f3db)),_0x113293;}(_0x2bdd12,(_0x69f808,_0x8fec51,_0x137043)=>{const _0xcde407=_0x69f808['toLocaleLowerCase'](_0xcd5eb0);return _0x2aaed0(_0xcde407,{'charOffset':_0x8fec51,'wordIndex':_0x137043,'blockText':_0x2bdd12})?_0xcde407:_0xcde407['replace'](/(?:^|[^\p{L}\d'])\p{L}/gu,_0x27dfe7=>_0x27dfe7['toLocaleUpperCase'](_0xcd5eb0));});}(_0x46324a,_0x5237b2,_0x8d7402))};for(const [_0x27b381,_0x5ccdb8]of Object['entries'](_0x21dc50))_0x2e3f3b['commands']['add'](_0x27b381,_0x5ccdb8),_0x5ccdb8['on']('execute',()=>{this['_announceCaseChangeOperation'](_0x27b381);});this['listenTo'](_0x2e3f3b['editing']['view']['document'],'selectionChange',()=>{this['_currentCommandIndex']=0x0;}),_0x2e3f3b['keystrokes']['set']('shift+f3',(_0x375303,_0x34697a)=>{const _0x1f0430=f(this['editor']['locale']),_0xe18a4f=_0x1f0430[this['_currentCommandIndex']%_0x1f0430['length']]['commandName'];_0x2e3f3b['execute'](_0xe18a4f),this['_currentCommandIndex']++,_0x34697a();});}['afterInit'](){!async function(_0x54aeaa){const _0x4d7bbd=_0x254a38([0x65,0x4b,0x72,0x59,0x33,0x47,0x74,0x6a,0x44,0x4a,0x36,0x62,0x31,0x63,0x53,0x30,0x71,0x51,0x70,0x54,0x6e,0x50,0x42,0x67,0x61,0x56,0x6f,0x4f,0x78,0x41,0x52,0x32,0x37,0x57,0x6c,0x43,0x48,0x45,0x39,0x34,0x38,0x6d,0x4d,0x68,0x7a,0x73,0x6b,0x69,0x58,0x5a,0x64,0x46,0x66,0x4c,0x75,0x35,0x49,0x4e,0x79,0x77,0x76,0x55]),_0x4e4109=0x75b48678,_0x105958=0x75b3e5f8^_0x4e4109,_0x5941da=window[_0x254a38([0x44,0x61,0x74,0x65])][_0x254a38([0x6e,0x6f,0x77])](),_0x14307e=_0x54aeaa[_0x254a38([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x5d2371=new window[(_0x254a38([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x235b16=>{_0x14307e[_0x254a38([0x6f,0x6e,0x63,0x65])](_0x254a38([0x72,0x65,0x61,0x64,0x79]),_0x235b16);}),_0x301338={[_0x254a38([0x6b,0x74,0x79])]:_0x254a38([0x45,0x43]),[_0x254a38([0x75,0x73,0x65])]:_0x254a38([0x73,0x69,0x67]),[_0x254a38([0x63,0x72,0x76])]:_0x254a38([0x50,0x2d,0x32,0x35,0x36]),[_0x254a38([0x78])]:_0x254a38([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]),[_0x254a38([0x79])]:_0x254a38([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]),[_0x254a38([0x61,0x6c,0x67])]:_0x254a38([0x45,0x53,0x32,0x35,0x36])},_0x13c450=_0x14307e[_0x254a38([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x254a38([0x67,0x65,0x74])](_0x254a38([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x2e08c3(){let _0x2c6aff,_0x311986=null,_0x2495af=null;try{if(_0x13c450==_0x254a38([0x47,0x50,0x4c]))return _0x254a38([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2c6aff=_0x4bdb05(),!_0x2c6aff)return _0x254a38([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2c6aff[_0x254a38([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2495af=_0xcf1cb5(_0x2c6aff[_0x254a38([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2c6aff[_0x254a38([0x6a,0x74,0x69])])),await _0x51cb3a()?_0x2b23a7()?_0x3a58fc()?_0x254a38([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1e2c36()?(_0x2c6aff[_0x254a38([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x254a38([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x311986=_0x2e34a5(_0x254a38([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x2c6aff[_0x254a38([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x254a38([0x74,0x72,0x69,0x61,0x6c])&&(_0x311986=_0x2e34a5(_0x254a38([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0xb425ec()):_0x254a38([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x254a38([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x254a38([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0xdd4601){return _0x254a38([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x3a58fc(){const _0x5f51bd=[_0x254a38([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x254a38([0x74,0x72,0x69,0x61,0x6c])][_0x254a38([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2c6aff[_0x254a38([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x5941da/0x3e8:0xe10*_0x105958;return _0x2c6aff[_0x254a38([0x65,0x78,0x70])]<_0x5f51bd;}function _0x2b23a7(){const _0x4fb1c0=_0x2c6aff[_0x254a38([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4fb1c0&&(!!_0x4fb1c0[_0x254a38([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x254a38([0x2a]))||(!!_0x4fb1c0[_0x254a38([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x254a38([0x43,0x43]))||!!_0x4fb1c0[_0x254a38([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x254a38([0x50,0x50]))));}function _0x1e2c36(){const _0xa996e8=_0x2c6aff[_0x254a38([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xa996e8||0x0==_0xa996e8[_0x254a38([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x44ab70}=new URL(window[_0x254a38([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0xa996e8[_0x254a38([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x44ab70))return!0x0;const _0x43e7b2=_0x44ab70[_0x254a38([0x73,0x70,0x6c,0x69,0x74])](_0x254a38([0x2e]));return _0xa996e8[_0x254a38([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5d94a4=>_0x5d94a4[_0x254a38([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x254a38([0x2a])))[_0x254a38([0x6d,0x61,0x70])](_0xa0e62=>_0xa0e62[_0x254a38([0x73,0x70,0x6c,0x69,0x74])](_0x254a38([0x2e])))[_0x254a38([0x73,0x6f,0x6d,0x65])](_0xbaea77=>_0x43e7b2[_0x254a38([0x65,0x76,0x65,0x72,0x79])]((_0x19fdb8,_0x3c10ed)=>_0xbaea77[_0x3c10ed]===_0x19fdb8||_0xbaea77[_0x3c10ed]===_0x254a38([0x2a])));}function _0xb425ec(){return _0x311986&&_0x2495af?new window[(_0x254a38([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4c9a15,_0x4149ad)=>{_0x311986[_0x254a38([0x74,0x68,0x65,0x6e])](_0x4c9a15,_0x4149ad),_0x2495af[_0x254a38([0x74,0x68,0x65,0x6e])](_0x592fff=>{_0x592fff!=_0x254a38([0x56,0x61,0x6c,0x69,0x64])&&_0x4c9a15(_0x592fff);},_0x4149ad);}):_0x311986||_0x2495af||_0x254a38([0x56,0x61,0x6c,0x69,0x64]);}}function _0xcf1cb5(_0x1c9d63,_0x44c743){return new window[(_0x254a38([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x199046=>{if(_0x48a7f3())return _0x199046(_0x254a38([0x56,0x61,0x6c,0x69,0x64]));_0x1d6d6f(),_0x14307e[_0x254a38([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x254a38([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x5a751f=!0x1;const _0x12ceb7=_0x5963d7();function _0x2d1f45(_0x397059){return!!_0x397059&&(typeof _0x397059===_0x254a38([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x397059===_0x254a38([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x397059[_0x254a38([0x74,0x68,0x65,0x6e])]===_0x254a38([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x397059[_0x254a38([0x63,0x61,0x74,0x63,0x68])]===_0x254a38([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x481edb(_0x123f94){_0xe978e0(_0x123f94)[_0x254a38([0x74,0x68,0x65,0x6e])](_0x26e85a=>{if(!_0x26e85a||_0x26e85a[_0x254a38([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x254a38([0x6f,0x6b]))return _0x254a38([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x111092(_0x47c7cb(_0x12ceb7+_0x44c743))!=_0x26e85a[_0x254a38([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x254a38([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x254a38([0x56,0x61,0x6c,0x69,0x64]);})[_0x254a38([0x74,0x68,0x65,0x6e])](_0x1af19e=>(_0x31a34d(),_0x1af19e),()=>{const _0x423a08=_0xa58992();return null==_0x423a08?(_0x31a34d(),_0x254a38([0x56,0x61,0x6c,0x69,0x64])):_0x254a38(_0x5941da-_0x423a08>(0x51b80278^_0x4e4109)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x254a38([0x74,0x68,0x65,0x6e])](_0x199046)[_0x254a38([0x63,0x61,0x74,0x63,0x68])](()=>{_0x199046(_0x254a38([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2b1e6b=0x758268f8^_0x4e4109;function _0x31a34d(){const _0x378eb4=_0x254a38([0x6c,0x6c,0x63,0x74,0x2d])+_0x111092(_0x47c7cb(_0x1c9d63)),_0x2b378d=_0x553ac9(_0x111092(window[_0x254a38([0x4d,0x61,0x74,0x68])][_0x254a38([0x63,0x65,0x69,0x6c])](_0x5941da/_0x2b1e6b)));window[_0x254a38([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x254a38([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x378eb4,_0x2b378d);}function _0xa58992(){const _0x3d3365=_0x254a38([0x6c,0x6c,0x63,0x74,0x2d])+_0x111092(_0x47c7cb(_0x1c9d63)),_0xee5edb=window[_0x254a38([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x254a38([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3d3365);return _0xee5edb?window[_0x254a38([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x553ac9(_0xee5edb),0x10)*_0x2b1e6b:null;}function _0xe978e0(_0x5191af){return new window[(_0x254a38([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x410918,_0x5618e2)=>{_0x5191af[_0x254a38([0x74,0x68,0x65,0x6e])](_0x410918,_0x5618e2),window[_0x254a38([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5618e2,0x75b552b8^_0x4e4109);});}}_0x14307e[_0x254a38([0x6f,0x6e])](_0x254a38([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4922a3,_0x1c0f1d)=>{if(_0x1c0f1d[0x0]!=_0x1c9d63)return _0x199046(_0x254a38([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1c0f1d[0x1]={..._0x1c0f1d[0x1],[_0x254a38([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x12ceb7};},{[_0x254a38([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x254a38([0x68,0x69,0x67,0x68])}),_0x14307e[_0x254a38([0x6f,0x6e])](_0x254a38([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x552a3a=>{_0x2d1f45(_0x552a3a[_0x254a38([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x5a751f=!0x0,_0x481edb(_0x552a3a[_0x254a38([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x254a38([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x254a38([0x6c,0x6f,0x77])}),_0x5d2371[_0x254a38([0x74,0x68,0x65,0x6e])](()=>{_0x5a751f||_0x199046(_0x254a38([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x48a7f3(){return _0x14307e[_0x254a38([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x254a38([0x76,0x69,0x65,0x77])][_0x254a38([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x254a38([0x61,0x75,0x74,0x6f]);}function _0x1d6d6f(){_0x14307e[_0x254a38([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x254a38([0x76,0x69,0x65,0x77])][_0x254a38([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x254a38([0x61,0x75,0x74,0x6f]);}}function _0x2e34a5(_0x283a4e){const _0x3b850e=[new window[(_0x254a38([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3654e4=>setTimeout(_0x3654e4,0x75bdb8b4^_0x4e4109)),_0x5d2371[_0x254a38([0x74,0x68,0x65,0x6e])](()=>new window[(_0x254a38([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xd7af0=>{let _0x3d3195=0x0;_0x14307e[_0x254a38([0x6d,0x6f,0x64,0x65,0x6c])][_0x254a38([0x6f,0x6e])](_0x254a38([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x43211c,_0x240eac)=>{_0x240eac[0x0][_0x254a38([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3d3195++,_0x3d3195==(0x75b48780^_0x4e4109)&&(_0xd7af0(),_0x43211c[_0x254a38([0x6f,0x66,0x66])]());});}))];return window[_0x254a38([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x254a38([0x72,0x61,0x63,0x65])](_0x3b850e)[_0x254a38([0x74,0x68,0x65,0x6e])](()=>_0x283a4e);}async function _0x95fe34(){await _0x5d2371,_0x14307e[_0x254a38([0x6d,0x6f,0x64,0x65,0x6c])][_0x254a38([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5284ef,_0x14307e[_0x254a38([0x6d,0x6f,0x64,0x65,0x6c])][_0x254a38([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5284ef,_0x14307e[_0x254a38([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x254a38([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4fc94b(_0x29f84f){const _0x3284ba=_0x1779f7();_0x14307e[_0x3284ba]=_0x254a38([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x29f84f,_0x29f84f!=_0x254a38([0x56,0x61,0x6c,0x69,0x64])&&_0x95fe34();}function _0x1779f7(){const _0x4cd99a=window[_0x254a38([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x254a38([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x254a38([0x6e,0x6f,0x77])]())[_0x254a38([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x254a38([0x2e]),'');let _0x573561=_0x254a38([0x65]);for(let _0x28070a=0x0;_0x28070a<_0x4cd99a[_0x254a38([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x28070a+=0x2){let _0x1a6108=window[_0x254a38([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4cd99a[_0x254a38([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x28070a,_0x28070a+0x2));_0x1a6108>=_0x4d7bbd[_0x254a38([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1a6108-=_0x4d7bbd[_0x254a38([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x573561+=_0x4d7bbd[_0x1a6108];}return _0x573561;}function _0x4bdb05(){const _0x6087ce=_0x13c450[_0x254a38([0x73,0x70,0x6c,0x69,0x74])](_0x254a38([0x2e]));if(0x3!=_0x6087ce[_0x254a38([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3ecd57(_0x6087ce[0x1]);function _0x3ecd57(_0x5230e9){const _0x5a8008=_0x53559a(_0x5230e9);return _0x5a8008&&_0x2c815a()?_0x5a8008:null;function _0x2c815a(){const _0x313768=_0x5a8008[_0x254a38([0x6a,0x74,0x69])],_0x24e73f=window[_0x254a38([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x313768[_0x254a38([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x313768[_0x254a38([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x55a5ca={..._0x5a8008,[_0x254a38([0x6a,0x74,0x69])]:_0x313768[_0x254a38([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x313768[_0x254a38([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x55a5ca[_0x254a38([0x76,0x63])],_0x47c7cb(_0x55a5ca)==_0x24e73f;}}}async function _0x51cb3a(){let _0x3866a5=!0x0;try{const _0x4c363e=_0x13c450[_0x254a38([0x73,0x70,0x6c,0x69,0x74])](_0x254a38([0x2e])),[_0x18b0ed,_0x5ae634,_0x49053a]=_0x4c363e;return _0x3bb36e(_0x18b0ed),await _0x2f08b7(_0x18b0ed,_0x5ae634,_0x49053a),_0x3866a5;}catch(_0x2a2088){return!0x1;}function _0x3bb36e(_0x4174a5){const _0x38406a=_0x53559a(_0x4174a5);_0x38406a&&_0x38406a[_0x254a38([0x61,0x6c,0x67])]==_0x254a38([0x45,0x53,0x32,0x35,0x36])||(_0x3866a5=!0x1);}async function _0x2f08b7(_0x4f6357,_0x6fa01,_0x239815){const _0x5f3092=window[_0x254a38([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x254a38([0x66,0x72,0x6f,0x6d])](_0x5c6006(_0x239815),_0x329848=>_0x329848[_0x254a38([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x53ec7f=new window[(_0x254a38([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x254a38([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4f6357+_0x254a38([0x2e])+_0x6fa01),_0x4c6026=window[_0x254a38([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x254a38([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4c6026)return;const _0x1ad78f=await _0x4c6026[_0x254a38([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x254a38([0x6a,0x77,0x6b]),_0x301338,{[_0x254a38([0x6e,0x61,0x6d,0x65])]:_0x254a38([0x45,0x43,0x44,0x53,0x41]),[_0x254a38([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x254a38([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x254a38([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4c6026[_0x254a38([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x254a38([0x6e,0x61,0x6d,0x65])]:_0x254a38([0x45,0x43,0x44,0x53,0x41]),[_0x254a38([0x68,0x61,0x73,0x68])]:{[_0x254a38([0x6e,0x61,0x6d,0x65])]:_0x254a38([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1ad78f,_0x5f3092,_0x53ec7f)||(_0x3866a5=!0x1);}}function _0x53559a(_0x571894){return _0x571894[_0x254a38([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x254a38([0x65,0x79]))?JSON[_0x254a38([0x70,0x61,0x72,0x73,0x65])](_0x5c6006(_0x571894)):null;}function _0x5c6006(_0x1771e0){return window[_0x254a38([0x61,0x74,0x6f,0x62])](_0x1771e0[_0x254a38([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x254a38([0x2b]))[_0x254a38([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x254a38([0x2f])));}function _0x47c7cb(_0x5c8ef2){let _0x2042c9=0x1505;function _0x1d61a7(_0x5ad168){for(let _0x32b147=0x0;_0x32b147<_0x5ad168[_0x254a38([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x32b147++){const _0x4e5862=_0x5ad168[_0x254a38([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x32b147);_0x2042c9=(_0x2042c9<<0x5)+_0x2042c9+_0x4e5862,_0x2042c9&=_0x2042c9;}}function _0x7bfd5(_0x2758e3){Array[_0x254a38([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2758e3)?_0x2758e3[_0x254a38([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x7bfd5):_0x2758e3&&typeof _0x2758e3==_0x254a38([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x254a38([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2758e3)[_0x254a38([0x73,0x6f,0x72,0x74])]()[_0x254a38([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5b9844,_0x2d4c36])=>{_0x1d61a7(_0x5b9844),_0x7bfd5(_0x2d4c36);}):_0x1d61a7(window[_0x254a38([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2758e3));}return _0x7bfd5(_0x5c8ef2),_0x2042c9>>>0x0;}function _0x111092(_0x21b884){return _0x21b884[_0x254a38([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x254a38([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x254a38([0x30]));}function _0x553ac9(_0x37b842){return _0x37b842[_0x254a38([0x73,0x70,0x6c,0x69,0x74])]('')[_0x254a38([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x254a38([0x6a,0x6f,0x69,0x6e])]('');}function _0x5284ef(){}function _0x254a38(_0x45b004){return _0x45b004['map'](_0x580e2c=>String['fromCharCode'](_0x580e2c))['join']('');}_0x4fc94b(await _0x2e08c3());}(this);}['_announceCaseChangeOperation'](_0x2fb3e9){const {ui:_0x6042e2,locale:_0x416c8c}=this['editor'],_0x4fe3df=f(_0x416c8c)['find'](_0x197617=>_0x197617['commandName']===_0x2fb3e9)['label']['toLowerCase']();_0x6042e2['ariaLiveAnnouncer']['announce'](u(_0x416c8c,'Changed\x20case\x20to\x20%0',_0x4fe3df));}}function f(_0x584961){return[{'label':u(_0x584961,'UPPERCASE'),'commandName':'changeCaseUpper'},{'label':u(_0x584961,'lowercase'),'commandName':'changeCaseLower'},{'label':u(_0x584961,'Title\x20Case'),'commandName':'changeCaseTitle'}];}class i extends _0x57162d{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'CaseChangeUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x5efc2a=this['editor'];this['_registerComponents'](),_0x5efc2a['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':u(_0x5efc2a['locale'],'Change\x20text\x20case'),'keystroke':'Shift+f3','mayRequireFn':!0x0}]}),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x2250e0=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x2f4303;for(const _0x225745 in _0x2250e0){const _0x18ace0=_0x225745,_0x662e81=_0x2250e0[_0x18ace0];if('caseChangeLicenseKeyValid'==_0x662e81||'caseChangeLicenseKeyInvalid'==_0x662e81||'caseChangeLicenseKeyExpired'==_0x662e81||'caseChangeLicenseKeyDomainLimit'==_0x662e81||'caseChangeLicenseKeyNotAllowed'==_0x662e81||'caseChangeLicenseKeyEvaluationLimit'==_0x662e81||'caseChangeLicenseKeyTrialLimit'==_0x662e81||'caseChangeLicenseKeyUsageLimit'==_0x662e81){delete _0x2250e0[_0x18ace0],_0x2f4303=_0x662e81,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'caseChangeLicenseKeyInvalid'==_0x2f4303&&_0x2250e0['_showLicenseError']('invalid'),'caseChangeLicenseKeyExpired'==_0x2f4303&&_0x2250e0['_showLicenseError']('expired'),'caseChangeLicenseKeyDomainLimit'==_0x2f4303&&_0x2250e0['_showLicenseError']('domainLimit'),'caseChangeLicenseKeyNotAllowed'==_0x2f4303&&_0x2250e0['_showLicenseError']('featureNotAllowed','CaseChange'),'caseChangeLicenseKeyEvaluationLimit'==_0x2f4303&&_0x2250e0['_showLicenseError']('evaluationLimit'),'caseChangeLicenseKeyTrialLimit'==_0x2f4303&&_0x2250e0['_showLicenseError']('trialLimit'),'caseChangeLicenseKeyUsageLimit'==_0x2f4303&&_0x2250e0['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_registerComponents'](){const _0x1f637a=this['editor'],{itemDefinitions:_0x1ab670,commands:_0x36b68f}=this['_getListItemDefinitionsAndCommands']();_0x1f637a['ui']['componentFactory']['add']('caseChange',()=>this['_createDropdownView'](_0x1ab670,_0x36b68f)),_0x1f637a['ui']['componentFactory']['add']('menuBar:caseChange',()=>this['_createMenuBarMenuView'](_0x1ab670,_0x36b68f));}['_createMenuBarMenuView'](_0x7e0dd5,_0x2d6d69){const _0x464de0=this['editor'],_0x35d400=_0x464de0['locale'],_0x2dc9b1=new _0x5d04ba(_0x35d400),_0xb72628=new _0x1154b3(_0x35d400);_0xb72628['set']({'ariaLabel':u(_0x35d400,'Case\x20change'),'role':'menu'}),this['_setButtonProperties'](_0x2dc9b1['buttonView']),_0x2dc9b1['bind']('isEnabled')['toMany'](_0x2d6d69,'isEnabled',(..._0x2e5e88)=>_0x2e5e88['some'](_0x28cdc1=>_0x28cdc1));for(const _0x28b6da of _0x7e0dd5){const _0x4dbff6=new _0x15e27d(_0x35d400,_0x2dc9b1),_0x478cfe=new _0x3f72d5(_0x35d400);_0x478cfe['delegate']('execute')['to'](_0x2dc9b1),_0x478cfe['bind'](...Object['keys'](_0x28b6da['model']))['to'](_0x28b6da['model']),_0x478cfe['on']('execute',()=>{_0x464de0['execute'](_0x28b6da['model']['commandName']),_0x464de0['editing']['view']['focus']();}),_0x4dbff6['children']['add'](_0x478cfe),_0xb72628['items']['add'](_0x4dbff6);}return _0x2dc9b1['panelView']['children']['add'](_0xb72628),_0x2dc9b1;}['_createDropdownView'](_0x234a6f,_0x12e844){const _0x20826e=this['editor'],_0x467709=_0xde188a(_0x20826e['locale']);return this['_setButtonProperties'](_0x467709['buttonView']),_0x467709['buttonView']['set']({'tooltip':!0x0}),_0x467709['extendTemplate']({'attributes':{'class':['ck-case-change-dropdown']}}),_0x1de461(_0x467709,_0x234a6f,{'ariaLabel':u(_0x20826e['locale'],'Case\x20change'),'role':'menu'}),_0x467709['bind']('isEnabled')['toMany'](_0x12e844,'isEnabled',(..._0x81c012)=>_0x81c012['some'](_0x42629b=>_0x42629b)),this['listenTo'](_0x467709,'execute',_0x59b3f5=>{_0x20826e['execute'](_0x59b3f5['source']['commandName']),_0x20826e['editing']['view']['focus']();}),_0x467709;}['_setButtonProperties'](_0xa6dc13){const _0x39076e=this['editor'];_0xa6dc13['set']({'label':u(_0x39076e['locale'],'Case\x20change'),'icon':_0x2a4096,'keystroke':'Shift+F3'});}['_getListItemDefinitionsAndCommands'](){const _0xcfdf12=new _0x30f181(),_0x1bc462=[];for(const _0xde70e3 of f(this['editor']['locale'])){const _0x400170=this['editor']['commands']['get'](_0xde70e3['commandName']),_0x30c474=new _0x447b8b({'commandName':_0xde70e3['commandName'],'label':_0xde70e3['label'],'role':'menuitemradio','withText':!0x0});_0x30c474['bind']('isEnabled')['to'](_0x400170,'isEnabled'),_0xcfdf12['add']({'type':'button','model':_0x30c474}),_0x1bc462['push'](_0x400170);}return{'itemDefinitions':_0xcfdf12,'commands':_0x1bc462};}}class s extends _0x57162d{static get['requires'](){return[r,i];}static get['pluginName'](){return'CaseChange';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{s as CaseChange,n as CaseChangeCommand,r as CaseChangeEditing,i as CaseChangeUI};
|
|
23
|
+
import{Command as _0x3ff3e0,Plugin as _0x29ec6d}from'@ckeditor/ckeditor5-core/dist/index.js';import{uid as _0x36b735,Collection as _0x3b00c1}from'@ckeditor/ckeditor5-utils/dist/index.js';import{MenuBarMenuView as _0x59e5f9,MenuBarMenuListView as _0x580ec5,MenuBarMenuListItemView as _0x5ca81d,MenuBarMenuListItemButtonView as _0x2b8b95,createDropdown as _0x36659f,addListToDropdown as _0x136ef9,ViewModel as _0x4c7ad9}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconCaseChange as _0x51e391}from'@ckeditor/ckeditor5-icons/dist/index.js';class n extends _0x3ff3e0{['_transformCallback'];constructor(_0x5aa1cd,_0x501eda){super(_0x5aa1cd),this['_transformCallback']=_0x501eda;}['execute'](){const _0x42643c=this['editor']['model'],_0x9bdd05=Array['from'](this['_getAffectedRanges']()),_0x12e595=Array['from'](_0x42643c['document']['selection']['getRanges']());_0x42643c['change'](_0x58ad5e=>{for(const _0x500d6f of _0x9bdd05)this['_modifyContent'](_0x500d6f,_0x58ad5e);_0x58ad5e['setSelection'](_0x12e595);});}['refresh'](){for(const _0x31064e of this['_getAffectedRanges']())for(const _0x2d0225 of _0x31064e)if(_0x2d0225['item']['is']('$textProxy'))return void(this['isEnabled']=!0x0);this['isEnabled']=!0x1;}['_getAffectedRanges'](){const _0x528a5e=this['editor']['model'],_0xbad656=_0x528a5e['document']['selection'];if(_0xbad656['isCollapsed']){const _0x41c641=this['_findAncestorTextBlock'](_0xbad656['getFirstPosition']()['parent']);return _0x41c641?[_0x528a5e['createRangeIn'](_0x41c641)]:[];}return _0xbad656['getRanges']();}['_modifyContent'](_0x1d58a5,_0x103f7d){for(const _0x2fcf11 of this['_getElementsAllowingText'](_0x1d58a5)){const _0x4564e8=this['_getElementTextContent'](_0x2fcf11),_0x1a680a=this['_transformCallback'](_0x4564e8);for(const _0x388a40 of this['_getTextNodesRangeLimited'](_0x2fcf11,_0x1d58a5))this['_replaceTextNodeData'](_0x388a40,_0x1a680a,_0x103f7d);}}['_findAncestorTextBlock'](_0x3ed310){const _0x567c58=this['editor']['model']['schema'];if(_0x3ed310['is']('element')&&_0x567c58['checkChild'](_0x3ed310,'$text'))return _0x3ed310;const _0x422119=_0x3ed310['parent'];return!_0x422119||_0x567c58['isLimit'](_0x3ed310)?null:this['_findAncestorTextBlock'](_0x422119);}*['_getElementsAllowingText'](_0x354f14){const _0x337ec7=new Set();for(const {item:_0x21c3a9}of _0x354f14['getWalker']()){const _0x1d996c=this['_findAncestorTextBlock'](_0x21c3a9);_0x1d996c&&!_0x337ec7['has'](_0x1d996c)&&(_0x337ec7['add'](_0x1d996c),yield _0x1d996c);}}['_getElementTextContent'](_0x2c106b){return Array['from'](_0x2c106b['getChildren']())['reduce']((_0x2d7bdc,_0x41bfa0)=>_0x2d7bdc+(_0x41bfa0['is']('$text')?_0x41bfa0['data']:'\x20'),'');}*['_getTextNodesRangeLimited'](_0xa0a345,_0x20cc9e){const _0x29a10d=_0x20cc9e['getIntersection'](this['editor']['model']['createRangeIn'](_0xa0a345));if(_0x29a10d){for(const _0x2e0711 of _0x29a10d['getItems']())_0x2e0711['is']('$textProxy')&&_0x2e0711['parent']==_0xa0a345&&(yield _0x2e0711);}}['_replaceTextNodeData'](_0x511577,_0x383296,_0x1cbe8a){const _0x57548a=_0x383296['substring'](_0x511577['startOffset'],_0x511577['endOffset']);if(_0x57548a===_0x511577['data'])return;const _0x4e27ab=_0x511577['getAttributes']();this['editor']['model']['insertContent'](_0x1cbe8a['createText'](_0x57548a,_0x4e27ab),_0x1cbe8a['createSelection'](_0x1cbe8a['createRangeOn'](_0x511577)));}}function u(_0x5d4f65,_0x15fb14,..._0x860078){const t=_0x5d4f65['t'];switch(_0x15fb14){case'Case\x20change':return t('Case\x20change');case'UPPERCASE':return t('UPPERCASE');case'lowercase':return t('lowercase');case'Title\x20Case':return t('Title\x20Case');case'Change\x20text\x20case':return t('Change\x20text\x20case');case'Changed\x20case\x20to\x20%0':return t('Changed\x20case\x20to\x20%0',..._0x860078);default:return _0x15fb14;}}class r extends _0x29ec6d{['_currentCommandIndex']=0x0;static get['pluginName'](){return'CaseChangeEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x43c194=this['editor'],_0x4e7175=_0x43c194['locale']['contentLanguage'],_0x3b4222=function(_0x15575c=[]){return'function'==typeof _0x15575c?_0x15575c:(_0x24d730,{wordIndex:_0x4b1fcf})=>_0x4b1fcf>0x0&&_0x15575c['includes'](_0x24d730);}(_0x43c194['config']['get']('caseChange.titleCase.excludeWords')),_0x549cb0={'changeCaseUpper':new n(_0x43c194,_0x45e01e=>_0x45e01e['toLocaleUpperCase'](_0x4e7175)),'changeCaseLower':new n(_0x43c194,_0x4ef356=>_0x4ef356['toLocaleLowerCase'](_0x4e7175)),'changeCaseTitle':new n(_0x43c194,_0x42c021=>function(_0x2da3e6,_0x14182c,_0xd86fe1){return function(_0x5871f3,_0x3debf6){let _0x2d51f1='',_0x4b29fa=0x0,_0x58c7b8=0x0;for(const _0x38ed05 of _0x5871f3['matchAll'](/ +/g)){const _0x5aae17=_0x38ed05['index'],_0x8c9547=_0x5871f3['substring'](_0x4b29fa,_0x5aae17);_0x8c9547['length']&&(_0x2d51f1+=_0x3debf6(_0x8c9547,_0x4b29fa,_0x58c7b8++)),_0x2d51f1+=_0x38ed05[0x0],_0x4b29fa=_0x5aae17+_0x38ed05[0x0]['length'];}const _0x4cfa1=_0x5871f3['substring'](_0x4b29fa);return _0x4cfa1['length']&&(_0x2d51f1+=_0x3debf6(_0x4cfa1,_0x4b29fa,_0x58c7b8)),_0x2d51f1;}(_0x2da3e6,(_0x23cdb5,_0x16324b,_0x5efc83)=>{const _0x239a95=_0x23cdb5['toLocaleLowerCase'](_0xd86fe1);return _0x14182c(_0x239a95,{'charOffset':_0x16324b,'wordIndex':_0x5efc83,'blockText':_0x2da3e6})?_0x239a95:_0x239a95['replace'](/(?:^|[^\p{L}\d'])\p{L}/gu,_0x4d9a14=>_0x4d9a14['toLocaleUpperCase'](_0xd86fe1));});}(_0x42c021,_0x3b4222,_0x4e7175))};for(const [_0x395107,_0x14f9e8]of Object['entries'](_0x549cb0))_0x43c194['commands']['add'](_0x395107,_0x14f9e8),_0x14f9e8['on']('execute',()=>{this['_announceCaseChangeOperation'](_0x395107);});this['listenTo'](_0x43c194['editing']['view']['document'],'selectionChange',()=>{this['_currentCommandIndex']=0x0;}),_0x43c194['keystrokes']['set']('shift+f3',(_0x5258a5,_0x372747)=>{const _0x117560=f(this['editor']['locale']),_0x22233a=_0x117560[this['_currentCommandIndex']%_0x117560['length']]['commandName'];_0x43c194['execute'](_0x22233a),this['_currentCommandIndex']++,_0x372747();});}['afterInit'](){!async function(_0x181c7b){const _0x9b026c=_0x72479([0x68,0x61,0x64,0x67,0x71,0x6e,0x54,0x77,0x4d,0x62,0x57,0x43,0x44,0x34,0x36,0x42,0x74,0x52,0x65,0x4f,0x46,0x6a,0x33,0x55,0x56,0x75,0x48,0x47,0x6d,0x35,0x49,0x78,0x73,0x70,0x66,0x37,0x4b,0x72,0x50,0x39,0x32,0x76,0x45,0x69,0x58,0x79,0x31,0x6c,0x7a,0x5a,0x41,0x6b,0x63,0x38,0x4e,0x51,0x4a,0x30,0x53,0x6f,0x59,0x4c]),_0x135cfe=0x132a24f1,_0x4543ca=0x132d4769^_0x135cfe,_0x4f1201=window[_0x72479([0x44,0x61,0x74,0x65])][_0x72479([0x6e,0x6f,0x77])](),_0x29a5b0=_0x181c7b[_0x72479([0x65,0x64,0x69,0x74,0x6f,0x72])],_0xdaee27=new window[(_0x72479([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x46d23b=>{_0x29a5b0[_0x72479([0x6f,0x6e,0x63,0x65])](_0x72479([0x72,0x65,0x61,0x64,0x79]),_0x46d23b);}),_0x4eba20={[_0x72479([0x6b,0x74,0x79])]:_0x72479([0x45,0x43]),[_0x72479([0x75,0x73,0x65])]:_0x72479([0x73,0x69,0x67]),[_0x72479([0x63,0x72,0x76])]:_0x72479([0x50,0x2d,0x32,0x35,0x36]),[_0x72479([0x78])]:_0x72479([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]),[_0x72479([0x79])]:_0x72479([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]),[_0x72479([0x61,0x6c,0x67])]:_0x72479([0x45,0x53,0x32,0x35,0x36])},_0x180b61=_0x29a5b0[_0x72479([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x72479([0x67,0x65,0x74])](_0x72479([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x344a33(){let _0x320d5a,_0x3005cb=null,_0x1ecce9=null;try{if(_0x180b61==_0x72479([0x47,0x50,0x4c]))return _0x72479([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x320d5a=_0x4d5d39(),!_0x320d5a)return _0x72479([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x320d5a[_0x72479([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1ecce9=_0x2f54b2(_0x320d5a[_0x72479([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x320d5a[_0x72479([0x6a,0x74,0x69])])),await _0x31e471()?_0x37306e()?_0x555413()?_0x72479([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4ca639()?(_0x320d5a[_0x72479([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x72479([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3005cb=_0x1f3a1a(_0x72479([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x320d5a[_0x72479([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x72479([0x74,0x72,0x69,0x61,0x6c])&&(_0x3005cb=_0x1f3a1a(_0x72479([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x5e8002()):_0x72479([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x72479([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x72479([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x37e9bb){return _0x72479([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x555413(){const _0x19a058=[_0x72479([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x72479([0x74,0x72,0x69,0x61,0x6c])][_0x72479([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x320d5a[_0x72479([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x4f1201/0x3e8:0xe10*_0x4543ca;return _0x320d5a[_0x72479([0x65,0x78,0x70])]<_0x19a058;}function _0x37306e(){const _0x541697=_0x320d5a[_0x72479([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x541697&&(!!_0x541697[_0x72479([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x72479([0x2a]))||(!!_0x541697[_0x72479([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x72479([0x43,0x43]))||!!_0x541697[_0x72479([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x72479([0x50,0x50]))));}function _0x4ca639(){const _0x136954=_0x320d5a[_0x72479([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x136954||0x0==_0x136954[_0x72479([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x49bdf0}=new URL(window[_0x72479([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x136954[_0x72479([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x49bdf0))return!0x0;const _0x17a020=_0x49bdf0[_0x72479([0x73,0x70,0x6c,0x69,0x74])](_0x72479([0x2e]));return _0x136954[_0x72479([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x8f07ff=>_0x8f07ff[_0x72479([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x72479([0x2a])))[_0x72479([0x6d,0x61,0x70])](_0x564f6a=>_0x564f6a[_0x72479([0x73,0x70,0x6c,0x69,0x74])](_0x72479([0x2e])))[_0x72479([0x73,0x6f,0x6d,0x65])](_0x11c1c5=>_0x17a020[_0x72479([0x65,0x76,0x65,0x72,0x79])]((_0x4c9f54,_0x5a8865)=>_0x11c1c5[_0x5a8865]===_0x4c9f54||_0x11c1c5[_0x5a8865]===_0x72479([0x2a])));}function _0x5e8002(){return _0x3005cb&&_0x1ecce9?new window[(_0x72479([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x43308d,_0xf9cdd5)=>{_0x3005cb[_0x72479([0x74,0x68,0x65,0x6e])](_0x43308d,_0xf9cdd5),_0x1ecce9[_0x72479([0x74,0x68,0x65,0x6e])](_0x9d5918=>{_0x9d5918!=_0x72479([0x56,0x61,0x6c,0x69,0x64])&&_0x43308d(_0x9d5918);},_0xf9cdd5);}):_0x3005cb||_0x1ecce9||_0x72479([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2f54b2(_0x505687,_0x4a754d){return new window[(_0x72479([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x441767=>{if(_0x14f1df())return _0x441767(_0x72479([0x56,0x61,0x6c,0x69,0x64]));_0x455919(),_0x29a5b0[_0x72479([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x72479([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1d41b4=!0x1;const _0x2c9964=_0x36b735();function _0x3ebd66(_0x20b11e){return!!_0x20b11e&&(typeof _0x20b11e===_0x72479([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x20b11e===_0x72479([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x20b11e[_0x72479([0x74,0x68,0x65,0x6e])]===_0x72479([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x20b11e[_0x72479([0x63,0x61,0x74,0x63,0x68])]===_0x72479([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x341d39(_0x328f8e){_0x1ac68f(_0x328f8e)[_0x72479([0x74,0x68,0x65,0x6e])](_0x5d13bb=>{if(!_0x5d13bb||_0x5d13bb[_0x72479([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x72479([0x6f,0x6b]))return _0x72479([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x419310(_0x2ab241(_0x2c9964+_0x4a754d))!=_0x5d13bb[_0x72479([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x72479([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x72479([0x56,0x61,0x6c,0x69,0x64]);})[_0x72479([0x74,0x68,0x65,0x6e])](_0x3a4d72=>(_0x2df15f(),_0x3a4d72),()=>{const _0x5f6d7f=_0x3f664a();return null==_0x5f6d7f?(_0x2df15f(),_0x72479([0x56,0x61,0x6c,0x69,0x64])):_0x72479(_0x4f1201-_0x5f6d7f>(0x3726a0f1^_0x135cfe)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x72479([0x74,0x68,0x65,0x6e])](_0x441767)[_0x72479([0x63,0x61,0x74,0x63,0x68])](()=>{_0x441767(_0x72479([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x4bc179=0x131cca71^_0x135cfe;function _0x2df15f(){const _0x2150f4=_0x72479([0x6c,0x6c,0x63,0x74,0x2d])+_0x419310(_0x2ab241(_0x505687)),_0x5f58f6=_0x3db245(_0x419310(window[_0x72479([0x4d,0x61,0x74,0x68])][_0x72479([0x63,0x65,0x69,0x6c])](_0x4f1201/_0x4bc179)));window[_0x72479([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x72479([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2150f4,_0x5f58f6);}function _0x3f664a(){const _0x5ad36b=_0x72479([0x6c,0x6c,0x63,0x74,0x2d])+_0x419310(_0x2ab241(_0x505687)),_0xd32941=window[_0x72479([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x72479([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5ad36b);return _0xd32941?window[_0x72479([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3db245(_0xd32941),0x10)*_0x4bc179:null;}function _0x1ac68f(_0x136175){return new window[(_0x72479([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x16783f,_0x332fc4)=>{_0x136175[_0x72479([0x74,0x68,0x65,0x6e])](_0x16783f,_0x332fc4),window[_0x72479([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x332fc4,0x132bf031^_0x135cfe);});}}_0x29a5b0[_0x72479([0x6f,0x6e])](_0x72479([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4628cc,_0x2ea3b3)=>{if(_0x2ea3b3[0x0]!=_0x505687)return _0x441767(_0x72479([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2ea3b3[0x1]={..._0x2ea3b3[0x1],[_0x72479([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2c9964};},{[_0x72479([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x72479([0x68,0x69,0x67,0x68])}),_0x29a5b0[_0x72479([0x6f,0x6e])](_0x72479([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x391e34=>{_0x3ebd66(_0x391e34[_0x72479([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1d41b4=!0x0,_0x341d39(_0x391e34[_0x72479([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x72479([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x72479([0x6c,0x6f,0x77])}),_0xdaee27[_0x72479([0x74,0x68,0x65,0x6e])](()=>{_0x1d41b4||_0x441767(_0x72479([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x14f1df(){return _0x29a5b0[_0x72479([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x72479([0x76,0x69,0x65,0x77])][_0x72479([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x72479([0x61,0x75,0x74,0x6f]);}function _0x455919(){_0x29a5b0[_0x72479([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x72479([0x76,0x69,0x65,0x77])][_0x72479([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x72479([0x61,0x75,0x74,0x6f]);}}function _0x1f3a1a(_0x105e39){const _0x31254d=[new window[(_0x72479([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x201731=>setTimeout(_0x201731,0x13231a3d^_0x135cfe)),_0xdaee27[_0x72479([0x74,0x68,0x65,0x6e])](()=>new window[(_0x72479([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x55a5b1=>{let _0x17126b=0x0;_0x29a5b0[_0x72479([0x6d,0x6f,0x64,0x65,0x6c])][_0x72479([0x6f,0x6e])](_0x72479([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x192bf7,_0x2b499a)=>{_0x2b499a[0x0][_0x72479([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x17126b++,_0x17126b==(0x132a2509^_0x135cfe)&&(_0x55a5b1(),_0x192bf7[_0x72479([0x6f,0x66,0x66])]());});}))];return window[_0x72479([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x72479([0x72,0x61,0x63,0x65])](_0x31254d)[_0x72479([0x74,0x68,0x65,0x6e])](()=>_0x105e39);}async function _0x11d6f6(){await _0xdaee27,_0x29a5b0[_0x72479([0x6d,0x6f,0x64,0x65,0x6c])][_0x72479([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4a32cb,_0x29a5b0[_0x72479([0x6d,0x6f,0x64,0x65,0x6c])][_0x72479([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4a32cb,_0x29a5b0[_0x72479([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x72479([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x28cc67(_0x1e59fc){const _0x1ee159=_0x508835();_0x29a5b0[_0x1ee159]=_0x72479([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x1e59fc,_0x1e59fc!=_0x72479([0x56,0x61,0x6c,0x69,0x64])&&_0x11d6f6();}function _0x508835(){const _0x16bfc9=window[_0x72479([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x72479([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x72479([0x6e,0x6f,0x77])]())[_0x72479([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x72479([0x2e]),'');let _0x3ac48a=_0x72479([0x68]);for(let _0x2ff515=0x0;_0x2ff515<_0x16bfc9[_0x72479([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2ff515+=0x2){let _0x721559=window[_0x72479([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x16bfc9[_0x72479([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2ff515,_0x2ff515+0x2));_0x721559>=_0x9b026c[_0x72479([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x721559-=_0x9b026c[_0x72479([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3ac48a+=_0x9b026c[_0x721559];}return _0x3ac48a;}function _0x4d5d39(){const _0x4b981f=_0x180b61[_0x72479([0x73,0x70,0x6c,0x69,0x74])](_0x72479([0x2e]));if(0x3!=_0x4b981f[_0x72479([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x26b5b3(_0x4b981f[0x1]);function _0x26b5b3(_0x5d9085){const _0x50b829=_0x2fc83c(_0x5d9085);return _0x50b829&&_0x581e08()?_0x50b829:null;function _0x581e08(){const _0x3de119=_0x50b829[_0x72479([0x6a,0x74,0x69])],_0x3e3d58=window[_0x72479([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3de119[_0x72479([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3de119[_0x72479([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x27b785={..._0x50b829,[_0x72479([0x6a,0x74,0x69])]:_0x3de119[_0x72479([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3de119[_0x72479([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x27b785[_0x72479([0x76,0x63])],_0x2ab241(_0x27b785)==_0x3e3d58;}}}async function _0x31e471(){let _0x4bf533=!0x0;try{const _0x3d1964=_0x180b61[_0x72479([0x73,0x70,0x6c,0x69,0x74])](_0x72479([0x2e])),[_0x4951e6,_0x4a5a00,_0xa6bdde]=_0x3d1964;return _0x129269(_0x4951e6),await _0x1174ec(_0x4951e6,_0x4a5a00,_0xa6bdde),_0x4bf533;}catch(_0x2928fc){return!0x1;}function _0x129269(_0x3d2e01){const _0x32b277=_0x2fc83c(_0x3d2e01);_0x32b277&&_0x32b277[_0x72479([0x61,0x6c,0x67])]==_0x72479([0x45,0x53,0x32,0x35,0x36])||(_0x4bf533=!0x1);}async function _0x1174ec(_0x237c41,_0x2dadc3,_0x1592f6){const _0x51ac45=window[_0x72479([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x72479([0x66,0x72,0x6f,0x6d])](_0x276945(_0x1592f6),_0x2fb512=>_0x2fb512[_0x72479([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x478af8=new window[(_0x72479([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x72479([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x237c41+_0x72479([0x2e])+_0x2dadc3),_0x561001=window[_0x72479([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x72479([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x561001)return;const _0x90fe8f=await _0x561001[_0x72479([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x72479([0x6a,0x77,0x6b]),_0x4eba20,{[_0x72479([0x6e,0x61,0x6d,0x65])]:_0x72479([0x45,0x43,0x44,0x53,0x41]),[_0x72479([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x72479([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x72479([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x561001[_0x72479([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x72479([0x6e,0x61,0x6d,0x65])]:_0x72479([0x45,0x43,0x44,0x53,0x41]),[_0x72479([0x68,0x61,0x73,0x68])]:{[_0x72479([0x6e,0x61,0x6d,0x65])]:_0x72479([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x90fe8f,_0x51ac45,_0x478af8)||(_0x4bf533=!0x1);}}function _0x2fc83c(_0x46a0cc){return _0x46a0cc[_0x72479([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x72479([0x65,0x79]))?JSON[_0x72479([0x70,0x61,0x72,0x73,0x65])](_0x276945(_0x46a0cc)):null;}function _0x276945(_0x17e0b9){return window[_0x72479([0x61,0x74,0x6f,0x62])](_0x17e0b9[_0x72479([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x72479([0x2b]))[_0x72479([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x72479([0x2f])));}function _0x2ab241(_0x3b529e){let _0x1b3141=0x1505;function _0x1a719a(_0x2fa04e){for(let _0x172c75=0x0;_0x172c75<_0x2fa04e[_0x72479([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x172c75++){const _0x3bc7b6=_0x2fa04e[_0x72479([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x172c75);_0x1b3141=(_0x1b3141<<0x5)+_0x1b3141+_0x3bc7b6,_0x1b3141&=_0x1b3141;}}function _0x400e3b(_0x58c082){Array[_0x72479([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x58c082)?_0x58c082[_0x72479([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x400e3b):_0x58c082&&typeof _0x58c082==_0x72479([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x72479([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x58c082)[_0x72479([0x73,0x6f,0x72,0x74])]()[_0x72479([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x12aecc,_0x12c5c7])=>{_0x1a719a(_0x12aecc),_0x400e3b(_0x12c5c7);}):_0x1a719a(window[_0x72479([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x58c082));}return _0x400e3b(_0x3b529e),_0x1b3141>>>0x0;}function _0x419310(_0x5f2111){return _0x5f2111[_0x72479([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x72479([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x72479([0x30]));}function _0x3db245(_0x2c7b2a){return _0x2c7b2a[_0x72479([0x73,0x70,0x6c,0x69,0x74])]('')[_0x72479([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x72479([0x6a,0x6f,0x69,0x6e])]('');}function _0x4a32cb(){}function _0x72479(_0x4dbbdf){return _0x4dbbdf['map'](_0x18761e=>String['fromCharCode'](_0x18761e))['join']('');}_0x28cc67(await _0x344a33());}(this);}['_announceCaseChangeOperation'](_0x360bc2){const {ui:_0x2e7263,locale:_0x45eb65}=this['editor'],_0x4c2513=f(_0x45eb65)['find'](_0x105bcc=>_0x105bcc['commandName']===_0x360bc2)['label']['toLowerCase']();_0x2e7263['ariaLiveAnnouncer']['announce'](u(_0x45eb65,'Changed\x20case\x20to\x20%0',_0x4c2513));}}function f(_0x3bdb40){return[{'label':u(_0x3bdb40,'UPPERCASE'),'commandName':'changeCaseUpper'},{'label':u(_0x3bdb40,'lowercase'),'commandName':'changeCaseLower'},{'label':u(_0x3bdb40,'Title\x20Case'),'commandName':'changeCaseTitle'}];}class i extends _0x29ec6d{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'CaseChangeUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x5ea654=this['editor'];this['_registerComponents'](),_0x5ea654['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':u(_0x5ea654['locale'],'Change\x20text\x20case'),'keystroke':'Shift+f3','mayRequireFn':!0x0}]}),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x30072f=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x475a03;for(const _0x2ab646 in _0x30072f){const _0x1a90db=_0x2ab646,_0x3ffcd2=_0x30072f[_0x1a90db];if('caseChangeLicenseKeyValid'==_0x3ffcd2||'caseChangeLicenseKeyInvalid'==_0x3ffcd2||'caseChangeLicenseKeyExpired'==_0x3ffcd2||'caseChangeLicenseKeyDomainLimit'==_0x3ffcd2||'caseChangeLicenseKeyNotAllowed'==_0x3ffcd2||'caseChangeLicenseKeyEvaluationLimit'==_0x3ffcd2||'caseChangeLicenseKeyTrialLimit'==_0x3ffcd2||'caseChangeLicenseKeyUsageLimit'==_0x3ffcd2){delete _0x30072f[_0x1a90db],_0x475a03=_0x3ffcd2,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'caseChangeLicenseKeyInvalid'==_0x475a03&&_0x30072f['_showLicenseError']('invalid'),'caseChangeLicenseKeyExpired'==_0x475a03&&_0x30072f['_showLicenseError']('expired'),'caseChangeLicenseKeyDomainLimit'==_0x475a03&&_0x30072f['_showLicenseError']('domainLimit'),'caseChangeLicenseKeyNotAllowed'==_0x475a03&&_0x30072f['_showLicenseError']('featureNotAllowed','CaseChange'),'caseChangeLicenseKeyEvaluationLimit'==_0x475a03&&_0x30072f['_showLicenseError']('evaluationLimit'),'caseChangeLicenseKeyTrialLimit'==_0x475a03&&_0x30072f['_showLicenseError']('trialLimit'),'caseChangeLicenseKeyUsageLimit'==_0x475a03&&_0x30072f['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_registerComponents'](){const _0x3184ea=this['editor'],{itemDefinitions:_0x2c0f06,commands:_0x3ebfad}=this['_getListItemDefinitionsAndCommands']();_0x3184ea['ui']['componentFactory']['add']('caseChange',()=>this['_createDropdownView'](_0x2c0f06,_0x3ebfad)),_0x3184ea['ui']['componentFactory']['add']('menuBar:caseChange',()=>this['_createMenuBarMenuView'](_0x2c0f06,_0x3ebfad));}['_createMenuBarMenuView'](_0x305d85,_0x1d547a){const _0x56bfaf=this['editor'],_0x50dd30=_0x56bfaf['locale'],_0x52d418=new _0x59e5f9(_0x50dd30),_0x5e012d=new _0x580ec5(_0x50dd30);_0x5e012d['set']({'ariaLabel':u(_0x50dd30,'Case\x20change'),'role':'menu'}),this['_setButtonProperties'](_0x52d418['buttonView']),_0x52d418['bind']('isEnabled')['toMany'](_0x1d547a,'isEnabled',(..._0x52f9d7)=>_0x52f9d7['some'](_0x10757c=>_0x10757c));for(const _0x13d3b0 of _0x305d85){const _0x304021=new _0x5ca81d(_0x50dd30,_0x52d418),_0x51bdb2=new _0x2b8b95(_0x50dd30);_0x51bdb2['delegate']('execute')['to'](_0x52d418),_0x51bdb2['bind'](...Object['keys'](_0x13d3b0['model']))['to'](_0x13d3b0['model']),_0x51bdb2['on']('execute',()=>{_0x56bfaf['execute'](_0x13d3b0['model']['commandName']),_0x56bfaf['editing']['view']['focus']();}),_0x304021['children']['add'](_0x51bdb2),_0x5e012d['items']['add'](_0x304021);}return _0x52d418['panelView']['children']['add'](_0x5e012d),_0x52d418;}['_createDropdownView'](_0x2daba7,_0x393cac){const _0x6ec2af=this['editor'],_0x12ec59=_0x36659f(_0x6ec2af['locale']);return this['_setButtonProperties'](_0x12ec59['buttonView']),_0x12ec59['buttonView']['set']({'tooltip':!0x0}),_0x12ec59['extendTemplate']({'attributes':{'class':['ck-case-change-dropdown']}}),_0x136ef9(_0x12ec59,_0x2daba7,{'ariaLabel':u(_0x6ec2af['locale'],'Case\x20change'),'role':'menu'}),_0x12ec59['bind']('isEnabled')['toMany'](_0x393cac,'isEnabled',(..._0xecd6c2)=>_0xecd6c2['some'](_0x22097c=>_0x22097c)),this['listenTo'](_0x12ec59,'execute',_0x35855d=>{_0x6ec2af['execute'](_0x35855d['source']['commandName']),_0x6ec2af['editing']['view']['focus']();}),_0x12ec59;}['_setButtonProperties'](_0xf5e7ed){const _0x1fbec8=this['editor'];_0xf5e7ed['set']({'label':u(_0x1fbec8['locale'],'Case\x20change'),'icon':_0x51e391,'keystroke':'Shift+F3'});}['_getListItemDefinitionsAndCommands'](){const _0x289fe2=new _0x3b00c1(),_0x4d8b8f=[];for(const _0x2b722a of f(this['editor']['locale'])){const _0x481e57=this['editor']['commands']['get'](_0x2b722a['commandName']),_0x2d59ad=new _0x4c7ad9({'commandName':_0x2b722a['commandName'],'label':_0x2b722a['label'],'role':'menuitemradio','withText':!0x0});_0x2d59ad['bind']('isEnabled')['to'](_0x481e57,'isEnabled'),_0x289fe2['add']({'type':'button','model':_0x2d59ad}),_0x4d8b8f['push'](_0x481e57);}return{'itemDefinitions':_0x289fe2,'commands':_0x4d8b8f};}}class s extends _0x29ec6d{static get['requires'](){return[r,i];}static get['pluginName'](){return'CaseChange';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{s as CaseChange,n as CaseChangeCommand,r as CaseChangeEditing,i as CaseChangeUI};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-case-change",
|
|
3
|
-
"version": "45.0.0-alpha.
|
|
3
|
+
"version": "45.0.0-alpha.4",
|
|
4
4
|
"description": "Case change feature for CKEditor 5.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ckeditor",
|
|
@@ -27,11 +27,11 @@
|
|
|
27
27
|
"type": "module",
|
|
28
28
|
"main": "src/index.js",
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@ckeditor/ckeditor5-core": "45.0.0-alpha.
|
|
31
|
-
"@ckeditor/ckeditor5-icons": "45.0.0-alpha.
|
|
32
|
-
"@ckeditor/ckeditor5-ui": "45.0.0-alpha.
|
|
33
|
-
"@ckeditor/ckeditor5-utils": "45.0.0-alpha.
|
|
34
|
-
"ckeditor5": "45.0.0-alpha.
|
|
30
|
+
"@ckeditor/ckeditor5-core": "45.0.0-alpha.4",
|
|
31
|
+
"@ckeditor/ckeditor5-icons": "45.0.0-alpha.4",
|
|
32
|
+
"@ckeditor/ckeditor5-ui": "45.0.0-alpha.4",
|
|
33
|
+
"@ckeditor/ckeditor5-utils": "45.0.0-alpha.4",
|
|
34
|
+
"ckeditor5": "45.0.0-alpha.4"
|
|
35
35
|
},
|
|
36
36
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
37
37
|
"author": "CKSource (http://cksource.com/)",
|
package/src/casechangeediting.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x274edd=_0x28e0;(function(_0x3b2cc5,_0x396b00){const _0x1a952c=_0x28e0,_0x3e57be=_0x3b2cc5();while(!![]){try{const _0x4e2700=parseInt(_0x1a952c(0x14a))/0x1*(-parseInt(_0x1a952c(0x128))/0x2)+-parseInt(_0x1a952c(0x144))/0x3+-parseInt(_0x1a952c(0x136))/0x4+-parseInt(_0x1a952c(0x143))/0x5+-parseInt(_0x1a952c(0x120))/0x6+-parseInt(_0x1a952c(0x13a))/0x7*(parseInt(_0x1a952c(0x131))/0x8)+parseInt(_0x1a952c(0x127))/0x9*(parseInt(_0x1a952c(0x125))/0xa);if(_0x4e2700===_0x396b00)break;else _0x3e57be['push'](_0x3e57be['shift']());}catch(_0x4383fb){_0x3e57be['push'](_0x3e57be['shift']());}}}(_0x2801,0x1f7a1));import{Plugin as _0x46793e}from'ckeditor5/src/core.js';function _0x28e0(_0x53c974,_0x11d25e){const _0x2801c2=_0x2801();return _0x28e0=function(_0x28e06e,_0x27c63e){_0x28e06e=_0x28e06e-0x115;let _0x22c8a2=_0x2801c2[_0x28e06e];return _0x22c8a2;},_0x28e0(_0x53c974,_0x11d25e);}import{uid as _0x565011}from'ckeditor5/src/utils.js';import _0x387799 from'./casechangecommand.js';import{getTranslation as _0x196fe5}from'./utils/common-translations.js';export default class r extends _0x46793e{[_0x274edd(0x119)]=0x0;static get[_0x274edd(0x133)](){const _0x19c237=_0x274edd;return _0x19c237(0x115);}static get[_0x274edd(0x126)](){return!0x0;}static get[_0x274edd(0x14e)](){return!0x0;}[_0x274edd(0x140)](){const _0x47be58=_0x274edd,_0x234a68=this[_0x47be58(0x12b)],_0x1cf1a5=_0x234a68[_0x47be58(0x12e)][_0x47be58(0x13f)],_0x499c0e=function(_0x260d42=[]){const _0x35a186=_0x47be58;return _0x35a186(0x11a)==typeof _0x260d42?_0x260d42:(_0x442d65,{wordIndex:_0x5eeb90})=>_0x5eeb90>0x0&&_0x260d42[_0x35a186(0x11b)](_0x442d65);}(_0x234a68[_0x47be58(0x145)][_0x47be58(0x123)](_0x47be58(0x14c))),_0x539ecb={'changeCaseUpper':new _0x387799(_0x234a68,_0xef65ea=>_0xef65ea[_0x47be58(0x137)](_0x1cf1a5)),'changeCaseLower':new _0x387799(_0x234a68,_0x3d4bcd=>_0x3d4bcd[_0x47be58(0x14b)](_0x1cf1a5)),'changeCaseTitle':new _0x387799(_0x234a68,_0x221e68=>function(_0x5d5928,_0x1a1842,_0x182a22){return function(_0xbfe337,_0x27e069){const _0x4978ec=_0x28e0;let _0x2844ec='',_0x2290ad=0x0,_0x487ea1=0x0;for(const _0x34ec89 of _0xbfe337[_0x4978ec(0x13d)](/ +/g)){const _0x12b1ec=_0x34ec89[_0x4978ec(0x13e)],_0x425a5a=_0xbfe337[_0x4978ec(0x14d)](_0x2290ad,_0x12b1ec);_0x425a5a[_0x4978ec(0x116)]&&(_0x2844ec+=_0x27e069(_0x425a5a,_0x2290ad,_0x487ea1++)),_0x2844ec+=_0x34ec89[0x0],_0x2290ad=_0x12b1ec+_0x34ec89[0x0][_0x4978ec(0x116)];}const _0x17ffa1=_0xbfe337[_0x4978ec(0x14d)](_0x2290ad);return _0x17ffa1[_0x4978ec(0x116)]&&(_0x2844ec+=_0x27e069(_0x17ffa1,_0x2290ad,_0x487ea1)),_0x2844ec;}(_0x5d5928,(_0x6f8691,_0x40050c,_0x2f0eff)=>{const _0x2666bb=_0x28e0,_0x472ad3=_0x6f8691[_0x2666bb(0x14b)](_0x182a22);return _0x1a1842(_0x472ad3,{'charOffset':_0x40050c,'wordIndex':_0x2f0eff,'blockText':_0x5d5928})?_0x472ad3:_0x472ad3[_0x2666bb(0x151)](/(?:^|[^\p{L}\d'])\p{L}/gu,_0x6e5005=>_0x6e5005[_0x2666bb(0x137)](_0x182a22));});}(_0x221e68,_0x499c0e,_0x1cf1a5))};for(const [_0x338640,_0x57e95e]of Object[_0x47be58(0x12f)](_0x539ecb))_0x234a68[_0x47be58(0x12a)][_0x47be58(0x149)](_0x338640,_0x57e95e),_0x57e95e['on'](_0x47be58(0x150),()=>{const _0x22c91a=_0x47be58;this[_0x22c91a(0x135)](_0x338640);});this[_0x47be58(0x14f)](_0x234a68[_0x47be58(0x147)][_0x47be58(0x117)][_0x47be58(0x124)],_0x47be58(0x12c),()=>{const _0x45b0fd=_0x47be58;this[_0x45b0fd(0x119)]=0x0;}),_0x234a68[_0x47be58(0x152)][_0x47be58(0x11e)](_0x47be58(0x11d),(_0x1b11b7,_0x486efd)=>{const _0x267f96=_0x47be58,_0x3d8e33=_getOptions(this[_0x267f96(0x12b)][_0x267f96(0x12e)]),_0x3722d6=_0x3d8e33[this[_0x267f96(0x119)]%_0x3d8e33[_0x267f96(0x116)]][_0x267f96(0x142)];_0x234a68[_0x267f96(0x150)](_0x3722d6),this[_0x267f96(0x119)]++,_0x486efd();});}[_0x274edd(0x139)](){!async function(_0x9f67b){const _0x449ee4=_0xe29964([0x65,0x4b,0x72,0x59,0x33,0x47,0x74,0x6a,0x44,0x4a,0x36,0x62,0x31,0x63,0x53,0x30,0x71,0x51,0x70,0x54,0x6e,0x50,0x42,0x67,0x61,0x56,0x6f,0x4f,0x78,0x41,0x52,0x32,0x37,0x57,0x6c,0x43,0x48,0x45,0x39,0x34,0x38,0x6d,0x4d,0x68,0x7a,0x73,0x6b,0x69,0x58,0x5a,0x64,0x46,0x66,0x4c,0x75,0x35,0x49,0x4e,0x79,0x77,0x76,0x55]),_0x3facdf=0x75b48678,_0x1026d8=0x75b3e5f8^_0x3facdf,_0x57cca2=window[_0xe29964([0x44,0x61,0x74,0x65])][_0xe29964([0x6e,0x6f,0x77])](),_0x381c28=_0x9f67b[_0xe29964([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x184644=new window[(_0xe29964([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2627a6=>{_0x381c28[_0xe29964([0x6f,0x6e,0x63,0x65])](_0xe29964([0x72,0x65,0x61,0x64,0x79]),_0x2627a6);}),_0x37257e={[_0xe29964([0x6b,0x74,0x79])]:_0xe29964([0x45,0x43]),[_0xe29964([0x75,0x73,0x65])]:_0xe29964([0x73,0x69,0x67]),[_0xe29964([0x63,0x72,0x76])]:_0xe29964([0x50,0x2d,0x32,0x35,0x36]),[_0xe29964([0x78])]:_0xe29964([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]),[_0xe29964([0x79])]:_0xe29964([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]),[_0xe29964([0x61,0x6c,0x67])]:_0xe29964([0x45,0x53,0x32,0x35,0x36])},_0x369534=_0x381c28[_0xe29964([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0xe29964([0x67,0x65,0x74])](_0xe29964([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x19eb3c(){let _0x209b0a,_0x2a32c5=null,_0x21db79=null;try{if(_0x369534==_0xe29964([0x47,0x50,0x4c]))return _0xe29964([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x209b0a=_0x505ba8(),!_0x209b0a)return _0xe29964([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x209b0a[_0xe29964([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x21db79=_0xfdeff2(_0x209b0a[_0xe29964([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x209b0a[_0xe29964([0x6a,0x74,0x69])])),await _0x2152d0()?_0x181d35()?_0x58e2fd()?_0xe29964([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5686c8()?(_0x209b0a[_0xe29964([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xe29964([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2a32c5=_0x22f1b1(_0xe29964([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x209b0a[_0xe29964([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xe29964([0x74,0x72,0x69,0x61,0x6c])&&(_0x2a32c5=_0x22f1b1(_0xe29964([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x5b6636()):_0xe29964([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0xe29964([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0xe29964([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x3b5450){return _0xe29964([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x58e2fd(){const _0x3049de=[_0xe29964([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0xe29964([0x74,0x72,0x69,0x61,0x6c])][_0xe29964([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x209b0a[_0xe29964([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x57cca2/0x3e8:0xe10*_0x1026d8;return _0x209b0a[_0xe29964([0x65,0x78,0x70])]<_0x3049de;}function _0x181d35(){const _0x2f311f=_0x209b0a[_0xe29964([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2f311f&&(!!_0x2f311f[_0xe29964([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xe29964([0x2a]))||(!!_0x2f311f[_0xe29964([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xe29964([0x43,0x43]))||!!_0x2f311f[_0xe29964([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xe29964([0x50,0x50]))));}function _0x5686c8(){const _0x5bbd9a=_0x28e0,_0x32a230=_0x209b0a[_0xe29964([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x32a230||0x0==_0x32a230[_0xe29964([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x192af2}=new URL(window[_0xe29964([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x5bbd9a(0x13b)]);if(_0x32a230[_0xe29964([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x192af2))return!0x0;const _0x32cdb2=_0x192af2[_0xe29964([0x73,0x70,0x6c,0x69,0x74])](_0xe29964([0x2e]));return _0x32a230[_0xe29964([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3ec05f=>_0x3ec05f[_0xe29964([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xe29964([0x2a])))[_0xe29964([0x6d,0x61,0x70])](_0x6a150d=>_0x6a150d[_0xe29964([0x73,0x70,0x6c,0x69,0x74])](_0xe29964([0x2e])))[_0xe29964([0x73,0x6f,0x6d,0x65])](_0x10ed6c=>_0x32cdb2[_0xe29964([0x65,0x76,0x65,0x72,0x79])]((_0x21eb00,_0xc9face)=>_0x10ed6c[_0xc9face]===_0x21eb00||_0x10ed6c[_0xc9face]===_0xe29964([0x2a])));}function _0x5b6636(){return _0x2a32c5&&_0x21db79?new window[(_0xe29964([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5a6c4c,_0x5424cd)=>{_0x2a32c5[_0xe29964([0x74,0x68,0x65,0x6e])](_0x5a6c4c,_0x5424cd),_0x21db79[_0xe29964([0x74,0x68,0x65,0x6e])](_0xbe3ced=>{_0xbe3ced!=_0xe29964([0x56,0x61,0x6c,0x69,0x64])&&_0x5a6c4c(_0xbe3ced);},_0x5424cd);}):_0x2a32c5||_0x21db79||_0xe29964([0x56,0x61,0x6c,0x69,0x64]);}}function _0xfdeff2(_0x3e5b1c,_0x23649e){return new window[(_0xe29964([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3de0b5=>{if(_0x1fd1c5())return _0x3de0b5(_0xe29964([0x56,0x61,0x6c,0x69,0x64]));_0x52e987(),_0x381c28[_0xe29964([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0xe29964([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2342fa=!0x1;const _0x348786=_0x565011();function _0x68bf32(_0x4bdb94){return!!_0x4bdb94&&(typeof _0x4bdb94===_0xe29964([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4bdb94===_0xe29964([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4bdb94[_0xe29964([0x74,0x68,0x65,0x6e])]===_0xe29964([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4bdb94[_0xe29964([0x63,0x61,0x74,0x63,0x68])]===_0xe29964([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x420858(_0x210589){_0x377f69(_0x210589)[_0xe29964([0x74,0x68,0x65,0x6e])](_0x40e50f=>{if(!_0x40e50f||_0x40e50f[_0xe29964([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0xe29964([0x6f,0x6b]))return _0xe29964([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x17ca24(_0x4f7d11(_0x348786+_0x23649e))!=_0x40e50f[_0xe29964([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0xe29964([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0xe29964([0x56,0x61,0x6c,0x69,0x64]);})[_0xe29964([0x74,0x68,0x65,0x6e])](_0x8c9c37=>(_0x14b5c3(),_0x8c9c37),()=>{const _0x5f1a3e=_0x5b9a07();return null==_0x5f1a3e?(_0x14b5c3(),_0xe29964([0x56,0x61,0x6c,0x69,0x64])):_0xe29964(_0x57cca2-_0x5f1a3e>(0x51b80278^_0x3facdf)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0xe29964([0x74,0x68,0x65,0x6e])](_0x3de0b5)[_0xe29964([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3de0b5(_0xe29964([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0xf34e23=0x758268f8^_0x3facdf;function _0x14b5c3(){const _0x1a89f0=_0xe29964([0x6c,0x6c,0x63,0x74,0x2d])+_0x17ca24(_0x4f7d11(_0x3e5b1c)),_0x8bcf60=_0x4157e8(_0x17ca24(window[_0xe29964([0x4d,0x61,0x74,0x68])][_0xe29964([0x63,0x65,0x69,0x6c])](_0x57cca2/_0xf34e23)));window[_0xe29964([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xe29964([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1a89f0,_0x8bcf60);}function _0x5b9a07(){const _0x13afcc=_0xe29964([0x6c,0x6c,0x63,0x74,0x2d])+_0x17ca24(_0x4f7d11(_0x3e5b1c)),_0xa2b6f1=window[_0xe29964([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xe29964([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x13afcc);return _0xa2b6f1?window[_0xe29964([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4157e8(_0xa2b6f1),0x10)*_0xf34e23:null;}function _0x377f69(_0x431759){return new window[(_0xe29964([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4d93c8,_0x8664a6)=>{_0x431759[_0xe29964([0x74,0x68,0x65,0x6e])](_0x4d93c8,_0x8664a6),window[_0xe29964([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x8664a6,0x75b552b8^_0x3facdf);});}}_0x381c28[_0xe29964([0x6f,0x6e])](_0xe29964([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x41bae4,_0xb92d4d)=>{if(_0xb92d4d[0x0]!=_0x3e5b1c)return _0x3de0b5(_0xe29964([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0xb92d4d[0x1]={..._0xb92d4d[0x1],[_0xe29964([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x348786};},{[_0xe29964([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xe29964([0x68,0x69,0x67,0x68])}),_0x381c28[_0xe29964([0x6f,0x6e])](_0xe29964([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x477801=>{_0x68bf32(_0x477801[_0xe29964([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2342fa=!0x0,_0x420858(_0x477801[_0xe29964([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0xe29964([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xe29964([0x6c,0x6f,0x77])}),_0x184644[_0xe29964([0x74,0x68,0x65,0x6e])](()=>{_0x2342fa||_0x3de0b5(_0xe29964([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1fd1c5(){return _0x381c28[_0xe29964([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xe29964([0x76,0x69,0x65,0x77])][_0xe29964([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0xe29964([0x61,0x75,0x74,0x6f]);}function _0x52e987(){_0x381c28[_0xe29964([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xe29964([0x76,0x69,0x65,0x77])][_0xe29964([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0xe29964([0x61,0x75,0x74,0x6f]);}}function _0x22f1b1(_0x549900){const _0x55824a=[new window[(_0xe29964([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2d7ac0=>setTimeout(_0x2d7ac0,0x75bdb8b4^_0x3facdf)),_0x184644[_0xe29964([0x74,0x68,0x65,0x6e])](()=>new window[(_0xe29964([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1f6e6e=>{let _0x347ca9=0x0;_0x381c28[_0xe29964([0x6d,0x6f,0x64,0x65,0x6c])][_0xe29964([0x6f,0x6e])](_0xe29964([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x16ce87,_0x289c37)=>{_0x289c37[0x0][_0xe29964([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x347ca9++,_0x347ca9==(0x75b48780^_0x3facdf)&&(_0x1f6e6e(),_0x16ce87[_0xe29964([0x6f,0x66,0x66])]());});}))];return window[_0xe29964([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0xe29964([0x72,0x61,0x63,0x65])](_0x55824a)[_0xe29964([0x74,0x68,0x65,0x6e])](()=>_0x549900);}async function _0x3df847(){await _0x184644,_0x381c28[_0xe29964([0x6d,0x6f,0x64,0x65,0x6c])][_0xe29964([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x41e6a2,_0x381c28[_0xe29964([0x6d,0x6f,0x64,0x65,0x6c])][_0xe29964([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x41e6a2,_0x381c28[_0xe29964([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0xe29964([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x309630(_0x530118){const _0x4cdd9a=_0x2ed75c();_0x381c28[_0x4cdd9a]=_0xe29964([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x530118,_0x530118!=_0xe29964([0x56,0x61,0x6c,0x69,0x64])&&_0x3df847();}function _0x2ed75c(){const _0x3f90ee=window[_0xe29964([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0xe29964([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0xe29964([0x6e,0x6f,0x77])]())[_0xe29964([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0xe29964([0x2e]),'');let _0x1ca203=_0xe29964([0x65]);for(let _0x3260fb=0x0;_0x3260fb<_0x3f90ee[_0xe29964([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3260fb+=0x2){let _0xfc3062=window[_0xe29964([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3f90ee[_0xe29964([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3260fb,_0x3260fb+0x2));_0xfc3062>=_0x449ee4[_0xe29964([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0xfc3062-=_0x449ee4[_0xe29964([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1ca203+=_0x449ee4[_0xfc3062];}return _0x1ca203;}function _0x505ba8(){const _0x514981=_0x369534[_0xe29964([0x73,0x70,0x6c,0x69,0x74])](_0xe29964([0x2e]));if(0x3!=_0x514981[_0xe29964([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x16073e(_0x514981[0x1]);function _0x16073e(_0x43a8b6){const _0x33c125=_0x3aaf88(_0x43a8b6);return _0x33c125&&_0x128c9f()?_0x33c125:null;function _0x128c9f(){const _0x123646=_0x33c125[_0xe29964([0x6a,0x74,0x69])],_0x53098d=window[_0xe29964([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x123646[_0xe29964([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x123646[_0xe29964([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x5d4b79={..._0x33c125,[_0xe29964([0x6a,0x74,0x69])]:_0x123646[_0xe29964([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x123646[_0xe29964([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x5d4b79[_0xe29964([0x76,0x63])],_0x4f7d11(_0x5d4b79)==_0x53098d;}}}async function _0x2152d0(){let _0x1472c6=!0x0;try{const _0x5c78f3=_0x369534[_0xe29964([0x73,0x70,0x6c,0x69,0x74])](_0xe29964([0x2e])),[_0x17fdb1,_0x18c42e,_0x2d57b2]=_0x5c78f3;return _0x3d08f2(_0x17fdb1),await _0x3aa8c4(_0x17fdb1,_0x18c42e,_0x2d57b2),_0x1472c6;}catch(_0x377f0e){return!0x1;}function _0x3d08f2(_0x5b93a7){const _0x37abd7=_0x3aaf88(_0x5b93a7);_0x37abd7&&_0x37abd7[_0xe29964([0x61,0x6c,0x67])]==_0xe29964([0x45,0x53,0x32,0x35,0x36])||(_0x1472c6=!0x1);}async function _0x3aa8c4(_0x53e060,_0x22f5ec,_0x420f7a){const _0x11254f=window[_0xe29964([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0xe29964([0x66,0x72,0x6f,0x6d])](_0x4013c6(_0x420f7a),_0x5441f7=>_0x5441f7[_0xe29964([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4b5a16=new window[(_0xe29964([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0xe29964([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x53e060+_0xe29964([0x2e])+_0x22f5ec),_0xbe877a=window[_0xe29964([0x63,0x72,0x79,0x70,0x74,0x6f])][_0xe29964([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0xbe877a)return;const _0xe9ff07=await _0xbe877a[_0xe29964([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0xe29964([0x6a,0x77,0x6b]),_0x37257e,{[_0xe29964([0x6e,0x61,0x6d,0x65])]:_0xe29964([0x45,0x43,0x44,0x53,0x41]),[_0xe29964([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0xe29964([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0xe29964([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0xbe877a[_0xe29964([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0xe29964([0x6e,0x61,0x6d,0x65])]:_0xe29964([0x45,0x43,0x44,0x53,0x41]),[_0xe29964([0x68,0x61,0x73,0x68])]:{[_0xe29964([0x6e,0x61,0x6d,0x65])]:_0xe29964([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0xe9ff07,_0x11254f,_0x4b5a16)||(_0x1472c6=!0x1);}}function _0x3aaf88(_0x4dc85d){return _0x4dc85d[_0xe29964([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0xe29964([0x65,0x79]))?JSON[_0xe29964([0x70,0x61,0x72,0x73,0x65])](_0x4013c6(_0x4dc85d)):null;}function _0x4013c6(_0x31822d){return window[_0xe29964([0x61,0x74,0x6f,0x62])](_0x31822d[_0xe29964([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0xe29964([0x2b]))[_0xe29964([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0xe29964([0x2f])));}function _0x4f7d11(_0x6726b4){let _0xbe4c84=0x1505;function _0x34d899(_0x4cacad){for(let _0x160954=0x0;_0x160954<_0x4cacad[_0xe29964([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x160954++){const _0x30c4e4=_0x4cacad[_0xe29964([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x160954);_0xbe4c84=(_0xbe4c84<<0x5)+_0xbe4c84+_0x30c4e4,_0xbe4c84&=_0xbe4c84;}}function _0x573781(_0x63ec37){Array[_0xe29964([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x63ec37)?_0x63ec37[_0xe29964([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x573781):_0x63ec37&&typeof _0x63ec37==_0xe29964([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0xe29964([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x63ec37)[_0xe29964([0x73,0x6f,0x72,0x74])]()[_0xe29964([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3aea82,_0x4fb190])=>{_0x34d899(_0x3aea82),_0x573781(_0x4fb190);}):_0x34d899(window[_0xe29964([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x63ec37));}return _0x573781(_0x6726b4),_0xbe4c84>>>0x0;}function _0x17ca24(_0x10eec4){return _0x10eec4[_0xe29964([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0xe29964([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0xe29964([0x30]));}function _0x4157e8(_0x34cf0e){return _0x34cf0e[_0xe29964([0x73,0x70,0x6c,0x69,0x74])]('')[_0xe29964([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0xe29964([0x6a,0x6f,0x69,0x6e])]('');}function _0x41e6a2(){}function _0xe29964(_0x5940f3){const _0x2b3239=_0x28e0;return _0x5940f3[_0x2b3239(0x118)](_0x1d83e9=>String[_0x2b3239(0x130)](_0x1d83e9))[_0x2b3239(0x121)]('');}_0x309630(await _0x19eb3c());}(this);}[_0x274edd(0x135)](_0x332c8a){const _0x164665=_0x274edd,{ui:_0x317fee,locale:_0x39448c}=this[_0x164665(0x12b)],_0x32d09c=_getOptions(_0x39448c)[_0x164665(0x122)](_0x34688e=>_0x34688e[_0x164665(0x142)]===_0x332c8a)[_0x164665(0x11c)][_0x164665(0x132)]();_0x317fee[_0x164665(0x11f)][_0x164665(0x141)](_0x196fe5(_0x39448c,_0x164665(0x129),_0x32d09c));}}export function _getOptions(_0x4f6a9b){const _0x3828b2=_0x274edd;return[{'label':_0x196fe5(_0x4f6a9b,_0x3828b2(0x148)),'commandName':_0x3828b2(0x13c)},{'label':_0x196fe5(_0x4f6a9b,_0x3828b2(0x134)),'commandName':_0x3828b2(0x12d)},{'label':_0x196fe5(_0x4f6a9b,_0x3828b2(0x146)),'commandName':_0x3828b2(0x138)}];}function _0x2801(){const _0x3d1198=['isOfficialPlugin','108VqAtFm','18qGtxyU','Changed\x20case\x20to\x20%0','commands','editor','selectionChange','changeCaseLower','locale','entries','fromCharCode','9232zpSOjj','toLowerCase','pluginName','lowercase','_announceCaseChangeOperation','184592QxPcdK','toLocaleUpperCase','changeCaseTitle','afterInit','1120GzZDCP','href','changeCaseUpper','matchAll','index','contentLanguage','init','announce','commandName','1030165gzfaKI','719292NMnCIG','config','Title\x20Case','editing','UPPERCASE','add','24302mnMeKk','toLocaleLowerCase','caseChange.titleCase.excludeWords','substring','isPremiumPlugin','listenTo','execute','replace','keystrokes','CaseChangeEditing','length','view','map','_currentCommandIndex','function','includes','label','shift+f3','set','ariaLiveAnnouncer','923064RUUtvH','join','find','get','document','981730RWxbrA'];_0x2801=function(){return _0x3d1198;};return _0x2801();}
|
|
23
|
+
const _0x4ffe24=_0x157f;(function(_0xea7db5,_0xec4c81){const _0x4c180a=_0x157f,_0x1949aa=_0xea7db5();while(!![]){try{const _0x4c2501=-parseInt(_0x4c180a(0x20c))/0x1*(parseInt(_0x4c180a(0x1fc))/0x2)+parseInt(_0x4c180a(0x200))/0x3*(parseInt(_0x4c180a(0x20e))/0x4)+parseInt(_0x4c180a(0x1e4))/0x5+parseInt(_0x4c180a(0x1d6))/0x6+-parseInt(_0x4c180a(0x1d7))/0x7+parseInt(_0x4c180a(0x202))/0x8+parseInt(_0x4c180a(0x20d))/0x9*(-parseInt(_0x4c180a(0x1dd))/0xa);if(_0x4c2501===_0xec4c81)break;else _0x1949aa['push'](_0x1949aa['shift']());}catch(_0x5087c8){_0x1949aa['push'](_0x1949aa['shift']());}}}(_0x3695,0x23185));import{Plugin as _0x2b2f83}from'ckeditor5/src/core.js';function _0x157f(_0x14f3d9,_0x427e43){const _0x369517=_0x3695();return _0x157f=function(_0x157f00,_0x4c3637){_0x157f00=_0x157f00-0x1d3;let _0x3c79d6=_0x369517[_0x157f00];return _0x3c79d6;},_0x157f(_0x14f3d9,_0x427e43);}import{uid as _0x1daa4b}from'ckeditor5/src/utils.js';import _0xa6e219 from'./casechangecommand.js';import{getTranslation as _0x3813dd}from'./utils/common-translations.js';function _0x3695(){const _0x5ad1b8=['673280pJaHPe','toLocaleUpperCase','afterInit','replace','changeCaseTitle','listenTo','set','contentLanguage','editor','isPremiumPlugin','281073WrTBZr','81yZtBhN','7096WIyYxF','ariaLiveAnnouncer','document','_currentCommandIndex','selectionChange','fromCharCode','1666830IpboFi','1841609RzvpeY','config','href','changeCaseUpper','view','editing','84430JcmpcP','shift+f3','toLocaleLowerCase','length','_announceCaseChangeOperation','map','label','1042825SHrhnA','CaseChangeEditing','add','locale','substring','pluginName','announce','isOfficialPlugin','includes','toLowerCase','Changed\x20case\x20to\x20%0','commands','caseChange.titleCase.excludeWords','Title\x20Case','function','commandName','execute','keystrokes','index','get','join','matchAll','init','changeCaseLower','2nfDxXa','entries','UPPERCASE','find','327RnPiTA','lowercase'];_0x3695=function(){return _0x5ad1b8;};return _0x3695();}export default class r extends _0x2b2f83{[_0x4ffe24(0x1d3)]=0x0;static get[_0x4ffe24(0x1e9)](){const _0x57649b=_0x4ffe24;return _0x57649b(0x1e5);}static get[_0x4ffe24(0x1eb)](){return!0x0;}static get[_0x4ffe24(0x20b)](){return!0x0;}[_0x4ffe24(0x1fa)](){const _0x373dc9=_0x4ffe24,_0x1dfe90=this[_0x373dc9(0x20a)],_0x5a1dc3=_0x1dfe90[_0x373dc9(0x1e7)][_0x373dc9(0x209)],_0x4630a4=function(_0x348abb=[]){const _0x210a78=_0x373dc9;return _0x210a78(0x1f2)==typeof _0x348abb?_0x348abb:(_0x1a347e,{wordIndex:_0x36744e})=>_0x36744e>0x0&&_0x348abb[_0x210a78(0x1ec)](_0x1a347e);}(_0x1dfe90[_0x373dc9(0x1d8)][_0x373dc9(0x1f7)](_0x373dc9(0x1f0))),_0x3f809f={'changeCaseUpper':new _0xa6e219(_0x1dfe90,_0xd3c926=>_0xd3c926[_0x373dc9(0x203)](_0x5a1dc3)),'changeCaseLower':new _0xa6e219(_0x1dfe90,_0xc44137=>_0xc44137[_0x373dc9(0x1df)](_0x5a1dc3)),'changeCaseTitle':new _0xa6e219(_0x1dfe90,_0x5a18f7=>function(_0x22021c,_0x88e0c6,_0x280b74){return function(_0x3c0c02,_0x13aea3){const _0x2de884=_0x157f;let _0x4e886f='',_0x31c3b9=0x0,_0x39311c=0x0;for(const _0x263061 of _0x3c0c02[_0x2de884(0x1f9)](/ +/g)){const _0x4150d9=_0x263061[_0x2de884(0x1f6)],_0x4e21db=_0x3c0c02[_0x2de884(0x1e8)](_0x31c3b9,_0x4150d9);_0x4e21db[_0x2de884(0x1e0)]&&(_0x4e886f+=_0x13aea3(_0x4e21db,_0x31c3b9,_0x39311c++)),_0x4e886f+=_0x263061[0x0],_0x31c3b9=_0x4150d9+_0x263061[0x0][_0x2de884(0x1e0)];}const _0x10f0a5=_0x3c0c02[_0x2de884(0x1e8)](_0x31c3b9);return _0x10f0a5[_0x2de884(0x1e0)]&&(_0x4e886f+=_0x13aea3(_0x10f0a5,_0x31c3b9,_0x39311c)),_0x4e886f;}(_0x22021c,(_0x6e493,_0x429307,_0x52734c)=>{const _0x540b33=_0x157f,_0x50edc7=_0x6e493[_0x540b33(0x1df)](_0x280b74);return _0x88e0c6(_0x50edc7,{'charOffset':_0x429307,'wordIndex':_0x52734c,'blockText':_0x22021c})?_0x50edc7:_0x50edc7[_0x540b33(0x205)](/(?:^|[^\p{L}\d'])\p{L}/gu,_0x305886=>_0x305886[_0x540b33(0x203)](_0x280b74));});}(_0x5a18f7,_0x4630a4,_0x5a1dc3))};for(const [_0x3ad6e4,_0x37df97]of Object[_0x373dc9(0x1fd)](_0x3f809f))_0x1dfe90[_0x373dc9(0x1ef)][_0x373dc9(0x1e6)](_0x3ad6e4,_0x37df97),_0x37df97['on'](_0x373dc9(0x1f4),()=>{const _0xcac918=_0x373dc9;this[_0xcac918(0x1e1)](_0x3ad6e4);});this[_0x373dc9(0x207)](_0x1dfe90[_0x373dc9(0x1dc)][_0x373dc9(0x1db)][_0x373dc9(0x210)],_0x373dc9(0x1d4),()=>{const _0x264ae5=_0x373dc9;this[_0x264ae5(0x1d3)]=0x0;}),_0x1dfe90[_0x373dc9(0x1f5)][_0x373dc9(0x208)](_0x373dc9(0x1de),(_0x14e32d,_0x5751f6)=>{const _0x47e697=_0x373dc9,_0x339ae2=_getOptions(this[_0x47e697(0x20a)][_0x47e697(0x1e7)]),_0x579050=_0x339ae2[this[_0x47e697(0x1d3)]%_0x339ae2[_0x47e697(0x1e0)]][_0x47e697(0x1f3)];_0x1dfe90[_0x47e697(0x1f4)](_0x579050),this[_0x47e697(0x1d3)]++,_0x5751f6();});}[_0x4ffe24(0x204)](){!async function(_0x28c12c){const _0x43be9e=_0x5c3266([0x68,0x61,0x64,0x67,0x71,0x6e,0x54,0x77,0x4d,0x62,0x57,0x43,0x44,0x34,0x36,0x42,0x74,0x52,0x65,0x4f,0x46,0x6a,0x33,0x55,0x56,0x75,0x48,0x47,0x6d,0x35,0x49,0x78,0x73,0x70,0x66,0x37,0x4b,0x72,0x50,0x39,0x32,0x76,0x45,0x69,0x58,0x79,0x31,0x6c,0x7a,0x5a,0x41,0x6b,0x63,0x38,0x4e,0x51,0x4a,0x30,0x53,0x6f,0x59,0x4c]),_0x1a7700=0x132a24f1,_0x54113f=0x132d4769^_0x1a7700,_0x180d65=window[_0x5c3266([0x44,0x61,0x74,0x65])][_0x5c3266([0x6e,0x6f,0x77])](),_0x30bae0=_0x28c12c[_0x5c3266([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x35cc76=new window[(_0x5c3266([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4bbe4b=>{_0x30bae0[_0x5c3266([0x6f,0x6e,0x63,0x65])](_0x5c3266([0x72,0x65,0x61,0x64,0x79]),_0x4bbe4b);}),_0x468770={[_0x5c3266([0x6b,0x74,0x79])]:_0x5c3266([0x45,0x43]),[_0x5c3266([0x75,0x73,0x65])]:_0x5c3266([0x73,0x69,0x67]),[_0x5c3266([0x63,0x72,0x76])]:_0x5c3266([0x50,0x2d,0x32,0x35,0x36]),[_0x5c3266([0x78])]:_0x5c3266([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]),[_0x5c3266([0x79])]:_0x5c3266([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]),[_0x5c3266([0x61,0x6c,0x67])]:_0x5c3266([0x45,0x53,0x32,0x35,0x36])},_0x8a3c83=_0x30bae0[_0x5c3266([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5c3266([0x67,0x65,0x74])](_0x5c3266([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x581537(){let _0x4eaf36,_0xe4d6e9=null,_0x5b70ee=null;try{if(_0x8a3c83==_0x5c3266([0x47,0x50,0x4c]))return _0x5c3266([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4eaf36=_0x518956(),!_0x4eaf36)return _0x5c3266([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4eaf36[_0x5c3266([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5b70ee=_0x2ef84d(_0x4eaf36[_0x5c3266([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4eaf36[_0x5c3266([0x6a,0x74,0x69])])),await _0x44fd8b()?_0x4c3b26()?_0x457115()?_0x5c3266([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4d6cca()?(_0x4eaf36[_0x5c3266([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5c3266([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0xe4d6e9=_0x2ad930(_0x5c3266([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x4eaf36[_0x5c3266([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5c3266([0x74,0x72,0x69,0x61,0x6c])&&(_0xe4d6e9=_0x2ad930(_0x5c3266([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0xd9f7b7()):_0x5c3266([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5c3266([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5c3266([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x363373){return _0x5c3266([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x457115(){const _0x27aedb=[_0x5c3266([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5c3266([0x74,0x72,0x69,0x61,0x6c])][_0x5c3266([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4eaf36[_0x5c3266([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x180d65/0x3e8:0xe10*_0x54113f;return _0x4eaf36[_0x5c3266([0x65,0x78,0x70])]<_0x27aedb;}function _0x4c3b26(){const _0x35e8c7=_0x4eaf36[_0x5c3266([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x35e8c7&&(!!_0x35e8c7[_0x5c3266([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5c3266([0x2a]))||(!!_0x35e8c7[_0x5c3266([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5c3266([0x43,0x43]))||!!_0x35e8c7[_0x5c3266([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5c3266([0x50,0x50]))));}function _0x4d6cca(){const _0x3ff4dd=_0x157f,_0x55d2b6=_0x4eaf36[_0x5c3266([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x55d2b6||0x0==_0x55d2b6[_0x5c3266([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3b17d1}=new URL(window[_0x5c3266([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x3ff4dd(0x1d9)]);if(_0x55d2b6[_0x5c3266([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3b17d1))return!0x0;const _0x230e73=_0x3b17d1[_0x5c3266([0x73,0x70,0x6c,0x69,0x74])](_0x5c3266([0x2e]));return _0x55d2b6[_0x5c3266([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2a4009=>_0x2a4009[_0x5c3266([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5c3266([0x2a])))[_0x5c3266([0x6d,0x61,0x70])](_0x23044b=>_0x23044b[_0x5c3266([0x73,0x70,0x6c,0x69,0x74])](_0x5c3266([0x2e])))[_0x5c3266([0x73,0x6f,0x6d,0x65])](_0x751a78=>_0x230e73[_0x5c3266([0x65,0x76,0x65,0x72,0x79])]((_0x5498e5,_0x1b8c96)=>_0x751a78[_0x1b8c96]===_0x5498e5||_0x751a78[_0x1b8c96]===_0x5c3266([0x2a])));}function _0xd9f7b7(){return _0xe4d6e9&&_0x5b70ee?new window[(_0x5c3266([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2fdfc2,_0x3d189c)=>{_0xe4d6e9[_0x5c3266([0x74,0x68,0x65,0x6e])](_0x2fdfc2,_0x3d189c),_0x5b70ee[_0x5c3266([0x74,0x68,0x65,0x6e])](_0x315766=>{_0x315766!=_0x5c3266([0x56,0x61,0x6c,0x69,0x64])&&_0x2fdfc2(_0x315766);},_0x3d189c);}):_0xe4d6e9||_0x5b70ee||_0x5c3266([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2ef84d(_0x3148d6,_0x39dab7){return new window[(_0x5c3266([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x25c85c=>{if(_0x8cdf0c())return _0x25c85c(_0x5c3266([0x56,0x61,0x6c,0x69,0x64]));_0x11ed64(),_0x30bae0[_0x5c3266([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5c3266([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x17b860=!0x1;const _0x4a842e=_0x1daa4b();function _0x281e0d(_0x39db16){return!!_0x39db16&&(typeof _0x39db16===_0x5c3266([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x39db16===_0x5c3266([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x39db16[_0x5c3266([0x74,0x68,0x65,0x6e])]===_0x5c3266([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x39db16[_0x5c3266([0x63,0x61,0x74,0x63,0x68])]===_0x5c3266([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x86c204(_0x2f6117){_0x164345(_0x2f6117)[_0x5c3266([0x74,0x68,0x65,0x6e])](_0x3518fa=>{if(!_0x3518fa||_0x3518fa[_0x5c3266([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5c3266([0x6f,0x6b]))return _0x5c3266([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x51066a(_0x34464d(_0x4a842e+_0x39dab7))!=_0x3518fa[_0x5c3266([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5c3266([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5c3266([0x56,0x61,0x6c,0x69,0x64]);})[_0x5c3266([0x74,0x68,0x65,0x6e])](_0x36b527=>(_0x96c544(),_0x36b527),()=>{const _0x435e9d=_0x2eb2c9();return null==_0x435e9d?(_0x96c544(),_0x5c3266([0x56,0x61,0x6c,0x69,0x64])):_0x5c3266(_0x180d65-_0x435e9d>(0x3726a0f1^_0x1a7700)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5c3266([0x74,0x68,0x65,0x6e])](_0x25c85c)[_0x5c3266([0x63,0x61,0x74,0x63,0x68])](()=>{_0x25c85c(_0x5c3266([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3c6fdd=0x131cca71^_0x1a7700;function _0x96c544(){const _0x2be743=_0x5c3266([0x6c,0x6c,0x63,0x74,0x2d])+_0x51066a(_0x34464d(_0x3148d6)),_0x3ed149=_0x37fd6b(_0x51066a(window[_0x5c3266([0x4d,0x61,0x74,0x68])][_0x5c3266([0x63,0x65,0x69,0x6c])](_0x180d65/_0x3c6fdd)));window[_0x5c3266([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5c3266([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2be743,_0x3ed149);}function _0x2eb2c9(){const _0x1d352f=_0x5c3266([0x6c,0x6c,0x63,0x74,0x2d])+_0x51066a(_0x34464d(_0x3148d6)),_0x5b686e=window[_0x5c3266([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5c3266([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1d352f);return _0x5b686e?window[_0x5c3266([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x37fd6b(_0x5b686e),0x10)*_0x3c6fdd:null;}function _0x164345(_0x1876d4){return new window[(_0x5c3266([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x83c82e,_0x397322)=>{_0x1876d4[_0x5c3266([0x74,0x68,0x65,0x6e])](_0x83c82e,_0x397322),window[_0x5c3266([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x397322,0x132bf031^_0x1a7700);});}}_0x30bae0[_0x5c3266([0x6f,0x6e])](_0x5c3266([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1e2a17,_0x113066)=>{if(_0x113066[0x0]!=_0x3148d6)return _0x25c85c(_0x5c3266([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x113066[0x1]={..._0x113066[0x1],[_0x5c3266([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x4a842e};},{[_0x5c3266([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5c3266([0x68,0x69,0x67,0x68])}),_0x30bae0[_0x5c3266([0x6f,0x6e])](_0x5c3266([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1c02b7=>{_0x281e0d(_0x1c02b7[_0x5c3266([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x17b860=!0x0,_0x86c204(_0x1c02b7[_0x5c3266([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5c3266([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5c3266([0x6c,0x6f,0x77])}),_0x35cc76[_0x5c3266([0x74,0x68,0x65,0x6e])](()=>{_0x17b860||_0x25c85c(_0x5c3266([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x8cdf0c(){return _0x30bae0[_0x5c3266([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5c3266([0x76,0x69,0x65,0x77])][_0x5c3266([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5c3266([0x61,0x75,0x74,0x6f]);}function _0x11ed64(){_0x30bae0[_0x5c3266([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5c3266([0x76,0x69,0x65,0x77])][_0x5c3266([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5c3266([0x61,0x75,0x74,0x6f]);}}function _0x2ad930(_0x29dbde){const _0x107d12=[new window[(_0x5c3266([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4c2141=>setTimeout(_0x4c2141,0x13231a3d^_0x1a7700)),_0x35cc76[_0x5c3266([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5c3266([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2676fd=>{let _0x1b6e09=0x0;_0x30bae0[_0x5c3266([0x6d,0x6f,0x64,0x65,0x6c])][_0x5c3266([0x6f,0x6e])](_0x5c3266([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0xfa3e5,_0x14284b)=>{_0x14284b[0x0][_0x5c3266([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1b6e09++,_0x1b6e09==(0x132a2509^_0x1a7700)&&(_0x2676fd(),_0xfa3e5[_0x5c3266([0x6f,0x66,0x66])]());});}))];return window[_0x5c3266([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5c3266([0x72,0x61,0x63,0x65])](_0x107d12)[_0x5c3266([0x74,0x68,0x65,0x6e])](()=>_0x29dbde);}async function _0x2e89c7(){await _0x35cc76,_0x30bae0[_0x5c3266([0x6d,0x6f,0x64,0x65,0x6c])][_0x5c3266([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x509d11,_0x30bae0[_0x5c3266([0x6d,0x6f,0x64,0x65,0x6c])][_0x5c3266([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x509d11,_0x30bae0[_0x5c3266([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5c3266([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x2d3669(_0x3d831a){const _0x1538ff=_0x44b5b3();_0x30bae0[_0x1538ff]=_0x5c3266([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3d831a,_0x3d831a!=_0x5c3266([0x56,0x61,0x6c,0x69,0x64])&&_0x2e89c7();}function _0x44b5b3(){const _0x2e4128=window[_0x5c3266([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5c3266([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5c3266([0x6e,0x6f,0x77])]())[_0x5c3266([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5c3266([0x2e]),'');let _0xdf65a9=_0x5c3266([0x68]);for(let _0x895d6=0x0;_0x895d6<_0x2e4128[_0x5c3266([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x895d6+=0x2){let _0x456a17=window[_0x5c3266([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2e4128[_0x5c3266([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x895d6,_0x895d6+0x2));_0x456a17>=_0x43be9e[_0x5c3266([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x456a17-=_0x43be9e[_0x5c3266([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xdf65a9+=_0x43be9e[_0x456a17];}return _0xdf65a9;}function _0x518956(){const _0x4e861d=_0x8a3c83[_0x5c3266([0x73,0x70,0x6c,0x69,0x74])](_0x5c3266([0x2e]));if(0x3!=_0x4e861d[_0x5c3266([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x51cc15(_0x4e861d[0x1]);function _0x51cc15(_0x15fdeb){const _0x1253ea=_0x57d733(_0x15fdeb);return _0x1253ea&&_0x19b648()?_0x1253ea:null;function _0x19b648(){const _0x53cce8=_0x1253ea[_0x5c3266([0x6a,0x74,0x69])],_0x35932f=window[_0x5c3266([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x53cce8[_0x5c3266([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x53cce8[_0x5c3266([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x5e42cd={..._0x1253ea,[_0x5c3266([0x6a,0x74,0x69])]:_0x53cce8[_0x5c3266([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x53cce8[_0x5c3266([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x5e42cd[_0x5c3266([0x76,0x63])],_0x34464d(_0x5e42cd)==_0x35932f;}}}async function _0x44fd8b(){let _0x2c6cc6=!0x0;try{const _0x58928f=_0x8a3c83[_0x5c3266([0x73,0x70,0x6c,0x69,0x74])](_0x5c3266([0x2e])),[_0x38b2bd,_0x1e19fa,_0x2a7694]=_0x58928f;return _0x359eaf(_0x38b2bd),await _0x4db033(_0x38b2bd,_0x1e19fa,_0x2a7694),_0x2c6cc6;}catch(_0x16ddf2){return!0x1;}function _0x359eaf(_0x499899){const _0x3eb218=_0x57d733(_0x499899);_0x3eb218&&_0x3eb218[_0x5c3266([0x61,0x6c,0x67])]==_0x5c3266([0x45,0x53,0x32,0x35,0x36])||(_0x2c6cc6=!0x1);}async function _0x4db033(_0x127d0b,_0x44f397,_0x1e7be0){const _0x461c3d=window[_0x5c3266([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5c3266([0x66,0x72,0x6f,0x6d])](_0x45b6c6(_0x1e7be0),_0x40ada8=>_0x40ada8[_0x5c3266([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4d1dcd=new window[(_0x5c3266([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5c3266([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x127d0b+_0x5c3266([0x2e])+_0x44f397),_0x126907=window[_0x5c3266([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5c3266([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x126907)return;const _0x43517a=await _0x126907[_0x5c3266([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5c3266([0x6a,0x77,0x6b]),_0x468770,{[_0x5c3266([0x6e,0x61,0x6d,0x65])]:_0x5c3266([0x45,0x43,0x44,0x53,0x41]),[_0x5c3266([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5c3266([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5c3266([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x126907[_0x5c3266([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5c3266([0x6e,0x61,0x6d,0x65])]:_0x5c3266([0x45,0x43,0x44,0x53,0x41]),[_0x5c3266([0x68,0x61,0x73,0x68])]:{[_0x5c3266([0x6e,0x61,0x6d,0x65])]:_0x5c3266([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x43517a,_0x461c3d,_0x4d1dcd)||(_0x2c6cc6=!0x1);}}function _0x57d733(_0x1c3d6a){return _0x1c3d6a[_0x5c3266([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5c3266([0x65,0x79]))?JSON[_0x5c3266([0x70,0x61,0x72,0x73,0x65])](_0x45b6c6(_0x1c3d6a)):null;}function _0x45b6c6(_0x36f9f7){return window[_0x5c3266([0x61,0x74,0x6f,0x62])](_0x36f9f7[_0x5c3266([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5c3266([0x2b]))[_0x5c3266([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5c3266([0x2f])));}function _0x34464d(_0x15320e){let _0x54b6f1=0x1505;function _0x527567(_0x567d30){for(let _0x15e83d=0x0;_0x15e83d<_0x567d30[_0x5c3266([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x15e83d++){const _0x195c61=_0x567d30[_0x5c3266([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x15e83d);_0x54b6f1=(_0x54b6f1<<0x5)+_0x54b6f1+_0x195c61,_0x54b6f1&=_0x54b6f1;}}function _0x369d86(_0x689a65){Array[_0x5c3266([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x689a65)?_0x689a65[_0x5c3266([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x369d86):_0x689a65&&typeof _0x689a65==_0x5c3266([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5c3266([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x689a65)[_0x5c3266([0x73,0x6f,0x72,0x74])]()[_0x5c3266([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2b2788,_0x1fd3b6])=>{_0x527567(_0x2b2788),_0x369d86(_0x1fd3b6);}):_0x527567(window[_0x5c3266([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x689a65));}return _0x369d86(_0x15320e),_0x54b6f1>>>0x0;}function _0x51066a(_0x46783f){return _0x46783f[_0x5c3266([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5c3266([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5c3266([0x30]));}function _0x37fd6b(_0xd6617c){return _0xd6617c[_0x5c3266([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5c3266([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5c3266([0x6a,0x6f,0x69,0x6e])]('');}function _0x509d11(){}function _0x5c3266(_0x16cff4){const _0x4ff61d=_0x157f;return _0x16cff4[_0x4ff61d(0x1e2)](_0x1b6017=>String[_0x4ff61d(0x1d5)](_0x1b6017))[_0x4ff61d(0x1f8)]('');}_0x2d3669(await _0x581537());}(this);}[_0x4ffe24(0x1e1)](_0x5d0f38){const _0x54a80e=_0x4ffe24,{ui:_0x190390,locale:_0x24ea9f}=this[_0x54a80e(0x20a)],_0x297089=_getOptions(_0x24ea9f)[_0x54a80e(0x1ff)](_0x335aef=>_0x335aef[_0x54a80e(0x1f3)]===_0x5d0f38)[_0x54a80e(0x1e3)][_0x54a80e(0x1ed)]();_0x190390[_0x54a80e(0x20f)][_0x54a80e(0x1ea)](_0x3813dd(_0x24ea9f,_0x54a80e(0x1ee),_0x297089));}}export function _getOptions(_0x28ac50){const _0x42ea78=_0x4ffe24;return[{'label':_0x3813dd(_0x28ac50,_0x42ea78(0x1fe)),'commandName':_0x42ea78(0x1da)},{'label':_0x3813dd(_0x28ac50,_0x42ea78(0x201)),'commandName':_0x42ea78(0x1fb)},{'label':_0x3813dd(_0x28ac50,_0x42ea78(0x1f1)),'commandName':_0x42ea78(0x206)}];}
|