@ckeditor/ckeditor5-find-and-replace 34.1.0 → 35.0.1
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/CHANGELOG.md +4 -0
- package/LICENSE.md +4 -0
- package/build/find-and-replace.js +1 -1
- package/build/translations/ar.js +1 -0
- package/build/translations/bg.js +1 -0
- package/build/translations/bn.js +1 -0
- package/build/translations/ca.js +1 -0
- package/build/translations/da.js +1 -1
- package/build/translations/et.js +1 -0
- package/build/translations/fi.js +1 -0
- package/build/translations/fr.js +1 -0
- package/build/translations/he.js +1 -0
- package/build/translations/hi.js +1 -0
- package/build/translations/id.js +1 -1
- package/build/translations/ja.js +1 -0
- package/build/translations/ko.js +1 -0
- package/build/translations/lt.js +1 -0
- package/build/translations/ms.js +1 -0
- package/build/translations/no.js +1 -1
- package/build/translations/pt.js +1 -0
- package/build/translations/ro.js +1 -0
- package/build/translations/ru.js +1 -1
- package/build/translations/sv.js +1 -0
- package/build/translations/th.js +1 -0
- package/build/translations/tr.js +1 -0
- package/build/translations/uk.js +1 -0
- package/build/translations/vi.js +1 -0
- package/build/translations/zh.js +1 -1
- package/lang/translations/ar.po +69 -0
- package/lang/translations/bg.po +69 -0
- package/lang/translations/bn.po +69 -0
- package/lang/translations/ca.po +69 -0
- package/lang/translations/da.po +8 -8
- package/lang/translations/es.po +1 -1
- package/lang/translations/et.po +69 -0
- package/lang/translations/fi.po +69 -0
- package/lang/translations/fr.po +69 -0
- package/lang/translations/he.po +69 -0
- package/lang/translations/hi.po +69 -0
- package/lang/translations/id.po +2 -2
- package/lang/translations/it.po +1 -1
- package/lang/translations/ja.po +69 -0
- package/lang/translations/ko.po +69 -0
- package/lang/translations/lt.po +69 -0
- package/lang/translations/ms.po +69 -0
- package/lang/translations/no.po +6 -6
- package/lang/translations/pt-br.po +1 -1
- package/lang/translations/pt.po +69 -0
- package/lang/translations/ro.po +69 -0
- package/lang/translations/ru.po +3 -3
- package/lang/translations/sv.po +69 -0
- package/lang/translations/th.po +69 -0
- package/lang/translations/tr.po +69 -0
- package/lang/translations/uk.po +69 -0
- package/lang/translations/vi.po +69 -0
- package/lang/translations/zh.po +1 -1
- package/package.json +21 -20
package/CHANGELOG.md
ADDED
package/LICENSE.md
CHANGED
|
@@ -11,6 +11,10 @@ Sources of Intellectual Property Included in CKEditor
|
|
|
11
11
|
|
|
12
12
|
Where not otherwise indicated, all CKEditor content is authored by CKSource engineers and consists of CKSource-owned intellectual property. In some specific instances, CKEditor will incorporate work done by developers outside of CKSource with their express permission.
|
|
13
13
|
|
|
14
|
+
The following libraries are included in CKEditor under the [MIT license](https://opensource.org/licenses/MIT):
|
|
15
|
+
|
|
16
|
+
* lodash - Copyright (c) JS Foundation and other contributors https://js.foundation/. Based on Underscore.js, copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors http://underscorejs.org/.
|
|
17
|
+
|
|
14
18
|
Trademarks
|
|
15
19
|
----------
|
|
16
20
|
|
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
/*!
|
|
3
3
|
* @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
|
|
4
4
|
* For licensing, see LICENSE.md.
|
|
5
|
-
*/(()=>{var e={299:(e,t,i)=>{"use strict";i.d(t,{Z:()=>s});var n=i(609),r=i.n(n)()((function(e){return e[1]}));r.push([e.id,".ck-find-result{background:#ff0;color:var(--ck-color-text)}.ck-find-result_selected{background:#ff9633}",""]);const s=r},226:(e,t,i)=>{"use strict";i.d(t,{Z:()=>s});var n=i(609),r=i.n(n)()((function(e){return e[1]}));r.push([e.id,".ck.ck-find-and-replace-form{max-width:100%}.ck.ck-find-and-replace-form fieldset{display:flex}.ck.ck-find-and-replace-form fieldset.ck-find-and-replace-form__find .ck-results-counter{position:absolute}.ck.ck-find-and-replace-form{width:400px}.ck.ck-find-and-replace-form:focus{outline:none}.ck.ck-find-and-replace-form fieldset{align-content:stretch;align-items:center;border:0;flex-direction:row;flex-wrap:nowrap;margin:0;padding:var(--ck-spacing-large)}.ck.ck-find-and-replace-form fieldset>.ck-button{flex:0 0 auto}[dir=ltr] .ck.ck-find-and-replace-form fieldset>*+*{margin-left:var(--ck-spacing-standard)}[dir=rtl] .ck.ck-find-and-replace-form fieldset>*+*{margin-right:var(--ck-spacing-standard)}.ck.ck-find-and-replace-form fieldset .ck-labeled-field-view{flex:1 1 auto}.ck.ck-find-and-replace-form fieldset .ck-labeled-field-view .ck-input{min-width:50px;width:100%}.ck.ck-find-and-replace-form fieldset.ck-find-and-replace-form__find{align-items:flex-start}.ck.ck-find-and-replace-form fieldset.ck-find-and-replace-form__find>.ck-button-find{font-weight:700}.ck.ck-find-and-replace-form fieldset.ck-find-and-replace-form__find>.ck-button-find .ck-button__label{padding-left:var(--ck-spacing-large);padding-right:var(--ck-spacing-large)}.ck.ck-find-and-replace-form fieldset.ck-find-and-replace-form__find>.ck-button-prev>.ck-icon{transform:rotate(90deg)}.ck.ck-find-and-replace-form fieldset.ck-find-and-replace-form__find>.ck-button-next>.ck-icon{transform:rotate(-90deg)}.ck.ck-find-and-replace-form fieldset.ck-find-and-replace-form__find .ck-results-counter{top:50%;transform:translateY(-50%)}[dir=ltr] .ck.ck-find-and-replace-form fieldset.ck-find-and-replace-form__find .ck-results-counter{right:var(--ck-spacing-standard)}[dir=rtl] .ck.ck-find-and-replace-form fieldset.ck-find-and-replace-form__find .ck-results-counter{left:var(--ck-spacing-standard)}.ck.ck-find-and-replace-form fieldset.ck-find-and-replace-form__find .ck-results-counter{color:var(--ck-color-base-border)}.ck.ck-find-and-replace-form fieldset.ck-find-and-replace-form__replace{flex-wrap:wrap;justify-content:flex-end;margin-top:calc(var(--ck-spacing-large)*-1)}.ck.ck-find-and-replace-form fieldset.ck-find-and-replace-form__replace>.ck-labeled-field-view{margin-bottom:var(--ck-spacing-large)}.ck.ck-find-and-replace-form fieldset.ck-find-and-replace-form__replace>.ck-options-dropdown{margin-left:0;margin-right:auto}.ck.ck-find-and-replace-form fieldset.ck-find-and-replace-form__replace>.ck-labeled-field-view,.ck.ck-find-and-replace-form fieldset.ck-find-and-replace-form__replace>.ck-labeled-field-view .ck-input{width:100%}@media screen and (max-width:600px){.ck.ck-find-and-replace-form{width:300px}.ck.ck-find-and-replace-form fieldset{flex-wrap:wrap}.ck.ck-find-and-replace-form fieldset.ck-find-and-replace-form__find .ck-labeled-field-view{flex:1 0 auto;margin-bottom:var(--ck-spacing-standard);width:100%}.ck.ck-find-and-replace-form fieldset.ck-find-and-replace-form__find>.ck-button{text-align:center}.ck.ck-find-and-replace-form fieldset.ck-find-and-replace-form__find>.ck-button:first-of-type{flex:1 1 auto}[dir=ltr] .ck.ck-find-and-replace-form fieldset.ck-find-and-replace-form__find>.ck-button:first-of-type{margin-left:0}[dir=rtl] .ck.ck-find-and-replace-form fieldset.ck-find-and-replace-form__find>.ck-button:first-of-type{margin-right:0}.ck.ck-find-and-replace-form fieldset.ck-find-and-replace-form__find>.ck-button:first-of-type .ck-button__label{text-align:center;width:100%}.ck.ck-find-and-replace-form fieldset.ck-find-and-replace-form__replace>:not(.ck-labeled-field-view){flex:1 1 auto}.ck.ck-find-and-replace-form fieldset.ck-find-and-replace-form__replace>.ck-dropdown:not(.ck-labeled-field-view){flex-grow:0}.ck.ck-find-and-replace-form fieldset.ck-find-and-replace-form__replace>.ck-button:not(.ck-labeled-field-view)>.ck-button__label{text-align:center;width:100%}}",""]);const s=r},764:(e,t,i)=>{"use strict";i.d(t,{Z:()=>s});var n=i(609),r=i.n(n)()((function(e){return e[1]}));r.push([e.id,'.ck-vertical-form .ck-button:after{bottom:var(--ck-spacing-small);content:"";position:absolute;right:-1px;top:var(--ck-spacing-small);width:0;z-index:1}@media screen and (max-width:600px){.ck.ck-responsive-form .ck-button:after{bottom:var(--ck-spacing-small);content:"";position:absolute;right:-1px;top:var(--ck-spacing-small);width:0;z-index:1}}.ck-vertical-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form{padding:var(--ck-spacing-large)}.ck.ck-responsive-form:focus{outline:none}[dir=ltr] .ck.ck-responsive-form>:not(:first-child),[dir=rtl] .ck.ck-responsive-form>:not(:last-child){margin-left:var(--ck-spacing-standard)}@media screen and (max-width:600px){.ck.ck-responsive-form{padding:0;width:calc(var(--ck-input-width)*.8)}.ck.ck-responsive-form .ck-labeled-field-view{margin:var(--ck-spacing-large) var(--ck-spacing-large) 0}.ck.ck-responsive-form .ck-labeled-field-view .ck-input-text{min-width:0;width:100%}.ck.ck-responsive-form .ck-labeled-field-view .ck-labeled-field-view__error{white-space:normal}.ck.ck-responsive-form>.ck-button:last-child,.ck.ck-responsive-form>.ck-button:nth-last-child(2){border:0;border-radius:0;border-top:1px solid var(--ck-color-base-border);margin-top:var(--ck-spacing-large);padding:var(--ck-spacing-standard)}[dir=ltr] .ck.ck-responsive-form>.ck-button:last-child,[dir=ltr] .ck.ck-responsive-form>.ck-button:nth-last-child(2),[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2){margin-left:0}.ck.ck-responsive-form>.ck-button:nth-last-child(2):after,[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child:last-of-type,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2):last-of-type{border-right:1px solid var(--ck-color-base-border)}}',""]);const s=r},609:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var i=e(t);return t[2]?"@media ".concat(t[2]," {").concat(i,"}"):i})).join("")},t.i=function(e,i,n){"string"==typeof e&&(e=[[null,e,""]]);var r={};if(n)for(var s=0;s<this.length;s++){var o=this[s][0];null!=o&&(r[o]=!0)}for(var a=0;a<e.length;a++){var c=[].concat(e[a]);n&&r[c[0]]||(i&&(c[2]?c[2]="".concat(i," and ").concat(c[2]):c[2]=i),t.push(c))}},t}},62:(e,t,i)=>{"use strict";var n,r=function(){return void 0===n&&(n=Boolean(window&&document&&document.all&&!window.atob)),n},s=function(){var e={};return function(t){if(void 0===e[t]){var i=document.querySelector(t);if(window.HTMLIFrameElement&&i instanceof window.HTMLIFrameElement)try{i=i.contentDocument.head}catch(e){i=null}e[t]=i}return e[t]}}(),o=[];function a(e){for(var t=-1,i=0;i<o.length;i++)if(o[i].identifier===e){t=i;break}return t}function c(e,t){for(var i={},n=[],r=0;r<e.length;r++){var s=e[r],c=t.base?s[0]+t.base:s[0],l=i[c]||0,d="".concat(c," ").concat(l);i[c]=l+1;var h=a(d),f={css:s[1],media:s[2],sourceMap:s[3]};-1!==h?(o[h].references++,o[h].updater(f)):o.push({identifier:d,updater:g(f,t),references:1}),n.push(d)}return n}function l(e){var t=document.createElement("style"),n=e.attributes||{};if(void 0===n.nonce){var r=i.nc;r&&(n.nonce=r)}if(Object.keys(n).forEach((function(e){t.setAttribute(e,n[e])})),"function"==typeof e.insert)e.insert(t);else{var o=s(e.insert||"head");if(!o)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");o.appendChild(t)}return t}var d,h=(d=[],function(e,t){return d[e]=t,d.filter(Boolean).join("\n")});function f(e,t,i,n){var r=i?"":n.media?"@media ".concat(n.media," {").concat(n.css,"}"):n.css;if(e.styleSheet)e.styleSheet.cssText=h(t,r);else{var s=document.createTextNode(r),o=e.childNodes;o[t]&&e.removeChild(o[t]),o.length?e.insertBefore(s,o[t]):e.appendChild(s)}}function u(e,t,i){var n=i.css,r=i.media,s=i.sourceMap;if(r?e.setAttribute("media",r):e.removeAttribute("media"),s&&"undefined"!=typeof btoa&&(n+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(s))))," */")),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}var p=null,m=0;function g(e,t){var i,n,r;if(t.singleton){var s=m++;i=p||(p=l(t)),n=f.bind(null,i,s,!1),r=f.bind(null,i,s,!0)}else i=l(t),n=u.bind(null,i,t),r=function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(i)};return n(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;n(e=t)}else r()}}e.exports=function(e,t){(t=t||{}).singleton||"boolean"==typeof t.singleton||(t.singleton=r());var i=c(e=e||[],t);return function(e){if(e=e||[],"[object Array]"===Object.prototype.toString.call(e)){for(var n=0;n<i.length;n++){var r=a(i[n]);o[r].references--}for(var s=c(e,t),l=0;l<i.length;l++){var d=a(i[l]);0===o[d].references&&(o[d].updater(),o.splice(d,1))}i=s}}}},704:(e,t,i)=>{e.exports=i(79)("./src/core.js")},273:(e,t,i)=>{e.exports=i(79)("./src/ui.js")},209:(e,t,i)=>{e.exports=i(79)("./src/utils.js")},79:e=>{"use strict";e.exports=CKEditor5.dll}},t={};function i(n){var r=t[n];if(void 0!==r)return r.exports;var s=t[n]={id:n,exports:{}};return e[n](s,s.exports,i),s.exports}i.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return i.d(t,{a:t}),t},i.d=(e,t)=>{for(var n in t)i.o(t,n)&&!i.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.nc=void 0;var n={};(()=>{"use strict";i.r(n),i.d(n,{FindAndReplace:()=>je});var e=i(704),t=i(273),r=i(209),s=i(62),o=i.n(s),a=i(764),c={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};o()(a.Z,c);a.Z.locals;var l=i(226),d={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};o()(l.Z,d);l.Z.locals;const h='<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M11.463 5.187a.888.888 0 1 1 1.254 1.255L9.16 10l3.557 3.557a.888.888 0 1 1-1.254 1.255L7.26 10.61a.888.888 0 0 1 .16-1.382l4.043-4.042z"/></svg>';class f extends t.View{constructor(e){super(e);const i=e.t;this.set("matchCount",0),this.set("highlightOffset",0),this.set("isDirty",!1),this.set("_areCommandsEnabled",{}),this.set("_resultsCounterText",""),this.set("_matchCase",!1),this.set("_wholeWordsOnly",!1),this.bind("_searchResultsFound").to(this,"matchCount",this,"isDirty",((e,t)=>e>0&&!t)),this._findInputView=this._createInputField(i("Find in text…")),this._replaceInputView=this._createInputField(i("Replace with…")),this._findButtonView=this._createButton({label:i("Find"),class:"ck-button-find ck-button-action",withText:!0}),this._findPrevButtonView=this._createButton({label:i("Previous result"),class:"ck-button-prev",icon:h,keystroke:"Shift+F3",tooltip:!0}),this._findNextButtonView=this._createButton({label:i("Next result"),class:"ck-button-next",icon:h,keystroke:"F3",tooltip:!0}),this._optionsDropdown=this._createOptionsDropdown(),this._replaceButtonView=this._createButton({label:i("Replace"),class:"ck-button-replace",withText:!0}),this._replaceAllButtonView=this._createButton({label:i("Replace all"),class:"ck-button-replaceall",withText:!0}),this._findFieldsetView=this._createFindFieldset(),this._replaceFieldsetView=this._createReplaceFieldset(),this._focusTracker=new r.FocusTracker,this._keystrokes=new r.KeystrokeHandler,this._focusables=new t.ViewCollection,this._focusCycler=new t.FocusCycler({focusables:this._focusables,focusTracker:this._focusTracker,keystrokeHandler:this._keystrokes,actions:{focusPrevious:"shift + tab",focusNext:"tab"}}),this.setTemplate({tag:"form",attributes:{class:["ck","ck-find-and-replace-form"],tabindex:"-1"},children:[new t.FormHeaderView(e,{label:i("Find and replace")}),this._findFieldsetView,this._replaceFieldsetView]}),(0,t.injectCssTransitionDisabler)(this)}render(){super.render(),(0,t.submitHandler)({view:this}),this._initFocusCycling(),this._initKeystrokeHandling()}destroy(){super.destroy(),this._focusTracker.destroy(),this._keystrokes.destroy()}focus(){this._focusCycler.focusFirst()}reset(){this._findInputView.errorText=null,this.isDirty=!0}get _textToFind(){return this._findInputView.fieldView.element.value}get _textToReplace(){return this._replaceInputView.fieldView.element.value}_createFindFieldset(){const e=this.locale,i=new t.View(e);return this._findInputView.fieldView.on("input",(()=>{this.isDirty=!0})),this._findButtonView.on("execute",this._onFindButtonExecute.bind(this)),this._findPrevButtonView.delegate("execute").to(this,"findPrevious"),this._findNextButtonView.delegate("execute").to(this,"findNext"),this._findPrevButtonView.bind("isEnabled").to(this,"_areCommandsEnabled",(({findPrevious:e})=>e)),this._findNextButtonView.bind("isEnabled").to(this,"_areCommandsEnabled",(({findNext:e})=>e)),this._injectFindResultsCounter(),i.setTemplate({tag:"fieldset",attributes:{class:["ck","ck-find-and-replace-form__find"]},children:[this._findInputView,this._findButtonView,this._findPrevButtonView,this._findNextButtonView]}),i}_onFindButtonExecute(){if(this._textToFind)this.isDirty=!1,this.fire("findNext",{searchText:this._textToFind,matchCase:this._matchCase,wholeWords:this._wholeWordsOnly});else{const e=this.t;this._findInputView.errorText=e("Text to find must not be empty.")}}_injectFindResultsCounter(){const e=this.locale,i=e.t,n=this.bindTemplate,s=new t.View(e);this.bind("_resultsCounterText").to(this,"highlightOffset",this,"matchCount",((e,t)=>i("%0 of %1",[e,t]))),s.setTemplate({tag:"span",attributes:{class:["ck","ck-results-counter",n.if("isDirty","ck-hidden")]},children:[{text:n.to("_resultsCounterText")}]});const o=()=>{const t=this._findInputView.fieldView.element;if(!t||!(0,r.isVisible)(t))return;const i=new r.Rect(s.element).width,n="ltr"===e.uiLanguageDirection?"paddingRight":"paddingLeft";t.style[n]=i?`calc( 2 * var(--ck-spacing-standard) + ${i}px )`:null};this.on("change:_resultsCounterText",o,{priority:"low"}),this.on("change:isDirty",o,{priority:"low"}),this._findInputView.template.children[0].children.push(s)}_createReplaceFieldset(){const e=this.locale,i=e.t,n=new t.View(e);return this._replaceButtonView.bind("isEnabled").to(this,"_areCommandsEnabled",this,"_searchResultsFound",(({replace:e},t)=>e&&t)),this._replaceAllButtonView.bind("isEnabled").to(this,"_areCommandsEnabled",this,"_searchResultsFound",(({replaceAll:e},t)=>e&&t)),this._replaceInputView.bind("isEnabled").to(this,"_areCommandsEnabled",this,"_searchResultsFound",(({replace:e},t)=>e&&t)),this._replaceInputView.bind("infoText").to(this._replaceInputView,"isEnabled",this._replaceInputView,"isFocused",((e,t)=>e||!t?"":i("Tip: Find some text first in order to replace it."))),this._replaceButtonView.on("execute",(()=>{this.fire("replace",{searchText:this._textToFind,replaceText:this._textToReplace})})),this._replaceAllButtonView.on("execute",(()=>{this.fire("replaceAll",{searchText:this._textToFind,replaceText:this._textToReplace}),this.focus()})),n.setTemplate({tag:"fieldset",attributes:{class:["ck","ck-find-and-replace-form__replace"]},children:[this._replaceInputView,this._optionsDropdown,this._replaceButtonView,this._replaceAllButtonView]}),n}_createOptionsDropdown(){const i=this.locale,n=i.t,s=(0,t.createDropdown)(i);s.class="ck-options-dropdown",s.buttonView.set({withText:!1,label:n("Show options"),icon:e.icons.cog,tooltip:!0});const o=new t.Model({withText:!0,label:n("Match case"),_isMatchCaseSwitch:!0}),a=new t.Model({withText:!0,label:n("Whole words only")});return o.bind("isOn").to(this,"_matchCase"),a.bind("isOn").to(this,"_wholeWordsOnly"),s.on("execute",(e=>{e.source._isMatchCaseSwitch?this._matchCase=!this._matchCase:this._wholeWordsOnly=!this._wholeWordsOnly,this.isDirty=!0})),(0,t.addListToDropdown)(s,new r.Collection([{type:"switchbutton",model:o},{type:"switchbutton",model:a}])),s}_initFocusCycling(){[this._findInputView,this._findButtonView,this._findPrevButtonView,this._findNextButtonView,this._replaceInputView,this._optionsDropdown,this._replaceButtonView,this._replaceAllButtonView].forEach((e=>{this._focusables.add(e),this._focusTracker.add(e.element)}))}_initKeystrokeHandling(){const e=e=>e.stopPropagation(),t=e=>{e.stopPropagation(),e.preventDefault()};this._keystrokes.listenTo(this.element),this._keystrokes.set("f3",(e=>{t(e),this._findNextButtonView.fire("execute")})),this._keystrokes.set("shift+f3",(e=>{t(e),this._findPrevButtonView.fire("execute")})),this._keystrokes.set("enter",(e=>{const i=e.target;i===this._findInputView.fieldView.element?(this._areCommandsEnabled.findNext?this._findNextButtonView.fire("execute"):this._findButtonView.fire("execute"),t(e)):i!==this._replaceInputView.fieldView.element||this.isDirty||(this._replaceButtonView.fire("execute"),t(e))})),this._keystrokes.set("shift+enter",(e=>{e.target===this._findInputView.fieldView.element&&(this._areCommandsEnabled.findPrevious?this._findPrevButtonView.fire("execute"):this._findButtonView.fire("execute"),t(e))})),this._keystrokes.set("arrowright",e),this._keystrokes.set("arrowleft",e),this._keystrokes.set("arrowup",e),this._keystrokes.set("arrowdown",e),this.listenTo(this._findInputView.element,"selectstart",((e,t)=>{t.stopPropagation()}),{priority:"high"}),this.listenTo(this._replaceInputView.element,"selectstart",((e,t)=>{t.stopPropagation()}),{priority:"high"})}_createButton(e){const i=new t.ButtonView(this.locale);return i.set(e),i}_createInputField(e){const i=new t.LabeledFieldView(this.locale,t.createLabeledInputText);return i.label=e,i}}class u extends e.Plugin{static get pluginName(){return"FindAndReplaceUI"}constructor(e){super(e),this.formView=null}init(){const e=this.editor;e.ui.componentFactory.add("findAndReplace",(i=>{const n=(0,t.createDropdown)(i),r=this.formView=new f(e.locale);return n.bind("isEnabled").to(e.commands.get("find")),n.panelView.children.add(r),n.on("change:isOpen",((e,t,i)=>{i?(r.disableCssTransitions(),r.reset(),r._findInputView.fieldView.select(),r.focus(),r.enableCssTransitions()):(r.focus(),this.fire("searchReseted"))}),{priority:"low"}),this._setupDropdownButton(n),this._setupFormView(r),n}))}_setupDropdownButton(e){const t=this.editor,i=t.locale.t;e.buttonView.set({icon:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="m12.87 13.786 1.532-1.286 3.857 4.596a1 1 0 1 1-1.532 1.286l-3.857-4.596z"/><path d="M16.004 8.5a6.5 6.5 0 0 1-9.216 5.905c-1.154-.53-.863-1.415-.663-1.615.194-.194.564-.592 1.635-.141a4.5 4.5 0 0 0 5.89-5.904l-.104-.227 1.332-1.331c.045-.046.196-.041.224.007a6.47 6.47 0 0 1 .902 3.306zm-3.4-5.715c.562.305.742 1.106.354 1.494-.388.388-.995.414-1.476.178a4.5 4.5 0 0 0-6.086 5.882l.114.236-1.348 1.349c-.038.037-.17.022-.198-.023a6.5 6.5 0 0 1 5.54-9.9 6.469 6.469 0 0 1 3.1.784z"/><path d="M4.001 11.93.948 8.877a.2.2 0 0 1 .141-.341h6.106a.2.2 0 0 1 .141.341L4.283 11.93a.2.2 0 0 1-.282 0zm11.083-6.789 3.053 3.053a.2.2 0 0 1-.14.342H11.89a.2.2 0 0 1-.14-.342l3.052-3.053a.2.2 0 0 1 .282 0z"/></svg>',label:i("Find and replace"),keystroke:"CTRL+F",tooltip:!0}),t.keystrokes.set("Ctrl+F",((t,i)=>{e.isOpen=!0,i()}))}_setupFormView(e){const t=this.editor.commands,i=this.editor.plugins.get("FindAndReplaceEditing").state,n={before:-1,same:0,after:1};e.bind("highlightOffset").to(i,"highlightedResult",(e=>e?Array.from(i.results).sort(((e,t)=>n[e.marker.getStart().compareWith(t.marker.getStart())])).indexOf(e)+1:0)),e.listenTo(i.results,"change",(()=>{e.matchCount=i.results.length})),e.bind("_areCommandsEnabled").to(t.get("findNext"),"isEnabled",t.get("findPrevious"),"isEnabled",t.get("replace"),"isEnabled",t.get("replaceAll"),"isEnabled",((e,t,i,n)=>({findNext:e,findPrevious:t,replace:i,replaceAll:n}))),e.delegate("findNext","findPrevious","replace","replaceAll").to(this),e.on("change:isDirty",((e,t,i)=>{i&&this.fire("searchReseted")}))}}const p="object"==typeof global&&global&&global.Object===Object&&global;var m="object"==typeof self&&self&&self.Object===Object&&self;const g=p||m||Function("return this")();const k=g.Symbol;const w=function(e,t){for(var i=-1,n=null==e?0:e.length,r=Array(n);++i<n;)r[i]=t(e[i],i,e);return r};const b=Array.isArray;var _=Object.prototype,v=_.hasOwnProperty,x=_.toString,y=k?k.toStringTag:void 0;const T=function(e){var t=v.call(e,y),i=e[y];try{e[y]=void 0;var n=!0}catch(e){}var r=x.call(e);return n&&(t?e[y]=i:delete e[y]),r};var R=Object.prototype.toString;const V=function(e){return R.call(e)};var C=k?k.toStringTag:void 0;const I=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":C&&C in Object(e)?T(e):V(e)};const E=function(e){return null!=e&&"object"==typeof e};const F=function(e){return"symbol"==typeof e||E(e)&&"[object Symbol]"==I(e)};var N=k?k.prototype:void 0,A=N?N.toString:void 0;const B=function e(t){if("string"==typeof t)return t;if(b(t))return w(t,e)+"";if(F(t))return A?A.call(t):"";var i=t+"";return"0"==i&&1/t==-Infinity?"-0":i};const O=function(e){return null==e?"":B(e)};var S=/[\\^$.*+?()[\]{}|]/g,j=RegExp(S.source);const M=function(e){return(e=O(e))&&j.test(e)?e.replace(S,"\\$&"):e};function P(e,t,i,n){const s=n||new r.Collection;return t.change((n=>{[...e].forEach((({type:e,item:o})=>{if("elementStart"===e&&t.schema.checkChild(o,"$text")){const e=i({item:o,text:D(t.createRangeIn(o))});if(!e)return;e.forEach((e=>{const t=`findResult:${(0,r.uid)()}`,i=n.addMarker(t,{usingOperation:!1,affectsData:!1,range:n.createRange(n.createPositionAt(o,e.start),n.createPositionAt(o,e.end))}),a=function(e,t){const i=e.find((({marker:e})=>t.getStart().isBefore(e.getStart())));return i?e.getIndex(i):e.length}(s,i);s.add({id:t,label:e.label,marker:i},a)}))}}))})),s}function D(e){return Array.from(e.getItems()).reduce(((e,t)=>t.is("text")||t.is("textProxy")?e+t.data:`${e}\n`),"")}function W(e){const t=e.length-1;let i=e.index;return 3===e.length&&(i+=e[1].length),{label:e[t],start:i,end:i+e[t].length}}function $(e,t){let i="gu";t.matchCase||(i+="i");let n=`(${M(e)})`;if(t.wholeWords){const t="[^a-zA-ZÀ-ɏḀ-ỿ]";new RegExp("^"+t).test(e)||(n=`(^|${t}|_)${n}`),new RegExp(t+"$").test(e)||(n=`${n}(?=_|${t}|$)`)}const r=new RegExp(n,i);return function({text:e}){return[...e.matchAll(r)].map(W)}}class H extends e.Command{constructor(e,t){super(e),this.isEnabled=!0,this.affectsData=!1,this._state=t}execute(e,{matchCase:t,wholeWords:i}={}){const{editor:n}=this,{model:r}=n;let s;"string"==typeof e?(s=$(e,{matchCase:t,wholeWords:i}),this._state.searchText=e):s=e;const o=r.document.getRootNames().reduce(((e,t)=>P(r.createRangeIn(r.document.getRoot(t)),r,s,e)),null);return this._state.clear(r),this._state.results.addMany(Array.from(o)),this._state.highlightedResult=o.get(0),"string"==typeof e&&(this._state.searchText=e),this._state.matchCase=!!t,this._state.matchWholeWords=!!i,{results:o,findCallback:s}}}class L extends e.Command{constructor(e,t){super(e),this.isEnabled=!0,this._state=t}execute(e,t){const{model:i}=this.editor;i.change((n=>{const r=t.marker.getRange();if("$graveyard"===r.root.rootName)return void this._state.results.remove(t);let s={};for(const e of r.getItems())if(e.is("$text")||e.is("$textProxy")){s=e.getAttributes();break}i.insertContent(n.createText(e,s),r),this._state.results.has(t)&&this._state.results.remove(t)}))}}class Z extends L{execute(e,t){const{editor:i}=this,{model:n}=i,s=t instanceof r.Collection?t:n.document.getRootNames().reduce(((e,i)=>P(n.createRangeIn(n.document.getRoot(i)),n,$(t,this._state),e)),null);s.length&&n.change((()=>{[...s].forEach((t=>{super.execute(e,t)}))}))}}class z extends e.Command{constructor(e,t){super(e),this.affectsData=!1,this._state=t,this.isEnabled=!1,this.listenTo(this._state.results,"change",(()=>{this.isEnabled=this._state.results.length>1}))}refresh(){this.isEnabled=this._state.results.length>1}execute(){const e=this._state.results,t=e.getIndex(this._state.highlightedResult),i=t+1>=e.length?0:t+1;this._state.highlightedResult=this._state.results.get(i)}}class K extends z{execute(){const e=this._state.results.getIndex(this._state.highlightedResult),t=e-1<0?this._state.results.length-1:e-1;this._state.highlightedResult=this._state.results.get(t)}}class Y{constructor(e){this.set("results",new r.Collection),this.set("highlightedResult",null),this.set("searchText",""),this.set("replaceText",""),this.set("matchCase",!1),this.set("matchWholeWords",!1),this.results.on("change",((t,{removed:i,index:n})=>{if((i=Array.from(i)).length){let t=!1;if(e.change((n=>{for(const r of i)this.highlightedResult===r&&(t=!0),e.markers.has(r.marker.name)&&n.removeMarker(r.marker)})),t){const e=n>=this.results.length?0:n;this.highlightedResult=this.results.get(e)}}}))}clear(e){this.searchText="",e.change((t=>{if(this.highlightedResult){const i=this.highlightedResult.marker.name.split(":")[1],n=e.markers.get(`findResultHighlighted:${i}`);n&&t.removeMarker(n)}[...this.results].forEach((({marker:e})=>{t.removeMarker(e)}))})),this.results.clear()}}function U(e){return"[object Range]"==Object.prototype.toString.apply(e)}function q(e){const t=Object.prototype.toString.apply(e);return"[object Window]"==t||"[object global]"==t}function G(e){return"[object Text]"==Object.prototype.toString.call(e)}(0,r.mix)(Y,r.ObservableMixin);const J=function(e,t){return function(i){return e(t(i))}}(Object.getPrototypeOf,Object);var X=Function.prototype,Q=Object.prototype,ee=X.toString,te=Q.hasOwnProperty,ie=ee.call(Object);const ne=function(e){if(!E(e)||"[object Object]"!=I(e))return!1;var t=J(e);if(null===t)return!0;var i=te.call(t,"constructor")&&t.constructor;return"function"==typeof i&&i instanceof i&&ee.call(i)==ie};const re=function(e){return E(e)&&1===e.nodeType&&!ne(e)},se=["top","right","bottom","left","width","height"];class oe{constructor(e){const t=U(e);if(Object.defineProperty(this,"_source",{value:e._source||e,writable:!0,enumerable:!1}),re(e)||t)if(t){const t=oe.getDomRangeRects(e);ae(this,oe.getBoundingRect(t))}else ae(this,e.getBoundingClientRect());else if(q(e)){const{innerWidth:t,innerHeight:i}=e;ae(this,{top:0,right:t,bottom:i,left:0,width:t,height:i})}else ae(this,e)}clone(){return new oe(this)}moveTo(e,t){return this.top=t,this.right=e+this.width,this.bottom=t+this.height,this.left=e,this}moveBy(e,t){return this.top+=t,this.right+=e,this.left+=e,this.bottom+=t,this}getIntersection(e){const t={top:Math.max(this.top,e.top),right:Math.min(this.right,e.right),bottom:Math.min(this.bottom,e.bottom),left:Math.max(this.left,e.left)};return t.width=t.right-t.left,t.height=t.bottom-t.top,t.width<0||t.height<0?null:new oe(t)}getIntersectionArea(e){const t=this.getIntersection(e);return t?t.getArea():0}getArea(){return this.width*this.height}getVisible(){const e=this._source;let t=this.clone();if(!ce(e)){let i=e.parentNode||e.commonAncestorContainer;for(;i&&!ce(i);){const e=new oe(i),n=t.getIntersection(e);if(!n)return null;n.getArea()<t.getArea()&&(t=n),i=i.parentNode}}return t}isEqual(e){for(const t of se)if(this[t]!==e[t])return!1;return!0}contains(e){const t=this.getIntersection(e);return!(!t||!t.isEqual(e))}excludeScrollbarsAndBorders(){const e=this._source;let t,i,n;if(q(e))t=e.innerWidth-e.document.documentElement.clientWidth,i=e.innerHeight-e.document.documentElement.clientHeight,n=e.getComputedStyle(e.document.documentElement).direction;else{const r=function(e){const t=e.ownerDocument.defaultView.getComputedStyle(e);return{top:parseInt(t.borderTopWidth,10),right:parseInt(t.borderRightWidth,10),bottom:parseInt(t.borderBottomWidth,10),left:parseInt(t.borderLeftWidth,10)}}(this._source);t=e.offsetWidth-e.clientWidth-r.left-r.right,i=e.offsetHeight-e.clientHeight-r.top-r.bottom,n=e.ownerDocument.defaultView.getComputedStyle(e).direction,this.left+=r.left,this.top+=r.top,this.right-=r.right,this.bottom-=r.bottom,this.width=this.right-this.left,this.height=this.bottom-this.top}return this.width-=t,"ltr"===n?this.right-=t:this.left+=t,this.height-=i,this.bottom-=i,this}static getDomRangeRects(e){const t=[],i=Array.from(e.getClientRects());if(i.length)for(const e of i)t.push(new oe(e));else{let i=e.startContainer;G(i)&&(i=i.parentNode);const n=new oe(i.getBoundingClientRect());n.right=n.left,n.width=0,t.push(n)}return t}static getBoundingRect(e){const t={left:Number.POSITIVE_INFINITY,top:Number.POSITIVE_INFINITY,right:Number.NEGATIVE_INFINITY,bottom:Number.NEGATIVE_INFINITY};let i=0;for(const n of e)i++,t.left=Math.min(t.left,n.left),t.top=Math.min(t.top,n.top),t.right=Math.max(t.right,n.right),t.bottom=Math.max(t.bottom,n.bottom);return 0==i?null:(t.width=t.right-t.left,t.height=t.bottom-t.top,new oe(t))}}function ae(e,t){for(const i of se)e[i]=t[i]}function ce(e){return!!re(e)&&e===e.ownerDocument.body}function le({target:e,viewportOffset:t=0}){const i=ge(e);let n=i,r=null;for(;n;){let s;s=ke(n==i?e:r),he(s,(()=>we(e,n)));const o=we(e,n);if(de(n,o,t),n.parent!=n){if(r=n.frameElement,n=n.parent,!r)return}else n=null}}function de(e,t,i){const n=t.clone().moveBy(0,i),r=t.clone().moveBy(0,-i),s=new oe(e).excludeScrollbarsAndBorders();if(![r,n].every((e=>s.contains(e)))){let{scrollX:o,scrollY:a}=e;ue(r,s)?a-=s.top-t.top+i:fe(n,s)&&(a+=t.bottom-s.bottom+i),pe(t,s)?o-=s.left-t.left+i:me(t,s)&&(o+=t.right-s.right+i),e.scrollTo(o,a)}}function he(e,t){const i=ge(e);let n,r;for(;e!=i.document.body;)r=t(),n=new oe(e).excludeScrollbarsAndBorders(),n.contains(r)||(ue(r,n)?e.scrollTop-=n.top-r.top:fe(r,n)&&(e.scrollTop+=r.bottom-n.bottom),pe(r,n)?e.scrollLeft-=n.left-r.left:me(r,n)&&(e.scrollLeft+=r.right-n.right)),e=e.parentNode}function fe(e,t){return e.bottom>t.bottom}function ue(e,t){return e.top<t.top}function pe(e,t){return e.left<t.left}function me(e,t){return e.right>t.right}function ge(e){return U(e)?e.startContainer.ownerDocument.defaultView:e.ownerDocument.defaultView}function ke(e){if(U(e)){let t=e.commonAncestorContainer;return G(t)&&(t=t.parentNode),t}return e.parentNode}function we(e,t){const i=ge(e),n=new oe(e);if(i===t)return n;{let e=i;for(;e!=t;){const t=e.frameElement,i=new oe(t).excludeScrollbarsAndBorders();n.moveBy(i.left,i.top),e=e.parent}}return n}Object.assign({},{scrollViewportToShowTarget:le,scrollAncestorsToShowTarget:function(e){he(ke(e),(()=>new oe(e)))}});const be=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)};const _e=function(){return g.Date.now()};var ve=/\s/;const xe=function(e){for(var t=e.length;t--&&ve.test(e.charAt(t)););return t};var ye=/^\s+/;const Te=function(e){return e?e.slice(0,xe(e)+1).replace(ye,""):e};var Re=/^[-+]0x[0-9a-f]+$/i,Ve=/^0b[01]+$/i,Ce=/^0o[0-7]+$/i,Ie=parseInt;const Ee=function(e){if("number"==typeof e)return e;if(F(e))return NaN;if(be(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=be(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=Te(e);var i=Ve.test(e);return i||Ce.test(e)?Ie(e.slice(2),i?2:8):Re.test(e)?NaN:+e};var Fe=Math.max,Ne=Math.min;const Ae=function(e,t,i){var n,r,s,o,a,c,l=0,d=!1,h=!1,f=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function u(t){var i=n,s=r;return n=r=void 0,l=t,o=e.apply(s,i)}function p(e){return l=e,a=setTimeout(g,t),d?u(e):o}function m(e){var i=e-c;return void 0===c||i>=t||i<0||h&&e-l>=s}function g(){var e=_e();if(m(e))return k(e);a=setTimeout(g,function(e){var i=t-(e-c);return h?Ne(i,s-(e-l)):i}(e))}function k(e){return a=void 0,f&&n?u(e):(n=r=void 0,o)}function w(){var e=_e(),i=m(e);if(n=arguments,r=this,c=e,i){if(void 0===a)return p(c);if(h)return clearTimeout(a),a=setTimeout(g,t),u(c)}return void 0===a&&(a=setTimeout(g,t)),o}return t=Ee(t)||0,be(i)&&(d=!!i.leading,s=(h="maxWait"in i)?Fe(Ee(i.maxWait)||0,t):s,f="trailing"in i?!!i.trailing:f),w.cancel=function(){void 0!==a&&clearTimeout(a),l=0,n=c=r=a=void 0},w.flush=function(){return void 0===a?o:k(_e())},w};var Be=i(299),Oe={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};o()(Be.Z,Oe);Be.Z.locals;class Se extends e.Plugin{static get pluginName(){return"FindAndReplaceEditing"}init(){this._activeResults=null,this.state=new Y(this.editor.model),this._defineConverters(),this._defineCommands(),this.listenTo(this.state,"change:highlightedResult",((e,t,i,n)=>{const{model:r}=this.editor;r.change((e=>{if(n){const t=n.marker.name.split(":")[1],i=r.markers.get(`findResultHighlighted:${t}`);i&&e.removeMarker(i)}if(i){const t=i.marker.name.split(":")[1];e.addMarker(`findResultHighlighted:${t}`,{usingOperation:!1,affectsData:!1,range:i.marker.getRange()})}}))}));const e=Ae(function(e,t,i){if(i){const e=this.editor.editing.view.domConverter,t=this.editor.editing.mapper.toViewRange(i.marker.getRange());le({target:e.viewRangeToDom(t),viewportOffset:40})}}.bind(this),32);this.listenTo(this.state,"change:highlightedResult",e,{priority:"low"}),this.listenTo(this.editor,"destroy",e.cancel)}find(e){const{editor:t}=this,{model:i}=t,{findCallback:n,results:r}=t.execute("find",e);return this._activeResults=r,this.listenTo(i.document,"change:data",(()=>function(e,t,i){const n=new Set,r=new Set;t.document.differ.getChanges().forEach((e=>{"$text"===e.name||t.schema.isInline(e.position.nodeAfter)?(n.add(e.position.parent),[...t.markers.getMarkersAtPosition(e.position)].forEach((e=>{r.add(e.name)}))):"insert"===e.type&&n.add(e.position.nodeAfter)})),t.document.differ.getChangedMarkers().forEach((({name:e,data:{newRange:t}})=>{t&&"$graveyard"===t.start.root.rootName&&r.add(e)})),n.forEach((e=>{[...t.markers.getMarkersIntersectingRange(t.createRangeIn(e))].forEach((e=>r.add(e.name)))})),t.change((t=>{r.forEach((i=>{e.has(i)&&e.remove(i),t.removeMarker(i)}))})),n.forEach((n=>{P(t.createRangeOn(n),t,i,e)}))}(this._activeResults,i,n))),this._activeResults}stop(){this._activeResults&&(this.stopListening(this.editor.model.document),this.state.clear(this.editor.model),this._activeResults=null)}_defineCommands(){this.editor.commands.add("find",new H(this.editor,this.state)),this.editor.commands.add("findNext",new z(this.editor,this.state)),this.editor.commands.add("findPrevious",new K(this.editor,this.state)),this.editor.commands.add("replace",new L(this.editor,this.state)),this.editor.commands.add("replaceAll",new Z(this.editor,this.state))}_defineConverters(){const{editor:e}=this;e.conversion.for("editingDowncast").markerToHighlight({model:"findResult",view:({markerName:e})=>{const[,t]=e.split(":");return{name:"span",classes:["ck-find-result"],attributes:{"data-find-result":t}}}}),e.conversion.for("editingDowncast").markerToHighlight({model:"findResultHighlighted",view:({markerName:e})=>{const[,t]=e.split(":");return{name:"span",classes:["ck-find-result_selected"],attributes:{"data-find-result":t}}}})}}class je extends e.Plugin{static get requires(){return[Se,u]}static get pluginName(){return"FindAndReplace"}init(){const e=this.editor.plugins.get("FindAndReplaceUI"),t=this.editor.plugins.get("FindAndReplaceEditing"),i=t.state;e.on("findNext",((e,t)=>{t?(i.searchText=t.searchText,this.editor.execute("find",t.searchText,t)):this.editor.execute("findNext")})),e.on("findPrevious",((e,t)=>{t&&i.searchText!==t.searchText?this.editor.execute("find",t.searchText):this.editor.execute("findPrevious")})),e.on("replace",((e,t)=>{i.searchText!==t.searchText&&this.editor.execute("find",t.searchText);const n=i.highlightedResult;n&&this.editor.execute("replace",t.replaceText,n)})),e.on("replaceAll",((e,t)=>{i.searchText!==t.searchText&&this.editor.execute("find",t.searchText),this.editor.execute("replaceAll",t.replaceText,i.results)})),e.on("searchReseted",(()=>{i.clear(this.editor.model),t.stop()}))}}})(),(window.CKEditor5=window.CKEditor5||{}).findAndReplace=n})();
|
|
5
|
+
*/(()=>{var e={299:(e,t,i)=>{"use strict";i.d(t,{Z:()=>s});var n=i(609),r=i.n(n)()((function(e){return e[1]}));r.push([e.id,".ck-find-result{background:#ff0;color:var(--ck-color-text)}.ck-find-result_selected{background:#ff9633}",""]);const s=r},226:(e,t,i)=>{"use strict";i.d(t,{Z:()=>s});var n=i(609),r=i.n(n)()((function(e){return e[1]}));r.push([e.id,".ck.ck-find-and-replace-form{max-width:100%}.ck.ck-find-and-replace-form fieldset{display:flex}.ck.ck-find-and-replace-form fieldset.ck-find-and-replace-form__find .ck-results-counter{position:absolute}.ck.ck-find-and-replace-form{width:400px}.ck.ck-find-and-replace-form:focus{outline:none}.ck.ck-find-and-replace-form fieldset{align-content:stretch;align-items:center;border:0;flex-direction:row;flex-wrap:nowrap;margin:0;padding:var(--ck-spacing-large)}.ck.ck-find-and-replace-form fieldset>.ck-button{flex:0 0 auto}[dir=ltr] .ck.ck-find-and-replace-form fieldset>*+*{margin-left:var(--ck-spacing-standard)}[dir=rtl] .ck.ck-find-and-replace-form fieldset>*+*{margin-right:var(--ck-spacing-standard)}.ck.ck-find-and-replace-form fieldset .ck-labeled-field-view{flex:1 1 auto}.ck.ck-find-and-replace-form fieldset .ck-labeled-field-view .ck-input{min-width:50px;width:100%}.ck.ck-find-and-replace-form fieldset.ck-find-and-replace-form__find{align-items:flex-start}.ck.ck-find-and-replace-form fieldset.ck-find-and-replace-form__find>.ck-button-find{font-weight:700}.ck.ck-find-and-replace-form fieldset.ck-find-and-replace-form__find>.ck-button-find .ck-button__label{padding-left:var(--ck-spacing-large);padding-right:var(--ck-spacing-large)}.ck.ck-find-and-replace-form fieldset.ck-find-and-replace-form__find>.ck-button-prev>.ck-icon{transform:rotate(90deg)}.ck.ck-find-and-replace-form fieldset.ck-find-and-replace-form__find>.ck-button-next>.ck-icon{transform:rotate(-90deg)}.ck.ck-find-and-replace-form fieldset.ck-find-and-replace-form__find .ck-results-counter{top:50%;transform:translateY(-50%)}[dir=ltr] .ck.ck-find-and-replace-form fieldset.ck-find-and-replace-form__find .ck-results-counter{right:var(--ck-spacing-standard)}[dir=rtl] .ck.ck-find-and-replace-form fieldset.ck-find-and-replace-form__find .ck-results-counter{left:var(--ck-spacing-standard)}.ck.ck-find-and-replace-form fieldset.ck-find-and-replace-form__find .ck-results-counter{color:var(--ck-color-base-border)}.ck.ck-find-and-replace-form fieldset.ck-find-and-replace-form__replace{flex-wrap:wrap;justify-content:flex-end;margin-top:calc(var(--ck-spacing-large)*-1)}.ck.ck-find-and-replace-form fieldset.ck-find-and-replace-form__replace>.ck-labeled-field-view{margin-bottom:var(--ck-spacing-large)}.ck.ck-find-and-replace-form fieldset.ck-find-and-replace-form__replace>.ck-options-dropdown{margin-left:0;margin-right:auto}.ck.ck-find-and-replace-form fieldset.ck-find-and-replace-form__replace>.ck-labeled-field-view,.ck.ck-find-and-replace-form fieldset.ck-find-and-replace-form__replace>.ck-labeled-field-view .ck-input{width:100%}@media screen and (max-width:600px){.ck.ck-find-and-replace-form{width:300px}.ck.ck-find-and-replace-form fieldset{flex-wrap:wrap}.ck.ck-find-and-replace-form fieldset.ck-find-and-replace-form__find .ck-labeled-field-view{flex:1 0 auto;margin-bottom:var(--ck-spacing-standard);width:100%}.ck.ck-find-and-replace-form fieldset.ck-find-and-replace-form__find>.ck-button{text-align:center}.ck.ck-find-and-replace-form fieldset.ck-find-and-replace-form__find>.ck-button:first-of-type{flex:1 1 auto}[dir=ltr] .ck.ck-find-and-replace-form fieldset.ck-find-and-replace-form__find>.ck-button:first-of-type{margin-left:0}[dir=rtl] .ck.ck-find-and-replace-form fieldset.ck-find-and-replace-form__find>.ck-button:first-of-type{margin-right:0}.ck.ck-find-and-replace-form fieldset.ck-find-and-replace-form__find>.ck-button:first-of-type .ck-button__label{text-align:center;width:100%}.ck.ck-find-and-replace-form fieldset.ck-find-and-replace-form__replace>:not(.ck-labeled-field-view){flex:1 1 auto}.ck.ck-find-and-replace-form fieldset.ck-find-and-replace-form__replace>.ck-dropdown:not(.ck-labeled-field-view){flex-grow:0}.ck.ck-find-and-replace-form fieldset.ck-find-and-replace-form__replace>.ck-button:not(.ck-labeled-field-view)>.ck-button__label{text-align:center;width:100%}}",""]);const s=r},764:(e,t,i)=>{"use strict";i.d(t,{Z:()=>s});var n=i(609),r=i.n(n)()((function(e){return e[1]}));r.push([e.id,'.ck-vertical-form .ck-button:after{bottom:var(--ck-spacing-small);content:"";position:absolute;right:-1px;top:var(--ck-spacing-small);width:0;z-index:1}@media screen and (max-width:600px){.ck.ck-responsive-form .ck-button:after{bottom:var(--ck-spacing-small);content:"";position:absolute;right:-1px;top:var(--ck-spacing-small);width:0;z-index:1}}.ck-vertical-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form{padding:var(--ck-spacing-large)}.ck.ck-responsive-form:focus{outline:none}[dir=ltr] .ck.ck-responsive-form>:not(:first-child),[dir=rtl] .ck.ck-responsive-form>:not(:last-child){margin-left:var(--ck-spacing-standard)}@media screen and (max-width:600px){.ck.ck-responsive-form{padding:0;width:calc(var(--ck-input-width)*.8)}.ck.ck-responsive-form .ck-labeled-field-view{margin:var(--ck-spacing-large) var(--ck-spacing-large) 0}.ck.ck-responsive-form .ck-labeled-field-view .ck-input-text{min-width:0;width:100%}.ck.ck-responsive-form .ck-labeled-field-view .ck-labeled-field-view__error{white-space:normal}.ck.ck-responsive-form>.ck-button:last-child,.ck.ck-responsive-form>.ck-button:nth-last-child(2){border:0;border-radius:0;border-top:1px solid var(--ck-color-base-border);margin-top:var(--ck-spacing-large);padding:var(--ck-spacing-standard)}[dir=ltr] .ck.ck-responsive-form>.ck-button:last-child,[dir=ltr] .ck.ck-responsive-form>.ck-button:nth-last-child(2),[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2){margin-left:0}.ck.ck-responsive-form>.ck-button:nth-last-child(2):after,[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child:last-of-type,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2):last-of-type{border-right:1px solid var(--ck-color-base-border)}}',""]);const s=r},609:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var i=e(t);return t[2]?"@media ".concat(t[2]," {").concat(i,"}"):i})).join("")},t.i=function(e,i,n){"string"==typeof e&&(e=[[null,e,""]]);var r={};if(n)for(var s=0;s<this.length;s++){var o=this[s][0];null!=o&&(r[o]=!0)}for(var a=0;a<e.length;a++){var c=[].concat(e[a]);n&&r[c[0]]||(i&&(c[2]?c[2]="".concat(i," and ").concat(c[2]):c[2]=i),t.push(c))}},t}},62:(e,t,i)=>{"use strict";var n,r=function(){return void 0===n&&(n=Boolean(window&&document&&document.all&&!window.atob)),n},s=function(){var e={};return function(t){if(void 0===e[t]){var i=document.querySelector(t);if(window.HTMLIFrameElement&&i instanceof window.HTMLIFrameElement)try{i=i.contentDocument.head}catch(e){i=null}e[t]=i}return e[t]}}(),o=[];function a(e){for(var t=-1,i=0;i<o.length;i++)if(o[i].identifier===e){t=i;break}return t}function c(e,t){for(var i={},n=[],r=0;r<e.length;r++){var s=e[r],c=t.base?s[0]+t.base:s[0],l=i[c]||0,d="".concat(c," ").concat(l);i[c]=l+1;var h=a(d),f={css:s[1],media:s[2],sourceMap:s[3]};-1!==h?(o[h].references++,o[h].updater(f)):o.push({identifier:d,updater:g(f,t),references:1}),n.push(d)}return n}function l(e){var t=document.createElement("style"),n=e.attributes||{};if(void 0===n.nonce){var r=i.nc;r&&(n.nonce=r)}if(Object.keys(n).forEach((function(e){t.setAttribute(e,n[e])})),"function"==typeof e.insert)e.insert(t);else{var o=s(e.insert||"head");if(!o)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");o.appendChild(t)}return t}var d,h=(d=[],function(e,t){return d[e]=t,d.filter(Boolean).join("\n")});function f(e,t,i,n){var r=i?"":n.media?"@media ".concat(n.media," {").concat(n.css,"}"):n.css;if(e.styleSheet)e.styleSheet.cssText=h(t,r);else{var s=document.createTextNode(r),o=e.childNodes;o[t]&&e.removeChild(o[t]),o.length?e.insertBefore(s,o[t]):e.appendChild(s)}}function u(e,t,i){var n=i.css,r=i.media,s=i.sourceMap;if(r?e.setAttribute("media",r):e.removeAttribute("media"),s&&"undefined"!=typeof btoa&&(n+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(s))))," */")),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}var p=null,m=0;function g(e,t){var i,n,r;if(t.singleton){var s=m++;i=p||(p=l(t)),n=f.bind(null,i,s,!1),r=f.bind(null,i,s,!0)}else i=l(t),n=u.bind(null,i,t),r=function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(i)};return n(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;n(e=t)}else r()}}e.exports=function(e,t){(t=t||{}).singleton||"boolean"==typeof t.singleton||(t.singleton=r());var i=c(e=e||[],t);return function(e){if(e=e||[],"[object Array]"===Object.prototype.toString.call(e)){for(var n=0;n<i.length;n++){var r=a(i[n]);o[r].references--}for(var s=c(e,t),l=0;l<i.length;l++){var d=a(i[l]);0===o[d].references&&(o[d].updater(),o.splice(d,1))}i=s}}}},704:(e,t,i)=>{e.exports=i(79)("./src/core.js")},273:(e,t,i)=>{e.exports=i(79)("./src/ui.js")},209:(e,t,i)=>{e.exports=i(79)("./src/utils.js")},79:e=>{"use strict";e.exports=CKEditor5.dll}},t={};function i(n){var r=t[n];if(void 0!==r)return r.exports;var s=t[n]={id:n,exports:{}};return e[n](s,s.exports,i),s.exports}i.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return i.d(t,{a:t}),t},i.d=(e,t)=>{for(var n in t)i.o(t,n)&&!i.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.nc=void 0;var n={};(()=>{"use strict";i.r(n),i.d(n,{FindAndReplace:()=>je});var e=i(704),t=i(273),r=i(209),s=i(62),o=i.n(s),a=i(764),c={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};o()(a.Z,c);a.Z.locals;var l=i(226),d={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};o()(l.Z,d);l.Z.locals;const h='<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M11.463 5.187a.888.888 0 1 1 1.254 1.255L9.16 10l3.557 3.557a.888.888 0 1 1-1.254 1.255L7.26 10.61a.888.888 0 0 1 .16-1.382l4.043-4.042z"/></svg>';class f extends t.View{constructor(e){super(e);const i=e.t;this.set("matchCount",0),this.set("highlightOffset",0),this.set("isDirty",!1),this.set("_areCommandsEnabled",{}),this.set("_resultsCounterText",""),this.set("_matchCase",!1),this.set("_wholeWordsOnly",!1),this.bind("_searchResultsFound").to(this,"matchCount",this,"isDirty",((e,t)=>e>0&&!t)),this._findInputView=this._createInputField(i("Find in text…")),this._replaceInputView=this._createInputField(i("Replace with…")),this._findButtonView=this._createButton({label:i("Find"),class:"ck-button-find ck-button-action",withText:!0}),this._findPrevButtonView=this._createButton({label:i("Previous result"),class:"ck-button-prev",icon:h,keystroke:"Shift+F3",tooltip:!0}),this._findNextButtonView=this._createButton({label:i("Next result"),class:"ck-button-next",icon:h,keystroke:"F3",tooltip:!0}),this._optionsDropdown=this._createOptionsDropdown(),this._replaceButtonView=this._createButton({label:i("Replace"),class:"ck-button-replace",withText:!0}),this._replaceAllButtonView=this._createButton({label:i("Replace all"),class:"ck-button-replaceall",withText:!0}),this._findFieldsetView=this._createFindFieldset(),this._replaceFieldsetView=this._createReplaceFieldset(),this._focusTracker=new r.FocusTracker,this._keystrokes=new r.KeystrokeHandler,this._focusables=new t.ViewCollection,this._focusCycler=new t.FocusCycler({focusables:this._focusables,focusTracker:this._focusTracker,keystrokeHandler:this._keystrokes,actions:{focusPrevious:"shift + tab",focusNext:"tab"}}),this.setTemplate({tag:"form",attributes:{class:["ck","ck-find-and-replace-form"],tabindex:"-1"},children:[new t.FormHeaderView(e,{label:i("Find and replace")}),this._findFieldsetView,this._replaceFieldsetView]}),(0,t.injectCssTransitionDisabler)(this)}render(){super.render(),(0,t.submitHandler)({view:this}),this._initFocusCycling(),this._initKeystrokeHandling()}destroy(){super.destroy(),this._focusTracker.destroy(),this._keystrokes.destroy()}focus(){this._focusCycler.focusFirst()}reset(){this._findInputView.errorText=null,this.isDirty=!0}get _textToFind(){return this._findInputView.fieldView.element.value}get _textToReplace(){return this._replaceInputView.fieldView.element.value}_createFindFieldset(){const e=this.locale,i=new t.View(e);return this._findInputView.fieldView.on("input",(()=>{this.isDirty=!0})),this._findButtonView.on("execute",this._onFindButtonExecute.bind(this)),this._findPrevButtonView.delegate("execute").to(this,"findPrevious"),this._findNextButtonView.delegate("execute").to(this,"findNext"),this._findPrevButtonView.bind("isEnabled").to(this,"_areCommandsEnabled",(({findPrevious:e})=>e)),this._findNextButtonView.bind("isEnabled").to(this,"_areCommandsEnabled",(({findNext:e})=>e)),this._injectFindResultsCounter(),i.setTemplate({tag:"fieldset",attributes:{class:["ck","ck-find-and-replace-form__find"]},children:[this._findInputView,this._findButtonView,this._findPrevButtonView,this._findNextButtonView]}),i}_onFindButtonExecute(){if(this._textToFind)this.isDirty=!1,this.fire("findNext",{searchText:this._textToFind,matchCase:this._matchCase,wholeWords:this._wholeWordsOnly});else{const e=this.t;this._findInputView.errorText=e("Text to find must not be empty.")}}_injectFindResultsCounter(){const e=this.locale,i=e.t,n=this.bindTemplate,s=new t.View(e);this.bind("_resultsCounterText").to(this,"highlightOffset",this,"matchCount",((e,t)=>i("%0 of %1",[e,t]))),s.setTemplate({tag:"span",attributes:{class:["ck","ck-results-counter",n.if("isDirty","ck-hidden")]},children:[{text:n.to("_resultsCounterText")}]});const o=()=>{const t=this._findInputView.fieldView.element;if(!t||!(0,r.isVisible)(t))return;const i=new r.Rect(s.element).width,n="ltr"===e.uiLanguageDirection?"paddingRight":"paddingLeft";t.style[n]=i?`calc( 2 * var(--ck-spacing-standard) + ${i}px )`:null};this.on("change:_resultsCounterText",o,{priority:"low"}),this.on("change:isDirty",o,{priority:"low"}),this._findInputView.template.children[0].children.push(s)}_createReplaceFieldset(){const e=this.locale,i=e.t,n=new t.View(e);return this._replaceButtonView.bind("isEnabled").to(this,"_areCommandsEnabled",this,"_searchResultsFound",(({replace:e},t)=>e&&t)),this._replaceAllButtonView.bind("isEnabled").to(this,"_areCommandsEnabled",this,"_searchResultsFound",(({replaceAll:e},t)=>e&&t)),this._replaceInputView.bind("isEnabled").to(this,"_areCommandsEnabled",this,"_searchResultsFound",(({replace:e},t)=>e&&t)),this._replaceInputView.bind("infoText").to(this._replaceInputView,"isEnabled",this._replaceInputView,"isFocused",((e,t)=>e||!t?"":i("Tip: Find some text first in order to replace it."))),this._replaceButtonView.on("execute",(()=>{this.fire("replace",{searchText:this._textToFind,replaceText:this._textToReplace})})),this._replaceAllButtonView.on("execute",(()=>{this.fire("replaceAll",{searchText:this._textToFind,replaceText:this._textToReplace}),this.focus()})),n.setTemplate({tag:"fieldset",attributes:{class:["ck","ck-find-and-replace-form__replace"]},children:[this._replaceInputView,this._optionsDropdown,this._replaceButtonView,this._replaceAllButtonView]}),n}_createOptionsDropdown(){const i=this.locale,n=i.t,s=(0,t.createDropdown)(i);s.class="ck-options-dropdown",s.buttonView.set({withText:!1,label:n("Show options"),icon:e.icons.cog,tooltip:!0});const o=new t.Model({withText:!0,label:n("Match case"),_isMatchCaseSwitch:!0}),a=new t.Model({withText:!0,label:n("Whole words only")});return o.bind("isOn").to(this,"_matchCase"),a.bind("isOn").to(this,"_wholeWordsOnly"),s.on("execute",(e=>{e.source._isMatchCaseSwitch?this._matchCase=!this._matchCase:this._wholeWordsOnly=!this._wholeWordsOnly,this.isDirty=!0})),(0,t.addListToDropdown)(s,new r.Collection([{type:"switchbutton",model:o},{type:"switchbutton",model:a}])),s}_initFocusCycling(){[this._findInputView,this._findButtonView,this._findPrevButtonView,this._findNextButtonView,this._replaceInputView,this._optionsDropdown,this._replaceButtonView,this._replaceAllButtonView].forEach((e=>{this._focusables.add(e),this._focusTracker.add(e.element)}))}_initKeystrokeHandling(){const e=e=>e.stopPropagation(),t=e=>{e.stopPropagation(),e.preventDefault()};this._keystrokes.listenTo(this.element),this._keystrokes.set("f3",(e=>{t(e),this._findNextButtonView.fire("execute")})),this._keystrokes.set("shift+f3",(e=>{t(e),this._findPrevButtonView.fire("execute")})),this._keystrokes.set("enter",(e=>{const i=e.target;i===this._findInputView.fieldView.element?(this._areCommandsEnabled.findNext?this._findNextButtonView.fire("execute"):this._findButtonView.fire("execute"),t(e)):i!==this._replaceInputView.fieldView.element||this.isDirty||(this._replaceButtonView.fire("execute"),t(e))})),this._keystrokes.set("shift+enter",(e=>{e.target===this._findInputView.fieldView.element&&(this._areCommandsEnabled.findPrevious?this._findPrevButtonView.fire("execute"):this._findButtonView.fire("execute"),t(e))})),this._keystrokes.set("arrowright",e),this._keystrokes.set("arrowleft",e),this._keystrokes.set("arrowup",e),this._keystrokes.set("arrowdown",e),this.listenTo(this._findInputView.element,"selectstart",((e,t)=>{t.stopPropagation()}),{priority:"high"}),this.listenTo(this._replaceInputView.element,"selectstart",((e,t)=>{t.stopPropagation()}),{priority:"high"})}_createButton(e){const i=new t.ButtonView(this.locale);return i.set(e),i}_createInputField(e){const i=new t.LabeledFieldView(this.locale,t.createLabeledInputText);return i.label=e,i}}class u extends e.Plugin{static get pluginName(){return"FindAndReplaceUI"}constructor(e){super(e),this.formView=null}init(){const e=this.editor;e.ui.componentFactory.add("findAndReplace",(i=>{const n=(0,t.createDropdown)(i),r=this.formView=new f(e.locale);return n.bind("isEnabled").to(e.commands.get("find")),n.panelView.children.add(r),n.on("change:isOpen",((e,t,i)=>{i?(r.disableCssTransitions(),r.reset(),r._findInputView.fieldView.select(),r.focus(),r.enableCssTransitions()):(r.focus(),this.fire("searchReseted"))}),{priority:"low"}),this._setupDropdownButton(n),this._setupFormView(r),n}))}_setupDropdownButton(e){const t=this.editor,i=t.locale.t;e.buttonView.set({icon:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="m12.87 13.786 1.532-1.286 3.857 4.596a1 1 0 1 1-1.532 1.286l-3.857-4.596z"/><path d="M16.004 8.5a6.5 6.5 0 0 1-9.216 5.905c-1.154-.53-.863-1.415-.663-1.615.194-.194.564-.592 1.635-.141a4.5 4.5 0 0 0 5.89-5.904l-.104-.227 1.332-1.331c.045-.046.196-.041.224.007a6.47 6.47 0 0 1 .902 3.306zm-3.4-5.715c.562.305.742 1.106.354 1.494-.388.388-.995.414-1.476.178a4.5 4.5 0 0 0-6.086 5.882l.114.236-1.348 1.349c-.038.037-.17.022-.198-.023a6.5 6.5 0 0 1 5.54-9.9 6.469 6.469 0 0 1 3.1.784z"/><path d="M4.001 11.93.948 8.877a.2.2 0 0 1 .141-.341h6.106a.2.2 0 0 1 .141.341L4.283 11.93a.2.2 0 0 1-.282 0zm11.083-6.789 3.053 3.053a.2.2 0 0 1-.14.342H11.89a.2.2 0 0 1-.14-.342l3.052-3.053a.2.2 0 0 1 .282 0z"/></svg>',label:i("Find and replace"),keystroke:"CTRL+F",tooltip:!0}),t.keystrokes.set("Ctrl+F",((t,i)=>{e.isOpen=!0,i()}))}_setupFormView(e){const t=this.editor.commands,i=this.editor.plugins.get("FindAndReplaceEditing").state,n={before:-1,same:0,after:1};e.bind("highlightOffset").to(i,"highlightedResult",(e=>e?Array.from(i.results).sort(((e,t)=>n[e.marker.getStart().compareWith(t.marker.getStart())])).indexOf(e)+1:0)),e.listenTo(i.results,"change",(()=>{e.matchCount=i.results.length})),e.bind("_areCommandsEnabled").to(t.get("findNext"),"isEnabled",t.get("findPrevious"),"isEnabled",t.get("replace"),"isEnabled",t.get("replaceAll"),"isEnabled",((e,t,i,n)=>({findNext:e,findPrevious:t,replace:i,replaceAll:n}))),e.delegate("findNext","findPrevious","replace","replaceAll").to(this),e.on("change:isDirty",((e,t,i)=>{i&&this.fire("searchReseted")}))}}const p="object"==typeof global&&global&&global.Object===Object&&global;var m="object"==typeof self&&self&&self.Object===Object&&self;const g=p||m||Function("return this")();const k=g.Symbol;const w=function(e,t){for(var i=-1,n=null==e?0:e.length,r=Array(n);++i<n;)r[i]=t(e[i],i,e);return r};const b=Array.isArray;var _=Object.prototype,v=_.hasOwnProperty,x=_.toString,y=k?k.toStringTag:void 0;const T=function(e){var t=v.call(e,y),i=e[y];try{e[y]=void 0;var n=!0}catch(e){}var r=x.call(e);return n&&(t?e[y]=i:delete e[y]),r};var R=Object.prototype.toString;const V=function(e){return R.call(e)};var C=k?k.toStringTag:void 0;const I=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":C&&C in Object(e)?T(e):V(e)};const E=function(e){return null!=e&&"object"==typeof e};const F=function(e){return"symbol"==typeof e||E(e)&&"[object Symbol]"==I(e)};var N=k?k.prototype:void 0,B=N?N.toString:void 0;const A=function e(t){if("string"==typeof t)return t;if(b(t))return w(t,e)+"";if(F(t))return B?B.call(t):"";var i=t+"";return"0"==i&&1/t==-Infinity?"-0":i};const O=function(e){return null==e?"":A(e)};var S=/[\\^$.*+?()[\]{}|]/g,j=RegExp(S.source);const M=function(e){return(e=O(e))&&j.test(e)?e.replace(S,"\\$&"):e};function P(e,t,i,n){const s=n||new r.Collection;return t.change((n=>{[...e].forEach((({type:e,item:o})=>{if("elementStart"===e&&t.schema.checkChild(o,"$text")){const e=i({item:o,text:D(t.createRangeIn(o))});if(!e)return;e.forEach((e=>{const t=`findResult:${(0,r.uid)()}`,i=n.addMarker(t,{usingOperation:!1,affectsData:!1,range:n.createRange(n.createPositionAt(o,e.start),n.createPositionAt(o,e.end))}),a=function(e,t){const i=e.find((({marker:e})=>t.getStart().isBefore(e.getStart())));return i?e.getIndex(i):e.length}(s,i);s.add({id:t,label:e.label,marker:i},a)}))}}))})),s}function D(e){return Array.from(e.getItems()).reduce(((e,t)=>t.is("text")||t.is("textProxy")?e+t.data:`${e}\n`),"")}function W(e){const t=e.length-1;let i=e.index;return 3===e.length&&(i+=e[1].length),{label:e[t],start:i,end:i+e[t].length}}function $(e,t){let i="gu";t.matchCase||(i+="i");let n=`(${M(e)})`;if(t.wholeWords){const t="[^a-zA-ZÀ-ɏḀ-ỿ]";new RegExp("^"+t).test(e)||(n=`(^|${t}|_)${n}`),new RegExp(t+"$").test(e)||(n=`${n}(?=_|${t}|$)`)}const r=new RegExp(n,i);return function({text:e}){return[...e.matchAll(r)].map(W)}}class H extends e.Command{constructor(e,t){super(e),this.isEnabled=!0,this.affectsData=!1,this._state=t}execute(e,{matchCase:t,wholeWords:i}={}){const{editor:n}=this,{model:r}=n;let s;"string"==typeof e?(s=$(e,{matchCase:t,wholeWords:i}),this._state.searchText=e):s=e;const o=r.document.getRootNames().reduce(((e,t)=>P(r.createRangeIn(r.document.getRoot(t)),r,s,e)),null);return this._state.clear(r),this._state.results.addMany(Array.from(o)),this._state.highlightedResult=o.get(0),"string"==typeof e&&(this._state.searchText=e),this._state.matchCase=!!t,this._state.matchWholeWords=!!i,{results:o,findCallback:s}}}class L extends e.Command{constructor(e,t){super(e),this.isEnabled=!0,this._state=t}execute(e,t){const{model:i}=this.editor;i.change((n=>{const r=t.marker.getRange();if("$graveyard"===r.root.rootName)return void this._state.results.remove(t);let s={};for(const e of r.getItems())if(e.is("$text")||e.is("$textProxy")){s=e.getAttributes();break}i.insertContent(n.createText(e,s),r),this._state.results.has(t)&&this._state.results.remove(t)}))}}class Z extends L{execute(e,t){const{editor:i}=this,{model:n}=i,s=t instanceof r.Collection?t:n.document.getRootNames().reduce(((e,i)=>P(n.createRangeIn(n.document.getRoot(i)),n,$(t,this._state),e)),null);s.length&&n.change((()=>{[...s].forEach((t=>{super.execute(e,t)}))}))}}class z extends e.Command{constructor(e,t){super(e),this.affectsData=!1,this._state=t,this.isEnabled=!1,this.listenTo(this._state.results,"change",(()=>{this.isEnabled=this._state.results.length>1}))}refresh(){this.isEnabled=this._state.results.length>1}execute(){const e=this._state.results,t=e.getIndex(this._state.highlightedResult),i=t+1>=e.length?0:t+1;this._state.highlightedResult=this._state.results.get(i)}}class K extends z{execute(){const e=this._state.results.getIndex(this._state.highlightedResult),t=e-1<0?this._state.results.length-1:e-1;this._state.highlightedResult=this._state.results.get(t)}}class Y{constructor(e){this.set("results",new r.Collection),this.set("highlightedResult",null),this.set("searchText",""),this.set("replaceText",""),this.set("matchCase",!1),this.set("matchWholeWords",!1),this.results.on("change",((t,{removed:i,index:n})=>{if((i=Array.from(i)).length){let t=!1;if(e.change((n=>{for(const r of i)this.highlightedResult===r&&(t=!0),e.markers.has(r.marker.name)&&n.removeMarker(r.marker)})),t){const e=n>=this.results.length?0:n;this.highlightedResult=this.results.get(e)}}}))}clear(e){this.searchText="",e.change((t=>{if(this.highlightedResult){const i=this.highlightedResult.marker.name.split(":")[1],n=e.markers.get(`findResultHighlighted:${i}`);n&&t.removeMarker(n)}[...this.results].forEach((({marker:e})=>{t.removeMarker(e)}))})),this.results.clear()}}function U(e){return"[object Range]"==Object.prototype.toString.apply(e)}function q(e){const t=Object.prototype.toString.apply(e);return"[object Window]"==t||"[object global]"==t}function G(e){return"[object Text]"==Object.prototype.toString.call(e)}(0,r.mix)(Y,r.ObservableMixin);const J=function(e,t){return function(i){return e(t(i))}}(Object.getPrototypeOf,Object);var X=Function.prototype,Q=Object.prototype,ee=X.toString,te=Q.hasOwnProperty,ie=ee.call(Object);const ne=function(e){if(!E(e)||"[object Object]"!=I(e))return!1;var t=J(e);if(null===t)return!0;var i=te.call(t,"constructor")&&t.constructor;return"function"==typeof i&&i instanceof i&&ee.call(i)==ie};const re=function(e){return E(e)&&1===e.nodeType&&!ne(e)},se=["top","right","bottom","left","width","height"];class oe{constructor(e){const t=U(e);if(Object.defineProperty(this,"_source",{value:e._source||e,writable:!0,enumerable:!1}),le(e)||t)if(t){const t=oe.getDomRangeRects(e);ae(this,oe.getBoundingRect(t))}else ae(this,e.getBoundingClientRect());else if(q(e)){const{innerWidth:t,innerHeight:i}=e;ae(this,{top:0,right:t,bottom:i,left:0,width:t,height:i})}else ae(this,e)}clone(){return new oe(this)}moveTo(e,t){return this.top=t,this.right=e+this.width,this.bottom=t+this.height,this.left=e,this}moveBy(e,t){return this.top+=t,this.right+=e,this.left+=e,this.bottom+=t,this}getIntersection(e){const t={top:Math.max(this.top,e.top),right:Math.min(this.right,e.right),bottom:Math.min(this.bottom,e.bottom),left:Math.max(this.left,e.left),width:0,height:0};return t.width=t.right-t.left,t.height=t.bottom-t.top,t.width<0||t.height<0?null:new oe(t)}getIntersectionArea(e){const t=this.getIntersection(e);return t?t.getArea():0}getArea(){return this.width*this.height}getVisible(){const e=this._source;let t=this.clone();if(!ce(e)){let i=e.parentNode||e.commonAncestorContainer;for(;i&&!ce(i);){const e=new oe(i),n=t.getIntersection(e);if(!n)return null;n.getArea()<t.getArea()&&(t=n),i=i.parentNode}}return t}isEqual(e){for(const t of se)if(this[t]!==e[t])return!1;return!0}contains(e){const t=this.getIntersection(e);return!(!t||!t.isEqual(e))}excludeScrollbarsAndBorders(){const e=this._source;let t,i,n;if(q(e))t=e.innerWidth-e.document.documentElement.clientWidth,i=e.innerHeight-e.document.documentElement.clientHeight,n=e.getComputedStyle(e.document.documentElement).direction;else{const r=function(e){const t=e.ownerDocument.defaultView.getComputedStyle(e);return{top:parseInt(t.borderTopWidth,10),right:parseInt(t.borderRightWidth,10),bottom:parseInt(t.borderBottomWidth,10),left:parseInt(t.borderLeftWidth,10)}}(e);t=e.offsetWidth-e.clientWidth-r.left-r.right,i=e.offsetHeight-e.clientHeight-r.top-r.bottom,n=e.ownerDocument.defaultView.getComputedStyle(e).direction,this.left+=r.left,this.top+=r.top,this.right-=r.right,this.bottom-=r.bottom,this.width=this.right-this.left,this.height=this.bottom-this.top}return this.width-=t,"ltr"===n?this.right-=t:this.left+=t,this.height-=i,this.bottom-=i,this}static getDomRangeRects(e){const t=[],i=Array.from(e.getClientRects());if(i.length)for(const e of i)t.push(new oe(e));else{let i=e.startContainer;G(i)&&(i=i.parentNode);const n=new oe(i.getBoundingClientRect());n.right=n.left,n.width=0,t.push(n)}return t}static getBoundingRect(e){const t={left:Number.POSITIVE_INFINITY,top:Number.POSITIVE_INFINITY,right:Number.NEGATIVE_INFINITY,bottom:Number.NEGATIVE_INFINITY,width:0,height:0};let i=0;for(const n of e)i++,t.left=Math.min(t.left,n.left),t.top=Math.min(t.top,n.top),t.right=Math.max(t.right,n.right),t.bottom=Math.max(t.bottom,n.bottom);return 0==i?null:(t.width=t.right-t.left,t.height=t.bottom-t.top,new oe(t))}}function ae(e,t){for(const i of se)e[i]=t[i]}function ce(e){return!!le(e)&&e===e.ownerDocument.body}function le(e){return re(e)}function de(e,t,i){const n=t.clone().moveBy(0,i),r=t.clone().moveBy(0,-i),s=new oe(e).excludeScrollbarsAndBorders();if(![r,n].every((e=>s.contains(e)))){let{scrollX:o,scrollY:a}=e;ue(r,s)?a-=s.top-t.top+i:fe(n,s)&&(a+=t.bottom-s.bottom+i),pe(t,s)?o-=s.left-t.left+i:me(t,s)&&(o+=t.right-s.right+i),e.scrollTo(o,a)}}function he(e,t){const i=ge(e);let n,r;for(;e!=i.document.body;)r=t(),n=new oe(e).excludeScrollbarsAndBorders(),n.contains(r)||(ue(r,n)?e.scrollTop-=n.top-r.top:fe(r,n)&&(e.scrollTop+=r.bottom-n.bottom),pe(r,n)?e.scrollLeft-=n.left-r.left:me(r,n)&&(e.scrollLeft+=r.right-n.right)),e=e.parentNode}function fe(e,t){return e.bottom>t.bottom}function ue(e,t){return e.top<t.top}function pe(e,t){return e.left<t.left}function me(e,t){return e.right>t.right}function ge(e){return U(e)?e.startContainer.ownerDocument.defaultView:e.ownerDocument.defaultView}function ke(e){if(U(e)){let t=e.commonAncestorContainer;return G(t)&&(t=t.parentNode),t}return e.parentNode}function we(e,t){const i=ge(e),n=new oe(e);if(i===t)return n;{let e=i;for(;e!=t;){const t=e.frameElement,i=new oe(t).excludeScrollbarsAndBorders();n.moveBy(i.left,i.top),e=e.parent}}return n}const be=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)};const _e=function(){return g.Date.now()};var ve=/\s/;const xe=function(e){for(var t=e.length;t--&&ve.test(e.charAt(t)););return t};var ye=/^\s+/;const Te=function(e){return e?e.slice(0,xe(e)+1).replace(ye,""):e};var Re=/^[-+]0x[0-9a-f]+$/i,Ve=/^0b[01]+$/i,Ce=/^0o[0-7]+$/i,Ie=parseInt;const Ee=function(e){if("number"==typeof e)return e;if(F(e))return NaN;if(be(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=be(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=Te(e);var i=Ve.test(e);return i||Ce.test(e)?Ie(e.slice(2),i?2:8):Re.test(e)?NaN:+e};var Fe=Math.max,Ne=Math.min;const Be=function(e,t,i){var n,r,s,o,a,c,l=0,d=!1,h=!1,f=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function u(t){var i=n,s=r;return n=r=void 0,l=t,o=e.apply(s,i)}function p(e){return l=e,a=setTimeout(g,t),d?u(e):o}function m(e){var i=e-c;return void 0===c||i>=t||i<0||h&&e-l>=s}function g(){var e=_e();if(m(e))return k(e);a=setTimeout(g,function(e){var i=t-(e-c);return h?Ne(i,s-(e-l)):i}(e))}function k(e){return a=void 0,f&&n?u(e):(n=r=void 0,o)}function w(){var e=_e(),i=m(e);if(n=arguments,r=this,c=e,i){if(void 0===a)return p(c);if(h)return clearTimeout(a),a=setTimeout(g,t),u(c)}return void 0===a&&(a=setTimeout(g,t)),o}return t=Ee(t)||0,be(i)&&(d=!!i.leading,s=(h="maxWait"in i)?Fe(Ee(i.maxWait)||0,t):s,f="trailing"in i?!!i.trailing:f),w.cancel=function(){void 0!==a&&clearTimeout(a),l=0,n=c=r=a=void 0},w.flush=function(){return void 0===a?o:k(_e())},w};var Ae=i(299),Oe={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};o()(Ae.Z,Oe);Ae.Z.locals;class Se extends e.Plugin{static get pluginName(){return"FindAndReplaceEditing"}init(){this._activeResults=null,this.state=new Y(this.editor.model),this._defineConverters(),this._defineCommands(),this.listenTo(this.state,"change:highlightedResult",((e,t,i,n)=>{const{model:r}=this.editor;r.change((e=>{if(n){const t=n.marker.name.split(":")[1],i=r.markers.get(`findResultHighlighted:${t}`);i&&e.removeMarker(i)}if(i){const t=i.marker.name.split(":")[1];e.addMarker(`findResultHighlighted:${t}`,{usingOperation:!1,affectsData:!1,range:i.marker.getRange()})}}))}));const e=Be(function(e,t,i){if(i){const e=this.editor.editing.view.domConverter,t=this.editor.editing.mapper.toViewRange(i.marker.getRange());!function({target:e,viewportOffset:t=0}){const i=ge(e);let n=i,r=null;for(;n;){let s;s=ke(n==i?e:r),he(s,(()=>we(e,n)));const o=we(e,n);if(de(n,o,t),n.parent!=n){if(r=n.frameElement,n=n.parent,!r)return}else n=null}}({target:e.viewRangeToDom(t),viewportOffset:40})}}.bind(this),32);this.listenTo(this.state,"change:highlightedResult",e,{priority:"low"}),this.listenTo(this.editor,"destroy",e.cancel)}find(e){const{editor:t}=this,{model:i}=t,{findCallback:n,results:r}=t.execute("find",e);return this._activeResults=r,this.listenTo(i.document,"change:data",(()=>function(e,t,i){const n=new Set,r=new Set;t.document.differ.getChanges().forEach((e=>{"$text"===e.name||t.schema.isInline(e.position.nodeAfter)?(n.add(e.position.parent),[...t.markers.getMarkersAtPosition(e.position)].forEach((e=>{r.add(e.name)}))):"insert"===e.type&&n.add(e.position.nodeAfter)})),t.document.differ.getChangedMarkers().forEach((({name:e,data:{newRange:t}})=>{t&&"$graveyard"===t.start.root.rootName&&r.add(e)})),n.forEach((e=>{[...t.markers.getMarkersIntersectingRange(t.createRangeIn(e))].forEach((e=>r.add(e.name)))})),t.change((t=>{r.forEach((i=>{e.has(i)&&e.remove(i),t.removeMarker(i)}))})),n.forEach((n=>{P(t.createRangeOn(n),t,i,e)}))}(this._activeResults,i,n))),this._activeResults}stop(){this._activeResults&&(this.stopListening(this.editor.model.document),this.state.clear(this.editor.model),this._activeResults=null)}_defineCommands(){this.editor.commands.add("find",new H(this.editor,this.state)),this.editor.commands.add("findNext",new z(this.editor,this.state)),this.editor.commands.add("findPrevious",new K(this.editor,this.state)),this.editor.commands.add("replace",new L(this.editor,this.state)),this.editor.commands.add("replaceAll",new Z(this.editor,this.state))}_defineConverters(){const{editor:e}=this;e.conversion.for("editingDowncast").markerToHighlight({model:"findResult",view:({markerName:e})=>{const[,t]=e.split(":");return{name:"span",classes:["ck-find-result"],attributes:{"data-find-result":t}}}}),e.conversion.for("editingDowncast").markerToHighlight({model:"findResultHighlighted",view:({markerName:e})=>{const[,t]=e.split(":");return{name:"span",classes:["ck-find-result_selected"],attributes:{"data-find-result":t}}}})}}class je extends e.Plugin{static get requires(){return[Se,u]}static get pluginName(){return"FindAndReplace"}init(){const e=this.editor.plugins.get("FindAndReplaceUI"),t=this.editor.plugins.get("FindAndReplaceEditing"),i=t.state;e.on("findNext",((e,t)=>{t?(i.searchText=t.searchText,this.editor.execute("find",t.searchText,t)):this.editor.execute("findNext")})),e.on("findPrevious",((e,t)=>{t&&i.searchText!==t.searchText?this.editor.execute("find",t.searchText):this.editor.execute("findPrevious")})),e.on("replace",((e,t)=>{i.searchText!==t.searchText&&this.editor.execute("find",t.searchText);const n=i.highlightedResult;n&&this.editor.execute("replace",t.replaceText,n)})),e.on("replaceAll",((e,t)=>{i.searchText!==t.searchText&&this.editor.execute("find",t.searchText),this.editor.execute("replaceAll",t.replaceText,i.results)})),e.on("searchReseted",(()=>{i.clear(this.editor.model),t.stop()}))}}})(),(window.CKEditor5=window.CKEditor5||{}).findAndReplace=n})();
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
!function(e){const t=e.ar=e.ar||{};t.dictionary=Object.assign(t.dictionary||{},{Find:"البحث","Find and replace":"البحث والاستبدال","Find in text…":"البحث في النص...","Match case":"مطابقة حالة الأحرف","Next result":"النتيجة التالية","Previous result":"النتيجة السابقة",Replace:"استبدال","Replace all":"استبدال الكل","Replace with…":"استبدال بـ...","Show options":"عرض الخيارات","Text to find must not be empty.":"لا يمكن لبيان النص المطلوب البحث عنه أن يكون فارغاً.","Tip: Find some text first in order to replace it.":"نصيحة: في البداية، ابحث عن جزء من النص؛ لتتمكن من استبداله. ","Whole words only":"الكلمات بأكملها فقط"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
!function(e){const t=e.bg=e.bg||{};t.dictionary=Object.assign(t.dictionary||{},{Find:"Намери","Find and replace":"Намери и замени","Find in text…":"Намери в текста...","Match case":"Сравни съвпадащ шрифт","Next result":"Следващ резултат","Previous result":"Предишен резултат",Replace:"Замени","Replace all":"Замени всички","Replace with…":"Замени с...","Show options":"Покажи опции","Text to find must not be empty.":"Текстът за намиране не трябва да е празен.","Tip: Find some text first in order to replace it.":"Съвет: Първо намерете някакъв текст, за да го замените.","Whole words only":"Само цели думи"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
!function(e){const t=e.bn=e.bn||{};t.dictionary=Object.assign(t.dictionary||{},{Find:"খুঁজুন ","Find and replace":"অনুসন্ধান ও প্রতিস্থাপন করুন","Find in text…":"টেক্সটে খুঁজুন…","Match case":"ম্যাচ কেস","Next result":"পরবর্তী ফলাফল","Previous result":"পূর্ববর্তী ফলাফল",Replace:"প্রতিস্থাপন করুন","Replace all":"সব প্রতিস্থাপন","Replace with…":"এর সাথে প্রতিস্থাপন...","Show options":"অপশন দেখান","Text to find must not be empty.":"খুঁজে পেতে টেক্সট খালি হওয়া উচিত নয়।","Tip: Find some text first in order to replace it.":"পরামর্শঃ এটি প্রতিস্থাপন করতে প্রথমে কিছু টেক্সট খুঁজুন।","Whole words only":"শুধুমাত্র পুরো শব্দ"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
!function(t){const e=t.ca=t.ca||{};e.dictionary=Object.assign(e.dictionary||{},{Find:"Trobar","Find and replace":"Trobar i substituir","Find in text…":"Trobar al text...","Match case":"Coincidència de majúscules i minúscules","Next result":"Següent resultat","Previous result":"Resultat anterior",Replace:"Substituir","Replace all":"Substituir-ho tot","Replace with…":"Substituir per...","Show options":"Mostrar opcions","Text to find must not be empty.":"El text per cercar no pot estar buit.","Tip: Find some text first in order to replace it.":"Consell: Troba primer un text per substituir-lo.","Whole words only":"Només paraules senceres"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
package/build/translations/da.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(
|
|
1
|
+
!function(e){const t=e.da=e.da||{};t.dictionary=Object.assign(t.dictionary||{},{Find:"Find","Find and replace":"Søg og erstat","Find in text…":"Find i tekst...","Match case":"Skeln mellem store og små bogstaver","Next result":"Næste","Previous result":"Forrige",Replace:"Erstat","Replace all":"Erstatte alle","Replace with…":"Erstat med...","Show options":"Vis muligheder","Text to find must not be empty.":"Tekst der skal findes, må ikke være tom.","Tip: Find some text first in order to replace it.":"Tip: Find først noget tekst, for at erstatte det.","Whole words only":"Kun hele ord"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
!function(t){const e=t.et=t.et||{};e.dictionary=Object.assign(e.dictionary||{},{Find:"Otsi","Find and replace":"Otsi ja asenda","Find in text…":"Otsi tekstist...","Match case":"Erista juhtumit","Next result":"Järgmine tulemus","Previous result":"Eelmine tulemus",Replace:"Asenda","Replace all":"Asenda kõik","Replace with…":"Asenda...","Show options":"Näita valikuid","Text to find must not be empty.":"Otsitav tekst ei tohi tühi olla.","Tip: Find some text first in order to replace it.":"Otsi esmalt tekst, mida asendada.","Whole words only":"Ainult terviksõnad"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
!function(a){const t=a.fi=a.fi||{};t.dictionary=Object.assign(t.dictionary||{},{Find:"Etsi","Find and replace":"Etsi ja korvaa","Find in text…":"Etsi tekstissä…","Match case":"Hae tapaukselle vastapari","Next result":"Seuraava tulos","Previous result":"Edellinen tulos",Replace:"Korvaa","Replace all":"Korvaa kaikki","Replace with…":"Korvaa tällä…","Show options":"Näytä vaihtoehdot","Text to find must not be empty.":"Haettava teksti ei saa olla tyhjä.","Tip: Find some text first in order to replace it.":"Vinkki: hae ensin teksti korvataksesi sen.","Whole words only":"Vain kokonaisia sanoja"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
!function(e){const t=e.fr=e.fr||{};t.dictionary=Object.assign(t.dictionary||{},{Find:"Rechercher","Find and replace":"Rechercher et remplacer","Find in text…":"Rechercher dans le texte...","Match case":"Sensible à la casse","Next result":"Résultat suivant","Previous result":"Résultat précédent",Replace:"Remplacer","Replace all":"Remplacer tout","Replace with…":"Remplacer par ...","Show options":"Afficher les options","Text to find must not be empty.":"L'expression à rechercher ne doit pas être vide","Tip: Find some text first in order to replace it.":"Astuce : rechercher une expression afin de la remplacer","Whole words only":"Mots entiers uniquement"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
!function(e){const t=e.he=e.he||{};t.dictionary=Object.assign(t.dictionary||{},{Find:"חיפוש","Find and replace":"חיפוש והחלפה","Find in text…":"חיפוש בטקסט","Match case":"התאם רישיות","Next result":"התוצאה הבאה","Previous result":"התוצאה הקודמת",Replace:"החלף","Replace all":"החלף הכל","Replace with…":"החלף ב…","Show options":"הצגת אפשרויות","Text to find must not be empty.":"הטקסט לחיפוש לא יכול להיות ריק.","Tip: Find some text first in order to replace it.":"טיפ: מצאו תחילה טקסט כדי להחליף אותו.","Whole words only":"מילים שלמות בלבד"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
!function(e){const i=e.hi=e.hi||{};i.dictionary=Object.assign(i.dictionary||{},{Find:"ढूँढें","Find and replace":"ढूँढें और बदलें","Find in text…":"टेक्स्ट में ढूंढें…","Match case":"केस मैच करें","Next result":"अगला रेज़ल्ट","Previous result":"पिछला रेज़ल्ट",Replace:"बदलें","Replace all":"सब बदल दें","Replace with…":"...के साथ बदलें","Show options":"विकल्प दिखाएं","Text to find must not be empty.":"खोजने के लिए टेक्स्ट खाली नहीं होना चाहिए.","Tip: Find some text first in order to replace it.":"टिप:उसे बदलने के लिए पहले कुछ वह टेक्स्ट खोजें.","Whole words only":"केवल पूरे शब्द"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
package/build/translations/id.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(
|
|
1
|
+
!function(a){const i=a.id=a.id||{};i.dictionary=Object.assign(i.dictionary||{},{Find:"Cari","Find and replace":"Cari dan ubah","Find in text…":"Cari di dalam teks...","Match case":"Sesuaikan huruf","Next result":"Hasil berikutnya","Previous result":"Hasil sebelumnya",Replace:"Ubah","Replace all":"Ubah semua","Replace with…":"Ubah dengan...","Show options":"Tampilkan opsi","Text to find must not be empty.":"Teks yang dicari tidak boleh kosong.","Tip: Find some text first in order to replace it.":"Tip: Cari suatu teks terlebih dahulu untuk menggantinya.","Whole words only":"Kata utuh saja"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
!function(e){const t=e.ja=e.ja||{};t.dictionary=Object.assign(t.dictionary||{},{Find:"見つける","Find and replace":"検索して置換","Find in text…":"テキスト内を検索...","Match case":"マッチケース","Next result":"次の結果","Previous result":"前の結果",Replace:"置換","Replace all":"全てを置換","Replace with…":"こちらと置換...","Show options":"オプションを表示","Text to find must not be empty.":"検索対象テキスト欄は空白にできません。","Tip: Find some text first in order to replace it.":"ヒント:置換するには、対象テキストを先に検索してください。","Whole words only":"単語全体のみ"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
!function(e){const t=e.ko=e.ko||{};t.dictionary=Object.assign(t.dictionary||{},{Find:"찾기","Find and replace":"찾기 및 바꾸기","Find in text…":"텍스트에서 찾기...","Match case":"대/소문자 구분","Next result":"다음 결과","Previous result":"이전 결과",Replace:"바꾸기","Replace all":"모두 바꾸기","Replace with…":"바꿀 내용...","Show options":"옵션 보기","Text to find must not be empty.":"찾을 텍스트를 입력해야 합니다.","Tip: Find some text first in order to replace it.":"팁: 바꾸려는 텍스트를 먼저 찾으세요.","Whole words only":"전체 단어만"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
!function(i){const t=i.lt=i.lt||{};t.dictionary=Object.assign(t.dictionary||{},{Find:"Surasti","Find and replace":"Rasti ir pakeisti","Find in text…":"Surasti tekste...","Match case":"Sutapties atvejis","Next result":"Kitas rezultatas","Previous result":"Buvęs rezultatas",Replace:"Pakeisti","Replace all":"Pakeisti visus","Replace with…":"Sukeisti su...","Show options":"Rodyti pasirinkimus","Text to find must not be empty.":"Ieškomas tekstas negali būti tuščias.","Tip: Find some text first in order to replace it.":"Patarimas: Pirmiausiai suraskite teksto, jog jį sukeistumėte.","Whole words only":"Tik vientisus žodžius"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
!function(a){const n=a.ms=a.ms||{};n.dictionary=Object.assign(n.dictionary||{},{Find:"Cari","Find and replace":"Cari dan ganti","Find in text…":"Cari dalam teks...","Match case":"Sesuaikan kes","Next result":"Keputusan seterusnya","Previous result":"Keputusan sebelumnya",Replace:"Ganti","Replace all":"Ganti semua","Replace with…":"Gantikan dengan...","Show options":"Tunjukkan pilihan","Text to find must not be empty.":"Teks yang hendak dicari tidak boleh ditinggalkan kosong.","Tip: Find some text first in order to replace it.":"Petua: Cari teks terlebih dahulu untuk menggantikannya.","Whole words only":"Perkataan penuh sahaja"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
package/build/translations/no.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(t){const e=t.no=t.no||{};e.dictionary=Object.assign(e.dictionary||{},{Find:"Søk","Find and replace":"Søk og erstatt","Find in text…":"Søk i tekst","Match case":"","Next result":"Neste resultat","Previous result":"Forrige resultat",Replace:"Erstatt","Replace all":"Erstatt alt","Replace with…":"","Show options":"","Text to find must not be empty.":"","Tip: Find some text first in order to replace it.":"","Whole words only":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
|
1
|
+
!function(t){const e=t.no=t.no||{};e.dictionary=Object.assign(e.dictionary||{},{Find:"Søk","Find and replace":"Søk og erstatt","Find in text…":"Søk i tekst","Match case":"Skill mellom store og små bokstaver","Next result":"Neste resultat","Previous result":"Forrige resultat",Replace:"Erstatt","Replace all":"Erstatt alt","Replace with…":"Erstatt med …","Show options":"Vis alternativer","Text to find must not be empty.":"Teksten som skal finnes må ikke være tom","Tip: Find some text first in order to replace it.":"Tips: Finn noe tekst først for å kunne erstatte den.","Whole words only":"Kun hele ord"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
!function(t){const o=t.pt=t.pt||{};o.dictionary=Object.assign(o.dictionary||{},{Find:"Encontrar","Find and replace":"Encontrar e substituir","Find in text…":"Encontrar no texto...","Match case":"Corresponder maiúsculas/minúsculas","Next result":"Próximo resultado","Previous result":"Resultado anterior",Replace:"Substituir","Replace all":"Substituir todos","Replace with…":"Substituir com...","Show options":"Mostrar opções","Text to find must not be empty.":"O texto a pesquisar não pode estar vazio.","Tip: Find some text first in order to replace it.":"Dica: Encontre algum texto primeiro para poder substituí-lo.","Whole words only":"Apenas palavras inteiras"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
!function(i){const e=i.ro=i.ro||{};e.dictionary=Object.assign(e.dictionary||{},{Find:"Găsire","Find and replace":"Găsire și înlocuire","Find in text…":"Găsire în text...","Match case":"Potrivire litere mari și mici","Next result":"Rezultatul următor","Previous result":"Rezultatul anterior",Replace:"Înlocuire","Replace all":"Înlocuire toate","Replace with…":"Înlocuire cu...","Show options":"Afișare opțiuni","Text to find must not be empty.":"„Text de găsit” nu poate fi lăsat gol.","Tip: Find some text first in order to replace it.":"Sfat: Mai întâi găsiți textul pentru a-l înlocui.","Whole words only":"Doar cuvinte întregi"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
package/build/translations/ru.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(e){const t=e.ru=e.ru||{};t.dictionary=Object.assign(t.dictionary||{},{Find:"Найти","Find and replace":"Найти и заменить","Find in text…":"Найти в тексте","Match case":"С учетом регистра","Next result":"Следующий результат","Previous result":"Предыдущий результат",Replace:"Заменить","Replace all":"Заменить всё","Replace with…":"Заменить на...","Show options":"","Text to find must not be empty.":"","Tip: Find some text first in order to replace it.":"","Whole words only":"Только слова целиком"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
|
1
|
+
!function(e){const t=e.ru=e.ru||{};t.dictionary=Object.assign(t.dictionary||{},{Find:"Найти","Find and replace":"Найти и заменить","Find in text…":"Найти в тексте","Match case":"С учетом регистра","Next result":"Следующий результат","Previous result":"Предыдущий результат",Replace:"Заменить","Replace all":"Заменить всё","Replace with…":"Заменить на...","Show options":"Показать опции","Text to find must not be empty.":"Искомый текст не должен быть пустым.","Tip: Find some text first in order to replace it.":"Совет: сначала найдите текст, чтобы заменить его.","Whole words only":"Только слова целиком"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
!function(t){const e=t.sv=t.sv||{};e.dictionary=Object.assign(e.dictionary||{},{Find:"Hitta","Find and replace":"Hitta och ersätt","Find in text…":"Hitta i text ...","Match case":"Matcha versaler","Next result":"Nästa träff","Previous result":"Föregående träff",Replace:"Ersätt","Replace all":"Ersätt alla","Replace with…":"Ersätt med ...","Show options":"Visa alternativ","Text to find must not be empty.":"Text att hitta får inte vara tom.","Tip: Find some text first in order to replace it.":"Tips: Hitta någon text först för att ersätta den.","Whole words only":"Enbart hela ord"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
!function(t){const e=t.th=t.th||{};e.dictionary=Object.assign(e.dictionary||{},{Find:"ค้นหา","Find and replace":"ค้นหาและแทนที่","Find in text…":"ค้นหาในข้อความ...","Match case":"ตัวใหญ่-เล็ก ตรงกัน","Next result":"ผลลัพธ์ถัดไป","Previous result":"ผลลัพธ์ก่อนหน้านี้",Replace:"แทนที่","Replace all":"แทนที่ทั้งหมด","Replace with…":"แทนที่ด้วย...","Show options":"แสดงตัวเลือก","Text to find must not be empty.":"ข้อความที่จะค้นหาต้องไม่ว่างเปล่า","Tip: Find some text first in order to replace it.":"เคล็ดลับ: ค้นหาข้อความบางอย่างก่อนจึงจะแทนที่ได้","Whole words only":"ตรงกันทุกตัวอักษร"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
!function(e){const i=e.tr=e.tr||{};i.dictionary=Object.assign(i.dictionary||{},{Find:"Bul","Find and replace":"Bul ve değiştir","Find in text…":"Metinde bul...","Match case":"Büyük küçük harfe duyarlı","Next result":"Sonraki sonuç","Previous result":"Önceki sonuç",Replace:"Değiştir","Replace all":"Hepsini değiştir","Replace with…":"Şununla değiştir...","Show options":"Seçenekleri göster","Text to find must not be empty.":"Bulunacak metin boş bırakılmamalıdır.","Tip: Find some text first in order to replace it.":"İpucu: Değiştirmek için önce bir metin bul.","Whole words only":"Sadece bütün kelimeler"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
!function(e){const t=e.uk=e.uk||{};t.dictionary=Object.assign(t.dictionary||{},{Find:"Знайти","Find and replace":"Знайти та замінити","Find in text…":"Знайти в тексті…","Match case":"Врахувати регістр","Next result":"Наступний результат","Previous result":"Попередній результат",Replace:"Замінити","Replace all":"Замінити все","Replace with…":"Замінити…","Show options":"Показати параметри","Text to find must not be empty.":"Текст для пошуку не повинен бути порожнім.","Tip: Find some text first in order to replace it.":"Порада: спочатку знайдіть текст, щоб замінити його.","Whole words only":"Тільки цілі слова"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
!function(t){const n=t.vi=t.vi||{};n.dictionary=Object.assign(n.dictionary||{},{Find:"Tìm","Find and replace":"Tìm và thay thế","Find in text…":"Tìm trong văn bản...","Match case":"Khớp chữ hoa/chữ thường","Next result":"Kết quả tiếp theo","Previous result":"Kết quả trước",Replace:"Thay thế","Replace all":"Thay thế tất cả","Replace with…":"Thay thế bằng...","Show options":"Hiển thị tùy chọn","Text to find must not be empty.":"Không được để trống trường văn bản cần tìm.","Tip: Find some text first in order to replace it.":"Mẹo: Tìm một đoạn văn bản trước để thay thế.","Whole words only":"Chỉ toàn bộ từ"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
package/build/translations/zh.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(e){const t=e.zh=e.zh||{};t.dictionary=Object.assign(t.dictionary||{},{Find:"尋找","Find and replace":"尋找和取代","Find in text…":"在文本中尋找","Match case":"大小寫需相符","Next result":"後一個結果","Previous result":"前一個結果",Replace:"取代","Replace all":"全部取代","Replace with…":"以…替代","Show options":"顯示設定","Text to find must not be empty.":"不能查找空字串","Tip: Find some text first in order to replace it.":"提示:先查找字串再取代","Whole words only":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
|
1
|
+
!function(e){const t=e.zh=e.zh||{};t.dictionary=Object.assign(t.dictionary||{},{Find:"尋找","Find and replace":"尋找和取代","Find in text…":"在文本中尋找","Match case":"大小寫需相符","Next result":"後一個結果","Previous result":"前一個結果",Replace:"取代","Replace all":"全部取代","Replace with…":"以…替代","Show options":"顯示設定","Text to find must not be empty.":"不能查找空字串","Tip: Find some text first in order to replace it.":"提示:先查找字串再取代","Whole words only":"僅全字拼寫"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
# Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
|
|
2
|
+
#
|
|
3
|
+
# !!! IMPORTANT !!!
|
|
4
|
+
#
|
|
5
|
+
# Before you edit this file, please keep in mind that contributing to the project
|
|
6
|
+
# translations is possible ONLY via the Transifex online service.
|
|
7
|
+
#
|
|
8
|
+
# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5.
|
|
9
|
+
#
|
|
10
|
+
# To learn more, check out the official contributor's guide:
|
|
11
|
+
# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
|
|
12
|
+
#
|
|
13
|
+
msgid ""
|
|
14
|
+
msgstr ""
|
|
15
|
+
"Language-Team: Arabic (https://www.transifex.com/ckeditor/teams/11143/ar/)\n"
|
|
16
|
+
"Language: ar\n"
|
|
17
|
+
"Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 && n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n"
|
|
18
|
+
|
|
19
|
+
msgctxt "The tooltip of a find and replace button in the toolbar. Also, the title of the find and replace form."
|
|
20
|
+
msgid "Find and replace"
|
|
21
|
+
msgstr "البحث والاستبدال"
|
|
22
|
+
|
|
23
|
+
msgctxt "The label for the searched text in the find and replace dropdown."
|
|
24
|
+
msgid "Find in text…"
|
|
25
|
+
msgstr "البحث في النص..."
|
|
26
|
+
|
|
27
|
+
msgctxt "The label for the find action button in the find and replace dropdown."
|
|
28
|
+
msgid "Find"
|
|
29
|
+
msgstr "البحث"
|
|
30
|
+
|
|
31
|
+
msgctxt "The label for the previous result button in the find and replace dropdown."
|
|
32
|
+
msgid "Previous result"
|
|
33
|
+
msgstr "النتيجة السابقة"
|
|
34
|
+
|
|
35
|
+
msgctxt "The label for the previous result button in the find and replace dropdown."
|
|
36
|
+
msgid "Next result"
|
|
37
|
+
msgstr "النتيجة التالية"
|
|
38
|
+
|
|
39
|
+
msgctxt "The label for the (single) replace action button in the find and replace dropdown."
|
|
40
|
+
msgid "Replace"
|
|
41
|
+
msgstr "استبدال"
|
|
42
|
+
|
|
43
|
+
msgctxt "The label for the replace all action button in the find and replace dropdown."
|
|
44
|
+
msgid "Replace all"
|
|
45
|
+
msgstr "استبدال الكل"
|
|
46
|
+
|
|
47
|
+
msgctxt "The label for the match case checkbox in the find and replace dropdown."
|
|
48
|
+
msgid "Match case"
|
|
49
|
+
msgstr "مطابقة حالة الأحرف"
|
|
50
|
+
|
|
51
|
+
msgctxt "The label for the whole words only checkbox in the find and replace dropdown."
|
|
52
|
+
msgid "Whole words only"
|
|
53
|
+
msgstr "الكلمات بأكملها فقط"
|
|
54
|
+
|
|
55
|
+
msgctxt "The label for the text replacement in the find and replace dropdown."
|
|
56
|
+
msgid "Replace with…"
|
|
57
|
+
msgstr "استبدال بـ..."
|
|
58
|
+
|
|
59
|
+
msgctxt "An error text displayed when user attempted to find an empty text."
|
|
60
|
+
msgid "Text to find must not be empty."
|
|
61
|
+
msgstr "لا يمكن لبيان النص المطلوب البحث عنه أن يكون فارغاً."
|
|
62
|
+
|
|
63
|
+
msgctxt "A message displayed next to the replace field when disabled but user tries to use it."
|
|
64
|
+
msgid "Tip: Find some text first in order to replace it."
|
|
65
|
+
msgstr "نصيحة: في البداية، ابحث عن جزء من النص؛ لتتمكن من استبداله. "
|
|
66
|
+
|
|
67
|
+
msgctxt "The label and a tooltip of the options dropdown button in the find and replace form."
|
|
68
|
+
msgid "Show options"
|
|
69
|
+
msgstr "عرض الخيارات"
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
# Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
|
|
2
|
+
#
|
|
3
|
+
# !!! IMPORTANT !!!
|
|
4
|
+
#
|
|
5
|
+
# Before you edit this file, please keep in mind that contributing to the project
|
|
6
|
+
# translations is possible ONLY via the Transifex online service.
|
|
7
|
+
#
|
|
8
|
+
# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5.
|
|
9
|
+
#
|
|
10
|
+
# To learn more, check out the official contributor's guide:
|
|
11
|
+
# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
|
|
12
|
+
#
|
|
13
|
+
msgid ""
|
|
14
|
+
msgstr ""
|
|
15
|
+
"Language-Team: Bulgarian (https://www.transifex.com/ckeditor/teams/11143/bg/)\n"
|
|
16
|
+
"Language: bg\n"
|
|
17
|
+
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
|
18
|
+
|
|
19
|
+
msgctxt "The tooltip of a find and replace button in the toolbar. Also, the title of the find and replace form."
|
|
20
|
+
msgid "Find and replace"
|
|
21
|
+
msgstr "Намери и замени"
|
|
22
|
+
|
|
23
|
+
msgctxt "The label for the searched text in the find and replace dropdown."
|
|
24
|
+
msgid "Find in text…"
|
|
25
|
+
msgstr "Намери в текста..."
|
|
26
|
+
|
|
27
|
+
msgctxt "The label for the find action button in the find and replace dropdown."
|
|
28
|
+
msgid "Find"
|
|
29
|
+
msgstr "Намери"
|
|
30
|
+
|
|
31
|
+
msgctxt "The label for the previous result button in the find and replace dropdown."
|
|
32
|
+
msgid "Previous result"
|
|
33
|
+
msgstr "Предишен резултат"
|
|
34
|
+
|
|
35
|
+
msgctxt "The label for the previous result button in the find and replace dropdown."
|
|
36
|
+
msgid "Next result"
|
|
37
|
+
msgstr "Следващ резултат"
|
|
38
|
+
|
|
39
|
+
msgctxt "The label for the (single) replace action button in the find and replace dropdown."
|
|
40
|
+
msgid "Replace"
|
|
41
|
+
msgstr "Замени"
|
|
42
|
+
|
|
43
|
+
msgctxt "The label for the replace all action button in the find and replace dropdown."
|
|
44
|
+
msgid "Replace all"
|
|
45
|
+
msgstr "Замени всички"
|
|
46
|
+
|
|
47
|
+
msgctxt "The label for the match case checkbox in the find and replace dropdown."
|
|
48
|
+
msgid "Match case"
|
|
49
|
+
msgstr "Сравни съвпадащ шрифт"
|
|
50
|
+
|
|
51
|
+
msgctxt "The label for the whole words only checkbox in the find and replace dropdown."
|
|
52
|
+
msgid "Whole words only"
|
|
53
|
+
msgstr "Само цели думи"
|
|
54
|
+
|
|
55
|
+
msgctxt "The label for the text replacement in the find and replace dropdown."
|
|
56
|
+
msgid "Replace with…"
|
|
57
|
+
msgstr "Замени с..."
|
|
58
|
+
|
|
59
|
+
msgctxt "An error text displayed when user attempted to find an empty text."
|
|
60
|
+
msgid "Text to find must not be empty."
|
|
61
|
+
msgstr "Текстът за намиране не трябва да е празен."
|
|
62
|
+
|
|
63
|
+
msgctxt "A message displayed next to the replace field when disabled but user tries to use it."
|
|
64
|
+
msgid "Tip: Find some text first in order to replace it."
|
|
65
|
+
msgstr "Съвет: Първо намерете някакъв текст, за да го замените."
|
|
66
|
+
|
|
67
|
+
msgctxt "The label and a tooltip of the options dropdown button in the find and replace form."
|
|
68
|
+
msgid "Show options"
|
|
69
|
+
msgstr "Покажи опции"
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
# Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
|
|
2
|
+
#
|
|
3
|
+
# !!! IMPORTANT !!!
|
|
4
|
+
#
|
|
5
|
+
# Before you edit this file, please keep in mind that contributing to the project
|
|
6
|
+
# translations is possible ONLY via the Transifex online service.
|
|
7
|
+
#
|
|
8
|
+
# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5.
|
|
9
|
+
#
|
|
10
|
+
# To learn more, check out the official contributor's guide:
|
|
11
|
+
# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
|
|
12
|
+
#
|
|
13
|
+
msgid ""
|
|
14
|
+
msgstr ""
|
|
15
|
+
"Language-Team: Bengali (https://www.transifex.com/ckeditor/teams/11143/bn/)\n"
|
|
16
|
+
"Language: bn\n"
|
|
17
|
+
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
|
18
|
+
|
|
19
|
+
msgctxt "The tooltip of a find and replace button in the toolbar. Also, the title of the find and replace form."
|
|
20
|
+
msgid "Find and replace"
|
|
21
|
+
msgstr "অনুসন্ধান ও প্রতিস্থাপন করুন"
|
|
22
|
+
|
|
23
|
+
msgctxt "The label for the searched text in the find and replace dropdown."
|
|
24
|
+
msgid "Find in text…"
|
|
25
|
+
msgstr "টেক্সটে খুঁজুন…"
|
|
26
|
+
|
|
27
|
+
msgctxt "The label for the find action button in the find and replace dropdown."
|
|
28
|
+
msgid "Find"
|
|
29
|
+
msgstr "খুঁজুন "
|
|
30
|
+
|
|
31
|
+
msgctxt "The label for the previous result button in the find and replace dropdown."
|
|
32
|
+
msgid "Previous result"
|
|
33
|
+
msgstr "পূর্ববর্তী ফলাফল"
|
|
34
|
+
|
|
35
|
+
msgctxt "The label for the previous result button in the find and replace dropdown."
|
|
36
|
+
msgid "Next result"
|
|
37
|
+
msgstr "পরবর্তী ফলাফল"
|
|
38
|
+
|
|
39
|
+
msgctxt "The label for the (single) replace action button in the find and replace dropdown."
|
|
40
|
+
msgid "Replace"
|
|
41
|
+
msgstr "প্রতিস্থাপন করুন"
|
|
42
|
+
|
|
43
|
+
msgctxt "The label for the replace all action button in the find and replace dropdown."
|
|
44
|
+
msgid "Replace all"
|
|
45
|
+
msgstr "সব প্রতিস্থাপন"
|
|
46
|
+
|
|
47
|
+
msgctxt "The label for the match case checkbox in the find and replace dropdown."
|
|
48
|
+
msgid "Match case"
|
|
49
|
+
msgstr "ম্যাচ কেস"
|
|
50
|
+
|
|
51
|
+
msgctxt "The label for the whole words only checkbox in the find and replace dropdown."
|
|
52
|
+
msgid "Whole words only"
|
|
53
|
+
msgstr "শুধুমাত্র পুরো শব্দ"
|
|
54
|
+
|
|
55
|
+
msgctxt "The label for the text replacement in the find and replace dropdown."
|
|
56
|
+
msgid "Replace with…"
|
|
57
|
+
msgstr "এর সাথে প্রতিস্থাপন..."
|
|
58
|
+
|
|
59
|
+
msgctxt "An error text displayed when user attempted to find an empty text."
|
|
60
|
+
msgid "Text to find must not be empty."
|
|
61
|
+
msgstr "খুঁজে পেতে টেক্সট খালি হওয়া উচিত নয়।"
|
|
62
|
+
|
|
63
|
+
msgctxt "A message displayed next to the replace field when disabled but user tries to use it."
|
|
64
|
+
msgid "Tip: Find some text first in order to replace it."
|
|
65
|
+
msgstr "পরামর্শঃ এটি প্রতিস্থাপন করতে প্রথমে কিছু টেক্সট খুঁজুন।"
|
|
66
|
+
|
|
67
|
+
msgctxt "The label and a tooltip of the options dropdown button in the find and replace form."
|
|
68
|
+
msgid "Show options"
|
|
69
|
+
msgstr "অপশন দেখান"
|