{"version":3,"sources":["NestedList.js","components/MenuComponents/MenuBtn.js","components/MenuComponents/MenuProductView.js","components/MenuComponents/AnimationBtn.js","components/MenuComponents/Howtousenew.js","components/MenuComponents/HowToUse.js","components/MenuComponents/FooterControl.js","components/MenuComponents/FooterControlMob.js","components/MenuComponents/MainMenu.js","components/Header.js","App.js","index.js"],"names":["NestedList","props","readStates","myList","list","id","title","items","tempObj","tempItems","tempId","hasGroup","configStates","States","states","configGroups","displaylayers","state","update","json","sceneReady","i","length","j","checkGroup","split","k","name","l","subitems","push","divReact","getAttribute","cameraName","Object","keys","positions","cameraPos","values","setState","handleClick","e","check","c","window","scene","gotoPosInTime","pos","changeSelection","groupApplyState","handleClickSubItem","console","log","a","currentSelection","document","getElementById","fetchJson","fetch","headers","then","response","myJson","waitForGlobal","key","callback","_prepared","setTimeout","classes","this","map","List","className","root","item","ListItem","button","onClick","bind","selected","ListItemText","primary","Collapse","in","timeout","unmountOnExit","disablePadding","sitem","nested","React","Component","withStyles","theme","color","width","background","palette","paper","marginRight","paddingLeft","spacing","formControl","margin","minWidth","Btn","borderRadius","border","boxShadow","marginLeft","textTransform","BtnIcon","height","MenuBtn","Button","tabIndex","style","variant","startIcon","Avatar","src","source","submenu","ProductViewHeader","borderBottom","minHeight","AccordianIcons","MenuProductView","Accordion","onChange","onChanged","expanded","AccordionSummary","expandIcon","Typography","fontWeight","AccordionDetails","aria-label","onKeyPress","onLeftBtnClick","aria-hidden","finalLangues","overview","imgleft","onTopBtnClick","top","imgtop","onRightBtnClick","side","imgright","onWirelessDesignBtnClick","additonal","subname","imgfront","onKeysBtnClick","multidevice","imgKeys","Animationbtns","textAlign","marginTop","position","display","justifyContent","alignItems","animTitle","flex","maxWidth","AnimationBtn","reduceTransitions","forKeypress","onchange","type","mob","onScreenControls","forKeypress1","onchange1","Howtousenew","getElementsByClassName","backgroundColor","zIndex","exploreClick","allThreeDiv","fontFamily","fontStyle","fontSize","lineHeight","mobAllthreeDiv","usestyle","left","iconStyle","transform","Fragment","Hidden","only","howToUseMenu","ReactDOM","createPortal","alt","cursor","returnTo3DView","flexWrap","move","rotate","zoom","HowToUse","howtoUseD","opacity","animationName","howToUseDiv","imgUse","transition","right","flexDirection","useStyles","makeStyles","newBtns","extendedIcon","FooterControl","useEffect","useState","handleZoomChange","newValue","_nav","NavChangeDolly","undefined","target","value","localStorage","removeItem","setAttribute","keysCam","GotoPosInTimeNamedValue","getZoomFactor","threeButtons","letterSpacing","topBtnstyle","camData","setCamData","animationSwitch","getItem","animTime","setItem","gotoposname","onComplete","onSample","opt","gp","fovy","zang","time","slowInOut","x","x2","px","Math","pow","rippleRef","useRef","rippleRefs","float","NavRotation","clearRefine","size","onMouseDown","current","start","onMouseUp","stop","role","parseFloat","ref","center","min","max","step","clear","onPrevious","paddingRight","previousView","onReset","resetView","onNext","nextView","FooterControlMob","mobthreeButtons","_navYAng","onPreviousIpad","previous","onResetIpad","reset","onNextIpad","next","onPreviousMob","onResetMob","onNextMob","navigator","userAgent","indexOf","moblandscap","innerHeight","innerWidth","isipad","match","maxTouchPoints","buttonSeq","buttonSeq180","selectedButton","MainMenu","expandedPanel","setExpandedPanel","laptop360FrontImg","laptop360KeysImg","laptop360TopImg","laptop360LeftImg","laptop360RightImg","ecoImg","event","keyCode","click","resetBacklitCloseImg","setOpenCloseOnOff","setOpenClose","setBackliteOnOff","setBacklite","clearBluetoothIndicator","clearBluetoothSettimeFirst","clearBluetoothSettimeSecond","clearBluetoothSettimeThird","clearBluetoothSetintervalOne","clearBluetoothSetintervalTwo","clearBluetoothMainInterval","bluetoothBlikingLoop","animPlayAllChildrenInTime","clearTimeout","clearInterval","clearAllBluetoothSetTime","addEventListener","removeEventListener","resetAll","UniqDeltaScroll","UniqDeltaScroll2","animPlayInTime","animIsPlaying","getAnim","reverseAll","tempfRotMinLimit","_navMinDolly","_navMaxDolly","laptop180","onWirelessDesignClick","isNextPrevious","slider","nintyDegree","currentPos","alreadySelected","querySelector","classList","remove","add","currentPosName","focus","RT_RecordEvent","config","onKeysClick","setInterval","onWorkspaceClick","_panMax","_panMin","onSideClick","_fovRecoveryOffset","onOverviewClick","onTopClick","openCloseOnOff","onResetMode","tent","TentModeClick","theatre","TheaterModeClick","tablet","TabletModeClick","onPreviousMode","selectedButtonIndex","findIndex","element","prevButton","onNextMode","nextButton","animValue","setAnimValue","animValue1","setAnimValue1","checked","panel","animStopped","paddingTop","paddingBottom","borderLeft","borderRight","endIcon","toggleDrawerAction","mainMenu","onWorkspaceBtnClick","imgeco","productview","isExpanded","innerHTML","animationSwitchVal","animation1SwitchGlobal","removeAttribute","bottom","visibility","animationSwitchGlobal","value1","headerBackground","Header","closeWindow","aria-labelledby","Grid","container","xs","md","Paper","align","ipad","ipadPortrait","statebtns","marginBottom","drawerPaper","overflow","selectEmpty","App","burgerBtnVisible","setBurgerBtnVisible","toggleDrawer","anchor","open","menuMobLandscapOpen","menuMobLandscapClose","orientationPotrait","setOrientation","checkOrientationStatus","orientationStatus","getLangTranscript","setgetLangTranscript","checkgetLangTranscript","closeBtnVisibilityOpen","closeBtnVisibilityClose","dektopCloseBtnVisibilityOpen","dektopCloseBtnVisibilityClose","disableElevation","Drawer","onClose","overflowY","overflowX","createMuiTheme","main","secondary","render","ThemeProvider"],"mappings":"qaA2CMA,E,kDAEF,WAAYC,GAAQ,IAAD,8BACf,cAAMA,IAOVC,WAAa,WAET,IAAIC,EAAS,CAAEC,KAAK,CAAE,CAACC,GAAG,EAAGC,MAAM,SAAUC,MAAM,MAE/CC,EAAU,GACVC,EAAY,GACZC,EAAS,EACTC,GAAW,EAIXC,EAAeC,EAAOC,OACtBC,EAAeF,EAAOG,cAGF,GAArB,EAAKC,MAAMC,SACVN,EAAe,EAAKK,MAAME,KAAKL,OAC/BC,EAAe,EAAKE,MAAME,KAAKH,cAG5B,EAAKC,MAAMG,YAUlB,IAAI,IAAIC,EAAE,EAAGA,EAAIT,EAAaU,OAAQD,IAAI,CACtCV,GAAW,GACE,EACb,IAAI,IAAIY,EAAE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,cAAC,KAAD,IAAexC,QAASuW,EAApM,eAClC,qBAAK5W,UAAU,eAAe2C,MAAO,UAI3C,cAAC4E,EAAA,EAAD,CAAQC,KAAM,CAAC,KAAK,KAAK,KAAK,MAA9B,SAEG,eAACiQ,EAAA,EAAD,CAAQjQ,KAAK,KAAK7E,OAAK,GAAIrB,MAAO,OAAOuE,SAAU,QAAQ8R,UAAW,OAAOC,UAAW,UAAjE,sBAAiF,QAAjF,yBAAkG,SAAlG,yBAAoH,QAApH,GAA8HnB,OAAQ,SAAUC,KAAMja,EAAK,OAAYmG,QAAQ,aAAa8U,QAASlB,EAAa,UAAS,GAAlP,UACG,cAAC,EAAD,IACCS,GAAqB,cAAC,GAAD,CAAU3C,mBArM3B,WAGpBvW,EAAS,2BAAKtB,GAAN,kBAAa,UAAW,KAChCkD,YAAW,WACRZ,SAASC,eAAe,mBAAmB2D,MAAM6C,QAAU,QAC3DzG,SAASC,eAAe,qBAAqB2D,MAAM2C,UAAY,MAC/DvG,SAASC,eAAe,iBAAiB2D,MAAM2C,UAAY,QAE5D,uB,oBCjHFlE,GAAQyW,aAAe,CAC3BrW,QAAS,CACNf,QAAS,CACNqX,KAAM,WAETC,UAAW,CACRD,KAAM,cAOdpQ,IAASsQ,OACP,cAAC,WAAD,UACE,cAACC,GAAA,EAAD,CAAe7W,MAAOA,GAAtB,SAA6B,cAAC,GAAD,QAG/BrC,SAASC,eAAe,U","file":"static/js/main.02c3396b.chunk.js","sourcesContent":["import React from \"react\";\r\nimport PropTypes from \"prop-types\";\r\nimport ListSubheader from \"@material-ui/core/ListSubheader\";\r\nimport List from \"@material-ui/core/List\";\r\nimport ListItem from \"@material-ui/core/ListItem\";\r\nimport ListItemText from \"@material-ui/core/ListItemText\";\r\nimport Collapse from \"@material-ui/core/Collapse\";\r\nimport ExpandLess from \"@material-ui/icons/ExpandLess\";\r\nimport ExpandMore from \"@material-ui/icons/ExpandMore\";\r\n// import Divider from \"@material-ui/core/Divider\";\r\nimport { withStyles } from \"@material-ui/core/styles\";\r\nimport States from \"./model_gl/config\";\r\n\r\n\r\nconst styles = theme => ({\r\n root: {\r\n \r\n //SubTitle Color\r\n '& .MuiListSubheader-root.MuiListSubheader-colorPrimary': {\r\n color: '#e91e63'\r\n },\r\n\r\n width: \"100%\",\r\n //maxWidth: 360,\r\n background: theme.palette.background.paper,\r\n marginRight: '3vw',\r\n \r\n },\r\n \r\n nested: {\r\n paddingLeft: theme.spacing(4)\r\n },\r\n\r\n formControl: {\r\n margin: theme.spacing(1),\r\n minWidth: 120,\r\n width: \"92%\"\r\n },\r\n\r\n});\r\n\r\n\r\n\r\nclass NestedList extends React.Component {\r\n\r\n constructor(props) {\r\n super(props);\r\n this.state = {items: this.readStates(), json:{}, update:false, cameraName:[], cameraPos:[], sceneReady: false, currentSelection: null };\r\n //Get DIV react html element to access attributes\r\n this.divReact = document.getElementById('root');\r\n }\r\n \r\n\r\n readStates = () => {\r\n \r\n var myList = { list:[ {id:1, title:\"States\", items:[] }] }\r\n \r\n var tempObj = {}; \r\n var tempItems = [];\r\n var tempId = 1;\r\n var hasGroup = false;\r\n var checkGroup = false;\r\n \r\n \r\n var configStates = States.states;\r\n var configGroups = States.displaylayers;\r\n \r\n //If Config.json is fetched\r\n if(this.state.update == true) {\r\n configStates = this.state.json.states ;\r\n configGroups = this.state.json.displaylayers;\r\n\r\n //Update Camera from Global Scene if the Scene exists\r\n if(this.state.sceneReady == true){\r\n \r\n /* window.scene.gotoPosInTime(this.state.json.positions.reset.pos[0],\r\n this.state.json.positions.reset.pos[1],\r\n this.state.json.positions.reset.pos[2],\r\n this.state.json.positions.reset.pos[3],\r\n this.state.json.positions.reset.pos[4], 0); */\r\n }\r\n }\r\n\r\n for(var i=0; i < configStates.length; i++){\r\n hasGroup = false;\r\n checkGroup = false;\r\n for(var j=0; j < configGroups.length; j++){\r\n //Check Groups on States\r\n let checkGroup = configStates[i].split(configGroups[j]+\":\");\r\n if(checkGroup.length > 1){\r\n hasGroup = true;\r\n //Check if group exists in the tempItems\r\n if(tempItems.length > 0){\r\n for(var k=0; k < tempItems.length; k++){\r\n if(tempItems[k].name == configGroups[j]){\r\n //Exist\r\n checkGroup = true;\r\n }\r\n }\r\n //Addind when already exists\r\n if(checkGroup == true){\r\n //console.log(\"THERE IS\");\r\n //Search for GroupName\r\n for(var l=0; l < tempItems.length; l++) {\r\n if(tempItems[l].name == configGroups[j]){\r\n //Get the number of SubIDs\r\n let subId = tempItems[l].subitems.length+1;\r\n tempObj = {id:subId, name:configStates[i]};\r\n tempItems[l].subitems.push(tempObj);\r\n tempObj = {};\r\n }\r\n }\r\n \r\n //Addind when does not exist\r\n } else { \r\n //console.log(\"NOT\");\r\n tempObj.id = tempId;\r\n tempObj.name = configGroups[j];\r\n tempObj.subitems = [{id:1, name:configStates[i]}];\r\n tempId += 1;\r\n tempItems.push(tempObj);\r\n tempObj = {};\r\n }\r\n \r\n } else {\r\n //First Time to Add if tempArray is Empty\r\n tempObj.id = tempId;\r\n tempObj.name = configGroups[j];\r\n tempObj.subitems = [{id:1, name:configStates[i]}];\r\n tempId += 1;\r\n tempItems.push(tempObj);\r\n tempObj = {};\r\n }\r\n \r\n } else {\r\n //if it has no groups and in the last interation\r\n if(hasGroup == false && (j == configGroups.length-1)){\r\n tempObj.id = tempId;\r\n tempObj.name = configStates[i];\r\n tempId += 1;\r\n tempItems.push(tempObj);\r\n tempObj = {};\r\n }\r\n }\r\n \r\n }\r\n }\r\n \r\n //Change names from SubGroups to work in the list\r\n for(var i=0; i {console.log(\"Prepared\") }, true );\r\n \r\n\r\n //Update Json\r\n const fetchJson = async () => {\r\n \r\n const response = await fetch('./model_gl/config.json'\r\n ,{\r\n headers : { \r\n 'Content-Type': 'application/json',\r\n 'Accept': 'application/json'\r\n }\r\n }\r\n ).then((response) => response.json())\r\n .then((myJson)=> { this.setState({json: myJson, update:true}); this.setState({items: this.readStates()}); })\r\n }\r\n \r\n //Function waiting for Global Variables (Camera) \r\n const waitForGlobal = async function(key, callback) {\r\n\r\n if (window[key]) {\r\n \r\n if(window[key]._prepared == true)\r\n { callback(); }\r\n else { \r\n setTimeout(function() {\r\n waitForGlobal(key, callback);\r\n }, 100);}\r\n } else { \r\n setTimeout(function() {\r\n waitForGlobal(key, callback);\r\n }, 100);} \r\n\r\n };\r\n \r\n waitForGlobal(\"scene\", fetchJson); \r\n }\r\n\r\n state = {};\r\n \r\n\r\n handleClick = e => {\r\n\r\n this.setState({ [e]: !this.state[e] });\r\n let check = false;\r\n\r\n //Check if it is a Camera\r\n for(var c=0; c 1){\r\n \r\n } else{ \r\n\r\n //Apply State\r\n this.changeSelection(e);\r\n window.scene.groupApplyState(e);\r\n\r\n \r\n }\r\n }\r\n \r\n };\r\n\r\n handleClickSubItem = e => {\r\n console.log(e);\r\n this.changeSelection(e);\r\n window.scene.groupApplyState(e);\r\n };\r\n\r\n //Function to change Async(ly) the selection state\r\n changeSelection = async (e) => {\r\n await this.setState({currentSelection: e});\r\n console.log(this.state.currentSelection);\r\n }\r\n\r\n\r\n render() {\r\n\r\n //Get All NestedList (states) from Models\r\n // const items = this.state.items;\r\n\r\n const { classes } = this.props;\r\n\r\n return (\r\n
\r\n \r\n {this.state.items.list.map(list => {\r\n return (\r\n \r\n {list.title}\r\n // }\r\n >\r\n {list.items.map(item => {\r\n return (\r\n
\r\n {item.subitems != null ? (\r\n
\r\n \r\n {this.state[item.name] ? (\r\n \r\n ) : (\r\n \r\n )}\r\n\r\n \r\n \r\n \r\n \r\n \r\n {item.subitems.map(\r\n sitem => {\r\n return (\r\n \r\n \r\n \r\n );\r\n }\r\n )}\r\n \r\n {\" \"}\r\n
\r\n ) : (\r\n \r\n \r\n \r\n )}\r\n
\r\n );\r\n })}\r\n {/* */}\r\n \r\n );\r\n })}\r\n
\r\n );\r\n }\r\n}\r\nNestedList.propTypes = {\r\n classes: PropTypes.object.isRequired\r\n};\r\nexport default withStyles(styles)(NestedList);","import React from 'react';\r\nimport ReactDOM from \"react-dom\";\r\nimport Button from \"@material-ui/core/Button\";\r\nimport Avatar from \"@material-ui/core/Avatar\";\r\nconst Btn={\r\n borderRadius:\"0px\", \r\n background:'transparent', \r\n border:'none', \r\n boxShadow:'none',\r\n marginLeft:'10px',\r\n color:'#000',\r\n textTransform:'capitalize',\r\n marginRight: \"12px\"\r\n}\r\n// const Btn:hover {\r\n// font-weight: bold;\r\n// background-color: #d2dde4;\r\n// }\r\nconst BtnIcon={\r\n borderRadius:\"0px\", \r\n background:'transparent',\r\n width:'52px',\r\n height:'36px'\r\n}\r\nconst MenuBtn =(props)=>{\r\n return(\r\n
\r\n \r\n
\r\n )\r\n}\r\nexport default MenuBtn;","import React from 'react';\r\nimport Accordion from '@material-ui/core/Accordion';\r\nimport AccordionDetails from '@material-ui/core/AccordionDetails';\r\nimport AccordionSummary from '@material-ui/core/AccordionSummary';\r\nimport Typography from '@material-ui/core/Typography';\r\nimport ExpandMoreIcon from '@material-ui/icons/ExpandMore';\r\n// import Avatars from './Avatars';\r\nimport MenuBtn from './MenuBtn';\r\n// import RadioBtns from './RadioBtns';\r\nconst ProductViewHeader = {\r\n borderBottom: \"1px solid #c7c7c7\",\r\n minHeight: \"52px\"\r\n}\r\nconst AccordianIcons = {\r\n width: \"36px\",\r\n height: \"25px !important\",\r\n marginLeft: '24px'\r\n}\r\n\r\nconst MenuProductView = (props) => {\r\n\r\n\r\n\r\n return (\r\n
\r\n \r\n } style={ProductViewHeader} >\r\n {props.name}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n {/* \r\n \r\n */}\r\n \r\n
\r\n );\r\n}\r\n\r\nexport default MenuProductView;","import React,{ useState,useEffect } from \"react\"\r\nimport Switch from '@material-ui/core/Switch';\r\nimport Hidden from '@material-ui/core/Hidden';\r\n\r\nconst Animationbtns = {\r\n\r\n textAlign: \"center\",marginTop: \"30px\",position: \"relative\",marginRight: \"41px\",\r\n display: \"flex\",justifyContent: \"center\",alignItems: \"center\"\r\n\r\n}\r\n\r\nconst animTitle = {\r\n marginRight: \"10px\",\r\n display: \"inline-block\",\r\n flex: '0 0 62%',\r\n maxWidth: '100%',\r\n textAlign: 'right'\r\n}\r\nconst AnimationbtnsMob = {\r\n textAlign: \"center\",marginTop: \"25px\",position: \"relative\",marginBottom: \"14px\"\r\n\r\n}\r\n\r\nconst AnimationBtn = (props) => {\r\n\r\n\r\n\r\n return (\r\n <>\r\n\r\n
\r\n {window.finalLangues.reduceTransitions}: \r\n {/* {value} */}\r\n \r\n
\r\n {!(window.mob) &&\r\n
\r\n {window.finalLangues.onScreenControls}: \r\n {/* {value} */}\r\n \r\n
\r\n }\r\n \r\n )\r\n}\r\n\r\nexport default AnimationBtn;","import React,{ useState } from 'react';\r\nimport ReactDOM from 'react-dom';\r\nimport HighlightOffIcon from '@material-ui/icons/HighlightOff';\r\nimport ErrorOutlineSharpIcon from '@material-ui/icons/ErrorOutlineSharp';\r\nimport Hidden from '@material-ui/core/Hidden';\r\nimport { Translate } from '@material-ui/icons';\r\nimport ArrowForwardIcon from '@material-ui/icons/ArrowForward';\r\n\r\n\r\nconst Howtousenew = () => {\r\n\r\n\r\n const handleClick = () => {\r\n document.getElementById('howToUSE').style.display = \"block\";\r\n document.getElementById('howTousePopup').style.display = \"block\";\r\n document.getElementsByClassName('HowToUseHeader')[0].style.backgroundColor = \"#0076CE\";\r\n document.getElementsByClassName('HowToUseHeader')[0].style.color = \"#FFFFFF\";\r\n document.getElementById('iconI').style.color = \"#FFFFFF\";\r\n document.getElementById('howToUSE').style.zIndex = \"2\";\r\n document.getElementById('howTousePopup').style.zIndex = \"2\";\r\n\r\n\r\n };\r\n const exploreClick = () => {\r\n document.getElementById('howToUSE').style.display = \"none\";\r\n document.getElementById('howTousePopup').style.display = \"none\";\r\n document.getElementsByClassName('HowToUseHeader')[0].style.backgroundColor = \"#FFFFFF\";\r\n document.getElementsByClassName('HowToUseHeader')[0].style.color = \"#006BBD\";\r\n document.getElementById('iconI').style.color = \"#006BBD\";\r\n document.getElementById('howToUSE').style.zIndex = \"-1\";\r\n document.getElementById('howTousePopup').style.zIndex = \"-1\";\r\n\r\n };\r\n\r\n const howTouse = {\r\n display: 'none',\r\n position: 'fixed',\r\n top: '0',\r\n left: '0',\r\n height: '100vh',\r\n width: '100%',\r\n backgroundColor: 'white'\r\n }\r\n const mobHowToUseMain = {\r\n display: 'none',\r\n position: 'fixed',\r\n top: '0',\r\n height: '100vh',\r\n width: '100%',\r\n backgroundColor: 'white',\r\n zIndex: '2'\r\n }\r\n const mainDiv = {\r\n display: 'flex',\r\n position: 'absolute',\r\n left: '51%',\r\n top: '40%',\r\n transform: 'translate(-50%,-40%)',\r\n\r\n }\r\n const allThreeDiv = {\r\n textAlign: 'center',\r\n margin: '0px 40px 0 20px',\r\n fontFamily: 'Roboto',\r\n fontStyle: 'normal',\r\n fontWeight: '300',\r\n fontSize: '20px',\r\n lineHeight: '36px'\r\n }\r\n const mobAllthreeDiv = {\r\n textAlign: 'left',\r\n margin: '23px 0px 33px',\r\n fontFamily: 'Roboto',\r\n fontStyle: 'normal',\r\n fontWeight: 'normal',\r\n fontSize: '22px',\r\n lineHeight: '36px',\r\n width: '350px',\r\n display: 'flex',\r\n alignItems: 'baseline',\r\n justifyContent: 'space-between'\r\n\r\n }\r\n\r\n const mobAllthreeDivs = {\r\n textAlign: 'center',\r\n margin: '57px 0px 33px 0px',\r\n fontFamily: 'Roboto',\r\n fontStyle: 'normal',\r\n fontWeight: 'normal',\r\n fontSize: '22px',\r\n lineHeight: '36px',\r\n width: '350px',\r\n display: 'flex',\r\n alignItems: 'baseline',\r\n justifyContent: 'space-between'\r\n }\r\n const mobAllthreeDivss = {\r\n textAlign: 'left',\r\n margin: '23px 0px 33px',\r\n fontFamily: 'Roboto',\r\n fontStyle: 'normal',\r\n fontWeight: 'normal',\r\n fontSize: '22px',\r\n lineHeight: '36px',\r\n width: '350px',\r\n display: 'flex',\r\n alignItems: 'center',\r\n justifyContent: 'space-between'\r\n }\r\n const exploreButtton = {\r\n\r\n position: 'absolute',\r\n left: '50%',\r\n top: '225px',\r\n transform: 'translate(-50%, 100%)',\r\n cursor: 'pointer',\r\n height: '44px',\r\n width: '513px',\r\n background: '#0076CE',\r\n borderRadius: '2px',\r\n alignItems: 'center',\r\n textAlign: 'center',\r\n\r\n fontFamily: 'Roboto',\r\n fontStyle: 'normal',\r\n fontWeight: 'normal',\r\n fontSize: '16px',\r\n lineHeight: '36px',\r\n color: '#FFFFFF',\r\n border: '0'\r\n\r\n }\r\n const mobExploreButtton = {\r\n position: 'absolute',\r\n left: '50%',\r\n top: '425px',\r\n transform: 'translate(-50%, 100%)',\r\n cursor: 'pointer',\r\n height: '54px',\r\n width: '253px',\r\n background: '#0076CE',\r\n borderRadius: '2px',\r\n alignItems: 'center',\r\n textAlign: 'center',\r\n\r\n fontFamily: 'Roboto',\r\n fontStyle: 'normal',\r\n fontWeight: 'normal',\r\n fontSize: '16px',\r\n\r\n color: '#FFFFFF',\r\n border: '0'\r\n\r\n }\r\n const howToUseText = {\r\n position: 'absolute',\r\n left: '50%',\r\n top: '-40px',\r\n transform: 'translate(-50%, 100%)',\r\n alignItems: 'center',\r\n textAlign: 'center',\r\n fontFamily: 'Roboto',\r\n fontStyle: 'normal',\r\n fontWeight: '300',\r\n fontSize: '38px',\r\n lineHeight: '56px',\r\n color: '#000000'\r\n }\r\n const mobHowToUseText = {\r\n position: 'absolute',\r\n left: '50%',\r\n top: '0px',\r\n transform: 'translate(-50%, -70%)',\r\n alignItems: 'center',\r\n textAlign: 'center',\r\n fontFamily: 'Roboto',\r\n fontStyle: 'normal',\r\n fontWeight: '300',\r\n fontSize: '40px',\r\n lineHeight: '56px',\r\n color: '#000000',\r\n width: '350px'\r\n }\r\n const closeUseMob = {\r\n position: 'absolute',\r\n right: '-2px',\r\n top: '-84px',\r\n color: '#CCCCCC',\r\n height: '32px',\r\n width: '32px',\r\n cursor: 'pointer'\r\n }\r\n const usestyle = {\r\n fontFamily: 'Roboto',\r\n fontStyle: 'normal',\r\n fontWeight: '500',\r\n fontSize: '14px',\r\n lineHeight: '16px',\r\n position: 'relative',\r\n left: '17px',\r\n top: '-4px'\r\n }\r\n const iconStyle = {\r\n transform: ' rotate(180deg)',\r\n position: 'relative',\r\n left: '-2px',\r\n top: '2px',\r\n color: '#006BBD',\r\n height: '22px',\r\n width: '22px'\r\n }\r\n const mobHowToUse = {\r\n display: 'flex',\r\n flexWrap: 'wrap',\r\n position: 'absolute',\r\n left: '50%',\r\n top: '40%',\r\n transform: 'translate(-50%,-40%)',\r\n }\r\n return (\r\n \r\n \r\n {window.finalLangues.howToUseMenu}\r\n \r\n\r\n {ReactDOM.createPortal(\r\n\r\n
\r\n\r\n \r\n {window.finalLangues.howToUseMenu}\r\n
\r\n \"closeBtn\"\r\n\r\n {window.finalLangues.howToUseMenu}:\r\n\r\n
\r\n
Move

\"moveDesk\"
\r\n
Rotate

\"rotateDesk\"
\r\n
Zoom

\"zoomDesk\"
\r\n
\r\n \r\n\r\n
\r\n
\r\n\r\n \r\n
\r\n\r\n
\r\n \"closeBtn\"\r\n\r\n {window.finalLangues.howToUseMenu}:\r\n
{window.finalLangues.move}\"moves\"
\r\n
{window.finalLangues.rotate}\"rotates\"
\r\n
{window.finalLangues.zoom}\"zommss\"
\r\n \r\n
\r\n {/* */}\r\n\r\n
\r\n
\r\n\r\n
,document.getElementById('howTousePopup')\r\n )}\r\n
\r\n\r\n )\r\n}\r\n\r\n\r\n\r\nexport default Howtousenew;\r\n\r\n","import React,{ useState,useEffect } from 'react';\r\nimport ReactDOM from 'react-dom';\r\nimport HighlightOffIcon from '@material-ui/icons/HighlightOff';\r\nimport ErrorOutlineSharpIcon from '@material-ui/icons/ErrorOutlineSharp';\r\nimport Hidden from '@material-ui/core/Hidden';\r\n\r\n\r\n\r\nconst HowToUse = () => {\r\n let howtoUseD = false;\r\n // var howToUSeAnimation = document.getElementById('howToUSE').style.animationName\r\n const handleClick = () => {\r\n\r\n if (howtoUseD) {\r\n console.log(\"if.......\")\r\n document.getElementById('howToUSE').style.opacity = \"0\";\r\n document.getElementById('howToUSE').style.marginTop = \"-100%\";\r\n // document.getElementById('howToUSE').style.visibility = \"hidden\";\r\n\r\n document.getElementById('howToUSE').style.animationName = \"example\";\r\n\r\n document.getElementsByClassName('HowToUseHeader')[0].style.backgroundColor = \"#FFFFFF\";\r\n document.getElementsByClassName('HowToUseHeader')[0].style.color = \"#006BBD\";\r\n document.getElementById('iconI').style.color = \"#006BBD\";\r\n howtoUseD = false;\r\n } else {\r\n console.log(\"else.......\")\r\n\r\n document.getElementById('howToUSE').style.opacity = \"1\";\r\n document.getElementById('howToUSE').style.marginTop = \"0%\";\r\n // document.getElementById('howToUSE').style.visibility = \"visible\";\r\n\r\n document.getElementById('howToUSE').style.animationName = \"example1\";\r\n\r\n // document.getElementById('howToUSE').style.display = \"block\";\r\n document.getElementsByClassName('HowToUseHeader')[0].style.backgroundColor = \"#0076CE\";\r\n document.getElementsByClassName('HowToUseHeader')[0].style.color = \"#FFFFFF\";\r\n document.getElementById('iconI').style.color = \"#FFFFFF\";\r\n\r\n howtoUseD = true;\r\n }\r\n };\r\n\r\n const closeHandle = () => {\r\n document.getElementById('howToUSE').style.animationName = \"example\";\r\n document.getElementsByClassName('HowToUseHeader')[0].style.backgroundColor = \"#FFFFFF\";\r\n document.getElementsByClassName('HowToUseHeader')[0].style.color = \"#006BBD\";\r\n document.getElementById('iconI').style.color = \"#006BBD\";\r\n document.getElementById('howToUSE').style.opacity = \"0\";\r\n document.getElementById('howToUSE').style.marginTop = \"-100%\";\r\n\r\n howtoUseD = false;\r\n\r\n };\r\n // useEffect(() => {\r\n // document.getElementById('howToUSE').style.display = none;\r\n\r\n\r\n // }, []);\r\n const howToUseName = {\r\n position: 'absolute',\r\n left: '109px',\r\n top: '35px',\r\n fontFamily: 'Roboto',\r\n fontStyle: 'normal',\r\n fontWeight: 'normal',\r\n fontSize: '24px',\r\n lineHeight: '36px',\r\n display: 'flex',\r\n alignItems: 'center',\r\n color: '#000000',\r\n tabIndex: '-1'\r\n\r\n }\r\n const useImages = {\r\n position: 'fixed',\r\n\r\n height: '498px',\r\n width: '381px',\r\n top: '185px',\r\n border: '1px solid #EEEEEE',\r\n boxShadow: '0px 2px 2px rgb(0 43 85 / 8%), 0px 4px 4px rgb(0 43 85 / 8%), 0px 8px 8px rgb(0 43 85 / 8%), 0px 16px 16px rgb(0 43 85 / 8%), 0px 32px 32px rgb(0 43 85 / 8%)',\r\n borderRadius: '10px',\r\n background: '#FFFFFF',\r\n // display: 'none'\r\n opacity: 0,\r\n transition: \"opacity 2s\",\r\n // visibility: 'Hidden',\r\n tabIndex: '-1'\r\n\r\n }\r\n const howToUseImages = {\r\n position: 'absolute',\r\n left: '50%',\r\n top: '56%',\r\n transform: 'translate(-50%, -50%)',\r\n display: 'flex',\r\n justifyContent: 'center',\r\n flexDirection: 'column',\r\n width: '274px',\r\n tabIndex: '-1'\r\n\r\n }\r\n const UseImagesIpad = {\r\n position: 'fixed',\r\n left: '-351px',\r\n\r\n border: '1px solid #EEEEEE',\r\n boxShadow: '0px 2px 2px rgb(0 43 85 / 8%), 0px 4px 4px rgb(0 43 85 / 8%), 0px 8px 8px rgb(0 43 85 / 8%), 0px 16px 16px rgb(0 43 85 / 8%), 0px 32px 32px rgb(0 43 85 / 8%)',\r\n borderRadius: '10px',\r\n background: '#FFFFFF',\r\n opacity: 0,\r\n transition: \"opacity 2s\",\r\n display: 'flex',\r\n justifyContent: 'center'\r\n\r\n }\r\n const howToUseDiv = {\r\n width: '100%',\r\n textAlign: 'center',\r\n lineHeight: '75px',\r\n fontSize: '30px'\r\n }\r\n const useName1 = {\r\n position: 'absolute',\r\n width: '90px',\r\n height: '28px',\r\n left: '0',\r\n top: '30px',\r\n fontFamily: 'Roboto',\r\n fontStyle: 'normal',\r\n fontWeight: 'normal',\r\n fontSize: '24px',\r\n lineHeight: '36px',\r\n display: 'flex',\r\n alignItems: 'center',\r\n textAlign: 'left',\r\n color: '#000000'\r\n }\r\n const useName2 = {\r\n position: 'absolute',\r\n width: '90px',\r\n height: '28px',\r\n left: '0',\r\n top: '138px',\r\n fontFamily: 'Roboto',\r\n fontStyle: 'normal',\r\n fontWeight: 'normal',\r\n fontSize: '24px',\r\n lineHeight: '36px',\r\n display: 'flex',\r\n alignItems: 'center',\r\n textAlign: 'left',\r\n color: '#000000'\r\n }\r\n const useName3 = {\r\n position: 'absolute',\r\n width: '90px',\r\n height: '28px',\r\n left: '0',\r\n top: '240px',\r\n fontFamily: 'Roboto',\r\n fontStyle: 'normal',\r\n fontWeight: 'normal',\r\n fontSize: '24px',\r\n lineHeight: '36px',\r\n display: 'flex',\r\n alignItems: 'center',\r\n textAlign: 'left',\r\n color: '#000000'\r\n }\r\n const imgUse = {\r\n marginTop: '22px',\r\n marginLeft: '145px',\r\n height: '54px',\r\n width: '127px'\r\n }\r\n const closeUse = {\r\n position: 'absolute',\r\n right: '18px',\r\n top: '23px',\r\n color: '#CCCCCC',\r\n height: '32px',\r\n width: '32px',\r\n cursor: 'pointer'\r\n }\r\n const usestyle = {\r\n fontFamily: 'Roboto',\r\n fontStyle: 'normal',\r\n fontWeight: '500',\r\n fontSize: '14px',\r\n lineHeight: '16px',\r\n position: 'relative',\r\n left: '17px',\r\n top: '-4px'\r\n }\r\n const iconStyle = {\r\n transform: ' rotate(180deg)',\r\n position: 'relative',\r\n left: '0',\r\n top: '2px',\r\n color: '#006BBD',\r\n height: '22px',\r\n width: '22px'\r\n }\r\n\r\n return (\r\n \r\n\r\n\r\n\r\n {/* */}\r\n {window.finalLangues.howToUseMenu}\r\n {ReactDOM.createPortal(\r\n
\r\n {window.finalLangues.howToUseMenu}:\r\n \"closeBtn\"\r\n {/* */}\r\n
\r\n
{window.finalLangues.move}\"Move
\r\n
{window.finalLangues.rotate} \"Rotate
\r\n
{window.finalLangues.zoom}\"Zoom
\r\n
\r\n
,\r\n document.getElementById('howTousePopupDesk')\r\n\r\n )}\r\n {/*
*/}\r\n
\r\n )\r\n}\r\n\r\n\r\n\r\nexport default HowToUse;\r\n\r\n","import React,{useState, useEffect} from 'react';\r\nimport ReactDOM from 'react-dom';\r\nimport { makeStyles } from '@material-ui/core/styles';\r\nimport Button from '@material-ui/core/Button';\r\n// import IconButton from '@material-ui/core/IconButton';\r\n// import DeleteIcon from '@material-ui/icons/Delete';\r\nimport ArrowDownwardIcon from '@material-ui/icons/ArrowDownward';\r\nimport ArrowBackOutlinedIcon from '@material-ui/icons/ArrowBackOutlined';\r\nimport ArrowForwardOutlinedIcon from '@material-ui/icons/ArrowForwardOutlined';\r\nimport CallMadeIcon from '@material-ui/icons/CallMade';\r\nimport Hidden from '@material-ui/core/Hidden';\r\n// import Grid from '@material-ui/core/Grid';\r\nimport TouchRipple from \"@material-ui/core/ButtonBase/TouchRipple\";\r\nimport Slider from '@material-ui/core/Slider';\r\n// import States from \"./model_gl/config\";\r\n\r\nconst useStyles = makeStyles((theme) => ({\r\n root: {\r\n width: 170,\r\n },\r\n newBtns: {\r\n borderRadius: \"0.1em\",\r\n },\r\n\r\n margin: {\r\n margin: theme.spacing(2),\r\n borderRadius: \"0.1em\",\r\n textTransform: 'none',\r\n fontSize: '0.7em'\r\n },\r\n extendedIcon: {\r\n marginRight: theme.spacing(1),\r\n },\r\n}));\r\n\r\n\r\nexport default function FooterControl(props) {\r\n\r\n useEffect(()=>{\r\n \r\n },[]);\r\n \r\n \r\n const classes = useStyles();\r\n const [value, setValue] = React.useState(30);\r\n const [prevDeltaScene, setPrevDeltaScene] = React.useState(0);\r\n const [zoombarValue, setZoombarValue] = React.useState(0);\r\n \r\n \r\n\r\n const handleChange = (event, newValue) => {\r\n setValue(newValue);\r\n };\r\n\r\n const handleZoomChange = (e, newValue) => {\r\n\r\n\r\n \r\n if(e){ //console.log(e.target.value);\r\n window.scene._nav.NavChangeDolly(undefined, e.target.value/100);\r\n \r\n } else{\r\n \r\n\r\n window.scene._nav.NavChangeDolly(undefined, newValue/100);\r\n \r\n document.getElementById(\"sliderRange\").value = newValue;\r\n \r\n\r\n //document.getElementById('sliderRange').setAttribute('aria-label', (newValue * 100)+ '%');\r\n }\r\n window.localStorage.removeItem('hotspot');\r\n window.localStorage.removeItem('currentBluetooth');\r\n var sliderValues = document.getElementById('sliderRange').value * 100;\r\n // document.getElementById('sliderRange').setAttribute('aria-label', (parseInt(sliderValues)+'%'));\r\n document.getElementById('sliderRange').setAttribute('aria-label', '');\r\n setTimeout(function(){\r\n document.getElementById('sliderRange').setAttribute('aria-label', '%');\r\n },400)\r\n if(window.keysCam){\r\n // console.log(\"intract\");\r\n GotoPosInTimeNamedValue('Render_Cam_F01_Key_Zoomout', function(){\r\n var slider = document.getElementById(\"sliderRange\");\r\n if (slider != null) {\r\n document.getElementById(\"sliderRange\").value = window.scene._nav.getZoomFactor();\r\n setTimeout(function () { document.getElementById(\"sliderRange\").value = window.scene._nav.getZoomFactor(); },1000);\r\n }\r\n });\r\n window.keysCam = false;\r\n //scene.clearRefine();\r\n }\r\n // console.log('slidervalue',sliderValues )\r\n\r\n\r\n \r\n };\r\n\r\n const zoombar = {\r\n height: '40.01px',\r\n position: 'relative',\r\n float:'left',\r\n marginLeft:'35px',\r\n // left: '48%',\r\n // bottom: '226px',\r\n \r\n }\r\n\r\n const topbtns = {\r\n position: 'relative',\r\n // bottom: '149px',\r\n // marginLeft: '13.5%',\r\n // marginBottom: '21px',\r\n border: '1px solid CCCCCC',\r\n float:'left',\r\n }\r\n const threeButtons = {\r\n fontFamily: 'Roboto',\r\n fontStyle: 'normal',\r\n fontWeight: '500',\r\n fontSize: '14px',\r\n lineHeight: '24px',\r\n letterSpacing: '0.005em',\r\n backgroundColor: '#FFFFFF',\r\n height: '40.01px',\r\n width: '160px',\r\n margin: '21px 19px 20px 19px',\r\n border: '2px solid #CCCCCC'\r\n }\r\n const mobthreeButtons = {\r\n fontFamily: 'Roboto',\r\n fontStyle: 'normal',\r\n fontWeight: '500',\r\n fontSize: '16px',\r\n lineHeight: '24px',\r\n letterSpacing: '0.005em',\r\n backgroundColor: '#FFFFFF',\r\n height: '40.01px',\r\n width: '123px',\r\n margin: '5px',\r\n border: '2px solid #CCCCCC'\r\n }\r\n const topLeft = {\r\n transform: 'rotate(270deg)',\r\n fontSize: '1.5em'\r\n }\r\n const topRight = {\r\n fontSize: '1.5em'\r\n }\r\n const prev = {\r\n marginRight: '12px',\r\n fontSize: '1.8em'\r\n }\r\n const next = {\r\n marginLeft: '12px',\r\n fontSize: '1.8em'\r\n }\r\n const topBtnstyle = {\r\n height: '40.01px',\r\n width: '62px',\r\n marginLeft: '8.5px',\r\n marginRight: '8.5px',\r\n backgroundColor: '#FFFFFF',\r\n border: '2px solid #CCCCCC'\r\n }\r\n const clearBoth = {\r\n clear: 'both'\r\n }\r\n //only for mob\r\n const [camData, setCamData] = useState(\"\");\r\n var animationSwitch = window.localStorage.getItem('Animation');\r\n var animTime = 1;\r\n const getData=()=>{\r\n fetch('./model_gl/config.json')\r\n .then(function(response){\r\n return response.json();\r\n })\r\n .then(function(myJson) {\r\n // console.log(myJson.positions);\r\n setCamData(myJson.positions);\r\n });\r\n }\r\n useEffect(()=>{\r\n getData();\r\n animationSwitch = window.localStorage.getItem('Animation');\r\n //window.localStorage.setItem('tent', false);\r\n //window.localStorage.setItem('tablet', false);\r\n //window.localStorage.setItem('theater', false);\r\n //window.localStorage.setItem('close', false);\r\n window.localStorage.setItem(\"position\", \"reset\");\r\n // document.getElementById('whiteBtn').classList.add('active');\r\n },[]);\r\n \r\n //For Animation Switch \r\n// console.log('animationSwitch anim', animationSwitch)\r\n\r\nif(animationSwitch == 'on'){animTime = 1000}\r\nelse{animTime = 1}\r\n// console.log('animTime', animTime)\r\n \r\n //new camera function\r\n const GotoPosInTimeNamedValue = (gotoposname, onComplete, onSample) => {\r\n // below code is updated in it. \r\n // updated code ends here\r\n var opt = undefined, gp = camData[gotoposname];\r\n console.log(gp);\r\n // console.log(gp)\r\n if (gp.fovy && window.scene.fovy != gp.fovy)\r\n opt = { fovy: gp.fovy };\r\n if (gp.pos.length > 5) {\r\n if (!opt)\r\n opt = {};\r\n opt.zang = gp.pos[5];\r\n }\r\n var animationSwitch = window.localStorage.getItem('Animation');\r\nif(animationSwitch == 'off'){gp.time = 1}\r\nelse{\r\n gp.time = animTime;\r\n}\r\n// console.log('animationSwitch', animationSwitch);\r\n// console.log('gp.time', gp.time);\r\n window.scene.gotoPosInTime(gp.pos[0], gp.pos[1], gp.pos[2], gp.pos[3], gp.pos[4], gp.time, onComplete, slowInOut, opt);\r\n // console.log(gp.pos[0], gp.pos[1], gp.pos[2], gp.pos[3], gp.pos[4], gp.time, onComplete, onSample, opt);\r\n }\r\n //end\r\n \r\n const slowInOut = (x) => {\r\n var a = 2.1;\r\n var x2 = 1.0 - x;\r\n var px = Math.pow(x, a);\r\n var px2 = Math.pow(x2, a);\r\n \r\n return px / (px + px2);\r\n }\r\n \r\n // const resetBacklitCloseImg = () =>{\r\n // setOpenCloseOnOff(false);\r\n // setOpenClose(\"./img/open.png\");\r\n // setBackliteOnOff(false);\r\n // setBacklite(\"./img/Backlite_Off.svg\");\r\n // // window.scene.materialReplace('LED_Backlit_ON_env', 'LED_Backlit_OFF_env');\r\n // window.scene.clearRefine();\r\n \r\n // }\r\n \r\n const posClicked1 = () => {\r\n window.scene.animPlayInTime(\"Screen_grp_timeline_01\", 0, animTime);\r\n // window.scene.animPlayInTime(\"Screen_grp_timeline_01_A\", 6.7, 0);\r\n // window.scene.animPlayInTime(\"Hinge_grp_timeline_01_A\", 6.7, 0);\r\n // window.scene.animPlayInTime(\"Main_grp_timeline_01_A\", 6.7, 0);\r\n // window.scene.animPlayInTime(\"Screen_grp_timeline_01_A\", 8.31, 1000);\r\n // window.scene.animPlayInTime(\"Hinge_grp_timeline_01_A\", 8.31, 1000);\r\n // window.scene.animPlayInTime(\"Main_grp_timeline_01_A\", 8.31, 1000);\r\n }\r\n \r\n\r\n const onUpdateZoombar = (e) => {\r\n // console.log(e.target.value);\r\n var s = window.scene;\r\n var deltaScene = 0;\r\n console.log('onUpdateZoombar', zoombarValue)\r\n deltaScene = zoombarValue;\r\n // var delta = (-e.detail * 10.0);\r\n setPrevDeltaScene(deltaScene);\r\n // prevDeltaScene = deltaScene;\r\n if(prevDeltaScene-deltaScene > 0) {\r\n console.log(deltaScene)\r\n if (s._nav.NavChangeDolly(deltaScene))\r\n s.clearRefine();\r\n } else{\r\n console.log(-deltaScene)\r\n if (s._nav.NavChangeDolly(-deltaScene))\r\n s.clearRefine();\r\n }\r\n document.getElementById('sliderRange').value = zoombarValue;\r\n // console.log(prevDeltaScene)\r\n // console.log(deltaScene)\r\n \r\n }\r\n \r\n const onZoomIn = (e) => {\r\n if(window.scene._nav.getZoomFactor() > 0)\r\n handleZoomChange(null, -1+(parseFloat(document.getElementById(\"sliderRange\").value)))\r\n \r\n }\r\n\r\n const onZoomOut = (e) => {\r\n if(window.scene._nav.getZoomFactor() < 100)\r\n handleZoomChange(null, 1+(parseFloat(document.getElementById(\"sliderRange\").value)))\r\n\r\n }\r\n \r\n\r\n const onLeft = () => {\r\n\r\n window.scene._nav.NavRotation([0,0], [2,0]);\r\n window.localStorage.removeItem('hotspot');\r\n window.localStorage.removeItem('currentBluetooth');\r\n\r\n window.scene.clearRefine();\r\n if(window.keysCam){\r\n // console.log(\"intract\");\r\n GotoPosInTimeNamedValue('Render_Cam_F01_Key_Zoomout', function(){\r\n var slider = document.getElementById(\"sliderRange\");\r\n if (slider != null) {\r\n document.getElementById(\"sliderRange\").value = window.scene._nav.getZoomFactor();\r\n setTimeout(function () { document.getElementById(\"sliderRange\").value = window.scene._nav.getZoomFactor(); },1000);\r\n }\r\n });\r\n window.keysCam = false;\r\n //scene.clearRefine();\r\n }\r\n // alert(\"Rotate product left\");\r\n // window.scene._nav._navYAng += 0.5;\r\n // console.log(count);\r\n // window.scene._nav._navYAng = count;\r\n // window.scene.clearRefine();\r\n \r\n\r\n }\r\n const onRight = () => {\r\n \r\n window.scene._nav.NavRotation([0,0], [-2,0]);\r\n window.localStorage.removeItem('hotspot');\r\n window.localStorage.removeItem('currentBluetooth');\r\n\r\n window.scene.clearRefine();\r\n if(window.keysCam){\r\n // console.log(\"intract\");\r\n GotoPosInTimeNamedValue('Render_Cam_F01_Key_Zoomout', function(){\r\n var slider = document.getElementById(\"sliderRange\");\r\n if (slider != null) {\r\n document.getElementById(\"sliderRange\").value = window.scene._nav.getZoomFactor();\r\n setTimeout(function () { document.getElementById(\"sliderRange\").value = window.scene._nav.getZoomFactor(); },1000);\r\n }\r\n });\r\n window.keysCam = false;\r\n //scene.clearRefine();\r\n }\r\n // alert(\"Rotate product right\");\r\n //count -= 0.1;\r\n // console.log(count);\r\n //window.scene._nav._navYAng -= 0.5;;\r\n //window.scene.clearRefine();\r\n }\r\n const rippleRef = React.useRef('null');\r\n const onRippleStart = (e) => {\r\n rippleRef.current.start(e);\r\n };\r\n const onRippleStop = (e) => {\r\n rippleRef.current.stop(e);\r\n };\r\n const rippleRefs = React.useRef('null');\r\n\r\n const onRippleStarts = (e) => {\r\n rippleRefs.current.start(e);\r\n };\r\n const onRippleStops = (e) => {\r\n rippleRefs.current.stop(e);\r\n };\r\n return (\r\n \r\n {ReactDOM.createPortal(\r\n\r\n
\r\n \r\n
\r\n
\r\n\r\n \r\n
\r\n \r\n \r\n
\r\n \r\n
\r\n \"zoombar\"\r\n \r\n \r\n
\r\n
\r\n {/*
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n {/* \r\n \r\n \r\n \r\n */}\r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n \r\n
, document.getElementById('footerControlDesk')\r\n )}\r\n
\r\n\r\n );\r\n}\r\n","import React,{ useState,useEffect } from 'react';\r\nimport ReactDOM from 'react-dom';\r\nimport { makeStyles } from '@material-ui/core/styles';\r\nimport Button from '@material-ui/core/Button';\r\n// import IconButton from '@material-ui/core/IconButton';\r\n// import DeleteIcon from '@material-ui/icons/Delete';\r\nimport ArrowDownwardIcon from '@material-ui/icons/ArrowDownward';\r\nimport ArrowBackOutlinedIcon from '@material-ui/icons/ArrowBackOutlined';\r\nimport ArrowForwardOutlinedIcon from '@material-ui/icons/ArrowForwardOutlined';\r\nimport CallMadeIcon from '@material-ui/icons/CallMade';\r\nimport Hidden from '@material-ui/core/Hidden';\r\n// import Grid from '@material-ui/core/Grid';\r\n\r\nimport Slider from '@material-ui/core/Slider';\r\n// import States from \"./model_gl/config\";\r\n\r\nconst useStyles = makeStyles((theme) => ({\r\n root: {\r\n width: 170,\r\n },\r\n newBtns: {\r\n borderRadius: \"0.1em\",\r\n },\r\n\r\n\r\n margin: {\r\n // margin: theme.spacing(2),\r\n // borderRadius: \"0.1em\",\r\n // textTransform: 'none',\r\n // fontSize: '0.7em'\r\n },\r\n extendedIcon: {\r\n marginRight: theme.spacing(1),\r\n },\r\n}));\r\n\r\n\r\nexport default function FooterControlMob(props) {\r\n\r\n var prevCounter = 0;\r\n var nextClicked = false;\r\n var prevClicked = false;\r\n\r\n const classes = useStyles();\r\n const [value,setValue] = React.useState(30);\r\n const [prevDeltaScene,setPrevDeltaScene] = React.useState(0);\r\n const [zoombarValue,setZoombarValue] = React.useState(0);\r\n\r\n const handleChange = (event,newValue) => {\r\n setValue(newValue);\r\n };\r\n\r\n const handleZoomChange = (e,newValue) => {\r\n\r\n\r\n\r\n if (e) { ////console.log(e.target.value);\r\n\r\n window.scene._nav.NavChangeDolly(undefined,e.target.value);\r\n\r\n } else {\r\n\r\n window.scene._nav.NavChangeDolly(undefined,newValue);\r\n document.getElementById(\"sliderRange\").value = newValue;\r\n\r\n }\r\n window.localStorage.removeItem('hotspot');\r\n\r\n\r\n /* ////console.log('newValue', newValue)\r\n if(newValue == undefined) newValue = e.target.value;\r\n setZoombarValue(newValue);\r\n //console.log('zoombarValue', zoombarValue)\r\n onUpdateZoombar(); */\r\n };\r\n\r\n const zoombar = {\r\n height: '47px',\r\n position: 'relative',\r\n float: 'left',\r\n marginLeft: '4px',\r\n // left: '48%',\r\n // bottom: '226px',\r\n\r\n }\r\n\r\n const topbtns = {\r\n position: 'relative',\r\n // bottom: '149px',\r\n // marginLeft: '13.5%',\r\n // marginBottom: '21px',\r\n border: '1px solid CCCCCC',\r\n float: 'left',\r\n }\r\n const mobthreeButtonsIpad = {\r\n fontFamily: 'Roboto',\r\n fontStyle: 'normal',\r\n fontWeight: '500',\r\n fontSize: '16px',\r\n lineHeight: '24px',\r\n letterSpacing: '0.005em',\r\n backgroundColor: '#FFFFFF',\r\n height: '47px',\r\n width: '143px',\r\n margin: '21px 19px 20px 19px',\r\n border: '2px solid #CCCCCC'\r\n }\r\n const mobthreeButtons = {\r\n fontFamily: 'Roboto',\r\n fontStyle: 'normal',\r\n fontWeight: '500',\r\n fontSize: '16px',\r\n lineHeight: '24px',\r\n letterSpacing: '0.005em',\r\n backgroundColor: '#FFFFFF',\r\n height: '48px',\r\n width: '118px',\r\n margin: '5px',\r\n border: '2px solid #CCCCCC'\r\n }\r\n const topLeft = {\r\n transform: 'rotate(270deg)',\r\n fontSize: '1.5em'\r\n }\r\n const topRight = {\r\n fontSize: '1.5em'\r\n }\r\n const prev = {\r\n marginRight: '12px',\r\n fontSize: '1.8em'\r\n }\r\n const next = {\r\n marginLeft: '12px',\r\n fontSize: '1.8em'\r\n }\r\n const topBtnstyle = {\r\n height: '47px',\r\n width: '62px',\r\n marginLeft: '8.5px',\r\n marginRight: '8.5px',\r\n backgroundColor: '#FFFFFF',\r\n border: '2px solid #CCCCCC'\r\n }\r\n const clearBoth = {\r\n clear: 'both'\r\n }\r\n //only for mob\r\n const [camData,setCamData] = useState(\"\");\r\n var animationSwitch = window.localStorage.getItem('Animation');\r\n var animTime = 1;\r\n\r\n\r\n const onUpdateZoombar = (e) => {\r\n // //console.log(e.target.value);\r\n var s = window.scene;\r\n var deltaScene = 0;\r\n //console.log('onUpdateZoombar',zoombarValue)\r\n deltaScene = zoombarValue;\r\n // var delta = (-e.detail * 10.0);\r\n setPrevDeltaScene(deltaScene);\r\n // prevDeltaScene = deltaScene;\r\n if (prevDeltaScene - deltaScene > 0) {\r\n //console.log(deltaScene)\r\n if (s._nav.NavChangeDolly(deltaScene))\r\n s.clearRefine();\r\n } else {\r\n //console.log(-deltaScene)\r\n if (s._nav.NavChangeDolly(-deltaScene))\r\n s.clearRefine();\r\n }\r\n document.getElementById('sliderRange').value = zoombarValue;\r\n // //console.log(prevDeltaScene)\r\n // //console.log(deltaScene)\r\n\r\n }\r\n\r\n const onZoomIn = (e) => {\r\n if (window.scene._nav.getZoomFactor() > 0)\r\n handleZoomChange(null,-0.1 + (parseFloat(document.getElementById(\"sliderRange\").value)))\r\n }\r\n\r\n const onZoomOut = (e) => {\r\n if (window.scene._nav.getZoomFactor() < 1)\r\n handleZoomChange(null,0.1 + (parseFloat(document.getElementById(\"sliderRange\").value)))\r\n }\r\n\r\n let count = 1;\r\n const onLeft = () => {\r\n // alert(\"Rotate product left\");\r\n window.scene._nav._navYAng += 0.5;\r\n // //console.log(count);\r\n // window.scene._nav._navYAng = count;\r\n window.scene.clearRefine();\r\n\r\n\r\n }\r\n const onRight = () => {\r\n // alert(\"Rotate product right\");\r\n count -= 0.1;\r\n // //console.log(count);\r\n window.scene._nav._navYAng -= 0.5;;\r\n window.scene.clearRefine();\r\n }\r\n return (\r\n \r\n\r\n {ReactDOM.createPortal(\r\n
\r\n {/* */}\r\n\r\n
\r\n
\r\n\r\n\r\n \r\n
\r\n \r\n \r\n
\r\n\r\n
\r\n \"zoombar\"\r\n\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n \r\n \r\n \r\n \r\n \r\n\r\n\r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n\r\n
,document.getElementById('footerControMob')\r\n )}\r\n\r\n\r\n
\r\n\r\n\r\n )\r\n}","// import React,{ useState,useEffect } from 'react';\r\nimport React,{ useState,useEffect,useRef } from 'react';\r\nimport MenuSelectProductType from './MenuSelectProduct';\r\nimport MenuProductView from './MenuProductView';\r\nimport MenuPositions from './MenuPosition';\r\nimport AnimationBtn from './AnimationBtn';\r\nimport MenuFeatures from './MenuFeatures';\r\n// import MenuColors from './MenuColors';\r\nimport Howtousenew from './Howtousenew';\r\nimport HowToUse from './HowToUse';\r\nimport FooterControl from './FooterControl';\r\nimport FooterControlMob from './FooterControlMob';\r\nimport Hidden from '@material-ui/core/Hidden';\r\nimport Button from '@material-ui/core/Button';\r\n\r\n// import MenuBtn from './MenuBtn';\r\n// import { MicNone } from '@material-ui/icons';\r\nvar mob = (navigator.userAgent.indexOf(\"iPhone\") != -1) || ((navigator.userAgent.indexOf(\"Android\") != -1) || (navigator.userAgent.indexOf(\"Mobile\") != -1)) || (navigator.userAgent.indexOf('iPod') != -1) || (navigator.userAgent.indexOf('iPad') != -1) || (navigator.userAgent == \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.1 Safari/605.1.15\");\r\nvar mobPortrait = (mob && window.innerHeight > window.innerWidth);\r\nvar moblandscap = (mob && window.innerWidth > window.innerHeight);\r\nvar isipad = navigator.userAgent.match(/Mac/) && navigator.maxTouchPoints && navigator.maxTouchPoints > 2 && (navigator.userAgent.indexOf(\"iPhone\") == -1);\r\n\r\nexport const userContext = React.createContext();\r\nvar prevCounter = 0;\r\nvar nextClicked = false;\r\nvar prevClicked = false;\r\nvar buttonSeq = ['onResetMode','onOverviewClick','onTopClick','onSideClick','onWirelessDesignClick','onKeysClick'];\r\nvar buttonSeq180 = ['onResetMode','onOverviewClick','onTopClick','onSideClick','onWirelessDesignClick','onKeysClick'];\r\nvar selectedButton = 'onResetMode';\r\n\r\nvar position = {\r\n 'currentPos': 'reset',\r\n 'close': 0,\r\n 'nintyDegree': 1.04167,\r\n 'reset': 2.08333,\r\n 'top': 1.583,\r\n 'tent': 3.125,\r\n 'theatre': 4.1667,\r\n 'tablet': 5.208,\r\n}\r\n\r\nconst MainMenu = (props) => {\r\n const [expandedPanel,setExpandedPanel] = useState(false);\r\n const [displayed,setDisplayed] = useState(false);\r\n const [hidden,setHidden] = useState(true);\r\n const [laptop360FrontImg,setLaptop360FrontImg] = useState(\"./img/front360.png\");\r\n const [laptop360KeysImg,setLaptop360KeysImg] = useState(\"./img/keys360 _1.png\")\r\n const [laptop360TopImg,setLaptop360TopImg] = useState(\"./img/top360.png\");\r\n const [laptop360LeftImg,setLaptop360LefttImg] = useState(\"./img/360_left.png\");\r\n const [laptop360RightImg,setLaptop360RightImg] = useState(\"./img/360_right.png\");\r\n const [ecoImg,setEcoImg] = useState(\"./img/pos_4_1.png\");\r\n const [counter,setCounter] = useState(0);\r\n\r\n // const [orientationPotrait, setOrientation] = useState(true);\r\n // window.checkOrientationStatus = (orientationStatus) => \r\n // {\r\n // // alert(window.screen.orientation.type);\r\n // setOrientation(orientationStatus);\r\n // }\r\n\r\n const handleAccordionChange = (panel) => (event,isExpanded) => {\r\n console.log({ event,isExpanded });\r\n //setExpandedPanel(isExpanded ? panel : false );\r\n if (isExpanded) {\r\n setExpandedPanel(panel);\r\n //console.log(\"shubham\");\r\n } else {\r\n // console.log(\"Pawar\");\r\n setExpandedPanel(false)\r\n };\r\n // resetBacklitCloseImg();\r\n\r\n };\r\n const [camData,setCamData] = useState(\"\");\r\n var animationSwitch = window.localStorage.getItem('Animation');\r\n var animTime = 1;\r\n var animTimes = 1;\r\n\r\n const getData = () => {\r\n fetch('./model_gl/config.json')\r\n .then(function (response) {\r\n return response.json();\r\n })\r\n .then(function (myJson) {\r\n // console.log(myJson.positions);\r\n setCamData(myJson.positions);\r\n });\r\n }\r\n useEffect(() => {\r\n getData();\r\n animationSwitch = window.localStorage.getItem('Animation');\r\n moblandscap = (mob && window.innerWidth > window.innerHeight);\r\n\r\n //window.localStorage.setItem('tent', false);\r\n //window.localStorage.setItem('tablet', false);\r\n //window.localStorage.setItem('theater', false);\r\n //window.localStorage.setItem('close', false);\r\n window.localStorage.setItem(\"position\",\"reset\");\r\n\r\n // document.getElementById('whiteBtn').classList.add('select');\r\n // window.xmlhttp.open(\"GET\", \"locale.json\", true);\r\n // window.xmlhttp.send();\r\n // alert('moblandscap '+moblandscap )\r\n },[]);\r\n\r\n useEffect((event) => {\r\n if (event) {\r\n if (event.keyCode === 13) {\r\n this.click();\r\n }\r\n }\r\n\r\n // alert('Counter in useEffect'+prevCounter);\r\n // alert('Counter in useEffect'+counter);\r\n },[])\r\n useEffect((event) => {\r\n if (event) {\r\n if (event.keyCode === 13) {\r\n this.click();\r\n }\r\n }\r\n var isipad = navigator.userAgent.match(/Mac/) && navigator.maxTouchPoints && navigator.maxTouchPoints > 2 && (navigator.userAgent.indexOf(\"iPhone\") == -1);\r\n\r\n let mob = (navigator.userAgent.indexOf(\"iPhone\") != -1) || ((navigator.userAgent.indexOf(\"Android\") != -1) || (navigator.userAgent.indexOf(\"Mobile\") != -1)) || (navigator.userAgent.indexOf('iPod') != -1) || (navigator.userAgent.indexOf('iPad') != -1) || (navigator.userAgent == \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.1 Safari/605.1.15\");\r\n\r\n // alert('Counter in useEffect'+prevCounter);\r\n // alert('Counter in useEffect'+counter);\r\n\r\n })\r\n\r\n\r\n //For Animation Switch \r\n // console.log('animationSwitch anim', animationSwitch)\r\n\r\n if (animationSwitch == 'on') { animTime = 1000; animTimes = 2000 }\r\n else { animTime = 1; animTimes = 1 }\r\n // console.log('animTime', animTime)\r\n\r\n //new camera function\r\n const GotoPosInTimeNamedValue = (gotoposname,onComplete,onSample) => {\r\n // below code is updated in it. \r\n // updated code ends here\r\n\r\n var opt = undefined,gp = camData[gotoposname];\r\n\r\n // console.log(gp)\r\n if (gp.fovy && window.scene.fovy != gp.fovy)\r\n opt = { fovy: gp.fovy };\r\n if (gp.pos.length > 5) {\r\n if (!opt)\r\n opt = {};\r\n opt.zang = gp.pos[5];\r\n }\r\n // console.log('animationSwitch', animationSwitch)\r\n if (animationSwitch == 'off') {\r\n gp.time = 1\r\n // console.log('animationSwitch iffff', gp.time)\r\n }\r\n else {\r\n gp.time = animTime;\r\n // console.log('animationSwitch elseeee', gp.time)\r\n }\r\n console.log('animationSwitch',animationSwitch);\r\n console.log('gp.time',gp.time);\r\n // window.scene.gotoPosInTime(gp.pos[0],gp.pos[1],gp.pos[2],gp.pos[3],gp.pos[4],gp.time,onComplete,slowInOut,opt);\r\n // console.log(gp.pos[0], gp.pos[1], gp.pos[2], gp.pos[3], gp.pos[4], gp.time, onComplete, onSample, opt);\r\n if (gotoposname == \"Render_Cam_F20_Ecosystem\") {\r\n window.scene.gotoPosInTime(gp.pos[0],1.6439499,gp.pos[2],gp.pos[3],gp.pos[4],gp.time,onComplete,slowInOut,opt);\r\n }\r\n else {\r\n window.scene.gotoPosInTime(gp.pos[0],gp.pos[1],gp.pos[2],gp.pos[3],gp.pos[4],gp.time,onComplete,slowInOut,opt);\r\n }\r\n }\r\n //end\r\n const slowInOut = (x) => {\r\n var a = 2.1;\r\n var x2 = 1.0 - x;\r\n var px = Math.pow(x,a);\r\n var px2 = Math.pow(x2,a);\r\n\r\n return px / (px + px2);\r\n }\r\n\r\n const resetBacklitCloseImg = () => {\r\n setOpenCloseOnOff(false);\r\n setOpenClose(\"./img/Lid_open.svg\");\r\n setBackliteOnOff(false);\r\n setBacklite(\"./img/Backlite_Off.svg\");\r\n\r\n // window.scene.materialReplace('LED_Backlit_ON_env', 'LED_Backlit_OFF_env');\r\n window.scene.clearRefine();\r\n\r\n }\r\n\r\n const clearBluetoothIndicator = useRef(null);\r\n const clearBluetoothSettimeFirst = useRef(null);\r\n const clearBluetoothSettimeSecond = useRef(null);\r\n const clearBluetoothSettimeThird = useRef(null);\r\n const clearBluetoothSetintervalOne = useRef(null);\r\n const clearBluetoothSetintervalTwo = useRef(null);\r\n const clearBluetoothMainInterval = useRef(null);\r\n\r\n const bluetoothIndicator = (stateName) => {\r\n clearBluetoothIndicator.current = setTimeout(() => {\r\n console.log('blink');\r\n\r\n window.scene.groupApplyState(stateName);\r\n },500);\r\n // window.localStorage.setItem('hotspot','keys');\r\n window.scene.groupApplyState('LED_OFF');\r\n window.scene.clearRefine();\r\n }\r\n\r\n const bluetoothBlikingLoop = () => {\r\n clearBluetoothSettimeFirst.current = setTimeout(() => {\r\n\r\n\r\n window.scene.animPlayAllChildrenInTime(\"Mode_Connection_Button\",1.2500000,500,function () {\r\n // console.log(\"upp3\")\r\n },undefined,undefined,true,1.0416666,0);\r\n\r\n clearTimeout(clearBluetoothSettimeThird.current);\r\n\r\n\r\n window.scene.groupApplyState('LED_OFF');\r\n setTimeout(() => {\r\n window.scene.groupApplyState('LED_01_ON');\r\n window.localStorage.setItem('currentBluetooth','bluetooth1');\r\n },100);\r\n\r\n window.scene.animPlayAllChildrenInTime(\"Mode_Connection_Button\",0.41,500,function () {\r\n // console.log(\"upp1\")\r\n },undefined,undefined,true,0.2083333,0);\r\n\r\n\r\n // console.log(\"led 1 on\")\r\n \r\n /* clearBluetoothSetintervalOne.current = setInterval(() => {\r\n bluetoothIndicator('LED_01_ON');\r\n },1000) */\r\n clearBluetoothSettimeSecond.current = setTimeout(() => {\r\n clearTimeout(clearBluetoothSettimeFirst.current);\r\n clearInterval(clearBluetoothSetintervalOne.current);\r\n clearTimeout(clearBluetoothIndicator.current);\r\n\r\n setTimeout(() => {\r\n window.scene.groupApplyState('LED_01_OFF');\r\n window.scene.groupApplyState('LED_02_ON');\r\n window.localStorage.setItem('currentBluetooth','bluetooth2');\r\n },100);\r\n window.scene.animPlayAllChildrenInTime(\"Mode_Connection_Button\",0.8333333,500,function () {\r\n // console.log(\"upp2\")\r\n },undefined,undefined,true,0.6250000,0);\r\n // console.log(\"led 2 on\")\r\n \r\n /* clearBluetoothSetintervalTwo.current = setInterval(() => {\r\n bluetoothIndicator('LED_02_ON');\r\n },1000) */\r\n clearBluetoothSettimeThird.current = setTimeout(() => {\r\n\r\n clearTimeout(clearBluetoothSettimeSecond.current);\r\n clearTimeout(clearBluetoothSetintervalTwo.current);\r\n clearInterval(clearBluetoothIndicator.current);\r\n \r\n\r\n setTimeout(() => {\r\n window.scene.groupApplyState('LED_01_OFF');\r\n window.scene.groupApplyState('LED_02_OFF');\r\n window.scene.groupApplyState('LED_03_ON');\r\n window.localStorage.setItem('currentBluetooth','bluetooth3');\r\n },100);\r\n window.scene.animPlayAllChildrenInTime(\"Mode_Connection_Button\",1.2500000,500,function () {\r\n // console.log(\"upp3\")\r\n },undefined,undefined,true,1.0416666,0);\r\n // console.log(\"led 3 on\")\r\n },2000)\r\n },2000)\r\n },500)\r\n }\r\n\r\n const clearAllBluetoothSetTime = () => {\r\n\r\n // console.log('clearAllBluetoothSetTime');\r\n clearTimeout(clearBluetoothMainInterval.current);\r\n clearTimeout(clearBluetoothSettimeFirst.current);\r\n clearTimeout(clearBluetoothSettimeSecond.current);\r\n clearTimeout(clearBluetoothSettimeThird.current);\r\n clearTimeout(clearBluetoothIndicator.current);\r\n clearInterval(clearBluetoothSetintervalOne.current);\r\n clearInterval(clearBluetoothSetintervalTwo.current);\r\n window.scene.groupApplyState('LED_OFF');\r\n }\r\n\r\n useEffect(() => {\r\n window.addEventListener('mousedown',(e) => {\r\n if (window.keysCam != false) {\r\n clearAllBluetoothSetTime();\r\n }\r\n })\r\n window.addEventListener('wheel',(e) => {\r\n console.log(\"in wheel\");\r\n //if (window.keysCam != false) {\r\n clearAllBluetoothSetTime();\r\n // }\r\n })\r\n // window.addEventListener('DOMMouseScroll',(e) => {\r\n // console.log(\"in DOMMouseScroll\");\r\n // if (window.keysCam != false) {\r\n // clearAllBluetoothSetTime();\r\n // }\r\n // })\r\n return () => {\r\n window.removeEventListener('mousedown',clearAllBluetoothSetTime(),false);\r\n window.removeEventListener('wheel',clearAllBluetoothSetTime(),false);\r\n // window.removeEventListener('DOMMouseScroll',clearAllBluetoothSetTime(),false);\r\n }\r\n },[])\r\n\r\n useEffect(() => {\r\n return () => {\r\n // window.localStorage.setItem('hotspot','keys');\r\n console.log('clear led interval');\r\n clearAllBluetoothSetTime();\r\n }\r\n },[window.keysCam])\r\n\r\n\r\n const resetAll = () => {\r\n clearAllBluetoothSetTime();\r\n window.scene.groupApplyState(\"dongle_off\");\r\n window.keysCam = false;\r\n window.UniqDeltaScroll = false;\r\n window.UniqDeltaScroll2 = false;\r\n window.localStorage.removeItem('currentBluetooth');\r\n window.scene.groupApplyState(\"EcoSystem_OFF\");\r\n\r\n window.scene.animPlayInTime(\"CA_Wireless_KB_MPD\",0,0);\r\n\r\n window.scene.animPlayInTime(\"CA_Wireless_KB_MPD_Keyboard\",0,0);\r\n // window.scene.animPlayInTime(\"Mode_Connection_Button\",0.041666,0);\r\n // window.scene.animPlayInTime(\"Mode_Connection_Button\",0,0);\r\n \r\n\r\n if (window.scene.animIsPlaying('CA_Wireless_KB_MPD')) window.scene.getAnim(\"CA_Wireless_KB_MPD\").stop();\r\n if (window.scene.animIsPlaying('CA_Wireless_KB_MPD_Keyboard')) window.scene.getAnim(\"CA_Wireless_KB_MPD_Keyboard\").stop();\r\n if (window.scene.animIsPlaying(\"CA_Wireless_KB_MPD_Keyboard\")) window.scene.getAnim(\"CA_Wireless_KB_MPD_Keyboard\").stop();\r\n if (window.scene.animIsPlaying(\"CA_Wireless_KB_MPD\")) window.scene.getAnim(\"CA_Wireless_KB_MPD\").stop();\r\n if (window.scene.animIsPlaying(\"CA_Wireless_KB_MPD_REF\")) window.scene.getAnim(\"CA_Wireless_KB_MPD_REF\").stop();\r\n if (window.scene.animIsPlaying(\"CA_Wireless_KB_MPD.001\")) window.scene.getAnim(\"CA_Wireless_KB_MPD.001\").stop();\r\n if (window.scene.animIsPlaying(\"STAND_L\")) window.scene.getAnim(\"STAND_L\").stop();\r\n if (window.scene.animIsPlaying(\"Right_foot\")) window.scene.getAnim(\"Right_foot\").stop();\r\n if (window.scene.animIsPlaying(\"Reflection\")) window.scene.getAnim(\"Reflection\").stop();\r\n if (window.scene.animIsPlaying(\"CA_Wireless_KB_MPD_Keyboard.001\")) window.scene.getAnim(\"CA_Wireless_KB_MPD_Keyboard.001\").stop();\r\n if (window.scene.animIsPlaying(\"STAND_L\")) window.scene.getAnim(\"STAND_L\").stop();\r\n if (window.scene.animIsPlaying(\"Right_foot\")) window.scene.getAnim(\"Right_foot\").stop();\r\n if (window.scene.animIsPlaying(\"Mode_Connection_Button\")) window.scene.getAnim(\"Mode_Connection_Button\").stop();\r\n\r\n window.scene.animPlayInTime(\"CA_Wireless_KB_MPD_Keyboard\",0,0);\r\n window.scene.animPlayInTime(\"CA_Wireless_KB_MPD\",0,0);\r\n window.scene.animPlayInTime(\"CA_Wireless_KB_MPD_REF\",0,0);\r\n window.scene.animPlayInTime(\"CA_Wireless_KB_MPD_Keyboard.001\",0,0);\r\n window.scene.animPlayInTime(\"Right_foot.001\",0,0);\r\n window.scene.animPlayInTime(\"STAND_L.001\",0,0);\r\n // window.scene.animPlayInTime(\"CA_Wireless_KB_MPD_REF\",0.83,0);\r\n window.scene.animPlayInTime(\"CA_Wireless_KB_MPD.001\",0,0);\r\n window.scene.animPlayInTime(\"STAND_L\",0,0);\r\n window.scene.animPlayInTime(\"Right_foot\",0,0);\r\n window.scene.animPlayInTime(\"Reflection\",0,0);\r\n \r\n\r\n // window.scene.animPlayInTime(\"Feet_2.001\", 0, 0);\r\n }\r\n const reverseAll = () => {\r\n window.scene._nav.tempfRotMinLimit = 0.48;\r\n window.scene._nav._navMinDolly = 8;\r\n // window.scene._nav._navMaxDolly = 27;\r\n window.scene._nav._navMaxDolly = 23;\r\n window.scene.animPlayInTime(\"Mode_Connection_Button\",0.041666,0);\r\n window.scene.clearRefine();\r\n\r\n }\r\n // const reverAnimation = () => {\r\n\r\n // if (window.scene.animIsPlaying(\"CA_Wireless_KB_MPD_Keyboard\")) window.scene.getAnim(\"CA_Wireless_KB_MPD_Keyboard\").stop();\r\n // if (window.scene.animIsPlaying(\"CA_Wireless_KB_MPD\")) window.scene.getAnim(\"CA_Wireless_KB_MPD\").stop();\r\n // if (window.scene.animIsPlaying(\"CA_Wireless_KB_MPD_REF\")) window.scene.getAnim(\"CA_Wireless_KB_MPD_REF\").stop();\r\n // if (window.scene.animIsPlaying(\"STAND_L\")) window.scene.getAnim(\"STAND_L\").stop();\r\n // if (window.scene.animIsPlaying(\"Right_foot\")) window.scene.getAnim(\"Right_foot\").stop();\r\n\r\n // window.scene.animPlayInTime(\"CA_Wireless_KB_MPD_Keyboard\",0,0);\r\n // window.scene.animPlayInTime(\"CA_Wireless_KB_MPD\",0,0);\r\n // window.scene.animPlayInTime(\"CA_Wireless_KB_MPD_REF\",0,0);\r\n // window.scene.animPlayInTime(\"STAND_L\",0,0);\r\n // window.scene.animPlayInTime(\"Right_foot\",0,0);\r\n\r\n\r\n // window.scene.clearRefine();\r\n // }\r\n\r\n const resetTimeline1 = (revers90Degree = true) => {\r\n //window.scene.instanceSet(\"GP_Close_360\", \"visible\", false);\r\n //window.scene.instanceSet(\"GP_Stand\", \"visible\", false);\r\n //window.scene.instanceSet(\"GP_Tent\", \"visible\", false);\r\n //window.scene.instanceSet(\"GP_Tablet\", \"visible\", false);\r\n if (window.scene.animIsPlaying('Screen_90_degree')) window.scene.getAnim(\"Screen_90_degree\").stop();\r\n if (window.scene.animIsPlaying('Screen_grp_timeline_01_A')) window.scene.getAnim(\"Screen_grp_timeline_01_A\").stop();\r\n if (window.scene.animIsPlaying('Hinge_grp_timeline_01_A')) window.scene.getAnim(\"Hinge_grp_timeline_01_A\").stop();\r\n if (window.scene.animIsPlaying('Main_grp_timeline_01_A')) window.scene.getAnim(\"Main_grp_timeline_01_A\").stop();\r\n\r\n if (revers90Degree) {\r\n // window.scene.animPlayInTime(\"Screen_90_degree\", 0, 0);\r\n // window.scene.animPlayInTime(\"Screen_90_to_close180\", 0, 0);\r\n // window.scene.animPlayInTime(\"Screen_90_to_close360\", 0, 0);\r\n }\r\n window.scene.animPlayInTime(\"Screen_grp_timeline_01_A\",0,0);\r\n window.scene.animPlayInTime(\"Hinge_grp_timeline_01_A\",0,0);\r\n window.scene.animPlayInTime(\"Main_grp_timeline_01_A\",0,0);\r\n window.scene.clearRefine();\r\n }\r\n const resetTimeline2 = (revers90Degree = true) => {\r\n //window.scene.instanceSet(\"GP_Close_360\", \"visible\", false);\r\n //window.scene.instanceSet(\"GP_Stand\", \"visible\", false);\r\n //window.scene.instanceSet(\"GP_Tent\", \"visible\", false);\r\n //window.scene.instanceSet(\"GP_Tablet\", \"visible\", false);\r\n if (window.scene.animIsPlaying('Screen_90_degree')) window.scene.getAnim(\"Screen_90_degree\").stop();\r\n if (window.scene.animIsPlaying('Screen_grp_timeline_02_A')) window.scene.getAnim(\"Screen_grp_timeline_02_A\").stop();\r\n if (window.scene.animIsPlaying('Hinge_grp_timeline_02_A')) window.scene.getAnim(\"Hinge_grp_timeline_02_A\").stop();\r\n if (window.scene.animIsPlaying('Main_grp_timeline_02_A')) window.scene.getAnim(\"Main_grp_timeline_02_A\").stop();\r\n if (revers90Degree) {\r\n // window.scene.animPlayInTime('Screen_90_degree', 0, 0);\r\n // window.scene.animPlayInTime('Screen_90_degree_180', 0, 0);\r\n\r\n }\r\n window.scene.animPlayInTime(\"Screen_grp_timeline_02_A\",0,0);\r\n window.scene.animPlayInTime(\"Hinge_grp_timeline_02_A\",0,0);\r\n window.scene.animPlayInTime(\"Main_grp_timeline_02_A\",0,0);\r\n window.scene.clearRefine();\r\n }\r\n const resetTimeline3 = (revers90Degree = true) => {\r\n //window.scene.instanceSet(\"GP_Close_360\", \"visible\", false);\r\n //window.scene.instanceSet(\"GP_Stand\", \"visible\", false);\r\n //window.scene.instanceSet(\"GP_Tent\", \"visible\", false);\r\n //window.scene.instanceSet(\"GP_Tablet\", \"visible\", false);\r\n if (window.scene.animIsPlaying('Screen_90_degree')) window.scene.getAnim(\"Screen_90_degree\").stop();\r\n if (window.scene.animIsPlaying('Screen_grp_timeline_03_A')) window.scene.getAnim(\"Screen_grp_timeline_03_A\").stop();\r\n if (window.scene.animIsPlaying('Hinge_grp_timeline_03_A')) window.scene.getAnim(\"Hinge_grp_timeline_03_A\").stop();\r\n if (window.scene.animIsPlaying('Main_grp_timeline_03_A')) window.scene.getAnim(\"Main_grp_timeline_03_A\").stop();\r\n if (revers90Degree) {\r\n // window.scene.animPlayInTime('Screen_90_degree', 0, 0);\r\n // window.scene.animPlayInTime('Screen_90_degree_180', 0, 0);\r\n\r\n }\r\n window.scene.animPlayInTime(\"Screen_grp_timeline_03_A\",0,0);\r\n window.scene.animPlayInTime(\"Hinge_grp_timeline_03_A\",0,0);\r\n window.scene.animPlayInTime(\"Main_grp_timeline_03_A\",0,0);\r\n window.scene.clearRefine();\r\n }\r\n const resetTimeline4 = (revers90Degree = true) => {\r\n //window.scene.instanceSet(\"GP_Close_360\", \"visible\", false);\r\n //window.scene.instanceSet(\"GP_Stand\", \"visible\", false);\r\n //window.scene.instanceSet(\"GP_Tent\", \"visible\", false);\r\n //window.scene.instanceSet(\"GP_Tablet\", \"visible\", false);\r\n if (window.scene.animIsPlaying('Screen_90_degree')) window.scene.getAnim(\"Screen_90_degree\").stop();\r\n if (window.scene.animIsPlaying('Main_grp_timeline_04_A')) window.scene.getAnim(\"Main_grp_timeline_04_A\").stop();\r\n if (window.scene.animIsPlaying('Hinge_grp_timeline_04_A')) window.scene.getAnim(\"Hinge_grp_timeline_04_A\").stop();\r\n if (window.scene.animIsPlaying('Screen_grp_timeline_04_A')) window.scene.getAnim(\"Screen_grp_timeline_04_A\").stop();\r\n if (revers90Degree) {\r\n // window.scene.animPlayInTime('Screen_90_degree', 0, 0);\r\n // window.scene.animPlayInTime('Screen_90_degree_180', 0, 0);\r\n\r\n }\r\n window.scene.animPlayInTime(\"Main_grp_timeline_04_A\",0,0);\r\n window.scene.animPlayInTime(\"Hinge_grp_timeline_04_A\",0,0);\r\n window.scene.animPlayInTime(\"Screen_grp_timeline_04_A\",0,0);\r\n window.scene.clearRefine();\r\n }\r\n const posClicked1 = () => {\r\n window.localStorage.removeItem('hotspot');\r\n window.localStorage.removeItem('currentBluetooth');\r\n window.localStorage.removeItem('color');\r\n window.scene.animPlayInTime(\"Screen_grp_timeline_01\",0,animTime);\r\n\r\n }\r\n\r\n\r\n //MenuSelectProduct\r\n const [laptop360,setlaptop360] = useState(true);\r\n\r\n const [laptop180,setlaptop180] = useState(false);\r\n\r\n const laptopClick = (event) => {\r\n\r\n setlaptop180(true);\r\n setlaptop360(false);\r\n console.log(laptop180);\r\n setCounter(0);\r\n selectedButton = 'onResetMode';\r\n setValue(event.target.value);\r\n setDisplayed(true);\r\n // setExpandedPanel(false);\r\n setHidden(false);\r\n var alreadySelected = document.querySelector('.MuiAccordionDetails-root.active');\r\n\r\n if (alreadySelected != null) {\r\n alreadySelected.classList.remove('active');\r\n }\r\n\r\n document.getElementById('laptop').setAttribute('aria-label','laptop radio butoon selected');\r\n window.scene.groupApplyState(\"screen_180\");\r\n window.scene.groupApplyState(\"GP_open\");\r\n window.scene.groupApplyState(\"dynamic_reset\");\r\n window.scene.groupApplyState(\"screenfill_180\");\r\n\r\n setLaptop360FrontImg(\"./img/front180White.png\");\r\n setLaptop360TopImg(\"./img/top180White.png\");\r\n setLaptop360LefttImg(\"./img/180_white_left.png\");\r\n setLaptop360RightImg(\"./img/180_white_right.png\");\r\n resetBacklitCloseImg();\r\n\r\n window.localStorage.setItem(\"position\",\"reset\");\r\n window.localStorage.setItem(\"laptop\",\"laptop180\");\r\n window.localStorage.removeItem('color');\r\n\r\n var radiobtn1 = document.getElementById('twoinoneRadio');\r\n radiobtn1.checked = false;\r\n var radioSelector1 = document.querySelector('#twoinoneRadio')\r\n var nextSibling1 = radioSelector1.nextElementSibling;\r\n var selectSVG1 = nextSibling1.lastChild;\r\n selectSVG1.style.transform = 'scale(0)'\r\n // nextSibling1.classList.remove('PrivateRadioButtonIcon-checked-16')\r\n var radiobtn2 = document.getElementById('laptopRadio');\r\n radiobtn2.checked = true;\r\n var radioSelector2 = document.querySelector('#laptopRadio')\r\n var nextSibling2 = radioSelector2.nextElementSibling;\r\n var selectSVG2 = nextSibling2.lastChild;\r\n selectSVG2.style.transform = 'scale(1)'\r\n // nextSibling2.classList.add('PrivateRadioButtonIcon-checked-16')\r\n document.getElementById(\"laptopRadio\").tabIndex = 1;\r\n\r\n window.localStorage.removeItem('hotspot');\r\n window.localStorage.removeItem('currentBluetooth');\r\n // document.getElementById('whiteBtn').classList.add('select');\r\n // document.getElementById('whiteBtn').classList.add('active');\r\n\r\n // var alreadySelected = document.querySelector('.MuiAccordionDetails-root.active');\r\n // alreadySelected.classList.remove('active');\r\n\r\n var alreadySelected = document.querySelector('.MuiAccordionDetails-root.active');\r\n if (alreadySelected != null) {\r\n alreadySelected.classList.remove('active');\r\n }\r\n // document.getElementById('whiteBtn').classList.add('active');\r\n var alreadySelected = document.querySelector('.MuiAccordionDetails-root.select');\r\n if (alreadySelected != null) {\r\n alreadySelected.classList.remove('select');\r\n }\r\n window.RT_RecordEvent(\"Product Type\",\"Laptop\",window.config.name);\r\n //add for tab issues\r\n document.getElementById(\"hotspot1\").setAttribute(\"tabindex\",\"-1\");\r\n // document.getElementById(\"tentBtn\").setAttribute(\"tabindex\", \"-1\");\r\n // document.getElementById(\"theaterBtn\").setAttribute(\"tabindex\", \"-1\");\r\n // document.getElementById(\"tabletBtn\").setAttribute(\"tabindex\", \"-1\");\r\n\r\n document.getElementById(\"hotspot2\").setAttribute(\"tabindex\",\"-1\");\r\n document.getElementById(\"hotspot3\").setAttribute(\"tabindex\",\"-1\");\r\n document.getElementById(\"hotspot4\").setAttribute(\"tabindex\",\"-1\");\r\n document.getElementById(\"hotspot5\").setAttribute(\"tabindex\",\"-1\");\r\n document.getElementById(\"hotspot6\").setAttribute(\"tabindex\",\"-1\");\r\n document.getElementById(\"hotspot7\").setAttribute(\"tabindex\",\"-1\");\r\n document.getElementById(\"hotspot8\").setAttribute(\"tabindex\",\"-1\");\r\n document.getElementById(\"hotspot9\").setAttribute(\"tabindex\",\"-1\");\r\n\r\n document.getElementById(\"tentBtn\").setAttribute(\"tabindex\",\"-1\");\r\n document.getElementById(\"theaterBtn\").setAttribute(\"tabindex\",\"-1\");\r\n document.getElementById(\"tabletBtn\").setAttribute(\"tabindex\",\"-1\");\r\n\r\n // document.getElementById('laptop2in1').classList.remove('select');\r\n document.getElementById('laptop').classList.add('active');\r\n document.getElementById('laptop2in1').classList.remove('active');\r\n document.getElementById('laptop2in1').classList.remove('select');\r\n\r\n GotoPosInTimeNamedValue('Render_Cam_F01_L',function () {\r\n\r\n window.scene.groupApplyState(\"Silver_180\");\r\n window.scene.groupApplyState(\"screenfill_180\");\r\n });\r\n\r\n // document.querySelector('#blackBtn').classList.add('Btnsubmenus');\r\n // document.querySelector('#blackBtn').classList.remove('Mui-disabled');\r\n // document.querySelector('#blackBtn').style.pointerEvents = 'auto';\r\n // document.querySelector('#blackBtn').style.pointerEvents = \"auto\";\r\n // document.querySelector('#blackBtn').setAttribute = (\"onclick\");\r\n // document.querySelector('#menucolor').setAttribute = (\"onBlackBtnClick\");\r\n\r\n\r\n // document.querySelector('#tentBtn').classList.add('Mui-disabled');\r\n // document.querySelector('#tentBtn').style.pointerEvents = 'none';\r\n // document.querySelector('#tentBtn').setAttribute(\"tabindex\", \"-1\");\r\n\r\n // document.querySelector('#theaterBtn').classList.add('Mui-disabled');\r\n // document.querySelector('#theaterBtn').style.pointerEvents = 'none';\r\n // document.querySelector('#theaterBtn').setAttribute(\"tabindex\", \"-1\");\r\n\r\n // document.querySelector('#tabletBtn').classList.add('Mui-disabled');\r\n // document.querySelector('#tabletBtn').style.pointerEvents = 'none';\r\n // document.querySelector('#tabletBtn').setAttribute(\"tabindex\", \"-1\");\r\n // document.getElementById(\"blackBtn\").setAttribute(\"tabindex\",\"1\");\r\n\r\n // document.getElementById(\"tentBtn1\").setAttribute(\"tabindex\", \"-1\");\r\n // document.getElementById(\"theaterBtn1\").setAttribute(\"tabindex\", \"-1\");\r\n // document.getElementById(\"tabletBtn1\").setAttribute(\"tabindex\", \"-1\");\r\n\r\n if (position.currentPos == 'theatre' || position.currentPos == 'tablet') {\r\n var currentPosName = position.currentPos;\r\n if (position.reset == position[currentPosName]) { position.currentPos = 'reset'; return; }\r\n window.scene.animPlayAllChildrenInTime(\"CA_Wireless_KB_MPD\",position.reset,animTime,undefined,undefined,undefined,true,position[currentPosName],10);\r\n window.scene.animPlayAllChildrenInTime(\"CA_Wireless_KB_MPD_Keyboard\",position.reset,animTime,undefined,undefined,undefined,true,position[currentPosName],10);\r\n window.scene.clearRefine();\r\n position.currentPos = 'reset';\r\n window.scene.clearRefine();\r\n } else {\r\n var currentPosName = position.currentPos;\r\n if (position.reset == position[currentPosName]) { position.currentPos = 'reset'; return; }\r\n window.scene.animPlayAllChildrenInTime(\"CA_Wireless_KB_MPD\",position.reset,animTime,undefined,undefined,undefined,true,position[currentPosName],0);\r\n window.scene.animPlayAllChildrenInTime(\"CA_Wireless_KB_MPD_Keyboard\",position.reset,animTime,undefined,undefined,undefined,true,position[currentPosName],0);\r\n window.scene.clearRefine();\r\n position.currentPos = 'reset';\r\n window.scene.clearRefine();\r\n }\r\n\r\n\r\n }\r\n\r\n const [value,setValue] = useState('2 in 1');\r\n\r\n const select2in1Click = (event) => {\r\n setlaptop360(true);\r\n setlaptop180(false);\r\n console.log(laptop360);\r\n selectedButton = 'onResetMode';\r\n setValue(event.target.value);\r\n setDisplayed(false);\r\n setHidden(true);\r\n // setExpandedPanel(false);\r\n var alreadySelected = document.querySelector('.MuiAccordionDetails-root.active');\r\n if (alreadySelected != null) {\r\n alreadySelected.classList.remove('active');\r\n }\r\n document.getElementById('laptop2in1').setAttribute('aria-label','2in1 radio butoon selected');\r\n var alreadySelecte = document.querySelector('.MuiAccordionDetails-root.select');\r\n if (alreadySelecte != null) {\r\n alreadySelecte.classList.remove('select');\r\n }\r\n\r\n // var alreadySelected = document.querySelector('.MuiAccordionDetails-root.active');\r\n // if(alreadySelected != null){\r\n // alreadySelected.classList.remove('active');\r\n // }\r\n document.getElementById('laptop2in1').classList.add('active');\r\n document.getElementById('laptop2in1').classList.add('select');\r\n // document.getElementById('whiteBtn').classList.add('select');\r\n // document.getElementById('whiteBtn').classList.add('active');\r\n document.getElementById('laptop').classList.remove('active');\r\n document.getElementById('laptop').classList.remove('select');\r\n document.getElementById(\"tentBtn\").setAttribute(\"tabindex\",\"1\");\r\n document.getElementById(\"theaterBtn\").setAttribute(\"tabindex\",\"1\");\r\n document.getElementById(\"tabletBtn\").setAttribute(\"tabindex\",\"1\");\r\n\r\n // document.getElementById(\"blackBtn\").setAttribute(\"tabindex\", \"-1\");\r\n\r\n window.localStorage.removeItem('hotspot');\r\n window.localStorage.removeItem('currentBluetooth');\r\n window.scene.groupApplyState(\"screen_180\");\r\n window.scene.groupApplyState(\"GP_open\");\r\n window.localStorage.setItem(\"position\",\"reset\");\r\n window.scene.groupApplyState(\"screenfill_360\");\r\n window.scene.groupApplyState(\"dynamic_reset\");\r\n\r\n window.localStorage.setItem(\"laptop\",\"laptop360\");\r\n window.localStorage.removeItem('hotspot');\r\n window.localStorage.removeItem('currentBluetooth');\r\n\r\n var radiobtn1 = document.getElementById('laptopRadio');\r\n radiobtn1.checked = false;\r\n var radioSelector1 = document.querySelector('#laptopRadio')\r\n var nextSibling1 = radioSelector1.nextElementSibling;\r\n var selectSVG1 = nextSibling1.lastChild;\r\n selectSVG1.style.transform = 'scale(0)'\r\n var radiobtn2 = document.getElementById('twoinoneRadio');\r\n radiobtn2.checked = true;\r\n var radioSelector2 = document.querySelector('#twoinoneRadio')\r\n var nextSibling2 = radioSelector2.nextElementSibling;\r\n var selectSVG2 = nextSibling2.lastChild;\r\n selectSVG2.style.transform = 'scale(1)'\r\n\r\n window.localStorage.removeItem('color');\r\n document.getElementById(\"twoinoneRadio\").tabIndex = 1;\r\n\r\n\r\n window.RT_RecordEvent(\"Product Type\",\"2 in 1\",window.config.name);\r\n //add for tab issues\r\n document.getElementById(\"hotspot1\").setAttribute(\"tabindex\",\"-1\");\r\n document.getElementById(\"hotspot2\").setAttribute(\"tabindex\",\"-1\");\r\n document.getElementById(\"hotspot3\").setAttribute(\"tabindex\",\"-1\");\r\n document.getElementById(\"hotspot4\").setAttribute(\"tabindex\",\"-1\");\r\n document.getElementById(\"hotspot5\").setAttribute(\"tabindex\",\"-1\");\r\n document.getElementById(\"hotspot6\").setAttribute(\"tabindex\",\"-1\");\r\n document.getElementById(\"hotspot7\").setAttribute(\"tabindex\",\"-1\");\r\n document.getElementById(\"hotspot8\").setAttribute(\"tabindex\",\"-1\");\r\n document.getElementById(\"hotspot9\").setAttribute(\"tabindex\",\"-1\");\r\n\r\n\r\n setLaptop360FrontImg(\"./img/front360.png\");\r\n setLaptop360TopImg(\"./img/top360.png\");\r\n setLaptop360LefttImg(\"./img/360_left.png\");\r\n setLaptop360RightImg(\"./img/360_right.png\");\r\n\r\n resetBacklitCloseImg();\r\n\r\n GotoPosInTimeNamedValue('Render_Cam_F01_L',function () {\r\n window.scene.groupApplyState(\"Silver\");\r\n\r\n });\r\n // document.querySelector('#blackBtn').classList.add('Mui-disabled');\r\n // document.querySelector('#blackBtn').style.pointerEvents = \"auto\";\r\n // document.querySelector('#blackBtns').classList.remove('Btnsubmenus');\r\n\r\n // document.querySelector('#blackBtn').removeAttribute = (\"onclick\");\r\n\r\n // document.querySelector('#menucolor').removeAttribute = (\"onBlackBtnClick\");\r\n\r\n\r\n // document.querySelector('#tentBtn').classList.remove('Mui-disabled');\r\n // document.querySelector('#tentBtn').style.pointerEvents = 'auto';\r\n // document.querySelector('#tentBtn').setAttribute(\"tabindex\", \"1\");\r\n\r\n // document.querySelector('#theaterBtn').classList.remove('Mui-disabled');\r\n // document.querySelector('#theaterBtn').style.pointerEvents = 'auto';\r\n // document.querySelector('#theaterBtn').setAttribute(\"tabindex\", \"1\");\r\n\r\n // document.querySelector('#tabletBtn').classList.remove('Mui-disabled');\r\n // document.querySelector('#tabletBtn').style.pointerEvents = 'auto';\r\n // document.querySelector('#tabletBtn').setAttribute(\"tabindex\", \"1\");\r\n // document.getElementById(\"blackBtn\").setAttribute(\"tabindex\",\"1\");\r\n\r\n // document.getElementById(\"tentBtn1\").setAttribute(\"tabindex\", \"1\");\r\n // document.getElementById(\"theaterBtn1\").setAttribute(\"tabindex\", \"1\");\r\n // document.getElementById(\"tabletBtn1\").setAttribute(\"tabindex\", \"1\");\r\n\r\n if (position.currentPos == 'theatre' || position.currentPos == 'tablet') {\r\n var currentPosName = position.currentPos;\r\n if (position.reset == position[currentPosName]) { position.currentPos = 'reset'; return; }\r\n window.scene.animPlayAllChildrenInTime(\"CA_Wireless_KB_MPD\",position.reset,animTime,undefined,undefined,undefined,true,position[currentPosName],10);\r\n window.scene.animPlayAllChildrenInTime(\"CA_Wireless_KB_MPD_Keyboard\",position.reset,animTime,undefined,undefined,undefined,true,position[currentPosName],10);\r\n window.scene.clearRefine();\r\n position.currentPos = 'reset';\r\n window.scene.clearRefine();\r\n } else {\r\n var currentPosName = position.currentPos;\r\n if (position.reset == position[currentPosName]) { position.currentPos = 'reset'; return; }\r\n window.scene.animPlayAllChildrenInTime(\"CA_Wireless_KB_MPD\",position.reset,animTime,undefined,undefined,undefined,true,position[currentPosName],0);\r\n window.scene.animPlayAllChildrenInTime(\"CA_Wireless_KB_MPD_Keyboard\",position.reset,animTime,undefined,undefined,undefined,true,position[currentPosName],0);\r\n window.scene.clearRefine();\r\n position.currentPos = 'reset';\r\n window.scene.clearRefine();\r\n }\r\n\r\n }\r\n\r\n //MenuProductView\r\n\r\n const onWirelessDesignClick = (isNextPrevious) => {\r\n console.log(\"----------------onWirelessDesignBtnClick\");\r\n // window.scene._nav._panMax = [16,7]; //[left, bottom];\r\n // window.scene._nav._panMin = [-12,-7]; //[right, top];\r\n //Update ZoomBar\r\n\r\n resetAll();\r\n reverseAll();\r\n var slider = document.getElementById(\"sliderRange\");\r\n window.scene.groupApplyState(\"dongle_off\");\r\n if (slider != null) {\r\n document.getElementById(\"sliderRange\").value = window.scene._nav.getZoomFactor();\r\n setTimeout(function () { document.getElementById(\"sliderRange\").value = window.scene._nav.getZoomFactor(); },1000);\r\n }\r\n console.log(position.nintyDegree,position.currentPos)\r\n\r\n // var alreadySelected = document.querySelector('.MuiAccordionDetails-root.active');\r\n // alreadySelected.classList.remove('active');\r\n // document.getElementById('frontBtn').classList.add('active');\r\n\r\n var alreadySelected = document.querySelector('.MuiAccordionDetails-root.active');\r\n if (alreadySelected != null) {\r\n alreadySelected.classList.remove('active');\r\n }\r\n document.getElementById('wirelessdesignBtn').classList.add('active');\r\n window.localStorage.setItem(\"position\",\"reset\");\r\n // window.scene.groupApplyState(\"screen_180\");\r\n // window.scene.groupApplyState(\"GP_open\");\r\n var currentPosName = position.currentPos;\r\n\r\n\r\n selectedButton = 'onWirelessDesignClick';\r\n if (!(mob || isipad)) {\r\n document.getElementById('previousView').setAttribute('aria-label','Front view');\r\n\r\n document.getElementById('nextView').setAttribute('aria-label','Front view');\r\n }\r\n if (laptop180) {\r\n window.scene.groupApplyState(\"screenfill_180\");\r\n } else {\r\n window.scene.groupApplyState(\"screenfill_360\");\r\n }\r\n\r\n\r\n window.localStorage.removeItem('hotspot');\r\n window.localStorage.removeItem('currentBluetooth');\r\n\r\n window.scene.clearRefine();\r\n resetBacklitCloseImg();\r\n //window.scene.groupApplyState(\"GP_All\");\r\n // window.scene.groupApplyState(\"Backlit_OFF\");\r\n window.scene.groupApplyState(\"dongle_on\");\r\n // window.scene.groupApplyState(\"dynamic_reset\");\r\n window.scene.groupApplyState(\"GP_Reset_OLD\");\r\n window.scene.groupApplyState(\"REF_KB\");\r\n\r\n window.scene.animPlayInTime(\"Mode_Connection_Button\",0.041666,0);\r\n GotoPosInTimeNamedValue('Render_Cam_F01_RL',function () {\r\n window.scene.animPlayInTime(\"Mode_Connection_Button\",0.041666,0);\r\n window.localStorage.setItem('hotspot','wirelessdesign');\r\n // window.scene._nav._fovRecoveryOffset = 2\r\n\r\n\r\n\r\n\r\n if (isNextPrevious != true) {\r\n // alert(\"isNextPrevious\");\r\n window.document.getElementById(\"hotspot1demo\").focus();\r\n }\r\n })\r\n if (!(window.isipad || window.mob)) {\r\n document.getElementById(\"hotspot1\").setAttribute(\"tabindex\",\"-1\");\r\n document.getElementById(\"hotspot2\").setAttribute(\"tabindex\",\"-1\");\r\n document.getElementById(\"hotspot3\").setAttribute(\"tabindex\",\"-1\");\r\n document.getElementById(\"hotspot4\").setAttribute(\"tabindex\",\"-1\");\r\n document.getElementById(\"hotspot5\").setAttribute(\"tabindex\",\"-1\");\r\n document.getElementById(\"hotspot6\").setAttribute(\"tabindex\",\"-1\");\r\n document.getElementById(\"hotspot7\").setAttribute(\"tabindex\",\"-1\");\r\n document.getElementById(\"hotspot8\").setAttribute(\"tabindex\",\"-1\");\r\n document.getElementById(\"hotspot9\").setAttribute(\"tabindex\",\"-1\");\r\n document.getElementById(\"rLeft\").setAttribute(\"tabindex\",\"0\");\r\n document.getElementById(\"rRight\").setAttribute(\"tabindex\",\"0\");\r\n document.getElementById(\"zoomOut\").setAttribute(\"tabindex\",\"0\");\r\n document.getElementById(\"sliderRange\").setAttribute(\"tabindex\",\"0\");\r\n document.getElementById(\"zoomIn\").setAttribute(\"tabindex\",\"0\");\r\n document.getElementById(\"previousView\").setAttribute(\"tabindex\",\"0\");\r\n document.getElementById(\"resetView\").setAttribute(\"tabindex\",\"0\");\r\n document.getElementById(\"nextView\").setAttribute(\"tabindex\",\"0\");\r\n\r\n }\r\n if (position.nintyDegree == position[currentPosName]) { position.currentPos = 'nintyDegree'; return; }\r\n if (position.currentPos == 'theatre' || position.currentPos == 'tablet') {\r\n console.log(\"Theater\")\r\n // window.scene.animPlayAllChildrenInTime(\"CA_Wireless_KB_MPD\",position.nintyDegree,animTime,undefined,undefined,undefined,true,position[currentPosName],10);\r\n window.scene.animPlayAllChildrenInTime(\"CA_Wireless_KB_MPD_Keyboard\",position.nintyDegree,animTime,undefined,undefined,undefined,true,position[currentPosName],10);\r\n }\r\n else {\r\n console.log(\"else\")\r\n // window.scene.animPlayAllChildrenInTime(\"CA_Wireless_KB_MPD\",position.nintyDegree,animTime,undefined,undefined,undefined,true,position[currentPosName],0);\r\n window.scene.animPlayAllChildrenInTime(\"CA_Wireless_KB_MPD_Keyboard\",position.nintyDegree,animTime,undefined,undefined,undefined,true,position[currentPosName],0);\r\n }\r\n\r\n window.RT_RecordEvent(\"Product Type\",\"Front\",window.config.name);\r\n window.scene.clearRefine();\r\n position.currentPos = 'nintyDegree';\r\n\r\n }\r\n\r\n const onKeysClick = (isNextPrevious) => {\r\n console.log(\"----------------onKeysBtnClick\");\r\n\r\n //Update ZoomBar\r\n\r\n var slider = document.getElementById(\"sliderRange\");\r\n resetAll();\r\n reverseAll();\r\n window.scene._nav._navMaxDolly = 27;\r\n window.UniqDeltaScroll2 = true;\r\n window.keysCam = true;\r\n window.scene.groupApplyState(\"dongle_off\");\r\n if (slider != null) {\r\n document.getElementById(\"sliderRange\").value = window.scene._nav.getZoomFactor();\r\n setTimeout(function () { document.getElementById(\"sliderRange\").value = window.scene._nav.getZoomFactor(); },1000);\r\n }\r\n console.log(position.nintyDegree,position.currentPos)\r\n\r\n // var alreadySelected = document.querySelector('.MuiAccordionDetails-root.active');\r\n // alreadySelected.classList.remove('active');\r\n // document.getElementById('frontBtn').classList.add('active');\r\n\r\n var alreadySelected = document.querySelector('.MuiAccordionDetails-root.active');\r\n if (alreadySelected != null) {\r\n alreadySelected.classList.remove('active');\r\n }\r\n document.getElementById('keysBtn').classList.add('active');\r\n window.localStorage.setItem(\"position\",\"reset\");\r\n window.scene.groupApplyState(\"screen_180\");\r\n window.scene.groupApplyState(\"GP_open\");\r\n window.scene.groupApplyState(\"REF_KB\");\r\n var currentPosName = position.currentPos;\r\n\r\n\r\n selectedButton = 'onKeysClick';\r\n if (!(mob || isipad)) {\r\n document.getElementById('previousView').setAttribute('aria-label','Front view');\r\n\r\n document.getElementById('nextView').setAttribute('aria-label','Front view');\r\n }\r\n if (laptop180) {\r\n window.scene.groupApplyState(\"screenfill_180\");\r\n } else {\r\n window.scene.groupApplyState(\"screenfill_360\");\r\n }\r\n\r\n\r\n window.localStorage.removeItem('hotspot');\r\n window.localStorage.removeItem('currentBluetooth');\r\n\r\n window.scene.clearRefine();\r\n resetBacklitCloseImg();\r\n\r\n window.scene.groupApplyState(\"Backlit_OFF\");\r\n\r\n window.scene.groupApplyState(\"dynamic_reset\");\r\n //window.scene.groupApplyState(\"GP_All\");\r\n window.scene.groupApplyState(\"REF_KB\");\r\n window.scene.groupApplyState(\"GP_Reset_OLD\");\r\n GotoPosInTimeNamedValue('Render_Cam_F01_Key_Closeup',function () {\r\n\r\n window.localStorage.setItem('hotspot','keys');\r\n bluetoothBlikingLoop();\r\n clearBluetoothMainInterval.current = setInterval(() => {\r\n\r\n bluetoothBlikingLoop();\r\n // window.localStorage.setItem('hotspot','keys')\r\n },6000)\r\n if (isNextPrevious != true) {\r\n // alert(\"isNextPrevious\");\r\n window.document.getElementById(\"hotspot1demo\").focus();\r\n }\r\n })\r\n if (!(window.isipad || window.mob)) {\r\n document.getElementById(\"hotspot1\").setAttribute(\"tabindex\",\"-1\");\r\n document.getElementById(\"hotspot2\").setAttribute(\"tabindex\",\"-1\");\r\n document.getElementById(\"hotspot3\").setAttribute(\"tabindex\",\"-1\");\r\n document.getElementById(\"hotspot4\").setAttribute(\"tabindex\",\"-1\");\r\n document.getElementById(\"hotspot5\").setAttribute(\"tabindex\",\"-1\");\r\n document.getElementById(\"hotspot6\").setAttribute(\"tabindex\",\"-1\");\r\n document.getElementById(\"hotspot7\").setAttribute(\"tabindex\",\"-1\");\r\n document.getElementById(\"hotspot8\").setAttribute(\"tabindex\",\"-1\");\r\n document.getElementById(\"hotspot9\").setAttribute(\"tabindex\",\"-1\");\r\n document.getElementById(\"rLeft\").setAttribute(\"tabindex\",\"0\");\r\n document.getElementById(\"rRight\").setAttribute(\"tabindex\",\"0\");\r\n document.getElementById(\"zoomOut\").setAttribute(\"tabindex\",\"0\");\r\n document.getElementById(\"sliderRange\").setAttribute(\"tabindex\",\"0\");\r\n document.getElementById(\"zoomIn\").setAttribute(\"tabindex\",\"0\");\r\n document.getElementById(\"previousView\").setAttribute(\"tabindex\",\"0\");\r\n document.getElementById(\"resetView\").setAttribute(\"tabindex\",\"0\");\r\n document.getElementById(\"nextView\").setAttribute(\"tabindex\",\"0\");\r\n\r\n }\r\n if (position.nintyDegree == position[currentPosName]) { position.currentPos = 'nintyDegree'; return; }\r\n if (position.currentPos == 'theatre' || position.currentPos == 'tablet') {\r\n console.log(\"Theater\")\r\n // window.scene.animPlayAllChildrenInTime(\"CA_Wireless_KB_MPD\",position.nintyDegree,animTime,undefined,undefined,undefined,true,position[currentPosName],10);\r\n window.scene.animPlayAllChildrenInTime(\"CA_Wireless_KB_MPD_Keyboard\",position.nintyDegree,animTime,undefined,undefined,undefined,true,position[currentPosName],10);\r\n }\r\n else {\r\n console.log(\"else\")\r\n // window.scene.animPlayAllChildrenInTime(\"CA_Wireless_KB_MPD\",position.nintyDegree,animTime,undefined,undefined,undefined,true,position[currentPosName],0);\r\n window.scene.animPlayAllChildrenInTime(\"CA_Wireless_KB_MPD_Keyboard\",position.nintyDegree,animTime,undefined,undefined,undefined,true,position[currentPosName],0);\r\n }\r\n\r\n window.RT_RecordEvent(\"Product Type\",\"Front\",window.config.name);\r\n window.scene.clearRefine();\r\n position.currentPos = 'nintyDegree';\r\n\r\n }\r\n\r\n\r\n const onWorkspaceClick = (isNextPrevious) => {\r\n console.log(\"----------------onWorkspaceBtnClick\");\r\n window.scene._nav._navMinDolly = 15;\r\n window.scene._nav._navMaxDolly = 27;\r\n window.scene._nav._panMax = [10,5]; //[left, bottom];\r\n window.scene._nav._panMin = [-15,-10]; //[right, top];\r\n //Update ZoomBar\r\n var slider = document.getElementById(\"sliderRange\");\r\n resetAll();\r\n window.scene.groupApplyState(\"dongle_on\");\r\n if (slider != null) {\r\n document.getElementById(\"sliderRange\").value = window.scene._nav.getZoomFactor();\r\n setTimeout(function () { document.getElementById(\"sliderRange\").value = window.scene._nav.getZoomFactor(); },1000);\r\n }\r\n console.log(position.nintyDegree,position.currentPos)\r\n\r\n // var alreadySelected = document.querySelector('.MuiAccordionDetails-root.active');\r\n // alreadySelected.classList.remove('active');\r\n // document.getElementById('frontBtn').classList.add('active');\r\n\r\n var alreadySelected = document.querySelector('.MuiAccordionDetails-root.active');\r\n if (alreadySelected != null) {\r\n alreadySelected.classList.remove('active');\r\n }\r\n document.getElementById('workspaceBtn').classList.add('active');\r\n window.localStorage.setItem(\"position\",\"reset\");\r\n window.scene.groupApplyState(\"screen_180\");\r\n window.scene.groupApplyState(\"GP_open\");\r\n window.scene.groupApplyState(\"REF_KB\");\r\n var currentPosName = position.currentPos;\r\n\r\n\r\n selectedButton = 'onWorkspaceClick';\r\n if (!(mob || isipad)) {\r\n document.getElementById('previousView').setAttribute('aria-label','Front view');\r\n\r\n document.getElementById('nextView').setAttribute('aria-label','Front view');\r\n }\r\n if (laptop180) {\r\n window.scene.groupApplyState(\"screenfill_180\");\r\n } else {\r\n window.scene.groupApplyState(\"screenfill_360\");\r\n }\r\n\r\n\r\n window.localStorage.removeItem('hotspot');\r\n window.localStorage.removeItem('currentBluetooth');\r\n\r\n window.scene.clearRefine();\r\n resetBacklitCloseImg();\r\n //window.scene.groupApplyState(\"GP_All\");\r\n window.scene.groupApplyState(\"Backlit_OFF\");\r\n\r\n window.scene.groupApplyState(\"dynamic_reset\");\r\n\r\n GotoPosInTimeNamedValue('Render_Cam_F01_Top',function () {\r\n window.localStorage.setItem('hotspot','Workspace')\r\n\r\n if (isNextPrevious != true) {\r\n // alert(\"isNextPrevious\");\r\n window.document.getElementById(\"hotspot1demo\").focus();\r\n }\r\n })\r\n if (!(window.isipad || window.mob)) {\r\n document.getElementById(\"hotspot1\").setAttribute(\"tabindex\",\"-1\");\r\n document.getElementById(\"hotspot2\").setAttribute(\"tabindex\",\"-1\");\r\n document.getElementById(\"hotspot3\").setAttribute(\"tabindex\",\"-1\");\r\n document.getElementById(\"hotspot4\").setAttribute(\"tabindex\",\"-1\");\r\n document.getElementById(\"hotspot5\").setAttribute(\"tabindex\",\"1\");\r\n document.getElementById(\"hotspot6\").setAttribute(\"tabindex\",\"-1\");\r\n document.getElementById(\"hotspot7\").setAttribute(\"tabindex\",\"-1\");\r\n document.getElementById(\"hotspot8\").setAttribute(\"tabindex\",\"-1\");\r\n document.getElementById(\"hotspot9\").setAttribute(\"tabindex\",\"-1\");\r\n document.getElementById(\"rLeft\").setAttribute(\"tabindex\",\"0\");\r\n document.getElementById(\"rRight\").setAttribute(\"tabindex\",\"0\");\r\n document.getElementById(\"zoomOut\").setAttribute(\"tabindex\",\"0\");\r\n document.getElementById(\"sliderRange\").setAttribute(\"tabindex\",\"0\");\r\n document.getElementById(\"zoomIn\").setAttribute(\"tabindex\",\"0\");\r\n document.getElementById(\"previousView\").setAttribute(\"tabindex\",\"0\");\r\n document.getElementById(\"resetView\").setAttribute(\"tabindex\",\"0\");\r\n document.getElementById(\"nextView\").setAttribute(\"tabindex\",\"0\");\r\n\r\n }\r\n if (position.nintyDegree == position[currentPosName]) { position.currentPos = 'nintyDegree'; return; }\r\n if (position.currentPos == 'theatre' || position.currentPos == 'tablet') {\r\n console.log(\"Theater\")\r\n window.scene.animPlayAllChildrenInTime(\"CA_Wireless_KB_MPD\",position.nintyDegree,animTime,undefined,undefined,undefined,true,position[currentPosName],10);\r\n window.scene.animPlayAllChildrenInTime(\"CA_Wireless_KB_MPD_Keyboard\",position.nintyDegree,animTime,undefined,undefined,undefined,true,position[currentPosName],10);\r\n\r\n }\r\n else {\r\n console.log(\"else\")\r\n window.scene.animPlayAllChildrenInTime(\"CA_Wireless_KB_MPD\",position.nintyDegree,animTime,undefined,undefined,undefined,true,position[currentPosName],0);\r\n window.scene.animPlayAllChildrenInTime(\"CA_Wireless_KB_MPD_Keyboard\",position.nintyDegree,animTime,undefined,undefined,undefined,true,position[currentPosName],0);\r\n }\r\n\r\n window.RT_RecordEvent(\"Product Type\",\"Front\",window.config.name);\r\n window.scene.clearRefine();\r\n position.currentPos = 'nintyDegree';\r\n\r\n }\r\n\r\n\r\n const onSideClick = (isNextPrevious) => {\r\n resetAll();\r\n reverseAll();\r\n //Update ZoomBar\r\n window.scene._nav._navMinDolly = 9;\r\n\r\n console.log(position.nintyDegree,position.currentPos)\r\n window.scene._nav._fovRecoveryOffset = 15;\r\n window.UniqDeltaScroll = true;\r\n selectedButton = 'onSideClick';\r\n if (!(mob || isipad)) {\r\n document.getElementById('previousView').setAttribute('aria-label','right view');\r\n\r\n document.getElementById('nextView').setAttribute('aria-label','right view');\r\n }\r\n window.localStorage.removeItem('hotspot');\r\n window.localStorage.removeItem('currentBluetooth');\r\n var alreadySelected = document.querySelector('.MuiAccordionDetails-root.active');\r\n if (alreadySelected != null) {\r\n alreadySelected.classList.remove('active');\r\n }\r\n\r\n document.getElementById('rightBtn').classList.add('active');\r\n\r\n\r\n window.localStorage.setItem(\"position\",\"reset\");\r\n window.scene.groupApplyState(\"screen_180\");\r\n if (laptop180) {\r\n window.scene.groupApplyState(\"screenfill_180\");\r\n } else {\r\n window.scene.groupApplyState(\"screenfill_360\");\r\n }\r\n // window.scene.groupApplyState(\"GP_open\");\r\n // window.scene.groupApplyState(\"dynamic_reset\");\r\n // //window.scene.groupApplyState(\"GP_All\");\r\n window.scene.groupApplyState(\"REF_KB\");\r\n window.scene.groupApplyState(\"GP_side\");\r\n\r\n window.localStorage.removeItem('hotspot');\r\n window.localStorage.removeItem('currentBluetooth');\r\n var slider = document.getElementById(\"sliderRange\");\r\n\r\n resetBacklitCloseImg();\r\n\r\n // window.scene.groupApplyState(\"Backlit_OFF\");\r\n\r\n GotoPosInTimeNamedValue('Render_Cam_F01_L',function () {\r\n console.log();\r\n window.scene.animPlayInTime(\"CA_Wireless_KB_MPD_Keyboard\",0.40,1000);\r\n window.scene.animPlayInTime(\"STAND_L\",0.40,1000);\r\n window.scene.animPlayInTime(\"Right_foot\",0.40,1000);\r\n window.scene.animPlayInTime(\"CA_Wireless_KB_MPD_Keyboard.001\",0.4166667,1000);\r\n window.scene.animPlayInTime(\"Right_foot.001\",0.4060000,1000);\r\n window.scene.animPlayInTime(\"STAND_L.001\",0.4166667,1000);\r\n window.scene._nav._fovRecoveryOffset = 15;\r\n\r\n if (slider != null) {\r\n document.getElementById(\"sliderRange\").value = window.scene._nav.getZoomFactor();\r\n setTimeout(function () { document.getElementById(\"sliderRange\").value = window.scene._nav.getZoomFactor(); },1000);\r\n }\r\n setTimeout(function () {\r\n window.localStorage.setItem('hotspot','side');\r\n },1200);\r\n\r\n if (isNextPrevious != true) {\r\n window.document.getElementById(\"hotspot1demo\").focus();\r\n }\r\n });\r\n // window.document.getElementById(\"hotspot11\").focus();\r\n if (!(window.isipad || window.mob)) {\r\n document.getElementById(\"hotspot1\").setAttribute(\"tabindex\",\"-1\");\r\n document.getElementById(\"hotspot2\").setAttribute(\"tabindex\",\"-1\");\r\n document.getElementById(\"hotspot3\").setAttribute(\"tabindex\",\"-1\");\r\n document.getElementById(\"hotspot4\").setAttribute(\"tabindex\",\"-1\");\r\n document.getElementById(\"hotspot5\").setAttribute(\"tabindex\",\"-1\");\r\n document.getElementById(\"hotspot6\").setAttribute(\"tabindex\",\"1\");\r\n document.getElementById(\"hotspot7\").setAttribute(\"tabindex\",\"-1\");\r\n document.getElementById(\"hotspot8\").setAttribute(\"tabindex\",\"-1\");\r\n document.getElementById(\"hotspot9\").setAttribute(\"tabindex\",\"-1\");\r\n document.getElementById(\"rLeft\").setAttribute(\"tabindex\",\"0\");\r\n document.getElementById(\"rRight\").setAttribute(\"tabindex\",\"0\");\r\n document.getElementById(\"zoomOut\").setAttribute(\"tabindex\",\"0\");\r\n document.getElementById(\"sliderRange\").setAttribute(\"tabindex\",\"0\");\r\n document.getElementById(\"zoomIn\").setAttribute(\"tabindex\",\"0\");\r\n document.getElementById(\"previousView\").setAttribute(\"tabindex\",\"0\");\r\n document.getElementById(\"resetView\").setAttribute(\"tabindex\",\"0\");\r\n document.getElementById(\"nextView\").setAttribute(\"tabindex\",\"0\");\r\n\r\n }\r\n var currentPosName = position.currentPos;\r\n if (position.nintyDegree == position[currentPosName]) { position.currentPos = 'nintyDegree'; return; }\r\n\r\n\r\n position.currentPos = 'nintyDegree';\r\n\r\n window.RT_RecordEvent(\"Product Type\",\"Right\",window.config.name);\r\n window.scene.clearRefine();\r\n }\r\n\r\n\r\n\r\n const onOverviewClick = (isNextPrevious) => {\r\n //Update ZoomBar\r\n resetAll();\r\n reverseAll();\r\n\r\n console.log(position.nintyDegree,position.currentPos)\r\n\r\n var slider = document.getElementById(\"sliderRange\");\r\n\r\n if (slider != null) {\r\n document.getElementById(\"sliderRange\").value = window.scene._nav.getZoomFactor();\r\n setTimeout(function () { document.getElementById(\"sliderRange\").value = window.scene._nav.getZoomFactor(); },1000);\r\n }\r\n console.log(\"left\")\r\n selectedButton = 'onOverviewClick';\r\n if (!(mob || isipad)) {\r\n document.getElementById('previousView').setAttribute('aria-label','left view');\r\n\r\n document.getElementById('nextView').setAttribute('aria-label','left view');\r\n }\r\n window.localStorage.removeItem('hotspot');\r\n window.localStorage.removeItem('currentBluetooth');\r\n\r\n var alreadySelected = document.querySelector('.MuiAccordionDetails-root.active');\r\n if (alreadySelected != null) {\r\n alreadySelected.classList.remove('active');\r\n }\r\n\r\n\r\n document.getElementById('leftBtn').classList.add('active');\r\n window.localStorage.setItem(\"position\",\"reset\");\r\n (window.localStorage.getItem(\"hotspot\",\"right\"))\r\n window.scene.groupApplyState(\"screen_180\");\r\n if (laptop180) {\r\n window.scene.groupApplyState(\"screenfill_180\");\r\n } else {\r\n window.scene.groupApplyState(\"screenfill_360\");\r\n }\r\n\r\n \r\n window.scene.groupApplyState(\"dongle_off\");\r\n // window.scene.groupApplyState(\"GP_open\");\r\n // window.scene.groupApplyState(\"dynamic_reset\");\r\n window.scene.groupApplyState(\"GP_Reset_OLD\");\r\n\r\n // window.scene.groupApplyState(\"Backlit_OFF\");\r\n // window.scene.groupApplyState(\"REF_KB\");\r\n \r\n window.scene.animPlayInTime(\"Mode_Connection_Button\",0.041666,0);\r\n\r\n GotoPosInTimeNamedValue('Render_Cam_F01_FL',function () {\r\n // ( )\r\n window.scene.animPlayInTime(\"Mode_Connection_Button\",0.0416667,0);\r\n // window.scene.animPlayInTime(\"CA_Wireless_KB_MPD_Keyboard\",0.0416667,1000);\r\n window.localStorage.setItem('hotspot','overview')\r\n if (isNextPrevious != true) {\r\n window.document.getElementById(\"hotspot1demo\").focus();\r\n }\r\n\r\n\r\n });\r\n if (!(window.isipad || window.mob)) {\r\n document.getElementById(\"hotspot1\").setAttribute(\"tabindex\",\"-1\");\r\n document.getElementById(\"hotspot2\").setAttribute(\"tabindex\",\"-1\");\r\n document.getElementById(\"hotspot3\").setAttribute(\"tabindex\",\"-1\");\r\n document.getElementById(\"hotspot4\").setAttribute(\"tabindex\",\"-1\");\r\n document.getElementById(\"rLeft\").setAttribute(\"tabindex\",\"0\");\r\n document.getElementById(\"rRight\").setAttribute(\"tabindex\",\"0\");\r\n document.getElementById(\"zoomOut\").setAttribute(\"tabindex\",\"0\");\r\n document.getElementById(\"sliderRange\").setAttribute(\"tabindex\",\"0\");\r\n document.getElementById(\"zoomIn\").setAttribute(\"tabindex\",\"0\");\r\n document.getElementById(\"previousView\").setAttribute(\"tabindex\",\"0\");\r\n document.getElementById(\"resetView\").setAttribute(\"tabindex\",\"0\");\r\n document.getElementById(\"nextView\").setAttribute(\"tabindex\",\"0\");\r\n document.getElementById(\"hotspot5\").setAttribute(\"tabindex\",\"-1\");\r\n document.getElementById(\"hotspot6\").setAttribute(\"tabindex\",\"-1\");\r\n document.getElementById(\"hotspot7\").setAttribute(\"tabindex\",\"-1\");\r\n document.getElementById(\"hotspot8\").setAttribute(\"tabindex\",\"-1\");\r\n document.getElementById(\"hotspot9\").setAttribute(\"tabindex\",\"1\");\r\n\r\n }\r\n var currentPosName = position.currentPos;\r\n if (position.nintyDegree == position[currentPosName]) { position.currentPos = 'nintyDegree'; return; }\r\n if (position.currentPos == 'theatre' || position.currentPos == 'tablet') {\r\n console.log(\"Theater\")\r\n // window.scene.animPlayAllChildrenInTime(\"CA_Wireless_KB_MPD\",position.nintyDegree,animTime,undefined,undefined,undefined,true,position[currentPosName],10);\r\n window.scene.animPlayAllChildrenInTime(\"CA_Wireless_KB_MPD_Keyboard\",position.nintyDegree,animTime,undefined,undefined,undefined,true,position[currentPosName],10);\r\n }\r\n else {\r\n console.log(\"else\")\r\n // window.scene.animPlayAllChildrenInTime(\"CA_Wireless_KB_MPD\",position.nintyDegree,animTime,undefined,undefined,undefined,true,position[currentPosName],0);\r\n window.scene.animPlayAllChildrenInTime(\"CA_Wireless_KB_MPD_Keyboard\",position.nintyDegree,animTime,undefined,undefined,undefined,true,position[currentPosName],0);\r\n }\r\n position.currentPos = 'nintyDegree';\r\n\r\n window.RT_RecordEvent(\"Product Type\",\"Left\",window.config.name);\r\n window.scene.clearRefine();\r\n }\r\n const onTopClick = (isNextPrevious) => {\r\n //Update ZoomBar\r\n\r\n console.log(position.top,position.currentPos)\r\n resetAll();\r\n reverseAll();\r\n var slider = document.getElementById(\"sliderRange\");\r\n\r\n if (slider != null) {\r\n document.getElementById(\"sliderRange\").value = window.scene._nav.getZoomFactor();\r\n setTimeout(function () { document.getElementById(\"sliderRange\").value = window.scene._nav.getZoomFactor(); },1000);\r\n }\r\n\r\n selectedButton = 'onTopClick';\r\n if (!(mob || isipad)) {\r\n document.getElementById('previousView').setAttribute('aria-label','Top view');\r\n\r\n document.getElementById('nextView').setAttribute('aria-label','Top view');\r\n }\r\n if (laptop180) {\r\n window.scene.groupApplyState(\"screenfill_180\");\r\n } else {\r\n window.scene.groupApplyState(\"screenfill_360\");\r\n }\r\n\r\n window.localStorage.removeItem('hotspot');\r\n window.localStorage.removeItem('currentBluetooth');\r\n\r\n var alreadySelected = document.querySelector('.MuiAccordionDetails-root.active');\r\n if (alreadySelected != null) {\r\n alreadySelected.classList.remove('active');\r\n }\r\n\r\n\r\n document.getElementById('topBtn').classList.add('active');\r\n window.localStorage.setItem(\"position\",\"reset\");\r\n window.scene.groupApplyState(\"screen_180\");\r\n if (laptop180) {\r\n window.scene.groupApplyState(\"screenfill_180\");\r\n } else {\r\n window.scene.groupApplyState(\"screenfill_360\");\r\n }\r\n // window.scene.groupApplyState(\"GP_open\");\r\n // window.scene.groupApplyState(\"dynamic_reset\");\r\n\r\n resetBacklitCloseImg();\r\n // reverseAll();\r\n //window.scene.groupApplyState(\"GP_All\");\r\n // window.scene.groupApplyState(\"Backlit_OFF\");\r\n // window.scene.groupApplyState(\"REF_KB\");\r\n window.scene.groupApplyState(\"GP_Reset_OLD\");\r\n window.scene.animPlayInTime(\"Mode_Connection_Button\",0.041666,0);\r\n\r\n GotoPosInTimeNamedValue('Render_Cam_F01_Top',function () {\r\n window.scene.animPlayInTime(\"Mode_Connection_Button\",0.041666,0);\r\n window.localStorage.setItem('hotspot','top')\r\n\r\n if (isNextPrevious != true) {\r\n //alert(isNextPrevious);\r\n window.document.getElementById(\"hotspot1demo\").focus();\r\n }\r\n });\r\n\r\n\r\n if (!(window.isipad || window.mob)) {\r\n document.getElementById(\"hotspot1\").setAttribute(\"tabindex\",\"1\");\r\n document.getElementById(\"hotspot2\").setAttribute(\"tabindex\",\"1\");\r\n document.getElementById(\"hotspot3\").setAttribute(\"tabindex\",\"1\");\r\n document.getElementById(\"hotspot4\").setAttribute(\"tabindex\",\"1\");\r\n document.getElementById(\"hotspot5\").setAttribute(\"tabindex\",\"-1\");\r\n document.getElementById(\"hotspot6\").setAttribute(\"tabindex\",\"-1\");\r\n document.getElementById(\"hotspot7\").setAttribute(\"tabindex\",\"-1\");\r\n document.getElementById(\"hotspot8\").setAttribute(\"tabindex\",\"-1\");\r\n document.getElementById(\"hotspot9\").setAttribute(\"tabindex\",\"-1\");\r\n\r\n document.getElementById(\"rLeft\").setAttribute(\"tabindex\",\"0\");\r\n document.getElementById(\"rRight\").setAttribute(\"tabindex\",\"0\");\r\n document.getElementById(\"zoomOut\").setAttribute(\"tabindex\",\"0\");\r\n document.getElementById(\"sliderRange\").setAttribute(\"tabindex\",\"0\");\r\n document.getElementById(\"zoomIn\").setAttribute(\"tabindex\",\"0\");\r\n document.getElementById(\"previousView\").setAttribute(\"tabindex\",\"0\");\r\n document.getElementById(\"resetView\").setAttribute(\"tabindex\",\"0\");\r\n document.getElementById(\"nextView\").setAttribute(\"tabindex\",\"0\");\r\n\r\n }\r\n\r\n\r\n var currentPosName = position.currentPos;\r\n if (position.top == position[currentPosName]) { position.currentPos = 'top'; return; }\r\n // if (position.currentPos == 'theatre' || position.currentPos == 'tablet') {\r\n // console.log(\"Theater\")\r\n // window.scene.animPlayAllChildrenInTime(\"CA_Wireless_KB_MPD\",position.top,animTime,undefined,undefined,undefined,true,position[currentPosName],10);\r\n window.scene.animPlayAllChildrenInTime(\"CA_Wireless_KB_MPD_Keyboard\",position.top,animTime,undefined,undefined,undefined,true,position[currentPosName],10);\r\n // }\r\n // else {\r\n // console.log(\"else\")\r\n // window.scene.animPlayAllChildrenInTime(\"CA_Wireless_KB_MPD\",position.top,animTime,undefined,undefined,undefined,true,position[currentPosName],0);\r\n window.scene.animPlayAllChildrenInTime(\"CA_Wireless_KB_MPD_Keyboard\",position.top,animTime,undefined,undefined,undefined,true,position[currentPosName],0);\r\n // }\r\n\r\n // position.currentPos = 'top';\r\n\r\n window.RT_RecordEvent(\"Product Type\",\"Top\",window.config.name);\r\n window.scene.clearRefine();\r\n }\r\n\r\n //MenuFeatureView\r\n\r\n const [openCloseOnOff,setOpenCloseOnOff] = useState(false);\r\n const [backlit,setBacklite] = useState(\"./img/Backlite_Off.svg\");\r\n const [opneClose,setOpenClose] = useState(\"./img/Lid_open.svg\");\r\n const [backliteOnOff,setBackliteOnOff] = useState(false);\r\n\r\n\r\n const openCloseClick = () => {\r\n console.log(position.close,position.currentPos)\r\n //Update ZoomBar\r\n var slider = document.getElementById(\"sliderRange\");\r\n\r\n if (slider != null) {\r\n document.getElementById(\"sliderRange\").value = window.scene._nav.getZoomFactor();\r\n setTimeout(function () { document.getElementById(\"sliderRange\").value = window.scene._nav.getZoomFactor(); },1000);\r\n }\r\n selectedButton = 'openCloseClick';\r\n\r\n\r\n var fromPos = window.localStorage.getItem('hotspot')\r\n window.localStorage.removeItem('hotspot');\r\n window.localStorage.removeItem('currentBluetooth');\r\n window.localStorage.setItem('closeMode','on');\r\n var alreadySelected = document.querySelector('.MuiAccordionDetails-root.active');\r\n if (alreadySelected != null) {\r\n alreadySelected.classList.remove('active');\r\n }\r\n\r\n document.getElementById('openCloseBtn').classList.add('active');\r\n window.scene.groupApplyState(\"screen_180\");\r\n if (laptop180) {\r\n window.scene.groupApplyState(\"screenfill_180\");\r\n } else {\r\n window.scene.groupApplyState(\"screenfill_360\");\r\n }\r\n window.scene.groupApplyState(\"GP_open\");\r\n setBackliteOnOff(false);\r\n window.scene.groupApplyState(\"Backlit_OFF\");\r\n\r\n console.log(backliteOnOff);\r\n setBacklite(\"./img/Backlite_Off.svg\");\r\n\r\n\r\n if (openCloseOnOff) {\r\n\r\n document.getElementById('openCloseBtn').setAttribute('aria-label','');\r\n document.getElementById('openCloseLid').innerHTML = 'Open Lid';\r\n if (!(mob || isipad)) {\r\n document.getElementById('previousView').setAttribute('aria-label','Open Lid');\r\n\r\n document.getElementById('nextView').setAttribute('aria-label','Open Lid');\r\n\r\n\r\n }\r\n setOpenCloseOnOff(false);\r\n console.log(\"open\");\r\n setOpenClose(\"./img/Lid_open.svg\");\r\n\r\n\r\n window.scene.groupApplyState(\"dynamic_reset\");\r\n GotoPosInTimeNamedValue('Render_Cam_F15_TF',function () {\r\n\r\n\r\n\r\n });\r\n\r\n var currentPosName = position.currentPos;\r\n if (position.reset == position[currentPosName]) { position.currentPos = 'reset'; return; }\r\n window.scene.animPlayAllChildrenInTime(\"CA_Wireless_KB_MPD\",position.reset,animTime,undefined,undefined,undefined,true,position[currentPosName],0);\r\n window.scene.animPlayAllChildrenInTime(\"CA_Wireless_KB_MPD_Keyboard\",position.reset,animTime,undefined,undefined,undefined,true,position[currentPosName],0);\r\n\r\n window.RT_RecordEvent(\"Features\",\"Open Lid\",window.config.name);\r\n window.scene.clearRefine();\r\n position.currentPos = 'reset';\r\n } else {\r\n\r\n document.getElementById('openCloseBtn').setAttribute('aria-label','');\r\n document.getElementById('openCloseLid').innerHTML = 'Close Lid';\r\n if (!(mob || isipad)) {\r\n document.getElementById('previousView').setAttribute('aria-label','Close Lid');\r\n\r\n document.getElementById('nextView').setAttribute('aria-label','Close Lid');\r\n }\r\n setOpenCloseOnOff(true);\r\n console.log(\"close\");\r\n setBackliteOnOff(false);\r\n setOpenClose(\"./img/Lid_close.svg\");\r\n\r\n\r\n window.scene.groupApplyState(\"dynamic_reset\");\r\n GotoPosInTimeNamedValue('Close_Cam_F158_Close',function () {\r\n\r\n\r\n });\r\n\r\n var currentPosName = position.currentPos;\r\n if (position.close == position[currentPosName]) { position.currentPos = 'close'; return; }\r\n if (position.currentPos == 'theatre' || position.currentPos == 'tablet') {\r\n console.log(\"Theater\")\r\n window.scene.animPlayAllChildrenInTime(\"CA_Wireless_KB_MPD\",position.close,animTime,undefined,undefined,undefined,true,position[currentPosName],10);\r\n window.scene.animPlayAllChildrenInTime(\"CA_Wireless_KB_MPD_Keyboard\",position.close,animTime,undefined,undefined,undefined,true,position[currentPosName],10);\r\n }\r\n else {\r\n console.log(\"else\")\r\n window.scene.animPlayAllChildrenInTime(\"CA_Wireless_KB_MPD\",position.close,animTime,undefined,undefined,undefined,true,position[currentPosName],0);\r\n\r\n window.scene.animPlayAllChildrenInTime(\"CA_Wireless_KB_MPD_Keyboard\",position.close,animTime,undefined,undefined,undefined,true,position[currentPosName],0);\r\n }\r\n\r\n window.RT_RecordEvent(\"Features\",\"Close Lid\",window.config.name);\r\n window.scene.clearRefine();\r\n position.currentPos = 'close';\r\n }\r\n\r\n\r\n }\r\n let backliteVar = document.getElementById('backlitBtn');\r\n\r\n const backliteClick = () => {\r\n\r\n //Update ZoomBar\r\n var slider = document.getElementById(\"sliderRange\");\r\n\r\n if (slider != null) {\r\n document.getElementById(\"sliderRange\").value = window.scene._nav.getZoomFactor();\r\n setTimeout(function () { document.getElementById(\"sliderRange\").value = window.scene._nav.getZoomFactor(); },1000);\r\n }\r\n\r\n selectedButton = 'backliteClick';\r\n setBackliteOnOff(false);\r\n setBacklite(\"./img/Backlite_Off.svg\");\r\n\r\n window.localStorage.removeItem('hotspot');\r\n window.localStorage.removeItem('currentBluetooth');\r\n var alreadySelected = document.querySelector('.MuiAccordionDetails-root.active');\r\n if (alreadySelected != null) {\r\n alreadySelected.classList.remove('active');\r\n }\r\n\r\n document.getElementById('backlitBtn').classList.add('active');\r\n\r\n window.localStorage.setItem(\"position\",\"reset\");\r\n window.scene.groupApplyState(\"screen_180\");\r\n window.scene.groupApplyState(\"dynamic_reset\");\r\n\r\n if (laptop180) {\r\n window.scene.groupApplyState(\"screenfill_180\");\r\n } else {\r\n window.scene.groupApplyState(\"screenfill_360\");\r\n }\r\n window.scene.groupApplyState(\"GP_open\");\r\n window.scene.groupApplyState(\"dynamic_reset\");\r\n\r\n resetBacklitCloseImg();\r\n\r\n GotoPosInTimeNamedValue('Render_Cam_F01_Top',function () {\r\n\r\n window.localStorage.setItem('hotspot','backlit');\r\n\r\n window.scene.clearRefine();\r\n })\r\n\r\n //add for tab issues\r\n document.getElementById(\"hotspot1\").setAttribute(\"tabindex\",\"-1\");\r\n document.getElementById(\"hotspot2\").setAttribute(\"tabindex\",\"-1\");\r\n document.getElementById(\"hotspot3\").setAttribute(\"tabindex\",\"-1\");\r\n document.getElementById(\"hotspot4\").setAttribute(\"tabindex\",\"-1\");\r\n document.getElementById(\"hotspot5\").setAttribute(\"tabindex\",\"-1\");\r\n document.getElementById(\"hotspot6\").setAttribute(\"tabindex\",\"-1\");\r\n document.getElementById(\"hotspot7\").setAttribute(\"tabindex\",\"-1\");\r\n document.getElementById(\"hotspot8\").setAttribute(\"tabindex\",\"-1\");\r\n document.getElementById(\"hotspot9\").setAttribute(\"tabindex\",\"-1\");\r\n\r\n if (backliteOnOff) {\r\n\r\n console.log(\"off\");\r\n setBackliteOnOff(false);\r\n // backliteVar.setAttribute.ariaLabel = \"Close dialog\";\r\n document.getElementById('backlitBtn').setAttribute('aria-label','');\r\n document.getElementById('backlitOnnOff').innerHTML = 'Backlit off';\r\n if (!(mob || isipad)) {\r\n document.getElementById('previousView').setAttribute('aria-label','Backlit off');\r\n document.getElementById('nextView').setAttribute('aria-label','Backlit off');\r\n }\r\n GotoPosInTimeNamedValue('Render_Cam_F01_Top',function () { })\r\n\r\n window.scene.groupApplyState(\"Backlit_OFF\");\r\n // window.scene.clearRefine();\r\n // document.getElementById('backlitOff').style.display=\"none\";\r\n // document.getElementById('backlitOn').style.display=\"block\";\r\n // window.document.getElementById('backlitOff').src=\"./img/Backlite_Off.svg\";\r\n window.RT_RecordEvent(\"Features\",\"Backlite Off\",window.config.name);\r\n\r\n } else {\r\n // backliteVar.setAttribute.ariaLabel = \"Backlit on\";\r\n document.getElementById('backlitBtn').setAttribute('aria-label','');\r\n document.getElementById('backlitOnnOff').innerHTML = 'Backlit on';\r\n if (!(mob || isipad)) {\r\n document.getElementById('previousView').setAttribute('aria-label','Backlit on');\r\n document.getElementById('nextView').setAttribute('aria-label','Backlit on');\r\n }\r\n setBackliteOnOff(true);\r\n console.log(\"on\");\r\n setBacklite(\"./img/Backlite_On.svg\");\r\n GotoPosInTimeNamedValue('Render_Cam_F01_Top',function () {\r\n })\r\n window.scene.groupApplyState(\"Backlit_ON\");\r\n // document.getElementById('backlitOn').style.display=\"none\";\r\n // document.getElementById('backlitOff').style.display=\"block\";\r\n // window.document.getElementById('backlitOn').src=\"./img/Backlite_On.svg\";\r\n window.RT_RecordEvent(\"Features\",\"Backlite On\",window.config.name);\r\n window.scene.clearRefine();\r\n\r\n }\r\n var currentPosName = position.currentPos;\r\n if (position.top == position[currentPosName]) { position.currentPos = 'top'; return; }\r\n if (position.currentPos == 'theatre' || position.currentPos == 'tablet') {\r\n console.log(\"Theater\")\r\n window.scene.animPlayAllChildrenInTime(\"CA_Wireless_KB_MPD\",position.top,animTime,undefined,undefined,undefined,true,position[currentPosName],10);\r\n window.scene.animPlayAllChildrenInTime(\"CA_Wireless_KB_MPD_Keyboard\",position.top,animTime,undefined,undefined,undefined,true,position[currentPosName],10);\r\n }\r\n else {\r\n console.log(\"else\")\r\n window.scene.animPlayAllChildrenInTime(\"CA_Wireless_KB_MPD\",position.top,animTime,undefined,undefined,undefined,true,position[currentPosName],0);\r\n\r\n window.scene.animPlayAllChildrenInTime(\"CA_Wireless_KB_MPD_Keyboard\",position.top,animTime,undefined,undefined,undefined,true,position[currentPosName],0);\r\n }\r\n window.scene.clearRefine();\r\n position.currentPos = 'top';\r\n }\r\n\r\n //menucolor\r\n\r\n const color1Click = () => {\r\n // var alreadySelecte = document.querySelector('.MuiAccordionDetails-root.select');\r\n // alreadySelecte.classList.remove('select');\r\n\r\n var alreadySelecte = document.querySelector('.MuiAccordionDetails-root.select');\r\n if (alreadySelecte != null) {\r\n alreadySelecte.classList.remove('select');\r\n }\r\n\r\n var alreadySelected = document.querySelector('.MuiAccordionDetails-root.active');\r\n if (alreadySelected != null) {\r\n alreadySelected.classList.remove('active');\r\n }\r\n // document.getElementById('whiteBtn').classList.add('select');\r\n // document.getElementById('whiteBtn').classList.add('active');\r\n\r\n\r\n window.localStorage.setItem(\"position\",\"reset\");\r\n\r\n setOpenCloseOnOff(false);\r\n setOpenClose(\"./img/Lid_open.svg\");\r\n setBackliteOnOff(false);\r\n setBacklite(\"./img/Backlite_Off.svg\");\r\n setLaptop360FrontImg(\"./img/front180White.png\");\r\n setLaptop360TopImg(\"./img/top180White.png\");\r\n setLaptop360LefttImg(\"./img/180_white_left.png\");\r\n setLaptop360RightImg(\"./img/180_white_right.png\");\r\n window.scene.groupApplyState(\"screenfill_180\");\r\n window.localStorage.setItem(\"color\",\"laptopSilver\");\r\n setPort4Click(false);\r\n if (window.localStorage.getItem('laptop') == 'laptop360') {\r\n // console.log('a')\r\n window.scene.groupApplyState(\"Silver\");\r\n\r\n }\r\n else if (window.localStorage.getItem('laptop') == 'laptop180') {\r\n // console.log('b')\r\n window.scene.groupApplyState(\"Silver_180\");\r\n window.scene.groupApplyState(\"screenfill_180\");\r\n\r\n }\r\n window.localStorage.setItem(\"silver\",true);\r\n window.RT_RecordEvent(\"Color\",\"Aluminium\",window.config.name);\r\n window.scene.clearRefine();\r\n\r\n\r\n\r\n }\r\n\r\n const color2Click = () => {\r\n\r\n\r\n window.localStorage.setItem(\"position\",\"reset\");\r\n window.localStorage.setItem(\"color\",\"laptopBlack\");\r\n window.localStorage.removeItem('closeMode')\r\n\r\n\r\n setOpenCloseOnOff(false);\r\n setOpenClose(\"./img/Lid_open.svg\");\r\n setBackliteOnOff(false);\r\n setBacklite(\"./img/Backlite_Off.svg\");\r\n setLaptop360FrontImg(\"./img/front180Black.png\");\r\n setLaptop360TopImg(\"./img/top180Black.png\");\r\n setLaptop360LefttImg(\"./img/180_black_left.png\");\r\n setLaptop360RightImg(\"./img/180_black_right.png\");\r\n window.scene.groupApplyState(\"screenfill_180\");\r\n setPort2Click(false);\r\n setPort1Click(false);\r\n setPort3Click(false);\r\n setPort4Click(false);\r\n\r\n window.localStorage.setItem(\"Carbon_Fibre\",true);\r\n if (window.localStorage.getItem('laptop') == 'laptop360') {\r\n // console.log('a')\r\n // var alreadySelecte = document.querySelector('.MuiAccordionDetails-root.select');\r\n // alreadySelecte.classList.remove('select');\r\n\r\n var alreadySelecte = document.querySelector('.MuiAccordionDetails-root.select');\r\n if (alreadySelecte != null) {\r\n alreadySelecte.classList.remove('select');\r\n }\r\n\r\n var alreadySelected = document.querySelector('.MuiAccordionDetails-root.active');\r\n if (alreadySelected != null) {\r\n alreadySelected.classList.remove('active');\r\n }\r\n // document.getElementById('whiteBtn').classList.add('select');\r\n // document.getElementById('whiteBtn').classList.add('active');\r\n window.scene.groupApplyState(\"Silver\");\r\n\r\n }\r\n else if (window.localStorage.getItem('laptop') == 'laptop180') {\r\n // console.log('b')\r\n // var alreadySelecte = document.querySelector('.MuiAccordionDetails-root.select');\r\n // alreadySelecte.classList.remove('select');\r\n\r\n var alreadySelecte = document.querySelector('.MuiAccordionDetails-root.select');\r\n if (alreadySelecte != null) {\r\n alreadySelecte.classList.remove('select');\r\n }\r\n\r\n var alreadySelected = document.querySelector('.MuiAccordionDetails-root.active');\r\n if (alreadySelected != null) {\r\n alreadySelected.classList.remove('active');\r\n }\r\n // document.getElementById('blackBtn').classList.add('select');\r\n // document.getElementById('blackBtn').classList.add('active');\r\n window.scene.groupApplyState(\"Carbon_Black\");\r\n window.scene.groupApplyState(\"screenfill_180\");\r\n\r\n }\r\n window.RT_RecordEvent(\"Color\",\"Carbon Fiber\",window.config.name);\r\n window.scene.clearRefine();\r\n }\r\n //Menu Position\r\n\r\n const [port1Click,setPort1Click] = useState(false);\r\n const [port2Click,setPort2Click] = useState(false);\r\n const [port3Click,setPort3Click] = useState(false);\r\n const [port4Click,setPort4Click] = useState(false);\r\n const [port5Click,setPort5Click] = useState(true);\r\n\r\n const [nextClick,setNextClick] = useState(false);\r\n const [prevClick,setPrevClick] = useState(false);\r\n\r\n const TentModeClick = () => {\r\n console.log(position.tent,position.currentPos)\r\n\r\n //Update ZoomBar\r\n var slider = document.getElementById(\"sliderRange\");\r\n\r\n if (slider != null) {\r\n document.getElementById(\"sliderRange\").value = window.scene._nav.getZoomFactor();\r\n setTimeout(function () { document.getElementById(\"sliderRange\").value = window.scene._nav.getZoomFactor(); },1000);\r\n }\r\n\r\n var alreadySelected = document.querySelector('.MuiAccordionDetails-root.active');\r\n if (alreadySelected != null) {\r\n alreadySelected.classList.remove('active');\r\n }\r\n\r\n document.getElementById('tentBtn').classList.add('active');\r\n window.scene.groupApplyState(\"screen_360\");\r\n\r\n selectedButton = 'TentModeClick';\r\n if (!(mob || isipad)) {\r\n document.getElementById('previousView').setAttribute('aria-label','Tent Mode');\r\n\r\n document.getElementById('nextView').setAttribute('aria-label','Tent Mode');\r\n }\r\n setOpenCloseOnOff(false);\r\n setOpenClose(\"./img/Lid_open.svg\");\r\n setBackliteOnOff(false);\r\n setBacklite(\"./img/Backlite_Off.svg\");\r\n window.localStorage.removeItem('hotspot');\r\n window.localStorage.removeItem('currentBluetooth');\r\n GotoPosInTimeNamedValue('Tent_Cam_F53_Tent',function () {\r\n window.scene.groupApplyState(\"GP_tent\");\r\n });\r\n\r\n var currentPosName = position.currentPos;\r\n if (position.tent == position[currentPosName]) { position.currentPos = 'tent'; return; }\r\n window.scene.animPlayAllChildrenInTime(\"CA_Wireless_KB_MPD\",position.tent,animTime,undefined,undefined,undefined,true,position[currentPosName],4);\r\n window.scene.animPlayAllChildrenInTime(\"CA_Wireless_KB_MPD_Keyboard\",position.tent,animTime,undefined,undefined,undefined,true,position[currentPosName],4);\r\n\r\n window.RT_RecordEvent(\"Positions\",\"Tent\",window.config.name);\r\n window.scene.clearRefine();\r\n position.currentPos = 'tent';\r\n\r\n }\r\n\r\n const TheaterModeClick = () => {\r\n console.log(position.theatre,position.currentPos)\r\n\r\n //Update ZoomBar\r\n var slider = document.getElementById(\"sliderRange\");\r\n\r\n if (slider != null) {\r\n document.getElementById(\"sliderRange\").value = window.scene._nav.getZoomFactor();\r\n setTimeout(function () { document.getElementById(\"sliderRange\").value = window.scene._nav.getZoomFactor(); },1000);\r\n }\r\n\r\n var alreadySelected = document.querySelector('.MuiAccordionDetails-root.active');\r\n if (alreadySelected != null) {\r\n alreadySelected.classList.remove('active');\r\n }\r\n\r\n document.getElementById('theaterBtn').classList.add('active');\r\n window.scene.groupApplyState(\"screen_180\");\r\n\r\n window.localStorage.removeItem('closeMode')\r\n selectedButton = 'TheaterModeClick';\r\n if (!(mob || isipad)) {\r\n document.getElementById('previousView').setAttribute('aria-label','Theater Mode');\r\n\r\n document.getElementById('nextView').setAttribute('aria-label','Theater Mode');\r\n }\r\n window.scene.groupApplyState(\"Backlit_OFF\");\r\n window.scene.groupApplyState(\"all_GP_off\");\r\n setOpenCloseOnOff(false);\r\n setOpenClose(\"./img/Lid_open.svg\");\r\n setBackliteOnOff(false);\r\n setBacklite(\"./img/Backlite_Off.svg\");\r\n\r\n window.localStorage.removeItem('hotspot');\r\n window.localStorage.removeItem('currentBluetooth');\r\n GotoPosInTimeNamedValue('Render_Cam_F100_Stand');\r\n\r\n var currentPosName = position.currentPos;\r\n if (position.theatre == position[currentPosName]) { position.currentPos = 'theatre'; return; }\r\n window.scene.animPlayAllChildrenInTime(\"CA_Wireless_KB_MPD\",position.theatre,animTime,undefined,undefined,undefined,true,position[currentPosName],9);\r\n window.scene.animPlayAllChildrenInTime(\"CA_Wireless_KB_MPD_Keyboard\",position.theatre,animTime,undefined,undefined,undefined,true,position[currentPosName],4);\r\n\r\n window.RT_RecordEvent(\"Positions\",\"Theatre\",window.config.name);\r\n window.scene.clearRefine();\r\n position.currentPos = 'theatre';\r\n\r\n }\r\n const TabletModeClick = () => {\r\n console.log(position.tent,position.currentPos)\r\n\r\n //Update ZoomBar\r\n var slider = document.getElementById(\"sliderRange\");\r\n\r\n if (slider != null) {\r\n document.getElementById(\"sliderRange\").value = window.scene._nav.getZoomFactor();\r\n setTimeout(function () { document.getElementById(\"sliderRange\").value = window.scene._nav.getZoomFactor(); },1000);\r\n }\r\n\r\n var alreadySelected = document.querySelector('.MuiAccordionDetails-root.active');\r\n if (alreadySelected != null) {\r\n alreadySelected.classList.remove('active');\r\n }\r\n\r\n\r\n document.getElementById('tabletBtn').classList.add('active');\r\n window.scene.groupApplyState(\"screen_180\");\r\n window.scene.groupApplyState(\"all_GP_off\");\r\n\r\n selectedButton = 'TabletModeClick';\r\n if (!(mob || isipad)) {\r\n document.getElementById('previousView').setAttribute('aria-label','Tablet Mode');\r\n\r\n document.getElementById('nextView').setAttribute('aria-label','Tablet Mode');\r\n }\r\n window.scene.groupApplyState(\"Backlit_OFF\");\r\n setOpenCloseOnOff(false);\r\n setOpenClose(\"./img/Lid_open.svg\");\r\n setBackliteOnOff(false);\r\n setBacklite(\"./img/Backlite_Off.svg\");\r\n\r\n window.localStorage.removeItem('hotspot');\r\n window.localStorage.removeItem('currentBluetooth');\r\n GotoPosInTimeNamedValue('Close_Cam_F158_Close1');\r\n\r\n var currentPosName = position.currentPos;\r\n if (position.tablet == position[currentPosName]) { position.currentPos = 'tablet'; return; }\r\n window.scene.animPlayAllChildrenInTime(\"CA_Wireless_KB_MPD\",position.tablet,animTime,undefined,undefined,undefined,true,position[currentPosName],10);\r\n window.scene.animPlayAllChildrenInTime(\"CA_Wireless_KB_MPD_Keyboard\",position.tablet,animTime,undefined,undefined,undefined,true,position[currentPosName],10);\r\n\r\n window.RT_RecordEvent(\"Positions\",\"Tablet\",window.config.name);\r\n window.scene.clearRefine();\r\n position.currentPos = 'tablet';\r\n }\r\n const resetMode = () => {\r\n selectedButton = 'onResetMode';\r\n GotoPosInTimeNamedValue('Render_Cam_F01_FL',function () { })\r\n if (!(mob || isipad)) {\r\n document.getElementById('previousView').setAttribute('aria-label','Reset Mode');\r\n\r\n document.getElementById('nextView').setAttribute('aria-label','Reset Mode');\r\n }\r\n }\r\n const onResetMode = () => {\r\n //Update ZoomBar\r\n console.log(position.tent,position.currentPos)\r\n\r\n var slider = document.getElementById(\"sliderRange\");\r\n\r\n if (slider != null) {\r\n document.getElementById(\"sliderRange\").value = window.scene._nav.getZoomFactor();\r\n setTimeout(function () { document.getElementById(\"sliderRange\").value = window.scene._nav.getZoomFactor(); },1000);\r\n }\r\n\r\n // var alreadySelected = document.querySelector('.MuiAccordionDetails-root.active');\r\n // alreadySelected.classList.remove('active');\r\n\r\n // document.getElementById('whiteBtn').classList.add('active');\r\n\r\n\r\n window.scene.groupApplyState(\"screen_180\");\r\n // window.scene.groupApplyState(\"GP_open\");\r\n // window.scene.groupApplyState(\"dynamic_reset\");\r\n window.localStorage.removeItem('color');\r\n if (laptop180) {\r\n window.scene.groupApplyState(\"screenfill_180\");\r\n } else {\r\n window.scene.groupApplyState(\"screenfill_360\");\r\n }\r\n // selectedButton = 'onResetMode';\r\n\r\n if (selectedButton == 'TentModeClick') {\r\n TentModeClick();\r\n GotoPosInTimeNamedValue('Tent_Cam_F53_Tent',function () {\r\n window.scene.groupApplyState(\"GP_tent\");\r\n });\r\n }\r\n else if (selectedButton == 'TheaterModeClick') {\r\n TheaterModeClick();\r\n GotoPosInTimeNamedValue('Render_Cam_F100_Stand');\r\n\r\n }\r\n else if (selectedButton == 'TabletModeClick') {\r\n GotoPosInTimeNamedValue('Close_Cam_F158_Close1');\r\n TabletModeClick();\r\n }\r\n else if (selectedButton == 'onWirelessDesignClick') {\r\n console.log(\"front onreset\")\r\n GotoPosInTimeNamedValue('Render_Cam_F01_TL',function () {\r\n\r\n });\r\n onWirelessDesignClick();\r\n }\r\n else if (selectedButton == 'onWorkspaceClick') {\r\n console.log(\"front onreset\")\r\n GotoPosInTimeNamedValue('Render_Cam_F01_TL',function () {\r\n\r\n });\r\n onWorkspaceClick();\r\n }\r\n else if (selectedButton == 'onKeysClick') {\r\n console.log(\"front onreset\")\r\n GotoPosInTimeNamedValue('Render_Cam_F01_TL',function () {\r\n\r\n });\r\n onKeysClick();\r\n }\r\n\r\n\r\n else if (selectedButton == 'onTopClick') {\r\n console.log(\"top onreset\")\r\n\r\n GotoPosInTimeNamedValue('Render_Cam_F01_Top',function () { });\r\n onTopClick();\r\n }\r\n else if (selectedButton == 'onSideClick') {\r\n\r\n GotoPosInTimeNamedValue('Render_Cam_F01_L',function () {\r\n window.localStorage.setItem('hotspot','side')\r\n\r\n });\r\n onSideClick();\r\n\r\n }\r\n else if (selectedButton == 'onOverviewClick') {\r\n onOverviewClick();\r\n GotoPosInTimeNamedValue('Render_Cam_F01_FL',function () {\r\n window.localStorage.setItem('hotspot','overview')\r\n\r\n })\r\n }\r\n else if (selectedButton == 'openCloseClick') {\r\n if (openCloseOnOff) {\r\n // setOpenCloseOnOff(false);\r\n // setOpenClose(\"./img/Lid_open.svg\");\r\n // window.scene.groupApplyState(\"dynamic_reset\");\r\n\r\n GotoPosInTimeNamedValue('Close_Cam_F158_Close',function () {\r\n\r\n });\r\n\r\n\r\n } else {\r\n // setOpenCloseOnOff(true);\r\n // setOpenClose(\"./img/Lid_close.svg\");\r\n // window.scene.groupApplyState(\"dynamic_reset\");\r\n GotoPosInTimeNamedValue('Render_Cam_F01_L',function () {\r\n\r\n });\r\n }\r\n\r\n }\r\n else if (selectedButton == 'backliteClick') {\r\n // if (backliteOnOff) {\r\n\r\n // // console.log(\"off\");\r\n // // setBackliteOnOff(false);\r\n // GotoPosInTimeNamedValue('Render_Cam_F01_Top', function(){})\r\n\r\n // // window.scene.groupApplyState(\"Backlit_OFF\");\r\n // window.scene.clearRefine();\r\n // // setBacklite(\"./img/Backlite_Off.svg\");\r\n // } else {\r\n\r\n // setBackliteOnOff(true);\r\n // console.log(\"on\");\r\n // setBacklite(\"./img/Backlite_On.svg\");\r\n GotoPosInTimeNamedValue('Render_Cam_F01_Top',function () {\r\n })\r\n // window.scene.groupApplyState(\"Backlit_ON\");\r\n window.scene.clearRefine();\r\n\r\n // }\r\n\r\n\r\n } else if (selectedButton == 'onResetMode') {\r\n resetMode()\r\n GotoPosInTimeNamedValue('Render_Cam_F01_FL',function () { })\r\n }\r\n\r\n // selectedButton = 'onResetMode';\r\n // setExpandedPanel(false);\r\n\r\n\r\n // resetBacklitCloseImg();\r\n // window.localStorage.removeItem('closeMode');\r\n // window.scene.groupApplyState(\"Backlit_OFF\");\r\n // window.localStorage.removeItem('hotspot');\r\n // GotoPosInTimeNamedValue('Render_Cam_F01_FL');\r\n\r\n // GotoPosInTimeNamedValue('Render_Cam_F01_FL', function(){\r\n // if (window.localStorage.getItem(\"Carbon_Fibre\") == true) {\r\n // window.scene.groupApplyState(\"Carbon_Fibre_180A\");\r\n // window.scene.groupApplyState(\"Screen_Fill_180_ON\");\r\n // } else if (window.localStorage.getItem(\"silver\") == true) {\r\n // window.scene.groupApplyState(\"Silver\");\r\n // window.scene.groupApplyState(\"Screen_Fill_180_Silver_ON\");\r\n // }\r\n\r\n window.scene.clearRefine();\r\n // });\r\n // var currentPosName = position.currentPos;\r\n\r\n // if(position.reset == position[currentPosName]) {position.currentPos = 'reset';return;}\r\n\r\n // if(position.currentPos == 'theatre' || position.currentPos == 'tablet'){\r\n // console.log(\"Theater\")\r\n // window.scene.animPlayAllChildrenInTime(\"CA_Wireless_KB_MPD\", position.reset, animTime, undefined, undefined, undefined, true, position[currentPosName], 10);\r\n // window.scene.animPlayAllChildrenInTime(\"CA_Wireless_KB_MPD_Keyboard\", position.reset, animTime, undefined, undefined, undefined, true, position[currentPosName], 10);\r\n // } else {\r\n\r\n // window.scene.animPlayAllChildrenInTime(\"CA_Wireless_KB_MPD\", position.reset, animTime, undefined, undefined, undefined, true, position[currentPosName], 0);\r\n // window.scene.animPlayAllChildrenInTime(\"CA_Wireless_KB_MPD_Keyboard\", position.reset, animTime, undefined, undefined, undefined, true, position[currentPosName], 0);\r\n // }\r\n // window.scene.clearRefine();\r\n // position.currentPos = 'reset';\r\n\r\n\r\n }\r\n\r\n const onPreviousMode = () => {\r\n\r\n //Update ZoomBar\r\n var slider = document.getElementById(\"sliderRange\");\r\n\r\n if (slider != null) {\r\n document.getElementById(\"sliderRange\").value = window.scene._nav.getZoomFactor();\r\n setTimeout(function () { document.getElementById(\"sliderRange\").value = window.scene._nav.getZoomFactor(); },1000);\r\n }\r\n // alert(selectedButton)\r\n if (laptop180) {\r\n var prevButton;\r\n var selectedButtonIndex = buttonSeq180.findIndex(element => element === selectedButton)\r\n if (selectedButton == 'onOverviewClick' || selectedButton == 'onResetMode') {\r\n prevButton = 'onSideClick';\r\n } else {\r\n prevButton = buttonSeq180[selectedButtonIndex - 1];\r\n }\r\n }\r\n else {\r\n var prevButton;\r\n var selectedButtonIndex = buttonSeq.findIndex(element => element === selectedButton)\r\n if (selectedButton == 'onOverviewClick' || selectedButton == 'onResetMode') {\r\n prevButton = 'onKeysClick';\r\n } else {\r\n prevButton = buttonSeq[selectedButtonIndex - 1];\r\n }\r\n }\r\n // alert(buttonSeq[selectedButtonIndex+1])\r\n\r\n if (prevButton == 'onOverviewClick') onOverviewClick(true);\r\n else if (prevButton == 'onWirelessDesignClick') onWirelessDesignClick(true);\r\n else if (prevButton == 'onWorkspaceClick') onWorkspaceClick(true);\r\n else if (prevButton == 'onKeysClick') { onKeysClick(true); setExpandedPanel(\"panel1\"); }\r\n\r\n // else if (prevButton == 'onKeysClick') {\r\n // onKeysClick(true);\r\n // setExpandedPanel(\"panel1\");\r\n // }\r\n\r\n else if (prevButton == 'onTopClick') onTopClick(true);\r\n\r\n else if (prevButton == 'onSideClick') onSideClick(true);\r\n\r\n // else if (prevButton == 'onSideClick') {\r\n // onSideClick(true);\r\n // setExpandedPanel(\"panel1\");\r\n\r\n // }\r\n // else if (prevButton == 'openCloseClick') openCloseClick(true);\r\n // else if (prevButton == 'backliteClick') {\r\n // setExpandedPanel(\"panel3\");\r\n\r\n // backliteClick(true);\r\n // }\r\n return false;\r\n\r\n }\r\n\r\n\r\n const onNextMode = () => {\r\n\r\n //Update ZoomBar\r\n var slider = document.getElementById(\"sliderRange\");\r\n if (slider != null) {\r\n document.getElementById(\"sliderRange\").value = window.scene._nav.getZoomFactor();\r\n setTimeout(function () { document.getElementById(\"sliderRange\").value = window.scene._nav.getZoomFactor(); },1000);\r\n }\r\n if (laptop180) {\r\n\r\n var nextButton;\r\n var selectedButtonIndex = buttonSeq180.findIndex(element => element === selectedButton)\r\n if (selectedButton == 'onWorkspaceClick') {\r\n nextButton = 'onOverviewClick';\r\n } else {\r\n nextButton = buttonSeq180[selectedButtonIndex + 1];\r\n }\r\n\r\n }\r\n else {\r\n var nextButton;\r\n var selectedButtonIndex = buttonSeq.findIndex(element => element === selectedButton)\r\n if (selectedButton == 'onKeysClick') {\r\n nextButton = 'onOverviewClick';\r\n } else {\r\n nextButton = buttonSeq[selectedButtonIndex + 1];\r\n }\r\n\r\n }\r\n // alert(laptop180)\r\n\r\n\r\n\r\n if (nextButton == 'onOverviewClick') {\r\n onOverviewClick(true);\r\n setExpandedPanel(\"panel1\");\r\n\r\n }\r\n else if (nextButton == 'onWirelessDesignClick') { onWirelessDesignClick(true); }\r\n else if (nextButton == 'onWorkspaceClick') { onWorkspaceClick(true); }\r\n else if (nextButton == 'onKeysClick') { onKeysClick(true); }\r\n else if (nextButton == 'onTopClick') onTopClick(true);\r\n else if (nextButton == 'onSideClick') onSideClick(true);\r\n\r\n\r\n // else if (nextButton == 'openCloseClick') {\r\n // openCloseClick(true);\r\n // setExpandedPanel(\"panel3\");\r\n // }\r\n\r\n // else if (nextButton == 'backliteClick') backliteClick(true);\r\n return false;\r\n\r\n\r\n }\r\n\r\n // useEffect(()=>{\r\n // getData();\r\n\r\n // },[counter])\r\n const [animValue,setAnimValue] = useState(\"On\");\r\n const [animValue1,setAnimValue1] = useState(\"On\");\r\n // window.localStorage.setItem('Animation', 'on');\r\n\r\n // useEffect(() => {\r\n // // alert();\r\n // document.getElementById(\"animSwitchValue\").setAttribute('aria-label','Animation On')\r\n // // document.getElementById('animSwitchValue').setAttribute('aria-label','clickable checkbox checked On');\r\n // document.getElementById(\"animSwitchValue\").checked = true;\r\n\r\n // setAnimValue(\"On\");\r\n // window.localStorage.setItem('Animation','on');\r\n // document.getElementsByClassName('onOff')[0].style.left = \"-17px\";\r\n // window.animationSwitchVal = 'on';\r\n\r\n\r\n\r\n // document.getElementById(\"animSwitchValue1\").setAttribute('aria-label','Animation On')\r\n // // document.getElementById('animSwitchValue1').setAttribute('aria-label','clickable checkbox checked On');\r\n // document.getElementById(\"animSwitchValue1\").checked = true;\r\n\r\n // setAnimValue(\"On\");\r\n // window.localStorage.setItem('Animation','on');\r\n // document.getElementsByClassName('onOff1')[0].style.left = \"-17px\";\r\n\r\n // },[]);\r\n\r\n useEffect(() => {\r\n window.localStorage.setItem('Animation','on');\r\n document.getElementById(\"animSwitchValue\").checked = 'true';\r\n\r\n setAnimValue(\"On\");\r\n document.getElementsByClassName('onOff')[0].style.left = \"-17px\";\r\n\r\n if (!(mob || isipad)) {\r\n document.getElementById(\"animSwitchValue1\").checked = 'true';\r\n setAnimValue1(\"On\");\r\n window.localStorage.setItem('Animation1','on');\r\n document.getElementsByClassName('onOff1')[0].style.left = \"-17px\";\r\n\r\n }\r\n\r\n },[]);\r\n\r\n const setAnimationSwitch = (e) => {\r\n console.log(e)\r\n // displayName(e);\r\n const isChecked = document.getElementById(\"animSwitchValue\").checked;\r\n\r\n if (isChecked == true) {\r\n document.getElementById(\"animSwitchValue\").setAttribute('aria-label','Animation Off');\r\n document.getElementById(\"animSwitchValue\").checked = false;\r\n setAnimValue(\"Off\");\r\n document.getElementsByClassName('onOff')[0].style.left = \"9px\";\r\n window.localStorage.setItem('Animation','off');\r\n window.animationSwitchVal = 'off';\r\n\r\n window.RT_RecordEvent(\"Animations\",\"Off\",window.config.name);\r\n // document.getElementById('animSwitchValue').setAttribute('aria-label', '');\r\n // document.getElementById('animSwitchValue').innerHTML = 'clickable checkbox checked On';\r\n // alert(\"Animation On\");\r\n\r\n } else {\r\n document.getElementById(\"animSwitchValue\").setAttribute('aria-label','Animation On')\r\n document.getElementById(\"animSwitchValue\").checked = true;\r\n window.animationSwitchVal = 'on';\r\n setAnimValue(\"On\");\r\n window.localStorage.setItem('Animation','on');\r\n document.getElementsByClassName('onOff')[0].style.left = \"-17px\";\r\n\r\n window.RT_RecordEvent(\"Animations\",\"On\",window.config.name);\r\n // alert(\"Animation Off\");\r\n // document.getElementById('animSwitchValue').setAttribute('aria-label', '');\r\n // document.getElementById('animSwitchValue').innerHTML = 'clickable checkbox checked Off';\r\n }\r\n }\r\n\r\n const displayName = (e) => {\r\n console.log(e)\r\n const isChecked = document.getElementById(\"animSwitchValue\").checked;\r\n\r\n if (isChecked == true) {\r\n setAnimValue(\"On\");\r\n window.localStorage.setItem('Animation','on');\r\n document.getElementsByClassName('onOff')[0].style.left = \"-17px\";\r\n document.getElementById('animSwitchValue').setAttribute('aria-label','');\r\n document.getElementById('animSwitchValue').innerHTML = 'clickable checkbox checked On';\r\n window.animationSwitchVal = 'off';\r\n // document.getElementById('animSwitchValue').setAttribute('aria-label','clickable checkbox checked On');\r\n // alert(\"Animation On\");\r\n\r\n } else {\r\n setAnimValue(\"Off\");\r\n document.getElementsByClassName('onOff')[0].style.left = \"9px\";\r\n window.localStorage.setItem('Animation','off');\r\n document.getElementById('animSwitchValue').setAttribute('aria-label','');\r\n document.getElementById('animSwitchValue').innerHTML = 'clickable checkbox checked Off';\r\n window.animationSwitchVal = 'on';\r\n // document.getElementById('animSwitchValue').setAttribute('aria-label','clickable checkbox checked Off');\r\n // alert(\"Animation Off\");\r\n\r\n }\r\n\r\n }\r\n\r\n const keyboardOff = () => {\r\n console.log('Keyboard off');\r\n document.onkeydown = function (e) {\r\n if (e.keyCode == 13 || e.keyCode == 32)\r\n setExpandedPanel(false)\r\n e.preventDefault();\r\n return false;\r\n };\r\n }\r\n const keyboardOn = () => {\r\n console.log('Keyboard on');\r\n document.onkeydown = function (e) {\r\n return true;\r\n }\r\n }\r\n\r\n\r\n const setAnimationSwitch1 = (e) => {\r\n console.log(e)\r\n // displayName(e);\r\n const isChecked = document.getElementById(\"animSwitchValue1\").checked;\r\n\r\n if (isChecked == true) {\r\n //document.getElementById(\"animSwitchValue\").setAttribute('aria-label', 'Animation Off');\r\n document.getElementById(\"animSwitchValue1\").checked = false;\r\n setAnimValue1(\"Off\");\r\n // keyboardOff();\r\n document.getElementsByClassName('onOff1')[0].style.left = \"9px\";\r\n // window.localStorage.setItem('Animation1','off');\r\n window.animationSwitchVal = 'off';\r\n window.animationSwitchGlobal = 'off';\r\n\r\n\r\n } else {\r\n // document.getElementById(\"animSwitchValue\").setAttribute('aria-label', 'Animation On')\r\n document.getElementById(\"animSwitchValue1\").checked = true;\r\n\r\n setAnimValue1(\"On\");\r\n window.animationSwitchVal = 'on';\r\n // keyboardOn();\r\n // window.localStorage.setItem('Animation1','on');\r\n window.animationSwitchGlobal = 'on';\r\n document.getElementsByClassName('onOff1')[0].style.left = \"-17px\";\r\n\r\n\r\n\r\n\r\n }\r\n }\r\n var animStopped = true;\r\n\r\n const displayName1 = (e) => {\r\n if (animStopped == false) {\r\n return;\r\n animStopped = false;\r\n }\r\n console.log(e)\r\n const isChecked = document.getElementById(\"animSwitchValue1\").checked;\r\n\r\n if (isChecked == true) {\r\n setAnimValue1(\"On\");\r\n // keyboardOn();\r\n // window.localStorage.setItem('Animation1','on');\r\n window.animation1SwitchGlobal = 'on';\r\n document.getElementsByClassName('onOff1')[0].style.left = \"-17px\";\r\n document.getElementById('animSwitchValue1').setAttribute('aria-label','clickable checkbox checked On');\r\n window.animationSwitchVal = 'on';\r\n\r\n if (mob) {\r\n document.getElementById('footerControls').removeAttribute('style');\r\n document.getElementById('footerControMob').style.display = 'block';\r\n }\r\n else if (isipad) {\r\n console.log('portrait');\r\n document.getElementById('footerControMob').style.display = 'block';\r\n document.getElementById('footerControls').style.display = 'block';\r\n }\r\n else {\r\n console.log(\"show\");\r\n\r\n document.getElementById('footerControls').style.transition = \"bottom 0.2s linear\";\r\n document.getElementById('footerControls').style.bottom = \"20px\";\r\n document.getElementById('footerControMob').style.transition = \"bottom 0.2s linear\";\r\n document.getElementById('footerControMob').style.bottom = \"20px\";\r\n // document.getElementById('footerControIpad').style.transition = \"bottom 0.2s linear\";\r\n // document.getElementById('footerControIpad').style.bottom = \"20px\";\r\n\r\n document.getElementById('footerControls').style.visibility = \"\";\r\n document.getElementById('footerControIpad').style.visibility = \"\";\r\n document.getElementById('footerControMob').style.visibility = \"\";\r\n\r\n }\r\n\r\n\r\n } else {\r\n setAnimValue1(\"Off\");\r\n // keyboardOff();\r\n document.getElementsByClassName('onOff1')[0].style.left = \"9px\";\r\n // window.localStorage.setItem('Animation1','off');\r\n window.animation1SwitchGlobal = 'off';\r\n\r\n document.getElementById('animSwitchValue1').setAttribute('aria-label','clickable checkbox checked Off');\r\n\r\n if (mob) {\r\n document.getElementById('footerControls').removeAttribute('style');\r\n document.getElementById('footerControMob').style.display = 'none';\r\n } else if (isipad) {\r\n console.log('landscape');\r\n document.getElementById('footerControMob').style.display = 'none';\r\n document.getElementById('footerControls').style.display = 'none';\r\n }\r\n else {\r\n console.log(\"hide\");\r\n //document.getElementById('footerControls').style.transition = \"bottom 0.2s linear\";\r\n document.getElementById('footerControls').style.bottom = \"-112px\";\r\n // document.getElementById('footerControMob').style.transition = \"bottom 0.24s linear\";\r\n document.getElementById('footerControMob').style.bottom = \"-112px\";\r\n // document.getElementById('footerControIpad').style.bottom = \"-112px\"; \r\n\r\n setTimeout(function () {\r\n\r\n document.getElementById('footerControls').style.visibility = \"hidden\";\r\n document.getElementById('footerControIpad').style.visibility = \"hidden\";\r\n\r\n document.getElementById('footerControMob').style.visibility = \"hidden\";\r\n\r\n animStopped = true;\r\n },150);\r\n }\r\n\r\n }\r\n\r\n }\r\n\r\n\r\n return (\r\n <>\r\n {/* */}\r\n {!mob && }\r\n {/* */}\r\n \r\n\r\n \r\n \r\n\r\n \r\n \r\n {moblandscap && }\r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n {/* */}\r\n {/* */}\r\n {/* */}\r\n {/* */}\r\n {/* */}\r\n \r\n\r\n {/* */}\r\n\r\n {/* */}\r\n \r\n\r\n \r\n );\r\n}\r\n\r\nexport default MainMenu;","import React from 'react';\r\nimport Grid from '@material-ui/core/Grid';\r\nimport Paper from '@material-ui/core/Paper';\r\nimport Avatars from \"./MenuComponents/Avatars\";\r\nimport HighlightOffIcon from '@material-ui/icons/HighlightOff';\r\nimport Hidden from '@material-ui/core/Hidden';\r\n\r\n\r\nconst headerBackground={\r\n background: 'transparent'\r\n}\r\n\r\nconst Header =()=>{\r\n\r\n const closeWindow = () => {\r\n // alert(\"Close window\");\r\n }\r\n\r\n return(\r\n
\r\n \r\n \r\n {/*
\r\n

\r\n
*/}\r\n
\r\n {/* \r\n \r\n

Latitude 7410 Chromebook Enterprise

\r\n
\r\n \r\n

Latitude 7410 Chromebook Enterprise

\r\n
\r\n
*/}\r\n \r\n \r\n \r\n {/*

*/}\r\n

\"closeHeader\"

\r\n
\r\n
\r\n \r\n \r\n

\"mobcloseheader\"

\r\n
\r\n
\r\n
\r\n
\r\n
\r\n );\r\n}\r\n\r\nexport default Header;","import { makeStyles } from '@material-ui/core/styles';\r\nimport DehazeIcon from '@material-ui/icons/Dehaze';\r\nimport Button from '@material-ui/core/Button';\r\nimport React,{ useState,useEffect } from 'react';\r\nimport Drawer from \"@material-ui/core/Drawer\";\r\nimport NestedList from './NestedList';\r\n\r\nimport MainMenu from \"./components/MenuComponents/MainMenu\";\r\nimport \"./App.css\";\r\nimport Hidden from '@material-ui/core/Hidden';\r\nimport Header from './components/Header';\r\nimport CloseIcon from '@material-ui/icons/Close';\r\n// import BoxTest from './components/breakpoints';\r\n// import { ThemeProvider } from '@material-ui/core/styles';\r\n// import { createMuiTheme } from '@material-ui/core/styles';\r\nvar ipad = navigator.userAgent.match(/Mac/) && navigator.maxTouchPoints && navigator.maxTouchPoints > 2 && (navigator.userAgent.indexOf(\"iPhone\") == -1);\r\nvar ipadPortrait = !(ipad && window.innerHeight > window.innerWidth);\r\nvar mob = (navigator.userAgent.indexOf(\"iPhone\") != -1) || ((navigator.userAgent.indexOf(\"Android\") != -1) || (navigator.userAgent.indexOf(\"Mobile\") != -1)) || (navigator.userAgent.indexOf('iPod') != -1) || (navigator.userAgent.indexOf('iPad') != -1) || (navigator.userAgent == \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.1 Safari/605.1.15\");\r\n\r\n\r\nconst statebtns = {\r\n border: \"1px solid #c7c7c7\",\r\n borderRadius: \"0px\",\r\n right: \"0\",\r\n width: \"100%\",\r\n height: '56px',\r\n marginLeft: \"0px\",\r\n borderLeft: \"0px\",\r\n borderRight: \"0px\",\r\n position: \"absolute\",\r\n bottom: \"0px\",\r\n marginBottom: '0px',\r\n backgroundColor: 'white',\r\n border: '1px solid #B6B6B6'\r\n}\r\n\r\n// const CloseBtn={\r\n// borderLeft: \"none\",\r\n// borderRight: \"none\",\r\n// borderRadius: \"0\",\r\n// position: \"fixed\",\r\n// background: \"#fff\",\r\n// width: \"100%\",\r\n// zIndex: \"1\",\r\n// }\r\n\r\nconst useStyles = makeStyles((theme) => ({\r\n button: {\r\n margin: theme.spacing(1),\r\n },\r\n\r\n drawerPaper: {\r\n width: '285px',\r\n overflow: 'visible',\r\n top: '9%'\r\n //background: \"#c7addd\"\r\n\r\n },\r\n\r\n root: {\r\n width: 'auto',\r\n /* '& > *': {\r\n margin: theme.spacing(1),\r\n width: '25ch',\r\n }, */\r\n //marginRight: '5vh',\r\n //maxWidth: 360,\r\n //backgroundColor: theme.palette.background.paper,\r\n },\r\n\r\n nested: {\r\n paddingLeft: theme.spacing(4),\r\n },\r\n\r\n formControl: {\r\n margin: theme.spacing(1),\r\n minWidth: 120,\r\n },\r\n\r\n selectEmpty: {\r\n marginTop: theme.spacing(2),\r\n },\r\n}));\r\n\r\n\r\nfunction App() {\r\n\r\n const classes = useStyles();\r\n\r\n //States for opening Drawer\r\n const [state,setState] = React.useState({\r\n top: false,\r\n left: false,\r\n bottom: false,\r\n right: false,\r\n });\r\n\r\n const [burgerBtnVisible,setBurgerBtnVisible] = useState(true);\r\n\r\n //Open Drawer\r\n const toggleDrawer = (anchor,open) => (event) => {\r\n if (event.type === 'keydown' && (event.key === 'Tab' || event.key === 'Shift')) {\r\n\r\n return;\r\n }\r\n\r\n\r\n //Open Drawer states\r\n setState({ ...state,[anchor]: open });\r\n };\r\n const mobCloseDrawer = () => {\r\n // var currentHotspot = window.localStorage.getItem('hotspot');\r\n // alert(currentHotspot)\r\n setState({ ...state,[\"bottom\"]: false });\r\n setTimeout(() => {\r\n document.getElementById(\"footerControMob\").style.display = \"block\";\r\n document.getElementById(\"infinityrt-canvas\").style.marginTop = \"0px\";\r\n document.getElementById(\"calloutcanvas\").style.marginTop = \"0px\";\r\n\r\n },270)\r\n\r\n // toggleDrawer(\"bottom\", false)\r\n }\r\n const mobOpenDrawer = () => {\r\n // var currentHotspot = window.localStorage.getItem('hotspot');\r\n // alert(currentHotspot)\r\n setState({ ...state,[\"bottom\"]: true });\r\n document.getElementById(\"infinityrt-canvas\").style.marginTop = \"-150px\";\r\n document.getElementById(\"calloutcanvas\").style.marginTop = \"-150px\";\r\n\r\n document.getElementById(\"footerControMob\").style.display = \"none\";\r\n // toggleDrawer(\"bottom\", false)\r\n }\r\n\r\n const menuMobLandscapOpen = () => {\r\n setState({ ...state,[\"left\"]: true });\r\n setBurgerBtnVisible(false);\r\n // toggleDrawer(\"left\", true)\r\n if (ipad) {\r\n document.getElementById('footerControMob').style.zIndex = 2;\r\n } else if (mob) {\r\n document.getElementById('footerControMob').style.zIndex = 0;\r\n // document.getElementById(\"infinityrt-canvas\").style.marginTop = \"0px\";\r\n // document.getElementById(\"calloutcanvas\").style.marginTop = \"0px\";\r\n\r\n }\r\n }\r\n const menuMobLandscapClose = () => {\r\n setState({ ...state,[\"left\"]: false });\r\n setBurgerBtnVisible(true);\r\n // if(ipad){\r\n // document.getElementById('footerControMob').style.zIndex = 2;}else if(mob){\r\n document.getElementById('footerControMob').style.zIndex = 2;\r\n // document.getElementById(\"infinityrt-canvas\").style.marginTop = \"0px\";\r\n // document.getElementById(\"calloutcanvas\").style.marginTop = \"0px\";\r\n // }\r\n // toggleDrawer(\"left\", false)\r\n }\r\n const [orientationPotrait,setOrientation] = useState(true);\r\n window.checkOrientationStatus = (orientationStatus) => {\r\n // alert(window.screen.orientation.type);\r\n setOrientation(orientationStatus);\r\n }\r\n useEffect((event) => {\r\n if (window.innerHeight > window.innerWidth) {\r\n // setBurgerBtnVisible(false);\r\n }\r\n\r\n // alert('Counter in useEffect'+prevCounter);\r\n // alert('Counter in useEffect'+counter);\r\n\r\n },[])\r\n useEffect((event) => {\r\n ipadPortrait = !(ipad && window.innerHeight > window.innerWidth);\r\n // alert(orientationPotrait);\r\n })\r\n const [getLangTranscript,setgetLangTranscript] = useState(false);\r\n window.checkgetLangTranscript = (getLangTranscript) => {\r\n // alert(window.screen.orientation.type);\r\n setgetLangTranscript(getLangTranscript);\r\n }\r\n let closeBtnVisibilityOpen = burgerBtnVisible && window.innerWidth > window.innerHeight;\r\n let closeBtnVisibilityClose = !burgerBtnVisible && window.innerWidth > window.innerHeight;\r\n let dektopCloseBtnVisibilityOpen = burgerBtnVisible\r\n let dektopCloseBtnVisibilityClose = !burgerBtnVisible\r\n return (\r\n <>\r\n
\r\n\r\n\r\n
\r\n {/* Desktop start no open btn */}\r\n \r\n\r\n }\r\n disableElevation\r\n onClick={toggleDrawer(\"left\",true)}\r\n >\r\n States Desktop\r\n \r\n \r\n {/* desktop end */}\r\n\r\n {/* Ipad with open btn */}\r\n\r\n {(ipad != null || mob != false) && \r\n {window.innerWidth < window.innerHeight && }\r\n {closeBtnVisibilityOpen && }\r\n\r\n {(ipad != null || mob != false) &&
}\r\n\r\n {closeBtnVisibilityClose && }\r\n
}\r\n\r\n {/* Ipad end */}\r\n\r\n {/* Mobile Start */}\r\n \r\n\r\n }\r\n disableElevation\r\n onClick={mobOpenDrawer}\r\n style={statebtns}\r\n only='xs'\r\n >\r\n \r\n {getLangTranscript && window.finalLangues.mainMenu}\r\n \r\n \r\n \r\n {/* mobile end */}\r\n\r\n {/* for close mode */}\r\n
\r\n {/* for ipadPro start */}\r\n \r\n {ipadPortrait && orientationPotrait == true &&\r\n \r\n \r\n {/* */}\r\n {getLangTranscript && }\r\n \r\n }\r\n \r\n {/* ipadPro End */}\r\n \r\n {(ipad == null || (window.innerWidth > window.innerHeight && orientationPotrait == false)) &&\r\n \r\n \r\n {getLangTranscript && }\r\n \r\n }\r\n \r\n {/* ipad start */}\r\n \r\n\r\n \r\n\r\n }\r\n onClick={toggleDrawer(\"left\",false)}\r\n\r\n >\r\n\r\n \r\n\r\n\r\n \r\n {getLangTranscript && }\r\n \r\n \r\n {/* ipadEnd */}\r\n {ipad == null && \r\n
\r\n {/*
for ipad resolution but only for desktop
*/}\r\n\r\n {dektopCloseBtnVisibilityOpen && }\r\n {/* {closeBtnVisibilityOpen && } */}\r\n\r\n\r\n\r\n {dektopCloseBtnVisibilityClose && }\r\n
\r\n
\r\n
}\r\n {/* mobile start */}\r\n \r\n {/*
Mobile
*/}\r\n \r\n \r\n {getLangTranscript && }\r\n\r\n \r\n
\r\n {/* mobile end */}\r\n
\r\n\r\n
\r\n\r\n \r\n );\r\n\r\n}\r\n\r\nexport default App;","//require('file-loader?name=[name].[ext]!./index.html');\r\nimport React, { Fragment } from 'react';\r\nimport ReactDOM from 'react-dom';\r\nimport './index.css';\r\nimport App from './App';\r\nimport { createMuiTheme, ThemeProvider } from \"@material-ui/core\";\r\nconst theme = createMuiTheme({\r\n palette: {\r\n primary: {\r\n main: \"#006BBD\" // This is an orange looking color\r\n },\r\n secondary: {\r\n main: \"#006BBD\" //Another orange-ish color\r\n }\r\n },\r\n// fontFamily: font // as an aside, highly recommend importing roboto font for Material UI projects! Looks really nice\r\n});\r\n\r\n\r\nReactDOM.render(\r\n \r\n \r\n \r\n ,\r\n document.getElementById('root')\r\n);\r\n\r\n"],"sourceRoot":""}