File: /home/dronicaehy/www/HTML_Museo_Foro_24_05/script.js
if(!Object['hasOwnProperty']('values')){Object['values']=function(c){return Object['keys'](c)['map'](function(d){return c[d];});};}if(!String['prototype']['startsWith']){String['prototype']['startsWith']=function(e,f){f=f||0x0;return this['indexOf'](e,f)===f;};}TDV['EventDispatcher']=function(){this['_handlers']={};};TDV['EventDispatcher']['prototype']['bind']=function(g,h){if(!(g in this['_handlers']))this['_handlers'][g]=[];this['_handlers'][g]['push'](h);};TDV['EventDispatcher']['prototype']['unbind']=function(i,j){if(i in this['_handlers']){var k=this['_handlers'][i]['indexOf'](j);if(k!=-0x1)this['_handlers'][i]['splice'](k,0x1);}};TDV['EventDispatcher']['prototype']['createNewEvent']=function(l){if(typeof Event==='function')return new Event(l);var m=document['createEvent']('Event');m['initEvent'](l,!![],!![]);return m;};TDV['EventDispatcher']['prototype']['dispatchEvent']=function(n){if(n['type']in this['_handlers']){var o=this['_handlers'][n['type']];for(var p=0x0;p<o['length'];++p){o[p]['call'](window,n);if(n['defaultPrevented'])break;}}};TDV['Tour']=function(q,r){TDV['EventDispatcher']['call'](this);this['player']=undefined;this['_settings']=q;this['_devicesUrl']=r;this['_playersPlayingTmp']=[];this['_isInitialized']=![];this['_isPaused']=![];this['_isRemoteSession']=![];this['_orientation']=undefined;this['_lockedOrientation']=undefined;this['_device']=undefined;this['_setupRemote']();};TDV['Tour']['DEVICE_GENERAL']='general';TDV['Tour']['DEVICE_MOBILE']='mobile';TDV['Tour']['DEVICE_IPAD']='ipad';TDV['Tour']['DEVICE_VR']='vr';TDV['Tour']['EVENT_TOUR_INITIALIZED']='tourInitialized';TDV['Tour']['EVENT_TOUR_LOADED']='tourLoaded';TDV['Tour']['EVENT_TOUR_ENDED']='tourEnded';TDV['Tour']['prototype']=new TDV['EventDispatcher']();TDV['Tour']['prototype']['dispose']=function(){if(!this['player'])return;if(this['_onHashChange']){window['removeEventListener']('hashchange',this['_onHashChange']);this['_onHashChange']=undefined;}if(this['_onKeyUp']){document['removeEventListener']('keyup',this['_onKeyUp']);this['_onKeyUp']=undefined;}if(this['_onBeforeUnload']){window['removeEventListener']('beforeunload',this['_onBeforeUnload']);this['_onBeforeUnload']=undefined;}var s=this['_getRootPlayer']();if(s!==undefined){s['stopTextToSpeech']();}this['player']['delete']();this['player']=undefined;this['_isInitialized']=![];window['currentGlobalAudios']=undefined;window['pauseGlobalAudiosState']=undefined;window['currentPanoramasWithCameraChanged']=undefined;window['overlaysDispatched']=undefined;};TDV['Tour']['prototype']['load']=function(){if(this['player'])return;var t=function(v){if(v['name']=='begin'){var w=v['data']['source']['get']('camera');if(w&&w['get']('initialSequence')&&w['get']('initialSequence')['get']('movements')['length']>0x0)return;}if(v['sourceClassName']=='MediaAudio'||this['_isInitialized'])return;this['_isInitialized']=!![];u['unbind']('preloadMediaShow',t,this,!![]);u['unbindOnObjectsOf']('PanoramaPlayListItem','begin',t,this,!![]);u['unbind']('stateChange',t,this,!![]);if(this['_isPaused'])this['pause']();window['parent']['postMessage'](TDV['Tour']['EVENT_TOUR_LOADED'],'*');this['dispatchEvent'](this['createNewEvent'](TDV['Tour']['EVENT_TOUR_LOADED']));};this['_setup']();this['_settings']['set'](TDV['PlayerSettings']['SCRIPT_URL'],this['_currentScriptUrl']);var u=this['player']=TDV['PlayerAPI']['create'](this['_settings']);u['bind']('preloadMediaShow',t,this,!![]);u['bind']('stateChange',t,this,!![]);u['bindOnObjectsOf']('PanoramaPlayListItem','begin',t,this,!![]);u['bindOnObject']('rootPlayer','start',function(x){var y=x['data']['source'];y['get']('data')['tour']=this;var z=window['navigator']['language']||window['navigator']['userLanguage']||'en';var A=y['get']('data')['locales']||{};var B=y['get']('data')['defaultLocale']||z;var C=this['locManager']=new TDV['Tour']['LocaleManager'](y,A,B,this['_settings']['get'](TDV['PlayerSettings']['QUERY_STRING_PARAMETERS']));y['get']('data')['localeManager']=C;var D=function(){var J=y['get']('data');if(!('updateText'in J)){J['updateText']=function(N){var O=N[0x0]['split']('.');if(O['length']==0x2){var P=C['trans']['apply'](C,N);var Q=N[0x1]||y;if(typeof Q=='string'){var R=Q['split']('.');Q=y[R['shift']()];for(var S=0x0;S<R['length']-0x1;++S){if(Q!=undefined)Q='get'in Q?Q['get'](R[S]):Q[R[S]];}if(Q!=undefined){var T=R[R['length']-0x1];if(Array['isArray'](Q)){for(var U=0x0;U<Q['length'];++U){this['setValue'](Q[U],T,P);}}else this['setValue'](Q,T,P);}}else{Q=Q[O[0x0]];this['setValue'](Q,O[0x1],P);}}}['bind'](y);}var K=J['translateObjs'];var L=J['updateText'];var M=function(){for(var V in K){L(K[V]);}};M();M();};this['locManager']['bind'](TDV['Tour']['LocaleManager']['EVENT_LOCALE_CHANGED'],D['bind'](this));var E=this['_getParams'](location['search']['substr'](0x1));var F=E['language'];if(!F||!this['locManager']['hasLocale'](E['language'])){if(y['get']('data')['forceDefaultLocale'])F=B;else F=z;}this['setLocale'](F);this['_setMediaFromURL'](this['_getParams'](location['hash']['substr'](0x1)),![])||this['_setMediaFromURL'](E,!![]);if(this['isMobile']()&&typeof this['_devicesUrl'][this['_device']]=='object'){var G=function(){if(!y['isCardboardViewMode']()&&this['_getOrientation']()!=this['_orientation']){this['reload']();return!![];}return![];};if(G['call'](this))return;var H=y['getByClassName']('PanoramaPlayer');for(var I=0x0;I<H['length'];++I){H[I]['bind']('viewModeChange',G,this);}y['bind']('orientationChange',G,this);}this['_onHashChange']=function(){var W=this['_getParams'](location['hash']['substr'](0x1));this['_setMediaFromURL'](W,![]);if('language'in W)this['setLocale'](W['language']);}['bind'](this);this['_onKeyUp']=function(X){if(X['ctrlKey']&&X['shiftKey']&&X['key']['toLowerCase']()=='u'){this['updateDeepLink']();y['copyToClipboard'](location['href']);}}['bind'](this);this['_onBeforeUnload']=function(Y){y['stopTextToSpeech']();};window['addEventListener']('hashchange',this['_onHashChange']);window['addEventListener']('beforeunload',this['_onBeforeUnload']);document['addEventListener']('keyup',this['_onKeyUp']);y['bind']('tourEnded',function(){this['dispatchEvent'](this['createNewEvent'](TDV['Tour']['EVENT_TOUR_ENDED']));},this,!![]);this['dispatchEvent'](this['createNewEvent'](TDV['Tour']['EVENT_TOUR_INITIALIZED']));},this,!![]);window['addEventListener']('message',function(Z){var a0=Z['data'];if(a0=='pauseTour')a0='pause';else if(a0=='resumeTour')a0='resume';else return;this[a0]['apply'](this);}['bind'](this));};TDV['Tour']['prototype']['pause']=function(){this['_isPaused']=!![];if(!this['_isInitialized'])return;var a1=this['player']['getByClassName']('PlayList');for(var a2=0x0,a3=a1['length'];a2<a3;a2++){var a4=a1[a2];var a5=a4['get']('selectedIndex');if(a5!=-0x1){var a6=a4['get']('items')[a5];var a7=a6['get']('player');if(a7&&a7['pause']){this['_playersPlayingTmp']['push'](a7);a7['pause']();}}}this['_getRootPlayer']()['pauseGlobalAudios']();};TDV['Tour']['prototype']['resume']=function(){this['_isPaused']=![];if(!this['_isInitialized'])return;while(this['_playersPlayingTmp']['length']){var a8=this['_playersPlayingTmp']['pop']();a8['play']();}this['_getRootPlayer']()['resumeGlobalAudios']();};TDV['Tour']['prototype']['reload']=function(){this['_orientation']=this['_getOrientation']();this['updateDeepLink']();this['dispose']();this['load']();};TDV['Tour']['prototype']['setMediaByIndex']=function(a9){var aa=this['_getRootPlayer']();if(aa!==undefined){return aa['setMainMediaByIndex'](a9);}};TDV['Tour']['prototype']['setMediaByName']=function(ab){var ac=this['_getRootPlayer']();if(ac!==undefined){return ac['setMainMediaByName'](ab);}};TDV['Tour']['prototype']['triggerOverlayByName']=function(ad,ae,af){var ag=this['_getRootPlayer']();if(ag!==undefined&&af){var ah=ag['getPanoramaOverlayByName'](ad['get']('media'),ae);if(ah){ag['triggerOverlay'](ah,af);}}};TDV['Tour']['prototype']['focusOverlayByName']=function(ai,aj){var ak=this['_getRootPlayer']();if(ak!==undefined){var al=ak['getPanoramaOverlayByName'](ai['get']('media'),aj);if(al){var am=al['get']('class');var an=am=='VideoPanoramaOverlay'?al:al['get']('items')[0x0];var ao=an['get']('yaw');var ap=an['get']('pitch');var aq=ak['getPlayListWithItem'](ai);if(aq){var ar=function(){ak['setPanoramaCameraWithSpot'](aq,ai,ao,ap);};if(!this['_isInitialized']){var as=function(){ai['unbind']('begin',as,this);ar();};ai['bind']('begin',as,this);}else{ar();}}}}};TDV['Tour']['prototype']['updateDeepLink']=function(){var at=this['_getRootPlayer']();if(at!==undefined){at['updateDeepLink']();}};TDV['Tour']['prototype']['setLocale']=function(au){var av=this['_getRootPlayer']();if(av!==undefined&&this['locManager']!==undefined){this['locManager']['setLocale'](au);}};TDV['Tour']['prototype']['getLocale']=function(){var aw=this['_getRootPlayer']();return aw!==undefined&&this['locManager']!==undefined?this['locManager']['currentLocaleID']:undefined;};TDV['Tour']['prototype']['isMobile']=function(){return TDV['PlayerAPI']['mobile'];};TDV['Tour']['prototype']['isIPad']=function(){return TDV['PlayerAPI']['device']==TDV['PlayerAPI']['DEVICE_IPAD'];};TDV['Tour']['prototype']['getNotchValue']=function(){var ax=document['documentElement'];ax['style']['setProperty']('--notch-top','env(safe-area-inset-top)');ax['style']['setProperty']('--notch-right','env(safe-area-inset-right)');ax['style']['setProperty']('--notch-bottom','env(safe-area-inset-bottom)');ax['style']['setProperty']('--notch-left','env(safe-area-inset-left)');var ay=window['getComputedStyle'](ax);return parseInt(ay['getPropertyValue']('--notch-top')||'0',0xa)||parseInt(ay['getPropertyValue']('--notch-right')||'0',0xa)||parseInt(ay['getPropertyValue']('--notch-bottom')||'0',0xa)||parseInt(ay['getPropertyValue']('--notch-left')||'0',0xa);};TDV['Tour']['prototype']['hasNotch']=function(){return this['getNotchValue']()>0x0;};TDV['Tour']['prototype']['_getOrientation']=function(){var az=this['_getRootPlayer']();if(az){return az['get']('orientation');}else if(this['_lockedOrientation']){return this['_lockedOrientation'];}else{return TDV['PlayerAPI']['getOrientation']();}};TDV['Tour']['prototype']['_getParams']=function(aA){var aB={};aA['split']('&')['forEach'](function(aC){var aD=aC['split']('=')[0x0],aE=decodeURIComponent(aC['split']('=')[0x1]);aB[aD['toLowerCase']()]=aE;});return aB;};TDV['Tour']['prototype']['_getRootPlayer']=function(){return this['player']!==undefined?this['player']['getById']('rootPlayer'):undefined;};TDV['Tour']['prototype']['_setup']=function(){if(!this['_orientation'])this['_orientation']=this['_getOrientation']();this['_device']=this['_getDevice']();this['_currentScriptUrl']=this['_getScriptUrl']();if(this['isMobile']()){var aF=document['getElementById']('metaViewport');if(aF){var aG=this['_devicesUrl'][this['_device']];var aH=0x1;if(typeof aG=='object'&&this['_orientation']in aG&&this['_orientation']==TDV['PlayerAPI']['ORIENTATION_LANDSCAPE']||this['_device']==TDV['Tour']['DEVICE_GENERAL']){aH=aF['getAttribute']('data-tdv-general-scale')||0.5;}var aI=aF['getAttribute']('content');aI=aI['replace'](/initial-scale=(\d+(\.\d+)?)/,function(aJ,aK){return'initial-scale='+aH;});aF['setAttribute']('content',aI);}}};TDV['Tour']['prototype']['_getScriptUrl']=function(){var aL=this['_devicesUrl'][this['_device']];if(typeof aL=='object'){if(this['_orientation']in aL){aL=aL[this['_orientation']];}}return aL;};TDV['Tour']['prototype']['_getDevice']=function(){var aM=TDV['Tour']['DEVICE_GENERAL'];if(!this['_isRemoteSession']&&this['isMobile']()){if(this['isIPad']()&&TDV['Tour']['DEVICE_IPAD']in this['_devicesUrl'])aM=TDV['Tour']['DEVICE_IPAD'];else if(TDV['Tour']['DEVICE_MOBILE']in this['_devicesUrl'])aM=TDV['Tour']['DEVICE_MOBILE'];}return aM;};TDV['Tour']['prototype']['_setMediaFromURL']=function(aN,aO){var aP=this['_getRootPlayer']();var aQ=aP['getActivePlayerWithViewer'](aP['getMainViewer']());var aR=aQ?aP['getMediaFromPlayer'](aQ):undefined;var aS=undefined;if('media'in aN){var aT=aN['media'];var aU=Number(aT);aS=isNaN(aU)?this['setMediaByName'](aT):this['setMediaByIndex'](aU-0x1);}else if('media-index'in aN){aS=this['setMediaByIndex'](parseInt(aN['media-index'])-0x1);}else if('media-name'in aN){aS=this['setMediaByName'](aN['media-name']);}if(aS==undefined&&aO){aS=this['setMediaByIndex'](0x0);}if(aS!=undefined){var aV=aS['get']('player');var aW=function(){if('trigger-overlay-name'in aN){this['triggerOverlayByName'](aS,aN['trigger-overlay-name'],'trigger-overlay-event'in aN?aN['trigger-overlay-event']:'click');}if('focus-overlay-name'in aN){this['focusOverlayByName'](aS,aN['focus-overlay-name']);}else if('yaw'in aN||'pitch'in aN){var b0=parseFloat(aN['yaw'])||undefined;var b1=parseFloat(aN['pitch'])||undefined;var b2=aP['getPlayListWithItem'](aS);if(b2)aP['setPanoramaCameraWithSpot'](b2,aS,b0,b1);}}['bind'](this);if(aV){var aX=aV['get']('viewerArea')==aP['getMainViewer']();var aY=aP['getMediaFromPlayer'](aV);if(aX&&aR==aS['get']('media')||!aX&&aY==aS['get']('media')){aW();return aS!=undefined;}}var aZ=function(){aS['unbind']('begin',aZ,this);aW();};aS['bind']('begin',aZ,aP);}return aS!=undefined;};TDV['Tour']['prototype']['_setupRemote']=function(){if(this['isMobile']()&&TDV['Remote']!=undefined){var b3=function(){var b4=undefined;var b5=function(){var b8=this['_getRootPlayer']();b4=b8['get']('lockedOrientation');b8['set']('lockedOrientation',this['_lockedOrientation']);}['bind'](this);this['_isRemoteSession']=!![];this['_lockedOrientation']=TDV['PlayerAPI']['ORIENTATION_LANDSCAPE'];if(this['_device']!=TDV['Tour']['DEVICE_GENERAL']){var b6=function(){b5();this['unbind'](TDV['Tour']['EVENT_TOUR_INITIALIZED'],b6);}['bind'](this);this['bind'](TDV['Tour']['EVENT_TOUR_INITIALIZED'],b6);this['reload']();}else{b5();}var b7=function(){this['_isRemoteSession']=![];this['_getRootPlayer']()['set']('lockedOrientation',b4);TDV['Remote']['unbind'](TDV['Remote']['EVENT_CALL_END'],b7);var b9=this['_getScriptUrl']();if(this['_currentScriptUrl']!=b9)this['reload']();}['bind'](this);TDV['Remote']['bind'](TDV['Remote']['EVENT_CALL_END'],b7);}['bind'](this);TDV['Remote']['bind'](TDV['Remote']['EVENT_CALL_BEGIN'],b3);}};TDV['Tour']['LocaleManager']=function(ba,bb,bc,bd){TDV['EventDispatcher']['call'](this);this['rootPlayer']=ba;this['locales']={};this['defaultLocale']=bc;this['queryParam']=bd;this['currentLocaleMap']={};this['currentLocaleID']=undefined;for(var be in bb){this['registerLocale'](be,bb[be]);}};TDV['Tour']['LocaleManager']['EVENT_LOCALE_CHANGED']='localeChanged';TDV['Tour']['LocaleManager']['prototype']=new TDV['EventDispatcher']();TDV['Tour']['LocaleManager']['prototype']['registerLocale']=function(bf,bg){var bh=[bf,bf['split']('-')[0x0]];for(var bi=0x0;bi<bh['length'];++bi){bf=bh[bi];if(!(bf in this['locales'])){this['locales'][bf]=bg;}}};TDV['Tour']['LocaleManager']['prototype']['unregisterLocale']=function(bj){delete this['locales'][bj];if(bj==this['currentLocaleID']){this['setLocale'](this['defaultLocale']);}};TDV['Tour']['LocaleManager']['prototype']['hasLocale']=function(bk){return bk in this['locales'];};TDV['Tour']['LocaleManager']['prototype']['setLocale']=function(bl){var bm=undefined;var bn=bl['split']('-')[0x0];var bo=[bl,bn];for(var bp=0x0;bp<bo['length'];++bp){var br=bo[bp];if(br in this['locales']){bm=br;break;}}if(bm===undefined){for(var br in this['locales']){if(br['indexOf'](bn)==0x0){bm=br;break;}}}if(bm===undefined){bm=this['defaultLocale'];}var bs=this['locales'][bm];if(bs!==undefined&&this['currentLocaleID']!=bm){this['currentLocaleID']=bm;var bt=this;if(typeof bs=='string'){var bu=new XMLHttpRequest();bu['onreadystatechange']=function(){if(bu['readyState']==0x4){if(bu['status']==0xc8){bt['locales'][bm]=bt['currentLocaleMap']=bt['_parsePropertiesContent'](bu['responseText']);bt['dispatchEvent'](bt['createNewEvent'](TDV['Tour']['LocaleManager']['EVENT_LOCALE_CHANGED']));}else{throw bs+'\x20can\x27t\x20be\x20loaded';}}};var bv=bs;if(this['queryParam'])bv+=(bv['indexOf']('?')==-0x1?'?':'&')+this['queryParam'];bu['open']('GET',bv);bu['send']();}else{this['currentLocaleMap']=bs;this['dispatchEvent'](this['createNewEvent'](TDV['Tour']['LocaleManager']['EVENT_LOCALE_CHANGED']));}}};TDV['Tour']['LocaleManager']['prototype']['trans']=function(bw){var bx=this['currentLocaleMap'][bw];if(arguments['length']>0x2){var by=typeof arguments[0x2]=='object'?arguments[0x2]:undefined;var bz=arguments;function bA(bB){return/^\d+$/['test'](bB);}bx=bx['replace'](/\{\{([\w\.]+)\}\}/g,function(bC,bD){if(bA(bD))bD=bz[parseInt(bD)+0x1];else if(by!==undefined)bD=by[bD];if(typeof bD=='string')bD=this['currentLocaleMap'][bD]||bD;else if(typeof bD=='function')bD=bD['call'](this['rootPlayer']);return bD!==undefined?bD:'';}['bind'](this));}return bx;};TDV['Tour']['LocaleManager']['prototype']['_parsePropertiesContent']=function(bE){bE=bE['replace'](/(^|\n)#[^\n]*/g,'');var bF={};var bG=bE['split']('\x0a');for(var bH=0x0,bI=bG['length'];bH<bI;++bH){var bJ=bG[bH]['trim']();if(bJ['length']==0x0){continue;}var bK=bJ['indexOf']('=');if(bK==-0x1){console['error']('Locale\x20parser:\x20Invalid\x20line\x20'+bH);continue;}var bL=bJ['substr'](0x0,bK)['trim']();var bM=bJ['substr'](bK+0x1)['trim']();var bN;while((bN=bM['lastIndexOf']('\x5c'))!=-0x1&&bN==bM['length']-0x1&&++bH<bI){bM=bM['substr'](0x0,bM['length']-0x2);bJ=bG[bH];if(bJ['length']==0x0)break;bM+='\x0a'+bJ;bM=bM['trim']();}bF[bL]=bM;}return bF;};TDV['Tour']['HistoryData']=function(bO){this['playList']=bO;this['list']=[];this['pointer']=-0x1;};TDV['Tour']['HistoryData']['prototype']['add']=function(bP){if(this['pointer']<this['list']['length']&&this['list'][this['pointer']]==bP){return;}++this['pointer'];this['list']['splice'](this['pointer'],this['list']['length']-this['pointer'],bP);};TDV['Tour']['HistoryData']['prototype']['back']=function(){if(!this['canBack']())return;this['playList']['set']('selectedIndex',this['list'][--this['pointer']]);};TDV['Tour']['HistoryData']['prototype']['forward']=function(){if(!this['canForward']())return;this['playList']['set']('selectedIndex',this['list'][++this['pointer']]);};TDV['Tour']['HistoryData']['prototype']['canBack']=function(){return this['pointer']>0x0;};TDV['Tour']['HistoryData']['prototype']['canForward']=function(){return this['pointer']>=0x0&&this['pointer']<this['list']['length']-0x1;};TDV['Tour']['Script']=function(){};TDV['Tour']['Script']['assignObjRecursively']=function(bQ,bR){for(var bS in bQ){var bT=bQ[bS];if(typeof bT=='object'&&bT!==null)this['assignObjRecursively'](bQ[bS],bR[bS]||(bR[bS]={}));else bR[bS]=bT;}return bR;};TDV['Tour']['Script']['autotriggerAtStart']=function(bU,bV,bW){var bX=function(bY){bV();if(bW==!![])bU['unbind']('change',bX,this);};bU['bind']('change',bX,this);};TDV['Tour']['Script']['changeBackgroundWhilePlay']=function(bZ,c0,c1){var c2=function(c9){c3['unbind']('stop',c2,this);if(c1==c5['get']('backgroundColor')&&c8==c5['get']('backgroundColorRatios')){c5['set']('backgroundColor',c6);c5['set']('backgroundColorRatios',c7);}};var c3=bZ['get']('items')[c0];var c4=c3['get']('player');var c5=c4['get']('viewerArea');var c6=c5['get']('backgroundColor');var c7=c5['get']('backgroundColorRatios');var c8=[0x0];if(c1!=c6||c8!=c7){c5['set']('backgroundColor',c1);c5['set']('backgroundColorRatios',c8);c3['bind']('stop',c2,this);}};TDV['Tour']['Script']['changePlayListWithSameSpot']=function(ca,cb){var cc=ca['get']('selectedIndex');if(cc>=0x0&&cb>=0x0&&cc!=cb){var cd=ca['get']('items')[cc];var ce=ca['get']('items')[cb];var cf=cd['get']('player');var cg=ce['get']('player');if((cf['get']('class')=='PanoramaPlayer'||cf['get']('class')=='Video360Player')&&(cg['get']('class')=='PanoramaPlayer'||cg['get']('class')=='Video360Player')){var ch=this['cloneCamera'](ce['get']('camera'));this['setCameraSameSpotAsMedia'](ch,cd['get']('media'));this['startPanoramaWithCamera'](ce['get']('media'),ch);}}};TDV['Tour']['Script']['clone']=function(ci,cj){var ck=this['rootPlayer']['createInstance'](ci['get']('class'));var cl=ci['get']('id');if(cl){var cm=cl+'_'+Math['random']()['toString'](0x24)['substring'](0x2,0xf);ck['set']('id',cm);this[cm]=ck;}for(var cn=0x0;cn<cj['length'];++cn){var co=cj[cn];var cp=ci['get'](co);if(cp)ck['set'](co,cp);}return ck;};TDV['Tour']['Script']['cloneCamera']=function(cq){var cr=this['clone'](cq,['manualRotationSpeed','manualZoomSpeed','automaticRotationSpeed','automaticZoomSpeed','timeToIdle','sequences','draggingFactor']);var cs=['initialSequence','idleSequence'];for(var ct=0x0;ct<cs['length'];++ct){var cu=cs[ct];var cv=cq['get'](cu);if(cv){var cw=this['clone'](cv,['mandatory','repeat','restartMovementOnUserInteraction','restartMovementDelay']);cr['set'](cu,cw);var cx=cv['get']('movements');var cy=[];var cz=['easing','duration','hfovSpeed','pitchSpeed','yawSpeed','path','stereographicFactorSpeed','targetYaw','targetPitch','targetHfov','targetStereographicFactor','hfovDelta','pitchDelta','yawDelta'];for(var cA=0x0;cA<cx['length'];++cA){var cB=cx[cA];var cC=this['clone'](cB,cz);var cD=cB['getBindings']('end');if(cD['length']>0x0){for(var cE=0x0;cE<cD['length'];++cE){var cF=cD[cE];if(typeof cF=='string'){cF=cF['replace'](cq['get']('id'),cr['get']('id'));cF=new Function('event',cF);cC['bind']('end',cF,this);}}}cy['push'](cC);}cw['set']('movements',cy);}}return cr;};TDV['Tour']['Script']['copyObjRecursively']=function(cG){var cH={};for(var cI in cG){var cJ=cG[cI];if(typeof cJ=='object'&&cJ!==null)cH[cI]=this['copyObjRecursively'](cG[cI]);else cH[cI]=cJ;}return cH;};TDV['Tour']['Script']['copyToClipboard']=function(cK){if(navigator['clipboard']){navigator['clipboard']['writeText'](cK);}else{var cL=document['createElement']('textarea');cL['value']=cK;cL['style']['position']='fixed';document['body']['appendChild'](cL);cL['focus']();cL['select']();try{document['execCommand']('copy');}catch(cM){}document['body']['removeChild'](cL);}};TDV['Tour']['Script']['executeFunctionWhenChange']=function(cN,cO,cP,cQ){var cR=undefined;var cS=function(cV){if(cV['data']['previousSelectedIndex']==cO){if(cQ)cQ['call'](this);if(cP&&cR)cR['unbind']('end',cP,this);cN['unbind']('change',cS,this);}};if(cP){var cT=cN['get']('items')[cO];if(cT['get']('class')=='PanoramaPlayListItem'){var cU=cT['get']('camera');if(cU!=undefined)cR=cU['get']('initialSequence');if(cR==undefined)cR=cU['get']('idleSequence');}else{cR=cT['get']('media');}if(cR){cR['bind']('end',cP,this);}}cN['bind']('change',cS,this);};TDV['Tour']['Script']['fixTogglePlayPauseButton']=function(cW){var cX=cW['get']('buttonPlayPause');if(typeof cX!=='undefined'&&cW['get']('state')=='playing'){if(!Array['isArray'](cX))cX=[cX];for(var cY=0x0;cY<cX['length'];++cY)cX[cY]['set']('pressed',!![]);}};TDV['Tour']['Script']['getActiveMediaWithViewer']=function(cZ){var d0=this['getActivePlayerWithViewer'](cZ);if(d0==undefined){return undefined;}return this['getMediaFromPlayer'](d0);};TDV['Tour']['Script']['getActivePlayerWithViewer']=function(d1){var d2=this['getCurrentPlayers']();var d3=d2['length'];while(d3-->0x0){var d4=d2[d3];if(d4['get']('viewerArea')==d1){var d5=d4['get']('class');if(d5=='PanoramaPlayer'&&(d4['get']('panorama')!=undefined||d4['get']('video')!=undefined))return d4;else if((d5=='VideoPlayer'||d5=='Video360Player')&&d4['get']('video')!=undefined)return d4;else if(d5=='PhotoAlbumPlayer'&&d4['get']('photoAlbum')!=undefined)return d4;else if(d5=='MapPlayer'&&d4['get']('map')!=undefined)return d4;}}return undefined;};TDV['Tour']['Script']['getCurrentPlayerWithMedia']=function(d6){var d7=undefined;var d8=undefined;switch(d6['get']('class')){case'Panorama':case'LivePanorama':case'HDRPanorama':d7='PanoramaPlayer';d8='panorama';break;case'Video360':d7='PanoramaPlayer';d8='video';break;case'PhotoAlbum':d7='PhotoAlbumPlayer';d8='photoAlbum';break;case'Map':d7='MapPlayer';d8='map';break;case'Video':d7='VideoPlayer';d8='video';break;};if(d7!=undefined){var d9=this['getByClassName'](d7);for(var da=0x0;da<d9['length'];++da){var db=d9[da];if(db['get'](d8)==d6){return db;}}}else{return undefined;}};TDV['Tour']['Script']['getCurrentPlayers']=function(){var dc=this['getByClassName']('PanoramaPlayer');dc=dc['concat'](this['getByClassName']('VideoPlayer'));dc=dc['concat'](this['getByClassName']('Video360Player'));dc=dc['concat'](this['getByClassName']('PhotoAlbumPlayer'));dc=dc['concat'](this['getByClassName']('MapPlayer'));return dc;};TDV['Tour']['Script']['getGlobalAudio']=function(dd){var de=window['currentGlobalAudios'];if(de!=undefined&&dd['get']('id')in de){dd=de[dd['get']('id')]['audio'];}return dd;};TDV['Tour']['Script']['getMediaByName']=function(df){var dg=this['getByClassName']('Media');for(var dh=0x0,di=dg['length'];dh<di;++dh){var dj=dg[dh];var dk=dj['get']('data');if(dk&&dk['label']==df){return dj;}}return undefined;};TDV['Tour']['Script']['getComponentByName']=function(dl){var dm=this['getByClassName']('UIComponent');for(var dn=0x0,dp=dm['length'];dn<dp;++dn){var dq=dm[dn];var dr=dq['get']('data');if(dr!=undefined&&dr['name']==dl){return dq;}}return undefined;};TDV['Tour']['Script']['getMainViewer']=function(){var ds='MainViewer';return this[ds]||this[ds+'_mobile'];};TDV['Tour']['Script']['getMediaFromPlayer']=function(dt){switch(dt['get']('class')){case'PanoramaPlayer':return dt['get']('panorama')||dt['get']('video');case'VideoPlayer':case'Video360Player':return dt['get']('video');case'PhotoAlbumPlayer':return dt['get']('photoAlbum');case'MapPlayer':return dt['get']('map');}};TDV['Tour']['Script']['getMediaWidth']=function(du){switch(du['get']('class')){case'Video360':var dv=du['get']('video');if(dv instanceof Array){var dw=0x0;for(var dx=0x0;dx<dv['length'];dx++){var dy=dv[dx];if(dy['get']('width')>dw)dw=dy['get']('width');}return dw;}else{return dy['get']('width');}default:return du['get']('width');}};TDV['Tour']['Script']['getMediaHeight']=function(dz){switch(dz['get']('class')){case'Video360':var dA=dz['get']('video');if(dA instanceof Array){var dB=0x0;for(var dC=0x0;dC<dA['length'];dC++){var dD=dA[dC];if(dD['get']('height')>dB)dB=dD['get']('height');}return dB;}else{return dD['get']('height');}default:return dz['get']('height');}};TDV['Tour']['Script']['getOverlays']=function(dE){switch(dE['get']('class')){case'LivePanorama':case'HDRPanorama':case'Panorama':var dF=dE['get']('overlays')['concat']()||[];var dG=dE['get']('frames');for(var dH=0x0;dH<dG['length'];++dH){dF=dF['concat'](dG[dH]['get']('overlays')||[]);}return dF;case'Video360':case'Map':return dE['get']('overlays')||[];default:return[];}};TDV['Tour']['Script']['getPanoramaOverlayByName']=function(dI,dJ){var dK=this['getOverlays'](dI);for(var dL=0x0,dM=dK['length'];dL<dM;++dL){var dN=dK[dL];var dO=dN['get']('data');if(dO!=undefined&&dO['label']==dJ){return dN;}}return undefined;};TDV['Tour']['Script']['getPixels']=function(dP){var dQ=/((\+|-)?d+(.d*)?)(px|vw|vh|vmin|vmax)?/i['exec'](dP);if(dQ==undefined){return 0x0;}var dR=parseFloat(dQ[0x1]);var dS=dQ[0x4];var dT=this['rootPlayer']['get']('actualWidth')/0x64;var dU=this['rootPlayer']['get']('actualHeight')/0x64;switch(dS){case'vw':return dR*dT;case'vh':return dR*dU;case'vmin':return dR*Math['min'](dT,dU);case'vmax':return dR*Math['max'](dT,dU);default:return dR;}};TDV['Tour']['Script']['getPlayListsWithMedia']=function(dV,dW){var dX=[];var dY=this['getByClassName']('PlayList');for(var dZ=0x0,e0=dY['length'];dZ<e0;++dZ){var e1=dY[dZ];if(dW&&e1['get']('selectedIndex')==-0x1)continue;var e2=this['getPlayListItemByMedia'](e1,dV);if(e2!=undefined&&e2['get']('player')!=undefined)dX['push'](e1);}return dX;};TDV['Tour']['Script']['_getPlayListsWithViewer']=function(e3){var e4=this['getByClassName']('PlayList');var e5=function(e7){var e8=e7['get']('items');for(var e9=e8['length']-0x1;e9>=0x0;--e9){var ea=e8[e9];var eb=ea['get']('player');if(eb!==undefined&&eb['get']('viewerArea')==e3)return!![];}return![];};for(var e6=e4['length']-0x1;e6>=0x0;--e6){if(!e5(e4[e6]))e4['splice'](e6,0x1);}return e4;};TDV['Tour']['Script']['getPlayListWithItem']=function(ec){var ed=this['getByClassName']('PlayList');for(var ee=ed['length']-0x1;ee>=0x0;--ee){var ef=ed[ee];var eg=ef['get']('items');for(var eh=eg['length']-0x1;eh>=0x0;--eh){var ei=eg[eh];if(ei==ec)return ef;}}return undefined;};TDV['Tour']['Script']['getFirstPlayListWithMedia']=function(ej,ek){var el=this['getPlayListsWithMedia'](ej,ek);return el['length']>0x0?el[0x0]:undefined;};TDV['Tour']['Script']['getPlayListItemByMedia']=function(em,en){var eo=em['get']('items');for(var ep=0x0,eq=eo['length'];ep<eq;++ep){var er=eo[ep];if(er['get']('media')==en)return er;}return undefined;};TDV['Tour']['Script']['getPlayListItems']=function(es,et){var eu=function(){switch(es['get']('class')){case'Panorama':case'LivePanorama':case'HDRPanorama':return'PanoramaPlayListItem';case'Video360':return'Video360PlayListItem';case'PhotoAlbum':return'PhotoAlbumPlayListItem';case'Map':return'MapPlayListItem';case'Video':return'VideoPlayListItem';}}();if(eu!=undefined){var ev=this['getByClassName'](eu);for(var ew=ev['length']-0x1;ew>=0x0;--ew){var ex=ev[ew];if(ex['get']('media')!=es||et!=undefined&&ex['get']('player')!=et){ev['splice'](ew,0x1);}}return ev;}else{return[];}};TDV['Tour']['Script']['historyGoBack']=function(ey){var ez=this['get']('data')['history'][ey['get']('id')];if(ez!=undefined){ez['back']();}};TDV['Tour']['Script']['historyGoForward']=function(eA){var eB=this['get']('data')['history'][eA['get']('id')];if(eB!=undefined){eB['forward']();}};TDV['Tour']['Script']['init']=function(){var eC=this['get']('data')['history'];var eD=function(eM){var eN=eM['source'];var eO=eN['get']('selectedIndex');if(eO<0x0)return;var eP=eN['get']('id');if(!eC['hasOwnProperty'](eP))eC[eP]=new TDV['Tour']['HistoryData'](eN);eC[eP]['add'](eO);};var eE=this['getByClassName']('PlayList');for(var eG=0x0,eH=eE['length'];eG<eH;++eG){var eI=eE[eG];eI['bind']('change',eD,this);}if(this['getMainViewer']()['get']('translationTransitionEnabled')){var eJ=this['getByClassName']('ThumbnailList');eJ=eJ['concat'](this['getByClassName']('ThumbnailGrid'));eJ=eJ['concat'](this['getByClassName']('DropDown'));function eQ(eR){var eS=eR['source']['get']('playList');var eT=eS['get']('selectedIndex');if(eT>=0x0){this['skip3DTransitionOnce'](eS['get']('items')[eT]['get']('player'));}}for(var eG=0x0,eK=eJ['length'];eG<eK;++eG){var eL=eJ[eG];eL['bind']('change',eQ,this);}}};TDV['Tour']['Script']['sendAnalyticsData']=function(eU,eV,eW){if(window['dataLayer']){window['dataLayer']['push']({'event':eV,'label':eW,'category':eU});}if(!this['get']('data')['tour']['player']['cookiesEnabled'])return;if(window['ga']){window['ga']('send','event',eU,eV,eW);}if(window['gtag']){window['gtag']('event',eV,{'category':eU,'label':eW});}};TDV['Tour']['Script']['initAnalytics']=function(){var eY=this['getByClassName']('Panorama');eY=eY['concat'](this['getByClassName']('Video360'));eY=eY['concat'](this['getByClassName']('Map'));for(var f1=0x0,f4=eY['length'];f1<f4;++f1){var f5=eY[f1];var f7=f5['get']('data');var f8=f7?f7['label']:undefined;var f9=this['getOverlays'](f5);for(var fa=0x0,fb=f9['length'];fa<fb;++fa){var fc=f9[fa];var fd=fc['get']('data')!=undefined?f8+'\x20-\x20'+fc['get']('data')['label']:f8;switch(fc['get']('class')){case'FlatHotspotPanoramaOverlay':case'HotspotPanoramaOverlay':case'HotspotMapOverlay':case'AreaHotspotMapOverlay':var fe=fc['get']('areas');for(var ff=0x0;ff<fe['length'];++ff){fe[ff]['bind']('click',this['sendAnalyticsData']['bind'](this,'Hotspot','click',fd),this,![]);}break;case'CeilingCapPanoramaOverlay':case'TripodCapPanoramaOverlay':fc['bind']('click',this['sendAnalyticsData']['bind'](this,'Cap','click',fd),this,![]);break;case'VideoPanoramaOverlay':fc['bind']('click',this['sendAnalyticsData']['bind'](this,'Hotspot','click',fd),this,![]);fc['bind']('start',this['sendAnalyticsData']['bind'](this,'Hotspot','start',fd),this,![]);break;}}}var fg=this['getByClassName']('UIComponent');for(var f1=0x0,f4=fg['length'];f1<f4;++f1){var fh=fg[f1];var fi=fh['getBindings']('click');if(fi['length']>0x0){var fj=fh['get']('data')['name'];fh['bind']('click',this['sendAnalyticsData']['bind'](this,'Skin','click',fj),this,![]);}}var fk=this['getByClassName']('PlayListItem');var fl={};for(var f1=0x0,f4=fk['length'];f1<f4;++f1){var fm=fk[f1];var eY=fm['get']('media');if(!(eY['get']('id')in fl)){var f7=eY['get']('data');fm['bind']('begin',this['sendAnalyticsData']['bind'](this,'Media','play',f7?f7['label']:undefined),this,![]);fl[eY['get']('id')]=fm;}}if(TDV['Remote']!=undefined){var fn=undefined;TDV['Remote']['bind'](TDV['Remote']['EVENT_CALL_BEGIN'],function(fo){fn=Date['now']();this['sendAnalyticsData']('Live\x20Guided\x20Tour','Start\x20Call','Guest:\x20'+fo);}['bind'](this));TDV['Remote']['bind'](TDV['Remote']['EVENT_CALL_END'],function(fp){var fq=new Date();fq['setTime'](Date['now']()-fn);this['sendAnalyticsData']('Live\x20Guided\x20Tour','End\x20Call','Guest:\x20'+fp+'\x20Duration:\x20'+fq['toUTCString']()['split']('\x20')[0x4]);}['bind'](this));}};TDV['Tour']['Script']['initQuiz']=function(fr,fs,ft){var fu={'question':{'veil':{'backgroundColor':'#000000','backgroundOpacity':0.2},'window':{'width':'60%','height':'60%','backgroundColor':'#ffffff','backgroundOpacity':0.9,'borderRadius':0x5,'horizontalAlign':'center','minWidth':0x1f4,'paddingBottom':0x14,'paddingLeft':0x14,'paddingRight':0x14,'paddingTop':0x14,'shadowBlurRadius':0x4,'shadow':!![],'shadowColor':'#000000','shadowOpacity':0.3,'shadowHorizontalLength':0x0,'shadowVerticalLength':0x0,'shadowSpread':0x4,'title':{'fontColor':'#000000','fontFamily':'Arial','fontSize':0x14,'fontWeight':'600','paddingLeft':0x32,'paddingRight':0x32,'paddingBottom':0x28,'paddingTop':0x19,'textAlign':'center'},'buttonsContainer':{'horizontalAlign':'right','verticalAlign':'bottom','button':{'backgroundColor':'#000000','backgroundOpacity':0.7,'borderRadius':0x3,'fontColor':'#ffffff','fontFamily':'Arial','fontSize':0x12,'fontWeight':'600','horizontalAlign':'center','paddingLeft':0x19,'paddingRight':0x19,'paddingTop':0xa,'paddingBottom':0xa,'verticalAlign':'middle'}},'bodyContainer':{'width':'100%','height':'100%','gap':0x23,'layout':'horizontal','paddingLeft':0x1e,'paddingRight':0x1e,'paddingBottom':0x1e},'mediaContainer':{'width':'70%','height':'100%','buttonNext':{'iconURL':'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAAlCAMAAACAj7KHAAAAA3NCSVQICAjb4U/gAAAAS1BMVEX///8AAAAAAAAAAAAAAACVlZWLi4uDg4MAAAC8vLx8fHx5eXl2dnZ0dHRxcXHDw8PAwMBra2tjY2PY2NiLi4v7+/v5+fn////7+/sWSBTRAAAAGXRSTlMAESIzRFVVVVVmZmZmZmZ3d3d3mZnu7v//nfgMagAAAAlwSFlzAAAK6wAACusBgosNWgAAABx0RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzIENTNui8sowAAAAWdEVYdENyZWF0aW9uIFRpbWUAMDYvMjkvMTUTtAt+AAAAjElEQVQokbXTyRaAIAgFUJHmeTL7/y9Naie+Toti2T0R4suYH4qI0HNKGpGV0iYwuoLFlEzeu0YT2dqH2jtFZHN3UR9T6FamKQi3O6Q+STL2O4r6WR4QcTZfdIQjR6NzttxUaKk2Eb/qdql34HfgbPA8eAdwb3jXD/eD7xTnAGcH5g1n9CHXBv8Ln9UJhXMPrAhUbYMAAAAASUVORK5CYII=','width':0x19,'height':0x25},'buttonPrevious':{'iconURL':'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAAlCAMAAACAj7KHAAAAA3NCSVQICAjb4U/gAAAAS1BMVEX///8AAAAAAAAAAAAAAACVlZWLi4uDg4MAAAC8vLx8fHx5eXl2dnZ0dHRxcXHDw8PAwMBra2tjY2PY2NiLi4v7+/v5+fn////7+/sWSBTRAAAAGXRSTlMAESIzRFVVVVVmZmZmZmZ3d3d3mZnu7v//nfgMagAAAAlwSFlzAAAK6wAACusBgosNWgAAABx0RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzIENTNui8sowAAAAWdEVYdENyZWF0aW9uIFRpbWUAMDYvMjkvMTUTtAt+AAAAkElEQVQokbXSyRaDIAwFUALOQ7W2iP//pQK6CGheF55mmXuYwlPqn0VEUp/uzPd0qAuFvqnsdKEInXVuziTCsDpfraYcxgi25MKh5rsxWHvDhMMIIJWf8EpAeei2CO/CJK8kXR2w5ED6E8B9m0zkNegc8W7ye8AM5LmBWYP/AX8KcgCyA/IGMqrkXJ92239aO3W4D6yL2ECSAAAAAElFTkSuQmCC','width':0x19,'height':0x25},'viewerArea':{'playbackBarBackgroundColor':'#000000','playbackBarBackgroundOpacity':0.5,'playbackBarBorderRadius':0x0,'playbackBarBorderSize':0x0,'playbackBarBottom':0x5,'playbackBarHeight':0x6,'playbackBarLeft':0x0,'playbackBarRight':0x0,'playbackBarProgressBackgroundColor':'#3399ff','playbackBarProgressOpacity':0.5,'playbackBarHeadBackgroundColor':'#cccccc','playbackBarHeadBorderColor':'#ffffff','playbackBarHeadBorderRadius':0x7,'playbackBarHeadBorderSize':0x3,'playbackBarHeadOpacity':0x1,'playbackBarHeadWidth':0xe,'playbackBarHeadHeight':0xe,'playbackBarHeadShadow':!![],'playbackBarHeadShadowBlurRadius':0x2,'playbackBarHeadShadowColor':'#000000','playbackBarHeadShadowHorizontalLength':0x0,'playbackBarHeadShadowOpacity':0.3,'playbackBarHeadShadowSpread':0x2,'playbackBarHeadShadowVerticalLength':0x0,'backgroundColor':'#e6e6e6','backgroundOpacity':0x1}},'optionsContainer':{'gap':0xa,'width':'30%','height':'100%','overflow':'scroll','contentOpaque':!![]},'option':{'gap':0xa,'text':{'fontColor':'#404040','fontFamily':'Arial','fontSize':0x12,'paddingTop':0x9,'textAlign':'left','verticalAlign':'middle','selected':{'fontColor':'#000000','fontFamily':'Arial','fontSize':0x12,'paddingTop':0x9,'textAlign':'left'}},'label':{'borderRadius':0x13,'backgroundColor':'#000000','backgroundOpacity':0.2,'fontColor':'#ffffff','fontFamily':'Arial','fontSize':0x12,'fontWeight':'bold','height':0x26,'horizontalAlign':'center','pressedBackgroundOpacity':0x1,'verticalAlign':'middle','width':0x26,'correct':{'borderRadius':0x13,'backgroundColor':'#39b54a','backgroundOpacity':0x1,'fontColor':'#ffffff','fontFamily':'Arial','fontSize':0x12,'fontWeight':'bold','height':0x26,'horizontalAlign':'center','pressedBackgroundOpacity':0x1,'verticalAlign':'middle','width':0x26},'incorrect':{'borderRadius':0x13,'backgroundColor':'#ed1c24','backgroundOpacity':0x1,'fontColor':'#ffffff','fontFamily':'Arial','fontSize':0x12,'fontWeight':'bold','height':0x26,'horizontalAlign':'center','pressedBackgroundOpacity':0x1,'verticalAlign':'middle','width':0x26}}},'closeButton':{'backgroundColor':'#009FE3','height':0x2d,'iconColor':'#FFFFFF','iconLineWidth':0x2,'iconHeight':0x12,'iconWidth':0x12,'width':0x2d}}},'score':{'veil':{'backgroundColor':'#000000','backgroundOpacity':0.5},'window':{'backgroundColor':'#ffffff','horizontalAlign':'center','minWidth':0x1f4,'maxWidth':0x5dc,'paddingBottom':0x14,'paddingLeft':0x14,'paddingRight':0x14,'paddingTop':0x14,'content':{'width':'100%','horizontalAlign':'center'},'closeButton':{'backgroundColor':'#009fe3','height':0x2d,'iconColor':'#ffffff','iconLineWidth':0x2,'iconHeight':0x12,'iconWidth':0x12,'width':0x2d},'title':{'fontColor':'#000000','fontFamily':'Arial','fontSize':0x32,'fontWeight':'800','paddingBottom':0xf,'paddingTop':0x32,'textAlign':'center'},'description':{'fontColor':'#000000','fontFamily':'Arial','fontSize':0x10,'fontWeight':'400','paddingLeft':0x64,'paddingRight':0x64,'paddingBottom':0xf,'paddingTop':0xf,'textAlign':'center'},'statsContainer':{'gap':0x14,'horizontalAlign':'center','paddingLeft':0x64,'paddingRight':0x64,'paddingBottom':0xf,'paddingTop':0xf,'verticalAlign':'middle','overflow':'scroll','contentOpaque':!![]},'stats':{'borderColor':'#009fe3','borderSize':0x1,'borderRadius':0x4b,'gap':0x0,'height':0x96,'horizontalAlign':'center','layout':'vertical','verticalAlign':'middle','minWidth':0x96,'title':{'fontColor':'#000000','fontFamily':'Arial','fontSize':0x14,'fontWeight':'400','paddingTop':0xa,'paddingLeft':0x5,'paddingRight':0x5},'mainValue':{'fontColor':'#000000','fontFamily':'Arial','fontSize':0x28,'fontWeight':'700'},'secondaryValue':{'fontColor':'#000000','fontFamily':'Arial','fontSize':0x14,'fontWeight':'700'},'label':{'fontColor':'#000000','fontFamily':'Arial','fontSize':0xf,'fontWeight':'400'}},'calification':{'fontColor':'#009fe3','fontFamily':'Arial','fontSize':0x1e,'fontWeight':'700','textAlign':'center','paddingLeft':0x64,'paddingRight':0x64,'paddingBottom':0xa,'paddingTop':0xf,'verticalAlign':'middle','width':'100%'},'timeContainer':{'gap':0x5,'horizontalAlign':'center','paddingLeft':0x64,'paddingRight':0x64,'paddingBottom':0xf,'paddingTop':0xa,'verticalAlign':'middle','width':'100%'},'buttonsContainer':{'gap':0x8,'paddingLeft':0x64,'paddingRight':0x64,'paddingBottom':0x32,'paddingTop':0x23,'horizontalAlign':'center','verticalAlign':'middle','width':'100%','button':{'backgroundColor':'#009fe3','fontColor':'#ffffff','fontFamily':'Arial','fontSize':0xf,'fontWeight':'600','horizontalAlign':'center','paddingLeft':0x19,'paddingRight':0x19,'paddingTop':0xc,'paddingBottom':0xc,'verticalAlign':'middle'}}}},'timeout':{'veil':{'backgroundColor':'#000000','backgroundOpacity':0.5},'window':{'backgroundColor':'#ffffff','horizontalAlign':'center','gap':0xf,'paddingBottom':0x37,'paddingLeft':0x50,'paddingRight':0x50,'paddingTop':0x2d,'icon':{'height':0x48,'url':'data:image/jpeg;base64,/9j/4AAQSkZJRgABAgAAZABkAAD/7AARRHVja3kAAQAEAAAAUAAA/+4ADkFkb2JlAGTAAAAAAf/bAIQAAgICAgICAgICAgMCAgIDBAMCAgMEBQQEBAQEBQYFBQUFBQUGBgcHCAcHBgkJCgoJCQwMDAwMDAwMDAwMDAwMDAEDAwMFBAUJBgYJDQsJCw0PDg4ODg8PDAwMDAwPDwwMDAwMDA8MDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwM/8AAEQgASAA+AwERAAIRAQMRAf/EAHQAAAICAwEBAAAAAAAAAAAAAAUGAAQCAwcBCQEBAAAAAAAAAAAAAAAAAAAAABAAAQMDAgMHAwMBCQAAAAAAAQIDBAARBSExQRITUWFxkbEiBoGhFFJiIzLB0UJygqJDYyQRAQAAAAAAAAAAAAAAAAAAAAD/2gAMAwEAAhEDEQA/APv5QSglBydzJZHqOf8AvkD3HQOqA37AaAjhZ85zJxG3Jjzja1EKQtxSgfaeBNB0eglBKANl8w1jGwkAOylj+NnsH6ld1BliMqjKMrVydN9mweQNtb2IPfagkzOY6EShb3VdTu017j9TsPOgQspNiTHELiQxFCebnItdZPEgCgu4fKwcekfkQuo8FEplJCSoAi1he3rQO8PKQZ+kd8Fe5aV7VeR3+lAMzGeGOdTHZbDz+inea4SlJ2GnE0FtOaiLxzmRTdSWQOqyP6kqJACT4k70CtmMLkPzJEhtKpTTpU51Li6Rvym54DagAMy5Mdt1pl5TSHwA6lJte1AQx+Em5ABxCQywf+degP8AlG5oGRr4lEAHWlPLVxKAlI+4VQYP/EmSD+NLWlXAOgKHmLelArTMfNxjiesko1u0+gnlJHYrTWg0uOyp8hBcUqRIc5W0Xtc8AKAyxgskmHNWptSFrSltuMCLrPUSSTrawtQHfk88x4yIjSrOSr9Qjg2N/M0ADAYkT3i++LxY5F0/rVvy+HbQPU5yRHhuKgsB15AAaatpa4GgFthwoKj7M/IYxpIc/AmL5VOBJI23FxqL70Hs5zJRIcZMNsTZCeRD61AkmwsVWuNzQEHWW5TBZkthSXUjqNnWx7j3dtBzDJwHMZMU1clH9cd3YlPD6igcUZhxeAdnJsZLIDTncskJ5v8AcDQLPyN0u5V8HZlKG0+HKCfuTQO+GYEbGRE2sVoDiz3r92vhe1B5jse5DclurmKlJlK5kg8N+8660HuQy8THKQh7nW64LpabAKrdupAoFub8pdc/jx7Jb5tA64AVa9iRcetBcw+PmtyBkslIUhxwFCGVq9yub9V9u4UGz5VHDkJqRb3sOWv+1eh+4FArQ3iMXmI99FJZcA7CHUg+ooJnkFGWmA8VJUP9SQaB9jtonYdhrnKUPxkIKk7j2gH70GzGx2IcYQ2ZAfMckOG4JCiSbEDbwoBmShz28i1lMe0iQtLfTWys2tuLi5Hb20GWHxKo6nps1pH5r6ytKRYhsHU2toCSeFBZyUGFknWGHpPTfYJWllC0hZSbX9pueG9BW+TrCMWtJ3dcQlP0PN/ZQJURJMLLK4BlsE95eRb0oDvyuIUvMTUj2OJ6Th7FDUeY9KC38XyCVsqx7irONErY70nUj6HWgJmNDwjc7IoS64XLKcRcHdWydBxPGguNZGM5BbnuK/HYcF/5NCNbW86DVkMozAitS+QyG3lJCCg6WUL3v4CgyRAiuy2sryrTIU2OUE2Aum2o7bG1An/JsgmTJTFaVzNRb86hsVnfy2oNkeEtr41PfKTzyihYH/WhabH1NA6zIrU2O7GeF0OC1+IPAjwoOYSosvEywlRLbrZ5mXk7KHAigbcf8ljPoDOQAZdtYu2u2rx7PSgPOtQslH6JKH45sQG1aC21ik0HqnYMFlDTjrbDTSQlCFqGw20OpoFTK/JeolUfHXSFaLkkWNv2jh4mgD4fEuZJ8FQKYrZ/nc7f2jvNB0zpt9Po8g6XLydO2nLa1reFBnQVZkKNOaLMlsLT/hVspJ7QeFAlTPi0tolUNYkt8EKISseeh86AKvFZJB5TAfJ/a2pQ8wDQZtYjJunlTBeB7VpKB5qtQMEH4qolLk90BO/QbNye4q/uoHJplphtLTKA22gWShOgFBsoP//Z','width':0x3e},'title':{'fontColor':'#000000','fontFamily':'Arial','fontSize':0x28,'fontWeight':'800','textAlign':'center','paddingBottom':0x14},'button':{'backgroundColor':'#009fe3','fontColor':'#ffffff','fontFamily':'Arial','fontSize':0xf,'fontWeight':'600','horizontalAlign':'center','paddingLeft':0x19,'paddingRight':0x19,'paddingTop':0xc,'paddingBottom':0xc,'verticalAlign':'middle'},'buttonsContainer':{'horizontalAlign':'center','width':'100%','gap':0xa}}}};fr['theme']='theme'in fr?this['mixObject'](fu,fr['theme']):fu;if(fr['player']['get']('isMobile')){var fv=this['mixObject'](fr['theme'],{'question':{'window':{'width':'100%','height':'100%','minWidth':undefined,'backgroundOpacity':0x1,'borderRadius':0x0,'paddingLeft':0x0,'paddingRight':0x0,'paddingBottom':0x0,'paddingTop':0x0,'verticalAlign':'middle','title':{'paddingBottom':0x19,'paddingTop':0x19},'bodyContainer':{'layout':'vertical','horizontalAlign':'center','paddingLeft':0x0,'paddingRight':0x0,'gap':0x14},'mediaContainer':{'width':'100%','height':'45%'},'optionsContainer':{'width':'100%','height':'55%','paddingLeft':0x14,'paddingRight':0x14}}},'score':{'window':{'description':{'paddingLeft':0xa,'paddingRight':0xa},'calification':{'fontSize':0x14,'paddingLeft':0xa,'paddingRight':0xa}}}});fr['theme']=fv;}var fw=this['get']('data');var fx=document['getElementById']('metaViewport');var fy=fx?/initial-scale=(\d+(\.\d+)?)/['exec'](fx['getAttribute']('content')):undefined;var fz=fy?fy[0x1]:0x1;fw['scorePortraitConfig']={'theme':{'window':{'minWidth':0xfa/fz,'maxHeight':0x258/fz,'content':{'height':'100%'},'statsContainer':{'layout':'vertical','horizontalAlign':'center','maxHeight':0x258,'paddingLeft':0x0,'paddingRight':0x0,'width':'100%','height':'100%'},'buttonsContainer':{'paddingLeft':0xa,'paddingRight':0xa,'button':{'paddingLeft':0xf,'paddingRight':0xf}}}}};fw['scoreLandscapeConfig']={'theme':{'window':{'title':{'fontSize':0x1e,'paddingTop':0xa},'stats':{'height':0x64},'buttonsContainer':{'paddingBottom':0x14,'paddingTop':0xa},'description':{'paddingBottom':0x5,'paddingTop':0x5}}}};var fA=new TDV['Quiz'](fr);fA['setMaxListeners'](0x32);if(ft===!![]){fA['bind'](TDV['Quiz']['EVENT_PROPERTIES_CHANGE'],function(){if((fA['get'](TDV['Quiz']['PROPERTY']['QUESTIONS_ANSWERED'])+fA['get'](TDV['Quiz']['PROPERTY']['ITEMS_FOUND']))/(fA['get'](TDV['Quiz']['PROPERTY']['QUESTION_COUNT'])+fA['get'](TDV['Quiz']['PROPERTY']['ITEM_COUNT']))==0x1)fA['finish']();}['bind'](this));}if(fs===!![])fA['start']();fw['quiz']=fA;fw['quizConfig']=fr;};TDV['Tour']['Script']['_initSplitViewer']=function(fB){function fC(){var fU=fB['get']('actualWidth');fM['get']('children')[0x0]['set']('width',fU);fN['get']('children')[0x0]['set']('width',fU);var fV=fQ['get']('left');var fW=typeof fV=='string'?fD(fV):fV;fW+=fQ['get']('actualWidth')*0.5;fM['set']('width',fE(fW));fN['set']('width',fE(fU-fW));}function fD(fX){return parseFloat(fX['replace']('%',''))/0x64*fB['get']('actualWidth');}function fE(fY){return fY/fB['get']('actualWidth')*0x64+'%';}function fF(fZ){fG(fZ['source']);}function fG(g0){var g1=g0==fS?fR:fS;if(fT&&g0!=fT||!g0||!g1)return;var g2=g1['get']('camera')['get']('initialPosition')['get']('yaw')-g0['get']('camera')['get']('initialPosition')['get']('yaw');g1['setPosition'](g0['get']('yaw')+g2,g0['get']('pitch'),g0['get']('roll'),g0['get']('hfov'));}function fH(g3){fT=g3['source'];}function fI(g4){fJ(g4['source']);}function fJ(g5){var g6=g5['get']('viewerArea');if(g6==fO){fR=g5;fT=fR;}else if(g6==fP){fS=g5;fT=fR;}fG(g5);}function fK(g7){var g8=this['getCurrentPlayers']();var g9=g8['length'];while(g9-->0x0){var gc=g8[g9];if(gc['get']('viewerArea')!=g7){g8['splice'](g9,0x1);}}for(g9=0x0;g9<g8['length'];++g9){var gc=g8[g9];gc['bind']('preloadMediaShow',fI,this);gc['bind']('cameraPositionChange',fF,this);gc['bind']('userInteractionStart',fH,this);if(gc['get']('panorama'))fJ(gc);}return g8;}var fL=fB['get']('children');var fM=fL[0x0];var fN=fL[0x1];var fO=fM['get']('children')[0x0];var fP=fN['get']('children')[0x0];var fQ=fL[0x2];var fR,fS,fT;fK['call'](this,fO);fK['call'](this,fP);fB['bind']('resize',function(){fQ['set']('left',(fB['get']('actualWidth')-fQ['get']('actualWidth'))*0.5);fC();},this);fQ['bind']('mouseDown',function(gd){var ge=gd['pageX'];var gf=function(gg){var gh=gg['pageX'];var gi=ge-gh;var gj=fB['get']('actualWidth');var gk=fQ['get']('left');var gl=(typeof gk=='string'?fD(gk):gk)-gi;if(gl<0x0){gh-=gl;gl=0x0;}else if(gl+fQ['get']('actualWidth')>=gj){gh-=gl-(gj-fQ['get']('actualWidth'));gl=gj-fQ['get']('actualWidth');}fQ['set']('left',gl);fC();ge=gh;};this['bind']('mouseMove',gf,this);this['bind']('mouseUp',function(){this['unbind']('mouseMove',gf,this);},this);},this);fC();};TDV['Tour']['Script']['_initTwinsViewer']=function(gm){function gn(){var gF=gm['get']('actualWidth');gx['get']('children')[0x0]['set']('width',gF);gy['get']('children')[0x0]['set']('width',gF);var gG=gB['get']('left');var gH=typeof gG=='string'?go(gG):gG;gH+=gB['get']('actualWidth')*0.5;gx['set']('width',gp(gH));gy['set']('width',gp(gF-gH));}function go(gI){return parseFloat(gI['replace']('%',''))/0x64*gm['get']('actualWidth');}function gp(gJ){return gJ/gm['get']('actualWidth')*0x64+'%';}function gq(gK){gr(gK['source']);}function gr(gL){var gM=gL==gD?gC:gD;if(gE&&gL!=gE||!gL||!gM)return;var gN=gM['get']('camera')['get']('initialPosition')['get']('yaw')-gL['get']('camera')['get']('initialPosition')['get']('yaw');gM['setPosition'](gL['get']('yaw')+gN,gL['get']('pitch'),gL['get']('roll'),gL['get']('hfov'));}function gs(gO){gE=gO['source'];}function gt(gP){gu(gP['source']);}function gu(gQ){var gR=gQ['get']('viewerArea');if(gR==gz){gC=gQ;gE=gC;}else if(gR==gA){gD=gQ;gE=gC;}gr(gQ);}function gv(gS){var gT=this['getCurrentPlayers']();var gU=gT['length'];while(gU-->0x0){var gW=gT[gU];if(gW['get']('viewerArea')!=gS){gT['splice'](gU,0x1);}}for(gU=0x0;gU<gT['length'];++gU){var gW=gT[gU];gW['bind']('preloadMediaShow',gt,this);gW['bind']('cameraPositionChange',gq,this);gW['bind']('userInteractionStart',gs,this);if(gW['get']('panorama'))gu(gW);}return gT;}var gw=gm['get']('children');var gx=gw[0x0];var gy=gw[0x1];var gz=gx['get']('children')[0x0];var gA=gy['get']('children')[0x0];var gB=gw[0x2];var gC,gD,gE;gv['call'](this,gz);gv['call'](this,gA);gm['bind']('resize',function(){gB['set']('left',(gm['get']('actualWidth')-gB['get']('actualWidth'))*0.5);gn();},this);gn();};TDV['Tour']['Script']['isCardboardViewMode']=function(){var gX=this['getByClassName']('PanoramaPlayer');return gX['length']>0x0&&gX[0x0]['get']('viewMode')=='cardboard';};TDV['Tour']['Script']['isPanorama']=function(gY){return['Panorama','HDRPanorama','LivePanorama','Video360','VideoPanorama']['indexOf'](gY['get']('class'))!=-0x1;};TDV['Tour']['Script']['keepCompVisible']=function(gZ,h0){var h1='keepVisibility_'+gZ['get']('id');var h2=this['getKey'](h1);if(h2==undefined&&h0){this['registerKey'](h1,h0);}else if(h2!=undefined&&!h0){this['unregisterKey'](h1);}};TDV['Tour']['Script']['_initItemWithComps']=function(h3,h4,h5,h6,h7,h8,h9,ha){var hb=h3['get']('items')[h4];var hc=hb['get']('media');var hd=hc['get']('loop')==undefined||hc['get']('loop');var he=ha>0x0;var hf=this['rootPlayer'];var hg=function(ho){var hp=h8?h8['get']('class'):undefined;var hq=undefined;switch(hp){case'FadeInEffect':case'FadeOutEffect':hq=hf['createInstance'](ho?'FadeInEffect':'FadeOutEffect');break;case'SlideInEffect':case'SlideOutEffect':hq=hf['createInstance'](ho?'SlideInEffect':'SlideOutEffect');break;}if(hq){hq['set']('duration',h8['get']('duration'));hq['set']('easing',h8['get']('easing'));if(hp['indexOf']('Slide')!=-0x1)hq['set'](ho?'from':'to',h8['get'](h8['get']('class')=='SlideInEffect'?'from':'to'));}return hq;};var hh=function(){for(var hr=0x0,hs=h5['length'];hr<hs;++hr){var ht=h5[hr];if(ha>0x0){this['setComponentVisibility'](ht,!h7,0x0,hg(!h7));}else{var hu='visibility_'+ht['get']('id');if(this['existsKey'](hu)){if(this['getKey'](hu))this['setComponentVisibility'](ht,!![],0x0,hg(!![]));else this['setComponentVisibility'](ht,![],0x0,hg(![]));this['unregisterKey'](hu);}}}hb['unbind']('end',hh,this);if(!hd)hc['unbind']('end',hh,this);};var hi=function(){hb['unbind']('stop',hi,this,!![]);hb['unbind']('stop',hi,this);hb['unbind']('begin',hi,this,!![]);hb['unbind']('begin',hi,this);for(var hv=0x0,hw=h5['length'];hv<hw;++hv){this['keepCompVisible'](h5[hv],![]);}};var hj=function(hx,hy,hz){var hA=function(){var hB=function(hF,hG,hH){hf['setComponentVisibility'](hF,hG,hy,hH,hG?'showEffect':'hideEffect',![]);if(hz>0x0){var hI=hy+hz+(hH!=undefined?hH['get']('duration'):0x0);hf['setComponentVisibility'](hF,!hG,hI,hg(!hG),hG?'hideEffect':'showEffect',!![]);}};for(var hC=0x0,hD=h5['length'];hC<hD;++hC){var hE=h5[hC];if(h7=='toggle'){if(!hE['get']('visible'))hB(hE,!![],hg(!![]));else hB(hE,![],hg(![]));}else{hB(hE,h7,hg(h7));}}hb['unbind'](hx,hA,this);if(hx=='end'&&!hd)hc['unbind'](hx,hA,this);};hb['bind'](hx,hA,this);if(hx=='end'&&!hd)hc['bind'](hx,hA,this);};if(h6=='begin'){for(var hk=0x0,hl=h5['length'];hk<hl;++hk){var hm=h5[hk];this['keepCompVisible'](hm,!![]);if(he){var hn='visibility_'+hm['get']('id');this['registerKey'](hn,hm['get']('visible'));}}hb['bind']('stop',hi,this,!![]);hb['bind']('stop',hi,this);hb['bind']('begin',hi,this,!![]);hb['bind']('begin',hi,this);if(he){hb['bind']('end',hh,this);if(!hd)hc['bind']('end',hh,this);}}else if(h6=='end'&&ha>0x0){hj('begin',ha,0x0);ha=0x0;}if(h6!=undefined)hj(h6,h9,ha);};TDV['Tour']['Script']['loadFromCurrentMediaPlayList']=function(hJ,hK,hL){var hM=hJ['get']('selectedIndex');var hN=hJ['get']('items')['length'];var hO=(hM+hK)%hN;while(hO<0x0){hO=hN+hO;}if(hM!=hO){if(hL){var hP=hJ['get']('items')[hO];this['skip3DTransitionOnce'](hP['get']('player'));}hJ['set']('selectedIndex',hO);}};TDV['Tour']['Script']['mixObject']=function(hQ,hR){return this['assignObjRecursively'](hR,this['copyObjRecursively'](hQ));};TDV['Tour']['Script']['openLink']=function(hS,hT){if(!hS||hS==location['href']){return;}var hU=window&&window['process']&&window['process']['versions']&&window['process']['versions']['electron']||navigator&&navigator['userAgent']&&navigator['userAgent']['indexOf']('Electron')>=0x0;if(hT=='_blank'&&hU){if(hS['startsWith']('/')){var hV=window['location']['href']['split']('/');hV['pop']();hS=hV['join']('/')+hS;}var hW=hS['split']('.')['pop']()['toLowerCase']();if(['pdf','zip','xls','xlsx']['indexOf'](hW)==-0x1||hS['startsWith']('file://')){var hX=window['require']('electron')['shell'];hX['openExternal'](hS);}else{window['open'](hS,hT);}}else if(hU&&(hT=='_top'||hT=='_self')){window['location']=hS;}else{var hY=window['open'](hS,hT);hY['focus']();}};TDV['Tour']['Script']['pauseCurrentPlayers']=function(hZ){var i0=this['getCurrentPlayers']();var i1=i0['length'];while(i1-->0x0){var i2=i0[i1];if(i2['get']('state')=='playing'||i2['get']('viewerArea')&&i2['get']('viewerArea')['get']('id')==this['getMainViewer']()||i2['get']('camera')&&i2['get']('camera')['get']('idleSequence')&&i2['get']('camera')['get']('timeToIdle')>0x0){var i3=this['getMediaFromPlayer'](i2);if(hZ&&i3&&i3['get']('class')!='Video360'&&'pauseCamera'in i2){i2['pauseCamera']();}else{i2['pause']();}}else{i0['splice'](i1,0x1);}}return i0;};TDV['Tour']['Script']['pauseGlobalAudiosWhilePlayItem']=function(i4,i5,i6){var i7=function(){if(i4['get']('selectedIndex')!=i5){this['resumeGlobalAudios']();}};this['pauseGlobalAudios'](i6);this['executeFunctionWhenChange'](i4,i5,i7,i7);};TDV['Tour']['Script']['pauseGlobalAudios']=function(i8){this['stopTextToSpeech']();if(window['pausedAudiosLIFO']==undefined)window['pausedAudiosLIFO']=[];var i9=this['getByClassName']('VideoPanoramaOverlay');for(var ib=i9['length']-0x1;ib>=0x0;--ib){var ic=i9[ib];var id=ic['get']('data');if(id&&id['hasAudio']==![])i9['splice'](ib,0x1);}var ie=this['getByClassName']('Audio')['concat'](i9);var ig={};if(window['currentGlobalAudios']!=undefined)ie=ie['concat'](Object['values'](window['currentGlobalAudios'])['map'](function(ik){if(!ik['allowResume'])ig[ik['audio']['get']('id')]=ik['audio'];return ik['audio'];}));var ih=[];for(var ib=0x0,ii=ie['length'];ib<ii;++ib){var ij=ie[ib];if(ij&&ij['get']('state')=='playing'&&(i8==undefined||i8['indexOf'](ij)==-0x1)){if(ij['get']('id')in ig){ij['stop']();}else{ij['pause']();ih['push'](ij);}}}if(ih['length']>0x0)window['pausedAudiosLIFO']['push'](ih);return ih;};TDV['Tour']['Script']['resumeGlobalAudios']=function(){if(window['pausedAudiosLIFO']==undefined)return;var il=window['pausedAudiosLIFO']['pop']();if(!il)return;for(var im=0x0,io=il['length'];im<io;++im){var ip=il[im];if(ip['get']('state')=='paused')ip['play']();}};TDV['Tour']['Script']['pauseGlobalAudio']=function(iq){var ir=window['currentGlobalAudios'];if(ir){var is=ir[iq['get']('id')];if(is)iq=is['audio'];}if(iq['get']('state')=='playing')iq['pause']();};TDV['Tour']['Script']['playAudioList']=function(it,iu){if(it['length']==0x0)return;var iv=-0x1;var iw;var ix=this['playGlobalAudio'];var iy=function(){if(++iv>=it['length']){if(!iu)return;iv=0x0;}iw=it[iv];ix(iw,!![],iy,!![]);};iy();};TDV['Tour']['Script']['playGlobalAudioWhilePlay']=function(iz,iA,iB,iC,iD,iE){var iF=function(iR){if(iR['data']['previousSelectedIndex']==iA){this['stopGlobalAudio'](iB);if(iJ){var iS=iI['get']('media');var iT=iS['get']('audios');iT['splice'](iT['indexOf'](iB),0x1);iS['set']('audios',iT);}iz['unbind']('change',iF,this);if(iD)iD();}};var iH=window['currentGlobalAudios'];if(iH&&iB['get']('id')in iH){iB=iH[iB['get']('id')]['audio'];if(iB['get']('state')!='playing'){iB['play']();}return iB;}iz['bind']('change',iF,this);var iI=iz['get']('items')[iA];var iJ=iI['get']('class')=='PanoramaPlayListItem';if(iJ){var iK=iI['get']('media');var iH=(iK['get']('audios')||[])['slice']();if(iB['get']('class')=='MediaAudio'){var iL=this['rootPlayer']['createInstance']('PanoramaAudio');iL['set']('autoplay',![]);iL['set']('audio',iB['get']('audio'));iL['set']('loop',iB['get']('loop'));iL['set']('id',iB['get']('id'));var iM=iB['getBindings']('stateChange');for(var iN=0x0;iN<iM['length'];++iN){var iO=iM[iN];if(typeof iO=='string')iO=new Function('event',iO);iL['bind']('stateChange',iO,this);}iB=iL;}iH['push'](iB);iK['set']('audios',iH);}var iP=this['playGlobalAudio'](iB,iC,function(){iz['unbind']('change',iF,this);if(iD)iD['call'](this);});if(iE===!![]){var iQ=function(){if(iP['get']('state')=='playing'){this['pauseGlobalAudios']([iP]);}else if(iP['get']('state')=='stopped'){this['resumeGlobalAudios']();iP['unbind']('stateChange',iQ,this);}};iP['bind']('stateChange',iQ,this);}return iP;};TDV['Tour']['Script']['playGlobalAudio']=function(iU,iV,iW,iX){var iY=function(){iU['unbind']('end',iY,this);this['stopGlobalAudio'](iU);if(iW)iW['call'](this);};iU=this['getGlobalAudio'](iU);var iZ=window['currentGlobalAudios'];if(!iZ){iZ=window['currentGlobalAudios']={};}iZ[iU['get']('id')]={'audio':iU,'asBackground':iX||![],'allowResume':iV};if(iU['get']('state')=='playing'){return iU;}if(!iU['get']('loop')){iU['bind']('end',iY,this);}iU['play']();return iU;};TDV['Tour']['Script']['resumePlayers']=function(j0,j1){for(var j2=0x0;j2<j0['length'];++j2){var j3=j0[j2];var j4=this['getMediaFromPlayer'](j3);if(!j4)continue;if(j1&&j4['get']('class')!='Video360'&&'pauseCamera'in j3){j3['resumeCamera']();}else{j3['play']();}}};TDV['Tour']['Script']['stopGlobalAudios']=function(j5){var j6=window['currentGlobalAudios'];var j7=this;if(j6){Object['keys'](j6)['forEach'](function(j8){var j9=j6[j8];if(!j5||j5&&!j9['asBackground']){j7['stopGlobalAudio'](j9['audio']);}});}};TDV['Tour']['Script']['stopGlobalAudio']=function(ja){var jb=window['currentGlobalAudios'];if(jb){var jc=jb[ja['get']('id')];if(jc){ja=jc['audio'];delete jb[ja['get']('id')];if(Object['keys'](jb)['length']==0x0){window['currentGlobalAudios']=undefined;}}}if(ja)ja['stop']();};TDV['Tour']['Script']['setCameraSameSpotAsMedia']=function(jd,je){var jf=this['getCurrentPlayerWithMedia'](je);if(jf!=undefined){var jg=jd['get']('initialPosition');jg['set']('yaw',jf['get']('yaw'));jg['set']('pitch',jf['get']('pitch'));jg['set']('hfov',jf['get']('hfov'));}};TDV['Tour']['Script']['setComponentVisibility']=function(jh,ji,jj,jk,jl,jm){var jn=this['getKey']('keepVisibility_'+jh['get']('id'));if(jn)return;this['unregisterKey']('visibility_'+jh['get']('id'));var jo=function(){if(jk&&jl){jh['set'](jl,jk);}jh['set']('visible',ji);if(jh['get']('class')=='ViewerArea'){try{if(ji)jh['restart']();else if(jh['get']('playbackState')=='playing')jh['pause']();}catch(jt){};}};var jp='effectTimeout_'+jh['get']('id');if(!jm&&window['hasOwnProperty'](jp)){var jr=window[jp];if(jr instanceof Array){for(var js=0x0;js<jr['length'];js++){clearTimeout(jr[js]);}}else{clearTimeout(jr);}delete window[jp];}else if(ji==jh['get']('visible')&&!jm)return;if(jj&&jj>0x0){var jr=setTimeout(function(){if(window[jp]instanceof Array){var ju=window[jp];var jv=ju['indexOf'](jr);ju['splice'](jv,0x1);if(ju['length']==0x0){delete window[jp];}}else{delete window[jp];}jo();},jj);if(window['hasOwnProperty'](jp)){window[jp]=[window[jp],jr];}else{window[jp]=jr;}}else{jo();}};TDV['Tour']['Script']['setLocale']=function(jw){this['stopTextToSpeech']();var jx=this['get']('data')['localeManager'];if(jx)this['get']('data')['localeManager']['setLocale'](jw);else{this['get']('data')['defaultLocale']=jw;this['get']('data')['forceDefaultLocale']=!![];}};TDV['Tour']['Script']['setEndToItemIndex']=function(jy,jz,jA){var jB=function(){if(jy['get']('selectedIndex')==jz){var jC=jy['get']('items')[jA];this['skip3DTransitionOnce'](jC['get']('player'));jy['set']('selectedIndex',jA);}};this['executeFunctionWhenChange'](jy,jz,jB);};TDV['Tour']['Script']['setMapLocation']=function(jD,jE){var jF=function(){jD['unbind']('stop',jF,this);jG['set']('mapPlayer',null);};jD['bind']('stop',jF,this);var jG=jD['get']('player');jG['set']('mapPlayer',jE);};TDV['Tour']['Script']['setMainMediaByIndex']=function(jH){var jI=undefined;if(jH>=0x0&&jH<this['mainPlayList']['get']('items')['length']){this['mainPlayList']['set']('selectedIndex',jH);jI=this['mainPlayList']['get']('items')[jH];}return jI;};TDV['Tour']['Script']['setMainMediaByName']=function(jJ){var jK=this['getMainViewer']();var jL=this['_getPlayListsWithViewer'](jK);for(var jM=0x0,jN=jL['length'];jM<jN;++jM){var jO=jL[jM];var jP=jO['get']('items');for(var jQ=0x0,jR=jP['length'];jQ<jR;++jQ){var jS=jP[jQ];var jT=jS['get']('media')['get']('data');if(jT!==undefined&&jT['label']==jJ&&jS['get']('player')['get']('viewerArea')==jK){jO['set']('selectedIndex',jQ);return jS;}}}};TDV['Tour']['Script']['setMediaBehaviour']=function(jU,jV,jW,jX){var jY=this;var jZ=function(km){if(km['data']['state']=='stopped'&&jX){k3['call'](this,!![]);}};var k0=function(){k9['unbind']('begin',k0,jY);var kn=k9['get']('media');if(kn['get']('class')!='Panorama'||kn['get']('camera')!=undefined&&kn['get']('camera')['get']('initialSequence')!=undefined){ka['bind']('stateChange',jZ,jY);}};var k1=function(){var ko=k6['get']('selectedIndex');if(ko!=-0x1){k8=ko;k3['call'](this,![]);}};var k2=function(){k3['call'](this,![]);};var k3=function(kp){if(!k6)return;var kq=k9['get']('media');if((kq['get']('class')=='Video360'||kq['get']('class')=='Video')&&kq['get']('loop')==!![]&&!kp)return;jU['set']('selectedIndex',-0x1);if(kh&&kg!=-0x1){if(kh){if(kg>0x0&&kh['get']('movements')[kg-0x1]['get']('class')=='TargetPanoramaCameraMovement'){var kr=ki['get']('initialPosition');var ks=kr['get']('yaw');var kt=kr['get']('pitch');var ku=kr['get']('hfov');var kv=kh['get']('movements')[kg-0x1];kr['set']('yaw',kv['get']('targetYaw'));kr['set']('pitch',kv['get']('targetPitch'));kr['set']('hfov',kv['get']('targetHfov'));var kw=function(kz){kr['set']('yaw',ks);kr['set']('pitch',kt);kr['set']('hfov',ku);kc['unbind']('end',kw,this);};kc['bind']('end',kw,this);}kh['set']('movementIndex',kg);}}if(ka){k9['unbind']('begin',k0,this);ka['unbind']('stateChange',jZ,this);for(var kx=0x0;kx<kj['length'];++kx){kj[kx]['unbind']('click',k2,this);}}if(kf){var ky=this['getMediaFromPlayer'](ka);if(k6['get']('items')['length']>0x1&&(ky==undefined||ky==k9['get']('media'))){k6['set']('selectedIndex',k8);}if(jU!=k6)k6['unbind']('change',k1,this);}else{kd['set']('visible',ke);}k6=undefined;};if(!jW){var k4=jU['get']('selectedIndex');var k5=k4!=-0x1?jU['get']('items')[jU['get']('selectedIndex')]['get']('player'):this['getActivePlayerWithViewer'](this['getMainViewer']());if(k5){jW=this['getMediaFromPlayer'](k5);}}var k6=undefined;if(jW){var k7=this['getPlayListsWithMedia'](jW,!![]);k6=k7['indexOf'](jU)!=-0x1?jU:k7['length']>0x0?k7[0x0]:undefined;}if(!k6){jU['set']('selectedIndex',jV);return;}var k8=k6['get']('selectedIndex');var k9=jU['get']('items')[jV];var ka=k9['get']('player');var kb=this['getMediaFromPlayer'](ka);if(jU['get']('selectedIndex')==jV&&kb==k9['get']('media')||k8==-0x1){return;}if(jU['get']('selectedIndex')==jV&&kb!=k9['get']('media'))jU['set']('selectedIndex',-0x1);var kc=k6['get']('items')[k8];var kd=ka['get']('viewerArea');var ke=kd['get']('visible');var kf=kd==kc['get']('player')['get']('viewerArea');if(kf){if(jU!=k6){k6['set']('selectedIndex',-0x1);k6['bind']('change',k1,this);}}else{kd['set']('visible',!![]);}var kg=-0x1;var kh=undefined;var ki=kc['get']('camera');if(ki){kh=ki['get']('initialSequence');if(kh){kg=kh['get']('movementIndex');}}jU['set']('selectedIndex',jV);var kj=[];var kk=function(kA){var kB=ka['get'](kA);if(kB==undefined)return;if(Array['isArray'](kB))kj=kj['concat'](kB);else kj['push'](kB);};kk('buttonStop');for(var kl=0x0;kl<kj['length'];++kl){kj[kl]['bind']('click',k2,this);}k9['bind']('begin',k0,jY);this['executeFunctionWhenChange'](jU,jV,jX?k2:undefined);};TDV['Tour']['Script']['setOverlayBehaviour']=function(kC,kD,kE,kF){var kG=function(){switch(kE){case'triggerClick':this['triggerOverlay'](kC,'click');break;case'stop':case'play':case'pause':kC[kE]();break;case'togglePlayPause':case'togglePlayStop':if(kC['get']('state')=='playing')kC[kE=='togglePlayPause'?'pause':'stop']();else kC['play']();break;}if(kF){if(window['overlaysDispatched']==undefined)window['overlaysDispatched']={};var kL=kC['get']('id');window['overlaysDispatched'][kL]=!![];setTimeout(function(){delete window['overlaysDispatched'][kL];},0x3e8);}};if(kF&&window['overlaysDispatched']!=undefined&&kC['get']('id')in window['overlaysDispatched'])return;var kH=this['getFirstPlayListWithMedia'](kD,!![]);if(kH!=undefined){var kI=this['getPlayListItemByMedia'](kH,kD);var kJ=kI['get']('player');if(kH['get']('items')['indexOf'](kI)!=kH['get']('selectedIndex')||this['isPanorama'](kI['get']('media'))&&kJ['get']('rendererPanorama')!=kI['get']('media')){var kK=function(kM){kI['unbind']('begin',kK,this);kG['call'](this);};kI['bind']('begin',kK,this);return;}}kG['call'](this);};TDV['Tour']['Script']['setPanoramaCameraWithCurrentSpot']=function(kN){var kO=this['getActiveMediaWithViewer'](this['getMainViewer']());if(kO!=undefined&&(kO['get']('class')['indexOf']('Panorama')!=-0x1||kO['get']('class')=='Video360')){var kP=kN['get']('media');var kQ=this['cloneCamera'](kN['get']('camera'));this['setCameraSameSpotAsMedia'](kQ,kO);this['startPanoramaWithCamera'](kP,kQ);}};TDV['Tour']['Script']['setPanoramaCameraWithSpot']=function(kR,kS,kT,kU,kV){var kW=kR['get']('selectedIndex');var kX=kR['get']('items');var kY=kS['get']('player');if(kX[kW]==kS||kY['get']('rendererPanorama')==kS['get']('media')){if(kT===undefined)kT=kY['get']('yaw');if(kU===undefined)kU=kY['get']('pitch');if(kV===undefined)kV=kY['get']('hfov');kY['moveTo'](kT,kU,kY['get']('roll'),kV);}else{var kZ=kS['get']('media');var l0=this['cloneCamera'](kS['get']('camera'));var l1=l0['get']('initialPosition');if(kT!==undefined)l1['set']('yaw',kT);if(kU!==undefined)l1['set']('pitch',kU);if(kV!==undefined)l1['set']('hfov',kV);this['startPanoramaWithCamera'](kZ,l0);}};TDV['Tour']['Script']['setSurfaceSelectionHotspotMode']=function(l2){var l3=this['getByClassName']('HotspotPanoramaOverlay');var l4=this['getByClassName']('PanoramaPlayer');var l5=l2=='hotspotEnabled';var l6=l2=='circleEnabled';var l7=!!l2;l3['forEach'](function(l8){var l9=l8['get']('data');if(l9&&l9['hasPanoramaAction']==!![])l8['set']('enabledInSurfaceSelection',l5);});l4['forEach'](function(la){la['set']('adjacentPanoramaPositionsEnabled',l6);la['set']('surfaceSelectionEnabled',l7);});this['get']('data')['surfaceSelectionHotspotMode']=l2;};TDV['Tour']['Script']['setValue']=function(lb,lc,ld){if('set'in lb)lb['set'](lc,ld);else lb[lc]=ld;};TDV['Tour']['Script']['setStartTimeVideo']=function(le,lf){var lg=this['getPlayListItems'](le);var lh=[];var li=function(){for(var lm=0x0;lm<lg['length'];++lm){var ln=lg[lm];ln['set']('startTime',lh[lm]);ln['unbind']('stop',li,this);}};for(var lj=0x0;lj<lg['length'];++lj){var lk=lg[lj];var ll=lk['get']('player');if(ll['get']('video')==le&&ll['get']('state')=='playing'){ll['seek'](lf);}else{lh['push'](lk['get']('startTime'));lk['set']('startTime',lf);lk['bind']('stop',li,this);}}};TDV['Tour']['Script']['setStartTimeVideoSync']=function(lo,lp){if(lo&&lp)this['setStartTimeVideo'](lo,lp['get']('currentTime'));};TDV['Tour']['Script']['skip3DTransitionOnce']=function(lq){if(lq){var lr=lq['get']('viewerArea');if(lr&&lr['get']('translationTransitionEnabled')==!![]){var ls=function(){lq['unbind']('preloadMediaShow',ls,this);lr['set']('translationTransitionEnabled',!![]);};lr['set']('translationTransitionEnabled',![]);lq['bind']('preloadMediaShow',ls,this);}}};TDV['Tour']['Script']['shareSocial']=function(lt,lu,lv,lw){if(lv){this['updateDeepLink']();}if(lu==undefined){lu=lv?location['href']:location['href']['split'](location['search']||location['hash']||/[?#]/)[0x0];}else if(lv){lu+=location['hash'];}lu=function(ly){switch(ly){case'email':return'mailto:?body='+lu;case'facebook':var lz=lu['indexOf']('?')!=-0x1;lu=lu['replace']('#','?');if(lz){var lA=lu['lastIndexOf']('?');lu=lu['substring'](0x0,lA)+'&'+lu['substring'](lA+0x1);}return'https://www.facebook.com/sharer/sharer.php?u='+encodeURIComponent(lu);case'linkedin':return'https://www.linkedin.com/shareArticle?mini=true&url='+encodeURIComponent(lu);case'pinterest':return'https://pinterest.com/pin/create/button/?url='+lu;case'telegram':return'https://t.me/share/url?url='+lu;case'twitter':return'https://twitter.com/intent/tweet?source=webclient&url='+lu;case'whatsapp':return'https://api.whatsapp.com/send/?text='+encodeURIComponent(lu);default:return lu;}}(lt);if(lw){for(var lx in lw){lu+='&'+lx+'='+lw[lx];}}if(lt=='clipboard')this['copyToClipboard'](lu);else this['openLink'](lu,'_blank');};TDV['Tour']['Script']['showComponentsWhileMouseOver']=function(lB,lC,lD){var lE=function(lI){for(var lJ=0x0,lK=lC['length'];lJ<lK;lJ++){lC[lJ]['set']('visible',lI);}};if(this['get']('isMobile')){lE['call'](this,!![]);}else{var lF=-0x1;var lG=function(){lE['call'](this,!![]);if(lF>=0x0)clearTimeout(lF);lB['bind']('rollOut',lH,this);};var lH=function(){var lL=function(){lE['call'](this,![]);};lB['unbind']('rollOut',lH,this);lF=setTimeout(lL['bind'](this),lD);};lB['bind']('rollOver',lG,this);}};TDV['Tour']['Script']['showPopupMedia']=function(lM,lN,lO,lP,lQ,lR){var lS=this;var lT=function(){lO['set']('selectedIndex',-0x1);lS['getMainViewer']()['set']('toolTipEnabled',!![]);this['resumePlayers'](lY,!![]);if(lX){this['unbind']('resize',lV,this);}lM['unbind']('close',lT,this);};var lU=function(){lM['hide']();};var lV=function(){var lZ=function(mg){return lM['get'](mg)||0x0;};var m0=lS['get']('actualWidth');var m1=lS['get']('actualHeight');var m2=lS['getMediaWidth'](lN);var m3=lS['getMediaHeight'](lN);var m4=parseFloat(lP)/0x64;var m5=parseFloat(lQ)/0x64;var m6=m4*m0;var m7=m5*m1;var m8=lZ('footerHeight');var m9=lZ('headerHeight');if(!m9){var ma=lZ('closeButtonIconHeight')+lZ('closeButtonPaddingTop')+lZ('closeButtonPaddingBottom');var mb=lS['getPixels'](lZ('titleFontSize'))+lZ('titlePaddingTop')+lZ('titlePaddingBottom');m9=ma>mb?ma:mb;m9+=lZ('headerPaddingTop')+lZ('headerPaddingBottom');}var mc=m6-lZ('bodyPaddingLeft')-lZ('bodyPaddingRight')-lZ('paddingLeft')-lZ('paddingRight');var md=m7-m9-m8-lZ('bodyPaddingTop')-lZ('bodyPaddingBottom')-lZ('paddingTop')-lZ('paddingBottom');var me=mc/md;var mf=m2/m3;if(me>mf){m6=md*mf+lZ('bodyPaddingLeft')+lZ('bodyPaddingRight')+lZ('paddingLeft')+lZ('paddingRight');}else{m7=mc/mf+m9+m8+lZ('bodyPaddingTop')+lZ('bodyPaddingBottom')+lZ('paddingTop')+lZ('paddingBottom');}if(m6>m0*m4){m6=m0*m4;}if(m7>m1*m5){m7=m1*m5;}lM['set']('width',m6);lM['set']('height',m7);lM['set']('x',(m0-lZ('actualWidth'))*0.5);lM['set']('y',(m1-lZ('actualHeight'))*0.5);};if(lR){this['executeFunctionWhenChange'](lO,0x0,lU);}var lW=lN['get']('class');var lX=lW=='Video'||lW=='Video360';lO['set']('selectedIndex',0x0);if(lX){this['bind']('resize',lV,this);lV();lO['get']('items')[0x0]['get']('player')['play']();}else{lM['set']('width',lP);lM['set']('height',lQ);}this['getMainViewer']()['set']('toolTipEnabled',![]);var lY=this['pauseCurrentPlayers'](!![]);lM['bind']('close',lT,this);lM['show'](this,!![]);};TDV['Tour']['Script']['showPopupImage']=function(mh,mi,mj,mk,ml,mm,mn,mo,mp,mq,mr,ms){var mt=![];var mu=function(){mL['unbind']('loaded',mx,this);mB['call'](this);};var mv=function(){mL['unbind']('click',mv,this);if(mP!=undefined){clearTimeout(mP);}};var mw=function(){setTimeout(mF,0x0);};var mx=function(){this['unbind']('click',mu,this);mK['set']('visible',!![]);mF();mM['set']('visible',!![]);mL['unbind']('loaded',mx,this);mL['bind']('resize',mw,this);mP=setTimeout(my['bind'](this),0xc8);};var my=function(){mP=undefined;if(mo){mL['bind']('click',mv,this);mA['call'](this);}mL['bind']('userInteractionStart',mG,this);mL['bind']('userInteractionEnd',mH,this);mL['bind']('backgroundClick',mB,this);if(mi){mL['bind']('click',mD,this);mL['set']('imageCursor','hand');}mM['bind']('click',mB,this);if(mr)mr['call'](this);};var mz=function(){if(mo&&mP){clearTimeout(mP);mP=undefined;}};var mA=function(){if(mo){mz();mP=setTimeout(mB['bind'](this),mo);}};var mB=function(){this['getMainViewer']()['set']('toolTipEnabled',!![]);mt=!![];if(mP)clearTimeout(mP);if(mQ)clearTimeout(mQ);if(mo)mv();if(ms)ms['call'](this);mL['set']('visible',![]);if(mm&&mm['get']('duration')>0x0){mm['bind']('end',mC,this);}else{mL['set']('image',null);}mM['set']('visible',![]);mK['set']('visible',![]);this['unbind']('click',mu,this);mL['unbind']('backgroundClick',mB,this);mL['unbind']('userInteractionStart',mG,this);mL['unbind']('userInteractionEnd',mH,this,!![]);mL['unbind']('resize',mw,this);if(mi){mL['unbind']('click',mD,this);mL['set']('cursor','default');}mM['unbind']('click',mB,this);this['resumePlayers'](mO,mp==null||mq);if(mq){this['resumeGlobalAudios']();}if(mp){this['stopGlobalAudio'](mp);}};var mC=function(){mL['set']('image',null);mm['unbind']('end',mC,this);};var mD=function(){mL['set']('image',mE()?mh:mi);};var mE=function(){return mL['get']('image')==mi;};var mF=function(){var mR=mL['get']('actualWidth')-mL['get']('imageLeft')-mL['get']('imageWidth')+0xa;var mS=mL['get']('imageTop')+0xa;if(mR<0xa)mR=0xa;if(mS<0xa)mS=0xa;mM['set']('right',mR);mM['set']('top',mS);};var mG=function(){mz();if(mQ){clearTimeout(mQ);mQ=undefined;}else{mM['set']('visible',![]);}};var mH=function(){mA['call'](this);if(!mt){mQ=setTimeout(mI,0x12c);}};var mI=function(){mQ=undefined;mM['set']('visible',!![]);mF();};var mJ=function(mT){var mU=mT['get']('data');if(mU&&'extraLevels'in mU){var mV=this['rootPlayer']['createInstance'](mT['get']('class'));var mW=mU['extraLevels'];mV['set']('levels',mT['get']('levels')['concat'](mW));mT=mV;}return mT;};this['getMainViewer']()['set']('toolTipEnabled',![]);var mK=this['veilPopupPanorama'];var mL=this['zoomImagePopupPanorama'];var mM=this['closeButtonPopupPanorama'];if(mn){for(var mN in mn){mM['set'](mN,mn[mN]);}}var mO=this['pauseCurrentPlayers'](mp==null||!mq);if(mq){this['pauseGlobalAudios']();}if(mp){this['playGlobalAudio'](mp,!![]);}var mP=undefined;var mQ=undefined;mh=mJ['call'](this,mh);if(mi)mi=mJ['call'](this,mi);mL['bind']('loaded',mx,this);setTimeout(function(){this['bind']('click',mu,this,![]);}['bind'](this),0x0);mL['set']('image',mh);mL['set']('customWidth',mj);mL['set']('customHeight',mk);mL['set']('showEffect',ml);mL['set']('hideEffect',mm);mL['set']('visible',!![]);return mL;};TDV['Tour']['Script']['showPopupPanoramaOverlay']=function(mX,mY,mZ,n0,n1,n2,n3){var n4=this['isCardboardViewMode']();if(mX['get']('visible')||!n4&&this['zoomImagePopupPanorama']['get']('visible'))return;this['getMainViewer']()['set']('toolTipEnabled',![]);if(!n4){var n5=this['zoomImagePopupPanorama'];var n6=mX['get']('showDuration');var n7=mX['get']('hideDuration');var n9=this['pauseCurrentPlayers'](n2==null||!n3);var na=mX['get']('popupMaxWidth');var nb=mX['get']('popupMaxHeight');var nc=function(){var nf=function(){if(!this['isCardboardViewMode']())mX['set']('visible',![]);};mX['unbind']('showEnd',nc,this);mX['set']('showDuration',0x1);mX['set']('hideDuration',0x1);this['showPopupImage'](mZ,n0,mX['get']('popupMaxWidth'),mX['get']('popupMaxHeight'),null,null,mY,n1,n2,n3,nf,nd);};var nd=function(){var ng=function(){mX['unbind']('showEnd',ng,this);mX['set']('visible',![]);mX['set']('showDuration',n6);mX['set']('popupMaxWidth',na);mX['set']('popupMaxHeight',nb);};this['resumePlayers'](n9,n2==null||!n3);var nh=n5['get']('imageWidth');var ni=n5['get']('imageHeight');mX['bind']('showEnd',ng,this,!![]);mX['set']('showDuration',0x1);mX['set']('hideDuration',n7);mX['set']('popupMaxWidth',nh);mX['set']('popupMaxHeight',ni);if(mX['get']('visible'))ng();else mX['set']('visible',!![]);this['getMainViewer']()['set']('toolTipEnabled',!![]);};mX['bind']('showEnd',nc,this,!![]);}else{var ne=function(){this['resumePlayers'](n9,n2==null||n3);if(n3){this['resumeGlobalAudios']();}if(n2){this['stopGlobalAudio'](n2);}mX['unbind']('hideEnd',ne,this);this['getMainViewer']()['set']('toolTipEnabled',!![]);};var n9=this['pauseCurrentPlayers'](n2==null||!n3);if(n3){this['pauseGlobalAudios']();}if(n2){this['playGlobalAudio'](n2,!![]);}mX['bind']('hideEnd',ne,this,!![]);}mX['set']('visible',!![]);};TDV['Tour']['Script']['showPopupPanoramaVideoOverlay']=function(nj,nk,nl){var nm=this;var nn=function(){nj['unbind']('showEnd',nn);nr['bind']('click',np,this);nq();nr['set']('visible',!![]);};var no=function(){if(!nj['get']('loop'))np();};var np=function(){nm['getMainViewer']()['set']('toolTipEnabled',!![]);nj['set']('visible',![]);nr['set']('visible',![]);nr['unbind']('click',np,nm);nj['unbind']('end',no,nm);nj['unbind']('hideEnd',np,nm,!![]);nm['resumePlayers'](nt,!![]);if(nl){nm['resumeGlobalAudios']();}};var nq=function(){var nu=0xa;var nv=0xa;nr['set']('right',nu);nr['set']('top',nv);};this['getMainViewer']()['set']('toolTipEnabled',![]);var nr=this['closeButtonPopupPanorama'];if(nk){for(var ns in nk){nr['set'](ns,nk[ns]);}}var nt=this['pauseCurrentPlayers'](!![]);if(nl){this['pauseGlobalAudios']();}nj['bind']('end',no,this,!![]);nj['bind']('showEnd',nn,this,!![]);nj['bind']('hideEnd',np,this,!![]);nj['set']('visible',!![]);};TDV['Tour']['Script']['showWindow']=function(nw,nx,ny){if(nw['get']('visible')==!![]){return;}var nz=function(){this['getMainViewer']()['set']('toolTipEnabled',!![]);if(ny){this['resumeGlobalAudios']();}nA();this['resumePlayers'](nD,!ny);nw['unbind']('close',nz,this);};var nA=function(){nw['unbind']('click',nA,this);if(nB!=undefined){clearTimeout(nB);}};var nB=undefined;if(nx){var nC=function(){nw['hide']();};nw['bind']('click',nA,this);nB=setTimeout(nC,nx);}this['getMainViewer']()['set']('toolTipEnabled',![]);if(ny){this['pauseGlobalAudios']();}var nD=this['pauseCurrentPlayers'](!ny);nw['bind']('close',nz,this);nw['show'](this,!![]);};TDV['Tour']['Script']['startPanoramaWithCamera']=function(nE,nF){var nG=this['getByClassName']('PlayList');if(nG['length']==0x0)return;var nH=window['currentPanoramasWithCameraChanged']==undefined||!(nE['get']('id')in window['currentPanoramasWithCameraChanged']);var nI=[];for(var nK=0x0,nL=nG['length'];nK<nL;++nK){var nM=nG[nK];var nN=nM['get']('items');for(var nO=0x0,nP=nN['length'];nO<nP;++nO){var nR=nN[nO];if(nR['get']('media')==nE&&(nR['get']('class')=='PanoramaPlayListItem'||nR['get']('class')=='Video360PlayListItem')){if(nH){nI['push']({'camera':nR['get']('camera'),'item':nR});}nR['set']('camera',nF);}}}if(nI['length']>0x0){if(window['currentPanoramasWithCameraChanged']==undefined){window['currentPanoramasWithCameraChanged']={};}var nS=nE['get']('id');window['currentPanoramasWithCameraChanged'][nS]=nI;var nT=function(){if(nS in window['currentPanoramasWithCameraChanged']){delete window['currentPanoramasWithCameraChanged'][nS];}for(var nV=0x0;nV<nI['length'];nV++){nI[nV]['item']['set']('camera',nI[nV]['camera']);nI[nV]['item']['unbind']('end',nT,this);}};for(var nK=0x0;nK<nI['length'];nK++){var nU=nI[nK];var nR=nU['item'];this['skip3DTransitionOnce'](nR['get']('player'));nR['bind']('end',nT,this);}}};TDV['Tour']['Script']['stopAndGoCamera']=function(nW,nX){var nY=nW['get']('initialSequence');nY['pause']();var nZ=function(){nY['play']();};setTimeout(nZ,nX);};TDV['Tour']['Script']['syncPlaylists']=function(o0){var o1=function(o9,oa){for(var ob=0x0,oc=o0['length'];ob<oc;++ob){var od=o0[ob];if(od!=oa){var oe=od['get']('items');for(var of=0x0,og=oe['length'];of<og;++of){if(oe[of]['get']('media')==o9){if(od['get']('selectedIndex')!=of){od['set']('selectedIndex',of);}break;}}}}};var o2=function(oh){var oi=oh['source'];var oj=oi['get']('selectedIndex');if(oj<0x0)return;var ok=oi['get']('items')[oj]['get']('media');o1(ok,oi);};var o3=function(ol){var om=ol['source']['get']('panoramaMapLocation');if(om){var on=om['get']('map');o1(on);}};for(var o5=0x0,o7=o0['length'];o5<o7;++o5){o0[o5]['bind']('change',o2,this);}var o8=this['getByClassName']('MapPlayer');for(var o5=0x0,o7=o8['length'];o5<o7;++o5){o8[o5]['bind']('panoramaMapLocation_change',o3,this);}};TDV['Tour']['Script']['translate']=function(oo){return this['get']('data')['localeManager']['trans'](oo);};TDV['Tour']['Script']['triggerOverlay']=function(op,oq){if(op['get']('areas')!=undefined){var or=op['get']('areas');for(var os=0x0;os<or['length'];++os){or[os]['trigger'](oq);}}else{op['trigger'](oq);}};TDV['Tour']['Script']['updateDeepLink']=function(){var ot=this['mainPlayList']['get']('selectedIndex');if(ot>=0x0){location['hash']='#media='+(ot+0x1);}else{var ou=this['getActiveMediaWithViewer'](this['getMainViewer']());if(ou!=undefined){var ov=ou['get']('data');if(ov){location['hash']='#media-name='+ov['label'];}}}};TDV['Tour']['Script']['updateMediaLabelFromPlayList']=function(ow,ox,oy){var oz=function(){var oB=ow['get']('selectedIndex');if(oB>=0x0){var oC=function(){oF['unbind']('begin',oC);oD(oB);};var oD=function(oG){var oH=oF['get']('media');var oI=oH['get']('data');var oJ=oI!==undefined?oI['description']||oH['get']('label'):oH['get']('label');oE(oJ);};var oE=function(oK){if(oK!==undefined){ox['set']('html','<div\x20style=\x22text-align:left\x22><SPAN\x20STYLE=\x22color:#FFFFFF;font-size:12px;font-family:Verdana\x22><span\x20color=\x22white\x22\x20font-family=\x22Verdana\x22\x20font-size=\x2212px\x22>'+oK+'</SPAN></div>');}else{ox['set']('html','');}};var oF=ow['get']('items')[oB];if(ox['get']('html')){oE('Loading...');oF['bind']('begin',oC);}else{oD(oB);}}};var oA=function(){ox['set']('html',undefined);ow['unbind']('change',oz,this);oy['unbind']('stop',oA,this);};if(oy){oy['bind']('stop',oA,this);}ow['bind']('change',oz,this);oz();};TDV['Tour']['Script']['updateVideoCues']=function(oL,oM){var oN=oL['get']('items')[oM];var oO=oN['get']('media');if(oO['get']('cues')['length']==0x0)return;var oP=oN['get']('player');var oQ=[];var oR=function(){if(oL['get']('selectedIndex')!=oM){oO['unbind']('cueChange',oS,this);oL['unbind']('change',oR,this);}};var oS=function(oT){var oU=oT['data']['activeCues'];for(var oV=0x0,oW=oQ['length'];oV<oW;++oV){var oX=oQ[oV];if(oU['indexOf'](oX)==-0x1&&(oX['get']('startTime')>oP['get']('currentTime')||oX['get']('endTime')<oP['get']('currentTime')+0.5)){oX['trigger']('end');}}oQ=oU;};oO['bind']('cueChange',oS,this);oL['bind']('change',oR,this);};TDV['Tour']['Script']['visibleComponentsIfPlayerFlagEnabled']=function(oY,oZ){var p0=this['get'](oZ);for(var p1 in oY){oY[p1]['set']('visible',p0);}};TDV['Tour']['Script']['quizStart']=function(){var p2=this['get']('data')['quiz'];return p2?p2['start']():undefined;};TDV['Tour']['Script']['quizFinish']=function(){var p3=this['get']('data')['quiz'];return p3?p3['finish']():undefined;};TDV['Tour']['Script']['quizSetItemFound']=function(p4){var p5=this['get']('data')['quiz'];if(p5)p5['setItemFound'](p4);};TDV['Tour']['Script']['quizShowQuestion']=function(p6){var p7=this['get']('data');var p8=p7['quiz'];var p9;if(p8){var pa=this['pauseCurrentPlayers'](!![]);var pb=this[p6];var pc;if(!pb['media']){pc=this['get']('isMobile')?{'theme':{'window':{'height':undefined,'maxHeight':this['get']('actualHeight'),'optionsContainer':{'height':'100%'}}}}:{'theme':{'window':{'width':'40%','height':undefined,'maxHeight':0x2bc,'optionsContainer':{'width':'100%'}}}};}else if(this['get']('isMobile')&&this['get']('orientation')=='landscape'){pc={'theme':{'window':{'bodyContainer':{'layout':'horizontal','paddingLeft':0x1e,'paddingRight':0x1e},'mediaContainer':{'width':'60%','height':'100%'},'buttonsContainer':{'paddingLeft':0x14,'paddingRight':0x14},'optionsContainer':{'width':'40%','height':'100%','paddingLeft':0x0,'paddingRight':0x0}}}};}if(!pb['canClose']){pc=this['mixObject'](pc||{},{'theme':{'window':{'closeButton':{'width':0x0,'height':0x0,'paddingTop':0x0,'paddingBottom':0x0,'paddingLeft':0x0,'paddingRight':0x0}}}});}if(this['get']('isMobile')&&this['get']('orientation')=='landscape'){var pd=this['get']('data')['tour']['getNotchValue']();if(pd>0x0){pc=this['mixObject'](pc||{},{'theme':{'window':{'width':undefined,'left':pd,'right':pd}}});}}var pe=this['get']('data')['textToSpeechConfig']['speechOnQuizQuestion']&&!!pb['title'];if(pe)this['textToSpeech'](pb['title'],p6);p9=p8['showQuestion'](p6,pc);p9['then'](function(pf){if(pe)this['stopTextToSpeech']();this['resumePlayers'](pa,!![]);}['bind'](this));}return p9;};TDV['Tour']['Script']['quizShowScore']=function(pg){var ph=this['get']('data');var pi=ph['quiz'];if(pi){if(this['get']('isMobile')){pg=pg||{};pg=this['mixObject'](pg,ph[this['get']('orientation')=='portrait'?'scorePortraitConfig':'scoreLandscapeConfig']);}return pi['showScore'](pg);}};TDV['Tour']['Script']['quizShowTimeout']=function(pj,pk){var pl=this['get']('data');var pm=pl['quiz'];if(pm){if(this['get']('isMobile')){pk=pk||{};pk=this['mixObject'](pk,pl[this['get']('orientation')=='portrait'?'scorePortraitConfig':'scoreLandscapeConfig']);}pm['showTimeout'](pj,pk);}};TDV['Tour']['Script']['stopTextToSpeech']=function(pn){if(window['speechSynthesis']&&(pn==undefined||this['t2sLastID']==pn)){var po=window['speechSynthesis'];if(po['speaking']){po['cancel']();}this['t2sLastID']=undefined;}};TDV['Tour']['Script']['textToSpeech']=function(pp,pq,pr){if(this['get']('mute')){return;}if(window['speechSynthesis']){var ps=this['get']('data');var pt=ps['disableTTS']||![];if(pt)return;var pu=window['speechSynthesis'];if(pq!=undefined&&this['t2sLastID']!=pq||pq==undefined){pr=pr||0x0;if(this['t2sLastID']&&pr>this['t2sLastPriority']){return;}if(pu['speaking']){pu['cancel']();}this['t2sLastPriority']=pr;this['t2sLastID']=pq;var pv=new SpeechSynthesisUtterance(pp);var pw=ps['localeManager']['currentLocaleID'];if(pw)pv['lang']=pw;var px=ps['textToSpeechConfig'];var py;if(px){pv['volume']=px['volume'];pv['pitch']=px['pitch'];pv['rate']=px['rate'];if(px['stopBackgroundAudio'])this['pauseGlobalAudios']();}pv['onend']=function(){this['t2sLastID']=null;if(py)clearInterval(py);if(px['stopBackgroundAudio'])this['resumeGlobalAudios']();}['bind'](this);if(navigator['userAgent']['indexOf']('Chrome')!=-0x1&&!this['get']('isMobile')){py=setInterval(function(){pu['pause']();pu['resume']();},0xbb8);}pu['speak'](pv);}}else{console['error']('Text\x20to\x20Speech\x20isn\x27t\x20supported\x20on\x20this\x20browser');}};TDV['Tour']['Script']['textToSpeechComponent']=function(pz){var pA=pz['get']('class');var pB;if(pA=='HTMLText'){pB=this['htmlToPlainText'](pz['get']('html'),{'linkProcess':function(pC,pD){return pD;}});}else if(pA=='BaseButton'){pB=pz['get']('label');}else if(pA=='Label'){pB=pz['get']('text');}if(pB){this['textToSpeech'](pB,pz['get']('id'));}};TDV['Tour']['Script']['_initTTSTooltips']=function(){function pE(pG){var pH=pG['source'];this['textToSpeech'](pH['get']('toolTip'),pH['get']('id'),0x1);}function pF(pI){var pJ=pI['source'];this['stopTextToSpeech'](pJ['get']('id'));}setTimeout(function(){var pK=this['getByClassName']('UIComponent');for(var pL=0x0,pM=pK['length'];pL<pM;++pL){var pN=pK[pL];var pO=pN['get']('toolTip');if(!!pO||pN['get']('class')=='ViewerArea'){pN['bind']('toolTipShow',pE,this);pN['bind']('toolTipHide',pF,this);}}}['bind'](this),0x0);};TDV['Tour']['Script']['htmlToPlainText']=function htmlToPlainText(pP,pQ){var pR=function(q5,q6){var q7='';for(var q8=0x0;q8<q6;q8+=0x1){q7+=q5;}return q7;};var pS=null;var pT=null;var pU='underline';var pV='indention';var pW='-';var pX=0x3;var pY='-';var pZ=![];if(!!pQ){if(typeof pQ['linkProcess']==='function'){pS=pQ['linkProcess'];}if(typeof pQ['imgProcess']==='function'){pT=pQ['imgProcess'];}if(!!pQ['headingStyle']){pU=pQ['headingStyle'];}if(!!pQ['listStyle']){pV=pQ['listStyle'];}if(!!pQ['uIndentionChar']){pW=pQ['uIndentionChar'];}if(!!pQ['listIndentionTabs']){pX=pQ['listIndentionTabs'];}if(!!pQ['oIndentionChar']){pY=pQ['oIndentionChar'];}if(!!pQ['keepNbsps']){pZ=pQ['keepNbsps'];}}var q0=pR(pW,pX);var q1=String(pP)['replace'](/\n|\r/g,'\x20');const q2=q1['match'](/<\/body>/i);if(q2){q1=q1['substring'](0x0,q2['index']);}const q3=q1['match'](/<body[^>]*>/i);if(q3){q1=q1['substring'](q3['index']+q3[0x0]['length'],q1['length']);}q1=q1['replace'](/<(script|style)( [^>]*)*>((?!<\/\1( [^>]*)*>).)*<\/\1>/gi,'');q1=q1['replace'](/<(\/)?((?!h[1-6]( [^>]*)*>)(?!img( [^>]*)*>)(?!a( [^>]*)*>)(?!ul( [^>]*)*>)(?!ol( [^>]*)*>)(?!li( [^>]*)*>)(?!p( [^>]*)*>)(?!div( [^>]*)*>)(?!td( [^>]*)*>)(?!br( [^>]*)*>)[^>\/])[^<>]*>/gi,'');q1=q1['replace'](/<img([^>]*)>/gi,function(q9,qa){var qb='';var qc='';var qd=/src="([^"]*)"/i['exec'](qa);var qe=/alt="([^"]*)"/i['exec'](qa);if(qd!==null){qb=qd[0x1];}if(qe!==null){qc=qe[0x1];}if(typeof pT==='function'){return pT(qb,qc);}if(qc===''){return'![image]\x20('+qb+')';}return'!['+qc+']\x20('+qb+')';});function q4(){return function(qf,qg,qh,qi){var qj=0x0;if(qh&&/start="([0-9]+)"/i['test'](qh)){qj=/start="([0-9]+)"/i['exec'](qh)[0x1]-0x1;}var qk='<p>'+qi['replace'](/<li[^>]*>(((?!<li[^>]*>)(?!<\/li>).)*)<\/li>/gi,function(ql,qm){var qn=0x0;var qo=qm['replace'](/(^|(<br \/>))(?!<p>)/gi,function(){if(qg==='o'&&qn===0x0){qj+=0x1;qn+=0x1;return'<br\x20/>'+qj+pR(pY,pX-String(qj)['length']);}return'<br\x20/>'+q0;});return qo;})+'</p>';return qk;};}if(pV==='linebreak'){q1=q1['replace'](/<\/?ul[^>]*>|<\/?ol[^>]*>|<\/?li[^>]*>/gi,'\x0a');}else if(pV==='indention'){while(/<(o|u)l[^>]*>(.*)<\/\1l>/gi['test'](q1)){q1=q1['replace'](/<(o|u)l([^>]*)>(((?!<(o|u)l[^>]*>)(?!<\/(o|u)l>).)*)<\/\1l>/gi,q4());}}if(pU==='linebreak'){q1=q1['replace'](/<h([1-6])[^>]*>([^<]*)<\/h\1>/gi,'\x0a$2\x0a');}else if(pU==='underline'){q1=q1['replace'](/<h1[^>]*>(((?!<\/h1>).)*)<\/h1>/gi,function(qp,qq){return'\x0a \x0a'+qq+'\x0a'+pR('=',qq['length'])+'\x0a \x0a';});q1=q1['replace'](/<h2[^>]*>(((?!<\/h2>).)*)<\/h2>/gi,function(qr,qs){return'\x0a \x0a'+qs+'\x0a'+pR('-',qs['length'])+'\x0a \x0a';});q1=q1['replace'](/<h([3-6])[^>]*>(((?!<\/h\1>).)*)<\/h\1>/gi,function(qt,qu,qv){return'\x0a \x0a'+qv+'\x0a \x0a';});}else if(pU==='hashify'){q1=q1['replace'](/<h([1-6])[^>]*>([^<]*)<\/h\1>/gi,function(qw,qx,qy){return'\x0a \x0a'+pR('#',qx)+'\x20'+qy+'\x0a \x0a';});}q1=q1['replace'](/<br( [^>]*)*>|<p( [^>]*)*>|<\/p( [^>]*)*>|<div( [^>]*)*>|<\/div( [^>]*)*>|<td( [^>]*)*>|<\/td( [^>]*)*>/gi,'\x0a');q1=q1['replace'](/<a[^>]*href="([^"]*)"[^>]*>([^<]+)<\/a[^>]*>/gi,function(qz,qA,qB){if(typeof pS==='function'){return pS(qA,qB);}return'\x20['+qB+']\x20('+qA+')\x20';});q1=q1['replace'](/\n[ \t\f]*/gi,'\x0a');q1=q1['replace'](/\n\n+/gi,'\x0a');if(pZ){q1=q1['replace'](/( |\t)+/gi,'\x20');q1=q1['replace'](/ /gi,'\x20');}else{q1=q1['replace'](/( | |\t)+/gi,'\x20');}q1=q1['replace'](/\n +/gi,'\x0a');q1=q1['replace'](/^ +/gi,'');while(q1['indexOf']('\x0a')===0x0){q1=q1['substring'](0x1);}if(q1['length']===0x0||q1['lastIndexOf']('\x0a')!==q1['length']-0x1){q1+='\x0a';}return q1;};TDV['Tour']['Script']['openEmbeddedPDF']=function(qC,qD){var qE=!!window['MSInputMethodContext']&&!!document['documentMode'];if(qE){this['openLink'](qD,'_blank');return;}var qF=qC['get']('class');var qG=!new RegExp('^(?:[a-z]+:)?//','i')['test'](qD);if(qG&&qF=='WebFrame'){qC['set']('url','lib/pdfjs/web/viewer.html?file='+encodeURIComponent(location['href']['substring'](0x0,location['href']['lastIndexOf']('/'))+'/'+qD));}else{var qH=location['origin']==new URL(qD)['origin'];var qI='<iframe\x20\x20id=\x27googleViewer\x27\x20src=\x27https://docs.google.com/viewer?url=[url]&embedded=true\x27\x20width=\x27100%\x27\x20height=\x27100%\x27\x20frameborder=\x270\x27>'+'<p>This\x20browser\x20does\x20not\x20support\x20inline\x20PDFs.\x20Please\x20download\x20the\x20PDF\x20to\x20view\x20it:\x20<a\x20href=\x27[url]\x27>Download\x20PDF</a></p>'+'</iframe>';var qJ=/^((?!chrome|android|crios|ipad|iphone).)*safari/i['test'](navigator['userAgent']);var qK='<div\x20id=\x22content\x22\x20style=\x22width:100%;height:100%;position:absolute;left:0;top:0;\x22></div>'+'<script\x20type=\x22text/javascript\x22>'+'!function(root,factory){\x22function\x22==typeof\x20define&&define.amd?define([],factory):\x22object\x22==typeof\x20module&&module.exports?module.exports=factory():root.PDFObject=factory()}(this,function(){\x22use\x20strict\x22;if(void\x200===window||void\x200===window.navigator||void\x200===window.navigator.userAgent||void\x200===window.navigator.mimeTypes)return!1;let\x20nav=window.navigator,ua=window.navigator.userAgent,isIE=\x22ActiveXObject\x22in\x20window,isModernBrowser=void\x200!==window.Promise,supportsPdfMimeType=void\x200!==nav.mimeTypes[\x22application/pdf\x22],isMobileDevice=void\x200!==nav.platform&&\x22MacIntel\x22===nav.platform&&void\x200!==nav.maxTouchPoints&&nav.maxTouchPoints>1||/Mobi|Tablet|Android|iPad|iPhone/.test(ua),isSafariDesktop=!isMobileDevice&&void\x200!==nav.vendor&&/Apple/.test(nav.vendor)&&/Safari/.test(ua),isFirefoxWithPDFJS=!(isMobileDevice||!/irefox/.test(ua))&&parseInt(ua.split(\x22rv:\x22)[1].split(\x22.\x22)[0],10)>18,createAXO=function(type){var\x20ax;try{ax=new\x20ActiveXObject(type)}catch(e){ax=null}return\x20ax},supportsPDFs=!isMobileDevice&&(isFirefoxWithPDFJS||supportsPdfMimeType||isIE&&!(!createAXO(\x22AcroPDF.PDF\x22)&&!createAXO(\x22PDF.PdfCtrl\x22))),embedError=function(msg,suppressConsole){return\x20suppressConsole||console.log(\x22[PDFObject]\x20\x22+msg),!1},emptyNodeContents=function(node){for(;node.firstChild;)node.removeChild(node.firstChild)},generatePDFJSMarkup=function(targetNode,url,pdfOpenFragment,PDFJS_URL,id,omitInlineStyles){emptyNodeContents(targetNode);let\x20fullURL=PDFJS_URL+\x22?file=\x22+encodeURIComponent(url)+pdfOpenFragment,div=document.createElement(\x22div\x22),iframe=document.createElement(\x22iframe\x22);return\x20iframe.src=fullURL,iframe.className=\x22pdfobject\x22,iframe.type=\x22application/pdf\x22,iframe.frameborder=\x220\x22,id&&(iframe.id=id),omitInlineStyles||(div.style.cssText=\x22position:\x20absolute;\x20top:\x200;\x20right:\x200;\x20bottom:\x200;\x20left:\x200;\x22,iframe.style.cssText=\x22border:\x20none;\x20width:\x20100%;\x20height:\x20100%;\x22,/*targetNode.style.position=\x22relative\x22,*/targetNode.style.overflow=\x22auto\x22),div.appendChild(iframe),targetNode.appendChild(div),targetNode.classList.add(\x22pdfobject-container\x22),targetNode.getElementsByTagName(\x22iframe\x22)[0]},embed=function(url,targetSelector,options){let\x20selector=targetSelector||!1,opt=options||{},id=\x22string\x22==typeof\x20opt.id?opt.id:\x22\x22,page=opt.page||!1,pdfOpenParams=opt.pdfOpenParams||{},fallbackLink=opt.fallbackLink||!0,width=opt.width||\x22100%\x22,height=opt.height||\x22100%\x22,assumptionMode=\x22boolean\x22!=typeof\x20opt.assumptionMode||opt.assumptionMode,forcePDFJS=\x22boolean\x22==typeof\x20opt.forcePDFJS&&opt.forcePDFJS,supportRedirect=\x22boolean\x22==typeof\x20opt.supportRedirect&&opt.supportRedirect,omitInlineStyles=\x22boolean\x22==typeof\x20opt.omitInlineStyles&&opt.omitInlineStyles,suppressConsole=\x22boolean\x22==typeof\x20opt.suppressConsole&&opt.suppressConsole,forceIframe=\x22boolean\x22==typeof\x20opt.forceIframe&&opt.forceIframe,PDFJS_URL=opt.PDFJS_URL||!1,targetNode=function(targetSelector){let\x20targetNode=document.body;return\x22string\x22==typeof\x20targetSelector?targetNode=document.querySelector(targetSelector):void\x200!==window.jQuery&&targetSelector\x20instanceof\x20jQuery&&targetSelector.length?targetNode=targetSelector.get(0):void\x200!==targetSelector.nodeType&&1===targetSelector.nodeType&&(targetNode=targetSelector),targetNode}(selector),fallbackHTML=\x22\x22,pdfOpenFragment=\x22\x22;if(\x22string\x22!=typeof\x20url)return\x20embedError(\x22URL\x20is\x20not\x20valid\x22,suppressConsole);if(!targetNode)return\x20embedError(\x22Target\x20element\x20cannot\x20be\x20determined\x22,suppressConsole);if(page&&(pdfOpenParams.page=page),pdfOpenFragment=function(pdfParams){let\x20prop,string=\x22\x22;if(pdfParams){for(prop\x20in\x20pdfParams)pdfParams.hasOwnProperty(prop)&&(string+=encodeURIComponent(prop)+\x22=\x22+encodeURIComponent(pdfParams[prop])+\x22&\x22);string&&(string=(string=\x22#\x22+string).slice(0,string.length-1))}return\x20string}(pdfOpenParams),forcePDFJS&&PDFJS_URL)return\x20generatePDFJSMarkup(targetNode,url,pdfOpenFragment,PDFJS_URL,id,omitInlineStyles);if(supportsPDFs||assumptionMode&&isModernBrowser&&!isMobileDevice){return\x20function(embedType,targetNode,targetSelector,url,pdfOpenFragment,width,height,id,omitInlineStyles){emptyNodeContents(targetNode);let\x20embed=document.createElement(embedType);if(embed.src=url+pdfOpenFragment,embed.className=\x22pdfobject\x22,embed.type=\x22application/pdf\x22,id&&(embed.id=id),!omitInlineStyles){let\x20style=\x22embed\x22===embedType?\x22overflow:\x20auto;\x22:\x22border:\x20none;\x22;targetSelector&&targetSelector!==document.body?style+=\x22width:\x20\x22+width+\x22;\x20height:\x20\x22+height+\x22;\x22:style+=\x22position:\x20absolute;\x20top:\x200;\x20right:\x200;\x20bottom:\x200;\x20left:\x200;\x20width:\x20100%;\x20height:\x20100%;\x22,embed.style.cssText=style}return\x20targetNode.classList.add(\x22pdfobject-container\x22),targetNode.appendChild(embed),targetNode.getElementsByTagName(embedType)[0]}(forceIframe||supportRedirect&&isSafariDesktop?\x22iframe\x22:\x22embed\x22,targetNode,targetSelector,url,pdfOpenFragment,width,height,id,omitInlineStyles)}return\x20PDFJS_URL?generatePDFJSMarkup(targetNode,url,pdfOpenFragment,PDFJS_URL,id,omitInlineStyles):(fallbackLink&&(fallbackHTML=\x22string\x22==typeof\x20fallbackLink?fallbackLink:\x22<p>This\x20browser\x20does\x20not\x20support\x20inline\x20PDFs.\x20Please\x20download\x20the\x20PDF\x20to\x20view\x20it:\x20<a\x20href=\x27[url]\x27>Download\x20PDF</a></p>\x22,targetNode.innerHTML=fallbackHTML.replace(/\x5c[url\x5c]/g,url)),embedError(\x22This\x20browser\x20does\x20not\x20support\x20embedded\x20PDFs\x22,suppressConsole))};return{embed:function(a,b,c){return\x20embed(a,b,c)},pdfobjectversion:\x222.2.3\x22,supportsPDFs:supportsPDFs}});'+'if\x20(typeof\x20module\x20===\x20\x22object\x22\x20&&\x20module.exports)\x20{'+'this.PDFObject\x20=\x20module.exports;'+'}'+'PDFObject.embed(\x22'+qD+'\x22,\x20\x22#content\x22,\x20{'+(qH?'\x22PDFJS_URL\x22:\x20\x22'+new URL('lib/pdfjs/web/viewer.html',document['baseURI'])['href']+'\x22,\x20':'')+'\x22fallbackLink\x22:\x20\x22'+qI+'\x22,'+'\x22forcePDFJS\x22:\x20'+qJ+'});'+'if(!PDFObject.supportsPDFs\x20&&\x20!'+qH+'){'+'\x20var\x20iframeTimerId;'+'\x20function\x20startTimer(){'+'\x20\x20\x20\x20iframeTimerId\x20=\x20window.setTimeout(checkIframeLoaded,\x202000);'+'\x20}'+'\x20function\x20checkIframeLoaded(){\x20\x20'+'\x20\x20\x20\x20var\x20iframe\x20=\x20document.getElementById(\x22googleViewer\x22);'+'\x20\x20\x20\x20iframe.src\x20=\x20iframe.src;'+'\x20\x20\x20\x20iframeTimerId\x20=\x20window.setTimeout(checkIframeLoaded,\x202000);'+'\x20}'+'\x20document.getElementById(\x22googleViewer\x22).addEventListener(\x22load\x22,\x20function(){'+'\x20\x20\x20clearInterval(iframeTimerId);\x20'+'\x20});'+'\x20startTimer();'+'}'+'</script>';if(qF=='WebFrame'){qC['set']('url','data:text/html;charset=utf-8,'+encodeURIComponent('<!DOCTYPE\x20html>'+'<html>'+'<head></head>'+'<body\x20style=\x22height:100%;width:100%;overflow:hidden;margin:0px;background-color:rgb(82,\x2086,\x2089);\x22>'+qK+'</body>'+'</html>'));}else if(qF=='HTML'){qC['set']('content','data:text/html;charset=utf-8,'+encodeURIComponent(qK));}}};TDV['Tour']['Script']['getKey']=function(qL){return window[qL];};TDV['Tour']['Script']['registerKey']=function(qM,qN){window[qM]=qN;};TDV['Tour']['Script']['unregisterKey']=function(qO){delete window[qO];};TDV['Tour']['Script']['existsKey']=function(qP){return qP in window;};
//# sourceMappingURL=http://localhost:9000/script_v2021.0.9.js.map
//Generated with v2021.0.9, Mon May 24 2021