@ckeditor/ckeditor5-case-change
Version:
Case change feature for CKEditor 5.
5 lines • 22.4 kB
JavaScript
!function(e){const t=e.en=e.en||{};t.dictionary=Object.assign(t.dictionary||{},{"Case change":"Case change","Change text case":"Change text case","Changed case to %0":"Changed case to %0",lowercase:"lowercase","Title Case":"Title Case",UPPERCASE:"UPPERCASE"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})),
/*!
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
* For licensing, see LICENSE.md.
*/(()=>{var e={237:e=>{"use strict";e.exports=CKEditor5.dll},311:(e,t,n)=>{e.exports=n(237)("./src/ui.js")},355:(e,t,n)=>{e.exports=n(237)("./src/icons.js")},584:(e,t,n)=>{e.exports=n(237)("./src/utils.js")},782:(e,t,n)=>{e.exports=n(237)("./src/core.js")}},t={};function n(s){var r=t[s];if(void 0!==r)return r.exports;var i=t[s]={exports:{}};return e[s](i,i.exports,n),i.exports}n.d=(e,t)=>{for(var s in t)n.o(t,s)&&!n.o(e,s)&&Object.defineProperty(e,s,{enumerable:!0,get:t[s]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var s={};(()=>{"use strict";n.r(s),n.d(s,{CaseChange:()=>L,CaseChangeCommand:()=>a,CaseChangeEditing:()=>l,CaseChangeUI:()=>I});var e=n(782),t=n(584);const r=i;function i(e,t){const n=o();return(i=function(e,t){return n[e-=426]})(e,t)}function o(){const e=["startOffset","912065GiCVyQ","_getElementsAllowingText","getAttributes","item","createRangeOn","editor","308475JNjRZG","data","getIntersection","reduce","createRangeIn","702262FWizJR","execute","setSelection","_modifyContent","from","5311362GkmDfM","$textProxy","_getAffectedRanges","selection","16923HIljaD","change","refresh","_getElementTextContent","parent","$text","checkChild","getFirstPosition","document","getChildren","isLimit","insertContent","add","endOffset","schema","110hyfALa","108KhfZAf","_findAncestorTextBlock","has","isCollapsed","createSelection","getRanges","_getTextNodesRangeLimited","_replaceTextNodeData","substring","isEnabled","1720395TFzGhV","getWalker","getItems","model","element","8VqWums","2984256yShlon","createText","_transformCallback"];return(o=function(){return e})()}!function(e){const t=i,n=e();for(;;)try{if(469187===parseInt(t(440))/1+-parseInt(t(445))/2+-parseInt(t(454))/3*(parseInt(t(470))/4)+-parseInt(t(434))/5+-parseInt(t(430))/6+parseInt(t(450))/7*(-parseInt(t(429))/8)+-parseInt(t(480))/9*(-parseInt(t(469))/10))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(o);class a extends e.Command{[r(432)];constructor(e,t){const n=r;super(e),this[n(432)]=t}[r(446)](){const e=r,t=this[e(439)][e(427)],n=Array[e(449)](this[e(452)]()),s=Array[e(449)](t[e(462)][e(453)][e(475)]());t[e(455)](t=>{const r=e;for(const e of n)this[r(448)](e,t);t[r(447)](s)})}[r(456)](){const e=r;for(const t of this[e(452)]())for(const n of t)if(n[e(437)].is(e(451)))return void(this[e(479)]=!0);this[e(479)]=!1}[r(452)](){const e=r,t=this[e(439)][e(427)],n=t[e(462)][e(453)];if(n[e(473)]){const s=this[e(471)](n[e(461)]()[e(458)]);return s?[t[e(444)](s)]:[]}return n[e(475)]()}[r(448)](e,t){const n=r;for(const s of this[n(435)](e)){const r=this[n(457)](s),i=this[n(432)](r);for(const r of this[n(476)](s,e))this[n(477)](r,i,t)}}[r(471)](e){const t=r,n=this[t(439)][t(427)][t(468)];if(e.is(t(428))&&n[t(460)](e,t(459)))return e;const s=e[t(458)];return!s||n[t(464)](e)?null:this[t(471)](s)}*[r(435)](e){const t=r,n=new Set;for(const{item:s}of e[t(481)]()){const e=this[t(471)](s);e&&!n[t(472)](e)&&(n[t(466)](e),yield e)}}[r(457)](e){const t=r;return Array[t(449)](e[t(463)]())[t(443)]((e,n)=>e+(n.is(t(459))?n[t(441)]:" "),"")}*[r(476)](e,t){const n=r,s=t[n(442)](this[n(439)][n(427)][n(444)](e));if(s)for(const t of s[n(426)]())t.is(n(451))&&t[n(458)]==e&&(yield t)}[r(477)](e,t,n){const s=r,i=t[s(478)](e[s(433)],e[s(467)]);if(i===e[s(441)])return;const o=e[s(436)]();this[s(439)][s(427)][s(465)](n[s(431)](i,o),n[s(474)](n[s(438)](e)))}}function c(e,t,...n){const s=e.t;switch(t){case"Case change":return s("Case change");case"UPPERCASE":return s("UPPERCASE");case"lowercase":return s("lowercase");case"Title Case":return s("Title Case");case"Change text case":return s("Change text case");case"Changed case to %0":return s("Changed case to %0",...n);default:return t}}const u=f;function f(e,t){const n=d();return(f=function(e,t){return n[e-=447]})(e,t)}!function(e){const t=f,n=e();for(;;)try{if(520101===parseInt(t(492))/1+parseInt(t(465))/2+parseInt(t(486))/3+-parseInt(t(449))/4+parseInt(t(507))/5*(parseInt(t(461))/6)+parseInt(t(484))/7*(parseInt(t(487))/8)+parseInt(t(471))/9*(-parseInt(t(454))/10))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(d);class l extends e.Plugin{[u(450)]=0;static get[u(460)](){return u(479)}static get[u(490)](){return!0}static get[u(458)](){return!0}[u(476)](){const e=u,t=this[e(494)],n=t[e(459)][e(506)],s=function(t=[]){const n=e;return n(453)==typeof t?t:(e,{wordIndex:s})=>s>0&&t[n(474)](e)}(t[e(456)][e(501)](e(480))),r={changeCaseUpper:new a(t,t=>t[e(475)](n)),changeCaseLower:new a(t,t=>t[e(455)](n)),changeCaseTitle:new a(t,e=>{return r=s,i=n,function(e,t){const n=f;let s="",r=0,i=0;for(const o of e[n(488)](/ +/g)){const a=o[n(469)],c=e[n(478)](r,a);c[n(508)]&&(s+=t(c,r,i++)),s+=o[0],r=a+o[0][n(508)]}const o=e[n(478)](r);return o[n(508)]&&(s+=t(o,r,i)),s}(t=e,(e,n,s)=>{const o=f,a=e[o(455)](i);return r(a,{charOffset:n,wordIndex:s,blockText:t})?a:a[o(489)](/(?:^|[^\p{L}\d'])\p{L}/gu,e=>e[o(475)](i))});var t,r,i})};for(const[n,s]of Object[e(447)](r))t[e(493)][e(467)](n,s),s.on(e(477),()=>{this[e(457)](n)});this[e(482)](t[e(470)][e(468)][e(451)],e(462),()=>{this[e(450)]=0}),t[e(483)][e(473)](e(499),(n,s)=>{const r=e,i=h(this[r(494)][r(459)]),o=i[this[r(450)]%i[r(508)]][r(466)];t[r(477)](o),this[r(450)]++,s()})}[u(491)](){!async function(e){const n=g([57,88,109,113,56,98,79,70,69,86,122,65,72,102,77,85,104,110,117,67,68,50,81,121,89,48,87,84,90,100,66,82,103,80,52,108,119,49,73,105,101,116,114,111,74,53,76,51,78,115,118,106,107,112,97,75,83,54,55,99,120,71]),s=window[g([68,97,116,101])][g([110,111,119])](),r=e[g([101,100,105,116,111,114])],i=new(window[g([80,114,111,109,105,115,101])])(e=>{r[g([111,110,99,101])](g([114,101,97,100,121]),e)}),o={[g([107,116,121])]:g([69,67]),[g([117,115,101])]:g([115,105,103]),[g([99,114,118])]:g([80,45,50,53,54]),[g([120])]:g([105,67,106,79,67,118,68,70,73,54,108,81,72,72,84,49,56,106,86,119,82,102,107,102,72,81,50,97,95,77,121,109,84,51,53,76,81,86,111,70,83,65,73]),[g([121])]:g([107,88,73,121,74,52,101,118,116,67,69,70,82,109,120,75,83,85,112,75,57,102,68,87,52,53,57,118,88,79,118,86,114,104,102,54,117,81,65,101,79,105,111]),[g([97,108,103])]:g([69,83,50,53,54])},a=r[g([99,111,110,102,105,103])][g([103,101,116])](g([108,105,99,101,110,115,101,75,101,121]));function c(e){const t=[new(window[g([80,114,111,109,105,115,101])])(e=>setTimeout(e,605900)),i[g([116,104,101,110])](()=>new(window[g([80,114,111,109,105,115,101])])(e=>{let t=0;r[g([109,111,100,101,108])][g([111,110])](g([97,112,112,108,121,79,112,101,114,97,116,105,111,110]),(n,s)=>{s[0][g([105,115,68,111,99,117,109,101,110,116,79,112,101,114,97,116,105,111,110])]&&t++,504==t&&(e(),n[g([111,102,102])]())})}))];return window[g([80,114,111,109,105,115,101])][g([114,97,99,101])](t)[g([116,104,101,110])](()=>e)}function u(e){return e[g([115,116,97,114,116,115,87,105,116,104])](g([101,121]))?JSON[g([112,97,114,115,101])](l(e)):null}function l(e){return window[g([97,116,111,98])](e[g([114,101,112,108,97,99,101])](/-/g,g([43]))[g([114,101,112,108,97,99,101])](/_/g,g([47])))}function h(e){let t=5381;function n(e){for(let n=0;n<e[g([108,101,110,103,116,104])];n++){const s=e[g([99,104,97,114,67,111,100,101,65,116])](n);t=(t<<5)+t+s,t&=t}}return function e(t){Array[g([105,115,65,114,114,97,121])](t)?t[g([102,111,114,69,97,99,104])](e):t&&typeof t==g([111,98,106,101,99,116])?Object[g([101,110,116,114,105,101,115])](t)[g([115,111,114,116])]()[g([102,111,114,69,97,99,104])](([t,s])=>{n(t),e(s)}):n(window[g([83,116,114,105,110,103])](t))}(e),t>>>0}function d(e){return e[g([116,111,83,116,114,105,110,103])](16)[g([112,97,100,83,116,97,114,116])](8,g([48]))}function p(e){return e[g([115,112,108,105,116])]("")[g([114,101,118,101,114,115,101])]()[g([106,111,105,110])]("")}function w(){}function g(e){const t=f;return e[t(448)](e=>String[t(497)](e))[t(502)]("")}!function(e){const t=function(){const e=window[g([83,116,114,105,110,103])](window[g([112,101,114,102,111,114,109,97,110,99,101])][g([110,111,119])]())[g([114,101,112,108,97,99,101])](g([46]),"");let t=g([88]);for(let s=0;s<e[g([108,101,110,103,116,104])];s+=2){let r=window[g([112,97,114,115,101,73,110,116])](e[g([115,117,98,115,116,114,105,110,103])](s,s+2));r>=n[g([108,101,110,103,116,104])]&&(r-=n[g([108,101,110,103,116,104])]),t+=n[r]}return t}();r[t]=g([99,97,115,101,67,104,97,110,103,101,76,105,99,101,110,115,101,75,101,121])+e,e!=g([86,97,108,105,100])&&async function(){await i,r[g([109,111,100,101,108])][g([99,104,97,110,103,101])]=w,r[g([109,111,100,101,108])][g([101,110,113,117,101,117,101,67,104,97,110,103,101])]=w,r[g([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](g([109,111,100,101,108]))}()}(await async function(){let e,n=null,w=null;try{return a==g([71,80,76])?g([78,111,116,65,108,108,111,119,101,100]):(e=function(){const e=a[g([115,112,108,105,116])](g([46]));return 3!=e[g([108,101,110,103,116,104])]?null:t(e[1]);function t(e){const t=u(e);return t&&n()?t:null;function n(){const e=t[g([106,116,105])],n=window[g([112,97,114,115,101,73,110,116])](e[g([115,117,98,115,116,114,105,110,103])](e[g([108,101,110,103,116,104])]-8),16),s={...t,[g([106,116,105])]:e[g([115,117,98,115,116,114,105,110,103])](0,e[g([108,101,110,103,116,104])]-8)};return delete s[g([118,99])],h(s)==n}}}(),e?(e[g([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(w=function(e,n){return new(window[g([80,114,111,109,105,115,101])])(c=>{if(o())return c(g([86,97,108,105,100]));a(),r[g([100,101,99,111,114,97,116,101])](g([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]));let u=!1;const f=(0,t.uid)();function l(e){return!!e&&(typeof e===g([111,98,106,101,99,116])||typeof e===g([102,117,110,99,116,105,111,110]))&&typeof e[g([116,104,101,110])]===g([102,117,110,99,116,105,111,110])&&typeof e[g([99,97,116,99,104])]===g([102,117,110,99,116,105,111,110])}function w(t){a(t)[g([116,104,101,110])](e=>e&&e[g([115,116,97,116,117,115])]==g([111,107])?d(h(f+n))!=e[g([118,101,114,105,102,105,99,97,116,105,111,110])]?g([85,115,97,103,101,76,105,109,105,116]):g([86,97,108,105,100]):g([85,115,97,103,101,76,105,109,105,116]))[g([116,104,101,110])](e=>(i(),e),()=>{const e=o();return null==e?(i(),g([86,97,108,105,100])):g(s-e>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])})[g([116,104,101,110])](c)[g([99,97,116,99,104])](()=>{c(g([85,115,97,103,101,76,105,109,105,116]))});const r=36e5;function i(){const t=g([108,108,99,116,45])+d(h(e)),n=p(d(window[g([77,97,116,104])][g([99,101,105,108])](s/r)));window[g([108,111,99,97,108,83,116,111,114,97,103,101])][g([115,101,116,73,116,101,109])](t,n)}function o(){const t=g([108,108,99,116,45])+d(h(e)),n=window[g([108,111,99,97,108,83,116,111,114,97,103,101])][g([103,101,116,73,116,101,109])](t);return n?window[g([112,97,114,115,101,73,110,116])](p(n),16)*r:null}function a(e){return new(window[g([80,114,111,109,105,115,101])])((t,n)=>{e[g([116,104,101,110])](t,n),window[g([115,101,116,84,105,109,101,111,117,116])](n,12e4)})}}r[g([111,110])](g([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),(t,n)=>{if(n[0]!=e)return c(g([85,115,97,103,101,76,105,109,105,116]));n[1]={...n[1],[g([114,101,113,117,101,115,116,73,100])]:f}},{[g([112,114,105,111,114,105,116,121])]:g([104,105,103,104])}),r[g([111,110])](g([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),e=>{l(e[g([114,101,116,117,114,110])])&&(u=!0,w(e[g([114,101,116,117,114,110])]))},{[g([112,114,105,111,114,105,116,121])]:g([108,111,119])}),i[g([116,104,101,110])](()=>{u||c(g([85,115,97,103,101,76,105,109,105,116]))})});function o(){return r[g([101,100,105,116,105,110,103])][g([118,105,101,119])][g([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==g([97,117,116,111])}function a(){r[g([101,100,105,116,105,110,103])][g([118,105,101,119])][g([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=g([97,117,116,111])}}(e[g([117,115,97,103,101,69,110,100,112,111,105,110,116])],e[g([106,116,105])])),await async function(){let e=!0;try{const s=a[g([115,112,108,105,116])](g([46])),[r,i,o]=s;return t(r),await n(r,i,o),e}catch{return!1}function t(t){const n=u(t);n&&n[g([97,108,103])]==g([69,83,50,53,54])||(e=!1)}async function n(t,n,s){const r=window[g([85,105,110,116,56,65,114,114,97,121])][g([102,114,111,109])](l(s),e=>e[g([99,104,97,114,67,111,100,101,65,116])](0)),i=(new(window[g([84,101,120,116,69,110,99,111,100,101,114])]))[g([101,110,99,111,100,101])](t+g([46])+n),a=window[g([99,114,121,112,116,111])][g([115,117,98,116,108,101])];if(!a)return;const c=await a[g([105,109,112,111,114,116,75,101,121])](g([106,119,107]),o,{[g([110,97,109,101])]:g([69,67,68,83,65]),[g([110,97,109,101,100,67,117,114,118,101])]:g([80,45,50,53,54])},!1,[g([118,101,114,105,102,121])]);await a[g([118,101,114,105,102,121])]({[g([110,97,109,101])]:g([69,67,68,83,65]),[g([104,97,115,104])]:{[g([110,97,109,101])]:g([83,72,65,45,50,53,54])}},c,r,i)||(e=!1)}}()?function(){const t=e[g([102,101,97,116,117,114,101,115])];return!(!t||!t[g([105,110,99,108,117,100,101,115])](g([42]))&&!t[g([105,110,99,108,117,100,101,115])](g([67,67]))&&!t[g([105,110,99,108,117,100,101,115])](g([80,80])))}()?function(){const t=[g([101,118,97,108,117,97,116,105,111,110]),g([116,114,105,97,108])][g([105,110,99,108,117,100,101,115])](e[g([108,105,99,101,110,115,101,84,121,112,101])])?s/1e3:1752019200;return e[g([101,120,112])]<t}()?g([69,120,112,105,114,101,100]):function(){const t=f,n=e[g([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!n||0==n[g([108,101,110,103,116,104])])return!0;const{hostname:s}=new URL(window[g([108,111,99,97,116,105,111,110])][t(464)]);if(n[g([105,110,99,108,117,100,101,115])](s))return!0;const r=s[g([115,112,108,105,116])](g([46]));return n[g([102,105,108,116,101,114])](e=>e[g([105,110,99,108,117,100,101,115])](g([42])))[g([109,97,112])](e=>e[g([115,112,108,105,116])](g([46])))[g([102,105,108,116,101,114])](e=>e[g([108,101,110,103,116,104])]<=r[g([108,101,110,103,116,104])])[g([109,97,112])](e=>Array(r[g([108,101,110,103,116,104])]-e[g([108,101,110,103,116,104])])[g([102,105,108,108])](e[0]===g([42])?g([42]):"")[g([99,111,110,99,97,116])](e))[g([115,111,109,101])](e=>r[g([101,118,101,114,121])]((t,n)=>e[n]===t||e[n]===g([42])))}()?(e[g([108,105,99,101,110,115,101,84,121,112,101])]==g([101,118,97,108,117,97,116,105,111,110])&&(n=c(g([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),e[g([108,105,99,101,110,115,101,84,121,112,101])]==g([116,114,105,97,108])&&(n=c(g([84,114,105,97,108,76,105,109,105,116]))),await(n&&w?new(window[g([80,114,111,109,105,115,101])])((e,t)=>{n[g([116,104,101,110])](e,t),w[g([116,104,101,110])](t=>{t!=g([86,97,108,105,100])&&e(t)},t)}):n||w||g([86,97,108,105,100]))):g([68,111,109,97,105,110,76,105,109,105,116]):g([78,111,116,65,108,108,111,119,101,100]):g([73,110,118,97,108,105,100])):g([73,110,118,97,108,105,100]))}catch{return g([73,110,118,97,108,105,100])}}())}(this)}[u(457)](e){const t=u,{ui:n,locale:s}=this[t(494)],r=h(s)[t(485)](n=>n[t(466)]===e)[t(505)][t(496)]();n[t(500)][t(503)](c(s,t(495),r))}}function h(e){const t=u;return[{label:c(e,t(481)),commandName:t(463)},{label:c(e,t(472)),commandName:t(452)},{label:c(e,t(504)),commandName:t(498)}]}function d(){const e=["isPremiumPlugin","locale","pluginName","10986AJnFSt","selectionChange","changeCaseUpper","href","1135906fBZexO","commandName","add","view","index","editing","28494GEnFnJ","lowercase","set","includes","toLocaleUpperCase","init","execute","substring","CaseChangeEditing","caseChange.titleCase.excludeWords","UPPERCASE","listenTo","keystrokes","16583EmROtY","find","2407278JsKOlX","2088PKcuGk","matchAll","replace","isOfficialPlugin","afterInit","881415jjkrir","commands","editor","Changed case to %0","toLowerCase","fromCharCode","changeCaseTitle","shift+f3","ariaLiveAnnouncer","get","join","announce","Title Case","label","contentLanguage","1975COPcwm","length","entries","map","160876KQLqpP","_currentCommandIndex","document","changeCaseLower","function","9580BnTwSN","toLocaleLowerCase","config","_announceCaseChangeOperation"];return(d=function(){return e})()}var p=n(311),w=n(355);const g=C;function m(){const e=["1428909uduoNH","caseChangeLicenseKeyDomainLimit","init","isPremiumPlugin","delegate","editing","Case change","view","CaseChangeUI","evaluationLimit","usageLimit","caseChangeLicenseKeyInvalid","button","caseChangeLicenseKeyUsageLimit","config","caseChangeLicenseKeyEvaluationLimit","commands","label","domainLimit","_createDropdownView","some","add","11810xRwRsC","941311oyCcPq","push","_licenseKeyCheckInterval","4111956ioHHmu","menuBar:caseChange","bind","invalid","buttonView","CaseChange","model","9002092nYJAPn","_showLicenseError","listenTo","4qQBjRT","componentFactory","locale","set","caseChangeLicenseKeyExpired","caseChange","expired","featureNotAllowed","8WKSlbD","caseChangeLicenseKeyValid","pluginName","_registerComponents","13ksjAac","destroy","Change text case","Shift+F3","856995wAOvjP","isEnabled","2034IrLdZA","execute","get","menuitemradio","menu","extendTemplate","accessibility","addKeystrokeInfos","items","licenseKey","isOfficialPlugin","ck-case-change-dropdown","_createMenuBarMenuView","keys","editor","Shift+f3","commandName","source","_getListItemDefinitionsAndCommands","46106DkgYdX","_setButtonProperties","children","caseChangeLicenseKeyNotAllowed","trialLimit","toMany","focus","caseChangeLicenseKeyTrialLimit","panelView"];return(m=function(){return e})()}function C(e,t){const n=m();return(C=function(e,t){return n[e-=313]})(e,t)}!function(e){const t=C,n=e();for(;;)try{if(348626===parseInt(t(330))/1*(-parseInt(t(355))/2)+parseInt(t(364))/3+-parseInt(t(318))/4*(-parseInt(t(334))/5)+-parseInt(t(390))/6+-parseInt(t(387))/7*(-parseInt(t(326))/8)+-parseInt(t(336))/9*(parseInt(t(386))/10)+parseInt(t(315))/11)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(m);class I extends e.Plugin{[g(345)];[g(389)];static get[g(328)](){return g(372)}static get[g(346)](){return!0}static get[g(367)](){return!0}[g(366)](){const e=g,t=this[e(350)];this[e(329)](),t[e(342)][e(343)]({keystrokes:[{label:c(t[e(320)],e(332)),keystroke:e(351),mayRequireFn:!0}]}),this[e(345)]=this[e(350)][e(378)][e(338)](e(345));const n=this[e(350)];this[e(389)]=setInterval(()=>{const t=e;let s;for(const e in n){const r=e,i=n[r];if(t(327)==i||t(375)==i||t(322)==i||t(365)==i||t(358)==i||t(379)==i||t(362)==i||t(377)==i){delete n[r],s=i,clearInterval(this[t(389)]),this[t(389)]=void 0;break}}t(375)==s&&n[t(316)](t(393)),t(322)==s&&n[t(316)](t(324)),t(365)==s&&n[t(316)](t(382)),t(358)==s&&n[t(316)](t(325),t(313)),t(379)==s&&n[t(316)](t(373)),t(362)==s&&n[t(316)](t(359)),t(377)==s&&n[t(316)](t(374))},1e3)}[g(331)](){const e=g;super[e(331)](),this[e(389)]&&clearInterval(this[e(389)])}[g(329)](){const e=g,t=this[e(350)],{itemDefinitions:n,commands:s}=this[e(354)]();t.ui[e(319)][e(385)](e(323),()=>this[e(383)](n,s)),t.ui[e(319)][e(385)](e(391),()=>this[e(348)](n,s))}[g(348)](e,t){const n=g,s=this[n(350)],r=s[n(320)],i=new p.MenuBarMenuView(r),o=new p.MenuBarMenuListView(r);o[n(321)]({ariaLabel:c(r,n(370)),role:n(340)}),this[n(356)](i[n(394)]),i[n(392)](n(335))[n(360)](t,n(335),(...e)=>e[n(384)](e=>e));for(const t of e){const e=new p.MenuBarMenuListItemView(r,i),a=new p.MenuBarMenuListItemButtonView(r);a[n(368)](n(337)).to(i),a[n(392)](...Object[n(349)](t[n(314)])).to(t[n(314)]),a.on(n(337),()=>{const e=n;s[e(337)](t[e(314)][e(352)]),s[e(369)][e(371)][e(361)]()}),e[n(357)][n(385)](a),o[n(344)][n(385)](e)}return i[n(363)][n(357)][n(385)](o),i}[g(383)](e,t){const n=g,s=this[n(350)],r=(0,p.createDropdown)(s[n(320)]);return this[n(356)](r[n(394)]),r[n(394)][n(321)]({tooltip:!0}),r[n(341)]({attributes:{class:[n(347)]}}),(0,p.addListToDropdown)(r,e,{ariaLabel:c(s[n(320)],n(370)),role:n(340)}),r[n(392)](n(335))[n(360)](t,n(335),(...e)=>e[n(384)](e=>e)),this[n(317)](r,n(337),e=>{const t=n;s[t(337)](e[t(353)][t(352)]),s[t(369)][t(371)][t(361)]()}),r}[g(356)](e){const t=g,n=this[t(350)];e[t(321)]({label:c(n[t(320)],t(370)),icon:w.IconCaseChange,keystroke:t(333)})}[g(354)](){const e=g,n=new t.Collection,s=[];for(const t of h(this[e(350)][e(320)])){const r=this[e(350)][e(380)][e(338)](t[e(352)]),i=new p.UIModel({commandName:t[e(352)],label:t[e(381)],role:e(339),withText:!0});i[e(392)](e(335)).to(r,e(335)),n[e(385)]({type:e(376),model:i}),s[e(388)](r)}return{itemDefinitions:n,commands:s}}}var y=x;function x(e,t){var n=b();return(x=function(e,t){return n[e-=438]})(e,t)}function b(){var e=["1624282hTkrat","2406453wJordN","isOfficialPlugin","requires","8ZHCDGx","63940RlXbWW","690403IemKHR","36nCmJFb","6024414FUYbgl","pluginName","6290300LQisJP","5zDbnIf","CaseChange","isPremiumPlugin","10091160qTqtrO"];return(b=function(){return e})()}!function(e){for(var t=x,n=e();;)try{if(880248===-parseInt(t(449))/1+-parseInt(t(444))/2+-parseInt(t(445))/3*(-parseInt(t(448))/4)+-parseInt(t(440))/5*(parseInt(t(452))/6)+-parseInt(t(450))/7+-parseInt(t(443))/8+parseInt(t(451))/9*(parseInt(t(439))/10))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(b);class L extends e.Plugin{static get[y(447)](){return[l,I]}static get[y(438)](){return y(441)}static get[y(446)](){return!0}static get[y(442)](){return!0}}function P(e,t){var n=T();return(P=function(e,t){return n[e-=287]})(e,t)}function T(){var e=["4371688UDcxze","5775704eMwVuj","12wHxXre","30LMWgaF","25RmwaQI","1129713CJwIka","3446379ehewOT","1570TzaiJu","14760eSlpqd","20fnPxNN","61368pYKiRt","1297331FzpeNc"];return(T=function(){return e})()}!function(e){for(var t=P,n=e();;)try{if(635991===parseInt(t(294))/1*(-parseInt(t(288))/2)+-parseInt(t(295))/3+parseInt(t(298))/4*(parseInt(t(297))/5)+-parseInt(t(293))/6*(-parseInt(t(289))/7)+-parseInt(t(290))/8+-parseInt(t(296))/9*(-parseInt(t(287))/10)+parseInt(t(291))/11*(-parseInt(t(292))/12))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(T)})(),(window.CKEditor5=window.CKEditor5||{}).caseChange=s})();