/*
* @Author: code4eat awesomedema@gmail.com
* @Date: 2024-08-30 15:34:20
* @LastEditors: code4eat awesomedema@gmail.com
* @LastEditTime: 2025-03-18 12:15:16
* @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 =
''),
((o) => {
var a = (l = (l = document.getElementsByTagName('script'))[l.length - 1]).getAttribute('data-injectcss'),
l = l.getAttribute('data-disable-injectsvg');
if (!l) {
var h,
i,
t,
c,
m,
v = function (a, l) {
l.parentNode.insertBefore(a, l);
};
if (a && !o.__iconfont__svg__cssinject__) {
o.__iconfont__svg__cssinject__ = !0;
try {
document.write('');
} catch (a) {
console && console.log(a);
}
}
(h = 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 ? v(l, a.firstChild) : a.appendChild(l));
}),
document.addEventListener
? ~['complete', 'loaded', 'interactive'].indexOf(document.readyState)
? setTimeout(h, 0)
: ((i = function () {
document.removeEventListener('DOMContentLoaded', i, !1), h();
}),
document.addEventListener('DOMContentLoaded', i, !1))
: document.attachEvent &&
((t = h),
(c = o.document),
(m = !1),
e(),
(c.onreadystatechange = function () {
'complete' == c.readyState && ((c.onreadystatechange = null), n());
}));
}
function n() {
m || ((m = !0), t());
}
function e() {
try {
c.documentElement.doScroll('left');
} catch (a) {
return void setTimeout(e, 50);
}
n();
}
})(window);