index-127aecc0.js 224 KB

1234567
  1. <<<<<<<< HEAD:dist/assets/index-cfd46e92.js
  2. import{d as $t,q as Nn,K as Mn,r as Tt,x as Ot,y as en,$ as Sn,w as En,a as V,z as Ft,N as Pn,V as Ln,Y as Dn,Q as It,Z as Fn,A as ct,C as jt,a8 as jn,U as On,a9 as In,av as Zt,aw as Bn}from"./index-ec1086fa.js";import{a as qn,b as Wn,c as Hn}from"./api-4e56aa6a.js";import{I as Kt}from"./index-9e2e6212.js";import{L as Rn}from"./index-093fb0c6.js";import{T as Jt}from"./index-0fac8ec4.js";const zn="_container_qc6ti_1",Vn="_head_qc6ti_12",Xn="_back_qc6ti_20",Un="_downBtn_qc6ti_35",Yn="_activeBtn_qc6ti_46",Gn="_icon_qc6ti_46",Qn="_iconUp_qc6ti_72",Zn="_popover_qc6ti_77",Kn="_content_qc6ti_96",Jn="_courseDetails_qc6ti_101",$n="_wrap_qc6ti_101",er="_wrapRight_qc6ti_104",tr="_emtpyWrap_qc6ti_118",nr="_warpSection_qc6ti_121",rr="_wrapItem_qc6ti_148",ir="_item_qc6ti_158",sr="_name_qc6ti_189",or="_containerImg_qc6ti_196",ar="_cover_qc6ti_222",lr="_loaded_qc6ti_252",ur="_book_qc6ti_255",cr="_bookWrap_qc6ti_269",fr="_show_qc6ti_277",dr="_wrapLeft_qc6ti_282",hr="_courseWrapItem_qc6ti_286",pr="_useTime_qc6ti_294",gr="_popupContainer_qc6ti_305",mr="_searchList_qc6ti_311",vr="_popoverTitle_qc6ti_317",yr="_popupList_qc6ti_333",wr="_subjectItem_qc6ti_355",xr="_arrow_qc6ti_373",br="_active_qc6ti_46",Ar="_btnGroup_qc6ti_394",Tr="_btnSure_qc6ti_409",J={container:zn,head:Vn,back:Xn,downBtn:Un,activeBtn:Yn,icon:Gn,iconUp:Qn,popover:Zn,content:Kn,courseDetails:Jn,wrap:$n,wrapRight:er,emtpyWrap:tr,warpSection:nr,wrapItem:rr,item:ir,name:sr,containerImg:or,cover:ar,loaded:lr,book:ur,bookWrap:cr,show:fr,wrapLeft:dr,courseWrapItem:hr,useTime:pr,popupContainer:gr,searchList:mr,popoverTitle:vr,popupList:yr,subjectItem:wr,arrow:xr,active:br,btnGroup:Ar,btnSure:Tr},tn=""+new URL("icon_back-b80c2fc2.svg",import.meta.url).href,kr=""+new URL("use-time-5a873036.png",import.meta.url).href,_r="_book_134pz_1",Cr="_back_134pz_11",Nr="_bookHide_134pz_16",Mr="_wrap_134pz_36",Sr="_wrapItem_134pz_53",Er="_item_134pz_60",Pr="_name_134pz_69",Lr="_des_134pz_76",Dr="_icon_134pz_81",Fr="_last_134pz_86",jr="_preIcon_134pz_129",Or="_nameText_134pz_135",Ir="_nameTextActive_134pz_141",Ee={book:_r,back:Cr,bookHide:Nr,wrap:Mr,wrapItem:Sr,item:Er,name:Pr,des:Lr,icon:Dr,last:Fr,preIcon:jr,nameText:Or,nameTextActive:Ir},Br="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAKKADAAQAAAABAAAAKAAAAAB65masAAAFDElEQVRYCcWZy24cRRSGT3XPxbHj+MIlwXLCJkJKkLJmzSICicfIhi0Pwg55k9dASF6AxAOwQAIhgRRkQpwQRMaZxjOeme7i/8+pmqtlVwMzLqlVl66u+uo/p0731DiZS/6s+754eYTmhyL+DsrX57r892obQzon0nkmUlUF5jnCoIcizcfujXd+mJ4AvSx571tyVnyO2qfifRbbl5K3NwCIKU5eiJSDyRTOVagcyM7+Z845vaGAAe4rgH046b3EUuuaSNYQOX0l0oeAC8l9Lbv7HxPSlKJyq4IjTFkaUgtKnpsg1KuntKa44HPfL92sMyAwnJoZefGXyODvmbtaobl940GmG2LZPrcwvZ/43saOSKO10MMEGz6iibFbryCNsAfKke3mzbdN0UWMh873X3eXEkoWJzu/pYkNk2PDMJVDmPtUhPAV/dQVzvdeQ+8rTjlMTDMzNs6lgD7XmlTFukZ9XEPx1UA8Vu0rlGG2CkpU2KllWUnlR8i9lJWXUVXJta1bcuOt27MzMBbyypsWfhgjA2w64M9firz8EdIT6gwvAEzqGlJlTSmlgXLTymgrxcoVy2zHpX2Rd4tiETDi0sS8plIiINT67Vu8kezJyuU6KQHsAgQgWfaA8Ch7vWftpfYnLPr4RTNO8SwUEwHDcxjbS6Yg40mpngAYbwYqWY3LOYC4kLgIgybkN0/gBhjpvd1cbm/Zu2KBLDSkA3oPVUy5aC6aNyrH3ANyUg/3CA0ohScs6s8LvnKxWF/+j4CAU6WQm/kAS7W0DhiFoGoRCPcIHKAM3u4HcZKyZAVpLvoXFYgKTnKCEsZAI5T2jSaP9/F8nXSxA0yNZGAThQyIZm2JW9sOgKauKQ3goGD0TbZzoXVS8nI4me5QNRkmUvM2ZOv+R9Lc2pM+Pj47v/8kvdPClEY/6xNVxe6Gz3KMGA1SQNMBaVoqgJybw8ydS7Z2Q+dZ296TW7hOOy/kz+MnMuz1gsnNT6m4PV9PwXQTB3PpBlFQbgKoIbNxbX37pty594G8uXcXiyDUrG+qginShT7JCkaTTmKbmXmObzx13myrv9mOByh8T1Vcjg+6MDjVMBNz09Cn5hXswwf/eP5UOt3uJCbyGaqpeT0TJyvICUwNvnttNzIOjgZ9yVvrctYr5OXxr9I5OVHTR19lHtWPz49lTijUADQwew/bjib08S/fSWN9Wwp8BNiHQVBZfS/ERy0HUCyqTkoHxMDxy8XMFXwKn1T9AuZE+Bj72XRflmlaQsIlqGidlNxbgy4m01eWmtvim4Yb1OMrzlwhqm1QsQ9dgs/XScm9LVzQfAYWYxpNHu9FECo53r1UEFf0Qy6gTkruHb9UxmCMi/wwBTBhDCCYE/W4EDUv6hGept5slfiSEXn3kk8tLiQZUFWCD2l4oYr0qRjbUGbIYZuBTvwxgkUX4InCJ3eT3w/4+kxMa7v7AAgbI4AZ1JRqhOSlChps3DhqZlUyWRMlq/2rzuPnYIWdWyIv8SMo/hjiacYQZsMt5E6GVYYfSZkMcA418DnacuQNubnh5N7O7O+OizSqDXjRYMu4l+Fdet7x0jLmqj8m2OCD7qj+k6t6wh1xkxyuarp/Mc/hFR2/JaDy+M3Jg8y1N3kmfJDwyKq7HJBNP4dXfgR82VIdjoDb1ydHwHpgjQYc2HyBy35VXzbIMu6rWcEQ4DjF7A8KNKzkb4jpxWmY00hyCJrHweXGPf4B6HyHtp8LqjYAAAAASUVORK5CYII=",qr="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACwAAAAaCAYAAADMp76xAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAALKADAAQAAAABAAAAGgAAAADSD6qFAAAD9UlEQVRYCdWYaWxUVRTHf29auglUKcqWBlErqGnAAiopFQOiIkGDaY2VuMQ1MfIBP9TGCELEpYgm+MX0iySYCDUtDRJELZA0UAQBjRLROrK1MbG1rZZqy5QJz3Pm9jHzmMfrjDppOcnc5Zy7/N+5Z7l3LAbItm2L3Q1v0/1HOaHQOMLhDEc2JHV6ej+ZmW3kXrWZBQsrLcuyFYelhb1vz1TaO7fT319AwY0wZgxk56ho6KivF7q6IPgzZGQEuSZviTV3frMV0Wx9bTM5OQUUl0Bm1tCB9Nr57FnYvxd6e4MsLZ2atrqkuIqengdE7cMPrH5AejpMnAQ//ZhH22/ZgYjNqhkMN83GaluxKUbxr0DEwdRmB6OGnbBh3WCjEpOvfwP2NSY21hmlGCUYBCLRIBEH6/wdWk470/1rWxx67UrYWhM/rvtPONAEaWnxMj+OYpTIJQaSArIk+JQ+YkArsAdLo5sc/c60c6+EjvYoP7aVlQ0jR8VyLrRTA1iXn3YLvLLGgNbNF9xrNv3he1O/9rKpLy71dBYugueXXyyJ9FMHWJe/uRBWVEL9JzBvPhLn4eB+WPYkLH04AsBVhMPw9KNQOMPFju0kB7irEzZWx86Ptm+dBTNmRvtOa/YdoD+ljzaCxtV77jf9bXXw7WFY/ZbpHzkI587BzNmm71EmBzgUguNBj2WENXmKN9/htrbAzk+NZq8YabiqALV3hxr3QJF8uE+ITQ7whIlik+ud5ZOruzrgBomlZXLkDvWcgayBzBoWzQab4YlnHalnnRxgzyUGYaoTHZajLpJjnl7kHqwabjkl8VXMRLVavckt9+gFPHj/L0tj7rtio3//5V73/Hn4RTR6phu+2GFkAYGjPx/yl/pMTFhUXwPFd8LoXPeUk8eNA5bcBep8GkESoNQC/uYQnBBgi5bEQ9FUnz8ZXlhh7Ljhs/gxHpzUAq4T7aqj6S+WDh2AXZ/Dcy/CiBHG0bZKrO6Q9D8IpQ7wsaPQfExSdLkbgqbjDzbA3ffBTZINlW6bA1Ouh1UV0N5meJco46PE6ZPeQ7vFOdTOLiV3ZjnxuHaL0eys2x0JNO6GD6th/AR47KkoX1svVcLrrxrQa6pg3Hi3fKBn2R9vCjGnOINJ+YZVtljeTBKK/i1t2Sb3Vvm45c9AxUqT/fr64P134MjX8JCk5LJl3rc1fRatXWUuRW++B3ljoyh+bYWvmvotu66mhWuvy6dwuhFqMP8vNGq0ma1hzMloytGUPneeXMSn+a+uqbt2M5Q/7v4oveWdOtFq2bu+rBJjr2CxeLJPSvTfJcVSTSw7tsPYq9cN/0eogm3ae+ERGrl5XFbPfOcwL5c/Uv4BMfRITu69WqwAAAAASUVORK5CYII=",Wr=$t({name:"the-book",props:{bookData:{type:Object,default:()=>({})},bookLessonId:{type:String,default:""},show:{type:Boolean,default:!1},rect:{type:Object,default:()=>({})}},emits:["close","confirm"],setup(C,{emit:E}){var B,Le,fe,Te;const We=Nn(),we="lastTime"+((Te=(fe=(Le=(B=Mn)==null?void 0:B.user)==null?void 0:Le.data)==null?void 0:fe.phone)!=null?Te:""),oe=Tt(!1),W=Ot({show:!1,width:0,height:0,transform:"",list:[],lastTime:localStorage.getItem(we),isClick:!1,coursewareList:[]}),Pe=Tt(!1),Ce=Tt(0);let ce=null,Ne=null;const st=()=>{ce=window.$("#flipbook");const U=document.body.clientHeight*.8;W.height=U,W.width=Math.ceil(U*(210/297)*2),ce.turn({autoCenter:!0,duration:1e3,disabled:!0,acceleration:!0,elevation:50,width:W.width,height:W.height,gradients:!0}),ce.bind("start",(j,he,$)=>{($=="tl"||$=="tr")&&j.preventDefault(),W.isClick&&Ft(()=>{W.isClick=!1,$=="tl"||$=="tr"?j.preventDefault():ce.turn("page",he.next)})}),ce.bind("turning",(j,he,$)=>{he===ce.turn("pages")&&Ie(!1),he===1&&Ie(!1)})},Xe=()=>{const U=document.querySelector(".bookWrap");if(U){const j=U.getBoundingClientRect(),he=C.rect.width/(j.width/2),$=C.rect.height/j.height,ke=(j.width/2*(he-1)/2+C.rect.x-j.x-j.width/4)/he,de=(j.height*($-1)/2+C.rect.y-j.y)/$,Ue=`scale3d(${he}, ${$}, 1) translate(${ke}px, ${de}px)`;U.style.transform=W.transform=Ue,U.style.transition="transform 0s",Ft(()=>{requestAnimationFrame(()=>{requestAnimationFrame(()=>{U.style.transition="transform 1s",U.style.transform="",W.show=!0,Ne=setTimeout(()=>{ce.turn("page",2)},500)})})})}},Ie=(U=!0)=>{if(Pe.value)return;Pe.value=!0,clearTimeout(Ne);const j=document.querySelector(".bookWrap");U&&ce.turn("page",1),j&&(j.style.transform=W.transform),E("close"),setTimeout(()=>{j.style.transition="",j.style.transform="",W.show=!1,W.list=[],Pe.value=!1},1e3)};en(async()=>{Sn("webViewOnResume",()=>{W.lastTime=localStorage.getItem(we)})});const te=()=>{var he;if(!((he=C.bookData)!=null&&he.lessonList))return;Ce.value=Math.floor((document.body.clientHeight*.8-40)/50);const U=[];let j=[];for(let $=0;$<C.bookData.lessonList.length;$++){const ke=C.bookData.lessonList[$];j.length>=Ce.value?(U.push([...j]),j=[{name:ke.name}]):j.push({name:ke.name});for(let de=0;de<ke.knowledgeList.length;de++)j.length>=Ce.value?(U.push([...j]),j=[ke.knowledgeList[de]]):j.push(ke.knowledgeList[de])}j.length&&U.push(j),console.log(U,"list"),W.list=U};En(()=>C.show,()=>{C.show&&(te(),Ft(()=>{st(),requestAnimationFrame(()=>{Xe()})}))});const ie=async U=>{if(U.id){if(!U.containMaterial){Pn("暂无资源");return}U.coursewareNum&&F(U)}},F=async U=>{if(U.id){if(oe.value)return;oe.value=!0,localStorage.setItem(we,U.id);const j={id:U.id,lessonCoursewareId:U.lessonCoursewareId};if(Ln().isApp){const he=Dn.stringify(j),$=Fn()+location.pathname+"#/courseware-play?"+he;console.log("🚀 ~ url:",$),It({api:"openWebView",content:{url:$,orientation:0,isHideTitle:!1,c_orientation:0}})}else We.push({path:"/courseware-play",query:j});oe.value=!1}};return()=>V("div",{class:[Ee.book,W.show?"":Ee.bookHide],onClick:()=>Ie(),onTouchmove:()=>{console.log("sdfds"),W.isClick=!0}},[V("div",{class:Ee.back},[V("img",{src:tn},null)]),V("div",{class:"bookWrap",style:{width:W.width+"px"},onClick:U=>{U.stopPropagation()}},[!!W.list.length&&V("div",{id:"flipbook",class:[W.show&&"animated"]},[V("div",{class:"page"},[V("img",{style:"width: 100%; height: 100%; object-fit: cover;",src:C.bookData.coverImg},null)]),W.list.map(U=>V("div",{class:"page"},[V("div",{class:Ee.wrap},[V("div",{class:Ee.wrapItem},[U.map((j,he)=>V("div",{class:[Ee.item,j.id&&Ee.des],onTouchstart:$=>{$.stopPropagation()},onClick:$=>{$.stopPropagation(),ie(j)},onTouchend:$=>{console.log($)}},[j.id?V("img",{id:he==1?"coursewareDetail-0":"",class:Ee.icon,src:Br},null):null,V("div",{class:Ee.name,style:{lineHeight:"20Px"}},[j.recentFlag&&V("img",{src:qr,alt:"",class:Ee.preIcon},null),V("div",{class:[Ee.nameText,j.recentFlag?Ee.nameTextActive:""]},[" ",j.name])])]))])])])),W.list.length%2===1&&V("div",{class:"page",style:{pointerEvents:"none"}},[V("div",{class:Ee.wrap},[V("div",{class:Ee.wrapItem},null)])]),V("div",{class:"page"},[V("img",{style:"width: 100%; height: 100%; object-fit: cover;",src:C.bookData.coverImg},null)])])])])}});/*! jQuery v1.7 jquery.com | jquery.org/license */(function(C,E){function We(e){return t.isWindow(e)?e:e.nodeType===9?e.defaultView||e.parentWindow:!1}function we(e){if(!Lt[e]){var n=D.body,r=t("<"+e+">").appendTo(n),i=r.css("display");r.remove(),(i==="none"||i==="")&&(Ve||(Ve=D.createElement("iframe"),Ve.frameBorder=Ve.width=Ve.height=0),n.appendChild(Ve),(!wt||!Ve.createElement)&&(wt=(Ve.contentWindow||Ve.contentDocument).document,wt.write((D.compatMode==="CSS1Compat"?"<!doctype html>":"")+"<html><body>"),wt.close()),r=wt.createElement(e),wt.body.appendChild(r),i=t.css(r,"display"),n.removeChild(Ve)),Lt[e]=i}return Lt[e]}function oe(e,n){var r={};return t.each(Gt.concat.apply([],Gt.slice(0,n)),function(){r[this]=e}),r}function W(){Nt=E}function Pe(){return setTimeout(W,0),Nt=t.now()}function Ce(){try{return new C.ActiveXObject("Microsoft.XMLHTTP")}catch(e){}}function ce(){try{return new C.XMLHttpRequest}catch(e){}}function Ne(e,n){e.dataFilter&&(n=e.dataFilter(n,e.dataType));var r=e.dataTypes,i={},a,l,c=r.length,f,m=r[0],w,v,y,A,N;for(a=1;a<c;a++){if(a===1)for(l in e.converters)typeof l=="string"&&(i[l.toLowerCase()]=e.converters[l]);if(w=m,m=r[a],m==="*")m=w;else if(w!=="*"&&w!==m){if(v=w+" "+m,y=i[v]||i["* "+m],!y){N=E;for(A in i)if(f=A.split(" "),(f[0]===w||f[0]==="*")&&(N=i[f[1]+" "+m],N)){A=i[A],A===!0?y=N:N===!0&&(y=A);break}}!y&&!N&&t.error("No conversion from "+v.replace(" "," to ")),y!==!0&&(n=y?y(n):N(A(n)))}}return n}function st(e,n,r){var i=e.contents,a=e.dataTypes,l=e.responseFields,c,f,m,w;for(f in l)f in r&&(n[l[f]]=r[f]);for(;a[0]==="*";)a.shift(),c===E&&(c=e.mimeType||n.getResponseHeader("content-type"));if(c){for(f in i)if(i[f]&&i[f].test(c)){a.unshift(f);break}}if(a[0]in r)m=a[0];else{for(f in r){if(!a[0]||e.converters[f+" "+a[0]]){m=f;break}w||(w=f)}m=m||w}if(m)return m!==a[0]&&a.unshift(m),r[m]}function Xe(e,n,r,i){if(t.isArray(n))t.each(n,function(l,c){r||dn.test(e)?i(e,c):Xe(e+"["+(typeof c=="object"||t.isArray(c)?l:"")+"]",c,r,i)});else if(!r&&n!=null&&typeof n=="object")for(var a in n)Xe(e+"["+a+"]",n[a],r,i);else i(e,n)}function Ie(e,n){var r,i,a=t.ajaxSettings.flatOptions||{};for(r in n)n[r]!==E&&((a[r]?e:i||(i={}))[r]=n[r]);i&&t.extend(!0,e,i)}function te(e,n,r,i,a,l){a=a||n.dataTypes[0],l=l||{},l[a]=!0;for(var c=e[a],f=0,m=c?c.length:0,w=e===Et,v;f<m&&(w||!v);f++)v=c[f](n,r,i),typeof v=="string"&&(!w||l[v]?v=E:(n.dataTypes.unshift(v),v=te(e,n,r,i,v,l)));return(w||!v)&&!l["*"]&&(v=te(e,n,r,i,"*",l)),v}function ie(e){return function(n,r){if(typeof n!="string"&&(r=n,n="*"),t.isFunction(r))for(var i=n.toLowerCase().split(zt),a=0,l=i.length,c,f,m;a<l;a++)c=i[a],m=/^\+/.test(c),m&&(c=c.substr(1)||"*"),f=e[c]=e[c]||[],f[m?"unshift":"push"](r)}}function F(e,n,r){var i=n==="width"?e.offsetWidth:e.offsetHeight,a=n==="width"?un:cn;return i>0?(r!=="border"&&t.each(a,function(){r||(i-=parseFloat(t.css(e,"padding"+this))||0),r==="margin"?i+=parseFloat(t.css(e,r+this))||0:i-=parseFloat(t.css(e,"border"+this+"Width"))||0}),i+"px"):(i=vt(e,n,n),(i<0||i==null)&&(i=e.style[n]||0),i=parseFloat(i)||0,r&&t.each(a,function(){i+=parseFloat(t.css(e,"padding"+this))||0,r!=="padding"&&(i+=parseFloat(t.css(e,"border"+this+"Width"))||0),r==="margin"&&(i+=parseFloat(t.css(e,r+this))||0)}),i+"px")}function B(e,n){n.src?t.ajax({url:n.src,async:!1,dataType:"script"}):t.globalEval((n.text||n.textContent||n.innerHTML||"").replace(et,"/*$0*/")),n.parentNode&&n.parentNode.removeChild(n)}function Le(e){var n=(e.nodeName||"").toLowerCase();n==="input"?fe(e):n!=="script"&&typeof e.getElementsByTagName<"u"&&t.grep(e.getElementsByTagName("input"),fe)}function fe(e){(e.type==="checkbox"||e.type==="radio")&&(e.defaultChecked=e.checked)}function Te(e){return typeof e.getElementsByTagName<"u"?e.getElementsByTagName("*"):typeof e.querySelectorAll<"u"?e.querySelectorAll("*"):[]}function U(e,n){var r;n.nodeType===1&&(n.clearAttributes&&n.clearAttributes(),n.mergeAttributes&&n.mergeAttributes(e),r=n.nodeName.toLowerCase(),r==="object"?n.outerHTML=e.outerHTML:r!=="input"||e.type!=="checkbox"&&e.type!=="radio"?r==="option"?n.selected=e.defaultSelected:(r==="input"||r==="textarea")&&(n.defaultValue=e.defaultValue):(e.checked&&(n.defaultChecked=n.checked=e.checked),n.value!==e.value&&(n.value=e.value)),n.removeAttribute(t.expando))}function j(e,n){if(n.nodeType===1&&t.hasData(e)){var r,i,a,l=t._data(e),c=t._data(n,l),f=l.events;if(f){delete c.handle,c.events={};for(r in f)for(i=0,a=f[r].length;i<a;i++)t.event.add(n,r+(f[r][i].namespace?".":"")+f[r][i].namespace,f[r][i],f[r][i].data)}c.data&&(c.data=t.extend({},c.data))}}function he(e,n){return t.nodeName(e,"table")?e.getElementsByTagName("tbody")[0]||e.appendChild(e.ownerDocument.createElement("tbody")):e}function $(e){var n=nt.split(" "),r=e.createDocumentFragment();if(r.createElement)for(;n.length;)r.createElement(n.pop());return r}function ke(e,n,r){if(n=n||0,t.isFunction(n))return t.grep(e,function(a,l){var c=!!n.call(a,l,a);return c===r});if(n.nodeType)return t.grep(e,function(a,l){return a===n===r});if(typeof n=="string"){var i=t.grep(e,function(a){return a.nodeType===1});if(gt.test(n))return t.filter(n,i,!r);n=t.filter(n,i)}return t.grep(e,function(a,l){return t.inArray(a,n)>=0===r})}function de(e){return!e||!e.parentNode||e.parentNode.nodeType===11}function Ue(){return!0}function tt(){return!1}function ft(e,n,r){var i=n+"defer",a=n+"queue",l=n+"mark",c=t._data(e,i);c&&(r==="queue"||!t._data(e,a))&&(r==="mark"||!t._data(e,l))&&setTimeout(function(){!t._data(e,a)&&!t._data(e,l)&&(t.removeData(e,i,!0),c.fire())},0)}function Ye(e){for(var n in e)if(!(n==="data"&&t.isEmptyObject(e[n]))&&n!=="toJSON")return!1;return!0}function Fe(e,n,r){if(r===E&&e.nodeType===1){var i="data-"+n.replace(H,"-$1").toLowerCase();if(r=e.getAttribute(i),typeof r=="string"){try{r=r==="true"?!0:r==="false"?!1:r==="null"?null:t.isNumeric(r)?parseFloat(r):T.test(r)?t.parseJSON(r):r}catch(a){}t.data(e,n,r)}else r=E}return r}function xt(e){var n=d[e]={},r,i;for(e=e.split(/\s+/),r=0,i=e.length;r<i;r++)n[e[r]]=!0;return n}var D=C.document,s=C.navigator,o=C.location,t=function(){function e(){if(!n.isReady){try{D.documentElement.doScroll("left")}catch(h){setTimeout(e,1);return}n.ready()}}var n=function(h,S){return new n.fn.init(h,S,a)},r=C.jQuery,i=C.$,a,l=/^(?:[^#<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,c=/\S/,f=/^\s+/,m=/\s+$/,w=/\d/,v=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,y=/^[\],:{}\s]*$/,A=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,N=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,L=/(?:^|:|,)(?:\s*\[)+/g,X=/(webkit)[ \/]([\w.]+)/,Z=/(opera)(?:.*version)?[ \/]([\w.]+)/,Q=/(msie) ([\w.]+)/,ve=/(mozilla)(?:.*? rv:([\w.]+))?/,ye=/-([a-z]|[0-9])/ig,Y=/^-ms-/,u=function(h,S){return(S+"").toUpperCase()},p=s.userAgent,x,b,k,_=Object.prototype.toString,P=Object.prototype.hasOwnProperty,q=Array.prototype.push,O=Array.prototype.slice,z=String.prototype.trim,Ae=Array.prototype.indexOf,ge={};return n.fn=n.prototype={constructor:n,init:function(h,S,I){var M,K,ee,re;if(!h)return this;if(h.nodeType)return this.context=this[0]=h,this.length=1,this;if(h==="body"&&!S&&D.body)return this.context=D,this[0]=D.body,this.selector=h,this.length=1,this;if(typeof h=="string"){if(h.charAt(0)!=="<"||h.charAt(h.length-1)!==">"||h.length<3?M=l.exec(h):M=[null,h,null],M&&(M[1]||!S)){if(M[1])return S=S instanceof n?S[0]:S,re=S?S.ownerDocument||S:D,ee=v.exec(h),ee?n.isPlainObject(S)?(h=[D.createElement(ee[1])],n.fn.attr.call(h,S,!0)):h=[re.createElement(ee[1])]:(ee=n.buildFragment([M[1]],[re]),h=(ee.cacheable?n.clone(ee.fragment):ee.fragment).childNodes),n.merge(this,h);if(K=D.getElementById(M[2]),K&&K.parentNode){if(K.id!==M[2])return I.find(h);this.length=1,this[0]=K}return this.context=D,this.selector=h,this}return!S||S.jquery?(S||I).find(h):this.constructor(S).find(h)}return n.isFunction(h)?I.ready(h):(h.selector!==E&&(this.selector=h.selector,this.context=h.context),n.makeArray(h,this))},selector:"",jquery:"1.7",length:0,size:function(){return this.length},toArray:function(){return O.call(this,0)},get:function(h){return h==null?this.toArray():h<0?this[this.length+h]:this[h]},pushStack:function(h,S,I){var M=this.constructor();return n.isArray(h)?q.apply(M,h):n.merge(M,h),M.prevObject=this,M.context=this.context,S==="find"?M.selector=this.selector+(this.selector?" ":"")+I:S&&(M.selector=this.selector+"."+S+"("+I+")"),M},each:function(h,S){return n.each(this,h,S)},ready:function(h){return n.bindReady(),b.add(h),this},eq:function(h){return h===-1?this.slice(h):this.slice(h,+h+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(O.apply(this,arguments),"slice",O.call(arguments).join(","))},map:function(h){return this.pushStack(n.map(this,function(S,I){return h.call(S,I,S)}))},end:function(){return this.prevObject||this.constructor(null)},push:q,sort:[].sort,splice:[].splice},n.fn.init.prototype=n.fn,n.extend=n.fn.extend=function(){var h,S,I,M,K,ee,re=arguments[0]||{},_e=1,qe=arguments.length,Dt=!1;for(typeof re=="boolean"&&(Dt=re,re=arguments[1]||{},_e=2),typeof re!="object"&&!n.isFunction(re)&&(re={}),qe===_e&&(re=this,--_e);_e<qe;_e++)if((h=arguments[_e])!=null)for(S in h)I=re[S],M=h[S],re!==M&&(Dt&&M&&(n.isPlainObject(M)||(K=n.isArray(M)))?(K?(K=!1,ee=I&&n.isArray(I)?I:[]):ee=I&&n.isPlainObject(I)?I:{},re[S]=n.extend(Dt,ee,M)):M!==E&&(re[S]=M));return re},n.extend({noConflict:function(h){return C.$===n&&(C.$=i),h&&C.jQuery===n&&(C.jQuery=r),n},isReady:!1,readyWait:1,holdReady:function(h){h?n.readyWait++:n.ready(!0)},ready:function(h){if(h===!0&&!--n.readyWait||h!==!0&&!n.isReady){if(!D.body)return setTimeout(n.ready,1);if(n.isReady=!0,h!==!0&&--n.readyWait>0)return;b.fireWith(D,[n]),n.fn.trigger&&n(D).trigger("ready").unbind("ready")}},bindReady:function(){if(!b){if(b=n.Callbacks("once memory"),D.readyState==="complete")return setTimeout(n.ready,1);if(D.addEventListener)D.addEventListener("DOMContentLoaded",k,!1),C.addEventListener("load",n.ready,!1);else if(D.attachEvent){D.attachEvent("onreadystatechange",k),C.attachEvent("onload",n.ready);var h=!1;try{h=C.frameElement==null}catch(S){}D.documentElement.doScroll&&h&&e()}}},isFunction:function(h){return n.type(h)==="function"},isArray:Array.isArray||function(h){return n.type(h)==="array"},isWindow:function(h){return h&&typeof h=="object"&&"setInterval"in h},isNumeric:function(h){return h!=null&&w.test(h)&&!isNaN(h)},type:function(h){return h==null?String(h):ge[_.call(h)]||"object"},isPlainObject:function(h){if(!h||n.type(h)!=="object"||h.nodeType||n.isWindow(h))return!1;try{if(h.constructor&&!P.call(h,"constructor")&&!P.call(h.constructor.prototype,"isPrototypeOf"))return!1}catch(I){return!1}var S;for(S in h);return S===E||P.call(h,S)},isEmptyObject:function(h){for(var S in h)return!1;return!0},error:function(h){throw h},parseJSON:function(h){if(typeof h!="string"||!h)return null;if(h=n.trim(h),C.JSON&&C.JSON.parse)return C.JSON.parse(h);if(y.test(h.replace(A,"@").replace(N,"]").replace(L,"")))return new Function("return "+h)();n.error("Invalid JSON: "+h)},parseXML:function(h){var S,I;try{C.DOMParser?(I=new DOMParser,S=I.parseFromString(h,"text/xml")):(S=new ActiveXObject("Microsoft.XMLDOM"),S.async="false",S.loadXML(h))}catch(M){S=E}return(!S||!S.documentElement||S.getElementsByTagName("parsererror").length)&&n.error("Invalid XML: "+h),S},noop:function(){},globalEval:function(h){h&&c.test(h)&&(C.execScript||function(S){C.eval.call(C,S)})(h)},camelCase:function(h){return h.replace(Y,"ms-").replace(ye,u)},nodeName:function(h,S){return h.nodeName&&h.nodeName.toUpperCase()===S.toUpperCase()},each:function(h,S,I){var M,K=0,ee=h.length,re=ee===E||n.isFunction(h);if(I)if(re){for(M in h)if(S.apply(h[M],I)===!1)break}else for(;K<ee&&S.apply(h[K++],I)!==!1;);else if(re){for(M in h)if(S.call(h[M],M,h[M])===!1)break}else for(;K<ee&&S.call(h[K],K,h[K++])!==!1;);return h},trim:z?function(h){return h==null?"":z.call(h)}:function(h){return h==null?"":(h+"").replace(f,"").replace(m,"")},makeArray:function(h,S){var I=S||[];if(h!=null){var M=n.type(h);h.length==null||M==="string"||M==="function"||M==="regexp"||n.isWindow(h)?q.call(I,h):n.merge(I,h)}return I},inArray:function(h,S,I){var M;if(S){if(Ae)return Ae.call(S,h,I);for(M=S.length,I=I?I<0?Math.max(0,M+I):I:0;I<M;I++)if(I in S&&S[I]===h)return I}return-1},merge:function(h,S){var I=h.length,M=0;if(typeof S.length=="number")for(var K=S.length;M<K;M++)h[I++]=S[M];else for(;S[M]!==E;)h[I++]=S[M++];return h.length=I,h},grep:function(h,S,I){var M=[],K;I=!!I;for(var ee=0,re=h.length;ee<re;ee++)K=!!S(h[ee],ee),I!==K&&M.push(h[ee]);return M},map:function(h,S,I){var M,K,ee=[],re=0,_e=h.length,qe=h instanceof n||_e!==E&&typeof _e=="number"&&(_e>0&&h[0]&&h[_e-1]||_e===0||n.isArray(h));if(qe)for(;re<_e;re++)M=S(h[re],re,I),M!=null&&(ee[ee.length]=M);else for(K in h)M=S(h[K],K,I),M!=null&&(ee[ee.length]=M);return ee.concat.apply([],ee)},guid:1,proxy:function(h,S){if(typeof S=="string"){var I=h[S];S=h,h=I}if(!n.isFunction(h))return E;var M=O.call(arguments,2),K=function(){return h.apply(S,M.concat(O.call(arguments)))};return K.guid=h.guid=h.guid||K.guid||n.guid++,K},access:function(h,S,I,M,K,ee){var re=h.length;if(typeof S=="object"){for(var _e in S)n.access(h,_e,S[_e],M,K,I);return h}if(I!==E){M=!ee&&M&&n.isFunction(I);for(var qe=0;qe<re;qe++)K(h[qe],S,M?I.call(h[qe],qe,K(h[qe],S)):I,ee);return h}return re?K(h[0],S):E},now:function(){return new Date().getTime()},uaMatch:function(h){h=h.toLowerCase();var S=X.exec(h)||Z.exec(h)||Q.exec(h)||h.indexOf("compatible")<0&&ve.exec(h)||[];return{browser:S[1]||"",version:S[2]||"0"}},sub:function(){function h(I,M){return new h.fn.init(I,M)}n.extend(!0,h,this),h.superclass=this,h.fn=h.prototype=this(),h.fn.constructor=h,h.sub=this.sub,h.fn.init=function(I,M){return M&&M instanceof n&&!(M instanceof h)&&(M=h(M)),n.fn.init.call(this,I,M,S)},h.fn.init.prototype=h.fn;var S=h(D);return h},browser:{}}),n.each("Boolean Number String Function Array Date RegExp Object".split(" "),function(h,S){ge["[object "+S+"]"]=S.toLowerCase()}),x=n.uaMatch(p),x.browser&&(n.browser[x.browser]=!0,n.browser.version=x.version),n.browser.webkit&&(n.browser.safari=!0),c.test(" ")&&(f=/^[\s\xA0]+/,m=/[\s\xA0]+$/),a=n(D),D.addEventListener?k=function(){D.removeEventListener("DOMContentLoaded",k,!1),n.ready()}:D.attachEvent&&(k=function(){D.readyState==="complete"&&(D.detachEvent("onreadystatechange",k),n.ready())}),typeof define=="function"&&define.amd&&define.amd.jQuery&&define("jquery",[],function(){return n}),n}(),d={};t.Callbacks=function(e){e=e?d[e]||xt(e):{};var n=[],r=[],i,a,l,c,f,m=function(y){var A,N,L,X;for(A=0,N=y.length;A<N;A++)L=y[A],X=t.type(L),X==="array"?m(L):X==="function"&&(!e.unique||!v.has(L))&&n.push(L)},w=function(y,A){for(A=A||[],i=!e.memory||[y,A],a=!0,f=l||0,l=0,c=n.length;n&&f<c;f++)if(n[f].apply(y,A)===!1&&e.stopOnFalse){i=!0;break}a=!1,n&&(e.once?i===!0?v.disable():n=[]:r&&r.length&&(i=r.shift(),v.fireWith(i[0],i[1])))},v={add:function(){if(n){var y=n.length;m(arguments),a?c=n.length:i&&i!==!0&&(l=y,w(i[0],i[1]))}return this},remove:function(){if(n)for(var y=arguments,A=0,N=y.length;A<N;A++)for(var L=0;L<n.length&&!(y[A]===n[L]&&(a&&L<=c&&(c--,L<=f&&f--),n.splice(L--,1),e.unique));L++);return this},has:function(y){if(n){for(var A=0,N=n.length;A<N;A++)if(y===n[A])return!0}return!1},empty:function(){return n=[],this},disable:function(){return n=r=i=E,this},disabled:function(){return!n},lock:function(){return r=E,(!i||i===!0)&&v.disable(),this},locked:function(){return!r},fireWith:function(y,A){return r&&(a?e.once||r.push([y,A]):(!e.once||!i)&&w(y,A)),this},fire:function(){return v.fireWith(this,arguments),this},fired:function(){return!!i}};return v};var g=[].slice;t.extend({Deferred:function(e){var n=t.Callbacks("once memory"),r=t.Callbacks("once memory"),i=t.Callbacks("memory"),a="pending",l={resolve:n,reject:r,notify:i},c={done:n.add,fail:r.add,progress:i.add,state:function(){return a},isResolved:n.fired,isRejected:r.fired,then:function(w,v,y){return f.done(w).fail(v).progress(y),this},always:function(){return f.done.apply(f,arguments).fail.apply(f,arguments)},pipe:function(w,v,y){return t.Deferred(function(A){t.each({done:[w,"resolve"],fail:[v,"reject"],progress:[y,"notify"]},function(N,L){var X=L[0],Z=L[1],Q;t.isFunction(X)?f[N](function(){Q=X.apply(this,arguments),Q&&t.isFunction(Q.promise)?Q.promise().then(A.resolve,A.reject,A.notify):A[Z+"With"](this===f?A:this,[Q])}):f[N](A[Z])})}).promise()},promise:function(w){if(w==null)w=c;else for(var v in c)w[v]=c[v];return w}},f=c.promise({}),m;for(m in l)f[m]=l[m].fire,f[m+"With"]=l[m].fireWith;return f.done(function(){a="resolved"},r.disable,i.lock).fail(function(){a="rejected"},n.disable,i.lock),e&&e.call(f,f),f},when:function(e){function n(v){return function(y){c[v]=arguments.length>1?g.call(arguments,0):y,m.notifyWith(w,c)}}function r(v){return function(y){i[v]=arguments.length>1?g.call(arguments,0):y,--f||m.resolveWith(m,i)}}var i=g.call(arguments,0),a=0,l=i.length,c=Array(l),f=l,m=l<=1&&e&&t.isFunction(e.promise)?e:t.Deferred(),w=m.promise();if(l>1){for(;a<l;a++)i[a]&&i[a].promise&&t.isFunction(i[a].promise)?i[a].promise().then(r(a),m.reject,n(a)):--f;f||m.resolveWith(m,i)}else m!==e&&m.resolveWith(m,l?[e]:[]);return w}}),t.support=function(){var e=D.createElement("div"),n=D.documentElement,r,i,a,l,c,f,m,w,v,y,A,N,L,X,Z,Q;if(e.setAttribute("className","t"),e.innerHTML=" <link/><table></table><a href='/a' style='top:1px;float:left;opacity:.55;'>a</a><input type='checkbox'/><nav></nav>",r=e.getElementsByTagName("*"),i=e.getElementsByTagName("a")[0],!r||!r.length||!i)return{};a=D.createElement("select"),l=a.appendChild(D.createElement("option")),c=e.getElementsByTagName("input")[0],m={leadingWhitespace:e.firstChild.nodeType===3,tbody:!e.getElementsByTagName("tbody").length,htmlSerialize:!!e.getElementsByTagName("link").length,style:/top/.test(i.getAttribute("style")),hrefNormalized:i.getAttribute("href")==="/a",opacity:/^0.55/.test(i.style.opacity),cssFloat:!!i.style.cssFloat,unknownElems:!!e.getElementsByTagName("nav").length,checkOn:c.value==="on",optSelected:l.selected,getSetAttribute:e.className!=="t",enctype:!!D.createElement("form").enctype,submitBubbles:!0,changeBubbles:!0,focusinBubbles:!1,deleteExpando:!0,noCloneEvent:!0,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableMarginRight:!0},c.checked=!0,m.noCloneChecked=c.cloneNode(!0).checked,a.disabled=!0,m.optDisabled=!l.disabled;try{delete e.test}catch(ve){m.deleteExpando=!1}!e.addEventListener&&e.attachEvent&&e.fireEvent&&(e.attachEvent("onclick",function(){m.noCloneEvent=!1}),e.cloneNode(!0).fireEvent("onclick")),c=D.createElement("input"),c.value="t",c.setAttribute("type","radio"),m.radioValue=c.value==="t",c.setAttribute("checked","checked"),e.appendChild(c),w=D.createDocumentFragment(),w.appendChild(e.lastChild),m.checkClone=w.cloneNode(!0).cloneNode(!0).lastChild.checked,e.innerHTML="",e.style.width=e.style.paddingLeft="1px",v=D.getElementsByTagName("body")[0],A=D.createElement(v?"div":"body"),N={visibility:"hidden",width:0,height:0,border:0,margin:0,background:"none"},v&&t.extend(N,{position:"absolute",left:"-999px",top:"-999px"});for(Z in N)A.style[Z]=N[Z];if(A.appendChild(e),y=v||n,y.insertBefore(A,y.firstChild),m.appendChecked=c.checked,m.boxModel=e.offsetWidth===2,"zoom"in e.style&&(e.style.display="inline",e.style.zoom=1,m.inlineBlockNeedsLayout=e.offsetWidth===2,e.style.display="",e.innerHTML="<div style='width:4px;'></div>",m.shrinkWrapBlocks=e.offsetWidth!==2),e.innerHTML="<table><tr><td style='padding:0;border:0;display:none'></td><td>t</td></tr></table>",L=e.getElementsByTagName("td"),Q=L[0].offsetHeight===0,L[0].style.display="",L[1].style.display="none",m.reliableHiddenOffsets=Q&&L[0].offsetHeight===0,e.innerHTML="",D.defaultView&&D.defaultView.getComputedStyle&&(f=D.createElement("div"),f.style.width="0",f.style.marginRight="0",e.appendChild(f),m.reliableMarginRight=(parseInt((D.defaultView.getComputedStyle(f,null)||{marginRight:0}).marginRight,10)||0)===0),e.attachEvent)for(Z in{submit:1,change:1,focusin:1})X="on"+Z,Q=X in e,Q||(e.setAttribute(X,"return;"),Q=typeof e[X]=="function"),m[Z+"Bubbles"]=Q;return t(function(){var ve,ye,Y,u,p,x=1,b="position:absolute;top:0;left:0;width:1px;height:1px;margin:0;",k="visibility:hidden;border:0;",_="style='"+b+"border:5px solid #000;padding:0;'",P="<div "+_+"><div></div></div><table "+_+" cellpadding='0' cellspacing='0'><tr><td></td></tr></table>";v=D.getElementsByTagName("body")[0],!v||(ve=D.createElement("div"),ve.style.cssText=k+"width:0;height:0;position:static;top:0;margin-top:"+x+"px",v.insertBefore(ve,v.firstChild),A=D.createElement("div"),A.style.cssText=b+k,A.innerHTML=P,ve.appendChild(A),ye=A.firstChild,Y=ye.firstChild,u=ye.nextSibling.firstChild.firstChild,p={doesNotAddBorder:Y.offsetTop!==5,doesAddBorderForTableAndCells:u.offsetTop===5},Y.style.position="fixed",Y.style.top="20px",p.fixedPosition=Y.offsetTop===20||Y.offsetTop===15,Y.style.position=Y.style.top="",ye.style.overflow="hidden",ye.style.position="relative",p.subtractsBorderForOverflowNotVisible=Y.offsetTop===-5,p.doesNotIncludeMarginInBodyOffset=v.offsetTop!==x,v.removeChild(ve),A=ve=null,t.extend(m,p))}),A.innerHTML="",y.removeChild(A),A=w=a=l=v=f=e=c=null,m}(),t.boxModel=t.support.boxModel;var T=/^(?:\{.*\}|\[.*\])$/,H=/([A-Z])/g;t.extend({cache:{},uuid:0,expando:"jQuery"+(t.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?t.cache[e[t.expando]]:e[t.expando],!!e&&!Ye(e)},data:function(e,n,r,i){if(t.acceptData(e)){var a,l,c;t.expando;var f=typeof n=="string",m=e.nodeType,w=m?t.cache:e,v=m?e[t.expando]:e[t.expando]&&t.expando,y=n==="events";return(!v||!w[v]||!y&&!i&&!w[v].data)&&f&&r===E?void 0:(v||(m?e[t.expando]=v=++t.uuid:v=t.expando),w[v]||(w[v]={},m||(w[v].toJSON=t.noop)),(typeof n=="object"||typeof n=="function")&&(i?w[v]=t.extend(w[v],n):w[v].data=t.extend(w[v].data,n)),a=l=w[v],i||(l.data||(l.data={}),l=l.data),r!==E&&(l[t.camelCase(n)]=r),y&&!l[n]?a.events:(f?(c=l[n],c==null&&(c=l[t.camelCase(n)])):c=l,c))}},removeData:function(e,n,r){if(t.acceptData(e)){var i,a,l;t.expando;var c=e.nodeType,f=c?t.cache:e,m=c?e[t.expando]:t.expando;if(!f[m])return;if(n&&(i=r?f[m]:f[m].data,i)){for(t.isArray(n)?n=n:(n in i)?n=[n]:(n=t.camelCase(n),n in i?n=[n]:n=n.split(" ")),a=0,l=n.length;a<l;a++)delete i[n[a]];if(!(r?Ye:t.isEmptyObject)(i))return}if(!r&&(delete f[m].data,!Ye(f[m])))return;t.support.deleteExpando||!f.setInterval?delete f[m]:f[m]=null,c&&(t.support.deleteExpando?delete e[t.expando]:e.removeAttribute?e.removeAttribute(t.expando):e[t.expando]=null)}},_data:function(e,n,r){return t.data(e,n,r,!0)},acceptData:function(e){if(e.nodeName){var n=t.noData[e.nodeName.toLowerCase()];if(n)return n!==!0&&e.getAttribute("classid")===n}return!0}}),t.fn.extend({data:function(e,n){var r,i,a,l=null;if(typeof e>"u"){if(this.length&&(l=t.data(this[0]),this[0].nodeType===1&&!t._data(this[0],"parsedAttrs"))){i=this[0].attributes;for(var c=0,f=i.length;c<f;c++)a=i[c].name,a.indexOf("data-")===0&&(a=t.camelCase(a.substring(5)),Fe(this[0],a,l[a]));t._data(this[0],"parsedAttrs",!0)}return l}return typeof e=="object"?this.each(function(){t.data(this,e)}):(r=e.split("."),r[1]=r[1]?"."+r[1]:"",n===E?(l=this.triggerHandler("getData"+r[1]+"!",[r[0]]),l===E&&this.length&&(l=t.data(this[0],e),l=Fe(this[0],e,l)),l===E&&r[1]?this.data(r[0]):l):this.each(function(){var m=t(this),w=[r[0],n];m.triggerHandler("setData"+r[1]+"!",w),t.data(this,e,n),m.triggerHandler("changeData"+r[1]+"!",w)}))},removeData:function(e){return this.each(function(){t.removeData(this,e)})}}),t.extend({_mark:function(e,n){e&&(n=(n||"fx")+"mark",t._data(e,n,(t._data(e,n)||0)+1))},_unmark:function(e,n,r){if(e!==!0&&(r=n,n=e,e=!1),n){r=r||"fx";var i=r+"mark",a=e?0:(t._data(n,i)||1)-1;a?t._data(n,i,a):(t.removeData(n,i,!0),ft(n,r,"mark"))}},queue:function(e,n,r){var i;if(e)return n=(n||"fx")+"queue",i=t._data(e,n),r&&(!i||t.isArray(r)?i=t._data(e,n,t.makeArray(r)):i.push(r)),i||[]},dequeue:function(e,n){n=n||"fx";var r=t.queue(e,n),i=r.shift(),a={};i==="inprogress"&&(i=r.shift()),i&&(n==="fx"&&r.unshift("inprogress"),t._data(e,n+".run",a),i.call(e,function(){t.dequeue(e,n)},a)),r.length||(t.removeData(e,n+"queue "+n+".run",!0),ft(e,n,"queue"))}}),t.fn.extend({queue:function(e,n){return typeof e!="string"&&(n=e,e="fx"),n===E?t.queue(this[0],e):this.each(function(){var r=t.queue(this,e,n);e==="fx"&&r[0]!=="inprogress"&&t.dequeue(this,e)})},dequeue:function(e){return this.each(function(){t.dequeue(this,e)})},delay:function(e,n){return e=t.fx&&t.fx.speeds[e]||e,n=n||"fx",this.queue(n,function(r,i){var a=setTimeout(r,e);i.stop=function(){clearTimeout(a)}})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,n){function r(){--c||i.resolveWith(a,[a])}typeof e!="string"&&(e=E),e=e||"fx";for(var i=t.Deferred(),a=this,l=a.length,c=1,f=e+"defer",m=e+"queue",w=e+"mark",v;l--;)(v=t.data(a[l],f,E,!0)||(t.data(a[l],m,E,!0)||t.data(a[l],w,E,!0))&&t.data(a[l],f,t.Callbacks("once memory"),!0))&&(c++,v.add(r));return r(),i.promise()}});var R=/[\n\t\r]/g,G=/\s+/,ne=/\r/g,ae=/^(?:button|input)$/i,le=/^(?:button|input|object|select|textarea)$/i,De=/^a(?:rea)?$/i,Se=/^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,xe=t.support.getSetAttribute,me,He,Re;t.fn.extend({attr:function(e,n){return t.access(this,e,n,!0,t.attr)},removeAttr:function(e){return this.each(function(){t.removeAttr(this,e)})},prop:function(e,n){return t.access(this,e,n,!0,t.prop)},removeProp:function(e){return e=t.propFix[e]||e,this.each(function(){try{this[e]=E,delete this[e]}catch(n){}})},addClass:function(e){var n,r,i,a,l,c,f;if(t.isFunction(e))return this.each(function(m){t(this).addClass(e.call(this,m,this.className))});if(e&&typeof e=="string"){for(n=e.split(G),r=0,i=this.length;r<i;r++)if(a=this[r],a.nodeType===1)if(!a.className&&n.length===1)a.className=e;else{for(l=" "+a.className+" ",c=0,f=n.length;c<f;c++)~l.indexOf(" "+n[c]+" ")||(l+=n[c]+" ");a.className=t.trim(l)}}return this},removeClass:function(e){var n,r,i,a,l,c,f;if(t.isFunction(e))return this.each(function(m){t(this).removeClass(e.call(this,m,this.className))});if(e&&typeof e=="string"||e===E){for(n=(e||"").split(G),r=0,i=this.length;r<i;r++)if(a=this[r],a.nodeType===1&&a.className)if(e){for(l=(" "+a.className+" ").replace(R," "),c=0,f=n.length;c<f;c++)l=l.replace(" "+n[c]+" "," ");a.className=t.trim(l)}else a.className=""}return this},toggleClass:function(e,n){var r=typeof e,i=typeof n=="boolean";return t.isFunction(e)?this.each(function(a){t(this).toggleClass(e.call(this,a,this.className,n),n)}):this.each(function(){if(r==="string")for(var a,l=0,c=t(this),f=n,m=e.split(G);a=m[l++];)f=i?f:!c.hasClass(a),c[f?"addClass":"removeClass"](a);else(r==="undefined"||r==="boolean")&&(this.className&&t._data(this,"__className__",this.className),this.className=this.className||e===!1?"":t._data(this,"__className__")||"")})},hasClass:function(e){for(var n=" "+e+" ",r=0,i=this.length;r<i;r++)if(this[r].nodeType===1&&(" "+this[r].className+" ").replace(R," ").indexOf(n)>-1)return!0;return!1},val:function(e){var n,r,i,a=this[0];return arguments.length?(i=t.isFunction(e),this.each(function(l){var c=t(this),f;this.nodeType===1&&(i?f=e.call(this,l,c.val()):f=e,f==null?f="":typeof f=="number"?f+="":t.isArray(f)&&(f=t.map(f,function(m){return m==null?"":m+""})),n=t.valHooks[this.nodeName.toLowerCase()]||t.valHooks[this.type],(!n||!("set"in n)||n.set(this,f,"value")===E)&&(this.value=f))})):a?(n=t.valHooks[a.nodeName.toLowerCase()]||t.valHooks[a.type],n&&"get"in n&&(r=n.get(a,"value"))!==E?r:(r=a.value,typeof r=="string"?r.replace(ne,""):r==null?"":r)):E}}),t.extend({valHooks:{option:{get:function(e){var n=e.attributes.value;return!n||n.specified?e.value:e.text}},select:{get:function(e){var n,r,i,a,l=e.selectedIndex,c=[],f=e.options,m=e.type==="select-one";if(l<0)return null;for(r=m?l:0,i=m?l+1:f.length;r<i;r++)if(a=f[r],a.selected&&(t.support.optDisabled?!a.disabled:a.getAttribute("disabled")===null)&&(!a.parentNode.disabled||!t.nodeName(a.parentNode,"optgroup"))){if(n=t(a).val(),m)return n;c.push(n)}return m&&!c.length&&f.length?t(f[l]).val():c},set:function(e,n){var r=t.makeArray(n);return t(e).find("option").each(function(){this.selected=t.inArray(t(this).val(),r)>=0}),r.length||(e.selectedIndex=-1),r}}},attrFn:{val:!0,css:!0,html:!0,text:!0,data:!0,width:!0,height:!0,offset:!0},attr:function(e,n,r,i){var a,l,c,f=e.nodeType;return!e||f===3||f===8||f===2?E:i&&n in t.attrFn?t(e)[n](r):"getAttribute"in e?(c=f!==1||!t.isXMLDoc(e),c&&(n=n.toLowerCase(),l=t.attrHooks[n]||(Se.test(n)?He:me)),r!==E?r===null?(t.removeAttr(e,n),E):l&&"set"in l&&c&&(a=l.set(e,r,n))!==E?a:(e.setAttribute(n,""+r),r):l&&"get"in l&&c&&(a=l.get(e,n))!==null?a:(a=e.getAttribute(n),a===null?E:a)):t.prop(e,n,r)},removeAttr:function(e,n){var r,i,a,l,c=0;if(e.nodeType===1)for(i=(n||"").split(G),l=i.length;c<l;c++)a=i[c].toLowerCase(),r=t.propFix[a]||a,t.attr(e,a,""),e.removeAttribute(xe?a:r),Se.test(a)&&r in e&&(e[r]=!1)},attrHooks:{type:{set:function(e,n){if(ae.test(e.nodeName)&&e.parentNode)t.error("type property can't be changed");else if(!t.support.radioValue&&n==="radio"&&t.nodeName(e,"input")){var r=e.value;return e.setAttribute("type",n),r&&(e.value=r),n}}},value:{get:function(e,n){return me&&t.nodeName(e,"button")?me.get(e,n):n in e?e.value:null},set:function(e,n,r){if(me&&t.nodeName(e,"button"))return me.set(e,n,r);e.value=n}}},propFix:{tabindex:"tabIndex",readonly:"readOnly",for:"htmlFor",class:"className",maxlength:"maxLength",cellspacing:"cellSpacing",cellpadding:"cellPadding",rowspan:"rowSpan",colspan:"colSpan",usemap:"useMap",frameborder:"frameBorder",contenteditable:"contentEditable"},prop:function(e,n,r){var i,a,l,c=e.nodeType;return!e||c===3||c===8||c===2?E:(l=c!==1||!t.isXMLDoc(e),l&&(n=t.propFix[n]||n,a=t.propHooks[n]),r!==E?a&&"set"in a&&(i=a.set(e,r,n))!==E?i:e[n]=r:a&&"get"in a&&(i=a.get(e,n))!==null?i:e[n])},propHooks:{tabIndex:{get:function(e){var n=e.getAttributeNode("tabindex");return n&&n.specified?parseInt(n.value,10):le.test(e.nodeName)||De.test(e.nodeName)&&e.href?0:E}}}}),t.attrHooks.tabindex=t.propHooks.tabIndex,He={get:function(e,n){var r,i=t.prop(e,n);return i===!0||typeof i!="boolean"&&(r=e.getAttributeNode(n))&&r.nodeValue!==!1?n.toLowerCase():E},set:function(e,n,r){var i;return n===!1?t.removeAttr(e,r):(i=t.propFix[r]||r,i in e&&(e[i]=!0),e.setAttribute(r,r.toLowerCase())),r}},xe||(Re={name:!0,id:!0},me=t.valHooks.button={get:function(e,n){var r;return r=e.getAttributeNode(n),r&&(Re[n]?r.nodeValue!=="":r.specified)?r.nodeValue:E},set:function(e,n,r){var i=e.getAttributeNode(r);return i||(i=D.createAttribute(r),e.setAttributeNode(i)),i.nodeValue=n+""}},t.attrHooks.tabindex.set=me.set,t.each(["width","height"],function(e,n){t.attrHooks[n]=t.extend(t.attrHooks[n],{set:function(r,i){if(i==="")return r.setAttribute(n,"auto"),i}})}),t.attrHooks.contenteditable={get:me.get,set:function(e,n,r){n===""&&(n="false"),me.set(e,n,r)}}),t.support.hrefNormalized||t.each(["href","src","width","height"],function(e,n){t.attrHooks[n]=t.extend(t.attrHooks[n],{get:function(r){var i=r.getAttribute(n,2);return i===null?E:i}})}),t.support.style||(t.attrHooks.style={get:function(e){return e.style.cssText.toLowerCase()||E},set:function(e,n){return e.style.cssText=""+n}}),t.support.optSelected||(t.propHooks.selected=t.extend(t.propHooks.selected,{get:function(e){var n=e.parentNode;return n&&(n.selectedIndex,n.parentNode&&n.parentNode.selectedIndex),null}})),t.support.enctype||(t.propFix.enctype="encoding"),t.support.checkOn||t.each(["radio","checkbox"],function(){t.valHooks[this]={get:function(e){return e.getAttribute("value")===null?"on":e.value}}}),t.each(["radio","checkbox"],function(){t.valHooks[this]=t.extend(t.valHooks[this],{set:function(e,n){if(t.isArray(n))return e.checked=t.inArray(t(e).val(),n)>=0}})});var Be=/^(?:textarea|input|select)$/i,dt=/^([^\.]*)?(?:\.(.+))?$/,Ge=/\bhover(\.\S+)?/,Qe=/^key/,ht=/^(?:mouse|contextmenu)|click/,ze=/^(\w*)(?:#([\w\-]+))?(?:\.([\w\-]+))?$/,pt=function(e){var n=ze.exec(e);return n&&(n[1]=(n[1]||"").toLowerCase(),n[3]=n[3]&&new RegExp("(?:^|\\s)"+n[3]+"(?:\\s|$)")),n},kt=function(e,n){return(!n[1]||e.nodeName.toLowerCase()===n[1])&&(!n[2]||e.id===n[2])&&(!n[3]||n[3].test(e.className))},je=function(e){return t.event.special.hover?e:e.replace(Ge,"mouseenter$1 mouseleave$1")};t.event={add:function(e,n,r,i,a){var l,c,f,m,w,v,y,A,N,L,X;if(!(e.nodeType===3||e.nodeType===8||!n||!r||!(l=t._data(e)))){for(r.handler&&(N=r,r=N.handler),r.guid||(r.guid=t.guid++),f=l.events,f||(l.events=f={}),c=l.handle,c||(l.handle=c=function(Z){return typeof t<"u"&&(!Z||t.event.triggered!==Z.type)?t.event.dispatch.apply(c.elem,arguments):E},c.elem=e),n=je(n).split(" "),m=0;m<n.length;m++)w=dt.exec(n[m])||[],v=w[1],y=(w[2]||"").split(".").sort(),X=t.event.special[v]||{},v=(a?X.delegateType:X.bindType)||v,X=t.event.special[v]||{},A=t.extend({type:v,origType:w[1],data:i,handler:r,guid:r.guid,selector:a,namespace:y.join(".")},N),a&&(A.quick=pt(a),!A.quick&&t.expr.match.POS.test(a)&&(A.isPositional=!0)),L=f[v],L||(L=f[v]=[],L.delegateCount=0,(!X.setup||X.setup.call(e,i,y,c)===!1)&&(e.addEventListener?e.addEventListener(v,c,!1):e.attachEvent&&e.attachEvent("on"+v,c))),X.add&&(X.add.call(e,A),A.handler.guid||(A.handler.guid=r.guid)),a?L.splice(L.delegateCount++,0,A):L.push(A),t.event.global[v]=!0;e=null}},global:{},remove:function(e,n,r,i){var a=t.hasData(e)&&t._data(e),l,c,f,m,w,v,y,A,N,L,X;if(a&&(y=a.events)){for(n=je(n||"").split(" "),l=0;l<n.length;l++){if(c=dt.exec(n[l])||[],f=c[1],m=c[2],!f){m=m?"."+m:"";for(v in y)t.event.remove(e,v+m,r,i);return}if(A=t.event.special[f]||{},f=(i?A.delegateType:A.bindType)||f,L=y[f]||[],w=L.length,m=m?new RegExp("(^|\\.)"+m.split(".").sort().join("\\.(?:.*\\.)?")+"(\\.|$)"):null,r||m||i||A.remove)for(v=0;v<L.length;v++)X=L[v],(!r||r.guid===X.guid)&&(!m||m.test(X.namespace))&&(!i||i===X.selector||i==="**"&&X.selector)&&(L.splice(v--,1),X.selector&&L.delegateCount--,A.remove&&A.remove.call(e,X));else L.length=0;L.length===0&&w!==L.length&&((!A.teardown||A.teardown.call(e,m)===!1)&&t.removeEvent(e,f,a.handle),delete y[f])}t.isEmptyObject(y)&&(N=a.handle,N&&(N.elem=null),t.removeData(e,["events","handle"],!0))}},customEvent:{getData:!0,setData:!0,changeData:!0},trigger:function(e,n,r,i){if(!r||r.nodeType!==3&&r.nodeType!==8){var a=e.type||e,l=[],c,f,m,w,v,y,A,N,L,X;if(a.indexOf("!")>=0&&(a=a.slice(0,-1),f=!0),a.indexOf(".")>=0&&(l=a.split("."),a=l.shift(),l.sort()),(!r||t.event.customEvent[a])&&!t.event.global[a])return;if(e=typeof e=="object"?e[t.expando]?e:new t.Event(a,e):new t.Event(a),e.type=a,e.isTrigger=!0,e.exclusive=f,e.namespace=l.join("."),e.namespace_re=e.namespace?new RegExp("(^|\\.)"+l.join("\\.(?:.*\\.)?")+"(\\.|$)"):null,y=a.indexOf(":")<0?"on"+a:"",(i||!r)&&e.preventDefault(),!r){c=t.cache;for(m in c)c[m].events&&c[m].events[a]&&t.event.trigger(e,n,c[m].handle.elem,!0);return}if(e.result=E,e.target||(e.target=r),n=n!=null?t.makeArray(n):[],n.unshift(e),A=t.event.special[a]||{},A.trigger&&A.trigger.apply(r,n)===!1)return;if(L=[[r,A.bindType||a]],!i&&!A.noBubble&&!t.isWindow(r)){for(X=A.delegateType||a,v=null,w=r.parentNode;w;w=w.parentNode)L.push([w,X]),v=w;v&&v===r.ownerDocument&&L.push([v.defaultView||v.parentWindow||C,X])}for(m=0;m<L.length&&(w=L[m][0],e.type=L[m][1],N=(t._data(w,"events")||{})[e.type]&&t._data(w,"handle"),N&&N.apply(w,n),N=y&&w[y],N&&t.acceptData(w)&&N.apply(w,n),!e.isPropagationStopped());m++);return e.type=a,e.isDefaultPrevented()||(!A._default||A._default.apply(r.ownerDocument,n)===!1)&&(a!=="click"||!t.nodeName(r,"a"))&&t.acceptData(r)&&y&&r[a]&&(a!=="focus"&&a!=="blur"||e.target.offsetWidth!==0)&&!t.isWindow(r)&&(v=r[y],v&&(r[y]=null),t.event.triggered=a,r[a](),t.event.triggered=E,v&&(r[y]=v)),e.result}},dispatch:function(e){e=t.event.fix(e||C.event);var n=(t._data(this,"events")||{})[e.type]||[],r=n.delegateCount,i=[].slice.call(arguments,0),a=!e.exclusive&&!e.namespace,l=(t.event.special[e.type]||{}).handle,c=[],f,m,w,v,y,A,N,L,X,Z;if(i[0]=e,e.delegateTarget=this,r&&!e.target.disabled&&(!e.button||e.type!=="click"))for(w=e.target;w!=this;w=w.parentNode||this){for(y={},N=[],f=0;f<r;f++)L=n[f],X=L.selector,Z=y[X],L.isPositional?Z=(Z||(y[X]=t(X))).index(w)>=0:Z===E&&(Z=y[X]=L.quick?kt(w,L.quick):t(w).is(X)),Z&&N.push(L);N.length&&c.push({elem:w,matches:N})}for(n.length>r&&c.push({elem:this,matches:n.slice(r)}),f=0;f<c.length&&!e.isPropagationStopped();f++)for(A=c[f],e.currentTarget=A.elem,m=0;m<A.matches.length&&!e.isImmediatePropagationStopped();m++)L=A.matches[m],(a||!e.namespace&&!L.namespace||e.namespace_re&&e.namespace_re.test(L.namespace))&&(e.data=L.data,e.handleObj=L,v=(l||L.handler).apply(A.elem,i),v!==E&&(e.result=v,v===!1&&(e.preventDefault(),e.stopPropagation())));return e.result},props:"attrChange attrName relatedNode srcElement altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(e,n){return e.which==null&&(e.which=n.charCode!=null?n.charCode:n.keyCode),e}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement wheelDelta".split(" "),filter:function(e,n){var r,i,a,l=n.button,c=n.fromElement;return e.pageX==null&&n.clientX!=null&&(r=e.target.ownerDocument||D,i=r.documentElement,a=r.body,e.pageX=n.clientX+(i&&i.scrollLeft||a&&a.scrollLeft||0)-(i&&i.clientLeft||a&&a.clientLeft||0),e.pageY=n.clientY+(i&&i.scrollTop||a&&a.scrollTop||0)-(i&&i.clientTop||a&&a.clientTop||0)),!e.relatedTarget&&c&&(e.relatedTarget=c===e.target?n.toElement:c),!e.which&&l!==E&&(e.which=l&1?1:l&2?3:l&4?2:0),e}},fix:function(e){if(e[t.expando])return e;var n,r,i=e,a=t.event.fixHooks[e.type]||{},l=a.props?this.props.concat(a.props):this.props;for(e=t.Event(i),n=l.length;n;)r=l[--n],e[r]=i[r];return e.target||(e.target=i.srcElement||D),e.target.nodeType===3&&(e.target=e.target.parentNode),e.metaKey===E&&(e.metaKey=e.ctrlKey),a.filter?a.filter(e,i):e},special:{ready:{setup:t.bindReady},focus:{delegateType:"focusin",noBubble:!0},blur:{delegateType:"focusout",noBubble:!0},beforeunload:{setup:function(e,n,r){t.isWindow(this)&&(this.onbeforeunload=r)},teardown:function(e,n){this.onbeforeunload===n&&(this.onbeforeunload=null)}}},simulate:function(e,n,r,i){var a=t.extend(new t.Event,r,{type:e,isSimulated:!0,originalEvent:{}});i?t.event.trigger(a,null,n):t.event.dispatch.call(n,a),a.isDefaultPrevented()&&r.preventDefault()}},t.event.handle=t.event.dispatch,t.removeEvent=D.removeEventListener?function(e,n,r){e.removeEventListener&&e.removeEventListener(n,r,!1)}:function(e,n,r){e.detachEvent&&e.detachEvent("on"+n,r)},t.Event=function(e,n){if(!(this instanceof t.Event))return new t.Event(e,n);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||e.returnValue===!1||e.getPreventDefault&&e.getPreventDefault()?Ue:tt):this.type=e,n&&t.extend(this,n),this.timeStamp=e&&e.timeStamp||t.now(),this[t.expando]=!0},t.Event.prototype={preventDefault:function(){this.isDefaultPrevented=Ue;var e=this.originalEvent;!e||(e.preventDefault?e.preventDefault():e.returnValue=!1)},stopPropagation:function(){this.isPropagationStopped=Ue;var e=this.originalEvent;!e||(e.stopPropagation&&e.stopPropagation(),e.cancelBubble=!0)},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=Ue,this.stopPropagation()},isDefaultPrevented:tt,isPropagationStopped:tt,isImmediatePropagationStopped:tt},t.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(e,n){t.event.special[e]=t.event.special[n]={delegateType:n,bindType:n,handle:function(r){var i=this,a=r.relatedTarget,l=r.handleObj;l.selector;var c,f;return(!a||l.origType===r.type||a!==i&&!t.contains(i,a))&&(c=r.type,r.type=l.origType,f=l.handler.apply(this,arguments),r.type=c),f}}}),t.support.submitBubbles||(t.event.special.submit={setup:function(){if(t.nodeName(this,"form"))return!1;t.event.add(this,"click._submit keypress._submit",function(e){var n=e.target,r=t.nodeName(n,"input")||t.nodeName(n,"button")?n.form:E;r&&!r._submit_attached&&(t.event.add(r,"submit._submit",function(i){this.parentNode&&t.event.simulate("submit",this.parentNode,i,!0)}),r._submit_attached=!0)})},teardown:function(){if(t.nodeName(this,"form"))return!1;t.event.remove(this,"._submit")}}),t.support.changeBubbles||(t.event.special.change={setup:function(){if(Be.test(this.nodeName))return(this.type==="checkbox"||this.type==="radio")&&(t.event.add(this,"propertychange._change",function(e){e.originalEvent.propertyName==="checked"&&(this._just_changed=!0)}),t.event.add(this,"click._change",function(e){this._just_changed&&(this._just_changed=!1,t.event.simulate("change",this,e,!0))})),!1;t.event.add(this,"beforeactivate._change",function(e){var n=e.target;Be.test(n.nodeName)&&!n._change_attached&&(t.event.add(n,"change._change",function(r){this.parentNode&&!r.isSimulated&&t.event.simulate("change",this.parentNode,r,!0)}),n._change_attached=!0)})},handle:function(e){var n=e.target;if(this!==n||e.isSimulated||e.isTrigger||n.type!=="radio"&&n.type!=="checkbox")return e.handleObj.handler.apply(this,arguments)},teardown:function(){return t.event.remove(this,"._change"),Be.test(this.nodeName)}}),t.support.focusinBubbles||t.each({focus:"focusin",blur:"focusout"},function(e,n){var r=0,i=function(a){t.event.simulate(n,a.target,t.event.fix(a),!0)};t.event.special[n]={setup:function(){r++===0&&D.addEventListener(e,i,!0)},teardown:function(){--r===0&&D.removeEventListener(e,i,!0)}}}),t.fn.extend({on:function(e,n,r,i,a){var l,c;if(typeof e=="object"){typeof n!="string"&&(r=n,n=E);for(c in e)this.on(c,n,r,e[c],a);return this}if(r==null&&i==null?(i=n,r=n=E):i==null&&(typeof n=="string"?(i=r,r=E):(i=r,r=n,n=E)),i===!1)i=tt;else if(!i)return this;return a===1&&(l=i,i=function(f){return t().off(f),l.apply(this,arguments)},i.guid=l.guid||(l.guid=t.guid++)),this.each(function(){t.event.add(this,e,i,r,n)})},one:function(e,n,r,i){return this.on.call(this,e,n,r,i,1)},off:function(e,n,r){if(e&&e.preventDefault&&e.handleObj){var i=e.handleObj;return t(e.delegateTarget).off(i.namespace?i.type+"."+i.namespace:i.type,i.selector,i.handler),this}if(typeof e=="object"){for(var a in e)this.off(a,n,e[a]);return this}return(n===!1||typeof n=="function")&&(r=n,n=E),r===!1&&(r=tt),this.each(function(){t.event.remove(this,e,r,n)})},bind:function(e,n,r){return this.on(e,null,n,r)},unbind:function(e,n){return this.off(e,null,n)},live:function(e,n,r){return t(this.context).on(e,this.selector,n,r),this},die:function(e,n){return t(this.context).off(e,this.selector||"**",n),this},delegate:function(e,n,r,i){return this.on(n,e,r,i)},undelegate:function(e,n,r){return arguments.length==1?this.off(e,"**"):this.off(n,e,r)},trigger:function(e,n){return this.each(function(){t.event.trigger(e,n,this)})},triggerHandler:function(e,n){if(this[0])return t.event.trigger(e,n,this[0],!0)},toggle:function(e){var n=arguments,r=e.guid||t.guid++,i=0,a=function(l){var c=(t._data(this,"lastToggle"+e.guid)||0)%i;return t._data(this,"lastToggle"+e.guid,c+1),l.preventDefault(),n[c].apply(this,arguments)||!1};for(a.guid=r;i<n.length;)n[i++].guid=r;return this.click(a)},hover:function(e,n){return this.mouseenter(e).mouseleave(n||e)}}),t.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(e,n){t.fn[n]=function(r,i){return i==null&&(i=r,r=null),arguments.length>0?this.bind(n,r,i):this.trigger(n)},t.attrFn&&(t.attrFn[n]=!0),Qe.test(n)&&(t.event.fixHooks[n]=t.event.keyHooks),ht.test(n)&&(t.event.fixHooks[n]=t.event.mouseHooks)}),function(){function e(u,p,x,b,k,_){for(var P=0,q=b.length;P<q;P++){var O=b[P];if(O){var z=!1;for(O=O[u];O;){if(O[i]===x){z=b[O.sizset];break}if(O.nodeType===1){if(_||(O[i]=x,O.sizset=P),typeof p!="string"){if(O===p){z=!0;break}}else if(y.filter(p,[O]).length>0){z=O;break}}O=O[u]}b[P]=z}}}function n(u,p,x,b,k,_){for(var P=0,q=b.length;P<q;P++){var O=b[P];if(O){var z=!1;for(O=O[u];O;){if(O[i]===x){z=b[O.sizset];break}if(O.nodeType===1&&!_&&(O[i]=x,O.sizset=P),O.nodeName.toLowerCase()===p){z=O;break}O=O[u]}b[P]=z}}}var r=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,i="sizcache"+(Math.random()+"").replace(".",""),a=0,l=Object.prototype.toString,c=!1,f=!0,m=/\\/g,w=/\r\n/g,v=/\W/;[0,0].sort(function(){return f=!1,0});var y=function(u,p,x,b){x=x||[],p=p||D;var k=p;if(p.nodeType!==1&&p.nodeType!==9)return[];if(!u||typeof u!="string")return x;var _,P,q,O,z,Ae,ge,h,S=!0,I=y.isXML(p),M=[],K=u;do if(r.exec(""),_=r.exec(K),_&&(K=_[3],M.push(_[1]),_[2])){O=_[3];break}while(_);if(M.length>1&&L.exec(u))if(M.length===2&&N.relative[M[0]])P=Y(M[0]+M[1],p,b);else for(P=N.relative[M[0]]?[p]:y(M.shift(),p);M.length;)u=M.shift(),N.relative[u]&&(u+=M.shift()),P=Y(u,P,b);else if(!b&&M.length>1&&p.nodeType===9&&!I&&N.match.ID.test(M[0])&&!N.match.ID.test(M[M.length-1])&&(z=y.find(M.shift(),p,I),p=z.expr?y.filter(z.expr,z.set)[0]:z.set[0]),p)for(z=b?{expr:M.pop(),set:Q(b)}:y.find(M.pop(),M.length===1&&(M[0]==="~"||M[0]==="+")&&p.parentNode?p.parentNode:p,I),P=z.expr?y.filter(z.expr,z.set):z.set,M.length>0?q=Q(P):S=!1;M.length;)Ae=M.pop(),ge=Ae,N.relative[Ae]?ge=M.pop():Ae="",ge==null&&(ge=p),N.relative[Ae](q,ge,I);else q=M=[];if(q||(q=P),q||y.error(Ae||u),l.call(q)==="[object Array]")if(!S)x.push.apply(x,q);else if(p&&p.nodeType===1)for(h=0;q[h]!=null;h++)q[h]&&(q[h]===!0||q[h].nodeType===1&&y.contains(p,q[h]))&&x.push(P[h]);else for(h=0;q[h]!=null;h++)q[h]&&q[h].nodeType===1&&x.push(P[h]);else Q(q,x);return O&&(y(O,k,x,b),y.uniqueSort(x)),x};y.uniqueSort=function(u){if(ve&&(c=f,u.sort(ve),c))for(var p=1;p<u.length;p++)u[p]===u[p-1]&&u.splice(p--,1);return u},y.matches=function(u,p){return y(u,null,null,p)},y.matchesSelector=function(u,p){return y(p,null,null,[u]).length>0},y.find=function(u,p,x){var b,k,_,P,q,O;if(!u)return[];for(k=0,_=N.order.length;k<_;k++)if(q=N.order[k],(P=N.leftMatch[q].exec(u))&&(O=P[1],P.splice(1,1),O.substr(O.length-1)!=="\\"&&(P[1]=(P[1]||"").replace(m,""),b=N.find[q](P,p,x),b!=null))){u=u.replace(N.match[q],"");break}return b||(b=typeof p.getElementsByTagName<"u"?p.getElementsByTagName("*"):[]),{set:b,expr:u}},y.filter=function(u,p,x,b){for(var k,_,P,q,O,z,Ae,ge,h,S=u,I=[],M=p,K=p&&p[0]&&y.isXML(p[0]);u&&p.length;){for(P in N.filter)if((k=N.leftMatch[P].exec(u))!=null&&k[2]){if(z=N.filter[P],Ae=k[1],_=!1,k.splice(1,1),Ae.substr(Ae.length-1)==="\\")continue;if(M===I&&(I=[]),N.preFilter[P]){if(k=N.preFilter[P](k,M,x,I,b,K),!k)_=q=!0;else if(k===!0)continue}if(k)for(ge=0;(O=M[ge])!=null;ge++)O&&(q=z(O,k,ge,M),h=b^q,x&&q!=null?h?_=!0:M[ge]=!1:h&&(I.push(O),_=!0));if(q!==E){if(x||(M=I),u=u.replace(N.match[P],""),!_)return[];break}}if(u===S)if(_==null)y.error(u);else break;S=u}return M},y.error=function(u){throw"Syntax error, unrecognized expression: "+u};var A=y.getText=function(u){var p,x,b=u.nodeType,k="";if(b){if(b===1){if(typeof u.textContent=="string")return u.textContent;if(typeof u.innerText=="string")return u.innerText.replace(w,"");for(u=u.firstChild;u;u=u.nextSibling)k+=A(u)}else if(b===3||b===4)return u.nodeValue}else for(p=0;x=u[p];p++)x.nodeType!==8&&(k+=A(x));return k},N=y.selectors={order:["ID","NAME","TAG"],match:{ID:/#((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,CLASS:/\.((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,NAME:/\[name=['"]*((?:[\w\u00c0-\uFFFF\-]|\\.)+)['"]*\]/,ATTR:/\[\s*((?:[\w\u00c0-\uFFFF\-]|\\.)+)\s*(?:(\S?=)\s*(?:(['"])(.*?)\3|(#?(?:[\w\u00c0-\uFFFF\-]|\\.)*)|)|)\s*\]/,TAG:/^((?:[\w\u00c0-\uFFFF\*\-]|\\.)+)/,CHILD:/:(only|nth|last|first)-child(?:\(\s*(even|odd|(?:[+\-]?\d+|(?:[+\-]?\d*)?n\s*(?:[+\-]\s*\d+)?))\s*\))?/,POS:/:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^\-]|$)/,PSEUDO:/:((?:[\w\u00c0-\uFFFF\-]|\\.)+)(?:\((['"]?)((?:\([^\)]+\)|[^\(\)]*)+)\2\))?/},leftMatch:{},attrMap:{class:"className",for:"htmlFor"},attrHandle:{href:function(u){return u.getAttribute("href")},type:function(u){return u.getAttribute("type")}},relative:{"+":function(u,p){var x=typeof p=="string",b=x&&!v.test(p),k=x&&!b;b&&(p=p.toLowerCase());for(var _=0,P=u.length,q;_<P;_++)if(q=u[_]){for(;(q=q.previousSibling)&&q.nodeType!==1;);u[_]=k||q&&q.nodeName.toLowerCase()===p?q||!1:q===p}k&&y.filter(p,u,!0)},">":function(u,p){var x,b=typeof p=="string",k=0,_=u.length;if(b&&!v.test(p)){for(p=p.toLowerCase();k<_;k++)if(x=u[k],x){var P=x.parentNode;u[k]=P.nodeName.toLowerCase()===p?P:!1}}else{for(;k<_;k++)x=u[k],x&&(u[k]=b?x.parentNode:x.parentNode===p);b&&y.filter(p,u,!0)}},"":function(u,p,x){var b,k=a++,_=e;typeof p=="string"&&!v.test(p)&&(p=p.toLowerCase(),b=p,_=n),_("parentNode",p,k,u,b,x)},"~":function(u,p,x){var b,k=a++,_=e;typeof p=="string"&&!v.test(p)&&(p=p.toLowerCase(),b=p,_=n),_("previousSibling",p,k,u,b,x)}},find:{ID:function(u,p,x){if(typeof p.getElementById<"u"&&!x){var b=p.getElementById(u[1]);return b&&b.parentNode?[b]:[]}},NAME:function(u,p){if(typeof p.getElementsByName<"u"){for(var x=[],b=p.getElementsByName(u[1]),k=0,_=b.length;k<_;k++)b[k].getAttribute("name")===u[1]&&x.push(b[k]);return x.length===0?null:x}},TAG:function(u,p){if(typeof p.getElementsByTagName<"u")return p.getElementsByTagName(u[1])}},preFilter:{CLASS:function(u,p,x,b,k,_){if(u=" "+u[1].replace(m,"")+" ",_)return u;for(var P=0,q;(q=p[P])!=null;P++)q&&(k^(q.className&&(" "+q.className+" ").replace(/[\t\n\r]/g," ").indexOf(u)>=0)?x||b.push(q):x&&(p[P]=!1));return!1},ID:function(u){return u[1].replace(m,"")},TAG:function(u,p){return u[1].replace(m,"").toLowerCase()},CHILD:function(u){if(u[1]==="nth"){u[2]||y.error(u[0]),u[2]=u[2].replace(/^\+|\s*/g,"");var p=/(-?)(\d*)(?:n([+\-]?\d*))?/.exec(u[2]==="even"&&"2n"||u[2]==="odd"&&"2n+1"||!/\D/.test(u[2])&&"0n+"+u[2]||u[2]);u[2]=p[1]+(p[2]||1)-0,u[3]=p[3]-0}else u[2]&&y.error(u[0]);return u[0]=a++,u},ATTR:function(u,p,x,b,k,_){var P=u[1]=u[1].replace(m,"");return!_&&N.attrMap[P]&&(u[1]=N.attrMap[P]),u[4]=(u[4]||u[5]||"").replace(m,""),u[2]==="~="&&(u[4]=" "+u[4]+" "),u},PSEUDO:function(u,p,x,b,k){if(u[1]==="not")if((r.exec(u[3])||"").length>1||/^\w/.test(u[3]))u[3]=y(u[3],null,null,p);else{var _=y.filter(u[3],p,x,!0^k);return x||b.push.apply(b,_),!1}else if(N.match.POS.test(u[0])||N.match.CHILD.test(u[0]))return!0;return u},POS:function(u){return u.unshift(!0),u}},filters:{enabled:function(u){return u.disabled===!1&&u.type!=="hidden"},disabled:function(u){return u.disabled===!0},checked:function(u){return u.checked===!0},selected:function(u){return u.parentNode&&u.parentNode.selectedIndex,u.selected===!0},parent:function(u){return!!u.firstChild},empty:function(u){return!u.firstChild},has:function(u,p,x){return!!y(x[3],u).length},header:function(u){return/h\d/i.test(u.nodeName)},text:function(u){var p=u.getAttribute("type"),x=u.type;return u.nodeName.toLowerCase()==="input"&&x==="text"&&(p===x||p===null)},radio:function(u){return u.nodeName.toLowerCase()==="input"&&u.type==="radio"},checkbox:function(u){return u.nodeName.toLowerCase()==="input"&&u.type==="checkbox"},file:function(u){return u.nodeName.toLowerCase()==="input"&&u.type==="file"},password:function(u){return u.nodeName.toLowerCase()==="input"&&u.type==="password"},submit:function(u){var p=u.nodeName.toLowerCase();return(p==="input"||p==="button")&&u.type==="submit"},image:function(u){return u.nodeName.toLowerCase()==="input"&&u.type==="image"},reset:function(u){var p=u.nodeName.toLowerCase();return(p==="input"||p==="button")&&u.type==="reset"},button:function(u){var p=u.nodeName.toLowerCase();return p==="input"&&u.type==="button"||p==="button"},input:function(u){return/input|select|textarea|button/i.test(u.nodeName)},focus:function(u){return u===u.ownerDocument.activeElement}},setFilters:{first:function(u,p){return p===0},last:function(u,p,x,b){return p===b.length-1},even:function(u,p){return p%2===0},odd:function(u,p){return p%2===1},lt:function(u,p,x){return p<x[3]-0},gt:function(u,p,x){return p>x[3]-0},nth:function(u,p,x){return x[3]-0===p},eq:function(u,p,x){return x[3]-0===p}},filter:{PSEUDO:function(u,p,x,b){var k=p[1],_=N.filters[k];if(_)return _(u,x,p,b);if(k==="contains")return(u.textContent||u.innerText||A([u])||"").indexOf(p[3])>=0;if(k==="not"){for(var P=p[3],q=0,O=P.length;q<O;q++)if(P[q]===u)return!1;return!0}y.error(k)},CHILD:function(u,p){var x,b,k,_,P,q,O=p[1],z=u;switch(O){case"only":case"first":for(;z=z.previousSibling;)if(z.nodeType===1)return!1;if(O==="first")return!0;z=u;case"last":for(;z=z.nextSibling;)if(z.nodeType===1)return!1;return!0;case"nth":if(x=p[2],b=p[3],x===1&&b===0)return!0;if(k=p[0],_=u.parentNode,_&&(_[i]!==k||!u.nodeIndex)){for(P=0,z=_.firstChild;z;z=z.nextSibling)z.nodeType===1&&(z.nodeIndex=++P);_[i]=k}return q=u.nodeIndex-b,x===0?q===0:q%x===0&&q/x>=0}},ID:function(u,p){return u.nodeType===1&&u.getAttribute("id")===p},TAG:function(u,p){return p==="*"&&u.nodeType===1||!!u.nodeName&&u.nodeName.toLowerCase()===p},CLASS:function(u,p){return(" "+(u.className||u.getAttribute("class"))+" ").indexOf(p)>-1},ATTR:function(u,p){var x=p[1],b=y.attr?y.attr(u,x):N.attrHandle[x]?N.attrHandle[x](u):u[x]!=null?u[x]:u.getAttribute(x),k=b+"",_=p[2],P=p[4];return b==null?_==="!=":!_&&y.attr?b!=null:_==="="?k===P:_==="*="?k.indexOf(P)>=0:_==="~="?(" "+k+" ").indexOf(P)>=0:P?_==="!="?k!==P:_==="^="?k.indexOf(P)===0:_==="$="?k.substr(k.length-P.length)===P:_==="|="?k===P||k.substr(0,P.length+1)===P+"-":!1:k&&b!==!1},POS:function(u,p,x,b){var k=p[2],_=N.setFilters[k];if(_)return _(u,x,p,b)}}},L=N.match.POS,X=function(u,p){return"\\"+(p-0+1)};for(var Z in N.match)N.match[Z]=new RegExp(N.match[Z].source+/(?![^\[]*\])(?![^\(]*\))/.source),N.leftMatch[Z]=new RegExp(/(^(?:.|\r|\n)*?)/.source+N.match[Z].source.replace(/\\(\d+)/g,X));var Q=function(u,p){return u=Array.prototype.slice.call(u,0),p?(p.push.apply(p,u),p):u};try{Array.prototype.slice.call(D.documentElement.childNodes,0)[0].nodeType}catch(u){Q=function(p,x){var b=0,k=x||[];if(l.call(p)==="[object Array]")Array.prototype.push.apply(k,p);else if(typeof p.length=="number")for(var _=p.length;b<_;b++)k.push(p[b]);else for(;p[b];b++)k.push(p[b]);return k}}var ve,ye;D.documentElement.compareDocumentPosition?ve=function(u,p){return u===p?(c=!0,0):!u.compareDocumentPosition||!p.compareDocumentPosition?u.compareDocumentPosition?-1:1:u.compareDocumentPosition(p)&4?-1:1}:(ve=function(u,p){if(u===p)return c=!0,0;if(u.sourceIndex&&p.sourceIndex)return u.sourceIndex-p.sourceIndex;var x,b,k=[],_=[],P=u.parentNode,q=p.parentNode,O=P;if(P===q)return ye(u,p);if(!P)return-1;if(!q)return 1;for(;O;)k.unshift(O),O=O.parentNode;for(O=q;O;)_.unshift(O),O=O.parentNode;x=k.length,b=_.length;for(var z=0;z<x&&z<b;z++)if(k[z]!==_[z])return ye(k[z],_[z]);return z===x?ye(u,_[z],-1):ye(k[z],p,1)},ye=function(u,p,x){if(u===p)return x;for(var b=u.nextSibling;b;){if(b===p)return-1;b=b.nextSibling}return 1}),function(){var u=D.createElement("div"),p="script"+new Date().getTime(),x=D.documentElement;u.innerHTML="<a name='"+p+"'/>",x.insertBefore(u,x.firstChild),D.getElementById(p)&&(N.find.ID=function(b,k,_){if(typeof k.getElementById<"u"&&!_){var P=k.getElementById(b[1]);return P?P.id===b[1]||typeof P.getAttributeNode<"u"&&P.getAttributeNode("id").nodeValue===b[1]?[P]:E:[]}},N.filter.ID=function(b,k){var _=typeof b.getAttributeNode<"u"&&b.getAttributeNode("id");return b.nodeType===1&&_&&_.nodeValue===k}),x.removeChild(u),x=u=null}(),function(){var u=D.createElement("div");u.appendChild(D.createComment("")),u.getElementsByTagName("*").length>0&&(N.find.TAG=function(p,x){var b=x.getElementsByTagName(p[1]);if(p[1]==="*"){for(var k=[],_=0;b[_];_++)b[_].nodeType===1&&k.push(b[_]);b=k}return b}),u.innerHTML="<a href='#'></a>",u.firstChild&&typeof u.firstChild.getAttribute<"u"&&u.firstChild.getAttribute("href")!=="#"&&(N.attrHandle.href=function(p){return p.getAttribute("href",2)}),u=null}(),D.querySelectorAll&&function(){var u=y,p=D.createElement("div"),x="__sizzle__";if(p.innerHTML="<p class='TEST'></p>",!p.querySelectorAll||p.querySelectorAll(".TEST").length!==0){y=function(k,_,P,q){if(_=_||D,!q&&!y.isXML(_)){var O=/^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec(k);if(O&&(_.nodeType===1||_.nodeType===9)){if(O[1])return Q(_.getElementsByTagName(k),P);if(O[2]&&N.find.CLASS&&_.getElementsByClassName)return Q(_.getElementsByClassName(O[2]),P)}if(_.nodeType===9){if(k==="body"&&_.body)return Q([_.body],P);if(O&&O[3]){var z=_.getElementById(O[3]);if(!z||!z.parentNode)return Q([],P);if(z.id===O[3])return Q([z],P)}try{return Q(_.querySelectorAll(k),P)}catch(M){}}else if(_.nodeType===1&&_.nodeName.toLowerCase()!=="object"){var Ae=_,ge=_.getAttribute("id"),h=ge||x,S=_.parentNode,I=/^\s*[+~]/.test(k);ge?h=h.replace(/'/g,"\\$&"):_.setAttribute("id",h),I&&S&&(_=_.parentNode);try{if(!I||S)return Q(_.querySelectorAll("[id='"+h+"'] "+k),P)}catch(M){}finally{ge||Ae.removeAttribute("id")}}}return u(k,_,P,q)};for(var b in u)y[b]=u[b];p=null}}(),function(){var u=D.documentElement,p=u.matchesSelector||u.mozMatchesSelector||u.webkitMatchesSelector||u.msMatchesSelector;if(p){var x=!p.call(D.createElement("div"),"div"),b=!1;try{p.call(D.documentElement,"[test!='']:sizzle")}catch(k){b=!0}y.matchesSelector=function(k,_){if(_=_.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']"),!y.isXML(k))try{if(b||!N.match.PSEUDO.test(_)&&!/!=/.test(_)){var P=p.call(k,_);if(P||!x||k.document&&k.document.nodeType!==11)return P}}catch(q){}return y(_,null,null,[k]).length>0}}}(),function(){var u=D.createElement("div");if(u.innerHTML="<div class='test e'></div><div class='test'></div>",u.getElementsByClassName&&u.getElementsByClassName("e").length!==0){if(u.lastChild.className="e",u.getElementsByClassName("e").length===1)return;N.order.splice(1,0,"CLASS"),N.find.CLASS=function(p,x,b){if(typeof x.getElementsByClassName<"u"&&!b)return x.getElementsByClassName(p[1])},u=null}}(),D.documentElement.contains?y.contains=function(u,p){return u!==p&&(u.contains?u.contains(p):!0)}:D.documentElement.compareDocumentPosition?y.contains=function(u,p){return!!(u.compareDocumentPosition(p)&16)}:y.contains=function(){return!1},y.isXML=function(u){var p=(u?u.ownerDocument||u:0).documentElement;return p?p.nodeName!=="HTML":!1};var Y=function(u,p,x){for(var b,k=[],_="",P=p.nodeType?[p]:p;b=N.match.PSEUDO.exec(u);)_+=b[0],u=u.replace(N.match.PSEUDO,"");u=N.relative[u]?u+"*":u;for(var q=0,O=P.length;q<O;q++)y(u,P[q],k,x);return y.filter(_,k)};y.attr=t.attr,y.selectors.attrMap={},t.find=y,t.expr=y.selectors,t.expr[":"]=t.expr.filters,t.unique=y.uniqueSort,t.text=y.getText,t.isXMLDoc=y.isXML,t.contains=y.contains}();var bt=/Until$/,pe=/^(?:parents|prevUntil|prevAll)/,Mt=/,/,gt=/^.[^:#\[\.,]*$/,At=Array.prototype.slice,Ze=t.expr.match.POS,Ke={children:!0,contents:!0,next:!0,prev:!0};t.fn.extend({find:function(e){var n=this,r,i;if(typeof e!="string")return t(e).filter(function(){for(r=0,i=n.length;r<i;r++)if(t.contains(n[r],this))return!0});var a=this.pushStack("","find",e),l,c,f;for(r=0,i=this.length;r<i;r++)if(l=a.length,t.find(e,this[r],a),r>0){for(c=l;c<a.length;c++)for(f=0;f<l;f++)if(a[f]===a[c]){a.splice(c--,1);break}}return a},has:function(e){var n=t(e);return this.filter(function(){for(var r=0,i=n.length;r<i;r++)if(t.contains(this,n[r]))return!0})},not:function(e){return this.pushStack(ke(this,e,!1),"not",e)},filter:function(e){return this.pushStack(ke(this,e,!0),"filter",e)},is:function(e){return!!e&&(typeof e=="string"?Ze.test(e)?t(e,this.context).index(this[0])>=0:t.filter(e,this).length>0:this.filter(e).length>0)},closest:function(e,n){var r=[],i,a,l=this[0];if(t.isArray(e)){for(var c=1;l&&l.ownerDocument&&l!==n;){for(i=0;i<e.length;i++)t(l).is(e[i])&&r.push({selector:e[i],elem:l,level:c});l=l.parentNode,c++}return r}var f=Ze.test(e)||typeof e!="string"?t(e,n||this.context):0;for(i=0,a=this.length;i<a;i++)for(l=this[i];l;){if(f?f.index(l)>-1:t.find.matchesSelector(l,e)){r.push(l);break}if(l=l.parentNode,!l||!l.ownerDocument||l===n||l.nodeType===11)break}return r=r.length>1?t.unique(r):r,this.pushStack(r,"closest",e)},index:function(e){return e?typeof e=="string"?t.inArray(this[0],t(e)):t.inArray(e.jquery?e[0]:e,this):this[0]&&this[0].parentNode?this.prevAll().length:-1},add:function(e,n){var r=typeof e=="string"?t(e,n):t.makeArray(e&&e.nodeType?[e]:e),i=t.merge(this.get(),r);return this.pushStack(de(r[0])||de(i[0])?i:t.unique(i))},andSelf:function(){return this.add(this.prevObject)}}),t.each({parent:function(e){var n=e.parentNode;return n&&n.nodeType!==11?n:null},parents:function(e){return t.dir(e,"parentNode")},parentsUntil:function(e,n,r){return t.dir(e,"parentNode",r)},next:function(e){return t.nth(e,2,"nextSibling")},prev:function(e){return t.nth(e,2,"previousSibling")},nextAll:function(e){return t.dir(e,"nextSibling")},prevAll:function(e){return t.dir(e,"previousSibling")},nextUntil:function(e,n,r){return t.dir(e,"nextSibling",r)},prevUntil:function(e,n,r){return t.dir(e,"previousSibling",r)},siblings:function(e){return t.sibling(e.parentNode.firstChild,e)},children:function(e){return t.sibling(e.firstChild)},contents:function(e){return t.nodeName(e,"iframe")?e.contentDocument||e.contentWindow.document:t.makeArray(e.childNodes)}},function(e,n){t.fn[e]=function(r,i){var a=t.map(this,n,r),l=At.call(arguments);return bt.test(e)||(i=r),i&&typeof i=="string"&&(a=t.filter(i,a)),a=this.length>1&&!Ke[e]?t.unique(a):a,(this.length>1||Mt.test(i))&&pe.test(e)&&(a=a.reverse()),this.pushStack(a,e,l.join(","))}}),t.extend({filter:function(e,n,r){return r&&(e=":not("+e+")"),n.length===1?t.find.matchesSelector(n[0],e)?[n[0]]:[]:t.find.matches(e,n)},dir:function(e,n,r){for(var i=[],a=e[n];a&&a.nodeType!==9&&(r===E||a.nodeType!==1||!t(a).is(r));)a.nodeType===1&&i.push(a),a=a[n];return i},nth:function(e,n,r,i){n=n||1;for(var a=0;e&&!(e.nodeType===1&&++a===n);e=e[r]);return e},sibling:function(e,n){for(var r=[];e;e=e.nextSibling)e.nodeType===1&&e!==n&&r.push(e);return r}});var nt="abbr article aside audio canvas datalist details figcaption figure footer header hgroup mark meter nav output progress section summary time video",mt=/ jQuery\d+="(?:\d+|null)"/g,ue=/^\s+/,Me=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,se=/<([\w:]+)/,Oe=/<tbody/i,Je=/<|&#?\w+;/,rt=/<(?:script|style)/i,ot=/<(?:script|object|embed|option|style)/i,$e=new RegExp("<(?:"+nt.replace(" ","|")+")","i"),it=/checked\s*(?:[^=]|=\s*.checked.)/i,at=/\/(java|ecma)script/i,et=/^\s*<!(?:\[CDATA\[|\-\-)/,be={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],area:[1,"<map>","</map>"],_default:[0,"",""]},nn=$(D);be.optgroup=be.option,be.tbody=be.tfoot=be.colgroup=be.caption=be.thead,be.th=be.td,t.support.htmlSerialize||(be._default=[1,"div<div>","</div>"]),t.fn.extend({text:function(e){return t.isFunction(e)?this.each(function(n){var r=t(this);r.text(e.call(this,n,r.text()))}):typeof e!="object"&&e!==E?this.empty().append((this[0]&&this[0].ownerDocument||D).createTextNode(e)):t.text(this)},wrapAll:function(e){if(t.isFunction(e))return this.each(function(r){t(this).wrapAll(e.call(this,r))});if(this[0]){var n=t(e,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&n.insertBefore(this[0]),n.map(function(){for(var r=this;r.firstChild&&r.firstChild.nodeType===1;)r=r.firstChild;return r}).append(this)}return this},wrapInner:function(e){return t.isFunction(e)?this.each(function(n){t(this).wrapInner(e.call(this,n))}):this.each(function(){var n=t(this),r=n.contents();r.length?r.wrapAll(e):n.append(e)})},wrap:function(e){return this.each(function(){t(this).wrapAll(e)})},unwrap:function(){return this.parent().each(function(){t.nodeName(this,"body")||t(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,!0,function(e){this.nodeType===1&&this.appendChild(e)})},prepend:function(){return this.domManip(arguments,!0,function(e){this.nodeType===1&&this.insertBefore(e,this.firstChild)})},before:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(n){this.parentNode.insertBefore(n,this)});if(arguments.length){var e=t(arguments[0]);return e.push.apply(e,this.toArray()),this.pushStack(e,"before",arguments)}},after:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(n){this.parentNode.insertBefore(n,this.nextSibling)});if(arguments.length){var e=this.pushStack(this,"after",arguments);return e.push.apply(e,t(arguments[0]).toArray()),e}},remove:function(e,n){for(var r=0,i;(i=this[r])!=null;r++)(!e||t.filter(e,[i]).length)&&(!n&&i.nodeType===1&&(t.cleanData(i.getElementsByTagName("*")),t.cleanData([i])),i.parentNode&&i.parentNode.removeChild(i));return this},empty:function(){for(var e=0,n;(n=this[e])!=null;e++)for(n.nodeType===1&&t.cleanData(n.getElementsByTagName("*"));n.firstChild;)n.removeChild(n.firstChild);return this},clone:function(e,n){return e=e==null?!1:e,n=n==null?e:n,this.map(function(){return t.clone(this,e,n)})},html:function(e){if(e===E)return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(mt,""):null;if(typeof e=="string"&&!rt.test(e)&&(t.support.leadingWhitespace||!ue.test(e))&&!be[(se.exec(e)||["",""])[1].toLowerCase()]){e=e.replace(Me,"<$1></$2>");try{for(var n=0,r=this.length;n<r;n++)this[n].nodeType===1&&(t.cleanData(this[n].getElementsByTagName("*")),this[n].innerHTML=e)}catch(i){this.empty().append(e)}}else t.isFunction(e)?this.each(function(i){var a=t(this);a.html(e.call(this,i,a.html()))}):this.empty().append(e);return this},replaceWith:function(e){return this[0]&&this[0].parentNode?t.isFunction(e)?this.each(function(n){var r=t(this),i=r.html();r.replaceWith(e.call(this,n,i))}):(typeof e!="string"&&(e=t(e).detach()),this.each(function(){var n=this.nextSibling,r=this.parentNode;t(this).remove(),n?t(n).before(e):t(r).append(e)})):this.length?this.pushStack(t(t.isFunction(e)?e():e),"replaceWith",e):this},detach:function(e){return this.remove(e,!0)},domManip:function(e,n,r){var i,a,l,c,f=e[0],m=[];if(!t.support.checkClone&&arguments.length===3&&typeof f=="string"&&it.test(f))return this.each(function(){t(this).domManip(e,n,r,!0)});if(t.isFunction(f))return this.each(function(A){var N=t(this);e[0]=f.call(this,A,n?N.html():E),N.domManip(e,n,r)});if(this[0]){if(c=f&&f.parentNode,t.support.parentNode&&c&&c.nodeType===11&&c.childNodes.length===this.length?i={fragment:c}:i=t.buildFragment(e,this,m),l=i.fragment,l.childNodes.length===1?a=l=l.firstChild:a=l.firstChild,a){n=n&&t.nodeName(a,"tr");for(var w=0,v=this.length,y=v-1;w<v;w++)r.call(n?he(this[w]):this[w],i.cacheable||v>1&&w<y?t.clone(l,!0,!0):l)}m.length&&t.each(m,B)}return this}}),t.buildFragment=function(e,n,r){var i,a,l,c,f=e[0];return n&&n[0]&&(c=n[0].ownerDocument||n[0]),c.createDocumentFragment||(c=D),e.length===1&&typeof f=="string"&&f.length<512&&c===D&&f.charAt(0)==="<"&&!ot.test(f)&&(t.support.checkClone||!it.test(f))&&!t.support.unknownElems&&$e.test(f)&&(a=!0,l=t.fragments[f],l&&l!==1&&(i=l)),i||(i=c.createDocumentFragment(),t.clean(e,c,i,r)),a&&(t.fragments[f]=l?i:1),{fragment:i,cacheable:a}},t.fragments={},t.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,n){t.fn[e]=function(r){var i=[],a=t(r),l=this.length===1&&this[0].parentNode;if(l&&l.nodeType===11&&l.childNodes.length===1&&a.length===1)return a[n](this[0]),this;for(var c=0,f=a.length;c<f;c++){var m=(c>0?this.clone(!0):this).get();t(a[c])[n](m),i=i.concat(m)}return this.pushStack(i,e,a.selector)}}),t.extend({clone:function(e,n,r){var i=e.cloneNode(!0),a,l,c;if((!t.support.noCloneEvent||!t.support.noCloneChecked)&&(e.nodeType===1||e.nodeType===11)&&!t.isXMLDoc(e))for(U(e,i),a=Te(e),l=Te(i),c=0;a[c];++c)l[c]&&U(a[c],l[c]);if(n&&(j(e,i),r))for(a=Te(e),l=Te(i),c=0;a[c];++c)j(a[c],l[c]);return a=l=null,i},clean:function(e,n,r,i){var a;n=n||D,typeof n.createElement>"u"&&(n=n.ownerDocument||n[0]&&n[0].ownerDocument||D);for(var l=[],c,f=0,m;(m=e[f])!=null;f++)if(typeof m=="number"&&(m+=""),!!m){if(typeof m=="string")if(!Je.test(m))m=n.createTextNode(m);else{m=m.replace(Me,"<$1></$2>");var w=(se.exec(m)||["",""])[1].toLowerCase(),v=be[w]||be._default,y=v[0],A=n.createElement("div");for(n===D?nn.appendChild(A):$(n).appendChild(A),A.innerHTML=v[1]+m+v[2];y--;)A=A.lastChild;if(!t.support.tbody){var N=Oe.test(m),L=w==="table"&&!N?A.firstChild&&A.firstChild.childNodes:v[1]==="<table>"&&!N?A.childNodes:[];for(c=L.length-1;c>=0;--c)t.nodeName(L[c],"tbody")&&!L[c].childNodes.length&&L[c].parentNode.removeChild(L[c])}!t.support.leadingWhitespace&&ue.test(m)&&A.insertBefore(n.createTextNode(ue.exec(m)[0]),A.firstChild),m=A.childNodes}var X;if(!t.support.appendChecked)if(m[0]&&typeof(X=m.length)=="number")for(c=0;c<X;c++)Le(m[c]);else Le(m);m.nodeType?l.push(m):l=t.merge(l,m)}if(r)for(a=function(Q){return!Q.type||at.test(Q.type)},f=0;l[f];f++)if(i&&t.nodeName(l[f],"script")&&(!l[f].type||l[f].type.toLowerCase()==="text/javascript"))i.push(l[f].parentNode?l[f].parentNode.removeChild(l[f]):l[f]);else{if(l[f].nodeType===1){var Z=t.grep(l[f].getElementsByTagName("script"),a);l.splice.apply(l,[f+1,0].concat(Z))}r.appendChild(l[f])}return l},cleanData:function(e){for(var n,r,i=t.cache,a=t.event.special,l=t.support.deleteExpando,c=0,f;(f=e[c])!=null;c++)if(!(f.nodeName&&t.noData[f.nodeName.toLowerCase()])&&(r=f[t.expando],r)){if(n=i[r],n&&n.events){for(var m in n.events)a[m]?t.event.remove(f,m):t.removeEvent(f,m,n.handle);n.handle&&(n.handle.elem=null)}l?delete f[t.expando]:f.removeAttribute&&f.removeAttribute(t.expando),delete i[r]}}});var St=/alpha\([^)]*\)/i,rn=/opacity=([^)]*)/,sn=/([A-Z]|^ms)/g,Bt=/^-?\d+(?:px)?$/i,on=/^-?\d/,an=/^([\-+])=([\-+.\de]+)/,ln={position:"absolute",visibility:"hidden",display:"block"},un=["Left","Right"],cn=["Top","Bottom"],vt,qt,Wt;t.fn.css=function(e,n){return arguments.length===2&&n===E?this:t.access(this,e,n,!0,function(r,i,a){return a!==E?t.style(r,i,a):t.css(r,i)})},t.extend({cssHooks:{opacity:{get:function(e,n){if(n){var r=vt(e,"opacity","opacity");return r===""?"1":r}return e.style.opacity}}},cssNumber:{fillOpacity:!0,fontWeight:!0,lineHeight:!0,opacity:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{float:t.support.cssFloat?"cssFloat":"styleFloat"},style:function(e,n,r,i){if(e&&e.nodeType!==3&&e.nodeType!==8&&e.style){var a,l,c=t.camelCase(n),f=e.style,m=t.cssHooks[c];if(n=t.cssProps[c]||c,r===E)return m&&"get"in m&&(a=m.get(e,!1,i))!==E?a:f[n];if(l=typeof r,l==="string"&&(a=an.exec(r))&&(r=+(a[1]+1)*+a[2]+parseFloat(t.css(e,n)),l="number"),r==null||l==="number"&&isNaN(r))return;if(l==="number"&&!t.cssNumber[c]&&(r+="px"),!m||!("set"in m)||(r=m.set(e,r))!==E)try{f[n]=r}catch(w){}}},css:function(e,n,r){var i,a;if(n=t.camelCase(n),a=t.cssHooks[n],n=t.cssProps[n]||n,n==="cssFloat"&&(n="float"),a&&"get"in a&&(i=a.get(e,!0,r))!==E)return i;if(vt)return vt(e,n)},swap:function(e,n,r){var i={};for(var a in n)i[a]=e.style[a],e.style[a]=n[a];r.call(e);for(a in n)e.style[a]=i[a]}}),t.curCSS=t.css,t.each(["height","width"],function(e,n){t.cssHooks[n]={get:function(r,i,a){var l;if(i)return r.offsetWidth!==0?F(r,n,a):(t.swap(r,ln,function(){l=F(r,n,a)}),l)},set:function(r,i){if(!Bt.test(i))return i;if(i=parseFloat(i),i>=0)return i+"px"}}}),t.support.opacity||(t.cssHooks.opacity={get:function(e,n){return rn.test((n&&e.currentStyle?e.currentStyle.filter:e.style.filter)||"")?parseFloat(RegExp.$1)/100+"":n?"1":""},set:function(e,n){var r=e.style,i=e.currentStyle,a=t.isNumeric(n)?"alpha(opacity="+n*100+")":"",l=i&&i.filter||r.filter||"";r.zoom=1,!(n>=1&&t.trim(l.replace(St,""))===""&&(r.removeAttribute("filter"),i&&!i.filter))&&(r.filter=St.test(l)?l.replace(St,a):l+" "+a)}}),t(function(){t.support.reliableMarginRight||(t.cssHooks.marginRight={get:function(e,n){var r;return t.swap(e,{display:"inline-block"},function(){n?r=vt(e,"margin-right","marginRight"):r=e.style.marginRight}),r}})}),D.defaultView&&D.defaultView.getComputedStyle&&(qt=function(e,n){var r,i,a;return n=n.replace(sn,"-$1").toLowerCase(),(i=e.ownerDocument.defaultView)?((a=i.getComputedStyle(e,null))&&(r=a.getPropertyValue(n),r===""&&!t.contains(e.ownerDocument.documentElement,e)&&(r=t.style(e,n))),r):E}),D.documentElement.currentStyle&&(Wt=function(e,n){var r,i,a,l=e.currentStyle&&e.currentStyle[n],c=e.style;return l===null&&c&&(a=c[n])&&(l=a),!Bt.test(l)&&on.test(l)&&(r=c.left,i=e.runtimeStyle&&e.runtimeStyle.left,i&&(e.runtimeStyle.left=e.currentStyle.left),c.left=n==="fontSize"?"1em":l||0,l=c.pixelLeft+"px",c.left=r,i&&(e.runtimeStyle.left=i)),l===""?"auto":l}),vt=qt||Wt,t.expr&&t.expr.filters&&(t.expr.filters.hidden=function(e){var n=e.offsetWidth,r=e.offsetHeight;return n===0&&r===0||!t.support.reliableHiddenOffsets&&(e.style&&e.style.display||t.css(e,"display"))==="none"},t.expr.filters.visible=function(e){return!t.expr.filters.hidden(e)});var fn=/%20/g,dn=/\[\]$/,Ht=/\r?\n/g,hn=/#.*$/,pn=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,gn=/^(?:color|date|datetime|datetime-local|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,mn=/^(?:about|app|app\-storage|.+\-extension|file|res|widget):$/,vn=/^(?:GET|HEAD)$/,yn=/^\/\//,Rt=/\?/,wn=/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,xn=/^(?:select|textarea)/i,zt=/\s+/,bn=/([?&])_=[^&]*/,Vt=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+))?)?/,Xt=t.fn.load,Et={},Ut={},lt,ut,Yt=["*/"]+["*"];try{lt=o.href}catch(e){lt=D.createElement("a"),lt.href="",lt=lt.href}ut=Vt.exec(lt.toLowerCase())||[],t.fn.extend({load:function(e,n,r){if(typeof e!="string"&&Xt)return Xt.apply(this,arguments);if(!this.length)return this;var i=e.indexOf(" ");if(i>=0){var a=e.slice(i,e.length);e=e.slice(0,i)}var l="GET";n&&(t.isFunction(n)?(r=n,n=E):typeof n=="object"&&(n=t.param(n,t.ajaxSettings.traditional),l="POST"));var c=this;return t.ajax({url:e,type:l,dataType:"html",data:n,complete:function(f,m,w){w=f.responseText,f.isResolved()&&(f.done(function(v){w=v}),c.html(a?t("<div>").append(w.replace(wn,"")).find(a):w)),r&&c.each(r,[w,m,f])}}),this},serialize:function(){return t.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?t.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||xn.test(this.nodeName)||gn.test(this.type))}).map(function(e,n){var r=t(this).val();return r==null?null:t.isArray(r)?t.map(r,function(i,a){return{name:n.name,value:i.replace(Ht,`\r
  3. ========
  4. import{d as $t,q as Nn,K as Mn,r as Tt,x as Ot,y as en,$ as Sn,w as En,a as V,z as Ft,N as Pn,V as Ln,Y as Dn,Q as It,Z as Fn,A as ct,C as jt,a8 as jn,U as On,a9 as In,av as Zt,aw as Bn}from"./index-010a77d0.js";import{a as qn,b as Wn,c as Hn}from"./api-bfb30f1c.js";import{I as Kt}from"./index-9492e0e5.js";import{L as Rn}from"./index-ed76276f.js";import{T as Jt}from"./index-74a828ec.js";const zn="_container_qc6ti_1",Vn="_head_qc6ti_12",Xn="_back_qc6ti_20",Un="_downBtn_qc6ti_35",Yn="_activeBtn_qc6ti_46",Gn="_icon_qc6ti_46",Qn="_iconUp_qc6ti_72",Zn="_popover_qc6ti_77",Kn="_content_qc6ti_96",Jn="_courseDetails_qc6ti_101",$n="_wrap_qc6ti_101",er="_wrapRight_qc6ti_104",tr="_emtpyWrap_qc6ti_118",nr="_warpSection_qc6ti_121",rr="_wrapItem_qc6ti_148",ir="_item_qc6ti_158",sr="_name_qc6ti_189",or="_containerImg_qc6ti_196",ar="_cover_qc6ti_222",lr="_loaded_qc6ti_252",ur="_book_qc6ti_255",cr="_bookWrap_qc6ti_269",fr="_show_qc6ti_277",dr="_wrapLeft_qc6ti_282",hr="_courseWrapItem_qc6ti_286",pr="_useTime_qc6ti_294",gr="_popupContainer_qc6ti_305",mr="_searchList_qc6ti_311",vr="_popoverTitle_qc6ti_317",yr="_popupList_qc6ti_333",wr="_subjectItem_qc6ti_355",xr="_arrow_qc6ti_373",br="_active_qc6ti_46",Ar="_btnGroup_qc6ti_394",Tr="_btnSure_qc6ti_409",J={container:zn,head:Vn,back:Xn,downBtn:Un,activeBtn:Yn,icon:Gn,iconUp:Qn,popover:Zn,content:Kn,courseDetails:Jn,wrap:$n,wrapRight:er,emtpyWrap:tr,warpSection:nr,wrapItem:rr,item:ir,name:sr,containerImg:or,cover:ar,loaded:lr,book:ur,bookWrap:cr,show:fr,wrapLeft:dr,courseWrapItem:hr,useTime:pr,popupContainer:gr,searchList:mr,popoverTitle:vr,popupList:yr,subjectItem:wr,arrow:xr,active:br,btnGroup:Ar,btnSure:Tr},tn=""+new URL("icon_back-b80c2fc2.svg",import.meta.url).href,kr=""+new URL("use-time-5a873036.png",import.meta.url).href,_r="_book_134pz_1",Cr="_back_134pz_11",Nr="_bookHide_134pz_16",Mr="_wrap_134pz_36",Sr="_wrapItem_134pz_53",Er="_item_134pz_60",Pr="_name_134pz_69",Lr="_des_134pz_76",Dr="_icon_134pz_81",Fr="_last_134pz_86",jr="_preIcon_134pz_129",Or="_nameText_134pz_135",Ir="_nameTextActive_134pz_141",Ee={book:_r,back:Cr,bookHide:Nr,wrap:Mr,wrapItem:Sr,item:Er,name:Pr,des:Lr,icon:Dr,last:Fr,preIcon:jr,nameText:Or,nameTextActive:Ir},Br="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAKKADAAQAAAABAAAAKAAAAAB65masAAAFDElEQVRYCcWZy24cRRSGT3XPxbHj+MIlwXLCJkJKkLJmzSICicfIhi0Pwg55k9dASF6AxAOwQAIhgRRkQpwQRMaZxjOeme7i/8+pmqtlVwMzLqlVl66u+uo/p0731DiZS/6s+754eYTmhyL+DsrX57r892obQzon0nkmUlUF5jnCoIcizcfujXd+mJ4AvSx571tyVnyO2qfifRbbl5K3NwCIKU5eiJSDyRTOVagcyM7+Z845vaGAAe4rgH046b3EUuuaSNYQOX0l0oeAC8l9Lbv7HxPSlKJyq4IjTFkaUgtKnpsg1KuntKa44HPfL92sMyAwnJoZefGXyODvmbtaobl940GmG2LZPrcwvZ/43saOSKO10MMEGz6iibFbryCNsAfKke3mzbdN0UWMh873X3eXEkoWJzu/pYkNk2PDMJVDmPtUhPAV/dQVzvdeQ+8rTjlMTDMzNs6lgD7XmlTFukZ9XEPx1UA8Vu0rlGG2CkpU2KllWUnlR8i9lJWXUVXJta1bcuOt27MzMBbyypsWfhgjA2w64M9firz8EdIT6gwvAEzqGlJlTSmlgXLTymgrxcoVy2zHpX2Rd4tiETDi0sS8plIiINT67Vu8kezJyuU6KQHsAgQgWfaA8Ch7vWftpfYnLPr4RTNO8SwUEwHDcxjbS6Yg40mpngAYbwYqWY3LOYC4kLgIgybkN0/gBhjpvd1cbm/Zu2KBLDSkA3oPVUy5aC6aNyrH3ANyUg/3CA0ohScs6s8LvnKxWF/+j4CAU6WQm/kAS7W0DhiFoGoRCPcIHKAM3u4HcZKyZAVpLvoXFYgKTnKCEsZAI5T2jSaP9/F8nXSxA0yNZGAThQyIZm2JW9sOgKauKQ3goGD0TbZzoXVS8nI4me5QNRkmUvM2ZOv+R9Lc2pM+Pj47v/8kvdPClEY/6xNVxe6Gz3KMGA1SQNMBaVoqgJybw8ydS7Z2Q+dZ296TW7hOOy/kz+MnMuz1gsnNT6m4PV9PwXQTB3PpBlFQbgKoIbNxbX37pty594G8uXcXiyDUrG+qginShT7JCkaTTmKbmXmObzx13myrv9mOByh8T1Vcjg+6MDjVMBNz09Cn5hXswwf/eP5UOt3uJCbyGaqpeT0TJyvICUwNvnttNzIOjgZ9yVvrctYr5OXxr9I5OVHTR19lHtWPz49lTijUADQwew/bjib08S/fSWN9Wwp8BNiHQVBZfS/ERy0HUCyqTkoHxMDxy8XMFXwKn1T9AuZE+Bj72XRflmlaQsIlqGidlNxbgy4m01eWmtvim4Yb1OMrzlwhqm1QsQ9dgs/XScm9LVzQfAYWYxpNHu9FECo53r1UEFf0Qy6gTkruHb9UxmCMi/wwBTBhDCCYE/W4EDUv6hGept5slfiSEXn3kk8tLiQZUFWCD2l4oYr0qRjbUGbIYZuBTvwxgkUX4InCJ3eT3w/4+kxMa7v7AAgbI4AZ1JRqhOSlChps3DhqZlUyWRMlq/2rzuPnYIWdWyIv8SMo/hjiacYQZsMt5E6GVYYfSZkMcA418DnacuQNubnh5N7O7O+OizSqDXjRYMu4l+Fdet7x0jLmqj8m2OCD7qj+k6t6wh1xkxyuarp/Mc/hFR2/JaDy+M3Jg8y1N3kmfJDwyKq7HJBNP4dXfgR82VIdjoDb1ydHwHpgjQYc2HyBy35VXzbIMu6rWcEQ4DjF7A8KNKzkb4jpxWmY00hyCJrHweXGPf4B6HyHtp8LqjYAAAAASUVORK5CYII=",qr="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACwAAAAaCAYAAADMp76xAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAALKADAAQAAAABAAAAGgAAAADSD6qFAAAD9UlEQVRYCdWYaWxUVRTHf29auglUKcqWBlErqGnAAiopFQOiIkGDaY2VuMQ1MfIBP9TGCELEpYgm+MX0iySYCDUtDRJELZA0UAQBjRLROrK1MbG1rZZqy5QJz3Pm9jHzmMfrjDppOcnc5Zy7/N+5Z7l3LAbItm2L3Q1v0/1HOaHQOMLhDEc2JHV6ej+ZmW3kXrWZBQsrLcuyFYelhb1vz1TaO7fT319AwY0wZgxk56ho6KivF7q6IPgzZGQEuSZviTV3frMV0Wx9bTM5OQUUl0Bm1tCB9Nr57FnYvxd6e4MsLZ2atrqkuIqengdE7cMPrH5AejpMnAQ//ZhH22/ZgYjNqhkMN83GaluxKUbxr0DEwdRmB6OGnbBh3WCjEpOvfwP2NSY21hmlGCUYBCLRIBEH6/wdWk470/1rWxx67UrYWhM/rvtPONAEaWnxMj+OYpTIJQaSArIk+JQ+YkArsAdLo5sc/c60c6+EjvYoP7aVlQ0jR8VyLrRTA1iXn3YLvLLGgNbNF9xrNv3he1O/9rKpLy71dBYugueXXyyJ9FMHWJe/uRBWVEL9JzBvPhLn4eB+WPYkLH04AsBVhMPw9KNQOMPFju0kB7irEzZWx86Ptm+dBTNmRvtOa/YdoD+ljzaCxtV77jf9bXXw7WFY/ZbpHzkI587BzNmm71EmBzgUguNBj2WENXmKN9/htrbAzk+NZq8YabiqALV3hxr3QJF8uE+ITQ7whIlik+ud5ZOruzrgBomlZXLkDvWcgayBzBoWzQab4YlnHalnnRxgzyUGYaoTHZajLpJjnl7kHqwabjkl8VXMRLVavckt9+gFPHj/L0tj7rtio3//5V73/Hn4RTR6phu+2GFkAYGjPx/yl/pMTFhUXwPFd8LoXPeUk8eNA5bcBep8GkESoNQC/uYQnBBgi5bEQ9FUnz8ZXlhh7Ljhs/gxHpzUAq4T7aqj6S+WDh2AXZ/Dcy/CiBHG0bZKrO6Q9D8IpQ7wsaPQfExSdLkbgqbjDzbA3ffBTZINlW6bA1Ouh1UV0N5meJco46PE6ZPeQ7vFOdTOLiV3ZjnxuHaL0eys2x0JNO6GD6th/AR47KkoX1svVcLrrxrQa6pg3Hi3fKBn2R9vCjGnOINJ+YZVtljeTBKK/i1t2Sb3Vvm45c9AxUqT/fr64P134MjX8JCk5LJl3rc1fRatXWUuRW++B3ljoyh+bYWvmvotu66mhWuvy6dwuhFqMP8vNGq0ma1hzMloytGUPneeXMSn+a+uqbt2M5Q/7v4oveWdOtFq2bu+rBJjr2CxeLJPSvTfJcVSTSw7tsPYq9cN/0eogm3ae+ERGrl5XFbPfOcwL5c/Uv4BMfRITu69WqwAAAAASUVORK5CYII=",Wr=$t({name:"the-book",props:{bookData:{type:Object,default:()=>({})},bookLessonId:{type:String,default:""},show:{type:Boolean,default:!1},rect:{type:Object,default:()=>({})}},emits:["close","confirm"],setup(C,{emit:E}){var B,Le,fe,Te;const We=Nn(),we="lastTime"+((Te=(fe=(Le=(B=Mn)==null?void 0:B.user)==null?void 0:Le.data)==null?void 0:fe.phone)!=null?Te:""),oe=Tt(!1),W=Ot({show:!1,width:0,height:0,transform:"",list:[],lastTime:localStorage.getItem(we),isClick:!1,coursewareList:[]}),Pe=Tt(!1),Ce=Tt(0);let ce=null,Ne=null;const st=()=>{ce=window.$("#flipbook");const U=document.body.clientHeight*.8;W.height=U,W.width=Math.ceil(U*(210/297)*2),ce.turn({autoCenter:!0,duration:1e3,disabled:!0,acceleration:!0,elevation:50,width:W.width,height:W.height,gradients:!0}),ce.bind("start",(j,he,$)=>{($=="tl"||$=="tr")&&j.preventDefault(),W.isClick&&Ft(()=>{W.isClick=!1,$=="tl"||$=="tr"?j.preventDefault():ce.turn("page",he.next)})}),ce.bind("turning",(j,he,$)=>{he===ce.turn("pages")&&Ie(!1),he===1&&Ie(!1)})},Xe=()=>{const U=document.querySelector(".bookWrap");if(U){const j=U.getBoundingClientRect(),he=C.rect.width/(j.width/2),$=C.rect.height/j.height,ke=(j.width/2*(he-1)/2+C.rect.x-j.x-j.width/4)/he,de=(j.height*($-1)/2+C.rect.y-j.y)/$,Ue=`scale3d(${he}, ${$}, 1) translate(${ke}px, ${de}px)`;U.style.transform=W.transform=Ue,U.style.transition="transform 0s",Ft(()=>{requestAnimationFrame(()=>{requestAnimationFrame(()=>{U.style.transition="transform 1s",U.style.transform="",W.show=!0,Ne=setTimeout(()=>{ce.turn("page",2)},500)})})})}},Ie=(U=!0)=>{if(Pe.value)return;Pe.value=!0,clearTimeout(Ne);const j=document.querySelector(".bookWrap");U&&ce.turn("page",1),j&&(j.style.transform=W.transform),E("close"),setTimeout(()=>{j.style.transition="",j.style.transform="",W.show=!1,W.list=[],Pe.value=!1},1e3)};en(async()=>{Sn("webViewOnResume",()=>{W.lastTime=localStorage.getItem(we)})});const te=()=>{var he;if(!((he=C.bookData)!=null&&he.lessonList))return;Ce.value=Math.floor((document.body.clientHeight*.8-40)/50);const U=[];let j=[];for(let $=0;$<C.bookData.lessonList.length;$++){const ke=C.bookData.lessonList[$];j.length>=Ce.value?(U.push([...j]),j=[{name:ke.name}]):j.push({name:ke.name});for(let de=0;de<ke.knowledgeList.length;de++)j.length>=Ce.value?(U.push([...j]),j=[ke.knowledgeList[de]]):j.push(ke.knowledgeList[de])}j.length&&U.push(j),console.log(U,"list"),W.list=U};En(()=>C.show,()=>{C.show&&(te(),Ft(()=>{st(),requestAnimationFrame(()=>{Xe()})}))});const ie=async U=>{if(U.id){if(!U.containMaterial){Pn("暂无资源");return}U.coursewareNum&&F(U)}},F=async U=>{if(U.id){if(oe.value)return;oe.value=!0,localStorage.setItem(we,U.id);const j={id:U.id,lessonCoursewareId:U.lessonCoursewareId};if(Ln().isApp){const he=Dn.stringify(j),$=Fn()+location.pathname+"#/courseware-play?"+he;console.log("🚀 ~ url:",$),It({api:"openWebView",content:{url:$,orientation:0,isHideTitle:!1,c_orientation:0}})}else We.push({path:"/courseware-play",query:j});oe.value=!1}};return()=>V("div",{class:[Ee.book,W.show?"":Ee.bookHide],onClick:()=>Ie(),onTouchmove:()=>{console.log("sdfds"),W.isClick=!0}},[V("div",{class:Ee.back},[V("img",{src:tn},null)]),V("div",{class:"bookWrap",style:{width:W.width+"px"},onClick:U=>{U.stopPropagation()}},[!!W.list.length&&V("div",{id:"flipbook",class:[W.show&&"animated"]},[V("div",{class:"page"},[V("img",{style:"width: 100%; height: 100%; object-fit: cover;",src:C.bookData.coverImg},null)]),W.list.map(U=>V("div",{class:"page"},[V("div",{class:Ee.wrap},[V("div",{class:Ee.wrapItem},[U.map((j,he)=>V("div",{class:[Ee.item,j.id&&Ee.des],onTouchstart:$=>{$.stopPropagation()},onClick:$=>{$.stopPropagation(),ie(j)},onTouchend:$=>{console.log($)}},[j.id?V("img",{id:he==1?"coursewareDetail-0":"",class:Ee.icon,src:Br},null):null,V("div",{class:Ee.name,style:{lineHeight:"20Px"}},[j.recentFlag&&V("img",{src:qr,alt:"",class:Ee.preIcon},null),V("div",{class:[Ee.nameText,j.recentFlag?Ee.nameTextActive:""]},[" ",j.name])])]))])])])),W.list.length%2===1&&V("div",{class:"page",style:{pointerEvents:"none"}},[V("div",{class:Ee.wrap},[V("div",{class:Ee.wrapItem},null)])]),V("div",{class:"page"},[V("img",{style:"width: 100%; height: 100%; object-fit: cover;",src:C.bookData.coverImg},null)])])])])}});/*! jQuery v1.7 jquery.com | jquery.org/license */(function(C,E){function We(e){return t.isWindow(e)?e:e.nodeType===9?e.defaultView||e.parentWindow:!1}function we(e){if(!Lt[e]){var n=D.body,r=t("<"+e+">").appendTo(n),i=r.css("display");r.remove(),(i==="none"||i==="")&&(Ve||(Ve=D.createElement("iframe"),Ve.frameBorder=Ve.width=Ve.height=0),n.appendChild(Ve),(!wt||!Ve.createElement)&&(wt=(Ve.contentWindow||Ve.contentDocument).document,wt.write((D.compatMode==="CSS1Compat"?"<!doctype html>":"")+"<html><body>"),wt.close()),r=wt.createElement(e),wt.body.appendChild(r),i=t.css(r,"display"),n.removeChild(Ve)),Lt[e]=i}return Lt[e]}function oe(e,n){var r={};return t.each(Gt.concat.apply([],Gt.slice(0,n)),function(){r[this]=e}),r}function W(){Nt=E}function Pe(){return setTimeout(W,0),Nt=t.now()}function Ce(){try{return new C.ActiveXObject("Microsoft.XMLHTTP")}catch(e){}}function ce(){try{return new C.XMLHttpRequest}catch(e){}}function Ne(e,n){e.dataFilter&&(n=e.dataFilter(n,e.dataType));var r=e.dataTypes,i={},a,l,c=r.length,f,m=r[0],w,v,y,A,N;for(a=1;a<c;a++){if(a===1)for(l in e.converters)typeof l=="string"&&(i[l.toLowerCase()]=e.converters[l]);if(w=m,m=r[a],m==="*")m=w;else if(w!=="*"&&w!==m){if(v=w+" "+m,y=i[v]||i["* "+m],!y){N=E;for(A in i)if(f=A.split(" "),(f[0]===w||f[0]==="*")&&(N=i[f[1]+" "+m],N)){A=i[A],A===!0?y=N:N===!0&&(y=A);break}}!y&&!N&&t.error("No conversion from "+v.replace(" "," to ")),y!==!0&&(n=y?y(n):N(A(n)))}}return n}function st(e,n,r){var i=e.contents,a=e.dataTypes,l=e.responseFields,c,f,m,w;for(f in l)f in r&&(n[l[f]]=r[f]);for(;a[0]==="*";)a.shift(),c===E&&(c=e.mimeType||n.getResponseHeader("content-type"));if(c){for(f in i)if(i[f]&&i[f].test(c)){a.unshift(f);break}}if(a[0]in r)m=a[0];else{for(f in r){if(!a[0]||e.converters[f+" "+a[0]]){m=f;break}w||(w=f)}m=m||w}if(m)return m!==a[0]&&a.unshift(m),r[m]}function Xe(e,n,r,i){if(t.isArray(n))t.each(n,function(l,c){r||dn.test(e)?i(e,c):Xe(e+"["+(typeof c=="object"||t.isArray(c)?l:"")+"]",c,r,i)});else if(!r&&n!=null&&typeof n=="object")for(var a in n)Xe(e+"["+a+"]",n[a],r,i);else i(e,n)}function Ie(e,n){var r,i,a=t.ajaxSettings.flatOptions||{};for(r in n)n[r]!==E&&((a[r]?e:i||(i={}))[r]=n[r]);i&&t.extend(!0,e,i)}function te(e,n,r,i,a,l){a=a||n.dataTypes[0],l=l||{},l[a]=!0;for(var c=e[a],f=0,m=c?c.length:0,w=e===Et,v;f<m&&(w||!v);f++)v=c[f](n,r,i),typeof v=="string"&&(!w||l[v]?v=E:(n.dataTypes.unshift(v),v=te(e,n,r,i,v,l)));return(w||!v)&&!l["*"]&&(v=te(e,n,r,i,"*",l)),v}function ie(e){return function(n,r){if(typeof n!="string"&&(r=n,n="*"),t.isFunction(r))for(var i=n.toLowerCase().split(zt),a=0,l=i.length,c,f,m;a<l;a++)c=i[a],m=/^\+/.test(c),m&&(c=c.substr(1)||"*"),f=e[c]=e[c]||[],f[m?"unshift":"push"](r)}}function F(e,n,r){var i=n==="width"?e.offsetWidth:e.offsetHeight,a=n==="width"?un:cn;return i>0?(r!=="border"&&t.each(a,function(){r||(i-=parseFloat(t.css(e,"padding"+this))||0),r==="margin"?i+=parseFloat(t.css(e,r+this))||0:i-=parseFloat(t.css(e,"border"+this+"Width"))||0}),i+"px"):(i=vt(e,n,n),(i<0||i==null)&&(i=e.style[n]||0),i=parseFloat(i)||0,r&&t.each(a,function(){i+=parseFloat(t.css(e,"padding"+this))||0,r!=="padding"&&(i+=parseFloat(t.css(e,"border"+this+"Width"))||0),r==="margin"&&(i+=parseFloat(t.css(e,r+this))||0)}),i+"px")}function B(e,n){n.src?t.ajax({url:n.src,async:!1,dataType:"script"}):t.globalEval((n.text||n.textContent||n.innerHTML||"").replace(et,"/*$0*/")),n.parentNode&&n.parentNode.removeChild(n)}function Le(e){var n=(e.nodeName||"").toLowerCase();n==="input"?fe(e):n!=="script"&&typeof e.getElementsByTagName<"u"&&t.grep(e.getElementsByTagName("input"),fe)}function fe(e){(e.type==="checkbox"||e.type==="radio")&&(e.defaultChecked=e.checked)}function Te(e){return typeof e.getElementsByTagName<"u"?e.getElementsByTagName("*"):typeof e.querySelectorAll<"u"?e.querySelectorAll("*"):[]}function U(e,n){var r;n.nodeType===1&&(n.clearAttributes&&n.clearAttributes(),n.mergeAttributes&&n.mergeAttributes(e),r=n.nodeName.toLowerCase(),r==="object"?n.outerHTML=e.outerHTML:r!=="input"||e.type!=="checkbox"&&e.type!=="radio"?r==="option"?n.selected=e.defaultSelected:(r==="input"||r==="textarea")&&(n.defaultValue=e.defaultValue):(e.checked&&(n.defaultChecked=n.checked=e.checked),n.value!==e.value&&(n.value=e.value)),n.removeAttribute(t.expando))}function j(e,n){if(n.nodeType===1&&t.hasData(e)){var r,i,a,l=t._data(e),c=t._data(n,l),f=l.events;if(f){delete c.handle,c.events={};for(r in f)for(i=0,a=f[r].length;i<a;i++)t.event.add(n,r+(f[r][i].namespace?".":"")+f[r][i].namespace,f[r][i],f[r][i].data)}c.data&&(c.data=t.extend({},c.data))}}function he(e,n){return t.nodeName(e,"table")?e.getElementsByTagName("tbody")[0]||e.appendChild(e.ownerDocument.createElement("tbody")):e}function $(e){var n=nt.split(" "),r=e.createDocumentFragment();if(r.createElement)for(;n.length;)r.createElement(n.pop());return r}function ke(e,n,r){if(n=n||0,t.isFunction(n))return t.grep(e,function(a,l){var c=!!n.call(a,l,a);return c===r});if(n.nodeType)return t.grep(e,function(a,l){return a===n===r});if(typeof n=="string"){var i=t.grep(e,function(a){return a.nodeType===1});if(gt.test(n))return t.filter(n,i,!r);n=t.filter(n,i)}return t.grep(e,function(a,l){return t.inArray(a,n)>=0===r})}function de(e){return!e||!e.parentNode||e.parentNode.nodeType===11}function Ue(){return!0}function tt(){return!1}function ft(e,n,r){var i=n+"defer",a=n+"queue",l=n+"mark",c=t._data(e,i);c&&(r==="queue"||!t._data(e,a))&&(r==="mark"||!t._data(e,l))&&setTimeout(function(){!t._data(e,a)&&!t._data(e,l)&&(t.removeData(e,i,!0),c.fire())},0)}function Ye(e){for(var n in e)if(!(n==="data"&&t.isEmptyObject(e[n]))&&n!=="toJSON")return!1;return!0}function Fe(e,n,r){if(r===E&&e.nodeType===1){var i="data-"+n.replace(H,"-$1").toLowerCase();if(r=e.getAttribute(i),typeof r=="string"){try{r=r==="true"?!0:r==="false"?!1:r==="null"?null:t.isNumeric(r)?parseFloat(r):T.test(r)?t.parseJSON(r):r}catch(a){}t.data(e,n,r)}else r=E}return r}function xt(e){var n=d[e]={},r,i;for(e=e.split(/\s+/),r=0,i=e.length;r<i;r++)n[e[r]]=!0;return n}var D=C.document,s=C.navigator,o=C.location,t=function(){function e(){if(!n.isReady){try{D.documentElement.doScroll("left")}catch(h){setTimeout(e,1);return}n.ready()}}var n=function(h,S){return new n.fn.init(h,S,a)},r=C.jQuery,i=C.$,a,l=/^(?:[^#<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,c=/\S/,f=/^\s+/,m=/\s+$/,w=/\d/,v=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,y=/^[\],:{}\s]*$/,A=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,N=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,L=/(?:^|:|,)(?:\s*\[)+/g,X=/(webkit)[ \/]([\w.]+)/,Z=/(opera)(?:.*version)?[ \/]([\w.]+)/,Q=/(msie) ([\w.]+)/,ve=/(mozilla)(?:.*? rv:([\w.]+))?/,ye=/-([a-z]|[0-9])/ig,Y=/^-ms-/,u=function(h,S){return(S+"").toUpperCase()},p=s.userAgent,x,b,k,_=Object.prototype.toString,P=Object.prototype.hasOwnProperty,q=Array.prototype.push,O=Array.prototype.slice,z=String.prototype.trim,Ae=Array.prototype.indexOf,ge={};return n.fn=n.prototype={constructor:n,init:function(h,S,I){var M,K,ee,re;if(!h)return this;if(h.nodeType)return this.context=this[0]=h,this.length=1,this;if(h==="body"&&!S&&D.body)return this.context=D,this[0]=D.body,this.selector=h,this.length=1,this;if(typeof h=="string"){if(h.charAt(0)!=="<"||h.charAt(h.length-1)!==">"||h.length<3?M=l.exec(h):M=[null,h,null],M&&(M[1]||!S)){if(M[1])return S=S instanceof n?S[0]:S,re=S?S.ownerDocument||S:D,ee=v.exec(h),ee?n.isPlainObject(S)?(h=[D.createElement(ee[1])],n.fn.attr.call(h,S,!0)):h=[re.createElement(ee[1])]:(ee=n.buildFragment([M[1]],[re]),h=(ee.cacheable?n.clone(ee.fragment):ee.fragment).childNodes),n.merge(this,h);if(K=D.getElementById(M[2]),K&&K.parentNode){if(K.id!==M[2])return I.find(h);this.length=1,this[0]=K}return this.context=D,this.selector=h,this}return!S||S.jquery?(S||I).find(h):this.constructor(S).find(h)}return n.isFunction(h)?I.ready(h):(h.selector!==E&&(this.selector=h.selector,this.context=h.context),n.makeArray(h,this))},selector:"",jquery:"1.7",length:0,size:function(){return this.length},toArray:function(){return O.call(this,0)},get:function(h){return h==null?this.toArray():h<0?this[this.length+h]:this[h]},pushStack:function(h,S,I){var M=this.constructor();return n.isArray(h)?q.apply(M,h):n.merge(M,h),M.prevObject=this,M.context=this.context,S==="find"?M.selector=this.selector+(this.selector?" ":"")+I:S&&(M.selector=this.selector+"."+S+"("+I+")"),M},each:function(h,S){return n.each(this,h,S)},ready:function(h){return n.bindReady(),b.add(h),this},eq:function(h){return h===-1?this.slice(h):this.slice(h,+h+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(O.apply(this,arguments),"slice",O.call(arguments).join(","))},map:function(h){return this.pushStack(n.map(this,function(S,I){return h.call(S,I,S)}))},end:function(){return this.prevObject||this.constructor(null)},push:q,sort:[].sort,splice:[].splice},n.fn.init.prototype=n.fn,n.extend=n.fn.extend=function(){var h,S,I,M,K,ee,re=arguments[0]||{},_e=1,qe=arguments.length,Dt=!1;for(typeof re=="boolean"&&(Dt=re,re=arguments[1]||{},_e=2),typeof re!="object"&&!n.isFunction(re)&&(re={}),qe===_e&&(re=this,--_e);_e<qe;_e++)if((h=arguments[_e])!=null)for(S in h)I=re[S],M=h[S],re!==M&&(Dt&&M&&(n.isPlainObject(M)||(K=n.isArray(M)))?(K?(K=!1,ee=I&&n.isArray(I)?I:[]):ee=I&&n.isPlainObject(I)?I:{},re[S]=n.extend(Dt,ee,M)):M!==E&&(re[S]=M));return re},n.extend({noConflict:function(h){return C.$===n&&(C.$=i),h&&C.jQuery===n&&(C.jQuery=r),n},isReady:!1,readyWait:1,holdReady:function(h){h?n.readyWait++:n.ready(!0)},ready:function(h){if(h===!0&&!--n.readyWait||h!==!0&&!n.isReady){if(!D.body)return setTimeout(n.ready,1);if(n.isReady=!0,h!==!0&&--n.readyWait>0)return;b.fireWith(D,[n]),n.fn.trigger&&n(D).trigger("ready").unbind("ready")}},bindReady:function(){if(!b){if(b=n.Callbacks("once memory"),D.readyState==="complete")return setTimeout(n.ready,1);if(D.addEventListener)D.addEventListener("DOMContentLoaded",k,!1),C.addEventListener("load",n.ready,!1);else if(D.attachEvent){D.attachEvent("onreadystatechange",k),C.attachEvent("onload",n.ready);var h=!1;try{h=C.frameElement==null}catch(S){}D.documentElement.doScroll&&h&&e()}}},isFunction:function(h){return n.type(h)==="function"},isArray:Array.isArray||function(h){return n.type(h)==="array"},isWindow:function(h){return h&&typeof h=="object"&&"setInterval"in h},isNumeric:function(h){return h!=null&&w.test(h)&&!isNaN(h)},type:function(h){return h==null?String(h):ge[_.call(h)]||"object"},isPlainObject:function(h){if(!h||n.type(h)!=="object"||h.nodeType||n.isWindow(h))return!1;try{if(h.constructor&&!P.call(h,"constructor")&&!P.call(h.constructor.prototype,"isPrototypeOf"))return!1}catch(I){return!1}var S;for(S in h);return S===E||P.call(h,S)},isEmptyObject:function(h){for(var S in h)return!1;return!0},error:function(h){throw h},parseJSON:function(h){if(typeof h!="string"||!h)return null;if(h=n.trim(h),C.JSON&&C.JSON.parse)return C.JSON.parse(h);if(y.test(h.replace(A,"@").replace(N,"]").replace(L,"")))return new Function("return "+h)();n.error("Invalid JSON: "+h)},parseXML:function(h){var S,I;try{C.DOMParser?(I=new DOMParser,S=I.parseFromString(h,"text/xml")):(S=new ActiveXObject("Microsoft.XMLDOM"),S.async="false",S.loadXML(h))}catch(M){S=E}return(!S||!S.documentElement||S.getElementsByTagName("parsererror").length)&&n.error("Invalid XML: "+h),S},noop:function(){},globalEval:function(h){h&&c.test(h)&&(C.execScript||function(S){C.eval.call(C,S)})(h)},camelCase:function(h){return h.replace(Y,"ms-").replace(ye,u)},nodeName:function(h,S){return h.nodeName&&h.nodeName.toUpperCase()===S.toUpperCase()},each:function(h,S,I){var M,K=0,ee=h.length,re=ee===E||n.isFunction(h);if(I)if(re){for(M in h)if(S.apply(h[M],I)===!1)break}else for(;K<ee&&S.apply(h[K++],I)!==!1;);else if(re){for(M in h)if(S.call(h[M],M,h[M])===!1)break}else for(;K<ee&&S.call(h[K],K,h[K++])!==!1;);return h},trim:z?function(h){return h==null?"":z.call(h)}:function(h){return h==null?"":(h+"").replace(f,"").replace(m,"")},makeArray:function(h,S){var I=S||[];if(h!=null){var M=n.type(h);h.length==null||M==="string"||M==="function"||M==="regexp"||n.isWindow(h)?q.call(I,h):n.merge(I,h)}return I},inArray:function(h,S,I){var M;if(S){if(Ae)return Ae.call(S,h,I);for(M=S.length,I=I?I<0?Math.max(0,M+I):I:0;I<M;I++)if(I in S&&S[I]===h)return I}return-1},merge:function(h,S){var I=h.length,M=0;if(typeof S.length=="number")for(var K=S.length;M<K;M++)h[I++]=S[M];else for(;S[M]!==E;)h[I++]=S[M++];return h.length=I,h},grep:function(h,S,I){var M=[],K;I=!!I;for(var ee=0,re=h.length;ee<re;ee++)K=!!S(h[ee],ee),I!==K&&M.push(h[ee]);return M},map:function(h,S,I){var M,K,ee=[],re=0,_e=h.length,qe=h instanceof n||_e!==E&&typeof _e=="number"&&(_e>0&&h[0]&&h[_e-1]||_e===0||n.isArray(h));if(qe)for(;re<_e;re++)M=S(h[re],re,I),M!=null&&(ee[ee.length]=M);else for(K in h)M=S(h[K],K,I),M!=null&&(ee[ee.length]=M);return ee.concat.apply([],ee)},guid:1,proxy:function(h,S){if(typeof S=="string"){var I=h[S];S=h,h=I}if(!n.isFunction(h))return E;var M=O.call(arguments,2),K=function(){return h.apply(S,M.concat(O.call(arguments)))};return K.guid=h.guid=h.guid||K.guid||n.guid++,K},access:function(h,S,I,M,K,ee){var re=h.length;if(typeof S=="object"){for(var _e in S)n.access(h,_e,S[_e],M,K,I);return h}if(I!==E){M=!ee&&M&&n.isFunction(I);for(var qe=0;qe<re;qe++)K(h[qe],S,M?I.call(h[qe],qe,K(h[qe],S)):I,ee);return h}return re?K(h[0],S):E},now:function(){return new Date().getTime()},uaMatch:function(h){h=h.toLowerCase();var S=X.exec(h)||Z.exec(h)||Q.exec(h)||h.indexOf("compatible")<0&&ve.exec(h)||[];return{browser:S[1]||"",version:S[2]||"0"}},sub:function(){function h(I,M){return new h.fn.init(I,M)}n.extend(!0,h,this),h.superclass=this,h.fn=h.prototype=this(),h.fn.constructor=h,h.sub=this.sub,h.fn.init=function(I,M){return M&&M instanceof n&&!(M instanceof h)&&(M=h(M)),n.fn.init.call(this,I,M,S)},h.fn.init.prototype=h.fn;var S=h(D);return h},browser:{}}),n.each("Boolean Number String Function Array Date RegExp Object".split(" "),function(h,S){ge["[object "+S+"]"]=S.toLowerCase()}),x=n.uaMatch(p),x.browser&&(n.browser[x.browser]=!0,n.browser.version=x.version),n.browser.webkit&&(n.browser.safari=!0),c.test(" ")&&(f=/^[\s\xA0]+/,m=/[\s\xA0]+$/),a=n(D),D.addEventListener?k=function(){D.removeEventListener("DOMContentLoaded",k,!1),n.ready()}:D.attachEvent&&(k=function(){D.readyState==="complete"&&(D.detachEvent("onreadystatechange",k),n.ready())}),typeof define=="function"&&define.amd&&define.amd.jQuery&&define("jquery",[],function(){return n}),n}(),d={};t.Callbacks=function(e){e=e?d[e]||xt(e):{};var n=[],r=[],i,a,l,c,f,m=function(y){var A,N,L,X;for(A=0,N=y.length;A<N;A++)L=y[A],X=t.type(L),X==="array"?m(L):X==="function"&&(!e.unique||!v.has(L))&&n.push(L)},w=function(y,A){for(A=A||[],i=!e.memory||[y,A],a=!0,f=l||0,l=0,c=n.length;n&&f<c;f++)if(n[f].apply(y,A)===!1&&e.stopOnFalse){i=!0;break}a=!1,n&&(e.once?i===!0?v.disable():n=[]:r&&r.length&&(i=r.shift(),v.fireWith(i[0],i[1])))},v={add:function(){if(n){var y=n.length;m(arguments),a?c=n.length:i&&i!==!0&&(l=y,w(i[0],i[1]))}return this},remove:function(){if(n)for(var y=arguments,A=0,N=y.length;A<N;A++)for(var L=0;L<n.length&&!(y[A]===n[L]&&(a&&L<=c&&(c--,L<=f&&f--),n.splice(L--,1),e.unique));L++);return this},has:function(y){if(n){for(var A=0,N=n.length;A<N;A++)if(y===n[A])return!0}return!1},empty:function(){return n=[],this},disable:function(){return n=r=i=E,this},disabled:function(){return!n},lock:function(){return r=E,(!i||i===!0)&&v.disable(),this},locked:function(){return!r},fireWith:function(y,A){return r&&(a?e.once||r.push([y,A]):(!e.once||!i)&&w(y,A)),this},fire:function(){return v.fireWith(this,arguments),this},fired:function(){return!!i}};return v};var g=[].slice;t.extend({Deferred:function(e){var n=t.Callbacks("once memory"),r=t.Callbacks("once memory"),i=t.Callbacks("memory"),a="pending",l={resolve:n,reject:r,notify:i},c={done:n.add,fail:r.add,progress:i.add,state:function(){return a},isResolved:n.fired,isRejected:r.fired,then:function(w,v,y){return f.done(w).fail(v).progress(y),this},always:function(){return f.done.apply(f,arguments).fail.apply(f,arguments)},pipe:function(w,v,y){return t.Deferred(function(A){t.each({done:[w,"resolve"],fail:[v,"reject"],progress:[y,"notify"]},function(N,L){var X=L[0],Z=L[1],Q;t.isFunction(X)?f[N](function(){Q=X.apply(this,arguments),Q&&t.isFunction(Q.promise)?Q.promise().then(A.resolve,A.reject,A.notify):A[Z+"With"](this===f?A:this,[Q])}):f[N](A[Z])})}).promise()},promise:function(w){if(w==null)w=c;else for(var v in c)w[v]=c[v];return w}},f=c.promise({}),m;for(m in l)f[m]=l[m].fire,f[m+"With"]=l[m].fireWith;return f.done(function(){a="resolved"},r.disable,i.lock).fail(function(){a="rejected"},n.disable,i.lock),e&&e.call(f,f),f},when:function(e){function n(v){return function(y){c[v]=arguments.length>1?g.call(arguments,0):y,m.notifyWith(w,c)}}function r(v){return function(y){i[v]=arguments.length>1?g.call(arguments,0):y,--f||m.resolveWith(m,i)}}var i=g.call(arguments,0),a=0,l=i.length,c=Array(l),f=l,m=l<=1&&e&&t.isFunction(e.promise)?e:t.Deferred(),w=m.promise();if(l>1){for(;a<l;a++)i[a]&&i[a].promise&&t.isFunction(i[a].promise)?i[a].promise().then(r(a),m.reject,n(a)):--f;f||m.resolveWith(m,i)}else m!==e&&m.resolveWith(m,l?[e]:[]);return w}}),t.support=function(){var e=D.createElement("div"),n=D.documentElement,r,i,a,l,c,f,m,w,v,y,A,N,L,X,Z,Q;if(e.setAttribute("className","t"),e.innerHTML=" <link/><table></table><a href='/a' style='top:1px;float:left;opacity:.55;'>a</a><input type='checkbox'/><nav></nav>",r=e.getElementsByTagName("*"),i=e.getElementsByTagName("a")[0],!r||!r.length||!i)return{};a=D.createElement("select"),l=a.appendChild(D.createElement("option")),c=e.getElementsByTagName("input")[0],m={leadingWhitespace:e.firstChild.nodeType===3,tbody:!e.getElementsByTagName("tbody").length,htmlSerialize:!!e.getElementsByTagName("link").length,style:/top/.test(i.getAttribute("style")),hrefNormalized:i.getAttribute("href")==="/a",opacity:/^0.55/.test(i.style.opacity),cssFloat:!!i.style.cssFloat,unknownElems:!!e.getElementsByTagName("nav").length,checkOn:c.value==="on",optSelected:l.selected,getSetAttribute:e.className!=="t",enctype:!!D.createElement("form").enctype,submitBubbles:!0,changeBubbles:!0,focusinBubbles:!1,deleteExpando:!0,noCloneEvent:!0,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableMarginRight:!0},c.checked=!0,m.noCloneChecked=c.cloneNode(!0).checked,a.disabled=!0,m.optDisabled=!l.disabled;try{delete e.test}catch(ve){m.deleteExpando=!1}!e.addEventListener&&e.attachEvent&&e.fireEvent&&(e.attachEvent("onclick",function(){m.noCloneEvent=!1}),e.cloneNode(!0).fireEvent("onclick")),c=D.createElement("input"),c.value="t",c.setAttribute("type","radio"),m.radioValue=c.value==="t",c.setAttribute("checked","checked"),e.appendChild(c),w=D.createDocumentFragment(),w.appendChild(e.lastChild),m.checkClone=w.cloneNode(!0).cloneNode(!0).lastChild.checked,e.innerHTML="",e.style.width=e.style.paddingLeft="1px",v=D.getElementsByTagName("body")[0],A=D.createElement(v?"div":"body"),N={visibility:"hidden",width:0,height:0,border:0,margin:0,background:"none"},v&&t.extend(N,{position:"absolute",left:"-999px",top:"-999px"});for(Z in N)A.style[Z]=N[Z];if(A.appendChild(e),y=v||n,y.insertBefore(A,y.firstChild),m.appendChecked=c.checked,m.boxModel=e.offsetWidth===2,"zoom"in e.style&&(e.style.display="inline",e.style.zoom=1,m.inlineBlockNeedsLayout=e.offsetWidth===2,e.style.display="",e.innerHTML="<div style='width:4px;'></div>",m.shrinkWrapBlocks=e.offsetWidth!==2),e.innerHTML="<table><tr><td style='padding:0;border:0;display:none'></td><td>t</td></tr></table>",L=e.getElementsByTagName("td"),Q=L[0].offsetHeight===0,L[0].style.display="",L[1].style.display="none",m.reliableHiddenOffsets=Q&&L[0].offsetHeight===0,e.innerHTML="",D.defaultView&&D.defaultView.getComputedStyle&&(f=D.createElement("div"),f.style.width="0",f.style.marginRight="0",e.appendChild(f),m.reliableMarginRight=(parseInt((D.defaultView.getComputedStyle(f,null)||{marginRight:0}).marginRight,10)||0)===0),e.attachEvent)for(Z in{submit:1,change:1,focusin:1})X="on"+Z,Q=X in e,Q||(e.setAttribute(X,"return;"),Q=typeof e[X]=="function"),m[Z+"Bubbles"]=Q;return t(function(){var ve,ye,Y,u,p,x=1,b="position:absolute;top:0;left:0;width:1px;height:1px;margin:0;",k="visibility:hidden;border:0;",_="style='"+b+"border:5px solid #000;padding:0;'",P="<div "+_+"><div></div></div><table "+_+" cellpadding='0' cellspacing='0'><tr><td></td></tr></table>";v=D.getElementsByTagName("body")[0],!v||(ve=D.createElement("div"),ve.style.cssText=k+"width:0;height:0;position:static;top:0;margin-top:"+x+"px",v.insertBefore(ve,v.firstChild),A=D.createElement("div"),A.style.cssText=b+k,A.innerHTML=P,ve.appendChild(A),ye=A.firstChild,Y=ye.firstChild,u=ye.nextSibling.firstChild.firstChild,p={doesNotAddBorder:Y.offsetTop!==5,doesAddBorderForTableAndCells:u.offsetTop===5},Y.style.position="fixed",Y.style.top="20px",p.fixedPosition=Y.offsetTop===20||Y.offsetTop===15,Y.style.position=Y.style.top="",ye.style.overflow="hidden",ye.style.position="relative",p.subtractsBorderForOverflowNotVisible=Y.offsetTop===-5,p.doesNotIncludeMarginInBodyOffset=v.offsetTop!==x,v.removeChild(ve),A=ve=null,t.extend(m,p))}),A.innerHTML="",y.removeChild(A),A=w=a=l=v=f=e=c=null,m}(),t.boxModel=t.support.boxModel;var T=/^(?:\{.*\}|\[.*\])$/,H=/([A-Z])/g;t.extend({cache:{},uuid:0,expando:"jQuery"+(t.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?t.cache[e[t.expando]]:e[t.expando],!!e&&!Ye(e)},data:function(e,n,r,i){if(t.acceptData(e)){var a,l,c;t.expando;var f=typeof n=="string",m=e.nodeType,w=m?t.cache:e,v=m?e[t.expando]:e[t.expando]&&t.expando,y=n==="events";return(!v||!w[v]||!y&&!i&&!w[v].data)&&f&&r===E?void 0:(v||(m?e[t.expando]=v=++t.uuid:v=t.expando),w[v]||(w[v]={},m||(w[v].toJSON=t.noop)),(typeof n=="object"||typeof n=="function")&&(i?w[v]=t.extend(w[v],n):w[v].data=t.extend(w[v].data,n)),a=l=w[v],i||(l.data||(l.data={}),l=l.data),r!==E&&(l[t.camelCase(n)]=r),y&&!l[n]?a.events:(f?(c=l[n],c==null&&(c=l[t.camelCase(n)])):c=l,c))}},removeData:function(e,n,r){if(t.acceptData(e)){var i,a,l;t.expando;var c=e.nodeType,f=c?t.cache:e,m=c?e[t.expando]:t.expando;if(!f[m])return;if(n&&(i=r?f[m]:f[m].data,i)){for(t.isArray(n)?n=n:(n in i)?n=[n]:(n=t.camelCase(n),n in i?n=[n]:n=n.split(" ")),a=0,l=n.length;a<l;a++)delete i[n[a]];if(!(r?Ye:t.isEmptyObject)(i))return}if(!r&&(delete f[m].data,!Ye(f[m])))return;t.support.deleteExpando||!f.setInterval?delete f[m]:f[m]=null,c&&(t.support.deleteExpando?delete e[t.expando]:e.removeAttribute?e.removeAttribute(t.expando):e[t.expando]=null)}},_data:function(e,n,r){return t.data(e,n,r,!0)},acceptData:function(e){if(e.nodeName){var n=t.noData[e.nodeName.toLowerCase()];if(n)return n!==!0&&e.getAttribute("classid")===n}return!0}}),t.fn.extend({data:function(e,n){var r,i,a,l=null;if(typeof e>"u"){if(this.length&&(l=t.data(this[0]),this[0].nodeType===1&&!t._data(this[0],"parsedAttrs"))){i=this[0].attributes;for(var c=0,f=i.length;c<f;c++)a=i[c].name,a.indexOf("data-")===0&&(a=t.camelCase(a.substring(5)),Fe(this[0],a,l[a]));t._data(this[0],"parsedAttrs",!0)}return l}return typeof e=="object"?this.each(function(){t.data(this,e)}):(r=e.split("."),r[1]=r[1]?"."+r[1]:"",n===E?(l=this.triggerHandler("getData"+r[1]+"!",[r[0]]),l===E&&this.length&&(l=t.data(this[0],e),l=Fe(this[0],e,l)),l===E&&r[1]?this.data(r[0]):l):this.each(function(){var m=t(this),w=[r[0],n];m.triggerHandler("setData"+r[1]+"!",w),t.data(this,e,n),m.triggerHandler("changeData"+r[1]+"!",w)}))},removeData:function(e){return this.each(function(){t.removeData(this,e)})}}),t.extend({_mark:function(e,n){e&&(n=(n||"fx")+"mark",t._data(e,n,(t._data(e,n)||0)+1))},_unmark:function(e,n,r){if(e!==!0&&(r=n,n=e,e=!1),n){r=r||"fx";var i=r+"mark",a=e?0:(t._data(n,i)||1)-1;a?t._data(n,i,a):(t.removeData(n,i,!0),ft(n,r,"mark"))}},queue:function(e,n,r){var i;if(e)return n=(n||"fx")+"queue",i=t._data(e,n),r&&(!i||t.isArray(r)?i=t._data(e,n,t.makeArray(r)):i.push(r)),i||[]},dequeue:function(e,n){n=n||"fx";var r=t.queue(e,n),i=r.shift(),a={};i==="inprogress"&&(i=r.shift()),i&&(n==="fx"&&r.unshift("inprogress"),t._data(e,n+".run",a),i.call(e,function(){t.dequeue(e,n)},a)),r.length||(t.removeData(e,n+"queue "+n+".run",!0),ft(e,n,"queue"))}}),t.fn.extend({queue:function(e,n){return typeof e!="string"&&(n=e,e="fx"),n===E?t.queue(this[0],e):this.each(function(){var r=t.queue(this,e,n);e==="fx"&&r[0]!=="inprogress"&&t.dequeue(this,e)})},dequeue:function(e){return this.each(function(){t.dequeue(this,e)})},delay:function(e,n){return e=t.fx&&t.fx.speeds[e]||e,n=n||"fx",this.queue(n,function(r,i){var a=setTimeout(r,e);i.stop=function(){clearTimeout(a)}})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,n){function r(){--c||i.resolveWith(a,[a])}typeof e!="string"&&(e=E),e=e||"fx";for(var i=t.Deferred(),a=this,l=a.length,c=1,f=e+"defer",m=e+"queue",w=e+"mark",v;l--;)(v=t.data(a[l],f,E,!0)||(t.data(a[l],m,E,!0)||t.data(a[l],w,E,!0))&&t.data(a[l],f,t.Callbacks("once memory"),!0))&&(c++,v.add(r));return r(),i.promise()}});var R=/[\n\t\r]/g,G=/\s+/,ne=/\r/g,ae=/^(?:button|input)$/i,le=/^(?:button|input|object|select|textarea)$/i,De=/^a(?:rea)?$/i,Se=/^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,xe=t.support.getSetAttribute,me,He,Re;t.fn.extend({attr:function(e,n){return t.access(this,e,n,!0,t.attr)},removeAttr:function(e){return this.each(function(){t.removeAttr(this,e)})},prop:function(e,n){return t.access(this,e,n,!0,t.prop)},removeProp:function(e){return e=t.propFix[e]||e,this.each(function(){try{this[e]=E,delete this[e]}catch(n){}})},addClass:function(e){var n,r,i,a,l,c,f;if(t.isFunction(e))return this.each(function(m){t(this).addClass(e.call(this,m,this.className))});if(e&&typeof e=="string"){for(n=e.split(G),r=0,i=this.length;r<i;r++)if(a=this[r],a.nodeType===1)if(!a.className&&n.length===1)a.className=e;else{for(l=" "+a.className+" ",c=0,f=n.length;c<f;c++)~l.indexOf(" "+n[c]+" ")||(l+=n[c]+" ");a.className=t.trim(l)}}return this},removeClass:function(e){var n,r,i,a,l,c,f;if(t.isFunction(e))return this.each(function(m){t(this).removeClass(e.call(this,m,this.className))});if(e&&typeof e=="string"||e===E){for(n=(e||"").split(G),r=0,i=this.length;r<i;r++)if(a=this[r],a.nodeType===1&&a.className)if(e){for(l=(" "+a.className+" ").replace(R," "),c=0,f=n.length;c<f;c++)l=l.replace(" "+n[c]+" "," ");a.className=t.trim(l)}else a.className=""}return this},toggleClass:function(e,n){var r=typeof e,i=typeof n=="boolean";return t.isFunction(e)?this.each(function(a){t(this).toggleClass(e.call(this,a,this.className,n),n)}):this.each(function(){if(r==="string")for(var a,l=0,c=t(this),f=n,m=e.split(G);a=m[l++];)f=i?f:!c.hasClass(a),c[f?"addClass":"removeClass"](a);else(r==="undefined"||r==="boolean")&&(this.className&&t._data(this,"__className__",this.className),this.className=this.className||e===!1?"":t._data(this,"__className__")||"")})},hasClass:function(e){for(var n=" "+e+" ",r=0,i=this.length;r<i;r++)if(this[r].nodeType===1&&(" "+this[r].className+" ").replace(R," ").indexOf(n)>-1)return!0;return!1},val:function(e){var n,r,i,a=this[0];return arguments.length?(i=t.isFunction(e),this.each(function(l){var c=t(this),f;this.nodeType===1&&(i?f=e.call(this,l,c.val()):f=e,f==null?f="":typeof f=="number"?f+="":t.isArray(f)&&(f=t.map(f,function(m){return m==null?"":m+""})),n=t.valHooks[this.nodeName.toLowerCase()]||t.valHooks[this.type],(!n||!("set"in n)||n.set(this,f,"value")===E)&&(this.value=f))})):a?(n=t.valHooks[a.nodeName.toLowerCase()]||t.valHooks[a.type],n&&"get"in n&&(r=n.get(a,"value"))!==E?r:(r=a.value,typeof r=="string"?r.replace(ne,""):r==null?"":r)):E}}),t.extend({valHooks:{option:{get:function(e){var n=e.attributes.value;return!n||n.specified?e.value:e.text}},select:{get:function(e){var n,r,i,a,l=e.selectedIndex,c=[],f=e.options,m=e.type==="select-one";if(l<0)return null;for(r=m?l:0,i=m?l+1:f.length;r<i;r++)if(a=f[r],a.selected&&(t.support.optDisabled?!a.disabled:a.getAttribute("disabled")===null)&&(!a.parentNode.disabled||!t.nodeName(a.parentNode,"optgroup"))){if(n=t(a).val(),m)return n;c.push(n)}return m&&!c.length&&f.length?t(f[l]).val():c},set:function(e,n){var r=t.makeArray(n);return t(e).find("option").each(function(){this.selected=t.inArray(t(this).val(),r)>=0}),r.length||(e.selectedIndex=-1),r}}},attrFn:{val:!0,css:!0,html:!0,text:!0,data:!0,width:!0,height:!0,offset:!0},attr:function(e,n,r,i){var a,l,c,f=e.nodeType;return!e||f===3||f===8||f===2?E:i&&n in t.attrFn?t(e)[n](r):"getAttribute"in e?(c=f!==1||!t.isXMLDoc(e),c&&(n=n.toLowerCase(),l=t.attrHooks[n]||(Se.test(n)?He:me)),r!==E?r===null?(t.removeAttr(e,n),E):l&&"set"in l&&c&&(a=l.set(e,r,n))!==E?a:(e.setAttribute(n,""+r),r):l&&"get"in l&&c&&(a=l.get(e,n))!==null?a:(a=e.getAttribute(n),a===null?E:a)):t.prop(e,n,r)},removeAttr:function(e,n){var r,i,a,l,c=0;if(e.nodeType===1)for(i=(n||"").split(G),l=i.length;c<l;c++)a=i[c].toLowerCase(),r=t.propFix[a]||a,t.attr(e,a,""),e.removeAttribute(xe?a:r),Se.test(a)&&r in e&&(e[r]=!1)},attrHooks:{type:{set:function(e,n){if(ae.test(e.nodeName)&&e.parentNode)t.error("type property can't be changed");else if(!t.support.radioValue&&n==="radio"&&t.nodeName(e,"input")){var r=e.value;return e.setAttribute("type",n),r&&(e.value=r),n}}},value:{get:function(e,n){return me&&t.nodeName(e,"button")?me.get(e,n):n in e?e.value:null},set:function(e,n,r){if(me&&t.nodeName(e,"button"))return me.set(e,n,r);e.value=n}}},propFix:{tabindex:"tabIndex",readonly:"readOnly",for:"htmlFor",class:"className",maxlength:"maxLength",cellspacing:"cellSpacing",cellpadding:"cellPadding",rowspan:"rowSpan",colspan:"colSpan",usemap:"useMap",frameborder:"frameBorder",contenteditable:"contentEditable"},prop:function(e,n,r){var i,a,l,c=e.nodeType;return!e||c===3||c===8||c===2?E:(l=c!==1||!t.isXMLDoc(e),l&&(n=t.propFix[n]||n,a=t.propHooks[n]),r!==E?a&&"set"in a&&(i=a.set(e,r,n))!==E?i:e[n]=r:a&&"get"in a&&(i=a.get(e,n))!==null?i:e[n])},propHooks:{tabIndex:{get:function(e){var n=e.getAttributeNode("tabindex");return n&&n.specified?parseInt(n.value,10):le.test(e.nodeName)||De.test(e.nodeName)&&e.href?0:E}}}}),t.attrHooks.tabindex=t.propHooks.tabIndex,He={get:function(e,n){var r,i=t.prop(e,n);return i===!0||typeof i!="boolean"&&(r=e.getAttributeNode(n))&&r.nodeValue!==!1?n.toLowerCase():E},set:function(e,n,r){var i;return n===!1?t.removeAttr(e,r):(i=t.propFix[r]||r,i in e&&(e[i]=!0),e.setAttribute(r,r.toLowerCase())),r}},xe||(Re={name:!0,id:!0},me=t.valHooks.button={get:function(e,n){var r;return r=e.getAttributeNode(n),r&&(Re[n]?r.nodeValue!=="":r.specified)?r.nodeValue:E},set:function(e,n,r){var i=e.getAttributeNode(r);return i||(i=D.createAttribute(r),e.setAttributeNode(i)),i.nodeValue=n+""}},t.attrHooks.tabindex.set=me.set,t.each(["width","height"],function(e,n){t.attrHooks[n]=t.extend(t.attrHooks[n],{set:function(r,i){if(i==="")return r.setAttribute(n,"auto"),i}})}),t.attrHooks.contenteditable={get:me.get,set:function(e,n,r){n===""&&(n="false"),me.set(e,n,r)}}),t.support.hrefNormalized||t.each(["href","src","width","height"],function(e,n){t.attrHooks[n]=t.extend(t.attrHooks[n],{get:function(r){var i=r.getAttribute(n,2);return i===null?E:i}})}),t.support.style||(t.attrHooks.style={get:function(e){return e.style.cssText.toLowerCase()||E},set:function(e,n){return e.style.cssText=""+n}}),t.support.optSelected||(t.propHooks.selected=t.extend(t.propHooks.selected,{get:function(e){var n=e.parentNode;return n&&(n.selectedIndex,n.parentNode&&n.parentNode.selectedIndex),null}})),t.support.enctype||(t.propFix.enctype="encoding"),t.support.checkOn||t.each(["radio","checkbox"],function(){t.valHooks[this]={get:function(e){return e.getAttribute("value")===null?"on":e.value}}}),t.each(["radio","checkbox"],function(){t.valHooks[this]=t.extend(t.valHooks[this],{set:function(e,n){if(t.isArray(n))return e.checked=t.inArray(t(e).val(),n)>=0}})});var Be=/^(?:textarea|input|select)$/i,dt=/^([^\.]*)?(?:\.(.+))?$/,Ge=/\bhover(\.\S+)?/,Qe=/^key/,ht=/^(?:mouse|contextmenu)|click/,ze=/^(\w*)(?:#([\w\-]+))?(?:\.([\w\-]+))?$/,pt=function(e){var n=ze.exec(e);return n&&(n[1]=(n[1]||"").toLowerCase(),n[3]=n[3]&&new RegExp("(?:^|\\s)"+n[3]+"(?:\\s|$)")),n},kt=function(e,n){return(!n[1]||e.nodeName.toLowerCase()===n[1])&&(!n[2]||e.id===n[2])&&(!n[3]||n[3].test(e.className))},je=function(e){return t.event.special.hover?e:e.replace(Ge,"mouseenter$1 mouseleave$1")};t.event={add:function(e,n,r,i,a){var l,c,f,m,w,v,y,A,N,L,X;if(!(e.nodeType===3||e.nodeType===8||!n||!r||!(l=t._data(e)))){for(r.handler&&(N=r,r=N.handler),r.guid||(r.guid=t.guid++),f=l.events,f||(l.events=f={}),c=l.handle,c||(l.handle=c=function(Z){return typeof t<"u"&&(!Z||t.event.triggered!==Z.type)?t.event.dispatch.apply(c.elem,arguments):E},c.elem=e),n=je(n).split(" "),m=0;m<n.length;m++)w=dt.exec(n[m])||[],v=w[1],y=(w[2]||"").split(".").sort(),X=t.event.special[v]||{},v=(a?X.delegateType:X.bindType)||v,X=t.event.special[v]||{},A=t.extend({type:v,origType:w[1],data:i,handler:r,guid:r.guid,selector:a,namespace:y.join(".")},N),a&&(A.quick=pt(a),!A.quick&&t.expr.match.POS.test(a)&&(A.isPositional=!0)),L=f[v],L||(L=f[v]=[],L.delegateCount=0,(!X.setup||X.setup.call(e,i,y,c)===!1)&&(e.addEventListener?e.addEventListener(v,c,!1):e.attachEvent&&e.attachEvent("on"+v,c))),X.add&&(X.add.call(e,A),A.handler.guid||(A.handler.guid=r.guid)),a?L.splice(L.delegateCount++,0,A):L.push(A),t.event.global[v]=!0;e=null}},global:{},remove:function(e,n,r,i){var a=t.hasData(e)&&t._data(e),l,c,f,m,w,v,y,A,N,L,X;if(a&&(y=a.events)){for(n=je(n||"").split(" "),l=0;l<n.length;l++){if(c=dt.exec(n[l])||[],f=c[1],m=c[2],!f){m=m?"."+m:"";for(v in y)t.event.remove(e,v+m,r,i);return}if(A=t.event.special[f]||{},f=(i?A.delegateType:A.bindType)||f,L=y[f]||[],w=L.length,m=m?new RegExp("(^|\\.)"+m.split(".").sort().join("\\.(?:.*\\.)?")+"(\\.|$)"):null,r||m||i||A.remove)for(v=0;v<L.length;v++)X=L[v],(!r||r.guid===X.guid)&&(!m||m.test(X.namespace))&&(!i||i===X.selector||i==="**"&&X.selector)&&(L.splice(v--,1),X.selector&&L.delegateCount--,A.remove&&A.remove.call(e,X));else L.length=0;L.length===0&&w!==L.length&&((!A.teardown||A.teardown.call(e,m)===!1)&&t.removeEvent(e,f,a.handle),delete y[f])}t.isEmptyObject(y)&&(N=a.handle,N&&(N.elem=null),t.removeData(e,["events","handle"],!0))}},customEvent:{getData:!0,setData:!0,changeData:!0},trigger:function(e,n,r,i){if(!r||r.nodeType!==3&&r.nodeType!==8){var a=e.type||e,l=[],c,f,m,w,v,y,A,N,L,X;if(a.indexOf("!")>=0&&(a=a.slice(0,-1),f=!0),a.indexOf(".")>=0&&(l=a.split("."),a=l.shift(),l.sort()),(!r||t.event.customEvent[a])&&!t.event.global[a])return;if(e=typeof e=="object"?e[t.expando]?e:new t.Event(a,e):new t.Event(a),e.type=a,e.isTrigger=!0,e.exclusive=f,e.namespace=l.join("."),e.namespace_re=e.namespace?new RegExp("(^|\\.)"+l.join("\\.(?:.*\\.)?")+"(\\.|$)"):null,y=a.indexOf(":")<0?"on"+a:"",(i||!r)&&e.preventDefault(),!r){c=t.cache;for(m in c)c[m].events&&c[m].events[a]&&t.event.trigger(e,n,c[m].handle.elem,!0);return}if(e.result=E,e.target||(e.target=r),n=n!=null?t.makeArray(n):[],n.unshift(e),A=t.event.special[a]||{},A.trigger&&A.trigger.apply(r,n)===!1)return;if(L=[[r,A.bindType||a]],!i&&!A.noBubble&&!t.isWindow(r)){for(X=A.delegateType||a,v=null,w=r.parentNode;w;w=w.parentNode)L.push([w,X]),v=w;v&&v===r.ownerDocument&&L.push([v.defaultView||v.parentWindow||C,X])}for(m=0;m<L.length&&(w=L[m][0],e.type=L[m][1],N=(t._data(w,"events")||{})[e.type]&&t._data(w,"handle"),N&&N.apply(w,n),N=y&&w[y],N&&t.acceptData(w)&&N.apply(w,n),!e.isPropagationStopped());m++);return e.type=a,e.isDefaultPrevented()||(!A._default||A._default.apply(r.ownerDocument,n)===!1)&&(a!=="click"||!t.nodeName(r,"a"))&&t.acceptData(r)&&y&&r[a]&&(a!=="focus"&&a!=="blur"||e.target.offsetWidth!==0)&&!t.isWindow(r)&&(v=r[y],v&&(r[y]=null),t.event.triggered=a,r[a](),t.event.triggered=E,v&&(r[y]=v)),e.result}},dispatch:function(e){e=t.event.fix(e||C.event);var n=(t._data(this,"events")||{})[e.type]||[],r=n.delegateCount,i=[].slice.call(arguments,0),a=!e.exclusive&&!e.namespace,l=(t.event.special[e.type]||{}).handle,c=[],f,m,w,v,y,A,N,L,X,Z;if(i[0]=e,e.delegateTarget=this,r&&!e.target.disabled&&(!e.button||e.type!=="click"))for(w=e.target;w!=this;w=w.parentNode||this){for(y={},N=[],f=0;f<r;f++)L=n[f],X=L.selector,Z=y[X],L.isPositional?Z=(Z||(y[X]=t(X))).index(w)>=0:Z===E&&(Z=y[X]=L.quick?kt(w,L.quick):t(w).is(X)),Z&&N.push(L);N.length&&c.push({elem:w,matches:N})}for(n.length>r&&c.push({elem:this,matches:n.slice(r)}),f=0;f<c.length&&!e.isPropagationStopped();f++)for(A=c[f],e.currentTarget=A.elem,m=0;m<A.matches.length&&!e.isImmediatePropagationStopped();m++)L=A.matches[m],(a||!e.namespace&&!L.namespace||e.namespace_re&&e.namespace_re.test(L.namespace))&&(e.data=L.data,e.handleObj=L,v=(l||L.handler).apply(A.elem,i),v!==E&&(e.result=v,v===!1&&(e.preventDefault(),e.stopPropagation())));return e.result},props:"attrChange attrName relatedNode srcElement altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(e,n){return e.which==null&&(e.which=n.charCode!=null?n.charCode:n.keyCode),e}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement wheelDelta".split(" "),filter:function(e,n){var r,i,a,l=n.button,c=n.fromElement;return e.pageX==null&&n.clientX!=null&&(r=e.target.ownerDocument||D,i=r.documentElement,a=r.body,e.pageX=n.clientX+(i&&i.scrollLeft||a&&a.scrollLeft||0)-(i&&i.clientLeft||a&&a.clientLeft||0),e.pageY=n.clientY+(i&&i.scrollTop||a&&a.scrollTop||0)-(i&&i.clientTop||a&&a.clientTop||0)),!e.relatedTarget&&c&&(e.relatedTarget=c===e.target?n.toElement:c),!e.which&&l!==E&&(e.which=l&1?1:l&2?3:l&4?2:0),e}},fix:function(e){if(e[t.expando])return e;var n,r,i=e,a=t.event.fixHooks[e.type]||{},l=a.props?this.props.concat(a.props):this.props;for(e=t.Event(i),n=l.length;n;)r=l[--n],e[r]=i[r];return e.target||(e.target=i.srcElement||D),e.target.nodeType===3&&(e.target=e.target.parentNode),e.metaKey===E&&(e.metaKey=e.ctrlKey),a.filter?a.filter(e,i):e},special:{ready:{setup:t.bindReady},focus:{delegateType:"focusin",noBubble:!0},blur:{delegateType:"focusout",noBubble:!0},beforeunload:{setup:function(e,n,r){t.isWindow(this)&&(this.onbeforeunload=r)},teardown:function(e,n){this.onbeforeunload===n&&(this.onbeforeunload=null)}}},simulate:function(e,n,r,i){var a=t.extend(new t.Event,r,{type:e,isSimulated:!0,originalEvent:{}});i?t.event.trigger(a,null,n):t.event.dispatch.call(n,a),a.isDefaultPrevented()&&r.preventDefault()}},t.event.handle=t.event.dispatch,t.removeEvent=D.removeEventListener?function(e,n,r){e.removeEventListener&&e.removeEventListener(n,r,!1)}:function(e,n,r){e.detachEvent&&e.detachEvent("on"+n,r)},t.Event=function(e,n){if(!(this instanceof t.Event))return new t.Event(e,n);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||e.returnValue===!1||e.getPreventDefault&&e.getPreventDefault()?Ue:tt):this.type=e,n&&t.extend(this,n),this.timeStamp=e&&e.timeStamp||t.now(),this[t.expando]=!0},t.Event.prototype={preventDefault:function(){this.isDefaultPrevented=Ue;var e=this.originalEvent;!e||(e.preventDefault?e.preventDefault():e.returnValue=!1)},stopPropagation:function(){this.isPropagationStopped=Ue;var e=this.originalEvent;!e||(e.stopPropagation&&e.stopPropagation(),e.cancelBubble=!0)},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=Ue,this.stopPropagation()},isDefaultPrevented:tt,isPropagationStopped:tt,isImmediatePropagationStopped:tt},t.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(e,n){t.event.special[e]=t.event.special[n]={delegateType:n,bindType:n,handle:function(r){var i=this,a=r.relatedTarget,l=r.handleObj;l.selector;var c,f;return(!a||l.origType===r.type||a!==i&&!t.contains(i,a))&&(c=r.type,r.type=l.origType,f=l.handler.apply(this,arguments),r.type=c),f}}}),t.support.submitBubbles||(t.event.special.submit={setup:function(){if(t.nodeName(this,"form"))return!1;t.event.add(this,"click._submit keypress._submit",function(e){var n=e.target,r=t.nodeName(n,"input")||t.nodeName(n,"button")?n.form:E;r&&!r._submit_attached&&(t.event.add(r,"submit._submit",function(i){this.parentNode&&t.event.simulate("submit",this.parentNode,i,!0)}),r._submit_attached=!0)})},teardown:function(){if(t.nodeName(this,"form"))return!1;t.event.remove(this,"._submit")}}),t.support.changeBubbles||(t.event.special.change={setup:function(){if(Be.test(this.nodeName))return(this.type==="checkbox"||this.type==="radio")&&(t.event.add(this,"propertychange._change",function(e){e.originalEvent.propertyName==="checked"&&(this._just_changed=!0)}),t.event.add(this,"click._change",function(e){this._just_changed&&(this._just_changed=!1,t.event.simulate("change",this,e,!0))})),!1;t.event.add(this,"beforeactivate._change",function(e){var n=e.target;Be.test(n.nodeName)&&!n._change_attached&&(t.event.add(n,"change._change",function(r){this.parentNode&&!r.isSimulated&&t.event.simulate("change",this.parentNode,r,!0)}),n._change_attached=!0)})},handle:function(e){var n=e.target;if(this!==n||e.isSimulated||e.isTrigger||n.type!=="radio"&&n.type!=="checkbox")return e.handleObj.handler.apply(this,arguments)},teardown:function(){return t.event.remove(this,"._change"),Be.test(this.nodeName)}}),t.support.focusinBubbles||t.each({focus:"focusin",blur:"focusout"},function(e,n){var r=0,i=function(a){t.event.simulate(n,a.target,t.event.fix(a),!0)};t.event.special[n]={setup:function(){r++===0&&D.addEventListener(e,i,!0)},teardown:function(){--r===0&&D.removeEventListener(e,i,!0)}}}),t.fn.extend({on:function(e,n,r,i,a){var l,c;if(typeof e=="object"){typeof n!="string"&&(r=n,n=E);for(c in e)this.on(c,n,r,e[c],a);return this}if(r==null&&i==null?(i=n,r=n=E):i==null&&(typeof n=="string"?(i=r,r=E):(i=r,r=n,n=E)),i===!1)i=tt;else if(!i)return this;return a===1&&(l=i,i=function(f){return t().off(f),l.apply(this,arguments)},i.guid=l.guid||(l.guid=t.guid++)),this.each(function(){t.event.add(this,e,i,r,n)})},one:function(e,n,r,i){return this.on.call(this,e,n,r,i,1)},off:function(e,n,r){if(e&&e.preventDefault&&e.handleObj){var i=e.handleObj;return t(e.delegateTarget).off(i.namespace?i.type+"."+i.namespace:i.type,i.selector,i.handler),this}if(typeof e=="object"){for(var a in e)this.off(a,n,e[a]);return this}return(n===!1||typeof n=="function")&&(r=n,n=E),r===!1&&(r=tt),this.each(function(){t.event.remove(this,e,r,n)})},bind:function(e,n,r){return this.on(e,null,n,r)},unbind:function(e,n){return this.off(e,null,n)},live:function(e,n,r){return t(this.context).on(e,this.selector,n,r),this},die:function(e,n){return t(this.context).off(e,this.selector||"**",n),this},delegate:function(e,n,r,i){return this.on(n,e,r,i)},undelegate:function(e,n,r){return arguments.length==1?this.off(e,"**"):this.off(n,e,r)},trigger:function(e,n){return this.each(function(){t.event.trigger(e,n,this)})},triggerHandler:function(e,n){if(this[0])return t.event.trigger(e,n,this[0],!0)},toggle:function(e){var n=arguments,r=e.guid||t.guid++,i=0,a=function(l){var c=(t._data(this,"lastToggle"+e.guid)||0)%i;return t._data(this,"lastToggle"+e.guid,c+1),l.preventDefault(),n[c].apply(this,arguments)||!1};for(a.guid=r;i<n.length;)n[i++].guid=r;return this.click(a)},hover:function(e,n){return this.mouseenter(e).mouseleave(n||e)}}),t.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(e,n){t.fn[n]=function(r,i){return i==null&&(i=r,r=null),arguments.length>0?this.bind(n,r,i):this.trigger(n)},t.attrFn&&(t.attrFn[n]=!0),Qe.test(n)&&(t.event.fixHooks[n]=t.event.keyHooks),ht.test(n)&&(t.event.fixHooks[n]=t.event.mouseHooks)}),function(){function e(u,p,x,b,k,_){for(var P=0,q=b.length;P<q;P++){var O=b[P];if(O){var z=!1;for(O=O[u];O;){if(O[i]===x){z=b[O.sizset];break}if(O.nodeType===1){if(_||(O[i]=x,O.sizset=P),typeof p!="string"){if(O===p){z=!0;break}}else if(y.filter(p,[O]).length>0){z=O;break}}O=O[u]}b[P]=z}}}function n(u,p,x,b,k,_){for(var P=0,q=b.length;P<q;P++){var O=b[P];if(O){var z=!1;for(O=O[u];O;){if(O[i]===x){z=b[O.sizset];break}if(O.nodeType===1&&!_&&(O[i]=x,O.sizset=P),O.nodeName.toLowerCase()===p){z=O;break}O=O[u]}b[P]=z}}}var r=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,i="sizcache"+(Math.random()+"").replace(".",""),a=0,l=Object.prototype.toString,c=!1,f=!0,m=/\\/g,w=/\r\n/g,v=/\W/;[0,0].sort(function(){return f=!1,0});var y=function(u,p,x,b){x=x||[],p=p||D;var k=p;if(p.nodeType!==1&&p.nodeType!==9)return[];if(!u||typeof u!="string")return x;var _,P,q,O,z,Ae,ge,h,S=!0,I=y.isXML(p),M=[],K=u;do if(r.exec(""),_=r.exec(K),_&&(K=_[3],M.push(_[1]),_[2])){O=_[3];break}while(_);if(M.length>1&&L.exec(u))if(M.length===2&&N.relative[M[0]])P=Y(M[0]+M[1],p,b);else for(P=N.relative[M[0]]?[p]:y(M.shift(),p);M.length;)u=M.shift(),N.relative[u]&&(u+=M.shift()),P=Y(u,P,b);else if(!b&&M.length>1&&p.nodeType===9&&!I&&N.match.ID.test(M[0])&&!N.match.ID.test(M[M.length-1])&&(z=y.find(M.shift(),p,I),p=z.expr?y.filter(z.expr,z.set)[0]:z.set[0]),p)for(z=b?{expr:M.pop(),set:Q(b)}:y.find(M.pop(),M.length===1&&(M[0]==="~"||M[0]==="+")&&p.parentNode?p.parentNode:p,I),P=z.expr?y.filter(z.expr,z.set):z.set,M.length>0?q=Q(P):S=!1;M.length;)Ae=M.pop(),ge=Ae,N.relative[Ae]?ge=M.pop():Ae="",ge==null&&(ge=p),N.relative[Ae](q,ge,I);else q=M=[];if(q||(q=P),q||y.error(Ae||u),l.call(q)==="[object Array]")if(!S)x.push.apply(x,q);else if(p&&p.nodeType===1)for(h=0;q[h]!=null;h++)q[h]&&(q[h]===!0||q[h].nodeType===1&&y.contains(p,q[h]))&&x.push(P[h]);else for(h=0;q[h]!=null;h++)q[h]&&q[h].nodeType===1&&x.push(P[h]);else Q(q,x);return O&&(y(O,k,x,b),y.uniqueSort(x)),x};y.uniqueSort=function(u){if(ve&&(c=f,u.sort(ve),c))for(var p=1;p<u.length;p++)u[p]===u[p-1]&&u.splice(p--,1);return u},y.matches=function(u,p){return y(u,null,null,p)},y.matchesSelector=function(u,p){return y(p,null,null,[u]).length>0},y.find=function(u,p,x){var b,k,_,P,q,O;if(!u)return[];for(k=0,_=N.order.length;k<_;k++)if(q=N.order[k],(P=N.leftMatch[q].exec(u))&&(O=P[1],P.splice(1,1),O.substr(O.length-1)!=="\\"&&(P[1]=(P[1]||"").replace(m,""),b=N.find[q](P,p,x),b!=null))){u=u.replace(N.match[q],"");break}return b||(b=typeof p.getElementsByTagName<"u"?p.getElementsByTagName("*"):[]),{set:b,expr:u}},y.filter=function(u,p,x,b){for(var k,_,P,q,O,z,Ae,ge,h,S=u,I=[],M=p,K=p&&p[0]&&y.isXML(p[0]);u&&p.length;){for(P in N.filter)if((k=N.leftMatch[P].exec(u))!=null&&k[2]){if(z=N.filter[P],Ae=k[1],_=!1,k.splice(1,1),Ae.substr(Ae.length-1)==="\\")continue;if(M===I&&(I=[]),N.preFilter[P]){if(k=N.preFilter[P](k,M,x,I,b,K),!k)_=q=!0;else if(k===!0)continue}if(k)for(ge=0;(O=M[ge])!=null;ge++)O&&(q=z(O,k,ge,M),h=b^q,x&&q!=null?h?_=!0:M[ge]=!1:h&&(I.push(O),_=!0));if(q!==E){if(x||(M=I),u=u.replace(N.match[P],""),!_)return[];break}}if(u===S)if(_==null)y.error(u);else break;S=u}return M},y.error=function(u){throw"Syntax error, unrecognized expression: "+u};var A=y.getText=function(u){var p,x,b=u.nodeType,k="";if(b){if(b===1){if(typeof u.textContent=="string")return u.textContent;if(typeof u.innerText=="string")return u.innerText.replace(w,"");for(u=u.firstChild;u;u=u.nextSibling)k+=A(u)}else if(b===3||b===4)return u.nodeValue}else for(p=0;x=u[p];p++)x.nodeType!==8&&(k+=A(x));return k},N=y.selectors={order:["ID","NAME","TAG"],match:{ID:/#((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,CLASS:/\.((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,NAME:/\[name=['"]*((?:[\w\u00c0-\uFFFF\-]|\\.)+)['"]*\]/,ATTR:/\[\s*((?:[\w\u00c0-\uFFFF\-]|\\.)+)\s*(?:(\S?=)\s*(?:(['"])(.*?)\3|(#?(?:[\w\u00c0-\uFFFF\-]|\\.)*)|)|)\s*\]/,TAG:/^((?:[\w\u00c0-\uFFFF\*\-]|\\.)+)/,CHILD:/:(only|nth|last|first)-child(?:\(\s*(even|odd|(?:[+\-]?\d+|(?:[+\-]?\d*)?n\s*(?:[+\-]\s*\d+)?))\s*\))?/,POS:/:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^\-]|$)/,PSEUDO:/:((?:[\w\u00c0-\uFFFF\-]|\\.)+)(?:\((['"]?)((?:\([^\)]+\)|[^\(\)]*)+)\2\))?/},leftMatch:{},attrMap:{class:"className",for:"htmlFor"},attrHandle:{href:function(u){return u.getAttribute("href")},type:function(u){return u.getAttribute("type")}},relative:{"+":function(u,p){var x=typeof p=="string",b=x&&!v.test(p),k=x&&!b;b&&(p=p.toLowerCase());for(var _=0,P=u.length,q;_<P;_++)if(q=u[_]){for(;(q=q.previousSibling)&&q.nodeType!==1;);u[_]=k||q&&q.nodeName.toLowerCase()===p?q||!1:q===p}k&&y.filter(p,u,!0)},">":function(u,p){var x,b=typeof p=="string",k=0,_=u.length;if(b&&!v.test(p)){for(p=p.toLowerCase();k<_;k++)if(x=u[k],x){var P=x.parentNode;u[k]=P.nodeName.toLowerCase()===p?P:!1}}else{for(;k<_;k++)x=u[k],x&&(u[k]=b?x.parentNode:x.parentNode===p);b&&y.filter(p,u,!0)}},"":function(u,p,x){var b,k=a++,_=e;typeof p=="string"&&!v.test(p)&&(p=p.toLowerCase(),b=p,_=n),_("parentNode",p,k,u,b,x)},"~":function(u,p,x){var b,k=a++,_=e;typeof p=="string"&&!v.test(p)&&(p=p.toLowerCase(),b=p,_=n),_("previousSibling",p,k,u,b,x)}},find:{ID:function(u,p,x){if(typeof p.getElementById<"u"&&!x){var b=p.getElementById(u[1]);return b&&b.parentNode?[b]:[]}},NAME:function(u,p){if(typeof p.getElementsByName<"u"){for(var x=[],b=p.getElementsByName(u[1]),k=0,_=b.length;k<_;k++)b[k].getAttribute("name")===u[1]&&x.push(b[k]);return x.length===0?null:x}},TAG:function(u,p){if(typeof p.getElementsByTagName<"u")return p.getElementsByTagName(u[1])}},preFilter:{CLASS:function(u,p,x,b,k,_){if(u=" "+u[1].replace(m,"")+" ",_)return u;for(var P=0,q;(q=p[P])!=null;P++)q&&(k^(q.className&&(" "+q.className+" ").replace(/[\t\n\r]/g," ").indexOf(u)>=0)?x||b.push(q):x&&(p[P]=!1));return!1},ID:function(u){return u[1].replace(m,"")},TAG:function(u,p){return u[1].replace(m,"").toLowerCase()},CHILD:function(u){if(u[1]==="nth"){u[2]||y.error(u[0]),u[2]=u[2].replace(/^\+|\s*/g,"");var p=/(-?)(\d*)(?:n([+\-]?\d*))?/.exec(u[2]==="even"&&"2n"||u[2]==="odd"&&"2n+1"||!/\D/.test(u[2])&&"0n+"+u[2]||u[2]);u[2]=p[1]+(p[2]||1)-0,u[3]=p[3]-0}else u[2]&&y.error(u[0]);return u[0]=a++,u},ATTR:function(u,p,x,b,k,_){var P=u[1]=u[1].replace(m,"");return!_&&N.attrMap[P]&&(u[1]=N.attrMap[P]),u[4]=(u[4]||u[5]||"").replace(m,""),u[2]==="~="&&(u[4]=" "+u[4]+" "),u},PSEUDO:function(u,p,x,b,k){if(u[1]==="not")if((r.exec(u[3])||"").length>1||/^\w/.test(u[3]))u[3]=y(u[3],null,null,p);else{var _=y.filter(u[3],p,x,!0^k);return x||b.push.apply(b,_),!1}else if(N.match.POS.test(u[0])||N.match.CHILD.test(u[0]))return!0;return u},POS:function(u){return u.unshift(!0),u}},filters:{enabled:function(u){return u.disabled===!1&&u.type!=="hidden"},disabled:function(u){return u.disabled===!0},checked:function(u){return u.checked===!0},selected:function(u){return u.parentNode&&u.parentNode.selectedIndex,u.selected===!0},parent:function(u){return!!u.firstChild},empty:function(u){return!u.firstChild},has:function(u,p,x){return!!y(x[3],u).length},header:function(u){return/h\d/i.test(u.nodeName)},text:function(u){var p=u.getAttribute("type"),x=u.type;return u.nodeName.toLowerCase()==="input"&&x==="text"&&(p===x||p===null)},radio:function(u){return u.nodeName.toLowerCase()==="input"&&u.type==="radio"},checkbox:function(u){return u.nodeName.toLowerCase()==="input"&&u.type==="checkbox"},file:function(u){return u.nodeName.toLowerCase()==="input"&&u.type==="file"},password:function(u){return u.nodeName.toLowerCase()==="input"&&u.type==="password"},submit:function(u){var p=u.nodeName.toLowerCase();return(p==="input"||p==="button")&&u.type==="submit"},image:function(u){return u.nodeName.toLowerCase()==="input"&&u.type==="image"},reset:function(u){var p=u.nodeName.toLowerCase();return(p==="input"||p==="button")&&u.type==="reset"},button:function(u){var p=u.nodeName.toLowerCase();return p==="input"&&u.type==="button"||p==="button"},input:function(u){return/input|select|textarea|button/i.test(u.nodeName)},focus:function(u){return u===u.ownerDocument.activeElement}},setFilters:{first:function(u,p){return p===0},last:function(u,p,x,b){return p===b.length-1},even:function(u,p){return p%2===0},odd:function(u,p){return p%2===1},lt:function(u,p,x){return p<x[3]-0},gt:function(u,p,x){return p>x[3]-0},nth:function(u,p,x){return x[3]-0===p},eq:function(u,p,x){return x[3]-0===p}},filter:{PSEUDO:function(u,p,x,b){var k=p[1],_=N.filters[k];if(_)return _(u,x,p,b);if(k==="contains")return(u.textContent||u.innerText||A([u])||"").indexOf(p[3])>=0;if(k==="not"){for(var P=p[3],q=0,O=P.length;q<O;q++)if(P[q]===u)return!1;return!0}y.error(k)},CHILD:function(u,p){var x,b,k,_,P,q,O=p[1],z=u;switch(O){case"only":case"first":for(;z=z.previousSibling;)if(z.nodeType===1)return!1;if(O==="first")return!0;z=u;case"last":for(;z=z.nextSibling;)if(z.nodeType===1)return!1;return!0;case"nth":if(x=p[2],b=p[3],x===1&&b===0)return!0;if(k=p[0],_=u.parentNode,_&&(_[i]!==k||!u.nodeIndex)){for(P=0,z=_.firstChild;z;z=z.nextSibling)z.nodeType===1&&(z.nodeIndex=++P);_[i]=k}return q=u.nodeIndex-b,x===0?q===0:q%x===0&&q/x>=0}},ID:function(u,p){return u.nodeType===1&&u.getAttribute("id")===p},TAG:function(u,p){return p==="*"&&u.nodeType===1||!!u.nodeName&&u.nodeName.toLowerCase()===p},CLASS:function(u,p){return(" "+(u.className||u.getAttribute("class"))+" ").indexOf(p)>-1},ATTR:function(u,p){var x=p[1],b=y.attr?y.attr(u,x):N.attrHandle[x]?N.attrHandle[x](u):u[x]!=null?u[x]:u.getAttribute(x),k=b+"",_=p[2],P=p[4];return b==null?_==="!=":!_&&y.attr?b!=null:_==="="?k===P:_==="*="?k.indexOf(P)>=0:_==="~="?(" "+k+" ").indexOf(P)>=0:P?_==="!="?k!==P:_==="^="?k.indexOf(P)===0:_==="$="?k.substr(k.length-P.length)===P:_==="|="?k===P||k.substr(0,P.length+1)===P+"-":!1:k&&b!==!1},POS:function(u,p,x,b){var k=p[2],_=N.setFilters[k];if(_)return _(u,x,p,b)}}},L=N.match.POS,X=function(u,p){return"\\"+(p-0+1)};for(var Z in N.match)N.match[Z]=new RegExp(N.match[Z].source+/(?![^\[]*\])(?![^\(]*\))/.source),N.leftMatch[Z]=new RegExp(/(^(?:.|\r|\n)*?)/.source+N.match[Z].source.replace(/\\(\d+)/g,X));var Q=function(u,p){return u=Array.prototype.slice.call(u,0),p?(p.push.apply(p,u),p):u};try{Array.prototype.slice.call(D.documentElement.childNodes,0)[0].nodeType}catch(u){Q=function(p,x){var b=0,k=x||[];if(l.call(p)==="[object Array]")Array.prototype.push.apply(k,p);else if(typeof p.length=="number")for(var _=p.length;b<_;b++)k.push(p[b]);else for(;p[b];b++)k.push(p[b]);return k}}var ve,ye;D.documentElement.compareDocumentPosition?ve=function(u,p){return u===p?(c=!0,0):!u.compareDocumentPosition||!p.compareDocumentPosition?u.compareDocumentPosition?-1:1:u.compareDocumentPosition(p)&4?-1:1}:(ve=function(u,p){if(u===p)return c=!0,0;if(u.sourceIndex&&p.sourceIndex)return u.sourceIndex-p.sourceIndex;var x,b,k=[],_=[],P=u.parentNode,q=p.parentNode,O=P;if(P===q)return ye(u,p);if(!P)return-1;if(!q)return 1;for(;O;)k.unshift(O),O=O.parentNode;for(O=q;O;)_.unshift(O),O=O.parentNode;x=k.length,b=_.length;for(var z=0;z<x&&z<b;z++)if(k[z]!==_[z])return ye(k[z],_[z]);return z===x?ye(u,_[z],-1):ye(k[z],p,1)},ye=function(u,p,x){if(u===p)return x;for(var b=u.nextSibling;b;){if(b===p)return-1;b=b.nextSibling}return 1}),function(){var u=D.createElement("div"),p="script"+new Date().getTime(),x=D.documentElement;u.innerHTML="<a name='"+p+"'/>",x.insertBefore(u,x.firstChild),D.getElementById(p)&&(N.find.ID=function(b,k,_){if(typeof k.getElementById<"u"&&!_){var P=k.getElementById(b[1]);return P?P.id===b[1]||typeof P.getAttributeNode<"u"&&P.getAttributeNode("id").nodeValue===b[1]?[P]:E:[]}},N.filter.ID=function(b,k){var _=typeof b.getAttributeNode<"u"&&b.getAttributeNode("id");return b.nodeType===1&&_&&_.nodeValue===k}),x.removeChild(u),x=u=null}(),function(){var u=D.createElement("div");u.appendChild(D.createComment("")),u.getElementsByTagName("*").length>0&&(N.find.TAG=function(p,x){var b=x.getElementsByTagName(p[1]);if(p[1]==="*"){for(var k=[],_=0;b[_];_++)b[_].nodeType===1&&k.push(b[_]);b=k}return b}),u.innerHTML="<a href='#'></a>",u.firstChild&&typeof u.firstChild.getAttribute<"u"&&u.firstChild.getAttribute("href")!=="#"&&(N.attrHandle.href=function(p){return p.getAttribute("href",2)}),u=null}(),D.querySelectorAll&&function(){var u=y,p=D.createElement("div"),x="__sizzle__";if(p.innerHTML="<p class='TEST'></p>",!p.querySelectorAll||p.querySelectorAll(".TEST").length!==0){y=function(k,_,P,q){if(_=_||D,!q&&!y.isXML(_)){var O=/^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec(k);if(O&&(_.nodeType===1||_.nodeType===9)){if(O[1])return Q(_.getElementsByTagName(k),P);if(O[2]&&N.find.CLASS&&_.getElementsByClassName)return Q(_.getElementsByClassName(O[2]),P)}if(_.nodeType===9){if(k==="body"&&_.body)return Q([_.body],P);if(O&&O[3]){var z=_.getElementById(O[3]);if(!z||!z.parentNode)return Q([],P);if(z.id===O[3])return Q([z],P)}try{return Q(_.querySelectorAll(k),P)}catch(M){}}else if(_.nodeType===1&&_.nodeName.toLowerCase()!=="object"){var Ae=_,ge=_.getAttribute("id"),h=ge||x,S=_.parentNode,I=/^\s*[+~]/.test(k);ge?h=h.replace(/'/g,"\\$&"):_.setAttribute("id",h),I&&S&&(_=_.parentNode);try{if(!I||S)return Q(_.querySelectorAll("[id='"+h+"'] "+k),P)}catch(M){}finally{ge||Ae.removeAttribute("id")}}}return u(k,_,P,q)};for(var b in u)y[b]=u[b];p=null}}(),function(){var u=D.documentElement,p=u.matchesSelector||u.mozMatchesSelector||u.webkitMatchesSelector||u.msMatchesSelector;if(p){var x=!p.call(D.createElement("div"),"div"),b=!1;try{p.call(D.documentElement,"[test!='']:sizzle")}catch(k){b=!0}y.matchesSelector=function(k,_){if(_=_.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']"),!y.isXML(k))try{if(b||!N.match.PSEUDO.test(_)&&!/!=/.test(_)){var P=p.call(k,_);if(P||!x||k.document&&k.document.nodeType!==11)return P}}catch(q){}return y(_,null,null,[k]).length>0}}}(),function(){var u=D.createElement("div");if(u.innerHTML="<div class='test e'></div><div class='test'></div>",u.getElementsByClassName&&u.getElementsByClassName("e").length!==0){if(u.lastChild.className="e",u.getElementsByClassName("e").length===1)return;N.order.splice(1,0,"CLASS"),N.find.CLASS=function(p,x,b){if(typeof x.getElementsByClassName<"u"&&!b)return x.getElementsByClassName(p[1])},u=null}}(),D.documentElement.contains?y.contains=function(u,p){return u!==p&&(u.contains?u.contains(p):!0)}:D.documentElement.compareDocumentPosition?y.contains=function(u,p){return!!(u.compareDocumentPosition(p)&16)}:y.contains=function(){return!1},y.isXML=function(u){var p=(u?u.ownerDocument||u:0).documentElement;return p?p.nodeName!=="HTML":!1};var Y=function(u,p,x){for(var b,k=[],_="",P=p.nodeType?[p]:p;b=N.match.PSEUDO.exec(u);)_+=b[0],u=u.replace(N.match.PSEUDO,"");u=N.relative[u]?u+"*":u;for(var q=0,O=P.length;q<O;q++)y(u,P[q],k,x);return y.filter(_,k)};y.attr=t.attr,y.selectors.attrMap={},t.find=y,t.expr=y.selectors,t.expr[":"]=t.expr.filters,t.unique=y.uniqueSort,t.text=y.getText,t.isXMLDoc=y.isXML,t.contains=y.contains}();var bt=/Until$/,pe=/^(?:parents|prevUntil|prevAll)/,Mt=/,/,gt=/^.[^:#\[\.,]*$/,At=Array.prototype.slice,Ze=t.expr.match.POS,Ke={children:!0,contents:!0,next:!0,prev:!0};t.fn.extend({find:function(e){var n=this,r,i;if(typeof e!="string")return t(e).filter(function(){for(r=0,i=n.length;r<i;r++)if(t.contains(n[r],this))return!0});var a=this.pushStack("","find",e),l,c,f;for(r=0,i=this.length;r<i;r++)if(l=a.length,t.find(e,this[r],a),r>0){for(c=l;c<a.length;c++)for(f=0;f<l;f++)if(a[f]===a[c]){a.splice(c--,1);break}}return a},has:function(e){var n=t(e);return this.filter(function(){for(var r=0,i=n.length;r<i;r++)if(t.contains(this,n[r]))return!0})},not:function(e){return this.pushStack(ke(this,e,!1),"not",e)},filter:function(e){return this.pushStack(ke(this,e,!0),"filter",e)},is:function(e){return!!e&&(typeof e=="string"?Ze.test(e)?t(e,this.context).index(this[0])>=0:t.filter(e,this).length>0:this.filter(e).length>0)},closest:function(e,n){var r=[],i,a,l=this[0];if(t.isArray(e)){for(var c=1;l&&l.ownerDocument&&l!==n;){for(i=0;i<e.length;i++)t(l).is(e[i])&&r.push({selector:e[i],elem:l,level:c});l=l.parentNode,c++}return r}var f=Ze.test(e)||typeof e!="string"?t(e,n||this.context):0;for(i=0,a=this.length;i<a;i++)for(l=this[i];l;){if(f?f.index(l)>-1:t.find.matchesSelector(l,e)){r.push(l);break}if(l=l.parentNode,!l||!l.ownerDocument||l===n||l.nodeType===11)break}return r=r.length>1?t.unique(r):r,this.pushStack(r,"closest",e)},index:function(e){return e?typeof e=="string"?t.inArray(this[0],t(e)):t.inArray(e.jquery?e[0]:e,this):this[0]&&this[0].parentNode?this.prevAll().length:-1},add:function(e,n){var r=typeof e=="string"?t(e,n):t.makeArray(e&&e.nodeType?[e]:e),i=t.merge(this.get(),r);return this.pushStack(de(r[0])||de(i[0])?i:t.unique(i))},andSelf:function(){return this.add(this.prevObject)}}),t.each({parent:function(e){var n=e.parentNode;return n&&n.nodeType!==11?n:null},parents:function(e){return t.dir(e,"parentNode")},parentsUntil:function(e,n,r){return t.dir(e,"parentNode",r)},next:function(e){return t.nth(e,2,"nextSibling")},prev:function(e){return t.nth(e,2,"previousSibling")},nextAll:function(e){return t.dir(e,"nextSibling")},prevAll:function(e){return t.dir(e,"previousSibling")},nextUntil:function(e,n,r){return t.dir(e,"nextSibling",r)},prevUntil:function(e,n,r){return t.dir(e,"previousSibling",r)},siblings:function(e){return t.sibling(e.parentNode.firstChild,e)},children:function(e){return t.sibling(e.firstChild)},contents:function(e){return t.nodeName(e,"iframe")?e.contentDocument||e.contentWindow.document:t.makeArray(e.childNodes)}},function(e,n){t.fn[e]=function(r,i){var a=t.map(this,n,r),l=At.call(arguments);return bt.test(e)||(i=r),i&&typeof i=="string"&&(a=t.filter(i,a)),a=this.length>1&&!Ke[e]?t.unique(a):a,(this.length>1||Mt.test(i))&&pe.test(e)&&(a=a.reverse()),this.pushStack(a,e,l.join(","))}}),t.extend({filter:function(e,n,r){return r&&(e=":not("+e+")"),n.length===1?t.find.matchesSelector(n[0],e)?[n[0]]:[]:t.find.matches(e,n)},dir:function(e,n,r){for(var i=[],a=e[n];a&&a.nodeType!==9&&(r===E||a.nodeType!==1||!t(a).is(r));)a.nodeType===1&&i.push(a),a=a[n];return i},nth:function(e,n,r,i){n=n||1;for(var a=0;e&&!(e.nodeType===1&&++a===n);e=e[r]);return e},sibling:function(e,n){for(var r=[];e;e=e.nextSibling)e.nodeType===1&&e!==n&&r.push(e);return r}});var nt="abbr article aside audio canvas datalist details figcaption figure footer header hgroup mark meter nav output progress section summary time video",mt=/ jQuery\d+="(?:\d+|null)"/g,ue=/^\s+/,Me=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,se=/<([\w:]+)/,Oe=/<tbody/i,Je=/<|&#?\w+;/,rt=/<(?:script|style)/i,ot=/<(?:script|object|embed|option|style)/i,$e=new RegExp("<(?:"+nt.replace(" ","|")+")","i"),it=/checked\s*(?:[^=]|=\s*.checked.)/i,at=/\/(java|ecma)script/i,et=/^\s*<!(?:\[CDATA\[|\-\-)/,be={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],area:[1,"<map>","</map>"],_default:[0,"",""]},nn=$(D);be.optgroup=be.option,be.tbody=be.tfoot=be.colgroup=be.caption=be.thead,be.th=be.td,t.support.htmlSerialize||(be._default=[1,"div<div>","</div>"]),t.fn.extend({text:function(e){return t.isFunction(e)?this.each(function(n){var r=t(this);r.text(e.call(this,n,r.text()))}):typeof e!="object"&&e!==E?this.empty().append((this[0]&&this[0].ownerDocument||D).createTextNode(e)):t.text(this)},wrapAll:function(e){if(t.isFunction(e))return this.each(function(r){t(this).wrapAll(e.call(this,r))});if(this[0]){var n=t(e,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&n.insertBefore(this[0]),n.map(function(){for(var r=this;r.firstChild&&r.firstChild.nodeType===1;)r=r.firstChild;return r}).append(this)}return this},wrapInner:function(e){return t.isFunction(e)?this.each(function(n){t(this).wrapInner(e.call(this,n))}):this.each(function(){var n=t(this),r=n.contents();r.length?r.wrapAll(e):n.append(e)})},wrap:function(e){return this.each(function(){t(this).wrapAll(e)})},unwrap:function(){return this.parent().each(function(){t.nodeName(this,"body")||t(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,!0,function(e){this.nodeType===1&&this.appendChild(e)})},prepend:function(){return this.domManip(arguments,!0,function(e){this.nodeType===1&&this.insertBefore(e,this.firstChild)})},before:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(n){this.parentNode.insertBefore(n,this)});if(arguments.length){var e=t(arguments[0]);return e.push.apply(e,this.toArray()),this.pushStack(e,"before",arguments)}},after:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(n){this.parentNode.insertBefore(n,this.nextSibling)});if(arguments.length){var e=this.pushStack(this,"after",arguments);return e.push.apply(e,t(arguments[0]).toArray()),e}},remove:function(e,n){for(var r=0,i;(i=this[r])!=null;r++)(!e||t.filter(e,[i]).length)&&(!n&&i.nodeType===1&&(t.cleanData(i.getElementsByTagName("*")),t.cleanData([i])),i.parentNode&&i.parentNode.removeChild(i));return this},empty:function(){for(var e=0,n;(n=this[e])!=null;e++)for(n.nodeType===1&&t.cleanData(n.getElementsByTagName("*"));n.firstChild;)n.removeChild(n.firstChild);return this},clone:function(e,n){return e=e==null?!1:e,n=n==null?e:n,this.map(function(){return t.clone(this,e,n)})},html:function(e){if(e===E)return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(mt,""):null;if(typeof e=="string"&&!rt.test(e)&&(t.support.leadingWhitespace||!ue.test(e))&&!be[(se.exec(e)||["",""])[1].toLowerCase()]){e=e.replace(Me,"<$1></$2>");try{for(var n=0,r=this.length;n<r;n++)this[n].nodeType===1&&(t.cleanData(this[n].getElementsByTagName("*")),this[n].innerHTML=e)}catch(i){this.empty().append(e)}}else t.isFunction(e)?this.each(function(i){var a=t(this);a.html(e.call(this,i,a.html()))}):this.empty().append(e);return this},replaceWith:function(e){return this[0]&&this[0].parentNode?t.isFunction(e)?this.each(function(n){var r=t(this),i=r.html();r.replaceWith(e.call(this,n,i))}):(typeof e!="string"&&(e=t(e).detach()),this.each(function(){var n=this.nextSibling,r=this.parentNode;t(this).remove(),n?t(n).before(e):t(r).append(e)})):this.length?this.pushStack(t(t.isFunction(e)?e():e),"replaceWith",e):this},detach:function(e){return this.remove(e,!0)},domManip:function(e,n,r){var i,a,l,c,f=e[0],m=[];if(!t.support.checkClone&&arguments.length===3&&typeof f=="string"&&it.test(f))return this.each(function(){t(this).domManip(e,n,r,!0)});if(t.isFunction(f))return this.each(function(A){var N=t(this);e[0]=f.call(this,A,n?N.html():E),N.domManip(e,n,r)});if(this[0]){if(c=f&&f.parentNode,t.support.parentNode&&c&&c.nodeType===11&&c.childNodes.length===this.length?i={fragment:c}:i=t.buildFragment(e,this,m),l=i.fragment,l.childNodes.length===1?a=l=l.firstChild:a=l.firstChild,a){n=n&&t.nodeName(a,"tr");for(var w=0,v=this.length,y=v-1;w<v;w++)r.call(n?he(this[w]):this[w],i.cacheable||v>1&&w<y?t.clone(l,!0,!0):l)}m.length&&t.each(m,B)}return this}}),t.buildFragment=function(e,n,r){var i,a,l,c,f=e[0];return n&&n[0]&&(c=n[0].ownerDocument||n[0]),c.createDocumentFragment||(c=D),e.length===1&&typeof f=="string"&&f.length<512&&c===D&&f.charAt(0)==="<"&&!ot.test(f)&&(t.support.checkClone||!it.test(f))&&!t.support.unknownElems&&$e.test(f)&&(a=!0,l=t.fragments[f],l&&l!==1&&(i=l)),i||(i=c.createDocumentFragment(),t.clean(e,c,i,r)),a&&(t.fragments[f]=l?i:1),{fragment:i,cacheable:a}},t.fragments={},t.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,n){t.fn[e]=function(r){var i=[],a=t(r),l=this.length===1&&this[0].parentNode;if(l&&l.nodeType===11&&l.childNodes.length===1&&a.length===1)return a[n](this[0]),this;for(var c=0,f=a.length;c<f;c++){var m=(c>0?this.clone(!0):this).get();t(a[c])[n](m),i=i.concat(m)}return this.pushStack(i,e,a.selector)}}),t.extend({clone:function(e,n,r){var i=e.cloneNode(!0),a,l,c;if((!t.support.noCloneEvent||!t.support.noCloneChecked)&&(e.nodeType===1||e.nodeType===11)&&!t.isXMLDoc(e))for(U(e,i),a=Te(e),l=Te(i),c=0;a[c];++c)l[c]&&U(a[c],l[c]);if(n&&(j(e,i),r))for(a=Te(e),l=Te(i),c=0;a[c];++c)j(a[c],l[c]);return a=l=null,i},clean:function(e,n,r,i){var a;n=n||D,typeof n.createElement>"u"&&(n=n.ownerDocument||n[0]&&n[0].ownerDocument||D);for(var l=[],c,f=0,m;(m=e[f])!=null;f++)if(typeof m=="number"&&(m+=""),!!m){if(typeof m=="string")if(!Je.test(m))m=n.createTextNode(m);else{m=m.replace(Me,"<$1></$2>");var w=(se.exec(m)||["",""])[1].toLowerCase(),v=be[w]||be._default,y=v[0],A=n.createElement("div");for(n===D?nn.appendChild(A):$(n).appendChild(A),A.innerHTML=v[1]+m+v[2];y--;)A=A.lastChild;if(!t.support.tbody){var N=Oe.test(m),L=w==="table"&&!N?A.firstChild&&A.firstChild.childNodes:v[1]==="<table>"&&!N?A.childNodes:[];for(c=L.length-1;c>=0;--c)t.nodeName(L[c],"tbody")&&!L[c].childNodes.length&&L[c].parentNode.removeChild(L[c])}!t.support.leadingWhitespace&&ue.test(m)&&A.insertBefore(n.createTextNode(ue.exec(m)[0]),A.firstChild),m=A.childNodes}var X;if(!t.support.appendChecked)if(m[0]&&typeof(X=m.length)=="number")for(c=0;c<X;c++)Le(m[c]);else Le(m);m.nodeType?l.push(m):l=t.merge(l,m)}if(r)for(a=function(Q){return!Q.type||at.test(Q.type)},f=0;l[f];f++)if(i&&t.nodeName(l[f],"script")&&(!l[f].type||l[f].type.toLowerCase()==="text/javascript"))i.push(l[f].parentNode?l[f].parentNode.removeChild(l[f]):l[f]);else{if(l[f].nodeType===1){var Z=t.grep(l[f].getElementsByTagName("script"),a);l.splice.apply(l,[f+1,0].concat(Z))}r.appendChild(l[f])}return l},cleanData:function(e){for(var n,r,i=t.cache,a=t.event.special,l=t.support.deleteExpando,c=0,f;(f=e[c])!=null;c++)if(!(f.nodeName&&t.noData[f.nodeName.toLowerCase()])&&(r=f[t.expando],r)){if(n=i[r],n&&n.events){for(var m in n.events)a[m]?t.event.remove(f,m):t.removeEvent(f,m,n.handle);n.handle&&(n.handle.elem=null)}l?delete f[t.expando]:f.removeAttribute&&f.removeAttribute(t.expando),delete i[r]}}});var St=/alpha\([^)]*\)/i,rn=/opacity=([^)]*)/,sn=/([A-Z]|^ms)/g,Bt=/^-?\d+(?:px)?$/i,on=/^-?\d/,an=/^([\-+])=([\-+.\de]+)/,ln={position:"absolute",visibility:"hidden",display:"block"},un=["Left","Right"],cn=["Top","Bottom"],vt,qt,Wt;t.fn.css=function(e,n){return arguments.length===2&&n===E?this:t.access(this,e,n,!0,function(r,i,a){return a!==E?t.style(r,i,a):t.css(r,i)})},t.extend({cssHooks:{opacity:{get:function(e,n){if(n){var r=vt(e,"opacity","opacity");return r===""?"1":r}return e.style.opacity}}},cssNumber:{fillOpacity:!0,fontWeight:!0,lineHeight:!0,opacity:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{float:t.support.cssFloat?"cssFloat":"styleFloat"},style:function(e,n,r,i){if(e&&e.nodeType!==3&&e.nodeType!==8&&e.style){var a,l,c=t.camelCase(n),f=e.style,m=t.cssHooks[c];if(n=t.cssProps[c]||c,r===E)return m&&"get"in m&&(a=m.get(e,!1,i))!==E?a:f[n];if(l=typeof r,l==="string"&&(a=an.exec(r))&&(r=+(a[1]+1)*+a[2]+parseFloat(t.css(e,n)),l="number"),r==null||l==="number"&&isNaN(r))return;if(l==="number"&&!t.cssNumber[c]&&(r+="px"),!m||!("set"in m)||(r=m.set(e,r))!==E)try{f[n]=r}catch(w){}}},css:function(e,n,r){var i,a;if(n=t.camelCase(n),a=t.cssHooks[n],n=t.cssProps[n]||n,n==="cssFloat"&&(n="float"),a&&"get"in a&&(i=a.get(e,!0,r))!==E)return i;if(vt)return vt(e,n)},swap:function(e,n,r){var i={};for(var a in n)i[a]=e.style[a],e.style[a]=n[a];r.call(e);for(a in n)e.style[a]=i[a]}}),t.curCSS=t.css,t.each(["height","width"],function(e,n){t.cssHooks[n]={get:function(r,i,a){var l;if(i)return r.offsetWidth!==0?F(r,n,a):(t.swap(r,ln,function(){l=F(r,n,a)}),l)},set:function(r,i){if(!Bt.test(i))return i;if(i=parseFloat(i),i>=0)return i+"px"}}}),t.support.opacity||(t.cssHooks.opacity={get:function(e,n){return rn.test((n&&e.currentStyle?e.currentStyle.filter:e.style.filter)||"")?parseFloat(RegExp.$1)/100+"":n?"1":""},set:function(e,n){var r=e.style,i=e.currentStyle,a=t.isNumeric(n)?"alpha(opacity="+n*100+")":"",l=i&&i.filter||r.filter||"";r.zoom=1,!(n>=1&&t.trim(l.replace(St,""))===""&&(r.removeAttribute("filter"),i&&!i.filter))&&(r.filter=St.test(l)?l.replace(St,a):l+" "+a)}}),t(function(){t.support.reliableMarginRight||(t.cssHooks.marginRight={get:function(e,n){var r;return t.swap(e,{display:"inline-block"},function(){n?r=vt(e,"margin-right","marginRight"):r=e.style.marginRight}),r}})}),D.defaultView&&D.defaultView.getComputedStyle&&(qt=function(e,n){var r,i,a;return n=n.replace(sn,"-$1").toLowerCase(),(i=e.ownerDocument.defaultView)?((a=i.getComputedStyle(e,null))&&(r=a.getPropertyValue(n),r===""&&!t.contains(e.ownerDocument.documentElement,e)&&(r=t.style(e,n))),r):E}),D.documentElement.currentStyle&&(Wt=function(e,n){var r,i,a,l=e.currentStyle&&e.currentStyle[n],c=e.style;return l===null&&c&&(a=c[n])&&(l=a),!Bt.test(l)&&on.test(l)&&(r=c.left,i=e.runtimeStyle&&e.runtimeStyle.left,i&&(e.runtimeStyle.left=e.currentStyle.left),c.left=n==="fontSize"?"1em":l||0,l=c.pixelLeft+"px",c.left=r,i&&(e.runtimeStyle.left=i)),l===""?"auto":l}),vt=qt||Wt,t.expr&&t.expr.filters&&(t.expr.filters.hidden=function(e){var n=e.offsetWidth,r=e.offsetHeight;return n===0&&r===0||!t.support.reliableHiddenOffsets&&(e.style&&e.style.display||t.css(e,"display"))==="none"},t.expr.filters.visible=function(e){return!t.expr.filters.hidden(e)});var fn=/%20/g,dn=/\[\]$/,Ht=/\r?\n/g,hn=/#.*$/,pn=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,gn=/^(?:color|date|datetime|datetime-local|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,mn=/^(?:about|app|app\-storage|.+\-extension|file|res|widget):$/,vn=/^(?:GET|HEAD)$/,yn=/^\/\//,Rt=/\?/,wn=/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,xn=/^(?:select|textarea)/i,zt=/\s+/,bn=/([?&])_=[^&]*/,Vt=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+))?)?/,Xt=t.fn.load,Et={},Ut={},lt,ut,Yt=["*/"]+["*"];try{lt=o.href}catch(e){lt=D.createElement("a"),lt.href="",lt=lt.href}ut=Vt.exec(lt.toLowerCase())||[],t.fn.extend({load:function(e,n,r){if(typeof e!="string"&&Xt)return Xt.apply(this,arguments);if(!this.length)return this;var i=e.indexOf(" ");if(i>=0){var a=e.slice(i,e.length);e=e.slice(0,i)}var l="GET";n&&(t.isFunction(n)?(r=n,n=E):typeof n=="object"&&(n=t.param(n,t.ajaxSettings.traditional),l="POST"));var c=this;return t.ajax({url:e,type:l,dataType:"html",data:n,complete:function(f,m,w){w=f.responseText,f.isResolved()&&(f.done(function(v){w=v}),c.html(a?t("<div>").append(w.replace(wn,"")).find(a):w)),r&&c.each(r,[w,m,f])}}),this},serialize:function(){return t.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?t.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||xn.test(this.nodeName)||gn.test(this.type))}).map(function(e,n){var r=t(this).val();return r==null?null:t.isArray(r)?t.map(r,function(i,a){return{name:n.name,value:i.replace(Ht,`\r
  5. >>>>>>>> iteration-20250327-light:dist/assets/index-127aecc0.js
  6. `)}}):{name:n.name,value:r.replace(Ht,`\r
  7. `)}}).get()}}),t.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(e,n){t.fn[n]=function(r){return this.bind(n,r)}}),t.each(["get","post"],function(e,n){t[n]=function(r,i,a,l){return t.isFunction(i)&&(l=l||a,a=i,i=E),t.ajax({type:n,url:r,data:i,success:a,dataType:l})}}),t.extend({getScript:function(e,n){return t.get(e,E,n,"script")},getJSON:function(e,n,r){return t.get(e,n,r,"json")},ajaxSetup:function(e,n){return n?Ie(e,t.ajaxSettings):(n=e,e=t.ajaxSettings),Ie(e,n),e},ajaxSettings:{url:lt,isLocal:mn.test(ut[1]),global:!0,type:"GET",contentType:"application/x-www-form-urlencoded",processData:!0,async:!0,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":Yt},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":C.String,"text html":!0,"text json":t.parseJSON,"text xml":t.parseXML},flatOptions:{context:!0,url:!0}},ajaxPrefilter:ie(Et),ajaxTransport:ie(Ut),ajax:function(e,n){function r(x,b,k,_){if(Q!==2){Q=2,X&&clearTimeout(X),L=E,A=_||"",Y.readyState=x>0?4:0;var P,q,O,z=b,Ae=k?st(i,Y,k):E,ge,h;if(x>=200&&x<300||x===304)if(i.ifModified&&((ge=Y.getResponseHeader("Last-Modified"))&&(t.lastModified[w]=ge),(h=Y.getResponseHeader("Etag"))&&(t.etag[w]=h)),x===304)z="notmodified",P=!0;else try{q=Ne(i,Ae),z="success",P=!0}catch(S){z="parsererror",O=S}else O=z,(!z||x)&&(z="error",x<0&&(x=0));Y.status=x,Y.statusText=""+(b||z),P?c.resolveWith(a,[q,z,Y]):c.rejectWith(a,[Y,z,O]),Y.statusCode(m),m=E,ve&&l.trigger("ajax"+(P?"Success":"Error"),[Y,i,P?q:O]),f.fireWith(a,[Y,z]),ve&&(l.trigger("ajaxComplete",[Y,i]),--t.active||t.event.trigger("ajaxStop"))}}typeof e=="object"&&(n=e,e=E),n=n||{};var i=t.ajaxSetup({},n),a=i.context||i,l=a!==i&&(a.nodeType||a instanceof t)?t(a):t.event,c=t.Deferred(),f=t.Callbacks("once memory"),m=i.statusCode||{},w,v={},y={},A,N,L,X,Z,Q=0,ve,ye,Y={readyState:0,setRequestHeader:function(x,b){if(!Q){var k=x.toLowerCase();x=y[k]=y[k]||x,v[x]=b}return this},getAllResponseHeaders:function(){return Q===2?A:null},getResponseHeader:function(x){var b;if(Q===2){if(!N)for(N={};b=pn.exec(A);)N[b[1].toLowerCase()]=b[2];b=N[x.toLowerCase()]}return b===E?null:b},overrideMimeType:function(x){return Q||(i.mimeType=x),this},abort:function(x){return x=x||"abort",L&&L.abort(x),r(0,x),this}};if(c.promise(Y),Y.success=Y.done,Y.error=Y.fail,Y.complete=f.add,Y.statusCode=function(x){if(x){var b;if(Q<2)for(b in x)m[b]=[m[b],x[b]];else b=x[Y.status],Y.then(b,b)}return this},i.url=((e||i.url)+"").replace(hn,"").replace(yn,ut[1]+"//"),i.dataTypes=t.trim(i.dataType||"*").toLowerCase().split(zt),i.crossDomain==null&&(Z=Vt.exec(i.url.toLowerCase()),i.crossDomain=!(!Z||Z[1]==ut[1]&&Z[2]==ut[2]&&(Z[3]||(Z[1]==="http:"?80:443))==(ut[3]||(ut[1]==="http:"?80:443)))),i.data&&i.processData&&typeof i.data!="string"&&(i.data=t.param(i.data,i.traditional)),te(Et,i,n,Y),Q===2)return!1;if(ve=i.global,i.type=i.type.toUpperCase(),i.hasContent=!vn.test(i.type),ve&&t.active++===0&&t.event.trigger("ajaxStart"),!i.hasContent&&(i.data&&(i.url+=(Rt.test(i.url)?"&":"?")+i.data,delete i.data),w=i.url,i.cache===!1)){var u=t.now(),p=i.url.replace(bn,"$1_="+u);i.url=p+(p===i.url?(Rt.test(i.url)?"&":"?")+"_="+u:"")}(i.data&&i.hasContent&&i.contentType!==!1||n.contentType)&&Y.setRequestHeader("Content-Type",i.contentType),i.ifModified&&(w=w||i.url,t.lastModified[w]&&Y.setRequestHeader("If-Modified-Since",t.lastModified[w]),t.etag[w]&&Y.setRequestHeader("If-None-Match",t.etag[w])),Y.setRequestHeader("Accept",i.dataTypes[0]&&i.accepts[i.dataTypes[0]]?i.accepts[i.dataTypes[0]]+(i.dataTypes[0]!=="*"?", "+Yt+"; q=0.01":""):i.accepts["*"]);for(ye in i.headers)Y.setRequestHeader(ye,i.headers[ye]);if(i.beforeSend&&(i.beforeSend.call(a,Y,i)===!1||Q===2))return Y.abort(),!1;for(ye in{success:1,error:1,complete:1})Y[ye](i[ye]);if(L=te(Ut,i,n,Y),!L)r(-1,"No Transport");else{Y.readyState=1,ve&&l.trigger("ajaxSend",[Y,i]),i.async&&i.timeout>0&&(X=setTimeout(function(){Y.abort("timeout")},i.timeout));try{Q=1,L.send(v,r)}catch(x){Q<2?r(-1,x):t.error(x)}}return Y},param:function(e,n){var r=[],i=function(l,c){c=t.isFunction(c)?c():c,r[r.length]=encodeURIComponent(l)+"="+encodeURIComponent(c)};if(n===E&&(n=t.ajaxSettings.traditional),t.isArray(e)||e.jquery&&!t.isPlainObject(e))t.each(e,function(){i(this.name,this.value)});else for(var a in e)Xe(a,e[a],n,i);return r.join("&").replace(fn,"+")}}),t.extend({active:0,lastModified:{},etag:{}});var An=t.now(),_t=/(\=)\?(&|$)|\?\?/i;t.ajaxSetup({jsonp:"callback",jsonpCallback:function(){return t.expando+"_"+An++}}),t.ajaxPrefilter("json jsonp",function(e,n,r){var i=e.contentType==="application/x-www-form-urlencoded"&&typeof e.data=="string";if(e.dataTypes[0]==="jsonp"||e.jsonp!==!1&&(_t.test(e.url)||i&&_t.test(e.data))){var a,l=e.jsonpCallback=t.isFunction(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,c=C[l],f=e.url,m=e.data,w="$1"+l+"$2";return e.jsonp!==!1&&(f=f.replace(_t,w),e.url===f&&(i&&(m=m.replace(_t,w)),e.data===m&&(f+=(/\?/.test(f)?"&":"?")+e.jsonp+"="+l))),e.url=f,e.data=m,C[l]=function(v){a=[v]},r.always(function(){C[l]=c,a&&t.isFunction(c)&&C[l](a[0])}),e.converters["script json"]=function(){return a||t.error(l+" was not called"),a[0]},e.dataTypes[0]="json","script"}}),t.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/javascript|ecmascript/},converters:{"text script":function(e){return t.globalEval(e),e}}}),t.ajaxPrefilter("script",function(e){e.cache===E&&(e.cache=!1),e.crossDomain&&(e.type="GET",e.global=!1)}),t.ajaxTransport("script",function(e){if(e.crossDomain){var n,r=D.head||D.getElementsByTagName("head")[0]||D.documentElement;return{send:function(i,a){n=D.createElement("script"),n.async="async",e.scriptCharset&&(n.charset=e.scriptCharset),n.src=e.url,n.onload=n.onreadystatechange=function(l,c){(c||!n.readyState||/loaded|complete/.test(n.readyState))&&(n.onload=n.onreadystatechange=null,r&&n.parentNode&&r.removeChild(n),n=E,c||a(200,"success"))},r.insertBefore(n,r.firstChild)},abort:function(){n&&n.onload(0,1)}}}});var Pt=C.ActiveXObject?function(){for(var e in yt)yt[e](0,1)}:!1,Tn=0,yt;t.ajaxSettings.xhr=C.ActiveXObject?function(){return!this.isLocal&&ce()||Ce()}:ce,function(e){t.extend(t.support,{ajax:!!e,cors:!!e&&"withCredentials"in e})}(t.ajaxSettings.xhr()),t.support.ajax&&t.ajaxTransport(function(e){if(!e.crossDomain||t.support.cors){var n;return{send:function(r,i){var a=e.xhr(),l,c;if(e.username?a.open(e.type,e.url,e.async,e.username,e.password):a.open(e.type,e.url,e.async),e.xhrFields)for(c in e.xhrFields)a[c]=e.xhrFields[c];e.mimeType&&a.overrideMimeType&&a.overrideMimeType(e.mimeType),!e.crossDomain&&!r["X-Requested-With"]&&(r["X-Requested-With"]="XMLHttpRequest");try{for(c in r)a.setRequestHeader(c,r[c])}catch(f){}a.send(e.hasContent&&e.data||null),n=function(f,m){var w,v,y,A,N;try{if(n&&(m||a.readyState===4))if(n=E,l&&(a.onreadystatechange=t.noop,Pt&&delete yt[l]),m)a.readyState!==4&&a.abort();else{w=a.status,y=a.getAllResponseHeaders(),A={},N=a.responseXML,N&&N.documentElement&&(A.xml=N),A.text=a.responseText;try{v=a.statusText}catch(L){v=""}!w&&e.isLocal&&!e.crossDomain?w=A.text?200:404:w===1223&&(w=204)}}catch(L){m||i(-1,L)}A&&i(w,v,A,y)},!e.async||a.readyState===4?n():(l=++Tn,Pt&&(yt||(yt={},t(C).unload(Pt)),yt[l]=n),a.onreadystatechange=n)},abort:function(){n&&n(0,1)}}}});var Lt={},Ve,wt,kn=/^(?:toggle|show|hide)$/,_n=/^([+\-]=)?([\d+.\-]+)([a-z%]*)$/i,Ct,Gt=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]],Nt;t.fn.extend({show:function(e,n,r){var i,a;if(e||e===0)return this.animate(oe("show",3),e,n,r);for(var l=0,c=this.length;l<c;l++)i=this[l],i.style&&(a=i.style.display,!t._data(i,"olddisplay")&&a==="none"&&(a=i.style.display=""),a===""&&t.css(i,"display")==="none"&&t._data(i,"olddisplay",we(i.nodeName)));for(l=0;l<c;l++)i=this[l],i.style&&(a=i.style.display,(a===""||a==="none")&&(i.style.display=t._data(i,"olddisplay")||""));return this},hide:function(e,n,r){if(e||e===0)return this.animate(oe("hide",3),e,n,r);for(var i,a,l=0,c=this.length;l<c;l++)i=this[l],i.style&&(a=t.css(i,"display"),a!=="none"&&!t._data(i,"olddisplay")&&t._data(i,"olddisplay",a));for(l=0;l<c;l++)this[l].style&&(this[l].style.display="none");return this},_toggle:t.fn.toggle,toggle:function(e,n,r){var i=typeof e=="boolean";return t.isFunction(e)&&t.isFunction(n)?this._toggle.apply(this,arguments):e==null||i?this.each(function(){var a=i?e:t(this).is(":hidden");t(this)[a?"show":"hide"]()}):this.animate(oe("toggle",3),e,n,r),this},fadeTo:function(e,n,r,i){return this.filter(":hidden").css("opacity",0).show().end().animate({opacity:n},e,r,i)},animate:function(e,n,r,i){function a(){l.queue===!1&&t._mark(this);var c=t.extend({},l),f=this.nodeType===1,m=f&&t(this).is(":hidden"),w,v,y,A,N,L,X,Z,Q;c.animatedProperties={};for(y in e){if(w=t.camelCase(y),y!==w&&(e[w]=e[y],delete e[y]),v=e[w],t.isArray(v)?(c.animatedProperties[w]=v[1],v=e[w]=v[0]):c.animatedProperties[w]=c.specialEasing&&c.specialEasing[w]||c.easing||"swing",v==="hide"&&m||v==="show"&&!m)return c.complete.call(this);f&&(w==="height"||w==="width")&&(c.overflow=[this.style.overflow,this.style.overflowX,this.style.overflowY],t.css(this,"display")==="inline"&&t.css(this,"float")==="none"&&(!t.support.inlineBlockNeedsLayout||we(this.nodeName)==="inline"?this.style.display="inline-block":this.style.zoom=1))}c.overflow!=null&&(this.style.overflow="hidden");for(y in e)A=new t.fx(this,c,y),v=e[y],kn.test(v)?(Q=t._data(this,"toggle"+y)||(v==="toggle"?m?"show":"hide":0),Q?(t._data(this,"toggle"+y,Q==="show"?"hide":"show"),A[Q]()):A[v]()):(N=_n.exec(v),L=A.cur(),N?(X=parseFloat(N[2]),Z=N[3]||(t.cssNumber[y]?"":"px"),Z!=="px"&&(t.style(this,y,(X||1)+Z),L=(X||1)/A.cur()*L,t.style(this,y,L+Z)),N[1]&&(X=(N[1]==="-="?-1:1)*X+L),A.custom(L,X,Z)):A.custom(L,v,""));return!0}var l=t.speed(n,r,i);return t.isEmptyObject(e)?this.each(l.complete,[!1]):(e=t.extend({},e),l.queue===!1?this.each(a):this.queue(l.queue,a))},stop:function(e,n,r){return typeof e!="string"&&(r=n,n=e,e=E),n&&e!==!1&&this.queue(e||"fx",[]),this.each(function(){function i(m,w,v){var y=w[v];t.removeData(m,v,!0),y.stop(r)}var a,l=!1,c=t.timers,f=t._data(this);if(r||t._unmark(!0,this),e==null)for(a in f)f[a].stop&&a.indexOf(".run")===a.length-4&&i(this,f,a);else f[a=e+".run"]&&f[a].stop&&i(this,f,a);for(a=c.length;a--;)c[a].elem===this&&(e==null||c[a].queue===e)&&(r?c[a](!0):c[a].saveState(),l=!0,c.splice(a,1));(!r||!l)&&t.dequeue(this,e)})}}),t.each({slideDown:oe("show",1),slideUp:oe("hide",1),slideToggle:oe("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,n){t.fn[e]=function(r,i,a){return this.animate(n,r,i,a)}}),t.extend({speed:function(e,n,r){var i=e&&typeof e=="object"?t.extend({},e):{complete:r||!r&&n||t.isFunction(e)&&e,duration:e,easing:r&&n||n&&!t.isFunction(n)&&n};return i.duration=t.fx.off?0:typeof i.duration=="number"?i.duration:i.duration in t.fx.speeds?t.fx.speeds[i.duration]:t.fx.speeds._default,(i.queue==null||i.queue===!0)&&(i.queue="fx"),i.old=i.complete,i.complete=function(a){t.isFunction(i.old)&&i.old.call(this),i.queue?t.dequeue(this,i.queue):a!==!1&&t._unmark(this)},i},easing:{linear:function(e,n,r,i){return r+i*e},swing:function(e,n,r,i){return(-Math.cos(e*Math.PI)/2+.5)*i+r}},timers:[],fx:function(e,n,r){this.options=n,this.elem=e,this.prop=r,n.orig=n.orig||{}}}),t.fx.prototype={update:function(){this.options.step&&this.options.step.call(this.elem,this.now,this),(t.fx.step[this.prop]||t.fx.step._default)(this)},cur:function(){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null))return this.elem[this.prop];var e,n=t.css(this.elem,this.prop);return isNaN(e=parseFloat(n))?!n||n==="auto"?0:n:e},custom:function(e,n,r){function i(c){return a.step(c)}var a=this,l=t.fx;this.startTime=Nt||Pe(),this.end=n,this.now=this.start=e,this.pos=this.state=0,this.unit=r||this.unit||(t.cssNumber[this.prop]?"":"px"),i.queue=this.options.queue,i.elem=this.elem,i.saveState=function(){a.options.hide&&t._data(a.elem,"fxshow"+a.prop)===E&&t._data(a.elem,"fxshow"+a.prop,a.start)},i()&&t.timers.push(i)&&!Ct&&(Ct=setInterval(l.tick,l.interval))},show:function(){var e=t._data(this.elem,"fxshow"+this.prop);this.options.orig[this.prop]=e||t.style(this.elem,this.prop),this.options.show=!0,e!==E?this.custom(this.cur(),e):this.custom(this.prop==="width"||this.prop==="height"?1:0,this.cur()),t(this.elem).show()},hide:function(){this.options.orig[this.prop]=t._data(this.elem,"fxshow"+this.prop)||t.style(this.elem,this.prop),this.options.hide=!0,this.custom(this.cur(),0)},step:function(e){var n,r,i,a=Nt||Pe(),l=!0,c=this.elem,f=this.options;if(e||a>=f.duration+this.startTime){this.now=this.end,this.pos=this.state=1,this.update(),f.animatedProperties[this.prop]=!0;for(n in f.animatedProperties)f.animatedProperties[n]!==!0&&(l=!1);if(l){if(f.overflow!=null&&!t.support.shrinkWrapBlocks&&t.each(["","X","Y"],function(m,w){c.style["overflow"+w]=f.overflow[m]}),f.hide&&t(c).hide(),f.hide||f.show)for(n in f.animatedProperties)t.style(c,n,f.orig[n]),t.removeData(c,"fxshow"+n,!0),t.removeData(c,"toggle"+n,!0);i=f.complete,i&&(f.complete=!1,i.call(c))}return!1}return f.duration==1/0?this.now=a:(r=a-this.startTime,this.state=r/f.duration,this.pos=t.easing[f.animatedProperties[this.prop]](this.state,r,0,1,f.duration),this.now=this.start+(this.end-this.start)*this.pos),this.update(),!0}},t.extend(t.fx,{tick:function(){for(var e,n=t.timers,r=0;r<n.length;r++)e=n[r],!e()&&n[r]===e&&n.splice(r--,1);n.length||t.fx.stop()},interval:13,stop:function(){clearInterval(Ct),Ct=null},speeds:{slow:600,fast:200,_default:400},step:{opacity:function(e){t.style(e.elem,"opacity",e.now)},_default:function(e){e.elem.style&&e.elem.style[e.prop]!=null?e.elem.style[e.prop]=e.now+e.unit:e.elem[e.prop]=e.now}}}),t.each(["width","height"],function(e,n){t.fx.step[n]=function(r){t.style(r.elem,n,Math.max(0,r.now))}}),t.expr&&t.expr.filters&&(t.expr.filters.animated=function(e){return t.grep(t.timers,function(n){return e===n.elem}).length});var Cn=/^t(?:able|d|h)$/i,Qt=/^(?:body|html)$/i;"getBoundingClientRect"in D.documentElement?t.fn.offset=function(e){var n=this[0],r;if(e)return this.each(function(N){t.offset.setOffset(this,e,N)});if(!n||!n.ownerDocument)return null;if(n===n.ownerDocument.body)return t.offset.bodyOffset(n);try{r=n.getBoundingClientRect()}catch(N){}var i=n.ownerDocument,a=i.documentElement;if(!r||!t.contains(a,n))return r?{top:r.top,left:r.left}:{top:0,left:0};var l=i.body,c=We(i),f=a.clientTop||l.clientTop||0,m=a.clientLeft||l.clientLeft||0,w=c.pageYOffset||t.support.boxModel&&a.scrollTop||l.scrollTop,v=c.pageXOffset||t.support.boxModel&&a.scrollLeft||l.scrollLeft,y=r.top+w-f,A=r.left+v-m;return{top:y,left:A}}:t.fn.offset=function(e){var n=this[0];if(e)return this.each(function(y){t.offset.setOffset(this,e,y)});if(!n||!n.ownerDocument)return null;if(n===n.ownerDocument.body)return t.offset.bodyOffset(n);for(var r,i=n.offsetParent,a=n.ownerDocument,l=a.documentElement,c=a.body,f=a.defaultView,m=f?f.getComputedStyle(n,null):n.currentStyle,w=n.offsetTop,v=n.offsetLeft;(n=n.parentNode)&&n!==c&&n!==l&&!(t.support.fixedPosition&&m.position==="fixed");)r=f?f.getComputedStyle(n,null):n.currentStyle,w-=n.scrollTop,v-=n.scrollLeft,n===i&&(w+=n.offsetTop,v+=n.offsetLeft,t.support.doesNotAddBorder&&(!t.support.doesAddBorderForTableAndCells||!Cn.test(n.nodeName))&&(w+=parseFloat(r.borderTopWidth)||0,v+=parseFloat(r.borderLeftWidth)||0),i=n.offsetParent),t.support.subtractsBorderForOverflowNotVisible&&r.overflow!=="visible"&&(w+=parseFloat(r.borderTopWidth)||0,v+=parseFloat(r.borderLeftWidth)||0),m=r;return(m.position==="relative"||m.position==="static")&&(w+=c.offsetTop,v+=c.offsetLeft),t.support.fixedPosition&&m.position==="fixed"&&(w+=Math.max(l.scrollTop,c.scrollTop),v+=Math.max(l.scrollLeft,c.scrollLeft)),{top:w,left:v}},t.offset={bodyOffset:function(e){var n=e.offsetTop,r=e.offsetLeft;return t.support.doesNotIncludeMarginInBodyOffset&&(n+=parseFloat(t.css(e,"marginTop"))||0,r+=parseFloat(t.css(e,"marginLeft"))||0),{top:n,left:r}},setOffset:function(e,n,r){var i=t.css(e,"position");i==="static"&&(e.style.position="relative");var a=t(e),l=a.offset(),c=t.css(e,"top"),f=t.css(e,"left"),m=(i==="absolute"||i==="fixed")&&t.inArray("auto",[c,f])>-1,w={},v={},y,A;m?(v=a.position(),y=v.top,A=v.left):(y=parseFloat(c)||0,A=parseFloat(f)||0),t.isFunction(n)&&(n=n.call(e,r,l)),n.top!=null&&(w.top=n.top-l.top+y),n.left!=null&&(w.left=n.left-l.left+A),"using"in n?n.using.call(e,w):a.css(w)}},t.fn.extend({position:function(){if(!this[0])return null;var e=this[0],n=this.offsetParent(),r=this.offset(),i=Qt.test(n[0].nodeName)?{top:0,left:0}:n.offset();return r.top-=parseFloat(t.css(e,"marginTop"))||0,r.left-=parseFloat(t.css(e,"marginLeft"))||0,i.top+=parseFloat(t.css(n[0],"borderTopWidth"))||0,i.left+=parseFloat(t.css(n[0],"borderLeftWidth"))||0,{top:r.top-i.top,left:r.left-i.left}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent||D.body;e&&!Qt.test(e.nodeName)&&t.css(e,"position")==="static";)e=e.offsetParent;return e})}}),t.each(["Left","Top"],function(e,n){var r="scroll"+n;t.fn[r]=function(i){var a,l;return i===E?(a=this[0],a?(l=We(a),l?"pageXOffset"in l?l[e?"pageYOffset":"pageXOffset"]:t.support.boxModel&&l.document.documentElement[r]||l.document.body[r]:a[r]):null):this.each(function(){l=We(this),l?l.scrollTo(e?t(l).scrollLeft():i,e?i:t(l).scrollTop()):this[r]=i})}}),t.each(["Height","Width"],function(e,n){var r=n.toLowerCase();t.fn["inner"+n]=function(){var i=this[0];return i?i.style?parseFloat(t.css(i,r,"padding")):this[r]():null},t.fn["outer"+n]=function(i){var a=this[0];return a?a.style?parseFloat(t.css(a,r,i?"margin":"border")):this[r]():null},t.fn[r]=function(i){var a=this[0];if(!a)return i==null?null:this;if(t.isFunction(i))return this.each(function(w){var v=t(this);v[r](i.call(this,w,v[r]()))});if(t.isWindow(a)){var l=a.document.documentElement["client"+n],c=a.document.body;return a.document.compatMode==="CSS1Compat"&&l||c&&c["client"+n]||l}if(a.nodeType===9)return Math.max(a.documentElement["client"+n],a.body["scroll"+n],a.documentElement["scroll"+n],a.body["offset"+n],a.documentElement["offset"+n]);if(i===E){var f=t.css(a,r),m=parseFloat(f);return t.isNumeric(m)?m:f}return this.css(r,typeof i=="string"?i:i+"px")}}),C.jQuery=C.$=t})(window);(function(C){var E,We,we="",oe="4.1.0",W=Math.PI,Pe=W/2,Ce="ontouchstart"in window,ce=Ce?{down:"touchstart",move:"touchmove",up:"touchend",over:"touchstart",out:"touchend"}:{down:"mousedown",move:"mousemove",up:"mouseup",over:"mouseover",out:"mouseout"},Ne={backward:["bl","tl"],forward:["br","tr"],all:["tl","bl","tr","br","l","r"]},st=["single","double"],Xe=["ltr","rtl"],Ie={acceleration:!0,display:"double",duration:600,page:1,gradients:!0,turnCorners:"bl,br",when:null},te={cornerSize:100},ie=6,F={init:function(s){E="WebKitCSSMatrix"in window||"MozPerspective"in document.body.style,We=he(),we=Ue();var o,t=0,d=this.data(),g=this.children();if(s=C.extend({width:this.width(),height:this.height(),direction:this.attr("dir")||this.css("direction")||"ltr"},Ie,s),d.opts=s,d.pageObjs={},d.pages={},d.pageWrap={},d.pageZoom={},d.pagePlace={},d.pageMv=[],d.zoom=1,d.totalPages=s.pages||0,d.eventHandlers={touchStart:C.proxy(F._touchStart,this),touchMove:C.proxy(F._touchMove,this),touchEnd:C.proxy(F._touchEnd,this),start:C.proxy(F._eventStart,this)},s.when)for(o in s.when)de(o,s.when)&&this.bind(o,s.when[o]);for(this.css({position:"relative",width:s.width,height:s.height}),this.turn("display",s.display),s.direction!==""&&this.turn("direction",s.direction),E&&!Ce&&s.acceleration&&this.transform($(0,0,!0)),o=0;o<g.length;o++)C(g[o]).attr("ignore")!="1"&&this.turn("addPage",g[o],++t);return C(this).bind(ce.down,d.eventHandlers.touchStart).bind("end",F._eventEnd).bind("pressed",F._eventPressed).bind("released",F._eventReleased).bind("flip",F._flip),C(this).parent().bind("start",d.eventHandlers.start),C(document).bind(ce.move,d.eventHandlers.touchMove).bind(ce.up,d.eventHandlers.touchEnd),this.turn("page",s.page),d.done=!0,this},addPage:function(s,o){var t,d,g=!1,T=this.data(),H=T.totalPages+1;if(T.destroying)return!1;if((t=/\bp([0-9]+)\b/.exec(C(s).attr("class")))&&(o=parseInt(t[1],10)),o){if(o==H)g=!0;else if(o>H)throw Fe('Page "'+o+'" cannot be inserted')}else o=H,g=!0;return o>=1&&o<=H&&(T.display=="double"?d=o%2?" odd":" even":d="",T.done&&this.turn("stop"),o in T.pageObjs&&F._movePages.call(this,o,1),g&&(T.totalPages=H),T.pageObjs[o]=C(s).css({float:"left"}).addClass("page p"+o+d),!D()&&T.pageObjs[o].hasClass("hard")&&T.pageObjs[o].removeClass("hard"),F._addPage.call(this,o),F._removeFromDOM.call(this)),this},_addPage:function(s){var o=this.data(),t=o.pageObjs[s];if(t)if(F._necessPage.call(this,s)){if(!o.pageWrap[s]){o.pageWrap[s]=C("<div/>",{class:"page-wrapper",page:s,css:{position:"absolute",overflow:"hidden"}}),this.append(o.pageWrap[s]),o.pagePlace[s]||(o.pagePlace[s]=s,o.pageObjs[s].appendTo(o.pageWrap[s]));var d=F._pageSize.call(this,s,!0);t.css({width:d.width,height:d.height}),o.pageWrap[s].css(d)}o.pagePlace[s]==s&&F._makeFlip.call(this,s)}else o.pagePlace[s]=0,o.pageObjs[s]&&o.pageObjs[s].remove()},hasPage:function(s){return de(s,this.data().pageObjs)},center:function(s){var o=this.data(),t=C(this).turn("size"),d=0;if(!o.noCenter){if(o.display=="double"){var g=this.turn("view",s||o.tpage||o.page);o.direction=="ltr"?g[0]?g[1]||(d+=t.width/4):d-=t.width/4:g[0]?g[1]||(d-=t.width/4):d+=t.width/4}C(this).css({marginLeft:d})}return this},destroy:function(){var s=this,o=this.data(),t=["end","first","flip","last","pressed","released","start","turning","turned","zooming","missing"];if(Ye("destroying",this)!="prevented"){for(o.destroying=!0,C.each(t,function(d,g){s.unbind(g)}),this.parent().unbind("start",o.eventHandlers.start),C(document).unbind(ce.move,o.eventHandlers.touchMove).unbind(ce.up,o.eventHandlers.touchEnd);o.totalPages!==0;)this.turn("removePage",o.totalPages);return o.fparent&&o.fparent.remove(),o.shadow&&o.shadow.remove(),this.removeData(),o=null,this}},is:function(){return typeof this.data().pages=="object"},zoom:function(s){var o=this.data();if(typeof s=="number"){if(s<.001||s>100)throw Fe(s+" is not a value for zoom");if(Ye("zooming",this,[s,o.zoom])=="prevented")return this;var t=this.turn("size"),d=this.turn("view"),g=1/o.zoom,T=Math.round(t.width*g*s),H=Math.round(t.height*g*s);o.zoom=s,C(this).turn("stop").turn("size",T,H),o.opts.autoCenter&&this.turn("center"),F._updateShadow.call(this);for(var R=0;R<d.length;R++)d[R]&&o.pageZoom[d[R]]!=o.zoom&&(this.trigger("zoomed",[d[R],d,o.pageZoom[d[R]],o.zoom]),o.pageZoom[d[R]]=o.zoom);return this}else return o.zoom},_pageSize:function(s,o){var t=this.data(),d={};if(t.display=="single")d.width=this.width(),d.height=this.height(),o&&(d.top=0,d.left=0,d.right="auto");else{var g=this.width()/2,T=this.height();if(t.pageObjs[s].hasClass("own-size")?(d.width=t.pageObjs[s].width(),d.height=t.pageObjs[s].height()):(d.width=g,d.height=T),o){var H=s%2;d.top=(T-d.height)/2,t.direction=="ltr"?(d[H?"right":"left"]=g-d.width,d[H?"left":"right"]="auto"):(d[H?"left":"right"]=g-d.width,d[H?"right":"left"]="auto")}}return d},_makeFlip:function(s){var o=this.data();if(!o.pages[s]&&o.pagePlace[s]==s){var t=o.display=="single",d=s%2;o.pages[s]=o.pageObjs[s].css(F._pageSize.call(this,s)).flip({page:s,next:d||t?s+1:s-1,turn:this}).flip("disable",o.disabled),F._setPageLoc.call(this,s),o.pageZoom[s]=o.zoom}return o.pages[s]},_makeRange:function(){var s,o,t=this.data();if(!(t.totalPages<1))for(o=this.turn("range"),s=o[0];s<=o[1];s++)F._addPage.call(this,s)},range:function(s){var o,t,d,g,T=this.data();if(s=s||T.tpage||T.page||1,g=F._view.call(this,s),s<1||s>T.totalPages)throw Fe('"'+s+'" is not a valid page');return g[1]=g[1]||g[0],g[0]>=1&&g[1]<=T.totalPages?(o=Math.floor((ie-2)/2),T.totalPages-g[1]>g[0]?(t=Math.min(g[0]-1,o),d=2*o-t):(d=Math.min(T.totalPages-g[1],o),t=2*o-d)):(t=ie-1,d=ie-1),[Math.max(1,g[0]-t),Math.min(T.totalPages,g[1]+d)]},_necessPage:function(s){if(s===0)return!0;var o=this.turn("range");return this.data().pageObjs[s].hasClass("fixed")||s>=o[0]&&s<=o[1]},_removeFromDOM:function(){var s,o=this.data();for(s in o.pageWrap)de(s,o.pageWrap)&&!F._necessPage.call(this,s)&&F._removePageFromDOM.call(this,s)},_removePageFromDOM:function(s){var o=this.data();if(o.pages[s]){var t=o.pages[s].data();B._moveFoldingPage.call(o.pages[s],!1),t.f&&t.f.fwrapper&&t.f.fwrapper.remove(),o.pages[s].removeData(),o.pages[s].remove(),delete o.pages[s]}o.pageObjs[s]&&o.pageObjs[s].remove(),o.pageWrap[s]&&(o.pageWrap[s].remove(),delete o.pageWrap[s]),F._removeMv.call(this,s),delete o.pagePlace[s],delete o.pageZoom[s]},removePage:function(s){var o=this.data();if(s=="*")for(;o.totalPages!==0;)this.turn("removePage",o.totalPages);else{if(s<1||s>o.totalPages)throw Fe("The page "+s+" doesn't exist");o.pageObjs[s]&&(this.turn("stop"),F._removePageFromDOM.call(this,s),delete o.pageObjs[s]),F._movePages.call(this,s,-1),o.totalPages=o.totalPages-1,o.page>o.totalPages?(o.page=null,F._fitPage.call(this,o.totalPages)):(F._makeRange.call(this),this.turn("update"))}return this},_movePages:function(s,o){var t,d=this,g=this.data(),T=g.display=="single",H=function(R){var G=R+o,ne=G%2,ae=ne?" odd ":" even ";g.pageObjs[R]&&(g.pageObjs[G]=g.pageObjs[R].removeClass("p"+R+" odd even").addClass("p"+G+ae)),g.pagePlace[R]&&g.pageWrap[R]&&(g.pagePlace[G]=G,g.pageObjs[G].hasClass("fixed")?g.pageWrap[G]=g.pageWrap[R].attr("page",G):g.pageWrap[G]=g.pageWrap[R].css(F._pageSize.call(d,G,!0)).attr("page",G),g.pages[R]&&(g.pages[G]=g.pages[R].flip("options",{page:G,next:T||ne?G+1:G-1})),o&&(delete g.pages[R],delete g.pagePlace[R],delete g.pageZoom[R],delete g.pageObjs[R],delete g.pageWrap[R]))};if(o>0)for(t=g.totalPages;t>=s;t--)H(t);else for(t=s;t<=g.totalPages;t++)H(t)},display:function(s){var o=this.data(),t=o.display;if(s===void 0)return t;if(C.inArray(s,st)==-1)throw Fe('"'+s+'" is not a value for display');switch(s){case"single":o.pageObjs[0]||(this.turn("stop").css({overflow:"hidden"}),o.pageObjs[0]=C("<div />",{class:"page p-temporal"}).css({width:this.width(),height:this.height()}).appendTo(this)),this.addClass("shadow");break;case"double":o.pageObjs[0]&&(this.turn("stop").css({overflow:""}),o.pageObjs[0].remove(),delete o.pageObjs[0]),this.removeClass("shadow");break}if(o.display=s,t){var d=this.turn("size");F._movePages.call(this,1,0),this.turn("size",d.width,d.height).turn("update")}return this},direction:function(s){var o=this.data();if(s===void 0)return o.direction;if(s=s.toLowerCase(),C.inArray(s,Xe)==-1)throw Fe('"'+s+'" is not a value for direction');return s=="rtl"&&C(this).attr("dir","ltr").css({direction:"ltr"}),o.direction=s,o.done&&this.turn("size",C(this).width(),C(this).height()),this},animating:function(){return this.data().pageMv.length>0},corner:function(){var s,o,t=this.data();for(o in t.pages)if(de(o,t.pages)&&(s=t.pages[o].flip("corner")))return s;return!1},data:function(){return this.data()},disable:function(s){var o,t=this.data(),d=this.turn("view");t.disabled=s===void 0||s===!0;for(o in t.pages)de(o,t.pages)&&t.pages[o].flip("disable",t.disabled?!0:C.inArray(parseInt(o,10),d)==-1);return this},disabled:function(s){return s===void 0?this.data().disabled===!0:this.turn("disable",s)},size:function(s,o){if(s===void 0||o===void 0)return{width:this.width(),height:this.height()};this.turn("stop");var t,d,g=this.data(),T=g.display=="double"?s/2:s;this.css({width:s,height:o}),g.pageObjs[0]&&g.pageObjs[0].css({width:T,height:o});for(t in g.pageWrap)de(t,g.pageWrap)&&(d=F._pageSize.call(this,t,!0),g.pageObjs[t].css({width:d.width,height:d.height}),g.pageWrap[t].css(d),g.pages[t]&&g.pages[t].css({width:d.width,height:d.height}));return this.turn("resize"),this},resize:function(){var s,o=this.data();for(o.pages[0]&&(o.pageWrap[0].css({left:-this.width()}),o.pages[0].flip("resize",!0)),s=1;s<=o.totalPages;s++)o.pages[s]&&o.pages[s].flip("resize",!0);F._updateShadow.call(this),o.opts.autoCenter&&this.turn("center")},_removeMv:function(s){var o,t=this.data();for(o=0;o<t.pageMv.length;o++)if(t.pageMv[o]==s)return t.pageMv.splice(o,1),!0;return!1},_addMv:function(s){var o=this.data();F._removeMv.call(this,s),o.pageMv.push(s)},_view:function(s){var o=this.data();return s=s||o.page,o.display=="double"?s%2?[s-1,s]:[s,s+1]:[s]},view:function(s){var o=this.data(),t=F._view.call(this,s);return o.display=="double"?[t[0]>0?t[0]:0,t[1]<=o.totalPages?t[1]:0]:[t[0]>0&&t[0]<=o.totalPages?t[0]:0]},stop:function(s,o){if(this.turn("animating")){var t,d,g,T=this.data();for(T.tpage&&(T.page=T.tpage,delete T.tpage),t=0;t<T.pageMv.length;t++)!T.pageMv[t]||T.pageMv[t]===s||(g=T.pages[T.pageMv[t]],d=g.data().f.opts,g.flip("hideFoldedPage",o),o||B._moveFoldingPage.call(g,!1),d.force&&(d.next=d.page%2===0?d.page-1:d.page+1,delete d.force))}return this.turn("update"),this},pages:function(s){var o=this.data();if(s){if(s<o.totalPages)for(var t=o.totalPages;t>s;t--)this.turn("removePage",t);return o.totalPages=s,F._fitPage.call(this,o.page),this}else return o.totalPages},_missing:function(s){var o=this.data();if(!(o.totalPages<1)){var t,d=this.turn("range",s),g=[];for(t=d[0];t<=d[1];t++)o.pageObjs[t]||g.push(t);g.length>0&&this.trigger("missing",[g])}},_fitPage:function(s){var o=this.data(),t=this.turn("view",s);if(F._missing.call(this,s),!!o.pageObjs[s]){o.page=s,this.turn("stop");for(var d=0;d<t.length;d++)t[d]&&o.pageZoom[t[d]]!=o.zoom&&(this.trigger("zoomed",[t[d],t,o.pageZoom[t[d]],o.zoom]),o.pageZoom[t[d]]=o.zoom);F._removeFromDOM.call(this),F._makeRange.call(this),F._updateShadow.call(this),this.trigger("turned",[s,t]),this.turn("update"),o.opts.autoCenter&&this.turn("center")}},_turnPage:function(s){var o,t,d=this.data(),g=d.pagePlace[s],T=this.turn("view"),H=this.turn("view",s);if(d.page!=s){var R=d.page;if(Ye("turning",this,[s,H])=="prevented"){R==d.page&&C.inArray(g,d.pageMv)!=-1&&d.pages[g].flip("hideFoldedPage",!0);return}C.inArray(1,H)!=-1&&this.trigger("first"),C.inArray(d.totalPages,H)!=-1&&this.trigger("last")}d.display=="single"?(o=T[0],t=H[0]):T[1]&&s>T[1]?(o=T[1],t=H[0]):T[0]&&s<T[0]&&(o=T[0],t=H[1]);var G=d.opts.turnCorners.split(","),ne=d.pages[o].data().f,ae=ne.opts,le=ne.point;F._missing.call(this,s),d.pageObjs[s]&&(this.turn("stop"),d.page=s,F._makeRange.call(this),d.tpage=t,ae.next!=t&&(ae.next=t,ae.force=!0),this.turn("update"),ne.point=le,ne.effect=="hard"?d.direction=="ltr"?d.pages[o].flip("turnPage",s>o?"r":"l"):d.pages[o].flip("turnPage",s>o?"l":"r"):d.direction=="ltr"?d.pages[o].flip("turnPage",G[s>o?1:0]):d.pages[o].flip("turnPage",G[s>o?0:1]))},page:function(s){var o=this.data();if(s===void 0)return o.page;if(!o.disabled&&!o.destroying){if(s=parseInt(s,10),s>0&&s<=o.totalPages)return s!=o.page&&(!o.done||C.inArray(s,this.turn("view"))!=-1?F._fitPage.call(this,s):F._turnPage.call(this,s)),this;throw Fe("The page "+s+" does not exist")}},next:function(){return this.turn("page",Math.min(this.data().totalPages,F._view.call(this,this.data().page).pop()+1))},previous:function(){return this.turn("page",Math.max(1,F._view.call(this,this.data().page).shift()-1))},peel:function(s,o){var t=this.data(),d=this.turn("view");if(o=o===void 0?!0:o===!0,s===!1)this.turn("stop",null,o);else if(t.display=="single")t.pages[t.page].flip("peel",s,o);else{var g;t.direction=="ltr"?g=s.indexOf("l")!=-1?d[0]:d[1]:g=s.indexOf("l")!=-1?d[1]:d[0],t.pages[g]&&t.pages[g].flip("peel",s,o)}return this},_addMotionPage:function(){var s=C(this).data().f.opts,o=s.turn;o.data(),F._addMv.call(o,s.page)},_eventStart:function(s,o,t){var d=o.turn.data(),g=d.pageZoom[o.page];if(s.isDefaultPrevented()){F._updateShadow.call(o.turn);return}g&&g!=d.zoom&&(o.turn.trigger("zoomed",[o.page,o.turn.turn("view",o.page),g,d.zoom]),d.pageZoom[o.page]=d.zoom),d.display=="single"&&t&&(t.charAt(1)=="l"&&d.direction=="ltr"||t.charAt(1)=="r"&&d.direction=="rtl"?(o.next=o.next<o.page?o.next:o.page-1,o.force=!0):o.next=o.next>o.page?o.next:o.page+1),F._addMotionPage.call(s.target),F._updateShadow.call(o.turn)},_eventEnd:function(s,o,t){var d=C(s.target);d.data().f;var g=o.turn,T=g.data();if(t){var H=T.tpage||T.page;(H==o.next||H==o.page)&&(delete T.tpage,F._fitPage.call(g,H||o.next,!0))}else F._removeMv.call(g,o.page),F._updateShadow.call(g),g.turn("update")},_eventPressed:function(s){var o=C(s.target).data().f,t=o.opts.turn,d=t.data();return d.pages,d.mouseAction=!0,t.turn("update"),o.time=new Date().getTime()},_eventReleased:function(s,o){var t,d=C(s.target),g=d.data().f,T=g.opts.turn,H=T.data();H.display=="single"?t=o.corner=="br"||o.corner=="tr"?o.x<d.width()/2:o.x>d.width()/2:t=o.x<0||o.x>d.width(),(new Date().getTime()-g.time<200||t)&&(s.preventDefault(),F._turnPage.call(T,g.opts.next)),H.mouseAction=!1},_flip:function(s){s.stopPropagation();var o=C(s.target).data().f.opts;o.turn.trigger("turn",[o.next]),o.turn.data().opts.autoCenter&&o.turn.turn("center",o.next)},_touchStart:function(){var s=this.data();for(var o in s.pages)if(de(o,s.pages)&&B._eventStart.apply(s.pages[o],arguments)===!1)return!1},_touchMove:function(){var s=this.data();for(var o in s.pages)de(o,s.pages)&&B._eventMove.apply(s.pages[o],arguments)},_touchEnd:function(){var s=this.data();for(var o in s.pages)de(o,s.pages)&&B._eventEnd.apply(s.pages[o],arguments)},calculateZ:function(s){var o,t,d,g,T,H=this,R=this.data(),G=this.turn("view"),ne=G[0]||G[1],ae=s.length-1,le={pageZ:{},partZ:{},pageV:{}},De=function(Se){var xe=H.turn("view",Se);xe[0]&&(le.pageV[xe[0]]=!0),xe[1]&&(le.pageV[xe[1]]=!0)};for(o=0;o<=ae;o++)t=s[o],d=R.pages[t].data().f.opts.next,g=R.pagePlace[t],De(t),De(d),T=R.pagePlace[d]==d?d:t,le.pageZ[T]=R.totalPages-Math.abs(ne-T),le.partZ[g]=R.totalPages*2-ae+o;return le},update:function(){var s,o=this.data();if(this.turn("animating")&&o.pageMv[0]!==0){var t,d,g=this.turn("calculateZ",o.pageMv),T=this.turn("corner"),H=this.turn("view"),R=this.turn("view",o.tpage);for(s in o.pageWrap)de(s,o.pageWrap)&&(d=o.pageObjs[s].hasClass("fixed"),o.pageWrap[s].css({display:g.pageV[s]||d?"":"none",zIndex:(o.pageObjs[s].hasClass("hard")?g.partZ[s]:g.pageZ[s])||(d?-1:0)}),(t=o.pages[s])&&(t.flip("z",g.partZ[s]||null),g.pageV[s]&&t.flip("resize"),o.tpage?t.flip("hover",!1).flip("disable",C.inArray(parseInt(s,10),o.pageMv)==-1&&s!=R[0]&&s!=R[1]):t.flip("hover",T===!1).flip("disable",s!=H[0]&&s!=H[1])))}else for(s in o.pageWrap)if(de(s,o.pageWrap)){var G=F._setPageLoc.call(this,s);o.pages[s]&&o.pages[s].flip("disable",o.disabled||G!=1).flip("hover",!0).flip("z",null)}return this},_updateShadow:function(){var s,o,t,d=this.data(),g=this.width(),T=this.height(),H=d.display=="single"?g:g/2;s=this.turn("view"),d.shadow||(d.shadow=C("<div />",{class:"shadow",css:fe(0,0,0).css}).appendTo(this));for(var R=0;R<d.pageMv.length&&!(!s[0]||!s[1]);R++)s=this.turn("view",d.pages[d.pageMv[R]].data().f.opts.next),o=this.turn("view",d.pageMv[R]),s[0]=s[0]&&o[0],s[1]=s[1]&&o[1];switch(s[0]?s[1]?t=3:t=d.direction=="ltr"?2:1:t=d.direction=="ltr"?1:2,t){case 1:d.shadow.css({width:H,height:T,top:0,left:H});break;case 2:d.shadow.css({width:H,height:T,top:0,left:0});break;case 3:d.shadow.css({width:g,height:T,top:0,left:0});break}},_setPageLoc:function(s){var o=this.data(),t=this.turn("view"),d=0;if(s==t[0]||s==t[1]?d=1:(o.display=="single"&&s==t[0]+1||o.display=="double"&&s==t[0]-2||s==t[1]+2)&&(d=2),!this.turn("animating"))switch(d){case 1:o.pageWrap[s].css({zIndex:o.totalPages,display:""});break;case 2:o.pageWrap[s].css({zIndex:o.totalPages-1,display:""});break;case 0:o.pageWrap[s].css({zIndex:0,display:o.pageObjs[s].hasClass("fixed")?"":"none"});break}return d},options:function(s){if(s===void 0)return this.data().opts;var o=this.data();if(C.extend(o.opts,s),s.pages&&this.turn("pages",s.pages),s.page&&this.turn("page",s.page),s.display&&this.turn("display",s.display),s.direction&&this.turn("direction",s.direction),s.width&&s.height&&this.turn("size",s.width,s.height),s.when)for(var t in s.when)de(t,s.when)&&this.unbind(t).bind(t,s.when[t]);return this},version:function(){return oe}},B={init:function(s){return this.data({f:{disabled:!1,hover:!1,effect:this.hasClass("hard")?"hard":"sheet"}}),this.flip("options",s),B._addPageWrapper.call(this),this},setData:function(s){var o=this.data();return o.f=C.extend(o.f,s),this},options:function(s){var o=this.data().f;return s?(B.setData.call(this,{opts:C.extend({},o.opts||te,s)}),this):o.opts},z:function(s){var o=this.data().f;return o.opts["z-index"]=s,o.fwrapper&&o.fwrapper.css({zIndex:s||parseInt(o.parent.css("z-index"),10)||0}),this},_cAllowed:function(){var s=this.data().f,o=s.opts.page,t=s.opts.turn.data(),d=o%2;return s.effect=="hard"?t.direction=="ltr"?[d?"r":"l"]:[d?"l":"r"]:t.display=="single"?o==1?t.direction=="ltr"?Ne.forward:Ne.backward:o==t.totalPages?t.direction=="ltr"?Ne.backward:Ne.forward:Ne.all:t.direction=="ltr"?Ne[d?"forward":"backward"]:Ne[d?"backward":"forward"]},_cornerActivated:function(s){var o=this.data().f,t=this.width(),d=this.height(),g={x:s.x,y:s.y,corner:""},T=o.opts.cornerSize;if(g.x<=0||g.y<=0||g.x>=t||g.y>=d)return!1;var H=B._cAllowed.call(this);switch(o.effect){case"hard":if(g.x>t-T)g.corner="r";else if(g.x<T)g.corner="l";else return!1;break;case"sheet":if(g.y<T)g.corner+="t";else if(g.y>=d-T)g.corner+="b";else return!1;if(g.x<=T)g.corner+="l";else if(g.x>=t-T)g.corner+="r";else return!1;break}return!g.corner||C.inArray(g.corner,H)==-1?!1:g},_isIArea:function(s){var o=this.data().f.parent.offset();return s=Ce&&s.originalEvent?s.originalEvent.touches[0]:s,B._cornerActivated.call(this,{x:s.pageX-o.left,y:s.pageY-o.top})},_c:function(s,o){switch(o=o||0,s){case"tl":return j(o,o);case"tr":return j(this.width()-o,o);case"bl":return j(o,this.height()-o);case"br":return j(this.width()-o,this.height()-o);case"l":return j(o,0);case"r":return j(this.width()-o,0)}},_c2:function(s){switch(s){case"tl":return j(this.width()*2,0);case"tr":return j(-this.width(),0);case"bl":return j(this.width()*2,this.height());case"br":return j(-this.width(),this.height());case"l":return j(this.width()*2,0);case"r":return j(-this.width(),0)}},_foldingPage:function(){var s=this.data().f;if(s){var o=s.opts;if(o.turn)return s=o.turn.data(),s.display=="single"?o.next>1||o.page>1?s.pageObjs[0]:null:s.pageObjs[o.next]}},_backGradient:function(){var s=this.data().f,o=s.opts.turn.data(),t=o.opts.gradients&&(o.display=="single"||s.opts.page!=2&&s.opts.page!=o.totalPages-1);return t&&!s.bshadow&&(s.bshadow=C("<div/>",fe(0,0,1)).css({position:"",width:this.width(),height:this.height()}).appendTo(s.parent)),t},type:function(){return this.data().f.effect},resize:function(s){var o=this.data().f,t=o.opts.turn.data(),d=this.width(),g=this.height();switch(o.effect){case"hard":s&&(o.wrapper.css({width:d,height:g}),o.fpage.css({width:d,height:g}),t.opts.gradients&&(o.ashadow.css({width:d,height:g}),o.bshadow.css({width:d,height:g})));break;case"sheet":if(s){var T=Math.round(Math.sqrt(Math.pow(d,2)+Math.pow(g,2)));o.wrapper.css({width:T,height:T}),o.fwrapper.css({width:T,height:T}).children(":first-child").css({width:d,height:g}),o.fpage.css({width:d,height:g}),t.opts.gradients&&o.ashadow.css({width:d,height:g}),B._backGradient.call(this)&&o.bshadow.css({width:d,height:g})}if(o.parent.is(":visible")){var H=xt(o.parent[0]);o.fwrapper.css({top:H.top,left:H.left}),H=xt(o.opts.turn[0]),o.fparent.css({top:-H.top,left:-H.left})}this.flip("z",o.opts["z-index"]);break}},_addPageWrapper:function(){var s=this.data().f,o=s.opts.turn.data(),t=this.parent();if(s.parent=t,!s.wrapper)switch(s.effect){case"hard":var d={};d[we+"transform-style"]="preserve-3d",d[we+"backface-visibility"]="hidden",s.wrapper=C("<div/>",fe(0,0,2)).css(d).appendTo(t).prepend(this),s.fpage=C("<div/>",fe(0,0,1)).css(d).appendTo(t),o.opts.gradients&&(s.ashadow=C("<div/>",fe(0,0,0)).hide().appendTo(t),s.bshadow=C("<div/>",fe(0,0,0)));break;case"sheet":if(this.width(),this.height(),s.fparent=s.opts.turn.data().fparent,!s.fparent){var g=C("<div/>",{css:{"pointer-events":"none"}}).hide();g.data().flips=0,g.css(fe(0,0,"auto","visible").css).appendTo(s.opts.turn),s.opts.turn.data().fparent=g,s.fparent=g}this.css({position:"absolute",top:0,left:0,bottom:"auto",right:"auto"}),s.wrapper=C("<div/>",fe(0,0,this.css("z-index"))).appendTo(t).prepend(this),s.fwrapper=C("<div/>",fe(t.offset().top,t.offset().left)).hide().appendTo(s.fparent),s.fpage=C("<div/>",fe(0,0,0,"visible")).css({cursor:"default"}).appendTo(s.fwrapper),o.opts.gradients&&(s.ashadow=C("<div/>",fe(0,0,1)).appendTo(s.fpage)),B.setData.call(this,s);break}B.resize.call(this,!0)},_fold:function(s){var o=this.data().f,t=o.opts.turn.data(),d=B._c.call(this,s.corner),g=this.width(),T=this.height();switch(o.effect){case"hard":s.corner=="l"?s.x=Math.min(Math.max(s.x,0),g*2):s.x=Math.max(Math.min(s.x,g),-g);var H,R,G,ne,ae,le=t.totalPages,De=o.opts["z-index"]||le,Se={overflow:"visible"},xe=d.x?(d.x-s.x)/g:s.x/g,me=xe*90,He=me<90;switch(s.corner){case"l":ne="0% 50%",ae="100% 50%",He?(H=0,R=o.opts.next-1>0,G=1):(H="100%",R=o.opts.page+1<le,G=0);break;case"r":ne="100% 50%",ae="0% 50%",me=-me,g=-g,He?(H=0,R=o.opts.next+1<le,G=0):(H="-100%",R=o.opts.page!=1,G=1);break}Se[we+"perspective-origin"]=ae,o.wrapper.transform("rotateY("+me+"deg)translate3d(0px, 0px, "+(this.attr("depth")||0)+"px)",ae),o.fpage.transform("translateX("+g+"px) rotateY("+(180+me)+"deg)",ne),o.parent.css(Se),He?(xe=-xe+1,o.wrapper.css({zIndex:De+1}),o.fpage.css({zIndex:De})):(xe=xe-1,o.wrapper.css({zIndex:De}),o.fpage.css({zIndex:De+1})),t.opts.gradients&&(R?o.ashadow.css({display:"",left:H,backgroundColor:"rgba(0,0,0,"+.5*xe+")"}).transform("rotateY(0deg)"):o.ashadow.hide(),o.bshadow.css({opacity:-xe+1}),He?o.bshadow.parent()[0]!=o.wrapper[0]&&o.bshadow.appendTo(o.wrapper):o.bshadow.parent()[0]!=o.fpage[0]&&o.bshadow.appendTo(o.fpage),ft(o.bshadow,j(G*100,0),j((-G+1)*100,0),[[0,"rgba(0,0,0,0.3)"],[1,"rgba(0,0,0,0)"]],2));break;case"sheet":var Re=this,Be=0,dt,Ge,Qe,ht,ze,pt,kt,je=j(0,0),bt=j(0,0),pe=j(0,0),Mt=B._foldingPage.call(this),gt=t.opts.acceleration,At=o.wrapper.height(),Ze=s.corner.substr(0,1)=="t",Ke=s.corner.substr(1,1)=="l",nt=function(){var ue=j(0,0),Me=j(0,0);ue.x=d.x?d.x-s.x:s.x,We?ue.y=d.y?d.y-s.y:s.y:ue.y=0,Me.x=Ke?g-ue.x/2:s.x+ue.x/2,Me.y=ue.y/2;var se=Pe-Math.atan2(ue.y,ue.x),Oe=se-Math.atan2(Me.y,Me.x),Je=Math.max(0,Math.sin(Oe)*Math.sqrt(Math.pow(Me.x,2)+Math.pow(Me.y,2)));if(Be=U(se),pe=j(Je*Math.sin(se),Je*Math.cos(se)),se>Pe&&(pe.x=pe.x+Math.abs(pe.y*ue.y/ue.x),pe.y=0,Math.round(pe.x*Math.tan(W-se))<T))return s.y=Math.sqrt(Math.pow(T,2)+2*Me.x*ue.x),Ze&&(s.y=T-s.y),nt();if(se>Pe){var rt=W-se,ot=At-T/Math.sin(rt);je=j(Math.round(ot*Math.cos(rt)),Math.round(ot*Math.sin(rt))),Ke&&(je.x=-je.x),Ze&&(je.y=-je.y)}dt=Math.round(pe.y/Math.tan(se)+pe.x);var $e=g-dt,it=$e*Math.cos(se*2),at=$e*Math.sin(se*2);if(bt=j(Math.round(Ke?$e-it:dt+it),Math.round(Ze?at:T-at)),t.opts.gradients){ze=$e*Math.sin(se);var et=B._c2.call(Re,s.corner),be=Math.sqrt(Math.pow(et.x-s.x,2)+Math.pow(et.y-s.y,2))/g;kt=Math.sin(Pe*(be>1?2-be:be)),pt=Math.min(be,1),ht=ze>100?(ze-100)/ze:0,Ge=j(ze*Math.sin(se)/g*100,ze*Math.cos(se)/T*100),B._backGradient.call(Re)&&(Qe=j(ze*1.2*Math.sin(se)/g*100,ze*1.2*Math.cos(se)/T*100),Ke||(Qe.x=100-Qe.x),Ze||(Qe.y=100-Qe.y))}return pe.x=Math.round(pe.x),pe.y=Math.round(pe.y),!0},mt=function(ue,Me,se,Oe){var Je=["0","auto"],rt=(g-At)*se[0]/100,ot=(T-At)*se[1]/100,$e={left:Je[Me[0]],top:Je[Me[1]],right:Je[Me[2]],bottom:Je[Me[3]]},it={},at=Oe!=90&&Oe!=-90?Ke?-1:1:0,et=se[0]+"% "+se[1]+"%";Re.css($e).transform(ke(Oe)+$(ue.x+at,ue.y,gt),et),o.fpage.css($e).transform(ke(Oe)+$(ue.x+bt.x-je.x-g*se[0]/100,ue.y+bt.y-je.y-T*se[1]/100,gt)+ke((180/Oe-2)*Oe),et),o.wrapper.transform($(-ue.x+rt-at,-ue.y+ot,gt)+ke(-Oe),et),o.fwrapper.transform($(-ue.x+je.x+rt,-ue.y+je.y+ot,gt)+ke(-Oe),et),t.opts.gradients&&(se[0]&&(Ge.x=100-Ge.x),se[1]&&(Ge.y=100-Ge.y),it["box-shadow"]="0 0 20px rgba(0,0,0,"+.5*kt+")",Mt.css(it),ft(o.ashadow,j(Ke?100:0,Ze?0:100),j(Ge.x,Ge.y),[[ht,"rgba(0,0,0,0)"],[(1-ht)*.8+ht,"rgba(0,0,0,"+.2*pt+")"],[1,"rgba(255,255,255,"+.2*pt+")"]],3),B._backGradient.call(Re)&&ft(o.bshadow,j(Ke?0:100,Ze?0:100),j(Qe.x,Qe.y),[[.6,"rgba(0,0,0,0)"],[.8,"rgba(0,0,0,"+.3*pt+")"],[1,"rgba(0,0,0,0)"]],3))};switch(s.corner){case"l":break;case"r":break;case"tl":s.x=Math.max(s.x,1),nt(),mt(pe,[1,0,0,1],[100,0],Be);break;case"tr":s.x=Math.min(s.x,g-1),nt(),mt(j(-pe.x,pe.y),[0,0,0,1],[0,0],-Be);break;case"bl":s.x=Math.max(s.x,1),nt(),mt(j(pe.x,-pe.y),[1,1,0,0],[100,100],-Be);break;case"br":s.x=Math.min(s.x,g-1),nt(),mt(j(-pe.x,-pe.y),[0,1,1,0],[0,100],Be);break}break}o.point=s},_moveFoldingPage:function(s){var o=this.data().f;if(o){var t=o.opts.turn,d=t.data(),g=d.pagePlace;if(s){var T=o.opts.next;if(g[T]!=o.opts.page){o.folding&&B._moveFoldingPage.call(this,!1);var H=B._foldingPage.call(this);H.appendTo(o.fpage),g[T]=o.opts.page,o.folding=T}t.turn("update")}else if(o.folding){if(d.pages[o.folding]){var R=d.pages[o.folding].data().f;d.pageObjs[o.folding].appendTo(R.wrapper)}else d.pageWrap[o.folding]&&d.pageObjs[o.folding].appendTo(d.pageWrap[o.folding]);o.folding in g&&(g[o.folding]=o.folding),delete o.folding}}},_showFoldedPage:function(s,o){var t=B._foldingPage.call(this),d=this.data(),g=d.f,T=g.visible;if(t){if(!T||!g.point||g.point.corner!=s.corner){var H=g.status=="hover"||g.status=="peel"||g.opts.turn.data().mouseAction?s.corner:null;if(T=!1,Ye("start",this,[g.opts,H])=="prevented")return!1}if(o){var R=this,G=g.point&&g.point.corner==s.corner?g.point:B._c.call(this,s.corner,1);this.animatef({from:[G.x,G.y],to:[s.x,s.y],duration:500,frame:function(ne){s.x=Math.round(ne[0]),s.y=Math.round(ne[1]),B._fold.call(R,s)}})}else B._fold.call(this,s),d.effect&&!d.effect.turning&&this.animatef(!1);if(!T)switch(g.effect){case"hard":g.visible=!0,B._moveFoldingPage.call(this,!0),g.fpage.show(),g.opts.shadows&&g.bshadow.show();break;case"sheet":g.visible=!0,g.fparent.show().data().flips++,B._moveFoldingPage.call(this,!0),g.fwrapper.show(),g.bshadow&&g.bshadow.show();break}return!0}return!1},hide:function(){var s=this.data().f,o=s.opts.turn.data(),t=B._foldingPage.call(this);switch(s.effect){case"hard":o.opts.gradients&&(s.bshadowLoc=0,s.bshadow.remove(),s.ashadow.hide()),s.wrapper.transform(""),s.fpage.hide();break;case"sheet":--s.fparent.data().flips===0&&s.fparent.hide(),this.css({left:0,top:0,right:"auto",bottom:"auto"}).transform(""),s.wrapper.transform(""),s.fwrapper.hide(),s.bshadow&&s.bshadow.hide(),t.transform("");break}return s.visible=!1,this},hideFoldedPage:function(s){var o=this.data().f;if(o.point){var t=this,d=o.point,g=function(){o.point=null,o.status="",t.flip("hide"),t.trigger("end",[o.opts,!1])};if(s){var T=B._c.call(this,d.corner),H=d.corner.substr(0,1)=="t",R=H?Math.min(0,d.y-T.y)/2:Math.max(0,d.y-T.y)/2,G=j(d.x,d.y+R),ne=j(T.x,T.y-R);this.animatef({from:0,to:1,frame:function(ae){var le=Te(d,G,ne,T,ae);d.x=le.x,d.y=le.y,B._fold.call(t,d)},complete:g,duration:800,hiding:!0})}else this.animatef(!1),g()}},turnPage:function(s){var o=this,t=this.data().f,d=t.opts.turn.data();s={corner:t.corner?t.corner.corner:s||B._cAllowed.call(this)[0]};var g=t.point||B._c.call(this,s.corner,t.opts.turn?d.opts.elevation:0),T=B._c2.call(this,s.corner);this.trigger("flip").animatef({from:0,to:1,frame:function(H){var R=Te(g,g,T,T,H);s.x=R.x,s.y=R.y,B._showFoldedPage.call(o,s)},complete:function(){o.trigger("end",[t.opts,!0])},duration:d.opts.duration,turning:!0}),t.corner=null},moving:function(){return"effect"in this.data()},isTurning:function(){return this.flip("moving")&&this.data().effect.turning},corner:function(){return this.data().f.corner},_eventStart:function(s){var o=this.data().f,t=o.opts.turn;if(!o.corner&&!o.disabled&&!this.flip("isTurning")&&o.opts.page==t.data().pagePlace[o.opts.page]){if(o.corner=B._isIArea.call(this,s),o.corner&&B._foldingPage.call(this))return this.trigger("pressed",[o.point]),B._showFoldedPage.call(this,o.corner),!1;o.corner=null}},_eventMove:function(s){var o=this.data().f;if(!o.disabled){if(s=Ce?s.originalEvent.touches:[s],o.corner){var t=o.parent.offset();o.corner.x=s[0].pageX-t.left,o.corner.y=s[0].pageY-t.top,B._showFoldedPage.call(this,o.corner)}else if(o.hover&&!this.data().effect&&this.is(":visible")){var d=B._isIArea.call(this,s[0]);if(d){if(o.effect=="sheet"&&d.corner.length==2||o.effect=="hard"){o.status="hover";var g=B._c.call(this,d.corner,o.opts.cornerSize/2);d.x=g.x,d.y=g.y,B._showFoldedPage.call(this,d,!0)}}else o.status=="hover"&&(o.status="",B.hideFoldedPage.call(this,!0))}}},_eventEnd:function(){var s=this.data().f,o=s.corner;!s.disabled&&o&&Ye("released",this,[s.point||o])!="prevented"&&B.hideFoldedPage.call(this,!0),s.corner=null},disable:function(s){return B.setData.call(this,{disabled:s}),this},hover:function(s){return B.setData.call(this,{hover:s}),this},peel:function(s,o){var t=this.data().f;if(s){if(C.inArray(s,Ne.all)==-1)throw Fe("Corner "+s+" is not permitted");if(C.inArray(s,B._cAllowed.call(this))!=-1){var d=B._c.call(this,s,t.opts.cornerSize/2);t.status="peel",B._showFoldedPage.call(this,{corner:s,x:d.x,y:d.y},o)}}else t.status="",B.hideFoldedPage.call(this,o);return this}};function Le(s,o,t){if(!t[0]||typeof t[0]=="object")return o.init.apply(s,t);if(o[t[0]])return o[t[0]].apply(s,Array.prototype.slice.call(t,1));throw Fe(t[0]+" is not a method or property")}function fe(s,o,t,d){return{css:{position:"absolute",top:s,left:o,overflow:d||"hidden",zIndex:t||"auto"}}}function Te(s,o,t,d,g){var T=1-g,H=T*T*T,R=g*g*g;return j(Math.round(H*s.x+3*g*T*T*o.x+3*g*g*T*t.x+R*d.x),Math.round(H*s.y+3*g*T*T*o.y+3*g*g*T*t.y+R*d.y))}function U(s){return s/W*180}function j(s,o){return{x:s,y:o}}function he(){var s;if(s=/AppleWebkit\/([0-9\.]+)/i.exec(navigator.userAgent)){var o=parseFloat(s[1]);return o>534.3}else return!0}function $(s,o,t){return E&&t?" translate3d("+s+"px,"+o+"px, 0px) ":" translate("+s+"px, "+o+"px) "}function ke(s){return" rotate("+s+"deg) "}function de(s,o){return Object.prototype.hasOwnProperty.call(o,s)}function Ue(){for(var s=["Moz","Webkit","Khtml","O","ms"],o=s.length,t="";o--;)s[o]+"Transform"in document.body.style&&(t="-"+s[o].toLowerCase()+"-");return t}function tt(){var s,o=document.createElement("fakeelement"),t={transition:"transitionend",OTransition:"oTransitionEnd",MSTransition:"transitionend",MozTransition:"transitionend",WebkitTransition:"webkitTransitionEnd"};for(s in t)if(o.style[s]!==void 0)return t[s]}function ft(s,o,t,d,g){var T,H=[];if(we=="-webkit-"){for(T=0;T<g;T++)H.push("color-stop("+d[T][0]+", "+d[T][1]+")");s.css({"background-image":"-webkit-gradient(linear, "+o.x+"% "+o.y+"%,"+t.x+"% "+t.y+"%, "+H.join(",")+" )"})}else{o={x:o.x/100*s.width(),y:o.y/100*s.height()},t={x:t.x/100*s.width(),y:t.y/100*s.height()};var R=t.x-o.x,G=t.y-o.y,ne=Math.atan2(G,R),ae=ne-Math.PI/2,le=Math.abs(s.width()*Math.sin(ae))+Math.abs(s.height()*Math.cos(ae)),De=Math.sqrt(G*G+R*R),Se=j(t.x<o.x?s.width():0,t.y<o.y?s.height():0),xe=Math.tan(ne),me=-1/xe,He=(me*Se.x-Se.y-xe*o.x+o.y)/(me-xe),Re={x:He,y:me*He-me*Se.x+Se.y},Be=Math.sqrt(Math.pow(Re.x-o.x,2)+Math.pow(Re.y-o.y,2));for(T=0;T<g;T++)H.push(" "+d[T][1]+" "+(Be+De*d[T][0])*100/le+"%");s.css({"background-image":we+"linear-gradient("+-ne+"rad,"+H.join(",")+")"})}}function Ye(s,o,t){var d=C.Event(s);return o.trigger(d,t),d.isDefaultPrevented()?"prevented":d.isPropagationStopped()?"stopped":""}function Fe(s){function o(t){this.name="TurnJsError",this.message=t}return o.prototype=new Error,o.prototype.constructor=o,new o(s)}function xt(s){var o={top:0,left:0};do o.left+=s.offsetLeft,o.top+=s.offsetTop;while(s=s.offsetParent);return o}function D(){return navigator.userAgent.indexOf("MSIE 9.0")==-1}window.requestAnim=function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(s){window.setTimeout(s,1e3/60)}}(),C.extend(C.fn,{flip:function(){return Le(C(this[0]),B,arguments)},turn:function(){return Le(C(this[0]),F,arguments)},transform:function(s,o){var t={};return o&&(t[we+"transform-origin"]=o),t[we+"transform"]=s,this.css(t)},animatef:function(s){var o=this.data();if(o.effect&&o.effect.stop(),s){s.to.length||(s.to=[s.to]),s.from.length||(s.from=[s.from]);for(var t=[],d=s.to.length,g=!0,T=this,H=new Date().getTime(),R=function(){if(!(!o.effect||!g)){for(var ne=[],ae=Math.min(s.duration,new Date().getTime()-H),le=0;le<d;le++)ne.push(o.effect.easing(1,ae,s.from[le],t[le],s.duration));s.frame(d==1?ne[0]:ne),ae==s.duration?(delete o.effect,T.data(o),s.complete&&s.complete()):window.requestAnim(R)}},G=0;G<d;G++)t.push(s.to[G]-s.from[G]);o.effect=C.extend({stop:function(){g=!1},easing:function(ne,ae,le,De,Se){return De*Math.sqrt(1-(ae=ae/Se-1)*ae)+le}},s),this.data(o),R()}else delete o.effect}}),C.isTouch=Ce,C.mouseEvents=ce,C.cssPrefix=Ue,C.cssTransitionEnd=tt,C.findPos=xt})(jQuery);function Hr(C){return typeof C=="function"||Object.prototype.toString.call(C)==="[object Object]"&&!In(C)}const Rr={grades:[{text:"一年级",value:1},{text:"二年级",value:2},{text:"三年级",value:3},{text:"四年级",value:4},{text:"五年级",value:5},{text:"六年级",value:6},{text:"七年级",value:7},{text:"八年级",value:8},{text:"九年级",value:9}],bookTypes:{LAST:"上册",NEXT:"下册"}},Gr=$t({name:"courseware-list",setup(){const C=Tt(!1),E=Tt([]),We=()=>{It({api:"goBack"})},we=localStorage.getItem("courseware-list")?JSON.parse(localStorage.getItem("courseware-list")):{},oe=Ot({currentGradeNum:we.currentGradeNum||null,bookVersionId:we.bookVersionId||null,page:1,rows:24}),W=Ot({courseRecord:null,dataShow:!0,list:[],loading:!1,finished:!1,details:[],bookData:{},bookLessonId:"",showBookLock:!1,showBook:!1,book:{}}),Pe=async()=>{try{const{data:te}=await qn({type:"COURSEWARE"}),ie=te.rows||[];E.value=ie.map(B=>({bookVersionId:B.id,bookVersionName:B.name})),E.value.push({bookVersionId:-1,bookVersionName:"自定义"}),E.value.findIndex(B=>B.bookVersionId==we.bookVersionId)<0&&(oe.bookVersionId=null)}catch(te){console.log(te)}};let Ce=!1;const ce=async()=>{var Le,fe,Te,U,j;if(Ce)return;Ce=!0,W.loading=!0;const{bookVersionId:te,currentGradeNum:ie,...F}=oe,B=await Wn({...F,bookVersionId:te==-1?null:te,customFlag:te==-1?!0:null,currentGradeNum:ie||""});if((B==null?void 0:B.code)===200&&Array.isArray((Le=B==null?void 0:B.data)==null?void 0:Le.rows)){((fe=B==null?void 0:B.data)==null?void 0:fe.current)==1&&(W.courseRecord=(Te=B==null?void 0:B.data)==null?void 0:Te.extra,(U=W.courseRecord)!=null&&U.id&&(W.courseRecord.key=Zt()+W.courseRecord.id));const he=B.data.rows.map($=>($.load=!1,$.key=Zt()+$.id,$));W.list=W.list.concat(Bn(he,(j=W.courseRecord)!=null&&j.id?3:4)),oe.page=B.data.current+1,W.dataShow=W.list.length>0,W.finished=B.data.current>=B.data.pages}W.loading=!1,Ce=!1};en(async()=>{await Pe(),ce(),It({api:"setStatusBarVisibility",content:{isVisibility:0}})});const Ne=async te=>{var F;const ie=await Hn({id:te.id});(ie==null?void 0:ie.code)==200&&Array.isArray((F=ie==null?void 0:ie.data)==null?void 0:F.lessonList)&&(W.details=ie.data.lessonList||[],W.bookData=ie.data,W.bookLessonId=te.id),st(te.key),Xe(()=>{W.showBook=!0}),setTimeout(()=>{W.showBookLock=!1},36)},st=te=>{const ie=document.querySelector(`[data-key="${te}"]`);if(!ie)return;const F=ie.getBoundingClientRect();W.book=F},Xe=te=>{requestAnimationFrame(()=>{requestAnimationFrame(()=>{te()})})},Ie=async te=>{W.showBookLock||(W.showBookLock=!0,await Ne(te))};return()=>{var ie;let te;return V("div",{class:[J.container]},[V("div",{class:J.head,style:{opacity:W.showBook?0:""}},[V("div",{class:J.back,onClick:We},[V("img",{src:tn},null),V("span",null,[ct("全部教材")])]),V(jt,{class:[J.downBtn,oe.bookVersionId>0||oe.currentGradeNum?J.activeBtn:"",C.value?J.activeBtn:""],round:!0,size:"small",onClick:()=>C.value=!0},{default:()=>[ct("筛选"),V("svg",{class:[J.icon,C.value?J.iconUp:""],width:"9px",height:"5px",viewBox:"0 0 9 5",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},[V("title",null,[ct("三角形")]),V("g",{id:"演示用",stroke:"none","stroke-width":"1",fill:"currentColor","fill-rule":"evenodd"},[V("g",{id:"全部教材-筛选",transform:"translate(-769.000000, -35.000000)",fill:"currentColor"},[V("g",{id:"编组-3",transform:"translate(696.000000, 20.000000)"},[V("g",{id:"筛选目录备份-2",transform:"translate(13.000000, 7.000000)"},[V("path",{d:"M64.8716471,8.41294119 L68.2489659,12.1655176 C68.4336954,12.3707726 68.4170562,12.6869176 68.2118012,12.8716471 C68.1199888,12.9542782 68.0008397,13 67.8773188,13 L61.1226812,13 C60.8465388,13 60.6226812,12.7761424 60.6226812,12.5 C60.6226812,12.3764791 60.668403,12.25733 60.7510341,12.1655176 L64.1283529,8.41294119 C64.3130824,8.20768618 64.6292274,8.19104698 64.8344824,8.37577649 C64.8475136,8.38750459 64.859919,8.39990996 64.8716471,8.41294119 Z",id:"三角形",transform:"translate(64.500000, 10.500000) rotate(-180.000000) translate(-64.500000, -10.500000) "},null)])])])])])]})]),V("div",{class:[J.content,(ie=W.courseRecord)!=null&&ie.id?J.courseDetails:""]},[V("div",{class:J.wrapLeft},[W.courseRecord?V("div",{class:[J.wrapItem,J.courseWrapItem],key:W.courseRecord.id,onClick:()=>Ie(W.courseRecord)},[V("div",{class:J.item},[V("img",{src:kr,class:J.useTime},null),V(Kt,{"data-id":W.courseRecord.id,"data-key":W.courseRecord.key,class:[J.cover,W.courseRecord.load?J.loaded:""],fit:"cover",src:W.courseRecord.coverImg,onLoad:()=>{W.courseRecord.load=!0}},{loading:()=>V("i",null,null)})]),V("div",{class:J.name},[W.courseRecord.name])]):""]),V("div",{class:J.wrapRight},[V("div",{class:[J.wrap]},[W.dataShow?V(Rn,{loading:W.loading,"loading-text":" ",finished:W.finished,"finished-text":" ",onLoad:ce,immediateCheck:!1},Hr(te=W.list.map(F=>{var Te;const Le=((Te=W.courseRecord)!=null&&Te.id?3:4)-F.length,fe=[];for(let U=0;U<Le;U++)fe.push(U);return V("div",{class:J.warpSection},[F.map(U=>V("div",{class:[J.wrapItem,W.bookData.id===U.id&&W.showBook?J.wrapItemHide:""],key:U.key,onClick:()=>Ie(U)},[V("div",{class:J.item},[V(Kt,{"data-id":U.id,"data-key":U.key,class:[J.cover,U.load?J.loaded:""],fit:"cover",src:U.coverImg,onLoad:()=>{U.load=!0}},{loading:()=>V("i",null,null)})]),V("div",{class:J.name},[U.name])])),fe.map(()=>V("div",{class:J.wrapItem},null))])}))?te:{default:()=>[te]}):V(jn,{image:"list",description:"暂无内容"},null)])])]),V(Wr,{show:W.showBook,bookData:W.bookData,bookLessonId:W.bookLessonId,rect:W.book,onClose:()=>{W.showBook=!1},onConfirm:()=>{ce()}},null),V(On,{show:C.value,"onUpdate:show":F=>C.value=F,class:J.popupContainer},{default:()=>[V("div",{class:J.popoverContainer},[V("div",{class:J.searchList},[E.value.length>0&&V("div",null,[V("div",{class:J.popoverTitle},[ct("教材版本")]),V("div",{class:[J.popupList,J.versionList]},[E.value.map(F=>V(Jt,{plain:oe.bookVersionId==F.bookVersionId,round:!0,onClick:()=>oe.bookVersionId=F.bookVersionId},{default:()=>[F.bookVersionName]}))])]),V("div",{class:J.popoverTitle},[ct("选择年级")]),V("div",{class:[J.popupList,J.versionList]},[Rr.grades.map(F=>V(Jt,{plain:oe.currentGradeNum===F.value,round:!0,onClick:()=>oe.currentGradeNum=F.value},{default:()=>[F.text]}))])]),V("div",{class:J.btnGroup},[V(jt,{round:!0,onClick:()=>{oe.bookVersionId=null,oe.currentGradeNum=null}},{default:()=>[ct("重置")]}),V(jt,{round:!0,class:J.btnSure,onClick:()=>{localStorage.setItem("courseware-list",JSON.stringify({bookVersionId:oe.bookVersionId,currentGradeNum:oe.currentGradeNum})),oe.page=1,W.courseRecord=null,W.list=[],ce(),C.value=!1}},{default:()=>[ct("确定")]})])])]})])}}});export{Rr as BOOK_DATA,Gr as default};