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