<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">/*!
 * Copyright http://v.shoutu.cn
 * Email 726662013@qq.com
 */

var playerhigh = "1"; 
//鏄惁寮€鍚挱鏀惧櫒楂樺害鑷€傚簲锛�0鍏抽棴1寮€鍚紙寮€鍚悗灏嗘挱鏀惧櫒璁剧疆100%鍏抽棴濉啓鍥哄畾楂樺害锛�

var stui = {
	'browser': {
		url: document.URL,
		domain: document.domain,
		title: document.title,
		language: (navigator.browserLanguage || navigator.language).toLowerCase(),
		canvas: function() {
			return !!document.createElement("canvas").getContext
		}(),
		useragent: function() {
			var a = navigator.userAgent;
			return {
				mobile: !! a.match(/AppleWebKit.*Mobile.*/),
				ios: !! a.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/),
				android: -1 &lt; a.indexOf("Android") || -1 &lt; a.indexOf("Linux"),
				iPhone: -1 &lt; a.indexOf("iPhone") || -1 &lt; a.indexOf("Mac"),
				iPad: -1 &lt; a.indexOf("iPad"),
				trident: -1 &lt; a.indexOf("Trident"),
				presto: -1 &lt; a.indexOf("Presto"),
				webKit: -1 &lt; a.indexOf("AppleWebKit"),
				gecko: -1 &lt; a.indexOf("Gecko") &amp;&amp; -1 == a.indexOf("KHTML"),
				weixin: -1 &lt; a.indexOf("MicroMessenger")
			}
		}()
	},
	'flickity': {
		'carousel': function() {		
			$('.flickity-item').flickity({
			  	cellAlign: 'center',
			  	contain: true,
			  	wrapAround: true,
			  	autoPlay: true,
			  	prevNextButtons: false
			});
		}
	},	
	'images': {
		'lazyload': function() {
			$(".lazyload").lazyload({
				effect: "fadeIn",
				threshold: 200,
				failurelimit: 15,
				skip_invisible: false
			})
		}
	},
	'common': {
		'history': function() {
			if($("#stui_history").length){
				if($.cookie("recente")){
				    var json=eval("("+$.cookie("recente")+")");
				    var list="";
				    for(i=0;i&lt;json.length;i++){
				        list = list + "&lt;li&gt;&lt;div class='img'&gt;&lt;a class='stui-vodlist__thumb' href='"+json[i].vod_url+"' style='background-image: url("+json[i].vod_img+");'&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class='data'&gt;&lt;h3&gt;&lt;a href='"+json[i].vod_url+"'&gt;"+json[i].vod_name+"&lt;/a&gt;&lt;/h3&gt;&lt;p&gt;鎾斁鑷筹細"+json[i].vod_part+"&lt;/p&gt;&lt;p&gt;&lt;a class='btn btn-primary' href='"+json[i].vod_url+"'&gt;缁х画瑙傜湅&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;&lt;/li&gt;";
				    }
				    $("#stui_history").append(list);
				}
				else
		            $("#stui_history").append("&lt;p style='padding: 80px 0; text-align: center'&gt;鎮ㄨ繕娌℃湁鐪嬭繃褰辩墖鍝�&lt;/p&gt;");
			   
			    $(".historyclean").on("click",function(){
			    	if(window.confirm('纭畾瑕佹竻绌鸿褰曞悧锛�')){
		                $.cookie("recente",null,{expires:-1,path: '/'});
		           	}else{
		                return false;
		            }		    	
			    });
			}
		},
		'dropdown': function() {
			$(".open-dropdown").on('click',function(){
			  	$(".dropdown-menu").toggle();
		  	});
			$(".dropdown-menu li").on('click',function(){
			    $(".dropdown-menu li.active").removeClass('active');
			    $(this).addClass('active');
			    var index = $(this).index();
			    $(".active-tab").html($(".dropdown-menu li.active").html())
				$(".tab-content .tab-pane").eq(index).addClass('active').siblings().removeClass('active');
				$(".dropdown-menu").hide();
	  		});
		},
		'popup': function() {
			$popblock = $(".popup");
			$(".open-popup").click(function() {
				$popblock.addClass("popup-visible");
				$("body").append('&lt;div class="mask"&gt;&lt;/div&gt;').css("overflow","hidden");
				$(".close-popup").click(function() {
					$popblock.removeClass("popup-visible");
					$(".mask").remove();
					$("body").removeClass("modal-open").css("overflow","");
				});
				$(".mask").click(function() {
					$popblock.removeClass("popup-visible");
					$(this).remove();
					$("body").removeClass("modal-open").css("overflow","");
				})
			})
		},
		'slide': function() {
			$(".type-slide").each(function(a) {
				$index = $(this).find('.active').index()*1;
				if($index &gt; 3){
					$index = $index-3;
				}else{
					$index = 0;
				}
				$(this).flickity({
					cellAlign: 'left',
					freeScroll: true,
					contain: true,
					prevNextButtons: false,				
					pageDots: false,
					initialIndex: $index
				});
			})
		},
		'mshare': function() {
			$(".open-share").click(function() {
				stui.browser.useragent.weixin ? $("body").append('&lt;div class="mobile-share share-weixin"&gt;&lt;/div&gt;') : $("body").append('&lt;div class="mobile-share share-other"&gt;&lt;/div&gt;');
				$(".mobile-share").click(function() {
					$(".mobile-share").remove();
					$("body").removeClass("modal-open")
				})
			})
		},
		'collapse': function() {
			$(".detail").on("click", ".detail-more", function() {
				$detailContent = $(".detail-content");
				$detailSketch = $(".detail-sketch");
				"none" == $detailContent.css("display") ? ($(this).html('\u6536\u8d77 &lt;i class="icon iconfont icon-less"&gt;&lt;/i&gt;'), $detailContent.show(), $detailSketch.hide()) : ($(this).html('\u8be6\u60c5 &lt;i class="icon iconfont icon-moreunfold"&gt;&lt;/i&gt;'), $detailContent.hide(), $detailSketch.show())
			});
			$(".p_detail").on("click", ".p_detail-more", function() {
				$p_detailContent = $(".p_detail-content");
				$p_detailSketch = $(".p_detail-sketch");
				"none" == $p_detailContent.css("display") ? ($(this).html('\u6536\u8d77 &lt;i class="icon iconfont icon-less"&gt;&lt;/i&gt;'), $p_detailContent.show(), $p_detailSketch.hide()) : ($(this).html('\u5c55\u5f00 &lt;i class="icon iconfont icon-moreunfold"&gt;&lt;/i&gt;'), $p_detailContent.hide(), $p_detailSketch.show())
			});
			$(".c_detail").on("click", ".c_detail-more", function() {
				$c_detailContent = $(".c_detail-content");
				$c_detailSketch = $(".c_detail-sketch");
				"none" == $c_detailContent.css("display") ? ($(this).html('\u7b80\u4ecb &lt;i class="icon iconfont icon-less"&gt;&lt;/i&gt;'), $c_detailContent.show(), $c_detailSketch.hide()) : ($(this).html('\u7b80\u4ecb &lt;i class="icon iconfont icon-moreunfold"&gt;&lt;/i&gt;'), $c_detailContent.hide(), $c_detailSketch.show())
			})
		},
		'scrolltop': function() {
			var a = $(window);
			$scrollTopLink = $("a.backtop");
			a.scroll(function() {
				500 &lt; $(this).scrollTop() ? $scrollTopLink.css("display", "block") : $scrollTopLink.css("display", "none")
			});
			$scrollTopLink.on("click", function() {
				$("html, body").animate({
					scrollTop: 0
				}, 400);
				return !1
			})
		}
	}	
};


$(document).ready(function() {	
	stui.flickity.carousel();
	stui.images.lazyload();
	stui.common.history();
	stui.common.dropdown();
	stui.common.slide();
	stui.common.popup();
	stui.common.mshare();
	stui.common.collapse();
	stui.common.scrolltop();	
});</pre></body></html>