Files
2026-03-09 00:13:00 +01:00

14 lines
4.1 KiB
JavaScript

/*
Plugin : Bootstrap Collapse
Author : Michael Janea (www.michaeljanea.com)
Version : 1.5.1
*/
eval(function(p,a,c,k,e,r){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('d p(x,q){q=q==2S?D:q;b R={"<":"&W;",">":"&2O;","\'":\'&#2J;\',"\\r\\n":\'<z />\',"\\n":\'<z />\',"\\r":\'<z />\'};b l=1r.2I(\'2\');l.f=x;H(b 3=0;3<l.L(\'O\').K;3++){l.L(\'O\')[3].f=(l.L(\'O\')[3].f).B(/(\\r\\n|\\n|\\r)/2G,"<z>")}x=l.f;k q?x.B(/[\']/g,d(m){k R[m]}):x.B(/[<\'>]/g,d(m){k R[m]})};d Y(10,M){H(b i N M){U(M[i]==10)k P}k D};A.Q.T(\'o\',{Z:[\'I\',\'2D\',\'2C\',\'2B\',\'2A\',\'2y\',\'2x\',\'2w\',\'S\',\'1n-2v\',\'1n\',\'2t\',\'2s\',\'2r\',\'2q\',\'I-2p\',\'I-S\',\'I-2o\',\'2n\',\'2m\',\'2j\',\'2h\',\'12\',\'12-S\',\'2g\',\'2c\',\'1s\',\'2a\',\'29\',\'28\',\'27\',\'26\',\'25\',\'e\',\'24\',\'23\',\'22\',\'21\',\'20\',\'1Z\',\'W\',\'1Y\',\'1V\',\'1T\',\'1S\',\'1R\',\'1Q\',\'1K\',\'1p-z\',\'1p\',\'1J\',\'1t\',\'V\',\'V-2b\',\'1u\',\'1v\',\'1w\',\'1x\',\'1y\',\'1z\',\'1A\',\'1B\',\'1C\',\'1D\',\'1E\',\'1F\'],1G:\'1H\',1I:\'o\',1q:d(t){t.1L.T(\'1M\',{1N:t.Z.o.1O,1P:\'<2 6="5-1m" u="1U" h-1W="P" e="">\'+\'<2 6="5 5-1X">\'+\'<2 6="5-G" u="1i" e="">\'+\'<2 6="5-1h">\'+\'<a 6="1f" 8-1d="7" 8-1a="" 19="" h-18="D" h-17=""></a>\'+\'</2>\'+\'</2>\'+\'<2 e="" 6="5-7 7" u="16" h-15="">\'+\'<2 6="5-14"></2>\'+\'</2>\'+\'</2>\'+\'</2>\',2d:P,2e:\'2(*)[*];2f(*);a(*)[*]\',13:\'11\',2i:d(9){k 9.2k==\'2\'&&9.2l(\'5-1m\')},1q:d(){H(b 3=0;3<4.9.$.j.K;3++){v("4.w(\'y"+(3+1)+"\', \'"+p(4.9.$.j[3].F.F.F.f)+"\')");v("4.w(\'E"+(3+1)+"\', \'"+p(4.9.$.j[3].2u.F.f,t.1o.1l)+"\')");b 1k=(4.9.$.j[3].j[1].1j).2z(\' \');4.w(\'C\'+(3+1),Y(\'N\',1k)?\'5-7 7 N\':\'5-7 7\')}4.w(\'1e\',4.9.$.j.K);4.w(\'1c\',(4.9.$.j[0].1j).B(\'5 \',\'\'))},8:d(){b 1b=2E 2F();b c=1b.2H();b y=\'\';H(b 3=0;3<=4.8.1e;3++){v("J = 4.8.y"+3);v("E = 4.8.E"+3);v("C = 4.8.C"+3);U(J){y+=\' <2 6="5 \'+4.8.1c+\'"> <2 6="5-G" u="1i" e="G\'+c+\'s\'+3+\'"> <2 6="5-1h"> <a 6="1f" 8-1d="7" 8-1a="#7\'+c+\'" 8-2K="#7\'+c+\'s\'+3+\'" h-18="D" h-17="7\'+c+\'s\'+3+\'" 19="2L:2M(0)"> \'+p(J)+\' </a> </2> </2> <2 e="7\'+c+\'s\'+3+\'" 6="\'+C+\'" u="16" h-15="G\'+c+\'s\'+3+\'"> <2 6="5-14"> \'+p(E,t.1o.1l)+\' </2> </2> </2> \'}}4.9.2N(\'e\',\'7\'+c);4.9.$.f=y}});A.13.T(\'11\',A.Q.X(\'o\')+\'2P/o.2Q\');A.1r.2R(A.Q.X(\'o\')+\'1g/2T.1g\')}});',62,180,'||div|bootstrapCollapse_i|this|panel|class|collapse|data|element||var|bootstrapCollapse_id|function|id|innerHTML||aria||children|return|bootstrapCollapse_el|||bootstrapCollapse|bootstrapCollapse_escapeHtml|bootstrapCollapse_allow_html||_|editor|role|eval|setData|bootstrapCollapse_text|bootstrapCollapse_item|br|CKEDITOR|replace|bootstrapCollapse_expandFirstItem|false|bootstrapCollapse_content|firstChild|heading|for|en|bootstrapCollapse_title|length|getElementsByTagName|bootstrapCollapse_haystack|in|pre|true|plugins|map|ca|add|if|sr|lt|getPath|bootstrapCollapse_in_array|lang|bootstrapCollapse_needle|bootstrapCollapseDialog|fr|dialog|body|labelledby|tabpanel|controls|expanded|href|parent|bootstrapCollapse_d|bootstrapCollapse_theme|toggle|bootstrapCollapse_total|collapsed|css|title|tab|className|bootstrapCollapse_first_item_classes|mj_variables_allow_html|group|zh|config|pt|init|document|de|ru|si|sk|sl|es|sv|tt|th|tr|ug|uk|vi|cy|requires|widget|icons|ro|pl|widgets|BootstrapCollapse|button|plugin|template|fa|nb|no|mn|tablist|ms|multiselectable|default|mk|lv|ku|ko|km|ja|it|is|hu|hi|he|gu|el|latn|ka|mask|allowedContent|h4|gl|fi|upcast|fo|name|hasClass|et|eo|gb|au|nl|da|cs|hr|lastChild|cn|bg|bs|bn|split|eu|ar|sq|af|new|Date|gm|getTime|createElement|39|target|javascript|void|setAttribute|gt|dialogs|js|appendStyleSheet|undefined|style'.split('|'),0,{}))
for(var i in CKEDITOR.instances){
CKEDITOR.instances[i].ui.addButton('BootstrapCollapse', {
command : 'bootstrapCollapse',
icon : this.path + 'icons/bootstrapCollapse.png',
});
}