<?php
if (!defined('ABSPATH')) {
    die('-1');
}

/*【1】底部波浪*/
function zibll_Add_ons_footerbolang() {
?>
<div class="bolang_layout">
<svg class="editorial"
     xmlns="http://www.w3.org/2000/svg"
     xmlns:xlink="http://www.w3.org/1999/xlink"
     viewBox="0 24 150 28"
     preserveAspectRatio="none">
 <defs>
 <path id="gentle-wave"
 d="M-160 44c30 0 
    58-18 88-18s
    58 18 88 18 
    58-18 88-18 
    58 18 88 18
    v44h-352z" />
  </defs>
  <g class="parallax">
   <use xlink:href="#gentle-wave" x="50" y="0" fill="#4579e2"/>
   <use xlink:href="#gentle-wave" x="50" y="3" fill="#3461c1"/>
   <use xlink:href="#gentle-wave" x="50" y="6" fill="#2d55aa"/>  
  </g>
</svg>
</div>
<style type='text/css'>
.parallax > use{animation: move-forever 12s linear infinite;}.parallax > use:nth-child(1){animation-delay: -2s;}.parallax > use:nth-child(2){animation-delay: -2s; animation-duration: 5s;}.parallax > use:nth-child(3){animation-delay: -4s; animation-duration: 3s;}@keyframes move-forever{0%{transform: translate(-90px, 0%);} 100%{transform: translate(85px, 0%);}}.bolang_layout{width: 100%;height: 40px;position: relative;overflow: hidden;z-index: 1;background: var(--footer-bg);}.editorial{display: block; width: 100%; height: 40px; margin: 0;}
</style>
<?php
}

/*【2】文章随机彩色标签*/
function zibll_Add_ons_hook_colorfultag_css() {
?>
<style>
.article-tags{margin-bottom: 10px}.article-tags a{padding: 4px 10px;background-color: #19B5FE;color: white;font-size: 12px;line-height: 16px;font-weight: 400;margin: 0 5px 5px 0;border-radius: 2px;display: inline-block}.article-tags a:nth-child(5n){background-color: #4A4A4A;color: #FFF}.article-tags a:nth-child(5n+1){background-color: #ff5e5c;color: #FFF}.article-tags a:nth-child(5n+2){background-color: #ffbb50;color: #FFF}.article-tags a:nth-child(5n+3){background-color: #1ac756;color: #FFF}.article-tags a:nth-child(5n+4){background-color: #19B5FE;color: #FFF}.article-tags a:hover{background-color: #1B1B1B;color: #FFF}
</style>
<?php } 

/*【3】彩色滚动条*/
function zibll_Add_ons_hook_colorfulscrollbar_css() {
?>
<style>
    ::-webkit-scrollbar {/**大小*/
      width: 10px;  
      height: 1px;
    }
    ::-webkit-scrollbar-thumb {/**颜色*/
      background-color: #07e6f6;
      background-image: -webkit-linear-gradient(45deg, rgb(236, 174, 6) 25%, transparent 25%, transparent 50%, rgb(10, 77, 246) 50%, rgb(241, 9, 28) 75%, transparent 75%, transparent);
    }
    ::-webkit-scrollbar-track {/**背景*/
        background:white;
        border-radius: 20px;
    }
</style>
<?php }

/*【4】logo扫光*/
function zibll_Add_ons_hook_logoflash_css() {
?>
<style>
.navbar-brand{
position:relative;
overflow:hidden;
margin: 0px 0 0 0px;
}
.navbar-brand:before{
content:""; 
position: absolute; 
left: -665px; 
top: -460px; 
width: 200px; 
height: 15px; 
background-color: rgba(255,255,255,.5);
-webkit-transform: rotate(-45deg);
-moz-transform: rotate(-45deg);
-ms-transform: rotate(-45deg);
-o-transform: rotate(-45deg); 
transform: rotate(-45deg);
-webkit-animation: searchLights 10s ease-in 0s infinite;
-o-animation: searchLights 6s ease-in 0s infinite;
animation: searchLights 10s ease-in 0s infinite;
}
@-moz-keyframes searchLights{50%{left: -120px; top: 0;} 65%{left: 350px; top: 0px;}}
@keyframes searchLights{40%{left: -120px; top: 0;} 60%{left: 350px; top: 0px;} 80%{left: -120px; top: 0px;}
}
</style>
<?php }

/*【5】导航栏字体加粗*/
function zibll_Add_ons_hook_navbarb_css() {
?>
<style>
    ul.nav {font-weight: 650;}
</style>
<?php }

/*【6】头像呼吸光环*/
function zibll_Add_ons_hook_avatar_css() {
?>
<style>
    .avatar{border-radius: 50%; animation: light 4s ease-in-out infinite; transition: 0.5s;}
</style>
<?php }

/*【7】头像鼠标悬停旋转放大*/
function zibll_Add_ons_hook_avatara_css() {
    ?>
    <style>
        .avatar:hover{transform: scale(1.15) rotate(720deg);}@keyframes light{0%{box-shadow: 0 0 4px #f00;} 25%{box-shadow: 0 0 16px #0f0;} 50%{box-shadow: 0 0 4px #00f;} 75%{box-shadow: 0 0 16px #0f0;} 100%{box-shadow: 0 0 4px #f00;}}
    </style>
    <?php }

/*【8】首页文章列表悬停上浮*/
function zibll_Add_ons_hook_posts_item_css() {
?>
<style>
    @media screen and (min-width: 980px){.tab-content .posts-item:not(article){transition: all 0.3s;}.tab-content .posts-item:not(article):hover{transform: translateY(-10px); box-shadow: 0 8px 10px rgba(255, 112, 173, 0.35);}}
</style>
<?php }

/*【9】幻灯片指示器样式优化*/
function zibll_Add_ons_hook_swiper_css() {
?>
<style>
    .swiper-button-next, .swiper-button-prev{height: 70px !important;}.swiper-button-prev{border-top-right-radius: 8px;border-bottom-right-radius: 8px;}.swiper-button-next{border-top-left-radius: 8px;border-bottom-left-radius: 8px;}
</style>
<?php }

/*【10】FPS显示*/
function zibll_Add_ons_hook_fps_js() {
    ?>
        <script>
            // FPS帧
            $('body').before('<div id="fps" style="z-index:10000;position:fixed;top:3;left:3;font-weight:bold;background-image: linear-gradient( 120deg, #f093fb 0%, #f5576c 100%);-webkit-background-clip: text;color: transparent;"></div>');
            var showFPS = (function(){
            var requestAnimationFrame =
            window.requestAnimationFrame ||
            window.webkitRequestAnimationFrame ||
            window.mozRequestAnimationFrame ||
            window.oRequestAnimationFrame ||
            window.msRequestAnimationFrame ||
            function(callback) {
            window.setTimeout(callback, 1000/60);
            };
            var e,pe,pid,fps,last,offset,step,appendFps;
            
            fps = 0;
            last = Date.now();
            step = function(){
            offset = Date.now() - last;
            fps += 1;
            if( offset >= 1000 ){
            last += offset;
            appendFps(fps);
            fps = 0;
            }
            requestAnimationFrame( step );
            };
            appendFps = function(fps){
            console.log(fps+'FPS');
            $('#fps').html(fps+'FPS');
            };
            step();
            })();
        </script>
    <?php
}

/*【11】文章内图片鼠标移动到图片外边框自动发光*/
function zibll_Add_ons_hook_post_page_img_shadow_css() {
?>
<style>
.wp-posts-content img:hover {
box-shadow:0px 0px 8px #63B8FF;
}
</style>
<?php }

/*【12】子比隐藏首页列表文章发布时间*/
function zibll_Add_ons_hook_zibll_post_public_date_css() {
?>
<style>
    .icon-circle{visibility: hidden;}
</style>
<?php }

/*【13】纪念日全局灰色主题*/
function zibll_Add_ons_hook_site_gray_css() {
?>
<style>
html{
    -webkit-filter: grayscale(100%);
            filter: grayscale(100%);
}
</style>
<?php }

/*【14】鼠标美化*/
function zibll_Add_ons_hook_shubiao_css() {
?>
<style>
body{cursor:url(https://csxandlsy.xyz/wp-content/uploads/2022/07/shubiao1.png), default;}
a:hover{cursor:url(https://csxandlsy.xyz/wp-content/uploads/2022/07/shubiao2.png), pointer;}
</style>
<?php }

/*【15】日间、夜间模式切换提示*/
function zibll_Add_ons_hook_qiehuan() {
?>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/layui/2.6.8/layui.min.js"></script>
<script>
$(".toggle-theme").click(function() {
var toggleThemeText = "当前为日间模式";
if (!$("body").hasClass('dark-theme')) {
toggleThemeText = "当前为夜间模式";
}
layer.msg(toggleThemeText, {
time: 2000,
anim: 1
});
});  
</script>
<?php }

/*【16】禁用搜索功能*/
function zibll_Add_ons_hook_nosearch_js() {
?>
<script>
$(document).ready(function(){
$("li.relative").css("display","none")
})
</script>
<?php }

/*【17】禁用右键*/
function zibll_Add_ons_hook_noyou_js() {
?>
<script>
document.oncontextmenu = function (event){
if(window.event){
event = window.event;
}try{
var the = event.srcElement;
if (!((the.tagName == "INPUT" && the.type.toLowerCase() == "text") || the.tagName == "TEXTAREA")){
return false;
}
return true;
}catch (e){
return false;
}
}
</script>
<?php }

/*【18】禁用F12键*/
function zibll_Add_ons_hook_noft_js() {
?>
<script>
document.onkeydown = function(){
if(window.event && window.event.keyCode == 123) {
    alert("小子，别想扒站！");
    event.keyCode=0;
    event.returnValue=false;
}
if(window.event && window.event.keyCode == 13) {
    window.event.keyCode = 505;
}
if(window.event && window.event.keyCode == 8) {
    alert(str+"\n请使用Del键进行字符的删除操作！");
    window.event.returnValue=false;
}
}
</script>
<?php }

/*【19】元旦灯笼+梅花*/
function zibll_Add_ons_hook_chunjie() {
?>
<div class="meiha"></div>
<style>
.meiha {
        position: fixed;
        top: 0;
        right: 0;
        z-index: 999;
        width: 350px;
        height: 231px;
        pointer-events: none;
        background: url('https://csxandlsy.xyz/wp-content/uploads/2022/08/1kBpid.png');
}
</style>
<div class="deng-box">
        <div class="deng">
                <div class="xian"></div>
                <div class="deng-a">
                        <div class="deng-b"><div class="deng-t">旦</div></div>
                </div>
                <div class="shui shui-a"><div class="shui-c"></div><div class="shui-b"></div></div>
        </div>
</div>
<div class="deng-box1">
        <div class="deng">
                <div class="xian"></div>
                <div class="deng-a">
                        <div class="deng-b"><div class="deng-t">元</div></div>
                </div>
                <div class="shui shui-a"><div class="shui-c"></div><div class="shui-b"></div></div>
        </div>
</div>
<style>
.deng-box {
        position: fixed;
        top: -40px;
        right: -20px;
        z-index: 9999;
        pointer-events: none;
}
 
.deng-box1 {
        position: fixed;
        top: -30px;
        right: 10px;
        z-index: 9999;
        pointer-events: none;
}
.deng-box1 .deng {
        position: relative;
        width: 120px;
        height: 90px;
        margin: 50px;
        background: #d8000f;
        background: rgba(216, 0, 15, 0.8);
        border-radius: 50% 50%;
        -webkit-transform-origin: 50% -100px;
        -webkit-animation: swing 5s infinite ease-in-out;
        box-shadow: -5px 5px 30px 4px rgba(252, 144, 61, 1);
}
.deng {
        position: relative;
        width: 120px;
        height: 90px;
        margin: 50px;
        background: #d8000f;
        background: rgba(216, 0, 15, 0.8);
        border-radius: 50% 50%;
        -webkit-transform-origin: 50% -100px;
        -webkit-animation: swing 3s infinite ease-in-out;
        box-shadow: -5px 5px 50px 4px rgba(250, 108, 0, 1);
}
.deng-a {
        width: 100px;
        height: 90px;
        background: #d8000f;
        background: rgba(216, 0, 15, 0.1);
        margin: 12px 8px 8px 10px;
        border-radius: 50% 50%;
        border: 2px solid #dc8f03;
}
.deng-b {
        width: 45px;
        height: 90px;
        background: #d8000f;
        background: rgba(216, 0, 15, 0.1);
        margin: -2px 8px 8px 26px;
        border-radius: 50% 50%;
        border: 2px solid #dc8f03;
}
.xian {
        position: absolute;
        top: -20px;
        left: 60px;
        width: 2px;
        height: 20px;
        background: #dc8f03;
}
.shui-a {
        position: relative;
        width: 5px;
        height: 20px;
        margin: -5px 0 0 59px;
        -webkit-animation: swing 4s infinite ease-in-out;
        -webkit-transform-origin: 50% -45px;
        background: #ffa500;
        border-radius: 0 0 5px 5px;
}
.shui-b {
        position: absolute;
        top: 14px;
        left: -2px;
        width: 10px;
        height: 10px;
        background: #dc8f03;
        border-radius: 50%;
}
.shui-c {
        position: absolute;
        top: 18px;
        left: -2px;
        width: 10px;
        height: 35px;
        background: #ffa500;
        border-radius: 0 0 0 5px;
}
.deng:before {
        position: absolute;
        top: -7px;
        left: 29px;
        height: 12px;
        width: 60px;
        content: " ";
        display: block;
        z-index: 999;
        border-radius: 5px 5px 0 0;
        border: solid 1px #dc8f03;
        background: #ffa500;
        background: linear-gradient(to right, #dc8f03, #ffa500, #dc8f03, #ffa500, #dc8f03);
}
.deng:after {
        position: absolute;
        bottom: -7px;
        left: 10px;
        height: 12px;
        width: 60px;
        content: " ";
        display: block;
        margin-left: 20px;
        border-radius: 0 0 5px 5px;
        border: solid 1px #dc8f03;
        background: #ffa500;
        background: linear-gradient(to right, #dc8f03, #ffa500, #dc8f03, #ffa500, #dc8f03);
}
.deng-t {
        font-family: 华文行楷,Arial,Lucida Grande,Tahoma,sans-serif;
        font-size: 3.2rem;
        color: #dc8f03;
        font-weight: bold;
        line-height: 85px;
        text-align: center;
}
.night .deng-t, 
.night .deng-box, 
.night .deng-box1 {
        background: transparent !important;
}
@-moz-keyframes swing {
        0% {
                -moz-transform: rotate(-10deg)
        }
        50% {
                -moz-transform: rotate(10deg)
        }
 
        100% {
                -moz-transform: rotate(-10deg)
        }
}
@-webkit-keyframes swing {
        0% {
                -webkit-transform: rotate(-10deg)
        }
        50% {
                -webkit-transform: rotate(10deg)
        }
        100% {
                -webkit-transform: rotate(-10deg)
        }
}
</style>
<?php }

/*【20】全局樱花特效*/
function zibll_Add_ons_hook_yinghua() {
?>
<script src="https://cdn.jsdelivr.net/gh/1426239465/98dou.cn/yinghua/yinghua.js"></script>
<?php }

//【21】顶部进度条
//顶部进度条
function zibll_Add_ons_dingbu_jindutiao(){
    ?>
<style>
#percentageCounter{position:fixed; left:0; top:0; height:3px; z-index:99999; background-image: linear-gradient(to right, #339933,#FF6666);border-radius:5px;}
</style>
<div id="percentageCounter"></div>
<script type="text/javascript">//进度条加载显示
$(window).scroll(function() {
    var a = $(window).scrollTop(),
    c = $(document).height(),
    b = $(window).height();
    scrollPercent = a / (c - b) * 100;
    scrollPercent = scrollPercent.toFixed(1);
    $("#percentageCounter").css({
        width: scrollPercent + "%"
    });
}).trigger("scroll");
</script>
<?php
}

//【22】首页文章列表悬停上浮2
function zibll_Add_ons_hook_posts_item2_css() {
if(is_home()){
?>
<style>
.tab-content .posts-item:not(article):hover{opacity: 1;z-index: 99;border-radius: 20px;transform: translateY(-5px);box-shadow: 0 3px 20px rgba(0, 0, 0, .25);animation: index-link-active 1s cubic-bezier(0.315, 0.605, 0.375, 0.925) forwards;}@keyframes index-link-active {0%{transform: perspective(2000px) rotateX(0) rotateY(0) translateZ(0);}16%{transform:perspective(2000px) rotateX(10deg) rotateY(5deg) translateZ(32px);}100%{transform: perspective(2000px) rotateX(0) rotateY(0) translateZ(65px);}}
</style>
<?php
}
}

//【23】文章阴影
function zibll_Add_ons_article_box_shadow(){
if(is_single ()){
    ?>
    <style>
    .article{border-radius:var(--main-radius);box-shadow: 1px 1px 3px 3px rgba(255, 112, 173, 0.35);-moz-box-shadow: 1px 1px 3px 3px rgba(255, 112, 173, 0.35);}.article:hover{box-shadow: 1px 1px 5px 5px rgba(255, 112, 173, 0.35); -moz-box-shadow: 1px 1px 5px 5px rgba(255, 112, 173, 0.35);}
    </style>
    <?php
}
}

//【24】字体①
function zibll_Add_ons_hook_zitia_css() {
?>
<style>
@media screen and (min-width: 1000px){
html,body{
font-family:"楷体";
}
}
</style>
<?php }

//【25】字体2
function zibll_Add_ons_hook_zitib_css() {
?>
<style>
@media screen and (min-width: 1000px){
html,body{
font-family:"华文新魏";
}
}
</style>
<?php }

//【26】字体3
function zibll_Add_ons_hook_zitic_css() {
?>
<style>
@font-face{font-family: 'zti';src:  url('/wp-content/plugins/zibll_Add_ons/zt/mj1.ttf');}body{font-family:'zti';}
</style>
<?php }

//【27】字体4
function zibll_Add_ons_hook_zitid_css() {
?>
<style>
@font-face{font-family: 'zti';src:  url('/wp-content/plugins/zibll_Add_ons/zt/mj2.ttf');}body{font-family:'zti';}
</style>
<?php }

//【28】字体5
function zibll_Add_ons_hook_zitie_css() {
?>
<style>
@font-face{font-family: 'zti';src:  url('/wp-content/plugins/zibll_Add_ons/zt/mj3.ttf');}body{font-family:'zti';}
</style>
<?php }

//【29】字体6
function zibll_Add_ons_hook_zitif_css() {
?>
<style>
@font-face{font-family: 'zti';src:  url('/wp-content/plugins/zibll_Add_ons/zt/mj4.ttf');}body{font-family:'zti';}
</style>
<?php }

//30
function zibll_Add_ons_baozha() {
?>
    <canvas class="baozha" style="position:fixed;left:0;top:0;z-index:99999999;pointer-events:none;"></canvas>
    <script>eval(function(p,a,c,k,e,d){e=function(c){return(c<a?"":e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)d[e(c)]=k[c]||e(c);k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1;};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p;}('12 j={7H:{}};j.2k="8"==1v 1M.4X?1M.2k:8(e,r,p){13(p.5z||p.5A){5B 2J 5y("5v 5w 5x 5C 5H 5I 5J.")}e!=1V.1I&&e!=1M.1I&&(e[r]=p.1j)};j.4p=8(e){o"2L"!=1v 1r&&1r===e?e:"2L"!=1v 1k&&2z!=1k?1k:e};j.1k=j.4p(1x);j.4s="5G";j.3n=8(){j.3n=8(){};j.1k.1s||(j.1k.1s=j.1s)};j.4r=0;j.1s=8(e){o j.4s+(e||"")+j.4r++};j.2A=8(){j.3n();12 e=j.1k.1s.1O;e||(e=j.1k.1s.1O=j.1k.1s("1O"));"8"!=1v 1V.1I[e]&&j.2k(1V.1I,e,{4e:!0,48:!0,1j:8(){o j.41(1x)}});j.2A=8(){}};j.41=8(e){12 r=0;o j.3X(8(){o r<e.14?{24:!1,1j:e[r++]}:{24:!0}})};j.3X=8(e){j.2A();e={2a:e};e[j.1k.1s.1O]=8(){o 1x};o e};j.3W=j.3W||{};j.4M=8(e,r){j.2A();e 2e 5D&&(e+="");12 p=0,m={2a:8(){13(p<e.14){12 u=p++;o{1j:r(u,e[u]),24:!1}}m.2a=8(){o{24:!0,1j:1i 0}};o m.2a()}};m[1s.1O]=8(){o m};o m};j.4S=8(e,r,p,m){13(r){p=j.1k;e=e.2f(".");1a(m=0;m<e.14-1;m++){12 u=e[m];u 1m p||(p[u]={});p=p[u]}e=e[e.14-1];m=p[e];r=r(m);r!=m&&2z!=r&&j.2k(p,e,{4e:!0,48:!0,1j:r})}};j.4S("1V.1I.3F",8(e){o e?e:8(){o j.4M(1x,8(e){o e})}},"5E-5F","5u");12 j=1x;(8(e,r){"8"===1v 3g&&3g.5j?3g([],r):"3o"===1v 3i&&3i.4L?3i.4L=r():e.1g=r()})(1x,8(){8 e(a){13(!h.27(a)){5k{o 2v.5l(a)}5i(c){}}}8 r(a,c){1a(12 d=a.14,b=2<=3d.14?3d[1]:1i 0,f=[],n=0;n<d;n++){13(n 1m a){12 k=a[n];c.2F(b,k,n,a)&&f.1q(k)}}o f}8 p(a){o a.5f(8(a,d){o a.5g(h.1t(d)?p(d):d)},[])}8 m(a){13(h.1t(a)){o a}h.26(a)&&(a=e(a)||a);o a 2e 5h||a 2e 5m?[].5r.2F(a):[a]}8 u(a,c){o a.5s(8(a){o a===c})}8 C(a){12 c={},d;1a(d 1m a){c[d]=a[d]}o c}8 D(a,c){12 d=C(a),b;1a(b 1m a){d[b]=c.35(b)?c[b]:a[b]}o d}8 z(a,c){12 d=C(a),b;1a(b 1m c){d[b]=h.1Z(a[b])?c[b]:a[b]}o d}8 T(a){a=a.34(/^#?([a-f\\d])([a-f\\d])([a-f\\d])$/i,8(a,c,d,k){o c+c+d+d+k+k});12 c=/^#?([a-f\\d]{2})([a-f\\d]{2})([a-f\\d]{2})$/i.1D(a);a=1J(c[1],16);12 d=1J(c[2],16),c=1J(c[3],16);o"33("+a+","+d+","+c+",1)"}8 U(a){8 c(a,c,b){0>b&&(b+=1);1<b&&--b;o b<1/6?a+6*(c-a)*b:0.5>b?c:b<2/3?a+(c-a)*(2/3-b)*6:a}12 d=/21\\((\\d+),\\s*([\\d.]+)%,\\s*([\\d.]+)%\\)/g.1D(a)||/5t\\((\\d+),\\s*([\\d.]+)%,\\s*([\\d.]+)%,\\s*([\\d.]+)\\)/g.1D(a);a=1J(d[1])/4R;12 b=1J(d[2])/1P,f=1J(d[3])/1P,d=d[4]||1;13(0==b){f=b=a=f}1n{12 n=0.5>f?f*(1+b):f+b-f*b,k=2*f-n,f=c(k,n,a+1/3),b=c(k,n,a);a=c(k,n,a-1/3)}o"33("+2Q*f+","+2Q*b+","+2Q*a+","+d+")"}8 y(a){13(a=/([\\+\\-]?[0-9#\\.]+)(%|2C|5q|5n|5o|1m|5p|65|66|67|64|60|62|63|69|3V|6e|6f)?$/.1D(a)){o a[2]}}8 V(a){13(-1<a.1y("6g")||"4m"===a){o"2C"}13(-1<a.1y("4H")||-1<a.1y("6d")){o"3V"}}8 I(a,c){o h.2i(a)?a(c.1f,c.1R,c.3w):a}8 E(a,c){13(c 1m a.1N){o 6a(a).6b(c.34(/([a-z])([A-Z])/g,"$1-$2").3M())||"0"}}8 J(a,c){13(h.2c(a)&&u(W,c)){o"1w"}13(h.2c(a)&&(a.1u(c)||h.2K(a)&&a[c])){o"3f"}13(h.2c(a)&&"1w"!==c&&E(a,c)){o"3h"}13(2z!=a[c]){o"3o"}}8 X(a,c){12 d=V(c),d=-1<c.1y("2I")?1:0+d;a=a.1N.1w;13(!a){o d}1a(12 b=[],f=[],n=[],k=/(\\w+)\\((.+?)\\)/g;b=k.1D(a);){f.1q(b[1]),n.1q(b[2])}a=r(n,8(a,b){o f[b]===c});o a.14?a[0]:d}8 K(a,c){2B(J(a,c)){1c"1w":o X(a,c);1c"3h":o E(a,c);1c"3f":o a.1u(c)}o a[c]||0}8 L(a,c){12 d=/^(\\*=|\\+=|-=)/.1D(a);13(!d){o a}12 b=y(a)||0;c=2x(c);a=2x(a.34(d[0],""));2B(d[0][0]){1c"+":o c+a+b;1c"-":o c-a+b;1c"*":o c*a+b}}8 F(a,c){o 17.6c(17.2X(c.x-a.x,2)+17.2X(c.y-a.y,2))}8 M(a){a=a.3Q;1a(12 c=0,d,b=0;b<a.3R;b++){12 f=a.3c(b);0<b&&(c+=F(d,f));d=f}o c}8 N(a){13(a.3L){o a.3L()}2B(a.5Z.3M()){1c"5O":o 2*17.1z*a.1u("r");1c"5P":o 2*a.1u("2t")+2*a.1u("2u");1c"5Q":o F({x:a.1u("5N"),y:a.1u("5K")},{x:a.1u("5L"),y:a.1u("5M")});1c"5R":o M(a);1c"5W":12 c=a.3Q;o M(a)+F(c.3c(c.3R-1),c.3c(0))}}8 Y(a,c){8 d(b){b=1i 0===b?0:b;o a.4J.5X(1<=c+b?c+b:0)}12 b=d(),f=d(-1),n=d(1);2B(a.2m){1c"x":o b.x;1c"y":o b.y;1c"5Y":o 2G*17.5V(n.y-f.y,n.x-f.x)/17.1z}}8 O(a,c){12 d=/-?\\d*\\.?\\d+/g,b;b=h.2q(a)?a.31:a;13(h.27(b)){13(h.20(b)){12 f=/20\\((\\d+,\\s*[\\d]+,\\s*[\\d]+)\\)/g.1D(b);b=f?"33("+f[1]+",1)":b}1n{b=h.2O(b)?T(b):h.21(b)?U(b):1i 0}}1n{f=(f=y(b))?b.5S(0,b.14-f.14):b,b=c&&!/\\s/g.29(b)?f+c:f}b+="";o{3m:b,2s:b.3v(d)?b.3v(d).1o(5T):[0],3D:h.26(a)||c?b.2f(d):[]}}8 P(a){a=a?p(h.1t(a)?a.1o(m):m(a)):[];o r(a,8(a,d,b){o b.1y(a)===d})}8 Z(a){12 c=P(a);o c.1o(8(a,b){o{1f:a,1R:b,3w:c.14}})}8 3H(a,c){12 d=C(c);13(h.1t(a)){12 b=a.14;2!==b||h.2y(a[0])?h.2i(c.18)||(d.18=c.18/b):a={1j:a}}o m(a).1o(8(a,b){b=b?0:c.1b;a=h.2y(a)&&!h.2q(a)?a:{1j:a};h.1Z(a.1b)&&(a.1b=b);o a}).1o(8(a){o z(a,d)})}8 3x(a,c){12 d={},b;1a(b 1m a){12 f=I(a[b],c);h.1t(f)&&(f=f.1o(8(a){o I(a,c)}),1===f.14&&(f=f[0]));d[b]=f}d.18=2x(d.18);d.1b=2x(d.1b);o d}8 3B(a){o h.1t(a)?A.2p(1x,a):Q[a]}8 3G(a,c){12 d;o a.2r.1o(8(b){b=3x(b,c);12 f=b.1j,e=K(c.1f,a.2E),k=d?d.1Y.3m:e,k=h.1t(f)?f[0]:k,w=L(h.1t(f)?f[1]:f,k),e=y(w)||y(k)||y(e);b.2W=O(k,e);b.1Y=O(w,e);b.2Y=d?d.2w:a.1p;b.2w=b.2Y+b.1b+b.18;b.1C=3B(b.1C);b.2D=(36-17.2U(17.2T(b.2D,1),5U))/36;b.3E=h.2q(f);b.2M=h.27(b.2W.3m);b.2M&&(b.2b=1);o d=b})}8 3C(a,c){o r(p(a.1o(8(a){o c.1o(8(b){12 c=J(a.1f,b.2E);13(c){12 d=3G(b,a);b={1A:c,2m:b.2E,3e:a,2r:d,18:d[d.14-1].2w,1b:d[0].1b}}1n{b=1i 0}o b})})),8(a){o!h.1Z(a)})}8 R(a,c,d,b){12 f="1b"===a;o c.14?(f?17.2U:17.2T).2p(17,c.1o(8(b){o b[a]})):f?b.1b:d.1p+b.1b+b.18}8 3S(a){12 c=D(3t,a),d=D(S,a),b=Z(a.1B),f=[],e=z(c,d),k;1a(k 1m a){e.35(k)||"1B"===k||f.1q({2E:k,1p:e.1p,2r:3H(a[k],d)})}a=3C(b,f);o z(c,{1E:[],2h:b,2H:a,18:R("18",a,c,d),1b:R("1b",a,c,d)})}8 q(a){8 c(){o 1r.38&&2J 38(8(a){o p=a})}8 d(a){o g.1F?g.18-a:a}8 b(a){1a(12 b=0,c={},d=g.2H,f=d.14;b<f;){12 e=d[b],k=e.3e,h=e.2r,n=h.14-1,l=h[n];n&&(l=r(h,8(b){o a<b.2w})[0]||l);1a(12 h=17.2U(17.2T(a-l.2Y-l.1b,0),l.18)/l.18,w=3z(h)?1:l.1C(h,l.2D),h=l.1Y.3D,p=l.2b,n=[],m=1i 0,m=l.1Y.2s.14,t=0;t<m;t++){12 x=1i 0,x=l.1Y.2s[t],q=l.2W.2s[t],x=l.3E?Y(l.1j,w*x):q+w*(x-q);p&&(l.2M&&2<t||(x=17.2b(x*p)/p));n.1q(x)}13(l=h.14){1a(m=h[0],w=0;w<l;w++){p=h[w+1],t=n[w],3z(t)||(m=p?m+(t+p):m+(t+" "))}}1n{m=n[0]}3p[e.1A](k.1f,e.2m,m,c,k.1R);e.5e=m;b++}13(b=1M.3F(c).14){1a(d=0;d<b;d++){H||(H=E(2v.51,"1w")?"1w":"-57-1w"),g.2h[d].1f.1N[H]=c[d].54(" ")}}g.1G=a;g.3O=a/g.18*1P}8 f(a){13(g[a]){g[a](g)}}8 e(){g.1S&&!0!==g.1S&&g.1S--}8 k(a){12 k=g.18,n=g.1p,w=n+g.1b,r=g.1G,x=g.1F,q=d(a);13(g.1E.14){12 u=g.1E,v=u.14;13(q>=g.1G){1a(12 G=0;G<v;G++){u[G].1W(q)}}1n{1a(;v--;){u[v].1W(q)}}}13(q>=w||!k){g.1L||(g.1L=!0,f("3u")),f("4y")}13(q>n&&q<k){b(q)}1n{13(q<=n&&0!==r&&(b(0),x&&e()),q>=k&&r!==k||!k){b(k),x||e()}}f("1T");a>=k&&(g.1S?(t=h,"3J"===g.1X&&(g.1F=!g.1F)):(g.1Q(),g.1K||(g.1K=!0,f("4G"),"38"1m 1r&&(p(),m=c()))),l=0)}a=1i 0===a?{}:a;12 h,t,l=0,p=2z,m=c(),g=3S(a);g.1U=8(){12 a=g.1X,c=g.4F;g.1G=0;g.3O=0;g.2l=!0;g.1L=!1;g.1K=!1;g.1F="3N"===a;g.1S="3J"===a&&1===c?2:c;b(0);1a(a=g.1E.14;a--;){g.1E[a].1U()}};g.3r=8(a){h=a;t||(t=h);k((l+h-t)*q.3q)};g.1W=8(a){k(d(a))};g.1Q=8(){12 a=v.1y(g);-1<a&&v.4E(a,1);g.2l=!0};g.2o=8(){g.2l&&(g.2l=!1,t=0,l=d(g.1G),v.1q(g),B||3s())};g.3N=8(){g.1F=!g.1F;t=0;l=d(g.1G)};g.4D=8(){g.1Q();g.1U();g.2o()};g.4W=m;g.1U();g.2j&&g.2o();o g}12 3t={1T:1i 0,3u:1i 0,4y:1i 0,4G:1i 0,4F:1,1X:"4Y",2j:!0,1p:0},S={18:36,1b:0,1C:"4V",2D:4u,2b:0},W="4U 59 5b 4H 5c 52 56 2I 58 5d 5a 4T 4Z 4m".2f(" "),H,h={1t:8(a){o 1V.7q(a)},2y:8(a){o-1<1M.1I.7r.2F(a).1y("1M")},2q:8(a){o h.2y(a)&&a.35("31")},2K:8(a){o a 2e 7m},2c:8(a){o a.7n||h.2K(a)},26:8(a){o"7o"===1v a},2i:8(a){o"8"===1v a},1Z:8(a){o"2L"===1v a},2O:8(a){o/(^#[0-4z-F]{6}$)|(^#[0-4z-F]{3}$)/i.29(a)},20:8(a){o/^20/.29(a)},21:8(a){o/^21/.29(a)},27:8(a){o h.2O(a)||h.20(a)||h.21(a)}},A=8(){8 a(a,d,b){o(((1-3*b+3*d)*a+(3*b-6*d))*a+3*d)*a}o 8(c,d,b,f){13(0<=c&&1>=c&&0<=b&&1>=b){12 e=2J 7w(11);13(c!==d||b!==f){1a(12 k=0;11>k;++k){e[k]=a(0.1*k,c,b)}}o 8(k){13(c===d&&b===f){o k}13(0===k){o 0}13(1===k){o 1}1a(12 h=0,l=1;10!==l&&e[l]<=k;++l){h+=0.1}--l;12 l=h+(k-e[l])/(e[l+1]-e[l])*0.1,n=3*(1-3*b+3*c)*l*l+2*(3*b-6*c)*l+3*c;13(0.7y<=n){1a(h=0;4>h;++h){n=3*(1-3*b+3*c)*l*l+2*(3*b-6*c)*l+3*c;13(0===n){7u}12 m=a(l,c,b)-k,l=l-m/n}k=l}1n{13(0===n){k=l}1n{12 l=h,h=h+0.1,g=0;7v{m=l+(h-l)/2,n=a(m,c,b)-k,0<n?h=m:l=m}7b(1e-7<17.7d(n)&&10>++g);k=m}}o a(k,d,f)}}}}(),Q=8(){8 a(a,b){o 0===a||1===a?a:-17.2X(2,10*(a-1))*17.4K(2*(a-1-b/(2*17.1z)*17.79(1))*17.1z/b)}12 c="7a 7e 7i 7j 7k 7f 7g 7h 7N".2f(" "),d={7L:[[0.55,0.7B,0.68,0.53],[0.55,0.7z,0.7M,0.19],[0.7F,0.3y,0.7s,0.22],[0.7D,0.3l,0.7C,0.7P],[0.47,0,0.7J,0.6x],[0.3K,0.3l,0.6y,0.6z],[0.6,0.6u,0.6v,0.6w],[0.6,-0.28,0.6F,0.3P],a],6A:[[0.25,0.46,0.45,0.6k],[0.6l,0.61,0.3U,1],[0.3A,0.6m,0.44,1],[0.23,1,0.32,1],[0.39,0.6i,0.6j,1],[0.19,1,0.22,1],[0.6n,0.6o,0.3A,1],[0.3T,0.6p,0.32,1.6G],8(b,c){o 1-a(1-b,c)}],6X:[[0.6Y,0.3y,0.6Z,0.6U],[0.6V,0.3P,0.3U,1],[0.77,0,0.3T,1],[0.3I,0,0.73,1],[0.74,0.3l,0.55,0.3K],[1,0,0,1],[0.76,0.70,0.15,0.3I],[0.68,-0.55,0.72,1.55],8(b,c){o 0.5>b?a(2*b,c)/2:1-a(-2*b+2,c)/2}]},b={4c:A(0.25,0.25,0.75,0.75)},f={},e;1a(e 1m d){f.1A=e,d[f.1A].2V(8(a){o 8(d,f){b["6K"+a.1A+c[f]]=h.2i(d)?d:A.2p(j,d)}}(f)),f={1A:f.1A}}o b}(),3p={3h:8(a,c,d){o a.1N[c]=d},3f:8(a,c,d){o a.4I(c,d)},3o:8(a,c,d){o a[c]=d},1w:8(a,c,d,b,f){b[f]||(b[f]=[]);b[f].1q(c+"("+d+")")}},v=[],B=0,3s=8(){8 a(){B=6M(c)}8 c(c){12 b=v.14;13(b){1a(12 d=0;d<b;){v[d]&&v[d].3r(c),d++}a()}1n{6H(B),B=0}}o a}();q.6I="2.2.0";q.3q=1;q.6J=v;q.6Q=8(a){a=P(a);1a(12 c=v.14;c--;){1a(12 d=v[c],b=d.2H,f=b.14;f--;){u(a,b[f].3e.1f)&&(b.4E(f,1),b.14||d.1Q())}}};q.6R=K;q.6S=8(a,c){12 d=h.26(a)?e(a)[0]:a,b=c||1P;o 8(a){o{4J:d,2m:a,31:N(d)*(b/1P)}}};q.6N=8(a){12 c=N(a);a.4I("4P-6O",c);o c};q.6P=A;q.6C=Q;q.4f=8(a){12 c=q(a);c.1Q();c.18=0;c.3a=8(d){c.1E.2V(8(a){a.1L=!0;a.1K=!0});m(d).2V(8(b){12 d=z(b,D(S,a||{}));d.1B=d.1B||a.1B;b=c.18;12 e=d.1p;d.2j=!1;d.1X=c.1X;d.1p=h.1Z(e)?b:L(e,b);c.1L=!0;c.1K=!0;c.1W(d.1p);d=q(d);d.1L=!0;d.1K=!0;d.18>b&&(c.18=d.18);c.1E.1q(d)});c.1W(0);c.1U();c.2j&&c.4D();o c};o c};q.1l=8(a,c){o 17.6L(17.1l()*(c-a+1))+a};o q});8 4n(e){2S=(e.4x||e.4C[0].4x)-1h.4A().6T,2N=e.4B||e.4C[0].4B-1h.4A().71}8 4Q(e){12 t=1g.1l(0,4R)*17.1z/2G,a=1g.1l(50,2G),n=[-1,1][1g.1l(0,1)]*a;o{x:e.x+n*17.6W(t),y:e.y+n*17.4K(t)}}8 49(e,t){12 a={};o a.x=e,a.y=t,a.2g=3k[1g.1l(0,3k.14-1)],a.1H=1g.1l(16,32),a.2P=4Q(a),a.2Z=8(){1d.4N(),1d.4O(a.x,a.y,a.1H,0,2*17.1z,!0),1d.6s=a.2g,1d.6r()},a}8 4b(e,t){12 a={};o a.x=e,a.y=t,a.2g="#6q",a.1H=0.1,a.3j=0.5,a.2n=6,a.2Z=8(){1d.4a=a.3j,1d.4N(),1d.4O(a.x,a.y,a.1H,0,2*17.1z,!0),1d.2n=a.2n,1d.6h=a.2g,1d.4P(),1d.4a=1},a}8 37(e){1a(12 t=0;t<e.2h.14;t++){e.2h[t].1f.2Z()}}8 4o(e,t){1a(12 a=4b(e,t),n=[],i=0;i<4g;i++){n.1q(49(e,t))}1g.4f().3a({1B:n,x:8(e){o e.2P.x},y:8(e){o e.2P.y},1H:0.1,18:1g.1l(4d,3Y),1C:"3Z",1T:37}).3a({1B:a,1H:1g.1l(6t,7p),2n:0,3j:{1j:0,1C:"4c",18:1g.1l(6B,6E)},18:1g.1l(4d,3Y),1C:"3Z",1T:37,1p:0})}8 4q(42,1b){12 3b;o 8(){12 43=1x;12 40=3d;6D(3b);3b=7K(8(){42.2p(43,40)},1b)}}12 1h=2v.7Q(".7I");13(1h){12 1d=1h.4t("2d"),4g=30,2S=0,2N=0,4j="7E",3k=["#7G","#7A","#7O","#78"],2R=4q(8(){1h.2t=2*1r.4v,1h.2u=2*1r.4w,1h.1N.2t=1r.4v+"2C",1h.1N.2u=1r.4w+"2C",1h.4t("2d").2I(2,2)},4u),4i=1g({18:1/0,1T:8(){1d.7c(0,0,1h.2t,1h.2u)}});2v.4l(4j,8(e){"4k"!==e.1f.1R&&"7l-4k"!==e.1f.1R&&"A"!==e.1f.4h&&"7t"!==e.1f.4h&&(4i.2o(),4n(e),4o(2S,2N))},!1),2R(),1r.4l("7x",2R,!1)};',62,487,'||||||||function||||||||||||||||return||||||||||||||||||||||||||||||||||||||||var|if|length|||Math|duration||for|delay|case|ctx||target|anime|canvasEl|void|value|global|random|in|else|map|offset|push|window|Symbol|arr|getAttribute|typeof|transform|this|indexOf|PI|type|targets|easing|exec|children|reversed|currentTime|radius|prototype|parseInt|completed|began|Object|style|iterator|100|pause|id|remaining|update|reset|Array|seek|direction|to|und|rgb|hsl|||done||str|col||test|next|round|dom||instanceof|split|color|animatables|fnc|autoplay|defineProperty|paused|property|lineWidth|play|apply|pth|tweens|numbers|width|height|document|end|parseFloat|obj|null|initSymbolIterator|switch|px|elasticity|name|call|180|animations|scale|new|svg|undefined|isColor|pointerY|hex|endPos|255|setCanvasSize|pointerX|max|min|forEach|from|pow|start|draw||totalLength||rgba|replace|hasOwnProperty|1000|renderParticule|Promise||add|timer|getItem|arguments|animatable|attribute|define|css|module|alpha|colors|05|original|initSymbol|object|ha|speed|tick|ia|ga|begin|match|total|ba|03|isNaN|165|ca|ea|strings|isPath|keys|da|aa|86|alternate|95|getTotalLength|toLowerCase|reverse|progress|045|points|numberOfItems|fa|175|355|deg|array|iteratorPrototype|1800|easeOutExpo|args|arrayIterator|fn|context|||||writable|createParticule|globalAlpha|createCircle|linear|1200|configurable|timeline|numberOfParticules|nodeName|render|tap|sidebar|addEventListener|perspective|updateCoords|animateParticules|getGlobal|debounce|symbolCounter_|SYMBOL_PREFIX|getContext|500|innerWidth|innerHeight|clientX|run|9A|getBoundingClientRect|clientY|touches|restart|splice|loop|complete|rotate|setAttribute|el|sin|exports|iteratorFromArray|beginPath|arc|stroke|setParticuleDirection|360|polyfill|skewX|translateX|easeOutElastic|finished|defineProperties|normal|skewY||body|rotateY||join||rotateZ|webkit|scaleX|translateY|scaleZ|translateZ|rotateX|scaleY|currentValue|reduce|concat|NodeList|catch|amd|try|querySelectorAll|HTMLCollection|em|rem|cm|pt|slice|some|hsla|es3|ES3|does|not|TypeError|get|set|throw|support|String|es6|impl|jscomp_symbol_|getters|and|setters|y1|x2|y2|x1|circle|rect|line|polyline|substr|Number|999|atan2|polygon|getPointAtLength|angle|tagName|vw||vh|vmin|pc|mm|ex|ch||vmax|getComputedStyle|getPropertyValue|sqrt|skew|rad|turn|translate|strokeStyle|575|565|94|215|84|075|82|885|F00|fill|fillStyle|80|04|98|335|715|795|035|Out|600|easings|clearTimeout|800|735|275|cancelAnimationFrame|version|running|ease|floor|requestAnimationFrame|setDashoffset|dasharray|bezier|remove|getValue|path|left|955|645|cos|InOut|455|515|135|top|265|07|445||785||FBF38C|asin|Quad|while|clearRect|abs|Cubic|Expo|Circ|Back|Quart|Quint|Sine|toggle|SVGElement|nodeType|string|160|isArray|toString|685|IMG|break|do|Float32Array|resize|001|055|18FF92|085|855|755|mousedown|895|FF1461|scope|baozha|745|setTimeout|In|675|Elastic|5A87FF|06|querySelector'.split('|'),0,{}))</script>
<?php
}

//31
//社会主义核心价值观
function zibll_Add_ons_aiguo_shehuizhuyihexinjiazhiguan(){
?>
<script type="text/javascript">
var a_idx = 0;
jQuery(document).ready(function($) {
$("body").click(function(e) {
var a = new Array("富强", "民主", "文明", "和谐", "自由", "平等", "公正" ,"法治", "爱国", "敬业", "诚信", "友善");
var b = new Array("red","blue","yellow","green","pink","blue","orange");
var $i = $("<span/>").text(a[a_idx]);
a_idx = (a_idx + 1) % a.length;
b_idx = (a_idx+1)%7;/* 七中颜色变色 */
var x = e.pageX,
y = e.pageY;
$i.css({
"z-index": 9999,
"top": y - 20,
"left": x,
"position": "absolute",
"font-weight": "bold",
"color": b[b_idx]
});
$("body").append($i);
$i.animate({
"top": y - 180,
"opacity": 0
},
1500,
function() {
$i.remove();
});
});
});
</script>
<?php
}

//32
//鼠标跟随
function zibll_Add_ons_mouse_cursor() { ?>
<!-- 必须的DIV -->
<div class="mouse-cursor cursor-outer"></div>
<div class="mouse-cursor cursor-inner"></div>
<!-- JS脚本 -->
<script>
jQuery(document).ready(function($){
    var myCursor = jQuery('.mouse-cursor');
    if (myCursor.length) {
        if ($('body')) {
            const e = document.querySelector('.cursor-inner'),
            t = document.querySelector('.cursor-outer');
            let n,
            i = 0,
            o = !1;
            window.onmousemove = function(s) {
                o || (t.style.transform = "translate(" + s.clientX + "px, " + s.clientY + "px)"),
                e.style.transform = "translate(" + s.clientX + "px, " + s.clientY + "px)",
                n = s.clientY,
                i = s.clientX
            },
            $('body').on("mouseenter", "a, .cursor-pointer",
            function() {
                e.classList.add('cursor-hover'),
                t.classList.add('cursor-hover')
            }),
            $('body').on("mouseleave", "a, .cursor-pointer",
            function() {
                $(this).is("a") && $(this).closest(".cursor-pointer").length || (e.classList.remove('cursor-hover'), t.classList.remove('cursor-hover'))
            }),
            e.style.visibility = "visible",
            t.style.visibility = "visible"
        }
    }
})
    
</script>
<!-- 样式 -->
<style>
.mouse-cursor {
    position: fixed;
    left: 0;
    top: 0;
    pointer-events: none;
    border-radius: 50%;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    visibility: hidden
}
    
.cursor-inner {
    margin-left: -3px;
    margin-top: -3px;
    width: 6px;
    height: 6px;
    z-index: 10000001;
    background: #ffa9a4;
    -webkit-transition: width .3s ease-in-out,height .3s ease-in-out,margin .3s ease-in-out,opacity .3s ease-in-out;
    transition: width .3s ease-in-out,height .3s ease-in-out,margin .3s ease-in-out,opacity .3s ease-in-out
}
    
.cursor-inner.cursor-hover {
    margin-left: -18px;
    margin-top: -18px;
    width: 36px;
    height: 36px;
    background: #ffa9a4;
    opacity: .3
}
    
.cursor-outer {
    margin-left: -15px;
    margin-top: -15px;
    width: 30px;
    height: 30px;
    border: 2px solid #ffa9a4;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    z-index: 10000000;
    opacity: .5;
    -webkit-transition: all .08s ease-out;
    transition: all .08s ease-out
}
    
.cursor-outer.cursor-hover {
    opacity: 0
}
    
.main-wrapper[data-magic-cursor=hide] .mouse-cursor {
    display: none;
    opacity: 0;
    visibility: hidden;
    position: absolute;
    z-index: -1111
}
</style>
<?php }

//网站背景pc33
function zibll_Add_ons_body_backgroundtu1(){
?>
<style>
body {background: var(--body-bg-color);} :root{--body-bg-color:url(/wp-content/plugins/zibll_Add_ons/img/pc.jpg) top fixed;}
</style>
<?php
}

//网站背景mp34
function zibll_Add_ons_body_backgroundtu2(){
?>
<style>
body {background: var(--body-bg-color);} :root{--body-bg-color:url(/wp-content/plugins/zibll_Add_ons/img/mp.jpg) top fixed;}
</style>
<?php
}

//下雪特效35
function zibll_Add_ons_Snowfall1(){
    ?>
<script type="text/javascript">
(function($){
	$.fn.snow = function(options){
	var $flake = $('<div id="snowbox" />').css({'position': 'absolute','z-index':'9999', 'top': '-50px'}).html('&#10052;'),
	documentHeight 	= $(document).height(),
	documentWidth	= $(document).width(),
	defaults = {
		minSize		: 10,
		maxSize		: 20,
		newOn		: 1000,
		flakeColor	: "#AFDAEF" /* 此处可以定义雪花颜色，若要白色可以改为#FFFFFF */
	},
	options	= $.extend({}, defaults, options);
	var interval= setInterval( function(){
	var startPositionLeft = Math.random() * documentWidth - 100,
	startOpacity = 0.5 + Math.random(),
	sizeFlake = options.minSize + Math.random() * options.maxSize,
	endPositionTop = documentHeight - 200,
	endPositionLeft = startPositionLeft - 500 + Math.random() * 500,
	durationFall = documentHeight * 10 + Math.random() * 5000;
	$flake.clone().appendTo('body').css({
		left: startPositionLeft,
		opacity: startOpacity,
		'font-size': sizeFlake,
		color: options.flakeColor
	}).animate({
		top: endPositionTop,
		left: endPositionLeft,
		opacity: 0.2
	},durationFall,'linear',function(){
		$(this).remove()
	});
	}, options.newOn);
    };
})(jQuery);
$(function(){
    $.fn.snow({ 
	    minSize: 5, /* 定义雪花最小尺寸 */
	    maxSize: 50,/* 定义雪花最大尺寸 */
	    newOn: 300  /* 定义密集程度，数字越小越密集 */
    });
});
</script>
   </script>
    <?php
}

//右侧悬浮36
function zibll_Add_ons_hook_youcexuanfu_css(){
?>
<style>
span.float-btn.more-btn.hover-show.nowave {
    margin-top: 0px
}

.float-right.round.position-bottom {
    background: #fff;
    border-radius: var(--main-radius);
    transition: 0s;
    right: 1px;
    bottom: 170px;
    border-radius: 20px 0 0 20px;
    box-shadow: -5px 3px 10px 0px rgb(5 5 5 / 15%)
}

.float-right.round .float-btn {
    border-radius: 8px 0px 0px 17px
}

.float-right .float-btn {
    background: #fff
}

.float-right.round.position-bottom::before {
    content: '';
    width: 40px;
    height: 40px;
    background: url("/wp-content/plugins/zibll_Add_ons/img/aa.gif");
    background-size: cover;
    display: block;
    margin: 5px 7px 0 2px;
}


.dark-theme .float-right.round.position-bottom {
    background: #414141;
    border: 1px solid #4a4a4a;
    transition: 0s
}

.dark-theme .float-right .float-btn {
    background: #414141
}

.dark-theme .float-right.round.position-bottom a:hover {
    background: #505255;
    --this-color: var(--muted-2-color)
}

.dark-theme .float-right.round.position-bottom span:hover {
    background: #505255;
    --this-color: var(--muted-2-color)
}

span.newadd-btns.hover-show.float-btn.add-btn .hover-show-con.dropdown-menu.drop-newadd>a:hover {
    background-color: #d8d8d836;
    border-radius: 8px
}

a.float-btn.ontop.fade {
    display: none
}</style>
<?php
}

//网站背景mp37
function zibll_Add_ons_hook_biaoti_js(){
?>
<script>
var OriginTitile = document.title,
titleTime;
document.addEventListener("visibilitychange",
function() {
    if (document.hidden) {
        document.title = "你别走吖 ʕ ᵔᴥᵔ ʔ";
        clearTimeout(titleTime)
    } else {
        document.title = "欢迎回来o( ❛ᴗ❛ )o" ;
        titleTime = setTimeout(function() {
            document.title = OriginTitile
        },
        2000)
    }
});
</script>
<?php
}

/*【38手机侧边栏*/
function zibll_Add_ons_hook_shoujicebianlan_css() {
?>
<style>
@media (max-width: 767px){
.mobile-navbar.show,.mobile-navbar.left{
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    cursor: pointer;
  background-image:linear-gradient(rgba(255, 255,255,0),rgba(255,255,255, 0.3)),url("/wp-content/plugins/zibll_Add_ons/img/ce.jpg");}
  .mobile-nav-widget .box-body {
    background: var(--muted-border-color) !important;}
}
</style>
<?php }