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="
"}),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){e.TSC=e.TSC||{},e.TSC.questionGrader=function(){"use strict";return{FATHOM:"FATHOM",XMP:"XMP",MOCK:"MOCK"}}()}(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 browser does not support the media format needed for playback. Please install the Flash Player or use a different browser.",r.videoFailedToLoadUseFlash[t.GERMAN]="Dieser Browser unterstützt nicht das zur Wiedergabe notwendige Medienformat. Bitte installieren Sie den Flash Player oder benutzen Sie einen anderen Browser.",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.txtBadImageQuiz={},r.txtBadImageQuiz[t.ENGLISH]="We're sorry, the requested quiz is not compatible with images and could not be loaded. Please contact the author of this quiz.",r.txtBadImageQuiz[t.GERMAN]="Leider ist das angeforderte Quiz nicht kompatibel mit Bildern und konnte nicht geladen werden. Bitte kontaktieren Sie den Autor.",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.txtVideoQuizNetworkErrorMessage={},r.txtVideoQuizNetworkErrorMessage[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.txtVideoQuizNetworkErrorMessage[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.txtVideoQuizNetworkErrorMessage[t.JAPANESE]="申し訳ありませんが、ネットワーク エラーによりクイズを読み込めませんでした。ビデオは表示できます。クイズを再度読み込むには、ブラウザのページを更新するか、ネットワーク接続を確認してください。",r.txtImageQuizIEVersionError={},r.txtImageQuizIEVersionError[t.ENGLISH]="We're sorry, Internet Explorer 9 does not support image quizzing. To view the quiz, please choose another browser.",r.txtImageQuizNetworkErrorMessage={},r.txtImageQuizNetworkErrorMessage[t.ENGLISH]="We’re sorry, a network error has prevented the quiz from loading. The image is available to view. To try and reload the quiz, refresh the browser page or check your network connection.",r.txtImageQuizNetworkErrorMessage[t.GERMAN]="Leider hat ein Netzwerkfehler das Laden des Quiz verhindert. Das Bild kann angeschaut werden. Um das Quiz neu zu laden, aktualisieren Sie die Browser-Seite oder prüfen Sie Ihre Netzwerkverbindung.",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]="全画面",r.accessBtnTakeQuiz={},r.accessBtnTakeQuiz[t.ENGLISH]="Click to take the quiz",r.accessBtnTakeQuiz[t.GERMAN]="Klicken Sie hier, um die Quizfragen zu beantworten.",r.accessBtnShowQuiz={},r.accessBtnShowQuiz[t.ENGLISH]="Show Quiz",r.accessBtnShowQuiz[t.GERMAN]="Quiz anzeigen",r.accessBtnHideQuiz={},r.accessBtnHideQuiz[t.ENGLISH]="Hide Quiz",r.accessBtnHideQuiz[t.GERMAN]="Quiz ausblenden",r.accessBtnShowAnswer={},r.accessBtnShowAnswer[t.ENGLISH]="Show Answers",r.accessBtnShowAnswer[t.GERMAN]="Antworten anzeigen",r.accessBtnHideAnswer={},r.accessBtnHideAnswer[t.ENGLISH]="Hide Answers",r.accessBtnHideAnswer[t.GERMAN]="Antworten ausblenden",r.accessBtnSubmitting={},r.accessBtnSubmitting[t.ENGLISH]="Submitting...",r.accessBtnSubmitting[t.GERMAN]="Daten werden übermittelt...",r.accessBtnAnswersSubmitted={},r.accessBtnAnswersSubmitted[t.ENGLISH]="Answers Submitted!",r.accessBtnAnswersSubmitted[t.GERMAN]="Antworten wurden übermittelt!",r.accessBtnWereGraded={},r.accessBtnWereGraded[t.ENGLISH]=" were graded",r.accessBtnWereGraded[t.GERMAN]=" wurden bewertet",r.accessBtnWereNotGraded={},r.accessBtnWereNotGraded[t.ENGLISH]=" were not graded",r.accessBtnWereNotGraded[t.GERMAN]=" wurden nicht bewertet",r.accessBtnWasNotGraded={},r.accessBtnWasNotGraded[t.ENGLISH]=" was not graded",r.accessBtnWasNotGraded[t.GERMAN]=" wurden nicht bewertet",r.accessBtnCorrectOutOf={},r.accessBtnCorrectOutOf[t.ENGLISH]=" correct out of ",r.accessBtnCorrectOutOf[t.GERMAN]=" korrekte Antworten von ",r.accessBtnGradedQuestions={},r.accessBtnGradedQuestions[t.ENGLISH]=" graded questions",r.accessBtnGradedQuestions[t.GERMAN]=" bewerteten Antworten",{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),S=null!==navigator.userAgent.match(/iPod/i),A=m||v||S,b=-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))}A&&(f=r()),g=-1!==navigator.userAgent.toLowerCase().indexOf("firefox"),C=null!==navigator.userAgent.match(/Nuevo/i),T=null!==navigator.userAgent.match(/Safari/i),w=640>screen.availWidth&&480>screen.availHeight||480>screen.availWidth&&640>screen.availHeight,E=e.devicePixelRatio&&e.devicePixelRatio>1,(v||S)&&C&&E&&(m=!0,v=S=!1)}var s,u,c,l,d,f,p=!1,g=!1,h=!1,m=!1,v=!1,S=!1,A=!1,b=!1,C=!1,T=!1,E=!1,w=!1,y=!1;return{isSmallScreen:function(){return w},isRetinaDisplay:function(){return E},isNuevoApp:function(){return C},isIPad:function(){return m},isIPhoneOrIPod:function(){return v||S},isIOS:function(){return 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 T},isAndroid:function(){return b},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||b},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,h="13.0.0",m=[],v="'playerProductInstall.swf",S="tsc_player.swf",A="100%",b="100%",C=0,T="stop",E=!0,w=!0,y=!1,I=-1,N=!1,M=!1,R="left",k="#000",P=!1,x=!1,L=!0,Q=!1,B=!0,D=!0,_=!1,O=!1,G=!1,z=!0,V=!0,q=!1,F=!1,H=!1,U=!1,W=".",J=!1,j="",Y=!0,Z=!1,K=!1,X=!1,$=void 0,et="";return{isIEOnServerWithUnicode:function(){return 1==t.isIE()&&1==TSC.playerConfiguration.runOnServer()&&x},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:x?1==t.isIE()?TSC.playerConfiguration.runOnServer()?i(e)?encodeURI(e):e:decodeURI(e):encodeURI(e):e},getMediaSrc:function(){return m.length>0?m[0]:""},clearMediaSrc:function(){m=[]},setMediaSrc:function(t){m[0]=e(t)},addMediaSrc:function(t){m.push(e(t))},getMediaSources:function(){return m},getMediaFileName:function(){var e,t=m.length>0?m[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){W=e(t)},getSwfBase:function(){return W},getConfigurationSrc:function(){return TSC.playerConfiguration.getUnicodeSafeString(r)},setConfigurationSrc:function(e){r=e},getPosterImageSrc:function(){return TSC.playerConfiguration.getUnicodeSafeString(o)},setPosterImageSrc:function(e){o=e},getTOCSpriteSrc:function(){return TSC.playerConfiguration.getUnicodeSafeString(s)},setTOCSpriteSrc:function(e){s=e},getUnableToDisplayContentString:function(){return n.getString("videoNotSupported")},getFlashUpdateBootstrapSwf:function(){return v},setFlashUpdateBootstrapSwf:function(e){v=e},getFlashPlayerSwf:function(){return S},setFlashPlayerSwf:function(t){S=e(t)},getPlayerWidth:function(){return A},setPlayerWidth:function(e){A=e},getPlayerHeight:function(){return b},setPlayerHeight:function(e){b=e},getMediaRotation:function(){return C},setMediaRotation:function(e){C=e},getEndActionType:function(){return T},setEndActionType:function(e){T=e},getEndActionParam:function(){return E},setEndActionParam:function(e){E=e},getIsSearchable:function(){return w},setIsSearchable:function(e){w=e},getAutoPlayMedia:function(){return y},setAutoPlayMedia:function(e){y=e},getAllowRewind:function(){return I},setAllowRewind:function(e){I=e},getCaptionsEnabled:function(){return N},setCaptionsEnabled:function(e){N=e},getSidebarEnabled:function(){return M},setSidebarEnabled:function(e){M=e},getSidebarLocation:function(){return R},setSidebarLocation:function(e){R=e},getBackgroundColor:function(){return k},setBackgroundColor:function(e){k=e},getMinFlashPlayerVersion:function(){return h},setDebugHotspot:function(e){P=e},getDebugHotspot:function(){return P},setAutoHideControls:function(e){L=e},getAutoHideControls:function(){return L},setProcessUnicodeNames:function(e){x=e},getProcessUnicodeNames:function(){return x},setReportScormComplete:function(e){Q=e},getReportScormComplete:function(){return Q},setEnforceLinearAssessment:function(e){B=e},getEnforceLinearAssessment:function(){return B},setDisableFullframeMode:function(e){D=e},getDisableFullframeMode:function(){return D},getDisableControls:function(){return _},setDisableControls:function(e){_=e},getMobileWebViewCanAutoPlay:function(){return O},setMobileWebViewCanAutoPlay:function(e){O=e},setGoogleAnalyticsID:function(e){u=e},getGoogleAnalyticsID:function(){return u},setGAPageViewTracking:function(e){z=e},getGAPageViewTracking:function(){return z},setGAEventTracking:function(e){V=e},getGAEventTracking:function(){return V},useCustomEventTracking:function(e,t){q=e,c=t},getTrackEvents:function(){return q||void 0!==u},getCustomEventTracking:function(){return q},getCustomEventCallback:function(){return c},setAltEventCategoryAsFilename:function(e){F=e},getAltEventCategoryAsFilename:function(){return F},setAltLoadTimeAsSeconds:function(e){H=e},getAltLoadTimeAsSeconds:function(){return H},setAdvancedSeeking:function(e){G=e},getAdvancedSeeking:function(){return G},setTechSmithAccessToken:function(e){d=e,J=!0},getTechSmithAccessToken:function(){return d},getIsUserIdentified:function(){return J},setJumpToTime:function(e){l=e},getJumpToTime:function(){return l},setDebugUIMode:function(e){U=e},getDebugUIMode:function(){return U},setFathomId:function(e){f=e},getFathomId:function(){return f},setAdditionalAppQueryParamsFromJson:function(e){var t="";for(var n in e)t+="&"+n+"="+e[n];j=t},getAdditionalAppQueryString:function(){return j},setScormStartPt:function(e){g=e},getScormStartPt:function(){return g},setEmbedIFrameId:function(e){p=e},getEmbedIFrameId:function(){return p},setUseSlimAppSplashScreen:function(e){Y=e},getUseSlimAppSplashScreen:function(){return Y},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":p=n[1];break;case"t":l=n[1];break;case"forceflash":"true"===n[1].toLowerCase()?Z=!0:"false"===n[1].toLowerCase()&&(Z=!1);break;case"forcehtml5":"true"===n[1].toLowerCase()?K=!0:"false"===n[1].toLowerCase()&&(K=!1);break;case"autoplay":"true"===n[1].toLowerCase()?y=!0:"false"===n[1].toLowerCase()&&(y=!1);break;case"autohidecontrols":"true"===n[1].toLowerCase()?L=!0:"false"===n[1].toLowerCase()&&(L=!1)}}},setForceFlashPlayer:function(e){Z=e},getForceFlashPlayer:function(){return Z},setForceHtml5Player:function(e){K=e},getForceHtml5Player:function(){return K},setPrioritizeFullScreen:function(){},getShowYouTubeAnnotations:function(){return X},setShowYouTubeAnnotations:function(e){X=e},getPreRollSrc:function(){return $},setPreRollSrc:function(e){$=e},getContentType:function(){return et},setContentType:function(e){et=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(/(<|<)/g,"<").replace(/(>|>)/g,">").replace(/&/g,"&"):e.replace(/&/g,"&").replace(/("|")/g,""").replace(/(<|<)/g,"<").replace(/(>|>)/g,">").replace(/&/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=y,e.projectName=d,e.productionName=c,e.originId=l,e.mediaDuration=w,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,S=t.NONE,A=!0,b=!1,C=[],T=250,E=100,w=0,y="",I=2e3,N=!0,M=!1;return{clearAllQuestions:function(){C=[]},getQuizDefinition:function(){return i()},getUseQuizApi:function(){return S===t.API||S===t.APIANDSCORM},getUseScorm:function(){return S===t.SCORM||S===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){w=e},setReportMethod:function(e){t.isValid(e)&&(S=e)},getReportMethod:function(){return S},setRequireUserId:function(e){A=e},getRequireUserId:function(){return A},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){y=e},getLocale:function(){return y},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)&&(M=!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 I},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>=I){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 M}}}()}(this,TSC.reportType,TSC.questionType),function(e,t,n,i,a,r){e.TSC=e.TSC||{},e.TSC.quizService=function(){"use strict";function e(){P=200,S&&S.call()}function o(e){P=200;var t;y?(x="mock_id",D=!0,t=15e3):(x=e.Id,D=e.DefinitionRequired,t=e.SampleRate),m&&m.call(this,x,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)},G);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=_,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(t){i>0?setTimeout(function(){c(e,n,--i,a,o)},G):o&&o(t)},u=function(e){r.logException("quiz-service: sendAjaxMessage() failed with server response: "+e.statusText+" : "+e.status),s()};t.ajax({url:e,type:"POST",data:n,contentType:"application/json",crossDomain:!0,timeout:_,error:function(e){"timeout"==e.statusText?s(e):u(e)},success:function(e){a&&a(e,i)}})}function l(e,t,n,i,a){if(y)return setTimeout(o,1e3),void 0;var u=k[B].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 "+O+" retries."),A(e)},d=function(e,t){t&&O>t&&r.logMessage("quiz-service: startQuizInstance() succeded after "+(O-t)+" retries."),o(e)};s(u,c,O,d,l)}function d(t,n,i){if(t){if(y)return setTimeout(e,1e3),void 0;var a=k[B].url+I+"?Quiz-Checksum="+n+"&Quiz-ClientId="+i+"&noop=1",o={DefinitionText:t},u=function(e){r.logMessage("quiz-service: sendQuizDefinitionToApi() failed after "+O+" retries."),A(e)},c=function(t,n){n&&O>n&&r.logMessage("quiz-service: sendQuizDefinitionToApi() succeded after "+(O-n)+" retries."),e(t)};s(a,o,O,c,u)}}function f(e,t){L=e,Q=t;var n=1,i=G;if(y){var a={0:{isCorrect:!0},1:{isCorrect:!0},2:{isCorrect:!0,correctAnswer:2}};return setTimeout(function(){t(a)},1e3),void 0}var o=function(){n++,V>i&&(i+=z,i>V&&(i=V)),b&&b(),setTimeout(function(){s(c,l,0,u,o)},i)},u=function(e){1!=n&&r.logMessage("quiz-service: sendQuestionSet() succeded after "+n+" retries."),C&&C(),t(e.results)},c=k[B].url+M,l={ResponseText:e};s(c,l,0,u,o)}function p(e,t){if(!y){if(!x){var n=m;return m=function(){p(e,t),n&&n()},void 0}if(t){var i=k[B].url+R,a={InstanceId:x,Interval:e,ViewedSegments:t};s(i,a,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,S,A,b,C,T,E,w=1,y=!1,I="v/1/quiz/definition",N="v/1/quiz/instance?noop=1",M="v/1/quiz/response?noop=1",R="v/1/quiz/progress?noop=1",k=[];k.push({label:"Local",url:"https://quiz.techsmith.localhost:11443/"}),k.push({label:"Dev",url:"https://quiz.cloud.tsc-dev.co/"}),k.push({label:"Stage",url:"https://quiz.cloud.tsc-stage.co/"}),k.push({label:"Live",url:"https://quiz.cloud.techsmith.com/"}),k.push({label:"TE",url:"https://quizzingtest2.cloud.tsc-dev.co/"});var P,x,L,Q,B=3,D=!1,_=5e3,O=2,G=0,z=2e3,V=2e4-_;return t.support.cors=!0,{setEnvironment:function(e){B=e},getEnvironment:function(){return B},getLastAttemptStatus:function(){return P},startQuizInstance:function(e,t,n,i,a){T&&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 x&&("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?S=t:"NEED_DEFINITION"===e?v=t:"ERROR"===e?A=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?S=void 0:"NEED_DEFINITION"===e?v=void 0:"ERROR"===e?A=void 0:"SHOW_SUBMISSION_RETRY_MESSAGE"===e?A=void 0:"HIDE_SUBMISSION_RETRY_MESSAGE"===e?A=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 S=t(v).attr("tscIQ:quizGuid"),A=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"),w=t(v).attr("tscIQ:quizHash"),y=t(v).attr("tscIQ:locale");y||(y=n.ENGLISH),a.setLocale(y),a.setProductionMetadata(f,l,d),a.setQuizTitle(l),a.setQuizID(S),a.setReportMethod(A),a.setRequireUserId(b),a.setHideReplay(C),a.setAuthoredEmail(T),a.setClientId(E),a.setQuizHash(w)}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)},S):(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,S;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=5e3,v=2,S=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",1),t(c).css("opacity",.7)},hideView:function(){t(u).css("opacity",0),t(c).css("opacity",0)},updateViewPosition:function(){t(u).css("bottom",a+"px")},removeView:function(e,n){t(u).animate({opacity:0},200,function(){t(u).remove(),void 0!==e&&e.call()}),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())},hideView:function(){t(a).animate({opacity:0},300)},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){e.TSC=e.TSC||{},e.TSC.questionSetReviewStatusView=function(){"use strict";var e,a,r,o="#tsc_quiz_container",s=new n(o),u="#tsc_view_answers_button",c="#tsc_hide_answers_button";if(!t||!t.question_set_review_status_template)throw Error("questionSetReviewStatusView: Question Set Review Status Template not found.");return e=t.question_set_review_status_template,{setGradeableDetails:function(e){a=e},setUngradeableDetails:function(e){r=e},getViewMarkup:function(){var t={gradeableDetails:a,unGradeableDetails:r,txtAnswersSubmitted:i.getString("accessBtnAnswersSubmitted"),txtViewAnswers:i.getString("accessBtnShowAnswer"),txtHideAnswers:i.getString("accessBtnHideAnswer")};return e(t)+s.getOverlayMarkup()},getHideAnswersControlRef:function(){return c},getShowAnswersControlRef:function(){return u},showView:function(){$(o).removeClass("minimized"),s.showView()},hideView:function(){$(o).addClass("minimized"),s.hideView()},removeView:s.removeView,updateViewPosition:s.updateViewPosition,setBottomOffset:s.setBottomOffset,pointAt:s.pointAt}}()}(this,TSC.templates,TSC.BubbleView,TSC.localizationStrings),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",S="#tsc_quiz_controls",A="#tsc_quiz_question_count",b="#tsc_question",C="#tsc_answers",T="#tsc_question_set_result_info",E=!1,w=new i(p),y="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAACXBIWXMAAAsTAAALEwEAmpwYAAAKT2lDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVNnVFPpFj333vRCS4iAlEtvUhUIIFJCi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NgxVawxKIk0BD2LBQudyYenZrgq5NwLalusLnGAxzkdpQOiSAgQcBmGRtqwHFEQI+fAhIsERE27dHCghInNjAgCNNqVqwewQB5c8KChRpYPZoB75HBnxefcAIih4arFJhsJoygyUp4C45UJvy5UQBJvdeMAlxbx+iExU47mOsowXHDQROpPp4a0cGjiuYlID570HBjyPgflzAdEcHhH92jjCA8coZCyhIDAHngPFLggAAOw==",R=400,k=function(e,t,n,i){var r,s={},u=1;if(a.isNuevoApp()&&(i=!1),e===o.CHOICE){r=l,s.answers=[],s.placeHolderImg=y;for(var c=t.length,p=0;c>p;p++)n&&p===Number(n)?s.answers.push({answerIndex:p,tabIndex:u,answer:t[p],isChecked:!0}):s.answers.push({answerIndex:p,tabIndex:u,answer:t[p]}),u++}else e===o.FILL_IN?(r=d,s.userResponse=n,i&&(s.useAutofocus="true")):e===o.SHORT&&(r=f,s.userResponse=n,i&&(s.useAutofocus="true"));return r(s)},P=function(e,t){var n={questionNumber:e,questionText:t};return c(n)},x=function(e,t,n){var i={currentQuestionNumber:e,totalQuestions:t,prepositionText:n};return u(i)},L=function(){if(!E){var n=t(e).height(),i=R>=n;if(i)t(C).css("max-height","");else{t(p).css("max-height","none"),t(C).css("max-height","none");var a,r=t(p).css("bottom").replace(/px/,""),o=t(p).height(),s=t("#tsc_quiz_controls").height(),u=14,c=10,l=20,d=3*c+c+2*l,f=t(b).height(),g=Number(r)+Number(o)+c+6;g>n&&(a=n-r-f-d-s-u,t(C).css("max-height",a+"px"))}}};return{setIsImageQuestion:function(e){E=e},getViewMarkup:function(e,t,n,i,a,r,o){var u={questionSetTitle:e,previousButtonName:t,nextButtonName:n,submitButtonName:i,continueButtonName:a,minimized:o,submittingImg:M},c=s(u);return r&&(c+=w.getOverlayMarkup()),c},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(S).css("visibility")&&(t(S).css("visibility","visible"),t(S).css("opacity",0),t(S).animate({opacity:1},300))},hideControls:function(){"visible"===t(S).css("visibility")&&t(S).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]&&t(C+" input")[0].focus():e===o.SHORT&&t(C+" textarea")[0]&&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(A).html(x(a,o,r)),t(b).html(P(a,n)),t(C).html(k(e,i,s,!u)),L()},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).removeClass("minimized"),L(),w.showView()},hideView:function(){t(p).addClass("minimized"),L(),w.hideView()},removeView:w.removeView,updateViewPosition:w.updateViewPosition,setBottomOffset:w.setBottomOffset,pointAt:function(e){w.pointAt(e),L()}}}()}(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,g,h,m,v){e.TSC=e.TSC||{},e.TSC.quizController=function(){"use strict";var S,A,b,C,T,E,w,y,I,N,M,R,k,P,x,L,Q,B,D,_,O=0,G=0,z=0,V=0,q=7,F=0,H=!1,U=!0,W=!1,J=0,j=0,Y=!0,Z="",K=3e4,X=function(e){b=e,O=b.numberQuestionSets(),G=b.numberQuestionsInSet(0)},$=function(){E&&E.call(this,{type:"BEGIN"})},et=function(){w&&w.call(this,{type:"SKIP"})},tt=function(){b.getUseScorm()&&userSubmitToLMS&&userSubmitToLMS(b.getScormScore(),b.getLastQuestionComplete(V))},nt=function(){b.setQuestionSetComplete(V),V=-1},it=function(){C&&C.call(this,{type:"COMPLETE"})},at=function(){nt(),t(a.getPreviousControlsRef()).unbind("click",dt),t(a.getNextControlsRef()).unbind("click",ft),t(a.getSubmitControlsRef()).unbind("click",St),t(a.getContinueControlsRef()).unbind("click",at),a.removeView(it,!0),S=void 0},rt=function(e){if(!H)if(e===c.CHOICE){var t=a.getResponseListSelectedIndex();t&&b.setQuestionResponse(V,z,t)}else if(e===c.FILL_IN){var n=a.getResponseInputValue();n&&""!==n&&b.setQuestionResponse(V,z,n)}else if(e===c.SHORT){var i=a.getResponseTextAreaValue();i&&""!==i&&b.setQuestionResponse(V,z,i)}},ot=function(e){I&&(Z=e,I.call(this,{type:"STATUS",message:e}))},st=function(){N&&N.call(this,{type:"SUBMITTED"})},ut=function(){i.isNuevoApp()&&t(e).scrollTop(0)},ct=function(){var e=b.getQuestionType(V,z),i=b.getQuestionText(V,z),r=b.getQuestionChoices(V,z),o=b.getQuestionResponse(V,z);a.displayQuestion(e,i,r,Number(z+1),n.getQuestionCountPreposition(),G,o,H);var s=1!==G,u=H||z!==G-1,l=z===G-1&&!H,d=H&&!x,f=0===z,p=z===G-1;if(a.configureControls({visible:s,disabled:f},{visible:u,disabled:p},{visible:l,disabled:!1},{visible:d}),H)if(a.showResponse(),a.disableResponseUI(e),e===c.CHOICE){for(var g=a.getResponseListSelectedIndex(),h=b.getQuestionAnswer(V,z),m=-1,v=b.getQuestionChoices(V,z).length,S=0;v>S;S++)if(1<0),t(a.getResponseLabelRef()).removeClass("active_quiz_item")}else e===c.FILL_IN&&b.getIsQuestionGraded(V,z)&&a.showResponseFillInFeedback(b.getIsResponseCorrect(V,z));else a.showResponse(e),J=(new Date).getTime()},lt=function(){j=(new Date).getTime(),b.addDurationToQuestion(V,z,j-J)},dt=function(){var e=b.getQuestionType(V,z);rt(e),lt(),z--,ct()},ft=function(){var e=b.getQuestionType(V,z);rt(e),lt(),z++,ct()},pt=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},gt=function(){H=!0,G=b.numberQuestionsInSet(V);var e=a.getViewMarkup(b.getQuestionSetTitle(V),n.getString("txtPrev"),n.getString("txtNext"),n.getString("txtSubmit"),n.getString("txtContinue"));A.append(e),S=a,Pt(),Q&&S.pointAt(Q),t(a.getPreviousControlsRef()).bind("click",dt),t(a.getNextControlsRef()).bind("click",ft),t(a.getSubmitControlsRef()).bind("click",St),t(a.getContinueControlsRef()).bind("click",at);var i=b.getNumberOfCorrectInQuestionSet(V),r=b.getTotalNumberOfGradableInQuestionSet(V),o=b.getTotalNumberOfUngradableInQuestionSet(V),s=pt(i,r,o);x||""===s||a.showFeedback(s),z=0,ct(),a.showView(),a.updateViewPosition()},ht=function(){nt(),t(s.getContinueControlRef()).unbind("click",ht),t(s.getReviewControlRef()).unbind("click",mt),s.removeView(it,!0),S=void 0},mt=function(){t(s.getContinueControlRef()).unbind("click",ht),t(s.getReviewControlRef()).unbind("click",mt),s.removeView(gt,!1),S=void 0},vt=function(){var e=s.getViewMarkup(n.getString("txtContinue"),n.getString("txtReviewAnswer"));A.append(e),S=s,Pt(),Q&&S.pointAt(Q),t(s.getContinueControlRef()).bind("click",ht),t(s.getReviewControlRef()).bind("click",mt),s.showView(),s.updateViewPosition()
},St=function(){t(TSC.questionSetView.getSubmitControlsRef()).attr("disabled","disabled"),t(TSC.questionSetView.getPreviousControlsRef()).attr("disabled","disabled"),t("#tsc_quiz_container").css("z-index",8),lt();var e=b.getQuestionType(V,z);rt(e),D.doesLocalGrading&&D.gradeQuestionSet(b,V),_=!0,b.getUseQuizApi()&&(ot(n.getString("txtSubmittingAnswers")),u.submitQuestionSet(b.getApiDataForQuestionSet(V),At)),b.getUseScorm()&&tt(),(i.isLocal()||!b.getUseQuizApi())&&At()},At=function(e){if(_=!1,st(),!D.doesLocalGrading&&b.getUseQuizApi()){if(void 0===e)return Dt(),at(),void 0;D.processQuestionSetResults(b,V,e)}b.getDisplayFeedback(V)?x?(x(),S.removeView(bt,!0)):S.removeView(vt,!1):at()},bt=function(){var e=b.getNumberOfCorrectInQuestionSet(V),i=b.getTotalNumberOfGradableInQuestionSet(V),r=b.getTotalNumberOfUngradableInQuestionSet(V);v.setGradeableDetails(e+n.getString("accessBtnCorrectOutOf")+i+n.getString("accessBtnGradedQuestions")),1==r?v.setUngradeableDetails(r+n.getString("accessBtnWasNotGraded")):v.setUngradeableDetails(r+n.getString("accessBtnWereNotGraded"));var o=v.getViewMarkup();A.append(o),S=v,t(v.getHideAnswersControlRef()).bind("click",Tt),t(v.getShowAnswersControlRef()).bind("click",Ct),v.showView(),a.updateViewPosition()},Ct=function(){t(v.getHideAnswersControlRef()).unbind("click",Tt),t(v.getShowAnswersControlRef()).unbind("click",Ct),v.removeView(gt,!1),S=void 0},Tt=function(){L&&L(),S.hideView()},Et=function(e){H=!1,z=0,G=b.numberQuestionsInSet(V),a.setIsImageQuestion(x);var i=a.getViewMarkup(b.getQuestionSetTitle(V),n.getString("txtPrev"),n.getString("txtNext"),n.getString("txtSubmit"),n.getString("txtContinue"),e,!0);A.append(i),S=a,Pt(),Q&&S.pointAt(Q),t(a.getPreviousControlsRef()).bind("click",dt),t(a.getNextControlsRef()).bind("click",ft),t(a.getSubmitControlsRef()).bind("click",St),t(a.getContinueControlsRef()).bind("click",at),ct(),a.showView(),a.updateViewPosition()},wt=function(){S.removeView(void 0,!0),S=void 0,T&&T.call(this,{type:"REVIEW"})},yt=function(){O>V&&Et(!1)},It=function(){S.removeView(yt),S=void 0},Nt=function(){var e;e=Y?n.getString("txtReview"):n.getString("txtContinue");var i=r.getViewMarkup(e,n.getString("txtAnswerQuestion"));A.append(i),S=r,Pt(),b.getHideReplay()===!0&&t(r.getReviewControlRef()).hide(),t(r.getReviewControlRef()).bind("click",wt),t(r.getConfirmControlRef()).bind("click",It),r.showView(),r.updateViewPosition()},Mt=function(e){b.getUseQuizApi()?(Lt(o.getFirstName(),o.getLastName(),o.getEmail()),S.removeView()):S.removeView($),S=void 0,e.preventDefault()},Rt=function(e){U=!1,i.isIPad()||i.isAndroid()?(S.removeView(),et()):S.removeView(et),S=void 0,e.preventDefault()},kt=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);A.append(c),S=o,t(o.getBeginControlRef()).bind("click",Mt),b.getAllowSkipQuiz()?t(o.getSkipControlRef()).bind("click",Rt):t(o.getSkipControlRef()).hide(),o.showView()},Pt=function(){S&&S.setBottomOffset&&(S.setBottomOffset(F),S.updateViewPosition())},xt=function(){W=!0,$()},Lt=function(e,t,n){b&&u.startQuizInstance(b.getQuizID(),e,t,n,f),(i.isIPad()||i.isAndroid())&&$()},Qt=function(e,t,i){i&&i>0&&(K=i),t?(ot(n.getString("txtLoaderMessageDefinition")),u.submitQuizDefinition(d.getQuizDefinition(),d.getQuizHash(),d.getClientId())):xt()},Bt=function(){xt()},Dt=function(){U=!1,_&&At(),y.call(this,{type:"ERROR"})},_t=function(){u.addEventListener("SHOW_LOADING_MESSAGE",k),u.addEventListener("HIDE_LOADING_MESSAGE",P),u.addEventListener("SHOW_SUBMISSION_RETRY_MESSAGE",M),u.addEventListener("HIDE_SUBMISSION_RETRY_MESSAGE",R)};return{init:function(e,n){Y=e,B=n,b.getUseQuizApi()?(u.addEventListener("START_INSTANCE_COMPLETE",Qt),u.addEventListener("SEND_DEFINITION_COMPLETE",Bt),u.addEventListener("ERROR",Dt),_t(),b.getRequireUserId()&&!f.getIsUserIdentified()?kt():Lt()):(W=!0,$()),i.isNuevoApp()&&(t("body").on("blur","#tsc_quiz_container input",ut),t("body").on("blur","#tsc_quiz_container textarea",ut))},simpleInit:function(){_t(),Lt()},getQuizReady:function(){return W},getAnalyticsSampleRate:function(){return K},getLastStatusMessage:function(){return Z},setQuestionData:function(e){X(e)},setViewContainer:function(e){A=t(e)},displayNextQuestionSet:function(){O>V&&Et(!0)},hasMultipleQuestionSets:function(){return O>1},quizEnabled:function(){return U},hasQuiz:function(){return d&&d.getQuizID()},viewOpen:function(){return void 0!==S},findQuestionSet:function(e){for(var t=-1,n=-1,i=d.getQuestionSetMarkerTimes(),a=i.length,r=0;a>r;r++)if(Y&&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 b.getPreviousMarkerTimeForMarker(e)},updatePercentWatchedForQuestionSet:function(e,t){b.updatePercentageWatchedForQuestionSet(e,t)},drawMarkers:function(e,t,n,i){if(U){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){S||(V=e,Y&&b.getQuestionSetMarkerTime(e)<=b.getMinMarkerTimeDiff()?Et(!0):Nt())},addEventListener:function(e,t){"COMPLETE"===e?C=t:"REVIEW"===e?T=t:"BEGIN"===e?E=t:"SKIP"===e?w=t:"ERROR"===e?y=t:"STATUS"===e?I=t:"SUBMITTED"===e?N=t:"SHOW_SUBMISSION_RETRY_MESSAGE"===e?M=t:"HIDE_SUBMISSION_RETRY_MESSAGE"===e?R=t:"SHOW_LOADING_MESSAGE"===e?k=t:"HIDE_LOADING_MESSAGE"===e?P=t:"TRANSITION_IMAGE_QUIZ_TO_ANSWERS"===e?x=t:"HIDE_QUIZ"===e&&(L=t)},removeEventListener:function(e){"COMPLETE"===e?C=void 0:"REVIEW"===e?T=void 0:"BEGIN"===e?E=void 0:"SKIP"===e?w=void 0:"ERROR"===e?y=void 0:"STATUS"===e?I=void 0:"SUBMITTED"===e?N=void 0:"SHOW_LOADING_MESSAGE"===e?k=void 0:"HIDE_LOADING_MESSAGE"===e?P=void 0:"TRANSITION_IMAGE_QUIZ_TO_ANSWERS"===e?x=void 0:"HIDE_QUIZ"===e&&(L=void 0)},showQuiz:function(){S===void 0?Et(!0):S.showView()},hideQuiz:function(){S.hideView()},pointViewAt:function(e){Q=e,S&&S.pointAt&&S.pointAt(Q)},setViewControlBarOffset:function(e){F=e+q,Pt()},setQuestionGrader:function(e){switch(e){case g.FATHOM:D=h;break;case g.XMP:D=m;break;case g.MOCK:D={doesLocalGrading:!1};break;default:throw"Grader type not recognized"}},startTrackingProgress:function(){p.start(B(),K)},forceProgressUpdate:function(e,t){u.sendProgress(e,t)}}}()}(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,TSC.questionGrader,TSC.fathomGrader,TSC.xmpGrader,TSC.questionSetReviewStatusView),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=Math.min(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(A))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):S&&S.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();if(e.mediaMimeType=r.UNKNOWN,e.mediaType=a.UNKNOWN,i.getContentType())return e.mediaMimeType=i.getContentType(),e.mediaType=l(e.mediaMimeType),n.resolve(),n;var o=g(e.mediaSrc);return o!==a.UNKNOWN?(e.mediaType=o,e.mediaMimeType=f(o),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){var n=t.Deferred();return t.ajax({type:"HEAD",url:e}).done(function(e,t,i){var a=i.getResponseHeader("content-type")||r.UNKNOWN;n.resolve(a)}).fail(function(){n.resolve(r.UNKNOWN)}),n}function g(e){var t=a.UNKNOWN,n=/youtu(?:\.be|be\.com)\//;if(n.test(e))return a.YOUTUBE;var i=e.split("?")[0],r=i.split(".");if(r.length>0){var o=r.pop().toLowerCase();switch(o){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,S,A=".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},getCurrentMediaFirstMediaSourceAsString:function(){var e=this.getCurrentMedia();return e.mediaSrc?""+e.mediaSrc:""+e[0].mediaSrc},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&&(S=t)},removeEventListener:function(e){"READY"===e?v=void 0:"ERROR"===e&&(S=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:n.getForceHtml5Player()&&(o||s||u)?t.HTML5_VIDEO: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/hpDcmVhdGVkIHdpdGggYWpheGxvYWQuaW5mbwAh+QQJ CgAAACwAAAAAIAAgAAAE5xDISWlhperN52JLhSSdRgwVo1ICQZRUsiwHpTJT4iowNS8vyW2icCF6 k8HMMBkCEDskxTBDAZwuAkkqIfxIQyhBQBFvAQSDITM5VDW6XNE4KagNh6Bgwe60smQUB3d4Rz1Z BApnFASDd0hihh12BkE9kjAJVlycXIg7CQIFA6SlnJ87paqbSKiKoqusnbMdmDC2tXQlkUhziYty WTxIfy6BE8WJt5YJvpJivxNaGmLHT0VnOgSYf0dZXS7APdpB309RnHOG5gDqXGLDaC457D1zZ/V/ nmOM82XiHRLYKhKP1oZmADdEAAAh+QQJCgAAACwAAAAAIAAgAAAE6hDISWlZpOrNp1lGNRSdRpDU olIGw5RUYhhHukqFu8DsrEyqnWThGvAmhVlteBvojpTDDBUEIFwMFBRAmBkSgOrBFZogCASwBDEY /CZSg7GSE0gSCjQBMVG023xWBhklAnoEdhQEfyNqMIcKjhRsjEdnezB+A4k8gTwJhFuiW4dokXil oUepBAp5qaKpp6+Ho7aWW54wl7obvEe0kRuoplCGepwSx2jJvqHEmGt6whJpGpfJCHmOoNHKaHx6 1WiSR92E4lbFoq+B6QDtuetcaBPnW6+O7wDHpIiK9SaVK5GgV543tzjgGcghAgAh+Q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fgIGepNo2cIUB3V1B3IvNiBYNQaDSTtfhhx0CwVPI0UJe0+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},hideView:function(){$(n).css("opacity",1),$(n).animate({opacity:0},300)},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(){N=!1,M=!1,R=!1,k=!1,P=!1,x=!1,L=!1,W=!1,J="",j=0,Y="en-US",Z="#ffffff",K="#000000",X=.9,$="Arial, Helvetica, sans-serif;",et=18,tt={r:255,g:255,b:255},nt="overlay",it=0,at=2,rt=144,ot=[],st=[],ut=[],ct=[],lt=[]}function c(e){return-1!==e.indexOf("http://")||-1!==e.indexOf("https://")}function l(){I&&I.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&&!W&&(W=!0,J=s.getTOCSpriteSrc()?s.getTOCSpriteSrc():"."===s.getSwfBase()||c(a)?s.getUnicodeSafeString(a):s.getSwfBase()+s.getUnicodeSafeString(a));var o={time:e,text:i,file:n,image:a,imageRect:r};ot.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");Z=d(a,r,u)}var c=e.find("*").eq(n-1);c&&c.length>0&&"tsc:bgColor"===c[0].nodeName&&(tt.r=c.attr("xmpG:red"),tt.g=c.attr("xmpG:green"),tt.b=c.attr("xmpG:blue"),K=d(tt.r,tt.g,tt.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};st.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){return""!==e&&0!==e.indexOf("http://")&&0!==e.indexOf("https://")?"http://"+e:e}function v(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="",v="",S="";"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")&&(v=t(this).attr("tscHS:newWindow"),v="0"===v||"false"===v.toLowerCase()?!1:!0),void 0!==t(this).attr("xmpDM:location")&&(S=t(this).attr("xmpDM:location"));var A=s.getUnicodeSafeString(t(this).attr("tscDM:file")),b={id:e,start:i,end:r,pause:p,hasPausedAtEnd:!1,points:d,scaledPoints:d.concat([]),rotation:u,file:A,jumpTime:h,jumpFile:c,newWindow:v,targetURL:m(S),isActive:!1,index:n};ut.push(b),n++})}function S(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},ct.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},ct.push(a)}}function b(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};lt.push(u)})}function C(){N&&f(G),M&&p(z),k&&S(q),R&&v(V),P&&A(O),x&&b(_),L=!0,y&&y.call()}function T(){var e=s.getEndActionType().toLowerCase();if("jumptourl"===e||"jumptourlnew"===e){var t=s.getEndActionParam().toLowerCase();0!=t.indexOf("http://")&&0!=t.indexOf("https://")&&(s.setEndActionType("stop"),s.setEndActionParam("true"))}}function E(r){e();var o=t(r).find("*").eq(2);Q=o.attr("dc:title"),D=o.attr("tscDM:originId"),B=o.attr("tscDM:project"),j=Number(t(r).find("*").eq(3).attr("xmpDM:value")),F=Q;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":H=t(v).attr("tscDM:tocCellLayout"),U=s.getUnicodeSafeString(t(v).attr("tscDM:image")),"."===s.getSwfBase()||void 0===U||c(U)||(U=s.getSwfBase()+U),N=!0,G=t(v),m+=G.find("*").length;break;case"quiz":if(u&&void 0===s.getFathomId()){k=!0;var S=t(v).attr("tscIQ:quizGuid"),A=t(v).attr("tscIQ:reportMethod"),b="1"===t(v).attr("tscIQ:requireUserId"),E="1"===t(v).attr("tscIQ:hideReplay"),w=t(v).attr("tscIQ:authoredEmail"),y=t(v).attr("tscIQ:clientId"),I=t(v).attr("tscIQ:quizHash"),L=t(v).attr("tscIQ:allowSkipQuiz"),W=t(v).attr("tscIQ:locale");W||(W=i.ENGLISH),u.setLocale(W),u.setProductionMetadata(B,Q,D),u.setQuizTitle(Q),u.setQuizID(S),u.setReportMethod(A),u.setRequireUserId(b),u.setHideReplay(E),u.setAuthoredEmail(w),u.setClientId(y),u.setQuizHash(I),u.setMediaDuration(j),u.setAllowSkipQuiz(L)}q=t(v),m+=q.find("*").length;break;case"caption":var J=t(v).attr("stFnt:fontFamily");J&&($=J);var Y=t(v).attr("tscDM:fontSize");Y&&(et=Number(Y));var Z=t(v).attr("tscDM:bgOpacity");Z&&(X=Number(Z));var K=t(v).attr("tscDM:position");K&&(nt=K);var tt=t(v).attr("tscDM:captionbarheight");tt&&(it=Number(tt)),M=!0,z=t(v),m+=z.find("*").length;break;case"hotspot":R=!0,V=t(v),m+=V.find("*").length;break;case"speech":_=t(v);var at=_.find("*").length;if(1>=at)break;x=!0,m+=at;break;case"screentext":P=!0,O=t(v),m+=O.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 rt,ot,st=0;for(l=l;f>l;l++)if("tscDM:controller"===t(r).find("*").eq(l)[0].nodeName){rt=t(r).find("*").eq(l).children(),st=t(rt).find("*").length;break}t(rt).find("*").filterNode("rdf:li").each(function(){if(void 0!=t(this).attr("xmpDM:name"))switch(ot=t(this).attr("xmpDM:value").toLowerCase(),t(this).attr("xmpDM:name").toLowerCase()){case"autohide":var e="true"===ot?!0:!1;s.setAutoHideControls(e);break;case"autostart":case"autoplay":var n="true"===ot?!0:!1;s.getAutoPlayMedia()||s.setAutoPlayMedia(n);break;case"searchable":var i="true"===ot?!0:!1;s.setIsSearchable(i);break;case"captionsenabled":var r="true"===ot?!0:!1;s.setCaptionsEnabled(r);break;case"sidebarenabled":var o="true"===ot?!0:!1;s.setSidebarEnabled(o);break;case"unicodeenabled":var u="true"===ot?!0:!1;s.setProcessUnicodeNames(u);break;case"backgroundcolor":var c=ot;-1===c.indexOf("#")&&(c="#"+c),s.setBackgroundColor(c);break;case"sidebarlocation":var l="right"===ot||"r"===ot?"right":"left";s.setSidebarLocation(l);break;case"endaction":s.setEndActionType(ot);break;case"endactionparam":s.setEndActionParam(t(this).attr("xmpDM:value"));break;case"locale":a.setLanguage(t(this).attr("xmpDM:value"))}}),T(),setTimeout(C,500)}function w(e,i){if(e){var a=e;try{t.ajax({type:"GET",url:a,dataType:"xml",timeout:ft,success:function(e){dt>i&&n.logMessage("xmp: loadXMP() succeeded after "+(dt-i)+" failed attempts."),E(e)},error:function(){i>0?setTimeout(function(){w(e,--i)},pt):(n.logMessage("xmp: loadXMP() failed after "+dt+" retries."),l())}})}catch(r){n.logException(r)}}}t.fn.filterNode=function(e){return this.find("*").filter(function(){return this.nodeName===e})};var y,I,N,M,R,k,P,x,L,Q,B,D,_,O,G,z,V,q,F,H,U,W,J,j,Y,Z,K,X,$,et,tt,nt,it,at,rt,ot,st,ut,ct,lt,dt,ft,pt;return ft=5e3,dt=2,pt=0,e(),{loadXMP:function(e){w(e,dt)},parseXMP:function(e){E(t.parseXML(e))},xmpAvailable:function(){return L},hasAdvancedFeatures:function(){return L&&(N||M||R||k)},getMediaDuration:function(){return j},getTocTitle:function(){return F},getTocImageSrc:function(){return U},getTocCellLayoutType:function(){return H},tocContainsThumbs:function(){return W},getTocThumbImageSrc:function(){return J},getTocItemArray:function(){return ot},getHotspotItemArray:function(){return ut},getCaptionItemArray:function(){return st},getCaptionFontFamily:function(){return $},getCaptionFontSize:function(){return et},getMinCaptionFontSize:function(){return at},getMaxCaptionFontSize:function(){return rt
},getCaptionBgOpacity:function(){return X},getCaptionTextColor:function(){return Z},getCaptionBgColor:function(){return K},getCaptionBg:function(){return"rgba("+tt.r+", "+tt.g+", "+tt.b+", "+X+")"},getCaptionPosition:function(){return nt},getCaptionBarHeight:function(){return it},getSpeechTextItemArray:function(){return lt},getScreenTextItemArray:function(){return ct},getLanguage:function(){return Y},hasTocItems:function(){return N},hasCaptionItems:function(){return M},hasHotspotItems:function(){return R},hasQuiz:function(){return k},hasScreenTextItems:function(){return P},hasSpeechTextItems:function(){return x},getLocalErrorMessage:function(){return a.getString("xmpSecurity")},get404ErrorMessage:function(){return a.getString("xmpError")},getImageQuizContainsMultipleQuestionGroupsMessage:function(){return a.getString("txtBadImageQuiz")},getImageQuizIEVersionIncorrect:function(){return a.getString("txtImageQuizIEVersionError")},getBadImageQuizXmpMessage:function(){return a.getString("txtImageQuizNetworkErrorMessage")},addEventListener:function(e,t){"READY"===e?y=t:"ERROR"===e&&(I=t)},removeEventListener:function(e){"READY"===e?y=void 0:"ERROR"===e&&(I=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(){_.mouseup(l)}function u(){_.off("mouseup",l)}function c(){w=!1,r(),D!==void 0&&D()}function l(e){w!==!1&&(E.is(e.target)||0!==E.has(e.target).length||setTimeout(function(){c()},50))}function d(){E=t("#playerSettingsContainer"),I=t("#playerSpeedContainer select")}function f(){var e=y.playbackRate;e!==Number(I.find(":selected").val())&&(e>R?p(R):M>e?p(M):I.find('option[value="'+y.playbackRate+'"]').prop("selected",!0))}function p(e){M>e?e=M:e>R&&(e=R),N=e,y.playbackRate=e,y.defaultPlaybackRate=e,!a.isIPad()&&!a.isIPhoneOrIPod()||y.paused||(y.pause(),y.play()),setTimeout(function(){c()},2e3)}function g(){var e=Number(I.find(":selected").val());p(e)}function h(){f()}function m(){var e=B.indexOf(N);-1!==e&&B.length>e+1&&p(B[e+1])}function v(){var e=B.indexOf(N);-1!==e&&e>0&&p(B[e-1])}function S(e){if(k===e.shiftKey)switch(e.keyCode){case P:e.preventDefault(),m();break;case x:e.preventDefault(),v()}}function A(){for(var e=i.getString("playerRateOptionsText"),t=[],n=B.length-1;n>=0;n--){var a=B[n];t.push({rateValue:a,rateLabel:e[a],selected:a===L})}return t}function b(){w=!1,N=L}function C(){I.unbind("change",g),_.unbind("keydown",S),y&&y.removeEventListener("ratechange",h)}function T(){I.bind("change",g),_.bind("keydown",S)}var E,w,y,I,N,M,R,k,P,x,L,Q,B,D,_;return w=!1,k=!0,N=1,P=38,x=40,M=.25,R=2,L=1,Q=[.25,.5,.75,1,1.25,1.5,1.75,2],B=Q,_=t(e.document),{destroy:function(){C()},render:function(e){var a={playerRateText:i.getString("playerRateText"),playbackRates:A()},o=n.settings_view_template(a);t(e).append(o),b(),d(),T(),r()},setVideoElement:function(e){y=e,y.addEventListener("ratechange",h,!1)},setOnHideCallback:function(e){D=e},open:function(){w=!0,o()},close:function(){w=!1,r()},isOpen:function(){return w},setAvailableRates:function(e){B=e.length>0?e:Q,M=B[0],R=B[B.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,f){function p(){S=R.getDuration(),i.requiresManualPreload()&&u(),k("loadedmetadata"),k("canplay"),h.removeEventListener("playing",p),k("playing"),k("play")}function g(){if(w=R.getAvailablePlaybackRates(),w.length>1&&(T=!0),i.requiresManualPreload())return s(),h.addEventListener("playing",p),void 0;var e=R.getVolume();R.setVolume(0);var t=setTimeout(function(){throw"YouTube Plugin Error: Initial play failed to trigger within 10 seconds"},1e4);h.addEventListener("play",function n(){h.removeEventListener("play",n),clearTimeout(t),R.pauseVideo(),R.seekTo(f),R.setVolume(e),h.addEventListener("playing",p),s()}),R.playVideo()}if(!(this instanceof o))return new o;var h=this,m={},v=0,S=0,A=0,b=1,C=-1,T=!1,E=50,w=[],y=3;"number"!=typeof f&&(f=0),this.addEventListener=function(e,t){m[e]=m[e]||[],m[e].push(t)},this.removeEventListener=function(e,t){if(m[e]&&0!==m[e].length){var n=m[e].indexOf(t);-1!==n&&m[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];h.addEventListener(a,e[a])}},this.unbind=function(e,t){t!==void 0?this.removeEventListener(e,t):m[e]=[]},this.off=this.unbind;var I=function(e){switch(e.data){case 2:k("error","Invalid video url.");break;case 5:k("error","The video cannot be played.");break;case 100:k("error","This video has been removed from YouTube and is no longer available for playback.");break;case 101:case 150:k("error","This video is unavailable. Its YouTube owner either disabled embedding or marked it private.");break;default:}};c&&this.addEventListener("error",c);var N=function(e){switch(C=e.data,e.data){case YT.PlayerState.PAUSED:k("pause");break;case YT.PlayerState.ENDED:k("ended");break;case YT.PlayerState.PLAYING:k("playing"),k("play");break;case YT.PlayerState.BUFFERING:}},M=function(e){b=e.data,k("ratechange",b)};n.getShowYouTubeAnnotations()&&(y=1);var R=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,playsinline:1,start:f},events:{onReady:g,onStateChange:N,onPlaybackRateChange:M,onError:I}}),k=function(e,t){var n={type:e,target:h,data:t};if(m.hasOwnProperty(e))for(var i=m[e].slice(0),a=0;i.length>a;a++)i[a](n)},P=new a(this),x=function(){return{start:function(){return 0},end:function(){return S*A},length:1}};Object.defineProperty(this,"buffered",{get:x}),Object.defineProperty(this,"currentTime",{get:function(){return v},set:function(e){+e>h.buffered.end()?R.seekTo(+e,!0):R.seekTo(+e),k("seeked")}}),Object.defineProperty(this,"duration",{get:function(){return S}}),Object.defineProperty(this,"paused",{get:function(){return C===YT.PlayerState.PAUSED}}),Object.defineProperty(this,"playbackRate",{get:function(){return b},set:function(e){R.setPlaybackRate(+e)}}),Object.defineProperty(this,"played",{get:function(){return P}}),Object.defineProperty(this,"seekable",{get:function(){return{start:function(){return 0},end:function(){return S},length:1}}}),Object.defineProperty(this,"supportPlaybackRate",{get:function(){return T}}),Object.defineProperty(this,"validRateSettings",{get:function(){return w}}),Object.defineProperty(this,"volume",{get:function(){return E},set:function(e){var t=100*e;R.setVolume(t),E=t}}),this.play=function(){R.playVideo()},this.pause=function(){R.pauseVideo()},this.attr=function(e,t){var n=document.getElementById(r);n.setAttribute(e,t)},this.load=function(){};var L=function(){if(void 0!==R.getCurrentTime){var e=R.getCurrentTime();v!==e&&(v=e,k("timeupdate",e));var t=R.getVideoLoadedFraction;if(void 0!==t&&null!==t){var n=R.getVideoLoadedFraction();A!==n&&(A=n,k("progress"))}}};setInterval(L,250)};e.TSC.youTube=e.TSC.youTube||{},e.TSC.youTube.init=function(t,n,i,a,r,s,u,c){var l=/v=(.{11})/i,d=l.exec(t),f=d?d[1]:"*";e.onYouTubeIframeAPIReady.ready?e.TSC.youTube.player=new o(f,n,i,a,r,s,u,c):e.onYouTubeIframeAPIReady.queued.push(function(){e.TSC.youTube.player=new o(f,n,i,a,r,s,u,c)})},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,n){e.TSC=e.TSC||{},e.TSC.searchTool=function(){function e(e,n){function i(e){var i=t("").addClass("foundSearchText").text(n);e.append(i)}for(var a=t(""),r=e.split(n),o=0;r.length>o;o++){var s=document.createTextNode(r[o]);a.append(s),r.length-1>o&&i(a)}return a}function i(n,i){for(var a=[],r=n.items.length,o=i.toLowerCase().split(" "),s=0;r>s;s++){var u="",c=n.items[s],l=o[0];if(!(0>c.toLowerCase().indexOf(l))){for(var d=0;o.length>d;d++)u+=s+d>=r?"":0==d?n.items[s+d]:" "+n.items[s+d];if(-1!=u.toLowerCase().indexOf(i.toLowerCase())){var f;f=4>o.length?Math.floor(5-o.length/2):2;for(var p,g,h="",m="",v=0;f>v;v++)s-f+v>=0&&(h+=n.items[s-f+v]+" "),r>s+o.length+v&&(m+=" "+n.items[s+o.length+v]);p=e(u,i),g=t(""),g.append(document.createTextNode("..."+h)),g.append(p),g.append(document.createTextNode(m+"..."));var S=n.file,A="";void 0!==S&&(A="data-file='"+S+"'"),a.push({text:g,start:n.start,file:n.file,imageRef:void 0,imageRect:void 0})}}}return a}function a(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 r(e,t){for(var n=[],r=a(e,t,!0),o=r.length,s=0;o>s;s++)n=n.concat(i(r[s],t));return n}function o(e){var t=[];return t=t.concat(a(n.getTocItemArray(),e)),t=t.concat(a(n.getCaptionItemArray(),e)),t=t.concat(r(n.getScreenTextItemArray(),e)),1>n.getCaptionItemArray().length&&n.getSpeechTextItemArray().length>0&&(t=t.concat(r(n.getSpeechTextItemArray(),e))),t}return{searchXmpForString:o}}()}(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,S,A,b){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:Wi,action:e,label:t,value:n})),u.getGoogleAnalyticsID()&&_gaq.push(["_trackEvent",Wi,e,t])}function p(){return h&&h.getQuizID()}function g(e){mn&&Ii&&e.keyCode===Yi&&(e.originalEvent.preventDefault(),vn.paused?vn.play():vn.pause())}function C(){i.isTouchInterface()||ii.bind("keydown",g)}function T(){i.isTouchInterface()||ii.unbind("keydown",g)}function E(e,t){t=t.replace(/\)/gi,"\\)"),t=t.replace(/\(/gi,"\\("),e.css("background-image","url("+t+")")}function w(e){E(t("#videoClickToPlayLink, #videoClickToReplayLink"),e)}function y(e){-1!=hi&&t("#tableOfContentsList li:nth-child("+hi+") ").removeClass("selectedTocItem"),hi=e,t("#tableOfContentsList li:nth-child("+hi+") ").addClass("selectedTocItem")}function I(){var e,n,i,a,r,o;0>si||(e=An.width(),n=An.height(),i=si*L(),a=ui*L(),r=Math.max((e-i)/2,0),o=Math.max((n-a)/2,0),$n.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 N(){t("#searchList").remove(),Fn.show(),Y()}function M(){if(!(void 0===mn||0>=ui)){var e=ui;"under"===f.getCaptionPosition()&&(e=ui*((Sn.height()-Tn.height())/(ui+f.getCaptionBarHeight())),An.css("height",e+"px"),Jn.css("height",f.getCaptionBarHeight()*L()+"px"));var t=Math.round(Number(f.getCaptionFontSize())*L());t=f.getMinCaptionFontSize()>t?f.getMinCaptionFontSize():t,t=t>f.getMaxCaptionFontSize()?f.getMaxCaptionFontSize():t,jn.css("font-size",t)}}function R(){bi=ei.width(),Ci=Tn.height(),ei.attr("width",bi+"px"),ei.attr("height",Ci+"px")}function k(){var e=ei[0].getContext("2d");s.drawMarkers(1e3*vn.duration,e,bi,Ci)}function P(){t("#videoSidebarContentWrapper").css({top:t("#videoSidebarHead").height()+"px"})}function x(){Li&&P();var e=mn&&vn;e&&vn.duration&&p()&&s.quizEnabled()&&(R(),k(),s.viewOpen()&&s.pointViewAt(O(Ai))),f.hasCaptionItems()&&M(),f.hasHotspotItems()&&void 0!==mn&&I()}function L(){var e=1;if(void 0!==mn&&si>0&&mn.width()>0){var t=mn.width()/si,n=mn.height()/ui;e=Math.min(t,n)}return e}function Q(){Li&&!i.supportsFullScreenKeyboardInput()&&t("#videoSidebar").removeClass("search_disabled")}function B(){u.getDisableControls()||Tn.show(),It(),t("#ctoplay").hide(),Ft()}function D(e){(void 0===e.target.id||""+e.target.id===ln)&&(wi=!wi,wi?(kn.removeClass("fullscreen_enter_button_normal"),kn.addClass("fullscreen_leave_button_normal")):(Q(),kn.removeClass("fullscreen_leave_button_normal"),kn.addClass("fullscreen_enter_button_normal"),t("body").css("margin-left","1px"),Ni=!0,x(),t("body").css("margin-left","0"),Ni=!0),x())}function _(){zi=!0,si=vn.videoWidth,ui=vn.videoHeight,i.isIPhoneOrIPod()&&ni.css("cursor","pointer"),mn.bind("ratechange",function(){V(),q()},!1),mn.bind("play",function(){V(),q()},!1),ci=0,Ji?B():!p()||p()&&(!s.quizEnabled()||s.getQuizReady())?B():(vn.pause(),qt(s.getLastStatusMessage())),d.isEnabled()&&!d.isPercentWatchedInitialized()&&d.initPercentWatched(1e3*vn.duration),!i.supportsFullScreen()||i.isIPad()||i.isAndroid()?e==e.top||u.getDisableFullframeMode()?kn.remove():(kn.show(),Mi=!0):(ii.on(i.getFullScreenChangeEventNames(),D),Ri=!0),Ni=!0,f.hasHotspotItems()&&an(),x()}function O(e){var t=Dn.offset().left;if(mn&&vn.duration&&vn.duration>0){var n=Math.max(0,Math.min(e,vn.duration)),i=n/vn.duration;t+=i*Dn.width()}return t}function G(){!Ii||0===vn.duration||p()&&s.quizEnabled()&&!s.getQuizReady()||(ci=vn?vn.currentTime>vn.duration?vn.duration:vn.currentTime:0,Fi=Number(vn.currentTime.toFixed(2))>=Number(vn.duration.toFixed(2)),li=1e3*ci,st(),d.isEnabled()&&U(),!_i&&p()&&s.quizEnabled()&&H(),f.hasHotspotItems()&&q(),f.hasCaptionItems()&&F(),u.getReportScormComplete()&&1===d.getPercentageWatched()&&(u.setReportScormComplete(!1),t.isFunction(userSubmitVideoCompletedToLMS)&&userSubmitVideoCompletedToLMS()),_i||-1!==Si||!Fi||qi||(qi=!0,vn.pause(),mt()))}function z(){t.each(f.getHotspotItemArray(),function(e,t){t.hasPausedAtEnd=!1})}function V(){t.each(f.getHotspotItemArray(),function(t,n){n.timer&&e.clearTimeout(n.timer),n.isActive=!1,void 0!=n.jqel&&n.jqel.remove()})}function q(){t.each(f.getHotspotItemArray(),function(t,n){var i;if(l.isPlaylist()&&(i=l.getCurrentMedia().mediaSrc),void 0===n.file||n.file===i)if(ci>n.start&&n.end>=ci){n.isActive===!1&&(n.isActive=!0,n.jqel.appendTo($n.find("map")));var a=1>=n.end-ci;if(void 0!==n.pause&&n.pause===!0&&!n.hasPausedAtEnd&&a&&!vn.paused){var r=10/(30*c.getPlaybackRate()),o=(n.end-ci)/c.getPlaybackRate()-r;e.clearTimeout(n.timer),n.timer=setTimeout(function(){vn.pause(),n.hasPausedAtEnd=!0},1e3*o)}}else n.isActive&&(z(),V())})}function F(){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),ci>a.start&&a.end>=ci&&e&&(n=!0,a.text!==jn.text()&&(i=a))}),n?null!==i&&(Jn.removeClass("captionHAlignLeft"),Jn.removeClass("captionHAlignCenter"),Jn.removeClass("captionHAlignRight"),Jn.addClass(i.hAlignClass),Jn.removeClass("captionVAlignTop"),Jn.removeClass("captionVAlignBottom"),Jn.addClass(i.vAlignClass),jn.html(i.htmlText),pn&&pn.call(i.htmlText)):jn.html("")}function H(){var e=s.findQuestionSet(li);if(e.id>=0){if(Si!==e.id){if(T(),Nt(),Rt(!1),qn&&K(!1),Si=e.id,Ai=e.markerTime/1e3,vn.pause(),setTimeout(function(){rt(Ai,!0)},100),wi&&!i.supportsFullScreenKeyboardInput()&&rn("#videoWrapper",r.getString("txtQuizFullscreenMode"),!0),s.displayConfirm(e.id),s.pointViewAt(O(Ai)),d.isEnabled()){d.markTimeWatched(e.markerTime);var t=d.getPercentageWatchedForVideoSegment(s.findPrevMarkerTimeForMarker(e.id),e.markerTime);s.updatePercentWatchedForQuestionSet(Si,t)}kt(!1)}}else Si=-1}function U(){var e=Math.round(100*d.getPercentageWatched());d.markTimeWatched(li),"function"==typeof onVideoWatchedPercentage&&onVideoWatchedPercentage(.01*e,d.getCurrentPlayTime()),u.getTrackEvents()&&e>=Ti+Ei&&(Ti+=Ei,e>Ti&&(Ti=Ei*Math.floor(e/Ei)+Ei),Ti>100&&(Ti=100),n("Video_Percent_Viewed","Viewed: "+Ti+" Percent"))}function W(e){e>1?e=1:0>e&&(e=0),vn.volume=e}function J(e,n,i,a,r,o,s){var u,c,d,p,g="",h="",m=1,v=0,S=0,A=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]),w=Number(T[3]);c="hasThumbImage",g="style='height:"+w+"px'",b>w&&(C=!0,g="style='height:"+b+"px'"),f.getTocCellLayoutType()&&"imageOnly"===f.getTocCellLayoutType()&&void 0===s?v=(gi-E-A)/2:E>gi/2-A?(m=(gi/2-A)/E,E=gi/2-A,S=Math.floor((T[3]-T[3]*m)/2)):S=Math.floor((b-T[3]*m)/2),p={},p.width=Number(gi-E-40)+"px",p.left=Number(E+5)+"px",p.overflow="hidden",p["line-height"]="1.2em",p["max-height"]="4.8em",d=f.getTocCellLayoutType()&&"imageOnly"===f.getTocCellLayoutType()?"":"string"==typeof n?t('').text(n):t('').append(n),u=t("").append(d)}else g="",c="noThumbImage",u="string"==typeof n?document.createTextNode(n):n;var I="";if(t(e).append(I),r){var N=r.getContext("2d");r.width=Number(T[2])*m,r.height=Number(T[3])*m,N.scale(m,m),Hn?N.drawImage(Hn,T[0],T[1],T[2],T[3],0,0,T[2],T[3]):(N.fillStyle="#000000",N.fillRect(0,0,T[2],T[3])),t(r).css("margin-left",v),t(r).css("margin-top",S),t(e+" li:last-child").append(r)}if(t(e+" li:last-child").append(u),r){t(e+" li:last-child .tocItemLabel").css(p);var M=0,R=b;t(qn).is(":visible")?(M=t(e+" li:last-child .tocItemLabel").height(),C||(R=t(e+" li:last-child").height())):(K(!0),M=t(e+" li:last-child .tocItemLabel").height(),C||(R=t(e+" li:last-child").height()),K(!1));var k=-8;C||1!==m||(k=4);var P=-Number(R+k);P+=(R-M)/2,S=Math.floor((R-T[3]*m)/2),t(r).css("margin-top",S),t(e+" li:last-child .tocItemLabel").css("top",P+"px")}l.isPlaylist()&&y(hi)}function j(e){Hn=new Image,Hn.onload=function(){Y()},Hn.onerror=function(){Hn.onload=void 0,Hn.onerror=void 0,Hn=void 0,Y()},Hn.src=e}function Y(){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 Z(){var e,n,i,a=Un.width,r=Un.height,o=.6;a>=r?a>gi-20?(e=(gi-20)/a,n=gi-20,i=r*e):(e=1,n=a,i=r):r>gi-20?(e=(a*o-20)/r,i=gi*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 K(e){e?(qn.show(),P(),kt(!1)):(qn.hide(),Di||kt(!0))}function X(e){if(Oi=!1,!i.isTouchInterface()||!Gi){e.stopImmediatePropagation(),e.preventDefault();var n=t(this).attr("data-time"),a=t(this).attr("data-file");if(void 0!==a){V();var r=l.getMediaIndexBySrc(a);r===l.getCurrentMediaIndex()?rt(n):(l.setCurrentMedia(r),Zt()),y(r+1)}else rt(n)}}function $(){K(Qi),qn.toggleClass("right","right"===u.getSidebarLocation()),u.getIsSearchable()?(Wn.keyup(function(){if(""!=Wn.val()){Fn.hide(),t("#searchList").remove(),t("#videoSidebarContent").append("");for(var e=A.searchXmpForString(Wn.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 N()}),Rn.click(function(){Wn.val(""),N()})):t("#searchArea").remove(),f.getTocImageSrc()?(Un=new Image,Un.onload=Z,Un.src=f.getTocImageSrc()):t("#videoSidebarHead .video_title").text(f.getTocTitle()),f.tocContainsThumbs()?j(f.getTocThumbImageSrc()):Y(),Bn.bind("pointerdown",et),t("#videoSidebarContent").on("pointerup","li",X),Gi=!1,t("#videoSidebarContent").on("pointerdown","li",function(){Gi=!1}),t("#videoSidebarContent").on("pointermove ","li",function(){i.isTouchIEInterface()||(Gi=!0)})}function et(e){var t;_i=!0,xt(),vn.paused?t=!1:(t=!0,vn.pause()),it(),ot(e.originalEvent.pageX),Nt(),ii.bind("pointermove",function(e){e.preventDefault(),ot(e.originalEvent.pageX)}),ii.bind("pointerup",function(e){Lt(),_i=!1,at(),ot(e.originalEvent.pageX),t&&!Fi&&vn.play(),ii.unbind("pointermove pointerup"),It(),G()})}function tt(){mn.bind("durationchange",function(){nt(),ai&&e.clearInterval(ai),ai=e.setInterval(nt,1e3)}),i.isTouchInterface()||Dn.bind("pointerdown",et)}function nt(){var t;mn&&vn&&(vn.buffered&&vn.buffered.length&&(t=Math.min(100,Math.ceil(100*vn.buffered.end(vn.buffered.length-1)/vn.duration))),_n.width((t||0)+"%"),100===t&&ai&&e.clearInterval(ai))}function it(){document.body.focus(),document.onselectstart=function(){return!1}}function at(){document.onselectstart=function(){return!0}}function rt(e,t){V(),z(),void 0===t&&(t=!1);try{for(var n=!1,i=0;vn.seekable.length>i;i++){var a=vn.seekable.start(i),r=vn.seekable.end(i);e>=a&&r>=e&&(n=!0)}n?ki?di=e:(vn.currentTime=e,st()):t&&setTimeout(function(){rt(e,!0)},100)}catch(o){t&&setTimeout(function(){rt(e,!0)},100)}}function ot(e){var t=e-Dn.offset().left,n=t/Dn.width();On.width(Math.min(100,Math.max(0,100*n))+"%"),V(),Oi=!1,rt(Number(n*vn.duration)),ut()}function st(){On.width(100*vn.currentTime/vn.duration+"%"),ut()}function ut(){Gn[0].innerHTML=ct(vn.currentTime),vn.duration&&(zn[0].innerHTML=ct(vn.duration))}function ct(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 lt(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){Yn.removeClass("volume_button_high_normal"),Yn.removeClass("volume_button_med_normal"),Yn.removeClass("volume_button_low_normal"),Yn.removeClass("volume_button_normal"),Yn.removeClass("unmute_button_normal"),t.value>70?Yn.addClass("volume_button_high_normal"):t.value>30?Yn.addClass("volume_button_med_normal"):t.value>0?Yn.addClass("volume_button_low_normal"):Yn.addClass("unmute_button_normal"),W(t.value/100);try{localStorage.setItem("volume",t.value)}catch(n){}}});try{W(void 0==localStorage.getItem("volume")?100:localStorage.getItem("volume")/100)}catch(i){}}function dt(){Xn.removeClass(Ui)}function ft(){-1!==pi&&(clearTimeout(pi),pi=-1),Xn.unbind("mouseenter"),Xn.unbind("mouseleave"),Xn.addClass(Ui)}function pt(){V(),Li&&Qi&&(t(this).removeClass("toc_off_button_normal"),t(this).addClass("toc_button_normal"),K(!1)),Cn.show()}function gt(e,t){qi=!1,Oi=!1,Cn.hide(),Sn.css("visibility","visible"),V(),C(),l.isPlaylist()||rt(e),t&&(l.isPlaylist()?(l.setCurrentMedia(0),y(l.getCurrentMediaIndex()+1),Zt()):vn.play())}function ht(){document.exitFullscreen?document.exitFullscreen():document.webkitExitFullscreen?document.webkitExitFullscreen():document.msExitFullscreen?document.msExitFullscreen():document.mozCancelFullScreen&&document.mozCancelFullScreen()}function mt(){if(Math.floor(vn.currentTime)0&&(Xn.bind("mouseenter",function(){-1!=pi&&(clearTimeout(pi),pi=-1)}),Xn.bind("mouseleave",function(){pi=setTimeout(function(){ft(),pi=-1},1e3)}),-1!=pi&&(clearTimeout(pi),pi=-1),pi=setTimeout(function(){ft(),pi=-1},1e3))}),Yn.click(function(){var e;Pi=!Pi,Pi?(fi=vn.volume,e=0,Zn.slider("value",[0])):(e=fi,Zn.slider("value",[100*fi])),Yn.removeClass("volume_button_high_normal"),Yn.removeClass("volume_button_med_normal"),Yn.removeClass("volume_button_low_normal"),Yn.removeClass("volume_button_normal"),Yn.removeClass("unmute_button_normal"),e>.7?Yn.addClass("volume_button_high_normal"):e>.3?Yn.addClass("volume_button_med_normal"):e>0?Yn.addClass("volume_button_low_normal"):Yn.addClass("unmute_button_normal"),W(e)}),Kn.length>0?(lt(Kn,"horizontal"),Xn.show()):lt(Zn,"vertical"),f.hasCaptionItems()&&("under"===f.getCaptionPosition()?(xi=!0,Jn.css("background",f.getCaptionBg()),Jn.addClass("caption_under_video"),Jn.removeClass("hide"),Tn.addClass("caption_under_video"),M()):a(),Ln.bind("click",function(){xi=!xi,a()})),i.isAndroid()?Pn.hide():Ji?S.player.supportPlaybackRate?r(S.player.validRateSettings):Pn.hide():r(),kn.click(function(e){if(Mi)vt();else if(wi)u.getIsSearchable()&&Q(),ht();else{var n=document.getElementById(ln);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):(Li&&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()}),Li&&(xn.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"===qn.css("display")?K(!0):K(!1)}),u.getSidebarEnabled()?(Qi=!0,xn.removeClass("toc_off_button_normal"),xn.addClass("toc_button_normal"),K(!0)):(xn.removeClass("toc_button_normal"),xn.addClass("toc_off_button_normal"))),i.isIPad()||i.isAndroid()?(t("body").on("blur","textarea",function(){Vi=!1,Yt()&&b.clear(),yi&&wt()}),t("body").on("focus","textarea",function(e){if(Vi=!0,Yt()){var t=e.target;b.watch(t)}yi&&Et()}),t("body").on("blur","input:text",function(){Vi=!1,Yt()&&b.clear(),yi&&wt()}),t("body").on("focus","input:text",function(e){if(Vi=!0,disableTouchControls(),Yt()){var t=e.target;b.watch(t)}yi&&Et()}),e.parent.onorientationchange=function(){yi&&(Bi?(t("#searchBox").blur(),setTimeout(yt,500)):yt())}):i.isTouchInterface()&&Dn.bind("pointerdown",et),C(),u.getDisableControls()&&Mt()}function Ct(e){It()||Rt(!0),gt(e,!0),u.getTrackEvents()&&(u.getAltEventCategoryAsFilename()?n("Video_Replay",Wi):n("Video_Replay",l.getCurrentMediaFirstMediaSourceAsString()))}function Tt(){Ct(0)}function Et(){ii.unbind("touchmove"),ii.unbind("gesturestart"),t(e.parent).unbind("gesturestart"),ii.unbind("gestureend"),t(e.parent).unbind("gestureend")}function wt(){ii.bind("touchmove",function(e){t.contains(Fn[0],e.target)||p()&&s.quizEnabled()&&s.viewOpen()||e.preventDefault()}),ii.bind("gesturestart",function(e){e.preventDefault()}),t(e.parent).bind("gesturestart",function(e){e.preventDefault()}),ii.bind("gestureend",function(){vt()}),t(e.parent).bind("gestureend",function(){vt()})}function yt(){x()}function It(){return!u.getAutoHideControls()||f.hasCaptionItems()&&"under"===f.getCaptionPosition()?!1:(i.isTouchInterface()?ni.bind("pointerover pointerup",function(){Rt(!0)}):(ni.hover(Rt,Mt),ni.bind("pointermove",function(){Rt(!0)})),Lt(),!0)}function Nt(){xt(),ni.unbind("pointermove pointerenter pointerleave pointerover pointerup mouseenter mouseleave")}function Mt(){kt(!1),Bi||_i||c.isOpen()||(Di=!0,Tn.stop(!0,!0),Tn.fadeOut(oi),Qi&&(qn.stop(!0,!0),qn.fadeOut(oi)),-1!==pi&&ft(),Ji&&ti.removeClass("hide"))}function Rt(e){u.getDisableControls()||(Di&&(Di=!1,Tn.stop(!0,!0),Tn.fadeIn(oi),Qi?(qn.stop(!0,!0),qn.fadeIn(oi)):kt(!0),e&&st(),Ni&&(Ni=!1,x())),e&&Lt(),Ji&&ti.addClass("hide"))}function kt(e){i.isNuevoApp()&&(document.location=e?"nuevo://shownavbar":"nuevo://hidenavbar")}function Pt(){if(i.isNuevoApp()){var e=document.location;document.location="nuevo://hasPlayedToEnd?url="+e}}function xt(){e.clearTimeout(mi)}function Lt(){xt(),u.getAutoHideControls()&&(mi=e.setTimeout(Mt,vi))}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),y(l.getCurrentMediaIndex()+1),Zt()}else if(""!==a[r].jumpTime)Oi=!1,rt(Number(a[r].jumpTime)),vn.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 vn.play()}function Bt(){d.isEnabled()&&(d.setVideoLoadEndTime((new Date).getTime()),u.getTrackEvents()&&(u.getAltEventCategoryAsFilename()?u.getAltLoadTimeAsSeconds()?n("Video_Loading_Time_In_Seconds",Wi,d.getVideoLoadTime()/1e3):n("Video_Loading_Time",Wi,d.getVideoLoadTime()):u.getAltLoadTimeAsSeconds()?n("Video_Loading_Time_In_Seconds",l.getCurrentMediaFirstMediaSourceAsString(),d.getVideoLoadTime()/1e3):n("Video_Loading_Time",l.getCurrentMediaFirstMediaSourceAsString(),d.getVideoLoadTime()))),Ii=!0}function Dt(){ki=!0}function _t(){ki=!1,di>-1&&(rt(di),di=-1)}function Ot(){if(bn.hide(),mn.unbind("playing"),u.getScormStartPt()){var e=u.getScormStartPt();vn.duration>e&&rt(Number(e),!0)}if(u.getJumpToTime()){var t=un(u.getJumpToTime());vn.duration>t&&rt(Number(t),!0)}u.getDebugUIMode()&&hn&&hn.call(this)}function Gt(){f.hasHotspotItems()&&$n.on("click","area",Qt),f.hasCaptionItems()&&(jn.css({"font-family":f.getCaptionFontFamily(),color:f.getCaptionTextColor(),background:f.getCaptionBg()}),xi=u.getCaptionsEnabled())}function zt(e,t,n){n||(n=!1);var a=""}function Vt(){qt(Ki.getString("videoLoading"))}function qt(e){if(Zi.viewOpen())Zi.setViewMessage(e);else{var t=Zi.getViewMarkup(e);ni.append(t),Zi.showView()}}function Ft(){Zi.viewOpen()&&Zi.removeView()}function Ht(){return Ji?S.player:t("video")[0]}function Ut(){p()&&s.quizEnabled()?Wt():jt()}function Wt(){bn.hide(),s.init(u.getEnforceLinearAssessment(),Ht)}function Jt(e){rn("#tscVideoContent",e.data,!1)}function jt(){if(fn&&fn.call(),Ji)mn=e.TSC.youTube.player,vn=e.TSC.youTube.player;else{var n=zt(l.getCurrentMedia(),!1);t("#videoDiv").html(n),mn=t("video"),mn.length>0&&(vn=mn[0])}if(mn.bind({loadedmetadata:_,playing:Ot,canplay:Bt,seeking:Dt,seeked:_t,timeupdate:G,progress:nt}),Sn.removeClass("hide"),Gt(),bt(),Li&&$(),p()&&s.quizEnabled()){var i=t("
",{"class":"quizMarker"});ni.append(i),m.setSize(i.width()),m.setColor(i.css("color")),i.remove(),ei.show()}Ni=!0,x(),Tn.hide(),Yt()&&b.setOnBugCallback(function(e){1===e&&rn("#videoWrapper","For the best experience, avoid tapping the video while inputting text.",!0)}),Zt()}function Yt(){return i.isIPad()&&8>i.getIOSMajorVersion()&&Ji&&(Li||p()&&s.quizEnabled()&&h.quizContainsTextInputQuestions())}function Zt(){qi=!1,Oi=!1,l.isPlaylist()&&(l.onFirstMedia()?(Nn.removeClass("previous_button_normal"),Nn.addClass("previous_button_disabled")):(Nn.addClass("previous_button_normal"),Nn.removeClass("previous_button_disabled")),l.onLastMedia()?(Mn.removeClass("next_button_normal"),Mn.addClass("next_button_disabled")):(Mn.addClass("next_button_normal"),Mn.removeClass("next_button_disabled")),d.isEnabled()&&(d.clearPercentWatched(),Ti=0),vn.src=l.getCurrentMedia().mediaSrc),i.isIPad()||i.isAndroid()?vn.play():(vn.load(),vn.play()),d.isEnabled()&&d.setVideoLoadStartTime((new Date).getTime()),u.getTrackEvents()&&Hi&&(Hi=!1,u.getAltEventCategoryAsFilename()?n("Video_Started",Wi):n("Video_Started",l.getCurrentMediaFirstMediaSourceAsString()),n("Video_Percent_Viewed","Viewed: 0 Percent"))}function Kt(e){switch(e.type){case"COMPLETE":case"REVIEW":if(qn&&Qi?K(!0):kt(!0),C(),It(),k(),"REVIEW"===e.type&&u.getEnforceLinearAssessment()){var t=s.findPrevMarkerTimeForMarker(Si);Si=-1,rt(t/1e3),vn.play()}else vn.play();break;case"BEGIN":case"SKIP":s.setViewContainer("#videoWrapper"),bn.unbind("click",$t),mn?zi&&s.getQuizReady()&&(B(),vn.play(),Ni=!0,x()):jt(),s.startTrackingProgress();break;case"ERROR":mn||jt(),rn("#videoWrapper",r.getString("txtVideoQuizNetworkErrorMessage"),!0);break;case"STATUS":qt(e.message);break;case"SUBMITTED":Ft()}}function Xt(n,a){ni=t(n),cn=n,ln=cn.replace(/^[#]/,""),Li=a,ji=i.requiresManualPreload()&&Ji,ni.html(Xi),Tn=t("#controls"),En=Tn.find(".controls_left"),wn=Tn.find(".controls_right"),yn=t("#rewind"),In=t("#play"),Nn=t("#previous"),Mn=t("#next"),Yn=t("#volume"),Ln=t("#closedCaptionButton"),xn=t("#tocButton"),Pn=t("#settingsButton"),kn=t("#fullscreen_enter_button"),Zn=t("#volume_slider_vertical"),Kn=t("#volume_slider_horizontal"),Xn=t("#volume_slider_container"),Qn=t("#progress"),Bn=t("#progress_box"),_n=t("#load_progress"),On=t("#play_progress"),Dn=t("#progress_scrubbar_track"),Gn=t("#current_time_display"),zn=t("#duration_display"),Vn=t("#scrubbar_scrubber"),qn=t("#videoSidebar"),Fn=t("#tableOfContentsList"),Wn=t("#searchBox"),Rn=t("#clearSearchButton"),Jn=t("#caption"),jn=t("#caption > p"),$n=t("#hotspots"),ei=t("#markers"),Sn=t("#videoWrapper"),An=t("#videoDiv"),bn=t("#videoClickToPlayLink"),Cn=t("#videoClickToReplayLink"),ti=t("#youtubePointerEventWorkaround"),ii=t(document),ji&&bn.addClass("noClickToPlayEvents"),ni.css("background-color",u.getBackgroundColor()),u.getPosterImageSrc()&&w(u.getPosterImageSrc()),ni.fadeIn(oi),Cn.fadeIn(oi),Cn.hide(),(i.isIPad()||i.isAndroid())&&(Yn.hide(),kn.hide(),Yn.remove()),Li&&xn.removeClass(Ui),f.hasCaptionItems()&&("under"===f.getCaptionPosition()?u.setAutoHideControls(!1):Ln.removeClass(Ui)),l.isPlaylist()?(Nn.removeClass(Ui),Mn.removeClass(Ui)):(Nn.addClass(Ui),Mn.addClass(Ui)),x(),t(e).resize(function(){Ni=!0,x()}),Wn.focus(function(){Bi=!0,Wn.val()==Ki.getString("search")&&Wn.val(""),T(),xt()}),Wn.blur(function(){Bi=!1,""===Wn.val().replace(/ /g,"")&&Wn.val(Ki.getString("search")),C(),Lt()})}function $t(e){e.preventDefault(),dn&&dn(),p()&&s.quizEnabled()?Wt():jt()}function en(){TSC.playerView.displayMessagePanel("#tsc_overlay",TSC.localizationStrings.getString("txtQuizErrorMessage"),!1)}function tn(){t("#alertDialog").hide()}function nn(){Wn.val(Ki.getString("search"));var e=i.isIPad()&&!i.isNuevoApp();(e||i.isAndroid()||p()&&s.quizEnabled())&&!u.getMobileWebViewCanAutoPlay()&&u.setAutoPlayMedia(!1),u.getAutoPlayMedia()===!0&&void 0===u.getJumpToTime()?(dn&&dn(),setTimeout(jt,80)):bn.bind("click",$t),p()&&s.quizEnabled()?(s.setViewControlBarOffset(Tn.height()),s.addEventListener("COMPLETE",Kt),s.addEventListener("REVIEW",Kt),s.addEventListener("BEGIN",Kt),s.addEventListener("SKIP",Kt),s.addEventListener("ERROR",Kt),s.addEventListener("STATUS",Kt),s.addEventListener("SUBMITTED",Kt),s.addEventListener("SHOW_LOADING_MESSAGE",Vt),s.addEventListener("HIDE_LOADING_MESSAGE",Ft),s.addEventListener("SHOW_SUBMISSION_RETRY_MESSAGE",en),s.addEventListener("HIDE_SUBMISSION_RETRY_MESSAGE",tn),void 0!==u.getJumpToTime()&&setTimeout(Wt,80)):void 0!==u.getJumpToTime()&&setTimeout(jt,80),(u.getTrackEvents()||u.getReportScormComplete()||p()&&s.quizEnabled())&&d.setEnabled(!0),ri=!0,u.getDebugUIMode()&&gn&&gn.call(this)}function an(){$n.removeClass(Ui),$n.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])/si,yscale:Math.round(n.points[e+1])/ui};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*$n.width()):0),e.push(this.viewpoints[t].yorig>=0?Math.round(this.viewpoints[t].yscale*$n.height()):0);return e.join(",")},n.jqel=t("",{shape:"poly",coords:n.pointsToCoords(),hotspot_index:n.index,alt:"Hotspot",href:"#"})}})}function rn(e,n,i){n=""+n+"",i&&(n+="