@ckeditor/ckeditor5-footnotes 0.0.0-nightly-20251105.0 → 0.0.0-nightly-20251107.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/footnotes.js +2 -1
- package/build/translations/af.js +1 -0
- package/build/translations/ar.js +1 -0
- package/build/translations/ast.js +1 -0
- package/build/translations/az.js +1 -0
- package/build/translations/be.js +1 -0
- package/build/translations/bg.js +1 -0
- package/build/translations/bn.js +1 -0
- package/build/translations/bs.js +1 -0
- package/build/translations/ca.js +1 -0
- package/build/translations/cs.js +1 -0
- package/build/translations/da.js +1 -0
- package/build/translations/de-ch.js +1 -0
- package/build/translations/de.js +1 -0
- package/build/translations/el.js +1 -0
- package/build/translations/en-au.js +1 -0
- package/build/translations/en-gb.js +1 -0
- package/build/translations/eo.js +1 -0
- package/build/translations/es-co.js +1 -0
- package/build/translations/es.js +1 -0
- package/build/translations/et.js +1 -0
- package/build/translations/eu.js +1 -0
- package/build/translations/fa.js +1 -0
- package/build/translations/fi.js +1 -0
- package/build/translations/fr.js +1 -0
- package/build/translations/gl.js +1 -0
- package/build/translations/gu.js +1 -0
- package/build/translations/he.js +1 -0
- package/build/translations/hi.js +1 -0
- package/build/translations/hr.js +1 -0
- package/build/translations/hu.js +1 -0
- package/build/translations/hy.js +1 -0
- package/build/translations/id.js +1 -0
- package/build/translations/it.js +1 -0
- package/build/translations/ja.js +1 -0
- package/build/translations/jv.js +1 -0
- package/build/translations/kk.js +1 -0
- package/build/translations/km.js +1 -0
- package/build/translations/kn.js +1 -0
- package/build/translations/ko.js +1 -0
- package/build/translations/ku.js +1 -0
- package/build/translations/lt.js +1 -0
- package/build/translations/lv.js +1 -0
- package/build/translations/ms.js +1 -0
- package/build/translations/nb.js +1 -0
- package/build/translations/ne.js +1 -0
- package/build/translations/nl.js +1 -0
- package/build/translations/no.js +1 -0
- package/build/translations/oc.js +1 -0
- package/build/translations/pl.js +1 -0
- package/build/translations/pt-br.js +1 -0
- package/build/translations/pt.js +1 -0
- package/build/translations/ro.js +1 -0
- package/build/translations/ru.js +1 -0
- package/build/translations/si.js +1 -0
- package/build/translations/sk.js +1 -0
- package/build/translations/sl.js +1 -0
- package/build/translations/sq.js +1 -0
- package/build/translations/sr-latn.js +1 -0
- package/build/translations/sr.js +1 -0
- package/build/translations/sv.js +1 -0
- package/build/translations/th.js +1 -0
- package/build/translations/ti.js +1 -0
- package/build/translations/tk.js +1 -0
- package/build/translations/tr.js +1 -0
- package/build/translations/tt.js +1 -0
- package/build/translations/ug.js +1 -0
- package/build/translations/uk.js +1 -0
- package/build/translations/ur.js +1 -0
- package/build/translations/uz.js +1 -0
- package/build/translations/vi.js +1 -0
- package/build/translations/zh-cn.js +1 -0
- package/build/translations/zh.js +1 -0
- package/dist/index-content.css +0 -12
- package/dist/index.css +6 -12
- package/dist/index.js +1 -1
- package/dist/translations/af.d.ts +8 -0
- package/dist/translations/af.js +23 -0
- package/dist/translations/af.umd.js +23 -0
- package/dist/translations/ar.d.ts +8 -0
- package/dist/translations/ar.js +23 -0
- package/dist/translations/ar.umd.js +23 -0
- package/dist/translations/ast.d.ts +8 -0
- package/dist/translations/ast.js +23 -0
- package/dist/translations/ast.umd.js +23 -0
- package/dist/translations/az.d.ts +8 -0
- package/dist/translations/az.js +23 -0
- package/dist/translations/az.umd.js +23 -0
- package/dist/translations/be.d.ts +8 -0
- package/dist/translations/be.js +23 -0
- package/dist/translations/be.umd.js +23 -0
- package/dist/translations/bg.d.ts +8 -0
- package/dist/translations/bg.js +23 -0
- package/dist/translations/bg.umd.js +23 -0
- package/dist/translations/bn.d.ts +8 -0
- package/dist/translations/bn.js +23 -0
- package/dist/translations/bn.umd.js +23 -0
- package/dist/translations/bs.d.ts +8 -0
- package/dist/translations/bs.js +23 -0
- package/dist/translations/bs.umd.js +23 -0
- package/dist/translations/ca.d.ts +8 -0
- package/dist/translations/ca.js +23 -0
- package/dist/translations/ca.umd.js +23 -0
- package/dist/translations/cs.d.ts +8 -0
- package/dist/translations/cs.js +23 -0
- package/dist/translations/cs.umd.js +23 -0
- package/dist/translations/da.d.ts +8 -0
- package/dist/translations/da.js +23 -0
- package/dist/translations/da.umd.js +23 -0
- package/dist/translations/de-ch.d.ts +8 -0
- package/dist/translations/de-ch.js +23 -0
- package/dist/translations/de-ch.umd.js +23 -0
- package/dist/translations/de.d.ts +8 -0
- package/dist/translations/de.js +23 -0
- package/dist/translations/de.umd.js +23 -0
- package/dist/translations/el.d.ts +8 -0
- package/dist/translations/el.js +23 -0
- package/dist/translations/el.umd.js +23 -0
- package/dist/translations/en-au.d.ts +8 -0
- package/dist/translations/en-au.js +23 -0
- package/dist/translations/en-au.umd.js +23 -0
- package/dist/translations/en-gb.d.ts +8 -0
- package/dist/translations/en-gb.js +23 -0
- package/dist/translations/en-gb.umd.js +23 -0
- package/dist/translations/en.d.ts +8 -0
- package/dist/translations/en.js +23 -0
- package/dist/translations/en.umd.js +23 -0
- package/dist/translations/eo.d.ts +8 -0
- package/dist/translations/eo.js +23 -0
- package/dist/translations/eo.umd.js +23 -0
- package/dist/translations/es-co.d.ts +8 -0
- package/dist/translations/es-co.js +23 -0
- package/dist/translations/es-co.umd.js +23 -0
- package/dist/translations/es.d.ts +8 -0
- package/dist/translations/es.js +23 -0
- package/dist/translations/es.umd.js +23 -0
- package/dist/translations/et.d.ts +8 -0
- package/dist/translations/et.js +23 -0
- package/dist/translations/et.umd.js +23 -0
- package/dist/translations/eu.d.ts +8 -0
- package/dist/translations/eu.js +23 -0
- package/dist/translations/eu.umd.js +23 -0
- package/dist/translations/fa.d.ts +8 -0
- package/dist/translations/fa.js +23 -0
- package/dist/translations/fa.umd.js +23 -0
- package/dist/translations/fi.d.ts +8 -0
- package/dist/translations/fi.js +23 -0
- package/dist/translations/fi.umd.js +23 -0
- package/dist/translations/fr.d.ts +8 -0
- package/dist/translations/fr.js +23 -0
- package/dist/translations/fr.umd.js +23 -0
- package/dist/translations/gl.d.ts +8 -0
- package/dist/translations/gl.js +23 -0
- package/dist/translations/gl.umd.js +23 -0
- package/dist/translations/gu.d.ts +8 -0
- package/dist/translations/gu.js +23 -0
- package/dist/translations/gu.umd.js +23 -0
- package/dist/translations/he.d.ts +8 -0
- package/dist/translations/he.js +23 -0
- package/dist/translations/he.umd.js +23 -0
- package/dist/translations/hi.d.ts +8 -0
- package/dist/translations/hi.js +23 -0
- package/dist/translations/hi.umd.js +23 -0
- package/dist/translations/hr.d.ts +8 -0
- package/dist/translations/hr.js +23 -0
- package/dist/translations/hr.umd.js +23 -0
- package/dist/translations/hu.d.ts +8 -0
- package/dist/translations/hu.js +23 -0
- package/dist/translations/hu.umd.js +23 -0
- package/dist/translations/hy.d.ts +8 -0
- package/dist/translations/hy.js +23 -0
- package/dist/translations/hy.umd.js +23 -0
- package/dist/translations/id.d.ts +8 -0
- package/dist/translations/id.js +23 -0
- package/dist/translations/id.umd.js +23 -0
- package/dist/translations/it.d.ts +8 -0
- package/dist/translations/it.js +23 -0
- package/dist/translations/it.umd.js +23 -0
- package/dist/translations/ja.d.ts +8 -0
- package/dist/translations/ja.js +23 -0
- package/dist/translations/ja.umd.js +23 -0
- package/dist/translations/jv.d.ts +8 -0
- package/dist/translations/jv.js +23 -0
- package/dist/translations/jv.umd.js +23 -0
- package/dist/translations/kk.d.ts +8 -0
- package/dist/translations/kk.js +23 -0
- package/dist/translations/kk.umd.js +23 -0
- package/dist/translations/km.d.ts +8 -0
- package/dist/translations/km.js +23 -0
- package/dist/translations/km.umd.js +23 -0
- package/dist/translations/kn.d.ts +8 -0
- package/dist/translations/kn.js +23 -0
- package/dist/translations/kn.umd.js +23 -0
- package/dist/translations/ko.d.ts +8 -0
- package/dist/translations/ko.js +23 -0
- package/dist/translations/ko.umd.js +23 -0
- package/dist/translations/ku.d.ts +8 -0
- package/dist/translations/ku.js +23 -0
- package/dist/translations/ku.umd.js +23 -0
- package/dist/translations/lt.d.ts +8 -0
- package/dist/translations/lt.js +23 -0
- package/dist/translations/lt.umd.js +23 -0
- package/dist/translations/lv.d.ts +8 -0
- package/dist/translations/lv.js +23 -0
- package/dist/translations/lv.umd.js +23 -0
- package/dist/translations/ms.d.ts +8 -0
- package/dist/translations/ms.js +23 -0
- package/dist/translations/ms.umd.js +23 -0
- package/dist/translations/nb.d.ts +8 -0
- package/dist/translations/nb.js +23 -0
- package/dist/translations/nb.umd.js +23 -0
- package/dist/translations/ne.d.ts +8 -0
- package/dist/translations/ne.js +23 -0
- package/dist/translations/ne.umd.js +23 -0
- package/dist/translations/nl.d.ts +8 -0
- package/dist/translations/nl.js +23 -0
- package/dist/translations/nl.umd.js +23 -0
- package/dist/translations/no.d.ts +8 -0
- package/dist/translations/no.js +23 -0
- package/dist/translations/no.umd.js +23 -0
- package/dist/translations/oc.d.ts +8 -0
- package/dist/translations/oc.js +23 -0
- package/dist/translations/oc.umd.js +23 -0
- package/dist/translations/pl.d.ts +8 -0
- package/dist/translations/pl.js +23 -0
- package/dist/translations/pl.umd.js +23 -0
- package/dist/translations/pt-br.d.ts +8 -0
- package/dist/translations/pt-br.js +23 -0
- package/dist/translations/pt-br.umd.js +23 -0
- package/dist/translations/pt.d.ts +8 -0
- package/dist/translations/pt.js +23 -0
- package/dist/translations/pt.umd.js +23 -0
- package/dist/translations/ro.d.ts +8 -0
- package/dist/translations/ro.js +23 -0
- package/dist/translations/ro.umd.js +23 -0
- package/dist/translations/ru.d.ts +8 -0
- package/dist/translations/ru.js +23 -0
- package/dist/translations/ru.umd.js +23 -0
- package/dist/translations/si.d.ts +8 -0
- package/dist/translations/si.js +23 -0
- package/dist/translations/si.umd.js +23 -0
- package/dist/translations/sk.d.ts +8 -0
- package/dist/translations/sk.js +23 -0
- package/dist/translations/sk.umd.js +23 -0
- package/dist/translations/sl.d.ts +8 -0
- package/dist/translations/sl.js +23 -0
- package/dist/translations/sl.umd.js +23 -0
- package/dist/translations/sq.d.ts +8 -0
- package/dist/translations/sq.js +23 -0
- package/dist/translations/sq.umd.js +23 -0
- package/dist/translations/sr-latn.d.ts +8 -0
- package/dist/translations/sr-latn.js +23 -0
- package/dist/translations/sr-latn.umd.js +23 -0
- package/dist/translations/sr.d.ts +8 -0
- package/dist/translations/sr.js +23 -0
- package/dist/translations/sr.umd.js +23 -0
- package/dist/translations/sv.d.ts +8 -0
- package/dist/translations/sv.js +23 -0
- package/dist/translations/sv.umd.js +23 -0
- package/dist/translations/th.d.ts +8 -0
- package/dist/translations/th.js +23 -0
- package/dist/translations/th.umd.js +23 -0
- package/dist/translations/ti.d.ts +8 -0
- package/dist/translations/ti.js +23 -0
- package/dist/translations/ti.umd.js +23 -0
- package/dist/translations/tk.d.ts +8 -0
- package/dist/translations/tk.js +23 -0
- package/dist/translations/tk.umd.js +23 -0
- package/dist/translations/tr.d.ts +8 -0
- package/dist/translations/tr.js +23 -0
- package/dist/translations/tr.umd.js +23 -0
- package/dist/translations/tt.d.ts +8 -0
- package/dist/translations/tt.js +23 -0
- package/dist/translations/tt.umd.js +23 -0
- package/dist/translations/ug.d.ts +8 -0
- package/dist/translations/ug.js +23 -0
- package/dist/translations/ug.umd.js +23 -0
- package/dist/translations/uk.d.ts +8 -0
- package/dist/translations/uk.js +23 -0
- package/dist/translations/uk.umd.js +23 -0
- package/dist/translations/ur.d.ts +8 -0
- package/dist/translations/ur.js +23 -0
- package/dist/translations/ur.umd.js +23 -0
- package/dist/translations/uz.d.ts +8 -0
- package/dist/translations/uz.js +23 -0
- package/dist/translations/uz.umd.js +23 -0
- package/dist/translations/vi.d.ts +8 -0
- package/dist/translations/vi.js +23 -0
- package/dist/translations/vi.umd.js +23 -0
- package/dist/translations/zh-cn.d.ts +8 -0
- package/dist/translations/zh-cn.js +23 -0
- package/dist/translations/zh-cn.umd.js +23 -0
- package/dist/translations/zh.d.ts +8 -0
- package/dist/translations/zh.js +23 -0
- package/dist/translations/zh.umd.js +23 -0
- package/lang/translations/af.po +112 -0
- package/lang/translations/ar.po +112 -0
- package/lang/translations/ast.po +112 -0
- package/lang/translations/az.po +112 -0
- package/lang/translations/be.po +112 -0
- package/lang/translations/bg.po +112 -0
- package/lang/translations/bn.po +112 -0
- package/lang/translations/bs.po +112 -0
- package/lang/translations/ca.po +112 -0
- package/lang/translations/cs.po +112 -0
- package/lang/translations/da.po +112 -0
- package/lang/translations/de-ch.po +112 -0
- package/lang/translations/de.po +112 -0
- package/lang/translations/el.po +112 -0
- package/lang/translations/en-au.po +112 -0
- package/lang/translations/en-gb.po +112 -0
- package/lang/translations/en.po +112 -0
- package/lang/translations/eo.po +112 -0
- package/lang/translations/es-co.po +112 -0
- package/lang/translations/es.po +112 -0
- package/lang/translations/et.po +112 -0
- package/lang/translations/eu.po +112 -0
- package/lang/translations/fa.po +112 -0
- package/lang/translations/fi.po +112 -0
- package/lang/translations/fr.po +112 -0
- package/lang/translations/gl.po +112 -0
- package/lang/translations/gu.po +112 -0
- package/lang/translations/he.po +112 -0
- package/lang/translations/hi.po +112 -0
- package/lang/translations/hr.po +112 -0
- package/lang/translations/hu.po +112 -0
- package/lang/translations/hy.po +112 -0
- package/lang/translations/id.po +112 -0
- package/lang/translations/it.po +112 -0
- package/lang/translations/ja.po +112 -0
- package/lang/translations/jv.po +112 -0
- package/lang/translations/kk.po +112 -0
- package/lang/translations/km.po +112 -0
- package/lang/translations/kn.po +112 -0
- package/lang/translations/ko.po +112 -0
- package/lang/translations/ku.po +112 -0
- package/lang/translations/lt.po +112 -0
- package/lang/translations/lv.po +112 -0
- package/lang/translations/ms.po +112 -0
- package/lang/translations/nb.po +112 -0
- package/lang/translations/ne.po +112 -0
- package/lang/translations/nl.po +112 -0
- package/lang/translations/no.po +112 -0
- package/lang/translations/oc.po +112 -0
- package/lang/translations/pl.po +112 -0
- package/lang/translations/pt-br.po +112 -0
- package/lang/translations/pt.po +112 -0
- package/lang/translations/ro.po +112 -0
- package/lang/translations/ru.po +112 -0
- package/lang/translations/si.po +112 -0
- package/lang/translations/sk.po +112 -0
- package/lang/translations/sl.po +112 -0
- package/lang/translations/sq.po +112 -0
- package/lang/translations/sr-latn.po +112 -0
- package/lang/translations/sr.po +112 -0
- package/lang/translations/sv.po +112 -0
- package/lang/translations/th.po +112 -0
- package/lang/translations/ti.po +112 -0
- package/lang/translations/tk.po +112 -0
- package/lang/translations/tr.po +112 -0
- package/lang/translations/tt.po +112 -0
- package/lang/translations/ug.po +112 -0
- package/lang/translations/uk.po +112 -0
- package/lang/translations/ur.po +112 -0
- package/lang/translations/uz.po +112 -0
- package/lang/translations/vi.po +112 -0
- package/lang/translations/zh-cn.po +112 -0
- package/lang/translations/zh.po +112 -0
- package/package.json +9 -9
- package/src/commands/insertfootnotecommand.js +1 -1
- package/src/footnotes.js +1 -1
- package/src/footnotesclipboard.js +1 -1
- package/src/footnotesediting.js +1 -1
- package/src/footnotesproperties/commands/footnotesstartcommand.js +1 -1
- package/src/footnotesproperties/commands/footnotesstylecommand.js +1 -1
- package/src/footnotesproperties/footnotespropertiesconfig.js +1 -1
- package/src/footnotesproperties/footnotespropertiesediting.js +1 -1
- package/src/footnotesproperties/footnotespropertiesui.js +1 -1
- package/src/footnotesproperties/ui/footnotesdefinitionspropertiesview.js +1 -1
- package/src/footnotesproperties.js +1 -1
- package/src/footnotestracker.js +1 -1
- package/src/footnotesui.js +1 -1
- package/src/index.js +1 -1
- package/src/modelelementtracker.js +1 -1
- package/theme/footnotes.css +6 -16
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{BalloonPanelView as
|
|
23
|
+
import{BalloonPanelView as _0x176670,ButtonView as _0x21a4e9,ContextualBalloon as _0x5069f,createDropdown as _0x1f88a4}from'ckeditor5/src/ui.js';import{WidgetToolbarRepository as _0x354257}from'ckeditor5/src/widget.js';import{Plugin as _0x133983}from'ckeditor5/src/core.js';import{IconFootnote as _0x32a7a2,IconListStyleDecimal as _0x41960,IconListStyleDecimalLeadingZero as _0x3804c,IconListStyleLowerLatin as _0x58f926,IconListStyleLowerRoman as _0x39dd2b,IconListStyleUpperLatin as _0x2ef985,IconListStyleUpperRoman as _0x3b8e7a}from'ckeditor5/src/icons.js';import{FootnotesDefinitionsPropertiesView as _0x49342e}from'./ui/footnotesdefinitionspropertiesview.js';import{isFootnotesDefinitionsWidget as _0x538940}from'../footnotesediting.js';import'../../theme/footnotesproperties.css';export class FootnotesPropertiesUI extends _0x133983{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x5069f,_0x354257];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x14e191}=this,{componentFactory:_0x4ae1b8}=_0x14e191['ui'];_0x14e191['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x4ae1b8['add']('footnotesStyle',function(_0x98b425){return _0x3f4f8e=>{const {t:t}=_0x3f4f8e,_0x50dbe4=_0x98b425['commands']['get']('footnotesStyle'),_0x1e984d=_0x1f88a4(_0x3f4f8e),{buttonView:_0x2d648c}=_0x1e984d;return _0x1e984d['class']='ck-footnotes-styles-dropdown',_0x1e984d['bind']('isEnabled')['to'](_0x50dbe4,'isEnabled'),_0x2d648c['set']({'label':t('Footnotes\x20style'),'icon':_0x32a7a2,'tooltip':!0x0}),_0x1e984d['once']('change:isOpen',()=>{const _0x20d37f=function({editor:_0x200267,dropdownView:_0x343368}){const {t:t}=_0x200267['locale'],_0x4111c0=t('Footnotes\x20definitions\x20styles'),_0x2f3af6=function(_0x43695e){const t=_0x43695e['locale']['t'],_0x7cf036=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x41960},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x3804c},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x39dd2b},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x3b8e7a},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x58f926},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x2ef985}];return _0x7cf036['map'](function(_0x458299){const _0x51286b=_0x458299['locale'];return({label:_0x253f31,icon:_0x2990b8,tooltip:_0x49f4ab,style:_0x2707a0})=>{const _0x493df5=_0x458299['commands']['get']('footnotesStyle'),_0x17c76c=new _0x21a4e9(_0x51286b);return _0x17c76c['set']({'label':_0x253f31,'icon':_0x2990b8,'tooltip':_0x49f4ab}),_0x17c76c['bind']('isOn')['to'](_0x493df5,'value',_0x297a24=>_0x297a24===_0x2707a0),_0x17c76c['bind']('isEnabled')['to'](_0x493df5,'isEnabled'),_0x17c76c['on']('execute',()=>{_0x458299['execute']('footnotesStyle',{'value':_0x2707a0}),_0x458299['editing']['view']['focus']();}),_0x17c76c;};}(_0x43695e));}(_0x200267),_0x507cd2=new _0x49342e(_0x200267['locale'],{'styleGridAriaLabel':_0x4111c0,'styleButtonViews':_0x2f3af6});return _0x507cd2['delegate']('execute')['to'](_0x343368),_0x507cd2['on']('footnotesListStart',(_0x59fa7f,_0x49f9aa)=>{_0x200267['execute']('footnotesStart',{'value':_0x49f9aa['startIndex']});}),_0x507cd2;}({'editor':_0x98b425,'dropdownView':_0x1e984d});_0x1e984d['panelView']['children']['add'](_0x20d37f);}),_0x1e984d;};}(_0x14e191));}['afterInit'](){const {editor:_0x4b1635}=this,{t:t}=_0x4b1635['locale'],_0x34d84b=_0x4b1635['plugins']['get'](_0x354257),{defaultPositions:_0x5b2089}=_0x176670;_0x34d84b['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x4b1635['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x161476=>{let _0x42c955=_0x161476['getFirstPosition']()?.['parent'];return _0x42c955?.['is']('$text')&&(_0x42c955=_0x42c955['parent']),_0x42c955?.['is']('element')?_0x42c955['findAncestor'](_0x538940):null;},'positions':[_0x5b2089['southArrowNorth'],_0x5b2089['southArrowNorthMiddleWest'],_0x5b2089['southArrowNorthMiddleEast'],_0x5b2089['southArrowNorthWest'],_0x5b2089['southArrowNorthEast'],_0x5b2089['northArrowSouth'],_0x5b2089['northArrowSouthMiddleWest'],_0x5b2089['northArrowSouthMiddleEast'],_0x5b2089['northArrowSouthWest'],_0x5b2089['northArrowSouthEast'],_0x5b2089['viewportStickyNorth']]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{ButtonView as
|
|
23
|
+
import{ButtonView as _0x327771,View as _0x42bd43,ViewCollection as _0x558f06,FocusCycler as _0x31aa4d,addKeyboardHandlingForGrid as tt,CollapsibleView as st,LabeledFieldView as it,createLabeledInputNumber as et}from'ckeditor5/src/ui.js';import{FocusTracker as ot,KeystrokeHandler as rt,global as nt}from'ckeditor5/src/utils.js';export class FootnotesDefinitionsPropertiesView extends _0x42bd43{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new ot();['keystrokes']=new rt();['focusables']=new _0x558f06();['focusCycler'];constructor(_0x54278a,{styleButtonViews:_0x4bd034,styleGridAriaLabel:_0x471b32}){super(_0x54278a),(this['focusCycler']=new _0x31aa4d({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x4bd034,_0x471b32),[this['startIndexFieldView'],this['additionalProperties']]=this['_appendAdditionalPropertiesCollapsibleView'](),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-footnotes-definitions-properties']},'children':this['children']}));}['render'](){if(super['render'](),this['stylesView']){this['focusables']['add'](this['stylesView']),this['focusTracker']['add'](this['stylesView']['element']);for(const _0x51eb07 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x51eb07['element']);tt({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>nt['window']['getComputedStyle'](this['stylesView']['element'])['getPropertyValue']('grid-template-columns')['split']('\x20')['length'],'uiLanguageDirection':this['locale']&&this['locale']['uiLanguageDirection']});}if(this['startIndexFieldView']){this['focusables']['add'](this['startIndexFieldView']),this['focusTracker']['add'](this['startIndexFieldView']['element']);const _0x1cc572=_0x145ac6=>_0x145ac6['stopPropagation']();this['keystrokes']['set']('arrowright',_0x1cc572),this['keystrokes']['set']('arrowleft',_0x1cc572),this['keystrokes']['set']('arrowup',_0x1cc572),this['keystrokes']['set']('arrowdown',_0x1cc572);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0xc6ffa7,_0x4eee33){const _0x4f7fb4=new _0x42bd43(this['locale']);return _0x4f7fb4['children']=_0x4f7fb4['createCollection'](),_0x4f7fb4['children']['addMany'](_0xc6ffa7),_0x4f7fb4['setTemplate']({'tag':'div','attributes':{'aria-label':_0x4eee33,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x4f7fb4['children']}),_0x4f7fb4['children']['delegate']('execute')['to'](this),_0x4f7fb4['focus']=function(){for(const _0x3e450d of this['children'])if(_0x3e450d instanceof _0x327771&&_0x3e450d['isOn'])return void _0x3e450d['focus']();this['children']['first']['focus']();},_0x4f7fb4['focusTracker']=new ot(),_0x4f7fb4['keystrokes']=new rt(),_0x4f7fb4['render'](),_0x4f7fb4['keystrokes']['listenTo'](_0x4f7fb4['element']),this['children']['add'](_0x4f7fb4),_0x4f7fb4;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x4e5375=this['_createStartIndexPropertyView'](),_0x3c4b33=[_0x4e5375],_0x534b48=new st(this['locale'],_0x3c4b33);return _0x534b48['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x534b48['buttonView']['bind']('isEnabled')['toMany'](_0x3c4b33,'isEnabled',(..._0x578379)=>_0x578379['some'](_0x4c8c3d=>_0x4c8c3d)),_0x534b48['buttonView']['on']('change:isEnabled',(_0x2f6d25,_0x495431,_0x216f50)=>{_0x216f50||(_0x534b48['isCollapsed']=!0x0);}),this['children']['add'](_0x534b48),[_0x4e5375,_0x534b48];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x3aa81c=new it(this['locale'],et);return _0x3aa81c['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x3aa81c['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x3aa81c['fieldView']['on']('input',()=>{const _0x75a370=_0x3aa81c['fieldView']['element'],_0x1064f2=_0x75a370['valueAsNumber'];Number['isNaN'](_0x1064f2)?_0x3aa81c['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x75a370['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x1064f2}):_0x3aa81c['errorText']=t(_0x1064f2<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x3aa81c;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x3aeb95=_0x4e58;(function(_0x26f5f7,_0x1cd333){var _0x591bdc=_0x4e58,_0x171fa5=_0x26f5f7();while(!![]){try{var _0x4f3560=parseInt(_0x591bdc(0x1f4))/0x1+parseInt(_0x591bdc(0x1f6))/0x2+parseInt(_0x591bdc(0x1f3))/0x3+parseInt(_0x591bdc(0x1ef))/0x4+-parseInt(_0x591bdc(0x1f7))/0x5*(parseInt(_0x591bdc(0x1f0))/0x6)+-parseInt(_0x591bdc(0x1f9))/0x7*(parseInt(_0x591bdc(0x1f1))/0x8)+-parseInt(_0x591bdc(0x1f5))/0x9;if(_0x4f3560===_0x1cd333)break;else _0x171fa5['push'](_0x171fa5['shift']());}catch(_0x408dbe){_0x171fa5['push'](_0x171fa5['shift']());}}}(_0x5520,0x5fe05));import{Plugin as _0x2322fc}from'ckeditor5/src/core.js';function _0x5520(){var _0x5e16a4=['requires','771078rwiwWO','477937mEIlzv','2711088WFptLa','539306qjaLMA','165yaAvMU','isOfficialPlugin','14XFYPLn','isPremiumPlugin','FootnotesProperties','pluginName','1857852japboI','5352uvzNxy','2982808Mwgbxz'];_0x5520=function(){return _0x5e16a4;};return _0x5520();}import{FootnotesPropertiesEditing as _0x86c2c0}from'./footnotesproperties/footnotespropertiesediting.js';import{FootnotesPropertiesUI as _0x4e9fa3}from'./footnotesproperties/footnotespropertiesui.js';function _0x4e58(_0x45fb53,_0x1d4e30){var _0x5520ac=_0x5520();return _0x4e58=function(_0x4e5860,_0xcb5877){_0x4e5860=_0x4e5860-0x1ec;var _0x138dc3=_0x5520ac[_0x4e5860];return _0x138dc3;},_0x4e58(_0x45fb53,_0x1d4e30);}export class FootnotesProperties extends _0x2322fc{static get[_0x3aeb95(0x1ee)](){var _0x2142f6=_0x3aeb95;return _0x2142f6(0x1ed);}static get[_0x3aeb95(0x1f2)](){return[_0x86c2c0,_0x4e9fa3];}static get[_0x3aeb95(0x1f8)](){return!0x0;}static get[_0x3aeb95(0x1ec)](){return!0x0;}}
|
package/src/footnotestracker.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x2c5c44=_0xe431;(function(_0x4b4167,_0x5e6fdc){const _0x2caca4=_0xe431,_0xa5ea59=_0x4b4167();while(!![]){try{const _0x543519=parseInt(_0x2caca4(0x243))/0x1*(parseInt(_0x2caca4(0x247))/0x2)+-parseInt(_0x2caca4(0x254))/0x3*(parseInt(_0x2caca4(0x229))/0x4)+parseInt(_0x2caca4(0x20f))/0x5+parseInt(_0x2caca4(0x23c))/0x6*(-parseInt(_0x2caca4(0x223))/0x7)+parseInt(_0x2caca4(0x220))/0x8+parseInt(_0x2caca4(0x21e))/0x9+-parseInt(_0x2caca4(0x23a))/0xa*(-parseInt(_0x2caca4(0x22a))/0xb);if(_0x543519===_0x5e6fdc)break;else _0xa5ea59['push'](_0xa5ea59['shift']());}catch(_0x3814c0){_0xa5ea59['push'](_0xa5ea59['shift']());}}}(_0x2f07,0x6d4b4));import{Plugin as _0x2a0192}from'ckeditor5/src/core.js';import{ModelElementTracker as _0x87bba4}from'./modelelementtracker.js';export class FootnotesTracker extends _0x2a0192{[_0x2c5c44(0x20a)]=[];[_0x2c5c44(0x24f)]=null;[_0x2c5c44(0x201)]=null;[_0x2c5c44(0x233)];[_0x2c5c44(0x22b)];[_0x2c5c44(0x24c)];static get[_0x2c5c44(0x218)](){const _0xaef489=_0x2c5c44;return _0xaef489(0x226);}static get[_0x2c5c44(0x203)](){return!0x0;}static get[_0x2c5c44(0x211)](){return!0x0;}constructor(_0xd9cd45){const _0x4a7130=_0x2c5c44;super(_0xd9cd45),this[_0x4a7130(0x233)]=new _0x87bba4(this[_0x4a7130(0x23f)][_0x4a7130(0x238)],{'elementName':_0x4a7130(0x200),'getElementKey':()=>_0x4a7130(0x206)}),this[_0x4a7130(0x22b)]=new _0x87bba4(this[_0x4a7130(0x23f)][_0x4a7130(0x238)],{'elementName':_0x4a7130(0x240),'getElementKey':_0x3b1862=>_0x3b1862[_0x4a7130(0x1f6)](_0x4a7130(0x236))}),this[_0x4a7130(0x24c)]=new _0x87bba4(this[_0x4a7130(0x23f)][_0x4a7130(0x238)],{'elementName':_0x4a7130(0x22c),'getElementKey':_0x2da968=>_0x2da968[_0x4a7130(0x1f6)](_0x4a7130(0x236))});}[_0x2c5c44(0x216)](){const _0x229e11=_0x2c5c44,{editor:_0xf991db}=this,{model:_0x241521,data:_0x5cc788}=_0xf991db;_0x241521[_0x229e11(0x209)][_0x229e11(0x244)](_0x403736=>{const _0x22b098=_0x229e11,_0x2c8277=_0x241521[_0x22b098(0x209)][_0x22b098(0x24b)][_0x22b098(0x252)]();let _0x408ec5=!0x1;return this[_0x22b098(0x246)](_0x403736,_0x2c8277)&&(_0x408ec5=!0x0),this[_0x22b098(0x239)](_0x403736,_0x2c8277)&&(_0x408ec5=!0x0),this[_0x22b098(0x250)](_0x403736,_0x2c8277)&&(_0x408ec5=!0x0),this[_0x22b098(0x210)](_0x403736)&&(_0x408ec5=!0x0),this[_0x22b098(0x1f2)](_0x403736)&&(_0x408ec5=!0x0),this[_0x22b098(0x224)](_0x403736)&&(_0x408ec5=!0x0),_0x408ec5;}),this[_0x229e11(0x1fa)](_0x241521[_0x229e11(0x209)],_0x229e11(0x22e),()=>{const _0x46313b=_0x229e11;_0x241521[_0x46313b(0x251)]({'isUndoable':!0x1},_0x449d43=>{const _0x27eab4=_0x46313b;this[_0x27eab4(0x234)](_0x449d43);});},{'priority':_0x229e11(0x24a)}),this[_0x229e11(0x1fa)](_0x5cc788,_0x229e11(0x245),()=>{const _0x570413=_0x229e11;this[_0x570413(0x20a)]=[],this[_0x570413(0x233)][_0x570413(0x21c)](),this[_0x570413(0x22b)][_0x570413(0x21c)](),this[_0x570413(0x24c)][_0x570413(0x21c)]();},{'priority':_0x229e11(0x213)});}[_0x2c5c44(0x221)](){const _0x278e00=_0x2c5c44;return this[_0x278e00(0x24f)];}[_0x2c5c44(0x1f9)](_0x749436){const _0x16d76f=_0x2c5c44;return this[_0x16d76f(0x20a)][_0x16d76f(0x202)](_0x4ce049=>_0x4ce049['id']===_0x749436)||null;}[_0x2c5c44(0x205)](){const _0x3a6221=_0x2c5c44;return Array[_0x3a6221(0x21f)](this[_0x3a6221(0x20a)]);}[_0x2c5c44(0x21a)](){const _0x1e38fd=_0x2c5c44;return this[_0x1e38fd(0x201)];}[_0x2c5c44(0x237)](_0x4b4221){const _0x1fba41=_0x2c5c44;this[_0x1fba41(0x201)]=_0x4b4221;}[_0x2c5c44(0x1fc)](_0x1a2f66,_0x1413e1=0x0){const _0x4ac969=_0x2c5c44;let _0x2408a0=!0x1;for(let _0x37749b=_0x1413e1;_0x37749b<this[_0x4ac969(0x20a)][_0x4ac969(0x217)];_0x37749b++)this[_0x4ac969(0x1fe)](_0x1a2f66,_0x37749b)&&(_0x2408a0=!0x0);return _0x2408a0;}[_0x2c5c44(0x20d)](_0x2ea287,_0x3ee368){const _0x2034dc=_0x2c5c44,_0x4764c6=_0x2ea287[_0x2034dc(0x21d)](_0x2034dc(0x200),{});return _0x2ea287[_0x2034dc(0x214)](_0x4764c6,_0x3ee368),this[_0x2034dc(0x24f)]=_0x4764c6,_0x4764c6;}[_0x2c5c44(0x234)](_0x508644){const _0x3d975b=_0x2c5c44;if(!this[_0x3d975b(0x20a)][_0x3d975b(0x217)]||this[_0x3d975b(0x24f)])return;const _0xb281ff=this[_0x3d975b(0x20a)][0x0][_0x3d975b(0x227)][_0x3d975b(0x1ff)],_0x16cbb6=this[_0x3d975b(0x20d)](_0x508644,_0xb281ff);for(const _0x5d1f6 of this[_0x3d975b(0x20a)])_0x5d1f6[_0x3d975b(0x20e)][_0x3d975b(0x1f0)]||_0x508644[_0x3d975b(0x1fd)](_0x5d1f6[_0x3d975b(0x20e)],_0x16cbb6,_0x3d975b(0x253));this[_0x3d975b(0x1fc)](_0x508644);}[_0x2c5c44(0x246)](_0x5527f7,_0x114279){const _0x1472b3=_0x2c5c44;let _0x46ed10=!0x1;const {inserted:_0x5639f4,removed:_0x1f522b,moved:_0x5bf7f9}=this[_0x1472b3(0x233)][_0x1472b3(0x252)](_0x114279);if(_0x5bf7f9[_0x1472b3(0x217)]&&(this[_0x1472b3(0x24f)]=_0x5bf7f9[0x0]),_0x5639f4[_0x1472b3(0x217)]){if(_0x5639f4[_0x1472b3(0x217)]>0x1||this[_0x1472b3(0x24f)]&&_0x5639f4[_0x1472b3(0x255)](_0xe78977=>_0xe78977!==this[_0x1472b3(0x24f)])){const _0x484b0e=_0x5527f7[_0x1472b3(0x21d)](_0x1472b3(0x200),{}),_0x33a825=[];this[_0x1472b3(0x24f)]&&_0x33a825[_0x1472b3(0x242)](this[_0x1472b3(0x24f)]),_0x33a825[_0x1472b3(0x242)](..._0x5639f4),_0x5527f7[_0x1472b3(0x1fd)](_0x484b0e,_0x33a825[0x0],_0x1472b3(0x235));for(const _0x40773f of _0x33a825)_0x5527f7[_0x1472b3(0x232)](_0x5527f7[_0x1472b3(0x1f8)](_0x40773f),_0x5527f7[_0x1472b3(0x23e)](_0x484b0e,_0x1472b3(0x253))),_0x5527f7[_0x1472b3(0x21b)](_0x40773f);this[_0x1472b3(0x24f)]=_0x484b0e,this[_0x1472b3(0x1fc)](_0x5527f7),_0x46ed10=!0x0;}else this[_0x1472b3(0x24f)]=_0x5639f4[0x0];}if(_0x1f522b[_0x1472b3(0x217)]&&_0x1472b3(0x1f5)===this[_0x1472b3(0x24f)]?.[_0x1472b3(0x1ff)][_0x1472b3(0x23d)]){for(const _0x48f383 of this[_0x1472b3(0x20a)])_0x5527f7[_0x1472b3(0x21b)](_0x48f383[_0x1472b3(0x227)]),_0x46ed10=!0x0;this[_0x1472b3(0x20a)]=[],this[_0x1472b3(0x24f)]=null;}return _0x46ed10;}[_0x2c5c44(0x239)](_0x2912b7,_0x24e039){const _0x1a7d48=_0x2c5c44;let _0x36c6c2=!0x1;const _0x53823c=this[_0x1a7d48(0x23f)][_0x1a7d48(0x204)][_0x1a7d48(0x230)](_0x1a7d48(0x24e)),{inserted:_0x488eff,moved:_0xc9ca6f}=this[_0x1a7d48(0x24c)][_0x1a7d48(0x252)](_0x24e039);for(const _0x4b745e of[..._0xc9ca6f,..._0x488eff]){const _0x3097b1=_0x4b745e[_0x1a7d48(0x1f6)](_0x1a7d48(0x236)),_0x517580=this[_0x1a7d48(0x1f9)](_0x3097b1);_0x517580&&(_0x517580[_0x1a7d48(0x20e)]=_0x4b745e),_(_0x2912b7,_0x53823c,_0x4b745e)&&(_0x36c6c2=!0x0);}return _0x36c6c2;}[_0x2c5c44(0x250)](_0x428a95,_0x4e1378){const _0x350333=_0x2c5c44;let _0x1753f3=!0x1;const {removed:_0x173682,inserted:_0x532dc8,moved:_0x46e567}=this[_0x350333(0x22b)][_0x350333(0x252)](_0x4e1378);for(const _0x447a00 of _0x173682)this[_0x350333(0x212)](_0x428a95,_0x447a00)&&(_0x1753f3=!0x0);for(const _0x358ee3 of _0x532dc8)this[_0x350333(0x231)](_0x428a95,_0x358ee3)&&(_0x1753f3=!0x0);for(const _0x4f56ba of _0x46e567)this[_0x350333(0x1fb)](_0x428a95,_0x4f56ba)&&(_0x1753f3=!0x0);return _0x1753f3;}[_0x2c5c44(0x1f2)](_0x1d9d04){const _0x1da206=_0x2c5c44;if(!this[_0x1da206(0x24f)])return!0x1;let _0x1b62d2=!0x1;if(this[_0x1da206(0x24f)][_0x1da206(0x207)]!==this[_0x1da206(0x20a)][_0x1da206(0x217)]){const _0xe332ca=[];for(const _0x5b74c8 of this[_0x1da206(0x24f)][_0x1da206(0x225)]()){const _0x3fbbe2=_0x5b74c8[_0x1da206(0x1f6)](_0x1da206(0x236));this[_0x1da206(0x1f9)](_0x3fbbe2)||(_0xe332ca[_0x1da206(0x1f1)](_0x5b74c8),_0x1b62d2=!0x0);}for(const _0x126c67 of _0xe332ca)_0x1d9d04[_0x1da206(0x21b)](_0x126c67);}const _0x44691f=new Set(),_0x567820=[];for(const _0x234cc1 of this[_0x1da206(0x24f)][_0x1da206(0x225)]()){const _0x148025=_0x234cc1[_0x1da206(0x1f6)](_0x1da206(0x236));_0x44691f[_0x1da206(0x228)](_0x148025)?(_0x567820[_0x1da206(0x1f1)](_0x234cc1),_0x1b62d2=!0x0):_0x44691f[_0x1da206(0x22d)](_0x148025);}for(const _0x5174e6 of _0x567820)_0x1d9d04[_0x1da206(0x21b)](_0x5174e6);return this[_0x1da206(0x24f)][_0x1da206(0x207)]||(_0x1d9d04[_0x1da206(0x21b)](this[_0x1da206(0x24f)]),this[_0x1da206(0x24f)]=null,_0x1b62d2=!0x0),_0x1b62d2;}[_0x2c5c44(0x231)](_0x3708b7,_0x32b8e8){const _0x1ca41f=_0x2c5c44;if(this[_0x1ca41f(0x20a)][_0x1ca41f(0x202)](_0x417cf2=>_0x417cf2[_0x1ca41f(0x227)]===_0x32b8e8))return!0x1;let _0x4ddc1f=!0x1;const _0x127e74=_0x32b8e8[_0x1ca41f(0x1f6)](_0x1ca41f(0x236)),_0x21acd5=this[_0x1ca41f(0x20a)][_0x1ca41f(0x249)](_0x5613d5=>_0x5613d5['id']===_0x127e74);-0x1!==_0x21acd5&&(_0x3708b7[_0x1ca41f(0x21b)](this[_0x1ca41f(0x20a)][_0x21acd5][_0x1ca41f(0x227)]),this[_0x1ca41f(0x20a)][_0x1ca41f(0x222)](_0x21acd5,0x1),_0x4ddc1f=!0x0);let _0x2c49b7=this[_0x1ca41f(0x24f)]?function(_0x1b1981,_0x487f97){const _0x5748bb=_0x1ca41f;for(const _0x3f0723 of _0x1b1981[_0x5748bb(0x225)]())if(_0x3f0723[_0x5748bb(0x1f6)](_0x5748bb(0x236))===_0x487f97)return _0x3f0723;return null;}(this[_0x1ca41f(0x24f)],_0x127e74):null;_0x2c49b7||(_0x2c49b7=_0x3708b7[_0x1ca41f(0x21d)](_0x1ca41f(0x22c),{'footnoteId':_0x127e74}),this[_0x1ca41f(0x24f)]&&(_0x3708b7[_0x1ca41f(0x1fd)](_0x2c49b7,this[_0x1ca41f(0x24f)],_0x1ca41f(0x253)),_0x4ddc1f=!0x0));const _0x137b18={'id':_0x127e74,'reference':_0x32b8e8,'definition':_0x2c49b7},_0x17a5bc=I(this[_0x1ca41f(0x23f)][_0x1ca41f(0x238)],this[_0x1ca41f(0x20a)],_0x32b8e8);this[_0x1ca41f(0x20a)][_0x1ca41f(0x222)](_0x17a5bc,0x0,_0x137b18);let _0x390901=_0x17a5bc;return-0x1!==_0x21acd5&&(_0x390901=Math[_0x1ca41f(0x1f3)](_0x17a5bc,_0x21acd5)),this[_0x1ca41f(0x1fc)](_0x3708b7,_0x390901)&&(_0x4ddc1f=!0x0),_0x4ddc1f;}[_0x2c5c44(0x212)](_0x391c14,_0x5cb452){const _0x85240f=_0x2c5c44,_0x4219f3=this[_0x85240f(0x20a)][_0x85240f(0x249)](_0x1b7e88=>_0x1b7e88['id']===_0x5cb452);if(-0x1===_0x4219f3)return!0x1;let _0x145741=!0x1;const _0x357e8b=this[_0x85240f(0x20a)][_0x4219f3];return _0x85240f(0x1f5)!==_0x357e8b[_0x85240f(0x20e)][_0x85240f(0x1ff)][_0x85240f(0x23d)]&&(_0x391c14[_0x85240f(0x21b)](_0x357e8b[_0x85240f(0x20e)]),_0x145741=!0x0),this[_0x85240f(0x20a)][_0x85240f(0x222)](_0x4219f3,0x1),this[_0x85240f(0x1fc)](_0x391c14,_0x4219f3)&&(_0x145741=!0x0),_0x145741;}[_0x2c5c44(0x1fb)](_0x403130,_0x4e4d07){const _0x522171=_0x2c5c44,_0x1e240d=_0x4e4d07[_0x522171(0x1f6)](_0x522171(0x236)),_0x1fee47=this[_0x522171(0x20a)][_0x522171(0x249)](_0x4efdaf=>_0x4efdaf['id']===_0x1e240d),_0x4cb921=this[_0x522171(0x20a)][_0x1fee47];let _0x5d696e=!0x1;_0x4cb921[_0x522171(0x227)]=_0x4e4d07,this[_0x522171(0x20a)][_0x522171(0x222)](_0x1fee47,0x1);const _0x1c5aea=I(this[_0x522171(0x23f)][_0x522171(0x238)],this[_0x522171(0x20a)],_0x4e4d07);return this[_0x522171(0x20a)][_0x522171(0x222)](_0x1c5aea,0x0,_0x4cb921),this[_0x522171(0x1fc)](_0x403130,Math[_0x522171(0x1f3)](_0x1fee47,_0x1c5aea))&&(_0x5d696e=!0x0),_0x5d696e;}[_0x2c5c44(0x1fe)](_0x2d2cb5,_0x570c5d){const _0x271f57=_0x2c5c44;if(!this[_0x271f57(0x24f)])return!0x1;const _0xf254df=this[_0x271f57(0x20a)][_0x570c5d];let _0x2850fb;return _0x2850fb=this[_0x271f57(0x201)]?this[_0x271f57(0x201)]({'footnote':_0xf254df,'container':this[_0x271f57(0x24f)],'digits':String(this[_0x271f57(0x20a)][_0x271f57(0x217)])[_0x271f57(0x217)],'value':_0x570c5d+0x1}):String(_0x570c5d+0x1),_0xf254df[_0x271f57(0x227)][_0x271f57(0x1f6)](_0x271f57(0x219))!=_0x2850fb&&(_0x2d2cb5[_0x271f57(0x248)](_0x271f57(0x219),_0x2850fb,_0xf254df[_0x271f57(0x227)]),!0x0);}[_0x2c5c44(0x224)](_0xeab594){const _0x4a8e9e=_0x2c5c44;if(!this[_0x4a8e9e(0x24f)]||this[_0x4a8e9e(0x20a)][_0x4a8e9e(0x217)]<0x2)return!0x1;if(function(_0x1d828d,_0x5f1317){const _0x114743=_0x4a8e9e;if(_0x1d828d[_0x114743(0x217)]!==_0x5f1317[_0x114743(0x217)])return!0x1;for(let _0x172f7f=0x0;_0x172f7f<_0x1d828d[_0x114743(0x217)];_0x172f7f++)if(_0x1d828d[_0x172f7f]!==_0x5f1317[_0x172f7f])return!0x1;return!0x0;}(this[_0x4a8e9e(0x20a)][_0x4a8e9e(0x22f)](_0x48de35=>_0x48de35['id']),Array[_0x4a8e9e(0x21f)](this[_0x4a8e9e(0x24f)][_0x4a8e9e(0x225)]())[_0x4a8e9e(0x22f)](_0x463f1a=>_0x463f1a[_0x4a8e9e(0x1f6)](_0x4a8e9e(0x236)))))return!0x1;let _0x268ccb=!0x1;for(let _0x4326d7=0x0;_0x4326d7<this[_0x4a8e9e(0x20a)][_0x4a8e9e(0x217)];_0x4326d7++){const _0x10f154=this[_0x4a8e9e(0x20a)][_0x4326d7],_0x395abb=_0xeab594[_0x4a8e9e(0x24d)](_0x10f154[_0x4a8e9e(0x20e)]),_0x66156e=_0xeab594[_0x4a8e9e(0x23e)](this[_0x4a8e9e(0x24f)],_0x4326d7);_0x395abb[_0x4a8e9e(0x1f7)](_0x66156e)||(_0xeab594[_0x4a8e9e(0x232)](_0xeab594[_0x4a8e9e(0x20b)](_0x10f154[_0x4a8e9e(0x20e)]),_0x66156e),_0x268ccb=!0x0);}return _0x268ccb;}[_0x2c5c44(0x210)](_0x201180){const _0x27a7bb=_0x2c5c44;if(!this[_0x27a7bb(0x20a)][_0x27a7bb(0x217)])return!0x1;const {model:_0x3823de}=this[_0x27a7bb(0x23f)];let _0x527be1=!0x1;for(let _0x19558b=0x0;_0x19558b<this[_0x27a7bb(0x20a)][_0x27a7bb(0x217)]-0x1;_0x19558b++){const _0x291957=this[_0x27a7bb(0x20a)][_0x19558b],_0x284e31=this[_0x27a7bb(0x20a)][_0x19558b+0x1],_0x32b0bf=_0x3823de[_0x27a7bb(0x24d)](_0x291957[_0x27a7bb(0x227)]),_0x529517=_0x3823de[_0x27a7bb(0x24d)](_0x284e31[_0x27a7bb(0x227)]);_0x27a7bb(0x241)===_0x32b0bf[_0x27a7bb(0x215)](_0x529517)&&(this[_0x27a7bb(0x1fb)](_0x201180,_0x291957[_0x27a7bb(0x227)]),_0x19558b=-0x1,_0x527be1=!0x0);}return _0x527be1;}}function _0xe431(_0x50182a,_0x2328f4){const _0x2f07e1=_0x2f07();return _0xe431=function(_0xe43132,_0x310c59){_0xe43132=_0xe43132-0x1f0;let _0x13ea2e=_0x2f07e1[_0xe43132];return _0x13ea2e;},_0xe431(_0x50182a,_0x2328f4);}function _(_0x355ba6,_0x5d3d8f,_0x1f89bf){const _0x13b100=_0x2c5c44;if(_0x1f89bf[_0x13b100(0x207)])return!0x1;const _0x5efcfc=_0x5d3d8f?_0x13b100(0x23b):_0x13b100(0x208);return _0x355ba6[_0x13b100(0x1fd)](_0x355ba6[_0x13b100(0x21d)](_0x5efcfc),_0x1f89bf),!0x0;}function _0x2f07(){const _0xeb9dbf=['_footnoteRefsTracker','footnoteDefinition','add','change:data','map','get','_handleInsertedFootnoteReference','move','_footnoteDefsContainerTracker','_ensureFootnotesDefinitionsContainerExists','before','footnoteId','setFootnoteFormatter','model','_handleFootnoteDefinitionsChanges','120vNUqrf','paragraph','1657938OXQngP','rootName','createPositionAt','editor','footnoteRef','after','push','191vrJAUB','registerPostFixer','set','_handleFootnotesDefinitionsObjectChanges','1362yAlwWr','setAttribute','findIndex','low','differ','_footnoteDefsTracker','createPositionBefore','footnotes.multiBlock','_footnotesDefinitions','_handleFootnoteReferencesChanges','enqueueChange','getChanges','end','3fHcAst','some','parent','unshift','_handleFootnotesDefinitionsObjectSync','min','indexOf','$graveyard','getAttribute','isEqual','createRangeIn','getFootnote','listenTo','_handleMovedFootnoteReference','_updateFootnotesCounters','insert','_updateFootnoteRefCounter','root','footnotesDefinitions','_footnoteFormatter','find','isOfficialPlugin','config','getFootnotes','singleton','childCount','footnoteInlineContent','document','_footnotes','createRangeOn','getRootNames','_insertEmptyFootnotesDefinitionsContainer','definition','2365710LOlBey','_ensureFootnotesReferencesHaveProperOrder','isPremiumPlugin','_handleRemoveFootnoteReferenceById','high','append','compareWith','init','length','pluginName','footnoteCounter','getFootnotesFormatter','remove','reset','createElement','3064473LlgkXB','from','377904OlvGYb','getFootnotesDefinitionsObjectElement','splice','7XlrHrw','_sortFootnoteDefinitions','getChildren','FootnotesTracker','reference','has','3087236oDIDAT','462781dUYecC'];_0x2f07=function(){return _0xeb9dbf;};return _0x2f07();}function I(_0x201f74,_0x1099f3,_0x252bb1){const _0x3339e1=_0x2c5c44;if(0x0===_0x1099f3[_0x3339e1(0x217)])return 0x0;const _0x15a2a9=_0x201f74[_0x3339e1(0x24d)](_0x252bb1);for(let _0xa47f3a=0x0;_0xa47f3a<_0x1099f3[_0x3339e1(0x217)];_0xa47f3a++){const _0x5aad15=_0x1099f3[_0xa47f3a],_0x2452f3=_0x201f74[_0x3339e1(0x24d)](_0x5aad15[_0x3339e1(0x227)]);if(_0x3339e1(0x235)===_0x15a2a9[_0x3339e1(0x215)](_0x2452f3))return _0xa47f3a;}const _0x362621=_0x252bb1[_0x3339e1(0x1ff)];let _0x59ca83=-0x1;for(let _0x5d34d6=_0x1099f3[_0x3339e1(0x217)]-0x1;_0x5d34d6>=0x0;_0x5d34d6--)if(_0x1099f3[_0x5d34d6][_0x3339e1(0x227)][_0x3339e1(0x1ff)]===_0x362621){_0x59ca83=_0x5d34d6;break;}if(-0x1!==_0x59ca83)return _0x59ca83+0x1;const _0x3b8fd0=_0x201f74[_0x3339e1(0x209)][_0x3339e1(0x20c)](),_0x238a98=_0x3b8fd0[_0x3339e1(0x1f4)](_0x362621[_0x3339e1(0x23d)]),_0x32c9d3=_0x3b8fd0[_0x238a98+0x1];if(_0x32c9d3){for(let _0x495e34=0x0;_0x495e34<_0x1099f3[_0x3339e1(0x217)];_0x495e34++)if(_0x1099f3[_0x495e34][_0x3339e1(0x227)][_0x3339e1(0x1ff)][_0x3339e1(0x23d)]===_0x32c9d3)return _0x495e34;}return _0x1099f3[_0x3339e1(0x217)];}
|
|
23
|
+
const _0xe89ac7=_0x2fd5;(function(_0x109dda,_0x975ad1){const _0x1951ab=_0x2fd5,_0x22b865=_0x109dda();while(!![]){try{const _0x14e824=parseInt(_0x1951ab(0xe4))/0x1*(-parseInt(_0x1951ab(0xcd))/0x2)+parseInt(_0x1951ab(0xed))/0x3*(parseInt(_0x1951ab(0xb5))/0x4)+parseInt(_0x1951ab(0xe9))/0x5*(-parseInt(_0x1951ab(0xc9))/0x6)+-parseInt(_0x1951ab(0xc5))/0x7+parseInt(_0x1951ab(0x95))/0x8*(parseInt(_0x1951ab(0xa0))/0x9)+-parseInt(_0x1951ab(0xbf))/0xa+parseInt(_0x1951ab(0x94))/0xb;if(_0x14e824===_0x975ad1)break;else _0x22b865['push'](_0x22b865['shift']());}catch(_0x3eb716){_0x22b865['push'](_0x22b865['shift']());}}}(_0x59aa,0x974a7));import{Plugin as _0x79ed40}from'ckeditor5/src/core.js';import{ModelElementTracker as _0xdfc464}from'./modelelementtracker.js';function _0x2fd5(_0x4f8a14,_0x5699ed){const _0x59aa55=_0x59aa();return _0x2fd5=function(_0x2fd525,_0x395f61){_0x2fd525=_0x2fd525-0x8d;let _0x4e3fd2=_0x59aa55[_0x2fd525];return _0x4e3fd2;},_0x2fd5(_0x4f8a14,_0x5699ed);}export class FootnotesTracker extends _0x79ed40{[_0xe89ac7(0x99)]=[];[_0xe89ac7(0xac)]=null;[_0xe89ac7(0xeb)]=null;[_0xe89ac7(0x9b)];[_0xe89ac7(0xb7)];[_0xe89ac7(0x9f)];static get[_0xe89ac7(0xee)](){const _0x43d0dc=_0xe89ac7;return _0x43d0dc(0xa6);}static get[_0xe89ac7(0xd6)](){return!0x0;}static get[_0xe89ac7(0xa9)](){return!0x0;}constructor(_0x588a01){const _0xa76dc2=_0xe89ac7;super(_0x588a01),this[_0xa76dc2(0x9b)]=new _0xdfc464(this[_0xa76dc2(0x8e)][_0xa76dc2(0xd2)],{'elementName':_0xa76dc2(0xdf),'getElementKey':()=>_0xa76dc2(0x9a)}),this[_0xa76dc2(0xb7)]=new _0xdfc464(this[_0xa76dc2(0x8e)][_0xa76dc2(0xd2)],{'elementName':_0xa76dc2(0xa7),'getElementKey':_0x36ba41=>_0x36ba41[_0xa76dc2(0x9c)](_0xa76dc2(0xbc))}),this[_0xa76dc2(0x9f)]=new _0xdfc464(this[_0xa76dc2(0x8e)][_0xa76dc2(0xd2)],{'elementName':_0xa76dc2(0xd0),'getElementKey':_0x226623=>_0x226623[_0xa76dc2(0x9c)](_0xa76dc2(0xbc))});}[_0xe89ac7(0xc1)](){const _0x86d72c=_0xe89ac7,{editor:_0x57b730}=this,{model:_0x1622d9,data:_0x3fa9e6}=_0x57b730;_0x1622d9[_0x86d72c(0xc3)][_0x86d72c(0xc0)](_0x2ab3c4=>{const _0xf5e1b=_0x86d72c,_0x5a1dce=_0x1622d9[_0xf5e1b(0xc3)][_0xf5e1b(0xcc)][_0xf5e1b(0xa4)]();let _0x58b628=!0x1;return this[_0xf5e1b(0x96)](_0x2ab3c4,_0x5a1dce)&&(_0x58b628=!0x0),this[_0xf5e1b(0xa8)](_0x2ab3c4,_0x5a1dce)&&(_0x58b628=!0x0),this[_0xf5e1b(0x92)](_0x2ab3c4,_0x5a1dce)&&(_0x58b628=!0x0),this[_0xf5e1b(0xf2)](_0x2ab3c4)&&(_0x58b628=!0x0),this[_0xf5e1b(0xdc)](_0x2ab3c4)&&(_0x58b628=!0x0),this[_0xf5e1b(0xb6)](_0x2ab3c4)&&(_0x58b628=!0x0),_0x58b628;}),this[_0x86d72c(0xba)](_0x1622d9[_0x86d72c(0xc3)],_0x86d72c(0xa3),()=>{const _0x1c3261=_0x86d72c;_0x1622d9[_0x1c3261(0x9d)]({'isUndoable':!0x1},_0x2f09e7=>{const _0x43e128=_0x1c3261;this[_0x43e128(0x9e)](_0x2f09e7);});},{'priority':_0x86d72c(0xcf)}),this[_0x86d72c(0xba)](_0x3fa9e6,_0x86d72c(0xd3),()=>{const _0xdd398=_0x86d72c;this[_0xdd398(0x99)]=[],this[_0xdd398(0x9b)][_0xdd398(0xa1)](),this[_0xdd398(0xb7)][_0xdd398(0xa1)](),this[_0xdd398(0x9f)][_0xdd398(0xa1)]();},{'priority':_0x86d72c(0x90)});}[_0xe89ac7(0xca)](){const _0x11cd3d=_0xe89ac7;return this[_0x11cd3d(0xac)];}[_0xe89ac7(0xc4)](_0x19bb19){const _0x451b1a=_0xe89ac7;return this[_0x451b1a(0x99)][_0x451b1a(0x98)](_0x1caa00=>_0x1caa00['id']===_0x19bb19)||null;}[_0xe89ac7(0xf0)](){const _0x17f2d7=_0xe89ac7;return Array[_0x17f2d7(0xef)](this[_0x17f2d7(0x99)]);}[_0xe89ac7(0xf1)](){const _0x36633a=_0xe89ac7;return this[_0x36633a(0xeb)];}[_0xe89ac7(0xab)](_0x42cfdf){const _0x6f2a0f=_0xe89ac7;this[_0x6f2a0f(0xeb)]=_0x42cfdf;}[_0xe89ac7(0xe7)](_0x272c2b,_0x1a295a=0x0){const _0x12199e=_0xe89ac7;let _0x548627=!0x1;for(let _0x2a1e79=_0x1a295a;_0x2a1e79<this[_0x12199e(0x99)][_0x12199e(0xc6)];_0x2a1e79++)this[_0x12199e(0xc7)](_0x272c2b,_0x2a1e79)&&(_0x548627=!0x0);return _0x548627;}[_0xe89ac7(0xdd)](_0x4ff2e0,_0x2e2377){const _0x2ba92a=_0xe89ac7,_0x3b5a1c=_0x4ff2e0[_0x2ba92a(0xc8)](_0x2ba92a(0xdf),{});return _0x4ff2e0[_0x2ba92a(0x93)](_0x3b5a1c,_0x2e2377),this[_0x2ba92a(0xac)]=_0x3b5a1c,_0x3b5a1c;}[_0xe89ac7(0x9e)](_0xe2cf81){const _0x20ca3d=_0xe89ac7;if(!this[_0x20ca3d(0x99)][_0x20ca3d(0xc6)]||this[_0x20ca3d(0xac)])return;const _0x39b32a=this[_0x20ca3d(0x99)][0x0][_0x20ca3d(0x91)][_0x20ca3d(0xb0)],_0x1a68da=this[_0x20ca3d(0xdd)](_0xe2cf81,_0x39b32a);for(const _0x512cb6 of this[_0x20ca3d(0x99)])_0x512cb6[_0x20ca3d(0xea)][_0x20ca3d(0xe5)]||_0xe2cf81[_0x20ca3d(0xaa)](_0x512cb6[_0x20ca3d(0xea)],_0x1a68da,_0x20ca3d(0x8f));this[_0x20ca3d(0xe7)](_0xe2cf81);}[_0xe89ac7(0x96)](_0x24aa44,_0x1ac287){const _0x666221=_0xe89ac7;let _0x3687db=!0x1;const {inserted:_0x1269ac,removed:_0x4ae5de,moved:_0x2dd962}=this[_0x666221(0x9b)][_0x666221(0xa4)](_0x1ac287);if(_0x2dd962[_0x666221(0xc6)]&&(this[_0x666221(0xac)]=_0x2dd962[0x0]),_0x1269ac[_0x666221(0xc6)]){if(_0x1269ac[_0x666221(0xc6)]>0x1||this[_0x666221(0xac)]&&_0x1269ac[_0x666221(0xe3)](_0x11115e=>_0x11115e!==this[_0x666221(0xac)])){const _0x4a580b=_0x24aa44[_0x666221(0xc8)](_0x666221(0xdf),{}),_0x22d3aa=[];this[_0x666221(0xac)]&&_0x22d3aa[_0x666221(0xbd)](this[_0x666221(0xac)]),_0x22d3aa[_0x666221(0xbd)](..._0x1269ac),_0x24aa44[_0x666221(0xaa)](_0x4a580b,_0x22d3aa[0x0],_0x666221(0xb3));for(const _0x37acb3 of _0x22d3aa)_0x24aa44[_0x666221(0xb4)](_0x24aa44[_0x666221(0xe6)](_0x37acb3),_0x24aa44[_0x666221(0xae)](_0x4a580b,_0x666221(0x8f))),_0x24aa44[_0x666221(0x8d)](_0x37acb3);this[_0x666221(0xac)]=_0x4a580b,this[_0x666221(0xe7)](_0x24aa44),_0x3687db=!0x0;}else this[_0x666221(0xac)]=_0x1269ac[0x0];}if(_0x4ae5de[_0x666221(0xc6)]&&_0x666221(0xe8)===this[_0x666221(0xac)]?.[_0x666221(0xb0)][_0x666221(0xad)]){for(const _0x466768 of this[_0x666221(0x99)])_0x24aa44[_0x666221(0x8d)](_0x466768[_0x666221(0x91)]),_0x3687db=!0x0;this[_0x666221(0x99)]=[],this[_0x666221(0xac)]=null;}return _0x3687db;}[_0xe89ac7(0xa8)](_0x3a5cc9,_0x400df7){const _0x1943a2=_0xe89ac7;let _0x180e09=!0x1;const _0xc3ca64=this[_0x1943a2(0x8e)][_0x1943a2(0xc2)][_0x1943a2(0xa5)](_0x1943a2(0xce)),{inserted:_0x1f7823,moved:_0x168889}=this[_0x1943a2(0x9f)][_0x1943a2(0xa4)](_0x400df7);for(const _0x17e6fb of[..._0x168889,..._0x1f7823]){const _0x204f7d=_0x17e6fb[_0x1943a2(0x9c)](_0x1943a2(0xbc)),_0x216e13=this[_0x1943a2(0xc4)](_0x204f7d);_0x216e13&&(_0x216e13[_0x1943a2(0xea)]=_0x17e6fb),_(_0x3a5cc9,_0xc3ca64,_0x17e6fb)&&(_0x180e09=!0x0);}return _0x180e09;}[_0xe89ac7(0x92)](_0x4793bc,_0x1096d0){const _0x5ac9a1=_0xe89ac7;let _0x1bde14=!0x1;const {removed:_0x378114,inserted:_0x4d0c25,moved:_0x52ce49}=this[_0x5ac9a1(0xb7)][_0x5ac9a1(0xa4)](_0x1096d0);for(const _0x4be6e8 of _0x378114)this[_0x5ac9a1(0xb8)](_0x4793bc,_0x4be6e8)&&(_0x1bde14=!0x0);for(const _0x557fee of _0x4d0c25)this[_0x5ac9a1(0xd7)](_0x4793bc,_0x557fee)&&(_0x1bde14=!0x0);for(const _0x3a85c9 of _0x52ce49)this[_0x5ac9a1(0xb9)](_0x4793bc,_0x3a85c9)&&(_0x1bde14=!0x0);return _0x1bde14;}[_0xe89ac7(0xdc)](_0x10b153){const _0x41b0b0=_0xe89ac7;if(!this[_0x41b0b0(0xac)])return!0x1;let _0x17864c=!0x1;if(this[_0x41b0b0(0xac)][_0x41b0b0(0xcb)]!==this[_0x41b0b0(0x99)][_0x41b0b0(0xc6)]){const _0x356c39=[];for(const _0x56cc56 of this[_0x41b0b0(0xac)][_0x41b0b0(0xd5)]()){const _0x518336=_0x56cc56[_0x41b0b0(0x9c)](_0x41b0b0(0xbc));this[_0x41b0b0(0xc4)](_0x518336)||(_0x356c39[_0x41b0b0(0xd9)](_0x56cc56),_0x17864c=!0x0);}for(const _0x2b3ec6 of _0x356c39)_0x10b153[_0x41b0b0(0x8d)](_0x2b3ec6);}const _0x25460f=new Set(),_0x440e1f=[];for(const _0x501eb2 of this[_0x41b0b0(0xac)][_0x41b0b0(0xd5)]()){const _0x32f2c1=_0x501eb2[_0x41b0b0(0x9c)](_0x41b0b0(0xbc));_0x25460f[_0x41b0b0(0xd8)](_0x32f2c1)?(_0x440e1f[_0x41b0b0(0xd9)](_0x501eb2),_0x17864c=!0x0):_0x25460f[_0x41b0b0(0xb2)](_0x32f2c1);}for(const _0x27a187 of _0x440e1f)_0x10b153[_0x41b0b0(0x8d)](_0x27a187);return this[_0x41b0b0(0xac)][_0x41b0b0(0xcb)]||(_0x10b153[_0x41b0b0(0x8d)](this[_0x41b0b0(0xac)]),this[_0x41b0b0(0xac)]=null,_0x17864c=!0x0),_0x17864c;}[_0xe89ac7(0xd7)](_0x33dbdb,_0x4d7b07){const _0x28f040=_0xe89ac7;if(this[_0x28f040(0x99)][_0x28f040(0x98)](_0x11961a=>_0x11961a[_0x28f040(0x91)]===_0x4d7b07))return!0x1;let _0x14850f=!0x1;const _0x3a3a5c=_0x4d7b07[_0x28f040(0x9c)](_0x28f040(0xbc)),_0x4c31c0=this[_0x28f040(0x99)][_0x28f040(0xb1)](_0x492d89=>_0x492d89['id']===_0x3a3a5c);-0x1!==_0x4c31c0&&(_0x33dbdb[_0x28f040(0x8d)](this[_0x28f040(0x99)][_0x4c31c0][_0x28f040(0x91)]),this[_0x28f040(0x99)][_0x28f040(0xbb)](_0x4c31c0,0x1),_0x14850f=!0x0);let _0x1dc4eb=this[_0x28f040(0xac)]?function(_0x35bbed,_0x128a78){const _0xc0ce1d=_0x28f040;for(const _0x255d0b of _0x35bbed[_0xc0ce1d(0xd5)]())if(_0x255d0b[_0xc0ce1d(0x9c)](_0xc0ce1d(0xbc))===_0x128a78)return _0x255d0b;return null;}(this[_0x28f040(0xac)],_0x3a3a5c):null;_0x1dc4eb||(_0x1dc4eb=_0x33dbdb[_0x28f040(0xc8)](_0x28f040(0xd0),{'footnoteId':_0x3a3a5c}),this[_0x28f040(0xac)]&&(_0x33dbdb[_0x28f040(0xaa)](_0x1dc4eb,this[_0x28f040(0xac)],_0x28f040(0x8f)),_0x14850f=!0x0));const _0x3cfe2b={'id':_0x3a3a5c,'reference':_0x4d7b07,'definition':_0x1dc4eb},_0x218e99=I(this[_0x28f040(0x8e)][_0x28f040(0xd2)],this[_0x28f040(0x99)],_0x4d7b07);this[_0x28f040(0x99)][_0x28f040(0xbb)](_0x218e99,0x0,_0x3cfe2b);let _0x3b1e1f=_0x218e99;return-0x1!==_0x4c31c0&&(_0x3b1e1f=Math[_0x28f040(0xaf)](_0x218e99,_0x4c31c0)),this[_0x28f040(0xe7)](_0x33dbdb,_0x3b1e1f)&&(_0x14850f=!0x0),_0x14850f;}[_0xe89ac7(0xb8)](_0x37986e,_0x528cce){const _0x345845=_0xe89ac7,_0x2c1ff4=this[_0x345845(0x99)][_0x345845(0xb1)](_0x372f79=>_0x372f79['id']===_0x528cce);if(-0x1===_0x2c1ff4)return!0x1;let _0xc4a091=!0x1;const _0x381e86=this[_0x345845(0x99)][_0x2c1ff4];return _0x345845(0xe8)!==_0x381e86[_0x345845(0xea)][_0x345845(0xb0)][_0x345845(0xad)]&&(_0x37986e[_0x345845(0x8d)](_0x381e86[_0x345845(0xea)]),_0xc4a091=!0x0),this[_0x345845(0x99)][_0x345845(0xbb)](_0x2c1ff4,0x1),this[_0x345845(0xe7)](_0x37986e,_0x2c1ff4)&&(_0xc4a091=!0x0),_0xc4a091;}[_0xe89ac7(0xb9)](_0x39b52a,_0x374878){const _0x134131=_0xe89ac7,_0xdf20b2=_0x374878[_0x134131(0x9c)](_0x134131(0xbc)),_0x47220e=this[_0x134131(0x99)][_0x134131(0xb1)](_0x382087=>_0x382087['id']===_0xdf20b2),_0x3a9360=this[_0x134131(0x99)][_0x47220e];let _0x205883=!0x1;_0x3a9360[_0x134131(0x91)]=_0x374878,this[_0x134131(0x99)][_0x134131(0xbb)](_0x47220e,0x1);const _0x3a33ea=I(this[_0x134131(0x8e)][_0x134131(0xd2)],this[_0x134131(0x99)],_0x374878);return this[_0x134131(0x99)][_0x134131(0xbb)](_0x3a33ea,0x0,_0x3a9360),this[_0x134131(0xe7)](_0x39b52a,Math[_0x134131(0xaf)](_0x47220e,_0x3a33ea))&&(_0x205883=!0x0),_0x205883;}[_0xe89ac7(0xc7)](_0x61679f,_0x3cd80c){const _0x26c502=_0xe89ac7;if(!this[_0x26c502(0xac)])return!0x1;const _0x5f55db=this[_0x26c502(0x99)][_0x3cd80c];let _0x47ddcb;return _0x47ddcb=this[_0x26c502(0xeb)]?this[_0x26c502(0xeb)]({'footnote':_0x5f55db,'container':this[_0x26c502(0xac)],'digits':String(this[_0x26c502(0x99)][_0x26c502(0xc6)])[_0x26c502(0xc6)],'value':_0x3cd80c+0x1}):String(_0x3cd80c+0x1),_0x5f55db[_0x26c502(0x91)][_0x26c502(0x9c)](_0x26c502(0xbe))!=_0x47ddcb&&(_0x61679f[_0x26c502(0xd1)](_0x26c502(0xbe),_0x47ddcb,_0x5f55db[_0x26c502(0x91)]),!0x0);}[_0xe89ac7(0xb6)](_0x736a08){const _0x51c4f7=_0xe89ac7;if(!this[_0x51c4f7(0xac)]||this[_0x51c4f7(0x99)][_0x51c4f7(0xc6)]<0x2)return!0x1;if(function(_0x312950,_0x11fc85){const _0x8878b8=_0x51c4f7;if(_0x312950[_0x8878b8(0xc6)]!==_0x11fc85[_0x8878b8(0xc6)])return!0x1;for(let _0x149a79=0x0;_0x149a79<_0x312950[_0x8878b8(0xc6)];_0x149a79++)if(_0x312950[_0x149a79]!==_0x11fc85[_0x149a79])return!0x1;return!0x0;}(this[_0x51c4f7(0x99)][_0x51c4f7(0xe0)](_0x2fde7b=>_0x2fde7b['id']),Array[_0x51c4f7(0xef)](this[_0x51c4f7(0xac)][_0x51c4f7(0xd5)]())[_0x51c4f7(0xe0)](_0x3d5688=>_0x3d5688[_0x51c4f7(0x9c)](_0x51c4f7(0xbc)))))return!0x1;let _0x5762e0=!0x1;for(let _0x2109e0=0x0;_0x2109e0<this[_0x51c4f7(0x99)][_0x51c4f7(0xc6)];_0x2109e0++){const _0x129b94=this[_0x51c4f7(0x99)][_0x2109e0],_0x49ce32=_0x736a08[_0x51c4f7(0xe1)](_0x129b94[_0x51c4f7(0xea)]),_0x7c113e=_0x736a08[_0x51c4f7(0xae)](this[_0x51c4f7(0xac)],_0x2109e0);_0x49ce32[_0x51c4f7(0x97)](_0x7c113e)||(_0x736a08[_0x51c4f7(0xb4)](_0x736a08[_0x51c4f7(0xda)](_0x129b94[_0x51c4f7(0xea)]),_0x7c113e),_0x5762e0=!0x0);}return _0x5762e0;}[_0xe89ac7(0xf2)](_0x373e79){const _0x2d560c=_0xe89ac7;if(!this[_0x2d560c(0x99)][_0x2d560c(0xc6)])return!0x1;const {model:_0x8a123a}=this[_0x2d560c(0x8e)];let _0x5cc973=!0x1;for(let _0x32daa9=0x0;_0x32daa9<this[_0x2d560c(0x99)][_0x2d560c(0xc6)]-0x1;_0x32daa9++){const _0x38a447=this[_0x2d560c(0x99)][_0x32daa9],_0xf356f7=this[_0x2d560c(0x99)][_0x32daa9+0x1],_0x264832=_0x8a123a[_0x2d560c(0xe1)](_0x38a447[_0x2d560c(0x91)]),_0x1965c3=_0x8a123a[_0x2d560c(0xe1)](_0xf356f7[_0x2d560c(0x91)]);_0x2d560c(0xa2)===_0x264832[_0x2d560c(0xdb)](_0x1965c3)&&(this[_0x2d560c(0xb9)](_0x373e79,_0x38a447[_0x2d560c(0x91)]),_0x32daa9=-0x1,_0x5cc973=!0x0);}return _0x5cc973;}}function _(_0x512669,_0x2e37f6,_0x40750f){const _0x11ec98=_0xe89ac7;if(_0x40750f[_0x11ec98(0xcb)])return!0x1;const _0x19c9a6=_0x2e37f6?_0x11ec98(0xe2):_0x11ec98(0xde);return _0x512669[_0x11ec98(0xaa)](_0x512669[_0x11ec98(0xc8)](_0x19c9a6),_0x40750f),!0x0;}function _0x59aa(){const _0x463395=['move','72YjJxGl','_sortFootnoteDefinitions','_footnoteRefsTracker','_handleRemoveFootnoteReferenceById','_handleMovedFootnoteReference','listenTo','splice','footnoteId','push','footnoteCounter','6315090HXvLdV','registerPostFixer','init','config','document','getFootnote','5885173BdyEVw','length','_updateFootnoteRefCounter','createElement','109506Bcldua','getFootnotesDefinitionsObjectElement','childCount','differ','403174lLGEPw','footnotes.multiBlock','low','footnoteDefinition','setAttribute','model','set','getRootNames','getChildren','isOfficialPlugin','_handleInsertedFootnoteReference','has','unshift','createRangeOn','compareWith','_handleFootnotesDefinitionsObjectSync','_insertEmptyFootnotesDefinitionsContainer','footnoteInlineContent','footnotesDefinitions','map','createPositionBefore','paragraph','some','4xokIfa','parent','createRangeIn','_updateFootnotesCounters','$graveyard','310jrnQXM','definition','_footnoteFormatter','indexOf','101016AqmvCx','pluginName','from','getFootnotes','getFootnotesFormatter','_ensureFootnotesReferencesHaveProperOrder','remove','editor','end','high','reference','_handleFootnoteReferencesChanges','append','27860965XbchWq','3563736HWuaZJ','_handleFootnotesDefinitionsObjectChanges','isEqual','find','_footnotes','singleton','_footnoteDefsContainerTracker','getAttribute','enqueueChange','_ensureFootnotesDefinitionsContainerExists','_footnoteDefsTracker','18pmIEIh','reset','after','change:data','getChanges','get','FootnotesTracker','footnoteRef','_handleFootnoteDefinitionsChanges','isPremiumPlugin','insert','setFootnoteFormatter','_footnotesDefinitions','rootName','createPositionAt','min','root','findIndex','add','before'];_0x59aa=function(){return _0x463395;};return _0x59aa();}function I(_0x82b478,_0x541825,_0x5d63da){const _0x428ab7=_0xe89ac7;if(0x0===_0x541825[_0x428ab7(0xc6)])return 0x0;const _0x4010f9=_0x82b478[_0x428ab7(0xe1)](_0x5d63da);for(let _0x45333e=0x0;_0x45333e<_0x541825[_0x428ab7(0xc6)];_0x45333e++){const _0x4d3abe=_0x541825[_0x45333e],_0x4c3785=_0x82b478[_0x428ab7(0xe1)](_0x4d3abe[_0x428ab7(0x91)]);if(_0x428ab7(0xb3)===_0x4010f9[_0x428ab7(0xdb)](_0x4c3785))return _0x45333e;}const _0x5bb2e6=_0x5d63da[_0x428ab7(0xb0)];let _0x2bc23f=-0x1;for(let _0x9faa4f=_0x541825[_0x428ab7(0xc6)]-0x1;_0x9faa4f>=0x0;_0x9faa4f--)if(_0x541825[_0x9faa4f][_0x428ab7(0x91)][_0x428ab7(0xb0)]===_0x5bb2e6){_0x2bc23f=_0x9faa4f;break;}if(-0x1!==_0x2bc23f)return _0x2bc23f+0x1;const _0x1dee6b=_0x82b478[_0x428ab7(0xc3)][_0x428ab7(0xd4)](),_0x3e9ca0=_0x1dee6b[_0x428ab7(0xec)](_0x5bb2e6[_0x428ab7(0xad)]),_0x2329e1=_0x1dee6b[_0x3e9ca0+0x1];if(_0x2329e1){for(let _0x349160=0x0;_0x349160<_0x541825[_0x428ab7(0xc6)];_0x349160++)if(_0x541825[_0x349160][_0x428ab7(0x91)][_0x428ab7(0xb0)][_0x428ab7(0xad)]===_0x2329e1)return _0x349160;}return _0x541825[_0x428ab7(0xc6)];}
|
package/src/footnotesui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{ButtonView as
|
|
23
|
+
import{ButtonView as _0x5e876c,MenuBarMenuListItemButtonView as _0x1c7c13}from'ckeditor5/src/ui.js';import{Plugin as _0x2e6bd4}from'ckeditor5/src/core.js';import{IconFootnote as _0x124afb}from'ckeditor5/src/icons.js';import'../theme/footnotes.css';export class FootnotesUI extends _0x2e6bd4{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x401ba5}=this,{componentFactory:_0x590375}=_0x401ba5['ui'];_0x590375['add']('insertFootnote',x(_0x401ba5,_0x5e876c)),_0x590375['add']('menuBar:insertFootnote',x(_0x401ba5,_0x1c7c13)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x38c850=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x4107ee;for(const _0x29e061 in _0x38c850){const _0x2d7f92=_0x29e061,_0x2b74bb=_0x38c850[_0x2d7f92];if('footnotesLicenseKeyValid'==_0x2b74bb||'footnotesLicenseKeyInvalid'==_0x2b74bb||'footnotesLicenseKeyExpired'==_0x2b74bb||'footnotesLicenseKeyDomainLimit'==_0x2b74bb||'footnotesLicenseKeyNotAllowed'==_0x2b74bb||'footnotesLicenseKeyEvaluationLimit'==_0x2b74bb||'footnotesLicenseKeyTrialLimit'==_0x2b74bb||'footnotesLicenseKeyUsageLimit'==_0x2b74bb){delete _0x38c850[_0x2d7f92],_0x4107ee=_0x2b74bb,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x4107ee&&_0x38c850['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x4107ee&&_0x38c850['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x4107ee&&_0x38c850['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x4107ee&&_0x38c850['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x4107ee&&_0x38c850['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyTrialLimit'==_0x4107ee&&_0x38c850['_showLicenseError']('trialLimit'),'footnotesLicenseKeyUsageLimit'==_0x4107ee&&_0x38c850['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function x(_0x2499dc,_0x36b39e){const _0x11f624=_0x2499dc['commands']['get']('insertFootnote');return _0x2678a1=>{const {t:t}=_0x2678a1,_0x22c6b0=new _0x36b39e(_0x2678a1),_0x10e2d7=_0x22c6b0 instanceof _0x1c7c13;return _0x22c6b0['bind']('isEnabled')['to'](_0x11f624,'isEnabled'),_0x22c6b0['set']({'label':t(_0x10e2d7?'Footnote':'Insert\x20footnote'),'icon':_0x124afb,'tooltip':!0x0}),_0x22c6b0['on']('execute',()=>{_0x11f624['execute'](),_0x2499dc['editing']['view']['focus']();}),_0x22c6b0;};}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x333327,_0x54796c){var _0x4dfabf=_0x23f4,_0x1337b5=_0x333327();while(!![]){try{var _0x39a9c8=parseInt(_0x4dfabf(0xef))/0x1+-parseInt(_0x4dfabf(0xeb))/0x2+-parseInt(_0x4dfabf(0xed))/0x3+parseInt(_0x4dfabf(0xe9))/0x4*(-parseInt(_0x4dfabf(0xea))/0x5)+parseInt(_0x4dfabf(0xe7))/0x6*(parseInt(_0x4dfabf(0xf1))/0x7)+-parseInt(_0x4dfabf(0xe8))/0x8*(-parseInt(_0x4dfabf(0xec))/0x9)+-parseInt(_0x4dfabf(0xee))/0xa*(-parseInt(_0x4dfabf(0xf0))/0xb);if(_0x39a9c8===_0x54796c)break;else _0x1337b5['push'](_0x1337b5['shift']());}catch(_0x1e45f9){_0x1337b5['push'](_0x1337b5['shift']());}}}(_0x526f,0x21902));import'./augmentation.js';function _0x526f(){var _0x3a6464=['332bfiShd','15565tePbsi','339238qCRQCO','9909rkrkuB','675087osxcFc','2959750YBNMOz','239283iMTMgD','11icrOxl','84LTdJSN','112758bJrQhR','216JcsAdx'];_0x526f=function(){return _0x3a6464;};return _0x526f();}export{Footnotes}from'./footnotes.js';export{FootnotesEditing}from'./footnotesediting.js';export{FootnotesClipboard}from'./footnotesclipboard.js';export{FootnotesUI}from'./footnotesui.js';export{InsertFootnoteCommand}from'./commands/insertfootnotecommand.js';export{FootnotesTracker}from'./footnotestracker.js';export{FootnotesStyleCommand}from'./footnotesproperties/commands/footnotesstylecommand.js';function _0x23f4(_0x34dcda,_0x3227d1){var _0x526f25=_0x526f();return _0x23f4=function(_0x23f477,_0x5d6082){_0x23f477=_0x23f477-0xe7;var _0x53d582=_0x526f25[_0x23f477];return _0x53d582;},_0x23f4(_0x34dcda,_0x3227d1);}export{FootnotesStartCommand}from'./footnotesproperties/commands/footnotesstartcommand.js';export{FootnotesPropertiesEditing}from'./footnotesproperties/footnotespropertiesediting.js';export{FootnotesPropertiesUI}from'./footnotesproperties/footnotespropertiesui.js';export{FootnotesProperties}from'./footnotesproperties.js';
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x472312=_0xd51a;(function(_0x41fbbd,_0x280f6d){const _0x14644c=_0xd51a,_0x4610c7=_0x41fbbd();while(!![]){try{const _0x58d1f7=parseInt(_0x14644c(0x9b))/0x1+-parseInt(_0x14644c(0xae))/0x2+parseInt(_0x14644c(0xab))/0x3+-parseInt(_0x14644c(0x87))/0x4+parseInt(_0x14644c(0xa2))/0x5+-parseInt(_0x14644c(0x98))/0x6*(parseInt(_0x14644c(0x8a))/0x7)+parseInt(_0x14644c(0xa9))/0x8*(parseInt(_0x14644c(0xa1))/0x9);if(_0x58d1f7===_0x280f6d)break;else _0x4610c7['push'](_0x4610c7['shift']());}catch(_0x26d52e){_0x4610c7['push'](_0x4610c7['shift']());}}}(_0x1d0f,0x46c67));export class ModelElementTracker{[_0x472312(0xa6)];[_0x472312(0xac)];[_0x472312(0x9d)];[_0x472312(0x86)]=new Map();constructor(_0xe3623c,_0x37b2cf){const _0x32deaf=_0x472312;this[_0x32deaf(0xa6)]=_0xe3623c,this[_0x32deaf(0xac)]=_0x37b2cf[_0x32deaf(0xa3)],this[_0x32deaf(0x9d)]=_0x37b2cf[_0x32deaf(0x97)];}[_0x472312(0x9c)](){const _0x5608c6=_0x472312;this[_0x5608c6(0x86)][_0x5608c6(0xa8)]();}[_0x472312(0x92)](_0x8bb539){const _0x1639a1=_0x472312,_0x261303=new Set(),_0x5d5315=new Map();for(const _0x586c70 of _0x8bb539){if(_0x1639a1(0x95)===_0x586c70[_0x1639a1(0xad)]&&_0x1639a1(0xaa)!==_0x586c70[_0x1639a1(0x8f)]&&_0x586c70[_0x1639a1(0xa5)][_0x1639a1(0x8b)]){const _0x54dcdb=this[_0x1639a1(0xa6)][_0x1639a1(0x90)](_0x586c70[_0x1639a1(0xa5)][_0x1639a1(0x8b)]);for(const _0x15cc13 of _0x54dcdb[_0x1639a1(0x85)]()){if(!_0x15cc13['is'](_0x1639a1(0x9e),this[_0x1639a1(0xac)]))continue;const _0x148f27=this[_0x1639a1(0x9d)](_0x15cc13);_0x5d5315[_0x1639a1(0x8d)](_0x148f27)||_0x5d5315[_0x1639a1(0xa4)](_0x148f27,[]),_0x5d5315[_0x1639a1(0xa0)](_0x148f27)[_0x1639a1(0x94)](_0x15cc13);}}if(_0x1639a1(0x88)===_0x586c70[_0x1639a1(0xad)]&&_0x586c70[_0x1639a1(0x8f)]===this[_0x1639a1(0xac)]){const _0x1fab0d=this[_0x1639a1(0x9d)]({'getAttribute':_0x5cf824=>_0x586c70[_0x1639a1(0x96)][_0x1639a1(0xa0)](_0x5cf824)});_0x261303[_0x1639a1(0x93)](_0x1fab0d);}}for(const [_0x4668f2,_0x7f48e9]of this[_0x1639a1(0x86)])_0x1639a1(0x89)===_0x7f48e9[_0x1639a1(0x8c)][_0x1639a1(0x9a)]&&_0x261303[_0x1639a1(0x93)](_0x4668f2);for(const _0x2d87ba of _0x261303)this[_0x1639a1(0x86)][_0x1639a1(0x99)](_0x2d87ba);for(const [_0x1e3387,_0x3eb025]of _0x5d5315)this[_0x1639a1(0x86)][_0x1639a1(0xa4)](_0x1e3387,_0x3eb025[_0x3eb025[_0x1639a1(0x8e)]-0x1]);const _0xb54da6=new Set();for(const [_0x5be81a,_0x599be7]of _0x5d5315)_0x261303[_0x1639a1(0x8d)](_0x5be81a)&&(_0xb54da6[_0x1639a1(0x93)](_0x599be7[0x0]),_0x599be7[_0x1639a1(0x8e)]>0x1?_0x5d5315[_0x1639a1(0xa4)](_0x5be81a,_0x599be7[_0x1639a1(0xaf)](0x1)):_0x5d5315[_0x1639a1(0x99)](_0x5be81a),_0x261303[_0x1639a1(0x99)](_0x5be81a));return{'removed':Array[_0x1639a1(0xa7)](_0x261303),'inserted':Array[_0x1639a1(0xa7)](_0x5d5315[_0x1639a1(0x91)]())[_0x1639a1(0x9f)](),'moved':Array[_0x1639a1(0xa7)](_0xb54da6)};}}function _0xd51a(_0x1fe4f9,_0x241621){const _0x1d0fef=_0x1d0f();return _0xd51a=function(_0xd51ab3,_0x53febb){_0xd51ab3=_0xd51ab3-0x85;let _0x2f0a55=_0x1d0fef[_0xd51ab3];return _0x2f0a55;},_0xd51a(_0x1fe4f9,_0x241621);}function _0x1d0f(){const _0x1b55a6=['clear','31432UyVAXB','$text','1016118xMIgTo','_elementName','type','192658txHgfo','slice','getItems','_trackedElements','152104VFDbkm','remove','$graveyard','287952RUSdzt','nodeAfter','root','has','length','name','createRangeOn','values','getChanges','add','push','insert','attributes','getElementKey','72pjNzEu','delete','rootName','83186dOZErk','reset','_getElementKey','element','flat','get','1116sgNZJi','43970MwqkkU','elementName','set','position','_model','from'];_0x1d0f=function(){return _0x1b55a6;};return _0x1d0f();}
|
package/theme/footnotes.css
CHANGED
|
@@ -70,6 +70,12 @@
|
|
|
70
70
|
margin-bottom: 0;
|
|
71
71
|
}
|
|
72
72
|
|
|
73
|
+
/*
|
|
74
|
+
* Footnotes use an ordered list to represent footnote definitions.
|
|
75
|
+
* The problem is that if we insert a list inside a footnote definition, the numbering of the
|
|
76
|
+
* nested list should have the decimal style instead of the lower-latin style. It's lower-latin
|
|
77
|
+
* because we place an ordered list inside another ordered list. It does not affect unordered lists.
|
|
78
|
+
*/
|
|
73
79
|
& ol {
|
|
74
80
|
list-style-type: decimal;
|
|
75
81
|
}
|
|
@@ -89,22 +95,6 @@
|
|
|
89
95
|
& ol ol ol ol ol {
|
|
90
96
|
list-style-type: upper-roman;
|
|
91
97
|
}
|
|
92
|
-
|
|
93
|
-
& ul {
|
|
94
|
-
list-style-type: disc;
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
& ul ul {
|
|
98
|
-
list-style-type: circle;
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
& ul ul ul {
|
|
102
|
-
list-style-type: square;
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
& ul ul ul ul {
|
|
106
|
-
list-style-type: square;
|
|
107
|
-
}
|
|
108
98
|
}
|
|
109
99
|
}
|
|
110
100
|
|