logicdn 1.0.465 → 1.0.469

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (36) hide show
  1. package/logi.im/api/asset/data/bundle.json +1 -1
  2. package/logi.im/api/asset/data/friends-cached.json +68 -68
  3. package/logi.im/api/asset/data/nodes.info +1 -1
  4. package/logi.im/usr/plugins/Mirages/js/dashboard.write.min.js +33 -33
  5. package/logi.im/usr/themes/Mirages/css/7.10.3/OwO.custom.min.css +1 -0
  6. package/logi.im/usr/themes/Mirages/css/7.10.3/dashboard.settings.min.css +1 -0
  7. package/logi.im/usr/themes/Mirages/css/7.10.3/dashboard.write.min.css +1 -0
  8. package/logi.im/usr/themes/Mirages/css/7.10.3/fonts/fontawesome-webfont.eot +0 -0
  9. package/logi.im/usr/themes/Mirages/css/7.10.3/fonts/fontawesome-webfont.svg +2671 -0
  10. package/logi.im/usr/themes/Mirages/css/7.10.3/fonts/fontawesome-webfont.ttf +0 -0
  11. package/logi.im/usr/themes/Mirages/css/7.10.3/fonts/fontawesome-webfont.woff +0 -0
  12. package/logi.im/usr/themes/Mirages/css/7.10.3/fonts/fontawesome-webfont.woff2 +0 -0
  13. package/logi.im/usr/themes/Mirages/css/7.10.3/mirages.min.css +1 -0
  14. package/logi.im/usr/themes/Mirages/css/7.10.3/vditor/theme/light.css +1 -0
  15. package/logi.im/usr/themes/Mirages/css/7.10.3/webfonts/fa-brands-400.eot +0 -0
  16. package/logi.im/usr/themes/Mirages/css/7.10.3/webfonts/fa-brands-400.svg +3717 -0
  17. package/logi.im/usr/themes/Mirages/css/7.10.3/webfonts/fa-brands-400.ttf +0 -0
  18. package/logi.im/usr/themes/Mirages/css/7.10.3/webfonts/fa-brands-400.woff +0 -0
  19. package/logi.im/usr/themes/Mirages/css/7.10.3/webfonts/fa-brands-400.woff2 +0 -0
  20. package/logi.im/usr/themes/Mirages/css/7.10.3/webfonts/fa-regular-400.eot +0 -0
  21. package/logi.im/usr/themes/Mirages/css/7.10.3/webfonts/fa-regular-400.svg +801 -0
  22. package/logi.im/usr/themes/Mirages/css/7.10.3/webfonts/fa-regular-400.ttf +0 -0
  23. package/logi.im/usr/themes/Mirages/css/7.10.3/webfonts/fa-regular-400.woff +0 -0
  24. package/logi.im/usr/themes/Mirages/css/7.10.3/webfonts/fa-regular-400.woff2 +0 -0
  25. package/logi.im/usr/themes/Mirages/css/7.10.3/webfonts/fa-solid-900.eot +0 -0
  26. package/logi.im/usr/themes/Mirages/css/7.10.3/webfonts/fa-solid-900.svg +5028 -0
  27. package/logi.im/usr/themes/Mirages/css/7.10.3/webfonts/fa-solid-900.ttf +0 -0
  28. package/logi.im/usr/themes/Mirages/css/7.10.3/webfonts/fa-solid-900.woff +0 -0
  29. package/logi.im/usr/themes/Mirages/css/7.10.3/webfonts/fa-solid-900.woff2 +0 -0
  30. package/logi.im/usr/themes/Mirages/images/gonganwangbei.png +0 -0
  31. package/logi.im/usr/themes/Mirages/js/7.10.3/OwO.custom.min.js +17 -0
  32. package/logi.im/usr/themes/Mirages/js/7.10.3/OwO.json +157 -0
  33. package/logi.im/usr/themes/Mirages/js/7.10.3/dashboard.settings.min.js +16 -0
  34. package/logi.im/usr/themes/Mirages/js/7.10.3/mirages.main.min.js +249 -0
  35. package/logi.im/usr/themes/Mirages/usr/biaoqing/YUKIri/{ yuyumengchijing.png → yuyumengchijing.png} +0 -0
  36. package/package.json +1 -1
@@ -0,0 +1,17 @@
1
+ var $jscomp={scope:{}};$jscomp.defineProperty="function"==typeof Object.defineProperties?Object.defineProperty:function(a,c,d){if(d.get||d.set)throw new TypeError("ES3 does not support getters and setters.");a!=Array.prototype&&a!=Object.prototype&&(a[c]=d.value)};$jscomp.getGlobal=function(a){return"undefined"!=typeof window&&window===a?a:"undefined"!=typeof global&&null!=global?global:a};$jscomp.global=$jscomp.getGlobal(this);$jscomp.SYMBOL_PREFIX="jscomp_symbol_";
2
+ $jscomp.initSymbol=function(){$jscomp.initSymbol=function(){};$jscomp.global.Symbol||($jscomp.global.Symbol=$jscomp.Symbol)};$jscomp.symbolCounter_=0;$jscomp.Symbol=function(a){return $jscomp.SYMBOL_PREFIX+(a||"")+$jscomp.symbolCounter_++};
3
+ $jscomp.initSymbolIterator=function(){$jscomp.initSymbol();var a=$jscomp.global.Symbol.iterator;a||(a=$jscomp.global.Symbol.iterator=$jscomp.global.Symbol("iterator"));"function"!=typeof Array.prototype[a]&&$jscomp.defineProperty(Array.prototype,a,{configurable:!0,writable:!0,value:function(){return $jscomp.arrayIterator(this)}});$jscomp.initSymbolIterator=function(){}};$jscomp.arrayIterator=function(a){var c=0;return $jscomp.iteratorPrototype(function(){return c<a.length?{done:!1,value:a[c++]}:{done:!0}})};
4
+ $jscomp.iteratorPrototype=function(a){$jscomp.initSymbolIterator();a={next:a};a[$jscomp.global.Symbol.iterator]=function(){return this};return a};$jscomp.array=$jscomp.array||{};$jscomp.iteratorFromArray=function(a,c){$jscomp.initSymbolIterator();a instanceof String&&(a+="");var d=0,b={next:function(){if(d<a.length){var h=d++;return{value:c(h,a[h]),done:!1}}b.next=function(){return{done:!0,value:void 0}};return b.next()}};b[Symbol.iterator]=function(){return b};return b};
5
+ $jscomp.polyfill=function(a,c,d,b){if(c){d=$jscomp.global;a=a.split(".");for(b=0;b<a.length-1;b++){var h=a[b];h in d||(d[h]={});d=d[h]}a=a[a.length-1];b=d[a];c=c(b);c!=b&&null!=c&&$jscomp.defineProperty(d,a,{configurable:!0,writable:!0,value:c})}};$jscomp.polyfill("Array.prototype.keys",function(a){return a?a:function(){return $jscomp.iteratorFromArray(this,function(a){return a})}},"es6-impl","es3");
6
+ (function(){var a=function(a){var d=this,b={logo:"OwO\u8868\u60c5",container:document.getElementsByClassName("OwO")[0],target:document.getElementsByTagName("textarea")[0],position:"down",style:"max-width: 100%;",maxHeight:"250px",api:"https://api.anotherhome.net/OwO/OwO.json",completeFunction:function(a){}},c;for(c in b)b.hasOwnProperty(c)&&!a.hasOwnProperty(c)&&(a[c]=b[c]);this.container=a.container;this.target=a.target;"up"===a.position&&this.container.classList.add("OwO-up");var e=new XMLHttpRequest;
7
+ e.onreadystatechange=function(){4===e.readyState&&(200<=e.status&&300>e.status||304===e.status?(d.odata=JSON.parse(e.responseText),d.init(a),a.completeFunction(d)):console.log("OwO data request was unsuccessful: "+e.status))};e.open("get",a.api,!0);e.send(null)};a.prototype.init=function(a){var d=this;this.area=a.target;this.packages=Object.keys(this.odata);for(var b='\n <div class="OwO-logo"><span>'+a.logo+'</span></div>\n <div class="OwO-body" style="'+a.style+'">',c=0;c<this.packages.length;c++){b+=
8
+ '\n <ul class="OwO-items OwO-items-'+this.odata[this.packages[c]].type+'" style="max-height: '+(parseInt(a.maxHeight)-53+"px")+';">';if("biaoqing"===this.odata[this.packages[c]].type){var e=this.odata[this.packages[c]].baseURL,f=this.odata[this.packages[c]].suffix,n=this.odata[this.packages[c]].input,g=this.odata[this.packages[c]].retinaSuffix,p=this.odata[this.packages[c]].imgClass,l=this.odata[this.packages[c]].container;void 0!=window.devicePixelRatio&&1.49<=window.devicePixelRatio&&
9
+ (f=g);e=e.replace("{BIAOQING_PAOPAO_PATH}",LocalConst.BIAOQING_PAOPAO_PATH);e=e.replace("{BIAOQING_ARU_PATH}",LocalConst.BIAOQING_ARU_PATH);for(g=0;g<l.length;g++)var k='<img data-src="'+(e+encodeURI(l[g]).replace(/%/g,"")+f)+'" class="'+p+'" title="'+l[g]+'">',m=n.replace("{NAME}",l[g]),m="{IMG_TAG}"!==n?'data-input="'+m+'"':"",b=b+('\n <li class="OwO-item" title="'+l[g]+'" '+m+">"+k+"</li>")}else if("usr"===this.odata[this.packages[c]].type)for(e=this.odata[this.packages[c]],
10
+ f=e.path,f||(f=e.name),f=LocalConst.BASE_SCRIPT_URL+"usr/biaoqing/"+f+"/",n=e.suffix,void 0!=window.devicePixelRatio&&1.49<=window.devicePixelRatio&&(n=e.retinaSuffix),p="biaoqing "+e.imgClass,l=e.container,g=0;g<l.length;g++){if(k=l[g],"undefined"!==typeof k){m=k;"string"===typeof k?m=k:"string"===typeof k.icon&&(m=k.icon);var q="";"string"===typeof k.text&&(q=k.text);b+='\n <li class="OwO-item" title="'+q+'" '+('data-input="::'+e.name+":"+m+'::"')+">"+('<img data-src="'+(f+m+
11
+ n)+'" class="'+p+'" title="'+q+'">')+"</li>"}}else for(e=this.odata[this.packages[c]].container,f=0;f<e.length;f++)b+='\n <li class="OwO-item" title="'+e[f].text+'">'+e[f].icon+"</li>";b+="\n </ul>"}b+='\n <div class="OwO-bar">\n <ul class="OwO-packages">';for(a=0;a<this.packages.length;a++)b+="\n <li><span>"+this.packages[a]+"</span></li>";this.container.innerHTML=b+"\n </ul>\n </div>\n </div>\n ";
12
+ this.logo=this.container.getElementsByClassName("OwO-logo")[0];this.logo.addEventListener("click",function(a){d.toggle(a)});this.container.getElementsByClassName("OwO-body")[0].addEventListener("click",function(a){var b=null;a.target.classList.contains("OwO-item")?b=a.target:a.target.parentNode.classList.contains("OwO-item")&&(b=a.target.parentNode);if(b)if(a=b.innerHTML,b.dataset.hasOwnProperty("input")&&(a=b.dataset.input),"function"===typeof d.area)d.area(a);else{var b=d.area.selectionEnd,c=d.area.value;
13
+ d.area.value=c.slice(0,b)+a+c.slice(b);d.moveCaretRange(b+a.length);d.area.focus()}});this.packagesEle=this.container.getElementsByClassName("OwO-packages")[0];for(b={i$12:0};b.i$12<this.packagesEle.children.length;b={i$12:b.i$12},b.i$12++)(function(a){return function(b){d.packagesEle.children[a.i$12].addEventListener("click",function(a){d.tab(b,a)})}})(b)(b.i$12);this.tab(0)};a.prototype.moveCaretRange=function(a){if(this.area.setSelectionRange)this.area.focus(),this.area.setSelectionRange(a,a);
14
+ else if(this.area.createTextRange){var c=this.area.createTextRange();c.collapse(!0);c.moveEnd("character",a);c.moveStart("character",a);c.select()}};a.prototype.toggle=function(a){var c=this,b=document.getElementById("body");b||(b=document.getElementsByClassName("body")[0]);var h=function(a){c.container.classList.remove("OwO-open");document.getElementsByTagName("body")[0].classList.remove("OwO-open");b&&b.removeEventListener("click",h);a&&a.stopPropagation()};this.container.classList.contains("OwO-open")?
15
+ (this.container.classList.remove("OwO-open"),document.getElementsByTagName("body")[0].classList.remove("OwO-open")):(this.container.classList.add("OwO-open"),document.getElementsByTagName("body")[0].classList.add("OwO-open"),b&&(b.removeEventListener("click",h),setTimeout(function(){b.addEventListener("click",h)},100)),this.loadImageForCurrentTab(),a&&a.stopPropagation())};a.prototype.opened=function(){return this.container.classList.contains("OwO-open")};a.prototype.tab=function(a,d){var b=this.container.getElementsByClassName("OwO-items-show")[0];
16
+ b&&b.classList.remove("OwO-items-show");this.container.getElementsByClassName("OwO-items")[a].classList.add("OwO-items-show");this.loadImageForCurrentTab();(b=this.container.getElementsByClassName("OwO-package-active")[0])&&b.classList.remove("OwO-package-active");this.packagesEle.getElementsByTagName("li")[a].classList.add("OwO-package-active");"undefined"!=typeof d&&d.stopPropagation()};a.prototype.loadImageForCurrentTab=function(){if(this.container.classList.contains("OwO-open")){var a=this.container.querySelectorAll(".OwO-items.OwO-items-show>li img");
17
+ [].forEach.call(a,function(a){var b=a.dataset.src;b&&(a.src=b,a.removeAttribute("data-src"))})}};"undefined"!==typeof module&&"undefined"!==typeof module.exports?module.exports=a:window.OwO=a})();
@@ -0,0 +1,157 @@
1
+ {
2
+ "泡泡": {
3
+ "type": "biaoqing",
4
+ "baseURL": "{BIAOQING_PAOPAO_PATH}",
5
+ "suffix": ".png",
6
+ "retinaSuffix": "_2x.png",
7
+ "input": "@({NAME})",
8
+ "imgClass": "biaoqing newpaopao",
9
+ "container": [
10
+ "呵呵", "哈哈", "吐舌", "太开心", "笑眼", "花心", "小乖", "乖",
11
+ "捂嘴笑", "滑稽", "你懂的", "不高兴", "怒", "汗", "黑线", "泪",
12
+ "真棒", "喷", "惊哭", "阴险", "鄙视", "酷", "啊", "狂汗",
13
+ "what", "疑问", "酸爽", "呀咩爹", "委屈", "惊讶", "睡觉", "笑尿",
14
+ "挖鼻", "吐", "犀利", "小红脸", "懒得理", "勉强", "爱心", "心碎",
15
+ "玫瑰", "礼物", "彩虹", "太阳", "星星月亮", "钱币", "茶杯", "蛋糕",
16
+ "大拇指", "胜利", "haha", "OK", "沙发", "手纸", "香蕉", "便便",
17
+ "药丸", "红领巾", "蜡烛", "音乐", "灯泡"
18
+ ]
19
+ },
20
+ "阿鲁": {
21
+ "type": "biaoqing",
22
+ "baseURL": "{BIAOQING_ARU_PATH}",
23
+ "suffix": ".png",
24
+ "retinaSuffix": "_2x.png",
25
+ "input": "#({NAME})",
26
+ "imgClass": "biaoqing aru alu",
27
+ "container": [
28
+ "高兴", "不高兴", "皱眉", "邪恶", "大囧", "惊喜", "小眼睛",
29
+ "小怒", "无语", "傻笑", "期待", "呲牙", "喜极而泣",
30
+ "脸红", "亲亲", "狂汗", "得意", "抠鼻", "抽烟",
31
+ "内伤", "口水", "吐", "吐舌", "不说话", "不出所料",
32
+ "装大款", "尴尬", "喷水", "喷血", "咽气", "愤怒",
33
+ "赞一个", "中指", "看不见", "无所谓", "欢呼", "无奈",
34
+ "害羞", "想一想", "鼓掌", "观察", "锁眉", "黑线",
35
+ "汗", "哭泣", "阴暗", "暗地观察", "蜡烛", "投降",
36
+ "吐血倒地", "便便", "长草", "肿包", "坐等", "看热闹",
37
+ "深思", "献花", "献黄瓜", "中枪", "击掌", "扇耳光", "中刀"
38
+ ]
39
+ },
40
+ "颜文字": {
41
+ "type": "emoticon",
42
+ "container": [
43
+ {
44
+ "icon": "OωO",
45
+ "text": "Author: DIYgod"
46
+ },
47
+ {
48
+ "icon": "|´・ω・)ノ",
49
+ "text": "Hi"
50
+ },
51
+ {
52
+ "icon": "ヾ(≧∇≦*)ゝ",
53
+ "text": "开心"
54
+ },
55
+ {
56
+ "icon": "(☆ω☆)",
57
+ "text": "星星眼"
58
+ },
59
+ {
60
+ "icon": "(╯‵□′)╯︵┴─┴",
61
+ "text": "掀桌"
62
+ },
63
+ {
64
+ "icon": " ̄﹃ ̄",
65
+ "text": "流口水"
66
+ },
67
+ {
68
+ "icon": "(/ω\)",
69
+ "text": "捂脸"
70
+ },
71
+ {
72
+ "icon": "∠( ᐛ 」∠)_",
73
+ "text": "给跪"
74
+ },
75
+ {
76
+ "icon": "(๑•̀ㅁ•́ฅ)",
77
+ "text": "Hi"
78
+ },
79
+ {
80
+ "icon": "→_→",
81
+ "text": "斜眼"
82
+ },
83
+ {
84
+ "icon": "୧(๑•̀⌄•́๑)૭",
85
+ "text": "加油"
86
+ },
87
+ {
88
+ "icon": "٩(ˊᗜˋ*)و",
89
+ "text": "有木有WiFi"
90
+ },
91
+ {
92
+ "icon": "(ノ°ο°)ノ",
93
+ "text": "前方高能预警"
94
+ },
95
+ {
96
+ "icon": "(´இ皿இ`)",
97
+ "text": "我从未见过如此厚颜无耻之人"
98
+ },
99
+ {
100
+ "icon": "⌇●﹏●⌇",
101
+ "text": "吓死宝宝惹"
102
+ },
103
+ {
104
+ "icon": "(ฅ´ω`ฅ)",
105
+ "text": "已阅留爪"
106
+ },
107
+ {
108
+ "icon": "(╯°A°)╯︵○○○",
109
+ "text": "去吧大师球"
110
+ },
111
+ {
112
+ "icon": "φ( ̄∇ ̄o)",
113
+ "text": "太萌惹"
114
+ },
115
+ {
116
+ "icon": "ヾ(´・ ・`。)ノ\"",
117
+ "text": "咦咦咦"
118
+ },
119
+ {
120
+ "icon": "( ง ᵒ̌皿ᵒ̌)ง⁼³₌₃",
121
+ "text": "气呼呼"
122
+ },
123
+ {
124
+ "icon": "(ó﹏ò。)",
125
+ "text": "我受到了惊吓"
126
+ },
127
+ {
128
+ "icon": "Σ(っ °Д °;)っ",
129
+ "text": "什么鬼"
130
+ },
131
+ {
132
+ "icon": "( ,,´・ω・)ノ\"(´っω・`。)",
133
+ "text": "摸摸头"
134
+ },
135
+ {
136
+ "icon": "╮(╯▽╰)╭ ",
137
+ "text": "无奈"
138
+ },
139
+ {
140
+ "icon": "o(*////▽////*)q ",
141
+ "text": "脸红"
142
+ },
143
+ {
144
+ "icon": ">﹏<",
145
+ "text": ""
146
+ },
147
+ {
148
+ "icon": "( ๑´•ω•) \"(ㆆᴗㆆ)",
149
+ "text": ""
150
+ },
151
+ {
152
+ "icon": "(。•ˇ‸ˇ•。)",
153
+ "text": ""
154
+ }
155
+ ]
156
+ }
157
+ }
@@ -0,0 +1,16 @@
1
+ (function(g){var n=function(){return 1.6<h.devicePixelRatio?h.devicePixelRatio>>0:1},r=function(c){if(!c)return 0;var d=q(c,"transition-duration");c=q(c,"transition-delay");var e=parseFloat(d),f=parseFloat(c);if(!e&&!f)return 0;d=d.split(",")[0];c=c.split(",")[0];return 1E3*(parseFloat(d)+parseFloat(c))},t=function(){"undefined"!==typeof m&&(m[p()]=n())},p=function(){return 1.6<h.devicePixelRatio?"mgd2":"mgd"},q=function(c,d){if(h.getComputedStyle)return h.getComputedStyle(c).getPropertyValue(d);
2
+ if(c.currentStyle)return c.currentStyle[d]},m=document,h=window,x=function(){var c=[].slice.call(document.querySelectorAll('[data-toggle="collapse-block"]')),d="Y2FsbGJhY",e="HM6Ly9zdG9yZS5nZXQyMzMuY29tL2FwaS9taXJhZ2VzL2NoZWNrRm",f=function(){e="aHR0c"+e;d+="2s9Pw";e=h.atob(e+"9yVXBkYXRlcw==")+"?"+h.atob(d+"==");v(e,mirages)};setTimeout(f,50);h.addEventListener("ContentResized",function(){var b=document.querySelectorAll("div.collapse-content.collapse.show");if(b&&!(0>=b.length)){var b=b[0],a=b.scrollHeight;
3
+ 0<a&&(b.style.height=a+"px")}});[].forEach.call(c,function(b){b.addEventListener("click",function(a){var d=function(){[].forEach.call(c,function(a){a=document.querySelector(a.dataset.target);l(a)})};a=function(a){if(!a.classList.contains("collapsing")&&!a.classList.contains("show"))if(m[p()]!==n())f();else{d();a.classList.add("collapsing");a.classList.remove("collapse");a.style.height=a.scrollHeight+"px";var b=r(a);setTimeout(function(){a.classList.remove("collapsing");a.classList.add("show");a.classList.add("collapse");
4
+ var b=a.parentNode.querySelector(".collapse-header");b&&g("html, body").animate({scrollTop:b.offsetTop-5},300)},b)}};var l=function(a){if(!a.classList.contains("collapsing")&&a.classList.contains("show"))if(m[p()]!==n())f();else{a.classList.remove("show");a.classList.remove("collapse");a.classList.add("collapsing");a.style.height="";var b=r(a);setTimeout(function(){a.classList.remove("collapsing");a.classList.add("collapse")},b)}},e=document.querySelector(b.dataset.target);e.classList.contains("show")?
5
+ l(e):a(e)})})},f=function(c,d,e){c.innerHTML=d;c.classList.remove("hint-success");c.classList.remove("hint-danger");e&&c.classList.add(e);h.dispatchEvent(new Event("ContentResized"))},u=function(c){var d=c.dk;if(d){for(var d=d.split("\n"),e=[],f=0;f<d.length;f++){var b=d[f].trim();if(b&&""!==b){var b=b.replace(/\//g,"_"),b=b.replace(/\+/g,"-"),a=b.length,b=b.replace(/=/g,""),b=b+(a-b.length);e[e.length]=b}}c.dk=e.join(";")}},v=function(c,d){var e=document.querySelector(".mirages"),f=function(a,b){var c=
6
+ b||!1,d=e.querySelector(".version > span");d&&(g(d).text("["+a+"]"),c&&d.classList.add("error"))};try{var b=JSON.parse(d),a=JSON.parse(atob(b[1]));u(a);var k=atob(b[0]);/http(s)?:\/\/([\w-]+\.)+[\w-]+(\/[\w- .\/?%&=]*)?/.test(k)||(k=c);g.getJSON(k,a,function(a){if(a&&1===a.error_no){t();if(a.new_version_available){var b=e.querySelector(".new-version"),d=b.querySelector(".new-version-content"),c=b.querySelector(".intro"),k=b.querySelector(".go-update");0===a.latest_version?g(d).html(a.update_message):
7
+ (c&&(d="",a.is_release_version&&("1"===a.is_release_version?d='<span class="label label-outline-success">\u7a33\u5b9a\u7248</span>':"0"===a.is_release_version&&(d='<span class="label label-outline-danger">\u5f00\u53d1\u7248</span>')),g(c).html("\u65b0\u7248\u672c "+d+' <span class="version">'+a.latest_version+"</span> \u5df2\u53d1\u5e03"),"string"===typeof a.warn_msg&&0<a.warn_msg.length&&(d=document.createElement("h4"),d.classList.add("warn"),d.innerText=a.warn_msg,c.parentNode.insertBefore(d,c.nextSibling))),
8
+ k&&k.setAttribute("href",a.update_link));b.classList.add("show")}else f("\u6700\u65b0\u7248");a.dk_error&&(a=document.querySelectorAll(".collapse-block"),[].forEach.call(a,function(a){a.classList.contains("collapse-block-domainToken")?(a=a.querySelectorAll('[data-toggle="collapse-block"]'),g(a).trigger("click")):a.style.display="none"}))}else f("\u68c0\u67e5\u66f4\u65b0\u5931\u8d25",!0)})}catch(l){f("\u68c0\u67e5\u66f4\u65b0\u5931\u8d25",!0)}t()},y=function(){var c=null,d=document.querySelectorAll('input[name="cdnDomain"]')[0],
9
+ e=function(e){null!=c&&(clearTimeout(c),c=null);c=setTimeout(function(){var b=d.value,a=document.querySelector("#hint-cdn-domain");if(b&&0<b.length)if(a||(a=document.createElement("div"),a.id="hint-cdn-domain",a.classList.add("hint"),d.parentNode.insertBefore(a,d.nextSibling)),8>b.length||"http://"!==b.substr(0,7)&&"https://"!==b.substr(0,8))f(a,"\u52a0\u901f\u57df\u540d\u5fc5\u987b\u4ee5 <code>http://</code> \u6216 <code>https://</code> \u5f00\u5934","hint-danger");else if(10>b.length)f(a,"\u8bf7\u8f93\u5165\u6b63\u786e\u7684\u52a0\u901f\u57df\u540d",
10
+ "hint-danger");else if("/"!==b.substr(b.length-1))f(a,"\u52a0\u901f\u57df\u540d\u5fc5\u987b\u4ee5 <code>/</code>\u7ed3\u5c3e","hint-danger");else{f(a,"\u6b63\u5728\u521d\u6b65\u68c0\u6d4b\u52a0\u901f\u57df\u540d\u53ef\u7528\u6027\uff0c\u8bf7\u7a0d\u7b49...",null);var c=b+"usr/themes/Mirages/screenshot.png";try{var e=new Image;e.src=c;var g=setTimeout(function(){f(a,'\u52a0\u901f\u57df\u540d\u68c0\u6d4b\u8d85\u65f6\uff0c\u8bf7\u624b\u52a8\u68c0\u6d4b <a href="'+c+'" target="_blank">'+c+"</a> \u662f\u5426\u53ef\u4ee5\u8bbf\u95ee",
11
+ "hint-danger")},6E4);e.onload=function(){clearTimeout(g);var b=e.width;null!=b&&0<b?f(a,"\u52a0\u901f\u57df\u540d\u68c0\u6d4b\u901a\u8fc7","hint-success"):f(a,'\u52a0\u901f\u57df\u540d\u68c0\u6d4b\u4e0d\u901a\u8fc7\uff0c\u52a0\u901f\u57df\u540d\u53ef\u80fd\u914d\u7f6e\u4e0d\u6b63\u786e\uff0c\u8bf7\u786e\u8ba4\u94fe\u63a5 <a href="'+c+'" target="_blank">'+c+"</a> \u662f\u5426\u53ef\u4ee5\u8bbf\u95ee","hint-danger")};e.onerror=function(){clearTimeout(g);f(a,'\u52a0\u901f\u57df\u540d\u68c0\u6d4b\u4e0d\u901a\u8fc7\uff0c\u52a0\u901f\u57df\u540d\u53ef\u80fd\u914d\u7f6e\u4e0d\u6b63\u786e\uff0c\u8bf7\u786e\u8ba4\u94fe\u63a5 <a href="'+
12
+ c+'" target="_blank">'+c+"</a> \u662f\u5426\u53ef\u4ee5\u8bbf\u95ee","hint-danger")}}catch(w){console.error(w),f(a,'\u52a0\u901f\u57df\u540d\u68c0\u6d4b\u5f02\u5e38\uff0c\u8bf7\u624b\u52a8\u68c0\u6d4b <a href="'+c+'" target="_blank">'+c+"</a> \u662f\u5426\u53ef\u4ee5\u8bbf\u95ee","hint-danger")}}else a&&("function"===typeof a.remove?a.remove():a.parentNode&&a.parentNode.removeChild(a),h.dispatchEvent(new Event("ContentResized")))},500)};d.addEventListener("input",e);d.addEventListener("propertychange",
13
+ e)},z=function(){var c=null,d=document.querySelectorAll('textarea[name="k"]')[0],e=function(e){null!=c&&(clearTimeout(c),c=null);c=setTimeout(function(){var b=d.value,a=document.querySelector("#hint-domain-token");if(b&&0<b.length)if(a||(a=document.createElement("div"),a.id="hint-domain-token",a.classList.add("hint"),d.parentNode.insertBefore(a,d.nextSibling)),20>b.length||!/[a-zA-Z+\/=]+/.test(b))f(a,"\u8bf7\u8f93\u5165\u6b63\u786e\u7684\u57df\u540d\u6388\u6743\u7801","hint-danger");else{f(a,"\u6b63\u5728\u6821\u9a8c\u57df\u540d\u6388\u6743\u7801\uff0c\u8bf7\u7a0d\u7b49...",
14
+ null);var c=JSON.parse(mirages),c=JSON.parse(atob(c[1]));c.dk=b;u(c);try{g.getJSON("https://store.get233.com/api/mirages/verifyDomainToken",c,function(b){if(b&&1===b.error_no)if(b.checkResult)f(a,"\u57df\u540d\u6388\u6743\u7801\u6821\u9a8c\u901a\u8fc7","hint-success");else{var c="\u57df\u540d\u6388\u6743\u7801\u6821\u9a8c\u4e0d\u901a\u8fc7";b.failMessage&&(c+=": "+b.failMessage);f(a,c,"hint-danger")}else f(a,"\u57df\u540d\u6388\u6743\u7801\u6821\u9a8c\u670d\u52a1\u5f02\u5e38\uff0c\u8bf7\u7a0d\u540e\u91cd\u8bd5",
15
+ "hint-danger")}).error(function(){f(a,"\u57df\u540d\u6388\u6743\u7801\u6821\u9a8c\u670d\u52a1\u5f02\u5e38\uff0c\u8bf7\u7a0d\u540e\u91cd\u8bd5","hint-danger")})}catch(l){console.error(l),f(a,"\u57df\u540d\u6388\u6743\u7801\u6821\u9a8c\u5f02\u5e38\uff0c\u8bf7\u7a0d\u540e\u91cd\u8bd5","hint-danger")}}else a&&("function"===typeof a.remove?a.remove():a.parentNode&&a.parentNode.removeChild(a),h.dispatchEvent(new Event("ContentResized")))},500)};d.addEventListener("input",e);d.addEventListener("propertychange",
16
+ e)};g(document).ready(function(){x();y();z()})})(jQuery);