You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
RMAGEN/junctions/scripts/techsmith-smart-player.min.js

58 lines
330 KiB
JavaScript

/*! TechSmith Smart Player v3.19.2 */
/*! jQuery v1.10.2 | (c) 2005, 2013 jQuery Foundation, Inc. | jquery.org/license
*/
(function(e,t){var n,r,i=typeof t,o=e.location,a=e.document,s=a.documentElement,l=e.jQuery,u=e.$,c={},p=[],f="1.10.2",d=p.concat,h=p.push,g=p.slice,m=p.indexOf,y=c.toString,v=c.hasOwnProperty,b=f.trim,x=function(e,t){return new x.fn.init(e,t,r)},w=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,T=/\S+/g,C=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,N=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,k=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,E=/^[\],:{}\s]*$/,S=/(?:^|:|,)(?:\s*\[)+/g,A=/\\(?:["\\\/bfnrt]|u[\da-fA-F]{4})/g,j=/"[^"\\\r\n]*"|true|false|null|-?(?:\d+\.|)\d+(?:[eE][+-]?\d+|)/g,D=/^-ms-/,L=/-([\da-z])/gi,H=function(e,t){return t.toUpperCase()},q=function(e){(a.addEventListener||"load"===e.type||"complete"===a.readyState)&&(_(),x.ready())},_=function(){a.addEventListener?(a.removeEventListener("DOMContentLoaded",q,!1),e.removeEventListener("load",q,!1)):(a.detachEvent("onreadystatechange",q),e.detachEvent("onload",q))};x.fn=x.prototype={jquery:f,constructor:x,init:function(e,n,r){var i,o;if(!e)return this;if("string"==typeof e){if(i="<"===e.charAt(0)&&">"===e.charAt(e.length-1)&&e.length>=3?[null,e,null]:N.exec(e),!i||!i[1]&&n)return!n||n.jquery?(n||r).find(e):this.constructor(n).find(e);if(i[1]){if(n=n instanceof x?n[0]:n,x.merge(this,x.parseHTML(i[1],n&&n.nodeType?n.ownerDocument||n:a,!0)),k.test(i[1])&&x.isPlainObject(n))for(i in n)x.isFunction(this[i])?this[i](n[i]):this.attr(i,n[i]);return this}if(o=a.getElementById(i[2]),o&&o.parentNode){if(o.id!==i[2])return r.find(e);this.length=1,this[0]=o}return this.context=a,this.selector=e,this}return e.nodeType?(this.context=this[0]=e,this.length=1,this):x.isFunction(e)?r.ready(e):(e.selector!==t&&(this.selector=e.selector,this.context=e.context),x.makeArray(e,this))},selector:"",length:0,toArray:function(){return g.call(this)},get:function(e){return null==e?this.toArray():0>e?this[this.length+e]:this[e]},pushStack:function(e){var t=x.merge(this.constructor(),e);return t.prevObject=this,t.context=this.context,t},each:function(e,t){return x.each(this,e,t)},ready:function(e){return x.ready.promise().done(e),this},slice:function(){return this.pushStack(g.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var t=this.length,n=+e+(0>e?t:0);return this.pushStack(n>=0&&t>n?[this[n]]:[])},map:function(e){return this.pushStack(x.map(this,function(t,n){return e.call(t,n,t)}))},end:function(){return this.prevObject||this.constructor(null)},push:h,sort:[].sort,splice:[].splice},x.fn.init.prototype=x.fn,x.extend=x.fn.extend=function(){var e,n,r,i,o,a,s=arguments[0]||{},l=1,u=arguments.length,c=!1;for("boolean"==typeof s&&(c=s,s=arguments[1]||{},l=2),"object"==typeof s||x.isFunction(s)||(s={}),u===l&&(s=this,--l);u>l;l++)if(null!=(o=arguments[l]))for(i in o)e=s[i],r=o[i],s!==r&&(c&&r&&(x.isPlainObject(r)||(n=x.isArray(r)))?(n?(n=!1,a=e&&x.isArray(e)?e:[]):a=e&&x.isPlainObject(e)?e:{},s[i]=x.extend(c,a,r)):r!==t&&(s[i]=r));return s},x.extend({expando:"jQuery"+(f+Math.random()).replace(/\D/g,""),noConflict:function(t){return e.$===x&&(e.$=u),t&&e.jQuery===x&&(e.jQuery=l),x},isReady:!1,readyWait:1,holdReady:function(e){e?x.readyWait++:x.ready(!0)},ready:function(e){if(e===!0?!--x.readyWait:!x.isReady){if(!a.body)return setTimeout(x.ready);x.isReady=!0,e!==!0&&--x.readyWait>0||(n.resolveWith(a,[x]),x.fn.trigger&&x(a).trigger("ready").off("ready"))}},isFunction:function(e){return"function"===x.type(e)},isArray:Array.isArray||function(e){return"array"===x.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?e+"":"object"==typeof e||"function"==typeof e?c[y.call(e)]||"object":typeof e},isPlainObject:function(e){var n;if(!e||"object"!==x.type(e)||e.nodeType||x.isWindow(e))return!1;try{if(e.constructor&&!v.call(e,"constructor")&&!v.call(e.constructor.prototype,"isPrototypeOf"))return!1}catch(r){return!1}if(x.support.ownLast)for(n in e)return v.call(e,n);for(n in e);return n===t||v.call(e,n)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},error:function(e){throw Error(e)},parseHTML:function(e,t,n){if(!e||"string"!=typeof e)return null;"boolean"==typeof t&&(n=t,t=!1),t=t||a;var r=k.exec(e),i=!n&&[];return r?[t.createElement(r[1])]:(r=x.buildFragment([e],t,i),i&&x(i).remove(),x.merge([],r.childNodes))},parseJSON:function(n){return e.JSON&&e.JSON.parse?e.JSON.parse(n):null===n?n:"string"==typeof n&&(n=x.trim(n),n&&E.test(n.replace(A,"@").replace(j,"]").replace(S,"")))?Function("return "+n)():(x.error("Invalid JSON: "+n),t)},parseXML:function(n){var r,i;if(!n||"string"!=typeof n)return null;try{e.DOMParser?(i=new DOMParser,r=i.parseFromString(n,"text/xml")):(r=new ActiveXObject("Microsoft.XMLDOM"),r.async="false",r.loadXML(n))}catch(o){r=t}return r&&r.documentElement&&!r.getElementsByTagName("parsererror").length||x.error("Invalid XML: "+n),r},noop:function(){},globalEval:function(t){t&&x.trim(t)&&(e.execScript||function(t){e.eval.call(e,t)})(t)},camelCase:function(e){return e.replace(D,"ms-").replace(L,H)},nodeName:function(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()},each:function(e,t,n){var r,i=0,o=e.length,a=M(e);if(n){if(a){for(;o>i;i++)if(r=t.apply(e[i],n),r===!1)break}else for(i in e)if(r=t.apply(e[i],n),r===!1)break}else if(a){for(;o>i;i++)if(r=t.call(e[i],i,e[i]),r===!1)break}else for(i in e)if(r=t.call(e[i],i,e[i]),r===!1)break;return e},trim:b&&!b.call("\ufeff\u00a0")?function(e){return null==e?"":b.call(e)}:function(e){return null==e?"":(e+"").replace(C,"")},makeArray:function(e,t){var n=t||[];return null!=e&&(M(Object(e))?x.merge(n,"string"==typeof e?[e]:e):h.call(n,e)),n},inArray:function(e,t,n){var r;if(t){if(m)return m.call(t,e,n);for(r=t.length,n=n?0>n?Math.max(0,r+n):n:0;r>n;n++)if(n in t&&t[n]===e)return n}return-1},merge:function(e,n){var r=n.length,i=e.length,o=0;if("number"==typeof r)for(;r>o;o++)e[i++]=n[o];else while(n[o]!==t)e[i++]=n[o++];return e.length=i,e},grep:function(e,t,n){var r,i=[],o=0,a=e.length;for(n=!!n;a>o;o++)r=!!t(e[o],o),n!==r&&i.push(e[o]);return i},map:function(e,t,n){var r,i=0,o=e.length,a=M(e),s=[];if(a)for(;o>i;i++)r=t(e[i],i,n),null!=r&&(s[s.length]=r);else for(i in e)r=t(e[i],i,n),null!=r&&(s[s.length]=r);return d.apply([],s)},guid:1,proxy:function(e,n){var r,i,o;return"string"==typeof n&&(o=e[n],n=e,e=o),x.isFunction(e)?(r=g.call(arguments,2),i=function(){return e.apply(n||this,r.concat(g.call(arguments)))},i.guid=e.guid=e.guid||x.guid++,i):t},access:function(e,n,r,i,o,a,s){var l=0,u=e.length,c=null==r;if("object"===x.type(r)){o=!0;for(l in r)x.access(e,n,l,r[l],!0,a,s)}else if(i!==t&&(o=!0,x.isFunction(i)||(s=!0),c&&(s?(n.call(e,i),n=null):(c=n,n=function(e,t,n){return c.call(x(e),n)})),n))for(;u>l;l++)n(e[l],r,s?i:i.call(e[l],l,n(e[l],r)));return o?e:c?n.call(e):u?n(e[0],r):a},now:function(){return(new Date).getTime()},swap:function(e,t,n,r){var i,o,a={};for(o in t)a[o]=e.style[o],e.style[o]=t[o];i=n.apply(e,r||[]);for(o in t)e.style[o]=a[o];return i}}),x.ready.promise=function(t){if(!n)if(n=x.Deferred(),"complete"===a.readyState)setTimeout(x.ready);else if(a.addEventListener)a.addEventListener("DOMContentLoaded",q,!1),e.addEventListener("load",q,!1);else{a.attachEvent("onreadystatechange",q),e.attachEvent("onload",q);var r=!1;try{r=null==e.frameElement&&a.documentElement}catch(i){}r&&r.doScroll&&function o(){if(!x.isReady){try{r.doScroll("left")}catch(e){return setTimeout(o,50)}_(),x.ready()}}()}return n.promise(t)},x.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),function(e,t){c["[object "+t+"]"]=t.toLowerCase()});function M(e){var t=e.length,n=x.type(e);return x.isWindow(e)?!1:1===e.nodeType&&t?!0:"array"===n||"function"!==n&&(0===t||"number"==typeof t&&t>0&&t-1 in e)}r=x(a),function(e,t){var n,r,i,o,a,s,l,u,c,p,f,d,h,g,m,y,v,b="sizzle"+-new Date,w=e.document,T=0,C=0,N=st(),k=st(),E=st(),S=!1,A=function(e,t){return e===t?(S=!0,0):0},j=typeof t,D=1<<31,L={}.hasOwnProperty,H=[],q=H.pop,_=H.push,M=H.push,O=H.slice,F=H.indexOf||function(e){var t=0,n=this.length;for(;n>t;t++)if(this[t]===e)return t;return-1},B="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",P="[\\x20\\t\\r\\n\\f]",R="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",W=R.replace("w","w#"),$="\\["+P+"*("+R+")"+P+"*(?:([*^$|!~]?=)"+P+"*(?:(['\"])((?:\\\\.|[^\\\\])*?)\\3|("+W+")|)|)"+P+"*\\]",I=":("+R+")(?:\\(((['\"])((?:\\\\.|[^\\\\])*?)\\3|((?:\\\\.|[^\\\\()[\\]]|"+$.replace(3,8)+")*)|.*)\\)|)",z=RegExp("^"+P+"+|((?:^|[^\\\\])(?:\\\\.)*)"+P+"+$","g"),X=RegExp("^"+P+"*,"+P+"*"),U=RegExp("^"+P+"*([>+~]|"+P+")"+P+"*"),V=RegExp(P+"*[+~]"),Y=RegExp("="+P+"*([^\\]'\"]*)"+P+"*\\]","g"),J=RegExp(I),G=RegExp("^"+W+"$"),Q={ID:RegExp("^#("+R+")"),CLASS:RegExp("^\\.("+R+")"),TAG:RegExp("^("+R.replace("w","w*")+")"),ATTR:RegExp("^"+$),PSEUDO:RegExp("^"+I),CHILD:RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+P+"*(even|odd|(([+-]|)(\\d*)n|)"+P+"*(?:([+-]|)"+P+"*(\\d+)|))"+P+"*\\)|)","i"),bool:RegExp("^(?:"+B+")$","i"),needsContext:RegExp("^"+P+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+P+"*((?:-\\d)?\\d*)"+P+"*\\)|)(?=[^-]|$)","i")},K=/^[^{]+\{\s*\[native \w/,Z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,et=/^(?:input|select|textarea|button)$/i,tt=/^h\d$/i,nt=/'|\\/g,rt=RegExp("\\\\([\\da-f]{1,6}"+P+"?|("+P+")|.)","ig"),it=function(e,t,n){var r="0x"+t-65536;return r!==r||n?t:0>r?String.fromCharCode(r+65536):String.fromCharCode(55296|r>>10,56320|1023&r)};try{M.apply(H=O.call(w.childNodes),w.childNodes),H[w.childNodes.length].nodeType}catch(ot){M={apply:H.length?function(e,t){_.apply(e,O.call(t))}:function(e,t){var n=e.length,r=0;while(e[n++]=t[r++]);e.length=n-1}}}function at(e,t,n,i){var o,a,s,l,u,c,d,m,y,x;if((t?t.ownerDocument||t:w)!==f&&p(t),t=t||f,n=n||[],!e||"string"!=typeof e)return n;if(1!==(l=t.nodeType)&&9!==l)return[];if(h&&!i){if(o=Z.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))&&v(t,a)&&a.id===s)return n.push(a),n}else{if(o[2])return M.apply(n,t.getElementsByTagName(e)),n;if((s=o[3])&&r.getElementsByClassName&&t.getElementsByClassName)return M.apply(n,t.getElementsByClassName(s)),n}if(r.qsa&&(!g||!g.test(e))){if(m=d=b,y=t,x=9===l&&e,1===l&&"object"!==t.nodeName.toLowerCase()){c=mt(e),(d=t.getAttribute("id"))?m=d.replace(nt,"\\$&"):t.setAttribute("id",m),m="[id='"+m+"'] ",u=c.length;while(u--)c[u]=m+yt(c[u]);y=V.test(e)&&t.parentNode||t,x=c.join(",")}if(x)try{return M.apply(n,y.querySelectorAll(x)),n}catch(T){}finally{d||t.removeAttribute("id")}}}return kt(e.replace(z,"$1"),t,n,i)}function st(){var e=[];function t(n,r){return e.push(n+=" ")>o.cacheLength&&delete t[e.shift()],t[n]=r}return t}function lt(e){return e[b]=!0,e}function ut(e){var t=f.createElement("div");try{return!!e(t)}catch(n){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function ct(e,t){var n=e.split("|"),r=e.length;while(r--)o.attrHandle[n[r]]=t}function pt(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&(~t.sourceIndex||D)-(~e.sourceIndex||D);if(r)return r;if(n)while(n=n.nextSibling)if(n===t)return-1;return e?1:-1}function ft(e){return function(t){var n=t.nodeName.toLowerCase();return"input"===n&&t.type===e}}function dt(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function ht(e){return lt(function(t){return t=+t,lt(function(n,r){var i,o=e([],n.length,t),a=o.length;while(a--)n[i=o[a]]&&(n[i]=!(r[i]=n[i]))})})}s=at.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return t?"HTML"!==t.nodeName:!1},r=at.support={},p=at.setDocument=function(e){var n=e?e.ownerDocument||e:w,i=n.defaultView;return n!==f&&9===n.nodeType&&n.documentElement?(f=n,d=n.documentElement,h=!s(n),i&&i.attachEvent&&i!==i.top&&i.attachEvent("onbeforeunload",function(){p()}),r.attributes=ut(function(e){return e.className="i",!e.getAttribute("className")}),r.getElementsByTagName=ut(function(e){return e.appendChild(n.createComment("")),!e.getElementsByTagName("*").length}),r.getElementsByClassName=ut(function(e){return e.innerHTML="<div class='a'></div><div class='a i'></div>",e.firstChild.className="i",2===e.getElementsByClassName("i").length}),r.getById=ut(function(e){return d.appendChild(e).id=b,!n.getElementsByName||!n.getElementsByName(b).length}),r.getById?(o.find.ID=function(e,t){if(typeof t.getElementById!==j&&h){var n=t.getElementById(e);return n&&n.parentNode?[n]:[]}},o.filter.ID=function(e){var t=e.replace(rt,it);return function(e){return e.getAttribute("id")===t}}):(delete o.find.ID,o.filter.ID=function(e){var t=e.replace(rt,it);return function(e){var n=typeof e.getAttributeNode!==j&&e.getAttributeNode("id");return n&&n.value===t}}),o.find.TAG=r.getElementsByTagName?function(e,n){return typeof n.getElementsByTagName!==j?n.getElementsByTagName(e):t}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"===e){while(n=o[i++])1===n.nodeType&&r.push(n);return r}return o},o.find.CLASS=r.getElementsByClassName&&function(e,n){return typeof n.getElementsByClassName!==j&&h?n.getElementsByClassName(e):t},m=[],g=[],(r.qsa=K.test(n.querySelectorAll))&&(ut(function(e){e.innerHTML="<select><option selected=''></option></select>",e.querySelectorAll("[selected]").length||g.push("\\["+P+"*(?:value|"+B+")"),e.querySelectorAll(":checked").length||g.push(":checked")}),ut(function(e){var t=n.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("t",""),e.querySelectorAll("[t^='']").length&&g.push("[*^$]="+P+"*(?:''|\"\")"),e.querySelectorAll(":enabled").length||g.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),g.push(",.*:")})),(r.matchesSelector=K.test(y=d.webkitMatchesSelector||d.mozMatchesSelector||d.oMatchesSelector||d.msMatchesSelector))&&ut(function(e){r.disconnectedMatch=y.call(e,"div"),y.call(e,"[s!='']:x"),m.push("!=",I)}),g=g.length&&RegExp(g.join("|")),m=m.length&&RegExp(m.join("|")),v=K.test(d.contains)||d.compareDocumentPosition?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)while(t=t.parentNode)if(t===e)return!0;return!1},A=d.compareDocumentPosition?function(e,t){if(e===t)return S=!0,0;var i=t.compareDocumentPosition&&e.compareDocumentPosition&&e.compareDocumentPosition(t);return i?1&i||!r.sortDetached&&t.compareDocumentPosition(e)===i?e===n||v(w,e)?-1:t===n||v(w,t)?1:c?F.call(c,e)-F.call(c,t):0:4&i?-1:1:e.compareDocumentPosition?-1:1}:function(e,t){var r,i=0,o=e.parentNode,a=t.parentNode,s=[e],l=[t];if(e===t)return S=!0,0;if(!o||!a)return e===n?-1:t===n?1:o?-1:a?1:c?F.call(c,e)-F.call(c,t):0;if(o===a)return pt(e,t);r=e;while(r=r.parentNode)s.unshift(r);r=t;while(r=r.parentNode)l.unshift(r);while(s[i]===l[i])i++;return i?pt(s[i],l[i]):s[i]===w?-1:l[i]===w?1:0},n):f},at.matches=function(e,t){return at(e,null,null,t)},at.matchesSelector=function(e,t){if((e.ownerDocument||e)!==f&&p(e),t=t.replace(Y,"='$1']"),!(!r.matchesSelector||!h||m&&m.test(t)||g&&g.test(t)))try{var n=y.call(e,t);if(n||r.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(i){}return at(t,f,null,[e]).length>0},at.contains=function(e,t){return(e.ownerDocument||e)!==f&&p(e),v(e,t)},at.attr=function(e,n){(e.ownerDocument||e)!==f&&p(e);var i=o.attrHandle[n.toLowerCase()],a=i&&L.call(o.attrHandle,n.toLowerCase())?i(e,n,!h):t;return a===t?r.attributes||!h?e.getAttribute(n):(a=e.getAttributeNode(n))&&a.specified?a.value:null:a},at.error=function(e){throw Error("Syntax error, unrecognized expression: "+e)},at.uniqueSort=function(e){var t,n=[],i=0,o=0;if(S=!r.detectDuplicates,c=!r.sortStable&&e.slice(0),e.sort(A),S){while(t=e[o++])t===e[o]&&(i=n.push(o));while(i--)e.splice(n[i],1)}return e},a=at.getText=function(e){var t,n="",r=0,i=e.nodeType;if(i){if(1===i||9===i||11===i){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=a(e)}else if(3===i||4===i)return e.nodeValue}else for(;t=e[r];r++)n+=a(t);return n},o=at.selectors={cacheLength:50,createPseudo:lt,match:Q,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(rt,it),e[3]=(e[4]||e[5]||"").replace(rt,it),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||at.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&at.error(e[0]),e},PSEUDO:function(e){var n,r=!e[5]&&e[2];return Q.CHILD.test(e[0])?null:(e[3]&&e[4]!==t?e[2]=e[4]:r&&J.test(r)&&(n=mt(r,!0))&&(n=r.indexOf(")",r.length-n)-r.length)&&(e[0]=e[0].slice(0,n),e[2]=r.slice(0,n)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(rt,it).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=N[e+" "];return t||(t=RegExp("(^|"+P+")"+e+"("+P+"|$)"))&&N(e,function(e){return t.test("string"==typeof e.className&&e.className||typeof e.getAttribute!==j&&e.getAttribute("class")||"")})},ATTR:function(e,t,n){return function(r){var i=at.attr(r,e);return null==i?"!="===t:t?(i+="","="===t?i===n:"!="===t?i!==n:"^="===t?n&&0===i.indexOf(n):"*="===t?n&&i.indexOf(n)>-1:"$="===t?n&&i.slice(-n.length)===n:"~="===t?(" "+i+" ").indexOf(n)>-1:"|="===t?i===n||i.slice(0,n.length+1)===n+"-":!1):!0}},CHILD:function(e,t,n,r,i){var o="nth"!==e.slice(0,3),a="last"!==e.slice(-4),s="of-type"===t;return 1===r&&0===i?function(e){return!!e.parentNode}:function(t,n,l){var u,c,p,f,d,h,g=o!==a?"nextSibling":"previousSibling",m=t.parentNode,y=s&&t.nodeName.toLowerCase(),v=!l&&!s;if(m){if(o){while(g){p=t;while(p=p[g])if(s?p.nodeName.toLowerCase()===y:1===p.nodeType)return!1;h=g="only"===e&&!h&&"nextSibling"}return!0}if(h=[a?m.firstChild:m.lastChild],a&&v){c=m[b]||(m[b]={}),u=c[e]||[],d=u[0]===T&&u[1],f=u[0]===T&&u[2],p=d&&m.childNodes[d];while(p=++d&&p&&p[g]||(f=d=0)||h.pop())if(1===p.nodeType&&++f&&p===t){c[e]=[T,d,f];break}}else if(v&&(u=(t[b]||(t[b]={}))[e])&&u[0]===T)f=u[1];else while(p=++d&&p&&p[g]||(f=d=0)||h.pop())if((s?p.nodeName.toLowerCase()===y:1===p.nodeType)&&++f&&(v&&((p[b]||(p[b]={}))[e]=[T,f]),p===t))break;return f-=i,f===r||0===f%r&&f/r>=0}}},PSEUDO:function(e,t){var n,r=o.pseudos[e]||o.setFilters[e.toLowerCase()]||at.error("unsupported pseudo: "+e);return r[b]?r(t):r.length>1?(n=[e,e,"",t],o.setFilters.hasOwnProperty(e.toLowerCase())?lt(function(e,n){var i,o=r(e,t),a=o.length;while(a--)i=F.call(e,o[a]),e[i]=!(n[i]=o[a])}):function(e){return r(e,0,n)}):r}},pseudos:{not:lt(function(e){var t=[],n=[],r=l(e.replace(z,"$1"));return r[b]?lt(function(e,t,n,i){var o,a=r(e,null,i,[]),s=e.length;while(s--)(o=a[s])&&(e[s]=!(t[s]=o))}):function(e,i,o){return t[0]=e,r(t,null,o,n),!n.pop()}}),has:lt(function(e){return function(t){return at(e,t).length>0}}),contains:lt(function(e){return function(t){return(t.textContent||t.innerText||a(t)).indexOf(e)>-1}}),lang:lt(function(e){return G.test(e||"")||at.error("unsupported lang: "+e),e=e.replace(rt,it).toLowerCase(),function(t){var n;do if(n=h?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return n=n.toLowerCase(),n===e||0===n.indexOf(e+"-");while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===d},focus:function(e){return e===f.activeElement&&(!f.hasFocus||f.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},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},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeName>"@"||3===e.nodeType||4===e.nodeType)return!1;return!0},parent:function(e){return!o.pseudos.empty(e)},header:function(e){return tt.test(e.nodeName)},input:function(e){return et.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||t.toLowerCase()===e.type)},first:ht(function(){return[0]}),last:ht(function(e,t){return[t-1]}),eq:ht(function(e,t,n){return[0>n?n+t:n]}),even:ht(function(e,t){var n=0;for(;t>n;n+=2)e.push(n);return e}),odd:ht(function(e,t){var n=1;for(;t>n;n+=2)e.push(n);return e}),lt:ht(function(e,t,n){var r=0>n?n+t:n;for(;--r>=0;)e.push(r);return e}),gt:ht(function(e,t,n){var r=0>n?n+t:n;for(;t>++r;)e.push(r);return e})}},o.pseudos.nth=o.pseudos.eq;for(n in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})o.pseudos[n]=ft(n);for(n in{submit:!0,reset:!0})o.pseudos[n]=dt(n);function gt(){}gt.prototype=o.filters=o.pseudos,o.setFilters=new gt;function mt(e,t){var n,r,i,a,s,l,u,c=k[e+" "];if(c)return t?0:c.slice(0);s=e,l=[],u=o.preFilter;while(s){(!n||(r=X.exec(s)))&&(r&&(s=s.slice(r[0].length)||s),l.push(i=[])),n=!1,(r=U.exec(s))&&(n=r.shift(),i.push({value:n,type:r[0].replace(z," ")}),s=s.slice(n.length));for(a in o.filter)!(r=Q[a].exec(s))||u[a]&&!(r=u[a](r))||(n=r.shift(),i.push({value:n,type:a,matches:r}),s=s.slice(n.length));if(!n)break}return t?s.length:s?at.error(e):k(e,l).slice(0)}function yt(e){var t=0,n=e.length,r="";for(;n>t;t++)r+=e[t].value;return r}function vt(e,t,n){var r=t.dir,o=n&&"parentNode"===r,a=C++;return t.first?function(t,n,i){while(t=t[r])if(1===t.nodeType||o)return e(t,n,i)}:function(t,n,s){var l,u,c,p=T+" "+a;if(s){while(t=t[r])if((1===t.nodeType||o)&&e(t,n,s))return!0}else while(t=t[r])if(1===t.nodeType||o)if(c=t[b]||(t[b]={}),(u=c[r])&&u[0]===p){if((l=u[1])===!0||l===i)return l===!0}else if(u=c[r]=[p],u[1]=e(t,n,s)||i,u[1]===!0)return!0}}function bt(e){return e.length>1?function(t,n,r){var i=e.length;while(i--)if(!e[i](t,n,r))return!1;return!0}:e[0]}function xt(e,t,n,r,i){var o,a=[],s=0,l=e.length,u=null!=t;for(;l>s;s++)(o=e[s])&&(!n||n(o,r,i))&&(a.push(o),u&&t.push(s));return a}function wt(e,t,n,r,i,o){return r&&!r[b]&&(r=wt(r)),i&&!i[b]&&(i=wt(i,o)),lt(function(o,a,s,l){var u,c,p,f=[],d=[],h=a.length,g=o||Nt(t||"*",s.nodeType?[s]:s,[]),m=!e||!o&&t?g:xt(g,f,e,s,l),y=n?i||(o?e:h||r)?[]:a:m;if(n&&n(m,y,s,l),r){u=xt(y,d),r(u,[],s,l),c=u.length;while(c--)(p=u[c])&&(y[d[c]]=!(m[d[c]]=p))}if(o){if(i||e){if(i){u=[],c=y.length;while(c--)(p=y[c])&&u.push(m[c]=p);i(null,y=[],u,l)}c=y.length;while(c--)(p=y[c])&&(u=i?F.call(o,p):f[c])>-1&&(o[u]=!(a[u]=p))}}else y=xt(y===a?y.splice(h,y.length):y),i?i(null,a,y,l):M.apply(a,y)})}function Tt(e){var t,n,r,i=e.length,a=o.relative[e[0].type],s=a||o.relative[" "],l=a?1:0,c=vt(function(e){return e===t},s,!0),p=vt(function(e){return F.call(t,e)>-1},s,!0),f=[function(e,n,r){return!a&&(r||n!==u)||((t=n).nodeType?c(e,n,r):p(e,n,r))}];for(;i>l;l++)if(n=o.relative[e[l].type])f=[vt(bt(f),n)];else{if(n=o.filter[e[l].type].apply(null,e[l].matches),n[b]){for(r=++l;i>r;r++)if(o.relative[e[r].type])break;return wt(l>1&&bt(f),l>1&&yt(e.slice(0,l-1).concat({value:" "===e[l-2].type?"*":""})).replace(z,"$1"),n,r>l&&Tt(e.slice(l,r)),i>r&&Tt(e=e.slice(r)),i>r&&yt(e))}f.push(n)}return bt(f)}function Ct(e,t){var n=0,r=t.length>0,a=e.length>0,s=function(s,l,c,p,d){var h,g,m,y=[],v=0,b="0",x=s&&[],w=null!=d,C=u,N=s||a&&o.find.TAG("*",d&&l.parentNode||l),k=T+=null==C?1:Math.random()||.1;for(w&&(u=l!==f&&l,i=n);null!=(h=N[b]);b++){if(a&&h){g=0;while(m=e[g++])if(m(h,l,c)){p.push(h);break}w&&(T=k,i=++n)}r&&((h=!m&&h)&&v--,s&&x.push(h))}if(v+=b,r&&b!==v){g=0;while(m=t[g++])m(x,y,l,c);if(s){if(v>0)while(b--)x[b]||y[b]||(y[b]=q.call(p));y=xt(y)}M.apply(p,y),w&&!s&&y.length>0&&v+t.length>1&&at.uniqueSort(p)}return w&&(T=k,u=C),x};return r?lt(s):s}l=at.compile=function(e,t){var n,r=[],i=[],o=E[e+" "];if(!o){t||(t=mt(e)),n=t.length;while(n--)o=Tt(t[n]),o[b]?r.push(o):i.push(o);o=E(e,Ct(i,r))}return o};function Nt(e,t,n){var r=0,i=t.length;for(;i>r;r++)at(e,t[r],n);return n}function kt(e,t,n,i){var a,s,u,c,p,f=mt(e);if(!i&&1===f.length){if(s=f[0]=f[0].slice(0),s.length>2&&"ID"===(u=s[0]).type&&r.getById&&9===t.nodeType&&h&&o.relative[s[1].type]){if(t=(o.find.ID(u.matches[0].replace(rt,it),t)||[])[0],!t)return n;e=e.slice(s.shift().value.length)}a=Q.needsContext.test(e)?0:s.length;while(a--){if(u=s[a],o.relative[c=u.type])break;if((p=o.find[c])&&(i=p(u.matches[0].replace(rt,it),V.test(s[0].type)&&t.parentNode||t))){if(s.splice(a,1),e=i.length&&yt(s),!e)return M.apply(n,i),n;break}}}return l(e,f)(i,t,!h,n,V.test(e)),n}r.sortStable=b.split("").sort(A).join("")===b,r.detectDuplicates=S,p(),r.sortDetached=ut(function(e){return 1&e.compareDocumentPosition(f.createElement("div"))}),ut(function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")})||ct("type|href|height|width",function(e,n,r){return r?t:e.getAttribute(n,"type"===n.toLowerCase()?1:2)}),r.attributes&&ut(function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||ct("value",function(e,n,r){return r||"input"!==e.nodeName.toLowerCase()?t:e.defaultValue}),ut(function(e){return null==e.getAttribute("disabled")})||ct(B,function(e,n,r){var i;return r?t:(i=e.getAttributeNode(n))&&i.specified?i.value:e[n]===!0?n.toLowerCase():null}),x.find=at,x.expr=at.selectors,x.expr[":"]=x.expr.pseudos,x.unique=at.uniqueSort,x.text=at.getText,x.isXMLDoc=at.isXML,x.contains=at.contains}(e);var O={};function F(e){var t=O[e]={};return x.each(e.match(T)||[],function(e,n){t[n]=!0}),t}x.Callbacks=function(e){e="string"==typeof e?O[e]||F(e):x.extend({},e);var n,r,i,o,a,s,l=[],u=!e.once&&[],c=function(t){for(r=e.memory&&t,i=!0,a=s||0,s=0,o=l.length,n=!0;l&&o>a;a++)if(l[a].apply(t[0],t[1])===!1&&e.stopOnFalse){r=!1;break}n=!1,l&&(u?u.length&&c(u.shift()):r?l=[]:p.disable())},p={add:function(){if(l){var t=l.length;(function i(t){x.each(t,function(t,n){var r=x.type(n);"function"===r?e.unique&&p.has(n)||l.push(n):n&&n.length&&"string"!==r&&i(n)})})(arguments),n?o=l.length:r&&(s=t,c(r))}return this},remove:function(){return l&&x.each(arguments,function(e,t){var r;while((r=x.inArray(t,l,r))>-1)l.splice(r,1),n&&(o>=r&&o--,a>=r&&a--)}),this},has:function(e){return e?x.inArray(e,l)>-1:!(!l||!l.length)},empty:function(){return l=[],o=0,this},disable:function(){return l=u=r=t,this},disabled:function(){return!l},lock:function(){return u=t,r||p.disable(),this},locked:function(){return!u},fireWith:function(e,t){return!l||i&&!u||(t=t||[],t=[e,t.slice?t.slice():t],n?u.push(t):c(t)),this},fire:function(){return p.fireWith(this,arguments),this},fired:function(){return!!i}};return p},x.extend({Deferred:function(e){var t=[["resolve","done",x.Callbacks("once memory"),"resolved"],["reject","fail",x.Callbacks("once memory"),"rejected"],["notify","progress",x.Callbacks("memory")]],n="pending",r={state:function(){return n},always:function(){return i.done(arguments).fail(arguments),this},then:function(){var e=arguments;return x.Deferred(function(n){x.each(t,function(t,o){var a=o[0],s=x.isFunction(e[t])&&e[t];i[o[1]](function(){var e=s&&s.apply(this,arguments);e&&x.isFunction(e.promise)?e.promise().done(n.resolve).fail(n.reject).progress(n.notify):n[a+"With"](this===r?n.promise():this,s?[e]:arguments)})}),e=null}).promise()},promise:function(e){return null!=e?x.extend(e,r):r}},i={};return r.pipe=r.then,x.each(t,function(e,o){var a=o[2],s=o[3];r[o[1]]=a.add,s&&a.add(function(){n=s},t[1^e][2].disable,t[2][2].lock),i[o[0]]=function(){return i[o[0]+"With"](this===i?r:this,arguments),this},i[o[0]+"With"]=a.fireWith}),r.promise(i),e&&e.call(i,i),i},when:function(e){var t=0,n=g.call(arguments),r=n.length,i=1!==r||e&&x.isFunction(e.promise)?r:0,o=1===i?e:x.Deferred(),a=function(e,t,n){return function(r){t[e]=this,n[e]=arguments.length>1?g.call(arguments):r,n===s?o.notifyWith(t,n):--i||o.resolveWith(t,n)}},s,l,u;if(r>1)for(s=Array(r),l=Array(r),u=Array(r);r>t;t++)n[t]&&x.isFunction(n[t].promise)?n[t].promise().done(a(t,u,n)).fail(o.reject).progress(a(t,l,s)):--i;return i||o.resolveWith(u,n),o.promise()}}),x.support=function(t){var n,r,o,s,l,u,c,p,f,d=a.createElement("div");if(d.setAttribute("className","t"),d.innerHTML=" <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",n=d.getElementsByTagName("*")||[],r=d.getElementsByTagName("a")[0],!r||!r.style||!n.length)return t;s=a.createElement("select"),u=s.appendChild(a.createElement("option")),o=d.getElementsByTagName("input")[0],r.style.cssText="top:1px;float:left;opacity:.5",t.getSetAttribute="t"!==d.className,t.leadingWhitespace=3===d.firstChild.nodeType,t.tbody=!d.getElementsByTagName("tbody").length,t.htmlSerialize=!!d.getElementsByTagName("link").length,t.style=/top/.test(r.getAttribute("style")),t.hrefNormalized="/a"===r.getAttribute("href"),t.opacity=/^0.5/.test(r.style.opacity),t.cssFloat=!!r.style.cssFloat,t.checkOn=!!o.value,t.optSelected=u.selected,t.enctype=!!a.createElement("form").enctype,t.html5Clone="<:nav></:nav>"!==a.createElement("nav").cloneNode(!0).outerHTML,t.inlineBlockNeedsLayout=!1,t.shrinkWrapBlocks=!1,t.pixelPosition=!1,t.deleteExpando=!0,t.noCloneEvent=!0,t.reliableMarginRight=!0,t.boxSizingReliable=!0,o.checked=!0,t.noCloneChecked=o.cloneNode(!0).checked,s.disabled=!0,t.optDisabled=!u.disabled;try{delete d.test}catch(h){t.deleteExpando=!1}o=a.createElement("input"),o.setAttribute("value",""),t.input=""===o.getAttribute("value"),o.value="t",o.setAttribute("type","radio"),t.radioValue="t"===o.value,o.setAttribute("checked","t"),o.setAttribute("name","t"),l=a.createDocumentFragment(),l.appendChild(o),t.appendChecked=o.checked,t.checkClone=l.cloneNode(!0).cloneNode(!0).lastChild.checked,d.attachEvent&&(d.attachEvent("onclick",function(){t.noCloneEvent=!1}),d.cloneNode(!0).click());for(f in{submit:!0,change:!0,focusin:!0})d.setAttribute(c="on"+f,"t"),t[f+"Bubbles"]=c in e||d.attributes[c].expando===!1;d.style.backgroundClip="content-box",d.cloneNode(!0).style.backgroundClip="",t.clearCloneStyle="content-box"===d.style.backgroundClip;for(f in x(t))break;return t.ownLast="0"!==f,x(function(){var n,r,o,s="padding:0;margin:0;border:0;display:block;box-sizing:content-box;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;",l=a.getElementsByTagName("body")[0];l&&(n=a.createElement("div"),n.style.cssText="border:0;width:0;height:0;position:absolute;top:0;left:-9999px;margin-top:1px",l.appendChild(n).appendChild(d),d.innerHTML="<table><tr><td></td><td>t</td></tr></table>",o=d.getElementsByTagName("td"),o[0].style.cssText="padding:0;margin:0;border:0;display:none",p=0===o[0].offsetHeight,o[0].style.display="",o[1].style.display="none",t.reliableHiddenOffsets=p&&0===o[0].offsetHeight,d.innerHTML="",d.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%;",x.swap(l,null!=l.style.zoom?{zoom:1}:{},function(){t.boxSizing=4===d.offsetWidth}),e.getComputedStyle&&(t.pixelPosition="1%"!==(e.getComputedStyle(d,null)||{}).top,t.boxSizingReliable="4px"===(e.getComputedStyle(d,null)||{width:"4px"}).width,r=d.appendChild(a.createElement("div")),r.style.cssText=d.style.cssText=s,r.style.marginRight=r.style.width="0",d.style.width="1px",t.reliableMarginRight=!parseFloat((e.getComputedStyle(r,null)||{}).marginRight)),typeof d.style.zoom!==i&&(d.innerHTML="",d.style.cssText=s+"width:1px;padding:1px;display:inline;zoom:1",t.inlineBlockNeedsLayout=3===d.offsetWidth,d.style.display="block",d.innerHTML="<div></div>",d.firstChild.style.width="5px",t.shrinkWrapBlocks=3!==d.offsetWidth,t.inlineBlockNeedsLayout&&(l.style.zoom=1)),l.removeChild(n),n=d=o=r=null)}),n=s=l=u=r=o=null,t
}({});var B=/(?:\{[\s\S]*\}|\[[\s\S]*\])$/,P=/([A-Z])/g;function R(e,n,r,i){if(x.acceptData(e)){var o,a,s=x.expando,l=e.nodeType,u=l?x.cache:e,c=l?e[s]:e[s]&&s;if(c&&u[c]&&(i||u[c].data)||r!==t||"string"!=typeof n)return c||(c=l?e[s]=p.pop()||x.guid++:s),u[c]||(u[c]=l?{}:{toJSON:x.noop}),("object"==typeof n||"function"==typeof n)&&(i?u[c]=x.extend(u[c],n):u[c].data=x.extend(u[c].data,n)),a=u[c],i||(a.data||(a.data={}),a=a.data),r!==t&&(a[x.camelCase(n)]=r),"string"==typeof n?(o=a[n],null==o&&(o=a[x.camelCase(n)])):o=a,o}}function W(e,t,n){if(x.acceptData(e)){var r,i,o=e.nodeType,a=o?x.cache:e,s=o?e[x.expando]:x.expando;if(a[s]){if(t&&(r=n?a[s]:a[s].data)){x.isArray(t)?t=t.concat(x.map(t,x.camelCase)):t in r?t=[t]:(t=x.camelCase(t),t=t in r?[t]:t.split(" ")),i=t.length;while(i--)delete r[t[i]];if(n?!I(r):!x.isEmptyObject(r))return}(n||(delete a[s].data,I(a[s])))&&(o?x.cleanData([e],!0):x.support.deleteExpando||a!=a.window?delete a[s]:a[s]=null)}}}x.extend({cache:{},noData:{applet:!0,embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"},hasData:function(e){return e=e.nodeType?x.cache[e[x.expando]]:e[x.expando],!!e&&!I(e)},data:function(e,t,n){return R(e,t,n)},removeData:function(e,t){return W(e,t)},_data:function(e,t,n){return R(e,t,n,!0)},_removeData:function(e,t){return W(e,t,!0)},acceptData:function(e){if(e.nodeType&&1!==e.nodeType&&9!==e.nodeType)return!1;var t=e.nodeName&&x.noData[e.nodeName.toLowerCase()];return!t||t!==!0&&e.getAttribute("classid")===t}}),x.fn.extend({data:function(e,n){var r,i,o=null,a=0,s=this[0];if(e===t){if(this.length&&(o=x.data(s),1===s.nodeType&&!x._data(s,"parsedAttrs"))){for(r=s.attributes;r.length>a;a++)i=r[a].name,0===i.indexOf("data-")&&(i=x.camelCase(i.slice(5)),$(s,i,o[i]));x._data(s,"parsedAttrs",!0)}return o}return"object"==typeof e?this.each(function(){x.data(this,e)}):arguments.length>1?this.each(function(){x.data(this,e,n)}):s?$(s,e,x.data(s,e)):null},removeData:function(e){return this.each(function(){x.removeData(this,e)})}});function $(e,n,r){if(r===t&&1===e.nodeType){var i="data-"+n.replace(P,"-$1").toLowerCase();if(r=e.getAttribute(i),"string"==typeof r){try{r="true"===r?!0:"false"===r?!1:"null"===r?null:+r+""===r?+r:B.test(r)?x.parseJSON(r):r}catch(o){}x.data(e,n,r)}else r=t}return r}function I(e){var t;for(t in e)if(("data"!==t||!x.isEmptyObject(e[t]))&&"toJSON"!==t)return!1;return!0}x.extend({queue:function(e,n,r){var i;return e?(n=(n||"fx")+"queue",i=x._data(e,n),r&&(!i||x.isArray(r)?i=x._data(e,n,x.makeArray(r)):i.push(r)),i||[]):t},dequeue:function(e,t){t=t||"fx";var n=x.queue(e,t),r=n.length,i=n.shift(),o=x._queueHooks(e,t),a=function(){x.dequeue(e,t)};"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===t&&n.unshift("inprogress"),delete o.stop,i.call(e,a,o)),!r&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return x._data(e,n)||x._data(e,n,{empty:x.Callbacks("once memory").add(function(){x._removeData(e,t+"queue"),x._removeData(e,n)})})}}),x.fn.extend({queue:function(e,n){var r=2;return"string"!=typeof e&&(n=e,e="fx",r--),r>arguments.length?x.queue(this[0],e):n===t?this:this.each(function(){var t=x.queue(this,e,n);x._queueHooks(this,e),"fx"===e&&"inprogress"!==t[0]&&x.dequeue(this,e)})},dequeue:function(e){return this.each(function(){x.dequeue(this,e)})},delay:function(e,t){return e=x.fx?x.fx.speeds[e]||e:e,t=t||"fx",this.queue(t,function(t,n){var r=setTimeout(t,e);n.stop=function(){clearTimeout(r)}})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,n){var r,i=1,o=x.Deferred(),a=this,s=this.length,l=function(){--i||o.resolveWith(a,[a])};"string"!=typeof e&&(n=e,e=t),e=e||"fx";while(s--)r=x._data(a[s],e+"queueHooks"),r&&r.empty&&(i++,r.empty.add(l));return l(),o.promise(n)}});var z,X,U=/[\t\r\n\f]/g,V=/\r/g,Y=/^(?:input|select|textarea|button|object)$/i,J=/^(?:a|area)$/i,G=/^(?:checked|selected)$/i,Q=x.support.getSetAttribute,K=x.support.input;x.fn.extend({attr:function(e,t){return x.access(this,x.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each(function(){x.removeAttr(this,e)})},prop:function(e,t){return x.access(this,x.prop,e,t,arguments.length>1)},removeProp:function(e){return e=x.propFix[e]||e,this.each(function(){try{this[e]=t,delete this[e]}catch(n){}})},addClass:function(e){var t,n,r,i,o,a=0,s=this.length,l="string"==typeof e&&e;if(x.isFunction(e))return this.each(function(t){x(this).addClass(e.call(this,t,this.className))});if(l)for(t=(e||"").match(T)||[];s>a;a++)if(n=this[a],r=1===n.nodeType&&(n.className?(" "+n.className+" ").replace(U," "):" ")){o=0;while(i=t[o++])0>r.indexOf(" "+i+" ")&&(r+=i+" ");n.className=x.trim(r)}return this},removeClass:function(e){var t,n,r,i,o,a=0,s=this.length,l=0===arguments.length||"string"==typeof e&&e;if(x.isFunction(e))return this.each(function(t){x(this).removeClass(e.call(this,t,this.className))});if(l)for(t=(e||"").match(T)||[];s>a;a++)if(n=this[a],r=1===n.nodeType&&(n.className?(" "+n.className+" ").replace(U," "):"")){o=0;while(i=t[o++])while(r.indexOf(" "+i+" ")>=0)r=r.replace(" "+i+" "," ");n.className=e?x.trim(r):""}return this},toggleClass:function(e,t){var n=typeof e;return"boolean"==typeof t&&"string"===n?t?this.addClass(e):this.removeClass(e):x.isFunction(e)?this.each(function(n){x(this).toggleClass(e.call(this,n,this.className,t),t)}):this.each(function(){if("string"===n){var t,r=0,o=x(this),a=e.match(T)||[];while(t=a[r++])o.hasClass(t)?o.removeClass(t):o.addClass(t)}else(n===i||"boolean"===n)&&(this.className&&x._data(this,"__className__",this.className),this.className=this.className||e===!1?"":x._data(this,"__className__")||"")})},hasClass:function(e){var t=" "+e+" ",n=0,r=this.length;for(;r>n;n++)if(1===this[n].nodeType&&(" "+this[n].className+" ").replace(U," ").indexOf(t)>=0)return!0;return!1},val:function(e){var n,r,i,o=this[0];{if(arguments.length)return i=x.isFunction(e),this.each(function(n){var o;1===this.nodeType&&(o=i?e.call(this,n,x(this).val()):e,null==o?o="":"number"==typeof o?o+="":x.isArray(o)&&(o=x.map(o,function(e){return null==e?"":e+""})),r=x.valHooks[this.type]||x.valHooks[this.nodeName.toLowerCase()],r&&"set"in r&&r.set(this,o,"value")!==t||(this.value=o))});if(o)return r=x.valHooks[o.type]||x.valHooks[o.nodeName.toLowerCase()],r&&"get"in r&&(n=r.get(o,"value"))!==t?n:(n=o.value,"string"==typeof n?n.replace(V,""):null==n?"":n)}}}),x.extend({valHooks:{option:{get:function(e){var t=x.find.attr(e,"value");return null!=t?t:e.text}},select:{get:function(e){var t,n,r=e.options,i=e.selectedIndex,o="select-one"===e.type||0>i,a=o?null:[],s=o?i+1:r.length,l=0>i?s:o?i:0;for(;s>l;l++)if(n=r[l],!(!n.selected&&l!==i||(x.support.optDisabled?n.disabled:null!==n.getAttribute("disabled"))||n.parentNode.disabled&&x.nodeName(n.parentNode,"optgroup"))){if(t=x(n).val(),o)return t;a.push(t)}return a},set:function(e,t){var n,r,i=e.options,o=x.makeArray(t),a=i.length;while(a--)r=i[a],(r.selected=x.inArray(x(r).val(),o)>=0)&&(n=!0);return n||(e.selectedIndex=-1),o}}},attr:function(e,n,r){var o,a,s=e.nodeType;if(e&&3!==s&&8!==s&&2!==s)return typeof e.getAttribute===i?x.prop(e,n,r):(1===s&&x.isXMLDoc(e)||(n=n.toLowerCase(),o=x.attrHooks[n]||(x.expr.match.bool.test(n)?X:z)),r===t?o&&"get"in o&&null!==(a=o.get(e,n))?a:(a=x.find.attr(e,n),null==a?t:a):null!==r?o&&"set"in o&&(a=o.set(e,r,n))!==t?a:(e.setAttribute(n,r+""),r):(x.removeAttr(e,n),t))},removeAttr:function(e,t){var n,r,i=0,o=t&&t.match(T);if(o&&1===e.nodeType)while(n=o[i++])r=x.propFix[n]||n,x.expr.match.bool.test(n)?K&&Q||!G.test(n)?e[r]=!1:e[x.camelCase("default-"+n)]=e[r]=!1:x.attr(e,n,""),e.removeAttribute(Q?n:r)},attrHooks:{type:{set:function(e,t){if(!x.support.radioValue&&"radio"===t&&x.nodeName(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},propFix:{"for":"htmlFor","class":"className"},prop:function(e,n,r){var i,o,a,s=e.nodeType;if(e&&3!==s&&8!==s&&2!==s)return a=1!==s||!x.isXMLDoc(e),a&&(n=x.propFix[n]||n,o=x.propHooks[n]),r!==t?o&&"set"in o&&(i=o.set(e,r,n))!==t?i:e[n]=r:o&&"get"in o&&null!==(i=o.get(e,n))?i:e[n]},propHooks:{tabIndex:{get:function(e){var t=x.find.attr(e,"tabindex");return t?parseInt(t,10):Y.test(e.nodeName)||J.test(e.nodeName)&&e.href?0:-1}}}}),X={set:function(e,t,n){return t===!1?x.removeAttr(e,n):K&&Q||!G.test(n)?e.setAttribute(!Q&&x.propFix[n]||n,n):e[x.camelCase("default-"+n)]=e[n]=!0,n}},x.each(x.expr.match.bool.source.match(/\w+/g),function(e,n){var r=x.expr.attrHandle[n]||x.find.attr;x.expr.attrHandle[n]=K&&Q||!G.test(n)?function(e,n,i){var o=x.expr.attrHandle[n],a=i?t:(x.expr.attrHandle[n]=t)!=r(e,n,i)?n.toLowerCase():null;return x.expr.attrHandle[n]=o,a}:function(e,n,r){return r?t:e[x.camelCase("default-"+n)]?n.toLowerCase():null}}),K&&Q||(x.attrHooks.value={set:function(e,n,r){return x.nodeName(e,"input")?(e.defaultValue=n,t):z&&z.set(e,n,r)}}),Q||(z={set:function(e,n,r){var i=e.getAttributeNode(r);return i||e.setAttributeNode(i=e.ownerDocument.createAttribute(r)),i.value=n+="","value"===r||n===e.getAttribute(r)?n:t}},x.expr.attrHandle.id=x.expr.attrHandle.name=x.expr.attrHandle.coords=function(e,n,r){var i;return r?t:(i=e.getAttributeNode(n))&&""!==i.value?i.value:null},x.valHooks.button={get:function(e,n){var r=e.getAttributeNode(n);return r&&r.specified?r.value:t},set:z.set},x.attrHooks.contenteditable={set:function(e,t,n){z.set(e,""===t?!1:t,n)}},x.each(["width","height"],function(e,n){x.attrHooks[n]={set:function(e,r){return""===r?(e.setAttribute(n,"auto"),r):t}}})),x.support.hrefNormalized||x.each(["href","src"],function(e,t){x.propHooks[t]={get:function(e){return e.getAttribute(t,4)}}}),x.support.style||(x.attrHooks.style={get:function(e){return e.style.cssText||t},set:function(e,t){return e.style.cssText=t+""}}),x.support.optSelected||(x.propHooks.selected={get:function(e){var t=e.parentNode;return t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex),null}}),x.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){x.propFix[this.toLowerCase()]=this}),x.support.enctype||(x.propFix.enctype="encoding"),x.each(["radio","checkbox"],function(){x.valHooks[this]={set:function(e,n){return x.isArray(n)?e.checked=x.inArray(x(e).val(),n)>=0:t}},x.support.checkOn||(x.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})});var Z=/^(?:input|select|textarea)$/i,et=/^key/,tt=/^(?:mouse|contextmenu)|click/,nt=/^(?:focusinfocus|focusoutblur)$/,rt=/^([^.]*)(?:\.(.+)|)$/;function it(){return!0}function ot(){return!1}function at(){try{return a.activeElement}catch(e){}}x.event={global:{},add:function(e,n,r,o,a){var s,l,u,c,p,f,d,h,g,m,y,v=x._data(e);if(v){r.handler&&(c=r,r=c.handler,a=c.selector),r.guid||(r.guid=x.guid++),(l=v.events)||(l=v.events={}),(f=v.handle)||(f=v.handle=function(e){return typeof x===i||e&&x.event.triggered===e.type?t:x.event.dispatch.apply(f.elem,arguments)},f.elem=e),n=(n||"").match(T)||[""],u=n.length;while(u--)s=rt.exec(n[u])||[],g=y=s[1],m=(s[2]||"").split(".").sort(),g&&(p=x.event.special[g]||{},g=(a?p.delegateType:p.bindType)||g,p=x.event.special[g]||{},d=x.extend({type:g,origType:y,data:o,handler:r,guid:r.guid,selector:a,needsContext:a&&x.expr.match.needsContext.test(a),namespace:m.join(".")},c),(h=l[g])||(h=l[g]=[],h.delegateCount=0,p.setup&&p.setup.call(e,o,m,f)!==!1||(e.addEventListener?e.addEventListener(g,f,!1):e.attachEvent&&e.attachEvent("on"+g,f))),p.add&&(p.add.call(e,d),d.handler.guid||(d.handler.guid=r.guid)),a?h.splice(h.delegateCount++,0,d):h.push(d),x.event.global[g]=!0);e=null}},remove:function(e,t,n,r,i){var o,a,s,l,u,c,p,f,d,h,g,m=x.hasData(e)&&x._data(e);if(m&&(c=m.events)){t=(t||"").match(T)||[""],u=t.length;while(u--)if(s=rt.exec(t[u])||[],d=g=s[1],h=(s[2]||"").split(".").sort(),d){p=x.event.special[d]||{},d=(r?p.delegateType:p.bindType)||d,f=c[d]||[],s=s[2]&&RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),l=o=f.length;while(o--)a=f[o],!i&&g!==a.origType||n&&n.guid!==a.guid||s&&!s.test(a.namespace)||r&&r!==a.selector&&("**"!==r||!a.selector)||(f.splice(o,1),a.selector&&f.delegateCount--,p.remove&&p.remove.call(e,a));l&&!f.length&&(p.teardown&&p.teardown.call(e,h,m.handle)!==!1||x.removeEvent(e,d,m.handle),delete c[d])}else for(d in c)x.event.remove(e,d+t[u],n,r,!0);x.isEmptyObject(c)&&(delete m.handle,x._removeData(e,"events"))}},trigger:function(n,r,i,o){var s,l,u,c,p,f,d,h=[i||a],g=v.call(n,"type")?n.type:n,m=v.call(n,"namespace")?n.namespace.split("."):[];if(u=f=i=i||a,3!==i.nodeType&&8!==i.nodeType&&!nt.test(g+x.event.triggered)&&(g.indexOf(".")>=0&&(m=g.split("."),g=m.shift(),m.sort()),l=0>g.indexOf(":")&&"on"+g,n=n[x.expando]?n:new x.Event(g,"object"==typeof n&&n),n.isTrigger=o?2:3,n.namespace=m.join("."),n.namespace_re=n.namespace?RegExp("(^|\\.)"+m.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,n.result=t,n.target||(n.target=i),r=null==r?[n]:x.makeArray(r,[n]),p=x.event.special[g]||{},o||!p.trigger||p.trigger.apply(i,r)!==!1)){if(!o&&!p.noBubble&&!x.isWindow(i)){for(c=p.delegateType||g,nt.test(c+g)||(u=u.parentNode);u;u=u.parentNode)h.push(u),f=u;f===(i.ownerDocument||a)&&h.push(f.defaultView||f.parentWindow||e)}d=0;while((u=h[d++])&&!n.isPropagationStopped())n.type=d>1?c:p.bindType||g,s=(x._data(u,"events")||{})[n.type]&&x._data(u,"handle"),s&&s.apply(u,r),s=l&&u[l],s&&x.acceptData(u)&&s.apply&&s.apply(u,r)===!1&&n.preventDefault();if(n.type=g,!o&&!n.isDefaultPrevented()&&(!p._default||p._default.apply(h.pop(),r)===!1)&&x.acceptData(i)&&l&&i[g]&&!x.isWindow(i)){f=i[l],f&&(i[l]=null),x.event.triggered=g;try{i[g]()}catch(y){}x.event.triggered=t,f&&(i[l]=f)}return n.result}},dispatch:function(e){e=x.event.fix(e);var n,r,i,o,a,s=[],l=g.call(arguments),u=(x._data(this,"events")||{})[e.type]||[],c=x.event.special[e.type]||{};if(l[0]=e,e.delegateTarget=this,!c.preDispatch||c.preDispatch.call(this,e)!==!1){s=x.event.handlers.call(this,e,u),n=0;while((o=s[n++])&&!e.isPropagationStopped()){e.currentTarget=o.elem,a=0;while((i=o.handlers[a++])&&!e.isImmediatePropagationStopped())(!e.namespace_re||e.namespace_re.test(i.namespace))&&(e.handleObj=i,e.data=i.data,r=((x.event.special[i.origType]||{}).handle||i.handler).apply(o.elem,l),r!==t&&(e.result=r)===!1&&(e.preventDefault(),e.stopPropagation()))}return c.postDispatch&&c.postDispatch.call(this,e),e.result}},handlers:function(e,n){var r,i,o,a,s=[],l=n.delegateCount,u=e.target;if(l&&u.nodeType&&(!e.button||"click"!==e.type))for(;u!=this;u=u.parentNode||this)if(1===u.nodeType&&(u.disabled!==!0||"click"!==e.type)){for(o=[],a=0;l>a;a++)i=n[a],r=i.selector+" ",o[r]===t&&(o[r]=i.needsContext?x(r,this).index(u)>=0:x.find(r,this,null,[u]).length),o[r]&&o.push(i);o.length&&s.push({elem:u,handlers:o})}return n.length>l&&s.push({elem:this,handlers:n.slice(l)}),s},fix:function(e){if(e[x.expando])return e;var t,n,r,i=e.type,o=e,s=this.fixHooks[i];s||(this.fixHooks[i]=s=tt.test(i)?this.mouseHooks:et.test(i)?this.keyHooks:{}),r=s.props?this.props.concat(s.props):this.props,e=new x.Event(o),t=r.length;while(t--)n=r[t],e[n]=o[n];return e.target||(e.target=o.srcElement||a),3===e.target.nodeType&&(e.target=e.target.parentNode),e.metaKey=!!e.metaKey,s.filter?s.filter(e,o):e},props:"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 r,i,o,s=n.button,l=n.fromElement;return null==e.pageX&&null!=n.clientX&&(i=e.target.ownerDocument||a,o=i.documentElement,r=i.body,e.pageX=n.clientX+(o&&o.scrollLeft||r&&r.scrollLeft||0)-(o&&o.clientLeft||r&&r.clientLeft||0),e.pageY=n.clientY+(o&&o.scrollTop||r&&r.scrollTop||0)-(o&&o.clientTop||r&&r.clientTop||0)),!e.relatedTarget&&l&&(e.relatedTarget=l===e.target?n.toElement:l),e.which||s===t||(e.which=1&s?1:2&s?3:4&s?2:0),e}},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==at()&&this.focus)try{return this.focus(),!1}catch(e){}},delegateType:"focusin"},blur:{trigger:function(){return this===at()&&this.blur?(this.blur(),!1):t},delegateType:"focusout"},click:{trigger:function(){return x.nodeName(this,"input")&&"checkbox"===this.type&&this.click?(this.click(),!1):t},_default:function(e){return x.nodeName(e.target,"a")}},beforeunload:{postDispatch:function(e){e.result!==t&&(e.originalEvent.returnValue=e.result)}}},simulate:function(e,t,n,r){var i=x.extend(new x.Event,n,{type:e,isSimulated:!0,originalEvent:{}});r?x.event.trigger(i,null,t):x.event.dispatch.call(t,i),i.isDefaultPrevented()&&n.preventDefault()}},x.removeEvent=a.removeEventListener?function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n,!1)}:function(e,t,n){var r="on"+t;e.detachEvent&&(typeof e[r]===i&&(e[r]=null),e.detachEvent(r,n))},x.Event=function(e,n){return this instanceof x.Event?(e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||e.returnValue===!1||e.getPreventDefault&&e.getPreventDefault()?it:ot):this.type=e,n&&x.extend(this,n),this.timeStamp=e&&e.timeStamp||x.now(),this[x.expando]=!0,t):new x.Event(e,n)},x.Event.prototype={isDefaultPrevented:ot,isPropagationStopped:ot,isImmediatePropagationStopped:ot,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=it,e&&(e.preventDefault?e.preventDefault():e.returnValue=!1)},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=it,e&&(e.stopPropagation&&e.stopPropagation(),e.cancelBubble=!0)},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=it,this.stopPropagation()}},x.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(e,t){x.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,r=this,i=e.relatedTarget,o=e.handleObj;return(!i||i!==r&&!x.contains(r,i))&&(e.type=o.origType,n=o.handler.apply(this,arguments),e.type=t),n}}}),x.support.submitBubbles||(x.event.special.submit={setup:function(){return x.nodeName(this,"form")?!1:(x.event.add(this,"click._submit keypress._submit",function(e){var n=e.target,r=x.nodeName(n,"input")||x.nodeName(n,"button")?n.form:t;r&&!x._data(r,"submitBubbles")&&(x.event.add(r,"submit._submit",function(e){e._submit_bubble=!0}),x._data(r,"submitBubbles",!0))}),t)},postDispatch:function(e){e._submit_bubble&&(delete e._submit_bubble,this.parentNode&&!e.isTrigger&&x.event.simulate("submit",this.parentNode,e,!0))},teardown:function(){return x.nodeName(this,"form")?!1:(x.event.remove(this,"._submit"),t)}}),x.support.changeBubbles||(x.event.special.change={setup:function(){return Z.test(this.nodeName)?(("checkbox"===this.type||"radio"===this.type)&&(x.event.add(this,"propertychange._change",function(e){"checked"===e.originalEvent.propertyName&&(this._just_changed=!0)}),x.event.add(this,"click._change",function(e){this._just_changed&&!e.isTrigger&&(this._just_changed=!1),x.event.simulate("change",this,e,!0)})),!1):(x.event.add(this,"beforeactivate._change",function(e){var t=e.target;Z.test(t.nodeName)&&!x._data(t,"changeBubbles")&&(x.event.add(t,"change._change",function(e){!this.parentNode||e.isSimulated||e.isTrigger||x.event.simulate("change",this.parentNode,e,!0)}),x._data(t,"changeBubbles",!0))}),t)},handle:function(e){var n=e.target;return this!==n||e.isSimulated||e.isTrigger||"radio"!==n.type&&"checkbox"!==n.type?e.handleObj.handler.apply(this,arguments):t},teardown:function(){return x.event.remove(this,"._change"),!Z.test(this.nodeName)}}),x.support.focusinBubbles||x.each({focus:"focusin",blur:"focusout"},function(e,t){var n=0,r=function(e){x.event.simulate(t,e.target,x.event.fix(e),!0)};x.event.special[t]={setup:function(){0===n++&&a.addEventListener(e,r,!0)},teardown:function(){0===--n&&a.removeEventListener(e,r,!0)}}}),x.fn.extend({on:function(e,n,r,i,o){var a,s;if("object"==typeof e){"string"!=typeof n&&(r=r||n,n=t);for(a in e)this.on(a,n,r,e[a],o);return this}if(null==r&&null==i?(i=n,r=n=t):null==i&&("string"==typeof n?(i=r,r=t):(i=r,r=n,n=t)),i===!1)i=ot;else if(!i)return this;return 1===o&&(s=i,i=function(e){return x().off(e),s.apply(this,arguments)},i.guid=s.guid||(s.guid=x.guid++)),this.each(function(){x.event.add(this,e,i,r,n)})},one:function(e,t,n,r){return this.on(e,t,n,r,1)},off:function(e,n,r){var i,o;if(e&&e.preventDefault&&e.handleObj)return i=e.handleObj,x(e.delegateTarget).off(i.namespace?i.origType+"."+i.namespace:i.origType,i.selector,i.handler),this;if("object"==typeof e){for(o in e)this.off(o,n,e[o]);return this}return(n===!1||"function"==typeof n)&&(r=n,n=t),r===!1&&(r=ot),this.each(function(){x.event.remove(this,e,r,n)})},trigger:function(e,t){return this.each(function(){x.event.trigger(e,t,this)})},triggerHandler:function(e,n){var r=this[0];return r?x.event.trigger(e,n,r,!0):t}});var st=/^.[^:#\[\.,]*$/,lt=/^(?:parents|prev(?:Until|All))/,ut=x.expr.match.needsContext,ct={children:!0,contents:!0,next:!0,prev:!0};x.fn.extend({find:function(e){var t,n=[],r=this,i=r.length;if("string"!=typeof e)return this.pushStack(x(e).filter(function(){for(t=0;i>t;t++)if(x.contains(r[t],this))return!0}));for(t=0;i>t;t++)x.find(e,r[t],n);return n=this.pushStack(i>1?x.unique(n):n),n.selector=this.selector?this.selector+" "+e:e,n},has:function(e){var t,n=x(e,this),r=n.length;return this.filter(function(){for(t=0;r>t;t++)if(x.contains(this,n[t]))return!0})},not:function(e){return this.pushStack(ft(this,e||[],!0))},filter:function(e){return this.pushStack(ft(this,e||[],!1))},is:function(e){return!!ft(this,"string"==typeof e&&ut.test(e)?x(e):e||[],!1).length},closest:function(e,t){var n,r=0,i=this.length,o=[],a=ut.test(e)||"string"!=typeof e?x(e,t||this.context):0;for(;i>r;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(11>n.nodeType&&(a?a.index(n)>-1:1===n.nodeType&&x.find.matchesSelector(n,e))){n=o.push(n);break}return this.pushStack(o.length>1?x.unique(o):o)},index:function(e){return e?"string"==typeof e?x.inArray(this[0],x(e)):x.inArray(e.jquery?e[0]:e,this):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){var n="string"==typeof e?x(e,t):x.makeArray(e&&e.nodeType?[e]:e),r=x.merge(this.get(),n);return this.pushStack(x.unique(r))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}});function pt(e,t){do e=e[t];while(e&&1!==e.nodeType);return e}x.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return x.dir(e,"parentNode")},parentsUntil:function(e,t,n){return x.dir(e,"parentNode",n)},next:function(e){return pt(e,"nextSibling")},prev:function(e){return pt(e,"previousSibling")},nextAll:function(e){return x.dir(e,"nextSibling")},prevAll:function(e){return x.dir(e,"previousSibling")},nextUntil:function(e,t,n){return x.dir(e,"nextSibling",n)},prevUntil:function(e,t,n){return x.dir(e,"previousSibling",n)},siblings:function(e){return x.sibling((e.parentNode||{}).firstChild,e)},children:function(e){return x.sibling(e.firstChild)},contents:function(e){return x.nodeName(e,"iframe")?e.contentDocument||e.contentWindow.document:x.merge([],e.childNodes)}},function(e,t){x.fn[e]=function(n,r){var i=x.map(this,t,n);return"Until"!==e.slice(-5)&&(r=n),r&&"string"==typeof r&&(i=x.filter(r,i)),this.length>1&&(ct[e]||(i=x.unique(i)),lt.test(e)&&(i=i.reverse())),this.pushStack(i)}}),x.extend({filter:function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?x.find.matchesSelector(r,e)?[r]:[]:x.find.matches(e,x.grep(t,function(e){return 1===e.nodeType}))},dir:function(e,n,r){var i=[],o=e[n];while(o&&9!==o.nodeType&&(r===t||1!==o.nodeType||!x(o).is(r)))1===o.nodeType&&i.push(o),o=o[n];return i},sibling:function(e,t){var n=[];for(;e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n}});function ft(e,t,n){if(x.isFunction(t))return x.grep(e,function(e,r){return!!t.call(e,r,e)!==n});if(t.nodeType)return x.grep(e,function(e){return e===t!==n});if("string"==typeof t){if(st.test(t))return x.filter(t,e,n);t=x.filter(t,e)}return x.grep(e,function(e){return x.inArray(e,t)>=0!==n})}function dt(e){var t=ht.split("|"),n=e.createDocumentFragment();if(n.createElement)while(t.length)n.createElement(t.pop());return n}var ht="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",gt=/ jQuery\d+="(?:null|\d+)"/g,mt=RegExp("<(?:"+ht+")[\\s/>]","i"),yt=/^\s+/,vt=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,bt=/<([\w:]+)/,xt=/<tbody/i,wt=/<|&#?\w+;/,Tt=/<(?:script|style|link)/i,Ct=/^(?:checkbox|radio)$/i,Nt=/checked\s*(?:[^=]|=\s*.checked.)/i,kt=/^$|\/(?:java|ecma)script/i,Et=/^true\/(.*)/,St=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,At={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],area:[1,"<map>","</map>"],param:[1,"<object>","</object>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:x.support.htmlSerialize?[0,"",""]:[1,"X<div>","</div>"]},jt=dt(a),Dt=jt.appendChild(a.createElement("div"));At.optgroup=At.option,At.tbody=At.tfoot=At.colgroup=At.caption=At.thead,At.th=At.td,x.fn.extend({text:function(e){return x.access(this,function(e){return e===t?x.text(this):this.empty().append((this[0]&&this[0].ownerDocument||a).createTextNode(e))},null,e,arguments.length)},append:function(){return this.domManip(arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Lt(this,e);t.appendChild(e)}})},prepend:function(){return this.domManip(arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Lt(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return this.domManip(arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return this.domManip(arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},remove:function(e,t){var n,r=e?x.filter(e,this):this,i=0;for(;null!=(n=r[i]);i++)t||1!==n.nodeType||x.cleanData(Ft(n)),n.parentNode&&(t&&x.contains(n.ownerDocument,n)&&_t(Ft(n,"script")),n.parentNode.removeChild(n));return this},empty:function(){var e,t=0;for(;null!=(e=this[t]);t++){1===e.nodeType&&x.cleanData(Ft(e,!1));while(e.firstChild)e.removeChild(e.firstChild);e.options&&x.nodeName(e,"select")&&(e.options.length=0)}return this},clone:function(e,t){return e=null==e?!1:e,t=null==t?e:t,this.map(function(){return x.clone(this,e,t)})},html:function(e){return x.access(this,function(e){var n=this[0]||{},r=0,i=this.length;if(e===t)return 1===n.nodeType?n.innerHTML.replace(gt,""):t;if(!("string"!=typeof e||Tt.test(e)||!x.support.htmlSerialize&&mt.test(e)||!x.support.leadingWhitespace&&yt.test(e)||At[(bt.exec(e)||["",""])[1].toLowerCase()])){e=e.replace(vt,"<$1></$2>");try{for(;i>r;r++)n=this[r]||{},1===n.nodeType&&(x.cleanData(Ft(n,!1)),n.innerHTML=e);n=0}catch(o){}}n&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var e=x.map(this,function(e){return[e.nextSibling,e.parentNode]}),t=0;return this.domManip(arguments,function(n){var r=e[t++],i=e[t++];i&&(r&&r.parentNode!==i&&(r=this.nextSibling),x(this).remove(),i.insertBefore(n,r))},!0),t?this:this.remove()},detach:function(e){return this.remove(e,!0)},domManip:function(e,t,n){e=d.apply([],e);var r,i,o,a,s,l,u=0,c=this.length,p=this,f=c-1,h=e[0],g=x.isFunction(h);if(g||!(1>=c||"string"!=typeof h||x.support.checkClone)&&Nt.test(h))return this.each(function(r){var i=p.eq(r);g&&(e[0]=h.call(this,r,i.html())),i.domManip(e,t,n)});if(c&&(l=x.buildFragment(e,this[0].ownerDocument,!1,!n&&this),r=l.firstChild,1===l.childNodes.length&&(l=r),r)){for(a=x.map(Ft(l,"script"),Ht),o=a.length;c>u;u++)i=l,u!==f&&(i=x.clone(i,!0,!0),o&&x.merge(a,Ft(i,"script"))),t.call(this[u],i,u);if(o)for(s=a[a.length-1].ownerDocument,x.map(a,qt),u=0;o>u;u++)i=a[u],kt.test(i.type||"")&&!x._data(i,"globalEval")&&x.contains(s,i)&&(i.src?x._evalUrl(i.src):x.globalEval((i.text||i.textContent||i.innerHTML||"").replace(St,"")));l=r=null}return this}});function Lt(e,t){return x.nodeName(e,"table")&&x.nodeName(1===t.nodeType?t:t.firstChild,"tr")?e.getElementsByTagName("tbody")[0]||e.appendChild(e.ownerDocument.createElement("tbody")):e}function Ht(e){return e.type=(null!==x.find.attr(e,"type"))+"/"+e.type,e}function qt(e){var t=Et.exec(e.type);return t?e.type=t[1]:e.removeAttribute("type"),e}function _t(e,t){var n,r=0;for(;null!=(n=e[r]);r++)x._data(n,"globalEval",!t||x._data(t[r],"globalEval"))}function Mt(e,t){if(1===t.nodeType&&x.hasData(e)){var n,r,i,o=x._data(e),a=x._data(t,o),s=o.events;if(s){delete a.handle,a.events={};for(n in s)for(r=0,i=s[n].length;i>r;r++)x.event.add(t,n,s[n][r])}a.data&&(a.data=x.extend({},a.data))}}function Ot(e,t){var n,r,i;if(1===t.nodeType){if(n=t.nodeName.toLowerCase(),!x.support.noCloneEvent&&t[x.expando]){i=x._data(t);for(r in i.events)x.removeEvent(t,r,i.handle);t.removeAttribute(x.expando)}"script"===n&&t.text!==e.text?(Ht(t).text=e.text,qt(t)):"object"===n?(t.parentNode&&(t.outerHTML=e.outerHTML),x.support.html5Clone&&e.innerHTML&&!x.trim(t.innerHTML)&&(t.innerHTML=e.innerHTML)):"input"===n&&Ct.test(e.type)?(t.defaultChecked=t.checked=e.checked,t.value!==e.value&&(t.value=e.value)):"option"===n?t.defaultSelected=t.selected=e.defaultSelected:("input"===n||"textarea"===n)&&(t.defaultValue=e.defaultValue)}}x.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,t){x.fn[e]=function(e){var n,r=0,i=[],o=x(e),a=o.length-1;for(;a>=r;r++)n=r===a?this:this.clone(!0),x(o[r])[t](n),h.apply(i,n.get());return this.pushStack(i)}});function Ft(e,n){var r,o,a=0,s=typeof e.getElementsByTagName!==i?e.getElementsByTagName(n||"*"):typeof e.querySelectorAll!==i?e.querySelectorAll(n||"*"):t;if(!s)for(s=[],r=e.childNodes||e;null!=(o=r[a]);a++)!n||x.nodeName(o,n)?s.push(o):x.merge(s,Ft(o,n));return n===t||n&&x.nodeName(e,n)?x.merge([e],s):s}function Bt(e){Ct.test(e.type)&&(e.defaultChecked=e.checked)}x.extend({clone:function(e,t,n){var r,i,o,a,s,l=x.contains(e.ownerDocument,e);if(x.support.html5Clone||x.isXMLDoc(e)||!mt.test("<"+e.nodeName+">")?o=e.cloneNode(!0):(Dt.innerHTML=e.outerHTML,Dt.removeChild(o=Dt.firstChild)),!(x.support.noCloneEvent&&x.support.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||x.isXMLDoc(e)))for(r=Ft(o),s=Ft(e),a=0;null!=(i=s[a]);++a)r[a]&&Ot(i,r[a]);if(t)if(n)for(s=s||Ft(e),r=r||Ft(o),a=0;null!=(i=s[a]);a++)Mt(i,r[a]);else Mt(e,o);return r=Ft(o,"script"),r.length>0&&_t(r,!l&&Ft(e,"script")),r=s=i=null,o},buildFragment:function(e,t,n,r){var i,o,a,s,l,u,c,p=e.length,f=dt(t),d=[],h=0;for(;p>h;h++)if(o=e[h],o||0===o)if("object"===x.type(o))x.merge(d,o.nodeType?[o]:o);else if(wt.test(o)){s=s||f.appendChild(t.createElement("div")),l=(bt.exec(o)||["",""])[1].toLowerCase(),c=At[l]||At._default,s.innerHTML=c[1]+o.replace(vt,"<$1></$2>")+c[2],i=c[0];while(i--)s=s.lastChild;if(!x.support.leadingWhitespace&&yt.test(o)&&d.push(t.createTextNode(yt.exec(o)[0])),!x.support.tbody){o="table"!==l||xt.test(o)?"<table>"!==c[1]||xt.test(o)?0:s:s.firstChild,i=o&&o.childNodes.length;while(i--)x.nodeName(u=o.childNodes[i],"tbody")&&!u.childNodes.length&&o.removeChild(u)}x.merge(d,s.childNodes),s.textContent="";while(s.firstChild)s.removeChild(s.firstChild);s=f.lastChild}else d.push(t.createTextNode(o));s&&f.removeChild(s),x.support.appendChecked||x.grep(Ft(d,"input"),Bt),h=0;while(o=d[h++])if((!r||-1===x.inArray(o,r))&&(a=x.contains(o.ownerDocument,o),s=Ft(f.appendChild(o),"script"),a&&_t(s),n)){i=0;while(o=s[i++])kt.test(o.type||"")&&n.push(o)}return s=null,f},cleanData:function(e,t){var n,r,o,a,s=0,l=x.expando,u=x.cache,c=x.support.deleteExpando,f=x.event.special;for(;null!=(n=e[s]);s++)if((t||x.acceptData(n))&&(o=n[l],a=o&&u[o])){if(a.events)for(r in a.events)f[r]?x.event.remove(n,r):x.removeEvent(n,r,a.handle);
u[o]&&(delete u[o],c?delete n[l]:typeof n.removeAttribute!==i?n.removeAttribute(l):n[l]=null,p.push(o))}},_evalUrl:function(e){return x.ajax({url:e,type:"GET",dataType:"script",async:!1,global:!1,"throws":!0})}}),x.fn.extend({wrapAll:function(e){if(x.isFunction(e))return this.each(function(t){x(this).wrapAll(e.call(this,t))});if(this[0]){var t=x(e,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){var e=this;while(e.firstChild&&1===e.firstChild.nodeType)e=e.firstChild;return e}).append(this)}return this},wrapInner:function(e){return x.isFunction(e)?this.each(function(t){x(this).wrapInner(e.call(this,t))}):this.each(function(){var t=x(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=x.isFunction(e);return this.each(function(n){x(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(){return this.parent().each(function(){x.nodeName(this,"body")||x(this).replaceWith(this.childNodes)}).end()}});var Pt,Rt,Wt,$t=/alpha\([^)]*\)/i,It=/opacity\s*=\s*([^)]*)/,zt=/^(top|right|bottom|left)$/,Xt=/^(none|table(?!-c[ea]).+)/,Ut=/^margin/,Vt=RegExp("^("+w+")(.*)$","i"),Yt=RegExp("^("+w+")(?!px)[a-z%]+$","i"),Jt=RegExp("^([+-])=("+w+")","i"),Gt={BODY:"block"},Qt={position:"absolute",visibility:"hidden",display:"block"},Kt={letterSpacing:0,fontWeight:400},Zt=["Top","Right","Bottom","Left"],en=["Webkit","O","Moz","ms"];function tn(e,t){if(t in e)return t;var n=t.charAt(0).toUpperCase()+t.slice(1),r=t,i=en.length;while(i--)if(t=en[i]+n,t in e)return t;return r}function nn(e,t){return e=t||e,"none"===x.css(e,"display")||!x.contains(e.ownerDocument,e)}function rn(e,t){var n,r,i,o=[],a=0,s=e.length;for(;s>a;a++)r=e[a],r.style&&(o[a]=x._data(r,"olddisplay"),n=r.style.display,t?(o[a]||"none"!==n||(r.style.display=""),""===r.style.display&&nn(r)&&(o[a]=x._data(r,"olddisplay",ln(r.nodeName)))):o[a]||(i=nn(r),(n&&"none"!==n||!i)&&x._data(r,"olddisplay",i?n:x.css(r,"display"))));for(a=0;s>a;a++)r=e[a],r.style&&(t&&"none"!==r.style.display&&""!==r.style.display||(r.style.display=t?o[a]||"":"none"));return e}x.fn.extend({css:function(e,n){return x.access(this,function(e,n,r){var i,o,a={},s=0;if(x.isArray(n)){for(o=Rt(e),i=n.length;i>s;s++)a[n[s]]=x.css(e,n[s],!1,o);return a}return r!==t?x.style(e,n,r):x.css(e,n)},e,n,arguments.length>1)},show:function(){return rn(this,!0)},hide:function(){return rn(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){nn(this)?x(this).show():x(this).hide()})}}),x.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=Wt(e,"opacity");return""===n?"1":n}}}},cssNumber:{columnCount:!0,fillOpacity:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":x.support.cssFloat?"cssFloat":"styleFloat"},style:function(e,n,r,i){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var o,a,s,l=x.camelCase(n),u=e.style;if(n=x.cssProps[l]||(x.cssProps[l]=tn(u,l)),s=x.cssHooks[n]||x.cssHooks[l],r===t)return s&&"get"in s&&(o=s.get(e,!1,i))!==t?o:u[n];if(a=typeof r,"string"===a&&(o=Jt.exec(r))&&(r=(o[1]+1)*o[2]+parseFloat(x.css(e,n)),a="number"),!(null==r||"number"===a&&isNaN(r)||("number"!==a||x.cssNumber[l]||(r+="px"),x.support.clearCloneStyle||""!==r||0!==n.indexOf("background")||(u[n]="inherit"),s&&"set"in s&&(r=s.set(e,r,i))===t)))try{u[n]=r}catch(c){}}},css:function(e,n,r,i){var o,a,s,l=x.camelCase(n);return n=x.cssProps[l]||(x.cssProps[l]=tn(e.style,l)),s=x.cssHooks[n]||x.cssHooks[l],s&&"get"in s&&(a=s.get(e,!0,r)),a===t&&(a=Wt(e,n,i)),"normal"===a&&n in Kt&&(a=Kt[n]),""===r||r?(o=parseFloat(a),r===!0||x.isNumeric(o)?o||0:a):a}}),e.getComputedStyle?(Rt=function(t){return e.getComputedStyle(t,null)},Wt=function(e,n,r){var i,o,a,s=r||Rt(e),l=s?s.getPropertyValue(n)||s[n]:t,u=e.style;return s&&(""!==l||x.contains(e.ownerDocument,e)||(l=x.style(e,n)),Yt.test(l)&&Ut.test(n)&&(i=u.width,o=u.minWidth,a=u.maxWidth,u.minWidth=u.maxWidth=u.width=l,l=s.width,u.width=i,u.minWidth=o,u.maxWidth=a)),l}):a.documentElement.currentStyle&&(Rt=function(e){return e.currentStyle},Wt=function(e,n,r){var i,o,a,s=r||Rt(e),l=s?s[n]:t,u=e.style;return null==l&&u&&u[n]&&(l=u[n]),Yt.test(l)&&!zt.test(n)&&(i=u.left,o=e.runtimeStyle,a=o&&o.left,a&&(o.left=e.currentStyle.left),u.left="fontSize"===n?"1em":l,l=u.pixelLeft+"px",u.left=i,a&&(o.left=a)),""===l?"auto":l});function on(e,t,n){var r=Vt.exec(t);return r?Math.max(0,r[1]-(n||0))+(r[2]||"px"):t}function an(e,t,n,r,i){var o=n===(r?"border":"content")?4:"width"===t?1:0,a=0;for(;4>o;o+=2)"margin"===n&&(a+=x.css(e,n+Zt[o],!0,i)),r?("content"===n&&(a-=x.css(e,"padding"+Zt[o],!0,i)),"margin"!==n&&(a-=x.css(e,"border"+Zt[o]+"Width",!0,i))):(a+=x.css(e,"padding"+Zt[o],!0,i),"padding"!==n&&(a+=x.css(e,"border"+Zt[o]+"Width",!0,i)));return a}function sn(e,t,n){var r=!0,i="width"===t?e.offsetWidth:e.offsetHeight,o=Rt(e),a=x.support.boxSizing&&"border-box"===x.css(e,"boxSizing",!1,o);if(0>=i||null==i){if(i=Wt(e,t,o),(0>i||null==i)&&(i=e.style[t]),Yt.test(i))return i;r=a&&(x.support.boxSizingReliable||i===e.style[t]),i=parseFloat(i)||0}return i+an(e,t,n||(a?"border":"content"),r,o)+"px"}function ln(e){var t=a,n=Gt[e];return n||(n=un(e,t),"none"!==n&&n||(Pt=(Pt||x("<iframe frameborder='0' width='0' height='0'/>").css("cssText","display:block !important")).appendTo(t.documentElement),t=(Pt[0].contentWindow||Pt[0].contentDocument).document,t.write("<!doctype html><html><body>"),t.close(),n=un(e,t),Pt.detach()),Gt[e]=n),n}function un(e,t){var n=x(t.createElement(e)).appendTo(t.body),r=x.css(n[0],"display");return n.remove(),r}x.each(["height","width"],function(e,n){x.cssHooks[n]={get:function(e,r,i){return r?0===e.offsetWidth&&Xt.test(x.css(e,"display"))?x.swap(e,Qt,function(){return sn(e,n,i)}):sn(e,n,i):t},set:function(e,t,r){var i=r&&Rt(e);return on(e,t,r?an(e,n,r,x.support.boxSizing&&"border-box"===x.css(e,"boxSizing",!1,i),i):0)}}}),x.support.opacity||(x.cssHooks.opacity={get:function(e,t){return It.test((t&&e.currentStyle?e.currentStyle.filter:e.style.filter)||"")?.01*parseFloat(RegExp.$1)+"":t?"1":""},set:function(e,t){var n=e.style,r=e.currentStyle,i=x.isNumeric(t)?"alpha(opacity="+100*t+")":"",o=r&&r.filter||n.filter||"";n.zoom=1,(t>=1||""===t)&&""===x.trim(o.replace($t,""))&&n.removeAttribute&&(n.removeAttribute("filter"),""===t||r&&!r.filter)||(n.filter=$t.test(o)?o.replace($t,i):o+" "+i)}}),x(function(){x.support.reliableMarginRight||(x.cssHooks.marginRight={get:function(e,n){return n?x.swap(e,{display:"inline-block"},Wt,[e,"marginRight"]):t}}),!x.support.pixelPosition&&x.fn.position&&x.each(["top","left"],function(e,n){x.cssHooks[n]={get:function(e,r){return r?(r=Wt(e,n),Yt.test(r)?x(e).position()[n]+"px":r):t}}})}),x.expr&&x.expr.filters&&(x.expr.filters.hidden=function(e){return 0>=e.offsetWidth&&0>=e.offsetHeight||!x.support.reliableHiddenOffsets&&"none"===(e.style&&e.style.display||x.css(e,"display"))},x.expr.filters.visible=function(e){return!x.expr.filters.hidden(e)}),x.each({margin:"",padding:"",border:"Width"},function(e,t){x.cssHooks[e+t]={expand:function(n){var r=0,i={},o="string"==typeof n?n.split(" "):[n];for(;4>r;r++)i[e+Zt[r]+t]=o[r]||o[r-2]||o[0];return i}},Ut.test(e)||(x.cssHooks[e+t].set=on)});var cn=/%20/g,pn=/\[\]$/,fn=/\r?\n/g,dn=/^(?:submit|button|image|reset|file)$/i,hn=/^(?:input|select|textarea|keygen)/i;x.fn.extend({serialize:function(){return x.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=x.prop(this,"elements");return e?x.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!x(this).is(":disabled")&&hn.test(this.nodeName)&&!dn.test(e)&&(this.checked||!Ct.test(e))}).map(function(e,t){var n=x(this).val();return null==n?null:x.isArray(n)?x.map(n,function(e){return{name:t.name,value:e.replace(fn,"\r\n")}}):{name:t.name,value:n.replace(fn,"\r\n")}}).get()}}),x.param=function(e,n){var r,i=[],o=function(e,t){t=x.isFunction(t)?t():null==t?"":t,i[i.length]=encodeURIComponent(e)+"="+encodeURIComponent(t)};if(n===t&&(n=x.ajaxSettings&&x.ajaxSettings.traditional),x.isArray(e)||e.jquery&&!x.isPlainObject(e))x.each(e,function(){o(this.name,this.value)});else for(r in e)gn(r,e[r],n,o);return i.join("&").replace(cn,"+")};function gn(e,t,n,r){var i;if(x.isArray(t))x.each(t,function(t,i){n||pn.test(e)?r(e,i):gn(e+"["+("object"==typeof i?t:"")+"]",i,n,r)});else if(n||"object"!==x.type(t))r(e,t);else for(i in t)gn(e+"["+i+"]",t[i],n,r)}x.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){x.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}}),x.fn.extend({hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)},bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)}});var mn,yn,vn=x.now(),bn=/\?/,xn=/#.*$/,wn=/([?&])_=[^&]*/,Tn=/^(.*?):[ \t]*([^\r\n]*)\r?$/gm,Cn=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Nn=/^(?:GET|HEAD)$/,kn=/^\/\//,En=/^([\w.+-]+:)(?:\/\/([^\/?#:]*)(?::(\d+)|)|)/,Sn=x.fn.load,An={},jn={},Dn="*/".concat("*");try{yn=o.href}catch(Ln){yn=a.createElement("a"),yn.href="",yn=yn.href}mn=En.exec(yn.toLowerCase())||[];function Hn(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var r,i=0,o=t.toLowerCase().match(T)||[];if(x.isFunction(n))while(r=o[i++])"+"===r[0]?(r=r.slice(1)||"*",(e[r]=e[r]||[]).unshift(n)):(e[r]=e[r]||[]).push(n)}}function qn(e,n,r,i){var o={},a=e===jn;function s(l){var u;return o[l]=!0,x.each(e[l]||[],function(e,l){var c=l(n,r,i);return"string"!=typeof c||a||o[c]?a?!(u=c):t:(n.dataTypes.unshift(c),s(c),!1)}),u}return s(n.dataTypes[0])||!o["*"]&&s("*")}function _n(e,n){var r,i,o=x.ajaxSettings.flatOptions||{};for(i in n)n[i]!==t&&((o[i]?e:r||(r={}))[i]=n[i]);return r&&x.extend(!0,e,r),e}x.fn.load=function(e,n,r){if("string"!=typeof e&&Sn)return Sn.apply(this,arguments);var i,o,a,s=this,l=e.indexOf(" ");return l>=0&&(i=e.slice(l,e.length),e=e.slice(0,l)),x.isFunction(n)?(r=n,n=t):n&&"object"==typeof n&&(a="POST"),s.length>0&&x.ajax({url:e,type:a,dataType:"html",data:n}).done(function(e){o=arguments,s.html(i?x("<div>").append(x.parseHTML(e)).find(i):e)}).complete(r&&function(e,t){s.each(r,o||[e.responseText,t,e])}),this},x.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){x.fn[t]=function(e){return this.on(t,e)}}),x.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:yn,type:"GET",isLocal:Cn.test(mn[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Dn,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":x.parseJSON,"text xml":x.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?_n(_n(e,x.ajaxSettings),t):_n(x.ajaxSettings,e)},ajaxPrefilter:Hn(An),ajaxTransport:Hn(jn),ajax:function(e,n){"object"==typeof e&&(n=e,e=t),n=n||{};var r,i,o,a,s,l,u,c,p=x.ajaxSetup({},n),f=p.context||p,d=p.context&&(f.nodeType||f.jquery)?x(f):x.event,h=x.Deferred(),g=x.Callbacks("once memory"),m=p.statusCode||{},y={},v={},b=0,w="canceled",C={readyState:0,getResponseHeader:function(e){var t;if(2===b){if(!c){c={};while(t=Tn.exec(a))c[t[1].toLowerCase()]=t[2]}t=c[e.toLowerCase()]}return null==t?null:t},getAllResponseHeaders:function(){return 2===b?a:null},setRequestHeader:function(e,t){var n=e.toLowerCase();return b||(e=v[n]=v[n]||e,y[e]=t),this},overrideMimeType:function(e){return b||(p.mimeType=e),this},statusCode:function(e){var t;if(e)if(2>b)for(t in e)m[t]=[m[t],e[t]];else C.always(e[C.status]);return this},abort:function(e){var t=e||w;return u&&u.abort(t),k(0,t),this}};if(h.promise(C).complete=g.add,C.success=C.done,C.error=C.fail,p.url=((e||p.url||yn)+"").replace(xn,"").replace(kn,mn[1]+"//"),p.type=n.method||n.type||p.method||p.type,p.dataTypes=x.trim(p.dataType||"*").toLowerCase().match(T)||[""],null==p.crossDomain&&(r=En.exec(p.url.toLowerCase()),p.crossDomain=!(!r||r[1]===mn[1]&&r[2]===mn[2]&&(r[3]||("http:"===r[1]?"80":"443"))===(mn[3]||("http:"===mn[1]?"80":"443")))),p.data&&p.processData&&"string"!=typeof p.data&&(p.data=x.param(p.data,p.traditional)),qn(An,p,n,C),2===b)return C;l=p.global,l&&0===x.active++&&x.event.trigger("ajaxStart"),p.type=p.type.toUpperCase(),p.hasContent=!Nn.test(p.type),o=p.url,p.hasContent||(p.data&&(o=p.url+=(bn.test(o)?"&":"?")+p.data,delete p.data),p.cache===!1&&(p.url=wn.test(o)?o.replace(wn,"$1_="+vn++):o+(bn.test(o)?"&":"?")+"_="+vn++)),p.ifModified&&(x.lastModified[o]&&C.setRequestHeader("If-Modified-Since",x.lastModified[o]),x.etag[o]&&C.setRequestHeader("If-None-Match",x.etag[o])),(p.data&&p.hasContent&&p.contentType!==!1||n.contentType)&&C.setRequestHeader("Content-Type",p.contentType),C.setRequestHeader("Accept",p.dataTypes[0]&&p.accepts[p.dataTypes[0]]?p.accepts[p.dataTypes[0]]+("*"!==p.dataTypes[0]?", "+Dn+"; q=0.01":""):p.accepts["*"]);for(i in p.headers)C.setRequestHeader(i,p.headers[i]);if(p.beforeSend&&(p.beforeSend.call(f,C,p)===!1||2===b))return C.abort();w="abort";for(i in{success:1,error:1,complete:1})C[i](p[i]);if(u=qn(jn,p,n,C)){C.readyState=1,l&&d.trigger("ajaxSend",[C,p]),p.async&&p.timeout>0&&(s=setTimeout(function(){C.abort("timeout")},p.timeout));try{b=1,u.send(y,k)}catch(N){if(!(2>b))throw N;k(-1,N)}}else k(-1,"No Transport");function k(e,n,r,i){var c,y,v,w,T,N=n;2!==b&&(b=2,s&&clearTimeout(s),u=t,a=i||"",C.readyState=e>0?4:0,c=e>=200&&300>e||304===e,r&&(w=Mn(p,C,r)),w=On(p,w,C,c),c?(p.ifModified&&(T=C.getResponseHeader("Last-Modified"),T&&(x.lastModified[o]=T),T=C.getResponseHeader("etag"),T&&(x.etag[o]=T)),204===e||"HEAD"===p.type?N="nocontent":304===e?N="notmodified":(N=w.state,y=w.data,v=w.error,c=!v)):(v=N,(e||!N)&&(N="error",0>e&&(e=0))),C.status=e,C.statusText=(n||N)+"",c?h.resolveWith(f,[y,N,C]):h.rejectWith(f,[C,N,v]),C.statusCode(m),m=t,l&&d.trigger(c?"ajaxSuccess":"ajaxError",[C,p,c?y:v]),g.fireWith(f,[C,N]),l&&(d.trigger("ajaxComplete",[C,p]),--x.active||x.event.trigger("ajaxStop")))}return C},getJSON:function(e,t,n){return x.get(e,t,n,"json")},getScript:function(e,n){return x.get(e,t,n,"script")}}),x.each(["get","post"],function(e,n){x[n]=function(e,r,i,o){return x.isFunction(r)&&(o=o||i,i=r,r=t),x.ajax({url:e,type:n,dataType:o,data:r,success:i})}});function Mn(e,n,r){var i,o,a,s,l=e.contents,u=e.dataTypes;while("*"===u[0])u.shift(),o===t&&(o=e.mimeType||n.getResponseHeader("Content-Type"));if(o)for(s in l)if(l[s]&&l[s].test(o)){u.unshift(s);break}if(u[0]in r)a=u[0];else{for(s in r){if(!u[0]||e.converters[s+" "+u[0]]){a=s;break}i||(i=s)}a=a||i}return a?(a!==u[0]&&u.unshift(a),r[a]):t}function On(e,t,n,r){var i,o,a,s,l,u={},c=e.dataTypes.slice();if(c[1])for(a in e.converters)u[a.toLowerCase()]=e.converters[a];o=c.shift();while(o)if(e.responseFields[o]&&(n[e.responseFields[o]]=t),!l&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),l=o,o=c.shift())if("*"===o)o=l;else if("*"!==l&&l!==o){if(a=u[l+" "+o]||u["* "+o],!a)for(i in u)if(s=i.split(" "),s[1]===o&&(a=u[l+" "+s[0]]||u["* "+s[0]])){a===!0?a=u[i]:u[i]!==!0&&(o=s[0],c.unshift(s[1]));break}if(a!==!0)if(a&&e["throws"])t=a(t);else try{t=a(t)}catch(p){return{state:"parsererror",error:a?p:"No conversion from "+l+" to "+o}}}return{state:"success",data:t}}x.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/(?:java|ecma)script/},converters:{"text script":function(e){return x.globalEval(e),e}}}),x.ajaxPrefilter("script",function(e){e.cache===t&&(e.cache=!1),e.crossDomain&&(e.type="GET",e.global=!1)}),x.ajaxTransport("script",function(e){if(e.crossDomain){var n,r=a.head||x("head")[0]||a.documentElement;return{send:function(t,i){n=a.createElement("script"),n.async=!0,e.scriptCharset&&(n.charset=e.scriptCharset),n.src=e.url,n.onload=n.onreadystatechange=function(e,t){(t||!n.readyState||/loaded|complete/.test(n.readyState))&&(n.onload=n.onreadystatechange=null,n.parentNode&&n.parentNode.removeChild(n),n=null,t||i(200,"success"))},r.insertBefore(n,r.firstChild)},abort:function(){n&&n.onload(t,!0)}}}});var Fn=[],Bn=/(=)\?(?=&|$)|\?\?/;x.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Fn.pop()||x.expando+"_"+vn++;return this[e]=!0,e}}),x.ajaxPrefilter("json jsonp",function(n,r,i){var o,a,s,l=n.jsonp!==!1&&(Bn.test(n.url)?"url":"string"==typeof n.data&&!(n.contentType||"").indexOf("application/x-www-form-urlencoded")&&Bn.test(n.data)&&"data");return l||"jsonp"===n.dataTypes[0]?(o=n.jsonpCallback=x.isFunction(n.jsonpCallback)?n.jsonpCallback():n.jsonpCallback,l?n[l]=n[l].replace(Bn,"$1"+o):n.jsonp!==!1&&(n.url+=(bn.test(n.url)?"&":"?")+n.jsonp+"="+o),n.converters["script json"]=function(){return s||x.error(o+" was not called"),s[0]},n.dataTypes[0]="json",a=e[o],e[o]=function(){s=arguments},i.always(function(){e[o]=a,n[o]&&(n.jsonpCallback=r.jsonpCallback,Fn.push(o)),s&&x.isFunction(a)&&a(s[0]),s=a=t}),"script"):t});var Pn,Rn,Wn=0,$n=e.ActiveXObject&&function(){var e;for(e in Pn)Pn[e](t,!0)};function In(){try{return new e.XMLHttpRequest}catch(t){}}function zn(){try{return new e.ActiveXObject("Microsoft.XMLHTTP")}catch(t){}}x.ajaxSettings.xhr=e.ActiveXObject?function(){return!this.isLocal&&In()||zn()}:In,Rn=x.ajaxSettings.xhr(),x.support.cors=!!Rn&&"withCredentials"in Rn,Rn=x.support.ajax=!!Rn,Rn&&x.ajaxTransport(function(n){if(!n.crossDomain||x.support.cors){var r;return{send:function(i,o){var a,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||i["X-Requested-With"]||(i["X-Requested-With"]="XMLHttpRequest");try{for(s in i)l.setRequestHeader(s,i[s])}catch(u){}l.send(n.hasContent&&n.data||null),r=function(e,i){var s,u,c,p;try{if(r&&(i||4===l.readyState))if(r=t,a&&(l.onreadystatechange=x.noop,$n&&delete Pn[a]),i)4!==l.readyState&&l.abort();else{p={},s=l.status,u=l.getAllResponseHeaders(),"string"==typeof l.responseText&&(p.text=l.responseText);try{c=l.statusText}catch(f){c=""}s||!n.isLocal||n.crossDomain?1223===s&&(s=204):s=p.text?200:404}}catch(d){i||o(-1,d)}p&&o(s,c,p,u)},n.async?4===l.readyState?setTimeout(r):(a=++Wn,$n&&(Pn||(Pn={},x(e).unload($n)),Pn[a]=r),l.onreadystatechange=r):r()},abort:function(){r&&r(t,!0)}}}});var Xn,Un,Vn=/^(?:toggle|show|hide)$/,Yn=RegExp("^(?:([+-])=|)("+w+")([a-z%]*)$","i"),Jn=/queueHooks$/,Gn=[nr],Qn={"*":[function(e,t){var n=this.createTween(e,t),r=n.cur(),i=Yn.exec(t),o=i&&i[3]||(x.cssNumber[e]?"":"px"),a=(x.cssNumber[e]||"px"!==o&&+r)&&Yn.exec(x.css(n.elem,e)),s=1,l=20;if(a&&a[3]!==o){o=o||a[3],i=i||[],a=+r||1;do s=s||".5",a/=s,x.style(n.elem,e,a+o);while(s!==(s=n.cur()/r)&&1!==s&&--l)}return i&&(a=n.start=+a||+r||0,n.unit=o,n.end=i[1]?a+(i[1]+1)*i[2]:+i[2]),n}]};function Kn(){return setTimeout(function(){Xn=t}),Xn=x.now()}function Zn(e,t,n){var r,i=(Qn[t]||[]).concat(Qn["*"]),o=0,a=i.length;for(;a>o;o++)if(r=i[o].call(n,t,e))return r}function er(e,t,n){var r,i,o=0,a=Gn.length,s=x.Deferred().always(function(){delete l.elem}),l=function(){if(i)return!1;var t=Xn||Kn(),n=Math.max(0,u.startTime+u.duration-t),r=n/u.duration||0,o=1-r,a=0,l=u.tweens.length;for(;l>a;a++)u.tweens[a].run(o);return s.notifyWith(e,[u,o,n]),1>o&&l?n:(s.resolveWith(e,[u]),!1)},u=s.promise({elem:e,props:x.extend({},t),opts:x.extend(!0,{specialEasing:{}},n),originalProperties:t,originalOptions:n,startTime:Xn||Kn(),duration:n.duration,tweens:[],createTween:function(t,n){var r=x.Tween(e,u.opts,t,n,u.opts.specialEasing[t]||u.opts.easing);return u.tweens.push(r),r},stop:function(t){var n=0,r=t?u.tweens.length:0;if(i)return this;for(i=!0;r>n;n++)u.tweens[n].run(1);return t?s.resolveWith(e,[u,t]):s.rejectWith(e,[u,t]),this}}),c=u.props;for(tr(c,u.opts.specialEasing);a>o;o++)if(r=Gn[o].call(u,e,c,u.opts))return r;return x.map(c,Zn,u),x.isFunction(u.opts.start)&&u.opts.start.call(e,u),x.fx.timer(x.extend(l,{elem:e,anim:u,queue:u.opts.queue})),u.progress(u.opts.progress).done(u.opts.done,u.opts.complete).fail(u.opts.fail).always(u.opts.always)}function tr(e,t){var n,r,i,o,a;for(n in e)if(r=x.camelCase(n),i=t[r],o=e[n],x.isArray(o)&&(i=o[1],o=e[n]=o[0]),n!==r&&(e[r]=o,delete e[n]),a=x.cssHooks[r],a&&"expand"in a){o=a.expand(o),delete e[r];for(n in o)n in e||(e[n]=o[n],t[n]=i)}else t[r]=i}x.Animation=x.extend(er,{tweener:function(e,t){x.isFunction(e)?(t=e,e=["*"]):e=e.split(" ");var n,r=0,i=e.length;for(;i>r;r++)n=e[r],Qn[n]=Qn[n]||[],Qn[n].unshift(t)},prefilter:function(e,t){t?Gn.unshift(e):Gn.push(e)}});function nr(e,t,n){var r,i,o,a,s,l,u=this,c={},p=e.style,f=e.nodeType&&nn(e),d=x._data(e,"fxshow");n.queue||(s=x._queueHooks(e,"fx"),null==s.unqueued&&(s.unqueued=0,l=s.empty.fire,s.empty.fire=function(){s.unqueued||l()}),s.unqueued++,u.always(function(){u.always(function(){s.unqueued--,x.queue(e,"fx").length||s.empty.fire()})})),1===e.nodeType&&("height"in t||"width"in t)&&(n.overflow=[p.overflow,p.overflowX,p.overflowY],"inline"===x.css(e,"display")&&"none"===x.css(e,"float")&&(x.support.inlineBlockNeedsLayout&&"inline"!==ln(e.nodeName)?p.zoom=1:p.display="inline-block")),n.overflow&&(p.overflow="hidden",x.support.shrinkWrapBlocks||u.always(function(){p.overflow=n.overflow[0],p.overflowX=n.overflow[1],p.overflowY=n.overflow[2]}));for(r in t)if(i=t[r],Vn.exec(i)){if(delete t[r],o=o||"toggle"===i,i===(f?"hide":"show"))continue;c[r]=d&&d[r]||x.style(e,r)}if(!x.isEmptyObject(c)){d?"hidden"in d&&(f=d.hidden):d=x._data(e,"fxshow",{}),o&&(d.hidden=!f),f?x(e).show():u.done(function(){x(e).hide()}),u.done(function(){var t;x._removeData(e,"fxshow");for(t in c)x.style(e,t,c[t])});for(r in c)a=Zn(f?d[r]:0,r,u),r in d||(d[r]=a.start,f&&(a.end=a.start,a.start="width"===r||"height"===r?1:0))}}function rr(e,t,n,r,i){return new rr.prototype.init(e,t,n,r,i)}x.Tween=rr,rr.prototype={constructor:rr,init:function(e,t,n,r,i,o){this.elem=e,this.prop=n,this.easing=i||"swing",this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=o||(x.cssNumber[n]?"":"px")},cur:function(){var e=rr.propHooks[this.prop];return e&&e.get?e.get(this):rr.propHooks._default.get(this)},run:function(e){var t,n=rr.propHooks[this.prop];return this.pos=t=this.options.duration?x.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):e,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):rr.propHooks._default.set(this),this}},rr.prototype.init.prototype=rr.prototype,rr.propHooks={_default:{get:function(e){var t;return null==e.elem[e.prop]||e.elem.style&&null!=e.elem.style[e.prop]?(t=x.css(e.elem,e.prop,""),t&&"auto"!==t?t:0):e.elem[e.prop]},set:function(e){x.fx.step[e.prop]?x.fx.step[e.prop](e):e.elem.style&&(null!=e.elem.style[x.cssProps[e.prop]]||x.cssHooks[e.prop])?x.style(e.elem,e.prop,e.now+e.unit):e.elem[e.prop]=e.now}}},rr.propHooks.scrollTop=rr.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},x.each(["toggle","show","hide"],function(e,t){var n=x.fn[t];x.fn[t]=function(e,r,i){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(ir(t,!0),e,r,i)}}),x.fn.extend({fadeTo:function(e,t,n,r){return this.filter(nn).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(e,t,n,r){var i=x.isEmptyObject(e),o=x.speed(t,n,r),a=function(){var t=er(this,x.extend({},e),o);(i||x._data(this,"finish"))&&t.stop(!0)};return a.finish=a,i||o.queue===!1?this.each(a):this.queue(o.queue,a)},stop:function(e,n,r){var i=function(e){var t=e.stop;delete e.stop,t(r)};return"string"!=typeof e&&(r=n,n=e,e=t),n&&e!==!1&&this.queue(e||"fx",[]),this.each(function(){var t=!0,n=null!=e&&e+"queueHooks",o=x.timers,a=x._data(this);if(n)a[n]&&a[n].stop&&i(a[n]);else for(n in a)a[n]&&a[n].stop&&Jn.test(n)&&i(a[n]);for(n=o.length;n--;)o[n].elem!==this||null!=e&&o[n].queue!==e||(o[n].anim.stop(r),t=!1,o.splice(n,1));(t||!r)&&x.dequeue(this,e)})},finish:function(e){return e!==!1&&(e=e||"fx"),this.each(function(){var t,n=x._data(this),r=n[e+"queue"],i=n[e+"queueHooks"],o=x.timers,a=r?r.length:0;for(n.finish=!0,x.queue(this,e,[]),i&&i.stop&&i.stop.call(this,!0),t=o.length;t--;)o[t].elem===this&&o[t].queue===e&&(o[t].anim.stop(!0),o.splice(t,1));for(t=0;a>t;t++)r[t]&&r[t].finish&&r[t].finish.call(this);delete n.finish})}});function ir(e,t){var n,r={height:e},i=0;for(t=t?1:0;4>i;i+=2-t)n=Zt[i],r["margin"+n]=r["padding"+n]=e;return t&&(r.opacity=r.width=e),r}x.each({slideDown:ir("show"),slideUp:ir("hide"),slideToggle:ir("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,t){x.fn[e]=function(e,n,r){return this.animate(t,e,n,r)}}),x.speed=function(e,t,n){var r=e&&"object"==typeof e?x.extend({},e):{complete:n||!n&&t||x.isFunction(e)&&e,duration:e,easing:n&&t||t&&!x.isFunction(t)&&t};return r.duration=x.fx.off?0:"number"==typeof r.duration?r.duration:r.duration in x.fx.speeds?x.fx.speeds[r.duration]:x.fx.speeds._default,(null==r.queue||r.queue===!0)&&(r.queue="fx"),r.old=r.complete,r.complete=function(){x.isFunction(r.old)&&r.old.call(this),r.queue&&x.dequeue(this,r.queue)},r},x.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2}},x.timers=[],x.fx=rr.prototype.init,x.fx.tick=function(){var e,n=x.timers,r=0;for(Xn=x.now();n.length>r;r++)e=n[r],e()||n[r]!==e||n.splice(r--,1);n.length||x.fx.stop(),Xn=t},x.fx.timer=function(e){e()&&x.timers.push(e)&&x.fx.start()},x.fx.interval=13,x.fx.start=function(){Un||(Un=setInterval(x.fx.tick,x.fx.interval))},x.fx.stop=function(){clearInterval(Un),Un=null},x.fx.speeds={slow:600,fast:200,_default:400},x.fx.step={},x.expr&&x.expr.filters&&(x.expr.filters.animated=function(e){return x.grep(x.timers,function(t){return e===t.elem}).length}),x.fn.offset=function(e){if(arguments.length)return e===t?this:this.each(function(t){x.offset.setOffset(this,e,t)});var n,r,o={top:0,left:0},a=this[0],s=a&&a.ownerDocument;if(s)return n=s.documentElement,x.contains(n,a)?(typeof a.getBoundingClientRect!==i&&(o=a.getBoundingClientRect()),r=or(s),{top:o.top+(r.pageYOffset||n.scrollTop)-(n.clientTop||0),left:o.left+(r.pageXOffset||n.scrollLeft)-(n.clientLeft||0)}):o},x.offset={setOffset:function(e,t,n){var r=x.css(e,"position");"static"===r&&(e.style.position="relative");var i=x(e),o=i.offset(),a=x.css(e,"top"),s=x.css(e,"left"),l=("absolute"===r||"fixed"===r)&&x.inArray("auto",[a,s])>-1,u={},c={},p,f;l?(c=i.position(),p=c.top,f=c.left):(p=parseFloat(a)||0,f=parseFloat(s)||0),x.isFunction(t)&&(t=t.call(e,n,o)),null!=t.top&&(u.top=t.top-o.top+p),null!=t.left&&(u.left=t.left-o.left+f),"using"in t?t.using.call(e,u):i.css(u)}},x.fn.extend({position:function(){if(this[0]){var e,t,n={top:0,left:0},r=this[0];return"fixed"===x.css(r,"position")?t=r.getBoundingClientRect():(e=this.offsetParent(),t=this.offset(),x.nodeName(e[0],"html")||(n=e.offset()),n.top+=x.css(e[0],"borderTopWidth",!0),n.left+=x.css(e[0],"borderLeftWidth",!0)),{top:t.top-n.top-x.css(r,"marginTop",!0),left:t.left-n.left-x.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var e=this.offsetParent||s;while(e&&!x.nodeName(e,"html")&&"static"===x.css(e,"position"))e=e.offsetParent;return e||s})}}),x.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,n){var r=/Y/.test(n);x.fn[e]=function(i){return x.access(this,function(e,i,o){var a=or(e);return o===t?a?n in a?a[n]:a.document.documentElement[i]:e[i]:(a?a.scrollTo(r?x(a).scrollLeft():o,r?o:x(a).scrollTop()):e[i]=o,t)},e,i,arguments.length,null)}});function or(e){return x.isWindow(e)?e:9===e.nodeType?e.defaultView||e.parentWindow:!1}x.each({Height:"height",Width:"width"},function(e,n){x.each({padding:"inner"+e,content:n,"":"outer"+e},function(r,i){x.fn[i]=function(i,o){var a=arguments.length&&(r||"boolean"!=typeof i),s=r||(i===!0||o===!0?"margin":"border");return x.access(this,function(n,r,i){var o;return x.isWindow(n)?n.document.documentElement["client"+e]:9===n.nodeType?(o=n.documentElement,Math.max(n.body["scroll"+e],o["scroll"+e],n.body["offset"+e],o["offset"+e],o["client"+e])):i===t?x.css(n,r,s):x.style(n,r,i,s)},n,a?i:t,a,null)}})}),x.fn.size=function(){return this.length},x.fn.andSelf=x.fn.addBack,"object"==typeof module&&module&&"object"==typeof module.exports?module.exports=x:(e.jQuery=e.$=x,"function"==typeof define&&define.amd&&define("jquery",[],function(){return x}))})(window);
/*! jQuery UI - v1.10.3 - 2013-05-31
* http://jqueryui.com
* Includes: jquery.ui.core.js, jquery.ui.widget.js, jquery.ui.mouse.js, jquery.ui.slider.js
* Copyright 2013 jQuery Foundation and other contributors Licensed MIT */
(function(e,t){function i(t,i){var a,n,r,o=t.nodeName.toLowerCase();return"area"===o?(a=t.parentNode,n=a.name,t.href&&n&&"map"===a.nodeName.toLowerCase()?(r=e("img[usemap=#"+n+"]")[0],!!r&&s(r)):!1):(/input|select|textarea|button|object/.test(o)?!t.disabled:"a"===o?t.href||i:i)&&s(t)}function s(t){return e.expr.filters.visible(t)&&!e(t).parents().addBack().filter(function(){return"hidden"===e.css(this,"visibility")}).length}var a=0,n=/^ui-id-\d+$/;e.ui=e.ui||{},e.extend(e.ui,{version:"1.10.3",keyCode:{BACKSPACE:8,COMMA:188,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,LEFT:37,NUMPAD_ADD:107,NUMPAD_DECIMAL:110,NUMPAD_DIVIDE:111,NUMPAD_ENTER:108,NUMPAD_MULTIPLY:106,NUMPAD_SUBTRACT:109,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SPACE:32,TAB:9,UP:38}}),e.fn.extend({focus:function(t){return function(i,s){return"number"==typeof i?this.each(function(){var t=this;setTimeout(function(){e(t).focus(),s&&s.call(t)},i)}):t.apply(this,arguments)}}(e.fn.focus),scrollParent:function(){var t;return t=e.ui.ie&&/(static|relative)/.test(this.css("position"))||/absolute/.test(this.css("position"))?this.parents().filter(function(){return/(relative|absolute|fixed)/.test(e.css(this,"position"))&&/(auto|scroll)/.test(e.css(this,"overflow")+e.css(this,"overflow-y")+e.css(this,"overflow-x"))}).eq(0):this.parents().filter(function(){return/(auto|scroll)/.test(e.css(this,"overflow")+e.css(this,"overflow-y")+e.css(this,"overflow-x"))}).eq(0),/fixed/.test(this.css("position"))||!t.length?e(document):t},zIndex:function(i){if(i!==t)return this.css("zIndex",i);if(this.length)for(var s,a,n=e(this[0]);n.length&&n[0]!==document;){if(s=n.css("position"),("absolute"===s||"relative"===s||"fixed"===s)&&(a=parseInt(n.css("zIndex"),10),!isNaN(a)&&0!==a))return a;n=n.parent()}return 0},uniqueId:function(){return this.each(function(){this.id||(this.id="ui-id-"+ ++a)})},removeUniqueId:function(){return this.each(function(){n.test(this.id)&&e(this).removeAttr("id")})}}),e.extend(e.expr[":"],{data:e.expr.createPseudo?e.expr.createPseudo(function(t){return function(i){return!!e.data(i,t)}}):function(t,i,s){return!!e.data(t,s[3])},focusable:function(t){return i(t,!isNaN(e.attr(t,"tabindex")))},tabbable:function(t){var s=e.attr(t,"tabindex"),a=isNaN(s);return(a||s>=0)&&i(t,!a)}}),e("<a>").outerWidth(1).jquery||e.each(["Width","Height"],function(i,s){function a(t,i,s,a){return e.each(n,function(){i-=parseFloat(e.css(t,"padding"+this))||0,s&&(i-=parseFloat(e.css(t,"border"+this+"Width"))||0),a&&(i-=parseFloat(e.css(t,"margin"+this))||0)}),i}var n="Width"===s?["Left","Right"]:["Top","Bottom"],r=s.toLowerCase(),o={innerWidth:e.fn.innerWidth,innerHeight:e.fn.innerHeight,outerWidth:e.fn.outerWidth,outerHeight:e.fn.outerHeight};e.fn["inner"+s]=function(i){return i===t?o["inner"+s].call(this):this.each(function(){e(this).css(r,a(this,i)+"px")})},e.fn["outer"+s]=function(t,i){return"number"!=typeof t?o["outer"+s].call(this,t):this.each(function(){e(this).css(r,a(this,t,!0,i)+"px")})}}),e.fn.addBack||(e.fn.addBack=function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}),e("<a>").data("a-b","a").removeData("a-b").data("a-b")&&(e.fn.removeData=function(t){return function(i){return arguments.length?t.call(this,e.camelCase(i)):t.call(this)}}(e.fn.removeData)),e.ui.ie=!!/msie [\w.]+/.exec(navigator.userAgent.toLowerCase()),e.support.selectstart="onselectstart"in document.createElement("div"),e.fn.extend({disableSelection:function(){return this.bind((e.support.selectstart?"selectstart":"mousedown")+".ui-disableSelection",function(e){e.preventDefault()})},enableSelection:function(){return this.unbind(".ui-disableSelection")}}),e.extend(e.ui,{plugin:{add:function(t,i,s){var a,n=e.ui[t].prototype;for(a in s)n.plugins[a]=n.plugins[a]||[],n.plugins[a].push([i,s[a]])},call:function(e,t,i){var s,a=e.plugins[t];if(a&&e.element[0].parentNode&&11!==e.element[0].parentNode.nodeType)for(s=0;a.length>s;s++)e.options[a[s][0]]&&a[s][1].apply(e.element,i)}},hasScroll:function(t,i){if("hidden"===e(t).css("overflow"))return!1;var s=i&&"left"===i?"scrollLeft":"scrollTop",a=!1;return t[s]>0?!0:(t[s]=1,a=t[s]>0,t[s]=0,a)}})})(jQuery);(function(e,t){var i=0,s=Array.prototype.slice,n=e.cleanData;e.cleanData=function(t){for(var i,s=0;null!=(i=t[s]);s++)try{e(i).triggerHandler("remove")}catch(a){}n(t)},e.widget=function(i,s,n){var a,r,o,h,l={},u=i.split(".")[0];i=i.split(".")[1],a=u+"-"+i,n||(n=s,s=e.Widget),e.expr[":"][a.toLowerCase()]=function(t){return!!e.data(t,a)},e[u]=e[u]||{},r=e[u][i],o=e[u][i]=function(e,i){return this._createWidget?(arguments.length&&this._createWidget(e,i),t):new o(e,i)},e.extend(o,r,{version:n.version,_proto:e.extend({},n),_childConstructors:[]}),h=new s,h.options=e.widget.extend({},h.options),e.each(n,function(i,n){return e.isFunction(n)?(l[i]=function(){var e=function(){return s.prototype[i].apply(this,arguments)},t=function(e){return s.prototype[i].apply(this,e)};return function(){var i,s=this._super,a=this._superApply;return this._super=e,this._superApply=t,i=n.apply(this,arguments),this._super=s,this._superApply=a,i}}(),t):(l[i]=n,t)}),o.prototype=e.widget.extend(h,{widgetEventPrefix:r?h.widgetEventPrefix:i},l,{constructor:o,namespace:u,widgetName:i,widgetFullName:a}),r?(e.each(r._childConstructors,function(t,i){var s=i.prototype;e.widget(s.namespace+"."+s.widgetName,o,i._proto)}),delete r._childConstructors):s._childConstructors.push(o),e.widget.bridge(i,o)},e.widget.extend=function(i){for(var n,a,r=s.call(arguments,1),o=0,h=r.length;h>o;o++)for(n in r[o])a=r[o][n],r[o].hasOwnProperty(n)&&a!==t&&(i[n]=e.isPlainObject(a)?e.isPlainObject(i[n])?e.widget.extend({},i[n],a):e.widget.extend({},a):a);return i},e.widget.bridge=function(i,n){var a=n.prototype.widgetFullName||i;e.fn[i]=function(r){var o="string"==typeof r,h=s.call(arguments,1),l=this;return r=!o&&h.length?e.widget.extend.apply(null,[r].concat(h)):r,o?this.each(function(){var s,n=e.data(this,a);return n?e.isFunction(n[r])&&"_"!==r.charAt(0)?(s=n[r].apply(n,h),s!==n&&s!==t?(l=s&&s.jquery?l.pushStack(s.get()):s,!1):t):e.error("no such method '"+r+"' for "+i+" widget instance"):e.error("cannot call methods on "+i+" prior to initialization; "+"attempted to call method '"+r+"'")}):this.each(function(){var t=e.data(this,a);t?t.option(r||{})._init():e.data(this,a,new n(r,this))}),l}},e.Widget=function(){},e.Widget._childConstructors=[],e.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",defaultElement:"<div>",options:{disabled:!1,create:null},_createWidget:function(t,s){s=e(s||this.defaultElement||this)[0],this.element=e(s),this.uuid=i++,this.eventNamespace="."+this.widgetName+this.uuid,this.options=e.widget.extend({},this.options,this._getCreateOptions(),t),this.bindings=e(),this.hoverable=e(),this.focusable=e(),s!==this&&(e.data(s,this.widgetFullName,this),this._on(!0,this.element,{remove:function(e){e.target===s&&this.destroy()}}),this.document=e(s.style?s.ownerDocument:s.document||s),this.window=e(this.document[0].defaultView||this.document[0].parentWindow)),this._create(),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:e.noop,_getCreateEventData:e.noop,_create:e.noop,_init:e.noop,destroy:function(){this._destroy(),this.element.unbind(this.eventNamespace).removeData(this.widgetName).removeData(this.widgetFullName).removeData(e.camelCase(this.widgetFullName)),this.widget().unbind(this.eventNamespace).removeAttr("aria-disabled").removeClass(this.widgetFullName+"-disabled "+"ui-state-disabled"),this.bindings.unbind(this.eventNamespace),this.hoverable.removeClass("ui-state-hover"),this.focusable.removeClass("ui-state-focus")},_destroy:e.noop,widget:function(){return this.element},option:function(i,s){var n,a,r,o=i;if(0===arguments.length)return e.widget.extend({},this.options);if("string"==typeof i)if(o={},n=i.split("."),i=n.shift(),n.length){for(a=o[i]=e.widget.extend({},this.options[i]),r=0;n.length-1>r;r++)a[n[r]]=a[n[r]]||{},a=a[n[r]];if(i=n.pop(),s===t)return a[i]===t?null:a[i];a[i]=s}else{if(s===t)return this.options[i]===t?null:this.options[i];o[i]=s}return this._setOptions(o),this},_setOptions:function(e){var t;for(t in e)this._setOption(t,e[t]);return this},_setOption:function(e,t){return this.options[e]=t,"disabled"===e&&(this.widget().toggleClass(this.widgetFullName+"-disabled ui-state-disabled",!!t).attr("aria-disabled",t),this.hoverable.removeClass("ui-state-hover"),this.focusable.removeClass("ui-state-focus")),this},enable:function(){return this._setOption("disabled",!1)},disable:function(){return this._setOption("disabled",!0)},_on:function(i,s,n){var a,r=this;"boolean"!=typeof i&&(n=s,s=i,i=!1),n?(s=a=e(s),this.bindings=this.bindings.add(s)):(n=s,s=this.element,a=this.widget()),e.each(n,function(n,o){function h(){return i||r.options.disabled!==!0&&!e(this).hasClass("ui-state-disabled")?("string"==typeof o?r[o]:o).apply(r,arguments):t}"string"!=typeof o&&(h.guid=o.guid=o.guid||h.guid||e.guid++);var l=n.match(/^(\w+)\s*(.*)$/),u=l[1]+r.eventNamespace,c=l[2];c?a.delegate(c,u,h):s.bind(u,h)})},_off:function(e,t){t=(t||"").split(" ").join(this.eventNamespace+" ")+this.eventNamespace,e.unbind(t).undelegate(t)},_delay:function(e,t){function i(){return("string"==typeof e?s[e]:e).apply(s,arguments)}var s=this;return setTimeout(i,t||0)},_hoverable:function(t){this.hoverable=this.hoverable.add(t),this._on(t,{mouseenter:function(t){e(t.currentTarget).addClass("ui-state-hover")},mouseleave:function(t){e(t.currentTarget).removeClass("ui-state-hover")}})},_focusable:function(t){this.focusable=this.focusable.add(t),this._on(t,{focusin:function(t){e(t.currentTarget).addClass("ui-state-focus")},focusout:function(t){e(t.currentTarget).removeClass("ui-state-focus")}})},_trigger:function(t,i,s){var n,a,r=this.options[t];if(s=s||{},i=e.Event(i),i.type=(t===this.widgetEventPrefix?t:this.widgetEventPrefix+t).toLowerCase(),i.target=this.element[0],a=i.originalEvent)for(n in a)n in i||(i[n]=a[n]);return this.element.trigger(i,s),!(e.isFunction(r)&&r.apply(this.element[0],[i].concat(s))===!1||i.isDefaultPrevented())}},e.each({show:"fadeIn",hide:"fadeOut"},function(t,i){e.Widget.prototype["_"+t]=function(s,n,a){"string"==typeof n&&(n={effect:n});var r,o=n?n===!0||"number"==typeof n?i:n.effect||i:t;n=n||{},"number"==typeof n&&(n={duration:n}),r=!e.isEmptyObject(n),n.complete=a,n.delay&&s.delay(n.delay),r&&e.effects&&e.effects.effect[o]?s[t](n):o!==t&&s[o]?s[o](n.duration,n.easing,a):s.queue(function(i){e(this)[t](),a&&a.call(s[0]),i()})}})})(jQuery);(function(e){var t=!1;e(document).mouseup(function(){t=!1}),e.widget("ui.mouse",{version:"1.10.3",options:{cancel:"input,textarea,button,select,option",distance:1,delay:0},_mouseInit:function(){var t=this;this.element.bind("mousedown."+this.widgetName,function(e){return t._mouseDown(e)}).bind("click."+this.widgetName,function(i){return!0===e.data(i.target,t.widgetName+".preventClickEvent")?(e.removeData(i.target,t.widgetName+".preventClickEvent"),i.stopImmediatePropagation(),!1):undefined}),this.started=!1},_mouseDestroy:function(){this.element.unbind("."+this.widgetName),this._mouseMoveDelegate&&e(document).unbind("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate)},_mouseDown:function(i){if(!t){this._mouseStarted&&this._mouseUp(i),this._mouseDownEvent=i;var s=this,n=1===i.which,a="string"==typeof this.options.cancel&&i.target.nodeName?e(i.target).closest(this.options.cancel).length:!1;return n&&!a&&this._mouseCapture(i)?(this.mouseDelayMet=!this.options.delay,this.mouseDelayMet||(this._mouseDelayTimer=setTimeout(function(){s.mouseDelayMet=!0},this.options.delay)),this._mouseDistanceMet(i)&&this._mouseDelayMet(i)&&(this._mouseStarted=this._mouseStart(i)!==!1,!this._mouseStarted)?(i.preventDefault(),!0):(!0===e.data(i.target,this.widgetName+".preventClickEvent")&&e.removeData(i.target,this.widgetName+".preventClickEvent"),this._mouseMoveDelegate=function(e){return s._mouseMove(e)},this._mouseUpDelegate=function(e){return s._mouseUp(e)},e(document).bind("mousemove."+this.widgetName,this._mouseMoveDelegate).bind("mouseup."+this.widgetName,this._mouseUpDelegate),i.preventDefault(),t=!0,!0)):!0}},_mouseMove:function(t){return e.ui.ie&&(!document.documentMode||9>document.documentMode)&&!t.button?this._mouseUp(t):this._mouseStarted?(this._mouseDrag(t),t.preventDefault()):(this._mouseDistanceMet(t)&&this._mouseDelayMet(t)&&(this._mouseStarted=this._mouseStart(this._mouseDownEvent,t)!==!1,this._mouseStarted?this._mouseDrag(t):this._mouseUp(t)),!this._mouseStarted)},_mouseUp:function(t){return e(document).unbind("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate),this._mouseStarted&&(this._mouseStarted=!1,t.target===this._mouseDownEvent.target&&e.data(t.target,this.widgetName+".preventClickEvent",!0),this._mouseStop(t)),!1},_mouseDistanceMet:function(e){return Math.max(Math.abs(this._mouseDownEvent.pageX-e.pageX),Math.abs(this._mouseDownEvent.pageY-e.pageY))>=this.options.distance},_mouseDelayMet:function(){return this.mouseDelayMet},_mouseStart:function(){},_mouseDrag:function(){},_mouseStop:function(){},_mouseCapture:function(){return!0}})})(jQuery);(function(t){var e=5;t.widget("ui.slider",t.ui.mouse,{version:"1.10.3",widgetEventPrefix:"slide",options:{animate:!1,distance:0,max:100,min:0,orientation:"horizontal",range:!1,step:1,value:0,values:null,change:null,slide:null,start:null,stop:null},_create:function(){this._keySliding=!1,this._mouseSliding=!1,this._animateOff=!0,this._handleIndex=null,this._detectOrientation(),this._mouseInit(),this.element.addClass("ui-slider ui-slider-"+this.orientation+" ui-widget"+" ui-widget-content"+" ui-corner-all"),this._refresh(),this._setOption("disabled",this.options.disabled),this._animateOff=!1},_refresh:function(){this._createRange(),this._createHandles(),this._setupEvents(),this._refreshValue()},_createHandles:function(){var e,i,s=this.options,n=this.element.find(".ui-slider-handle").addClass("ui-state-default ui-corner-all"),a="<a class='ui-slider-handle ui-state-default ui-corner-all' href='#'></a>",o=[];for(i=s.values&&s.values.length||1,n.length>i&&(n.slice(i).remove(),n=n.slice(0,i)),e=n.length;i>e;e++)o.push(a);this.handles=n.add(t(o.join("")).appendTo(this.element)),this.handle=this.handles.eq(0),this.handles.each(function(e){t(this).data("ui-slider-handle-index",e)})},_createRange:function(){var e=this.options,i="";e.range?(e.range===!0&&(e.values?e.values.length&&2!==e.values.length?e.values=[e.values[0],e.values[0]]:t.isArray(e.values)&&(e.values=e.values.slice(0)):e.values=[this._valueMin(),this._valueMin()]),this.range&&this.range.length?this.range.removeClass("ui-slider-range-min ui-slider-range-max").css({left:"",bottom:""}):(this.range=t("<div></div>").appendTo(this.element),i="ui-slider-range ui-widget-header ui-corner-all"),this.range.addClass(i+("min"===e.range||"max"===e.range?" ui-slider-range-"+e.range:""))):this.range=t([])},_setupEvents:function(){var t=this.handles.add(this.range).filter("a");this._off(t),this._on(t,this._handleEvents),this._hoverable(t),this._focusable(t)},_destroy:function(){this.handles.remove(),this.range.remove(),this.element.removeClass("ui-slider ui-slider-horizontal ui-slider-vertical ui-widget ui-widget-content ui-corner-all"),this._mouseDestroy()},_mouseCapture:function(e){var i,s,n,a,o,r,h,l,u=this,c=this.options;return c.disabled?!1:(this.elementSize={width:this.element.outerWidth(),height:this.element.outerHeight()},this.elementOffset=this.element.offset(),i={x:e.pageX,y:e.pageY},s=this._normValueFromMouse(i),n=this._valueMax()-this._valueMin()+1,this.handles.each(function(e){var i=Math.abs(s-u.values(e));(n>i||n===i&&(e===u._lastChangedValue||u.values(e)===c.min))&&(n=i,a=t(this),o=e)}),r=this._start(e,o),r===!1?!1:(this._mouseSliding=!0,this._handleIndex=o,a.addClass("ui-state-active").focus(),h=a.offset(),l=!t(e.target).parents().addBack().is(".ui-slider-handle"),this._clickOffset=l?{left:0,top:0}:{left:e.pageX-h.left-a.width()/2,top:e.pageY-h.top-a.height()/2-(parseInt(a.css("borderTopWidth"),10)||0)-(parseInt(a.css("borderBottomWidth"),10)||0)+(parseInt(a.css("marginTop"),10)||0)},this.handles.hasClass("ui-state-hover")||this._slide(e,o,s),this._animateOff=!0,!0))},_mouseStart:function(){return!0},_mouseDrag:function(t){var e={x:t.pageX,y:t.pageY},i=this._normValueFromMouse(e);return this._slide(t,this._handleIndex,i),!1},_mouseStop:function(t){return this.handles.removeClass("ui-state-active"),this._mouseSliding=!1,this._stop(t,this._handleIndex),this._change(t,this._handleIndex),this._handleIndex=null,this._clickOffset=null,this._animateOff=!1,!1},_detectOrientation:function(){this.orientation="vertical"===this.options.orientation?"vertical":"horizontal"},_normValueFromMouse:function(t){var e,i,s,n,a;return"horizontal"===this.orientation?(e=this.elementSize.width,i=t.x-this.elementOffset.left-(this._clickOffset?this._clickOffset.left:0)):(e=this.elementSize.height,i=t.y-this.elementOffset.top-(this._clickOffset?this._clickOffset.top:0)),s=i/e,s>1&&(s=1),0>s&&(s=0),"vertical"===this.orientation&&(s=1-s),n=this._valueMax()-this._valueMin(),a=this._valueMin()+s*n,this._trimAlignValue(a)},_start:function(t,e){var i={handle:this.handles[e],value:this.value()};return this.options.values&&this.options.values.length&&(i.value=this.values(e),i.values=this.values()),this._trigger("start",t,i)},_slide:function(t,e,i){var s,n,a;this.options.values&&this.options.values.length?(s=this.values(e?0:1),2===this.options.values.length&&this.options.range===!0&&(0===e&&i>s||1===e&&s>i)&&(i=s),i!==this.values(e)&&(n=this.values(),n[e]=i,a=this._trigger("slide",t,{handle:this.handles[e],value:i,values:n}),s=this.values(e?0:1),a!==!1&&this.values(e,i,!0))):i!==this.value()&&(a=this._trigger("slide",t,{handle:this.handles[e],value:i}),a!==!1&&this.value(i))},_stop:function(t,e){var i={handle:this.handles[e],value:this.value()};this.options.values&&this.options.values.length&&(i.value=this.values(e),i.values=this.values()),this._trigger("stop",t,i)},_change:function(t,e){if(!this._keySliding&&!this._mouseSliding){var i={handle:this.handles[e],value:this.value()};this.options.values&&this.options.values.length&&(i.value=this.values(e),i.values=this.values()),this._lastChangedValue=e,this._trigger("change",t,i)}},value:function(t){return arguments.length?(this.options.value=this._trimAlignValue(t),this._refreshValue(),this._change(null,0),undefined):this._value()},values:function(e,i){var s,n,a;if(arguments.length>1)return this.options.values[e]=this._trimAlignValue(i),this._refreshValue(),this._change(null,e),undefined;if(!arguments.length)return this._values();if(!t.isArray(arguments[0]))return this.options.values&&this.options.values.length?this._values(e):this.value();for(s=this.options.values,n=arguments[0],a=0;s.length>a;a+=1)s[a]=this._trimAlignValue(n[a]),this._change(null,a);this._refreshValue()},_setOption:function(e,i){var s,n=0;switch("range"===e&&this.options.range===!0&&("min"===i?(this.options.value=this._values(0),this.options.values=null):"max"===i&&(this.options.value=this._values(this.options.values.length-1),this.options.values=null)),t.isArray(this.options.values)&&(n=this.options.values.length),t.Widget.prototype._setOption.apply(this,arguments),e){case"orientation":this._detectOrientation(),this.element.removeClass("ui-slider-horizontal ui-slider-vertical").addClass("ui-slider-"+this.orientation),this._refreshValue();break;case"value":this._animateOff=!0,this._refreshValue(),this._change(null,0),this._animateOff=!1;break;case"values":for(this._animateOff=!0,this._refreshValue(),s=0;n>s;s+=1)this._change(null,s);this._animateOff=!1;break;case"min":case"max":this._animateOff=!0,this._refreshValue(),this._animateOff=!1;break;case"range":this._animateOff=!0,this._refresh(),this._animateOff=!1}},_value:function(){var t=this.options.value;return t=this._trimAlignValue(t)},_values:function(t){var e,i,s;if(arguments.length)return e=this.options.values[t],e=this._trimAlignValue(e);if(this.options.values&&this.options.values.length){for(i=this.options.values.slice(),s=0;i.length>s;s+=1)i[s]=this._trimAlignValue(i[s]);return i}return[]},_trimAlignValue:function(t){if(this._valueMin()>=t)return this._valueMin();if(t>=this._valueMax())return this._valueMax();var e=this.options.step>0?this.options.step:1,i=(t-this._valueMin())%e,s=t-i;return 2*Math.abs(i)>=e&&(s+=i>0?e:-e),parseFloat(s.toFixed(5))},_valueMin:function(){return this.options.min},_valueMax:function(){return this.options.max},_refreshValue:function(){var e,i,s,n,a,o=this.options.range,r=this.options,h=this,l=this._animateOff?!1:r.animate,u={};this.options.values&&this.options.values.length?this.handles.each(function(s){i=100*((h.values(s)-h._valueMin())/(h._valueMax()-h._valueMin())),u["horizontal"===h.orientation?"left":"bottom"]=i+"%",t(this).stop(1,1)[l?"animate":"css"](u,r.animate),h.options.range===!0&&("horizontal"===h.orientation?(0===s&&h.range.stop(1,1)[l?"animate":"css"]({left:i+"%"},r.animate),1===s&&h.range[l?"animate":"css"]({width:i-e+"%"},{queue:!1,duration:r.animate})):(0===s&&h.range.stop(1,1)[l?"animate":"css"]({bottom:i+"%"},r.animate),1===s&&h.range[l?"animate":"css"]({height:i-e+"%"},{queue:!1,duration:r.animate}))),e=i}):(s=this.value(),n=this._valueMin(),a=this._valueMax(),i=a!==n?100*((s-n)/(a-n)):0,u["horizontal"===this.orientation?"left":"bottom"]=i+"%",this.handle.stop(1,1)[l?"animate":"css"](u,r.animate),"min"===o&&"horizontal"===this.orientation&&this.range.stop(1,1)[l?"animate":"css"]({width:i+"%"},r.animate),"max"===o&&"horizontal"===this.orientation&&this.range[l?"animate":"css"]({width:100-i+"%"},{queue:!1,duration:r.animate}),"min"===o&&"vertical"===this.orientation&&this.range.stop(1,1)[l?"animate":"css"]({height:i+"%"},r.animate),"max"===o&&"vertical"===this.orientation&&this.range[l?"animate":"css"]({height:100-i+"%"},{queue:!1,duration:r.animate}))},_handleEvents:{keydown:function(i){var s,n,a,o,r=t(i.target).data("ui-slider-handle-index");switch(i.keyCode){case t.ui.keyCode.HOME:case t.ui.keyCode.END:case t.ui.keyCode.PAGE_UP:case t.ui.keyCode.PAGE_DOWN:case t.ui.keyCode.UP:case t.ui.keyCode.RIGHT:case t.ui.keyCode.DOWN:case t.ui.keyCode.LEFT:if(i.preventDefault(),!this._keySliding&&(this._keySliding=!0,t(i.target).addClass("ui-state-active"),s=this._start(i,r),s===!1))return}switch(o=this.options.step,n=a=this.options.values&&this.options.values.length?this.values(r):this.value(),i.keyCode){case t.ui.keyCode.HOME:a=this._valueMin();break;case t.ui.keyCode.END:a=this._valueMax();break;case t.ui.keyCode.PAGE_UP:a=this._trimAlignValue(n+(this._valueMax()-this._valueMin())/e);break;case t.ui.keyCode.PAGE_DOWN:a=this._trimAlignValue(n-(this._valueMax()-this._valueMin())/e);break;case t.ui.keyCode.UP:case t.ui.keyCode.RIGHT:if(n===this._valueMax())return;a=this._trimAlignValue(n+o);break;case t.ui.keyCode.DOWN:case t.ui.keyCode.LEFT:if(n===this._valueMin())return;a=this._trimAlignValue(n-o)}this._slide(i,r,a)},click:function(t){t.preventDefault()},keyup:function(e){var i=t(e.target).data("ui-slider-handle-index");this._keySliding&&(this._keySliding=!1,this._stop(e,i),this._change(e,i),t(e.target).removeClass("ui-state-active"))}}})})(jQuery);
/* SWFObject v2.2 <http://code.google.com/p/swfobject/>
is released under the MIT License <http://www.opensource.org/licenses/mit-license.php>
*/
var swfobject=function(){var D="undefined",r="object",S="Shockwave Flash",W="ShockwaveFlash.ShockwaveFlash",q="application/x-shockwave-flash",R="SWFObjectExprInst",x="onreadystatechange",O=window,j=document,t=navigator,T=false,U=[h],o=[],N=[],I=[],l,Q,E,B,J=false,a=false,n,G,m=true,M=function(){var aa=typeof j.getElementById!=D&&typeof j.getElementsByTagName!=D&&typeof j.createElement!=D,ah=t.userAgent.toLowerCase(),Y=t.platform.toLowerCase(),ae=Y?/win/.test(Y):/win/.test(ah),ac=Y?/mac/.test(Y):/mac/.test(ah),af=/webkit/.test(ah)?parseFloat(ah.replace(/^.*webkit\/(\d+(\.\d+)?).*$/,"$1")):false,X=!+"\v1",ag=[0,0,0],ab=null;if(typeof t.plugins!=D&&typeof t.plugins[S]==r){ab=t.plugins[S].description;if(ab&&!(typeof t.mimeTypes!=D&&t.mimeTypes[q]&&!t.mimeTypes[q].enabledPlugin)){T=true;X=false;ab=ab.replace(/^.*\s+(\S+\s+\S+$)/,"$1");ag[0]=parseInt(ab.replace(/^(.*)\..*$/,"$1"),10);ag[1]=parseInt(ab.replace(/^.*\.(.*)\s.*$/,"$1"),10);ag[2]=/[a-zA-Z]/.test(ab)?parseInt(ab.replace(/^.*[a-zA-Z]+(.*)$/,"$1"),10):0}}else{if(typeof O.ActiveXObject!=D){try{var ad=new ActiveXObject(W);if(ad){ab=ad.GetVariable("$version");if(ab){X=true;ab=ab.split(" ")[1].split(",");ag=[parseInt(ab[0],10),parseInt(ab[1],10),parseInt(ab[2],10)]}}}catch(Z){}}}return{w3:aa,pv:ag,wk:af,ie:X,win:ae,mac:ac}}(),k=function(){if(!M.w3){return}if((typeof j.readyState!=D&&j.readyState=="complete")||(typeof j.readyState==D&&(j.getElementsByTagName("body")[0]||j.body))){f()}if(!J){if(typeof j.addEventListener!=D){j.addEventListener("DOMContentLoaded",f,false)}if(M.ie&&M.win){j.attachEvent(x,function(){if(j.readyState=="complete"){j.detachEvent(x,arguments.callee);f()}});if(O==top){(function(){if(J){return}try{j.documentElement.doScroll("left")}catch(X){setTimeout(arguments.callee,0);return}f()})()}}if(M.wk){(function(){if(J){return}if(!/loaded|complete/.test(j.readyState)){setTimeout(arguments.callee,0);return}f()})()}s(f)}}();function f(){if(J){return}try{var Z=j.getElementsByTagName("body")[0].appendChild(C("span"));Z.parentNode.removeChild(Z)}catch(aa){return}J=true;var X=U.length;for(var Y=0;Y<X;Y++){U[Y]()}}function K(X){if(J){X()}else{U[U.length]=X}}function s(Y){if(typeof O.addEventListener!=D){O.addEventListener("load",Y,false)}else{if(typeof j.addEventListener!=D){j.addEventListener("load",Y,false)}else{if(typeof O.attachEvent!=D){i(O,"onload",Y)}else{if(typeof O.onload=="function"){var X=O.onload;O.onload=function(){X();Y()}}else{O.onload=Y}}}}}function h(){if(T){V()}else{H()}}function V(){var X=j.getElementsByTagName("body")[0];var aa=C(r);aa.setAttribute("type",q);var Z=X.appendChild(aa);if(Z){var Y=0;(function(){if(typeof Z.GetVariable!=D){var ab=Z.GetVariable("$version");if(ab){ab=ab.split(" ")[1].split(",");M.pv=[parseInt(ab[0],10),parseInt(ab[1],10),parseInt(ab[2],10)]}}else{if(Y<10){Y++;setTimeout(arguments.callee,10);return}}X.removeChild(aa);Z=null;H()})()}else{H()}}function H(){var ag=o.length;if(ag>0){for(var af=0;af<ag;af++){var Y=o[af].id;var ab=o[af].callbackFn;var aa={success:false,id:Y};if(M.pv[0]>0){var ae=c(Y);if(ae){if(F(o[af].swfVersion)&&!(M.wk&&M.wk<312)){w(Y,true);if(ab){aa.success=true;aa.ref=z(Y);ab(aa)}}else{if(o[af].expressInstall&&A()){var ai={};ai.data=o[af].expressInstall;ai.width=ae.getAttribute("width")||"0";ai.height=ae.getAttribute("height")||"0";if(ae.getAttribute("class")){ai.styleclass=ae.getAttribute("class")}if(ae.getAttribute("align")){ai.align=ae.getAttribute("align")}var ah={};var X=ae.getElementsByTagName("param");var ac=X.length;for(var ad=0;ad<ac;ad++){if(X[ad].getAttribute("name").toLowerCase()!="movie"){ah[X[ad].getAttribute("name")]=X[ad].getAttribute("value")}}P(ai,ah,Y,ab)}else{p(ae);if(ab){ab(aa)}}}}}else{w(Y,true);if(ab){var Z=z(Y);if(Z&&typeof Z.SetVariable!=D){aa.success=true;aa.ref=Z}ab(aa)}}}}}function z(aa){var X=null;var Y=c(aa);if(Y&&Y.nodeName=="OBJECT"){if(typeof Y.SetVariable!=D){X=Y}else{var Z=Y.getElementsByTagName(r)[0];if(Z){X=Z}}}return X}function A(){return !a&&F("6.0.65")&&(M.win||M.mac)&&!(M.wk&&M.wk<312)}function P(aa,ab,X,Z){a=true;E=Z||null;B={success:false,id:X};var ae=c(X);if(ae){if(ae.nodeName=="OBJECT"){l=g(ae);Q=null}else{l=ae;Q=X}aa.id=R;if(typeof aa.width==D||(!/%$/.test(aa.width)&&parseInt(aa.width,10)<310)){aa.width="310"}if(typeof aa.height==D||(!/%$/.test(aa.height)&&parseInt(aa.height,10)<137)){aa.height="137"}j.title=j.title.slice(0,47)+" - Flash Player Installation";var ad=M.ie&&M.win?"ActiveX":"PlugIn",ac="MMredirectURL="+O.location.toString().replace(/&/g,"%26")+"&MMplayerType="+ad+"&MMdoctitle="+j.title;if(typeof ab.flashvars!=D){ab.flashvars+="&"+ac}else{ab.flashvars=ac}if(M.ie&&M.win&&ae.readyState!=4){var Y=C("div");X+="SWFObjectNew";Y.setAttribute("id",X);ae.parentNode.insertBefore(Y,ae);ae.style.display="none";(function(){if(ae.readyState==4){ae.parentNode.removeChild(ae)}else{setTimeout(arguments.callee,10)}})()}u(aa,ab,X)}}function p(Y){if(M.ie&&M.win&&Y.readyState!=4){var X=C("div");Y.parentNode.insertBefore(X,Y);X.parentNode.replaceChild(g(Y),X);Y.style.display="none";(function(){if(Y.readyState==4){Y.parentNode.removeChild(Y)}else{setTimeout(arguments.callee,10)}})()}else{Y.parentNode.replaceChild(g(Y),Y)}}function g(ab){var aa=C("div");if(M.win&&M.ie){aa.innerHTML=ab.innerHTML}else{var Y=ab.getElementsByTagName(r)[0];if(Y){var ad=Y.childNodes;if(ad){var X=ad.length;for(var Z=0;Z<X;Z++){if(!(ad[Z].nodeType==1&&ad[Z].nodeName=="PARAM")&&!(ad[Z].nodeType==8)){aa.appendChild(ad[Z].cloneNode(true))}}}}}return aa}function u(ai,ag,Y){var X,aa=c(Y);if(M.wk&&M.wk<312){return X}if(aa){if(typeof ai.id==D){ai.id=Y}if(M.ie&&M.win){var ah="";for(var ae in ai){if(ai[ae]!=Object.prototype[ae]){if(ae.toLowerCase()=="data"){ag.movie=ai[ae]}else{if(ae.toLowerCase()=="styleclass"){ah+=' class="'+ai[ae]+'"'}else{if(ae.toLowerCase()!="classid"){ah+=" "+ae+'="'+ai[ae]+'"'}}}}}var af="";for(var ad in ag){if(ag[ad]!=Object.prototype[ad]){af+='<param name="'+ad+'" value="'+ag[ad]+'" />'}}aa.outerHTML='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"'+ah+">"+af+"</object>";N[N.length]=ai.id;X=c(ai.id)}else{var Z=C(r);Z.setAttribute("type",q);for(var ac in ai){if(ai[ac]!=Object.prototype[ac]){if(ac.toLowerCase()=="styleclass"){Z.setAttribute("class",ai[ac])}else{if(ac.toLowerCase()!="classid"){Z.setAttribute(ac,ai[ac])}}}}for(var ab in ag){if(ag[ab]!=Object.prototype[ab]&&ab.toLowerCase()!="movie"){e(Z,ab,ag[ab])}}aa.parentNode.replaceChild(Z,aa);X=Z}}return X}function e(Z,X,Y){var aa=C("param");aa.setAttribute("name",X);aa.setAttribute("value",Y);Z.appendChild(aa)}function y(Y){var X=c(Y);if(X&&X.nodeName=="OBJECT"){if(M.ie&&M.win){X.style.display="none";(function(){if(X.readyState==4){b(Y)}else{setTimeout(arguments.callee,10)}})()}else{X.parentNode.removeChild(X)}}}function b(Z){var Y=c(Z);if(Y){for(var X in Y){if(typeof Y[X]=="function"){Y[X]=null}}Y.parentNode.removeChild(Y)}}function c(Z){var X=null;try{X=j.getElementById(Z)}catch(Y){}return X}function C(X){return j.createElement(X)}function i(Z,X,Y){Z.attachEvent(X,Y);I[I.length]=[Z,X,Y]}function F(Z){var Y=M.pv,X=Z.split(".");X[0]=parseInt(X[0],10);X[1]=parseInt(X[1],10)||0;X[2]=parseInt(X[2],10)||0;return(Y[0]>X[0]||(Y[0]==X[0]&&Y[1]>X[1])||(Y[0]==X[0]&&Y[1]==X[1]&&Y[2]>=X[2]))?true:false}function v(ac,Y,ad,ab){if(M.ie&&M.mac){return}var aa=j.getElementsByTagName("head")[0];if(!aa){return}var X=(ad&&typeof ad=="string")?ad:"screen";if(ab){n=null;G=null}if(!n||G!=X){var Z=C("style");Z.setAttribute("type","text/css");Z.setAttribute("media",X);n=aa.appendChild(Z);if(M.ie&&M.win&&typeof j.styleSheets!=D&&j.styleSheets.length>0){n=j.styleSheets[j.styleSheets.length-1]}G=X}if(M.ie&&M.win){if(n&&typeof n.addRule==r){n.addRule(ac,Y)}}else{if(n&&typeof j.createTextNode!=D){n.appendChild(j.createTextNode(ac+" {"+Y+"}"))}}}function w(Z,X){if(!m){return}var Y=X?"visible":"hidden";if(J&&c(Z)){c(Z).style.visibility=Y}else{v("#"+Z,"visibility:"+Y)}}function L(Y){var Z=/[\\\"<>\.;]/;var X=Z.exec(Y)!=null;return X&&typeof encodeURIComponent!=D?encodeURIComponent(Y):Y}var d=function(){if(M.ie&&M.win){window.attachEvent("onunload",function(){var ac=I.length;for(var ab=0;ab<ac;ab++){I[ab][0].detachEvent(I[ab][1],I[ab][2])}var Z=N.length;for(var aa=0;aa<Z;aa++){y(N[aa])}for(var Y in M){M[Y]=null}M=null;for(var X in swfobject){swfobject[X]=null}swfobject=null})}}();return{registerObject:function(ab,X,aa,Z){if(M.w3&&ab&&X){var Y={};Y.id=ab;Y.swfVersion=X;Y.expressInstall=aa;Y.callbackFn=Z;o[o.length]=Y;w(ab,false)}else{if(Z){Z({success:false,id:ab})}}},getObjectById:function(X){if(M.w3){return z(X)}},embedSWF:function(ab,ah,ae,ag,Y,aa,Z,ad,af,ac){var X={success:false,id:ah};if(M.w3&&!(M.wk&&M.wk<312)&&ab&&ah&&ae&&ag&&Y){w(ah,false);K(function(){ae+="";ag+="";var aj={};if(af&&typeof af===r){for(var al in af){aj[al]=af[al]}}aj.data=ab;aj.width=ae;aj.height=ag;var am={};if(ad&&typeof ad===r){for(var ak in ad){am[ak]=ad[ak]}}if(Z&&typeof Z===r){for(var ai in Z){if(typeof am.flashvars!=D){am.flashvars+="&"+ai+"="+Z[ai]}else{am.flashvars=ai+"="+Z[ai]}}}if(F(Y)){var an=u(aj,am,ah);if(aj.id==ah){w(ah,true)}X.success=true;X.ref=an}else{if(aa&&A()){aj.data=aa;P(aj,am,ah,ac);return}else{w(ah,true)}}if(ac){ac(X)}})}else{if(ac){ac(X)}}},switchOffAutoHideShow:function(){m=false},ua:M,getFlashPlayerVersion:function(){return{major:M.pv[0],minor:M.pv[1],release:M.pv[2]}},hasFlashPlayerVersion:F,createSWF:function(Z,Y,X){if(M.w3){return u(Z,Y,X)}else{return undefined}},showExpressInstall:function(Z,aa,X,Y){if(M.w3&&A()){P(Z,aa,X,Y)}},removeSWF:function(X){if(M.w3){y(X)}},createCSS:function(aa,Z,Y,X){if(M.w3){v(aa,Z,Y,X)}},addDomLoadEvent:K,addLoadEvent:s,getQueryParamValue:function(aa){var Z=j.location.search||j.location.hash;if(Z){if(/\?/.test(Z)){Z=Z.split("?")[1]}if(aa==null){return L(Z)}var Y=Z.split("&");for(var X=0;X<Y.length;X++){if(Y[X].substring(0,Y[X].indexOf("="))==aa){return L(Y[X].substring((Y[X].indexOf("=")+1)))}}}return""},expressInstallCallback:function(){if(a){var X=c(R);if(X&&l){X.parentNode.replaceChild(l,X);if(Q){w(Q,true);if(M.ie&&M.win){l.style.display="block"}}if(E){E(B)}}a=false}}}}();
/* Modernizr 2.8.3 (Custom Build) | MIT & BSD
* Build: http://modernizr.com/download/#-touch-shiv-teststyles-prefixes-load
*/
;window.Modernizr=function(a,b,c){function v(a){i.cssText=a}function w(a,b){return v(l.join(a+";")+(b||""))}function x(a,b){return typeof a===b}function y(a,b){return!!~(""+a).indexOf(b)}function z(a,b,d){for(var e in a){var f=b[a[e]];if(f!==c)return d===!1?a[e]:x(f,"function")?f.bind(d||b):f}return!1}var d="2.8.3",e={},f=b.documentElement,g="modernizr",h=b.createElement(g),i=h.style,j,k={}.toString,l=" -webkit- -moz- -o- -ms- ".split(" "),m={},n={},o={},p=[],q=p.slice,r,s=function(a,c,d,e){var h,i,j,k,l=b.createElement("div"),m=b.body,n=m||b.createElement("body");if(parseInt(d,10))while(d--)j=b.createElement("div"),j.id=e?e[d]:g+(d+1),l.appendChild(j);return h=["&#173;",'<style id="s',g,'">',a,"</style>"].join(""),l.id=g,(m?l:n).innerHTML+=h,n.appendChild(l),m||(n.style.background="",n.style.overflow="hidden",k=f.style.overflow,f.style.overflow="hidden",f.appendChild(n)),i=c(l,a),m?l.parentNode.removeChild(l):(n.parentNode.removeChild(n),f.style.overflow=k),!!i},t={}.hasOwnProperty,u;!x(t,"undefined")&&!x(t.call,"undefined")?u=function(a,b){return t.call(a,b)}:u=function(a,b){return b in a&&x(a.constructor.prototype[b],"undefined")},Function.prototype.bind||(Function.prototype.bind=function(b){var c=this;if(typeof c!="function")throw new TypeError;var d=q.call(arguments,1),e=function(){if(this instanceof e){var a=function(){};a.prototype=c.prototype;var f=new a,g=c.apply(f,d.concat(q.call(arguments)));return Object(g)===g?g:f}return c.apply(b,d.concat(q.call(arguments)))};return e}),m.touch=function(){var c;return"ontouchstart"in a||a.DocumentTouch&&b instanceof DocumentTouch?c=!0:s(["@media (",l.join("touch-enabled),("),g,")","{#modernizr{top:9px;position:absolute}}"].join(""),function(a){c=a.offsetTop===9}),c};for(var A in m)u(m,A)&&(r=A.toLowerCase(),e[r]=m[A](),p.push((e[r]?"":"no-")+r));return e.addTest=function(a,b){if(typeof a=="object")for(var d in a)u(a,d)&&e.addTest(d,a[d]);else{a=a.toLowerCase();if(e[a]!==c)return e;b=typeof b=="function"?b():b,typeof enableClasses!="undefined"&&enableClasses&&(f.className+=" "+(b?"":"no-")+a),e[a]=b}return e},v(""),h=j=null,function(a,b){function l(a,b){var c=a.createElement("p"),d=a.getElementsByTagName("head")[0]||a.documentElement;return c.innerHTML="x<style>"+b+"</style>",d.insertBefore(c.lastChild,d.firstChild)}function m(){var a=s.elements;return typeof a=="string"?a.split(" "):a}function n(a){var b=j[a[h]];return b||(b={},i++,a[h]=i,j[i]=b),b}function o(a,c,d){c||(c=b);if(k)return c.createElement(a);d||(d=n(c));var g;return d.cache[a]?g=d.cache[a].cloneNode():f.test(a)?g=(d.cache[a]=d.createElem(a)).cloneNode():g=d.createElem(a),g.canHaveChildren&&!e.test(a)&&!g.tagUrn?d.frag.appendChild(g):g}function p(a,c){a||(a=b);if(k)return a.createDocumentFragment();c=c||n(a);var d=c.frag.cloneNode(),e=0,f=m(),g=f.length;for(;e<g;e++)d.createElement(f[e]);return d}function q(a,b){b.cache||(b.cache={},b.createElem=a.createElement,b.createFrag=a.createDocumentFragment,b.frag=b.createFrag()),a.createElement=function(c){return s.shivMethods?o(c,a,b):b.createElem(c)},a.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+m().join().replace(/[\w\-]+/g,function(a){return b.createElem(a),b.frag.createElement(a),'c("'+a+'")'})+");return n}")(s,b.frag)}function r(a){a||(a=b);var c=n(a);return s.shivCSS&&!g&&!c.hasCSS&&(c.hasCSS=!!l(a,"article,aside,dialog,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}mark{background:#FF0;color:#000}template{display:none}")),k||q(a,c),a}var c="3.7.0",d=a.html5||{},e=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,f=/^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i,g,h="_html5shiv",i=0,j={},k;(function(){try{var a=b.createElement("a");a.innerHTML="<xyz></xyz>",g="hidden"in a,k=a.childNodes.length==1||function(){b.createElement("a");var a=b.createDocumentFragment();return typeof a.cloneNode=="undefined"||typeof a.createDocumentFragment=="undefined"||typeof a.createElement=="undefined"}()}catch(c){g=!0,k=!0}})();var s={elements:d.elements||"abbr article aside audio bdi canvas data datalist details dialog figcaption figure footer header hgroup main mark meter nav output progress section summary template time video",version:c,shivCSS:d.shivCSS!==!1,supportsUnknownElements:k,shivMethods:d.shivMethods!==!1,type:"default",shivDocument:r,createElement:o,createDocumentFragment:p};a.html5=s,r(b)}(this,b),e._version=d,e._prefixes=l,e.testStyles=s,e}(this,this.document),function(a,b,c){function d(a){return"[object Function]"==o.call(a)}function e(a){return"string"==typeof a}function f(){}function g(a){return!a||"loaded"==a||"complete"==a||"uninitialized"==a}function h(){var a=p.shift();q=1,a?a.t?m(function(){("c"==a.t?B.injectCss:B.injectJs)(a.s,0,a.a,a.x,a.e,1)},0):(a(),h()):q=0}function i(a,c,d,e,f,i,j){function k(b){if(!o&&g(l.readyState)&&(u.r=o=1,!q&&h(),l.onload=l.onreadystatechange=null,b)){"img"!=a&&m(function(){t.removeChild(l)},50);for(var d in y[c])y[c].hasOwnProperty(d)&&y[c][d].onload()}}var j=j||B.errorTimeout,l=b.createElement(a),o=0,r=0,u={t:d,s:c,e:f,a:i,x:j};1===y[c]&&(r=1,y[c]=[]),"object"==a?l.data=c:(l.src=c,l.type=a),l.width=l.height="0",l.onerror=l.onload=l.onreadystatechange=function(){k.call(this,r)},p.splice(e,0,u),"img"!=a&&(r||2===y[c]?(t.insertBefore(l,s?null:n),m(k,j)):y[c].push(l))}function j(a,b,c,d,f){return q=0,b=b||"j",e(a)?i("c"==b?v:u,a,b,this.i++,c,d,f):(p.splice(this.i++,0,a),1==p.length&&h()),this}function k(){var a=B;return a.loader={load:j,i:0},a}var l=b.documentElement,m=a.setTimeout,n=b.getElementsByTagName("script")[0],o={}.toString,p=[],q=0,r="MozAppearance"in l.style,s=r&&!!b.createRange().compareNode,t=s?l:n.parentNode,l=a.opera&&"[object Opera]"==o.call(a.opera),l=!!b.attachEvent&&!l,u=r?"object":l?"script":"img",v=l?"script":u,w=Array.isArray||function(a){return"[object Array]"==o.call(a)},x=[],y={},z={timeout:function(a,b){return b.length&&(a.timeout=b[0]),a}},A,B;B=function(a){function b(a){var a=a.split("!"),b=x.length,c=a.pop(),d=a.length,c={url:c,origUrl:c,prefixes:a},e,f,g;for(f=0;f<d;f++)g=a[f].split("="),(e=z[g.shift()])&&(c=e(c,g));for(f=0;f<b;f++)c=x[f](c);return c}function g(a,e,f,g,h){var i=b(a),j=i.autoCallback;i.url.split(".").pop().split("?").shift(),i.bypass||(e&&(e=d(e)?e:e[a]||e[g]||e[a.split("/").pop().split("?")[0]]),i.instead?i.instead(a,e,f,g,h):(y[i.url]?i.noexec=!0:y[i.url]=1,f.load(i.url,i.forceCSS||!i.forceJS&&"css"==i.url.split(".").pop().split("?").shift()?"c":c,i.noexec,i.attrs,i.timeout),(d(e)||d(j))&&f.load(function(){k(),e&&e(i.origUrl,h,g),j&&j(i.origUrl,h,g),y[i.url]=2})))}function h(a,b){function c(a,c){if(a){if(e(a))c||(j=function(){var a=[].slice.call(arguments);k.apply(this,a),l()}),g(a,j,b,0,h);else if(Object(a)===a)for(n in m=function(){var b=0,c;for(c in a)a.hasOwnProperty(c)&&b++;return b}(),a)a.hasOwnProperty(n)&&(!c&&!--m&&(d(j)?j=function(){var a=[].slice.call(arguments);k.apply(this,a),l()}:j[n]=function(a){return function(){var b=[].slice.call(arguments);a&&a.apply(this,b),l()}}(k[n])),g(a[n],j,b,n,h))}else!c&&l()}var h=!!a.test,i=a.load||a.both,j=a.callback||f,k=j,l=a.complete||f,m,n;c(h?a.yep:a.nope,!!i),i&&c(i)}var i,j,l=this.yepnope.loader;if(e(a))g(a,0,l,0);else if(w(a))for(i=0;i<a.length;i++)j=a[i],e(j)?g(j,0,l,0):w(j)?B(j):Object(j)===j&&h(j,l);else Object(a)===a&&h(a,l)},B.addPrefix=function(a,b){z[a]=b},B.addFilter=function(a){x.push(a)},B.errorTimeout=1e4,null==b.readyState&&b.addEventListener&&(b.readyState="loading",b.addEventListener("DOMContentLoaded",A=function(){b.removeEventListener("DOMContentLoaded",A,0),b.readyState="complete"},0)),a.yepnope=k(),a.yepnope.executeStack=h,a.yepnope.injectJs=function(a,c,d,e,i,j){var k=b.createElement("script"),l,o,e=e||B.errorTimeout;k.src=a;for(o in d)k.setAttribute(o,d[o]);c=j?h:c||f,k.onreadystatechange=k.onload=function(){!l&&g(k.readyState)&&(l=1,c(),k.onload=k.onreadystatechange=null)},m(function(){l||(l=1,c(1))},e),i?k.onload():n.parentNode.insertBefore(k,n)},a.yepnope.injectCss=function(a,c,d,e,g,i){var e=b.createElement("link"),j,c=i?h:c||f;e.href=a,e.rel="stylesheet",e.type="text/css";for(j in d)e.setAttribute(j,d[j]);g||(n.parentNode.insertBefore(e,n),m(c,0))}}(this,document),Modernizr.load=function(){yepnope.apply(window,[].slice.call(arguments,0))};
/*
Copyright (C) 2011 by Yehuda Katz
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/
var Handlebars={};(function(a,b){a.VERSION="1.0.0",a.COMPILER_REVISION=4,a.REVISION_CHANGES={1:"<= 1.0.rc.2",2:"== 1.0.0-rc.3",3:"== 1.0.0-rc.4",4:">= 1.0.0"},a.helpers={},a.partials={};var c=Object.prototype.toString,d="[object Function]",e="[object Object]";a.registerHelper=function(b,d,f){if(c.call(b)===e){if(f||d)throw new a.Exception("Arg not supported with multiple helpers");a.Utils.extend(this.helpers,b)}else f&&(d.not=f),this.helpers[b]=d},a.registerPartial=function(b,d){c.call(b)===e?a.Utils.extend(this.partials,b):this.partials[b]=d},a.registerHelper("helperMissing",function(a){if(2===arguments.length)return b;throw Error("Missing helper: '"+a+"'")}),a.registerHelper("blockHelperMissing",function(b,e){var f=e.inverse||function(){},g=e.fn,h=c.call(b);return h===d&&(b=b.call(this)),b===!0?g(this):b===!1||null==b?f(this):"[object Array]"===h?b.length>0?a.helpers.each(b,e):f(this):g(b)}),a.K=function(){},a.createFrame=Object.create||function(b){a.K.prototype=b;var c=new a.K;return a.K.prototype=null,c},a.logger={DEBUG:0,INFO:1,WARN:2,ERROR:3,level:3,methodMap:{0:"debug",1:"info",2:"warn",3:"error"},log:function(b,c){if(b>=a.logger.level){var d=a.logger.methodMap[b];"undefined"!=typeof console&&console[d]&&console[d].call(console,c)}}},a.log=function(b,c){a.logger.log(b,c)},a.registerHelper("each",function(b,e){var j,f=e.fn,g=e.inverse,h=0,i="",k=c.call(b);if(k===d&&(b=b.call(this)),e.data&&(j=a.createFrame(e.data)),b&&"object"==typeof b)if(b instanceof Array)for(var l=b.length;l>h;h++)j&&(j.index=h),i+=f(b[h],{data:j});else for(var m in b)b.hasOwnProperty(m)&&(j&&(j.key=m),i+=f(b[m],{data:j}),h++);return 0===h&&(i=g(this)),i}),a.registerHelper("if",function(b,e){var f=c.call(b);return f===d&&(b=b.call(this)),!b||a.Utils.isEmpty(b)?e.inverse(this):e.fn(this)}),a.registerHelper("unless",function(b,c){return a.helpers["if"].call(this,b,{fn:c.inverse,inverse:c.fn})}),a.registerHelper("with",function(e,f){var g=c.call(e);return g===d&&(e=e.call(this)),a.Utils.isEmpty(e)?b:f.fn(e)}),a.registerHelper("log",function(b,c){var d=c.data&&null!=c.data.level?parseInt(c.data.level,10):1;a.log(d,b)});var f=["description","fileName","lineNumber","message","name","number","stack"];a.Exception=function(){for(var b=Error.prototype.constructor.apply(this,arguments),c=0;f.length>c;c++)this[f[c]]=b[f[c]]},a.Exception.prototype=Error(),a.SafeString=function(a){this.string=a},a.SafeString.prototype.toString=function(){return""+this.string};var g={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;"},h=/[&<>"'`]/g,i=/[&<>"'`]/,j=function(a){return g[a]||"&amp;"};a.Utils={extend:function(a,b){for(var c in b)b.hasOwnProperty(c)&&(a[c]=b[c])},escapeExpression:function(b){return b instanceof a.SafeString?""+b:null==b||b===!1?"":(b=""+b,i.test(b)?b.replace(h,j):b)},isEmpty:function(a){return a||0===a?"[object Array]"===c.call(a)&&0===a.length?!0:!1:!0}},a.VM={template:function(b){var c={escapeExpression:a.Utils.escapeExpression,invokePartial:a.VM.invokePartial,programs:[],program:function(b,c,d){var e=this.programs[b];return d?e=a.VM.program(b,c,d):e||(e=this.programs[b]=a.VM.program(b,c)),e},merge:function(b,c){var d=b||c;return b&&c&&(d={},a.Utils.extend(d,c),a.Utils.extend(d,b)),d},programWithDepth:a.VM.programWithDepth,noop:a.VM.noop,compilerInfo:null};return function(d,e){e=e||{};var f=b.call(c,a,d,e.helpers,e.partials,e.data),g=c.compilerInfo||[],h=g[0]||1,i=a.COMPILER_REVISION;if(h!==i){if(i>h){var j=a.REVISION_CHANGES[i],k=a.REVISION_CHANGES[h];throw"Template was precompiled with an older version of Handlebars than the current runtime. Please update your precompiler to a newer version ("+j+") or downgrade your runtime to an older version ("+k+")."}throw"Template was precompiled with a newer version of Handlebars than the current runtime. Please update your runtime to a newer version ("+g[1]+")."}return f}},programWithDepth:function(a,b,c){var d=Array.prototype.slice.call(arguments,3),e=function(a,e){return e=e||{},b.apply(this,[a,e.data||c].concat(d))};return e.program=a,e.depth=d.length,e},program:function(a,b,c){var d=function(a,d){return d=d||{},b(a,d.data||c)};return d.program=a,d.depth=0,d},noop:function(){return""},invokePartial:function(c,d,e,f,g,h){var i={helpers:f,partials:g,data:h};if(c===b)throw new a.Exception("The partial "+d+" could not be found");if(c instanceof Function)return c(e,i);if(a.compile)return g[d]=a.compile(c,{data:h!==b}),g[d](e,i);throw new a.Exception("The partial "+d+" could not be compiled when running in runtime-only mode")}},a.template=a.VM.template})(Handlebars);
/*
http://www.JSON.org/json2.js
2010-03-20
Public Domain.
NO WARRANTY EXPRESSED OR IMPLIED. USE AT YOUR OWN RISK.
*/
this.JSON||(this.JSON={}),function(){function f(a){return 10>a?"0"+a:a}function quote(a){return escapable.lastIndex=0,escapable.test(a)?'"'+a.replace(escapable,function(a){var b=meta[a];return"string"==typeof b?b:"\\u"+("0000"+a.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+a+'"'}function str(a,b){var c,d,e,f,h,g=gap,i=b[a];switch(i&&"object"==typeof i&&"function"==typeof i.toJSON&&(i=i.toJSON(a)),"function"==typeof rep&&(i=rep.call(b,a,i)),typeof i){case"string":return quote(i);case"number":return isFinite(i)?i+"":"null";case"boolean":case"null":return i+"";case"object":if(!i)return"null";if(gap+=indent,h=[],"[object Array]"===Object.prototype.toString.apply(i)){for(f=i.length,c=0;f>c;c+=1)h[c]=str(c,i)||"null";return e=0===h.length?"[]":gap?"[\n"+gap+h.join(",\n"+gap)+"\n"+g+"]":"["+h.join(",")+"]",gap=g,e}if(rep&&"object"==typeof rep)for(f=rep.length,c=0;f>c;c+=1)d=rep[c],"string"==typeof d&&(e=str(d,i),e&&h.push(quote(d)+(gap?": ":":")+e));else for(d in i)Object.hasOwnProperty.call(i,d)&&(e=str(d,i),e&&h.push(quote(d)+(gap?": ":":")+e));return e=0===h.length?"{}":gap?"{\n"+gap+h.join(",\n"+gap)+"\n"+g+"}":"{"+h.join(",")+"}",gap=g,e}}"function"!=typeof Date.prototype.toJSON&&(Date.prototype.toJSON=function(){return isFinite(this.valueOf())?this.getUTCFullYear()+"-"+f(this.getUTCMonth()+1)+"-"+f(this.getUTCDate())+"T"+f(this.getUTCHours())+":"+f(this.getUTCMinutes())+":"+f(this.getUTCSeconds())+"Z":null},String.prototype.toJSON=Number.prototype.toJSON=Boolean.prototype.toJSON=function(){return this.valueOf()});var cx=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,escapable=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,gap,indent,meta={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},rep;"function"!=typeof JSON.stringify&&(JSON.stringify=function(a,b,c){var d;if(gap="",indent="","number"==typeof c)for(d=0;c>d;d+=1)indent+=" ";else"string"==typeof c&&(indent=c);if(rep=b,b&&"function"!=typeof b&&("object"!=typeof b||"number"!=typeof b.length))throw Error("JSON.stringify");return str("",{"":a})}),"function"!=typeof JSON.parse&&(JSON.parse=function(text,reviver){function walk(a,b){var c,d,e=a[b];if(e&&"object"==typeof e)for(c in e)Object.hasOwnProperty.call(e,c)&&(d=walk(e,c),void 0!==d?e[c]=d:delete e[c]);return reviver.call(a,b,e)}var j;if(text+="",cx.lastIndex=0,cx.test(text)&&(text=text.replace(cx,function(a){return"\\u"+("0000"+a.charCodeAt(0).toString(16)).slice(-4)})),/^[\],:{}\s]*$/.test(text.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:\s*\[)+/g,"")))return j=eval("("+text+")"),"function"==typeof reviver?walk({"":j},""):j;throw new SyntaxError("JSON.parse")})}();
var HANDJS=HANDJS||{};(function(){function E(){b=true;clearTimeout(w);w=setTimeout(function(){b=false},700)}function S(e){var t=[];if(e){t.unshift(e);while(e.parentNode){t.unshift(e.parentNode);e=e.parentNode}}return t}function x(e,t){var n=S(e);var r=S(t);var i=null;while(n.length>0&&n[0]==r.shift())i=n.shift();return i}function T(e,t,n){var r=x(e,t);var i=e;var s=[];while(i&&i!=r){if(l(i,"pointerenter"))s.push(i);i=i.parentNode}while(s.length>0)n(s.pop())}function N(e,t,n){var r=x(e,t);var i=e;while(i&&i!=r){if(l(i,"pointerleave"))n(i);i=i.parentNode}}function C(e,t){["pointerdown","pointermove","pointerup","pointerover","pointerout"].forEach(function(n){window.addEventListener(e(n),function(e){if(!b&&c(e.target,n))t(e,n,true)})});if(window["on"+e("pointerenter").toLowerCase()]===undefined)window.addEventListener(e("pointerover"),function(e){if(b)return;var n=c(e.target,"pointerenter");if(!n||n===window)return;else if(!n.contains(e.relatedTarget)){T(n,e.relatedTarget,function(n){t(e,"pointerenter",false,n,e.relatedTarget)})}});if(window["on"+e("pointerleave").toLowerCase()]===undefined)window.addEventListener(e("pointerout"),function(e){if(b)return;var n=c(e.target,"pointerleave");if(!n||n===window)return;else if(!n.contains(e.relatedTarget)){N(n,e.relatedTarget,function(n){t(e,"pointerleave",false,n,e.relatedTarget)})}})}if(window.PointerEvent)return;if(!Array.prototype.indexOf){Array.prototype.indexOf=function(e){var t=Object(this);var n=t.length>>>0;if(n===0){return-1}var r=0;if(arguments.length>0){r=Number(arguments[1]);if(r!=r){r=0}else if(r!=0&&r!=Infinity&&r!=-Infinity){r=(r>0||-1)*Math.floor(Math.abs(r))}}if(r>=n){return-1}var i=r>=0?r:Math.max(n-Math.abs(r),0);for(;i<n;i++){if(i in t&&t[i]===e){return i}}return-1}}if(!Array.prototype.forEach){Array.prototype.forEach=function(e,t){if(!this||!(e instanceof Function))throw new TypeError;for(var n=0;n<this.length;n++)e.call(t,this[n],n,this)}}if(!String.prototype.trim){String.prototype.trim=function(){return this.replace(/^\s+|\s+$/,"")}}var e=["pointerdown","pointerup","pointermove","pointerover","pointerout","pointercancel","pointerenter","pointerleave"];var t=["PointerDown","PointerUp","PointerMove","PointerOver","PointerOut","PointerCancel","PointerEnter","PointerLeave"];var n="touch";var r="pen";var i="mouse";var s={};var o=function(e){while(e&&!e.handjs_forcePreventDefault){e=e.parentNode}return!!e||window.handjs_forcePreventDefault};var u=function(e,t,s,o,u){var a;if(document.createEvent){a=document.createEvent("MouseEvents");a.initMouseEvent(t,s,true,window,1,e.screenX,e.screenY,e.clientX,e.clientY,e.ctrlKey,e.altKey,e.shiftKey,e.metaKey,e.button,u||e.relatedTarget)}else{a=document.createEventObject();a.screenX=e.screenX;a.screenY=e.screenY;a.clientX=e.clientX;a.clientY=e.clientY;a.ctrlKey=e.ctrlKey;a.altKey=e.altKey;a.shiftKey=e.shiftKey;a.metaKey=e.metaKey;a.button=e.button;a.relatedTarget=u||e.relatedTarget}if(a.offsetX===undefined){if(e.offsetX!==undefined){if(Object&&Object.defineProperty!==undefined){Object.defineProperty(a,"offsetX",{writable:true});Object.defineProperty(a,"offsetY",{writable:true})}a.offsetX=e.offsetX;a.offsetY=e.offsetY}else if(Object&&Object.defineProperty!==undefined){Object.defineProperty(a,"offsetX",{get:function(){if(this.currentTarget&&this.currentTarget.offsetLeft){return e.clientX-this.currentTarget.offsetLeft}return e.clientX}});Object.defineProperty(a,"offsetY",{get:function(){if(this.currentTarget&&this.currentTarget.offsetTop){return e.clientY-this.currentTarget.offsetTop}return e.clientY}})}else if(e.layerX!==undefined){a.offsetX=e.layerX-e.currentTarget.offsetLeft;a.offsetY=e.layerY-e.currentTarget.offsetTop}}if(e.isPrimary!==undefined)a.isPrimary=e.isPrimary;else a.isPrimary=true;if(e.pressure)a.pressure=e.pressure;else{var f=0;if(e.which!==undefined)f=e.which;else if(e.button!==undefined){f=e.button}a.pressure=f==0?0:.5}if(e.rotation)a.rotation=e.rotation;else a.rotation=0;if(e.hwTimestamp)a.hwTimestamp=e.hwTimestamp;else a.hwTimestamp=0;if(e.tiltX)a.tiltX=e.tiltX;else a.tiltX=0;if(e.tiltY)a.tiltY=e.tiltY;else a.tiltY=0;if(e.height)a.height=e.height;else a.height=0;if(e.width)a.width=e.width;else a.width=0;a.preventDefault=function(){if(e.preventDefault!==undefined)e.preventDefault()};if(a.stopPropagation!==undefined){var l=a.stopPropagation;a.stopPropagation=function(){if(e.stopPropagation!==undefined)e.stopPropagation();l.call(this)}}a.pointerId=e.pointerId;a.pointerType=e.pointerType;switch(a.pointerType){case 2:a.pointerType=n;break;case 3:a.pointerType=r;break;case 4:a.pointerType=i;break}if(o)o.dispatchEvent(a);else if(e.target){e.target.dispatchEvent(a)}else{e.srcElement.fireEvent("on"+p(t),a)}};var a=function(e,t,n,r,s){e.pointerId=1;e.pointerType=i;u(e,t,n,r,s)};var f=function(e,t,r,i,s,o){var a=t.identifier+2;t.pointerId=a;t.pointerType=n;t.currentTarget=r;if(i.preventDefault!==undefined){t.preventDefault=function(){i.preventDefault()}}u(t,e,s,r,o)};var l=function(e,t){return e.__handjsGlobalRegisteredEvents&&e.__handjsGlobalRegisteredEvents[t]};var c=function(e,t){while(e&&!l(e,t))e=e.parentNode;if(e)return e;else if(l(window,t))return window};var h=function(e,t,n,r,i,s){if(c(n,e)){f(e,t,n,r,i,s)}};var p=function(e){return e.toLowerCase().replace("pointer","mouse")};var d=function(n,r){var i=e.indexOf(r);var s=n+t[i];return s};var v=function(e,t,n,r){if(e.__handjsRegisteredEvents===undefined){e.__handjsRegisteredEvents=[]}if(r){if(e.__handjsRegisteredEvents[t]!==undefined){e.__handjsRegisteredEvents[t]++;return}e.__handjsRegisteredEvents[t]=1;e.addEventListener(t,n,false)}else{if(e.__handjsRegisteredEvents.indexOf(t)!==-1){e.__handjsRegisteredEvents[t]--;if(e.__handjsRegisteredEvents[t]!=0){return}}e.removeEventListener(t,n);e.__handjsRegisteredEvents[t]=0}};var m=function(e,t,n){if(!e.__handjsGlobalRegisteredEvents){e.__handjsGlobalRegisteredEvents=[]}if(n){if(e.__handjsGlobalRegisteredEvents[t]!==undefined){e.__handjsGlobalRegisteredEvents[t]++;return}e.__handjsGlobalRegisteredEvents[t]=1}else{if(e.__handjsGlobalRegisteredEvents[t]!==undefined){e.__handjsGlobalRegisteredEvents[t]--;if(e.__handjsGlobalRegisteredEvents[t]<0){e.__handjsGlobalRegisteredEvents[t]=0}}}var r;var i;if(window.MSPointerEvent){r=function(e){return d("MS",e)};i=u}else{r=p;i=a}switch(t){case"pointerenter":case"pointerleave":var s=r(t);if(e["on"+s.toLowerCase()]!==undefined){v(e,s,function(e){i(e,t)},n)}break}};var g=function(t){var n=t.prototype?t.prototype.addEventListener:t.addEventListener;var r=function(t,r,i){if(e.indexOf(t)!=-1){m(this,t,true)}if(n===undefined){this.attachEvent("on"+p(t),r)}else{n.call(this,t,r,i)}};if(t.prototype){t.prototype.addEventListener=r}else{t.addEventListener=r}};var y=function(t){var n=t.prototype?t.prototype.removeEventListener:t.removeEventListener;var r=function(t,r,i){if(e.indexOf(t)!=-1){m(this,t,false)}if(n===undefined){this.detachEvent(p(t),r)}else{n.call(this,t,r,i)}};if(t.prototype){t.prototype.removeEventListener=r}else{t.removeEventListener=r}};g(window);g(window.HTMLElement||window.Element);g(document);g(HTMLBodyElement);g(HTMLDivElement);g(HTMLImageElement);g(HTMLUListElement);g(HTMLAnchorElement);g(HTMLLIElement);g(HTMLTableElement);if(window.HTMLSpanElement){g(HTMLSpanElement)}if(window.HTMLCanvasElement){g(HTMLCanvasElement)}if(window.SVGElement){g(SVGElement)}y(window);y(window.HTMLElement||window.Element);y(document);y(HTMLBodyElement);y(HTMLDivElement);y(HTMLImageElement);y(HTMLUListElement);y(HTMLAnchorElement);y(HTMLLIElement);y(HTMLTableElement);if(window.HTMLSpanElement){y(HTMLSpanElement)}if(window.HTMLCanvasElement){y(HTMLCanvasElement)}if(window.SVGElement){y(SVGElement)}var b=false;var w=-1;(function(){if(window.MSPointerEvent){C(function(e){return d("MS",e)},u)}else{C(p,a);if(window.ontouchstart!==undefined){window.addEventListener("touchstart",function(e){for(var t=0;t<e.changedTouches.length;++t){var n=e.changedTouches[t];s[n.identifier]=n.target;h("pointerover",n,n.target,e,true);T(n.target,null,function(t){f("pointerenter",n,t,e,false)});h("pointerdown",n,n.target,e,true)}E()});window.addEventListener("touchend",function(e){for(var t=0;t<e.changedTouches.length;++t){var n=e.changedTouches[t];var r=s[n.identifier];h("pointerup",n,r,e,true);h("pointerout",n,r,e,true);N(r,null,function(t){f("pointerleave",n,t,e,false)})}E()});window.addEventListener("touchmove",function(e){for(var t=0;t<e.changedTouches.length;++t){var n=e.changedTouches[t];var r=document.elementFromPoint(n.clientX,n.clientY);var i=s[n.identifier];if(i&&o(i)===true)e.preventDefault();h("pointermove",n,i,e,true);if(i===r){continue}if(i){h("pointerout",n,i,e,true,r);if(!i.contains(r)){N(i,r,function(t){f("pointerleave",n,t,e,false,r)})}}if(r){h("pointerover",n,r,e,true,i);if(!r.contains(i)){T(r,i,function(t){f("pointerenter",n,t,e,false,i)})}}s[n.identifier]=r}E()});window.addEventListener("touchcancel",function(e){for(var t=0;t<e.changedTouches.length;++t){var n=e.changedTouches[t];h("pointercancel",n,s[n.identifier],e,true)}})}}})();if(navigator.pointerEnabled===undefined){navigator.pointerEnabled=true;if(navigator.msPointerEnabled){navigator.maxTouchPoints=navigator.msMaxTouchPoints}}if(document.styleSheets&&document.addEventListener){document.addEventListener("DOMContentLoaded",function(){if(HANDJS.doNotProcessCSS||document.body.style.touchAction!==undefined){return}var e=new RegExp(".+?{.*?}","m");var t=new RegExp(".+?{","m");var n=function(n){var r=e.exec(n);if(!r){return}var i=r[0];n=n.replace(i,"").trim();var s=t.exec(i)[0].replace("{","").trim();if(i.replace(/\s/g,"").indexOf("touch-action:none")!=-1){var o=document.querySelectorAll(s);for(var u=0;u<o.length;u++){var a=o[u];if(a.style.msTouchAction!==undefined){a.style.msTouchAction="none"}else{a.handjs_forcePreventDefault=true}}}return n};var r=function(e){if(window.setImmediate){if(e)setImmediate(r,n(e))}else{while(e){e=n(e)}}};try{for(var i=0;i<document.styleSheets.length;i++){var s=document.styleSheets[i];if(s.href==undefined){continue}var o=new XMLHttpRequest;o.open("get",s.href);o.send();var u=o.responseText.replace(/(\n|\r)/g,"");r(u)}}catch(a){}var f=document.getElementsByTagName("style");for(var i=0;i<f.length;i++){var l=f[i];var c=l.innerHTML.replace(/(\n|\r)/g,"").trim();r(c)}},false)}})();
(function(e,t){e.TSC=e.TSC||{},e.TSC.log=function(){function e(e,n){var i=t.inArray(n,e);return-1!=i?(e.splice(i,1),!0):!1}var n=[],i=[];return{logException:function(e){t.each(n,function(t,n){n(Error(e))})},logMessage:function(e){t.each(i,function(t,n){n(e)})},addEventListener:function(e,t){if(!t||"function"!=typeof t)throw Error("log.js: addEventListener() Listener argument was not a function");if("EXCEPTION"===e)n.push(t);else{if("MESSAGE"!==e)throw Error("log.js: addEventListener() Type argument was not EXCEPTION or MESSAGE");i.push(t)}},removeEventListener:function(t,a){var r=function(){throw Error("log.js: removeEventListener() "+a+" was not found within the "+t+" callbacks.")};if("EXCEPTION"===t)e(n,a)||r();else{if("MESSAGE"!==t)throw Error("log.js: removeEventListener() Type argument was not EXCEPTION or MESSAGE");e(i,a)||r()}},removeAllEventListeners:function(){n=[],i=[]}}}()})(this,jQuery),this.TSC=this.TSC||{},this.TSC.templates=this.TSC.templates||{},this.TSC.templates.choice_answer_template=Handlebars.template(function(e,t,n,i,a){function r(e,t,i){var a,r,s="";return s+='\r\n <label class="tsc_multiple_choice active_quiz_item"><img src=\''+l((a=i&&i.placeHolderImg,typeof a===c?a.apply(e):a))+'\' class=\'image_feedback feedback_placeholder\' /><input type="radio" name="tsc_multiple_choice" value="',(r=n.answerIndex)?a=r.call(e,{hash:{},data:t}):(r=e&&e.answerIndex,a=typeof r===c?r.call(e,{hash:{},data:t}):r),s+=l(a)+'" tabindex="',(r=n.tabIndex)?a=r.call(e,{hash:{},data:t}):(r=e&&e.tabIndex,a=typeof r===c?r.call(e,{hash:{},data:t}):r),s+=l(a)+'" ',a=n["if"].call(e,e&&e.isChecked,{hash:{},inverse:d.noop,fn:d.program(2,o,t),data:t}),(a||0===a)&&(s+=a),s+=" />",(r=n.answer)?a=r.call(e,{hash:{},data:t}):(r=e&&e.answer,a=typeof r===c?r.call(e,{hash:{},data:t}):r),(a||0===a)&&(s+=a),s+="</label>\r\n "}function o(){return"checked"}this.compilerInfo=[4,">= 1.0.0"],n=this.merge(n,e.helpers),a=a||{};var s,u="",c="function",l=this.escapeExpression,d=this;return u+="<form>\r\n ",s=n.each.call(t,t&&t.answers,{hash:{},inverse:d.noop,fn:d.programWithDepth(1,r,a,t),data:a}),(s||0===s)&&(u+=s),u+="\r\n </form>"}),this.TSC.templates.fill_answer_template=Handlebars.template(function(e,t,n,i,a){function r(){return"autofocus"}this.compilerInfo=[4,">= 1.0.0"],n=this.merge(n,e.helpers),a=a||{};var o,s,u="",c="function",l=this;return u+='<input type="text" id="tsc_text_input" maxlength="140" name="tsc_text_input" value="',(s=n.userResponse)?o=s.call(t,{hash:{},data:a}):(s=t&&t.userResponse,o=typeof s===c?s.call(t,{hash:{},data:a}):s),(o||0===o)&&(u+=o),u+='" ',o=n["if"].call(t,t&&t.useAutofocus,{hash:{},inverse:l.noop,fn:l.program(1,r,a),data:a}),(o||0===o)&&(u+=o),u+=" />\r\n"}),this.TSC.templates.html5_player_template=Handlebars.template(function(e,t,n,i,a){this.compilerInfo=[4,">= 1.0.0"],n=this.merge(n,e.helpers),a=a||{};var r,o,s="",u="function",c=this.escapeExpression;return s+='<div id="videoWrapper" class="videoDimensions hide">\r\n <div id="videoDiv"></div>\r\n <div id="caption" class="hide"><p></p></div>\r\n <div id="youtubePointerEventWorkaround" class="hide"></div>\r\n <div id="hotspots" class="hide">\r\n <img class="hotspots_mapimg" hidefocus="true" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYxIDY0LjE0MDk0OSwgMjAxMC8xMi8wNy0xMDo1NzowMSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNS4xIFdpbmRvd3MiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6QUZFRTQ3RTgzQjlFMTFFMUE1QzU4ODA1ODE4NzA1RTIiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6QUZFRTQ3RTkzQjlFMTFFMUE1QzU4ODA1ODE4NzA1RTIiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDpBRkVFNDdFNjNCOUUxMUUxQTVDNTg4MDU4MTg3MDVFMiIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDpBRkVFNDdFNzNCOUUxMUUxQTVDNTg4MDU4MTg3MDVFMiIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PuQAJiQAAAAXSURBVHjaYvz//z8DOmBiwAIoFAQIMAA2UAMHLJ+dVwAAAABJRU5ErkJggg%3D%3D" usemap="#hotspots" />\r\n <map name="hotspots"></map>\r\n </div>\r\n <div id="videoSidebar">\r\n <div id="videoSidebarHead">\r\n <h6 class="video_title"></h6>\r\n <div id="searchArea">\r\n <input id="searchBox" value="',(o=n.msgSearch)?r=o.call(t,{hash:{},data:a}):(o=t&&t.msgSearch,r=typeof o===u?o.call(t,{hash:{},data:a}):o),s+=c(r)+'" />\r\n <button id="clearSearchButton" name="ClearSearch" type="button" title="',(o=n.accessBtnClearSearch)?r=o.call(t,{hash:{},data:a}):(o=t&&t.accessBtnClearSearch,r=typeof o===u?o.call(t,{hash:{},data:a}):o),s+=c(r)+"\"><span class='sr-only'>",(o=n.accessBtnClearSearch)?r=o.call(t,{hash:{},data:a}):(o=t&&t.accessBtnClearSearch,r=typeof o===u?o.call(t,{hash:{},data:a}):o),s+=c(r)+'</span></button>\r\n </div>\r\n <div id="fsSearchAlert" class="search_disabled_message">\r\n <p>',(o=n.msgSearchIsDisabledInFS)?r=o.call(t,{hash:{},data:a}):(o=t&&t.msgSearchIsDisabledInFS,r=typeof o===u?o.call(t,{hash:{},data:a}):o),s+=c(r)+'</p>\r\n </div>\r\n </div>\r\n <div id="videoSidebarContentWrapper">\r\n <div id="videoSidebarContent">\r\n <ol id="tableOfContentsList">\r\n </ol>\r\n </div>\r\n </div>\r\n </div>\r\n <div id="controls" class="spritesheet sprite_repeat control_backdrop">\r\n <div class="controls_left">\r\n <button id="rewind" type="button" name="Rewind" class="spritesheet rewind_button_normal control_button" title="',(o=n.accessBtnRewind)?r=o.call(t,{hash:{},data:a}):(o=t&&t.accessBtnRewind,r=typeof o===u?o.call(t,{hash:{},data:a}):o),s+=c(r)+"\"><span class='sr-only'>",(o=n.accessBtnRewind)?r=o.call(t,{hash:{},data:a}):(o=t&&t.accessBtnRewind,r=typeof o===u?o.call(t,{hash:{},data:a}):o),s+=c(r)+'</span></button>\r\n <button id="play" type="button" name="Play" class="spritesheet play_button_normal control_button" title="',(o=n.accessBtnPlay)?r=o.call(t,{hash:{},data:a}):(o=t&&t.accessBtnPlay,r=typeof o===u?o.call(t,{hash:{},data:a}):o),s+=c(r)+"\"><span class='sr-only'>",(o=n.accessBtnPlay)?r=o.call(t,{hash:{},data:a}):(o=t&&t.accessBtnPlay,r=typeof o===u?o.call(t,{hash:{},data:a}):o),s+=c(r)+'</span></button>\r\n <button id="previous" type="button" name="Previous" class="spritesheet previous_button_disabled control_button" title="',(o=n.accessBtnPrevious)?r=o.call(t,{hash:{},data:a}):(o=t&&t.accessBtnPrevious,r=typeof o===u?o.call(t,{hash:{},data:a}):o),s+=c(r)+"\"><span class='sr-only'>",(o=n.accessBtnPrevious)?r=o.call(t,{hash:{},data:a}):(o=t&&t.accessBtnPrevious,r=typeof o===u?o.call(t,{hash:{},data:a}):o),s+=c(r)+'</span></button>\r\n <button id="next" type="button" name="Next" class="spritesheet next_button_normal control_button" title="',(o=n.accessBtnNext)?r=o.call(t,{hash:{},data:a}):(o=t&&t.accessBtnNext,r=typeof o===u?o.call(t,{hash:{},data:a}):o),s+=c(r)+"\"><span class='sr-only'>",(o=n.accessBtnNext)?r=o.call(t,{hash:{},data:a}):(o=t&&t.accessBtnNext,r=typeof o===u?o.call(t,{hash:{},data:a}):o),s+=c(r)+'</span></button>\r\n </div>\r\n <div class="controls_right">\r\n <div class="volume_wrapper">\r\n <button id="volume" type="button" name="Volume" class="spritesheet volume_button_normal control_button" title="',(o=n.accessBtnVolume)?r=o.call(t,{hash:{},data:a}):(o=t&&t.accessBtnVolume,r=typeof o===u?o.call(t,{hash:{},data:a}):o),s+=c(r)+"\"><span class='sr-only'>",(o=n.accessBtnVolume)?r=o.call(t,{hash:{},data:a}):(o=t&&t.accessBtnVolume,r=typeof o===u?o.call(t,{hash:{},data:a}):o),s+=c(r)+'</span></button>\r\n <div id="volume_slider_container" class="spritesheet volumebar_backdrop hide">\r\n <div id="volume_slider_vertical"></div>\r\n </div>\r\n </div>\r\n <button id="closedCaptionButton" name="ClosedCaption" type="button" class="spritesheet closed_caption_off_button_normal control_button hide" title="',(o=n.accessBtnClosedCaption)?r=o.call(t,{hash:{},data:a}):(o=t&&t.accessBtnClosedCaption,r=typeof o===u?o.call(t,{hash:{},data:a}):o),s+=c(r)+"\"><span class='sr-only'>",(o=n.accessBtnClosedCaption)?r=o.call(t,{hash:{},data:a}):(o=t&&t.accessBtnClosedCaption,r=typeof o===u?o.call(t,{hash:{},data:a}):o),s+=c(r)+'</span></button>\r\n <button id="tocButton" name="TableOfContents" type="button" class="spritesheet toc_button_normal control_button hide" title="',(o=n.accessBtnTableOfContents)?r=o.call(t,{hash:{},data:a}):(o=t&&t.accessBtnTableOfContents,r=typeof o===u?o.call(t,{hash:{},data:a}):o),s+=c(r)+"\"><span class='sr-only'>",(o=n.accessBtnTableOfContents)?r=o.call(t,{hash:{},data:a}):(o=t&&t.accessBtnTableOfContents,r=typeof o===u?o.call(t,{hash:{},data:a}):o),s+=c(r)+'</span></button>\r\n <button id="settingsButton" name="Settings" type="button" class="spritesheet settings_off_button_normal control_button" title="',(o=n.accessBtnSettings)?r=o.call(t,{hash:{},data:a}):(o=t&&t.accessBtnSettings,r=typeof o===u?o.call(t,{hash:{},data:a}):o),s+=c(r)+"\"><span class='sr-only'>",(o=n.accessBtnSettings)?r=o.call(t,{hash:{},data:a}):(o=t&&t.accessBtnSettings,r=typeof o===u?o.call(t,{hash:{},data:a}):o),s+=c(r)+'</span></button>\r\n <button id="fullscreen_enter_button" name="FullScreen" type="button" class="spritesheet fullscreen_enter_button_normal control_button" title="',(o=n.accessBtnFullScreen)?r=o.call(t,{hash:{},data:a}):(o=t&&t.accessBtnFullScreen,r=typeof o===u?o.call(t,{hash:{},data:a}):o),s+=c(r)+"\"><span class='sr-only'>",(o=n.accessBtnFullScreen)?r=o.call(t,{hash:{},data:a}):(o=t&&t.accessBtnFullScreen,r=typeof o===u?o.call(t,{hash:{},data:a}):o),s+=c(r)+'</span></button>\r\n </div>\r\n <div id="progress">\r\n <div id="play_time"><span id="current_time_display">00:00</span> / <span id="duration_display">00:00</span></div>\r\n <div class="spritesheet seperator"></div>\r\n <div id="progress_box">\r\n <div id="progress_scrubbar_track_left" class="spritesheet scrubbar_track_left"></div>\r\n <div id="progress_scrubbar_track_right" class="spritesheet scrubbar_track_right"></div>\r\n <div id="progress_scrubbar_track">\r\n <div class="spritesheet sprite_repeat scrubbar_track"></div>\r\n <div id="load_progress" class="spritesheet sprite_repeat scrubbar_loaded_track"></div>\r\n <div id="play_progress" class="spritesheet sprite_repeat scrubbar_played_track">\r\n <div id="scrubbar_scrubber" class="spritesheet scrubbar_scrubber_normal"></div>\r\n </div>\r\n <canvas id="markers"></canvas>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n</div>\r\n<div id="alertDialog"></div>\r\n<div id="screenText"></div>\r\n<div id="speechText"></div>\r\n<a id="videoClickToPlayLink">\r\n <div id="videoClickToPlay" class="spritesheet play_button_overlay_normal"></div>\r\n</a>\r\n<a id="videoClickToReplayLink" style="display: none;">\r\n <div id="videoClickToReplay" class="spritesheet replay_button_overlay_normal"></div>\r\n</a>\r\n'}),this.TSC.templates.image_view_template=Handlebars.template(function(e,t,n,i,a){return this.compilerInfo=[4,">= 1.0.0"],n=this.merge(n,e.helpers),a=a||{},'<div id="imageWrapper">\r\n <div id="imageDiv"></div>\r\n</div>'}),this.TSC.templates.io_overlay_view_template=Handlebars.template(function(e,t,n,i,a){this.compilerInfo=[4,">= 1.0.0"],n=this.merge(n,e.helpers),a=a||{};var r,o,s="",u="function",c=this.escapeExpression;return s+='<div id="tsc_io_container"><div id="tsc_io_message"><span>',(o=n.ioMessage)?r=o.call(t,{hash:{},data:a}):(o=t&&t.ioMessage,r=typeof o===u?o.call(t,{hash:{},data:a}):o),(r||0===r)&&(s+=r),s+='</span><img src="',(o=n.loaderImg)?r=o.call(t,{hash:{},data:a}):(o=t&&t.loaderImg,r=typeof o===u?o.call(t,{hash:{},data:a}):o),s+=c(r)+'" /></div></div>'}),this.TSC.templates.ios_app_default_template=Handlebars.template(function(e,t,n,i,a){return this.compilerInfo=[4,">= 1.0.0"],n=this.merge(n,e.helpers),a=a||{},'<div class="externalDefaultPlaybackContainer">\r\n <a href="#" class="externalLargePlayBtn centerAbsoluteElement"></a>\r\n</div>'}),this.TSC.templates.ios_app_slim_splash_template=Handlebars.template(function(e,t,n,i,a){this.compilerInfo=[4,">= 1.0.0"],n=this.merge(n,e.helpers),a=a||{};var r,o,s="",u="function",c=this.escapeExpression;return s+='<div class="appplayer">\r\n <div class="posterFade">\r\n <div class="openVideoSmartPlayerContainer">\r\n <a class="openVideoSmartPlayerButton">',(o=n.openWithSmartPlayer)?r=o.call(t,{hash:{},data:a}):(o=t&&t.openWithSmartPlayer,r=typeof o===u?o.call(t,{hash:{},data:a}):o),s+=c(r)+"</a>\r\n </div>\r\n </div>\r\n</div>"}),this.TSC.templates.ios_app_splash_template=Handlebars.template(function(e,t,n,i,a){this.compilerInfo=[4,">= 1.0.0"],n=this.merge(n,e.helpers),a=a||{};var r,o,s="",u="function",c=this.escapeExpression;return s+='<div class="appplayer">\r\n <div class="posterFade">\r\n <div class="topBrdr"><div class="topBrdrInner"></div></div>\r\n <div class="content">\r\n <h2>',(o=n.playWithSmartPlayer)?r=o.call(t,{hash:{},data:a}):(o=t&&t.playWithSmartPlayer,r=typeof o===u?o.call(t,{hash:{},data:a}):o),s+=c(r)+'</h2>\r\n <a class="externalLargePlayBtn"></a>\r\n <a href="" class="appstoreBtn"></a>\r\n </div>\r\n <a class="appNativePlayBtn">\r\n <div class="appNativePlayBtnText">',(o=n.playVideoOnly)?r=o.call(t,{hash:{},data:a}):(o=t&&t.playVideoOnly,r=typeof o===u?o.call(t,{hash:{},data:a}):o),s+=c(r)+'</div>\r\n </a>\r\n <div class="btmBrdr"><div class="btmBrdrInner"></div></div>\r\n </div>\r\n</div>'}),this.TSC.templates.pre_roll_container_template=Handlebars.template(function(e,t,n,i,a){this.compilerInfo=[4,">= 1.0.0"],n=this.merge(n,e.helpers),a=a||{};var r,o,s="",u="function",c=this.escapeExpression;return s+='<iframe id="pre_roll_container" class="preRoll preRollHidden ',(o=n.preRollSizeClass)?r=o.call(t,{hash:{},data:a}):(o=t&&t.preRollSizeClass,r=typeof o===u?o.call(t,{hash:{},data:a}):o),s+=c(r)+'" src="',(o=n.preRollSrc)?r=o.call(t,{hash:{},data:a}):(o=t&&t.preRollSrc,r=typeof o===u?o.call(t,{hash:{},data:a}):o),s+=c(r)+'" scrolling="no" frameborder="0"></iframe>'}),this.TSC.templates.question_count_template=Handlebars.template(function(e,t,n,i,a){this.compilerInfo=[4,">= 1.0.0"],n=this.merge(n,e.helpers),a=a||{};var r,o,s="",u="function",c=this.escapeExpression;return s+="<span class='tsc_quiz_question_count_current'>",(o=n.currentQuestionNumber)?r=o.call(t,{hash:{},data:a}):(o=t&&t.currentQuestionNumber,r=typeof o===u?o.call(t,{hash:{},data:a}):o),s+=c(r)+"</span><span class='tsc_quiz_question_count_total'>",(o=n.prepositionText)?r=o.call(t,{hash:{},data:a}):(o=t&&t.prepositionText,r=typeof o===u?o.call(t,{hash:{},data:a}):o),s+=c(r)+" ",(o=n.totalQuestions)?r=o.call(t,{hash:{},data:a}):(o=t&&t.totalQuestions,r=typeof o===u?o.call(t,{hash:{},data:a}):o),s+=c(r)+"</span>\r\n"}),this.TSC.templates.question_set_confirmation_template=Handlebars.template(function(e,t,n,i,a){this.compilerInfo=[4,">= 1.0.0"],n=this.merge(n,e.helpers),a=a||{};var r,o,s="",u="function",c=this.escapeExpression;return s+='<div id="tsc_confirmation_container">\r\n <div id="tsc_confirm_control" class="largeButton blueButton">',(o=n.confirmationText)?r=o.call(t,{hash:{},data:a}):(o=t&&t.confirmationText,r=typeof o===u?o.call(t,{hash:{},data:a}):o),s+=c(r)+'</div>\r\n <div id="tsc_review_control" class="largeButton">',(o=n.reviewText)?r=o.call(t,{hash:{},data:a}):(o=t&&t.reviewText,r=typeof o===u?o.call(t,{hash:{},data:a}):o),(r||0===r)&&(s+=r),s+='</div>\r\n <div class="chat-bubble-arrow-border"></div>\r\n <div class="chat-bubble-arrow"></div>\r\n</div>'}),this.TSC.templates.question_set_review_confirmation_template=Handlebars.template(function(e,t,n,i,a){this.compilerInfo=[4,">= 1.0.0"],n=this.merge(n,e.helpers),a=a||{};var r,o,s="",u="function";return s+=' <div id="tsc_review_confirmation_container">\r\n <div id="tsc_review_answers_control" class="largeButton blueButton">',(o=n.reviewAnswerText)?r=o.call(t,{hash:{},data:a}):(o=t&&t.reviewAnswerText,r=typeof o===u?o.call(t,{hash:{},data:a}):o),(r||0===r)&&(s+=r),s+='</div>\r\n <div id="tsc_continue_control" class="largeButton">',(o=n.continueText)?r=o.call(t,{hash:{},data:a}):(o=t&&t.continueText,r=typeof o===u?o.call(t,{hash:{},data:a}):o),(r||0===r)&&(s+=r),s+='</div>\r\n <div class="chat-bubble-arrow-border"></div>\r\n <div class="chat-bubble-arrow"></div>\r\n </div>'}),this.TSC.templates.question_set_template=Handlebars.template(function(e,t,n,i,a){this.compilerInfo=[4,">= 1.0.0"],n=this.merge(n,e.helpers),a=a||{};var r,o,s="",u="function";return s+='<div id="tsc_quiz_container">\r\n <h2>',(o=n.questionSetTitle)?r=o.call(t,{hash:{},data:a}):(o=t&&t.questionSetTitle,r=typeof o===u?o.call(t,{hash:{},data:a}):o),(r||0===r)&&(s+=r),s+='</h2>\r\n <div id="tsc_quiz_question_count"></div>\r\n <div id="tsc_question_set_result_info"></div>\r\n <div id="tsc_question"></div>\r\n <div id="tsc_answers"></div>\r\n <div id="tsc_quiz_controls">\r\n <button id="tsc_previous_button">',(o=n.previousButtonName)?r=o.call(t,{hash:{},data:a}):(o=t&&t.previousButtonName,r=typeof o===u?o.call(t,{hash:{},data:a}):o),(r||0===r)&&(s+=r),s+='</button>\r\n <button id="tsc_next_button">',(o=n.nextButtonName)?r=o.call(t,{hash:{},data:a}):(o=t&&t.nextButtonName,r=typeof o===u?o.call(t,{hash:{},data:a}):o),(r||0===r)&&(s+=r),s+='</button>\r\n <button id="tsc_submit_button">',(o=n.submitButtonName)?r=o.call(t,{hash:{},data:a}):(o=t&&t.submitButtonName,r=typeof o===u?o.call(t,{hash:{},data:a}):o),(r||0===r)&&(s+=r),s+='</button>\r\n <button id="tsc_continue_button">',(o=n.continueButtonName)?r=o.call(t,{hash:{},data:a}):(o=t&&t.continueButtonName,r=typeof o===u?o.call(t,{hash:{},data:a}):o),(r||0===r)&&(s+=r),s+='</button>\r\n </div>\r\n <div class="chat-bubble-arrow-border"></div>\r\n <div class="chat-bubble-arrow"></div>\r\n </div>'}),this.TSC.templates.question_text_template=Handlebars.template(function(e,t,n,i,a){this.compilerInfo=[4,">= 1.0.0"],n=this.merge(n,e.helpers),a=a||{};var r,o,s="",u="function",c=this.escapeExpression;return s+='<p class="quiz_question"><span>',(o=n.questionNumber)?r=o.call(t,{hash:{},data:a}):(o=t&&t.questionNumber,r=typeof o===u?o.call(t,{hash:{},data:a}):o),s+=c(r)+")</span> ",(o=n.questionText)?r=o.call(t,{hash:{},data:a}):(o=t&&t.questionText,r=typeof o===u?o.call(t,{hash:{},data:a}):o),(r||0===r)&&(s+=r),s+="</p>"}),this.TSC.templates.quiz_setup_template=Handlebars.template(function(e,t,n,i,a){function r(){return"autofocus"}this.compilerInfo=[4,">= 1.0.0"],n=this.merge(n,e.helpers),a=a||{};var o,s,u="",c="function",l=this.escapeExpression,d=this;return u+='<div id="tsc_quiz_setup_container">\r\n <h2>',(s=n.setupMessage)?o=s.call(t,{hash:{},data:a}):(s=t&&t.setupMessage,o=typeof s===c?s.call(t,{hash:{},data:a}):s),(o||0===o)&&(u+=o),u+='</h2>\r\n <div class="inputContainer">\r\n <div class="inputBlock"><label>',(s=n.firstNamePlaceholder)?o=s.call(t,{hash:{},data:a}):(s=t&&t.firstNamePlaceholder,o=typeof s===c?s.call(t,{hash:{},data:a}):s),(o||0===o)&&(u+=o),u+='</label><input type="text" name="first_name" id="first_name" placeholder="',(s=n.firstNamePlaceholder)?o=s.call(t,{hash:{},data:a}):(s=t&&t.firstNamePlaceholder,o=typeof s===c?s.call(t,{hash:{},data:a}):s),u+=l(o)+'" size="24" tabindex="1" spellcheck="false" ',o=n["if"].call(t,t&&t.useAutofocus,{hash:{},inverse:d.noop,fn:d.program(1,r,a),data:a}),(o||0===o)&&(u+=o),u+=' required></div>\r\n <div class="inputBlock"><label>',(s=n.lastNamePlaceholder)?o=s.call(t,{hash:{},data:a}):(s=t&&t.lastNamePlaceholder,o=typeof s===c?s.call(t,{hash:{},data:a}):s),(o||0===o)&&(u+=o),u+='</label><input type="text" name="last_name" id="last_name" placeholder="',(s=n.lastNamePlaceholder)?o=s.call(t,{hash:{},data:a}):(s=t&&t.lastNamePlaceholder,o=typeof s===c?s.call(t,{hash:{},data:a}):s),u+=l(o)+'" size="24" tabindex="2" spellcheck="false" required></div>\r\n <div class="inputBlock"><label>',(s=n.emailPlaceholder)?o=s.call(t,{hash:{},data:a}):(s=t&&t.emailPlaceholder,o=typeof s===c?s.call(t,{hash:{},data:a}):s),(o||0===o)&&(u+=o),u+='</label><input type="email" name="email_address" id="email_address" placeholder="',(s=n.emailPlaceholder)?o=s.call(t,{hash:{},data:a}):(s=t&&t.emailPlaceholder,o=typeof s===c?s.call(t,{hash:{},data:a}):s),u+=l(o)+'" tabindex="3" spellcheck="false" size="55" required></div>\r\n </div>\r\n <button id="tsc_begin_button" tabindex="4" disabled>',(s=n.beginButtonText)?o=s.call(t,{hash:{},data:a}):(s=t&&t.beginButtonText,o=typeof s===c?s.call(t,{hash:{},data:a}):s),u+=l(o)+'</button>\r\n <p><a href="#" tabindex="6" id="skip_control">',(s=n.skipControlText)?o=s.call(t,{hash:{},data:a}):(s=t&&t.skipControlText,o=typeof s===c?s.call(t,{hash:{},data:a}):s),u+=l(o)+"</a></p>\r\n </div>"}),this.TSC.templates.settings_view_template=Handlebars.template(function(e,t,n,i,a){function r(e,t){var i,a,r="";return r+="\r\n <option ",i=n["if"].call(e,e&&e.selected,{hash:{},inverse:l.noop,fn:l.program(2,o,t),data:t}),(i||0===i)&&(r+=i),r+=' value="',(a=n.rateValue)?i=a.call(e,{hash:{},data:t}):(a=e&&e.rateValue,i=typeof a===d?a.call(e,{hash:{},data:t}):a),r+=f(i)+'">',(a=n.rateLabel)?i=a.call(e,{hash:{},data:t}):(a=e&&e.rateLabel,i=typeof a===d?a.call(e,{hash:{},data:t}):a),r+=f(i)+"</option>\r\n "}function o(){return"selected"}this.compilerInfo=[4,">= 1.0.0"],n=this.merge(n,e.helpers),a=a||{};var s,u,c="",l=this,d="function",f=this.escapeExpression;return c+='<div id="playerSettingsContainer">\r\n <div id="playerSpeedContainer">\r\n <label for="playbackRates">',(u=n.playerRateText)?s=u.call(t,{hash:{},data:a}):(u=t&&t.playerRateText,s=typeof u===d?u.call(t,{hash:{},data:a}):u),c+=f(s)+'</label>\r\n <select id="playbackRates">\r\n ',s=n.each.call(t,t&&t.playbackRates,{hash:{},inverse:l.noop,fn:l.program(1,r,a),data:a}),(s||0===s)&&(c+=s),c+="\r\n </select>\r\n </div>\r\n</div>"}),this.TSC.templates.short_answer_template=Handlebars.template(function(e,t,n,i,a){function r(){return"autofocus"}this.compilerInfo=[4,">= 1.0.0"],n=this.merge(n,e.helpers),a=a||{};var o,s,u="",c=this,l="function";return u+='<textarea name="tsc_textarea_input" id="tsc_textarea_input" maxlength="2000" rows="5" ',o=n["if"].call(t,t&&t.useAutofocus,{hash:{},inverse:c.noop,fn:c.program(1,r,a),data:a}),(o||0===o)&&(u+=o),u+=">",(s=n.userResponse)?o=s.call(t,{hash:{},data:a}):(s=t&&t.userResponse,o=typeof s===l?s.call(t,{hash:{},data:a}):s),(o||0===o)&&(u+=o),u+="</textarea>\r\n"}),function(){"use strict";window.TSC=window.TSC||{},window.TSC.smartPlayerPreRollEventConstants=function(){return{PRE_ROLL_STARTED:"preRollStarted",PRE_ROLL_FINISHED:"preRollFinished",PRE_ROLL_FINISHED_ACTIONS:{REMOVE_NOW:"removeNow"}}}()}(),function(e,t){"use strict";e.TSC=e.TSC||{},e.TSC.preRollView=function(){var e;if(!t||!t.pre_roll_container_template)throw Error("TSC.preRollView: Template not found");return e=t.pre_roll_container_template,{render:function(t){var n={preRollSizeClass:"preRoll-fullPage",preRollSrc:t};return e(n)}}}()}(window,TSC.templates),function(e,t,n,i,a){e.TSC=e.TSC||{},e.TSC.preRollController=function(){function r(e){if(e=e.originalEvent,e.data&&"function"==typeof e.data.indexOf&&-1!==e.data.indexOf("smartPlayerEventName")){var t=n.parse(e.data);switch(t.smartPlayerEventName){case i.PRE_ROLL_STARTED:u&&u();break;case i.PRE_ROLL_FINISHED:switch(t.data.action){case i.PRE_ROLL_FINISHED_ACTIONS.REMOVE_NOW:s()}}}}function o(){c.removeClass("preRollHidden")}function s(){c&&(l.unbind("message",r),c.unbind("load",o),c.remove(),c=void 0,u=void 0)}var u,c,l;return l=t(e),{createView:function(e,n){c=t(a.render(e)).appendTo("body"),c.bind("load",o),u=n,l.bind("message",r)},viewExists:function(){return void 0!=c},destroyView:s}}()}(window,jQuery,JSON,TSC.smartPlayerPreRollEventConstants,TSC.preRollView),function(e,t){e.TSC=e.TSC||{},e.TSC.externalMessageController=function(){function n(e){if(e.data&&"function"==typeof e.data.indexOf&&-1!==e.data.indexOf("smartPlayerEventName")){var n=t.parse(e.data);i[n.smartPlayerEventName]&&i[n.smartPlayerEventName].call(this,n.data)}}var i={};return e.addEventListener?e.addEventListener("message",n,!1):e.attachEvent("onmessage",n),{addCallback:function(e,t){i[e]=t},removeCallback:function(e){i[e]&&(i[e]=void 0)},removeAllCallbacks:function(){i={}}}}()}(this,JSON),function(e){e.TSC=e.TSC||{},e.TSC.windowWrapper=function(){return{getLocationHref:function(){return e.location.href}}}()}(this),function(e){e.TSC=e.TSC||{},e.TSC.languageCodes=function(){"use strict";var e="en-US",t="de-DE",n="ja-JP";return{ENGLISH:e,GERMAN:t,JAPANESE:n,ENU:e,DEU:t,JPN:n,isValid:function(i){return i!==e&&i!==t&&i!==n?!1:!0}}}()}(this),function(e,t){e.TSC=e.TSC||{},e.TSC.localizationStrings=function(){"use strict";var e,n="default",i=n,a="",r={};return r.xmpError={},r.xmpError[t.ENGLISH]="There seems to be a problem accessing certain features of this video. Please contact the video Author.",r.xmpError[t.GERMAN]="Einige Merkmale dieses Videos sind offenbar nicht zugänglich. Bitte setzen Sie sich mit dem Autor des Videos in Verbindung.",r.xmpError[t.JAPANESE]="このビデオの特定機能にアクセスする時に問題が発生したようです。ビデオの作成者に連絡してください。",r.xmpSecurity={},r.xmpSecurity[t.ENGLISH]="Certain features in your video are currently disabled due to Local Network Security. These features work correctly when the video is played from a Website or Server.",r.xmpSecurity[t.GERMAN]="Einige Merkmale Ihrem Video sind zurzeit aufgrund der Sicherheitseinstellungen im lokalen Netzwerk deaktiviert. Diese Merkmale funktionieren wie vorgesehen, wenn das Video über eine Website oder einen Server wiedergegeben wird.",r.xmpSecurity[t.JAPANESE]="ローカル ネットワークのセキュリティのために、ビデオの特定機能が現在無効になっています。これらの機能は、Web サイトまたはサーバーからビデオを再生すると正しく動作します。",r.videoNotSupported={},r.videoNotSupported[t.ENGLISH]="Your browser cannot play this video.",r.videoNotSupported[t.GERMAN]="Ihr Browser kann dieses Video nicht wiedergeben.",r.videoNotSupported[t.JAPANESE]="お使いのブラウザではこのビデオを再生できません。",r.videoNotSupportedUseFlash={},r.videoNotSupportedUseFlash[t.ENGLISH]="This browser does not support the video format needed for playback. Please install the Flash Player or use a different browser.",r.videoNotSupportedUseFlash[t.GERMAN]="Dieser Browser unterstützt das zur Wiedergabe erforderliche Videoformat nicht. Bitte installieren Sie den Flash Player oder verwenden Sie einen anderen Browser.",r.videoNotSupportedUseFlash[t.JAPANESE]="このブラウザは、再生に必要なビデオ形式をサポートしていません。最新版のFlash Player をインストールするか、別のブラウザを使用してください。",r.noWebMSupport={},r.noWebMSupport[t.ENGLISH]="This browser does not support WebM video.",r.noWebMSupport[t.GERMAN]="Dieser Browser bietet keine WebM-Video-Unterstützung.",r.noWebMSupport[t.JAPANESE]="このブラウザは WebM ビデオをサポートしていません。",r.playlistLocalError={},r.playlistLocalError[t.ENGLISH]="Videos in a Playlist cannot be viewed from a local drive. The videos will play correctly from a Playlist hosted on a Website or Server.",r.playlistLocalError[t.GERMAN]="Videos in einer Wiedergabeliste können nicht von einem lokalen Laufwerk aus abgespielt werden. Die Videos werden über eine auf einer Website oder einem Server gehostete Wiedergabeliste korrekt abgespielt.",r.playlistLocalError[t.JAPANESE]="プレイリストのビデオはローカル ドライブから再生できません。Web サイトまたはサーバーでホストされているプレイリストからは、ビデオが正しく再生されます。",r.search={},r.search[t.ENGLISH]="Search…",r.search[t.GERMAN]="Suchen…",r.search[t.JAPANESE]="検索…",r.playerRateText={},r.playerRateText[t.ENGLISH]="Playback Speed",r.playerRateText[t.GERMAN]="Wiedergabe-Geschwindigkeit",r.playerRateText[t.JAPANESE]="再生速度",r.playerRateOptionsText={},r.playerRateOptionsText[t.ENGLISH]={.25:"0.25",.5:"0.5",.75:"0.75",1:"normal",1.25:"1.25",1.5:"1.5",1.75:"1.75",2:"2.0"},r.playerRateOptionsText[t.GERMAN]={.25:"0.25",.5:"0.5",.75:"0.75",1:"normal",1.25:"1.25",1.5:"1.5",1.75:"1.75",2:"2.0"},r.playerRateOptionsText[t.JAPANESE]={.25:"0.25",.5:"0.5",.75:"0.75",1:"標準",1.25:"1.25",1.5:"1.5",1.75:"1.75",2:"2.0"},r.videoFailedToLoad={},r.videoFailedToLoad[t.ENGLISH]="This video failed to load completely.",r.videoFailedToLoad[t.GERMAN]="Dieses Video wurde nicht vollständig geladen.",r.videoFailedToLoad[t.JAPANESE]="このビデオを正しく読み込めませんでした。",r.videoFailedToLoadUseFlash={},r.videoFailedToLoadUseFlash[t.ENGLISH]="This video failed to load completely. You may need to try another browser or use the Flash plugin.",r.videoFailedToLoadUseFlash[t.GERMAN]="Dieses Video wurde nicht vollständig geladen. Vielleicht müssen Sie einen anderen Browser ausprobieren oder das Flash-Plug-In verwenden.",r.videoFailedToLoadUseFlash[t.JAPANESE]="このビデオを正しく読み込めませんでした。別のブラウザを試すか、Flash プラグインを使用する必要があります。",r.searchDisabledFullScreen={},r.searchDisabledFullScreen[t.ENGLISH]="Search is disabled in fullscreen mode.",r.searchDisabledFullScreen[t.GERMAN]="Die Suche ist im Vollbildmodus deaktiviert.",r.searchDisabledFullScreen[t.JAPANESE]="フル画面モードでは検索機能は無効です。",r.videoLoading={},r.videoLoading[t.ENGLISH]="Please wait... the video is loading.",r.videoLoading[t.GERMAN]="Bitte warten... Das Video wird geladen.",r.videoLoading[t.JAPANESE]="お待ちください... ビデオを読み込んでいます。",r.clickToClose={},r.clickToClose[t.ENGLISH]="Click to Close",r.clickToClose[t.GERMAN]="Hier klicken, um zu schließen",r.clickToClose[t.JAPANESE]="クリックして終了",r.playWithSmartPlayer={},r.playWithSmartPlayer[t.ENGLISH]="Play with TechSmith Smart Player",r.playWithSmartPlayer[t.GERMAN]="Mit TechSmith Smart Player abspielen",r.playWithSmartPlayer[t.JAPANESE]="クリックして終了",r.playVideoOnly={},r.playVideoOnly[t.ENGLISH]="Play Video Only",r.playVideoOnly[t.GERMAN]="Nur Video wiedergeben",r.playVideoOnly[t.JAPANESE]="ビデオの再生のみ",r.openWithSmartPlayer={},r.openWithSmartPlayer[t.ENGLISH]="Open video in TechSmith Smart Player",r.openWithSmartPlayer[t.GERMAN]="Öffnen Sie das Video im TechSmith Smart Player.",r.openWithSmartPlayer[t.JAPANESE]="TechSmith Smart Player でビデオを開く",r.FullscreenKeyboardDisabled={},r.FullscreenKeyboardDisabled[t.ENGLISH]="Warning!, keyboard support is disabled in fullscreen.",r.FullscreenKeyboardDisabled[t.GERMAN]="Warnung! Tastaturunterstützung ist im Vollbildmodus deaktiviert.",r.FullscreenKeyboardDisabled[t.JAPANESE]="警告! フル画面ではキーボード サポートは無効です。",r.txtRequiredMessage={},r.txtRequiredMessage[t.ENGLISH]="A first name, last name, and email address are required to take this quiz.",r.txtRequiredMessage[t.GERMAN]="Sie müssen Vor- und Nachnamen und eine E-Mail-Adresse angeben, um an diesem Quiz teilzunehmen.",r.txtRequiredMessage[t.JAPANESE]="このクイズに解答するには、氏名と電子メール アドレスを入力する必要があります。",r.txtSkip={},r.txtSkip[t.ENGLISH]="Watch Video Only - No Quiz",r.txtSkip[t.GERMAN]="Nur Video ansehen - Kein Quiz",r.txtSkip[t.JAPANESE]="ビデオを見るだけでクイズに解答しない",r.txtBegin={},r.txtBegin[t.ENGLISH]="Watch Video and Take Quiz",r.txtBegin[t.GERMAN]="Video ansehen und am Quiz teilnehmen",r.txtBegin[t.JAPANESE]="ビデオを見てクイズに解答する",r.txtFirstName={},r.txtFirstName[t.ENGLISH]="First",r.txtFirstName[t.GERMAN]="Vorname",r.txtFirstName[t.JAPANESE]="姓",r.txtLastName={},r.txtLastName[t.ENGLISH]="Last",r.txtLastName[t.GERMAN]="Nachname",r.txtLastName[t.JAPANESE]="名",r.txtEmail={},r.txtEmail[t.ENGLISH]="Email",r.txtEmail[t.GERMAN]="E-Mail",r.txtEmail[t.JAPANESE]="電子メール",r.txtReview={},r.txtReview[t.ENGLISH]="Replay Last Section",r.txtReview[t.GERMAN]="Letzten Abschnitt erneut wiedergeben",r.txtReview[t.JAPANESE]="最後に選択した範囲をもう一度再生",r.txtAnswerQuestion={},r.txtAnswerQuestion[t.ENGLISH]="Take Quiz Now",r.txtAnswerQuestion[t.GERMAN]="Jetzt am Quiz teilnehmen",r.txtAnswerQuestion[t.JAPANESE]="今すぐクイズに解答する",r.txtPrev={},r.txtPrev[t.ENGLISH]="Previous",r.txtPrev[t.GERMAN]="Zurück",r.txtPrev[t.JAPANESE]="前へ",r.txtNext={},r.txtNext[t.ENGLISH]="Next",r.txtNext[t.GERMAN]="Weiter",r.txtNext[t.JAPANESE]="次へ",r.txtSubmit={},r.txtSubmit[t.ENGLISH]="Submit Answers",r.txtSubmit[t.GERMAN]="Antworten abschicken",r.txtSubmit[t.JAPANESE]="解答・回答の送信",r.txtSubmittingAnswers={},r.txtSubmittingAnswers[t.ENGLISH]="Please wait... submitting answers.",r.txtSubmittingAnswers[t.GERMAN]="Bitte warten... Antwort wird gesendet.",r.txtSubmittingAnswers[t.JAPANESE]="少々お待ちください... 回答を送信中です。",r.txtContinue={},r.txtContinue[t.ENGLISH]="Continue",r.txtContinue[t.GERMAN]="Fortsetzen",r.txtContinue[t.JAPANESE]="続行",r.txtReviewAnswer={},r.txtReviewAnswer[t.ENGLISH]="View Answers",r.txtReviewAnswer[t.GERMAN]="Antworten anzeigen",r.txtReviewAnswer[t.JAPANESE]="解答・回答を表示",r.txtAnswerSent={},r.txtAnswerSent[t.ENGLISH]="Your answers have been sent.",r.txtAnswerSent[t.GERMAN]="Ihre Antworten wurden gesendet.",r.txtAnswerSent[t.JAPANESE]="解答・回答が送信されました。",r.txtDisabledLocalQuizReporting={},r.txtDisabledLocalQuizReporting[t.ENGLISH]="Keyboard input is disabled in full screen mode. Press the ESC key to exit full screen mode.",r.txtDisabledLocalQuizReporting[t.GERMAN]="Bestimmte Merkmale in Ihrem Video sind aufgrund der Sicherheitseinstellungen im lokalen Netzwerk zurzeit deaktiviert. Sie funktionieren jedoch ordnungsgemäß, wenn das Video von einer Website oder einem Server aus wiedergegeben wird.",r.txtDisabledLocalQuizReporting[t.JAPANESE]="ローカル ネットワークのセキュリティの理由により、ビデオの特定機能が現在無効化されています。Web サイトまたはサーバーからビデオを再生する場合、これらの機能は正しく動作します。",r.txtErrorMessage={},r.txtErrorMessage[t.ENGLISH]="We're sorry, a network error has prevented the quiz from loading. The video is available to view. To try and reload the quiz, refresh the browser page or check your network connection.",r.txtErrorMessage[t.GERMAN]="Das Quiz konnte aufgrund eines Netzwerkfehlers nicht geladen werden. Das Video steht zur Ansicht bereit. Sie können versuchen das Quiz erneut zu laden, indem Sie die Browserseite aktualisieren bzw. Ihre Netzwerkverbindung überprüfen.",r.txtErrorMessage[t.JAPANESE]="申し訳ありませんが、ネットワーク エラーによりクイズを読み込めませんでした。ビデオは表示できます。クイズを再度読み込むには、ブラウザのページを更新するか、ネットワーク接続を確認してください。",r.txtQuizErrorMessage={},r.txtQuizErrorMessage[t.ENGLISH]="We're attempting to save your response. Please make sure you have an active internet connection.",r.txtQuizErrorMessage[t.GERMAN]="Wir versuchen, Ihre Antworten zu speichern. Bitte achten Sie darauf, dass Sie eine aktive Internet Verbindung haben.",r.txtQuizErrorMessage[t.JAPANESE]="返答の保存を試みています。インターネットに正しく接続しているか確認してください。",r.txtLoaderMessageInstance={},r.txtLoaderMessageInstance[t.ENGLISH]="Please wait... the quiz is loading.",r.txtLoaderMessageInstance[t.GERMAN]="Bitte warten... Das Quiz wird geladen.",r.txtLoaderMessageInstance[t.JAPANESE]="お待ちください... クイズを読み込んでいます。",r.txtLoaderMessageDefinition={},r.txtLoaderMessageDefinition[t.ENGLISH]="Please wait... the quiz is loading.",r.txtLoaderMessageDefinition[t.GERMAN]="Bitte warten... Das Quiz wird geladen.",r.txtLoaderMessageDefinition[t.JAPANESE]="お待ちください... クイズを読み込んでいます。",r.txtQuestionCount={},r.txtQuestionCount[t.ENGLISH]="{{currentQuestion}} of {{totalQuestions}}",r.txtQuestionCount[t.GERMAN]="{{currentQuestion}} von {{totalQuestions}}",r.txtQuestionCount[t.JAPANESE]="{{currentQuestion}} 問 ({{totalQuestions}} 問中)",r.txtCorrectAnswer={},r.txtCorrectAnswer[t.ENGLISH]="{{numberCorrect}} correct answer.",r.txtCorrectAnswer[t.GERMAN]="{{numberCorrect}} richtige Antwort.",r.txtCorrectAnswer[t.JAPANESE]="{{numberCorrect}} 個の正解があります。",r.txtCorrectAnswers={},r.txtCorrectAnswers[t.ENGLISH]="{{numberCorrect}} correct answers.",r.txtCorrectAnswers[t.GERMAN]="{{numberCorrect}} richtige Antworten.",r.txtCorrectAnswers[t.JAPANESE]="{{numberCorrect}} 個の正解があります。",r.txtUngradedQuestion={},r.txtUngradedQuestion[t.ENGLISH]="{{numberUngraded}} question could not be scored.",r.txtUngradedQuestion[t.GERMAN]="{{numberUngraded}} Frage konnte nicht bewertet werden.",r.txtUngradedQuestion[t.JAPANESE]="{{numberUngraded}} 個の問題のスコアを付けることができませんでした。",r.txtUngradedQuestions={},r.txtUngradedQuestions[t.ENGLISH]="{{numberUngraded}} questions could not be scored.",r.txtUngradedQuestions[t.GERMAN]="{{numberUngraded}} Fragen konnte nicht bewertet werden.",r.txtUngradedQuestions[t.JAPANESE]="{{numberUngraded}} 個の問題のスコアを付けることができませんでした。",r.txtQuizFullscreenMode={},r.txtQuizFullscreenMode[t.ENGLISH]="Keyboard input is disabled in full screen mode. Press the ESC key to exit full screen mode.",r.txtQuizFullscreenMode[t.GERMAN]="Die Tastatureingabe ist im Vollbildmodus deaktiviert. Drücken Sie &gt;Esc&lt;, um den Vollbildmodus zu beenden.",r.txtQuizFullscreenMode[t.JAPANESE]="全画面表示ではキーボード入力は無効です。ESC キーを押すと全画面モードを終了します。",r.accessBtnClearSearch={},r.accessBtnClearSearch[t.ENGLISH]="Clear Search",r.accessBtnClearSearch[t.GERMAN]="Suche löschen",r.accessBtnClearSearch[t.JAPANESE]="検索をクリア",r.accessBtnRewind={},r.accessBtnRewind[t.ENGLISH]="Rewind",r.accessBtnRewind[t.GERMAN]="Zurückspulen",r.accessBtnRewind[t.JAPANESE]="巻き戻し",r.accessBtnPlay={},r.accessBtnPlay[t.ENGLISH]="Play",r.accessBtnPlay[t.GERMAN]="Wiedergabe",r.accessBtnPlay[t.JAPANESE]="再生",r.accessBtnPrevious={},r.accessBtnPrevious[t.ENGLISH]="Previous",r.accessBtnPrevious[t.GERMAN]="Zurück",r.accessBtnPrevious[t.JAPANESE]="前へ",r.accessBtnNext={},r.accessBtnNext[t.ENGLISH]="Next",r.accessBtnNext[t.GERMAN]="Weiter",r.accessBtnNext[t.JAPANESE]="次へ",r.accessBtnVolume={},r.accessBtnVolume[t.ENGLISH]="Volume",r.accessBtnVolume[t.GERMAN]="Volumen",r.accessBtnVolume[t.JAPANESE]="音量",r.accessBtnClosedCaption={},r.accessBtnClosedCaption[t.ENGLISH]="Closed Caption",r.accessBtnClosedCaption[t.GERMAN]="Geschlossene Beschriftung",r.accessBtnClosedCaption[t.JAPANESE]="クローズド キャプション",r.accessBtnTableOfContents={},r.accessBtnTableOfContents[t.ENGLISH]="Table of Contents",r.accessBtnTableOfContents[t.GERMAN]="Inhaltsverzeichnis",r.accessBtnTableOfContents[t.JAPANESE]="目次",r.accessBtnSettings={},r.accessBtnSettings[t.ENGLISH]="Player Settings",r.accessBtnSettings[t.GERMAN]="Einstellungen",r.accessBtnSettings[t.JAPANESE]="プレーヤー設定",r.accessBtnFullScreen={},r.accessBtnFullScreen[t.ENGLISH]="Full Screen",r.accessBtnFullScreen[t.GERMAN]="Vollbild",r.accessBtnFullScreen[t.JAPANESE]="全画面",{setLanguage:function(e){t.isValid(e)&&(i=e)
},getLanguage:function(){return i},getQuestionCountPreposition:function(){if(!a){e=i===n?t.ENGLISH:i;for(var o=r.txtQuestionCount[e].split(" "),s=0;o.length>s;s++)if(-1===o[s].indexOf("{{")){a=o[s];break}}return a},getString:function(a){if(void 0!==r[a])return e=i===n?t.ENGLISH:i,r[a][e];throw Error("getString(): '"+a+"' string does not exist in the player.")},setString:function(a,o){if(void 0===r[a])throw Error("setString(): '"+a+"' string does not exist in the player.");e=i===n?t.ENGLISH:i,r[a][e]=o}}}()}(this,TSC.languageCodes),function(e,t,n){e.TSC=e.TSC||{},e.TSC.iOSTextInputFix=function(){"use strict";function i(e){e.keyCode===u?c--:c++;var t=a.value,n=t.length-c;if(0>n){var i=a.cloneNode(!0);s.appendChild(i),l++,setTimeout(function(){i.focus(),s.removeChild(i),r&&r(l)},100),c=a.value.length}}var a,r,o=t(e),s=e.document.getElementsByTagName("body")[0],u=8,c=0,l=0,d=function(){a=void 0,o.unbind("keyup",i)};return{setOnBugCallback:function(e){r=e},watch:function(e){d(),a=e,c=a.value===n.getString("search")?0:a.value.length,o.bind("keyup",i)},clear:d}}()}(this,jQuery,TSC.localizationStrings),function(e){e.TSC=e.TSC||{},e.TSC.playerType=function(){return{HTML5_VIDEO:"html5",FLASH_VIDEO:"flash",YOUTUBE:"youtube",IMAGE:"image",NOT_SUPPORTED:"not_supported"}}()}(this),function(e){e.TSC=e.TSC||{},e.TSC.mediaMimeType=function(){"use strict";return{WEBM:"video/webm",MP4:"video/mp4",OGG:"video/ogg",JPG:"image/jpeg",PNG:"image/png",GIF:"image/gif",UNKNOWN:""}}()}(this),function(e,t,n){e.TSC=e.TSC||{},e.TSC.deviceInfo=function(){"use strict";function i(){switch(e.location.protocol){case"http:":case"https:":return!1;case"file:":return!0}}function a(){for(var e in navigator.plugins)if(navigator.plugins[e].filename&&-1!==navigator.plugins[e].filename.toLowerCase().indexOf("pepflashplayer"))return!0;return!1}function r(){if(/iP(hone|od|ad)/.test(navigator.platform)){var e=navigator.appVersion.match(/OS (\d+)_(\d+)_?(\d+)?/);return[parseInt(e[1],10),parseInt(e[2],10),parseInt(e[3]||0,10)]}}function o(){var t=document.createElement("video")||!1;if(s=t&&t.canPlayType!==void 0,u=s&&("maybe"===t.canPlayType(n.MP4)||"probably"===t.canPlayType(n.MP4)),c=s&&("maybe"===t.canPlayType(n.OGG)||"probably"===t.canPlayType(n.OGG)),l=s&&("maybe"===t.canPlayType(n.WEBM)||"probably"===t.canPlayType(n.WEBM)),m=null!==navigator.userAgent.match(/iPad/i),v=null!==navigator.userAgent.match(/iPhone/i),A=null!==navigator.userAgent.match(/iPod/i),S=-1!==navigator.userAgent.toLowerCase().indexOf("android"),h=-1!==navigator.userAgent.toLowerCase().indexOf("chrome"),p="Microsoft Internet Explorer"==navigator.appName,h&&i()&&(y=a()),p){var o=navigator.userAgent,I=RegExp("MSIE ([0-9]{1,}[.0-9]{0,})");null!=I.exec(o)&&(d=parseFloat(RegExp.$1))}(m||v||A)&&(f=r()),g=-1!==navigator.userAgent.toLowerCase().indexOf("firefox"),b=null!==navigator.userAgent.match(/Nuevo/i),C=null!==navigator.userAgent.match(/Safari/i),E=640>screen.availWidth&&480>screen.availHeight||480>screen.availWidth&&640>screen.availHeight,T=e.devicePixelRatio&&e.devicePixelRatio>1,(v||A)&&b&&T&&(m=!0,v=A=!1)}var s,u,c,l,d,f,p=!1,g=!1,h=!1,m=!1,v=!1,A=!1,S=!1,b=!1,C=!1,T=!1,E=!1,y=!1;return{isSmallScreen:function(){return E},isRetinaDisplay:function(){return T},isNuevoApp:function(){return b},isIPad:function(){return m},isIPhoneOrIPod:function(){return v||A},isIE:function(){return p},getIEVersion:function(){return d},getIOSMajorVersion:function(){return f?f[0]:null},isFirefox:function(){return g},isChrome:function(){return h},isSafari:function(){return C},isAndroid:function(){return S},canPlayHTML5Video:function(){return s},canPlayMP4:function(){return u},canPlayOgg:function(){return c},canPlayWebM:function(){return l},isTouchInterface:function(){return t.touch||this.isTouchIEInterface()},isTouchIEInterface:function(){return navigator.msMaxTouchPoints},getFullScreenChangeEventNames:function(){return"webkitfullscreenchange MSFullscreenChange mozfullscreenchange fullscreenchange"},requiresManualPreload:function(){return m||S},supportsFullScreen:function(){return document.fullscreenEnabled||document.webkitFullscreenEnabled||document.msFullscreenEnabled||document.mozFullScreenEnabled},supportsFullScreenKeyboardInput:function(){var e=!1;return h&&void 0!==Element.ALLOW_KEYBOARD_INPUT&&(e=!0),e},mediaLocation:function(){var e=document.location.href,t=e.lastIndexOf("/"),n=e.substring(0,t+1);return p&&(n=encodeURI(n)),n=n.split("%25").join("%")},isLocal:function(){return i()},isLocalPepperFlash:function(){return y},lookAtDevice:function(){o()}}}()}(this,Modernizr,TSC.mediaMimeType),function(e,t,n){e.TSC=e.TSC||{},e.TSC.playerConfiguration=function(){"use strict";function e(e){var t=e.replace(/&#8217;/g,"'");return t}function i(e){return/[^\u0000-\u00ff]/.test(e)}var a,r,o,s,u,c,l,d,f,p,g="13.0.0",h=[],m="'playerProductInstall.swf",v="tsc_player.swf",A="100%",S="100%",b="stop",C=!0,T=!0,E=!1,y=-1,I=!1,w=!1,N="left",x="#000",R=!1,P=!1,M=!0,L=!1,k=!0,_=!0,O=!1,D=!1,B=!1,Q=!0,V=!0,q=!1,G=!1,F=!1,U=!1,H=".",z=!1,W="",J=!0,Y=!1,j=!1,K=void 0;return{isIEOnServerWithUnicode:function(){return 1==t.isIE()&&1==TSC.playerConfiguration.runOnServer()&&P},runOnServer:function(){var e=!1,t=document.location.href;return 0==t.indexOf("http")&&(e=!0),e},getUnicodeSafeString:function(e){return void 0===e?e:P?1==t.isIE()?TSC.playerConfiguration.runOnServer()?i(e)?encodeURI(e):e:decodeURI(e):encodeURI(e):e},getMediaSrc:function(){return h.length>0?h[0]:""},clearMediaSrc:function(){h=[]},setMediaSrc:function(t){h[0]=e(t)},addMediaSrc:function(t){h.push(e(t))},getMediaSources:function(){return h},getMediaFileName:function(){var e,t=h.length>0?h[0]:void 0;if(t){var n=t.split("/");e=n[n.length-1],e=e.split("?")[0],(void 0===e||""===e)&&(e="Unnamed Media")}else e="No Media";return e},getXMPSrc:function(){return TSC.playerConfiguration.getUnicodeSafeString(a)},setXMPSrc:function(t){a=e(t)},setSwfBase:function(t){H=e(t)},getSwfBase:function(){return H},getConfigurationSrc:function(){return TSC.playerConfiguration.getUnicodeSafeString(r)},setConfigurationSrc:function(e){r=e},getPosterImageSrc:function(){return TSC.playerConfiguration.getUnicodeSafeString(o)},setPosterImageSrc:function(e){o=e},getUnableToDisplayContentString:function(){return n.getString("videoNotSupported")},getFlashUpdateBootstrapSwf:function(){return m},setFlashUpdateBootstrapSwf:function(e){m=e},getFlashPlayerSwf:function(){return v},setFlashPlayerSwf:function(t){v=e(t)},getPlayerWidth:function(){return A},setPlayerWidth:function(e){A=e},getPlayerHeight:function(){return S},setPlayerHeight:function(e){S=e},getEndActionType:function(){return b},setEndActionType:function(e){b=e},getEndActionParam:function(){return C},setEndActionParam:function(e){C=e},getIsSearchable:function(){return T},setIsSearchable:function(e){T=e},getAutoPlayMedia:function(){return E},setAutoPlayMedia:function(e){E=e},getAllowRewind:function(){return y},setAllowRewind:function(e){y=e},getCaptionsEnabled:function(){return I},setCaptionsEnabled:function(e){I=e},getSidebarEnabled:function(){return w},setSidebarEnabled:function(e){w=e},getSidebarLocation:function(){return N},setSidebarLocation:function(e){N=e},getBackgroundColor:function(){return x},setBackgroundColor:function(e){x=e},getMinFlashPlayerVersion:function(){return g},setDebugHotspot:function(e){R=e},getDebugHotspot:function(){return R},setAutoHideControls:function(e){M=e},getAutoHideControls:function(){return M},setProcessUnicodeNames:function(e){P=e},getProcessUnicodeNames:function(){return P},setReportScormComplete:function(e){L=e},getReportScormComplete:function(){return L},setEnforceLinearAssessment:function(e){k=e},getEnforceLinearAssessment:function(){return k},setDisableFullframeMode:function(e){_=e},getDisableFullframeMode:function(){return _},getDisableControls:function(){return O},setDisableControls:function(e){O=e},getMobileWebViewCanAutoPlay:function(){return D},setMobileWebViewCanAutoPlay:function(e){D=e},setGoogleAnalyticsID:function(e){s=e},getGoogleAnalyticsID:function(){return s},setGAPageViewTracking:function(e){Q=e},getGAPageViewTracking:function(){return Q},setGAEventTracking:function(e){V=e},getGAEventTracking:function(){return V},useCustomEventTracking:function(e,t){q=e,u=t},getTrackEvents:function(){return q||void 0!==s},getCustomEventTracking:function(){return q},getCustomEventCallback:function(){return u},setAltEventCategoryAsFilename:function(e){G=e},getAltEventCategoryAsFilename:function(){return G},setAltLoadTimeAsSeconds:function(e){F=e},getAltLoadTimeAsSeconds:function(){return F},setAdvancedSeeking:function(e){B=e},getAdvancedSeeking:function(){return B},setTechSmithAccessToken:function(e){l=e,z=!0},getTechSmithAccessToken:function(){return l},getIsUserIdentified:function(){return z},setJumpToTime:function(e){c=e},getJumpToTime:function(){return c},setDebugUIMode:function(e){U=e},getDebugUIMode:function(){return U},setFathomId:function(e){d=e},getFathomId:function(){return d},setAdditionalAppQueryParamsFromJson:function(e){var t="";for(var n in e)t+="&"+n+"="+e[n];W=t},getAdditionalAppQueryString:function(){return W},setScormStartPt:function(e){p=e},getScormStartPt:function(){return p},setEmbedIFrameId:function(e){f=e},getEmbedIFrameId:function(){return f},setUseSlimAppSplashScreen:function(e){J=e},getUseSlimAppSplashScreen:function(){return J},saveConfigurationFromQueryString:function(e){if(e instanceof Array){var t,n,i=e.length;for(t=0;i>t;t++)if(n=e[t].split("="),2===n.length)switch(n[0].toLowerCase()){case"embediframeid":f=n[1];break;case"t":c=n[1];break;case"forceflash":"true"==n[1].toLowerCase()?Y=!0:"false"==n[1].toLowerCase()&&(Y=!1)}}},setForceFlashPlayer:function(e){Y=e},getForceFlashPlayer:function(){return Y},setPrioritizeFullScreen:function(){},getShowYouTubeAnnotations:function(){return j},setShowYouTubeAnnotations:function(e){j=e},getPreRollSrc:function(){return K},setPreRollSrc:function(e){K=e}}}()}(this,TSC.deviceInfo,TSC.localizationStrings),function(e){e.TSC=e.TSC||{},e.TSC.textSanitizer=function(){"use strict";return{htmlEncode:function(e,t){return e?t?e.replace(/&/g,"&amp;").replace(/(<|&amp;lt;)/g,"&lt;").replace(/(>|&amp;gt;)/g,"&gt;").replace(/&amp;amp;/g,"&amp;"):e.replace(/&/g,"&amp;").replace(/("|&amp;quot;)/g,"&quot;").replace(/(<|&amp;lt;)/g,"&lt;").replace(/(>|&amp;gt;)/g,"&gt;").replace(/&amp;amp;/g,"&amp;"):e}}}()}(this),function(e){e.TSC=e.TSC||{},e.TSC.questionType=function(){"use strict";return{FILL_IN:"FITB",CHOICE:"MC",SHORT:"SHORT"}}()}(this),function(e){e.TSC=e.TSC||{},e.TSC.reportType=function(){"use strict";var e="NONE",t="API",n="SCORM",i="APIANDSCORM";return{NONE:e,API:t,SCORM:n,APIANDSCORM:i,isValid:function(a){return a===e||a===t||a===n||a===i}}}()}(this),function(e,t,n){e.TSC=e.TSC||{},e.TSC.quizModel=function(){"use strict";function e(){v=[];for(var e=C.length,t=0,n=0,i=0;e>i;i++)C[i].complete===!1&&(t=C[i].mediaTimeCode-T,t=0>t?0:t,n=C[i].mediaTimeCode+E,v.push({quesitonSetId:i,rangeStart:t,rangeEnd:n,time:C[i].mediaTimeCode}))}function i(){var e={};e.quizId=p,e.lang=I,e.projectName=d,e.productionName=c,e.originId=l,e.mediaDuration=y,e.reportRecipients=[g],e.questionSets=[];for(var t,n,i,a=C.length,r=0;a>r;r++){e.questionSets.push({name:C[r].questionSetTitle,mediaTimePosition:C[r].mediaTimeCode,order:Number(r)+1,questions:[]}),t=C[r].questions.length;for(var o=0;t>o;o++){i=[],n=C[r].questions[o].choices.length;for(var s=0;n>s;s++)i.push(C[r].questions[o].choices[s]);e.questionSets[r].questions.push({type:C[r].questions[o].type,id:C[r].questions[o].id,questionText:C[r].questions[o].text,choices:i,correctAnswer:C[r].questions[o].correctAnswer})}}return JSON.stringify(e)}function a(e){var t={};t.quizId=p,t.order=e+1,t.questions=[];for(var i,a=C[e].questions.length,r=0;a>r;r++)i=C[e].questions[r].type===n.CHOICE&&"0"===C[e].questions[r].correctAnswer?{type:C[e].questions[r].type,id:C[e].questions[r].id,duration:C[e].questions[r].duration,response:C[e].questions[r].response,segmentWatched:C[e].percentOfVideoSegmentWatched}:{type:C[e].questions[r].type,id:C[e].questions[r].id,duration:C[e].questions[r].duration,response:C[e].questions[r].response,correct:C[e].questions[r].isResponseCorrect,segmentWatched:C[e].percentOfVideoSegmentWatched},t.questions.push(i);return JSON.stringify(t)}function r(e,t){return C[e]&&C[e].questions[t]?!0:!1}function o(e){for(var t=0,n=C[e],i=n.questions.length,a=0;i>a;a++){var r=n.questions[a];r.isQuestionGraded&&t++}return t}function s(e){for(var t=0,n=C[e],i=n.questions.length,a=0;i>a;a++){var r=n.questions[a];r.isQuestionGraded&&r.isResponseCorrect&&t++}return t}function u(e,t,i){if(e===n.CHOICE){if(t&&t>0)return!0}else{if(e!==n.FILL_IN)return!1;if(i.length>0)return!0}}var c,l,d,f,p,g,h,m,v,A=t.NONE,S=!0,b=!1,C=[],T=250,E=100,y=0,I="",w=2e3,N=!0,x=!1;return{clearAllQuestions:function(){C=[]},getQuizDefinition:function(){return i()},getUseQuizApi:function(){return A===t.API||A===t.APIANDSCORM},getUseScorm:function(){return A===t.SCORM||A===t.APIANDSCORM},getDisplayFeedback:function(e){return C[e].displayFeedback},setQuizTitle:function(e){f=e},getQuizTitle:function(){return f},setProductionMetadata:function(e,t,n){c=t,l=n,d=e},setQuizID:function(e){p=e},getQuizID:function(){return p},setAuthoredEmail:function(e){g=e},getAuthoredEmail:function(){return g},setClientId:function(e){h=e},getClientId:function(){return h},setQuizHash:function(e){m=e},getQuizHash:function(){return m},setMediaDuration:function(e){y=e},setReportMethod:function(e){t.isValid(e)&&(A=e)},getReportMethod:function(){return A},setRequireUserId:function(e){S=e},getRequireUserId:function(){return S},setHideReplay:function(e){b=e},getHideReplay:function(){return b},setAllowSkipQuiz:function(e){N="0"===e||e===!1?!1:!0},getAllowSkipQuiz:function(){return N},setLocale:function(e){I=e},getLocale:function(){return I},setQuestionSetComplete:function(t){t>=0&&C.length>t&&(C[t].complete=!0,e())},getQuestionSetMarkerTimes:function(){return v||e(),v},numberQuestionSets:function(){return C.length},numberQuestionsInSet:function(e){return void 0===C[e]?-1:C[e].questions.length},addQuestionSet:function(e,t,n){return C.push({questions:[],questionSetTitle:e,mediaTimeCode:t,displayFeedback:n,complete:!1,percentOfVideoSegmentWatched:0}),C.length-1},addQuestion:function(e,t,i,a,r,o){if(void 0!==C[e]){var s=u(t,o,r);(t===n.FILL_IN||t===n.SHORT)&&(x=!0),C[e].questions.push({type:t,id:i,text:a,choices:r,correctAnswer:o,isQuestionGraded:s,response:"",isResponseCorrect:!1,duration:0})}},getQuestionSetTitle:function(e){return e>=0&&C.length>e?C[e].questionSetTitle:""},getQuestionSetMarkerTime:function(e){return e>=0&&C.length>e?C[e].mediaTimeCode:-1},getQuestionType:function(e,t){return r(e,t)?C[e].questions[t].type:void 0},getQuestionApiId:function(e,t){return r(e,t)?C[e].questions[t].id:void 0},getQuestionText:function(e,t){return r(e,t)?C[e].questions[t].text:void 0},getQuestionChoices:function(e,t){return r(e,t)?C[e].questions[t].choices:void 0},getQuestionAnswer:function(e,t){return r(e,t)?C[e].questions[t].correctAnswer:void 0},setQuestionAnswer:function(e,t,n){C[e].questions[t].correctAnswer=n},setQuestionResponse:function(e,t,n){C[e].questions[t].response=n},getQuestionResponse:function(e,t){return r(e,t)?C[e].questions[t].response:void 0},getIsResponseCorrect:function(e,t){return r(e,t)?C[e].questions[t].isResponseCorrect:void 0},setIsResponseCorrect:function(e,t,n){C[e].questions[t].isResponseCorrect=n},getMinMarkerTimeDiff:function(){return w},getIsQuestionGraded:function(e,t){return r(e,t)?C[e].questions[t].isQuestionGraded:void 0},setIsQuestionGraded:function(e,t,n){C[e].questions[t].isQuestionGraded=n},getPreviousMarkerTimeForMarker:function(e){var t,n=0;if(e>0)if(e>=C.length)n=C[C.length-1].mediaTimeCode;else for(var i=e-1;i>=0;i--)if(t=C[Number(i)+1].mediaTimeCode-C[i].mediaTimeCode,t>=w){n=C[i].mediaTimeCode;break}return n},updatePercentageWatchedForQuestionSet:function(e,t){C[e].percentOfVideoSegmentWatched=t},addDurationToQuestion:function(e,t,n){C[e].questions[t].duration+=n},getApiDataForQuestionSet:function(e){return a(e)},getNumberOfCorrectInQuestionSet:function(e){return s(e)},getTotalNumberOfGradableInQuestionSet:function(e){return o(e)},getTotalNumberOfGradedQuestionSets:function(){for(var e=0,t=C.length,n=0;t>n;n++)o(n)>0&&e++;return e},getTotalNumberOfUngradableInQuestionSet:function(e){if(0>e||e>=C.length)return void 0;for(var t,n=0,i=C[e],a=i.questions.length,r=0;a>r;r++)t=i.questions[r],t.isQuestionGraded||n++;return n},getScormScore:function(){for(var e=0,t=0,n=C.length,i=0;n>i;i++)e+=o(i),t+=s(i);var a=100*(t/e);return a},getLastQuestionComplete:function(e){void 0===e&&(e=-1);for(var t=0,n=C.length,i=!0,a=0;n>a;a++)t=o(a),t>0&&C[a].complete===!1&&a!==e&&(i=!1);return i},quizContainsTextInputQuestions:function(){return x}}}()}(this,TSC.reportType,TSC.questionType),function(e,t,n,i,a,r){e.TSC=e.TSC||{},e.TSC.quizService=function(){"use strict";function e(){M=200,A&&A.call()}function o(e){M=200;var t;I?(L="mock_id",D=!0,t=15e3):(L=e.Id,D=e.DefinitionRequired,t=e.SampleRate),m&&m.call(this,L,D,t)}function s(e,t,n,i,r){t=JSON.stringify(t),a.isIE()&&9==a.getIEVersion()?u(e,t,n,i,r):c(e,t,n,i,r)}function u(e,t,n,i,a){var o=function(){if(n>0)setTimeout(function(){u(e,t,--n,i,a)},V);else if(a)try{c.responseText?a.call(JSON.parse(c.responseText)):a()}catch(r){throw"Quiz-service: JSON Parse failed on errorCallback inside sendXdrMessage() with text: "+c.responseText}},s=function(){r.logException("quiz-service: sendXdrMessage() failed after the server responded with an error."),o()},c=new XDomainRequest;c.timeout=B,c.open("post",e),c.onprogress=function(){},c.ontimeout=o,c.onerror=s,c.onload=function(){if(i)try{i(JSON.parse(c.responseText),n)}catch(e){throw"Quiz-service: JSON Parse failed on successCallback inside sendXdrMessage() with text: "+c.responseText}},setTimeout(function(){c.send(t)},0)}function c(e,n,i,a,o){var s=function(){i>0?setTimeout(function(){c(e,n,--i,a,o)},V):o&&o(response)},u=function(){r.logException("quiz-service: sendAjaxMessage() failed with server response: "+response.statusText+" : "+response.status),s()};t.ajax({url:e,type:"POST",data:n,contentType:"application/json",crossDomain:!0,timeout:B,error:function(e){"timeout"==e.statusText?s():u()},success:function(e){a&&a(e,i)}})}function l(e,t,n,i,a){if(I)return setTimeout(o,1e3),void 0;var u=P[O].url+N,c={QuizId:e};a.getIsUserIdentified()?c.AccessToken=a.getTechSmithAccessToken():(c.FirstName=t?t:"",c.LastName=n?n:"",c.Email=i?i:"");var l=function(e){r.logMessage("quiz-service: startQuizInstance() failed after "+Q+" retries."),S(e)},d=function(e,t){t&&Q>t&&r.logMessage("quiz-service: startQuizInstance() succeded after "+(Q-t)+" retries."),o(e)};s(u,c,Q,d,l)}function d(t,n,i){if(t){if(I)return setTimeout(e,1e3),void 0;var a=P[O].url+w+"?Quiz-Checksum="+n+"&Quiz-ClientId="+i+"&noop=1",o={DefinitionText:t},u=function(e){r.logMessage("quiz-service: sendQuizDefinitionToApi() failed after "+Q+" retries."),S(e)},c=function(t,n){n&&Q>n&&r.logMessage("quiz-service: sendQuizDefinitionToApi() succeded after "+(Q-n)+" retries."),e(t)};s(a,o,Q,c,u)}}function f(e,t){k=e,_=t;var n=1;if(I){var i={0:{isCorrect:!0},1:{isCorrect:!0},2:{isCorrect:!0,correctAnswer:2}};return setTimeout(function(){t(i)},1e3),void 0}var a=function(){n++,b(),setTimeout(function(){s(u,c,0,o,a)},V)},o=function(e){1!=n&&r.logMessage("quiz-service: sendQuestionSet() succeded after "+n+" retries."),C(),t(e.results)},u=P[O].url+x,c={ResponseText:e};s(u,c,0,o,a)}function p(e,t){if(!I&&L&&t){var n=P[O].url+R,i={InstanceId:L,Interval:e,ViewedSegments:t};s(n,i,0,null,null)}}function g(e){var t='<?xml version="1.0" encoding="UTF-8" ?>';t+='<UserResponse instance="'+L+'" quiz="'+e.quizId+'" order="'+e.order+'" version="'+y+'">';for(var a=e.questions.length,r=0;a>r;r++)t+='<Question type="'+e.questions[r].type+'" id="'+e.questions[r].id+'">',t+="<Duration>"+e.questions[r].duration+"</Duration>",t+="<Response>"+n.htmlEncode(e.questions[r].response)+"</Response>",e.questions[r].type!==i.SHORT&&void 0!==e.questions[r].correct&&(t+="<Correct>"+(e.questions[r].correct?"True":"False")+"</Correct>"),t+="<SegmentWatched>"+e.questions[r].segmentWatched+"</SegmentWatched>",t+="</Question>";return t+="</UserResponse>"}function h(e){var t,a,r,o,s,u,c='<?xml version="1.0" encoding="UTF-8" ?>';for(c+='<QuizDefinition version="'+y+'" quiz="'+e.quizId+'" locale="'+e.lang+'">',c+="<ProjectName>"+n.htmlEncode(e.projectName)+"</ProjectName>",c+="<ProductionName>"+e.productionName+"</ProductionName>",c+="<OriginId>"+e.originId+"</OriginId>",c+="<MediaDuration>"+e.mediaDuration+"</MediaDuration>",c+="<ReportRecipients>",t=0;e.reportRecipients.length>t;t++)c+="<Email>"+e.reportRecipients[t]+"</Email>";for(c+="</ReportRecipients>",c+="<QuestionSets>",o=e.questionSets.length,t=0;o>t;t++){for(c+='<QuestionSet name="'+TSC.textSanitizer.htmlEncode(e.questionSets[t].name)+'" mediaTimePosition="'+e.questionSets[t].mediaTimePosition+'" order="'+e.questionSets[t].order+'">',s=e.questionSets[t].questions.length,a=0;s>a;a++){if(c+='<Question type="'+e.questionSets[t].questions[a].type+'" id="'+e.questionSets[t].questions[a].id+'">',c+="<QuestionText>"+n.htmlEncode(e.questionSets[t].questions[a].questionText,!0)+"</QuestionText>",e.questionSets[t].questions[a].type===i.CHOICE){for(c+="<Choices>",u=e.questionSets[t].questions[a].choices.length,r=0;u>r;r++)c+="<Answer>"+n.htmlEncode(e.questionSets[t].questions[a].choices[r],!0)+"</Answer>";c+="</Choices>",c+="<CorrectAnswer>"+e.questionSets[t].questions[a].correctAnswer+"</CorrectAnswer>"}else if(e.questionSets[t].questions[a].type===TSC.questionType.FILL_IN){for(c+="<Answers>",u=e.questionSets[t].questions[a].choices.length,r=0;u>r;r++)c+="<Answer>"+n.htmlEncode(e.questionSets[t].questions[a].choices[r],!0)+"</Answer>";c+="</Answers>"}c+="</Question>"}c+="</QuestionSet>"}return c+="</QuestionSets>",c+="</QuizDefinition>"}var m,v,A,S,b,C,T,E,y=1,I=!1,w="v/1/quiz/definition",N="v/1/quiz/instance?noop=1",x="v/1/quiz/response?noop=1",R="v/1/quiz/progress?noop=1",P=[];P.push({label:"Local",url:"https://quiz.techsmith.localhost:11443/"}),P.push({label:"Dev",url:"https://quiz.cloud.tsc-dev.co/"}),P.push({label:"Stage",url:"https://quiz.cloud.tsc-stage.co/"}),P.push({label:"Live",url:"https://quiz.cloud.techsmith.com/"}),P.push({label:"TE",url:"https://quizzingtest2.cloud.tsc-dev.co/"});var M,L,k,_,O=3,D=!1,B=3500,Q=2,V=0;return t.support.cors=!0,{setEnvironment:function(e){O=e},getEnvironment:function(){return O},getLastAttemptStatus:function(){return M},startQuizInstance:function(e,t,n,i,a){T(),l(e,t,n,i,a)},submitQuizDefinition:function(e,n,i){"string"==typeof e&&(e=t.parseJSON(e));var a=h(e);return d(a,n,i),a},submitQuestionSet:function(e,n){var i="<error></error>";return L&&("string"==typeof e&&(e=t.parseJSON(e)),i=g(e),f(i,n)),i},sendProgress:function(e,t){p(e,t)},addEventListener:function(e,t){"START_INSTANCE_COMPLETE"===e?m=t:"SEND_DEFINITION_COMPLETE"===e?A=t:"NEED_DEFINITION"===e?v=t:"ERROR"===e?S=t:"SHOW_SUBMISSION_RETRY_MESSAGE"===e?b=t:"HIDE_SUBMISSION_RETRY_MESSAGE"===e?C=t:"SHOW_LOADING_MESSAGE"===e?T=t:"HIDE_LOADING_MESSAGE"===e&&(E=t)},removeEventListener:function(e){"START_INSTANCE_COMPLETE"===e?m=void 0:"SEND_DEFINITION_COMPLETE"===e?A=void 0:"NEED_DEFINITION"===e?v=void 0:"ERROR"===e?S=void 0:"SHOW_SUBMISSION_RETRY_MESSAGE"===e?S=void 0:"HIDE_SUBMISSION_RETRY_MESSAGE"===e?S=void 0:"SHOW_LOADING_MESSAGE"===e?T=void 0:"HIDE_LOADING_MESSAGE"===e&&(E=void 0)}}}()}(this,jQuery,TSC.textSanitizer,TSC.questionType,TSC.deviceInfo,TSC.log),function(e,t,n,i,a){e.TSC=e.TSC||{},e.TSC.fathomParser=function(){"use strict";function e(e){var n,r,o,s,u,c,l,d,f=-1,p=!1,g=[];a.clearAllQuestions(),t(e).find("*").filterNode("rdf:Description").each(function(){var e=t(this).attr("tscIQ:questionSetName");if(e){e=i.htmlEncode(e),p&&(a.addQuestion(f,n,o,s,g,c),p=!1,s=void 0,o=void 0,g=[],c=void 0);var h="1"===t(this).attr("tscIQ:feedback"),m=Number(t(this).attr("xmpDM:startTime"));f=a.addQuestionSet(e,m,h)}else r=t(this).attr("tscIQ:type"),r?(p&&(a.addQuestion(f,n,o,s,g,c),p=!1,p=!1,s=void 0,o=void 0,g=[],c=void 0),o=t(this).attr("tscIQ:id"),n=r,l=t(this).children(),s=i.htmlEncode(t(l[0]).text(),!0),c=i.htmlEncode(t(l[1]).text(),!0),p=!0):(u=t(this).attr("tscIQ:orderId"),u&&(l=t(this).children(),d=t(l[0]).text(),d&&g.push(i.htmlEncode(d,!0))))}),p&&a.addQuestion(f,n,o,s,g,c)}var r,o;return{parseFathom:function(i){var s,u,c=t(i).find("*").eq(2),l=c.attr("dc:title"),d=c.attr("tscDM:originId"),f=c.attr("tscDM:project"),p=t(i).find("*").length;for(r=!1,s=4;p>s;s++)if("xmpDM:Tracks"===t(i).find("*").eq(s)[0].nodeName){u=t(i).find("*").eq(s).children();break}for(var g,h=t(u).find("*").length,m=0;h>m;m++){var v=t(u).find("*").eq(m);if(g=v.attr("xmpDM:trackType"),void 0!==g)switch(g.toLowerCase()){case"quiz":if(a){r=!0;var A=t(v).attr("tscIQ:quizGuid"),S=t(v).attr("tscIQ:reportMethod"),b="1"===t(v).attr("tscIQ:requireUserId"),C="1"===t(v).attr("tscIQ:hideReplay"),T=t(v).attr("tscIQ:authoredEmail"),E=t(v).attr("tscIQ:clientId"),y=t(v).attr("tscIQ:quizHash"),I=t(v).attr("tscIQ:locale");I||(I=n.ENGLISH),a.setLocale(I),a.setProductionMetadata(f,l,d),a.setQuizTitle(l),a.setQuizID(A),a.setReportMethod(S),a.setRequireUserId(b),a.setHideReplay(C),a.setAuthoredEmail(T),a.setClientId(E),a.setQuizHash(y)}o=t(v),m+=o.find("*").length}}r&&e(o)}}}()}(this,jQuery,TSC.languageCodes,TSC.textSanitizer,TSC.quizModel),function(e,t,n,i,a){e.TSC=e.TSC||{},e.TSC.fathomService=function(){"use strict";function e(){g&&g.call()}function r(){h&&h.call()}function o(t){n.parseFathom(t),e()}function s(){if(c)setTimeout(e,1e3);else{var t=d[f].url+l+p+"?noop=1";u(t,v)}}function u(e,n){var s=function(){n>0?setTimeout(function(){u(e,--n)},A):(a.logMessage("fathom-service: getFathom() failed after "+v+" retries."),r())},c=function(e){e&&e.statusText?a.logException("fathom-service: sendRequest() Ajax message failed with server response: "+e.statusText+" : "+e.status):a.logException("fathom-service: sendRequest() XDR message failed after the server responded with an error."),s()},l=function(){v>n&&a.logMessage("fathom-service: getFathom() succeeded after "+(v-n)+" retries.")};if(i.isIE()&&9==i.getIEVersion()){var d=new XDomainRequest;d.timeout=m,d.onprogress=function(){},d.ontimeout=s,d.onerror=c,d.onload=function(){l();var e=new ActiveXObject("Microsoft.XMLDOM");e.loadXML(d.responseText),o(e)},d.open("GET",e),setTimeout(function(){d.send()},0)}else t.ajax({type:"GET",url:e,crossDomain:!0,timeout:m,success:function(e){l(),o(e)},error:function(e){"timeout"==e.statusText?s():c(e)}})}var c,l,d,f,p,g,h,m,v,A;return c=!1,l="/Assessment/Xmp/",d=[],d.push({label:"Local",url:"https://results.localhost:444"}),d.push({label:"Dev",url:"https://results.cloud.tsc-dev.co"}),d.push({label:"Stage",url:"https://results.tsc-stage.co"}),d.push({label:"Live",url:"https://results.techsmith.com"}),d.push({label:"TE",url:"https://fathomtest2.cloud.tsc-dev.co"}),f=3,m=3500,v=2,A=0,{setEnvironment:function(e){isNaN(e)||0>e||e>d.length-1||(f=e)},getEnvironment:function(){return f},getFathom:function(e){p=e,s()},addEventListener:function(e,t){"GET_COMPLETE"===e?g=t:"ERROR"===e&&(h=t)},removeEventListener:function(e){"GET_COMPLETE"===e?g=void 0:"ERROR"===e&&(h=void 0)}}}()}(this,jQuery,TSC.fathomParser,TSC.deviceInfo,TSC.log),function(e,t){e.TSC=e.TSC||{},e.TSC.progressTracker=function(){var n,i,a=!1,r=!1,o=15e3,s=500,u=1e3,c=function(e){var t=e.length;if(1>t)return[];var n,i=[{start:1e3*e.start(0),end:1e3*e.end(0)}],a=0;for(n=1;t>n;n++)i[a].end>=1e3*e.start(n)-s?i[a].end=1e3*e.end(n):(i.push({start:1e3*e.start(n),end:1e3*e.end(n)}),a++);return i},l=function(e){var n,a,r,s,l,d,f,p,h,m=[],v=1e3*e.duration;for(h=c(e.played),n=0;h.length>n;n++)if(r=h[n].start,s=h[n].end,l=u>v-1e3*e.currentTime,!(!l&&o>s-r||(d=Math.floor(r/o),0!=r%o&&(d+=1),f=Math.floor(s/o),l||(f-=1),d>f)))for(a=d;f>=a;a++)m.push(a);t.sendProgress(o,m),p=m.length===Math.ceil(v/o),p&&(g(),e.removeEventListener("play",i,!1))},d=function(e){var t=function(){p(e),g()};e.addEventListener("ended",t,!1),a=!0},f=function(e){i=function(){-1==n&&h(e)},e.addEventListener("play",i,!1),r=!0},p=function(e){e&&(a||d(e),r||f(e),l(e))},g=function(){-1!==n&&(e.clearInterval(n),n=-1)},h=function(t){var i=function(){p(t),t.paused&&(e.clearInterval(n),n=-1)};n=e.setInterval(i,o)},m=function(e,t){a=!1,r=!1,o=t,g(),h(e)};return{start:m}}()}(window,TSC.quizService),function(e,t){e.TSC=e.TSC||{},e.TSC.BubbleView=function(n){"use strict";var i=10,a=48,r=22,o=8,s=45,u=n,c="#tsc_overlay",l=".chat-bubble-arrow-border",d=".chat-bubble-arrow",f='<div id="tsc_overlay"></div>';return{showView:function(){t(u).css("opacity",0),t(u).animate({opacity:1},300)},updateViewPosition:function(){t(u).css("bottom",a+"px")},removeView:function(e,n){t(u).animate({opacity:0},200,function(){void 0!==e&&e.call(),t(u).remove()}),n&&t(c).remove()},getOverlayMarkup:function(){return f},setBottomOffset:function(e){a=e},pointAt:function(n){var a,c,f=e.innerWidth,p=t(u).outerWidth(!0),g=.5*p,h=t(l).css("border-top-width").replace(/px/,""),m=r;0>n-(g+i)?(a=i,c=n-i-h):n+g+i>f?(a=f-(p+i),c=n-a-h):(a=n-g,c=g-h),t(u).css("left",a),t(l).css("left",c),t(d).css("left",c),s>n&&(m=o),t(u).css("border-bottom-left-radius",m+"px"),t(u).css("-webkit-border-bottom-left-radius",m+"px")}}}}(this,jQuery),function(e,t,n,i){e.TSC=e.TSC||{},e.TSC.quizSetupView=function(){"use strict";var e;if(!n||!n.quiz_setup_template)throw Error("quizSetupView: Quiz Setup Template not found.");e=n.quiz_setup_template;var a="#tsc_quiz_setup_container",r="#tsc_begin_button",o="#skip_control",s="#first_name",u="#last_name",c="#email_address",l=function(){var e=t(s).val().replace(/ /g,""),n=t(u).val().replace(/ /g,""),i=t(c).val().replace(/ /g,"");""!==e&&""!==n&&""!==i&&d(i)?t(r).removeAttr("disabled"):t(r).attr("disabled","disabled")},d=function(e){var t=/^(([^<>()[\]\\.,;:\s@\"]+(\.[^<>()[\]\\.,;:\s@\"]+)*)|(\".+\"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/;return t.test(e)};return{getViewMarkup:function(t,n,a,r,o,s){var u={setupMessage:t,firstNamePlaceholder:n,lastNamePlaceholder:a,emailPlaceholder:r,beginButtonText:o,skipControlText:s};return i.isNuevoApp()||(u.useAutofocus=!0),e(u)},getBeginControlRef:function(){return r},getSkipControlRef:function(){return o},getFirstName:function(){return t(s).val()},getLastName:function(){return t(u).val()},getEmail:function(){return t(c).val()},showView:function(){t("input").bind("keyup",l),t("input").bind("change",l),t(a).css("opacity",0),t(a).animate({opacity:1},300),i&&(i.isIE()&&t(a+" label").css("display","block"),i.isNuevoApp()||t(s).focus())},removeView:function(e){t("input").unbind("keyup",l),t("input").unbind("change",l),t(a).animate({opacity:0},200,function(){void 0!==e&&e.call(),t(a).remove()})}}}()}(this,jQuery,TSC.templates,TSC.deviceInfo),function(e,t,n){e.TSC=e.TSC||{},e.TSC.questionSetConfirmationView=function(){"use strict";var e,i=new n("#tsc_confirmation_container"),a="#tsc_review_control",r="#tsc_confirm_control";if(!t||!t.question_set_confirmation_template)throw Error("questionSetConfirmationView: Question Set Confirmation Template not found.");return e=t.question_set_confirmation_template,{getViewMarkup:function(t,n){var a={reviewText:t,confirmationText:n};return e(a)+i.getOverlayMarkup()},getReviewControlRef:function(){return a},getConfirmControlRef:function(){return r},showView:i.showView,removeView:i.removeView,updateViewPosition:i.updateViewPosition,setBottomOffset:i.setBottomOffset,pointAt:i.pointAt}}()}(this,TSC.templates,TSC.BubbleView),function(e,t,n,i,a,r,o){e.TSC=e.TSC||{},e.TSC.questionSetView=function(){"use strict";var s,u,c,l,d,f,p="#tsc_quiz_container";if(!n||!n.question_set_template)throw Error("questionSetView: Question Set Template not found.");if(s=n.question_set_template,!n||!n.question_count_template)throw Error("questionSetView: Question Count Template not found.");if(u=n.question_count_template,!n||!n.question_text_template)throw Error("questionSetView: Question Text Template not found.");
if(c=n.question_text_template,!n||!n.choice_answer_template)throw Error("questionSetView: Multiple Choice Answer Template not found.");if(l=n.choice_answer_template,!n||!n.fill_answer_template)throw Error("questionSetView: Fill In The Blank Answer Template not found.");if(d=n.fill_answer_template,!n||!n.short_answer_template)throw Error("questionSetView: Short Answer Template not found.");f=n.short_answer_template;var g="#tsc_previous_button",h="#tsc_next_button",m="#tsc_submit_button",v="#tsc_continue_button",A="#tsc_quiz_controls",S="#tsc_quiz_question_count",b="#tsc_question",C="#tsc_answers",T="#tsc_question_set_result_info",E=new i(p),y="data:image/png;base64,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",I="data:image/png;base64,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 2KUAAAAASUVORK5CYII=",w="data:image/png;base64,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",N=400,x=function(e,t,n,i){var r,s={},u=1;if(a.isNuevoApp()&&(i=!1),e===o.CHOICE){r=l,s.answers=[],s.placeHolderImg=y;for(var c=t.length,p=0;c>p;p++)n&&p===Number(n)?s.answers.push({answerIndex:p,tabIndex:u,answer:t[p],isChecked:!0}):s.answers.push({answerIndex:p,tabIndex:u,answer:t[p]}),u++}else e===o.FILL_IN?(r=d,s.userResponse=n,i&&(s.useAutofocus="true")):e===o.SHORT&&(r=f,s.userResponse=n,i&&(s.useAutofocus="true"));return r(s)},R=function(e,t){var n={questionNumber:e,questionText:t};return c(n)},P=function(e,t,n){var i={currentQuestionNumber:e,totalQuestions:t,prepositionText:n};return u(i)},M=function(){var n,i,a=t(e).height(),r=N>=a;if(t(p).css("max-height","none"),t(C).css("max-height","none"),r){var o=t(A).offset().top;n=t(C).outerHeight(!0);var s=t(C).offset().top;s+n>o&&(n-=s+n-o,t(C).css("max-height",n+"px"))}else{var u=t(p).css("bottom").replace(/px/,""),c=10,l=t(p).outerHeight(!0),d=l,f=Number(u)+Number(l)+c+6;if(f>a){var g=f-a;n=t(C).outerHeight(!1),i=n-g-8,t(C).css("max-height",i+"px"),d=d-(f-a)-u,t(p).css("max-height",d+"px")}}};return{getViewMarkup:function(e,t,n,i,a,r){var o={questionSetTitle:e,previousButtonName:t,nextButtonName:n,submitButtonName:i,continueButtonName:a},u=s(o);return r&&(u+=E.getOverlayMarkup()),u},configureControls:function(e,n,i,a){e.visible?(t(g).css("display","inline"),e.disabled?t(g).attr("disabled","disabled"):t(g).removeAttr("disabled")):t(g).css("display","none"),n.visible?(t(h).css("display","inline"),n.disabled?t(h).attr("disabled","disabled"):t(h).removeAttr("disabled")):t(h).css("display","none"),i.visible?(t(m).css("display","inline"),i.disabled?t(m).attr("disabled","disabled"):t(m).removeAttr("disabled")):t(m).css("display","none"),a.visible?(t(v).css("display","inline"),a.disabled?t(v).attr("disabled","disabled"):t(v).removeAttr("disabled")):t(v).css("display","none")},showControls:function(){"hidden"===t(A).css("visibility")&&(t(A).css("visibility","visible"),t(A).css("opacity",0),t(A).animate({opacity:1},300))},hideControls:function(){"visible"===t(A).css("visibility")&&t(A).css("visibility","hidden")},showResponse:function(e){t(C).css("opacity",0),t(C).stop().animate({opacity:1},400,function(){"autofocus"in document.createElement("input")||a.isNuevoApp()||(e===o.FILL_IN?t(C+" input")[0].focus():e===o.SHORT&&t(C+" textarea")[0].focus())}),e===o.CHOICE&&a.isTouchInterface()&&t(".tsc_multiple_choice").removeClass("active_quiz_item")},displayQuestion:function(e,n,i,a,r,o,s,u){t(S).html(P(a,o,r)),t(b).html(R(a,n)),t(C).html(x(e,i,s,!u)),M()},disableResponseUI:function(e){e===o.CHOICE?t(C+" input").attr("disabled",!0):e===o.FILL_IN?t(C+" input").attr("disabled",!0):e===o.SHORT&&t(C+" textarea").attr("disabled",!0)},showFeedback:function(e){t(T).html(e),t(T).show()},showResponseFillInFeedback:function(e){e?t(C).prepend("<img src='"+I+"' class='image_fitb_feedback' />"):t(C).prepend("<img src='"+w+"' class='image_fitb_feedback' />"),t(C+" img").css("opacity",0),t(C+" img").animate({opacity:1},200)},showResponseChoiceFeedback:function(e,n,i){i&&(t("label img").removeClass("feedback_placeholder"),Number(e)===Number(n)?(t(C+" label:eq("+e+") img").remove(),t(C+" label:eq("+e+")").prepend("<img src='"+I+"' class='image_feedback' />"),t(C+" label:eq("+e+") img").css("opacity",0),t(C+" label:eq("+e+") img").animate({opacity:1},200)):(t(C+" label:eq("+e+") img").remove(),t(C+" label:eq("+n+") img").remove(),t(C+" label:eq("+n+")").prepend("<img src='"+I+"' class='image_feedback' />"),t(C+" label:eq("+e+")").prepend("<img src='"+w+"' class='image_feedback' />"),t(C+" label:eq("+e+") img").css("opacity",0),t(C+" label:eq("+e+") img").animate({opacity:1},200),t(C+" label:eq("+n+") img").css("opacity",0),t(C+" label:eq("+n+") img").animate({opacity:1},200))),t(C+" input").hide(),e&&t(C+" label:eq("+e+")").addClass("picked_quiz_item")},getPreviousControlsRef:function(){return g},getNextControlsRef:function(){return h},getSubmitControlsRef:function(){return m},getContinueControlsRef:function(){return v},getResponseLabelRef:function(){return C+" label"},getResponseInputRef:function(){return C+" input"},getResponseTextAreaRef:function(){return C+" textarea"},getResponseInputValue:function(){return r.htmlEncode(t(C+" input").val())},getResponseTextAreaValue:function(){var e=r.htmlEncode(t(C+" textarea").val().replace(/^[ \t]+|[ \t]+$/,""));if(a.isIE()){var n=t(C+" textarea").attr("maxlength");n&&e.length>n&&(e=e.substring(0,n))}return e},getResponseListSelectedIndex:function(){return t("input[name=tsc_multiple_choice]:checked").val()},showView:function(){t(p).show(),M(),E.showView()},removeView:E.removeView,updateViewPosition:E.updateViewPosition,setBottomOffset:E.setBottomOffset,pointAt:function(e){E.pointAt(e),M()}}}()}(this,jQuery,TSC.templates,TSC.BubbleView,TSC.deviceInfo,TSC.textSanitizer,TSC.questionType),function(e,t,n){e.TSC=e.TSC||{},e.TSC.reviewAnswersConfirmationView=function(){"use strict";var e,i=new n("#tsc_review_confirmation_container");if(!t||!t.question_set_review_confirmation_template)throw Error("reviewAnswersConfirmationView: Review Answer Confirmation View Template not found.");e=t.question_set_review_confirmation_template;var a="#tsc_continue_control",r="#tsc_review_answers_control";return{getViewMarkup:function(t,n){var i={continueText:t,reviewAnswerText:n};return e(i)},getContinueControlRef:function(){return a},getReviewControlRef:function(){return r},showView:i.showView,removeView:i.removeView,updateViewPosition:i.updateViewPosition,setBottomOffset:i.setBottomOffset,pointAt:i.pointAt}}()}(this,TSC.templates,TSC.BubbleView),function(e){e.TSC=e.TSC||{},e.TSC.quizMarker=function(){"use strict";var e="#ffffff",t=3;return{setColor:function(t){e=t},getColor:function(){return e},setSize:function(e){t=e},getSize:function(){return t}}}()}(this),function(e,t){e.TSC=e.TSC||{},e.TSC.xmpGrader=function(){"use strict";var e=function(e,n,i,a){var r=e.getQuestionType(n,i);if(r===t.CHOICE){var o,s=e.getQuestionAnswer(n,i);o=isNaN(parseInt(a))?!1:1<<Number(a)===Number(s),e.setIsResponseCorrect(n,i,o),e.setIsQuestionGraded(n,i,s&&s>0)}else if(r===t.FILL_IN){var u=a.toLowerCase(),c=e.getQuestionChoices(n,i),l=c?c.length:0;e.setIsQuestionGraded(n,i,l>0);for(var d=0;l>d;d++)if(u===c[d].toLowerCase()){e.setIsResponseCorrect(n,i,!0);break}}};return{gradeQuestionSet:function(t,n){for(var i=t.numberQuestionsInSet(n),a=0;i>a;a++){var r=t.getQuestionResponse(n,a);e(t,n,a,r)}},doesLocalGrading:!0}}()}(this,TSC.questionType),function(e){e.TSC=e.TSC||{},e.TSC.fathomGrader=function(){"use strict";return{processQuestionSetResults:function(e,t,n){for(var i=e.numberQuestionsInSet(t),a=0;i>a;a++){var r=e.getQuestionApiId(t,a),o=n[r];void 0!==o&&(e.setIsResponseCorrect(t,a,o.isCorrect),e.setQuestionAnswer(t,a,o.correctAnswer),e.setIsQuestionGraded(t,a,o.isGraded))}},doesLocalGrading:!1}}()}(this),function(e,t,n,i,a,r,o,s,u,c,l,d,f,p){e.TSC=e.TSC||{},e.TSC.quizController=function(){"use strict";var g,h,m,v,A,S,b,C,T,E,y,I,w,N,x,R,P,M,L=0,k=0,_=0,O=0,D=7,B=0,Q=!1,V=!0,q=!1,G=0,F=0,U=!0,H="",z=3e4,W=function(e){m=e,L=m.numberQuestionSets(),k=m.numberQuestionsInSet(0)},J=function(){S&&S.call(this,{type:"BEGIN"})},Y=function(){b&&b.call(this,{type:"SKIP"})},j=function(){m.getUseScorm()&&userSubmitToLMS&&userSubmitToLMS(m.getScormScore(),m.getLastQuestionComplete(O))},K=function(){m.setQuestionSetComplete(O),O=-1},Z=function(){v&&v.call(this,{type:"COMPLETE"})},X=function(){K(),t(a.getPreviousControlsRef()).unbind("click",rt),t(a.getNextControlsRef()).unbind("click",ot),t(a.getSubmitControlsRef()).unbind("click",ft),t(a.getContinueControlsRef()).unbind("click",X),a.removeView(Z,!0),g=void 0},$=function(e){if(!Q)if(e===c.CHOICE){var t=a.getResponseListSelectedIndex();t&&m.setQuestionResponse(O,_,t)}else if(e===c.FILL_IN){var n=a.getResponseInputValue();n&&""!==n&&m.setQuestionResponse(O,_,n)}else if(e===c.SHORT){var i=a.getResponseTextAreaValue();i&&""!==i&&m.setQuestionResponse(O,_,i)}},et=function(e){T&&(H=e,T.call(this,{type:"STATUS",message:e}))},tt=function(){E&&E.call(this,{type:"SUBMITTED"})},nt=function(){i.isNuevoApp()&&t(e).scrollTop(0)},it=function(){var e=m.getQuestionType(O,_),i=m.getQuestionText(O,_),r=m.getQuestionChoices(O,_),o=m.getQuestionResponse(O,_);a.displayQuestion(e,i,r,Number(_+1),n.getQuestionCountPreposition(),k,o,Q);var s=!(1===k),u=!(1===k),l=_!==k-1||Q?!1:!0,d=Q,f=0===_?!0:!1,p=_===k-1?!0:!1;if(a.configureControls({visible:s,disabled:f},{visible:u,disabled:p},{visible:l},{visible:d}),Q)if(a.showResponse(),a.disableResponseUI(e),e===c.CHOICE){for(var g=a.getResponseListSelectedIndex(),h=m.getQuestionAnswer(O,_),v=-1,A=m.getQuestionChoices(O,_).length,S=0;A>S;S++)if(1<<S===Number(h)){v=S;break}a.showResponseChoiceFeedback(g,v,h>0),t(a.getResponseLabelRef()).removeClass("active_quiz_item")}else e===c.FILL_IN&&m.getIsQuestionGraded(O,_)&&a.showResponseFillInFeedback(m.getIsResponseCorrect(O,_));else a.showResponse(e),G=(new Date).getTime()},at=function(){F=(new Date).getTime(),m.addDurationToQuestion(O,_,F-G)},rt=function(){var e=m.getQuestionType(O,_);$(e),at(),_--,it()},ot=function(){var e=m.getQuestionType(O,_);$(e),at(),_++,it()},st=function(e,t,i){var a="";if(t>0){var r=1===e?"txtCorrectAnswer":"txtCorrectAnswers";a=n.getString(r),a=a.replace(/{{numberCorrect}}/,e)}if(i>0&&t>0){""!==a&&(a+=" ");var r=1===i?"txtUngradedQuestion":"txtUngradedQuestions";a+=n.getString(r),a=a.replace(/{{numberUngraded}}/,i)}return a},ut=function(){Q=!0,k=m.numberQuestionsInSet(O);var e=a.getViewMarkup(m.getQuestionSetTitle(O),n.getString("txtPrev"),n.getString("txtNext"),n.getString("txtSubmit"),n.getString("txtContinue"));h.append(e),g=a,Tt(),x&&g.pointAt(x),t(a.getPreviousControlsRef()).bind("click",rt),t(a.getNextControlsRef()).bind("click",ot),t(a.getSubmitControlsRef()).bind("click",ft),t(a.getContinueControlsRef()).bind("click",X);var i=m.getNumberOfCorrectInQuestionSet(O),r=m.getTotalNumberOfGradableInQuestionSet(O),o=m.getTotalNumberOfUngradableInQuestionSet(O),s=st(i,r,o);""!==s&&a.showFeedback(s),_=0,it(),a.showView(),a.updateViewPosition()},ct=function(){K(),t(s.getContinueControlRef()).unbind("click",ct),t(s.getReviewControlRef()).unbind("click",lt),s.removeView(Z,!0),g=void 0},lt=function(){t(s.getContinueControlRef()).unbind("click",ct),t(s.getReviewControlRef()).unbind("click",lt),s.removeView(ut,!1),g=void 0},dt=function(){var e=s.getViewMarkup(n.getString("txtContinue"),n.getString("txtReviewAnswer"));h.append(e),g=s,Tt(),x&&g.pointAt(x),t(s.getContinueControlRef()).bind("click",ct),t(s.getReviewControlRef()).bind("click",lt),s.showView(),s.updateViewPosition()},ft=function(){t(TSC.questionSetView.getSubmitControlsRef()).attr("disabled","disabled"),t("#tsc_quiz_container").css("z-index",8),at();var e=m.getQuestionType(O,_);$(e),P.doesLocalGrading&&P.gradeQuestionSet(m,O),M=!0,m.getUseQuizApi()&&(et(n.getString("txtSubmittingAnswers")),u.submitQuestionSet(m.getApiDataForQuestionSet(O),pt)),m.getUseScorm()&&j(),(i.isLocal()||!m.getUseQuizApi())&&pt()},pt=function(e){if(M=!1,tt(),!P.doesLocalGrading&&m.getUseQuizApi()){if(void 0===e)return Nt(),X(),void 0;P.processQuestionSetResults(m,O,e)}m.getDisplayFeedback(O)?g.removeView(dt,!1):X()},gt=function(e){Q=!1,_=0,k=m.numberQuestionsInSet(O);var i=a.getViewMarkup(m.getQuestionSetTitle(O),n.getString("txtPrev"),n.getString("txtNext"),n.getString("txtSubmit"),n.getString("txtContinue"),e);h.append(i),g=a,Tt(),x&&g.pointAt(x),t(a.getPreviousControlsRef()).bind("click",rt),t(a.getNextControlsRef()).bind("click",ot),t(a.getSubmitControlsRef()).bind("click",ft),t(a.getContinueControlsRef()).bind("click",X),it(),a.showView(),a.updateViewPosition()},ht=function(){g.removeView(void 0,!0),g=void 0,A&&A.call(this,{type:"REVIEW"})},mt=function(){L>O&&gt(!1)},vt=function(){g.removeView(mt),g=void 0},At=function(){var e;e=U?n.getString("txtReview"):n.getString("txtContinue");var i=r.getViewMarkup(e,n.getString("txtAnswerQuestion"));h.append(i),g=r,Tt(),m.getHideReplay()===!0&&t(r.getReviewControlRef()).hide(),t(r.getReviewControlRef()).bind("click",ht),t(r.getConfirmControlRef()).bind("click",vt),r.showView(),r.updateViewPosition()},St=function(e){m.getUseQuizApi()?(yt(o.getFirstName(),o.getLastName(),o.getEmail()),g.removeView()):g.removeView(J),g=void 0,e.preventDefault()},bt=function(e){V=!1,i.isIPad()||i.isAndroid()?(g.removeView(),Y()):g.removeView(Y),g=void 0,e.preventDefault()},Ct=function(){var e=n.getString("txtRequiredMessage"),i=n.getString("txtFirstName"),a=n.getString("txtLastName"),r=n.getString("txtEmail"),s=n.getString("txtBegin"),u=n.getString("txtSkip"),c=o.getViewMarkup(e,i,a,r,s,u);h.append(c),g=o,t(o.getBeginControlRef()).bind("click",St),m.getAllowSkipQuiz()?t(o.getSkipControlRef()).bind("click",bt):t(o.getSkipControlRef()).hide(),o.showView()},Tt=function(){g&&g.setBottomOffset&&(g.setBottomOffset(B),g.updateViewPosition())},Et=function(){q=!0,J()},yt=function(e,t,n){u.startQuizInstance(m.getQuizID(),e,t,n,f),(i.isIPad()||i.isAndroid())&&J()},It=function(e,t,i){i&&i>0&&(z=i),t?(et(n.getString("txtLoaderMessageDefinition")),u.submitQuizDefinition(d.getQuizDefinition(),d.getQuizHash(),d.getClientId())):Et()},wt=function(){Et()},Nt=function(){V=!1,M&&pt(),C.call(this,{type:"ERROR"})};return{init:function(e,n){U=e,R=n,m.getUseQuizApi()?(u.addEventListener("START_INSTANCE_COMPLETE",It),u.addEventListener("SEND_DEFINITION_COMPLETE",wt),u.addEventListener("ERROR",Nt),u.addEventListener("SHOW_LOADING_MESSAGE",w),u.addEventListener("HIDE_LOADING_MESSAGE",N),u.addEventListener("SHOW_SUBMISSION_RETRY_MESSAGE",y),u.addEventListener("HIDE_SUBMISSION_RETRY_MESSAGE",I),m.getRequireUserId()&&!f.getIsUserIdentified()?Ct():yt()):(q=!0,J()),i.isNuevoApp()&&(t("body").on("blur","#tsc_quiz_container input",nt),t("body").on("blur","#tsc_quiz_container textarea",nt))},getQuizReady:function(){return q},getAnalyticsSampleRate:function(){return z},getLastStatusMessage:function(){return H},setQuestionData:function(e){W(e)},setViewContainer:function(e){h=t(e)},displayNextQuestionSet:function(){L>O&&gt(!0)},quizEnabled:function(){return V},viewOpen:function(){return void 0!==g},findQuestionSet:function(e){for(var t=-1,n=-1,i=d.getQuestionSetMarkerTimes(),a=i.length,r=0;a>r;r++)if(U&&e>=i[r].time||e>=i[r].rangeStart&&i[r].rangeEnd>=e){t=i[r].quesitonSetId,n=i[r].time;break}return{id:t,markerTime:n}},findPrevMarkerTimeForMarker:function(e){return m.getPreviousMarkerTimeForMarker(e)},updatePercentWatchedForQuestionSet:function(e,t){m.updatePercentageWatchedForQuestionSet(e,t)},drawMarkers:function(e,t,n,i){if(V){var a=d.getQuestionSetMarkerTimes(),r=a.length,o=Math.round(i/2),s=0,u=0;t.clearRect(0,0,n,i);for(var c=0;r>c;c++)u=a[c].time/e,s=Math.round(n*u),t.fillStyle=l.getColor(),t.beginPath(),t.arc(s,o,l.getSize(),0,2*Math.PI,!0),t.closePath(),t.fill()}},displayConfirm:function(e){g||(O=e,U&&m.getQuestionSetMarkerTime(e)<=m.getMinMarkerTimeDiff()?gt(!0):At())},addEventListener:function(e,t){"COMPLETE"===e?v=t:"REVIEW"===e?A=t:"BEGIN"===e?S=t:"SKIP"===e?b=t:"ERROR"===e?C=t:"STATUS"===e?T=t:"SUBMITTED"===e?E=t:"SHOW_SUBMISSION_RETRY_MESSAGE"===e?y=t:"HIDE_SUBMISSION_RETRY_MESSAGE"===e?I=t:"SHOW_LOADING_MESSAGE"===e?w=t:"HIDE_LOADING_MESSAGE"===e&&(N=t)},removeEventListener:function(e){"COMPLETE"===e?v=void 0:"REVIEW"===e?A=void 0:"BEGIN"===e?S=void 0:"SKIP"===e?b=void 0:"ERROR"===e?C=void 0:"STATUS"===e?T=void 0:"SUBMITTED"===e?E=void 0:"SHOW_LOADING_MESSAGE"===e?w=void 0:"HIDE_LOADING_MESSAGE"===e&&(N=void 0)},pointViewAt:function(e){x=e,g&&g.pointAt&&g.pointAt(x)},setViewControlBarOffset:function(e){B=e+D,Tt()},setQuestionGrader:function(e){P=e},startTrackingProgress:function(){p.start(R(),z)}}}()}(this,jQuery,TSC.localizationStrings,TSC.deviceInfo,TSC.questionSetView,TSC.questionSetConfirmationView,TSC.quizSetupView,TSC.reviewAnswersConfirmationView,TSC.quizService,TSC.questionType,TSC.quizMarker,TSC.quizModel,TSC.playerConfiguration,TSC.progressTracker),function(e){e.TSC=e.TSC||{},e.TSC.videoAnalytics=function(){"use strict";var e,t,n,i,a,r,o,s=3e4,u=0,c=[{duration:3e5,segmentLength:2e3},{duration:18e5,segmentLength:5e3}],l=0,d=!1;return{setVideoLoadStartTime:function(t){e=t},setVideoLoadEndTime:function(e){t=e},getVideoLoadTime:function(){var n=0;return e&&t&&(n=t-e),n},getNumberSegments:function(){return i},setCurrentPlayTime:function(e){r=e},getCurrentPlayTime:function(){return r},getNumberWatchedSegments:function(){return l},isPercentWatchedInitialized:function(){return u>0},clearPercentWatched:function(){u=0},initPercentWatched:function(e){if(!(0>=e)){u=e,n=s;for(var t=0;c.length>t;t++)if(c[t].duration>=e){n=c[t].segmentLength;break}for(a=[],i=Math.ceil(e/n),t=0;i>t;t++)a.push(!1);l=0}},markTimeWatched:function(e){e>u||(r=e/1e3,o=Math.floor(e/n),0>o||o>=i||a[o]||(l++,a[o]=!0))},getPercentageWatched:function(){return i&&i>0?l/i:0},getPercentageWatchedForVideoSegment:function(e,t){var i=0;if(u>0&&t>=e){for(var r=Math.floor(e/n),o=Math.floor(t/n),s=0,c=o-r+1,l=r;o>=l;l++)a[l]&&s++;i=s/c}return i},setEnabled:function(e){d=e},isEnabled:function(){return d}}}()}(this),function(e){e.TSC=e.TSC||{},e.TSC.mediaType=function(){"use strict";return{WEBM:"webm",H264:"h264",OGG:"ogg",YOUTUBE:"youtube",JPG:"jpg",PNG:"png",GIF:"gif",UNKNOWN:"unknown",NOT_AVAILABLE:"not available",MULTIPLE_TYPES:"multiple types"}}()}(this),function(e){e.TSC=e.TSC||{},e.TSC.rtfParser=function(){"use strict";function e(e){var t="par ";return e.toLowerCase()==t}function t(e,t){void 0===t&&(t=0);
var n="a",i="z",a=n.charCodeAt(),r=i.charCodeAt(),o=-1;if(e)for(o=e.indexOf(d,t);-1!=o;){if(e.length>o+1){var s=e.toLowerCase().charCodeAt(o+1);if(s>=a&&r>=s)break}o=e.indexOf(d,o+1)}return o}function n(n,a){void 0===a&&(a=0);for(var r=t(n,a);-1!=r;){var o=i(n,r);if(o&&!e(o))break;r=t(n,r+1)}return r}function i(e,t){var n;if(-1!=t){var i=e.indexOf(p,t+1);if(-1!=i){var a=i+1-(t+1);n=e.substr(t+1,a)}else n=e.substr(t+1)}return n}function a(e,t){for(var n="",i=[],a=t.pop();a&&a!=e&&t.length;)n+=d+a,i.push(o(a)),t.length&&(a=t.pop());for(n+=d+e;i.length;){var r=i.pop();r&&(n+=d+r,t.push(o(r)))}return n}function r(e){return-1!=e.indexOf(f)}function o(e){var t;return""!=e&&(r(e)?t=e.substr(0,e.indexOf(f)):(-1!=e.indexOf(g)&&(t=e.substr(0,e.indexOf(g))),t+=f),t+=g),t}function s(e,t){var n=e;if(-1!=t&&n&&n.length>t){var i=n.indexOf(p,t);n=-1!=i?n.substr(0,t)+n.substr(i+1):n.substr(0,t)}return n}function u(e){for(var t=" ",n=e;n.length>1&&n.charAt(0)==t;)n=n.substr(1);for(;n.length>1&&n.charAt(n.length-1)==t;)n=n.substr(0,n.length-1);return n==t&&(n=""),n}function c(s){var u=s;if(u)for(var c=[],l=n(u);-1!==l;){var d=i(u,l);if(d&&r(d)){var f=a(d,c),g=u.indexOf(p,l);u=-1!==g?u.substr(0,l)+f+u.substr(g+1):u.substr(0,l)+f,l+=f.length}else d&&!e(d)&&c.push(o(d)),l=Number(l)+1;l=t(u,l)}return u}function l(e){var t=e;if(t)for(var a=1;a>0;){a=0;for(var r=n(t);-1!=r;){var c=n(t,r+1),l=i(t,r);if(l&&-1!=c){var d=o(l),f=i(t,c);if(f&&f==d){var p=r+1+l.length,g=t.substr(p,c-p);u(g).length||(t=s(t,c),t=s(t,r),c-=l.length+1,a++)}}r=c}}return t}var d="\\",f="0",p=" ",g=" ";return{NestAndCleanUpTags:function(e){var t=e;return t&&(t=c(t),t=l(t)),t}}}()}(this),function(e){e.TSC=e.TSC||{},e.TSC.textFormatter=function(){"use strict";return{rtfToText:function(e){var t=!1;return-1!=e.indexOf("{\\rtf1")&&(e=e.split("{\\rtf1 ").join(""),t=!0),e=e.split("\\i ").join(""),e=e.split("\\i0 ").join(""),e=e.split("\\b ").join(""),e=e.split("\\b0 ").join(""),e=e.split("\\ul ").join(""),e=e.split("\\ul0 ").join(""),e=e.split("\\par ").join(""),e=e.split("\\{").join("{"),e=e.split("\\}").join("}"),e=e.split("\\\\").join("\\"),t&&"}"==e.charAt(e.length-1)&&(e=e.substr(0,e.length-1)),e},rtfToHTML:function(e){e=TSC.rtfParser.NestAndCleanUpTags(e),e=e.split("<").join("&lt;"),e=e.split(">").join("&gt;");var t=!1;return-1!=e.indexOf("{\\rtf1")&&(e=e.split("{\\rtf1 ").join(""),t=!0),e=e.split("\\i0 ").join("</i>"),e=e.split("\\b0 ").join("</b>"),e=e.split("\\ul0 ").join("</u>"),e=e.split("\\i ").join("<i>"),e=e.split("\\b ").join("<b>"),e=e.split("\\ul ").join("<u>"),e=e.split("\\par ").join("<br/>"),e=e.split("\\{").join("{"),e=e.split("\\}").join("}"),e=e.split("\\\\").join("\\"),t&&"}"==e.charAt(e.length-1)&&(e=e.substr(0,e.length-1)),e=e.split("&lt;br&gt;").join("<br/>"),e=e.split("&lt;BR&gt;").join("<br/>")}}}()}(this),function(e,t,n,i,a,r){e.TSC=e.TSC||{},e.TSC.mediaList=function(){"use strict";function e(e){return d(e)}function o(){if(C=0,-1!=m[0].toLowerCase().indexOf(S))T=!0,s(i.getUnicodeSafeString(m[0]));else{T=!1;for(var n,a=[],r=[],o=0;m.length>o;o++){n=m[o];var u={mediaSrc:n};a.push(u),r.push(e(u))}b.push(a),t.when.apply(t,r).done(function(){v&&v.call()})}}function s(e){t.ajax({type:"GET",url:e,isLocal:!0,dataType:"text",success:u,error:c})}function u(n){b=n.split(/\r?\n/g);for(var a=b.length-1,r=[],o=a;o>=0;o--)if(""===b[o])b.splice(o,1);else{var s={mediaSrc:i.getUnicodeSafeString(b[o])};b[o]=s,r.push(e(s))}t.when.apply(t,r).done(function(){v&&v.call()})}function c(){"string"==typeof TSC.embedded_playlist?u(TSC.embedded_playlist):A&&A.call()}function l(e){var t=a.UNKNOWN;switch(e){case r.WEBM:t=a.WEBM;break;case r.MP4:t=a.H264;break;case r.OGG:t=a.OGG;break;case r.JPG:t=a.JPG;break;case r.PNG:t=a.PNG;break;case r.GIF:t=a.GIF;break;default:}return t}function d(e){var n=t.Deferred();e.mediaMimeType=r.UNKNOWN,e.mediaType=a.UNKNOWN;var i=g(e.mediaSrc);return i!==a.UNKNOWN?(e.mediaType=i,e.mediaMimeType=f(i),n.resolve()):p(e.mediaSrc).then(function(t){e.mediaMimeType=t,e.mediaType=l(t),n.resolve()},function(){n.resolve()}),n}function f(e){var t=r.UNKNOWN;switch(e){case a.WEBM:t=r.WEBM;break;case a.H264:t=r.MP4;break;case a.OGG:t=r.OGG;break;case a.JPG:t=r.JPG;break;case a.PNG:t=r.PNG;break;case a.GIF:t=r.GIF;break;default:}return t}function p(e){return t.ajax({type:"HEAD",url:e,done:function(){var e=this.getResponseHeader("content-type")||r.UNKNOWN;defer.resolve(e)},fail:function(){defer.resolve(r.UNKNOWN)}})}function g(e){var t=a.UNKNOWN,n=/youtu(?:\.be|be\.com)\//;if(n.test(e))return a.YOUTUBE;var i=e.split(".");if(i.length>0){var r=i.pop().toLowerCase();switch(r){case"webm":t=a.WEBM;break;case"mp4":case"m4v":case"mov":t=a.H264;break;case"ogv":t=a.OGG;break;case"jpg":case"jpeg":t=a.JPG;break;case"png":t=a.PNG;break;case"gif":t=a.GIF;break;default:}}return t}function h(e){return e===a.GIF||e===a.JPG||e===a.PNG}var m,v,A,S=".m3u",b=[],C=0,T=!1;return{init:function(e){m=e,o()},clear:function(){b=[],C=0,m=void 0},getCurrentMedia:function(){var e=void 0;return b.length>0&&(e=b[C]),e},getCurrentMediaIndex:function(){return C},setCurrentMedia:function(e){"next"===e?b.length-1>C&&C++:"previous"===e?C>0&&C--:Number(e)>=0&&Number(e)<b.length&&(C=Number(e))},getMediaList:function(){return b},getMediaIndexBySrc:function(e){for(var t=C,n=0;b.length>n;n++)if(T){if(b[n].mediaSrc===e){t=n;break}}else for(var i=0;b[n].length>i;i++)if(b[n][i].mediaSrc===e){t=n;break}return t},getMediaType:function(){var e=a.NOT_AVAILABLE;if(b.length>0)if(e=a.UNKNOWN,T)e=b[C].mediaType;else{var t=b[C].length;e=1===t?b[C][0].mediaType:a.MULTIPLE_TYPES}return e},isMediaTypeAvailable:function(e){var t=!1;if(b.length>0)if(T)t=e===b[C].mediaType;else for(var n=b[C].length,i=0;n>i&&!(t=e===b[C][i].mediaType);i++);return t},isPlaylist:function(){return T},onFirstMedia:function(){return 0===C},onLastMedia:function(){return C+1===b.length},getErrorMessage:function(){return n.getString("playlistLocalError")},addEventListener:function(e,t){"READY"===e?v=t:"ERROR"===e&&(A=t)},removeEventListener:function(e){"READY"===e?v=void 0:"ERROR"===e&&(A=void 0)},hasImage:function(){var e=!1,t=0;if(b.length>0)if(T)e=h(b[C].mediaType);else{t=b[C].length;for(var n=0;t>n;n++)if(h(b[C][n].mediaType)){e=!0;break}}return e}}}()}(this,jQuery,TSC.localizationStrings,TSC.playerConfiguration,TSC.mediaType,TSC.mediaMimeType),function(e,t,n,i,a,r){"use strict";e.TSC=e.TSC||{},e.TSC.mediaPlayerController=function(){function e(){var e=i.hasImage(),o=i.isMediaTypeAvailable(a.WEBM)&&r.canPlayWebM(),s=i.isMediaTypeAvailable(a.H264)&&r.canPlayMP4(),u=i.isMediaTypeAvailable(a.OGG)&&r.canPlayOgg(),c=i.isMediaTypeAvailable(a.YOUTUBE),l=swfobject.hasFlashPlayerVersion(n.getMinFlashPlayerVersion())&&i.isMediaTypeAvailable(a.H264),d=r.isIE()&&9==r.getIEVersion(),f=r.isIE()&&10==r.getIEVersion();return c?t.YOUTUBE:l&&(n.getForceFlashPlayer()||d||f)?t.FLASH_VIDEO:o||s||u?t.HTML5_VIDEO:l?t.FLASH_VIDEO:e?t.IMAGE:t.NOT_SUPPORTED}var o;return{getPlayerType:function(){return o||(o=e())},clearPlayerType:function(){o=void 0}}}()}(this,TSC.playerType,TSC.playerConfiguration,TSC.mediaList,TSC.mediaType,TSC.deviceInfo),function(e,t,n){e.TSC=e.TSC||{},e.TSC.iFrameBridge=function(){return{postMessage:function(i,a,r){var o={};o.smartPlayerEventName=i,n.getEmbedIFrameId()&&(o.iFrameId=n.getEmbedIFrameId()),r&&(o.data=r),e.top.postMessage(t.stringify(o),a)}}}()}(this,JSON,TSC.playerConfiguration),function(e,t,n,i,a){e.TSC=e.TSC||{},e.TSC.queryParamsStripper=function(){function r(e){var t=e.slice(e.indexOf("?")+1).split("&");t&&t.length>0&&n.saveConfigurationFromQueryString(t)}function o(){t.addCallback("PARENT-URL-PARAMS",s),i.postMessage("GET-EMBEDDED-URL-VARS","*")}function s(e){t.removeCallback("PARENT-URL-PARAMS"),r(e)}return{strip:function(){r(a.getLocationHref()),e.top!=e&&o()}}}()}(this,TSC.externalMessageController,TSC.playerConfiguration,TSC.iFrameBridge,TSC.windowWrapper),function(e,t){e.TSC=e.TSC||{},e.TSC.ioOverlayView=function(){"use strict";var e,n="#tsc_io_container";if(!t||!t.io_overlay_view_template)throw Error("ioOverlayView: IO Overlay View Template not found.");e=t.io_overlay_view_template;var i="data:image/gif;base64,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 Cwg1RAAAOwAAAAAAAAAAAA==",a=!1;return{getViewMarkup:function(t){var n={ioMessage:t,loaderImg:i};return e(n)},setViewMessage:function(e){$(n+" span").html(e)},hideLoadingGraphic:function(){$(n+" img").hide()},showLoadingGraphic:function(){$(n+" img").show()},viewOpen:function(){return a},showView:function(){$(n).css("opacity",0),$(n).animate({opacity:1},300),a=!0},removeView:function(e){a=!1,$(n).animate({opacity:0},200,function(){void 0!==e&&e.call(),$(n).remove()})}}}()}(this,TSC.templates),function(e,t,n,i,a,r,o,s,u,n){e.TSC=e.TSC||{},e.TSC.xmp=e.TSC.xmp||function(){"use strict";function e(){I=!1,w=!1,N=!1,x=!1,R=!1,P=!1,M=!1,H=!1,z="",W=0,J="en-US",Y="#ffffff",j="#000000",K=.9,Z="Arial, Helvetica, sans-serif;",X=18,$={r:255,g:255,b:255},et="overlay",tt=0,nt=2,it=144,at=[],rt=[],ot=[],st=[],ut=[]}function c(e){return-1!==e.indexOf("http://")||-1!==e.indexOf("https://")}function l(){y&&y.call()}function d(e,t,n){for(var i=(e<<16|t<<8|n).toString(16),a=6-i.length,r=0;a>r;r++)i="0"+i;return"#"+i}function f(e){t(e).find("*").filterNode("rdf:Description").each(function(){var e=Number(t(this).attr("xmpDM:startTime"))/1e3,n=s.getUnicodeSafeString(t(this).attr("tscDM:file")),i=t(this).attr("xmpDM:name"),a=t(this).attr("tscDM:image"),r=t(this).attr("tscDM:imagerect");r&&!H&&(H=!0,z="."===s.getSwfBase()||c(a)?s.getUnicodeSafeString(a):s.getSwfBase()+s.getUnicodeSafeString(a));var o={time:e,text:i,file:n,image:a,imageRect:r};at.push(o)})}function p(e){var n=t(e).find("*").length,i=e.find("*").eq(n-2);if(i&&i.length>0&&"tsc:fgColor"===i[0].nodeName){var a=i.attr("xmpG:red"),r=i.attr("xmpG:green"),u=i.attr("xmpG:blue");Y=d(a,r,u)}var c=e.find("*").eq(n-1);c&&c.length>0&&"tsc:bgColor"===c[0].nodeName&&($.r=c.attr("xmpG:red"),$.g=c.attr("xmpG:green"),$.b=c.attr("xmpG:blue"),j=d($.r,$.g,$.b)),t(e).find("*").filterNode("rdf:Description").each(function(){var e,n,i=Number(t(this).attr("xmpDM:startTime"))/1e3,a=Number(t(this).attr("xmpDM:duration"))/1e3,r=i+a,u=t(this).find("*").filterNode("rdf:li").text(),c=o.rtfToText(u),l=t(this).attr("tscDM:valign"),d=t(this).attr("tscDM:halign");switch(l){case"top":e="captionVAlignTop";break;default:e="captionVAlignBottom"}switch(d){case"left":n="captionHAlignLeft";break;case"right":n="captionHAlignRight";break;default:n="captionHAlignCenter"}u=o.rtfToHTML(u);var f=s.getUnicodeSafeString(t(this).attr("tscDM:file"));if(""!==c.replace(/ /g,"")){var p={start:i,end:r,text:c,htmlText:u,file:f,vAlign:l,vAlignClass:e,hAlignClass:n};rt.push(p)}})}function g(e,t){for(var n=[],i=e[4]-e[0],a=e[5]-e[1],r=i/2+e[0],o=a/2+e[1],s=e.length,u=0;s>u;u+=2){var c=h(e[u],e[u+1],i,a,r,o,t);n.push(Math.round(c[0])),n.push(Math.round(c[1]))}return n}function h(e,t,n,i,a,r,o){o=o*Math.PI/180;var s=e-a,u=t-r,c=Math.atan2(u,s),l=Math.sqrt(s*s+u*u),d=c+o,f=Math.cos(d)*l,p=Math.sin(d)*l,g=[];return g[0]=f+a,g[1]=p+r,g}function m(e){var n=0;t(e).find("*").filterNode("rdf:Description").each(function(){var e=t(this).attr("xmp:label"),i=Number(t(this).attr("xmpDM:startTime"))/1e3,a=Number(t(this).attr("xmpDM:duration"))/1e3,r=i+a,o=t(this).attr("tscDM:boundingPoly"),u=parseFloat(t(this).attr("tscDM:rotate")),c=s.getUnicodeSafeString(t(this).attr("tscHS:jumpFile")),l=o.replace(/\;/gi,",");l.lastIndexOf(",")==l.length-1&&(l=l.substr(0,l.length-1));for(var d=l.split(","),f=0;d.length>f;f++)d[f]=parseInt(d[f],10);0!==u&&(d=g(d,u));var p=!1,h="",m="",v="";"1"===t(this).attr("tscHS:pause")&&(p=!0),void 0!==t(this).attr("tscHS:jumpTime")&&(h=Number(t(this).attr("tscHS:jumpTime"))/1e3),void 0!==t(this).attr("tscHS:newWindow")&&(m=t(this).attr("tscHS:newWindow"),m="0"===m||"false"===m.toLowerCase()?!1:!0),void 0!==t(this).attr("xmpDM:location")&&(v=t(this).attr("xmpDM:location"));var A=s.getUnicodeSafeString(t(this).attr("tscDM:file")),S={id:e,start:i,end:r,pause:p,hasPausedAtEnd:!1,points:d,scaledPoints:d.concat([]),rotation:u,file:A,jumpTime:h,jumpFile:c,newWindow:m,targetURL:v,isActive:!1,index:n};ot.push(S),n++})}function v(e){var n,i,a,o,s,c,l,d,f=-1,p=!1,g=[];u.clearAllQuestions(),t(e).find("*").filterNode("rdf:Description").each(function(){var e=t(this).attr("tscIQ:questionSetName");if(e){e=r.htmlEncode(e),p&&(u.addQuestion(f,n,a,o,g,c),p=!1,o=void 0,a=void 0,g=[],c=void 0);var h="1"===t(this).attr("tscIQ:feedback"),m=Number(t(this).attr("xmpDM:startTime"));f=u.addQuestionSet(e,m,h)}else i=t(this).attr("tscIQ:type"),i?(p&&(u.addQuestion(f,n,a,o,g,c),p=!1,o=void 0,a=void 0,g=[],c=void 0),a=t(this).attr("tscIQ:id"),n=i,l=t(this).children(),o=r.htmlEncode(t(l[0]).text(),!0),c=r.htmlEncode(t(l[1]).text(),!0),p=!0):(s=t(this).attr("tscIQ:orderId"),s&&(l=t(this).children(),d=t(l[0]).text(),d&&g.push(r.htmlEncode(d,!0))))}),p&&u.addQuestion(f,n,a,o,g,c)}function A(e){var n=[];t(e).find("*").filterNode("rdf:Description").each(function(){for(var e=Number(t(this).attr("xmpDM:startTime"))/1e3,i=Number(t(this).attr("xmpDM:duration"))/1e3,a=t(this).attr("xmpDM:name"),r=s.getUnicodeSafeString(t(this).attr("tscDM:file")),o=a.split(" "),u=Number(e)+Number(i)+"",c=0;o.length>c;c++){var l={start:e,end:u,text:o[c],file:r};n.push(l)}});var i=n.length;if(!(1>i)){for(var a,r=n[0].start,o="",u=[],c=0;i>c;c++)n[c].start!==r&&(a={start:n[c-1].start,end:n[c-1].end,text:o,items:u,file:n[c-1].file},st.push(a),o="",u=[]),o+=n[c].text+" ",u.push(n[c].text),r=n[c].start;a={start:n[c-1].start,end:n[c-1].end,text:o,items:u,file:n[c-1].file},st.push(a)}}function S(e){t(e).find("*").filterNode("rdf:li").each(function(){var e=Number(t(this).attr("xmpDM:startTime"))/1e3,n=Number(t(this).attr("xmpDM:duration"))/1e3,i=t(this).attr("xmpDM:name"),a=s.getUnicodeSafeString(t(this).attr("tscDM:file")),r=t(this).attr("tscDM:image"),o=t(this).attr("tscDM:imagerect"),u={start:e,end:Number(e)+Number(n)+"",text:i,file:a,image:r,imageRef:document.createElement("canvas"),imageRect:o};ut.push(u)})}function b(){I&&f(B),w&&p(Q),x&&v(q),N&&m(V),R&&A(D),P&&S(O),M=!0,E&&E.call()}function C(r){e();var o=t(r).find("*").eq(2);L=o.attr("dc:title"),_=o.attr("tscDM:originId"),k=o.attr("tscDM:project"),W=Number(t(r).find("*").eq(3).attr("xmpDM:value")),G=L;var l,d,f=t(r).find("*").length,p=0;for(l=4;f>l;l++)if("xmpDM:Tracks"===t(r).find("*").eq(l)[0].nodeName){d=t(r).find("*").eq(l).children();break}for(var g,h=t(d).find("*").length,m=0;h>m;m++){var v=t(d).find("*").eq(m);if(g=v.attr("xmpDM:trackType"),void 0!==g)switch(g.toLowerCase()){case"tableofcontents":F=t(v).attr("tscDM:tocCellLayout"),U=s.getUnicodeSafeString(t(v).attr("tscDM:image")),"."===s.getSwfBase()||void 0===U||c(U)||(U=s.getSwfBase()+U),I=!0,B=t(v),m+=B.find("*").length;break;case"quiz":if(u&&void 0===s.getFathomId()){x=!0;var A=t(v).attr("tscIQ:quizGuid"),S=t(v).attr("tscIQ:reportMethod"),C="1"===t(v).attr("tscIQ:requireUserId"),T="1"===t(v).attr("tscIQ:hideReplay"),E=t(v).attr("tscIQ:authoredEmail"),y=t(v).attr("tscIQ:clientId"),M=t(v).attr("tscIQ:quizHash"),H=t(v).attr("tscIQ:allowSkipQuiz"),z=t(v).attr("tscIQ:locale");z||(z=i.ENGLISH),u.setLocale(z),u.setProductionMetadata(k,L,_),u.setQuizTitle(L),u.setQuizID(A),u.setReportMethod(S),u.setRequireUserId(C),u.setHideReplay(T),u.setAuthoredEmail(E),u.setClientId(y),u.setQuizHash(M),u.setMediaDuration(W),u.setAllowSkipQuiz(H)}q=t(v),m+=q.find("*").length;break;case"caption":var J=t(v).attr("stFnt:fontFamily");J&&(Z=J);var Y=t(v).attr("tscDM:fontSize");Y&&(X=Number(Y));var j=t(v).attr("tscDM:bgOpacity");j&&(K=Number(j));var $=t(v).attr("tscDM:position");$&&(et=$);var nt=t(v).attr("tscDM:captionbarheight");nt&&(tt=Number(nt)),w=!0,Q=t(v),m+=Q.find("*").length;break;case"hotspot":N=!0,V=t(v),m+=V.find("*").length;break;case"speech":O=t(v);var it=O.find("*").length;if(1>=it)break;P=!0,m+=it;break;case"screentext":R=!0,D=t(v),m+=D.find("*").length}}l+=p,t(r).find("*").filterNode("tscIQ:QuizParams").filterNode("rdf:li").each(function(){var e=t(this).attr("xmpDM:name"),i=t(this).attr("xmpDM:value");try{a.setString(e,i)}catch(r){n.logMessage(r.message)}});var at,rt,ot=0;for(l=l;f>l;l++)if("tscDM:controller"===t(r).find("*").eq(l)[0].nodeName){at=t(r).find("*").eq(l).children(),ot=t(at).find("*").length;break}t(at).find("*").filterNode("rdf:li").each(function(){if(void 0!=t(this).attr("xmpDM:name"))switch(rt=t(this).attr("xmpDM:value").toLowerCase(),t(this).attr("xmpDM:name").toLowerCase()){case"autohide":var e="true"===rt?!0:!1;s.setAutoHideControls(e);break;case"autostart":case"autoplay":var n="true"===rt?!0:!1;s.getAutoPlayMedia()||s.setAutoPlayMedia(n);break;case"searchable":var i="true"===rt?!0:!1;s.setIsSearchable(i);break;case"captionsenabled":var r="true"===rt?!0:!1;s.setCaptionsEnabled(r);break;case"sidebarenabled":var o="true"===rt?!0:!1;s.setSidebarEnabled(o);break;case"unicodeenabled":var u="true"===rt?!0:!1;s.setProcessUnicodeNames(u);break;case"backgroundcolor":var c=rt;-1===c.indexOf("#")&&(c="#"+c),s.setBackgroundColor(c);break;case"sidebarlocation":var l="right"===rt||"r"===rt?"right":"left";s.setSidebarLocation(l);break;case"endaction":s.setEndActionType(rt);break;case"endactionparam":s.setEndActionParam(rt);break;case"locale":a.setLanguage(t(this).attr("xmpDM:value"))}}),setTimeout(b,500)}function T(e,i){if(e){var a=e,r=!0;if(s.isIEOnServerWithUnicode()){var o=location.href.lastIndexOf("/"),u=location.href.substr(0,o+1);a=s.getUnicodeSafeString(u)+e,r=!1}try{t.ajax({type:"GET",url:a,isLocal:r,dataType:"xml",timeout:lt,success:function(e){ct>i&&n.logMessage("xmp: loadXMP() succeeded after "+(ct-i)+" failed attempts."),C(e)},error:function(){i>0?setTimeout(function(){T(e,--i)},dt):(n.logMessage("xmp: loadXMP() failed after "+ct+" retries."),l())}})}catch(c){n.logException(c)}}}t.fn.filterNode=function(e){return this.find("*").filter(function(){return this.nodeName===e})};var E,y,I,w,N,x,R,P,M,L,k,_,O,D,B,Q,V,q,G,F,U,H,z,W,J,Y,j,K,Z,X,$,et,tt,nt,it,at,rt,ot,st,ut,ct,lt,dt;return lt=3500,ct=2,dt=0,e(),{loadXMP:function(e){T(e,ct)},parseXMP:function(e){C(t.parseXML(e))},xmpAvailable:function(){return M},hasAdvancedFeatures:function(){return M&&(I||w||N||x)},getMediaDuration:function(){return W},getTocTitle:function(){return G},getTocImageSrc:function(){return U},getTocCellLayoutType:function(){return F},tocContainsThumbs:function(){return H},getTocThumbImageSrc:function(){return z},getTocItemArray:function(){return at},getHotspotItemArray:function(){return ot},getCaptionItemArray:function(){return rt},getCaptionFontFamily:function(){return Z},getCaptionFontSize:function(){return X},getMinCaptionFontSize:function(){return nt},getMaxCaptionFontSize:function(){return it},getCaptionBgOpacity:function(){return K},getCaptionTextColor:function(){return Y},getCaptionBgColor:function(){return j},getCaptionBg:function(){return"rgba("+$.r+", "+$.g+", "+$.b+", "+K+")"},getCaptionPosition:function(){return et},getCaptionBarHeight:function(){return tt},getSpeechTextItemArray:function(){return ut},getScreenTextItemArray:function(){return st},getLanguage:function(){return J},hasTocItems:function(){return I},hasCaptionItems:function(){return w},hasHotspotItems:function(){return N},hasQuiz:function(){return x},hasScreenTextItems:function(){return R},hasSpeechTextItems:function(){return P},getLocalErrorMessage:function(){return a.getString("xmpSecurity")},get404ErrorMessage:function(){return a.getString("xmpError")},addEventListener:function(e,t){"READY"===e?E=t:"ERROR"===e&&(y=t)},removeEventListener:function(e){"READY"===e?E=void 0:"ERROR"===e&&(y=void 0)}}}()}(this,jQuery,TSC.log,TSC.languageCodes,TSC.localizationStrings,TSC.textSanitizer,TSC.textFormatter,TSC.playerConfiguration,TSC.quizModel,TSC.log),function(e,t,n,i,a){e.TSC=e.TSC||{},e.TSC.playerSettingsView=function(){function r(){E.hide(),u()}function o(){E.show(),s()}function s(){B.mouseup(l)}function u(){B.off("mouseup",l)}function c(){y=!1,r(),D!==void 0&&D()}function l(e){y!==!1&&(E.is(e.target)||0!==E.has(e.target).length||setTimeout(function(){c()},50))}function d(){E=t("#playerSettingsContainer"),w=t("#playerSpeedContainer select")}function f(){var e=I.playbackRate;e!==Number(w.find(":selected").val())&&(e>R?p(R):x>e?p(x):w.find('option[value="'+I.playbackRate+'"]').prop("selected",!0))}function p(e){x>e?e=x:e>R&&(e=R),N=e,I.playbackRate=e,I.defaultPlaybackRate=e,!a.isIPad()&&!a.isIPhoneOrIPod()||I.paused||(I.pause(),I.play()),setTimeout(function(){c()},2e3)}function g(){var e=Number(w.find(":selected").val());p(e)}function h(){f()}function m(){var e=O.indexOf(N);-1!==e&&O.length>e+1&&p(O[e+1])}function v(){var e=O.indexOf(N);-1!==e&&e>0&&p(O[e-1])}function A(e){if(P===e.shiftKey)switch(e.keyCode){case M:e.preventDefault(),m();break;case L:e.preventDefault(),v()}}function S(){for(var e=i.getString("playerRateOptionsText"),t=[],n=O.length-1;n>=0;n--){var a=O[n];t.push({rateValue:a,rateLabel:e[a],selected:a===k})}return t}function b(){y=!1,N=k}function C(){w.unbind("change",g),B.unbind("keydown",A),I&&I.removeEventListener("ratechange",h)}function T(){w.bind("change",g),B.bind("keydown",A)}var E,y,I,w,N,x,R,P,M,L,k,_,O,D,B;return y=!1,P=!0,N=1,M=38,L=40,x=.25,R=2,k=1,_=[.25,.5,.75,1,1.25,1.5,1.75,2],O=_,B=t(e.document),{destroy:function(){C()},render:function(e){var a={playerRateText:i.getString("playerRateText"),playbackRates:S()},o=n.settings_view_template(a);t(e).append(o),b(),d(),T(),r()},setVideoElement:function(e){I=e,I.addEventListener("ratechange",h,!1)},setOnHideCallback:function(e){D=e},open:function(){y=!0,o()},close:function(){y=!1,r()},isOpen:function(){return y},setAvailableRates:function(e){O=e.length>0?e:_,x=O[0],R=O[O.length-1]},getPlaybackRate:function(){return N}}}()}(window,jQuery,TSC.templates,TSC.localizationStrings,TSC.deviceInfo),jQuery(function(e){var t,n,i,a,r,o,s,u;t={},n=function(){var t=e.fn.width,n=e("#tscVideoContent"),i=e("body");return function(){return document.msFullscreenElement&&t.call(i)!==t.call(n)}}(),i=function(e){return parseInt(e.css("margin-left"),10)+parseInt(e.css("margin-right"),10)},a=function(e){return parseInt(e.css("margin-top"),10)+parseInt(e.css("margin-bottom"),10)},r=function(e){return parseInt(e.css("padding-left"),10)+parseInt(e.css("padding-right"),10)},o=function(e){return parseInt(e.css("padding-top"),10)+parseInt(e.css("padding-bottom"),10)},s=function(e){return parseInt(e.css("border-left-width"),10)+parseInt(e.css("border-right-width"),10)},u=function(e){return parseInt(e.css("border-top-width"),10)+parseInt(e.css("border-bottom-width"),10)},t.width=e.fn.width,e.fn.width=function(){return 0===arguments.length&&0 in this&&n()&&this[0]!=window?Math.round(100*this[0].getBoundingClientRect().width-r(this)-s(this)):t.width.apply(this,e.makeArray(arguments))},t.innerWidth=e.fn.innerWidth,e.fn.innerWidth=function(){return 0===arguments.length&&0 in this&&n()&&this[0]!=window?Math.round(100*this[0].getBoundingClientRect().width-s(this)):t.innerWidth.apply(this,e.makeArray(arguments))},t.outerWidth=e.fn.outerWidth,e.fn.outerWidth=function(a){var r;return 1>=arguments.length&&0 in this&&n()&&this[0]!=window?(r=Math.round(100*this[0].getBoundingClientRect().width),a?r+i(this):r):t.outerWidth.apply(this,e.makeArray(arguments))},t.height=e.fn.height,e.fn.height=function(){return 0===arguments.length&&0 in this&&n()&&this[0]!=window?Math.round(100*this[0].getBoundingClientRect().height-o(this)-u(this)):t.height.apply(this,e.makeArray(arguments))},t.innerHeight=e.fn.innerHeight,e.fn.innerHeight=function(){return 0===arguments.length&&0 in this&&n()&&this[0]!=window?Math.round(100*this[0].getBoundingClientRect().height-u(this)):t.innerHeight.apply(this,e.makeArray(arguments))},t.outerHeight=e.fn.outerHeight,e.fn.outerHeight=function(i){var r;return 1>=arguments.length&&0 in this&&n()&&this[0]!=window?(r=Math.round(100*this[0].getBoundingClientRect().height),i?r+a(this):r):t.outerHeight.apply(this,e.makeArray(arguments))},t.offset=e.fn.offset,e.fn.offset=function(){var i;return 0===arguments.length&&0 in this&&n()?(i=t.offset.apply(this),i&&(i.top=Math.round(100*i.top),i.left=Math.round(100*i.left)),i):t.offset.apply(this,e.makeArray(arguments))}}),function(e){e.TSC=e.TSC||{},e.TSC.playedTracker=function(e){var n=.5,i=function(){var n=[],i=0,a=this;this.start=function(e){if(0>e||e>n.length-1)throw"INDEX_SIZE_ERR";return n[e].start},this.end=function(e){if(0>e||e>n.length-1)throw"INDEX_SIZE_ERR";return n[e].end},Object.defineProperty(this,"length",{get:function(){return n.length}});var r=function(){n.push(new t),i=n.length-1},o=function(e){0===a.length&&(r(),n[0].recordTime(0)),n[i].recordTime(e.data),n.length>1&&u()},s=function(e){var t=l(e.data);-1===t&&r()},u=function(){for(var e=n.length,t=0;e>t;t++)if(i!=t&&a.areMediaSegmentsOverlapping(n[i],n[t])){c(i,t);break}},c=function(e,t){var a=Math.min(e,t),r=Math.max(e,t);n[a].start=Math.min(n[e].start,n[t].start),n[a].end=Math.max(n[e].end,n[t].end),n.splice(r,1),i=a},l=function(e){for(var t=-1,i=n.length,a=0;i>a;a++)if(e>=n[a].start&&n[a].end>=e){t=a;break}return t};e.addEventListener("seeked",s),e.addEventListener("timeupdate",o)};return i.prototype.areMediaSegmentsOverlapping=function(e,t){var i=t.start>=e.start-n&&t.start<=e.end+n,a=t.end>=e.start-n&&t.end<=e.end+n;return i||a},new i};var t=function(){var e=-1,t=-1,n=function(){};return Object.defineProperty(n,"start",{get:function(){return e},set:function(t){e=+t}}),Object.defineProperty(n,"end",{get:function(){return t},set:function(e){t=+e}}),n.recordTime=function(n){(-1===e||e>n)&&(e=n),n>t&&(t=n)},n}}(window),function(e,t,n,i,a){e.onYouTubeIframeAPIReady=function(){e.onYouTubeIframeAPIReady.ready=!0;for(var t=0;e.onYouTubeIframeAPIReady.queued.length>t;t++)e.onYouTubeIframeAPIReady.queued[t]()};var r="https://www.youtube.com/iframe_api";e.onYouTubeIframeAPIReady.queued=[],e.TSC=e.TSC||{};var o=function(t,r,s,u,c,l,d){function f(){v=x.getDuration(),i.requiresManualPreload()&&u(),R("loadedmetadata"),R("canplay"),g.removeEventListener("playing",f),R("playing"),R("play")}function p(){if(E=x.getAvailablePlaybackRates(),E.length>1&&(C=!0),i.requiresManualPreload())return s(),g.addEventListener("playing",f),void 0;var e=x.getVolume();x.setVolume(0);var t=setTimeout(function(){throw"YouTube Plugin Error: Initial play failed to trigger within 10 seconds"},1e4);g.addEventListener("play",function n(){g.removeEventListener("play",n),clearTimeout(t),x.pauseVideo(),x.seekTo(0),x.setVolume(e),g.addEventListener("playing",f),s()}),x.playVideo()}if(!(this instanceof o))return new o;var g=this,h={},m=0,v=0,A=0,S=1,b=-1,C=!1,T=50,E=[],y=3;this.addEventListener=function(e,t){h[e]=h[e]||[],h[e].push(t)},this.removeEventListener=function(e,t){if(h[e]&&0!==h[e].length){var n=h[e].indexOf(t);-1!==n&&h[e].splice(n,1)}},this.bind=function(e,t){if("string"==typeof e)this.addEventListener(e,t);else if("object"==typeof e)for(var n=Object.keys(e),i=0;n.length>i;i++){var a=n[i];g.addEventListener(a,e[a])}},this.unbind=function(e,t){t!==void 0?this.removeEventListener(e,t):h[e]=[]},this.off=this.unbind;var I=function(e){switch(e.data){case 2:R("error","Invalid video url.");break;case 5:R("error","The video cannot be played.");break;case 100:R("error","This video has been removed from YouTube and is no longer available for playback.");break;case 101:case 150:R("error","This video is unavailable. Its YouTube owner either disabled embedding or marked it private.");break;default:}};c&&this.addEventListener("error",c);var w=function(e){switch(b=e.data,e.data){case YT.PlayerState.PAUSED:R("pause");break;case YT.PlayerState.ENDED:R("ended");break;case YT.PlayerState.PLAYING:R("playing"),R("play");break;case YT.PlayerState.BUFFERING:}},N=function(e){S=e.data,R("ratechange",S)
};n.getShowYouTubeAnnotations()&&(y=1);var x=new e.YT.Player(r,{width:l,height:d,videoId:t,playerVars:{wmode:"opaque",loop:0,autoplay:0,controls:0,disablekb:1,rel:0,showsearch:0,showinfo:0,iv_load_policy:y},events:{onReady:p,onStateChange:w,onPlaybackRateChange:N,onError:I}}),R=function(e,t){var n={type:e,target:g,data:t};if(h.hasOwnProperty(e))for(var i=h[e].slice(0),a=0;i.length>a;a++)i[a](n)},P=new a(this),M=function(){return{start:function(){return 0},end:function(){return v*A},length:1}};Object.defineProperty(this,"buffered",{get:M}),Object.defineProperty(this,"currentTime",{get:function(){return m},set:function(e){+e>g.buffered.end()?x.seekTo(+e,!0):x.seekTo(+e),R("seeked")}}),Object.defineProperty(this,"duration",{get:function(){return v}}),Object.defineProperty(this,"paused",{get:function(){return b===YT.PlayerState.PAUSED}}),Object.defineProperty(this,"playbackRate",{get:function(){return S},set:function(e){x.setPlaybackRate(+e)}}),Object.defineProperty(this,"played",{get:function(){return P}}),Object.defineProperty(this,"seekable",{get:function(){return{start:function(){return 0},end:function(){return v},length:1}}}),Object.defineProperty(this,"supportPlaybackRate",{get:function(){return C}}),Object.defineProperty(this,"validRateSettings",{get:function(){return E}}),Object.defineProperty(this,"volume",{get:function(){return T},set:function(e){var t=100*e;x.setVolume(t),T=t}}),this.play=function(){x.playVideo()},this.pause=function(){x.pauseVideo()},this.attr=function(e,t){var n=document.getElementById(r);n.setAttribute(e,t)},this.load=function(){};var L=function(){if(void 0!==x.getCurrentTime){var e=x.getCurrentTime();m!==e&&(m=e,R("timeupdate",e));var t=x.getVideoLoadedFraction;if(void 0!==t&&null!==t){var n=x.getVideoLoadedFraction();A!==n&&(A=n,R("progress"))}}};setInterval(L,250)};e.TSC.youTube=e.TSC.youTube||{},e.TSC.youTube.init=function(t,n,i,a,r,s,u){var c=/v=(.{11})/i,l=c.exec(t),d=l?l[1]:"*";e.onYouTubeIframeAPIReady.ready?e.TSC.youTube.player=new o(d,n,i,a,r,s,u):e.onYouTubeIframeAPIReady.queued.push(function(){e.TSC.youTube.player=new o(d,n,i,a,r,s,u)})},e.TSC.youTube.addApi=function(){var e=t("script[src='"+r+"']").length;return e||t.getScript(r),!e}}(window,jQuery,TSC.playerConfiguration,TSC.deviceInfo,TSC.playedTracker),function(e,t){e.TSC=e.TSC||{},e.TSC.searchTool=function(){function e(e,t){var n=RegExp(t,"ig");return e.replace(n,"<span class='foundSearchText'>"+t+"</span>")}function n(t,n){for(var i=[],a=t.items.length,r=n.toLowerCase().split(" "),o=0;a>o;o++){var s="",u=t.items[o],c=r[0];if(!(0>u.toLowerCase().indexOf(c))){for(var l=0;r.length>l;l++)s+=o+l>=a?"":0==l?t.items[o+l]:" "+t.items[o+l];if(-1!=s.toLowerCase().indexOf(n.toLowerCase())){var d;d=4>r.length?Math.floor(5-r.length/2):2;for(var f,p="",g="",h=0;d>h;h++)o-d+h>=0&&(p+=t.items[o-d+h]+" "),a>o+r.length+h&&(g+=" "+t.items[o+r.length+h]);s=e(s,n),f="..."+p+s+g+"...";var m=t.file,v="";void 0!==m&&(v="data-file='"+m+"'"),i.push({text:f,start:t.start,file:t.file,imageRef:void 0,imageRect:void 0})}}}return i}function i(t,n,i){for(var a=[],r=0;t.length>r;r++)if(-1!=t[r].text.toLowerCase().indexOf(n.toLowerCase()))if(i)a.push(t[r]);else{var o={text:e(t[r].text,n),start:t[r].start!==void 0?t[r].start:t[r].time,file:t[r].file,imageRef:t[r].imageRef,imageRect:t[r].imageRect};a.push(o)}return a}function a(e,t){for(var a=[],r=i(e,t,!0),o=r.length,s=0;o>s;s++)a=a.concat(n(r[s],t));return a}function r(e){var n=[];return n=n.concat(i(t.getTocItemArray(),e)),n=n.concat(i(t.getCaptionItemArray(),e)),n=n.concat(i(t.getSpeechTextItemArray(),e)),1>t.getCaptionItemArray().length&&t.getScreenTextItemArray().length>0&&(n=n.concat(a(t.getScreenTextItemArray(),e))),n}return{searchXmpForString:r}}()}(window,TSC.xmp),function(e,t,n,i,a,r,o){"use strict";e.TSC.flashView=e.TSC.flashView||{},e.TSC.flashView=function(){function e(){var e={};e.src=i.getUnicodeSafeString(i.getMediaSrc());var t=location.href.lastIndexOf("/"),n=location.href.substr(0,t+1);return i.getXMPSrc()&&(e.xmp=i.getXMPSrc(),i.isIEOnServerWithUnicode()&&(e.xmp=i.getUnicodeSafeString(n)+e.xmp)),i.getAutoPlayMedia()&&(e.autoPlayJS=i.getAutoPlayMedia()),-1!==i.getAllowRewind()&&(e.allowRewind=i.getAllowRewind()),i.getConfigurationSrc()&&(e.configuration=i.getConfigurationSrc()),e.debugHotspots=i.getDebugHotspot(),i.getPosterImageSrc()&&(e.poster=i.getPosterImageSrc(),i.isIEOnServerWithUnicode()&&(e.poster=i.getUnicodeSafeString(n)+e.poster)),e.authoredLanguage=r.getLanguage(),i.getFathomId()&&(e.fathomId=i.getFathomId(),e.fathomEnvironmentId=o.getEnvironment()),i.getTechSmithAccessToken()&&(e.quizServiceAccessToken=i.getTechSmithAccessToken()),e.quizServiceEnvironmentId=a.getEnvironment(),e.isUserIdentified=i.getIsUserIdentified(),i.getGoogleAnalyticsID()&&""!=i.getGoogleAnalyticsID()&&(e.analytics=i.getGoogleAnalyticsID(),i.getGAEventTracking()||(e.trackEvents=!1),i.getGAPageViewTracking()||(e.trackPageViews=!1)),i.getCustomEventTracking()&&(e.customEventTracking=!0,e.customEventJSCallback=i.getCustomEventCallback().name),e.altEventCategoryAsFilename=i.getAltEventCategoryAsFilename(),e.altLoadTimeAsSeconds=i.getAltLoadTimeAsSeconds(),e.debugUI=i.getDebugUIMode(),e.advancedSeeking=i.getAdvancedSeeking(),e.enforceLinearAssessments=i.getEnforceLinearAssessment(),e.scormComplete=i.getReportScormComplete(),e.hostingPage=i.getUnicodeSafeString(document.location),e.initialSeekTime=i.getScormStartPt(),e}function s(){var e={};return e.quality="high",e.bgcolor="#000000",e.allowscriptaccess="always",e.allowfullscreen="true",e.wmode="direct",e.allowNetworking="all","."!==i.getSwfBase()&&(e.base=i.getSwfBase()),e}function u(a){var r=e(),o=i.getMinFlashPlayerVersion(),u=s(),d={};d.id=l,d.name=l,d.align="middle";var f=i.getUnicodeSafeString(i.getFlashPlayerSwf());if(i.isIEOnServerWithUnicode()){var p=location.href.lastIndexOf("/"),g=location.href.substr(0,p+1);f=i.getUnicodeSafeString(g)+f}n.embedSWF(f,a.replace(/#/,""),i.getPlayerWidth(),i.getPlayerHeight(),o,i.getFlashUpdateBootstrapSwf(),r,u,d),n.createCSS(a,"display:block;text-align:left;"),t(a).show(),c=t("#"+l)[0]}var c,l="tscplayer";return{render:u,jsPlay:function(){if(!c.jsPlay)throw Error("Flash-View: jsPlay was not found");c.jsPlay()},jsDebugUI:function(){if(!c.jsDebugUI)throw Error("Flash-View: jsDebugUI was not found");c.jsDebugUI(!0)}}}()}(this,jQuery,swfobject,TSC.playerConfiguration,TSC.quizService,TSC.localizationStrings,TSC.fathomService),function(e,t,n,i,a,r,o,s,u,c,l,d,f,p,g,h,m,v,A,S,b,C){e.TSC=e.TSC||{},e.TSC.playerView=function(){"use strict";function n(e,t,n){u.getCustomEventTracking()&&u.getCustomEventCallback()&&(u.getAltEventCategoryAsFilename()?u.getCustomEventCallback().call(this,{category:u.getMediaFileName(),action:e,label:t,value:n}):u.getCustomEventCallback().call(this,{category:Zi,action:e,label:t,value:n})),u.getGoogleAnalyticsID()&&_gaq.push(["_trackEvent",Zi,e,t])}function g(){return h&&h.getQuizID()}function T(e){bn&&Pi&&e.keyCode===ea&&(e.originalEvent.preventDefault(),Cn.paused?Cn.play():Cn.pause())}function E(){i.isTouchInterface()||si.bind("keydown",T)}function y(){i.isTouchInterface()||si.unbind("keydown",T)}function I(e,t){t=t.replace(/\)/gi,"\\)"),t=t.replace(/\(/gi,"\\("),e.css("background-image","url("+t+")")}function w(e){I(t("#videoClickToPlayLink, #videoClickToReplayLink"),e)}function N(e){-1!=Si&&t("#tableOfContentsList li:nth-child("+Si+") ").removeClass("selectedTocItem"),Si=e,t("#tableOfContentsList li:nth-child("+Si+") ").addClass("selectedTocItem")}function x(){var e,n,i,a,r,o;0>di||(e=En.width(),n=En.height(),i=di*O(),a=fi*O(),r=Math.max((e-i)/2,0),o=Math.max((n-a)/2,0),ii.css({width:i,height:a,left:r,top:o}),t.each(f.getHotspotItemArray(),function(e,t){var n;l.isPlaylist()&&(n=l.getCurrentMedia().mediaSrc),(void 0===t.file||t.file===n)&&t.jqel.attr("coords",t.pointsToCoords())}))}function R(){t("#searchList").remove(),Jn.show(),Z()}function P(){if(!(void 0===bn||0>=fi)){var e=fi;"under"===f.getCaptionPosition()&&(e=fi*((Tn.height()-wn.height())/(fi+f.getCaptionBarHeight())),En.css("height",e+"px"),Zn.css("height",f.getCaptionBarHeight()*O()+"px"));var t=Math.round(Number(f.getCaptionFontSize())*O());t=f.getMinCaptionFontSize()>t?f.getMinCaptionFontSize():t,t=t>f.getMaxCaptionFontSize()?f.getMaxCaptionFontSize():t,Xn.css("font-size",t)}}function M(){yi=ai.width(),Ii=wn.height(),ai.attr("width",yi+"px"),ai.attr("height",Ii+"px")}function L(){var e=ai[0].getContext("2d");s.drawMarkers(1e3*Cn.duration,e,yi,Ii)}function k(){t("#videoSidebarContentWrapper").css({top:t("#videoSidebarHead").height()+"px"})}function _(){Bi&&k();var e=bn&&Cn;e&&Cn.duration&&g()&&s.quizEnabled()&&(M(),L(),s.viewOpen()&&s.pointViewAt(q(Ei))),f.hasCaptionItems()&&P(),f.hasHotspotItems()&&void 0!==bn&&x()}function O(){var e=1;if(void 0!==bn&&di>0&&bn.width()>0){var t=bn.width()/di,n=bn.height()/fi;e=Math.min(t,n)}return e}function D(){Bi&&!i.supportsFullScreenKeyboardInput()&&t("#videoSidebar").removeClass("search_disabled")}function B(){u.getDisableControls()||wn.show(),i.isTouchInterface()&&Ct(),Pt(),t("#ctoplay").hide(),Jt()}function Q(e){(void 0===e.target.id||""+e.target.id===gn)&&(xi=!xi,xi?(_n.removeClass("fullscreen_enter_button_normal"),_n.addClass("fullscreen_leave_button_normal")):(D(),_n.removeClass("fullscreen_leave_button_normal"),_n.addClass("fullscreen_enter_button_normal"),t("body").css("margin-left","1px"),Mi=!0,_(),t("body").css("margin-left","0"),Mi=!0),_())}function V(){Hi=!0,di=Cn.videoWidth,fi=Cn.videoHeight,i.isIPhoneOrIPod&&oi.css("cursor","pointer"),bn.bind("ratechange",function(){U(),H()},!1),bn.bind("play",function(){U(),H()},!1),pi=0,Xi?B():!g()||g()&&(!s.quizEnabled()||s.getQuizReady())?B():(Cn.pause(),Wt(s.getLastStatusMessage())),d.isEnabled()&&!d.isPercentWatchedInitialized()&&d.initPercentWatched(1e3*Cn.duration),!i.supportsFullScreen()||i.isIPad()||i.isAndroid()?e==e.top||u.getDisableFullframeMode()?_n.remove():(_n.show(),Li=!0):(si.on(i.getFullScreenChangeEventNames(),Q),ki=!0),Mi=!0,f.hasHotspotItems()&&un(),_()}function q(e){var t=qn.offset().left;if(bn&&Cn.duration&&Cn.duration>0){var n=Math.max(0,Math.min(e,Cn.duration)),i=n/Cn.duration;t+=i*qn.width()}return t}function G(){!Pi||0===Cn.duration||g()&&s.quizEnabled()&&!s.getQuizReady()||(pi=Cn?Cn.currentTime>Cn.duration?Cn.duration:Cn.currentTime:0,Ji=Number(Cn.currentTime.toFixed(2))>=Number(Cn.duration.toFixed(2)),gi=1e3*pi,ct(),d.isEnabled()&&J(),!Gi&&g()&&s.quizEnabled()&&W(),f.hasHotspotItems()&&H(),f.hasCaptionItems()&&z(),u.getReportScormComplete()&&1===d.getPercentageWatched()&&(u.setReportScormComplete(!1),t.isFunction(userSubmitVideoCompletedToLMS)&&userSubmitVideoCompletedToLMS()),Gi||-1!==Ti||!Ji||Wi||(Wi=!0,Cn.pause(),At()))}function F(){t.each(f.getHotspotItemArray(),function(e,t){t.hasPausedAtEnd=!1})}function U(){t.each(f.getHotspotItemArray(),function(t,n){n.timer&&e.clearTimeout(n.timer),n.isActive=!1,void 0!=n.jqel&&n.jqel.remove()})}function H(){t.each(f.getHotspotItemArray(),function(t,n){var i;if(l.isPlaylist()&&(i=l.getCurrentMedia().mediaSrc),void 0===n.file||n.file===i)if(pi>n.start&&n.end>=pi){n.isActive===!1&&(n.isActive=!0,n.jqel.appendTo(ii.find("map")));var a=1>=n.end-pi;if(void 0!==n.pause&&n.pause===!0&&!n.hasPausedAtEnd&&a&&!Cn.paused){var r=10/(30*c.getPlaybackRate()),o=(n.end-pi)/c.getPlaybackRate()-r;e.clearTimeout(n.timer),n.timer=setTimeout(function(){Cn.pause(),n.hasPausedAtEnd=!0},1e3*o)}}else n.isActive&&(F(),U())})}function z(){var e,n=!1,i=null;t.each(f.getCaptionItemArray(),function(t,a){e=!0;var r;l.isPlaylist()&&(r=l.getCurrentMedia().mediaSrc),void 0!==a.file&&a.file!==r&&(e=!1),pi>a.start&&a.end>=pi&&e&&(n=!0,a.text!==Xn.text()&&(i=a))}),n?null!==i&&(Zn.removeClass("captionHAlignLeft"),Zn.removeClass("captionHAlignCenter"),Zn.removeClass("captionHAlignRight"),Zn.addClass(i.hAlignClass),Zn.removeClass("captionVAlignTop"),Zn.removeClass("captionVAlignBottom"),Zn.addClass(i.vAlignClass),Xn.html(i.htmlText),vn&&vn.call(i.htmlText)):Xn.html("")}function W(){var e=s.findQuestionSet(gi);if(e.id>=0){if(Ti!==e.id){if(y(),Mt(),kt(!1),Wn&&$(!1),Ti=e.id,Ei=e.markerTime/1e3,Cn.pause(),setTimeout(function(){st(Ei,!0)},100),xi&&!i.supportsFullScreenKeyboardInput()&&cn("#videoWrapper",r.getString("txtQuizFullscreenMode"),!0),s.displayConfirm(e.id),s.pointViewAt(q(Ei)),d.isEnabled()){d.markTimeWatched(e.markerTime);var t=d.getPercentageWatchedForVideoSegment(s.findPrevMarkerTimeForMarker(e.id),e.markerTime);s.updatePercentWatchedForQuestionSet(Ti,t)}_t(!1)}}else Ti=-1}function J(){var e=Math.round(100*d.getPercentageWatched());d.markTimeWatched(gi),"function"==typeof onVideoWatchedPercentage&&onVideoWatchedPercentage(.01*e,d.getCurrentPlayTime()),u.getTrackEvents()&&e>=wi+Ni&&(wi+=Ni,e>wi&&(wi=Ni*Math.floor(e/Ni)+Ni),wi>100&&(wi=100),n("Video_Percent_Viewed","Viewed: "+wi+" Percent"))}function Y(e){e>1?e=1:0>e&&(e=0),Cn.volume=e}function j(e,n,i,a,r,o,s){var u,c,d,p="",g="",h="",m=1,v=0,A=0,S=20,b=65,C=!1;if(void 0!==a&&(h="data-file='"+a+"'"),o){var T=o.split(",");-Number(T[0]),-Number(T[1]);var E=Number(T[2]),y=Number(T[3]);u="hasThumbImage",g="style='height:"+y+"px'",b>y&&(C=!0,g="style='height:"+b+"px'"),f.getTocCellLayoutType()&&"imageOnly"===f.getTocCellLayoutType()&&void 0===s?v=(Ai-E-S)/2:E>Ai/2-S?(m=(Ai/2-S)/E,E=Ai/2-S,A=Math.floor((T[3]-T[3]*m)/2)):A=Math.floor((b-T[3]*m)/2),d={},d.width=Number(Ai-E-40)+"px",d.left=Number(E+5)+"px",d.overflow="hidden",d["line-height"]="1.2em",d["max-height"]="4.8em",c=f.getTocCellLayoutType()&&"imageOnly"===f.getTocCellLayoutType()?"":'<div class="tocItemLabel">'+n+"</div>",p="<div>"+c+"</div>"}else g="",u="noThumbImage",p=n;var I="<li "+g+" class='"+u+"' data-time='"+i+"' "+h+" ></li>";if(t(e).append(I),r){var w=r.getContext("2d");r.width=Number(T[2])*m,r.height=Number(T[3])*m,w.scale(m,m),Yn?w.drawImage(Yn,T[0],T[1],T[2],T[3],0,0,T[2],T[3]):(w.fillStyle="#000000",w.fillRect(0,0,T[2],T[3])),t(r).css("margin-left",v),t(r).css("margin-top",A),t(e+" li:last-child").append(r)}if(t(e+" li:last-child").append(p),r){t(e+" li:last-child .tocItemLabel").css(d);var x=0,R=b;t(Wn).is(":visible")?(x=t(e+" li:last-child .tocItemLabel").height(),C||(R=t(e+" li:last-child").height())):($(!0),x=t(e+" li:last-child .tocItemLabel").height(),C||(R=t(e+" li:last-child").height()),$(!1));var P=-8;C||1!==m||(P=4);var M=-Number(R+P);M+=(R-x)/2,A=Math.floor((R-T[3]*m)/2),t(r).css("margin-top",A),t(e+" li:last-child .tocItemLabel").css("top",M+"px")}l.isPlaylist()&&N(Si)}function K(e){Yn=new Image,Yn.onload=function(){Z()},Yn.onerror=function(){Yn.onload=void 0,Yn.onerror=void 0,Yn=void 0,Z()},Yn.src=e}function Z(){var e=f.getTocItemArray(),n=e.length;t("#tableOfContentsList li").remove();for(var i=0;n>i;i++)e[i].imageRect&&(e[i].imageRef=document.createElement("canvas")),j("#tableOfContentsList",e[i].text,e[i].time,e[i].file,e[i].imageRef,e[i].imageRect)}function X(){var e,n,i,a=jn.width,r=jn.height,o=.6;a>=r?a>Ai-20?(e=(Ai-20)/a,n=Ai-20,i=r*e):(e=1,n=a,i=r):r>Ai-20?(e=(a*o-20)/r,i=Ai*o-20,n=a*e):(e=1,i=r,n=a);var s='<div id="pipimage" style="background-image: url('+f.getTocImageSrc()+");"+"width: "+n+"px;"+"height: "+i+"px;"+"margin-left: "+(Ai-n)/2+"px;"+"margin-right:"+(Ai-n)/2+"px;"+"></div>";t(s).prependTo(t("#videoSidebarHead")),t("#videoSidebarHead .video_title").text(f.getTocTitle())}function $(e){e?(Wn.show(),k(),_t(!1)):(Wn.hide(),qi||_t(!0))}function et(e){if(Fi=!1,!i.isTouchInterface()||!Ui){e.stopImmediatePropagation(),e.preventDefault();var n=t(this).attr("data-time"),a=t(this).attr("data-file");if(void 0!==a){U();var r=l.getMediaIndexBySrc(a);r===l.getCurrentMediaIndex()?st(n):(l.setCurrentMedia(r),en()),N(r+1)}else st(n)}}function tt(){$(Qi),Wn.toggleClass("right","right"===u.getSidebarLocation()),u.getIsSearchable()?(Kn.keyup(function(){if(""!=Kn.val()){Jn.hide(),t("#searchList").remove(),t("#videoSidebarContent").append("<ol id='searchList' ></ol>");for(var e=b.searchXmpForString(Kn.val()),n=0;e.length>n;n++)j("#searchList",e[n].text,e[n].start,e[n].file,e[n].imageRef,e[n].imageRect);t("#searchList").show()}else R()}),kn.click(function(){Kn.val(""),R()})):t("#searchArea").remove(),f.getTocImageSrc()?(jn=new Image,jn.onload=X,jn.src=f.getTocImageSrc()):t("#videoSidebarHead .video_title").text(f.getTocTitle()),f.tocContainsThumbs()?K(f.getTocThumbImageSrc()):Z(),i.isTouchInterface()?(ji="touchend",Ui=!1):t("#videoSidebarContent").on(ji,"li",et)}function nt(e){var t;Gi=!0,Dt(),Cn.paused?t=!1:(t=!0,Cn.pause()),rt(),ut(e.originalEvent.pageX),Mt(),si.bind("pointermove",function(e){e.preventDefault(),ut(e.originalEvent.pageX)}),si.bind("pointerup",function(e){Bt(),Gi=!1,ot(),ut(e.originalEvent.pageX),t&&!Ji&&Cn.play(),si.unbind("pointermove pointerup"),Pt(),G()})}function it(){bn.bind("durationchange",function(){at(),ui&&e.clearInterval(ui),ui=e.setInterval(at,1e3)}),i.isTouchInterface()||qn.bind("pointerdown",nt)}function at(){var t;bn&&Cn&&(Cn.buffered&&Cn.buffered.length&&(t=Math.min(100,Math.ceil(100*Cn.buffered.end(Cn.buffered.length-1)/Cn.duration))),Gn.width((t||0)+"%"),100===t&&ui&&e.clearInterval(ui))}function rt(){document.body.focus(),document.onselectstart=function(){return!1}}function ot(){document.onselectstart=function(){return!0}}function st(e,t){U(),F(),void 0===t&&(t=!1);try{for(var n=!1,i=0;Cn.seekable.length>i;i++){var a=Cn.seekable.start(i),r=Cn.seekable.end(i);e>=a&&r>=e&&(n=!0)}n?_i?hi=e:(Cn.currentTime=e,ct()):t&&setTimeout(function(){st(e,!0)},100)}catch(o){t&&setTimeout(function(){st(e,!0)},100)}}function ut(e){var t=e-qn.offset().left,n=t/qn.width();Fn.width(Math.min(100,Math.max(0,100*n))+"%"),U(),Fi=!1,st(Number(n*Cn.duration)),lt()}function ct(){Fn.width(100*Cn.currentTime/Cn.duration+"%"),lt()}function lt(){Un[0].innerHTML=dt(Cn.currentTime),Cn.duration&&(Hn[0].innerHTML=dt(Cn.duration))}function dt(e){e=Math.round(e);var t=Math.floor(e/60);return t=t>=10?t:"0"+t,e=Math.floor(e%60),e=e>=10?e:"0"+e,t+":"+e}function ft(e,t){var n=100;try{n=void 0==localStorage.getItem("volume")?100:localStorage.getItem("volume")}catch(i){}e.slider({orientation:t,range:"min",min:0,max:100,value:n,slide:function(e,t){$n.removeClass("volume_button_high_normal"),$n.removeClass("volume_button_med_normal"),$n.removeClass("volume_button_low_normal"),$n.removeClass("volume_button_normal"),$n.removeClass("unmute_button_normal"),t.value>70?$n.addClass("volume_button_high_normal"):t.value>30?$n.addClass("volume_button_med_normal"):t.value>0?$n.addClass("volume_button_low_normal"):$n.addClass("unmute_button_normal"),Y(t.value/100);try{localStorage.setItem("volume",t.value)}catch(n){}}});try{Y(void 0==localStorage.getItem("volume")?100:localStorage.getItem("volume")/100)}catch(i){}}function pt(){ni.removeClass(Ki)}function gt(){-1!==vi&&(clearTimeout(vi),vi=-1),ni.unbind("mouseenter"),ni.unbind("mouseleave"),ni.addClass(Ki)}function ht(){U(),Bi&&Qi&&(t(this).removeClass("toc_off_button_normal"),t(this).addClass("toc_button_normal"),$(!1)),In.show()}function mt(e,t){Wi=!1,Fi=!1,In.hide(),Tn.css("visibility","visible"),U(),E(),l.isPlaylist()||st(e),t&&(l.isPlaylist()?(l.setCurrentMedia(0),N(l.getCurrentMediaIndex()+1),en()):Cn.play())}function vt(){document.exitFullscreen?document.exitFullscreen():document.webkitExitFullscreen?document.webkitExitFullscreen():document.msExitFullscreen?document.msExitFullscreen():document.mozCancelFullScreen&&document.mozCancelFullScreen()}function At(){if(Math.floor(Cn.currentTime)<Math.floor(Cn.duration)){ui&&e.clearInterval(ui);var t=na.getString("videoFailedToLoad");return(!i.isIPad()||i.isAndroid())&&(t=na.getString("videoFailedToLoadUseFlash")),cn(void 0,t,!1),void 0}if(l.isPlaylist()&&!l.onLastMedia())Mi=!0,l.setCurrentMedia("next"),N(l.getCurrentMediaIndex()+1),en();else{y(),Cn.pause(),Pn.removeClass("pause_normal"),Pn.addClass("play_normal"),setTimeout(Ot,1e3);var a=!1,r=!0,o=!1,s=!0;if(void 0!=u.getEndActionType()){var d=u.getEndActionParam();switch(u.getEndActionType().toLowerCase()){case"loop":a="true"===d||"1"===d?!0:!1;break;case"stop":r="false"===d||"0"===d?!1:!0;break;case"jumptotime":o=!0;break;case"jumptotimeandstop":s=!1,o=!0;break;case"jumptourl":u.getTrackEvents()&&n("Video_Finished_Action",d),i.isNuevoApp()?setTimeout(function(){e.open(""+d,"_parent")},500):e.open(""+d,"_parent");break;case"jumptourlnew":u.getTrackEvents()&&n("Video_Finished_Action",d),e.open(""+d,"_blank")}}a?mt(0,!0):o?mt(d/1e3,s):r?(xi&&vt(),Mt(),c.close(),Lt(),ht()):Fi=!0}}function St(){Ri=!Ri;var e;Ri?(e="ENTER-FULLFRAME",_n.removeClass("fullframe_enter_button_normal"),_n.addClass("fullframe_leave_button_normal")):(e="EXIT-FULLFRAME",_n.removeClass("fullframe_leave_button_normal"),_n.addClass("fullframe_enter_button_normal")),A.postMessage(e,"*")}function bt(){Vn.unbind("touchstart"),t("#videoSidebarContent").off("touchstart","**"),t("#videoSidebarContent").off("touchmove","**"),t("#videoSidebarContent").off(ji,"li",et)}function Ct(){Vn.bind("touchstart",nt),t("#videoSidebarContent").on("touchstart","li",function(){Ui=!1}),t("#videoSidebarContent").on("touchmove","li",function(){Ui=!0}),t("#videoSidebarContent").on(ji,"li",et)}function Tt(){On.removeClass("settings_button_normal").addClass("settings_off_button_normal")}function Et(e){e.preventDefault(),c.isOpen()||(On.removeClass("settings_off_button_normal").addClass("settings_button_normal"),c.open())}function yt(){function a(){Di?(Bn.removeClass("closed_caption_off_button_normal"),Bn.addClass("closed_caption_button_normal"),Zn.removeClass("hide"),P()):(Bn.removeClass("closed_caption_button_normal"),Bn.addClass("closed_caption_off_button_normal"),Zn.addClass("hide"))}function r(e){Array.isArray(e)&&c.setAvailableRates(e),c.render(wn,e),c.setVideoElement(Cn),c.setOnHideCallback(Tt),On.click(Et)}-1!==u.getAllowRewind()?Rn.click(function(){Fi=!1;var e=Number(Cn.currentTime)-u.getAllowRewind();st(Number(e))}):Rn.addClass(Ki),Pn.click(function(e){Cn.paused?Fi?wt():Cn.play():Cn.pause(),e.preventDefault()}),Mn.click(function(e){l.onFirstMedia()||(l.setCurrentMedia("previous"),N(l.getCurrentMediaIndex()+1),en()),e.preventDefault()}),Ln.click(function(e){l.onLastMedia()||(l.setCurrentMedia("next"),N(l.getCurrentMediaIndex()+1),en()),e.preventDefault()}),bn.bind("play",function(){Pn.removeClass("play_button_normal"),Pn.addClass("pause_button_normal")}),bn.bind("pause",function(){Pn.removeClass("pause_button_normal"),Pn.addClass("play_button_normal")}),bn.bind("ended",function(){Gi||(G(),u.getTrackEvents()&&(u.getAltEventCategoryAsFilename()?n("Video_Finished",Zi):n("Video_Finished",""+l.getCurrentMedia().mediaSrc)))}),In.click(function(){wt()}),it(),$n.mouseover(function(){-1!=vi&&(clearTimeout(vi),vi=-1),pt()}),$n.mouseout(function(){ei.length>0&&(ni.bind("mouseenter",function(){-1!=vi&&(clearTimeout(vi),vi=-1)}),ni.bind("mouseleave",function(){vi=setTimeout(function(){gt(),vi=-1},1e3)}),-1!=vi&&(clearTimeout(vi),vi=-1),vi=setTimeout(function(){gt(),vi=-1},1e3))}),$n.click(function(){var e;Oi=!Oi,Oi?(mi=Cn.volume,e=0,ei.slider("value",[0])):(e=mi,ei.slider("value",[100*mi])),$n.removeClass("volume_button_high_normal"),$n.removeClass("volume_button_med_normal"),$n.removeClass("volume_button_low_normal"),$n.removeClass("volume_button_normal"),$n.removeClass("unmute_button_normal"),e>.7?$n.addClass("volume_button_high_normal"):e>.3?$n.addClass("volume_button_med_normal"):e>0?$n.addClass("volume_button_low_normal"):$n.addClass("unmute_button_normal"),Y(e)}),ti.length>0?(ft(ti,"horizontal"),ni.show()):ft(ei,"vertical"),f.hasCaptionItems()&&("under"===f.getCaptionPosition()?(Di=!0,Zn.css("background",f.getCaptionBg()),Zn.addClass("caption_under_video"),Zn.removeClass("hide"),wn.addClass("caption_under_video"),P()):a(),Bn.bind("click",function(){Di=!Di,a()})),i.isAndroid()?On.hide():Xi?S.player.supportPlaybackRate?r(S.player.validRateSettings):On.hide():r(),_n.click(function(e){if(Li)St();else if(xi)u.getIsSearchable()&&D(),vt();else{var n=document.getElementById(gn);i.supportsFullScreenKeyboardInput()?n.requestFullscreen?n.requestFullscreen(Element.ALLOW_KEYBOARD_INPUT):n.webkitRequestFullscreen?n.webkitRequestFullscreen(Element.ALLOW_KEYBOARD_INPUT):n.msRequestFullscreen?n.msRequestFullscreen(Element.ALLOW_KEYBOARD_INPUT):n.mozRequestFullScreen&&n.mozRequestFullScreen(Element.ALLOW_KEYBOARD_INPUT):(Bi&&u.getIsSearchable()&&t("#videoSidebar").addClass("search_disabled"),n.requestFullscreen?n.requestFullscreen():n.webkitRequestFullscreen?n.webkitRequestFullscreen():n.msRequestFullscreen?n.msRequestFullscreen():n.mozRequestFullScreen&&n.mozRequestFullScreen())}e.preventDefault()}),Bi&&(Dn.click(function(){Qi=!Qi,Qi?(t(this).removeClass("toc_off_button_normal"),t(this).addClass("toc_button_normal")):(t(this).removeClass("toc_button_normal"),t(this).addClass("toc_off_button_normal")),"none"===Wn.css("display")?$(!0):$(!1)}),u.getSidebarEnabled()?(Qi=!0,Dn.removeClass("toc_off_button_normal"),Dn.addClass("toc_button_normal"),$(!0)):(Dn.removeClass("toc_button_normal"),Dn.addClass("toc_off_button_normal"))),i.isIPad()||i.isAndroid()?(t("body").on("blur","textarea",function(){zi=!1,$t()&&C.clear(),Ct(),Ri&&xt()}),t("body").on("focus","textarea",function(e){if(zi=!0,bt(),$t()){var t=e.target;C.watch(t)}Ri&&Nt()}),t("body").on("blur","input:text",function(){zi=!1,$t()&&C.clear(),Ct(),Ri&&xt()}),t("body").on("focus","input:text",function(e){if(zi=!0,bt(),$t()){var t=e.target;C.watch(t)}Ri&&Nt()}),e.parent.onorientationchange=function(){Ri&&(Vi?(t("#searchBox").blur(),setTimeout(Rt,500)):Rt())}):i.isTouchInterface()&&qn.bind("pointerdown",nt),E(),u.getDisableControls()&&Lt()}function It(e){Pt()||kt(!0),mt(e,!0),u.getTrackEvents()&&(u.getAltEventCategoryAsFilename()?n("Video_Replay",Zi):n("Video_Replay",""+l.getCurrentMedia().mediaSrc))}function wt(){It(0)}function Nt(){si.unbind("touchmove"),si.unbind("gesturestart"),t(e.parent).unbind("gesturestart"),si.unbind("gestureend"),t(e.parent).unbind("gestureend")}function xt(){si.bind("touchmove",function(e){t.contains(Jn[0],e.target)||g()&&s.quizEnabled()&&s.viewOpen()||e.preventDefault()}),si.bind("gesturestart",function(e){e.preventDefault()}),t(e.parent).bind("gesturestart",function(e){e.preventDefault()}),si.bind("gestureend",function(){St()}),t(e.parent).bind("gestureend",function(){St()})}function Rt(){_()}function Pt(){return!u.getAutoHideControls()||f.hasCaptionItems()&&"under"===f.getCaptionPosition()?!1:(i.isTouchInterface()?oi.bind("pointerover pointerup",function(){kt(!0)}):(oi.hover(kt,Lt),oi.bind("pointermove",function(){kt(!0)})),Bt(),!0)}function Mt(){Dt(),oi.unbind("pointermove pointerenter pointerleave")}function Lt(){_t(!1),Vi||Gi||c.isOpen()||(qi=!0,wn.stop(!0,!0),wn.fadeOut(li),Qi&&(Wn.stop(!0,!0),Wn.fadeOut(li)),-1!==vi&&gt(),Xi&&ri.removeClass("hide"))}function kt(e){u.getDisableControls()||(qi&&(qi=!1,wn.stop(!0,!0),wn.fadeIn(li),Qi?(Wn.stop(!0,!0),Wn.fadeIn(li)):_t(!0),e&&ct(),Mi&&(Mi=!1,_())),e&&Bt(),Xi&&ri.addClass("hide"))}function _t(e){i.isNuevoApp()&&(document.location=e?"nuevo://shownavbar":"nuevo://hidenavbar")}function Ot(){if(i.isNuevoApp()){var e=document.location;document.location="nuevo://hasPlayedToEnd?url="+e}}function Dt(){e.clearTimeout(bi)}function Bt(){Dt(),u.getAutoHideControls()&&(bi=e.setTimeout(Lt,Ci))}function Qt(i){i.preventDefault();var a=f.getHotspotItemArray(),r=Number(t(i.target).attr("hotspot_index"));if(void 0!==a[r].jumpFile){var o=l.getMediaIndexBySrc(a[r].jumpFile);l.setCurrentMedia(o),N(l.getCurrentMediaIndex()+1),en()}else if(""!==a[r].jumpTime)Fi=!1,st(Number(a[r].jumpTime)),Cn.play();else if(""!==a[r].targetURL){u.getTrackEvents()&&n("Hotspot_Action",a[r].targetURL);var s="_parent";void 0!==a[r].newWindow&&a[r].newWindow===!0&&(s="_blank"),e.open(a[r].targetURL,s)}else Cn.play()}function Vt(){d.isEnabled()&&(d.setVideoLoadEndTime((new Date).getTime()),u.getTrackEvents()&&(u.getAltEventCategoryAsFilename()?u.getAltLoadTimeAsSeconds()?n("Video_Loading_Time_In_Seconds",Zi,d.getVideoLoadTime()/1e3):n("Video_Loading_Time",Zi,d.getVideoLoadTime()):u.getAltLoadTimeAsSeconds()?n("Video_Loading_Time_In_Seconds",""+l.getCurrentMedia().mediaSrc,d.getVideoLoadTime()/1e3):n("Video_Loading_Time",""+l.getCurrentMedia().mediaSrc,d.getVideoLoadTime()))),Pi=!0}function qt(){_i=!0}function Gt(){_i=!1,hi>-1&&(st(hi),hi=-1)}function Ft(){if(yn.hide(),bn.unbind("playing"),u.getScormStartPt()){var e=u.getScormStartPt();Cn.duration>e&&st(Number(e),!0)}if(u.getJumpToTime()){var t=fn(u.getJumpToTime());Cn.duration>t&&st(Number(t),!0)}u.getDebugUIMode()&&Sn&&Sn.call(this)}function Ut(){f.hasHotspotItems()&&ii.on("click","area",Qt),f.hasCaptionItems()&&(Xn.css({"font-family":f.getCaptionFontFamily(),color:f.getCaptionTextColor(),background:f.getCaptionBg()}),Di=u.getCaptionsEnabled())}function Ht(e,t,n){n||(n=!1);var a="<video";n&&u.getPosterImageSrc()&&(a+=' poster="'+u.getPosterImageSrc()+'"'),t&&(a+=" controls"),i.isNuevoApp()&&(a+=" webkit-playsinline"),a+=">";for(var r=e.length,o=0;r>o;o++){var s=u.getUnicodeSafeString(e[o].mediaSrc);a+='<source src="'+s+'" type="'+e[o].mediaMimeType+'" />'}return a+=u.getUnableToDisplayContentString()+"</video>"}function zt(){Wt(na.getString("videoLoading"))}function Wt(e){if(ta.viewOpen())ta.setViewMessage(e);else{var t=ta.getViewMarkup(e);oi.append(t),ta.showView()}}function Jt(){ta.viewOpen()&&ta.removeView()}function Yt(){return Xi?S.player:t("video")[0]}function jt(){g()&&s.quizEnabled()?Kt():Xt()}function Kt(){yn.hide(),s.init(u.getEnforceLinearAssessment(),Yt)}function Zt(e){cn("#tscVideoContent",e.data,!1)}function Xt(){if(mn&&mn.call(),Xi)bn=e.TSC.youTube.player,Cn=e.TSC.youTube.player;else{var n=Ht(l.getCurrentMedia(),!1);t("#videoDiv").html(n),bn=t("video"),bn.length>0&&(Cn=bn[0])}if(bn.bind({loadedmetadata:V,playing:Ft,canplay:Vt,seeking:qt,seeked:Gt,timeupdate:G,progress:at}),Tn.removeClass("hide"),Ut(),yt(),Bi&&tt(),g()&&s.quizEnabled()){var i=t("<div>",{"class":"quizMarker"});oi.append(i),v.setSize(i.width()),v.setColor(i.css("color")),i.remove(),ai.show()}Mi=!0,_(),wn.hide(),$t()&&C.setOnBugCallback(function(e){1===e&&cn("#videoWrapper","For the best experience, avoid tapping the video while inputting text.",!0)}),en()}function $t(){return i.isIPad()&&8>i.getIOSMajorVersion()&&Xi&&(Bi||g()&&s.quizEnabled()&&h.quizContainsTextInputQuestions())}function en(){Wi=!1,Fi=!1,l.isPlaylist()&&(l.onFirstMedia()?(Mn.removeClass("previous_button_normal"),Mn.addClass("previous_button_disabled")):(Mn.addClass("previous_button_normal"),Mn.removeClass("previous_button_disabled")),l.onLastMedia()?(Ln.removeClass("next_button_normal"),Ln.addClass("next_button_disabled")):(Ln.addClass("next_button_normal"),Ln.removeClass("next_button_disabled")),d.isEnabled()&&(d.clearPercentWatched(),wi=0),Cn.src=l.getCurrentMedia().mediaSrc),i.isIPad()||i.isAndroid()?Cn.play():(Cn.load(),Cn.play()),d.isEnabled()&&d.setVideoLoadStartTime((new Date).getTime()),u.getTrackEvents()&&Yi&&(Yi=!1,u.getAltEventCategoryAsFilename()?n("Video_Started",Zi):n("Video_Started",""+l.getCurrentMedia().mediaSrc),n("Video_Percent_Viewed","Viewed: 0 Percent"))}function tn(e){switch(e.type){case"COMPLETE":case"REVIEW":if(Wn&&Qi?$(!0):_t(!0),E(),Pt(),L(),"REVIEW"===e.type&&u.getEnforceLinearAssessment()){var t=s.findPrevMarkerTimeForMarker(Ti);Ti=-1,st(t/1e3),Cn.play()}else Cn.play();break;case"BEGIN":case"SKIP":s.setViewContainer("#videoWrapper"),yn.unbind("click",an),bn?Hi&&s.getQuizReady()&&(B(),Cn.play(),Mi=!0,_()):Xt(),s.startTrackingProgress();break;case"ERROR":bn||Xt(),cn("#videoWrapper",r.getString("txtErrorMessage"),!0);break;case"STATUS":Wt(e.message);break;case"SUBMITTED":Jt()}}function nn(n,a){oi=t(n),pn=n,gn=pn.replace(/^[#]/,""),Bi=a,$i=i.requiresManualPreload()&&Xi,oi.html(ia),wn=t("#controls"),Nn=wn.find(".controls_left"),xn=wn.find(".controls_right"),Rn=t("#rewind"),Pn=t("#play"),Mn=t("#previous"),Ln=t("#next"),$n=t("#volume"),Bn=t("#closedCaptionButton"),Dn=t("#tocButton"),On=t("#settingsButton"),_n=t("#fullscreen_enter_button"),ei=t("#volume_slider_vertical"),ti=t("#volume_slider_horizontal"),ni=t("#volume_slider_container"),Qn=t("#progress"),Vn=t("#progress_box"),Gn=t("#load_progress"),Fn=t("#play_progress"),qn=t("#progress_scrubbar_track"),Un=t("#current_time_display"),Hn=t("#duration_display"),zn=t("#scrubbar_scrubber"),Wn=t("#videoSidebar"),Jn=t("#tableOfContentsList"),Kn=t("#searchBox"),kn=t("#clearSearchButton"),Zn=t("#caption"),Xn=t("#caption > p"),ii=t("#hotspots"),ai=t("#markers"),Tn=t("#videoWrapper"),En=t("#videoDiv"),yn=t("#videoClickToPlayLink"),In=t("#videoClickToReplayLink"),ri=t("#youtubePointerEventWorkaround"),si=t(document),$i&&yn.addClass("noClickToPlayEvents"),oi.css("background-color",u.getBackgroundColor()),u.getPosterImageSrc()&&w(u.getPosterImageSrc()),oi.fadeIn(li),In.fadeIn(li),In.hide(),(i.isIPad()||i.isAndroid())&&($n.hide(),_n.hide(),$n.remove()),Bi&&Dn.removeClass(Ki),f.hasCaptionItems()&&("under"===f.getCaptionPosition()?u.setAutoHideControls(!1):Bn.removeClass(Ki)),l.isPlaylist()?(Mn.removeClass(Ki),Ln.removeClass(Ki)):(Mn.addClass(Ki),Ln.addClass(Ki)),_(),t(e).resize(function(){Mi=!0,_()
}),Kn.focus(function(){Vi=!0,Kn.val()==na.getString("search")&&Kn.val(""),y(),Dt()}),Kn.blur(function(){Vi=!1,""===Kn.val().replace(/ /g,"")&&Kn.val(na.getString("search")),E(),Bt()})}function an(e){e.preventDefault(),hn&&hn(),g()&&s.quizEnabled()?Kt():Xt()}function rn(){TSC.playerView.displayMessagePanel("#tsc_overlay",TSC.localizationStrings.getString("txtQuizErrorMessage"),!1)}function on(){t("#alertDialog").hide()}function sn(){Kn.val(na.getString("search"));var e=i.isIPad()&&!i.isNuevoApp();if((e||i.isAndroid()||g()&&s.quizEnabled())&&!u.getMobileWebViewCanAutoPlay()&&u.setAutoPlayMedia(!1),u.getAutoPlayMedia()===!0&&void 0===u.getJumpToTime()?(hn&&hn(),setTimeout(Xt,80)):yn.bind("click",an),g()&&s.quizEnabled()){s.setViewContainer(pn);var t;t=u.getFathomId()?p:m,s.setQuestionGrader(t),s.setQuestionData(h),s.setViewControlBarOffset(wn.height()),s.addEventListener("COMPLETE",tn),s.addEventListener("REVIEW",tn),s.addEventListener("BEGIN",tn),s.addEventListener("SKIP",tn),s.addEventListener("ERROR",tn),s.addEventListener("STATUS",tn),s.addEventListener("SUBMITTED",tn),s.addEventListener("SHOW_LOADING_MESSAGE",zt),s.addEventListener("HIDE_LOADING_MESSAGE",Jt),s.addEventListener("SHOW_SUBMISSION_RETRY_MESSAGE",rn),s.addEventListener("HIDE_SUBMISSION_RETRY_MESSAGE",on),void 0!==u.getJumpToTime()&&setTimeout(Kt,80)}else void 0!==u.getJumpToTime()&&setTimeout(Xt,80);(u.getTrackEvents()||u.getReportScormComplete()||g()&&s.quizEnabled())&&(d.setEnabled(!0),f.xmpAvailable()&&d.initPercentWatched(f.getMediaDuration())),ci=!0,u.getDebugUIMode()&&An&&An.call(this)}function un(){ii.removeClass(Ki),ii.find("map").empty(),t.each(f.getHotspotItemArray(),function(e,n){var i;if(l.isPlaylist()&&(i=l.getCurrentMedia().mediaSrc),void 0===n.file||n.file===i){n.viewpoints=[];for(var e=0;n.points.length>e;e+=2){var a={xorig:Math.round(n.points[e]),yorig:Math.round(n.points[e+1]),xscale:Math.round(n.points[e])/di,yscale:Math.round(n.points[e+1])/fi};n.viewpoints.push(a)}n.pointsToCoords=function(){for(var e=[],t=0;this.viewpoints.length>t;t++)e.push(this.viewpoints[t].xorig>=0?Math.round(this.viewpoints[t].xscale*ii.width()):0),e.push(this.viewpoints[t].yorig>=0?Math.round(this.viewpoints[t].yscale*ii.height()):0);return e.join(",")},n.jqel=t("<area></area>",{shape:"poly",coords:n.pointsToCoords(),hotspot_index:n.index,alt:"Hotspot",href:"#"})}})}function cn(e,n,i){n="<span>"+n+"</span>",i&&(n+="<h4>"+na.getString("clickToClose")+"</h4>"),ci?(t("#alertDialog").html(n),t("#alertDialog").fadeIn(li)):(t(e).css("background-color",u.getBackgroundColor()),t(e).css("height","100%"),t(e).html('<div id="alertDialog">'+n+"</div>"),t(e).fadeIn(li),t("#alertDialog").show()),i&&t("#alertDialog").bind("click",function(){on(),t("#alertDialog").unbind("click")})}function ln(){var e="#000";u.getPosterImageSrc()&&(e+=" url("+u.getPosterImageSrc()+") center no-repeat"),t(".appplayer").css({background:e,position:"relative","background-size":"cover",height:"100%","z-index":"1"})}function dn(e){var n,a=t(e);if(TSC.mediaPlayer.isNuevoAppCapableAndAvailable()&&(f.hasAdvancedFeatures()||u.getFathomId())){n=u.getUseSlimAppSplashScreen()?o.ios_app_slim_splash_template({openWithSmartPlayer:na.getString("openWithSmartPlayer")}):o.ios_app_splash_template({playWithSmartPlayer:na.getString("playWithSmartPlayer"),playVideoOnly:na.getString("playVideoOnly")}),a.after(n),ln();var r=t(".appplayer");r.show(),a.hide(),u.getUseSlimAppSplashScreen()?t(".openVideoSmartPlayerContainer").click(function(){TSC.mediaPlayer.redirectToiPhoneApp()}):(t(".externalLargePlayBtn").click(function(){r.hide(),a.show(),TSC.mediaPlayer.redirectToiPhoneApp()}),t(".appNativePlayBtn").click(function(){r.hide(),a.show(),bn=t("video"),Cn.play()}),t(".appstoreBtn").click(function(){TSC.mediaPlayer.redirectToiPhoneAppDownload()}))}else if(i.isIPhoneOrIPod()){n=o.ios_app_default_template(),a.after(n);var s=t(".externalDefaultPlaybackContainer");u.getPosterImageSrc()&&(I(s,u.getPosterImageSrc()),s.addClass("fullSizePosterImgContainer")),s.show(),a.hide(),s.click(function(e){e.preventDefault(),a.show(),bn=t("video"),Cn.play(),setTimeout(function(){a.hide()},1e3)})}}function fn(e){if(isNaN(e)){var t=0,n=0,i=0,a=e.toLowerCase(),r=RegExp("(\\d+[h])","g"),o=RegExp("(\\d+[m])","g"),s=RegExp("(\\d+[s])","g"),u=RegExp("\\d+","g"),c=a.match(r),l=a.match(o),d=a.match(s),f=a.match(u);return d||l||c?(c&&(t=60*60*Number(c[0].split("h").join(""))),l&&(n=60*Number(l[0].split("m").join(""))),d&&(i=Number(d[0].split("s").join(""))),Number(t+n+i)):f?i=Number(f[0]):0}return 0>e&&(e=0),e}var pn,gn,hn,mn,vn,An,Sn,bn,Cn,Tn,En,yn,In,wn,Nn,xn,Rn,Pn,Mn,Ln,kn,_n,On,Dn,Bn,Qn,Vn,qn,Gn,Fn,Un,Hn,zn,Wn,Jn,Yn,jn,Kn,Zn,Xn,$n,ei,ti,ni,ii,ai,ri,oi,si,ui,ci=!1,li=300,di=-1,fi=-1,pi=0,gi=0,hi=-1,mi=1,vi=-1,Ai=250,Si=1,bi=-1,Ci=5e3,Ti=-1,Ei=-1,yi=0,Ii=0,wi=0,Ni=10,xi=!1,Ri=!1,Pi=!1,Mi=!1,Li=!1,ki=!1,_i=!1,Oi=!1,Di=!1,Bi=!1,Qi=!1,Vi=!1,qi=!1,Gi=!1,Fi=!1,Ui=!1,Hi=!1,zi=!1,Wi=!1,Ji=!1,Yi=!0,ji="click",Ki="hide",Zi="HTML5-Video",Xi=!1,$i=!1,ea=32,ta=a,na=r,ia=o.html5_player_template({msgSearch:na.getString("search"),msgSearchIsDisabledInFS:na.getString("searchDisabledFullScreen"),accessBtnClearSearch:na.getString("accessBtnClearSearch"),accessBtnRewind:na.getString("accessBtnRewind"),accessBtnPlay:na.getString("accessBtnPlay"),accessBtnPrevious:na.getString("accessBtnPrevious"),accessBtnNext:na.getString("accessBtnNext"),accessBtnVolume:na.getString("accessBtnVolume"),accessBtnClosedCaption:na.getString("accessBtnClosedCaption"),accessBtnTableOfContents:na.getString("accessBtnTableOfContents"),accessBtnSettings:na.getString("accessBtnSettings"),accessBtnFullScreen:na.getString("accessBtnFullScreen")});return{initHtml5View:function(e,t){nn(e,t),sn()},initSimpleHtml5View:function(n){if(l.isPlaylist()){for(var a=t(e).innerWidth()-20,r=l.getMediaList(),o=r.length,s="<ol>",u="style='width: "+a+"px; height: 75px;'",c=0;o>c;c++)s+="<li "+u+" >"+Ht([r[c]],!0,!0)+"</li>";s+="</ol>",t(n).html(s),t(n).css("background-color","#ffffff"),t("body").css("overflow","auto"),t(n).css("overflow","auto"),t(n+" ol").css("list-style","none"),t(n+" ol").css("margin","10px"),t(n+" ol").css("padding","0")}else t(n).html(Ht(l.getCurrentMedia(),!i.isIPhoneOrIPod(),!0));dn(n)},initYouTubeView:function(e,n,i){Xi=!0,nn(e,n);var a=t(e);S.init(i,"videoDiv",sn,jt,Zt,a.attr("width"),a.attr("height"))},jsSeekTime:function(e){if(ci)if(bn)Cn.duration&&Cn.duration>e&&(Ji?It(e):(!g()||g()&&!s.viewOpen())&&st(e,!0));else{var t={};t.t=e,u.setURLParams(t),g()&&s.quizEnabled()?s.viewOpen()||setTimeout(Kt,80):setTimeout(Xt,80)}},jsPlay:function(){ci&&(bn?Ji?It(0):Cn.play():g()&&s.quizEnabled()?s.viewOpen()||setTimeout(Kt,80):setTimeout(Xt,80))},displayMessagePanel:function(e,t,n){void 0===n&&(n=!0),cn(e,t,n)},addEventListener:function(e,t){switch(e){case"VIDEO_START_INITIATED":hn=t;break;case"VIDEO_START":mn=t;break;case"CAPTION_CHANGE":vn=t;break;case"READY":An=t;break;case"VIDEO_PLAY":Sn=t}},removeEventListener:function(e){switch(e){case"VIDEO_START_INITIATED":hn=void 0;break;case"VIDEO_START":mn=void 0;break;case"CAPTION_CHANGE":vn=void 0;break;case"READY":An=void 0;break;case"VIDEO_PLAY":Sn=void 0}}}}()}(this,jQuery,TSC.externalMessageController,TSC.deviceInfo,TSC.ioOverlayView,TSC.localizationStrings,TSC.templates,TSC.quizController,TSC.playerConfiguration,TSC.playerSettingsView,TSC.mediaList,TSC.videoAnalytics,TSC.xmp,TSC.fathomGrader,TSC.fathomService,TSC.quizModel,TSC.xmpGrader,TSC.quizMarker,TSC.iFrameBridge,TSC.youTube,TSC.searchTool,TSC.iOSTextInputFix),function(e,t,n,i,a){"use strict";e.TSC=e.TSC||{},e.TSC.imageView=function(){function e(e){l.css("background-image","url("+e+")"),o("Imaged_Loaded",e)}function r(e){s=e,u=t(s),u.html(f),u.fadeIn(d),u.css("background-color",a.getBackgroundColor()),c=t("#image"),l=t("#imageDiv")}function o(e,t,n){a.getCustomEventTracking()&&a.getCustomEventCallback()&&(a.getAltEventCategoryAsFilename()?a.getCustomEventCallback().call(this,{category:a.getMediaFileName(),action:e,label:t,value:n}):a.getCustomEventCallback().call(this,{category:p,action:e,label:t,value:n})),a.getGoogleAnalyticsID()&&_gaq.push(["_trackEvent",p,e,t])}var s,u,c,l,d=300,f=i.image_view_template(),p="Loaded Content";return{initView:function(t){r(t);var i=n.getCurrentMedia()[0].mediaSrc;e(i)}}}()}(this,jQuery,TSC.mediaList,TSC.templates,TSC.playerConfiguration);var _gaq=_gaq||[];(function(e,t,n,i,a,r,o,s,u,c,l,d,f,p,g,h,m,v,A,S,b){e.TSC=e.TSC||{},e.TSC.mediaPlayer=function(){"use strict";function C(){c.getMediaType()!==u.WEBM&&n.hasFlashPlayerVersion(s.getMinFlashPlayerVersion())?m.render(F):v.displayMessagePanel(F,c.getErrorMessage())}function T(){a.isLocal()?v.displayMessagePanel(F,g.getLocalErrorMessage()):v.displayMessagePanel(F,g.get404ErrorMessage())}function E(){_gaq.push(["_setAccount",s.getGoogleAnalyticsID()]),s.getGAPageViewTracking()&&_gaq.push(["_trackPageview",s.getMediaFileName()]),function(){var e=document.createElement("script");e.type="text/javascript",e.async=!0,e.src=("https:"==document.location.protocol?"https://ssl":"http://www")+".google-analytics.com/ga.js";var t=document.getElementsByTagName("script")[0];t.parentNode.insertBefore(e,t)}()}function y(){if(a.isNuevoApp()){var e=document.querySelector("meta[name=viewport]");e&&e.setAttribute("content","width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;")}}function I(){N()}function w(){a.lookAtDevice(),y(),r.strip(),!a.isNuevoApp()&&s.getPreRollSrc()?S.createView(s.getPreRollSrc(),I):V()||N()}function N(){c.addEventListener("READY",M),c.addEventListener("ERROR",C),c.init(s.getMediaSources())}function x(){if(a.isNuevoApp()&&g.xmpAvailable()){var e=document.location,t=g.getTocTitle(),n=g.getMediaDuration();document.location="nuevo://info?url="+e+"?title="+t+"?duration="+n}}function R(){v.removeEventListener("VIDEO_START_INITIATED",R),S&&S.viewExists()&&S.destroyView()}function P(){Y||(v.removeEventListener("VIDEO_START"),t(document).trigger("techsmith.cloud.videofirstclickplay"),Y=!0)}function M(){c.removeEventListener("READY",M),c.removeEventListener("ERROR",C);var e=d.getPlayerType();switch(e){case l.YOUTUBE:A.addApi(),L();break;case l.HTML5_VIDEO:L();break;case l.FLASH_VIDEO:m.render(F);break;case l.IMAGE:k(),b.initView(F);break;case l.NOT_SUPPORTED:c.getMediaType()===u.WEBM?v.displayMessagePanel(F,i.getString("noWebMSupport")):v.displayMessagePanel(F,i.getString("videoNotSupportedUseFlash"))}}function L(){s.getGoogleAnalyticsID()&&E(),O()}function k(){s.getGoogleAnalyticsID()&&E()}function _(e){s.getFathomId()?(h.addEventListener("GET_COMPLETE",function(){B(),"function"==typeof e&&e()}),h.addEventListener("ERROR",function(){B(),T()}),h.getFathom(s.getFathomId())):B()}function O(){s.getXMPSrc()?(g.addEventListener("READY",_),g.addEventListener("ERROR",function(){"string"==typeof TSC.embedded_config_xml?g.parseXMP(TSC.embedded_config_xml):(_(),T())}),g.loadXMP(s.getXMPSrc())):_()}function D(t){e.top!==e&&o.postMessage("CAPTION-CHANGED","*",t)}function B(){var t=!1,n=!1;if(g.xmpAvailable()&&(g.removeEventListener("READY",B),g.removeEventListener("ERROR",T)),a.isIPhoneOrIPod()&&!a.isNuevoApp())v.initSimpleHtml5View(F);else{if(g.xmpAvailable()&&((g.hasTocItems()||(g.hasCaptionItems()||g.hasScreenTextItems()||g.hasSpeechTextItems())&&s.getIsSearchable())&&(t=!0),g.hasCaptionItems()&&e.top!==e&&o.postMessage("HAS-CAPTIONS","*"),x()),p&&p.getQuizID()&&(a.isLocal()&&p.getReportMethod()!==f.NONE?(n=!0,p.setReportMethod(f.NONE)):p.getUseScorm()&&0===p.getTotalNumberOfGradedQuestionSets()&&s.setReportScormComplete(!0)),v.addEventListener("VIDEO_START_INITIATED",R),v.addEventListener("VIDEO_START",P),v.addEventListener("CAPTION_CHANGE",D),d.getPlayerType()===TSC.playerType.YOUTUBE){var r;r=c.isPlaylist()?c.getCurrentMedia().mediaSrc:c.getCurrentMedia()[0].mediaSrc,v.initYouTubeView(F,t,r)}else v.initHtml5View(F,t);n&&v.displayMessagePanel(F,i.getString("xmpSecurity"))}}function Q(e){var t=document.createElement("script");t.setAttribute("type","text/javascript"),t.setAttribute("src",e),t.async=!0,t.onload=function(){N()},t.onerror=function(){N()},t!==void 0&&document.getElementsByTagName("head")[0].appendChild(t)}function V(){return G()?(Q(H+z),!0):!1}function q(){return"true"===W}function G(){return a.isIPhoneOrIPod()&&a.isRetinaDisplay()&&!a.isNuevoApp()?!0:!1}var F,U="3.19.2",H="http://www.techsmith.com/redirect.asp?",z="target=nuevoappdata&product=camtasia&lang=enu&ver=1.0.0&os=mac",W="false",J="",Y=!1;return{init:function(e){F=e,w()},getVersion:function(){return U},keyValueDataCallback:function(e){W=e.isAppReady,J=e.appDownloadURL},isNuevoAppCapableAndAvailable:function(){return G()&&q()},redirectToiPhoneAppDownload:function(){G()&&e.open(J,"_parent")},jsSeekTime:function(e){d.getPlayerType()===l.FLASH_VIDEO?m.jsSeekTime(e):v.jsSeekTime(e)},jsPlay:function(){d.getPlayerType()===l.FLASH_VIDEO?m.jsPlay():v.jsPlay()},jsDebugUI:function(e){return d.getPlayerType()!==l.FLASH_VIDEO?"HTML5_VIDEO player does not support this method.":(s.setDebugUIMode(e),v.jsDebugUI(e),void 0)},redirectToiPhoneApp:function(){if(G()&&q()){var t=document.location+"",n=s.getPosterImageSrc(),i=(new Date).getTime();setTimeout(function(){var t=(new Date).getTime();1e3>t-i&&e.open(J,"_parent")},300);var a="nuevo://import?url=";a+=-1!==t.indexOf("?")?t+"&posterImage="+n:t+"?posterImage="+n,a+=s.getAdditionalAppQueryString(),e.open(a,"_parent")}},addEventListener:function(e,t){v.addEventListener(e,t)},removeEventListener:function(e){v.removeEventListener(e)}}}()})(this,jQuery,swfobject,TSC.localizationStrings,TSC.deviceInfo,TSC.queryParamsStripper,TSC.iFrameBridge,TSC.playerConfiguration,TSC.mediaType,TSC.mediaList,TSC.playerType,TSC.mediaPlayerController,TSC.reportType,TSC.quizModel,TSC.xmp,TSC.fathomService,TSC.flashView,TSC.playerView,TSC.youTube,TSC.preRollController,TSC.imageView);