mycpen-blog 0.0.0-fyupepumck → 0.0.0-fyvdazuhhw
Sign up to get free protection for your applications and to get access to all the features.
- package/css/index.css +1 -1
- package/js/APlayer.js +2322 -1
- package/js/Meting.js +163 -1
- package/js/ali_font.js +112 -1
- package/js/custom.js +1325 -1
- package/js/fcircle.js +338 -1
- package/js/fcircle_manage_panel.js +31432 -6
- package/js/home_page_swiper.js +92 -1
- package/js/main.js +422 -1
- package/js/people.js +200 -1
- package/js/random.js +129 -1
- package/js/random_friends_post.js +110 -1
- package/js/search/algolia.js +102 -1
- package/js/search/local-search.js +210 -1
- package/js/tianli_gpt.js +147 -1
- package/js/ua_parser.js +1702 -1
- package/js/utils.js +203 -1
- package/js/waterfall.js +107 -1
- package/json/friend.json +1 -1
- package/json/link.json +1 -1
- package/lib/hbe.js +178 -1
- package/manifest.json +1 -1
- package/music1/js/APlayer.min.js +1606 -1
- package/music1/js/Meting2.min.js +178 -1
- package/music1/js/main.js +101 -1
- package/music1/main.css +1 -1
- package/music1/manifest.json +2 -2
- package/package.json +1 -1
- package/search.xml +47 -47
- package/sitemap.xml +90 -90
- package/wechatOA/main.css +1 -1
- package/wechatOA/main.js +45 -1
package/js/people.js
CHANGED
@@ -1 +1,200 @@
|
|
1
|
-
"use strict";function _toConsumableArray(e){return _arrayWithoutHoles(e)||_iterableToArray(e)||_unsupportedIterableToArray(e)||_nonIterableSpread()}function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _unsupportedIterableToArray(e,r){if(e){if("string"==typeof e)return _arrayLikeToArray(e,r);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?_arrayLikeToArray(e,r):void 0}}function _iterableToArray(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function _arrayWithoutHoles(e){if(Array.isArray(e))return _arrayLikeToArray(e)}function _arrayLikeToArray(e,r){(null==r||r>e.length)&&(r=e.length);for(var t=0,a=new Array(r);t<r;t++)a[t]=e[t];return a}function _classCallCheck(e,r){if(!(e instanceof r))throw new TypeError("Cannot call a class as a function")}function _defineProperties(e,r){for(var t=0;t<r.length;t++){var a=r[t];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function _createClass(e,r,t){return r&&_defineProperties(e.prototype,r),t&&_defineProperties(e,t),e}var peoplejs_mycpen1_config={src:"https://cdn.
|
1
|
+
"use strict";function _toConsumableArray(e){return _arrayWithoutHoles(e)||_iterableToArray(e)||_unsupportedIterableToArray(e)||_nonIterableSpread()}function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _unsupportedIterableToArray(e,r){if(e){if("string"==typeof e)return _arrayLikeToArray(e,r);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?_arrayLikeToArray(e,r):void 0}}function _iterableToArray(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function _arrayWithoutHoles(e){if(Array.isArray(e))return _arrayLikeToArray(e)}function _arrayLikeToArray(e,r){(null==r||r>e.length)&&(r=e.length);for(var t=0,a=new Array(r);t<r;t++)a[t]=e[t];return a}function _classCallCheck(e,r){if(!(e instanceof r))throw new TypeError("Cannot call a class as a function")}function _defineProperties(e,r){for(var t=0;t<r.length;t++){var a=r[t];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function _createClass(e,r,t){return r&&_defineProperties(e.prototype,r),t&&_defineProperties(e,t),e}var peoplejs_mycpen1_config={src:"https://cdn.cbd.int/mycpen-blog@0.0.0-fyvdazuhhw/img/open-peeps-sheet.png",rows:15,cols:7},randomRange=function(e,r){return e+Math.random()*(r-e)},randomIndex=function(e){return 0|randomRange(0,e.length)},removeFromArray=function(e,r){return e.splice(r,1)[0]},removeItemFromArray=function(e,r){return removeFromArray(e,e.indexOf(r))},removeRandomFromArray=function(e){return removeFromArray(e,randomIndex(e))},getRandomFromArray=function(e){return e[0|randomIndex(e)]},resetPeep=function(e){var r,t,a=e.stage,n=e.peep,o=.5<Math.random()?1:-1,i=100-250*gsap.parseEase("power2.in")(Math.random()),s=a.height-n.height+i;return 1==o?(r=-n.width,t=a.width,n.scaleX=1):(r=a.width+n.width,t=0,n.scaleX=-1),n.x=r,n.y=s,{startX:r,startY:n.anchorY=s,endX:t}},normalWalk=function(e){var r=e.peep,t=e.props,a=(t.startX,t.startY),n=t.endX,o=gsap.timeline();return o.timeScale(randomRange(.5,1.5)),o.to(r,{duration:10,x:n,ease:"none"},0),o.to(r,{duration:.25,repeat:40,yoyo:!0,y:a-10},0),o},walks=[normalWalk],Peep=function(){function e(r){var t=r.image,a=r.rect;_classCallCheck(this,e),this.image=t,this.setRect(a),this.x=0,this.y=0,this.anchorY=0,this.scaleX=1,this.walk=null}return _createClass(e,[{key:"setRect",value:function(e){this.rect=e,this.width=e[2],this.height=e[3],this.drawArgs=[this.image].concat(_toConsumableArray(e),[0,0,this.width,this.height])}},{key:"render",value:function(e){e.save(),e.translate(this.x,this.y),e.scale(this.scaleX,1),e.drawImage.apply(e,_toConsumableArray(this.drawArgs)),e.restore()}}]),e}(),img=document.createElement("img");img.onload=init,img.src=peoplejs_mycpen1_config.src;let canvas=document.querySelector("#peoplecanvas"),ctx=canvas?canvas.getContext("2d"):void 0,stage={width:0,height:0},allPeeps=[],availablePeeps=[],crowd=[];function init(){canvas&&(createPeeps(),resize(),gsap.ticker.add(render),window.addEventListener("resize",resize))}function createPeeps(){for(var e=peoplejs_mycpen1_config.rows,r=peoplejs_mycpen1_config.cols,t=e*r,a=img.naturalWidth/e,n=img.naturalHeight/r,o=0;o<t;o++)allPeeps.push(new Peep({image:img,rect:[o%e*a,(o/e|0)*n,a,n]}))}function resize(){canvas&&0!=canvas.clientWidth&&(stage.width=canvas.clientWidth,stage.height=canvas.clientHeight,canvas.width=stage.width*devicePixelRatio,canvas.height=stage.height*devicePixelRatio,crowd.forEach((function(e){e.walk.kill()})),crowd.length=0,availablePeeps.length=0,availablePeeps.push.apply(availablePeeps,allPeeps),initCrowd())}function initCrowd(){for(;availablePeeps.length;)addPeepToCrowd().walk.progress(Math.random())}function addPeepToCrowd(){var e=removeRandomFromArray(availablePeeps),r=getRandomFromArray(walks)({peep:e,props:resetPeep({peep:e,stage:stage})}).eventCallback("onComplete",(function(){removePeepFromCrowd(e),addPeepToCrowd()}));return e.walk=r,crowd.push(e),crowd.sort((function(e,r){return e.anchorY-r.anchorY})),e}function removePeepFromCrowd(e){removeItemFromArray(crowd,e),availablePeeps.push(e)}function render(){canvas&&(canvas.width=canvas.width,ctx.save(),ctx.scale(devicePixelRatio,devicePixelRatio),crowd.forEach((function(e){e.render(ctx)})),ctx.restore())}document.addEventListener("pjax:success",(e=>{canvas=document.querySelector("#peoplecanvas"),ctx=canvas?canvas.getContext("2d"):void 0,window.removeEventListener("resize",resize),gsap.ticker.remove(render),setTimeout((()=>{init()}),300)})); (_0x5a70d2) {
|
2
|
+
return _0x5a70d2[0x0 | randomIndex(_0x5a70d2)];
|
3
|
+
}, resetPeep = function (_0x24d2ae) {
|
4
|
+
var _0x4f406e = _0x57f3bf, _0x27fec4, _0x55ef47, _0x55b4f5 = _0x24d2ae[_0x4f406e(0x14e)], _0x348b58 = _0x24d2ae[_0x4f406e(0x175)], _0x166239 = 0.5 < Math[_0x4f406e(0x152)]() ? 0x1 : -0x1, _0x3863bb = 0x64 - 0xfa * gsap['parseEase'](_0x4f406e(0x14c))(Math[_0x4f406e(0x152)]()), _0x504bf4 = _0x55b4f5[_0x4f406e(0x146)] - _0x348b58[_0x4f406e(0x146)] + _0x3863bb;
|
5
|
+
return 0x1 == _0x166239 ? (_0x27fec4 = -_0x348b58['width'], _0x55ef47 = _0x55b4f5['width'], _0x348b58[_0x4f406e(0x13c)] = 0x1) : (_0x27fec4 = _0x55b4f5[_0x4f406e(0x16b)] + _0x348b58[_0x4f406e(0x16b)], _0x55ef47 = 0x0, _0x348b58['scaleX'] = -0x1), _0x348b58['x'] = _0x27fec4, _0x348b58['y'] = _0x504bf4, {
|
6
|
+
'startX': _0x27fec4,
|
7
|
+
'startY': _0x348b58['anchorY'] = _0x504bf4,
|
8
|
+
'endX': _0x55ef47
|
9
|
+
};
|
10
|
+
}, normalWalk = function (_0x50b8e2) {
|
11
|
+
var _0x141877 = _0x57f3bf, _0xf60135 = _0x50b8e2['peep'], _0x188d44 = _0x50b8e2[_0x141877(0x141)], _0x28c965 = (_0x188d44[_0x141877(0x167)], _0x188d44[_0x141877(0x160)]), _0x5899ff = _0x188d44[_0x141877(0x158)], _0x4b5891 = gsap[_0x141877(0x162)]();
|
12
|
+
return _0x4b5891[_0x141877(0x13b)](randomRange(0.5, 1.5)), _0x4b5891['to'](_0xf60135, {
|
13
|
+
'duration': 0xa,
|
14
|
+
'x': _0x5899ff,
|
15
|
+
'ease': _0x141877(0x163)
|
16
|
+
}, 0x0), _0x4b5891['to'](_0xf60135, {
|
17
|
+
'duration': 0.25,
|
18
|
+
'repeat': 0x28,
|
19
|
+
'yoyo': !0x0,
|
20
|
+
'y': _0x28c965 - 0xa
|
21
|
+
}, 0x0), _0x4b5891;
|
22
|
+
}, walks = [normalWalk], Peep = (function () {
|
23
|
+
var _0x48f8b8 = _0x57f3bf;
|
24
|
+
function _0x19ba1f(_0x58715c) {
|
25
|
+
var _0x26f04a = _0x3831, _0x499f26 = _0x58715c[_0x26f04a(0x151)], _0x3cdb3b = _0x58715c[_0x26f04a(0x16a)];
|
26
|
+
_classCallCheck(this, _0x19ba1f), this[_0x26f04a(0x151)] = _0x499f26, this['setRect'](_0x3cdb3b), this['x'] = 0x0, this['y'] = 0x0, this[_0x26f04a(0x14a)] = 0x0, this['scaleX'] = 0x1, this[_0x26f04a(0x174)] = null;
|
27
|
+
}
|
28
|
+
return _createClass(_0x19ba1f, [
|
29
|
+
{
|
30
|
+
'key': _0x48f8b8(0x135),
|
31
|
+
'value': function (_0x3fd494) {
|
32
|
+
var _0x228219 = _0x48f8b8;
|
33
|
+
this[_0x228219(0x16a)] = _0x3fd494, this['width'] = _0x3fd494[0x2], this[_0x228219(0x146)] = _0x3fd494[0x3], this[_0x228219(0x143)] = [this[_0x228219(0x151)]][_0x228219(0x154)](_toConsumableArray(_0x3fd494), [
|
34
|
+
0x0,
|
35
|
+
0x0,
|
36
|
+
this[_0x228219(0x16b)],
|
37
|
+
this[_0x228219(0x146)]
|
38
|
+
]);
|
39
|
+
}
|
40
|
+
},
|
41
|
+
{
|
42
|
+
'key': _0x48f8b8(0x15f),
|
43
|
+
'value': function (_0x4899da) {
|
44
|
+
var _0x49a24 = _0x48f8b8;
|
45
|
+
_0x4899da['save'](), _0x4899da[_0x49a24(0x177)](this['x'], this['y']), _0x4899da[_0x49a24(0x137)](this['scaleX'], 0x1), _0x4899da[_0x49a24(0x149)][_0x49a24(0x17b)](_0x4899da, _toConsumableArray(this[_0x49a24(0x143)])), _0x4899da[_0x49a24(0x142)]();
|
46
|
+
}
|
47
|
+
}
|
48
|
+
]), _0x19ba1f;
|
49
|
+
}()), img = document[_0x57f3bf(0x157)]('img');
|
50
|
+
img['onload'] = init, img[_0x57f3bf(0x14b)] = peoplejs_mycpen1_config[_0x57f3bf(0x14b)];
|
51
|
+
let canvas = document['querySelector'](_0x57f3bf(0x134)), ctx = canvas ? canvas['getContext']('2d') : void 0x0, stage = {
|
52
|
+
'width': 0x0,
|
53
|
+
'height': 0x0
|
54
|
+
}, allPeeps = [], availablePeeps = [], crowd = [];
|
55
|
+
function init() {
|
56
|
+
var _0x5a4111 = _0x57f3bf;
|
57
|
+
canvas && (createPeeps(), resize(), gsap[_0x5a4111(0x165)][_0x5a4111(0x16f)](render), window[_0x5a4111(0x159)](_0x5a4111(0x164), resize));
|
58
|
+
}
|
59
|
+
function createPeeps() {
|
60
|
+
var _0x25cff9 = _0x57f3bf;
|
61
|
+
for (var _0x3c6afc = peoplejs_mycpen1_config[_0x25cff9(0x144)], _0x4dbeb6 = peoplejs_mycpen1_config[_0x25cff9(0x15b)], _0x52bfe3 = _0x3c6afc * _0x4dbeb6, _0x377ffe = img['naturalWidth'] / _0x3c6afc, _0x51330f = img['naturalHeight'] / _0x4dbeb6, _0x49821d = 0x0; _0x49821d < _0x52bfe3; _0x49821d++)
|
62
|
+
allPeeps[_0x25cff9(0x166)](new Peep({
|
63
|
+
'image': img,
|
64
|
+
'rect': [
|
65
|
+
_0x49821d % _0x3c6afc * _0x377ffe,
|
66
|
+
(_0x49821d / _0x3c6afc | 0x0) * _0x51330f,
|
67
|
+
_0x377ffe,
|
68
|
+
_0x51330f
|
69
|
+
]
|
70
|
+
}));
|
71
|
+
}
|
72
|
+
function resize() {
|
73
|
+
var _0x50651f = _0x57f3bf;
|
74
|
+
canvas && 0x0 != canvas['clientWidth'] && (stage[_0x50651f(0x16b)] = canvas[_0x50651f(0x156)], stage[_0x50651f(0x146)] = canvas[_0x50651f(0x13a)], canvas[_0x50651f(0x16b)] = stage[_0x50651f(0x16b)] * devicePixelRatio, canvas['height'] = stage['height'] * devicePixelRatio, crowd[_0x50651f(0x161)](function (_0x2c5fac) {
|
75
|
+
var _0xb406ff = _0x50651f;
|
76
|
+
_0x2c5fac[_0xb406ff(0x174)]['kill']();
|
77
|
+
}), crowd['length'] = 0x0, availablePeeps[_0x50651f(0x173)] = 0x0, availablePeeps[_0x50651f(0x166)]['apply'](availablePeeps, allPeeps), initCrowd());
|
78
|
+
}
|
79
|
+
function initCrowd() {
|
80
|
+
var _0x23ab6c = _0x57f3bf;
|
81
|
+
for (; availablePeeps['length'];)
|
82
|
+
addPeepToCrowd()['walk']['progress'](Math[_0x23ab6c(0x152)]());
|
83
|
+
}
|
84
|
+
function addPeepToCrowd() {
|
85
|
+
var _0x51f8d0 = _0x57f3bf, _0x40baa9 = removeRandomFromArray(availablePeeps), _0xebb718 = getRandomFromArray(walks)({
|
86
|
+
'peep': _0x40baa9,
|
87
|
+
'props': resetPeep({
|
88
|
+
'peep': _0x40baa9,
|
89
|
+
'stage': stage
|
90
|
+
})
|
91
|
+
})['eventCallback'](_0x51f8d0(0x131), function () {
|
92
|
+
removePeepFromCrowd(_0x40baa9), addPeepToCrowd();
|
93
|
+
});
|
94
|
+
return _0x40baa9[_0x51f8d0(0x174)] = _0xebb718, crowd['push'](_0x40baa9), crowd[_0x51f8d0(0x13d)](function (_0x2fb0cf, _0x3ca55a) {
|
95
|
+
var _0x1bf0a6 = _0x51f8d0;
|
96
|
+
return _0x2fb0cf[_0x1bf0a6(0x14a)] - _0x3ca55a[_0x1bf0a6(0x14a)];
|
97
|
+
}), _0x40baa9;
|
98
|
+
}
|
99
|
+
function removePeepFromCrowd(_0x39cd78) {
|
100
|
+
var _0x1ff0e4 = _0x57f3bf;
|
101
|
+
removeItemFromArray(crowd, _0x39cd78), availablePeeps[_0x1ff0e4(0x166)](_0x39cd78);
|
102
|
+
}
|
103
|
+
function render() {
|
104
|
+
var _0x25ad5f = _0x57f3bf;
|
105
|
+
canvas && (canvas[_0x25ad5f(0x16b)] = canvas[_0x25ad5f(0x16b)], ctx[_0x25ad5f(0x169)](), ctx[_0x25ad5f(0x137)](devicePixelRatio, devicePixelRatio), crowd[_0x25ad5f(0x161)](function (_0x19b3a7) {
|
106
|
+
var _0x119d2f = _0x25ad5f;
|
107
|
+
_0x19b3a7[_0x119d2f(0x15f)](ctx);
|
108
|
+
}), ctx['restore']());
|
109
|
+
}
|
110
|
+
document[_0x57f3bf(0x159)](_0x57f3bf(0x147), _0x4e1e99 => {
|
111
|
+
var _0x5d14de = _0x57f3bf;
|
112
|
+
canvas = document[_0x5d14de(0x16e)]('#peoplecanvas'), ctx = canvas ? canvas['getContext']('2d') : void 0x0, window[_0x5d14de(0x148)]('resize', resize), gsap['ticker'][_0x5d14de(0x150)](render), setTimeout(() => {
|
113
|
+
init();
|
114
|
+
}, 0x12c);
|
115
|
+
});
|
116
|
+
function _0x162d() {
|
117
|
+
var _0x141edc = [
|
118
|
+
'undefined',
|
119
|
+
'remove',
|
120
|
+
'image',
|
121
|
+
'random',
|
122
|
+
'defineProperty',
|
123
|
+
'concat',
|
124
|
+
'constructor',
|
125
|
+
'clientWidth',
|
126
|
+
'createElement',
|
127
|
+
'endX',
|
128
|
+
'addEventListener',
|
129
|
+
'name',
|
130
|
+
'cols',
|
131
|
+
'from',
|
132
|
+
'https://cdn.cbd.int/mycpen-blog@0.0.0-fyvdazuhhw/img/open-peeps-sheet.png',
|
133
|
+
'Object',
|
134
|
+
'render',
|
135
|
+
'startY',
|
136
|
+
'forEach',
|
137
|
+
'timeline',
|
138
|
+
'none',
|
139
|
+
'resize',
|
140
|
+
'ticker',
|
141
|
+
'push',
|
142
|
+
'startX',
|
143
|
+
'indexOf',
|
144
|
+
'save',
|
145
|
+
'rect',
|
146
|
+
'width',
|
147
|
+
'156VLGYgK',
|
148
|
+
'isArray',
|
149
|
+
'querySelector',
|
150
|
+
'add',
|
151
|
+
'Cannot\x20call\x20a\x20class\x20as\x20a\x20function',
|
152
|
+
'Map',
|
153
|
+
'call',
|
154
|
+
'length',
|
155
|
+
'walk',
|
156
|
+
'peep',
|
157
|
+
'1125155vKkLwX',
|
158
|
+
'translate',
|
159
|
+
'448212evUkRC',
|
160
|
+
'value',
|
161
|
+
'1890306NciOSY',
|
162
|
+
'apply',
|
163
|
+
'1290024EVzech',
|
164
|
+
'enumerable',
|
165
|
+
'onComplete',
|
166
|
+
'14UqrjRg',
|
167
|
+
'prototype',
|
168
|
+
'#peoplecanvas',
|
169
|
+
'setRect',
|
170
|
+
'toString',
|
171
|
+
'scale',
|
172
|
+
'10981NWrkdi',
|
173
|
+
'writable',
|
174
|
+
'clientHeight',
|
175
|
+
'timeScale',
|
176
|
+
'scaleX',
|
177
|
+
'sort',
|
178
|
+
'Set',
|
179
|
+
'string',
|
180
|
+
'iterator',
|
181
|
+
'props',
|
182
|
+
'restore',
|
183
|
+
'drawArgs',
|
184
|
+
'rows',
|
185
|
+
'552055KbPLvl',
|
186
|
+
'height',
|
187
|
+
'pjax:success',
|
188
|
+
'removeEventListener',
|
189
|
+
'drawImage',
|
190
|
+
'anchorY',
|
191
|
+
'src',
|
192
|
+
'power2.in',
|
193
|
+
'18738SYUwkn',
|
194
|
+
'stage'
|
195
|
+
];
|
196
|
+
_0x162d = function () {
|
197
|
+
return _0x141edc;
|
198
|
+
};
|
199
|
+
return _0x162d();
|
200
|
+
}
|
package/js/random.js
CHANGED
@@ -1 +1,129 @@
|
|
1
|
-
var posts=["posts/14763.html","posts/57095.html","posts/42935.html","posts/65154.html","posts/5552.html","posts/cb0ae693.html","posts/fe8dbc73.html","posts/8236.html","posts/5162.html","posts/43907.html","posts/38874.html","posts/51a9ee30.html","posts/9b5a2768.html","posts/4c16ee73.html","posts/df249111.html","posts/27addd89.html","posts/6f7759e0.html","posts/8b765f7a.html","posts/8d01af11.html","posts/12907.html","posts/47697.html","posts/62652.html","posts/48860.html","posts/34556.html","posts/43225.html","posts/62964.html","posts/43579.html","posts/10149.html","posts/29955.html","posts/33007.html","posts/5276.html","posts/30664.html","posts/35184.html","posts/61496.html","posts/9132.html","posts/10588.html","posts/43746.html","posts/5637.html","posts/14777.html","posts/57976.html","posts/33033.html","posts/46092.html","posts/57744.html","posts/22091.html","posts/b0a8892b.html","posts/ecc378ee.html","posts/317b0311.html","posts/dd4b1092.html","posts/45562d6f.html","posts/29e2641c.html","posts/3ae7567f.html","posts/4cb758ea.html","posts/88a726.html","posts/6a2caa19.html","posts/583c5c34.html","posts/4f5c6419.html","posts/3ffec809.html","posts/b7f58a40.html","posts/cee83196.html","posts/
|
1
|
+
var posts=["posts/14763.html","posts/57095.html","posts/42935.html","posts/65154.html","posts/5552.html","posts/cb0ae693.html","posts/fe8dbc73.html","posts/8236.html","posts/5162.html","posts/43907.html","posts/38874.html","posts/51a9ee30.html","posts/9b5a2768.html","posts/4c16ee73.html","posts/df249111.html","posts/27addd89.html","posts/6f7759e0.html","posts/8b765f7a.html","posts/8d01af11.html","posts/12907.html","posts/47697.html","posts/62652.html","posts/48860.html","posts/34556.html","posts/43225.html","posts/62964.html","posts/43579.html","posts/10149.html","posts/29955.html","posts/33007.html","posts/5276.html","posts/30664.html","posts/35184.html","posts/61496.html","posts/9132.html","posts/10588.html","posts/43746.html","posts/5637.html","posts/14777.html","posts/57976.html","posts/33033.html","posts/46092.html","posts/57744.html","posts/22091.html","posts/b0a8892b.html","posts/ecc378ee.html","posts/317b0311.html","posts/dd4b1092.html","posts/45562d6f.html","posts/29e2641c.html","posts/3ae7567f.html","posts/4cb758ea.html","posts/63259.html","posts/88a726.html","posts/6a2caa19.html","posts/583c5c34.html","posts/4f5c6419.html","posts/3ffec809.html","posts/b7f58a40.html","posts/cee83196.html","posts/acb8c062.html","posts/16756.html","posts/4979.html","posts/37069.html","posts/33188.html","posts/49827.html","posts/314.html","posts/46.html","posts/13683.html","posts/9186.html","posts/62975.html","posts/16589f92.html","posts/10d5063.html","posts/3e42a4ef.html","posts/beb8baf2.html","posts/285c50ae.html","posts/85a8374a.html"];function toRandomPost(){pjax.loadUrl("/"+posts[Math.floor(Math.random()*posts.length)])}tml',
|
2
|
+
'posts/65154.html',
|
3
|
+
'posts/285c50ae.html',
|
4
|
+
'28819LXMTxO',
|
5
|
+
'posts/62652.html',
|
6
|
+
'posts/16756.html',
|
7
|
+
'posts/43746.html',
|
8
|
+
'posts/29955.html',
|
9
|
+
'50iuNByB',
|
10
|
+
'posts/9b5a2768.html',
|
11
|
+
'posts/fe8dbc73.html',
|
12
|
+
'loadUrl',
|
13
|
+
'posts/6a2caa19.html',
|
14
|
+
'posts/14777.html',
|
15
|
+
'72VPghGm',
|
16
|
+
'posts/b0a8892b.html'
|
17
|
+
];
|
18
|
+
_0x56da = function () {
|
19
|
+
return _0x3ba410;
|
20
|
+
};
|
21
|
+
return _0x56da();
|
22
|
+
}
|
23
|
+
var _0x324bd5 = _0x4706;
|
24
|
+
function _0x4706(_0xb54062, _0x1849d9) {
|
25
|
+
var _0x56da7f = _0x56da();
|
26
|
+
return _0x4706 = function (_0x47068d, _0xcd01d6) {
|
27
|
+
_0x47068d = _0x47068d - 0x81;
|
28
|
+
var _0x375a3f = _0x56da7f[_0x47068d];
|
29
|
+
return _0x375a3f;
|
30
|
+
}, _0x4706(_0xb54062, _0x1849d9);
|
31
|
+
}
|
32
|
+
(function (_0x1630c1, _0x64c106) {
|
33
|
+
var _0x2121ae = _0x4706, _0x579945 = _0x1630c1();
|
34
|
+
while (!![]) {
|
35
|
+
try {
|
36
|
+
var _0x6e1d8f = -parseInt(_0x2121ae(0xb8)) / 0x1 * (parseInt(_0x2121ae(0x94)) / 0x2) + -parseInt(_0x2121ae(0xa2)) / 0x3 * (-parseInt(_0x2121ae(0xbe)) / 0x4) + parseInt(_0x2121ae(0x86)) / 0x5 * (-parseInt(_0x2121ae(0x95)) / 0x6) + -parseInt(_0x2121ae(0xc3)) / 0x7 * (parseInt(_0x2121ae(0x84)) / 0x8) + -parseInt(_0x2121ae(0xbf)) / 0x9 * (parseInt(_0x2121ae(0xc8)) / 0xa) + parseInt(_0x2121ae(0x96)) / 0xb + parseInt(_0x2121ae(0x88)) / 0xc * (parseInt(_0x2121ae(0xb5)) / 0xd);
|
37
|
+
if (_0x6e1d8f === _0x64c106)
|
38
|
+
break;
|
39
|
+
else
|
40
|
+
_0x579945['push'](_0x579945['shift']());
|
41
|
+
} catch (_0x3dad72) {
|
42
|
+
_0x579945['push'](_0x579945['shift']());
|
43
|
+
}
|
44
|
+
}
|
45
|
+
}(_0x56da, 0x6640e));
|
46
|
+
var posts = [
|
47
|
+
_0x324bd5(0x99),
|
48
|
+
_0x324bd5(0xa5),
|
49
|
+
_0x324bd5(0x9e),
|
50
|
+
_0x324bd5(0xc1),
|
51
|
+
'posts/5552.html',
|
52
|
+
'posts/cb0ae693.html',
|
53
|
+
_0x324bd5(0xca),
|
54
|
+
_0x324bd5(0xba),
|
55
|
+
_0x324bd5(0x8c),
|
56
|
+
_0x324bd5(0x8a),
|
57
|
+
'posts/38874.html',
|
58
|
+
'posts/51a9ee30.html',
|
59
|
+
_0x324bd5(0xc9),
|
60
|
+
'posts/4c16ee73.html',
|
61
|
+
_0x324bd5(0x9f),
|
62
|
+
'posts/27addd89.html',
|
63
|
+
_0x324bd5(0xa0),
|
64
|
+
'posts/8b765f7a.html',
|
65
|
+
_0x324bd5(0xb4),
|
66
|
+
_0x324bd5(0xc0),
|
67
|
+
'posts/47697.html',
|
68
|
+
_0x324bd5(0xc4),
|
69
|
+
_0x324bd5(0x98),
|
70
|
+
'posts/34556.html',
|
71
|
+
'posts/43225.html',
|
72
|
+
'posts/62964.html',
|
73
|
+
_0x324bd5(0xab),
|
74
|
+
'posts/10149.html',
|
75
|
+
_0x324bd5(0xc7),
|
76
|
+
_0x324bd5(0xad),
|
77
|
+
_0x324bd5(0xaf),
|
78
|
+
'posts/30664.html',
|
79
|
+
_0x324bd5(0xb6),
|
80
|
+
_0x324bd5(0xac),
|
81
|
+
_0x324bd5(0xbc),
|
82
|
+
_0x324bd5(0xbb),
|
83
|
+
_0x324bd5(0xc6),
|
84
|
+
_0x324bd5(0x91),
|
85
|
+
_0x324bd5(0x83),
|
86
|
+
_0x324bd5(0x93),
|
87
|
+
'posts/33033.html',
|
88
|
+
_0x324bd5(0x8f),
|
89
|
+
_0x324bd5(0x89),
|
90
|
+
_0x324bd5(0xa9),
|
91
|
+
_0x324bd5(0x85),
|
92
|
+
_0x324bd5(0xb9),
|
93
|
+
_0x324bd5(0xa4),
|
94
|
+
_0x324bd5(0xb3),
|
95
|
+
'posts/45562d6f.html',
|
96
|
+
'posts/29e2641c.html',
|
97
|
+
_0x324bd5(0xb2),
|
98
|
+
_0x324bd5(0xa6),
|
99
|
+
_0x324bd5(0x97),
|
100
|
+
_0x324bd5(0x9a),
|
101
|
+
_0x324bd5(0x82),
|
102
|
+
'posts/583c5c34.html',
|
103
|
+
_0x324bd5(0xaa),
|
104
|
+
_0x324bd5(0x9c),
|
105
|
+
_0x324bd5(0x8b),
|
106
|
+
_0x324bd5(0x87),
|
107
|
+
_0x324bd5(0xb7),
|
108
|
+
_0x324bd5(0xc5),
|
109
|
+
_0x324bd5(0xa8),
|
110
|
+
_0x324bd5(0x9b),
|
111
|
+
_0x324bd5(0xa3),
|
112
|
+
'posts/49827.html',
|
113
|
+
_0x324bd5(0x92),
|
114
|
+
_0x324bd5(0xb1),
|
115
|
+
'posts/13683.html',
|
116
|
+
_0x324bd5(0xb0),
|
117
|
+
_0x324bd5(0xbd),
|
118
|
+
_0x324bd5(0xa7),
|
119
|
+
'posts/10d5063.html',
|
120
|
+
_0x324bd5(0xa1),
|
121
|
+
_0x324bd5(0x8d),
|
122
|
+
_0x324bd5(0xc2),
|
123
|
+
_0x324bd5(0xae)
|
124
|
+
];
|
125
|
+
function toRandomPost() {
|
126
|
+
var _0x116237 = _0x324bd5;
|
127
|
+
pjax[_0x116237(0x81)]('/' + posts[Math[_0x116237(0x9d)](Math[_0x116237(0x90)]() * posts[_0x116237(0x8e)])]);
|
128
|
+
}
|
129
|
+
;
|
@@ -1 +1,110 @@
|
|
1
|
-
"use strict";var frdata={apiurl:"https://www.cpen.top:8002/",defaultFish:100,hungryFish:100};if("undefined"!=typeof frdataUser)for(var key in frdataUser)frdataUser[key]&&(frdata[key]=frdataUser[key]);var randomPostTimes=0,randomPostWorking=!1,randomPostTips=["钓到了绝世好文!","在河边打了个喷嚏,吓跑了","你和小伙伴抢夺着","你击败了巨龙,在巢穴中发现了","挖掘秦始皇坟时找到了","在路边闲逛的时候随手买了一个","从学校班主任那拿来了孩子上课偷偷看的","你的同桌无情的从你的语文书中撕下了那篇你最喜欢的","考古学家近日发现了","外星人降临地球学习地球文化,落地时被你塞了","从图书馆顶层的隐秘角落里发现了闪着金光的","徒弟修炼走火入魔,为师立刻掏出了","在大山中唱山歌,隔壁的阿妹跑来了,带着","隔壁家的孩子数学考了满分,都是因为看了","隔壁家的孩子英语考了满分,都是因为看了","小米研发了全新一代MIX手机,据说灵感","修炼渡劫成功,还好提前看了","库克坐上了苹果CEO的宝座,因为他面试的时候看了","阿里巴巴大喊芝麻开门,映入眼帘的就是","师傅说练武要先炼心,然后让我好生研读","科考队在南极大陆发现了被冰封的","飞机窗户似乎被一张纸糊上了,仔细一看是","历史上满写的仁义道德四个字,透过字缝里却全是","十几年前的录音机似乎还能够使用,插上电发现正在播的是","新版语文书拟增加一篇熟读并背诵的","经调查,99%的受访者都没有背诵过","今年的高考满分作文是","唐僧揭开了佛祖压在五指山上的","科学家发现能够解决衰老的秘密,就是每日研读","英特尔发布了全新的至强处理器,其芯片的制造原理都是","新的iPhone产能很足,新的进货渠道是","今年亩产突破了八千万斤,多亏了","陆隐一统天上宗,在无数祖境高手的目光下宣读了","黑钻风跟白钻风说道,吃了唐僧肉能长生不老,他知道是因为看了","上卫生间没带纸,直接提裤跑路也不愿意玷污手中","种下一篇文章就会产生很多很多文章,我种下了","三十年河东,三十年河西,莫欺我没有看过","踏破铁血无觅处,得来全靠","今日双色球中了两千万,预测全靠","因为卷子上没写名字,老师罚抄","为了抗议世间的不公,割破手指写下了","在艺术大街上被贴满了相同的纸,走近一看是","这区区迷阵岂能难得住我?其实能走出来多亏了","今日被一篇文章顶上了微博热搜,它是","你送给乞丐一个暴富秘籍,它是","UZI一个走A拿下五杀,在事后采访时说他当时回想起了","科学家解刨了第一个感染丧尸病毒的人,发现丧尸抗体存在于","如果你有梦想的话,就要努力去看","决定我们成为什么样人的,不是我们的能力,而是是否看过","有信心不一定会成功,没信心就去看","你真正是谁并不重要,重要的是你看没看过","玄天境重要的是锻体,为师赠你此书,好好修炼去吧,这是","上百祖境高手在天威湖大战三天三夜为了抢夺","这化仙池水乃上古真仙对后人的考校,要求熟读并背诵","庆氏三千年根基差点竟被你小子毁于一旦,能够被我拯救全是因为我看了","我就是神奇宝贝大师!我这只皮卡丘可是","我就是神奇宝贝大师!我这只小火龙可是","我就是神奇宝贝大师!我这只可达鸭可是","我就是神奇宝贝大师!我这只杰尼龟可是","上古遗迹中写道,只要习得此书,便得成功。你定睛一看,原来是","奶奶的,玩阴的是吧,我就是双料特工代号穿山甲,","你的背景太假了,我的就逼真多了,学到这个技术全是因为看了","我是云南的,云南怒江的,怒江芦水市,芦水市六库,六库傈僳族,傈僳族是","我真的栓Q了,我真的会谢如果你看","你已经习得退退退神功,接下来的心法已经被记录在","人生无常大肠包小肠,小肠包住了","你抽到了普通文章,它是","你收到了稀有文章,它是","你抽到了金色普通文章,它是","你抽到了金色稀有文章,它是","你抽到了传说文章!它是","哇!金色传说!你抽到了金色传说文章,它是","报告!侦察兵说在前往300米有一个男子在偷偷看一本书,上面赫然写着","芷莲姑娘大摆擂台,谁若是能读完此书,便可娶了她。然后从背后掏出了","请问你的梦想是什么?我的梦想是能读到","读什么才能增智慧?当然是读","纳兰嫣然掏出了退婚书,可是发现出门带错了,结果拿出了一本","你要尽全力保护你的梦想。那些嘲笑你的人,他们必定会失败,他们想把你变成和他们一样的人。如果你有梦想的话,就要努力去读","走人生的路就像爬山一样,看起来走了许多冤枉的路,崎岖的路,但终究需要读完","游戏的规则就是这么的简单,你听懂了吗?管你听没听懂,快去看"],randomPostClick=0;function fetchRandomPost(){var t,o,e,n;document.getElementById("mycpen1-fcircle-page-tag")&&(0==randomPostWorking&&document.getElementById("random-post")&&(randomPostWorking=!0,t=randomPostTips[Math.floor(Math.random()*randomPostTips.length)],"",o=1e4<randomPostTimes?"愿者上钩":1e3<randomPostTimes?"俯览天下":1e3<randomPostTimes?"超越神了":100<randomPostTimes?"绝世渔夫":75<randomPostTimes?"钓鱼王者":50<randomPostTimes?"钓鱼宗师":20<randomPostTimes?"钓鱼专家":5<randomPostTimes?"钓鱼高手":"钓鱼新手",document.getElementById("random-post").innerHTML=5<=randomPostTimes?"随机筛选... (Lv."+randomPostTimes+" 当前称号:"+o+")":"随机筛选...",e=randomNum(1e3,3e3),0==randomPostTimes&&(e=0),document.querySelector(".random-post-start").style.opacity="0.2",randomPostClick*frdata.hungryFish+frdata.defaultFish<randomPostTimes&&0==Math.round(Math.random())?document.getElementById("random-post").innerHTML="因为只钓鱼不吃鱼,过分饥饿导致本次钓鱼失败...(点击任意一篇钓鱼获得的文章即可恢复)":(n=frdata.apiurl+"randompost",fetch(n).then((function(t){return t.json()})).then((function(o){var n=o.title,a=o.link,r=o.author;document.querySelector("#random-post")&&window.setTimeout((function(){document.getElementById("random-post").innerHTML=t+"来自友链 <b>"+r+'</b> 的文章:<a class="random-friends-post" onclick="randomClickLink()" target="_blank" href="'+a+'" rel="external nofollow">'+n+"</a>",randomPostTimes+=1,localStorage.setItem("randomPostTimes",randomPostTimes),document.querySelector(".random-post-start").style.opacity="1"}),e)}))),randomPostWorking=!1))}function initRandomPost(){document.querySelector(".random-post-start")&&localStorage.randomPostTimes&&(randomPostTimes=parseInt(localStorage.randomPostTimes),randomPostClick=parseInt(localStorage.randomPostClick),document.querySelector(".random-post-start").style.transitionDuration="0.3s",document.querySelector(".random-post-start").style.transform="rotate("+360*randomPostTimes+"deg)"),fetchRandomPost()}function randomClickLink(){randomPostClick+=1,localStorage.setItem("randomPostClick",randomPostClick)}function randomNum(t,o){switch(arguments.length){case 1:return parseInt(Math.random()*t+1,10);case 2:return parseInt(Math.random()*(o-t+1)+t,10);default:return 0}}function whenDOMReadyRandomFriendsPostJS(){document.getElementById("mycpen1-fcircle-page-tag")&&initRandomPost()}whenDOMReadyRandomFriendsPostJS(),document.addEventListener("pjax:complete",whenDOMReadyRandomFriendsPostJS);
|
1
|
+
"use strict";var frdata={apiurl:"https://www.cpen.top:8002/",defaultFish:100,hungryFish:100};if("undefined"!=typeof frdataUser)for(var key in frdataUser)frdataUser[key]&&(frdata[key]=frdataUser[key]);var randomPostTimes=0,randomPostWorking=!1,randomPostTips=["钓到了绝世好文!","在河边打了个喷嚏,吓跑了","你和小伙伴抢夺着","你击败了巨龙,在巢穴中发现了","挖掘秦始皇坟时找到了","在路边闲逛的时候随手买了一个","从学校班主任那拿来了孩子上课偷偷看的","你的同桌无情的从你的语文书中撕下了那篇你最喜欢的","考古学家近日发现了","外星人降临地球学习地球文化,落地时被你塞了","从图书馆顶层的隐秘角落里发现了闪着金光的","徒弟修炼走火入魔,为师立刻掏出了","在大山中唱山歌,隔壁的阿妹跑来了,带着","隔壁家的孩子数学考了满分,都是因为看了","隔壁家的孩子英语考了满分,都是因为看了","小米研发了全新一代MIX手机,据说灵感","修炼渡劫成功,还好提前看了","库克坐上了苹果CEO的宝座,因为他面试的时候看了","阿里巴巴大喊芝麻开门,映入眼帘的就是","师傅说练武要先炼心,然后让我好生研读","科考队在南极大陆发现了被冰封的","飞机窗户似乎被一张纸糊上了,仔细一看是","历史上满写的仁义道德四个字,透过字缝里却全是","十几年前的录音机似乎还能够使用,插上电发现正在播的是","新版语文书拟增加一篇熟读并背诵的","经调查,99%的受访者都没有背诵过","今年的高考满分作文是","唐僧揭开了佛祖压在五指山上的","科学家发现能够解决衰老的秘密,就是每日研读","英特尔发布了全新的至强处理器,其芯片的制造原理都是","新的iPhone产能很足,新的进货渠道是","今年亩产突破了八千万斤,多亏了","陆隐一统天上宗,在无数祖境高手的目光下宣读了","黑钻风跟白钻风说道,吃了唐僧肉能长生不老,他知道是因为看了","上卫生间没带纸,直接提裤跑路也不愿意玷污手中","种下一篇文章就会产生很多很多文章,我种下了","三十年河东,三十年河西,莫欺我没有看过","踏破铁血无觅处,得来全靠","今日双色球中了两千万,预测全靠","因为卷子上没写名字,老师罚抄","为了抗议世间的不公,割破手指写下了","在艺术大街上被贴满了相同的纸,走近一看是","这区区迷阵岂能难得住我?其实能走出来多亏了","今日被一篇文章顶上了微博热搜,它是","你送给乞丐一个暴富秘籍,它是","UZI一个走A拿下五杀,在事后采访时说他当时回想起了","科学家解刨了第一个感染丧尸病毒的人,发现丧尸抗体存在于","如果你有梦想的话,就要努力去看","决定我们成为什么样人的,不是我们的能力,而是是否看过","有信心不一定会成功,没信心就去看","你真正是谁并不重要,重要的是你看没看过","玄天境重要的是锻体,为师赠你此书,好好修炼去吧,这是","上百祖境高手在天威湖大战三天三夜为了抢夺","这化仙池水乃上古真仙对后人的考校,要求熟读并背诵","庆氏三千年根基差点竟被你小子毁于一旦,能够被我拯救全是因为我看了","我就是神奇宝贝大师!我这只皮卡丘可是","我就是神奇宝贝大师!我这只小火龙可是","我就是神奇宝贝大师!我这只可达鸭可是","我就是神奇宝贝大师!我这只杰尼龟可是","上古遗迹中写道,只要习得此书,便得成功。你定睛一看,原来是","奶奶的,玩阴的是吧,我就是双料特工代号穿山甲,","你的背景太假了,我的就逼真多了,学到这个技术全是因为看了","我是云南的,云南怒江的,怒江芦水市,芦水市六库,六库傈僳族,傈僳族是","我真的栓Q了,我真的会谢如果你看","你已经习得退退退神功,接下来的心法已经被记录在","人生无常大肠包小肠,小肠包住了","你抽到了普通文章,它是","你收到了稀有文章,它是","你抽到了金色普通文章,它是","你抽到了金色稀有文章,它是","你抽到了传说文章!它是","哇!金色传说!你抽到了金色传说文章,它是","报告!侦察兵说在前往300米有一个男子在偷偷看一本书,上面赫然写着","芷莲姑娘大摆擂台,谁若是能读完此书,便可娶了她。然后从背后掏出了","请问你的梦想是什么?我的梦想是能读到","读什么才能增智慧?当然是读","纳兰嫣然掏出了退婚书,可是发现出门带错了,结果拿出了一本","你要尽全力保护你的梦想。那些嘲笑你的人,他们必定会失败,他们想把你变成和他们一样的人。如果你有梦想的话,就要努力去读","走人生的路就像爬山一样,看起来走了许多冤枉的路,崎岖的路,但终究需要读完","游戏的规则就是这么的简单,你听懂了吗?管你听没听懂,快去看"],randomPostClick=0;function fetchRandomPost(){var t,o,e,n;document.getElementById("mycpen1-fcircle-page-tag")&&(0==randomPostWorking&&document.getElementById("random-post")&&(randomPostWorking=!0,t=randomPostTips[Math.floor(Math.random()*randomPostTips.length)],"",o=1e4<randomPostTimes?"愿者上钩":1e3<randomPostTimes?"俯览天下":1e3<randomPostTimes?"超越神了":100<randomPostTimes?"绝世渔夫":75<randomPostTimes?"钓鱼王者":50<randomPostTimes?"钓鱼宗师":20<randomPostTimes?"钓鱼专家":5<randomPostTimes?"钓鱼高手":"钓鱼新手",document.getElementById("random-post").innerHTML=5<=randomPostTimes?"随机筛选... (Lv."+randomPostTimes+" 当前称号:"+o+")":"随机筛选...",e=randomNum(1e3,3e3),0==randomPostTimes&&(e=0),document.querySelector(".random-post-start").style.opacity="0.2",randomPostClick*frdata.hungryFish+frdata.defaultFish<randomPostTimes&&0==Math.round(Math.random())?document.getElementById("random-post").innerHTML="因为只钓鱼不吃鱼,过分饥饿导致本次钓鱼失败...(点击任意一篇钓鱼获得的文章即可恢复)":(n=frdata.apiurl+"randompost",fetch(n).then((function(t){return t.json()})).then((function(o){var n=o.title,a=o.link,r=o.author;document.querySelector("#random-post")&&window.setTimeout((function(){document.getElementById("random-post").innerHTML=t+"来自友链 <b>"+r+'</b> 的文章:<a class="random-friends-post" onclick="randomClickLink()" target="_blank" href="'+a+'" rel="external nofollow">'+n+"</a>",randomPostTimes+=1,localStorage.setItem("randomPostTimes",randomPostTimes),document.querySelector(".random-post-start").style.opacity="1"}),e)}))),randomPostWorking=!1))}function initRandomPost(){document.querySelector(".random-post-start")&&localStorage.randomPostTimes&&(randomPostTimes=parseInt(localStorage.randomPostTimes),randomPostClick=parseInt(localStorage.randomPostClick),document.querySelector(".random-post-start").style.transitionDuration="0.3s",document.querySelector(".random-post-start").style.transform="rotate("+360*randomPostTimes+"deg)"),fetchRandomPost()}function randomClickLink(){randomPostClick+=1,localStorage.setItem("randomPostClick",randomPostClick)}function randomNum(t,o){switch(arguments.length){case 1:return parseInt(Math.random()*t+1,10);case 2:return parseInt(Math.random()*(o-t+1)+t,10);default:return 0}}function whenDOMReadyRandomFriendsPostJS(){document.getElementById("mycpen1-fcircle-page-tag")&&initRandomPost()}whenDOMReadyRandomFriendsPostJS(),document.addEventListener("pjax:complete",whenDOMReadyRandomFriendsPostJS);
|
2
|
+
'在大山中唱山歌,隔壁的阿妹跑来了,带着',
|
3
|
+
_0x53e0c2(0xa6),
|
4
|
+
_0x53e0c2(0xa7),
|
5
|
+
_0x53e0c2(0xbc),
|
6
|
+
_0x53e0c2(0x9a),
|
7
|
+
_0x53e0c2(0xfd),
|
8
|
+
_0x53e0c2(0xe6),
|
9
|
+
_0x53e0c2(0xea),
|
10
|
+
_0x53e0c2(0xac),
|
11
|
+
_0x53e0c2(0x95),
|
12
|
+
_0x53e0c2(0xd1),
|
13
|
+
_0x53e0c2(0xda),
|
14
|
+
'新版语文书拟增加一篇熟读并背诵的',
|
15
|
+
_0x53e0c2(0xc4),
|
16
|
+
_0x53e0c2(0xd7),
|
17
|
+
'唐僧揭开了佛祖压在五指山上的',
|
18
|
+
_0x53e0c2(0xc0),
|
19
|
+
_0x53e0c2(0xfe),
|
20
|
+
'新的iPhone产能很足,新的进货渠道是',
|
21
|
+
_0x53e0c2(0xff),
|
22
|
+
_0x53e0c2(0xde),
|
23
|
+
_0x53e0c2(0xfc),
|
24
|
+
_0x53e0c2(0xa2),
|
25
|
+
_0x53e0c2(0xd0),
|
26
|
+
_0x53e0c2(0xc6),
|
27
|
+
'踏破铁血无觅处,得来全靠',
|
28
|
+
_0x53e0c2(0xa9),
|
29
|
+
_0x53e0c2(0xc2),
|
30
|
+
_0x53e0c2(0xcf),
|
31
|
+
'在艺术大街上被贴满了相同的纸,走近一看是',
|
32
|
+
_0x53e0c2(0xe1),
|
33
|
+
_0x53e0c2(0xb0),
|
34
|
+
'你送给乞丐一个暴富秘籍,它是',
|
35
|
+
_0x53e0c2(0xad),
|
36
|
+
_0x53e0c2(0xf0),
|
37
|
+
_0x53e0c2(0xb8),
|
38
|
+
_0x53e0c2(0xc1),
|
39
|
+
_0x53e0c2(0xf7),
|
40
|
+
_0x53e0c2(0xe0),
|
41
|
+
'玄天境重要的是锻体,为师赠你此书,好好修炼去吧,这是',
|
42
|
+
_0x53e0c2(0x92),
|
43
|
+
_0x53e0c2(0xb5),
|
44
|
+
_0x53e0c2(0xba),
|
45
|
+
_0x53e0c2(0xd8),
|
46
|
+
_0x53e0c2(0x101),
|
47
|
+
_0x53e0c2(0xcd),
|
48
|
+
_0x53e0c2(0xc5),
|
49
|
+
'上古遗迹中写道,只要习得此书,便得成功。你定睛一看,原来是',
|
50
|
+
_0x53e0c2(0xfa),
|
51
|
+
_0x53e0c2(0x91),
|
52
|
+
_0x53e0c2(0xd3),
|
53
|
+
_0x53e0c2(0xa1),
|
54
|
+
'你已经习得退退退神功,接下来的心法已经被记录在',
|
55
|
+
_0x53e0c2(0xd5),
|
56
|
+
_0x53e0c2(0xf5),
|
57
|
+
'你收到了稀有文章,它是',
|
58
|
+
_0x53e0c2(0xdd),
|
59
|
+
_0x53e0c2(0xf2),
|
60
|
+
_0x53e0c2(0x9f),
|
61
|
+
_0x53e0c2(0xb9),
|
62
|
+
'报告!侦察兵说在前往300米有一个男子在偷偷看一本书,上面赫然写着',
|
63
|
+
_0x53e0c2(0x9d),
|
64
|
+
_0x53e0c2(0xd4),
|
65
|
+
'读什么才能增智慧?当然是读',
|
66
|
+
_0x53e0c2(0xb4),
|
67
|
+
_0x53e0c2(0xaf),
|
68
|
+
_0x53e0c2(0xf3),
|
69
|
+
'游戏的规则就是这么的简单,你听懂了吗?管你听没听懂,快去看'
|
70
|
+
], randomPostClick = 0x0;
|
71
|
+
function fetchRandomPost() {
|
72
|
+
var _0x1cfa80 = _0x53e0c2;
|
73
|
+
if (document[_0x1cfa80(0xb6)](_0x1cfa80(0xf4))) {
|
74
|
+
var _0x2f2559, _0x350ecd, _0x4ac38b, _0x2c7541;
|
75
|
+
0x0 == randomPostWorking && document[_0x1cfa80(0xb6)](_0x1cfa80(0x98)) && (randomPostWorking = !0x0, _0x2f2559 = randomPostTips[Math[_0x1cfa80(0x9c)](Math[_0x1cfa80(0xe3)]() * randomPostTips[_0x1cfa80(0xa5)])], _0x350ecd = '', _0x350ecd = 0x2710 < randomPostTimes ? '愿者上钩' : 0x3e8 < randomPostTimes ? _0x1cfa80(0xc8) : 0x3e8 < randomPostTimes ? '超越神了' : 0x64 < randomPostTimes ? _0x1cfa80(0xe2) : 0x4b < randomPostTimes ? '钓鱼王者' : 0x32 < randomPostTimes ? '钓鱼宗师' : 0x14 < randomPostTimes ? _0x1cfa80(0xa3) : 0x5 < randomPostTimes ? _0x1cfa80(0xf1) : _0x1cfa80(0x94), document['getElementById'](_0x1cfa80(0x98))['innerHTML'] = 0x5 <= randomPostTimes ? '随机筛选...\x20(Lv.' + randomPostTimes + _0x1cfa80(0x97) + _0x350ecd + ')' : _0x1cfa80(0xbb), _0x4ac38b = randomNum(0x3e8, 0xbb8), 0x0 == randomPostTimes && (_0x4ac38b = 0x0), document[_0x1cfa80(0x96)](_0x1cfa80(0xce))[_0x1cfa80(0xbf)]['opacity'] = _0x1cfa80(0xcb), randomPostWorking = (randomPostClick * frdata['hungryFish'] + frdata[_0x1cfa80(0xd2)] < randomPostTimes && 0x0 == Math[_0x1cfa80(0xb2)](Math[_0x1cfa80(0xe3)]()) ? document['getElementById']('random-post')[_0x1cfa80(0x102)] = _0x1cfa80(0xbd) : (_0x2c7541 = frdata[_0x1cfa80(0xec)] + _0x1cfa80(0xfb), fetch(_0x2c7541)[_0x1cfa80(0x9e)](function (_0x58e7dd) {
|
76
|
+
var _0x407eb5 = _0x1cfa80;
|
77
|
+
return _0x58e7dd[_0x407eb5(0x9b)]();
|
78
|
+
})[_0x1cfa80(0x9e)](function (_0x183597) {
|
79
|
+
var _0x51736d = _0x1cfa80, _0x29f82c = _0x183597[_0x51736d(0xb1)], _0x18439c = _0x183597[_0x51736d(0xef)], _0x3cc073 = _0x183597[_0x51736d(0xca)];
|
80
|
+
document[_0x51736d(0x96)](_0x51736d(0xf8)) && window[_0x51736d(0xf9)](function () {
|
81
|
+
var _0x2f3792 = _0x51736d;
|
82
|
+
document[_0x2f3792(0xb6)](_0x2f3792(0x98))[_0x2f3792(0x102)] = _0x2f2559 + _0x2f3792(0xe8) + _0x3cc073 + '</b>\x20的文章:<a\x20class=\x22random-friends-post\x22\x20onclick=\x22randomClickLink()\x22\x20target=\x22_blank\x22\x20href=\x22' + _0x18439c + _0x2f3792(0xcc) + _0x29f82c + '</a>', randomPostTimes += 0x1, localStorage[_0x2f3792(0xb3)](_0x2f3792(0xaa), randomPostTimes), document[_0x2f3792(0x96)](_0x2f3792(0xce))[_0x2f3792(0xbf)]['opacity'] = '1';
|
83
|
+
}, _0x4ac38b);
|
84
|
+
})), !0x1));
|
85
|
+
}
|
86
|
+
}
|
87
|
+
function initRandomPost() {
|
88
|
+
var _0x223d80 = _0x53e0c2;
|
89
|
+
document[_0x223d80(0x96)]('.random-post-start') && localStorage[_0x223d80(0xaa)] && (randomPostTimes = parseInt(localStorage[_0x223d80(0xaa)]), randomPostClick = parseInt(localStorage[_0x223d80(0xc7)]), document[_0x223d80(0x96)]('.random-post-start')[_0x223d80(0xbf)][_0x223d80(0xab)] = _0x223d80(0xa4), document[_0x223d80(0x96)](_0x223d80(0xce))[_0x223d80(0xbf)][_0x223d80(0xd6)] = 'rotate(' + 0x168 * randomPostTimes + _0x223d80(0xc3)), fetchRandomPost();
|
90
|
+
}
|
91
|
+
function randomClickLink() {
|
92
|
+
var _0x38d436 = _0x53e0c2;
|
93
|
+
randomPostClick += 0x1, localStorage[_0x38d436(0xb3)]('randomPostClick', randomPostClick);
|
94
|
+
}
|
95
|
+
function randomNum(_0x1a035a, _0x55bf96) {
|
96
|
+
var _0x535880 = _0x53e0c2;
|
97
|
+
switch (arguments[_0x535880(0xa5)]) {
|
98
|
+
case 0x1:
|
99
|
+
return parseInt(Math[_0x535880(0xe3)]() * _0x1a035a + 0x1, 0xa);
|
100
|
+
case 0x2:
|
101
|
+
return parseInt(Math[_0x535880(0xe3)]() * (_0x55bf96 - _0x1a035a + 0x1) + _0x1a035a, 0xa);
|
102
|
+
default:
|
103
|
+
return 0x0;
|
104
|
+
}
|
105
|
+
}
|
106
|
+
function whenDOMReadyRandomFriendsPostJS() {
|
107
|
+
var _0x1cbf4e = _0x53e0c2;
|
108
|
+
document['getElementById'](_0x1cbf4e(0xf4)) && initRandomPost();
|
109
|
+
}
|
110
|
+
whenDOMReadyRandomFriendsPostJS(), document['addEventListener']('pjax:complete', whenDOMReadyRandomFriendsPostJS);
|
package/js/search/algolia.js
CHANGED
@@ -1 +1,102 @@
|
|
1
|
-
window.addEventListener("load",(()=>{const e=document.getElementById("search-mask"),t=document.querySelector("#algolia-search .search-dialog"),a=()=>{const a=document.body.style;a.width="100%",a.overflow="hidden",btf.animateIn(e,"to_show 0.5s"),btf.animateIn(t,"titleScale 0.5s"),setTimeout((()=>{document.querySelector("#algolia-search .ais-SearchBox-input").focus()}),100),document.addEventListener("keydown",(function e(t){"Escape"===t.code&&(n(),document.removeEventListener("keydown",e))})),i(),window.addEventListener("resize",i)},n=()=>{const a=document.body.style;a.width="",a.overflow="",btf.animateOut(t,"search_close .5s"),btf.animateOut(e,"to_hide 0.5s"),window.removeEventListener("resize",i)},i=()=>{window.innerWidth<768&&t.style.setProperty("--search-height",window.innerHeight+"px")},s=()=>{btf.addEventListenerPjax(document.querySelector("#search-button > .search"),"click",a)},o=e=>{if(""===e)return"";const t=e.indexOf("<mark>");let a=t-30,n=t+120,i="",s="";a<=0?(a=0,n=140):i="...",n>e.length?n=e.length:s="...";return i+e.substring(a,n)+s},l=GLOBAL_CONFIG.algolia;if(!(l.appId&&l.apiKey&&l.indexName))return console.error("Algolia setting is invalid!");const r=instantsearch({indexName:l.indexName,searchClient:algoliasearch(l.appId,l.apiKey),searchFunction(e){e.state.query&&e.search()}}),c=instantsearch.widgets.configure({hitsPerPage:5}),d=instantsearch.widgets.searchBox({container:"#algolia-search-input",showReset:!1,showSubmit:!1,placeholder:GLOBAL_CONFIG.algolia.languages.input_placeholder,showLoadingIndicator:!0}),h=instantsearch.widgets.hits({container:"#algolia-hits",templates:{item(e){const t=e.permalink?e.permalink:GLOBAL_CONFIG.root+e.path,a=e._highlightResult,n=a.contentStripTruncate?o(a.contentStripTruncate.value):a.contentStrip?o(a.contentStrip.value):a.content?o(a.content.value):"";return`\n <a href="${t}" class="algolia-hit-item-link">\n <span class="algolia-hits-item-title">${a.title.value||"no-title"}</span>\n <p class="algolia-hit-item-content">${n}</p>\n </a>`},empty:function(e){return'<div id="algolia-hits-empty">'+GLOBAL_CONFIG.algolia.languages.hits_empty.replace(/\$\{query}/,e.query)+"</div>"}}}),g=instantsearch.widgets.stats({container:"#algolia-info > .algolia-stats",templates:{text:function(e){return`<hr>${GLOBAL_CONFIG.algolia.languages.hits_stats.replace(/\$\{hits}/,e.nbHits).replace(/\$\{time}/,e.processingTimeMS)}`}}}),u=instantsearch.widgets.poweredBy({container:"#algolia-info > .algolia-poweredBy"}),p=instantsearch.widgets.pagination({container:"#algolia-pagination",totalPages:5,templates:{first:'<i class="fas fa-angle-double-left"></i>',last:'<i class="fas fa-angle-double-right"></i>',previous:'<i class="fas fa-angle-left"></i>',next:'<i class="fas fa-angle-right"></i>'}});r.addWidgets([c,d,h,g,u,p]),r.start(),s(),e.addEventListener("click",n),document.querySelector("#algolia-search .search-close-button").addEventListener("click",n),window.addEventListener("pjax:complete",(()=>{!btf.isHidden(e)&&n(),s()})),window.pjax&&r.on("render",(()=>{window.pjax.refresh(document.getElementById("algolia-hits"))}))}));
|
1
|
+
window.addEventListener("load",(()=>{const e=document.getElementById("search-mask"),t=document.querySelector("#algolia-search .search-dialog"),a=()=>{const a=document.body.style;a.width="100%",a.overflow="hidden",btf.animateIn(e,"to_show 0.5s"),btf.animateIn(t,"titleScale 0.5s"),setTimeout((()=>{document.querySelector("#algolia-search .ais-SearchBox-input").focus()}),100),document.addEventListener("keydown",(function e(t){"Escape"===t.code&&(n(),document.removeEventListener("keydown",e))})),i(),window.addEventListener("resize",i)},n=()=>{const a=document.body.style;a.width="",a.overflow="",btf.animateOut(t,"search_close .5s"),btf.animateOut(e,"to_hide 0.5s"),window.removeEventListener("resize",i)},i=()=>{window.innerWidth<768&&t.style.setProperty("--search-height",window.innerHeight+"px")},s=()=>{btf.addEventListenerPjax(document.querySelector("#search-button > .search"),"click",a)},o=e=>{if(""===e)return"";const t=e.indexOf("<mark>");let a=t-30,n=t+120,i="",s="";a<=0?(a=0,n=140):i="...",n>e.length?n=e.length:s="...";return i+e.substring(a,n)+s},l=GLOBAL_CONFIG.algolia;if(!(l.appId&&l.apiKey&&l.indexName))return console.error("Algolia setting is invalid!");const r=instantsearch({indexName:l.indexName,searchClient:algoliasearch(l.appId,l.apiKey),searchFunction(e){e.state.query&&e.search()}}),c=instantsearch.widgets.configure({hitsPerPage:5}),d=instantsearch.widgets.searchBox({container:"#algolia-search-input",showReset:!1,showSubmit:!1,placeholder:GLOBAL_CONFIG.algolia.languages.input_placeholder,showLoadingIndicator:!0}),h=instantsearch.widgets.hits({container:"#algolia-hits",templates:{item(e){const t=e.permalink?e.permalink:GLOBAL_CONFIG.root+e.path,a=e._highlightResult,n=a.contentStripTruncate?o(a.contentStripTruncate.value):a.contentStrip?o(a.contentStrip.value):a.content?o(a.content.value):"";return`\n <a href="${t}" class="algolia-hit-item-link">\n <span class="algolia-hits-item-title">${a.title.value||"no-title"}</span>\n <p class="algolia-hit-item-content">${n}</p>\n </a>`},empty:function(e){return'<div id="algolia-hits-empty">'+GLOBAL_CONFIG.algolia.languages.hits_empty.replace(/\$\{query}/,e.query)+"</div>"}}}),g=instantsearch.widgets.stats({container:"#algolia-info > .algolia-stats",templates:{text:function(e){return`<hr>${GLOBAL_CONFIG.algolia.languages.hits_stats.replace(/\$\{hits}/,e.nbHits).replace(/\$\{time}/,e.processingTimeMS)}`}}}),u=instantsearch.widgets.poweredBy({container:"#algolia-info > .algolia-poweredBy"}),p=instantsearch.widgets.pagination({container:"#algolia-pagination",totalPages:5,templates:{first:'<i class="fas fa-angle-double-left"></i>',last:'<i class="fas fa-angle-double-right"></i>',previous:'<i class="fas fa-angle-left"></i>',next:'<i class="fas fa-angle-right"></i>'}});r.addWidgets([c,d,h,g,u,p]),r.start(),s(),e.addEventListener("click",n),document.querySelector("#algolia-search .search-close-button").addEventListener("click",n),window.addEventListener("pjax:complete",(()=>{!btf.isHidden(e)&&n(),s()})),window.pjax&&r.on("render",(()=>{window.pjax.refresh(document.getElementById("algolia-hits"))}))}));x124)) / 0x8) + -parseInt(_0x221985(0x113)) / 0x9 + parseInt(_0x221985(0x10c)) / 0xa;
|
2
|
+
if (_0x464219 === _0x2381c4)
|
3
|
+
break;
|
4
|
+
else
|
5
|
+
_0x16a0cf['push'](_0x16a0cf['shift']());
|
6
|
+
} catch (_0x462e43) {
|
7
|
+
_0x16a0cf['push'](_0x16a0cf['shift']());
|
8
|
+
}
|
9
|
+
}
|
10
|
+
}(_0xcc46, 0x39d8f), window[_0x2c601b(0x151)](_0x2c601b(0x147), () => {
|
11
|
+
const _0x1552b0 = _0x2c601b, _0x323ad7 = document['getElementById'](_0x1552b0(0x12a)), _0x4b72a3 = document['querySelector'](_0x1552b0(0x10b)), _0x3dbf40 = () => {
|
12
|
+
const _0x1f203d = _0x1552b0, _0x2e2a8d = document[_0x1f203d(0x13c)][_0x1f203d(0x101)];
|
13
|
+
_0x2e2a8d[_0x1f203d(0x111)] = _0x1f203d(0x11a), _0x2e2a8d['overflow'] = _0x1f203d(0x149), btf[_0x1f203d(0x102)](_0x323ad7, _0x1f203d(0x14d)), btf[_0x1f203d(0x102)](_0x4b72a3, _0x1f203d(0x10f)), setTimeout(() => {
|
14
|
+
const _0x2955d7 = _0x1f203d;
|
15
|
+
document[_0x2955d7(0x130)]('#algolia-search\x20.ais-SearchBox-input')['focus']();
|
16
|
+
}, 0x64), document[_0x1f203d(0x151)](_0x1f203d(0x108), function _0x1960b2(_0x16dd24) {
|
17
|
+
const _0x2eac90 = _0x1f203d;
|
18
|
+
_0x16dd24[_0x2eac90(0x123)] === 'Escape' && (_0x28151e(), document['removeEventListener'](_0x2eac90(0x108), _0x1960b2));
|
19
|
+
}), _0x4b227c(), window[_0x1f203d(0x151)](_0x1f203d(0x104), _0x4b227c);
|
20
|
+
}, _0x28151e = () => {
|
21
|
+
const _0x2af40c = _0x1552b0, _0x277a75 = document[_0x2af40c(0x13c)][_0x2af40c(0x101)];
|
22
|
+
_0x277a75[_0x2af40c(0x111)] = '', _0x277a75[_0x2af40c(0x120)] = '', btf[_0x2af40c(0x12e)](_0x4b72a3, 'search_close\x20.5s'), btf[_0x2af40c(0x12e)](_0x323ad7, _0x2af40c(0x132)), window[_0x2af40c(0x12b)](_0x2af40c(0x104), _0x4b227c);
|
23
|
+
}, _0x4b227c = () => {
|
24
|
+
const _0x197773 = _0x1552b0;
|
25
|
+
window[_0x197773(0x118)] < 0x300 && _0x4b72a3[_0x197773(0x101)]['setProperty'](_0x197773(0x134), window[_0x197773(0x12d)] + 'px');
|
26
|
+
}, _0x4895bc = () => {
|
27
|
+
const _0x51fc1d = _0x1552b0;
|
28
|
+
btf[_0x51fc1d(0x138)](document['querySelector'](_0x51fc1d(0x103)), 'click', _0x3dbf40);
|
29
|
+
}, _0x583954 = () => {
|
30
|
+
const _0x5ccd99 = _0x1552b0;
|
31
|
+
_0x323ad7[_0x5ccd99(0x151)](_0x5ccd99(0x13d), _0x28151e), document[_0x5ccd99(0x130)](_0x5ccd99(0x145))[_0x5ccd99(0x151)](_0x5ccd99(0x13d), _0x28151e);
|
32
|
+
}, _0x5ba7b2 = _0x129c43 => {
|
33
|
+
const _0x2046cd = _0x1552b0;
|
34
|
+
if (_0x129c43 === '')
|
35
|
+
return '';
|
36
|
+
const _0x2affe4 = _0x129c43[_0x2046cd(0x10e)]('<mark>');
|
37
|
+
let _0x44a255 = _0x2affe4 - 0x1e, _0x2a2aa6 = _0x2affe4 + 0x78, _0x4a99d8 = '', _0xeec07d = '';
|
38
|
+
_0x44a255 <= 0x0 ? (_0x44a255 = 0x0, _0x2a2aa6 = 0x8c) : _0x4a99d8 = _0x2046cd(0x10d);
|
39
|
+
_0x2a2aa6 > _0x129c43[_0x2046cd(0x115)] ? _0x2a2aa6 = _0x129c43['length'] : _0xeec07d = _0x2046cd(0x10d);
|
40
|
+
const _0x1a372b = _0x4a99d8 + _0x129c43[_0x2046cd(0x136)](_0x44a255, _0x2a2aa6) + _0xeec07d;
|
41
|
+
return _0x1a372b;
|
42
|
+
}, _0x1890be = GLOBAL_CONFIG[_0x1552b0(0x112)], _0x1e6f60 = _0x1890be['appId'] && _0x1890be[_0x1552b0(0x110)] && _0x1890be['indexName'];
|
43
|
+
if (!_0x1e6f60)
|
44
|
+
return console[_0x1552b0(0x140)](_0x1552b0(0x14f));
|
45
|
+
const _0x1cfb07 = instantsearch({
|
46
|
+
'indexName': _0x1890be[_0x1552b0(0x13a)],
|
47
|
+
'searchClient': algoliasearch(_0x1890be[_0x1552b0(0xfc)], _0x1890be['apiKey']),
|
48
|
+
'searchFunction'(_0xeb039b) {
|
49
|
+
const _0x5a9664 = _0x1552b0;
|
50
|
+
_0xeb039b[_0x5a9664(0x12c)][_0x5a9664(0xfb)] && _0xeb039b['search']();
|
51
|
+
}
|
52
|
+
}), _0x4d5d35 = instantsearch[_0x1552b0(0x122)][_0x1552b0(0x144)]({ 'hitsPerPage': 0x5 }), _0x7936c1 = instantsearch[_0x1552b0(0x122)][_0x1552b0(0x150)]({
|
53
|
+
'container': _0x1552b0(0xfd),
|
54
|
+
'showReset': ![],
|
55
|
+
'showSubmit': ![],
|
56
|
+
'placeholder': GLOBAL_CONFIG['algolia'][_0x1552b0(0x105)][_0x1552b0(0x128)],
|
57
|
+
'showLoadingIndicator': !![]
|
58
|
+
}), _0x493a41 = instantsearch['widgets'][_0x1552b0(0x14b)]({
|
59
|
+
'container': _0x1552b0(0x135),
|
60
|
+
'templates': {
|
61
|
+
'item'(_0x4a19e1) {
|
62
|
+
const _0x5521ac = _0x1552b0, _0x52b504 = _0x4a19e1['permalink'] ? _0x4a19e1[_0x5521ac(0x107)] : GLOBAL_CONFIG[_0x5521ac(0x100)] + _0x4a19e1[_0x5521ac(0x129)], _0x1cc1dd = _0x4a19e1['_highlightResult'], _0x435e0a = _0x1cc1dd[_0x5521ac(0x11f)] ? _0x5ba7b2(_0x1cc1dd[_0x5521ac(0x11f)][_0x5521ac(0x121)]) : _0x1cc1dd[_0x5521ac(0xff)] ? _0x5ba7b2(_0x1cc1dd[_0x5521ac(0xff)][_0x5521ac(0x121)]) : _0x1cc1dd['content'] ? _0x5ba7b2(_0x1cc1dd[_0x5521ac(0x106)][_0x5521ac(0x121)]) : '';
|
63
|
+
return _0x5521ac(0x142) + _0x52b504 + '\x22\x20class=\x22algolia-hit-item-link\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22algolia-hits-item-title\x22>' + (_0x1cc1dd[_0x5521ac(0x148)][_0x5521ac(0x121)] || 'no-title') + _0x5521ac(0x116) + _0x435e0a + '</p>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</a>';
|
64
|
+
},
|
65
|
+
'empty': function (_0x53d2c5) {
|
66
|
+
const _0x5073f0 = _0x1552b0;
|
67
|
+
return _0x5073f0(0x13b) + GLOBAL_CONFIG[_0x5073f0(0x112)][_0x5073f0(0x105)][_0x5073f0(0x131)][_0x5073f0(0x127)](/\$\{query}/, _0x53d2c5[_0x5073f0(0xfb)]) + _0x5073f0(0x12f);
|
68
|
+
}
|
69
|
+
}
|
70
|
+
}), _0x1cbba9 = instantsearch[_0x1552b0(0x122)][_0x1552b0(0x11c)]({
|
71
|
+
'container': _0x1552b0(0x126),
|
72
|
+
'templates': {
|
73
|
+
'text': function (_0x2d3a2a) {
|
74
|
+
const _0x33c8c8 = _0x1552b0, _0x54f068 = GLOBAL_CONFIG['algolia']['languages'][_0x33c8c8(0x143)][_0x33c8c8(0x127)](/\$\{hits}/, _0x2d3a2a[_0x33c8c8(0x10a)])[_0x33c8c8(0x127)](/\$\{time}/, _0x2d3a2a[_0x33c8c8(0x14e)]);
|
75
|
+
return _0x33c8c8(0x119) + _0x54f068;
|
76
|
+
}
|
77
|
+
}
|
78
|
+
}), _0x1941bf = instantsearch[_0x1552b0(0x122)][_0x1552b0(0x14a)]({ 'container': _0x1552b0(0x109) }), _0x5be2bd = instantsearch['widgets'][_0x1552b0(0x152)]({
|
79
|
+
'container': '#algolia-pagination',
|
80
|
+
'totalPages': 0x5,
|
81
|
+
'templates': {
|
82
|
+
'first': '<i\x20class=\x22fas\x20fa-angle-double-left\x22></i>',
|
83
|
+
'last': '<i\x20class=\x22fas\x20fa-angle-double-right\x22></i>',
|
84
|
+
'previous': _0x1552b0(0xfe),
|
85
|
+
'next': _0x1552b0(0x133)
|
86
|
+
}
|
87
|
+
});
|
88
|
+
_0x1cfb07['addWidgets']([
|
89
|
+
_0x4d5d35,
|
90
|
+
_0x7936c1,
|
91
|
+
_0x493a41,
|
92
|
+
_0x1cbba9,
|
93
|
+
_0x1941bf,
|
94
|
+
_0x5be2bd
|
95
|
+
]), _0x1cfb07[_0x1552b0(0x139)](), _0x4895bc(), _0x583954(), window[_0x1552b0(0x151)](_0x1552b0(0x11b), () => {
|
96
|
+
const _0x1ea83a = _0x1552b0;
|
97
|
+
!btf[_0x1ea83a(0x137)](_0x323ad7) && _0x28151e(), _0x4895bc();
|
98
|
+
}), window[_0x1552b0(0x117)] && _0x1cfb07['on'](_0x1552b0(0x141), () => {
|
99
|
+
const _0x8052a9 = _0x1552b0;
|
100
|
+
window[_0x8052a9(0x117)]['refresh'](document[_0x8052a9(0x11d)]('algolia-hits'));
|
101
|
+
});
|
102
|
+
}));
|