diff --git a/css/player.css b/css/player.css new file mode 100644 index 0000000..2d3cdcd --- /dev/null +++ b/css/player.css @@ -0,0 +1,508 @@ +/*左侧音乐播放器CSS*/ + +.jp-audio :focus, .jp-audio-stream :focus, .jp-video :focus { + outline: 0 +} + +.jp-audio button::-moz-focus-inner, .jp-audio-stream button::-moz-focus-inner, .jp-video button::-moz-focus-inner { + border: 0 +} + +.jp-audio-stream, .jp-video { + /*外框*/ + width: 480px; + height: 94px; + position: fixed; + left: -480px; + bottom: 20px; + z-index: 999; + font-size: 16px; + font-family: "微软雅黑"; + line-height: 1.6; + color: #fff; + border-radius: 4px; + background: #130519de; +} + +.jp-controls-holder { + /*控件区*/ + width: 440px; + margin: 0 auto; + clear: both; + overflow: hidden; + position: absolute; + left: 82px; + top: 25px; +} + +.jp-controls { + width: 134px; + margin-left: 150px; +} + +.jp-controls button { + display: block; + float: left; + border-radius: 50%; + overflow: hidden; + text-indent: -999px; + border: none; + cursor: pointer; +} + +/*控件icons*/ + +.jp-play { + width: 40px; + height: 40px; + background: url(../images/player.png) no-repeat; +} + +.jp-play:hover { + background: url(../images/player.png) -41px 0 no-repeat; +} + +.jp-state-playing .jp-play { + background: url(../images/player.png) 0 -42px no-repeat; +} + +.jp-state-playing .jp-play:hover { + background: url(../images/player.png) -41px -42px no-repeat; +} + +.jp-next, .jp-previous, .jp-stop { + width: 28px; + height: 28px; + margin-top: 6px; +} + +.jp-stop { + background: url(../images/player.png) 0 -83px no-repeat; + margin-left: 10px; +} + +.jp-stop:hover { + background: url(../images/player.png) -29px -83px no-repeat; +} + +.jp-previous { + background: url(../images/player.png) 0 -112px no-repeat; +} + +.jp-previous:hover { + background: url(../images/player.png) -29px -112px no-repeat; +} + +.jp-next { + background: url(../images/player.png) 0 -141px no-repeat; +} + +.jp-next:hover { + background: url(../images/player.png) -29px -141px no-repeat; +} + +.jp-progress { + overflow: hidden; + background-color: #ddd; +} + +.jp-audio .jp-progress { + position: absolute; + top: 32px; + height: 15px; +} + +.jp-audio .jp-type-single .jp-progress { + left: 110px; + width: 186px; +} + +.jp-audio .jp-type-playlist .jp-progress { + left: 166px; + width: 130px; +} + +.jp-video .jp-progress { + top: 0; + left: 0; + width: 100%; + height: 4px; +} + +/*进度条*/ + +.jp-seek-bar { + background: url(../images/player.png) 0 -202px repeat-x; + width: 0; + height: 100%; + cursor: pointer; +} + +.jp-play-bar { + background-color: #7E60AD; + width: 0; + height: 100%; +} + +.jp-seeking-bg { + background: url(../images/player.seeking.gif); +} + +/*音量控制*/ + +.jp-volume-controls { + width: 100px; + position: absolute; + top: 32px; + left: 260px; +} + +.jp-video .jp-volume-controls { + top: 12px; + left: 30px; +} + +.jp-volume-controls button { + display: block; + position: absolute; + overflow: hidden; + text-indent: -9999px; + border: none; + cursor: pointer; +} + +.jp-mute, .jp-volume-max { + width: 18px; + height: 15px; +} + +.jp-volume-max { + left: 74px; +} + +.jp-mute { + background: url(../images/player.png) 0 -170px no-repeat; +} + +.jp-mute:hover { + background: url(../images/player.png) -19px -170px no-repeat; +} + +.jp-state-muted .jp-mute { + background: url(../images/player.png) -60px -170px no-repeat; +} + +.jp-state-muted .jp-mute:hover { + background: url(../images/player.png) -79px -170px no-repeat; +} + +.jp-volume-max { + background: url(../images/player.png) 0 -186px no-repeat; +} + +.jp-volume-max:hover { + background: url(../images/player.png) -19px -186px no-repeat; +} + +.jp-volume-bar { + position: absolute; + overflow: hidden; + background-color: #5C4169; + top: 6px; + left: 20px; + width: 50px; + height: 3px; + cursor: pointer; + border-radius: 3px; +} + +.jp-volume-bar-value { + background-color: #6646A1; + width: 0; + height: 5px +} + +.jp-audio .jp-time-holder { + position: absolute; + top: 50px; +} + +.jp-audio .jp-type-single .jp-time-holder { + left: 110px; + width: 186px; +} + +.jp-audio .jp-type-playlist .jp-time-holder { + left: 166px; + width: 130px; +} + +.jp-current-time, .jp-duration { + width: 60px; + font-size: 10px; + color: #dadada; +} + +.jp-current-time { + float: left; + display: inline; + cursor: default; +} + +.jp-duration { + float: right; + display: inline; + text-align: right; + cursor: pointer; +} + +/*播放时间*/ + +.jp-video .jp-current-time { + font-size: 10px; + position: absolute; + left: 115px; + top: 70px; +} + +.jp-video .jp-duration { + font-size: 10px; + position: absolute; + right: 35px; + top: 70px; +} + +.jp-details { + font-weight: 700; + text-align: center; + cursor: default; +} + +.jp-details, .jp-playlist { + width: 100%; + background-color: #ccc; +} + +.jp-type-playlist .jp-details, .jp-type-single .jp-details { + border-top: none; +} + +.jp-details .jp-title { + margin: 0; + padding: 5px 20px; + font-size: .72em; + font-weight: 700; +} + +/*播放列表*/ + +.jp-playlist-box { + width: 100%; + height: 0px; + position: absolute; + left: 0; + top: 94px; + overflow: hidden; +} + +.jp-playlist ul { + list-style-type: none; + margin: 0; + padding: 0px; + font-size: 12px; + background: rgba(0, 0, 0, 0.4); + width: 100%; + height: 200px; + position: absolute; + left: 0; + top: 0px; + font-family: "宋体"; +} + +.jp-playlist li { + height: 27px; + line-height: 27px; + padding: 0 0 0 27px; + list-style-type: decimal; + list-style-position: inside; +} + +.jp-playlist li div { + display: inline; +} + +div.jp-type-playlist div.jp-playlist li.jp-playlist-current { + background: rgba(0, 0, 0, .4); +} + +div.jp-type-playlist div.jp-playlist a { + color: #7E60AD; + font-family: "宋体"; + text-decoration: none; +} + +div.jp-type-playlist div.jp-playlist a.jp-playlist-current, div.jp-type-playlist div.jp-playlist a:hover, div.jp-type-playlist div.jp-playlist li.jp-playlist-current span.jp-artist, div.jp-type-playlist div.jp-playlist a:hover span { + color: #665975; +} + +div.jp-type-playlist div.jp-playlist a.jp-playlist-item-remove { + float: right; + display: inline; + text-align: right; + margin-right: 35px; + color: #efefef; +} + +div.jp-type-playlist div.jp-playlist a.jp-playlist-item-remove:hover { + color: #5C4169; +} + +span.jp-artist { + font-size: 12px; +} + +/*歌手名*/ + +/*循环、随机*/ + +.jp-video .jp-toggles { + width: 100px; + position: absolute; + right: 27px; + margin: 10px 0 0; +} + +.jp-toggles button { + display: block; + float: left; + width: 25px; + height: 18px; + text-indent: -9999px; + line-height: 100%; + border: none; + cursor: pointer; +} + +.jp-repeat { + background: url(../images/player.png) 0 -290px no-repeat; +} + +.jp-repeat:hover { + background: url(../images/player.png) -30px -290px no-repeat; +} + +.jp-state-looped .jp-repeat { + background: url(../images/player.png) -60px -290px no-repeat; +} + +.jp-state-looped .jp-repeat:hover { + background: url(../images/player.png) -90px -290px no-repeat; +} + +.jp-shuffle { + background: url(../images/player.png) 0 -270px no-repeat; + margin-left: 5px; +} + +.jp-shuffle:hover { + background: url(../images/player.png) -30px -270px no-repeat; +} + +.jp-state-shuffled .jp-shuffle { + background: url(../images/player.png) -60px -270px no-repeat; +} + +.jp-state-shuffled .jp-shuffle:hover { + background: url(../images/player.png) -90px -270px no-repeat; +} + +/*滚动条*/ + +html, body, header, nav, footer, div, ul, ol, li, p, form, input, a, span, em, i, strong, b, font, img { + margin: 0; + padding: 0; + list-style: none; + border: none; +} + +.jp-video .scrollBar { + width: 4px; + height: 80px; + background: #3A3B3B; + position: absolute; + right: 0; + bottom: 0; + border-radius: 4px; + display: none; +} + +.jp-video .scrollBar .bar { + width: 4px; + height: 25px; + background: #6646A1; + position: absolute; + left: 0; + top: 0px; + border-radius: 4px; + cursor: pointer; +} + +/*播放器显示 隐藏*/ + +.jp-video .folded_bt { + width: 20px; + height: 80px; + display: block; + position: absolute; + right: -20px; + top: 5px; + border: none; + background: #111; + cursor: pointer; + padding: 0; + margin: 0; +} + +.jp-video .folded_bt span { + width: 20px; + height: 30px; + display: block; + background: url(../images/player.png) no-repeat -90px -6px; +} + +.jp-video .folded_bt:hover span { + background-position: -116px -6px; +} + +/*列表歌曲 清空*/ + +#listRemove { + width: 20px; + height: 20px; + display: none; + position: absolute; + right: 5px; + bottom: 2px; + cursor: pointer; + background: url(../images/player.png) no-repeat -93px -53px; +} + +#listRemove:hover { + background-position: -119px -53px; +} + +/*歌曲列表 显示 隐藏*/ + +#listClose { + width: 30px; + height: 30px; + cursor: pointer; + position: absolute; + right: 0px; + top: 0; + background: url(../images/player.png) no-repeat -88px -85px; +} + +#listClose:hover { + background-position: -115px -85px; +} \ No newline at end of file diff --git a/css/style.css b/css/style.css new file mode 100644 index 0000000..7cc8d53 --- /dev/null +++ b/css/style.css @@ -0,0 +1,2073 @@ + +html, body, header, nav, footer, div, ul, ol, li, p, form, input, a, span, em, i, strong, b, font, img { + margin: 0; + padding: 0; + list-style: none; + border: none; +} + +body { + font-family: "微软雅黑"; + font-size: 14px; + height: 800px; + background-color: #2d2a2c; + overflow-x: hidden; +} + +a { + text-align: center; + text-decoration: none; + outline: none; +} + +input { + outline: none; +} + +em { + font-style: normal; +} + +/*滚动条*/ + +::-webkit-scrollbar { + width: 6px; + height: 6px; +} + +::-webkit-scrollbar-track-piece { + background-color: transparent; +} + +body::-webkit-scrollbar-track-piece { + background-color: #ccc; +} + +/* ::-webkit-scrollbar-track-piece:no-button {} */ + +::-webkit-scrollbar-thumb { + background-color: #8c738ef2; + border-radius: 2px; +} + +::-webkit-scrollbar-thumb:hover { + background-color: #524261; +} + +::-webkit-scrollbar-thumb:active { + background-color: #92718D; +} + +/*/滚动条*/ + +/*头部header*/ + +#header { + width: 100%; + height: 56px; + position: relative; + left: 0; + top: 0; +} + +/*顶部导航*/ + +.nav_topbar { + width: 100%; + min-width: 1180px; + height: 30px; + background: #fff; + /*#333D46;*/ + box-shadow: 1px 1px 10px #112233; + border-top: 2px solid #0eaf52/*1ABC9C*/ + ; +} + +.nav_topbar_cont { + width: 1180px; + height: 32px; + margin: 0 auto; + position: relative; + left: 0; + top: 0; +} + +.nav_topbar_cont ul li { + height: 32px; + float: left; +} + +.nav_topbar_cont ul li a { + width: 70px; + height: 32px; + display: block; + line-height: 32px; + color: #666; + font-size: 12px; +} + +.nav_topbar_cont ul li a:hover { + color: #ffae00; +} + +/*顶部导航 用户登录*/ + +.nav_topbar a.user_login { + width: 75px; + height: 30px; + display: block; + padding: 0 5px 0 20px; + position: absolute; + right: 65px; + top: 0; + line-height: 30px; + color: #666; + /*background:#1ABC9C;*/ + text-align: center; + font-size: 12px; + z-index: 6; + background: url(../images/user.png) no-repeat 2px 6px; + overflow: hidden; + transition: .5s; + -webkit-transition: .5s; +} + +.nav_topbar a.btn_active { + background: #fff; +} + +.nav_topbar a.user_login i.arrow { + width: 10px; + height: 10px; + display: inline-block; + background: url(../images/icos.png) no-repeat -24px -9px; + margin-left: 5px; + transition: .5s; + -webkit-transition: .5s; + /*用户登录按钮图标*/ +} + +.nav_topbar a.user_login:hover { + color: #ff9d00; + background: url(../images/user2.png) no-repeat 2px 6px; +} + +.nav_topbar a.user_login:hover i { + background-position: -24px 4px; +} + +/*三角图标*/ + +.nav_topbar .user_login_box { + width: 200px; + height: 185px; + border-bottom: 3px solid #0eaf52/*1ABC9C*/ + ; + position: absolute; + right: 65px; + top: 37px; + z-index: 12; + background: #fff; + padding: 15px; + padding-top: 0; + color: #999; + box-shadow: 1px 1px 10px #112233; +} + +.shadow_cover { + width: 100%; + height: 12px; + background: #fff; + position: absolute; + left: 0; + top: -12px; +} + +.user_login_inner .ipt { + width: 100%; + height: 32px; + background: rgb(249, 249, 249); + margin: 5px 0; + font-weight: 500; + text-indent: 10px; + color: #999; + border: 1px solid #ddd; + border-radius: 3px; + line-height: 32px; +} + +#rememberme { + margin: 5px 5px 0 0; +} + +.user_login_inner input.login_btn { + width: 100%; + height: 35px; + display: block; + background: #0eaf52/*1ABC9C*/ + ; + border-radius: 2px; + margin: 10px 0; + color: #fff; + font-weight: bold; + cursor: pointer; + font-family: "微软雅黑"; +} + +.user_login_inner input.login_btn:hover { + background: #ffae00; +} + +.user_login_inner a { + color: #666/*1ABC9C*/ + ; +} + +.user_login_inner a:hover { + color: #f60; +} + +.user_login_inner a i.sign { + width: 18px; + height: 15px; + display: inline-block; + background: url(../images/icos.png) no-repeat 0 0; + vertical-align: -5px; +} + +.user_login_inner a:hover i.sign { + background-position: 0 -15px; +} + +.user_login_inner a i.lock { + width: 18px; + height: 17px; + display: inline-block; + background: url(../images/icos.png) no-repeat 0 -29px; + vertical-align: -5px; +} + +.user_login_inner a:hover i.lock { + background-position: 0 -47px; +} + +/*顶部导航 用户登录 结束*/ + +#headCont { + width: 100%; + height: 54px; + margin: 0 auto; + position: relative; +} + +/*LOGO*/ + +.main_nav { + width: 100%; + height: 66px; + position: relative; + left: 1px; + top: 0; + background: url(../images/logoName.png) no-repeat 100px 6px; + box-shadow: 0 0 3px #dfefdf; +} + +.main_nav .logo { + width: 60px; + height: 60px; + padding: 3px; + position: absolute; + left: 16px; + top: 0px; + z-index: 5; +} + +.main_nav .logo img { + animation: wm 2s infinite linear; + -webkit-animation: wm 2s infinite linear; +} + +@keyframes wm { + from { + transform: rotate(0deg); + } + to { + transform: rotate(-360deg); + } +} + +@-webkit-keyframes wm { + from { + -webkit-transform: rotate(0deg); + } + to { + -webkit-transform: rotate(-360deg); + } +} + +/*主导航*/ + +.main_nav ul.navigation li a { + float: left; + line-height: 64px; + position: relative; + left: 0; + top: 0; + font-size: 16px; + color: #555; + font-weight: bold; + text-shadow: 1px 1px 1px #112233; + -moz-transform-style: preserve-3d; + -webkit-transform-style: preserve-3d; + -o-transform-style: preserve-3d; + transition: .4s; + -moz-transform-origin: center center -32px; + -webkit-transform-origin: center center -32px; + -o-transform-origin: center center -32px; +} + +.main_nav ul.navigation li a span { + width: 120px; + height: 64px; + float: left; + text-align: center; + -moz-backface-visibility: hidden; + -webkit-backface-visibility: hidden; + -o-backface-visibility: hidden; +} + +.main_nav ul.navigation li a span:nth-of-type(2) { + position: absolute; + left: 0; + top: -64px; + color: #FFAE00; + font-size: 18px; + -moz-transform-origin: bottom; + -webkit-transform-origin: bottom; + -moz-transform: rotateX(90deg); + -webkit-transform: rotateX(90deg); + -o-transform: rotateX(90deg); +} + +.main_nav ul.navigation li a:hover { + background: #0eaf52/*10ad8e*/ + ; + color: #ffae00; + -moz-transform: rotateX(-90deg); + -webkit-transform: rotateX(-90deg); +} + +.main_nav ul.navigation li a.on { + background: #0eaf52; + color: #ffae00; + -moz-transform: rotateX(-90deg); + -webkit-transform: rotateX(-90deg); +} + +/*主导航 结束*/ + +/*用户登录信息*/ + +.main_nav .user_info { + width: 285px; + height: 64px; + position: absolute; + right: 0; + top: 0; +} + +.user_info .user_photo { + width: 40px; + height: 40px; + border-radius: 50%; + float: left; + margin-top: 15px; + overflow: hidden; +} + +.user_info a.nikeName { + display: block; + float: left; + font-size: 18px; + color: #0eaf52; + margin: 22px 5px 0 5px; +} + +.user_info a.nikeName:hover { + color: #0dde65; +} + +.user_info a.user_info_list { + width: 40px; + height: 40px; + display: block; + float: left; + margin-top: 15px; + border-right: 1px solid #efefef; +} + +.user_info a.user_info_list:last-child { + border: none; +} + +.user_info a.user_info_list:hover span { + color: #0eaf52; +} + +.user_info a.user_info_list span { + width: 40px; + height: 20px; + display: block; + color: #123; +} + +.user_info a.user_info_list span:last-child { + color: #999; +} + +/*用户登录信息 结束*/ + +/*次级导航*/ + +nav.sub_nav { + width: 100%; + height: 51px; + background: #333D46; + position: absolute; + left: 0; + bottom: 0; + z-index: 10; +} + +.nav_list { + width: 100%; + height: 36px; + top: 10px; + left:97px; + position: absolute; +} + +/*次级导航 在页面滚动到一定位置时,转变为相对浏览器窗口定位显示*/ + +nav.fixed { + width: 100%; + height: 55px; + position: fixed; + top: 0; + left: 0; + z-index: 15; + opacity: .9; + background: rgba(51, 61, 71, .7); +} + +nav.fixed ul li, nav.fixed ul li a.smallogo, nav.fixed ul li a.home, nav.fixed ul .sub_list, nav.fixed ul .sub_list p a { + height: 40px; + line-height: 40px; + font-size: 16px; +} + +nav.fixed ul li a.home { + background-position: -154px 12px; +} + +nav.fixed ul .search_box { + height: 32px; + padding: 8px 78px 0 0; +} + +nav.fixed ul .search_box .hot_search { + top: 32px; +} + +nav.fixed ul .search_box .hot_search>div.open { + transition: 0s; + top: 8px; +} + +/*次级导航 list*/ + +.sub_nav ul li { + height: 34px; + float: left; + text-align: center; +} + +.sub_nav ul li a { + width: 200px; + height: 56px; + display: block; + color: #fff; + line-height: 34px; +} + + +/*小LOGO图标,初始隐藏*/ + +.sub_nav ul li a.smallogo span { + width: 100px; + height: 49px; + display: block; + background: url(../images/Youka.png) no-repeat; + margin: -10px 3px; + box-shadow: 0px 0px 2px #77438B; + +} + +/* @keyframes wm2 { + from { + transform: rotate(0deg); + } + to { + transform: rotate(-360deg); + } +} + +@-webkit-keyframes wm2 { + from { + -webkit-transform: rotate(0deg); + } + to { + -webkit-transform: rotate(-360deg); + } +} */ + +.sub_nav ul li a.home { + width: 120px; + text-indent: 20px; + +} + +.sub_nav ul .sub_list { + width: 610px; + height: 34px; + float: left; + position: relative; + left: 0; + top: 0; +} + +.sub_nav ul .sub_list p { + position: absolute; + left: 0; + top: 0; + display: none; +} + +.sub_nav ul .sub_list p.active { + display: block; +} + +.sub_nav ul .sub_list p a { + width: 560px; + height: 34px; + display: block; + float: left; + color: #8a7373; + line-height: 34px; + font-size: 1.4em; +} + +.sub_nav ul .sub_list p a.on, .sub_nav ul .sub_list p a:hover { + color: #ffae00; + background: #123; +} + +/*搜索框*/ + +.search_box { + width: 240px; + height: 29px; + float: right; + padding: 5px 78px 0 0; + position: relative; + left: 0; + top: 0; + z-index: 2; +} + +.search_box input.search { + width: 149px; + height: 24px; + line-height: 24px; + float: right; + padding: 0 8px; + color: #666; + background: #ededed; +} + +.search_box input.search_btn { + width: 40px; + height: 24px; + float: right; + cursor: pointer; + background: #FFAE00 url(../images/icos.png) no-repeat -173px -26px; +} + +.search_box input.search_btn:hover { + background-color: #ed9500; +} + +/*搜索下拉菜单*/ + +.hot_search { + width: 205px; + position: absolute; + left: 35px; + top: 29px; + box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15); +} + +.hot_search div { + position: absolute; + right: 0px; + top: 24px; + -moz-transform-style: preserve-3d; + -webkit-transform-style: preserve-3d; + -ms-transform-style: preserve-3d; + -moz-transform-origin: top; + -webkit-transform-origin: top; + -ms-transform-origin: top; + -moz-transform: rotateX(-120deg); + -webkit-transform: rotateX(-120deg); + -ms-transform: rotateX(-120deg); + -moz-perspective: 800px; + -webkit-perspective: 800px; + -ms-perspective: 800px; + transition: .5s; + background: rgba(255, 255, 255, .8); +} + +.hot_search>div { + top: 0px; + z-index: -1; +} + +.hot_search .open { + -moz-animation: open 2s; + -webkit-animation: open 2s; + -ms-animation: open 2s; + -moz-transform: rotateX(0deg); + -webkit-transform: rotateX(0deg); + -ms-transform: rotateX(0deg); +} + +.hot_search span { + width: 205px; + height: 23px; + border-top: 1px dashed #ababab; + display: block; + text-indent: 15px; + line-height: 24px; + font-size: 12px; + color: #666; + overflow: hidden; + transition: .5s; + box-shadow: inset 0 0 30px 20px rgba(0, 0, 0, .6); +} + +.hot_search .open>span { + box-shadow: inset 0 0 30px 10px rgba(0, 0, 0, 0); +} + +.hot_search>div.open { + top: 5px; +} + +.hot_search>div>span { + height: 24px; + border: none; +} + +.hot_search span:hover { + background: #0eaf52; + text-indent: 21px; + color: #fff; +} + +.hot_search span:hover a { + color: #fff; +} + +.hot_search span a { + width: 112px; + display: block; + float: left; + color: #666; + text-align: left; +} + +.hot_search span a:hover { + color: #fff; +} + +.hot_search span font { + width: 80px; + height: 23px; + line-height: 23px; + float: right; + text-align: center; +} + +/*搜索下拉菜单 展开动画*/ + +@-moz-keyframes open { + 0% { + -moz-transform: rotateX(-120deg); + } + 40% { + -moz-transform: rotateX(25deg); + } + 60% { + -moz-transform: rotateX(-15deg); + } + 80% { + -moz-transform: rotateX(5deg); + } + 100% { + -moz-transform: rotateX(0deg); + } +} + +@-webkit-keyframes open { + 0% { + -webkit-transform: rotateX(-120deg); + } + 40% { + -webkit-transform: rotateX(25deg); + } + 60% { + -webkit-transform: rotateX(-15deg); + } + 80% { + -webkit-transform: rotateX(5deg); + } + 100% { + -webkit-transform: rotateX(0deg); + } +} + +/*搜索下拉菜单 结束*/ + +/*头部header 结束*/ + +/*轮播图 开始*/ + +.main_banner { + width: 100%; + height: 375px; +} + +.main_banner_wrap { + width: 100%; + height: 375px; + position: relative; + background: #2d2a2c; + margin: 0 auto; + overflow: hidden; + box-shadow: 0px 1px 2px #4c494b +} + + + +@-webkit-keyframes roll { + from { + -webkit-transform: rotate(120deg); + opacity: 0; + } + to { + -webkit-transform: rotate(0deg); + opacity: 0.8; + } +} + +@keyframes roll { + from { + transform: rotate(120deg); + opacity: 0; + } + to { + transform: rotate(0deg); + opacity: 0.8; + } +} + +.banner_btn { + /*a 标签 按钮*/ + width: 255px; + height: 240px; + position: absolute; + display: block; + z-index: 9; + top: 20px; +} + +.btn_next { + right: 20px; +} + +.banner_btn span { + width: 50px; + height: 100px; + display: block; + position: absolute; + left: 110px; + top: 70px; + opacity: 0; + transition: 0.5s; + background: url(../images/bannerBtn.png) no-repeat 0 0; +} + +.btn_next span { + background-position: -50px 0; +} + +.main_banner_box:hover .banner_btn_arrow { + opacity: 0.6; +} + +.banner_btn span i { + width: 50px; + height: 100px; + display: block; + background: url(../images/bannerBtn.png) no-repeat 0 0; +} + +.btn_next span i { + background-position: -50px 0; +} + +.banner_btn:hover i { + -webkit-animation: arrow 0.5s infinite alternate ease-in-out; + -moz-animation: arrow 0.5s infinite alternate ease-in-out; +} + +@-webkit-keyframes arrow { + from { + -webkit-transform: scale(1); + opacity: 1; + } + to { + -webkit-transform: scale(1.5); + opacity: 0.2; + } +} + +@-moz-keyframes arrow { + from { + -moz-transform: scale(1); + opacity: 1; + } + to { + -moz-transform: scale(1.5); + opacity: 0.2; + } +} + +.main_banner_box { + width: 1200px; + height: 280px; + margin: 40px auto 0; + position: relative; + z-index: 0; + /*-webkit-倒影样式*/ + -webkit-box-reflect: below 0 -webkit-linear-gradient(top, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .2) 100%); +} + +/*火狐倒影图层样式*/ + +.main_banner_box p#rflt { + width: 1200px; + height: 280px; + position: absolute; + left: 0; + top: 280px; + background: -moz-element(m_box) no-repeat; + transform: scaleY(-1); + opacity: 0.2; +} + +/*火狐倒影图层样式*/ + +.main_banner li { + position: absolute; + background: #000; + overflow: hidden; + box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15); +} + +/*给每张图片初始设置不同宽高,层级,位置*/ + +.main_banner li#imgCard0 { + width: 670px; + height: 280px; + z-index: 5; + left: 255px; + top: 0px; + opacity: 1; + background: #333d46; +} + +.main_banner li#imgCard1 { + width: 580px; + height: 240px; + z-index: 1; + left: 600px; + top: 20px; + opacity: 1; + background: #333d46; +} + +.main_banner li#imgCard2 { + /*初始在背后,透明度为0*/ + width: 450px; + height: 180px; + z-index: 1; + left: 0px; + top: 60px; + opacity: 0; + background: #333d46; +} + +.main_banner li#imgCard3 { + /*初始在背后,透明度为0*/ + width: 450px; + height: 180px; + z-index: 1; + left: 0px; + top: 60px; + opacity: 0; + background: #333d46; +} + +.main_banner li#imgCard4 { + width: 580px; + height: 240px; + z-index: 2; + left: 0px; + top: 20px; + opacity: 1; + background: #333d46; +} + +.main_banner li img { + width: 100%; + height: 100%; +} + +.main_banner li span { + /*遮罩层*/ + width: 100%; + height: 100%; + position: absolute; + top: 0; + left: 0; + z-index: 1; + background: #000; + opacity: 0; + filter: alpha(opacity=0); + color: #fff; + font-size: 30px; + line-height: 120px; + text-align: center; +} + +.main_banner li p { + width: 100%; + height: 50px; + position: absolute; + left: 0; + bottom: -50px; + background: rgba(0, 0, 0, 0.7); + color: #fff; + text-indent: 38px; + line-height: 50px; + font-size: 25px; +} + +/*指示器按钮*/ + +.btn_list { + text-align: center; + position: relative; + left: 0; + top: 6px; + z-index: 10; +} + +.btn_list span { + width: 15px; + height: 15px; + display: inline-block; + margin: 15px 5px; + background: #787d82; + border-radius: 50%; + cursor: pointer; +} + +.btn_list span.curr { + background: #FFAE00; +} + +/*轮播图 结束*/ + +/*各区块公共样式 开始*/ + +.new_common { + width: 1180px; + height: 350px; + margin: 35px auto 0; + background: #272626; + box-shadow: -1px -1px 2px #482639; + position: relative; + left: 0; + top: 0; +} + +.new_common_title { + width: 1175px; + height: 35px; + border-left: 5px solid #f00; + border-bottom: 1px solid #201616; + background: #2E2929; +} + +.new_common_title span { + width: 157px; + height: 30px; + display: inline-block; + float: left; + margin: 8px 0 0 8px; + color: #6a4777de; + font-size: 18px; + background-size: 79%; +} + + + +/*各区块公共样式 结束*/ + +/*在线首发 开始*/ + +.new_songs_title em { + width: 25px; + height: 21px; + float: right; + margin: 9px 12px 0 0; + color: #0eaf52; +} + +.new_songs_title em.pageNum { + width: 12px; + margin-right: 2px; +} + +.new_songs_title a { + width: 25px; + height: 21px; + display: inline-block; + float: right; + margin: 9px 20px 0 0; + background: url(../images/new_songs_btn.png) no-repeat 5px 0; +} + +.new_songs_title a#albumNext { + background-position: -24px 0; +} + +.new_songs_title a#albumPrev:hover { + background-position: 5px -21px; +} + +.new_songs_title a#albumNext:hover { + background-position: -24px -21px; +} + +/*新歌首发 歌单*/ + +.new_songs ul { + width: 100%; + padding: 15px 14px; + position: absolute; + left: 0; + top: 35px; +} + +.new_songs ul li { + width: 220px; + height: 300px; + float: left; + margin-right: 13px; + position: relative; + left: 0; + top: 0; + -moz-perspective: 2000px; + -webkit-perspective: 2000px; + -moz-transform-style: preserve-3d; + -webkit-transform-style: preserve-3d; +} + +.new_songs ul li .album { + position: absolute; + left: 0; + top: 0; + opacity: 0; + -moz-transform: rotateY(90deg); + -webkit-transform: rotateY(90deg); + transition: .5s linear; +} + +.new_songs ul.show { + position: relative; + left: 0; + top: 0; + z-index: 9; +} + +.new_songs ul.show li .album { + position: absolute; + left: 0; + top: 0; + opacity: 1; + -moz-transform: rotateY(0deg); + -webkit-transform: rotateY(0deg); +} + +.new_songs ul li .album p { + width: 220px; + height: 220px; + position: relative; + left: 0; + top: 0; + overflow: hidden; +} + +.new_songs ul li .album p font { + width: 38px; + height: 38px; + position: absolute; + right: 4px; + top: -2px; + background: url(../images/hot.png) no-repeat; + color: #fff; + font-size: 12px; + line-height: 27px; + text-align: left; + text-indent: 5px; +} + +.new_songs ul li .album p a { + width: 220px; + height: 220px; + display: block; +} + +.new_songs ul li .album p a img { + transition: .5s; +} + +.new_songs ul li .album p a span { + width: 220px; + height: 50px; + display: block; + background: rgba(0, 0, 0, .6); + position: absolute; + left: 0; + bottom: -60px; + padding: 5px 0; + transition: .5s; +} + +.new_songs ul li .album p a:hover img { + transform: scale(1.1); + -webkit-transform: scale(1.1); +} + +.new_songs ul li .album p a:hover span { + bottom: 0px; +} + +.new_songs ul li .album p a span em { + height: 25px; + line-height: 25px; + display: block; + text-align: left; + text-indent: 15px; + font-family: "宋体"; +} + +.new_songs ul li .album p a span em:nth-of-type(1) { + color: #0CC65B; + font-size: 16px; +} + +.new_songs ul li .album p a span i { + width: 20px; + height: 20px; + display: block; + position: absolute; + right: 20px; + top: 20px; + background: url(../images/icon_play.png) no-repeat 0 0; +} + +.new_songs ul li .album p a span i:hover { + background-position: -20px 0; +} + +.new_songs ul li .album a { + width: 110px; + height: 65px; + display: inline-block; + background: #0eaf52; + float: left; + text-shadow: 0 0 1px #112233; + transition: .5s; +} + +.new_songs ul li .album a:nth-of-type(1) { + background: #0DA44D; +} + +.new_songs ul li .album a:hover { + background: #ffae00; +} + +.new_songs ul li .album a span { + height: 30px; + display: block; + line-height: 35px; + color: #fff; +} + +.new_songs ul li .album a strong { + height: 35px; + display: block; + line-height: 30px; + color: #fff; +} + +.new_songs ul li .album a strong em { + font-size: 12px; +} + +/*在线首发 结束*/ + +/*mv首发 开始*/ + +.new_mv { + height: 332px; + background: none; + background: rgba(56, 42, 42, 0.4); + overflow: hidden; +} + +.new_mv_title { + border-left: 5px solid rgba(29, 24, 19, 0.64); +} + +.new_mv_title span { + background-size: 79%; +} + +.new_mv_title ul { + float: right; + margin-right: 5px; +} + +.new_mv_title ul li { + width: 50px; + height: 35px; + float: left; + text-align: center; +} + +.new_mv_title ul li a { + height: 14px; + display: block; + border-right: 1px solid #999; + margin-top: 11px; + line-height: 12px; + color:#a8b9af; +} + +.new_mv_title ul li:last-child a { + border: 0; +} + +.new_mv_title ul li a.cur, .new_mv_title ul li a:hover { + text-decoration: underline; +} + +.mvList { + width: 1175px; + height: 264px; + padding: 15px 14px; + display: none; + background-color: #111111c4; +} + +/*MV分类切换动画*/ + +.new_mv_body .curShow { + -moz-animation: curShow 1s forwards; + -webkit-animation: curShow 1s forwards; + background-color: #292323; +} + +@-moz-keyframes curShow { + from { + -moz-transform: translateX(35px); + } + to { + -moz-transform: translateX(0px); + } +} + +@-webkit-keyframes curShow { + from { + transform: translateX(35px); + } + to { + transform: translateX(0px); + } +} + +/*MV 图片*/ + +.mvList ul { + width: 1200px; + border:1px solid #283333; +} + +.mvList ul li { + width: 220px; + height: 125px; + position: relative; + left: 0; + top: 0; + background: #2d3033; + float: left; + margin: 0 13px 13px 0; +} + +/* .mvList ul li b { + position: absolute; + right: 10px; + top: 0; + z-index: 10; + width: 32px; + height: 21px; + display: block; + background: url(../images/today.jpg) no-repeat; +} */ + +.mvList ul li a strong { + position: absolute; + left: 10px; + color: #f1e4efbd; + font-size: 12px; + font-weight: normal; + transition: .5s; +} + +.mvList ul li a strong:nth-of-type(1) { + bottom: 20px; +} + +.mvList ul li a strong:nth-of-type(2) { + bottom: 4px; + color: #0eaf52; +} + +.mvList ul li a span { + width: 200px; + height: 115px; + position: absolute; + left: -2px; + top: -2px; + display: block; + text-align: left; + padding: 5px 10px; + border: 2px solid #4f325687; + box-shadow: 0 0 1px #100f0f85; + transition: .5s; +} + +.mvList ul li a span font { + height: 20px; + color: #fff; + display: block; + opacity: 0; + font-size: 12px; + transition: .5s; +} + +.mvList ul li a span font:nth-of-type(1) { + font-weight: bold; +} + +.mvList ul li a span font:nth-of-type(2) { + height: 64px; + font-size: 10px; +} + +.mvList ul li a span font:nth-of-type(2) i { + width: 49px; + height: 49px; + display: block; + margin: 15px auto; + background: url(../images/mvPlayIcon.png) no-repeat; + transition: 1s; +} + +.mvList ul li a span font:nth-of-type(3) i { + width: 14px; + height: 14px; + display: inline-block; + vertical-align: -3px; + margin-right: 4px; + background: url(../images/icos.png) no-repeat -184px -53px; +} + +.mvList ul li a span font:nth-of-type(3) em { + float: right; +} + +.mvList ul li a:hover strong { + opacity: 0; +} + +.mvList ul li a:hover span { + background: rgba(0, 0, 0, .5); + box-shadow: 0 0 5px #112233; +} + +.mvList ul li a:hover font { + opacity: 1; +} + +.mvList ul li a:hover span font:nth-of-type(2) i { + -moz-transform: rotate(720deg); + -webkit-transform: rotate(720deg); + -webkit-transform-origin: center center 0; +} + +/*mv首发 结束*/ + +/*最新歌曲推荐 开始*/ + +.songs_rcmd_title { + width: 1180px; + height: 35px; + margin: 35px auto 0; + box-shadow: 0px 1px 2px #c5c5c5; + /*border-top:1px solid #efefef;*/ +} + +/*标题*/ + +.rcmd_title { + width: 390px; + height: 35px; + float: left; + background: #35303073; +} + +.rcmd_left_title { + border-left: 5px solid #562a3b; +} + +.rcmd_center_title { + border-left: 5px solid #173c27; +} + +.rcmd_right_title { + border-left: 5px solid #224a5d; +} + +/*标题文字*/ + +.rcmd_left_title span, .rcmd_center_title span, .rcmd_right_title span { + width: 110px; + height: 24px; + display: inline-block; + margin: 9px 0 0 12px; + font-size: .4em; + color: #597680; + line-height: 16px; +} + +.rcmd_center_title span { + background-position: 0 -225px; +} + +.rcmd_right_title span { + background-position: 0 -245px; + background-size: 100%; +} + +.rcmd_right_title { + width: 385px; +} + +.rcmd_left_title a.play_btn, .rcmd_center_title a.play_btn, .rcmd_right_title a.play_btn { + width: 24px; + height: 24px; + display: inline-block; + float: left; + margin-top: 6px; +} + +.rcmd_left_title a.add_btn, .rcmd_center_title a.add_btn, .rcmd_right_title a.add_btn { + width: 24px; + height: 24px; + display: inline-block; + float: left; + margin: 6px 0 0 10px; + transition: 1.2s; +} + +/* .rcmd_left_title a.play_btn:hover, .rcmd_center_title a.play_btn:hover, .rcmd_right_title a.play_btn:hover { + background-image: url(../images/play_btn2.png); +} */ +/* +.rcmd_left_title a.add_btn:hover, .rcmd_center_title a.add_btn:hover, .rcmd_right_title a.add_btn:hover { + background-image: url(../images/add_btn2.png); + -moz-transform: rotate(720deg); + -webkit-transform: rotate(720deg); +} */ + +.rcmd_left_title a.more, .rcmd_center_title a.more, .rcmd_right_title a.more { + /*更多*/ + color: #15ACCB; + width: 40px; + height: 14px; + display: inline-block; + margin: 9px 16px 0 0; + float: right; + font-size: 0.7em; +} + +/*歌曲推荐 内容部分*/ + +.songs_rcmd { + width: 1180px; + height: 430px; + /*background:rgb(237,237,237);*/ + background-color: #1f16164a; + /* #1f16164a */ + margin: 0 auto; + position: relative; + background-attachment: fixed; + background-size: cover; + /* overflow: hidden; */ + box-shadow: 0px 2px 4px #c5c5c5; +} + +.songs_rcmd_cont { + width: 1200px; + height: 430px; + position: absolute; + left: 0; + top: 0; + /*background:url(../images/bg_cover2.png) 1px 0;*/ +} + +ul.rcmd_cont { + width: 394px; + height: 100%; + border-right: 1px solid rgba(0, 0, 0, .3); + float: left; +} + +ul.rcmd_right { + width: 390px; + height: 100%; + border: 0; +} + +ul.rcmd_cont { + -moz-perspective: 600px; + -moz-transform-style: preserve-3d; + -webkit-perspective: 600px; + -webkit-transform-style: preserve-3d; +} + +ul.rcmd_cont li { + width: 92%; + height: 40px; + line-height: 40px; + background: rgba(17, 34, 51, 0.1); + margin: 5px auto; + box-shadow: 0 0 1px #fff; + opacity: 1; +} + +ul.rcmd_cont li.show { + + opacity: 1; +} + +@keyframes songs_rcmd { + /*歌单出场动画*/ + /* 0% { + -moz-transform: rotateY(120deg); + } + 40% { + -moz-transform: rotateY(-30deg); + } + 60% { + -moz-transform: rotateY(20deg); + } + 80% { + -moz-transform: rotateY(-10deg); + } + 100% { + -moz-transform: rotateY(0deg); + } */ +} + +@-webkit-keyframes songs_rcmd { + /* 0% { + -webkit-transform: rotateY(120deg); + } + 40% { + -webkit-transform: rotateY(-30deg); + } + 60% { + -webkit-transform: rotateY(20deg); + } + 80% { + -webkit-transform: rotateY(-10deg); + } + 100% { + -webkit-transform: rotateY(0deg); + } */ +} + +ul.rcmd_cont li:first-child { + margin-top: 15px; +} + +ul.rcmd_cont li:hover { + background: rgba(255, 255, 255, 0); + box-shadow: 0 0 2px 2px #fff; +} + +ul.rcmd_cont li a { + width: 225px; + height: 40px; + display: block; + float: left; + text-align: left; + color: #fff; + overflow: hidden; + font-size: 0.5em; + /*text-shadow:0 0 2px #112233;*/ +} + +/*歌曲名称*/ + +ul.rcmd_cont li a.musicName { + color: #fff; + margin-left: 15px; +} + +ul.rcmd_cont li a.musicName:hover { + color: rgba(109, 73, 165, 0.54); +} + +ul.rcmd_cont li a.musicName span { + padding-right: 12px; + font-style: italic; +} + +ul.rcmd_cont li em { + color: #fff; + padding: 0 5px; +} + +ul.rcmd_cont li a.playIcon, ul.rcmd_cont li a.shareIcon { + width: 25px; + height: 25px; + display: inline-block; + margin-right: 10px; + float: right; + margin-top: 12px; + background: url(../images/icos.png) no-repeat -184px -73px; +} + +ul.rcmd_cont li a.playIcon:hover { + /* background-position: -184px -119px; */ + color:#56818A; +} + +ul.rcmd_cont li a.shareIcon { + margin-right: 30px; + background-position: -185px -94px; +} + +ul.rcmd_cont li a.shareIcon:hover { + background-position: -185px -140px; +} + +ul.rcmd_cont li i { + padding: 0 7px 0 4px; + margin-right: 10px; + border-radius: 50%; + text-shadow: none; +} + +ul.rcmd_cont li i.first_place { + background: #CF0B0E; + color: #fff; +} + +ul.rcmd_cont li i.second_place { + background: #F3B502; + color: #fff; +} + +ul.rcmd_cont li i.third_place { + background: #15ACCB; + color: #fff; +} + +/*最新歌曲推荐 结束*/ + +/*精选集 开始*/ + +.omnibus { + width: 1180px; + margin: 0 auto; + /*background:#22AF32;*/ +} + +.omnibus_cont { + width: 780px; + height: 380px; + float: left; + overflow: hidden; +} + +.omnibus_title { + width: 775px; + border-left: 5px solid #4a3561; + border-bottom: 1px solid #422b2b +} + +.omnibus_title span { + background-position: 0 -74px; +} + +.omnibus_title a.more { + float: right; + margin-right: 20px; +} + +.omnibus_cont ul { + width: 800px; + padding: 15px 0 15px 15px; +} + +.omnibus_cont ul li { + width: 130px; + height: 160px; + float: left; + margin-right: 17px; + overflow: hidden; +} + +.omnibus_cont ul li.post_big { + width: 305px; + height: 320px; +} + +.omnibus_cont ul li a { + color: #a78fa9; + font-size: 12px; + line-height: 27px; +} + +.omnibus_cont ul li a:hover { + text-decoration: underline; +} + +.omnibus_cont ul li.post_big>a { + width: 305px; + height: 290px; + display: block; + position: relative; + left: 0; + top: 0; +} + +.omnibus_cont ul li.post_big>a i { + width: 305px; + height: 290px; + display: block; + position: absolute; + left: -305px; + top: 0; + background: rgba(0, 0, 0, .2); +} + +.omnibus_cont ul li.post_small>a { + width: 130px; + height: 130px; + display: block; + position: relative; + left: 0; + top: 0; +} + +.omnibus_cont ul li.post_small>a span { + width: 130px; + height: 130px; + display: block; + position: absolute; + left: -130px; + top: 0; + background: rgba(0, 0, 0, .2); +} + +/*精选集 结束*/ + +/*热门歌手 开始*/ + +.hot_singer_cont { + width: 380px; + height: 380px; + float: right; + overflow: hidden; +} + +.hot_singer_title { + width: 375px; + border-left: 5px solid #675555; + border-bottom: 1px solid #3e2a2a; +} + +.hot_singer_title span { + background-position: 0 -223px; + background-size: 100%; +} + +.hot_singer_title a.more { + float: right; + margin-right: 20px; +} + +.hot_singer_cont ul.singer_list { + width: 320px; + padding: 30px 50px 73px 50px; + border-bottom: 1px dotted #5A3B6E; +} + +.hot_singer_cont ul.singer_list li { + width: 74px; + height: 120px; + float: left; + margin-right: 30px; +} + +.hot_singer_cont ul.singer_list li a.singerPhoto { + width: 70px; + height: 70px; + display: block; + border-radius: 50%; + border: 2px solid #642b69; + overflow: hidden; + transition: .3s; +} + +.hot_singer_cont ul.singer_list li a.singerPhoto:hover { + box-shadow: 0 0 10px #834D94; +} + +.hot_singer_cont ul.singer_list li a.singer { + width: 87px; + height: 40px; + display: block; + border-radius: 0; + line-height: 40px; + color: #a78fa9; + font-size: 12px; + margin-left: -7px; +} + +.hot_singer_cont ul.singer_list li a.singer:hover { + text-decoration: underline; +} + +/*分类*/ + +.hot_singer_cont ul.singer_classify { + width: 400px; + padding: 10px 0 0 20px; +} + +.hot_singer_cont ul.singer_classify li { + width: 70px; + height: 20px; + float: left; + margin-bottom: 8px; +} + +.hot_singer_cont ul.singer_classify li a { + color: #999; + font-size: 12px; + font-family: "宋体"; +} + +.hot_singer_cont ul.singer_classify li a:hover { + color: #333; +} + +/*热门歌手 结束*/ + +/*网站底部 开始*/ + +.footer { + width: 100%; + height: 100px; + background: #2d2a2c; + box-shadow: 0 0 2px #c5c5c5; + margin-top: 35px; + border-bottom: 2px solid #5e4e6f; +} + +.footer_cont { + width: 1180px; + height: 100px; + margin: 0 auto; + position: relative; + left: 0; + top: 0; + background: url(../images/flag.jpg) no-repeat 789px 35px; +} + +.footer_cont_left { + width: 780px; + height: 80px; + margin-top: 15px; + float: left; +} + +.footer_cont_left p { + width: 100%; + height: 35px; + text-align: center; + font-size: 12px; + padding-top: 5px; + color: #a29797; +} + +.footer_cont_left a { + color: #98598d; +} + +.footer_cont_left p:first-child a { + width: 70px; + height: 25px; + display: inline-block; + line-height: 20px; + margin-top: 17px; + color: #c3b4b4; +} + +/*右侧 */ + +.footer_cont_right { + width: 330px; + height: 40px; + margin-top: 15px; + float: right; + padding: 20px 0 0 50px; +} + +.footer_cont_right span { + width: 100px; + height: 32px; + display: block; + float: left; + line-height: 32px; + font-size: 16px; + text-align: center; + color: #a78fa9; +} + +.footer_cont_right ul li { + float: left; + margin-right: 5px; +} + +.footer_cont_right ul li a { + width: 32px; + height: 32px; + display: block; + position: relative; + left: 0; + top: 0; + border-radius: 50%; +} + +.footer_cont_right ul li:nth-of-type(1) a { + background: url(../images/facebook33.png) no-repeat; +} + +.footer_cont_right ul li:nth-of-type(2) a { + background: url(../images/qqweibo.png) no-repeat; +} + +.footer_cont_right ul li:nth-of-type(3) a { + background: url(../images/netease.png) no-repeat; +} + +.footer_cont_right ul li:nth-of-type(4) a { + background: url(../images/twitter.png) no-repeat; +} + +.footer_cont_right ul li:nth-of-type(5) a { + background: url(../images/youku.png) no-repeat; +} + +.footer_cont_right ul li span { + width: 32px; + height: 32px; + display: block; + border-radius: 50%; + position: absolute; + left: 0; + top: 0; + background: rgba(0, 0, 0, 0); + transition: .2s; +} + +.footer_cont_right ul li a:hover span { + background: rgba(0, 0, 0, 0.3); +} + +#footer img.tCode { + display: none; + position: absolute; + left: -34px; + top: -105px; + border: 1px solid #555; +} + +/*回到顶部*/ + +#toTop { + width: 50px; + height: 50px; + position: absolute; + cursor: pointer; + left: 0; + top: 0; + left: 48%; + top: -25px; + background: url(../images/toTop.png) no-repeat; +} + +/*网站底部 结束*/ \ No newline at end of file diff --git a/images/109951163112362346.jpg b/images/109951163112362346.jpg new file mode 100644 index 0000000..d4a01f8 Binary files /dev/null and b/images/109951163112362346.jpg differ diff --git a/images/1517791716.png b/images/1517791716.png new file mode 100644 index 0000000..281794b Binary files /dev/null and b/images/1517791716.png differ diff --git a/images/18619129906152259.jpg b/images/18619129906152259.jpg new file mode 100644 index 0000000..6792df9 Binary files /dev/null and b/images/18619129906152259.jpg differ diff --git a/images/18808245906449965.jpg b/images/18808245906449965.jpg new file mode 100644 index 0000000..1513db6 Binary files /dev/null and b/images/18808245906449965.jpg differ diff --git a/images/19124905253592749.jpg b/images/19124905253592749.jpg new file mode 100644 index 0000000..af8a109 Binary files /dev/null and b/images/19124905253592749.jpg differ diff --git a/images/19127104277052748.jpg b/images/19127104277052748.jpg new file mode 100644 index 0000000..16a6ed6 Binary files /dev/null and b/images/19127104277052748.jpg differ diff --git a/images/3283141725800255.jpg b/images/3283141725800255.jpg new file mode 100644 index 0000000..485d374 Binary files /dev/null and b/images/3283141725800255.jpg differ diff --git a/images/Deuxième dollars.jpg b/images/Deuxième dollars.jpg new file mode 100644 index 0000000..de62bbd Binary files /dev/null and b/images/Deuxième dollars.jpg differ diff --git a/images/Youka.png b/images/Youka.png new file mode 100644 index 0000000..5bd46aa Binary files /dev/null and b/images/Youka.png differ diff --git a/images/add_btn1.png b/images/add_btn1.png new file mode 100644 index 0000000..17719b7 Binary files /dev/null and b/images/add_btn1.png differ diff --git a/images/add_btn2.png b/images/add_btn2.png new file mode 100644 index 0000000..0668457 Binary files /dev/null and b/images/add_btn2.png differ diff --git a/images/ariko.png b/images/ariko.png new file mode 100644 index 0000000..62aae2f Binary files /dev/null and b/images/ariko.png differ diff --git a/images/bannerBtn.png b/images/bannerBtn.png new file mode 100644 index 0000000..54c4c2b Binary files /dev/null and b/images/bannerBtn.png differ diff --git a/images/facebook33.png b/images/facebook33.png new file mode 100644 index 0000000..215a5a9 Binary files /dev/null and b/images/facebook33.png differ diff --git a/images/fasd.png b/images/fasd.png new file mode 100644 index 0000000..e7848de Binary files /dev/null and b/images/fasd.png differ diff --git a/images/favicon.ico b/images/favicon.ico new file mode 100644 index 0000000..8487335 Binary files /dev/null and b/images/favicon.ico differ diff --git a/images/flag.jpg b/images/flag.jpg new file mode 100644 index 0000000..db1443e Binary files /dev/null and b/images/flag.jpg differ diff --git a/images/icon_play.png b/images/icon_play.png new file mode 100644 index 0000000..920af77 Binary files /dev/null and b/images/icon_play.png differ diff --git a/images/icos.png b/images/icos.png new file mode 100644 index 0000000..518e720 Binary files /dev/null and b/images/icos.png differ diff --git a/images/index2.png b/images/index2.png new file mode 100644 index 0000000..07c7fe5 Binary files /dev/null and b/images/index2.png differ diff --git a/images/index_title_bg.png b/images/index_title_bg.png new file mode 100644 index 0000000..6144a19 Binary files /dev/null and b/images/index_title_bg.png differ diff --git a/images/jisad.png b/images/jisad.png new file mode 100644 index 0000000..0e585e9 Binary files /dev/null and b/images/jisad.png differ diff --git a/images/ksoa.png b/images/ksoa.png new file mode 100644 index 0000000..0811b0c Binary files /dev/null and b/images/ksoa.png differ diff --git a/images/lise.png b/images/lise.png new file mode 100644 index 0000000..d445964 Binary files /dev/null and b/images/lise.png differ diff --git a/images/msoal.png b/images/msoal.png new file mode 100644 index 0000000..516bfe3 Binary files /dev/null and b/images/msoal.png differ diff --git a/images/mvPlayIcon.png b/images/mvPlayIcon.png new file mode 100644 index 0000000..eb53972 Binary files /dev/null and b/images/mvPlayIcon.png differ diff --git a/images/netease.png b/images/netease.png new file mode 100644 index 0000000..46e3cee Binary files /dev/null and b/images/netease.png differ diff --git a/images/new_songs_btn.png b/images/new_songs_btn.png new file mode 100644 index 0000000..1b11874 Binary files /dev/null and b/images/new_songs_btn.png differ diff --git a/images/play_btn1.png b/images/play_btn1.png new file mode 100644 index 0000000..c6f55f1 Binary files /dev/null and b/images/play_btn1.png differ diff --git a/images/play_btn2.png b/images/play_btn2.png new file mode 100644 index 0000000..dd54ec7 Binary files /dev/null and b/images/play_btn2.png differ diff --git a/images/player.png b/images/player.png new file mode 100644 index 0000000..5debd6e Binary files /dev/null and b/images/player.png differ diff --git a/images/player.seeking.gif b/images/player.seeking.gif new file mode 100644 index 0000000..dbd2105 Binary files /dev/null and b/images/player.seeking.gif differ diff --git a/images/qqweibo.png b/images/qqweibo.png new file mode 100644 index 0000000..6817556 Binary files /dev/null and b/images/qqweibo.png differ diff --git a/images/toTop.png b/images/toTop.png new file mode 100644 index 0000000..10cbdb5 Binary files /dev/null and b/images/toTop.png differ diff --git a/images/twitter.png b/images/twitter.png new file mode 100644 index 0000000..c32f1a2 Binary files /dev/null and b/images/twitter.png differ diff --git a/images/user.png b/images/user.png new file mode 100644 index 0000000..3a6f34d Binary files /dev/null and b/images/user.png differ diff --git a/images/user2.png b/images/user2.png new file mode 100644 index 0000000..4e4478a Binary files /dev/null and b/images/user2.png differ diff --git a/images/youku.png b/images/youku.png new file mode 100644 index 0000000..ddf74d1 Binary files /dev/null and b/images/youku.png differ diff --git a/images/优卡音乐3.png b/images/优卡音乐3.png new file mode 100644 index 0000000..20468c6 Binary files /dev/null and b/images/优卡音乐3.png differ diff --git a/index.html b/index.html new file mode 100644 index 0000000..70dfc95 --- /dev/null +++ b/index.html @@ -0,0 +1,843 @@ + + + + + +优卡音乐 + + + + + + + + + + + + + + + + +
+ +
+
+
+
+ + +
    +
  • + + +

    对不起,你一直在等我,但是我却现在才来.

    +
  • +
  • + + +

    樱花满地集于我心 楪舞纷飞祈愿相随.

    +
  • +
  • + + +

    无意义的理想,迟早会在现实面前崩溃.

    +
  • +
  • + + +

    什么都无法舍弃的人,什么也改变不了.

    +
  • +
  • + + +

    再见了!只要是活着的东西,就算是神都杀给你看……无垢识 开境!死亡啊,别站在我面前!

    +
  • +
+ +

+ +
+ +
+ +
+
+
+ + + +
+ +
+ Magic box + + +
+ +
+ + + + + + +
+
+ + +
+
+ Elegant + /more +
+
+ Ethereal + /more +
+
+ Silence + /more +
+
+ +
+ +
+ +
+ +
+
+ Artist's soul + +
+ +
+
+
+ + + + + + +
+
+ + + + +
+ +
+
+
+ + +
+
+
+ + + + + + + + + + + + + + + + + diff --git a/js/index.js b/js/index.js new file mode 100644 index 0000000..ad68acf --- /dev/null +++ b/js/index.js @@ -0,0 +1,563 @@ +// index.js + + +$(function(){ + + + + +//一、user_login_box(用户登陆)------------------------------------------------------------------ + + $(document).click(function(){ //页面点击 隐藏 + $(".user_login_box").hide(); + $(".user_login").removeClass("btn_active"); + }) + $(".user_login,.user_login_box").click(function(event){ + event.stopPropagation(); //阻止默认事件 + }) + $(".user_login").each(function(){ + $(this).click(function(){ + $(this).toggleClass("btn_active"); + $(this).next().toggle(); //显示和隐藏 切换 + $(this).parent().siblings().find(".user_login_box").hide(); + }) + }) + + + + +//主菜单-------------------------------------------------------------------------------------- + + var index_1=0; //鼠标移入的序列号 + + //鼠标移入主菜单---------------------------------------------- + $("ul.navigation li a").hover(function(){ + $("ul.navigation li a").removeClass("on"); + $(this).addClass("on"); + audioPlayer(); + },function(){ + $("#audioPlayer")[0].pause(); + }); + + $("ul.navigation li a").hover(function(){ //鼠标移入 + index_1=$(this).parent().index(); + $(".sub_nav ul .sub_list p").eq(index_1).stop(true,true).show(600).siblings().hide(); + audioPlayer(); + },function(){ + $("#audioPlayer")[0].pause(); + }); + + //hover音效 + function audioPlayer(){ + $("#audioPlayer").attr({"src":"/wp-content/uploads/2015/01/3.mp3"}); + $("#audioPlayer")[0].play(); + $("#audioPlayer")[0].volume="0.5"; + }; + + + + //主菜单解决bug------------------------------------------- + //解决 非火狐、非谷歌的兼容性 判断浏览器类型及版本号 + $.browser.mozilla = /firefox/.test(navigator.userAgent.toLowerCase()); + $.browser.webkit = /webkit/.test(navigator.userAgent.toLowerCase()); + $.browser.opera = /opera/.test(navigator.userAgent.toLowerCase()); + $.browser.msie = /msie/.test(navigator.userAgent.toLowerCase()); + + //判断是webkit且版本小于35.0的(360-7.1) 或者 是IE浏览器 + if(($.browser.webkit&&parseFloat($.browser.version)<35)||$.browser.msie){ + $("#main_nav li a").css({"transition":"none",background:"none","transform":"rotateX(0deg)"}); + $("#main_nav li a").find("span:last-child").css({display:"none"}); + $("#main_nav li a").click(function(){ + $(this).css({background:"none","transform":"rotateX(0deg)"}); + }); + $("#main_nav li a").mouseover(function(){ + $(this).css({background:"none","transform":"rotateX(0deg)"}); + }); + }//主菜单解决bug------------------------------------------- + + + +//三、二级菜单,当滚动条滚到一定距离,让它相对浏览器定位(fixed)--------------------------------- + if($(".sub_nav").length>0){ //获取二级菜单到顶部的距离 + var navTop = $(".sub_nav").offset().top - $('.sub_nav').height()/5; + $(window).scroll(function(){ + if ($(window).scrollTop() >= navTop) { + $(".sub_nav").addClass("fixed"); + $(".sub_nav ul li a.smallogo").css({opacity:1}); + /*$(".main_banner").css({background:"#112233"});#d1d6da*/ //轮播图背景 + } else { + $(".sub_nav").removeClass("fixed"); + $(".sub_nav ul li a.smallogo").css({opacity:0}); + /*$(".main_banner").css({background:""});*/ + } + }); + } + + +//五、轮播图------------------------------------------------------------------------------------- + + var len=$(".main_banner li").length; + var index_2=0; + var timer=800; + var intervaltimer=0; + var isMoving=false; + + function slide(slideMode){//轮播方法 + if (isMoving==false){ + isMoving=true; + var prev; var next; var hidden; + var curr=$("#imgCard"+index_2);//当前正中显示 + + if(index_2==0){ //当前正中显示的是第0张时 prev为最后一张 + prev=$("#imgCard"+(len-1)); + }else{ //否则 序列号-1 + prev=$("#imgCard"+(index_2-1)); + } + if(index_2==(len-1)){ //当前正中显示的是最后一张时 next为第0张 + next=$("#imgCard0"); + }else{ //否则 序列号+1 + next=$("#imgCard"+(index_2+1)); + } + + if(slideMode){ //slideMode为1(true),执行slide(1),上一张 + if(index_2-2>=0){ //index_2 2 3 4 + hidden=$("#imgCard"+(index_2-2));// 0 1 2 + }else{ //index_2 0 1 + hidden=$("#imgCard"+(len+index_2-2));// 3 4 + } + prev.css("z-index","5"); //点击prev按钮 让prev位置上的这张图片 层级最高 显示 + next.css("z-index","1"); + curr.css("z-index","2"); + hidden.css("z-index","1"); + //当index_2自减,各图片往右运动效果 + hidden.css({width:"450px",height:"180px",top:"60px","left":"0px","opacity":0}); + hidden.stop(true,true).animate({width:"580px",height:"240px",top:"20px",left:"0px",opacity:1},timer); + curr.stop(true,true).animate({width:"580px",height:"240px",top:"20px",left:"600px",opacity:1},timer); + next.stop(true,true).animate({width:"450px",height:"180px",top:"60px","left":"730px","opacity":0},timer,function(){next.find("span").css("opacity",0); isMoving = false;}); + //prev --> curr prev中的图片li轮换到curr的位置 其他一次轮换 + prev.find("span").css("opacity",0); + $(".main_banner_box li").find("p").css({"bottom":"-50px"});//所有标题隐藏 + prev.stop(true,true).animate({width:"670px",height:"280px",left:"255px",top:0,opacity:1},timer,function(){ + $(this).find("p").animate({"bottom":"0px"}); //当前这张图片的标题运动出来 + }); + index_2--; + }else{ //执行next 操作 + if(index_2+2>=len){ //index_2 3 4 + hidden=$("#imgCard"+(index_2+2-len));// 0 1 + }else{ //index_2 0 1 2 + hidden=$("#imgCard"+(index_2+2));// 2 3 4 + } + prev.css("z-index","1"); + next.css("z-index","5"); //点击next按钮 让next位置上的这张图片 层级最高 显示 + curr.css("z-index","2"); + hidden.css("z-index","1"); + //当index_2自增,各图片往左运动效果 + hidden.css({width:"450px",height:"180px",top:"60px","left":"730px","opacity":0}); + hidden.stop(true,true).animate({width:"580px",height:"240px",top:"20px",left:"600px",opacity:1},timer); + curr.stop(true,true).animate({width:"580px",height:"240px",top:"20px",left:"0px",opacity:1},timer); + //next --> curr next中的图片li轮换到curr的位置 其他一次轮换 + next.find("span").css("opacity",0); + $(".main_banner_box li").find("p").css({"bottom":"-50px"});//所有标题隐藏 + next.stop(true,true).animate({width:"670px",height:"280px",left:"255px",top:0,opacity:1},timer,function(){ + $(this).find("p").animate({"bottom":"0px"}); //当前这张图片的标题运动出来 + }); + prev.stop(true,true).animate({width:"450px",height:"180px",left:"0px",top:"60px",opacity:0},timer,function(){ + isMoving = false; + }); + index_2++; + }//if else + + hidden.find("span").css("opacity",0.5); + curr.find("span").css("opacity",0.5); + + if(index_2==len) index_2=0; + if(index_2<0) index_2=len+index_2; //限制index_2的范围 + $(".btn_list span").removeClass('curr').eq(index_2).addClass('curr');//给序列号按钮添加、移除样式 + } + }//slide() + + + if(len>3){ + //序列号按钮 跳序切换 方法 + $(".btn_list span").click(function(event){ + + if (isMoving ) return; + var oIndex=$(this).index(); + + if(oIndex==index_2) return;//点击按钮的序列号与当前图片的序列号一致,return + clearInterval(intervaltimer) + intervaltimer=null; + + var flag=false; + //当前显示图片的序列号 和 被点击按钮的序列号 间隔超过1且不是首尾两个的时候 + if(Math.abs(index_2-oIndex)>1&&Math.abs(len-Math.abs(index_2-oIndex))!=1){ + //统一样式 + $(".main_banner_box li").css({width:"300px",height:"120px",left:"600px",top:"60px",opacity:0}); + //如果当前的序列号 比 被点击按钮序列号 大 而且 不相邻、不是首尾 + if(index_2>oIndex&&len-Math.abs(index_2-oIndex)!=1){ + flag=true; + index_2=oIndex+1; //oIndex+1 通过slide() 运动回上一张 oIndex + }else{//比 小 而且 不相邻、不是首尾 + index_2=oIndex-1; //oIndex-1 通过slide() 运动到下一张 oIndex + if(index_2<0) index_2=len-1; + } + }else{//当前 比 被点击 大 且 相邻 //从0 跳到 4 要执行上一张方法 + if((index_2>oIndex&&len-(index_2-oIndex)!=1)||(index_21"); + // $("#rank li").eq(1).find("a.musicName").prepend("2"); + // $("#rank li").eq(2).find("a.musicName").prepend("3"); + for(var r=0;r<9;r++){ + $("#rank li").eq(r).find("a.musicName").prepend(" " + (r + 1) + "  "); + } + for(var k=0;k<9;k++){ + $("#latest li").eq(k).find("a.musicName").prepend(" " + (k + 1) + "  "); + } + for (var p=0;p<9;p++){ + $("#popular li").eq(p).find("a.musicName").prepend(" " + (p + 1) + "  "); + } + + + +//九、精选集------------------------------------------------------------------------------- + var oList_omnibus=document.getElementById("omnibus_list"); + var oI=oList_omnibus.getElementsByTagName("i")[0]; + var aSpan=oList_omnibus.getElementsByTagName("span"); + $("#omnibus_list .post_big a").hover(function(){ + $(this).find("i").stop(true,true).animate({left:"0px"},300); + },function(){ + $(this).find("i").stop(true,true).animate({left:"305px"},300,function(){ + oI.style.left="-305px"; + }); + }); + $("#omnibus_list .post_small a").hover(function(){ + $(this).find("span").stop(true,true).animate({left:"0px"},300); + },function(){ + $(this).find("span").stop(true,true).animate({left:"130px"},300,function(){ + for(var i=0; i100){ + percentage=100; + } + if(percentage<0){ + percentage=0; + } + + //拖动滚动条 currenttime 相应变化 + $(".timeBar").css("width",percentage+"%"); + video[0].currentTime=maxduration*percentage/100; + }; + + + //缓冲加载条 + var startBuffer=function(){ + var maxduration=video[0].duration; + var currentBuffer=video[0].buffered.end(0); + var percentage=100*currentBuffer/maxduration; + $(".bufferBar").css("width",percentage+"%"); + + if(currentBuffer100){ + percentage=100; + } + if(percentage<0){ + percentage=0; + } + + //拖动滚动条 currenttime 相应变化 + $(".volume").css("width",percentage+"%"); + video[0].volume=percentage/100; + }; + + //全屏 + $(".fullscreen").on("click",function(){ + //兼容写法 + video[0].RequestFullScreen=video[0].RequestFullScreen||video[0].webkitRequestFullScreen||video[0].mozRequestFullScreen; + //调用全屏方法 + video[0].RequestFullScreen(); + return false; + }); \ No newline at end of file diff --git a/js/jquery.js b/js/jquery.js new file mode 100644 index 0000000..3883779 --- /dev/null +++ b/js/jquery.js @@ -0,0 +1,2 @@ +/*! jQuery v1.8.3 jquery.com | jquery.org/license */ +(function(e,t){function _(e){var t=M[e]={};return v.each(e.split(y),function(e,n){t[n]=!0}),t}function H(e,n,r){if(r===t&&e.nodeType===1){var i="data-"+n.replace(P,"-$1").toLowerCase();r=e.getAttribute(i);if(typeof r=="string"){try{r=r==="true"?!0:r==="false"?!1:r==="null"?null:+r+""===r?+r:D.test(r)?v.parseJSON(r):r}catch(s){}v.data(e,n,r)}else r=t}return r}function B(e){var t;for(t in e){if(t==="data"&&v.isEmptyObject(e[t]))continue;if(t!=="toJSON")return!1}return!0}function et(){return!1}function tt(){return!0}function ut(e){return!e||!e.parentNode||e.parentNode.nodeType===11}function at(e,t){do e=e[t];while(e&&e.nodeType!==1);return e}function ft(e,t,n){t=t||0;if(v.isFunction(t))return v.grep(e,function(e,r){var i=!!t.call(e,r,e);return i===n});if(t.nodeType)return v.grep(e,function(e,r){return e===t===n});if(typeof t=="string"){var r=v.grep(e,function(e){return e.nodeType===1});if(it.test(t))return v.filter(t,r,!n);t=v.filter(t,r)}return v.grep(e,function(e,r){return v.inArray(e,t)>=0===n})}function lt(e){var t=ct.split("|"),n=e.createDocumentFragment();if(n.createElement)while(t.length)n.createElement(t.pop());return n}function Lt(e,t){return e.getElementsByTagName(t)[0]||e.appendChild(e.ownerDocument.createElement(t))}function At(e,t){if(t.nodeType!==1||!v.hasData(e))return;var n,r,i,s=v._data(e),o=v._data(t,s),u=s.events;if(u){delete o.handle,o.events={};for(n in u)for(r=0,i=u[n].length;r").appendTo(i.body),n=t.css("display");t.remove();if(n==="none"||n===""){Pt=i.body.appendChild(Pt||v.extend(i.createElement("iframe"),{frameBorder:0,width:0,height:0}));if(!Ht||!Pt.createElement)Ht=(Pt.contentWindow||Pt.contentDocument).document,Ht.write(""),Ht.close();t=Ht.body.appendChild(Ht.createElement(e)),n=Dt(t,"display"),i.body.removeChild(Pt)}return Wt[e]=n,n}function fn(e,t,n,r){var i;if(v.isArray(t))v.each(t,function(t,i){n||sn.test(e)?r(e,i):fn(e+"["+(typeof i=="object"?t:"")+"]",i,n,r)});else if(!n&&v.type(t)==="object")for(i in t)fn(e+"["+i+"]",t[i],n,r);else r(e,t)}function Cn(e){return function(t,n){typeof t!="string"&&(n=t,t="*");var r,i,s,o=t.toLowerCase().split(y),u=0,a=o.length;if(v.isFunction(n))for(;u)[^>]*$|#([\w\-]*)$)/,E=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,S=/^[\],:{}\s]*$/,x=/(?:^|:|,)(?:\s*\[)+/g,T=/\\(?:["\\\/bfnrt]|u[\da-fA-F]{4})/g,N=/"[^"\\\r\n]*"|true|false|null|-?(?:\d\d*\.|)\d+(?:[eE][\-+]?\d+|)/g,C=/^-ms-/,k=/-([\da-z])/gi,L=function(e,t){return(t+"").toUpperCase()},A=function(){i.addEventListener?(i.removeEventListener("DOMContentLoaded",A,!1),v.ready()):i.readyState==="complete"&&(i.detachEvent("onreadystatechange",A),v.ready())},O={};v.fn=v.prototype={constructor:v,init:function(e,n,r){var s,o,u,a;if(!e)return this;if(e.nodeType)return this.context=this[0]=e,this.length=1,this;if(typeof e=="string"){e.charAt(0)==="<"&&e.charAt(e.length-1)===">"&&e.length>=3?s=[null,e,null]:s=w.exec(e);if(s&&(s[1]||!n)){if(s[1])return n=n instanceof v?n[0]:n,a=n&&n.nodeType?n.ownerDocument||n:i,e=v.parseHTML(s[1],a,!0),E.test(s[1])&&v.isPlainObject(n)&&this.attr.call(e,n,!0),v.merge(this,e);o=i.getElementById(s[2]);if(o&&o.parentNode){if(o.id!==s[2])return r.find(e);this.length=1,this[0]=o}return this.context=i,this.selector=e,this}return!n||n.jquery?(n||r).find(e):this.constructor(n).find(e)}return v.isFunction(e)?r.ready(e):(e.selector!==t&&(this.selector=e.selector,this.context=e.context),v.makeArray(e,this))},selector:"",jquery:"1.8.3",length:0,size:function(){return this.length},toArray:function(){return l.call(this)},get:function(e){return e==null?this.toArray():e<0?this[this.length+e]:this[e]},pushStack:function(e,t,n){var r=v.merge(this.constructor(),e);return r.prevObject=this,r.context=this.context,t==="find"?r.selector=this.selector+(this.selector?" ":"")+n:t&&(r.selector=this.selector+"."+t+"("+n+")"),r},each:function(e,t){return v.each(this,e,t)},ready:function(e){return v.ready.promise().done(e),this},eq:function(e){return e=+e,e===-1?this.slice(e):this.slice(e,e+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(l.apply(this,arguments),"slice",l.call(arguments).join(","))},map:function(e){return this.pushStack(v.map(this,function(t,n){return e.call(t,n,t)}))},end:function(){return this.prevObject||this.constructor(null)},push:f,sort:[].sort,splice:[].splice},v.fn.init.prototype=v.fn,v.extend=v.fn.extend=function(){var e,n,r,i,s,o,u=arguments[0]||{},a=1,f=arguments.length,l=!1;typeof u=="boolean"&&(l=u,u=arguments[1]||{},a=2),typeof u!="object"&&!v.isFunction(u)&&(u={}),f===a&&(u=this,--a);for(;a0)return;r.resolveWith(i,[v]),v.fn.trigger&&v(i).trigger("ready").off("ready")},isFunction:function(e){return v.type(e)==="function"},isArray:Array.isArray||function(e){return v.type(e)==="array"},isWindow:function(e){return e!=null&&e==e.window},isNumeric:function(e){return!isNaN(parseFloat(e))&&isFinite(e)},type:function(e){return e==null?String(e):O[h.call(e)]||"object"},isPlainObject:function(e){if(!e||v.type(e)!=="object"||e.nodeType||v.isWindow(e))return!1;try{if(e.constructor&&!p.call(e,"constructor")&&!p.call(e.constructor.prototype,"isPrototypeOf"))return!1}catch(n){return!1}var r;for(r in e);return r===t||p.call(e,r)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},error:function(e){throw new Error(e)},parseHTML:function(e,t,n){var r;return!e||typeof e!="string"?null:(typeof t=="boolean"&&(n=t,t=0),t=t||i,(r=E.exec(e))?[t.createElement(r[1])]:(r=v.buildFragment([e],t,n?null:[]),v.merge([],(r.cacheable?v.clone(r.fragment):r.fragment).childNodes)))},parseJSON:function(t){if(!t||typeof t!="string")return null;t=v.trim(t);if(e.JSON&&e.JSON.parse)return e.JSON.parse(t);if(S.test(t.replace(T,"@").replace(N,"]").replace(x,"")))return(new Function("return "+t))();v.error("Invalid JSON: "+t)},parseXML:function(n){var r,i;if(!n||typeof n!="string")return null;try{e.DOMParser?(i=new DOMParser,r=i.parseFromString(n,"text/xml")):(r=new ActiveXObject("Microsoft.XMLDOM"),r.async="false",r.loadXML(n))}catch(s){r=t}return(!r||!r.documentElement||r.getElementsByTagName("parsererror").length)&&v.error("Invalid XML: "+n),r},noop:function(){},globalEval:function(t){t&&g.test(t)&&(e.execScript||function(t){e.eval.call(e,t)})(t)},camelCase:function(e){return e.replace(C,"ms-").replace(k,L)},nodeName:function(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()},each:function(e,n,r){var i,s=0,o=e.length,u=o===t||v.isFunction(e);if(r){if(u){for(i in e)if(n.apply(e[i],r)===!1)break}else for(;s0&&e[0]&&e[a-1]||a===0||v.isArray(e));if(f)for(;u-1)a.splice(n,1),i&&(n<=o&&o--,n<=u&&u--)}),this},has:function(e){return v.inArray(e,a)>-1},empty:function(){return a=[],this},disable:function(){return a=f=n=t,this},disabled:function(){return!a},lock:function(){return f=t,n||c.disable(),this},locked:function(){return!f},fireWith:function(e,t){return t=t||[],t=[e,t.slice?t.slice():t],a&&(!r||f)&&(i?f.push(t):l(t)),this},fire:function(){return c.fireWith(this,arguments),this},fired:function(){return!!r}};return c},v.extend({Deferred:function(e){var t=[["resolve","done",v.Callbacks("once memory"),"resolved"],["reject","fail",v.Callbacks("once memory"),"rejected"],["notify","progress",v.Callbacks("memory")]],n="pending",r={state:function(){return n},always:function(){return i.done(arguments).fail(arguments),this},then:function(){var e=arguments;return v.Deferred(function(n){v.each(t,function(t,r){var s=r[0],o=e[t];i[r[1]](v.isFunction(o)?function(){var e=o.apply(this,arguments);e&&v.isFunction(e.promise)?e.promise().done(n.resolve).fail(n.reject).progress(n.notify):n[s+"With"](this===i?n:this,[e])}:n[s])}),e=null}).promise()},promise:function(e){return e!=null?v.extend(e,r):r}},i={};return r.pipe=r.then,v.each(t,function(e,s){var o=s[2],u=s[3];r[s[1]]=o.add,u&&o.add(function(){n=u},t[e^1][2].disable,t[2][2].lock),i[s[0]]=o.fire,i[s[0]+"With"]=o.fireWith}),r.promise(i),e&&e.call(i,i),i},when:function(e){var t=0,n=l.call(arguments),r=n.length,i=r!==1||e&&v.isFunction(e.promise)?r:0,s=i===1?e:v.Deferred(),o=function(e,t,n){return function(r){t[e]=this,n[e]=arguments.length>1?l.call(arguments):r,n===u?s.notifyWith(t,n):--i||s.resolveWith(t,n)}},u,a,f;if(r>1){u=new Array(r),a=new Array(r),f=new Array(r);for(;t
a",n=p.getElementsByTagName("*"),r=p.getElementsByTagName("a")[0];if(!n||!r||!n.length)return{};s=i.createElement("select"),o=s.appendChild(i.createElement("option")),u=p.getElementsByTagName("input")[0],r.style.cssText="top:1px;float:left;opacity:.5",t={leadingWhitespace:p.firstChild.nodeType===3,tbody:!p.getElementsByTagName("tbody").length,htmlSerialize:!!p.getElementsByTagName("link").length,style:/top/.test(r.getAttribute("style")),hrefNormalized:r.getAttribute("href")==="/a",opacity:/^0.5/.test(r.style.opacity),cssFloat:!!r.style.cssFloat,checkOn:u.value==="on",optSelected:o.selected,getSetAttribute:p.className!=="t",enctype:!!i.createElement("form").enctype,html5Clone:i.createElement("nav").cloneNode(!0).outerHTML!=="<:nav>",boxModel:i.compatMode==="CSS1Compat",submitBubbles:!0,changeBubbles:!0,focusinBubbles:!1,deleteExpando:!0,noCloneEvent:!0,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableMarginRight:!0,boxSizingReliable:!0,pixelPosition:!1},u.checked=!0,t.noCloneChecked=u.cloneNode(!0).checked,s.disabled=!0,t.optDisabled=!o.disabled;try{delete p.test}catch(d){t.deleteExpando=!1}!p.addEventListener&&p.attachEvent&&p.fireEvent&&(p.attachEvent("onclick",h=function(){t.noCloneEvent=!1}),p.cloneNode(!0).fireEvent("onclick"),p.detachEvent("onclick",h)),u=i.createElement("input"),u.value="t",u.setAttribute("type","radio"),t.radioValue=u.value==="t",u.setAttribute("checked","checked"),u.setAttribute("name","t"),p.appendChild(u),a=i.createDocumentFragment(),a.appendChild(p.lastChild),t.checkClone=a.cloneNode(!0).cloneNode(!0).lastChild.checked,t.appendChecked=u.checked,a.removeChild(u),a.appendChild(p);if(p.attachEvent)for(l in{submit:!0,change:!0,focusin:!0})f="on"+l,c=f in p,c||(p.setAttribute(f,"return;"),c=typeof p[f]=="function"),t[l+"Bubbles"]=c;return v(function(){var n,r,s,o,u="padding:0;margin:0;border:0;display:block;overflow:hidden;",a=i.getElementsByTagName("body")[0];if(!a)return;n=i.createElement("div"),n.style.cssText="visibility:hidden;border:0;width:0;height:0;position:static;top:0;margin-top:1px",a.insertBefore(n,a.firstChild),r=i.createElement("div"),n.appendChild(r),r.innerHTML="
t
",s=r.getElementsByTagName("td"),s[0].style.cssText="padding:0;margin:0;border:0;display:none",c=s[0].offsetHeight===0,s[0].style.display="",s[1].style.display="none",t.reliableHiddenOffsets=c&&s[0].offsetHeight===0,r.innerHTML="",r.style.cssText="box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;padding:1px;border:1px;display:block;width:4px;margin-top:1%;position:absolute;top:1%;",t.boxSizing=r.offsetWidth===4,t.doesNotIncludeMarginInBodyOffset=a.offsetTop!==1,e.getComputedStyle&&(t.pixelPosition=(e.getComputedStyle(r,null)||{}).top!=="1%",t.boxSizingReliable=(e.getComputedStyle(r,null)||{width:"4px"}).width==="4px",o=i.createElement("div"),o.style.cssText=r.style.cssText=u,o.style.marginRight=o.style.width="0",r.style.width="1px",r.appendChild(o),t.reliableMarginRight=!parseFloat((e.getComputedStyle(o,null)||{}).marginRight)),typeof r.style.zoom!="undefined"&&(r.innerHTML="",r.style.cssText=u+"width:1px;padding:1px;display:inline;zoom:1",t.inlineBlockNeedsLayout=r.offsetWidth===3,r.style.display="block",r.style.overflow="visible",r.innerHTML="
",r.firstChild.style.width="5px",t.shrinkWrapBlocks=r.offsetWidth!==3,n.style.zoom=1),a.removeChild(n),n=r=s=o=null}),a.removeChild(p),n=r=s=o=u=a=p=null,t}();var D=/(?:\{[\s\S]*\}|\[[\s\S]*\])$/,P=/([A-Z])/g;v.extend({cache:{},deletedIds:[],uuid:0,expando:"jQuery"+(v.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:!0},hasData:function(e){return e=e.nodeType?v.cache[e[v.expando]]:e[v.expando],!!e&&!B(e)},data:function(e,n,r,i){if(!v.acceptData(e))return;var s,o,u=v.expando,a=typeof n=="string",f=e.nodeType,l=f?v.cache:e,c=f?e[u]:e[u]&&u;if((!c||!l[c]||!i&&!l[c].data)&&a&&r===t)return;c||(f?e[u]=c=v.deletedIds.pop()||v.guid++:c=u),l[c]||(l[c]={},f||(l[c].toJSON=v.noop));if(typeof n=="object"||typeof n=="function")i?l[c]=v.extend(l[c],n):l[c].data=v.extend(l[c].data,n);return s=l[c],i||(s.data||(s.data={}),s=s.data),r!==t&&(s[v.camelCase(n)]=r),a?(o=s[n],o==null&&(o=s[v.camelCase(n)])):o=s,o},removeData:function(e,t,n){if(!v.acceptData(e))return;var r,i,s,o=e.nodeType,u=o?v.cache:e,a=o?e[v.expando]:v.expando;if(!u[a])return;if(t){r=n?u[a]:u[a].data;if(r){v.isArray(t)||(t in r?t=[t]:(t=v.camelCase(t),t in r?t=[t]:t=t.split(" ")));for(i=0,s=t.length;i1,null,!1))},removeData:function(e){return this.each(function(){v.removeData(this,e)})}}),v.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=v._data(e,t),n&&(!r||v.isArray(n)?r=v._data(e,t,v.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=v.queue(e,t),r=n.length,i=n.shift(),s=v._queueHooks(e,t),o=function(){v.dequeue(e,t)};i==="inprogress"&&(i=n.shift(),r--),i&&(t==="fx"&&n.unshift("inprogress"),delete s.stop,i.call(e,o,s)),!r&&s&&s.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return v._data(e,n)||v._data(e,n,{empty:v.Callbacks("once memory").add(function(){v.removeData(e,t+"queue",!0),v.removeData(e,n,!0)})})}}),v.fn.extend({queue:function(e,n){var r=2;return typeof e!="string"&&(n=e,e="fx",r--),arguments.length1)},removeAttr:function(e){return this.each(function(){v.removeAttr(this,e)})},prop:function(e,t){return v.access(this,v.prop,e,t,arguments.length>1)},removeProp:function(e){return e=v.propFix[e]||e,this.each(function(){try{this[e]=t,delete this[e]}catch(n){}})},addClass:function(e){var t,n,r,i,s,o,u;if(v.isFunction(e))return this.each(function(t){v(this).addClass(e.call(this,t,this.className))});if(e&&typeof e=="string"){t=e.split(y);for(n=0,r=this.length;n=0)r=r.replace(" "+n[s]+" "," ");i.className=e?v.trim(r):""}}}return this},toggleClass:function(e,t){var n=typeof e,r=typeof t=="boolean";return v.isFunction(e)?this.each(function(n){v(this).toggleClass(e.call(this,n,this.className,t),t)}):this.each(function(){if(n==="string"){var i,s=0,o=v(this),u=t,a=e.split(y);while(i=a[s++])u=r?u:!o.hasClass(i),o[u?"addClass":"removeClass"](i)}else if(n==="undefined"||n==="boolean")this.className&&v._data(this,"__className__",this.className),this.className=this.className||e===!1?"":v._data(this,"__className__")||""})},hasClass:function(e){var t=" "+e+" ",n=0,r=this.length;for(;n=0)return!0;return!1},val:function(e){var n,r,i,s=this[0];if(!arguments.length){if(s)return n=v.valHooks[s.type]||v.valHooks[s.nodeName.toLowerCase()],n&&"get"in n&&(r=n.get(s,"value"))!==t?r:(r=s.value,typeof r=="string"?r.replace(R,""):r==null?"":r);return}return i=v.isFunction(e),this.each(function(r){var s,o=v(this);if(this.nodeType!==1)return;i?s=e.call(this,r,o.val()):s=e,s==null?s="":typeof s=="number"?s+="":v.isArray(s)&&(s=v.map(s,function(e){return e==null?"":e+""})),n=v.valHooks[this.type]||v.valHooks[this.nodeName.toLowerCase()];if(!n||!("set"in n)||n.set(this,s,"value")===t)this.value=s})}}),v.extend({valHooks:{option:{get:function(e){var t=e.attributes.value;return!t||t.specified?e.value:e.text}},select:{get:function(e){var t,n,r=e.options,i=e.selectedIndex,s=e.type==="select-one"||i<0,o=s?null:[],u=s?i+1:r.length,a=i<0?u:s?i:0;for(;a=0}),n.length||(e.selectedIndex=-1),n}}},attrFn:{},attr:function(e,n,r,i){var s,o,u,a=e.nodeType;if(!e||a===3||a===8||a===2)return;if(i&&v.isFunction(v.fn[n]))return v(e)[n](r);if(typeof e.getAttribute=="undefined")return v.prop(e,n,r);u=a!==1||!v.isXMLDoc(e),u&&(n=n.toLowerCase(),o=v.attrHooks[n]||(X.test(n)?F:j));if(r!==t){if(r===null){v.removeAttr(e,n);return}return o&&"set"in o&&u&&(s=o.set(e,r,n))!==t?s:(e.setAttribute(n,r+""),r)}return o&&"get"in o&&u&&(s=o.get(e,n))!==null?s:(s=e.getAttribute(n),s===null?t:s)},removeAttr:function(e,t){var n,r,i,s,o=0;if(t&&e.nodeType===1){r=t.split(y);for(;o=0}})});var $=/^(?:textarea|input|select)$/i,J=/^([^\.]*|)(?:\.(.+)|)$/,K=/(?:^|\s)hover(\.\S+|)\b/,Q=/^key/,G=/^(?:mouse|contextmenu)|click/,Y=/^(?:focusinfocus|focusoutblur)$/,Z=function(e){return v.event.special.hover?e:e.replace(K,"mouseenter$1 mouseleave$1")};v.event={add:function(e,n,r,i,s){var o,u,a,f,l,c,h,p,d,m,g;if(e.nodeType===3||e.nodeType===8||!n||!r||!(o=v._data(e)))return;r.handler&&(d=r,r=d.handler,s=d.selector),r.guid||(r.guid=v.guid++),a=o.events,a||(o.events=a={}),u=o.handle,u||(o.handle=u=function(e){return typeof v=="undefined"||!!e&&v.event.triggered===e.type?t:v.event.dispatch.apply(u.elem,arguments)},u.elem=e),n=v.trim(Z(n)).split(" ");for(f=0;f=0&&(y=y.slice(0,-1),a=!0),y.indexOf(".")>=0&&(b=y.split("."),y=b.shift(),b.sort());if((!s||v.event.customEvent[y])&&!v.event.global[y])return;n=typeof n=="object"?n[v.expando]?n:new v.Event(y,n):new v.Event(y),n.type=y,n.isTrigger=!0,n.exclusive=a,n.namespace=b.join("."),n.namespace_re=n.namespace?new RegExp("(^|\\.)"+b.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,h=y.indexOf(":")<0?"on"+y:"";if(!s){u=v.cache;for(f in u)u[f].events&&u[f].events[y]&&v.event.trigger(n,r,u[f].handle.elem,!0);return}n.result=t,n.target||(n.target=s),r=r!=null?v.makeArray(r):[],r.unshift(n),p=v.event.special[y]||{};if(p.trigger&&p.trigger.apply(s,r)===!1)return;m=[[s,p.bindType||y]];if(!o&&!p.noBubble&&!v.isWindow(s)){g=p.delegateType||y,l=Y.test(g+y)?s:s.parentNode;for(c=s;l;l=l.parentNode)m.push([l,g]),c=l;c===(s.ownerDocument||i)&&m.push([c.defaultView||c.parentWindow||e,g])}for(f=0;f=0:v.find(h,this,null,[s]).length),u[h]&&f.push(c);f.length&&w.push({elem:s,matches:f})}d.length>m&&w.push({elem:this,matches:d.slice(m)});for(r=0;r0?this.on(t,null,e,n):this.trigger(t)},Q.test(t)&&(v.event.fixHooks[t]=v.event.keyHooks),G.test(t)&&(v.event.fixHooks[t]=v.event.mouseHooks)}),function(e,t){function nt(e,t,n,r){n=n||[],t=t||g;var i,s,a,f,l=t.nodeType;if(!e||typeof e!="string")return n;if(l!==1&&l!==9)return[];a=o(t);if(!a&&!r)if(i=R.exec(e))if(f=i[1]){if(l===9){s=t.getElementById(f);if(!s||!s.parentNode)return n;if(s.id===f)return n.push(s),n}else if(t.ownerDocument&&(s=t.ownerDocument.getElementById(f))&&u(t,s)&&s.id===f)return n.push(s),n}else{if(i[2])return S.apply(n,x.call(t.getElementsByTagName(e),0)),n;if((f=i[3])&&Z&&t.getElementsByClassName)return S.apply(n,x.call(t.getElementsByClassName(f),0)),n}return vt(e.replace(j,"$1"),t,n,r,a)}function rt(e){return function(t){var n=t.nodeName.toLowerCase();return n==="input"&&t.type===e}}function it(e){return function(t){var n=t.nodeName.toLowerCase();return(n==="input"||n==="button")&&t.type===e}}function st(e){return N(function(t){return t=+t,N(function(n,r){var i,s=e([],n.length,t),o=s.length;while(o--)n[i=s[o]]&&(n[i]=!(r[i]=n[i]))})})}function ot(e,t,n){if(e===t)return n;var r=e.nextSibling;while(r){if(r===t)return-1;r=r.nextSibling}return 1}function ut(e,t){var n,r,s,o,u,a,f,l=L[d][e+" "];if(l)return t?0:l.slice(0);u=e,a=[],f=i.preFilter;while(u){if(!n||(r=F.exec(u)))r&&(u=u.slice(r[0].length)||u),a.push(s=[]);n=!1;if(r=I.exec(u))s.push(n=new m(r.shift())),u=u.slice(n.length),n.type=r[0].replace(j," ");for(o in i.filter)(r=J[o].exec(u))&&(!f[o]||(r=f[o](r)))&&(s.push(n=new m(r.shift())),u=u.slice(n.length),n.type=o,n.matches=r);if(!n)break}return t?u.length:u?nt.error(e):L(e,a).slice(0)}function at(e,t,r){var i=t.dir,s=r&&t.dir==="parentNode",o=w++;return t.first?function(t,n,r){while(t=t[i])if(s||t.nodeType===1)return e(t,n,r)}:function(t,r,u){if(!u){var a,f=b+" "+o+" ",l=f+n;while(t=t[i])if(s||t.nodeType===1){if((a=t[d])===l)return t.sizset;if(typeof a=="string"&&a.indexOf(f)===0){if(t.sizset)return t}else{t[d]=l;if(e(t,r,u))return t.sizset=!0,t;t.sizset=!1}}}else while(t=t[i])if(s||t.nodeType===1)if(e(t,r,u))return t}}function ft(e){return e.length>1?function(t,n,r){var i=e.length;while(i--)if(!e[i](t,n,r))return!1;return!0}:e[0]}function lt(e,t,n,r,i){var s,o=[],u=0,a=e.length,f=t!=null;for(;u-1&&(s[f]=!(o[f]=c))}}else g=lt(g===o?g.splice(d,g.length):g),i?i(null,o,g,a):S.apply(o,g)})}function ht(e){var t,n,r,s=e.length,o=i.relative[e[0].type],u=o||i.relative[" "],a=o?1:0,f=at(function(e){return e===t},u,!0),l=at(function(e){return T.call(t,e)>-1},u,!0),h=[function(e,n,r){return!o&&(r||n!==c)||((t=n).nodeType?f(e,n,r):l(e,n,r))}];for(;a1&&ft(h),a>1&&e.slice(0,a-1).join("").replace(j,"$1"),n,a0,s=e.length>0,o=function(u,a,f,l,h){var p,d,v,m=[],y=0,w="0",x=u&&[],T=h!=null,N=c,C=u||s&&i.find.TAG("*",h&&a.parentNode||a),k=b+=N==null?1:Math.E;T&&(c=a!==g&&a,n=o.el);for(;(p=C[w])!=null;w++){if(s&&p){for(d=0;v=e[d];d++)if(v(p,a,f)){l.push(p);break}T&&(b=k,n=++o.el)}r&&((p=!v&&p)&&y--,u&&x.push(p))}y+=w;if(r&&w!==y){for(d=0;v=t[d];d++)v(x,m,a,f);if(u){if(y>0)while(w--)!x[w]&&!m[w]&&(m[w]=E.call(l));m=lt(m)}S.apply(l,m),T&&!u&&m.length>0&&y+t.length>1&&nt.uniqueSort(l)}return T&&(b=k,c=N),x};return o.el=0,r?N(o):o}function dt(e,t,n){var r=0,i=t.length;for(;r2&&(f=u[0]).type==="ID"&&t.nodeType===9&&!s&&i.relative[u[1].type]){t=i.find.ID(f.matches[0].replace($,""),t,s)[0];if(!t)return n;e=e.slice(u.shift().length)}for(o=J.POS.test(e)?-1:u.length-1;o>=0;o--){f=u[o];if(i.relative[l=f.type])break;if(c=i.find[l])if(r=c(f.matches[0].replace($,""),z.test(u[0].type)&&t.parentNode||t,s)){u.splice(o,1),e=r.length&&u.join("");if(!e)return S.apply(n,x.call(r,0)),n;break}}}return a(e,h)(r,t,s,n,z.test(e)),n}function mt(){}var n,r,i,s,o,u,a,f,l,c,h=!0,p="undefined",d=("sizcache"+Math.random()).replace(".",""),m=String,g=e.document,y=g.documentElement,b=0,w=0,E=[].pop,S=[].push,x=[].slice,T=[].indexOf||function(e){var t=0,n=this.length;for(;ti.cacheLength&&delete e[t.shift()],e[n+" "]=r},e)},k=C(),L=C(),A=C(),O="[\\x20\\t\\r\\n\\f]",M="(?:\\\\.|[-\\w]|[^\\x00-\\xa0])+",_=M.replace("w","w#"),D="([*^$|!~]?=)",P="\\["+O+"*("+M+")"+O+"*(?:"+D+O+"*(?:(['\"])((?:\\\\.|[^\\\\])*?)\\3|("+_+")|)|)"+O+"*\\]",H=":("+M+")(?:\\((?:(['\"])((?:\\\\.|[^\\\\])*?)\\2|([^()[\\]]*|(?:(?:"+P+")|[^:]|\\\\.)*|.*))\\)|)",B=":(even|odd|eq|gt|lt|nth|first|last)(?:\\("+O+"*((?:-\\d)?\\d*)"+O+"*\\)|)(?=[^-]|$)",j=new RegExp("^"+O+"+|((?:^|[^\\\\])(?:\\\\.)*)"+O+"+$","g"),F=new RegExp("^"+O+"*,"+O+"*"),I=new RegExp("^"+O+"*([\\x20\\t\\r\\n\\f>+~])"+O+"*"),q=new RegExp(H),R=/^(?:#([\w\-]+)|(\w+)|\.([\w\-]+))$/,U=/^:not/,z=/[\x20\t\r\n\f]*[+~]/,W=/:not\($/,X=/h\d/i,V=/input|select|textarea|button/i,$=/\\(?!\\)/g,J={ID:new RegExp("^#("+M+")"),CLASS:new RegExp("^\\.("+M+")"),NAME:new RegExp("^\\[name=['\"]?("+M+")['\"]?\\]"),TAG:new RegExp("^("+M.replace("w","w*")+")"),ATTR:new RegExp("^"+P),PSEUDO:new RegExp("^"+H),POS:new RegExp(B,"i"),CHILD:new RegExp("^:(only|nth|first|last)-child(?:\\("+O+"*(even|odd|(([+-]|)(\\d*)n|)"+O+"*(?:([+-]|)"+O+"*(\\d+)|))"+O+"*\\)|)","i"),needsContext:new RegExp("^"+O+"*[>+~]|"+B,"i")},K=function(e){var t=g.createElement("div");try{return e(t)}catch(n){return!1}finally{t=null}},Q=K(function(e){return e.appendChild(g.createComment("")),!e.getElementsByTagName("*").length}),G=K(function(e){return e.innerHTML="",e.firstChild&&typeof e.firstChild.getAttribute!==p&&e.firstChild.getAttribute("href")==="#"}),Y=K(function(e){e.innerHTML="";var t=typeof e.lastChild.getAttribute("multiple");return t!=="boolean"&&t!=="string"}),Z=K(function(e){return e.innerHTML="",!e.getElementsByClassName||!e.getElementsByClassName("e").length?!1:(e.lastChild.className="e",e.getElementsByClassName("e").length===2)}),et=K(function(e){e.id=d+0,e.innerHTML="
",y.insertBefore(e,y.firstChild);var t=g.getElementsByName&&g.getElementsByName(d).length===2+g.getElementsByName(d+0).length;return r=!g.getElementById(d),y.removeChild(e),t});try{x.call(y.childNodes,0)[0].nodeType}catch(tt){x=function(e){var t,n=[];for(;t=this[e];e++)n.push(t);return n}}nt.matches=function(e,t){return nt(e,null,null,t)},nt.matchesSelector=function(e,t){return nt(t,null,null,[e]).length>0},s=nt.getText=function(e){var t,n="",r=0,i=e.nodeType;if(i){if(i===1||i===9||i===11){if(typeof e.textContent=="string")return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=s(e)}else if(i===3||i===4)return e.nodeValue}else for(;t=e[r];r++)n+=s(t);return n},o=nt.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return t?t.nodeName!=="HTML":!1},u=nt.contains=y.contains?function(e,t){var n=e.nodeType===9?e.documentElement:e,r=t&&t.parentNode;return e===r||!!(r&&r.nodeType===1&&n.contains&&n.contains(r))}:y.compareDocumentPosition?function(e,t){return t&&!!(e.compareDocumentPosition(t)&16)}:function(e,t){while(t=t.parentNode)if(t===e)return!0;return!1},nt.attr=function(e,t){var n,r=o(e);return r||(t=t.toLowerCase()),(n=i.attrHandle[t])?n(e):r||Y?e.getAttribute(t):(n=e.getAttributeNode(t),n?typeof e[t]=="boolean"?e[t]?t:null:n.specified?n.value:null:null)},i=nt.selectors={cacheLength:50,createPseudo:N,match:J,attrHandle:G?{}:{href:function(e){return e.getAttribute("href",2)},type:function(e){return e.getAttribute("type")}},find:{ID:r?function(e,t,n){if(typeof t.getElementById!==p&&!n){var r=t.getElementById(e);return r&&r.parentNode?[r]:[]}}:function(e,n,r){if(typeof n.getElementById!==p&&!r){var i=n.getElementById(e);return i?i.id===e||typeof i.getAttributeNode!==p&&i.getAttributeNode("id").value===e?[i]:t:[]}},TAG:Q?function(e,t){if(typeof t.getElementsByTagName!==p)return t.getElementsByTagName(e)}:function(e,t){var n=t.getElementsByTagName(e);if(e==="*"){var r,i=[],s=0;for(;r=n[s];s++)r.nodeType===1&&i.push(r);return i}return n},NAME:et&&function(e,t){if(typeof t.getElementsByName!==p)return t.getElementsByName(name)},CLASS:Z&&function(e,t,n){if(typeof t.getElementsByClassName!==p&&!n)return t.getElementsByClassName(e)}},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace($,""),e[3]=(e[4]||e[5]||"").replace($,""),e[2]==="~="&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),e[1]==="nth"?(e[2]||nt.error(e[0]),e[3]=+(e[3]?e[4]+(e[5]||1):2*(e[2]==="even"||e[2]==="odd")),e[4]=+(e[6]+e[7]||e[2]==="odd")):e[2]&&nt.error(e[0]),e},PSEUDO:function(e){var t,n;if(J.CHILD.test(e[0]))return null;if(e[3])e[2]=e[3];else if(t=e[4])q.test(t)&&(n=ut(t,!0))&&(n=t.indexOf(")",t.length-n)-t.length)&&(t=t.slice(0,n),e[0]=e[0].slice(0,n)),e[2]=t;return e.slice(0,3)}},filter:{ID:r?function(e){return e=e.replace($,""),function(t){return t.getAttribute("id")===e}}:function(e){return e=e.replace($,""),function(t){var n=typeof t.getAttributeNode!==p&&t.getAttributeNode("id");return n&&n.value===e}},TAG:function(e){return e==="*"?function(){return!0}:(e=e.replace($,"").toLowerCase(),function(t){return t.nodeName&&t.nodeName.toLowerCase()===e})},CLASS:function(e){var t=k[d][e+" "];return t||(t=new RegExp("(^|"+O+")"+e+"("+O+"|$)"))&&k(e,function(e){return t.test(e.className||typeof e.getAttribute!==p&&e.getAttribute("class")||"")})},ATTR:function(e,t,n){return function(r,i){var s=nt.attr(r,e);return s==null?t==="!=":t?(s+="",t==="="?s===n:t==="!="?s!==n:t==="^="?n&&s.indexOf(n)===0:t==="*="?n&&s.indexOf(n)>-1:t==="$="?n&&s.substr(s.length-n.length)===n:t==="~="?(" "+s+" ").indexOf(n)>-1:t==="|="?s===n||s.substr(0,n.length+1)===n+"-":!1):!0}},CHILD:function(e,t,n,r){return e==="nth"?function(e){var t,i,s=e.parentNode;if(n===1&&r===0)return!0;if(s){i=0;for(t=s.firstChild;t;t=t.nextSibling)if(t.nodeType===1){i++;if(e===t)break}}return i-=r,i===n||i%n===0&&i/n>=0}:function(t){var n=t;switch(e){case"only":case"first":while(n=n.previousSibling)if(n.nodeType===1)return!1;if(e==="first")return!0;n=t;case"last":while(n=n.nextSibling)if(n.nodeType===1)return!1;return!0}}},PSEUDO:function(e,t){var n,r=i.pseudos[e]||i.setFilters[e.toLowerCase()]||nt.error("unsupported pseudo: "+e);return r[d]?r(t):r.length>1?(n=[e,e,"",t],i.setFilters.hasOwnProperty(e.toLowerCase())?N(function(e,n){var i,s=r(e,t),o=s.length;while(o--)i=T.call(e,s[o]),e[i]=!(n[i]=s[o])}):function(e){return r(e,0,n)}):r}},pseudos:{not:N(function(e){var t=[],n=[],r=a(e.replace(j,"$1"));return r[d]?N(function(e,t,n,i){var s,o=r(e,null,i,[]),u=e.length;while(u--)if(s=o[u])e[u]=!(t[u]=s)}):function(e,i,s){return t[0]=e,r(t,null,s,n),!n.pop()}}),has:N(function(e){return function(t){return nt(e,t).length>0}}),contains:N(function(e){return function(t){return(t.textContent||t.innerText||s(t)).indexOf(e)>-1}}),enabled:function(e){return e.disabled===!1},disabled:function(e){return e.disabled===!0},checked:function(e){var t=e.nodeName.toLowerCase();return t==="input"&&!!e.checked||t==="option"&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,e.selected===!0},parent:function(e){return!i.pseudos.empty(e)},empty:function(e){var t;e=e.firstChild;while(e){if(e.nodeName>"@"||(t=e.nodeType)===3||t===4)return!1;e=e.nextSibling}return!0},header:function(e){return X.test(e.nodeName)},text:function(e){var t,n;return e.nodeName.toLowerCase()==="input"&&(t=e.type)==="text"&&((n=e.getAttribute("type"))==null||n.toLowerCase()===t)},radio:rt("radio"),checkbox:rt("checkbox"),file:rt("file"),password:rt("password"),image:rt("image"),submit:it("submit"),reset:it("reset"),button:function(e){var t=e.nodeName.toLowerCase();return t==="input"&&e.type==="button"||t==="button"},input:function(e){return V.test(e.nodeName)},focus:function(e){var t=e.ownerDocument;return e===t.activeElement&&(!t.hasFocus||t.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},active:function(e){return e===e.ownerDocument.activeElement},first:st(function(){return[0]}),last:st(function(e,t){return[t-1]}),eq:st(function(e,t,n){return[n<0?n+t:n]}),even:st(function(e,t){for(var n=0;n=0;)e.push(r);return e}),gt:st(function(e,t,n){for(var r=n<0?n+t:n;++r",e.querySelectorAll("[selected]").length||i.push("\\["+O+"*(?:checked|disabled|ismap|multiple|readonly|selected|value)"),e.querySelectorAll(":checked").length||i.push(":checked")}),K(function(e){e.innerHTML="

",e.querySelectorAll("[test^='']").length&&i.push("[*^$]="+O+"*(?:\"\"|'')"),e.innerHTML="",e.querySelectorAll(":enabled").length||i.push(":enabled",":disabled")}),i=new RegExp(i.join("|")),vt=function(e,r,s,o,u){if(!o&&!u&&!i.test(e)){var a,f,l=!0,c=d,h=r,p=r.nodeType===9&&e;if(r.nodeType===1&&r.nodeName.toLowerCase()!=="object"){a=ut(e),(l=r.getAttribute("id"))?c=l.replace(n,"\\$&"):r.setAttribute("id",c),c="[id='"+c+"'] ",f=a.length;while(f--)a[f]=c+a[f].join("");h=z.test(e)&&r.parentNode||r,p=a.join(",")}if(p)try{return S.apply(s,x.call(h.querySelectorAll(p),0)),s}catch(v){}finally{l||r.removeAttribute("id")}}return t(e,r,s,o,u)},u&&(K(function(t){e=u.call(t,"div");try{u.call(t,"[test!='']:sizzle"),s.push("!=",H)}catch(n){}}),s=new RegExp(s.join("|")),nt.matchesSelector=function(t,n){n=n.replace(r,"='$1']");if(!o(t)&&!s.test(n)&&!i.test(n))try{var a=u.call(t,n);if(a||e||t.document&&t.document.nodeType!==11)return a}catch(f){}return nt(n,null,null,[t]).length>0})}(),i.pseudos.nth=i.pseudos.eq,i.filters=mt.prototype=i.pseudos,i.setFilters=new mt,nt.attr=v.attr,v.find=nt,v.expr=nt.selectors,v.expr[":"]=v.expr.pseudos,v.unique=nt.uniqueSort,v.text=nt.getText,v.isXMLDoc=nt.isXML,v.contains=nt.contains}(e);var nt=/Until$/,rt=/^(?:parents|prev(?:Until|All))/,it=/^.[^:#\[\.,]*$/,st=v.expr.match.needsContext,ot={children:!0,contents:!0,next:!0,prev:!0};v.fn.extend({find:function(e){var t,n,r,i,s,o,u=this;if(typeof e!="string")return v(e).filter(function(){for(t=0,n=u.length;t0)for(i=r;i=0:v.filter(e,this).length>0:this.filter(e).length>0)},closest:function(e,t){var n,r=0,i=this.length,s=[],o=st.test(e)||typeof e!="string"?v(e,t||this.context):0;for(;r-1:v.find.matchesSelector(n,e)){s.push(n);break}n=n.parentNode}}return s=s.length>1?v.unique(s):s,this.pushStack(s,"closest",e)},index:function(e){return e?typeof e=="string"?v.inArray(this[0],v(e)):v.inArray(e.jquery?e[0]:e,this):this[0]&&this[0].parentNode?this.prevAll().length:-1},add:function(e,t){var n=typeof e=="string"?v(e,t):v.makeArray(e&&e.nodeType?[e]:e),r=v.merge(this.get(),n);return this.pushStack(ut(n[0])||ut(r[0])?r:v.unique(r))},addBack:function(e){return this.add(e==null?this.prevObject:this.prevObject.filter(e))}}),v.fn.andSelf=v.fn.addBack,v.each({parent:function(e){var t=e.parentNode;return t&&t.nodeType!==11?t:null},parents:function(e){return v.dir(e,"parentNode")},parentsUntil:function(e,t,n){return v.dir(e,"parentNode",n)},next:function(e){return at(e,"nextSibling")},prev:function(e){return at(e,"previousSibling")},nextAll:function(e){return v.dir(e,"nextSibling")},prevAll:function(e){return v.dir(e,"previousSibling")},nextUntil:function(e,t,n){return v.dir(e,"nextSibling",n)},prevUntil:function(e,t,n){return v.dir(e,"previousSibling",n)},siblings:function(e){return v.sibling((e.parentNode||{}).firstChild,e)},children:function(e){return v.sibling(e.firstChild)},contents:function(e){return v.nodeName(e,"iframe")?e.contentDocument||e.contentWindow.document:v.merge([],e.childNodes)}},function(e,t){v.fn[e]=function(n,r){var i=v.map(this,t,n);return nt.test(e)||(r=n),r&&typeof r=="string"&&(i=v.filter(r,i)),i=this.length>1&&!ot[e]?v.unique(i):i,this.length>1&&rt.test(e)&&(i=i.reverse()),this.pushStack(i,e,l.call(arguments).join(","))}}),v.extend({filter:function(e,t,n){return n&&(e=":not("+e+")"),t.length===1?v.find.matchesSelector(t[0],e)?[t[0]]:[]:v.find.matches(e,t)},dir:function(e,n,r){var i=[],s=e[n];while(s&&s.nodeType!==9&&(r===t||s.nodeType!==1||!v(s).is(r)))s.nodeType===1&&i.push(s),s=s[n];return i},sibling:function(e,t){var n=[];for(;e;e=e.nextSibling)e.nodeType===1&&e!==t&&n.push(e);return n}});var ct="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",ht=/ jQuery\d+="(?:null|\d+)"/g,pt=/^\s+/,dt=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,vt=/<([\w:]+)/,mt=/]","i"),Et=/^(?:checkbox|radio)$/,St=/checked\s*(?:[^=]|=\s*.checked.)/i,xt=/\/(java|ecma)script/i,Tt=/^\s*\s*$/g,Nt={option:[1,""],legend:[1,"
","
"],thead:[1,"","
"],tr:[2,"","
"],td:[3,"","
"],col:[2,"","
"],area:[1,"",""],_default:[0,"",""]},Ct=lt(i),kt=Ct.appendChild(i.createElement("div"));Nt.optgroup=Nt.option,Nt.tbody=Nt.tfoot=Nt.colgroup=Nt.caption=Nt.thead,Nt.th=Nt.td,v.support.htmlSerialize||(Nt._default=[1,"X
","
"]),v.fn.extend({text:function(e){return v.access(this,function(e){return e===t?v.text(this):this.empty().append((this[0]&&this[0].ownerDocument||i).createTextNode(e))},null,e,arguments.length)},wrapAll:function(e){if(v.isFunction(e))return this.each(function(t){v(this).wrapAll(e.call(this,t))});if(this[0]){var t=v(e,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){var e=this;while(e.firstChild&&e.firstChild.nodeType===1)e=e.firstChild;return e}).append(this)}return this},wrapInner:function(e){return v.isFunction(e)?this.each(function(t){v(this).wrapInner(e.call(this,t))}):this.each(function(){var t=v(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=v.isFunction(e);return this.each(function(n){v(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(){return this.parent().each(function(){v.nodeName(this,"body")||v(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,!0,function(e){(this.nodeType===1||this.nodeType===11)&&this.appendChild(e)})},prepend:function(){return this.domManip(arguments,!0,function(e){(this.nodeType===1||this.nodeType===11)&&this.insertBefore(e,this.firstChild)})},before:function(){if(!ut(this[0]))return this.domManip(arguments,!1,function(e){this.parentNode.insertBefore(e,this)});if(arguments.length){var e=v.clean(arguments);return this.pushStack(v.merge(e,this),"before",this.selector)}},after:function(){if(!ut(this[0]))return this.domManip(arguments,!1,function(e){this.parentNode.insertBefore(e,this.nextSibling)});if(arguments.length){var e=v.clean(arguments);return this.pushStack(v.merge(this,e),"after",this.selector)}},remove:function(e,t){var n,r=0;for(;(n=this[r])!=null;r++)if(!e||v.filter(e,[n]).length)!t&&n.nodeType===1&&(v.cleanData(n.getElementsByTagName("*")),v.cleanData([n])),n.parentNode&&n.parentNode.removeChild(n);return this},empty:function(){var e,t=0;for(;(e=this[t])!=null;t++){e.nodeType===1&&v.cleanData(e.getElementsByTagName("*"));while(e.firstChild)e.removeChild(e.firstChild)}return this},clone:function(e,t){return e=e==null?!1:e,t=t==null?e:t,this.map(function(){return v.clone(this,e,t)})},html:function(e){return v.access(this,function(e){var n=this[0]||{},r=0,i=this.length;if(e===t)return n.nodeType===1?n.innerHTML.replace(ht,""):t;if(typeof e=="string"&&!yt.test(e)&&(v.support.htmlSerialize||!wt.test(e))&&(v.support.leadingWhitespace||!pt.test(e))&&!Nt[(vt.exec(e)||["",""])[1].toLowerCase()]){e=e.replace(dt,"<$1>");try{for(;r1&&typeof f=="string"&&St.test(f))return this.each(function(){v(this).domManip(e,n,r)});if(v.isFunction(f))return this.each(function(i){var s=v(this);e[0]=f.call(this,i,n?s.html():t),s.domManip(e,n,r)});if(this[0]){i=v.buildFragment(e,this,l),o=i.fragment,s=o.firstChild,o.childNodes.length===1&&(o=s);if(s){n=n&&v.nodeName(s,"tr");for(u=i.cacheable||c-1;a0?this.clone(!0):this).get(),v(o[i])[t](r),s=s.concat(r);return this.pushStack(s,e,o.selector)}}),v.extend({clone:function(e,t,n){var r,i,s,o;v.support.html5Clone||v.isXMLDoc(e)||!wt.test("<"+e.nodeName+">")?o=e.cloneNode(!0):(kt.innerHTML=e.outerHTML,kt.removeChild(o=kt.firstChild));if((!v.support.noCloneEvent||!v.support.noCloneChecked)&&(e.nodeType===1||e.nodeType===11)&&!v.isXMLDoc(e)){Ot(e,o),r=Mt(e),i=Mt(o);for(s=0;r[s];++s)i[s]&&Ot(r[s],i[s])}if(t){At(e,o);if(n){r=Mt(e),i=Mt(o);for(s=0;r[s];++s)At(r[s],i[s])}}return r=i=null,o},clean:function(e,t,n,r){var s,o,u,a,f,l,c,h,p,d,m,g,y=t===i&&Ct,b=[];if(!t||typeof t.createDocumentFragment=="undefined")t=i;for(s=0;(u=e[s])!=null;s++){typeof u=="number"&&(u+="");if(!u)continue;if(typeof u=="string")if(!gt.test(u))u=t.createTextNode(u);else{y=y||lt(t),c=t.createElement("div"),y.appendChild(c),u=u.replace(dt,"<$1>"),a=(vt.exec(u)||["",""])[1].toLowerCase(),f=Nt[a]||Nt._default,l=f[0],c.innerHTML=f[1]+u+f[2];while(l--)c=c.lastChild;if(!v.support.tbody){h=mt.test(u),p=a==="table"&&!h?c.firstChild&&c.firstChild.childNodes:f[1]===""&&!h?c.childNodes:[];for(o=p.length-1;o>=0;--o)v.nodeName(p[o],"tbody")&&!p[o].childNodes.length&&p[o].parentNode.removeChild(p[o])}!v.support.leadingWhitespace&&pt.test(u)&&c.insertBefore(t.createTextNode(pt.exec(u)[0]),c.firstChild),u=c.childNodes,c.parentNode.removeChild(c)}u.nodeType?b.push(u):v.merge(b,u)}c&&(u=c=y=null);if(!v.support.appendChecked)for(s=0;(u=b[s])!=null;s++)v.nodeName(u,"input")?_t(u):typeof u.getElementsByTagName!="undefined"&&v.grep(u.getElementsByTagName("input"),_t);if(n){m=function(e){if(!e.type||xt.test(e.type))return r?r.push(e.parentNode?e.parentNode.removeChild(e):e):n.appendChild(e)};for(s=0;(u=b[s])!=null;s++)if(!v.nodeName(u,"script")||!m(u))n.appendChild(u),typeof u.getElementsByTagName!="undefined"&&(g=v.grep(v.merge([],u.getElementsByTagName("script")),m),b.splice.apply(b,[s+1,0].concat(g)),s+=g.length)}return b},cleanData:function(e,t){var n,r,i,s,o=0,u=v.expando,a=v.cache,f=v.support.deleteExpando,l=v.event.special;for(;(i=e[o])!=null;o++)if(t||v.acceptData(i)){r=i[u],n=r&&a[r];if(n){if(n.events)for(s in n.events)l[s]?v.event.remove(i,s):v.removeEvent(i,s,n.handle);a[r]&&(delete a[r],f?delete i[u]:i.removeAttribute?i.removeAttribute(u):i[u]=null,v.deletedIds.push(r))}}}}),function(){var e,t;v.uaMatch=function(e){e=e.toLowerCase();var t=/(chrome)[ \/]([\w.]+)/.exec(e)||/(webkit)[ \/]([\w.]+)/.exec(e)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(e)||/(msie) ([\w.]+)/.exec(e)||e.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(e)||[];return{browser:t[1]||"",version:t[2]||"0"}},e=v.uaMatch(o.userAgent),t={},e.browser&&(t[e.browser]=!0,t.version=e.version),t.chrome?t.webkit=!0:t.webkit&&(t.safari=!0),v.browser=t,v.sub=function(){function e(t,n){return new e.fn.init(t,n)}v.extend(!0,e,this),e.superclass=this,e.fn=e.prototype=this(),e.fn.constructor=e,e.sub=this.sub,e.fn.init=function(r,i){return i&&i instanceof v&&!(i instanceof e)&&(i=e(i)),v.fn.init.call(this,r,i,t)},e.fn.init.prototype=e.fn;var t=e(i);return e}}();var Dt,Pt,Ht,Bt=/alpha\([^)]*\)/i,jt=/opacity=([^)]*)/,Ft=/^(top|right|bottom|left)$/,It=/^(none|table(?!-c[ea]).+)/,qt=/^margin/,Rt=new RegExp("^("+m+")(.*)$","i"),Ut=new RegExp("^("+m+")(?!px)[a-z%]+$","i"),zt=new RegExp("^([-+])=("+m+")","i"),Wt={BODY:"block"},Xt={position:"absolute",visibility:"hidden",display:"block"},Vt={letterSpacing:0,fontWeight:400},$t=["Top","Right","Bottom","Left"],Jt=["Webkit","O","Moz","ms"],Kt=v.fn.toggle;v.fn.extend({css:function(e,n){return v.access(this,function(e,n,r){return r!==t?v.style(e,n,r):v.css(e,n)},e,n,arguments.length>1)},show:function(){return Yt(this,!0)},hide:function(){return Yt(this)},toggle:function(e,t){var n=typeof e=="boolean";return v.isFunction(e)&&v.isFunction(t)?Kt.apply(this,arguments):this.each(function(){(n?e:Gt(this))?v(this).show():v(this).hide()})}}),v.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=Dt(e,"opacity");return n===""?"1":n}}}},cssNumber:{fillOpacity:!0,fontWeight:!0,lineHeight:!0,opacity:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":v.support.cssFloat?"cssFloat":"styleFloat"},style:function(e,n,r,i){if(!e||e.nodeType===3||e.nodeType===8||!e.style)return;var s,o,u,a=v.camelCase(n),f=e.style;n=v.cssProps[a]||(v.cssProps[a]=Qt(f,a)),u=v.cssHooks[n]||v.cssHooks[a];if(r===t)return u&&"get"in u&&(s=u.get(e,!1,i))!==t?s:f[n];o=typeof r,o==="string"&&(s=zt.exec(r))&&(r=(s[1]+1)*s[2]+parseFloat(v.css(e,n)),o="number");if(r==null||o==="number"&&isNaN(r))return;o==="number"&&!v.cssNumber[a]&&(r+="px");if(!u||!("set"in u)||(r=u.set(e,r,i))!==t)try{f[n]=r}catch(l){}},css:function(e,n,r,i){var s,o,u,a=v.camelCase(n);return n=v.cssProps[a]||(v.cssProps[a]=Qt(e.style,a)),u=v.cssHooks[n]||v.cssHooks[a],u&&"get"in u&&(s=u.get(e,!0,i)),s===t&&(s=Dt(e,n)),s==="normal"&&n in Vt&&(s=Vt[n]),r||i!==t?(o=parseFloat(s),r||v.isNumeric(o)?o||0:s):s},swap:function(e,t,n){var r,i,s={};for(i in t)s[i]=e.style[i],e.style[i]=t[i];r=n.call(e);for(i in t)e.style[i]=s[i];return r}}),e.getComputedStyle?Dt=function(t,n){var r,i,s,o,u=e.getComputedStyle(t,null),a=t.style;return u&&(r=u.getPropertyValue(n)||u[n],r===""&&!v.contains(t.ownerDocument,t)&&(r=v.style(t,n)),Ut.test(r)&&qt.test(n)&&(i=a.width,s=a.minWidth,o=a.maxWidth,a.minWidth=a.maxWidth=a.width=r,r=u.width,a.width=i,a.minWidth=s,a.maxWidth=o)),r}:i.documentElement.currentStyle&&(Dt=function(e,t){var n,r,i=e.currentStyle&&e.currentStyle[t],s=e.style;return i==null&&s&&s[t]&&(i=s[t]),Ut.test(i)&&!Ft.test(t)&&(n=s.left,r=e.runtimeStyle&&e.runtimeStyle.left,r&&(e.runtimeStyle.left=e.currentStyle.left),s.left=t==="fontSize"?"1em":i,i=s.pixelLeft+"px",s.left=n,r&&(e.runtimeStyle.left=r)),i===""?"auto":i}),v.each(["height","width"],function(e,t){v.cssHooks[t]={get:function(e,n,r){if(n)return e.offsetWidth===0&&It.test(Dt(e,"display"))?v.swap(e,Xt,function(){return tn(e,t,r)}):tn(e,t,r)},set:function(e,n,r){return Zt(e,n,r?en(e,t,r,v.support.boxSizing&&v.css(e,"boxSizing")==="border-box"):0)}}}),v.support.opacity||(v.cssHooks.opacity={get:function(e,t){return jt.test((t&&e.currentStyle?e.currentStyle.filter:e.style.filter)||"")?.01*parseFloat(RegExp.$1)+"":t?"1":""},set:function(e,t){var n=e.style,r=e.currentStyle,i=v.isNumeric(t)?"alpha(opacity="+t*100+")":"",s=r&&r.filter||n.filter||"";n.zoom=1;if(t>=1&&v.trim(s.replace(Bt,""))===""&&n.removeAttribute){n.removeAttribute("filter");if(r&&!r.filter)return}n.filter=Bt.test(s)?s.replace(Bt,i):s+" "+i}}),v(function(){v.support.reliableMarginRight||(v.cssHooks.marginRight={get:function(e,t){return v.swap(e,{display:"inline-block"},function(){if(t)return Dt(e,"marginRight")})}}),!v.support.pixelPosition&&v.fn.position&&v.each(["top","left"],function(e,t){v.cssHooks[t]={get:function(e,n){if(n){var r=Dt(e,t);return Ut.test(r)?v(e).position()[t]+"px":r}}}})}),v.expr&&v.expr.filters&&(v.expr.filters.hidden=function(e){return e.offsetWidth===0&&e.offsetHeight===0||!v.support.reliableHiddenOffsets&&(e.style&&e.style.display||Dt(e,"display"))==="none"},v.expr.filters.visible=function(e){return!v.expr.filters.hidden(e)}),v.each({margin:"",padding:"",border:"Width"},function(e,t){v.cssHooks[e+t]={expand:function(n){var r,i=typeof n=="string"?n.split(" "):[n],s={};for(r=0;r<4;r++)s[e+$t[r]+t]=i[r]||i[r-2]||i[0];return s}},qt.test(e)||(v.cssHooks[e+t].set=Zt)});var rn=/%20/g,sn=/\[\]$/,on=/\r?\n/g,un=/^(?:color|date|datetime|datetime-local|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,an=/^(?:select|textarea)/i;v.fn.extend({serialize:function(){return v.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?v.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||an.test(this.nodeName)||un.test(this.type))}).map(function(e,t){var n=v(this).val();return n==null?null:v.isArray(n)?v.map(n,function(e,n){return{name:t.name,value:e.replace(on,"\r\n")}}):{name:t.name,value:n.replace(on,"\r\n")}}).get()}}),v.param=function(e,n){var r,i=[],s=function(e,t){t=v.isFunction(t)?t():t==null?"":t,i[i.length]=encodeURIComponent(e)+"="+encodeURIComponent(t)};n===t&&(n=v.ajaxSettings&&v.ajaxSettings.traditional);if(v.isArray(e)||e.jquery&&!v.isPlainObject(e))v.each(e,function(){s(this.name,this.value)});else for(r in e)fn(r,e[r],n,s);return i.join("&").replace(rn,"+")};var ln,cn,hn=/#.*$/,pn=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,dn=/^(?:about|app|app\-storage|.+\-extension|file|res|widget):$/,vn=/^(?:GET|HEAD)$/,mn=/^\/\//,gn=/\?/,yn=/)<[^<]*)*<\/script>/gi,bn=/([?&])_=[^&]*/,wn=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+)|)|)/,En=v.fn.load,Sn={},xn={},Tn=["*/"]+["*"];try{cn=s.href}catch(Nn){cn=i.createElement("a"),cn.href="",cn=cn.href}ln=wn.exec(cn.toLowerCase())||[],v.fn.load=function(e,n,r){if(typeof e!="string"&&En)return En.apply(this,arguments);if(!this.length)return this;var i,s,o,u=this,a=e.indexOf(" ");return a>=0&&(i=e.slice(a,e.length),e=e.slice(0,a)),v.isFunction(n)?(r=n,n=t):n&&typeof n=="object"&&(s="POST"),v.ajax({url:e,type:s,dataType:"html",data:n,complete:function(e,t){r&&u.each(r,o||[e.responseText,t,e])}}).done(function(e){o=arguments,u.html(i?v("
").append(e.replace(yn,"")).find(i):e)}),this},v.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(e,t){v.fn[t]=function(e){return this.on(t,e)}}),v.each(["get","post"],function(e,n){v[n]=function(e,r,i,s){return v.isFunction(r)&&(s=s||i,i=r,r=t),v.ajax({type:n,url:e,data:r,success:i,dataType:s})}}),v.extend({getScript:function(e,n){return v.get(e,t,n,"script")},getJSON:function(e,t,n){return v.get(e,t,n,"json")},ajaxSetup:function(e,t){return t?Ln(e,v.ajaxSettings):(t=e,e=v.ajaxSettings),Ln(e,t),e},ajaxSettings:{url:cn,isLocal:dn.test(ln[1]),global:!0,type:"GET",contentType:"application/x-www-form-urlencoded; charset=UTF-8",processData:!0,async:!0,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":Tn},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":e.String,"text html":!0,"text json":v.parseJSON,"text xml":v.parseXML},flatOptions:{context:!0,url:!0}},ajaxPrefilter:Cn(Sn),ajaxTransport:Cn(xn),ajax:function(e,n){function T(e,n,s,a){var l,y,b,w,S,T=n;if(E===2)return;E=2,u&&clearTimeout(u),o=t,i=a||"",x.readyState=e>0?4:0,s&&(w=An(c,x,s));if(e>=200&&e<300||e===304)c.ifModified&&(S=x.getResponseHeader("Last-Modified"),S&&(v.lastModified[r]=S),S=x.getResponseHeader("Etag"),S&&(v.etag[r]=S)),e===304?(T="notmodified",l=!0):(l=On(c,w),T=l.state,y=l.data,b=l.error,l=!b);else{b=T;if(!T||e)T="error",e<0&&(e=0)}x.status=e,x.statusText=(n||T)+"",l?d.resolveWith(h,[y,T,x]):d.rejectWith(h,[x,T,b]),x.statusCode(g),g=t,f&&p.trigger("ajax"+(l?"Success":"Error"),[x,c,l?y:b]),m.fireWith(h,[x,T]),f&&(p.trigger("ajaxComplete",[x,c]),--v.active||v.event.trigger("ajaxStop"))}typeof e=="object"&&(n=e,e=t),n=n||{};var r,i,s,o,u,a,f,l,c=v.ajaxSetup({},n),h=c.context||c,p=h!==c&&(h.nodeType||h instanceof v)?v(h):v.event,d=v.Deferred(),m=v.Callbacks("once memory"),g=c.statusCode||{},b={},w={},E=0,S="canceled",x={readyState:0,setRequestHeader:function(e,t){if(!E){var n=e.toLowerCase();e=w[n]=w[n]||e,b[e]=t}return this},getAllResponseHeaders:function(){return E===2?i:null},getResponseHeader:function(e){var n;if(E===2){if(!s){s={};while(n=pn.exec(i))s[n[1].toLowerCase()]=n[2]}n=s[e.toLowerCase()]}return n===t?null:n},overrideMimeType:function(e){return E||(c.mimeType=e),this},abort:function(e){return e=e||S,o&&o.abort(e),T(0,e),this}};d.promise(x),x.success=x.done,x.error=x.fail,x.complete=m.add,x.statusCode=function(e){if(e){var t;if(E<2)for(t in e)g[t]=[g[t],e[t]];else t=e[x.status],x.always(t)}return this},c.url=((e||c.url)+"").replace(hn,"").replace(mn,ln[1]+"//"),c.dataTypes=v.trim(c.dataType||"*").toLowerCase().split(y),c.crossDomain==null&&(a=wn.exec(c.url.toLowerCase()),c.crossDomain=!(!a||a[1]===ln[1]&&a[2]===ln[2]&&(a[3]||(a[1]==="http:"?80:443))==(ln[3]||(ln[1]==="http:"?80:443)))),c.data&&c.processData&&typeof c.data!="string"&&(c.data=v.param(c.data,c.traditional)),kn(Sn,c,n,x);if(E===2)return x;f=c.global,c.type=c.type.toUpperCase(),c.hasContent=!vn.test(c.type),f&&v.active++===0&&v.event.trigger("ajaxStart");if(!c.hasContent){c.data&&(c.url+=(gn.test(c.url)?"&":"?")+c.data,delete c.data),r=c.url;if(c.cache===!1){var N=v.now(),C=c.url.replace(bn,"$1_="+N);c.url=C+(C===c.url?(gn.test(c.url)?"&":"?")+"_="+N:"")}}(c.data&&c.hasContent&&c.contentType!==!1||n.contentType)&&x.setRequestHeader("Content-Type",c.contentType),c.ifModified&&(r=r||c.url,v.lastModified[r]&&x.setRequestHeader("If-Modified-Since",v.lastModified[r]),v.etag[r]&&x.setRequestHeader("If-None-Match",v.etag[r])),x.setRequestHeader("Accept",c.dataTypes[0]&&c.accepts[c.dataTypes[0]]?c.accepts[c.dataTypes[0]]+(c.dataTypes[0]!=="*"?", "+Tn+"; q=0.01":""):c.accepts["*"]);for(l in c.headers)x.setRequestHeader(l,c.headers[l]);if(!c.beforeSend||c.beforeSend.call(h,x,c)!==!1&&E!==2){S="abort";for(l in{success:1,error:1,complete:1})x[l](c[l]);o=kn(xn,c,n,x);if(!o)T(-1,"No Transport");else{x.readyState=1,f&&p.trigger("ajaxSend",[x,c]),c.async&&c.timeout>0&&(u=setTimeout(function(){x.abort("timeout")},c.timeout));try{E=1,o.send(b,T)}catch(k){if(!(E<2))throw k;T(-1,k)}}return x}return x.abort()},active:0,lastModified:{},etag:{}});var Mn=[],_n=/\?/,Dn=/(=)\?(?=&|$)|\?\?/,Pn=v.now();v.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Mn.pop()||v.expando+"_"+Pn++;return this[e]=!0,e}}),v.ajaxPrefilter("json jsonp",function(n,r,i){var s,o,u,a=n.data,f=n.url,l=n.jsonp!==!1,c=l&&Dn.test(f),h=l&&!c&&typeof a=="string"&&!(n.contentType||"").indexOf("application/x-www-form-urlencoded")&&Dn.test(a);if(n.dataTypes[0]==="jsonp"||c||h)return s=n.jsonpCallback=v.isFunction(n.jsonpCallback)?n.jsonpCallback():n.jsonpCallback,o=e[s],c?n.url=f.replace(Dn,"$1"+s):h?n.data=a.replace(Dn,"$1"+s):l&&(n.url+=(_n.test(f)?"&":"?")+n.jsonp+"="+s),n.converters["script json"]=function(){return u||v.error(s+" was not called"),u[0]},n.dataTypes[0]="json",e[s]=function(){u=arguments},i.always(function(){e[s]=o,n[s]&&(n.jsonpCallback=r.jsonpCallback,Mn.push(s)),u&&v.isFunction(o)&&o(u[0]),u=o=t}),"script"}),v.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/javascript|ecmascript/},converters:{"text script":function(e){return v.globalEval(e),e}}}),v.ajaxPrefilter("script",function(e){e.cache===t&&(e.cache=!1),e.crossDomain&&(e.type="GET",e.global=!1)}),v.ajaxTransport("script",function(e){if(e.crossDomain){var n,r=i.head||i.getElementsByTagName("head")[0]||i.documentElement;return{send:function(s,o){n=i.createElement("script"),n.async="async",e.scriptCharset&&(n.charset=e.scriptCharset),n.src=e.url,n.onload=n.onreadystatechange=function(e,i){if(i||!n.readyState||/loaded|complete/.test(n.readyState))n.onload=n.onreadystatechange=null,r&&n.parentNode&&r.removeChild(n),n=t,i||o(200,"success")},r.insertBefore(n,r.firstChild)},abort:function(){n&&n.onload(0,1)}}}});var Hn,Bn=e.ActiveXObject?function(){for(var e in Hn)Hn[e](0,1)}:!1,jn=0;v.ajaxSettings.xhr=e.ActiveXObject?function(){return!this.isLocal&&Fn()||In()}:Fn,function(e){v.extend(v.support,{ajax:!!e,cors:!!e&&"withCredentials"in e})}(v.ajaxSettings.xhr()),v.support.ajax&&v.ajaxTransport(function(n){if(!n.crossDomain||v.support.cors){var r;return{send:function(i,s){var o,u,a=n.xhr();n.username?a.open(n.type,n.url,n.async,n.username,n.password):a.open(n.type,n.url,n.async);if(n.xhrFields)for(u in n.xhrFields)a[u]=n.xhrFields[u];n.mimeType&&a.overrideMimeType&&a.overrideMimeType(n.mimeType),!n.crossDomain&&!i["X-Requested-With"]&&(i["X-Requested-With"]="XMLHttpRequest");try{for(u in i)a.setRequestHeader(u,i[u])}catch(f){}a.send(n.hasContent&&n.data||null),r=function(e,i){var u,f,l,c,h;try{if(r&&(i||a.readyState===4)){r=t,o&&(a.onreadystatechange=v.noop,Bn&&delete Hn[o]);if(i)a.readyState!==4&&a.abort();else{u=a.status,l=a.getAllResponseHeaders(),c={},h=a.responseXML,h&&h.documentElement&&(c.xml=h);try{c.text=a.responseText}catch(p){}try{f=a.statusText}catch(p){f=""}!u&&n.isLocal&&!n.crossDomain?u=c.text?200:404:u===1223&&(u=204)}}}catch(d){i||s(-1,d)}c&&s(u,f,c,l)},n.async?a.readyState===4?setTimeout(r,0):(o=++jn,Bn&&(Hn||(Hn={},v(e).unload(Bn)),Hn[o]=r),a.onreadystatechange=r):r()},abort:function(){r&&r(0,1)}}}});var qn,Rn,Un=/^(?:toggle|show|hide)$/,zn=new RegExp("^(?:([-+])=|)("+m+")([a-z%]*)$","i"),Wn=/queueHooks$/,Xn=[Gn],Vn={"*":[function(e,t){var n,r,i=this.createTween(e,t),s=zn.exec(t),o=i.cur(),u=+o||0,a=1,f=20;if(s){n=+s[2],r=s[3]||(v.cssNumber[e]?"":"px");if(r!=="px"&&u){u=v.css(i.elem,e,!0)||n||1;do a=a||".5",u/=a,v.style(i.elem,e,u+r);while(a!==(a=i.cur()/o)&&a!==1&&--f)}i.unit=r,i.start=u,i.end=s[1]?u+(s[1]+1)*n:n}return i}]};v.Animation=v.extend(Kn,{tweener:function(e,t){v.isFunction(e)?(t=e,e=["*"]):e=e.split(" ");var n,r=0,i=e.length;for(;r-1,f={},l={},c,h;a?(l=i.position(),c=l.top,h=l.left):(c=parseFloat(o)||0,h=parseFloat(u)||0),v.isFunction(t)&&(t=t.call(e,n,s)),t.top!=null&&(f.top=t.top-s.top+c),t.left!=null&&(f.left=t.left-s.left+h),"using"in t?t.using.call(e,f):i.css(f)}},v.fn.extend({position:function(){if(!this[0])return;var e=this[0],t=this.offsetParent(),n=this.offset(),r=er.test(t[0].nodeName)?{top:0,left:0}:t.offset();return n.top-=parseFloat(v.css(e,"marginTop"))||0,n.left-=parseFloat(v.css(e,"marginLeft"))||0,r.top+=parseFloat(v.css(t[0],"borderTopWidth"))||0,r.left+=parseFloat(v.css(t[0],"borderLeftWidth"))||0,{top:n.top-r.top,left:n.left-r.left}},offsetParent:function(){return this.map(function(){var e=this.offsetParent||i.body;while(e&&!er.test(e.nodeName)&&v.css(e,"position")==="static")e=e.offsetParent;return e||i.body})}}),v.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,n){var r=/Y/.test(n);v.fn[e]=function(i){return v.access(this,function(e,i,s){var o=tr(e);if(s===t)return o?n in o?o[n]:o.document.documentElement[i]:e[i];o?o.scrollTo(r?v(o).scrollLeft():s,r?s:v(o).scrollTop()):e[i]=s},e,i,arguments.length,null)}}),v.each({Height:"height",Width:"width"},function(e,n){v.each({padding:"inner"+e,content:n,"":"outer"+e},function(r,i){v.fn[i]=function(i,s){var o=arguments.length&&(r||typeof i!="boolean"),u=r||(i===!0||s===!0?"margin":"border");return v.access(this,function(n,r,i){var s;return v.isWindow(n)?n.document.documentElement["client"+e]:n.nodeType===9?(s=n.documentElement,Math.max(n.body["scroll"+e],s["scroll"+e],n.body["offset"+e],s["offset"+e],s["client"+e])):i===t?v.css(n,r,i,u):v.style(n,r,i,u)},n,o?i:t,o,null)}})}),e.jQuery=e.$=v,typeof define=="function"&&define.amd&&define.amd.jQuery&&define("jquery",[],function(){return v})})(window); \ No newline at end of file diff --git a/js/modernizr.js b/js/modernizr.js new file mode 100644 index 0000000..80db3b3 --- /dev/null +++ b/js/modernizr.js @@ -0,0 +1,12 @@ +window.Modernizr=function(a,b,c){function z(a){j.cssText=a}function A(a,b){return z(m.join(a+";")+(b||""))}function B(a,b){return typeof a===b}function C(a,b){return!!~(""+a).indexOf(b)}function D(a,b){for(var d in a){var e=a[d];if(!C(e,"-")&&j[e]!==c)return b=="pfx"?e:!0}return!1}function E(a,b,d){for(var e in a){var f=b[a[e]];if(f!==c)return d===!1?a[e]:B(f,"function")?f.bind(d||b):f}return!1}function F(a,b,c){var d=a.charAt(0).toUpperCase()+a.slice(1),e=(a+" "+o.join(d+" ")+d).split(" ");return B(b,"string")||B(b,"undefined")?D(e,b):(e=(a+" "+p.join(d+" ")+d).split(" "),E(e,b,c))}var d="2.6.2",e={},f=!0,g=b.documentElement,h="modernizr",i=b.createElement(h),j=i.style,k,l={}.toString,m=" -webkit- -moz- -o- -ms- ".split(" "),n="Webkit Moz O ms",o=n.split(" "),p=n.toLowerCase().split(" "),q={},r={},s={},t=[],u=t.slice,v,w=function(a,c,d,e){var f,i,j,k,l=b.createElement("div"),m=b.body,n=m||b.createElement("body");if(parseInt(d,10))while(d--)j=b.createElement("div"),j.id=e?e[d]:h+(d+1),l.appendChild(j);return f=["­",'"].join(""),l.id=h,(m?l:n).innerHTML+=f,n.appendChild(l),m||(n.style.background="",n.style.overflow="hidden",k=g.style.overflow,g.style.overflow="hidden",g.appendChild(n)),i=c(l,a),m?l.parentNode.removeChild(l):(n.parentNode.removeChild(n),g.style.overflow=k),!!i},x={}.hasOwnProperty,y;!B(x,"undefined")&&!B(x.call,"undefined")?y=function(a,b){return x.call(a,b)}:y=function(a,b){return b in a&&B(a.constructor.prototype[b],"undefined")},Function.prototype.bind||(Function.prototype.bind=function(b){var c=this;if(typeof c!="function")throw new TypeError;var d=u.call(arguments,1),e=function(){if(this instanceof e){var a=function(){};a.prototype=c.prototype;var f=new a,g=c.apply(f,d.concat(u.call(arguments)));return Object(g)===g?g:f}return c.apply(b,d.concat(u.call(arguments)))};return e}),q.canvas=function(){var a=b.createElement("canvas");return!!a.getContext&&!!a.getContext("2d")},q.csstransforms3d=function(){var a=!!F("perspective");return a&&"webkitPerspective"in g.style&&w("@media (transform-3d),(-webkit-transform-3d){#modernizr{left:9px;position:absolute;height:3px;}}",function(b,c){a=b.offsetLeft===9&&b.offsetHeight===3}),a};for(var G in q)y(q,G)&&(v=G.toLowerCase(),e[v]=q[G](),t.push((e[v]?"":"no-")+v));return e.addTest=function(a,b){if(typeof a=="object")for(var d in a)y(a,d)&&e.addTest(d,a[d]);else{a=a.toLowerCase();if(e[a]!==c)return e;b=typeof b=="function"?b():b,typeof f!="undefined"&&f&&(g.className+=" "+(b?"":"no-")+a),e[a]=b}return e},z(""),i=k=null,function(a,b){function k(a,b){var c=a.createElement("p"),d=a.getElementsByTagName("head")[0]||a.documentElement;return c.innerHTML="x",d.insertBefore(c.lastChild,d.firstChild)}function l(){var a=r.elements;return typeof a=="string"?a.split(" "):a}function m(a){var b=i[a[g]];return b||(b={},h++,a[g]=h,i[h]=b),b}function n(a,c,f){c||(c=b);if(j)return c.createElement(a);f||(f=m(c));var g;return f.cache[a]?g=f.cache[a].cloneNode():e.test(a)?g=(f.cache[a]=f.createElem(a)).cloneNode():g=f.createElem(a),g.canHaveChildren&&!d.test(a)?f.frag.appendChild(g):g}function o(a,c){a||(a=b);if(j)return a.createDocumentFragment();c=c||m(a);var d=c.frag.cloneNode(),e=0,f=l(),g=f.length;for(;e",f="hidden"in a,j=a.childNodes.length==1||function(){b.createElement("a");var a=b.createDocumentFragment();return typeof a.cloneNode=="undefined"||typeof a.createDocumentFragment=="undefined"||typeof a.createElement=="undefined"}()}catch(c){f=!0,j=!0}})();var r={elements:c.elements||"abbr article aside audio bdi canvas data datalist details figcaption figure footer header hgroup mark meter nav output progress section summary time video",shivCSS:c.shivCSS!==!1,supportsUnknownElements:j,shivMethods:c.shivMethods!==!1,type:"default",shivDocument:q,createElement:n,createDocumentFragment:o};a.html5=r,q(b)}(this,b),e._version=d,e._prefixes=m,e._domPrefixes=p,e._cssomPrefixes=o,e.testProp=function(a){return D([a])},e.testAllProps=F,e.testStyles=w,g.className=g.className.replace(/(^|\s)no-js(\s|$)/,"$1$2")+(f?" js "+t.join(" "):""),e}(this,this.document),function(a,b,c){function d(a){return"[object Function]"==o.call(a)}function e(a){return"string"==typeof a}function f(){}function g(a){return!a||"loaded"==a||"complete"==a||"uninitialized"==a}function h(){var a=p.shift();q=1,a?a.t?m(function(){("c"==a.t?B.injectCss:B.injectJs)(a.s,0,a.a,a.x,a.e,1)},0):(a(),h()):q=0}function i(a,c,d,e,f,i,j){function k(b){if(!o&&g(l.readyState)&&(u.r=o=1,!q&&h(),l.onload=l.onreadystatechange=null,b)){"img"!=a&&m(function(){t.removeChild(l)},50);for(var d in y[c])y[c].hasOwnProperty(d)&&y[c][d].onload()}}var j=j||B.errorTimeout,l=b.createElement(a),o=0,r=0,u={t:d,s:c,e:f,a:i,x:j};1===y[c]&&(r=1,y[c]=[]),"object"==a?l.data=c:(l.src=c,l.type=a),l.width=l.height="0",l.onerror=l.onload=l.onreadystatechange=function(){k.call(this,r)},p.splice(e,0,u),"img"!=a&&(r||2===y[c]?(t.insertBefore(l,s?null:n),m(k,j)):y[c].push(l))}function j(a,b,c,d,f){return q=0,b=b||"j",e(a)?i("c"==b?v:u,a,b,this.i++,c,d,f):(p.splice(this.i++,0,a),1==p.length&&h()),this}function k(){var a=B;return a.loader={load:j,i:0},a}var l=b.documentElement,m=a.setTimeout,n=b.getElementsByTagName("script")[0],o={}.toString,p=[],q=0,r="MozAppearance"in l.style,s=r&&!!b.createRange().compareNode,t=s?l:n.parentNode,l=a.opera&&"[object Opera]"==o.call(a.opera),l=!!b.attachEvent&&!l,u=r?"object":l?"script":"img",v=l?"script":u,w=Array.isArray||function(a){return"[object Array]"==o.call(a)},x=[],y={},z={timeout:function(a,b){return b.length&&(a.timeout=b[0]),a}},A,B;B=function(a){function b(a){var a=a.split("!"),b=x.length,c=a.pop(),d=a.length,c={url:c,origUrl:c,prefixes:a},e,f,g;for(f=0;fc?"0"+c:c,g=this.options.timeFormat.padMin&&10>d?"0"+d:d,h=this.options.timeFormat.padSec&&10>e?"0"+e:e,i="";return i+=this.options.timeFormat.showHour?f+this.options.timeFormat.sepHour:"",i+=this.options.timeFormat.showMin?g+this.options.timeFormat.sepMin:"",i+=this.options.timeFormat.showSec?h+this.options.timeFormat.sepSec:""}};var d=new c;a.jPlayer.convertTime=function(a){return d.time(a)},a.jPlayer.uaBrowser=function(a){var b=a.toLowerCase(),c=/(webkit)[ \/]([\w.]+)/,d=/(opera)(?:.*version)?[ \/]([\w.]+)/,e=/(msie) ([\w.]+)/,f=/(mozilla)(?:.*? rv:([\w.]+))?/,g=c.exec(b)||d.exec(b)||e.exec(b)||b.indexOf("compatible")<0&&f.exec(b)||[];return{browser:g[1]||"",version:g[2]||"0"}},a.jPlayer.uaPlatform=function(a){var b=a.toLowerCase(),c=/(ipad|iphone|ipod|android|blackberry|playbook|windows ce|webos)/,d=/(ipad|playbook)/,e=/(android)/,f=/(mobile)/,g=c.exec(b)||[],h=d.exec(b)||!f.exec(b)&&e.exec(b)||[];return g[1]&&(g[1]=g[1].replace(/\s/g,"_")),{platform:g[1]||"",tablet:h[1]||""}},a.jPlayer.browser={},a.jPlayer.platform={};var e=a.jPlayer.uaBrowser(navigator.userAgent);e.browser&&(a.jPlayer.browser[e.browser]=!0,a.jPlayer.browser.version=e.version);var f=a.jPlayer.uaPlatform(navigator.userAgent);f.platform&&(a.jPlayer.platform[f.platform]=!0,a.jPlayer.platform.mobile=!f.tablet,a.jPlayer.platform.tablet=!!f.tablet),a.jPlayer.getDocMode=function(){var b;return a.jPlayer.browser.msie&&(document.documentMode?b=document.documentMode:(b=5,document.compatMode&&"CSS1Compat"===document.compatMode&&(b=7))),b},a.jPlayer.browser.documentMode=a.jPlayer.getDocMode(),a.jPlayer.nativeFeatures={init:function(){var a,b,c,d=document,e=d.createElement("video"),f={w3c:["fullscreenEnabled","fullscreenElement","requestFullscreen","exitFullscreen","fullscreenchange","fullscreenerror"],moz:["mozFullScreenEnabled","mozFullScreenElement","mozRequestFullScreen","mozCancelFullScreen","mozfullscreenchange","mozfullscreenerror"],webkit:["","webkitCurrentFullScreenElement","webkitRequestFullScreen","webkitCancelFullScreen","webkitfullscreenchange",""],webkitVideo:["webkitSupportsFullscreen","webkitDisplayingFullscreen","webkitEnterFullscreen","webkitExitFullscreen","",""],ms:["","msFullscreenElement","msRequestFullscreen","msExitFullscreen","MSFullscreenChange","MSFullscreenError"]},g=["w3c","moz","webkit","webkitVideo","ms"];for(this.fullscreen=a={support:{w3c:!!d[f.w3c[0]],moz:!!d[f.moz[0]],webkit:"function"==typeof d[f.webkit[3]],webkitVideo:"function"==typeof e[f.webkitVideo[2]],ms:"function"==typeof e[f.ms[2]]},used:{}},b=0,c=g.length;c>b;b++){var h=g[b];if(a.support[h]){a.spec=h,a.used[h]=!0;break}}if(a.spec){var i=f[a.spec];a.api={fullscreenEnabled:!0,fullscreenElement:function(a){return a=a?a:d,a[i[1]]},requestFullscreen:function(a){return a[i[2]]()},exitFullscreen:function(a){return a=a?a:d,a[i[3]]()}},a.event={fullscreenchange:i[4],fullscreenerror:i[5]}}else a.api={fullscreenEnabled:!1,fullscreenElement:function(){return null},requestFullscreen:function(){},exitFullscreen:function(){}},a.event={}}},a.jPlayer.nativeFeatures.init(),a.jPlayer.focus=null,a.jPlayer.keyIgnoreElementNames="A INPUT TEXTAREA SELECT BUTTON";var g=function(b){var c,d=a.jPlayer.focus;d&&(a.each(a.jPlayer.keyIgnoreElementNames.split(/\s+/g),function(a,d){return b.target.nodeName.toUpperCase()===d.toUpperCase()?(c=!0,!1):void 0}),c||a.each(d.options.keyBindings,function(c,e){return e&&a.isFunction(e.fn)&&("number"==typeof e.key&&b.which===e.key||"string"==typeof e.key&&b.key===e.key)?(b.preventDefault(),e.fn(d),!1):void 0}))};a.jPlayer.keys=function(b){var c="keydown.jPlayer";a(document.documentElement).unbind(c),b&&a(document.documentElement).bind(c,g)},a.jPlayer.keys(!0),a.jPlayer.prototype={count:0,version:{script:"2.9.2",needFlash:"2.9.0",flash:"unknown"},options:{swfPath:"js",solution:"html, flash",supplied:"mp3",auroraFormats:"wav",preload:"metadata",volume:.8,muted:!1,remainingDuration:!1,toggleDuration:!1,captureDuration:!0,playbackRate:1,defaultPlaybackRate:1,minPlaybackRate:.5,maxPlaybackRate:4,wmode:"opaque",backgroundColor:"#000000",cssSelectorAncestor:"#jp_container_1",cssSelector:{videoPlay:".jp-video-play",play:".jp-play",pause:".jp-pause",stop:".jp-stop",seekBar:".jp-seek-bar",playBar:".jp-play-bar",mute:".jp-mute",unmute:".jp-unmute",volumeBar:".jp-volume-bar",volumeBarValue:".jp-volume-bar-value",volumeMax:".jp-volume-max",playbackRateBar:".jp-playback-rate-bar",playbackRateBarValue:".jp-playback-rate-bar-value",currentTime:".jp-current-time",duration:".jp-duration",title:".jp-title",fullScreen:".jp-full-screen",restoreScreen:".jp-restore-screen",repeat:".jp-repeat",repeatOff:".jp-repeat-off",gui:".jp-gui",noSolution:".jp-no-solution"},stateClass:{playing:"jp-state-playing",seeking:"jp-state-seeking",muted:"jp-state-muted",looped:"jp-state-looped",fullScreen:"jp-state-full-screen",noVolume:"jp-state-no-volume"},useStateClassSkin:!1,autoBlur:!0,smoothPlayBar:!1,fullScreen:!1,fullWindow:!1,autohide:{restored:!1,full:!0,fadeIn:200,fadeOut:600,hold:1e3},loop:!1,repeat:function(b){b.jPlayer.options.loop?a(this).unbind(".jPlayerRepeat").bind(a.jPlayer.event.ended+".jPlayer.jPlayerRepeat",function(){a(this).jPlayer("play")}):a(this).unbind(".jPlayerRepeat")},nativeVideoControls:{},noFullWindow:{msie:/msie [0-6]\./,ipad:/ipad.*?os [0-4]\./,iphone:/iphone/,ipod:/ipod/,android_pad:/android [0-3]\.(?!.*?mobile)/,android_phone:/(?=.*android)(?!.*chrome)(?=.*mobile)/,blackberry:/blackberry/,windows_ce:/windows ce/,iemobile:/iemobile/,webos:/webos/},noVolume:{ipad:/ipad/,iphone:/iphone/,ipod:/ipod/,android_pad:/android(?!.*?mobile)/,android_phone:/android.*?mobile/,blackberry:/blackberry/,windows_ce:/windows ce/,iemobile:/iemobile/,webos:/webos/,playbook:/playbook/},timeFormat:{},keyEnabled:!1,audioFullScreen:!1,keyBindings:{play:{key:80,fn:function(a){a.status.paused?a.play():a.pause()}},fullScreen:{key:70,fn:function(a){(a.status.video||a.options.audioFullScreen)&&a._setOption("fullScreen",!a.options.fullScreen)}},muted:{key:77,fn:function(a){a._muted(!a.options.muted)}},volumeUp:{key:190,fn:function(a){a.volume(a.options.volume+.1)}},volumeDown:{key:188,fn:function(a){a.volume(a.options.volume-.1)}},loop:{key:76,fn:function(a){a._loop(!a.options.loop)}}},verticalVolume:!1,verticalPlaybackRate:!1,globalVolume:!1,idPrefix:"jp",noConflict:"jQuery",emulateHtml:!1,consoleAlerts:!0,errorAlerts:!1,warningAlerts:!1},optionsAudio:{size:{width:"0px",height:"0px",cssClass:""},sizeFull:{width:"0px",height:"0px",cssClass:""}},optionsVideo:{size:{width:"90px",height:"90px",cssClass:"jp-video-270p"},sizeFull:{width:"100%",height:"100%",cssClass:"jp-video-full"}},instances:{},status:{src:"",media:{},paused:!0,format:{},formatType:"",waitForPlay:!0,waitForLoad:!0,srcSet:!1,video:!1,seekPercent:0,currentPercentRelative:0,currentPercentAbsolute:0,currentTime:0,duration:0,remaining:0,videoWidth:0,videoHeight:0,readyState:0,networkState:0,playbackRate:1,ended:0},internal:{ready:!1},solution:{html:!0,aurora:!0,flash:!0},format:{mp3:{codec:"audio/mpeg",flashCanPlay:!0,media:"audio"},m4a:{codec:'audio/mp4; codecs="mp4a.40.2"',flashCanPlay:!0,media:"audio"},m3u8a:{codec:'application/vnd.apple.mpegurl; codecs="mp4a.40.2"',flashCanPlay:!1,media:"audio"},m3ua:{codec:"audio/mpegurl",flashCanPlay:!1,media:"audio"},oga:{codec:'audio/ogg; codecs="vorbis, opus"',flashCanPlay:!1,media:"audio"},flac:{codec:"audio/x-flac",flashCanPlay:!1,media:"audio"},wav:{codec:'audio/wav; codecs="1"',flashCanPlay:!1,media:"audio"},webma:{codec:'audio/webm; codecs="vorbis"',flashCanPlay:!1,media:"audio"},fla:{codec:"audio/x-flv",flashCanPlay:!0,media:"audio"},rtmpa:{codec:'audio/rtmp; codecs="rtmp"',flashCanPlay:!0,media:"audio"},m4v:{codec:'video/mp4; codecs="avc1.42E01E, mp4a.40.2"',flashCanPlay:!0,media:"video"},m3u8v:{codec:'application/vnd.apple.mpegurl; codecs="avc1.42E01E, mp4a.40.2"',flashCanPlay:!1,media:"video"},m3uv:{codec:"audio/mpegurl",flashCanPlay:!1,media:"video"},ogv:{codec:'video/ogg; codecs="theora, vorbis"',flashCanPlay:!1,media:"video"},webmv:{codec:'video/webm; codecs="vorbis, vp8"',flashCanPlay:!1,media:"video"},flv:{codec:"video/x-flv",flashCanPlay:!0,media:"video"},rtmpv:{codec:'video/rtmp; codecs="rtmp"',flashCanPlay:!0,media:"video"}},_init:function(){var c=this;if(this.element.empty(),this.status=a.extend({},this.status),this.internal=a.extend({},this.internal),this.options.timeFormat=a.extend({},a.jPlayer.timeFormat,this.options.timeFormat),this.internal.cmdsIgnored=a.jPlayer.platform.ipad||a.jPlayer.platform.iphone||a.jPlayer.platform.ipod,this.internal.domNode=this.element.get(0),this.options.keyEnabled&&!a.jPlayer.focus&&(a.jPlayer.focus=this),this.androidFix={setMedia:!1,play:!1,pause:!1,time:0/0},a.jPlayer.platform.android&&(this.options.preload="auto"!==this.options.preload?"metadata":"auto"),this.formats=[],this.solutions=[],this.require={},this.htmlElement={},this.html={},this.html.audio={},this.html.video={},this.aurora={},this.aurora.formats=[],this.aurora.properties=[],this.flash={},this.css={},this.css.cs={},this.css.jq={},this.ancestorJq=[],this.options.volume=this._limitValue(this.options.volume,0,1),a.each(this.options.supplied.toLowerCase().split(","),function(b,d){var e=d.replace(/^\s+|\s+$/g,"");if(c.format[e]){var f=!1;a.each(c.formats,function(a,b){return e===b?(f=!0,!1):void 0}),f||c.formats.push(e)}}),a.each(this.options.solution.toLowerCase().split(","),function(b,d){var e=d.replace(/^\s+|\s+$/g,"");if(c.solution[e]){var f=!1;a.each(c.solutions,function(a,b){return e===b?(f=!0,!1):void 0}),f||c.solutions.push(e)}}),a.each(this.options.auroraFormats.toLowerCase().split(","),function(b,d){var e=d.replace(/^\s+|\s+$/g,"");if(c.format[e]){var f=!1;a.each(c.aurora.formats,function(a,b){return e===b?(f=!0,!1):void 0}),f||c.aurora.formats.push(e)}}),this.internal.instance="jp_"+this.count,this.instances[this.internal.instance]=this.element,this.element.attr("id")||this.element.attr("id",this.options.idPrefix+"_jplayer_"+this.count),this.internal.self=a.extend({},{id:this.element.attr("id"),jq:this.element}),this.internal.audio=a.extend({},{id:this.options.idPrefix+"_audio_"+this.count,jq:b}),this.internal.video=a.extend({},{id:this.options.idPrefix+"_video_"+this.count,jq:b}),this.internal.flash=a.extend({},{id:this.options.idPrefix+"_flash_"+this.count,jq:b,swf:this.options.swfPath+(".swf"!==this.options.swfPath.toLowerCase().slice(-4)?(this.options.swfPath&&"/"!==this.options.swfPath.slice(-1)?"/":"")+"jquery.jplayer.swf":"")}),this.internal.poster=a.extend({},{id:this.options.idPrefix+"_poster_"+this.count,jq:b}),a.each(a.jPlayer.event,function(a,d){c.options[a]!==b&&(c.element.bind(d+".jPlayer",c.options[a]),c.options[a]=b)}),this.require.audio=!1,this.require.video=!1,a.each(this.formats,function(a,b){c.require[c.format[b].media]=!0}),this.options=this.require.video?a.extend(!0,{},this.optionsVideo,this.options):a.extend(!0,{},this.optionsAudio,this.options),this._setSize(),this.status.nativeVideoControls=this._uaBlocklist(this.options.nativeVideoControls),this.status.noFullWindow=this._uaBlocklist(this.options.noFullWindow),this.status.noVolume=this._uaBlocklist(this.options.noVolume),a.jPlayer.nativeFeatures.fullscreen.api.fullscreenEnabled&&this._fullscreenAddEventListeners(),this._restrictNativeVideoControls(),this.htmlElement.poster=document.createElement("img"),this.htmlElement.poster.id=this.internal.poster.id,this.htmlElement.poster.onload=function(){(!c.status.video||c.status.waitForPlay)&&c.internal.poster.jq.show()},this.element.append(this.htmlElement.poster),this.internal.poster.jq=a("#"+this.internal.poster.id),this.internal.poster.jq.css({width:this.status.width,height:this.status.height}),this.internal.poster.jq.hide(),this.internal.poster.jq.bind("click.jPlayer",function(){c._trigger(a.jPlayer.event.click)}),this.html.audio.available=!1,this.require.audio&&(this.htmlElement.audio=document.createElement("audio"),this.htmlElement.audio.id=this.internal.audio.id,this.html.audio.available=!!this.htmlElement.audio.canPlayType&&this._testCanPlayType(this.htmlElement.audio)),this.html.video.available=!1,this.require.video&&(this.htmlElement.video=document.createElement("video"),this.htmlElement.video.id=this.internal.video.id,this.html.video.available=!!this.htmlElement.video.canPlayType&&this._testCanPlayType(this.htmlElement.video)),this.flash.available=this._checkForFlash(10.1),this.html.canPlay={},this.aurora.canPlay={},this.flash.canPlay={},a.each(this.formats,function(b,d){c.html.canPlay[d]=c.html[c.format[d].media].available&&""!==c.htmlElement[c.format[d].media].canPlayType(c.format[d].codec),c.aurora.canPlay[d]=a.inArray(d,c.aurora.formats)>-1,c.flash.canPlay[d]=c.format[d].flashCanPlay&&c.flash.available}),this.html.desired=!1,this.aurora.desired=!1,this.flash.desired=!1,a.each(this.solutions,function(b,d){if(0===b)c[d].desired=!0;else{var e=!1,f=!1;a.each(c.formats,function(a,b){c[c.solutions[0]].canPlay[b]&&("video"===c.format[b].media?f=!0:e=!0)}),c[d].desired=c.require.audio&&!e||c.require.video&&!f}}),this.html.support={},this.aurora.support={},this.flash.support={},a.each(this.formats,function(a,b){c.html.support[b]=c.html.canPlay[b]&&c.html.desired,c.aurora.support[b]=c.aurora.canPlay[b]&&c.aurora.desired,c.flash.support[b]=c.flash.canPlay[b]&&c.flash.desired}),this.html.used=!1,this.aurora.used=!1,this.flash.used=!1,a.each(this.solutions,function(b,d){a.each(c.formats,function(a,b){return c[d].support[b]?(c[d].used=!0,!1):void 0})}),this._resetActive(),this._resetGate(),this._cssSelectorAncestor(this.options.cssSelectorAncestor),this.html.used||this.aurora.used||this.flash.used?this.css.jq.noSolution.length&&this.css.jq.noSolution.hide():(this._error({type:a.jPlayer.error.NO_SOLUTION,context:"{solution:'"+this.options.solution+"', supplied:'"+this.options.supplied+"'}",message:a.jPlayer.errorMsg.NO_SOLUTION,hint:a.jPlayer.errorHint.NO_SOLUTION}),this.css.jq.noSolution.length&&this.css.jq.noSolution.show()),this.flash.used){var d,e="jQuery="+encodeURI(this.options.noConflict)+"&id="+encodeURI(this.internal.self.id)+"&vol="+this.options.volume+"&muted="+this.options.muted;if(a.jPlayer.browser.msie&&(Number(a.jPlayer.browser.version)<9||a.jPlayer.browser.documentMode<9)){var f='',g=['','','','',''];d=document.createElement(f);for(var h=0;h0&&(d.internal.cmdsIgnored=!1),d._getHtmlStatus(b),d._updateInterface(),d._trigger(a.jPlayer.event.progress))},!1),b.addEventListener("loadeddata",function(){c.gate&&(d.androidFix.setMedia=!1,d.androidFix.play&&(d.androidFix.play=!1,d.play(d.androidFix.time)),d.androidFix.pause&&(d.androidFix.pause=!1,d.pause(d.androidFix.time)),d._trigger(a.jPlayer.event.loadeddata))},!1),b.addEventListener("timeupdate",function(){c.gate&&(d._getHtmlStatus(b),d._updateInterface(),d._trigger(a.jPlayer.event.timeupdate))},!1),b.addEventListener("durationchange",function(){c.gate&&(d._getHtmlStatus(b),d._updateInterface(),d._trigger(a.jPlayer.event.durationchange))},!1),b.addEventListener("play",function(){c.gate&&(d._updateButtons(!0),d._html_checkWaitForPlay(),d._trigger(a.jPlayer.event.play))},!1),b.addEventListener("playing",function(){c.gate&&(d._updateButtons(!0),d._seeked(),d._trigger(a.jPlayer.event.playing))},!1),b.addEventListener("pause",function(){c.gate&&(d._updateButtons(!1),d._trigger(a.jPlayer.event.pause))},!1),b.addEventListener("waiting",function(){c.gate&&(d._seeking(),d._trigger(a.jPlayer.event.waiting))},!1),b.addEventListener("seeking",function(){c.gate&&(d._seeking(),d._trigger(a.jPlayer.event.seeking))},!1),b.addEventListener("seeked",function(){c.gate&&(d._seeked(),d._trigger(a.jPlayer.event.seeked))},!1),b.addEventListener("volumechange",function(){c.gate&&(d.options.volume=b.volume,d.options.muted=b.muted,d._updateMute(),d._updateVolume(),d._trigger(a.jPlayer.event.volumechange))},!1),b.addEventListener("ratechange",function(){c.gate&&(d.options.defaultPlaybackRate=b.defaultPlaybackRate,d.options.playbackRate=b.playbackRate,d._updatePlaybackRate(),d._trigger(a.jPlayer.event.ratechange))},!1),b.addEventListener("suspend",function(){c.gate&&(d._seeked(),d._trigger(a.jPlayer.event.suspend))},!1),b.addEventListener("ended",function(){c.gate&&(a.jPlayer.browser.webkit||(d.htmlElement.media.currentTime=0),d.htmlElement.media.pause(),d._updateButtons(!1),d._getHtmlStatus(b,!0),d._updateInterface(),d._trigger(a.jPlayer.event.ended))},!1),b.addEventListener("error",function(){c.gate&&(d._updateButtons(!1),d._seeked(),d.status.srcSet&&(clearTimeout(d.internal.htmlDlyCmdId),d.status.waitForLoad=!0,d.status.waitForPlay=!0,d.status.video&&!d.status.nativeVideoControls&&d.internal.video.jq.css({width:"0px",height:"0px"}),d._validString(d.status.media.poster)&&!d.status.nativeVideoControls&&d.internal.poster.jq.show(),d.css.jq.videoPlay.length&&d.css.jq.videoPlay.show(),d._error({type:a.jPlayer.error.URL,context:d.status.src,message:a.jPlayer.errorMsg.URL,hint:a.jPlayer.errorHint.URL})))},!1),a.each(a.jPlayer.htmlEvent,function(e,f){b.addEventListener(this,function(){c.gate&&d._trigger(a.jPlayer.event[f])},!1)})},_addAuroraEventListeners:function(b,c){var d=this;b.volume=100*this.options.volume,b.on("progress",function(){c.gate&&(d.internal.cmdsIgnored&&this.readyState>0&&(d.internal.cmdsIgnored=!1),d._getAuroraStatus(b),d._updateInterface(),d._trigger(a.jPlayer.event.progress),b.duration>0&&d._trigger(a.jPlayer.event.timeupdate))},!1),b.on("ready",function(){c.gate&&d._trigger(a.jPlayer.event.loadeddata)},!1),b.on("duration",function(){c.gate&&(d._getAuroraStatus(b),d._updateInterface(),d._trigger(a.jPlayer.event.durationchange))},!1),b.on("end",function(){c.gate&&(d._updateButtons(!1),d._getAuroraStatus(b,!0),d._updateInterface(),d._trigger(a.jPlayer.event.ended))},!1),b.on("error",function(){c.gate&&(d._updateButtons(!1),d._seeked(),d.status.srcSet&&(d.status.waitForLoad=!0,d.status.waitForPlay=!0,d.status.video&&!d.status.nativeVideoControls&&d.internal.video.jq.css({width:"0px",height:"0px"}),d._validString(d.status.media.poster)&&!d.status.nativeVideoControls&&d.internal.poster.jq.show(),d.css.jq.videoPlay.length&&d.css.jq.videoPlay.show(),d._error({type:a.jPlayer.error.URL,context:d.status.src,message:a.jPlayer.errorMsg.URL,hint:a.jPlayer.errorHint.URL})))},!1)},_getHtmlStatus:function(a,b){var c=0,d=0,e=0,f=0;isFinite(a.duration)&&(this.status.duration=a.duration),c=a.currentTime,d=this.status.duration>0?100*c/this.status.duration:0,"object"==typeof a.seekable&&a.seekable.length>0?(e=this.status.duration>0?100*a.seekable.end(a.seekable.length-1)/this.status.duration:100,f=this.status.duration>0?100*a.currentTime/a.seekable.end(a.seekable.length-1):0):(e=100,f=d),b&&(c=0,f=0,d=0),this.status.seekPercent=e,this.status.currentPercentRelative=f,this.status.currentPercentAbsolute=d,this.status.currentTime=c,this.status.remaining=this.status.duration-this.status.currentTime,this.status.videoWidth=a.videoWidth,this.status.videoHeight=a.videoHeight,this.status.readyState=a.readyState,this.status.networkState=a.networkState,this.status.playbackRate=a.playbackRate,this.status.ended=a.ended},_getAuroraStatus:function(a,b){var c=0,d=0,e=0,f=0;this.status.duration=a.duration/1e3,c=a.currentTime/1e3,d=this.status.duration>0?100*c/this.status.duration:0,a.buffered>0?(e=this.status.duration>0?a.buffered*this.status.duration/this.status.duration:100,f=this.status.duration>0?c/(a.buffered*this.status.duration):0):(e=100,f=d),b&&(c=0,f=0,d=0),this.status.seekPercent=e,this.status.currentPercentRelative=f,this.status.currentPercentAbsolute=d,this.status.currentTime=c,this.status.remaining=this.status.duration-this.status.currentTime,this.status.readyState=4,this.status.networkState=0,this.status.playbackRate=1,this.status.ended=!1},_resetStatus:function(){this.status=a.extend({},this.status,a.jPlayer.prototype.status)},_trigger:function(b,c,d){var e=a.Event(b);e.jPlayer={},e.jPlayer.version=a.extend({},this.version),e.jPlayer.options=a.extend(!0,{},this.options),e.jPlayer.status=a.extend(!0,{},this.status),e.jPlayer.html=a.extend(!0,{},this.html),e.jPlayer.aurora=a.extend(!0,{},this.aurora),e.jPlayer.flash=a.extend(!0,{},this.flash),c&&(e.jPlayer.error=a.extend({},c)),d&&(e.jPlayer.warning=a.extend({},d)),this.element.trigger(e)},jPlayerFlashEvent:function(b,c){if(b===a.jPlayer.event.ready)if(this.internal.ready){if(this.flash.gate){if(this.status.srcSet){var d=this.status.currentTime,e=this.status.paused;this.setMedia(this.status.media),this.volumeWorker(this.options.volume),d>0&&(e?this.pause(d):this.play(d))}this._trigger(a.jPlayer.event.flashreset)}}else this.internal.ready=!0,this.internal.flash.jq.css({width:"0px",height:"0px"}),this.version.flash=c.version,this.version.needFlash!==this.version.flash&&this._error({type:a.jPlayer.error.VERSION,context:this.version.flash,message:a.jPlayer.errorMsg.VERSION+this.version.flash,hint:a.jPlayer.errorHint.VERSION}),this._trigger(a.jPlayer.event.repeat),this._trigger(b);if(this.flash.gate)switch(b){case a.jPlayer.event.progress:this._getFlashStatus(c),this._updateInterface(),this._trigger(b);break;case a.jPlayer.event.timeupdate:this._getFlashStatus(c),this._updateInterface(),this._trigger(b);break;case a.jPlayer.event.play:this._seeked(),this._updateButtons(!0),this._trigger(b);break;case a.jPlayer.event.pause:this._updateButtons(!1),this._trigger(b);break;case a.jPlayer.event.ended:this._updateButtons(!1),this._trigger(b);break;case a.jPlayer.event.click:this._trigger(b);break;case a.jPlayer.event.error:this.status.waitForLoad=!0,this.status.waitForPlay=!0,this.status.video&&this.internal.flash.jq.css({width:"0px",height:"0px"}),this._validString(this.status.media.poster)&&this.internal.poster.jq.show(),this.css.jq.videoPlay.length&&this.status.video&&this.css.jq.videoPlay.show(),this.status.video?this._flash_setVideo(this.status.media):this._flash_setAudio(this.status.media),this._updateButtons(!1),this._error({type:a.jPlayer.error.URL,context:c.src,message:a.jPlayer.errorMsg.URL,hint:a.jPlayer.errorHint.URL});break;case a.jPlayer.event.seeking:this._seeking(),this._trigger(b);break;case a.jPlayer.event.seeked:this._seeked(),this._trigger(b);break;case a.jPlayer.event.ready:break;default:this._trigger(b)}return!1},_getFlashStatus:function(a){this.status.seekPercent=a.seekPercent,this.status.currentPercentRelative=a.currentPercentRelative,this.status.currentPercentAbsolute=a.currentPercentAbsolute,this.status.currentTime=a.currentTime,this.status.duration=a.duration,this.status.remaining=a.duration-a.currentTime,this.status.videoWidth=a.videoWidth,this.status.videoHeight=a.videoHeight,this.status.readyState=4,this.status.networkState=0,this.status.playbackRate=1,this.status.ended=!1},_updateButtons:function(a){a===b?a=!this.status.paused:this.status.paused=!a,a?this.addStateClass("playing"):this.removeStateClass("playing"),!this.status.noFullWindow&&this.options.fullWindow?this.addStateClass("fullScreen"):this.removeStateClass("fullScreen"),this.options.loop?this.addStateClass("looped"):this.removeStateClass("looped"),this.css.jq.play.length&&this.css.jq.pause.length&&(a?(this.css.jq.play.hide(),this.css.jq.pause.show()):(this.css.jq.play.show(),this.css.jq.pause.hide())),this.css.jq.restoreScreen.length&&this.css.jq.fullScreen.length&&(this.status.noFullWindow?(this.css.jq.fullScreen.hide(),this.css.jq.restoreScreen.hide()):this.options.fullWindow?(this.css.jq.fullScreen.hide(),this.css.jq.restoreScreen.show()):(this.css.jq.fullScreen.show(),this.css.jq.restoreScreen.hide())),this.css.jq.repeat.length&&this.css.jq.repeatOff.length&&(this.options.loop?(this.css.jq.repeat.hide(),this.css.jq.repeatOff.show()):(this.css.jq.repeat.show(),this.css.jq.repeatOff.hide()))},_updateInterface:function(){this.css.jq.seekBar.length&&this.css.jq.seekBar.width(this.status.seekPercent+"%"),this.css.jq.playBar.length&&(this.options.smoothPlayBar?this.css.jq.playBar.stop().animate({width:this.status.currentPercentAbsolute+"%"},250,"linear"):this.css.jq.playBar.width(this.status.currentPercentRelative+"%"));var a="";this.css.jq.currentTime.length&&(a=this._convertTime(this.status.currentTime),a!==this.css.jq.currentTime.text()&&this.css.jq.currentTime.text(this._convertTime(this.status.currentTime)));var b="",c=this.status.duration,d=this.status.remaining;this.css.jq.duration.length&&("string"==typeof this.status.media.duration?b=this.status.media.duration:("number"==typeof this.status.media.duration&&(c=this.status.media.duration,d=c-this.status.currentTime),b=this.options.remainingDuration?(d>0?"-":"")+this._convertTime(d):this._convertTime(c)),b!==this.css.jq.duration.text()&&this.css.jq.duration.text(b))},_convertTime:c.prototype.time,_seeking:function(){this.css.jq.seekBar.length&&this.css.jq.seekBar.addClass("jp-seeking-bg"),this.addStateClass("seeking")},_seeked:function(){this.css.jq.seekBar.length&&this.css.jq.seekBar.removeClass("jp-seeking-bg"),this.removeStateClass("seeking")},_resetGate:function(){this.html.audio.gate=!1,this.html.video.gate=!1,this.aurora.gate=!1,this.flash.gate=!1},_resetActive:function(){this.html.active=!1,this.aurora.active=!1,this.flash.active=!1},_escapeHtml:function(a){return a.split("&").join("&").split("<").join("<").split(">").join(">").split('"').join(""")},_qualifyURL:function(a){var b=document.createElement("div"); +return b.innerHTML='x',b.firstChild.href},_absoluteMediaUrls:function(b){var c=this;return a.each(b,function(a,d){d&&c.format[a]&&"data:"!==d.substr(0,5)&&(b[a]=c._qualifyURL(d))}),b},addStateClass:function(a){this.ancestorJq.length&&this.ancestorJq.addClass(this.options.stateClass[a])},removeStateClass:function(a){this.ancestorJq.length&&this.ancestorJq.removeClass(this.options.stateClass[a])},setMedia:function(b){var c=this,d=!1,e=this.status.media.poster!==b.poster;this._resetMedia(),this._resetGate(),this._resetActive(),this.androidFix.setMedia=!1,this.androidFix.play=!1,this.androidFix.pause=!1,b=this._absoluteMediaUrls(b),a.each(this.formats,function(e,f){var g="video"===c.format[f].media;return a.each(c.solutions,function(e,h){if(c[h].support[f]&&c._validString(b[f])){var i="html"===h,j="aurora"===h;return g?(i?(c.html.video.gate=!0,c._html_setVideo(b),c.html.active=!0):(c.flash.gate=!0,c._flash_setVideo(b),c.flash.active=!0),c.css.jq.videoPlay.length&&c.css.jq.videoPlay.show(),c.status.video=!0):(i?(c.html.audio.gate=!0,c._html_setAudio(b),c.html.active=!0,a.jPlayer.platform.android&&(c.androidFix.setMedia=!0)):j?(c.aurora.gate=!0,c._aurora_setAudio(b),c.aurora.active=!0):(c.flash.gate=!0,c._flash_setAudio(b),c.flash.active=!0),c.css.jq.videoPlay.length&&c.css.jq.videoPlay.hide(),c.status.video=!1),d=!0,!1}}),d?!1:void 0}),d?(this.status.nativeVideoControls&&this.html.video.gate||this._validString(b.poster)&&(e?this.htmlElement.poster.src=b.poster:this.internal.poster.jq.show()),"string"==typeof b.title&&(this.css.jq.title.length&&this.css.jq.title.html(b.title),this.htmlElement.audio&&this.htmlElement.audio.setAttribute("title",b.title),this.htmlElement.video&&this.htmlElement.video.setAttribute("title",b.title)),this.status.srcSet=!0,this.status.media=a.extend({},b),this._updateButtons(!1),this._updateInterface(),this._trigger(a.jPlayer.event.setmedia)):this._error({type:a.jPlayer.error.NO_SUPPORT,context:"{supplied:'"+this.options.supplied+"'}",message:a.jPlayer.errorMsg.NO_SUPPORT,hint:a.jPlayer.errorHint.NO_SUPPORT})},_resetMedia:function(){this._resetStatus(),this._updateButtons(!1),this._updateInterface(),this._seeked(),this.internal.poster.jq.hide(),clearTimeout(this.internal.htmlDlyCmdId),this.html.active?this._html_resetMedia():this.aurora.active?this._aurora_resetMedia():this.flash.active&&this._flash_resetMedia()},clearMedia:function(){this._resetMedia(),this.html.active?this._html_clearMedia():this.aurora.active?this._aurora_clearMedia():this.flash.active&&this._flash_clearMedia(),this._resetGate(),this._resetActive()},load:function(){this.status.srcSet?this.html.active?this._html_load():this.aurora.active?this._aurora_load():this.flash.active&&this._flash_load():this._urlNotSetError("load")},focus:function(){this.options.keyEnabled&&(a.jPlayer.focus=this)},play:function(a){var b="object"==typeof a;b&&this.options.useStateClassSkin&&!this.status.paused?this.pause(a):(a="number"==typeof a?a:0/0,this.status.srcSet?(this.focus(),this.html.active?this._html_play(a):this.aurora.active?this._aurora_play(a):this.flash.active&&this._flash_play(a)):this._urlNotSetError("play"))},videoPlay:function(){this.play()},pause:function(a){a="number"==typeof a?a:0/0,this.status.srcSet?this.html.active?this._html_pause(a):this.aurora.active?this._aurora_pause(a):this.flash.active&&this._flash_pause(a):this._urlNotSetError("pause")},tellOthers:function(b,c){var d=this,e="function"==typeof c,f=Array.prototype.slice.call(arguments);"string"==typeof b&&(e&&f.splice(1,1),a.jPlayer.prototype.destroyRemoved(),a.each(this.instances,function(){d.element!==this&&(!e||c.call(this.data("jPlayer"),d))&&this.jPlayer.apply(this,f)}))},pauseOthers:function(a){this.tellOthers("pause",function(){return this.status.srcSet},a)},stop:function(){this.status.srcSet?this.html.active?this._html_pause(0):this.aurora.active?this._aurora_pause(0):this.flash.active&&this._flash_pause(0):this._urlNotSetError("stop")},playHead:function(a){a=this._limitValue(a,0,100),this.status.srcSet?this.html.active?this._html_playHead(a):this.aurora.active?this._aurora_playHead(a):this.flash.active&&this._flash_playHead(a):this._urlNotSetError("playHead")},_muted:function(a){this.mutedWorker(a),this.options.globalVolume&&this.tellOthers("mutedWorker",function(){return this.options.globalVolume},a)},mutedWorker:function(b){this.options.muted=b,this.html.used&&this._html_setProperty("muted",b),this.aurora.used&&this._aurora_mute(b),this.flash.used&&this._flash_mute(b),this.html.video.gate||this.html.audio.gate||(this._updateMute(b),this._updateVolume(this.options.volume),this._trigger(a.jPlayer.event.volumechange))},mute:function(a){var c="object"==typeof a;c&&this.options.useStateClassSkin&&this.options.muted?this._muted(!1):(a=a===b?!0:!!a,this._muted(a))},unmute:function(a){a=a===b?!0:!!a,this._muted(!a)},_updateMute:function(a){a===b&&(a=this.options.muted),a?this.addStateClass("muted"):this.removeStateClass("muted"),this.css.jq.mute.length&&this.css.jq.unmute.length&&(this.status.noVolume?(this.css.jq.mute.hide(),this.css.jq.unmute.hide()):a?(this.css.jq.mute.hide(),this.css.jq.unmute.show()):(this.css.jq.mute.show(),this.css.jq.unmute.hide()))},volume:function(a){this.volumeWorker(a),this.options.globalVolume&&this.tellOthers("volumeWorker",function(){return this.options.globalVolume},a)},volumeWorker:function(b){b=this._limitValue(b,0,1),this.options.volume=b,this.html.used&&this._html_setProperty("volume",b),this.aurora.used&&this._aurora_volume(b),this.flash.used&&this._flash_volume(b),this.html.video.gate||this.html.audio.gate||(this._updateVolume(b),this._trigger(a.jPlayer.event.volumechange))},volumeBar:function(b){if(this.css.jq.volumeBar.length){var c=a(b.currentTarget),d=c.offset(),e=b.pageX-d.left,f=c.width(),g=c.height()-b.pageY+d.top,h=c.height();this.volume(this.options.verticalVolume?g/h:e/f)}this.options.muted&&this._muted(!1)},_updateVolume:function(a){a===b&&(a=this.options.volume),a=this.options.muted?0:a,this.status.noVolume?(this.addStateClass("noVolume"),this.css.jq.volumeBar.length&&this.css.jq.volumeBar.hide(),this.css.jq.volumeBarValue.length&&this.css.jq.volumeBarValue.hide(),this.css.jq.volumeMax.length&&this.css.jq.volumeMax.hide()):(this.removeStateClass("noVolume"),this.css.jq.volumeBar.length&&this.css.jq.volumeBar.show(),this.css.jq.volumeBarValue.length&&(this.css.jq.volumeBarValue.show(),this.css.jq.volumeBarValue[this.options.verticalVolume?"height":"width"](100*a+"%")),this.css.jq.volumeMax.length&&this.css.jq.volumeMax.show())},volumeMax:function(){this.volume(1),this.options.muted&&this._muted(!1)},_cssSelectorAncestor:function(b){var c=this;this.options.cssSelectorAncestor=b,this._removeUiClass(),this.ancestorJq=b?a(b):[],b&&1!==this.ancestorJq.length&&this._warning({type:a.jPlayer.warning.CSS_SELECTOR_COUNT,context:b,message:a.jPlayer.warningMsg.CSS_SELECTOR_COUNT+this.ancestorJq.length+" found for cssSelectorAncestor.",hint:a.jPlayer.warningHint.CSS_SELECTOR_COUNT}),this._addUiClass(),a.each(this.options.cssSelector,function(a,b){c._cssSelector(a,b)}),this._updateInterface(),this._updateButtons(),this._updateAutohide(),this._updateVolume(),this._updateMute()},_cssSelector:function(b,c){var d=this;if("string"==typeof c)if(a.jPlayer.prototype.options.cssSelector[b]){if(this.css.jq[b]&&this.css.jq[b].length&&this.css.jq[b].unbind(".jPlayer"),this.options.cssSelector[b]=c,this.css.cs[b]=this.options.cssSelectorAncestor+" "+c,this.css.jq[b]=c?a(this.css.cs[b]):[],this.css.jq[b].length&&this[b]){var e=function(c){c.preventDefault(),d[b](c),d.options.autoBlur?a(this).blur():a(this).focus()};this.css.jq[b].bind("click.jPlayer",e)}c&&1!==this.css.jq[b].length&&this._warning({type:a.jPlayer.warning.CSS_SELECTOR_COUNT,context:this.css.cs[b],message:a.jPlayer.warningMsg.CSS_SELECTOR_COUNT+this.css.jq[b].length+" found for "+b+" method.",hint:a.jPlayer.warningHint.CSS_SELECTOR_COUNT})}else this._warning({type:a.jPlayer.warning.CSS_SELECTOR_METHOD,context:b,message:a.jPlayer.warningMsg.CSS_SELECTOR_METHOD,hint:a.jPlayer.warningHint.CSS_SELECTOR_METHOD});else this._warning({type:a.jPlayer.warning.CSS_SELECTOR_STRING,context:c,message:a.jPlayer.warningMsg.CSS_SELECTOR_STRING,hint:a.jPlayer.warningHint.CSS_SELECTOR_STRING})},duration:function(a){this.options.toggleDuration&&(this.options.captureDuration&&a.stopPropagation(),this._setOption("remainingDuration",!this.options.remainingDuration))},seekBar:function(b){if(this.css.jq.seekBar.length){var c=a(b.currentTarget),d=c.offset(),e=b.pageX-d.left,f=c.width(),g=100*e/f;this.playHead(g)}},playbackRate:function(a){this._setOption("playbackRate",a)},playbackRateBar:function(b){if(this.css.jq.playbackRateBar.length){var c,d,e=a(b.currentTarget),f=e.offset(),g=b.pageX-f.left,h=e.width(),i=e.height()-b.pageY+f.top,j=e.height();c=this.options.verticalPlaybackRate?i/j:g/h,d=c*(this.options.maxPlaybackRate-this.options.minPlaybackRate)+this.options.minPlaybackRate,this.playbackRate(d)}},_updatePlaybackRate:function(){var a=this.options.playbackRate,b=(a-this.options.minPlaybackRate)/(this.options.maxPlaybackRate-this.options.minPlaybackRate);this.status.playbackRateEnabled?(this.css.jq.playbackRateBar.length&&this.css.jq.playbackRateBar.show(),this.css.jq.playbackRateBarValue.length&&(this.css.jq.playbackRateBarValue.show(),this.css.jq.playbackRateBarValue[this.options.verticalPlaybackRate?"height":"width"](100*b+"%"))):(this.css.jq.playbackRateBar.length&&this.css.jq.playbackRateBar.hide(),this.css.jq.playbackRateBarValue.length&&this.css.jq.playbackRateBarValue.hide())},repeat:function(a){var b="object"==typeof a;this._loop(b&&this.options.useStateClassSkin&&this.options.loop?!1:!0)},repeatOff:function(){this._loop(!1)},_loop:function(b){this.options.loop!==b&&(this.options.loop=b,this._updateButtons(),this._trigger(a.jPlayer.event.repeat))},option:function(c,d){var e=c;if(0===arguments.length)return a.extend(!0,{},this.options);if("string"==typeof c){var f=c.split(".");if(d===b){for(var g=a.extend(!0,{},this.options),h=0;h0||Math.floor(d)>0):e=!0,a.internal.mouse={x:b.pageX,y:b.pageY},e&&a.css.jq.gui.fadeIn(a.options.autohide.fadeIn,function(){clearTimeout(a.internal.autohideId),a.internal.autohideId=setTimeout(function(){a.css.jq.gui.fadeOut(a.options.autohide.fadeOut)},a.options.autohide.hold)})};this.css.jq.gui.length&&(this.css.jq.gui.stop(!0,!0),clearTimeout(this.internal.autohideId),delete this.internal.mouse,this.element.unbind(c),this.css.jq.gui.unbind(c),this.status.nativeVideoControls?this.css.jq.gui.hide():this.options.fullWindow&&this.options.autohide.full||!this.options.fullWindow&&this.options.autohide.restored?(this.element.bind(d,e),this.css.jq.gui.bind(d,e),this.css.jq.gui.hide()):this.css.jq.gui.show())},fullScreen:function(a){var b="object"==typeof a;b&&this.options.useStateClassSkin&&this.options.fullScreen?this._setOption("fullScreen",!1):this._setOption("fullScreen",!0)},restoreScreen:function(){this._setOption("fullScreen",!1)},_fullscreenAddEventListeners:function(){var b=this,c=a.jPlayer.nativeFeatures.fullscreen;c.api.fullscreenEnabled&&c.event.fullscreenchange&&("function"!=typeof this.internal.fullscreenchangeHandler&&(this.internal.fullscreenchangeHandler=function(){b._fullscreenchange()}),document.addEventListener(c.event.fullscreenchange,this.internal.fullscreenchangeHandler,!1))},_fullscreenRemoveEventListeners:function(){var b=a.jPlayer.nativeFeatures.fullscreen;this.internal.fullscreenchangeHandler&&document.removeEventListener(b.event.fullscreenchange,this.internal.fullscreenchangeHandler,!1)},_fullscreenchange:function(){this.options.fullScreen&&!a.jPlayer.nativeFeatures.fullscreen.api.fullscreenElement()&&this._setOption("fullScreen",!1)},_requestFullscreen:function(){var b=this.ancestorJq.length?this.ancestorJq[0]:this.element[0],c=a.jPlayer.nativeFeatures.fullscreen;c.used.webkitVideo&&(b=this.htmlElement.video),c.api.fullscreenEnabled&&c.api.requestFullscreen(b)},_exitFullscreen:function(){var b,c=a.jPlayer.nativeFeatures.fullscreen;c.used.webkitVideo&&(b=this.htmlElement.video),c.api.fullscreenEnabled&&c.api.exitFullscreen(b)},_html_initMedia:function(b){var c=a(this.htmlElement.media).empty();a.each(b.track||[],function(a,b){var d=document.createElement("track");d.setAttribute("kind",b.kind?b.kind:""),d.setAttribute("src",b.src?b.src:""),d.setAttribute("srclang",b.srclang?b.srclang:""),d.setAttribute("label",b.label?b.label:""),b.def&&d.setAttribute("default",b.def),c.append(d)}),this.htmlElement.media.src=this.status.src,"none"!==this.options.preload&&this._html_load(),this._trigger(a.jPlayer.event.timeupdate)},_html_setFormat:function(b){var c=this;a.each(this.formats,function(a,d){return c.html.support[d]&&b[d]?(c.status.src=b[d],c.status.format[d]=!0,c.status.formatType=d,!1):void 0})},_html_setAudio:function(a){this._html_setFormat(a),this.htmlElement.media=this.htmlElement.audio,this._html_initMedia(a)},_html_setVideo:function(a){this._html_setFormat(a),this.status.nativeVideoControls&&(this.htmlElement.video.poster=this._validString(a.poster)?a.poster:""),this.htmlElement.media=this.htmlElement.video,this._html_initMedia(a)},_html_resetMedia:function(){this.htmlElement.media&&(this.htmlElement.media.id!==this.internal.video.id||this.status.nativeVideoControls||this.internal.video.jq.css({width:"0px",height:"0px"}),this.htmlElement.media.pause())},_html_clearMedia:function(){this.htmlElement.media&&(this.htmlElement.media.src="about:blank",this.htmlElement.media.load())},_html_load:function(){this.status.waitForLoad&&(this.status.waitForLoad=!1,this.htmlElement.media.load()),clearTimeout(this.internal.htmlDlyCmdId)},_html_play:function(a){var b=this,c=this.htmlElement.media;if(this.androidFix.pause=!1,this._html_load(),this.androidFix.setMedia)this.androidFix.play=!0,this.androidFix.time=a;else if(isNaN(a))c.play();else{this.internal.cmdsIgnored&&c.play();try{if(c.seekable&&!("object"==typeof c.seekable&&c.seekable.length>0))throw 1;c.currentTime=a,c.play()}catch(d){return void(this.internal.htmlDlyCmdId=setTimeout(function(){b.play(a)},250))}}this._html_checkWaitForPlay()},_html_pause:function(a){var b=this,c=this.htmlElement.media;if(this.androidFix.play=!1,a>0?this._html_load():clearTimeout(this.internal.htmlDlyCmdId),c.pause(),this.androidFix.setMedia)this.androidFix.pause=!0,this.androidFix.time=a;else if(!isNaN(a))try{if(c.seekable&&!("object"==typeof c.seekable&&c.seekable.length>0))throw 1;c.currentTime=a}catch(d){return void(this.internal.htmlDlyCmdId=setTimeout(function(){b.pause(a)},250))}a>0&&this._html_checkWaitForPlay()},_html_playHead:function(a){var b=this,c=this.htmlElement.media;this._html_load();try{if("object"==typeof c.seekable&&c.seekable.length>0)c.currentTime=a*c.seekable.end(c.seekable.length-1)/100;else{if(!(c.duration>0)||isNaN(c.duration))throw"e";c.currentTime=a*c.duration/100}}catch(d){return void(this.internal.htmlDlyCmdId=setTimeout(function(){b.playHead(a)},250))}this.status.waitForLoad||this._html_checkWaitForPlay()},_html_checkWaitForPlay:function(){this.status.waitForPlay&&(this.status.waitForPlay=!1,this.css.jq.videoPlay.length&&this.css.jq.videoPlay.hide(),this.status.video&&(this.internal.poster.jq.hide(),this.internal.video.jq.css({width:this.status.width,height:this.status.height})))},_html_setProperty:function(a,b){this.html.audio.available&&(this.htmlElement.audio[a]=b),this.html.video.available&&(this.htmlElement.video[a]=b)},_aurora_setAudio:function(b){var c=this;a.each(this.formats,function(a,d){return c.aurora.support[d]&&b[d]?(c.status.src=b[d],c.status.format[d]=!0,c.status.formatType=d,!1):void 0}),this.aurora.player=new AV.Player.fromURL(this.status.src),this._addAuroraEventListeners(this.aurora.player,this.aurora),"auto"===this.options.preload&&(this._aurora_load(),this.status.waitForLoad=!1)},_aurora_resetMedia:function(){this.aurora.player&&this.aurora.player.stop()},_aurora_clearMedia:function(){},_aurora_load:function(){this.status.waitForLoad&&(this.status.waitForLoad=!1,this.aurora.player.preload())},_aurora_play:function(b){this.status.waitForLoad||isNaN(b)||this.aurora.player.seek(b),this.aurora.player.playing||this.aurora.player.play(),this.status.waitForLoad=!1,this._aurora_checkWaitForPlay(),this._updateButtons(!0),this._trigger(a.jPlayer.event.play)},_aurora_pause:function(b){isNaN(b)||this.aurora.player.seek(1e3*b),this.aurora.player.pause(),b>0&&this._aurora_checkWaitForPlay(),this._updateButtons(!1),this._trigger(a.jPlayer.event.pause)},_aurora_playHead:function(a){this.aurora.player.duration>0&&this.aurora.player.seek(a*this.aurora.player.duration/100),this.status.waitForLoad||this._aurora_checkWaitForPlay()},_aurora_checkWaitForPlay:function(){this.status.waitForPlay&&(this.status.waitForPlay=!1)},_aurora_volume:function(a){this.aurora.player.volume=100*a},_aurora_mute:function(a){a?(this.aurora.properties.lastvolume=this.aurora.player.volume,this.aurora.player.volume=0):this.aurora.player.volume=this.aurora.properties.lastvolume,this.aurora.properties.muted=a},_flash_setAudio:function(b){var c=this;try{a.each(this.formats,function(a,d){if(c.flash.support[d]&&b[d]){switch(d){case"m4a":case"fla":c._getMovie().fl_setAudio_m4a(b[d]);break;case"mp3":c._getMovie().fl_setAudio_mp3(b[d]);break;case"rtmpa":c._getMovie().fl_setAudio_rtmp(b[d])}return c.status.src=b[d],c.status.format[d]=!0,c.status.formatType=d,!1}}),"auto"===this.options.preload&&(this._flash_load(),this.status.waitForLoad=!1)}catch(d){this._flashError(d)}},_flash_setVideo:function(b){var c=this;try{a.each(this.formats,function(a,d){if(c.flash.support[d]&&b[d]){switch(d){case"m4v":case"flv":c._getMovie().fl_setVideo_m4v(b[d]);break;case"rtmpv":c._getMovie().fl_setVideo_rtmp(b[d])}return c.status.src=b[d],c.status.format[d]=!0,c.status.formatType=d,!1}}),"auto"===this.options.preload&&(this._flash_load(),this.status.waitForLoad=!1)}catch(d){this._flashError(d)}},_flash_resetMedia:function(){this.internal.flash.jq.css({width:"0px",height:"0px"}),this._flash_pause(0/0)},_flash_clearMedia:function(){try{this._getMovie().fl_clearMedia()}catch(a){this._flashError(a)}},_flash_load:function(){try{this._getMovie().fl_load()}catch(a){this._flashError(a)}this.status.waitForLoad=!1},_flash_play:function(a){try{this._getMovie().fl_play(a)}catch(b){this._flashError(b)}this.status.waitForLoad=!1,this._flash_checkWaitForPlay()},_flash_pause:function(a){try{this._getMovie().fl_pause(a)}catch(b){this._flashError(b)}a>0&&(this.status.waitForLoad=!1,this._flash_checkWaitForPlay())},_flash_playHead:function(a){try{this._getMovie().fl_play_head(a)}catch(b){this._flashError(b)}this.status.waitForLoad||this._flash_checkWaitForPlay()},_flash_checkWaitForPlay:function(){this.status.waitForPlay&&(this.status.waitForPlay=!1,this.css.jq.videoPlay.length&&this.css.jq.videoPlay.hide(),this.status.video&&(this.internal.poster.jq.hide(),this.internal.flash.jq.css({width:this.status.width,height:this.status.height})))},_flash_volume:function(a){try{this._getMovie().fl_volume(a)}catch(b){this._flashError(b)}},_flash_mute:function(a){try{this._getMovie().fl_mute(a)}catch(b){this._flashError(b)}},_getMovie:function(){return document[this.internal.flash.id]},_getFlashPluginVersion:function(){var a,b=0;if(window.ActiveXObject)try{if(a=new ActiveXObject("ShockwaveFlash.ShockwaveFlash")){var c=a.GetVariable("$version");c&&(c=c.split(" ")[1].split(","),b=parseInt(c[0],10)+"."+parseInt(c[1],10))}}catch(d){}else navigator.plugins&&navigator.mimeTypes.length>0&&(a=navigator.plugins["Shockwave Flash"],a&&(b=navigator.plugins["Shockwave Flash"].description.replace(/.*\s(\d+\.\d+).*/,"$1")));return 1*b},_checkForFlash:function(a){var b=!1;return this._getFlashPluginVersion()>=a&&(b=!0),b},_validString:function(a){return a&&"string"==typeof a},_limitValue:function(a,b,c){return b>a?b:a>c?c:a},_urlNotSetError:function(b){this._error({type:a.jPlayer.error.URL_NOT_SET,context:b,message:a.jPlayer.errorMsg.URL_NOT_SET,hint:a.jPlayer.errorHint.URL_NOT_SET})},_flashError:function(b){var c;c=this.internal.ready?"FLASH_DISABLED":"FLASH",this._error({type:a.jPlayer.error[c],context:this.internal.flash.swf,message:a.jPlayer.errorMsg[c]+b.message,hint:a.jPlayer.errorHint[c]}),this.internal.flash.jq.css({width:"1px",height:"1px"})},_error:function(b){this._trigger(a.jPlayer.event.error,b),this.options.errorAlerts&&this._alert("Error!"+(b.message?"\n"+b.message:"")+(b.hint?"\n"+b.hint:"")+"\nContext: "+b.context)},_warning:function(c){this._trigger(a.jPlayer.event.warning,b,c),this.options.warningAlerts&&this._alert("Warning!"+(c.message?"\n"+c.message:"")+(c.hint?"\n"+c.hint:"")+"\nContext: "+c.context)},_alert:function(a){var b="jPlayer "+this.version.script+" : id='"+this.internal.self.id+"' : "+a;this.options.consoleAlerts?window.console&&window.console.log&&window.console.log(b):alert(b)},_emulateHtmlBridge:function(){var b=this;a.each(a.jPlayer.emulateMethods.split(/\s+/g),function(a,c){b.internal.domNode[c]=function(a){b[c](a)}}),a.each(a.jPlayer.event,function(c,d){var e=!0;a.each(a.jPlayer.reservedEvent.split(/\s+/g),function(a,b){return b===c?(e=!1,!1):void 0}),e&&b.element.bind(d+".jPlayer.jPlayerHtml",function(){b._emulateHtmlUpdate();var a=document.createEvent("Event");a.initEvent(c,!1,!0),b.internal.domNode.dispatchEvent(a)})})},_emulateHtmlUpdate:function(){var b=this;a.each(a.jPlayer.emulateStatus.split(/\s+/g),function(a,c){b.internal.domNode[c]=b.status[c]}),a.each(a.jPlayer.emulateOptions.split(/\s+/g),function(a,c){b.internal.domNode[c]=b.options[c]})},_destroyHtmlBridge:function(){var b=this;this.element.unbind(".jPlayerHtml");var c=a.jPlayer.emulateMethods+" "+a.jPlayer.emulateStatus+" "+a.jPlayer.emulateOptions;a.each(c.split(/\s+/g),function(a,c){delete b.internal.domNode[c]})}},a.jPlayer.error={FLASH:"e_flash",FLASH_DISABLED:"e_flash_disabled",NO_SOLUTION:"e_no_solution",NO_SUPPORT:"e_no_support",URL:"e_url",URL_NOT_SET:"e_url_not_set",VERSION:"e_version"},a.jPlayer.errorMsg={FLASH:"jPlayer's Flash fallback is not configured correctly, or a command was issued before the jPlayer Ready event. Details: ",FLASH_DISABLED:"jPlayer's Flash fallback has been disabled by the browser due to the CSS rules you have used. Details: ",NO_SOLUTION:"No solution can be found by jPlayer in this browser. Neither HTML nor Flash can be used.",NO_SUPPORT:"It is not possible to play any media format provided in setMedia() on this browser using your current options.",URL:"Media URL could not be loaded.",URL_NOT_SET:"Attempt to issue media playback commands, while no media url is set.",VERSION:"jPlayer "+a.jPlayer.prototype.version.script+" needs Jplayer.swf version "+a.jPlayer.prototype.version.needFlash+" but found "},a.jPlayer.errorHint={FLASH:"Check your swfPath option and that Jplayer.swf is there.",FLASH_DISABLED:"Check that you have not display:none; the jPlayer entity or any ancestor.",NO_SOLUTION:"Review the jPlayer options: support and supplied.",NO_SUPPORT:"Video or audio formats defined in the supplied option are missing.",URL:"Check media URL is valid.",URL_NOT_SET:"Use setMedia() to set the media URL.",VERSION:"Update jPlayer files."},a.jPlayer.warning={CSS_SELECTOR_COUNT:"e_css_selector_count",CSS_SELECTOR_METHOD:"e_css_selector_method",CSS_SELECTOR_STRING:"e_css_selector_string",OPTION_KEY:"e_option_key"},a.jPlayer.warningMsg={CSS_SELECTOR_COUNT:"The number of css selectors found did not equal one: ",CSS_SELECTOR_METHOD:"The methodName given in jPlayer('cssSelector') is not a valid jPlayer method.",CSS_SELECTOR_STRING:"The methodCssSelector given in jPlayer('cssSelector') is not a String or is empty.",OPTION_KEY:"The option requested in jPlayer('option') is undefined."},a.jPlayer.warningHint={CSS_SELECTOR_COUNT:"Check your css selector and the ancestor.",CSS_SELECTOR_METHOD:"Check your method name.",CSS_SELECTOR_STRING:"Check your css selector is a string.",OPTION_KEY:"Check your option name."}}); \ No newline at end of file diff --git a/js/player_database.js b/js/player_database.js new file mode 100644 index 0000000..69badb9 --- /dev/null +++ b/js/player_database.js @@ -0,0 +1,381 @@ +// MP3播放器及歌曲库js + + + var myPlaylist = new jPlayerPlaylist({ + jPlayer: "#jquery_jplayer_N", + cssSelectorAncestor: "#jp_container_N" + }, + [ + { title: "Ellens Gesang III D839", artist: "Geoffrey Parsons", mp3:"http://music.163.com/song/media/outer/url?id=16691428.mp3 ", poster: "http://p1.music.126.net/wAIlwR4SxuZg_ZMwgmSYcg==/3386495814257726.jpg?param=130y130"}, + { title: "默", artist: "那英", mp3:"http://music.163.com/song/media/outer/url?id=31473269.mp3 ", poster: "http://p1.music.126.net/OCGt5ln0lPPtPbVJ3VEKtA==/109951163020570422.jpg?param=130y130"}, + { title: "Fire", artist: "Said The Sky", mp3:"http://music.163.com/song/media/outer/url?id=435289279.mp3", poster: "http://p1.music.126.net/tg2zke_mrqwuOPlEIEUjGg==/18294773975127592.jpg?param=130y130"} + ], + + {playlistOptions:{enableRemoveControls: true}, + swfPath: "js/", + supplied: "webmv, ogv, m4v, oga, mp3", + useStateClassSkin: true, + autoBlur: false, + smoothPlayBar: true, + keyEnabled: true, + audioFullScreen: true + }); + + + //past + var latest=[ + { title: "Fleur de lis", artist: "Noicybino", mp3: "http://music.163.com/song/media/outer/url?id=533079474.mp3", poster:"http://p1.music.126.net/C3C4vPOMsTd_vX9Ccww06Q==/109951163117390906.jpg?param=130y130"}, + { title: "Dance, cherry blossoms!", artist: "Yuri akiyama", mp3: "http://music.163.com/song/media/outer/url?id=518291899.mp3 ", poster:"http://p1.music.126.net/AKhQSRL6HyZu4YwWg4Wi6A==/109951163060585255.jpg?param=130y130"}, + { title: "Lost in Love", artist: "Bois LanYun", mp3: "http://music.163.com/song/media/outer/url?id=521597063.mp3", poster:"http://p1.music.126.net/6o_M9dSbYPRqKRmwY1bOGg==/109951163073262137.jpg?param=130y130"}, + { title: "远すぎた空", artist: "Akito", mp3: "http://music.163.com/song/media/outer/url?id=357185.mp3", poster:"http://p1.music.126.net/7cYhniBuLvU3fvLjeRFeNw==/106652627910735.jpg?param=130y130"}, + { title: "Whether", artist: " AniFace", mp3: "http://music.163.com/song/media/outer/url?id=515384791.mp3", poster:"http://p1.music.126.net/PzE3JrY7QVqFghK9gJN67A==/109951163050326398.jpg?param=130y130"}, + { title: "Constellation Of Tatyana", artist: "Yakuro", mp3: "http://music.163.com/song/media/outer/url?id=28914253.mp3", poster:"http://p1.music.126.net/V7YrIWl2ALgg4QZTxD7_rw==/2937895071851575.jpg?param=130y130"}, + { title: "Princess", artist: "α·Pav", mp3: "http://music.163.com/song/media/outer/url?id=357023.mp3", poster:"http://p1.music.126.net/ktIGtL8eCh6bmDf5a27tFQ==/93458488378205.jpg?param=130y130"}, + { title: "Day by Day", artist: "Shirfine", mp3: "http://music.163.com/song/media/outer/url?id=27579054.mp3", poster:"http://p1.music.126.net/J6m3eJOw32G_wDim2tqloA==/5636096604060170.jpg?param=130y130"}, + { title: "blue blossoms", artist: "久遠", mp3: "http://music.163.com/song/media/outer/url?id=803347.mp3", poster:"http://p1.music.126.net/j9u_wRtJMhlt64k-ZSUM3Q==/944480488305733.jpg?param=130y130"} + ]; + + //now + var popular=[ + { title: "無神論者のためのセレナータ", artist: "love solfege", mp3: "http://music.163.com/song/media/outer/url?id=22676238.mp3", poster:"http://p1.music.126.net/ek5C5HeDHICGjziHhTMCow==/749866930165203.jpg?param=130y130"}, + { title: "Proschenie", artist: "love solfege", mp3: "http://music.163.com/song/media/outer/url?id=22676239.mp3", poster:"http://p1.music.126.net/ek5C5HeDHICGjziHhTMCow==/749866930165203.jpg?param=130y130"}, + { title: "神の光 -Μοιρα-", artist: "Sound Horizon", mp3: "http://music.163.com/song/media/outer/url?id=22782003.mp3", poster:"http://p1.music.126.net/ykne_IJENLMk5KvNUXC3Xg==/779553744115520.jpg?param=130y130"}, + { title: "星女神の巫女 -Αρτεμισια-", artist: "Sound Horizon", mp3: "http://music.163.com/song/media/outer/url?id=816209.mp3", poster: "http://p1.music.126.net/jRkMO3QROnFeVrL2m3XuvQ==/18976471183854535.jpg?param=130y130"}, + { title: "石畳の緋い悪魔", artist: "Sound Horizon", mp3: "http://music.163.com/song/media/outer/url?id=816217.mp3", poster:"http://p1.music.126.net/e0tsg402IoJLHyJIx4TWQw==/4451922580867675.jpg?param=130y130"}, + { title: "この狭い鳥籠の中で", artist: "Sound Horizon", mp3: "http://music.163.com/song/media/outer/url?id=816197.mp3", poster:"http://p1.music.126.net/RNabeevAh1X4_U76fS1FCg==/4415638697151069.jpg?param=130y130"}, + { title: "Secret Track", artist: "Sound Horizon", mp3: "http://music.163.com/song/media/outer/url?id=470573387.mp3", poster:"http://p1.music.126.net/RNabeevAh1X4_U76fS1FCg==/4415638697151069.jpg?param=130y130"}, + { title: "a fairy tale", artist: "MUSIRISCA", mp3: "http://music.163.com/song/media/outer/url?id=4922555.mp3", poster:"http://p1.music.126.net/9vinX4XYfdNgSu3pQcWMMg==/2542070884388514.jpg?param=130y130"}, + { title: "Prayer", artist: "MUSIRISCA", mp3: "http://music.163.com/song/media/outer/url?id=35504074.mp3", poster:"http://p1.music.126.net/g9dAq3k_Z9gE6GRcZo4XuA==/3420580674756260.jpg?param=130y130"} + ]; + + //future + var rank=[ + { title: "创奏", artist: "霜月はるか", mp3: "http://music.163.com/song/media/outer/url?id=645239.mp3", poster:"http://p1.music.126.net/Fp7CYfdZsQAYZls-gD8KpQ==/2262794929982835.jpg?param=130y130"}, + { title: "願い枯れゆく歌声", artist: "Ether", mp3: "http://music.163.com/song/media/outer/url?id=40915970.mp3", poster:"http://p1.music.126.net/DU6RM83OPR0KMcVP05f6zA==/3294136844455797.jpg?param=130y130"}, + { title: "LICHT MEER", artist: "河合夕子", mp3: "http://music.163.com/song/media/outer/url?id=499086.mp3", poster:"http://p1.music.126.net/z7Mk6Au_otaoWozoM-t62w==/2402432906715323.jpg?param=130y130"}, + { title: "Nocturne No. 2 ", artist: "Chopin", mp3: "http://music.163.com/song/media/outer/url?id=1060914.mp3", poster:"http://p1.music.126.net/Dvhon4mH7qimTtE7q3omTw==/1419469524716144.jpg?param=130y130"}, + { title: "夜曲", artist: "Chopin", mp3: "http://music.163.com/song/media/outer/url?id=5266269.mp3", poster:"http://p1.music.126.net/-jxEuvKopuUdXDTKL7KuWw==/105553116283769.jpg?param=130y130"}, + { title: "降E大调夜曲", artist: "Chopin", mp3: "http://music.163.com/song/media/outer/url?id=25830129.mp3", poster:"http://p1.music.126.net/h3MYwTuGIpkWiMuBwZ3Vmg==/6631154628238015.jpg?param=130y130"}, + { title: "即兴幻想曲", artist: "Chopin", mp3: "http://music.163.com/song/media/outer/url?id=25830133.mp3", poster:"http://p1.music.126.net/8cSVJulJa2tiLydRxyXuTg==/109951162938339077.jpg?param=130y130"}, + { title: "Nocturne op. 32", artist: "Chopin", mp3: "http://music.163.com/song/media/outer/url?id=26160789.mp3", poster:"http://p1.music.126.net/MiXbBt6j6xWNlv_QCFSRAw==/2288083697427927.jpg?param=130y130"}, + { title: "Prelude in Des", artist: "Chopin", mp3: "http://music.163.com/song/media/outer/url?id=26818399.mp3", poster:"http://p1.music.126.net/68_Rrtyz1A9MGImm2cUb-w==/2078076976524854.jpg?param=130y130"} + ]; + + // oline song/dream/ + var main =[ + { title: "手写着从前", artist: "澤野弘之", mp3: "http://music.163.com/song/media/outer/url?id=448706025.mp3 ", poster: "http://p1.music.126.net/wME0oX7VY7fEkKvbXgzlrA==/19122706230471650.jpg?param=130y130" }, + { title: "God of ink", artist: "澤野弘之", mp3: "http://music.163.com/song/media/outer/url?id=484056491.mp3", poster: "http://p1.music.126.net/wME0oX7VY7fEkKvbXgzlrA==/19122706230471650.jpg?param=130y130" }, + { title: "white silence (album version)", artist: "TK from 凛として時雨", mp3: "http://music.163.com/song/media/outer/url?id=769672.mp3", poster: "http://p1.music.126.net/OX-yCGzOUHbhqiKK9Xx4Vg==/4442026976217692.jpg?param=130y130" }, + { title: "结び", artist: "饭碗的彼岸", mp3: "http://music.163.com/song/media/outer/url?id=445198872.mp3", poster: "http://p1.music.126.net/dlC4rAiDvq_uUi2fpnxKMA==/109951162819138078.jpg?param=130y130" }, + { title: "VV - ALK", artist: "Tielle", mp3: "http://music.163.com/song/media/outer/url?id=507116416.mp3", poster: "http://p1.music.126.net/WStPGvMUlDC89Wus9813zA==/109951163014870789.jpg?param=130y130" }, + { title: "M41+42", artist: "梶浦由記", mp3: "http://music.163.com/song/media/outer/url?id=591021.mp3", poster: "http://p1.music.126.net/lf9G9OQf_ouA_FuPZjm1HA==/890604418498843.jpg?param=130y130" }, + { title: "偏爱", artist: "张芸京", mp3: "http://music.163.com/song/media/outer/url?id=86369.mp3", poster: "http://p1.music.126.net/2-_sPmCBnN6VfwFmONRy2Q==/46179488378975.jpg?param=130y130" }, + { title: "算什么男人", artist: "周杰伦", mp3: "http://music.163.com/song/media/outer/url?id=29818120.mp3", poster: "http://p1.music.126.net/unW9CQcqjzh8BYjsVqosWw==/18874216602702134.jpg?param=130y130" }, + { title: "兰若词", artist: "刘亦菲", mp3: "http://music.163.com/song/media/outer/url?id=255739.mp3", poster: "http://p1.music.126.net/YIhF9kpKMx_wBKQFN-DwTw==/81363860472987.jpg?param=130y130" }, + { title: "open", artist: "miu-clips", mp3: "http://music.163.com/song/media/outer/url?id=618338.mp3", poster: "http://p1.music.126.net/fJ4Y4PN_h0Mg3ByQ2yfL9g==/838927371993316.jpg?param=130y130" } + ]; + var spirit =[ + { title: "M19+20", artist: "梶浦由記", mp3: "http://music.163.com/song/media/outer/url?id=591753.mp3 ", poster: "http://p1.music.126.net/lW4YKD6cMgm32nI66CzWVg==/5702067301704441.jpg?param=130y130" }, + { title: "Sis puella magica!", artist: "梶浦由記", mp3: "http://music.163.com/song/media/outer/url?id=496902072.mp3", poster: "http://p1.music.126.net/tFTRt1H87rReNTyO1K9IDQ==/18498183627713149.jpg?param=130y130" }, + { title: "月は优しく (月)", artist: "梶浦由記", mp3: "http://music.163.com/song/media/outer/url?id=590623.mp3", poster: "http://p1.music.126.net/7xaV2qB-T1d9m8b1XZC6tQ==/725677674344222.jpg?param=130y130" }, + { title: "Euterpe エウテルペ ", artist: "染音若蔡", mp3: "http://music.163.com/song/media/outer/url?id=452654214.mp3", poster: "http://p1.music.126.net/Iqckrd2sOB1ztqrSOw4XzA==/109951162841140691.jpg?param=130y130" }, + { title: "幻光", artist: "杨秉音", mp3: "http://music.163.com/song/media/outer/url?id=526989692.mp3", poster: "http://p1.music.126.net/4xHOkSVWH-n6p5pB3Jf0yQ==/109951162922204274.jpg" }, + { title: "世界の約束", artist: "神罗Shinra", mp3: "http://music.163.com/song/media/outer/url?id=429460870.mp3", poster: "http://p1.music.126.net/rkJSVKRZkfLXOoVwXtiB4w==/18283778858733705.jpg?param=130y130" }, + { title: "Cave OF Mind", artist: "久石譲", mp3: "http://music.163.com/song/media/outer/url?id=28457572.mp3", poster: "http://p1.music.126.net/HdmtedPRZEEBduHcmUnk3w==/853221023209311.jpg?param=130y130" }, + { title: "幽灵公主", artist: "K. Williams", mp3: "http://qzone.haoduoge.com/music3/2015-01-26/1422203098.mp3", poster: "http://p1.music.126.net/GNKtRK8w7edPw3jAsavL2A==/5980243743832365.jpg?param=130y130" }, + { title: "心之逆鳞", artist: "魏小涵", mp3: "http://music.163.com/song/media/outer/url?id=408280658.mp3", poster: "http://p1.music.126.net/k_WRxDY1qQ4ztB5uFFrvoA==/17907745881679448.jpg?param=130y130" }, + { title: "愛を教えてくれた君へ", artist: "Qaijff", mp3: "http://music.163.com/song/media/outer/url?id=521416051.mp3", poster: "http://p1.music.126.net/-c3qURPNRNLe-YJMbiZoKA==/109951163072509863.jpg?param=130y130" } + ]; + var magic =[ + { title: "群雄疾走", artist: "川井憲次", mp3: "http://music.163.com/song/media/outer/url?id=448153.mp3", poster: "http://p1.music.126.net/r4TK33y6f8cwlntVidXZbQ==/931286348726555.jpg?param=130y130" }, + { title: "Ghost of a smile", artist: "EGOIST", mp3: "http://music.163.com/song/media/outer/url?id=35955908.mp3", poster: "http://p1.music.126.net/ivONokvElv9ZCzyrZp84FQ==/3297435373557125.jpg?param=130y130" }, + { title: "樱子小姐的脚下埋着尸体", artist: "大竹佑季", mp3: "http://music.163.com/song/media/outer/url?id=36271375.mp3", poster:"http://p1.music.126.net/Q4Dg5QXwft213TBKMv26_A==/3276544653004159.jpg?param=130y130" }, + { title: "非科学的表裏一体", artist: "豚乙女", mp3: "http://music.163.com/song/media/outer/url?id=30870899.mp3", poster: "http://p1.music.126.net/84dpde0vkfsDAVsNNjulXg==/7906588115750467.jpg?param=130y130" }, + { title: "You're the Shine", artist: ":FELT", mp3: "http://music.163.com/song/media/outer/url?id=26260757.mp3", poster: "http://p1.music.126.net/b04i7LFbHLJkmkzwhwRLMA==/2343059278838229.jpg?param=130y130" }, + { title: "旅の途中", artist: "清浦夏実", mp3: "http://music.163.com/song/media/outer/url?id=26220167.mp3", poster: "http://p1.music.126.net/4BgAnUbCDFex3m4z-hWULA==/2509085534622060.jpg?param=130y130" }, + { title: "夏祭り", artist: "東山奈央", mp3: "http://music.163.com/song/media/outer/url?id=488388729.mp3", poster: "http://p1.music.126.net/3eyBH8RjxjXG-EqWShU1wg==/18887410742154555.jpg?param=130y130" }, + { title: "Sway", artist: "Nevve", mp3: "http://music.163.com/song/media/outer/url?id=475073464.mp3", poster: "http://p1.music.126.net/KmPcFcxxg61d15R8yu5x_A==/18681802069425034.jpg?param=130y130" }, + { title: "Vanish", artist: " Breathe Carolina", mp3: "http://music.163.com/song/media/outer/url?id=427542077.mp3", poster: "http://p1.music.126.net/xaX_RkkW0cT4f38k62N8yg==/3413983630702236.jpg?param=130y130" }, + { title: "It's Over", artist: "MEIDEN", mp3: "http://music.163.com/song/media/outer/url?id=477933011.mp3", poster: "http://p1.music.126.net/foJM2P9nq8pXHnCZjcf75w==/19047939439716625.jpg?param=130y130" } + ]; + + //添加播放歌曲 + + $("#latest li").find("a.playIcon").click(function() { + var k=$(this).parent("li").index(); + myPlaylist.add({ + title:latest[k].title, artist:latest[k].artist, + //free:true, + mp3:latest[k].mp3, + //oga:"", + poster:latest[k].poster + }); + myPlaylist.play(-1); + }); + + $("#popular li").find("a.playIcon").click(function() { + var k=$(this).parent("li").index(); + myPlaylist.add({ + title:popular[k].title, artist:popular[k].artist, + //free:true, + mp3:popular[k].mp3, + //oga:"", + poster:popular[k].poster + }); + myPlaylist.play(-1); + }); + + $("#rank li").find("a.playIcon").click(function() { + var k=$(this).parent("li").index(); + myPlaylist.add({ + title:rank[k].title, artist:rank[k].artist, + //free:true, + mp3:rank[k].mp3, + //oga:"", + poster:rank[k].poster + }); + myPlaylist.play(-1); + }); + +$("#main li").find("a.playIcon").click(function () { + var k = $(this).parent("li").index(); + myPlaylist.add({ + title: main[k].title, artist: main[k].artist, + //free:true, + mp3: main[k].mp3, + //oga:"", + poster: main[k].poster + }); + myPlaylist.play(-1); +}); + +$("#spirit li").find("a.playIcon").click(function () { + var k = $(this).parent("li").index(); + myPlaylist.add({ + title: spirit[k].title, + artist: spirit[k].artist, + //free:true, + mp3: spirit[k].mp3, + //oga:"", + poster: spirit[k].poster + }); + myPlaylist.play(-1); +}); +$("#magic li").find("a.playIcon").click(function () { + var m = $(this).parent("li").index(); + myPlaylist.add({ + title: magic[m].title, + artist: magic[m].artist, + //free:true, + mp3: magic[m].mp3, + //oga:"", + poster: magic[m].poster + }); + myPlaylist.play(-1); +}); + //添加歌曲结束 + + + //移除 + $("#playlist-remove").click(function() { + myPlaylist.remove(); //(0 1 2 ... -2 -1) + }); + + $("#listRemove").click(function() { + myPlaylist.remove(); + }); + + // 上一曲、下一曲 + + $("#playlist-next").click(function() { + myPlaylist.next(); + }); + $("#playlist-previous").click(function() { + myPlaylist.previous(); + }); + + // 播放 + $("#playlist-play").click(function() { + myPlaylist.play(); + }); + + $("#playlist-play--2").click(function() { + myPlaylist.play(-2); + }); + $("#playlist-play--1").click(function() { + myPlaylist.play(-1); + }); + $("#playlist-play-0").click(function() { + myPlaylist.play(0); + }); + $("#playlist-play-1").click(function() { + myPlaylist.play(1); + }); + $("#playlist-play-2").click(function() { + myPlaylist.play(2); + }); + + // 暂停 + + $("#playlist-pause").click(function() { + myPlaylist.pause(); + }); + + + + //是否自动播放 + + $("#playlist-option-autoPlay-true").click(function() { + myPlaylist.option("autoPlay", true); + }); + $("#playlist-option-autoPlay-false").click(function() { + myPlaylist.option("autoPlay", false); + }); + + + + + //播放器列表滚动条js------------------------------------------------------------------------------------------------ + var $bar=$(".bar"); + var $scrollBar=$(".scrollBar"); + var $maxH = $scrollBar.innerHeight() - $bar.outerHeight(); + var $ul=$(".jp-playlist ul"); + var $li=$(".jp-playlist ul li"); + var disY=0; + var iScale=0; + var iSpeed = 0; + + $ul.height(1000); //设置ul的高度 + + $bar.mousedown(function (event){ + var event = event || window.event; + disY = event.clientY - $(this).position().top; + $(document).bind("mousemove",function (event){ + var event = event || window.event; + var iH = event.clientY - disY; + iH <= 0 && (iH = 0); + iH >= $maxH && (iH = $maxH); + $bar.css({top : iH + "px"}); + iScale = - iH/$maxH; + $ul.css({top:iScale*($ul.height()-$(".jp-playlist-box").height())+"px"}); + return false; + }); + $(document).bind("mouseup",function (){ + $(document).unbind("mousemove"); + $(document).unbind("mouseup"); + }); + return false; + }); + + //当鼠标移入,监听事件 + $(".jp-playlist-box").mouseover(function(){ + //鼠标滚轮 + addHandler(this, "mousewheel", mouseWheel);//IE + addHandler(this, "DOMMouseScroll", mouseWheel);//标准 + return false; + }); + //绑定事件重写兼容 + function addHandler(element, type, handler){ + return element.addEventListener ? element.addEventListener(type, handler, false) : + element.attachEvent("on" + type, handler, false) + } + //鼠标滚轮事件 + function mouseWheel(event){ + var event = event || window.event; + if(event.wheelDelta) {//IE + iSpeed = event.wheelDelta > 0 ? -3 : 3; + }else if(event.detail) {//火孤 + iSpeed = event.detail < 0 ? -3 : 3; + } + move(); + + //FF,绑定事件,阻止默认事件 + if (event.preventDefault) { + event.preventDefault(); + } + } ; + //滚轮 要执行的 + function move(){ + var iH=$bar.position().top; + iH=iH+iSpeed; + iH <= 0 && (iH = 0); + iH >= $maxH && (iH = $maxH); + $bar.css({top:iH+"px"}); + iScale = - iH/$maxH; + $ul.css({top:iScale*($ul.height()-$(".jp-playlist-box").height())+"px"}); + return false; + }; + //播放器列表滚动条js 结束------------------------------------------------ + + + + //音乐播放器 收缩、展开---------------------------------------------- + var fold=true;//标识 + + //页面加载时,播放器运动出来,延迟2秒,运动回去 + $(".jp-video").animate({left:0},"slow",function(){ + slideOut($(this)); + }).delay(2000).animate({left:"-480px"},350,function(){ + slideIn($(this)); + }); + + //点击按钮运动出来,或运动回去 + $("#btnfold").mouseover(function(){ + if(fold){ + $(".jp-video").animate({left:"-480px"},350,function(){ + slideIn($(this)); + }); + }else{ + $(".jp-video").animate({left:0},350,function(){ + slideOut($(this)); + }); + } + }); + //封装按钮背景切换1 + function slideOut(obj){ + $("#btnfold").attr({"title":"点击收缩"}); + obj.find("span").css({"transform":"rotate(180deg)"}); + obj.find("span").css({"MozTransform":"rotate(180deg) translateX(2px)"}); + obj.find("span").css({"WebkitTransform":"rotate(180deg)"}); + fold=true; + }; + //封装按钮背景切换2 + function slideIn(obj){ + $("#btnfold").attr({"title":"点击展开"}); + obj.find("span").css({"transform":"rotate(0deg)"}); + obj.find("span").css({"MozTransform":"rotate(0deg) translateX(-2px)"}); + obj.find("span").css({"WebkitTransform":"rotate(0deg)"}); + fold=false; + }; + + //歌曲列表展开、收缩--------------------------------------------------- + var iOpen=false; + $("#listClose").click(function(){ + if(iOpen){ + $(".jp-playlist-box").animate({height:0},100); + $("#btnfold").css({top:"5px"}); + $("#listRemove").css({display:"none"}); + $(".scrollBar").css({display:"none"}); + $(".jp-video").animate({height:"94px",bottom:"20px"},100); + iOpen=false; + }else{ + $(".jp-playlist-box").animate({height:"80px"},100); + $("#btnfold").css({top:"52px"}); + $("#listRemove").css({display:"block"}); + $(".scrollBar").css({display:"block"}); + $(".jp-video").animate({height:"175px",bottom:"20px"},100); + iOpen=true; + } + }); + + + + + + + + + + + + diff --git a/js/playlist.js b/js/playlist.js new file mode 100644 index 0000000..a1f1640 --- /dev/null +++ b/js/playlist.js @@ -0,0 +1,2 @@ +/*! jPlayerPlaylist for jPlayer 2.9.2 ~ (c) 2009-2014 Happyworm Ltd ~ MIT License */ +!function(a,b){jPlayerPlaylist=function(b,c,d){var e=this;this.current=0,this.loop=!1,this.shuffled=!1,this.removing=!1,this.cssSelector=a.extend({},this._cssSelector,b),this.options=a.extend(!0,{keyBindings:{next:{key:221,fn:function(){e.next()}},previous:{key:219,fn:function(){e.previous()}},shuffle:{key:83,fn:function(){e.shuffle()}}},stateClass:{shuffled:"jp-state-shuffled"}},this._options,d),this.playlist=[],this.original=[],this._initPlaylist(c),this.cssSelector.details=this.cssSelector.cssSelectorAncestor+" .jp-details",this.cssSelector.playlist=this.cssSelector.cssSelectorAncestor+" .jp-playlist",this.cssSelector.next=this.cssSelector.cssSelectorAncestor+" .jp-next",this.cssSelector.previous=this.cssSelector.cssSelectorAncestor+" .jp-previous",this.cssSelector.shuffle=this.cssSelector.cssSelectorAncestor+" .jp-shuffle",this.cssSelector.shuffleOff=this.cssSelector.cssSelectorAncestor+" .jp-shuffle-off",this.options.cssSelectorAncestor=this.cssSelector.cssSelectorAncestor,this.options.repeat=function(a){e.loop=a.jPlayer.options.loop},a(this.cssSelector.jPlayer).bind(a.jPlayer.event.ready,function(){e._init()}),a(this.cssSelector.jPlayer).bind(a.jPlayer.event.ended,function(){e.next()}),a(this.cssSelector.jPlayer).bind(a.jPlayer.event.play,function(){a(this).jPlayer("pauseOthers")}),a(this.cssSelector.jPlayer).bind(a.jPlayer.event.resize,function(b){b.jPlayer.options.fullScreen?a(e.cssSelector.details).show():a(e.cssSelector.details).hide()}),a(this.cssSelector.previous).click(function(a){a.preventDefault(),e.previous(),e.blur(this)}),a(this.cssSelector.next).click(function(a){a.preventDefault(),e.next(),e.blur(this)}),a(this.cssSelector.shuffle).click(function(b){b.preventDefault(),e.shuffle(e.shuffled&&a(e.cssSelector.jPlayer).jPlayer("option","useStateClassSkin")?!1:!0),e.blur(this)}),a(this.cssSelector.shuffleOff).click(function(a){a.preventDefault(),e.shuffle(!1),e.blur(this)}).hide(),this.options.fullScreen||a(this.cssSelector.details).hide(),a(this.cssSelector.playlist+" ul").empty(),this._createItemHandlers(),a(this.cssSelector.jPlayer).jPlayer(this.options)},jPlayerPlaylist.prototype={_cssSelector:{jPlayer:"#jquery_jplayer_1",cssSelectorAncestor:"#jp_container_1"},_options:{playlistOptions:{autoPlay:!1,loopOnPrevious:!1,shuffleOnLoop:!0,enableRemoveControls:!1,displayTime:"slow",addTime:"fast",removeTime:"fast",shuffleTime:"slow",itemClass:"jp-playlist-item",freeGroupClass:"jp-free-media",freeItemClass:"jp-playlist-item-free",removeItemClass:"jp-playlist-item-remove"}},option:function(a,c){if(c===b)return this.options.playlistOptions[a];switch(this.options.playlistOptions[a]=c,a){case"enableRemoveControls":this._updateControls();break;case"itemClass":case"freeGroupClass":case"freeItemClass":case"removeItemClass":this._refresh(!0),this._createItemHandlers()}return this},_init:function(){var a=this;this._refresh(function(){a.options.playlistOptions.autoPlay?a.play(a.current):a.select(a.current)})},_initPlaylist:function(b){this.current=0,this.shuffled=!1,this.removing=!1,this.original=a.extend(!0,[],b),this._originalPlaylist()},_originalPlaylist:function(){var b=this;this.playlist=[],a.each(this.original,function(a){b.playlist[a]=b.original[a]})},_refresh:function(b){var c=this;if(b&&!a.isFunction(b))a(this.cssSelector.playlist+" ul").empty(),a.each(this.playlist,function(b){a(c.cssSelector.playlist+" ul").append(c._createListItem(c.playlist[b]))}),this._updateControls();else{var d=a(this.cssSelector.playlist+" ul").children().length?this.options.playlistOptions.displayTime:0;a(this.cssSelector.playlist+" ul").slideUp(d,function(){var d=a(this);a(this).empty(),a.each(c.playlist,function(a){d.append(c._createListItem(c.playlist[a]))}),c._updateControls(),a.isFunction(b)&&b(),c.playlist.length?a(this).slideDown(c.options.playlistOptions.displayTime):a(this).show()})}},_createListItem:function(b){var c=this,d="
  • ";if(d+="×",b.free){var e=!0;d+="(",a.each(b,function(b,f){a.jPlayer.prototype.format[b]&&(e?e=!1:d+=" | ",d+=""+b+"")}),d+=")"}return d+=""+b.title+(b.artist?" ":"")+"",d+="
  • "},_createItemHandlers:function(){var b=this;a(this.cssSelector.playlist).off("click","a."+this.options.playlistOptions.itemClass).on("click","a."+this.options.playlistOptions.itemClass,function(c){c.preventDefault();var d=a(this).parent().parent().index();b.current!==d?b.play(d):a(b.cssSelector.jPlayer).jPlayer("play"),b.blur(this)}),a(this.cssSelector.playlist).off("click","a."+this.options.playlistOptions.freeItemClass).on("click","a."+this.options.playlistOptions.freeItemClass,function(c){c.preventDefault(),a(this).parent().parent().find("."+b.options.playlistOptions.itemClass).click(),b.blur(this)}),a(this.cssSelector.playlist).off("click","a."+this.options.playlistOptions.removeItemClass).on("click","a."+this.options.playlistOptions.removeItemClass,function(c){c.preventDefault();var d=a(this).parent().parent().index();b.remove(d),b.blur(this)})},_updateControls:function(){this.options.playlistOptions.enableRemoveControls?a(this.cssSelector.playlist+" ."+this.options.playlistOptions.removeItemClass).show():a(this.cssSelector.playlist+" ."+this.options.playlistOptions.removeItemClass).hide(),this.shuffled?a(this.cssSelector.jPlayer).jPlayer("addStateClass","shuffled"):a(this.cssSelector.jPlayer).jPlayer("removeStateClass","shuffled"),a(this.cssSelector.shuffle).length&&a(this.cssSelector.shuffleOff).length&&(this.shuffled?(a(this.cssSelector.shuffleOff).show(),a(this.cssSelector.shuffle).hide()):(a(this.cssSelector.shuffleOff).hide(),a(this.cssSelector.shuffle).show()))},_highlight:function(c){this.playlist.length&&c!==b&&(a(this.cssSelector.playlist+" .jp-playlist-current").removeClass("jp-playlist-current"),a(this.cssSelector.playlist+" li:nth-child("+(c+1)+")").addClass("jp-playlist-current").find(".jp-playlist-item").addClass("jp-playlist-current"))},setPlaylist:function(a){this._initPlaylist(a),this._init()},add:function(b,c){a(this.cssSelector.playlist+" ul").append(this._createListItem(b)).find("li:last-child").hide().slideDown(this.options.playlistOptions.addTime),this._updateControls(),this.original.push(b),this.playlist.push(b),c?this.play(this.playlist.length-1):1===this.original.length&&this.select(0)},remove:function(c){var d=this;return c===b?(this._initPlaylist([]),this._refresh(function(){a(d.cssSelector.jPlayer).jPlayer("clearMedia")}),!0):this.removing?!1:(c=0>c?d.original.length+c:c,c>=0&&cb?this.original.length+b:b,b>=0&&bc?this.original.length+c:c,c>=0&&c1?this.shuffle(!0,!0):this.play(a):a>0&&this.play(a)},previous:function(){var a=this.current-1>=0?this.current-1:this.playlist.length-1;(this.loop&&this.options.playlistOptions.loopOnPrevious||a