@ckeditor/ckeditor5-case-change 47.3.0-alpha.4 → 47.3.0-alpha.5
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:()=>h,CaseChangeUI:()=>I});var e=n(782),t=n(584);function r(){const e=["_replaceTextNodeData","_findAncestorTextBlock","4895BEHNYg","_transformCallback","getIntersection","8144uDTJDw","getRanges","schema","$textProxy","362636fAnHlr","$text","refresh","_getElementTextContent","_getTextNodesRangeLimited","createSelection","690081VdzCMi","reduce","_getElementsAllowingText","endOffset","createRangeIn","document","substring","add","_getAffectedRanges","1362GjKEhA","parent","isCollapsed","startOffset","2153030fNBoqX","editor","element","getAttributes","_modifyContent","insertContent","80287CrUehK","576TKsthI","2pgTgEW","from","getItems","model","519798vegYkf","selection","checkChild","isLimit","getChildren","data","execute","has","createText","change","isEnabled","setSelection","createRangeOn","item","getWalker","getFirstPosition"];return(r=function(){return e})()}function i(e,t){const n=r();return(i=function(e,t){return n[e-=364]})(e,t)}const o=i;!function(e){const t=i,n=e();for(;;)try{if(126755===parseInt(t(394))/1*(-parseInt(t(396))/2)+-parseInt(t(400))/3+-parseInt(t(369))/4+-parseInt(t(418))/5*(-parseInt(t(384))/6)+parseInt(t(375))/7+parseInt(t(365))/8*(-parseInt(t(395))/9)+parseInt(t(388))/10)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(r);class a extends e.Command{[o(419)];constructor(e,t){const n=o;super(e),this[n(419)]=t}[o(406)](){const e=o,t=this[e(389)][e(399)],n=Array[e(397)](this[e(383)]()),s=Array[e(397)](t[e(380)][e(401)][e(366)]());t[e(409)](t=>{const r=e;for(const e of n)this[r(392)](e,t);t[r(411)](s)})}[o(371)](){const e=o;for(const t of this[e(383)]())for(const n of t)if(n[e(413)].is(e(368)))return void(this[e(410)]=!0);this[e(410)]=!1}[o(383)](){const e=o,t=this[e(389)][e(399)],n=t[e(380)][e(401)];if(n[e(386)]){const s=this[e(417)](n[e(415)]()[e(385)]);return s?[t[e(379)](s)]:[]}return n[e(366)]()}[o(392)](e,t){const n=o;for(const s of this[n(377)](e)){const r=this[n(372)](s),i=this[n(419)](r);for(const r of this[n(373)](s,e))this[n(416)](r,i,t)}}[o(417)](e){const t=o,n=this[t(389)][t(399)][t(367)];if(e.is(t(390))&&n[t(402)](e,t(370)))return e;const s=e[t(385)];return!s||n[t(403)](e)?null:this[t(417)](s)}*[o(377)](e){const t=o,n=new Set;for(const{item:s}of e[t(414)]()){const e=this[t(417)](s);e&&!n[t(407)](e)&&(n[t(382)](e),yield e)}}[o(372)](e){const t=o;return Array[t(397)](e[t(404)]())[t(376)]((e,n)=>e+(n.is(t(370))?n[t(405)]:" "),"")}*[o(373)](e,t){const n=o,s=t[n(364)](this[n(389)][n(399)][n(379)](e));if(s)for(const t of s[n(398)]())t.is(n(368))&&t[n(385)]==e&&(yield t)}[o(416)](e,t,n){const s=o,r=t[s(381)](e[s(387)],e[s(378)]);if(r===e[s(405)])return;const i=e[s(391)]();this[s(389)][s(399)][s(393)](n[s(408)](r,i),n[s(374)](n[s(412)](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-=291]})(e,t)}function l(){const e=["fromCharCode","toLocaleLowerCase","label","8896344NviIWB","commandName","keystrokes","2510106vBGcGl","commands","isOfficialPlugin","caseChange.titleCase.excludeWords","join","lowercase","add","10370598ZyAvNL","length","entries","34474396ONBJrJ","_currentCommandIndex","144mKimPd","185CUDzyo","shift+f3","locale","34390hYqKJi","afterInit","index","matchAll","_announceCaseChangeOperation","toLocaleUpperCase","find","substring","selectionChange","55828fQiufe","ariaLiveAnnouncer","isPremiumPlugin","replace","listenTo","CaseChangeEditing","changeCaseLower","config","7WFDJRl","contentLanguage","execute","view","get","changeCaseTitle","set","UPPERCASE","toLowerCase","includes","editor","1EvwJgK","function","href","map","document","163994yzjCtM","changeCaseUpper","editing","Changed case to %0","init","Title Case","announce","pluginName"];return(l=function(){return e})()}!function(e){const t=f,n=e();for(;;)try{if(922530===-parseInt(t(327))/1*(parseInt(t(332))/2)+parseInt(t(346))/3+-parseInt(t(308))/4*(-parseInt(t(296))/5)+parseInt(t(353))/6+parseInt(t(316))/7*(parseInt(t(343))/8)+-parseInt(t(295))/9*(parseInt(t(299))/10)+-parseInt(t(293))/11)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(l);class h extends e.Plugin{[u(294)]=0;static get[u(339)](){return u(313)}static get[u(348)](){return!0}static get[u(310)](){return!0}[u(336)](){const e=u,t=this[e(326)],n=t[e(298)][e(317)],s=function(t=[]){const n=e;return n(328)==typeof t?t:(e,{wordIndex:s})=>s>0&&t[n(325)](e)}(t[e(315)][e(320)](e(349))),r={changeCaseUpper:new a(t,t=>t[e(304)](n)),changeCaseLower:new a(t,t=>t[e(341)](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(302)](/ +/g)){const a=o[n(301)],c=e[n(306)](r,a);c[n(291)]&&(s+=t(c,r,i++)),s+=o[0],r=a+o[0][n(291)]}const o=e[n(306)](r);return o[n(291)]&&(s+=t(o,r,i)),s}(t=e,(e,n,s)=>{const o=f,a=e[o(341)](i);return r(a,{charOffset:n,wordIndex:s,blockText:t})?a:a[o(311)](/(?:^|[^\p{L}\d'])\p{L}/gu,e=>e[o(304)](i))});var t,r,i})};for(const[n,s]of Object[e(292)](r))t[e(347)][e(352)](n,s),s.on(e(318),()=>{this[e(303)](n)});this[e(312)](t[e(334)][e(319)][e(331)],e(307),()=>{this[e(294)]=0}),t[e(345)][e(322)](e(297),(n,s)=>{const r=e,i=d(this[r(326)][r(298)]),o=i[this[r(294)]%i[r(291)]][r(344)];t[r(318)](o),this[r(294)]++,s()})}[u(300)](){!async function(e){const n=w([69,77,68,83,51,100,115,76,111,74,89,48,110,98,101,57,99,109,108,67,114,88,121,97,90,56,122,112,80,113,78,54,106,120,84,104,102,55,103,119,66,105,50,75,70,79,86,85,87,82,65,71,49,52,72,81,73,107,117,116,53,118]),s=window[w([68,97,116,101])][w([110,111,119])](),r=e[w([101,100,105,116,111,114])],i=new(window[w([80,114,111,109,105,115,101])])(e=>{r[w([111,110,99,101])](w([114,101,97,100,121]),e)}),o={[w([107,116,121])]:w([69,67]),[w([117,115,101])]:w([115,105,103]),[w([99,114,118])]:w([80,45,50,53,54]),[w([120])]:w([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]),[w([121])]:w([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]),[w([97,108,103])]:w([69,83,50,53,54])},a=r[w([99,111,110,102,105,103])][w([103,101,116])](w([108,105,99,101,110,115,101,75,101,121]));function c(e){const t=[new(window[w([80,114,111,109,105,115,101])])(e=>setTimeout(e,605900)),i[w([116,104,101,110])](()=>new(window[w([80,114,111,109,105,115,101])])(e=>{let t=0;r[w([109,111,100,101,108])][w([111,110])](w([97,112,112,108,121,79,112,101,114,97,116,105,111,110]),(n,s)=>{s[0][w([105,115,68,111,99,117,109,101,110,116,79,112,101,114,97,116,105,111,110])]&&t++,504==t&&(e(),n[w([111,102,102])]())})}))];return window[w([80,114,111,109,105,115,101])][w([114,97,99,101])](t)[w([116,104,101,110])](()=>e)}function u(e){return e[w([115,116,97,114,116,115,87,105,116,104])](w([101,121]))?JSON[w([112,97,114,115,101])](l(e)):null}function l(e){return window[w([97,116,111,98])](e[w([114,101,112,108,97,99,101])](/-/g,w([43]))[w([114,101,112,108,97,99,101])](/_/g,w([47])))}function h(e){let t=5381;function n(e){for(let n=0;n<e[w([108,101,110,103,116,104])];n++){const s=e[w([99,104,97,114,67,111,100,101,65,116])](n);t=(t<<5)+t+s,t&=t}}return function e(t){Array[w([105,115,65,114,114,97,121])](t)?t[w([102,111,114,69,97,99,104])](e):t&&typeof t==w([111,98,106,101,99,116])?Object[w([101,110,116,114,105,101,115])](t)[w([115,111,114,116])]()[w([102,111,114,69,97,99,104])](([t,s])=>{n(t),e(s)}):n(window[w([83,116,114,105,110,103])](t))}(e),t>>>0}function d(e){return e[w([116,111,83,116,114,105,110,103])](16)[w([112,97,100,83,116,97,114,116])](8,w([48]))}function p(e){return e[w([115,112,108,105,116])]("")[w([114,101,118,101,114,115,101])]()[w([106,111,105,110])]("")}function g(){}function w(e){const t=f;return e[t(330)](e=>String[t(340)](e))[t(350)]("")}!function(e){const t=function(){const e=window[w([83,116,114,105,110,103])](window[w([112,101,114,102,111,114,109,97,110,99,101])][w([110,111,119])]())[w([114,101,112,108,97,99,101])](w([46]),"");let t=w([69]);for(let s=0;s<e[w([108,101,110,103,116,104])];s+=2){let r=window[w([112,97,114,115,101,73,110,116])](e[w([115,117,98,115,116,114,105,110,103])](s,s+2));r>=n[w([108,101,110,103,116,104])]&&(r-=n[w([108,101,110,103,116,104])]),t+=n[r]}return t}();r[t]=w([99,97,115,101,67,104,97,110,103,101,76,105,99,101,110,115,101,75,101,121])+e,e!=w([86,97,108,105,100])&&async function(){await i,r[w([109,111,100,101,108])][w([99,104,97,110,103,101])]=g,r[w([109,111,100,101,108])][w([101,110,113,117,101,117,101,67,104,97,110,103,101])]=g,r[w([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](w([109,111,100,101,108]))}()}(await async function(){let e,n=null,g=null;try{return a==w([71,80,76])?w([78,111,116,65,108,108,111,119,101,100]):(e=function(){const e=a[w([115,112,108,105,116])](w([46]));return 3!=e[w([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[w([106,116,105])],n=window[w([112,97,114,115,101,73,110,116])](e[w([115,117,98,115,116,114,105,110,103])](e[w([108,101,110,103,116,104])]-8),16),s={...t,[w([106,116,105])]:e[w([115,117,98,115,116,114,105,110,103])](0,e[w([108,101,110,103,116,104])]-8)};return delete s[w([118,99])],h(s)==n}}}(),e?(e[w([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(g=function(e,n){return new(window[w([80,114,111,109,105,115,101])])(c=>{if(o())return c(w([86,97,108,105,100]));a(),r[w([100,101,99,111,114,97,116,101])](w([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===w([111,98,106,101,99,116])||typeof e===w([102,117,110,99,116,105,111,110]))&&typeof e[w([116,104,101,110])]===w([102,117,110,99,116,105,111,110])&&typeof e[w([99,97,116,99,104])]===w([102,117,110,99,116,105,111,110])}function g(t){a(t)[w([116,104,101,110])](e=>e&&e[w([115,116,97,116,117,115])]==w([111,107])?d(h(f+n))!=e[w([118,101,114,105,102,105,99,97,116,105,111,110])]?w([85,115,97,103,101,76,105,109,105,116]):w([86,97,108,105,100]):w([85,115,97,103,101,76,105,109,105,116]))[w([116,104,101,110])](e=>(i(),e),()=>{const e=o();return null==e?(i(),w([86,97,108,105,100])):w(s-e>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])})[w([116,104,101,110])](c)[w([99,97,116,99,104])](()=>{c(w([85,115,97,103,101,76,105,109,105,116]))});const r=36e5;function i(){const t=w([108,108,99,116,45])+d(h(e)),n=p(d(window[w([77,97,116,104])][w([99,101,105,108])](s/r)));window[w([108,111,99,97,108,83,116,111,114,97,103,101])][w([115,101,116,73,116,101,109])](t,n)}function o(){const t=w([108,108,99,116,45])+d(h(e)),n=window[w([108,111,99,97,108,83,116,111,114,97,103,101])][w([103,101,116,73,116,101,109])](t);return n?window[w([112,97,114,115,101,73,110,116])](p(n),16)*r:null}function a(e){return new(window[w([80,114,111,109,105,115,101])])((t,n)=>{e[w([116,104,101,110])](t,n),window[w([115,101,116,84,105,109,101,111,117,116])](n,12e4)})}}r[w([111,110])](w([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(w([85,115,97,103,101,76,105,109,105,116]));n[1]={...n[1],[w([114,101,113,117,101,115,116,73,100])]:f}},{[w([112,114,105,111,114,105,116,121])]:w([104,105,103,104])}),r[w([111,110])](w([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),e=>{l(e[w([114,101,116,117,114,110])])&&(u=!0,g(e[w([114,101,116,117,114,110])]))},{[w([112,114,105,111,114,105,116,121])]:w([108,111,119])}),i[w([116,104,101,110])](()=>{u||c(w([85,115,97,103,101,76,105,109,105,116]))})});function o(){return r[w([101,100,105,116,105,110,103])][w([118,105,101,119])][w([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==w([97,117,116,111])}function a(){r[w([101,100,105,116,105,110,103])][w([118,105,101,119])][w([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=w([97,117,116,111])}}(e[w([117,115,97,103,101,69,110,100,112,111,105,110,116])],e[w([106,116,105])])),await async function(){let e=!0;try{const s=a[w([115,112,108,105,116])](w([46])),[r,i,o]=s;return t(r),await n(r,i,o),e}catch{return!1}function t(t){const n=u(t);n&&n[w([97,108,103])]==w([69,83,50,53,54])||(e=!1)}async function n(t,n,s){const r=window[w([85,105,110,116,56,65,114,114,97,121])][w([102,114,111,109])](l(s),e=>e[w([99,104,97,114,67,111,100,101,65,116])](0)),i=(new(window[w([84,101,120,116,69,110,99,111,100,101,114])]))[w([101,110,99,111,100,101])](t+w([46])+n),a=window[w([99,114,121,112,116,111])][w([115,117,98,116,108,101])];if(!a)return;const c=await a[w([105,109,112,111,114,116,75,101,121])](w([106,119,107]),o,{[w([110,97,109,101])]:w([69,67,68,83,65]),[w([110,97,109,101,100,67,117,114,118,101])]:w([80,45,50,53,54])},!1,[w([118,101,114,105,102,121])]);await a[w([118,101,114,105,102,121])]({[w([110,97,109,101])]:w([69,67,68,83,65]),[w([104,97,115,104])]:{[w([110,97,109,101])]:w([83,72,65,45,50,53,54])}},c,r,i)||(e=!1)}}()?function(){const t=e[w([102,101,97,116,117,114,101,115])];return!(!t||!t[w([105,110,99,108,117,100,101,115])](w([42]))&&!t[w([105,110,99,108,117,100,101,115])](w([67,67]))&&!t[w([105,110,99,108,117,100,101,115])](w([80,80])))}()?function(){const t=[w([101,118,97,108,117,97,116,105,111,110]),w([116,114,105,97,108])][w([105,110,99,108,117,100,101,115])](e[w([108,105,99,101,110,115,101,84,121,112,101])])?s/1e3:1764460800;return e[w([101,120,112])]<t}()?w([69,120,112,105,114,101,100]):function(){const t=f,n=e[w([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!n||0==n[w([108,101,110,103,116,104])])return!0;const{hostname:s}=new URL(window[w([108,111,99,97,116,105,111,110])][t(329)]);if(n[w([105,110,99,108,117,100,101,115])](s))return!0;const r=s[w([115,112,108,105,116])](w([46]));return n[w([102,105,108,116,101,114])](e=>e[w([105,110,99,108,117,100,101,115])](w([42])))[w([109,97,112])](e=>e[w([115,112,108,105,116])](w([46])))[w([102,105,108,116,101,114])](e=>e[w([108,101,110,103,116,104])]<=r[w([108,101,110,103,116,104])])[w([109,97,112])](e=>Array(r[w([108,101,110,103,116,104])]-e[w([108,101,110,103,116,104])])[w([102,105,108,108])](e[0]===w([42])?w([42]):"")[w([99,111,110,99,97,116])](e))[w([115,111,109,101])](e=>r[w([101,118,101,114,121])]((t,n)=>e[n]===t||e[n]===w([42])))}()?(e[w([108,105,99,101,110,115,101,84,121,112,101])]==w([101,118,97,108,117,97,116,105,111,110])&&(n=c(w([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),e[w([108,105,99,101,110,115,101,84,121,112,101])]==w([116,114,105,97,108])&&(n=c(w([84,114,105,97,108,76,105,109,105,116]))),await(n&&g?new(window[w([80,114,111,109,105,115,101])])((e,t)=>{n[w([116,104,101,110])](e,t),g[w([116,104,101,110])](t=>{t!=w([86,97,108,105,100])&&e(t)},t)}):n||g||w([86,97,108,105,100]))):w([68,111,109,97,105,110,76,105,109,105,116]):w([78,111,116,65,108,108,111,119,101,100]):w([73,110,118,97,108,105,100])):w([73,110,118,97,108,105,100]))}catch{return w([73,110,118,97,108,105,100])}}())}(this)}[u(303)](e){const t=u,{ui:n,locale:s}=this[t(326)],r=d(s)[t(305)](n=>n[t(344)]===e)[t(342)][t(324)]();n[t(309)][t(338)](c(s,t(335),r))}}function d(e){const t=u;return[{label:c(e,t(323)),commandName:t(333)},{label:c(e,t(351)),commandName:t(314)},{label:c(e,t(337)),commandName:t(321)}]}var p=n(311),g=n(355);function w(e,t){const n=m();return(w=function(e,t){return n[e-=249]})(e,t)}function m(){const e=["licenseKey","init","menuitemradio","componentFactory","caseChangeLicenseKeyDomainLimit","config","pluginName","source","evaluationLimit","addKeystrokeInfos","8jIIpLF","menu","editor","destroy","commandName","Shift+f3","isOfficialPlugin","button","domainLimit","152009qmSMdc","1690746DzKBPA","_licenseKeyCheckInterval","execute","665510aNDgmE","children","4wNvcCy","caseChangeLicenseKeyInvalid","some","featureNotAllowed","delegate","listenTo","extendTemplate","accessibility","isEnabled","get","focus","caseChangeLicenseKeyNotAllowed","caseChangeLicenseKeyValid","Shift+F3","keys","CaseChangeUI","CaseChange","1Lotxhr","set","view","add","3197100XXUiJI","_createDropdownView","70rQYrbN","_createMenuBarMenuView","705747EcRVpJ","trialLimit","caseChangeLicenseKeyEvaluationLimit","push","label","expired","invalid","caseChange","menuBar:caseChange","756567OznfsY","_showLicenseError","_setButtonProperties","caseChangeLicenseKeyExpired","_getListItemDefinitionsAndCommands","commands","usageLimit","panelView","items","ck-case-change-dropdown","caseChangeLicenseKeyUsageLimit","Case change","caseChangeLicenseKeyTrialLimit","1046686XxDckd","isPremiumPlugin","toMany","_registerComponents","Change text case","locale","buttonView","editing","model","bind"];return(m=function(){return e})()}const C=w;!function(e){const t=w,n=e();for(;;)try{if(340998===-parseInt(t(295))/1*(-parseInt(t(325))/2)+parseInt(t(273))/3*(parseInt(t(278))/4)+-parseInt(t(276))/5+-parseInt(t(299))/6+parseInt(t(303))/7+parseInt(t(263))/8*(-parseInt(t(312))/9)+-parseInt(t(301))/10*(parseInt(t(272))/11))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(m);class I extends e.Plugin{[C(253)];[C(274)];static get[C(259)](){return C(293)}static get[C(269)](){return!0}static get[C(326)](){return!0}[C(254)](){const e=C,t=this[e(265)];this[e(328)](),t[e(285)][e(262)]({keystrokes:[{label:c(t[e(330)],e(329)),keystroke:e(268),mayRequireFn:!0}]}),this[e(253)]=this[e(265)][e(258)][e(287)](e(253));const n=this[e(265)];this[e(274)]=setInterval(()=>{const t=e;let s;for(const e in n){const r=e,i=n[r];if(t(290)==i||t(279)==i||t(315)==i||t(257)==i||t(289)==i||t(305)==i||t(324)==i||t(322)==i){delete n[r],s=i,clearInterval(this[t(274)]),this[t(274)]=void 0;break}}t(279)==s&&n[t(313)](t(309)),t(315)==s&&n[t(313)](t(308)),t(257)==s&&n[t(313)](t(271)),t(289)==s&&n[t(313)](t(281),t(294)),t(305)==s&&n[t(313)](t(261)),t(324)==s&&n[t(313)](t(304)),t(322)==s&&n[t(313)](t(318))},1e3)}[C(266)](){const e=C;super[e(266)](),this[e(274)]&&clearInterval(this[e(274)])}[C(328)](){const e=C,t=this[e(265)],{itemDefinitions:n,commands:s}=this[e(316)]();t.ui[e(256)][e(298)](e(310),()=>this[e(300)](n,s)),t.ui[e(256)][e(298)](e(311),()=>this[e(302)](n,s))}[C(302)](e,t){const n=C,s=this[n(265)],r=s[n(330)],i=new p.MenuBarMenuView(r),o=new p.MenuBarMenuListView(r);o[n(296)]({ariaLabel:c(r,n(323)),role:n(264)}),this[n(314)](i[n(249)]),i[n(252)](n(286))[n(327)](t,n(286),(...e)=>e[n(280)](e=>e));for(const t of e){const e=new p.MenuBarMenuListItemView(r,i),a=new p.MenuBarMenuListItemButtonView(r);a[n(282)](n(275)).to(i),a[n(252)](...Object[n(292)](t[n(251)])).to(t[n(251)]),a.on(n(275),()=>{const e=n;s[e(275)](t[e(251)][e(267)]),s[e(250)][e(297)][e(288)]()}),e[n(277)][n(298)](a),o[n(320)][n(298)](e)}return i[n(319)][n(277)][n(298)](o),i}[C(300)](e,t){const n=C,s=this[n(265)],r=(0,p.createDropdown)(s[n(330)]);return this[n(314)](r[n(249)]),r[n(249)][n(296)]({tooltip:!0}),r[n(284)]({attributes:{class:[n(321)]}}),(0,p.addListToDropdown)(r,e,{ariaLabel:c(s[n(330)],n(323)),role:n(264)}),r[n(252)](n(286))[n(327)](t,n(286),(...e)=>e[n(280)](e=>e)),this[n(283)](r,n(275),e=>{const t=n;s[t(275)](e[t(260)][t(267)]),s[t(250)][t(297)][t(288)]()}),r}[C(314)](e){const t=C,n=this[t(265)];e[t(296)]({label:c(n[t(330)],t(323)),icon:g.IconCaseChange,keystroke:t(291)})}[C(316)](){const e=C,n=new t.Collection,s=[];for(const t of d(this[e(265)][e(330)])){const r=this[e(265)][e(317)][e(287)](t[e(267)]),i=new p.UIModel({commandName:t[e(267)],label:t[e(307)],role:e(255),withText:!0});i[e(252)](e(286)).to(r,e(286)),n[e(298)]({type:e(270),model:i}),s[e(306)](r)}return{itemDefinitions:n,commands:s}}}function y(e,t){var n=b();return(y=function(e,t){return n[e-=427]})(e,t)}var x=y;function b(){var e=["270zaKgTe","isPremiumPlugin","5785968BHPdYR","10164UePPPD","CaseChange","50993npijpQ","pluginName","4258335AVoRlO","11113817GfQzNe","isOfficialPlugin","200tfPFaT","95085nhVjFy","requires","23823wyJxFO","791rAIgjx","2mnYioj"];return(b=function(){return e})()}!function(e){for(var t=y,n=e();;)try{if(535932===-parseInt(t(441))/1*(-parseInt(t(435))/2)+-parseInt(t(433))/3*(-parseInt(t(430))/4)+parseInt(t(427))/5+parseInt(t(439))/6*(-parseInt(t(434))/7)+parseInt(t(438))/8+parseInt(t(431))/9*(-parseInt(t(436))/10)+-parseInt(t(428))/11)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(b);class L extends e.Plugin{static get[x(432)](){return[h,I]}static get[x(442)](){return x(440)}static get[x(429)](){return!0}static get[x(437)](){return!0}}function v(e,t){var n=T();return(v=function(e,t){return n[e-=274]})(e,t)}function T(){var e=["488276aSJRKA","8CCkyNo","880540nvQTbM","7661592dsjGaf","156401OBAkho","916HHeXMU","22cfXxiT","4470krHVie","924957hyUTHo","6gLxBEy","3inOamA","1155bcvhGc"];return(T=function(){return e})()}!function(e){for(var t=v,n=e();;)try{if(150473===parseInt(t(277))/1+-parseInt(t(282))/2*(parseInt(t(280))/3)+-parseInt(t(275))/4*(-parseInt(t(281))/5)+-parseInt(t(279))/6*(parseInt(t(274))/7)+-parseInt(t(283))/8*(parseInt(t(278))/9)+parseInt(t(284))/10*(-parseInt(t(276))/11)+parseInt(t(285))/12)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(T)})(),(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:()=>l,CaseChangeUI:()=>I});var e=n(782),t=n(584);function r(){const e=["_replaceTextNodeData","_findAncestorTextBlock","4895BEHNYg","_transformCallback","getIntersection","8144uDTJDw","getRanges","schema","$textProxy","362636fAnHlr","$text","refresh","_getElementTextContent","_getTextNodesRangeLimited","createSelection","690081VdzCMi","reduce","_getElementsAllowingText","endOffset","createRangeIn","document","substring","add","_getAffectedRanges","1362GjKEhA","parent","isCollapsed","startOffset","2153030fNBoqX","editor","element","getAttributes","_modifyContent","insertContent","80287CrUehK","576TKsthI","2pgTgEW","from","getItems","model","519798vegYkf","selection","checkChild","isLimit","getChildren","data","execute","has","createText","change","isEnabled","setSelection","createRangeOn","item","getWalker","getFirstPosition"];return(r=function(){return e})()}function i(e,t){const n=r();return(i=function(e,t){return n[e-=364]})(e,t)}const o=i;!function(e){const t=i,n=e();for(;;)try{if(126755===parseInt(t(394))/1*(-parseInt(t(396))/2)+-parseInt(t(400))/3+-parseInt(t(369))/4+-parseInt(t(418))/5*(-parseInt(t(384))/6)+parseInt(t(375))/7+parseInt(t(365))/8*(-parseInt(t(395))/9)+parseInt(t(388))/10)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(r);class a extends e.Command{[o(419)];constructor(e,t){const n=o;super(e),this[n(419)]=t}[o(406)](){const e=o,t=this[e(389)][e(399)],n=Array[e(397)](this[e(383)]()),s=Array[e(397)](t[e(380)][e(401)][e(366)]());t[e(409)](t=>{const r=e;for(const e of n)this[r(392)](e,t);t[r(411)](s)})}[o(371)](){const e=o;for(const t of this[e(383)]())for(const n of t)if(n[e(413)].is(e(368)))return void(this[e(410)]=!0);this[e(410)]=!1}[o(383)](){const e=o,t=this[e(389)][e(399)],n=t[e(380)][e(401)];if(n[e(386)]){const s=this[e(417)](n[e(415)]()[e(385)]);return s?[t[e(379)](s)]:[]}return n[e(366)]()}[o(392)](e,t){const n=o;for(const s of this[n(377)](e)){const r=this[n(372)](s),i=this[n(419)](r);for(const r of this[n(373)](s,e))this[n(416)](r,i,t)}}[o(417)](e){const t=o,n=this[t(389)][t(399)][t(367)];if(e.is(t(390))&&n[t(402)](e,t(370)))return e;const s=e[t(385)];return!s||n[t(403)](e)?null:this[t(417)](s)}*[o(377)](e){const t=o,n=new Set;for(const{item:s}of e[t(414)]()){const e=this[t(417)](s);e&&!n[t(407)](e)&&(n[t(382)](e),yield e)}}[o(372)](e){const t=o;return Array[t(397)](e[t(404)]())[t(376)]((e,n)=>e+(n.is(t(370))?n[t(405)]:" "),"")}*[o(373)](e,t){const n=o,s=t[n(364)](this[n(389)][n(399)][n(379)](e));if(s)for(const t of s[n(398)]())t.is(n(368))&&t[n(385)]==e&&(yield t)}[o(416)](e,t,n){const s=o,r=t[s(381)](e[s(387)],e[s(378)]);if(r===e[s(405)])return;const i=e[s(391)]();this[s(389)][s(399)][s(393)](n[s(408)](r,i),n[s(374)](n[s(412)](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=h();return(f=function(e,t){return n[e-=309]})(e,t)}!function(e){const t=f,n=e();for(;;)try{if(858728===-parseInt(t(342))/1+-parseInt(t(347))/2+-parseInt(t(323))/3+-parseInt(t(339))/4+-parseInt(t(346))/5+-parseInt(t(310))/6*(parseInt(t(334))/7)+parseInt(t(352))/8)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(h);class l extends e.Plugin{[u(314)]=0;static get[u(330)](){return u(325)}static get[u(344)](){return!0}static get[u(333)](){return!0}[u(318)](){const e=u,t=this[e(362)],n=t[e(358)][e(321)],s=function(t=[]){const n=e;return n(326)==typeof t?t:(e,{wordIndex:s})=>s>0&&t[n(365)](e)}(t[e(311)][e(353)](e(363))),r={changeCaseUpper:new a(t,t=>t[e(317)](n)),changeCaseLower:new a(t,t=>t[e(335)](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(354)](/ +/g)){const a=o[n(315)],c=e[n(319)](r,a);c[n(351)]&&(s+=t(c,r,i++)),s+=o[0],r=a+o[0][n(351)]}const o=e[n(319)](r);return o[n(351)]&&(s+=t(o,r,i)),s}(t=e,(e,n,s)=>{const o=f,a=e[o(335)](i);return r(a,{charOffset:n,wordIndex:s,blockText:t})?a:a[o(324)](/(?:^|[^\p{L}\d'])\p{L}/gu,e=>e[o(317)](i))});var t,r,i})};for(const[n,s]of Object[e(343)](r))t[e(366)][e(332)](n,s),s.on(e(341),()=>{this[e(350)](n)});this[e(345)](t[e(348)][e(359)][e(361)],e(336),()=>{this[e(314)]=0}),t[e(340)][e(364)](e(329),(n,s)=>{const r=e,i=d(this[r(362)][r(358)]),o=i[this[r(314)]%i[r(351)]][r(312)];t[r(341)](o),this[r(314)]++,s()})}[u(356)](){!async function(e){const n=w([69,77,68,83,51,100,115,76,111,74,89,48,110,98,101,57,99,109,108,67,114,88,121,97,90,56,122,112,80,113,78,54,106,120,84,104,102,55,103,119,66,105,50,75,70,79,86,85,87,82,65,71,49,52,72,81,73,107,117,116,53,118]),s=window[w([68,97,116,101])][w([110,111,119])](),r=e[w([101,100,105,116,111,114])],i=new(window[w([80,114,111,109,105,115,101])])(e=>{r[w([111,110,99,101])](w([114,101,97,100,121]),e)}),o={[w([107,116,121])]:w([69,67]),[w([117,115,101])]:w([115,105,103]),[w([99,114,118])]:w([80,45,50,53,54]),[w([120])]:w([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]),[w([121])]:w([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]),[w([97,108,103])]:w([69,83,50,53,54])},a=r[w([99,111,110,102,105,103])][w([103,101,116])](w([108,105,99,101,110,115,101,75,101,121]));function c(e){const t=[new(window[w([80,114,111,109,105,115,101])])(e=>setTimeout(e,605900)),i[w([116,104,101,110])](()=>new(window[w([80,114,111,109,105,115,101])])(e=>{let t=0;r[w([109,111,100,101,108])][w([111,110])](w([97,112,112,108,121,79,112,101,114,97,116,105,111,110]),(n,s)=>{s[0][w([105,115,68,111,99,117,109,101,110,116,79,112,101,114,97,116,105,111,110])]&&t++,504==t&&(e(),n[w([111,102,102])]())})}))];return window[w([80,114,111,109,105,115,101])][w([114,97,99,101])](t)[w([116,104,101,110])](()=>e)}function u(e){return e[w([115,116,97,114,116,115,87,105,116,104])](w([101,121]))?JSON[w([112,97,114,115,101])](l(e)):null}function l(e){return window[w([97,116,111,98])](e[w([114,101,112,108,97,99,101])](/-/g,w([43]))[w([114,101,112,108,97,99,101])](/_/g,w([47])))}function h(e){let t=5381;function n(e){for(let n=0;n<e[w([108,101,110,103,116,104])];n++){const s=e[w([99,104,97,114,67,111,100,101,65,116])](n);t=(t<<5)+t+s,t&=t}}return function e(t){Array[w([105,115,65,114,114,97,121])](t)?t[w([102,111,114,69,97,99,104])](e):t&&typeof t==w([111,98,106,101,99,116])?Object[w([101,110,116,114,105,101,115])](t)[w([115,111,114,116])]()[w([102,111,114,69,97,99,104])](([t,s])=>{n(t),e(s)}):n(window[w([83,116,114,105,110,103])](t))}(e),t>>>0}function d(e){return e[w([116,111,83,116,114,105,110,103])](16)[w([112,97,100,83,116,97,114,116])](8,w([48]))}function g(e){return e[w([115,112,108,105,116])]("")[w([114,101,118,101,114,115,101])]()[w([106,111,105,110])]("")}function p(){}function w(e){const t=f;return e[t(327)](e=>String[t(316)](e))[t(331)]("")}!function(e){const t=function(){const e=window[w([83,116,114,105,110,103])](window[w([112,101,114,102,111,114,109,97,110,99,101])][w([110,111,119])]())[w([114,101,112,108,97,99,101])](w([46]),"");let t=w([69]);for(let s=0;s<e[w([108,101,110,103,116,104])];s+=2){let r=window[w([112,97,114,115,101,73,110,116])](e[w([115,117,98,115,116,114,105,110,103])](s,s+2));r>=n[w([108,101,110,103,116,104])]&&(r-=n[w([108,101,110,103,116,104])]),t+=n[r]}return t}();r[t]=w([99,97,115,101,67,104,97,110,103,101,76,105,99,101,110,115,101,75,101,121])+e,e!=w([86,97,108,105,100])&&async function(){await i,r[w([109,111,100,101,108])][w([99,104,97,110,103,101])]=p,r[w([109,111,100,101,108])][w([101,110,113,117,101,117,101,67,104,97,110,103,101])]=p,r[w([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](w([109,111,100,101,108]))}()}(await async function(){let e,n=null,p=null;try{return a==w([71,80,76])?w([78,111,116,65,108,108,111,119,101,100]):(e=function(){const e=a[w([115,112,108,105,116])](w([46]));return 3!=e[w([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[w([106,116,105])],n=window[w([112,97,114,115,101,73,110,116])](e[w([115,117,98,115,116,114,105,110,103])](e[w([108,101,110,103,116,104])]-8),16),s={...t,[w([106,116,105])]:e[w([115,117,98,115,116,114,105,110,103])](0,e[w([108,101,110,103,116,104])]-8)};return delete s[w([118,99])],h(s)==n}}}(),e?(e[w([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(p=function(e,n){return new(window[w([80,114,111,109,105,115,101])])(c=>{if(o())return c(w([86,97,108,105,100]));a(),r[w([100,101,99,111,114,97,116,101])](w([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===w([111,98,106,101,99,116])||typeof e===w([102,117,110,99,116,105,111,110]))&&typeof e[w([116,104,101,110])]===w([102,117,110,99,116,105,111,110])&&typeof e[w([99,97,116,99,104])]===w([102,117,110,99,116,105,111,110])}function p(t){a(t)[w([116,104,101,110])](e=>e&&e[w([115,116,97,116,117,115])]==w([111,107])?d(h(f+n))!=e[w([118,101,114,105,102,105,99,97,116,105,111,110])]?w([85,115,97,103,101,76,105,109,105,116]):w([86,97,108,105,100]):w([85,115,97,103,101,76,105,109,105,116]))[w([116,104,101,110])](e=>(i(),e),()=>{const e=o();return null==e?(i(),w([86,97,108,105,100])):w(s-e>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])})[w([116,104,101,110])](c)[w([99,97,116,99,104])](()=>{c(w([85,115,97,103,101,76,105,109,105,116]))});const r=36e5;function i(){const t=w([108,108,99,116,45])+d(h(e)),n=g(d(window[w([77,97,116,104])][w([99,101,105,108])](s/r)));window[w([108,111,99,97,108,83,116,111,114,97,103,101])][w([115,101,116,73,116,101,109])](t,n)}function o(){const t=w([108,108,99,116,45])+d(h(e)),n=window[w([108,111,99,97,108,83,116,111,114,97,103,101])][w([103,101,116,73,116,101,109])](t);return n?window[w([112,97,114,115,101,73,110,116])](g(n),16)*r:null}function a(e){return new(window[w([80,114,111,109,105,115,101])])((t,n)=>{e[w([116,104,101,110])](t,n),window[w([115,101,116,84,105,109,101,111,117,116])](n,12e4)})}}r[w([111,110])](w([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(w([85,115,97,103,101,76,105,109,105,116]));n[1]={...n[1],[w([114,101,113,117,101,115,116,73,100])]:f}},{[w([112,114,105,111,114,105,116,121])]:w([104,105,103,104])}),r[w([111,110])](w([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),e=>{l(e[w([114,101,116,117,114,110])])&&(u=!0,p(e[w([114,101,116,117,114,110])]))},{[w([112,114,105,111,114,105,116,121])]:w([108,111,119])}),i[w([116,104,101,110])](()=>{u||c(w([85,115,97,103,101,76,105,109,105,116]))})});function o(){return r[w([101,100,105,116,105,110,103])][w([118,105,101,119])][w([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==w([97,117,116,111])}function a(){r[w([101,100,105,116,105,110,103])][w([118,105,101,119])][w([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=w([97,117,116,111])}}(e[w([117,115,97,103,101,69,110,100,112,111,105,110,116])],e[w([106,116,105])])),await async function(){let e=!0;try{const s=a[w([115,112,108,105,116])](w([46])),[r,i,o]=s;return t(r),await n(r,i,o),e}catch{return!1}function t(t){const n=u(t);n&&n[w([97,108,103])]==w([69,83,50,53,54])||(e=!1)}async function n(t,n,s){const r=window[w([85,105,110,116,56,65,114,114,97,121])][w([102,114,111,109])](l(s),e=>e[w([99,104,97,114,67,111,100,101,65,116])](0)),i=(new(window[w([84,101,120,116,69,110,99,111,100,101,114])]))[w([101,110,99,111,100,101])](t+w([46])+n),a=window[w([99,114,121,112,116,111])][w([115,117,98,116,108,101])];if(!a)return;const c=await a[w([105,109,112,111,114,116,75,101,121])](w([106,119,107]),o,{[w([110,97,109,101])]:w([69,67,68,83,65]),[w([110,97,109,101,100,67,117,114,118,101])]:w([80,45,50,53,54])},!1,[w([118,101,114,105,102,121])]);await a[w([118,101,114,105,102,121])]({[w([110,97,109,101])]:w([69,67,68,83,65]),[w([104,97,115,104])]:{[w([110,97,109,101])]:w([83,72,65,45,50,53,54])}},c,r,i)||(e=!1)}}()?function(){const t=e[w([102,101,97,116,117,114,101,115])];return!(!t||!t[w([105,110,99,108,117,100,101,115])](w([42]))&&!t[w([105,110,99,108,117,100,101,115])](w([67,67]))&&!t[w([105,110,99,108,117,100,101,115])](w([80,80])))}()?function(){const t=[w([101,118,97,108,117,97,116,105,111,110]),w([116,114,105,97,108])][w([105,110,99,108,117,100,101,115])](e[w([108,105,99,101,110,115,101,84,121,112,101])])?s/1e3:1764547200;return e[w([101,120,112])]<t}()?w([69,120,112,105,114,101,100]):function(){const t=f,n=e[w([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!n||0==n[w([108,101,110,103,116,104])])return!0;const{hostname:s}=new URL(window[w([108,111,99,97,116,105,111,110])][t(338)]);if(n[w([105,110,99,108,117,100,101,115])](s))return!0;const r=s[w([115,112,108,105,116])](w([46]));return n[w([102,105,108,116,101,114])](e=>e[w([105,110,99,108,117,100,101,115])](w([42])))[w([109,97,112])](e=>e[w([115,112,108,105,116])](w([46])))[w([102,105,108,116,101,114])](e=>e[w([108,101,110,103,116,104])]<=r[w([108,101,110,103,116,104])])[w([109,97,112])](e=>Array(r[w([108,101,110,103,116,104])]-e[w([108,101,110,103,116,104])])[w([102,105,108,108])](e[0]===w([42])?w([42]):"")[w([99,111,110,99,97,116])](e))[w([115,111,109,101])](e=>r[w([101,118,101,114,121])]((t,n)=>e[n]===t||e[n]===w([42])))}()?(e[w([108,105,99,101,110,115,101,84,121,112,101])]==w([101,118,97,108,117,97,116,105,111,110])&&(n=c(w([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),e[w([108,105,99,101,110,115,101,84,121,112,101])]==w([116,114,105,97,108])&&(n=c(w([84,114,105,97,108,76,105,109,105,116]))),await(n&&p?new(window[w([80,114,111,109,105,115,101])])((e,t)=>{n[w([116,104,101,110])](e,t),p[w([116,104,101,110])](t=>{t!=w([86,97,108,105,100])&&e(t)},t)}):n||p||w([86,97,108,105,100]))):w([68,111,109,97,105,110,76,105,109,105,116]):w([78,111,116,65,108,108,111,119,101,100]):w([73,110,118,97,108,105,100])):w([73,110,118,97,108,105,100]))}catch{return w([73,110,118,97,108,105,100])}}())}(this)}[u(350)](e){const t=u,{ui:n,locale:s}=this[t(362)],r=d(s)[t(337)](n=>n[t(312)]===e)[t(328)][t(320)]();n[t(313)][t(368)](c(s,t(309),r))}}function h(){const e=["isPremiumPlugin","460327agtGOM","toLocaleLowerCase","selectionChange","find","href","876960PfYMKO","keystrokes","execute","387240KVLPKP","entries","isOfficialPlugin","listenTo","3344955HZNpXO","2271024UNPzcb","editing","UPPERCASE","_announceCaseChangeOperation","length","40997688qQCnVd","get","matchAll","changeCaseLower","afterInit","lowercase","locale","view","changeCaseUpper","document","editor","caseChange.titleCase.excludeWords","set","includes","commands","Title Case","announce","Changed case to %0","84euKMxv","config","commandName","ariaLiveAnnouncer","_currentCommandIndex","index","fromCharCode","toLocaleUpperCase","init","substring","toLowerCase","contentLanguage","changeCaseTitle","2803038FJnUkd","replace","CaseChangeEditing","function","map","label","shift+f3","pluginName","join","add"];return(h=function(){return e})()}function d(e){const t=u;return[{label:c(e,t(349)),commandName:t(360)},{label:c(e,t(357)),commandName:t(355)},{label:c(e,t(367)),commandName:t(322)}]}var g=n(311),p=n(355);function w(e,t){const n=m();return(w=function(e,t){return n[e-=249]})(e,t)}function m(){const e=["licenseKey","init","menuitemradio","componentFactory","caseChangeLicenseKeyDomainLimit","config","pluginName","source","evaluationLimit","addKeystrokeInfos","8jIIpLF","menu","editor","destroy","commandName","Shift+f3","isOfficialPlugin","button","domainLimit","152009qmSMdc","1690746DzKBPA","_licenseKeyCheckInterval","execute","665510aNDgmE","children","4wNvcCy","caseChangeLicenseKeyInvalid","some","featureNotAllowed","delegate","listenTo","extendTemplate","accessibility","isEnabled","get","focus","caseChangeLicenseKeyNotAllowed","caseChangeLicenseKeyValid","Shift+F3","keys","CaseChangeUI","CaseChange","1Lotxhr","set","view","add","3197100XXUiJI","_createDropdownView","70rQYrbN","_createMenuBarMenuView","705747EcRVpJ","trialLimit","caseChangeLicenseKeyEvaluationLimit","push","label","expired","invalid","caseChange","menuBar:caseChange","756567OznfsY","_showLicenseError","_setButtonProperties","caseChangeLicenseKeyExpired","_getListItemDefinitionsAndCommands","commands","usageLimit","panelView","items","ck-case-change-dropdown","caseChangeLicenseKeyUsageLimit","Case change","caseChangeLicenseKeyTrialLimit","1046686XxDckd","isPremiumPlugin","toMany","_registerComponents","Change text case","locale","buttonView","editing","model","bind"];return(m=function(){return e})()}const C=w;!function(e){const t=w,n=e();for(;;)try{if(340998===-parseInt(t(295))/1*(-parseInt(t(325))/2)+parseInt(t(273))/3*(parseInt(t(278))/4)+-parseInt(t(276))/5+-parseInt(t(299))/6+parseInt(t(303))/7+parseInt(t(263))/8*(-parseInt(t(312))/9)+-parseInt(t(301))/10*(parseInt(t(272))/11))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(m);class I extends e.Plugin{[C(253)];[C(274)];static get[C(259)](){return C(293)}static get[C(269)](){return!0}static get[C(326)](){return!0}[C(254)](){const e=C,t=this[e(265)];this[e(328)](),t[e(285)][e(262)]({keystrokes:[{label:c(t[e(330)],e(329)),keystroke:e(268),mayRequireFn:!0}]}),this[e(253)]=this[e(265)][e(258)][e(287)](e(253));const n=this[e(265)];this[e(274)]=setInterval(()=>{const t=e;let s;for(const e in n){const r=e,i=n[r];if(t(290)==i||t(279)==i||t(315)==i||t(257)==i||t(289)==i||t(305)==i||t(324)==i||t(322)==i){delete n[r],s=i,clearInterval(this[t(274)]),this[t(274)]=void 0;break}}t(279)==s&&n[t(313)](t(309)),t(315)==s&&n[t(313)](t(308)),t(257)==s&&n[t(313)](t(271)),t(289)==s&&n[t(313)](t(281),t(294)),t(305)==s&&n[t(313)](t(261)),t(324)==s&&n[t(313)](t(304)),t(322)==s&&n[t(313)](t(318))},1e3)}[C(266)](){const e=C;super[e(266)](),this[e(274)]&&clearInterval(this[e(274)])}[C(328)](){const e=C,t=this[e(265)],{itemDefinitions:n,commands:s}=this[e(316)]();t.ui[e(256)][e(298)](e(310),()=>this[e(300)](n,s)),t.ui[e(256)][e(298)](e(311),()=>this[e(302)](n,s))}[C(302)](e,t){const n=C,s=this[n(265)],r=s[n(330)],i=new g.MenuBarMenuView(r),o=new g.MenuBarMenuListView(r);o[n(296)]({ariaLabel:c(r,n(323)),role:n(264)}),this[n(314)](i[n(249)]),i[n(252)](n(286))[n(327)](t,n(286),(...e)=>e[n(280)](e=>e));for(const t of e){const e=new g.MenuBarMenuListItemView(r,i),a=new g.MenuBarMenuListItemButtonView(r);a[n(282)](n(275)).to(i),a[n(252)](...Object[n(292)](t[n(251)])).to(t[n(251)]),a.on(n(275),()=>{const e=n;s[e(275)](t[e(251)][e(267)]),s[e(250)][e(297)][e(288)]()}),e[n(277)][n(298)](a),o[n(320)][n(298)](e)}return i[n(319)][n(277)][n(298)](o),i}[C(300)](e,t){const n=C,s=this[n(265)],r=(0,g.createDropdown)(s[n(330)]);return this[n(314)](r[n(249)]),r[n(249)][n(296)]({tooltip:!0}),r[n(284)]({attributes:{class:[n(321)]}}),(0,g.addListToDropdown)(r,e,{ariaLabel:c(s[n(330)],n(323)),role:n(264)}),r[n(252)](n(286))[n(327)](t,n(286),(...e)=>e[n(280)](e=>e)),this[n(283)](r,n(275),e=>{const t=n;s[t(275)](e[t(260)][t(267)]),s[t(250)][t(297)][t(288)]()}),r}[C(314)](e){const t=C,n=this[t(265)];e[t(296)]({label:c(n[t(330)],t(323)),icon:p.IconCaseChange,keystroke:t(291)})}[C(316)](){const e=C,n=new t.Collection,s=[];for(const t of d(this[e(265)][e(330)])){const r=this[e(265)][e(317)][e(287)](t[e(267)]),i=new g.UIModel({commandName:t[e(267)],label:t[e(307)],role:e(255),withText:!0});i[e(252)](e(286)).to(r,e(286)),n[e(298)]({type:e(270),model:i}),s[e(306)](r)}return{itemDefinitions:n,commands:s}}}function y(e,t){var n=b();return(y=function(e,t){return n[e-=427]})(e,t)}var x=y;function b(){var e=["270zaKgTe","isPremiumPlugin","5785968BHPdYR","10164UePPPD","CaseChange","50993npijpQ","pluginName","4258335AVoRlO","11113817GfQzNe","isOfficialPlugin","200tfPFaT","95085nhVjFy","requires","23823wyJxFO","791rAIgjx","2mnYioj"];return(b=function(){return e})()}!function(e){for(var t=y,n=e();;)try{if(535932===-parseInt(t(441))/1*(-parseInt(t(435))/2)+-parseInt(t(433))/3*(-parseInt(t(430))/4)+parseInt(t(427))/5+parseInt(t(439))/6*(-parseInt(t(434))/7)+parseInt(t(438))/8+parseInt(t(431))/9*(-parseInt(t(436))/10)+-parseInt(t(428))/11)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(b);class L extends e.Plugin{static get[x(432)](){return[l,I]}static get[x(442)](){return x(440)}static get[x(429)](){return!0}static get[x(437)](){return!0}}function P(e,t){var n=T();return(P=function(e,t){return n[e-=274]})(e,t)}function T(){var e=["488276aSJRKA","8CCkyNo","880540nvQTbM","7661592dsjGaf","156401OBAkho","916HHeXMU","22cfXxiT","4470krHVie","924957hyUTHo","6gLxBEy","3inOamA","1155bcvhGc"];return(T=function(){return e})()}!function(e){for(var t=P,n=e();;)try{if(150473===parseInt(t(277))/1+-parseInt(t(282))/2*(parseInt(t(280))/3)+-parseInt(t(275))/4*(-parseInt(t(281))/5)+-parseInt(t(279))/6*(parseInt(t(274))/7)+-parseInt(t(283))/8*(parseInt(t(278))/9)+parseInt(t(284))/10*(-parseInt(t(276))/11)+parseInt(t(285))/12)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(T)})(),(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 _0x1ac81f,Plugin as _0x11d4df}from'@ckeditor/ckeditor5-core/dist/index.js';import{uid as _0x314fcd,Collection as _0x515162}from'@ckeditor/ckeditor5-utils/dist/index.js';import{MenuBarMenuView as _0x4d8b00,MenuBarMenuListView as _0x5451bd,MenuBarMenuListItemView as _0x4a30c3,MenuBarMenuListItemButtonView as _0x158e2d,createDropdown as _0x521991,addListToDropdown as _0x4bf57a,UIModel as _0x64b08}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconCaseChange as _0x525d47}from'@ckeditor/ckeditor5-icons/dist/index.js';class c extends _0x1ac81f{['_transformCallback'];constructor(_0x369672,_0x3a4744){super(_0x369672),this['_transformCallback']=_0x3a4744;}['execute'](){const _0x5354ea=this['editor']['model'],_0x1c159c=Array['from'](this['_getAffectedRanges']()),_0x409bf5=Array['from'](_0x5354ea['document']['selection']['getRanges']());_0x5354ea['change'](_0x241f10=>{for(const _0x134d83 of _0x1c159c)this['_modifyContent'](_0x134d83,_0x241f10);_0x241f10['setSelection'](_0x409bf5);});}['refresh'](){for(const _0x84f653 of this['_getAffectedRanges']())for(const _0x4e241d of _0x84f653)if(_0x4e241d['item']['is']('$textProxy'))return void(this['isEnabled']=!0x0);this['isEnabled']=!0x1;}['_getAffectedRanges'](){const _0x5b148f=this['editor']['model'],_0x426287=_0x5b148f['document']['selection'];if(_0x426287['isCollapsed']){const _0x29513f=this['_findAncestorTextBlock'](_0x426287['getFirstPosition']()['parent']);return _0x29513f?[_0x5b148f['createRangeIn'](_0x29513f)]:[];}return _0x426287['getRanges']();}['_modifyContent'](_0x5618cb,_0x1c1422){for(const _0xf49398 of this['_getElementsAllowingText'](_0x5618cb)){const _0x283d3b=this['_getElementTextContent'](_0xf49398),_0x463d3a=this['_transformCallback'](_0x283d3b);for(const _0x965c88 of this['_getTextNodesRangeLimited'](_0xf49398,_0x5618cb))this['_replaceTextNodeData'](_0x965c88,_0x463d3a,_0x1c1422);}}['_findAncestorTextBlock'](_0x50d2aa){const _0x4f3bf0=this['editor']['model']['schema'];if(_0x50d2aa['is']('element')&&_0x4f3bf0['checkChild'](_0x50d2aa,'$text'))return _0x50d2aa;const _0x1c8adf=_0x50d2aa['parent'];return!_0x1c8adf||_0x4f3bf0['isLimit'](_0x50d2aa)?null:this['_findAncestorTextBlock'](_0x1c8adf);}*['_getElementsAllowingText'](_0xa31ab0){const _0x2de897=new Set();for(const {item:_0x9182d6}of _0xa31ab0['getWalker']()){const _0x4eb9b7=this['_findAncestorTextBlock'](_0x9182d6);_0x4eb9b7&&!_0x2de897['has'](_0x4eb9b7)&&(_0x2de897['add'](_0x4eb9b7),yield _0x4eb9b7);}}['_getElementTextContent'](_0x5e3e98){return Array['from'](_0x5e3e98['getChildren']())['reduce']((_0x482d57,_0x52cd2b)=>_0x482d57+(_0x52cd2b['is']('$text')?_0x52cd2b['data']:'\x20'),'');}*['_getTextNodesRangeLimited'](_0x2de814,_0x4713fe){const _0x53999a=_0x4713fe['getIntersection'](this['editor']['model']['createRangeIn'](_0x2de814));if(_0x53999a){for(const _0x506d6d of _0x53999a['getItems']())_0x506d6d['is']('$textProxy')&&_0x506d6d['parent']==_0x2de814&&(yield _0x506d6d);}}['_replaceTextNodeData'](_0x8905d2,_0x1b8ef8,_0x591d64){const _0x2c7397=_0x1b8ef8['substring'](_0x8905d2['startOffset'],_0x8905d2['endOffset']);if(_0x2c7397===_0x8905d2['data'])return;const _0x2a7e8b=_0x8905d2['getAttributes']();this['editor']['model']['insertContent'](_0x591d64['createText'](_0x2c7397,_0x2a7e8b),_0x591d64['createSelection'](_0x591d64['createRangeOn'](_0x8905d2)));}}function u(_0x51eaad,_0x3c67be,..._0x477636){const t=_0x51eaad['t'];switch(_0x3c67be){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',..._0x477636);default:return _0x3c67be;}}class r extends _0x11d4df{['_currentCommandIndex']=0x0;static get['pluginName'](){return'CaseChangeEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x460751=this['editor'],_0x3afeba=_0x460751['locale']['contentLanguage'],_0x55e271=function(_0x15c305=[]){return'function'==typeof _0x15c305?_0x15c305:(_0x376f34,{wordIndex:_0x248ae3})=>_0x248ae3>0x0&&_0x15c305['includes'](_0x376f34);}(_0x460751['config']['get']('caseChange.titleCase.excludeWords')),_0x4642a4={'changeCaseUpper':new c(_0x460751,_0x172738=>_0x172738['toLocaleUpperCase'](_0x3afeba)),'changeCaseLower':new c(_0x460751,_0x329909=>_0x329909['toLocaleLowerCase'](_0x3afeba)),'changeCaseTitle':new c(_0x460751,_0x3e0be0=>function(_0x53b859,_0x377d8c,_0x31a674){return function(_0x1cc3c9,_0x5a53d6){let _0xde0005='',_0xa80964=0x0,_0x245488=0x0;for(const _0x1e0aaf of _0x1cc3c9['matchAll'](/ +/g)){const _0x135f22=_0x1e0aaf['index'],_0x898850=_0x1cc3c9['substring'](_0xa80964,_0x135f22);_0x898850['length']&&(_0xde0005+=_0x5a53d6(_0x898850,_0xa80964,_0x245488++)),_0xde0005+=_0x1e0aaf[0x0],_0xa80964=_0x135f22+_0x1e0aaf[0x0]['length'];}const _0x213860=_0x1cc3c9['substring'](_0xa80964);return _0x213860['length']&&(_0xde0005+=_0x5a53d6(_0x213860,_0xa80964,_0x245488)),_0xde0005;}(_0x53b859,(_0x307436,_0x329f64,_0x1f7533)=>{const _0x106262=_0x307436['toLocaleLowerCase'](_0x31a674);return _0x377d8c(_0x106262,{'charOffset':_0x329f64,'wordIndex':_0x1f7533,'blockText':_0x53b859})?_0x106262:_0x106262['replace'](/(?:^|[^\p{L}\d'])\p{L}/gu,_0x38c86c=>_0x38c86c['toLocaleUpperCase'](_0x31a674));});}(_0x3e0be0,_0x55e271,_0x3afeba))};for(const [_0x36b0b2,_0xeb8ee8]of Object['entries'](_0x4642a4))_0x460751['commands']['add'](_0x36b0b2,_0xeb8ee8),_0xeb8ee8['on']('execute',()=>{this['_announceCaseChangeOperation'](_0x36b0b2);});this['listenTo'](_0x460751['editing']['view']['document'],'selectionChange',()=>{this['_currentCommandIndex']=0x0;}),_0x460751['keystrokes']['set']('shift+f3',(_0x3adb39,_0x20256a)=>{const _0x370958=y(this['editor']['locale']),_0x728e8e=_0x370958[this['_currentCommandIndex']%_0x370958['length']]['commandName'];_0x460751['execute'](_0x728e8e),this['_currentCommandIndex']++,_0x20256a();});}['afterInit'](){!async function(_0x3ccfbe){const _0x31c752=_0x1c070b([0x45,0x4d,0x44,0x53,0x33,0x64,0x73,0x4c,0x6f,0x4a,0x59,0x30,0x6e,0x62,0x65,0x39,0x63,0x6d,0x6c,0x43,0x72,0x58,0x79,0x61,0x5a,0x38,0x7a,0x70,0x50,0x71,0x4e,0x36,0x6a,0x78,0x54,0x68,0x66,0x37,0x67,0x77,0x42,0x69,0x32,0x4b,0x46,0x4f,0x56,0x55,0x57,0x52,0x41,0x47,0x31,0x34,0x48,0x51,0x49,0x6b,0x75,0x74,0x35,0x76]),_0x3fbd44=0x334129cd,_0x1330a7=0x3346535d^_0x3fbd44,_0x1301a6=window[_0x1c070b([0x44,0x61,0x74,0x65])][_0x1c070b([0x6e,0x6f,0x77])](),_0x4f6598=_0x3ccfbe[_0x1c070b([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x35de9b=new window[(_0x1c070b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3a5dec=>{_0x4f6598[_0x1c070b([0x6f,0x6e,0x63,0x65])](_0x1c070b([0x72,0x65,0x61,0x64,0x79]),_0x3a5dec);}),_0x37e8a9={[_0x1c070b([0x6b,0x74,0x79])]:_0x1c070b([0x45,0x43]),[_0x1c070b([0x75,0x73,0x65])]:_0x1c070b([0x73,0x69,0x67]),[_0x1c070b([0x63,0x72,0x76])]:_0x1c070b([0x50,0x2d,0x32,0x35,0x36]),[_0x1c070b([0x78])]:_0x1c070b([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]),[_0x1c070b([0x79])]:_0x1c070b([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]),[_0x1c070b([0x61,0x6c,0x67])]:_0x1c070b([0x45,0x53,0x32,0x35,0x36])},_0x3d6beb=_0x4f6598[_0x1c070b([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1c070b([0x67,0x65,0x74])](_0x1c070b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x1d0ef5(){let _0x532f4d,_0x5660d0=null,_0x1cd7aa=null;try{if(_0x3d6beb==_0x1c070b([0x47,0x50,0x4c]))return _0x1c070b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x532f4d=_0x418fda(),!_0x532f4d)return _0x1c070b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x532f4d[_0x1c070b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1cd7aa=_0x46962f(_0x532f4d[_0x1c070b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x532f4d[_0x1c070b([0x6a,0x74,0x69])])),await _0x26e106()?_0x4bde03()?_0x394e97()?_0x1c070b([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x48548d()?(_0x532f4d[_0x1c070b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1c070b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x5660d0=_0x486931(_0x1c070b([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x532f4d[_0x1c070b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1c070b([0x74,0x72,0x69,0x61,0x6c])&&(_0x5660d0=_0x486931(_0x1c070b([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x3cc0a4()):_0x1c070b([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1c070b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1c070b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x1c070b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x394e97(){const _0x58238e=[_0x1c070b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1c070b([0x74,0x72,0x69,0x61,0x6c])][_0x1c070b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x532f4d[_0x1c070b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1301a6/0x3e8:0xe10*_0x1330a7;return _0x532f4d[_0x1c070b([0x65,0x78,0x70])]<_0x58238e;}function _0x4bde03(){const _0x187397=_0x532f4d[_0x1c070b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x187397&&(!!_0x187397[_0x1c070b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1c070b([0x2a]))||(!!_0x187397[_0x1c070b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1c070b([0x43,0x43]))||!!_0x187397[_0x1c070b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1c070b([0x50,0x50]))));}function _0x48548d(){const _0x17f6b9=_0x532f4d[_0x1c070b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x17f6b9||0x0==_0x17f6b9[_0x1c070b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x40d0ee}=new URL(window[_0x1c070b([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x17f6b9[_0x1c070b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x40d0ee))return!0x0;const _0x1bf6a6=_0x40d0ee[_0x1c070b([0x73,0x70,0x6c,0x69,0x74])](_0x1c070b([0x2e]));return _0x17f6b9[_0x1c070b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3ff68d=>_0x3ff68d[_0x1c070b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1c070b([0x2a])))[_0x1c070b([0x6d,0x61,0x70])](_0xd41d8d=>_0xd41d8d[_0x1c070b([0x73,0x70,0x6c,0x69,0x74])](_0x1c070b([0x2e])))[_0x1c070b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3fc20a=>_0x3fc20a[_0x1c070b([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1bf6a6[_0x1c070b([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1c070b([0x6d,0x61,0x70])](_0x3d429e=>Array(_0x1bf6a6[_0x1c070b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x3d429e[_0x1c070b([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1c070b([0x66,0x69,0x6c,0x6c])](_0x3d429e[0x0]===_0x1c070b([0x2a])?_0x1c070b([0x2a]):'')[_0x1c070b([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x3d429e))[_0x1c070b([0x73,0x6f,0x6d,0x65])](_0x42e5da=>_0x1bf6a6[_0x1c070b([0x65,0x76,0x65,0x72,0x79])]((_0x4ec508,_0x280b2e)=>_0x42e5da[_0x280b2e]===_0x4ec508||_0x42e5da[_0x280b2e]===_0x1c070b([0x2a])));}function _0x3cc0a4(){return _0x5660d0&&_0x1cd7aa?new window[(_0x1c070b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4d74d2,_0x5c8028)=>{_0x5660d0[_0x1c070b([0x74,0x68,0x65,0x6e])](_0x4d74d2,_0x5c8028),_0x1cd7aa[_0x1c070b([0x74,0x68,0x65,0x6e])](_0x57570e=>{_0x57570e!=_0x1c070b([0x56,0x61,0x6c,0x69,0x64])&&_0x4d74d2(_0x57570e);},_0x5c8028);}):_0x5660d0||_0x1cd7aa||_0x1c070b([0x56,0x61,0x6c,0x69,0x64]);}}function _0x46962f(_0x8dba03,_0x191a6b){return new window[(_0x1c070b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4b3c97=>{if(_0x4dd7e6())return _0x4b3c97(_0x1c070b([0x56,0x61,0x6c,0x69,0x64]));_0x134aa4(),_0x4f6598[_0x1c070b([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1c070b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3e25e8=!0x1;const _0x4e0f27=_0x314fcd();function _0x539092(_0x497cfd){return!!_0x497cfd&&(typeof _0x497cfd===_0x1c070b([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x497cfd===_0x1c070b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x497cfd[_0x1c070b([0x74,0x68,0x65,0x6e])]===_0x1c070b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x497cfd[_0x1c070b([0x63,0x61,0x74,0x63,0x68])]===_0x1c070b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x16cde8(_0x55df5b){_0x55e224(_0x55df5b)[_0x1c070b([0x74,0x68,0x65,0x6e])](_0xfefa6=>{if(!_0xfefa6||_0xfefa6[_0x1c070b([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1c070b([0x6f,0x6b]))return _0x1c070b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4e4635(_0x433af9(_0x4e0f27+_0x191a6b))!=_0xfefa6[_0x1c070b([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1c070b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1c070b([0x56,0x61,0x6c,0x69,0x64]);})[_0x1c070b([0x74,0x68,0x65,0x6e])](_0x573736=>(_0x2fff7d(),_0x573736),()=>{const _0x25c145=_0x18fed0();return null==_0x25c145?(_0x2fff7d(),_0x1c070b([0x56,0x61,0x6c,0x69,0x64])):_0x1c070b(_0x1301a6-_0x25c145>(0x174dadcd^_0x3fbd44)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1c070b([0x74,0x68,0x65,0x6e])](_0x4b3c97)[_0x1c070b([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4b3c97(_0x1c070b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x48581b=0x3377c74d^_0x3fbd44;function _0x2fff7d(){const _0x2d72aa=_0x1c070b([0x6c,0x6c,0x63,0x74,0x2d])+_0x4e4635(_0x433af9(_0x8dba03)),_0xb5af04=_0x402d6f(_0x4e4635(window[_0x1c070b([0x4d,0x61,0x74,0x68])][_0x1c070b([0x63,0x65,0x69,0x6c])](_0x1301a6/_0x48581b)));window[_0x1c070b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1c070b([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2d72aa,_0xb5af04);}function _0x18fed0(){const _0x6fa93d=_0x1c070b([0x6c,0x6c,0x63,0x74,0x2d])+_0x4e4635(_0x433af9(_0x8dba03)),_0x118643=window[_0x1c070b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1c070b([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x6fa93d);return _0x118643?window[_0x1c070b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x402d6f(_0x118643),0x10)*_0x48581b:null;}function _0x55e224(_0x4b2511){return new window[(_0x1c070b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x423ce2,_0x288c1b)=>{_0x4b2511[_0x1c070b([0x74,0x68,0x65,0x6e])](_0x423ce2,_0x288c1b),window[_0x1c070b([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x288c1b,0x3340fd0d^_0x3fbd44);});}}_0x4f6598[_0x1c070b([0x6f,0x6e])](_0x1c070b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4aaf3a,_0x298104)=>{if(_0x298104[0x0]!=_0x8dba03)return _0x4b3c97(_0x1c070b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x298104[0x1]={..._0x298104[0x1],[_0x1c070b([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x4e0f27};},{[_0x1c070b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1c070b([0x68,0x69,0x67,0x68])}),_0x4f6598[_0x1c070b([0x6f,0x6e])](_0x1c070b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x59ad5e=>{_0x539092(_0x59ad5e[_0x1c070b([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3e25e8=!0x0,_0x16cde8(_0x59ad5e[_0x1c070b([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1c070b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1c070b([0x6c,0x6f,0x77])}),_0x35de9b[_0x1c070b([0x74,0x68,0x65,0x6e])](()=>{_0x3e25e8||_0x4b3c97(_0x1c070b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4dd7e6(){return _0x4f6598[_0x1c070b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1c070b([0x76,0x69,0x65,0x77])][_0x1c070b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1c070b([0x61,0x75,0x74,0x6f]);}function _0x134aa4(){_0x4f6598[_0x1c070b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1c070b([0x76,0x69,0x65,0x77])][_0x1c070b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1c070b([0x61,0x75,0x74,0x6f]);}}function _0x486931(_0xd61b35){const _0x4d3433=[new window[(_0x1c070b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x7abfa0=>setTimeout(_0x7abfa0,0x33481701^_0x3fbd44)),_0x35de9b[_0x1c070b([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1c070b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x562c89=>{let _0x4f6277=0x0;_0x4f6598[_0x1c070b([0x6d,0x6f,0x64,0x65,0x6c])][_0x1c070b([0x6f,0x6e])](_0x1c070b([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3e2463,_0x5ae862)=>{_0x5ae862[0x0][_0x1c070b([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4f6277++,_0x4f6277==(0x33412835^_0x3fbd44)&&(_0x562c89(),_0x3e2463[_0x1c070b([0x6f,0x66,0x66])]());});}))];return window[_0x1c070b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1c070b([0x72,0x61,0x63,0x65])](_0x4d3433)[_0x1c070b([0x74,0x68,0x65,0x6e])](()=>_0xd61b35);}async function _0x2c0a62(){await _0x35de9b,_0x4f6598[_0x1c070b([0x6d,0x6f,0x64,0x65,0x6c])][_0x1c070b([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4f30d8,_0x4f6598[_0x1c070b([0x6d,0x6f,0x64,0x65,0x6c])][_0x1c070b([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4f30d8,_0x4f6598[_0x1c070b([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1c070b([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5051b1(_0x1e7c14){const _0x4c6f22=_0x290ab7();_0x4f6598[_0x4c6f22]=_0x1c070b([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x1e7c14,_0x1e7c14!=_0x1c070b([0x56,0x61,0x6c,0x69,0x64])&&_0x2c0a62();}function _0x290ab7(){const _0x3a2d09=window[_0x1c070b([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1c070b([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1c070b([0x6e,0x6f,0x77])]())[_0x1c070b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1c070b([0x2e]),'');let _0x4c24ef=_0x1c070b([0x45]);for(let _0xe3506b=0x0;_0xe3506b<_0x3a2d09[_0x1c070b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xe3506b+=0x2){let _0xd7192=window[_0x1c070b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3a2d09[_0x1c070b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xe3506b,_0xe3506b+0x2));_0xd7192>=_0x31c752[_0x1c070b([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0xd7192-=_0x31c752[_0x1c070b([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4c24ef+=_0x31c752[_0xd7192];}return _0x4c24ef;}function _0x418fda(){const _0xb8c17e=_0x3d6beb[_0x1c070b([0x73,0x70,0x6c,0x69,0x74])](_0x1c070b([0x2e]));if(0x3!=_0xb8c17e[_0x1c070b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x406cdf(_0xb8c17e[0x1]);function _0x406cdf(_0x22e492){const _0x2db3a9=_0x126465(_0x22e492);return _0x2db3a9&&_0x5a1cba()?_0x2db3a9:null;function _0x5a1cba(){const _0x113613=_0x2db3a9[_0x1c070b([0x6a,0x74,0x69])],_0xa90f32=window[_0x1c070b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x113613[_0x1c070b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x113613[_0x1c070b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x9edb36={..._0x2db3a9,[_0x1c070b([0x6a,0x74,0x69])]:_0x113613[_0x1c070b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x113613[_0x1c070b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x9edb36[_0x1c070b([0x76,0x63])],_0x433af9(_0x9edb36)==_0xa90f32;}}}async function _0x26e106(){let _0x4dad2b=!0x0;try{const _0x560066=_0x3d6beb[_0x1c070b([0x73,0x70,0x6c,0x69,0x74])](_0x1c070b([0x2e])),[_0xbb5523,_0x4b86a4,_0x19d43f]=_0x560066;return _0x2dd8ba(_0xbb5523),await _0x1c5d26(_0xbb5523,_0x4b86a4,_0x19d43f),_0x4dad2b;}catch{return!0x1;}function _0x2dd8ba(_0x27ded8){const _0x39d665=_0x126465(_0x27ded8);_0x39d665&&_0x39d665[_0x1c070b([0x61,0x6c,0x67])]==_0x1c070b([0x45,0x53,0x32,0x35,0x36])||(_0x4dad2b=!0x1);}async function _0x1c5d26(_0x4bfe29,_0x3db5e6,_0x31a6fe){const _0x3570bd=window[_0x1c070b([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1c070b([0x66,0x72,0x6f,0x6d])](_0x47d194(_0x31a6fe),_0x5cf57c=>_0x5cf57c[_0x1c070b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x33f0f6=new window[(_0x1c070b([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1c070b([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4bfe29+_0x1c070b([0x2e])+_0x3db5e6),_0x383cde=window[_0x1c070b([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1c070b([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x383cde)return;const _0x4578d8=await _0x383cde[_0x1c070b([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1c070b([0x6a,0x77,0x6b]),_0x37e8a9,{[_0x1c070b([0x6e,0x61,0x6d,0x65])]:_0x1c070b([0x45,0x43,0x44,0x53,0x41]),[_0x1c070b([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1c070b([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1c070b([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x383cde[_0x1c070b([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1c070b([0x6e,0x61,0x6d,0x65])]:_0x1c070b([0x45,0x43,0x44,0x53,0x41]),[_0x1c070b([0x68,0x61,0x73,0x68])]:{[_0x1c070b([0x6e,0x61,0x6d,0x65])]:_0x1c070b([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4578d8,_0x3570bd,_0x33f0f6)||(_0x4dad2b=!0x1);}}function _0x126465(_0x187b84){return _0x187b84[_0x1c070b([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1c070b([0x65,0x79]))?JSON[_0x1c070b([0x70,0x61,0x72,0x73,0x65])](_0x47d194(_0x187b84)):null;}function _0x47d194(_0xa3f52e){return window[_0x1c070b([0x61,0x74,0x6f,0x62])](_0xa3f52e[_0x1c070b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1c070b([0x2b]))[_0x1c070b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1c070b([0x2f])));}function _0x433af9(_0x3f200e){let _0xd49013=0x1505;function _0x2c9b3c(_0x5d6260){for(let _0xe7abd8=0x0;_0xe7abd8<_0x5d6260[_0x1c070b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xe7abd8++){const _0x417630=_0x5d6260[_0x1c070b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0xe7abd8);_0xd49013=(_0xd49013<<0x5)+_0xd49013+_0x417630,_0xd49013&=_0xd49013;}}function _0x65d775(_0x491f5d){Array[_0x1c070b([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x491f5d)?_0x491f5d[_0x1c070b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x65d775):_0x491f5d&&typeof _0x491f5d==_0x1c070b([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1c070b([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x491f5d)[_0x1c070b([0x73,0x6f,0x72,0x74])]()[_0x1c070b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x924a6f,_0x5f3b15])=>{_0x2c9b3c(_0x924a6f),_0x65d775(_0x5f3b15);}):_0x2c9b3c(window[_0x1c070b([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x491f5d));}return _0x65d775(_0x3f200e),_0xd49013>>>0x0;}function _0x4e4635(_0x3423d4){return _0x3423d4[_0x1c070b([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1c070b([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1c070b([0x30]));}function _0x402d6f(_0x67f448){return _0x67f448[_0x1c070b([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1c070b([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1c070b([0x6a,0x6f,0x69,0x6e])]('');}function _0x4f30d8(){}function _0x1c070b(_0x1f6165){return _0x1f6165['map'](_0xa59fdb=>String['fromCharCode'](_0xa59fdb))['join']('');}_0x5051b1(await _0x1d0ef5());}(this);}['_announceCaseChangeOperation'](_0x5248b0){const {ui:_0x22b37c,locale:_0x4185cb}=this['editor'],_0x5e89d6=y(_0x4185cb)['find'](_0x12ef3c=>_0x12ef3c['commandName']===_0x5248b0)['label']['toLowerCase']();_0x22b37c['ariaLiveAnnouncer']['announce'](u(_0x4185cb,'Changed\x20case\x20to\x20%0',_0x5e89d6));}}function y(_0x3f9a94){return[{'label':u(_0x3f9a94,'UPPERCASE'),'commandName':'changeCaseUpper'},{'label':u(_0x3f9a94,'lowercase'),'commandName':'changeCaseLower'},{'label':u(_0x3f9a94,'Title\x20Case'),'commandName':'changeCaseTitle'}];}class i extends _0x11d4df{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'CaseChangeUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x5b25b6=this['editor'];this['_registerComponents'](),_0x5b25b6['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':u(_0x5b25b6['locale'],'Change\x20text\x20case'),'keystroke':'Shift+f3','mayRequireFn':!0x0}]}),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x59a9fb=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x2b725d;for(const _0x238ae0 in _0x59a9fb){const _0x15c82e=_0x238ae0,_0x46aaf8=_0x59a9fb[_0x15c82e];if('caseChangeLicenseKeyValid'==_0x46aaf8||'caseChangeLicenseKeyInvalid'==_0x46aaf8||'caseChangeLicenseKeyExpired'==_0x46aaf8||'caseChangeLicenseKeyDomainLimit'==_0x46aaf8||'caseChangeLicenseKeyNotAllowed'==_0x46aaf8||'caseChangeLicenseKeyEvaluationLimit'==_0x46aaf8||'caseChangeLicenseKeyTrialLimit'==_0x46aaf8||'caseChangeLicenseKeyUsageLimit'==_0x46aaf8){delete _0x59a9fb[_0x15c82e],_0x2b725d=_0x46aaf8,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'caseChangeLicenseKeyInvalid'==_0x2b725d&&_0x59a9fb['_showLicenseError']('invalid'),'caseChangeLicenseKeyExpired'==_0x2b725d&&_0x59a9fb['_showLicenseError']('expired'),'caseChangeLicenseKeyDomainLimit'==_0x2b725d&&_0x59a9fb['_showLicenseError']('domainLimit'),'caseChangeLicenseKeyNotAllowed'==_0x2b725d&&_0x59a9fb['_showLicenseError']('featureNotAllowed','CaseChange'),'caseChangeLicenseKeyEvaluationLimit'==_0x2b725d&&_0x59a9fb['_showLicenseError']('evaluationLimit'),'caseChangeLicenseKeyTrialLimit'==_0x2b725d&&_0x59a9fb['_showLicenseError']('trialLimit'),'caseChangeLicenseKeyUsageLimit'==_0x2b725d&&_0x59a9fb['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_registerComponents'](){const _0x50d272=this['editor'],{itemDefinitions:_0x57d639,commands:_0xfca411}=this['_getListItemDefinitionsAndCommands']();_0x50d272['ui']['componentFactory']['add']('caseChange',()=>this['_createDropdownView'](_0x57d639,_0xfca411)),_0x50d272['ui']['componentFactory']['add']('menuBar:caseChange',()=>this['_createMenuBarMenuView'](_0x57d639,_0xfca411));}['_createMenuBarMenuView'](_0x5bd5eb,_0x42417c){const _0x2a6c2f=this['editor'],_0x23b8c8=_0x2a6c2f['locale'],_0x3cb3d2=new _0x4d8b00(_0x23b8c8),_0x3cf89e=new _0x5451bd(_0x23b8c8);_0x3cf89e['set']({'ariaLabel':u(_0x23b8c8,'Case\x20change'),'role':'menu'}),this['_setButtonProperties'](_0x3cb3d2['buttonView']),_0x3cb3d2['bind']('isEnabled')['toMany'](_0x42417c,'isEnabled',(..._0xbbea34)=>_0xbbea34['some'](_0x1b336b=>_0x1b336b));for(const _0x5f5163 of _0x5bd5eb){const _0x3fdfbf=new _0x4a30c3(_0x23b8c8,_0x3cb3d2),_0x333ffe=new _0x158e2d(_0x23b8c8);_0x333ffe['delegate']('execute')['to'](_0x3cb3d2),_0x333ffe['bind'](...Object['keys'](_0x5f5163['model']))['to'](_0x5f5163['model']),_0x333ffe['on']('execute',()=>{_0x2a6c2f['execute'](_0x5f5163['model']['commandName']),_0x2a6c2f['editing']['view']['focus']();}),_0x3fdfbf['children']['add'](_0x333ffe),_0x3cf89e['items']['add'](_0x3fdfbf);}return _0x3cb3d2['panelView']['children']['add'](_0x3cf89e),_0x3cb3d2;}['_createDropdownView'](_0x2b739d,_0x2dd080){const _0x371b40=this['editor'],_0x22ac7b=_0x521991(_0x371b40['locale']);return this['_setButtonProperties'](_0x22ac7b['buttonView']),_0x22ac7b['buttonView']['set']({'tooltip':!0x0}),_0x22ac7b['extendTemplate']({'attributes':{'class':['ck-case-change-dropdown']}}),_0x4bf57a(_0x22ac7b,_0x2b739d,{'ariaLabel':u(_0x371b40['locale'],'Case\x20change'),'role':'menu'}),_0x22ac7b['bind']('isEnabled')['toMany'](_0x2dd080,'isEnabled',(..._0x558e0b)=>_0x558e0b['some'](_0x1755e2=>_0x1755e2)),this['listenTo'](_0x22ac7b,'execute',_0x206c38=>{_0x371b40['execute'](_0x206c38['source']['commandName']),_0x371b40['editing']['view']['focus']();}),_0x22ac7b;}['_setButtonProperties'](_0x2b11b7){const _0x53eeba=this['editor'];_0x2b11b7['set']({'label':u(_0x53eeba['locale'],'Case\x20change'),'icon':_0x525d47,'keystroke':'Shift+F3'});}['_getListItemDefinitionsAndCommands'](){const _0x34746d=new _0x515162(),_0x5eccd7=[];for(const _0x4fba28 of y(this['editor']['locale'])){const _0x4594f3=this['editor']['commands']['get'](_0x4fba28['commandName']),_0x3fb8cc=new _0x64b08({'commandName':_0x4fba28['commandName'],'label':_0x4fba28['label'],'role':'menuitemradio','withText':!0x0});_0x3fb8cc['bind']('isEnabled')['to'](_0x4594f3,'isEnabled'),_0x34746d['add']({'type':'button','model':_0x3fb8cc}),_0x5eccd7['push'](_0x4594f3);}return{'itemDefinitions':_0x34746d,'commands':_0x5eccd7};}}class w extends _0x11d4df{static get['requires'](){return[r,i];}static get['pluginName'](){return'CaseChange';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{w as CaseChange,c as CaseChangeCommand,r as CaseChangeEditing,i as CaseChangeUI};
|
|
23
|
+
import{Command as _0xf103a6,Plugin as _0x4b078c}from'@ckeditor/ckeditor5-core/dist/index.js';import{uid as _0x26e151,Collection as _0x38ed8e}from'@ckeditor/ckeditor5-utils/dist/index.js';import{MenuBarMenuView as _0xb3a20f,MenuBarMenuListView as _0x35c74b,MenuBarMenuListItemView as _0x81faf6,MenuBarMenuListItemButtonView as _0x5d6d8e,createDropdown as _0xf817e2,addListToDropdown as _0x425274,UIModel as _0x5ce13b}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconCaseChange as _0x135dce}from'@ckeditor/ckeditor5-icons/dist/index.js';class c extends _0xf103a6{['_transformCallback'];constructor(_0x5eb22a,_0x2c3202){super(_0x5eb22a),this['_transformCallback']=_0x2c3202;}['execute'](){const _0x51af24=this['editor']['model'],_0x4f6ab0=Array['from'](this['_getAffectedRanges']()),_0x24c074=Array['from'](_0x51af24['document']['selection']['getRanges']());_0x51af24['change'](_0x3be20b=>{for(const _0x2f19ac of _0x4f6ab0)this['_modifyContent'](_0x2f19ac,_0x3be20b);_0x3be20b['setSelection'](_0x24c074);});}['refresh'](){for(const _0x5e23bb of this['_getAffectedRanges']())for(const _0xd121aa of _0x5e23bb)if(_0xd121aa['item']['is']('$textProxy'))return void(this['isEnabled']=!0x0);this['isEnabled']=!0x1;}['_getAffectedRanges'](){const _0x4319ae=this['editor']['model'],_0x236f4b=_0x4319ae['document']['selection'];if(_0x236f4b['isCollapsed']){const _0x1f1ba0=this['_findAncestorTextBlock'](_0x236f4b['getFirstPosition']()['parent']);return _0x1f1ba0?[_0x4319ae['createRangeIn'](_0x1f1ba0)]:[];}return _0x236f4b['getRanges']();}['_modifyContent'](_0x17ed1f,_0x289aac){for(const _0x5baa1b of this['_getElementsAllowingText'](_0x17ed1f)){const _0x1895e6=this['_getElementTextContent'](_0x5baa1b),_0x97f63a=this['_transformCallback'](_0x1895e6);for(const _0x1fb57d of this['_getTextNodesRangeLimited'](_0x5baa1b,_0x17ed1f))this['_replaceTextNodeData'](_0x1fb57d,_0x97f63a,_0x289aac);}}['_findAncestorTextBlock'](_0x1a9cd2){const _0x190c48=this['editor']['model']['schema'];if(_0x1a9cd2['is']('element')&&_0x190c48['checkChild'](_0x1a9cd2,'$text'))return _0x1a9cd2;const _0x25d89e=_0x1a9cd2['parent'];return!_0x25d89e||_0x190c48['isLimit'](_0x1a9cd2)?null:this['_findAncestorTextBlock'](_0x25d89e);}*['_getElementsAllowingText'](_0x311a99){const _0xd1155e=new Set();for(const {item:_0x3e7bd3}of _0x311a99['getWalker']()){const _0xbe0a3e=this['_findAncestorTextBlock'](_0x3e7bd3);_0xbe0a3e&&!_0xd1155e['has'](_0xbe0a3e)&&(_0xd1155e['add'](_0xbe0a3e),yield _0xbe0a3e);}}['_getElementTextContent'](_0x4babd1){return Array['from'](_0x4babd1['getChildren']())['reduce']((_0x4b2a51,_0x3ab4aa)=>_0x4b2a51+(_0x3ab4aa['is']('$text')?_0x3ab4aa['data']:'\x20'),'');}*['_getTextNodesRangeLimited'](_0x36d4f8,_0x2c0ecb){const _0x2ef79e=_0x2c0ecb['getIntersection'](this['editor']['model']['createRangeIn'](_0x36d4f8));if(_0x2ef79e){for(const _0x370949 of _0x2ef79e['getItems']())_0x370949['is']('$textProxy')&&_0x370949['parent']==_0x36d4f8&&(yield _0x370949);}}['_replaceTextNodeData'](_0x462f89,_0x4a2cdb,_0x383389){const _0xf549e3=_0x4a2cdb['substring'](_0x462f89['startOffset'],_0x462f89['endOffset']);if(_0xf549e3===_0x462f89['data'])return;const _0x44361a=_0x462f89['getAttributes']();this['editor']['model']['insertContent'](_0x383389['createText'](_0xf549e3,_0x44361a),_0x383389['createSelection'](_0x383389['createRangeOn'](_0x462f89)));}}function u(_0x4f9620,_0x5db9a0,..._0x57a4be){const t=_0x4f9620['t'];switch(_0x5db9a0){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',..._0x57a4be);default:return _0x5db9a0;}}class r extends _0x4b078c{['_currentCommandIndex']=0x0;static get['pluginName'](){return'CaseChangeEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x1cd700=this['editor'],_0x123324=_0x1cd700['locale']['contentLanguage'],_0x54c6b1=function(_0x5ed8c0=[]){return'function'==typeof _0x5ed8c0?_0x5ed8c0:(_0xda591,{wordIndex:_0x15a860})=>_0x15a860>0x0&&_0x5ed8c0['includes'](_0xda591);}(_0x1cd700['config']['get']('caseChange.titleCase.excludeWords')),_0x1ba574={'changeCaseUpper':new c(_0x1cd700,_0x5221ee=>_0x5221ee['toLocaleUpperCase'](_0x123324)),'changeCaseLower':new c(_0x1cd700,_0x3ed729=>_0x3ed729['toLocaleLowerCase'](_0x123324)),'changeCaseTitle':new c(_0x1cd700,_0x355ff5=>function(_0xb20b5a,_0x3a77bf,_0x265caa){return function(_0x123762,_0x541a15){let _0x5afa79='',_0x18c0a6=0x0,_0x594ae3=0x0;for(const _0x517a3f of _0x123762['matchAll'](/ +/g)){const _0x5a273c=_0x517a3f['index'],_0x409095=_0x123762['substring'](_0x18c0a6,_0x5a273c);_0x409095['length']&&(_0x5afa79+=_0x541a15(_0x409095,_0x18c0a6,_0x594ae3++)),_0x5afa79+=_0x517a3f[0x0],_0x18c0a6=_0x5a273c+_0x517a3f[0x0]['length'];}const _0x1560c4=_0x123762['substring'](_0x18c0a6);return _0x1560c4['length']&&(_0x5afa79+=_0x541a15(_0x1560c4,_0x18c0a6,_0x594ae3)),_0x5afa79;}(_0xb20b5a,(_0x42ba5b,_0x5428bd,_0x496379)=>{const _0x1a67ed=_0x42ba5b['toLocaleLowerCase'](_0x265caa);return _0x3a77bf(_0x1a67ed,{'charOffset':_0x5428bd,'wordIndex':_0x496379,'blockText':_0xb20b5a})?_0x1a67ed:_0x1a67ed['replace'](/(?:^|[^\p{L}\d'])\p{L}/gu,_0xebf539=>_0xebf539['toLocaleUpperCase'](_0x265caa));});}(_0x355ff5,_0x54c6b1,_0x123324))};for(const [_0x36ceed,_0x27e3f1]of Object['entries'](_0x1ba574))_0x1cd700['commands']['add'](_0x36ceed,_0x27e3f1),_0x27e3f1['on']('execute',()=>{this['_announceCaseChangeOperation'](_0x36ceed);});this['listenTo'](_0x1cd700['editing']['view']['document'],'selectionChange',()=>{this['_currentCommandIndex']=0x0;}),_0x1cd700['keystrokes']['set']('shift+f3',(_0x118587,_0x5c1b86)=>{const _0x390d7c=y(this['editor']['locale']),_0x59dfc1=_0x390d7c[this['_currentCommandIndex']%_0x390d7c['length']]['commandName'];_0x1cd700['execute'](_0x59dfc1),this['_currentCommandIndex']++,_0x5c1b86();});}['afterInit'](){!async function(_0x3dc0c1){const _0x155142=_0x157cf5([0x45,0x4d,0x44,0x53,0x33,0x64,0x73,0x4c,0x6f,0x4a,0x59,0x30,0x6e,0x62,0x65,0x39,0x63,0x6d,0x6c,0x43,0x72,0x58,0x79,0x61,0x5a,0x38,0x7a,0x70,0x50,0x71,0x4e,0x36,0x6a,0x78,0x54,0x68,0x66,0x37,0x67,0x77,0x42,0x69,0x32,0x4b,0x46,0x4f,0x56,0x55,0x57,0x52,0x41,0x47,0x31,0x34,0x48,0x51,0x49,0x6b,0x75,0x74,0x35,0x76]),_0x3899fd=0x334129cd,_0x423075=0x33465365^_0x3899fd,_0x691a05=window[_0x157cf5([0x44,0x61,0x74,0x65])][_0x157cf5([0x6e,0x6f,0x77])](),_0x1992fe=_0x3dc0c1[_0x157cf5([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1ccc11=new window[(_0x157cf5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x162ba8=>{_0x1992fe[_0x157cf5([0x6f,0x6e,0x63,0x65])](_0x157cf5([0x72,0x65,0x61,0x64,0x79]),_0x162ba8);}),_0x5bae2b={[_0x157cf5([0x6b,0x74,0x79])]:_0x157cf5([0x45,0x43]),[_0x157cf5([0x75,0x73,0x65])]:_0x157cf5([0x73,0x69,0x67]),[_0x157cf5([0x63,0x72,0x76])]:_0x157cf5([0x50,0x2d,0x32,0x35,0x36]),[_0x157cf5([0x78])]:_0x157cf5([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]),[_0x157cf5([0x79])]:_0x157cf5([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]),[_0x157cf5([0x61,0x6c,0x67])]:_0x157cf5([0x45,0x53,0x32,0x35,0x36])},_0x37d73d=_0x1992fe[_0x157cf5([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x157cf5([0x67,0x65,0x74])](_0x157cf5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5d3377(){let _0x20eb70,_0x19faba=null,_0x45d951=null;try{if(_0x37d73d==_0x157cf5([0x47,0x50,0x4c]))return _0x157cf5([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x20eb70=_0x414f61(),!_0x20eb70)return _0x157cf5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x20eb70[_0x157cf5([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x45d951=_0x2c9ff2(_0x20eb70[_0x157cf5([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x20eb70[_0x157cf5([0x6a,0x74,0x69])])),await _0x47cbac()?_0x1d252c()?_0x1c1338()?_0x157cf5([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x175d30()?(_0x20eb70[_0x157cf5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x157cf5([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x19faba=_0x34277d(_0x157cf5([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x20eb70[_0x157cf5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x157cf5([0x74,0x72,0x69,0x61,0x6c])&&(_0x19faba=_0x34277d(_0x157cf5([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4afbc2()):_0x157cf5([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x157cf5([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x157cf5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x157cf5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1c1338(){const _0x3ff723=[_0x157cf5([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x157cf5([0x74,0x72,0x69,0x61,0x6c])][_0x157cf5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x20eb70[_0x157cf5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x691a05/0x3e8:0xe10*_0x423075;return _0x20eb70[_0x157cf5([0x65,0x78,0x70])]<_0x3ff723;}function _0x1d252c(){const _0x700ca1=_0x20eb70[_0x157cf5([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x700ca1&&(!!_0x700ca1[_0x157cf5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x157cf5([0x2a]))||(!!_0x700ca1[_0x157cf5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x157cf5([0x43,0x43]))||!!_0x700ca1[_0x157cf5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x157cf5([0x50,0x50]))));}function _0x175d30(){const _0x4fdbe6=_0x20eb70[_0x157cf5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x4fdbe6||0x0==_0x4fdbe6[_0x157cf5([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x46f408}=new URL(window[_0x157cf5([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x4fdbe6[_0x157cf5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x46f408))return!0x0;const _0xf4fd1=_0x46f408[_0x157cf5([0x73,0x70,0x6c,0x69,0x74])](_0x157cf5([0x2e]));return _0x4fdbe6[_0x157cf5([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xa6af19=>_0xa6af19[_0x157cf5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x157cf5([0x2a])))[_0x157cf5([0x6d,0x61,0x70])](_0x1175d8=>_0x1175d8[_0x157cf5([0x73,0x70,0x6c,0x69,0x74])](_0x157cf5([0x2e])))[_0x157cf5([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3efa85=>_0x3efa85[_0x157cf5([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0xf4fd1[_0x157cf5([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x157cf5([0x6d,0x61,0x70])](_0x207081=>Array(_0xf4fd1[_0x157cf5([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x207081[_0x157cf5([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x157cf5([0x66,0x69,0x6c,0x6c])](_0x207081[0x0]===_0x157cf5([0x2a])?_0x157cf5([0x2a]):'')[_0x157cf5([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x207081))[_0x157cf5([0x73,0x6f,0x6d,0x65])](_0x42b297=>_0xf4fd1[_0x157cf5([0x65,0x76,0x65,0x72,0x79])]((_0x3c47b6,_0x5d18fd)=>_0x42b297[_0x5d18fd]===_0x3c47b6||_0x42b297[_0x5d18fd]===_0x157cf5([0x2a])));}function _0x4afbc2(){return _0x19faba&&_0x45d951?new window[(_0x157cf5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x390ffa,_0x40292a)=>{_0x19faba[_0x157cf5([0x74,0x68,0x65,0x6e])](_0x390ffa,_0x40292a),_0x45d951[_0x157cf5([0x74,0x68,0x65,0x6e])](_0x206c49=>{_0x206c49!=_0x157cf5([0x56,0x61,0x6c,0x69,0x64])&&_0x390ffa(_0x206c49);},_0x40292a);}):_0x19faba||_0x45d951||_0x157cf5([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2c9ff2(_0x30184f,_0x523562){return new window[(_0x157cf5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x270e78=>{if(_0x55ee91())return _0x270e78(_0x157cf5([0x56,0x61,0x6c,0x69,0x64]));_0x3f6745(),_0x1992fe[_0x157cf5([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x157cf5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x8e80c6=!0x1;const _0xc335c4=_0x26e151();function _0x20d725(_0x26e0ed){return!!_0x26e0ed&&(typeof _0x26e0ed===_0x157cf5([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x26e0ed===_0x157cf5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x26e0ed[_0x157cf5([0x74,0x68,0x65,0x6e])]===_0x157cf5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x26e0ed[_0x157cf5([0x63,0x61,0x74,0x63,0x68])]===_0x157cf5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x263bfc(_0x36fbaf){_0xa18d71(_0x36fbaf)[_0x157cf5([0x74,0x68,0x65,0x6e])](_0x5d73c7=>{if(!_0x5d73c7||_0x5d73c7[_0x157cf5([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x157cf5([0x6f,0x6b]))return _0x157cf5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1a1d6f(_0x2c9a63(_0xc335c4+_0x523562))!=_0x5d73c7[_0x157cf5([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x157cf5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x157cf5([0x56,0x61,0x6c,0x69,0x64]);})[_0x157cf5([0x74,0x68,0x65,0x6e])](_0x34bbd6=>(_0x1c34d3(),_0x34bbd6),()=>{const _0x529107=_0x4b6669();return null==_0x529107?(_0x1c34d3(),_0x157cf5([0x56,0x61,0x6c,0x69,0x64])):_0x157cf5(_0x691a05-_0x529107>(0x174dadcd^_0x3899fd)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x157cf5([0x74,0x68,0x65,0x6e])](_0x270e78)[_0x157cf5([0x63,0x61,0x74,0x63,0x68])](()=>{_0x270e78(_0x157cf5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x4e5928=0x3377c74d^_0x3899fd;function _0x1c34d3(){const _0x2c7500=_0x157cf5([0x6c,0x6c,0x63,0x74,0x2d])+_0x1a1d6f(_0x2c9a63(_0x30184f)),_0x30cd19=_0x5e1602(_0x1a1d6f(window[_0x157cf5([0x4d,0x61,0x74,0x68])][_0x157cf5([0x63,0x65,0x69,0x6c])](_0x691a05/_0x4e5928)));window[_0x157cf5([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x157cf5([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2c7500,_0x30cd19);}function _0x4b6669(){const _0x386cf7=_0x157cf5([0x6c,0x6c,0x63,0x74,0x2d])+_0x1a1d6f(_0x2c9a63(_0x30184f)),_0x547cdf=window[_0x157cf5([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x157cf5([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x386cf7);return _0x547cdf?window[_0x157cf5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5e1602(_0x547cdf),0x10)*_0x4e5928:null;}function _0xa18d71(_0x3da45a){return new window[(_0x157cf5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x43a259,_0xc08a87)=>{_0x3da45a[_0x157cf5([0x74,0x68,0x65,0x6e])](_0x43a259,_0xc08a87),window[_0x157cf5([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0xc08a87,0x3340fd0d^_0x3899fd);});}}_0x1992fe[_0x157cf5([0x6f,0x6e])](_0x157cf5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x24e8b5,_0x406f8c)=>{if(_0x406f8c[0x0]!=_0x30184f)return _0x270e78(_0x157cf5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x406f8c[0x1]={..._0x406f8c[0x1],[_0x157cf5([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xc335c4};},{[_0x157cf5([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x157cf5([0x68,0x69,0x67,0x68])}),_0x1992fe[_0x157cf5([0x6f,0x6e])](_0x157cf5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x892ff1=>{_0x20d725(_0x892ff1[_0x157cf5([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x8e80c6=!0x0,_0x263bfc(_0x892ff1[_0x157cf5([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x157cf5([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x157cf5([0x6c,0x6f,0x77])}),_0x1ccc11[_0x157cf5([0x74,0x68,0x65,0x6e])](()=>{_0x8e80c6||_0x270e78(_0x157cf5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x55ee91(){return _0x1992fe[_0x157cf5([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x157cf5([0x76,0x69,0x65,0x77])][_0x157cf5([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x157cf5([0x61,0x75,0x74,0x6f]);}function _0x3f6745(){_0x1992fe[_0x157cf5([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x157cf5([0x76,0x69,0x65,0x77])][_0x157cf5([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x157cf5([0x61,0x75,0x74,0x6f]);}}function _0x34277d(_0x25ab68){const _0x450a45=[new window[(_0x157cf5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x35a3c7=>setTimeout(_0x35a3c7,0x33481701^_0x3899fd)),_0x1ccc11[_0x157cf5([0x74,0x68,0x65,0x6e])](()=>new window[(_0x157cf5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x33e185=>{let _0x4a5924=0x0;_0x1992fe[_0x157cf5([0x6d,0x6f,0x64,0x65,0x6c])][_0x157cf5([0x6f,0x6e])](_0x157cf5([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x295c3c,_0x1e797e)=>{_0x1e797e[0x0][_0x157cf5([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4a5924++,_0x4a5924==(0x33412835^_0x3899fd)&&(_0x33e185(),_0x295c3c[_0x157cf5([0x6f,0x66,0x66])]());});}))];return window[_0x157cf5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x157cf5([0x72,0x61,0x63,0x65])](_0x450a45)[_0x157cf5([0x74,0x68,0x65,0x6e])](()=>_0x25ab68);}async function _0x22e766(){await _0x1ccc11,_0x1992fe[_0x157cf5([0x6d,0x6f,0x64,0x65,0x6c])][_0x157cf5([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3c404f,_0x1992fe[_0x157cf5([0x6d,0x6f,0x64,0x65,0x6c])][_0x157cf5([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3c404f,_0x1992fe[_0x157cf5([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x157cf5([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4dd800(_0x1fa377){const _0x589bdb=_0x4183c7();_0x1992fe[_0x589bdb]=_0x157cf5([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x1fa377,_0x1fa377!=_0x157cf5([0x56,0x61,0x6c,0x69,0x64])&&_0x22e766();}function _0x4183c7(){const _0x501fea=window[_0x157cf5([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x157cf5([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x157cf5([0x6e,0x6f,0x77])]())[_0x157cf5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x157cf5([0x2e]),'');let _0x4e7e9c=_0x157cf5([0x45]);for(let _0x301422=0x0;_0x301422<_0x501fea[_0x157cf5([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x301422+=0x2){let _0x1597d6=window[_0x157cf5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x501fea[_0x157cf5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x301422,_0x301422+0x2));_0x1597d6>=_0x155142[_0x157cf5([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1597d6-=_0x155142[_0x157cf5([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4e7e9c+=_0x155142[_0x1597d6];}return _0x4e7e9c;}function _0x414f61(){const _0x23e12f=_0x37d73d[_0x157cf5([0x73,0x70,0x6c,0x69,0x74])](_0x157cf5([0x2e]));if(0x3!=_0x23e12f[_0x157cf5([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x2d9774(_0x23e12f[0x1]);function _0x2d9774(_0x478c97){const _0x59ee61=_0x3ae512(_0x478c97);return _0x59ee61&&_0x4cf92b()?_0x59ee61:null;function _0x4cf92b(){const _0x4194f3=_0x59ee61[_0x157cf5([0x6a,0x74,0x69])],_0x3cb816=window[_0x157cf5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4194f3[_0x157cf5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4194f3[_0x157cf5([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2f424b={..._0x59ee61,[_0x157cf5([0x6a,0x74,0x69])]:_0x4194f3[_0x157cf5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4194f3[_0x157cf5([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2f424b[_0x157cf5([0x76,0x63])],_0x2c9a63(_0x2f424b)==_0x3cb816;}}}async function _0x47cbac(){let _0x32ae0f=!0x0;try{const _0x51b86c=_0x37d73d[_0x157cf5([0x73,0x70,0x6c,0x69,0x74])](_0x157cf5([0x2e])),[_0x31f19b,_0x35a262,_0x31cf7c]=_0x51b86c;return _0x2a0568(_0x31f19b),await _0x22d76f(_0x31f19b,_0x35a262,_0x31cf7c),_0x32ae0f;}catch{return!0x1;}function _0x2a0568(_0x2bbc97){const _0xaacd4f=_0x3ae512(_0x2bbc97);_0xaacd4f&&_0xaacd4f[_0x157cf5([0x61,0x6c,0x67])]==_0x157cf5([0x45,0x53,0x32,0x35,0x36])||(_0x32ae0f=!0x1);}async function _0x22d76f(_0x143285,_0xf4318e,_0xa30780){const _0x200cd2=window[_0x157cf5([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x157cf5([0x66,0x72,0x6f,0x6d])](_0x3cd679(_0xa30780),_0x5e7457=>_0x5e7457[_0x157cf5([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x176c00=new window[(_0x157cf5([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x157cf5([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x143285+_0x157cf5([0x2e])+_0xf4318e),_0x43cbb3=window[_0x157cf5([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x157cf5([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x43cbb3)return;const _0x168528=await _0x43cbb3[_0x157cf5([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x157cf5([0x6a,0x77,0x6b]),_0x5bae2b,{[_0x157cf5([0x6e,0x61,0x6d,0x65])]:_0x157cf5([0x45,0x43,0x44,0x53,0x41]),[_0x157cf5([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x157cf5([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x157cf5([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x43cbb3[_0x157cf5([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x157cf5([0x6e,0x61,0x6d,0x65])]:_0x157cf5([0x45,0x43,0x44,0x53,0x41]),[_0x157cf5([0x68,0x61,0x73,0x68])]:{[_0x157cf5([0x6e,0x61,0x6d,0x65])]:_0x157cf5([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x168528,_0x200cd2,_0x176c00)||(_0x32ae0f=!0x1);}}function _0x3ae512(_0x59cd19){return _0x59cd19[_0x157cf5([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x157cf5([0x65,0x79]))?JSON[_0x157cf5([0x70,0x61,0x72,0x73,0x65])](_0x3cd679(_0x59cd19)):null;}function _0x3cd679(_0x26c304){return window[_0x157cf5([0x61,0x74,0x6f,0x62])](_0x26c304[_0x157cf5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x157cf5([0x2b]))[_0x157cf5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x157cf5([0x2f])));}function _0x2c9a63(_0x37f676){let _0x4cf42a=0x1505;function _0x2a6b9f(_0x237952){for(let _0x5d6d8a=0x0;_0x5d6d8a<_0x237952[_0x157cf5([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5d6d8a++){const _0x72651d=_0x237952[_0x157cf5([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5d6d8a);_0x4cf42a=(_0x4cf42a<<0x5)+_0x4cf42a+_0x72651d,_0x4cf42a&=_0x4cf42a;}}function _0x3f30a9(_0x3cb8da){Array[_0x157cf5([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x3cb8da)?_0x3cb8da[_0x157cf5([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3f30a9):_0x3cb8da&&typeof _0x3cb8da==_0x157cf5([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x157cf5([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x3cb8da)[_0x157cf5([0x73,0x6f,0x72,0x74])]()[_0x157cf5([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4ba139,_0x39201b])=>{_0x2a6b9f(_0x4ba139),_0x3f30a9(_0x39201b);}):_0x2a6b9f(window[_0x157cf5([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x3cb8da));}return _0x3f30a9(_0x37f676),_0x4cf42a>>>0x0;}function _0x1a1d6f(_0x265e25){return _0x265e25[_0x157cf5([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x157cf5([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x157cf5([0x30]));}function _0x5e1602(_0x556441){return _0x556441[_0x157cf5([0x73,0x70,0x6c,0x69,0x74])]('')[_0x157cf5([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x157cf5([0x6a,0x6f,0x69,0x6e])]('');}function _0x3c404f(){}function _0x157cf5(_0xd10d7f){return _0xd10d7f['map'](_0x1989d4=>String['fromCharCode'](_0x1989d4))['join']('');}_0x4dd800(await _0x5d3377());}(this);}['_announceCaseChangeOperation'](_0x125f48){const {ui:_0x31267b,locale:_0x412f2d}=this['editor'],_0x3b3dab=y(_0x412f2d)['find'](_0x37ce3e=>_0x37ce3e['commandName']===_0x125f48)['label']['toLowerCase']();_0x31267b['ariaLiveAnnouncer']['announce'](u(_0x412f2d,'Changed\x20case\x20to\x20%0',_0x3b3dab));}}function y(_0x182e65){return[{'label':u(_0x182e65,'UPPERCASE'),'commandName':'changeCaseUpper'},{'label':u(_0x182e65,'lowercase'),'commandName':'changeCaseLower'},{'label':u(_0x182e65,'Title\x20Case'),'commandName':'changeCaseTitle'}];}class i extends _0x4b078c{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'CaseChangeUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x3b7ba0=this['editor'];this['_registerComponents'](),_0x3b7ba0['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':u(_0x3b7ba0['locale'],'Change\x20text\x20case'),'keystroke':'Shift+f3','mayRequireFn':!0x0}]}),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x3b494c=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x181731;for(const _0x20975f in _0x3b494c){const _0x391765=_0x20975f,_0x22d04e=_0x3b494c[_0x391765];if('caseChangeLicenseKeyValid'==_0x22d04e||'caseChangeLicenseKeyInvalid'==_0x22d04e||'caseChangeLicenseKeyExpired'==_0x22d04e||'caseChangeLicenseKeyDomainLimit'==_0x22d04e||'caseChangeLicenseKeyNotAllowed'==_0x22d04e||'caseChangeLicenseKeyEvaluationLimit'==_0x22d04e||'caseChangeLicenseKeyTrialLimit'==_0x22d04e||'caseChangeLicenseKeyUsageLimit'==_0x22d04e){delete _0x3b494c[_0x391765],_0x181731=_0x22d04e,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'caseChangeLicenseKeyInvalid'==_0x181731&&_0x3b494c['_showLicenseError']('invalid'),'caseChangeLicenseKeyExpired'==_0x181731&&_0x3b494c['_showLicenseError']('expired'),'caseChangeLicenseKeyDomainLimit'==_0x181731&&_0x3b494c['_showLicenseError']('domainLimit'),'caseChangeLicenseKeyNotAllowed'==_0x181731&&_0x3b494c['_showLicenseError']('featureNotAllowed','CaseChange'),'caseChangeLicenseKeyEvaluationLimit'==_0x181731&&_0x3b494c['_showLicenseError']('evaluationLimit'),'caseChangeLicenseKeyTrialLimit'==_0x181731&&_0x3b494c['_showLicenseError']('trialLimit'),'caseChangeLicenseKeyUsageLimit'==_0x181731&&_0x3b494c['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_registerComponents'](){const _0x348c34=this['editor'],{itemDefinitions:_0x11145e,commands:_0x14de9d}=this['_getListItemDefinitionsAndCommands']();_0x348c34['ui']['componentFactory']['add']('caseChange',()=>this['_createDropdownView'](_0x11145e,_0x14de9d)),_0x348c34['ui']['componentFactory']['add']('menuBar:caseChange',()=>this['_createMenuBarMenuView'](_0x11145e,_0x14de9d));}['_createMenuBarMenuView'](_0x24fbec,_0x4115c6){const _0x327cd1=this['editor'],_0x198284=_0x327cd1['locale'],_0x3f5f06=new _0xb3a20f(_0x198284),_0x28f0fd=new _0x35c74b(_0x198284);_0x28f0fd['set']({'ariaLabel':u(_0x198284,'Case\x20change'),'role':'menu'}),this['_setButtonProperties'](_0x3f5f06['buttonView']),_0x3f5f06['bind']('isEnabled')['toMany'](_0x4115c6,'isEnabled',(..._0xf2404a)=>_0xf2404a['some'](_0x23801c=>_0x23801c));for(const _0x362910 of _0x24fbec){const _0x4443c7=new _0x81faf6(_0x198284,_0x3f5f06),_0x2bdfa8=new _0x5d6d8e(_0x198284);_0x2bdfa8['delegate']('execute')['to'](_0x3f5f06),_0x2bdfa8['bind'](...Object['keys'](_0x362910['model']))['to'](_0x362910['model']),_0x2bdfa8['on']('execute',()=>{_0x327cd1['execute'](_0x362910['model']['commandName']),_0x327cd1['editing']['view']['focus']();}),_0x4443c7['children']['add'](_0x2bdfa8),_0x28f0fd['items']['add'](_0x4443c7);}return _0x3f5f06['panelView']['children']['add'](_0x28f0fd),_0x3f5f06;}['_createDropdownView'](_0x5046a2,_0x35c99d){const _0x459e6e=this['editor'],_0x1c8ee2=_0xf817e2(_0x459e6e['locale']);return this['_setButtonProperties'](_0x1c8ee2['buttonView']),_0x1c8ee2['buttonView']['set']({'tooltip':!0x0}),_0x1c8ee2['extendTemplate']({'attributes':{'class':['ck-case-change-dropdown']}}),_0x425274(_0x1c8ee2,_0x5046a2,{'ariaLabel':u(_0x459e6e['locale'],'Case\x20change'),'role':'menu'}),_0x1c8ee2['bind']('isEnabled')['toMany'](_0x35c99d,'isEnabled',(..._0x5063cc)=>_0x5063cc['some'](_0x8eea9d=>_0x8eea9d)),this['listenTo'](_0x1c8ee2,'execute',_0x3d3d3b=>{_0x459e6e['execute'](_0x3d3d3b['source']['commandName']),_0x459e6e['editing']['view']['focus']();}),_0x1c8ee2;}['_setButtonProperties'](_0x164b50){const _0x287f5d=this['editor'];_0x164b50['set']({'label':u(_0x287f5d['locale'],'Case\x20change'),'icon':_0x135dce,'keystroke':'Shift+F3'});}['_getListItemDefinitionsAndCommands'](){const _0x3a8e75=new _0x38ed8e(),_0x5342db=[];for(const _0x200c8d of y(this['editor']['locale'])){const _0x2dee08=this['editor']['commands']['get'](_0x200c8d['commandName']),_0x41e802=new _0x5ce13b({'commandName':_0x200c8d['commandName'],'label':_0x200c8d['label'],'role':'menuitemradio','withText':!0x0});_0x41e802['bind']('isEnabled')['to'](_0x2dee08,'isEnabled'),_0x3a8e75['add']({'type':'button','model':_0x41e802}),_0x5342db['push'](_0x2dee08);}return{'itemDefinitions':_0x3a8e75,'commands':_0x5342db};}}class w extends _0x4b078c{static get['requires'](){return[r,i];}static get['pluginName'](){return'CaseChange';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{w as CaseChange,c 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": "47.3.0-alpha.
|
|
3
|
+
"version": "47.3.0-alpha.5",
|
|
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": "47.3.0-alpha.
|
|
31
|
-
"@ckeditor/ckeditor5-icons": "47.3.0-alpha.
|
|
32
|
-
"@ckeditor/ckeditor5-ui": "47.3.0-alpha.
|
|
33
|
-
"@ckeditor/ckeditor5-utils": "47.3.0-alpha.
|
|
34
|
-
"ckeditor5": "47.3.0-alpha.
|
|
30
|
+
"@ckeditor/ckeditor5-core": "47.3.0-alpha.5",
|
|
31
|
+
"@ckeditor/ckeditor5-icons": "47.3.0-alpha.5",
|
|
32
|
+
"@ckeditor/ckeditor5-ui": "47.3.0-alpha.5",
|
|
33
|
+
"@ckeditor/ckeditor5-utils": "47.3.0-alpha.5",
|
|
34
|
+
"ckeditor5": "47.3.0-alpha.5"
|
|
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 _0x28cc1c=_0x37eb;function _0x37eb(_0x5bebe3,_0x42c156){const _0x2b70ee=_0x2b70();return _0x37eb=function(_0x37eb29,_0x276025){_0x37eb29=_0x37eb29-0x123;let _0xf51775=_0x2b70ee[_0x37eb29];return _0xf51775;},_0x37eb(_0x5bebe3,_0x42c156);}function _0x2b70(){const _0x2da442=['fromCharCode','toLocaleLowerCase','label','8896344NviIWB','commandName','keystrokes','2510106vBGcGl','commands','isOfficialPlugin','caseChange.titleCase.excludeWords','join','lowercase','add','10370598ZyAvNL','length','entries','34474396ONBJrJ','_currentCommandIndex','144mKimPd','185CUDzyo','shift+f3','locale','34390hYqKJi','afterInit','index','matchAll','_announceCaseChangeOperation','toLocaleUpperCase','find','substring','selectionChange','55828fQiufe','ariaLiveAnnouncer','isPremiumPlugin','replace','listenTo','CaseChangeEditing','changeCaseLower','config','7WFDJRl','contentLanguage','execute','view','get','changeCaseTitle','set','UPPERCASE','toLowerCase','includes','editor','1EvwJgK','function','href','map','document','163994yzjCtM','changeCaseUpper','editing','Changed\x20case\x20to\x20%0','init','Title\x20Case','announce','pluginName'];_0x2b70=function(){return _0x2da442;};return _0x2b70();}(function(_0x43482a,_0xc034c9){const _0x3956ef=_0x37eb,_0x313645=_0x43482a();while(!![]){try{const _0x35c387=-parseInt(_0x3956ef(0x147))/0x1*(parseInt(_0x3956ef(0x14c))/0x2)+parseInt(_0x3956ef(0x15a))/0x3+-parseInt(_0x3956ef(0x134))/0x4*(-parseInt(_0x3956ef(0x128))/0x5)+parseInt(_0x3956ef(0x161))/0x6+parseInt(_0x3956ef(0x13c))/0x7*(parseInt(_0x3956ef(0x157))/0x8)+-parseInt(_0x3956ef(0x127))/0x9*(parseInt(_0x3956ef(0x12b))/0xa)+-parseInt(_0x3956ef(0x125))/0xb;if(_0x35c387===_0xc034c9)break;else _0x313645['push'](_0x313645['shift']());}catch(_0x427c16){_0x313645['push'](_0x313645['shift']());}}}(_0x2b70,0xe13a2));import{Plugin as _0x47aa7e}from'ckeditor5/src/core.js';import{uid as _0xdb3152}from'ckeditor5/src/utils.js';import{CaseChangeCommand as _0x3f8c44}from'./casechangecommand.js';import{getTranslation as _0xaade52}from'./utils/common-translations.js';export class CaseChangeEditing extends _0x47aa7e{[_0x28cc1c(0x126)]=0x0;static get[_0x28cc1c(0x153)](){const _0x272fef=_0x28cc1c;return _0x272fef(0x139);}static get[_0x28cc1c(0x15c)](){return!0x0;}static get[_0x28cc1c(0x136)](){return!0x0;}[_0x28cc1c(0x150)](){const _0xe23782=_0x28cc1c,_0x4fee6e=this[_0xe23782(0x146)],_0x2be456=_0x4fee6e[_0xe23782(0x12a)][_0xe23782(0x13d)],_0x5e0923=function(_0x5aece8=[]){const _0x1aef23=_0xe23782;return _0x1aef23(0x148)==typeof _0x5aece8?_0x5aece8:(_0x4f728c,{wordIndex:_0x39271f})=>_0x39271f>0x0&&_0x5aece8[_0x1aef23(0x145)](_0x4f728c);}(_0x4fee6e[_0xe23782(0x13b)][_0xe23782(0x140)](_0xe23782(0x15d))),_0x3891a1={'changeCaseUpper':new _0x3f8c44(_0x4fee6e,_0x35e7d1=>_0x35e7d1[_0xe23782(0x130)](_0x2be456)),'changeCaseLower':new _0x3f8c44(_0x4fee6e,_0x619f5=>_0x619f5[_0xe23782(0x155)](_0x2be456)),'changeCaseTitle':new _0x3f8c44(_0x4fee6e,_0x453470=>function(_0x4e12a9,_0x3aba4f,_0x11d0c0){return function(_0x1d9247,_0x226dba){const _0x1d069a=_0x37eb;let _0x1904df='',_0x2942a6=0x0,_0x18a31=0x0;for(const _0x1df3cb of _0x1d9247[_0x1d069a(0x12e)](/ +/g)){const _0x47decc=_0x1df3cb[_0x1d069a(0x12d)],_0x6d4246=_0x1d9247[_0x1d069a(0x132)](_0x2942a6,_0x47decc);_0x6d4246[_0x1d069a(0x123)]&&(_0x1904df+=_0x226dba(_0x6d4246,_0x2942a6,_0x18a31++)),_0x1904df+=_0x1df3cb[0x0],_0x2942a6=_0x47decc+_0x1df3cb[0x0][_0x1d069a(0x123)];}const _0x3df33b=_0x1d9247[_0x1d069a(0x132)](_0x2942a6);return _0x3df33b[_0x1d069a(0x123)]&&(_0x1904df+=_0x226dba(_0x3df33b,_0x2942a6,_0x18a31)),_0x1904df;}(_0x4e12a9,(_0x313ab2,_0x26011c,_0x9b524b)=>{const _0x593122=_0x37eb,_0x4b11c8=_0x313ab2[_0x593122(0x155)](_0x11d0c0);return _0x3aba4f(_0x4b11c8,{'charOffset':_0x26011c,'wordIndex':_0x9b524b,'blockText':_0x4e12a9})?_0x4b11c8:_0x4b11c8[_0x593122(0x137)](/(?:^|[^\p{L}\d'])\p{L}/gu,_0x5aacf5=>_0x5aacf5[_0x593122(0x130)](_0x11d0c0));});}(_0x453470,_0x5e0923,_0x2be456))};for(const [_0x9510f9,_0x137bb7]of Object[_0xe23782(0x124)](_0x3891a1))_0x4fee6e[_0xe23782(0x15b)][_0xe23782(0x160)](_0x9510f9,_0x137bb7),_0x137bb7['on'](_0xe23782(0x13e),()=>{const _0x1c9d2f=_0xe23782;this[_0x1c9d2f(0x12f)](_0x9510f9);});this[_0xe23782(0x138)](_0x4fee6e[_0xe23782(0x14e)][_0xe23782(0x13f)][_0xe23782(0x14b)],_0xe23782(0x133),()=>{const _0x91aff3=_0xe23782;this[_0x91aff3(0x126)]=0x0;}),_0x4fee6e[_0xe23782(0x159)][_0xe23782(0x142)](_0xe23782(0x129),(_0x490c4a,_0x2e2d22)=>{const _0x252f2b=_0xe23782,_0x11d2cb=_getOptions(this[_0x252f2b(0x146)][_0x252f2b(0x12a)]),_0x17f9f4=_0x11d2cb[this[_0x252f2b(0x126)]%_0x11d2cb[_0x252f2b(0x123)]][_0x252f2b(0x158)];_0x4fee6e[_0x252f2b(0x13e)](_0x17f9f4),this[_0x252f2b(0x126)]++,_0x2e2d22();});}[_0x28cc1c(0x12c)](){!async function(_0x4a124d){const _0x4a8873=_0x3d405a([0x45,0x4d,0x44,0x53,0x33,0x64,0x73,0x4c,0x6f,0x4a,0x59,0x30,0x6e,0x62,0x65,0x39,0x63,0x6d,0x6c,0x43,0x72,0x58,0x79,0x61,0x5a,0x38,0x7a,0x70,0x50,0x71,0x4e,0x36,0x6a,0x78,0x54,0x68,0x66,0x37,0x67,0x77,0x42,0x69,0x32,0x4b,0x46,0x4f,0x56,0x55,0x57,0x52,0x41,0x47,0x31,0x34,0x48,0x51,0x49,0x6b,0x75,0x74,0x35,0x76]),_0x2d5cab=0x334129cd,_0x4d8695=0x3346535d^_0x2d5cab,_0x2f6807=window[_0x3d405a([0x44,0x61,0x74,0x65])][_0x3d405a([0x6e,0x6f,0x77])](),_0x38fe61=_0x4a124d[_0x3d405a([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x5d8843=new window[(_0x3d405a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x43df1e=>{_0x38fe61[_0x3d405a([0x6f,0x6e,0x63,0x65])](_0x3d405a([0x72,0x65,0x61,0x64,0x79]),_0x43df1e);}),_0x279e4a={[_0x3d405a([0x6b,0x74,0x79])]:_0x3d405a([0x45,0x43]),[_0x3d405a([0x75,0x73,0x65])]:_0x3d405a([0x73,0x69,0x67]),[_0x3d405a([0x63,0x72,0x76])]:_0x3d405a([0x50,0x2d,0x32,0x35,0x36]),[_0x3d405a([0x78])]:_0x3d405a([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]),[_0x3d405a([0x79])]:_0x3d405a([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]),[_0x3d405a([0x61,0x6c,0x67])]:_0x3d405a([0x45,0x53,0x32,0x35,0x36])},_0x1a5bc2=_0x38fe61[_0x3d405a([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3d405a([0x67,0x65,0x74])](_0x3d405a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x1ef7e1(){let _0x5ae149,_0x27a183=null,_0x487576=null;try{if(_0x1a5bc2==_0x3d405a([0x47,0x50,0x4c]))return _0x3d405a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x5ae149=_0x1e3ef4(),!_0x5ae149)return _0x3d405a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x5ae149[_0x3d405a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x487576=_0x582b2b(_0x5ae149[_0x3d405a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x5ae149[_0x3d405a([0x6a,0x74,0x69])])),await _0x53e10()?_0x272aa7()?_0x492115()?_0x3d405a([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x2fe2c1()?(_0x5ae149[_0x3d405a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3d405a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x27a183=_0x4e634d(_0x3d405a([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x5ae149[_0x3d405a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3d405a([0x74,0x72,0x69,0x61,0x6c])&&(_0x27a183=_0x4e634d(_0x3d405a([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2cebe2()):_0x3d405a([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3d405a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3d405a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x3d405a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x492115(){const _0x281ebc=[_0x3d405a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3d405a([0x74,0x72,0x69,0x61,0x6c])][_0x3d405a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5ae149[_0x3d405a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2f6807/0x3e8:0xe10*_0x4d8695;return _0x5ae149[_0x3d405a([0x65,0x78,0x70])]<_0x281ebc;}function _0x272aa7(){const _0x61e0d5=_0x5ae149[_0x3d405a([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x61e0d5&&(!!_0x61e0d5[_0x3d405a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3d405a([0x2a]))||(!!_0x61e0d5[_0x3d405a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3d405a([0x43,0x43]))||!!_0x61e0d5[_0x3d405a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3d405a([0x50,0x50]))));}function _0x2fe2c1(){const _0x44fb6f=_0x37eb,_0x128a9b=_0x5ae149[_0x3d405a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x128a9b||0x0==_0x128a9b[_0x3d405a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x46b309}=new URL(window[_0x3d405a([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x44fb6f(0x149)]);if(_0x128a9b[_0x3d405a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x46b309))return!0x0;const _0x6d29b6=_0x46b309[_0x3d405a([0x73,0x70,0x6c,0x69,0x74])](_0x3d405a([0x2e]));return _0x128a9b[_0x3d405a([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x24db28=>_0x24db28[_0x3d405a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3d405a([0x2a])))[_0x3d405a([0x6d,0x61,0x70])](_0x4be31d=>_0x4be31d[_0x3d405a([0x73,0x70,0x6c,0x69,0x74])](_0x3d405a([0x2e])))[_0x3d405a([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xb8341a=>_0xb8341a[_0x3d405a([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x6d29b6[_0x3d405a([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3d405a([0x6d,0x61,0x70])](_0xab4fe4=>Array(_0x6d29b6[_0x3d405a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0xab4fe4[_0x3d405a([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3d405a([0x66,0x69,0x6c,0x6c])](_0xab4fe4[0x0]===_0x3d405a([0x2a])?_0x3d405a([0x2a]):'')[_0x3d405a([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0xab4fe4))[_0x3d405a([0x73,0x6f,0x6d,0x65])](_0x4e593b=>_0x6d29b6[_0x3d405a([0x65,0x76,0x65,0x72,0x79])]((_0xb4f148,_0x8c3c08)=>_0x4e593b[_0x8c3c08]===_0xb4f148||_0x4e593b[_0x8c3c08]===_0x3d405a([0x2a])));}function _0x2cebe2(){return _0x27a183&&_0x487576?new window[(_0x3d405a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1bc2e6,_0x4212a5)=>{_0x27a183[_0x3d405a([0x74,0x68,0x65,0x6e])](_0x1bc2e6,_0x4212a5),_0x487576[_0x3d405a([0x74,0x68,0x65,0x6e])](_0x2e8f9d=>{_0x2e8f9d!=_0x3d405a([0x56,0x61,0x6c,0x69,0x64])&&_0x1bc2e6(_0x2e8f9d);},_0x4212a5);}):_0x27a183||_0x487576||_0x3d405a([0x56,0x61,0x6c,0x69,0x64]);}}function _0x582b2b(_0x173493,_0x595d2a){return new window[(_0x3d405a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4c9694=>{if(_0x49f21d())return _0x4c9694(_0x3d405a([0x56,0x61,0x6c,0x69,0x64]));_0x46587c(),_0x38fe61[_0x3d405a([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3d405a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x77125e=!0x1;const _0x32023f=_0xdb3152();function _0x14e13f(_0x1714fa){return!!_0x1714fa&&(typeof _0x1714fa===_0x3d405a([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1714fa===_0x3d405a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1714fa[_0x3d405a([0x74,0x68,0x65,0x6e])]===_0x3d405a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1714fa[_0x3d405a([0x63,0x61,0x74,0x63,0x68])]===_0x3d405a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x926a79(_0x24df1d){_0x3d1523(_0x24df1d)[_0x3d405a([0x74,0x68,0x65,0x6e])](_0x31c6e8=>{if(!_0x31c6e8||_0x31c6e8[_0x3d405a([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3d405a([0x6f,0x6b]))return _0x3d405a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0xd55f5e(_0x188c56(_0x32023f+_0x595d2a))!=_0x31c6e8[_0x3d405a([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3d405a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3d405a([0x56,0x61,0x6c,0x69,0x64]);})[_0x3d405a([0x74,0x68,0x65,0x6e])](_0x346f69=>(_0x1414f3(),_0x346f69),()=>{const _0x2eec97=_0x56571b();return null==_0x2eec97?(_0x1414f3(),_0x3d405a([0x56,0x61,0x6c,0x69,0x64])):_0x3d405a(_0x2f6807-_0x2eec97>(0x174dadcd^_0x2d5cab)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3d405a([0x74,0x68,0x65,0x6e])](_0x4c9694)[_0x3d405a([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4c9694(_0x3d405a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x18d68f=0x3377c74d^_0x2d5cab;function _0x1414f3(){const _0x5df5b6=_0x3d405a([0x6c,0x6c,0x63,0x74,0x2d])+_0xd55f5e(_0x188c56(_0x173493)),_0x5cdff3=_0x2f3b00(_0xd55f5e(window[_0x3d405a([0x4d,0x61,0x74,0x68])][_0x3d405a([0x63,0x65,0x69,0x6c])](_0x2f6807/_0x18d68f)));window[_0x3d405a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3d405a([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5df5b6,_0x5cdff3);}function _0x56571b(){const _0x4d7fc6=_0x3d405a([0x6c,0x6c,0x63,0x74,0x2d])+_0xd55f5e(_0x188c56(_0x173493)),_0xab5892=window[_0x3d405a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3d405a([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4d7fc6);return _0xab5892?window[_0x3d405a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2f3b00(_0xab5892),0x10)*_0x18d68f:null;}function _0x3d1523(_0x2ab2a4){return new window[(_0x3d405a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3f8ad4,_0xc6b371)=>{_0x2ab2a4[_0x3d405a([0x74,0x68,0x65,0x6e])](_0x3f8ad4,_0xc6b371),window[_0x3d405a([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0xc6b371,0x3340fd0d^_0x2d5cab);});}}_0x38fe61[_0x3d405a([0x6f,0x6e])](_0x3d405a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x15e367,_0xc41ce8)=>{if(_0xc41ce8[0x0]!=_0x173493)return _0x4c9694(_0x3d405a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0xc41ce8[0x1]={..._0xc41ce8[0x1],[_0x3d405a([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x32023f};},{[_0x3d405a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3d405a([0x68,0x69,0x67,0x68])}),_0x38fe61[_0x3d405a([0x6f,0x6e])](_0x3d405a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x31fd50=>{_0x14e13f(_0x31fd50[_0x3d405a([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x77125e=!0x0,_0x926a79(_0x31fd50[_0x3d405a([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3d405a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3d405a([0x6c,0x6f,0x77])}),_0x5d8843[_0x3d405a([0x74,0x68,0x65,0x6e])](()=>{_0x77125e||_0x4c9694(_0x3d405a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x49f21d(){return _0x38fe61[_0x3d405a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3d405a([0x76,0x69,0x65,0x77])][_0x3d405a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3d405a([0x61,0x75,0x74,0x6f]);}function _0x46587c(){_0x38fe61[_0x3d405a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3d405a([0x76,0x69,0x65,0x77])][_0x3d405a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3d405a([0x61,0x75,0x74,0x6f]);}}function _0x4e634d(_0x40149f){const _0x4546bd=[new window[(_0x3d405a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x98b9a7=>setTimeout(_0x98b9a7,0x33481701^_0x2d5cab)),_0x5d8843[_0x3d405a([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3d405a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x593699=>{let _0x11c7b0=0x0;_0x38fe61[_0x3d405a([0x6d,0x6f,0x64,0x65,0x6c])][_0x3d405a([0x6f,0x6e])](_0x3d405a([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x514fd2,_0x12f40d)=>{_0x12f40d[0x0][_0x3d405a([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x11c7b0++,_0x11c7b0==(0x33412835^_0x2d5cab)&&(_0x593699(),_0x514fd2[_0x3d405a([0x6f,0x66,0x66])]());});}))];return window[_0x3d405a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3d405a([0x72,0x61,0x63,0x65])](_0x4546bd)[_0x3d405a([0x74,0x68,0x65,0x6e])](()=>_0x40149f);}async function _0x492560(){await _0x5d8843,_0x38fe61[_0x3d405a([0x6d,0x6f,0x64,0x65,0x6c])][_0x3d405a([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x41271e,_0x38fe61[_0x3d405a([0x6d,0x6f,0x64,0x65,0x6c])][_0x3d405a([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x41271e,_0x38fe61[_0x3d405a([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3d405a([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x24f1ec(_0x5ba780){const _0x192489=_0x331828();_0x38fe61[_0x192489]=_0x3d405a([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x5ba780,_0x5ba780!=_0x3d405a([0x56,0x61,0x6c,0x69,0x64])&&_0x492560();}function _0x331828(){const _0x37ffa0=window[_0x3d405a([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3d405a([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3d405a([0x6e,0x6f,0x77])]())[_0x3d405a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3d405a([0x2e]),'');let _0x3dbd77=_0x3d405a([0x45]);for(let _0x37a438=0x0;_0x37a438<_0x37ffa0[_0x3d405a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x37a438+=0x2){let _0x1ac50d=window[_0x3d405a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x37ffa0[_0x3d405a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x37a438,_0x37a438+0x2));_0x1ac50d>=_0x4a8873[_0x3d405a([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1ac50d-=_0x4a8873[_0x3d405a([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3dbd77+=_0x4a8873[_0x1ac50d];}return _0x3dbd77;}function _0x1e3ef4(){const _0x1471f4=_0x1a5bc2[_0x3d405a([0x73,0x70,0x6c,0x69,0x74])](_0x3d405a([0x2e]));if(0x3!=_0x1471f4[_0x3d405a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4bd206(_0x1471f4[0x1]);function _0x4bd206(_0x497c24){const _0x3c7182=_0x21772e(_0x497c24);return _0x3c7182&&_0x4b0c55()?_0x3c7182:null;function _0x4b0c55(){const _0x42f88e=_0x3c7182[_0x3d405a([0x6a,0x74,0x69])],_0x12dd55=window[_0x3d405a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x42f88e[_0x3d405a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x42f88e[_0x3d405a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x15ee4d={..._0x3c7182,[_0x3d405a([0x6a,0x74,0x69])]:_0x42f88e[_0x3d405a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x42f88e[_0x3d405a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x15ee4d[_0x3d405a([0x76,0x63])],_0x188c56(_0x15ee4d)==_0x12dd55;}}}async function _0x53e10(){let _0x48223e=!0x0;try{const _0x21fa0c=_0x1a5bc2[_0x3d405a([0x73,0x70,0x6c,0x69,0x74])](_0x3d405a([0x2e])),[_0x3de758,_0x82efda,_0xd0de32]=_0x21fa0c;return _0x102cc6(_0x3de758),await _0x205777(_0x3de758,_0x82efda,_0xd0de32),_0x48223e;}catch{return!0x1;}function _0x102cc6(_0x5dc767){const _0x47af47=_0x21772e(_0x5dc767);_0x47af47&&_0x47af47[_0x3d405a([0x61,0x6c,0x67])]==_0x3d405a([0x45,0x53,0x32,0x35,0x36])||(_0x48223e=!0x1);}async function _0x205777(_0x21da74,_0x5a26af,_0x124005){const _0x356aef=window[_0x3d405a([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3d405a([0x66,0x72,0x6f,0x6d])](_0x575ad9(_0x124005),_0x369c2c=>_0x369c2c[_0x3d405a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x5035dc=new window[(_0x3d405a([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3d405a([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x21da74+_0x3d405a([0x2e])+_0x5a26af),_0x353277=window[_0x3d405a([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3d405a([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x353277)return;const _0x568f85=await _0x353277[_0x3d405a([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3d405a([0x6a,0x77,0x6b]),_0x279e4a,{[_0x3d405a([0x6e,0x61,0x6d,0x65])]:_0x3d405a([0x45,0x43,0x44,0x53,0x41]),[_0x3d405a([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3d405a([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3d405a([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x353277[_0x3d405a([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3d405a([0x6e,0x61,0x6d,0x65])]:_0x3d405a([0x45,0x43,0x44,0x53,0x41]),[_0x3d405a([0x68,0x61,0x73,0x68])]:{[_0x3d405a([0x6e,0x61,0x6d,0x65])]:_0x3d405a([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x568f85,_0x356aef,_0x5035dc)||(_0x48223e=!0x1);}}function _0x21772e(_0x500d08){return _0x500d08[_0x3d405a([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3d405a([0x65,0x79]))?JSON[_0x3d405a([0x70,0x61,0x72,0x73,0x65])](_0x575ad9(_0x500d08)):null;}function _0x575ad9(_0x3ea3a9){return window[_0x3d405a([0x61,0x74,0x6f,0x62])](_0x3ea3a9[_0x3d405a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3d405a([0x2b]))[_0x3d405a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3d405a([0x2f])));}function _0x188c56(_0x1693a8){let _0x190745=0x1505;function _0x50e40b(_0x93027f){for(let _0xf5417=0x0;_0xf5417<_0x93027f[_0x3d405a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xf5417++){const _0x3d5eea=_0x93027f[_0x3d405a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0xf5417);_0x190745=(_0x190745<<0x5)+_0x190745+_0x3d5eea,_0x190745&=_0x190745;}}function _0x33f42d(_0x1227c4){Array[_0x3d405a([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1227c4)?_0x1227c4[_0x3d405a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x33f42d):_0x1227c4&&typeof _0x1227c4==_0x3d405a([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3d405a([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1227c4)[_0x3d405a([0x73,0x6f,0x72,0x74])]()[_0x3d405a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x28ef30,_0x53ce45])=>{_0x50e40b(_0x28ef30),_0x33f42d(_0x53ce45);}):_0x50e40b(window[_0x3d405a([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1227c4));}return _0x33f42d(_0x1693a8),_0x190745>>>0x0;}function _0xd55f5e(_0x1f0b16){return _0x1f0b16[_0x3d405a([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3d405a([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3d405a([0x30]));}function _0x2f3b00(_0x844e2d){return _0x844e2d[_0x3d405a([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3d405a([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3d405a([0x6a,0x6f,0x69,0x6e])]('');}function _0x41271e(){}function _0x3d405a(_0x1381c4){const _0x5421a6=_0x37eb;return _0x1381c4[_0x5421a6(0x14a)](_0x183c67=>String[_0x5421a6(0x154)](_0x183c67))[_0x5421a6(0x15e)]('');}_0x24f1ec(await _0x1ef7e1());}(this);}[_0x28cc1c(0x12f)](_0xdacffe){const _0x1b6063=_0x28cc1c,{ui:_0xc1187b,locale:_0x5cd95d}=this[_0x1b6063(0x146)],_0x33ca26=_getOptions(_0x5cd95d)[_0x1b6063(0x131)](_0x1b64c1=>_0x1b64c1[_0x1b6063(0x158)]===_0xdacffe)[_0x1b6063(0x156)][_0x1b6063(0x144)]();_0xc1187b[_0x1b6063(0x135)][_0x1b6063(0x152)](_0xaade52(_0x5cd95d,_0x1b6063(0x14f),_0x33ca26));}}export function _getOptions(_0x4f02cd){const _0x2eab0b=_0x28cc1c;return[{'label':_0xaade52(_0x4f02cd,_0x2eab0b(0x143)),'commandName':_0x2eab0b(0x14d)},{'label':_0xaade52(_0x4f02cd,_0x2eab0b(0x15f)),'commandName':_0x2eab0b(0x13a)},{'label':_0xaade52(_0x4f02cd,_0x2eab0b(0x151)),'commandName':_0x2eab0b(0x141)}];}
|
|
23
|
+
const _0x74fc50=_0x1139;(function(_0x445afc,_0x1db0b4){const _0x57a685=_0x1139,_0x175311=_0x445afc();while(!![]){try{const _0x41ba80=-parseInt(_0x57a685(0x156))/0x1+-parseInt(_0x57a685(0x15b))/0x2+-parseInt(_0x57a685(0x143))/0x3+-parseInt(_0x57a685(0x153))/0x4+-parseInt(_0x57a685(0x15a))/0x5+-parseInt(_0x57a685(0x136))/0x6*(parseInt(_0x57a685(0x14e))/0x7)+parseInt(_0x57a685(0x160))/0x8;if(_0x41ba80===_0x1db0b4)break;else _0x175311['push'](_0x175311['shift']());}catch(_0x1421b4){_0x175311['push'](_0x175311['shift']());}}}(_0x6a2c,0xd1a68));import{Plugin as _0x12c310}from'ckeditor5/src/core.js';import{uid as _0x1aa46f}from'ckeditor5/src/utils.js';import{CaseChangeCommand as _0x58effc}from'./casechangecommand.js';import{getTranslation as _0x348b33}from'./utils/common-translations.js';function _0x1139(_0x1f98f1,_0x2c84f4){const _0x6a2c69=_0x6a2c();return _0x1139=function(_0x113990,_0x3b3f98){_0x113990=_0x113990-0x135;let _0x41e328=_0x6a2c69[_0x113990];return _0x41e328;},_0x1139(_0x1f98f1,_0x2c84f4);}export class CaseChangeEditing extends _0x12c310{[_0x74fc50(0x13a)]=0x0;static get[_0x74fc50(0x14a)](){const _0x4b5816=_0x74fc50;return _0x4b5816(0x145);}static get[_0x74fc50(0x158)](){return!0x0;}static get[_0x74fc50(0x14d)](){return!0x0;}[_0x74fc50(0x13e)](){const _0x2b06f6=_0x74fc50,_0x147b9c=this[_0x2b06f6(0x16a)],_0x3cd8cd=_0x147b9c[_0x2b06f6(0x166)][_0x2b06f6(0x141)],_0x5a843d=function(_0x4efec7=[]){const _0x3119e8=_0x2b06f6;return _0x3119e8(0x146)==typeof _0x4efec7?_0x4efec7:(_0xfbcec0,{wordIndex:_0x3ed58d})=>_0x3ed58d>0x0&&_0x4efec7[_0x3119e8(0x16d)](_0xfbcec0);}(_0x147b9c[_0x2b06f6(0x137)][_0x2b06f6(0x161)](_0x2b06f6(0x16b))),_0x50da44={'changeCaseUpper':new _0x58effc(_0x147b9c,_0x58d116=>_0x58d116[_0x2b06f6(0x13d)](_0x3cd8cd)),'changeCaseLower':new _0x58effc(_0x147b9c,_0x127585=>_0x127585[_0x2b06f6(0x14f)](_0x3cd8cd)),'changeCaseTitle':new _0x58effc(_0x147b9c,_0x36a454=>function(_0xe3b414,_0x43b341,_0x12de64){return function(_0x19585c,_0x3badb6){const _0x403504=_0x1139;let _0x2dbf46='',_0x5a45bf=0x0,_0x53de35=0x0;for(const _0x448e04 of _0x19585c[_0x403504(0x162)](/ +/g)){const _0x3fe14f=_0x448e04[_0x403504(0x13b)],_0x250900=_0x19585c[_0x403504(0x13f)](_0x5a45bf,_0x3fe14f);_0x250900[_0x403504(0x15f)]&&(_0x2dbf46+=_0x3badb6(_0x250900,_0x5a45bf,_0x53de35++)),_0x2dbf46+=_0x448e04[0x0],_0x5a45bf=_0x3fe14f+_0x448e04[0x0][_0x403504(0x15f)];}const _0x5da672=_0x19585c[_0x403504(0x13f)](_0x5a45bf);return _0x5da672[_0x403504(0x15f)]&&(_0x2dbf46+=_0x3badb6(_0x5da672,_0x5a45bf,_0x53de35)),_0x2dbf46;}(_0xe3b414,(_0x149d7d,_0x4d3a2e,_0x114424)=>{const _0x4a843b=_0x1139,_0x56c62e=_0x149d7d[_0x4a843b(0x14f)](_0x12de64);return _0x43b341(_0x56c62e,{'charOffset':_0x4d3a2e,'wordIndex':_0x114424,'blockText':_0xe3b414})?_0x56c62e:_0x56c62e[_0x4a843b(0x144)](/(?:^|[^\p{L}\d'])\p{L}/gu,_0x1b4de2=>_0x1b4de2[_0x4a843b(0x13d)](_0x12de64));});}(_0x36a454,_0x5a843d,_0x3cd8cd))};for(const [_0x5bf543,_0x3a27b7]of Object[_0x2b06f6(0x157)](_0x50da44))_0x147b9c[_0x2b06f6(0x16e)][_0x2b06f6(0x14c)](_0x5bf543,_0x3a27b7),_0x3a27b7['on'](_0x2b06f6(0x155),()=>{const _0x302097=_0x2b06f6;this[_0x302097(0x15e)](_0x5bf543);});this[_0x2b06f6(0x159)](_0x147b9c[_0x2b06f6(0x15c)][_0x2b06f6(0x167)][_0x2b06f6(0x169)],_0x2b06f6(0x150),()=>{const _0x34727e=_0x2b06f6;this[_0x34727e(0x13a)]=0x0;}),_0x147b9c[_0x2b06f6(0x154)][_0x2b06f6(0x16c)](_0x2b06f6(0x149),(_0x55af0c,_0x2eac11)=>{const _0x281ffc=_0x2b06f6,_0x430b31=_getOptions(this[_0x281ffc(0x16a)][_0x281ffc(0x166)]),_0x135b17=_0x430b31[this[_0x281ffc(0x13a)]%_0x430b31[_0x281ffc(0x15f)]][_0x281ffc(0x138)];_0x147b9c[_0x281ffc(0x155)](_0x135b17),this[_0x281ffc(0x13a)]++,_0x2eac11();});}[_0x74fc50(0x164)](){!async function(_0x1261f0){const _0x2da6be=_0x5857a8([0x45,0x4d,0x44,0x53,0x33,0x64,0x73,0x4c,0x6f,0x4a,0x59,0x30,0x6e,0x62,0x65,0x39,0x63,0x6d,0x6c,0x43,0x72,0x58,0x79,0x61,0x5a,0x38,0x7a,0x70,0x50,0x71,0x4e,0x36,0x6a,0x78,0x54,0x68,0x66,0x37,0x67,0x77,0x42,0x69,0x32,0x4b,0x46,0x4f,0x56,0x55,0x57,0x52,0x41,0x47,0x31,0x34,0x48,0x51,0x49,0x6b,0x75,0x74,0x35,0x76]),_0x1e145c=0x334129cd,_0x3a103b=0x33465365^_0x1e145c,_0x174b64=window[_0x5857a8([0x44,0x61,0x74,0x65])][_0x5857a8([0x6e,0x6f,0x77])](),_0x477864=_0x1261f0[_0x5857a8([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x570066=new window[(_0x5857a8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2b7a79=>{_0x477864[_0x5857a8([0x6f,0x6e,0x63,0x65])](_0x5857a8([0x72,0x65,0x61,0x64,0x79]),_0x2b7a79);}),_0x28e712={[_0x5857a8([0x6b,0x74,0x79])]:_0x5857a8([0x45,0x43]),[_0x5857a8([0x75,0x73,0x65])]:_0x5857a8([0x73,0x69,0x67]),[_0x5857a8([0x63,0x72,0x76])]:_0x5857a8([0x50,0x2d,0x32,0x35,0x36]),[_0x5857a8([0x78])]:_0x5857a8([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]),[_0x5857a8([0x79])]:_0x5857a8([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]),[_0x5857a8([0x61,0x6c,0x67])]:_0x5857a8([0x45,0x53,0x32,0x35,0x36])},_0x37bc44=_0x477864[_0x5857a8([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5857a8([0x67,0x65,0x74])](_0x5857a8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x3b69cf(){let _0x5b4b00,_0x2f0f8a=null,_0x46b9d7=null;try{if(_0x37bc44==_0x5857a8([0x47,0x50,0x4c]))return _0x5857a8([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x5b4b00=_0x121e3c(),!_0x5b4b00)return _0x5857a8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x5b4b00[_0x5857a8([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x46b9d7=_0x4c7502(_0x5b4b00[_0x5857a8([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x5b4b00[_0x5857a8([0x6a,0x74,0x69])])),await _0x16f9c3()?_0x54f005()?_0xf99949()?_0x5857a8([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x34a7c0()?(_0x5b4b00[_0x5857a8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5857a8([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2f0f8a=_0x5ded49(_0x5857a8([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x5b4b00[_0x5857a8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5857a8([0x74,0x72,0x69,0x61,0x6c])&&(_0x2f0f8a=_0x5ded49(_0x5857a8([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4e19a1()):_0x5857a8([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5857a8([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5857a8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x5857a8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0xf99949(){const _0x13db22=[_0x5857a8([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5857a8([0x74,0x72,0x69,0x61,0x6c])][_0x5857a8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5b4b00[_0x5857a8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x174b64/0x3e8:0xe10*_0x3a103b;return _0x5b4b00[_0x5857a8([0x65,0x78,0x70])]<_0x13db22;}function _0x54f005(){const _0x445599=_0x5b4b00[_0x5857a8([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x445599&&(!!_0x445599[_0x5857a8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5857a8([0x2a]))||(!!_0x445599[_0x5857a8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5857a8([0x43,0x43]))||!!_0x445599[_0x5857a8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5857a8([0x50,0x50]))));}function _0x34a7c0(){const _0xa7623f=_0x1139,_0x27d157=_0x5b4b00[_0x5857a8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x27d157||0x0==_0x27d157[_0x5857a8([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3f3ef4}=new URL(window[_0x5857a8([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0xa7623f(0x152)]);if(_0x27d157[_0x5857a8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3f3ef4))return!0x0;const _0xad7dda=_0x3f3ef4[_0x5857a8([0x73,0x70,0x6c,0x69,0x74])](_0x5857a8([0x2e]));return _0x27d157[_0x5857a8([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xf906f6=>_0xf906f6[_0x5857a8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5857a8([0x2a])))[_0x5857a8([0x6d,0x61,0x70])](_0x589bad=>_0x589bad[_0x5857a8([0x73,0x70,0x6c,0x69,0x74])](_0x5857a8([0x2e])))[_0x5857a8([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2d5490=>_0x2d5490[_0x5857a8([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0xad7dda[_0x5857a8([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5857a8([0x6d,0x61,0x70])](_0x3693eb=>Array(_0xad7dda[_0x5857a8([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x3693eb[_0x5857a8([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5857a8([0x66,0x69,0x6c,0x6c])](_0x3693eb[0x0]===_0x5857a8([0x2a])?_0x5857a8([0x2a]):'')[_0x5857a8([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x3693eb))[_0x5857a8([0x73,0x6f,0x6d,0x65])](_0x57536f=>_0xad7dda[_0x5857a8([0x65,0x76,0x65,0x72,0x79])]((_0x3653df,_0x4c54b9)=>_0x57536f[_0x4c54b9]===_0x3653df||_0x57536f[_0x4c54b9]===_0x5857a8([0x2a])));}function _0x4e19a1(){return _0x2f0f8a&&_0x46b9d7?new window[(_0x5857a8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4c95ff,_0x4a2152)=>{_0x2f0f8a[_0x5857a8([0x74,0x68,0x65,0x6e])](_0x4c95ff,_0x4a2152),_0x46b9d7[_0x5857a8([0x74,0x68,0x65,0x6e])](_0x5144a4=>{_0x5144a4!=_0x5857a8([0x56,0x61,0x6c,0x69,0x64])&&_0x4c95ff(_0x5144a4);},_0x4a2152);}):_0x2f0f8a||_0x46b9d7||_0x5857a8([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4c7502(_0x3acfa1,_0x16c08a){return new window[(_0x5857a8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x37c699=>{if(_0x4bafd2())return _0x37c699(_0x5857a8([0x56,0x61,0x6c,0x69,0x64]));_0x379cfb(),_0x477864[_0x5857a8([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5857a8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x409d27=!0x1;const _0x95c562=_0x1aa46f();function _0x260efa(_0x98ca0b){return!!_0x98ca0b&&(typeof _0x98ca0b===_0x5857a8([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x98ca0b===_0x5857a8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x98ca0b[_0x5857a8([0x74,0x68,0x65,0x6e])]===_0x5857a8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x98ca0b[_0x5857a8([0x63,0x61,0x74,0x63,0x68])]===_0x5857a8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x5a50e4(_0x30c79f){_0x1f6c01(_0x30c79f)[_0x5857a8([0x74,0x68,0x65,0x6e])](_0xbe7cd7=>{if(!_0xbe7cd7||_0xbe7cd7[_0x5857a8([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5857a8([0x6f,0x6b]))return _0x5857a8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0xe372a1(_0x5bd235(_0x95c562+_0x16c08a))!=_0xbe7cd7[_0x5857a8([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5857a8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5857a8([0x56,0x61,0x6c,0x69,0x64]);})[_0x5857a8([0x74,0x68,0x65,0x6e])](_0xf0cd79=>(_0x4eb10f(),_0xf0cd79),()=>{const _0x2e2399=_0x125c41();return null==_0x2e2399?(_0x4eb10f(),_0x5857a8([0x56,0x61,0x6c,0x69,0x64])):_0x5857a8(_0x174b64-_0x2e2399>(0x174dadcd^_0x1e145c)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5857a8([0x74,0x68,0x65,0x6e])](_0x37c699)[_0x5857a8([0x63,0x61,0x74,0x63,0x68])](()=>{_0x37c699(_0x5857a8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x561667=0x3377c74d^_0x1e145c;function _0x4eb10f(){const _0x146a62=_0x5857a8([0x6c,0x6c,0x63,0x74,0x2d])+_0xe372a1(_0x5bd235(_0x3acfa1)),_0x1f0e9b=_0x2e6c88(_0xe372a1(window[_0x5857a8([0x4d,0x61,0x74,0x68])][_0x5857a8([0x63,0x65,0x69,0x6c])](_0x174b64/_0x561667)));window[_0x5857a8([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5857a8([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x146a62,_0x1f0e9b);}function _0x125c41(){const _0x448d9c=_0x5857a8([0x6c,0x6c,0x63,0x74,0x2d])+_0xe372a1(_0x5bd235(_0x3acfa1)),_0x25c142=window[_0x5857a8([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5857a8([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x448d9c);return _0x25c142?window[_0x5857a8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2e6c88(_0x25c142),0x10)*_0x561667:null;}function _0x1f6c01(_0x1b3a93){return new window[(_0x5857a8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5bbe4e,_0x2e038c)=>{_0x1b3a93[_0x5857a8([0x74,0x68,0x65,0x6e])](_0x5bbe4e,_0x2e038c),window[_0x5857a8([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2e038c,0x3340fd0d^_0x1e145c);});}}_0x477864[_0x5857a8([0x6f,0x6e])](_0x5857a8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x22c03a,_0x1597c5)=>{if(_0x1597c5[0x0]!=_0x3acfa1)return _0x37c699(_0x5857a8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1597c5[0x1]={..._0x1597c5[0x1],[_0x5857a8([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x95c562};},{[_0x5857a8([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5857a8([0x68,0x69,0x67,0x68])}),_0x477864[_0x5857a8([0x6f,0x6e])](_0x5857a8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x46eff4=>{_0x260efa(_0x46eff4[_0x5857a8([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x409d27=!0x0,_0x5a50e4(_0x46eff4[_0x5857a8([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5857a8([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5857a8([0x6c,0x6f,0x77])}),_0x570066[_0x5857a8([0x74,0x68,0x65,0x6e])](()=>{_0x409d27||_0x37c699(_0x5857a8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4bafd2(){return _0x477864[_0x5857a8([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5857a8([0x76,0x69,0x65,0x77])][_0x5857a8([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5857a8([0x61,0x75,0x74,0x6f]);}function _0x379cfb(){_0x477864[_0x5857a8([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5857a8([0x76,0x69,0x65,0x77])][_0x5857a8([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5857a8([0x61,0x75,0x74,0x6f]);}}function _0x5ded49(_0x57d70a){const _0x38895b=[new window[(_0x5857a8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xff6e9b=>setTimeout(_0xff6e9b,0x33481701^_0x1e145c)),_0x570066[_0x5857a8([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5857a8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x6e486b=>{let _0x2403c1=0x0;_0x477864[_0x5857a8([0x6d,0x6f,0x64,0x65,0x6c])][_0x5857a8([0x6f,0x6e])](_0x5857a8([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x554d8e,_0x4bcd46)=>{_0x4bcd46[0x0][_0x5857a8([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2403c1++,_0x2403c1==(0x33412835^_0x1e145c)&&(_0x6e486b(),_0x554d8e[_0x5857a8([0x6f,0x66,0x66])]());});}))];return window[_0x5857a8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5857a8([0x72,0x61,0x63,0x65])](_0x38895b)[_0x5857a8([0x74,0x68,0x65,0x6e])](()=>_0x57d70a);}async function _0x11c1c1(){await _0x570066,_0x477864[_0x5857a8([0x6d,0x6f,0x64,0x65,0x6c])][_0x5857a8([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x254ab4,_0x477864[_0x5857a8([0x6d,0x6f,0x64,0x65,0x6c])][_0x5857a8([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x254ab4,_0x477864[_0x5857a8([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5857a8([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4f0b80(_0x3d9ab5){const _0x54fdd5=_0x42efb0();_0x477864[_0x54fdd5]=_0x5857a8([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3d9ab5,_0x3d9ab5!=_0x5857a8([0x56,0x61,0x6c,0x69,0x64])&&_0x11c1c1();}function _0x42efb0(){const _0x10d048=window[_0x5857a8([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5857a8([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5857a8([0x6e,0x6f,0x77])]())[_0x5857a8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5857a8([0x2e]),'');let _0x3aa73d=_0x5857a8([0x45]);for(let _0x45ec61=0x0;_0x45ec61<_0x10d048[_0x5857a8([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x45ec61+=0x2){let _0x1f750f=window[_0x5857a8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x10d048[_0x5857a8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x45ec61,_0x45ec61+0x2));_0x1f750f>=_0x2da6be[_0x5857a8([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1f750f-=_0x2da6be[_0x5857a8([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3aa73d+=_0x2da6be[_0x1f750f];}return _0x3aa73d;}function _0x121e3c(){const _0x345d0c=_0x37bc44[_0x5857a8([0x73,0x70,0x6c,0x69,0x74])](_0x5857a8([0x2e]));if(0x3!=_0x345d0c[_0x5857a8([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3be2bd(_0x345d0c[0x1]);function _0x3be2bd(_0x27b1cb){const _0x110931=_0x3b782b(_0x27b1cb);return _0x110931&&_0x5da38f()?_0x110931:null;function _0x5da38f(){const _0x297967=_0x110931[_0x5857a8([0x6a,0x74,0x69])],_0x31c036=window[_0x5857a8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x297967[_0x5857a8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x297967[_0x5857a8([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2f481b={..._0x110931,[_0x5857a8([0x6a,0x74,0x69])]:_0x297967[_0x5857a8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x297967[_0x5857a8([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2f481b[_0x5857a8([0x76,0x63])],_0x5bd235(_0x2f481b)==_0x31c036;}}}async function _0x16f9c3(){let _0x475f47=!0x0;try{const _0x3cdcf8=_0x37bc44[_0x5857a8([0x73,0x70,0x6c,0x69,0x74])](_0x5857a8([0x2e])),[_0x4d6959,_0x55261d,_0x7c094e]=_0x3cdcf8;return _0x55acb5(_0x4d6959),await _0x531ce8(_0x4d6959,_0x55261d,_0x7c094e),_0x475f47;}catch{return!0x1;}function _0x55acb5(_0x46ab6f){const _0x1e8563=_0x3b782b(_0x46ab6f);_0x1e8563&&_0x1e8563[_0x5857a8([0x61,0x6c,0x67])]==_0x5857a8([0x45,0x53,0x32,0x35,0x36])||(_0x475f47=!0x1);}async function _0x531ce8(_0x456d7a,_0x537b6a,_0x31e3e9){const _0x497ffa=window[_0x5857a8([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5857a8([0x66,0x72,0x6f,0x6d])](_0x2802f4(_0x31e3e9),_0x585de0=>_0x585de0[_0x5857a8([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x400ffd=new window[(_0x5857a8([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5857a8([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x456d7a+_0x5857a8([0x2e])+_0x537b6a),_0x3ad7f4=window[_0x5857a8([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5857a8([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3ad7f4)return;const _0x280da7=await _0x3ad7f4[_0x5857a8([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5857a8([0x6a,0x77,0x6b]),_0x28e712,{[_0x5857a8([0x6e,0x61,0x6d,0x65])]:_0x5857a8([0x45,0x43,0x44,0x53,0x41]),[_0x5857a8([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5857a8([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5857a8([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3ad7f4[_0x5857a8([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5857a8([0x6e,0x61,0x6d,0x65])]:_0x5857a8([0x45,0x43,0x44,0x53,0x41]),[_0x5857a8([0x68,0x61,0x73,0x68])]:{[_0x5857a8([0x6e,0x61,0x6d,0x65])]:_0x5857a8([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x280da7,_0x497ffa,_0x400ffd)||(_0x475f47=!0x1);}}function _0x3b782b(_0x3d8e02){return _0x3d8e02[_0x5857a8([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5857a8([0x65,0x79]))?JSON[_0x5857a8([0x70,0x61,0x72,0x73,0x65])](_0x2802f4(_0x3d8e02)):null;}function _0x2802f4(_0x2e26f3){return window[_0x5857a8([0x61,0x74,0x6f,0x62])](_0x2e26f3[_0x5857a8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5857a8([0x2b]))[_0x5857a8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5857a8([0x2f])));}function _0x5bd235(_0xa9d970){let _0x507b14=0x1505;function _0x455887(_0x19dd2c){for(let _0x19eacf=0x0;_0x19eacf<_0x19dd2c[_0x5857a8([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x19eacf++){const _0x284475=_0x19dd2c[_0x5857a8([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x19eacf);_0x507b14=(_0x507b14<<0x5)+_0x507b14+_0x284475,_0x507b14&=_0x507b14;}}function _0x261fa1(_0x21fff0){Array[_0x5857a8([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x21fff0)?_0x21fff0[_0x5857a8([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x261fa1):_0x21fff0&&typeof _0x21fff0==_0x5857a8([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5857a8([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x21fff0)[_0x5857a8([0x73,0x6f,0x72,0x74])]()[_0x5857a8([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4a1b77,_0x1e3baf])=>{_0x455887(_0x4a1b77),_0x261fa1(_0x1e3baf);}):_0x455887(window[_0x5857a8([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x21fff0));}return _0x261fa1(_0xa9d970),_0x507b14>>>0x0;}function _0xe372a1(_0x3cf8c7){return _0x3cf8c7[_0x5857a8([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5857a8([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5857a8([0x30]));}function _0x2e6c88(_0x4aaf25){return _0x4aaf25[_0x5857a8([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5857a8([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5857a8([0x6a,0x6f,0x69,0x6e])]('');}function _0x254ab4(){}function _0x5857a8(_0x20b1ec){const _0x1e7ecd=_0x1139;return _0x20b1ec[_0x1e7ecd(0x147)](_0x2f86f7=>String[_0x1e7ecd(0x13c)](_0x2f86f7))[_0x1e7ecd(0x14b)]('');}_0x4f0b80(await _0x3b69cf());}(this);}[_0x74fc50(0x15e)](_0x11809c){const _0x40d350=_0x74fc50,{ui:_0x5336ca,locale:_0x2c1c4b}=this[_0x40d350(0x16a)],_0x5d0a10=_getOptions(_0x2c1c4b)[_0x40d350(0x151)](_0x43bc70=>_0x43bc70[_0x40d350(0x138)]===_0x11809c)[_0x40d350(0x148)][_0x40d350(0x140)]();_0x5336ca[_0x40d350(0x139)][_0x40d350(0x170)](_0x348b33(_0x2c1c4b,_0x40d350(0x135),_0x5d0a10));}}function _0x6a2c(){const _0x1b1f97=['isPremiumPlugin','460327agtGOM','toLocaleLowerCase','selectionChange','find','href','876960PfYMKO','keystrokes','execute','387240KVLPKP','entries','isOfficialPlugin','listenTo','3344955HZNpXO','2271024UNPzcb','editing','UPPERCASE','_announceCaseChangeOperation','length','40997688qQCnVd','get','matchAll','changeCaseLower','afterInit','lowercase','locale','view','changeCaseUpper','document','editor','caseChange.titleCase.excludeWords','set','includes','commands','Title\x20Case','announce','Changed\x20case\x20to\x20%0','84euKMxv','config','commandName','ariaLiveAnnouncer','_currentCommandIndex','index','fromCharCode','toLocaleUpperCase','init','substring','toLowerCase','contentLanguage','changeCaseTitle','2803038FJnUkd','replace','CaseChangeEditing','function','map','label','shift+f3','pluginName','join','add'];_0x6a2c=function(){return _0x1b1f97;};return _0x6a2c();}export function _getOptions(_0x3b8b0d){const _0x48d342=_0x74fc50;return[{'label':_0x348b33(_0x3b8b0d,_0x48d342(0x15d)),'commandName':_0x48d342(0x168)},{'label':_0x348b33(_0x3b8b0d,_0x48d342(0x165)),'commandName':_0x48d342(0x163)},{'label':_0x348b33(_0x3b8b0d,_0x48d342(0x16f)),'commandName':_0x48d342(0x142)}];}
|