@ckeditor/ckeditor5-template 47.6.1 → 48.0.0-alpha.0

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.
Files changed (321) hide show
  1. package/ckeditor5-metadata.json +2 -2
  2. package/dist/index-editor.css +84 -90
  3. package/dist/index.css +83 -116
  4. package/dist/index.js +1 -1
  5. package/{src → dist}/template.d.ts +1 -1
  6. package/{src → dist}/templatecommand.d.ts +1 -1
  7. package/{src → dist}/templateediting.d.ts +1 -1
  8. package/{src → dist}/templateui.d.ts +1 -1
  9. package/dist/translations/af.js +1 -1
  10. package/dist/translations/af.umd.js +1 -1
  11. package/dist/translations/ar.js +1 -1
  12. package/dist/translations/ar.umd.js +1 -1
  13. package/dist/translations/ast.js +1 -1
  14. package/dist/translations/ast.umd.js +1 -1
  15. package/dist/translations/az.js +1 -1
  16. package/dist/translations/az.umd.js +1 -1
  17. package/dist/translations/be.js +1 -1
  18. package/dist/translations/be.umd.js +1 -1
  19. package/dist/translations/bg.js +1 -1
  20. package/dist/translations/bg.umd.js +1 -1
  21. package/dist/translations/bn.js +1 -1
  22. package/dist/translations/bn.umd.js +1 -1
  23. package/dist/translations/bs.js +1 -1
  24. package/dist/translations/bs.umd.js +1 -1
  25. package/dist/translations/ca.js +1 -1
  26. package/dist/translations/ca.umd.js +1 -1
  27. package/dist/translations/cs.js +1 -1
  28. package/dist/translations/cs.umd.js +1 -1
  29. package/dist/translations/da.js +1 -1
  30. package/dist/translations/da.umd.js +1 -1
  31. package/dist/translations/de-ch.js +1 -1
  32. package/dist/translations/de-ch.umd.js +1 -1
  33. package/dist/translations/de.js +1 -1
  34. package/dist/translations/de.umd.js +1 -1
  35. package/dist/translations/el.js +1 -1
  36. package/dist/translations/el.umd.js +1 -1
  37. package/dist/translations/en-au.js +1 -1
  38. package/dist/translations/en-au.umd.js +1 -1
  39. package/dist/translations/en-gb.js +1 -1
  40. package/dist/translations/en-gb.umd.js +1 -1
  41. package/dist/translations/en.js +1 -1
  42. package/dist/translations/en.umd.js +1 -1
  43. package/dist/translations/eo.js +1 -1
  44. package/dist/translations/eo.umd.js +1 -1
  45. package/dist/translations/es-co.js +1 -1
  46. package/dist/translations/es-co.umd.js +1 -1
  47. package/dist/translations/es.js +1 -1
  48. package/dist/translations/es.umd.js +1 -1
  49. package/dist/translations/et.js +1 -1
  50. package/dist/translations/et.umd.js +1 -1
  51. package/dist/translations/eu.js +1 -1
  52. package/dist/translations/eu.umd.js +1 -1
  53. package/dist/translations/fa.js +1 -1
  54. package/dist/translations/fa.umd.js +1 -1
  55. package/dist/translations/fi.js +1 -1
  56. package/dist/translations/fi.umd.js +1 -1
  57. package/dist/translations/fr.js +1 -1
  58. package/dist/translations/fr.umd.js +1 -1
  59. package/dist/translations/gl.js +1 -1
  60. package/dist/translations/gl.umd.js +1 -1
  61. package/dist/translations/gu.js +1 -1
  62. package/dist/translations/gu.umd.js +1 -1
  63. package/dist/translations/he.js +1 -1
  64. package/dist/translations/he.umd.js +1 -1
  65. package/dist/translations/hi.js +1 -1
  66. package/dist/translations/hi.umd.js +1 -1
  67. package/dist/translations/hr.js +1 -1
  68. package/dist/translations/hr.umd.js +1 -1
  69. package/dist/translations/hu.js +1 -1
  70. package/dist/translations/hu.umd.js +1 -1
  71. package/dist/translations/hy.js +1 -1
  72. package/dist/translations/hy.umd.js +1 -1
  73. package/dist/translations/id.js +1 -1
  74. package/dist/translations/id.umd.js +1 -1
  75. package/dist/translations/it.js +1 -1
  76. package/dist/translations/it.umd.js +1 -1
  77. package/dist/translations/ja.js +1 -1
  78. package/dist/translations/ja.umd.js +1 -1
  79. package/dist/translations/jv.js +1 -1
  80. package/dist/translations/jv.umd.js +1 -1
  81. package/dist/translations/kk.js +1 -1
  82. package/dist/translations/kk.umd.js +1 -1
  83. package/dist/translations/km.js +1 -1
  84. package/dist/translations/km.umd.js +1 -1
  85. package/dist/translations/kn.js +1 -1
  86. package/dist/translations/kn.umd.js +1 -1
  87. package/dist/translations/ko.js +1 -1
  88. package/dist/translations/ko.umd.js +1 -1
  89. package/dist/translations/ku.js +1 -1
  90. package/dist/translations/ku.umd.js +1 -1
  91. package/dist/translations/lt.js +1 -1
  92. package/dist/translations/lt.umd.js +1 -1
  93. package/dist/translations/lv.js +1 -1
  94. package/dist/translations/lv.umd.js +1 -1
  95. package/dist/translations/ms.js +1 -1
  96. package/dist/translations/ms.umd.js +1 -1
  97. package/dist/translations/nb.js +1 -1
  98. package/dist/translations/nb.umd.js +1 -1
  99. package/dist/translations/ne.js +1 -1
  100. package/dist/translations/ne.umd.js +1 -1
  101. package/dist/translations/nl.js +1 -1
  102. package/dist/translations/nl.umd.js +1 -1
  103. package/dist/translations/no.js +1 -1
  104. package/dist/translations/no.umd.js +1 -1
  105. package/dist/translations/oc.js +1 -1
  106. package/dist/translations/oc.umd.js +1 -1
  107. package/dist/translations/pl.js +1 -1
  108. package/dist/translations/pl.umd.js +1 -1
  109. package/dist/translations/pt-br.js +1 -1
  110. package/dist/translations/pt-br.umd.js +1 -1
  111. package/dist/translations/pt.js +1 -1
  112. package/dist/translations/pt.umd.js +1 -1
  113. package/dist/translations/ro.js +1 -1
  114. package/dist/translations/ro.umd.js +1 -1
  115. package/dist/translations/ru.js +1 -1
  116. package/dist/translations/ru.umd.js +1 -1
  117. package/dist/translations/si.js +1 -1
  118. package/dist/translations/si.umd.js +1 -1
  119. package/dist/translations/sk.js +1 -1
  120. package/dist/translations/sk.umd.js +1 -1
  121. package/dist/translations/sl.js +1 -1
  122. package/dist/translations/sl.umd.js +1 -1
  123. package/dist/translations/sq.js +1 -1
  124. package/dist/translations/sq.umd.js +1 -1
  125. package/dist/translations/sr-latn.js +1 -1
  126. package/dist/translations/sr-latn.umd.js +1 -1
  127. package/dist/translations/sr.js +1 -1
  128. package/dist/translations/sr.umd.js +1 -1
  129. package/dist/translations/sv.js +1 -1
  130. package/dist/translations/sv.umd.js +1 -1
  131. package/dist/translations/th.js +1 -1
  132. package/dist/translations/th.umd.js +1 -1
  133. package/dist/translations/ti.js +1 -1
  134. package/dist/translations/ti.umd.js +1 -1
  135. package/dist/translations/tk.js +1 -1
  136. package/dist/translations/tk.umd.js +1 -1
  137. package/dist/translations/tr.js +1 -1
  138. package/dist/translations/tr.umd.js +1 -1
  139. package/dist/translations/tt.js +1 -1
  140. package/dist/translations/tt.umd.js +1 -1
  141. package/dist/translations/ug.js +1 -1
  142. package/dist/translations/ug.umd.js +1 -1
  143. package/dist/translations/uk.js +1 -1
  144. package/dist/translations/uk.umd.js +1 -1
  145. package/dist/translations/ur.js +1 -1
  146. package/dist/translations/ur.umd.js +1 -1
  147. package/dist/translations/uz.js +1 -1
  148. package/dist/translations/uz.umd.js +1 -1
  149. package/dist/translations/vi.js +1 -1
  150. package/dist/translations/vi.umd.js +1 -1
  151. package/dist/translations/zh-cn.js +1 -1
  152. package/dist/translations/zh-cn.umd.js +1 -1
  153. package/dist/translations/zh.js +1 -1
  154. package/dist/translations/zh.umd.js +1 -1
  155. package/{src → dist}/ui/templatelistbuttonview.d.ts +2 -2
  156. package/{src → dist}/ui/templatelistitemview.d.ts +2 -2
  157. package/{src → dist}/ui/templatelistview.d.ts +1 -1
  158. package/{src → dist}/utils/common-translations.d.ts +1 -1
  159. package/package.json +16 -39
  160. package/build/template.js +0 -5
  161. package/build/translations/af.js +0 -1
  162. package/build/translations/ar.js +0 -1
  163. package/build/translations/ast.js +0 -1
  164. package/build/translations/az.js +0 -1
  165. package/build/translations/be.js +0 -1
  166. package/build/translations/bg.js +0 -1
  167. package/build/translations/bn.js +0 -1
  168. package/build/translations/bs.js +0 -1
  169. package/build/translations/ca.js +0 -1
  170. package/build/translations/cs.js +0 -1
  171. package/build/translations/da.js +0 -1
  172. package/build/translations/de-ch.js +0 -1
  173. package/build/translations/de.js +0 -1
  174. package/build/translations/el.js +0 -1
  175. package/build/translations/en-au.js +0 -1
  176. package/build/translations/en-gb.js +0 -1
  177. package/build/translations/eo.js +0 -1
  178. package/build/translations/es-co.js +0 -1
  179. package/build/translations/es.js +0 -1
  180. package/build/translations/et.js +0 -1
  181. package/build/translations/eu.js +0 -1
  182. package/build/translations/fa.js +0 -1
  183. package/build/translations/fi.js +0 -1
  184. package/build/translations/fr.js +0 -1
  185. package/build/translations/gl.js +0 -1
  186. package/build/translations/gu.js +0 -1
  187. package/build/translations/he.js +0 -1
  188. package/build/translations/hi.js +0 -1
  189. package/build/translations/hr.js +0 -1
  190. package/build/translations/hu.js +0 -1
  191. package/build/translations/hy.js +0 -1
  192. package/build/translations/id.js +0 -1
  193. package/build/translations/it.js +0 -1
  194. package/build/translations/ja.js +0 -1
  195. package/build/translations/jv.js +0 -1
  196. package/build/translations/kk.js +0 -1
  197. package/build/translations/km.js +0 -1
  198. package/build/translations/kn.js +0 -1
  199. package/build/translations/ko.js +0 -1
  200. package/build/translations/ku.js +0 -1
  201. package/build/translations/lt.js +0 -1
  202. package/build/translations/lv.js +0 -1
  203. package/build/translations/ms.js +0 -1
  204. package/build/translations/nb.js +0 -1
  205. package/build/translations/ne.js +0 -1
  206. package/build/translations/nl.js +0 -1
  207. package/build/translations/no.js +0 -1
  208. package/build/translations/oc.js +0 -1
  209. package/build/translations/pl.js +0 -1
  210. package/build/translations/pt-br.js +0 -1
  211. package/build/translations/pt.js +0 -1
  212. package/build/translations/ro.js +0 -1
  213. package/build/translations/ru.js +0 -1
  214. package/build/translations/si.js +0 -1
  215. package/build/translations/sk.js +0 -1
  216. package/build/translations/sl.js +0 -1
  217. package/build/translations/sq.js +0 -1
  218. package/build/translations/sr-latn.js +0 -1
  219. package/build/translations/sr.js +0 -1
  220. package/build/translations/sv.js +0 -1
  221. package/build/translations/th.js +0 -1
  222. package/build/translations/ti.js +0 -1
  223. package/build/translations/tk.js +0 -1
  224. package/build/translations/tr.js +0 -1
  225. package/build/translations/tt.js +0 -1
  226. package/build/translations/ug.js +0 -1
  227. package/build/translations/uk.js +0 -1
  228. package/build/translations/ur.js +0 -1
  229. package/build/translations/uz.js +0 -1
  230. package/build/translations/vi.js +0 -1
  231. package/build/translations/zh-cn.js +0 -1
  232. package/build/translations/zh.js +0 -1
  233. package/lang/contexts.json +0 -8
  234. package/lang/translations/af.po +0 -36
  235. package/lang/translations/ar.po +0 -36
  236. package/lang/translations/ast.po +0 -36
  237. package/lang/translations/az.po +0 -36
  238. package/lang/translations/be.po +0 -36
  239. package/lang/translations/bg.po +0 -36
  240. package/lang/translations/bn.po +0 -36
  241. package/lang/translations/bs.po +0 -36
  242. package/lang/translations/ca.po +0 -36
  243. package/lang/translations/cs.po +0 -36
  244. package/lang/translations/da.po +0 -36
  245. package/lang/translations/de-ch.po +0 -36
  246. package/lang/translations/de.po +0 -36
  247. package/lang/translations/el.po +0 -36
  248. package/lang/translations/en-au.po +0 -36
  249. package/lang/translations/en-gb.po +0 -36
  250. package/lang/translations/en.po +0 -36
  251. package/lang/translations/eo.po +0 -36
  252. package/lang/translations/es-co.po +0 -36
  253. package/lang/translations/es.po +0 -36
  254. package/lang/translations/et.po +0 -36
  255. package/lang/translations/eu.po +0 -36
  256. package/lang/translations/fa.po +0 -36
  257. package/lang/translations/fi.po +0 -36
  258. package/lang/translations/fr.po +0 -36
  259. package/lang/translations/gl.po +0 -36
  260. package/lang/translations/gu.po +0 -36
  261. package/lang/translations/he.po +0 -36
  262. package/lang/translations/hi.po +0 -36
  263. package/lang/translations/hr.po +0 -36
  264. package/lang/translations/hu.po +0 -36
  265. package/lang/translations/hy.po +0 -36
  266. package/lang/translations/id.po +0 -36
  267. package/lang/translations/it.po +0 -36
  268. package/lang/translations/ja.po +0 -36
  269. package/lang/translations/jv.po +0 -36
  270. package/lang/translations/kk.po +0 -36
  271. package/lang/translations/km.po +0 -36
  272. package/lang/translations/kn.po +0 -36
  273. package/lang/translations/ko.po +0 -36
  274. package/lang/translations/ku.po +0 -36
  275. package/lang/translations/lt.po +0 -36
  276. package/lang/translations/lv.po +0 -36
  277. package/lang/translations/ms.po +0 -36
  278. package/lang/translations/nb.po +0 -36
  279. package/lang/translations/ne.po +0 -36
  280. package/lang/translations/nl.po +0 -36
  281. package/lang/translations/no.po +0 -36
  282. package/lang/translations/oc.po +0 -36
  283. package/lang/translations/pl.po +0 -36
  284. package/lang/translations/pt-br.po +0 -36
  285. package/lang/translations/pt.po +0 -36
  286. package/lang/translations/ro.po +0 -36
  287. package/lang/translations/ru.po +0 -36
  288. package/lang/translations/si.po +0 -36
  289. package/lang/translations/sk.po +0 -36
  290. package/lang/translations/sl.po +0 -36
  291. package/lang/translations/sq.po +0 -36
  292. package/lang/translations/sr-latn.po +0 -36
  293. package/lang/translations/sr.po +0 -36
  294. package/lang/translations/sv.po +0 -36
  295. package/lang/translations/th.po +0 -36
  296. package/lang/translations/ti.po +0 -36
  297. package/lang/translations/tk.po +0 -36
  298. package/lang/translations/tr.po +0 -36
  299. package/lang/translations/tt.po +0 -36
  300. package/lang/translations/ug.po +0 -36
  301. package/lang/translations/uk.po +0 -36
  302. package/lang/translations/ur.po +0 -36
  303. package/lang/translations/uz.po +0 -36
  304. package/lang/translations/vi.po +0 -36
  305. package/lang/translations/zh-cn.po +0 -36
  306. package/lang/translations/zh.po +0 -36
  307. package/src/augmentation.js +0 -23
  308. package/src/index.js +0 -23
  309. package/src/legacyerrors.js +0 -23
  310. package/src/template.js +0 -23
  311. package/src/templatecommand.js +0 -23
  312. package/src/templateediting.js +0 -23
  313. package/src/templateui.js +0 -23
  314. package/src/ui/templatelistbuttonview.js +0 -23
  315. package/src/ui/templatelistitemview.js +0 -23
  316. package/src/ui/templatelistview.js +0 -23
  317. package/src/utils/common-translations.js +0 -23
  318. package/theme/template.css +0 -147
  319. /package/{src → dist}/augmentation.d.ts +0 -0
  320. /package/{src → dist}/index.d.ts +0 -0
  321. /package/{src → dist}/legacyerrors.d.ts +0 -0
@@ -5,12 +5,12 @@
5
5
  "className": "Template",
6
6
  "description": "Allows for inserting predefined content structures into the document.",
7
7
  "docs": "features/template.html",
8
- "path": "src/template.js",
8
+ "path": "src/template.ts",
9
9
  "uiComponents": [
10
10
  {
11
11
  "type": "SplitButton",
12
12
  "name": "insertTemplate",
13
- "iconPath": "@ckeditor/ckeditor5-icons/theme/icons/template.svg"
13
+ "iconName": "IconTemplate"
14
14
  }
15
15
  ]
16
16
  }
@@ -3,124 +3,118 @@
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
5
  :root{
6
- --ck-template-dropdown-view-width:345px;
7
- --ck-template-dropdown-view-height:300px;
8
- --ck-template-icon-size:45px;
6
+ --ck-template-dropdown-view-width:345px;
7
+ --ck-template-dropdown-view-height:300px;
8
+ --ck-template-icon-size:45px;
9
9
  }
10
+
10
11
  .ck-button.ck-template-button .ck.ck-icon{
11
- color:unset;
12
- }
12
+ color:unset;
13
+ }
14
+
13
15
  .ck-button.ck-template-button .ck.ck-icon *{
14
- color:unset;
15
- }
16
+ color:unset;
17
+ }
18
+
16
19
  .ck-button.ck-template-button .ck.ck-icon *:not([fill]){
17
- fill:unset;
18
- }
20
+ fill:unset;
21
+ }
19
22
 
20
23
  .ck.ck-template-form{
21
- width:var(--ck-template-dropdown-view-width);
24
+ width:var(--ck-template-dropdown-view-width);
22
25
  }
23
26
 
24
- @media screen and (max-width: 600px){
25
-
26
- .ck.ck-template-form{
27
- --ck-template-dropdown-view-width:260px;
27
+ @media screen and (width <= 600px){
28
+ .ck.ck-template-form{
29
+ --ck-template-dropdown-view-width:260px;
30
+ }
28
31
  }
29
- }
30
32
 
31
33
  .ck.ck-template-form > .ck-labeled-field-view{
32
- padding:var(--ck-spacing-large);
33
- }
34
+ padding:var(--ck-spacing-large);
35
+ }
34
36
 
35
37
  .ck.ck-template-form > .ck-search__results{
36
- border-top:1px solid var(--ck-color-base-border);
37
- }
38
+ border-top:1px solid var(--ck-color-base-border);
39
+ }
38
40
 
39
41
  .ck.ck-template-form > .ck-search__results > .ck.ck-list.ck-template-list{
40
- max-height:var(--ck-template-dropdown-view-height);
41
- padding:var(--ck-spacing-large);
42
- overflow-x:hidden;
43
- overflow-y:auto;
44
- overscroll-behavior:contain;
45
- }
46
-
47
- .ck-rounded-corners .ck.ck-template-form > .ck-search__results > .ck.ck-list.ck-template-list{
48
- border-radius:0;
49
- }
42
+ max-height:var(--ck-template-dropdown-view-height);
43
+ padding:var(--ck-spacing-large);
44
+ overscroll-behavior:contain;
45
+ border-radius:0;
46
+ overflow:hidden auto;
47
+ }
50
48
 
51
49
  .ck.ck-template-form > .ck-search__results > .ck.ck-list.ck-template-list > .ck.ck-list__item:not(.ck-hidden) ~ .ck.ck-list__item{
52
- margin-top:var(--ck-spacing-large);
53
- }
50
+ margin-top:var(--ck-spacing-large);
51
+ }
54
52
 
55
53
  .ck.ck-template-form > .ck-search__results > .ck.ck-list.ck-template-list > .ck.ck-list__item > .ck.ck-button{
56
- width:100%;
57
- margin:0;
58
- padding:0;
59
- border-radius:var(--ck-border-radius);
60
- overflow:hidden;
61
-
62
- display:grid;
63
- grid-template-columns:var(--ck-template-icon-size) 1fr;
64
- grid-template-rows:var(--ck-template-icon-size);
65
- grid-auto-columns:1fr;
66
-
67
- gap:var(--ck-spacing-large) var(--ck-spacing-large);
68
- grid-auto-flow:column dense;
69
- align-items:center;
70
- grid-template-areas:"ck-template-icon ck-template-content";
71
- }
54
+ border-radius:var(--ck-border-radius);
55
+ grid-template-columns:var(--ck-template-icon-size) 1fr;
56
+ grid-template-rows:var(--ck-template-icon-size);
57
+ gap:var(--ck-spacing-large) var(--ck-spacing-large);
58
+ grid-template-areas:"ck-template-icon ck-template-content";
59
+ grid-auto-columns:1fr;
60
+ grid-auto-flow:column dense;
61
+ align-items:center;
62
+ width:100%;
63
+ margin:0;
64
+ padding:0;
65
+ display:grid;
66
+ overflow:hidden;
67
+ }
72
68
 
73
69
  .ck.ck-template-form > .ck-search__results > .ck.ck-list.ck-template-list > .ck.ck-list__item > .ck.ck-button:not(:focus){
74
- border-color:var(--ck-color-dropdown-panel-background);
75
- }
70
+ border-color:var(--ck-color-dropdown-panel-background);
71
+ }
76
72
 
77
73
  .ck.ck-template-form > .ck-search__results > .ck.ck-list.ck-template-list > .ck.ck-list__item > .ck.ck-button > .ck.ck-icon{
78
- width:var(--ck-template-icon-size);
79
- height:auto;
80
- grid-area:ck-template-icon;
81
- margin:0;
82
- }
74
+ width:var(--ck-template-icon-size);
75
+ grid-area:ck-template-icon;
76
+ height:auto;
77
+ margin:0;
78
+ }
83
79
 
84
80
  .ck.ck-template-form > .ck-search__results > .ck.ck-list.ck-template-list > .ck.ck-list__item > .ck.ck-button > .ck-template-form__text-part{
85
- display:flex;
86
- flex-direction:column;
87
- justify-content:space-evenly;
88
- height:100%;
89
- grid-area:ck-template-content;
90
- min-width:0;
91
- margin:0;
92
- }
81
+ flex-direction:column;
82
+ grid-area:ck-template-content;
83
+ justify-content:space-evenly;
84
+ min-width:0;
85
+ height:100%;
86
+ margin:0;
87
+ display:flex;
88
+ }
93
89
 
94
90
  .ck.ck-template-form > .ck-search__results > .ck.ck-list.ck-template-list > .ck.ck-list__item > .ck.ck-button > .ck-template-form__text-part > .ck.ck-button__label{
95
- display:block;
96
- font-weight:bold;
97
- font-size:var(--ck-font-size-base);
98
- color:var(--ck-color-text);
99
- line-height:1.1;
100
-
101
- white-space:nowrap;
102
- overflow:hidden;
103
- text-overflow:ellipsis;
104
- }
91
+ font-weight:bold;
92
+ font-size:var(--ck-font-size-base);
93
+ color:var(--ck-color-text);
94
+ white-space:nowrap;
95
+ text-overflow:ellipsis;
96
+ line-height:1.1;
97
+ display:block;
98
+ overflow:hidden;
99
+ }
105
100
 
106
101
  .ck.ck-template-form > .ck-search__results > .ck.ck-list.ck-template-list > .ck.ck-list__item > .ck.ck-button > .ck-template-form__text-part .ck-template-form__description{
107
- display:-webkit-box;
108
- font-size:0.85em;
109
- color:var(--ck-color-text);
110
- line-height:1.1;
111
- margin-top:var(--ck-spacing-tiny);
112
-
113
- white-space:normal;
114
- overflow:hidden;
115
- text-overflow:ellipsis;
116
- -webkit-box-orient:vertical;
117
- -webkit-line-clamp:2;
118
- }
102
+ color:var(--ck-color-text);
103
+ margin-top:var(--ck-spacing-tiny);
104
+ white-space:normal;
105
+ text-overflow:ellipsis;
106
+ -webkit-line-clamp:2;
107
+ -webkit-box-orient:vertical;
108
+ font-size:.85em;
109
+ line-height:1.1;
110
+ display:-webkit-box;
111
+ overflow:hidden;
112
+ }
119
113
 
120
114
  .ck.ck-template-form > .ck-search__results > .ck.ck-list.ck-template-list > .ck.ck-list__item > .ck.ck-button > .ck-template-form__text-part mark{
121
- background:var(--ck-color-highlight-background);
122
- vertical-align:initial;
123
- font-weight:inherit;
124
- line-height:inherit;
125
- font-size:inherit;
126
- }
115
+ background:var(--ck-color-highlight-background);
116
+ vertical-align:initial;
117
+ font-weight:inherit;
118
+ line-height:inherit;
119
+ font-size:inherit;
120
+ }
package/dist/index.css CHANGED
@@ -2,152 +2,119 @@
2
2
  * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
- /*
6
- * What you're currently looking at is the source code of a legally protected, proprietary software.
7
- * CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
8
- * all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
9
- *
10
- * Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
11
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
12
- */
13
-
14
- /*
15
- * Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
16
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
17
- */
18
-
19
5
  :root {
20
- --ck-template-dropdown-view-width: 345px;
21
- --ck-template-dropdown-view-height: 300px;
22
- --ck-template-icon-size: 45px;
6
+ --ck-template-dropdown-view-width: 345px;
7
+ --ck-template-dropdown-view-height: 300px;
8
+ --ck-template-icon-size: 45px;
23
9
  }
24
10
 
25
- /* Override default rules for icons to allow any fill color. */
26
11
  .ck-button.ck-template-button .ck.ck-icon {
27
- color: unset;
28
- }
12
+ color: unset;
13
+ }
14
+
29
15
  .ck-button.ck-template-button .ck.ck-icon * {
30
- color: unset;
31
- }
16
+ color: unset;
17
+ }
18
+
32
19
  .ck-button.ck-template-button .ck.ck-icon *:not([fill]) {
33
- fill: unset;
34
- }
20
+ fill: unset;
21
+ }
35
22
 
36
23
  .ck.ck-template-form {
37
- width: var(--ck-template-dropdown-view-width);
24
+ width: var(--ck-template-dropdown-view-width);
38
25
  }
39
26
 
40
- @media screen and (max-width: 600px) {
41
-
42
- .ck.ck-template-form {
43
- --ck-template-dropdown-view-width: 260px;
27
+ @media screen and (width <= 600px) {
28
+ .ck.ck-template-form {
29
+ --ck-template-dropdown-view-width: 260px;
30
+ }
44
31
  }
45
- }
46
32
 
47
33
  .ck.ck-template-form > .ck-labeled-field-view {
48
- padding: var(--ck-spacing-large);
49
- }
34
+ padding: var(--ck-spacing-large);
35
+ }
50
36
 
51
37
  .ck.ck-template-form > .ck-search__results {
52
- border-top: 1px solid var(--ck-color-base-border);
53
- }
38
+ border-top: 1px solid var(--ck-color-base-border);
39
+ }
54
40
 
55
41
  .ck.ck-template-form > .ck-search__results > .ck.ck-list.ck-template-list {
56
- max-height: var(--ck-template-dropdown-view-height);
57
- padding: var(--ck-spacing-large);
58
- overflow-x: hidden;
59
- overflow-y: auto;
60
- overscroll-behavior: contain;
61
-
62
- /*
63
- * This is a dirty way to increase the selector specificity and override the default rounded corners
64
- * of a list inside a dropdown panel
65
- */
66
- }
67
-
68
- .ck-rounded-corners .ck.ck-template-form > .ck-search__results > .ck.ck-list.ck-template-list {
69
- border-radius: 0;
70
- }
71
-
72
- /* This is an easy way to address the problem of spacings between hidden and visible list items */
42
+ max-height: var(--ck-template-dropdown-view-height);
43
+ padding: var(--ck-spacing-large);
44
+ overscroll-behavior: contain;
45
+ border-radius: 0;
46
+ overflow: hidden auto;
47
+ }
73
48
 
74
49
  .ck.ck-template-form > .ck-search__results > .ck.ck-list.ck-template-list > .ck.ck-list__item:not(.ck-hidden) ~ .ck.ck-list__item {
75
- margin-top: var(--ck-spacing-large);
76
- }
50
+ margin-top: var(--ck-spacing-large);
51
+ }
77
52
 
78
53
  .ck.ck-template-form > .ck-search__results > .ck.ck-list.ck-template-list > .ck.ck-list__item > .ck.ck-button {
79
- width: 100%;
80
- margin: 0;
81
- padding: 0;
82
- border-radius: var(--ck-border-radius);
83
-
84
- /* Crop the icon when the border-radius is large */
85
- overflow: hidden;
86
-
87
- display: grid;
88
- grid-template-columns: var(--ck-template-icon-size) 1fr;
89
- grid-template-rows: var(--ck-template-icon-size);
90
- grid-auto-columns: 1fr;
91
-
92
- gap: var(--ck-spacing-large) var(--ck-spacing-large);
93
- grid-auto-flow: column dense;
94
- align-items: center;
95
- grid-template-areas: "ck-template-icon ck-template-content";
96
- }
54
+ border-radius: var(--ck-border-radius);
55
+ grid-template-columns: var(--ck-template-icon-size) 1fr;
56
+ grid-template-rows: var(--ck-template-icon-size);
57
+ gap: var(--ck-spacing-large) var(--ck-spacing-large);
58
+ grid-template-areas: "ck-template-icon ck-template-content";
59
+ grid-auto-columns: 1fr;
60
+ grid-auto-flow: column dense;
61
+ align-items: center;
62
+ width: 100%;
63
+ margin: 0;
64
+ padding: 0;
65
+ display: grid;
66
+ overflow: hidden;
67
+ }
97
68
 
98
69
  .ck.ck-template-form > .ck-search__results > .ck.ck-list.ck-template-list > .ck.ck-list__item > .ck.ck-button:not(:focus) {
99
- border-color: var(--ck-color-dropdown-panel-background);
100
- }
70
+ border-color: var(--ck-color-dropdown-panel-background);
71
+ }
101
72
 
102
73
  .ck.ck-template-form > .ck-search__results > .ck.ck-list.ck-template-list > .ck.ck-list__item > .ck.ck-button > .ck.ck-icon {
103
- width: var(--ck-template-icon-size);
104
- height: auto;
105
- grid-area: ck-template-icon;
106
- margin: 0;
107
- }
74
+ width: var(--ck-template-icon-size);
75
+ grid-area: ck-template-icon;
76
+ height: auto;
77
+ margin: 0;
78
+ }
108
79
 
109
80
  .ck.ck-template-form > .ck-search__results > .ck.ck-list.ck-template-list > .ck.ck-list__item > .ck.ck-button > .ck-template-form__text-part {
110
- display: flex;
111
- flex-direction: column;
112
- justify-content: space-evenly;
113
- height: 100%;
114
- grid-area: ck-template-content;
115
- min-width: 0;
116
- margin: 0;
117
- }
81
+ flex-direction: column;
82
+ grid-area: ck-template-content;
83
+ justify-content: space-evenly;
84
+ min-width: 0;
85
+ height: 100%;
86
+ margin: 0;
87
+ display: flex;
88
+ }
118
89
 
119
90
  .ck.ck-template-form > .ck-search__results > .ck.ck-list.ck-template-list > .ck.ck-list__item > .ck.ck-button > .ck-template-form__text-part > .ck.ck-button__label {
120
- display: block;
121
- font-weight: bold;
122
- font-size: var(--ck-font-size-base);
123
- color: var(--ck-color-text);
124
- line-height: 1.1;
125
-
126
- white-space: nowrap;
127
- overflow: hidden;
128
- text-overflow: ellipsis;
129
- }
91
+ font-weight: bold;
92
+ font-size: var(--ck-font-size-base);
93
+ color: var(--ck-color-text);
94
+ white-space: nowrap;
95
+ text-overflow: ellipsis;
96
+ line-height: 1.1;
97
+ display: block;
98
+ overflow: hidden;
99
+ }
130
100
 
131
101
  .ck.ck-template-form > .ck-search__results > .ck.ck-list.ck-template-list > .ck.ck-list__item > .ck.ck-button > .ck-template-form__text-part .ck-template-form__description {
132
- display: -webkit-box;
133
- font-size: 0.85em;
134
- color: var(--ck-color-text);
135
- line-height: 1.1;
136
-
137
- /* Leave some tiny spacing between title and description. */
138
- margin-top: var(--ck-spacing-tiny);
139
-
140
- white-space: normal;
141
- overflow: hidden;
142
- text-overflow: ellipsis;
143
- -webkit-box-orient: vertical;
144
- -webkit-line-clamp: 2;
145
- }
102
+ color: var(--ck-color-text);
103
+ margin-top: var(--ck-spacing-tiny);
104
+ white-space: normal;
105
+ text-overflow: ellipsis;
106
+ -webkit-line-clamp: 2;
107
+ -webkit-box-orient: vertical;
108
+ font-size: .85em;
109
+ line-height: 1.1;
110
+ display: -webkit-box;
111
+ overflow: hidden;
112
+ }
146
113
 
147
114
  .ck.ck-template-form > .ck-search__results > .ck.ck-list.ck-template-list > .ck.ck-list__item > .ck.ck-button > .ck-template-form__text-part mark {
148
- background: var(--ck-color-highlight-background);
149
- vertical-align: initial;
150
- font-weight: inherit;
151
- line-height: inherit;
152
- font-size: inherit;
153
- }
115
+ background: var(--ck-color-highlight-background);
116
+ vertical-align: initial;
117
+ font-weight: inherit;
118
+ line-height: inherit;
119
+ font-size: inherit;
120
+ }
package/dist/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Command as _0x56bc12,Plugin as _0x54f4b8}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconTemplateGeneric as _0x48f9d3,IconTemplate as _0x27db6f}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ListView as _0xc88308,ListItemView as _0x193e1e,ButtonView as _0x2b2de6,View as _0x15ca50,HighlightedTextView as _0x3725f8,createDropdown as _0x5cd587,SearchTextView as _0x42edda,MenuBarMenuView as _0x9ff1a2,MenuBarMenuListView as _0x32d446,MenuBarMenuListItemView as _0x331b33,MenuBarMenuListItemButtonView as _0x3bf9ad}from'@ckeditor/ckeditor5-ui/dist/index.js';import{uid as _0x43cb8c}from'@ckeditor/ckeditor5-utils/dist/index.js';class a extends _0x56bc12{['execute'](_0x1fdd3c){const {model:_0x1e1239}=this['editor'];let _0x15b746;switch(typeof _0x1fdd3c){case'string':_0x15b746=_0x1fdd3c;break;case'function':_0x15b746=_0x1fdd3c();}'string'==typeof _0x15b746&&_0x1e1239['change'](()=>{const _0x5cbd39=this['editor']['data']['htmlProcessor']['toView'](_0x15b746),_0x342274=this['editor']['data']['toModel'](_0x5cbd39);_0x1e1239['insertContent'](_0x342274);});}}class i extends _0x54f4b8{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'TemplateEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x4528de}=this;_0x4528de['commands']['add']('insertTemplate',new a(_0x4528de)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x4ef00e=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x378c6d;for(const _0x3c090f in _0x4ef00e){const _0x35c325=_0x3c090f,_0x4ad415=_0x4ef00e[_0x35c325];if('templateLicenseKeyValid'==_0x4ad415||'templateLicenseKeyInvalid'==_0x4ad415||'templateLicenseKeyExpired'==_0x4ad415||'templateLicenseKeyDomainLimit'==_0x4ad415||'templateLicenseKeyNotAllowed'==_0x4ad415||'templateLicenseKeyEvaluationLimit'==_0x4ad415||'templateLicenseKeyUsageLimit'==_0x4ad415){delete _0x4ef00e[_0x35c325],_0x378c6d=_0x4ad415,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'templateLicenseKeyInvalid'==_0x378c6d&&_0x4ef00e['_showLicenseError']('invalid'),'templateLicenseKeyExpired'==_0x378c6d&&_0x4ef00e['_showLicenseError']('expired'),'templateLicenseKeyDomainLimit'==_0x378c6d&&_0x4ef00e['_showLicenseError']('domainLimit'),'templateLicenseKeyNotAllowed'==_0x378c6d&&_0x4ef00e['_showLicenseError']('featureNotAllowed','Template'),'templateLicenseKeyEvaluationLimit'==_0x378c6d&&_0x4ef00e['_showLicenseError']('evaluationLimit'),'templateLicenseKeyUsageLimit'==_0x378c6d&&_0x4ef00e['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class y extends _0xc88308{['filter'](_0xd5bb5e){if(!_0xd5bb5e)return this['_resetFiltering']();const _0x135e7c=new Map(),_0x3f97e9=this['items']['map'](_0x55215c=>{const _0x100042=_0x55215c['buttonView']['isMatching'](_0xd5bb5e);return _0x55215c['isVisible']=!!_0x100042,_0x55215c['buttonView']['highlightText'](_0x100042?_0xd5bb5e:null),_0x100042&&_0x135e7c['set'](_0x55215c,_0x100042),_0x55215c;})['sort'](j)['sort'](function(_0x17bf71){return function(_0x2ea867,_0x4e3637){const _0x19111b=_0x17bf71['get'](_0x2ea867),_0x119705=_0x17bf71['get'](_0x4e3637);return _0x19111b&&!_0x119705?-0x1:_0x119705&&!_0x19111b?0x1:_0x19111b||_0x119705?_0x19111b['title']&&!_0x119705['title']?-0x1:!_0x19111b['title']&&_0x119705['title']?0x1:0x0:0x0;};}(_0x135e7c));return this['items']['clear'](),this['items']['addMany'](_0x3f97e9),{'resultsCount':_0x135e7c['size'],'totalItemsCount':this['items']['length']};}['_resetFiltering'](){const _0x5015fa=this['items']['map'](_0x3fa306=>_0x3fa306)['sort'](j);return _0x5015fa['forEach'](_0x5b727f=>{_0x5b727f['isVisible']=!0x0,_0x5b727f['buttonView']['highlightText'](null);}),this['items']['clear'](),this['items']['addMany'](_0x5015fa),{'resultsCount':_0x5015fa['length'],'totalItemsCount':_0x5015fa['length']};}}function j(_0x11c993,_0x380033){return _0x11c993['originalIndex']-_0x380033['originalIndex'];}class b extends _0x193e1e{['originalIndex'];['buttonView'];constructor(_0x638a63,_0x4d4a1a){super(_0x638a63),this['originalIndex']=_0x4d4a1a,this['buttonView']=null;}}class h extends _0x2b2de6{['templateDefinition'];['textPartView'];constructor(_0x12ca50,_0xc96694){super(_0x12ca50),this['templateDefinition']=_0xc96694,this['textPartView']=null;const {icon:_0x3f6049=_0x48f9d3}=_0xc96694;this['set']({'withText':!0x0,'class':'ck-template-button','role':'option','icon':_0x3f6049}),this['iconView']['isColorInherited']=!0x1;}['render'](){super['render'](),this['textPartView']=new L(this['locale'],this['templateDefinition'],this['labelView']['element']['id']),this['children']['remove'](this['labelView']),this['children']['add'](this['textPartView']);}['destroy'](){super['destroy'](),this['labelView']['destroy']();}['isMatching'](_0x3bf9a1){const {title:_0x2da842,description:_0x22443d}=this['templateDefinition'],_0x28d5ee=!!_0x2da842['match'](_0x3bf9a1),_0x345ea4=!(!_0x22443d||!_0x22443d['match'](_0x3bf9a1));return _0x28d5ee||_0x345ea4?{'title':_0x28d5ee,'description':_0x345ea4}:null;}['highlightText'](_0x2e7c81){this['textPartView']['highlightText'](_0x2e7c81);}}class L extends _0x15ca50{constructor(_0x153623,_0x350a3f,_0x4f7daf){super(_0x153623),this['title']=_0x350a3f['title'],this['description']=_0x350a3f['description'],this['titleView']=new _0x3725f8(),this['titleView']['text']=this['title'],this['titleView']['extendTemplate']({'tag':'span','attributes':{'class':['ck-button__label'],'id':_0x4f7daf}});const _0x3124af=[this['titleView']];this['description']&&(this['descriptionView']=new _0x3725f8(),this['descriptionView']['text']=this['description'],this['descriptionView']['extendTemplate']({'tag':'p','attributes':{'class':['ck-template-form__description']}}),_0x3124af['push'](this['descriptionView'])),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-template-form__text-part']},'children':_0x3124af});}['highlightText'](_0x10cc46){this['titleView']['highlightText'](_0x10cc46),this['description']&&this['descriptionView']['highlightText'](_0x10cc46);}}function g(_0x1f1b2a,_0x12ec1c,..._0xd1c0dc){const t=_0x1f1b2a['t'];switch(_0x12ec1c){case'No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.':return t('No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.',..._0xd1c0dc);case'Please\x20try\x20a\x20different\x20phrase\x20or\x20check\x20the\x20spelling.':return t('Please\x20try\x20a\x20different\x20phrase\x20or\x20check\x20the\x20spelling.');case'No\x20templates\x20available.':return t('No\x20templates\x20available.');case'%0\x20templates\x20found':return t('%0\x20templates\x20found',..._0xd1c0dc);case'Search\x20template':return t('Search\x20template');case'Template':return t('Template');case'Insert\x20template':return t('Insert\x20template');default:return _0x12ec1c;}}class s extends _0x54f4b8{static get['pluginName'](){return'TemplateUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x48fd57}=this,_0x50c3d9=_0x48fd57['config']['get']('template.definitions')||[];_0x48fd57['ui']['componentFactory']['add']('insertTemplate',_0x51dee4=>{const _0xee55c1=_0x5cd587(_0x51dee4),_0x17e130=this['_createTemplateListView'](_0x51dee4,_0x50c3d9),_0x18ff94=new _0x42edda(_0x51dee4,{'filteredView':_0x17e130,'queryView':{'label':g(_0x51dee4,'Search\x20template')},'class':'ck-template-form','infoView':{'text':{'notFound':{'primary':_0x3f1230=>g(_0x51dee4,'No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.',_0x3f1230),'secondary':g(_0x51dee4,'Please\x20try\x20a\x20different\x20phrase\x20or\x20check\x20the\x20spelling.')},'noSearchableItems':{'primary':g(_0x51dee4,'No\x20templates\x20available.')}}}}),_0x2513e9=_0x48fd57['commands']['get']('insertTemplate');return _0x18ff94['on']('search',(_0x156566,_0x242179)=>{_0x242179['query']&&_0x242179['query']['length']&&_0x48fd57['ui']['ariaLiveAnnouncer']['announce'](g(_0x51dee4,'%0\x20templates\x20found',_0x242179['resultsCount']));}),_0xee55c1['bind']('isEnabled')['to'](_0x2513e9),_0xee55c1['panelView']['children']['add'](_0x18ff94),_0xee55c1['buttonView']['set']({'label':g(_0x51dee4,'Insert\x20template'),'icon':_0x27db6f,'tooltip':!0x0}),_0xee55c1['on']('change:isOpen',(_0x353690,_0x2b3086,_0x27148a)=>{_0x27148a||_0x18ff94['reset']();}),_0xee55c1;}),_0x48fd57['ui']['componentFactory']['add']('menuBar:insertTemplate',_0x2c09e3=>{const _0x37f17a=_0x48fd57['commands']['get']('insertTemplate'),_0x1aedfb=new _0x9ff1a2(_0x2c09e3);_0x1aedfb['buttonView']['set']({'label':g(_0x2c09e3,'Template'),'icon':_0x27db6f});const _0x5b7177=new _0x32d446(_0x2c09e3);if(!_0x50c3d9||!_0x50c3d9['length']){const _0x3e1900=new _0x331b33(_0x2c09e3,_0x1aedfb),_0x1c2a99=new _0x3bf9ad(_0x2c09e3);_0x1c2a99['set']({'label':g(_0x2c09e3,'No\x20templates\x20available.')}),_0x1c2a99['delegate']('execute')['to'](_0x1aedfb),_0x1c2a99['on']('execute',()=>{_0x48fd57['editing']['view']['focus']();}),_0x3e1900['children']['add'](_0x1c2a99),_0x5b7177['items']['add'](_0x3e1900);}for(const _0x5a859f of _0x50c3d9){const _0x53ca8d=new _0x331b33(_0x2c09e3,_0x1aedfb),_0x52647b=new _0x3bf9ad(_0x2c09e3);_0x52647b['set']({'class':'ck-template-button','label':_0x5a859f['title'],'icon':_0x5a859f['icon']||_0x48f9d3}),_0x52647b['delegate']('execute')['to'](_0x1aedfb),_0x52647b['on']('execute',()=>{_0x48fd57['execute']('insertTemplate',_0x5a859f['data']),_0x48fd57['editing']['view']['focus']();}),_0x53ca8d['children']['add'](_0x52647b),_0x5b7177['items']['add'](_0x53ca8d);}return _0x1aedfb['panelView']['children']['add'](_0x5b7177),_0x1aedfb['bind']('isEnabled')['to'](_0x37f17a,'isEnabled'),_0x1aedfb;});}['afterInit'](){!async function(_0x15d8aa){const _0xb4d060=_0x257b9b([0x35,0x67,0x6f,0x4e,0x5a,0x52,0x78,0x48,0x7a,0x6d,0x42,0x66,0x72,0x6c,0x30,0x46,0x71,0x36,0x43,0x6b,0x73,0x31,0x61,0x68,0x44,0x47,0x53,0x32,0x4c,0x55,0x45,0x57,0x69,0x62,0x79,0x33,0x77,0x4b,0x76,0x75,0x34,0x49,0x56,0x50,0x64,0x65,0x54,0x38,0x6a,0x6e,0x39,0x4d,0x4f,0x51,0x4a,0x74,0x63,0x41,0x59,0x37,0x58,0x70]),_0x51f46a=0x6b0f5e6f,_0x40ecca=0x6b08da67^_0x51f46a,_0x3fc684=window[_0x257b9b([0x44,0x61,0x74,0x65])][_0x257b9b([0x6e,0x6f,0x77])](),_0x4d5a34=_0x15d8aa[_0x257b9b([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x54ccc8=new window[(_0x257b9b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1f50ae=>{_0x4d5a34[_0x257b9b([0x6f,0x6e,0x63,0x65])](_0x257b9b([0x72,0x65,0x61,0x64,0x79]),_0x1f50ae);}),_0xe897e3={[_0x257b9b([0x6b,0x74,0x79])]:_0x257b9b([0x45,0x43]),[_0x257b9b([0x75,0x73,0x65])]:_0x257b9b([0x73,0x69,0x67]),[_0x257b9b([0x63,0x72,0x76])]:_0x257b9b([0x50,0x2d,0x32,0x35,0x36]),[_0x257b9b([0x78])]:_0x257b9b([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x257b9b([0x79])]:_0x257b9b([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x257b9b([0x61,0x6c,0x67])]:_0x257b9b([0x45,0x53,0x32,0x35,0x36])},_0x409455=_0x4d5a34[_0x257b9b([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x257b9b([0x67,0x65,0x74])](_0x257b9b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x3fa126(){let _0x4d588c,_0x58986c=null,_0x518b2b=null;try{if(_0x409455==_0x257b9b([0x47,0x50,0x4c]))return _0x257b9b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4d588c=_0x739b85(),!_0x4d588c)return _0x257b9b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4d588c[_0x257b9b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x518b2b=_0x1cead2(_0x4d588c[_0x257b9b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4d588c[_0x257b9b([0x6a,0x74,0x69])])),await _0x4aff6d()?_0x9c0785()?_0xf77b71()?_0x257b9b([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x331fd8()?(_0x4d588c[_0x257b9b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x257b9b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x58986c=_0x2f2da5(_0x257b9b([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x30fd9a()):_0x257b9b([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x257b9b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x257b9b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x257b9b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0xf77b71(){const _0x3e33c6=[_0x257b9b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x257b9b([0x74,0x72,0x69,0x61,0x6c])][_0x257b9b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4d588c[_0x257b9b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3fc684/0x3e8:0xe10*_0x40ecca;return _0x4d588c[_0x257b9b([0x65,0x78,0x70])]<_0x3e33c6;}function _0x9c0785(){const _0x2ced25=_0x4d588c[_0x257b9b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2ced25&&(!!_0x2ced25[_0x257b9b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x257b9b([0x2a]))||(!!_0x2ced25[_0x257b9b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x257b9b([0x54,0x50,0x4c]))||(!!_0x2ced25[_0x257b9b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x257b9b([0x50,0x50]))||(!(!_0x2ced25[_0x257b9b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x257b9b([0x44,0x52,0x55,0x50]))||!_0xd1f94d())||!(!_0x2ced25[_0x257b9b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x257b9b([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))||!_0x4e4a8f())))));}function _0x331fd8(){const _0x50c9f8=_0x4d588c[_0x257b9b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x50c9f8||0x0==_0x50c9f8[_0x257b9b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x26a204}=new URL(window[_0x257b9b([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x50c9f8[_0x257b9b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x26a204))return!0x0;const _0x1b15ba=_0x26a204[_0x257b9b([0x73,0x70,0x6c,0x69,0x74])](_0x257b9b([0x2e]));return _0x50c9f8[_0x257b9b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x7e7179=>_0x7e7179[_0x257b9b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x257b9b([0x2a])))[_0x257b9b([0x6d,0x61,0x70])](_0x250056=>_0x250056[_0x257b9b([0x73,0x70,0x6c,0x69,0x74])](_0x257b9b([0x2e])))[_0x257b9b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x97ad0=>_0x97ad0[_0x257b9b([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1b15ba[_0x257b9b([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x257b9b([0x6d,0x61,0x70])](_0x5b291c=>Array(_0x1b15ba[_0x257b9b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x5b291c[_0x257b9b([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x257b9b([0x66,0x69,0x6c,0x6c])](_0x5b291c[0x0]===_0x257b9b([0x2a])?_0x257b9b([0x2a]):'')[_0x257b9b([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x5b291c))[_0x257b9b([0x73,0x6f,0x6d,0x65])](_0x3926c7=>_0x1b15ba[_0x257b9b([0x65,0x76,0x65,0x72,0x79])]((_0x34a048,_0x571320)=>_0x3926c7[_0x571320]===_0x34a048||_0x3926c7[_0x571320]===_0x257b9b([0x2a])));}function _0x30fd9a(){return _0x58986c&&_0x518b2b?new window[(_0x257b9b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x49f764,_0xc60b41)=>{_0x58986c[_0x257b9b([0x74,0x68,0x65,0x6e])](_0x49f764,_0xc60b41),_0x518b2b[_0x257b9b([0x74,0x68,0x65,0x6e])](_0x8abbd8=>{_0x8abbd8!=_0x257b9b([0x56,0x61,0x6c,0x69,0x64])&&_0x49f764(_0x8abbd8);},_0xc60b41);}):_0x58986c||_0x518b2b||_0x257b9b([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1cead2(_0x508f6c,_0x4b683c){return new window[(_0x257b9b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5b9089=>{if(_0x4eea12())return _0x5b9089(_0x257b9b([0x56,0x61,0x6c,0x69,0x64]));_0x31ba34(),_0x4d5a34[_0x257b9b([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x257b9b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x116a63=!0x1;const _0x4ec457=_0x43cb8c();function _0x3f3c2f(_0x1267dd){return!!_0x1267dd&&(typeof _0x1267dd===_0x257b9b([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1267dd===_0x257b9b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1267dd[_0x257b9b([0x74,0x68,0x65,0x6e])]===_0x257b9b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1267dd[_0x257b9b([0x63,0x61,0x74,0x63,0x68])]===_0x257b9b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0xbd2dc9(_0x3002ff){_0x482f66(_0x3002ff)[_0x257b9b([0x74,0x68,0x65,0x6e])](_0x22dc06=>{if(!_0x22dc06||_0x22dc06[_0x257b9b([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x257b9b([0x6f,0x6b]))return _0x257b9b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5e28aa(_0x58a38a(_0x4ec457+_0x4b683c))!=_0x22dc06[_0x257b9b([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x257b9b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x257b9b([0x56,0x61,0x6c,0x69,0x64]);})[_0x257b9b([0x74,0x68,0x65,0x6e])](_0x3843cb=>(_0x446ade(),_0x3843cb),()=>{const _0x3e0167=_0xb24a9b();return null==_0x3e0167?(_0x446ade(),_0x257b9b([0x56,0x61,0x6c,0x69,0x64])):_0x257b9b(_0x3fc684-_0x3e0167>(0x4f03da6f^_0x51f46a)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x257b9b([0x74,0x68,0x65,0x6e])](_0x5b9089)[_0x257b9b([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5b9089(_0x257b9b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x398713=0x6b39b0ef^_0x51f46a;function _0x446ade(){const _0x37aeb1=_0x257b9b([0x6c,0x6c,0x63,0x74,0x2d])+_0x5e28aa(_0x58a38a(_0x508f6c)),_0x10f615=_0x5b5025(_0x5e28aa(window[_0x257b9b([0x4d,0x61,0x74,0x68])][_0x257b9b([0x63,0x65,0x69,0x6c])](_0x3fc684/_0x398713)));window[_0x257b9b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x257b9b([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x37aeb1,_0x10f615);}function _0xb24a9b(){const _0xff0481=_0x257b9b([0x6c,0x6c,0x63,0x74,0x2d])+_0x5e28aa(_0x58a38a(_0x508f6c)),_0x1daa02=window[_0x257b9b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x257b9b([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xff0481);return _0x1daa02?window[_0x257b9b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5b5025(_0x1daa02),0x10)*_0x398713:null;}function _0x482f66(_0x2e5377){return new window[(_0x257b9b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xe8a1e3,_0x578dab)=>{_0x2e5377[_0x257b9b([0x74,0x68,0x65,0x6e])](_0xe8a1e3,_0x578dab),window[_0x257b9b([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x578dab,0x6b0e8aaf^_0x51f46a);});}}_0x4d5a34[_0x257b9b([0x6f,0x6e])](_0x257b9b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x360391,_0x226450)=>{if(_0x226450[0x0]!=_0x508f6c)return _0x5b9089(_0x257b9b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x226450[0x1]={..._0x226450[0x1],[_0x257b9b([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x4ec457};},{[_0x257b9b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x257b9b([0x68,0x69,0x67,0x68])}),_0x4d5a34[_0x257b9b([0x6f,0x6e])](_0x257b9b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4c27e8=>{_0x3f3c2f(_0x4c27e8[_0x257b9b([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x116a63=!0x0,_0xbd2dc9(_0x4c27e8[_0x257b9b([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x257b9b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x257b9b([0x6c,0x6f,0x77])}),_0x54ccc8[_0x257b9b([0x74,0x68,0x65,0x6e])](()=>{_0x116a63||_0x5b9089(_0x257b9b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4eea12(){return _0x4d5a34[_0x257b9b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x257b9b([0x76,0x69,0x65,0x77])][_0x257b9b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x257b9b([0x61,0x75,0x74,0x6f]);}function _0x31ba34(){_0x4d5a34[_0x257b9b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x257b9b([0x76,0x69,0x65,0x77])][_0x257b9b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x257b9b([0x61,0x75,0x74,0x6f]);}}function _0x2f2da5(_0x1667d1){const _0x428d13=[new window[(_0x257b9b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x19eaf7=>setTimeout(_0x19eaf7,0x6b0660a3^_0x51f46a)),_0x54ccc8[_0x257b9b([0x74,0x68,0x65,0x6e])](()=>new window[(_0x257b9b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3f3787=>{let _0x519f60=0x0;_0x4d5a34[_0x257b9b([0x6d,0x6f,0x64,0x65,0x6c])][_0x257b9b([0x6f,0x6e])](_0x257b9b([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x39f998,_0x4f6364)=>{_0x4f6364[0x0][_0x257b9b([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x519f60++,_0x519f60==(0x6b0f5b87^_0x51f46a)&&(_0x3f3787(),_0x39f998[_0x257b9b([0x6f,0x66,0x66])]());});}))];return window[_0x257b9b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x257b9b([0x72,0x61,0x63,0x65])](_0x428d13)[_0x257b9b([0x74,0x68,0x65,0x6e])](()=>_0x1667d1);}async function _0x1bc2c8(){await _0x54ccc8,_0x4d5a34[_0x257b9b([0x6d,0x6f,0x64,0x65,0x6c])][_0x257b9b([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5dcbbb,_0x4d5a34[_0x257b9b([0x6d,0x6f,0x64,0x65,0x6c])][_0x257b9b([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5dcbbb,_0x4d5a34[_0x257b9b([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x257b9b([0x6d,0x6f,0x64,0x65,0x6c]));}function _0xd1f94d(){return window[_0x257b9b([0x44,0x72,0x75,0x70,0x61,0x6c])];}function _0x4e4a8f(){return window[_0x257b9b([0x67,0x6c,0x6f,0x62])]&&window[_0x257b9b([0x67,0x6c,0x6f,0x62])][_0x257b9b([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x3e0222(_0x291469){const _0x5cdb14=_0x19c34e();_0x4d5a34[_0x5cdb14]=_0x257b9b([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x291469,_0x291469!=_0x257b9b([0x56,0x61,0x6c,0x69,0x64])&&_0x1bc2c8();}function _0x19c34e(){const _0x3791da=window[_0x257b9b([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x257b9b([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x257b9b([0x6e,0x6f,0x77])]())[_0x257b9b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x257b9b([0x2e]),'');let _0x542b17=_0x257b9b([0x67]);for(let _0x3d3bae=0x0;_0x3d3bae<_0x3791da[_0x257b9b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3d3bae+=0x2){let _0xa23edf=window[_0x257b9b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3791da[_0x257b9b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3d3bae,_0x3d3bae+0x2));_0xa23edf>=_0xb4d060[_0x257b9b([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0xa23edf-=_0xb4d060[_0x257b9b([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x542b17+=_0xb4d060[_0xa23edf];}return _0x542b17;}function _0x739b85(){const _0xea4d04=_0x409455[_0x257b9b([0x73,0x70,0x6c,0x69,0x74])](_0x257b9b([0x2e]));if(0x3!=_0xea4d04[_0x257b9b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5cbc27(_0xea4d04[0x1]);function _0x5cbc27(_0xf8d4a1){const _0x33c321=_0x21d997(_0xf8d4a1);return _0x33c321&&_0x456c7c()?_0x33c321:null;function _0x456c7c(){const _0x11cdf5=_0x33c321[_0x257b9b([0x6a,0x74,0x69])],_0x235cfc=window[_0x257b9b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x11cdf5[_0x257b9b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x11cdf5[_0x257b9b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x12a7d8={..._0x33c321,[_0x257b9b([0x6a,0x74,0x69])]:_0x11cdf5[_0x257b9b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x11cdf5[_0x257b9b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x12a7d8[_0x257b9b([0x76,0x63])],_0x58a38a(_0x12a7d8)==_0x235cfc;}}}async function _0x4aff6d(){let _0x1c76b5=!0x0;try{const _0x3485f9=_0x409455[_0x257b9b([0x73,0x70,0x6c,0x69,0x74])](_0x257b9b([0x2e])),[_0x249987,_0x439825,_0x58b584]=_0x3485f9;return _0x951935(_0x249987),await _0x3623bf(_0x249987,_0x439825,_0x58b584),_0x1c76b5;}catch{return!0x1;}function _0x951935(_0xce519c){const _0x6788bf=_0x21d997(_0xce519c);_0x6788bf&&_0x6788bf[_0x257b9b([0x61,0x6c,0x67])]==_0x257b9b([0x45,0x53,0x32,0x35,0x36])||(_0x1c76b5=!0x1);}async function _0x3623bf(_0x536a09,_0xdad4a7,_0x4e3011){const _0x19edc6=window[_0x257b9b([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x257b9b([0x66,0x72,0x6f,0x6d])](_0x3e376b(_0x4e3011),_0x5732f5=>_0x5732f5[_0x257b9b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2dde36=new window[(_0x257b9b([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x257b9b([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x536a09+_0x257b9b([0x2e])+_0xdad4a7),_0x2c0160=window[_0x257b9b([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x257b9b([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2c0160)return;const _0x56dcfc=await _0x2c0160[_0x257b9b([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x257b9b([0x6a,0x77,0x6b]),_0xe897e3,{[_0x257b9b([0x6e,0x61,0x6d,0x65])]:_0x257b9b([0x45,0x43,0x44,0x53,0x41]),[_0x257b9b([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x257b9b([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x257b9b([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2c0160[_0x257b9b([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x257b9b([0x6e,0x61,0x6d,0x65])]:_0x257b9b([0x45,0x43,0x44,0x53,0x41]),[_0x257b9b([0x68,0x61,0x73,0x68])]:{[_0x257b9b([0x6e,0x61,0x6d,0x65])]:_0x257b9b([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x56dcfc,_0x19edc6,_0x2dde36)||(_0x1c76b5=!0x1);}}function _0x21d997(_0x585599){return _0x585599[_0x257b9b([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x257b9b([0x65,0x79]))?JSON[_0x257b9b([0x70,0x61,0x72,0x73,0x65])](_0x3e376b(_0x585599)):null;}function _0x3e376b(_0x551956){return window[_0x257b9b([0x61,0x74,0x6f,0x62])](_0x551956[_0x257b9b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x257b9b([0x2b]))[_0x257b9b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x257b9b([0x2f])));}function _0x58a38a(_0x1ba34c){let _0x1a624c=0x1505;function _0x29eb7d(_0x4eab7e){for(let _0x4de81a=0x0;_0x4de81a<_0x4eab7e[_0x257b9b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4de81a++){const _0x431461=_0x4eab7e[_0x257b9b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4de81a);_0x1a624c=(_0x1a624c<<0x5)+_0x1a624c+_0x431461,_0x1a624c&=_0x1a624c;}}function _0x379adb(_0x453e12){Array[_0x257b9b([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x453e12)?_0x453e12[_0x257b9b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x379adb):_0x453e12&&typeof _0x453e12==_0x257b9b([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x257b9b([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x453e12)[_0x257b9b([0x73,0x6f,0x72,0x74])]()[_0x257b9b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x1cc5c5,_0x9dcfd0])=>{_0x29eb7d(_0x1cc5c5),_0x379adb(_0x9dcfd0);}):_0x29eb7d(window[_0x257b9b([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x453e12));}return _0x379adb(_0x1ba34c),_0x1a624c>>>0x0;}function _0x5e28aa(_0x2ef783){return _0x2ef783[_0x257b9b([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x257b9b([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x257b9b([0x30]));}function _0x5b5025(_0x370b8a){return _0x370b8a[_0x257b9b([0x73,0x70,0x6c,0x69,0x74])]('')[_0x257b9b([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x257b9b([0x6a,0x6f,0x69,0x6e])]('');}function _0x5dcbbb(){}function _0x257b9b(_0x20c9a1){return _0x20c9a1['map'](_0x413d28=>String['fromCharCode'](_0x413d28))['join']('');}_0x3e0222(await _0x3fa126());}(this);}['_createTemplateListView'](_0x300e4d,_0xe8dc4){const {editor:_0x56b38d}=this,_0x5247f4=new y(_0x300e4d);return _0x5247f4['extendTemplate']({'attributes':{'role':'listbox','class':['ck-template-list']}}),_0x5247f4['items']['addMany'](_0xe8dc4['map']((_0x164b0b,_0x54f851)=>{const _0x56ca25=new b(_0x300e4d,_0x54f851),_0x4c101a=new h(_0x300e4d,_0x164b0b);return _0x56ca25['buttonView']=_0x4c101a,_0x56ca25['children']['add'](_0x4c101a),_0x56ca25['buttonView']['on']('execute',_0x4de5fa=>{_0x56b38d['execute']('insertTemplate',_0x4de5fa['source']['templateDefinition']['data']),_0x56b38d['editing']['view']['focus']();}),_0x56ca25;})),_0x5247f4;}}class v extends _0x54f4b8{static get['requires'](){return[i,s];}static get['pluginName'](){return'Template';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{v as Template,a as TemplateCommand,i as TemplateEditing,s as TemplateUI};
23
+ import{Command as _0x986df1,Plugin as _0xb806ad}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconTemplateGeneric as _0x5989c9,IconTemplate as _0x17d5db}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ListView as _0x5b96f6,ListItemView as _0x148587,ButtonView as _0x5b439d,View as _0xca58bc,HighlightedTextView as _0xc558e7,createDropdown as _0x5e540a,SearchTextView as _0x1424f8,MenuBarMenuView as _0x364410,MenuBarMenuListView as _0x2e4ac1,MenuBarMenuListItemView as _0x22ada1,MenuBarMenuListItemButtonView as _0x5bf968}from'@ckeditor/ckeditor5-ui/dist/index.js';import{uid as _0x3d5ead}from'@ckeditor/ckeditor5-utils/dist/index.js';class g extends _0x986df1{['execute'](_0x28a698){const {model:_0x342e9b}=this['editor'];let _0x1571e4;switch(typeof _0x28a698){case'string':_0x1571e4=_0x28a698;break;case'function':_0x1571e4=_0x28a698();}'string'==typeof _0x1571e4&&_0x342e9b['change'](()=>{const _0x207e52=this['editor']['data']['htmlProcessor']['toView'](_0x1571e4),_0x1c25b3=this['editor']['data']['toModel'](_0x207e52);_0x342e9b['insertContent'](_0x1c25b3);});}}class y extends _0xb806ad{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'TemplateEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x45df7f}=this;_0x45df7f['commands']['add']('insertTemplate',new g(_0x45df7f)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0xdf79a8=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x554e2a;for(const _0x4422c3 in _0xdf79a8){const _0x5291ac=_0x4422c3,_0x16ad98=_0xdf79a8[_0x5291ac];if('templateLicenseKeyValid'==_0x16ad98||'templateLicenseKeyInvalid'==_0x16ad98||'templateLicenseKeyExpired'==_0x16ad98||'templateLicenseKeyDomainLimit'==_0x16ad98||'templateLicenseKeyNotAllowed'==_0x16ad98||'templateLicenseKeyEvaluationLimit'==_0x16ad98||'templateLicenseKeyUsageLimit'==_0x16ad98){delete _0xdf79a8[_0x5291ac],_0x554e2a=_0x16ad98,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'templateLicenseKeyInvalid'==_0x554e2a&&_0xdf79a8['_showLicenseError']('invalid'),'templateLicenseKeyExpired'==_0x554e2a&&_0xdf79a8['_showLicenseError']('expired'),'templateLicenseKeyDomainLimit'==_0x554e2a&&_0xdf79a8['_showLicenseError']('domainLimit'),'templateLicenseKeyNotAllowed'==_0x554e2a&&_0xdf79a8['_showLicenseError']('featureNotAllowed','Template'),'templateLicenseKeyEvaluationLimit'==_0x554e2a&&_0xdf79a8['_showLicenseError']('evaluationLimit'),'templateLicenseKeyUsageLimit'==_0x554e2a&&_0xdf79a8['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class x extends _0x5b96f6{['filter'](_0x300c7a){if(!_0x300c7a)return this['_resetFiltering']();const _0x55f421=new Map(),_0x3b7fbf=this['items']['map'](_0x455905=>{const _0x3dd492=_0x455905['buttonView']['isMatching'](_0x300c7a);return _0x455905['isVisible']=!!_0x3dd492,_0x455905['buttonView']['highlightText'](_0x3dd492?_0x300c7a:null),_0x3dd492&&_0x55f421['set'](_0x455905,_0x3dd492),_0x455905;})['sort'](b)['sort'](function(_0x8a9bba){return function(_0x2745e6,_0x7813e3){const _0x5677f6=_0x8a9bba['get'](_0x2745e6),_0x50cb44=_0x8a9bba['get'](_0x7813e3);return _0x5677f6&&!_0x50cb44?-0x1:_0x50cb44&&!_0x5677f6?0x1:_0x5677f6||_0x50cb44?_0x5677f6['title']&&!_0x50cb44['title']?-0x1:!_0x5677f6['title']&&_0x50cb44['title']?0x1:0x0:0x0;};}(_0x55f421));return this['items']['clear'](),this['items']['addMany'](_0x3b7fbf),{'resultsCount':_0x55f421['size'],'totalItemsCount':this['items']['length']};}['_resetFiltering'](){const _0x2a0e30=this['items']['map'](_0x36cd6c=>_0x36cd6c)['sort'](b);return _0x2a0e30['forEach'](_0x1d1c59=>{_0x1d1c59['isVisible']=!0x0,_0x1d1c59['buttonView']['highlightText'](null);}),this['items']['clear'](),this['items']['addMany'](_0x2a0e30),{'resultsCount':_0x2a0e30['length'],'totalItemsCount':_0x2a0e30['length']};}}function b(_0xe4309b,_0x435829){return _0xe4309b['originalIndex']-_0x435829['originalIndex'];}class L extends _0x148587{['originalIndex'];['buttonView'];constructor(_0x228c9c,_0x3d5640){super(_0x228c9c),this['originalIndex']=_0x3d5640,this['buttonView']=null;}}class k extends _0x5b439d{['templateDefinition'];['textPartView'];constructor(_0x57f174,_0xb0e641){super(_0x57f174),this['templateDefinition']=_0xb0e641,this['textPartView']=null;const {icon:_0x4f5455=_0x5989c9}=_0xb0e641;this['set']({'withText':!0x0,'class':'ck-template-button','role':'option','icon':_0x4f5455}),this['iconView']['isColorInherited']=!0x1;}['render'](){super['render'](),this['textPartView']=new T(this['locale'],this['templateDefinition'],this['labelView']['element']['id']),this['children']['remove'](this['labelView']),this['children']['add'](this['textPartView']);}['destroy'](){super['destroy'](),this['labelView']['destroy']();}['isMatching'](_0x297f21){const {title:_0x36d677,description:_0x3ee941}=this['templateDefinition'],_0x447b1a=!!_0x36d677['match'](_0x297f21),_0xfee369=!(!_0x3ee941||!_0x3ee941['match'](_0x297f21));return _0x447b1a||_0xfee369?{'title':_0x447b1a,'description':_0xfee369}:null;}['highlightText'](_0x37b8c2){this['textPartView']['highlightText'](_0x37b8c2);}}class T extends _0xca58bc{constructor(_0xbb7666,_0x42a39c,_0x553f9d){super(_0xbb7666),this['title']=_0x42a39c['title'],this['description']=_0x42a39c['description'],this['titleView']=new _0xc558e7(),this['titleView']['text']=this['title'],this['titleView']['extendTemplate']({'tag':'span','attributes':{'class':['ck-button__label'],'id':_0x553f9d}});const _0x378b1e=[this['titleView']];this['description']&&(this['descriptionView']=new _0xc558e7(),this['descriptionView']['text']=this['description'],this['descriptionView']['extendTemplate']({'tag':'p','attributes':{'class':['ck-template-form__description']}}),_0x378b1e['push'](this['descriptionView'])),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-template-form__text-part']},'children':_0x378b1e});}['highlightText'](_0x53afd1){this['titleView']['highlightText'](_0x53afd1),this['description']&&this['descriptionView']['highlightText'](_0x53afd1);}}function v(_0x10a8a0,_0x269683,..._0x24ef1c){const t=_0x10a8a0['t'];switch(_0x269683){case'No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.':return t('No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.',..._0x24ef1c);case'Please\x20try\x20a\x20different\x20phrase\x20or\x20check\x20the\x20spelling.':return t('Please\x20try\x20a\x20different\x20phrase\x20or\x20check\x20the\x20spelling.');case'No\x20templates\x20available.':return t('No\x20templates\x20available.');case'%0\x20templates\x20found':return t('%0\x20templates\x20found',..._0x24ef1c);case'Search\x20template':return t('Search\x20template');case'Template':return t('Template');case'Insert\x20template':return t('Insert\x20template');default:return _0x269683;}}class K extends _0xb806ad{static get['pluginName'](){return'TemplateUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x257029}=this,_0x70f16e=_0x257029['config']['get']('template.definitions')||[];_0x257029['ui']['componentFactory']['add']('insertTemplate',_0xf3937=>{const _0x44ff84=_0x5e540a(_0xf3937),_0x139054=this['_createTemplateListView'](_0xf3937,_0x70f16e),_0x17a5a4=new _0x1424f8(_0xf3937,{'filteredView':_0x139054,'queryView':{'label':v(_0xf3937,'Search\x20template')},'class':'ck-template-form','infoView':{'text':{'notFound':{'primary':_0x26b8fd=>v(_0xf3937,'No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.',_0x26b8fd),'secondary':v(_0xf3937,'Please\x20try\x20a\x20different\x20phrase\x20or\x20check\x20the\x20spelling.')},'noSearchableItems':{'primary':v(_0xf3937,'No\x20templates\x20available.')}}}}),_0xadf9cc=_0x257029['commands']['get']('insertTemplate');return _0x17a5a4['on']('search',(_0x4ef1af,_0x2f07c9)=>{_0x2f07c9['query']&&_0x2f07c9['query']['length']&&_0x257029['ui']['ariaLiveAnnouncer']['announce'](v(_0xf3937,'%0\x20templates\x20found',_0x2f07c9['resultsCount']));}),_0x44ff84['bind']('isEnabled')['to'](_0xadf9cc),_0x44ff84['panelView']['children']['add'](_0x17a5a4),_0x44ff84['buttonView']['set']({'label':v(_0xf3937,'Insert\x20template'),'icon':_0x17d5db,'tooltip':!0x0}),_0x44ff84['on']('change:isOpen',(_0x345a6a,_0x1d4bb7,_0x361e9e)=>{_0x361e9e||_0x17a5a4['reset']();}),_0x44ff84;}),_0x257029['ui']['componentFactory']['add']('menuBar:insertTemplate',_0x486128=>{const _0xa74118=_0x257029['commands']['get']('insertTemplate'),_0xd520df=new _0x364410(_0x486128);_0xd520df['buttonView']['set']({'label':v(_0x486128,'Template'),'icon':_0x17d5db});const _0x229ef3=new _0x2e4ac1(_0x486128);if(!_0x70f16e||!_0x70f16e['length']){const _0x524ec8=new _0x22ada1(_0x486128,_0xd520df),_0x31e2cb=new _0x5bf968(_0x486128);_0x31e2cb['set']({'label':v(_0x486128,'No\x20templates\x20available.')}),_0x31e2cb['delegate']('execute')['to'](_0xd520df),_0x31e2cb['on']('execute',()=>{_0x257029['editing']['view']['focus']();}),_0x524ec8['children']['add'](_0x31e2cb),_0x229ef3['items']['add'](_0x524ec8);}for(const _0xdea160 of _0x70f16e){const _0x424153=new _0x22ada1(_0x486128,_0xd520df),_0x3a772c=new _0x5bf968(_0x486128);_0x3a772c['set']({'class':'ck-template-button','label':_0xdea160['title'],'icon':_0xdea160['icon']||_0x5989c9}),_0x3a772c['delegate']('execute')['to'](_0xd520df),_0x3a772c['on']('execute',()=>{_0x257029['execute']('insertTemplate',_0xdea160['data']),_0x257029['editing']['view']['focus']();}),_0x424153['children']['add'](_0x3a772c),_0x229ef3['items']['add'](_0x424153);}return _0xd520df['panelView']['children']['add'](_0x229ef3),_0xd520df['bind']('isEnabled')['to'](_0xa74118,'isEnabled'),_0xd520df;});}['afterInit'](){!async function(_0x50c64c){const _0x5d0f4c=_0x20f8d7([0x35,0x67,0x6f,0x4e,0x5a,0x52,0x78,0x48,0x7a,0x6d,0x42,0x66,0x72,0x6c,0x30,0x46,0x71,0x36,0x43,0x6b,0x73,0x31,0x61,0x68,0x44,0x47,0x53,0x32,0x4c,0x55,0x45,0x57,0x69,0x62,0x79,0x33,0x77,0x4b,0x76,0x75,0x34,0x49,0x56,0x50,0x64,0x65,0x54,0x38,0x6a,0x6e,0x39,0x4d,0x4f,0x51,0x4a,0x74,0x63,0x41,0x59,0x37,0x58,0x70]),_0x23d94e=0x6b0f5e6f,_0x524143=0x6b08daa7^_0x23d94e,_0x4d73e2=window[_0x20f8d7([0x44,0x61,0x74,0x65])][_0x20f8d7([0x6e,0x6f,0x77])](),_0x5aebd0=_0x50c64c[_0x20f8d7([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2f04fd=new window[(_0x20f8d7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xeb355f=>{_0x5aebd0[_0x20f8d7([0x6f,0x6e,0x63,0x65])](_0x20f8d7([0x72,0x65,0x61,0x64,0x79]),_0xeb355f);}),_0x2d1d96={[_0x20f8d7([0x6b,0x74,0x79])]:_0x20f8d7([0x45,0x43]),[_0x20f8d7([0x75,0x73,0x65])]:_0x20f8d7([0x73,0x69,0x67]),[_0x20f8d7([0x63,0x72,0x76])]:_0x20f8d7([0x50,0x2d,0x32,0x35,0x36]),[_0x20f8d7([0x78])]:_0x20f8d7([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x20f8d7([0x79])]:_0x20f8d7([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x20f8d7([0x61,0x6c,0x67])]:_0x20f8d7([0x45,0x53,0x32,0x35,0x36])},_0x4183b4=_0x5aebd0[_0x20f8d7([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x20f8d7([0x67,0x65,0x74])](_0x20f8d7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0xcec0d5(){let _0x595c11,_0x4f366e=null,_0x241d1b=null;try{if(_0x4183b4==_0x20f8d7([0x47,0x50,0x4c]))return _0x20f8d7([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x595c11=_0x3288d6(),!_0x595c11)return _0x20f8d7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x595c11[_0x20f8d7([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x241d1b=_0x442b0b(_0x595c11[_0x20f8d7([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x595c11[_0x20f8d7([0x6a,0x74,0x69])])),await _0x55f645()?_0x419d2f()?_0x18d0f6()?_0x20f8d7([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1f3ff9()?(_0x595c11[_0x20f8d7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x20f8d7([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4f366e=_0x2d726b(_0x20f8d7([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4db86f()):_0x20f8d7([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x20f8d7([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x20f8d7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x20f8d7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x18d0f6(){const _0x3adde8=[_0x20f8d7([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x20f8d7([0x74,0x72,0x69,0x61,0x6c])][_0x20f8d7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x595c11[_0x20f8d7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x4d73e2/0x3e8:0xe10*_0x524143;return _0x595c11[_0x20f8d7([0x65,0x78,0x70])]<_0x3adde8;}function _0x419d2f(){const _0x18e5ce=_0x595c11[_0x20f8d7([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x18e5ce&&(!!_0x18e5ce[_0x20f8d7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x20f8d7([0x2a]))||(!!_0x18e5ce[_0x20f8d7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x20f8d7([0x54,0x50,0x4c]))||(!!_0x18e5ce[_0x20f8d7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x20f8d7([0x50,0x50]))||(!(!_0x18e5ce[_0x20f8d7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x20f8d7([0x44,0x52,0x55,0x50]))||!_0x4f8b1b())||!(!_0x18e5ce[_0x20f8d7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x20f8d7([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))||!_0x397f0b())))));}function _0x1f3ff9(){const _0x10f556=_0x595c11[_0x20f8d7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x10f556||0x0==_0x10f556[_0x20f8d7([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x27be50}=new URL(window[_0x20f8d7([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x10f556[_0x20f8d7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x27be50))return!0x0;const _0x2c3fe3=_0x27be50[_0x20f8d7([0x73,0x70,0x6c,0x69,0x74])](_0x20f8d7([0x2e]));return _0x10f556[_0x20f8d7([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x477e88=>_0x477e88[_0x20f8d7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x20f8d7([0x2a])))[_0x20f8d7([0x6d,0x61,0x70])](_0x1747a9=>_0x1747a9[_0x20f8d7([0x73,0x70,0x6c,0x69,0x74])](_0x20f8d7([0x2e])))[_0x20f8d7([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2c7ae0=>_0x2c7ae0[_0x20f8d7([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x2c3fe3[_0x20f8d7([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x20f8d7([0x6d,0x61,0x70])](_0x5d1d62=>Array(_0x2c3fe3[_0x20f8d7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x5d1d62[_0x20f8d7([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x20f8d7([0x66,0x69,0x6c,0x6c])](_0x5d1d62[0x0]===_0x20f8d7([0x2a])?_0x20f8d7([0x2a]):'')[_0x20f8d7([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x5d1d62))[_0x20f8d7([0x73,0x6f,0x6d,0x65])](_0x4d5ea5=>_0x2c3fe3[_0x20f8d7([0x65,0x76,0x65,0x72,0x79])]((_0x277dca,_0x2190ef)=>_0x4d5ea5[_0x2190ef]===_0x277dca||_0x4d5ea5[_0x2190ef]===_0x20f8d7([0x2a])));}function _0x4db86f(){return _0x4f366e&&_0x241d1b?new window[(_0x20f8d7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1a56c4,_0x2f45db)=>{_0x4f366e[_0x20f8d7([0x74,0x68,0x65,0x6e])](_0x1a56c4,_0x2f45db),_0x241d1b[_0x20f8d7([0x74,0x68,0x65,0x6e])](_0x4c1485=>{_0x4c1485!=_0x20f8d7([0x56,0x61,0x6c,0x69,0x64])&&_0x1a56c4(_0x4c1485);},_0x2f45db);}):_0x4f366e||_0x241d1b||_0x20f8d7([0x56,0x61,0x6c,0x69,0x64]);}}function _0x442b0b(_0x3d1912,_0x5c1120){return new window[(_0x20f8d7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x311ee=>{if(_0x323782())return _0x311ee(_0x20f8d7([0x56,0x61,0x6c,0x69,0x64]));_0x54437d(),_0x5aebd0[_0x20f8d7([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x20f8d7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x481010=!0x1;const _0x4b87a6=_0x3d5ead();function _0x3d199f(_0x13e962){return!!_0x13e962&&(typeof _0x13e962===_0x20f8d7([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x13e962===_0x20f8d7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x13e962[_0x20f8d7([0x74,0x68,0x65,0x6e])]===_0x20f8d7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x13e962[_0x20f8d7([0x63,0x61,0x74,0x63,0x68])]===_0x20f8d7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x40a07b(_0x465984){_0x33ccd6(_0x465984)[_0x20f8d7([0x74,0x68,0x65,0x6e])](_0x8eda8b=>{if(!_0x8eda8b||_0x8eda8b[_0x20f8d7([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x20f8d7([0x6f,0x6b]))return _0x20f8d7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x464515(_0x58e21f(_0x4b87a6+_0x5c1120))!=_0x8eda8b[_0x20f8d7([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x20f8d7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x20f8d7([0x56,0x61,0x6c,0x69,0x64]);})[_0x20f8d7([0x74,0x68,0x65,0x6e])](_0x5977ff=>(_0xcf7337(),_0x5977ff),()=>{const _0x760c19=_0x55728d();return null==_0x760c19?(_0xcf7337(),_0x20f8d7([0x56,0x61,0x6c,0x69,0x64])):_0x20f8d7(_0x4d73e2-_0x760c19>(0x4f03da6f^_0x23d94e)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x20f8d7([0x74,0x68,0x65,0x6e])](_0x311ee)[_0x20f8d7([0x63,0x61,0x74,0x63,0x68])](()=>{_0x311ee(_0x20f8d7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x58a24b=0x6b39b0ef^_0x23d94e;function _0xcf7337(){const _0x54802d=_0x20f8d7([0x6c,0x6c,0x63,0x74,0x2d])+_0x464515(_0x58e21f(_0x3d1912)),_0xd07930=_0x258223(_0x464515(window[_0x20f8d7([0x4d,0x61,0x74,0x68])][_0x20f8d7([0x63,0x65,0x69,0x6c])](_0x4d73e2/_0x58a24b)));window[_0x20f8d7([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x20f8d7([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x54802d,_0xd07930);}function _0x55728d(){const _0x2568fa=_0x20f8d7([0x6c,0x6c,0x63,0x74,0x2d])+_0x464515(_0x58e21f(_0x3d1912)),_0x1601bf=window[_0x20f8d7([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x20f8d7([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2568fa);return _0x1601bf?window[_0x20f8d7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x258223(_0x1601bf),0x10)*_0x58a24b:null;}function _0x33ccd6(_0x2350f6){return new window[(_0x20f8d7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x20637c,_0x10d46e)=>{_0x2350f6[_0x20f8d7([0x74,0x68,0x65,0x6e])](_0x20637c,_0x10d46e),window[_0x20f8d7([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x10d46e,0x6b0e8aaf^_0x23d94e);});}}_0x5aebd0[_0x20f8d7([0x6f,0x6e])](_0x20f8d7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x287144,_0x3d8975)=>{if(_0x3d8975[0x0]!=_0x3d1912)return _0x311ee(_0x20f8d7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3d8975[0x1]={..._0x3d8975[0x1],[_0x20f8d7([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x4b87a6};},{[_0x20f8d7([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x20f8d7([0x68,0x69,0x67,0x68])}),_0x5aebd0[_0x20f8d7([0x6f,0x6e])](_0x20f8d7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x575535=>{_0x3d199f(_0x575535[_0x20f8d7([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x481010=!0x0,_0x40a07b(_0x575535[_0x20f8d7([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x20f8d7([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x20f8d7([0x6c,0x6f,0x77])}),_0x2f04fd[_0x20f8d7([0x74,0x68,0x65,0x6e])](()=>{_0x481010||_0x311ee(_0x20f8d7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x323782(){return _0x5aebd0[_0x20f8d7([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x20f8d7([0x76,0x69,0x65,0x77])][_0x20f8d7([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x20f8d7([0x61,0x75,0x74,0x6f]);}function _0x54437d(){_0x5aebd0[_0x20f8d7([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x20f8d7([0x76,0x69,0x65,0x77])][_0x20f8d7([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x20f8d7([0x61,0x75,0x74,0x6f]);}}function _0x2d726b(_0x589498){const _0x3136f2=[new window[(_0x20f8d7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x175fa8=>setTimeout(_0x175fa8,0x6b0660a3^_0x23d94e)),_0x2f04fd[_0x20f8d7([0x74,0x68,0x65,0x6e])](()=>new window[(_0x20f8d7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x478b11=>{let _0x39721c=0x0;_0x5aebd0[_0x20f8d7([0x6d,0x6f,0x64,0x65,0x6c])][_0x20f8d7([0x6f,0x6e])](_0x20f8d7([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4e5755,_0x5bb8b9)=>{_0x5bb8b9[0x0][_0x20f8d7([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x39721c++,_0x39721c==(0x6b0f5b87^_0x23d94e)&&(_0x478b11(),_0x4e5755[_0x20f8d7([0x6f,0x66,0x66])]());});}))];return window[_0x20f8d7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x20f8d7([0x72,0x61,0x63,0x65])](_0x3136f2)[_0x20f8d7([0x74,0x68,0x65,0x6e])](()=>_0x589498);}async function _0x2f4ad5(){await _0x2f04fd,_0x5aebd0[_0x20f8d7([0x6d,0x6f,0x64,0x65,0x6c])][_0x20f8d7([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5705f7,_0x5aebd0[_0x20f8d7([0x6d,0x6f,0x64,0x65,0x6c])][_0x20f8d7([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5705f7,_0x5aebd0[_0x20f8d7([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x20f8d7([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4f8b1b(){return window[_0x20f8d7([0x44,0x72,0x75,0x70,0x61,0x6c])];}function _0x397f0b(){return window[_0x20f8d7([0x67,0x6c,0x6f,0x62])]&&window[_0x20f8d7([0x67,0x6c,0x6f,0x62])][_0x20f8d7([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x3166c1(_0x215cb1){const _0x475bca=_0xb438d4();_0x5aebd0[_0x475bca]=_0x20f8d7([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x215cb1,_0x215cb1!=_0x20f8d7([0x56,0x61,0x6c,0x69,0x64])&&_0x2f4ad5();}function _0xb438d4(){const _0x3eab18=window[_0x20f8d7([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x20f8d7([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x20f8d7([0x6e,0x6f,0x77])]())[_0x20f8d7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x20f8d7([0x2e]),'');let _0x57e244=_0x20f8d7([0x67]);for(let _0x2fc01c=0x0;_0x2fc01c<_0x3eab18[_0x20f8d7([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2fc01c+=0x2){let _0x62b59=window[_0x20f8d7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3eab18[_0x20f8d7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2fc01c,_0x2fc01c+0x2));_0x62b59>=_0x5d0f4c[_0x20f8d7([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x62b59-=_0x5d0f4c[_0x20f8d7([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x57e244+=_0x5d0f4c[_0x62b59];}return _0x57e244;}function _0x3288d6(){const _0x4fae61=_0x4183b4[_0x20f8d7([0x73,0x70,0x6c,0x69,0x74])](_0x20f8d7([0x2e]));if(0x3!=_0x4fae61[_0x20f8d7([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x434668(_0x4fae61[0x1]);function _0x434668(_0x2e7e0d){const _0x474bd4=_0x59620b(_0x2e7e0d);return _0x474bd4&&_0x27c8bb()?_0x474bd4:null;function _0x27c8bb(){const _0x365748=_0x474bd4[_0x20f8d7([0x6a,0x74,0x69])],_0x1ce335=window[_0x20f8d7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x365748[_0x20f8d7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x365748[_0x20f8d7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x1131bf={..._0x474bd4,[_0x20f8d7([0x6a,0x74,0x69])]:_0x365748[_0x20f8d7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x365748[_0x20f8d7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x1131bf[_0x20f8d7([0x76,0x63])],_0x58e21f(_0x1131bf)==_0x1ce335;}}}async function _0x55f645(){let _0xb25b8d=!0x0;try{const _0x3a9e22=_0x4183b4[_0x20f8d7([0x73,0x70,0x6c,0x69,0x74])](_0x20f8d7([0x2e])),[_0x28555d,_0x340d3a,_0x4de705]=_0x3a9e22;return _0x5f3f81(_0x28555d),await _0x3b4cf0(_0x28555d,_0x340d3a,_0x4de705),_0xb25b8d;}catch{return!0x1;}function _0x5f3f81(_0x5caf13){const _0x253c4f=_0x59620b(_0x5caf13);_0x253c4f&&_0x253c4f[_0x20f8d7([0x61,0x6c,0x67])]==_0x20f8d7([0x45,0x53,0x32,0x35,0x36])||(_0xb25b8d=!0x1);}async function _0x3b4cf0(_0x4be672,_0x4fe8a1,_0xf99dca){const _0x26862b=window[_0x20f8d7([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x20f8d7([0x66,0x72,0x6f,0x6d])](_0x25670b(_0xf99dca),_0x10a72b=>_0x10a72b[_0x20f8d7([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1684af=new window[(_0x20f8d7([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x20f8d7([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4be672+_0x20f8d7([0x2e])+_0x4fe8a1),_0xf43008=window[_0x20f8d7([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x20f8d7([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0xf43008)return;const _0x143a8e=await _0xf43008[_0x20f8d7([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x20f8d7([0x6a,0x77,0x6b]),_0x2d1d96,{[_0x20f8d7([0x6e,0x61,0x6d,0x65])]:_0x20f8d7([0x45,0x43,0x44,0x53,0x41]),[_0x20f8d7([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x20f8d7([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x20f8d7([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0xf43008[_0x20f8d7([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x20f8d7([0x6e,0x61,0x6d,0x65])]:_0x20f8d7([0x45,0x43,0x44,0x53,0x41]),[_0x20f8d7([0x68,0x61,0x73,0x68])]:{[_0x20f8d7([0x6e,0x61,0x6d,0x65])]:_0x20f8d7([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x143a8e,_0x26862b,_0x1684af)||(_0xb25b8d=!0x1);}}function _0x59620b(_0x27e735){return _0x27e735[_0x20f8d7([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x20f8d7([0x65,0x79]))?JSON[_0x20f8d7([0x70,0x61,0x72,0x73,0x65])](_0x25670b(_0x27e735)):null;}function _0x25670b(_0x25061e){return window[_0x20f8d7([0x61,0x74,0x6f,0x62])](_0x25061e[_0x20f8d7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x20f8d7([0x2b]))[_0x20f8d7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x20f8d7([0x2f])));}function _0x58e21f(_0x17c7e6){let _0xacffbb=0x1505;function _0x118a42(_0x275275){for(let _0x420137=0x0;_0x420137<_0x275275[_0x20f8d7([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x420137++){const _0x1102c6=_0x275275[_0x20f8d7([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x420137);_0xacffbb=(_0xacffbb<<0x5)+_0xacffbb+_0x1102c6,_0xacffbb&=_0xacffbb;}}function _0x1e3b48(_0x79915f){Array[_0x20f8d7([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x79915f)?_0x79915f[_0x20f8d7([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1e3b48):_0x79915f&&typeof _0x79915f==_0x20f8d7([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x20f8d7([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x79915f)[_0x20f8d7([0x73,0x6f,0x72,0x74])]()[_0x20f8d7([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3a204f,_0x5c63df])=>{_0x118a42(_0x3a204f),_0x1e3b48(_0x5c63df);}):_0x118a42(window[_0x20f8d7([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x79915f));}return _0x1e3b48(_0x17c7e6),_0xacffbb>>>0x0;}function _0x464515(_0x1b4978){return _0x1b4978[_0x20f8d7([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x20f8d7([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x20f8d7([0x30]));}function _0x258223(_0x1ae5f1){return _0x1ae5f1[_0x20f8d7([0x73,0x70,0x6c,0x69,0x74])]('')[_0x20f8d7([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x20f8d7([0x6a,0x6f,0x69,0x6e])]('');}function _0x5705f7(){}function _0x20f8d7(_0x1ec13a){return _0x1ec13a['map'](_0x46b609=>String['fromCharCode'](_0x46b609))['join']('');}_0x3166c1(await _0xcec0d5());}(this);}['_createTemplateListView'](_0x4037c8,_0x3bfbb7){const {editor:_0x291b8a}=this,_0x8065c4=new x(_0x4037c8);return _0x8065c4['extendTemplate']({'attributes':{'role':'listbox','class':['ck-template-list']}}),_0x8065c4['items']['addMany'](_0x3bfbb7['map']((_0x2d99dc,_0x6ad924)=>{const _0x22e308=new L(_0x4037c8,_0x6ad924),_0x151e41=new k(_0x4037c8,_0x2d99dc);return _0x22e308['buttonView']=_0x151e41,_0x22e308['children']['add'](_0x151e41),_0x22e308['buttonView']['on']('execute',_0x73150f=>{_0x291b8a['execute']('insertTemplate',_0x73150f['source']['templateDefinition']['data']),_0x291b8a['editing']['view']['focus']();}),_0x22e308;})),_0x8065c4;}}class I extends _0xb806ad{static get['requires'](){return[y,K];}static get['pluginName'](){return'Template';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{I as Template,g as TemplateCommand,y as TemplateEditing,K as TemplateUI};
@@ -6,7 +6,7 @@
6
6
  * @module template/template
7
7
  * @publicApi
8
8
  */
9
- import { Plugin } from 'ckeditor5/src/core.js';
9
+ import { Plugin } from '@ckeditor/ckeditor5-core';
10
10
  import { TemplateEditing } from './templateediting.js';
11
11
  import { TemplateUI } from './templateui.js';
12
12
  /**
@@ -6,7 +6,7 @@
6
6
  * @module template/templatecommand
7
7
  * @publicApi
8
8
  */
9
- import { Command } from 'ckeditor5/src/core.js';
9
+ import { Command } from '@ckeditor/ckeditor5-core';
10
10
  /**
11
11
  * The template command.
12
12
  *
@@ -5,7 +5,7 @@
5
5
  /**
6
6
  * @module template/templateediting
7
7
  */
8
- import { Plugin } from 'ckeditor5/src/core.js';
8
+ import { Plugin } from '@ckeditor/ckeditor5-core';
9
9
  /**
10
10
  * The template editing plugin.
11
11
  */