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;p0x0)return;}if(v['sourceClassName']=='MediaAudio'||this['_isInitialized'])return;this['_isInitialized']=!![];u['unbind']('preloadMediaShow',t,this,!![]);u['unbindOnObjectsOf']('PlayListItem','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']('PlayListItem','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 O=y['get']('data');if(!('updateText'in O)){O['updateText']=function(S){var T=S[0x0]['split']('.');if(T['length']==0x2){var U=C['trans']['apply'](C,S);var V=S[0x1]||y;if(typeof V=='string'){var W=V['split']('.');V=y[W['shift']()];for(var X=0x0;X0x0;};TDV['Tour']['prototype']['_getOrientation']=function(){var b9=this['_getRootPlayer']();if(b9){return b9['get']('orientation');}else if(this['_lockedOrientation']){return this['_lockedOrientation'];}else{return TDV['PlayerAPI']['getOrientation']();}};TDV['Tour']['prototype']['_getParams']=function(ba){var bb={};ba['split']('&')['forEach'](function(bc){var bd=bc['split']('=')[0x0],be=decodeURIComponent(bc['split']('=')[0x1]);bb[bd['toLowerCase']()]=be;});return bb;};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 bf=document['getElementById']('metaViewport');if(bf){var bg=this['_devicesUrl'][this['_device']];var bh=0x1;if(typeof bg=='object'&&this['_orientation']in bg&&this['_orientation']==TDV['PlayerAPI']['ORIENTATION_LANDSCAPE']||this['_device']==TDV['Tour']['DEVICE_GENERAL']){bh=bf['getAttribute']('data-tdv-general-scale')||0.5;}var bi=bf['getAttribute']('content');bi=bi['replace'](/initial-scale=(\d+(\.\d+)?)/,function(bj,bk){return'initial-scale='+bh;});bf['setAttribute']('content',bi);}}};TDV['Tour']['prototype']['_getScriptUrl']=function(){var bl=this['_devicesUrl'][this['_device']];if(typeof bl=='object'){if(this['_orientation']in bl){bl=bl[this['_orientation']];}}return bl;};TDV['Tour']['prototype']['_getDevice']=function(){var bm=TDV['Tour']['DEVICE_GENERAL'];if(!this['_isRemoteSession']&&this['isMobile']()){if(this['isIPad']()&&TDV['Tour']['DEVICE_IPAD']in this['_devicesUrl'])bm=TDV['Tour']['DEVICE_IPAD'];else if(TDV['Tour']['DEVICE_MOBILE']in this['_devicesUrl'])bm=TDV['Tour']['DEVICE_MOBILE'];}return bm;};TDV['Tour']['prototype']['_setMediaFromURL']=function(bn){var bo=this['_getRootPlayer']();var bp=bo['getActivePlayerWithViewer'](bo['getMainViewer']());var bq=bp?bo['getMediaFromPlayer'](bp):undefined;var br=undefined;if('media'in bn){var bs=bn['media'];var bt=Number(bs);br=isNaN(bt)?this['setMediaByName'](bs):this['setMediaByIndex'](bt-0x1);}else if('media-index'in bn){br=this['setMediaByIndex'](parseInt(bn['media-index'])-0x1);}else if('media-name'in bn){br=this['setMediaByName'](bn['media-name']);}if(br==undefined){br=this['setMediaByIndex'](0x0);}if(br!=undefined){var bu=br['get']('player');var bv=function(){if('trigger-overlay-name'in bn){this['triggerOverlayByName'](br['get']('media'),bn['trigger-overlay-name'],bn['trigger-overlay-event']);}if('focus-overlay-name'in bn){this['focusOverlayByName'](br,bn['focus-overlay-name']);}else if('yaw'in bn||'pitch'in bn){var bz=parseFloat(bn['yaw'])||undefined;var bA=parseFloat(bn['pitch'])||undefined;var bB=bo['getPlayListWithItem'](br);if(bB)bo['setPanoramaCameraWithSpot'](bB,br,bz,bA);}}['bind'](this);if(bu){var bw=bu['get']('viewerArea')==bo['getMainViewer']();var bx=bo['getMediaFromPlayer'](bu);if(bw&&bq==br['get']('media')||!bw&&bx==br['get']('media')){bv();return br!=undefined;}}var by=function(){br['unbind']('begin',by,this);bv();};br['bind']('begin',by,bo);}return br!=undefined;};TDV['Tour']['prototype']['_setupRemote']=function(){if(this['isMobile']()&&TDV['Remote']!=undefined){var bC=function(){var bD=undefined;var bE=function(){var bH=this['_getRootPlayer']();bD=bH['get']('lockedOrientation');bH['set']('lockedOrientation',this['_lockedOrientation']);}['bind'](this);this['_isRemoteSession']=!![];this['_lockedOrientation']=TDV['PlayerAPI']['ORIENTATION_LANDSCAPE'];if(this['_device']!=TDV['Tour']['DEVICE_GENERAL']){var bF=function(){bE();this['unbind'](TDV['Tour']['EVENT_TOUR_INITIALIZED'],bF);}['bind'](this);this['bind'](TDV['Tour']['EVENT_TOUR_INITIALIZED'],bF);this['reload']();}else{bE();}var bG=function(){this['_isRemoteSession']=![];this['_getRootPlayer']()['set']('lockedOrientation',bD);TDV['Remote']['unbind'](TDV['Remote']['EVENT_CALL_END'],bG);var bI=this['_getScriptUrl']();if(this['_currentScriptUrl']!=bI)this['reload']();}['bind'](this);TDV['Remote']['bind'](TDV['Remote']['EVENT_CALL_END'],bG);}['bind'](this);TDV['Remote']['bind'](TDV['Remote']['EVENT_CALL_BEGIN'],bC);}};TDV['Tour']['prototype']['_updateParams']=function(bJ,bK){if(bK&&'language'in bJ){var bL=bJ['language'];if(this['locManager']['hasLocale'](bL)){this['setLocale'](bL);}}var bM=function(bN,bO,bP){var bQ=bO['split'](',');for(var bR=0x0,bS=bQ['length'];bR0x2){var ch=typeof arguments[0x2]=='object'?arguments[0x2]:undefined;var ci=arguments;function cj(ck){return/^\d+$/['test'](ck);}cg=cg['replace'](/\{\{([\w\.]+)\}\}/g,function(cl,cm){if(cj(cm))cm=ci[parseInt(cm)+0x1];else if(ch!==undefined)cm=ch[cm];if(typeof cm=='string')cm=this['currentLocaleMap'][cm]||cm;else if(typeof cm=='function')cm=cm['call'](this['rootPlayer']);return cm!==undefined?cm:'';}['bind'](this));}return cg;};TDV['Tour']['LocaleManager']['prototype']['_parsePropertiesContent']=function(cn){cn=cn['replace'](/(^|\n)#[^\n]*/g,'');var co={};var cp=cn['split']('\x0a');for(var cq=0x0,cr=cp['length'];cq0x0;};TDV['Tour']['HistoryData']['prototype']['canForward']=function(){return this['pointer']>=0x0&&this['pointer']=0x0&&d1>=0x0&&d2!=d1){var d3=d0['get']('items')[d2];var d4=d0['get']('items')[d1];var d5=d3['get']('player');var d6=d4['get']('player');if((d5['get']('class')=='PanoramaPlayer'||d5['get']('class')=='Video360Player')&&(d6['get']('class')=='PanoramaPlayer'||d6['get']('class')=='Video360Player')){var d7=this['cloneCamera'](d4['get']('camera'));this['setCameraSameSpotAsMedia'](d7,d3['get']('media'));this['startPanoramaWithCamera'](d4['get']('media'),d7);}}};TDV['Tour']['Script']['clone']=function(d8,d9){var da=this['rootPlayer']['createInstance'](d8['get']('class'));var db=d8['get']('id');if(db){var dc=db+'_'+Math['random']()['toString'](0x24)['substring'](0x2,0xf);da['set']('id',dc);this[dc]=da;}for(var dd=0x0;dd0x0){for(var dB=0x0;dB0x0){var e3=e1[e2];if(e3['get']('viewerArea')==e0){var e4=e3['get']('class');if(e4=='PanoramaPlayer'&&(e3['get']('panorama')!=undefined||e3['get']('video')!=undefined))return e3;else if((e4=='VideoPlayer'||e4=='Video360Player')&&e3['get']('video')!=undefined)return e3;else if(e4=='PhotoAlbumPlayer'&&e3['get']('photoAlbum')!=undefined)return e3;else if(e4=='MapPlayer'&&e3['get']('map')!=undefined)return e3;}}return undefined;};TDV['Tour']['Script']['getCurrentPlayerWithMedia']=function(e5){var e6=undefined;var e7=undefined;switch(e5['get']('class')){case'Panorama':case'LivePanorama':case'HDRPanorama':e6='PanoramaPlayer';e7='panorama';break;case'Video360':e6='PanoramaPlayer';e7='video';break;case'PhotoAlbum':e6='PhotoAlbumPlayer';e7='photoAlbum';break;case'Map':e6='MapPlayer';e7='map';break;case'Video':e6='VideoPlayer';e7='video';break;};if(e6!=undefined){var e8=this['getByClassName'](e6);for(var e9=0x0;e90x1){eS['sort'](function(eZ,f0){var f1=eZ['get']('data')['groupIndex'];var f2=f0['get']('data')['groupIndex'];return f1-f2;});for(var eT=0x0,eU=eS['length'];eT=0x0;--fq){if(fu['indexOf'](ft[fq])==-0x1)ft['splice'](fq,0x1);}}else if(fa=='or'){for(var fq=fu['length']-0x1;fq>=0x0;--fq){var fl=fu[fq];if(ft['indexOf'](fl)==-0x1)ft['push'](fl);}}}}return ft||[];};TDV['Tour']['Script']['getComponentByName']=function(fv){var fw=this['getByClassName']('UIComponent');for(var fx=0x0,fy=fw['length'];fxfF)fF=fH['get']('width');}return fF;}else{return fH['get']('width');}default:return fD['get']('width');}};TDV['Tour']['Script']['getMediaHeight']=function(fI){switch(fI['get']('class')){case'Video360':var fJ=fI['get']('video');if(fJ instanceof Array){var fK=0x0;for(var fL=0x0;fLfK)fK=fM['get']('height');}return fK;}else{return fM['get']('height');}default:return fI['get']('height');}};TDV['Tour']['Script']['getOverlays']=function(fN){switch(fN['get']('class')){case'LivePanorama':case'HDRPanorama':case'Panorama':var fO=fN['get']('overlays')['concat']()||[];var fP=fN['get']('frames');for(var fQ=0x0;fQ=0x0;--gs){var gt=gr[gs];var gu=gt['get']('player');if(gu!==undefined&&gu['get']('viewerArea')==gm)return!![];}return![];};for(var gp=gn['length']-0x1;gp>=0x0;--gp){if(!go(gn[gp]))gn['splice'](gp,0x1);}return gn;};TDV['Tour']['Script']['getPlayListWithItem']=function(gv){var gw=this['getByClassName']('PlayList');for(var gx=gw['length']-0x1;gx>=0x0;--gx){var gy=gw[gx];var gz=gy['get']('items');for(var gA=gz['length']-0x1;gA>=0x0;--gA){var gB=gz[gA];if(gB==gv)return gy;}}return undefined;};TDV['Tour']['Script']['getFirstPlayListWithMedia']=function(gC,gD){var gE=this['getPlayListsWithMedia'](gC,gD);return gE['length']>0x0?gE[0x0]:undefined;};TDV['Tour']['Script']['getPlayListItemByMedia']=function(gF,gG){var gH=gF['get']('items');for(var gI=0x0,gJ=gH['length'];gI=0x0;--gP){var gQ=gO[gP];if(gQ['get']('media')!=gL||gM!=undefined&&gQ['get']('player')!=gM){gO['splice'](gP,0x1);}}return gO;}else{return[];}};TDV['Tour']['Script']['historyGoBack']=function(gR){var gS=this['get']('data')['history'][gR['get']('id')];if(gS!=undefined){gS['back']();}};TDV['Tour']['Script']['historyGoForward']=function(gT){var gU=this['get']('data')['history'][gT['get']('id')];if(gU!=undefined){gU['forward']();}};TDV['Tour']['Script']['init']=function(){var gV=this['get']('data')['history'];var gW=function(h5){var h6=h5['source'];var h7=h6['get']('selectedIndex');if(h7<0x0)return;var h8=h6['get']('id');if(!gV['hasOwnProperty'](h8))gV[h8]=new TDV['Tour']['HistoryData'](h6);gV[h8]['add'](h7);};var gX=this['getByClassName']('PlayList');for(var gZ=0x0,h0=gX['length'];gZ=0x0){this['skip3DTransitionOnce'](hb['get']('items')[hc]['get']('player'));}}for(var gZ=0x0,h3=h2['length'];gZ0x0){var hC=hA['get']('data')['name'];hA['bind']('click',this['sendAnalyticsData']['bind'](this,'Skin','click',hC),this,![]);}}var hD=this['getByClassName']('PlayListItem');var hE={};for(var hk=0x0,hn=hD['length'];hk0x0){var iz=iw[ix];if(iz['get']('viewerArea')!=iv){iw['splice'](ix,0x1);}}for(ix=0x0;ix=iH){iF-=iJ-(iH-ia['get']('actualWidth'));iJ=iH-ia['get']('actualWidth');}ia['set']('left',iJ);hV();iC=iF;};this['bind']('mouseMove',iD,this);this['bind']('mouseUp',function(){this['unbind']('mouseMove',iD,this);},this);},this);hV();};TDV['Tour']['Script']['_initTwinsViewer']=function(iK){function iL(){var j6=iK['get']('actualWidth');iW['get']('children')[0x0]['set']('width',j6);iX['get']('children')[0x0]['set']('width',j6);var j7=j0['get']('left');var j8=typeof j7=='string'?iM(j7):j7;j8+=j0['get']('actualWidth')*0.5;iW['set']('width',iN(j8));iX['set']('width',iN(j6-j8));}function iM(j9){return parseFloat(j9['replace']('%',''))/0x64*iK['get']('actualWidth');}function iN(ja){return ja/ iK['get']('actualWidth')*0x64+'%';}function iO(jb){iP(jb['source']);}function iP(jc){var jd=jc==j2?j1:j2;if(j3&&jc!=j3||!jc||!jd)return;var je=jd['get']('camera')['get']('initialPosition')['get']('yaw')-jc['get']('camera')['get']('initialPosition')['get']('yaw');jd['setPosition'](jc['get']('yaw')+je,jc['get']('pitch'),jc['get']('roll'),jc['get']('hfov'));}function iQ(jf){j3=jf['source'];}function iR(jg){iS(jg['source']);}function iS(jh){var ji=jh['get']('viewerArea');if(ji==iY){if(j1){j1['get']('camera')['set']('hoverFactor',j4);}j1=jh;j3=j1;if(j1){j4=j1['get']('camera')['get']('hoverFactor');j1['get']('camera')['set']('hoverFactor',0x0);}}else if(ji==iZ){if(j2){j2['get']('camera')['set']('hoverFactor',j5);}j2=jh;j3=j1;if(j2){j5=j2['get']('camera')['get']('hoverFactor');j2['get']('camera')['set']('hoverFactor',0x0);}}iP(jh);}function iT(jj){var jk=this['getCurrentPlayers']();var jl=jk['length'];while(jl-->0x0){var jn=jk[jl];if(jn['get']('viewerArea')!=jj){jk['splice'](jl,0x1);}}for(jl=0x0;jl0x0&&jp[0x0]['get']('viewMode')=='cardboard';};TDV['Tour']['Script']['isPanorama']=function(jq){return['Panorama','HDRPanorama','LivePanorama','Video360','VideoPanorama']['indexOf'](jq['get']('class'))!=-0x1;};TDV['Tour']['Script']['keepCompVisible']=function(jr,js){var jt='keepVisibility_'+jr['get']('id');var ju=this['getKey'](jt);if(ju==undefined&&js){this['registerKey'](jt,js);}else if(ju!=undefined&&!js){this['unregisterKey'](jt);}};TDV['Tour']['Script']['_initItemWithComps']=function(jv,jw,jx,jy,jz,jA,jB,jC){var jD=jv['get']('items')[jw];var jE=jD['get']('media');var jF=jE['get']('loop')==undefined||jE['get']('loop');var jG=jC>0x0;var jH=this['rootPlayer'];var jI=function(jQ){var jR=jA?jA['get']('class'):undefined;var jS=undefined;switch(jR){case'FadeInEffect':case'FadeOutEffect':jS=jH['createInstance'](jQ?'FadeInEffect':'FadeOutEffect');break;case'SlideInEffect':case'SlideOutEffect':jS=jH['createInstance'](jQ?'SlideInEffect':'SlideOutEffect');break;}if(jS){jS['set']('duration',jA['get']('duration'));jS['set']('easing',jA['get']('easing'));if(jR['indexOf']('Slide')!=-0x1)jS['set'](jQ?'from':'to',jA['get'](jA['get']('class')=='SlideInEffect'?'from':'to'));}return jS;};var jJ=function(){for(var jT=0x0,jU=jx['length'];jT0x0){this['setComponentVisibility'](jV,!jz,0x0,jI(!jz));}else{var jW='visibility_'+jV['get']('id');if(this['existsKey'](jW)){if(this['getKey'](jW))this['setComponentVisibility'](jV,!![],0x0,jI(!![]));else this['setComponentVisibility'](jV,![],0x0,jI(![]));this['unregisterKey'](jW);}}}jD['unbind']('end',jJ,this);if(!jF)jE['unbind']('end',jJ,this);};var jK=function(){jD['unbind']('stop',jK,this,!![]);jD['unbind']('stop',jK,this);jD['unbind']('begin',jK,this,!![]);jD['unbind']('begin',jK,this);for(var jX=0x0,jY=jx['length'];jX0x0){var ka=k0+k1+(k9!=undefined?k9['get']('duration'):0x0);jH['setComponentVisibility'](k7,!k8,ka,jI(!k8),k8?'hideEffect':'showEffect',!![]);}};for(var k4=0x0,k5=jx['length'];k40x0){jL('begin',jC,0x0);jC=0x0;}if(jy!=undefined)jL(jy,jB,jC);};TDV['Tour']['Script']['loadFromCurrentMediaPlayList']=function(kb,kc,kd){var ke=kb['get']('selectedIndex');var kf=kb['get']('items')['length'];var kg=(ke+kc)%kf;while(kg<0x0){kg=kf+kg;}if(ke!=kg){if(kd){var kh=kb['get']('items')[kg];this['skip3DTransitionOnce'](kh['get']('player'));}kb['set']('selectedIndex',kg);}};TDV['Tour']['Script']['mixObject']=function(ki,kj){return this['assignObjRecursively'](kj,this['copyObjRecursively'](ki));};TDV['Tour']['Script']['downloadFile']=function(kk){if((navigator['userAgent']['toLowerCase']()['indexOf']('chrome')>-0x1||navigator['userAgent']['toLowerCase']()['indexOf']('safari')>-0x1)&&!/(iP)/g['test'](navigator['userAgent'])){var kl=document['createElement']('a');kl['href']=kk;kl['setAttribute']('target','_blank');if(kl['download']!==undefined){var km=kk['substring'](kk['lastIndexOf']('/')+0x1,kk['length']);kl['download']=km;}if(document['createEvent']){var kn=document['createEvent']('MouseEvents');kn['initEvent']('click',!![],!![]);kl['dispatchEvent'](kn);return;}}window['open'](kk,'_blank');};TDV['Tour']['Script']['openLink']=function(ko,kp){if(!ko||ko==location['href']){return;}if(!kp)kp='_blank';if(kp=='_top'||kp=='_self'){this['updateDeepLink'](!![],!![],!![]);}var kq=window&&window['process']&&window['process']['versions']&&window['process']['versions']['electron']||navigator&&navigator['userAgent']&&navigator['userAgent']['indexOf']('Electron')>=0x0;if(kq&&kp=='_blank'){if(ko['startsWith']('files/')){ko='/'+ko;}if(ko['startsWith']('//')){ko='https:'+ko;}else if(ko['startsWith']('/')){var kr=window['location']['href']['split']('/');kr['pop']();ko=kr['join']('/')+ko;}var ks=ko['split']('.')['pop']()['toLowerCase']();if((['pdf','zip','xls','xlsx']['indexOf'](ks)==-0x1||ko['startsWith']('file://'))&&window['hasOwnProperty']('require')){var kt=window['require']('electron')['shell'];kt['openExternal'](ko);}else{window['open'](ko,kp);}}else if(kq&&(kp=='_top'||kp=='_self')){window['location']=ko;}else{var ku=this['get']('data')['tour'];if(ku['isMobileApp']()&&ku['isIOS']())ko='blank:'+ko;var kv=window['open'](ko,kp);kv['focus']();}};TDV['Tour']['Script']['pauseCurrentPlayers']=function(kw){var kx=this['getCurrentPlayers']();var ky=kx['length'];while(ky-->0x0){var kz=kx[ky];if(kz['get']('state')=='playing'||kz['get']('data')&&kz['get']('data')['playing']||kz['get']('viewerArea')&&kz['get']('viewerArea')['get']('id')==this['getMainViewer']()||kz['get']('camera')&&kz['get']('camera')['get']('idleSequence')&&kz['get']('camera')['get']('timeToIdle')>0x0&&kz['get']('state')=='playing'){var kA=this['getMediaFromPlayer'](kz);if(kw&&kA&&kA['get']('class')!='Video360'&&'pauseCamera'in kz){kz['pauseCamera']();}else{kz['pause']();}}else{kx['splice'](ky,0x1);}}return kx;};TDV['Tour']['Script']['pauseGlobalAudiosWhilePlayItem']=function(kB,kC,kD){var kE=function(){if(kB['get']('selectedIndex')!=kC){this['resumeGlobalAudios']();}};this['pauseGlobalAudios'](kD,!![]);this['executeFunctionWhenChange'](kB,kC,kE,kE);};TDV['Tour']['Script']['pauseGlobalAudios']=function(kF,kG){this['stopTextToSpeech']();if(window['pausedAudiosLIFO']==undefined)window['pausedAudiosLIFO']=[];var kH=this['getByClassName']('VideoPanoramaOverlay');kH=kH['concat'](this['getByClassName']('QuadVideoPanoramaOverlay'));for(var kJ=kH['length']-0x1;kJ>=0x0;--kJ){var kK=kH[kJ];if(kK['get']('video')['get']('hasAudio')==![])kH['splice'](kJ,0x1);}var kL=this['getByClassName']('Audio')['concat'](kH);var kM={};if(window['currentGlobalAudios']!=undefined)kL=kL['concat'](Object['values'](window['currentGlobalAudios'])['map'](function(kQ){if(!kQ['allowResume'])kM[kQ['audio']['get']('id')]=kQ['audio'];return kQ['audio'];}));var kN=[];for(var kJ=0x0,kO=kL['length'];kJ0x0)window['pausedAudiosLIFO']['push'](kN);return kN;};TDV['Tour']['Script']['resumeGlobalAudios']=function(){if(window['pausedAudiosLIFO']==undefined)return;if(window['resumeAudiosBlocked']){if(window['pausedAudiosLIFO']['length']>0x1){window['pausedAudiosLIFO'][window['pausedAudiosLIFO']['length']-0x2]=window['pausedAudiosLIFO'][window['pausedAudiosLIFO']['length']-0x2]['concat'](window['pausedAudiosLIFO'][window['pausedAudiosLIFO']['length']-0x1]);window['pausedAudiosLIFO']['splice'](window['pausedAudiosLIFO']['length']-0x1,0x1);}return;}var kR=window['pausedAudiosLIFO']['pop']();if(!kR)return;for(var kS=0x0,kT=kR['length'];kS=kY['length']){if(!kZ)return;l1=0x0;}l2=kY[l1];l3(l2,!![],l4,!![]);};l4();}};TDV['Tour']['Script']['playGlobalAudioWhilePlayActiveMedia']=function(l5,l6,l7,l8){var l9=this['getActiveMediaWithViewer'](this['getMainViewer']());var la=this['getFirstPlayListWithMedia'](l9,!![]);var lb=this['getPlayListItemByMedia'](la,l9);var lc=la['get']('items')['indexOf'](lb);this['playGlobalAudioWhilePlay'](la,lc,l5,l6,l7,l8);};TDV['Tour']['Script']['playGlobalAudioWhilePlay']=function(ld,le,lf,lg,lh,li){var lj=function(ls){if(ls['data']['previousSelectedIndex']==le){this['stopGlobalAudio'](lf);if(ln){var lt=lm['get']('media');var lu=lt['get']('audios');lu['splice'](lu['indexOf'](lf),0x1);lt['set']('audios',lu);}ld['unbind']('change',lj,this);if(lh)lh();}};var ll=window['currentGlobalAudios'];if(ll&&lf['get']('id')in ll){lf=ll[lf['get']('id')]['audio'];if(lf['get']('state')!='playing'){lf['play']();}return lf;}ld['bind']('change',lj,this);var lm=ld['get']('items')[le];var ln=lm['get']('class')=='PanoramaPlayListItem';if(ln){var lo=lm['get']('media');var ll=(lo['get']('audios')||[])['slice']();if(lf['get']('class')=='MediaAudio'){var lp=this['rootPlayer']['createInstance']('PanoramaAudio');lp['set']('autoplay',![]);lp['set']('audio',lf['get']('audio'));lp['set']('loop',lf['get']('loop'));lp['set']('id',lf['get']('id'));this['cloneBindings'](lf,lp,'end');this['cloneBindings'](lf,lp,'stateChange');lf=lp;}ll['push'](lf);lo['set']('audios',ll);}var lq=this['playGlobalAudio'](lf,lg,function(){ld['unbind']('change',lj,this);if(lh)lh['call'](this);});if(li===!![]){var lr=function(){if(lq['get']('state')=='playing'){this['pauseGlobalAudios']([lq],!![]);}else if(lq['get']('state')=='stopped'){this['resumeGlobalAudios']();lq['unbind']('stateChange',lr,this);}};lq['bind']('stateChange',lr,this);}return lq;};TDV['Tour']['Script']['playGlobalAudio']=function(lv,lw,lx,ly){var lz=function(){lv['unbind']('end',lz,this);this['stopGlobalAudio'](lv);if(lx)lx['call'](this);};lv=this['getGlobalAudio'](lv);var lA=window['currentGlobalAudios'];if(!lA){lA=window['currentGlobalAudios']={};}lA[lv['get']('id')]={'audio':lv,'asBackground':ly||![],'allowResume':lw};if(lv['get']('state')=='playing'){return lv;}if(!lv['get']('loop')){lv['bind']('end',lz,this);}lv['play']();return lv;};TDV['Tour']['Script']['resumePlayers']=function(lB,lC){for(var lD=0x0;lD0x0){var m4=setTimeout(function(){if(window[m2]instanceof Array){var m7=window[m2];var m8=m7['indexOf'](m4);m7['splice'](m8,0x1);if(m7['length']==0x0){delete window[m2];}}else{delete window[m2];}m1();},lW);if(window['hasOwnProperty'](m2)){window[m2]=[window[m2],m4];}else{window[m2]=m4;}}else{m1();}};TDV['Tour']['Script']['setLocale']=function(m9){this['stopTextToSpeech']();var ma=this['get']('data')['localeManager'];if(ma)this['get']('data')['localeManager']['setLocale'](m9);else{this['get']('data')['defaultLocale']=m9;this['get']('data')['forceDefaultLocale']=!![];}};TDV['Tour']['Script']['setEndToItemIndex']=function(mb,mc,md){var me=function(){if(mb['get']('selectedIndex')==mc){var mf=mb['get']('items')[md];this['skip3DTransitionOnce'](mf['get']('player'));mb['set']('selectedIndex',md);}};this['executeFunctionWhenChange'](mb,mc,me);};TDV['Tour']['Script']['setMapLocation']=function(mg,mh){var mi=function(){mg['unbind']('stop',mi,this);mj['set']('mapPlayer',null);};mg['bind']('stop',mi,this);var mj=mg['get']('player');mj['set']('mapPlayer',mh);};TDV['Tour']['Script']['setMainMediaByIndex']=function(mk){var ml=undefined;if(mk>=0x0&&mk0x0&&mU['get']('movements')[mT-0x1]['get']('class')=='TargetPanoramaCameraMovement'){var n4=mV['get']('initialPosition');var n5=n4['get']('yaw');var n6=n4['get']('pitch');var n7=n4['get']('hfov');var n8=mU['get']('movements')[mT-0x1];n4['set']('yaw',n8['get']('targetYaw'));n4['set']('pitch',n8['get']('targetPitch'));n4['set']('hfov',n8['get']('targetHfov'));var n9=function(nc){n4['set']('yaw',n5);n4['set']('pitch',n6);n4['set']('hfov',n7);mP['unbind']('end',n9,this);};mP['bind']('end',n9,this);}mU['set']('movementIndex',mT);}}if(mN){mM['unbind']('begin',mD,this);mN['unbind']('stateChange',mC,this);for(var na=0x0;na0x1)&&(nb==undefined||nb==mM['get']('media'))){mJ['set']('selectedIndex',mL);}if(mx!=mJ)mJ['unbind']('change',mE,this);}else{mQ['set']('visible',mR);}mJ=undefined;};if(!mz){var mH=mx['get']('selectedIndex');var mI=mH!=-0x1?mx['get']('items')[mx['get']('selectedIndex')]['get']('player'):this['getActivePlayerWithViewer'](this['getMainViewer']());if(mI){mz=this['getMediaFromPlayer'](mI);}}var mJ=undefined;if(mz){var mK=this['getPlayListsWithMedia'](mz,!![]);mJ=mK['indexOf'](mx)!=-0x1?mx:mK['length']>0x0?mK[0x0]:undefined;}if(!mJ){mx['set']('selectedIndex',my);return;}var mL=mJ['get']('selectedIndex');var mM=mx['get']('items')[my];var mN=mM['get']('player');var mO=this['getMediaFromPlayer'](mN);if(mx['get']('selectedIndex')==my&&mO==mM['get']('media')||mL==-0x1){return;}if(mx['get']('selectedIndex')==my&&mO!=mM['get']('media'))mx['set']('selectedIndex',-0x1);var mP=mJ['get']('items')[mL];var mQ=mN['get']('viewerArea');var mR=mQ['get']('visible');var mS=mQ==mP['get']('player')['get']('viewerArea');if(mS){if(mx!=mJ){mJ['set']('selectedIndex',-0x1);mJ['bind']('change',mE,this);}}else{mQ['set']('visible',!![]);}var mT=-0x1;var mU=undefined;var mV=mP['get']('camera');if(mV){mU=mV['get']('initialSequence');if(mU){mT=mU['get']('movementIndex');}}mx['set']('selectedIndex',my);var mW=[];var mX=function(nd){var ne=mN['get'](nd);if(ne==undefined)return;if(Array['isArray'](ne))mW=mW['concat'](ne);else mW['push'](ne);};mX('buttonStop');for(var mY=0x0;mY0x0){nv[ny['get']('id')]=setTimeout(nz['bind'](this,ny),ns);}else{nz['call'](this,ny);}}function nz(nA){var nB=nA['get']('id');var nC=nv[nB];if(nC){clearTimeout(nC);delete nC[nB];}var nD=nr=='toggle'?!nA['get']('enabled'):nr;nA['set']('enabled',nD);var nF=nA['get']('data');if(nD&&nF&&'group'in nF){var nG=this['getOverlaysByGroupname'](nF['group']);for(var nH=0x0,nI=nG['length'];nH=0x0)clearTimeout(p0);oV['bind']('rollOut',p2,this);};var p2=function(){var p7=function(){oZ['call'](this,![]);};oV['unbind']('rollOut',p2,this);p0=setTimeout(p7['bind'](this),oX);};oV['bind']('rollOver',p1,this);}};TDV['Tour']['Script']['showPopupMedia']=function(p8,p9,pa,pb,pc,pd){var pe=this;var pf=function(){window['resumeAudiosBlocked']=![];pa['set']('selectedIndex',-0x1);pe['getMainViewer']()['set']('toolTipEnabled',!![]);this['resumePlayers'](pk,!![]);if(pj){this['unbind']('resize',ph,this);}p8['unbind']('close',pf,this);};var pg=function(){p8['hide']();};var ph=function(){var pl=function(pC){return p8['get'](pC)||0x0;};var pm=pe['get']('actualWidth');var pn=pe['get']('actualHeight');var po=pe['getMediaWidth'](p9);var pp=pe['getMediaHeight'](p9);var pq=parseFloat(pb)/0x64;var pr=parseFloat(pc)/0x64;var ps=pq*pm;var pt=pr*pn;var pu=pl('footerHeight');var pv=pl('headerHeight');if(!pv){var pw=pl('closeButtonIconHeight')+pl('closeButtonPaddingTop')+pl('closeButtonPaddingBottom');var px=pe['getPixels'](pl('titleFontSize'))+pl('titlePaddingTop')+pl('titlePaddingBottom');pv=pw>px?pw:px;pv+=pl('headerPaddingTop')+pl('headerPaddingBottom');}var py=ps-pl('bodyPaddingLeft')-pl('bodyPaddingRight')-pl('paddingLeft')-pl('paddingRight');var pz=pt-pv-pu-pl('bodyPaddingTop')-pl('bodyPaddingBottom')-pl('paddingTop')-pl('paddingBottom');var pA=py/pz;var pB=po/pp;if(pA>pB){ps=pz*pB+pl('bodyPaddingLeft')+pl('bodyPaddingRight')+pl('paddingLeft')+pl('paddingRight');}else{pt=py/pB+pv+pu+pl('bodyPaddingTop')+pl('bodyPaddingBottom')+pl('paddingTop')+pl('paddingBottom');}if(ps>pm*pq){ps=pm*pq;}if(pt>pn*pr){pt=pn*pr;}p8['set']('width',ps);p8['set']('height',pt);p8['set']('x',(pm-pl('actualWidth'))*0.5);p8['set']('y',(pn-pl('actualHeight'))*0.5);};if(pd){this['executeFunctionWhenChange'](pa,0x0,pg);}var pi=p9['get']('class');var pj=pi=='Video'||pi=='Video360';pa['set']('selectedIndex',0x0);if(pj){this['bind']('resize',ph,this);ph();pa['get']('items')[0x0]['get']('player')['play']();}else{p8['set']('width',pb);p8['set']('height',pc);}window['resumeAudiosBlocked']=!![];this['getMainViewer']()['set']('toolTipEnabled',![]);var pk=this['pauseCurrentPlayers'](!![]);p8['bind']('close',pf,this);p8['show'](this,!![]);};TDV['Tour']['Script']['showPopupImage']=function(pD,pE,pF,pG,pH,pI,pJ,pK,pL,pM,pN,pO){var pP=![];var pQ=function(){q7['unbind']('loaded',pT,this);pX['call'](this);};var pR=function(){q7['unbind']('click',pR,this);if(qb!=undefined){clearTimeout(qb);}};var pS=function(){setTimeout(q1,0x0);};var pT=function(){this['unbind']('click',pQ,this);q6['set']('visible',!![]);q1();q8['set']('visible',!![]);q7['unbind']('loaded',pT,this);q7['bind']('resize',pS,this);qb=setTimeout(pU['bind'](this),0xc8);};var pU=function(){qb=undefined;if(pK){q7['bind']('click',pR,this);pW['call'](this);}q7['bind']('userInteractionStart',q2,this);q7['bind']('userInteractionEnd',q3,this);q7['bind']('backgroundClick',pX,this);if(pE){q7['bind']('click',pZ,this);q7['set']('imageCursor','hand');}q8['bind']('click',pX,this);if(pN)pN['call'](this);};var pV=function(){if(pK&&qb){clearTimeout(qb);qb=undefined;}};var pW=function(){if(pK){pV();qb=setTimeout(pX['bind'](this),pK);}};var pX=function(){this['getMainViewer']()['set']('toolTipEnabled',!![]);pP=!![];if(qb)clearTimeout(qb);if(qc)clearTimeout(qc);if(pK)pR();if(pO)pO['call'](this);q7['set']('visible',![]);if(pI&&pI['get']('duration')>0x0){pI['bind']('end',pY,this);}else{q7['set']('image',null);}q8['set']('visible',![]);q6['set']('visible',![]);this['unbind']('click',pQ,this);q7['unbind']('backgroundClick',pX,this);q7['unbind']('userInteractionStart',q2,this);q7['unbind']('userInteractionEnd',q3,this,!![]);q7['unbind']('resize',pS,this);if(pE){q7['unbind']('click',pZ,this);q7['set']('cursor','default');}q8['unbind']('click',pX,this);this['resumePlayers'](qa,pL==null||pM);if(pM){this['resumeGlobalAudios']();}if(pL){this['stopGlobalAudio'](pL);}};var pY=function(){q7['set']('image',null);pI['unbind']('end',pY,this);};var pZ=function(){q7['set']('image',q0()?pD:pE);};var q0=function(){return q7['get']('image')==pE;};var q1=function(){var qd=q7['get']('actualWidth')-q7['get']('imageLeft')-q7['get']('imageWidth')+0xa;var qe=q7['get']('imageTop')+0xa;if(qd<0xa)qd=0xa;if(qe<0xa)qe=0xa;q8['set']('right',qd);q8['set']('top',qe);};var q2=function(){pV();if(qc){clearTimeout(qc);qc=undefined;}else{q8['set']('visible',![]);}};var q3=function(){pW['call'](this);if(!pP){qc=setTimeout(q4,0x12c);}};var q4=function(){qc=undefined;q8['set']('visible',!![]);q1();};var q5=function(qf){var qg=qf['get']('data');if(qg&&'extraLevels'in qg){var qh=this['rootPlayer']['createInstance'](qf['get']('class'));var qi=qg['extraLevels'];for(var qj=0x0;qj0x0){if(window['currentPanoramasWithCameraChanged']==undefined){window['currentPanoramasWithCameraChanged']={};}var rj=r5['get']('id');window['currentPanoramasWithCameraChanged'][rj]=r9;var rk=function(){if(rj in window['currentPanoramasWithCameraChanged']){delete window['currentPanoramasWithCameraChanged'][rj];}for(var rm=0x0;rm=0x0){rY='#media='+(rX+0x1);rZ=this['mainPlayList']['get']('items')[rX]['get']('media');}else{rZ=this['getActiveMediaWithViewer'](this['getMainViewer']());if(rZ!=undefined){var s1=rZ['get']('data');if(s1){rY='#media-name='+s1['label'];}}}if(rZ){if(rU){var s2=this['getActivePlayerWithViewer'](this['getMainViewer']());if(s2&&s2['get']('class')=='PanoramaPlayer'){rY+='&yaw='+s2['get']('yaw')['toFixed'](0x2)+'&pitch='+s2['get']('pitch')['toFixed'](0x2);}}if(rV){var s3=this['getOverlays'](rZ);var s4=[];var s5=[];for(var s6=0x0,s7=s3['length'];s60x0)rY+='&son='+s4['join'](',');if(s5['length']>0x0)rY+='&hon='+s5['join'](',');}}if(rY&&rW===!![]){location['hash']=rY;}return rY;};TDV['Tour']['Script']['updateMediaLabelFromPlayList']=function(sc,sd,se){var sf=function(){var sh=sc['get']('selectedIndex');if(sh>=0x0){var si=function(){sl['unbind']('begin',si);sj(sh);};var sj=function(sm){var sn=sl['get']('media');var so=sn['get']('data');var sp=so!==undefined?so['description']:undefined;sk(sp);};var sk=function(sq){if(sq!==undefined){sd['set']('html',''+sq+'');}else{sd['set']('html','');}var sr=sd['get']('html');sd['set']('visible',sr!==undefined&&sr);};var sl=sc['get']('items')[sh];if(sd['get']('html')){sk('Loading...');sl['bind']('begin',si);}else{sj(sh);}}};var sg=function(){sd['set']('html',undefined);sc['unbind']('change',sf,this);se['unbind']('stop',sg,this);};if(se){se['bind']('stop',sg,this);}sc['bind']('change',sf,this);sf();};TDV['Tour']['Script']['updateVideoCues']=function(ss,st){var su=ss['get']('items')[st];var sv=su['get']('media');if(sv['get']('cues')['length']==0x0)return;var sw=su['get']('player');var sx=[];var sy=function(){if(ss['get']('selectedIndex')!=st){sv['unbind']('cueChange',sz,this);ss['unbind']('change',sy,this);}};var sz=function(sA){var sB=sA['data']['activeCues'];for(var sC=0x0,sD=sx['length'];sCsw['get']('currentTime')||sE['get']('endTime')0x0){sT=this['mixObject'](sT||{},{'theme':{'window':{'width':undefined,'left':sU,'right':sU}}});}}var sV=this['get']('data')['textToSpeechConfig']['speechOnQuizQuestion']&&!!sS['title'];if(sV)this['textToSpeech'](sS['title'],sN);sQ=sP['showQuestion'](sN,sT);sQ['then'](function(sW){if(sV)this['stopTextToSpeech']();this['resumePlayers'](sR,!![]);}['bind'](this));}return sQ;};TDV['Tour']['Script']['quizShowScore']=function(sX){var sY=this['get']('data');var sZ=sY['quiz'];if(sZ){if(this['get']('isMobile')){sX=sX||{};sX=this['mixObject'](sX,sY[this['get']('orientation')=='portrait'?'scorePortraitConfig':'scoreLandscapeConfig']);}return sZ['showScore'](sX);}};TDV['Tour']['Script']['quizShowTimeout']=function(t0,t1){var t2=this['get']('data');var t3=t2['quiz'];if(t3){if(this['get']('isMobile')){t1=t1||{};t1=this['mixObject'](t1,t2[this['get']('orientation')=='portrait'?'scorePortraitConfig':'scoreLandscapeConfig']);}t3['showTimeout'](t0,t1);}};TDV['Tour']['Script']['stopTextToSpeech']=function(t4){if(window['speechSynthesis']&&(t4==undefined||this['t2sLastID']==t4)){var t5=window['speechSynthesis'];if(t5['speaking']){t5['cancel']();}this['t2sLastID']=undefined;}};TDV['Tour']['Script']['textToSpeech']=function(t6,t7,t8){if(this['get']('mute')){return;}var t9=this['get']('data');var ta=t9['disableTTS']||![];if(ta)return;if(t7!=undefined&&this['t2sLastID']!=t7||t7==undefined){t8=t8||0x0;if(this['t2sLastID']&&t8>this['t2sLastPriority']){return;}var tb=t9['tour'];var tc=t9['textToSpeechConfig'];var td=t9['localeManager']['currentLocaleID'];if(window['speechSynthesis']){var te=window['speechSynthesis'];if(te['speaking']){te['cancel']();}var tf=new SpeechSynthesisUtterance(t6);if(td)tf['lang']=td;var tg;if(tc){tf['volume']=tc['volume'];tf['pitch']=tc['pitch'];tf['rate']=tc['rate'];if(tc['stopBackgroundAudio'])this['pauseGlobalAudios'](null,!![]);}tf['onend']=function(){this['t2sLastID']=null;if(tg)clearInterval(tg);if(tc['stopBackgroundAudio'])this['resumeGlobalAudios']();}['bind'](this);if(navigator['userAgent']['indexOf']('Chrome')!=-0x1&&!this['get']('isMobile')){tg=setInterval(function(){te['pause']();te['resume']();},0xbb8);}te['speak'](tf);this['t2sLastPriority']=t8;this['t2sLastID']=t7;}else if(tb['isMobileApp']()){if(!tb['isIOS']()){var th=function(ti,tj){var tk={'command':'tts','type':ti};if(tj)tk=this['mixObject'](tk,tj);android['sendJSON'](JSON['stringify'](tk));}['bind'](this);android['onTTSEnd']=function(){this['t2sLastID']=null;if(tc['stopBackgroundAudio'])this['resumeGlobalAudios']();android['onTTSEnd']=undefined;}['bind'](this);th('stop');if(tc){th('init',{'volume':tc['volume'],'pitch':tc['pitch'],'rate':tc['rate'],'language':td});if(tc['stopBackgroundAudio'])this['pauseGlobalAudios'](null,!![]);}th('play',{'text':t6,'androidCallback':'onTTSEnd'});}else{console['error']('Text\x20to\x20Speech\x20isn\x27t\x20supported\x20on\x20this\x20browser');}}else{console['error']('Text\x20to\x20Speech\x20isn\x27t\x20supported\x20on\x20this\x20browser');}}};TDV['Tour']['Script']['textToSpeechComponent']=function(tl){var tm=tl['get']('class');var tn;if(tm=='HTMLText'){var to=tl['get']('html');if(to){tn=this['htmlToPlainText'](to,{'linkProcess':function(tp,tq){return tq;}});}}else if(tm=='BaseButton'){tn=tl['get']('label');}else if(tm=='Label'){tn=tl['get']('text');}if(tn){this['textToSpeech'](tn,tl['get']('id'));}};TDV['Tour']['Script']['_initTTSTooltips']=function(){function tr(tt){var tu=tt['source'];this['textToSpeech'](tu['get']('toolTip'),tu['get']('id'),0x1);}function ts(tv){var tw=tv['source'];this['stopTextToSpeech'](tw['get']('id'));}setTimeout(function(){var tx=this['getByClassName']('UIComponent');for(var ty=0x0,tz=tx['length'];ty/i);if(tR){tQ=tQ['substring'](0x0,tR['index']);}const tS=tQ['match'](/]*>/i);if(tS){tQ=tQ['substring'](tS['index']+tS[0x0]['length'],tQ['length']);}tQ=tQ['replace'](/<(script|style)( [^>]*)*>((?!<\/\1( [^>]*)*>).)*<\/\1>/gi,'');tQ=tQ['replace'](/<(\/)?((?!h[1-6]( [^>]*)*>)(?!img( [^>]*)*>)(?!a( [^>]*)*>)(?!ul( [^>]*)*>)(?!ol( [^>]*)*>)(?!li( [^>]*)*>)(?!p( [^>]*)*>)(?!div( [^>]*)*>)(?!td( [^>]*)*>)(?!br( [^>]*)*>)[^>\/])[^<>]*>/gi,'');tQ=tQ['replace'](/]*)>/gi,function(tY,tZ){var u0='';var u1='';var u2=/src="([^"]*)"/i['exec'](tZ);var u3=/alt="([^"]*)"/i['exec'](tZ);if(u2!==null){u0=u2[0x1];}if(u3!==null){u1=u3[0x1];}if(typeof tI==='function'){return tI(u0,u1);}if(u1===''){return'![image]\x20('+u0+')';}return'!['+u1+']\x20('+u0+')';});function tT(){return function(u4,u5,u6,u7){var u8=0x0;if(u6&&/start="([0-9]+)"/i['test'](u6)){u8=/start="([0-9]+)"/i['exec'](u6)[0x1]-0x1;}var u9='

'+u7['replace'](/]*>(((?!]*>)(?!<\/li>).)*)<\/li>/gi,function(ua,ub){var uc=0x0;var ud=ub['replace'](/(^|(
))(?!

)/gi,function(){if(u5==='o'&&uc===0x0){u8+=0x1;uc+=0x1;return''+u8+tG(tN,tM-String(u8)['length']);}return''+tP;});return ud;})+'

';return u9;};}if(tK==='linebreak'){tQ=tQ['replace'](/<\/?ul[^>]*>|<\/?ol[^>]*>|<\/?li[^>]*>/gi,'\x0a');}else if(tK==='indention'){while(/<(o|u)l[^>]*>(.*)<\/\1l>/gi['test'](tQ)){tQ=tQ['replace'](/<(o|u)l([^>]*)>(((?!<(o|u)l[^>]*>)(?!<\/(o|u)l>).)*)<\/\1l>/gi,tT());}}if(tJ==='linebreak'){tQ=tQ['replace'](/]*>([^<]*)<\/h\1>/gi,'\x0a$2\x0a');}else if(tJ==='underline'){tQ=tQ['replace'](/]*>(((?!<\/h1>).)*)<\/h1>/gi,function(ue,uf){return'\x0a \x0a'+uf+'\x0a'+tG('=',uf['length'])+'\x0a \x0a';});tQ=tQ['replace'](/]*>(((?!<\/h2>).)*)<\/h2>/gi,function(ug,uh){return'\x0a \x0a'+uh+'\x0a'+tG('-',uh['length'])+'\x0a \x0a';});tQ=tQ['replace'](/]*>(((?!<\/h\1>).)*)<\/h\1>/gi,function(ui,uj,uk){return'\x0a \x0a'+uk+'\x0a \x0a';});}else if(tJ==='hashify'){tQ=tQ['replace'](/]*>([^<]*)<\/h\1>/gi,function(ul,um,un){return'\x0a \x0a'+tG('#',um)+'\x20'+un+'\x0a \x0a';});}tQ=tQ['replace'](/]*)*>|]*)*>|<\/p( [^>]*)*>|]*)*>|<\/div( [^>]*)*>|]*)*>|<\/td( [^>]*)*>/gi,'\x0a');tQ=tQ['replace'](/]*href="([^"]*)"[^>]*>([^<]+)<\/a[^>]*>/gi,function(uo,up,uq){if(typeof tH==='function'){return tH(up,uq);}return'\x20['+uq+']\x20('+up+')\x20';});tQ=tQ['replace'](/\n[ \t\f]*/gi,'\x0a');tQ=tQ['replace'](/\n\n+/gi,'\x0a');if(tO){tQ=tQ['replace'](/( |\t)+/gi,'\x20');tQ=tQ['replace'](/ /gi,'\x20');}else{tQ=tQ['replace'](/( | |\t)+/gi,'\x20');}tQ=tQ['replace'](/\n +/gi,'\x0a');tQ=tQ['replace'](/^ +/gi,'');while(tQ['indexOf']('\x0a')===0x0){tQ=tQ['substring'](0x1);}if(tQ['length']===0x0||tQ['lastIndexOf']('\x0a')!==tQ['length']-0x1){tQ+='\x0a';}return tQ;};TDV['Tour']['Script']['openEmbeddedPDF']=function(ur,us){var ut=!!window['MSInputMethodContext']&&!!document['documentMode'];if(ut){this['openLink'](us,'_blank');return;}var uu=ur['get']('class');var uv=!new RegExp('^(?:[a-z]+:)?//','i')['test'](us);if(uv&&uu=='WebFrame'){var uw=location['origin']+location['pathname'];ur['set']('url','lib/pdfjs/web/viewer.html?file='+encodeURIComponent(uw['substring'](0x0,uw['lastIndexOf']('/'))+'/'+us));}else{var ux=location['origin']==new URL(us)['origin'];var uy=''+'

This\x20browser\x20does\x20not\x20support\x20inline\x20PDFs.\x20Please\x20download\x20the\x20PDF\x20to\x20view\x20it:\x20Download\x20PDF

'+'';var uz=/^((?!chrome|android|crios|ipad|iphone).)*safari/i['test'](navigator['userAgent']);var uA=''+''+'!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

This\x20browser\x20does\x20not\x20support\x20inline\x20PDFs.\x20Please\x20download\x20the\x20PDF\x20to\x20view\x20it:\x20Download\x20PDF

\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'+us+'\x22,\x20\x22#content\x22,\x20{'+(ux?'\x22PDFJS_URL\x22:\x20\x22'+new URL('lib/pdfjs/web/viewer.html',document['baseURI'])['href']+'\x22,\x20':'')+'\x22fallbackLink\x22:\x20\x22'+uy+'\x22,'+'\x22forcePDFJS\x22:\x20'+uz+'});'+'if(!PDFObject.supportsPDFs\x20&&\x20!'+ux+'){'+'\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();'+'}'+'';if(uu=='WebFrame'){ur['set']('url','data:text/html;charset=utf-8,'+encodeURIComponent(''+''+''+''+uA+''+''));}else if(uu=='HTML'){ur['set']('content','data:text/html;charset=utf-8,'+encodeURIComponent(uA));}}};TDV['Tour']['Script']['getKey']=function(uB){return window[uB];};TDV['Tour']['Script']['registerKey']=function(uC,uD){window[uC]=uD;};TDV['Tour']['Script']['unregisterKey']=function(uE){delete window[uE];};TDV['Tour']['Script']['existsKey']=function(uF){return uF in window;}; //# sourceMappingURL=http://localhost:9000/script_v2022.0.36.js.map //Generated with v2022.0.36, Thu Apr 28 2022