diff --git a/MERGEDEMO/MERGEDEMO.MP4 b/MERGEDEMO/MERGEDEMO.MP4 new file mode 100644 index 0000000..26a8e4d Binary files /dev/null and b/MERGEDEMO/MERGEDEMO.MP4 differ diff --git a/MERGEDEMO/MERGEDEMO.html b/MERGEDEMO/MERGEDEMO.html new file mode 100644 index 0000000..e7353cb --- /dev/null +++ b/MERGEDEMO/MERGEDEMO.html @@ -0,0 +1,31 @@ + + + + + + + + + +Created by Camtasia Studio 8 + + + + + + + + + + diff --git a/MERGEDEMO/MERGEDEMO_First_Frame.png b/MERGEDEMO/MERGEDEMO_First_Frame.png new file mode 100644 index 0000000..b0c9b77 Binary files /dev/null and b/MERGEDEMO/MERGEDEMO_First_Frame.png differ diff --git a/MERGEDEMO/MERGEDEMO_config.xml b/MERGEDEMO/MERGEDEMO_config.xml new file mode 100644 index 0000000..9ee3b51 --- /dev/null +++ b/MERGEDEMO/MERGEDEMO_config.xml @@ -0,0 +1,36 @@ + + + + + + + + English + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/MERGEDEMO/MERGEDEMO_controller.swf b/MERGEDEMO/MERGEDEMO_controller.swf new file mode 100644 index 0000000..985cc81 Binary files /dev/null and b/MERGEDEMO/MERGEDEMO_controller.swf differ diff --git a/MERGEDEMO/MERGEDEMO_embed.css b/MERGEDEMO/MERGEDEMO_embed.css new file mode 100644 index 0000000..288441b --- /dev/null +++ b/MERGEDEMO/MERGEDEMO_embed.css @@ -0,0 +1,28 @@ +@charset "utf-8"; + +#tsc_player { + z-index: 9999; +} + +.tscplayer_inline { + position:static; + margin: 30px; + width: 852px; + height: 480px; + z-index:auto; +} + +.tscplayer_fullframe { + position:absolute; + top: 0px; + left: 0px; + margin: 0px; + padding: 0px; + z-index: 9999; +} + +@media screen and (max-width: 852px) { + .tscplayer_inline { + width: 100%; + } +} diff --git a/MERGEDEMO/MERGEDEMO_player.html b/MERGEDEMO/MERGEDEMO_player.html new file mode 100644 index 0000000..15d8af3 --- /dev/null +++ b/MERGEDEMO/MERGEDEMO_player.html @@ -0,0 +1,75 @@ + + + + + + + + + + + + + + + + +
+ +
+ + + + + \ No newline at end of file diff --git a/MERGEDEMO/playerProductInstall.swf b/MERGEDEMO/playerProductInstall.swf new file mode 100644 index 0000000..bdc3437 Binary files /dev/null and b/MERGEDEMO/playerProductInstall.swf differ diff --git a/MERGEDEMO/scripts/config_xml.js b/MERGEDEMO/scripts/config_xml.js new file mode 100644 index 0000000..3723298 --- /dev/null +++ b/MERGEDEMO/scripts/config_xml.js @@ -0,0 +1,38 @@ +var TSC = TSC || {}; + +TSC.embedded_config_xml = '\ + \ + \ + \ + \ + \ + \ + English\ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ + \ +'; diff --git a/MERGEDEMO/scripts/techsmith-smart-player.min.js b/MERGEDEMO/scripts/techsmith-smart-player.min.js new file mode 100644 index 0000000..913f07c --- /dev/null +++ b/MERGEDEMO/scripts/techsmith-smart-player.min.js @@ -0,0 +1,58 @@ +/*! 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="
",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="",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="","#"===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="",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="
a",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>"!==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="
t
",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="
",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=/\s*$/g,At={option:[1,""],legend:[1,"
","
"],area:[1,"",""],param:[1,"",""],thead:[1,"","
"],tr:[2,"","
"],col:[2,"","
"],td:[3,"","
"],_default:x.support.htmlSerialize?[0,"",""]:[1,"X
","
"]},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>");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>")+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)?""!==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("'}),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+="",(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)+"",(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)+"\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+='
\r\n
',(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)+'
\r\n
',(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+='
\r\n
\r\n
\r\n
'}),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+='
\r\n
',(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+='
\r\n
',(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+='
\r\n
\r\n
\r\n
'}),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+='
\r\n

',(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+='

\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
'}),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+='

',(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)+") ",(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+="

"}),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+='
\r\n

',(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+='

\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n

',(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)+"

\r\n
"}),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 \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+='
\r\n
\r\n \r\n \r\n
\r\n
"}),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+='\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 >Esc<, 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(/’/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,"&").replace(/(<|&lt;)/g,"<").replace(/(>|&gt;)/g,">").replace(/&amp;/g,"&"):e.replace(/&/g,"&").replace(/("|&quot;)/g,""").replace(/(<|&lt;)/g,"<").replace(/(>|&gt;)/g,">").replace(/&amp;/g,"&"):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='';t+='';for(var a=e.questions.length,r=0;a>r;r++)t+='',t+=""+e.questions[r].duration+"",t+=""+n.htmlEncode(e.questions[r].response)+"",e.questions[r].type!==i.SHORT&&void 0!==e.questions[r].correct&&(t+=""+(e.questions[r].correct?"True":"False")+""),t+=""+e.questions[r].segmentWatched+"",t+="";return t+=""}function h(e){var t,a,r,o,s,u,c='';for(c+='',c+=""+n.htmlEncode(e.projectName)+"",c+=""+e.productionName+"",c+=""+e.originId+"",c+=""+e.mediaDuration+"",c+="",t=0;e.reportRecipients.length>t;t++)c+=""+e.reportRecipients[t]+"";for(c+="",c+="",o=e.questionSets.length,t=0;o>t;t++){for(c+='',s=e.questionSets[t].questions.length,a=0;s>a;a++){if(c+='',c+=""+n.htmlEncode(e.questionSets[t].questions[a].questionText,!0)+"",e.questionSets[t].questions[a].type===i.CHOICE){for(c+="",u=e.questionSets[t].questions[a].choices.length,r=0;u>r;r++)c+=""+n.htmlEncode(e.questionSets[t].questions[a].choices[r],!0)+"";c+="",c+=""+e.questionSets[t].questions[a].correctAnswer+""}else if(e.questionSets[t].questions[a].type===TSC.questionType.FILL_IN){for(c+="",u=e.questionSets[t].questions[a].choices.length,r=0;u>r;r++)c+=""+n.htmlEncode(e.questionSets[t].questions[a].choices[r],!0)+"";c+=""}c+=""}c+=""}return c+="",c+=""}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="";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='
';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,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAACXBIWXMAAAsTAAALEwEAmpwYAAAKT2lDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVNnVFPpFj333vRCS4iAlEtvUhUIIFJCi4AUkSYqIQkQSoghodkVUcERRUUEG8igiAOOjoCMFVEsDIoK2AfkIaKOg6OIisr74Xuja9a89+bN/rXXPues852zzwfACAyWSDNRNYAMqUIeEeCDx8TG4eQuQIEKJHAAEAizZCFz/SMBAPh+PDwrIsAHvgABeNMLCADATZvAMByH/w/qQplcAYCEAcB0kThLCIAUAEB6jkKmAEBGAYCdmCZTAKAEAGDLY2LjAFAtAGAnf+bTAICd+Jl7AQBblCEVAaCRACATZYhEAGg7AKzPVopFAFgwABRmS8Q5ANgtADBJV2ZIALC3AMDOEAuyAAgMADBRiIUpAAR7AGDIIyN4AISZABRG8lc88SuuEOcqAAB4mbI8uSQ5RYFbCC1xB1dXLh4ozkkXKxQ2YQJhmkAuwnmZGTKBNA/g88wAAKCRFRHgg/P9eM4Ors7ONo62Dl8t6r8G/yJiYuP+5c+rcEAAAOF0ftH+LC+zGoA7BoBt/qIl7gRoXgugdfeLZrIPQLUAoOnaV/Nw+H48PEWhkLnZ2eXk5NhKxEJbYcpXff5nwl/AV/1s+X48/Pf14L7iJIEyXYFHBPjgwsz0TKUcz5IJhGLc5o9H/LcL//wd0yLESWK5WCoU41EScY5EmozzMqUiiUKSKcUl0v9k4t8s+wM+3zUAsGo+AXuRLahdYwP2SycQWHTA4vcAAPK7b8HUKAgDgGiD4c93/+8//UegJQCAZkmScQAAXkQkLlTKsz/HCAAARKCBKrBBG/TBGCzABhzBBdzBC/xgN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E){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(""):t(C).prepend(""),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(""),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(""),t(C+" label:eq("+e+")").prepend(""),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<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<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&>(!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&>(!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("<"),e=e.split(">").join(">");var t=!1;return-1!=e.indexOf("{\\rtf1")&&(e=e.split("{\\rtf1 ").join(""),t=!0),e=e.split("\\i0 ").join(""),e=e.split("\\b0 ").join(""),e=e.split("\\ul0 ").join(""),e=e.split("\\i ").join(""),e=e.split("\\b ").join(""),e=e.split("\\ul ").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=e.split("<br>").join("
"),e=e.split("<BR>").join("
")}}}()}(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)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,R0lGODlhIAAgAPMAAAAAAP///zg4OHp6ekhISGRkZMjIyKioqCYmJhoaGkJCQuDg4Pr6+gAAAAAA AAAAACH/C05FVFNDQVBFMi4wAwEAAAAh/hpDcmVhdGVk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myrCInCKqcWtvadL2SYhyASyNDJ0uIiUd6GAULDJCRiXo1CpGXDJOU jY+Yip9DhToJA4RBLwMLCwVDfRgbBAaqqoZ1XBMHswsHtxtFaH1iqaoGNgAIxRpbFAgfPQSqpbgG BqUD1wBXeCYp1AYZ19JJOYgH1KwA4UBvQwXUBxPqVD9L3sbp2BNk2xvvFPJd+MFCN6HAAIKgNggY 0KtEBAAh+QQJCgAAACwAAAAAIAAgAAAE6BDISWlSqerNpyJKhWRdlSAVoVLCWk6JKlAqAavhO9Uk UHsqlE6CwO1cRdCQ8iEIfzFVTzLdRAmZX3I2SfYIDMaAFdTESJeaEDAIMxYFqrOUaNW4E4ObYcCX aiBVEgULe0NJaxxtYksjh2NLkZISgDgJhHthkpU4mW6blRiYmZOlh4JWkDqILwUGBnE6TYEbCgev r0N1gH4At7gHiRpFaLNrrq8HNgAJA70AWxQIH1+vsYMDAzZQPC9VCNkDWUhGkuE5PxJNwiUK4UfL zOlD4WvzAHaoG9nxPi5d+jYUqfAhhykOFwJWiAAAIfkECQoAAAAsAAAAACAAIAAABPAQyElpUqnq zaciSoVkXVUMFaFSwlpOCcMYlErAavhOMnNLNo8KsZsMZItJEIDIFSkLGQoQTNhIsFehRww2CQLK F0tYGKYSg+ygsZIuNqJksKgbfgIGepNo2cIUB3V1B3IvNiBYNQaDSTtfhhx0CwVPI0UJe0+bm4g5 VgcGoqOcnjmjqDSdnhgEoamcsZuXO1aWQy8KAwOAuTYYGwi7w5h+Kr0SJ8MFihpNbx+4Erq7BYBu zsdiH1jCAzoSfl0rVirNbRXlBBlLX+BP0XJLAPGzTkAuAOqb0WT5AH7OcdCm5B8TgRwSRKIHQtaL 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,""+t+"")}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()?"":'
'+n+"
",p="
"+c+"
"}else g="",u="noThumbImage",p=n;var I="
  • ";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='
    ";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("
      ");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)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&>(),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="o;o++){var s=u.getUnicodeSafeString(e[o].mediaSrc);a+=''}return a+=u.getUnableToDisplayContentString()+""}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("
      ",{"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("",{shape:"poly",coords:n.pointsToCoords(),hotspot_index:n.index,alt:"Hotspot",href:"#"})}})}function cn(e,n,i){n=""+n+"",i&&(n+="

      "+na.getString("clickToClose")+"

      "),ci?(t("#alertDialog").html(n),t("#alertDialog").fadeIn(li)):(t(e).css("background-color",u.getBackgroundColor()),t(e).css("height","100%"),t(e).html('
      '+n+"
      "),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="
        ",u="style='width: "+a+"px; height: 75px;'",c=0;o>c;c++)s+="
      1. "+Ht([r[c]],!0,!0)+"
      2. ";s+="
      ",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); \ No newline at end of file diff --git a/MERGEDEMO/skins/overlay/spritesheet.min.css b/MERGEDEMO/skins/overlay/spritesheet.min.css new file mode 100644 index 0000000..936b7b9 --- /dev/null +++ b/MERGEDEMO/skins/overlay/spritesheet.min.css @@ -0,0 +1 @@ +.spritesheet{display:inline-block;overflow:hidden;background-repeat:no-repeat;background-image:url(spritesheet.png)}.sprite_repeat{background-repeat:repeat-x!important}.rewind_button_normal{width:43px;height:43px;background-position:-192px -226px}.rewind_button_over{width:43px;height:43px;background-position:-240px -226px}.rewind_button_down{width:43px;height:43px;background-position:-144px -288px}.rewind_button_disabled{width:43px;height:43px;background-position:-192px -226px}.play_button_normal{width:43px;height:43px;background-position:-144px -0px}.play_button_over{width:43px;height:43px;background-position:-144px -48px}.play_button_down{width:43px;height:43px;background-position:-96px -288px}.play_button_disabled{width:43px;height:43px;background-position:-144px -0px}.pause_button_normal{width:43px;height:43px;background-position:-96px -192px}.pause_button_over{width:43px;height:43px;background-position:-96px -240px}.pause_button_down{width:43px;height:43px;background-position:-96px -144px}.pause_button_disabled{width:43px;height:43px;background-position:-96px -192px}.previous_button_normal{width:43px;height:43px;background-position:-144px -192px}.previous_button_over{width:43px;height:43px;background-position:-144px -240px}.previous_button_down{width:43px;height:43px;background-position:-144px -144px}.previous_button_disabled{width:43px;height:43px;background-position:-144px -96px}.next_button_normal{width:43px;height:43px;background-position:-96px -48px}.next_button_over{width:43px;height:43px;background-position:-96px -96px}.next_button_down{width:43px;height:43px;background-position:-96px -0px}.next_button_disabled{width:43px;height:43px;background-position:-48px -288px}.settings_button_normal{width:43px;height:43px;background-position:-380px -0px}.settings_button_over{width:43px;height:43px;background-position:-428px -0px}.settings_button_down{width:43px;height:43px;background-position:-332px -0px}.settings_button_disabled{width:43px;height:43px;background-position:-380px -0px}.settings_off_button_normal{width:43px;height:43px;background-position:-476px -0px}.settings_off_button_over{width:43px;height:43px;background-position:-476px -0px}.settings_off_button_down{width:43px;height:43px;background-position:-476px -0px}.settings_off_button_disabled{width:43px;height:43px;background-position:-476px -0px}.closed_caption_button_normal{width:43px;height:43px;background-position:-0px -48px}.closed_caption_button_over{width:43px;height:43px;background-position:-0px -96px}.closed_caption_button_down{width:43px;height:43px;background-position:-0px -0px}.closed_caption_button_disabled{width:43px;height:43px;background-position:-0px -48px}.closed_caption_off_button_normal{width:43px;height:43px;background-position:-0px -144px}.closed_caption_off_button_over{width:43px;height:43px;background-position:-0px -144px}.closed_caption_off_button_down{width:43px;height:43px;background-position:-0px -144px}.closed_caption_off_button_disabled{width:43px;height:43px;background-position:-0px -144px}.toc_button_normal{width:43px;height:43px;background-position:-353px -48px}.toc_button_over{width:43px;height:43px;background-position:-401px -48px}.toc_button_down{width:43px;height:43px;background-position:-305px -48px}.toc_button_disabled{width:43px;height:43px;background-position:-353px -48px}.toc_off_button_normal{width:43px;height:43px;background-position:-449px -48px}.toc_off_button_over{width:43px;height:43px;background-position:-449px -48px}.toc_off_button_down{width:43px;height:43px;background-position:-449px -48px}.toc_off_button_disabled{width:43px;height:43px;background-position:-449px -48px}.fullscreen_enter_button_normal{width:43px;height:43px;background-position:-48px -48px}.fullscreen_enter_button_over{width:43px;height:43px;background-position:-48px -96px}.fullscreen_enter_button_down{width:43px;height:43px;background-position:-48px -0px}.fullscreen_enter_button_disabled{width:43px;height:43px;background-position:-48px -48px}.fullscreen_leave_button_normal{width:43px;height:43px;background-position:-48px -192px}.fullscreen_leave_button_over{width:43px;height:43px;background-position:-48px -240px}.fullscreen_leave_button_down{width:43px;height:43px;background-position:-48px -144px}.fullscreen_leave_button_disabled{width:43px;height:43px;background-position:-48px -192px}.fullframe_enter_button_normal{width:43px;height:43px;background-position:-0px -240px}.fullframe_enter_button_over{width:43px;height:43px;background-position:-0px -240px}.fullframe_enter_button_down{width:43px;height:43px;background-position:-0px -240px}.fullframe_enter_button_disabled{width:43px;height:43px;background-position:-0px -240px}.fullframe_leave_button_normal{width:43px;height:43px;background-position:-0px -288px}.fullframe_leave_button_over{width:43px;height:43px;background-position:-0px -288px}.fullframe_leave_button_down{width:43px;height:43px;background-position:-0px -288px}.fullframe_leave_button_disabled{width:43px;height:43px;background-position:-0px -288px}.play_button_overlay_normal{width:108px;height:108px;background-position:-192px -0px}.play_button_overlay_over{width:108px;height:108px;background-position:-192px -0px}.play_button_overlay_down{width:108px;height:108px;background-position:-192px -0px}.play_button_overlay_disabled{width:108px;height:108px;background-position:-192px -0px}.replay_button_overlay_normal{width:108px;height:108px;background-position:-192px -113px}.replay_button_overlay_over{width:108px;height:108px;background-position:-192px -113px}.replay_button_overlay_down{width:108px;height:108px;background-position:-192px -113px}.replay_button_overlay_disabled{width:108px;height:108px;background-position:-192px -113px}.scroll_down_arrow_normal{width:16px;height:16px;background-position:-14px -213px}.scroll_down_arrow_over{width:16px;height:16px;background-position:-192px -274px}.scroll_down_arrow_down{width:16px;height:16px;background-position:-14px -213px}.scroll_down_arrow_disabled{width:16px;height:16px;background-position:-14px -213px}.scroll_up_arrow_normal{width:16px;height:16px;background-position:-232px -313px}.scroll_up_arrow_over{width:16px;height:16px;background-position:-253px -292px}.scroll_up_arrow_down{width:16px;height:16px;background-position:-232px -292px}.scroll_up_arrow_disabled{width:16px;height:16px;background-position:-232px -313px}.scroll_thumb_bottom_normal{width:14px;height:50px;background-position:-192px -295px}.scroll_thumb_bottom_over{width:14px;height:50px;background-position:-192px -295px}.scroll_thumb_bottom_down{width:14px;height:50px;background-position:-192px -295px}.scroll_thumb_bottom_disabled{width:14px;height:50px;background-position:-192px -295px}.scroll_track_normal{width:15px;height:13px;background-position:-232px -274px}.scroll_track_over{width:16px;height:4px;background-position:-69px -336px}.scroll_track_down{width:16px;height:4px;background-position:-48px -336px}.scroll_track_disabled{width:15px;height:13px;background-position:-232px -274px}.scrubbar_scrubber_normal{width:10px;height:43px;background-position:-305px -0px}.scrubbar_scrubber_over{width:10px;height:43px;background-position:-305px -0px}.scrubbar_scrubber_down{width:10px;height:43px;background-position:-305px -0px}.scrubbar_scrubber_disabled{width:10px;height:43px;background-position:-305px -0px}.unmute_button_normal{width:43px;height:43px;background-position:-545px -48px}.unmute_button_over{width:43px;height:43px;background-position:-305px -96px}.unmute_button_down{width:43px;height:43px;background-position:-497px -48px}.unmute_button_disabled{width:43px;height:43px;background-position:-545px -48px}.volume_button_normal{width:43px;height:43px;background-position:-353px -192px}.volume_button_over{width:43px;height:43px;background-position:-353px -240px}.volume_button_down{width:43px;height:43px;background-position:-305px -144px}.volume_button_disabled{width:43px;height:43px;background-position:-353px -192px}.volume_button_low_normal{width:43px;height:43px;background-position:-401px -96px}.volume_button_low_over{width:43px;height:43px;background-position:-449px -96px}.volume_button_low_down{width:43px;height:43px;background-position:-353px -96px}.volume_button_low_disabled{width:43px;height:43px;background-position:-401px -96px}.volume_button_med_normal{width:43px;height:43px;background-position:-545px -96px}.volume_button_med_over{width:43px;height:43px;background-position:-353px -144px}.volume_button_med_down{width:43px;height:43px;background-position:-497px -96px}.volume_button_med_disabled{width:43px;height:43px;background-position:-545px -96px}.volume_button_high_normal{width:43px;height:43px;background-position:-305px -240px}.volume_button_high_over{width:43px;height:43px;background-position:-305px -288px}.volume_button_high_down{width:43px;height:43px;background-position:-305px -192px}.volume_button_high_disabled{width:43px;height:43px;background-position:-305px -240px}.volumebar_slider_normal{width:13px;height:9px;background-position:-96px -336px}.volumebar_slider_over{width:13px;height:9px;background-position:-96px -336px}.volumebar_slider_down{width:13px;height:9px;background-position:-96px -336px}.volumebar_slider_disabled{width:13px;height:9px;background-position:-96px -336px}.scrubbar_loaded_track_end{width:2px;height:43px;background-position:-288px -226px}.scrubbar_track_left{width:1px;height:43px;background-position:-295px -226px}.scrubbar_track_right{width:1px;height:43px;background-position:-320px -0px}.scrubbar_track{width:2px;height:43px;background-position:-0px -479px}.scrubbar_loaded_track{width:2px;height:43px;background-position:-0px -393px}.scrubbar_played_track{width:2px;height:43px;background-position:-0px -436px}.seperator{width:1px;height:43px;background-position:-326px -0px}.volumebar_track{width:5px;height:2px;background-position:-35px -192px}.volumebar_track_end{width:5px;height:2px;background-position:-35px -199px}.volumebar_backdrop{width:31px;height:97px;background-position:-401px -144px}.control_backdrop_left{width:2px;height:43px;background-position:-0px -192px}.control_backdrop_right{width:2px;height:43px;background-position:-7px -192px}.toc_title_backdrop{width:8px;height:18px;background-position:-0px -522px}.control_backdrop{width:2px;height:43px;background-position:-0px -350px} \ No newline at end of file diff --git a/MERGEDEMO/skins/overlay/spritesheet.png b/MERGEDEMO/skins/overlay/spritesheet.png new file mode 100644 index 0000000..fa3a68a Binary files /dev/null and b/MERGEDEMO/skins/overlay/spritesheet.png differ diff --git a/MERGEDEMO/skins/overlay/techsmith-smart-player.min.css b/MERGEDEMO/skins/overlay/techsmith-smart-player.min.css new file mode 100644 index 0000000..49f76f3 --- /dev/null +++ b/MERGEDEMO/skins/overlay/techsmith-smart-player.min.css @@ -0,0 +1 @@ +html{color:#000}body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,textarea,p,blockquote,th,td{margin:0;padding:0}table{border-collapse:collapse;border-spacing:0}fieldset,img{border:0}address,caption,cite,code,dfn,em,strong,th,var{font-style:normal;font-weight:400}li{list-style:none}caption,th{text-align:left}h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:400}q:before,q:after{content:''}abbr,acronym{border:0;font-variant:normal}sup{vertical-align:text-top}sub{vertical-align:text-bottom}input,textarea,select{font-family:inherit;font-size:inherit;font-weight:inherit}input,textarea,select{*font-size:100%}legend{color:#000}body{font:13px/1.231 arial,helvetica,clean,sans-serif;*font-size:small;*font:x-small}table{font-size:inherit;font:100%}pre,code,kbd,samp,tt{font-family:monospace;*font-size:108%;line-height:100%}h1{font-size:138.5%}h2{font-size:123.1%}h3{font-size:108%}h1,h2,h3{margin:1em 0}h1,h2,h3,h4,h5,h6,strong{font-weight:700}abbr,acronym{border-bottom:1px dotted #000;cursor:help}em{font-style:italic}blockquote,ul,ol,dl{margin:1em}ol,ul,dl{margin-left:2em}ol li{list-style:decimal outside}ul li{list-style:disc outside}dl dd{margin-left:1em}th,td{border:0;padding:.5em}th{font-weight:700;text-align:center}caption{margin-bottom:.5em;text-align:center}p,fieldset,table,pre{margin:0}input[type=text],input[type=password],textarea{width:12.25em;*width:11.9em}html,body{height:100%}html,body,form,fieldset,p,div,h1,h2,h3,h4,h5,h6{-webkit-text-size-adjust:none}body{margin:0;padding:0;overflow:hidden;background-color:#000}object:focus{outline:0}#tscVideoContent{width:100%;height:100%;padding:0;margin:0;overflow:hidden}#tscVideoContent video{width:100%;height:100%}#videoWrapper{width:100%;height:100%}#videoDiv{width:100%;height:100%}#hotspotContainer,#hotspotContainerDebug{position:absolute}#alertDialog{display:none;position:absolute;text-align:center;z-index:12;padding:15px;color:#434343;font-size:20px;top:30px;left:25%;right:25%;background-color:#fff;border:1px solid #bcbcbc}#alertDialog span{display:block;max-height:200px;overflow-y:auto}#alertDialog h4{font-size:16px;padding:5px 0;border-radius:20px;margin-top:14px;text-align:center;margin-left:auto;margin-right:auto;max-width:200px;color:#434343;background-color:#fff;border:1px solid #bcbcbc}.alertDialogClose{display:block;float:right}#tsc_io_container{position:absolute;z-index:12;width:100%;height:100%;top:45%;padding:0;margin:0;text-align:center;color:#fff}#tsc_io_message{margin-left:auto;margin-right:auto;padding:8px;background-color:rgba(0,0,0,.8);border-top-right-radius:12px;border-top-left-radius:12px;border-bottom-right-radius:12px;border-bottom-left-radius:12px;-moz-border-radius:12px;-webkit-border-radius:12px;max-width:300px}#tsc_io_message span{display:block}#tsc_io_container img{border:0;margin:10px 10px 0}.centeredImage{vertical-align:middle;text-align:center}#screenText{display:none}#speechText{display:none}#hotspots{position:absolute;width:100%;height:100%;top:0;left:0}#hotspots.hide{display:none}#hotspots area:focus,#hotspots area:active{outline:0}.hotspots_mapimg{position:absolute;width:100%;height:100%}#youtubePointerEventWorkaround{position:absolute;width:100%;height:100%;top:0}#youtubePointerEventWorkaround.hide{display:none}#caption{position:absolute;left:20px;right:20px}#caption p{display:inline-block;background-color:#000;font-family:Arial,Helvetica,sans-serif;color:#FFF;line-height:1.2}#caption.hide{display:none}#caption.caption_under_video{position:relative;bottom:0;left:0;right:0}.captionVAlignTop{top:20px}.captionVAlignBottom{bottom:54px}.captionHAlignLeft{text-align:left}.captionHAlignCenter{text-align:center}.captionHAlignRight{text-align:right}#videoClickToPlayLink,#videoClickToReplayLink{position:absolute;top:0;left:0;display:block;width:100%;height:100%;background-position:center center;background-repeat:no-repeat;background-size:100%;cursor:pointer}.noClickToPlayEvents{pointer-events:none}#videoClickToPlay,#videoClickToReplay{position:absolute;top:50%;left:50%}#markers{width:100%;height:100%}.foundSearchText{color:#40C6E2}.appplayer{position:relative;border-radius:5px;background-size:cover;z-index:1}.posterFade{background:rgba(0,0,0,.6);border-radius:5px;height:100%}.appplayer .content{text-align:center;z-index:2}.appplayer h2{color:#fff;font-weight:700;margin:50px 0 10px;text-shadow:0 0 2px #000;filter:dropshadow(color=#000000,offx=0,offy=0);z-index:2}.externalDefaultPlaybackContainer{position:relative;background-size:cover;z-index:1;background-color:#000;width:100%;height:100%}.externalLargePlayBtn{display:block;width:73px;height:73px;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJIAAACSCAYAAACue5OOAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA2ZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzV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74E9boMJstbpvd4S5WKG1I41hLFEo7ocF5qAKggY76ByLFC2s2QCKASoYBClh5baMlTESp7KL/C7b+S1TLbUBqAgKg6om2Xmjrh7aUCDkvBaZ5jmP7iAJPfRUIg9L0BBoh7MM2kCTMQO+JaavMUG2r+oSFMI0DLjuUtkNRRCmlCQuD0vQFNMFuiv9idUBVAX5UawxY8BjfXJ4MbFUgwQMX6vrysONF2LFmJdQQSvRjEpOg8n8CDAAbSuWl7er+TQAAAABJRU5ErkJggg==) no-repeat;background-size:contain;cursor:pointer;z-index:2}.centerAbsoluteElement{position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.openVideoSmartPlayerContainer{display:-webkit-box;display:-webkit-flexbox;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-flex-align:center;-webkit-align-items:center;align-items:center;height:100%;width:100%;z-index:9;-webkit-box-sizing:border-box;box-sizing:border-box}.openVideoSmartPlayerButton{text-align:center;display:block;border-radius:12px;padding:20px 10px 20px 60px;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAABQCAYAAACOEfKtAAAACXBIWXMAAAsTAAALEwEAmpwYAABA0GlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4KPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS41LWMwMTQgNzkuMTUxNDgxLCAyMDEzLzAzLzEzLTEyOjA5OjE1ICAgICAgICAiPgogICA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPgogICAgICA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIgogICAgICAgICAgICB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9i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EaW1lbnNpb24+ODA8L2V4aWY6UGl4ZWxZRGltZW5zaW9uPgogICAgICA8L3JkZjpEZXNjcmlwdGlvbj4KICAgPC9yZGY6UkRGPgo8L3g6eG1wbWV0YT4KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAKPD94cGFja2V0IGVuZD0idyI/PhmqurQAAAAgY0hSTQAAeiUAAICDAAD5/wAAgOkAAHUwAADqYAAAOpgAABdvkl/FRgAABqRJ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qAc4z14OilKTKHLkiJRwd6JiJdMRGWQday1xdgFbgLjrsIY3LgrkW3cCztczZOWveKODbbLlwNjTKIjmN8Ntwo4R9wsFYt4zNCvjvMKqJ33bxKbRu6fw7jJXo/htPgv4fAACYxQCp1KuJAAAAAElFTkSuQmCC) no-repeat;background-size:40px auto;background-position:10px center;background-color:#42474C;border:1px solid rgba(255,255,255,.2);color:#fff;font-size:16px;max-width:360px;margin:auto;-webkit-box-shadow:0 2px 6px 2px rgba(0,0,0,.2);box-shadow:0 2px 6px 2px rgba(0,0,0,.2);text-shadow:1px 1px 0 rgba(0,0,0,.8);cursor:pointer;webkit-user-select:none;-webkit-box-sizing:border-box;box-sizing:border-box}.appstoreBtn{display:block;width:91px;height:30px;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAALYAAAA8CAYAAADL20C6AAAACXBIWXMAAAsTAAALEwEAmpwYAAA5mWlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4KPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS41LWMwMTQgNzkuMTUxNDgxLCAyMDEzLzAzLzEzLTEyOjA5OjE1ICAgICAgICAiPgogICA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPgogICAgICA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIgogICAgICAgICAgICB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIKICAgICAgICAgICAgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiCiAgICAgICAgICAgIHhtbG5zOnN0RXZ0PSJ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hRGF0ZT4yMDEzLTA3LTMxVDEzOjE5OjQwLTA0OjAwPC94bXA6TWV0YWRhdGFEYXRlPgogICAgICAgICA8ZGM6Zm9ybWF0PmltYWdlL3BuZzwvZGM6Zm9ybWF0PgogICAgICAgICA8cGhvdG9zaG9wOkNvbG9yTW9kZT4zPC9waG90b3Nob3A6Q29sb3JNb2RlPgogICAgICAgICA8dGlmZjpPcmllbnRhdGlvbj4xPC90aWZmOk9yaWVudGF0aW9uPgogICAgICAgICA8dGlmZjpYUmVzb2x1dGlvbj43MjAwMDAvMTAwMDA8L3RpZmY6WFJlc29sdXRpb24+CiAgICAgICAgIDx0aWZmOllSZXNvbHV0aW9uPjcyMDAwMC8xMDAwMDwvdGlmZjpZUmVzb2x1dGlvbj4KICAgICAgICAgPHRpZmY6UmVzb2x1dGlvblVuaXQ+MjwvdGlmZjpSZXNvbHV0aW9uVW5pdD4KICAgICAgICAgPGV4aWY6Q29sb3JTcGFjZT42NTUzNTwvZXhpZjpDb2xvclNwYWNlPgogICAgICAgICA8ZXhpZjpQaXhlbFhEaW1lbnNpb24+MTgyPC9leGlmOlBpeGVsWERpbWVuc2lvbj4KICAgICAgICAgPGV4aWY6UGl4ZWxZRGltZW5zaW9uPjYwPC9leGlmOlBpeGVsWURpbWVuc2lvbj4KICAgICAgPC9yZGY6RGVzY3JpcHRpb24+CiAgIDwvcmRmOlJERj4KPC94OnhtcG1ldGE+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgCjw/eHBhY2tldCBlbmQ9InciPz6H5nxsAAAAIGNIUk0AAHolAACAgwAA+f8AAIDpAAB1MAAA6mAAADqYAAAXb5JfxUYAABqgSURBVHja7F15VFRH1v/1wiayBxUBRVAQUVARZVRAEyOKGjeiccE9JzouRyRDosccz0x0TGJi1BkT3FAU3KIGlYgiQlxGZWQRUAkwKARwASHQLE2v9/vDefX1o7vZNI6a/p3zDs17t+q9uu9W1a17694nmDZtGgoKCvDo0SOo1epZNTU104jIG8BbMMCAVx8KgUCQbW5ufs7MzGxnRUWFEgDEQqEQQqEQEolku0KhWGXgkwGvG4hobH19/VipVBrs4uIyr7i4+KmoW7duKCws3FRfX/+xgUUGvOYC3kelUnlev379qMjIyKhvWVnZAQBGBtYY8LpDLpd7yOXyQpFUKl2nUCgCDCwx4E1BQ0ODibCxsdHTwAoD3iQolUonIQClgRUGvGEQCw08MOBNXEcaBNuAN3PIft4KzM3NYWVlBaGwY31EJpOhsrLytWS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69+/v05TX1RUFCZNmqQzp11iYiKGDx/Oy9aqyyqwZ88ejB8/nueI4dqYlJSEgIAAnidPFx4/fozg4GAcPXpU71fJfvnlF3z66afw9fXV+f2eR48e4e2339baBqpSqXgLy9zcXAwfPhzbt2/XqfcWFxfj448/xujRo7XWJgqFgvG0urq6RZMhAHzzzTcYMWIEjh8/rvNLCXV1dbh69Sq+/PLLDmW8BQDBf0fsie0p5OjoiKKiIt5eYV3mnVWrVuHIkSPw8PDA7t27MXDgwBbrXbduHdvH3Jrt1dzcnHWEmpqaNqfBsrKy4qWqrampgbe3N27fvs1LFpmYmAhra2v4+fnBxsYGCoUCJSUlPCuCJtzc3HDnzh1mNVi4cCEOHDgAS0tLDB06FLa2tlAqlXjw4IFOJ1Jr6NatGzw8PGBhYQEjIyPI5XI8evQId+/ebdEZpLnY9vf3h729PWQyGUpLS5GXl6fT5ty9e3d4e3vD0tISarUalZWVyMzM1JtCTSwW8wYuiUSiN+uqLllyd3dH586doVKpIJFIUFJS0mH79X9xp0OqCP4bNa1LL22Ourq6Nk078fHxOjfFvIyjuY49fvz4dtfRXMdeuHChIVr8fxga1mFz3549e3D//n289957evNbCwQCGBkZQaVS6fW0cQkbo6OjW53CDDDgpdixL126xEvJa4ABrwoMKc50eOg6umDRdOV3tA4DDIL9QsF97qL5Ftb2QKlUsjpe9gc7DdBWRf7wQ0thYSEGDx7Morc78umK0tJS+Pv7s2/h6HPXG/CSJmChUPiTWq0OMfDCgDdIrbwpNDMzSzSwwoA3Sg0Ri/OEAwYMOGBsbPzAwA4D3hA09u3b9xtht27d6h0cHNYAkBh4YsDrDjs7u805OTl3xUqlEp06dYo3NTV9XyaTfU5EvQ3sMeA1RIWJicm3T58+3Q0A/zcAL59CfMvOIQsAAAAASUVORK5CYII=) no-repeat;background-size:contain;margin:auto;z-index:2}.appNativePlayBtn{position:absolute;left:25%;bottom:8px;display:block;width:50%;height:30px;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQIAAABMC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v9bWVpmdnTVRGqhbpBtrpNuOpxyhR7Bv3z6pq6ujGRDygtmyZYu0t7eLx+1+8tSxTFpOR8b1ht9++qnb4XBkTA3T09PStGOH8WHnzp2TeDwu8/PzPEOErCNoDiIJwASaX39dRkdHM+7vdDptOlF7VafJlEbwDLcI+crLS9dSQTpwEDiY2poa+efXX8vt27cNg4AhcGmRkPyA6wRgABUVFbJt2zZ5u63NeMzZ3bt3M+oTSb28rKxkcXExiIr+uROBsj0cibhLS0vlwYMHaXfCQeBgAsGg/Ly7W4aHh2V4ZET+PTYmC99+yzNISB5waxleU1sr0VdflWg0KuOavu/cufPM10G/0LHuv13/efu5EoHNZsOPt34Qi/ngROomz/zAyYkJmUokjOsL9u7da9Qt9pISnkFC8sDy0pLMLyzIjKbtwcFBoyeQbZKAji9duvSW/vOrlPuke4DpZ/39uyorK99rbGz0Iw1k+6BT7IcnJGMQQgoP9AsdaxnxnpYJf9HJ/5usjOD3n3/u0B9d+995J2K1Wi0L6kKr/AYiIRsS6Nfv91s6Ozoif/7iiy41g6uq5/+r9e3L/2MEaCqcOHECD1n/RUdHx89eUxeZmpqSJTb8CNnQzM7NCfQMXZ89e3Zatf4nNYPx/xqB1h0AX1pQEzio9cRvDhw4ULvzjTdqYAK4aIgQsrFJqs5xlc/bbW0Rn8/3yZkzZ36qZvCZmsGXRgjQgU5iWEdnLBb78aFDh+rVDJxo/GH5jyUBIZsDJH4sPwYrK9FoXDx16tStoaGhv+qmv1ti0ei1UCjk2Pnmm/5IJFKRmJy0JBIJrv8TsknBKgJW9gLB4Oq/RkenL1++PGX5XX//ajKZFIh/ZmbGWCZkCiBk86cDp9NpfGvRr6Zg+cn771P1hLzsKWHpcbOQEPIyGwF7AYS89HwnwABntQlsNjK2TgAAAABJRU5ErkJggg==) center no-repeat;background-size:129px 38px;color:#fff;cursor:pointer;text-shadow:0 -1px 0 #000;filter:dropshadow(color=#000000,offx=0,offy=-1);font-size:.8em;font-weight:700;text-align:center;margin:0 auto;padding-top:8px;z-index:4}.appNativePlayBtnText{font-size:.9em;font-weight:700;text-align:center;padding-top:2px}.topBrdr,.btmBrdr{height:8px;width:100%}.topBrdr{border-radius:5px 5px 0 0;border-top:1px solid #ccc}.btmBrdr{position:absolute;bottom:0;left:0;z-index:3;border-radius:0 0 5px 5px;border-top:1px solid #888;border-bottom:1px solid #000}.topBrdrInner,.btmBrdrInner{width:100%;height:7px}.topBrdrInner{padding-bottom:1px;border-radius:4px 4px 0 0;background:-webkit-linear-gradient(top,rgba(116,115,115,1) 0,rgba(54,54,54,1) 100%);background:linear-gradient(top,rgba(116,115,115,1) 0,rgba(54,54,54,1) 100%)}.btmBrdrInner{position:absolute;bottom:0;left:0;z-index:3;padding-top:1px;border-radius:0 0 4px 4px;background:-webkit-linear-gradient(top,#474747 0,#333 100%);background:linear-gradient(top,#474747 0,#333 100%)}.fullSizePosterImgContainer{display:display;background-size:contain!important;background-position:center!important;background-repeat:no-repeat!important;width:100%;height:100%;background-color:#000!important}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}@media (max-width:320px){.openVideoSmartPlayerButton{width:260px;font-size:14px;background-position:15px center}}#controls{position:absolute;bottom:0;left:0;width:100%;overflow:visible;font-family:Helvetica,Arial,sans-serif;z-index:3}.hide #controls{display:none}#controls .controls_left{float:left;margin-right:-15px}#controls .controls_right{float:right;margin-left:-15px}#controls .control_button{display:block;float:left;padding:0;border-style:none;background-color:transparent;cursor:pointer}#controls .control_button:focus{outline:0}#controls .hide{display:none}#controls.caption_under_video{position:relative;bottom:0;left:0;right:0}#progress{overflow:hidden}#progress_box{overflow:hidden;padding:0 15px}#progress_scrubbar_track_left{float:left}#progress_scrubbar_track_right{float:right}#progress_scrubbar_track{position:relative;display:block;width:auto;cursor:pointer;touch-action:none}#progress_scrubbar_track .scrubbar_track,#progress_scrubbar_track .scrubbar_loaded_track,#progress_scrubbar_track .scrubbar_played_track{position:absolute;left:0}#progress_scrubbar_track .scrubbar_track{width:100%}#play_progress{overflow:visible}#scrubbar_scrubber{position:absolute;top:0;right:0}#progress .seperator{float:right}#play_time{float:right;margin:0 15px 0 -15px;cursor:default}#markers{position:absolute;top:0;display:none}.volume_wrapper{position:relative;float:left;z-index:1}#volume_slider_container{position:absolute;bottom:100%;transition:height .1s}#volume_slider_container.hide{display:block;height:0}#volume_slider_vertical{position:relative;cursor:pointer}#volume_slider_vertical .ui-slider-range{position:absolute;bottom:0;left:0;width:100%}#volume_slider_vertical .ui-slider-handle{position:absolute;display:block}#playerSettingsContainer{position:absolute;bottom:100%;right:0;padding:10px}#videoSidebar{position:absolute;top:0;left:0;display:none;width:252px;border-color:#4c4c4c;border-width:1px;border-style:none solid;color:#fff;background:#000;background:rgba(0,0,0,.85)}#videoSidebar.right{left:auto;right:0}#videoSidebarHead{position:relative;overflow:hidden;z-index:1}#videoSidebarHead .video_title{font-size:inherit;font-weight:inherit;padding:6px 2px 4px}#searchArea{border:1px solid #ccc;border-radius:12px;margin:0 2px 4px;padding:2px 2px 2px 22px;background:#fff url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyNpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNS1jMDE0IDc5LjE1MTQ4MSwgMjAxMy8wMy8xMy0xMjowOToxNSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1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AAElFTkSuQmCC) scroll no-repeat 3px center;overflow:hidden}.search_disabled #searchArea{display:none}#searchBox{display:block;float:left;width:190px;height:22px;padding:0;border-style:none;font-size:18px}#clearSearchButton{display:block;float:right;width:28px;height:22px;padding:0;border-style:none;background:#fff url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA8AAAAPCAYAAAA71pVKAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyNpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNS1jMDE0IDc5LjE1MTQ4MSwgMjAxMy8wMy8xMy0xMjowOToxNSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIChNYWNpbnRvc2gpIiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOjk4NzYzMUZERjIyOTExRTJBRTVBRDgwNjhCNzFERkJBIiB4bXBNTTpEb2N1bWVudElEPSJ4bXAuZGlkOjk4NzYzMUZFRjIyOTExRTJBRTVBRDgwNjhCNzFERkJBIj4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6OTg3NjMxRkJGMjI5MTFFMkFFNUFEODA2OEI3MURGQkEiIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6OTg3NjMxRkNGMjI5MTFFMkFFNUFEODA2OEI3MURGQkEiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz4kxTDvAAABTElEQVR42pySu0oDURCG3dVgERUT06cxWAgK1jaWkW2EoKQIqIURL2gjioWpDDZaiWJSWPoC2wYURS1ErcQLvoKCrcj6DczK5BAEXfh2dmf+/1zmHC+Korb/Ph3yCsOwm7AJA7AWBMGrK0TTSdgC0VbQvPtaq8AGTEAdYdYxJgm7sA7LsC/52DxktGNwgCGlxh7CNixAu2oGrXkJrs0A4zITxmFiFVbA09ozzMuHFzcMYT/hGEZV9AVvkDHGJ5hlv5dNZh0gRzjUpftOz+5gEeNVnPDco2KAEcIZdJn0J+QxNqzWd4wZ3X+ixbFOUU/bhN1zL+EIJn+5FyfSLFbw8TOzzlh3jLdQhnuTK+o9SNtl70HBiC6gxAw1Pd9HU5MJdqy5zxSlWdMYH+RHuzsHL0aTs+ZVOIWGnmPT3eb/nDADN6optzyqvzzfAgwAgaBscFQiLx4AAAAASUVORK5CYII=) scroll no-repeat center}#fsSearchAlert{display:none;margin:5px 0;padding:10px;color:#fff;font-size:12px;background-color:#ba8a29;background-image:-webkit-gradient(linear,0 0,0 100%,from(#ba8a29),to(#a8502f));background-image:-webkit-linear-gradient(top,#ba8a29,#a8502f);background-image:-moz-linear-gradient(top,#ba8a29,#a8502f);background-image:-ms-linear-gradient(top,#ba8a29,#a8502f);background-image:-o-linear-gradient(top,#ba8a29,#a8502f);border:1px solid maroon;-moz-box-shadow:0 0 5px rgba(0,0,0,.5);-webkit-box-shadow:0 0 5px rgba(0,0,0,.5);text-shadow:1px 1px 0 rgba(0,0,0,.5)}.search_disabled #fsSearchAlert{display:block}#pipimage{background-repeat:no-repeat;background-size:contain;border:1px solid #FFF;margin-top:10px;margin-bottom:10px}#videoSidebarContentWrapper{position:absolute;top:58px;right:0;bottom:0;left:0;overflow:auto}#searchList,#tableOfContentsList{margin:0}#searchList li,#tableOfContentsList li{list-style:none;cursor:pointer}#searchList li:hover,#tableOfContentsList li:hover{background-color:#333;color:#fff}#searchList li.noThumbImage,#tableOfContentsList li.noThumbImage{padding:10px 6px 10px 8px}#searchList li.hasThumbImage,#tableOfContentsList li.hasThumbImage{padding:4px 10px}#searchList .tocItemLabel,#tableOfContentsList .tocItemLabel{position:relative;margin-left:5px}#tsc_quiz_container{font-family:Arial,Helvetica,sans-serif;font-size:14px;z-index:10;padding:20px;position:absolute;background-color:#FFF;line-height:1.3em}#tsc_quiz_container h2{font-family:Actor,Arial,Helvetica,sans-serif;font-size:32px;letter-spacing:0;line-height:1em;padding:0;margin:0;margin-bottom:12px;min-height:46px;width:480px;color:#000ad2;word-wrap:break-word;text-shadow:-1px 1px 1px rgba(0,0,0,.4)}#tsc_quiz_container label{margin:3px 0;padding:4px 4px 6px 10px;word-wrap:break-word}.active_quiz_item:hover{background-color:#cdd4fb;border-top-left-radius:12px;border-top-right-radius:12px;border-bottom-left-radius:12px;border-bottom-right-radius:12px}.active_quiz_item:active{background-color:#dadff0;border-top-left-radius:12px;border-top-right-radius:12px;border-bottom-left-radius:12px;border-bottom-right-radius:12px}.picked_quiz_item{background-color:#dadff0;border-top-left-radius:12px;border-top-right-radius:12px;border-bottom-left-radius:12px;border-bottom-right-radius:12px}.quiz_question{margin:0 0 8px;padding:0;word-wrap:break-word}.quiz_question span{font-family:Actor,Arial,Helvetica,sans-serif;font-size:22px;color:#666}#tsc_quiz_container input[type=radio]{margin-right:10px}#tsc_quiz_controls{margin-top:10px}#tsc_text_input{width:300px;margin-left:22px;margin-bottom:14px}#tsc_textarea_input{width:460px;margin-left:22px;margin-bottom:10px;font-family:Actor,sans-serif;font-size:16px;font-weight:400}#tsc_question_set_result_info{display:none;margin:-10px 0 15px 4px;padding:0;width:490px;font-size:12px;color:#666;text-shadow:-1px 0 0 rgba(0,0,0,.4)}.tsc_multiple_choice{display:block}.image_feedback{margin-left:-3px;margin-right:10px;margin-bottom:-4px}.image_fitb_feedback{margin-left:0;margin-right:-20px;margin-bottom:-4px}.feedback_placeholder{display:none}.feedback_placeholder_show{display:block}button{cursor:pointer;padding:5px 10px}#tsc_previous_button{display:none}#tsc_next_button{display:none}#tsc_submit_button{float:right;display:none}#tsc_continue_button{float:right;display:none}#tsc_quiz_setup_container{font-family:Arial,Helvetica,sans-serif;font-size:18px;z-index:10;position:absolute;text-align:center;background-color:#FFF}#tsc_quiz_setup_container label{display:none;margin-left:4px}#tsc_quiz_question_count{padding:8px;text-align:center;line-height:1.6em;width:69px;height:70px;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFcAAABVCAYAAAA8AHhnAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyNpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNS1jMDE0IDc5LjE1MTQ4MSwgMjAxMy8wMy8xMy0xMjowOToxNSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4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6IyKlyrbDBFeQzWQpdTee339eSx9SMPwBO4kAKFlY0uky3e+W37o2jPyx3/2W3J++40bz378hdflkgLn9PXZz//U56499sGff/L7fkIurv6T3Lnyj3KhX4vDgkLeack04UrjLxSykmIanLafgjmDxUsSW/A8HeWAqYWXQDU5ya2aTm3wWpSZ+etjSnpe3ebFu+VdD31Arj36w/Knf/05efnWS39w/akvPj2r8o98/fYffuzTV6+868YTj/+IPP7o++XtDz/GmPf/wffJbfwf/37K92XivvGtr8mt//gL+dt//iN545tfvfGLT9389f2WhxO+fvfzP/3EXbHrh43wscMN3kulDUVpjU76hyUlbG1LDdX3n0nIpLajUnQ6PgCtZt0YjQ9q31yEIu7nXTBS77V/oqMI2k/W16xa+e5b39vjcNBQdDX0des/3Dr8/+YDqp/95FNf/LfdfpK3fgflm/f1vwIMALZ/b7YQN5ZZAAAAAElFTkSuQmCC) no-repeat;position:absolute;top:-13px;right:18px}.tsc_quiz_question_count_current{margin-top:14px;margin-left:8px;display:block;font-size:32px;font-family:Quicksand,Arial,Helvetica,sans-serif;text-shadow:-1px 1px 1px rgba(0,0,0,.4);font-weight:800;color:#000}.tsc_quiz_question_count_total{display:block;margin-top:2px;margin-left:8px;font-size:14px}#tsc_answers{max-height:200px;overflow:auto;-webkit-overflow-scrolling:touch}@media screen and (min-height:401px){#tsc_quiz_container{padding:20px;left:0;bottom:0;width:580px;border:1px solid #CCC;border-top-right-radius:22px;border-top-left-radius:22px;border-bottom-right-radius:22px;border-bottom-left-radius:22px;-moz-border-radius:22px;-webkit-border-radius:22px;-moz-box-shadow:0 0 5px rgba(0,0,0,.5);-webkit-box-shadow:0 0 5px rgba(0,0,0,.5)}#tsc_quiz_setup_container{width:560px;left:50%;top:15px;margin-left:-280px;border:1px solid #CCC;border-top-right-radius:22px;border-top-left-radius:22px;border-bottom-right-radius:22px;border-bottom-left-radius:22px;-moz-border-radius:22px;-webkit-border-radius:22px;-moz-box-shadow:0 0 10px rgba(0,0,0,.5);-webkit-box-shadow:0 0 10px rgba(0,0,0,.5)}.inputBlock{margin-top:12px;text-align:left;width:404px;margin-left:auto;margin-right:auto}.inputContainer{text-align:center;margin-bottom:20px}#tsc_quiz_setup_container h2{color:#000ad2;text-align:left;font-size:1.2em;margin:20px 30px;text-shadow:1px 1px 1px rgba(0,0,0,.3)}#tsc_quiz_setup_container p{margin:20px 0}#tsc_quiz_setup_container input{font-size:1.1em;color:#325ea3;width:400px}#tsc_quiz_setup_container button{padding:10px 15px;font-size:1.4em}#tsc_quiz_setup_container a{margin-top:10px;padding:6px 10px;font-size:.75em;text-decoration:none;color:#fff;background-color:#333;-moz-border-radius:6px;-webkit-border-radius:6px;-moz-box-shadow:0 0 1px rgba(0,0,0,.5);-webkit-box-shadow:0 0 1px rgba(0,0,0,.5)}}@media screen and (max-height:400px){#tsc_quiz_container{padding:0;width:100%;height:100%;left:0!important;bottom:0!important;top:0!important;max-height:400px!important;border-top-right-radius:0;border-top-left-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:0;-moz-border-radius:0;-webkit-border-radius:0}#tsc_quiz_container h2{margin:8px 4px 12px 8px;min-height:46px;font-size:28px;width:82%}.quiz_question{margin:8px}#tsc_textarea_input{width:90%}#tsc_question_set_result_info{width:80%;margin-left:10px}#tsc_answers{margin:10px}button{cursor:pointer;padding:10px 15px;font-size:18px}#tsc_previous_button{margin-left:10px;display:none}#tsc_next_button{display:none}#tsc_submit_button{float:right;margin-right:10px;display:none}#tsc_continue_button{float:right;margin-right:10px;display:none}#tsc_quiz_controls{width:100%;position:absolute;bottom:0;padding:10px 0;background-color:#fff}#tsc_quiz_setup_container{width:100%;height:100%;left:0;top:0}.inputBlock{margin-top:12px;text-align:left;width:404px;margin-left:auto;margin-right:auto}.inputContainer{text-align:center;margin-bottom:10px}#tsc_quiz_setup_container h2{color:#000ad2;font-size:1.1em;margin:15px 10px;text-shadow:1px 1px 1px rgba(0,0,0,.3)}#tsc_quiz_setup_container p{margin:20px 0}#tsc_quiz_setup_container input{font-size:1.1em;color:#325ea3;width:400px}#tsc_quiz_setup_container button{padding:10px 15px;font-size:1.4em}#tsc_quiz_setup_container a{margin-top:10px;padding:6px 10px;font-size:1.4em;text-decoration:none;color:#fff;background-color:#333;-moz-border-radius:6px;-webkit-border-radius:6px;-moz-box-shadow:0 0 1px rgba(0,0,0,.5);-webkit-box-shadow:0 0 1px rgba(0,0,0,.5)}#tsc_quiz_question_count{top:-13px;right:-5px}}#tsc_confirmation_container{font-family:Arial,Helvetica,sans-serif;font-size:18px;z-index:10;padding:6px;position:absolute;left:0;bottom:0;width:200px;background-color:#FFF;border:1px solid #CCC;line-height:1.3em;border-top-right-radius:22px;border-top-left-radius:22px;border-bottom-right-radius:22px;border-bottom-left-radius:22px;-moz-border-radius:22px;-webkit-border-radius:22px;-moz-box-shadow:0 0 5px rgba(0,0,0,.5);-webkit-box-shadow:0 0 5px rgba(0,0,0,.5)}#tsc_review_confirmation_container{font-family:Arial,Helvetica,sans-serif;font-size:18px;z-index:10;padding:6px;position:absolute;left:0;bottom:0;width:200px;background-color:#FFF;border:1px solid #CCC;line-height:1.3em;border-top-right-radius:22px;border-top-left-radius:22px;border-bottom-right-radius:22px;border-bottom-left-radius:22px;-moz-border-radius:22px;-webkit-border-radius:22px;-moz-box-shadow:0 0 5px rgba(0,0,0,.5);-webkit-box-shadow:0 0 5px rgba(0,0,0,.5)}#tsc_overlay{position:absolute;z-index:9;top:0;left:0;background-color:#000;width:100%;height:100%;padding:0;margin:0;opacity:.7}.largeButton{cursor:pointer;text-align:center;color:#fff;padding:15px;margin:5px;font-size:18px;-moz-border-radius:12px;-webkit-border-radius:12px;-moz-box-shadow:0 0 5px rgba(0,0,0,.5);-webkit-box-shadow:0 0 5px rgba(0,0,0,.5);-webkit-box-shadow:0 0 0 1px #666,0 0 0 2px #999,0 0 0 3px #666,1 1 1 6px #666;background:#45484d;background:-moz-linear-gradient(top,rgba(69,72,77,1) 0,rgba(0,0,0,1) 100%);background:-webkit-gradient(linear,left top,left bottom,color-stop(0%,rgba(69,72,77,1)),color-stop(100%,rgba(0,0,0,1)));background:-webkit-linear-gradient(top,rgba(69,72,77,1) 0,rgba(0,0,0,1) 100%);background:-o-linear-gradient(top,rgba(69,72,77,1) 0,rgba(0,0,0,1) 100%);background:-ms-linear-gradient(top,rgba(69,72,77,1) 0,rgba(0,0,0,1) 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#45484d', endColorstr='#000000', GradientType=0);text-shadow:1px 1px 1px rgba(0,0,0,.8)}.blueButton{background:#84c4e2;background:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzg0YzRlMiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjM2JSIgc3RvcC1jb2xvcj0iIzM2OWFkNiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjYxJSIgc3RvcC1jb2xvcj0iIzM3ODZjOSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiM2NmFkZjEiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);background:-moz-linear-gradient(top,#84c4e2 0,#369ad6 36%,#3786c9 61%,#66adf1 100%);background:-webkit-gradient(linear,left top,left bottom,color-stop(0%,#84c4e2),color-stop(36%,#369ad6),color-stop(61%,#3786c9),color-stop(100%,#66adf1));background:-webkit-linear-gradient(top,#84c4e2 0,#369ad6 36%,#3786c9 61%,#66adf1 100%);background:-o-linear-gradient(top,#84c4e2 0,#369ad6 36%,#3786c9 61%,#66adf1 100%);background:-ms-linear-gradient(top,#84c4e2 0,#369ad6 36%,#3786c9 61%,#66adf1 100%);background:linear-gradient(top,#84c4e2 0,#369ad6 36%,#3786c9 61%,#66adf1 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#84c4e2', endColorstr='#66adf1', GradientType=0)}#tsc_continue_control{font-size:14px}#tsc_review_answers_control{margin-bottom:7px}#tsc_review_control{font-size:14px}#tsc_confirm_control{margin-bottom:7px}.chat-bubble-arrow-border{border-color:#CCC transparent transparent;border-style:solid;border-width:15px;height:0;width:0;position:absolute;bottom:-30px;left:130px}.chat-bubble-arrow{border-color:#FFF transparent transparent;border-style:solid;border-width:15px;height:0;width:0;position:absolute;bottom:-28px;left:130px}.preRoll{position:absolute;z-index:20;overflow:hidden;border:0}.preRollHidden{visibility:hidden}.preRoll-disableMouse{pointer-events:none}.preRoll-fullPage{top:0;left:0;width:100%;height:100%}.spritesheet{display:inline-block;overflow:hidden;background-repeat:no-repeat;background-image:url(spritesheet.png)}.sprite_repeat{background-repeat:repeat-x!important}.rewind_button_normal{width:43px;height:43px;background-position:-192px -226px}.rewind_button_over{width:43px;height:43px;background-position:-240px -226px}.rewind_button_down{width:43px;height:43px;background-position:-144px -288px}.rewind_button_disabled{width:43px;height:43px;background-position:-192px -226px}.play_button_normal{width:43px;height:43px;background-position:-144px -0px}.play_button_over{width:43px;height:43px;background-position:-144px -48px}.play_button_down{width:43px;height:43px;background-position:-96px -288px}.play_button_disabled{width:43px;height:43px;background-position:-144px -0px}.pause_button_normal{width:43px;height:43px;background-position:-96px -192px}.pause_button_over{width:43px;height:43px;background-position:-96px -240px}.pause_button_down{width:43px;height:43px;background-position:-96px -144px}.pause_button_disabled{width:43px;height:43px;background-position:-96px -192px}.previous_button_normal{width:43px;height:43px;background-position:-144px -192px}.previous_button_over{width:43px;height:43px;background-position:-144px -240px}.previous_button_down{width:43px;height:43px;background-position:-144px -144px}.previous_button_disabled{width:43px;height:43px;background-position:-144px -96px}.next_button_normal{width:43px;height:43px;background-position:-96px -48px}.next_button_over{width:43px;height:43px;background-position:-96px -96px}.next_button_down{width:43px;height:43px;background-position:-96px -0px}.next_button_disabled{width:43px;height:43px;background-position:-48px -288px}.settings_button_normal{width:43px;height:43px;background-position:-380px -0px}.settings_button_over{width:43px;height:43px;background-position:-428px -0px}.settings_button_down{width:43px;height:43px;background-position:-332px -0px}.settings_button_disabled{width:43px;height:43px;background-position:-380px -0px}.settings_off_button_normal{width:43px;height:43px;background-position:-476px -0px}.settings_off_button_over{width:43px;height:43px;background-position:-476px -0px}.settings_off_button_down{width:43px;height:43px;background-position:-476px -0px}.settings_off_button_disabled{width:43px;height:43px;background-position:-476px -0px}.closed_caption_button_normal{width:43px;height:43px;background-position:-0px -48px}.closed_caption_button_over{width:43px;height:43px;background-position:-0px -96px}.closed_caption_button_down{width:43px;height:43px;background-position:-0px -0px}.closed_caption_button_disabled{width:43px;height:43px;background-position:-0px -48px}.closed_caption_off_button_normal{width:43px;height:43px;background-position:-0px -144px}.closed_caption_off_button_over{width:43px;height:43px;background-position:-0px -144px}.closed_caption_off_button_down{width:43px;height:43px;background-position:-0px -144px}.closed_caption_off_button_disabled{width:43px;height:43px;background-position:-0px -144px}.toc_button_normal{width:43px;height:43px;background-position:-353px -48px}.toc_button_over{width:43px;height:43px;background-position:-401px -48px}.toc_button_down{width:43px;height:43px;background-position:-305px -48px}.toc_button_disabled{width:43px;height:43px;background-position:-353px -48px}.toc_off_button_normal{width:43px;height:43px;background-position:-449px -48px}.toc_off_button_over{width:43px;height:43px;background-position:-449px -48px}.toc_off_button_down{width:43px;height:43px;background-position:-449px -48px}.toc_off_button_disabled{width:43px;height:43px;background-position:-449px -48px}.fullscreen_enter_button_normal{width:43px;height:43px;background-position:-48px -48px}.fullscreen_enter_button_over{width:43px;height:43px;background-position:-48px -96px}.fullscreen_enter_button_down{width:43px;height:43px;background-position:-48px -0px}.fullscreen_enter_button_disabled{width:43px;height:43px;background-position:-48px -48px}.fullscreen_leave_button_normal{width:43px;height:43px;background-position:-48px -192px}.fullscreen_leave_button_over{width:43px;height:43px;background-position:-48px -240px}.fullscreen_leave_button_down{width:43px;height:43px;background-position:-48px -144px}.fullscreen_leave_button_disabled{width:43px;height:43px;background-position:-48px -192px}.fullframe_enter_button_normal{width:43px;height:43px;background-position:-0px -240px}.fullframe_enter_button_over{width:43px;height:43px;background-position:-0px -240px}.fullframe_enter_button_down{width:43px;height:43px;background-position:-0px -240px}.fullframe_enter_button_disabled{width:43px;height:43px;background-position:-0px -240px}.fullframe_leave_button_normal{width:43px;height:43px;background-position:-0px -288px}.fullframe_leave_button_over{width:43px;height:43px;background-position:-0px -288px}.fullframe_leave_button_down{width:43px;height:43px;background-position:-0px -288px}.fullframe_leave_button_disabled{width:43px;height:43px;background-position:-0px -288px}.play_button_overlay_normal{width:108px;height:108px;background-position:-192px -0px}.play_button_overlay_over{width:108px;height:108px;background-position:-192px -0px}.play_button_overlay_down{width:108px;height:108px;background-position:-192px -0px}.play_button_overlay_disabled{width:108px;height:108px;background-position:-192px -0px}.replay_button_overlay_normal{width:108px;height:108px;background-position:-192px -113px}.replay_button_overlay_over{width:108px;height:108px;background-position:-192px -113px}.replay_button_overlay_down{width:108px;height:108px;background-position:-192px -113px}.replay_button_overlay_disabled{width:108px;height:108px;background-position:-192px -113px}.scroll_down_arrow_normal{width:16px;height:16px;background-position:-14px -213px}.scroll_down_arrow_over{width:16px;height:16px;background-position:-192px -274px}.scroll_down_arrow_down{width:16px;height:16px;background-position:-14px -213px}.scroll_down_arrow_disabled{width:16px;height:16px;background-position:-14px -213px}.scroll_up_arrow_normal{width:16px;height:16px;background-position:-232px -313px}.scroll_up_arrow_over{width:16px;height:16px;background-position:-253px -292px}.scroll_up_arrow_down{width:16px;height:16px;background-position:-232px -292px}.scroll_up_arrow_disabled{width:16px;height:16px;background-position:-232px -313px}.scroll_thumb_bottom_normal{width:14px;height:50px;background-position:-192px -295px}.scroll_thumb_bottom_over{width:14px;height:50px;background-position:-192px -295px}.scroll_thumb_bottom_down{width:14px;height:50px;background-position:-192px -295px}.scroll_thumb_bottom_disabled{width:14px;height:50px;background-position:-192px -295px}.scroll_track_normal{width:15px;height:13px;background-position:-232px -274px}.scroll_track_over{width:16px;height:4px;background-position:-69px -336px}.scroll_track_down{width:16px;height:4px;background-position:-48px -336px}.scroll_track_disabled{width:15px;height:13px;background-position:-232px -274px}.scrubbar_scrubber_normal{width:10px;height:43px;background-position:-305px -0px}.scrubbar_scrubber_over{width:10px;height:43px;background-position:-305px -0px}.scrubbar_scrubber_down{width:10px;height:43px;background-position:-305px -0px}.scrubbar_scrubber_disabled{width:10px;height:43px;background-position:-305px -0px}.unmute_button_normal{width:43px;height:43px;background-position:-545px -48px}.unmute_button_over{width:43px;height:43px;background-position:-305px -96px}.unmute_button_down{width:43px;height:43px;background-position:-497px -48px}.unmute_button_disabled{width:43px;height:43px;background-position:-545px -48px}.volume_button_normal{width:43px;height:43px;background-position:-353px -192px}.volume_button_over{width:43px;height:43px;background-position:-353px -240px}.volume_button_down{width:43px;height:43px;background-position:-305px -144px}.volume_button_disabled{width:43px;height:43px;background-position:-353px -192px}.volume_button_low_normal{width:43px;height:43px;background-position:-401px -96px}.volume_button_low_over{width:43px;height:43px;background-position:-449px -96px}.volume_button_low_down{width:43px;height:43px;background-position:-353px -96px}.volume_button_low_disabled{width:43px;height:43px;background-position:-401px -96px}.volume_button_med_normal{width:43px;height:43px;background-position:-545px -96px}.volume_button_med_over{width:43px;height:43px;background-position:-353px -144px}.volume_button_med_down{width:43px;height:43px;background-position:-497px -96px}.volume_button_med_disabled{width:43px;height:43px;background-position:-545px -96px}.volume_button_high_normal{width:43px;height:43px;background-position:-305px -240px}.volume_button_high_over{width:43px;height:43px;background-position:-305px -288px}.volume_button_high_down{width:43px;height:43px;background-position:-305px -192px}.volume_button_high_disabled{width:43px;height:43px;background-position:-305px -240px}.volumebar_slider_normal{width:13px;height:9px;background-position:-96px -336px}.volumebar_slider_over{width:13px;height:9px;background-position:-96px -336px}.volumebar_slider_down{width:13px;height:9px;background-position:-96px -336px}.volumebar_slider_disabled{width:13px;height:9px;background-position:-96px -336px}.scrubbar_loaded_track_end{width:2px;height:43px;background-position:-288px -226px}.scrubbar_track_left{width:1px;height:43px;background-position:-295px -226px}.scrubbar_track_right{width:1px;height:43px;background-position:-320px -0px}.scrubbar_track{width:2px;height:43px;background-position:-0px -479px}.scrubbar_loaded_track{width:2px;height:43px;background-position:-0px -393px}.scrubbar_played_track{width:2px;height:43px;background-position:-0px -436px}.seperator{width:1px;height:43px;background-position:-326px -0px}.volumebar_track{width:5px;height:2px;background-position:-35px -192px}.volumebar_track_end{width:5px;height:2px;background-position:-35px -199px}.volumebar_backdrop{width:31px;height:97px;background-position:-401px -144px}.control_backdrop_left{width:2px;height:43px;background-position:-0px -192px}.control_backdrop_right{width:2px;height:43px;background-position:-7px -192px}.toc_title_backdrop{width:8px;height:18px;background-position:-0px -522px}.control_backdrop{width:2px;height:43px;background-position:-0px -350px}.quizMarker{width:3px;color:rgba(255,255,255,.5);display:none}#videoClickToPlay,#videoClickToReplay{margin:-54px 0 0 -54px}#progress .seperator{display:none}#play_time{padding:0 5px 0 13px;font-size:15px;line-height:43px;color:#fff}#progress_scrubbar_track{height:43px;margin:0 1px}#scrubbar_scrubber{margin-right:-6px}#volume_slider_container{left:6px;margin-bottom:-4px}#volume_slider_vertical{height:61px;margin-top:19px}#volume_slider_vertical .ui-slider-handle{left:9px;width:13px;height:9px;background-image:url(spritesheet.png);background-position:-96px -336px}#volume_slider_vertical .ui-slider-range{margin-left:15px;width:1px;background-color:#151515}#playerSettingsContainer{margin-bottom:1px;background-color:#4b4b4b;color:#fff}#videoSidebar{bottom:43px}.captionVAlignBottom{bottom:53px} \ No newline at end of file diff --git a/RMAGEN/RMAGEN.common.settings b/RMAGEN/RMAGEN.common.settings new file mode 100644 index 0000000..c26faac --- /dev/null +++ b/RMAGEN/RMAGEN.common.settings @@ -0,0 +1,22 @@ + + + + + true + + + C:\Users\RMA5440\Fortran-Projects\RMAGEN\RMAGEN\INSTALL\RMAGENV83X.EXE + + C:\Users\RMA5440\proj-17\ftn\jan31\RMA2 test files + + true + + + true + true + + false + true + false + + \ No newline at end of file diff --git a/RMAGEN/fort.155 b/RMAGEN/fort.155 new file mode 100644 index 0000000..8c4aad7 --- /dev/null +++ b/RMAGEN/fort.155 @@ -0,0 +1,9 @@ + 0.0000000E+00 0.0000000E+00 0.0000000E+00 + 0.0000000E+00 0.0000000E+00 0.0000000E+00 + 0.0000000E+00 0.0000000E+00 0.0000000E+00 + 0.0000000E+00 0.0000000E+00 0.0000000E+00 + 0.0000000E+00 0.0000000E+00 0.0000000E+00 + 0.0000000E+00 0.0000000E+00 0.0000000E+00 + 0.0000000E+00 0.0000000E+00 0.0000000E+00 + 0.0000000E+00 0.0000000E+00 0.0000000E+00 + 0.0000000E+00 0.0000000E+00 0.0000000E+00 diff --git a/RMAGEN/test.rm1 b/RMAGEN/test.rm1 new file mode 100644 index 0000000..aa8bde4 Binary files /dev/null and b/RMAGEN/test.rm1 differ diff --git a/Untitled.camproj b/Untitled.camproj new file mode 100644 index 0000000..c2b4457 --- /dev/null +++ b/Untitled.camproj @@ -0,0 +1,130 @@ + + + + +1920 +1080 +1 +1 +-1 + + + +C:\Users\RMA5440\AppData\Local\TechSmith\Camtasia Studio\8.0\Auto-Saves\Untitled4eaa9470.autosave.camproj + +B0BE3E18-C5DF-40FA-A859-8E865C918D77 + +0 + + + + + + + + + +8 +Untitled + + +13 +2017-02-07 04:09:51 PM + + +16 +ENU + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/capture-3.trec b/capture-3.trec new file mode 100644 index 0000000..832bf08 Binary files /dev/null and b/capture-3.trec differ diff --git a/src/BLK1.f90 b/src/BLK1.f90 index 2ffe1b5..539c563 100644 --- a/src/BLK1.f90 +++ b/src/BLK1.f90 @@ -12,7 +12,7 @@ INTEGER*2 INSKP,IESKP,INEW,NCORN,IJUN,ISWTAGN,iswtintp !IPK MAY02 INTEGER*2 NOP,IMAT,IEM,NEF,NEFLAG,LINTYP,LAY INTEGER*2 IMAT,LINTYP,LAY,IRTYP - INTEGER*4 NOP,IEM,NEF,NEFLAG + INTEGER*4 NOP,IEM,NEF,NEFLAG,ILINEL ! REAL*8 CORD,XUSR,YUSR,XC,YC,CMAP,XMAP,YMAP,pscale,xref,yref REAL*8 CORD,XUSR,YUSR,XC,YC,pscale,xref,yref REAL*8 ALXX,ALYY,ALWD,BLXX,BLYY,BLWD,XBRLEN,CNX,CNY,WIDTHD,HLEFT,HMID,HRIGHT,HSET @@ -42,7 +42,7 @@ ,IIN, IBAK, LUNIT,IGIN,IS11,IMP,IGFG,ISWAP,ITRIAN& ,klint,jlint,lmpnam,IDELV,nmapf,NSIGF,NPUNDO,NEUNDO,nefsav,nesav& ,xadded,yadded,icolsw,rad,colint,ielvsw,ISWTAGN,iswtintp,eref,igrp,igrpout,MAXIGRP& - ,JPTSB + ,JPTSB,ILINEL !IPK MAR02 ADD BS1 !IPK FEB02 ADD LOCK !IPK MAY01 ADD NODDEL AND IELDEL @@ -111,7 +111,7 @@ ALLOCATABLE ICN(:) - ALLOCATABLE ICONNCT(:,:) + ALLOCATABLE ICONNCT(:,:),NKEP(:) ALLOCATABLE IOUTLST(:,:),NOUTLST(:),XOUT(:,:),YOUT(:,:) diff --git a/src/D.INC b/src/D.INC index df2bea6..70b1d42 100644 --- a/src/D.INC +++ b/src/D.INC @@ -1,4 +1,4 @@ -! Winteracter resource identifiers. Created : 03/Aug/2016 15:52:15 +! Winteracter resource identifiers. Created : 13/Feb/2017 12:04:28 ! ! This file is generated by the Winteracter resource editor. ! It should not be edited manually. It is also not advisable to load this @@ -361,3 +361,7 @@ INTEGER, PARAMETER :: ID_ASSIGNELTLD = 40144 INTEGER, PARAMETER :: ID_FILLTR = 40145 INTEGER, PARAMETER :: IDD_FTRIAN = 167 + INTEGER, PARAMETER :: ID_addmeshtr = 40146 + INTEGER, PARAMETER :: ID_UNDOGEN = 40147 + INTEGER, PARAMETER :: IDD_GETFL = 168 + INTEGER, PARAMETER :: ID_DDRAW = 40148 diff --git a/src/EVENT.F90 b/src/EVENT.F90 index 64f956c..2eda33a 100644 --- a/src/EVENT.F90 +++ b/src/EVENT.F90 @@ -833,8 +833,16 @@ CALL OUTORG(FNAMEB) if(sub .eq. 'jpg' .or. sub .eq. 'png' .or. sub .eq. 'pcx' .or. sub .eq. 'bmp') then ! call doplot(0) + CALL WGrSaveImageOptions(31,100) + CALL WGrSaveImageOptions(32,150) call igrsaveimage(fname) call doplot(0) + call IGrFileInfo(FNAME,INFO,3) + IF(SUB .EQ. 'jpg') THEN + SUB2='jpgw' + CALL ADDSUB(FNAMEB,SUB2) + CALL OUTJPGW(FNAMEB,INFO) + ENDIF CALL HEDR go to 100 endif @@ -1067,6 +1075,10 @@ IACTVFIL=IOLDACT CALL ADDTOMESH(IFILADD,1) GO TO 100 +!ipk sep16 ADD MESH FROM POINTS + CASE (ID_ADDMESHTR) + CALL ADDMESHT + GO TO 100 !ipk may03 CASE (ID_TRIANG) ! add a triangle of elements CALL ADDTRIANG @@ -1234,6 +1246,12 @@ CASE (ID_ATTACH) CALL REATTACH GO TO 101 + + CASE (ID_DDRAW) + IDDSW=MOD(IDDSW+1,2) + IF(IDDSW .EQ. 1) CALL WMenuSetState(ID_DDRAW,ItemChecked,1) + + GO TO 101 CASE (ID_COMPLEX) CALL GNODE(2) @@ -1346,6 +1364,7 @@ CASE (ID_SMOOTHMAP) CALL SMOOTHMP GO TO 101 + CASE (ID_DRAG) MENUS=8 iflag='d' @@ -1702,11 +1721,20 @@ GO TO 100 CASE (ID_UNDOS) IFLAG='U' + CASE (ID_UNDOGEN) +! IF(ITOTFIL .EQ. 1) THEN +! CALL ZEROOUT +! IACTVFIL=0 +! CALL PLOTOT(0) +! ELSE + CALL UNDOGEN +! ENDIF + GO TO 100 CASE (ID_GOUTLIN) CALL GOUTLIN GO TO 100 CASE (ID_XOUTLIN) - CALL OUTLINES + CALL OUTLINES(0) GO TO 100 END SELECT diff --git a/src/EXP.rc b/src/EXP.rc deleted file mode 100644 index af4f1ff..0000000 --- a/src/EXP.rc +++ /dev/null @@ -1,47 +0,0 @@ -/////////////////////////////////////////////////// -// -// THIS FILE SHOULD NOT BE EDITED USING A TEXT -// EDITOR OR 3RD PARTY RESOURCE EDITOR, EXCEPT -// WHEN SPECIFICALLY INSTRUCTED BY I.S.S. -// -/////////////////////////////////////////////////// -// -// Winteracter exported resources. -// -// Exported : 08/May/2015 15:41:09 -// -/////////////////////////////////////////////////// -// -// To use this file it should be imported into -// your main resource script -// -/////////////////////////////////////////////////// - -/////////////////////////////////////////////////// -// -// Parameter Definitions -// -#define IDF_LABEL1 1001 -#define IDF_INTEGER1 1057 -#define IDD_SELELT 119 - -/////////////////////////////////////////////////// -// -// Dialogs -// -IDD_SELELT DIALOG 0, 0, 160, 80 -STYLE WS_POPUP | WS_BORDER | WS_DLGFRAME | WS_SYSMENU | DS_3DLOOK | DS_MODALFRAME -FONT 8, "MS Sans Serif" -CAPTION "Select Element Number" -BEGIN - CONTROL "Element Number",IDF_LABEL1,"STATIC",WS_CHILD | WS_VISIBLE | WS_GROUP | SS_LEFT, 26, 21, 54, 8 - CONTROL "0",IDF_INTEGER1,"INTEGEREDIT",WS_CHILD | WS_VISIBLE | WS_BORDER | WS_GROUP | WS_TABSTOP | ES_LEFT | ES_RIGHT | ES_MULTILINE, 100, 18, 40, 14 - CONTROL "OK",IDOK,"BUTTON",WS_CHILD | WS_VISIBLE | WS_GROUP | WS_TABSTOP | BS_DEFPUSHBUTTON | BS_TEXT, 60, 46, 40, 14 -END - -IDD_SELELT RCDATA -BEGIN -"[Ranges] \n" -,0 -END - diff --git a/src/FILLTR.F90 b/src/FILLTR.F90 index dec64f5..dfad3e1 100644 --- a/src/FILLTR.F90 +++ b/src/FILLTR.F90 @@ -4,6 +4,7 @@ USE BLKMAP CHARACTER(LEN=256) :: FILTER,FNAME CHARACTER(LEN=80) :: DATAIN,OPTIONS + CHARACTER(LEN=96) :: LOCDIR CHARACTER(LEN=3) :: SUB INTEGER INOUTL,NOUTL,OUTPOL INTEGER NTRIAN(5000,2),TWO,ZERO,ntrans(5000) @@ -168,9 +169,9 @@ ! OPTIONS = ' -pqa5000V TEST' OPTIONS(1:3) = ' -p' nct=3 -! iswq=1 -! iswy=0 -! id1=105 + iswq=1 + iswy=0 + id1=100 CALL PANELFILLT(ISWQ,ISWY,ID1) IF(ISWQ .EQ. 1) THEN @@ -202,9 +203,29 @@ open(77,file= 'test.1.poly') close(77,status='DELETE') ENDIF + INQUIRE (FILE = "C:\Program Files\RMA\TRIANGLE.EXE", EXIST = exists) + if(.not. exists) then + INQUIRE (FILE = "TRIANGLE.EXE", EXIST = exists) + if(.not. exists) then + CALL WMessageBox(YesNo,QuestionIcon,CommonOK,'TRIANGLE is not available in '//CHAR(13)//& + 'C:\Program Files\RMA\ directory'//CHAR(13)//'Do you wish to define directory?'& + ,'WARNING TRIANGLE IS NOT AVAILABLE') + +! If answer 'No', return +! + IF (WInfoDialog(4).EQ.2) return + CALL GETDIR(LOCDIR) + else + LOCDIR(1:8)='TRIANGLE' +! WRITE(155,*) LOCDIR + RESULT= RUNQQ(LOCDIR, OPTIONS) + GO TO 600 + endif + endif RESULT= RUNQQ("C:\Program Files\RMA\TRIANGLE", OPTIONS) ! RESULT= RUNQQ("TRIANGLE", OPTIONS) +600 CONTINUE IF(IMAPIN .EQ. 1) THEN READ(113) XMAP,YMAP CLOSE (113) @@ -239,12 +260,12 @@ ! real :: ! character*3 :: DATA ITIME/0/ - IF(ITIME .EQ. 0) THEN - ITIME=1 - N1=1 - N2=0 - N3=100 - ENDIF +! IF(ITIME .EQ. 0) THEN +! ITIME=1 +! N1=1 +! N2=0 +! N3=100 +! ENDIF call wdialogload(IDD_FTRIAN) ierr=infoerror(1) diff --git a/src/GETNEWFIL - Copy.F90 b/src/GETNEWFIL - Copy.F90 new file mode 100644 index 0000000..2a598d6 --- /dev/null +++ b/src/GETNEWFIL - Copy.F90 @@ -0,0 +1,757 @@ + SUBROUTINE GETNEWFIL(IIN,IGFG,ITRIAN,ISWT) + + INCLUDE 'BFILES.I90' + +! WRITE CURRENT DATA TO A SCRATCH FILE + + IF(IACTVFIL .GT. 0 .AND. ISWT .NE. -1) THEN + IFILOUT=IACTVFIL+50 + CALL WRTFIL(IFILOUT) + CALL ZEROOUT + IACTVFIL=ITOTFIL + ELSEIF(IACTVFIL .EQ. 0) THEN + IACTVFIL=1 + ENDIF + IF(abs(ISWT) .EQ. 1) THEN + ITOTFIL=ITOTFIL+1 + FNAMKEP='TEST.1.ELE' + IACTVFIL=ITOTFIL + FNAMEOUT(IACTVFIL)='TEST.1.ELE' + WRITE(90,*) 'ITOTFIL,IACTVFIL',ITOTFIL,IACTVFIL + WRITE(90,'(A80)') (FNAMEOUT(KKK),KKK=1,3) + ENDIF + IF(ITRIAN .EQ. 1) THEN + CALL READGFG(IIN,1) + +! TEST FOR GFG FORMAT + ELSEIF(IGFG .EQ. 1) THEN + CALL READGFG(IIN,0) + +! TEST FOR rm1 FORMAT + + ELSEIF(IIN .EQ. 10) THEN + CALL READRM1(IIN) + +! TEST FOR rm1 FORMAT + +!ipk feb08 replace iin of 11 with 12 + ELSEIF(IIN .EQ. 12 .and. IGFG .EQ. 0) THEN + CALL READGEO(IIN) + + ELSEIF(IIN .EQ. 12 .and. IGFG .EQ. 2) THEN + CALL RDBIN(IIN) + + ENDIF + + IFILOUT=IACTVFIL+50 + WRITE(90,*) 'IFILOUT', IFILOUT + CALL WRTFIL(IFILOUT) + IACTVFIL=1 + CALL LOADFIL + + + CALL RESCAL + CALL HEDR + + + RETURN + END + +! Write data to a file + SUBROUTINE WRTFIL(IFILOUT) + + USE BLK1MOD + CHARACTER*80 ALINE +! INCLUDE 'BLK1.COM' + + CLOSE (IFILOUT) + OPEN(IFILOUT,STATUS='scratch',FORM='binary') + + ISLP=0 + IPRT=1 + IPNN=1 + IPEN=1 + IPO=1 + IRO=1 + IPP=0 + IRFN=0 + IGEN=0 + NXZL=0 + NITST=1 + ISCTXT=0 + IFILL=0 + IALTGM=1 + NLAYD=0 + HORIZ=10. + VERT=8. + XSALE=0. + YSALE=0. + XFACT=0. + YFACT=0. + AR=0. + ANG=0. + xadded=0. + yadded=0. + ntempin=0. +! WRITE(90,*) 'IN GETNEWFIL', IFILOUT,NP,NE,IPRT + WRITE(IFILOUT) TITLE,NP,NE + WRITE(IFILOUT) ISLP,IPRT,IPNN,IPEN,IPO,IRO,IPP,IRFN & + & ,IGEN,NXZL,NITST,ISCTXT,IFILL,IALTGM,NLAYD,xadded,yadded,ntempin +! WRITE(90,*) ISLP,IPRT,IPNN,IPEN,IPO,IRO,IPP,IRFN & +! & ,IGEN,NXZL,NITST,ISCTXT,IFILL,IALTGM,NLAYD,xadded,yadded,ntempin + WRITE(IFILOUT) HORIZ,VERT,XSALE,YSALE,XFACT,YFACT,AR,ANG + IF(IPP .GT. 0) WRITE(IFILOUT) ALINE + + WRITE(IFILOUT) ((NOP(J,K),K=1,8),IMAT(J),THTA(J),J=1,NE) + WRITE(IFILOUT) & + (XUSR(J),YUSR(J),WD(J),WIDTH(J),SS1(J),SS2(J),WIDS(J), & + & WIDBS(J),SSO(J),BS1(J),J=1,NP) + + WRITE(IFILOUT) NLST + IF(NLST .GT. 0) THEN + WRITE(IFILOUT) (LLIST(J),J=1,NLST), & + & ((ILIST(J,I),I=1,LLIST(J)),J=1,NLST) + ENDIF + + WRITE(IFILOUT) NENTRY,NLAYD,NCLM + + IF(NENTRY .GT. 0) THEN + WRITE(IFILOUT) ((NEF(I,J),J=1,3),I=1,NENTRY) + ENDIF + + IF(NLAYD .GT. 0) THEN + WRITE(IFILOUT) (LAY(I),I=1,NP) + ENDIF + + IF(NCLM .GT. 0) THEN + WRITE(IFILOUT) ((ICCLN(I,J),J=1,350),I=1,NCLM) + ENDIF + REWIND IFILOUT + RETURN + END + + SUBROUTINE READRM1(IIIN) + + USE BLK1MOD +! INCLUDE 'BLK1.COM' + CHARACTER*48 DLIN + + IIN=IIIN +! Read in header lines + + ISET=1 + WRITE(90,*) 'GOING TO HEADIN' + CALL HEADIN(IIN,ISET) + +! Read in existing elements + WRITE(90,*) 'GOING TO RDELEM' + CALL RDELEM(IIN) + +! Read in nodal coordinates + + WRITE(90,*) 'GOING TO RDCORD' + CALL RDCORD(IIN) + +! Close input file + + CLOSE(IIN) + +! Scale for plotting + + IF(NP .GT. 0) THEN + DO J=1,NP + IF (CORD(J,1) .GT. VDX) THEN + XMIN=MIN(XMIN,CORD(J,1)) + XMAX=MAX(XMAX,CORD(J,1)) + YMIN=MIN(YMIN,CORD(J,2)) + YMAX=MAX(YMAX,CORD(J,2)) + ENDIF + ENDDO + ENDIF + + RETURN + END + +! Read GEO file + SUBROUTINE READGEO(IIIN) + USE BLK1MOD + CHARACTER*1000 HEADER + CHARACTER*8 ID8 + CHARACTER*32 IJNK + CHARACTER*80 ALINE,DLIN +! INCLUDE 'BLK1.COM' + INCLUDE 'BFILES.I90' + + INTEGER*2 NOP2(MAXE,8) + + + IIN=IIIN + read(iin,err=100) header + if(header(1:6) .eq. 'RMAGEN') then + inopt=2 + else + inopt=1 + rewind iin + endif + read(iin) n1,m1 + rewind iin + write(90,*) 'Apparent nodes and elements from file are' + write(90,'(i15,i10)') n1,m1 + if(n1 .gt. maxp .or. m1 .gt. maxe) then +! +!...... Perhaps the file format is wrong, close and reopen +! + WRITE(DLIN,'(A32)') 'Parameter limits may be violated' + call symbl(0.5,4.5,0.20,dlin,0.0,32) + WRITE(DLIN,'(A35)') 'Retrying with alternate file format' + call symbl(0.5,4.2,0.20,dlin,0.0,35) + close (iin) + open(iin ,file=fnamkep,status='old',form='unformatted') + read(iin) n1,m1 + write(90,*) 'Revised nodes and elements from file are' + write(90,'(i15,i10)') n1,m1 + if(n1 .gt. maxp .or. m1 .gt. maxe) then + WRITE(DLIN,'(A31)') 'Parameter limits still violated' + call symbl(0.5,3.9,0.20,dlin,0.0,31) + WRITE(DLIN,'(A27)') 'Apparent nodes and elts are' + call symbl(0.5,3.6,0.20,dlin,0.0,27) + WRITE(DLIN,'(2i10)') n1,m1 + call symbl(0.5,3.3,0.20,dlin,0.0,20) + WRITE(DLIN,'(A24)') 'Press enter to terminate' + call symbl(0.5,4.5,0.20,dlin,0.0,24) + CALL GTCHARX(ijnk,ndig,5.0,4.0) +!cipk aug00 read(*,'(i1)') junk + call quit_pgm + endif + endif + rewind iin +! +! + if(inopt .eq. 2) then + read(iin,err=100) header + READ(IIN,ERR=100) & + & N1,M1,((CORD(J,K),K=1,2),ALPHA,WD(J),J=1,N1), & + & ((NOP(J,K),K=1,8),IMAT(J),THTA(J),I3,J=1,M1) & + & , (WIDTH(J),SS1(J),SS2(J),WIDS(J),J=1,N1) + DO J=1,N1 + XUSR(J)=CORD(J,1) + YUSR(J)=CORD(J,2) + ENDDO +! + else + READ(IIN,ERR=100) & + & N1,M1,((CORDSN(J,K),K=1,2),ALPHA,WD(J),J=1,N1), & + & ((NOP2(J,K),K=1,8),IMAT(J),THTA(J),I32,J=1,M1) & + & , (WIDTH(J),SS1(J),SS2(J),WIDS(J),J=1,N1) + DO J=1,N1 + DO K=1,2 + CORD(J,K)=CORDSN(J,K) + ENDDO + XUSR(J)=CORD(J,1) + YUSR(J)=CORD(J,2) + ENDDO + DO J=1,M1 +!ipk feb08 + ncorn(j)=0 + DO K=1,8 + NOP(J,K)=NOP2(J,K) +!ipk feb08 + if(nop(j,k) .gt. 0) ncorn(j)=k + ENDDO + ENDDO + endif + read(IIN,err=120,end=120) id8 + if(id8(1:6) .eq. 'part-2') then + read(IIN,err=104) (widbs(j),sso(j),j=1,n1) + read(IIN,err=120,end=120) id8 + endif + +! Add part 3 write for continuity lines + if(id8(1:6) .eq. 'part-3') then + +!ipk aug02 IF(NCLM .GT. 0) THEN + READ(IIN,ERR=104) NCLM,((ICCLN(I,J),J=1,350),I=1,NCLM) +!ipk aug02 ENDIF + read(IIN,err=120,end=120) id8 + endif +!IPK DEB02 Add part 4 write for lock and BS1 lines and reordering + if(id8(1:6) .eq. 'part-4') then + read(iin,err=104,end=120) (lock(j),bs1(j),j=1,n1) + read(iin,err=104,end=120) & + nlst,((ilist(j,k),k=1,maeln),llist(j),j=1,maxln) + endif + DO J=1,M1 +!ipk feb08 + ncorn(j)=0 + DO K=1,8 +!ipk feb08 + if(nop(j,k) .gt. 0) ncorn(j)=k + ENDDO + ENDDO + + GO TO 120 + + 100 READ(IIN,ERR=104) & + & N1,M1,((CORDSN(J,K),K=1,2),ALPHA,WD(J),J=1,N1), & + & ((NOP2(J,K),K=1,8),IMAT(J),THTA(J),I32,J=1,M1) + DO J=1,N1 + DO K=1,2 + CORD(J,K)=CORDSN(J,K) + ENDDO + XUSR(J)=CORD(J,1) + YUSR(J)=CORD(J,2) + ENDDO + DO J=1,M1 +!ipk feb08 + ncorn(j)=0 + DO K=1,8 + NOP(J,K)=NOP2(J,K) +!ipk feb08 + if(nop(j,k) .gt. 0) ncorn(j)=k + ENDDO + ENDDO + GO TO 120 + + 104 WRITE(90,*) 'Error reading binary geometry file' +!ipk jan98 CALL SETD(23) + call clscrn() + WRITE(aline,*) 'Error reading binary geometry file' + call symbl & + & (1.1,3.3,0.20,aline,0.0,80) + WRITE(aline,*) 'Press enter to exit' + call symbl & + & (1.1,3.0,0.20,aline,0.0,80) + ndig=1 + CALL GTCHARX(IJNK,NDIG,5.0,7.6) + CALL Quit_Pgm + STOP + + 120 CONTINUE + NP=N1 + NE=M1 + +! Close input file + + CLOSE(IIN) + +! Scale for plotting + + IF(NP .GT. 0) THEN + DO J=1,NP + IF (CORD(J,1) .GT. VDX) THEN + XMIN=MIN(XMIN,CORD(J,1)) + XMAX=MAX(XMAX,CORD(J,1)) + YMIN=MIN(YMIN,CORD(J,2)) + YMAX=MAX(YMAX,CORD(J,2)) + ENDIF + ENDDO + ENDIF + RETURN + + END + + SUBROUTINE READGFG(IUNIT,ISW) + + USE BLK1MOD + INCLUDE "BFILES.I90" +! INCLUDE 'BLK1.COM' + CHARACTER*1 ANS + CHARACTER*32 ANS32 + CHARACTER*3 ID + CHARACTER*77 DLIN + CHARACTER*150 DLIN1 + CHARACTER*80 LIND + DIMENSION NTMP(9),NTEMPLIN(200,10),ATT(9) + + REAL*8 CX,CY,VALS(7) + + MEL=MAXE + ylv=7.5 + IIN=IUNIT + IPRT=1 + IPNN=1 + IPEN=1 + IPO=1 + IRO=1 + IPP=0 + IRFN=0 + IGEN=0 + NXZL=0 + NITST=1 + ISCTXT=0 + IFILL=0 + IALTGM=1 + NLAYD=0 + HORIZ=10. + VERT=8. + XSALE=0. + YSALE=0. + XFACT=0. + YFACT=0. + AR=0. + ANG=0. + xadded=0. + yadded=0. + ntempin=0. + KLIN=0 + IF(ISW .EQ. 1) GO TO 500 + DO I=1,10000 + READ(IIN,'(A3,A77)') ID,DLIN + IF(ID .EQ. 'T1 ') THEN + TITLE(1:77)=DLIN + GO TO 10 + ENDIF + ENDDO + 10 CONTINUE + REWIND IIN + +! READ ELEMENT AND CCLINE DATA + + 20 CONTINUE + DO ICOUNTC=1,200000 + DO JJ=1,150 + DLIN1(JJ:JJ)=' ' + ENDDO + READ(IIN,'(A3,A150)', END=175) ID,DLIN1 + IF(ID .EQ. 'GE ' .or. ID .EQ. 'GO') THEN +! Count the number of variables + I=0 + ICOUNT=0 + 25 CONTINUE + IF(DLIN1(I+1:I+1) .NE. ' ') THEN + GO TO 30 + ELSE + I=I+1 + GO TO 25 + ENDIF + 30 I=I+1 + IF(I .EQ. 151) THEN + ICOUNT =ICOUNT+1 + GO TO 40 + ENDIF + IF(DLIN1(I:I) .EQ. ' ' .OR. DLIN1(I:I) .EQ. ',') THEN + ICOUNT=ICOUNT+1 + 35 CONTINUE + IF(I+1 .EQ. 151) GO TO 40 + IF(DLIN1(I+1:I+1) .EQ. ' ') THEN + I=I+1 + GO TO 35 + ELSE + GO TO 30 + ENDIF + ELSE + GO TO 30 + ENDIF + ENDIF + ENDDO + 40 CONTINUE + IF(ID .EQ. 'GO') THEN + KLIN=KLIN+1 + READ(DLIN1,*) (NTEMPLIN(KLIN,K),K=1,ICOUNT) + GO TO 20 + ENDIF + IF(ICOUNT .GT. 10) THEN + READ(DLIN1,*) J, (NTMP(K),K=1,9),THT + ELSE + READ(DLIN1,*) J, (NTMP(K),K=1,9) + ENDIF + + + IF (J .GE. MEL) THEN + CALL SETD(23) +!cipk aug00 + WRITE(lind,*) ' Element number exceeds MAXE in RDELEM' + call symbl (1.1,ylv-0.3,0.20,lind,0.0,80) + ndig=1 + WRITE(90,*) ' Element number exceeds MAXE in RDELEM' + WRITE(lind,6000) + CALL GTCHARX(ANS32,IJNK,5.0,4.0) + CALL Quit_Pgm + STOP + ENDIF +! +! Check to ensure there are no duplicate numbers in input stream +! of element connections +! + DO K=1,7 + IF(NTMP(K) .NE. 0) THEN + DO L=K+1,8 + IF(NTMP(K) .EQ. NTMP(L)) THEN + CALL SETD(23) + DO KK=1,8 + NOP(J,KK) = NTMP(KK) + ENDDO + IMAT(J)=NTMP(9) + call eltdisp(j) + DO KK=1,8 + NTMP(KK) = NOP(J,KK) + ENDDO + NTMP(9)=IMAT(J) + GO TO 45 + ENDIF + ENDDO + ENDIF + ENDDO + 45 CONTINUE + DO K=1,8 + NOP(J,K) = NTMP(K) + ND = NTMP(K) + IF (ND .GT. 0) THEN + INEW(ND) = 2 + NP = MAX(NP,ND) + ENDIF + ENDDO +! + NCN = 2 + IF (NOP(J,3) .NE. 0) NCN = 3 + IF (NOP(J,4) .NE. 0) NCN = 4 + IF (NOP(J,5) .NE. 0 .AND. NOP(J,4) .NE. 0) NCN = 5 + IF (NOP(J,5) .NE. 0 .AND. NOP(J,4) .EQ. 0) NCN = 6 + IF (NOP(J,6) .NE. 0) NCN = 6 + IF (NOP(J,7) .NE. 0) NCN = 8 + NCORN(J) = NCN + IESKP(J) = 0 + IMAT(J) = NTMP(9) + THTA(J)=THT + IEM(J) = J + DO 50 K=2,NCN,2 + ND = NTMP(K) + IF (ND .GT. 0) THEN + IF(NCN .EQ. 5 .AND. K .EQ. 4) GO TO 50 + WD(ND)=0. + ENDIF + 50 CONTINUE + NE = MAX(J,NE) +! + GOTO 20 +! + 175 CONTINUE + + REWIND IIN + 70 CONTINUE + DO ICOUNTC=1,100000 + DO JJ=1,150 + DLIN1(JJ:JJ)=' ' + ENDDO + READ(IIN,'(A3,A150)', END=400) ID,DLIN1 + IF(ID .EQ. 'GNN' .OR. ID .EQ. 'GWN') THEN +! Count the number of variables + I=0 + ICOUNT=0 + 75 CONTINUE + IF(DLIN1(I+1:I+1) .NE. ' ') THEN + GO TO 80 + ELSE + I=I+1 + GO TO 75 + ENDIF + 80 I=I+1 + IF(I .EQ. 151) THEN + ICOUNT =ICOUNT+1 + GO TO 90 + ENDIF + IF(DLIN1(I:I) .EQ. ' ' .OR. DLIN1(I:I) .EQ. ',') THEN + ICOUNT=ICOUNT+1 + 85 CONTINUE + IF(I+1 .EQ. 151) GO TO 90 + IF(DLIN1(I+1:I+1) .EQ. ' ') THEN + I=I+1 + GO TO 85 + ELSE + GO TO 80 + ENDIF + ELSE + GO TO 80 + ENDIF + ENDIF + ENDDO + 90 CONTINUE + DO K=1,7 + VALS(K)=0. + ENDDO + READ(DLIN1,*) J,(VALS(K),K=1,ICOUNT-1) + IF(ID .EQ. 'GNN') THEN + CX=VALS(1) + CY=VALS(2) + BELEV=VALS(3) + NP = MAX(NP,J) + CORD(J,1) = CX + CORD(J,2) = CY + XUSR(J) = CX + YUSR(J) = CY + WD(J) = BELEV + INSKP(J)=0 + INEW(J) = 1 + GO TO 70 + ELSE + WDTHX=VALS(1) + SS1X=VALS(2) + SS2X=VALS(3) + WDSX=VALS(4) + WIDTH(J)=WDTHX + SS1(J)=SS1X + SS2(J)=SS2X + WIDS(J)=WDSX + GO TO 70 + ENDIF + + 400 CONTINUE + +! CHECKOUT THE CCLINE DATA + + KK=0 + IF(KLIN .GT. 0) THEN + NCLM=1 + IF(NTEMPLIN(1,1) .EQ. 1) THEN + DO K=1,KLIN + DO J=1,10 + IF(K .EQ. 1 .AND. J .EQ. 1) GO TO 410 + IF(NTEMPLIN(K,J) .LT. 0) THEN + NCLM=NCLM+1 + KK=0 + GO TO 420 + ELSEIF(NTEMPLIN(K,J) .EQ. 0) THEN + GO TO 420 + ELSE + KK=KK+1 + ICCLN(NCLM,KK)=NTEMPLIN(K,J) + ENDIF + 410 CONTINUE + ENDDO + 420 CONTINUE + ENDDO + NCLM=NCLM-1 + ENDIF + ENDIF + RETURN + +500 CONTINUE + + READ(IUNIT,*) NE,NCNTR,NATTR + IMIDS=0 + DO JJ=1,NE + READ(IUNIT,*) J,(NTMP(K),K=1,NCNTR),(ATT(K),K=1,NATTR) + IF (J .GE. MEL) THEN + CALL SETD(23) + WRITE(lind,*) ' Element number exceeds MAXE in RDELEM' + call symbl & + & (1.1,ylv-0.3,0.20,lind,0.0,80) + ndig=1 + WRITE(90,*) ' Element number exceeds MAXE in RDELEM' + WRITE(lind,6000) + CALL GTCHARX(ANS32,IJNK,5.0,4.0) + CALL Quit_Pgm + STOP + ENDIF + DO KK=1,3 + NOP(J,2*KK-1) = NTMP(KK) + NOP(J,2*KK)=0 + ENDDO + IF(NATTR .GT. 0) THEN + IMAT(J)=ATT(1) + ELSE + IMAT(J)=1 + ENDIF + NCORN(J)=6 + IESKP(J)=0 + ENDDO + CLOSE(IUNIT) + DO L=255,1,-1 + IF(FNAMKEP(L:L) .EQ. '.') THEN + FNAMKEP(L+1:L+4)='node' + OPEN(IUNIT,FILE=FNAMKEP,STATUS='OLD',ACTION='READ') + GO TO 510 + ENDIF + ENDDO +510 CONTINUE + + READ(IUNIT,*) NPPP,NDUM,NATTR + DO KK=1,NPPP + READ(IUNIT,*) J,CX,CY,(VALS(K),K=1,NATTR) + IF(J .EQ. 0) THEN + J=NPPP + JZ=1 + ENDIF + BELEV=-9999. + WEL=0. + LOCK1=0 + IF(NATTR .GT. 0) BELEV=VALS(1) + IF (J .GE. MAXP) THEN + call clscrn() + WRITE(dlin,*) ' Node number exceeds MAXP in RDCORD',j + call symbl & + & (1.1,3.3,0.20,dlin,0.0,80) + WRITE(90,*) ' Node number exceeds MAXP in RDCORD' + WRITE(DLIN,*) ' Press enter to exit' + call symbl & + & (1.1,3.0,0.20,dlin,0.0,80) + ndig=1 + CALL GTCHARX(ANS32,ndig,5.0,4.0) + CALL Quit_Pgm + STOP + ENDIF + NP = MAX(NP,J) + CORD(J,1) = CX + CORD(J,2) = CY + XUSR(J) = CX + YUSR(J) = CY + WD(J) = BELEV + WIDTH(J)=0. + SS1(J)=0. + SS2(J)=0. + WIDS(J)=0. + WIDBS(J)=0. + SSO(J)=0. + INSKP(J)=0 + INEW(J) = 1 + LOCK(J)=LOCK1 + BS1(J)=0. + ENDDO + + CLOSE(IUNIT) + 6000 FORMAT(' Press enter to exit') + END + + + SUBROUTINE ZEROOUT + + USE BLK1MOD +! INCLUDE 'BLK1.COM' + + MNP = MAXP + MEL = MAXE + DO I=1,MEL + DO M=1,8 + NOP(I,M)=0 + ENDDO + IESKP(I)=-1 + IEM(I) = 0 + IMAT(I) = 0 + THTA(I)=0. + XC(I) = -1.E20 + YC(I) = -1.E20 + ENDDO + DO I=1,MNP + XUSR(I) = -1.D20 + YUSR(I) = -1.D20 + CORD(I,1) = -1.D20 + CORD(I,2) = -1.D20 + WD(I) = -9999. + LAY(I) = -9999 + WIDTH(I) = 0.0 + SS1(I) = 0.0 + SS2(I) = 0.0 + WIDS(I) = 0.0 + WIDBS(I)=0. + SSO(I)=0. + INSKP(I) = 1 + INEW(I) = 0 +!ipk mar02 + lock(i)=0 + bs1(I)=0. + ENDDO + NP=0 + NE=0 + RETURN + END + diff --git a/src/GETNEWFIL.F90 b/src/GETNEWFIL.F90 index e6d485e..f94d4af 100644 --- a/src/GETNEWFIL.F90 +++ b/src/GETNEWFIL.F90 @@ -4,12 +4,13 @@ ! WRITE CURRENT DATA TO A SCRATCH FILE - IF(IACTVFIL .GT. 0) THEN + IF(IACTVFIL .GT. 0 .AND. ISWT .NE. -1) THEN IFILOUT=IACTVFIL+50 + WRITE(90,*) 'INGETNEWFIL IFILOUT',IFILOUT CALL WRTFIL(IFILOUT) CALL ZEROOUT IACTVFIL=ITOTFIL - ELSE + ELSEIF(IACTVFIL .EQ. 0) THEN IACTVFIL=1 ENDIF IF(ISWT .EQ. 1) THEN @@ -19,9 +20,11 @@ FNAMEOUT(IACTVFIL)='TEST.1.ELE' WRITE(90,*) 'ITOTFIL,IACTVFIL',ITOTFIL,IACTVFIL WRITE(90,'(A80)') (FNAMEOUT(KKK),KKK=1,3) + ELSE + FNAMKEP='TEST.1.ELE' ENDIF - IF(ITRIAN .EQ. 1) THEN - CALL READGFG(IIN,1) + IF(ABS(ITRIAN) .EQ. 1) THEN + CALL READGFG(IIN,ITRIAN) ! TEST FOR GFG FORMAT ELSEIF(IGFG .EQ. 1) THEN @@ -42,7 +45,8 @@ CALL RDBIN(IIN) ENDIF - + IF(ITRIAN .EQ. -1) RETURN + IFILOUT=IACTVFIL+50 WRITE(90,*) 'IFILOUT', IFILOUT CALL WRTFIL(IFILOUT) @@ -62,10 +66,16 @@ USE BLK1MOD CHARACTER*80 ALINE + CHARACTER*10 FMT ! INCLUDE 'BLK1.COM' CLOSE (IFILOUT) - OPEN(IFILOUT,STATUS='scratch',FORM='binary') + FMT(1:8)='TEMPFIL.' + WRITE(FMT(9:10),'(I2)') IFILOUT +! OPEN(IFILOUT,STATUS='scratch',FORM='binary') + WRITE(90,*) 'IFILOUT',IFILOUT +! OPEN(IFILOUT,STATUS='scratch',FORM='unformatted') + OPEN(IFILOUT,FILE=FMT,STATUS='UNKNOWN',FORM='BINARY') ISLP=0 IPRT=1 @@ -93,13 +103,14 @@ xadded=0. yadded=0. ntempin=0. -! WRITE(90,*) 'IN GETNEWFIL', IFILOUT,NP,NE,IPRT + WRITE(90,*) 'IN WRTFIL', IFILOUT,NP,NE,IPRT WRITE(IFILOUT) TITLE,NP,NE WRITE(IFILOUT) ISLP,IPRT,IPNN,IPEN,IPO,IRO,IPP,IRFN & & ,IGEN,NXZL,NITST,ISCTXT,IFILL,IALTGM,NLAYD,xadded,yadded,ntempin -! WRITE(90,*) ISLP,IPRT,IPNN,IPEN,IPO,IRO,IPP,IRFN & -! & ,IGEN,NXZL,NITST,ISCTXT,IFILL,IALTGM,NLAYD,xadded,yadded,ntempin + WRITE(90,*) ISLP,IPRT,IPNN,IPEN,IPO,IRO,IPP,IRFN & + & ,IGEN,NXZL,NITST,ISCTXT,IFILL,IALTGM,NLAYD,xadded,yadded,ntempin WRITE(IFILOUT) HORIZ,VERT,XSALE,YSALE,XFACT,YFACT,AR,ANG + WRITE(90,*) 'IPP',IPP IF(IPP .GT. 0) WRITE(IFILOUT) ALINE WRITE(IFILOUT) ((NOP(J,K),K=1,8),IMAT(J),THTA(J),J=1,NE) @@ -355,6 +366,7 @@ USE BLK1MOD INCLUDE "BFILES.I90" ! INCLUDE 'BLK1.COM' + INCLUDE 'TXFRM.COM' CHARACTER*1 ANS CHARACTER*32 ANS32 CHARACTER*3 ID @@ -394,7 +406,7 @@ yadded=0. ntempin=0. KLIN=0 - IF(ISW .EQ. 1) GO TO 500 + IF(ABS(ISW) .EQ. 1) GO TO 500 DO I=1,10000 READ(IIN,'(A3,A77)') ID,DLIN IF(ID .EQ. 'T1 ') THEN @@ -626,11 +638,15 @@ RETURN 500 CONTINUE - + IF(ISW .EQ. -1) THEN + NESV=NE + NPSV=NP + ENDIF READ(IUNIT,*) NE,NCNTR,NATTR IMIDS=0 DO JJ=1,NE READ(IUNIT,*) J,(NTMP(K),K=1,NCNTR),(ATT(K),K=1,NATTR) + IF(ISW .EQ. -1) J=J+NESV IF (J .GE. MEL) THEN CALL SETD(23) WRITE(lind,*) ' Element number exceeds MAXE in RDELEM' @@ -644,7 +660,11 @@ STOP ENDIF DO KK=1,3 - NOP(J,2*KK-1) = NTMP(KK) + IF(ISW .EQ. -1) THEN + NOP(J,2*KK-1) = NTMP(KK)+NPSV + ELSE + NOP(J,2*KK-1) = NTMP(KK) + ENDIF NOP(J,2*KK)=0 ENDDO IF(NATTR .GT. 0) THEN @@ -654,7 +674,8 @@ ENDIF NCORN(J)=6 IESKP(J)=0 - ENDDO + ENDDO + NE=J CLOSE(IUNIT) DO L=255,1,-1 IF(FNAMKEP(L:L) .EQ. '.') THEN @@ -668,6 +689,7 @@ READ(IUNIT,*) NPPP,NDUM,NATTR DO KK=1,NPPP READ(IUNIT,*) J,CX,CY,(VALS(K),K=1,NATTR) + IF(ISW .EQ. -1) J=J+NPSV IF(J .EQ. 0) THEN J=NPPP JZ=1 @@ -691,10 +713,10 @@ STOP ENDIF NP = MAX(NP,J) - CORD(J,1) = CX - CORD(J,2) = CY XUSR(J) = CX YUSR(J) = CY + CORD(J,1) = (XUSR(J)+XS)/TXSCAL + CORD(J,2) = (YUSR(J)+YS)/TXSCAL WD(J) = BELEV WIDTH(J)=0. SS1(J)=0. diff --git a/src/GETWT.F90 b/src/GETWT.F90 index aae3c8e..1d21ee1 100644 --- a/src/GETWT.F90 +++ b/src/GETWT.F90 @@ -6,8 +6,26 @@ ! INCLUDE 'BLK1.COM' DIMENSION WGT(8) + REAL*8 XMINL,YMINL,XMAXL,YMAXL ! data itime/0/ +! LOOK FOR MATCHING POINTS + + DO K=1,MAXPTS + DISQ=(XUSR(M)-XMAP(K))**2+(YUSR(M)-YMAP(K))**2 + IF(DISQ .LT. 1.) THEN + WD(M)=VAL(K) + FPN = WD(M)*10. + X = CORD(M,1) + Y = CORD(M,2) - .11 + IF(X .GT. 0. .AND. X .LT. HSIZE .AND. & + & Y .GT. 0. .AND. Y .LT. 7.5) THEN + CALL RRED + CALL NUMBR(X,Y,0.1,FPN,0.0,-1) + endif + GO TO 300 + ENDIF + ENDDO ! Search for element that has circumcircle around the node @@ -43,23 +61,28 @@ xmaxl=max(XMAP(NOPEL(N,1)),XMAP(NOPEL(N,2)),XMAP(NOPEL(N,3))) yminl=min(YMAP(NOPEL(N,1)),YMAP(NOPEL(N,2)),YMAP(NOPEL(N,3))) ymaxl=max(YMAP(NOPEL(N,1)),YMAP(NOPEL(N,2)),YMAP(NOPEL(N,3))) - if(xusr(m) .lt. xminl .or. xusr(m) .gt. xmaxl) then +! IF(M .EQ. 6316) THEN +! WRITE(156,'(2I6,6F15.2)') M,N,XUSR(M),XMINL,XMAXL,YUSR(M),YMINL,YMAXL +! ENDIF + if(xusr(m) .lt. xminl-0.01 .or. xusr(m) .gt. xmaxl+0.01) then go to 250 - elseif(yusr(m) .lt. yminl .or. yusr(m) .gt. ymaxl) then + elseif(yusr(m) .lt. yminl-0.01 .or. yusr(m) .gt. ymaxl+0.01) then go to 250 endif +! IF(M .EQ. 6316) WRITE(156,*) 'PASSED X AND Y TEST',N DISQ=(XUSR(M)-XCEN(N))**2+(YUSR(M)-YCEN(N))**2 -! write(142,*) m,n,disq,rads(n)**2,xusr(m),xcen(n) IF(DISQ .LE. RADS(N)**2*1.0001) THEN +! IF(M .EQ. 6316) write(156,*) m,n,disq,rads(n)**2,xusr(m),xcen(n) + ! We have a candidate CALL GETWT(N,XUSR(M),YUSR(M),WGT,1) DO K=1,3 IF(WGT(K) .LT. -1E-4 .OR. WGT(K) .GT. 1.0001) THEN - WRITE(142,*) 'REJECT',n,disq,rads(n)**2,wgt(1),wgt(2),wgt(3) + WRITE(142,*) 'REJECT',m,n,disq,rads(n)**2,wgt(1),wgt(2),wgt(3) GO TO 250 ENDIF ENDDO diff --git a/src/HEDR.F90 b/src/HEDR.F90 index f27a03c..f74ad71 100644 --- a/src/HEDR.F90 +++ b/src/HEDR.F90 @@ -27,7 +27,7 @@ common /cols/ ibakk,icolr,iblkk CHARACTER*8 HED(10),HEAD(10,16) - CHARACTER*47 MESOUT,MESS(47) + CHARACTER*47 MESOUT,MESS(48) !ipk lan01 add to MESS !ipk jan99 add to MESS !ycw mar97 change HEADR(5,5) to HEADR(6,7) @@ -37,7 +37,7 @@ DIMENSION X(5),Y(5),IRV(10) !IPk feb 94 this statement reconstructed !IPK OCT 96 THIS STATMENT DONE AGAIN - DATA HEAD/ ' (e)lts ','(n)odes ','(o)rder ',' (h)elp ',' (s)ave ',& + DATA HEAD/ ' (e)lts ','(n)odes ','(o)rder ',' (h)elp ',' ',& 'cc(l)ine',' csec(t)',' (z)oom ',' (r)draw',' (q)uit ','(n)od bk',& !1/2 ' (e)l bk',& 're(f)ine','spli(t) ','c(l)ean ',5*' ','pr(l)st ','get(g)rp'& ! 2/3 @@ -98,8 +98,9 @@ 'Click at two locations to determine distance'& ! 41 ,'Enter continuity line number use 0 to end','Click at location on image to define register point'& ! 42 43 ,'Enter 1-d cross-section bed slope','Click at location to define outline point'& ! 44 45 - ,' ','Click two locations to define move'/ ! 46 47 -! last line Jan 2001 + ,' ','Click two locations to define move'& ! 46 47 + ,'Click locations to form outline'/ ! 48 + ! last line Jan 2001 ! line above added Jan 1999 DATA HEADR /& ' (q)uit ',5*' ',& diff --git a/src/HELPS.F90 b/src/HELPS.F90 index 632bb25..3d45694 100644 --- a/src/HELPS.F90 +++ b/src/HELPS.F90 @@ -30,8 +30,9 @@ Filter='HTM file -- *.htm|*.htm|' - CALL WSelectFile(FILTER,PromptOn,DIRECT,'Help files not available - BROWSE') +! CALL WSelectFile(FILTER,PromptOn,DIRECT,'Help files not available - BROWSE') + CALL WSelectFile(FILTER,LoadDialog+MustExist,DIRECT,'Help files not available - BROWSE') IF (WInfoDialog(ExitButtonCommon).EQ.CommonOpen) THEN GO TO 200 ELSE diff --git a/src/INITSIZ.f90 b/src/INITSIZ.f90 index 45177f2..8aef61d 100644 --- a/src/INITSIZ.f90 +++ b/src/INITSIZ.f90 @@ -9,8 +9,8 @@ IF(K1 .EQ. 0) THEN MAXPL=200000 - MAXP=100000 - MAXE=60000 + MAXP=200000 + MAXE=120000 MAXSTO=2 MAXLIN=3000 MAXECON=60 diff --git a/src/INOUT.F90 b/src/INOUT.F90 index 862fe42..0d054db 100644 --- a/src/INOUT.F90 +++ b/src/INOUT.F90 @@ -206,6 +206,8 @@ enddo if(abs(wdmin) .gt. abs(wdmax)) then temp=log10(abs(wdmin)) + elseif(wdmax .eq. 0.) then + temp=2.5 else temp=log10(abs(wdmax)) endif @@ -2288,7 +2290,7 @@ IF(IECHG .EQ. 0) IEM(J)=J WRITE(IOF,5004) & & J, (NOP(J,K),K=1,8), IMAT(J),THTA(J) - 5004 FORMAT('GE',10I6,F10.4) + 5004 FORMAT('GE',10(1X,I6),F17.4) ENDIF ENDDO DO J=1,NP @@ -2360,13 +2362,22 @@ CHARACTER*80 ALINE IF(IENT .EQ. 1) THEN - READ(IUNIT) TITLE,NP,NE +! READ(IUNIT) IDUMMY1 + READ(IUNIT) TITLE,NP,NE +! READ(IUNIT) IDUMMY1,IDUMMY2 READ(IUNIT) ISLP,IPRT,IPNN,IPEN,IPO,IRO,IPP,IRFN & & ,IGEN,NXZL,NITST,ISCTXT,IFILL,IALTGM,NLAYD,xadded,yadded,ntempin +! READ(IUNIT) ,IDUMMY2,IDUMMY3 READ(IUNIT) HORIZ,VERT,XSALE,YSALE,XFACT,YFACT,AR,ANG - IF(IPP .GT. 0) READ(IIN) ALINE + IPP=0 + NTEMPIN=2 + IF(IPP .GT. 0) THEN +! READ(IIN) IDUMMY3,IDUMMY4 + READ(IIN) ALINE + ENDIF ELSEIF(IENT .EQ. 2) THEN +! READ(IUNIT) IDUMMY4,IDUMMY5 READ(IUNIT) ((NOP(J,K),K=1,8),IMAT(J),THTA(J),J=1,NE) DO J=1,NE IF(IMAT(J) .NE. 0) THEN @@ -2383,7 +2394,7 @@ ENDDO ELSE - +! READ(IUNIT) IDUMMY5,IDUMMY6 READ(IUNIT) & & (XUSR(J),YUSR(J),WD(J),WIDTH(J),SS1(J),SS2(J),WIDS(J), & & WIDBS(J),SSO(J),BS1(J),J=1,NP) @@ -2396,20 +2407,29 @@ INEW(J) = 1 ENDIF ENDDO +! READ(IUNIT) IDUMMY5,IDUMMY6 READ(IUNIT) NLST IF(NLST .GT. 0) THEN +! READ(IUNIT) IDUMMY5,IDUMMY6 READ(IUNIT) (LLIST(J),J=1,NLST), & ((ILIST(J,I),I=1,LLIST(J)),J=1,NLST) ENDIF +! READ(IUNIT) IDUMMY5,IDUMMY6 READ(IUNIT) NENTRY,NLAYD,NCLM + if(nentry .eq. 0 .and. nlayd .eq. 0 .and. nclm .eq. 0) return +! READ(IUNIT) IDUMMY5,IDUMMY6 IF(NENTRY .GT. 0) THEN +! READ(IUNIT) IDUMMY5,IDUMMY6 READ(IUNIT) ((NEF(I,J),J=1,3),I=1,NENTRY) ENDIF IF(NLAYD .GT. 0) THEN +! READ(IUNIT) IDUMMY5,IDUMMY6 READ(IUNIT) (LAY(I),I=1,NP),((WTLAY(I,J),J=1,9),I=0,NP) ENDIF IF(NCLM .GT. 0) THEN +! READ(IUNIT) IDUMMY5,IDUMMY6 +! NCLM=11 READ(IUNIT) ((ICCLN(I,J),J=1,350),I=1,NCLM) ENDIF ENDIF diff --git a/src/JOINEL.F90 b/src/JOINEL.F90 index 5e311b8..00dcc4e 100644 --- a/src/JOINEL.F90 +++ b/src/JOINEL.F90 @@ -167,7 +167,7 @@ ! get adjacent corner save corner m=2 list1(m)=nd3 - write(90,*) 'm',nd3 + write(90,*) m,nd3 nelc=nel1 nelcsv=nel1 ! start looop @@ -197,6 +197,7 @@ RETURN ENDIF list1(m)=nd3 + write(90,*) m,nd3 ! test for last element if(nelc .eq. nel2) go to 250 enddo @@ -209,10 +210,12 @@ call findbcel(nel3,nd1,nd2,nd3,ierr,ilc) ! save back node list2(1)=nd1 + write(90,*) m,nd1 ! get adjacent corner save corner m=2 list2(m)=nd3 + write(90,*) m,nd3 nelc=nel3 nelcsv=nel3 ! start looop @@ -225,6 +228,7 @@ if(necon(nd3,kkk) .ne. nelc) then nelc=necon(nd3,kkk) ilc=2 + if(nelc .eq. nel4) ilc=4 call findbcel(nelc,nd1,nd2,nd3,ierr,ilc) if(ierr .eq. 0) go to 300 @@ -242,6 +246,7 @@ CALL HEDR ENDIF list2(m)=nd3 + write(90,*) m,nd3 ! test for last element if(nelc .eq. nel4) go to 350 enddo @@ -312,8 +317,10 @@ nd2=nop(nel,k) if(ndelm(nd2) .eq. 1) then nd1=nop(nel,k-1) + if(nd1 .ne. ndkp .and. ilc .gt. 1) cycle jj=mod(k,ncorn(nel))+1 nd3=nop(nel,jj) + if(ilc .eq. 4) return if(ilc .gt. 0) then kk=kk+1 mlc(kk)=k diff --git a/src/LOADFIL.F90 b/src/LOADFIL.F90 index 94d7173..e7e38f2 100644 --- a/src/LOADFIL.F90 +++ b/src/LOADFIL.F90 @@ -10,6 +10,7 @@ CALL ZEROOUT IFNUM=IACTVFIL+50 + WRITE(90,*) 'IN LOADFIL IFNUM',IFNUM CALL RDRST(1,IFNUM) CALL RDRST(2,IFNUM) CALL RDRST(3,IFNUM) diff --git a/src/NEWRMGN.F90 b/src/NEWRMGN.F90 index 463e191..0fabdb2 100644 --- a/src/NEWRMGN.F90 +++ b/src/NEWRMGN.F90 @@ -34,6 +34,8 @@ LOGICAL :: OPENED,exists LOGICAL(4) :: statud REAL :: XX1,XX2,XX3,XX4,XX5,XX6 + INTEGER :: iw,ih,ihandle,ient,IHAND1,IHAND2,IXPM,IYPX,IXPX,IYPM + common /hands/ ihandle,IHAND1,IHAND2,IXPM,IYPX,IXPX,IYPM INTEGER ISCRWID,ISCRHGT @@ -56,7 +58,7 @@ IRES=GETDRIVEDIRQQ (fname) ! lnnnam=windowstringlength(fname) lnnnam=lenstr(fname) - direct=fname(1:lnnnam)//'\doc\rmagen81M.htm' + direct=fname(1:lnnnam)//'\doc\rmagen83d.htm' ! write(128,*) fname,lnnnam,direct @@ -144,6 +146,10 @@ ! DO I=1,12 ! CALL WMenuSetState(IBASEV+I,ItemChecked,1) ! ENDDO + IDDSW=-1 + IHANDLE=0 + IHAND1=0 + IHAND2=0 N2=0 M2=0 TXSCAL = 1. @@ -238,6 +244,7 @@ ELSEIF(SUB .EQ. 'rst') then IIN=11 OPEN(IIN ,FILE=FNAME,STATUS='OLD',FORM='UNFORMATTED') +! OPEN(IIN,FILE=FNAME,STATUS='OLD',FORM ='BINARY',action='read') IGFG=0 CALL SETGFGTRIAN(IGFG,ITRIAN,ID1,ID2) ELSEIF(SUB .EQ. 'bin') then @@ -473,6 +480,7 @@ ELSEIF(SUB .EQ. 'rst') then IIN=11 OPEN(IIN ,FILE=FNAME,STATUS='OLD',FORM='UNFORMATTED') +! OPEN(IIN,FILE=FNAME,STATUS='OLD',FORM ='BINARY') IGFG=0 ITRIAN=0 CALL SETGFGTRIAN(IGFG,ITRIAN,ID1,ID2) diff --git a/src/OUTLINES.F90 b/src/OUTLINES.F90 index 8dfe87e..19c7c1c 100644 --- a/src/OUTLINES.F90 +++ b/src/OUTLINES.F90 @@ -1,4 +1,4 @@ - SUBROUTINE OUTLINES + SUBROUTINE OUTLINES(ISWT) USE WINTERACTER USE BLK1MOD @@ -10,17 +10,21 @@ CHARACTER(LEN=255) :: FNAME,FILTER CHARACTER(LEN=4) :: SUB - LOGICAL OPENED + REAL XCEN(10),YCEN(10),MTYP(10) + LOGICAL OPENED,LSTAT CHARACTER*1 IFLAG,ANS(10) DATA ANS/' ',' ',' ',' ',' ',' ','n','z','r','q'/ - + DATA PI2/1.5708/ IF(.NOT. ALLOCATED(ICONNCT)) THEN - ALLOCATE (ICONNCT(MAXP,2),IOUTLST(10,5000),NOUTLST(10)) + ALLOCATE (ICONNCT(MAXP,3),IOUTLST(10,5000),NOUTLST(10),NKEP(MAXP)) ENDIF IF(.NOT. ALLOCATED(XOUT)) THEN ALLOCATE (XOUT(5000,10),YOUT(5000,10)) ENDIF - + NOUTLST=0 + IOUTSW=2 + IPOS=2 + IF(ISWT .EQ. 1) GO TO 80 IOUTOUT=26 INQUIRE(26, OPENED=OPENED) if(.not. opened) then @@ -73,17 +77,20 @@ ENDIF ! ! FORM LIST OF ELEMENT SIDES THAT ARE ON THE OUTSIDE - + 80 CONTINUE DO N=1,NP MSN(N)=0 - ENDDO + ENDDO + ILINEL=0 DO N=1,NE + IF(IMAT(N) .LE. 0) CYCLE IF(IMAT(N) .NE. 999 .AND. NCORN(N) .GT. 5 .AND. (IMAT(N) .LT. 900 .OR. IMAT(N) .GT. 903)) THEN NCN=NCORN(N) DO K=2,NCN,2 J = NOP(N,K) if(J .gt. 0) then MSN(J) = MSN(J) + 1 + ICONNCT(J,3)=N ICONNCT(J,1)=NOP(N,K-1) IF(K .EQ. NCN) THEN ICONNCT(J,2)=NOP(N,1) @@ -92,6 +99,21 @@ ENDIF endif ENDDO + ELSEIF(IMAT(N) .NE. 999 .AND. NCORN(N) .LE. 5 .AND. (IMAT(N) .LT. 900 .OR. IMAT(N) .GT. 903)) THEN + ILINEL=1 + IF(NCORN(N) .EQ. 5) THEN + DO K=1,5,4 + J=NOP(N,K) + MSN(J)=MSN(J)-1 + ICONNCT(J,-MSN(J))=N + ENDDO + ELSE + DO K=1,3,2 + J=NOP(N,K) + MSN(J)=MSN(J)-1 + ICONNCT(J,-MSN(J))=N + ENDDO + ENDIF ENDIF ENDDO @@ -101,6 +123,7 @@ JJ=0 DO J=1,NP IF(MSN(J) .EQ. 1) THEN + MTYP(K)=1 ! ! THIS IS A STARTING POINT EXTRACT A CORNER NODE IOUTLST(K,1)=ICONNCT(J,1) @@ -111,7 +134,15 @@ IOUTLST(K,2)=J IOUTLST(K,3)=ICONNCT(J,2) JJ=3 - endif + endif + N=ICONNCT(J,3) + IF(NOP(N,7) .EQ. 0) THEN + XCEN(K)=(XUSR(NOP(N,1))+XUSR(NOP(N,3))+XUSR(NOP(N,5)))/3. + YCEN(K)=(YUSR(NOP(N,1))+YUSR(NOP(N,3))+YUSR(NOP(N,5)))/3. + ELSE + XCEN(K)=(XUSR(NOP(N,1))+XUSR(NOP(N,3))+XUSR(NOP(N,5))+XUSR(NOP(N,7)))/4. + YCEN(K)=(YUSR(NOP(N,1))+YUSR(NOP(N,3))+YUSR(NOP(N,5))+YUSR(NOP(N,7)))/4. + ENDIF MSN(J)=0 ICONNCT(J,1)=0 ICONNCT(J,2)=0 @@ -155,7 +186,61 @@ ENDIF ENDIF - ENDDO + ENDDO + ELSEIF(MSN(J) .EQ. -1) THEN + MTYP(K)=-1 + JJ=J + JO=J + LL=1 + NN=ICONNCT(JJ,LL) + IOUTLST(K,LL)=JJ + 130 LL=LL+1 + IF(NCORN(NN) .EQ. 5) THEN + NNOP=5 + ELSE + NNOP=3 + ENDIF + IF(NOP(NN,1) .EQ. JJ) THEN + JJ=NOP(NN,NNOP) + JL=NOP(NN,3) + IOUTLST(K,LL)=JL + ELSE + JJ=NOP(NN,1) + JL=JJ + IOUTLST(K,LL)=JJ + ENDIF + CALL GETLINANG(ANGL,JO,JJ) + ANGL1=ANGL-PI2 + IF(LL .EQ. 2) THEN + XOUT(1,K)=XUSR(JO)+WIDTH(JO)/2.*COS(ANGL1) + YOUT(1,K)=YUSR(JO)+WIDTH(JO)/2.*SIN(ANGL1) + XOUT(4999,K)=XUSR(JO)-WIDTH(JO)/2.*COS(ANGL1) + YOUT(4999,K)=YUSR(JO)-WIDTH(JO)/2.*SIN(ANGL1) + ENDIF + XOUT(LL,K)=XUSR(JL)+WIDTH(JL)/2.*COS(ANGL1) + YOUT(LL,K)=YUSR(JL)+WIDTH(JL)/2.*SIN(ANGL1) + XOUT(5000-LL,K)=XUSR(JL)-WIDTH(JL)/2.*COS(ANGL1) + YOUT(5000-LL,K)=YUSR(JL)-WIDTH(JL)/2.*SIN(ANGL1) + + IF(MSN(JJ) .EQ. -1) GO TO 150 + IF(ICONNCT(JJ,1) .EQ. NN) THEN + NN=ICONNCT(JJ,2) + ELSE + NN=ICONNCT(JJ,1) + ENDIF + GO TO 130 +150 MSN(JJ)=0 + JJ=LL + DO JJJ=LL,1,-1 + JJ=JJ+1 + XOUT(JJ,K)=XOUT(5000-JJJ,K) + YOUT(JJ,K)=YOUT(5000-JJJ,K) + ENDDO + JJ=JJ+1 + XOUT(JJ,K)=XOUT(1,K) + YOUT(JJ,K)=YOUT(1,K) + MSN(J)=0 + GO TO 200 ENDIF ENDDO GO TO 300 @@ -179,13 +264,40 @@ WRITE(IOUTOUT,*) NZERO ELSE DO L=1,NOUTLST(K) - XOUT(L,K)=XUSR(IOUTLST(K,L)) - YOUT(L,K)=YUSR(IOUTLST(K,L)) - WRITE(IOUTOUT,*) XOUT(L,K),YOUT(L,K) - ENDDO + IF(MTYP(K) .EQ. 1) THEN + XOUT(L,K)=XUSR(IOUTLST(K,L)) + YOUT(L,K)=YUSR(IOUTLST(K,L)) + ENDIF + IF(IOUTSW .EQ. 0) THEN + WRITE(IOUTOUT,*) XOUT(L,K),YOUT(L,K) + ENDIF + ENDDO ENDIF ENDIF ENDDO - 300 CONTINUE +300 CONTINUE + DO K=1,10 + IF(NOUTLST(K) .EQ. 0) GO TO 400 + IF(MTYP(K) .EQ. 1) THEN + LSTAT=IGrInsidePolygon(XOUT(1,K),YOUT(1,K),NOUTLST(K),XCEN(K),YCEN(K)) + ELSE + LSTAT=.TRUE. + ENDIF + IF(LSTAT) THEN + NOUTLST(K)=ABS(NOUTLST(K)) + ELSE + NOUTLST(K)=-ABS(NOUTLST(K)) + ENDIF + ENDDO + 400 CONTINUE RETURN - END \ No newline at end of file + END + + SUBROUTINE GETLINANG(angle,n1,n2) + USE BLK1MOD +! use ATAN2 and angle into range 0 to 2*pi + ANGLE=ATAN2(YUSR(N2)-YUSR(N1),XUSR(N2)-XUSR(N1)) + IF(ANGLE .LT. 0.) ANGLE=ANGLE+6.28318515 + RETURN + END + \ No newline at end of file diff --git a/src/PLOTR.F90 b/src/PLOTR.F90 index 8628043..52c5fa5 100644 --- a/src/PLOTR.F90 +++ b/src/PLOTR.F90 @@ -174,3 +174,31 @@ RETURN END + + + SUBROUTINE CHEXIT + USE WINTERACTER + TYPE(WIN_MESSAGE) :: MESSAGE + INTEGER :: ITYPE + COMMON /HEDS/ NP,NE,NHTP,NMESS,NBRR,IPSW(15),IRMAIN,ISCRN,icolon(12),IQSW(2),IRDISP,ntempin,igfgsw,igfgswb,ICRIN,IPW1,WIDEL,WIDSCL,itrianout + + CALL WMessagePeek(ITYPE, MESSAGE) + + SELECT CASE (ITYPE) + CASE (-1) + RETURN + CASE (KeyDown) ! Key pressed + IPSW(1)=0 + IPSW(2)=1 + IPSW(3)=0 + IPSW(4)=0 + IPSW(5)=0 + IPSW(6)=0 + IPSW(7)=0 + IPSW(8)=0 + IPSW(9)=0 + IPSW(12)=0 + RETURN + ENDSELECT + RETURN + END diff --git a/src/PLOTR1.F90 b/src/PLOTR1.F90 index 94012bf..7911c95 100644 --- a/src/PLOTR1.F90 +++ b/src/PLOTR1.F90 @@ -27,6 +27,7 @@ IFIRST=1 ENDIF HT=0.2 +! CALL CHEXIT ! if(imz .ne. 2) CALL CLSCRN ! @@ -67,6 +68,28 @@ PSCALE = 1. XMIN = 0. YMIN = 0. +! if(np .gt. 100000) call backc(1) + +! if(ipsw(4) .eq. 1) then +! do j=1,ne +! if(ieskp(j) .eq. 0 .and. imz .ne. 2) call fillemC(j,1) +! enddo +! endif +! write(90,*) 'going to drawbk',nbkfl,iswbkfl(1) +! IF(NBKFL .GT. 0) THEN +! DO I=1,NBKFL +! IF(ISWBKFL(I) .EQ. 1) CALL DRAWBK(I,IMZ) +! IF(ISWBKFL(I) .EQ. 2) CALL DRAWBKBM(I,IMZ) +! ENDDO +! ENDIF + IF(IDDSW .EQ. -1) THEN + IF(NP .GT. 100000) THEN + IDDSW=0 + ELSE + IDDSW=1 + ENDIF + ENDIF + if(IDDSW .EQ. 0) call backc(1) if(ipsw(4) .eq. 1) then do j=1,ne @@ -74,7 +97,6 @@ enddo endif -! write(90,*) 'going to drawbk',nbkfl,iswbkfl(1) IF(NBKFL .GT. 0) THEN DO I=1,NBKFL IF(ISWBKFL(I) .EQ. 1) CALL DRAWBK(I,IMZ) @@ -84,7 +106,7 @@ ! write(90,*) 'finished drawbk' ! ! Plot map data -! +! IF(IMP .NE. 0) THEN IF(IPSW(1) .EQ. 1) THEN CALL PLTMAP @@ -131,8 +153,10 @@ cycle endif enddo - if(abs(wdmin) .ge. abs(wdmax)) then + if(abs(wdmin) .gt. abs(wdmax)) then temp=log10(abs(wdmin)) + elseif(wdmin .eq. 0) then + temp=2.5 else temp=log10(wdmax) endif @@ -145,10 +169,10 @@ endif endif DO 15 J=1,NP - IF(MOD(J,10) .EQ. 0) THEN - CALL CHINT(IFLAG) - IF(IFLAG .EQ. 'i') GO TO 250 - ENDIF +! IF(MOD(J,10) .EQ. 0) THEN +! CALL CHINT(IFLAG) +! IF(IFLAG .EQ. 'i') GO TO 250 +! ENDIF IF(INSKP(J) .EQ. 1) GO TO 15 IF(CORD(J,1) .GT. 0. .AND. CORD(J,1) .LT. HSIZE) THEN IF(CORD(J,2) .GT. 0. .AND. CORD(J,2) .LT. 7.5) THEN @@ -218,15 +242,15 @@ DO 20 J=1,NE XC(J)=VOID YC(J)=VOID - IF(MOD(J,10) .EQ. 0) THEN - CALL CHINT(IFLAG) - IF(IFLAG .EQ. 'i') GO TO 250 - ENDIF +! IF(MOD(J,10) .EQ. 0) THEN +! CALL CHINT(IFLAG) +! IF(IFLAG .EQ. 'i') GO TO 250 +! ENDIF IF(IESKP(J) .EQ. 0) THEN !IPK JAN98 ADD IERC IF (IMAT(J) .NE. 0) CALL PLTELM(J,IERC) ENDIF - 20 CONTINUE +20 CONTINUE IF(IERC .GT. 0) THEN ! call clscrn() ! WRITE(LIND,*) ' Zero node corner nodes' @@ -250,6 +274,9 @@ ENDIF endif ENDIF + if(IDDSW .EQ. 0) then + call backc(2) + endif !ycw mar97 add for cross section if(ICRS.ne.0) then call plott(XPCS(1),YPCS(1),3) @@ -308,7 +335,7 @@ IF(IMZ .NE. 1) THEN CALL DOPLOT(IMZ) ENDIF - + CALL CHEXIT RETURN END ! diff --git a/src/REATTACH.F90 b/src/REATTACH.F90 index de7d884..4403408 100644 --- a/src/REATTACH.F90 +++ b/src/REATTACH.F90 @@ -4,7 +4,7 @@ USE BLK1MOD USE BLK2MOD - INTEGER NS1(3),NT1(3) + INTEGER NS1(3,4),NT1(3,4) CHARACTER*1 IFLAG,ANSW(10) DATA ANSW/' ',' ',' ',' ',' ',' ','n','z','r','q'/ @@ -12,34 +12,50 @@ CALL KCON(0) ! SELECT FIRST ELEMENT 10 CONTINUE + NHTPSV=NHTP + NMESSSV=NMESS + NBRRSV=NBRR NHTP=0 NMESS=20 NBRR=8 CALL HEDR CALL PROX(XC,YC,NE,XX,YY,IELEM,IFLAG,IESKP,IBOX) - call fillem(ielem) - IF(IRMAIN .EQ. 1) RETURN + IF(IRMAIN .EQ. 1) THEN + NHTP=NHTPSV + NMESS=NMESSSV + NBRR=NBRRSV + CALL HEDR + RETURN + ENDIF IF(IFLAG .EQ. 'c' .AND. IBOX .GT. 0) THEN IFLAG=ANSW(IBOX) ENDIF ! IF(IFLAG .EQ. 'q') THEN - RETURN + NHTP=NHTPSV + NMESS=NMESSSV + NBRR=NBRRSV + CALL HEDR + RETURN ENDIF + call fillem(ielem) ! GET UNATTACHED NOP + kk=0 DO K=2,NCORN(IELEM),2 NSX=NOP(IELEM,K) IF(NDELM(NSX) .EQ. 1) THEN -! FOUND IT - NS1(1)=NOP(IELEM,K-1) - NS1(2)=NSX - KK=MOD(K,NCORN(IELEM))+1 - NS1(3)=NOP(IELEM,KK) - GO TO 280 +! FOUND IT + KK=KK+1 + NS1(1,KK)=NOP(IELEM,K-1) + NS1(2,KK)=NSX + KKK=MOD(K,NCORN(IELEM))+1 + NS1(3,KK)=NOP(IELEM,KKK) +! GO TO 280 ENDIF ENDDO - 280 CONTINUE +280 CONTINUE + ! SELECT NEXT ELEMENT @@ -48,24 +64,38 @@ ! GET UNNATCHED SIDE ! FIND AN UNATTACHED SIDE (INDICATE OF TRIANGLE OR QUADRILATERAL) + LL=0 DO K=2,NCORN(IELEM1),2 NSX=NOP(IELEM1,K) IF(NDELM(NSX) .EQ. 1) THEN ! FOUND IT - NT1(1)=NOP(IELEM1,K-1) - NT1(2)=NSX - KK=MOD(K,NCORN(IELEM1))+1 - NT1(3)=NOP(IELEM1,KK) - GO TO 300 + LL=LL+1 + NT1(1,LL)=NOP(IELEM1,K-1) + NT1(2,LL)=NSX + KKK=MOD(K,NCORN(IELEM1))+1 + NT1(3,LL)=NOP(IELEM1,KKK) +! GO TO 300 ENDIF ENDDO 300 CONTINUE ! FORM A NEW ELEMENT ASSIGN TYPE AS INDICATED +! GET THE NEAREST TWO FACES + DISTKP=1.E20 + DO NN=1,KK + DO MM=1,LL + DIST=(XUSR(NS1(2,NN))-XUSR(NT1(2,MM)))**2+(YUSR(NS1(2,NN))-YUSR(NT1(2,MM)))**2 + IF(DIST .LT. DISTKP) THEN + NNN=NN + MMM=MM + DISTKP=DIST + ENDIF + ENDDO + ENDDO CALL GETELM(J) DO K=1,3 - NOP(J,K)=NS1(K) - NOP(J,K+4)=NT1(K) + NOP(J,K)=NS1(K,NNN) + NOP(J,K+4)=NT1(K,MMM) ENDDO NOP(J,4)=0 NOP(J,8)=0 @@ -74,6 +104,7 @@ NCORN(J)=8 ! GO BACK TO LOOK FOR NEW PAIR + CALL PLOTOT(1) GO TO 10 RETURN END \ No newline at end of file diff --git a/src/REGSTR.F90 b/src/REGSTR.F90 index 44a4d45..c7c4238 100644 --- a/src/REGSTR.F90 +++ b/src/REGSTR.F90 @@ -294,14 +294,16 @@ TYPE(WIN_MESSAGE) :: MESSAGE INCLUDE 'BFILES.I90' + CHARACTER(LEN=256) :: FILTER INTEGER :: NN,I,III CHARACTER(LEN=255) :: FNAME CHARACTER(LEN=3) :: SUB - + INTEGER :: INFO(3) + REAL :: XSIZ,YSIZ IF(III .EQ. 1) THEN CALL WMessageBox(YesNo,QuestionIcon,CommonOK, 'Do you wish to '// & - 'save locations as ORG file?', 'SAVE ORG FILE') + 'save locations as ORG or JPGW file?', 'SAVE ORG/JPGW FILE') ! ! If answer 'NO', return ! @@ -309,16 +311,34 @@ ENDIF ! Otherwise process - - CALL WSelectFile(ID_STRING11,SaveDialog+PromptOn,FNAME,'Save ORG File') + call IGrFileInfo(BFNAME(NN),INFO,3) + + FILTER ="Registration Files|*.org;*.jpgw|ORG file -- *.org|*.org|JPGW file -- *.jpgw|*.jpgw|" + + CALL WSelectFile(FILTER,SaveDialog+PromptOn+AppendExt,FNAME,'Save ORG/JPGW File') IF (WInfoDialog(ExitButtonCommon).EQ.CommonOpen) THEN - SUB='org' - CALL ADDSUB(FNAME,SUB) +! SUB='org' OPEN(104,FILE=FNAME,STATUS ='UNKNOWN', FORM ='FORMATTED') - WRITE(104,'(4G16.8)') (BFMINMAX(NN,I),I=1,4) - CLOSE(104) + CALL IlowerCase(FNAME) + CALL GETSUB(FNAME,SUB) + if(sub .eq. 'jpg') then + XSIZ=(BFMINMAX(NN,3)-BFMINMAX(NN,1))/FLOAT(INFO(2)) + YSIZ=(BFMINMAX(NN,2)-BFMINMAX(NN,4))/FLOAT(INFO(3)) + WRITE(104,*) XSIZ + WRITE(104,*) ' 0.0' + WRITE(104,*) ' 0.0' + WRITE(104,*) YSIZ + WRITE(104,*) BFMINMAX(NN,1) + WRITE(104,*) BFMINMAX(NN,4) + CLOSE(104) + else +! CALL ADDSUB(FNAME,SUB) +! OPEN(104,FILE=FNAME,STATUS ='UNKNOWN', FORM ='FORMATTED') + WRITE(104,'(4G16.8)') (BFMINMAX(NN,I),I=1,4) + CLOSE(104) + endif ENDIF RETURN diff --git a/src/RMAGEN - Shortcut.lnk b/src/RMAGEN - Shortcut.lnk deleted file mode 100644 index a126725..0000000 Binary files a/src/RMAGEN - Shortcut.lnk and /dev/null differ diff --git a/src/RMAGEN.F90 b/src/RMAGEN.F90 index 869581d..0b55c8a 100644 --- a/src/RMAGEN.F90 +++ b/src/RMAGEN.F90 @@ -188,10 +188,10 @@ IPSW(8)=0 IPSW(9)=0 IPSW(12)=0 - IF(N8 .GT. 100000) THEN - IPSW(2)=1 - IPSW(4)=0 - ENDIF +! IF(N8 .GT. 100000) THEN +! IPSW(2)=1 +! IPSW(4)=0 +! ENDIF MAXPTS=MAXPL !ipk jan98 call file(1) diff --git a/src/RMAGENV83c.rc b/src/RMAGENV83d.rc similarity index 99% rename from src/RMAGENV83c.rc rename to src/RMAGENV83d.rc index cd4e683..33d9f03 100644 --- a/src/RMAGENV83c.rc +++ b/src/RMAGENV83d.rc @@ -8,7 +8,7 @@ // // Winteracter resource script. // -// Modified : 03/Aug/2016 15:52:15 +// Modified : 13/Feb/2017 12:04:28 // /////////////////////////////////////////////////// // @@ -371,6 +371,10 @@ #define ID_ASSIGNELTLD 40144 #define ID_FILLTR 40145 #define IDD_FTRIAN 167 +#define ID_addmeshtr 40146 +#define ID_UNDOGEN 40147 +#define IDD_GETFL 168 +#define ID_DDRAW 40148 /////////////////////////////////////////////////// // @@ -1045,7 +1049,7 @@ BEGIN CONTROL "",IDF_STRING32,"EDIT",WS_CHILD | WS_VISIBLE | WS_BORDER | WS_GROUP | WS_TABSTOP | ES_LEFT, 40, 134, 340, 12 CONTROL "",IDF_STRING33,"EDIT",WS_CHILD | WS_VISIBLE | WS_BORDER | WS_GROUP | WS_TABSTOP | ES_LEFT, 40, 148, 340, 12 CONTROL "",IDF_STRING34,"EDIT",WS_CHILD | WS_VISIBLE | WS_BORDER | WS_GROUP | WS_TABSTOP | ES_LEFT, 40, 162, 340, 12 - CONTROL "OK",IDOK,"BUTTON",WS_CHILD | WS_VISIBLE | WS_GROUP | WS_TABSTOP | BS_DEFPUSHBUTTON | BS_TEXT, 180, 196, 40, 14 + CONTROL "OK",IDOK,"BUTTON",WS_CHILD | WS_VISIBLE | WS_GROUP | WS_TABSTOP | BS_DEFPUSHBUTTON | BS_TEXT, 88, 196, 40, 14 CONTROL "",IDF_RADIO1,"BUTTON",WS_CHILD | WS_VISIBLE | WS_GROUP | WS_TABSTOP | BS_AUTORADIOBUTTON | BS_TEXT, 20, 36, 20, 12 CONTROL "",IDF_RADIO2,"BUTTON",WS_CHILD | WS_VISIBLE | WS_TABSTOP | BS_AUTORADIOBUTTON | BS_TEXT, 20, 50, 20, 12 CONTROL "",IDF_RADIO3,"BUTTON",WS_CHILD | WS_VISIBLE | WS_TABSTOP | BS_AUTORADIOBUTTON | BS_TEXT, 20, 64, 20, 12 @@ -1056,6 +1060,7 @@ BEGIN CONTROL "",IDF_RADIO8,"BUTTON",WS_CHILD | WS_VISIBLE | WS_TABSTOP | BS_AUTORADIOBUTTON | BS_TEXT, 20, 134, 20, 12 CONTROL "",IDF_RADIO9,"BUTTON",WS_CHILD | WS_VISIBLE | WS_TABSTOP | BS_AUTORADIOBUTTON | BS_TEXT, 20, 148, 20, 12 CONTROL "",IDF_RADIO10,"BUTTON",WS_CHILD | WS_VISIBLE | WS_TABSTOP | BS_AUTORADIOBUTTON | BS_TEXT, 20, 162, 20, 12 + CONTROL "Cancel",IDCANCEL,"BUTTON",WS_CHILD | WS_VISIBLE | WS_GROUP | WS_TABSTOP | BS_PUSHBUTTON | BS_TEXT, 278, 195, 40, 14 END IDD_SELTFL2 RCDATA @@ -2095,6 +2100,22 @@ BEGIN ,0 END +IDD_GETFL DIALOG 0, 0, 233, 89 +STYLE WS_POPUP | WS_BORDER | WS_DLGFRAME | WS_SYSMENU | DS_3DLOOK | DS_MODALFRAME +FONT 8, "MS Sans Serif" +CAPTION "ENTER FILE DIRECTORY FOR TRIANGLE" +BEGIN + CONTROL "",IDF_STRING1,"EDIT",WS_CHILD | WS_VISIBLE | WS_BORDER | WS_GROUP | ES_LEFT | ES_CENTER | ES_MULTILINE | ES_UPPERCASE, 17, 24, 198, 16 + CONTROL "OK",IDOK,"BUTTON",WS_CHILD | WS_VISIBLE | WS_GROUP | WS_TABSTOP | BS_DEFPUSHBUTTON | BS_TEXT, 96, 59, 40, 14 +END + +IDD_GETFL RCDATA +BEGIN +"[Colours] \n" +" 1013 256 256 256 255 255 255 \n" +,0 +END + /////////////////////////////////////////////////// // // Menus @@ -2147,6 +2168,7 @@ BEGIN POPUP "Mesh" BEGIN MENUITEM "Select mesh file", ID_SELRM1 + MENUITEM "Input Outline to Add Mesh", ID_addmeshtr MENUITEM "Add mesh to existing", ID_addmesh MENUITEM "Merge mesh to existing", ID_MRGMESH MENUITEM "Generate triangular block", ID_TRIANG @@ -2217,6 +2239,7 @@ BEGIN BEGIN MENUITEM "Undo Refine or Gblock", ID_UNDO MENUITEM "Undo Last Selected Element", ID_UNDOS + MENUITEM "Undo Last Auto Mesh Gneration", ID_UNDOGEN END POPUP "&View" BEGIN @@ -2256,6 +2279,7 @@ BEGIN MENUITEM "Group Colour", ID_IGPC END MENUITEM "Map Options", ID_MAPOPD + MENUITEM "Force Direct Draw", ID_DDRAW END POPUP "&Help" BEGIN @@ -2269,7 +2293,7 @@ BEGIN MENUITEM "Set Type by Level", ID_SETTYPLEV MENUITEM "Form a complex line of elements", ID_Complex MENUITEM "Interpolate Map File for Stress File", ID_GETSTRESSFIL - MENUITEM "Smooth Mesh to Map Contours", ID_SMOOTHMAP + MENUITEM "Smooth Map Contours", ID_SMOOTHMAP MENUITEM "Smooth Mesh Using Reversal", ID_RVSDIAG MENUITEM "Remove Elements Outside Outline", ID_TESTOUT MENUITEM "Input Element Load file", ID_LOADELTLD @@ -2404,5 +2428,5 @@ END //*WI* FORTSAVE 1 //*WI* FILENAME D.INC //*WI* FMODNAME -//*WI* LASTTYPE 2 -//*WI* LASTRES 67 +//*WI* LASTTYPE 1 +//*WI* LASTRES 1 diff --git a/src/RVSDIAG.F90 b/src/RVSDIAG.F90 index f0d4587..9fe8d99 100644 --- a/src/RVSDIAG.F90 +++ b/src/RVSDIAG.F90 @@ -2,7 +2,14 @@ ! routine to test for and reverse diagonals USE BLK1MOD USE BLK2MOD + INCLUDE 'BFILES.I90' + REAL IGrDistanceLine + dist(n1,n2)=sqrt((xusr(n1)-xusr(n2))**2+(yusr(n1)-yusr(n2))**2) +! save current file + + IFILOUT=IACTVFIL+50 + CALL WRTFIL(IFILOUT) ! fill midsides CALL FILM(1) @@ -90,6 +97,7 @@ ! test if they are equal height IF(WD(N3) .EQ. WD(N4) .or. ABS(WD(N3) -WD(N4)) .LT. ABS(WD(N1)-WD(N2))) THEN ! if so reverse connections + if(dist(n1,n2)*1.5 .lt. dist(n3,n4)) go to 500 KCOUNT=KCOUNT+1 WRITE(160,*) 'RV1',KCOUNT,NEL1,NEL2,N1,N2,N3,N4 CALL REVERS(NEL1,NEL2) @@ -98,7 +106,8 @@ ELSE ! test if N4 closer or equal to N3 than N1 or N2 IF(ABS(WD(N4) - WD(N3)) .LT. ABS(WD(N1) - WD(N3)) .OR. ABS(WD(N4) - WD(N3)) .LT. ABS(WD(N2) - WD(N3))) THEN -! if so reverse connections +! if so reverse connections + if(dist(n1,n2)*1.5 .lt. dist(n3,n4)) go to 500 KCOUNT=KCOUNT+1 WRITE(160,*) 'RV2',KCOUNT,NEL1,NEL2,N1,N2,N3,N4 CALL REVERS(NEL1,NEL2) diff --git a/src/TXFRM.COM b/src/TXFRM.COM index f277e40..b564d03 100644 --- a/src/TXFRM.COM +++ b/src/TXFRM.COM @@ -1,4 +1,4 @@ REAL*8 XS,YS,TXSCAL - INTEGER IRGB - COMMON /TXFRM/ XS, YS, TXSCAL,IRGB + INTEGER IRGB,IDDSW + COMMON /TXFRM/ XS, YS, TXSCAL,IRGB,IDDSW diff --git a/src/UTIL.F90 b/src/UTIL.F90 index 49eafde..bae20fb 100644 --- a/src/UTIL.F90 +++ b/src/UTIL.F90 @@ -1083,7 +1083,8 @@ DO 25 K=1,NCNR N = NOP(J,K) ! - IF (N .EQ. 0 .OR. CORD(N,1) .LT. VDX) GOTO 25 + IF (N .EQ. 0) GO TO 25 + IF (CORD(N,1) .LT. VDX) GOTO 25 ! ! IF (NCN .NE. 5 .OR. K .LT. 5) THEN IF (MOD(K,2) .EQ. 1) THEN diff --git a/src/WINNEW.F90 b/src/WINNEW.F90 index af36efb..4b6ec46 100644 --- a/src/WINNEW.F90 +++ b/src/WINNEW.F90 @@ -413,7 +413,10 @@ !IPK MAY02 COMMON /TXFRM/ XS, YS, TXSCAL INCLUDE 'BFILES.I90' - DATA IHAND1,IHAND2/0,0/ +! DATA IHAND1,IHAND2/0,0/ + INTEGER :: iw,ih,ihandle,ient,IHAND1,IHAND2,IXPM,IYPX,IXPX,IYPM + common /hands/ ihandle,IHAND1,IHAND2,IXPM,IYPX,IXPX,IYPM + XBKMN=((BFMINMAX(I,1)+XS)/TXSCAL) XBKMX=((BFMINMAX(I,3)+XS)/TXSCAL) YBKMN=((BFMINMAX(I,2)+YS)/TXSCAL) @@ -493,7 +496,11 @@ CALL WBitMapCreate(IHAND2,IX2PIX,IY2PIX) CALL IGrSelect(DrawBitmap,IHAND2) CALL WBitMapPutPart(IHAND1,0,IXLPIX,IYLPIX,IXMPIX,IYMPIX) - CALL IGrSelect(DrawWin) + IF(IDDSW .EQ. 1) THEN + CALL IGrSelect(DrawWin) + ELSE + CALL IGrSelect(DrawBitmap,IHANDLE) + ENDIF IERR = InfoError(LastError) ! WRITE(90,*) 'ERROR SELECT DRAW', IERR CALL WBitmapPut(IHAND2,1,1,IXPM,IYPX,IXPX,IYPM) @@ -672,12 +679,19 @@ CALL WDialogShow(-1,-1,0,Modal) ierr=infoerror(1) - IF (WInfoDialog(ExitButton) .EQ. IDOK) THEN - call wdialogGetradiobutton(idf_radio1,iactvfil) - ENDIF - write(90,*) 'Selected iactvfil', iactvfil - RETURN + DO + IF (WInfoDialog(ExitButton) .EQ. IDOK) THEN + call wdialogGetradiobutton(idf_radio1,iactvfil) + write(90,*) 'Selected iactvfil', iactvfil + RETURN + ELSEIF (WInfoDialog(ExitButton) .EQ. IDCANCEL) THEN + RETURN + ENDIF + ENDDO END + + + subroutine plotcr(x,y,siz) CALL PLOTT(x-siz/2.,y,3) @@ -687,4 +701,29 @@ return end + SUBROUTINE OUTJPGW(FNAME,INFO) + + CHARACTER(LEN=255) :: FNAME + INTEGER INFO(3) + INCLUDE 'TXFRM.COM' + + REAL HSIZE + COMMON /SSIZE/ HSIZE + XR=HSIZE*TXSCAL-XS + YT=8.0*TXSCAL-YS + XSIZ=HSIZE*TXSCAL/FLOAT(INFO(2)) + YSIZ=-8*TXSCAL/FLOAT(INFO(3)) + + OPEN(104,FILE=FNAME,STATUS ='UNKNOWN', FORM ='FORMATTED') + WRITE(104,*) XSIZ + WRITE(104,*) ' 0.0' + WRITE(104,*) ' 0.0' + WRITE(104,*) YSIZ + WRITE(104,*) -XS + WRITE(104,*) YT + + CLOSE(104) + + RETURN + END diff --git a/src/addmesht - Copy.f90 b/src/addmesht - Copy.f90 new file mode 100644 index 0000000..01ffdfc --- /dev/null +++ b/src/addmesht - Copy.f90 @@ -0,0 +1,239 @@ + SUBROUTINE ADDMESHT + + USE BLK1MOD + USE WINTERACTER + INCLUDE 'BFILES.I90' + INCLUDE 'TXFRM.COM' + + INTEGER OUTPOL,TWO,ZERO,IFILOUT + INTEGER NTRIAN(5000,2),ICT + REAL XMAP1(5000),YMAP1(5000) + + CHARACTER*1 ANSW(10),ANS + CHARACTER(LEN=80) :: DATAIN,OPTIONS + LOGICAL EXISTS + DATA ANSW/' ',' ',' ',' ',' ','b','n','z','r','q'/ + do k=1,80 + options(k:k)=' ' + enddo + TWO=2 + ZERO=0 + OUTPOL=23 + ICT=0 +! add headers + NHTPSV=NHTP + NMESSSV=NMESS + NBRRSV=NBRR + NHTP=0 + NMESS=48 + NBRR=5 + call hedr +! go and get points to form outline + 200 CALL xyloc(XTEMP,YTEMP,ans,IBOX) + siz=0.1 + call drawcr(xtemp,ytemp,siz) + IF(IRMAIN .EQ. 1) RETURN +! + IF(ANS .EQ. 'c') THEN + if(ibox .eq. 0) go to 400 + I=IBOX + ANS=ANSW(I) + ENDIF + IF(ANS .EQ. 'b') THEN + ICT=ICT-1 + GO TO 200 + ELSEIF(ANS .EQ. 'n') THEN + GO TO 500 + ELSEIF(ANS .EQ. 'q') THEN + RETURN + ENDIF +400 ICT=ICT+1 + XMAP1(ICT) = XTEMP*TXSCAL - XS + YMAP1(ICT) = YTEMP*TXSCAL - XS + IF(ICT .GT. 1) THEN + NTRIAN(ICT-1,1)=ICT-1 + NTRIAN(ICT-1,2)=ICT + ENDIF + GO TO 200 + 500 CONTINUE + NTRIAN(ICT,1)=ICT + NTRIAN(ICT,2)=1 + +! write current data to a scratch file for later addition + + IF(IACTVFIL .GT. 0) THEN + CALL WRTFIL(50) + IFILOUT=IACTVFIL+50 + CALL WRTFIL(IFILOUT) + CALL ZEROOUT + IACTVFIL=ITOTFIL + ELSE + IACTVFIL=1 + ENDIF + +! clear screen + CALL clscrn + +! form TRIANG file + + OPEN(OUTPOL,FILE='TEST.POLY', STATUS='UNKNOWN') + WRITE(OUTPOL,*) ICT,TWO,ZERO,ZERO + DO K=1,ICT + WRITE(OUTPOL,*) K,XMAP1(K),YMAP1(K) + ENDDO + WRITE(OUTPOL,*) ICT,ZERO + DO J=1, ICT + WRITE(OUTPOL,*) J,ntrian(J,1),ntrian(J,2) + ENDDO + WRITE(OUTPOL,*) ZERO + FLUSH (OUTPOL) + REWIND (OUTPOL) + CLOSE (OUTPOL) + +! OPTIONS = ' -pqa5000V TEST' + OPTIONS(1:3) = ' -p' + nct=3 +! iswq=1 +! iswy=0 +! id1=105 + CALL PANELFILLT(ISWQ,ISWY,ID1) + + IF(ISWQ .EQ. 1) THEN + NCT=NCT+1 + OPTIONS(NCT:NCT)='q' + ENDIF + IF(ISWY .EQ. 1) THEN + NCT=NCT+1 + OPTIONS(NCT:NCT)='q' + ENDIF + ID1=ID1**2/2 + WRITE(OPTIONS(NCT+1:NCT+12),'(''a'',I6.6,'' TEST'')') ID1 +! go to TRIANGLE + ! INQUIRE (FILE = 'test.1.ele', EXIST = exists) + ! if(exists) then + ! open(77,file= 'test.1.ele') + ! close(77,status='DELETE') + ! ENDIF + ! + ! INQUIRE (FILE = 'test.1.node', EXIST = exists) + ! if(exists) then + ! open(77,file= 'test.1.node') + ! close(77,status='DELETE') + ! ENDIF + ! + ! INQUIRE (FILE = 'test.1.poly', EXIST = exists) + ! if(exists) then + ! open(77,file= 'test.1.poly') + ! close(77,status='DELETE') + ! ENDIF + ! + !RESULT= RUNQQ("C:\Program Files\RMA\TRIANGLE", OPTIONS) +! RESULT= RUNQQ("TRIANGLE", OPTIONS) + + IIN=10 + OPEN(IIN,FILE='TEST.1.ELE', STATUS='OLD') + + write(155,*) 'going to get newfile' + CALL GETNEWFIL(IIN,0,1,-1) + IADD=50+iactvfil+1 + CALL RDTOCLIP(IADD) + + IF(IADD .EQ. 51) THEN + write(90,*) 'finished addmesh' + + NHTP=NHTPSV + NMESS=NMESSSV + NBRR=NBRRSV + call hedr + ELSE + CALL ADDMESH(0) + NHTP=NHTPSV + NMESS=NMESSSV + NBRR=NBRRSV + call hedr + + CALL WMessageBox(YesNo,QuestionIcon,CommonOK,'Do you wish to delete unused nodes?'//& + CHAR(13)//' ','Delete unused nodes?') + ! +! If answer 'No', return +! + IF (WInfoDialog(4).EQ.2) return +! +! Delete all unused nodes +! + CALL DELETM(2) + + ENDIF + +! get new mesh +! add meshes together + RETURN + END + + SUBROUTINE UNDOGEN + USE BLK1MOD + ALLOCATABLE NODETRAN(:) + DATA VDX9/-9.E9/ + +! Loop through nodes assigning new number and adding to list + + IF(.NOT. ALLOCATED(NODETRAN)) ALLOCATE (NODETRAN(maxp)) + + CALL ZEROOUT + IADD=50 + CALL RDTOCLIP(IADD) + + DO N=1,NPSTO(1) + IF(XUSRSTO(N,1) .GT. VDX9) THEN + CALL GETNOD(J) + NODETRAN(N)=J + XUSR(J)=XUSRSTO(N,1) + YUSR(J)=YUSRSTO(N,1) + WD(J)=WDSTO(N,1) + WIDTH(J)=WIDTHSTO(N,1) + SS1(J)=SS1STO(N,1) + SS2(J)=SS2STO(N,1) + WIDS(J)=WIDSSTO(N,1) + WIDBS(J)=WIDBSSTO(N,1) + SSO(J)=SSOSTO(N,1) + BS1(J)=BS1STO(N,1) + INSKP(J) = 0 + INEW(J) = 1 + ENDIF + ENDDO + +! Loop through elements assigning new number and adding to list + + DO N=1,NESTO(1) + IF(IMATSTO(N,1) .GT. 0) THEN + CALL GETELM(M) + DO K=1,8 + IF(NOPSTO(N,K,1) .GT. 0) THEN + J=NODETRAN(NOPSTO(N,K,1)) + NOP(M,K)=J + ELSE + NOP(M,K)=0 + ENDIF + ENDDO + IMAT(M)=IMATSTO(N,1) + THTA(M)=THTASTO(N,1) + IESKP(M)=0 + NCN = 2 + IF (NOP(M,3) .NE. 0) NCN = 3 + IF (NOP(M,4) .NE. 0) NCN = 4 + IF (NOP(M,5) .NE. 0 .AND. NOP(M,4) .NE. 0) NCN = 5 + IF (NOP(M,5) .NE. 0 .AND. NOP(M,4) .EQ. 0) NCN = 6 + IF (NOP(M,6) .NE. 0) NCN = 6 + IF (NOP(M,7) .NE. 0) NCN = 8 + NCORN(M) = NCN + + ENDIF + ENDDO + +! if(iswt .eq. 0) CALL RESCAL + CALL RESCAL + CALL HEDR + + RETURN + END + \ No newline at end of file diff --git a/src/addmesht.f90 b/src/addmesht.f90 new file mode 100644 index 0000000..2301d0f --- /dev/null +++ b/src/addmesht.f90 @@ -0,0 +1,307 @@ + SUBROUTINE ADDMESHT + + USE BLK1MOD + USE WINTERACTER + INCLUDE 'BFILES.I90' + INCLUDE 'TXFRM.COM' + + INTEGER OUTPOL,TWO,ZERO,IFILOUT + INTEGER NTRIAN(5000,2),ICT + REAL XMAP1(5000),YMAP1(5000) + + CHARACTER*1 ANSW(10),ANS + CHARACTER(LEN=80) :: DATAIN,OPTIONS + CHARACTER(LEN=96) :: LOCDIR + LOGICAL EXISTS + DATA ANSW/' ',' ',' ',' ',' ','b','n','z','r','q'/ + do k=1,80 + options(k:k)=' ' + enddo + TWO=2 + ZERO=0 + OUTPOL=23 + ICT=0 +! add headers + NHTPSV=NHTP + NMESSSV=NMESS + NBRRSV=NBRR + NHTP=0 + NMESS=48 + NBRR=5 + call hedr +! go and get points to form outline + 200 CALL xyloc(XTEMP,YTEMP,ans,IBOX) + siz=0.1 + call drawcr(xtemp,ytemp,siz) + IF(IRMAIN .EQ. 1) RETURN +! + IF(ANS .EQ. 'c') THEN + if(ibox .eq. 0) go to 400 + I=IBOX + ANS=ANSW(I) + ENDIF + IF(ANS .EQ. 'b') THEN + ICT=ICT-1 + GO TO 200 + ELSEIF(ANS .EQ. 'n') THEN + GO TO 500 + ELSEIF(ANS .EQ. 'q') THEN + RETURN + ENDIF +400 ICT=ICT+1 + XMAP1(ICT) = XTEMP*TXSCAL - XS + YMAP1(ICT) = YTEMP*TXSCAL - YS + IF(ICT .GT. 1) THEN + NTRIAN(ICT-1,1)=ICT-1 + NTRIAN(ICT-1,2)=ICT + ENDIF + GO TO 200 + 500 CONTINUE + NTRIAN(ICT,1)=ICT + NTRIAN(ICT,2)=1 + +! write current data to a scratch file for later addition + IFILOUT=IACTVFIL+50 + CALL WRTFIL(IFILOUT) +! +! IF(IACTVFIL .GT. 0) THEN +! CALL WRTFIL(50) +! IFILOUT=IACTVFIL+50 +! CALL WRTFIL(IFILOUT) +! CALL ZEROOUT +! IACTVFIL=ITOTFIL +! ELSE +! IACTVFIL=1 +! ENDIF +! +!! clear screen +! CALL clscrn + +! form TRIANG file + + OPEN(OUTPOL,FILE='TEST.POLY', STATUS='UNKNOWN') + WRITE(OUTPOL,*) ICT,TWO,ZERO,ZERO + DO K=1,ICT + WRITE(OUTPOL,*) K,XMAP1(K),YMAP1(K) + ENDDO + WRITE(OUTPOL,*) ICT,ZERO + DO J=1, ICT + WRITE(OUTPOL,*) J,ntrian(J,1),ntrian(J,2) + ENDDO + WRITE(OUTPOL,*) ZERO + FLUSH (OUTPOL) + REWIND (OUTPOL) + CLOSE (OUTPOL) + +! OPTIONS = ' -pqa5000V TEST' + OPTIONS(1:3) = ' -p' + nct=3 + iswq=1 + iswy=0 + id1=100 + CALL PANELFILLT(ISWQ,ISWY,ID1) + + IF(ISWQ .EQ. 1) THEN + NCT=NCT+1 + OPTIONS(NCT:NCT)='q' + ENDIF + IF(ISWY .EQ. 1) THEN + NCT=NCT+1 + OPTIONS(NCT:NCT)='q' + ENDIF + ID1=ID1**2/2 + WRITE(OPTIONS(NCT+1:NCT+12),'(''a'',I6.6,'' TEST'')') ID1 +! go to TRIANGLE + INQUIRE (FILE = 'test.1.ele', EXIST = exists) + if(exists) then + open(77,file= 'test.1.ele') + close(77,status='DELETE') + ENDIF + + INQUIRE (FILE = 'test.1.node', EXIST = exists) + if(exists) then + open(77,file= 'test.1.node') + close(77,status='DELETE') + ENDIF + + INQUIRE (FILE = 'test.1.poly', EXIST = exists) + if(exists) then + open(77,file= 'test.1.poly') + close(77,status='DELETE') + ENDIF + + INQUIRE (FILE = "C:\Program Files\RMA\TRIANGLE.EXE", EXIST = exists) + if(.not. exists) then + INQUIRE (FILE = "TRIANGLE.EXE", EXIST = exists) + if(.not. exists) then + CALL WMessageBox(YesNo,QuestionIcon,CommonOK,'TRIANGLE is not available in '//CHAR(13)//& + 'C:\Program Files\RMA\ directory'//CHAR(13)//'Do you wish to define directory?'& + ,'WARNING TRIANGLE IS NOT AVAILABLE') + +! If answer 'No', return +! + IF (WInfoDialog(4).EQ.2) return + CALL GETDIR(LOCDIR) + else + LOCDIR(1:8)='TRIANGLE' +! WRITE(155,*) LOCDIR + RESULT= RUNQQ(LOCDIR, OPTIONS) + GO TO 600 + endif + endif + RESULT= RUNQQ("C:\Program Files\RMA\TRIANGLE", OPTIONS) +! RESULT= RUNQQ("TRIANGLE", OPTIONS) + +600 IIN=10 + OPEN(IIN,FILE='TEST.1.ELE', STATUS='OLD') + +! write(155,*) 'going to get newfile' + CALL GETNEWFIL(IIN,0,-1,-1) + !IADD=50+iactvfil+1 + !CALL RDTOCLIP(IADD) + ! + !IF(IADD .EQ. 51) THEN + !write(90,*) 'finished addmesh' + ! + !NHTP=NHTPSV + !NMESS=NMESSSV + !NBRR=NBRRSV + !call hedr + !ELSE + ! CALL ADDMESH(0) + NHTP=NHTPSV + NMESS=NMESSSV + NBRR=NBRRSV + call hedr + CALL PLOTOT(0) + +! CALL WMessageBox(YesNo,QuestionIcon,CommonOK,'Do you wish to delete unused nodes?'//& +! CHAR(13)//' ','Delete unused nodes?') +! ! +!! If answer 'No', return +!! +! IF (WInfoDialog(4).EQ.2) return +!! +!! Delete all unused nodes +!! +! CALL DELETM(2) +! +! ENDIF + +! get new mesh +! add meshes together + RETURN + END + + SUBROUTINE UNDOGEN + USE BLK1MOD + INCLUDE 'BFILES.I90' + ALLOCATABLE NODETRAN(:) + DATA VDX9/-9.E9/ + +! Loop through nodes assigning new number and adding to list + + IF(.NOT. ALLOCATED(NODETRAN)) ALLOCATE (NODETRAN(maxp)) + + CALL ZEROOUT + IADD=50+IACTVFIL + CALL RDTOCLIP(IADD) + + DO N=1,NPSTO(1) + IF(XUSRSTO(N,1) .GT. VDX9) THEN + CALL GETNOD(J) + NODETRAN(N)=J + XUSR(J)=XUSRSTO(N,1) + YUSR(J)=YUSRSTO(N,1) + WD(J)=WDSTO(N,1) + WIDTH(J)=WIDTHSTO(N,1) + SS1(J)=SS1STO(N,1) + SS2(J)=SS2STO(N,1) + WIDS(J)=WIDSSTO(N,1) + WIDBS(J)=WIDBSSTO(N,1) + SSO(J)=SSOSTO(N,1) + BS1(J)=BS1STO(N,1) + INSKP(J) = 0 + INEW(J) = 1 + ENDIF + ENDDO + +! Loop through elements assigning new number and adding to list + + DO N=1,NESTO(1) + IF(IMATSTO(N,1) .GT. 0) THEN + CALL GETELM(M) + DO K=1,8 + IF(NOPSTO(N,K,1) .GT. 0) THEN + J=NODETRAN(NOPSTO(N,K,1)) + NOP(M,K)=J + ELSE + NOP(M,K)=0 + ENDIF + ENDDO + IMAT(M)=IMATSTO(N,1) + THTA(M)=THTASTO(N,1) + IESKP(M)=0 + NCN = 2 + IF (NOP(M,3) .NE. 0) NCN = 3 + IF (NOP(M,4) .NE. 0) NCN = 4 + IF (NOP(M,5) .NE. 0 .AND. NOP(M,4) .NE. 0) NCN = 5 + IF (NOP(M,5) .NE. 0 .AND. NOP(M,4) .EQ. 0) NCN = 6 + IF (NOP(M,6) .NE. 0) NCN = 6 + IF (NOP(M,7) .NE. 0) NCN = 8 + NCORN(M) = NCN + + ENDIF + ENDDO + +! if(iswt .eq. 0) CALL RESCAL + CALL RESCAL + CALL HEDR + + RETURN + END + SUBROUTINE GETDIR(LOCDIR) + use winteracter + + implicit none + + include 'D.inc' + INCLUDE 'BFILES.I90' + +! +! Declare window-type and message variables +! + TYPE(WIN_STYLE) :: WINDOW + + TYPE(WIN_MESSAGE) :: MESSAGE + + CHARACTER*96 LOCDIR + integer ierr,K,KL + + call wdialogload(IDD_GETFL) + ierr=infoerror(1) + + CALL WDialogPutString(idf_string1,locdir) +! LOCDIR='C:\Users\RMA5440\TRIANGLE\TRIANGLE' + + CALL WDialogSelect(IDD_GETFL) + ierr=infoerror(1) + + CALL WDialogShow(-1,-1,0,Modal) + ierr=infoerror(1) + do + IF (WInfoDialog(ExitButton) .EQ. IDOK) THEN + CALL WDialogGetString(idf_string1,locdir) + DO K=96,1,-1 + KL=K + IF(LOCDIR(K:K) .NE. ' ') GO TO 200 + ENDDO + LOCDIR(1:8)='TRIANGLE' + RETURN +200 CONTINUE + LOCDIR(KL+1:KL+9)='\TRIANGLE' + WRITE(90,*) LOCDIR + RETURN + endif + enddo + END \ No newline at end of file diff --git a/src/addtomesh.f90 b/src/addtomesh.f90 index 5023939..939703a 100644 --- a/src/addtomesh.f90 +++ b/src/addtomesh.f90 @@ -6,6 +6,7 @@ USE WINTERACTER USE BLK1MOD + USE BLK2MOD INCLUDE 'D.INC' @@ -16,10 +17,17 @@ CALL RDTOCLIP(IADD) IF(ISWT .EQ. 1) THEN + CALL OUTLINES(1) ISWT1=0 - CALL MERGEMESH1(ISWT1) +! IF(NOUTLST(2) .EQ. 0) THEN + ISWT2=1 +! ELSE +! ISWT2=0 +! ENDIF + CALL MERGEMESH1(ISWT1,ISWT2) write(90,*) 'finished mergemesh1' - CALL MERGEMESH + IF(ISWT2 .EQ. 0) CALL MERGEMESH +! CALL MERGEMESH write(90,*) 'finished mergemesh' flush(90) ENDIF @@ -52,14 +60,14 @@ REWIND IUNIT READ(IUNIT) TITLE,NPSTO(1),NESTO(1) -! WRITE(90,*) 'IN RDTOCLIP',IUNIT -! WRITE(90,*) TITLE,NPSTO(1),NESTO(1) + WRITE(90,*) 'IN RDTOCLIP',IUNIT + WRITE(90,*) TITLE,NPSTO(1),NESTO(1) READ(IUNIT) ISLP,IPRT,IPNN,IPEN,IPO,IRO,IPP,IRFN & & ,IGEN,NXZL,NITST,ISCTXT,IFILL,IALTGM,NLAYD,xadded,yadded,ntempinc -! WRITE(90,*) ISLP,IPRT,IPNN,IPEN,IPO,IRO,IPP,IRFN & -! & ,IGEN,NXZL,NITST,ISCTXT,IFILL,IALTGM,NLAYD,xadded,yadded,ntempinc + WRITE(90,*) ISLP,IPRT,IPNN,IPEN,IPO,IRO,IPP,IRFN & + & ,IGEN,NXZL,NITST,ISCTXT,IFILL,IALTGM,NLAYD,xadded,yadded,ntempinc READ(IUNIT) HORIZ,VERT,XSALE,YSALE,XFACT,YFACT,AR,ANG -! WRITE(90,*) HORIZ,VERT,XSALE,YSALE,XFACT,YFACT,AR,ANG + WRITE(90,*) HORIZ,VERT,XSALE,YSALE,XFACT,YFACT,AR,ANG IF(IPP .GT. 0) READ(IIN) ALINE READ(IUNIT) ((NOPSTO(J,K,1),K=1,8),IMATSTO(J,1),THTASTO(J,1),J=1,NESTO(1)) @@ -161,22 +169,62 @@ RETURN END - SUBROUTINE MERGEMESH1(ISWT1) + SUBROUTINE MERGEMESH1(ISWT1,ISWT2) USE BLK1MOD + USE BLK2MOD + USE WINTERACTER + ! INCLUDE 'BLK1.COM' REAL*8 ELXMIN,ELXMAX,ELYMIN,ELYMAX,XLC,YLC,XXX,YYY + LOGICAL LSTAT ALLOCATABLE ELXMIN(:),ELXMAX(:),ELYMIN(:),ELYMAX(:),KEY(:),NKEY(:) - + DIMENSION XOUT1(1000),YOUT1(1000) IF(.NOT. ALLOCATED(ELXMIN)) & ALLOCATE (ELXMIN(MAXE),ELXMAX(MAXE),ELYMIN(MAXE),ELYMAX(MAXE),KEY(MAXE),NKEY(MAXP)) + IF(ISWT2 .EQ. 0) GO TO 110 +! first eliminate any elements inside outline + CALL KCONST(0) + NKEP=0 + DO K=1,10 + IF(NOUTLST(K) .LE. 0) THEN + DO J=1,NPSTO(1) + XXXX=XUSRSTO(J,1) + YYYY=YUSRSTO(J,1) + LSTAT=IGrInsidePolygon(XOUT(1,K),YOUT(1,K),-NOUTLST(K),XXXX,YYYY) + IF(LSTAT) THEN + NKEP(J)=1 + ENDIF + ENDDO + ENDIF + ENDDO + DO K=1,10 + IF(NOUTLST(K) .GT. 0) THEN + DO J=1,NPSTO(1) + IF(NKEP(J) .EQ. 1) CYCLE + XXXX=XUSRSTO(J,1) + YYYY=YUSRSTO(J,1) +! WRITE(155,*) J,XXXX,YYYY + LSTAT=IGrInsidePolygon(XOUT(1,K),YOUT(1,K),NOUTLST(K),XXXX,YYYY) +! WRITE(155,*) J,LSTAT + IF(LSTAT) THEN + DO L=1,NDELM(J) + NCAN=NECON(J,L) + CALL DELEM(NCAN) + ENDDO + ENDIF + ENDDO + ENDIF +100 CONTINUE + ENDDO + IF(ISWT2 .EQ. 1) RETURN ! First sort coordinates for min of element connection ! List all limiting values - + 110 CONTINUE DO N=1,NE IF(IMAT(N) .GT. 0) THEN ELXMIN(N)=XUSR(NOP(N,1)) @@ -258,7 +306,8 @@ IF(NOP(N,7) .EQ. 0) THEN NCN=6 IT=2 - ELSEIF(NOP(N,6) .EQ. 0) THEN + ENDIF + IF(NOP(N,6) .EQ. 0) THEN GOTO 350 ENDIF ! Test for point inside an element @@ -439,25 +488,39 @@ SUBROUTINE MERGEMESH USE BLK1MOD + LOGICAL LSTAT ! INCLUDE 'BLK1.COM' ! Loop on element to be added DO N=1,NESTO(1) + IF(IMATSTO(N,1) .NE. 0) THEN if(mod(n,1000) .eq. 0) write(90,*) 'adding',n,nesto(1) flush(90) - + IF(IMATSTO(N,1) .GT. 900 .AND. IMATSTO(N,1) .LT. 904) THEN + X1=XUSRSTO(NOPSTO(N,1,1),1) + Y1=YUSRSTO(NOPSTO(N,1,1),1) + CALL CHECKIN(X1,Y1,LSTAT) + IF(ISTATUS .EQ. 5) THEN + CALL DELEM(N) + GO TO 400 + ENDIF + GO TO 400 + ENDIF + ! loop on sides DO M=1,7,2 N1=NOPSTO(N,M,1) + IF(M .EQ. 3 .AND. NOPSTO(N,5,1) .EQ. 0) GO TO 400 IF(N1 .GT. 0) THEN IF((M .EQ. 5 .AND. NOPSTO(N,7,1) .EQ. 0) .OR. (M .EQ. 7)) THEN N2=NOPSTO(N,1,1) ELSE N2=NOPSTO(N,M+2,1) ENDIF + IF(NKEP(N1) .EQ. 1 .AND. NKEP(N2) .EQ. 1) GO TO 380 ! Now loop trough existing elements @@ -465,6 +528,7 @@ IF(IMAT(I) .NE. 0) THEN DO J=1,7,2 M1=NOP(I,J) + IF(J .EQ. 3 .AND. NOP(I,5) .EQ. 0) GO TO 360 IF(M1 .GT. 0) THEN IF((J .EQ. 5 .AND. NOP(I,7) .EQ. 0) .OR. (J .EQ. 7)) THEN M2=NOP(I,1) @@ -488,8 +552,10 @@ ENDIF ENDDO ENDIF +360 CONTINUE ENDDO ENDIF +380 CONTINUE ENDDO ENDIF 400 CONTINUE @@ -497,3 +563,66 @@ RETURN END + + SUBROUTINE CHECKIN(X1,Y1,LSTAT) + USE BLK1MOD + LOGICAL LSTAT + DIMENSION XP(4),YP(4) +! Now loop trough existing elements + + DO I=1,NE + IF(IMAT(I) .NE. 0) THEN + JJ=0 + DO J=1,7,2 + INODE=NOP(I,J) + IF(INODE .GT. 0) THEN + JJ=JJ+1 + XP(JJ)=XUSR(INODE) + YP(JJ)=YUSR(INODE) + ENDIF + ENDDO + LSTAT=IGrInsidePolygon(XP,YP,JJ,X1,Y1) + IF(LSTAT) RETURN + ENDIF + ENDDO + RETURN + END + SUBROUTINE KCONST(isw1) +! +! ESTABLISH ELEMENT CONNECTED TO ELEMENT TABLE +! + USE BLK1MOD + USE BLK2MOD +! INCLUDE 'BLK1.COM' +! INCLUDE 'BLK2.COM' +! +! INITIALIZE +! + NCM=11 + DO 200 J=1,NCM + DO 200 N=1,NPSTO(1) + 200 NECON(N,J)=0 + DO 230 N=1,NPSTO(1) + 230 NDELM(N)=0 +! +! FORM TABLE OF ELEMENTS CONNECTED TO EACH NODE +! + DO 300 M=1,NESTO(1) + IF(IMATSTO(M,1) .EQ. 0) GO TO 300 + if(isw1 .eq. 1) then + if(imat(m) .eq. 999) go to 300 + endif + DO 280 K=1,8 + N=NOPSTO(M,K,1) + IF (N .GT. 0) THEN + NDELM(N)=NDELM(N)+1 + J=NDELM(N) + NECON(N,J)=M +!ipkoct93 ELSE +!ipkoct93 GO TO 300 + ENDIF + 280 CONTINUE + 300 END DO + RETURN + END + \ No newline at end of file diff --git a/src/backc.f90 b/src/backc.f90 new file mode 100644 index 0000000..f463e5f --- /dev/null +++ b/src/backc.f90 @@ -0,0 +1,40 @@ + SUBROUTINE backc(ient) + + use winteracter + + implicit none + + include 'd.inc' + +! +! Declare window-type and message variables +! + TYPE(WIN_STYLE) :: WINDOW + + TYPE(WIN_MESSAGE) :: MESSAGE + INTEGER :: iw,ih,ihandle,ient,IHAND1,IHAND2,IXPM,IYPX,IXPX,IYPM,IRGB + common /hands/ ihandle,IHAND1,IHAND2,IXPM,IYPX,IXPX,IYPM + if(ient .eq. 1) then + iw=WinfoWindow(WindowWidth) + ih=WinfoWindow(WindowHeight) + WRITE(90,*) 'IW,IH',IW,IH + IF(IHANDLE .EQ. 0) THEN + IRGB = WRGB(220,220,220) + call WBitmapCreate(ihandle,iw,ih,irgb) + call IGrSelect(DrawBitmap,ihandle) +! CALL WBitmapPut(IHAND2,1,1,IXPM,IYPX,IXPX,IYPM) + ELSE + call IGrSelect(DrawBitmap,ihandle) +! CALL WBitmapPut(IHAND2,1,1,IXPM,IYPX,IXPX,IYPM) + + ENDIF + return + else + call IGrSelect(DrawWin) + call WBitmapPut(ihandle,0,0) + call WBitmapDestroy(ihandle) + ihandle=0 + + endif + return + end diff --git a/src/form999.f90 b/src/form999.f90 index c0eaa81..95fd482 100644 --- a/src/form999.f90 +++ b/src/form999.f90 @@ -74,6 +74,7 @@ CALL ADD999(ISWT9,NELC) ! WRITE(150,*) 'BACK FROM ADD999' ! FLUSH(150) + CALL HEDR RETURN ENDIF