bibel/bibel_html/de_new/_assets/js/javascript.min.js

6 lines
180 KiB
JavaScript
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

function PagePlayer(){var e,t,n=this,i=this,o=soundManager,a=null,r=null,s=document.getElementsByTagName("head")[0],l=null,u=navigator.userAgent,c=u.match(/(opera|firefox)/i),d=u.match(/ipad|ipod|iphone/i);this.config={usePeakData:!1,useWaveformData:!1,useEQData:!1,fillGraph:!1,allowRightClick:!0,useThrottling:!1,autoStart:!1,playNext:!0,updatePageTitle:!0,emptyTime:"-:--",useFavIcon:!1},this.css={sDefault:"sm2_link",sLoading:"sm2_loading",sPlaying:"sm2_playing",sPaused:"sm2_paused"},this.sounds=[],this.soundsByObject=[],this.lastSound=null,this.soundCount=0,this.strings=[],this.dragActive=!1,this.dragExec=new Date,this.dragTimer=null,this.pageTitle=document.title,this.lastWPExec=new Date,this.lastWLExec=new Date,this.vuMeterData=[],this.oControls=null,this._mergeObjects=function(e,t){var n,i,o,a={};for(i in e)e.hasOwnProperty(i)&&(a[i]=e[i]);n="undefined"==typeof t?{}:t;for(o in n)"undefined"==typeof a[o]&&(a[o]=n[o]);return a},e=function(){function e(e){var t=a.call(e),n=t.length;return o?(t[1]="on"+t[1],n>3&&t.pop()):3===n&&t.push(!1),t}function t(e,t){var n=e.shift(),i=[r[t]];o?n[i](e[0],e[1]):n[i].apply(n,e)}function n(){t(e(arguments),"add")}function i(){t(e(arguments),"remove")}var o=window.attachEvent&&!window.addEventListener,a=Array.prototype.slice,r={add:o?"attachEvent":"addEventListener",remove:o?"detachEvent":"removeEventListener"};return{add:n,remove:i}}(),this.hasClass=function(e,t){return"undefined"!=typeof e.className?new RegExp("(^|\\s)"+t+"(\\s|$)").test(e.className):!1},this.addClass=function(e,t){return e&&t&&!n.hasClass(e,t)?void(e.className=(e.className?e.className+" ":"")+t):!1},this.removeClass=function(e,t){return e&&t&&n.hasClass(e,t)?void(e.className=e.className.replace(new RegExp("( "+t+")|("+t+")","g"),"")):!1},this.select=function(e,t){var i=n.getByClassName(e,"div",t||null);return i?i[0]:null},this.getByClassName=document.querySelectorAll?function(e,t,n){var i,o="."+e;return t&&(t=t.split(" ")),i=t.length>1?t.join(o+", "):t[0]+o,(n?n:document).querySelectorAll(i)}:function(e,t,i){var o,a,r=i?i:document,s=[],l=[];if(t&&(t=t.split(" ")),t instanceof Array){for(o=t.length;o--;)l&&l[t[o]]||(l[t[o]]=r.getElementsByTagName(t[o]));for(o=t.length;o--;)for(a=l[t[o]].length;a--;)n.hasClass(l[t[o]][a],e)&&s.push(l[t[o]][a])}else for(l=r.all||r.getElementsByTagName("*"),o=0,a=l.length;a>o;o++)n.hasClass(l[o],e)&&s.push(l[o]);return s},this.isChildOfClass=function(e,t){if(!e||!t)return!1;for(;e.parentNode&&!n.hasClass(e,t);)e=e.parentNode;return n.hasClass(e,t)},this.getParentByNodeName=function(e,t){if(!e||!t)return!1;for(t=t.toLowerCase();e.parentNode&&t!==e.parentNode.nodeName.toLowerCase();)e=e.parentNode;return e.parentNode&&t===e.parentNode.nodeName.toLowerCase()?e.parentNode:null},this.getOffX=function(e){var t=0;if(e.offsetParent)for(;e.offsetParent;)t+=e.offsetLeft,e=e.offsetParent;else e.x&&(t+=e.x);return t},this.getTime=function(e,t){var n=Math.floor(e/1e3),i=Math.floor(n/60),o=n-60*i;return t?i+":"+(10>o?"0"+o:o):{min:i,sec:o}},this.getSoundByObject=function(e){return"undefined"!=typeof n.soundsByObject[e.id]?n.soundsByObject[e.id]:null},this.getPreviousItem=function(e){if(e.previousElementSibling)e=e.previousElementSibling;else for(e=e.previousSibling;e&&e.previousSibling&&1!==e.previousSibling.nodeType;)e=e.previousSibling;return"li"!==e.nodeName.toLowerCase()?null:e.getElementsByTagName("a")[0]},this.playPrevious=function(e){if(e||(e=n.lastSound),!e)return!1;var t=n.getPreviousItem(e._data.oLI);return t&&i.handleClick({target:t}),t},this.getNextItem=function(e){if(e.nextElementSibling)e=e.nextElementSibling;else for(e=e.nextSibling;e&&e.nextSibling&&1!==e.nextSibling.nodeType;)e=e.nextSibling;return"li"!==e.nodeName.toLowerCase()?null:e.getElementsByTagName("a")[0]},this.playNext=function(e){if(e||(e=n.lastSound),!e)return!1;var t=n.getNextItem(e._data.oLI);return t&&i.handleClick({target:t}),t},this.setPageTitle=function(e){if(!n.config.updatePageTitle)return!1;try{document.title=(e?e+" - ":"")+n.pageTitle}catch(t){n.setPageTitle=function(){return!1}}},this.events={play:function(){i.removeClass(this._data.oLI,this._data.className),this._data.className=i.css.sPlaying,i.addClass(this._data.oLI,this._data.className),n.setPageTitle(this._data.originalTitle)},stop:function(){i.removeClass(this._data.oLI,this._data.className),this._data.className="",this._data.oPosition.style.width="0px",n.setPageTitle(),n.resetPageIcon()},pause:function(){return i.dragActive?!1:(i.removeClass(this._data.oLI,this._data.className),this._data.className=i.css.sPaused,i.addClass(this._data.oLI,this._data.className),n.setPageTitle(),void n.resetPageIcon())},resume:function(){return i.dragActive?!1:(i.removeClass(this._data.oLI,this._data.className),this._data.className=i.css.sPlaying,void i.addClass(this._data.oLI,this._data.className))},finish:function(){i.removeClass(this._data.oLI,this._data.className),this._data.className="",this._data.oPosition.style.width="0px",n.config.playNext?i.playNext(this):(n.setPageTitle(),n.resetPageIcon())},whileloading:function(){function e(){this._data.oLoading.style.width=this.bytesLoaded/this.bytesTotal*100+"%",!this._data.didRefresh&&this._data.metadata&&(this._data.didRefresh=!0,this._data.metadata.refresh())}if(i.config.useThrottling){var t=new Date;(t&&t-n.lastWLExec>50||this.bytesLoaded===this.bytesTotal)&&(e.apply(this),n.lastWLExec=t)}else e.apply(this)},onload:function(){if(this.loaded)this._data.metadata&&this._data.metadata.refresh();else{var e=this._data.oLI.getElementsByTagName("a")[0],t=e.innerHTML;e.innerHTML=t+' <span style="font-size:0.5em"> | Load failed, d\'oh! '+(o.sandbox.noRemote?" Possible cause: Flash sandbox is denying remote URL access.":o.sandbox.noLocal?"Flash denying local filesystem access":"404?")+"</span>",setTimeout(function(){e.innerHTML=t},5e3)}},whileplaying:function(){var e=null;i.dragActive||!i.config.useThrottling?(n.updateTime.apply(this),o.flashVersion>=9&&(i.config.usePeakData&&this.instanceOptions.usePeakData&&n.updatePeaks.apply(this),(i.config.useWaveformData&&this.instanceOptions.useWaveformData||i.config.useEQData&&this.instanceOptions.useEQData)&&n.updateGraph.apply(this)),this._data.metadata&&(e=new Date,e&&e-n.lastWPExec>500&&(this._data.metadata.refreshMetadata(this),n.lastWPExec=e)),this._data.oPosition.style.width=this.position/n.getDurationEstimate(this)*100+"%"):(e=new Date,e-n.lastWPExec>30&&(n.updateTime.apply(this),o.flashVersion>=9&&(i.config.usePeakData&&this.instanceOptions.usePeakData&&n.updatePeaks.apply(this),(i.config.useWaveformData&&this.instanceOptions.useWaveformData||i.config.useEQData&&this.instanceOptions.useEQData)&&n.updateGraph.apply(this)),this._data.metadata&&this._data.metadata.refreshMetadata(this),this._data.oPosition.style.width=this.position/n.getDurationEstimate(this)*100+"%",n.lastWPExec=e))}},this.setPageIcon=function(e){if(!n.config.useFavIcon||!n.config.usePeakData||!e)return!1;var t=document.getElementById("sm2-favicon");t&&(s.removeChild(t),t=null),t||(t=document.createElement("link"),t.id="sm2-favicon",t.rel="shortcut icon",t.type="image/png",t.href=e,document.getElementsByTagName("head")[0].appendChild(t))},this.resetPageIcon=function(){if(!n.config.useFavIcon)return!1;var e=document.getElementById("favicon");e&&(e.href="/favicon.ico")},this.updatePeaks=function(){var e=this._data.oPeak,t=e.getElementsByTagName("span");t[0].style.marginTop=13-Math.floor(15*this.peakData.left)+"px",t[1].style.marginTop=13-Math.floor(15*this.peakData.right)+"px",o.flashVersion>8&&n.config.useFavIcon&&n.config.usePeakData&&n.setPageIcon(n.vuMeterData[parseInt(16*this.peakData.left,10)][parseInt(16*this.peakData.right,10)])},this.updateGraph=function(){if(i.config.flashVersion<9||!i.config.useWaveformData&&!i.config.useEQData)return!1;var e,t,n,o=this._data.oGraph.getElementsByTagName("div");if(i.config.useWaveformData)for(e=8,t=255;t--;)o[255-t].style.marginTop=1+e+Math.ceil(this.waveformData.left[t]*-e)+"px";else for(n=9,t=255;t--;)o[255-t].style.marginTop=2*n-1+Math.ceil(this.eqData[t]*-n)+"px"},this.resetGraph=function(){if(!i.config.useEQData||i.config.flashVersion<9)return!1;var e,t=this._data.oGraph.getElementsByTagName("div"),n=i.config.useEQData?"17px":"9px",o=i.config.fillGraph?"32px":"1px";for(e=255;e--;)t[255-e].style.marginTop=n,t[255-e].style.height=o},this.updateTime=function(){var e=n.strings.timing.replace("%s1",n.getTime(this.position,!0));e=e.replace("%s2",n.getTime(n.getDurationEstimate(this),!0)),this._data.oTiming.innerHTML=e},this.getTheDamnTarget=function(e){return e.target||(window.event?window.event.srcElement:null)},this.withinStatusBar=function(e){return n.isChildOfClass(e,"playlist")&&n.isChildOfClass(e,"controls")},this.handleClick=function(e){if(2===e.button)return i.config.allowRightClick||i.stopEvent(e),i.config.allowRightClick;var t,a,r,s,u,c,d=n.getTheDamnTarget(e);return d?(n.dragActive&&n.stopDrag(),n.withinStatusBar(d)?!1:("a"!==d.nodeName.toLowerCase()&&(d=n.getParentByNodeName(d,"a")),d?(t=d.getAttribute("href"),!d.href||!o.canPlayLink(d)&&!n.hasClass(d,"playable")||n.hasClass(d,"exclude")?!0:(n.initUL(n.getParentByNodeName(d,"ul")),n.initItem(d),a=d.href,r=n.getSoundByObject(d),r?(n.setPageTitle(r._data.originalTitle),r===n.lastSound?2!==r.readyState?1!==r.playState?r.play():r.togglePause():o._writeDebug("Warning: sound failed to load (security restrictions, 404 or bad format)",2):(n.lastSound&&n.stopSound(n.lastSound),l&&r._data.oTimingBox.appendChild(l),r.togglePause())):(r=o.createSound({id:d.id,url:decodeURI(a),onplay:n.events.play,onstop:n.events.stop,onpause:n.events.pause,onresume:n.events.resume,onfinish:n.events.finish,type:d.type||null,whileloading:n.events.whileloading,whileplaying:n.events.whileplaying,onmetadata:n.events.metadata,onload:n.events.onload}),s=n.oControls.cloneNode(!0),u=d.parentNode,u.appendChild(s),l&&u.appendChild(l),n.soundsByObject[d.id]=r,r._data={oLink:d,oLI:u,oControls:n.select("controls",u),oStatus:n.select("statusbar",u),oLoading:n.select("loading",u),oPosition:n.select("position",u),oTimingBox:n.select("timing",u),oTiming:n.select("timing",u).getElementsByTagName("div")[0],oPeak:n.select("peak",u),oGraph:n.select("spectrum-box",u),className:n.css.sPlaying,originalTitle:d.innerHTML,metadata:null},l&&r._data.oTimingBox.appendChild(l),r._data.oLI.getElementsByTagName("ul").length&&(r._data.metadata=new Metadata(r)),c=n.strings.timing.replace("%s1",n.config.emptyTime),c=c.replace("%s2",n.config.emptyTime),r._data.oTiming.innerHTML=c,n.sounds.push(r),n.lastSound&&n.stopSound(n.lastSound),n.resetGraph.apply(r),r.play()),n.lastSound=r,n.stopEvent(e))):!0)):!0},this.handleMouseDown=function(t){if(d&&t.touches&&(t=t.touches[0]),2===t.button)return i.config.allowRightClick||i.stopEvent(t),i.config.allowRightClick;var o=n.getTheDamnTarget(t);return o&&n.withinStatusBar(o)?(n.dragActive=!0,n.lastSound.pause(),n.setPosition(t),d?e.add(document,"touchmove",n.handleMouseMove):e.add(document,"mousemove",n.handleMouseMove),n.addClass(n.lastSound._data.oControls,"dragging"),n.stopEvent(t)):!0},this.handleMouseMove=function(e){if(d&&e.touches&&(e=e.touches[0]),n.dragActive)if(n.config.useThrottling){var t=new Date;t-n.dragExec>20?n.setPosition(e):(window.clearTimeout(n.dragTimer),n.dragTimer=window.setTimeout(function(){n.setPosition(e)},20)),n.dragExec=t}else n.setPosition(e);else n.stopDrag();return e.stopPropagation=!0,!1},this.stopDrag=function(t){return n.dragActive?(n.removeClass(n.lastSound._data.oControls,"dragging"),d?e.remove(document,"touchmove",n.handleMouseMove):e.remove(document,"mousemove",n.handleMouseMove),i.hasClass(n.lastSound._data.oLI,n.css.sPaused)||n.lastSound.resume(),n.dragActive=!1,n.stopEvent(t)):void 0},this.handleStatusClick=function(e){return n.setPosition(e),i.hasClass(n.lastSound._data.oLI,n.css.sPaused)||n.resume(),n.stopEvent(e)},this.stopEvent=function(e){return"undefined"!=typeof e&&("undefined"!=typeof e.preventDefault?e.preventDefault():(e.stopPropagation=!0,e.returnValue=!1)),!1},this.setPosition=function(e){var t,i,o,a,r=n.getTheDamnTarget(e);if(!r)return!0;for(i=r;!n.hasClass(i,"controls")&&i.parentNode;)i=i.parentNode;o=n.lastSound,t=parseInt(e.clientX,10),a=Math.floor((t-n.getOffX(i)-4)/i.offsetWidth*n.getDurationEstimate(o)),isNaN(a)||(a=Math.min(a,o.duration)),isNaN(a)||o.setPosition(a)},this.stopSound=function(e){o._writeDebug("stopping sound: "+e.id),o.stop(e.id),d||o.unload(e.id)},this.getDurationEstimate=function(e){return e.instanceOptions.isMovieStar?e.duration:e._data.metadata&&e._data.metadata.data.givenDuration?e._data.metadata.data.givenDuration:e.durationEstimate||0},this.createVUData=function(){var e,t,i=0,o=0,r=a.getContext("2d"),s=r.createLinearGradient(0,16,0,0);for(s.addColorStop(0,"rgb(0,192,0)"),s.addColorStop(.3,"rgb(0,255,0)"),s.addColorStop(.625,"rgb(255,255,0)"),s.addColorStop(.85,"rgb(255,0,0)"),e=r.createLinearGradient(0,16,0,0),t="rgba(0,0,0,0.2)",e.addColorStop(0,t),e.addColorStop(1,"rgba(0,0,0,0.5)"),i=0;16>i;i++)n.vuMeterData[i]=[];for(i=0;16>i;i++)for(o=0;16>o;o++)a.setAttribute("width",16),a.setAttribute("height",16),r.fillStyle=e,r.fillRect(0,0,7,15),r.fillRect(8,0,7,15),r.fillStyle=s,r.fillRect(0,15-i,7,16-(16-i)),r.fillRect(8,15-o,7,16-(16-o)),r.clearRect(0,3,16,1),r.clearRect(0,7,16,1),r.clearRect(0,11,16,1),n.vuMeterData[i][o]=a.toDataURL("image/png")},this.testCanvas=function(){var e,t=document.createElement("canvas"),n=null;if(!t||"undefined"==typeof t.getContext)return null;if(n=t.getContext("2d"),!n||"function"!=typeof t.toDataURL)return null;try{e=t.toDataURL("image/png")}catch(i){return null}return t},this.initItem=function(e){e.id||(e.id="pagePlayerMP3Sound"+n.soundCount++),n.addClass(e,n.css.sDefault)},this.initUL=function(e){o.flashVersion>=9&&n.addClass(e,n.cssBase)},this.init=function(s){function u(i){e[i](document,"click",n.handleClick),d?(e[i](document,"touchstart",n.handleMouseDown),e[i](document,"touchend",n.stopDrag)):(e[i](document,"mousedown",n.handleMouseDown),e[i](document,"mouseup",n.stopDrag)),e[i](window,"unload",t)}s?(o._writeDebug("pagePlayer.init(): Using custom configuration"),this.config=this._mergeObjects(s,this.config)):o._writeDebug("pagePlayer.init(): Using default configuration");var f,p,h,m,g,y;if(this.cssBase=[],o.useFlashBlock=!0,o.flashVersion>=9?(o.defaultOptions.usePeakData=this.config.usePeakData,o.defaultOptions.useWaveformData=this.config.useWaveformData,o.defaultOptions.useEQData=this.config.useEQData,this.config.usePeakData&&this.cssBase.push("use-peak"),(this.config.useWaveformData||this.config.useEQData)&&this.cssBase.push("use-spectrum"),this.cssBase=this.cssBase.join(" "),this.config.useFavIcon&&(a=n.testCanvas(),a&&c?n.createVUData():this.config.useFavIcon=!1)):(this.config.usePeakData||this.config.useWaveformData||this.config.useEQData)&&o._writeDebug("Page player: Note: soundManager.flashVersion = 9 is required for peak/waveform/EQ features."),r=document.createElement("div"),r.innerHTML=[' <div class="controls">',' <div class="statusbar">',' <div class="loading"></div>',' <div class="position"></div>'," </div>"," </div>",' <div class="timing">',' <div id="sm2_timing" class="timing-data">',' <span class="sm2_position">%s1</span> / <span class="sm2_total">%s2</span>'," </div>"," </div>",' <div class="peak">',' <div class="peak-box"><span class="l"></span><span class="r"></span></div>'," </div>",' <div class="spectrum-container">',' <div class="spectrum-box">',' <div class="spectrum"></div>'," </div>"," </div>"].join("\n"),o.flashVersion>=9){for(l=n.select("spectrum-container",r),l=r.removeChild(l),p=n.select("spectrum-box",l),h=p.getElementsByTagName("div")[0],m=document.createDocumentFragment(),g=null,f=256;f--;)g=h.cloneNode(!1),g.style.left=f+"px",m.appendChild(g);p.removeChild(h),p.appendChild(m)}else r.removeChild(n.select("spectrum-container",r)),r.removeChild(n.select("peak",r));n.oControls=r.cloneNode(!0),y=n.select("timing-data",r),n.strings.timing=y.innerHTML,y.innerHTML="",y.id="",t=function(){u("remove")},u("add"),o._writeDebug("pagePlayer.init(): Ready",1),n.config.autoStart&&i.handleClick({target:i.getByClassName("playlist","ul")[0].getElementsByTagName("a")[0]})}}!function(e,t){function n(e){var t=he[e]={};return K.each(e.split(te),function(e,n){t[n]=!0}),t}function i(e,n,i){if(i===t&&1===e.nodeType){var o="data-"+n.replace(ge,"-$1").toLowerCase();if(i=e.getAttribute(o),"string"==typeof i){try{i="true"===i?!0:"false"===i?!1:"null"===i?null:+i+""===i?+i:me.test(i)?K.parseJSON(i):i}catch(a){}K.data(e,n,i)}else i=t}return i}function o(e){var t;for(t in e)if(("data"!==t||!K.isEmptyObject(e[t]))&&"toJSON"!==t)return!1;return!0}function a(){return!1}function r(){return!0}function s(e){return!e||!e.parentNode||11===e.parentNode.nodeType}function l(e,t){do e=e[t];while(e&&1!==e.nodeType);return e}function u(e,t,n){if(t=t||0,K.isFunction(t))return K.grep(e,function(e,i){var o=!!t.call(e,i,e);return o===n});if(t.nodeType)return K.grep(e,function(e){return e===t===n});if("string"==typeof t){var i=K.grep(e,function(e){return 1===e.nodeType});if(He.test(t))return K.filter(t,i,!n);t=K.filter(t,i)}return K.grep(e,function(e){return K.inArray(e,t)>=0===n})}function c(e){var t=Be.split("|"),n=e.createDocumentFragment();if(n.createElement)for(;t.length;)n.createElement(t.pop());return n}function d(e,t){return e.getElementsByTagName(t)[0]||e.appendChild(e.ownerDocument.createElement(t))}function f(e,t){if(1===t.nodeType&&K.hasData(e)){var n,i,o,a=K._data(e),r=K._data(t,a),s=a.events;if(s){delete r.handle,r.events={};for(n in s)for(i=0,o=s[n].length;o>i;i++)K.event.add(t,n,s[n][i])}r.data&&(r.data=K.extend({},r.data))}}function p(e,t){var n;1===t.nodeType&&(t.clearAttributes&&t.clearAttributes(),t.mergeAttributes&&t.mergeAttributes(e),n=t.nodeName.toLowerCase(),"object"===n?(t.parentNode&&(t.outerHTML=e.outerHTML),K.support.html5Clone&&e.innerHTML&&!K.trim(t.innerHTML)&&(t.innerHTML=e.innerHTML)):"input"===n&&Ge.test(e.type)?(t.defaultChecked=t.checked=e.checked,t.value!==e.value&&(t.value=e.value)):"option"===n?t.selected=e.defaultSelected:"input"===n||"textarea"===n?t.defaultValue=e.defaultValue:"script"===n&&t.text!==e.text&&(t.text=e.text),t.removeAttribute(K.expando))}function h(e){return"undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName("*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll("*"):[]}function m(e){Ge.test(e.type)&&(e.defaultChecked=e.checked)}function g(e,t){if(t in e)return t;for(var n=t.charAt(0).toUpperCase()+t.slice(1),i=t,o=gt.length;o--;)if(t=gt[o]+n,t in e)return t;return i}function y(e,t){return e=t||e,"none"===K.css(e,"display")||!K.contains(e.ownerDocument,e)}function v(e,t){for(var n,i,o=[],a=0,r=e.length;r>a;a++)n=e[a],n.style&&(o[a]=K._data(n,"olddisplay"),t?(!o[a]&&"none"===n.style.display&&(n.style.display=""),""===n.style.display&&y(n)&&(o[a]=K._data(n,"olddisplay",x(n.nodeName)))):(i=nt(n,"display"),!o[a]&&"none"!==i&&K._data(n,"olddisplay",i)));for(a=0;r>a;a++)n=e[a],n.style&&(t&&"none"!==n.style.display&&""!==n.style.display||(n.style.display=t?o[a]||"":"none"));return e}function b(e,t,n){var i=ut.exec(t);return i?Math.max(0,i[1]-(n||0))+(i[2]||"px"):t}function w(e,t,n,i){for(var o=n===(i?"border":"content")?4:"width"===t?1:0,a=0;4>o;o+=2)"margin"===n&&(a+=K.css(e,n+mt[o],!0)),i?("content"===n&&(a-=parseFloat(nt(e,"padding"+mt[o]))||0),"margin"!==n&&(a-=parseFloat(nt(e,"border"+mt[o]+"Width"))||0)):(a+=parseFloat(nt(e,"padding"+mt[o]))||0,"padding"!==n&&(a+=parseFloat(nt(e,"border"+mt[o]+"Width"))||0));return a}function _(e,t,n){var i="width"===t?e.offsetWidth:e.offsetHeight,o=!0,a=K.support.boxSizing&&"border-box"===K.css(e,"boxSizing");if(0>=i){if(i=nt(e,t),(0>i||null==i)&&(i=e.style[t]),ct.test(i))return i;o=a&&(K.support.boxSizingReliable||i===e.style[t]),i=parseFloat(i)||0}return i+w(e,t,n||(a?"border":"content"),o)+"px"}function x(e){if(ft[e])return ft[e];var t=K("<"+e+">").appendTo(W.body),n=t.css("display");return t.remove(),("none"===n||""===n)&&(it=W.body.appendChild(it||K.extend(W.createElement("iframe"),{frameBorder:0,width:0,height:0})),ot&&it.createElement||(ot=(it.contentWindow||it.contentDocument).document,ot.write("<!doctype html><html><body>"),ot.close()),t=ot.body.appendChild(ot.createElement(e)),n=nt(t,"display"),W.body.removeChild(it)),ft[e]=n,n}function T(e,t,n,i){var o;if(K.isArray(t))K.each(t,function(t,o){n||bt.test(e)?i(e,o):T(e+"["+("object"==typeof o?t:"")+"]",o,n,i)});else if(n||"object"!==K.type(t))i(e,t);else for(o in t)T(e+"["+o+"]",t[o],n,i)}function D(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var i,o,a,r=t.toLowerCase().split(te),s=0,l=r.length;if(K.isFunction(n))for(;l>s;s++)i=r[s],a=/^\+/.test(i),a&&(i=i.substr(1)||"*"),o=e[i]=e[i]||[],o[a?"unshift":"push"](n)}}function C(e,n,i,o,a,r){a=a||n.dataTypes[0],r=r||{},r[a]=!0;for(var s,l=e[a],u=0,c=l?l.length:0,d=e===Ft;c>u&&(d||!s);u++)s=l[u](n,i,o),"string"==typeof s&&(!d||r[s]?s=t:(n.dataTypes.unshift(s),s=C(e,n,i,o,s,r)));return(d||!s)&&!r["*"]&&(s=C(e,n,i,o,"*",r)),s}function S(e,n){var i,o,a=K.ajaxSettings.flatOptions||{};for(i in n)n[i]!==t&&((a[i]?e:o||(o={}))[i]=n[i]);o&&K.extend(!0,e,o)}function O(e,n,i){var o,a,r,s,l=e.contents,u=e.dataTypes,c=e.responseFields;for(a in c)a in i&&(n[c[a]]=i[a]);for(;"*"===u[0];)u.shift(),o===t&&(o=e.mimeType||n.getResponseHeader("content-type"));if(o)for(a in l)if(l[a]&&l[a].test(o)){u.unshift(a);break}if(u[0]in i)r=u[0];else{for(a in i){if(!u[0]||e.converters[a+" "+u[0]]){r=a;break}s||(s=a)}r=r||s}return r?(r!==u[0]&&u.unshift(r),i[r]):void 0}function k(e,t){var n,i,o,a,r=e.dataTypes.slice(),s=r[0],l={},u=0;if(e.dataFilter&&(t=e.dataFilter(t,e.dataType)),r[1])for(n in e.converters)l[n.toLowerCase()]=e.converters[n];for(;o=r[++u];)if("*"!==o){if("*"!==s&&s!==o){if(n=l[s+" "+o]||l["* "+o],!n)for(i in l)if(a=i.split(" "),a[1]===o&&(n=l[s+" "+a[0]]||l["* "+a[0]])){n===!0?n=l[i]:l[i]!==!0&&(o=a[0],r.splice(u--,0,o));break}if(n!==!0)if(n&&e["throws"])t=n(t);else try{t=n(t)}catch(c){return{state:"parsererror",error:n?c:"No conversion from "+s+" to "+o}}}s=o}return{state:"success",data:t}}function M(){try{return new e.XMLHttpRequest}catch(t){}}function E(){try{return new e.ActiveXObject("Microsoft.XMLHTTP")}catch(t){}}function L(){return setTimeout(function(){Vt=t},0),Vt=K.now()}function N(e,t){K.each(t,function(t,n){for(var i=(Kt[t]||[]).concat(Kt["*"]),o=0,a=i.length;a>o;o++)if(i[o].call(e,t,n))return})}function P(e,t,n){var i,o=0,a=Jt.length,r=K.Deferred().always(function(){delete s.elem}),s=function(){for(var t=Vt||L(),n=Math.max(0,l.startTime+l.duration-t),i=1-(n/l.duration||0),o=0,a=l.tweens.length;a>o;o++)l.tweens[o].run(i);return r.notifyWith(e,[l,i,n]),1>i&&a?n:(r.resolveWith(e,[l]),!1)},l=r.promise({elem:e,props:K.extend({},t),opts:K.extend(!0,{specialEasing:{}},n),originalProperties:t,originalOptions:n,startTime:Vt||L(),duration:n.duration,tweens:[],createTween:function(t,n){var i=K.Tween(e,l.opts,t,n,l.opts.specialEasing[t]||l.opts.easing);return l.tweens.push(i),i},stop:function(t){for(var n=0,i=t?l.tweens.length:0;i>n;n++)l.tweens[n].run(1);return t?r.resolveWith(e,[l,t]):r.rejectWith(e,[l,t]),this}}),u=l.props;for(A(u,l.opts.specialEasing);a>o;o++)if(i=Jt[o].call(l,e,u,l.opts))return i;return N(l,u),K.isFunction(l.opts.start)&&l.opts.start.call(e,l),K.fx.timer(K.extend(s,{anim:l,queue:l.opts.queue,elem:e})),l.progress(l.opts.progress).done(l.opts.done,l.opts.complete).fail(l.opts.fail).always(l.opts.always)}function A(e,t){var n,i,o,a,r;for(n in e)if(i=K.camelCase(n),o=t[i],a=e[n],K.isArray(a)&&(o=a[1],a=e[n]=a[0]),n!==i&&(e[i]=a,delete e[n]),r=K.cssHooks[i],r&&"expand"in r){a=r.expand(a),delete e[i];for(n in a)n in e||(e[n]=a[n],t[n]=o)}else t[i]=o}function F(e,t,n){var i,o,a,r,s,l,u,c,d=this,f=e.style,p={},h=[],m=e.nodeType&&y(e);n.queue||(u=K._queueHooks(e,"fx"),null==u.unqueued&&(u.unqueued=0,c=u.empty.fire,u.empty.fire=function(){u.unqueued||c()}),u.unqueued++,d.always(function(){d.always(function(){u.unqueued--,K.queue(e,"fx").length||u.empty.fire()})})),1===e.nodeType&&("height"in t||"width"in t)&&(n.overflow=[f.overflow,f.overflowX,f.overflowY],"inline"===K.css(e,"display")&&"none"===K.css(e,"float")&&(K.support.inlineBlockNeedsLayout&&"inline"!==x(e.nodeName)?f.zoom=1:f.display="inline-block")),n.overflow&&(f.overflow="hidden",K.support.shrinkWrapBlocks||d.done(function(){f.overflow=n.overflow[0],f.overflowX=n.overflow[1],f.overflowY=n.overflow[2]}));for(i in t)if(a=t[i],Qt.exec(a)){if(delete t[i],a===(m?"hide":"show"))continue;h.push(i)}if(r=h.length)for(s=K._data(e,"fxshow")||K._data(e,"fxshow",{}),m?K(e).show():d.done(function(){K(e).hide()}),d.done(function(){var t;K.removeData(e,"fxshow",!0);for(t in p)K.style(e,t,p[t])}),i=0;r>i;i++)o=h[i],l=d.createTween(o,m?s[o]:0),p[o]=s[o]||K.style(e,o),o in s||(s[o]=l.start,m&&(l.end=l.start,l.start="width"===o||"height"===o?1:0))}function H(e,t,n,i,o){return new H.prototype.init(e,t,n,i,o)}function I(e,t){for(var n,i={height:e},o=0;4>o;o+=2-t)n=mt[o],i["margin"+n]=i["padding"+n]=e;return t&&(i.opacity=i.width=e),i}function j(e){return K.isWindow(e)?e:9===e.nodeType?e.defaultView||e.parentWindow:!1}var B,R,W=e.document,q=e.location,U=e.navigator,$=e.jQuery,z=e.$,V=Array.prototype.push,X=Array.prototype.slice,Q=Array.prototype.indexOf,G=Object.prototype.toString,Y=Object.prototype.hasOwnProperty,J=String.prototype.trim,K=function(e,t){return new K.fn.init(e,t,B)},Z=/[\-+]?(?:\d*\.|)\d+(?:[eE][\-+]?\d+|)/.source,ee=/\S/,te=/\s+/,ne=ee.test(" ")?/^[\s\xA0]+|[\s\xA0]+$/g:/^\s+|\s+$/g,ie=/^(?:[^#<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,oe=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,ae=/^[\],:{}\s]*$/,re=/(?:^|:|,)(?:\s*\[)+/g,se=/\\(?:["\\\/bfnrt]|u[\da-fA-F]{4})/g,le=/"[^"\\\r\n]*"|true|false|null|-?(?:\d\d*\.|)\d+(?:[eE][\-+]?\d+|)/g,ue=/^-ms-/,ce=/-([\da-z])/gi,de=function(e,t){return(t+"").toUpperCase()},fe=function(){W.addEventListener?(W.removeEventListener("DOMContentLoaded",fe,!1),K.ready()):"complete"===W.readyState&&(W.detachEvent("onreadystatechange",fe),K.ready())},pe={};K.fn=K.prototype={constructor:K,init:function(e,n,i){var o,a,r;if(!e)return this;if(e.nodeType)return this.context=this[0]=e,this.length=1,this;if("string"==typeof e){if(o="<"===e.charAt(0)&&">"===e.charAt(e.length-1)&&e.length>=3?[null,e,null]:ie.exec(e),o&&(o[1]||!n)){if(o[1])return n=n instanceof K?n[0]:n,r=n&&n.nodeType?n.ownerDocument||n:W,e=K.parseHTML(o[1],r,!0),oe.test(o[1])&&K.isPlainObject(n)&&this.attr.call(e,n,!0),K.merge(this,e);if(a=W.getElementById(o[2]),a&&a.parentNode){if(a.id!==o[2])return i.find(e);this.length=1,this[0]=a}return this.context=W,this.selector=e,this}return!n||n.jquery?(n||i).find(e):this.constructor(n).find(e)}return K.isFunction(e)?i.ready(e):(e.selector!==t&&(this.selector=e.selector,this.context=e.context),K.makeArray(e,this))},selector:"",jquery:"1.8.0",length:0,size:function(){return this.length},toArray:function(){return X.call(this)},get:function(e){return null==e?this.toArray():0>e?this[this.length+e]:this[e]},pushStack:function(e,t,n){var i=K.merge(this.constructor(),e);return i.prevObject=this,i.context=this.context,"find"===t?i.selector=this.selector+(this.selector?" ":"")+n:t&&(i.selector=this.selector+"."+t+"("+n+")"),i},each:function(e,t){return K.each(this,e,t)},ready:function(e){return K.ready.promise().done(e),this},eq:function(e){return e=+e,-1===e?this.slice(e):this.slice(e,e+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(X.apply(this,arguments),"slice",X.call(arguments).join(","))},map:function(e){return this.pushStack(K.map(this,function(t,n){return e.call(t,n,t)}))},end:function(){return this.prevObject||this.constructor(null)},push:V,sort:[].sort,splice:[].splice},K.fn.init.prototype=K.fn,K.extend=K.fn.extend=function(){var e,n,i,o,a,r,s=arguments[0]||{},l=1,u=arguments.length,c=!1;for("boolean"==typeof s&&(c=s,s=arguments[1]||{},l=2),"object"!=typeof s&&!K.isFunction(s)&&(s={}),u===l&&(s=this,--l);u>l;l++)if(null!=(e=arguments[l]))for(n in e)i=s[n],o=e[n],s!==o&&(c&&o&&(K.isPlainObject(o)||(a=K.isArray(o)))?(a?(a=!1,r=i&&K.isArray(i)?i:[]):r=i&&K.isPlainObject(i)?i:{},s[n]=K.extend(c,r,o)):o!==t&&(s[n]=o));return s},K.extend({noConflict:function(t){return e.$===K&&(e.$=z),t&&e.jQuery===K&&(e.jQuery=$),K},isReady:!1,readyWait:1,holdReady:function(e){e?K.readyWait++:K.ready(!0)},ready:function(e){if(e===!0?!--K.readyWait:!K.isReady){if(!W.body)return setTimeout(K.ready,1);K.isReady=!0,e!==!0&&--K.readyWait>0||(R.resolveWith(W,[K]),K.fn.trigger&&K(W).trigger("ready").off("ready"))}},isFunction:function(e){return"function"===K.type(e)},isArray:Array.isArray||function(e){return"array"===K.type(e)},isWindow:function(e){return null!=e&&e==e.window},isNumeric:function(e){return!isNaN(parseFloat(e))&&isFinite(e)},type:function(e){return null==e?String(e):pe[G.call(e)]||"object"},isPlainObject:function(e){if(!e||"object"!==K.type(e)||e.nodeType||K.isWindow(e))return!1;try{if(e.constructor&&!Y.call(e,"constructor")&&!Y.call(e.constructor.prototype,"isPrototypeOf"))return!1}catch(n){return!1}var i;for(i in e);return i===t||Y.call(e,i)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},error:function(e){throw new Error(e)},parseHTML:function(e,t,n){var i;return e&&"string"==typeof e?("boolean"==typeof t&&(n=t,t=0),t=t||W,(i=oe.exec(e))?[t.createElement(i[1])]:(i=K.buildFragment([e],t,n?null:[]),K.merge([],(i.cacheable?K.clone(i.fragment):i.fragment).childNodes))):null},parseJSON:function(t){return t&&"string"==typeof t?(t=K.trim(t),e.JSON&&e.JSON.parse?e.JSON.parse(t):ae.test(t.replace(se,"@").replace(le,"]").replace(re,""))?new Function("return "+t)():void K.error("Invalid JSON: "+t)):null},parseXML:function(n){var i,o;if(!n||"string"!=typeof n)return null;try{e.DOMParser?(o=new DOMParser,i=o.parseFromString(n,"text/xml")):(i=new ActiveXObject("Microsoft.XMLDOM"),i.async="false",i.loadXML(n))}catch(a){i=t}return(!i||!i.documentElement||i.getElementsByTagName("parsererror").length)&&K.error("Invalid XML: "+n),i},noop:function(){},globalEval:function(t){t&&ee.test(t)&&(e.execScript||function(t){e.eval.call(e,t)})(t)},camelCase:function(e){return e.replace(ue,"ms-").replace(ce,de)},nodeName:function(e,t){return e.nodeName&&e.nodeName.toUpperCase()===t.toUpperCase()},each:function(e,n,i){var o,a=0,r=e.length,s=r===t||K.isFunction(e);if(i)if(s){for(o in e)if(n.apply(e[o],i)===!1)break}else for(;r>a&&n.apply(e[a++],i)!==!1;);else if(s){for(o in e)if(n.call(e[o],o,e[o])===!1)break}else for(;r>a&&n.call(e[a],a,e[a++])!==!1;);return e},trim:J?function(e){return null==e?"":J.call(e)}:function(e){return null==e?"":e.toString().replace(ne,"")},makeArray:function(e,t){var n,i=t||[];return null!=e&&(n=K.type(e),null==e.length||"string"===n||"function"===n||"regexp"===n||K.isWindow(e)?V.call(i,e):K.merge(i,e)),i},inArray:function(e,t,n){var i;if(t){if(Q)return Q.call(t,e,n);for(i=t.length,n=n?0>n?Math.max(0,i+n):n:0;i>n;n++)if(n in t&&t[n]===e)return n}return-1},merge:function(e,n){var i=n.length,o=e.length,a=0;if("number"==typeof i)for(;i>a;a++)e[o++]=n[a];else for(;n[a]!==t;)e[o++]=n[a++];return e.length=o,e},grep:function(e,t,n){var i,o=[],a=0,r=e.length;for(n=!!n;r>a;a++)i=!!t(e[a],a),n!==i&&o.push(e[a]);return o},map:function(e,n,i){var o,a,r=[],s=0,l=e.length,u=e instanceof K||l!==t&&"number"==typeof l&&(l>0&&e[0]&&e[l-1]||0===l||K.isArray(e));if(u)for(;l>s;s++)o=n(e[s],s,i),null!=o&&(r[r.length]=o);else for(a in e)o=n(e[a],a,i),null!=o&&(r[r.length]=o);return r.concat.apply([],r)},guid:1,proxy:function(e,n){var i,o,a;return"string"==typeof n&&(i=e[n],n=e,e=i),K.isFunction(e)?(o=X.call(arguments,2),a=function(){return e.apply(n,o.concat(X.call(arguments)))},a.guid=e.guid=e.guid||a.guid||K.guid++,a):t},access:function(e,n,i,o,a,r,s){var l,u=null==i,c=0,d=e.length;if(i&&"object"==typeof i){for(c in i)K.access(e,n,c,i[c],1,r,o);a=1}else if(o!==t){if(l=s===t&&K.isFunction(o),u&&(l?(l=n,n=function(e,t,n){return l.call(K(e),n)}):(n.call(e,o),
n=null)),n)for(;d>c;c++)n(e[c],i,l?o.call(e[c],c,n(e[c],i)):o,s);a=1}return a?e:u?n.call(e):d?n(e[0],i):r},now:function(){return(new Date).getTime()}}),K.ready.promise=function(t){if(!R)if(R=K.Deferred(),"complete"===W.readyState||"loading"!==W.readyState&&W.addEventListener)setTimeout(K.ready,1);else if(W.addEventListener)W.addEventListener("DOMContentLoaded",fe,!1),e.addEventListener("load",K.ready,!1);else{W.attachEvent("onreadystatechange",fe),e.attachEvent("onload",K.ready);var n=!1;try{n=null==e.frameElement&&W.documentElement}catch(i){}n&&n.doScroll&&function o(){if(!K.isReady){try{n.doScroll("left")}catch(e){return setTimeout(o,50)}K.ready()}}()}return R.promise(t)},K.each("Boolean Number String Function Array Date RegExp Object".split(" "),function(e,t){pe["[object "+t+"]"]=t.toLowerCase()}),B=K(W);var he={};K.Callbacks=function(e){e="string"==typeof e?he[e]||n(e):K.extend({},e);var i,o,a,r,s,l,u=[],c=!e.once&&[],d=function(t){for(i=e.memory&&t,o=!0,l=r||0,r=0,s=u.length,a=!0;u&&s>l;l++)if(u[l].apply(t[0],t[1])===!1&&e.stopOnFalse){i=!1;break}a=!1,u&&(c?c.length&&d(c.shift()):i?u=[]:f.disable())},f={add:function(){if(u){var t=u.length;!function n(t){K.each(t,function(t,i){!K.isFunction(i)||e.unique&&f.has(i)?i&&i.length&&n(i):u.push(i)})}(arguments),a?s=u.length:i&&(r=t,d(i))}return this},remove:function(){return u&&K.each(arguments,function(e,t){for(var n;(n=K.inArray(t,u,n))>-1;)u.splice(n,1),a&&(s>=n&&s--,l>=n&&l--)}),this},has:function(e){return K.inArray(e,u)>-1},empty:function(){return u=[],this},disable:function(){return u=c=i=t,this},disabled:function(){return!u},lock:function(){return c=t,i||f.disable(),this},locked:function(){return!c},fireWith:function(e,t){return t=t||[],t=[e,t.slice?t.slice():t],u&&(!o||c)&&(a?c.push(t):d(t)),this},fire:function(){return f.fireWith(this,arguments),this},fired:function(){return!!o}};return f},K.extend({Deferred:function(e){var t=[["resolve","done",K.Callbacks("once memory"),"resolved"],["reject","fail",K.Callbacks("once memory"),"rejected"],["notify","progress",K.Callbacks("memory")]],n="pending",i={state:function(){return n},always:function(){return o.done(arguments).fail(arguments),this},then:function(){var e=arguments;return K.Deferred(function(n){K.each(t,function(t,i){var a=i[0],r=e[t];o[i[1]](K.isFunction(r)?function(){var e=r.apply(this,arguments);e&&K.isFunction(e.promise)?e.promise().done(n.resolve).fail(n.reject).progress(n.notify):n[a+"With"](this===o?n:this,[e])}:n[a])}),e=null}).promise()},promise:function(e){return"object"==typeof e?K.extend(e,i):i}},o={};return i.pipe=i.then,K.each(t,function(e,a){var r=a[2],s=a[3];i[a[1]]=r.add,s&&r.add(function(){n=s},t[1^e][2].disable,t[2][2].lock),o[a[0]]=r.fire,o[a[0]+"With"]=r.fireWith}),i.promise(o),e&&e.call(o,o),o},when:function(e){var t,n,i,o=0,a=X.call(arguments),r=a.length,s=1!==r||e&&K.isFunction(e.promise)?r:0,l=1===s?e:K.Deferred(),u=function(e,n,i){return function(o){n[e]=this,i[e]=arguments.length>1?X.call(arguments):o,i===t?l.notifyWith(n,i):--s||l.resolveWith(n,i)}};if(r>1)for(t=new Array(r),n=new Array(r),i=new Array(r);r>o;o++)a[o]&&K.isFunction(a[o].promise)?a[o].promise().done(u(o,i,a)).fail(l.reject).progress(u(o,n,t)):--s;return s||l.resolveWith(i,a),l.promise()}}),K.support=function(){var t,n,i,o,a,r,s,l,u,c,d,f=W.createElement("div");if(f.setAttribute("className","t"),f.innerHTML=" <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",n=f.getElementsByTagName("*"),i=f.getElementsByTagName("a")[0],i.style.cssText="top:1px;float:left;opacity:.5",!n||!n.length||!i)return{};o=W.createElement("select"),a=o.appendChild(W.createElement("option")),r=f.getElementsByTagName("input")[0],t={leadingWhitespace:3===f.firstChild.nodeType,tbody:!f.getElementsByTagName("tbody").length,htmlSerialize:!!f.getElementsByTagName("link").length,style:/top/.test(i.getAttribute("style")),hrefNormalized:"/a"===i.getAttribute("href"),opacity:/^0.5/.test(i.style.opacity),cssFloat:!!i.style.cssFloat,checkOn:"on"===r.value,optSelected:a.selected,getSetAttribute:"t"!==f.className,enctype:!!W.createElement("form").enctype,html5Clone:"<:nav></:nav>"!==W.createElement("nav").cloneNode(!0).outerHTML,boxModel:"CSS1Compat"===W.compatMode,submitBubbles:!0,changeBubbles:!0,focusinBubbles:!1,deleteExpando:!0,noCloneEvent:!0,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableMarginRight:!0,boxSizingReliable:!0,pixelPosition:!1},r.checked=!0,t.noCloneChecked=r.cloneNode(!0).checked,o.disabled=!0,t.optDisabled=!a.disabled;try{delete f.test}catch(p){t.deleteExpando=!1}if(!f.addEventListener&&f.attachEvent&&f.fireEvent&&(f.attachEvent("onclick",d=function(){t.noCloneEvent=!1}),f.cloneNode(!0).fireEvent("onclick"),f.detachEvent("onclick",d)),r=W.createElement("input"),r.value="t",r.setAttribute("type","radio"),t.radioValue="t"===r.value,r.setAttribute("checked","checked"),r.setAttribute("name","t"),f.appendChild(r),s=W.createDocumentFragment(),s.appendChild(f.lastChild),t.checkClone=s.cloneNode(!0).cloneNode(!0).lastChild.checked,t.appendChecked=r.checked,s.removeChild(r),s.appendChild(f),f.attachEvent)for(u in{submit:!0,change:!0,focusin:!0})l="on"+u,c=l in f,c||(f.setAttribute(l,"return;"),c="function"==typeof f[l]),t[u+"Bubbles"]=c;return K(function(){var n,i,o,a,r="padding:0;margin:0;border:0;display:block;overflow:hidden;",s=W.getElementsByTagName("body")[0];s&&(n=W.createElement("div"),n.style.cssText="visibility:hidden;border:0;width:0;height:0;position:static;top:0;margin-top:1px",s.insertBefore(n,s.firstChild),i=W.createElement("div"),n.appendChild(i),i.innerHTML="<table><tr><td></td><td>t</td></tr></table>",o=i.getElementsByTagName("td"),o[0].style.cssText="padding:0;margin:0;border:0;display:none",c=0===o[0].offsetHeight,o[0].style.display="",o[1].style.display="none",t.reliableHiddenOffsets=c&&0===o[0].offsetHeight,i.innerHTML="",i.style.cssText="box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;padding:1px;border:1px;display:block;width:4px;margin-top:1%;position:absolute;top:1%;",t.boxSizing=4===i.offsetWidth,t.doesNotIncludeMarginInBodyOffset=1!==s.offsetTop,e.getComputedStyle&&(t.pixelPosition="1%"!==(e.getComputedStyle(i,null)||{}).top,t.boxSizingReliable="4px"===(e.getComputedStyle(i,null)||{width:"4px"}).width,a=W.createElement("div"),a.style.cssText=i.style.cssText=r,a.style.marginRight=a.style.width="0",i.style.width="1px",i.appendChild(a),t.reliableMarginRight=!parseFloat((e.getComputedStyle(a,null)||{}).marginRight)),"undefined"!=typeof i.style.zoom&&(i.innerHTML="",i.style.cssText=r+"width:1px;padding:1px;display:inline;zoom:1",t.inlineBlockNeedsLayout=3===i.offsetWidth,i.style.display="block",i.style.overflow="visible",i.innerHTML="<div></div>",i.firstChild.style.width="5px",t.shrinkWrapBlocks=3!==i.offsetWidth,n.style.zoom=1),s.removeChild(n),n=i=o=a=null)}),s.removeChild(f),n=i=o=a=r=s=f=null,t}();var me=/^(?:\{.*\}|\[.*\])$/,ge=/([A-Z])/g;K.extend({cache:{},deletedIds:[],uuid:0,expando:"jQuery"+(K.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?K.cache[e[K.expando]]:e[K.expando],!!e&&!o(e)},data:function(e,n,i,o){if(K.acceptData(e)){var a,r,s=K.expando,l="string"==typeof n,u=e.nodeType,c=u?K.cache:e,d=u?e[s]:e[s]&&s;if(d&&c[d]&&(o||c[d].data)||!l||i!==t)return d||(u?e[s]=d=K.deletedIds.pop()||++K.uuid:d=s),c[d]||(c[d]={},u||(c[d].toJSON=K.noop)),("object"==typeof n||"function"==typeof n)&&(o?c[d]=K.extend(c[d],n):c[d].data=K.extend(c[d].data,n)),a=c[d],o||(a.data||(a.data={}),a=a.data),i!==t&&(a[K.camelCase(n)]=i),l?(r=a[n],null==r&&(r=a[K.camelCase(n)])):r=a,r}},removeData:function(e,t,n){if(K.acceptData(e)){var i,a,r,s=e.nodeType,l=s?K.cache:e,u=s?e[K.expando]:K.expando;if(l[u]){if(t&&(i=n?l[u]:l[u].data)){K.isArray(t)||(t in i?t=[t]:(t=K.camelCase(t),t=t in i?[t]:t.split(" ")));for(a=0,r=t.length;r>a;a++)delete i[t[a]];if(!(n?o:K.isEmptyObject)(i))return}(n||(delete l[u].data,o(l[u])))&&(s?K.cleanData([e],!0):K.support.deleteExpando||l!=l.window?delete l[u]:l[u]=null)}}},_data:function(e,t,n){return K.data(e,t,n,!0)},acceptData:function(e){var t=e.nodeName&&K.noData[e.nodeName.toLowerCase()];return!t||t!==!0&&e.getAttribute("classid")===t}}),K.fn.extend({data:function(e,n){var o,a,r,s,l,u=this[0],c=0,d=null;if(e===t){if(this.length&&(d=K.data(u),1===u.nodeType&&!K._data(u,"parsedAttrs"))){for(r=u.attributes,l=r.length;l>c;c++)s=r[c].name,0===s.indexOf("data-")&&(s=K.camelCase(s.substring(5)),i(u,s,d[s]));K._data(u,"parsedAttrs",!0)}return d}return"object"==typeof e?this.each(function(){K.data(this,e)}):(o=e.split(".",2),o[1]=o[1]?"."+o[1]:"",a=o[1]+"!",K.access(this,function(n){return n===t?(d=this.triggerHandler("getData"+a,[o[0]]),d===t&&u&&(d=K.data(u,e),d=i(u,e,d)),d===t&&o[1]?this.data(o[0]):d):(o[1]=n,void this.each(function(){var t=K(this);t.triggerHandler("setData"+a,o),K.data(this,e,n),t.triggerHandler("changeData"+a,o)}))},null,n,arguments.length>1,null,!1))},removeData:function(e){return this.each(function(){K.removeData(this,e)})}}),K.extend({queue:function(e,t,n){var i;return e?(t=(t||"fx")+"queue",i=K._data(e,t),n&&(!i||K.isArray(n)?i=K._data(e,t,K.makeArray(n)):i.push(n)),i||[]):void 0},dequeue:function(e,t){t=t||"fx";var n=K.queue(e,t),i=n.shift(),o=K._queueHooks(e,t),a=function(){K.dequeue(e,t)};"inprogress"===i&&(i=n.shift()),i&&("fx"===t&&n.unshift("inprogress"),delete o.stop,i.call(e,a,o)),!n.length&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return K._data(e,n)||K._data(e,n,{empty:K.Callbacks("once memory").add(function(){K.removeData(e,t+"queue",!0),K.removeData(e,n,!0)})})}}),K.fn.extend({queue:function(e,n){var i=2;return"string"!=typeof e&&(n=e,e="fx",i--),arguments.length<i?K.queue(this[0],e):n===t?this:this.each(function(){var t=K.queue(this,e,n);K._queueHooks(this,e),"fx"===e&&"inprogress"!==t[0]&&K.dequeue(this,e)})},dequeue:function(e){return this.each(function(){K.dequeue(this,e)})},delay:function(e,t){return e=K.fx?K.fx.speeds[e]||e:e,t=t||"fx",this.queue(t,function(t,n){var i=setTimeout(t,e);n.stop=function(){clearTimeout(i)}})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,n){var i,o=1,a=K.Deferred(),r=this,s=this.length,l=function(){--o||a.resolveWith(r,[r])};for("string"!=typeof e&&(n=e,e=t),e=e||"fx";s--;)(i=K._data(r[s],e+"queueHooks"))&&i.empty&&(o++,i.empty.add(l));return l(),a.promise(n)}});var ye,ve,be,we=/[\t\r\n]/g,_e=/\r/g,xe=/^(?:button|input)$/i,Te=/^(?:button|input|object|select|textarea)$/i,De=/^a(?:rea|)$/i,Ce=/^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,Se=K.support.getSetAttribute;K.fn.extend({attr:function(e,t){return K.access(this,K.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each(function(){K.removeAttr(this,e)})},prop:function(e,t){return K.access(this,K.prop,e,t,arguments.length>1)},removeProp:function(e){return e=K.propFix[e]||e,this.each(function(){try{this[e]=t,delete this[e]}catch(n){}})},addClass:function(e){var t,n,i,o,a,r,s;if(K.isFunction(e))return this.each(function(t){K(this).addClass(e.call(this,t,this.className))});if(e&&"string"==typeof e)for(t=e.split(te),n=0,i=this.length;i>n;n++)if(o=this[n],1===o.nodeType)if(o.className||1!==t.length){for(a=" "+o.className+" ",r=0,s=t.length;s>r;r++)~a.indexOf(" "+t[r]+" ")||(a+=t[r]+" ");o.className=K.trim(a)}else o.className=e;return this},removeClass:function(e){var n,i,o,a,r,s,l;if(K.isFunction(e))return this.each(function(t){K(this).removeClass(e.call(this,t,this.className))});if(e&&"string"==typeof e||e===t)for(n=(e||"").split(te),s=0,l=this.length;l>s;s++)if(o=this[s],1===o.nodeType&&o.className){for(i=(" "+o.className+" ").replace(we," "),a=0,r=n.length;r>a;a++)for(;i.indexOf(" "+n[a]+" ")>-1;)i=i.replace(" "+n[a]+" "," ");o.className=e?K.trim(i):""}return this},toggleClass:function(e,t){var n=typeof e,i="boolean"==typeof t;return K.isFunction(e)?this.each(function(n){K(this).toggleClass(e.call(this,n,this.className,t),t)}):this.each(function(){if("string"===n)for(var o,a=0,r=K(this),s=t,l=e.split(te);o=l[a++];)s=i?s:!r.hasClass(o),r[s?"addClass":"removeClass"](o);else("undefined"===n||"boolean"===n)&&(this.className&&K._data(this,"__className__",this.className),this.className=this.className||e===!1?"":K._data(this,"__className__")||"")})},hasClass:function(e){for(var t=" "+e+" ",n=0,i=this.length;i>n;n++)if(1===this[n].nodeType&&(" "+this[n].className+" ").replace(we," ").indexOf(t)>-1)return!0;return!1},val:function(e){var n,i,o,a=this[0];{if(arguments.length)return o=K.isFunction(e),this.each(function(i){var a,r=K(this);1===this.nodeType&&(a=o?e.call(this,i,r.val()):e,null==a?a="":"number"==typeof a?a+="":K.isArray(a)&&(a=K.map(a,function(e){return null==e?"":e+""})),n=K.valHooks[this.type]||K.valHooks[this.nodeName.toLowerCase()],n&&"set"in n&&n.set(this,a,"value")!==t||(this.value=a))});if(a)return n=K.valHooks[a.type]||K.valHooks[a.nodeName.toLowerCase()],n&&"get"in n&&(i=n.get(a,"value"))!==t?i:(i=a.value,"string"==typeof i?i.replace(_e,""):null==i?"":i)}}}),K.extend({valHooks:{option:{get:function(e){var t=e.attributes.value;return!t||t.specified?e.value:e.text}},select:{get:function(e){var t,n,i,o,a=e.selectedIndex,r=[],s=e.options,l="select-one"===e.type;if(0>a)return null;for(n=l?a:0,i=l?a+1:s.length;i>n;n++)if(o=s[n],o.selected&&(K.support.optDisabled?!o.disabled:null===o.getAttribute("disabled"))&&(!o.parentNode.disabled||!K.nodeName(o.parentNode,"optgroup"))){if(t=K(o).val(),l)return t;r.push(t)}return l&&!r.length&&s.length?K(s[a]).val():r},set:function(e,t){var n=K.makeArray(t);return K(e).find("option").each(function(){this.selected=K.inArray(K(this).val(),n)>=0}),n.length||(e.selectedIndex=-1),n}}},attrFn:{},attr:function(e,n,i,o){var a,r,s,l=e.nodeType;if(e&&3!==l&&8!==l&&2!==l)return o&&K.isFunction(K.fn[n])?K(e)[n](i):"undefined"==typeof e.getAttribute?K.prop(e,n,i):(s=1!==l||!K.isXMLDoc(e),s&&(n=n.toLowerCase(),r=K.attrHooks[n]||(Ce.test(n)?ve:ye)),i!==t?null===i?void K.removeAttr(e,n):r&&"set"in r&&s&&(a=r.set(e,i,n))!==t?a:(e.setAttribute(n,""+i),i):r&&"get"in r&&s&&null!==(a=r.get(e,n))?a:(a=e.getAttribute(n),null===a?t:a))},removeAttr:function(e,t){var n,i,o,a,r=0;if(t&&1===e.nodeType)for(i=t.split(te);r<i.length;r++)o=i[r],o&&(n=K.propFix[o]||o,a=Ce.test(o),a||K.attr(e,o,""),e.removeAttribute(Se?o:n),a&&n in e&&(e[n]=!1))},attrHooks:{type:{set:function(e,t){if(xe.test(e.nodeName)&&e.parentNode)K.error("type property can't be changed");else if(!K.support.radioValue&&"radio"===t&&K.nodeName(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}},value:{get:function(e,t){return ye&&K.nodeName(e,"button")?ye.get(e,t):t in e?e.value:null},set:function(e,t,n){return ye&&K.nodeName(e,"button")?ye.set(e,t,n):void(e.value=t)}}},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,i){var o,a,r,s=e.nodeType;if(e&&3!==s&&8!==s&&2!==s)return r=1!==s||!K.isXMLDoc(e),r&&(n=K.propFix[n]||n,a=K.propHooks[n]),i!==t?a&&"set"in a&&(o=a.set(e,i,n))!==t?o:e[n]=i:a&&"get"in a&&null!==(o=a.get(e,n))?o:e[n]},propHooks:{tabIndex:{get:function(e){var n=e.getAttributeNode("tabindex");return n&&n.specified?parseInt(n.value,10):Te.test(e.nodeName)||De.test(e.nodeName)&&e.href?0:t}}}}),ve={get:function(e,n){var i,o=K.prop(e,n);return o===!0||"boolean"!=typeof o&&(i=e.getAttributeNode(n))&&i.nodeValue!==!1?n.toLowerCase():t},set:function(e,t,n){var i;return t===!1?K.removeAttr(e,n):(i=K.propFix[n]||n,i in e&&(e[i]=!0),e.setAttribute(n,n.toLowerCase())),n}},Se||(be={name:!0,id:!0,coords:!0},ye=K.valHooks.button={get:function(e,n){var i;return i=e.getAttributeNode(n),i&&(be[n]?""!==i.value:i.specified)?i.value:t},set:function(e,t,n){var i=e.getAttributeNode(n);return i||(i=W.createAttribute(n),e.setAttributeNode(i)),i.value=t+""}},K.each(["width","height"],function(e,t){K.attrHooks[t]=K.extend(K.attrHooks[t],{set:function(e,n){return""===n?(e.setAttribute(t,"auto"),n):void 0}})}),K.attrHooks.contenteditable={get:ye.get,set:function(e,t,n){""===t&&(t="false"),ye.set(e,t,n)}}),K.support.hrefNormalized||K.each(["href","src","width","height"],function(e,n){K.attrHooks[n]=K.extend(K.attrHooks[n],{get:function(e){var i=e.getAttribute(n,2);return null===i?t:i}})}),K.support.style||(K.attrHooks.style={get:function(e){return e.style.cssText.toLowerCase()||t},set:function(e,t){return e.style.cssText=""+t}}),K.support.optSelected||(K.propHooks.selected=K.extend(K.propHooks.selected,{get:function(e){var t=e.parentNode;return t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex),null}})),K.support.enctype||(K.propFix.enctype="encoding"),K.support.checkOn||K.each(["radio","checkbox"],function(){K.valHooks[this]={get:function(e){return null===e.getAttribute("value")?"on":e.value}}}),K.each(["radio","checkbox"],function(){K.valHooks[this]=K.extend(K.valHooks[this],{set:function(e,t){return K.isArray(t)?e.checked=K.inArray(K(e).val(),t)>=0:void 0}})});var Oe=/^(?:textarea|input|select)$/i,ke=/^([^\.]*|)(?:\.(.+)|)$/,Me=/(?:^|\s)hover(\.\S+|)\b/,Ee=/^key/,Le=/^(?:mouse|contextmenu)|click/,Ne=/^(?:focusinfocus|focusoutblur)$/,Pe=function(e){return K.event.special.hover?e:e.replace(Me,"mouseenter$1 mouseleave$1")};K.event={add:function(e,n,i,o,a){var r,s,l,u,c,d,f,p,h,m,g;if(3!==e.nodeType&&8!==e.nodeType&&n&&i&&(r=K._data(e))){for(i.handler&&(h=i,i=h.handler,a=h.selector),i.guid||(i.guid=K.guid++),l=r.events,l||(r.events=l={}),s=r.handle,s||(r.handle=s=function(e){return"undefined"==typeof K||e&&K.event.triggered===e.type?t:K.event.dispatch.apply(s.elem,arguments)},s.elem=e),n=K.trim(Pe(n)).split(" "),u=0;u<n.length;u++)c=ke.exec(n[u])||[],d=c[1],f=(c[2]||"").split(".").sort(),g=K.event.special[d]||{},d=(a?g.delegateType:g.bindType)||d,g=K.event.special[d]||{},p=K.extend({type:d,origType:c[1],data:o,handler:i,guid:i.guid,selector:a,namespace:f.join(".")},h),m=l[d],m||(m=l[d]=[],m.delegateCount=0,g.setup&&g.setup.call(e,o,f,s)!==!1||(e.addEventListener?e.addEventListener(d,s,!1):e.attachEvent&&e.attachEvent("on"+d,s))),g.add&&(g.add.call(e,p),p.handler.guid||(p.handler.guid=i.guid)),a?m.splice(m.delegateCount++,0,p):m.push(p),K.event.global[d]=!0;e=null}},global:{},remove:function(e,t,n,i,o){var a,r,s,l,u,c,d,f,p,h,m,g=K.hasData(e)&&K._data(e);if(g&&(f=g.events)){for(t=K.trim(Pe(t||"")).split(" "),a=0;a<t.length;a++)if(r=ke.exec(t[a])||[],s=l=r[1],u=r[2],s){for(p=K.event.special[s]||{},s=(i?p.delegateType:p.bindType)||s,h=f[s]||[],c=h.length,u=u?new RegExp("(^|\\.)"+u.split(".").sort().join("\\.(?:.*\\.|)")+"(\\.|$)"):null,d=0;d<h.length;d++)m=h[d],(o||l===m.origType)&&(!n||n.guid===m.guid)&&(!u||u.test(m.namespace))&&(!i||i===m.selector||"**"===i&&m.selector)&&(h.splice(d--,1),m.selector&&h.delegateCount--,p.remove&&p.remove.call(e,m));0===h.length&&c!==h.length&&((!p.teardown||p.teardown.call(e,u,g.handle)===!1)&&K.removeEvent(e,s,g.handle),delete f[s])}else for(s in f)K.event.remove(e,s+t[a],n,i,!0);K.isEmptyObject(f)&&(delete g.handle,K.removeData(e,"events",!0))}},customEvent:{getData:!0,setData:!0,changeData:!0},trigger:function(n,i,o,a){if(!o||3!==o.nodeType&&8!==o.nodeType){var r,s,l,u,c,d,f,p,h,m,g=n.type||n,y=[];if(Ne.test(g+K.event.triggered))return;if(g.indexOf("!")>=0&&(g=g.slice(0,-1),s=!0),g.indexOf(".")>=0&&(y=g.split("."),g=y.shift(),y.sort()),(!o||K.event.customEvent[g])&&!K.event.global[g])return;if(n="object"==typeof n?n[K.expando]?n:new K.Event(g,n):new K.Event(g),n.type=g,n.isTrigger=!0,n.exclusive=s,n.namespace=y.join("."),n.namespace_re=n.namespace?new RegExp("(^|\\.)"+y.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,d=g.indexOf(":")<0?"on"+g:"",!o){r=K.cache;for(l in r)r[l].events&&r[l].events[g]&&K.event.trigger(n,i,r[l].handle.elem,!0);return}if(n.result=t,n.target||(n.target=o),i=null!=i?K.makeArray(i):[],i.unshift(n),f=K.event.special[g]||{},f.trigger&&f.trigger.apply(o,i)===!1)return;if(h=[[o,f.bindType||g]],!a&&!f.noBubble&&!K.isWindow(o)){for(m=f.delegateType||g,u=Ne.test(m+g)?o:o.parentNode,c=o;u;u=u.parentNode)h.push([u,m]),c=u;c===(o.ownerDocument||W)&&h.push([c.defaultView||c.parentWindow||e,m])}for(l=0;l<h.length&&!n.isPropagationStopped();l++)u=h[l][0],n.type=h[l][1],p=(K._data(u,"events")||{})[n.type]&&K._data(u,"handle"),p&&p.apply(u,i),p=d&&u[d],p&&K.acceptData(u)&&p.apply(u,i)===!1&&n.preventDefault();return n.type=g,!a&&!n.isDefaultPrevented()&&(!f._default||f._default.apply(o.ownerDocument,i)===!1)&&("click"!==g||!K.nodeName(o,"a"))&&K.acceptData(o)&&d&&o[g]&&("focus"!==g&&"blur"!==g||0!==n.target.offsetWidth)&&!K.isWindow(o)&&(c=o[d],c&&(o[d]=null),K.event.triggered=g,o[g](),K.event.triggered=t,c&&(o[d]=c)),n.result}},dispatch:function(n){n=K.event.fix(n||e.event);var i,o,a,r,s,l,u,c,d,f,p=(K._data(this,"events")||{})[n.type]||[],h=p.delegateCount,m=[].slice.call(arguments),g=!n.exclusive&&!n.namespace,y=K.event.special[n.type]||{},v=[];if(m[0]=n,n.delegateTarget=this,!y.preDispatch||y.preDispatch.call(this,n)!==!1){if(h&&(!n.button||"click"!==n.type))for(r=K(this),r.context=this,a=n.target;a!=this;a=a.parentNode||this)if(a.disabled!==!0||"click"!==n.type){for(l={},c=[],r[0]=a,i=0;h>i;i++)d=p[i],f=d.selector,l[f]===t&&(l[f]=r.is(f)),l[f]&&c.push(d);c.length&&v.push({elem:a,matches:c})}for(p.length>h&&v.push({elem:this,matches:p.slice(h)}),i=0;i<v.length&&!n.isPropagationStopped();i++)for(u=v[i],n.currentTarget=u.elem,o=0;o<u.matches.length&&!n.isImmediatePropagationStopped();o++)d=u.matches[o],(g||!n.namespace&&!d.namespace||n.namespace_re&&n.namespace_re.test(d.namespace))&&(n.data=d.data,n.handleObj=d,s=((K.event.special[d.origType]||{}).handle||d.handler).apply(u.elem,m),s!==t&&(n.result=s,s===!1&&(n.preventDefault(),n.stopPropagation())));return y.postDispatch&&y.postDispatch.call(this,n),n.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,t){return null==e.which&&(e.which=null!=t.charCode?t.charCode:t.keyCode),e}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(e,n){var i,o,a,r=n.button,s=n.fromElement;return null==e.pageX&&null!=n.clientX&&(i=e.target.ownerDocument||W,o=i.documentElement,a=i.body,e.pageX=n.clientX+(o&&o.scrollLeft||a&&a.scrollLeft||0)-(o&&o.clientLeft||a&&a.clientLeft||0),e.pageY=n.clientY+(o&&o.scrollTop||a&&a.scrollTop||0)-(o&&o.clientTop||a&&a.clientTop||0)),!e.relatedTarget&&s&&(e.relatedTarget=s===e.target?n.toElement:s),!e.which&&r!==t&&(e.which=1&r?1:2&r?3:4&r?2:0),e}},fix:function(e){if(e[K.expando])return e;var t,n,i=e,o=K.event.fixHooks[e.type]||{},a=o.props?this.props.concat(o.props):this.props;for(e=K.Event(i),t=a.length;t;)n=a[--t],e[n]=i[n];return e.target||(e.target=i.srcElement||W),3===e.target.nodeType&&(e.target=e.target.parentNode),e.metaKey=!!e.metaKey,o.filter?o.filter(e,i):e},special:{ready:{setup:K.bindReady},load:{noBubble:!0},focus:{delegateType:"focusin"},blur:{delegateType:"focusout"},beforeunload:{setup:function(e,t,n){K.isWindow(this)&&(this.onbeforeunload=n)},teardown:function(e,t){this.onbeforeunload===t&&(this.onbeforeunload=null)}}},simulate:function(e,t,n,i){var o=K.extend(new K.Event,n,{type:e,isSimulated:!0,originalEvent:{}});i?K.event.trigger(o,null,t):K.event.dispatch.call(t,o),o.isDefaultPrevented()&&n.preventDefault()}},K.event.handle=K.event.dispatch,K.removeEvent=W.removeEventListener?function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n,!1)}:function(e,t,n){var i="on"+t;e.detachEvent&&("undefined"==typeof e[i]&&(e[i]=null),e.detachEvent(i,n))},K.Event=function(e,t){return this instanceof K.Event?(e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||e.returnValue===!1||e.getPreventDefault&&e.getPreventDefault()?r:a):this.type=e,t&&K.extend(this,t),this.timeStamp=e&&e.timeStamp||K.now(),this[K.expando]=!0,void 0):new K.Event(e,t)},K.Event.prototype={preventDefault:function(){this.isDefaultPrevented=r;var e=this.originalEvent;e&&(e.preventDefault?e.preventDefault():e.returnValue=!1)},stopPropagation:function(){this.isPropagationStopped=r;var e=this.originalEvent;e&&(e.stopPropagation&&e.stopPropagation(),e.cancelBubble=!0)},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=r,this.stopPropagation()},isDefaultPrevented:a,isPropagationStopped:a,isImmediatePropagationStopped:a},K.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(e,t){K.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,i=this,o=e.relatedTarget,a=e.handleObj;a.selector;return(!o||o!==i&&!K.contains(i,o))&&(e.type=a.origType,n=a.handler.apply(this,arguments),e.type=t),n}}}),K.support.submitBubbles||(K.event.special.submit={setup:function(){return K.nodeName(this,"form")?!1:void K.event.add(this,"click._submit keypress._submit",function(e){var n=e.target,i=K.nodeName(n,"input")||K.nodeName(n,"button")?n.form:t;i&&!K._data(i,"_submit_attached")&&(K.event.add(i,"submit._submit",function(e){e._submit_bubble=!0}),K._data(i,"_submit_attached",!0))})},postDispatch:function(e){e._submit_bubble&&(delete e._submit_bubble,this.parentNode&&!e.isTrigger&&K.event.simulate("submit",this.parentNode,e,!0))},teardown:function(){return K.nodeName(this,"form")?!1:void K.event.remove(this,"._submit")}}),K.support.changeBubbles||(K.event.special.change={setup:function(){return Oe.test(this.nodeName)?(("checkbox"===this.type||"radio"===this.type)&&(K.event.add(this,"propertychange._change",function(e){"checked"===e.originalEvent.propertyName&&(this._just_changed=!0)}),K.event.add(this,"click._change",function(e){this._just_changed&&!e.isTrigger&&(this._just_changed=!1),K.event.simulate("change",this,e,!0)})),!1):void K.event.add(this,"beforeactivate._change",function(e){var t=e.target;Oe.test(t.nodeName)&&!K._data(t,"_change_attached")&&(K.event.add(t,"change._change",function(e){this.parentNode&&!e.isSimulated&&!e.isTrigger&&K.event.simulate("change",this.parentNode,e,!0)}),K._data(t,"_change_attached",!0))})},handle:function(e){var t=e.target;return this!==t||e.isSimulated||e.isTrigger||"radio"!==t.type&&"checkbox"!==t.type?e.handleObj.handler.apply(this,arguments):void 0},teardown:function(){return K.event.remove(this,"._change"),Oe.test(this.nodeName)}}),K.support.focusinBubbles||K.each({focus:"focusin",blur:"focusout"},function(e,t){var n=0,i=function(e){K.event.simulate(t,e.target,K.event.fix(e),!0)};K.event.special[t]={setup:function(){0===n++&&W.addEventListener(e,i,!0)},teardown:function(){0===--n&&W.removeEventListener(e,i,!0)}}}),K.fn.extend({on:function(e,n,i,o,r){var s,l;if("object"==typeof e){"string"!=typeof n&&(i=i||n,n=t);for(l in e)this.on(l,n,i,e[l],r);return this}if(null==i&&null==o?(o=n,i=n=t):null==o&&("string"==typeof n?(o=i,i=t):(o=i,i=n,n=t)),o===!1)o=a;else if(!o)return this;return 1===r&&(s=o,o=function(e){return K().off(e),s.apply(this,arguments)},o.guid=s.guid||(s.guid=K.guid++)),this.each(function(){K.event.add(this,e,o,i,n)})},one:function(e,t,n,i){return this.on(e,t,n,i,1)},off:function(e,n,i){var o,r;if(e&&e.preventDefault&&e.handleObj)return o=e.handleObj,K(e.delegateTarget).off(o.namespace?o.origType+"."+o.namespace:o.origType,o.selector,o.handler),this;if("object"==typeof e){for(r in e)this.off(r,n,e[r]);return this}return(n===!1||"function"==typeof n)&&(i=n,n=t),i===!1&&(i=a),this.each(function(){K.event.remove(this,e,i,n)})},bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},live:function(e,t,n){return K(this.context).on(e,this.selector,t,n),this},die:function(e,t){return K(this.context).off(e,this.selector||"**",t),this},delegate:function(e,t,n,i){return this.on(t,e,n,i)},undelegate:function(e,t,n){return 1==arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},trigger:function(e,t){return this.each(function(){K.event.trigger(e,t,this)})},triggerHandler:function(e,t){return this[0]?K.event.trigger(e,t,this[0],!0):void 0},toggle:function(e){var t=arguments,n=e.guid||K.guid++,i=0,o=function(n){var o=(K._data(this,"lastToggle"+e.guid)||0)%i;return K._data(this,"lastToggle"+e.guid,o+1),n.preventDefault(),t[o].apply(this,arguments)||!1};for(o.guid=n;i<t.length;)t[i++].guid=n;return this.click(o)},hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),K.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,t){K.fn[t]=function(e,n){return null==n&&(n=e,e=null),arguments.length>0?this.on(t,null,e,n):this.trigger(t)},Ee.test(t)&&(K.event.fixHooks[t]=K.event.keyHooks),Le.test(t)&&(K.event.fixHooks[t]=K.event.mouseHooks)}),function(e,t){function n(e,t,n,i){for(var o=0,a=t.length;a>o;o++)ae(e,t[o],n,i)}function i(e,t,i,o,a,r){var s,l=re.setFilters[t.toLowerCase()];return l||ae.error(t),(e||!(s=a))&&n(e||"*",o,s=[],a),s.length>0?l(s,i,r):[]}function o(e,o,a,r,s){for(var l,u,c,d,f,p,h,m,g=0,y=s.length,v=$.POS,b=new RegExp("^"+v.source+"(?!"+D+")","i"),w=function(){for(var e=1,n=arguments.length-2;n>e;e++)arguments[e]===t&&(l[e]=t)};y>g;g++){for(v.exec(""),e=s[g],d=[],c=0,f=r;l=v.exec(e);)m=v.lastIndex=l.index+l[0].length,m>c&&(h=e.slice(c,l.index),c=m,p=[o],A.test(h)&&(f&&(p=f),f=r),(u=R.test(h))&&(h=h.slice(0,-5).replace(A,"$&*")),l.length>1&&l[0].replace(b,w),f=i(h,l[1],l[2],p,f,u));f?(d=d.concat(f),(h=e.slice(c))&&")"!==h?A.test(h)?n(h,d,a,r):ae(h,o,a,r?r.concat(f):f):x.apply(a,d)):ae(e,o,a,r)}return 1===y?a:ae.uniqueSort(a)}function a(e,t,n){for(var i,o,a,r=[],s=0,l=H.exec(e),u=!l.pop()&&!l.pop(),c=u&&e.match(F)||[""],d=re.preFilter,f=re.filter,p=!n&&t!==m;null!=(o=c[s])&&u;s++)for(r.push(i=[]),p&&(o=" "+o);o;){u=!1,(l=A.exec(o))&&(o=o.slice(l[0].length),u=i.push({part:l.pop().replace(P," "),captures:l}));for(a in f)(l=$[a].exec(o))&&(!d[a]||(l=d[a](l,t,n)))&&(o=o.slice(l.shift().length),u=i.push({part:a,captures:l}));if(!u)break}return u||ae.error(e),r}function r(e,t,n){var i=t.dir,o=w++;return e||(e=function(e){return e===n}),t.first?function(t,n){for(;t=t[i];)if(1===t.nodeType)return e(t,n)&&t}:function(t,n){for(var a,r=o+"."+d,s=r+"."+c;t=t[i];)if(1===t.nodeType){if((a=t[T])===s)return t.sizset;if("string"==typeof a&&0===a.indexOf(r)){if(t.sizset)return t}else{if(t[T]=s,e(t,n))return t.sizset=!0,t;t.sizset=!1}}}}function s(e,t){return e?function(n,i){var o=t(n,i);return o&&e(o===!0?n:o,i)}:t}function l(e,t,n){for(var i,o,a=0;i=e[a];a++)re.relative[i.part]?o=r(o,re.relative[i.part],t):(i.captures.push(t,n),o=s(o,re.filter[i.part].apply(null,i.captures)));return o}function u(e){return function(t,n){for(var i,o=0;i=e[o];o++)if(i(t,n))return!0;return!1}}var c,d,f,p,h,m=e.document,g=m.documentElement,y="undefined",v=!1,b=!0,w=0,_=[].slice,x=[].push,T=("sizcache"+Math.random()).replace(".",""),D="[\\x20\\t\\r\\n\\f]",C="(?:\\\\.|[-\\w]|[^\\x00-\\xa0])+",S=C.replace("w","w#"),O="([*^$|!~]?=)",k="\\["+D+"*("+C+")"+D+"*(?:"+O+D+"*(?:(['\"])((?:\\\\.|[^\\\\])*?)\\3|("+S+")|)|)"+D+"*\\]",M=":("+C+")(?:\\((?:(['\"])((?:\\\\.|[^\\\\])*?)\\2|((?:[^,]|\\\\,|(?:,(?=[^\\[]*\\]))|(?:,(?=[^\\(]*\\))))*))\\)|)",E=":(nth|eq|gt|lt|first|last|even|odd)(?:\\((\\d*)\\)|)(?=[^-]|$)",L=D+"*([\\x20\\t\\r\\n\\f>+~])"+D+"*",N="(?=[^\\x20\\t\\r\\n\\f])(?:\\\\.|"+k+"|"+M.replace(2,7)+"|[^\\\\(),])+",P=new RegExp("^"+D+"+|((?:^|[^\\\\])(?:\\\\.)*)"+D+"+$","g"),A=new RegExp("^"+L),F=new RegExp(N+"?(?="+D+"*,|$)","g"),H=new RegExp("^(?:(?!,)(?:(?:^|,)"+D+"*"+N+")*?|"+D+"*(.*?))(\\)|$)"),I=new RegExp(N.slice(19,-6)+"\\x20\\t\\r\\n\\f>+~])+|"+L,"g"),j=/^(?:#([\w\-]+)|(\w+)|\.([\w\-]+))$/,B=/[\x20\t\r\n\f]*[+~]/,R=/:not\($/,W=/h\d/i,q=/input|select|textarea|button/i,U=/\\(?!\\)/g,$={
ID:new RegExp("^#("+C+")"),CLASS:new RegExp("^\\.("+C+")"),NAME:new RegExp("^\\[name=['\"]?("+C+")['\"]?\\]"),TAG:new RegExp("^("+C.replace("[-","[-\\*")+")"),ATTR:new RegExp("^"+k),PSEUDO:new RegExp("^"+M),CHILD:new RegExp("^:(only|nth|last|first)-child(?:\\("+D+"*(even|odd|(([+-]|)(\\d*)n|)"+D+"*(?:([+-]|)"+D+"*(\\d+)|))"+D+"*\\)|)","i"),POS:new RegExp(E,"ig"),needsContext:new RegExp("^"+D+"*[>+~]|"+E,"i")},z={},V=[],X={},Q=[],G=function(e){return e.sizzleFilter=!0,e},Y=function(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}},J=function(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}},Z=function(e){var t=!1,n=m.createElement("div");try{t=e(n)}catch(i){}return n=null,t},ee=Z(function(e){e.innerHTML="<select></select>";var t=typeof e.lastChild.getAttribute("multiple");return"boolean"!==t&&"string"!==t}),te=Z(function(e){e.id=T+0,e.innerHTML="<a name='"+T+"'></a><div name='"+T+"'></div>",g.insertBefore(e,g.firstChild);var t=m.getElementsByName&&m.getElementsByName(T).length===2+m.getElementsByName(T+0).length;return h=!m.getElementById(T),g.removeChild(e),t}),ne=Z(function(e){return e.appendChild(m.createComment("")),0===e.getElementsByTagName("*").length}),ie=Z(function(e){return e.innerHTML="<a href='#'></a>",e.firstChild&&typeof e.firstChild.getAttribute!==y&&"#"===e.firstChild.getAttribute("href")}),oe=Z(function(e){return e.innerHTML="<div class='hidden e'></div><div class='hidden'></div>",e.getElementsByClassName&&0!==e.getElementsByClassName("e").length?(e.lastChild.className="e",1!==e.getElementsByClassName("e").length):!1}),ae=function(e,t,n,i){n=n||[],t=t||m;var o,a,r,s,l=t.nodeType;if(1!==l&&9!==l)return[];if(!e||"string"!=typeof e)return n;if(r=le(t),!r&&!i&&(o=j.exec(e)))if(s=o[1]){if(9===l){if(a=t.getElementById(s),!a||!a.parentNode)return n;if(a.id===s)return n.push(a),n}else if(t.ownerDocument&&(a=t.ownerDocument.getElementById(s))&&ue(t,a)&&a.id===s)return n.push(a),n}else{if(o[2])return x.apply(n,_.call(t.getElementsByTagName(e),0)),n;if((s=o[3])&&oe&&t.getElementsByClassName)return x.apply(n,_.call(t.getElementsByClassName(s),0)),n}return fe(e,t,n,i,r)},re=ae.selectors={cacheLength:50,match:$,order:["ID","TAG"],attrHandle:{},createPseudo:G,find:{ID:h?function(e,t,n){if(typeof t.getElementById!==y&&!n){var i=t.getElementById(e);return i&&i.parentNode?[i]:[]}}:function(e,n,i){if(typeof n.getElementById!==y&&!i){var o=n.getElementById(e);return o?o.id===e||typeof o.getAttributeNode!==y&&o.getAttributeNode("id").value===e?[o]:t:[]}},TAG:ne?function(e,t){return typeof t.getElementsByTagName!==y?t.getElementsByTagName(e):void 0}:function(e,t){var n=t.getElementsByTagName(e);if("*"===e){for(var i,o=[],a=0;i=n[a];a++)1===i.nodeType&&o.push(i);return o}return n}},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(U,""),e[3]=(e[4]||e[5]||"").replace(U,""),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1]?(e[2]||ae.error(e[0]),e[3]=+(e[3]?e[4]+(e[5]||1):2*("even"===e[2]||"odd"===e[2])),e[4]=+(e[6]+e[7]||"odd"===e[2])):e[2]&&ae.error(e[0]),e},PSEUDO:function(e){var t,n=e[4];return $.CHILD.test(e[0])?null:(n&&(t=H.exec(n))&&t.pop()&&(e[0]=e[0].slice(0,t[0].length-n.length-1),n=t[0].slice(0,-1)),e.splice(2,3,n||e[3]),e)}},filter:{ID:h?function(e){return e=e.replace(U,""),function(t){return t.getAttribute("id")===e}}:function(e){return e=e.replace(U,""),function(t){var n=typeof t.getAttributeNode!==y&&t.getAttributeNode("id");return n&&n.value===e}},TAG:function(e){return"*"===e?function(){return!0}:(e=e.replace(U,"").toLowerCase(),function(t){return t.nodeName&&t.nodeName.toLowerCase()===e})},CLASS:function(e){var t=z[e];return t||(t=z[e]=new RegExp("(^|"+D+")"+e+"("+D+"|$)"),V.push(e),V.length>re.cacheLength&&delete z[V.shift()]),function(e){return t.test(e.className||typeof e.getAttribute!==y&&e.getAttribute("class")||"")}},ATTR:function(e,t,n){return t?function(i){var o=ae.attr(i,e),a=o+"";if(null==o)return"!="===t;switch(t){case"=":return a===n;case"!=":return a!==n;case"^=":return n&&0===a.indexOf(n);case"*=":return n&&a.indexOf(n)>-1;case"$=":return n&&a.substr(a.length-n.length)===n;case"~=":return(" "+a+" ").indexOf(n)>-1;case"|=":return a===n||a.substr(0,n.length+1)===n+"-"}}:function(t){return null!=ae.attr(t,e)}},CHILD:function(e,t,n,i){if("nth"===e){var o=w++;return function(e){var t,a,r=0,s=e;if(1===n&&0===i)return!0;if(t=e.parentNode,t&&(t[T]!==o||!e.sizset)){for(s=t.firstChild;s&&(1!==s.nodeType||(s.sizset=++r,s!==e));s=s.nextSibling);t[T]=o}return a=e.sizset-i,0===n?0===a:a%n===0&&a/n>=0}}return function(t){var n=t;switch(e){case"only":case"first":for(;n=n.previousSibling;)if(1===n.nodeType)return!1;if("first"===e)return!0;n=t;case"last":for(;n=n.nextSibling;)if(1===n.nodeType)return!1;return!0}}},PSEUDO:function(e,t,n,i){var o=re.pseudos[e]||re.pseudos[e.toLowerCase()];return o||ae.error("unsupported pseudo: "+e),o.sizzleFilter?o(t,n,i):o}},pseudos:{not:G(function(e,t,n){var i=de(e.replace(P,"$1"),t,n);return function(e){return!i(e)}}),enabled:function(e){return e.disabled===!1},disabled:function(e){return e.disabled===!0},checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,e.selected===!0},parent:function(e){return!re.pseudos.empty(e)},empty:function(e){var t;for(e=e.firstChild;e;){if(e.nodeName>"@"||3===(t=e.nodeType)||4===t)return!1;e=e.nextSibling}return!0},contains:G(function(e){return function(t){return(t.textContent||t.innerText||ce(t)).indexOf(e)>-1}}),has:G(function(e){return function(t){return ae(e,t).length>0}}),header:function(e){return W.test(e.nodeName)},text:function(e){var t,n;return"input"===e.nodeName.toLowerCase()&&"text"===(t=e.type)&&(null==(n=e.getAttribute("type"))||n.toLowerCase()===t)},radio:Y("radio"),checkbox:Y("checkbox"),file:Y("file"),password:Y("password"),image:Y("image"),submit:J("submit"),reset:J("reset"),button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},input:function(e){return q.test(e.nodeName)},focus:function(e){var t=e.ownerDocument;return e===t.activeElement&&(!t.hasFocus||t.hasFocus())&&(!!e.type||!!e.href)},active:function(e){return e===e.ownerDocument.activeElement}},setFilters:{first:function(e,t,n){return n?e.slice(1):[e[0]]},last:function(e,t,n){var i=e.pop();return n?e:[i]},even:function(e,t,n){for(var i=[],o=n?1:0,a=e.length;a>o;o+=2)i.push(e[o]);return i},odd:function(e,t,n){for(var i=[],o=n?0:1,a=e.length;a>o;o+=2)i.push(e[o]);return i},lt:function(e,t,n){return n?e.slice(+t):e.slice(0,+t)},gt:function(e,t,n){return n?e.slice(0,+t+1):e.slice(+t+1)},eq:function(e,t,n){var i=e.splice(+t,1);return n?e:i}}};re.setFilters.nth=re.setFilters.eq,re.filters=re.pseudos,ie||(re.attrHandle={href:function(e){return e.getAttribute("href",2)},type:function(e){return e.getAttribute("type")}}),te&&(re.order.push("NAME"),re.find.NAME=function(e,t){return typeof t.getElementsByName!==y?t.getElementsByName(e):void 0}),oe&&(re.order.splice(1,0,"CLASS"),re.find.CLASS=function(e,t,n){return typeof t.getElementsByClassName===y||n?void 0:t.getElementsByClassName(e)});try{_.call(g.childNodes,0)[0].nodeType}catch(se){_=function(e){for(var t,n=[];t=this[e];e++)n.push(t);return n}}var le=ae.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return t?"HTML"!==t.nodeName:!1},ue=ae.contains=g.compareDocumentPosition?function(e,t){return!!(16&e.compareDocumentPosition(t))}:g.contains?function(e,t){var n=9===e.nodeType?e.documentElement:e,i=t.parentNode;return e===i||!!(i&&1===i.nodeType&&n.contains&&n.contains(i))}:function(e,t){for(;t=t.parentNode;)if(t===e)return!0;return!1},ce=ae.getText=function(e){var t,n="",i=0,o=e.nodeType;if(o){if(1===o||9===o||11===o){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=ce(e)}else if(3===o||4===o)return e.nodeValue}else for(;t=e[i];i++)n+=ce(t);return n};ae.attr=function(e,t){var n,i=le(e);return i||(t=t.toLowerCase()),re.attrHandle[t]?re.attrHandle[t](e):ee||i?e.getAttribute(t):(n=e.getAttributeNode(t),n?"boolean"==typeof e[t]?e[t]?t:null:n.specified?n.value:null:null)},ae.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},[0,0].sort(function(){return b=0}),g.compareDocumentPosition?f=function(e,t){return e===t?(v=!0,0):(e.compareDocumentPosition&&t.compareDocumentPosition?4&e.compareDocumentPosition(t):e.compareDocumentPosition)?-1:1}:(f=function(e,t){if(e===t)return v=!0,0;if(e.sourceIndex&&t.sourceIndex)return e.sourceIndex-t.sourceIndex;var n,i,o=[],a=[],r=e.parentNode,s=t.parentNode,l=r;if(r===s)return p(e,t);if(!r)return-1;if(!s)return 1;for(;l;)o.unshift(l),l=l.parentNode;for(l=s;l;)a.unshift(l),l=l.parentNode;n=o.length,i=a.length;for(var u=0;n>u&&i>u;u++)if(o[u]!==a[u])return p(o[u],a[u]);return u===n?p(e,a[u],-1):p(o[u],t,1)},p=function(e,t,n){if(e===t)return n;for(var i=e.nextSibling;i;){if(i===t)return-1;i=i.nextSibling}return 1}),ae.uniqueSort=function(e){var t,n=1;if(f&&(v=b,e.sort(f),v))for(;t=e[n];n++)t===e[n-1]&&e.splice(n--,1);return e};var de=ae.compile=function(e,t,n){var i,o,r,s=X[e];if(s&&s.context===t)return s;for(o=a(e,t,n),r=0;i=o[r];r++)o[r]=l(i,t,n);return s=X[e]=u(o),s.context=t,s.runs=s.dirruns=0,Q.push(e),Q.length>re.cacheLength&&delete X[Q.shift()],s};ae.matches=function(e,t){return ae(e,null,null,t)},ae.matchesSelector=function(e,t){return ae(t,null,null,[e]).length>0};var fe=function(e,t,n,i,a){e=e.replace(P,"$1");var r,s,l,u,f,p,h,m,g,y=e.match(F),v=e.match(I),b=t.nodeType;if($.POS.test(e))return o(e,t,n,i,y);if(i)r=_.call(i,0);else if(y&&1===y.length){if(v.length>1&&9===b&&!a&&(y=$.ID.exec(v[0]))){if(t=re.find.ID(y[1],t,a)[0],!t)return n;e=e.slice(v.shift().length)}for(m=(y=B.exec(v[0]))&&!y.index&&t.parentNode||t,g=v.pop(),p=g.split(":not")[0],l=0,u=re.order.length;u>l;l++)if(h=re.order[l],y=$[h].exec(p)){if(r=re.find[h]((y[1]||"").replace(U,""),m,a),null==r)continue;p===g&&(e=e.slice(0,e.length-g.length)+p.replace($[h],""),e||x.apply(n,_.call(r,0)));break}}if(e)for(s=de(e,t,a),d=s.dirruns++,null==r&&(r=re.find.TAG("*",B.test(e)&&t.parentNode||t)),l=0;f=r[l];l++)c=s.runs++,s(f,t)&&n.push(f);return n};m.querySelectorAll&&function(){var e,t=fe,n=/'|\\/g,i=/\=[\x20\t\r\n\f]*([^'"\]]*)[\x20\t\r\n\f]*\]/g,o=[],a=[":active"],r=g.matchesSelector||g.mozMatchesSelector||g.webkitMatchesSelector||g.oMatchesSelector||g.msMatchesSelector;Z(function(e){e.innerHTML="<select><option selected></option></select>",e.querySelectorAll("[selected]").length||o.push("\\["+D+"*(?:checked|disabled|ismap|multiple|readonly|selected|value)"),e.querySelectorAll(":checked").length||o.push(":checked")}),Z(function(e){e.innerHTML="<p test=''></p>",e.querySelectorAll("[test^='']").length&&o.push("[*^$]="+D+"*(?:\"\"|'')"),e.innerHTML="<input type='hidden'>",e.querySelectorAll(":enabled").length||o.push(":enabled",":disabled")}),o=o.length&&new RegExp(o.join("|")),fe=function(e,i,a,r,s){if(!(r||s||o&&o.test(e)))if(9===i.nodeType)try{return x.apply(a,_.call(i.querySelectorAll(e),0)),a}catch(l){}else if(1===i.nodeType&&"object"!==i.nodeName.toLowerCase()){var u=i.getAttribute("id"),c=u||T,d=B.test(e)&&i.parentNode||i;u?c=c.replace(n,"\\$&"):i.setAttribute("id",c);try{return x.apply(a,_.call(d.querySelectorAll(e.replace(F,"[id='"+c+"'] $&")),0)),a}catch(l){}finally{u||i.removeAttribute("id")}}return t(e,i,a,r,s)},r&&(Z(function(t){e=r.call(t,"div");try{r.call(t,"[test!='']:sizzle"),a.push(re.match.PSEUDO)}catch(n){}}),a=new RegExp(a.join("|")),ae.matchesSelector=function(t,n){if(n=n.replace(i,"='$1']"),!(le(t)||a.test(n)||o&&o.test(n)))try{var s=r.call(t,n);if(s||e||t.document&&11!==t.document.nodeType)return s}catch(l){}return ae(n,null,null,[t]).length>0})}(),ae.attr=K.attr,K.find=ae,K.expr=ae.selectors,K.expr[":"]=K.expr.pseudos,K.unique=ae.uniqueSort,K.text=ae.getText,K.isXMLDoc=ae.isXML,K.contains=ae.contains}(e);var Ae=/Until$/,Fe=/^(?:parents|prev(?:Until|All))/,He=/^.[^:#\[\.,]*$/,Ie=K.expr.match.needsContext,je={children:!0,contents:!0,next:!0,prev:!0};K.fn.extend({find:function(e){var t,n,i,o,a,r,s=this;if("string"!=typeof e)return K(e).filter(function(){for(t=0,n=s.length;n>t;t++)if(K.contains(s[t],this))return!0});for(r=this.pushStack("","find",e),t=0,n=this.length;n>t;t++)if(i=r.length,K.find(e,this[t],r),t>0)for(o=i;o<r.length;o++)for(a=0;i>a;a++)if(r[a]===r[o]){r.splice(o--,1);break}return r},has:function(e){var t,n=K(e,this),i=n.length;return this.filter(function(){for(t=0;i>t;t++)if(K.contains(this,n[t]))return!0})},not:function(e){return this.pushStack(u(this,e,!1),"not",e)},filter:function(e){return this.pushStack(u(this,e,!0),"filter",e)},is:function(e){return!!e&&("string"==typeof e?Ie.test(e)?K(e,this.context).index(this[0])>=0:K.filter(e,this).length>0:this.filter(e).length>0)},closest:function(e,t){for(var n,i=0,o=this.length,a=[],r=Ie.test(e)||"string"!=typeof e?K(e,t||this.context):0;o>i;i++)for(n=this[i];n&&n.ownerDocument&&n!==t&&11!==n.nodeType;){if(r?r.index(n)>-1:K.find.matchesSelector(n,e)){a.push(n);break}n=n.parentNode}return a=a.length>1?K.unique(a):a,this.pushStack(a,"closest",e)},index:function(e){return e?"string"==typeof e?K.inArray(this[0],K(e)):K.inArray(e.jquery?e[0]:e,this):this[0]&&this[0].parentNode?this.prevAll().length:-1},add:function(e,t){var n="string"==typeof e?K(e,t):K.makeArray(e&&e.nodeType?[e]:e),i=K.merge(this.get(),n);return this.pushStack(s(n[0])||s(i[0])?i:K.unique(i))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),K.fn.andSelf=K.fn.addBack,K.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return K.dir(e,"parentNode")},parentsUntil:function(e,t,n){return K.dir(e,"parentNode",n)},next:function(e){return l(e,"nextSibling")},prev:function(e){return l(e,"previousSibling")},nextAll:function(e){return K.dir(e,"nextSibling")},prevAll:function(e){return K.dir(e,"previousSibling")},nextUntil:function(e,t,n){return K.dir(e,"nextSibling",n)},prevUntil:function(e,t,n){return K.dir(e,"previousSibling",n)},siblings:function(e){return K.sibling((e.parentNode||{}).firstChild,e)},children:function(e){return K.sibling(e.firstChild)},contents:function(e){return K.nodeName(e,"iframe")?e.contentDocument||e.contentWindow.document:K.merge([],e.childNodes)}},function(e,t){K.fn[e]=function(n,i){var o=K.map(this,t,n);return Ae.test(e)||(i=n),i&&"string"==typeof i&&(o=K.filter(i,o)),o=this.length>1&&!je[e]?K.unique(o):o,this.length>1&&Fe.test(e)&&(o=o.reverse()),this.pushStack(o,e,X.call(arguments).join(","))}}),K.extend({filter:function(e,t,n){return n&&(e=":not("+e+")"),1===t.length?K.find.matchesSelector(t[0],e)?[t[0]]:[]:K.find.matches(e,t)},dir:function(e,n,i){for(var o=[],a=e[n];a&&9!==a.nodeType&&(i===t||1!==a.nodeType||!K(a).is(i));)1===a.nodeType&&o.push(a),a=a[n];return o},sibling:function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n}});var Be="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",Re=/ jQuery\d+="(?:null|\d+)"/g,We=/^\s+/,qe=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,Ue=/<([\w:]+)/,$e=/<tbody/i,ze=/<|&#?\w+;/,Ve=/<(?:script|style|link)/i,Xe=/<(?:script|object|embed|option|style)/i,Qe=new RegExp("<(?:"+Be+")[\\s/>]","i"),Ge=/^(?:checkbox|radio)$/,Ye=/checked\s*(?:[^=]|=\s*.checked.)/i,Je=/\/(java|ecma)script/i,Ke=/^\s*<!(?:\[CDATA\[|\-\-)|[\]\-]{2}>\s*$/g,Ze={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,"",""]},et=c(W),tt=et.appendChild(W.createElement("div"));Ze.optgroup=Ze.option,Ze.tbody=Ze.tfoot=Ze.colgroup=Ze.caption=Ze.thead,Ze.th=Ze.td,K.support.htmlSerialize||(Ze._default=[1,"X<div>","</div>"]),K.fn.extend({text:function(e){return K.access(this,function(e){return e===t?K.text(this):this.empty().append((this[0]&&this[0].ownerDocument||W).createTextNode(e))},null,e,arguments.length)},wrapAll:function(e){if(K.isFunction(e))return this.each(function(t){K(this).wrapAll(e.call(this,t))});if(this[0]){var t=K(e,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var e=this;e.firstChild&&1===e.firstChild.nodeType;)e=e.firstChild;return e}).append(this)}return this},wrapInner:function(e){return K.isFunction(e)?this.each(function(t){K(this).wrapInner(e.call(this,t))}):this.each(function(){var t=K(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=K.isFunction(e);return this.each(function(n){K(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(){return this.parent().each(function(){K.nodeName(this,"body")||K(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,!0,function(e){(1===this.nodeType||11===this.nodeType)&&this.appendChild(e)})},prepend:function(){return this.domManip(arguments,!0,function(e){(1===this.nodeType||11===this.nodeType)&&this.insertBefore(e,this.firstChild)})},before:function(){if(!s(this[0]))return this.domManip(arguments,!1,function(e){this.parentNode.insertBefore(e,this)});if(arguments.length){var e=K.clean(arguments);return this.pushStack(K.merge(e,this),"before",this.selector)}},after:function(){if(!s(this[0]))return this.domManip(arguments,!1,function(e){this.parentNode.insertBefore(e,this.nextSibling)});if(arguments.length){var e=K.clean(arguments);return this.pushStack(K.merge(this,e),"after",this.selector)}},remove:function(e,t){for(var n,i=0;null!=(n=this[i]);i++)(!e||K.filter(e,[n]).length)&&(!t&&1===n.nodeType&&(K.cleanData(n.getElementsByTagName("*")),K.cleanData([n])),n.parentNode&&n.parentNode.removeChild(n));return this},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)for(1===e.nodeType&&K.cleanData(e.getElementsByTagName("*"));e.firstChild;)e.removeChild(e.firstChild);return this},clone:function(e,t){return e=null==e?!1:e,t=null==t?e:t,this.map(function(){return K.clone(this,e,t)})},html:function(e){return K.access(this,function(e){var n=this[0]||{},i=0,o=this.length;if(e===t)return 1===n.nodeType?n.innerHTML.replace(Re,""):t;if("string"==typeof e&&!Ve.test(e)&&(K.support.htmlSerialize||!Qe.test(e))&&(K.support.leadingWhitespace||!We.test(e))&&!Ze[(Ue.exec(e)||["",""])[1].toLowerCase()]){e=e.replace(qe,"<$1></$2>");try{for(;o>i;i++)n=this[i]||{},1===n.nodeType&&(K.cleanData(n.getElementsByTagName("*")),n.innerHTML=e);n=0}catch(a){}}n&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(e){return s(this[0])?this.length?this.pushStack(K(K.isFunction(e)?e():e),"replaceWith",e):this:K.isFunction(e)?this.each(function(t){var n=K(this),i=n.html();n.replaceWith(e.call(this,t,i))}):("string"!=typeof e&&(e=K(e).detach()),this.each(function(){var t=this.nextSibling,n=this.parentNode;K(this).remove(),t?K(t).before(e):K(n).append(e)}))},detach:function(e){return this.remove(e,!0)},domManip:function(e,n,i){e=[].concat.apply([],e);var o,a,r,s,l=0,u=e[0],c=[],f=this.length;if(!K.support.checkClone&&f>1&&"string"==typeof u&&Ye.test(u))return this.each(function(){K(this).domManip(e,n,i)});if(K.isFunction(u))return this.each(function(o){var a=K(this);e[0]=u.call(this,o,n?a.html():t),a.domManip(e,n,i)});if(this[0]){if(o=K.buildFragment(e,this,c),r=o.fragment,a=r.firstChild,1===r.childNodes.length&&(r=a),a)for(n=n&&K.nodeName(a,"tr"),s=o.cacheable||f-1;f>l;l++)i.call(n&&K.nodeName(this[l],"table")?d(this[l],"tbody"):this[l],l===s?r:K.clone(r,!0,!0));r=a=null,c.length&&K.each(c,function(e,t){t.src?K.ajax?K.ajax({url:t.src,type:"GET",dataType:"script",async:!1,global:!1,"throws":!0}):K.error("no ajax"):K.globalEval((t.text||t.textContent||t.innerHTML||"").replace(Ke,"")),t.parentNode&&t.parentNode.removeChild(t)})}return this}}),K.buildFragment=function(e,n,i){var o,a,r,s=e[0];return n=n||W,n=(n[0]||n).ownerDocument||n[0]||n,"undefined"==typeof n.createDocumentFragment&&(n=W),1===e.length&&"string"==typeof s&&s.length<512&&n===W&&"<"===s.charAt(0)&&!Xe.test(s)&&(K.support.checkClone||!Ye.test(s))&&(K.support.html5Clone||!Qe.test(s))&&(a=!0,o=K.fragments[s],r=o!==t),o||(o=n.createDocumentFragment(),K.clean(e,n,o,i),a&&(K.fragments[s]=r&&o)),{fragment:o,cacheable:a}},K.fragments={},K.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,t){K.fn[e]=function(n){var i,o=0,a=[],r=K(n),s=r.length,l=1===this.length&&this[0].parentNode;if((null==l||l&&11===l.nodeType&&1===l.childNodes.length)&&1===s)return r[t](this[0]),this;for(;s>o;o++)i=(o>0?this.clone(!0):this).get(),K(r[o])[t](i),a=a.concat(i);return this.pushStack(a,e,r.selector)}}),K.extend({clone:function(e,t,n){var i,o,a,r;if(K.support.html5Clone||K.isXMLDoc(e)||!Qe.test("<"+e.nodeName+">")?r=e.cloneNode(!0):(tt.innerHTML=e.outerHTML,tt.removeChild(r=tt.firstChild)),!(K.support.noCloneEvent&&K.support.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||K.isXMLDoc(e)))for(p(e,r),i=h(e),o=h(r),a=0;i[a];++a)o[a]&&p(i[a],o[a]);if(t&&(f(e,r),n))for(i=h(e),o=h(r),a=0;i[a];++a)f(i[a],o[a]);return i=o=null,r},clean:function(e,t,n,i){var o,a,r,s,l,u,d,f,p,h,g,y=0,v=[];for(t&&"undefined"!=typeof t.createDocumentFragment||(t=W),a=t===W&&et;null!=(r=e[y]);y++)if("number"==typeof r&&(r+=""),r){if("string"==typeof r)if(ze.test(r)){for(a=a||c(t),d=d||a.appendChild(t.createElement("div")),r=r.replace(qe,"<$1></$2>"),s=(Ue.exec(r)||["",""])[1].toLowerCase(),l=Ze[s]||Ze._default,u=l[0],d.innerHTML=l[1]+r+l[2];u--;)d=d.lastChild;if(!K.support.tbody)for(f=$e.test(r),p="table"!==s||f?"<table>"!==l[1]||f?[]:d.childNodes:d.firstChild&&d.firstChild.childNodes,o=p.length-1;o>=0;--o)K.nodeName(p[o],"tbody")&&!p[o].childNodes.length&&p[o].parentNode.removeChild(p[o]);!K.support.leadingWhitespace&&We.test(r)&&d.insertBefore(t.createTextNode(We.exec(r)[0]),d.firstChild),r=d.childNodes,d=a.lastChild}else r=t.createTextNode(r);r.nodeType?v.push(r):v=K.merge(v,r)}if(d&&(a.removeChild(d),r=d=a=null),!K.support.appendChecked)for(y=0;null!=(r=v[y]);y++)K.nodeName(r,"input")?m(r):"undefined"!=typeof r.getElementsByTagName&&K.grep(r.getElementsByTagName("input"),m);if(n)for(h=function(e){return!e.type||Je.test(e.type)?i?i.push(e.parentNode?e.parentNode.removeChild(e):e):n.appendChild(e):void 0},y=0;null!=(r=v[y]);y++)K.nodeName(r,"script")&&h(r)||(n.appendChild(r),"undefined"!=typeof r.getElementsByTagName&&(g=K.grep(K.merge([],r.getElementsByTagName("script")),h),v.splice.apply(v,[y+1,0].concat(g)),y+=g.length));return v},cleanData:function(e,t){for(var n,i,o,a,r=0,s=K.expando,l=K.cache,u=K.support.deleteExpando,c=K.event.special;null!=(o=e[r]);r++)if((t||K.acceptData(o))&&(i=o[s],n=i&&l[i])){if(n.events)for(a in n.events)c[a]?K.event.remove(o,a):K.removeEvent(o,a,n.handle);l[i]&&(delete l[i],u?delete o[s]:o.removeAttribute?o.removeAttribute(s):o[s]=null,K.deletedIds.push(i))}}}),function(){var e,t;K.uaMatch=function(e){e=e.toLowerCase();var t=/(chrome)[ \/]([\w.]+)/.exec(e)||/(webkit)[ \/]([\w.]+)/.exec(e)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(e)||/(msie) ([\w.]+)/.exec(e)||e.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(e)||[];return{browser:t[1]||"",version:t[2]||"0"}},e=K.uaMatch(U.userAgent),t={},e.browser&&(t[e.browser]=!0,t.version=e.version),t.webkit&&(t.safari=!0),K.browser=t,K.sub=function(){function e(t,n){return new e.fn.init(t,n)}K.extend(!0,e,this),e.superclass=this,e.fn=e.prototype=this(),e.fn.constructor=e,e.sub=this.sub,e.fn.init=function n(n,i){return i&&i instanceof K&&!(i instanceof e)&&(i=e(i)),K.fn.init.call(this,n,i,t)},e.fn.init.prototype=e.fn;var t=e(W);return e}}();var nt,it,ot,at=/alpha\([^)]*\)/i,rt=/opacity=([^)]*)/,st=/^(top|right|bottom|left)$/,lt=/^margin/,ut=new RegExp("^("+Z+")(.*)$","i"),ct=new RegExp("^("+Z+")(?!px)[a-z%]+$","i"),dt=new RegExp("^([-+])=("+Z+")","i"),ft={},pt={position:"absolute",visibility:"hidden",display:"block"},ht={letterSpacing:0,fontWeight:400,lineHeight:1},mt=["Top","Right","Bottom","Left"],gt=["Webkit","O","Moz","ms"],yt=K.fn.toggle;K.fn.extend({css:function(e,n){return K.access(this,function(e,n,i){return i!==t?K.style(e,n,i):K.css(e,n)},e,n,arguments.length>1)},show:function(){return v(this,!0)},hide:function(){return v(this)},toggle:function(e,t){var n="boolean"==typeof e;return K.isFunction(e)&&K.isFunction(t)?yt.apply(this,arguments):this.each(function(){(n?e:y(this))?K(this).show():K(this).hide()})}}),K.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=nt(e,"opacity");return""===n?"1":n}}}},cssNumber:{fillOpacity:!0,fontWeight:!0,lineHeight:!0,opacity:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":K.support.cssFloat?"cssFloat":"styleFloat"},style:function(e,n,i,o){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var a,r,s,l=K.camelCase(n),u=e.style;if(n=K.cssProps[l]||(K.cssProps[l]=g(u,l)),s=K.cssHooks[n]||K.cssHooks[l],i===t)return s&&"get"in s&&(a=s.get(e,!1,o))!==t?a:u[n];if(r=typeof i,"string"===r&&(a=dt.exec(i))&&(i=(a[1]+1)*a[2]+parseFloat(K.css(e,n)),r="number"),!(null==i||"number"===r&&isNaN(i)||("number"===r&&!K.cssNumber[l]&&(i+="px"),s&&"set"in s&&(i=s.set(e,i,o))===t)))try{u[n]=i}catch(c){}}},css:function(e,n,i,o){var a,r,s,l=K.camelCase(n);return n=K.cssProps[l]||(K.cssProps[l]=g(e.style,l)),s=K.cssHooks[n]||K.cssHooks[l],s&&"get"in s&&(a=s.get(e,!0,o)),a===t&&(a=nt(e,n)),"normal"===a&&n in ht&&(a=ht[n]),i||o!==t?(r=parseFloat(a),i||K.isNumeric(r)?r||0:a):a},swap:function(e,t,n){var i,o,a={};for(o in t)a[o]=e.style[o],e.style[o]=t[o];i=n.call(e);for(o in t)e.style[o]=a[o];return i}}),e.getComputedStyle?nt=function(e,t){var n,i,o,a,r=getComputedStyle(e,null),s=e.style;return r&&(n=r[t],""===n&&!K.contains(e.ownerDocument.documentElement,e)&&(n=K.style(e,t)),ct.test(n)&&lt.test(t)&&(i=s.width,o=s.minWidth,a=s.maxWidth,s.minWidth=s.maxWidth=s.width=n,n=r.width,s.width=i,s.minWidth=o,s.maxWidth=a)),n}:W.documentElement.currentStyle&&(nt=function(e,t){var n,i,o=e.currentStyle&&e.currentStyle[t],a=e.style;return null==o&&a&&a[t]&&(o=a[t]),ct.test(o)&&!st.test(t)&&(n=a.left,i=e.runtimeStyle&&e.runtimeStyle.left,i&&(e.runtimeStyle.left=e.currentStyle.left),a.left="fontSize"===t?"1em":o,o=a.pixelLeft+"px",a.left=n,i&&(e.runtimeStyle.left=i)),""===o?"auto":o}),K.each(["height","width"],function(e,t){K.cssHooks[t]={get:function(e,n,i){return n?0!==e.offsetWidth||"none"!==nt(e,"display")?_(e,t,i):K.swap(e,pt,function(){return _(e,t,i)}):void 0},set:function(e,n,i){return b(e,n,i?w(e,t,i,K.support.boxSizing&&"border-box"===K.css(e,"boxSizing")):0)}}}),K.support.opacity||(K.cssHooks.opacity={get:function(e,t){return rt.test((t&&e.currentStyle?e.currentStyle.filter:e.style.filter)||"")?.01*parseFloat(RegExp.$1)+"":t?"1":""},set:function(e,t){var n=e.style,i=e.currentStyle,o=K.isNumeric(t)?"alpha(opacity="+100*t+")":"",a=i&&i.filter||n.filter||"";n.zoom=1,t>=1&&""===K.trim(a.replace(at,""))&&n.removeAttribute&&(n.removeAttribute("filter"),i&&!i.filter)||(n.filter=at.test(a)?a.replace(at,o):a+" "+o)}}),K(function(){K.support.reliableMarginRight||(K.cssHooks.marginRight={get:function(e,t){return K.swap(e,{display:"inline-block"},function(){return t?nt(e,"marginRight"):void 0})}}),!K.support.pixelPosition&&K.fn.position&&K.each(["top","left"],function(e,t){K.cssHooks[t]={get:function(e,n){if(n){var i=nt(e,t);return ct.test(i)?K(e).position()[t]+"px":i}}}})}),K.expr&&K.expr.filters&&(K.expr.filters.hidden=function(e){return 0===e.offsetWidth&&0===e.offsetHeight||!K.support.reliableHiddenOffsets&&"none"===(e.style&&e.style.display||nt(e,"display"))},K.expr.filters.visible=function(e){return!K.expr.filters.hidden(e)}),K.each({margin:"",padding:"",border:"Width"},function(e,t){K.cssHooks[e+t]={expand:function(n){var i,o="string"==typeof n?n.split(" "):[n],a={};for(i=0;4>i;i++)a[e+mt[i]+t]=o[i]||o[i-2]||o[0];return a}},lt.test(e)||(K.cssHooks[e+t].set=b)});var vt=/%20/g,bt=/\[\]$/,wt=/\r?\n/g,_t=/^(?:color|date|datetime|datetime-local|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,xt=/^(?:select|textarea)/i;K.fn.extend({serialize:function(){return K.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?K.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||xt.test(this.nodeName)||_t.test(this.type))}).map(function(e,t){var n=K(this).val();return null==n?null:K.isArray(n)?K.map(n,function(e){return{name:t.name,value:e.replace(wt,"\r\n")}}):{name:t.name,value:n.replace(wt,"\r\n")}}).get()}}),K.param=function(e,n){var i,o=[],a=function(e,t){t=K.isFunction(t)?t():null==t?"":t,o[o.length]=encodeURIComponent(e)+"="+encodeURIComponent(t)};if(n===t&&(n=K.ajaxSettings&&K.ajaxSettings.traditional),K.isArray(e)||e.jquery&&!K.isPlainObject(e))K.each(e,function(){a(this.name,this.value)});else for(i in e)T(i,e[i],n,a);return o.join("&").replace(vt,"+")};var Tt,Dt,Ct=/#.*$/,St=/^(.*?):[ \t]*([^\r\n]*)\r?$/gm,Ot=/^(?:about|app|app\-storage|.+\-extension|file|res|widget):$/,kt=/^(?:GET|HEAD)$/,Mt=/^\/\//,Et=/\?/,Lt=/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,Nt=/([?&])_=[^&]*/,Pt=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+)|)|)/,At=K.fn.load,Ft={},Ht={},It=["*/"]+["*"];try{Tt=q.href}catch(jt){Tt=W.createElement("a"),Tt.href="",Tt=Tt.href}Dt=Pt.exec(Tt.toLowerCase())||[],K.fn.load=function(e,n,i){if("string"!=typeof e&&At)return At.apply(this,arguments);if(!this.length)return this;var o,a,r,s=this,l=e.indexOf(" ");return l>=0&&(o=e.slice(l,e.length),e=e.slice(0,l)),K.isFunction(n)?(i=n,n=t):"object"==typeof n&&(a="POST"),K.ajax({url:e,type:a,dataType:"html",data:n,complete:function(e,t){i&&s.each(i,r||[e.responseText,t,e])}}).done(function(e){r=arguments,s.html(o?K("<div>").append(e.replace(Lt,"")).find(o):e)}),this},K.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(e,t){K.fn[t]=function(e){return this.on(t,e)}}),K.each(["get","post"],function(e,n){K[n]=function(e,i,o,a){return K.isFunction(i)&&(a=a||o,o=i,i=t),K.ajax({type:n,url:e,data:i,success:o,dataType:a})}}),K.extend({getScript:function(e,n){return K.get(e,t,n,"script")},getJSON:function(e,t,n){return K.get(e,t,n,"json")},ajaxSetup:function(e,t){return t?S(e,K.ajaxSettings):(t=e,e=K.ajaxSettings),S(e,t),e},ajaxSettings:{url:Tt,isLocal:Ot.test(Dt[1]),global:!0,type:"GET",contentType:"application/x-www-form-urlencoded; charset=UTF-8",processData:!0,async:!0,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":It},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":e.String,"text html":!0,"text json":K.parseJSON,"text xml":K.parseXML},flatOptions:{context:!0,url:!0}},ajaxPrefilter:D(Ft),ajaxTransport:D(Ht),ajax:function(e,n){function i(e,n,i,r){var u,d,v,b,_,T=n;2!==w&&(w=2,l&&clearTimeout(l),s=t,a=r||"",x.readyState=e>0?4:0,i&&(b=O(f,x,i)),e>=200&&300>e||304===e?(f.ifModified&&(_=x.getResponseHeader("Last-Modified"),_&&(K.lastModified[o]=_),_=x.getResponseHeader("Etag"),_&&(K.etag[o]=_)),304===e?(T="notmodified",u=!0):(u=k(f,b),T=u.state,d=u.data,v=u.error,u=!v)):(v=T,(!T||e)&&(T="error",0>e&&(e=0))),x.status=e,x.statusText=""+(n||T),u?m.resolveWith(p,[d,T,x]):m.rejectWith(p,[x,T,v]),x.statusCode(y),y=t,c&&h.trigger("ajax"+(u?"Success":"Error"),[x,f,u?d:v]),g.fireWith(p,[x,T]),c&&(h.trigger("ajaxComplete",[x,f]),--K.active||K.event.trigger("ajaxStop")))}"object"==typeof e&&(n=e,e=t),n=n||{};var o,a,r,s,l,u,c,d,f=K.ajaxSetup({},n),p=f.context||f,h=p!==f&&(p.nodeType||p instanceof K)?K(p):K.event,m=K.Deferred(),g=K.Callbacks("once memory"),y=f.statusCode||{},v={},b={},w=0,_="canceled",x={
readyState:0,setRequestHeader:function(e,t){if(!w){var n=e.toLowerCase();e=b[n]=b[n]||e,v[e]=t}return this},getAllResponseHeaders:function(){return 2===w?a:null},getResponseHeader:function(e){var n;if(2===w){if(!r)for(r={};n=St.exec(a);)r[n[1].toLowerCase()]=n[2];n=r[e.toLowerCase()]}return n===t?null:n},overrideMimeType:function(e){return w||(f.mimeType=e),this},abort:function(e){return e=e||_,s&&s.abort(e),i(0,e),this}};if(m.promise(x),x.success=x.done,x.error=x.fail,x.complete=g.add,x.statusCode=function(e){if(e){var t;if(2>w)for(t in e)y[t]=[y[t],e[t]];else t=e[x.status],x.always(t)}return this},f.url=((e||f.url)+"").replace(Ct,"").replace(Mt,Dt[1]+"//"),f.dataTypes=K.trim(f.dataType||"*").toLowerCase().split(te),null==f.crossDomain&&(u=Pt.exec(f.url.toLowerCase()),f.crossDomain=!(!u||u[1]==Dt[1]&&u[2]==Dt[2]&&(u[3]||("http:"===u[1]?80:443))==(Dt[3]||("http:"===Dt[1]?80:443)))),f.data&&f.processData&&"string"!=typeof f.data&&(f.data=K.param(f.data,f.traditional)),C(Ft,f,n,x),2===w)return x;if(c=f.global,f.type=f.type.toUpperCase(),f.hasContent=!kt.test(f.type),c&&0===K.active++&&K.event.trigger("ajaxStart"),!f.hasContent&&(f.data&&(f.url+=(Et.test(f.url)?"&":"?")+f.data,delete f.data),o=f.url,f.cache===!1)){var T=K.now(),D=f.url.replace(Nt,"$1_="+T);f.url=D+(D===f.url?(Et.test(f.url)?"&":"?")+"_="+T:"")}(f.data&&f.hasContent&&f.contentType!==!1||n.contentType)&&x.setRequestHeader("Content-Type",f.contentType),f.ifModified&&(o=o||f.url,K.lastModified[o]&&x.setRequestHeader("If-Modified-Since",K.lastModified[o]),K.etag[o]&&x.setRequestHeader("If-None-Match",K.etag[o])),x.setRequestHeader("Accept",f.dataTypes[0]&&f.accepts[f.dataTypes[0]]?f.accepts[f.dataTypes[0]]+("*"!==f.dataTypes[0]?", "+It+"; q=0.01":""):f.accepts["*"]);for(d in f.headers)x.setRequestHeader(d,f.headers[d]);if(!f.beforeSend||f.beforeSend.call(p,x,f)!==!1&&2!==w){_="abort";for(d in{success:1,error:1,complete:1})x[d](f[d]);if(s=C(Ht,f,n,x)){x.readyState=1,c&&h.trigger("ajaxSend",[x,f]),f.async&&f.timeout>0&&(l=setTimeout(function(){x.abort("timeout")},f.timeout));try{w=1,s.send(v,i)}catch(S){if(!(2>w))throw S;i(-1,S)}}else i(-1,"No Transport");return x}return x.abort()},active:0,lastModified:{},etag:{}});var Bt=[],Rt=/\?/,Wt=/(=)\?(?=&|$)|\?\?/,qt=K.now();K.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Bt.pop()||K.expando+"_"+qt++;return this[e]=!0,e}}),K.ajaxPrefilter("json jsonp",function(n,i,o){var a,r,s,l=n.data,u=n.url,c=n.jsonp!==!1,d=c&&Wt.test(u),f=c&&!d&&"string"==typeof l&&!(n.contentType||"").indexOf("application/x-www-form-urlencoded")&&Wt.test(l);return"jsonp"===n.dataTypes[0]||d||f?(a=n.jsonpCallback=K.isFunction(n.jsonpCallback)?n.jsonpCallback():n.jsonpCallback,r=e[a],d?n.url=u.replace(Wt,"$1"+a):f?n.data=l.replace(Wt,"$1"+a):c&&(n.url+=(Rt.test(u)?"&":"?")+n.jsonp+"="+a),n.converters["script json"]=function(){return s||K.error(a+" was not called"),s[0]},n.dataTypes[0]="json",e[a]=function(){s=arguments},o.always(function(){e[a]=r,n[a]&&(n.jsonpCallback=i.jsonpCallback,Bt.push(a)),s&&K.isFunction(r)&&r(s[0]),s=r=t}),"script"):void 0}),K.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/javascript|ecmascript/},converters:{"text script":function(e){return K.globalEval(e),e}}}),K.ajaxPrefilter("script",function(e){e.cache===t&&(e.cache=!1),e.crossDomain&&(e.type="GET",e.global=!1)}),K.ajaxTransport("script",function(e){if(e.crossDomain){var n,i=W.head||W.getElementsByTagName("head")[0]||W.documentElement;return{send:function(o,a){n=W.createElement("script"),n.async="async",e.scriptCharset&&(n.charset=e.scriptCharset),n.src=e.url,n.onload=n.onreadystatechange=function(e,o){(o||!n.readyState||/loaded|complete/.test(n.readyState))&&(n.onload=n.onreadystatechange=null,i&&n.parentNode&&i.removeChild(n),n=t,o||a(200,"success"))},i.insertBefore(n,i.firstChild)},abort:function(){n&&n.onload(0,1)}}}});var Ut,$t=e.ActiveXObject?function(){for(var e in Ut)Ut[e](0,1)}:!1,zt=0;K.ajaxSettings.xhr=e.ActiveXObject?function(){return!this.isLocal&&M()||E()}:M,function(e){K.extend(K.support,{ajax:!!e,cors:!!e&&"withCredentials"in e})}(K.ajaxSettings.xhr()),K.support.ajax&&K.ajaxTransport(function(n){if(!n.crossDomain||K.support.cors){var i;return{send:function(o,a){var r,s,l=n.xhr();if(n.username?l.open(n.type,n.url,n.async,n.username,n.password):l.open(n.type,n.url,n.async),n.xhrFields)for(s in n.xhrFields)l[s]=n.xhrFields[s];n.mimeType&&l.overrideMimeType&&l.overrideMimeType(n.mimeType),!n.crossDomain&&!o["X-Requested-With"]&&(o["X-Requested-With"]="XMLHttpRequest");try{for(s in o)l.setRequestHeader(s,o[s])}catch(u){}l.send(n.hasContent&&n.data||null),i=function(e,o){var s,u,c,d,f;try{if(i&&(o||4===l.readyState))if(i=t,r&&(l.onreadystatechange=K.noop,$t&&delete Ut[r]),o)4!==l.readyState&&l.abort();else{s=l.status,c=l.getAllResponseHeaders(),d={},f=l.responseXML,f&&f.documentElement&&(d.xml=f);try{d.text=l.responseText}catch(e){}try{u=l.statusText}catch(p){u=""}s||!n.isLocal||n.crossDomain?1223===s&&(s=204):s=d.text?200:404}}catch(h){o||a(-1,h)}d&&a(s,u,d,c)},n.async?4===l.readyState?setTimeout(i,0):(r=++zt,$t&&(Ut||(Ut={},K(e).unload($t)),Ut[r]=i),l.onreadystatechange=i):i()},abort:function(){i&&i(0,1)}}}});var Vt,Xt,Qt=/^(?:toggle|show|hide)$/,Gt=new RegExp("^(?:([-+])=|)("+Z+")([a-z%]*)$","i"),Yt=/queueHooks$/,Jt=[F],Kt={"*":[function(e,t){var n,i,o,a=this.createTween(e,t),r=Gt.exec(t),s=a.cur(),l=+s||0,u=1;if(r){if(n=+r[2],i=r[3]||(K.cssNumber[e]?"":"px"),"px"!==i&&l){l=K.css(a.elem,e,!0)||n||1;do o=u=u||".5",l/=u,K.style(a.elem,e,l+i),u=a.cur()/s;while(1!==u&&u!==o)}a.unit=i,a.start=l,a.end=r[1]?l+(r[1]+1)*n:n}return a}]};K.Animation=K.extend(P,{tweener:function(e,t){K.isFunction(e)?(t=e,e=["*"]):e=e.split(" ");for(var n,i=0,o=e.length;o>i;i++)n=e[i],Kt[n]=Kt[n]||[],Kt[n].unshift(t)},prefilter:function(e,t){t?Jt.unshift(e):Jt.push(e)}}),K.Tween=H,H.prototype={constructor:H,init:function(e,t,n,i,o,a){this.elem=e,this.prop=n,this.easing=o||"swing",this.options=t,this.start=this.now=this.cur(),this.end=i,this.unit=a||(K.cssNumber[n]?"":"px")},cur:function(){var e=H.propHooks[this.prop];return e&&e.get?e.get(this):H.propHooks._default.get(this)},run:function(e){var t,n=H.propHooks[this.prop];return this.pos=t=K.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration),this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):H.propHooks._default.set(this),this}},H.prototype.init.prototype=H.prototype,H.propHooks={_default:{get:function(e){var t;return null==e.elem[e.prop]||e.elem.style&&null!=e.elem.style[e.prop]?(t=K.css(e.elem,e.prop,!1,""),t&&"auto"!==t?t:0):e.elem[e.prop]},set:function(e){K.fx.step[e.prop]?K.fx.step[e.prop](e):e.elem.style&&(null!=e.elem.style[K.cssProps[e.prop]]||K.cssHooks[e.prop])?K.style(e.elem,e.prop,e.now+e.unit):e.elem[e.prop]=e.now}}},H.propHooks.scrollTop=H.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},K.each(["toggle","show","hide"],function(e,t){var n=K.fn[t];K.fn[t]=function(i,o,a){return null==i||"boolean"==typeof i||!e&&K.isFunction(i)&&K.isFunction(o)?n.apply(this,arguments):this.animate(I(t,!0),i,o,a)}}),K.fn.extend({fadeTo:function(e,t,n,i){return this.filter(y).css("opacity",0).show().end().animate({opacity:t},e,n,i)},animate:function(e,t,n,i){var o=K.isEmptyObject(e),a=K.speed(t,n,i),r=function(){var t=P(this,K.extend({},e),a);o&&t.stop(!0)};return o||a.queue===!1?this.each(r):this.queue(a.queue,r)},stop:function(e,n,i){var o=function(e){var t=e.stop;delete e.stop,t(i)};return"string"!=typeof e&&(i=n,n=e,e=t),n&&e!==!1&&this.queue(e||"fx",[]),this.each(function(){var t=!0,n=null!=e&&e+"queueHooks",a=K.timers,r=K._data(this);if(n)r[n]&&r[n].stop&&o(r[n]);else for(n in r)r[n]&&r[n].stop&&Yt.test(n)&&o(r[n]);for(n=a.length;n--;)a[n].elem===this&&(null==e||a[n].queue===e)&&(a[n].anim.stop(i),t=!1,a.splice(n,1));(t||!i)&&K.dequeue(this,e)})}}),K.each({slideDown:I("show"),slideUp:I("hide"),slideToggle:I("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,t){K.fn[e]=function(e,n,i){return this.animate(t,e,n,i)}}),K.speed=function(e,t,n){var i=e&&"object"==typeof e?K.extend({},e):{complete:n||!n&&t||K.isFunction(e)&&e,duration:e,easing:n&&t||t&&!K.isFunction(t)&&t};return i.duration=K.fx.off?0:"number"==typeof i.duration?i.duration:i.duration in K.fx.speeds?K.fx.speeds[i.duration]:K.fx.speeds._default,(null==i.queue||i.queue===!0)&&(i.queue="fx"),i.old=i.complete,i.complete=function(){K.isFunction(i.old)&&i.old.call(this),i.queue&&K.dequeue(this,i.queue)},i},K.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2}},K.timers=[],K.fx=H.prototype.init,K.fx.tick=function(){for(var e,t=K.timers,n=0;n<t.length;n++)e=t[n],!e()&&t[n]===e&&t.splice(n--,1);t.length||K.fx.stop()},K.fx.timer=function(e){e()&&K.timers.push(e)&&!Xt&&(Xt=setInterval(K.fx.tick,K.fx.interval))},K.fx.interval=13,K.fx.stop=function(){clearInterval(Xt),Xt=null},K.fx.speeds={slow:600,fast:200,_default:400},K.fx.step={},K.expr&&K.expr.filters&&(K.expr.filters.animated=function(e){return K.grep(K.timers,function(t){return e===t.elem}).length});var Zt=/^(?:body|html)$/i;K.fn.offset=function(e){if(arguments.length)return e===t?this:this.each(function(t){K.offset.setOffset(this,e,t)});var n,i,o,a,r,s,l,u,c,d,f=this[0],p=f&&f.ownerDocument;if(p)return(o=p.body)===f?K.offset.bodyOffset(f):(i=p.documentElement,K.contains(i,f)?(n=f.getBoundingClientRect(),a=j(p),r=i.clientTop||o.clientTop||0,s=i.clientLeft||o.clientLeft||0,l=a.pageYOffset||i.scrollTop,u=a.pageXOffset||i.scrollLeft,c=n.top+l-r,d=n.left+u-s,{top:c,left:d}):{top:0,left:0})},K.offset={bodyOffset:function(e){var t=e.offsetTop,n=e.offsetLeft;return K.support.doesNotIncludeMarginInBodyOffset&&(t+=parseFloat(K.css(e,"marginTop"))||0,n+=parseFloat(K.css(e,"marginLeft"))||0),{top:t,left:n}},setOffset:function(e,t,n){var i=K.css(e,"position");"static"===i&&(e.style.position="relative");var o,a,r=K(e),s=r.offset(),l=K.css(e,"top"),u=K.css(e,"left"),c=("absolute"===i||"fixed"===i)&&K.inArray("auto",[l,u])>-1,d={},f={};c?(f=r.position(),o=f.top,a=f.left):(o=parseFloat(l)||0,a=parseFloat(u)||0),K.isFunction(t)&&(t=t.call(e,n,s)),null!=t.top&&(d.top=t.top-s.top+o),null!=t.left&&(d.left=t.left-s.left+a),"using"in t?t.using.call(e,d):r.css(d)}},K.fn.extend({position:function(){if(this[0]){var e=this[0],t=this.offsetParent(),n=this.offset(),i=Zt.test(t[0].nodeName)?{top:0,left:0}:t.offset();return n.top-=parseFloat(K.css(e,"marginTop"))||0,n.left-=parseFloat(K.css(e,"marginLeft"))||0,i.top+=parseFloat(K.css(t[0],"borderTopWidth"))||0,i.left+=parseFloat(K.css(t[0],"borderLeftWidth"))||0,{top:n.top-i.top,left:n.left-i.left}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent||W.body;e&&!Zt.test(e.nodeName)&&"static"===K.css(e,"position");)e=e.offsetParent;return e||W.body})}}),K.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,n){var i=/Y/.test(n);K.fn[e]=function(o){return K.access(this,function(e,o,a){var r=j(e);return a===t?r?n in r?r[n]:r.document.documentElement[o]:e[o]:void(r?r.scrollTo(i?K(r).scrollLeft():a,i?a:K(r).scrollTop()):e[o]=a)},e,o,arguments.length,null)}}),K.each({Height:"height",Width:"width"},function(e,n){K.each({padding:"inner"+e,content:n,"":"outer"+e},function(i,o){K.fn[o]=function(o,a){var r=arguments.length&&(i||"boolean"!=typeof o),s=i||(o===!0||a===!0?"margin":"border");return K.access(this,function(n,i,o){var a;return K.isWindow(n)?n.document.documentElement["client"+e]:9===n.nodeType?(a=n.documentElement,Math.max(n.body["scroll"+e],a["scroll"+e],n.body["offset"+e],a["offset"+e],a["client"+e])):o===t?K.css(n,i,o,s):K.style(n,i,o,s)},n,r?o:t,r)}})}),e.jQuery=e.$=K,"function"==typeof define&&define.amd&&define.amd.jQuery&&define("jquery",[],function(){return K})}(window),function(e,t,n){e.fn.responsiveSlides=function(i){var o=e.extend({auto:!0,speed:500,timeout:4e3,pager:!1,nav:!1,random:!1,pause:!1,pauseControls:!0,prevText:"Previous",nextText:"Next",maxwidth:"",navContainer:"",manualControls:"",namespace:"rslides",before:function(){},after:function(){}},i);return this.each(function(){n++;var a,r,s,l,u,c,d=e(this),f=0,p=d.children(),h=p.size(),m=parseFloat(o.speed),g=parseFloat(o.timeout),y=parseFloat(o.maxwidth),v=o.namespace,b=v+n,w=v+"_nav "+b+"_nav",_=v+"_here",x=b+"_on",T=b+"_s",D=e("<ul class='"+v+"_tabs "+b+"_tabs' />"),C={"float":"left",position:"relative",opacity:1,zIndex:2},S={"float":"none",position:"absolute",opacity:0,zIndex:1},O=function(){var e=(document.body||document.documentElement).style,t="transition";if("string"==typeof e[t])return!0;a=["Moz","Webkit","Khtml","O","ms"];var n,t=t.charAt(0).toUpperCase()+t.substr(1);for(n=0;n<a.length;n++)if("string"==typeof e[a[n]+t])return!0;return!1}(),k=function(t){o.before(),O?(p.removeClass(x).css(S).eq(t).addClass(x).css(C),f=t,setTimeout(function(){o.after()},m)):p.stop().fadeOut(m,function(){e(this).removeClass(x).css(S).css("opacity",1)}).eq(t).fadeIn(m,function(){e(this).addClass(x).css(C),o.after(),f=t})};if(o.random&&(p.sort(function(){return Math.round(Math.random())-.5}),d.empty().append(p)),p.each(function(e){this.id=T+e}),d.addClass(v+" "+b),i&&i.maxwidth&&d.css("max-width",y),p.hide().css(S).eq(0).addClass(x).css(C).show(),O&&p.show().css({"-webkit-transition":"opacity "+m+"ms ease-in-out","-moz-transition":"opacity "+m+"ms ease-in-out","-o-transition":"opacity "+m+"ms ease-in-out",transition:"opacity "+m+"ms ease-in-out"}),1<p.size()){if(m+100>g)return;if(o.pager&&!o.manualControls){var M=[];p.each(function(e){e+=1,M+="<li><a href='#' class='"+T+e+"'>"+e+"</a></li>"}),D.append(M),i.navContainer?e(o.navContainer).append(D):d.after(D)}if(o.manualControls&&(D=e(o.manualControls),D.addClass(v+"_tabs "+b+"_tabs")),(o.pager||o.manualControls)&&D.find("li").each(function(t){e(this).addClass(T+(t+1))}),(o.pager||o.manualControls)&&(c=D.find("a"),r=function(e){c.closest("li").removeClass(_).eq(e).addClass(_)}),o.auto&&(s=function(){u=setInterval(function(){p.stop(!0,!0);var e=h>f+1?f+1:0;(o.pager||o.manualControls)&&r(e),k(e)},g)})(),l=function(){o.auto&&(clearInterval(u),s())},o.pause&&d.hover(function(){clearInterval(u)},function(){l()}),(o.pager||o.manualControls)&&(c.bind("click",function(t){t.preventDefault(),o.pauseControls||l(),t=c.index(this),f===t||e("."+x).queue("fx").length||(r(t),k(t))}).eq(0).closest("li").addClass(_),o.pauseControls&&c.hover(function(){clearInterval(u)},function(){l()})),o.nav){v="<a href='#' class='"+w+" prev'>"+o.prevText+"</a><a href='#' class='"+w+" next'>"+o.nextText+"</a>",i.navContainer?e(o.navContainer).append(v):d.after(v);var b=e("."+b+"_nav"),E=b.filter(".prev");b.bind("click",function(t){if(t.preventDefault(),t=e("."+x),!t.queue("fx").length){var n=p.index(t);t=n-1,n=h>n+1?f+1:0,k(e(this)[0]===E[0]?t:n),(o.pager||o.manualControls)&&r(e(this)[0]===E[0]?t:n),o.pauseControls||l()}}),o.pauseControls&&b.hover(function(){clearInterval(u)},function(){l()})}}if("undefined"==typeof document.body.style.maxWidth&&i.maxwidth){var L=function(){d.css("width","100%"),d.width()>y&&d.css("width",y)};L(),e(t).bind("resize",function(){L()})}})}}(jQuery,this,0),function(e,t){"use strict";function n(n,i){function o(e){return ge.preferFlash&&le&&!ge.ignoreFlash&&ge.flash[e]!==t&&ge.flash[e]}function a(e){return function(t){var n,i=this._s;return i&&i._a?n=e.call(this,t):(i&&i.id?ge._wD(i.id+": Ignoring "+t.type):ge._wD(_e+"Ignoring "+t.type),n=null),n}}this.setupOptions={url:n||null,flashVersion:8,debugMode:!0,debugFlash:!1,useConsole:!0,consoleOnly:!0,waitForWindowLoad:!1,bgColor:"#ffffff",useHighPerformance:!1,flashPollingInterval:null,html5PollingInterval:null,flashLoadTimeout:1e3,wmode:null,allowScriptAccess:"always",useFlashBlock:!1,useHTML5Audio:!0,forceUseGlobalHTML5Audio:!1,ignoreMobileRestrictions:!1,html5Test:/^(probably|maybe)$/i,preferFlash:!1,noSWFCache:!1,idPrefix:"sound"},this.defaultOptions={autoLoad:!1,autoPlay:!1,from:null,loops:1,onid3:null,onload:null,whileloading:null,onplay:null,onpause:null,onresume:null,whileplaying:null,onposition:null,onstop:null,onfailure:null,onfinish:null,multiShot:!0,multiShotEvents:!1,position:null,pan:0,stream:!0,to:null,type:null,usePolicyFile:!1,volume:100},this.flash9Options={isMovieStar:null,usePeakData:!1,useWaveformData:!1,useEQData:!1,onbufferchange:null,ondataerror:null},this.movieStarOptions={bufferTime:3,serverURL:null,onconnect:null,duration:null},this.audioFormats={mp3:{type:['audio/mpeg; codecs="mp3"',"audio/mpeg","audio/mp3","audio/MPA","audio/mpa-robust"],required:!0},mp4:{related:["aac","m4a","m4b"],type:['audio/mp4; codecs="mp4a.40.2"',"audio/aac","audio/x-m4a","audio/MP4A-LATM","audio/mpeg4-generic"],required:!1},ogg:{type:["audio/ogg; codecs=vorbis"],required:!1},opus:{type:["audio/ogg; codecs=opus","audio/opus"],required:!1},wav:{type:['audio/wav; codecs="1"',"audio/wav","audio/wave","audio/x-wav"],required:!1}},this.movieID="sm2-container",this.id=i||"sm2movie",this.debugID="soundmanager-debug",this.debugURLParam=/([#?&])debug=1/i,this.versionNumber="V2.97a.20150601",this.version=null,this.movieURL=null,this.altURL=null,this.swfLoaded=!1,this.enabled=!1,this.oMC=null,this.sounds={},this.soundIDs=[],this.muted=!1,this.didFlashBlock=!1,this.filePattern=null,this.filePatterns={flash8:/\.mp3(\?.*)?$/i,flash9:/\.mp3(\?.*)?$/i},this.features={buffering:!1,peakData:!1,waveformData:!1,eqData:!1,movieStar:!1},this.sandbox={type:null,types:{remote:"remote (domain-based) rules",localWithFile:"local with file access (no internet access)",localWithNetwork:"local with network (internet access only, no local access)",localTrusted:"local, trusted (local+internet access)"},description:null,noRemote:null,noLocal:null},this.html5={usingFlash:null},this.flash={},this.html5Only=!1,this.ignoreFlash=!1;var r,s,l,u,c,d,f,p,h,m,g,y,v,b,w,_,x,T,D,C,S,O,k,M,E,L,N,P,A,F,H,I,j,B,R,W,q,U,$,z,V,X,Q,G,Y,J,K,Z,ee,te,ne,ie,oe,ae,re,se,le,ue,ce,de,fe,pe,he,me,ge=this,ye=null,ve=null,be="soundManager",we=be+": ",_e="HTML5::",xe=navigator.userAgent,Te=e.location.href.toString(),De=document,Ce=[],Se=!0,Oe=!1,ke=!1,Me=!1,Ee=!1,Le=!1,Ne=0,Pe=["log","info","warn","error"],Ae=8,Fe=null,He=null,Ie=!1,je=!1,Be=0,Re=null,We=[],qe=null,Ue=Array.prototype.slice,$e=!1,ze=0,Ve=1e3,Xe=xe.match(/(ipad|iphone|ipod)/i),Qe=xe.match(/android/i),Ge=xe.match(/msie/i),Ye=xe.match(/webkit/i),Je=xe.match(/safari/i)&&!xe.match(/chrome/i),Ke=xe.match(/opera/i),Ze=xe.match(/(mobile|pre\/|xoom)/i)||Xe||Qe,et=!Te.match(/usehtml5audio/i)&&!Te.match(/sm2\-ignorebadua/i)&&Je&&!xe.match(/silk/i)&&xe.match(/OS X 10_6_([3-7])/i),tt=e.console!==t&&console.log!==t,nt=De.hasFocus!==t?De.hasFocus():null,it=Je&&(De.hasFocus===t||!De.hasFocus()),ot=!it,at=/(mp3|mp4|mpa|m4a|m4b)/i,rt="about:blank",st="data:audio/wave;base64,/UklGRiYAAABXQVZFZm10IBAAAAABAAEARKwAAIhYAQACABAAZGF0YQIAAAD//w==",lt=De.location?De.location.protocol.match(/http/i):null,ut=lt?"":"http://",ct=/^\s*audio\/(?:x-)?(?:mpeg4|aac|flv|mov|mp4||m4v|m4a|m4b|mp4v|3gp|3g2)\s*(?:$|;)/i,dt=["mpeg4","aac","flv","mov","mp4","m4v","f4v","m4a","m4b","mp4v","3gp","3g2"],ft=new RegExp("\\.("+dt.join("|")+")(\\?.*)?$","i");this.mimePattern=/^\s*audio\/(?:x-)?(?:mp(?:eg|3))\s*(?:$|;)/i,this.useAltURL=!lt,q={swfBox:"sm2-object-box",swfDefault:"movieContainer",swfError:"swf_error",swfTimedout:"swf_timedout",swfLoaded:"swf_loaded",swfUnblocked:"swf_unblocked",sm2Debug:"sm2_debug",highPerf:"high_performance",flashDebug:"flash_debug"},this.hasHTML5=function(){try{return Audio!==t&&(Ke&&opera!==t&&opera.version()<10?new Audio(null):new Audio).canPlayType!==t}catch(e){return!1}}(),this.setup=function(e){var n=!ge.url;return e!==t&&Me&&qe&&ge.ok()&&(e.flashVersion!==t||e.url!==t||e.html5Test!==t)&&V(B("setupLate")),g(e),$e||(Ze?(!ge.setupOptions.ignoreMobileRestrictions||ge.setupOptions.forceUseGlobalHTML5Audio)&&(We.push(S.globalHTML5),$e=!0):ge.setupOptions.forceUseGlobalHTML5Audio&&(We.push(S.globalHTML5),$e=!0)),!me&&Ze&&(ge.setupOptions.ignoreMobileRestrictions?We.push(S.ignoreMobile):((!ge.setupOptions.useHTML5Audio||ge.setupOptions.preferFlash)&&ge._wD(S.mobileUA),ge.setupOptions.useHTML5Audio=!0,ge.setupOptions.preferFlash=!1,Xe?ge.ignoreFlash=!0:(Qe&&!xe.match(/android\s2\.3/i)||!Qe)&&(ge._wD(S.globalHTML5),$e=!0))),e&&(n&&E&&e.url!==t&&ge.beginDelayedInit(),E||e.url===t||"complete"!==De.readyState||setTimeout(k,1)),me=!0,ge},this.ok=function(){return qe?Me&&!Ee:ge.useHTML5Audio&&ge.hasHTML5},this.supported=this.ok,this.getMovie=function(t){return s(t)||De[t]||e[t]},this.createSound=function(e,n){function i(){return s=$(s),ge.sounds[s.id]=new r(s),ge.soundIDs.push(s.id),ge.sounds[s.id]}var o,a,s,l=null;if(o=be+".createSound(): ",a=o+B(Me?"notOK":"notReady"),!Me||!ge.ok())return V(a),!1;if(n!==t&&(e={id:e,url:n}),s=m(e),s.url=J(s.url),s.id===t&&(s.id=ge.setupOptions.idPrefix+ze++),s.id.toString().charAt(0).match(/^[0-9]$/)&&ge._wD(o+B("badID",s.id),2),ge._wD(o+s.id+(s.url?" ("+s.url+")":""),1),X(s.id,!0))return ge._wD(o+s.id+" exists",1),ge.sounds[s.id];if(ee(s))l=i(),ge.html5Only||ge._wD(s.id+": Using HTML5"),l._setup_html5(s);else{if(ge.html5Only)return ge._wD(s.id+": No HTML5 support for this sound, and no Flash. Exiting."),i();if(ge.html5.usingFlash&&s.url&&s.url.match(/data\:/i))return ge._wD(s.id+": data: URIs not supported via Flash. Exiting."),i();d>8&&(null===s.isMovieStar&&(s.isMovieStar=!!(s.serverURL||(s.type?s.type.match(ct):!1)||s.url&&s.url.match(ft))),s.isMovieStar&&(ge._wD(o+"using MovieStar handling"),s.loops>1&&p("noNSLoop"))),s=z(s,o),l=i(),8===d?ve._createSound(s.id,s.loops||1,s.usePolicyFile):(ve._createSound(s.id,s.url,s.usePeakData,s.useWaveformData,s.useEQData,s.isMovieStar,s.isMovieStar?s.bufferTime:!1,s.loops||1,s.serverURL,s.duration||null,s.autoPlay,!0,s.autoLoad,s.usePolicyFile),s.serverURL||(l.connected=!0,s.onconnect&&s.onconnect.apply(l))),s.serverURL||!s.autoLoad&&!s.autoPlay||l.load(s)}return!s.serverURL&&s.autoPlay&&l.play(),l},this.destroySound=function(e,t){if(!X(e))return!1;var n,i=ge.sounds[e];for(i.stop(),i._iO={},i.unload(),n=0;n<ge.soundIDs.length;n++)if(ge.soundIDs[n]===e){ge.soundIDs.splice(n,1);break}return t||i.destruct(!0),i=null,delete ge.sounds[e],!0},this.load=function(e,t){return X(e)?ge.sounds[e].load(t):!1},this.unload=function(e){return X(e)?ge.sounds[e].unload():!1},this.onPosition=function(e,t,n,i){return X(e)?ge.sounds[e].onposition(t,n,i):!1},this.onposition=this.onPosition,this.clearOnPosition=function(e,t,n){return X(e)?ge.sounds[e].clearOnPosition(t,n):!1},this.play=function(e,t){var n=null,i=t&&!(t instanceof Object);if(!Me||!ge.ok())return V(be+".play(): "+B(Me?"notOK":"notReady")),!1;if(X(e,i))i&&(t={url:t});else{if(!i)return!1;i&&(t={url:t}),t&&t.url&&(ge._wD(be+'.play(): Attempting to create "'+e+'"',1),t.id=e,n=ge.createSound(t).play())}return null===n&&(n=ge.sounds[e].play(t)),n},this.start=this.play,this.setPosition=function(e,t){return X(e)?ge.sounds[e].setPosition(t):!1},this.stop=function(e){return X(e)?(ge._wD(be+".stop("+e+")",1),ge.sounds[e].stop()):!1},this.stopAll=function(){var e;ge._wD(be+".stopAll()",1);for(e in ge.sounds)ge.sounds.hasOwnProperty(e)&&ge.sounds[e].stop()},this.pause=function(e){return X(e)?ge.sounds[e].pause():!1},this.pauseAll=function(){var e;for(e=ge.soundIDs.length-1;e>=0;e--)ge.sounds[ge.soundIDs[e]].pause()},this.resume=function(e){return X(e)?ge.sounds[e].resume():!1},this.resumeAll=function(){var e;for(e=ge.soundIDs.length-1;e>=0;e--)ge.sounds[ge.soundIDs[e]].resume()},this.togglePause=function(e){return X(e)?ge.sounds[e].togglePause():!1},this.setPan=function(e,t){return X(e)?ge.sounds[e].setPan(t):!1},this.setVolume=function(e,n){var i,o;{if(e===t||isNaN(e)||n!==t)return X(e)?ge.sounds[e].setVolume(n):!1;for(i=0,o=ge.soundIDs.length;o>i;i++)ge.sounds[ge.soundIDs[i]].setVolume(e)}},this.mute=function(e){var t=0;if(e instanceof String&&(e=null),e)return X(e)?(ge._wD(be+'.mute(): Muting "'+e+'"'),ge.sounds[e].mute()):!1;for(ge._wD(be+".mute(): Muting all sounds"),t=ge.soundIDs.length-1;t>=0;t--)ge.sounds[ge.soundIDs[t]].mute();return ge.muted=!0,!0},this.muteAll=function(){ge.mute()},this.unmute=function(e){var t;if(e instanceof String&&(e=null),e)return X(e)?(ge._wD(be+'.unmute(): Unmuting "'+e+'"'),ge.sounds[e].unmute()):!1;for(ge._wD(be+".unmute(): Unmuting all sounds"),t=ge.soundIDs.length-1;t>=0;t--)ge.sounds[ge.soundIDs[t]].unmute();return ge.muted=!1,!0},this.unmuteAll=function(){ge.unmute()},this.toggleMute=function(e){return X(e)?ge.sounds[e].toggleMute():!1},this.getMemoryUse=function(){var e=0;return ve&&8!==d&&(e=parseInt(ve._getMemoryUse(),10)),e},this.disable=function(n){var i;if(n===t&&(n=!1),Ee)return!1;for(Ee=!0,p("shutdown",1),i=ge.soundIDs.length-1;i>=0;i--)H(ge.sounds[ge.soundIDs[i]]);return h(n),re.remove(e,"load",w),!0},this.canPlayMIME=function(e){var t;return ge.hasHTML5&&(t=te({type:e})),!t&&qe&&(t=e&&ge.ok()?!!((d>8?e.match(ct):null)||e.match(ge.mimePattern)):null),t},this.canPlayURL=function(e){var t;return ge.hasHTML5&&(t=te({url:e})),!t&&qe&&(t=e&&ge.ok()?!!e.match(ge.filePattern):null),t},this.canPlayLink=function(e){return e.type!==t&&e.type&&ge.canPlayMIME(e.type)?!0:ge.canPlayURL(e.href)},this.getSoundById=function(e,t){if(!e)return null;var n=ge.sounds[e];return n||t||ge._wD(be+'.getSoundById(): Sound "'+e+'" not found.',2),n},this.onready=function(t,n){var i="onready",o=!1;if("function"!=typeof t)throw B("needFunction",i);return Me&&ge._wD(B("queue",i)),n||(n=e),v(i,t,n),b(),o=!0,o},this.ontimeout=function(t,n){var i="ontimeout",o=!1;if("function"!=typeof t)throw B("needFunction",i);return Me&&ge._wD(B("queue",i)),n||(n=e),v(i,t,n),b({type:i}),o=!0,o},this._writeDebug=function(e,n){var i,o,a="soundmanager-debug";return ge.setupOptions.debugMode?tt&&ge.useConsole&&(n&&"object"==typeof n?console.log(e,n):Pe[n]!==t?console[Pe[n]](e):console.log(e),ge.consoleOnly)?!0:(i=s(a))?(o=De.createElement("div"),++Ne%2===0&&(o.className="sm2-alt"),n=n===t?0:parseInt(n,10),o.appendChild(De.createTextNode(e)),n&&(n>=2&&(o.style.fontWeight="bold"),3===n&&(o.style.color="#ff3333")),i.insertBefore(o,i.firstChild),i=null,!0):!1:!1},-1!==Te.indexOf("sm2-debug=alert")&&(this._writeDebug=function(t){e.alert(t)}),this._wD=this._writeDebug,this._debug=function(){var e,t;for(p("currentObj",1),e=0,t=ge.soundIDs.length;t>e;e++)ge.sounds[ge.soundIDs[e]]._debug()},this.reboot=function(t,n){ge.soundIDs.length&&ge._wD("Destroying "+ge.soundIDs.length+" SMSound object"+(1!==ge.soundIDs.length?"s":"")+"...");var i,o,a;for(i=ge.soundIDs.length-1;i>=0;i--)ge.sounds[ge.soundIDs[i]].destruct();if(ve)try{Ge&&(He=ve.innerHTML),Fe=ve.parentNode.removeChild(ve)}catch(r){p("badRemove",2)}if(He=Fe=qe=ve=null,ge.enabled=E=Me=Ie=je=Oe=ke=Ee=$e=ge.swfLoaded=!1,ge.soundIDs=[],ge.sounds={},ze=0,me=!1,t)Ce=[];else for(i in Ce)if(Ce.hasOwnProperty(i))for(o=0,a=Ce[i].length;a>o;o++)Ce[i][o].fired=!1;return n||ge._wD(be+": Rebooting..."),ge.html5={usingFlash:null},ge.flash={},ge.html5Only=!1,ge.ignoreFlash=!1,e.setTimeout(function(){n||ge.beginDelayedInit()},20),ge},this.reset=function(){return p("reset"),ge.reboot(!0,!0)},this.getMoviePercent=function(){return ve&&"PercentLoaded"in ve?ve.PercentLoaded():null},this.beginDelayedInit=function(){Le=!0,k(),setTimeout(function(){return je?!1:(N(),O(),je=!0,!0)},20),_()},this.destruct=function(){ge._wD(be+".destruct()"),ge.disable(!0)},r=function(e){var n,i,o,a,r,s,l,u,c,h,g=this,y=!1,v=[],b=0,w=null;c={duration:null,time:null},this.id=e.id,this.sID=this.id,this.url=e.url,this.options=m(e),this.instanceOptions=this.options,this._iO=this.instanceOptions,this.pan=this.options.pan,this.volume=this.options.volume,this.isHTML5=!1,this._a=null,h=this.url?!1:!0,this.id3={},this._debug=function(){ge._wD(g.id+": Merged options:",g.options)},this.load=function(e){var n,i=null;if(e!==t?g._iO=m(e,g.options):(e=g.options,g._iO=e,w&&w!==g.url&&(p("manURL"),g._iO.url=g.url,g.url=null)),g._iO.url||(g._iO.url=g.url),g._iO.url=J(g._iO.url),g.instanceOptions=g._iO,n=g._iO,ge._wD(g.id+": load ("+n.url+")"),!n.url&&!g.url)return ge._wD(g.id+": load(): url is unassigned. Exiting.",2),g;if(g.isHTML5||8!==d||g.url||n.autoPlay||ge._wD(g.id+": Flash 8 load() limitation: Wait for onload() before calling play().",1),n.url===g.url&&0!==g.readyState&&2!==g.readyState)return p("onURL",1),3===g.readyState&&n.onload&&he(g,function(){n.onload.apply(g,[!!g.duration])}),g;if(g.loaded=!1,g.readyState=1,g.playState=0,g.id3={},ee(n))i=g._setup_html5(n),i._called_load?ge._wD(g.id+": Ignoring request to load again"):(g._html5_canplay=!1,g.url!==n.url&&(ge._wD(p("manURL")+": "+n.url),g._a.src=n.url,g.setPosition(0)),g._a.autobuffer="auto",g._a.preload="auto",g._a._called_load=!0);else{if(ge.html5Only)return ge._wD(g.id+": No flash support. Exiting."),g;if(g._iO.url&&g._iO.url.match(/data\:/i))return ge._wD(g.id+": data: URIs not supported via Flash. Exiting."),g;try{g.isHTML5=!1,g._iO=z($(n)),g._iO.autoPlay&&(g._iO.position||g._iO.from)&&(ge._wD(g.id+": Disabling autoPlay because of non-zero offset case"),g._iO.autoPlay=!1),n=g._iO,8===d?ve._load(g.id,n.url,n.stream,n.autoPlay,n.usePolicyFile):ve._load(g.id,n.url,!!n.stream,!!n.autoPlay,n.loops||1,!!n.autoLoad,n.usePolicyFile)}catch(o){p("smError",2),f("onload",!1),P({type:"SMSOUND_LOAD_JS_EXCEPTION",fatal:!0})}}return g.url=n.url,g},this.unload=function(){return 0!==g.readyState&&(ge._wD(g.id+": unload()"),g.isHTML5?(a(),g._a&&(g._a.pause(),w=ie(g._a))):8===d?ve._unload(g.id,rt):ve._unload(g.id),n()),g},this.destruct=function(e){ge._wD(g.id+": Destruct"),g.isHTML5?(a(),g._a&&(g._a.pause(),ie(g._a),$e||o(),g._a._s=null,g._a=null)):(g._iO.onfailure=null,ve._destroySound(g.id)),e||ge.destroySound(g.id,!0)},this.play=function(e,n){var i,o,a,l,c,f,p,v=!0,b=null;if(i=g.id+": play(): ",n=n===t?!0:n,e||(e={}),g.url&&(g._iO.url=g.url),g._iO=m(g._iO,g.options),g._iO=m(e,g._iO),g._iO.url=J(g._iO.url),g.instanceOptions=g._iO,!g.isHTML5&&g._iO.serverURL&&!g.connected)return g.getAutoPlay()||(ge._wD(i+" Netstream not connected yet - setting autoPlay"),g.setAutoPlay(!0)),g;if(ee(g._iO)&&(g._setup_html5(g._iO),r()),1!==g.playState||g.paused||(o=g._iO.multiShot,o?ge._wD(i+"Already playing (multi-shot)",1):(ge._wD(i+"Already playing (one-shot)",1),g.isHTML5&&g.setPosition(g._iO.position),b=g)),null!==b)return b;if(e.url&&e.url!==g.url&&(g.readyState||g.isHTML5||8!==d||!h?g.load(g._iO):h=!1),g.loaded?ge._wD(i.substr(0,i.lastIndexOf(":"))):0===g.readyState?(ge._wD(i+"Attempting to load"),g.isHTML5||ge.html5Only?g.isHTML5?g.load(g._iO):(ge._wD(i+"Unsupported type. Exiting."),b=g):(g._iO.autoPlay=!0,g.load(g._iO)),g.instanceOptions=g._iO):2===g.readyState?(ge._wD(i+"Could not load - exiting",2),b=g):ge._wD(i+"Loading - attempting to play..."),null!==b)return b;if(!g.isHTML5&&9===d&&g.position>0&&g.position===g.duration&&(ge._wD(i+"Sound at end, resetting to position: 0"),e.position=0),g.paused&&g.position>=0&&(!g._iO.serverURL||g.position>0))ge._wD(i+"Resuming from paused state",1),g.resume();else{if(g._iO=m(e,g._iO),(!g.isHTML5&&null!==g._iO.position&&g._iO.position>0||null!==g._iO.from&&g._iO.from>0||null!==g._iO.to)&&0===g.instanceCount&&0===g.playState&&!g._iO.serverURL){if(l=function(){g._iO=m(e,g._iO),g.play(g._iO)},g.isHTML5&&!g._html5_canplay?(ge._wD(i+"Beginning load for non-zero offset case"),g.load({_oncanplay:l}),b=!1):g.isHTML5||g.loaded||g.readyState&&2===g.readyState||(ge._wD(i+"Preloading for non-zero offset case"),g.load({onload:l}),b=!1),null!==b)return b;g._iO=u()}(!g.instanceCount||g._iO.multiShotEvents||g.isHTML5&&g._iO.multiShot&&!$e||!g.isHTML5&&d>8&&!g.getAutoPlay())&&g.instanceCount++,g._iO.onposition&&0===g.playState&&s(g),g.playState=1,g.paused=!1,g.position=g._iO.position===t||isNaN(g._iO.position)?0:g._iO.position,g.isHTML5||(g._iO=z($(g._iO))),g._iO.onplay&&n&&(g._iO.onplay.apply(g),y=!0),g.setVolume(g._iO.volume,!0),
g.setPan(g._iO.pan,!0),g.isHTML5?g.instanceCount<2?(r(),a=g._setup_html5(),g.setPosition(g._iO.position),a.play()):(ge._wD(g.id+": Cloning Audio() for instance #"+g.instanceCount+"..."),c=new Audio(g._iO.url),f=function(){re.remove(c,"ended",f),g._onfinish(g),ie(c),c=null},p=function(){re.remove(c,"canplay",p);try{c.currentTime=g._iO.position/Ve}catch(e){V(g.id+": multiShot play() failed to apply position of "+g._iO.position/Ve)}c.play()},re.add(c,"ended",f),g._iO.volume!==t&&(c.volume=Math.max(0,Math.min(1,g._iO.volume/100))),g.muted&&(c.muted=!0),g._iO.position?re.add(c,"canplay",p):c.play()):(v=ve._start(g.id,g._iO.loops||1,9===d?g.position:g.position/Ve,g._iO.multiShot||!1),9!==d||v||(ge._wD(i+"No sound hardware, or 32-sound ceiling hit",2),g._iO.onplayerror&&g._iO.onplayerror.apply(g)))}return g},this.start=this.play,this.stop=function(e){var t,n=g._iO;return 1===g.playState&&(ge._wD(g.id+": stop()"),g._onbufferchange(0),g._resetOnPosition(0),g.paused=!1,g.isHTML5||(g.playState=0),l(),n.to&&g.clearOnPosition(n.to),g.isHTML5?g._a&&(t=g.position,g.setPosition(0),g.position=t,g._a.pause(),g.playState=0,g._onTimer(),a()):(ve._stop(g.id,e),n.serverURL&&g.unload()),g.instanceCount=0,g._iO={},n.onstop&&n.onstop.apply(g)),g},this.setAutoPlay=function(e){ge._wD(g.id+": Autoplay turned "+(e?"on":"off")),g._iO.autoPlay=e,g.isHTML5||(ve._setAutoPlay(g.id,e),e&&(g.instanceCount||1!==g.readyState||(g.instanceCount++,ge._wD(g.id+": Incremented instance count to "+g.instanceCount))))},this.getAutoPlay=function(){return g._iO.autoPlay},this.setPosition=function(e){e===t&&(e=0);var n,i,o=g.isHTML5?Math.max(e,0):Math.min(g.duration||g._iO.duration,Math.max(e,0));if(g.position=o,i=g.position/Ve,g._resetOnPosition(g.position),g._iO.position=o,g.isHTML5){if(g._a){if(g._html5_canplay){if(g._a.currentTime!==i){ge._wD(g.id+": setPosition("+i+")");try{g._a.currentTime=i,(0===g.playState||g.paused)&&g._a.pause()}catch(a){ge._wD(g.id+": setPosition("+i+") failed: "+a.message,2)}}}else if(i)return ge._wD(g.id+": setPosition("+i+"): Cannot seek yet, sound not ready",2),g;g.paused&&g._onTimer(!0)}}else n=9===d?g.position:i,g.readyState&&2!==g.readyState&&ve._setPosition(g.id,n,g.paused||!g.playState,g._iO.multiShot);return g},this.pause=function(e){return g.paused||0===g.playState&&1!==g.readyState?g:(ge._wD(g.id+": pause()"),g.paused=!0,g.isHTML5?(g._setup_html5().pause(),a()):(e||e===t)&&ve._pause(g.id,g._iO.multiShot),g._iO.onpause&&g._iO.onpause.apply(g),g)},this.resume=function(){var e=g._iO;return g.paused?(ge._wD(g.id+": resume()"),g.paused=!1,g.playState=1,g.isHTML5?(g._setup_html5().play(),r()):(e.isMovieStar&&!e.serverURL&&g.setPosition(g.position),ve._pause(g.id,e.multiShot)),!y&&e.onplay?(e.onplay.apply(g),y=!0):e.onresume&&e.onresume.apply(g),g):g},this.togglePause=function(){return ge._wD(g.id+": togglePause()"),0===g.playState?(g.play({position:9!==d||g.isHTML5?g.position/Ve:g.position}),g):(g.paused?g.resume():g.pause(),g)},this.setPan=function(e,n){return e===t&&(e=0),n===t&&(n=!1),g.isHTML5||ve._setPan(g.id,e),g._iO.pan=e,n||(g.pan=e,g.options.pan=e),g},this.setVolume=function(e,n){return e===t&&(e=100),n===t&&(n=!1),g.isHTML5?g._a&&(ge.muted&&!g.muted&&(g.muted=!0,g._a.muted=!0),g._a.volume=Math.max(0,Math.min(1,e/100))):ve._setVolume(g.id,ge.muted&&!g.muted||g.muted?0:e),g._iO.volume=e,n||(g.volume=e,g.options.volume=e),g},this.mute=function(){return g.muted=!0,g.isHTML5?g._a&&(g._a.muted=!0):ve._setVolume(g.id,0),g},this.unmute=function(){g.muted=!1;var e=g._iO.volume!==t;return g.isHTML5?g._a&&(g._a.muted=!1):ve._setVolume(g.id,e?g._iO.volume:g.options.volume),g},this.toggleMute=function(){return g.muted?g.unmute():g.mute()},this.onPosition=function(e,n,i){return v.push({position:parseInt(e,10),method:n,scope:i!==t?i:g,fired:!1}),g},this.onposition=this.onPosition,this.clearOnPosition=function(e,t){var n;if(e=parseInt(e,10),isNaN(e))return!1;for(n=0;n<v.length;n++)e===v[n].position&&(t&&t!==v[n].method||(v[n].fired&&b--,v.splice(n,1)))},this._processOnPosition=function(){var e,t,n=v.length;if(!n||!g.playState||b>=n)return!1;for(e=n-1;e>=0;e--)t=v[e],!t.fired&&g.position>=t.position&&(t.fired=!0,b++,t.method.apply(t.scope,[t.position]),n=v.length);return!0},this._resetOnPosition=function(e){var t,n,i=v.length;if(!i)return!1;for(t=i-1;t>=0;t--)n=v[t],n.fired&&e<=n.position&&(n.fired=!1,b--);return!0},u=function(){var e,t,n=g._iO,i=n.from,o=n.to;return t=function(){ge._wD(g.id+': "To" time of '+o+" reached."),g.clearOnPosition(o,t),g.stop()},e=function(){ge._wD(g.id+': Playing "from" '+i),null===o||isNaN(o)||g.onPosition(o,t)},null===i||isNaN(i)||(n.position=i,n.multiShot=!1,e()),n},s=function(){var e,t=g._iO.onposition;if(t)for(e in t)t.hasOwnProperty(e)&&g.onPosition(parseInt(e,10),t[e])},l=function(){var e,t=g._iO.onposition;if(t)for(e in t)t.hasOwnProperty(e)&&g.clearOnPosition(parseInt(e,10))},r=function(){g.isHTML5&&Q(g)},a=function(){g.isHTML5&&G(g)},n=function(e){e||(v=[],b=0),y=!1,g._hasTimer=null,g._a=null,g._html5_canplay=!1,g.bytesLoaded=null,g.bytesTotal=null,g.duration=g._iO&&g._iO.duration?g._iO.duration:null,g.durationEstimate=null,g.buffered=[],g.eqData=[],g.eqData.left=[],g.eqData.right=[],g.failures=0,g.isBuffering=!1,g.instanceOptions={},g.instanceCount=0,g.loaded=!1,g.metadata={},g.readyState=0,g.muted=!1,g.paused=!1,g.peakData={left:0,right:0},g.waveformData={left:[],right:[]},g.playState=0,g.position=null,g.id3={}},n(),this._onTimer=function(e){var t,n,i=!1,o={};return g._hasTimer||e?(g._a&&(e||(g.playState>0||1===g.readyState)&&!g.paused)&&(t=g._get_html5_duration(),t!==c.duration&&(c.duration=t,g.duration=t,i=!0),g.durationEstimate=g.duration,n=g._a.currentTime*Ve||0,n!==c.time&&(c.time=n,i=!0),(i||e)&&g._whileplaying(n,o,o,o,o)),i):void 0},this._get_html5_duration=function(){var e=g._iO,t=g._a&&g._a.duration?g._a.duration*Ve:e&&e.duration?e.duration:null,n=t&&!isNaN(t)&&t!==1/0?t:null;return n},this._apply_loop=function(e,t){!e.loop&&t>1&&ge._wD("Note: Native HTML5 looping is infinite.",1),e.loop=t>1?"loop":""},this._setup_html5=function(e){var t,o=m(g._iO,e),a=$e?ye:g._a,r=decodeURI(o.url);if($e?r===decodeURI(se)&&(t=!0):r===decodeURI(w)&&(t=!0),a){if(a._s)if($e)a._s&&a._s.playState&&!t&&a._s.stop();else if(!$e&&r===decodeURI(w))return g._apply_loop(a,o.loops),a;t||(w&&n(!1),a.src=o.url,g.url=o.url,w=o.url,se=o.url,a._called_load=!1)}else o.autoLoad||o.autoPlay?(g._a=new Audio(o.url),g._a.load()):g._a=Ke&&opera.version()<10?new Audio(null):new Audio,a=g._a,a._called_load=!1,$e&&(ye=a);return g.isHTML5=!0,g._a=a,a._s=g,i(),g._apply_loop(a,o.loops),o.autoLoad||o.autoPlay?g.load():(a.autobuffer=!1,a.preload="auto"),a},i=function(){function e(e,t,n){return g._a?g._a.addEventListener(e,t,n||!1):null}if(g._a._added_events)return!1;var t;g._a._added_events=!0;for(t in de)de.hasOwnProperty(t)&&e(t,de[t]);return!0},o=function(){function e(e,t,n){return g._a?g._a.removeEventListener(e,t,n||!1):null}var t;ge._wD(g.id+": Removing event listeners"),g._a._added_events=!1;for(t in de)de.hasOwnProperty(t)&&e(t,de[t])},this._onload=function(e){var t,n=!!e||!g.isHTML5&&8===d&&g.duration;return t=g.id+": ",ge._wD(t+(n?"onload()":"Failed to load / invalid sound?"+(g.duration?" -":" Zero-length duration reported.")+" ("+g.url+")"),n?1:2),n||g.isHTML5||(ge.sandbox.noRemote===!0&&ge._wD(t+B("noNet"),1),ge.sandbox.noLocal===!0&&ge._wD(t+B("noLocal"),1)),g.loaded=n,g.readyState=n?3:2,g._onbufferchange(0),g._iO.onload&&he(g,function(){g._iO.onload.apply(g,[n])}),!0},this._onbufferchange=function(e){return 0===g.playState?!1:e&&g.isBuffering||!e&&!g.isBuffering?!1:(g.isBuffering=1===e,g._iO.onbufferchange&&(ge._wD(g.id+": Buffer state change: "+e),g._iO.onbufferchange.apply(g,[e])),!0)},this._onsuspend=function(){return g._iO.onsuspend&&(ge._wD(g.id+": Playback suspended"),g._iO.onsuspend.apply(g)),!0},this._onfailure=function(e,t,n){g.failures++,ge._wD(g.id+": Failure ("+g.failures+"): "+e),g._iO.onfailure&&1===g.failures?g._iO.onfailure(e,t,n):ge._wD(g.id+": Ignoring failure")},this._onwarning=function(e,t,n){g._iO.onwarning&&g._iO.onwarning(e,t,n)},this._onfinish=function(){var e=g._iO.onfinish;g._onbufferchange(0),g._resetOnPosition(0),g.instanceCount&&(g.instanceCount--,g.instanceCount||(l(),g.playState=0,g.paused=!1,g.instanceCount=0,g.instanceOptions={},g._iO={},a(),g.isHTML5&&(g.position=0)),(!g.instanceCount||g._iO.multiShotEvents)&&e&&(ge._wD(g.id+": onfinish()"),he(g,function(){e.apply(g)})))},this._whileloading=function(e,t,n,i){var o=g._iO;g.bytesLoaded=e,g.bytesTotal=t,g.duration=Math.floor(n),g.bufferLength=i,g.isHTML5||o.isMovieStar?g.durationEstimate=g.duration:o.duration?g.durationEstimate=g.duration>o.duration?g.duration:o.duration:g.durationEstimate=parseInt(g.bytesTotal/g.bytesLoaded*g.duration,10),g.isHTML5||(g.buffered=[{start:0,end:g.duration}]),(3!==g.readyState||g.isHTML5)&&o.whileloading&&o.whileloading.apply(g)},this._whileplaying=function(e,n,i,o,a){var r,s=g._iO;return isNaN(e)||null===e?!1:(g.position=Math.max(0,e),g._processOnPosition(),!g.isHTML5&&d>8&&(s.usePeakData&&n!==t&&n&&(g.peakData={left:n.leftPeak,right:n.rightPeak}),s.useWaveformData&&i!==t&&i&&(g.waveformData={left:i.split(","),right:o.split(",")}),s.useEQData&&a!==t&&a&&a.leftEQ&&(r=a.leftEQ.split(","),g.eqData=r,g.eqData.left=r,a.rightEQ!==t&&a.rightEQ&&(g.eqData.right=a.rightEQ.split(",")))),1===g.playState&&(g.isHTML5||8!==d||g.position||!g.isBuffering||g._onbufferchange(0),s.whileplaying&&s.whileplaying.apply(g)),!0)},this._oncaptiondata=function(e){ge._wD(g.id+": Caption data received."),g.captiondata=e,g._iO.oncaptiondata&&g._iO.oncaptiondata.apply(g,[e])},this._onmetadata=function(e,t){ge._wD(g.id+": Metadata received.");var n,i,o={};for(n=0,i=e.length;i>n;n++)o[e[n]]=t[n];g.metadata=o,g._iO.onmetadata&&g._iO.onmetadata.call(g,g.metadata)},this._onid3=function(e,t){ge._wD(g.id+": ID3 data received.");var n,i,o=[];for(n=0,i=e.length;i>n;n++)o[e[n]]=t[n];g.id3=m(g.id3,o),g._iO.onid3&&g._iO.onid3.apply(g)},this._onconnect=function(e){e=1===e,ge._wD(g.id+": "+(e?"Connected.":"Failed to connect? - "+g.url),e?1:2),g.connected=e,e&&(g.failures=0,X(g.id)&&(g.getAutoPlay()?g.play(t,g.getAutoPlay()):g._iO.autoLoad&&g.load()),g._iO.onconnect&&g._iO.onconnect.apply(g,[e]))},this._ondataerror=function(e){g.playState>0&&(ge._wD(g.id+": Data error: "+e),g._iO.ondataerror&&g._iO.ondataerror.apply(g))},this._debug()},L=function(){return De.body||De.getElementsByTagName("div")[0]},s=function(e){return De.getElementById(e)},m=function(e,n){var i,o,a=e||{};i=n===t?ge.defaultOptions:n;for(o in i)i.hasOwnProperty(o)&&a[o]===t&&("object"!=typeof i[o]||null===i[o]?a[o]=i[o]:a[o]=m(a[o],i[o]));return a},he=function(t,n){t.isHTML5||8!==d?n():e.setTimeout(n,0)},y={onready:1,ontimeout:1,defaultOptions:1,flash9Options:1,movieStarOptions:1},g=function(e,n){var i,o=!0,a=n!==t,r=ge.setupOptions,s=y;if(e===t){o=[];for(i in r)r.hasOwnProperty(i)&&o.push(i);for(i in s)s.hasOwnProperty(i)&&("object"==typeof ge[i]?o.push(i+": {...}"):ge[i]instanceof Function?o.push(i+": function() {...}"):o.push(i));return ge._wD(B("setup",o.join(", "))),!1}for(i in e)if(e.hasOwnProperty(i))if("object"!=typeof e[i]||null===e[i]||e[i]instanceof Array||e[i]instanceof RegExp)a&&s[n]!==t?ge[n][i]=e[i]:r[i]!==t?(ge.setupOptions[i]=e[i],ge[i]=e[i]):s[i]===t?(V(B(ge[i]===t?"setupUndef":"setupError",i),2),o=!1):ge[i]instanceof Function?ge[i].apply(ge,e[i]instanceof Array?e[i]:[e[i]]):ge[i]=e[i];else{if(s[i]!==t)return g(e[i],i);V(B(ge[i]===t?"setupUndef":"setupError",i),2),o=!1}return o},re=function(){function t(e){var t=Ue.call(e),n=t.length;return a?(t[1]="on"+t[1],n>3&&t.pop()):3===n&&t.push(!1),t}function n(e,t){var n=e.shift(),i=[r[t]];a?n[i](e[0],e[1]):n[i].apply(n,e)}function i(){n(t(arguments),"add")}function o(){n(t(arguments),"remove")}var a=e.attachEvent,r={add:a?"attachEvent":"addEventListener",remove:a?"detachEvent":"removeEventListener"};return{add:i,remove:o}}(),de={abort:a(function(){ge._wD(this._s.id+": abort")}),canplay:a(function(){var e,n=this._s;if(n._html5_canplay)return!0;if(n._html5_canplay=!0,ge._wD(n.id+": canplay"),n._onbufferchange(0),e=n._iO.position===t||isNaN(n._iO.position)?null:n._iO.position/Ve,this.currentTime!==e){ge._wD(n.id+": canplay: Setting position to "+e);try{this.currentTime=e}catch(i){ge._wD(n.id+": canplay: Setting position of "+e+" failed: "+i.message,2)}}n._iO._oncanplay&&n._iO._oncanplay()}),canplaythrough:a(function(){var e=this._s;e.loaded||(e._onbufferchange(0),e._whileloading(e.bytesLoaded,e.bytesTotal,e._get_html5_duration()),e._onload(!0))}),durationchange:a(function(){var e,t=this._s;e=t._get_html5_duration(),isNaN(e)||e===t.duration||(ge._wD(this._s.id+": durationchange ("+e+")"+(t.duration?", previously "+t.duration:"")),t.durationEstimate=t.duration=e)}),ended:a(function(){var e=this._s;ge._wD(e.id+": ended"),e._onfinish()}),error:a(function(){ge._wD(this._s.id+": HTML5 error, code "+this.error.code),this._s._onload(!1)}),loadeddata:a(function(){var e=this._s;ge._wD(e.id+": loadeddata"),e._loaded||Je||(e.duration=e._get_html5_duration())}),loadedmetadata:a(function(){ge._wD(this._s.id+": loadedmetadata")}),loadstart:a(function(){ge._wD(this._s.id+": loadstart"),this._s._onbufferchange(1)}),play:a(function(){this._s._onbufferchange(0)}),playing:a(function(){ge._wD(this._s.id+": playing "+String.fromCharCode(9835)),this._s._onbufferchange(0)}),progress:a(function(e){var t,n,i,o=this._s,a=0,r="progress"===e.type,s=e.target.buffered,l=e.loaded||0,u=e.total||1;if(o.buffered=[],s&&s.length){for(t=0,n=s.length;n>t;t++)o.buffered.push({start:s.start(t)*Ve,end:s.end(t)*Ve});if(a=(s.end(0)-s.start(0))*Ve,l=Math.min(1,a/(e.target.duration*Ve)),r&&s.length>1){for(i=[],n=s.length,t=0;n>t;t++)i.push(e.target.buffered.start(t)*Ve+"-"+e.target.buffered.end(t)*Ve);ge._wD(this._s.id+": progress, timeRanges: "+i.join(", "))}r&&!isNaN(l)&&ge._wD(this._s.id+": progress, "+Math.floor(100*l)+"% loaded")}isNaN(l)||(o._whileloading(l,u,o._get_html5_duration()),l&&u&&l===u&&de.canplaythrough.call(this,e))}),ratechange:a(function(){ge._wD(this._s.id+": ratechange")}),suspend:a(function(e){var t=this._s;ge._wD(this._s.id+": suspend"),de.progress.call(this,e),t._onsuspend()}),stalled:a(function(){ge._wD(this._s.id+": stalled")}),timeupdate:a(function(){this._s._onTimer()}),waiting:a(function(){var e=this._s;ge._wD(this._s.id+": waiting"),e._onbufferchange(1)})},ee=function(e){var t;return t=e&&(e.type||e.url||e.serverURL)?e.serverURL||e.type&&o(e.type)?!1:e.type?te({type:e.type}):te({url:e.url})||ge.html5Only||e.url.match(/data\:/i):!1},ie=function(e){var n;return e&&(n=Je?rt:ge.html5.canPlayType("audio/wav")?st:rt,e.src=n,e._called_unload!==t&&(e._called_load=!1)),$e&&(se=null),n},te=function(e){if(!ge.useHTML5Audio||!ge.hasHTML5)return!1;var n,i,a,r,s=e.url||null,l=e.type||null,u=ge.audioFormats;if(l&&ge.html5[l]!==t)return ge.html5[l]&&!o(l);if(!ne){ne=[];for(r in u)u.hasOwnProperty(r)&&(ne.push(r),u[r].related&&(ne=ne.concat(u[r].related)));ne=new RegExp("\\.("+ne.join("|")+")(\\?.*)?$","i")}return a=s?s.toLowerCase().match(ne):null,a&&a.length?a=a[1]:l?(i=l.indexOf(";"),a=(-1!==i?l.substr(0,i):l).substr(6)):n=!1,a&&ge.html5[a]!==t?n=ge.html5[a]&&!o(a):(l="audio/"+a,n=ge.html5.canPlayType({type:l}),ge.html5[a]=n,n=n&&ge.html5[l]&&!o(l)),n},ae=function(){function e(e){var t,n,i=!1,o=!1;if(!r||"function"!=typeof r.canPlayType)return i;if(e instanceof Array){for(a=0,n=e.length;n>a;a++)(ge.html5[e[a]]||r.canPlayType(e[a]).match(ge.html5Test))&&(o=!0,ge.html5[e[a]]=!0,ge.flash[e[a]]=!!e[a].match(at));i=o}else t=r&&"function"==typeof r.canPlayType?r.canPlayType(e):!1,i=!(!t||!t.match(ge.html5Test));return i}if(!ge.useHTML5Audio||!ge.hasHTML5)return ge.html5.usingFlash=!0,qe=!0,!1;var n,i,o,a,r=Audio!==t?Ke&&opera.version()<10?new Audio(null):new Audio:null,s={};o=ge.audioFormats;for(n in o)if(o.hasOwnProperty(n)&&(i="audio/"+n,s[n]=e(o[n].type),s[i]=s[n],n.match(at)?(ge.flash[n]=!0,ge.flash[i]=!0):(ge.flash[n]=!1,ge.flash[i]=!1),o[n]&&o[n].related))for(a=o[n].related.length-1;a>=0;a--)s["audio/"+o[n].related[a]]=s[n],ge.html5[o[n].related[a]]=s[n],ge.flash[o[n].related[a]]=s[n];return s.canPlayType=r?e:null,ge.html5=m(ge.html5,s),ge.html5.usingFlash=Z(),qe=ge.html5.usingFlash,!0},S={notReady:"Unavailable - wait until onready() has fired.",notOK:"Audio support is not available.",domError:be+"exception caught while appending SWF to DOM.",spcWmode:"Removing wmode, preventing known SWF loading issue(s)",swf404:we+"Verify that %s is a valid path.",tryDebug:"Try "+be+".debugFlash = true for more security details (output goes to SWF.)",checkSWF:"See SWF output for more debug info.",localFail:we+"Non-HTTP page ("+De.location.protocol+" URL?) Review Flash player security settings for this special case:\nhttp://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.html\nMay need to add/allow path, eg. c:/sm2/ or /users/me/sm2/",waitFocus:we+"Special case: Waiting for SWF to load with window focus...",waitForever:we+"Waiting indefinitely for Flash (will recover if unblocked)...",waitSWF:we+"Waiting for 100% SWF load...",needFunction:we+"Function object expected for %s",badID:'Sound ID "%s" should be a string, starting with a non-numeric character',currentObj:we+"_debug(): Current sound objects",waitOnload:we+"Waiting for window.onload()",docLoaded:we+"Document already loaded",onload:we+"initComplete(): calling soundManager.onload()",onloadOK:be+".onload() complete",didInit:we+"init(): Already called?",secNote:"Flash security note: Network/internet URLs will not load due to security restrictions. Access can be configured via Flash Player Global Security Settings Page: http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.html",badRemove:we+"Failed to remove Flash node.",shutdown:be+".disable(): Shutting down",queue:we+"Queueing %s handler",smError:"SMSound.load(): Exception: JS-Flash communication failed, or JS error.",fbTimeout:"No flash response, applying ."+q.swfTimedout+" CSS...",fbLoaded:"Flash loaded",fbHandler:we+"flashBlockHandler()",manURL:"SMSound.load(): Using manually-assigned URL",onURL:be+".load(): current URL already assigned.",badFV:be+'.flashVersion must be 8 or 9. "%s" is invalid. Reverting to %s.',as2loop:"Note: Setting stream:false so looping can work (flash 8 limitation)",noNSLoop:"Note: Looping not implemented for MovieStar formats",needfl9:"Note: Switching to flash 9, required for MP4 formats.",mfTimeout:"Setting flashLoadTimeout = 0 (infinite) for off-screen, mobile flash case",needFlash:we+"Fatal error: Flash is needed to play some required formats, but is not available.",gotFocus:we+"Got window focus.",policy:"Enabling usePolicyFile for data access",setup:be+".setup(): allowed parameters: %s",setupError:be+'.setup(): "%s" cannot be assigned with this method.',setupUndef:be+'.setup(): Could not find option "%s"',setupLate:be+".setup(): url, flashVersion and html5Test property changes will not take effect until reboot().",noURL:we+"Flash URL required. Call soundManager.setup({url:...}) to get started.",sm2Loaded:"SoundManager 2: Ready. "+String.fromCharCode(10003),reset:be+".reset(): Removing event callbacks",mobileUA:"Mobile UA detected, preferring HTML5 by default.",globalHTML5:"Using singleton HTML5 Audio() pattern for this device.",ignoreMobile:"Ignoring mobile restrictions for this device."},B=function(){var e,t,n,i,o;if(e=Ue.call(arguments),i=e.shift(),o=S&&S[i]?S[i]:"",o&&e&&e.length)for(t=0,n=e.length;n>t;t++)o=o.replace("%s",e[t]);return o},$=function(e){return 8===d&&e.loops>1&&e.stream&&(p("as2loop"),e.stream=!1),e},z=function(e,t){return e&&!e.usePolicyFile&&(e.onid3||e.usePeakData||e.useWaveformData||e.useEQData)&&(ge._wD((t||"")+B("policy")),e.usePolicyFile=!0),e},V=function(e){tt&&console.warn!==t?console.warn(e):ge._wD(e)},l=function(){return!1},H=function(e){var t;for(t in e)e.hasOwnProperty(t)&&"function"==typeof e[t]&&(e[t]=l);t=null},I=function(e){e===t&&(e=!1),(Ee||e)&&ge.disable(e)},j=function(e){var t,n=null;if(e)if(e.match(/\.swf(\?.*)?$/i)){if(n=e.substr(e.toLowerCase().lastIndexOf(".swf?")+4))return e}else e.lastIndexOf("/")!==e.length-1&&(e+="/");return t=(e&&-1!==e.lastIndexOf("/")?e.substr(0,e.lastIndexOf("/")+1):"./")+ge.movieURL,ge.noSWFCache&&(t+="?ts="+(new Date).getTime()),t},D=function(){d=parseInt(ge.flashVersion,10),8!==d&&9!==d&&(ge._wD(B("badFV",d,Ae)),ge.flashVersion=d=Ae);var e=ge.debugMode||ge.debugFlash?"_debug.swf":".swf";ge.useHTML5Audio&&!ge.html5Only&&ge.audioFormats.mp4.required&&9>d&&(ge._wD(B("needfl9")),ge.flashVersion=d=9),ge.version=ge.versionNumber+(ge.html5Only?" (HTML5-only mode)":9===d?" (AS3/Flash 9)":" (AS2/Flash 8)"),d>8?(ge.defaultOptions=m(ge.defaultOptions,ge.flash9Options),ge.features.buffering=!0,ge.defaultOptions=m(ge.defaultOptions,ge.movieStarOptions),ge.filePatterns.flash9=new RegExp("\\.(mp3|"+dt.join("|")+")(\\?.*)?$","i"),ge.features.movieStar=!0):ge.features.movieStar=!1,ge.filePattern=ge.filePatterns[8!==d?"flash9":"flash8"],ge.movieURL=(8===d?"soundmanager2.swf":"soundmanager2_flash9.swf").replace(".swf",e),ge.features.peakData=ge.features.waveformData=ge.features.eqData=d>8},A=function(e,t){return ve?void ve._setPolling(e,t):!1},F=function(){if(ge.debugURLParam.test(Te)&&(ge.setupOptions.debugMode=ge.debugMode=!0),s(ge.debugID))return!1;var e,t,n,i,o;if(ge.debugMode&&!s(ge.debugID)&&(!tt||!ge.useConsole||!ge.consoleOnly)){e=De.createElement("div"),e.id=ge.debugID+"-toggle",i={position:"fixed",bottom:"0px",right:"0px",width:"1.2em",height:"1.2em",lineHeight:"1.2em",margin:"2px",textAlign:"center",border:"1px solid #999",cursor:"pointer",background:"#fff",color:"#333",zIndex:10001},e.appendChild(De.createTextNode("-")),e.onclick=U,e.title="Toggle SM2 debug console",xe.match(/msie 6/i)&&(e.style.position="absolute",e.style.cursor="hand");for(o in i)i.hasOwnProperty(o)&&(e.style[o]=i[o]);if(t=De.createElement("div"),t.id=ge.debugID,t.style.display=ge.debugMode?"block":"none",ge.debugMode&&!s(e.id)){try{n=L(),n.appendChild(e)}catch(a){throw new Error(B("domError")+" \n"+a.toString())}n.appendChild(t)}}n=null},X=this.getSoundById,p=function(e,t){return e?ge._wD(B(e),t):""},U=function(){var e=s(ge.debugID),t=s(ge.debugID+"-toggle");return e?(Se?(t.innerHTML="+",e.style.display="none"):(t.innerHTML="-",e.style.display="block"),void(Se=!Se)):!1},f=function(n,i,o){if(e.sm2Debugger!==t)try{sm2Debugger.handleEvent(n,i,o)}catch(a){return!1}return!0},W=function(){var e=[];return ge.debugMode&&e.push(q.sm2Debug),ge.debugFlash&&e.push(q.flashDebug),ge.useHighPerformance&&e.push(q.highPerf),e.join(" ")},R=function(){var e=B("fbHandler"),t=ge.getMoviePercent(),n=q,i={type:"FLASHBLOCK"};return ge.html5Only?!1:void(ge.ok()?(ge.didFlashBlock&&ge._wD(e+": Unblocked"),ge.oMC&&(ge.oMC.className=[W(),n.swfDefault,n.swfLoaded+(ge.didFlashBlock?" "+n.swfUnblocked:"")].join(" "))):(qe&&(ge.oMC.className=W()+" "+n.swfDefault+" "+(null===t?n.swfTimedout:n.swfError),ge._wD(e+": "+B("fbTimeout")+(t?" ("+B("fbLoaded")+")":""))),ge.didFlashBlock=!0,b({type:"ontimeout",ignoreInit:!0,error:i}),P(i)))},v=function(e,n,i){Ce[e]===t&&(Ce[e]=[]),Ce[e].push({method:n,scope:i||null,fired:!1})},b=function(e){if(e||(e={type:ge.ok()?"onready":"ontimeout"}),!Me&&e&&!e.ignoreInit)return!1;if("ontimeout"===e.type&&(ge.ok()||Ee&&!e.ignoreInit))return!1;var t,n,i={success:e&&e.ignoreInit?ge.ok():!Ee},o=e&&e.type?Ce[e.type]||[]:[],a=[],r=[i],s=qe&&!ge.ok();for(e.error&&(r[0].error=e.error),t=0,n=o.length;n>t;t++)o[t].fired!==!0&&a.push(o[t]);if(a.length)for(t=0,n=a.length;n>t;t++)a[t].scope?a[t].method.apply(a[t].scope,r):a[t].method.apply(this,r),s||(a[t].fired=!0);return!0},w=function(){e.setTimeout(function(){ge.useFlashBlock&&R(),b(),"function"==typeof ge.onload&&(p("onload",1),ge.onload.apply(e),p("onloadOK",1)),ge.waitForWindowLoad&&re.add(e,"load",w)},1)},ue=function(){if(le!==t)return le;var n,i,o,a=!1,r=navigator,s=r.plugins,l=e.ActiveXObject;if(s&&s.length)i="application/x-shockwave-flash",o=r.mimeTypes,o&&o[i]&&o[i].enabledPlugin&&o[i].enabledPlugin.description&&(a=!0);else if(l!==t&&!xe.match(/MSAppHost/i)){try{n=new l("ShockwaveFlash.ShockwaveFlash")}catch(u){n=null}a=!!n,n=null}return le=a,a},Z=function(){var e,t,n=ge.audioFormats,i=Xe&&!!xe.match(/os (1|2|3_0|3_1)\s/i);if(i?(ge.hasHTML5=!1,ge.html5Only=!0,ge.oMC&&(ge.oMC.style.display="none")):ge.useHTML5Audio&&(ge.html5&&ge.html5.canPlayType||(ge._wD("SoundManager: No HTML5 Audio() support detected."),ge.hasHTML5=!1),et&&ge._wD(we+"Note: Buggy HTML5 Audio in Safari on this OS X release, see https://bugs.webkit.org/show_bug.cgi?id=32159 - "+(le?"will use flash fallback for MP3/MP4, if available":" would use flash fallback for MP3/MP4, but none detected."),1)),ge.useHTML5Audio&&ge.hasHTML5){K=!0;for(t in n)n.hasOwnProperty(t)&&n[t].required&&(ge.html5.canPlayType(n[t].type)?ge.preferFlash&&(ge.flash[t]||ge.flash[n[t].type])&&(e=!0):(K=!1,e=!0))}return ge.ignoreFlash&&(e=!1,K=!0),ge.html5Only=ge.hasHTML5&&ge.useHTML5Audio&&!e,!ge.html5Only},J=function(e){var t,n,i,o=0;if(e instanceof Array){for(t=0,n=e.length;n>t;t++)if(e[t]instanceof Object){if(ge.canPlayMIME(e[t].type)){o=t;break}}else if(ge.canPlayURL(e[t])){o=t;break}e[o].url&&(e[o]=e[o].url),i=e[o]}else i=e;return i},Q=function(e){e._hasTimer||(e._hasTimer=!0,!Ze&&ge.html5PollingInterval&&(null===Re&&0===Be&&(Re=setInterval(Y,ge.html5PollingInterval)),Be++))},G=function(e){e._hasTimer&&(e._hasTimer=!1,!Ze&&ge.html5PollingInterval&&Be--)},Y=function(){var e;if(null!==Re&&!Be)return clearInterval(Re),Re=null,!1;for(e=ge.soundIDs.length-1;e>=0;e--)ge.sounds[ge.soundIDs[e]].isHTML5&&ge.sounds[ge.soundIDs[e]]._hasTimer&&ge.sounds[ge.soundIDs[e]]._onTimer()},P=function(n){n=n!==t?n:{},"function"==typeof ge.onerror&&ge.onerror.apply(e,[{type:n.type!==t?n.type:null}]),n.fatal!==t&&n.fatal&&ge.disable()},ce=function(){if(!et||!ue())return!1;var e,t,n=ge.audioFormats;for(t in n)if(n.hasOwnProperty(t)&&("mp3"===t||"mp4"===t)&&(ge._wD(be+": Using flash fallback for "+t+" format"),ge.html5[t]=!1,n[t]&&n[t].related))for(e=n[t].related.length-1;e>=0;e--)ge.html5[n[t].related[e]]=!1},this._setSandboxType=function(e){var n=ge.sandbox;n.type=e,n.description=n.types[n.types[e]!==t?e:"unknown"],"localWithFile"===n.type?(n.noRemote=!0,n.noLocal=!1,p("secNote",2)):"localWithNetwork"===n.type?(n.noRemote=!1,n.noLocal=!0):"localTrusted"===n.type&&(n.noRemote=!1,n.noLocal=!1)},this._externalInterfaceOK=function(e){if(ge.swfLoaded)return!1;var t;return f("swf",!0),f("flashtojs",!0),ge.swfLoaded=!0,it=!1,et&&ce(),e&&e.replace(/\+dev/i,"")===ge.versionNumber.replace(/\+dev/i,"")?void setTimeout(c,Ge?100:1):(t=be+': Fatal: JavaScript file build "'+ge.versionNumber+'" does not match Flash SWF build "'+e+'" at '+ge.url+". Ensure both are up-to-date.",setTimeout(function(){throw new Error(t)},0),!1)},N=function(e,n){function i(){var e,t=[],n=[],i=" + ";e="SoundManager "+ge.version+(!ge.html5Only&&ge.useHTML5Audio?ge.hasHTML5?" + HTML5 audio":", no HTML5 audio support":""),ge.html5Only?ge.html5PollingInterval&&t.push("html5PollingInterval ("+ge.html5PollingInterval+"ms)"):(ge.preferFlash&&t.push("preferFlash"),ge.useHighPerformance&&t.push("useHighPerformance"),ge.flashPollingInterval&&t.push("flashPollingInterval ("+ge.flashPollingInterval+"ms)"),ge.html5PollingInterval&&t.push("html5PollingInterval ("+ge.html5PollingInterval+"ms)"),ge.wmode&&t.push("wmode ("+ge.wmode+")"),ge.debugFlash&&t.push("debugFlash"),ge.useFlashBlock&&t.push("flashBlock")),t.length&&(n=n.concat([t.join(i)])),ge._wD(e+(n.length?i+n.join(", "):""),1),fe()}function o(e,t){return'<param name="'+e+'" value="'+t+'" />'}if(Oe&&ke)return!1;if(ge.html5Only)return D(),i(),ge.oMC=s(ge.movieID),c(),Oe=!0,ke=!0,!1;var a,r,l,u,d,f,p,h,m=n||ge.url,g=ge.altURL||m,y="JS/Flash audio component (SoundManager 2)",v=L(),b=W(),w=null,_=De.getElementsByTagName("html")[0];if(w=_&&_.dir&&_.dir.match(/rtl/i),e=e===t?ge.id:e,D(),ge.url=j(lt?m:g),n=ge.url,ge.wmode=!ge.wmode&&ge.useHighPerformance?"transparent":ge.wmode,null!==ge.wmode&&(xe.match(/msie 8/i)||!Ge&&!ge.useHighPerformance)&&navigator.platform.match(/win32|win64/i)&&(We.push(S.spcWmode),ge.wmode=null),a={name:e,id:e,src:n,quality:"high",allowScriptAccess:ge.allowScriptAccess,bgcolor:ge.bgColor,pluginspage:ut+"www.macromedia.com/go/getflashplayer",title:y,type:"application/x-shockwave-flash",wmode:ge.wmode,hasPriority:"true"},ge.debugFlash&&(a.FlashVars="debug=1"),ge.wmode||delete a.wmode,Ge)r=De.createElement("div"),u=['<object id="'+e+'" data="'+n+'" type="'+a.type+'" title="'+a.title+'" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0">',o("movie",n),o("AllowScriptAccess",ge.allowScriptAccess),o("quality",a.quality),ge.wmode?o("wmode",ge.wmode):"",o("bgcolor",ge.bgColor),o("hasPriority","true"),ge.debugFlash?o("FlashVars",a.FlashVars):"","</object>"].join("");else{r=De.createElement("embed");for(l in a)a.hasOwnProperty(l)&&r.setAttribute(l,a[l])}if(F(),b=W(),v=L())if(ge.oMC=s(ge.movieID)||De.createElement("div"),ge.oMC.id)h=ge.oMC.className,ge.oMC.className=(h?h+" ":q.swfDefault)+(b?" "+b:""),ge.oMC.appendChild(r),Ge&&(d=ge.oMC.appendChild(De.createElement("div")),d.className=q.swfBox,d.innerHTML=u),ke=!0;else{if(ge.oMC.id=ge.movieID,ge.oMC.className=q.swfDefault+" "+b,f=null,d=null,ge.useFlashBlock||(ge.useHighPerformance?f={position:"fixed",width:"8px",height:"8px",bottom:"0px",left:"0px",overflow:"hidden"}:(f={position:"absolute",width:"6px",height:"6px",top:"-9999px",left:"-9999px"},w&&(f.left=Math.abs(parseInt(f.left,10))+"px"))),Ye&&(ge.oMC.style.zIndex=1e4),!ge.debugFlash)for(p in f)f.hasOwnProperty(p)&&(ge.oMC.style[p]=f[p]);try{Ge||ge.oMC.appendChild(r),v.appendChild(ge.oMC),Ge&&(d=ge.oMC.appendChild(De.createElement("div")),d.className=q.swfBox,d.innerHTML=u),ke=!0}catch(x){throw new Error(B("domError")+" \n"+x.toString())}}return Oe=!0,i(),!0},O=function(){return ge.html5Only?(N(),!1):ve?!1:ge.url?(ve=ge.getMovie(ge.id),ve||(Fe?(Ge?ge.oMC.innerHTML=He:ge.oMC.appendChild(Fe),Fe=null,Oe=!0):N(ge.id,ge.url),ve=ge.getMovie(ge.id)),"function"==typeof ge.oninitmovie&&setTimeout(ge.oninitmovie,1),pe(),!0):(p("noURL"),!1)},_=function(){setTimeout(x,1e3)},T=function(){e.setTimeout(function(){V(we+"useFlashBlock is false, 100% HTML5 mode is possible. Rebooting with preferFlash: false..."),ge.setup({preferFlash:!1}).reboot(),ge.didFlashBlock=!0,ge.beginDelayedInit()},1)},x=function(){var t,n=!1;return ge.url?Ie?!1:(Ie=!0,re.remove(e,"load",_),le&&it&&!nt?(p("waitFocus"),!1):(Me||(t=ge.getMoviePercent(),t>0&&100>t&&(n=!0)),void setTimeout(function(){return t=ge.getMoviePercent(),n?(Ie=!1,ge._wD(B("waitSWF")),e.setTimeout(_,1),!1):(Me||(ge._wD(be+": No Flash response within expected time. Likely causes: "+(0===t?"SWF load failed, ":"")+"Flash blocked or JS-Flash security error."+(ge.debugFlash?" "+B("checkSWF"):""),2),!lt&&t&&(p("localFail",2),ge.debugFlash||p("tryDebug",2)),0===t&&ge._wD(B("swf404",ge.url),1),f("flashtojs",!1,": Timed out"+(lt?" (Check flash security or flash blockers)":" (No plugin/missing SWF?)"))),void(!Me&&ot&&(null===t?ge.useFlashBlock||0===ge.flashLoadTimeout?(ge.useFlashBlock&&R(),p("waitForever")):!ge.useFlashBlock&&K?T():(p("waitForever"),b({type:"ontimeout",ignoreInit:!0,error:{type:"INIT_FLASHBLOCK"}})):0===ge.flashLoadTimeout?p("waitForever"):!ge.useFlashBlock&&K?T():I(!0))))},ge.flashLoadTimeout))):!1},C=function(){function t(){re.remove(e,"focus",C)}return nt||!it?(t(),!0):(ot=!0,nt=!0,p("gotFocus"),Ie=!1,_(),t(),!0)},pe=function(){We.length&&(ge._wD("SoundManager 2: "+We.join(" "),1),We=[])},fe=function(){pe();var e,t=[];if(ge.useHTML5Audio&&ge.hasHTML5){for(e in ge.audioFormats)ge.audioFormats.hasOwnProperty(e)&&t.push(e+" = "+ge.html5[e]+(!ge.html5[e]&&qe&&ge.flash[e]?" (using flash)":ge.preferFlash&&ge.flash[e]&&qe?" (preferring flash)":ge.html5[e]?"":" ("+(ge.audioFormats[e].required?"required, ":"")+"and no flash support)"));
ge._wD("SoundManager 2 HTML5 support: "+t.join(", "),1)}},h=function(t){if(Me)return!1;if(ge.html5Only)return p("sm2Loaded",1),Me=!0,w(),f("onload",!0),!0;var n,i=ge.useFlashBlock&&ge.flashLoadTimeout&&!ge.getMoviePercent(),o=!0;return i||(Me=!0),n={type:!le&&qe?"NO_FLASH":"INIT_TIMEOUT"},ge._wD("SoundManager 2 "+(Ee?"failed to load":"loaded")+" ("+(Ee?"Flash security/load error":"OK")+") "+String.fromCharCode(Ee?10006:10003),Ee?2:1),Ee||t?(ge.useFlashBlock&&ge.oMC&&(ge.oMC.className=W()+" "+(null===ge.getMoviePercent()?q.swfTimedout:q.swfError)),b({type:"ontimeout",error:n,ignoreInit:!0}),f("onload",!1),P(n),o=!1):f("onload",!0),Ee||(ge.waitForWindowLoad&&!Le?(p("waitOnload"),re.add(e,"load",w)):(ge.waitForWindowLoad&&Le&&p("docLoaded"),w())),o},u=function(){var e,n=ge.setupOptions;for(e in n)n.hasOwnProperty(e)&&(ge[e]===t?ge[e]=n[e]:ge[e]!==n[e]&&(ge.setupOptions[e]=ge[e]))},c=function(){function t(){re.remove(e,"load",ge.beginDelayedInit)}if(Me)return p("didInit"),!1;if(ge.html5Only)return Me||(t(),ge.enabled=!0,h()),!0;O();try{ve._externalInterfaceTest(!1),A(!0,ge.flashPollingInterval||(ge.useHighPerformance?10:50)),ge.debugMode||ve._disableDebug(),ge.enabled=!0,f("jstoflash",!0),ge.html5Only||re.add(e,"unload",l)}catch(n){return ge._wD("js/flash exception: "+n.toString()),f("jstoflash",!1),P({type:"JS_TO_FLASH_EXCEPTION",fatal:!0}),I(!0),h(),!1}return h(),t(),!0},k=function(){return E?!1:(E=!0,u(),F(),!le&&ge.hasHTML5&&(ge._wD("SoundManager 2: No Flash detected"+(ge.useHTML5Audio?". Trying HTML5-only mode.":", enabling HTML5."),1),ge.setup({useHTML5Audio:!0,preferFlash:!1})),ae(),!le&&qe&&(We.push(S.needFlash),ge.setup({flashLoadTimeout:1})),De.removeEventListener&&De.removeEventListener("DOMContentLoaded",k,!1),O(),!0)},oe=function(){return"complete"===De.readyState&&(k(),De.detachEvent("onreadystatechange",oe)),!0},M=function(){Le=!0,k(),re.remove(e,"load",M)},ue(),re.add(e,"focus",C),re.add(e,"load",_),re.add(e,"load",M),De.addEventListener?De.addEventListener("DOMContentLoaded",k,!1):De.attachEvent?De.attachEvent("onreadystatechange",oe):(f("onload",!1),P({type:"NO_DOM2_EVENTS",fatal:!0}))}if(!e||!e.document)throw new Error("SoundManager requires a browser with window and document objects.");var i=null;e.SM2_DEFER!==t&&SM2_DEFER||(i=new n),"object"==typeof module&&module&&"object"==typeof module.exports?(module.exports.SoundManager=n,module.exports.soundManager=i):"function"==typeof define&&define.amd&&define(function(){function t(t){if(!e.soundManager&&t instanceof Function){var i=t(n);i instanceof n&&(e.soundManager=i)}return e.soundManager}return{constructor:n,getInstance:t}}),e.SoundManager=n,e.soundManager=i}(window);var pagePlayer=null;soundManager.useFlashBlock=!0,soundManager.onready(function(){pagePlayer=new PagePlayer,pagePlayer.init("undefined"!=typeof PP_CONFIG?PP_CONFIG:null)}),$("tr").click(function(){window.location.href=$(this).find("a").attr("href")}),$(document).ready(function(){var e=new Array(".textOptions");e=e.join(",");var t=$(e).css("font-size");$(".resetFont").click(function(){$(e).css("font-size",t)}),$(".increaseFont").click(function(){var t=$(e).css("font-size"),n=parseFloat(t,10),i=1.1*n;return $(e).css("font-size",i),!1}),$(".decreaseFont").click(function(){var t=$(e).css("font-size"),n=parseFloat(t,10),i=.9*n;return $(e).css("font-size",i),!1})}),function(e){var t="openerActiveClass",n="click touchend",i="left",o="doCollapseAll",a="position",r="trigger",s="disableSelection_dropotron",l="addClass",u="doCollapse",c=!1,d="outerWidth",f="removeClass",p="preventDefault",h="length",m="dropotron",g="clearTimeout",y="right",v="parent",b=!0,w="speed",_="none",x="stopPropagation",T="doExpand",D=":visible",C="absolute",S="css",O="center",k="toggle",M="baseZIndex",E="offsetX",L="alignment",N="submenuClassPrefix",P="children",A="hover",F="relative",H="doToggle",I="ul",j="z-index",B="opacity",R="find",W="opener",q="px",U=null,$="hide",z="offset",V="detach",X="fast";e.fn[s]=function(){return e(this)[S]("user-select",_)[S]("-khtml-user-select",_)[S]("-moz-user-select",_)[S]("-o-user-select",_)[S]("-webkit-user-select",_)},e.fn[m]=function(t){var n;if(0==this[h])return e(this);if(this[h]>1)for(n=0;n<this[h];n++)e(this[n])[m](t);return e[m](e.extend({selectorParent:e(this)},t))},e[m]=function(_){var Q=e.extend({selectorParent:U,baseZIndex:1e3,menuClass:m,expandMode:A,hoverDelay:150,hideDelay:250,openerClass:W,openerActiveClass:"active",submenuClassPrefix:"level-",mode:"fade",speed:X,easing:"swing",alignment:i,offsetX:0,offsetY:0,globalOffsetY:0,IEOffsetX:0,IEOffsetY:0,noOpenerFade:b,detach:b,cloneOnDetach:b},_),G=Q.selectorParent,Y=G[R](I),J=e("body"),K=e("body,html"),Z=e(window),ee=c,te=U,ne=U;G.on(o,function(){Y[r](u)}),Y.each(function(){var o=e(this),h=o[v]();Q.hideDelay>0&&o.add(h).on("mouseleave",function(){window[g](ne),ne=window.setTimeout(function(){o[r](u)},Q.hideDelay)}),o[s]()[$]()[l](Q.menuClass)[S](a,C).on("mouseenter",function(){window[g](ne)}).on(T,function(){var n,s,p,m,_,x,T,N,P,A,H;if(o.is(D))return c;if(window[g](ne),Y.each(function(){var t=e(this);e.contains(t.get(0),h.get(0))||t[r](u)}),n=h[z](),s=h[a](),p=h[v]()[a](),m=h[d](),_=o[d](),x=o[S](j)==Q[M],x){switch(T=Q[V]?n:s,A=T.top+h.outerHeight()+Q.globalOffsetY,N=Q[L],o[f](i)[f](y)[f](O),Q[L]){case y:P=T[i]-_+m,0>P&&(P=T[i],N=i);break;case O:P=T[i]-Math.floor((_-m)/2),0>P?(P=T[i],N=i):P+_>Z.width()&&(P=T[i]-_+m,N=y);break;case i:default:P=T[i],P+_>Z.width()&&(P=T[i]-_+m,N=y)}o[l](N)}else switch(h[S](a)==F||h[S](a)==C?(A=Q.offsetY,P=-1*s[i]):(A=s.top+Q.offsetY,P=0),Q[L]){case y:P+=-1*h[v]()[d]()+Q[E];break;case O:case i:default:P+=h[v]()[d]()+Q[E]}switch(navigator.userAgent.match(/MSIE ([0-9]+)\./)&&RegExp.$1<8&&(P+=Q.IEOffsetX,A+=Q.IEOffsetY),o[S](i,P+q)[S]("top",A+q)[S](B,"0.01").show(),H=c,P=h[S](a)==F||h[S](a)==C?-1*s[i]:0,o[z]()[i]<0?(P+=h[v]()[d]()-Q[E],H=b):o[z]()[i]+_>Z.width()&&(P+=-1*h[v]()[d]()-Q[E],H=b),H&&o[S](i,P+q),o[$]()[S](B,"1"),Q.mode){case"zoom":ee=b,h[l](Q[t]),o.animate({width:k,height:k},Q[w],Q.easing,function(){ee=c});break;case"slide":ee=b,h[l](Q[t]),o.animate({height:k},Q[w],Q.easing,function(){ee=c});break;case"fade":ee=b,x&&!Q.noOpenerFade?(H="slow"==Q[w]?80:Q[w]==X?40:Math.floor(Q[w]/2),h.fadeTo(H,.01,function(){h[l](Q[t]),h.fadeTo(Q[w],1),o.fadeIn(Q[w],function(){ee=c})})):(h[l](Q[t]),h.fadeTo(Q[w],1),o.fadeIn(Q[w],function(){ee=c}));break;case"instant":default:h[l](Q[t]),o.show()}return c}).on(u,function(){return o.is(D)?(o[$](),h[f](Q[t]),o[R]("."+Q[t])[f](Q[t]),o[R](I)[$](),c):c}).on(H,function(){return o.is(D)?o[r](u):o[r](T),c}),h[s]()[l](W)[S]("cursor","pointer").on(n,function(e){ee||(e[p](),e[x](),o[r](H))}),Q.expandMode==A&&h[A](function(){ee||(te=window.setTimeout(function(){o[r](T)},Q.hoverDelay))},function(){window[g](te)})}),Y[R]("a")[S]("display","block").on(n,function(t){ee||e(this).attr("href")[h]<1&&t[p]()}),G[R]("li")[S]("white-space","nowrap").each(function(){var t=e(this),i=t[P]("a"),a=t[P](I),s=i.attr("href");i.on(n,function(e){0==s[h]||"#"==s?e[p]():e[x]()}),i[h]>0&&0==a[h]&&t.on(n,function(e){ee||(G[r](o),e[x]())})}),G[P]("li").each(function(){var t,n,i,o,a=e(this),r=a[P](I);if(r[h]>0)for(Q[V]&&(Q.cloneOnDetach&&(t=r.clone(),t.attr("class","")[$]().appendTo(r[v]())),r[V]().appendTo(J)),n=Q[M],i=1,o=r;o[h]>0;i++)o[S](j,n++),Q[N]&&o[l](Q[N]+(n-1-Q[M])),o=o[R]("> li > ul")}),Z.on("scroll",function(){G[r](o)}).on("keypress",function(e){!ee&&27==e.keyCode&&(e[p](),G[r](o))}),K.on(n,function(){ee||G[r](o)})}}(jQuery);var skel=function(){"use strict";var e={breakpointIds:null,events:{},isInit:!1,obj:{attachments:{},breakpoints:{},head:null,states:{}},sd:"/",state:null,stateHandlers:{},stateId:"",vars:{},DOMReady:null,indexOf:null,isArray:null,iterate:null,matchesMedia:null,extend:function(t,n){e.iterate(n,function(i){e.isArray(n[i])?(e.isArray(t[i])||(t[i]=[]),e.extend(t[i],n[i])):"object"==typeof n[i]?("object"!=typeof t[i]&&(t[i]={}),e.extend(t[i],n[i])):t[i]=n[i]})},newStyle:function(e){var t=document.createElement("style");return t.type="text/css",t.innerHTML=e,t},_canUse:null,canUse:function(t){e._canUse||(e._canUse=document.createElement("div"));var n=e._canUse.style,i=t.charAt(0).toUpperCase()+t.slice(1);return t in n||"Moz"+i in n||"Webkit"+i in n||"O"+i in n||"ms"+i in n},on:function(t,n){var i=t.split(/[\s]+/);return e.iterate(i,function(t){var o=i[t];if(e.isInit){if("init"==o)return void n();if("change"==o)n();else{var a=o.charAt(0);if("+"==a||"!"==a){var r=o.substring(1);if(r in e.obj.breakpoints)if("+"==a&&e.obj.breakpoints[r].active)n();else if("!"==a&&!e.obj.breakpoints[r].active)return void n()}}}e.events[o]||(e.events[o]=[]),e.events[o].push(n)}),e},trigger:function(t){return e.events[t]&&0!=e.events[t].length?(e.iterate(e.events[t],function(n){e.events[t][n]()}),e):void 0},breakpoint:function(t){return e.obj.breakpoints[t]},breakpoints:function(t){function n(e,t){this.name=this.id=e,this.media=t,this.active=!1,this.wasActive=!1}return n.prototype.matches=function(){return e.matchesMedia(this.media)},n.prototype.sync=function(){this.wasActive=this.active,this.active=this.matches()},e.iterate(t,function(i){e.obj.breakpoints[i]=new n(i,t[i])}),window.setTimeout(function(){e.poll()},0),e},addStateHandler:function(t,n){e.stateHandlers[t]=n},callStateHandler:function(t){var n=e.stateHandlers[t]();e.iterate(n,function(t){e.state.attachments.push(n[t])})},changeState:function(t){e.iterate(e.obj.breakpoints,function(t){e.obj.breakpoints[t].sync()}),e.vars.lastStateId=e.stateId,e.stateId=t,e.breakpointIds=e.stateId===e.sd?[]:e.stateId.substring(1).split(e.sd),e.obj.states[e.stateId]?e.state=e.obj.states[e.stateId]:(e.obj.states[e.stateId]={attachments:[]},e.state=e.obj.states[e.stateId],e.iterate(e.stateHandlers,e.callStateHandler)),e.detachAll(e.state.attachments),e.attachAll(e.state.attachments),e.vars.stateId=e.stateId,e.vars.state=e.state,e.trigger("change"),e.iterate(e.obj.breakpoints,function(t){e.obj.breakpoints[t].active?e.obj.breakpoints[t].wasActive||e.trigger("+"+t):e.obj.breakpoints[t].wasActive&&e.trigger("-"+t)})},generateStateConfig:function(t,n){var i={};return e.extend(i,t),e.iterate(e.breakpointIds,function(t){e.extend(i,n[e.breakpointIds[t]])}),i},getStateId:function(){var t="";return e.iterate(e.obj.breakpoints,function(n){var i=e.obj.breakpoints[n];i.matches()&&(t+=e.sd+i.id)}),t},poll:function(){var t="";t=e.getStateId(),""===t&&(t=e.sd),t!==e.stateId&&e.changeState(t)},_attach:null,attach:function(t){var n=e.obj.head,i=t.element;return i.parentNode&&i.parentNode.tagName?!1:(e._attach||(e._attach=n.firstChild),n.insertBefore(i,e._attach.nextSibling),t.permanent&&(e._attach=i),!0)},attachAll:function(t){var n=[];e.iterate(t,function(e){n[t[e].priority]||(n[t[e].priority]=[]),n[t[e].priority].push(t[e])}),n.reverse(),e.iterate(n,function(t){e.iterate(n[t],function(i){e.attach(n[t][i])})})},detach:function(e){var t=e.element;return e.permanent||!t.parentNode||t.parentNode&&!t.parentNode.tagName?!1:(t.parentNode.removeChild(t),!0)},detachAll:function(t){var n={};e.iterate(t,function(e){n[t[e].id]=!0}),e.iterate(e.obj.attachments,function(t){t in n||e.detach(e.obj.attachments[t])})},attachment:function(t){return t in e.obj.attachments?e.obj.attachments[t]:null},newAttachment:function(t,n,i,o){return e.obj.attachments[t]={id:t,element:n,priority:i,permanent:o}},init:function(){e.initMethods(),e.initVars(),e.initEvents(),e.obj.head=document.getElementsByTagName("head")[0],e.isInit=!0,e.trigger("init")},initEvents:function(){e.on("resize",function(){e.poll()}),e.on("orientationChange",function(){e.poll()}),e.DOMReady(function(){e.trigger("ready")}),window.onload&&e.on("load",window.onload),window.onload=function(){e.trigger("load")},window.onresize&&e.on("resize",window.onresize),window.onresize=function(){e.trigger("resize")},window.onorientationchange&&e.on("orientationChange",window.onorientationchange),window.onorientationchange=function(){e.trigger("orientationChange")}},initMethods:function(){document.addEventListener?!function(t,n){e.DOMReady=n()}("domready",function(){function e(e){for(a=1;e=n.shift();)e()}var t,n=[],i=document,o="DOMContentLoaded",a=/^loaded|^c/.test(i.readyState);return i.addEventListener(o,t=function(){i.removeEventListener(o,t),e()}),function(e){a?e():n.push(e)}}):!function(t,n){e.DOMReady=n()}("domready",function(e){function t(e){for(p=1;e=i.shift();)e()}var n,i=[],o=!1,a=document,r=a.documentElement,s=r.doScroll,l="DOMContentLoaded",u="addEventListener",c="onreadystatechange",d="readyState",f=s?/^loaded|^c/:/^loaded|c/,p=f.test(a[d]);return a[u]&&a[u](l,n=function(){a.removeEventListener(l,n,o),t()},o),s&&a.attachEvent(c,n=function(){/^c/.test(a[d])&&(a.detachEvent(c,n),t())}),e=s?function(t){self!=top?p?t():i.push(t):function(){try{r.doScroll("left")}catch(n){return setTimeout(function(){e(t)},50)}t()}()}:function(e){p?e():i.push(e)}}),Array.prototype.indexOf?e.indexOf=function(e,t){return e.indexOf(t)}:e.indexOf=function(e,t){if("string"==typeof e)return e.indexOf(t);var n,i,o=t?t:0;if(!this)throw new TypeError;if(i=this.length,0===i||o>=i)return-1;for(0>o&&(o=i-Math.abs(o)),n=o;i>n;n++)if(this[n]===e)return n;return-1},Array.isArray?e.isArray=function(e){return Array.isArray(e)}:e.isArray=function(e){return"[object Array]"===Object.prototype.toString.call(e)},Object.keys?e.iterate=function(e,t){if(!e)return[];var n,i=Object.keys(e);for(n=0;i[n]&&t(i[n],e[i[n]])!==!1;n++);}:e.iterate=function(e,t){if(!e)return[];var n;for(n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t(n,e[n])===!1)break},window.matchMedia?e.matchesMedia=function(e){return""==e?!0:window.matchMedia(e).matches}:window.styleMedia||window.media?e.matchesMedia=function(e){if(""==e)return!0;var t=window.styleMedia||window.media;return t.matchMedium(e||"all")}:window.getComputedStyle?e.matchesMedia=function(e){if(""==e)return!0;var t=document.createElement("style"),n=document.getElementsByTagName("script")[0],i=null;t.type="text/css",t.id="matchmediajs-test",n.parentNode.insertBefore(t,n),i="getComputedStyle"in window&&window.getComputedStyle(t,null)||t.currentStyle;var o="@media "+e+"{ #matchmediajs-test { width: 1px; } }";return t.styleSheet?t.styleSheet.cssText=o:t.textContent=o,"1px"===i.width}:e.matchesMedia=function(e){if(""==e)return!0;var t,n,i,o,a={"min-width":null,"max-width":null},r=!1;for(i=e.split(/\s+and\s+/),t=0;t<i.length;t++)n=i[t],"("==n.charAt(0)&&(n=n.substring(1,n.length-1),o=n.split(/:\s+/),2==o.length&&(a[o[0].replace(/^\s+|\s+$/g,"")]=parseInt(o[1]),r=!0));if(!r)return!1;var s=document.documentElement.clientWidth,l=document.documentElement.clientHeight;return null!==a["min-width"]&&s<a["min-width"]||null!==a["max-width"]&&s>a["max-width"]||null!==a["min-height"]&&l<a["min-height"]||null!==a["max-height"]&&l>a["max-height"]?!1:!0},navigator.userAgent.match(/MSIE ([0-9]+)/)&&RegExp.$1<9&&(e.newStyle=function(e){var t=document.createElement("span");return t.innerHTML='&nbsp;<style type="text/css">'+e+"</style>",t})},initVars:function(){var t,n,i,o=navigator.userAgent;t="other",n=0,i=[["firefox",/Firefox\/([0-9\.]+)/],["bb",/BlackBerry.+Version\/([0-9\.]+)/],["bb",/BB[0-9]+.+Version\/([0-9\.]+)/],["opera",/OPR\/([0-9\.]+)/],["opera",/Opera\/([0-9\.]+)/],["edge",/Edge\/([0-9\.]+)/],["safari",/Version\/([0-9\.]+).+Safari/],["chrome",/Chrome\/([0-9\.]+)/],["ie",/MSIE ([0-9]+)/],["ie",/Trident\/.+rv:([0-9]+)/]],e.iterate(i,function(e,i){return o.match(i[1])?(t=i[0],n=parseFloat(RegExp.$1),!1):void 0}),e.vars.browser=t,e.vars.browserVersion=n,t="other",n=0,i=[["ios",/([0-9_]+) like Mac OS X/,function(e){return e.replace("_",".").replace("_","")}],["ios",/CPU like Mac OS X/,function(){return 0}],["android",/Android ([0-9\.]+)/,null],["mac",/Macintosh.+Mac OS X ([0-9_]+)/,function(e){return e.replace("_",".").replace("_","")}],["wp",/Windows Phone ([0-9\.]+)/,null],["windows",/Windows NT ([0-9\.]+)/,null],["bb",/BlackBerry.+Version\/([0-9\.]+)/,null],["bb",/BB[0-9]+.+Version\/([0-9\.]+)/,null]],e.iterate(i,function(e,i){return o.match(i[1])?(t=i[0],n=parseFloat(i[2]?i[2](RegExp.$1):RegExp.$1),!1):void 0}),e.vars.os=t,e.vars.osVersion=n,e.vars.IEVersion="ie"==e.vars.browser?e.vars.browserVersion:99,e.vars.touch="wp"==e.vars.os?navigator.msMaxTouchPoints>0:!!("ontouchstart"in window),e.vars.mobile="wp"==e.vars.os||"android"==e.vars.os||"ios"==e.vars.os||"bb"==e.vars.os}};return e.init(),e}();!function(e,t){"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?module.exports=t():e.skel=t()}(this,function(){return skel}),!function(e){"use strict";var t={config:{width:"device-width",height:"",scalable:!0,breakpoints:{}},init:function(n){return e.extend(t.config,n),e.addStateHandler("viewport",t.stateHandler),e.attach(e.newAttachment("mv",t.newViewportMeta("initial-scale=1"),1,!0)),"ie"==e.vars.browser&&e.vars.IEVersion>=10&&(e.attach(e.newAttachment("mVie",e.newStyle("@-ms-viewport{width:device-width}"),1,!0)),window.setTimeout(function(){var e=document.getElementsByTagName("body")[0],t=e.style.height;e.style.height="10000px",window.setTimeout(function(){e.style.height=t},250)},250)),e},newViewportMeta:function(e){var t=document.createElement("meta");return t.name="viewport",t.content=e,t},stateHandler:function(){var n,i,o;return i=e.generateStateConfig({width:t.config.width,height:t.config.height,scalable:t.config.scalable},t.config.breakpoints),o=[],o.push("user-scalable="+(i.scalable?"yes":"no")),i.width&&o.push("width="+i.width),i.height&&o.push("height="+i.height),"device-width"==i.width&&o.push("initial-scale=1"),n=e.newAttachment("mv-"+e.stateId,t.newViewportMeta(o.join(",")),1),[n]}};e.viewport=t.init}(skel),function(e){e.fn.navList=function(){var t=e(this);return $a=t.find("a"),b=[],$a.each(function(){var t=e(this),n=Math.max(0,t.parents("li").length-1),i=t.attr("href"),o=t.attr("target");b.push('<a class="link depth-'+n+'"'+("undefined"!=typeof o&&""!=o?' target="'+o+'"':"")+("undefined"!=typeof i&&""!=i?' href="'+i+'"':"")+'><span class="indent-'+n+'"></span>'+t.text()+"</a>")}),b.join("")},e.fn.panel=function(t){if(0==this.length)return o;if(this.length>1){for(var n=0;n<this.length;n++)e(this[n]).panel(t);return o}var i,o=e(this),a=e("body"),r=e(window),s=o.attr("id");return i=e.extend({delay:0,hideOnClick:!1,hideOnEscape:!1,hideOnSwipe:!1,resetScroll:!1,resetForms:!1,side:null,target:o,visibleClass:"visible"},t),"jQuery"!=typeof i.target&&(i.target=e(i.target)),o._hide=function(e){i.target.hasClass(i.visibleClass)&&(e&&(e.preventDefault(),e.stopPropagation()),i.target.removeClass(i.visibleClass),window.setTimeout(function(){i.resetScroll&&o.scrollTop(0),i.resetForms&&o.find("form").each(function(){this.reset()})},i.delay))},o.css("-ms-overflow-style","-ms-autohiding-scrollbar").css("-webkit-overflow-scrolling","touch"),i.hideOnClick&&(o.find("a").css("-webkit-tap-highlight-color","rgba(0,0,0,0)"),o.on("click","a",function(t){var n=e(this),a=n.attr("href"),r=n.attr("target");a&&"#"!=a&&""!=a&&a!="#"+s&&(t.preventDefault(),t.stopPropagation(),o._hide(),window.setTimeout(function(){"_blank"==r?window.open(a):window.location.href=a},i.delay+10))})),o.on("touchstart",function(e){o.touchPosX=e.originalEvent.touches[0].pageX,o.touchPosY=e.originalEvent.touches[0].pageY}),o.on("touchmove",function(e){if(null!==o.touchPosX&&null!==o.touchPosY){var t=o.touchPosX-e.originalEvent.touches[0].pageX,n=o.touchPosY-e.originalEvent.touches[0].pageY,a=o.outerHeight(),r=o.get(0).scrollHeight-o.scrollTop();if(i.hideOnSwipe){var s=!1,l=20,u=50;switch(i.side){case"left":s=l>n&&n>-1*l&&t>u;break;case"right":s=l>n&&n>-1*l&&-1*u>t;break;case"top":s=l>t&&t>-1*l&&n>u;break;case"bottom":s=l>t&&t>-1*l&&-1*u>n}if(s)return o.touchPosX=null,o.touchPosY=null,o._hide(),!1}(o.scrollTop()<0&&0>n||r>a-2&&a+2>r&&n>0)&&(e.preventDefault(),e.stopPropagation())}}),o.on("click touchend touchstart touchmove",function(e){e.stopPropagation()}),o.on("click",'a[href="#'+s+'"]',function(e){e.preventDefault(),e.stopPropagation(),i.target.removeClass(i.visibleClass)}),a.on("click touchend",function(e){o._hide(e)}),a.on("click",'a[href="#'+s+'"]',function(e){e.preventDefault(),e.stopPropagation(),i.target.toggleClass(i.visibleClass)}),i.hideOnEscape&&r.on("keydown",function(e){27==e.keyCode&&o._hide(e)}),o},e.fn.placeholder=function(){if("undefined"!=typeof document.createElement("input").placeholder)return e(this);if(0==this.length)return n;if(this.length>1){for(var t=0;t<this.length;t++)e(this[t]).placeholder();return n}var n=e(this);return n.find("input[type=text],textarea").each(function(){var t=e(this);(""==t.val()||t.val()==t.attr("placeholder"))&&t.addClass("polyfill-placeholder").val(t.attr("placeholder"))}).on("blur",function(){var t=e(this);t.attr("name").match(/-polyfill-field$/)||""==t.val()&&t.addClass("polyfill-placeholder").val(t.attr("placeholder"))}).on("focus",function(){var t=e(this);t.attr("name").match(/-polyfill-field$/)||t.val()==t.attr("placeholder")&&t.removeClass("polyfill-placeholder").val("")}),n.find("input[type=password]").each(function(){var t=e(this),n=e(e("<div>").append(t.clone()).remove().html().replace(/type="password"/i,'type="text"').replace(/type=password/i,"type=text"));""!=t.attr("id")&&n.attr("id",t.attr("id")+"-polyfill-field"),""!=t.attr("name")&&n.attr("name",t.attr("name")+"-polyfill-field"),n.addClass("polyfill-placeholder").val(n.attr("placeholder")).insertAfter(t),""==t.val()?t.hide():n.hide(),t.on("blur",function(e){e.preventDefault();var n=t.parent().find("input[name="+t.attr("name")+"-polyfill-field]");""==t.val()&&(t.hide(),n.show())}),n.on("focus",function(e){e.preventDefault();var t=n.parent().find("input[name="+n.attr("name").replace("-polyfill-field","")+"]");n.hide(),t.show().focus()}).on("keypress",function(e){e.preventDefault(),n.val("")})}),n.on("submit",function(){n.find("input[type=text],input[type=password],textarea").each(function(){var t=e(this);t.attr("name").match(/-polyfill-field$/)&&t.attr("name",""),t.val()==t.attr("placeholder")&&(t.removeClass("polyfill-placeholder"),t.val(""))})}).on("reset",function(t){t.preventDefault(),n.find("select").val(e("option:first").val()),n.find("input,textarea").each(function(){var t,n=e(this);switch(n.removeClass("polyfill-placeholder"),this.type){case"submit":case"reset":break;case"password":n.val(n.attr("defaultValue")),t=n.parent().find("input[name="+n.attr("name")+"-polyfill-field]"),""==n.val()?(n.hide(),t.show()):(n.show(),t.hide());break;case"checkbox":case"radio":n.attr("checked",n.attr("defaultValue"));break;case"text":case"textarea":n.val(n.attr("defaultValue")),""==n.val()&&(n.addClass("polyfill-placeholder"),n.val(n.attr("placeholder")));break;default:n.val(n.attr("defaultValue"))}})}),n},e.prioritize=function(t,n){var i="__prioritize";"jQuery"!=typeof t&&(t=e(t)),t.each(function(){var t,o=e(this),a=o.parent();if(0!=a.length)if(o.data(i)){if(n)return;t=o.data(i),o.insertAfter(t),o.removeData(i)}else{if(!n)return;if(t=o.prev(),0==t.length)return;o.prependTo(a),o.data(i,t)}})}}(jQuery),function(e){skel.breakpoints({desktop:"(min-width: 737px)",tablet:"(min-width: 737px) and (max-width: 1200px)",mobile:"(max-width: 736px)"}).viewport({breakpoints:{tablet:{width:1080}}}),e(function(){var t=e(window),n=e("body");n.addClass("is-loading"),t.on("load",function(){n.removeClass("is-loading")}),e("form").placeholder(),skel.on("+mobile -mobile",function(){e.prioritize(".important\\28 mobile\\29",skel.breakpoint("mobile").active)}),skel.vars.IEVersion<9&&e(":last-child").addClass("last-child"),e("#nav > ul").dropotron({mode:"fade",noOpenerFade:!0,hoverDelay:150,hideDelay:350}),e('<div id="titleBar"><a href="#navPanel" class="toggle"></a></div>').appendTo(n),e('<div id="navPanel"><nav>'+e("#nav").navList()+"</nav></div>").appendTo(n).panel({delay:500,hideOnClick:!0,hideOnSwipe:!0,resetScroll:!0,resetForms:!0,side:"left",target:n,visibleClass:"navPanel-visible"}),"wp"==skel.vars.os&&skel.vars.osVersion<10&&e("#titleBar, #navPanel, #page-wrapper").css("transition","none")})}(jQuery);