@ckeditor/ckeditor5-document-outline 45.2.1 → 46.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.
- package/build/document-outline.js +1 -1
- package/dist/index-content.css +7 -7
- package/dist/index-editor.css +3 -3
- package/dist/index.css +7 -7
- package/dist/index.js +1 -1
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +10 -10
- package/src/documentoutline/documentoutlineui.d.ts +2 -2
- package/src/documentoutline/documentoutlineui.js +1 -1
- package/src/documentoutline/documentoutlineutils.d.ts +3 -3
- package/src/documentoutline/documentoutlineutils.js +1 -1
- package/src/documentoutline/ui/documentoutlineitemview.d.ts +1 -1
- package/src/documentoutline/ui/documentoutlineitemview.js +1 -1
- package/src/documentoutline/ui/documentoutlineview.d.ts +2 -2
- package/src/documentoutline/ui/documentoutlineview.js +1 -1
- package/src/documentoutline/utils.d.ts +2 -2
- package/src/documentoutline/utils.js +1 -1
- package/src/documentoutline.d.ts +3 -3
- package/src/documentoutline.js +1 -1
- package/src/index.d.ts +8 -8
- package/src/index.js +1 -1
- package/src/legacyerrors.js +1 -1
- package/src/tableofcontents/headingid.d.ts +1 -1
- package/src/tableofcontents/headingid.js +1 -1
- package/src/tableofcontents/tableofcontentscommand.d.ts +1 -1
- package/src/tableofcontents/tableofcontentscommand.js +1 -1
- package/src/tableofcontents/tableofcontentsediting.d.ts +3 -3
- package/src/tableofcontents/tableofcontentsediting.js +1 -1
- package/src/tableofcontents/tableofcontentsui.d.ts +1 -1
- package/src/tableofcontents/tableofcontentsui.js +1 -1
- package/src/tableofcontents.d.ts +3 -3
- package/src/tableofcontents.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/theme/tableofcontents.css +7 -7
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x523d96=>{const {'zh-cn':{dictionary:_0x3b625b,getPluralForm:_0x91069b}}={'zh-cn':{'dictionary':{'Empty\x20heading':'空标题','Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.':'当你输入时,编辑的标题会出现在这里。','No\x20headings\x20were\x20found\x20in\x20the\x20document.':'文件中未发现标题。','Table\x20of\x20contents':'目录'},'getPluralForm':_0x4fd219=>0x0}};_0x523d96['zh-cn']||={'dictionary':{},'getPluralForm':null},_0x523d96['zh-cn']['dictionary']=Object['assign'](_0x523d96['zh-cn']['dictionary'],_0x3b625b),_0x523d96['zh-cn']['getPluralForm']=_0x91069b;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/zh.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'zh':{'dictionary':{'Empty\x20heading':'空白標題','Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.':'編輯器標題將在您輸入時出現在此處。','No\x20headings\x20were\x20found\x20in\x20the\x20document.':'無法在此文件中找到標題。','Table\x20of\x20contents':'內容目錄'},'getPluralForm':
|
|
23
|
+
export default{'zh':{'dictionary':{'Empty\x20heading':'空白標題','Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.':'編輯器標題將在您輸入時出現在此處。','No\x20headings\x20were\x20found\x20in\x20the\x20document.':'無法在此文件中找到標題。','Table\x20of\x20contents':'內容目錄'},'getPluralForm':_0x1ddccc=>0x0}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x16fe60=>{const {zh:{dictionary:_0x5ea6bb,getPluralForm:_0x38d118}}={'zh':{'dictionary':{'Empty\x20heading':'空白標題','Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.':'編輯器標題將在您輸入時出現在此處。','No\x20headings\x20were\x20found\x20in\x20the\x20document.':'無法在此文件中找到標題。','Table\x20of\x20contents':'內容目錄'},'getPluralForm':_0x53820f=>0x0}};_0x16fe60['zh']||={'dictionary':{},'getPluralForm':null},_0x16fe60['zh']['dictionary']=Object['assign'](_0x16fe60['zh']['dictionary'],_0x5ea6bb),_0x16fe60['zh']['getPluralForm']=_0x38d118;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-document-outline",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "46.0.0-alpha.0",
|
|
4
4
|
"description": "Document outline feature for CKEditor 5.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ckeditor",
|
|
@@ -13,15 +13,15 @@
|
|
|
13
13
|
"type": "module",
|
|
14
14
|
"main": "src/index.js",
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@ckeditor/ckeditor5-core": "
|
|
17
|
-
"@ckeditor/ckeditor5-engine": "
|
|
18
|
-
"@ckeditor/ckeditor5-heading": "
|
|
19
|
-
"@ckeditor/ckeditor5-icons": "
|
|
20
|
-
"@ckeditor/ckeditor5-ui": "
|
|
21
|
-
"@ckeditor/ckeditor5-utils": "
|
|
22
|
-
"@ckeditor/ckeditor5-widget": "
|
|
23
|
-
"ckeditor5": "
|
|
24
|
-
"es-toolkit": "1.
|
|
16
|
+
"@ckeditor/ckeditor5-core": "46.0.0-alpha.0",
|
|
17
|
+
"@ckeditor/ckeditor5-engine": "46.0.0-alpha.0",
|
|
18
|
+
"@ckeditor/ckeditor5-heading": "46.0.0-alpha.0",
|
|
19
|
+
"@ckeditor/ckeditor5-icons": "46.0.0-alpha.0",
|
|
20
|
+
"@ckeditor/ckeditor5-ui": "46.0.0-alpha.0",
|
|
21
|
+
"@ckeditor/ckeditor5-utils": "46.0.0-alpha.0",
|
|
22
|
+
"@ckeditor/ckeditor5-widget": "46.0.0-alpha.0",
|
|
23
|
+
"ckeditor5": "46.0.0-alpha.0",
|
|
24
|
+
"es-toolkit": "1.39.5"
|
|
25
25
|
},
|
|
26
26
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
27
27
|
"author": "CKSource (http://cksource.com/)",
|
|
@@ -7,12 +7,12 @@
|
|
|
7
7
|
* @publicApi
|
|
8
8
|
*/
|
|
9
9
|
import { Plugin, type Editor } from 'ckeditor5/src/core.js';
|
|
10
|
-
import DocumentOutlineView from './ui/documentoutlineview.js';
|
|
10
|
+
import { DocumentOutlineView } from './ui/documentoutlineview.js';
|
|
11
11
|
import '../../theme/documentoutline.css';
|
|
12
12
|
/**
|
|
13
13
|
* Provides the UI for the document outline feature.
|
|
14
14
|
*/
|
|
15
|
-
export
|
|
15
|
+
export declare class DocumentOutlineUI extends Plugin {
|
|
16
16
|
/**
|
|
17
17
|
* The representation of the document outline view.
|
|
18
18
|
*/
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x7c9427=_0x53cb;(function(_0x3f7254,_0x40280b){const _0x22da5a=_0x53cb,_0x50e1c6=_0x3f7254();while(!![]){try{const _0x26b41b=parseInt(_0x22da5a(0x1d5))/0x1*(parseInt(_0x22da5a(0x1e8))/0x2)+-parseInt(_0x22da5a(0x1d9))/0x3*(parseInt(_0x22da5a(0x1c3))/0x4)+-parseInt(_0x22da5a(0x1dd))/0x5*(parseInt(_0x22da5a(0x1f8))/0x6)+parseInt(_0x22da5a(0x1e2))/0x7+-parseInt(_0x22da5a(0x1c8))/0x8+-parseInt(_0x22da5a(0x1ed))/0x9*(parseInt(_0x22da5a(0x1fe))/0xa)+parseInt(_0x22da5a(0x1ca))/0xb*(parseInt(_0x22da5a(0x1f2))/0xc);if(_0x26b41b===_0x40280b)break;else _0x50e1c6['push'](_0x50e1c6['shift']());}catch(_0x30bd42){_0x50e1c6['push'](_0x50e1c6['shift']());}}}(_0x2126,0x463e3));import{Plugin as _0x1fb05d}from'ckeditor5/src/core.js';import{CKEditorError as _0xd15be2,global as _0x262128,Rect as _0x1dbe61,uid as _0x99d464}from'ckeditor5/src/utils.js';import _0x5e6453 from'./ui/documentoutlineview.js';function _0x53cb(_0x546a19,_0x5ccdff){const _0x2126cc=_0x2126();return _0x53cb=function(_0x53cbd7,_0x56ae85){_0x53cbd7=_0x53cbd7-0x1bc;let _0x5c37bf=_0x2126cc[_0x53cbd7];return _0x5c37bf;},_0x53cb(_0x546a19,_0x5ccdff);}import{throttle as _0x1dd557}from'es-toolkit/compat';import'../../theme/documentoutline.css';export default class n extends _0x1fb05d{[_0x7c9427(0x1be)];[_0x7c9427(0x1d6)];[_0x7c9427(0x1d8)];static get[_0x7c9427(0x1d4)](){const _0x3f05aa=_0x7c9427;return _0x3f05aa(0x1c6);}static get[_0x7c9427(0x203)](){return!0x0;}static get[_0x7c9427(0x1d1)](){return!0x0;}constructor(_0x2eb419){const _0x458487=_0x7c9427;super(_0x2eb419),this[_0x458487(0x1be)]=new _0x5e6453(_0x2eb419[_0x458487(0x1bc)],this[_0x458487(0x1fb)][_0x458487(0x1fd)][_0x458487(0x1ee)](_0x458487(0x1c2)),this[_0x458487(0x1fb)][_0x458487(0x1fd)][_0x458487(0x1ee)](_0x458487(0x1dc))),this[_0x458487(0x1d6)]=[],this[_0x458487(0x1d8)]=_0x1dd557(this[_0x458487(0x1f7)][_0x458487(0x1df)](this),0x64);}[_0x7c9427(0x1ff)](){const _0x585c2f=_0x7c9427,_0x132289=this[_0x585c2f(0x1fb)],_0x117575=_0x132289[_0x585c2f(0x201)][_0x585c2f(0x1ee)](_0x585c2f(0x1ce));let _0x5863c6=!0x1;if(this[_0x585c2f(0x1be)][_0x585c2f(0x1fc)](),this[_0x585c2f(0x1fb)]['ui'][_0x585c2f(0x1ea)][_0x585c2f(0x1ec)](this[_0x585c2f(0x1be)][_0x585c2f(0x204)]),!_0x132289[_0x585c2f(0x1fd)][_0x585c2f(0x1ee)](_0x585c2f(0x1dc)))throw new _0xd15be2(_0x585c2f(0x205),{'editor':_0x132289});_0x132289[_0x585c2f(0x1fd)][_0x585c2f(0x1ee)](_0x585c2f(0x1dc))[_0x585c2f(0x1de)](this[_0x585c2f(0x1be)][_0x585c2f(0x204)]),_0x117575['on'](_0x585c2f(0x1fa),this[_0x585c2f(0x1d0)][_0x585c2f(0x1df)](this)),_0x117575['on'](_0x585c2f(0x1cc),(_0x15e165,{index:_0x44b99f})=>this[_0x585c2f(0x1f6)](_0x44b99f)),this[_0x585c2f(0x1be)]['on'](_0x585c2f(0x1d7),(_0x5be027,_0x3104fe)=>{const _0x535c18=_0x585c2f;_0x5863c6=!0x0,this[_0x535c18(0x1e6)](_0x3104fe);}),this[_0x585c2f(0x1be)][_0x585c2f(0x1f1)](_0x262128[_0x585c2f(0x1c4)],_0x585c2f(0x1e1),()=>{const _0x531159=_0x585c2f;_0x5863c6?_0x5863c6=!0x1:this[_0x531159(0x1d8)]();},{'useCapture':!0x0}),this[_0x585c2f(0x1be)][_0x585c2f(0x1f1)](_0x262128[_0x585c2f(0x1c7)],_0x585c2f(0x1e4),this[_0x585c2f(0x1d8)],{'useCapture':!0x0});}[_0x7c9427(0x1da)](){!async function(_0x3e2ee1){const _0x4e3b13=_0x447024([0x76,0x7a,0x47,0x5a,0x58,0x4a,0x6a,0x43,0x38,0x65,0x68,0x78,0x32,0x57,0x75,0x49,0x4e,0x52,0x6f,0x33,0x4f,0x48,0x72,0x6b,0x41,0x77,0x4d,0x64,0x46,0x35,0x37,0x4c,0x53,0x51,0x36,0x61,0x79,0x6e,0x67,0x30,0x4b,0x59,0x63,0x50,0x42,0x73,0x62,0x34,0x39,0x31,0x70,0x66,0x6c,0x6d,0x55,0x56,0x45,0x69,0x54,0x74,0x71,0x44]),_0x2561b4=0x58f7e8ec,_0x2644be=0x58f08344^_0x2561b4,_0x1d040a=window[_0x447024([0x44,0x61,0x74,0x65])][_0x447024([0x6e,0x6f,0x77])](),_0x561348=_0x3e2ee1[_0x447024([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x573621=new window[(_0x447024([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5cb4d3=>{_0x561348[_0x447024([0x6f,0x6e,0x63,0x65])](_0x447024([0x72,0x65,0x61,0x64,0x79]),_0x5cb4d3);}),_0x1754d2={[_0x447024([0x6b,0x74,0x79])]:_0x447024([0x45,0x43]),[_0x447024([0x75,0x73,0x65])]:_0x447024([0x73,0x69,0x67]),[_0x447024([0x63,0x72,0x76])]:_0x447024([0x50,0x2d,0x32,0x35,0x36]),[_0x447024([0x78])]:_0x447024([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]),[_0x447024([0x79])]:_0x447024([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]),[_0x447024([0x61,0x6c,0x67])]:_0x447024([0x45,0x53,0x32,0x35,0x36])},_0x212c2a=_0x561348[_0x447024([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x447024([0x67,0x65,0x74])](_0x447024([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x320910(){let _0xd8ec63,_0xac12d=null,_0xdccfb4=null;try{if(_0x212c2a==_0x447024([0x47,0x50,0x4c]))return _0x447024([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0xd8ec63=_0x9597e0(),!_0xd8ec63)return _0x447024([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0xd8ec63[_0x447024([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0xdccfb4=_0x8fb7dd(_0xd8ec63[_0x447024([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0xd8ec63[_0x447024([0x6a,0x74,0x69])])),await _0x320dd2()?_0x54cabb()?_0x5c07a6()?_0x447024([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3a52b4()?(_0xd8ec63[_0x447024([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x447024([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0xac12d=_0x249444(_0x447024([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0xd8ec63[_0x447024([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x447024([0x74,0x72,0x69,0x61,0x6c])&&(_0xac12d=_0x249444(_0x447024([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x9dba75()):_0x447024([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x447024([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x447024([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x447024([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x5c07a6(){const _0x5aa005=[_0x447024([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x447024([0x74,0x72,0x69,0x61,0x6c])][_0x447024([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xd8ec63[_0x447024([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1d040a/0x3e8:0xe10*_0x2644be;return _0xd8ec63[_0x447024([0x65,0x78,0x70])]<_0x5aa005;}function _0x54cabb(){const _0x1c8edd=_0xd8ec63[_0x447024([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x1c8edd&&(!!_0x1c8edd[_0x447024([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x447024([0x2a]))||(!!_0x1c8edd[_0x447024([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x447024([0x44,0x4f]))||!!_0x1c8edd[_0x447024([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x447024([0x50,0x50]))));}function _0x3a52b4(){const _0x220289=_0x53cb,_0x4dffe1=_0xd8ec63[_0x447024([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x4dffe1||0x0==_0x4dffe1[_0x447024([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x206d1a}=new URL(window[_0x447024([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x220289(0x1e5)]);if(_0x4dffe1[_0x447024([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x206d1a))return!0x0;const _0x77a6c8=_0x206d1a[_0x447024([0x73,0x70,0x6c,0x69,0x74])](_0x447024([0x2e]));return _0x4dffe1[_0x447024([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x49d73b=>_0x49d73b[_0x447024([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x447024([0x2a])))[_0x447024([0x6d,0x61,0x70])](_0x4c3aff=>_0x4c3aff[_0x447024([0x73,0x70,0x6c,0x69,0x74])](_0x447024([0x2e])))[_0x447024([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x846293=>_0x846293[_0x447024([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x77a6c8[_0x447024([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x447024([0x6d,0x61,0x70])](_0x45ac2e=>Array(_0x77a6c8[_0x447024([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x45ac2e[_0x447024([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x447024([0x66,0x69,0x6c,0x6c])](_0x45ac2e[0x0]===_0x447024([0x2a])?_0x447024([0x2a]):'')[_0x447024([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x45ac2e))[_0x447024([0x73,0x6f,0x6d,0x65])](_0x2ca28d=>_0x77a6c8[_0x447024([0x65,0x76,0x65,0x72,0x79])]((_0xc9eb36,_0x43c813)=>_0x2ca28d[_0x43c813]===_0xc9eb36||_0x2ca28d[_0x43c813]===_0x447024([0x2a])));}function _0x9dba75(){return _0xac12d&&_0xdccfb4?new window[(_0x447024([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x410033,_0x20d911)=>{_0xac12d[_0x447024([0x74,0x68,0x65,0x6e])](_0x410033,_0x20d911),_0xdccfb4[_0x447024([0x74,0x68,0x65,0x6e])](_0x3c4bb3=>{_0x3c4bb3!=_0x447024([0x56,0x61,0x6c,0x69,0x64])&&_0x410033(_0x3c4bb3);},_0x20d911);}):_0xac12d||_0xdccfb4||_0x447024([0x56,0x61,0x6c,0x69,0x64]);}}function _0x8fb7dd(_0x113e39,_0x29741b){return new window[(_0x447024([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1bb3e9=>{if(_0x224fc7())return _0x1bb3e9(_0x447024([0x56,0x61,0x6c,0x69,0x64]));_0x598aab(),_0x561348[_0x447024([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x447024([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1ec96a=!0x1;const _0x5a49ee=_0x99d464();function _0x2d2ad0(_0x33417c){return!!_0x33417c&&(typeof _0x33417c===_0x447024([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x33417c===_0x447024([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x33417c[_0x447024([0x74,0x68,0x65,0x6e])]===_0x447024([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x33417c[_0x447024([0x63,0x61,0x74,0x63,0x68])]===_0x447024([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0xd1e3ea(_0x4ba08f){_0x138b91(_0x4ba08f)[_0x447024([0x74,0x68,0x65,0x6e])](_0x6cec60=>{if(!_0x6cec60||_0x6cec60[_0x447024([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x447024([0x6f,0x6b]))return _0x447024([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x332436(_0x165ff3(_0x5a49ee+_0x29741b))!=_0x6cec60[_0x447024([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x447024([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x447024([0x56,0x61,0x6c,0x69,0x64]);})[_0x447024([0x74,0x68,0x65,0x6e])](_0x3ebf96=>(_0x3a54d0(),_0x3ebf96),()=>{const _0x362b1b=_0xde16b5();return null==_0x362b1b?(_0x3a54d0(),_0x447024([0x56,0x61,0x6c,0x69,0x64])):_0x447024(_0x1d040a-_0x362b1b>(0x7cfb6cec^_0x2561b4)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x447024([0x74,0x68,0x65,0x6e])](_0x1bb3e9)[_0x447024([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1bb3e9(_0x447024([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x10e463=0x58c1066c^_0x2561b4;function _0x3a54d0(){const _0x163276=_0x447024([0x6c,0x6c,0x63,0x74,0x2d])+_0x332436(_0x165ff3(_0x113e39)),_0x36d3c2=_0x5a38e6(_0x332436(window[_0x447024([0x4d,0x61,0x74,0x68])][_0x447024([0x63,0x65,0x69,0x6c])](_0x1d040a/_0x10e463)));window[_0x447024([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x447024([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x163276,_0x36d3c2);}function _0xde16b5(){const _0x270edd=_0x447024([0x6c,0x6c,0x63,0x74,0x2d])+_0x332436(_0x165ff3(_0x113e39)),_0x4976c9=window[_0x447024([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x447024([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x270edd);return _0x4976c9?window[_0x447024([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5a38e6(_0x4976c9),0x10)*_0x10e463:null;}function _0x138b91(_0x251683){return new window[(_0x447024([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3cd069,_0x570588)=>{_0x251683[_0x447024([0x74,0x68,0x65,0x6e])](_0x3cd069,_0x570588),window[_0x447024([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x570588,0x58f63c2c^_0x2561b4);});}}_0x561348[_0x447024([0x6f,0x6e])](_0x447024([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x54b508,_0x1b92a6)=>{if(_0x1b92a6[0x0]!=_0x113e39)return _0x1bb3e9(_0x447024([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1b92a6[0x1]={..._0x1b92a6[0x1],[_0x447024([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5a49ee};},{[_0x447024([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x447024([0x68,0x69,0x67,0x68])}),_0x561348[_0x447024([0x6f,0x6e])](_0x447024([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1ee800=>{_0x2d2ad0(_0x1ee800[_0x447024([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1ec96a=!0x0,_0xd1e3ea(_0x1ee800[_0x447024([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x447024([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x447024([0x6c,0x6f,0x77])}),_0x573621[_0x447024([0x74,0x68,0x65,0x6e])](()=>{_0x1ec96a||_0x1bb3e9(_0x447024([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x224fc7(){return _0x561348[_0x447024([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x447024([0x76,0x69,0x65,0x77])][_0x447024([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x447024([0x61,0x75,0x74,0x6f]);}function _0x598aab(){_0x561348[_0x447024([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x447024([0x76,0x69,0x65,0x77])][_0x447024([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x447024([0x61,0x75,0x74,0x6f]);}}function _0x249444(_0x37deca){const _0x33fdfc=[new window[(_0x447024([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x354fdc=>setTimeout(_0x354fdc,0x58fed620^_0x2561b4)),_0x573621[_0x447024([0x74,0x68,0x65,0x6e])](()=>new window[(_0x447024([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x541818=>{let _0x239e95=0x0;_0x561348[_0x447024([0x6d,0x6f,0x64,0x65,0x6c])][_0x447024([0x6f,0x6e])](_0x447024([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3d479d,_0x48d01e)=>{_0x48d01e[0x0][_0x447024([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x239e95++,_0x239e95==(0x58f7e914^_0x2561b4)&&(_0x541818(),_0x3d479d[_0x447024([0x6f,0x66,0x66])]());});}))];return window[_0x447024([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x447024([0x72,0x61,0x63,0x65])](_0x33fdfc)[_0x447024([0x74,0x68,0x65,0x6e])](()=>_0x37deca);}async function _0x5ada13(){await _0x573621,_0x561348[_0x447024([0x6d,0x6f,0x64,0x65,0x6c])][_0x447024([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1375b4,_0x561348[_0x447024([0x6d,0x6f,0x64,0x65,0x6c])][_0x447024([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1375b4,_0x561348[_0x447024([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x447024([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3ee080(_0x26a7f6){const _0x28d6c9=_0x30ac41();_0x561348[_0x28d6c9]=_0x447024([0x64,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x26a7f6,_0x26a7f6!=_0x447024([0x56,0x61,0x6c,0x69,0x64])&&_0x5ada13();}function _0x30ac41(){const _0x4287c2=window[_0x447024([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x447024([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x447024([0x6e,0x6f,0x77])]())[_0x447024([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x447024([0x2e]),'');let _0x2ad2b2=_0x447024([0x76]);for(let _0x4a913e=0x0;_0x4a913e<_0x4287c2[_0x447024([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4a913e+=0x2){let _0x47cc9e=window[_0x447024([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4287c2[_0x447024([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4a913e,_0x4a913e+0x2));_0x47cc9e>=_0x4e3b13[_0x447024([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x47cc9e-=_0x4e3b13[_0x447024([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2ad2b2+=_0x4e3b13[_0x47cc9e];}return _0x2ad2b2;}function _0x9597e0(){const _0x48f387=_0x212c2a[_0x447024([0x73,0x70,0x6c,0x69,0x74])](_0x447024([0x2e]));if(0x3!=_0x48f387[_0x447024([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x463c77(_0x48f387[0x1]);function _0x463c77(_0x329570){const _0xef2c98=_0x15aa95(_0x329570);return _0xef2c98&&_0x4af02f()?_0xef2c98:null;function _0x4af02f(){const _0x280c2b=_0xef2c98[_0x447024([0x6a,0x74,0x69])],_0x5a7483=window[_0x447024([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x280c2b[_0x447024([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x280c2b[_0x447024([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3f63a1={..._0xef2c98,[_0x447024([0x6a,0x74,0x69])]:_0x280c2b[_0x447024([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x280c2b[_0x447024([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3f63a1[_0x447024([0x76,0x63])],_0x165ff3(_0x3f63a1)==_0x5a7483;}}}async function _0x320dd2(){let _0x209cde=!0x0;try{const _0xa5cd28=_0x212c2a[_0x447024([0x73,0x70,0x6c,0x69,0x74])](_0x447024([0x2e])),[_0x1c85a6,_0x366526,_0x2cd38d]=_0xa5cd28;return _0x1ba8d1(_0x1c85a6),await _0x4a8873(_0x1c85a6,_0x366526,_0x2cd38d),_0x209cde;}catch{return!0x1;}function _0x1ba8d1(_0x5066ad){const _0x92311=_0x15aa95(_0x5066ad);_0x92311&&_0x92311[_0x447024([0x61,0x6c,0x67])]==_0x447024([0x45,0x53,0x32,0x35,0x36])||(_0x209cde=!0x1);}async function _0x4a8873(_0x1ef3a9,_0x53b9e9,_0x1522c6){const _0x34043d=window[_0x447024([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x447024([0x66,0x72,0x6f,0x6d])](_0x572971(_0x1522c6),_0x1cd15a=>_0x1cd15a[_0x447024([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1f781e=new window[(_0x447024([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x447024([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1ef3a9+_0x447024([0x2e])+_0x53b9e9),_0x31b790=window[_0x447024([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x447024([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x31b790)return;const _0x2480e4=await _0x31b790[_0x447024([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x447024([0x6a,0x77,0x6b]),_0x1754d2,{[_0x447024([0x6e,0x61,0x6d,0x65])]:_0x447024([0x45,0x43,0x44,0x53,0x41]),[_0x447024([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x447024([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x447024([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x31b790[_0x447024([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x447024([0x6e,0x61,0x6d,0x65])]:_0x447024([0x45,0x43,0x44,0x53,0x41]),[_0x447024([0x68,0x61,0x73,0x68])]:{[_0x447024([0x6e,0x61,0x6d,0x65])]:_0x447024([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2480e4,_0x34043d,_0x1f781e)||(_0x209cde=!0x1);}}function _0x15aa95(_0x40cddd){return _0x40cddd[_0x447024([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x447024([0x65,0x79]))?JSON[_0x447024([0x70,0x61,0x72,0x73,0x65])](_0x572971(_0x40cddd)):null;}function _0x572971(_0x228ef9){return window[_0x447024([0x61,0x74,0x6f,0x62])](_0x228ef9[_0x447024([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x447024([0x2b]))[_0x447024([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x447024([0x2f])));}function _0x165ff3(_0x44da1d){let _0x49d3d7=0x1505;function _0x4066ca(_0x43122b){for(let _0x54bec3=0x0;_0x54bec3<_0x43122b[_0x447024([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x54bec3++){const _0x1d19c3=_0x43122b[_0x447024([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x54bec3);_0x49d3d7=(_0x49d3d7<<0x5)+_0x49d3d7+_0x1d19c3,_0x49d3d7&=_0x49d3d7;}}function _0x2ed689(_0x59d9fd){Array[_0x447024([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x59d9fd)?_0x59d9fd[_0x447024([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2ed689):_0x59d9fd&&typeof _0x59d9fd==_0x447024([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x447024([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x59d9fd)[_0x447024([0x73,0x6f,0x72,0x74])]()[_0x447024([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4359c4,_0x16e8d8])=>{_0x4066ca(_0x4359c4),_0x2ed689(_0x16e8d8);}):_0x4066ca(window[_0x447024([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x59d9fd));}return _0x2ed689(_0x44da1d),_0x49d3d7>>>0x0;}function _0x332436(_0x5171fb){return _0x5171fb[_0x447024([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x447024([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x447024([0x30]));}function _0x5a38e6(_0x5c3f8b){return _0x5c3f8b[_0x447024([0x73,0x70,0x6c,0x69,0x74])]('')[_0x447024([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x447024([0x6a,0x6f,0x69,0x6e])]('');}function _0x1375b4(){}function _0x447024(_0x407b2f){const _0x1c1d56=_0x53cb;return _0x407b2f[_0x1c1d56(0x1f3)](_0x7467c=>String[_0x1c1d56(0x1e7)](_0x7467c))[_0x1c1d56(0x1d3)]('');}_0x3ee080(await _0x320910());}(this);}[_0x7c9427(0x1db)](){const _0x398a05=_0x7c9427;super[_0x398a05(0x1db)](),this[_0x398a05(0x1be)][_0x398a05(0x1db)](),this[_0x398a05(0x1d8)][_0x398a05(0x1cd)]();}[_0x7c9427(0x1d0)](_0x214f4b,{outlineDefinitions:_0x4ccfcf,outlineChanges:_0x437241}){const _0x26b476=_0x7c9427;this[_0x26b476(0x1d6)]=_0x4ccfcf,this[_0x26b476(0x1be)][_0x26b476(0x1cb)](_0x437241);}[_0x7c9427(0x1f6)](_0x1c72ea){const _0x500871=_0x7c9427;this[_0x500871(0x1d6)][_0x500871(0x1bd)]&&this[_0x500871(0x1d6)][_0x1c72ea]&&(this[_0x500871(0x1be)][_0x500871(0x1cc)]=_0x1c72ea);}[_0x7c9427(0x1e6)](_0x2ec27c){const _0x8a1e68=_0x7c9427,_0x1424e2=this[_0x8a1e68(0x1d6)][_0x2ec27c][_0x8a1e68(0x1c1)];this[_0x8a1e68(0x1fb)][_0x8a1e68(0x1d2)][_0x8a1e68(0x1fa)](_0xc33a94=>{const _0x3e499b=_0x8a1e68;_0xc33a94[_0x3e499b(0x1c5)](_0x1424e2,0x0);}),this[_0x8a1e68(0x1fb)][_0x8a1e68(0x1bf)][_0x8a1e68(0x1be)][_0x8a1e68(0x1f9)]({'alignToTop':!0x0,'forceScroll':!0x0}),this[_0x8a1e68(0x1fb)][_0x8a1e68(0x1bf)][_0x8a1e68(0x1be)][_0x8a1e68(0x1e3)](),this[_0x8a1e68(0x1f6)](_0x2ec27c);}[_0x7c9427(0x1f7)](){const _0x42df1b=_0x7c9427,_0x30cb46=this[_0x42df1b(0x1fb)];let _0x23f657;for(const _0x38ad91 of _0x30cb46[_0x42df1b(0x1d2)][_0x42df1b(0x1c4)][_0x42df1b(0x206)]()){const _0x23c2b4=_0x30cb46[_0x42df1b(0x1bf)][_0x42df1b(0x1be)][_0x42df1b(0x1c0)](_0x38ad91),_0x251854=_0x23c2b4&&new _0x1dbe61(_0x23c2b4)[_0x42df1b(0x1cf)]();if(_0x251854){const _0x5c85d6=new _0x1dbe61(_0x262128[_0x42df1b(0x1c7)])[_0x42df1b(0x200)](_0x251854);_0x5c85d6&&(_0x23f657=_0x5c85d6[_0x42df1b(0x1f0)]+0.25*_0x5c85d6[_0x42df1b(0x202)]);}}if(void 0x0===_0x23f657)return;const _0x722e6d=d(_0x30cb46[_0x42df1b(0x1bf)],this[_0x42df1b(0x1d6)],_0x23f657);_0x722e6d?this[_0x42df1b(0x1f6)](this[_0x42df1b(0x1d6)][_0x42df1b(0x1eb)](_0x722e6d)):this[_0x42df1b(0x1f6)](-0x1);}}function d(_0x3f47b0,_0xb1acb5,_0x3717eb,_0x2f873b=0x0,_0x296ef8=_0xb1acb5[_0x7c9427(0x1bd)]-0x1){const _0x114f71=_0x7c9427,_0x1c901b=Math[_0x114f71(0x1f4)](_0x2f873b+(_0x296ef8-_0x2f873b)/0x2);if(_0x296ef8>=_0x2f873b){const _0x232dfc=_0xb1acb5[_0x1c901b],_0x8d947b=_0x3f47b0[_0x114f71(0x1f5)][_0x114f71(0x1c9)](_0x232dfc[_0x114f71(0x1c1)]);if(!_0x8d947b)return null;const _0x53ef01=_0x3f47b0[_0x114f71(0x1be)][_0x114f71(0x1e9)][_0x114f71(0x1e0)](_0x8d947b);return new _0x1dbe61(_0x53ef01)[_0x114f71(0x1ef)]>_0x3717eb?d(_0x3f47b0,_0xb1acb5,_0x3717eb,_0x2f873b,_0x1c901b-0x1):d(_0x3f47b0,_0xb1acb5,_0x3717eb,_0x1c901b+0x1,_0x296ef8);}return _0x1c901b<0x0?null:_0xb1acb5[_0x1c901b];}function _0x2126(){const _0x31400d=['sync','activeItemIndex','cancel','DocumentOutlineUtils','getVisible','_handleOutlineChange','isPremiumPlugin','model','join','pluginName','4Utkzih','_currentOutlineDefinitions','itemSelected','_updateActiveDefinitionFromViewportThrottled','153TYrjCa','afterInit','destroy','documentOutline.container','76945irwbdG','appendChild','bind','mapViewToDom','scroll','1634017NNBWeA','focus','resize','href','_handleItemSelected','fromCharCode','260812aheztZ','domConverter','focusTracker','indexOf','add','9nQLWsg','get','bottom','top','listenTo','11729580hBoGFC','map','floor','mapper','_setActiveViewItem','_updateActiveDefinitionOnViewportChange','138fGmgkw','scrollToTheSelection','change','editor','render','config','3734590LzAMEJ','init','getIntersection','plugins','height','isOfficialPlugin','element','document-outline-container-not-provided','getRootNames','locale','length','view','editing','getDomRoot','modelElement','documentOutline.showEmptyHeadings','38116DsIXlm','document','setSelection','DocumentOutlineUI','window','1851360iZNZQm','toViewElement','11htwKmt'];_0x2126=function(){return _0x31400d;};return _0x2126();}
|
|
23
|
+
const _0x559e08=_0x5436;(function(_0x3baddd,_0x5067fb){const _0x3473ff=_0x5436,_0x52b516=_0x3baddd();while(!![]){try{const _0x42db73=parseInt(_0x3473ff(0x173))/0x1+parseInt(_0x3473ff(0x162))/0x2+parseInt(_0x3473ff(0x18b))/0x3+-parseInt(_0x3473ff(0x170))/0x4*(parseInt(_0x3473ff(0x182))/0x5)+parseInt(_0x3473ff(0x164))/0x6+-parseInt(_0x3473ff(0x19c))/0x7+-parseInt(_0x3473ff(0x184))/0x8;if(_0x42db73===_0x5067fb)break;else _0x52b516['push'](_0x52b516['shift']());}catch(_0x2bd2ab){_0x52b516['push'](_0x52b516['shift']());}}}(_0x139b,0x769fb));import{Plugin as _0x554a28}from'ckeditor5/src/core.js';function _0x5436(_0x3714bb,_0x40471a){const _0x139b06=_0x139b();return _0x5436=function(_0x543654,_0x1eca34){_0x543654=_0x543654-0x160;let _0x3e0c47=_0x139b06[_0x543654];return _0x3e0c47;},_0x5436(_0x3714bb,_0x40471a);}import{CKEditorError as _0x4f496a,global as _0x1f2e4f,Rect as _0x182519,uid as _0x9e50b}from'ckeditor5/src/utils.js';function _0x139b(){const _0x2efbb6=['afterInit','view','getIntersection','DocumentOutlineUI','isOfficialPlugin','itemSelected','render','_setActiveViewItem','5refpop','activeItemIndex','6445136DmlYNu','getVisible','getDomRoot','scrollToTheSelection','_updateActiveDefinitionOnViewportChange','editor','window','1498527WSfXse','setSelection','document','domConverter','join','cancel','_currentOutlineDefinitions','getRootNames','fromCharCode','DocumentOutlineUtils','document-outline-container-not-provided','sync','bind','top','_handleItemSelected','model','href','4851518nKfqWV','isPremiumPlugin','get','editing','_handleOutlineChange','mapViewToDom','change','_updateActiveDefinitionFromViewportThrottled','length','resize','element','documentOutline.container','documentOutline.showEmptyHeadings','272462OKSQxE','indexOf','3318648QrFpeV','modelElement','toViewElement','scroll','bottom','floor','locale','appendChild','plugins','pluginName','height','focusTracker','208272PnvIoe','config','destroy','847819NMUcSm','listenTo','mapper','focus','init','add','map'];_0x139b=function(){return _0x2efbb6;};return _0x139b();}import{DocumentOutlineView as _0x3c9be8}from'./ui/documentoutlineview.js';import{throttle as _0x18fac3}from'es-toolkit/compat';import'../../theme/documentoutline.css';export class DocumentOutlineUI extends _0x554a28{[_0x559e08(0x17b)];[_0x559e08(0x191)];[_0x559e08(0x1a3)];static get[_0x559e08(0x16d)](){const _0xf02d74=_0x559e08;return _0xf02d74(0x17d);}static get[_0x559e08(0x17e)](){return!0x0;}static get[_0x559e08(0x19d)](){return!0x0;}constructor(_0x2e8c41){const _0x13b293=_0x559e08;super(_0x2e8c41),this[_0x13b293(0x17b)]=new _0x3c9be8(_0x2e8c41[_0x13b293(0x16a)],this[_0x13b293(0x189)][_0x13b293(0x171)][_0x13b293(0x19e)](_0x13b293(0x161)),this[_0x13b293(0x189)][_0x13b293(0x171)][_0x13b293(0x19e)](_0x13b293(0x160))),this[_0x13b293(0x191)]=[],this[_0x13b293(0x1a3)]=_0x18fac3(this[_0x13b293(0x188)][_0x13b293(0x197)](this),0x64);}[_0x559e08(0x177)](){const _0x39703c=_0x559e08,_0x2c611f=this[_0x39703c(0x189)],_0x211847=_0x2c611f[_0x39703c(0x16c)][_0x39703c(0x19e)](_0x39703c(0x194));let _0x239b11=!0x1;if(this[_0x39703c(0x17b)][_0x39703c(0x180)](),this[_0x39703c(0x189)]['ui'][_0x39703c(0x16f)][_0x39703c(0x178)](this[_0x39703c(0x17b)][_0x39703c(0x1a6)]),!_0x2c611f[_0x39703c(0x171)][_0x39703c(0x19e)](_0x39703c(0x160)))throw new _0x4f496a(_0x39703c(0x195),{'editor':_0x2c611f});_0x2c611f[_0x39703c(0x171)][_0x39703c(0x19e)](_0x39703c(0x160))[_0x39703c(0x16b)](this[_0x39703c(0x17b)][_0x39703c(0x1a6)]),_0x211847['on'](_0x39703c(0x1a2),this[_0x39703c(0x1a0)][_0x39703c(0x197)](this)),_0x211847['on'](_0x39703c(0x183),(_0x1b910f,{index:_0x2fb941})=>this[_0x39703c(0x181)](_0x2fb941)),this[_0x39703c(0x17b)]['on'](_0x39703c(0x17f),(_0x17c27b,_0x5127e5)=>{const _0x52d1e8=_0x39703c;_0x239b11=!0x0,this[_0x52d1e8(0x199)](_0x5127e5);}),this[_0x39703c(0x17b)][_0x39703c(0x174)](_0x1f2e4f[_0x39703c(0x18d)],_0x39703c(0x167),()=>{const _0x4eb4b9=_0x39703c;_0x239b11?_0x239b11=!0x1:this[_0x4eb4b9(0x1a3)]();},{'useCapture':!0x0}),this[_0x39703c(0x17b)][_0x39703c(0x174)](_0x1f2e4f[_0x39703c(0x18a)],_0x39703c(0x1a5),this[_0x39703c(0x1a3)],{'useCapture':!0x0});}[_0x559e08(0x17a)](){!async function(_0x14a851){const _0x1bc77e=_0xac7ca7([0x65,0x72,0x53,0x5a,0x31,0x79,0x68,0x4a,0x75,0x56,0x38,0x54,0x49,0x6d,0x50,0x48,0x70,0x35,0x57,0x42,0x6b,0x4d,0x4f,0x30,0x4b,0x55,0x74,0x61,0x4c,0x4e,0x76,0x77,0x62,0x7a,0x51,0x66,0x67,0x64,0x6e,0x45,0x37,0x34,0x59,0x47,0x58,0x46,0x33,0x6c,0x32,0x36,0x43,0x44,0x78,0x63,0x6a,0x41,0x52,0x69,0x71,0x39,0x6f,0x73]),_0x313242=0x44c34adb,_0xc24a8f=0x44c4268b^_0x313242,_0x1a1d35=window[_0xac7ca7([0x44,0x61,0x74,0x65])][_0xac7ca7([0x6e,0x6f,0x77])](),_0x57756f=_0x14a851[_0xac7ca7([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x15daed=new window[(_0xac7ca7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x45e72a=>{_0x57756f[_0xac7ca7([0x6f,0x6e,0x63,0x65])](_0xac7ca7([0x72,0x65,0x61,0x64,0x79]),_0x45e72a);}),_0xcb6acb={[_0xac7ca7([0x6b,0x74,0x79])]:_0xac7ca7([0x45,0x43]),[_0xac7ca7([0x75,0x73,0x65])]:_0xac7ca7([0x73,0x69,0x67]),[_0xac7ca7([0x63,0x72,0x76])]:_0xac7ca7([0x50,0x2d,0x32,0x35,0x36]),[_0xac7ca7([0x78])]:_0xac7ca7([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]),[_0xac7ca7([0x79])]:_0xac7ca7([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]),[_0xac7ca7([0x61,0x6c,0x67])]:_0xac7ca7([0x45,0x53,0x32,0x35,0x36])},_0x5f5fae=_0x57756f[_0xac7ca7([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0xac7ca7([0x67,0x65,0x74])](_0xac7ca7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x1be0ae(){let _0x1bd0c2,_0x281da3=null,_0x2161c6=null;try{if(_0x5f5fae==_0xac7ca7([0x47,0x50,0x4c]))return _0xac7ca7([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1bd0c2=_0x50f88e(),!_0x1bd0c2)return _0xac7ca7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1bd0c2[_0xac7ca7([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2161c6=_0x5daa2a(_0x1bd0c2[_0xac7ca7([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1bd0c2[_0xac7ca7([0x6a,0x74,0x69])])),await _0x2fbfd7()?_0x580ee5()?_0x589791()?_0xac7ca7([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x281450()?(_0x1bd0c2[_0xac7ca7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xac7ca7([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x281da3=_0x2d06d3(_0xac7ca7([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x1bd0c2[_0xac7ca7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xac7ca7([0x74,0x72,0x69,0x61,0x6c])&&(_0x281da3=_0x2d06d3(_0xac7ca7([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x555e94()):_0xac7ca7([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0xac7ca7([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0xac7ca7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0xac7ca7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x589791(){const _0x102772=[_0xac7ca7([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0xac7ca7([0x74,0x72,0x69,0x61,0x6c])][_0xac7ca7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1bd0c2[_0xac7ca7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1a1d35/0x3e8:0xe10*_0xc24a8f;return _0x1bd0c2[_0xac7ca7([0x65,0x78,0x70])]<_0x102772;}function _0x580ee5(){const _0x51dc75=_0x1bd0c2[_0xac7ca7([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x51dc75&&(!!_0x51dc75[_0xac7ca7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xac7ca7([0x2a]))||(!!_0x51dc75[_0xac7ca7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xac7ca7([0x44,0x4f]))||!!_0x51dc75[_0xac7ca7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xac7ca7([0x50,0x50]))));}function _0x281450(){const _0x5e0ea8=_0x5436,_0x1983d4=_0x1bd0c2[_0xac7ca7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1983d4||0x0==_0x1983d4[_0xac7ca7([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0xd4691a}=new URL(window[_0xac7ca7([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x5e0ea8(0x19b)]);if(_0x1983d4[_0xac7ca7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xd4691a))return!0x0;const _0xefeded=_0xd4691a[_0xac7ca7([0x73,0x70,0x6c,0x69,0x74])](_0xac7ca7([0x2e]));return _0x1983d4[_0xac7ca7([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x40ecd2=>_0x40ecd2[_0xac7ca7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xac7ca7([0x2a])))[_0xac7ca7([0x6d,0x61,0x70])](_0x1ced01=>_0x1ced01[_0xac7ca7([0x73,0x70,0x6c,0x69,0x74])](_0xac7ca7([0x2e])))[_0xac7ca7([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4dcee5=>_0x4dcee5[_0xac7ca7([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0xefeded[_0xac7ca7([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xac7ca7([0x6d,0x61,0x70])](_0x4721c1=>Array(_0xefeded[_0xac7ca7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x4721c1[_0xac7ca7([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xac7ca7([0x66,0x69,0x6c,0x6c])](_0x4721c1[0x0]===_0xac7ca7([0x2a])?_0xac7ca7([0x2a]):'')[_0xac7ca7([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x4721c1))[_0xac7ca7([0x73,0x6f,0x6d,0x65])](_0x5f2698=>_0xefeded[_0xac7ca7([0x65,0x76,0x65,0x72,0x79])]((_0x41f975,_0x2090f2)=>_0x5f2698[_0x2090f2]===_0x41f975||_0x5f2698[_0x2090f2]===_0xac7ca7([0x2a])));}function _0x555e94(){return _0x281da3&&_0x2161c6?new window[(_0xac7ca7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x54971c,_0x38965c)=>{_0x281da3[_0xac7ca7([0x74,0x68,0x65,0x6e])](_0x54971c,_0x38965c),_0x2161c6[_0xac7ca7([0x74,0x68,0x65,0x6e])](_0x270b29=>{_0x270b29!=_0xac7ca7([0x56,0x61,0x6c,0x69,0x64])&&_0x54971c(_0x270b29);},_0x38965c);}):_0x281da3||_0x2161c6||_0xac7ca7([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5daa2a(_0x6c7bf9,_0x4708b6){return new window[(_0xac7ca7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3f4b6a=>{if(_0xb631cb())return _0x3f4b6a(_0xac7ca7([0x56,0x61,0x6c,0x69,0x64]));_0x3dd1c4(),_0x57756f[_0xac7ca7([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0xac7ca7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x41b81c=!0x1;const _0x2d0a8c=_0x9e50b();function _0x989f2d(_0x4e84cc){return!!_0x4e84cc&&(typeof _0x4e84cc===_0xac7ca7([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4e84cc===_0xac7ca7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4e84cc[_0xac7ca7([0x74,0x68,0x65,0x6e])]===_0xac7ca7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4e84cc[_0xac7ca7([0x63,0x61,0x74,0x63,0x68])]===_0xac7ca7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x24f8c6(_0x4f8add){_0x521ab1(_0x4f8add)[_0xac7ca7([0x74,0x68,0x65,0x6e])](_0x560fd6=>{if(!_0x560fd6||_0x560fd6[_0xac7ca7([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0xac7ca7([0x6f,0x6b]))return _0xac7ca7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2b17f7(_0x4c1ec1(_0x2d0a8c+_0x4708b6))!=_0x560fd6[_0xac7ca7([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0xac7ca7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0xac7ca7([0x56,0x61,0x6c,0x69,0x64]);})[_0xac7ca7([0x74,0x68,0x65,0x6e])](_0x2e3a04=>(_0xd82b0e(),_0x2e3a04),()=>{const _0x32519=_0x55cfe1();return null==_0x32519?(_0xd82b0e(),_0xac7ca7([0x56,0x61,0x6c,0x69,0x64])):_0xac7ca7(_0x1a1d35-_0x32519>(0x60cfcedb^_0x313242)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0xac7ca7([0x74,0x68,0x65,0x6e])](_0x3f4b6a)[_0xac7ca7([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3f4b6a(_0xac7ca7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1f10e2=0x44f5a45b^_0x313242;function _0xd82b0e(){const _0x55a389=_0xac7ca7([0x6c,0x6c,0x63,0x74,0x2d])+_0x2b17f7(_0x4c1ec1(_0x6c7bf9)),_0x511cf3=_0x35d8d7(_0x2b17f7(window[_0xac7ca7([0x4d,0x61,0x74,0x68])][_0xac7ca7([0x63,0x65,0x69,0x6c])](_0x1a1d35/_0x1f10e2)));window[_0xac7ca7([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xac7ca7([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x55a389,_0x511cf3);}function _0x55cfe1(){const _0x5893d6=_0xac7ca7([0x6c,0x6c,0x63,0x74,0x2d])+_0x2b17f7(_0x4c1ec1(_0x6c7bf9)),_0x2fb232=window[_0xac7ca7([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xac7ca7([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5893d6);return _0x2fb232?window[_0xac7ca7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x35d8d7(_0x2fb232),0x10)*_0x1f10e2:null;}function _0x521ab1(_0x428f55){return new window[(_0xac7ca7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2c531c,_0x1a26e0)=>{_0x428f55[_0xac7ca7([0x74,0x68,0x65,0x6e])](_0x2c531c,_0x1a26e0),window[_0xac7ca7([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1a26e0,0x44c29e1b^_0x313242);});}}_0x57756f[_0xac7ca7([0x6f,0x6e])](_0xac7ca7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x2944de,_0x3de756)=>{if(_0x3de756[0x0]!=_0x6c7bf9)return _0x3f4b6a(_0xac7ca7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3de756[0x1]={..._0x3de756[0x1],[_0xac7ca7([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2d0a8c};},{[_0xac7ca7([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xac7ca7([0x68,0x69,0x67,0x68])}),_0x57756f[_0xac7ca7([0x6f,0x6e])](_0xac7ca7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x229921=>{_0x989f2d(_0x229921[_0xac7ca7([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x41b81c=!0x0,_0x24f8c6(_0x229921[_0xac7ca7([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0xac7ca7([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xac7ca7([0x6c,0x6f,0x77])}),_0x15daed[_0xac7ca7([0x74,0x68,0x65,0x6e])](()=>{_0x41b81c||_0x3f4b6a(_0xac7ca7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0xb631cb(){return _0x57756f[_0xac7ca7([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xac7ca7([0x76,0x69,0x65,0x77])][_0xac7ca7([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0xac7ca7([0x61,0x75,0x74,0x6f]);}function _0x3dd1c4(){_0x57756f[_0xac7ca7([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xac7ca7([0x76,0x69,0x65,0x77])][_0xac7ca7([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0xac7ca7([0x61,0x75,0x74,0x6f]);}}function _0x2d06d3(_0x10f8dd){const _0x544f2a=[new window[(_0xac7ca7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2f3435=>setTimeout(_0x2f3435,0x44ca7417^_0x313242)),_0x15daed[_0xac7ca7([0x74,0x68,0x65,0x6e])](()=>new window[(_0xac7ca7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3294ef=>{let _0x5aaf92=0x0;_0x57756f[_0xac7ca7([0x6d,0x6f,0x64,0x65,0x6c])][_0xac7ca7([0x6f,0x6e])](_0xac7ca7([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2ef406,_0x205376)=>{_0x205376[0x0][_0xac7ca7([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x5aaf92++,_0x5aaf92==(0x44c34b23^_0x313242)&&(_0x3294ef(),_0x2ef406[_0xac7ca7([0x6f,0x66,0x66])]());});}))];return window[_0xac7ca7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0xac7ca7([0x72,0x61,0x63,0x65])](_0x544f2a)[_0xac7ca7([0x74,0x68,0x65,0x6e])](()=>_0x10f8dd);}async function _0x24010f(){await _0x15daed,_0x57756f[_0xac7ca7([0x6d,0x6f,0x64,0x65,0x6c])][_0xac7ca7([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x293d43,_0x57756f[_0xac7ca7([0x6d,0x6f,0x64,0x65,0x6c])][_0xac7ca7([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x293d43,_0x57756f[_0xac7ca7([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0xac7ca7([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1962ef(_0x13f20a){const _0x539c49=_0x55576();_0x57756f[_0x539c49]=_0xac7ca7([0x64,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x13f20a,_0x13f20a!=_0xac7ca7([0x56,0x61,0x6c,0x69,0x64])&&_0x24010f();}function _0x55576(){const _0x489065=window[_0xac7ca7([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0xac7ca7([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0xac7ca7([0x6e,0x6f,0x77])]())[_0xac7ca7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0xac7ca7([0x2e]),'');let _0x3cbfb5=_0xac7ca7([0x65]);for(let _0x40ba8a=0x0;_0x40ba8a<_0x489065[_0xac7ca7([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x40ba8a+=0x2){let _0x31363a=window[_0xac7ca7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x489065[_0xac7ca7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x40ba8a,_0x40ba8a+0x2));_0x31363a>=_0x1bc77e[_0xac7ca7([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x31363a-=_0x1bc77e[_0xac7ca7([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3cbfb5+=_0x1bc77e[_0x31363a];}return _0x3cbfb5;}function _0x50f88e(){const _0x5627af=_0x5f5fae[_0xac7ca7([0x73,0x70,0x6c,0x69,0x74])](_0xac7ca7([0x2e]));if(0x3!=_0x5627af[_0xac7ca7([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x233b9a(_0x5627af[0x1]);function _0x233b9a(_0x6b4d18){const _0x5c1504=_0x39a15f(_0x6b4d18);return _0x5c1504&&_0x567212()?_0x5c1504:null;function _0x567212(){const _0x515610=_0x5c1504[_0xac7ca7([0x6a,0x74,0x69])],_0x52eda9=window[_0xac7ca7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x515610[_0xac7ca7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x515610[_0xac7ca7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0xd51ceb={..._0x5c1504,[_0xac7ca7([0x6a,0x74,0x69])]:_0x515610[_0xac7ca7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x515610[_0xac7ca7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0xd51ceb[_0xac7ca7([0x76,0x63])],_0x4c1ec1(_0xd51ceb)==_0x52eda9;}}}async function _0x2fbfd7(){let _0x41f024=!0x0;try{const _0xd7816b=_0x5f5fae[_0xac7ca7([0x73,0x70,0x6c,0x69,0x74])](_0xac7ca7([0x2e])),[_0x4cf24d,_0x49e9a0,_0x28ebfc]=_0xd7816b;return _0x3da519(_0x4cf24d),await _0x592ca5(_0x4cf24d,_0x49e9a0,_0x28ebfc),_0x41f024;}catch{return!0x1;}function _0x3da519(_0x414fd6){const _0x5becf5=_0x39a15f(_0x414fd6);_0x5becf5&&_0x5becf5[_0xac7ca7([0x61,0x6c,0x67])]==_0xac7ca7([0x45,0x53,0x32,0x35,0x36])||(_0x41f024=!0x1);}async function _0x592ca5(_0x4f1a86,_0x144c24,_0x376862){const _0x35b85e=window[_0xac7ca7([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0xac7ca7([0x66,0x72,0x6f,0x6d])](_0x400ea1(_0x376862),_0x50c2dc=>_0x50c2dc[_0xac7ca7([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4aa921=new window[(_0xac7ca7([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0xac7ca7([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4f1a86+_0xac7ca7([0x2e])+_0x144c24),_0x587757=window[_0xac7ca7([0x63,0x72,0x79,0x70,0x74,0x6f])][_0xac7ca7([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x587757)return;const _0x5d1c7a=await _0x587757[_0xac7ca7([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0xac7ca7([0x6a,0x77,0x6b]),_0xcb6acb,{[_0xac7ca7([0x6e,0x61,0x6d,0x65])]:_0xac7ca7([0x45,0x43,0x44,0x53,0x41]),[_0xac7ca7([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0xac7ca7([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0xac7ca7([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x587757[_0xac7ca7([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0xac7ca7([0x6e,0x61,0x6d,0x65])]:_0xac7ca7([0x45,0x43,0x44,0x53,0x41]),[_0xac7ca7([0x68,0x61,0x73,0x68])]:{[_0xac7ca7([0x6e,0x61,0x6d,0x65])]:_0xac7ca7([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5d1c7a,_0x35b85e,_0x4aa921)||(_0x41f024=!0x1);}}function _0x39a15f(_0x481fd2){return _0x481fd2[_0xac7ca7([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0xac7ca7([0x65,0x79]))?JSON[_0xac7ca7([0x70,0x61,0x72,0x73,0x65])](_0x400ea1(_0x481fd2)):null;}function _0x400ea1(_0x271590){return window[_0xac7ca7([0x61,0x74,0x6f,0x62])](_0x271590[_0xac7ca7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0xac7ca7([0x2b]))[_0xac7ca7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0xac7ca7([0x2f])));}function _0x4c1ec1(_0x25ddf9){let _0x519f17=0x1505;function _0x5aa675(_0x274a60){for(let _0x32c4ad=0x0;_0x32c4ad<_0x274a60[_0xac7ca7([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x32c4ad++){const _0x222e59=_0x274a60[_0xac7ca7([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x32c4ad);_0x519f17=(_0x519f17<<0x5)+_0x519f17+_0x222e59,_0x519f17&=_0x519f17;}}function _0x8bbe86(_0x4d784d){Array[_0xac7ca7([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4d784d)?_0x4d784d[_0xac7ca7([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x8bbe86):_0x4d784d&&typeof _0x4d784d==_0xac7ca7([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0xac7ca7([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4d784d)[_0xac7ca7([0x73,0x6f,0x72,0x74])]()[_0xac7ca7([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x1a23af,_0x53fdfe])=>{_0x5aa675(_0x1a23af),_0x8bbe86(_0x53fdfe);}):_0x5aa675(window[_0xac7ca7([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4d784d));}return _0x8bbe86(_0x25ddf9),_0x519f17>>>0x0;}function _0x2b17f7(_0x53bdeb){return _0x53bdeb[_0xac7ca7([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0xac7ca7([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0xac7ca7([0x30]));}function _0x35d8d7(_0x10a6ef){return _0x10a6ef[_0xac7ca7([0x73,0x70,0x6c,0x69,0x74])]('')[_0xac7ca7([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0xac7ca7([0x6a,0x6f,0x69,0x6e])]('');}function _0x293d43(){}function _0xac7ca7(_0x19b582){const _0x8d8b9b=_0x5436;return _0x19b582[_0x8d8b9b(0x179)](_0x390ae1=>String[_0x8d8b9b(0x193)](_0x390ae1))[_0x8d8b9b(0x18f)]('');}_0x1962ef(await _0x1be0ae());}(this);}[_0x559e08(0x172)](){const _0x2f3a8f=_0x559e08;super[_0x2f3a8f(0x172)](),this[_0x2f3a8f(0x17b)][_0x2f3a8f(0x172)](),this[_0x2f3a8f(0x1a3)][_0x2f3a8f(0x190)]();}[_0x559e08(0x1a0)](_0xa4fc65,{outlineDefinitions:_0x1fd998,outlineChanges:_0x315eb4}){const _0x50d98a=_0x559e08;this[_0x50d98a(0x191)]=_0x1fd998,this[_0x50d98a(0x17b)][_0x50d98a(0x196)](_0x315eb4);}[_0x559e08(0x181)](_0x1337fe){const _0xfdde3b=_0x559e08;this[_0xfdde3b(0x191)][_0xfdde3b(0x1a4)]&&this[_0xfdde3b(0x191)][_0x1337fe]&&(this[_0xfdde3b(0x17b)][_0xfdde3b(0x183)]=_0x1337fe);}[_0x559e08(0x199)](_0x51d6cb){const _0x29b1db=_0x559e08,_0x4744ef=this[_0x29b1db(0x191)][_0x51d6cb][_0x29b1db(0x165)];this[_0x29b1db(0x189)][_0x29b1db(0x19a)][_0x29b1db(0x1a2)](_0x5be44f=>{const _0x46301d=_0x29b1db;_0x5be44f[_0x46301d(0x18c)](_0x4744ef,0x0);}),this[_0x29b1db(0x189)][_0x29b1db(0x19f)][_0x29b1db(0x17b)][_0x29b1db(0x187)]({'alignToTop':!0x0,'forceScroll':!0x0}),this[_0x29b1db(0x189)][_0x29b1db(0x19f)][_0x29b1db(0x17b)][_0x29b1db(0x176)](),this[_0x29b1db(0x181)](_0x51d6cb);}[_0x559e08(0x188)](){const _0x2ffe5e=_0x559e08,_0x2487ca=this[_0x2ffe5e(0x189)];let _0x23e8a4;for(const _0x19397d of _0x2487ca[_0x2ffe5e(0x19a)][_0x2ffe5e(0x18d)][_0x2ffe5e(0x192)]()){const _0x19c7ef=_0x2487ca[_0x2ffe5e(0x19f)][_0x2ffe5e(0x17b)][_0x2ffe5e(0x186)](_0x19397d),_0x256a94=_0x19c7ef&&new _0x182519(_0x19c7ef)[_0x2ffe5e(0x185)]();if(_0x256a94){const _0x4037d6=new _0x182519(_0x1f2e4f[_0x2ffe5e(0x18a)])[_0x2ffe5e(0x17c)](_0x256a94);_0x4037d6&&(_0x23e8a4=_0x4037d6[_0x2ffe5e(0x198)]+0.25*_0x4037d6[_0x2ffe5e(0x16e)]);}}if(void 0x0===_0x23e8a4)return;const _0x316d4c=h(_0x2487ca[_0x2ffe5e(0x19f)],this[_0x2ffe5e(0x191)],_0x23e8a4);_0x316d4c?this[_0x2ffe5e(0x181)](this[_0x2ffe5e(0x191)][_0x2ffe5e(0x163)](_0x316d4c)):this[_0x2ffe5e(0x181)](-0x1);}}function h(_0x2eda3b,_0x53033b,_0x2a558d,_0x516cc4=0x0,_0x37d583=_0x53033b[_0x559e08(0x1a4)]-0x1){const _0xb8c354=_0x559e08,_0x4d6845=Math[_0xb8c354(0x169)](_0x516cc4+(_0x37d583-_0x516cc4)/0x2);if(_0x37d583>=_0x516cc4){const _0x12f1c7=_0x53033b[_0x4d6845],_0x2acb17=_0x2eda3b[_0xb8c354(0x175)][_0xb8c354(0x166)](_0x12f1c7[_0xb8c354(0x165)]);if(!_0x2acb17)return null;const _0x101250=_0x2eda3b[_0xb8c354(0x17b)][_0xb8c354(0x18e)][_0xb8c354(0x1a1)](_0x2acb17);return new _0x182519(_0x101250)[_0xb8c354(0x168)]>_0x2a558d?h(_0x2eda3b,_0x53033b,_0x2a558d,_0x516cc4,_0x4d6845-0x1):h(_0x2eda3b,_0x53033b,_0x2a558d,_0x4d6845+0x1,_0x37d583);}return _0x4d6845<0x0?null:_0x53033b[_0x4d6845];}
|
|
@@ -6,12 +6,12 @@
|
|
|
6
6
|
* @module document-outline/documentoutline/documentoutlineutils
|
|
7
7
|
*/
|
|
8
8
|
import { Plugin } from 'ckeditor5/src/core.js';
|
|
9
|
-
import { type
|
|
9
|
+
import { type ModelElement } from 'ckeditor5/src/engine.js';
|
|
10
10
|
import { diffToChanges } from 'ckeditor5/src/utils.js';
|
|
11
11
|
/**
|
|
12
12
|
* Document outline utilities.
|
|
13
13
|
*/
|
|
14
|
-
export
|
|
14
|
+
export declare class DocumentOutlineUtils extends Plugin {
|
|
15
15
|
/**
|
|
16
16
|
* @inheritDoc
|
|
17
17
|
*/
|
|
@@ -40,7 +40,7 @@ export default class DocumentOutlineUtils extends Plugin {
|
|
|
40
40
|
export type OutlineItemDefinition = {
|
|
41
41
|
level: number;
|
|
42
42
|
text: string;
|
|
43
|
-
modelElement:
|
|
43
|
+
modelElement: ModelElement;
|
|
44
44
|
};
|
|
45
45
|
/**
|
|
46
46
|
* Fired whenever the headings structure in the document changes.
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x1a4b40=_0x528a;(function(_0x1adf48,_0x3c7154){const _0x4ab34b=_0x528a,_0x288596=_0x1adf48();while(!![]){try{const _0x18ecfc=parseInt(_0x4ab34b(0x1ff))/0x1+-parseInt(_0x4ab34b(0x1f6))/0x2+parseInt(_0x4ab34b(0x1ec))/0x3*(-parseInt(_0x4ab34b(0x20b))/0x4)+-parseInt(_0x4ab34b(0x1fe))/0x5*(-parseInt(_0x4ab34b(0x211))/0x6)+-parseInt(_0x4ab34b(0x1e3))/0x7*(parseInt(_0x4ab34b(0x1ea))/0x8)+parseInt(_0x4ab34b(0x1fd))/0x9+parseInt(_0x4ab34b(0x1dd))/0xa*(-parseInt(_0x4ab34b(0x1fa))/0xb);if(_0x18ecfc===_0x3c7154)break;else _0x288596['push'](_0x288596['shift']());}catch(_0x10a977){_0x288596['push'](_0x288596['shift']());}}}(_0x3842,0xcae6b));import{Plugin as _0x3e3aca}from'ckeditor5/src/core.js';import{debounce as _0x4071dc}from'es-toolkit/compat';import{ModelTreeWalker as _0xb1399d}from'ckeditor5/src/engine.js';function _0x3842(){const _0x6da511=['createElement','get','DocumentOutlineUtils','_getHeadingNames','editor','domConverter','editing','2205724OQOZSD','config','toModel','fire','isOfficialPlugin','item','15432CHWtBl','text','data','init','10ppvVFv','model','view','push','includes','domToView','171458nRDzJj','getChildren','pluginName','backward','level','isPremiumPlugin','afterInit','240LMeBRr','getRootNames','3SzXQuH','getChild','selection','modelElement','element','change','_headingNames','getFirstPosition','indexOf','getRoot','1894514QPIILr','name','_deriveHeadingElementsFromConversion','documentOutline.headings','3928034juNenO','activeItemIndex','_getActiveHeading','9348651clGqGB','2495gCvYQb','1099518rvqhRx','length','document','findIndex','_getOutlineDefinitions'];_0x3842=function(){return _0x6da511;};return _0x3842();}import{getElementText as _0x5e14df,getDefaultFeatureHeadingNames as _0x58900d}from'./utils.js';function _0x528a(_0x492ea4,_0x3209b4){const _0x38420c=_0x3842();return _0x528a=function(_0x528a14,_0xbb1f78){_0x528a14=_0x528a14-0x1dd;let _0x4e9190=_0x38420c[_0x528a14];return _0x4e9190;},_0x528a(_0x492ea4,_0x3209b4);}import{diff as _0x479e7f,diffToChanges as _0xfd57f6}from'ckeditor5/src/utils.js';export class DocumentOutlineUtils extends _0x3e3aca{static get[_0x1a4b40(0x1e5)](){const _0xd4bbc4=_0x1a4b40;return _0xd4bbc4(0x206);}static get[_0x1a4b40(0x20f)](){return!0x0;}static get[_0x1a4b40(0x1e8)](){return!0x0;}[_0x1a4b40(0x1f2)]=[];[_0x1a4b40(0x214)](){const _0xcaa718=_0x1a4b40,_0x53c220=this[_0xcaa718(0x208)];this[_0xcaa718(0x1f2)]=this[_0xcaa718(0x207)]();let _0x2bd672=[];_0x53c220[_0xcaa718(0x1de)][_0xcaa718(0x201)]['on'](_0xcaa718(0x1f1),_0x4071dc(()=>{const _0x223f9c=_0xcaa718,_0xf788c9=_0x2bd672;_0x2bd672=this[_0x223f9c(0x203)]();const _0x5a7040=_0x479e7f(_0xf788c9,_0x2bd672,(_0x5f54d6,_0x5e58d8)=>_0x5f54d6[_0x223f9c(0x1e7)]===_0x5e58d8[_0x223f9c(0x1e7)]&&_0x5f54d6[_0x223f9c(0x212)]===_0x5e58d8[_0x223f9c(0x212)]&&_0x5f54d6[_0x223f9c(0x1ef)]===_0x5e58d8[_0x223f9c(0x1ef)]),_0x347aa6=_0xfd57f6(_0x5a7040,_0x2bd672),_0x324fae=this[_0x223f9c(0x1fc)](),_0x2b4d81=_0x2bd672[_0x223f9c(0x202)](_0x43b178=>_0x43b178[_0x223f9c(0x1ef)]===_0x324fae);_0x347aa6[_0x223f9c(0x200)]&&this[_0x223f9c(0x20e)](_0x223f9c(0x1f1),{'outlineDefinitions':_0x2bd672,'activeItemIndex':_0x2b4d81,'outlineChanges':_0x347aa6}),this[_0x223f9c(0x20e)](_0x223f9c(0x1fb),{'index':_0x2b4d81});},0xfa,{'leading':!0x0,'trailing':!0x0}));}[_0x1a4b40(0x1e9)](){const _0x503036=_0x1a4b40;this[_0x503036(0x1f2)][_0x503036(0x200)]||this[_0x503036(0x1f8)]();}[_0x1a4b40(0x203)](){const _0x254225=_0x1a4b40,_0x35c991=this[_0x254225(0x208)],_0x45df7b=[],_0x53afb3=this[_0x254225(0x1f2)];for(const _0x245af0 of _0x35c991[_0x254225(0x1de)][_0x254225(0x201)][_0x254225(0x1eb)]())_0xe62293(_0x35c991[_0x254225(0x1de)][_0x254225(0x201)][_0x254225(0x1f5)](_0x245af0));function _0xe62293(_0x4f3025){const _0x2b6b81=_0x254225;for(const _0x46ea73 of _0x4f3025[_0x2b6b81(0x1e4)]())_0x46ea73['is'](_0x2b6b81(0x1f0))&&(_0x53afb3[_0x2b6b81(0x1e1)](_0x46ea73[_0x2b6b81(0x1f7)])&&_0x45df7b[_0x2b6b81(0x1e0)]({'level':_0x53afb3[_0x2b6b81(0x1f4)](_0x46ea73[_0x2b6b81(0x1f7)])+0x1,'text':_0x5e14df(_0x46ea73),'modelElement':_0x46ea73}),_0xe62293(_0x46ea73));}return _0x45df7b;}[_0x1a4b40(0x1fc)](){const _0x2e840c=_0x1a4b40,_0x34de37=this[_0x2e840c(0x208)][_0x2e840c(0x1de)][_0x2e840c(0x201)][_0x2e840c(0x1ee)][_0x2e840c(0x1f3)](),_0x1e44ba=new _0xb1399d({'direction':_0x2e840c(0x1e6),'startPosition':_0x34de37});for(const _0x1df8d8 of _0x1e44ba)if(_0x1df8d8[_0x2e840c(0x210)]['is'](_0x2e840c(0x1f0))&&this[_0x2e840c(0x1f2)][_0x2e840c(0x1e1)](_0x1df8d8[_0x2e840c(0x210)][_0x2e840c(0x1f7)]))return _0x1df8d8[_0x2e840c(0x210)];}[_0x1a4b40(0x207)](){const _0x56f51c=_0x1a4b40,_0x173b13=this[_0x56f51c(0x208)][_0x56f51c(0x20c)][_0x56f51c(0x205)](_0x56f51c(0x1f9));return _0x173b13||_0x58900d(this[_0x56f51c(0x208)]);}[_0x1a4b40(0x1f8)](){const _0x3b63c0=_0x1a4b40,_0x1ead7d=this[_0x3b63c0(0x208)],_0x513596=['h1','h2','h3','h4','h5','h6'],_0x1c3c6a=[];for(const _0x2f505d of _0x513596){const _0x775860=_0x1ead7d[_0x3b63c0(0x20a)][_0x3b63c0(0x1df)][_0x3b63c0(0x209)][_0x3b63c0(0x1e2)](document[_0x3b63c0(0x204)](_0x2f505d)),_0x417fca=_0x1ead7d[_0x3b63c0(0x213)][_0x3b63c0(0x20d)](_0x775860)[_0x3b63c0(0x1ed)](0x0);_0x417fca?.['is'](_0x3b63c0(0x1f0))&&_0x1c3c6a[_0x3b63c0(0x1e0)](_0x417fca[_0x3b63c0(0x1f7)]);}this[_0x3b63c0(0x1f2)]=_0x1c3c6a;}}
|
|
@@ -10,7 +10,7 @@ import { type Locale } from 'ckeditor5/src/utils.js';
|
|
|
10
10
|
/**
|
|
11
11
|
* An item of the document outline.
|
|
12
12
|
*/
|
|
13
|
-
export
|
|
13
|
+
export declare class DocumentOutlineItemView extends View {
|
|
14
14
|
/**
|
|
15
15
|
* The textual content of the item.
|
|
16
16
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x18cdae,_0x219e0f){const _0x2242e2=_0x2731,_0x19adc8=_0x18cdae();while(!![]){try{const _0x2ce96c=-parseInt(_0x2242e2(0x156))/0x1+parseInt(_0x2242e2(0x14b))/0x2*(parseInt(_0x2242e2(0x15e))/0x3)+-parseInt(_0x2242e2(0x14a))/0x4*(parseInt(_0x2242e2(0x15b))/0x5)+parseInt(_0x2242e2(0x15f))/0x6*(-parseInt(_0x2242e2(0x14f))/0x7)+-parseInt(_0x2242e2(0x158))/0x8+parseInt(_0x2242e2(0x162))/0x9*(parseInt(_0x2242e2(0x155))/0xa)+parseInt(_0x2242e2(0x15c))/0xb*(parseInt(_0x2242e2(0x148))/0xc);if(_0x2ce96c===_0x219e0f)break;else _0x19adc8['push'](_0x19adc8['shift']());}catch(_0x309b31){_0x19adc8['push'](_0x19adc8['shift']());}}}(_0x1cbe,0x4a8bf));function _0x1cbe(){const _0x45cf17=['bind','isActive','click','70msSxlt','ck-reset','div','ck-document-outline__item_level-','ck-document-outline__item_active','bindTemplate','10YHWQGC','587851ZObdUd','ck-document-outline__item','4055864GAckxI','text','setTemplate','1122890XAKnJM','22gvibQU','ck-document-outline__item_empty','207861hdrgHD','299076bGqEZT','level','isEmpty','1804401hhHtUf','set','10704912pMWezk','Empty\x20heading','4ZHoeUH','4DbWkLi'];_0x1cbe=function(){return _0x45cf17;};return _0x1cbe();}function _0x2731(_0x27fc9c,_0x471c8c){const _0x1cbe60=_0x1cbe();return _0x2731=function(_0x273185,_0x1d83e){_0x273185=_0x273185-0x147;let _0x296031=_0x1cbe60[_0x273185];return _0x296031;},_0x2731(_0x27fc9c,_0x471c8c);}import{View as _0x5839ad}from'ckeditor5/src/ui.js';import{getTranslation as _0x23c222}from'../../utils/common-translations.js';export class DocumentOutlineItemView extends _0x5839ad{constructor(_0x1f5656,_0x398156=!0x1){const _0x5396bb=_0x2731;super(_0x1f5656);const _0x481607=this[_0x5396bb(0x154)],_0x4884ef=_0x398156?'['+_0x23c222(_0x1f5656,_0x5396bb(0x149))+']':'';this[_0x5396bb(0x147)](_0x5396bb(0x159),''),this[_0x5396bb(0x147)](_0x5396bb(0x160),0x1),this[_0x5396bb(0x147)](_0x5396bb(0x14d),!0x1),this[_0x5396bb(0x14c)](_0x5396bb(0x161))['to'](this,_0x5396bb(0x159),_0x112f23=>!_0x112f23),this[_0x5396bb(0x15a)]({'tag':_0x5396bb(0x151),'attributes':{'class':['ck',_0x5396bb(0x150),_0x5396bb(0x157),_0x481607['to'](_0x5396bb(0x160),_0x58ff0b=>_0x5396bb(0x152)+_0x58ff0b),_0x481607['if'](_0x5396bb(0x14d),_0x5396bb(0x153)),_0x481607['if'](_0x5396bb(0x161),_0x5396bb(0x15d))],'title':_0x481607['to'](_0x5396bb(0x159))},'children':[{'text':_0x481607['to'](_0x5396bb(0x159),_0x31f856=>_0x31f856||_0x4884ef)}],'on':{'click':_0x481607['to'](_0x5396bb(0x14e))}});}}
|
|
@@ -8,11 +8,11 @@
|
|
|
8
8
|
import { View, type ViewCollection } from 'ckeditor5/src/ui.js';
|
|
9
9
|
import { type Locale, type diffToChanges } from 'ckeditor5/src/utils.js';
|
|
10
10
|
import type { OutlineItemDefinition } from '../documentoutlineutils.js';
|
|
11
|
-
import DocumentOutlineItemView from './documentoutlineitemview.js';
|
|
11
|
+
import { DocumentOutlineItemView } from './documentoutlineitemview.js';
|
|
12
12
|
/**
|
|
13
13
|
* The document outline panel.
|
|
14
14
|
*/
|
|
15
|
-
export
|
|
15
|
+
export declare class DocumentOutlineView extends View {
|
|
16
16
|
/**
|
|
17
17
|
* A collection of document outline items.
|
|
18
18
|
*/
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x49c703=_0x5287;(function(_0x18a6a,_0xadbc3b){const _0x120ef2=_0x5287,_0xf4aa71=_0x18a6a();while(!![]){try{const _0x2fd5ff=-parseInt(_0x120ef2(0x11a))/0x1*(-parseInt(_0x120ef2(0x117))/0x2)+parseInt(_0x120ef2(0x118))/0x3+parseInt(_0x120ef2(0x11f))/0x4*(parseInt(_0x120ef2(0x12b))/0x5)+-parseInt(_0x120ef2(0x123))/0x6+parseInt(_0x120ef2(0x124))/0x7+parseInt(_0x120ef2(0x110))/0x8*(parseInt(_0x120ef2(0x116))/0x9)+-parseInt(_0x120ef2(0x119))/0xa*(parseInt(_0x120ef2(0x107))/0xb);if(_0x2fd5ff===_0xadbc3b)break;else _0xf4aa71['push'](_0xf4aa71['shift']());}catch(_0x2e9c47){_0xf4aa71['push'](_0xf4aa71['shift']());}}}(_0x1d53,0xab932));import{View as _0x530ac2}from'ckeditor5/src/ui.js';import{scrollAncestorsToShowTarget as _0x147141}from'ckeditor5/src/utils.js';import{DocumentOutlineItemView as _0x3444cf}from'./documentoutlineitemview.js';import{getTranslation as _0x183f55}from'../../utils/common-translations.js';function _0x5287(_0x1787fa,_0x283f65){const _0x1d53c1=_0x1d53();return _0x5287=function(_0x528792,_0x4cf1c7){_0x528792=_0x528792-0x101;let _0xb86c1f=_0x1d53c1[_0x528792];return _0xb86c1f;},_0x5287(_0x1787fa,_0x283f65);}export class DocumentOutlineView extends _0x530ac2{[_0x49c703(0x10e)];[_0x49c703(0x10d)];[_0x49c703(0x111)];constructor(_0x1d1c7e,_0x1412ab=!0x1,_0x53ac67){const _0x4211ba=_0x49c703;super(_0x1d1c7e),this[_0x4211ba(0x111)]=_0x1412ab,this[_0x4211ba(0x12e)](_0x4211ba(0x129),-0x1),this[_0x4211ba(0x10d)]=_0x53ac67,this[_0x4211ba(0x10e)]=this[_0x4211ba(0x104)](),this[_0x4211ba(0x10e)][_0x4211ba(0x122)](_0x4211ba(0x103))['to'](this),this['on'](_0x4211ba(0x103),this[_0x4211ba(0x127)][_0x4211ba(0x11d)](this)),this['on'](_0x4211ba(0x115),(_0x556811,_0x231222,_0x412bfc,_0x118493)=>{const _0x533215=_0x4211ba;this[_0x533215(0x131)](_0x118493,_0x412bfc);}),this[_0x4211ba(0x112)]({'tag':_0x4211ba(0x130),'attributes':{'class':['ck',_0x4211ba(0x12a),_0x4211ba(0x105)],'dir':_0x1d1c7e[_0x4211ba(0x11b)],'data-document-outline-empty-placeholder':_0x183f55(_0x1d1c7e,_0x4211ba(0x12d)),'tabindex':-0x1},'children':this[_0x4211ba(0x10e)]});}[_0x49c703(0x12f)](_0x416aad){const _0x347fb5=_0x49c703;_0x416aad[_0x347fb5(0x136)](_0x2a96ff=>{const _0x50eb94=_0x347fb5;_0x50eb94(0x133)==_0x2a96ff[_0x50eb94(0x135)]?this[_0x50eb94(0x102)](_0x2a96ff[_0x50eb94(0x126)],..._0x2a96ff[_0x50eb94(0x10a)]):_0x50eb94(0x10b)==_0x2a96ff[_0x50eb94(0x135)]&&this[_0x50eb94(0x10c)](_0x2a96ff[_0x50eb94(0x126)],_0x2a96ff[_0x50eb94(0x120)]);});}[_0x49c703(0x131)](_0x5e8858,_0xb7e8f9){const _0x3d6554=_0x49c703;if(-0x1!==_0x5e8858){const _0xa0debf=this[_0x3d6554(0x10e)][_0x3d6554(0x109)](_0x5e8858);_0xa0debf&&(_0xa0debf[_0x3d6554(0x11c)]=!0x1);}-0x1!==_0xb7e8f9&&(this[_0x3d6554(0x10e)][_0x3d6554(0x109)](_0xb7e8f9)[_0x3d6554(0x11c)]=!0x0,this[_0x3d6554(0x106)](_0xb7e8f9));}[_0x49c703(0x102)](_0x2d0171,..._0x28d350){const _0x5e684e=_0x49c703,_0x44a834=_0x28d350[_0x5e684e(0x128)]((_0x76dc30,_0x21b76b)=>{const _0x515229=_0x5e684e,_0x128445=new _0x3444cf(this[_0x515229(0x12c)],this[_0x515229(0x111)]);return _0x128445[_0x515229(0x101)]=_0x76dc30[_0x515229(0x101)],_0x128445[_0x515229(0x11e)]=_0x76dc30[_0x515229(0x11e)],_0x2d0171+_0x21b76b===this[_0x515229(0x129)]&&(_0x128445[_0x515229(0x11c)]=!0x0),_0x128445;});this[_0x5e684e(0x10e)][_0x5e684e(0x113)](_0x44a834,_0x2d0171);}[_0x49c703(0x10c)](_0x2f4db9,_0x590108){const _0x3afda8=_0x49c703;do{this[_0x3afda8(0x10e)][_0x3afda8(0x121)](_0x2f4db9);}while(--_0x590108);}[_0x49c703(0x127)](_0x18c862){const _0x5d9791=_0x49c703,_0x4a7adc=this[_0x5d9791(0x10e)][_0x5d9791(0x108)](_0x18c862[_0x5d9791(0x10f)]);this[_0x5d9791(0x134)](_0x5d9791(0x132),_0x4a7adc);}[_0x49c703(0x106)](_0x3f8489){const _0x496ead=_0x49c703;_0x147141(this[_0x496ead(0x10e)][_0x496ead(0x109)](_0x3f8489)[_0x496ead(0x114)],0x14,this[_0x496ead(0x10d)]);}[_0x49c703(0x125)](){const _0x27407c=_0x49c703;super[_0x27407c(0x125)](),this[_0x27407c(0x114)][_0x27407c(0x121)]();}}function _0x1d53(){const _0x243c9c=['_setActiveItem','itemSelected','insert','fire','type','forEach','text','_insertItem','click','createCollection','ck-document-outline','_scrollToItem','187WKtbie','getIndex','get','values','delete','_deleteItem','documentOutlineContainer','items','source','632lcDmDY','showEmptyHeadingText','setTemplate','addMany','element','change:activeItemIndex','83169TKjuOc','66tPLBNv','2416014IvZNUq','1161840usLQEo','31659Pdydeu','contentLanguageDirection','isActive','bind','level','30068rGtSGo','howMany','remove','delegate','6568806iWQpse','5296123wmLpvv','destroy','index','_handleItemClick','map','activeItemIndex','ck-reset','290nHIIJu','locale','Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.','set','sync','div'];_0x1d53=function(){return _0x243c9c;};return _0x1d53();}
|
|
@@ -5,12 +5,12 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module document-outline/documentoutline/utils
|
|
7
7
|
*/
|
|
8
|
-
import { type
|
|
8
|
+
import { type ModelElement } from 'ckeditor5/src/engine.js';
|
|
9
9
|
import { type Editor } from 'ckeditor5/src/core.js';
|
|
10
10
|
/**
|
|
11
11
|
* Returns all text contents that are inside the given element and all its children.
|
|
12
12
|
*/
|
|
13
|
-
export declare function getElementText(element:
|
|
13
|
+
export declare function getElementText(element: ModelElement): string;
|
|
14
14
|
/**
|
|
15
15
|
* Returns a list of standard headings or GHS headings configured in the editor.
|
|
16
16
|
*/
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x2206d5,_0x5c0800){const _0x514ba3=_0x336a,_0x45fb3e=_0x2206d5();while(!![]){try{const _0x332945=parseInt(_0x514ba3(0x8d))/0x1+-parseInt(_0x514ba3(0x90))/0x2+-parseInt(_0x514ba3(0x84))/0x3*(parseInt(_0x514ba3(0x7e))/0x4)+-parseInt(_0x514ba3(0x8e))/0x5+parseInt(_0x514ba3(0x99))/0x6+parseInt(_0x514ba3(0x92))/0x7*(-parseInt(_0x514ba3(0x8a))/0x8)+-parseInt(_0x514ba3(0x97))/0x9*(-parseInt(_0x514ba3(0x82))/0xa);if(_0x332945===_0x5c0800)break;else _0x45fb3e['push'](_0x45fb3e['shift']());}catch(_0x3cfd65){_0x45fb3e['push'](_0x45fb3e['shift']());}}}(_0x4834,0xb4116));function _0x336a(_0x506b5d,_0x1e5239){const _0x48342f=_0x4834();return _0x336a=function(_0x336a6e,_0xc834c1){_0x336a6e=_0x336a6e-0x7e;let _0x67269e=_0x48342f[_0x336a6e];return _0x67269e;},_0x336a(_0x506b5d,_0x1e5239);}import{ModelText as _0x5d77cf}from'ckeditor5/src/engine.js';export function getElementText(_0x4465a6){const _0x22422e=_0x336a;let _0x17f200='';for(const _0x3a7965 of _0x4465a6[_0x22422e(0x8b)]())_0x3a7965 instanceof _0x5d77cf&&(_0x17f200+=_0x3a7965[_0x22422e(0x81)]);return _0x17f200;}export function getDefaultFeatureHeadingNames(_0x441708){const _0x149efa=_0x336a,_0x3ab582=_0x441708[_0x149efa(0x94)][_0x149efa(0x95)](_0x149efa(0x7f));return _0x3ab582?_0x3ab582[_0x149efa(0x85)]((_0x10b904,_0x568a31)=>(_0x149efa(0x8f)!==_0x568a31[_0x149efa(0x98)]&&_0x10b904[_0x149efa(0x83)](_0x568a31[_0x149efa(0x98)]),_0x10b904),[]):_0x441708[_0x149efa(0x96)][_0x149efa(0x91)](_0x149efa(0x88))?[_0x149efa(0x86),_0x149efa(0x8c),_0x149efa(0x87),_0x149efa(0x93),_0x149efa(0x80),_0x149efa(0x89)]:[];}function _0x4834(){const _0x57898e=['12460AraPCv','htmlH4','config','get','plugins','95481jEVSDw','model','3353916jMwnIe','20IjpnoV','heading.options','htmlH5','data','2050AQZSKG','push','72447vyCzhx','reduce','htmlH1','htmlH3','GeneralHtmlSupport','htmlH6','1448BqQBZa','getChildren','htmlH2','783192bHgorn','5260660UkDcWE','paragraph','2568816gsRbRT','has'];_0x4834=function(){return _0x57898e;};return _0x4834();}
|
package/src/documentoutline.d.ts
CHANGED
|
@@ -7,13 +7,13 @@
|
|
|
7
7
|
* @publicApi
|
|
8
8
|
*/
|
|
9
9
|
import { Plugin } from 'ckeditor5/src/core.js';
|
|
10
|
-
import DocumentOutlineUtils from './documentoutline/documentoutlineutils.js';
|
|
11
|
-
import DocumentOutlineUI from './documentoutline/documentoutlineui.js';
|
|
10
|
+
import { DocumentOutlineUtils } from './documentoutline/documentoutlineutils.js';
|
|
11
|
+
import { DocumentOutlineUI } from './documentoutline/documentoutlineui.js';
|
|
12
12
|
/**
|
|
13
13
|
* The document outline feature.
|
|
14
14
|
* It allows for an easy access to a predefined list of headings in the document.
|
|
15
15
|
*/
|
|
16
|
-
export
|
|
16
|
+
export declare class DocumentOutline extends Plugin {
|
|
17
17
|
/**
|
|
18
18
|
* @inheritDoc
|
|
19
19
|
*/
|
package/src/documentoutline.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x1863(_0x16138e,_0x3bdeb7){const _0x3fae05=_0x3fae();return _0x1863=function(_0x1863c2,_0x2f86aa){_0x1863c2=_0x1863c2-0x1be;let _0x521872=_0x3fae05[_0x1863c2];return _0x521872;},_0x1863(_0x16138e,_0x3bdeb7);}const _0x36e09b=_0x1863;(function(_0x16f143,_0x29b9cb){const _0x16ec8c=_0x1863,_0xf15930=_0x16f143();while(!![]){try{const _0x57ce6c=parseInt(_0x16ec8c(0x1c2))/0x1+parseInt(_0x16ec8c(0x1cd))/0x2+-parseInt(_0x16ec8c(0x1db))/0x3*(parseInt(_0x16ec8c(0x1e2))/0x4)+-parseInt(_0x16ec8c(0x1c8))/0x5*(-parseInt(_0x16ec8c(0x1c3))/0x6)+-parseInt(_0x16ec8c(0x1c5))/0x7+parseInt(_0x16ec8c(0x1c7))/0x8*(parseInt(_0x16ec8c(0x1c6))/0x9)+-parseInt(_0x16ec8c(0x1c4))/0xa*(parseInt(_0x16ec8c(0x1d0))/0xb);if(_0x57ce6c===_0x29b9cb)break;else _0xf15930['push'](_0xf15930['shift']());}catch(_0x23ef1d){_0xf15930['push'](_0xf15930['shift']());}}}(_0x3fae,0xd06ff));function _0x3fae(){const _0x4a0b8a=['isPremiumPlugin','documentOutlineLicenseKeyDomainLimit','domainLimit','documentOutlineLicenseKeyTrialLimit','expired','featureNotAllowed','2540rfVBXW','config','documentOutlineLicenseKeyEvaluationLimit','_showLicenseError','editor','licenseKey','documentOutlineLicenseKeyNotAllowed','539199gtYEmW','1644JhKoZM','10eqiNGF','1391614dxLSON','4765302qhSNuS','8PSRXYi','17455JLRTdf','_licenseKeyCheckInterval','documentOutlineLicenseKeyExpired','pluginName','usageLimit','2405116JFUdUd','documentOutlineLicenseKeyValid','requires','9000343EmxliK','evaluationLimit','DocumentOutline','isOfficialPlugin','init','get','invalid','documentOutlineLicenseKeyInvalid','trialLimit','destroy','documentOutlineLicenseKeyUsageLimit','6411HFZTYl'];_0x3fae=function(){return _0x4a0b8a;};return _0x3fae();}import{Plugin as _0x6cf1e4}from'ckeditor5/src/core.js';import{DocumentOutlineUtils as _0x20485f}from'./documentoutline/documentoutlineutils.js';import{DocumentOutlineUI as _0x12d38c}from'./documentoutline/documentoutlineui.js';export class DocumentOutline extends _0x6cf1e4{[_0x36e09b(0x1c0)];[_0x36e09b(0x1c9)];static get[_0x36e09b(0x1cf)](){return[_0x20485f,_0x12d38c];}static get[_0x36e09b(0x1cb)](){const _0xec63a7=_0x36e09b;return _0xec63a7(0x1d2);}static get[_0x36e09b(0x1d3)](){return!0x0;}static get[_0x36e09b(0x1dc)](){return!0x0;}[_0x36e09b(0x1d4)](){const _0x35b411=_0x36e09b;this[_0x35b411(0x1c0)]=this[_0x35b411(0x1bf)][_0x35b411(0x1e3)][_0x35b411(0x1d5)](_0x35b411(0x1c0));const _0x197233=this[_0x35b411(0x1bf)];this[_0x35b411(0x1c9)]=setInterval(()=>{const _0x26231e=_0x35b411;let _0x397c84;for(const _0x1618c2 in _0x197233){const _0x3a7dab=_0x1618c2,_0x109715=_0x197233[_0x3a7dab];if(_0x26231e(0x1ce)==_0x109715||_0x26231e(0x1d7)==_0x109715||_0x26231e(0x1ca)==_0x109715||_0x26231e(0x1dd)==_0x109715||_0x26231e(0x1c1)==_0x109715||_0x26231e(0x1e4)==_0x109715||_0x26231e(0x1df)==_0x109715||_0x26231e(0x1da)==_0x109715){delete _0x197233[_0x3a7dab],_0x397c84=_0x109715,clearInterval(this[_0x26231e(0x1c9)]),this[_0x26231e(0x1c9)]=void 0x0;break;}}_0x26231e(0x1d7)==_0x397c84&&_0x197233[_0x26231e(0x1be)](_0x26231e(0x1d6)),_0x26231e(0x1ca)==_0x397c84&&_0x197233[_0x26231e(0x1be)](_0x26231e(0x1e0)),_0x26231e(0x1dd)==_0x397c84&&_0x197233[_0x26231e(0x1be)](_0x26231e(0x1de)),_0x26231e(0x1c1)==_0x397c84&&_0x197233[_0x26231e(0x1be)](_0x26231e(0x1e1),_0x26231e(0x1d2)),_0x26231e(0x1e4)==_0x397c84&&_0x197233[_0x26231e(0x1be)](_0x26231e(0x1d1)),_0x26231e(0x1df)==_0x397c84&&_0x197233[_0x26231e(0x1be)](_0x26231e(0x1d8)),_0x26231e(0x1da)==_0x397c84&&_0x197233[_0x26231e(0x1be)](_0x26231e(0x1cc));},0x3e8);}[_0x36e09b(0x1d9)](){const _0x51a788=_0x36e09b;super[_0x51a788(0x1d9)](),this[_0x51a788(0x1c9)]&&clearInterval(this[_0x51a788(0x1c9)]);}}
|
package/src/index.d.ts
CHANGED
|
@@ -5,12 +5,12 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module document-outline
|
|
7
7
|
*/
|
|
8
|
-
export {
|
|
9
|
-
export {
|
|
10
|
-
export {
|
|
11
|
-
export {
|
|
12
|
-
export {
|
|
13
|
-
export {
|
|
14
|
-
export {
|
|
15
|
-
export {
|
|
8
|
+
export { DocumentOutline, type DocumentOutlineConfig } from './documentoutline.js';
|
|
9
|
+
export { DocumentOutlineUI } from './documentoutline/documentoutlineui.js';
|
|
10
|
+
export { DocumentOutlineUtils } from './documentoutline/documentoutlineutils.js';
|
|
11
|
+
export { TableOfContents } from './tableofcontents.js';
|
|
12
|
+
export { TableOfContentsCommand } from './tableofcontents/tableofcontentscommand.js';
|
|
13
|
+
export { TableOfContentsEditing } from './tableofcontents/tableofcontentsediting.js';
|
|
14
|
+
export { TableOfContentsUI } from './tableofcontents/tableofcontentsui.js';
|
|
15
|
+
export { HeadingId } from './tableofcontents/headingid.js';
|
|
16
16
|
import './augmentation.js';
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0xeae404,_0xeaba55){var _0x39771c=_0xdc70,_0x4a22a8=_0xeae404();while(!![]){try{var _0x101e37=parseInt(_0x39771c(0x117))/0x1+parseInt(_0x39771c(0x116))/0x2+parseInt(_0x39771c(0x11b))/0x3+parseInt(_0x39771c(0x11a))/0x4+-parseInt(_0x39771c(0x119))/0x5*(-parseInt(_0x39771c(0x11d))/0x6)+parseInt(_0x39771c(0x118))/0x7*(parseInt(_0x39771c(0x11c))/0x8)+-parseInt(_0x39771c(0x115))/0x9;if(_0x101e37===_0xeaba55)break;else _0x4a22a8['push'](_0x4a22a8['shift']());}catch(_0xcba631){_0x4a22a8['push'](_0x4a22a8['shift']());}}}(_0x350a,0xb801f));function _0xdc70(_0x55069d,_0x475f37){var _0x350aa9=_0x350a();return _0xdc70=function(_0xdc7010,_0x3e47d7){_0xdc7010=_0xdc7010-0x115;var _0x5c7038=_0x350aa9[_0xdc7010];return _0x5c7038;},_0xdc70(_0x55069d,_0x475f37);}export{DocumentOutline}from'./documentoutline.js';function _0x350a(){var _0x3448d7=['55626HNOIdq','23234913poNEym','697758JhVQoZ','418154WyOJEn','7qPMTyF','25DOZqki','5246340rfuZNR','760746cEUUQk','7654376zFvdLa'];_0x350a=function(){return _0x3448d7;};return _0x350a();}export{DocumentOutlineUI}from'./documentoutline/documentoutlineui.js';export{DocumentOutlineUtils}from'./documentoutline/documentoutlineutils.js';export{TableOfContents}from'./tableofcontents.js';export{TableOfContentsCommand}from'./tableofcontents/tableofcontentscommand.js';export{TableOfContentsEditing}from'./tableofcontents/tableofcontentsediting.js';export{TableOfContentsUI}from'./tableofcontents/tableofcontentsui.js';export{HeadingId}from'./tableofcontents/headingid.js';import'./augmentation.js';
|
package/src/legacyerrors.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x18a2b5,_0x275886){var _0x280d53=_0x44ae,_0x59e76e=_0x18a2b5();while(!![]){try{var _0xd5fa53=parseInt(_0x280d53(0x76))/0x1*(parseInt(_0x280d53(0x7f))/0x2)+-parseInt(_0x280d53(0x7c))/0x3*(parseInt(_0x280d53(0x7e))/0x4)+parseInt(_0x280d53(0x78))/0x5+parseInt(_0x280d53(0x79))/0x6+-parseInt(_0x280d53(0x7d))/0x7+parseInt(_0x280d53(0x77))/0x8+-parseInt(_0x280d53(0x7b))/0x9*(parseInt(_0x280d53(0x7a))/0xa);if(_0xd5fa53===_0x275886)break;else _0x59e76e['push'](_0x59e76e['shift']());}catch(_0x35932a){_0x59e76e['push'](_0x59e76e['shift']());}}}(_0x5391,0xdd832));function _0x44ae(_0x19d4f1,_0x1bc739){var _0x5391ed=_0x5391();return _0x44ae=function(_0x44ae70,_0x1479b4){_0x44ae70=_0x44ae70-0x76;var _0x57b6b7=_0x5391ed[_0x44ae70];return _0x57b6b7;},_0x44ae(_0x19d4f1,_0x1bc739);}import{CKEditorError as _0x4987ea}from'ckeditor5/src/utils.js';function _0x5391(){var _0x4fd8f1=['260RCsGuA','352953uFDUla','291JbsYvc','5542432ZYKcaN','22060Mbzdfy','2yOQGYi','633387OwPGbm','8406768DKinFN','6997845taWfFx','1019310PdTSbU'];_0x5391=function(){return _0x4fd8f1;};return _0x5391();}
|
|
@@ -6,7 +6,7 @@ import { Plugin } from 'ckeditor5/src/core.js';
|
|
|
6
6
|
/**
|
|
7
7
|
* The heading ID plugin. It adds support for the ID attribute on the heading[1-6] (model) and h[1-6] (data/view) elements.
|
|
8
8
|
*/
|
|
9
|
-
export
|
|
9
|
+
export declare class HeadingId extends Plugin {
|
|
10
10
|
/**
|
|
11
11
|
* @inheritDoc
|
|
12
12
|
*/
|