/* Copyright © 2017 Adobe Systems Incorporated. All rights reserved. Generated by Adobe RoboHelp 2017 */ (function(){var a,b,rh;rh=window.rh,a=rh._,b=rh.consts,a.getRootUrl=function(){var b;return b=null,function(){var c;return null==b&&(c=window.gScreenRelPathMap[window.gFinalCommonRootRelPath],b=""+a.getHostFolder()+a.fixRelativeUrl(null!=c?c.defaultURL:void 0)),b}}(),a.redirectToLayout=function(){var c,d,e,f,g,h,i;return e=a.getHostFolder(),f="",i=window._getRelativeFileName(e,decodeURI(document.location.href)),h=document.referrer,h&&!a.isExternalUrl(h)&&(g=a.urlParams(a.extractParamString(h)),a.isEmptyObject(g)||(f="?"+a.mapToEncodedString(g))),d=a.urlParams(a.extractParamString(i)),d[b("HASH_KEY_TOPIC")]=a.stripParam(i),d[b("HASH_KEY_UIMODE")]=null,c="#"+a.mapToEncodedString(d),document.location.replace(""+a.getRootUrl()+f+c)},a.goToFullLayout=function(){var c,d,e,f,g,h,i,j,k;if(e=a.getHostFolder(),f="",i=window._getRelativeFileName(e,decodeURI(document.location.href)),h=document.referrer,h&&!a.isExternalUrl(h)&&(g=a.urlParams(a.extractParamString(h)),g[b("RHMAPID")]=null,g[b("RHMAPNO")]=null,a.isEmptyObject(g)||(f="?"+a.mapToEncodedString(g))),k=b("START_FILEPATH"),k&&""!==k)return j=""+e+a.fixRelativeUrl(k),d=a.urlParams(a.extractParamString(i)),d[b("HASH_KEY_TOPIC")]=a.stripParam(i),d[b("HASH_KEY_UIMODE")]=null,c="#"+a.mapToEncodedString(d),document.location.replace(""+j+f+c)}}).call(this),function(){var a,rh;rh=window.rh,a=rh.consts,rh.model.subscribe(a("EVT_SCROLL_TO_TOP"),function(a){return window.scrollTo(0,0)}),rh.model.subscribe(a("EVT_PRINT_TOPIC"),function(){return window.focus(),window.print()})}.call(this),function(){var a,b,c,d,rh;rh=window.rh,d=rh.model,c=rh.consts,b=rh._,new(a=function(){function a(){this.addJsToTopics()}return a.prototype.addJsToTopics=function(){return d.subscribeOnce(c("KEY_MOBILE_APP_MODE"),function(a){if(a)return d.subscribe(c("EVT_WIDGET_LOADED"),function(){return b.loadScript(c("CORDOVA_JS_URL"),!1,function(){if(rh.debug)return rh._d("info","loaded Cordova.js")})})})},a}())}.call(this),function(a,b,c){"use strict";function d(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}var e=function(){function a(a,b){for(var c=0;ca?"down":"up",a=d,c(e)}}]),f}();return a=-1,c=h.throttle(function(a){var c=void 0,d=void 0;return c=b.body,d={scrollTop:c.scrollTop,scrollHeight:c.scrollHeight,dir:a},k.publish(i("EVT_SCROLL_INSIDE_IFRAME"),d)},200),f}(),m=new l,n={},k.subscribe(i("EVT_WIDGET_LOADED"),h.one(function(){return k.subscribe(i("KEY_IFRAME_EVENTS"),function(a){return null===a&&(a={}),h.each(["click","scroll"],function(c){a[c]?(h.addEventListener(b,c,m["handle_"+c]),n[c]=!0):n[c]&&(h.removeEventListener(b,c,m["handle_"+c]),n[c]=!1)})}),h.delay(function(){return k.publish(i("KEY_TOPIC_HEIGHT"),j.pageHeight())},100)})),k.subscribeOnce([rh.consts("KEY_TOC_ORDER"),rh.consts("EVT_PROJECT_LOADED")],function(){var a=rh.model.get(rh.consts("KEY_TOC_ORDER")),b=rh._.parentPath(rh._.filePath().substring(rh._.getHostFolder().length));for(b=b.length&&"/"===b[b.length-1]?b.substring(0,b.length-1):b;void 0===a[b];)b=b.substring(0,b.lastIndexOf("/"));var c=b&&a[b].order;rh.model.publish(rh.consts("KEY_TOC_CHILD_ORDER"),c)}),k.subscribe(i("EVT_RELOAD_TOPIC"),function(){return b.location.reload()}),k.subscribeOnce([i("EVT_WINDOW_LOADED"),i("KEY_TAG_EXPRESSION"),i("KEY_TOPIC_ORIGIN")],function(){return h.defer(function(){var a=b.location.hash;if(void 0!==a&&""!==a&&"#"!==a){var c=a.substring(1),d=rh.$(a+",a[name="+c+"]");d.length>0&&d[0].scrollIntoView(!0)}})}),k.subscribe(i("KEY_TOPIC_HEIGHT"),function(){h.delay(function(){k.publish(i("EVT_WINDOW_LOADED"),null)},1e3)}),h.addEventListener(b,"DOMContentLoaded",function(){return k.publish(i("EVT_INSIDE_IFRAME_DOM_CONTENTLOADED"),null)}),h.addEventListener(a,"resize",function(){var a=void 0;return a=!1,h.debounce(function(){var b=void 0;return a?a=!1:(b=j.pageHeight(),b!==k.get(i("KEY_TOPIC_HEIGHT"))?(a=!0,k.publish(i("KEY_TOPIC_HEIGHT"),j.pageHeight())):void 0)},250)}())},{"../../lib/rh":1}]},{},[2])}(window,document,window.location);