use self hosted packages

This commit is contained in:
2026-06-19 19:02:51 +03:30
parent e95883eb6a
commit dfb77cd8d2
2874 changed files with 40139 additions and 32 deletions
@@ -0,0 +1,25 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg width="16px" height="16px" viewBox="0 0 256 256" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>cursor_disabled</title>
<desc></desc>
<defs></defs>
<g id="Page-4" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<g id="cursor_disabled_5">
<g id="cursor_disabled_illustrator" transform="translate(24.000000, 2.000000)">
<g id="Layer_1">
<path d="M225,14 C227.8,14 230,11.8 230,9 L230,5 C230,2.2 227.8,0 225,0 L127,0 C124.2,0 122,2.2 122,5 L122,9 C122,11.8 124.2,14 127,14 L158,14 L158,26.3 C172.4,34 185,44.6 195,57.4 L195,14 L225,14 L225,14 Z" id="Shape" fill="#000000"></path>
<path d="M158,228.7 L158,238 L134.5,238 C130.6,239.1 126.7,239.9 122.6,240.6 C122.2,241.3 121.9,242.1 121.9,243 L121.9,247 C121.9,249.8 124.1,252 126.9,252 L224.9,252 C227.7,252 229.9,249.8 229.9,247 L229.9,243 C229.9,240.2 227.7,238 224.9,238 L194.9,238 L194.9,197.6 C185,210.4 172.4,221 158,228.7 L158,228.7 Z" id="Shape" fill="#000000"></path>
<path d="M54.7,107.6 C53.9,110.7 51.1,112.9 41.8,116.1 C35.6,118.3 31.9,121.1 29.5,124.5 C29.5,125.5 29.4,126.4 29.4,127.4 C29.4,134.1 30.3,140.7 32,146.9 L93.9,146.9 L54.7,107.6 L54.7,107.6 Z" id="Shape" fill="#000000"></path>
<path d="M70.8,13 C70.7,13 70.6,13.1 70.5,13.3 C65.9,13.7 58.9,15.5 54.6,24.4 C63.2,20.2 72.5,17.1 82.2,15.1 C77.4,12.7 72.6,13 70.8,13 L70.8,13 Z" id="Shape" fill="#000000"></path>
<path d="M55,170 L55,183.7 C58.7,187 62.7,189.9 67,192.3 L67,170 L78,170 L78,197.6 C81.9,199.1 85.9,200.2 90,201 L90,170 L101,170 L101,202.4 C102.2,202.5 103.3,202.5 104.5,202.5 C109.4,202.5 114.3,202 119.1,201.1 C119.3,193.5 119.5,182.8 119.6,172.6 L105.1,158 L36.1,158 C38.3,162.8 40.9,167.4 44,171.7 L44,170 L55,170 L55,170 Z" id="Shape" fill="#000000"></path>
<path d="M26.3,211.5 C26.3,211.5 24.6,222.6 36.8,222.6 L40.8,222.6 C35.7,219.1 30.8,215.3 26.3,211.1 L26.3,211.5 L26.3,211.5 Z" id="Shape" fill="#000000"></path>
<path d="M172.1,159.8 C176.9,149.8 179.4,138.7 179.4,127.5 C179.4,107.1 171.2,88.6 158,75.1 L158,145.7 L172.1,159.8 L172.1,159.8 Z" id="Shape" fill="#000000"></path>
<path d="M72.2,59.9 L91.2,78.9 C92.3,73 93.7,65.4 94.1,53.3 C86.5,54.3 79.1,56.6 72.2,59.9 L72.2,59.9 Z" id="Shape" fill="#000000"></path>
<path d="M119.7,158 L119.2,158 L119.7,158.5 L119.7,158 L119.7,158 Z" id="Shape" fill="#FF0000"></path>
<path d="M195,75.3 C186.1,59.9 173.3,46.9 158,37.8 C142.3,28.4 124,23 104.5,23 C99.7,23 95,23.3 90.4,24 C86.3,24.6 82.3,25.3 78.3,26.4 C73.4,27.7 68.7,29.3 64.1,31.2 C59.6,33.1 55.3,35.3 51.2,37.7 C20.6,55.9 0,89.3 0,127.5 C0,153.8 9.8,177.9 25.9,196.3 C31.3,202.4 37.3,207.9 44,212.6 C47.5,215.1 51.2,217.4 55,219.5 C57,220.6 59,221.6 61.1,222.5 C74.3,228.6 89,231.9 104.5,231.9 C124,231.9 142.3,226.5 158,217.1 C173.3,207.9 186.1,195 195,179.6 C203.9,164.2 209,146.4 209,127.4 C209,108.5 203.9,90.7 195,75.3 L195,75.3 Z M151.2,198.5 C141.4,205 130.4,209.3 118.9,211.3 C114.2,212.1 109.4,212.5 104.5,212.5 C103.3,212.5 102.2,212.5 101,212.4 C97.3,212.2 93.6,211.8 90,211.2 C85.9,210.5 81.9,209.5 78,208.2 C74.2,207 70.5,205.5 67,203.7 C62.8,201.6 58.8,199.2 55,196.5 C51.1,193.7 47.4,190.5 44,187.1 C36,179 29.6,169.2 25.4,158.4 C21.6,148.8 19.6,138.4 19.6,127.5 C19.6,110.8 24.4,94.7 33.6,80.8 L37,75.7 L55.7,94.4 L108.4,147.1 L119.4,158.1 L119.9,158.1 L119.9,158.6 L156.5,195.2 L151.2,198.5 L151.2,198.5 Z M177.7,170.7 L174.4,176.2 L158,159.9 L89.4,91.3 L55.8,57.6 L61.3,54.3 C71.4,48.3 82.6,44.6 94.2,43.1 C97.6,42.7 101,42.5 104.5,42.5 C124.8,42.5 143.4,49.6 158,61.5 C177.2,77.1 189.4,100.8 189.4,127.4 C189.4,142.7 185.4,157.7 177.7,170.7 L177.7,170.7 Z" id="Shape" fill="#FF0000"></path>
</g>
</g>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 3.9 KiB

@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg width="16px" height="16px" viewBox="0 0 205 252" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>cursor</title>
<desc></desc>
<defs></defs>
<g id="Page-4" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<g id="Artboard-1" transform="translate(-49.000000, -2.000000)" fill="#000000">
<g id="cursor" transform="translate(49.000000, 2.000000)">
<path d="M170,14 L200.007537,14 C202.769057,14 205,11.7636493 205,9.00497092 L205,4.99502908 C205,2.23382212 202.764798,0 200.007537,0 L101.992463,0 C99.2309431,0 97,2.23635069 97,4.99502908 L97,9.00497092 C97,11.7661779 99.2352017,14 101.992463,14 L133,14 L133,238 L101.992463,238 C99.2309431,238 97,240.236351 97,242.995029 L97,247.004971 C97,249.766178 99.2352017,252 101.992463,252 L200.007537,252 C202.769057,252 205,249.763649 205,247.004971 L205,242.995029 C205,240.233822 202.764798,238 200.007537,238 L170,238 L170,14 Z" id="Combined-Shape"></path>
<path d="M65,222.280829 C60.6131176,222.280829 56.3742162,222.280828 52.9999995,222.280828 L53,170 L42,170 L42,222.560593 C38.6130246,222.560593 34.3763308,222.560593 30.0000005,222.560594 L30,170 L19,170 L19,222.560595 C16.324865,222.560595 13.8463369,222.560595 11.7612725,222.560596 C-0.369586438,222.560599 1.28381746,211.509313 1.28381746,211.509313 C1.28381746,211.509313 0.389689944,177.756 0.396571277,158 L94.7408232,158 C94.7392736,177.793089 93.8535396,211.229548 93.8535396,211.229548 C93.8535396,211.229548 95.5069435,222.280834 83.3760845,222.280831 C81.2553782,222.28083 78.7276415,222.28083 76.0000002,222.28083 L76,170 L65,170 L65,222.280829 Z M0.574534036,147 C0.579768387,146.896149 0.585131638,146.794755 0.590625514,146.695866 C1.28381748,134.218409 -0.797112286,122.434146 16.8792816,116.195422 C34.5556755,109.956698 28.6662536,107.530522 30.3978792,95.7462576 C32.1295048,83.961993 25.8921298,78.069863 25.8921315,44.7966496 C25.892133,17.9607206 38.5169467,13.9220173 45.5220939,13.3637617 C45.6089814,13.1340727 45.7002506,13.0164391 45.7960631,13.0164391 C49.8372056,13.0164389 69.2452237,11.2436713 69.2452255,44.5168847 C69.2452273,77.7900982 63.0078523,83.6822281 64.7394778,95.4664928 C66.4711034,107.250757 60.5816815,109.676933 78.2580754,115.915657 C95.9344693,122.154381 93.8535395,133.938644 94.5467315,146.416101 C94.5570586,146.601989 94.5669242,146.796724 94.5763397,147 L0.574534036,147 Z M47.5,41 C52.1944204,41 56,37.1944204 56,32.5 C56,27.8055796 52.1944204,24 47.5,24 C42.8055796,24 39,27.8055796 39,32.5 C39,37.1944204 42.8055796,41 47.5,41 Z" id="Combined-Shape"></path>
</g>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 707 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

@@ -0,0 +1 @@
CKEDITOR.plugins.setLang("copyformatting","ar",{label:"نسخ التنسيق",notification:{copied:"تم نسخ التنسيق",applied:"تم تطبيق التنسيق",canceled:"تم الغاء التنسيق",failed:"Formatting failed. You cannot apply styles without copying them first."}});
@@ -0,0 +1 @@
CKEDITOR.plugins.setLang("copyformatting","az",{label:"Formatı köçür",notification:{copied:"Format köçürülüb",applied:"Format tədbiq edilib",canceled:"Format imtina edilib",failed:"Format etmək mümkün deyil. Siz üslubları köçürmədən onları tədbiq edə bilməzsiniz."}});
@@ -0,0 +1 @@
CKEDITOR.plugins.setLang("copyformatting","bg",{label:"Копирай форматиране",notification:{copied:"Форматирането е копирано",applied:"Форматирането е приложено",canceled:"Форматирането е анулирано",failed:"Форматирането не е успешно. Не можете да прилагате стилове без първо да ги копирате."}});
@@ -0,0 +1 @@
CKEDITOR.plugins.setLang("copyformatting","cs",{label:"Kopírovat formátování",notification:{copied:"Formátování zkopírováno",applied:"Formátování použito",canceled:"Formátování zrušeno",failed:"Formátování selhalo. Nejdříve musíte styly zkopírovat, až pak je můžete použít."}});
@@ -0,0 +1 @@
CKEDITOR.plugins.setLang("copyformatting","da",{label:"Kopiér formatering",notification:{copied:"Formatering kopieret",applied:"Formatering anvendt",canceled:"Formatering annulleret",failed:"Formatering fejlede. Du kan ikke anvende stile uden at kopiere dem først."}});
@@ -0,0 +1 @@
CKEDITOR.plugins.setLang("copyformatting","de-ch",{label:"Formatierung kopieren",notification:{copied:"Formatierung kopiert",applied:"Formatierung angewendet",canceled:"Formatierung abgebrochen",failed:"Formatierung fehlgeschlagen. Sie können Stile nicht anwenden, ohne sie zuerst zu kopieren."}});
@@ -0,0 +1 @@
CKEDITOR.plugins.setLang("copyformatting","de",{label:"Formatierung kopieren",notification:{copied:"Formatierung kopiert",applied:"Formatierung angewendet",canceled:"Formatierung abgebrochen",failed:"Formatierung fehlgeschlagen. Sie können Stile nicht anwenden, ohne sie zuerst zu kopieren."}});
@@ -0,0 +1 @@
CKEDITOR.plugins.setLang("copyformatting","el",{label:"Αντιγραφή Μορφοποίησης",notification:{copied:"Formatting copied",applied:"Formatting applied",canceled:"Formatting canceled",failed:"Formatting failed. You cannot apply styles without copying them first."}});
@@ -0,0 +1 @@
CKEDITOR.plugins.setLang("copyformatting","en-au",{label:"Copy Formatting",notification:{copied:"Formatting copied",applied:"Formatting applied",canceled:"Formatting canceled",failed:"Formatting failed. You cannot apply styles without copying them first."}});
@@ -0,0 +1 @@
CKEDITOR.plugins.setLang("copyformatting","en",{label:"Copy Formatting",notification:{copied:"Formatting copied",applied:"Formatting applied",canceled:"Formatting canceled",failed:"Formatting failed. You cannot apply styles without copying them first."}});
@@ -0,0 +1 @@
CKEDITOR.plugins.setLang("copyformatting","eo",{label:"Kopii la formaton",notification:{copied:"Formato kopiita",applied:"Formato aplikita",canceled:"Formato nuligita",failed:"Malsukceso de la formato. Vi ne povas apliki stilojn se vi ne kopiis ilin antaŭe."}});
@@ -0,0 +1 @@
CKEDITOR.plugins.setLang("copyformatting","es-mx",{label:"Copiando formato",notification:{copied:"Formato copiado",applied:"Aplicando formato",canceled:"Cancelando formato",failed:"Formato falló. No puede aplicar estilos sin copiarlos primero."}});
@@ -0,0 +1 @@
CKEDITOR.plugins.setLang("copyformatting","et",{label:"Kopeeri vorming",notification:{copied:"Vorming on kopeeritud",applied:"Vorming on rakendatud",canceled:"Vormindamisest loobuti",failed:"Vormindamine nurjus. Stiile ei saa rakendada ilma neid enne kopeerimata."}});
@@ -0,0 +1 @@
CKEDITOR.plugins.setLang("copyformatting","eu",{label:"Kopiatu formatua",notification:{copied:"Formatua kopiatuta",applied:"Formatua aplikatuta",canceled:"Formatua bertan behera utzita",failed:"Formatuak huts egin du. Ezin dituzu estiloak kopiatu gabe aplikatu."}});
@@ -0,0 +1 @@
CKEDITOR.plugins.setLang("copyformatting","fa",{label:"کپی کردن قالب بندی",notification:{copied:"قالب بندی کپی شد",applied:"قالب بندی اعمال شد",canceled:"قالب بندی لغو شد",failed:"قالب بندی ناموفق بود. شما نمیتوانید بدون اینکه ابتدا سبک ها را کپی کنید ، آنها را اعمال نمایید"}});
@@ -0,0 +1 @@
CKEDITOR.plugins.setLang("copyformatting","fr",{label:"Copier le formatage",notification:{copied:"Formatage copié",applied:"Formatage appliqué",canceled:"Formatage supprimé",failed:"Échec du formatage. Vous devez d'abord copier des styles pour pouvoir les appliquer."}});
@@ -0,0 +1 @@
CKEDITOR.plugins.setLang("copyformatting","gl",{label:"Copiar o formato",notification:{copied:"Copiouse o formato",applied:"Aplicouse o formato",canceled:"Cancelouse o formatado",failed:"Produciuse un erro ao formatar. Non é posíbel aplicar estilos sen copialos antes."}});
@@ -0,0 +1 @@
CKEDITOR.plugins.setLang("copyformatting","hr",{label:"Kopiraj formatiranje",notification:{copied:"Formatiranje kopirano",applied:"Formatiranje primjenjeno",canceled:"Formatiranje poništeno",failed:"Formatiranje nije uspjelo. Nije moguće primjeniti stilove bez da ih prvo kopirate."}});
@@ -0,0 +1 @@
CKEDITOR.plugins.setLang("copyformatting","hu",{label:"Formázás másolása",notification:{copied:"Formázás másolva",applied:"Formázás alkalmazva",canceled:"Formázás megszakítva",failed:"A formázás meghiúsult. Nem alkalmazhatsz stílusokat mielőtt másolnád őket."}});
@@ -0,0 +1 @@
CKEDITOR.plugins.setLang("copyformatting","it",{label:"Copia formattazione",notification:{copied:"Formattazione copiata",applied:"Formattazione applicata",canceled:"Formattazione annullata",failed:"Formattazione fallita. Non è possibile applicare stili senza averli prima copiati."}});
@@ -0,0 +1 @@
CKEDITOR.plugins.setLang("copyformatting","ja",{label:"フォーマットをコピー",notification:{copied:"コピーされたフォーマット",applied:"フォーマットを適用しました",canceled:"フォーマットを取り消しました",failed:"フォーマットのコピーに失敗しました。最初にフォーマットをコピーしてから適用してください。"}});
@@ -0,0 +1 @@
CKEDITOR.plugins.setLang("copyformatting","ko",{label:"양식 복사",notification:{copied:"양식이 복사 되었습니다",applied:"양식을 적용 했습니다",canceled:"양식이 취소 되었습니다",failed:"양식 적용에 실패했습니다. 양식을 복사해야 적용할 수 있습니다."}});
@@ -0,0 +1 @@
CKEDITOR.plugins.setLang("copyformatting","ku",{label:"لەبەرگرتنەوەی شێواز",notification:{copied:"شێواز لەبەرگیرایەوە",applied:"شێواز بەکارهێنرا",canceled:"شێواز لابرا",failed:"شێوازکردن سەرکەوتوو نەبوو. تۆ ناتوانیت ستایلەکان بەکاربێنی بەبێ لەبەرگرتنەوەیان لە سەرەتا."}});
@@ -0,0 +1 @@
CKEDITOR.plugins.setLang("copyformatting","lv",{label:"Kopēt formatējumu",notification:{copied:"Formatējums nokopēts",applied:"Formatējums uzstādīts",canceled:"Formatējums atcelts",failed:"Formatēšana neizdevās. Nevar uzstādīt stilus bez to nokopēšanas."}});
@@ -0,0 +1 @@
CKEDITOR.plugins.setLang("copyformatting","nb",{label:"Kopier formatering",notification:{copied:"Formatering kopiert",applied:"Formatering tatt i bruk",canceled:"Formatering avbrutt",failed:"Formatering mislyktes. Du kan ikke ta i bruk stiler uten å kopiere dem først."}});
@@ -0,0 +1 @@
CKEDITOR.plugins.setLang("copyformatting","nl",{label:"Opmaakstijl kopiëren",notification:{copied:"Opmaakstijl gekopieerd",applied:"Opmaakstijl toegepast",canceled:"Opmaakstijl toepassen geannuleerd",failed:"Opmaakstijl toepassen mislukt. U kunt geen opmaakstijl toepassen zonder deze eerst te kopiëren."}});
@@ -0,0 +1 @@
CKEDITOR.plugins.setLang("copyformatting","oc",{label:"Copiar lo formatatge",notification:{copied:"Formatatge copiat",applied:"Formatatge aplicat",canceled:"Formatatge anullat",failed:"Formatting failed. You cannot apply styles without copying them first."}});
@@ -0,0 +1 @@
CKEDITOR.plugins.setLang("copyformatting","pl",{label:"Kopiuj formatowanie",notification:{copied:"Formatowanie skopiowane",applied:"Formatowanie zastosowane",canceled:"Formatowanie przerwane",failed:"Formatowanie nie powiodło się. Nie możesz zastosować stylów bez uprzedniego ich skopiowania."}});
@@ -0,0 +1 @@
CKEDITOR.plugins.setLang("copyformatting","pt-br",{label:"Copiar Formatação",notification:{copied:"Formatação copiada",applied:"Formatação aplicada",canceled:"Formatação cancelada",failed:"A formatação falhou. Você não pode aplicar estilos sem copiá-los antes."}});
@@ -0,0 +1 @@
CKEDITOR.plugins.setLang("copyformatting","pt",{label:"Copiar formatação",notification:{copied:"Formatação copiada",applied:"Formatação aplicada",canceled:"Formatação cancelada",failed:"Formatting failed. You cannot apply styles without copying them first."}});
@@ -0,0 +1 @@
CKEDITOR.plugins.setLang("copyformatting","ro",{label:"Copiere formatare",notification:{copied:"Formatare copiată",applied:"Formatare aplicată",canceled:"Formatare anulată",failed:"Formatare greșită. Nu poți aplica stiluri fără a le copia întâi."}});
@@ -0,0 +1 @@
CKEDITOR.plugins.setLang("copyformatting","ru",{label:"Копировать форматирование",notification:{copied:"Форматирование скопировано",applied:"Форматирование применено",canceled:"Форматирование отменен",failed:"Форматирование не выполнено. Стили необходимо скопировать перед применением."}});
@@ -0,0 +1 @@
CKEDITOR.plugins.setLang("copyformatting","sk",{label:"Kopírovať formátovanie",notification:{copied:"Formátovanie skopírované",applied:"Formátovanie aplikované",canceled:"Formátovanie zrušené",failed:"Formátovanie zlyhalo. Nemôžete aplikovať štýly bez toho, aby ste ich najprv skopírovali."}});
@@ -0,0 +1 @@
CKEDITOR.plugins.setLang("copyformatting","sq",{label:"Kopjo Formatimin",notification:{copied:"Formatimi u kopjua",applied:"Formatimi u aplikua",canceled:"Formatimi u ndërpre",failed:"Formatimi dështoi. Nuk mund të aplikosh stile pa i kopjuar fillimisht ato."}});
@@ -0,0 +1 @@
CKEDITOR.plugins.setLang("copyformatting","sr-latn",{label:"Kopiranje formatiranja",notification:{copied:"Kopirano formatiranje",applied:"Formatiranje primenjeno",canceled:"Formatiranje prekinuto",failed:"Formatiranje nije uspelo. Ne možete primenjivati stilove pre nego što ih kopirate."}});
@@ -0,0 +1 @@
CKEDITOR.plugins.setLang("copyformatting","sr",{label:"Копирање форматирања",notification:{copied:"Копирано форматирање",applied:"Форматирање примењено",canceled:"Форматирање примењено",failed:"Форматирање није успело. Не можете примењивати стилове пре него што их копирате."}});
@@ -0,0 +1 @@
CKEDITOR.plugins.setLang("copyformatting","sv",{label:"Kopiera formatering",notification:{copied:"Formatering kopierad",applied:"Formatering applicerad",canceled:"Formatering avbruten",failed:"Formatering misslyckades. Du kan inte applicera stilar utan att kopiera dem först."}});
@@ -0,0 +1 @@
CKEDITOR.plugins.setLang("copyformatting","tr",{label:"Formatı Kopyala",notification:{copied:"Formatlama Kopyalandı",applied:"Formatlama Uygulandı",canceled:"Formatlama İptal Edildi",failed:"Formatlama hatası. İlk önce onları kopyalamadan stilleri uygulayamazsınız."}});
@@ -0,0 +1 @@
CKEDITOR.plugins.setLang("copyformatting","uk",{label:"Копіювати форматування",notification:{copied:"Форматування скопійовано",applied:"Форматування застосовано",canceled:"Форматування скасовано",failed:"Помилка форматування. Ви не можете застосовувати стилі без попереднього їх копіювання."}});
@@ -0,0 +1 @@
CKEDITOR.plugins.setLang("copyformatting","vi",{label:"Sao chép định dạng",notification:{copied:"Formatting copied",applied:"Formatting applied",canceled:"Formatting canceled",failed:"Formatting failed. You cannot apply styles without copying them first."}});
@@ -0,0 +1 @@
CKEDITOR.plugins.setLang("copyformatting","zh-cn",{label:"格式刷",notification:{copied:"格式已复制",applied:"格式已应用",canceled:"格式已取消",failed:"格式化失败,您不能还没复制就应用格式"}});
@@ -0,0 +1 @@
CKEDITOR.plugins.setLang("copyformatting","zh",{label:"格式化複製",notification:{copied:"已複製格式化",applied:"格式化已套用",canceled:"格式化已取消",failed:"格式化失敗。您無法在沒有複製它們前就套用樣式。"}});
@@ -0,0 +1,28 @@
/*
Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
(function(){function k(a,b,e,d){var c=new CKEDITOR.dom.walker(a);if(a=a.startContainer.getAscendant(b,!0)||a.endContainer.getAscendant(b,!0))if(e(a),d)return;for(;a=c.next();)if(a=a.getAscendant(b,!0))if(e(a),d)break}function u(a,b){var e={ul:"ol",ol:"ul"};return-1!==l(b,function(b){return b.element===a||b.element===e[a]})}function q(a){this.styles=null;this.sticky=!1;this.editor=a;this.filter=new CKEDITOR.filter(a,a.config.copyFormatting_allowRules);!0===a.config.copyFormatting_allowRules&&(this.filter.disabled=
!0);a.config.copyFormatting_disallowRules&&this.filter.disallow(a.config.copyFormatting_disallowRules)}var l=CKEDITOR.tools.indexOf,r=CKEDITOR.tools.getMouseButton,t=!1;CKEDITOR.plugins.add("copyformatting",{lang:"ar,az,bg,cs,da,de,de-ch,el,en,en-au,eo,es-mx,et,eu,fa,fr,gl,hr,hu,it,ja,ko,ku,lv,nb,nl,oc,pl,pt,pt-br,ro,ru,sk,sq,sr,sr-latn,sv,tr,uk,vi,zh,zh-cn",icons:"copyformatting",hidpi:!0,init:function(a){var b=CKEDITOR.plugins.copyformatting;b._addScreenReaderContainer();t||(CKEDITOR.document.appendStyleSheet(this.path+
"styles/copyformatting.css"),t=!0);a.addContentsCss&&a.addContentsCss(this.path+"styles/copyformatting.css");a.copyFormatting=new b.state(a);a.addCommand("copyFormatting",b.commands.copyFormatting);a.addCommand("applyFormatting",b.commands.applyFormatting);a.ui.addButton("CopyFormatting",{label:a.lang.copyformatting.label,command:"copyFormatting",toolbar:"cleanup,0"});a.on("contentDom",function(){var b=a.getCommand("copyFormatting"),d=a.editable(),c=d.isInline()?d:a.document,f=a.ui.get("CopyFormatting");
d.attachListener(c,"mouseup",function(d){r(d)===CKEDITOR.MOUSE_BUTTON_LEFT&&b.state===CKEDITOR.TRISTATE_ON&&a.execCommand("applyFormatting")});d.attachListener(CKEDITOR.document,"mouseup",function(c){r(c)!==CKEDITOR.MOUSE_BUTTON_LEFT||b.state!==CKEDITOR.TRISTATE_ON||d.contains(c.data.getTarget())||a.execCommand("copyFormatting")});f&&(c=CKEDITOR.document.getById(f._.id),d.attachListener(c,"dblclick",function(){a.execCommand("copyFormatting",{sticky:!0})}),d.attachListener(c,"mouseup",function(a){a.data.stopPropagation()}))});
a.config.copyFormatting_keystrokeCopy&&a.setKeystroke(a.config.copyFormatting_keystrokeCopy,"copyFormatting");a.on("key",function(b){var d=a.getCommand("copyFormatting");b=b.data.domEvent;b.getKeystroke&&27===b.getKeystroke()&&d.state===CKEDITOR.TRISTATE_ON&&a.execCommand("copyFormatting")});a.copyFormatting.on("extractFormatting",function(e){var d=e.data.element;if(d.contains(a.editable())||d.equals(a.editable()))return e.cancel();d=b._convertElementToStyleDef(d);if(!a.copyFormatting.filter.check(new CKEDITOR.style(d),
!0,!0))return e.cancel();e.data.styleDef=d});a.copyFormatting.on("applyFormatting",function(e){if(!e.data.preventFormatStripping){var d=e.data.range,c=b._extractStylesFromRange(a,d),f=b._determineContext(d),g,h;if(a.copyFormatting._isContextAllowed(f))for(h=0;h<c.length;h++)f=c[h],g=d.createBookmark(),-1===l(b.preservedElements,f.element)?CKEDITOR.env.webkit&&!CKEDITOR.env.chrome?c[h].removeFromRange(e.data.range,e.editor):c[h].remove(e.editor):u(f.element,e.data.styles)&&b._removeStylesFromElementInRange(d,
f.element),d.moveToBookmark(g)}});a.copyFormatting.on("applyFormatting",function(b){var d=CKEDITOR.plugins.copyformatting,c=d._determineContext(b.data.range);"list"===c&&a.copyFormatting._isContextAllowed("list")?d._applyStylesToListContext(b.editor,b.data.range,b.data.styles):"table"===c&&a.copyFormatting._isContextAllowed("table")?d._applyStylesToTableContext(b.editor,b.data.range,b.data.styles):a.copyFormatting._isContextAllowed("text")&&d._applyStylesToTextContext(b.editor,b.data.range,b.data.styles)},
null,null,999)}});q.prototype._isContextAllowed=function(a){var b=this.editor.config.copyFormatting_allowedContexts;return!0===b||-1!==l(b,a)};CKEDITOR.event.implementOn(q.prototype);CKEDITOR.plugins.copyformatting={state:q,inlineBoundary:"h1 h2 h3 h4 h5 h6 p div".split(" "),excludedAttributes:["id","style","href","data-cke-saved-href","dir"],elementsForInlineTransform:["li"],excludedElementsFromInlineTransform:["table","thead","tbody","ul","ol"],excludedAttributesFromInlineTransform:["value","type"],
preservedElements:"ul ol li td th tr thead tbody table".split(" "),breakOnElements:["ul","ol","table"],_initialKeystrokePasteCommand:null,commands:{copyFormatting:{exec:function(a,b){var e=CKEDITOR.plugins.copyformatting,d=a.copyFormatting,c=b?"keystrokeHandler"==b.from:!1,f=b?b.sticky||c:!1,g=e._getCursorContainer(a),h=CKEDITOR.document.getDocumentElement();if(this.state===CKEDITOR.TRISTATE_ON)return d.styles=null,d.sticky=!1,g.removeClass("cke_copyformatting_active"),h.removeClass("cke_copyformatting_disabled"),
h.removeClass("cke_copyformatting_tableresize_cursor"),e._putScreenReaderMessage(a,"canceled"),e._detachPasteKeystrokeHandler(a),this.setState(CKEDITOR.TRISTATE_OFF);d.styles=e._extractStylesFromElement(a,a.elementPath().lastElement);this.setState(CKEDITOR.TRISTATE_ON);c||(g.addClass("cke_copyformatting_active"),h.addClass("cke_copyformatting_tableresize_cursor"),a.config.copyFormatting_outerCursor&&h.addClass("cke_copyformatting_disabled"));d.sticky=f;e._putScreenReaderMessage(a,"copied");e._attachPasteKeystrokeHandler(a)}},
applyFormatting:{editorFocus:CKEDITOR.env.ie&&!CKEDITOR.env.edge?!1:!0,exec:function(a,b){var e=a.getCommand("copyFormatting"),d=b?"keystrokeHandler"==b.from:!1,c=CKEDITOR.plugins.copyformatting,f=a.copyFormatting,g=c._getCursorContainer(a),h=CKEDITOR.document.getDocumentElement();if(d&&!f.styles)return c._putScreenReaderMessage(a,"failed"),c._detachPasteKeystrokeHandler(a),!1;d=c._applyFormat(a,f.styles);f.sticky||(f.styles=null,g.removeClass("cke_copyformatting_active"),h.removeClass("cke_copyformatting_disabled"),
h.removeClass("cke_copyformatting_tableresize_cursor"),e.setState(CKEDITOR.TRISTATE_OFF),c._detachPasteKeystrokeHandler(a));c._putScreenReaderMessage(a,d?"applied":"canceled")}}},_getCursorContainer:function(a){return a.elementMode===CKEDITOR.ELEMENT_MODE_INLINE?a.editable():a.editable().getParent()},_convertElementToStyleDef:function(a){var b=CKEDITOR.tools,e=a.getAttributes(CKEDITOR.plugins.copyformatting.excludedAttributes),b=b.parseCssText(a.getAttribute("style"),!0,!0);return{element:a.getName(),
type:CKEDITOR.STYLE_INLINE,attributes:e,styles:b}},_extractStylesFromElement:function(a,b){var e={},d=[];do if(b.type===CKEDITOR.NODE_ELEMENT&&!b.hasAttribute("data-cke-bookmark")&&(e.element=b,a.copyFormatting.fire("extractFormatting",e,a)&&e.styleDef&&d.push(new CKEDITOR.style(e.styleDef)),b.getName&&-1!==l(CKEDITOR.plugins.copyformatting.breakOnElements,b.getName())))break;while((b=b.getParent())&&b.type===CKEDITOR.NODE_ELEMENT);return d},_extractStylesFromRange:function(a,b){for(var e=[],d=new CKEDITOR.dom.walker(b),
c;c=d.next();)e=e.concat(CKEDITOR.plugins.copyformatting._extractStylesFromElement(a,c));return e},_removeStylesFromElementInRange:function(a,b){for(var e=-1!==l(["ol","ul","table"],b),d=new CKEDITOR.dom.walker(a),c;c=d.next();)if(c=c.getAscendant(b,!0))if(c.removeAttributes(c.getAttributes()),e)break},_getSelectedWordOffset:function(a){function b(a,b){return a[b?"getPrevious":"getNext"](function(a){return a.type!==CKEDITOR.NODE_COMMENT})}function e(a){return a.type==CKEDITOR.NODE_ELEMENT?(a=a.getHtml().replace(/<span.*?>&nbsp;<\/span>/g,
""),a.replace(/<.*?>/g,"")):a.getText()}function d(a,c){var f=a,g=/\s/g,h="p br ol ul li td th div caption body".split(" "),m=!1,k=!1,p,n;do{for(p=b(f,c);!p&&f.getParent();){f=f.getParent();if(-1!==l(h,f.getName())){k=m=!0;break}p=b(f,c)}if(p&&p.getName&&-1!==l(h,p.getName())){m=!0;break}f=p}while(f&&f.getStyle&&("none"==f.getStyle("display")||!f.getText()));for(f||(f=a);f.type!==CKEDITOR.NODE_TEXT;)f=!m||c||k?f.getChild(0):f.getChild(f.getChildCount()-1);for(h=e(f);null!=(k=g.exec(h))&&(n=k.index,
c););if("number"!==typeof n&&!m)return d(f,c);if(m)c?n=0:(g=/([\.\b]*$)/,n=(k=g.exec(h))?k.index:h.length);else if(c&&(n+=1,n>h.length))return d(f);return{node:f,offset:n}}var c=/\b\w+\b/ig,f,g,h,m,k;h=m=k=a.startContainer;for(f=e(h);null!=(g=c.exec(f));)if(g.index+g[0].length>=a.startOffset)return a=g.index,c=g.index+g[0].length,0===g.index&&(g=d(h,!0),m=g.node,a=g.offset),c>=f.length&&(f=d(h),k=f.node,c=f.offset),{startNode:m,startOffset:a,endNode:k,endOffset:c};return null},_filterStyles:function(a){var b=
CKEDITOR.tools.isEmpty,e=[],d,c;for(c=0;c<a.length;c++)d=a[c]._.definition,-1!==CKEDITOR.tools.indexOf(CKEDITOR.plugins.copyformatting.inlineBoundary,d.element)&&(d.element=a[c].element="span"),"span"===d.element&&b(d.attributes)&&b(d.styles)||e.push(a[c]);return e},_determineContext:function(a){function b(b){var d=new CKEDITOR.dom.walker(a),c;if(a.startContainer.getAscendant(b,!0)||a.endContainer.getAscendant(b,!0))return!0;for(;c=d.next();)if(c.getAscendant(b,!0))return!0}return b({ul:1,ol:1})?
"list":b("table")?"table":"text"},_applyStylesToTextContext:function(a,b,e){var d=CKEDITOR.plugins.copyformatting,c=d.excludedAttributesFromInlineTransform,f,g;CKEDITOR.env.webkit&&!CKEDITOR.env.chrome&&a.getSelection().selectRanges([b]);for(f=0;f<e.length;f++)if(b=e[f],-1===l(d.excludedElementsFromInlineTransform,b.element)){if(-1!==l(d.elementsForInlineTransform,b.element))for(b.element=b._.definition.element="span",g=0;g<c.length;g++)b._.definition.attributes[c[g]]&&delete b._.definition.attributes[c[g]];
b.apply(a)}},_applyStylesToListContext:function(a,b,e){var d,c,f;for(f=0;f<e.length;f++)d=e[f],c=b.createBookmark(),"ol"===d.element||"ul"===d.element?k(b,{ul:1,ol:1},function(a){var b=d;a.getName()!==b.element&&a.renameNode(b.element);b.applyToObject(a)},!0):"li"===d.element?k(b,"li",function(a){d.applyToObject(a)}):CKEDITOR.plugins.copyformatting._applyStylesToTextContext(a,b,[d]),b.moveToBookmark(c)},_applyStylesToTableContext:function(a,b,e){function d(a,b){a.getName()!==b.element&&(b=b.getDefinition(),
b.element=a.getName(),b=new CKEDITOR.style(b));b.applyToObject(a)}var c,f,g;for(g=0;g<e.length;g++)c=e[g],f=b.createBookmark(),-1!==l(["table","tr"],c.element)?k(b,c.element,function(a){c.applyToObject(a)}):-1!==l(["td","th"],c.element)?k(b,{td:1,th:1},function(a){d(a,c)}):-1!==l(["thead","tbody"],c.element)?k(b,{thead:1,tbody:1},function(a){d(a,c)}):CKEDITOR.plugins.copyformatting._applyStylesToTextContext(a,b,[c]),b.moveToBookmark(f)},_applyFormat:function(a,b){var e=a.getSelection().getRanges()[0],
d=CKEDITOR.plugins.copyformatting,c,f;if(!e)return!1;if(e.collapsed){f=a.getSelection().createBookmarks();if(!(c=d._getSelectedWordOffset(e)))return;e=a.createRange();e.setStart(c.startNode,c.startOffset);e.setEnd(c.endNode,c.endOffset);e.select()}b=d._filterStyles(b);if(!a.copyFormatting.fire("applyFormatting",{styles:b,range:e,preventFormatStripping:!1},a))return!1;f&&a.getSelection().selectBookmarks(f);return!0},_putScreenReaderMessage:function(a,b){var e=this._getScreenReaderContainer();e&&e.setText(a.lang.copyformatting.notification[b])},
_addScreenReaderContainer:function(){if(this._getScreenReaderContainer())return this._getScreenReaderContainer();if(!CKEDITOR.env.ie6Compat&&!CKEDITOR.env.ie7Compat)return CKEDITOR.document.getBody().append(CKEDITOR.dom.element.createFromHtml('\x3cdiv class\x3d"cke_screen_reader_only cke_copyformatting_notification"\x3e\x3cdiv aria-live\x3d"polite"\x3e\x3c/div\x3e\x3c/div\x3e')).getChild(0)},_getScreenReaderContainer:function(){if(!CKEDITOR.env.ie6Compat&&!CKEDITOR.env.ie7Compat)return CKEDITOR.document.getBody().findOne(".cke_copyformatting_notification div[aria-live]")},
_attachPasteKeystrokeHandler:function(a){var b=a.config.copyFormatting_keystrokePaste;b&&(this._initialKeystrokePasteCommand=a.keystrokeHandler.keystrokes[b],a.setKeystroke(b,"applyFormatting"))},_detachPasteKeystrokeHandler:function(a){var b=a.config.copyFormatting_keystrokePaste;b&&a.setKeystroke(b,this._initialKeystrokePasteCommand||!1)}};CKEDITOR.config.copyFormatting_outerCursor=!0;CKEDITOR.config.copyFormatting_allowRules="b s u i em strong span p div td th ol ul li(*)[*]{*}";CKEDITOR.config.copyFormatting_disallowRules=
"*[data-cke-widget*,data-widget*,data-cke-realelement](cke_widget*)";CKEDITOR.config.copyFormatting_allowedContexts=!0;CKEDITOR.config.copyFormatting_keystrokeCopy=CKEDITOR.CTRL+CKEDITOR.SHIFT+67;CKEDITOR.config.copyFormatting_keystrokePaste=CKEDITOR.CTRL+CKEDITOR.SHIFT+86})();
@@ -0,0 +1,45 @@
/*
Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
html.cke_copyformatting_active {
min-height: 100%;
}
/* There is no cursor in CUR format for IE/Edge as that browser
does not support custom cursor in [contenteditable] area.
Ticket for this issue:
https://connect.microsoft.com/IE/feedback/details/1070215/cant-change-cursor-in-contenteditable-using-css */
.cke_copyformatting_disabled,
.cke_copyformatting_disabled a,
.cke_copyformatting_disabled .cke_editable {
cursor: url(../cursors/cursor-disabled.svg) 12 1, auto;
}
.cke_copyformatting_disabled .cke_top a,
.cke_copyformatting_disabled .cke_bottom a {
cursor: default;
}
/* Added `!important` rule as a fix for overriding the cursor by the Table Resize plugin.
The `!important` rule is used because the Table Resize plugin creates a `<div>` which changes the cursor using inlined styles. */
.cke_copyformatting_active,
.cke_copyformatting_active.cke_editable,
.cke_copyformatting_active .cke_editable,
.cke_copyformatting_active a,
.cke_copyformatting_active table,
.cke_copyformatting_active div[data-cke-temp],
.cke_copyformatting_tableresize_cursor div[data-cke-temp] {
cursor: url(../cursors/cursor.svg) 12 1, auto !important;
}
.cke_screen_reader_only {
position: absolute;
clip: rect(1px, 1px, 1px, 1px);
padding: 0;
border: 0;
height: 1px;
width: 1px;
overflow: hidden;
}