jQuery.fn.cpaPrint=function(n){var r,u,t;if(this.size()>1){this.eq(0).print();return}if(this.size()){if(r="printer-"+(new Date).getTime(),u=$("<iframe name='"+r+"'>"),u.css("width","1px").css("height","1px").css("position","absolute").css("left","-9999px").appendTo($("body:first")),n.addClasses!=undefined&&n.addClasses!=null)for(t=0;t<n.addClasses.length;t++)$(n.addClasses[t][0]).addClass(n.addClasses[t][1]);var f=window.frames[r],i=f.document,e=$("<div>").append($("link").clone());if(i.open(),i.write('<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">'),i.write("<html>"),i.write("<head>"),i.write("<title>"),i.write(document.title),i.write("<\/title>"),i.write(e.html()),i.write("<\/head>"),i.write("<body>"),n.addAtBeginning!=undefined&&n.addAtBeginning!=null)for(t=0;t<n.addAtBeginning.length;t++)i.write(n.addAtBeginning[t]);if(i.write(this.html()),i.write("<\/body>"),i.write("<\/html>"),i.close(),f.focus(),f.print(),n.addClasses!=undefined&&n.addClasses!=null)for(t=0;t<n.addClasses.length;t++)$(n.addClasses[t][0]).removeClass(n.addClasses[t][1]);setTimeout(function(){u.remove()},6e4)}},function(){var n={jQuery:"http://code.jquery.com/jquery-latest.min.js"},f=function(){(function(n){n.fn.idTabs=function(){for(var t={},i,r=0;r<arguments.length;++r){i=arguments[r];switch(i.constructor){case Object:n.extend(t,i);break;case Boolean:t.change=i;break;case Number:t.start=i;break;case Function:t.click=i;break;case String:i.charAt(0)=="."?t.selected=i:i.charAt(0)=="!"?t.event=i:t.start=i}}return typeof t["return"]=="function"&&(t.change=t["return"]),this.each(function(){n.idTabs(this,t)})};n.idTabs=function(t,r){var s=n.metadata?n(t).metadata():{},u=n.extend({},n.idTabs.settings,s,r),o,e,f;return u.selected.charAt(0)=="."&&(u.selected=u.selected.substr(1)),u.event.charAt(0)=="!"&&(u.event=u.event.substr(1)),u.start==null&&(u.start=-1),o=function(){if(n(this).is("."+u.selected))return u.change;var e="#"+this.href.split("#")[1],f=[],r=[];if(n("a",t).each(function(){this.href.match(/#/)&&(f.push(this),r.push("#"+this.href.split("#")[1]))}),u.click&&!u.click.apply(this,[e,r,t,u]))return u.change;for(i in f)n(f[i]).removeClass(u.selected);for(i in r)n(r[i]).hide();return n(this).addClass(u.selected),n(e).show(),u.change},e=n("a[href*='#']",t).unbind(u.event,o).bind(u.event,o),e.each(function(){n("#"+this.href.split("#")[1]).hide()}),f=!1,(f=e.filter("."+u.selected)).length||typeof u.start=="number"&&(f=e.eq(u.start)).length||typeof u.start=="string"&&(f=e.filter("[href*='#"+u.start+"']")).length,f&&(f.removeClass(u.selected),f.trigger(u.event)),u};n.idTabs.settings={start:0,change:!1,click:null,selected:".selected",event:"!click"};n.idTabs.version="2.2";n(function(){n(".idTabs").idTabs()})})(jQuery)},e=function(n,t){for(t=t.split(".");n&&t.length;)n=n[t.shift()];return n},o=document.getElementsByTagName("head")[0],t=function(n){var t=document.createElement("script");t.type="text/javascript";t.src=n;o.appendChild(t)},r=document.getElementsByTagName("script"),s=r[r.length-1].src,u=!0;for(d in n)e(this,d)||(u=!1,t(n[d]));if(u)return f();t(s)}(),function(n){typeof define=="function"&&define.amd?define(["jquery"],n):typeof exports=="object"?n(require("jquery")):n(jQuery)}(function(n){function i(n){return t.raw?n:encodeURIComponent(n)}function f(n){return t.raw?n:decodeURIComponent(n)}function e(n){return i(t.json?JSON.stringify(n):String(n))}function o(n){n.indexOf('"')===0&&(n=n.slice(1,-1).replace(/\\"/g,'"').replace(/\\\\/g,"\\"));try{return n=decodeURIComponent(n.replace(u," ")),t.json?JSON.parse(n):n}catch(i){}}function r(i,r){var u=t.raw?i:o(i);return n.isFunction(r)?r(u):u}var u=/\+/g,t=n.cookie=function(u,o,s){var y,a,h,v,c,p;if(o!==undefined&&!n.isFunction(o))return s=n.extend({},t.defaults,s),typeof s.expires=="number"&&(y=s.expires,a=s.expires=new Date,a.setTime(+a+y*864e5)),document.cookie=[i(u),"=",e(o),s.expires?"; expires="+s.expires.toUTCString():"",s.path?"; path="+s.path:"",s.domain?"; domain="+s.domain:"",s.secure?"; secure":""].join("");for(h=u?undefined:{},v=document.cookie?document.cookie.split("; "):[],c=0,p=v.length;c<p;c++){var w=v[c].split("="),b=f(w.shift()),l=w.join("=");if(u&&u===b){h=r(l,o);break}u||(l=r(l))===undefined||(h[b]=l)}return h};t.defaults={};n.removeCookie=function(t,i){return n.cookie(t)===undefined?!1:(n.cookie(t,"",n.extend({},i,{expires:-1})),!n.cookie(t))}}),function(n){var t=!1,r,i;typeof define=="function"&&define.amd&&(define(n),t=!0);typeof exports=="object"&&(module.exports=n(),t=!0);t||(r=window.Cookies,i=window.Cookies=n(),i.noConflict=function(){return window.Cookies=r,i})}(function(){function n(){for(var n=0,r={},t,i;n<arguments.length;n++){t=arguments[n];for(i in t)r[i]=t[i]}return r}function t(i){function r(t,u,f){var o,h,l,e,s;if(typeof document!="undefined"){if(arguments.length>1){f=n({path:"/"},r.defaults,f);typeof f.expires=="number"&&(h=new Date,h.setMilliseconds(h.getMilliseconds()+f.expires*864e5),f.expires=h);try{o=JSON.stringify(u);/^[\{\[]/.test(o)&&(u=o)}catch(y){}return u=i.write?i.write(u,t):encodeURIComponent(String(u)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),t=encodeURIComponent(String(t)),t=t.replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent),t=t.replace(/[\(\)]/g,escape),document.cookie=[t,"=",u,f.expires?"; expires="+f.expires.toUTCString():"",f.path?"; path="+f.path:"",f.domain?"; domain="+f.domain:"",f.secure?"; secure":""].join("")}t||(o={});for(var a=document.cookie?document.cookie.split("; "):[],v=/(%[0-9A-Z]{2})+/g,c=0;c<a.length;c++){l=a[c].split("=");e=l.slice(1).join("=");e.charAt(0)==='"'&&(e=e.slice(1,-1));try{if(s=l[0].replace(v,decodeURIComponent),e=i.read?i.read(e,s):i(e,s)||e.replace(v,decodeURIComponent),this.json)try{e=JSON.parse(e)}catch(y){}if(t===s){o=e;break}t||(o[s]=e)}catch(y){}}return o}}return r.set=r,r.get=function(n){return r.call(r,n)},r.getJSON=function(){return r.apply({json:!0},[].slice.call(arguments))},r.defaults={},r.remove=function(t,i){r(t,"",n(i,{expires:-1}))},r.withConverter=t,r}return t(function(){})});(typeof Globals=="undefined"||Globals===null)&&(Globals={});Globals.Cookies={exists:function(n){return!Globals.Utilities.isUndefinedOrNull(Cookies.get(n))},createCookie:function(n,t,i){var r=0,u=!1,f=!1,e="/",o;Globals.Utilities.isUndefinedOrNull(i)||(Globals.Utilities.isUndefinedOrNull(i.IsPersistent)||(u=i.IsPersistent),Globals.Utilities.isUndefinedOrNull(i.Path)||(e=i.Path),u&&(r=365,Globals.Utilities.isUndefinedOrNull(i.NumberOfDays)||(r=i.NumberOfDays)),Globals.Utilities.isUndefinedOrNull(i.IsSecure)||(f=i.IsSecure));o={expires:r,secure:f,path:e};Cookies.set(n,t,o)},readCookie:function(n,t){var r,i;return Globals.Cookies.exists(n)&&(i=!0,Globals.Utilities.isUndefinedOrNull(t)||(i=t),r=i?Globals.Cookies.getParsedCookieData(n):Globals.Cookies.getStringifiedCookieData(n)),r},getParsedCookieData:function(n){var t=Cookies.getJSON(n);if(!Globals.Utilities.isUndefinedOrNull(t))return t},getStringifiedCookieData:function(n){var t=Cookies.get(n);if(!Globals.Utilities.isUndefinedOrNull(t))return t},deleteCookie:function(n,t){var i,r;Globals.Cookies.exists(n)&&(i="/",Globals.Utilities.isUndefinedOrNull(t)||(i=t),r={path:i},Cookies.remove(n,r))}};(typeof KnotiaInsights=="undefined"||KnotiaInsights===null)&&(KnotiaInsights={});KnotiaInsights.Tracker=function(){this.LocalStorageKeyPrefix="KnotiaInsights_";this.Tracker=0;this.MaxNumHoursToConsider=8;this.SavingIntervalPeriod=12e4;this.LocalStorageIsAvailable=!1;this.KnotiaInsightsLocalStorageKeys=[];this.FetchIDTextBoxID=""};Globals.Utilities.isUndefinedOrNull(document.KnotiaInsightsTracker)&&(document.KnotiaInsightsTracker=new KnotiaInsights.Tracker);KnotiaInsights.Tracker.prototype.enableTracker=function(){var n=Globals.Utilities.getMeContext("KnotiaInsightsTracker");document.addEventListener?document.addEventListener("click",function(n){Promise.resolve().then(function(){document.KnotiaInsightsTracker.logActivity(n)})}):document.attachEvent&&document.attachEvent("onclick",function(){document.KnotiaInsightsTracker.logActivity(event)})};KnotiaInsights.Tracker.prototype.logActivity=function(n){var r=Globals.Utilities.getMeContext("KnotiaInsightsTracker"),t=n.target||n.srcElement,k=t.tagName.toLowerCase(),u,f,s,i,h,w,c,b;if(k==="a"&&(u=r.logThisEvent(t),u[0]&&(f=u[1],typeof glb_SiteElementsToTrack[f]!="undefined"))){var l=glb_SiteElementsToTrack[f],e=l.LogEntryName,o=l.TextElementID,a=new Date,d=Globals.Date.toYYYYMMDDHHMMTT(a),g=a.toISOString(),v=Globals.Utilities.generateGUID(),y=window.location.href,p=$('#divBodyContent P.medium span.graymedium:contains("Document ID:")');p!==null&&(s=p.text().replace("Document ID:","").trim(),s.trim().length>0&&(y=s));i={};h=t.text.trim();o.length>0&&(w=$("#"+o),Globals.Utilities.isUndefinedOrNull(w.val())||(h=$("#"+o).val().trim()));i[e]={EventID:v,Link:t.href.toLowerCase().trim(),Text:h,DateAccessed:d,Page:y};typeof $(t).attr("type")!="undefined"&&(i[e].Type=$(t).attr("type").trim());typeof $(t).attr("group")!="undefined"&&(i[e].Group=$(t).attr("group").trim());c=JSON.stringify(i);r.LocalStorageIsAvailable?(b=r.LocalStorageKeyPrefix+v+"_"+g,window.localStorage.setItem(b,c)):r.SaveClickedItemDetails(c);return}};KnotiaInsights.Tracker.prototype.logThisEvent=function(n){var o=Globals.Utilities.getMeContext("KnotiaInsightsTracker"),i=!1,e=n.tagName.toLowerCase(),r="",t,u,f;if(e==="a")for(t in glb_SiteElementsToTrack)u=$(n).hasClass(t),f=$(n).closest("div."+t).length>0,(u||f)&&(r=t,i=!0);return[i,r]};KnotiaInsights.Tracker.prototype.checkIfReactReduxEventShouldBeLogged=function(n){return Globals.Utilities.isUndefinedOrNull(window.glb_SiteElementsToTrackByLogEntryName)?!1:glb_EnableSiteTracking&&!Globals.Utilities.isUndefinedOrNull(window.glb_SiteElementsToTrackByLogEntryName[n])?!0:!1};KnotiaInsights.Tracker.prototype.logReactReduxEvent=function(n){var t,i,r;try{if(t=Globals.Utilities.getMeContext("KnotiaInsightsTracker"),i=n.eventType,!t.checkIfReactReduxEventShouldBeLogged(i))return;r=t.getBaseEventObject(n);t.SaveEventObject(i,r)}catch(u){}};KnotiaInsights.Tracker.prototype.getBaseEventObject=function(n){var t=Globals.Utilities.generateGUID(),i=window.location.href;return{EventID:t,Data:n,DateAccessed:null,Page:i}};KnotiaInsights.Tracker.prototype.SaveEventObject=function(n,t){var i=Globals.Utilities.getMeContext("KnotiaInsightsTracker"),f=new Date,o=f.toISOString(),r,u,e;t.DateAccessed=Globals.Date.toYYYYMMDDHHMMTT(f);r={};r.FeatureTracking=t;u=JSON.stringify(r);i.LocalStorageIsAvailable?(e=i.LocalStorageKeyPrefix+t.EventID+"_"+o,window.localStorage.setItem(e,u)):i.SaveClickedItemDetails(u)};KnotiaInsights.Tracker.prototype.SaveClickedItemDetailsToLocalStorage=function(){var n,t,f;if(!window.location.href.toLowerCase().includes("login")&&(n=Globals.Utilities.getMeContext("KnotiaInsightsTracker"),window.localStorage.length>0)){for(var i=[],r=Object.keys(window.localStorage),u=r.length;u--;)t=r[u],t.indexOf(n.LocalStorageKeyPrefix)===0&&(f=t.split("_")[2],n.discardItemLogged(f)||(n.KnotiaInsightsLocalStorageKeys[n.KnotiaInsightsLocalStorageKeys.length]=t,i[i.length]=window.localStorage.getItem(t)));n.KnotiaInsightsLocalStorageKeys.length>0&&n.SaveClickedItemDetails(i)}};KnotiaInsights.Tracker.prototype.SaveClickedItemDetail=function(n,t){var r=Globals.Utilities.getMeContext("KnotiaInsightsTracker"),i={};i[n]={EventID:Globals.Utilities.generateGUID(),Text:t};r.SaveClickedItemDetails(JSON.stringify(i))};KnotiaInsights.Tracker.prototype.SaveClickedItemDetails=function(n){var t=Globals.Utilities.getMeContext("KnotiaInsightsTracker"),i=n,r;typeof n!="string"&&(i=n.join("|"));r={ClickedItemDetails:i};Globals.Ajax.postRequest("/Services/KnotiaInsightsService.svc/SaveClickedItemDetails",r,t.successfulLogging,t.failedDisplayGrid,"SaveClickedItemDetails")};KnotiaInsights.Tracker.prototype.removeFromLocalStorage=function(n){for(var i=n.length,t=0;t<i;t++)window.localStorage.removeItem(n[t])};KnotiaInsights.Tracker.prototype.successfulLogging=function(){var n=Globals.Utilities.getMeContext("KnotiaInsightsTracker");n.LocalStorageIsAvailable&&n.KnotiaInsightsLocalStorageKeys.length>0&&n.removeFromLocalStorage(n.KnotiaInsightsLocalStorageKeys);return};KnotiaInsights.Tracker.prototype.failedLogging=function(){return};KnotiaInsights.Tracker.prototype.discardItemLogged=function(n){var t=Globals.Utilities.getMeContext("KnotiaInsightsTracker"),i=new Date,r=new Date(n),u=Math.abs(i.getTime()-r.getTime()),f=parseInt(u/36e5%24);return f<=t.MaxNumHoursToConsider?!1:!0};KnotiaInsights.Tracker.prototype.isSupported=function(){try{var n=window.localStorage;const t=Globals.Utilities.generateGUID();return n.setItem(t,t),n.removeItem(t),!0}catch(t){return!1}};KnotiaInsights.Tracker.prototype.initializeGlobalSiteElementsToTrackByLogEntryName=function(){var t,n;if(window.glb_SiteElementsToTrackByLogEntryName={},!Globals.Utilities.isUndefinedOrNull(window.glb_SiteElementsToTrack)){for(t in glb_SiteElementsToTrack)n=glb_SiteElementsToTrack[t],!Globals.Utilities.isUndefinedOrNull(n)&&!Globals.Utilities.isUndefinedOrNull(n.LogEntryName)&&n.LogEntryName.length>0&&(window.glb_SiteElementsToTrackByLogEntryName[n.LogEntryName]=n);return}};KnotiaInsights.Tracker.prototype.initializeSessionTracker=function(){var n=Globals.Utilities.getMeContext("KnotiaInsightsTracker");typeof glb_EnableSiteTracking!="undefined"&&glb_EnableSiteTracking===1&&(n.initializeGlobalSiteElementsToTrackByLogEntryName(),n.enableTracker(),n.LocalStorageIsAvailable=n.isSupported(),n.LocalStorageIsAvailable&&(window.onbeforeunload=function(){n.SaveClickedItemDetailsToLocalStorage()},window.setInterval(function(){n.SaveClickedItemDetailsToLocalStorage()},n.SavingIntervalPeriod)))};window.glb_EnableKnotiaNext!=null&&(glb_EnableKnotiaNext===0||glb_EnableResearchUX===0)&&document.addEventListener("DOMContentLoaded",function(){var n=Globals.Utilities.getMeContext("KnotiaInsightsTracker");n.initializeSessionTracker()})