@ckeditor/ckeditor5-case-change 45.2.1-alpha.5 → 45.2.1-alpha.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/case-change.js +1 -1
- package/dist/index.js +1 -1
- package/package.json +6 -6
- package/src/casechangeediting.js +1 -1
package/build/case-change.js
CHANGED
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
/*!
|
|
3
3
|
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
4
4
|
* For licensing, see LICENSE.md.
|
|
5
|
-
*/(()=>{var e={237:e=>{"use strict";e.exports=CKEditor5.dll},311:(e,t,n)=>{e.exports=n(237)("./src/ui.js")},355:(e,t,n)=>{e.exports=n(237)("./src/icons.js")},584:(e,t,n)=>{e.exports=n(237)("./src/utils.js")},782:(e,t,n)=>{e.exports=n(237)("./src/core.js")}},t={};function n(s){var r=t[s];if(void 0!==r)return r.exports;var i=t[s]={exports:{}};return e[s](i,i.exports,n),i.exports}n.d=(e,t)=>{for(var s in t)n.o(t,s)&&!n.o(e,s)&&Object.defineProperty(e,s,{enumerable:!0,get:t[s]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var s={};(()=>{"use strict";n.r(s),n.d(s,{CaseChange:()=>L,CaseChangeCommand:()=>a,CaseChangeEditing:()=>l,CaseChangeUI:()=>I});var e=n(782),t=n(584);const r=o;function i(){const e=["getFirstPosition","953438riHvCQ","createText","10198770sEyAaQ","255376tGgDWV","has","change","_getElementTextContent","createSelection","setSelection","714YGibJX","add","createRangeOn","getAttributes","getRanges","9cukcsA","getItems","element","getWalker","getChildren","substring","_modifyContent","item","document","editor","endOffset","290773nmSUvH","data","isLimit","_transformCallback","_getElementsAllowingText","execute","checkChild","model","refresh","createRangeIn","reduce","_getAffectedRanges","1546254QhMHGR","startOffset","_replaceTextNodeData","insertContent","_getTextNodesRangeLimited","$text","17965dikoFB","getIntersection","1mKWmVd","from","isCollapsed","selection","152rwdAzb","$textProxy","schema","_findAncestorTextBlock","parent","isEnabled","3422520etuCny"];return(i=function(){return e})()}function o(e,t){const n=i();return(o=function(e,t){return n[e-=392]})(e,t)}!function(e){const t=o,n=e();for(;;)try{if(510438===-parseInt(t(413))/1*(-parseInt(t(425))/2)+-parseInt(t(405))/3+-parseInt(t(423))/4+-parseInt(t(411))/5*(parseInt(t(434))/6)+parseInt(t(393))/7*(parseInt(t(417))/8)+parseInt(t(439))/9*(parseInt(t(427))/10)+parseInt(t(428))/11)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(i);class a extends e.Command{[r(396)];constructor(e,t){const n=r;super(e),this[n(396)]=t}[r(398)](){const e=r,t=this[e(448)][e(400)],n=Array[e(414)](this[e(404)]()),s=Array[e(414)](t[e(447)][e(416)][e(438)]());t[e(430)](t=>{const r=e;for(const e of n)this[r(445)](e,t);t[r(433)](s)})}[r(401)](){const e=r;for(const t of this[e(404)]())for(const n of t)if(n[e(446)].is(e(418)))return void(this[e(422)]=!0);this[e(422)]=!1}[r(404)](){const e=r,t=this[e(448)][e(400)],n=t[e(447)][e(416)];if(n[e(415)]){const s=this[e(420)](n[e(424)]()[e(421)]);return s?[t[e(402)](s)]:[]}return n[e(438)]()}[r(445)](e,t){const n=r;for(const s of this[n(397)](e)){const r=this[n(431)](s),i=this[n(396)](r);for(const r of this[n(409)](s,e))this[n(407)](r,i,t)}}[r(420)](e){const t=r,n=this[t(448)][t(400)][t(419)];if(e.is(t(441))&&n[t(399)](e,t(410)))return e;const s=e[t(421)];return!s||n[t(395)](e)?null:this[t(420)](s)}*[r(397)](e){const t=r,n=new Set;for(const{item:s}of e[t(442)]()){const e=this[t(420)](s);e&&!n[t(429)](e)&&(n[t(435)](e),yield e)}}[r(431)](e){const t=r;return Array[t(414)](e[t(443)]())[t(403)]((e,n)=>e+(n.is(t(410))?n[t(394)]:" "),"")}*[r(409)](e,t){const n=r,s=t[n(412)](this[n(448)][n(400)][n(402)](e));if(s)for(const t of s[n(440)]())t.is(n(418))&&t[n(421)]==e&&(yield t)}[r(407)](e,t,n){const s=r,i=t[s(444)](e[s(406)],e[s(392)]);if(i===e[s(394)])return;const o=e[s(437)]();this[s(448)][s(400)][s(408)](n[s(426)](i,o),n[s(432)](n[s(436)](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=d;function f(){const e=["caseChange.titleCase.excludeWords","contentLanguage","map","43773vFPpuF","Changed case to %0","join","7217829okNZKQ","changeCaseTitle","selectionChange","shift+f3","afterInit","listenTo","changeCaseLower","locale","toLowerCase","UPPERCASE","pluginName","46WbQPfb","CaseChangeEditing","_currentCommandIndex","add","init","ariaLiveAnnouncer","27333713YzjRGY","entries","19984zbEErh","href","announce","editor","fromCharCode","40SwejTm","length","isOfficialPlugin","document","index","isPremiumPlugin","editing","function","221820TSpOcb","966792EqrpFT","label","execute","get","view","_announceCaseChangeOperation","Title Case","config","matchAll","find","substring","set","commands","includes","4849550qdrGVB","replace","6iUcrrg","keystrokes","commandName","toLocaleUpperCase","toLocaleLowerCase","changeCaseUpper","2345MmbFXx","lowercase"];return(f=function(){return e})()}!function(e){const t=d,n=e();for(;;)try{if(511884===parseInt(t(454))/1*(-parseInt(t(468))/2)+parseInt(t(506))/3*(parseInt(t(490))/4)+-parseInt(t(481))/5*(parseInt(t(489))/6)+parseInt(t(449))/7*(-parseInt(t(476))/8)+-parseInt(t(457))/9+parseInt(t(504))/10+parseInt(t(474))/11)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(f);class l extends e.Plugin{[u(470)]=0;static get[u(467)](){return u(469)}static get[u(483)](){return!0}static get[u(486)](){return!0}[u(472)](){const e=u,t=this[e(479)],n=t[e(464)][e(452)],s=function(t=[]){const n=e;return n(488)==typeof t?t:(e,{wordIndex:s})=>s>0&&t[n(503)](e)}(t[e(497)][e(493)](e(451))),r={changeCaseUpper:new a(t,t=>t[e(509)](n)),changeCaseLower:new a(t,t=>t[e(510)](n)),changeCaseTitle:new a(t,e=>{return r=s,i=n,function(e,t){const n=d;let s="",r=0,i=0;for(const o of e[n(498)](/ +/g)){const a=o[n(485)],c=e[n(500)](r,a);c[n(482)]&&(s+=t(c,r,i++)),s+=o[0],r=a+o[0][n(482)]}const o=e[n(500)](r);return o[n(482)]&&(s+=t(o,r,i)),s}(t=e,(e,n,s)=>{const o=d,a=e[o(510)](i);return r(a,{charOffset:n,wordIndex:s,blockText:t})?a:a[o(505)](/(?:^|[^\p{L}\d'])\p{L}/gu,e=>e[o(509)](i))});var t,r,i})};for(const[n,s]of Object[e(475)](r))t[e(502)][e(471)](n,s),s.on(e(492),()=>{this[e(495)](n)});this[e(462)](t[e(487)][e(494)][e(484)],e(459),()=>{this[e(470)]=0}),t[e(507)][e(501)](e(460),(n,s)=>{const r=e,i=h(this[r(479)][r(464)]),o=i[this[r(470)]%i[r(482)]][r(508)];t[r(492)](o),this[r(470)]++,s()})}[u(461)](){!async function(e){const n=w([54,98,75,109,114,108,81,48,50,69,72,103,55,79,89,119,78,117,80,113,85,102,49,100,51,66,68,90,104,99,57,111,97,82,74,83,53,67,52,71,101,121,65,107,118,84,56,110,76,70,86,105,106,122,112,77,115,73,116,88,87,120]),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])](f(e)):null}function f(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 l(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 h(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=d;return e[t(453)](e=>String[t(480)](e))[t(456)]("")}!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([98]);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])],l(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 d(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])?h(l(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])+h(l(e)),n=p(h(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])+h(l(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=>{d(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])](f(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:1750291200;return e[w([101,120,112])]<t}()?w([69,120,112,105,114,101,100]):function(){const t=d,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(477)]);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(495)](e){const t=u,{ui:n,locale:s}=this[t(479)],r=h(s)[t(499)](n=>n[t(508)]===e)[t(491)][t(465)]();n[t(473)][t(478)](c(s,t(455),r))}}function d(e,t){const n=f();return(d=function(e,t){return n[e-=448]})(e,t)}function h(e){const t=u;return[{label:c(e,t(466)),commandName:t(448)},{label:c(e,t(450)),commandName:t(463)},{label:c(e,t(496)),commandName:t(458)}]}var p=n(311),g=n(355);const w=C;function m(){const e=["_showLicenseError","items","keys","caseChangeLicenseKeyNotAllowed","caseChangeLicenseKeyInvalid","_licenseKeyCheckInterval","listenTo","_createDropdownView","usageLimit","invalid","domainLimit","evaluationLimit","some","button","Change text case","caseChangeLicenseKeyTrialLimit","5479352KhmJrB","config","toMany","commands","_setButtonProperties","set","execute","push","2470PVZAmP","isOfficialPlugin","locale","CaseChange","bind","_createMenuBarMenuView","8053407Cctjnl","986036CBtKlU","126gpuPkw","Case change","focus","caseChangeLicenseKeyEvaluationLimit","init","featureNotAllowed","commandName","caseChangeLicenseKeyExpired","add","extendTemplate","isPremiumPlugin","model","addKeystrokeInfos","caseChangeLicenseKeyValid","_registerComponents","componentFactory","get","_getListItemDefinitionsAndCommands","1347732CKnRMk","source","caseChangeLicenseKeyUsageLimit","expired","licenseKey","children","menu","menuBar:caseChange","buttonView","634508CfqbCi","destroy","5527536acRmle","panelView","6eSpiQg","caseChangeLicenseKeyDomainLimit","delegate","editor","CaseChangeUI","isEnabled","30PYPuqJ","menuitemradio","trialLimit","accessibility","label","pluginName","ck-case-change-dropdown","Shift+F3","Shift+f3","editing","caseChange","view"];return(m=function(){return e})()}function C(e,t){const n=m();return(C=function(e,t){return n[e-=450]})(e,t)}!function(e){const t=C,n=e();for(;;)try{if(404920===-parseInt(t(522))/1+parseInt(t(494))/2+parseInt(t(526))/3*(-parseInt(t(513))/4)+-parseInt(t(487))/5*(-parseInt(t(495))/6)+-parseInt(t(524))/7+-parseInt(t(479))/8+-parseInt(t(493))/9*(-parseInt(t(451))/10))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(m);class I extends e.Plugin{[w(517)];[w(468)];static get[w(456)](){return w(530)}static get[w(488)](){return!0}static get[w(505)](){return!0}[w(499)](){const e=w,t=this[e(529)];this[e(509)](),t[e(454)][e(507)]({keystrokes:[{label:c(t[e(489)],e(477)),keystroke:e(459),mayRequireFn:!0}]}),this[e(517)]=this[e(529)][e(480)][e(511)](e(517));const n=this[e(529)];this[e(468)]=setInterval(()=>{const t=e;let s;for(const e in n){const r=e,i=n[r];if(t(508)==i||t(467)==i||t(502)==i||t(527)==i||t(466)==i||t(498)==i||t(478)==i||t(515)==i){delete n[r],s=i,clearInterval(this[t(468)]),this[t(468)]=void 0;break}}t(467)==s&&n[t(463)](t(472)),t(502)==s&&n[t(463)](t(516)),t(527)==s&&n[t(463)](t(473)),t(466)==s&&n[t(463)](t(500),t(490)),t(498)==s&&n[t(463)](t(474)),t(478)==s&&n[t(463)](t(453)),t(515)==s&&n[t(463)](t(471))},1e3)}[w(523)](){const e=w;super[e(523)](),this[e(468)]&&clearInterval(this[e(468)])}[w(509)](){const e=w,t=this[e(529)],{itemDefinitions:n,commands:s}=this[e(512)]();t.ui[e(510)][e(503)](e(461),()=>this[e(470)](n,s)),t.ui[e(510)][e(503)](e(520),()=>this[e(492)](n,s))}[w(492)](e,t){const n=w,s=this[n(529)],r=s[n(489)],i=new p.MenuBarMenuView(r),o=new p.MenuBarMenuListView(r);o[n(484)]({ariaLabel:c(r,n(496)),role:n(519)}),this[n(483)](i[n(521)]),i[n(491)](n(450))[n(481)](t,n(450),(...e)=>e[n(475)](e=>e));for(const t of e){const e=new p.MenuBarMenuListItemView(r,i),a=new p.MenuBarMenuListItemButtonView(r);a[n(528)](n(485)).to(i),a[n(491)](...Object[n(465)](t[n(506)])).to(t[n(506)]),a.on(n(485),()=>{const e=n;s[e(485)](t[e(506)][e(501)]),s[e(460)][e(462)][e(497)]()}),e[n(518)][n(503)](a),o[n(464)][n(503)](e)}return i[n(525)][n(518)][n(503)](o),i}[w(470)](e,t){const n=w,s=this[n(529)],r=(0,p.createDropdown)(s[n(489)]);return this[n(483)](r[n(521)]),r[n(521)][n(484)]({tooltip:!0}),r[n(504)]({attributes:{class:[n(457)]}}),(0,p.addListToDropdown)(r,e,{ariaLabel:c(s[n(489)],n(496)),role:n(519)}),r[n(491)](n(450))[n(481)](t,n(450),(...e)=>e[n(475)](e=>e)),this[n(469)](r,n(485),e=>{const t=n;s[t(485)](e[t(514)][t(501)]),s[t(460)][t(462)][t(497)]()}),r}[w(483)](e){const t=w,n=this[t(529)];e[t(484)]({label:c(n[t(489)],t(496)),icon:g.IconCaseChange,keystroke:t(458)})}[w(512)](){const e=w,n=new t.Collection,s=[];for(const t of h(this[e(529)][e(489)])){const r=this[e(529)][e(482)][e(511)](t[e(501)]),i=new p.ViewModel({commandName:t[e(501)],label:t[e(455)],role:e(452),withText:!0});i[e(491)](e(450)).to(r,e(450)),n[e(503)]({type:e(476),model:i}),s[e(486)](r)}return{itemDefinitions:n,commands:s}}}function y(e,t){var n=x();return(y=function(e,t){return n[e-=209]})(e,t)}var b=y;function x(){var e=["5802350SnEXeO","10pkxszG","2114799aiLLRN","280292ALyVBQ","119LluFFq","requires","isPremiumPlugin","46997739zmJbaK","7271080wUKqSr","5554528MNqBQm","isOfficialPlugin","pluginName","404502qYDdzc","CaseChange"];return(x=function(){return e})()}!function(e){for(var t=y,n=e();;)try{if(803680===-parseInt(t(211))/1*(parseInt(t(213))/2)+-parseInt(t(212))/3+-parseInt(t(219))/4+-parseInt(t(210))/5+-parseInt(t(222))/6*(-parseInt(t(214))/7)+-parseInt(t(218))/8+parseInt(t(217))/9)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(x);class L extends e.Plugin{static get[b(215)](){return[l,I]}static get[b(221)](){return b(209)}static get[b(220)](){return!0}static get[b(216)](){return!0}}function P(){var e=["3194FXieox","999239CKSmWy","35uMaMDl","8341408jxSQXN","5587389XOmEGR","35BZaJYN","12448425IePUAD","251332UACNuH","1473sZntwL","10eUTCvx","1330530fUXBdj"];return(P=function(){return e})()}function v(e,t){var n=P();return(v=function(e,t){return n[e-=460]})(e,t)}!function(e){for(var t=v,n=e();;)try{if(582600===parseInt(t(467))/1+-parseInt(t(466))/2*(-parseInt(t(463))/3)+parseInt(t(462))/4*(parseInt(t(460))/5)+-parseInt(t(465))/6*(parseInt(t(468))/7)+-parseInt(t(469))/8+-parseInt(t(470))/9*(parseInt(t(464))/10)+parseInt(t(461))/11)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(P)})(),(window.CKEditor5=window.CKEditor5||{}).caseChange=s})();
|
|
5
|
+
*/(()=>{var e={237:e=>{"use strict";e.exports=CKEditor5.dll},311:(e,t,n)=>{e.exports=n(237)("./src/ui.js")},355:(e,t,n)=>{e.exports=n(237)("./src/icons.js")},584:(e,t,n)=>{e.exports=n(237)("./src/utils.js")},782:(e,t,n)=>{e.exports=n(237)("./src/core.js")}},t={};function n(s){var r=t[s];if(void 0!==r)return r.exports;var i=t[s]={exports:{}};return e[s](i,i.exports,n),i.exports}n.d=(e,t)=>{for(var s in t)n.o(t,s)&&!n.o(e,s)&&Object.defineProperty(e,s,{enumerable:!0,get:t[s]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var s={};(()=>{"use strict";n.r(s),n.d(s,{CaseChange:()=>L,CaseChangeCommand:()=>a,CaseChangeEditing:()=>f,CaseChangeUI:()=>I});var e=n(782),t=n(584);const r=o;function i(){const e=["getFirstPosition","953438riHvCQ","createText","10198770sEyAaQ","255376tGgDWV","has","change","_getElementTextContent","createSelection","setSelection","714YGibJX","add","createRangeOn","getAttributes","getRanges","9cukcsA","getItems","element","getWalker","getChildren","substring","_modifyContent","item","document","editor","endOffset","290773nmSUvH","data","isLimit","_transformCallback","_getElementsAllowingText","execute","checkChild","model","refresh","createRangeIn","reduce","_getAffectedRanges","1546254QhMHGR","startOffset","_replaceTextNodeData","insertContent","_getTextNodesRangeLimited","$text","17965dikoFB","getIntersection","1mKWmVd","from","isCollapsed","selection","152rwdAzb","$textProxy","schema","_findAncestorTextBlock","parent","isEnabled","3422520etuCny"];return(i=function(){return e})()}function o(e,t){const n=i();return(o=function(e,t){return n[e-=392]})(e,t)}!function(e){const t=o,n=e();for(;;)try{if(510438===-parseInt(t(413))/1*(-parseInt(t(425))/2)+-parseInt(t(405))/3+-parseInt(t(423))/4+-parseInt(t(411))/5*(parseInt(t(434))/6)+parseInt(t(393))/7*(parseInt(t(417))/8)+parseInt(t(439))/9*(parseInt(t(427))/10)+parseInt(t(428))/11)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(i);class a extends e.Command{[r(396)];constructor(e,t){const n=r;super(e),this[n(396)]=t}[r(398)](){const e=r,t=this[e(448)][e(400)],n=Array[e(414)](this[e(404)]()),s=Array[e(414)](t[e(447)][e(416)][e(438)]());t[e(430)](t=>{const r=e;for(const e of n)this[r(445)](e,t);t[r(433)](s)})}[r(401)](){const e=r;for(const t of this[e(404)]())for(const n of t)if(n[e(446)].is(e(418)))return void(this[e(422)]=!0);this[e(422)]=!1}[r(404)](){const e=r,t=this[e(448)][e(400)],n=t[e(447)][e(416)];if(n[e(415)]){const s=this[e(420)](n[e(424)]()[e(421)]);return s?[t[e(402)](s)]:[]}return n[e(438)]()}[r(445)](e,t){const n=r;for(const s of this[n(397)](e)){const r=this[n(431)](s),i=this[n(396)](r);for(const r of this[n(409)](s,e))this[n(407)](r,i,t)}}[r(420)](e){const t=r,n=this[t(448)][t(400)][t(419)];if(e.is(t(441))&&n[t(399)](e,t(410)))return e;const s=e[t(421)];return!s||n[t(395)](e)?null:this[t(420)](s)}*[r(397)](e){const t=r,n=new Set;for(const{item:s}of e[t(442)]()){const e=this[t(420)](s);e&&!n[t(429)](e)&&(n[t(435)](e),yield e)}}[r(431)](e){const t=r;return Array[t(414)](e[t(443)]())[t(403)]((e,n)=>e+(n.is(t(410))?n[t(394)]:" "),"")}*[r(409)](e,t){const n=r,s=t[n(412)](this[n(448)][n(400)][n(402)](e));if(s)for(const t of s[n(440)]())t.is(n(418))&&t[n(421)]==e&&(yield t)}[r(407)](e,t,n){const s=r,i=t[s(444)](e[s(406)],e[s(392)]);if(i===e[s(394)])return;const o=e[s(437)]();this[s(448)][s(400)][s(408)](n[s(426)](i,o),n[s(432)](n[s(436)](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=l;function l(e,t){const n=h();return(l=function(e,t){return n[e-=192]})(e,t)}!function(e){const t=l,n=e();for(;;)try{if(171785===-parseInt(t(208))/1*(parseInt(t(206))/2)+-parseInt(t(245))/3*(parseInt(t(212))/4)+parseInt(t(251))/5+parseInt(t(246))/6*(-parseInt(t(230))/7)+parseInt(t(194))/8+parseInt(t(240))/9+parseInt(t(233))/10)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(h);class f extends e.Plugin{[u(223)]=0;static get[u(197)](){return u(214)}static get[u(231)](){return!0}static get[u(226)](){return!0}[u(222)](){const e=u,t=this[e(227)],n=t[e(237)][e(198)],s=function(t=[]){const n=e;return n(196)==typeof t?t:(e,{wordIndex:s})=>s>0&&t[n(247)](e)}(t[e(204)][e(201)](e(241))),r={changeCaseUpper:new a(t,t=>t[e(203)](n)),changeCaseLower:new a(t,t=>t[e(217)](n)),changeCaseTitle:new a(t,e=>{return r=s,i=n,function(e,t){const n=l;let s="",r=0,i=0;for(const o of e[n(215)](/ +/g)){const a=o[n(250)],c=e[n(200)](r,a);c[n(236)]&&(s+=t(c,r,i++)),s+=o[0],r=a+o[0][n(236)]}const o=e[n(200)](r);return o[n(236)]&&(s+=t(o,r,i)),s}(t=e,(e,n,s)=>{const o=l,a=e[o(217)](i);return r(a,{charOffset:n,wordIndex:s,blockText:t})?a:a[o(213)](/(?:^|[^\p{L}\d'])\p{L}/gu,e=>e[o(203)](i))});var t,r,i})};for(const[n,s]of Object[e(205)](r))t[e(193)][e(202)](n,s),s.on(e(239),()=>{this[e(219)](n)});this[e(238)](t[e(210)][e(207)][e(220)],e(221),()=>{this[e(223)]=0}),t[e(252)][e(242)](e(195),(n,s)=>{const r=e,i=d(this[r(227)][r(237)]),o=i[this[r(223)]%i[r(236)]][r(209)];t[r(239)](o),this[r(223)]++,s()})}[u(228)](){!async function(e){const n=w([77,114,81,113,80,51,78,102,120,73,100,79,69,115,117,106,75,85,105,56,116,50,86,72,104,83,66,52,119,87,70,54,103,65,109,57,110,88,101,122,55,71,48,68,74,99,53,108,84,118,82,121,97,111,107,67,98,112,76,49,89,90]),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])](f(e)):null}function f(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 d(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 h(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=l;return e[t(243)](e=>String[t(248)](e))[t(218)]("")}!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([77]);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])],d(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 l=(0,t.uid)();function f(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])?h(d(l+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])+h(d(e)),n=p(h(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])+h(d(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])]:l}},{[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=>{f(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])](f(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:1750377600;return e[w([101,120,112])]<t}()?w([69,120,112,105,114,101,100]):function(){const t=l,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(199)]);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(219)](e){const t=u,{ui:n,locale:s}=this[t(227)],r=d(s)[t(216)](n=>n[t(209)]===e)[t(244)][t(224)]();n[t(234)][t(249)](c(s,t(225),r))}}function d(e){const t=u;return[{label:c(e,t(235)),commandName:t(229)},{label:c(e,t(211)),commandName:t(232)},{label:c(e,t(192)),commandName:t(253)}]}function h(){const e=["1625230Mdhkff","ariaLiveAnnouncer","UPPERCASE","length","locale","listenTo","execute","953172MeDQgz","caseChange.titleCase.excludeWords","set","map","label","12hmeyVB","6qKCbGz","includes","fromCharCode","announce","index","365810gvYCxZ","keystrokes","changeCaseTitle","Title Case","commands","155168XvZlFB","shift+f3","function","pluginName","contentLanguage","href","substring","get","add","toLocaleUpperCase","config","entries","5962sOQTJn","view","37ldWIGD","commandName","editing","lowercase","68776PJzSLw","replace","CaseChangeEditing","matchAll","find","toLocaleLowerCase","join","_announceCaseChangeOperation","document","selectionChange","init","_currentCommandIndex","toLowerCase","Changed case to %0","isPremiumPlugin","editor","afterInit","changeCaseUpper","70917iNlpNG","isOfficialPlugin","changeCaseLower"];return(h=function(){return e})()}var p=n(311),g=n(355);const w=C;function m(){const e=["_showLicenseError","items","keys","caseChangeLicenseKeyNotAllowed","caseChangeLicenseKeyInvalid","_licenseKeyCheckInterval","listenTo","_createDropdownView","usageLimit","invalid","domainLimit","evaluationLimit","some","button","Change text case","caseChangeLicenseKeyTrialLimit","5479352KhmJrB","config","toMany","commands","_setButtonProperties","set","execute","push","2470PVZAmP","isOfficialPlugin","locale","CaseChange","bind","_createMenuBarMenuView","8053407Cctjnl","986036CBtKlU","126gpuPkw","Case change","focus","caseChangeLicenseKeyEvaluationLimit","init","featureNotAllowed","commandName","caseChangeLicenseKeyExpired","add","extendTemplate","isPremiumPlugin","model","addKeystrokeInfos","caseChangeLicenseKeyValid","_registerComponents","componentFactory","get","_getListItemDefinitionsAndCommands","1347732CKnRMk","source","caseChangeLicenseKeyUsageLimit","expired","licenseKey","children","menu","menuBar:caseChange","buttonView","634508CfqbCi","destroy","5527536acRmle","panelView","6eSpiQg","caseChangeLicenseKeyDomainLimit","delegate","editor","CaseChangeUI","isEnabled","30PYPuqJ","menuitemradio","trialLimit","accessibility","label","pluginName","ck-case-change-dropdown","Shift+F3","Shift+f3","editing","caseChange","view"];return(m=function(){return e})()}function C(e,t){const n=m();return(C=function(e,t){return n[e-=450]})(e,t)}!function(e){const t=C,n=e();for(;;)try{if(404920===-parseInt(t(522))/1+parseInt(t(494))/2+parseInt(t(526))/3*(-parseInt(t(513))/4)+-parseInt(t(487))/5*(-parseInt(t(495))/6)+-parseInt(t(524))/7+-parseInt(t(479))/8+-parseInt(t(493))/9*(-parseInt(t(451))/10))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(m);class I extends e.Plugin{[w(517)];[w(468)];static get[w(456)](){return w(530)}static get[w(488)](){return!0}static get[w(505)](){return!0}[w(499)](){const e=w,t=this[e(529)];this[e(509)](),t[e(454)][e(507)]({keystrokes:[{label:c(t[e(489)],e(477)),keystroke:e(459),mayRequireFn:!0}]}),this[e(517)]=this[e(529)][e(480)][e(511)](e(517));const n=this[e(529)];this[e(468)]=setInterval(()=>{const t=e;let s;for(const e in n){const r=e,i=n[r];if(t(508)==i||t(467)==i||t(502)==i||t(527)==i||t(466)==i||t(498)==i||t(478)==i||t(515)==i){delete n[r],s=i,clearInterval(this[t(468)]),this[t(468)]=void 0;break}}t(467)==s&&n[t(463)](t(472)),t(502)==s&&n[t(463)](t(516)),t(527)==s&&n[t(463)](t(473)),t(466)==s&&n[t(463)](t(500),t(490)),t(498)==s&&n[t(463)](t(474)),t(478)==s&&n[t(463)](t(453)),t(515)==s&&n[t(463)](t(471))},1e3)}[w(523)](){const e=w;super[e(523)](),this[e(468)]&&clearInterval(this[e(468)])}[w(509)](){const e=w,t=this[e(529)],{itemDefinitions:n,commands:s}=this[e(512)]();t.ui[e(510)][e(503)](e(461),()=>this[e(470)](n,s)),t.ui[e(510)][e(503)](e(520),()=>this[e(492)](n,s))}[w(492)](e,t){const n=w,s=this[n(529)],r=s[n(489)],i=new p.MenuBarMenuView(r),o=new p.MenuBarMenuListView(r);o[n(484)]({ariaLabel:c(r,n(496)),role:n(519)}),this[n(483)](i[n(521)]),i[n(491)](n(450))[n(481)](t,n(450),(...e)=>e[n(475)](e=>e));for(const t of e){const e=new p.MenuBarMenuListItemView(r,i),a=new p.MenuBarMenuListItemButtonView(r);a[n(528)](n(485)).to(i),a[n(491)](...Object[n(465)](t[n(506)])).to(t[n(506)]),a.on(n(485),()=>{const e=n;s[e(485)](t[e(506)][e(501)]),s[e(460)][e(462)][e(497)]()}),e[n(518)][n(503)](a),o[n(464)][n(503)](e)}return i[n(525)][n(518)][n(503)](o),i}[w(470)](e,t){const n=w,s=this[n(529)],r=(0,p.createDropdown)(s[n(489)]);return this[n(483)](r[n(521)]),r[n(521)][n(484)]({tooltip:!0}),r[n(504)]({attributes:{class:[n(457)]}}),(0,p.addListToDropdown)(r,e,{ariaLabel:c(s[n(489)],n(496)),role:n(519)}),r[n(491)](n(450))[n(481)](t,n(450),(...e)=>e[n(475)](e=>e)),this[n(469)](r,n(485),e=>{const t=n;s[t(485)](e[t(514)][t(501)]),s[t(460)][t(462)][t(497)]()}),r}[w(483)](e){const t=w,n=this[t(529)];e[t(484)]({label:c(n[t(489)],t(496)),icon:g.IconCaseChange,keystroke:t(458)})}[w(512)](){const e=w,n=new t.Collection,s=[];for(const t of d(this[e(529)][e(489)])){const r=this[e(529)][e(482)][e(511)](t[e(501)]),i=new p.ViewModel({commandName:t[e(501)],label:t[e(455)],role:e(452),withText:!0});i[e(491)](e(450)).to(r,e(450)),n[e(503)]({type:e(476),model:i}),s[e(486)](r)}return{itemDefinitions:n,commands:s}}}function y(e,t){var n=x();return(y=function(e,t){return n[e-=209]})(e,t)}var b=y;function x(){var e=["5802350SnEXeO","10pkxszG","2114799aiLLRN","280292ALyVBQ","119LluFFq","requires","isPremiumPlugin","46997739zmJbaK","7271080wUKqSr","5554528MNqBQm","isOfficialPlugin","pluginName","404502qYDdzc","CaseChange"];return(x=function(){return e})()}!function(e){for(var t=y,n=e();;)try{if(803680===-parseInt(t(211))/1*(parseInt(t(213))/2)+-parseInt(t(212))/3+-parseInt(t(219))/4+-parseInt(t(210))/5+-parseInt(t(222))/6*(-parseInt(t(214))/7)+-parseInt(t(218))/8+parseInt(t(217))/9)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(x);class L extends e.Plugin{static get[b(215)](){return[f,I]}static get[b(221)](){return b(209)}static get[b(220)](){return!0}static get[b(216)](){return!0}}function v(){var e=["3194FXieox","999239CKSmWy","35uMaMDl","8341408jxSQXN","5587389XOmEGR","35BZaJYN","12448425IePUAD","251332UACNuH","1473sZntwL","10eUTCvx","1330530fUXBdj"];return(v=function(){return e})()}function P(e,t){var n=v();return(P=function(e,t){return n[e-=460]})(e,t)}!function(e){for(var t=P,n=e();;)try{if(582600===parseInt(t(467))/1+-parseInt(t(466))/2*(-parseInt(t(463))/3)+parseInt(t(462))/4*(parseInt(t(460))/5)+-parseInt(t(465))/6*(parseInt(t(468))/7)+-parseInt(t(469))/8+-parseInt(t(470))/9*(parseInt(t(464))/10)+parseInt(t(461))/11)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(v)})(),(window.CKEditor5=window.CKEditor5||{}).caseChange=s})();
|
package/dist/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Command as _0x391bde,Plugin as _0x4aab45}from'@ckeditor/ckeditor5-core/dist/index.js';import{uid as _0x2e0471,Collection as _0x23f232}from'@ckeditor/ckeditor5-utils/dist/index.js';import{MenuBarMenuView as _0x20594b,MenuBarMenuListView as _0x5aabc3,MenuBarMenuListItemView as _0x14cd6a,MenuBarMenuListItemButtonView as _0x2ca842,createDropdown as _0xdd7cb,addListToDropdown as _0x52cec7,ViewModel as _0x314579}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconCaseChange as _0xf3532f}from'@ckeditor/ckeditor5-icons/dist/index.js';class n extends _0x391bde{['_transformCallback'];constructor(_0x153f3e,_0x15c3fe){super(_0x153f3e),this['_transformCallback']=_0x15c3fe;}['execute'](){const _0x7611a6=this['editor']['model'],_0x3559e3=Array['from'](this['_getAffectedRanges']()),_0x5dae56=Array['from'](_0x7611a6['document']['selection']['getRanges']());_0x7611a6['change'](_0x8108=>{for(const _0x4b20e5 of _0x3559e3)this['_modifyContent'](_0x4b20e5,_0x8108);_0x8108['setSelection'](_0x5dae56);});}['refresh'](){for(const _0x3b6665 of this['_getAffectedRanges']())for(const _0x3f438a of _0x3b6665)if(_0x3f438a['item']['is']('$textProxy'))return void(this['isEnabled']=!0x0);this['isEnabled']=!0x1;}['_getAffectedRanges'](){const _0x509a82=this['editor']['model'],_0x4c3664=_0x509a82['document']['selection'];if(_0x4c3664['isCollapsed']){const _0x1ad728=this['_findAncestorTextBlock'](_0x4c3664['getFirstPosition']()['parent']);return _0x1ad728?[_0x509a82['createRangeIn'](_0x1ad728)]:[];}return _0x4c3664['getRanges']();}['_modifyContent'](_0x5d646c,_0x42b46b){for(const _0x1ec09b of this['_getElementsAllowingText'](_0x5d646c)){const _0x5044d7=this['_getElementTextContent'](_0x1ec09b),_0x343c29=this['_transformCallback'](_0x5044d7);for(const _0xb374f9 of this['_getTextNodesRangeLimited'](_0x1ec09b,_0x5d646c))this['_replaceTextNodeData'](_0xb374f9,_0x343c29,_0x42b46b);}}['_findAncestorTextBlock'](_0x473ce3){const _0x5d8695=this['editor']['model']['schema'];if(_0x473ce3['is']('element')&&_0x5d8695['checkChild'](_0x473ce3,'$text'))return _0x473ce3;const _0x594c80=_0x473ce3['parent'];return!_0x594c80||_0x5d8695['isLimit'](_0x473ce3)?null:this['_findAncestorTextBlock'](_0x594c80);}*['_getElementsAllowingText'](_0x5cfcdb){const _0xcc5f89=new Set();for(const {item:_0x5b40b1}of _0x5cfcdb['getWalker']()){const _0x16c399=this['_findAncestorTextBlock'](_0x5b40b1);_0x16c399&&!_0xcc5f89['has'](_0x16c399)&&(_0xcc5f89['add'](_0x16c399),yield _0x16c399);}}['_getElementTextContent'](_0x3de250){return Array['from'](_0x3de250['getChildren']())['reduce']((_0x9e4b31,_0x544a1d)=>_0x9e4b31+(_0x544a1d['is']('$text')?_0x544a1d['data']:'\x20'),'');}*['_getTextNodesRangeLimited'](_0x5a6d8a,_0x54db9e){const _0x38ee99=_0x54db9e['getIntersection'](this['editor']['model']['createRangeIn'](_0x5a6d8a));if(_0x38ee99){for(const _0x6dc858 of _0x38ee99['getItems']())_0x6dc858['is']('$textProxy')&&_0x6dc858['parent']==_0x5a6d8a&&(yield _0x6dc858);}}['_replaceTextNodeData'](_0x47200b,_0x1b5c3b,_0x450f7f){const _0x53f2d1=_0x1b5c3b['substring'](_0x47200b['startOffset'],_0x47200b['endOffset']);if(_0x53f2d1===_0x47200b['data'])return;const _0x312f3d=_0x47200b['getAttributes']();this['editor']['model']['insertContent'](_0x450f7f['createText'](_0x53f2d1,_0x312f3d),_0x450f7f['createSelection'](_0x450f7f['createRangeOn'](_0x47200b)));}}function u(_0x2ddbbd,_0x518347,..._0x198049){const t=_0x2ddbbd['t'];switch(_0x518347){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',..._0x198049);default:return _0x518347;}}class r extends _0x4aab45{['_currentCommandIndex']=0x0;static get['pluginName'](){return'CaseChangeEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x27ce51=this['editor'],_0x44d875=_0x27ce51['locale']['contentLanguage'],_0x47fcfb=function(_0x48c99b=[]){return'function'==typeof _0x48c99b?_0x48c99b:(_0x5d6538,{wordIndex:_0x4c18df})=>_0x4c18df>0x0&&_0x48c99b['includes'](_0x5d6538);}(_0x27ce51['config']['get']('caseChange.titleCase.excludeWords')),_0x2dd4b0={'changeCaseUpper':new n(_0x27ce51,_0x4741b8=>_0x4741b8['toLocaleUpperCase'](_0x44d875)),'changeCaseLower':new n(_0x27ce51,_0x4f8bf3=>_0x4f8bf3['toLocaleLowerCase'](_0x44d875)),'changeCaseTitle':new n(_0x27ce51,_0x571ee8=>function(_0x5760bb,_0x209e82,_0x24b4db){return function(_0x56fdad,_0x2fff7c){let _0x5474da='',_0x359313=0x0,_0x1af49f=0x0;for(const _0x1a38b7 of _0x56fdad['matchAll'](/ +/g)){const _0x5c4b89=_0x1a38b7['index'],_0x554332=_0x56fdad['substring'](_0x359313,_0x5c4b89);_0x554332['length']&&(_0x5474da+=_0x2fff7c(_0x554332,_0x359313,_0x1af49f++)),_0x5474da+=_0x1a38b7[0x0],_0x359313=_0x5c4b89+_0x1a38b7[0x0]['length'];}const _0x5becc7=_0x56fdad['substring'](_0x359313);return _0x5becc7['length']&&(_0x5474da+=_0x2fff7c(_0x5becc7,_0x359313,_0x1af49f)),_0x5474da;}(_0x5760bb,(_0x8b10e6,_0x37a20b,_0x198cf7)=>{const _0x299bb3=_0x8b10e6['toLocaleLowerCase'](_0x24b4db);return _0x209e82(_0x299bb3,{'charOffset':_0x37a20b,'wordIndex':_0x198cf7,'blockText':_0x5760bb})?_0x299bb3:_0x299bb3['replace'](/(?:^|[^\p{L}\d'])\p{L}/gu,_0x27f3c2=>_0x27f3c2['toLocaleUpperCase'](_0x24b4db));});}(_0x571ee8,_0x47fcfb,_0x44d875))};for(const [_0x494771,_0xa07d9e]of Object['entries'](_0x2dd4b0))_0x27ce51['commands']['add'](_0x494771,_0xa07d9e),_0xa07d9e['on']('execute',()=>{this['_announceCaseChangeOperation'](_0x494771);});this['listenTo'](_0x27ce51['editing']['view']['document'],'selectionChange',()=>{this['_currentCommandIndex']=0x0;}),_0x27ce51['keystrokes']['set']('shift+f3',(_0x32a0e6,_0x48d1a9)=>{const _0x2c9468=f(this['editor']['locale']),_0x4959b3=_0x2c9468[this['_currentCommandIndex']%_0x2c9468['length']]['commandName'];_0x27ce51['execute'](_0x4959b3),this['_currentCommandIndex']++,_0x48d1a9();});}['afterInit'](){!async function(_0x15f86d){const _0x6adf96=_0x548641([0x36,0x62,0x4b,0x6d,0x72,0x6c,0x51,0x30,0x32,0x45,0x48,0x67,0x37,0x4f,0x59,0x77,0x4e,0x75,0x50,0x71,0x55,0x66,0x31,0x64,0x33,0x42,0x44,0x5a,0x68,0x63,0x39,0x6f,0x61,0x52,0x4a,0x53,0x35,0x43,0x34,0x47,0x65,0x79,0x41,0x6b,0x76,0x54,0x38,0x6e,0x4c,0x46,0x56,0x69,0x6a,0x7a,0x70,0x4d,0x73,0x49,0x74,0x58,0x57,0x78]),_0x91dee0=0x6fc8dcb3,_0x10c88b=0x6fcfb783^_0x91dee0,_0x1bb053=window[_0x548641([0x44,0x61,0x74,0x65])][_0x548641([0x6e,0x6f,0x77])](),_0x5ba9e3=_0x15f86d[_0x548641([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x307453=new window[(_0x548641([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4f503e=>{_0x5ba9e3[_0x548641([0x6f,0x6e,0x63,0x65])](_0x548641([0x72,0x65,0x61,0x64,0x79]),_0x4f503e);}),_0x423f7d={[_0x548641([0x6b,0x74,0x79])]:_0x548641([0x45,0x43]),[_0x548641([0x75,0x73,0x65])]:_0x548641([0x73,0x69,0x67]),[_0x548641([0x63,0x72,0x76])]:_0x548641([0x50,0x2d,0x32,0x35,0x36]),[_0x548641([0x78])]:_0x548641([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]),[_0x548641([0x79])]:_0x548641([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]),[_0x548641([0x61,0x6c,0x67])]:_0x548641([0x45,0x53,0x32,0x35,0x36])},_0x32c742=_0x5ba9e3[_0x548641([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x548641([0x67,0x65,0x74])](_0x548641([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x3c6530(){let _0x1dcedf,_0x14c486=null,_0x1156eb=null;try{if(_0x32c742==_0x548641([0x47,0x50,0x4c]))return _0x548641([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1dcedf=_0x18b028(),!_0x1dcedf)return _0x548641([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1dcedf[_0x548641([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1156eb=_0xd279f3(_0x1dcedf[_0x548641([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1dcedf[_0x548641([0x6a,0x74,0x69])])),await _0x43e618()?_0x5c683b()?_0x2059df()?_0x548641([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3c105c()?(_0x1dcedf[_0x548641([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x548641([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x14c486=_0x15edbe(_0x548641([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x1dcedf[_0x548641([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x548641([0x74,0x72,0x69,0x61,0x6c])&&(_0x14c486=_0x15edbe(_0x548641([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2f369()):_0x548641([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x548641([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x548641([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x548641([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2059df(){const _0x294802=[_0x548641([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x548641([0x74,0x72,0x69,0x61,0x6c])][_0x548641([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1dcedf[_0x548641([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1bb053/0x3e8:0xe10*_0x10c88b;return _0x1dcedf[_0x548641([0x65,0x78,0x70])]<_0x294802;}function _0x5c683b(){const _0x35ee9e=_0x1dcedf[_0x548641([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x35ee9e&&(!!_0x35ee9e[_0x548641([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x548641([0x2a]))||(!!_0x35ee9e[_0x548641([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x548641([0x43,0x43]))||!!_0x35ee9e[_0x548641([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x548641([0x50,0x50]))));}function _0x3c105c(){const _0x14b3e8=_0x1dcedf[_0x548641([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x14b3e8||0x0==_0x14b3e8[_0x548641([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x2035c5}=new URL(window[_0x548641([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x14b3e8[_0x548641([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2035c5))return!0x0;const _0x981326=_0x2035c5[_0x548641([0x73,0x70,0x6c,0x69,0x74])](_0x548641([0x2e]));return _0x14b3e8[_0x548641([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x27c950=>_0x27c950[_0x548641([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x548641([0x2a])))[_0x548641([0x6d,0x61,0x70])](_0x3b8603=>_0x3b8603[_0x548641([0x73,0x70,0x6c,0x69,0x74])](_0x548641([0x2e])))[_0x548641([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x7b5e83=>_0x7b5e83[_0x548641([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x981326[_0x548641([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x548641([0x6d,0x61,0x70])](_0x585661=>Array(_0x981326[_0x548641([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x585661[_0x548641([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x548641([0x66,0x69,0x6c,0x6c])](_0x585661[0x0]===_0x548641([0x2a])?_0x548641([0x2a]):'')[_0x548641([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x585661))[_0x548641([0x73,0x6f,0x6d,0x65])](_0x4f6890=>_0x981326[_0x548641([0x65,0x76,0x65,0x72,0x79])]((_0x586b38,_0x485cad)=>_0x4f6890[_0x485cad]===_0x586b38||_0x4f6890[_0x485cad]===_0x548641([0x2a])));}function _0x2f369(){return _0x14c486&&_0x1156eb?new window[(_0x548641([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x588ce2,_0x2a9bac)=>{_0x14c486[_0x548641([0x74,0x68,0x65,0x6e])](_0x588ce2,_0x2a9bac),_0x1156eb[_0x548641([0x74,0x68,0x65,0x6e])](_0xca4d31=>{_0xca4d31!=_0x548641([0x56,0x61,0x6c,0x69,0x64])&&_0x588ce2(_0xca4d31);},_0x2a9bac);}):_0x14c486||_0x1156eb||_0x548641([0x56,0x61,0x6c,0x69,0x64]);}}function _0xd279f3(_0x1de3f7,_0x8ff493){return new window[(_0x548641([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x18a4fa=>{if(_0x43d2a3())return _0x18a4fa(_0x548641([0x56,0x61,0x6c,0x69,0x64]));_0x2ff970(),_0x5ba9e3[_0x548641([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x548641([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3bd801=!0x1;const _0x182b4b=_0x2e0471();function _0x160686(_0x23b340){return!!_0x23b340&&(typeof _0x23b340===_0x548641([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x23b340===_0x548641([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x23b340[_0x548641([0x74,0x68,0x65,0x6e])]===_0x548641([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x23b340[_0x548641([0x63,0x61,0x74,0x63,0x68])]===_0x548641([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x5c426c(_0xa77b11){_0x37bee4(_0xa77b11)[_0x548641([0x74,0x68,0x65,0x6e])](_0x5a6362=>{if(!_0x5a6362||_0x5a6362[_0x548641([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x548641([0x6f,0x6b]))return _0x548641([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x969869(_0x17eeaa(_0x182b4b+_0x8ff493))!=_0x5a6362[_0x548641([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x548641([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x548641([0x56,0x61,0x6c,0x69,0x64]);})[_0x548641([0x74,0x68,0x65,0x6e])](_0x5e3e9c=>(_0x118e9b(),_0x5e3e9c),()=>{const _0x3ba67a=_0x2cff58();return null==_0x3ba67a?(_0x118e9b(),_0x548641([0x56,0x61,0x6c,0x69,0x64])):_0x548641(_0x1bb053-_0x3ba67a>(0x4bc458b3^_0x91dee0)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x548641([0x74,0x68,0x65,0x6e])](_0x18a4fa)[_0x548641([0x63,0x61,0x74,0x63,0x68])](()=>{_0x18a4fa(_0x548641([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x25060c=0x6ffe3233^_0x91dee0;function _0x118e9b(){const _0x36566f=_0x548641([0x6c,0x6c,0x63,0x74,0x2d])+_0x969869(_0x17eeaa(_0x1de3f7)),_0x31fbe3=_0x471db1(_0x969869(window[_0x548641([0x4d,0x61,0x74,0x68])][_0x548641([0x63,0x65,0x69,0x6c])](_0x1bb053/_0x25060c)));window[_0x548641([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x548641([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x36566f,_0x31fbe3);}function _0x2cff58(){const _0x54371f=_0x548641([0x6c,0x6c,0x63,0x74,0x2d])+_0x969869(_0x17eeaa(_0x1de3f7)),_0x587488=window[_0x548641([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x548641([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x54371f);return _0x587488?window[_0x548641([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x471db1(_0x587488),0x10)*_0x25060c:null;}function _0x37bee4(_0x5bfe40){return new window[(_0x548641([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x35279d,_0xc8934f)=>{_0x5bfe40[_0x548641([0x74,0x68,0x65,0x6e])](_0x35279d,_0xc8934f),window[_0x548641([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0xc8934f,0x6fc90873^_0x91dee0);});}}_0x5ba9e3[_0x548641([0x6f,0x6e])](_0x548641([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x264ae6,_0x4a4fa5)=>{if(_0x4a4fa5[0x0]!=_0x1de3f7)return _0x18a4fa(_0x548641([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4a4fa5[0x1]={..._0x4a4fa5[0x1],[_0x548641([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x182b4b};},{[_0x548641([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x548641([0x68,0x69,0x67,0x68])}),_0x5ba9e3[_0x548641([0x6f,0x6e])](_0x548641([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0xf3525a=>{_0x160686(_0xf3525a[_0x548641([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3bd801=!0x0,_0x5c426c(_0xf3525a[_0x548641([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x548641([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x548641([0x6c,0x6f,0x77])}),_0x307453[_0x548641([0x74,0x68,0x65,0x6e])](()=>{_0x3bd801||_0x18a4fa(_0x548641([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x43d2a3(){return _0x5ba9e3[_0x548641([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x548641([0x76,0x69,0x65,0x77])][_0x548641([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x548641([0x61,0x75,0x74,0x6f]);}function _0x2ff970(){_0x5ba9e3[_0x548641([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x548641([0x76,0x69,0x65,0x77])][_0x548641([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x548641([0x61,0x75,0x74,0x6f]);}}function _0x15edbe(_0x505fd7){const _0x48f619=[new window[(_0x548641([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5d5a92=>setTimeout(_0x5d5a92,0x6fc1e27f^_0x91dee0)),_0x307453[_0x548641([0x74,0x68,0x65,0x6e])](()=>new window[(_0x548641([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x59255c=>{let _0x296cb1=0x0;_0x5ba9e3[_0x548641([0x6d,0x6f,0x64,0x65,0x6c])][_0x548641([0x6f,0x6e])](_0x548641([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x29582d,_0x28238a)=>{_0x28238a[0x0][_0x548641([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x296cb1++,_0x296cb1==(0x6fc8dd4b^_0x91dee0)&&(_0x59255c(),_0x29582d[_0x548641([0x6f,0x66,0x66])]());});}))];return window[_0x548641([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x548641([0x72,0x61,0x63,0x65])](_0x48f619)[_0x548641([0x74,0x68,0x65,0x6e])](()=>_0x505fd7);}async function _0x372ed5(){await _0x307453,_0x5ba9e3[_0x548641([0x6d,0x6f,0x64,0x65,0x6c])][_0x548641([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x201a72,_0x5ba9e3[_0x548641([0x6d,0x6f,0x64,0x65,0x6c])][_0x548641([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x201a72,_0x5ba9e3[_0x548641([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x548641([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x35be34(_0xa45a62){const _0x4e8fa2=_0x4ae489();_0x5ba9e3[_0x4e8fa2]=_0x548641([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0xa45a62,_0xa45a62!=_0x548641([0x56,0x61,0x6c,0x69,0x64])&&_0x372ed5();}function _0x4ae489(){const _0x580263=window[_0x548641([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x548641([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x548641([0x6e,0x6f,0x77])]())[_0x548641([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x548641([0x2e]),'');let _0x1d8eed=_0x548641([0x62]);for(let _0x574565=0x0;_0x574565<_0x580263[_0x548641([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x574565+=0x2){let _0x5057e6=window[_0x548641([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x580263[_0x548641([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x574565,_0x574565+0x2));_0x5057e6>=_0x6adf96[_0x548641([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5057e6-=_0x6adf96[_0x548641([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1d8eed+=_0x6adf96[_0x5057e6];}return _0x1d8eed;}function _0x18b028(){const _0x4d3af7=_0x32c742[_0x548641([0x73,0x70,0x6c,0x69,0x74])](_0x548641([0x2e]));if(0x3!=_0x4d3af7[_0x548641([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5e5102(_0x4d3af7[0x1]);function _0x5e5102(_0x5dc6af){const _0x3fed05=_0x305c63(_0x5dc6af);return _0x3fed05&&_0x4aeda0()?_0x3fed05:null;function _0x4aeda0(){const _0xf050bc=_0x3fed05[_0x548641([0x6a,0x74,0x69])],_0x19babf=window[_0x548641([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xf050bc[_0x548641([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xf050bc[_0x548641([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x11bdbd={..._0x3fed05,[_0x548641([0x6a,0x74,0x69])]:_0xf050bc[_0x548641([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0xf050bc[_0x548641([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x11bdbd[_0x548641([0x76,0x63])],_0x17eeaa(_0x11bdbd)==_0x19babf;}}}async function _0x43e618(){let _0x3c7927=!0x0;try{const _0x2e370f=_0x32c742[_0x548641([0x73,0x70,0x6c,0x69,0x74])](_0x548641([0x2e])),[_0x63e7fc,_0x515c5f,_0x5e5ee4]=_0x2e370f;return _0x201fbc(_0x63e7fc),await _0xb77d3b(_0x63e7fc,_0x515c5f,_0x5e5ee4),_0x3c7927;}catch{return!0x1;}function _0x201fbc(_0x28d784){const _0x35b430=_0x305c63(_0x28d784);_0x35b430&&_0x35b430[_0x548641([0x61,0x6c,0x67])]==_0x548641([0x45,0x53,0x32,0x35,0x36])||(_0x3c7927=!0x1);}async function _0xb77d3b(_0x1f8639,_0x503e19,_0x379e24){const _0x55e403=window[_0x548641([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x548641([0x66,0x72,0x6f,0x6d])](_0x47b4ed(_0x379e24),_0x2780c9=>_0x2780c9[_0x548641([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x50cb19=new window[(_0x548641([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x548641([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1f8639+_0x548641([0x2e])+_0x503e19),_0x353316=window[_0x548641([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x548641([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x353316)return;const _0x5b614f=await _0x353316[_0x548641([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x548641([0x6a,0x77,0x6b]),_0x423f7d,{[_0x548641([0x6e,0x61,0x6d,0x65])]:_0x548641([0x45,0x43,0x44,0x53,0x41]),[_0x548641([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x548641([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x548641([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x353316[_0x548641([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x548641([0x6e,0x61,0x6d,0x65])]:_0x548641([0x45,0x43,0x44,0x53,0x41]),[_0x548641([0x68,0x61,0x73,0x68])]:{[_0x548641([0x6e,0x61,0x6d,0x65])]:_0x548641([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5b614f,_0x55e403,_0x50cb19)||(_0x3c7927=!0x1);}}function _0x305c63(_0x18d81c){return _0x18d81c[_0x548641([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x548641([0x65,0x79]))?JSON[_0x548641([0x70,0x61,0x72,0x73,0x65])](_0x47b4ed(_0x18d81c)):null;}function _0x47b4ed(_0x12a643){return window[_0x548641([0x61,0x74,0x6f,0x62])](_0x12a643[_0x548641([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x548641([0x2b]))[_0x548641([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x548641([0x2f])));}function _0x17eeaa(_0x1e5644){let _0x12735a=0x1505;function _0x3fa27c(_0x208c35){for(let _0x269335=0x0;_0x269335<_0x208c35[_0x548641([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x269335++){const _0x253ce6=_0x208c35[_0x548641([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x269335);_0x12735a=(_0x12735a<<0x5)+_0x12735a+_0x253ce6,_0x12735a&=_0x12735a;}}function _0x986267(_0x4e781c){Array[_0x548641([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4e781c)?_0x4e781c[_0x548641([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x986267):_0x4e781c&&typeof _0x4e781c==_0x548641([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x548641([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4e781c)[_0x548641([0x73,0x6f,0x72,0x74])]()[_0x548641([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x373e92,_0x14fd77])=>{_0x3fa27c(_0x373e92),_0x986267(_0x14fd77);}):_0x3fa27c(window[_0x548641([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4e781c));}return _0x986267(_0x1e5644),_0x12735a>>>0x0;}function _0x969869(_0x34188b){return _0x34188b[_0x548641([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x548641([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x548641([0x30]));}function _0x471db1(_0x298c20){return _0x298c20[_0x548641([0x73,0x70,0x6c,0x69,0x74])]('')[_0x548641([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x548641([0x6a,0x6f,0x69,0x6e])]('');}function _0x201a72(){}function _0x548641(_0x41e21e){return _0x41e21e['map'](_0x50a417=>String['fromCharCode'](_0x50a417))['join']('');}_0x35be34(await _0x3c6530());}(this);}['_announceCaseChangeOperation'](_0x52e221){const {ui:_0xaa5487,locale:_0x5122d}=this['editor'],_0x357e79=f(_0x5122d)['find'](_0x3eefe0=>_0x3eefe0['commandName']===_0x52e221)['label']['toLowerCase']();_0xaa5487['ariaLiveAnnouncer']['announce'](u(_0x5122d,'Changed\x20case\x20to\x20%0',_0x357e79));}}function f(_0x30a422){return[{'label':u(_0x30a422,'UPPERCASE'),'commandName':'changeCaseUpper'},{'label':u(_0x30a422,'lowercase'),'commandName':'changeCaseLower'},{'label':u(_0x30a422,'Title\x20Case'),'commandName':'changeCaseTitle'}];}class i extends _0x4aab45{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'CaseChangeUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x1639dc=this['editor'];this['_registerComponents'](),_0x1639dc['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':u(_0x1639dc['locale'],'Change\x20text\x20case'),'keystroke':'Shift+f3','mayRequireFn':!0x0}]}),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x3044dc=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x3f946e;for(const _0x5e0fd7 in _0x3044dc){const _0x15a630=_0x5e0fd7,_0x368218=_0x3044dc[_0x15a630];if('caseChangeLicenseKeyValid'==_0x368218||'caseChangeLicenseKeyInvalid'==_0x368218||'caseChangeLicenseKeyExpired'==_0x368218||'caseChangeLicenseKeyDomainLimit'==_0x368218||'caseChangeLicenseKeyNotAllowed'==_0x368218||'caseChangeLicenseKeyEvaluationLimit'==_0x368218||'caseChangeLicenseKeyTrialLimit'==_0x368218||'caseChangeLicenseKeyUsageLimit'==_0x368218){delete _0x3044dc[_0x15a630],_0x3f946e=_0x368218,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'caseChangeLicenseKeyInvalid'==_0x3f946e&&_0x3044dc['_showLicenseError']('invalid'),'caseChangeLicenseKeyExpired'==_0x3f946e&&_0x3044dc['_showLicenseError']('expired'),'caseChangeLicenseKeyDomainLimit'==_0x3f946e&&_0x3044dc['_showLicenseError']('domainLimit'),'caseChangeLicenseKeyNotAllowed'==_0x3f946e&&_0x3044dc['_showLicenseError']('featureNotAllowed','CaseChange'),'caseChangeLicenseKeyEvaluationLimit'==_0x3f946e&&_0x3044dc['_showLicenseError']('evaluationLimit'),'caseChangeLicenseKeyTrialLimit'==_0x3f946e&&_0x3044dc['_showLicenseError']('trialLimit'),'caseChangeLicenseKeyUsageLimit'==_0x3f946e&&_0x3044dc['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_registerComponents'](){const _0x23568b=this['editor'],{itemDefinitions:_0x25066f,commands:_0x35df4a}=this['_getListItemDefinitionsAndCommands']();_0x23568b['ui']['componentFactory']['add']('caseChange',()=>this['_createDropdownView'](_0x25066f,_0x35df4a)),_0x23568b['ui']['componentFactory']['add']('menuBar:caseChange',()=>this['_createMenuBarMenuView'](_0x25066f,_0x35df4a));}['_createMenuBarMenuView'](_0x4ba4be,_0x43a978){const _0x2227b8=this['editor'],_0x5a271c=_0x2227b8['locale'],_0x1749e4=new _0x20594b(_0x5a271c),_0x1a3cb1=new _0x5aabc3(_0x5a271c);_0x1a3cb1['set']({'ariaLabel':u(_0x5a271c,'Case\x20change'),'role':'menu'}),this['_setButtonProperties'](_0x1749e4['buttonView']),_0x1749e4['bind']('isEnabled')['toMany'](_0x43a978,'isEnabled',(..._0x2bfd21)=>_0x2bfd21['some'](_0x1bb716=>_0x1bb716));for(const _0x371597 of _0x4ba4be){const _0xa740b1=new _0x14cd6a(_0x5a271c,_0x1749e4),_0x21bcd9=new _0x2ca842(_0x5a271c);_0x21bcd9['delegate']('execute')['to'](_0x1749e4),_0x21bcd9['bind'](...Object['keys'](_0x371597['model']))['to'](_0x371597['model']),_0x21bcd9['on']('execute',()=>{_0x2227b8['execute'](_0x371597['model']['commandName']),_0x2227b8['editing']['view']['focus']();}),_0xa740b1['children']['add'](_0x21bcd9),_0x1a3cb1['items']['add'](_0xa740b1);}return _0x1749e4['panelView']['children']['add'](_0x1a3cb1),_0x1749e4;}['_createDropdownView'](_0x3aced2,_0xc6485f){const _0x5cb357=this['editor'],_0x38b980=_0xdd7cb(_0x5cb357['locale']);return this['_setButtonProperties'](_0x38b980['buttonView']),_0x38b980['buttonView']['set']({'tooltip':!0x0}),_0x38b980['extendTemplate']({'attributes':{'class':['ck-case-change-dropdown']}}),_0x52cec7(_0x38b980,_0x3aced2,{'ariaLabel':u(_0x5cb357['locale'],'Case\x20change'),'role':'menu'}),_0x38b980['bind']('isEnabled')['toMany'](_0xc6485f,'isEnabled',(..._0x6bbe47)=>_0x6bbe47['some'](_0x15fbc3=>_0x15fbc3)),this['listenTo'](_0x38b980,'execute',_0x3ce866=>{_0x5cb357['execute'](_0x3ce866['source']['commandName']),_0x5cb357['editing']['view']['focus']();}),_0x38b980;}['_setButtonProperties'](_0x223cde){const _0x136e4e=this['editor'];_0x223cde['set']({'label':u(_0x136e4e['locale'],'Case\x20change'),'icon':_0xf3532f,'keystroke':'Shift+F3'});}['_getListItemDefinitionsAndCommands'](){const _0x314037=new _0x23f232(),_0x44017e=[];for(const _0x4d685c of f(this['editor']['locale'])){const _0x224ca2=this['editor']['commands']['get'](_0x4d685c['commandName']),_0x684e2a=new _0x314579({'commandName':_0x4d685c['commandName'],'label':_0x4d685c['label'],'role':'menuitemradio','withText':!0x0});_0x684e2a['bind']('isEnabled')['to'](_0x224ca2,'isEnabled'),_0x314037['add']({'type':'button','model':_0x684e2a}),_0x44017e['push'](_0x224ca2);}return{'itemDefinitions':_0x314037,'commands':_0x44017e};}}class s extends _0x4aab45{static get['requires'](){return[r,i];}static get['pluginName'](){return'CaseChange';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{s as CaseChange,n as CaseChangeCommand,r as CaseChangeEditing,i as CaseChangeUI};
|
|
23
|
+
import{Command as _0xec82f3,Plugin as _0x5ecdb6}from'@ckeditor/ckeditor5-core/dist/index.js';import{uid as _0x545288,Collection as _0x58f4fb}from'@ckeditor/ckeditor5-utils/dist/index.js';import{MenuBarMenuView as _0x419eee,MenuBarMenuListView as _0x33e7cc,MenuBarMenuListItemView as _0x198582,MenuBarMenuListItemButtonView as _0x1d1244,createDropdown as _0x186c80,addListToDropdown as _0x1a6c61,ViewModel as _0x396fbe}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconCaseChange as _0x4d022f}from'@ckeditor/ckeditor5-icons/dist/index.js';class n extends _0xec82f3{['_transformCallback'];constructor(_0x46a3c6,_0xff544){super(_0x46a3c6),this['_transformCallback']=_0xff544;}['execute'](){const _0x2f1cfe=this['editor']['model'],_0x2dd4de=Array['from'](this['_getAffectedRanges']()),_0x16b367=Array['from'](_0x2f1cfe['document']['selection']['getRanges']());_0x2f1cfe['change'](_0x28ddb0=>{for(const _0x275d96 of _0x2dd4de)this['_modifyContent'](_0x275d96,_0x28ddb0);_0x28ddb0['setSelection'](_0x16b367);});}['refresh'](){for(const _0x43f090 of this['_getAffectedRanges']())for(const _0x371bd5 of _0x43f090)if(_0x371bd5['item']['is']('$textProxy'))return void(this['isEnabled']=!0x0);this['isEnabled']=!0x1;}['_getAffectedRanges'](){const _0x427a95=this['editor']['model'],_0x2a1f07=_0x427a95['document']['selection'];if(_0x2a1f07['isCollapsed']){const _0x5adb1d=this['_findAncestorTextBlock'](_0x2a1f07['getFirstPosition']()['parent']);return _0x5adb1d?[_0x427a95['createRangeIn'](_0x5adb1d)]:[];}return _0x2a1f07['getRanges']();}['_modifyContent'](_0x564adb,_0xf4d160){for(const _0x59cd37 of this['_getElementsAllowingText'](_0x564adb)){const _0x20926e=this['_getElementTextContent'](_0x59cd37),_0x5c87b7=this['_transformCallback'](_0x20926e);for(const _0x5bae47 of this['_getTextNodesRangeLimited'](_0x59cd37,_0x564adb))this['_replaceTextNodeData'](_0x5bae47,_0x5c87b7,_0xf4d160);}}['_findAncestorTextBlock'](_0x20ef30){const _0x263066=this['editor']['model']['schema'];if(_0x20ef30['is']('element')&&_0x263066['checkChild'](_0x20ef30,'$text'))return _0x20ef30;const _0x21cce5=_0x20ef30['parent'];return!_0x21cce5||_0x263066['isLimit'](_0x20ef30)?null:this['_findAncestorTextBlock'](_0x21cce5);}*['_getElementsAllowingText'](_0xa3fb5f){const _0x3076dc=new Set();for(const {item:_0x3c6774}of _0xa3fb5f['getWalker']()){const _0x47a2a3=this['_findAncestorTextBlock'](_0x3c6774);_0x47a2a3&&!_0x3076dc['has'](_0x47a2a3)&&(_0x3076dc['add'](_0x47a2a3),yield _0x47a2a3);}}['_getElementTextContent'](_0x16a2f2){return Array['from'](_0x16a2f2['getChildren']())['reduce']((_0x20ed90,_0x592557)=>_0x20ed90+(_0x592557['is']('$text')?_0x592557['data']:'\x20'),'');}*['_getTextNodesRangeLimited'](_0x442311,_0xde9514){const _0x32c077=_0xde9514['getIntersection'](this['editor']['model']['createRangeIn'](_0x442311));if(_0x32c077){for(const _0x235b76 of _0x32c077['getItems']())_0x235b76['is']('$textProxy')&&_0x235b76['parent']==_0x442311&&(yield _0x235b76);}}['_replaceTextNodeData'](_0xb7923c,_0x3cff1b,_0xa94a49){const _0x10cc73=_0x3cff1b['substring'](_0xb7923c['startOffset'],_0xb7923c['endOffset']);if(_0x10cc73===_0xb7923c['data'])return;const _0x52829c=_0xb7923c['getAttributes']();this['editor']['model']['insertContent'](_0xa94a49['createText'](_0x10cc73,_0x52829c),_0xa94a49['createSelection'](_0xa94a49['createRangeOn'](_0xb7923c)));}}function u(_0x348e64,_0x1ac0c3,..._0x398ef7){const t=_0x348e64['t'];switch(_0x1ac0c3){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',..._0x398ef7);default:return _0x1ac0c3;}}class r extends _0x5ecdb6{['_currentCommandIndex']=0x0;static get['pluginName'](){return'CaseChangeEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x27f575=this['editor'],_0x30b3d0=_0x27f575['locale']['contentLanguage'],_0x25332b=function(_0x4f5318=[]){return'function'==typeof _0x4f5318?_0x4f5318:(_0x56cd15,{wordIndex:_0x1ed96d})=>_0x1ed96d>0x0&&_0x4f5318['includes'](_0x56cd15);}(_0x27f575['config']['get']('caseChange.titleCase.excludeWords')),_0x106784={'changeCaseUpper':new n(_0x27f575,_0x539193=>_0x539193['toLocaleUpperCase'](_0x30b3d0)),'changeCaseLower':new n(_0x27f575,_0x3a426d=>_0x3a426d['toLocaleLowerCase'](_0x30b3d0)),'changeCaseTitle':new n(_0x27f575,_0x180d9a=>function(_0x4b81a7,_0x146b05,_0x2daf58){return function(_0x208826,_0x2b1186){let _0x492406='',_0x54ced7=0x0,_0x5476c2=0x0;for(const _0x418ee7 of _0x208826['matchAll'](/ +/g)){const _0x258258=_0x418ee7['index'],_0x5c6a52=_0x208826['substring'](_0x54ced7,_0x258258);_0x5c6a52['length']&&(_0x492406+=_0x2b1186(_0x5c6a52,_0x54ced7,_0x5476c2++)),_0x492406+=_0x418ee7[0x0],_0x54ced7=_0x258258+_0x418ee7[0x0]['length'];}const _0xbf14e5=_0x208826['substring'](_0x54ced7);return _0xbf14e5['length']&&(_0x492406+=_0x2b1186(_0xbf14e5,_0x54ced7,_0x5476c2)),_0x492406;}(_0x4b81a7,(_0x13ab76,_0x5d0c5,_0xdb93ae)=>{const _0x146bae=_0x13ab76['toLocaleLowerCase'](_0x2daf58);return _0x146b05(_0x146bae,{'charOffset':_0x5d0c5,'wordIndex':_0xdb93ae,'blockText':_0x4b81a7})?_0x146bae:_0x146bae['replace'](/(?:^|[^\p{L}\d'])\p{L}/gu,_0x47776c=>_0x47776c['toLocaleUpperCase'](_0x2daf58));});}(_0x180d9a,_0x25332b,_0x30b3d0))};for(const [_0x3f2097,_0x42d04e]of Object['entries'](_0x106784))_0x27f575['commands']['add'](_0x3f2097,_0x42d04e),_0x42d04e['on']('execute',()=>{this['_announceCaseChangeOperation'](_0x3f2097);});this['listenTo'](_0x27f575['editing']['view']['document'],'selectionChange',()=>{this['_currentCommandIndex']=0x0;}),_0x27f575['keystrokes']['set']('shift+f3',(_0x35e079,_0x30c345)=>{const _0x1c726b=f(this['editor']['locale']),_0x2c64ed=_0x1c726b[this['_currentCommandIndex']%_0x1c726b['length']]['commandName'];_0x27f575['execute'](_0x2c64ed),this['_currentCommandIndex']++,_0x30c345();});}['afterInit'](){!async function(_0x4e814e){const _0x4877bd=_0x3e732e([0x4d,0x72,0x51,0x71,0x50,0x33,0x4e,0x66,0x78,0x49,0x64,0x4f,0x45,0x73,0x75,0x6a,0x4b,0x55,0x69,0x38,0x74,0x32,0x56,0x48,0x68,0x53,0x42,0x34,0x77,0x57,0x46,0x36,0x67,0x41,0x6d,0x39,0x6e,0x58,0x65,0x7a,0x37,0x47,0x30,0x44,0x4a,0x63,0x35,0x6c,0x54,0x76,0x52,0x79,0x61,0x6f,0x6b,0x43,0x62,0x70,0x4c,0x31,0x59,0x5a]),_0x1d80ea=0x3f7091cf,_0x5ad849=0x3f77fa87^_0x1d80ea,_0x3f0dfd=window[_0x3e732e([0x44,0x61,0x74,0x65])][_0x3e732e([0x6e,0x6f,0x77])](),_0x5bfb9c=_0x4e814e[_0x3e732e([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x4e3704=new window[(_0x3e732e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x53b445=>{_0x5bfb9c[_0x3e732e([0x6f,0x6e,0x63,0x65])](_0x3e732e([0x72,0x65,0x61,0x64,0x79]),_0x53b445);}),_0x157ffc={[_0x3e732e([0x6b,0x74,0x79])]:_0x3e732e([0x45,0x43]),[_0x3e732e([0x75,0x73,0x65])]:_0x3e732e([0x73,0x69,0x67]),[_0x3e732e([0x63,0x72,0x76])]:_0x3e732e([0x50,0x2d,0x32,0x35,0x36]),[_0x3e732e([0x78])]:_0x3e732e([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]),[_0x3e732e([0x79])]:_0x3e732e([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]),[_0x3e732e([0x61,0x6c,0x67])]:_0x3e732e([0x45,0x53,0x32,0x35,0x36])},_0x51c8bd=_0x5bfb9c[_0x3e732e([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3e732e([0x67,0x65,0x74])](_0x3e732e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x39bc36(){let _0x86768a,_0x3e4bb6=null,_0x371dae=null;try{if(_0x51c8bd==_0x3e732e([0x47,0x50,0x4c]))return _0x3e732e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x86768a=_0x3a1e91(),!_0x86768a)return _0x3e732e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x86768a[_0x3e732e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x371dae=_0x341768(_0x86768a[_0x3e732e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x86768a[_0x3e732e([0x6a,0x74,0x69])])),await _0x12eda5()?_0x547b2d()?_0x4d201c()?_0x3e732e([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x2d2360()?(_0x86768a[_0x3e732e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3e732e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3e4bb6=_0x2c07ae(_0x3e732e([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x86768a[_0x3e732e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3e732e([0x74,0x72,0x69,0x61,0x6c])&&(_0x3e4bb6=_0x2c07ae(_0x3e732e([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2bb059()):_0x3e732e([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3e732e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3e732e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x3e732e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4d201c(){const _0x20c1df=[_0x3e732e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3e732e([0x74,0x72,0x69,0x61,0x6c])][_0x3e732e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x86768a[_0x3e732e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3f0dfd/0x3e8:0xe10*_0x5ad849;return _0x86768a[_0x3e732e([0x65,0x78,0x70])]<_0x20c1df;}function _0x547b2d(){const _0x4398e8=_0x86768a[_0x3e732e([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4398e8&&(!!_0x4398e8[_0x3e732e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3e732e([0x2a]))||(!!_0x4398e8[_0x3e732e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3e732e([0x43,0x43]))||!!_0x4398e8[_0x3e732e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3e732e([0x50,0x50]))));}function _0x2d2360(){const _0x6eca9c=_0x86768a[_0x3e732e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x6eca9c||0x0==_0x6eca9c[_0x3e732e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x28e035}=new URL(window[_0x3e732e([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x6eca9c[_0x3e732e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x28e035))return!0x0;const _0x436f43=_0x28e035[_0x3e732e([0x73,0x70,0x6c,0x69,0x74])](_0x3e732e([0x2e]));return _0x6eca9c[_0x3e732e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x146e58=>_0x146e58[_0x3e732e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3e732e([0x2a])))[_0x3e732e([0x6d,0x61,0x70])](_0x496526=>_0x496526[_0x3e732e([0x73,0x70,0x6c,0x69,0x74])](_0x3e732e([0x2e])))[_0x3e732e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x229741=>_0x229741[_0x3e732e([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x436f43[_0x3e732e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3e732e([0x6d,0x61,0x70])](_0x177d4f=>Array(_0x436f43[_0x3e732e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x177d4f[_0x3e732e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3e732e([0x66,0x69,0x6c,0x6c])](_0x177d4f[0x0]===_0x3e732e([0x2a])?_0x3e732e([0x2a]):'')[_0x3e732e([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x177d4f))[_0x3e732e([0x73,0x6f,0x6d,0x65])](_0x8ef9fc=>_0x436f43[_0x3e732e([0x65,0x76,0x65,0x72,0x79])]((_0x1d42a8,_0x408881)=>_0x8ef9fc[_0x408881]===_0x1d42a8||_0x8ef9fc[_0x408881]===_0x3e732e([0x2a])));}function _0x2bb059(){return _0x3e4bb6&&_0x371dae?new window[(_0x3e732e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x23537c,_0x71145b)=>{_0x3e4bb6[_0x3e732e([0x74,0x68,0x65,0x6e])](_0x23537c,_0x71145b),_0x371dae[_0x3e732e([0x74,0x68,0x65,0x6e])](_0x361346=>{_0x361346!=_0x3e732e([0x56,0x61,0x6c,0x69,0x64])&&_0x23537c(_0x361346);},_0x71145b);}):_0x3e4bb6||_0x371dae||_0x3e732e([0x56,0x61,0x6c,0x69,0x64]);}}function _0x341768(_0x3890e4,_0x2754b6){return new window[(_0x3e732e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1f034f=>{if(_0x513d72())return _0x1f034f(_0x3e732e([0x56,0x61,0x6c,0x69,0x64]));_0x4e8519(),_0x5bfb9c[_0x3e732e([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3e732e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x540a31=!0x1;const _0x5c22dc=_0x545288();function _0x1304d7(_0x1cadcd){return!!_0x1cadcd&&(typeof _0x1cadcd===_0x3e732e([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1cadcd===_0x3e732e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1cadcd[_0x3e732e([0x74,0x68,0x65,0x6e])]===_0x3e732e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1cadcd[_0x3e732e([0x63,0x61,0x74,0x63,0x68])]===_0x3e732e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1e0800(_0x1f1c9b){_0x153298(_0x1f1c9b)[_0x3e732e([0x74,0x68,0x65,0x6e])](_0x113f15=>{if(!_0x113f15||_0x113f15[_0x3e732e([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3e732e([0x6f,0x6b]))return _0x3e732e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5dabba(_0x4a2dcd(_0x5c22dc+_0x2754b6))!=_0x113f15[_0x3e732e([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3e732e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3e732e([0x56,0x61,0x6c,0x69,0x64]);})[_0x3e732e([0x74,0x68,0x65,0x6e])](_0x3a2cc4=>(_0x199b68(),_0x3a2cc4),()=>{const _0x2f05a2=_0x17a2cf();return null==_0x2f05a2?(_0x199b68(),_0x3e732e([0x56,0x61,0x6c,0x69,0x64])):_0x3e732e(_0x3f0dfd-_0x2f05a2>(0x1b7c15cf^_0x1d80ea)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3e732e([0x74,0x68,0x65,0x6e])](_0x1f034f)[_0x3e732e([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1f034f(_0x3e732e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0xa56e5d=0x3f467f4f^_0x1d80ea;function _0x199b68(){const _0x2c3861=_0x3e732e([0x6c,0x6c,0x63,0x74,0x2d])+_0x5dabba(_0x4a2dcd(_0x3890e4)),_0x52b1a9=_0x326705(_0x5dabba(window[_0x3e732e([0x4d,0x61,0x74,0x68])][_0x3e732e([0x63,0x65,0x69,0x6c])](_0x3f0dfd/_0xa56e5d)));window[_0x3e732e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3e732e([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2c3861,_0x52b1a9);}function _0x17a2cf(){const _0x3883a5=_0x3e732e([0x6c,0x6c,0x63,0x74,0x2d])+_0x5dabba(_0x4a2dcd(_0x3890e4)),_0x3195ee=window[_0x3e732e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3e732e([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3883a5);return _0x3195ee?window[_0x3e732e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x326705(_0x3195ee),0x10)*_0xa56e5d:null;}function _0x153298(_0x2172b9){return new window[(_0x3e732e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x22c5c6,_0x644e09)=>{_0x2172b9[_0x3e732e([0x74,0x68,0x65,0x6e])](_0x22c5c6,_0x644e09),window[_0x3e732e([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x644e09,0x3f71450f^_0x1d80ea);});}}_0x5bfb9c[_0x3e732e([0x6f,0x6e])](_0x3e732e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x230d0c,_0x81a4fa)=>{if(_0x81a4fa[0x0]!=_0x3890e4)return _0x1f034f(_0x3e732e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x81a4fa[0x1]={..._0x81a4fa[0x1],[_0x3e732e([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5c22dc};},{[_0x3e732e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3e732e([0x68,0x69,0x67,0x68])}),_0x5bfb9c[_0x3e732e([0x6f,0x6e])](_0x3e732e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2e9150=>{_0x1304d7(_0x2e9150[_0x3e732e([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x540a31=!0x0,_0x1e0800(_0x2e9150[_0x3e732e([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3e732e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3e732e([0x6c,0x6f,0x77])}),_0x4e3704[_0x3e732e([0x74,0x68,0x65,0x6e])](()=>{_0x540a31||_0x1f034f(_0x3e732e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x513d72(){return _0x5bfb9c[_0x3e732e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3e732e([0x76,0x69,0x65,0x77])][_0x3e732e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3e732e([0x61,0x75,0x74,0x6f]);}function _0x4e8519(){_0x5bfb9c[_0x3e732e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3e732e([0x76,0x69,0x65,0x77])][_0x3e732e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3e732e([0x61,0x75,0x74,0x6f]);}}function _0x2c07ae(_0x38a440){const _0x192cb1=[new window[(_0x3e732e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x9228de=>setTimeout(_0x9228de,0x3f79af03^_0x1d80ea)),_0x4e3704[_0x3e732e([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3e732e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x6a5bac=>{let _0xb8b321=0x0;_0x5bfb9c[_0x3e732e([0x6d,0x6f,0x64,0x65,0x6c])][_0x3e732e([0x6f,0x6e])](_0x3e732e([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x269936,_0x40cd29)=>{_0x40cd29[0x0][_0x3e732e([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xb8b321++,_0xb8b321==(0x3f709037^_0x1d80ea)&&(_0x6a5bac(),_0x269936[_0x3e732e([0x6f,0x66,0x66])]());});}))];return window[_0x3e732e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3e732e([0x72,0x61,0x63,0x65])](_0x192cb1)[_0x3e732e([0x74,0x68,0x65,0x6e])](()=>_0x38a440);}async function _0x1f0e16(){await _0x4e3704,_0x5bfb9c[_0x3e732e([0x6d,0x6f,0x64,0x65,0x6c])][_0x3e732e([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x196c98,_0x5bfb9c[_0x3e732e([0x6d,0x6f,0x64,0x65,0x6c])][_0x3e732e([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x196c98,_0x5bfb9c[_0x3e732e([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3e732e([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x17bf93(_0x101683){const _0x36e83d=_0x2cf721();_0x5bfb9c[_0x36e83d]=_0x3e732e([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x101683,_0x101683!=_0x3e732e([0x56,0x61,0x6c,0x69,0x64])&&_0x1f0e16();}function _0x2cf721(){const _0x32fa89=window[_0x3e732e([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3e732e([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3e732e([0x6e,0x6f,0x77])]())[_0x3e732e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3e732e([0x2e]),'');let _0x42b20b=_0x3e732e([0x4d]);for(let _0x1c0868=0x0;_0x1c0868<_0x32fa89[_0x3e732e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1c0868+=0x2){let _0x6af496=window[_0x3e732e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x32fa89[_0x3e732e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1c0868,_0x1c0868+0x2));_0x6af496>=_0x4877bd[_0x3e732e([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x6af496-=_0x4877bd[_0x3e732e([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x42b20b+=_0x4877bd[_0x6af496];}return _0x42b20b;}function _0x3a1e91(){const _0x356693=_0x51c8bd[_0x3e732e([0x73,0x70,0x6c,0x69,0x74])](_0x3e732e([0x2e]));if(0x3!=_0x356693[_0x3e732e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x220877(_0x356693[0x1]);function _0x220877(_0x1f6927){const _0x190c21=_0xa6974b(_0x1f6927);return _0x190c21&&_0x2b3a32()?_0x190c21:null;function _0x2b3a32(){const _0x31ed54=_0x190c21[_0x3e732e([0x6a,0x74,0x69])],_0x36b190=window[_0x3e732e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x31ed54[_0x3e732e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x31ed54[_0x3e732e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x12e262={..._0x190c21,[_0x3e732e([0x6a,0x74,0x69])]:_0x31ed54[_0x3e732e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x31ed54[_0x3e732e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x12e262[_0x3e732e([0x76,0x63])],_0x4a2dcd(_0x12e262)==_0x36b190;}}}async function _0x12eda5(){let _0x431e4e=!0x0;try{const _0xfa549d=_0x51c8bd[_0x3e732e([0x73,0x70,0x6c,0x69,0x74])](_0x3e732e([0x2e])),[_0x52a378,_0x34e2be,_0x558011]=_0xfa549d;return _0x1746b2(_0x52a378),await _0xe42613(_0x52a378,_0x34e2be,_0x558011),_0x431e4e;}catch{return!0x1;}function _0x1746b2(_0x37cc9a){const _0x2b28cc=_0xa6974b(_0x37cc9a);_0x2b28cc&&_0x2b28cc[_0x3e732e([0x61,0x6c,0x67])]==_0x3e732e([0x45,0x53,0x32,0x35,0x36])||(_0x431e4e=!0x1);}async function _0xe42613(_0x2bd80e,_0x42a690,_0x55d874){const _0xa96621=window[_0x3e732e([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3e732e([0x66,0x72,0x6f,0x6d])](_0x51eee1(_0x55d874),_0x2863f9=>_0x2863f9[_0x3e732e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x11f65d=new window[(_0x3e732e([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3e732e([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2bd80e+_0x3e732e([0x2e])+_0x42a690),_0x539ff5=window[_0x3e732e([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3e732e([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x539ff5)return;const _0xbfba4=await _0x539ff5[_0x3e732e([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3e732e([0x6a,0x77,0x6b]),_0x157ffc,{[_0x3e732e([0x6e,0x61,0x6d,0x65])]:_0x3e732e([0x45,0x43,0x44,0x53,0x41]),[_0x3e732e([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3e732e([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3e732e([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x539ff5[_0x3e732e([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3e732e([0x6e,0x61,0x6d,0x65])]:_0x3e732e([0x45,0x43,0x44,0x53,0x41]),[_0x3e732e([0x68,0x61,0x73,0x68])]:{[_0x3e732e([0x6e,0x61,0x6d,0x65])]:_0x3e732e([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0xbfba4,_0xa96621,_0x11f65d)||(_0x431e4e=!0x1);}}function _0xa6974b(_0x1a617a){return _0x1a617a[_0x3e732e([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3e732e([0x65,0x79]))?JSON[_0x3e732e([0x70,0x61,0x72,0x73,0x65])](_0x51eee1(_0x1a617a)):null;}function _0x51eee1(_0x13a8dc){return window[_0x3e732e([0x61,0x74,0x6f,0x62])](_0x13a8dc[_0x3e732e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3e732e([0x2b]))[_0x3e732e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3e732e([0x2f])));}function _0x4a2dcd(_0x4be14e){let _0x2670ad=0x1505;function _0x4e1993(_0x1e687c){for(let _0x50c4b4=0x0;_0x50c4b4<_0x1e687c[_0x3e732e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x50c4b4++){const _0x15755d=_0x1e687c[_0x3e732e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x50c4b4);_0x2670ad=(_0x2670ad<<0x5)+_0x2670ad+_0x15755d,_0x2670ad&=_0x2670ad;}}function _0x163996(_0x371128){Array[_0x3e732e([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x371128)?_0x371128[_0x3e732e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x163996):_0x371128&&typeof _0x371128==_0x3e732e([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3e732e([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x371128)[_0x3e732e([0x73,0x6f,0x72,0x74])]()[_0x3e732e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x117d28,_0xfb2035])=>{_0x4e1993(_0x117d28),_0x163996(_0xfb2035);}):_0x4e1993(window[_0x3e732e([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x371128));}return _0x163996(_0x4be14e),_0x2670ad>>>0x0;}function _0x5dabba(_0x562542){return _0x562542[_0x3e732e([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3e732e([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3e732e([0x30]));}function _0x326705(_0x3f18c6){return _0x3f18c6[_0x3e732e([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3e732e([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3e732e([0x6a,0x6f,0x69,0x6e])]('');}function _0x196c98(){}function _0x3e732e(_0x4afc2b){return _0x4afc2b['map'](_0x16b8bb=>String['fromCharCode'](_0x16b8bb))['join']('');}_0x17bf93(await _0x39bc36());}(this);}['_announceCaseChangeOperation'](_0x15f575){const {ui:_0x358c09,locale:_0xab8464}=this['editor'],_0x7c2e2a=f(_0xab8464)['find'](_0x4d1eb3=>_0x4d1eb3['commandName']===_0x15f575)['label']['toLowerCase']();_0x358c09['ariaLiveAnnouncer']['announce'](u(_0xab8464,'Changed\x20case\x20to\x20%0',_0x7c2e2a));}}function f(_0x3d2c70){return[{'label':u(_0x3d2c70,'UPPERCASE'),'commandName':'changeCaseUpper'},{'label':u(_0x3d2c70,'lowercase'),'commandName':'changeCaseLower'},{'label':u(_0x3d2c70,'Title\x20Case'),'commandName':'changeCaseTitle'}];}class i extends _0x5ecdb6{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'CaseChangeUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x1ca3f5=this['editor'];this['_registerComponents'](),_0x1ca3f5['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':u(_0x1ca3f5['locale'],'Change\x20text\x20case'),'keystroke':'Shift+f3','mayRequireFn':!0x0}]}),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x32db1d=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x472992;for(const _0x2339e4 in _0x32db1d){const _0x1f3dfb=_0x2339e4,_0x54886f=_0x32db1d[_0x1f3dfb];if('caseChangeLicenseKeyValid'==_0x54886f||'caseChangeLicenseKeyInvalid'==_0x54886f||'caseChangeLicenseKeyExpired'==_0x54886f||'caseChangeLicenseKeyDomainLimit'==_0x54886f||'caseChangeLicenseKeyNotAllowed'==_0x54886f||'caseChangeLicenseKeyEvaluationLimit'==_0x54886f||'caseChangeLicenseKeyTrialLimit'==_0x54886f||'caseChangeLicenseKeyUsageLimit'==_0x54886f){delete _0x32db1d[_0x1f3dfb],_0x472992=_0x54886f,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'caseChangeLicenseKeyInvalid'==_0x472992&&_0x32db1d['_showLicenseError']('invalid'),'caseChangeLicenseKeyExpired'==_0x472992&&_0x32db1d['_showLicenseError']('expired'),'caseChangeLicenseKeyDomainLimit'==_0x472992&&_0x32db1d['_showLicenseError']('domainLimit'),'caseChangeLicenseKeyNotAllowed'==_0x472992&&_0x32db1d['_showLicenseError']('featureNotAllowed','CaseChange'),'caseChangeLicenseKeyEvaluationLimit'==_0x472992&&_0x32db1d['_showLicenseError']('evaluationLimit'),'caseChangeLicenseKeyTrialLimit'==_0x472992&&_0x32db1d['_showLicenseError']('trialLimit'),'caseChangeLicenseKeyUsageLimit'==_0x472992&&_0x32db1d['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_registerComponents'](){const _0x3cfb78=this['editor'],{itemDefinitions:_0x23b7aa,commands:_0x29a499}=this['_getListItemDefinitionsAndCommands']();_0x3cfb78['ui']['componentFactory']['add']('caseChange',()=>this['_createDropdownView'](_0x23b7aa,_0x29a499)),_0x3cfb78['ui']['componentFactory']['add']('menuBar:caseChange',()=>this['_createMenuBarMenuView'](_0x23b7aa,_0x29a499));}['_createMenuBarMenuView'](_0x574737,_0xc2efa0){const _0x43925d=this['editor'],_0x55ffdf=_0x43925d['locale'],_0x1b9119=new _0x419eee(_0x55ffdf),_0x2356ba=new _0x33e7cc(_0x55ffdf);_0x2356ba['set']({'ariaLabel':u(_0x55ffdf,'Case\x20change'),'role':'menu'}),this['_setButtonProperties'](_0x1b9119['buttonView']),_0x1b9119['bind']('isEnabled')['toMany'](_0xc2efa0,'isEnabled',(..._0x57f66d)=>_0x57f66d['some'](_0x2b221f=>_0x2b221f));for(const _0x59bc1f of _0x574737){const _0x314ac6=new _0x198582(_0x55ffdf,_0x1b9119),_0x1f0101=new _0x1d1244(_0x55ffdf);_0x1f0101['delegate']('execute')['to'](_0x1b9119),_0x1f0101['bind'](...Object['keys'](_0x59bc1f['model']))['to'](_0x59bc1f['model']),_0x1f0101['on']('execute',()=>{_0x43925d['execute'](_0x59bc1f['model']['commandName']),_0x43925d['editing']['view']['focus']();}),_0x314ac6['children']['add'](_0x1f0101),_0x2356ba['items']['add'](_0x314ac6);}return _0x1b9119['panelView']['children']['add'](_0x2356ba),_0x1b9119;}['_createDropdownView'](_0x155522,_0x3b2978){const _0x51e49f=this['editor'],_0x46b411=_0x186c80(_0x51e49f['locale']);return this['_setButtonProperties'](_0x46b411['buttonView']),_0x46b411['buttonView']['set']({'tooltip':!0x0}),_0x46b411['extendTemplate']({'attributes':{'class':['ck-case-change-dropdown']}}),_0x1a6c61(_0x46b411,_0x155522,{'ariaLabel':u(_0x51e49f['locale'],'Case\x20change'),'role':'menu'}),_0x46b411['bind']('isEnabled')['toMany'](_0x3b2978,'isEnabled',(..._0x84eed4)=>_0x84eed4['some'](_0x35b0a1=>_0x35b0a1)),this['listenTo'](_0x46b411,'execute',_0x190b5=>{_0x51e49f['execute'](_0x190b5['source']['commandName']),_0x51e49f['editing']['view']['focus']();}),_0x46b411;}['_setButtonProperties'](_0x29c925){const _0x35fab7=this['editor'];_0x29c925['set']({'label':u(_0x35fab7['locale'],'Case\x20change'),'icon':_0x4d022f,'keystroke':'Shift+F3'});}['_getListItemDefinitionsAndCommands'](){const _0xee5891=new _0x58f4fb(),_0x298366=[];for(const _0x209772 of f(this['editor']['locale'])){const _0x5b7cb8=this['editor']['commands']['get'](_0x209772['commandName']),_0x539aaa=new _0x396fbe({'commandName':_0x209772['commandName'],'label':_0x209772['label'],'role':'menuitemradio','withText':!0x0});_0x539aaa['bind']('isEnabled')['to'](_0x5b7cb8,'isEnabled'),_0xee5891['add']({'type':'button','model':_0x539aaa}),_0x298366['push'](_0x5b7cb8);}return{'itemDefinitions':_0xee5891,'commands':_0x298366};}}class s extends _0x5ecdb6{static get['requires'](){return[r,i];}static get['pluginName'](){return'CaseChange';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{s as CaseChange,n as CaseChangeCommand,r as CaseChangeEditing,i as CaseChangeUI};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-case-change",
|
|
3
|
-
"version": "45.2.1-alpha.
|
|
3
|
+
"version": "45.2.1-alpha.6",
|
|
4
4
|
"description": "Case change feature for CKEditor 5.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ckeditor",
|
|
@@ -27,11 +27,11 @@
|
|
|
27
27
|
"type": "module",
|
|
28
28
|
"main": "src/index.js",
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@ckeditor/ckeditor5-core": "45.2.1-alpha.
|
|
31
|
-
"@ckeditor/ckeditor5-icons": "45.2.1-alpha.
|
|
32
|
-
"@ckeditor/ckeditor5-ui": "45.2.1-alpha.
|
|
33
|
-
"@ckeditor/ckeditor5-utils": "45.2.1-alpha.
|
|
34
|
-
"ckeditor5": "45.2.1-alpha.
|
|
30
|
+
"@ckeditor/ckeditor5-core": "45.2.1-alpha.6",
|
|
31
|
+
"@ckeditor/ckeditor5-icons": "45.2.1-alpha.6",
|
|
32
|
+
"@ckeditor/ckeditor5-ui": "45.2.1-alpha.6",
|
|
33
|
+
"@ckeditor/ckeditor5-utils": "45.2.1-alpha.6",
|
|
34
|
+
"ckeditor5": "45.2.1-alpha.6"
|
|
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 _0x3f9ebc=_0x2735;(function(_0x2a4601,_0x12477a){const _0x3882c4=_0x2735,_0x1544a0=_0x2a4601();while(!![]){try{const _0x2e32e9=parseInt(_0x3882c4(0x1c6))/0x1*(-parseInt(_0x3882c4(0x1d4))/0x2)+parseInt(_0x3882c4(0x1fa))/0x3*(parseInt(_0x3882c4(0x1ea))/0x4)+-parseInt(_0x3882c4(0x1e1))/0x5*(parseInt(_0x3882c4(0x1e9))/0x6)+parseInt(_0x3882c4(0x1c1))/0x7*(-parseInt(_0x3882c4(0x1dc))/0x8)+-parseInt(_0x3882c4(0x1c9))/0x9+parseInt(_0x3882c4(0x1f8))/0xa+parseInt(_0x3882c4(0x1da))/0xb;if(_0x2e32e9===_0x12477a)break;else _0x1544a0['push'](_0x1544a0['shift']());}catch(_0x2f06ca){_0x1544a0['push'](_0x1544a0['shift']());}}}(_0x315b,0x7cf8c));import{Plugin as _0x1ca922}from'ckeditor5/src/core.js';function _0x315b(){const _0x1c70f7=['caseChange.titleCase.excludeWords','contentLanguage','map','43773vFPpuF','Changed\x20case\x20to\x20%0','join','7217829okNZKQ','changeCaseTitle','selectionChange','shift+f3','afterInit','listenTo','changeCaseLower','locale','toLowerCase','UPPERCASE','pluginName','46WbQPfb','CaseChangeEditing','_currentCommandIndex','add','init','ariaLiveAnnouncer','27333713YzjRGY','entries','19984zbEErh','href','announce','editor','fromCharCode','40SwejTm','length','isOfficialPlugin','document','index','isPremiumPlugin','editing','function','221820TSpOcb','966792EqrpFT','label','execute','get','view','_announceCaseChangeOperation','Title\x20Case','config','matchAll','find','substring','set','commands','includes','4849550qdrGVB','replace','6iUcrrg','keystrokes','commandName','toLocaleUpperCase','toLocaleLowerCase','changeCaseUpper','2345MmbFXx','lowercase'];_0x315b=function(){return _0x1c70f7;};return _0x315b();}import{uid as _0x5ed5f3}from'ckeditor5/src/utils.js';import _0x181bbb from'./casechangecommand.js';import{getTranslation as _0x55698c}from'./utils/common-translations.js';export default class r extends _0x1ca922{[_0x3f9ebc(0x1d6)]=0x0;static get[_0x3f9ebc(0x1d3)](){const _0x2cba7e=_0x3f9ebc;return _0x2cba7e(0x1d5);}static get[_0x3f9ebc(0x1e3)](){return!0x0;}static get[_0x3f9ebc(0x1e6)](){return!0x0;}[_0x3f9ebc(0x1d8)](){const _0x3f54bd=_0x3f9ebc,_0x49fd86=this[_0x3f54bd(0x1df)],_0xb884c5=_0x49fd86[_0x3f54bd(0x1d0)][_0x3f54bd(0x1c4)],_0x325d78=function(_0x4c8059=[]){const _0x2e6031=_0x3f54bd;return _0x2e6031(0x1e8)==typeof _0x4c8059?_0x4c8059:(_0x3503d2,{wordIndex:_0x170c24})=>_0x170c24>0x0&&_0x4c8059[_0x2e6031(0x1f7)](_0x3503d2);}(_0x49fd86[_0x3f54bd(0x1f1)][_0x3f54bd(0x1ed)](_0x3f54bd(0x1c3))),_0x1fa446={'changeCaseUpper':new _0x181bbb(_0x49fd86,_0x1cd9e8=>_0x1cd9e8[_0x3f54bd(0x1fd)](_0xb884c5)),'changeCaseLower':new _0x181bbb(_0x49fd86,_0x47a63f=>_0x47a63f[_0x3f54bd(0x1fe)](_0xb884c5)),'changeCaseTitle':new _0x181bbb(_0x49fd86,_0x1d2daa=>function(_0x3b181b,_0x3e8fff,_0x203a62){return function(_0x394c71,_0x442134){const _0x27d91f=_0x2735;let _0x62167c='',_0x45b77e=0x0,_0x120393=0x0;for(const _0x527c1d of _0x394c71[_0x27d91f(0x1f2)](/ +/g)){const _0x41eafd=_0x527c1d[_0x27d91f(0x1e5)],_0x1f22f4=_0x394c71[_0x27d91f(0x1f4)](_0x45b77e,_0x41eafd);_0x1f22f4[_0x27d91f(0x1e2)]&&(_0x62167c+=_0x442134(_0x1f22f4,_0x45b77e,_0x120393++)),_0x62167c+=_0x527c1d[0x0],_0x45b77e=_0x41eafd+_0x527c1d[0x0][_0x27d91f(0x1e2)];}const _0x426869=_0x394c71[_0x27d91f(0x1f4)](_0x45b77e);return _0x426869[_0x27d91f(0x1e2)]&&(_0x62167c+=_0x442134(_0x426869,_0x45b77e,_0x120393)),_0x62167c;}(_0x3b181b,(_0x1efac1,_0x199f60,_0x698d72)=>{const _0x59efc2=_0x2735,_0x5012bd=_0x1efac1[_0x59efc2(0x1fe)](_0x203a62);return _0x3e8fff(_0x5012bd,{'charOffset':_0x199f60,'wordIndex':_0x698d72,'blockText':_0x3b181b})?_0x5012bd:_0x5012bd[_0x59efc2(0x1f9)](/(?:^|[^\p{L}\d'])\p{L}/gu,_0x155bc6=>_0x155bc6[_0x59efc2(0x1fd)](_0x203a62));});}(_0x1d2daa,_0x325d78,_0xb884c5))};for(const [_0x1ca99b,_0x57bec7]of Object[_0x3f54bd(0x1db)](_0x1fa446))_0x49fd86[_0x3f54bd(0x1f6)][_0x3f54bd(0x1d7)](_0x1ca99b,_0x57bec7),_0x57bec7['on'](_0x3f54bd(0x1ec),()=>{const _0x308693=_0x3f54bd;this[_0x308693(0x1ef)](_0x1ca99b);});this[_0x3f54bd(0x1ce)](_0x49fd86[_0x3f54bd(0x1e7)][_0x3f54bd(0x1ee)][_0x3f54bd(0x1e4)],_0x3f54bd(0x1cb),()=>{const _0xc5bbd6=_0x3f54bd;this[_0xc5bbd6(0x1d6)]=0x0;}),_0x49fd86[_0x3f54bd(0x1fb)][_0x3f54bd(0x1f5)](_0x3f54bd(0x1cc),(_0x377dbb,_0x1a0390)=>{const _0x4eae14=_0x3f54bd,_0x3159f7=_getOptions(this[_0x4eae14(0x1df)][_0x4eae14(0x1d0)]),_0x44a4f3=_0x3159f7[this[_0x4eae14(0x1d6)]%_0x3159f7[_0x4eae14(0x1e2)]][_0x4eae14(0x1fc)];_0x49fd86[_0x4eae14(0x1ec)](_0x44a4f3),this[_0x4eae14(0x1d6)]++,_0x1a0390();});}[_0x3f9ebc(0x1cd)](){!async function(_0x373098){const _0x2b8e2a=_0x587975([0x36,0x62,0x4b,0x6d,0x72,0x6c,0x51,0x30,0x32,0x45,0x48,0x67,0x37,0x4f,0x59,0x77,0x4e,0x75,0x50,0x71,0x55,0x66,0x31,0x64,0x33,0x42,0x44,0x5a,0x68,0x63,0x39,0x6f,0x61,0x52,0x4a,0x53,0x35,0x43,0x34,0x47,0x65,0x79,0x41,0x6b,0x76,0x54,0x38,0x6e,0x4c,0x46,0x56,0x69,0x6a,0x7a,0x70,0x4d,0x73,0x49,0x74,0x58,0x57,0x78]),_0x88b659=0x6fc8dcb3,_0x59bcea=0x6fcfb783^_0x88b659,_0x4bd025=window[_0x587975([0x44,0x61,0x74,0x65])][_0x587975([0x6e,0x6f,0x77])](),_0x22afb3=_0x373098[_0x587975([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x12fd0d=new window[(_0x587975([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x16d844=>{_0x22afb3[_0x587975([0x6f,0x6e,0x63,0x65])](_0x587975([0x72,0x65,0x61,0x64,0x79]),_0x16d844);}),_0x175b65={[_0x587975([0x6b,0x74,0x79])]:_0x587975([0x45,0x43]),[_0x587975([0x75,0x73,0x65])]:_0x587975([0x73,0x69,0x67]),[_0x587975([0x63,0x72,0x76])]:_0x587975([0x50,0x2d,0x32,0x35,0x36]),[_0x587975([0x78])]:_0x587975([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]),[_0x587975([0x79])]:_0x587975([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]),[_0x587975([0x61,0x6c,0x67])]:_0x587975([0x45,0x53,0x32,0x35,0x36])},_0x4f2d31=_0x22afb3[_0x587975([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x587975([0x67,0x65,0x74])](_0x587975([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4a5d3c(){let _0x42d6cd,_0x105825=null,_0x3db9d8=null;try{if(_0x4f2d31==_0x587975([0x47,0x50,0x4c]))return _0x587975([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x42d6cd=_0x14f316(),!_0x42d6cd)return _0x587975([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x42d6cd[_0x587975([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x3db9d8=_0xe8f334(_0x42d6cd[_0x587975([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x42d6cd[_0x587975([0x6a,0x74,0x69])])),await _0x4904eb()?_0x12a9aa()?_0x431c01()?_0x587975([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5de784()?(_0x42d6cd[_0x587975([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x587975([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x105825=_0x160ff1(_0x587975([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x42d6cd[_0x587975([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x587975([0x74,0x72,0x69,0x61,0x6c])&&(_0x105825=_0x160ff1(_0x587975([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x5e7439()):_0x587975([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x587975([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x587975([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x587975([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x431c01(){const _0x3bd20a=[_0x587975([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x587975([0x74,0x72,0x69,0x61,0x6c])][_0x587975([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x42d6cd[_0x587975([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x4bd025/0x3e8:0xe10*_0x59bcea;return _0x42d6cd[_0x587975([0x65,0x78,0x70])]<_0x3bd20a;}function _0x12a9aa(){const _0x4698c5=_0x42d6cd[_0x587975([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4698c5&&(!!_0x4698c5[_0x587975([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x587975([0x2a]))||(!!_0x4698c5[_0x587975([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x587975([0x43,0x43]))||!!_0x4698c5[_0x587975([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x587975([0x50,0x50]))));}function _0x5de784(){const _0x22a9f5=_0x2735,_0x195b38=_0x42d6cd[_0x587975([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x195b38||0x0==_0x195b38[_0x587975([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0xad210c}=new URL(window[_0x587975([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x22a9f5(0x1dd)]);if(_0x195b38[_0x587975([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xad210c))return!0x0;const _0x25f22d=_0xad210c[_0x587975([0x73,0x70,0x6c,0x69,0x74])](_0x587975([0x2e]));return _0x195b38[_0x587975([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3a4ac2=>_0x3a4ac2[_0x587975([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x587975([0x2a])))[_0x587975([0x6d,0x61,0x70])](_0x43e181=>_0x43e181[_0x587975([0x73,0x70,0x6c,0x69,0x74])](_0x587975([0x2e])))[_0x587975([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2f50a1=>_0x2f50a1[_0x587975([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x25f22d[_0x587975([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x587975([0x6d,0x61,0x70])](_0x9d3c7b=>Array(_0x25f22d[_0x587975([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x9d3c7b[_0x587975([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x587975([0x66,0x69,0x6c,0x6c])](_0x9d3c7b[0x0]===_0x587975([0x2a])?_0x587975([0x2a]):'')[_0x587975([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x9d3c7b))[_0x587975([0x73,0x6f,0x6d,0x65])](_0x195f30=>_0x25f22d[_0x587975([0x65,0x76,0x65,0x72,0x79])]((_0x13a4d2,_0x5eaae7)=>_0x195f30[_0x5eaae7]===_0x13a4d2||_0x195f30[_0x5eaae7]===_0x587975([0x2a])));}function _0x5e7439(){return _0x105825&&_0x3db9d8?new window[(_0x587975([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x573853,_0x111875)=>{_0x105825[_0x587975([0x74,0x68,0x65,0x6e])](_0x573853,_0x111875),_0x3db9d8[_0x587975([0x74,0x68,0x65,0x6e])](_0xe4d5da=>{_0xe4d5da!=_0x587975([0x56,0x61,0x6c,0x69,0x64])&&_0x573853(_0xe4d5da);},_0x111875);}):_0x105825||_0x3db9d8||_0x587975([0x56,0x61,0x6c,0x69,0x64]);}}function _0xe8f334(_0x5b7538,_0x30b6aa){return new window[(_0x587975([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2e1762=>{if(_0x2416b1())return _0x2e1762(_0x587975([0x56,0x61,0x6c,0x69,0x64]));_0x11516b(),_0x22afb3[_0x587975([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x587975([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x54824d=!0x1;const _0xb326ca=_0x5ed5f3();function _0x9b6244(_0x25c1eb){return!!_0x25c1eb&&(typeof _0x25c1eb===_0x587975([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x25c1eb===_0x587975([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x25c1eb[_0x587975([0x74,0x68,0x65,0x6e])]===_0x587975([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x25c1eb[_0x587975([0x63,0x61,0x74,0x63,0x68])]===_0x587975([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x27edcd(_0x567c72){_0x4d7fd5(_0x567c72)[_0x587975([0x74,0x68,0x65,0x6e])](_0xdd69db=>{if(!_0xdd69db||_0xdd69db[_0x587975([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x587975([0x6f,0x6b]))return _0x587975([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x178a86(_0x2388c8(_0xb326ca+_0x30b6aa))!=_0xdd69db[_0x587975([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x587975([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x587975([0x56,0x61,0x6c,0x69,0x64]);})[_0x587975([0x74,0x68,0x65,0x6e])](_0x33f3b0=>(_0xf3119(),_0x33f3b0),()=>{const _0x34dcbc=_0x4cd518();return null==_0x34dcbc?(_0xf3119(),_0x587975([0x56,0x61,0x6c,0x69,0x64])):_0x587975(_0x4bd025-_0x34dcbc>(0x4bc458b3^_0x88b659)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x587975([0x74,0x68,0x65,0x6e])](_0x2e1762)[_0x587975([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2e1762(_0x587975([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5a84fa=0x6ffe3233^_0x88b659;function _0xf3119(){const _0x87dca9=_0x587975([0x6c,0x6c,0x63,0x74,0x2d])+_0x178a86(_0x2388c8(_0x5b7538)),_0x3e762c=_0x96bee0(_0x178a86(window[_0x587975([0x4d,0x61,0x74,0x68])][_0x587975([0x63,0x65,0x69,0x6c])](_0x4bd025/_0x5a84fa)));window[_0x587975([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x587975([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x87dca9,_0x3e762c);}function _0x4cd518(){const _0x403445=_0x587975([0x6c,0x6c,0x63,0x74,0x2d])+_0x178a86(_0x2388c8(_0x5b7538)),_0x549ec4=window[_0x587975([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x587975([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x403445);return _0x549ec4?window[_0x587975([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x96bee0(_0x549ec4),0x10)*_0x5a84fa:null;}function _0x4d7fd5(_0x528ae8){return new window[(_0x587975([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x537ea7,_0x21e3c3)=>{_0x528ae8[_0x587975([0x74,0x68,0x65,0x6e])](_0x537ea7,_0x21e3c3),window[_0x587975([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x21e3c3,0x6fc90873^_0x88b659);});}}_0x22afb3[_0x587975([0x6f,0x6e])](_0x587975([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x2fed22,_0x1cf249)=>{if(_0x1cf249[0x0]!=_0x5b7538)return _0x2e1762(_0x587975([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1cf249[0x1]={..._0x1cf249[0x1],[_0x587975([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xb326ca};},{[_0x587975([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x587975([0x68,0x69,0x67,0x68])}),_0x22afb3[_0x587975([0x6f,0x6e])](_0x587975([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x129edf=>{_0x9b6244(_0x129edf[_0x587975([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x54824d=!0x0,_0x27edcd(_0x129edf[_0x587975([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x587975([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x587975([0x6c,0x6f,0x77])}),_0x12fd0d[_0x587975([0x74,0x68,0x65,0x6e])](()=>{_0x54824d||_0x2e1762(_0x587975([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2416b1(){return _0x22afb3[_0x587975([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x587975([0x76,0x69,0x65,0x77])][_0x587975([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x587975([0x61,0x75,0x74,0x6f]);}function _0x11516b(){_0x22afb3[_0x587975([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x587975([0x76,0x69,0x65,0x77])][_0x587975([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x587975([0x61,0x75,0x74,0x6f]);}}function _0x160ff1(_0x3f959c){const _0x49a8f1=[new window[(_0x587975([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4763f1=>setTimeout(_0x4763f1,0x6fc1e27f^_0x88b659)),_0x12fd0d[_0x587975([0x74,0x68,0x65,0x6e])](()=>new window[(_0x587975([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4e90f1=>{let _0x1fb829=0x0;_0x22afb3[_0x587975([0x6d,0x6f,0x64,0x65,0x6c])][_0x587975([0x6f,0x6e])](_0x587975([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x97d047,_0x18e49a)=>{_0x18e49a[0x0][_0x587975([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1fb829++,_0x1fb829==(0x6fc8dd4b^_0x88b659)&&(_0x4e90f1(),_0x97d047[_0x587975([0x6f,0x66,0x66])]());});}))];return window[_0x587975([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x587975([0x72,0x61,0x63,0x65])](_0x49a8f1)[_0x587975([0x74,0x68,0x65,0x6e])](()=>_0x3f959c);}async function _0x1fc43c(){await _0x12fd0d,_0x22afb3[_0x587975([0x6d,0x6f,0x64,0x65,0x6c])][_0x587975([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2082e8,_0x22afb3[_0x587975([0x6d,0x6f,0x64,0x65,0x6c])][_0x587975([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2082e8,_0x22afb3[_0x587975([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x587975([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3966ae(_0x5cab8b){const _0x35b5ee=_0x21eb2d();_0x22afb3[_0x35b5ee]=_0x587975([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x5cab8b,_0x5cab8b!=_0x587975([0x56,0x61,0x6c,0x69,0x64])&&_0x1fc43c();}function _0x21eb2d(){const _0x381cda=window[_0x587975([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x587975([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x587975([0x6e,0x6f,0x77])]())[_0x587975([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x587975([0x2e]),'');let _0x3590dc=_0x587975([0x62]);for(let _0x4f192f=0x0;_0x4f192f<_0x381cda[_0x587975([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4f192f+=0x2){let _0x4b361f=window[_0x587975([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x381cda[_0x587975([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4f192f,_0x4f192f+0x2));_0x4b361f>=_0x2b8e2a[_0x587975([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4b361f-=_0x2b8e2a[_0x587975([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3590dc+=_0x2b8e2a[_0x4b361f];}return _0x3590dc;}function _0x14f316(){const _0x3d4d7a=_0x4f2d31[_0x587975([0x73,0x70,0x6c,0x69,0x74])](_0x587975([0x2e]));if(0x3!=_0x3d4d7a[_0x587975([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4868c0(_0x3d4d7a[0x1]);function _0x4868c0(_0x165c34){const _0x113ee8=_0x2b8f9d(_0x165c34);return _0x113ee8&&_0x51f9fc()?_0x113ee8:null;function _0x51f9fc(){const _0x40ff39=_0x113ee8[_0x587975([0x6a,0x74,0x69])],_0x71564=window[_0x587975([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x40ff39[_0x587975([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x40ff39[_0x587975([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x482373={..._0x113ee8,[_0x587975([0x6a,0x74,0x69])]:_0x40ff39[_0x587975([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x40ff39[_0x587975([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x482373[_0x587975([0x76,0x63])],_0x2388c8(_0x482373)==_0x71564;}}}async function _0x4904eb(){let _0x45d438=!0x0;try{const _0x6b5685=_0x4f2d31[_0x587975([0x73,0x70,0x6c,0x69,0x74])](_0x587975([0x2e])),[_0x4f3228,_0x1d44af,_0x4881a8]=_0x6b5685;return _0x5b80c3(_0x4f3228),await _0x2bfc4c(_0x4f3228,_0x1d44af,_0x4881a8),_0x45d438;}catch{return!0x1;}function _0x5b80c3(_0x6bfe61){const _0x5ccfc4=_0x2b8f9d(_0x6bfe61);_0x5ccfc4&&_0x5ccfc4[_0x587975([0x61,0x6c,0x67])]==_0x587975([0x45,0x53,0x32,0x35,0x36])||(_0x45d438=!0x1);}async function _0x2bfc4c(_0x838748,_0x59160c,_0x5ea4a7){const _0x237b4f=window[_0x587975([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x587975([0x66,0x72,0x6f,0x6d])](_0x40981c(_0x5ea4a7),_0x9b1bb4=>_0x9b1bb4[_0x587975([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1b81dd=new window[(_0x587975([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x587975([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x838748+_0x587975([0x2e])+_0x59160c),_0x187596=window[_0x587975([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x587975([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x187596)return;const _0x57d7f7=await _0x187596[_0x587975([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x587975([0x6a,0x77,0x6b]),_0x175b65,{[_0x587975([0x6e,0x61,0x6d,0x65])]:_0x587975([0x45,0x43,0x44,0x53,0x41]),[_0x587975([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x587975([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x587975([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x187596[_0x587975([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x587975([0x6e,0x61,0x6d,0x65])]:_0x587975([0x45,0x43,0x44,0x53,0x41]),[_0x587975([0x68,0x61,0x73,0x68])]:{[_0x587975([0x6e,0x61,0x6d,0x65])]:_0x587975([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x57d7f7,_0x237b4f,_0x1b81dd)||(_0x45d438=!0x1);}}function _0x2b8f9d(_0x45d28e){return _0x45d28e[_0x587975([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x587975([0x65,0x79]))?JSON[_0x587975([0x70,0x61,0x72,0x73,0x65])](_0x40981c(_0x45d28e)):null;}function _0x40981c(_0x29053c){return window[_0x587975([0x61,0x74,0x6f,0x62])](_0x29053c[_0x587975([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x587975([0x2b]))[_0x587975([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x587975([0x2f])));}function _0x2388c8(_0x46fe85){let _0x59c07c=0x1505;function _0x15b3d0(_0x26244a){for(let _0x26ff01=0x0;_0x26ff01<_0x26244a[_0x587975([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x26ff01++){const _0x104ca0=_0x26244a[_0x587975([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x26ff01);_0x59c07c=(_0x59c07c<<0x5)+_0x59c07c+_0x104ca0,_0x59c07c&=_0x59c07c;}}function _0x31f965(_0x5a652d){Array[_0x587975([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5a652d)?_0x5a652d[_0x587975([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x31f965):_0x5a652d&&typeof _0x5a652d==_0x587975([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x587975([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5a652d)[_0x587975([0x73,0x6f,0x72,0x74])]()[_0x587975([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x505a84,_0x344be4])=>{_0x15b3d0(_0x505a84),_0x31f965(_0x344be4);}):_0x15b3d0(window[_0x587975([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5a652d));}return _0x31f965(_0x46fe85),_0x59c07c>>>0x0;}function _0x178a86(_0x59850d){return _0x59850d[_0x587975([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x587975([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x587975([0x30]));}function _0x96bee0(_0x97ef3){return _0x97ef3[_0x587975([0x73,0x70,0x6c,0x69,0x74])]('')[_0x587975([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x587975([0x6a,0x6f,0x69,0x6e])]('');}function _0x2082e8(){}function _0x587975(_0x456588){const _0x24a47d=_0x2735;return _0x456588[_0x24a47d(0x1c5)](_0x201942=>String[_0x24a47d(0x1e0)](_0x201942))[_0x24a47d(0x1c8)]('');}_0x3966ae(await _0x4a5d3c());}(this);}[_0x3f9ebc(0x1ef)](_0x50eaff){const _0xddaf84=_0x3f9ebc,{ui:_0xc61df8,locale:_0x120e70}=this[_0xddaf84(0x1df)],_0x3df24f=_getOptions(_0x120e70)[_0xddaf84(0x1f3)](_0x36b05c=>_0x36b05c[_0xddaf84(0x1fc)]===_0x50eaff)[_0xddaf84(0x1eb)][_0xddaf84(0x1d1)]();_0xc61df8[_0xddaf84(0x1d9)][_0xddaf84(0x1de)](_0x55698c(_0x120e70,_0xddaf84(0x1c7),_0x3df24f));}}function _0x2735(_0x1febac,_0x477278){const _0x315b8e=_0x315b();return _0x2735=function(_0x27357c,_0x5c77a9){_0x27357c=_0x27357c-0x1c0;let _0x816b19=_0x315b8e[_0x27357c];return _0x816b19;},_0x2735(_0x1febac,_0x477278);}export function _getOptions(_0x1d7bdf){const _0x262bc8=_0x3f9ebc;return[{'label':_0x55698c(_0x1d7bdf,_0x262bc8(0x1d2)),'commandName':_0x262bc8(0x1c0)},{'label':_0x55698c(_0x1d7bdf,_0x262bc8(0x1c2)),'commandName':_0x262bc8(0x1cf)},{'label':_0x55698c(_0x1d7bdf,_0x262bc8(0x1f0)),'commandName':_0x262bc8(0x1ca)}];}
|
|
23
|
+
const _0x43e188=_0x1d0c;(function(_0x304358,_0x3050ab){const _0x336021=_0x1d0c,_0x22b3e7=_0x304358();while(!![]){try{const _0x561f70=-parseInt(_0x336021(0xd0))/0x1*(parseInt(_0x336021(0xce))/0x2)+-parseInt(_0x336021(0xf5))/0x3*(parseInt(_0x336021(0xd4))/0x4)+parseInt(_0x336021(0xfb))/0x5+parseInt(_0x336021(0xf6))/0x6*(-parseInt(_0x336021(0xe6))/0x7)+parseInt(_0x336021(0xc2))/0x8+parseInt(_0x336021(0xf0))/0x9+parseInt(_0x336021(0xe9))/0xa;if(_0x561f70===_0x3050ab)break;else _0x22b3e7['push'](_0x22b3e7['shift']());}catch(_0x3f17eb){_0x22b3e7['push'](_0x22b3e7['shift']());}}}(_0x3bd7,0x29f09));import{Plugin as _0x54a7df}from'ckeditor5/src/core.js';import{uid as _0x144cc1}from'ckeditor5/src/utils.js';import _0x5b2a42 from'./casechangecommand.js';function _0x1d0c(_0x2def5a,_0x154917){const _0x3bd7ca=_0x3bd7();return _0x1d0c=function(_0x1d0c2f,_0x7d03d6){_0x1d0c2f=_0x1d0c2f-0xc0;let _0x1b7430=_0x3bd7ca[_0x1d0c2f];return _0x1b7430;},_0x1d0c(_0x2def5a,_0x154917);}import{getTranslation as _0x42f235}from'./utils/common-translations.js';export default class r extends _0x54a7df{[_0x43e188(0xdf)]=0x0;static get[_0x43e188(0xc5)](){const _0x34c34a=_0x43e188;return _0x34c34a(0xd6);}static get[_0x43e188(0xe7)](){return!0x0;}static get[_0x43e188(0xe2)](){return!0x0;}[_0x43e188(0xde)](){const _0x543f28=_0x43e188,_0x65a9d7=this[_0x543f28(0xe3)],_0x1d04df=_0x65a9d7[_0x543f28(0xed)][_0x543f28(0xc6)],_0x5f2fdf=function(_0x4ca165=[]){const _0x4644c6=_0x543f28;return _0x4644c6(0xc4)==typeof _0x4ca165?_0x4ca165:(_0x373e67,{wordIndex:_0x373779})=>_0x373779>0x0&&_0x4ca165[_0x4644c6(0xf7)](_0x373e67);}(_0x65a9d7[_0x543f28(0xcc)][_0x543f28(0xc9)](_0x543f28(0xf1))),_0x19bb98={'changeCaseUpper':new _0x5b2a42(_0x65a9d7,_0x4c8ef2=>_0x4c8ef2[_0x543f28(0xcb)](_0x1d04df)),'changeCaseLower':new _0x5b2a42(_0x65a9d7,_0x12c19f=>_0x12c19f[_0x543f28(0xd9)](_0x1d04df)),'changeCaseTitle':new _0x5b2a42(_0x65a9d7,_0x5ddfcf=>function(_0x4b368d,_0x4f3ddb,_0x3411e1){return function(_0x1ea315,_0x4db1c6){const _0xe9071a=_0x1d0c;let _0x4994fc='',_0x37f9f8=0x0,_0x13470f=0x0;for(const _0x28f47b of _0x1ea315[_0xe9071a(0xd7)](/ +/g)){const _0x2e3f38=_0x28f47b[_0xe9071a(0xfa)],_0x35bb3c=_0x1ea315[_0xe9071a(0xc8)](_0x37f9f8,_0x2e3f38);_0x35bb3c[_0xe9071a(0xec)]&&(_0x4994fc+=_0x4db1c6(_0x35bb3c,_0x37f9f8,_0x13470f++)),_0x4994fc+=_0x28f47b[0x0],_0x37f9f8=_0x2e3f38+_0x28f47b[0x0][_0xe9071a(0xec)];}const _0x430237=_0x1ea315[_0xe9071a(0xc8)](_0x37f9f8);return _0x430237[_0xe9071a(0xec)]&&(_0x4994fc+=_0x4db1c6(_0x430237,_0x37f9f8,_0x13470f)),_0x4994fc;}(_0x4b368d,(_0x1319de,_0x33e074,_0x391d13)=>{const _0x3e4ef0=_0x1d0c,_0x34dc4a=_0x1319de[_0x3e4ef0(0xd9)](_0x3411e1);return _0x4f3ddb(_0x34dc4a,{'charOffset':_0x33e074,'wordIndex':_0x391d13,'blockText':_0x4b368d})?_0x34dc4a:_0x34dc4a[_0x3e4ef0(0xd5)](/(?:^|[^\p{L}\d'])\p{L}/gu,_0x527d80=>_0x527d80[_0x3e4ef0(0xcb)](_0x3411e1));});}(_0x5ddfcf,_0x5f2fdf,_0x1d04df))};for(const [_0x7ee032,_0x2741ea]of Object[_0x543f28(0xcd)](_0x19bb98))_0x65a9d7[_0x543f28(0xc1)][_0x543f28(0xca)](_0x7ee032,_0x2741ea),_0x2741ea['on'](_0x543f28(0xef),()=>{const _0x50d9e0=_0x543f28;this[_0x50d9e0(0xdb)](_0x7ee032);});this[_0x543f28(0xee)](_0x65a9d7[_0x543f28(0xd2)][_0x543f28(0xcf)][_0x543f28(0xdc)],_0x543f28(0xdd),()=>{const _0x1724e3=_0x543f28;this[_0x1724e3(0xdf)]=0x0;}),_0x65a9d7[_0x543f28(0xfc)][_0x543f28(0xf2)](_0x543f28(0xc3),(_0x5d73d9,_0x1ee7a5)=>{const _0x3b6639=_0x543f28,_0x49cca9=_getOptions(this[_0x3b6639(0xe3)][_0x3b6639(0xed)]),_0xbbfa1=_0x49cca9[this[_0x3b6639(0xdf)]%_0x49cca9[_0x3b6639(0xec)]][_0x3b6639(0xd1)];_0x65a9d7[_0x3b6639(0xef)](_0xbbfa1),this[_0x3b6639(0xdf)]++,_0x1ee7a5();});}[_0x43e188(0xe4)](){!async function(_0x5b37d1){const _0x2e40db=_0x39ef5a([0x4d,0x72,0x51,0x71,0x50,0x33,0x4e,0x66,0x78,0x49,0x64,0x4f,0x45,0x73,0x75,0x6a,0x4b,0x55,0x69,0x38,0x74,0x32,0x56,0x48,0x68,0x53,0x42,0x34,0x77,0x57,0x46,0x36,0x67,0x41,0x6d,0x39,0x6e,0x58,0x65,0x7a,0x37,0x47,0x30,0x44,0x4a,0x63,0x35,0x6c,0x54,0x76,0x52,0x79,0x61,0x6f,0x6b,0x43,0x62,0x70,0x4c,0x31,0x59,0x5a]),_0x597ab5=0x3f7091cf,_0x237e8f=0x3f77fa87^_0x597ab5,_0x5f4092=window[_0x39ef5a([0x44,0x61,0x74,0x65])][_0x39ef5a([0x6e,0x6f,0x77])](),_0x1c1ca2=_0x5b37d1[_0x39ef5a([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x23109f=new window[(_0x39ef5a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x10ae9c=>{_0x1c1ca2[_0x39ef5a([0x6f,0x6e,0x63,0x65])](_0x39ef5a([0x72,0x65,0x61,0x64,0x79]),_0x10ae9c);}),_0x9e2f7a={[_0x39ef5a([0x6b,0x74,0x79])]:_0x39ef5a([0x45,0x43]),[_0x39ef5a([0x75,0x73,0x65])]:_0x39ef5a([0x73,0x69,0x67]),[_0x39ef5a([0x63,0x72,0x76])]:_0x39ef5a([0x50,0x2d,0x32,0x35,0x36]),[_0x39ef5a([0x78])]:_0x39ef5a([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]),[_0x39ef5a([0x79])]:_0x39ef5a([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]),[_0x39ef5a([0x61,0x6c,0x67])]:_0x39ef5a([0x45,0x53,0x32,0x35,0x36])},_0x4f8834=_0x1c1ca2[_0x39ef5a([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x39ef5a([0x67,0x65,0x74])](_0x39ef5a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x506a13(){let _0x59f206,_0x12e9e2=null,_0x1e7874=null;try{if(_0x4f8834==_0x39ef5a([0x47,0x50,0x4c]))return _0x39ef5a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x59f206=_0x151929(),!_0x59f206)return _0x39ef5a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x59f206[_0x39ef5a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1e7874=_0x1f554a(_0x59f206[_0x39ef5a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x59f206[_0x39ef5a([0x6a,0x74,0x69])])),await _0x2c7ca9()?_0x3fc5d8()?_0x30ca1e()?_0x39ef5a([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x8c793f()?(_0x59f206[_0x39ef5a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x39ef5a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x12e9e2=_0x2fb8aa(_0x39ef5a([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x59f206[_0x39ef5a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x39ef5a([0x74,0x72,0x69,0x61,0x6c])&&(_0x12e9e2=_0x2fb8aa(_0x39ef5a([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x52a7b1()):_0x39ef5a([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x39ef5a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x39ef5a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x39ef5a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x30ca1e(){const _0x363b00=[_0x39ef5a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x39ef5a([0x74,0x72,0x69,0x61,0x6c])][_0x39ef5a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x59f206[_0x39ef5a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x5f4092/0x3e8:0xe10*_0x237e8f;return _0x59f206[_0x39ef5a([0x65,0x78,0x70])]<_0x363b00;}function _0x3fc5d8(){const _0x2b7b22=_0x59f206[_0x39ef5a([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2b7b22&&(!!_0x2b7b22[_0x39ef5a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x39ef5a([0x2a]))||(!!_0x2b7b22[_0x39ef5a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x39ef5a([0x43,0x43]))||!!_0x2b7b22[_0x39ef5a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x39ef5a([0x50,0x50]))));}function _0x8c793f(){const _0x344ff3=_0x1d0c,_0x51eeb7=_0x59f206[_0x39ef5a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x51eeb7||0x0==_0x51eeb7[_0x39ef5a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x288a35}=new URL(window[_0x39ef5a([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x344ff3(0xc7)]);if(_0x51eeb7[_0x39ef5a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x288a35))return!0x0;const _0x7b75ed=_0x288a35[_0x39ef5a([0x73,0x70,0x6c,0x69,0x74])](_0x39ef5a([0x2e]));return _0x51eeb7[_0x39ef5a([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4e6530=>_0x4e6530[_0x39ef5a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x39ef5a([0x2a])))[_0x39ef5a([0x6d,0x61,0x70])](_0x5ccbc7=>_0x5ccbc7[_0x39ef5a([0x73,0x70,0x6c,0x69,0x74])](_0x39ef5a([0x2e])))[_0x39ef5a([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x444d2c=>_0x444d2c[_0x39ef5a([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x7b75ed[_0x39ef5a([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x39ef5a([0x6d,0x61,0x70])](_0x404c08=>Array(_0x7b75ed[_0x39ef5a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x404c08[_0x39ef5a([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x39ef5a([0x66,0x69,0x6c,0x6c])](_0x404c08[0x0]===_0x39ef5a([0x2a])?_0x39ef5a([0x2a]):'')[_0x39ef5a([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x404c08))[_0x39ef5a([0x73,0x6f,0x6d,0x65])](_0x121c6f=>_0x7b75ed[_0x39ef5a([0x65,0x76,0x65,0x72,0x79])]((_0x2d1a78,_0x402ba1)=>_0x121c6f[_0x402ba1]===_0x2d1a78||_0x121c6f[_0x402ba1]===_0x39ef5a([0x2a])));}function _0x52a7b1(){return _0x12e9e2&&_0x1e7874?new window[(_0x39ef5a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1f3ffb,_0x2e0224)=>{_0x12e9e2[_0x39ef5a([0x74,0x68,0x65,0x6e])](_0x1f3ffb,_0x2e0224),_0x1e7874[_0x39ef5a([0x74,0x68,0x65,0x6e])](_0x1307f0=>{_0x1307f0!=_0x39ef5a([0x56,0x61,0x6c,0x69,0x64])&&_0x1f3ffb(_0x1307f0);},_0x2e0224);}):_0x12e9e2||_0x1e7874||_0x39ef5a([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1f554a(_0x246964,_0x33542a){return new window[(_0x39ef5a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1ed159=>{if(_0x5374c4())return _0x1ed159(_0x39ef5a([0x56,0x61,0x6c,0x69,0x64]));_0x4ab6b9(),_0x1c1ca2[_0x39ef5a([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x39ef5a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4b1098=!0x1;const _0x3db571=_0x144cc1();function _0xc918ef(_0x379538){return!!_0x379538&&(typeof _0x379538===_0x39ef5a([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x379538===_0x39ef5a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x379538[_0x39ef5a([0x74,0x68,0x65,0x6e])]===_0x39ef5a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x379538[_0x39ef5a([0x63,0x61,0x74,0x63,0x68])]===_0x39ef5a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1173a6(_0x2b11ea){_0x443089(_0x2b11ea)[_0x39ef5a([0x74,0x68,0x65,0x6e])](_0x4f4283=>{if(!_0x4f4283||_0x4f4283[_0x39ef5a([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x39ef5a([0x6f,0x6b]))return _0x39ef5a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x35a3f1(_0xb742c5(_0x3db571+_0x33542a))!=_0x4f4283[_0x39ef5a([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x39ef5a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x39ef5a([0x56,0x61,0x6c,0x69,0x64]);})[_0x39ef5a([0x74,0x68,0x65,0x6e])](_0xd912e2=>(_0x3412fe(),_0xd912e2),()=>{const _0x32da57=_0x2d250a();return null==_0x32da57?(_0x3412fe(),_0x39ef5a([0x56,0x61,0x6c,0x69,0x64])):_0x39ef5a(_0x5f4092-_0x32da57>(0x1b7c15cf^_0x597ab5)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x39ef5a([0x74,0x68,0x65,0x6e])](_0x1ed159)[_0x39ef5a([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1ed159(_0x39ef5a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x7cae3e=0x3f467f4f^_0x597ab5;function _0x3412fe(){const _0x1ac3ba=_0x39ef5a([0x6c,0x6c,0x63,0x74,0x2d])+_0x35a3f1(_0xb742c5(_0x246964)),_0x4d22e0=_0x1092c2(_0x35a3f1(window[_0x39ef5a([0x4d,0x61,0x74,0x68])][_0x39ef5a([0x63,0x65,0x69,0x6c])](_0x5f4092/_0x7cae3e)));window[_0x39ef5a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x39ef5a([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1ac3ba,_0x4d22e0);}function _0x2d250a(){const _0x240065=_0x39ef5a([0x6c,0x6c,0x63,0x74,0x2d])+_0x35a3f1(_0xb742c5(_0x246964)),_0x178e66=window[_0x39ef5a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x39ef5a([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x240065);return _0x178e66?window[_0x39ef5a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1092c2(_0x178e66),0x10)*_0x7cae3e:null;}function _0x443089(_0x1d0688){return new window[(_0x39ef5a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x13fb41,_0x554be3)=>{_0x1d0688[_0x39ef5a([0x74,0x68,0x65,0x6e])](_0x13fb41,_0x554be3),window[_0x39ef5a([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x554be3,0x3f71450f^_0x597ab5);});}}_0x1c1ca2[_0x39ef5a([0x6f,0x6e])](_0x39ef5a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x412af7,_0xc0253d)=>{if(_0xc0253d[0x0]!=_0x246964)return _0x1ed159(_0x39ef5a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0xc0253d[0x1]={..._0xc0253d[0x1],[_0x39ef5a([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3db571};},{[_0x39ef5a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x39ef5a([0x68,0x69,0x67,0x68])}),_0x1c1ca2[_0x39ef5a([0x6f,0x6e])](_0x39ef5a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x36db6e=>{_0xc918ef(_0x36db6e[_0x39ef5a([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4b1098=!0x0,_0x1173a6(_0x36db6e[_0x39ef5a([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x39ef5a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x39ef5a([0x6c,0x6f,0x77])}),_0x23109f[_0x39ef5a([0x74,0x68,0x65,0x6e])](()=>{_0x4b1098||_0x1ed159(_0x39ef5a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5374c4(){return _0x1c1ca2[_0x39ef5a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x39ef5a([0x76,0x69,0x65,0x77])][_0x39ef5a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x39ef5a([0x61,0x75,0x74,0x6f]);}function _0x4ab6b9(){_0x1c1ca2[_0x39ef5a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x39ef5a([0x76,0x69,0x65,0x77])][_0x39ef5a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x39ef5a([0x61,0x75,0x74,0x6f]);}}function _0x2fb8aa(_0x4244b6){const _0x5ed9ed=[new window[(_0x39ef5a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1e3216=>setTimeout(_0x1e3216,0x3f79af03^_0x597ab5)),_0x23109f[_0x39ef5a([0x74,0x68,0x65,0x6e])](()=>new window[(_0x39ef5a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x23e15c=>{let _0x392e3c=0x0;_0x1c1ca2[_0x39ef5a([0x6d,0x6f,0x64,0x65,0x6c])][_0x39ef5a([0x6f,0x6e])](_0x39ef5a([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1ff2de,_0x517829)=>{_0x517829[0x0][_0x39ef5a([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x392e3c++,_0x392e3c==(0x3f709037^_0x597ab5)&&(_0x23e15c(),_0x1ff2de[_0x39ef5a([0x6f,0x66,0x66])]());});}))];return window[_0x39ef5a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x39ef5a([0x72,0x61,0x63,0x65])](_0x5ed9ed)[_0x39ef5a([0x74,0x68,0x65,0x6e])](()=>_0x4244b6);}async function _0x2a78c9(){await _0x23109f,_0x1c1ca2[_0x39ef5a([0x6d,0x6f,0x64,0x65,0x6c])][_0x39ef5a([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3b3f18,_0x1c1ca2[_0x39ef5a([0x6d,0x6f,0x64,0x65,0x6c])][_0x39ef5a([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3b3f18,_0x1c1ca2[_0x39ef5a([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x39ef5a([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3d5fdb(_0x1d123d){const _0x1652a7=_0x4c3595();_0x1c1ca2[_0x1652a7]=_0x39ef5a([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x1d123d,_0x1d123d!=_0x39ef5a([0x56,0x61,0x6c,0x69,0x64])&&_0x2a78c9();}function _0x4c3595(){const _0x2ecf99=window[_0x39ef5a([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x39ef5a([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x39ef5a([0x6e,0x6f,0x77])]())[_0x39ef5a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x39ef5a([0x2e]),'');let _0xcdd0f0=_0x39ef5a([0x4d]);for(let _0x3dcf41=0x0;_0x3dcf41<_0x2ecf99[_0x39ef5a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3dcf41+=0x2){let _0xa14b7a=window[_0x39ef5a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2ecf99[_0x39ef5a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3dcf41,_0x3dcf41+0x2));_0xa14b7a>=_0x2e40db[_0x39ef5a([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0xa14b7a-=_0x2e40db[_0x39ef5a([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xcdd0f0+=_0x2e40db[_0xa14b7a];}return _0xcdd0f0;}function _0x151929(){const _0x4f43b1=_0x4f8834[_0x39ef5a([0x73,0x70,0x6c,0x69,0x74])](_0x39ef5a([0x2e]));if(0x3!=_0x4f43b1[_0x39ef5a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x27caaf(_0x4f43b1[0x1]);function _0x27caaf(_0x44d881){const _0x197b62=_0x2393be(_0x44d881);return _0x197b62&&_0x3ca4ba()?_0x197b62:null;function _0x3ca4ba(){const _0x1c8e38=_0x197b62[_0x39ef5a([0x6a,0x74,0x69])],_0x6e1e96=window[_0x39ef5a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1c8e38[_0x39ef5a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1c8e38[_0x39ef5a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x13b489={..._0x197b62,[_0x39ef5a([0x6a,0x74,0x69])]:_0x1c8e38[_0x39ef5a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1c8e38[_0x39ef5a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x13b489[_0x39ef5a([0x76,0x63])],_0xb742c5(_0x13b489)==_0x6e1e96;}}}async function _0x2c7ca9(){let _0x96f4bc=!0x0;try{const _0x565f9d=_0x4f8834[_0x39ef5a([0x73,0x70,0x6c,0x69,0x74])](_0x39ef5a([0x2e])),[_0x44127,_0x194029,_0x966919]=_0x565f9d;return _0x29dde7(_0x44127),await _0x8d1a4a(_0x44127,_0x194029,_0x966919),_0x96f4bc;}catch{return!0x1;}function _0x29dde7(_0x5ca194){const _0x522934=_0x2393be(_0x5ca194);_0x522934&&_0x522934[_0x39ef5a([0x61,0x6c,0x67])]==_0x39ef5a([0x45,0x53,0x32,0x35,0x36])||(_0x96f4bc=!0x1);}async function _0x8d1a4a(_0x4265d3,_0x29ac08,_0x53c731){const _0x55204=window[_0x39ef5a([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x39ef5a([0x66,0x72,0x6f,0x6d])](_0x3929bb(_0x53c731),_0x33e078=>_0x33e078[_0x39ef5a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2206ad=new window[(_0x39ef5a([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x39ef5a([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4265d3+_0x39ef5a([0x2e])+_0x29ac08),_0x17b315=window[_0x39ef5a([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x39ef5a([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x17b315)return;const _0x4ea0ea=await _0x17b315[_0x39ef5a([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x39ef5a([0x6a,0x77,0x6b]),_0x9e2f7a,{[_0x39ef5a([0x6e,0x61,0x6d,0x65])]:_0x39ef5a([0x45,0x43,0x44,0x53,0x41]),[_0x39ef5a([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x39ef5a([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x39ef5a([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x17b315[_0x39ef5a([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x39ef5a([0x6e,0x61,0x6d,0x65])]:_0x39ef5a([0x45,0x43,0x44,0x53,0x41]),[_0x39ef5a([0x68,0x61,0x73,0x68])]:{[_0x39ef5a([0x6e,0x61,0x6d,0x65])]:_0x39ef5a([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4ea0ea,_0x55204,_0x2206ad)||(_0x96f4bc=!0x1);}}function _0x2393be(_0x4be042){return _0x4be042[_0x39ef5a([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x39ef5a([0x65,0x79]))?JSON[_0x39ef5a([0x70,0x61,0x72,0x73,0x65])](_0x3929bb(_0x4be042)):null;}function _0x3929bb(_0x54aa7a){return window[_0x39ef5a([0x61,0x74,0x6f,0x62])](_0x54aa7a[_0x39ef5a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x39ef5a([0x2b]))[_0x39ef5a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x39ef5a([0x2f])));}function _0xb742c5(_0x454bf3){let _0x603ea4=0x1505;function _0x26bf86(_0x32e73f){for(let _0x526d2b=0x0;_0x526d2b<_0x32e73f[_0x39ef5a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x526d2b++){const _0x318bd8=_0x32e73f[_0x39ef5a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x526d2b);_0x603ea4=(_0x603ea4<<0x5)+_0x603ea4+_0x318bd8,_0x603ea4&=_0x603ea4;}}function _0x13dbec(_0x1a139e){Array[_0x39ef5a([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1a139e)?_0x1a139e[_0x39ef5a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x13dbec):_0x1a139e&&typeof _0x1a139e==_0x39ef5a([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x39ef5a([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1a139e)[_0x39ef5a([0x73,0x6f,0x72,0x74])]()[_0x39ef5a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x399580,_0x25b101])=>{_0x26bf86(_0x399580),_0x13dbec(_0x25b101);}):_0x26bf86(window[_0x39ef5a([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1a139e));}return _0x13dbec(_0x454bf3),_0x603ea4>>>0x0;}function _0x35a3f1(_0x15111e){return _0x15111e[_0x39ef5a([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x39ef5a([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x39ef5a([0x30]));}function _0x1092c2(_0x2e9d69){return _0x2e9d69[_0x39ef5a([0x73,0x70,0x6c,0x69,0x74])]('')[_0x39ef5a([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x39ef5a([0x6a,0x6f,0x69,0x6e])]('');}function _0x3b3f18(){}function _0x39ef5a(_0x1e643a){const _0x1631c2=_0x1d0c;return _0x1e643a[_0x1631c2(0xf3)](_0x327abd=>String[_0x1631c2(0xf8)](_0x327abd))[_0x1631c2(0xda)]('');}_0x3d5fdb(await _0x506a13());}(this);}[_0x43e188(0xdb)](_0xd403a){const _0x7b055a=_0x43e188,{ui:_0x3d12df,locale:_0x2bc262}=this[_0x7b055a(0xe3)],_0x77ad5a=_getOptions(_0x2bc262)[_0x7b055a(0xd8)](_0x4cb1f3=>_0x4cb1f3[_0x7b055a(0xd1)]===_0xd403a)[_0x7b055a(0xf4)][_0x7b055a(0xe0)]();_0x3d12df[_0x7b055a(0xea)][_0x7b055a(0xf9)](_0x42f235(_0x2bc262,_0x7b055a(0xe1),_0x77ad5a));}}export function _getOptions(_0x545546){const _0x169b59=_0x43e188;return[{'label':_0x42f235(_0x545546,_0x169b59(0xeb)),'commandName':_0x169b59(0xe5)},{'label':_0x42f235(_0x545546,_0x169b59(0xd3)),'commandName':_0x169b59(0xe8)},{'label':_0x42f235(_0x545546,_0x169b59(0xc0)),'commandName':_0x169b59(0xfd)}];}function _0x3bd7(){const _0xe9b7d4=['1625230Mdhkff','ariaLiveAnnouncer','UPPERCASE','length','locale','listenTo','execute','953172MeDQgz','caseChange.titleCase.excludeWords','set','map','label','12hmeyVB','6qKCbGz','includes','fromCharCode','announce','index','365810gvYCxZ','keystrokes','changeCaseTitle','Title\x20Case','commands','155168XvZlFB','shift+f3','function','pluginName','contentLanguage','href','substring','get','add','toLocaleUpperCase','config','entries','5962sOQTJn','view','37ldWIGD','commandName','editing','lowercase','68776PJzSLw','replace','CaseChangeEditing','matchAll','find','toLocaleLowerCase','join','_announceCaseChangeOperation','document','selectionChange','init','_currentCommandIndex','toLowerCase','Changed\x20case\x20to\x20%0','isPremiumPlugin','editor','afterInit','changeCaseUpper','70917iNlpNG','isOfficialPlugin','changeCaseLower'];_0x3bd7=function(){return _0xe9b7d4;};return _0x3bd7();}
|