/*
* @Author: code4eat awesomedema@gmail.com
* @Date: 2023-09-13 09:46:48
* @LastEditors: code4eat awesomedema@gmail.com
* @LastEditTime: 2023-12-21 17:17:38
* @FilePath: /KC-MiddlePlatform/public/zhongtaiC.js
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
*/
(window._iconfont_svg_string_1927152 =
''),
(function (o) {
var a = (a = document.getElementsByTagName('script'))[a.length - 1],
l = a.getAttribute('data-injectcss'),
a = a.getAttribute('data-disable-injectsvg');
if (!a) {
var i,
h,
t,
c,
n,
e = function (a, l) {
l.parentNode.insertBefore(a, l);
};
if (l && !o.__iconfont__svg__cssinject__) {
o.__iconfont__svg__cssinject__ = !0;
try {
document.write('');
} catch (a) {
console && console.log(a);
}
}
(i = function () {
var a,
l = document.createElement('div');
(l.innerHTML = o._iconfont_svg_string_1927152),
(l = l.getElementsByTagName('svg')[0]) &&
(l.setAttribute('aria-hidden', 'true'),
(l.style.position = 'absolute'),
(l.style.width = 0),
(l.style.height = 0),
(l.style.overflow = 'hidden'),
(l = l),
(a = document.body).firstChild ? e(l, a.firstChild) : a.appendChild(l));
}),
document.addEventListener
? ~['complete', 'loaded', 'interactive'].indexOf(document.readyState)
? setTimeout(i, 0)
: ((h = function () {
document.removeEventListener('DOMContentLoaded', h, !1), i();
}),
document.addEventListener('DOMContentLoaded', h, !1))
: document.attachEvent &&
((t = i),
(c = o.document),
(n = !1),
m(),
(c.onreadystatechange = function () {
'complete' == c.readyState && ((c.onreadystatechange = null), v());
}));
}
function v() {
n || ((n = !0), t());
}
function m() {
try {
c.documentElement.doScroll('left');
} catch (a) {
return void setTimeout(m, 50);
}
v();
}
})(window);